@@ -22,31 +22,32 @@ import { Toastr } from './toastr';
2222
2323// Main routes builder
2424const m = [
25- { text : 'Form Basic' , path : 'form/basic' , component : FormBasic } ,
26- { text : 'Form Component' , path : 'form/form-component' , component : FormAdvanced } ,
27- { text : 'Input' , path : 'input' , component : Input } ,
28- { text : 'Numeric' , path : 'numeric' , component : Numeric } ,
29- { text : 'Currency' , path : 'currency' , component : Currency } ,
30- { text : 'Date' , path : 'date' , component : DateDemo } ,
31- { text : 'Time' , path : 'time' , component : Time } ,
32- { text : 'DateTime' , path : 'datetime' , component : DateTime } ,
33- { text : 'Tab' , path : 'tab/basic' , component : TabBasic } ,
34- { text : 'Tab Interactive' , path : 'tab/interactive' , component : TabInteractive } ,
35- { text : 'Buttons' , path : 'button' , component : Button } ,
36- { text : 'Radio' , path : 'radio' , component : Radio } ,
37- { text : 'Checkbox' , path : 'checkbox' , component : Checkbox } ,
38- { text : 'Dropdown' , path : 'dropdown' , component : Dropdown } ,
39- { text : 'Modal' , path : 'modal' , component : Modal } ,
40- { text : 'Tree' , path : 'tree' , component : Tree } ,
41- { text : 'Menu' , path : 'menu' , component : Menu } ,
42- { text : 'Message' , path : 'message' , component : Message } ,
43- { text : 'Alert' , path : 'alert' , component : Alert } ,
44- { text : 'Toastr' , path : 'toastr' , component : Toastr }
25+ { group : 'component/form' , text : 'Form Basic' , path : 'form/basic' , component : FormBasic } ,
26+ { group : 'component/form' , text : 'Form Component' , path : 'form/form-component' , component : FormAdvanced } ,
27+ { group : 'component/input' , text : 'Input' , path : 'input' , component : Input } ,
28+ { group : 'component/numeric' , text : 'Numeric' , path : 'numeric' , component : Numeric } ,
29+ { group : 'component/currency' , text : 'Currency' , path : 'currency' , component : Currency } ,
30+ { group : 'component/date' , text : 'Date' , path : 'date' , component : DateDemo } ,
31+ { group : 'component/time' , text : 'Time' , path : 'time' , component : Time } ,
32+ { group : 'component/datetime' , text : 'DateTime' , path : 'datetime' , component : DateTime } ,
33+ { group : 'component/tab' , text : 'Tab' , path : 'tab/basic' , component : TabBasic } ,
34+ { group : 'component/tab' , text : 'Tab Interactive' , path : 'tab/interactive' , component : TabInteractive } ,
35+ { group : 'component/button' , text : 'Buttons' , path : 'button' , component : Button } ,
36+ { group : 'component/radio' , text : 'Radio' , path : 'radio' , component : Radio } ,
37+ { group : 'component/checkbox' , text : 'Checkbox' , path : 'checkbox' , component : Checkbox } ,
38+ { group : 'component/dropdown' , text : 'Dropdown' , path : 'dropdown' , component : Dropdown } ,
39+ { group : 'component/modal' , text : 'Modal' , path : 'modal' , component : Modal } ,
40+ { group : 'component/tree' , text : 'Tree' , path : 'tree' , component : Tree } ,
41+ { group : 'component/menu' , text : 'Menu' , path : 'menu' , component : Menu } ,
42+ { group : 'component/message' , text : 'Message' , path : 'message' , component : Message } ,
43+ { group : 'module/alert' , text : 'Alert' , path : 'alert' , component : Alert } ,
44+ { group : 'module/toastr' , text : 'Toastr' , path : 'toastr' , component : Toastr }
4545]
4646
4747// Build router routes
4848export const routes = m . map ( ( m ) => {
4949 return {
50+ group : m . group ,
5051 text : m . text ,
5152 path : _path ( m . path ) ,
5253 component : m . component
0 commit comments