@syncfusion/ej2-navigations 28.1.39 → 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 +116 -97
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +310 -291
- 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 +35 -20
- 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 +94 -36
- package/styles/fluent2.css +96 -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 -762
- 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 +16 -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,833 @@
|
|
|
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
|
+
import { Component, NotifyPropertyChanges, ChildProperty, Property, Collection, append, extend, Event, EventHandler, closest, addClass, removeClass, detach, remove, initializeCSPTemplate, isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
21
|
+
import { ListBase } from '@syncfusion/ej2-lists';
|
|
22
|
+
import { Popup } from '@syncfusion/ej2-popups';
|
|
23
|
+
var ICONRIGHT = 'e-icon-right';
|
|
24
|
+
var ITEMTEXTCLASS = 'e-breadcrumb-text';
|
|
25
|
+
var ICONCLASS = 'e-breadcrumb-icon';
|
|
26
|
+
var MENUCLASS = 'e-breadcrumb-menu';
|
|
27
|
+
var ITEMCLASS = 'e-breadcrumb-item';
|
|
28
|
+
var POPUPCLASS = 'e-breadcrumb-popup';
|
|
29
|
+
var WRAPMODECLASS = 'e-breadcrumb-wrap-mode';
|
|
30
|
+
var SCROLLMODECLASS = 'e-breadcrumb-scroll-mode';
|
|
31
|
+
var TABINDEX = 'tabindex';
|
|
32
|
+
var DISABLEDCLASS = 'e-disabled';
|
|
33
|
+
var ARIADISABLED = 'aria-disabled';
|
|
34
|
+
var DOT = '.';
|
|
35
|
+
/**
|
|
36
|
+
* Defines the Breadcrumb overflow modes.
|
|
37
|
+
*/
|
|
38
|
+
export var BreadcrumbOverflowMode;
|
|
39
|
+
(function (BreadcrumbOverflowMode) {
|
|
40
|
+
/**
|
|
41
|
+
* Hidden mode shows the maximum number of items possible in the container space and hides the remaining items.
|
|
42
|
+
* Clicking on a previous item will make the hidden item visible.
|
|
43
|
+
*/
|
|
44
|
+
BreadcrumbOverflowMode["Hidden"] = "Hidden";
|
|
45
|
+
/**
|
|
46
|
+
* Collapsed mode shows the first and last Breadcrumb items and hides the remaining items with a collapsed icon.
|
|
47
|
+
* When the collapsed icon is clicked, all items become visible and navigable.
|
|
48
|
+
*/
|
|
49
|
+
BreadcrumbOverflowMode["Collapsed"] = "Collapsed";
|
|
50
|
+
/**
|
|
51
|
+
* Menu mode shows the number of Breadcrumb items that can be accommodated within the container space and creates a submenu with the remaining items.
|
|
52
|
+
*/
|
|
53
|
+
BreadcrumbOverflowMode["Menu"] = "Menu";
|
|
54
|
+
/**
|
|
55
|
+
* Wrap mode wraps the items to multiple lines when the Breadcrumb’s width exceeds the container space.
|
|
56
|
+
*/
|
|
57
|
+
BreadcrumbOverflowMode["Wrap"] = "Wrap";
|
|
58
|
+
/**
|
|
59
|
+
* Scroll mode shows an HTML scroll bar when the Breadcrumb’s width exceeds the container space.
|
|
60
|
+
*/
|
|
61
|
+
BreadcrumbOverflowMode["Scroll"] = "Scroll";
|
|
62
|
+
/**
|
|
63
|
+
* None mode shows all the items in a single line.
|
|
64
|
+
*/
|
|
65
|
+
BreadcrumbOverflowMode["None"] = "None";
|
|
66
|
+
})(BreadcrumbOverflowMode || (BreadcrumbOverflowMode = {}));
|
|
67
|
+
var BreadcrumbItem = /** @class */ (function (_super) {
|
|
68
|
+
__extends(BreadcrumbItem, _super);
|
|
69
|
+
function BreadcrumbItem() {
|
|
70
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
71
|
+
}
|
|
72
|
+
__decorate([
|
|
73
|
+
Property('')
|
|
74
|
+
], BreadcrumbItem.prototype, "text", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
Property('')
|
|
77
|
+
], BreadcrumbItem.prototype, "id", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
Property('')
|
|
80
|
+
], BreadcrumbItem.prototype, "url", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
Property(null)
|
|
83
|
+
], BreadcrumbItem.prototype, "iconCss", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
Property(false)
|
|
86
|
+
], BreadcrumbItem.prototype, "disabled", void 0);
|
|
87
|
+
return BreadcrumbItem;
|
|
88
|
+
}(ChildProperty));
|
|
89
|
+
export { BreadcrumbItem };
|
|
90
|
+
/**
|
|
91
|
+
* Breadcrumb is a graphical user interface that helps to identify or highlight the current location within a hierarchical structure of websites.
|
|
92
|
+
* The aim is to make the user aware of their current position in a hierarchy of website links.
|
|
93
|
+
* ```html
|
|
94
|
+
* <nav id='breadcrumb'></nav>
|
|
95
|
+
* ```
|
|
96
|
+
* ```typescript
|
|
97
|
+
* <script>
|
|
98
|
+
* var breadcrumbObj = new Breadcrumb({ items: [{ text: 'Home', url: '/' }, { text: 'Index', url: './index.html }]});
|
|
99
|
+
* breadcrumbObj.appendTo("#breadcrumb");
|
|
100
|
+
* </script>
|
|
101
|
+
* ```
|
|
102
|
+
*/
|
|
103
|
+
var Breadcrumb = /** @class */ (function (_super) {
|
|
104
|
+
__extends(Breadcrumb, _super);
|
|
105
|
+
/**
|
|
106
|
+
* Constructor for creating the widget.
|
|
107
|
+
*
|
|
108
|
+
* @private
|
|
109
|
+
* @param {BreadcrumbModel} options - Specifies the Breadcrumb model.
|
|
110
|
+
* @param {string | HTMLElement} element - Specifies the element.
|
|
111
|
+
*/
|
|
112
|
+
function Breadcrumb(options, element) {
|
|
113
|
+
var _this = _super.call(this, options, element) || this;
|
|
114
|
+
_this.isPopupCreated = false;
|
|
115
|
+
return _this;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* @private
|
|
119
|
+
* @returns {void}
|
|
120
|
+
*/
|
|
121
|
+
Breadcrumb.prototype.preRender = function () {
|
|
122
|
+
// pre render code
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* Initialize the control rendering.
|
|
126
|
+
*
|
|
127
|
+
* @private
|
|
128
|
+
* @returns {void}
|
|
129
|
+
*/
|
|
130
|
+
Breadcrumb.prototype.render = function () {
|
|
131
|
+
this.initialize();
|
|
132
|
+
this.renderItems(this.items);
|
|
133
|
+
this.wireEvents();
|
|
134
|
+
};
|
|
135
|
+
Breadcrumb.prototype.initialize = function () {
|
|
136
|
+
this._maxItems = this.maxItems;
|
|
137
|
+
if (isNullOrUndefined(this.element.getAttribute('aria-label'))) {
|
|
138
|
+
this.element.setAttribute('aria-label', 'breadcrumb');
|
|
139
|
+
}
|
|
140
|
+
if (this.cssClass) {
|
|
141
|
+
addClass([this.element], this.cssClass.replace(/\s+/g, ' ').trim().split(' '));
|
|
142
|
+
}
|
|
143
|
+
if (this.enableRtl) {
|
|
144
|
+
this.element.classList.add('e-rtl');
|
|
145
|
+
}
|
|
146
|
+
if (this.disabled) {
|
|
147
|
+
this.element.classList.add(DISABLEDCLASS);
|
|
148
|
+
this.element.setAttribute(ARIADISABLED, 'true');
|
|
149
|
+
}
|
|
150
|
+
if (this.overflowMode === 'Wrap') {
|
|
151
|
+
this.element.classList.add(WRAPMODECLASS);
|
|
152
|
+
}
|
|
153
|
+
else if (this.overflowMode === 'Scroll') {
|
|
154
|
+
this.element.classList.add(SCROLLMODECLASS);
|
|
155
|
+
}
|
|
156
|
+
this.initItems();
|
|
157
|
+
this.initPvtProps();
|
|
158
|
+
};
|
|
159
|
+
Breadcrumb.prototype.initPvtProps = function () {
|
|
160
|
+
if (this.overflowMode === 'Hidden' && this._maxItems > 0) {
|
|
161
|
+
this.endIndex = this.getEndIndex();
|
|
162
|
+
this.startIndex = this.endIndex + 1 - (this._maxItems - 1);
|
|
163
|
+
}
|
|
164
|
+
if (this.overflowMode === 'Menu') {
|
|
165
|
+
if (this._maxItems >= 0) {
|
|
166
|
+
this.startIndex = this._maxItems > 1 ? 1 : 0;
|
|
167
|
+
this.endIndex = this.getEndIndex();
|
|
168
|
+
this.popupUl = this.createElement('ul', { attrs: { TABINDEX: '0', 'role': 'menu' } });
|
|
169
|
+
}
|
|
170
|
+
else {
|
|
171
|
+
this.startIndex = this.endIndex = null;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
Breadcrumb.prototype.getEndIndex = function () {
|
|
176
|
+
var _this = this;
|
|
177
|
+
var endIndex;
|
|
178
|
+
if (this.activeItem) {
|
|
179
|
+
this.items.forEach(function (item, idx) {
|
|
180
|
+
if (item.url === _this.activeItem || item.text === _this.activeItem) {
|
|
181
|
+
endIndex = idx;
|
|
182
|
+
}
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
else {
|
|
186
|
+
endIndex = this.items.length - 1;
|
|
187
|
+
}
|
|
188
|
+
return endIndex;
|
|
189
|
+
};
|
|
190
|
+
Breadcrumb.prototype.initItems = function () {
|
|
191
|
+
if (!this.items.length) {
|
|
192
|
+
var baseUri = void 0;
|
|
193
|
+
var uri = void 0;
|
|
194
|
+
var items = [];
|
|
195
|
+
if (this.url) {
|
|
196
|
+
var url = new URL(this.url, window.location.origin);
|
|
197
|
+
baseUri = url.origin + '/';
|
|
198
|
+
uri = url.href.split(baseUri)[1].split('/');
|
|
199
|
+
}
|
|
200
|
+
else {
|
|
201
|
+
baseUri = window.location.origin + '/';
|
|
202
|
+
uri = window.location.href.split(baseUri)[1].split('/');
|
|
203
|
+
}
|
|
204
|
+
items.push({ iconCss: 'e-icons e-home', url: baseUri });
|
|
205
|
+
for (var i = 0; i < uri.length; i++) {
|
|
206
|
+
if (uri[i]) {
|
|
207
|
+
items.push({ text: uri[i], url: baseUri + uri[i] });
|
|
208
|
+
baseUri += uri[i] + '/';
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
this.setProperties({ items: items }, true);
|
|
212
|
+
}
|
|
213
|
+
};
|
|
214
|
+
Breadcrumb.prototype.renderItems = function (items) {
|
|
215
|
+
var _this = this;
|
|
216
|
+
var item;
|
|
217
|
+
var isSingleLevel;
|
|
218
|
+
var isIconRight = this.element.classList.contains(ICONRIGHT);
|
|
219
|
+
var itemsLength = items.length;
|
|
220
|
+
if (itemsLength) {
|
|
221
|
+
var isActiveItem = void 0;
|
|
222
|
+
var isLastItem = void 0;
|
|
223
|
+
var isLastItemInPopup_1;
|
|
224
|
+
var j_1 = 0;
|
|
225
|
+
var wrapDiv = void 0;
|
|
226
|
+
var len = (itemsLength * 2) - 1;
|
|
227
|
+
var isItemCancelled_1 = false;
|
|
228
|
+
var ol = this.createElement('ol', { className: this.overflowMode === 'Wrap' ? 'e-breadcrumb-wrapped-ol' : '' });
|
|
229
|
+
var firstOl = this.createElement('ol', { className: this.overflowMode === 'Wrap' ? 'e-breadcrumb-first-ol' : '' });
|
|
230
|
+
var showIcon = this.hasField(items, 'iconCss');
|
|
231
|
+
var isCollasped = (this.overflowMode === 'Collapsed' && this._maxItems > 0 && itemsLength > this._maxItems && !this.isExpanded);
|
|
232
|
+
var isDefaultOverflowMode_1 = (this.overflowMode === 'Hidden' && this._maxItems > 0);
|
|
233
|
+
if (this.overflowMode === 'Menu' && this.popupUl) {
|
|
234
|
+
this.popupUl.innerHTML = '';
|
|
235
|
+
}
|
|
236
|
+
var listBaseOptions = {
|
|
237
|
+
moduleName: this.getModuleName(),
|
|
238
|
+
showIcon: showIcon,
|
|
239
|
+
itemNavigable: true,
|
|
240
|
+
itemCreated: function (args) {
|
|
241
|
+
var isLastItem = args.curData.isLastItem;
|
|
242
|
+
if (isLastItem && args.item.children.length && !_this.itemTemplate) {
|
|
243
|
+
delete args.curData.isLastItem;
|
|
244
|
+
if (!isLastItemInPopup_1 && !_this.enableActiveItemNavigation) {
|
|
245
|
+
args.item.innerHTML = _this.createElement('span', { className: ITEMTEXTCLASS, innerHTML: args.item.children[0].innerHTML }).outerHTML;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
if (args.curData.iconCss && !args.curData.text && !_this.itemTemplate) {
|
|
249
|
+
args.item.classList.add('e-icon-item');
|
|
250
|
+
}
|
|
251
|
+
if (isDefaultOverflowMode_1) {
|
|
252
|
+
args.item.setAttribute('item-index', j_1.toString());
|
|
253
|
+
}
|
|
254
|
+
var eventArgs = {
|
|
255
|
+
item: extend({}, args.curData.properties ?
|
|
256
|
+
args.curData.properties : args.curData), element: args.item, cancel: false
|
|
257
|
+
};
|
|
258
|
+
_this.trigger('beforeItemRender', eventArgs);
|
|
259
|
+
isItemCancelled_1 = eventArgs.cancel;
|
|
260
|
+
var containsRightIcon = (isIconRight || eventArgs.element.classList.contains(ICONRIGHT));
|
|
261
|
+
if (containsRightIcon && args.curData.iconCss && !_this.itemTemplate) {
|
|
262
|
+
args.item.querySelector('.e-anchor-wrap').appendChild(args.item.querySelector(DOT + ICONCLASS));
|
|
263
|
+
}
|
|
264
|
+
if (eventArgs.item.disabled) {
|
|
265
|
+
args.item.setAttribute(ARIADISABLED, 'true');
|
|
266
|
+
args.item.classList.add(DISABLEDCLASS);
|
|
267
|
+
}
|
|
268
|
+
if (eventArgs.item.id) {
|
|
269
|
+
args.item.setAttribute('id', eventArgs.item.id);
|
|
270
|
+
}
|
|
271
|
+
if ((eventArgs.item.disabled || _this.disabled) && args.item.children.length && !_this.itemTemplate) {
|
|
272
|
+
args.item.children[0].setAttribute(TABINDEX, '-1');
|
|
273
|
+
}
|
|
274
|
+
if (args.curData.isEmptyUrl) {
|
|
275
|
+
args.item.children[0].removeAttribute('href');
|
|
276
|
+
if ((!isLastItem || (isLastItem && _this.enableActiveItemNavigation)) && !(eventArgs.item.disabled
|
|
277
|
+
|| _this.disabled)) {
|
|
278
|
+
args.item.children[0].setAttribute(TABINDEX, '0');
|
|
279
|
+
EventHandler.add(args.item.children[0], 'keydown', _this.keyDownHandler, _this);
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
args.item.removeAttribute('role');
|
|
283
|
+
if (isLastItem) {
|
|
284
|
+
args.item.setAttribute('data-active-item', '');
|
|
285
|
+
}
|
|
286
|
+
if (!_this.itemTemplate) {
|
|
287
|
+
_this.beforeItemRenderChanges(args.curData, eventArgs.item, args.item, containsRightIcon);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
};
|
|
291
|
+
for (var i = 0; i < len; (i % 2 && j_1++), i++) {
|
|
292
|
+
isActiveItem = (this.activeItem && (this.activeItem === items[j_1].url ||
|
|
293
|
+
this.activeItem === items[j_1].text));
|
|
294
|
+
if (isCollasped && i > 1 && i < len - 2) {
|
|
295
|
+
continue;
|
|
296
|
+
}
|
|
297
|
+
else if (isDefaultOverflowMode_1 && ((j_1 < this.startIndex || j_1 > this.endIndex)
|
|
298
|
+
&& (i % 2 ? j_1 !== this.startIndex - 1 : true)) && j_1 !== 0) {
|
|
299
|
+
continue;
|
|
300
|
+
}
|
|
301
|
+
if (i % 2) {
|
|
302
|
+
// separator item
|
|
303
|
+
wrapDiv = this.createElement('div', { className: 'e-breadcrumb-item-wrapper' });
|
|
304
|
+
if ((this.separatorTemplate && this.separatorTemplate === '/') || isNullOrUndefined(this.separatorTemplate)) {
|
|
305
|
+
listBaseOptions.template = initializeCSPTemplate(function () {
|
|
306
|
+
return '/';
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
else {
|
|
310
|
+
listBaseOptions.template = this.separatorTemplate;
|
|
311
|
+
}
|
|
312
|
+
listBaseOptions.itemClass = 'e-breadcrumb-separator';
|
|
313
|
+
isSingleLevel = false;
|
|
314
|
+
item = [{ previousItem: items[j_1], nextItem: items[j_1 + 1] }];
|
|
315
|
+
}
|
|
316
|
+
else {
|
|
317
|
+
// list item
|
|
318
|
+
listBaseOptions.itemClass = '';
|
|
319
|
+
if (this.itemTemplate) {
|
|
320
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
321
|
+
listBaseOptions.template = this.itemTemplate;
|
|
322
|
+
isSingleLevel = false;
|
|
323
|
+
}
|
|
324
|
+
else {
|
|
325
|
+
isSingleLevel = true;
|
|
326
|
+
}
|
|
327
|
+
item = [extend({}, items[j_1].properties ?
|
|
328
|
+
items[j_1].properties
|
|
329
|
+
: items[j_1])];
|
|
330
|
+
if (!item[0].url && !this.itemTemplate) {
|
|
331
|
+
item = [extend({}, item[0], { isEmptyUrl: true, url: '#' })];
|
|
332
|
+
}
|
|
333
|
+
isLastItem = (isDefaultOverflowMode_1 || this.overflowMode === 'Menu') && (j_1 === this.endIndex);
|
|
334
|
+
if (((i === len - 1 || isLastItem) && !this.itemTemplate) || isActiveItem) {
|
|
335
|
+
item[0].isLastItem = true;
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
var parent_1 = ol;
|
|
339
|
+
var lastPopupItemIdx = this.startIndex + this.endIndex - this._maxItems;
|
|
340
|
+
if (this.overflowMode === 'Menu' && ((j_1 >= this.startIndex && (j_1 <= lastPopupItemIdx && (i % 2 ? !(j_1 === lastPopupItemIdx) : true)) && this.endIndex >= this._maxItems && this._maxItems > 0) || this._maxItems === 0)) {
|
|
341
|
+
if (i % 2) {
|
|
342
|
+
continue;
|
|
343
|
+
}
|
|
344
|
+
else {
|
|
345
|
+
parent_1 = this.popupUl;
|
|
346
|
+
if (isLastItem) {
|
|
347
|
+
isLastItemInPopup_1 = true;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
else if (this.overflowMode === 'Wrap') {
|
|
352
|
+
if (i === 0) {
|
|
353
|
+
parent_1 = firstOl;
|
|
354
|
+
}
|
|
355
|
+
else {
|
|
356
|
+
parent_1 = wrapDiv;
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
var li = ListBase.createList(this.createElement, item, listBaseOptions, isSingleLevel, this).childNodes;
|
|
360
|
+
if (!isItemCancelled_1) {
|
|
361
|
+
append(li, parent_1);
|
|
362
|
+
}
|
|
363
|
+
else if (isDefaultOverflowMode_1 || isCollasped || this.overflowMode === 'Menu' || this.overflowMode === 'Wrap') {
|
|
364
|
+
items.splice(j_1, 1);
|
|
365
|
+
this.initPvtProps();
|
|
366
|
+
return this.reRenderItems();
|
|
367
|
+
}
|
|
368
|
+
else if ((i === len - 1 || isLastItem)) {
|
|
369
|
+
remove(parent_1.lastElementChild);
|
|
370
|
+
}
|
|
371
|
+
if (this.overflowMode === 'Wrap' && i !== 0 && i % 2 === 0) {
|
|
372
|
+
ol.appendChild(wrapDiv);
|
|
373
|
+
}
|
|
374
|
+
if (isCollasped && i === 1) {
|
|
375
|
+
var li_1 = this.createElement('li', { className: 'e-icons e-breadcrumb-collapsed', attrs: { TABINDEX: '0' } });
|
|
376
|
+
EventHandler.add(li_1, 'keyup', this.expandHandler, this);
|
|
377
|
+
ol.appendChild(li_1);
|
|
378
|
+
}
|
|
379
|
+
if (this.overflowMode === 'Menu' && this.startIndex === i && this.endIndex >= this._maxItems && this._maxItems >= 0) {
|
|
380
|
+
var menu = this.getMenuElement();
|
|
381
|
+
EventHandler.add(menu, 'keyup', this.keyDownHandler, this);
|
|
382
|
+
ol.appendChild(menu);
|
|
383
|
+
}
|
|
384
|
+
if (isActiveItem || isLastItem) {
|
|
385
|
+
break;
|
|
386
|
+
}
|
|
387
|
+
if (isItemCancelled_1) {
|
|
388
|
+
i++;
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
if (this.isReact) {
|
|
392
|
+
this.renderReactTemplates();
|
|
393
|
+
setTimeout(function () {
|
|
394
|
+
_this.calculateMaxItems();
|
|
395
|
+
}, 5);
|
|
396
|
+
}
|
|
397
|
+
if (this.overflowMode === 'Wrap') {
|
|
398
|
+
this.element.appendChild(firstOl);
|
|
399
|
+
}
|
|
400
|
+
this.element.appendChild(ol);
|
|
401
|
+
if (!this.isReact) {
|
|
402
|
+
this.calculateMaxItems();
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
};
|
|
406
|
+
Breadcrumb.prototype.calculateMaxItems = function () {
|
|
407
|
+
if (this.overflowMode === 'Hidden' || this.overflowMode === 'Collapsed' || this.overflowMode === 'Menu') {
|
|
408
|
+
var maxItems = void 0;
|
|
409
|
+
var width = this.element.offsetWidth;
|
|
410
|
+
var liElems = [].slice.call(this.element.children[0].children).reverse();
|
|
411
|
+
var liWidth = this.overflowMode === 'Menu' ? 0 : liElems[liElems.length - 1].offsetWidth + (liElems[liElems.length - 2] ? liElems[liElems.length - 2].offsetWidth : 0);
|
|
412
|
+
if (this.overflowMode === 'Menu') {
|
|
413
|
+
var menuEle = this.getMenuElement();
|
|
414
|
+
this.element.appendChild(menuEle);
|
|
415
|
+
liWidth += menuEle.offsetWidth;
|
|
416
|
+
remove(menuEle);
|
|
417
|
+
}
|
|
418
|
+
for (var i = 0; i < liElems.length - 2; i++) {
|
|
419
|
+
if (liWidth > width) {
|
|
420
|
+
maxItems = Math.ceil((i - 1) / 2) + ((this.overflowMode === 'Menu' && i <= 2) ? 0 : 1);
|
|
421
|
+
if (((this.maxItems > maxItems && !(this.maxItems > -1 && maxItems === -1)) ||
|
|
422
|
+
this.maxItems === -1) && this._maxItems !== maxItems) {
|
|
423
|
+
this._maxItems = maxItems;
|
|
424
|
+
this.initPvtProps();
|
|
425
|
+
return this.reRenderItems();
|
|
426
|
+
}
|
|
427
|
+
else {
|
|
428
|
+
break;
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
else {
|
|
432
|
+
if (this.overflowMode === 'Menu' && i === 2) {
|
|
433
|
+
liWidth += liElems[liElems.length - 1].offsetWidth + liElems[liElems.length - 2].offsetWidth;
|
|
434
|
+
if (liWidth > width) {
|
|
435
|
+
this._maxItems = 1;
|
|
436
|
+
this.initPvtProps();
|
|
437
|
+
return this.reRenderItems();
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
if (!(this.overflowMode === 'Menu' && liElems[i].classList.contains(MENUCLASS))) {
|
|
441
|
+
liWidth += liElems[i].offsetWidth;
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
else if ((this.overflowMode === 'Wrap' || this.overflowMode === 'Scroll') && this._maxItems > 0) {
|
|
447
|
+
var width = 0;
|
|
448
|
+
var liElems = this.element.querySelectorAll(DOT + ITEMCLASS);
|
|
449
|
+
if (liElems.length > this._maxItems + this._maxItems - 1) {
|
|
450
|
+
for (var i = this.overflowMode === 'Wrap' ? 1 : 0; i < this._maxItems + this._maxItems - 1; i++) {
|
|
451
|
+
width += liElems[i].offsetWidth;
|
|
452
|
+
}
|
|
453
|
+
width = width + 5 + (parseInt(getComputedStyle(this.element.children[0]).paddingLeft, 10) * 2);
|
|
454
|
+
if (this.overflowMode === 'Wrap') {
|
|
455
|
+
this.element.querySelector('.e-breadcrumb-wrapped-ol').style.width = width + 'px';
|
|
456
|
+
}
|
|
457
|
+
else {
|
|
458
|
+
this.element.style.width = width + 'px';
|
|
459
|
+
}
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
};
|
|
463
|
+
Breadcrumb.prototype.hasField = function (items, field) {
|
|
464
|
+
for (var i = 0, len = items.length; i < len; i++) {
|
|
465
|
+
if (items[i]["" + field]) {
|
|
466
|
+
return true;
|
|
467
|
+
}
|
|
468
|
+
}
|
|
469
|
+
return false;
|
|
470
|
+
};
|
|
471
|
+
Breadcrumb.prototype.getMenuElement = function () {
|
|
472
|
+
return this.createElement('li', { className: 'e-icons e-breadcrumb-menu', attrs: { TABINDEX: '0' } });
|
|
473
|
+
};
|
|
474
|
+
Breadcrumb.prototype.beforeItemRenderChanges = function (prevItem, currItem, elem, isRightIcon) {
|
|
475
|
+
var wrapElem = elem.querySelector('.e-anchor-wrap');
|
|
476
|
+
if (wrapElem) {
|
|
477
|
+
wrapElem.parentElement.setAttribute('aria-label', 'home');
|
|
478
|
+
}
|
|
479
|
+
if (currItem.text !== prevItem.text && wrapElem) {
|
|
480
|
+
wrapElem.childNodes.forEach(function (child) {
|
|
481
|
+
if (child.nodeType === Node.TEXT_NODE) {
|
|
482
|
+
child.textContent = currItem.text;
|
|
483
|
+
}
|
|
484
|
+
});
|
|
485
|
+
}
|
|
486
|
+
if (currItem.iconCss !== prevItem.iconCss && wrapElem) { // wrapElem - for checking it is item not a separator
|
|
487
|
+
var iconElem = elem.querySelector(DOT + ICONCLASS);
|
|
488
|
+
if (iconElem) {
|
|
489
|
+
if (currItem.iconCss) {
|
|
490
|
+
removeClass([iconElem], prevItem.iconCss.split(' '));
|
|
491
|
+
addClass([iconElem], currItem.iconCss.split(' '));
|
|
492
|
+
}
|
|
493
|
+
else {
|
|
494
|
+
remove(iconElem);
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
else if (currItem.iconCss) {
|
|
498
|
+
var iconElem_1 = this.createElement('span', { className: ICONCLASS + ' ' + currItem.iconCss });
|
|
499
|
+
if (isRightIcon) {
|
|
500
|
+
append([iconElem_1], wrapElem);
|
|
501
|
+
}
|
|
502
|
+
else {
|
|
503
|
+
wrapElem.insertBefore(iconElem_1, wrapElem.childNodes[0]);
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
if (currItem.url !== prevItem.url && this.enableNavigation) {
|
|
508
|
+
var anchor = elem.querySelector('a.' + ITEMTEXTCLASS);
|
|
509
|
+
if (anchor) {
|
|
510
|
+
if (currItem.url) {
|
|
511
|
+
anchor.setAttribute('href', currItem.url);
|
|
512
|
+
}
|
|
513
|
+
else {
|
|
514
|
+
anchor.removeAttribute('href');
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
};
|
|
519
|
+
Breadcrumb.prototype.reRenderItems = function () {
|
|
520
|
+
if (this.overflowMode === 'Menu' && this.popupObj && this.popupObj.element.classList.contains('e-popup-open') && this.popupObj.element.querySelector('.e-edit-template')) {
|
|
521
|
+
this.popupObj.hide();
|
|
522
|
+
this.popupObj.destroy();
|
|
523
|
+
this.isPopupCreated = false;
|
|
524
|
+
detach(this.popupObj.element);
|
|
525
|
+
}
|
|
526
|
+
this.element.innerHTML = '';
|
|
527
|
+
this.renderItems(this.items);
|
|
528
|
+
};
|
|
529
|
+
Breadcrumb.prototype.clickHandler = function (e) {
|
|
530
|
+
var li = closest(e.target, DOT + ITEMCLASS + ':not(.e-breadcrumb-separator)');
|
|
531
|
+
if (!this.enableNavigation) {
|
|
532
|
+
e.preventDefault();
|
|
533
|
+
}
|
|
534
|
+
if (li && (closest(e.target, DOT + ITEMTEXTCLASS) || this.itemTemplate)) {
|
|
535
|
+
var idx = void 0;
|
|
536
|
+
if (this.overflowMode === 'Wrap') {
|
|
537
|
+
idx = [].slice.call(this.element.querySelectorAll(DOT + ITEMCLASS)).indexOf(li);
|
|
538
|
+
}
|
|
539
|
+
else {
|
|
540
|
+
idx = [].slice.call(li.parentElement.children).indexOf(li);
|
|
541
|
+
}
|
|
542
|
+
if (this.overflowMode === 'Menu') {
|
|
543
|
+
if (closest(e.target, DOT + POPUPCLASS)) {
|
|
544
|
+
idx += this.startIndex;
|
|
545
|
+
this.endIndex = idx;
|
|
546
|
+
if (e.type === 'keydown') {
|
|
547
|
+
this.documentClickHandler(e);
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
else if (this.element.querySelector(DOT + MENUCLASS)) {
|
|
551
|
+
if (idx > [].slice.call(this.element.children[0].children).indexOf(this.element.querySelector(DOT + MENUCLASS))) {
|
|
552
|
+
idx += (this.popupUl.childElementCount * 2) - 2;
|
|
553
|
+
idx = Math.floor(idx / 2);
|
|
554
|
+
this.endIndex = idx;
|
|
555
|
+
}
|
|
556
|
+
else {
|
|
557
|
+
this.startIndex = this.endIndex = idx;
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
else {
|
|
561
|
+
idx = Math.floor(idx / 2);
|
|
562
|
+
this.startIndex = this.endIndex = idx;
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
else {
|
|
566
|
+
idx = Math.floor(idx / 2);
|
|
567
|
+
}
|
|
568
|
+
if (this.overflowMode === 'Hidden' && this._maxItems > 0 && this.endIndex !== 0) {
|
|
569
|
+
idx = parseInt(li.getAttribute('item-index'), 10);
|
|
570
|
+
if (this.startIndex > 1) {
|
|
571
|
+
this.startIndex -= (this.endIndex - idx);
|
|
572
|
+
}
|
|
573
|
+
this.endIndex = idx;
|
|
574
|
+
}
|
|
575
|
+
var itemClickArgs = { element: li,
|
|
576
|
+
item: this.items[idx], event: e, cancel: false };
|
|
577
|
+
this.trigger('itemClick', itemClickArgs);
|
|
578
|
+
if (itemClickArgs.cancel) {
|
|
579
|
+
return;
|
|
580
|
+
}
|
|
581
|
+
if (this.items[idx]) {
|
|
582
|
+
this.activeItem = this.items[idx].url || this.items[idx].text;
|
|
583
|
+
}
|
|
584
|
+
this.dataBind();
|
|
585
|
+
}
|
|
586
|
+
if (e.target.classList.contains('e-breadcrumb-collapsed')) {
|
|
587
|
+
this.isExpanded = true;
|
|
588
|
+
this.reRenderItems();
|
|
589
|
+
}
|
|
590
|
+
if (e.target.classList.contains(MENUCLASS) && !this.isPopupCreated) {
|
|
591
|
+
this.renderPopup();
|
|
592
|
+
}
|
|
593
|
+
};
|
|
594
|
+
Breadcrumb.prototype.renderPopup = function () {
|
|
595
|
+
var _this = this;
|
|
596
|
+
var wrapper = this.createElement('div', { className: POPUPCLASS + ' ' + this.cssClass + (this.enableRtl ? ' e-rtl' : '') });
|
|
597
|
+
document.body.appendChild(wrapper);
|
|
598
|
+
this.isPopupCreated = true;
|
|
599
|
+
this.popupObj = new Popup(wrapper, {
|
|
600
|
+
content: this.popupUl,
|
|
601
|
+
relateTo: this.element.querySelector(DOT + MENUCLASS),
|
|
602
|
+
enableRtl: this.enableRtl,
|
|
603
|
+
position: { X: 'left', Y: 'bottom' },
|
|
604
|
+
collision: { X: 'fit', Y: 'flip' },
|
|
605
|
+
open: function () {
|
|
606
|
+
if (_this.popupUl) {
|
|
607
|
+
_this.popupUl.focus();
|
|
608
|
+
}
|
|
609
|
+
}
|
|
610
|
+
});
|
|
611
|
+
this.popupWireEvents();
|
|
612
|
+
this.popupObj.show();
|
|
613
|
+
};
|
|
614
|
+
Breadcrumb.prototype.documentClickHandler = function (e) {
|
|
615
|
+
if (this.overflowMode === 'Menu' && this.popupObj && this.popupObj.element.classList.contains('e-popup-open') && !closest(e.target, DOT + MENUCLASS) && !closest(e.target, DOT + 'e-edit-template')) {
|
|
616
|
+
this.popupObj.hide();
|
|
617
|
+
this.popupObj.destroy();
|
|
618
|
+
this.isPopupCreated = false;
|
|
619
|
+
detach(this.popupObj.element);
|
|
620
|
+
}
|
|
621
|
+
};
|
|
622
|
+
Breadcrumb.prototype.resize = function () {
|
|
623
|
+
this._maxItems = this.maxItems;
|
|
624
|
+
this.initPvtProps();
|
|
625
|
+
this.reRenderItems();
|
|
626
|
+
};
|
|
627
|
+
Breadcrumb.prototype.expandHandler = function (e) {
|
|
628
|
+
if (e.key === 'Enter') {
|
|
629
|
+
this.isExpanded = true;
|
|
630
|
+
this.reRenderItems();
|
|
631
|
+
}
|
|
632
|
+
};
|
|
633
|
+
Breadcrumb.prototype.keyDownHandler = function (e) {
|
|
634
|
+
if (e.key === 'Enter') {
|
|
635
|
+
this.clickHandler(e);
|
|
636
|
+
}
|
|
637
|
+
};
|
|
638
|
+
Breadcrumb.prototype.popupKeyDownHandler = function (e) {
|
|
639
|
+
if (e.key === 'Escape') {
|
|
640
|
+
this.documentClickHandler(e);
|
|
641
|
+
}
|
|
642
|
+
};
|
|
643
|
+
/**
|
|
644
|
+
* Called internally if any of the property value changed.
|
|
645
|
+
*
|
|
646
|
+
* @private
|
|
647
|
+
* @param {BreadcrumbModel} newProp - Specifies the new properties.
|
|
648
|
+
* @param {BreadcrumbModel} oldProp - Specifies the old properties.
|
|
649
|
+
* @returns {void}
|
|
650
|
+
*/
|
|
651
|
+
Breadcrumb.prototype.onPropertyChanged = function (newProp, oldProp) {
|
|
652
|
+
for (var _i = 0, _a = Object.keys(newProp); _i < _a.length; _i++) {
|
|
653
|
+
var prop = _a[_i];
|
|
654
|
+
switch (prop) {
|
|
655
|
+
case 'items':
|
|
656
|
+
case 'enableActiveItemNavigation':
|
|
657
|
+
this.reRenderItems();
|
|
658
|
+
break;
|
|
659
|
+
case 'activeItem':
|
|
660
|
+
this._maxItems = this.maxItems;
|
|
661
|
+
this.initPvtProps();
|
|
662
|
+
this.reRenderItems();
|
|
663
|
+
break;
|
|
664
|
+
case 'overflowMode':
|
|
665
|
+
case 'maxItems':
|
|
666
|
+
this._maxItems = this.maxItems;
|
|
667
|
+
this.initPvtProps();
|
|
668
|
+
this.reRenderItems();
|
|
669
|
+
if (oldProp.overflowMode === 'Wrap') {
|
|
670
|
+
this.element.classList.remove(WRAPMODECLASS);
|
|
671
|
+
}
|
|
672
|
+
else if (newProp.overflowMode === 'Wrap') {
|
|
673
|
+
this.element.classList.add(WRAPMODECLASS);
|
|
674
|
+
}
|
|
675
|
+
if (oldProp.overflowMode === 'Scroll') {
|
|
676
|
+
this.element.classList.remove(SCROLLMODECLASS);
|
|
677
|
+
}
|
|
678
|
+
else if (newProp.overflowMode === 'Scroll') {
|
|
679
|
+
this.element.classList.add(SCROLLMODECLASS);
|
|
680
|
+
}
|
|
681
|
+
break;
|
|
682
|
+
case 'url':
|
|
683
|
+
this.initItems();
|
|
684
|
+
this.reRenderItems();
|
|
685
|
+
break;
|
|
686
|
+
case 'cssClass':
|
|
687
|
+
if (oldProp.cssClass) {
|
|
688
|
+
removeClass([this.element], oldProp.cssClass.split(' '));
|
|
689
|
+
}
|
|
690
|
+
if (newProp.cssClass) {
|
|
691
|
+
addClass([this.element], newProp.cssClass.replace(/\s+/g, ' ').trim().split(' '));
|
|
692
|
+
}
|
|
693
|
+
if ((oldProp.cssClass && oldProp.cssClass.indexOf(ICONRIGHT) > -1) && !(newProp.cssClass &&
|
|
694
|
+
newProp.cssClass.indexOf(ICONRIGHT) > -1) || !(oldProp.cssClass && oldProp.cssClass.indexOf(ICONRIGHT) > -1) &&
|
|
695
|
+
(newProp.cssClass && newProp.cssClass.indexOf(ICONRIGHT) > -1)) {
|
|
696
|
+
this.reRenderItems();
|
|
697
|
+
}
|
|
698
|
+
break;
|
|
699
|
+
case 'enableRtl':
|
|
700
|
+
this.element.classList.toggle('e-rtl');
|
|
701
|
+
break;
|
|
702
|
+
case 'disabled':
|
|
703
|
+
this.element.classList.toggle(DISABLEDCLASS);
|
|
704
|
+
this.element.setAttribute(ARIADISABLED, newProp.disabled + '');
|
|
705
|
+
break;
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
};
|
|
709
|
+
Breadcrumb.prototype.wireEvents = function () {
|
|
710
|
+
this.delegateClickHanlder = this.documentClickHandler.bind(this);
|
|
711
|
+
EventHandler.add(document, 'click', this.delegateClickHanlder, this);
|
|
712
|
+
EventHandler.add(this.element, 'click', this.clickHandler, this);
|
|
713
|
+
window.addEventListener('resize', this.resize.bind(this));
|
|
714
|
+
};
|
|
715
|
+
Breadcrumb.prototype.popupWireEvents = function () {
|
|
716
|
+
EventHandler.add(this.popupObj.element, 'click', this.clickHandler, this);
|
|
717
|
+
EventHandler.add(this.popupObj.element, 'keydown', this.popupKeyDownHandler, this);
|
|
718
|
+
};
|
|
719
|
+
Breadcrumb.prototype.unWireEvents = function () {
|
|
720
|
+
EventHandler.remove(document, 'click', this.delegateClickHanlder);
|
|
721
|
+
EventHandler.remove(this.element, 'click', this.clickHandler);
|
|
722
|
+
window.removeEventListener('resize', this.resize.bind(this));
|
|
723
|
+
if (this.popupObj) {
|
|
724
|
+
EventHandler.remove(this.popupObj.element, 'click', this.clickHandler);
|
|
725
|
+
EventHandler.remove(this.popupObj.element, 'keydown', this.popupKeyDownHandler);
|
|
726
|
+
}
|
|
727
|
+
};
|
|
728
|
+
/**
|
|
729
|
+
* Get the properties to be maintained in the persisted state.
|
|
730
|
+
*
|
|
731
|
+
* @returns {string} - Persist data
|
|
732
|
+
*/
|
|
733
|
+
Breadcrumb.prototype.getPersistData = function () {
|
|
734
|
+
return this.addOnPersist(['activeItem']);
|
|
735
|
+
};
|
|
736
|
+
/**
|
|
737
|
+
* Get module name.
|
|
738
|
+
*
|
|
739
|
+
* @private
|
|
740
|
+
* @returns {string} - Module Name
|
|
741
|
+
*/
|
|
742
|
+
Breadcrumb.prototype.getModuleName = function () {
|
|
743
|
+
return 'breadcrumb';
|
|
744
|
+
};
|
|
745
|
+
/**
|
|
746
|
+
* Destroys the widget.
|
|
747
|
+
*
|
|
748
|
+
* @returns {void}
|
|
749
|
+
*/
|
|
750
|
+
Breadcrumb.prototype.destroy = function () {
|
|
751
|
+
var _this = this;
|
|
752
|
+
if (this.popupObj && this.popupObj.element.classList.contains('e-popup-open')) {
|
|
753
|
+
this.popupObj.destroy();
|
|
754
|
+
this.isPopupCreated = false;
|
|
755
|
+
detach(this.popupObj.element);
|
|
756
|
+
}
|
|
757
|
+
var classes = [];
|
|
758
|
+
var attributes = ['aria-label'];
|
|
759
|
+
if (this.cssClass) {
|
|
760
|
+
classes.concat(this.cssClass.split(' '));
|
|
761
|
+
}
|
|
762
|
+
if (this.enableRtl) {
|
|
763
|
+
classes.push('e-rtl');
|
|
764
|
+
}
|
|
765
|
+
if (this.disabled) {
|
|
766
|
+
classes.push(DISABLEDCLASS);
|
|
767
|
+
attributes.push(ARIADISABLED);
|
|
768
|
+
}
|
|
769
|
+
if (this.overflowMode === 'Wrap') {
|
|
770
|
+
classes.push(WRAPMODECLASS);
|
|
771
|
+
}
|
|
772
|
+
else if (this.overflowMode === 'Scroll') {
|
|
773
|
+
classes.push(SCROLLMODECLASS);
|
|
774
|
+
}
|
|
775
|
+
this.unWireEvents();
|
|
776
|
+
this.element.innerHTML = '';
|
|
777
|
+
removeClass([this.element], classes);
|
|
778
|
+
attributes.forEach(function (attribute) {
|
|
779
|
+
_this.element.removeAttribute(attribute);
|
|
780
|
+
});
|
|
781
|
+
_super.prototype.destroy.call(this);
|
|
782
|
+
};
|
|
783
|
+
__decorate([
|
|
784
|
+
Property('')
|
|
785
|
+
], Breadcrumb.prototype, "url", void 0);
|
|
786
|
+
__decorate([
|
|
787
|
+
Collection([], BreadcrumbItem)
|
|
788
|
+
], Breadcrumb.prototype, "items", void 0);
|
|
789
|
+
__decorate([
|
|
790
|
+
Property('')
|
|
791
|
+
], Breadcrumb.prototype, "activeItem", void 0);
|
|
792
|
+
__decorate([
|
|
793
|
+
Property(-1)
|
|
794
|
+
], Breadcrumb.prototype, "maxItems", void 0);
|
|
795
|
+
__decorate([
|
|
796
|
+
Property('Menu')
|
|
797
|
+
], Breadcrumb.prototype, "overflowMode", void 0);
|
|
798
|
+
__decorate([
|
|
799
|
+
Property('')
|
|
800
|
+
], Breadcrumb.prototype, "cssClass", void 0);
|
|
801
|
+
__decorate([
|
|
802
|
+
Property(null)
|
|
803
|
+
], Breadcrumb.prototype, "itemTemplate", void 0);
|
|
804
|
+
__decorate([
|
|
805
|
+
Property('/')
|
|
806
|
+
], Breadcrumb.prototype, "separatorTemplate", void 0);
|
|
807
|
+
__decorate([
|
|
808
|
+
Property(true)
|
|
809
|
+
], Breadcrumb.prototype, "enableNavigation", void 0);
|
|
810
|
+
__decorate([
|
|
811
|
+
Property(false)
|
|
812
|
+
], Breadcrumb.prototype, "enableActiveItemNavigation", void 0);
|
|
813
|
+
__decorate([
|
|
814
|
+
Property(false)
|
|
815
|
+
], Breadcrumb.prototype, "disabled", void 0);
|
|
816
|
+
__decorate([
|
|
817
|
+
Property('')
|
|
818
|
+
], Breadcrumb.prototype, "locale", void 0);
|
|
819
|
+
__decorate([
|
|
820
|
+
Event()
|
|
821
|
+
], Breadcrumb.prototype, "beforeItemRender", void 0);
|
|
822
|
+
__decorate([
|
|
823
|
+
Event()
|
|
824
|
+
], Breadcrumb.prototype, "itemClick", void 0);
|
|
825
|
+
__decorate([
|
|
826
|
+
Event()
|
|
827
|
+
], Breadcrumb.prototype, "created", void 0);
|
|
828
|
+
Breadcrumb = __decorate([
|
|
829
|
+
NotifyPropertyChanges
|
|
830
|
+
], Breadcrumb);
|
|
831
|
+
return Breadcrumb;
|
|
832
|
+
}(Component));
|
|
833
|
+
export { Breadcrumb };
|