@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,729 @@
|
|
|
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, formatUnit, EventHandler, Event, isNullOrUndefined, closest, Browser } from '@syncfusion/ej2-base';
|
|
21
|
+
import { Property, NotifyPropertyChanges, isNullOrUndefined as isNOU } from '@syncfusion/ej2-base';
|
|
22
|
+
import { setStyleAttribute as setStyle, addClass, removeClass, Touch } from '@syncfusion/ej2-base';
|
|
23
|
+
var CONTROL = 'e-control';
|
|
24
|
+
var ROOT = 'e-sidebar';
|
|
25
|
+
var DOCKER = 'e-dock';
|
|
26
|
+
var CLOSE = 'e-close';
|
|
27
|
+
var OPEN = 'e-open';
|
|
28
|
+
var TRASITION = 'e-transition';
|
|
29
|
+
var DEFAULTBACKDROP = 'e-sidebar-overlay';
|
|
30
|
+
var RTL = 'e-rtl';
|
|
31
|
+
var RIGHT = 'e-right';
|
|
32
|
+
var LEFT = 'e-left';
|
|
33
|
+
var OVER = 'e-over';
|
|
34
|
+
var PUSH = 'e-push';
|
|
35
|
+
var SLIDE = 'e-slide';
|
|
36
|
+
var VISIBILITY = 'e-visibility';
|
|
37
|
+
var DISPLAY = 'e-sidebar-display';
|
|
38
|
+
var MAINCONTENTANIMATION = 'e-content-animation';
|
|
39
|
+
var DISABLEANIMATION = 'e-disable-animation';
|
|
40
|
+
var CONTEXT = 'e-sidebar-context';
|
|
41
|
+
var SIDEBARABSOLUTE = 'e-sidebar-absolute';
|
|
42
|
+
/**
|
|
43
|
+
* Sidebar is an expandable or collapsible
|
|
44
|
+
* component that typically act as a side container to place the primary or secondary content alongside of the main content.
|
|
45
|
+
* ```html
|
|
46
|
+
* <aside id="sidebar">
|
|
47
|
+
* </aside>
|
|
48
|
+
* ```
|
|
49
|
+
* ```typescript
|
|
50
|
+
* <script>
|
|
51
|
+
* let sidebarObject: Sidebar = new Sidebar();
|
|
52
|
+
* sidebarObject.appendTo("#sidebar");
|
|
53
|
+
* </script>
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
var Sidebar = /** @class */ (function (_super) {
|
|
57
|
+
__extends(Sidebar, _super);
|
|
58
|
+
function Sidebar(options, element) {
|
|
59
|
+
var _this = _super.call(this, options, element) || this;
|
|
60
|
+
_this.documentClickContext = _this.documentclickHandler.bind(_this);
|
|
61
|
+
return _this;
|
|
62
|
+
}
|
|
63
|
+
Sidebar.prototype.preRender = function () {
|
|
64
|
+
this.setWidth();
|
|
65
|
+
};
|
|
66
|
+
Sidebar.prototype.render = function () {
|
|
67
|
+
this.initialize();
|
|
68
|
+
this.wireEvents();
|
|
69
|
+
this.renderComplete();
|
|
70
|
+
};
|
|
71
|
+
Sidebar.prototype.initialize = function () {
|
|
72
|
+
this.setTarget();
|
|
73
|
+
this.addClass();
|
|
74
|
+
this.setZindex();
|
|
75
|
+
if (this.enableDock) {
|
|
76
|
+
this.setDock();
|
|
77
|
+
}
|
|
78
|
+
if (this.isOpen) {
|
|
79
|
+
this.show();
|
|
80
|
+
this.firstRender = true;
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
this.setMediaQuery();
|
|
84
|
+
}
|
|
85
|
+
this.checkType(true);
|
|
86
|
+
this.setType(this.type);
|
|
87
|
+
this.setCloseOnDocumentClick();
|
|
88
|
+
this.setEnableRTL();
|
|
89
|
+
if (Browser.isDevice) {
|
|
90
|
+
this.windowWidth = window.innerWidth;
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
Sidebar.prototype.setEnableRTL = function () {
|
|
94
|
+
(this.enableRtl ? addClass : removeClass)([this.element], RTL);
|
|
95
|
+
};
|
|
96
|
+
Sidebar.prototype.setTarget = function () {
|
|
97
|
+
this.targetEle = this.element.nextElementSibling;
|
|
98
|
+
this.sidebarEleCopy = this.element.cloneNode(true);
|
|
99
|
+
if (typeof (this.target) === 'string') {
|
|
100
|
+
this.setProperties({ target: document.querySelector(this.target) }, true);
|
|
101
|
+
}
|
|
102
|
+
if (this.target) {
|
|
103
|
+
this.target.insertBefore(this.element, this.target.children[0]);
|
|
104
|
+
addClass([this.element], SIDEBARABSOLUTE);
|
|
105
|
+
addClass([this.target], CONTEXT);
|
|
106
|
+
this.targetEle = this.getTargetElement();
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
Sidebar.prototype.getTargetElement = function () {
|
|
110
|
+
var siblingElement = this.element.nextElementSibling;
|
|
111
|
+
while (!isNOU(siblingElement)) {
|
|
112
|
+
if (!siblingElement.classList.contains(ROOT)) {
|
|
113
|
+
break;
|
|
114
|
+
}
|
|
115
|
+
siblingElement = siblingElement.nextElementSibling;
|
|
116
|
+
}
|
|
117
|
+
return siblingElement;
|
|
118
|
+
};
|
|
119
|
+
Sidebar.prototype.setCloseOnDocumentClick = function () {
|
|
120
|
+
if (this.closeOnDocumentClick) {
|
|
121
|
+
document.addEventListener('mousedown', this.documentClickContext);
|
|
122
|
+
document.addEventListener('touchstart', this.documentClickContext);
|
|
123
|
+
}
|
|
124
|
+
else {
|
|
125
|
+
document.removeEventListener('mousedown', this.documentClickContext);
|
|
126
|
+
document.removeEventListener('touchstart', this.documentClickContext);
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
Sidebar.prototype.setWidth = function () {
|
|
130
|
+
if (this.enableDock && this.position === 'Left') {
|
|
131
|
+
setStyle(this.element, { 'width': this.setDimension(this.dockSize) });
|
|
132
|
+
}
|
|
133
|
+
else if (this.enableDock && this.position === 'Right') {
|
|
134
|
+
setStyle(this.element, { 'width': this.setDimension(this.dockSize) });
|
|
135
|
+
}
|
|
136
|
+
else if (!this.enableDock) {
|
|
137
|
+
setStyle(this.element, { 'width': this.setDimension(this.width) });
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
Sidebar.prototype.setDimension = function (width) {
|
|
141
|
+
if (typeof width === 'number') {
|
|
142
|
+
width = formatUnit(width);
|
|
143
|
+
}
|
|
144
|
+
else if (typeof width === 'string') {
|
|
145
|
+
width = (width.match(/px|%|em/)) ? width : formatUnit(width);
|
|
146
|
+
}
|
|
147
|
+
else {
|
|
148
|
+
width = '100%';
|
|
149
|
+
}
|
|
150
|
+
return width;
|
|
151
|
+
};
|
|
152
|
+
Sidebar.prototype.setZindex = function () {
|
|
153
|
+
setStyle(this.element, { 'z-index': '' + this.zIndex });
|
|
154
|
+
};
|
|
155
|
+
Sidebar.prototype.addClass = function () {
|
|
156
|
+
if (this.element.tagName === 'EJS-SIDEBAR') {
|
|
157
|
+
addClass([this.element], DISPLAY);
|
|
158
|
+
}
|
|
159
|
+
var classELement = document.querySelector('.e-main-content');
|
|
160
|
+
if (!isNullOrUndefined(classELement || this.targetEle)) {
|
|
161
|
+
addClass([classELement || this.targetEle], [MAINCONTENTANIMATION]);
|
|
162
|
+
}
|
|
163
|
+
this.tabIndex = this.element.hasAttribute('tabindex') ? this.element.getAttribute('tabindex') : null;
|
|
164
|
+
if (!this.enableDock && this.type !== 'Auto') {
|
|
165
|
+
addClass([this.element], [VISIBILITY]);
|
|
166
|
+
}
|
|
167
|
+
removeClass([this.element], [OPEN, CLOSE, RIGHT, LEFT, SLIDE, PUSH, OVER]);
|
|
168
|
+
this.element.classList.add(ROOT);
|
|
169
|
+
addClass([this.element], (this.position === 'Right') ? RIGHT : LEFT);
|
|
170
|
+
if (this.enableDock) {
|
|
171
|
+
addClass([this.element], DOCKER);
|
|
172
|
+
}
|
|
173
|
+
if (!isNullOrUndefined(this.tabIndex)) {
|
|
174
|
+
this.element.setAttribute('tabindex', this.tabIndex);
|
|
175
|
+
}
|
|
176
|
+
if (this.type === 'Auto' && !Browser.isDevice) {
|
|
177
|
+
this.show();
|
|
178
|
+
}
|
|
179
|
+
else if (!this.isOpen) {
|
|
180
|
+
addClass([this.element], [CLOSE, DISABLEANIMATION]);
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
Sidebar.prototype.checkType = function (val) {
|
|
184
|
+
if (!(this.type === 'Push' || this.type === 'Over' || this.type === 'Slide')) {
|
|
185
|
+
this.type = 'Auto';
|
|
186
|
+
}
|
|
187
|
+
else {
|
|
188
|
+
if (!this.element.classList.contains(CLOSE) && !val) {
|
|
189
|
+
this.hide();
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
Sidebar.prototype.transitionEnd = function (e) {
|
|
194
|
+
this.setDock();
|
|
195
|
+
if (!isNullOrUndefined(e) && !this.firstRender) {
|
|
196
|
+
this.triggerChange();
|
|
197
|
+
}
|
|
198
|
+
this.firstRender = false;
|
|
199
|
+
EventHandler.remove(this.element, 'transitionend', this.transitionEnd);
|
|
200
|
+
};
|
|
201
|
+
Sidebar.prototype.destroyBackDrop = function () {
|
|
202
|
+
var sibling = document.querySelector('.e-main-content') || this.targetEle;
|
|
203
|
+
if (this.target && this.showBackdrop && sibling && !isNullOrUndefined(this.defaultBackdropDiv)) {
|
|
204
|
+
removeClass([this.defaultBackdropDiv], DEFAULTBACKDROP);
|
|
205
|
+
}
|
|
206
|
+
else if (this.showBackdrop && this.modal) {
|
|
207
|
+
this.modal.style.display = 'none';
|
|
208
|
+
this.modal.outerHTML = '';
|
|
209
|
+
this.modal = null;
|
|
210
|
+
}
|
|
211
|
+
};
|
|
212
|
+
/**
|
|
213
|
+
* Hide the Sidebar component, if it is in an open state.
|
|
214
|
+
*
|
|
215
|
+
* @param {Event} e - The event triggering the hide action.
|
|
216
|
+
* @returns {void}
|
|
217
|
+
*
|
|
218
|
+
*/
|
|
219
|
+
Sidebar.prototype.hide = function (e) {
|
|
220
|
+
var _this = this;
|
|
221
|
+
var closeArguments = {
|
|
222
|
+
model: this,
|
|
223
|
+
element: this.element,
|
|
224
|
+
cancel: false,
|
|
225
|
+
isInteracted: !isNullOrUndefined(e),
|
|
226
|
+
event: (e || null)
|
|
227
|
+
};
|
|
228
|
+
this.trigger('close', closeArguments, function (observedcloseArgs) {
|
|
229
|
+
if (!observedcloseArgs.cancel) {
|
|
230
|
+
if (_this.element.classList.contains(CLOSE)) {
|
|
231
|
+
return;
|
|
232
|
+
}
|
|
233
|
+
if (_this.element.classList.contains(OPEN) && !_this.animate) {
|
|
234
|
+
_this.triggerChange();
|
|
235
|
+
}
|
|
236
|
+
addClass([_this.element], CLOSE);
|
|
237
|
+
removeClass([_this.element], OPEN);
|
|
238
|
+
setStyle(_this.element, { 'width': formatUnit(_this.enableDock ? _this.dockSize : _this.width) });
|
|
239
|
+
_this.setType(_this.type);
|
|
240
|
+
var sibling = document.querySelector('.e-main-content') || _this.targetEle;
|
|
241
|
+
if (!_this.enableDock && sibling) {
|
|
242
|
+
sibling.style.transform = 'translateX(' + 0 + 'px)';
|
|
243
|
+
sibling.style[_this.position === 'Left' ? 'marginLeft' : 'marginRight'] = '0px';
|
|
244
|
+
}
|
|
245
|
+
_this.destroyBackDrop();
|
|
246
|
+
_this.setAnimation();
|
|
247
|
+
if (_this.type === 'Slide') {
|
|
248
|
+
document.body.classList.remove('e-sidebar-overflow');
|
|
249
|
+
}
|
|
250
|
+
_this.setProperties({ isOpen: false }, true);
|
|
251
|
+
if (_this.enableDock) {
|
|
252
|
+
setTimeout(function () { return _this.setTimeOut(); }, 50);
|
|
253
|
+
}
|
|
254
|
+
EventHandler.add(_this.element, 'transitionend', _this.transitionEnd, _this);
|
|
255
|
+
}
|
|
256
|
+
});
|
|
257
|
+
};
|
|
258
|
+
Sidebar.prototype.setTimeOut = function () {
|
|
259
|
+
var sibling = document.querySelector('.e-main-content') || this.targetEle;
|
|
260
|
+
var elementWidth = this.element.getBoundingClientRect().width;
|
|
261
|
+
if (this.element.classList.contains(OPEN) && sibling && !(this.type === 'Over' && this.enableDock)) {
|
|
262
|
+
if (this.position === 'Left') {
|
|
263
|
+
sibling.style.marginLeft = this.setDimension(this.width === 'auto' ? elementWidth : this.width);
|
|
264
|
+
}
|
|
265
|
+
else {
|
|
266
|
+
sibling.style.marginRight = this.setDimension(this.width === 'auto' ? elementWidth : this.width);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
else if (this.element.classList.contains(CLOSE) && sibling) {
|
|
270
|
+
if (this.position === 'Left') {
|
|
271
|
+
sibling.style.marginLeft = this.setDimension(this.dockSize === 'auto' ? elementWidth : this.dockSize);
|
|
272
|
+
}
|
|
273
|
+
else {
|
|
274
|
+
sibling.style.marginRight = this.setDimension(this.dockSize === 'auto' ? elementWidth : this.dockSize);
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
};
|
|
278
|
+
/**
|
|
279
|
+
* Shows the Sidebar component, if it is in closed state.
|
|
280
|
+
*
|
|
281
|
+
* @param {Event} e - The optional event triggering the show action.
|
|
282
|
+
* @returns {void}
|
|
283
|
+
*/
|
|
284
|
+
Sidebar.prototype.show = function (e) {
|
|
285
|
+
var _this = this;
|
|
286
|
+
var openArguments = {
|
|
287
|
+
model: this,
|
|
288
|
+
element: this.element,
|
|
289
|
+
cancel: false,
|
|
290
|
+
isInteracted: !isNullOrUndefined(e),
|
|
291
|
+
event: (e || null)
|
|
292
|
+
};
|
|
293
|
+
this.trigger('open', openArguments, function (observedopenArgs) {
|
|
294
|
+
if (!observedopenArgs.cancel) {
|
|
295
|
+
removeClass([_this.element], [VISIBILITY, DISABLEANIMATION]);
|
|
296
|
+
if (_this.element.classList.contains(OPEN)) {
|
|
297
|
+
return;
|
|
298
|
+
}
|
|
299
|
+
if (_this.element.classList.contains(CLOSE) && !_this.animate) {
|
|
300
|
+
_this.triggerChange();
|
|
301
|
+
}
|
|
302
|
+
addClass([_this.element], [OPEN, TRASITION]);
|
|
303
|
+
setStyle(_this.element, { 'transform': '' });
|
|
304
|
+
removeClass([_this.element], CLOSE);
|
|
305
|
+
setStyle(_this.element, { 'width': formatUnit(_this.width) });
|
|
306
|
+
_this.setType(_this.type);
|
|
307
|
+
_this.createBackDrop();
|
|
308
|
+
_this.setAnimation();
|
|
309
|
+
if (_this.type === 'Slide') {
|
|
310
|
+
document.body.classList.add('e-sidebar-overflow');
|
|
311
|
+
}
|
|
312
|
+
_this.setProperties({ isOpen: true }, true);
|
|
313
|
+
EventHandler.add(_this.element, 'transitionend', _this.transitionEnd, _this);
|
|
314
|
+
}
|
|
315
|
+
});
|
|
316
|
+
};
|
|
317
|
+
Sidebar.prototype.setAnimation = function () {
|
|
318
|
+
if (this.animate) {
|
|
319
|
+
removeClass([this.element], DISABLEANIMATION);
|
|
320
|
+
}
|
|
321
|
+
else {
|
|
322
|
+
addClass([this.element], DISABLEANIMATION);
|
|
323
|
+
}
|
|
324
|
+
};
|
|
325
|
+
Sidebar.prototype.triggerChange = function () {
|
|
326
|
+
var changeArguments = { name: 'change', element: this.element };
|
|
327
|
+
this.trigger('change', changeArguments);
|
|
328
|
+
};
|
|
329
|
+
Sidebar.prototype.setDock = function () {
|
|
330
|
+
if (this.enableDock && this.position === 'Left' && !this.getState()) {
|
|
331
|
+
setStyle(this.element, { 'transform': 'translateX(' + -100 + '%) translateX(' + this.setDimension(this.dockSize) + ')' });
|
|
332
|
+
}
|
|
333
|
+
else if (this.enableDock && this.position === 'Right' && !this.getState()) {
|
|
334
|
+
setStyle(this.element, { 'transform': 'translateX(' + 100 + '%) translateX(' + '-' + this.setDimension(this.dockSize) + ')' });
|
|
335
|
+
}
|
|
336
|
+
if (this.element.classList.contains(CLOSE) && this.enableDock) {
|
|
337
|
+
setStyle(this.element, { 'width': this.setDimension(this.dockSize) });
|
|
338
|
+
}
|
|
339
|
+
};
|
|
340
|
+
Sidebar.prototype.createBackDrop = function () {
|
|
341
|
+
if (this.target && this.showBackdrop && this.getState()) {
|
|
342
|
+
var targetString = this.target;
|
|
343
|
+
var sibling = document.querySelector('.e-main-content') || this.targetEle;
|
|
344
|
+
this.defaultBackdropDiv = this.createElement('div');
|
|
345
|
+
addClass([this.defaultBackdropDiv], DEFAULTBACKDROP);
|
|
346
|
+
setStyle(this.defaultBackdropDiv, { height: targetString.style.height });
|
|
347
|
+
sibling.appendChild(this.defaultBackdropDiv);
|
|
348
|
+
}
|
|
349
|
+
else if (this.showBackdrop && !this.modal && this.getState()) {
|
|
350
|
+
this.modal = this.createElement('div');
|
|
351
|
+
this.modal.className = DEFAULTBACKDROP;
|
|
352
|
+
this.modal.style.display = 'block';
|
|
353
|
+
document.body.appendChild(this.modal);
|
|
354
|
+
}
|
|
355
|
+
};
|
|
356
|
+
Sidebar.prototype.getPersistData = function () {
|
|
357
|
+
return this.addOnPersist(['type', 'position', 'isOpen']);
|
|
358
|
+
};
|
|
359
|
+
/**
|
|
360
|
+
* Returns the current module name.
|
|
361
|
+
*
|
|
362
|
+
* @returns {string} - returns module name.
|
|
363
|
+
* @private
|
|
364
|
+
*
|
|
365
|
+
*/
|
|
366
|
+
Sidebar.prototype.getModuleName = function () {
|
|
367
|
+
return 'sidebar';
|
|
368
|
+
};
|
|
369
|
+
/**
|
|
370
|
+
* Shows or hides the Sidebar based on the current state.
|
|
371
|
+
*
|
|
372
|
+
* @returns {void}
|
|
373
|
+
*/
|
|
374
|
+
Sidebar.prototype.toggle = function () {
|
|
375
|
+
if (this.element.classList.contains(OPEN)) {
|
|
376
|
+
this.hide();
|
|
377
|
+
}
|
|
378
|
+
else {
|
|
379
|
+
this.show();
|
|
380
|
+
}
|
|
381
|
+
};
|
|
382
|
+
Sidebar.prototype.getState = function () {
|
|
383
|
+
return this.element.classList.contains(OPEN) ? true : false;
|
|
384
|
+
};
|
|
385
|
+
Sidebar.prototype.setMediaQuery = function () {
|
|
386
|
+
if (this.mediaQuery) {
|
|
387
|
+
var media = false;
|
|
388
|
+
if (typeof (this.mediaQuery) === 'string') {
|
|
389
|
+
media = window.matchMedia(this.mediaQuery).matches;
|
|
390
|
+
}
|
|
391
|
+
else {
|
|
392
|
+
media = (this.mediaQuery).matches;
|
|
393
|
+
}
|
|
394
|
+
if (media && this.windowWidth !== window.innerWidth) {
|
|
395
|
+
this.show();
|
|
396
|
+
}
|
|
397
|
+
else if (this.getState() && this.windowWidth !== window.innerWidth) {
|
|
398
|
+
this.hide();
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
};
|
|
402
|
+
Sidebar.prototype.resize = function () {
|
|
403
|
+
if (!isNullOrUndefined(this.width) && this.width !== 'auto' && typeof this.width === 'string' && !this.width.includes('px')) {
|
|
404
|
+
this.setType(this.type);
|
|
405
|
+
}
|
|
406
|
+
if (this.type === 'Auto') {
|
|
407
|
+
if (Browser.isDevice) {
|
|
408
|
+
addClass([this.element], OVER);
|
|
409
|
+
}
|
|
410
|
+
else {
|
|
411
|
+
addClass([this.element], PUSH);
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
this.setMediaQuery();
|
|
415
|
+
if (Browser.isDevice) {
|
|
416
|
+
this.windowWidth = window.innerWidth;
|
|
417
|
+
}
|
|
418
|
+
};
|
|
419
|
+
Sidebar.prototype.documentclickHandler = function (e) {
|
|
420
|
+
if (closest(e.target, '.' + CONTROL + '' + '.' + ROOT)) {
|
|
421
|
+
return;
|
|
422
|
+
}
|
|
423
|
+
this.hide(e);
|
|
424
|
+
};
|
|
425
|
+
Sidebar.prototype.enableGestureHandler = function (args) {
|
|
426
|
+
if (!this.isOpen && this.position === 'Left' && args.swipeDirection === 'Right' &&
|
|
427
|
+
(args.startX <= 20 && args.distanceX >= 50 && args.velocity >= 0.5)) {
|
|
428
|
+
this.show();
|
|
429
|
+
}
|
|
430
|
+
else if (this.isOpen && this.position === 'Left' && args.swipeDirection === 'Left') {
|
|
431
|
+
this.hide(args.originalEvent);
|
|
432
|
+
}
|
|
433
|
+
else if (this.isOpen && this.position === 'Right' && args.swipeDirection === 'Right') {
|
|
434
|
+
this.hide(args.originalEvent);
|
|
435
|
+
}
|
|
436
|
+
else if (!this.isOpen && this.position === 'Right' && args.swipeDirection === 'Left'
|
|
437
|
+
&& (window.innerWidth - args.startX <= 20 && args.distanceX >= 50 && args.velocity >= 0.5)) {
|
|
438
|
+
this.show();
|
|
439
|
+
}
|
|
440
|
+
};
|
|
441
|
+
Sidebar.prototype.setEnableGestures = function () {
|
|
442
|
+
if (this.enableGestures) {
|
|
443
|
+
this.mainContentEle = new Touch(document.body, { swipe: this.enableGestureHandler.bind(this) });
|
|
444
|
+
this.sidebarEle = new Touch(this.element, { swipe: this.enableGestureHandler.bind(this) });
|
|
445
|
+
}
|
|
446
|
+
else {
|
|
447
|
+
if (this.mainContentEle && this.sidebarEle) {
|
|
448
|
+
this.mainContentEle.destroy();
|
|
449
|
+
this.sidebarEle.destroy();
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
};
|
|
453
|
+
Sidebar.prototype.wireEvents = function () {
|
|
454
|
+
this.setEnableGestures();
|
|
455
|
+
EventHandler.add(window, 'resize', this.resize, this);
|
|
456
|
+
};
|
|
457
|
+
Sidebar.prototype.unWireEvents = function () {
|
|
458
|
+
EventHandler.remove(window, 'resize', this.resize);
|
|
459
|
+
EventHandler.remove(document, 'mousedown touchstart', this.documentclickHandler);
|
|
460
|
+
if (this.mainContentEle) {
|
|
461
|
+
this.mainContentEle.destroy();
|
|
462
|
+
}
|
|
463
|
+
if (this.sidebarEle) {
|
|
464
|
+
this.sidebarEle.destroy();
|
|
465
|
+
}
|
|
466
|
+
};
|
|
467
|
+
/**
|
|
468
|
+
* Called internally if any of the property value changed.
|
|
469
|
+
*
|
|
470
|
+
* @param {SidebarModel} newProp - specifies newProp value.
|
|
471
|
+
* @param {SidebarModel} oldProp - specifies oldProp value.
|
|
472
|
+
* @returns {void}
|
|
473
|
+
* @private
|
|
474
|
+
*
|
|
475
|
+
*/
|
|
476
|
+
Sidebar.prototype.onPropertyChanged = function (newProp, oldProp) {
|
|
477
|
+
var sibling = document.querySelector('.e-main-content') || this.targetEle;
|
|
478
|
+
var isRendered = this.isServerRendered;
|
|
479
|
+
for (var _i = 0, _a = Object.keys(newProp); _i < _a.length; _i++) {
|
|
480
|
+
var prop = _a[_i];
|
|
481
|
+
switch (prop) {
|
|
482
|
+
case 'isOpen':
|
|
483
|
+
if (this.isOpen) {
|
|
484
|
+
this.show();
|
|
485
|
+
}
|
|
486
|
+
else {
|
|
487
|
+
this.hide();
|
|
488
|
+
}
|
|
489
|
+
break;
|
|
490
|
+
case 'width':
|
|
491
|
+
this.setWidth();
|
|
492
|
+
if (!this.getState()) {
|
|
493
|
+
this.setDock();
|
|
494
|
+
}
|
|
495
|
+
break;
|
|
496
|
+
case 'animate':
|
|
497
|
+
this.setAnimation();
|
|
498
|
+
break;
|
|
499
|
+
case 'type':
|
|
500
|
+
this.checkType(false);
|
|
501
|
+
removeClass([this.element], [VISIBILITY]);
|
|
502
|
+
this.addClass();
|
|
503
|
+
addClass([this.element], this.type === 'Auto' ? (Browser.isDevice ? ['e-over'] :
|
|
504
|
+
['e-push']) : ['e-' + this.type.toLowerCase()]);
|
|
505
|
+
break;
|
|
506
|
+
case 'position':
|
|
507
|
+
this.element.style.transform = '';
|
|
508
|
+
this.setDock();
|
|
509
|
+
if (sibling) {
|
|
510
|
+
sibling.style[this.position === 'Left' ? 'marginRight' : 'marginLeft'] = '0px';
|
|
511
|
+
}
|
|
512
|
+
if (this.position === 'Right') {
|
|
513
|
+
removeClass([this.element], LEFT);
|
|
514
|
+
addClass([this.element], RIGHT);
|
|
515
|
+
}
|
|
516
|
+
else {
|
|
517
|
+
removeClass([this.element], RIGHT);
|
|
518
|
+
addClass([this.element], LEFT);
|
|
519
|
+
}
|
|
520
|
+
this.setType(this.type);
|
|
521
|
+
break;
|
|
522
|
+
case 'showBackdrop':
|
|
523
|
+
if (this.showBackdrop) {
|
|
524
|
+
this.createBackDrop();
|
|
525
|
+
}
|
|
526
|
+
else {
|
|
527
|
+
if (this.modal) {
|
|
528
|
+
this.modal.style.display = 'none';
|
|
529
|
+
this.modal.outerHTML = '';
|
|
530
|
+
this.modal = null;
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
break;
|
|
534
|
+
case 'target':
|
|
535
|
+
if (typeof (this.target) === 'string') {
|
|
536
|
+
this.setProperties({ target: document.querySelector(this.target) }, true);
|
|
537
|
+
}
|
|
538
|
+
if (isNullOrUndefined(this.target)) {
|
|
539
|
+
removeClass([this.element], SIDEBARABSOLUTE);
|
|
540
|
+
removeClass([oldProp.target], CONTEXT);
|
|
541
|
+
setStyle(sibling, { 'margin-left': 0, 'margin-right': 0 });
|
|
542
|
+
document.body.insertAdjacentElement('afterbegin', this.element);
|
|
543
|
+
}
|
|
544
|
+
this.isServerRendered = false;
|
|
545
|
+
_super.prototype.refresh.call(this);
|
|
546
|
+
this.isServerRendered = isRendered;
|
|
547
|
+
break;
|
|
548
|
+
case 'closeOnDocumentClick':
|
|
549
|
+
this.setCloseOnDocumentClick();
|
|
550
|
+
break;
|
|
551
|
+
case 'enableDock':
|
|
552
|
+
if (!this.getState()) {
|
|
553
|
+
this.setDock();
|
|
554
|
+
}
|
|
555
|
+
break;
|
|
556
|
+
case 'zIndex':
|
|
557
|
+
this.setZindex();
|
|
558
|
+
break;
|
|
559
|
+
case 'mediaQuery':
|
|
560
|
+
this.setMediaQuery();
|
|
561
|
+
break;
|
|
562
|
+
case 'enableGestures':
|
|
563
|
+
this.setEnableGestures();
|
|
564
|
+
break;
|
|
565
|
+
case 'enableRtl':
|
|
566
|
+
this.setEnableRTL();
|
|
567
|
+
break;
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
};
|
|
571
|
+
Sidebar.prototype.setType = function (type) {
|
|
572
|
+
var elementWidth = this.element.getBoundingClientRect().width;
|
|
573
|
+
this.setZindex();
|
|
574
|
+
var sibling = document.querySelector('.e-main-content') || this.targetEle;
|
|
575
|
+
if (sibling) {
|
|
576
|
+
sibling.style.transform = 'translateX(' + 0 + 'px)';
|
|
577
|
+
if (!Browser.isDevice && this.type !== 'Auto' && !(this.type === 'Over' && this.enableDock)) {
|
|
578
|
+
sibling.style[this.position === 'Left' ? 'marginLeft' : 'marginRight'] = '0px';
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
var margin = this.position === 'Left' ? elementWidth + 'px' : elementWidth + 'px';
|
|
582
|
+
var eleWidth = this.position === 'Left' ? elementWidth : -(elementWidth);
|
|
583
|
+
removeClass([this.element], [PUSH, OVER, SLIDE]);
|
|
584
|
+
switch (type) {
|
|
585
|
+
case 'Push':
|
|
586
|
+
addClass([this.element], [PUSH]);
|
|
587
|
+
if (sibling && (this.enableDock || this.element.classList.contains(OPEN))) {
|
|
588
|
+
sibling.style[this.position === 'Left' ? 'marginLeft' : 'marginRight'] = margin;
|
|
589
|
+
}
|
|
590
|
+
break;
|
|
591
|
+
case 'Slide':
|
|
592
|
+
addClass([this.element], [SLIDE]);
|
|
593
|
+
if (sibling && (this.enableDock || this.element.classList.contains(OPEN))) {
|
|
594
|
+
sibling.style.transform = 'translateX(' + eleWidth + 'px)';
|
|
595
|
+
}
|
|
596
|
+
break;
|
|
597
|
+
case 'Over':
|
|
598
|
+
addClass([this.element], [OVER]);
|
|
599
|
+
if (this.enableDock && (this.element.classList.contains(CLOSE) || this.isOpen)) {
|
|
600
|
+
if (sibling) {
|
|
601
|
+
sibling.style[this.position === 'Left' ? 'marginLeft' : 'marginRight'] = this.setDimension(this.dockSize);
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
break;
|
|
605
|
+
case 'Auto':
|
|
606
|
+
addClass([this.element], [TRASITION]);
|
|
607
|
+
if (Browser.isDevice) {
|
|
608
|
+
if (sibling && (this.enableDock) && !this.getState()) {
|
|
609
|
+
sibling.style[this.position === 'Left' ? 'marginLeft' : 'marginRight'] = margin;
|
|
610
|
+
addClass([this.element], PUSH);
|
|
611
|
+
}
|
|
612
|
+
else {
|
|
613
|
+
addClass([this.element], OVER);
|
|
614
|
+
}
|
|
615
|
+
}
|
|
616
|
+
else {
|
|
617
|
+
addClass([this.element], PUSH);
|
|
618
|
+
if (sibling && (this.enableDock || this.element.classList.contains(OPEN))) {
|
|
619
|
+
sibling.style[this.position === 'Left' ? 'marginLeft' : 'marginRight'] = margin;
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
this.createBackDrop();
|
|
623
|
+
}
|
|
624
|
+
};
|
|
625
|
+
/**
|
|
626
|
+
* Removes the control from the DOM and detaches all its related event handlers. Also it removes the attributes and classes.
|
|
627
|
+
*
|
|
628
|
+
* @returns {void}
|
|
629
|
+
*
|
|
630
|
+
*/
|
|
631
|
+
Sidebar.prototype.destroy = function () {
|
|
632
|
+
_super.prototype.destroy.call(this);
|
|
633
|
+
if (this.target) {
|
|
634
|
+
removeClass([this.target], CONTEXT);
|
|
635
|
+
}
|
|
636
|
+
this.destroyBackDrop();
|
|
637
|
+
if (this.element) {
|
|
638
|
+
removeClass([this.element], [OPEN, CLOSE, PUSH, SLIDE, OVER, LEFT, RIGHT, TRASITION, DISABLEANIMATION]);
|
|
639
|
+
removeClass([this.element], SIDEBARABSOLUTE);
|
|
640
|
+
this.element.style.width = '';
|
|
641
|
+
this.element.style.zIndex = '';
|
|
642
|
+
this.element.style.transform = '';
|
|
643
|
+
if (!isNullOrUndefined(this.sidebarEleCopy.getAttribute('tabindex'))) {
|
|
644
|
+
this.element.setAttribute('tabindex', this.tabIndex);
|
|
645
|
+
}
|
|
646
|
+
else {
|
|
647
|
+
this.element.removeAttribute('tabindex');
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
this.windowWidth = null;
|
|
651
|
+
var sibling = document.querySelector('.e-main-content') || this.targetEle;
|
|
652
|
+
if (!isNullOrUndefined(sibling)) {
|
|
653
|
+
sibling.style.margin = '';
|
|
654
|
+
sibling.style.transform = '';
|
|
655
|
+
}
|
|
656
|
+
this.unWireEvents();
|
|
657
|
+
};
|
|
658
|
+
__decorate([
|
|
659
|
+
Property('auto')
|
|
660
|
+
], Sidebar.prototype, "dockSize", void 0);
|
|
661
|
+
__decorate([
|
|
662
|
+
Property(null)
|
|
663
|
+
], Sidebar.prototype, "mediaQuery", void 0);
|
|
664
|
+
__decorate([
|
|
665
|
+
Property(false)
|
|
666
|
+
], Sidebar.prototype, "enableDock", void 0);
|
|
667
|
+
__decorate([
|
|
668
|
+
Property('en-US')
|
|
669
|
+
], Sidebar.prototype, "locale", void 0);
|
|
670
|
+
__decorate([
|
|
671
|
+
Property(false)
|
|
672
|
+
], Sidebar.prototype, "enablePersistence", void 0);
|
|
673
|
+
__decorate([
|
|
674
|
+
Property(true)
|
|
675
|
+
], Sidebar.prototype, "enableGestures", void 0);
|
|
676
|
+
__decorate([
|
|
677
|
+
Property(false)
|
|
678
|
+
], Sidebar.prototype, "isOpen", void 0);
|
|
679
|
+
__decorate([
|
|
680
|
+
Property(false)
|
|
681
|
+
], Sidebar.prototype, "enableRtl", void 0);
|
|
682
|
+
__decorate([
|
|
683
|
+
Property(true)
|
|
684
|
+
], Sidebar.prototype, "animate", void 0);
|
|
685
|
+
__decorate([
|
|
686
|
+
Property('auto')
|
|
687
|
+
], Sidebar.prototype, "height", void 0);
|
|
688
|
+
__decorate([
|
|
689
|
+
Property(false)
|
|
690
|
+
], Sidebar.prototype, "closeOnDocumentClick", void 0);
|
|
691
|
+
__decorate([
|
|
692
|
+
Property('Left')
|
|
693
|
+
], Sidebar.prototype, "position", void 0);
|
|
694
|
+
__decorate([
|
|
695
|
+
Property(null)
|
|
696
|
+
], Sidebar.prototype, "target", void 0);
|
|
697
|
+
__decorate([
|
|
698
|
+
Property(false)
|
|
699
|
+
], Sidebar.prototype, "showBackdrop", void 0);
|
|
700
|
+
__decorate([
|
|
701
|
+
Property('Auto')
|
|
702
|
+
], Sidebar.prototype, "type", void 0);
|
|
703
|
+
__decorate([
|
|
704
|
+
Property('auto')
|
|
705
|
+
], Sidebar.prototype, "width", void 0);
|
|
706
|
+
__decorate([
|
|
707
|
+
Property(1000)
|
|
708
|
+
], Sidebar.prototype, "zIndex", void 0);
|
|
709
|
+
__decorate([
|
|
710
|
+
Event()
|
|
711
|
+
], Sidebar.prototype, "created", void 0);
|
|
712
|
+
__decorate([
|
|
713
|
+
Event()
|
|
714
|
+
], Sidebar.prototype, "close", void 0);
|
|
715
|
+
__decorate([
|
|
716
|
+
Event()
|
|
717
|
+
], Sidebar.prototype, "open", void 0);
|
|
718
|
+
__decorate([
|
|
719
|
+
Event()
|
|
720
|
+
], Sidebar.prototype, "change", void 0);
|
|
721
|
+
__decorate([
|
|
722
|
+
Event()
|
|
723
|
+
], Sidebar.prototype, "destroyed", void 0);
|
|
724
|
+
Sidebar = __decorate([
|
|
725
|
+
NotifyPropertyChanges
|
|
726
|
+
], Sidebar);
|
|
727
|
+
return Sidebar;
|
|
728
|
+
}(Component));
|
|
729
|
+
export { Sidebar };
|