@syncfusion/ej2-navigations 28.1.41 → 28.2.3-1479479
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +243 -260
- package/README.md +301 -301
- package/blazorGlobalSrc/accordion/accordion-model.d.ts +285 -0
- package/blazorGlobalSrc/accordion/accordion.d.ts +458 -0
- package/blazorGlobalSrc/accordion/accordion.js +1411 -0
- package/blazorGlobalSrc/accordion/index.d.ts +5 -0
- package/blazorGlobalSrc/accordion/index.js +4 -0
- package/blazorGlobalSrc/appbar/appbar-model.d.ts +76 -0
- package/blazorGlobalSrc/appbar/appbar.d.ts +115 -0
- package/blazorGlobalSrc/appbar/appbar.js +221 -0
- package/blazorGlobalSrc/appbar/index.d.ts +3 -0
- package/blazorGlobalSrc/appbar/index.js +2 -0
- package/blazorGlobalSrc/breadcrumb/breadcrumb-model.d.ts +170 -0
- package/blazorGlobalSrc/breadcrumb/breadcrumb.d.ts +297 -0
- package/blazorGlobalSrc/breadcrumb/breadcrumb.js +833 -0
- package/blazorGlobalSrc/breadcrumb/index.d.ts +5 -0
- package/blazorGlobalSrc/breadcrumb/index.js +4 -0
- package/blazorGlobalSrc/carousel/carousel-model.d.ts +282 -0
- package/blazorGlobalSrc/carousel/carousel.d.ts +439 -0
- package/blazorGlobalSrc/carousel/carousel.js +1353 -0
- package/blazorGlobalSrc/carousel/index.d.ts +3 -0
- package/blazorGlobalSrc/carousel/index.js +2 -0
- package/blazorGlobalSrc/common/h-scroll-model.d.ts +16 -0
- package/blazorGlobalSrc/common/h-scroll.d.ts +105 -0
- package/blazorGlobalSrc/common/h-scroll.js +499 -0
- package/blazorGlobalSrc/common/index.d.ts +9 -0
- package/blazorGlobalSrc/common/index.js +8 -0
- package/blazorGlobalSrc/common/menu-base-model.d.ts +308 -0
- package/blazorGlobalSrc/common/menu-base.d.ts +553 -0
- package/blazorGlobalSrc/common/menu-base.js +2502 -0
- package/blazorGlobalSrc/common/menu-scroll.d.ts +29 -0
- package/blazorGlobalSrc/common/menu-scroll.js +103 -0
- package/blazorGlobalSrc/common/v-scroll-model.d.ts +16 -0
- package/blazorGlobalSrc/common/v-scroll.d.ts +106 -0
- package/blazorGlobalSrc/common/v-scroll.js +471 -0
- package/blazorGlobalSrc/context-menu/context-menu-model.d.ts +47 -0
- package/blazorGlobalSrc/context-menu/context-menu.d.ts +101 -0
- package/blazorGlobalSrc/context-menu/context-menu.js +143 -0
- package/blazorGlobalSrc/context-menu/index.d.ts +5 -0
- package/blazorGlobalSrc/context-menu/index.js +4 -0
- package/blazorGlobalSrc/global.js +1 -0
- package/blazorGlobalSrc/index.d.ts +16 -0
- package/blazorGlobalSrc/index.js +16 -0
- package/blazorGlobalSrc/menu/index.d.ts +5 -0
- package/blazorGlobalSrc/menu/index.js +4 -0
- package/blazorGlobalSrc/menu/menu-model.d.ts +70 -0
- package/blazorGlobalSrc/menu/menu.d.ts +127 -0
- package/blazorGlobalSrc/menu/menu.js +288 -0
- package/blazorGlobalSrc/sidebar/index.d.ts +5 -0
- package/blazorGlobalSrc/sidebar/index.js +4 -0
- package/blazorGlobalSrc/sidebar/sidebar-model.d.ts +200 -0
- package/blazorGlobalSrc/sidebar/sidebar.d.ts +335 -0
- package/blazorGlobalSrc/sidebar/sidebar.js +729 -0
- package/blazorGlobalSrc/stepper/index.d.ts +3 -0
- package/blazorGlobalSrc/stepper/index.js +2 -0
- package/blazorGlobalSrc/stepper/stepper-model.d.ts +159 -0
- package/blazorGlobalSrc/stepper/stepper.d.ts +381 -0
- package/blazorGlobalSrc/stepper/stepper.js +1305 -0
- package/blazorGlobalSrc/stepper-base/index.d.ts +5 -0
- package/blazorGlobalSrc/stepper-base/index.js +4 -0
- package/blazorGlobalSrc/stepper-base/stepper-base-model.d.ts +121 -0
- package/blazorGlobalSrc/stepper-base/stepper-base.d.ts +184 -0
- package/blazorGlobalSrc/stepper-base/stepper-base.js +230 -0
- package/blazorGlobalSrc/tab/index.d.ts +5 -0
- package/blazorGlobalSrc/tab/index.js +4 -0
- package/blazorGlobalSrc/tab/tab-model.d.ts +408 -0
- package/blazorGlobalSrc/tab/tab.d.ts +715 -0
- package/blazorGlobalSrc/tab/tab.js +2564 -0
- package/blazorGlobalSrc/toolbar/index.d.ts +5 -0
- package/blazorGlobalSrc/toolbar/index.js +4 -0
- package/blazorGlobalSrc/toolbar/toolbar-model.d.ts +287 -0
- package/blazorGlobalSrc/toolbar/toolbar.d.ts +522 -0
- package/blazorGlobalSrc/toolbar/toolbar.js +2408 -0
- package/blazorGlobalSrc/treeview/index.d.ts +5 -0
- package/blazorGlobalSrc/treeview/index.js +4 -0
- package/blazorGlobalSrc/treeview/treeview-model.d.ts +630 -0
- package/blazorGlobalSrc/treeview/treeview.d.ts +1509 -0
- package/blazorGlobalSrc/treeview/treeview.js +5766 -0
- package/dist/ej2-navigations.min.js +1 -10
- package/dist/ej2-navigations.umd.min.js +1 -10
- package/dist/ej2-navigations.umd.min.js.map +1 -1
- package/dist/es6/ej2-navigations.es2015.js +107 -96
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +301 -290
- package/dist/es6/ej2-navigations.es5.js.map +1 -1
- package/dist/global/ej2-navigations.min.js +1 -10
- package/dist/global/ej2-navigations.min.js.map +1 -1
- package/dist/global/index.d.ts +0 -9
- package/dist/ts/undefined +285 -0
- package/license +10 -10
- package/package.json +166 -166
- package/src/accordion/accordion-model.d.ts +199 -199
- package/src/accordion/accordion.js +19 -19
- package/src/appbar/appbar-model.d.ts +51 -51
- package/src/appbar/appbar.js +19 -19
- package/src/breadcrumb/breadcrumb-model.d.ts +114 -114
- package/src/breadcrumb/breadcrumb.js +19 -19
- package/src/carousel/carousel-model.d.ts +204 -204
- package/src/carousel/carousel.js +19 -19
- package/src/common/h-scroll-model.d.ts +6 -6
- package/src/common/h-scroll.js +19 -19
- package/src/common/menu-base-model.d.ts +234 -234
- package/src/common/menu-base.js +26 -19
- package/src/common/v-scroll-model.d.ts +6 -6
- package/src/common/v-scroll.js +19 -19
- package/src/context-menu/context-menu-model.d.ts +29 -29
- package/src/context-menu/context-menu.js +19 -19
- package/src/menu/menu-model.d.ts +45 -45
- package/src/menu/menu.js +19 -19
- package/src/sidebar/sidebar-model.d.ts +189 -189
- package/src/sidebar/sidebar.js +19 -19
- package/src/stepper/stepper.js +19 -19
- package/src/stepper-base/stepper-base.js +19 -19
- package/src/tab/tab-model.d.ts +305 -305
- package/src/tab/tab.js +19 -19
- package/src/toolbar/toolbar-model.d.ts +209 -209
- package/src/toolbar/toolbar.js +19 -19
- package/src/treeview/treeview-model.d.ts +520 -520
- package/src/treeview/treeview.d.ts +2 -1
- package/src/treeview/treeview.js +28 -24
- package/styles/accordion/_all.scss +2 -2
- package/styles/accordion/_bds-definition.scss +167 -167
- package/styles/accordion/_bigger.scss +121 -121
- package/styles/accordion/_bootstrap-dark-definition.scss +169 -167
- package/styles/accordion/_bootstrap-definition.scss +167 -167
- package/styles/accordion/_bootstrap4-definition.scss +177 -175
- package/styles/accordion/_bootstrap5-definition.scss +168 -168
- package/styles/accordion/_bootstrap5.3-definition.scss +168 -168
- package/styles/accordion/_fabric-dark-definition.scss +171 -171
- package/styles/accordion/_fabric-definition.scss +171 -171
- package/styles/accordion/_fluent-definition.scss +168 -168
- package/styles/accordion/_fluent2-definition.scss +167 -167
- package/styles/accordion/_fusionnew-definition.scss +168 -168
- package/styles/accordion/_highcontrast-definition.scss +193 -193
- package/styles/accordion/_highcontrast-light-definition.scss +193 -193
- package/styles/accordion/_layout.scss +236 -236
- package/styles/accordion/_material-dark-definition.scss +171 -171
- package/styles/accordion/_material-definition.scss +165 -165
- package/styles/accordion/_material3-definition.scss +168 -168
- package/styles/accordion/_tailwind-definition.scss +167 -167
- package/styles/accordion/_tailwind3-definition.scss +168 -168
- package/styles/accordion/_theme.scss +418 -418
- package/styles/accordion/bootstrap-dark.css +12 -12
- package/styles/accordion/bootstrap4.css +4 -4
- package/styles/accordion/bootstrap5-dark.css +37 -37
- package/styles/accordion/bootstrap5.css +16 -16
- package/styles/accordion/fabric.css +11 -11
- package/styles/accordion/icons/_bds.scss +15 -15
- package/styles/accordion/icons/_bootstrap-dark.scss +15 -15
- package/styles/accordion/icons/_bootstrap.scss +15 -15
- package/styles/accordion/icons/_bootstrap4.scss +15 -15
- package/styles/accordion/icons/_bootstrap5.3.scss +15 -15
- package/styles/accordion/icons/_bootstrap5.scss +15 -15
- package/styles/accordion/icons/_fabric-dark.scss +15 -15
- package/styles/accordion/icons/_fabric.scss +15 -15
- package/styles/accordion/icons/_fluent.scss +15 -15
- package/styles/accordion/icons/_fluent2.scss +15 -15
- package/styles/accordion/icons/_fusionnew.scss +15 -15
- package/styles/accordion/icons/_highcontrast-light.scss +15 -15
- package/styles/accordion/icons/_highcontrast.scss +15 -15
- package/styles/accordion/icons/_material-dark.scss +15 -15
- package/styles/accordion/icons/_material.scss +15 -15
- package/styles/accordion/icons/_material3.scss +15 -15
- package/styles/accordion/icons/_tailwind.scss +15 -15
- package/styles/accordion/icons/_tailwind3.scss +15 -15
- package/styles/accordion/material3-dark.scss +1 -1
- package/styles/accordion/material3.scss +1 -1
- package/styles/accordion/tailwind-dark.css +2 -2
- package/styles/appbar/_all.scss +2 -2
- package/styles/appbar/_bds-definition.scss +24 -24
- package/styles/appbar/_bigger.scss +15 -15
- package/styles/appbar/_bootstrap-dark-definition.scss +6 -6
- package/styles/appbar/_bootstrap-definition.scss +6 -6
- package/styles/appbar/_bootstrap4-definition.scss +6 -6
- package/styles/appbar/_bootstrap5-definition.scss +6 -6
- package/styles/appbar/_bootstrap5.3-definition.scss +6 -6
- package/styles/appbar/_fabric-dark-definition.scss +6 -6
- package/styles/appbar/_fabric-definition.scss +6 -6
- package/styles/appbar/_fluent-definition.scss +6 -6
- package/styles/appbar/_fluent2-definition.scss +23 -23
- package/styles/appbar/_fusionnew-definition.scss +6 -6
- package/styles/appbar/_highcontrast-definition.scss +6 -6
- package/styles/appbar/_highcontrast-light-definition.scss +6 -6
- package/styles/appbar/_layout.scss +76 -76
- package/styles/appbar/_material-dark-definition.scss +6 -6
- package/styles/appbar/_material-definition.scss +6 -6
- package/styles/appbar/_material3-definition.scss +6 -6
- package/styles/appbar/_tailwind-definition.scss +6 -6
- package/styles/appbar/_tailwind3-definition.scss +6 -6
- package/styles/appbar/_theme.scss +216 -216
- package/styles/appbar/material3-dark.scss +1 -1
- package/styles/appbar/material3.scss +1 -1
- package/styles/bds-lite.css +70 -5
- package/styles/bds.css +72 -7
- package/styles/bootstrap-dark-lite.css +120 -55
- package/styles/bootstrap-dark.css +124 -59
- package/styles/bootstrap-lite.css +72 -7
- package/styles/bootstrap.css +76 -11
- package/styles/bootstrap4-lite.css +153 -88
- package/styles/bootstrap4.css +156 -91
- package/styles/bootstrap5-dark-lite.css +288 -229
- package/styles/bootstrap5-dark.css +291 -232
- package/styles/bootstrap5-lite.css +150 -91
- package/styles/bootstrap5.3-lite.css +88 -27
- package/styles/bootstrap5.3.css +96 -29
- package/styles/bootstrap5.css +153 -94
- package/styles/breadcrumb/_all.scss +2 -2
- package/styles/breadcrumb/_bds-definition.scss +60 -60
- package/styles/breadcrumb/_bigger.scss +168 -166
- package/styles/breadcrumb/_bootstrap-dark-definition.scss +54 -54
- package/styles/breadcrumb/_bootstrap-definition.scss +54 -54
- package/styles/breadcrumb/_bootstrap4-definition.scss +56 -54
- package/styles/breadcrumb/_bootstrap5-definition.scss +65 -63
- package/styles/breadcrumb/_bootstrap5.3-definition.scss +61 -61
- package/styles/breadcrumb/_fabric-dark-definition.scss +59 -59
- package/styles/breadcrumb/_fabric-definition.scss +59 -59
- package/styles/breadcrumb/_fluent-definition.scss +63 -63
- package/styles/breadcrumb/_fluent2-definition.scss +61 -61
- package/styles/breadcrumb/_fusionnew-definition.scss +65 -59
- package/styles/breadcrumb/_highcontrast-definition.scss +61 -61
- package/styles/breadcrumb/_highcontrast-light-definition.scss +61 -61
- package/styles/breadcrumb/_layout.scss +465 -449
- package/styles/breadcrumb/_material-dark-definition.scss +50 -50
- package/styles/breadcrumb/_material-definition.scss +50 -50
- package/styles/breadcrumb/_material3-definition.scss +60 -60
- package/styles/breadcrumb/_tailwind-definition.scss +60 -60
- package/styles/breadcrumb/_tailwind3-definition.scss +61 -61
- package/styles/breadcrumb/_theme.scss +296 -296
- package/styles/breadcrumb/bds.css +15 -0
- package/styles/breadcrumb/bootstrap-dark.css +17 -2
- package/styles/breadcrumb/bootstrap.css +15 -0
- package/styles/breadcrumb/bootstrap4.css +19 -4
- package/styles/breadcrumb/bootstrap5-dark.css +27 -12
- package/styles/breadcrumb/bootstrap5.3.css +15 -0
- package/styles/breadcrumb/bootstrap5.css +18 -3
- package/styles/breadcrumb/fabric-dark.css +18 -3
- package/styles/breadcrumb/fabric.css +15 -0
- package/styles/breadcrumb/fluent-dark.css +15 -0
- package/styles/breadcrumb/fluent.css +15 -0
- package/styles/breadcrumb/fluent2.css +15 -0
- package/styles/breadcrumb/highcontrast-light.css +15 -0
- package/styles/breadcrumb/highcontrast.css +15 -0
- package/styles/breadcrumb/icons/_bds.scss +23 -23
- package/styles/breadcrumb/icons/_bootstrap-dark.scss +12 -12
- package/styles/breadcrumb/icons/_bootstrap.scss +12 -12
- package/styles/breadcrumb/icons/_bootstrap4.scss +12 -12
- package/styles/breadcrumb/icons/_bootstrap5.3.scss +23 -23
- package/styles/breadcrumb/icons/_bootstrap5.scss +23 -23
- package/styles/breadcrumb/icons/_fabric-dark.scss +12 -12
- package/styles/breadcrumb/icons/_fabric.scss +12 -12
- package/styles/breadcrumb/icons/_fluent.scss +23 -23
- package/styles/breadcrumb/icons/_fluent2.scss +23 -23
- package/styles/breadcrumb/icons/_fusionnew.scss +23 -23
- package/styles/breadcrumb/icons/_highcontrast-light.scss +12 -12
- package/styles/breadcrumb/icons/_highcontrast.scss +12 -12
- package/styles/breadcrumb/icons/_material-dark.scss +23 -23
- package/styles/breadcrumb/icons/_material.scss +23 -23
- package/styles/breadcrumb/icons/_material3.scss +12 -12
- package/styles/breadcrumb/icons/_tailwind-dark.scss +23 -23
- package/styles/breadcrumb/icons/_tailwind.scss +23 -23
- package/styles/breadcrumb/icons/_tailwind3.scss +23 -23
- package/styles/breadcrumb/material-dark.css +15 -0
- package/styles/breadcrumb/material.css +15 -0
- package/styles/breadcrumb/material3-dark.css +15 -0
- package/styles/breadcrumb/material3-dark.scss +1 -1
- package/styles/breadcrumb/material3.css +15 -0
- package/styles/breadcrumb/material3.scss +1 -1
- package/styles/breadcrumb/tailwind-dark.css +15 -0
- package/styles/breadcrumb/tailwind.css +15 -0
- package/styles/breadcrumb/tailwind3.css +15 -0
- package/styles/carousel/_all.scss +2 -2
- package/styles/carousel/_bds-definition.scss +20 -20
- package/styles/carousel/_bootstrap-dark-definition.scss +20 -20
- package/styles/carousel/_bootstrap-definition.scss +20 -20
- package/styles/carousel/_bootstrap4-definition.scss +20 -20
- package/styles/carousel/_bootstrap5-definition.scss +20 -20
- package/styles/carousel/_bootstrap5.3-definition.scss +20 -20
- package/styles/carousel/_fabric-dark-definition.scss +20 -20
- package/styles/carousel/_fabric-definition.scss +20 -20
- package/styles/carousel/_fluent-definition.scss +20 -20
- package/styles/carousel/_fluent2-definition.scss +23 -23
- package/styles/carousel/_fusionnew-definition.scss +20 -20
- package/styles/carousel/_highcontrast-definition.scss +20 -20
- package/styles/carousel/_highcontrast-light-definition.scss +20 -20
- package/styles/carousel/_layout.scss +257 -257
- package/styles/carousel/_material-dark-definition.scss +20 -20
- package/styles/carousel/_material-definition.scss +20 -20
- package/styles/carousel/_material3-definition.scss +21 -21
- package/styles/carousel/_tailwind-definition.scss +20 -20
- package/styles/carousel/_tailwind3-definition.scss +24 -24
- package/styles/carousel/_theme.scss +108 -108
- package/styles/carousel/icons/_bds.scss +30 -30
- package/styles/carousel/icons/_bootstrap-dark.scss +30 -30
- package/styles/carousel/icons/_bootstrap.scss +30 -30
- package/styles/carousel/icons/_bootstrap4.scss +30 -30
- package/styles/carousel/icons/_bootstrap5.3.scss +30 -30
- package/styles/carousel/icons/_bootstrap5.scss +30 -30
- package/styles/carousel/icons/_fabric-dark.scss +30 -30
- package/styles/carousel/icons/_fabric.scss +30 -30
- package/styles/carousel/icons/_fluent.scss +30 -30
- package/styles/carousel/icons/_fluent2.scss +30 -30
- package/styles/carousel/icons/_fusionnew.scss +30 -30
- package/styles/carousel/icons/_highcontrast-light.scss +30 -30
- package/styles/carousel/icons/_highcontrast.scss +30 -30
- package/styles/carousel/icons/_material-dark.scss +30 -30
- package/styles/carousel/icons/_material.scss +30 -30
- package/styles/carousel/icons/_material3.scss +30 -30
- package/styles/carousel/icons/_tailwind.scss +30 -30
- package/styles/carousel/icons/_tailwind3.scss +30 -30
- package/styles/carousel/material3-dark.scss +1 -1
- package/styles/carousel/material3.scss +1 -1
- package/styles/context-menu/_all.scss +2 -2
- package/styles/context-menu/_bds-definition.scss +67 -67
- package/styles/context-menu/_bigger.scss +111 -111
- package/styles/context-menu/_bootstrap-dark-definition.scss +50 -50
- package/styles/context-menu/_bootstrap-definition.scss +50 -50
- package/styles/context-menu/_bootstrap4-definition.scss +52 -50
- package/styles/context-menu/_bootstrap5-definition.scss +52 -52
- package/styles/context-menu/_bootstrap5.3-definition.scss +52 -52
- package/styles/context-menu/_fabric-dark-definition.scss +50 -50
- package/styles/context-menu/_fabric-definition.scss +50 -50
- package/styles/context-menu/_fluent-definition.scss +51 -51
- package/styles/context-menu/_fluent2-definition.scss +52 -52
- package/styles/context-menu/_fusionnew-definition.scss +52 -51
- package/styles/context-menu/_highcontrast-definition.scss +50 -50
- package/styles/context-menu/_highcontrast-light-definition.scss +50 -50
- package/styles/context-menu/_layout-mixin.scss +140 -140
- package/styles/context-menu/_layout.scss +179 -174
- package/styles/context-menu/_material-dark-definition.scss +50 -50
- package/styles/context-menu/_material-definition.scss +50 -50
- package/styles/context-menu/_material3-definition.scss +51 -51
- package/styles/context-menu/_tailwind-definition.scss +52 -52
- package/styles/context-menu/_tailwind3-definition.scss +55 -55
- package/styles/context-menu/_theme-mixin.scss +91 -91
- package/styles/context-menu/_theme.scss +77 -69
- package/styles/context-menu/bds.css +7 -1
- package/styles/context-menu/bootstrap-dark.css +7 -1
- package/styles/context-menu/bootstrap.css +7 -1
- package/styles/context-menu/bootstrap4.css +8 -2
- package/styles/context-menu/bootstrap5-dark.css +14 -8
- package/styles/context-menu/bootstrap5.3.css +7 -1
- package/styles/context-menu/bootstrap5.css +7 -1
- package/styles/context-menu/fabric-dark.css +7 -1
- package/styles/context-menu/fabric.css +7 -1
- package/styles/context-menu/fluent-dark.css +7 -1
- package/styles/context-menu/fluent.css +7 -1
- package/styles/context-menu/fluent2.css +7 -1
- package/styles/context-menu/highcontrast-light.css +7 -1
- package/styles/context-menu/highcontrast.css +7 -1
- package/styles/context-menu/icons/_bds.scss +31 -31
- package/styles/context-menu/icons/_bootstrap-dark.scss +31 -31
- package/styles/context-menu/icons/_bootstrap.scss +31 -31
- package/styles/context-menu/icons/_bootstrap4.scss +31 -31
- package/styles/context-menu/icons/_bootstrap5.3.scss +31 -31
- package/styles/context-menu/icons/_bootstrap5.scss +31 -31
- package/styles/context-menu/icons/_fabric-dark.scss +31 -31
- package/styles/context-menu/icons/_fabric.scss +31 -31
- package/styles/context-menu/icons/_fluent.scss +31 -31
- package/styles/context-menu/icons/_fluent2.scss +31 -31
- package/styles/context-menu/icons/_fusionnew.scss +31 -31
- package/styles/context-menu/icons/_highcontrast-light.scss +31 -31
- package/styles/context-menu/icons/_highcontrast.scss +31 -31
- package/styles/context-menu/icons/_material-dark.scss +31 -31
- package/styles/context-menu/icons/_material.scss +31 -31
- package/styles/context-menu/icons/_material3.scss +31 -31
- package/styles/context-menu/icons/_tailwind-dark.scss +31 -31
- package/styles/context-menu/icons/_tailwind.scss +31 -31
- package/styles/context-menu/icons/_tailwind3.scss +31 -31
- package/styles/context-menu/material-dark.css +8 -1
- package/styles/context-menu/material.css +7 -1
- package/styles/context-menu/material3-dark.css +8 -1
- package/styles/context-menu/material3-dark.scss +1 -1
- package/styles/context-menu/material3.css +8 -1
- package/styles/context-menu/material3.scss +1 -1
- package/styles/context-menu/tailwind-dark.css +7 -1
- package/styles/context-menu/tailwind.css +7 -1
- package/styles/context-menu/tailwind3.css +7 -1
- package/styles/fabric-dark-lite.css +76 -11
- package/styles/fabric-dark.css +78 -13
- package/styles/fabric-lite.css +108 -43
- package/styles/fabric.css +110 -45
- package/styles/fluent-dark-lite.css +88 -25
- package/styles/fluent-dark.css +91 -28
- package/styles/fluent-lite.css +88 -25
- package/styles/fluent.css +91 -28
- package/styles/fluent2-lite.css +91 -36
- package/styles/fluent2.css +93 -38
- package/styles/h-scroll/_all.scss +2 -2
- package/styles/h-scroll/_bds-definition.scss +83 -83
- package/styles/h-scroll/_bigger.scss +39 -39
- package/styles/h-scroll/_bootstrap-dark-definition.scss +57 -57
- package/styles/h-scroll/_bootstrap-definition.scss +56 -56
- package/styles/h-scroll/_bootstrap4-definition.scss +58 -56
- package/styles/h-scroll/_bootstrap5-definition.scss +83 -83
- package/styles/h-scroll/_bootstrap5.3-definition.scss +83 -83
- package/styles/h-scroll/_fabric-dark-definition.scss +58 -58
- package/styles/h-scroll/_fabric-definition.scss +55 -55
- package/styles/h-scroll/_fluent-definition.scss +83 -83
- package/styles/h-scroll/_fluent2-definition.scss +83 -83
- package/styles/h-scroll/_fusionnew-definition.scss +83 -83
- package/styles/h-scroll/_highcontrast-definition.scss +56 -56
- package/styles/h-scroll/_highcontrast-light-definition.scss +59 -59
- package/styles/h-scroll/_layout.scss +160 -160
- package/styles/h-scroll/_material-dark-definition.scss +85 -85
- package/styles/h-scroll/_material-definition.scss +82 -82
- package/styles/h-scroll/_material3-definition.scss +83 -83
- package/styles/h-scroll/_tailwind-definition.scss +83 -83
- package/styles/h-scroll/_tailwind3-definition.scss +83 -83
- package/styles/h-scroll/_theme.scss +146 -146
- package/styles/h-scroll/bds.css +1 -1
- package/styles/h-scroll/bootstrap-dark.css +1 -1
- package/styles/h-scroll/bootstrap.css +1 -1
- package/styles/h-scroll/bootstrap4.css +6 -6
- package/styles/h-scroll/bootstrap5-dark.css +7 -7
- package/styles/h-scroll/bootstrap5.3.css +1 -1
- package/styles/h-scroll/bootstrap5.css +1 -1
- package/styles/h-scroll/fabric-dark.css +1 -1
- package/styles/h-scroll/fabric.css +2 -2
- package/styles/h-scroll/fluent-dark.css +1 -1
- package/styles/h-scroll/fluent.css +1 -1
- package/styles/h-scroll/fluent2.css +1 -1
- package/styles/h-scroll/highcontrast-light.css +1 -1
- package/styles/h-scroll/highcontrast.css +1 -1
- package/styles/h-scroll/icons/_bds.scss +49 -49
- package/styles/h-scroll/icons/_bootstrap-dark.scss +49 -49
- package/styles/h-scroll/icons/_bootstrap.scss +49 -49
- package/styles/h-scroll/icons/_bootstrap4.scss +49 -49
- package/styles/h-scroll/icons/_bootstrap5.3.scss +49 -49
- package/styles/h-scroll/icons/_bootstrap5.scss +49 -49
- package/styles/h-scroll/icons/_fabric-dark.scss +49 -49
- package/styles/h-scroll/icons/_fabric.scss +49 -49
- package/styles/h-scroll/icons/_fluent.scss +49 -49
- package/styles/h-scroll/icons/_fluent2.scss +49 -49
- package/styles/h-scroll/icons/_fusionnew.scss +49 -49
- package/styles/h-scroll/icons/_highcontrast-light.scss +49 -49
- package/styles/h-scroll/icons/_highcontrast.scss +49 -49
- package/styles/h-scroll/icons/_material-dark.scss +49 -49
- package/styles/h-scroll/icons/_material.scss +49 -49
- package/styles/h-scroll/icons/_material3.scss +49 -49
- package/styles/h-scroll/icons/_tailwind.scss +49 -49
- package/styles/h-scroll/icons/_tailwind3.scss +49 -49
- package/styles/h-scroll/material-dark.css +1 -1
- package/styles/h-scroll/material.css +1 -1
- package/styles/h-scroll/material3-dark.css +1 -1
- package/styles/h-scroll/material3-dark.scss +1 -1
- package/styles/h-scroll/material3.css +1 -1
- package/styles/h-scroll/material3.scss +1 -1
- package/styles/h-scroll/tailwind-dark.css +1 -1
- package/styles/h-scroll/tailwind.css +1 -1
- package/styles/h-scroll/tailwind3.css +1 -1
- package/styles/highcontrast-light-lite.css +70 -5
- package/styles/highcontrast-light.css +72 -7
- package/styles/highcontrast-lite.css +73 -8
- package/styles/highcontrast.css +75 -10
- package/styles/material-dark-lite.css +75 -9
- package/styles/material-dark.css +77 -11
- package/styles/material-lite.css +81 -16
- package/styles/material.css +83 -18
- package/styles/material3-dark-lite.css +81 -15
- package/styles/material3-dark.css +91 -20
- package/styles/material3-dark.scss +1 -1
- package/styles/material3-lite.css +81 -15
- package/styles/material3.css +91 -20
- package/styles/material3.scss +1 -1
- package/styles/menu/_all.scss +2 -2
- package/styles/menu/_bds-definition.scss +65 -65
- package/styles/menu/_bigger.scss +381 -381
- package/styles/menu/_bootstrap-dark-definition.scss +61 -61
- package/styles/menu/_bootstrap-definition.scss +65 -65
- package/styles/menu/_bootstrap4-definition.scss +66 -64
- package/styles/menu/_bootstrap5-definition.scss +66 -66
- package/styles/menu/_bootstrap5.3-definition.scss +66 -66
- package/styles/menu/_fabric-dark-definition.scss +61 -61
- package/styles/menu/_fabric-definition.scss +64 -64
- package/styles/menu/_fluent-definition.scss +66 -66
- package/styles/menu/_fluent2-definition.scss +67 -67
- package/styles/menu/_fusionnew-definition.scss +66 -66
- package/styles/menu/_highcontrast-definition.scss +65 -65
- package/styles/menu/_highcontrast-light-definition.scss +61 -61
- package/styles/menu/_layout.scss +501 -501
- package/styles/menu/_material-dark-definition.scss +61 -61
- package/styles/menu/_material-definition.scss +64 -64
- package/styles/menu/_material3-definition.scss +66 -66
- package/styles/menu/_tailwind-definition.scss +65 -65
- package/styles/menu/_tailwind3-definition.scss +66 -66
- package/styles/menu/_theme.scss +428 -418
- package/styles/menu/bootstrap4.css +13 -13
- package/styles/menu/bootstrap5-dark.css +14 -14
- package/styles/menu/fluent2.css +12 -3
- package/styles/menu/icons/_bds.scss +104 -104
- package/styles/menu/icons/_bootstrap-dark.scss +105 -105
- package/styles/menu/icons/_bootstrap.scss +104 -104
- package/styles/menu/icons/_bootstrap4.scss +104 -104
- package/styles/menu/icons/_bootstrap5.3.scss +104 -104
- package/styles/menu/icons/_bootstrap5.scss +104 -104
- package/styles/menu/icons/_fabric-dark.scss +104 -104
- package/styles/menu/icons/_fabric.scss +104 -104
- package/styles/menu/icons/_fluent.scss +104 -104
- package/styles/menu/icons/_fluent2.scss +104 -104
- package/styles/menu/icons/_fusionnew.scss +104 -104
- package/styles/menu/icons/_highcontrast-light.scss +104 -104
- package/styles/menu/icons/_highcontrast.scss +104 -104
- package/styles/menu/icons/_material-dark.scss +104 -104
- package/styles/menu/icons/_material.scss +104 -104
- package/styles/menu/icons/_material3.scss +104 -104
- package/styles/menu/icons/_tailwind-dark.scss +104 -104
- package/styles/menu/icons/_tailwind.scss +104 -104
- package/styles/menu/icons/_tailwind3.scss +104 -104
- package/styles/menu/material3-dark.scss +1 -1
- package/styles/menu/material3.scss +1 -1
- package/styles/pager/_all.scss +2 -2
- package/styles/pager/_bds-definition.scss +152 -152
- package/styles/pager/_bigger.scss +364 -363
- package/styles/pager/_bootstrap-dark-definition.scss +152 -151
- package/styles/pager/_bootstrap-definition.scss +151 -151
- package/styles/pager/_bootstrap4-definition.scss +152 -151
- package/styles/pager/_bootstrap5-definition.scss +166 -166
- package/styles/pager/_bootstrap5.3-definition.scss +166 -166
- package/styles/pager/_fabric-dark-definition.scss +149 -149
- package/styles/pager/_fabric-definition.scss +149 -149
- package/styles/pager/_fluent-definition.scss +153 -153
- package/styles/pager/_fluent2-definition.scss +152 -152
- package/styles/pager/_fusionnew-definition.scss +166 -166
- package/styles/pager/_highcontrast-definition.scss +149 -149
- package/styles/pager/_highcontrast-light-definition.scss +149 -149
- package/styles/pager/_layout.scss +776 -768
- package/styles/pager/_material-dark-definition.scss +150 -150
- package/styles/pager/_material-definition.scss +150 -150
- package/styles/pager/_material3-definition.scss +166 -166
- package/styles/pager/_tailwind-definition.scss +152 -152
- package/styles/pager/_tailwind3-definition.scss +166 -166
- package/styles/pager/_theme.scss +189 -189
- package/styles/pager/bds.css +13 -3
- package/styles/pager/bootstrap-dark.css +17 -7
- package/styles/pager/bootstrap.css +13 -3
- package/styles/pager/bootstrap4.css +14 -4
- package/styles/pager/bootstrap5-dark.css +21 -17
- package/styles/pager/bootstrap5.3.css +7 -3
- package/styles/pager/bootstrap5.css +12 -8
- package/styles/pager/fabric-dark.css +13 -3
- package/styles/pager/fabric.css +15 -5
- package/styles/pager/fluent-dark.css +14 -4
- package/styles/pager/fluent.css +14 -4
- package/styles/pager/fluent2.css +13 -3
- package/styles/pager/highcontrast-light.css +13 -3
- package/styles/pager/highcontrast.css +13 -3
- package/styles/pager/icons/_bds.scss +50 -50
- package/styles/pager/icons/_bootstrap-dark.scss +50 -50
- package/styles/pager/icons/_bootstrap.scss +50 -50
- package/styles/pager/icons/_bootstrap4.scss +50 -50
- package/styles/pager/icons/_bootstrap5.3.scss +50 -50
- package/styles/pager/icons/_bootstrap5.scss +50 -50
- package/styles/pager/icons/_fabric-dark.scss +50 -50
- package/styles/pager/icons/_fabric.scss +50 -50
- package/styles/pager/icons/_fluent.scss +50 -50
- package/styles/pager/icons/_fluent2.scss +50 -50
- package/styles/pager/icons/_fusionnew.scss +50 -50
- package/styles/pager/icons/_highcontrast-light.scss +50 -50
- package/styles/pager/icons/_highcontrast.scss +46 -46
- package/styles/pager/icons/_material-dark.scss +50 -50
- package/styles/pager/icons/_material.scss +46 -46
- package/styles/pager/icons/_material3.scss +50 -50
- package/styles/pager/icons/_tailwind.scss +50 -50
- package/styles/pager/icons/_tailwind3.scss +50 -50
- package/styles/pager/material-dark.css +13 -3
- package/styles/pager/material.css +13 -3
- package/styles/pager/material3-dark.css +20 -5
- package/styles/pager/material3-dark.scss +1 -1
- package/styles/pager/material3.css +20 -5
- package/styles/pager/material3.scss +1 -1
- package/styles/pager/tailwind-dark.css +13 -3
- package/styles/pager/tailwind.css +13 -3
- package/styles/pager/tailwind3.css +14 -4
- package/styles/sidebar/_all.scss +3 -3
- package/styles/sidebar/_bds-definition.scss +53 -53
- package/styles/sidebar/_bootstrap-dark-definition.scss +4 -4
- package/styles/sidebar/_bootstrap-definition.scss +4 -4
- package/styles/sidebar/_bootstrap4-definition.scss +4 -4
- package/styles/sidebar/_bootstrap5-definition.scss +6 -6
- package/styles/sidebar/_bootstrap5.3-definition.scss +6 -6
- package/styles/sidebar/_fabric-dark-definition.scss +4 -4
- package/styles/sidebar/_fabric-definition.scss +4 -4
- package/styles/sidebar/_fluent-definition.scss +6 -6
- package/styles/sidebar/_fluent2-definition.scss +8 -8
- package/styles/sidebar/_fusionnew-definition.scss +6 -6
- package/styles/sidebar/_highcontrast-definition.scss +4 -4
- package/styles/sidebar/_highcontrast-light-definition.scss +4 -4
- package/styles/sidebar/_icons.scss +1 -1
- package/styles/sidebar/_layout.scss +1 -1
- package/styles/sidebar/_material-dark-definition.scss +4 -4
- package/styles/sidebar/_material-definition.scss +6 -6
- package/styles/sidebar/_material3-definition.scss +4 -4
- package/styles/sidebar/_tailwind-definition.scss +6 -6
- package/styles/sidebar/_tailwind3-definition.scss +6 -6
- package/styles/sidebar/_theme.scss +251 -251
- package/styles/sidebar/bootstrap5-dark.css +1 -1
- package/styles/sidebar/material3-dark.scss +1 -1
- package/styles/sidebar/material3.scss +1 -1
- package/styles/stepper/_bds-definition.scss +72 -72
- package/styles/stepper/_bigger.scss +53 -53
- package/styles/stepper/_bootstrap4-definition.scss +4 -2
- package/styles/stepper/_bootstrap5.3-definition.scss +72 -72
- package/styles/stepper/_fluent2-definition.scss +72 -72
- package/styles/stepper/_material-dark-definition.scss +4 -2
- package/styles/stepper/_material-definition.scss +7 -5
- package/styles/stepper/_tailwind3-definition.scss +72 -72
- package/styles/stepper/bootstrap-dark.css +2 -2
- package/styles/stepper/bootstrap4.css +2 -2
- package/styles/stepper/bootstrap5-dark.css +20 -20
- package/styles/stepper/bootstrap5.css +2 -2
- package/styles/stepper/fabric-dark.css +2 -2
- package/styles/stepper/fabric.css +2 -2
- package/styles/stepper/fluent-dark.css +1 -1
- package/styles/stepper/fluent.css +1 -1
- package/styles/stepper/icons/_bds.scss +5 -5
- package/styles/stepper/icons/_bootstrap5.3.scss +5 -5
- package/styles/stepper/icons/_fluent2.scss +5 -5
- package/styles/stepper/icons/_tailwind3.scss +5 -5
- package/styles/stepper/material-dark.css +2 -2
- package/styles/stepper/material.css +8 -8
- package/styles/stepper/material3-dark.scss +1 -1
- package/styles/stepper/material3.scss +1 -1
- package/styles/tab/_all.scss +2 -2
- package/styles/tab/_bds-definition.scss +661 -661
- package/styles/tab/_bigger.scss +1276 -1276
- package/styles/tab/_bootstrap-dark-definition.scss +630 -628
- package/styles/tab/_bootstrap-definition.scss +629 -629
- package/styles/tab/_bootstrap4-definition.scss +637 -635
- package/styles/tab/_bootstrap5-definition.scss +635 -633
- package/styles/tab/_bootstrap5.3-definition.scss +636 -634
- package/styles/tab/_fabric-dark-definition.scss +641 -641
- package/styles/tab/_fabric-definition.scss +643 -643
- package/styles/tab/_fluent-definition.scss +637 -635
- package/styles/tab/_fluent2-definition.scss +664 -664
- package/styles/tab/_fusionnew-definition.scss +632 -632
- package/styles/tab/_highcontrast-definition.scss +667 -667
- package/styles/tab/_highcontrast-light-definition.scss +666 -666
- package/styles/tab/_icons.scss +34 -34
- package/styles/tab/_layout.scss +2191 -2187
- package/styles/tab/_material-dark-definition.scss +646 -646
- package/styles/tab/_material-definition.scss +645 -645
- package/styles/tab/_material3-definition.scss +634 -634
- package/styles/tab/_tailwind-definition.scss +648 -648
- package/styles/tab/_tailwind3-definition.scss +634 -634
- package/styles/tab/_theme.scss +1580 -1580
- package/styles/tab/bds.css +5 -0
- package/styles/tab/bootstrap-dark.css +35 -30
- package/styles/tab/bootstrap.css +7 -2
- package/styles/tab/bootstrap4.css +38 -33
- package/styles/tab/bootstrap5-dark.css +60 -55
- package/styles/tab/bootstrap5.3.css +18 -13
- package/styles/tab/bootstrap5.css +40 -35
- package/styles/tab/fabric-dark.css +5 -0
- package/styles/tab/fabric.css +10 -5
- package/styles/tab/fluent-dark.css +19 -14
- package/styles/tab/fluent.css +19 -14
- package/styles/tab/fluent2.css +7 -2
- package/styles/tab/highcontrast-light.css +5 -0
- package/styles/tab/highcontrast.css +6 -1
- package/styles/tab/icons/_bds.scss +90 -90
- package/styles/tab/icons/_bootstrap-dark.scss +98 -98
- package/styles/tab/icons/_bootstrap.scss +98 -98
- package/styles/tab/icons/_bootstrap4.scss +101 -101
- package/styles/tab/icons/_bootstrap5.3.scss +90 -90
- package/styles/tab/icons/_bootstrap5.scss +90 -90
- package/styles/tab/icons/_fabric-dark.scss +98 -98
- package/styles/tab/icons/_fabric.scss +98 -98
- package/styles/tab/icons/_fluent.scss +98 -98
- package/styles/tab/icons/_fluent2.scss +98 -98
- package/styles/tab/icons/_fusionnew.scss +90 -90
- package/styles/tab/icons/_highcontrast-light.scss +90 -90
- package/styles/tab/icons/_highcontrast.scss +101 -101
- package/styles/tab/icons/_material-dark.scss +90 -90
- package/styles/tab/icons/_material.scss +90 -90
- package/styles/tab/icons/_material3.scss +90 -90
- package/styles/tab/icons/_tailwind.scss +90 -90
- package/styles/tab/icons/_tailwind3.scss +90 -90
- package/styles/tab/material-dark.css +5 -0
- package/styles/tab/material.css +6 -1
- package/styles/tab/material3-dark.css +15 -10
- package/styles/tab/material3-dark.scss +1 -1
- package/styles/tab/material3.css +15 -10
- package/styles/tab/material3.scss +1 -1
- package/styles/tab/tailwind-dark.css +13 -8
- package/styles/tab/tailwind.css +13 -8
- package/styles/tab/tailwind3.css +32 -26
- package/styles/tailwind-dark-lite.css +80 -15
- package/styles/tailwind-dark.css +84 -19
- package/styles/tailwind-lite.css +78 -13
- package/styles/tailwind.css +82 -17
- package/styles/tailwind3-lite.css +105 -58
- package/styles/tailwind3.css +109 -61
- package/styles/toolbar/_all.scss +2 -2
- package/styles/toolbar/_bds-definition.scss +197 -197
- package/styles/toolbar/_bigger.scss +323 -323
- package/styles/toolbar/_bootstrap-dark-definition.scss +193 -193
- package/styles/toolbar/_bootstrap-definition.scss +203 -203
- package/styles/toolbar/_bootstrap4-definition.scss +200 -198
- package/styles/toolbar/_bootstrap5-definition.scss +198 -198
- package/styles/toolbar/_bootstrap5.3-definition.scss +198 -198
- package/styles/toolbar/_fabric-dark-definition.scss +207 -207
- package/styles/toolbar/_fabric-definition.scss +195 -195
- package/styles/toolbar/_fluent-definition.scss +197 -197
- package/styles/toolbar/_fluent2-definition.scss +198 -198
- package/styles/toolbar/_fusionnew-definition.scss +198 -198
- package/styles/toolbar/_highcontrast-definition.scss +204 -204
- package/styles/toolbar/_highcontrast-light-definition.scss +218 -218
- package/styles/toolbar/_layout.scss +781 -748
- package/styles/toolbar/_material-dark-definition.scss +233 -231
- package/styles/toolbar/_material-definition.scss +221 -219
- package/styles/toolbar/_material3-definition.scss +199 -199
- package/styles/toolbar/_tailwind-definition.scss +197 -197
- package/styles/toolbar/_tailwind3-definition.scss +199 -199
- package/styles/toolbar/_theme.scss +410 -436
- package/styles/toolbar/bds.css +23 -2
- package/styles/toolbar/bootstrap-dark.css +25 -4
- package/styles/toolbar/bootstrap.css +25 -4
- package/styles/toolbar/bootstrap4.css +35 -14
- package/styles/toolbar/bootstrap5-dark.css +70 -49
- package/styles/toolbar/bootstrap5.3.css +33 -4
- package/styles/toolbar/bootstrap5.css +46 -25
- package/styles/toolbar/fabric-dark.css +23 -2
- package/styles/toolbar/fabric.css +32 -11
- package/styles/toolbar/fluent-dark.css +23 -2
- package/styles/toolbar/fluent.css +23 -2
- package/styles/toolbar/fluent2.css +30 -28
- package/styles/toolbar/highcontrast-light.css +23 -2
- package/styles/toolbar/highcontrast.css +25 -4
- package/styles/toolbar/icons/_bds.scss +14 -14
- package/styles/toolbar/icons/_bootstrap-dark.scss +14 -14
- package/styles/toolbar/icons/_bootstrap.scss +14 -14
- package/styles/toolbar/icons/_bootstrap4.scss +14 -14
- package/styles/toolbar/icons/_bootstrap5.3.scss +14 -14
- package/styles/toolbar/icons/_bootstrap5.scss +14 -14
- package/styles/toolbar/icons/_fabric-dark.scss +14 -14
- package/styles/toolbar/icons/_fabric.scss +14 -14
- package/styles/toolbar/icons/_fluent.scss +14 -14
- package/styles/toolbar/icons/_fluent2.scss +14 -14
- package/styles/toolbar/icons/_fusionnew.scss +14 -14
- package/styles/toolbar/icons/_highcontrast-light.scss +14 -14
- package/styles/toolbar/icons/_highcontrast.scss +14 -14
- package/styles/toolbar/icons/_material-dark.scss +14 -14
- package/styles/toolbar/icons/_material.scss +14 -14
- package/styles/toolbar/icons/_material3.scss +14 -14
- package/styles/toolbar/icons/_tailwind.scss +14 -14
- package/styles/toolbar/icons/_tailwind3.scss +14 -14
- package/styles/toolbar/material-dark.css +25 -4
- package/styles/toolbar/material.css +25 -4
- package/styles/toolbar/material3-dark.css +23 -2
- package/styles/toolbar/material3-dark.scss +1 -1
- package/styles/toolbar/material3.css +23 -2
- package/styles/toolbar/material3.scss +1 -1
- package/styles/toolbar/tailwind-dark.css +23 -2
- package/styles/toolbar/tailwind.css +23 -2
- package/styles/toolbar/tailwind3.css +30 -28
- package/styles/treeview/_all.scss +2 -2
- package/styles/treeview/_bds-definition.scss +131 -131
- package/styles/treeview/_bigger.scss +410 -406
- package/styles/treeview/_bootstrap-dark-definition.scss +118 -118
- package/styles/treeview/_bootstrap-definition.scss +113 -113
- package/styles/treeview/_bootstrap4-definition.scss +143 -141
- package/styles/treeview/_bootstrap5-definition.scss +122 -120
- package/styles/treeview/_bootstrap5.3-definition.scss +119 -119
- package/styles/treeview/_fabric-dark-definition.scss +116 -116
- package/styles/treeview/_fabric-definition.scss +112 -112
- package/styles/treeview/_fluent-definition.scss +122 -120
- package/styles/treeview/_fluent2-definition.scss +128 -128
- package/styles/treeview/_fusionnew-definition.scss +120 -120
- package/styles/treeview/_highcontrast-definition.scss +118 -118
- package/styles/treeview/_highcontrast-light-definition.scss +123 -123
- package/styles/treeview/_layout.scss +769 -761
- package/styles/treeview/_material-dark-definition.scss +114 -114
- package/styles/treeview/_material-definition.scss +112 -112
- package/styles/treeview/_material3-definition.scss +110 -110
- package/styles/treeview/_tailwind-definition.scss +126 -124
- package/styles/treeview/_tailwind3-definition.scss +126 -126
- package/styles/treeview/_theme.scss +352 -350
- package/styles/treeview/bds.css +8 -0
- package/styles/treeview/bootstrap-dark.css +8 -0
- package/styles/treeview/bootstrap.css +8 -0
- package/styles/treeview/bootstrap4.css +17 -9
- package/styles/treeview/bootstrap5-dark.css +20 -12
- package/styles/treeview/bootstrap5.3.css +15 -7
- package/styles/treeview/bootstrap5.css +11 -3
- package/styles/treeview/fabric-dark.css +8 -0
- package/styles/treeview/fabric.css +15 -7
- package/styles/treeview/fluent-dark.css +11 -5
- package/styles/treeview/fluent.css +11 -5
- package/styles/treeview/fluent2.css +8 -0
- package/styles/treeview/highcontrast-light.css +8 -0
- package/styles/treeview/highcontrast.css +8 -0
- package/styles/treeview/icons/_bds.scss +44 -44
- package/styles/treeview/icons/_bootstrap-dark.scss +40 -40
- package/styles/treeview/icons/_bootstrap.scss +40 -40
- package/styles/treeview/icons/_bootstrap4.scss +40 -40
- package/styles/treeview/icons/_bootstrap5.3.scss +44 -44
- package/styles/treeview/icons/_bootstrap5.scss +44 -44
- package/styles/treeview/icons/_fabric-dark.scss +44 -44
- package/styles/treeview/icons/_fabric.scss +44 -44
- package/styles/treeview/icons/_fluent.scss +44 -44
- package/styles/treeview/icons/_fluent2.scss +44 -44
- package/styles/treeview/icons/_fusionnew.scss +44 -44
- package/styles/treeview/icons/_highcontrast-light.scss +44 -44
- package/styles/treeview/icons/_highcontrast.scss +44 -44
- package/styles/treeview/icons/_material-dark.scss +44 -44
- package/styles/treeview/icons/_material.scss +44 -44
- package/styles/treeview/icons/_material3.scss +44 -44
- package/styles/treeview/icons/_tailwind-dark.scss +44 -44
- package/styles/treeview/icons/_tailwind.scss +44 -44
- package/styles/treeview/icons/_tailwind3.scss +44 -44
- package/styles/treeview/material-dark.css +8 -0
- package/styles/treeview/material.css +8 -0
- package/styles/treeview/material3-dark.css +9 -1
- package/styles/treeview/material3-dark.scss +1 -1
- package/styles/treeview/material3.css +9 -1
- package/styles/treeview/material3.scss +1 -1
- package/styles/treeview/tailwind-dark.css +10 -2
- package/styles/treeview/tailwind.css +10 -2
- package/styles/treeview/tailwind3.css +10 -1
- package/styles/v-scroll/_all.scss +2 -2
- package/styles/v-scroll/_bds-definition.scss +49 -49
- package/styles/v-scroll/_bigger.scss +28 -28
- package/styles/v-scroll/_bootstrap-dark-definition.scss +51 -51
- package/styles/v-scroll/_bootstrap-definition.scss +49 -49
- package/styles/v-scroll/_bootstrap4-definition.scss +49 -49
- package/styles/v-scroll/_bootstrap5-definition.scss +49 -49
- package/styles/v-scroll/_bootstrap5.3-definition.scss +49 -49
- package/styles/v-scroll/_fabric-dark-definition.scss +52 -52
- package/styles/v-scroll/_fabric-definition.scss +50 -50
- package/styles/v-scroll/_fluent-definition.scss +49 -49
- package/styles/v-scroll/_fluent2-definition.scss +49 -49
- package/styles/v-scroll/_fusionnew-definition.scss +49 -49
- package/styles/v-scroll/_highcontrast-definition.scss +50 -50
- package/styles/v-scroll/_highcontrast-light-definition.scss +52 -52
- package/styles/v-scroll/_layout.scss +135 -135
- package/styles/v-scroll/_material-dark-definition.scss +79 -79
- package/styles/v-scroll/_material-definition.scss +77 -77
- package/styles/v-scroll/_material3-definition.scss +49 -49
- package/styles/v-scroll/_tailwind-definition.scss +49 -49
- package/styles/v-scroll/_tailwind3-definition.scss +49 -49
- package/styles/v-scroll/_theme.scss +114 -114
- package/styles/v-scroll/fabric-dark.css +1 -1
- package/styles/v-scroll/fabric.css +1 -1
- package/styles/v-scroll/icons/_bds.scss +27 -27
- package/styles/v-scroll/icons/_bootstrap-dark.scss +27 -27
- package/styles/v-scroll/icons/_bootstrap.scss +27 -27
- package/styles/v-scroll/icons/_bootstrap4.scss +27 -27
- package/styles/v-scroll/icons/_bootstrap5.3.scss +27 -27
- package/styles/v-scroll/icons/_bootstrap5.scss +27 -27
- package/styles/v-scroll/icons/_fabric-dark.scss +27 -27
- package/styles/v-scroll/icons/_fabric.scss +27 -27
- package/styles/v-scroll/icons/_fluent.scss +27 -27
- package/styles/v-scroll/icons/_fluent2.scss +27 -27
- package/styles/v-scroll/icons/_fusionnew.scss +27 -27
- package/styles/v-scroll/icons/_highcontrast-light.scss +27 -27
- package/styles/v-scroll/icons/_highcontrast.scss +27 -27
- package/styles/v-scroll/icons/_material-dark.scss +27 -27
- package/styles/v-scroll/icons/_material.scss +27 -27
- package/styles/v-scroll/icons/_material3.scss +27 -27
- package/styles/v-scroll/icons/_tailwind.scss +27 -27
- package/styles/v-scroll/icons/_tailwind3.scss +27 -27
- package/styles/v-scroll/material3-dark.scss +1 -1
- package/styles/v-scroll/material3.scss +1 -1
- package/tslint.json +111 -111
- package/helpers/e2e/accordionHelper.d.ts +0 -56
- package/helpers/e2e/accordionHelper.js +0 -71
- package/helpers/e2e/contextmenuHelper.d.ts +0 -37
- package/helpers/e2e/contextmenuHelper.js +0 -53
- package/helpers/e2e/index.d.ts +0 -7
- package/helpers/e2e/index.js +0 -14
- package/helpers/e2e/menuHelper.d.ts +0 -37
- package/helpers/e2e/menuHelper.js +0 -53
- package/helpers/e2e/sidebarHelper.d.ts +0 -94
- package/helpers/e2e/sidebarHelper.js +0 -110
- package/helpers/e2e/tabHelper.d.ts +0 -60
- package/helpers/e2e/tabHelper.js +0 -74
- package/helpers/e2e/toolbarHelper.d.ts +0 -60
- package/helpers/e2e/toolbarHelper.js +0 -74
- package/helpers/e2e/treeview.d.ts +0 -50
- package/helpers/e2e/treeview.js +0 -80
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
+
};
|
|
20
|
+
/* eslint-disable @typescript-eslint/triple-slash-reference */
|
|
21
|
+
/// <reference path='../common/menu-base-model.d.ts'/>
|
|
22
|
+
import { attributes, getUniqueID, Collection, NotifyPropertyChanges, Property } from '@syncfusion/ej2-base';
|
|
23
|
+
import { getZindexPartial } from '@syncfusion/ej2-popups';
|
|
24
|
+
import { MenuBase, MenuItem } from '../common/menu-base';
|
|
25
|
+
/**
|
|
26
|
+
* The ContextMenu is a graphical user interface that appears on the user right click/touch hold operation.
|
|
27
|
+
* ```html
|
|
28
|
+
* <div id = 'target'></div>
|
|
29
|
+
* <ul id = 'contextmenu'></ul>
|
|
30
|
+
* ```
|
|
31
|
+
* ```typescript
|
|
32
|
+
* <script>
|
|
33
|
+
* var contextMenuObj = new ContextMenu({items: [{ text: 'Cut' }, { text: 'Copy' },{ text: 'Paste' }], target: '#target'});
|
|
34
|
+
* </script>
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
var ContextMenu = /** @class */ (function (_super) {
|
|
38
|
+
__extends(ContextMenu, _super);
|
|
39
|
+
/**
|
|
40
|
+
* Constructor for creating the widget.
|
|
41
|
+
*
|
|
42
|
+
* @private
|
|
43
|
+
* @param {ContextMenuModel} options - Specifies the context menu model
|
|
44
|
+
* @param {string} element - Specifies the element
|
|
45
|
+
*/
|
|
46
|
+
function ContextMenu(options, element) {
|
|
47
|
+
return _super.call(this, options, element) || this;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* For internal use only - prerender processing.
|
|
51
|
+
*
|
|
52
|
+
* @private
|
|
53
|
+
* @returns {void}
|
|
54
|
+
*/
|
|
55
|
+
ContextMenu.prototype.preRender = function () {
|
|
56
|
+
this.isMenu = false;
|
|
57
|
+
this.element.id = this.element.id || getUniqueID('ej2-contextmenu');
|
|
58
|
+
_super.prototype.preRender.call(this);
|
|
59
|
+
};
|
|
60
|
+
ContextMenu.prototype.initialize = function () {
|
|
61
|
+
this.template = this.itemTemplate ? this.itemTemplate : null;
|
|
62
|
+
_super.prototype.initialize.call(this);
|
|
63
|
+
attributes(this.element, { 'role': 'menubar', 'tabindex': '0' });
|
|
64
|
+
this.element.style.zIndex = getZindexPartial(this.element).toString();
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* This method is used to open the ContextMenu in specified position.
|
|
68
|
+
*
|
|
69
|
+
* @param {number} top - To specify ContextMenu vertical positioning.
|
|
70
|
+
* @param {number} left - To specify ContextMenu horizontal positioning.
|
|
71
|
+
* @param {HTMLElement} target - To calculate z-index for ContextMenu based upon the specified target.
|
|
72
|
+
* @function open
|
|
73
|
+
* @returns {void}
|
|
74
|
+
*/
|
|
75
|
+
ContextMenu.prototype.open = function (top, left, target) {
|
|
76
|
+
_super.prototype.openMenu.call(this, null, null, top, left, null, target);
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Closes the ContextMenu if it is opened.
|
|
80
|
+
*
|
|
81
|
+
* @function close
|
|
82
|
+
* @returns {void}
|
|
83
|
+
*/
|
|
84
|
+
ContextMenu.prototype.close = function () {
|
|
85
|
+
_super.prototype.closeMenu.call(this);
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* Called internally if any of the property value changed.
|
|
89
|
+
*
|
|
90
|
+
* @private
|
|
91
|
+
* @param {ContextMenuModel} newProp - Specifies new properties
|
|
92
|
+
* @param {ContextMenuModel} oldProp - Specifies old properties
|
|
93
|
+
* @returns {void}
|
|
94
|
+
*/
|
|
95
|
+
ContextMenu.prototype.onPropertyChanged = function (newProp, oldProp) {
|
|
96
|
+
_super.prototype.onPropertyChanged.call(this, newProp, oldProp);
|
|
97
|
+
for (var _i = 0, _a = Object.keys(newProp); _i < _a.length; _i++) {
|
|
98
|
+
var prop = _a[_i];
|
|
99
|
+
switch (prop) {
|
|
100
|
+
case 'filter':
|
|
101
|
+
this.close();
|
|
102
|
+
this.filter = newProp.filter;
|
|
103
|
+
break;
|
|
104
|
+
case 'target':
|
|
105
|
+
this.unWireEvents(oldProp.target);
|
|
106
|
+
this.wireEvents();
|
|
107
|
+
break;
|
|
108
|
+
case 'itemTemplate':
|
|
109
|
+
this.itemTemplate = newProp.itemTemplate;
|
|
110
|
+
this.refresh();
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* Get module name.
|
|
116
|
+
*
|
|
117
|
+
* @returns {string} - Module Name
|
|
118
|
+
* @private
|
|
119
|
+
*/
|
|
120
|
+
ContextMenu.prototype.getModuleName = function () {
|
|
121
|
+
return 'contextmenu';
|
|
122
|
+
};
|
|
123
|
+
__decorate([
|
|
124
|
+
Property('')
|
|
125
|
+
], ContextMenu.prototype, "target", void 0);
|
|
126
|
+
__decorate([
|
|
127
|
+
Property('')
|
|
128
|
+
], ContextMenu.prototype, "filter", void 0);
|
|
129
|
+
__decorate([
|
|
130
|
+
Collection([], MenuItem)
|
|
131
|
+
], ContextMenu.prototype, "items", void 0);
|
|
132
|
+
__decorate([
|
|
133
|
+
Property(null)
|
|
134
|
+
], ContextMenu.prototype, "itemTemplate", void 0);
|
|
135
|
+
__decorate([
|
|
136
|
+
Property(false)
|
|
137
|
+
], ContextMenu.prototype, "enableScrolling", void 0);
|
|
138
|
+
ContextMenu = __decorate([
|
|
139
|
+
NotifyPropertyChanges
|
|
140
|
+
], ContextMenu);
|
|
141
|
+
return ContextMenu;
|
|
142
|
+
}(MenuBase));
|
|
143
|
+
export { ContextMenu };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './index';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Navigation all modules
|
|
3
|
+
*/
|
|
4
|
+
export * from './common/index';
|
|
5
|
+
export * from './toolbar/index';
|
|
6
|
+
export * from './accordion/index';
|
|
7
|
+
export * from './context-menu/index';
|
|
8
|
+
export * from './menu/index';
|
|
9
|
+
export * from './tab/index';
|
|
10
|
+
export * from './treeview/index';
|
|
11
|
+
export * from './sidebar/index';
|
|
12
|
+
export * from './breadcrumb/index';
|
|
13
|
+
export * from './carousel/index';
|
|
14
|
+
export * from './appbar/index';
|
|
15
|
+
export * from './stepper-base/index';
|
|
16
|
+
export * from './stepper/index';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Navigation all modules
|
|
3
|
+
*/
|
|
4
|
+
export * from './common/index';
|
|
5
|
+
export * from './toolbar/index';
|
|
6
|
+
export * from './accordion/index';
|
|
7
|
+
export * from './context-menu/index';
|
|
8
|
+
export * from './menu/index';
|
|
9
|
+
export * from './tab/index';
|
|
10
|
+
export * from './treeview/index';
|
|
11
|
+
export * from './sidebar/index';
|
|
12
|
+
export * from './breadcrumb/index';
|
|
13
|
+
export * from './carousel/index';
|
|
14
|
+
export * from './appbar/index';
|
|
15
|
+
export * from './stepper-base/index';
|
|
16
|
+
export * from './stepper/index';
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { attributes, NotifyPropertyChanges, INotifyPropertyChanged, Property } from '@syncfusion/ej2-base';
|
|
2
|
+
import {Orientation} from "./menu";
|
|
3
|
+
import {MenuBaseModel} from "../common/menu-base-model";
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Interface for a class Menu
|
|
7
|
+
*/
|
|
8
|
+
export interface MenuModel extends MenuBaseModel{
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Specified the orientation of Menu whether it can be horizontal or vertical.
|
|
12
|
+
*
|
|
13
|
+
* @default 'Horizontal'
|
|
14
|
+
*/
|
|
15
|
+
orientation?: Orientation;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Specifies target element to open/close Menu while click in Hamburger mode.
|
|
19
|
+
*
|
|
20
|
+
* @default ''
|
|
21
|
+
*/
|
|
22
|
+
target?: string;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Specifies the template for Menu item.
|
|
26
|
+
*
|
|
27
|
+
* @default null
|
|
28
|
+
* @aspType string
|
|
29
|
+
*/
|
|
30
|
+
template?: string | Function;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Specifies whether to enable / disable the scrollable option in Menu.
|
|
34
|
+
*
|
|
35
|
+
* @default false
|
|
36
|
+
*/
|
|
37
|
+
enableScrolling?: boolean;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Specifies whether to enable / disable the hamburger mode in Menu.
|
|
41
|
+
*
|
|
42
|
+
* @default false
|
|
43
|
+
*/
|
|
44
|
+
hamburgerMode?: boolean;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Specifies the title text for hamburger mode in Menu.
|
|
48
|
+
*
|
|
49
|
+
* @default 'Menu'
|
|
50
|
+
*/
|
|
51
|
+
title?: string;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Specifies whether to enable the rendering of untrusted HTML values in the Menu component.
|
|
55
|
+
* If 'enableHtmlSanitizer' set to true, the component will sanitize any suspected untrusted strings and scripts before rendering them.
|
|
56
|
+
*
|
|
57
|
+
* @default true
|
|
58
|
+
*/
|
|
59
|
+
enableHtmlSanitizer?: boolean;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Specifies mapping fields from the dataSource.
|
|
63
|
+
*
|
|
64
|
+
* @default { itemId: "id", text: "text", parentId: "parentId", iconCss: "iconCss", url: "url", separator: "separator",
|
|
65
|
+
* children: "items" }
|
|
66
|
+
*/
|
|
67
|
+
// eslint:disable-next-line
|
|
68
|
+
fields?: FieldSettingsModel;
|
|
69
|
+
|
|
70
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/// <reference path="../common/menu-base-model.d.ts" />
|
|
2
|
+
import { INotifyPropertyChanged } from '@syncfusion/ej2-base';
|
|
3
|
+
import { MenuBase } from '../common/menu-base';
|
|
4
|
+
import { FieldSettingsModel } from '../common/menu-base-model';
|
|
5
|
+
import { MenuModel } from './menu-model';
|
|
6
|
+
/**
|
|
7
|
+
* Defines the different types of orientation option available in the Menu.
|
|
8
|
+
* ```props
|
|
9
|
+
* Horizontal - It renders the menu in a horizontal orientation mode.
|
|
10
|
+
* Vertical - It renders the menu in a vertical orientation mode.
|
|
11
|
+
* ```
|
|
12
|
+
*/
|
|
13
|
+
export declare type Orientation = 'Horizontal' | 'Vertical';
|
|
14
|
+
/**
|
|
15
|
+
* The Menu is a graphical user interface that serve as navigation headers for your application or site.
|
|
16
|
+
* ```html
|
|
17
|
+
* <ul id = 'menu'></ul>
|
|
18
|
+
* ```
|
|
19
|
+
* ```typescript
|
|
20
|
+
* <script>
|
|
21
|
+
* var menuObj = new Menu({ items: [{ text: 'Home' }, { text: 'Contact Us' },{ text: 'Login' }]});
|
|
22
|
+
* menuObj.appendTo("#menu");
|
|
23
|
+
* </script>
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export declare class Menu extends MenuBase implements INotifyPropertyChanged {
|
|
27
|
+
private tempItems;
|
|
28
|
+
/**
|
|
29
|
+
* Specified the orientation of Menu whether it can be horizontal or vertical.
|
|
30
|
+
*
|
|
31
|
+
* @default 'Horizontal'
|
|
32
|
+
*/
|
|
33
|
+
orientation: Orientation;
|
|
34
|
+
/**
|
|
35
|
+
* Specifies target element to open/close Menu while click in Hamburger mode.
|
|
36
|
+
*
|
|
37
|
+
* @default ''
|
|
38
|
+
*/
|
|
39
|
+
target: string;
|
|
40
|
+
/**
|
|
41
|
+
* Specifies the template for Menu item.
|
|
42
|
+
*
|
|
43
|
+
* @default null
|
|
44
|
+
* @aspType string
|
|
45
|
+
*/
|
|
46
|
+
template: string | Function;
|
|
47
|
+
/**
|
|
48
|
+
* Specifies whether to enable / disable the scrollable option in Menu.
|
|
49
|
+
*
|
|
50
|
+
* @default false
|
|
51
|
+
*/
|
|
52
|
+
enableScrolling: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Specifies whether to enable / disable the hamburger mode in Menu.
|
|
55
|
+
*
|
|
56
|
+
* @default false
|
|
57
|
+
*/
|
|
58
|
+
hamburgerMode: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Specifies the title text for hamburger mode in Menu.
|
|
61
|
+
*
|
|
62
|
+
* @default 'Menu'
|
|
63
|
+
*/
|
|
64
|
+
title: string;
|
|
65
|
+
/**
|
|
66
|
+
* Specifies whether to enable the rendering of untrusted HTML values in the Menu component.
|
|
67
|
+
* If 'enableHtmlSanitizer' set to true, the component will sanitize any suspected untrusted strings and scripts before rendering them.
|
|
68
|
+
*
|
|
69
|
+
* @default true
|
|
70
|
+
*/
|
|
71
|
+
enableHtmlSanitizer: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Specifies mapping fields from the dataSource.
|
|
74
|
+
*
|
|
75
|
+
* @default { itemId: "id", text: "text", parentId: "parentId", iconCss: "iconCss", url: "url", separator: "separator",
|
|
76
|
+
* children: "items" }
|
|
77
|
+
*/
|
|
78
|
+
fields: FieldSettingsModel;
|
|
79
|
+
/**
|
|
80
|
+
* Constructor for creating the component.
|
|
81
|
+
*
|
|
82
|
+
* @private
|
|
83
|
+
* @param {MenuModel} options - Specifies the menu model
|
|
84
|
+
* @param {string} element - Specifies the element
|
|
85
|
+
*/
|
|
86
|
+
constructor(options?: MenuModel, element?: string | HTMLUListElement);
|
|
87
|
+
/**
|
|
88
|
+
* Get module name.
|
|
89
|
+
*
|
|
90
|
+
* @private
|
|
91
|
+
* @returns {string} - Module Name
|
|
92
|
+
*/
|
|
93
|
+
protected getModuleName(): string;
|
|
94
|
+
/**
|
|
95
|
+
* For internal use only - prerender processing.
|
|
96
|
+
*
|
|
97
|
+
* @private
|
|
98
|
+
* @returns {void}
|
|
99
|
+
*/
|
|
100
|
+
protected preRender(): void;
|
|
101
|
+
protected initialize(): void;
|
|
102
|
+
private updateMenuItems;
|
|
103
|
+
/**
|
|
104
|
+
* Called internally if any of the property value changed.
|
|
105
|
+
*
|
|
106
|
+
* @private
|
|
107
|
+
* @param {MenuModel} newProp - Specifies the new properties.
|
|
108
|
+
* @param {MenuModel} oldProp - Specifies the old properties.
|
|
109
|
+
* @returns {void}
|
|
110
|
+
*/
|
|
111
|
+
onPropertyChanged(newProp: MenuModel, oldProp: MenuModel): void;
|
|
112
|
+
private createMenuItems;
|
|
113
|
+
/**
|
|
114
|
+
* This method is used to open the Menu in hamburger mode.
|
|
115
|
+
*
|
|
116
|
+
* @function open
|
|
117
|
+
* @returns {void}
|
|
118
|
+
*/
|
|
119
|
+
open(): void;
|
|
120
|
+
/**
|
|
121
|
+
* Closes the Menu if it is opened in hamburger mode.
|
|
122
|
+
*
|
|
123
|
+
* @function close
|
|
124
|
+
* @returns {void}
|
|
125
|
+
*/
|
|
126
|
+
close(): void;
|
|
127
|
+
}
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
+
};
|
|
20
|
+
/* eslint-disable @typescript-eslint/triple-slash-reference */
|
|
21
|
+
/// <reference path='../common/menu-base-model.d.ts'/>
|
|
22
|
+
import { attributes, NotifyPropertyChanges, Property } from '@syncfusion/ej2-base';
|
|
23
|
+
import { Browser, Complex, getUniqueID, SanitizeHtmlHelper } from '@syncfusion/ej2-base';
|
|
24
|
+
import { MenuBase, FieldSettings } from '../common/menu-base';
|
|
25
|
+
var VMENU = 'e-vertical';
|
|
26
|
+
var SCROLLABLE = 'e-scrollable';
|
|
27
|
+
var HAMBURGER = 'e-hamburger';
|
|
28
|
+
/**
|
|
29
|
+
* The Menu is a graphical user interface that serve as navigation headers for your application or site.
|
|
30
|
+
* ```html
|
|
31
|
+
* <ul id = 'menu'></ul>
|
|
32
|
+
* ```
|
|
33
|
+
* ```typescript
|
|
34
|
+
* <script>
|
|
35
|
+
* var menuObj = new Menu({ items: [{ text: 'Home' }, { text: 'Contact Us' },{ text: 'Login' }]});
|
|
36
|
+
* menuObj.appendTo("#menu");
|
|
37
|
+
* </script>
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
var Menu = /** @class */ (function (_super) {
|
|
41
|
+
__extends(Menu, _super);
|
|
42
|
+
/**
|
|
43
|
+
* Constructor for creating the component.
|
|
44
|
+
*
|
|
45
|
+
* @private
|
|
46
|
+
* @param {MenuModel} options - Specifies the menu model
|
|
47
|
+
* @param {string} element - Specifies the element
|
|
48
|
+
*/
|
|
49
|
+
function Menu(options, element) {
|
|
50
|
+
var _this = _super.call(this, options, element) || this;
|
|
51
|
+
_this.tempItems = [];
|
|
52
|
+
return _this;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Get module name.
|
|
56
|
+
*
|
|
57
|
+
* @private
|
|
58
|
+
* @returns {string} - Module Name
|
|
59
|
+
*/
|
|
60
|
+
Menu.prototype.getModuleName = function () {
|
|
61
|
+
return 'menu';
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* For internal use only - prerender processing.
|
|
65
|
+
*
|
|
66
|
+
* @private
|
|
67
|
+
* @returns {void}
|
|
68
|
+
*/
|
|
69
|
+
Menu.prototype.preRender = function () {
|
|
70
|
+
this.isMenu = true;
|
|
71
|
+
this.element.id = this.element.id || getUniqueID('ej2-menu');
|
|
72
|
+
if (this.template) {
|
|
73
|
+
try {
|
|
74
|
+
if (typeof this.template !== 'function' && document.querySelectorAll(this.template).length) {
|
|
75
|
+
this.template = document.querySelector(this.template).innerHTML.trim();
|
|
76
|
+
this.clearChanges();
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
catch (e) {
|
|
80
|
+
/* action on catch */
|
|
81
|
+
}
|
|
82
|
+
this.updateMenuItems(this.items);
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
this.updateMenuItems(this.items);
|
|
86
|
+
}
|
|
87
|
+
_super.prototype.preRender.call(this);
|
|
88
|
+
};
|
|
89
|
+
Menu.prototype.initialize = function () {
|
|
90
|
+
_super.prototype.initialize.call(this);
|
|
91
|
+
attributes(this.element, { 'role': 'menubar', 'tabindex': '0' });
|
|
92
|
+
if (this.orientation === 'Vertical') {
|
|
93
|
+
this.element.classList.add(VMENU);
|
|
94
|
+
if (this.hamburgerMode && !this.target) {
|
|
95
|
+
this.element.previousElementSibling.classList.add(VMENU);
|
|
96
|
+
}
|
|
97
|
+
this.element.setAttribute('aria-orientation', 'vertical');
|
|
98
|
+
}
|
|
99
|
+
else {
|
|
100
|
+
if (Browser.isDevice && !this.enableScrolling) {
|
|
101
|
+
this.element.parentElement.classList.add(SCROLLABLE);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
if (this.hamburgerMode) {
|
|
105
|
+
this.element.parentElement.classList.add(HAMBURGER);
|
|
106
|
+
if (this.orientation === 'Horizontal') {
|
|
107
|
+
this.element.classList.add('e-hide-menu');
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
Menu.prototype.updateMenuItems = function (items) {
|
|
112
|
+
this.tempItems = items;
|
|
113
|
+
this.items = [];
|
|
114
|
+
this.tempItems.map(this.createMenuItems, this);
|
|
115
|
+
this.setProperties({ items: this.items }, true);
|
|
116
|
+
this.tempItems = [];
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Called internally if any of the property value changed.
|
|
120
|
+
*
|
|
121
|
+
* @private
|
|
122
|
+
* @param {MenuModel} newProp - Specifies the new properties.
|
|
123
|
+
* @param {MenuModel} oldProp - Specifies the old properties.
|
|
124
|
+
* @returns {void}
|
|
125
|
+
*/
|
|
126
|
+
Menu.prototype.onPropertyChanged = function (newProp, oldProp) {
|
|
127
|
+
var _this = this;
|
|
128
|
+
for (var _i = 0, _a = Object.keys(newProp); _i < _a.length; _i++) {
|
|
129
|
+
var prop = _a[_i];
|
|
130
|
+
switch (prop) {
|
|
131
|
+
case 'orientation':
|
|
132
|
+
if (newProp.orientation === 'Vertical') {
|
|
133
|
+
this.element.classList.add(VMENU);
|
|
134
|
+
if (this.hamburgerMode) {
|
|
135
|
+
if (!this.target) {
|
|
136
|
+
this.element.previousElementSibling.classList.add(VMENU);
|
|
137
|
+
}
|
|
138
|
+
this.element.classList.remove('e-hide-menu');
|
|
139
|
+
}
|
|
140
|
+
this.element.setAttribute('aria-orientation', 'vertical');
|
|
141
|
+
}
|
|
142
|
+
else {
|
|
143
|
+
this.element.classList.remove(VMENU);
|
|
144
|
+
if (this.hamburgerMode) {
|
|
145
|
+
if (!this.target) {
|
|
146
|
+
this.element.previousElementSibling.classList.remove(VMENU);
|
|
147
|
+
}
|
|
148
|
+
this.element.classList.add('e-hide-menu');
|
|
149
|
+
}
|
|
150
|
+
this.element.removeAttribute('aria-orientation');
|
|
151
|
+
}
|
|
152
|
+
break;
|
|
153
|
+
case 'items':
|
|
154
|
+
if (!Object.keys(oldProp.items).length) {
|
|
155
|
+
this.updateMenuItems(newProp.items);
|
|
156
|
+
}
|
|
157
|
+
break;
|
|
158
|
+
case 'hamburgerMode':
|
|
159
|
+
if (!this.element.previousElementSibling) {
|
|
160
|
+
_super.prototype.createHeaderContainer.call(this);
|
|
161
|
+
}
|
|
162
|
+
if (newProp.hamburgerMode) {
|
|
163
|
+
this.element.parentElement.classList.add(HAMBURGER);
|
|
164
|
+
[].slice.call(this.element.getElementsByClassName('e-blankicon')).forEach(function (li) {
|
|
165
|
+
li.style[_this.enableRtl ? 'paddingRight' : 'paddingLeft'] = '';
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
else {
|
|
169
|
+
this.element.parentElement.classList.remove(HAMBURGER);
|
|
170
|
+
if (this.orientation === 'Vertical') {
|
|
171
|
+
this.setBlankIconStyle(this.element);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
if (this.orientation === 'Vertical') {
|
|
175
|
+
if (!this.target) {
|
|
176
|
+
this.element.previousElementSibling.classList.add(VMENU);
|
|
177
|
+
}
|
|
178
|
+
this.element.classList.remove('e-hide-menu');
|
|
179
|
+
}
|
|
180
|
+
else {
|
|
181
|
+
if (this.target) {
|
|
182
|
+
this.element.previousElementSibling.classList.add(VMENU);
|
|
183
|
+
}
|
|
184
|
+
else {
|
|
185
|
+
this.element.previousElementSibling.classList.remove(VMENU);
|
|
186
|
+
}
|
|
187
|
+
this.element.classList[newProp.hamburgerMode ? 'add' : 'remove']('e-hide-menu');
|
|
188
|
+
}
|
|
189
|
+
break;
|
|
190
|
+
case 'title':
|
|
191
|
+
if (this.hamburgerMode && this.element.previousElementSibling) {
|
|
192
|
+
newProp.title = (this.enableHtmlSanitizer) ? SanitizeHtmlHelper.sanitize(newProp.title) : newProp.title;
|
|
193
|
+
this.element.previousElementSibling.querySelector('.e-menu-title').innerHTML = newProp.title;
|
|
194
|
+
}
|
|
195
|
+
break;
|
|
196
|
+
case 'target':
|
|
197
|
+
if (this.hamburgerMode) {
|
|
198
|
+
this.unWireEvents(oldProp.target);
|
|
199
|
+
this.wireEvents();
|
|
200
|
+
if (this.orientation === 'Horizontal') {
|
|
201
|
+
if (!newProp.target) {
|
|
202
|
+
if (!this.element.previousElementSibling) {
|
|
203
|
+
_super.prototype.createHeaderContainer.call(this);
|
|
204
|
+
}
|
|
205
|
+
this.element.previousElementSibling.classList.remove(VMENU);
|
|
206
|
+
}
|
|
207
|
+
else {
|
|
208
|
+
this.element.previousElementSibling.classList.add(VMENU);
|
|
209
|
+
}
|
|
210
|
+
this.element.classList.add('e-hide-menu');
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
break;
|
|
214
|
+
case 'template':
|
|
215
|
+
this.template = newProp.template;
|
|
216
|
+
this.refresh();
|
|
217
|
+
break;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
_super.prototype.onPropertyChanged.call(this, newProp, oldProp);
|
|
221
|
+
};
|
|
222
|
+
Menu.prototype.createMenuItems = function (item) {
|
|
223
|
+
var idx;
|
|
224
|
+
var i;
|
|
225
|
+
var items = this.items;
|
|
226
|
+
var pIdField = this.getField('parentId');
|
|
227
|
+
if (item["" + pIdField]) {
|
|
228
|
+
idx = this.getIndex(item["" + pIdField].toString(), true);
|
|
229
|
+
for (i = 0; i < idx.length; i++) {
|
|
230
|
+
if (!items[idx[i]].items) {
|
|
231
|
+
items[idx[i]].items = [];
|
|
232
|
+
}
|
|
233
|
+
items = items[idx[i]].items;
|
|
234
|
+
}
|
|
235
|
+
items.push(item);
|
|
236
|
+
}
|
|
237
|
+
else {
|
|
238
|
+
this.items.push(item);
|
|
239
|
+
}
|
|
240
|
+
};
|
|
241
|
+
/**
|
|
242
|
+
* This method is used to open the Menu in hamburger mode.
|
|
243
|
+
*
|
|
244
|
+
* @function open
|
|
245
|
+
* @returns {void}
|
|
246
|
+
*/
|
|
247
|
+
Menu.prototype.open = function () {
|
|
248
|
+
_super.prototype.openHamburgerMenu.call(this);
|
|
249
|
+
};
|
|
250
|
+
/**
|
|
251
|
+
* Closes the Menu if it is opened in hamburger mode.
|
|
252
|
+
*
|
|
253
|
+
* @function close
|
|
254
|
+
* @returns {void}
|
|
255
|
+
*/
|
|
256
|
+
Menu.prototype.close = function () {
|
|
257
|
+
_super.prototype.closeHamburgerMenu.call(this);
|
|
258
|
+
};
|
|
259
|
+
__decorate([
|
|
260
|
+
Property('Horizontal')
|
|
261
|
+
], Menu.prototype, "orientation", void 0);
|
|
262
|
+
__decorate([
|
|
263
|
+
Property('')
|
|
264
|
+
], Menu.prototype, "target", void 0);
|
|
265
|
+
__decorate([
|
|
266
|
+
Property(null)
|
|
267
|
+
], Menu.prototype, "template", void 0);
|
|
268
|
+
__decorate([
|
|
269
|
+
Property(false)
|
|
270
|
+
], Menu.prototype, "enableScrolling", void 0);
|
|
271
|
+
__decorate([
|
|
272
|
+
Property(false)
|
|
273
|
+
], Menu.prototype, "hamburgerMode", void 0);
|
|
274
|
+
__decorate([
|
|
275
|
+
Property('Menu')
|
|
276
|
+
], Menu.prototype, "title", void 0);
|
|
277
|
+
__decorate([
|
|
278
|
+
Property(true)
|
|
279
|
+
], Menu.prototype, "enableHtmlSanitizer", void 0);
|
|
280
|
+
__decorate([
|
|
281
|
+
Complex({ itemId: 'id', text: 'text', parentId: 'parentId', iconCss: 'iconCss', url: 'url', separator: 'separator', children: 'items' }, FieldSettings)
|
|
282
|
+
], Menu.prototype, "fields", void 0);
|
|
283
|
+
Menu = __decorate([
|
|
284
|
+
NotifyPropertyChanges
|
|
285
|
+
], Menu);
|
|
286
|
+
return Menu;
|
|
287
|
+
}(MenuBase));
|
|
288
|
+
export { Menu };
|