Advertisement
Guest User

Untitled

a guest
Feb 25th, 2020
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.65 KB | None | 0 0
  1. export class MenuConfig {
  2. public defaults: any = {
  3. header: {
  4. self: {},
  5. items: [
  6. {
  7. title: 'Dashboards',
  8. root: true,
  9. alignment: 'left',
  10. page: '/dashboard',
  11. translate: 'MENU.DASHBOARD',
  12. },
  13. {
  14. title: 'Components',
  15. root: true,
  16. alignment: 'left',
  17. toggle: 'click',
  18. submenu: [
  19. {
  20. title: 'Google Material',
  21. bullet: 'dot',
  22. icon: 'flaticon-interface-7',
  23. submenu: [
  24. {
  25. title: 'Form Controls',
  26. bullet: 'dot',
  27. submenu: [
  28. {
  29. title: 'Auto Complete',
  30. page: '/material/form-controls/autocomplete',
  31. permission: 'accessToECommerceModule'
  32. },
  33. {
  34. title: 'Checkbox',
  35. page: '/material/form-controls/checkbox'
  36. },
  37. {
  38. title: 'Radio Button',
  39. page: '/material/form-controls/radiobutton'
  40. },
  41. {
  42. title: 'Datepicker',
  43. page: '/material/form-controls/datepicker'
  44. },
  45. {
  46. title: 'Form Field',
  47. page: '/material/form-controls/formfield'
  48. },
  49. {
  50. title: 'Input',
  51. page: '/material/form-controls/input'
  52. },
  53. {
  54. title: 'Select',
  55. page: '/material/form-controls/select'
  56. },
  57. {
  58. title: 'Slider',
  59. page: '/material/form-controls/slider'
  60. },
  61. {
  62. title: 'Slider Toggle',
  63. page: '/material/form-controls/slidertoggle'
  64. }
  65. ]
  66. },
  67. {
  68. title: 'Navigation',
  69. bullet: 'dot',
  70. submenu: [
  71. {
  72. title: 'Menu',
  73. page: '/material/navigation/menu'
  74. },
  75. {
  76. title: 'Sidenav',
  77. page: '/material/navigation/sidenav'
  78. },
  79. {
  80. title: 'Toolbar',
  81. page: '/material/navigation/toolbar'
  82. }
  83. ]
  84. },
  85. {
  86. title: 'Layout',
  87. bullet: 'dot',
  88. submenu: [
  89. {
  90. title: 'Card',
  91. page: '/material/layout/card'
  92. },
  93. {
  94. title: 'Divider',
  95. page: '/material/layout/divider'
  96. },
  97. {
  98. title: 'Expansion panel',
  99. page: '/material/layout/expansion-panel'
  100. },
  101. {
  102. title: 'Grid list',
  103. page: '/material/layout/grid-list'
  104. },
  105. {
  106. title: 'List',
  107. page: '/material/layout/list'
  108. },
  109. {
  110. title: 'Tabs',
  111. page: '/material/layout/tabs'
  112. },
  113. {
  114. title: 'Stepper',
  115. page: '/material/layout/stepper'
  116. },
  117. {
  118. title: 'Default Forms',
  119. page: '/material/layout/default-forms'
  120. },
  121. {
  122. title: 'Tree',
  123. page: '/material/layout/tree'
  124. }
  125. ]
  126. },
  127. {
  128. title: 'Buttons & Indicators',
  129. bullet: 'dot',
  130. submenu: [
  131. {
  132. title: 'Button',
  133. page: '/material/buttons-and-indicators/button'
  134. },
  135. {
  136. title: 'Button toggle',
  137. page: '/material/buttons-and-indicators/button-toggle'
  138. },
  139. {
  140. title: 'Chips',
  141. page: '/material/buttons-and-indicators/chips'
  142. },
  143. {
  144. title: 'Icon',
  145. page: '/material/buttons-and-indicators/icon'
  146. },
  147. {
  148. title: 'Progress bar',
  149. page: '/material/buttons-and-indicators/progress-bar'
  150. },
  151. {
  152. title: 'Progress spinner',
  153. page: '/material/buttons-and-indicators/progress-spinner'
  154. },
  155. {
  156. title: 'Ripples',
  157. page: '/material/buttons-and-indicators/ripples'
  158. }
  159. ]
  160. },
  161. {
  162. title: 'Popups & Modals',
  163. bullet: 'dot',
  164. submenu: [
  165. {
  166. title: 'Bottom sheet',
  167. page: '/material/popups-and-modals/bottom-sheet'
  168. },
  169. {
  170. title: 'Dialog',
  171. page: '/material/popups-and-modals/dialog'
  172. },
  173. {
  174. title: 'Snackbar',
  175. page: '/material/popups-and-modals/snackbar'
  176. },
  177. {
  178. title: 'Tooltip',
  179. page: '/material/popups-and-modals/tooltip'
  180. }
  181. ]
  182. },
  183. {
  184. title: 'Data table',
  185. bullet: 'dot',
  186. submenu: [
  187. {
  188. title: 'Paginator',
  189. page: '/material/data-table/paginator'
  190. },
  191. {
  192. title: 'Sort header',
  193. page: '/material/data-table/sort-header'
  194. },
  195. {
  196. title: 'Table',
  197. page: '/material/data-table/table'
  198. }
  199. ]
  200. }
  201. ]
  202. },
  203. {
  204. title: 'Ng-Bootstrap',
  205. bullet: 'dot',
  206. icon: 'flaticon-web',
  207. submenu: [
  208. {
  209. title: 'Accordion',
  210. page: '/ngbootstrap/accordion'
  211. },
  212. {
  213. title: 'Alert',
  214. page: '/ngbootstrap/alert'
  215. },
  216. {
  217. title: 'Buttons',
  218. page: '/ngbootstrap/buttons'
  219. },
  220. {
  221. title: 'Carousel',
  222. page: '/ngbootstrap/carousel'
  223. },
  224. {
  225. title: 'Collapse',
  226. page: '/ngbootstrap/collapse'
  227. },
  228. {
  229. title: 'Datepicker',
  230. page: '/ngbootstrap/datepicker'
  231. },
  232. {
  233. title: 'Dropdown',
  234. page: '/ngbootstrap/dropdown'
  235. },
  236. {
  237. title: 'Modal',
  238. page: '/ngbootstrap/modal'
  239. },
  240. {
  241. title: 'Pagination',
  242. page: '/ngbootstrap/pagination'
  243. },
  244. {
  245. title: 'Popover',
  246. page: '/ngbootstrap/popover'
  247. },
  248. {
  249. title: 'Progressbar',
  250. page: '/ngbootstrap/progressbar'
  251. },
  252. {
  253. title: 'Rating',
  254. page: '/ngbootstrap/rating'
  255. },
  256. {
  257. title: 'Tabs',
  258. page: '/ngbootstrap/tabs'
  259. },
  260. {
  261. title: 'Timepicker',
  262. page: '/ngbootstrap/timepicker'
  263. },
  264. {
  265. title: 'Tooltips',
  266. page: '/ngbootstrap/tooltip'
  267. },
  268. {
  269. title: 'Typehead',
  270. page: '/ngbootstrap/typehead'
  271. }
  272. ]
  273. },
  274. ]
  275. },
  276. {
  277. title: 'Applications',
  278. root: true,
  279. alignment: 'left',
  280. toggle: 'click',
  281. submenu: [
  282. {
  283. title: 'eCommerce',
  284. bullet: 'dot',
  285. icon: 'flaticon-business',
  286. permission: 'accessToECommerceModule',
  287. submenu: [
  288. {
  289. title: 'Customers',
  290. page: '/ecommerce/customers'
  291. },
  292. {
  293. title: 'Products',
  294. page: '/ecommerce/products'
  295. },
  296. ]
  297. },
  298. {
  299. title: 'User Management',
  300. bullet: 'dot',
  301. icon: 'flaticon-user',
  302. submenu: [
  303. {
  304. title: 'Users',
  305. page: '/user-management/users'
  306. },
  307. {
  308. title: 'Roles',
  309. page: '/user-management/roles'
  310. }
  311. ]
  312. },
  313. ]
  314. },
  315. {
  316. title: 'Custom',
  317. root: true,
  318. alignment: 'left',
  319. toggle: 'click',
  320. submenu: [
  321. {
  322. title: 'Error Pages',
  323. bullet: 'dot',
  324. icon: 'flaticon2-list-2',
  325. submenu: [
  326. {
  327. title: 'Error 1',
  328. page: '/error/error-v1'
  329. },
  330. {
  331. title: 'Error 2',
  332. page: '/error/error-v2'
  333. },
  334. {
  335. title: 'Error 3',
  336. page: '/error/error-v3'
  337. },
  338. {
  339. title: 'Error 4',
  340. page: '/error/error-v4'
  341. },
  342. {
  343. title: 'Error 5',
  344. page: '/error/error-v5'
  345. },
  346. {
  347. title: 'Error 6',
  348. page: '/error/error-v6'
  349. },
  350. ]
  351. },
  352. {
  353. title: 'Wizard',
  354. bullet: 'dot',
  355. icon: 'flaticon2-mail-1',
  356. submenu: [
  357. {
  358. title: 'Wizard 1',
  359. page: '/wizard/wizard-1'
  360. },
  361. {
  362. title: 'Wizard 2',
  363. page: '/wizard/wizard-2'
  364. },
  365. {
  366. title: 'Wizard 3',
  367. page: '/wizard/wizard-3'
  368. },
  369. {
  370. title: 'Wizard 4',
  371. page: '/wizard/wizard-4'
  372. },
  373. ]
  374. },
  375. ]
  376. },
  377. ]
  378. },
  379. aside: {
  380. self: {},
  381. items: [
  382. {
  383. title: 'Dashboard',
  384. root: true,
  385. icon: 'flaticon2-architecture-and-city',
  386. page: '/dashboard',
  387. translate: 'MENU.DASHBOARD',
  388. bullet: 'dot',
  389. },
  390. // {
  391. // title: 'Layout Builder',
  392. // root: true,
  393. // icon: 'flaticon2-expand',
  394. // page: '/builder'
  395. // },
  396. // {section: 'Components'},
  397. // {
  398. // title: 'Google Material',
  399. // root: true,
  400. // bullet: 'dot',
  401. // icon: 'flaticon2-browser-2',
  402. // submenu: [
  403. // {
  404. // title: 'Form Controls',
  405. // bullet: 'dot',
  406. // submenu: [
  407. // {
  408. // title: 'Auto Complete',
  409. // page: '/material/form-controls/autocomplete',
  410. // permission: 'accessToECommerceModule'
  411. // },
  412. // {
  413. // title: 'Checkbox',
  414. // page: '/material/form-controls/checkbox'
  415. // },
  416. // {
  417. // title: 'Radio Button',
  418. // page: '/material/form-controls/radiobutton'
  419. // },
  420. // {
  421. // title: 'Datepicker',
  422. // page: '/material/form-controls/datepicker'
  423. // },
  424. // {
  425. // title: 'Form Field',
  426. // page: '/material/form-controls/formfield'
  427. // },
  428. // {
  429. // title: 'Input',
  430. // page: '/material/form-controls/input'
  431. // },
  432. // {
  433. // title: 'Select',
  434. // page: '/material/form-controls/select'
  435. // },
  436. // {
  437. // title: 'Slider',
  438. // page: '/material/form-controls/slider'
  439. // },
  440. // {
  441. // title: 'Slider Toggle',
  442. // page: '/material/form-controls/slidertoggle'
  443. // }
  444. // ]
  445. // },
  446. // {
  447. // title: 'Navigation',
  448. // bullet: 'dot',
  449. // submenu: [
  450. // {
  451. // title: 'Menu',
  452. // page: '/material/navigation/menu'
  453. // },
  454. // {
  455. // title: 'Sidenav',
  456. // page: '/material/navigation/sidenav'
  457. // },
  458. // {
  459. // title: 'Toolbar',
  460. // page: '/material/navigation/toolbar'
  461. // }
  462. // ]
  463. // },
  464. // {
  465. // title: 'Layout',
  466. // bullet: 'dot',
  467. // submenu: [
  468. // {
  469. // title: 'Card',
  470. // page: '/material/layout/card'
  471. // },
  472. // {
  473. // title: 'Divider',
  474. // page: '/material/layout/divider'
  475. // },
  476. // {
  477. // title: 'Expansion panel',
  478. // page: '/material/layout/expansion-panel'
  479. // },
  480. // {
  481. // title: 'Grid list',
  482. // page: '/material/layout/grid-list'
  483. // },
  484. // {
  485. // title: 'List',
  486. // page: '/material/layout/list'
  487. // },
  488. // {
  489. // title: 'Tabs',
  490. // page: '/material/layout/tabs'
  491. // },
  492. // {
  493. // title: 'Stepper',
  494. // page: '/material/layout/stepper'
  495. // },
  496. // {
  497. // title: 'Default Forms',
  498. // page: '/material/layout/default-forms'
  499. // },
  500. // {
  501. // title: 'Tree',
  502. // page: '/material/layout/tree'
  503. // }
  504. // ]
  505. // },
  506. // {
  507. // title: 'Buttons & Indicators',
  508. // bullet: 'dot',
  509. // submenu: [
  510. // {
  511. // title: 'Button',
  512. // page: '/material/buttons-and-indicators/button'
  513. // },
  514. // {
  515. // title: 'Button toggle',
  516. // page: '/material/buttons-and-indicators/button-toggle'
  517. // },
  518. // {
  519. // title: 'Chips',
  520. // page: '/material/buttons-and-indicators/chips'
  521. // },
  522. // {
  523. // title: 'Icon',
  524. // page: '/material/buttons-and-indicators/icon'
  525. // },
  526. // {
  527. // title: 'Progress bar',
  528. // page: '/material/buttons-and-indicators/progress-bar'
  529. // },
  530. // {
  531. // title: 'Progress spinner',
  532. // page: '/material/buttons-and-indicators/progress-spinner'
  533. // },
  534. // {
  535. // title: 'Ripples',
  536. // page: '/material/buttons-and-indicators/ripples'
  537. // }
  538. // ]
  539. // },
  540. // {
  541. // title: 'Popups & Modals',
  542. // bullet: 'dot',
  543. // submenu: [
  544. // {
  545. // title: 'Bottom sheet',
  546. // page: '/material/popups-and-modals/bottom-sheet'
  547. // },
  548. // {
  549. // title: 'Dialog',
  550. // page: '/material/popups-and-modals/dialog'
  551. // },
  552. // {
  553. // title: 'Snackbar',
  554. // page: '/material/popups-and-modals/snackbar'
  555. // },
  556. // {
  557. // title: 'Tooltip',
  558. // page: '/material/popups-and-modals/tooltip'
  559. // }
  560. // ]
  561. // },
  562. // {
  563. // title: 'Data table',
  564. // bullet: 'dot',
  565. // submenu: [
  566. // {
  567. // title: 'Paginator',
  568. // page: '/material/data-table/paginator'
  569. // },
  570. // {
  571. // title: 'Sort header',
  572. // page: '/material/data-table/sort-header'
  573. // },
  574. // {
  575. // title: 'Table',
  576. // page: '/material/data-table/table'
  577. // }
  578. // ]
  579. // }
  580. // ]
  581. // },
  582. // {
  583. // title: 'Ng-Bootstrap',
  584. // root: true,
  585. // bullet: 'dot',
  586. // icon: 'flaticon2-digital-marketing',
  587. // submenu: [
  588. // {
  589. // title: 'Accordion',
  590. // page: '/ngbootstrap/accordion'
  591. // },
  592. // {
  593. // title: 'Alert',
  594. // page: '/ngbootstrap/alert'
  595. // },
  596. // {
  597. // title: 'Buttons',
  598. // page: '/ngbootstrap/buttons'
  599. // },
  600. // {
  601. // title: 'Carousel',
  602. // page: '/ngbootstrap/carousel'
  603. // },
  604. // {
  605. // title: 'Collapse',
  606. // page: '/ngbootstrap/collapse'
  607. // },
  608. // {
  609. // title: 'Datepicker',
  610. // page: '/ngbootstrap/datepicker'
  611. // },
  612. // {
  613. // title: 'Dropdown',
  614. // page: '/ngbootstrap/dropdown'
  615. // },
  616. // {
  617. // title: 'Modal',
  618. // page: '/ngbootstrap/modal'
  619. // },
  620. // {
  621. // title: 'Pagination',
  622. // page: '/ngbootstrap/pagination'
  623. // },
  624. // {
  625. // title: 'Popover',
  626. // page: '/ngbootstrap/popover'
  627. // },
  628. // {
  629. // title: 'Progressbar',
  630. // page: '/ngbootstrap/progressbar'
  631. // },
  632. // {
  633. // title: 'Rating',
  634. // page: '/ngbootstrap/rating'
  635. // },
  636. // {
  637. // title: 'Tabs',
  638. // page: '/ngbootstrap/tabs'
  639. // },
  640. // {
  641. // title: 'Timepicker',
  642. // page: '/ngbootstrap/timepicker'
  643. // },
  644. // {
  645. // title: 'Tooltips',
  646. // page: '/ngbootstrap/tooltip'
  647. // },
  648. // {
  649. // title: 'Typehead',
  650. // page: '/ngbootstrap/typehead'
  651. // }
  652. // ]
  653. // },
  654. // {section: 'Applications'},
  655. // {
  656. // title: 'eCommerce',
  657. // bullet: 'dot',
  658. // icon: 'flaticon2-list-2',
  659. // root: true,
  660. // permission: 'accessToECommerceModule',
  661. // submenu: [
  662. // {
  663. // title: 'Customers',
  664. // page: '/ecommerce/customers'
  665. // },
  666. // {
  667. // title: 'Products',
  668. // page: '/ecommerce/products'
  669. // },
  670. // ]
  671. // },
  672. // {
  673. // title: 'User Management',
  674. // root: true,
  675. // bullet: 'dot',
  676. // icon: 'flaticon2-user-outline-symbol',
  677. // submenu: [
  678. // {
  679. // title: 'Users',
  680. // page: '/user-management/users'
  681. // },
  682. // {
  683. // title: 'Roles',
  684. // page: '/user-management/roles'
  685. // }
  686. // ]
  687. // },
  688. // {section: 'Custom'},
  689. // {
  690. // title: 'Error Pages',
  691. // root: true,
  692. // bullet: 'dot',
  693. // icon: 'flaticon2-list-2',
  694. // submenu: [
  695. // {
  696. // title: 'Error 1',
  697. // page: '/error/error-v1'
  698. // },
  699. // {
  700. // title: 'Error 2',
  701. // page: '/error/error-v2'
  702. // },
  703. // {
  704. // title: 'Error 3',
  705. // page: '/error/error-v3'
  706. // },
  707. // {
  708. // title: 'Error 4',
  709. // page: '/error/error-v4'
  710. // },
  711. // {
  712. // title: 'Error 5',
  713. // page: '/error/error-v5'
  714. // },
  715. // {
  716. // title: 'Error 6',
  717. // page: '/error/error-v6'
  718. // },
  719. // ]
  720. // },
  721. // {
  722. // title: 'Wizard',
  723. // root: true,
  724. // bullet: 'dot',
  725. // icon: 'flaticon2-mail-1',
  726. // submenu: [
  727. // {
  728. // title: 'Wizard 1',
  729. // page: '/wizard/wizard-1'
  730. // },
  731. // {
  732. // title: 'Wizard 2',
  733. // page: '/wizard/wizard-2'
  734. // },
  735. // {
  736. // title: 'Wizard 3',
  737. // page: '/wizard/wizard-3'
  738. // },
  739. // {
  740. // title: 'Wizard 4',
  741. // page: '/wizard/wizard-4'
  742. // },
  743. // ]
  744. // },
  745. { section: 'Requests' },
  746. {
  747. title: 'Salary Advance',
  748. root: true,
  749. bullet: 'dot',
  750. icon: 'flaticon2-list-2',
  751. submenu: [
  752. {
  753. title: 'Create New',
  754. page: '#'
  755. },
  756. {
  757. title: 'See All',
  758. page: '#'
  759. },
  760. {
  761. title: 'Statuses & Comments',
  762. page: '#'
  763. },
  764. ]
  765. },
  766. {
  767. title: 'Initiatives',
  768. root: true,
  769. bullet: 'dot',
  770. icon: 'flaticon2-list-2',
  771. submenu: [
  772. {
  773. title: 'Create New',
  774. page: '#'
  775. },
  776. {
  777. title: 'See All',
  778. page: '#'
  779. },
  780. {
  781. title: 'Statuses & Comments',
  782. page: '#'
  783. },
  784. ]
  785. },
  786. {
  787. title: 'Loans',
  788. root: true,
  789. bullet: 'dot',
  790. icon: 'flaticon2-list-2',
  791. },
  792. {
  793. title: 'Refunds',
  794. root: true,
  795. bullet: 'dot',
  796. icon: 'flaticon2-list-2',
  797. },
  798. { section: 'Salary' },
  799. {
  800. title: 'Salary Plan',
  801. root: true,
  802. bullet: 'dot',
  803. icon: 'flaticon2-list-2',
  804. },
  805. {
  806. title: 'Payments',
  807. root: true,
  808. bullet: 'dot',
  809. icon: 'flaticon2-list-2',
  810. submenu: [
  811. {
  812. title: 'PrePayments',
  813. page: '#'
  814. },
  815. {
  816. title: 'History & Payments',
  817. page: '#'
  818. },
  819. {
  820. title: 'Actions',
  821. page: '#'
  822. },
  823. {
  824. title: 'Payroll',
  825. page: '#'
  826. },
  827. ]
  828. },
  829. { section: 'User Management' },
  830. {
  831. title: 'Profile',
  832. icon: 'flaticon-user',
  833. page: '/user-management/users'
  834. },
  835. {
  836. title: 'See All',
  837. icon: 'flaticon-user',
  838. page: '/user-management/roles'
  839. },
  840. {
  841. title: 'Offers',
  842. root: true,
  843. bullet: 'dot',
  844. icon: 'flaticon2-list-2',
  845. submenu: [
  846. {
  847. title: 'Recompense',
  848. page: '#'
  849. },
  850. {
  851. title: 'Benefits',
  852. page: '#'
  853. }
  854. ]
  855. },
  856. {
  857. title: 'Taxes & Fees',
  858. icon: 'flaticon2-list-2'
  859. },
  860. { section: 'Sectors' }
  861.  
  862.  
  863.  
  864. ]
  865. },
  866. };
  867.  
  868. public get configs(): any {
  869. return this.defaults;
  870. }
  871. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement