export const useAnalysis = () => { return useState('analysis', () => ([ { menu: false, text: 'Analysis' }, { menu: true, text: 'Accountings', value: 'accountings', link: '#', icon: 'menu-icon tf-icons ti ti-notebook', active: false, child: true, children: [ { text: 'Calendar Year and Period', value: 'calendar_year_and_period', link: '/accountings/calendars', active: false }, { text: 'Chart of Accounts', value: 'chart_of_accounts', link: '/accountings/elements', active: false }, { text: 'Accounting Schemas', value: 'accounting_schemas', link: '/accountings/schemas', active: false }, { text: 'Journal Entries', value: 'journal_entries', link: '/accountings/journals', active: false } ] }, { menu: true, text: 'Financial Reports', value: 'financial_reports', link: '#', icon: 'menu-icon tf-icons ti ti-file-chart', active: false, child: true, children: [ { text: 'General Ledger', value: 'general_ledger', link: '#', active: false }, { text: 'Income Statement', value: 'income_statement', link: '#', active: false }, { text: 'Balance Sheet', value: 'balance_sheet', link: '#', active: false }, { text: 'Account Statement', value: 'account_statement', link: '#', active: false }, { text: 'Trial Balance', value: 'trial_balance', link: '#', active: false } ] }, { menu: true, text: 'Operational Costs', value: 'operational_costs', link: '#', icon: 'menu-icon tf-icons ti ti-chart-histogram', active: false, child: true, children: [ { text: 'Product Cost Summary', value: 'product_cost_summary', link: '#', active: false } ] }, { menu: true, text: 'Performance Measurements', value: 'performance_measurements', link: '#', icon: 'menu-icon tf-icons ti ti-chart-pie', active: false, child: true, children: [ { text: 'Alerts', value: 'alerts', link: '#', active: false }, { text: 'Performances', value: 'performances', link: '#', active: false }, { text: 'Charts', value: 'charts', link: '#', active: false } ] }, { menu: true, text: 'Other Reports', value: 'other_reports', link: '#', icon: 'menu-icon tf-icons ti ti-file-analytics', active: false, child: true, children: [ { text: 'Accounting Facts', value: 'accounting_facts', link: '#', active: false }, { text: 'Simple Facts', value: 'simple_facts', link: '#', active: false } ] } ])) }