export const useSideBar = () => useState<boolean>('sideBar', () => false)
export const useSideBarScroll = () => useState<number>('sideBarScroll', () => 0)
export const useTabs = () => useState<any[]>('tabs', () => [{link: '/', text: 'Home', active: true}])
export const useActiveMenu = () => useState<string>('activeMenu', () => '')
export const useActiveSubMenu = () => useState<string>('activeSubMenu', () => '')
export const useActiveSubChildMenu = () => useState<string>('activeSubChildMenu', () => '')
export const useActiveSave = () => useState<boolean>('activeSave', () => false)
export const usePrintPreview = () => useState<boolean>('printPreview', () => false)
export const usePrintParam = () => useState<any>('printParam', () => {})
export const useAttachmentPreview = () => useState<boolean>('attachmentPreview', () => false)
export const useAttachmentParam = () => useState<any>('attachmentParam', () => {})
export const useQuickView = () => useState<string>('quickView', () => '')
export const useQuickViewParam = () => useState<any>('quickViewParam', () => {})
export const useWindowFrom = () => useState<string>('windowFrom', () => '')
export const useWindowParam = () => useState<any>('windowParam', () => {})
export const useGenerateShipments = () => useState<any>('generateShipments', () => {})
export const useGenerateShipmentActive = () => useState<boolean>('generateShipmentActive', () => false)
export const useDataTableFilters = () => useState<any>('dataTableFilters', () => {})
export const useBoMTab = () => useState<string>('boMTab', () => 'bom')
export const useBoMActive = () => useState<boolean>('boMActive', () => false)
export const useBoM = () => useState<any>('boM', () => {})