@syncfusion/ej2-navigations 16.4.45 → 16.4.52-46585
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 +259 -0
- package/.github/PULL_REQUEST_TEMPLATE/Bug.md +63 -0
- package/.github/PULL_REQUEST_TEMPLATE/feature.md +39 -0
- package/CHANGELOG.md +1421 -0
- package/README.md +226 -112
- package/appbar.d.ts +4 -0
- package/appbar.js +4 -0
- package/breadcrumb.d.ts +4 -0
- package/breadcrumb.js +4 -0
- package/carousel.d.ts +4 -0
- package/carousel.js +4 -0
- package/dist/ej2-navigations.min.js +1 -0
- 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 +8469 -2261
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +8157 -1833
- 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/helpers/e2e/accordionHelper.d.ts +56 -0
- package/helpers/e2e/accordionHelper.js +71 -0
- package/helpers/e2e/contextmenuHelper.d.ts +37 -0
- package/helpers/e2e/contextmenuHelper.js +53 -0
- package/helpers/e2e/index.d.ts +7 -0
- package/helpers/e2e/index.js +14 -0
- package/helpers/e2e/menuHelper.d.ts +37 -0
- package/helpers/e2e/menuHelper.js +53 -0
- package/helpers/e2e/sidebarHelper.d.ts +94 -0
- package/helpers/e2e/sidebarHelper.js +110 -0
- package/helpers/e2e/tabHelper.d.ts +60 -0
- package/helpers/e2e/tabHelper.js +74 -0
- package/helpers/e2e/toolbarHelper.d.ts +60 -0
- package/helpers/e2e/toolbarHelper.js +74 -0
- package/helpers/e2e/treeview.d.ts +50 -0
- package/helpers/e2e/treeview.js +80 -0
- package/package.json +105 -105
- package/src/accordion/accordion-model.d.ts +122 -45
- package/src/accordion/accordion.d.ts +169 -48
- package/src/accordion/accordion.js +530 -230
- package/src/appbar/appbar-model.d.ts +76 -0
- package/src/appbar/appbar.d.ts +115 -0
- package/src/appbar/appbar.js +220 -0
- package/src/appbar/index.d.ts +3 -0
- package/src/appbar/index.js +2 -0
- package/src/breadcrumb/breadcrumb-model.d.ts +161 -0
- package/src/breadcrumb/breadcrumb.d.ts +285 -0
- package/src/breadcrumb/breadcrumb.js +789 -0
- package/src/breadcrumb/index.d.ts +5 -0
- package/src/breadcrumb/index.js +4 -0
- package/src/carousel/carousel-model.d.ts +223 -0
- package/src/carousel/carousel.d.ts +344 -0
- package/src/carousel/carousel.js +1100 -0
- package/src/carousel/index.d.ts +3 -0
- package/src/carousel/index.js +2 -0
- package/src/common/h-scroll-model.d.ts +1 -0
- package/src/common/h-scroll.d.ts +21 -10
- package/src/common/h-scroll.js +58 -36
- package/src/common/index.d.ts +2 -0
- package/src/common/index.js +2 -0
- package/src/common/menu-base-model.d.ts +77 -22
- package/src/common/menu-base.d.ts +192 -41
- package/src/common/menu-base.js +1104 -366
- package/src/common/menu-scroll.d.ts +29 -0
- package/src/common/menu-scroll.js +103 -0
- package/src/common/v-scroll-model.d.ts +1 -0
- package/src/common/v-scroll.d.ts +20 -9
- package/src/common/v-scroll.js +47 -20
- package/src/context-menu/context-menu-model.d.ts +7 -3
- package/src/context-menu/context-menu.d.ts +25 -10
- package/src/context-menu/context-menu.js +27 -15
- package/src/index.d.ts +3 -0
- package/src/index.js +3 -0
- package/src/menu/menu-model.d.ts +34 -1
- package/src/menu/menu.d.ts +60 -6
- package/src/menu/menu.js +144 -18
- package/src/sidebar/sidebar-model.d.ts +54 -25
- package/src/sidebar/sidebar.d.ts +117 -22
- package/src/sidebar/sidebar.js +250 -120
- package/src/tab/tab-model.d.ts +156 -37
- package/src/tab/tab.d.ts +286 -61
- package/src/tab/tab.js +1136 -331
- package/src/toolbar/toolbar-model.d.ts +110 -29
- package/src/toolbar/toolbar.d.ts +185 -55
- package/src/toolbar/toolbar.js +595 -234
- package/src/treeview/treeview-model.d.ts +269 -83
- package/src/treeview/treeview.d.ts +497 -74
- package/src/treeview/treeview.js +2006 -409
- package/styles/accordion/_all.scss +0 -1
- package/styles/accordion/_bootstrap-dark-definition.scss +171 -67
- package/styles/accordion/_bootstrap-definition.scss +115 -11
- package/styles/accordion/_bootstrap4-definition.scss +182 -0
- package/styles/accordion/_bootstrap5-dark-definition.scss +1 -0
- package/styles/accordion/_bootstrap5-definition.scss +180 -0
- package/styles/accordion/_fabric-dark-definition.scss +171 -69
- package/styles/accordion/_fabric-definition.scss +119 -15
- package/styles/accordion/_fluent-dark-definition.scss +1 -0
- package/styles/accordion/_fluent-definition.scss +179 -0
- package/styles/accordion/_fusionnew-definition.scss +180 -0
- package/styles/accordion/_highcontrast-definition.scss +122 -23
- package/styles/accordion/_highcontrast-light-definition.scss +192 -95
- package/styles/accordion/_layout.scss +100 -162
- package/styles/accordion/_material-dark-definition.scss +173 -70
- package/styles/accordion/_material-definition.scss +115 -11
- package/styles/accordion/_tailwind-dark-definition.scss +1 -0
- package/styles/accordion/_tailwind-definition.scss +178 -0
- package/styles/accordion/_theme.scss +219 -224
- package/styles/accordion/bootstrap-dark.css +267 -181
- package/styles/accordion/bootstrap-dark.scss +1 -0
- package/styles/accordion/bootstrap.css +258 -172
- package/styles/accordion/bootstrap.scss +1 -0
- package/styles/accordion/bootstrap4.css +525 -0
- package/styles/accordion/bootstrap4.scss +4 -0
- package/styles/accordion/bootstrap5-dark.css +527 -0
- package/styles/accordion/bootstrap5-dark.scss +4 -0
- package/styles/accordion/bootstrap5.css +527 -0
- package/styles/accordion/bootstrap5.scss +4 -0
- package/styles/accordion/fabric-dark.css +266 -164
- package/styles/accordion/fabric-dark.scss +1 -0
- package/styles/accordion/fabric.css +266 -164
- package/styles/accordion/fabric.scss +1 -0
- package/styles/accordion/fluent-dark.css +526 -0
- package/styles/accordion/fluent-dark.scss +4 -0
- package/styles/accordion/fluent.css +526 -0
- package/styles/accordion/fluent.scss +4 -0
- package/styles/accordion/highcontrast-light.css +525 -0
- package/styles/accordion/highcontrast-light.scss +4 -0
- package/styles/accordion/highcontrast.css +243 -232
- package/styles/accordion/highcontrast.scss +1 -0
- package/styles/accordion/{_icons.scss → icons/_bootstrap-dark.scss} +3 -3
- package/styles/accordion/icons/_bootstrap.scss +17 -0
- package/styles/accordion/icons/_bootstrap4.scss +17 -0
- package/styles/accordion/icons/_bootstrap5-dark.scss +1 -0
- package/styles/accordion/icons/_bootstrap5.scss +17 -0
- package/styles/accordion/icons/_fabric-dark.scss +17 -0
- package/styles/accordion/icons/_fabric.scss +17 -0
- package/styles/accordion/icons/_fluent-dark.scss +1 -0
- package/styles/accordion/icons/_fluent.scss +17 -0
- package/styles/accordion/icons/_fusionnew.scss +17 -0
- package/styles/accordion/icons/_highcontrast-light.scss +17 -0
- package/styles/accordion/icons/_highcontrast.scss +17 -0
- package/styles/accordion/icons/_material-dark.scss +17 -0
- package/styles/accordion/icons/_material.scss +17 -0
- package/styles/accordion/icons/_material3.scss +17 -0
- package/styles/accordion/icons/_tailwind-dark.scss +1 -0
- package/styles/accordion/icons/_tailwind.scss +17 -0
- package/styles/accordion/material-dark.css +268 -173
- package/styles/accordion/material-dark.scss +1 -0
- package/styles/accordion/material.css +264 -169
- package/styles/accordion/material.scss +1 -0
- package/styles/accordion/tailwind-dark.css +527 -0
- package/styles/accordion/tailwind-dark.scss +4 -0
- package/styles/accordion/tailwind.css +527 -0
- package/styles/accordion/tailwind.scss +4 -0
- package/styles/appbar/_all.scss +2 -0
- package/styles/appbar/_bootstrap-dark-definition.scss +8 -0
- package/styles/appbar/_bootstrap-definition.scss +8 -0
- package/styles/appbar/_bootstrap4-definition.scss +8 -0
- package/styles/appbar/_bootstrap5-dark-definition.scss +1 -0
- package/styles/appbar/_bootstrap5-definition.scss +8 -0
- package/styles/appbar/_fabric-dark-definition.scss +8 -0
- package/styles/appbar/_fabric-definition.scss +8 -0
- package/styles/appbar/_fluent-dark-definition.scss +1 -0
- package/styles/appbar/_fluent-definition.scss +8 -0
- package/styles/appbar/_fusionnew-definition.scss +8 -0
- package/styles/appbar/_highcontrast-definition.scss +8 -0
- package/styles/appbar/_highcontrast-light-definition.scss +8 -0
- package/styles/appbar/_layout.scss +84 -0
- package/styles/appbar/_material-dark-definition.scss +8 -0
- package/styles/appbar/_material-definition.scss +8 -0
- package/styles/appbar/_tailwind-dark-definition.scss +1 -0
- package/styles/appbar/_tailwind-definition.scss +8 -0
- package/styles/appbar/_theme.scss +208 -0
- package/styles/appbar/bootstrap-dark.css +247 -0
- package/styles/appbar/bootstrap-dark.scss +3 -0
- package/styles/appbar/bootstrap.css +247 -0
- package/styles/appbar/bootstrap.scss +3 -0
- package/styles/appbar/bootstrap4.css +247 -0
- package/styles/appbar/bootstrap4.scss +3 -0
- package/styles/appbar/bootstrap5-dark.css +247 -0
- package/styles/appbar/bootstrap5-dark.scss +3 -0
- package/styles/appbar/bootstrap5.css +247 -0
- package/styles/appbar/bootstrap5.scss +3 -0
- package/styles/appbar/fabric-dark.css +247 -0
- package/styles/appbar/fabric-dark.scss +3 -0
- package/styles/appbar/fabric.css +247 -0
- package/styles/appbar/fabric.scss +3 -0
- package/styles/appbar/fluent-dark.css +247 -0
- package/styles/appbar/fluent-dark.scss +3 -0
- package/styles/appbar/fluent.css +247 -0
- package/styles/appbar/fluent.scss +3 -0
- package/styles/appbar/highcontrast-light.css +247 -0
- package/styles/appbar/highcontrast-light.scss +3 -0
- package/styles/appbar/highcontrast.css +247 -0
- package/styles/appbar/highcontrast.scss +3 -0
- package/styles/appbar/material-dark.css +248 -0
- package/styles/appbar/material-dark.scss +3 -0
- package/styles/appbar/material.css +248 -0
- package/styles/appbar/material.scss +3 -0
- package/styles/appbar/tailwind-dark.css +248 -0
- package/styles/appbar/tailwind-dark.scss +3 -0
- package/styles/appbar/tailwind.css +248 -0
- package/styles/appbar/tailwind.scss +3 -0
- package/styles/bootstrap-dark.css +5503 -3478
- package/styles/bootstrap-dark.scss +4 -0
- package/styles/bootstrap.css +5420 -3550
- package/styles/bootstrap.scss +4 -0
- package/styles/bootstrap4.css +10166 -0
- package/styles/bootstrap4.scss +13 -0
- package/styles/bootstrap5-dark.css +10207 -0
- package/styles/bootstrap5-dark.scss +13 -0
- package/styles/bootstrap5.css +10207 -0
- package/styles/bootstrap5.scss +13 -0
- package/styles/breadcrumb/_all.scss +3 -0
- package/styles/breadcrumb/_bootstrap-dark-definition.scss +54 -0
- package/styles/breadcrumb/_bootstrap-definition.scss +54 -0
- package/styles/breadcrumb/_bootstrap4-definition.scss +54 -0
- package/styles/breadcrumb/_bootstrap5-dark-definition.scss +1 -0
- package/styles/breadcrumb/_bootstrap5-definition.scss +59 -0
- package/styles/breadcrumb/_fabric-dark-definition.scss +59 -0
- package/styles/breadcrumb/_fabric-definition.scss +59 -0
- package/styles/breadcrumb/_fluent-dark-definition.scss +1 -0
- package/styles/breadcrumb/_fluent-definition.scss +62 -0
- package/styles/breadcrumb/_fusionnew-definition.scss +59 -0
- package/styles/breadcrumb/_highcontrast-definition.scss +61 -0
- package/styles/breadcrumb/_highcontrast-light-definition.scss +61 -0
- package/styles/breadcrumb/_layout.scss +491 -0
- package/styles/breadcrumb/_material-dark-definition.scss +50 -0
- package/styles/breadcrumb/_material-definition.scss +50 -0
- package/styles/breadcrumb/_tailwind-dark-definition.scss +1 -0
- package/styles/breadcrumb/_tailwind-definition.scss +60 -0
- package/styles/breadcrumb/_theme.scss +176 -0
- package/styles/breadcrumb/bootstrap-dark.css +395 -0
- package/styles/breadcrumb/bootstrap-dark.scss +4 -0
- package/styles/breadcrumb/bootstrap.css +395 -0
- package/styles/breadcrumb/bootstrap.scss +4 -0
- package/styles/breadcrumb/bootstrap4.css +395 -0
- package/styles/breadcrumb/bootstrap4.scss +4 -0
- package/styles/breadcrumb/bootstrap5-dark.css +409 -0
- package/styles/breadcrumb/bootstrap5-dark.scss +4 -0
- package/styles/breadcrumb/bootstrap5.css +409 -0
- package/styles/breadcrumb/bootstrap5.scss +4 -0
- package/styles/breadcrumb/fabric-dark.css +395 -0
- package/styles/breadcrumb/fabric-dark.scss +4 -0
- package/styles/breadcrumb/fabric.css +395 -0
- package/styles/breadcrumb/fabric.scss +4 -0
- package/styles/breadcrumb/fluent-dark.css +371 -0
- package/styles/breadcrumb/fluent-dark.scss +4 -0
- package/styles/breadcrumb/fluent.css +371 -0
- package/styles/breadcrumb/fluent.scss +4 -0
- package/styles/breadcrumb/highcontrast-light.css +402 -0
- package/styles/breadcrumb/highcontrast-light.scss +4 -0
- package/styles/breadcrumb/highcontrast.css +402 -0
- package/styles/breadcrumb/highcontrast.scss +4 -0
- package/styles/breadcrumb/icons/_bootstrap-dark.scss +14 -0
- package/styles/breadcrumb/icons/_bootstrap.scss +14 -0
- package/styles/breadcrumb/icons/_bootstrap4.scss +14 -0
- package/styles/breadcrumb/icons/_bootstrap5-dark.scss +1 -0
- package/styles/breadcrumb/icons/_bootstrap5.scss +25 -0
- package/styles/breadcrumb/icons/_fabric-dark.scss +14 -0
- package/styles/breadcrumb/icons/_fabric.scss +14 -0
- package/styles/breadcrumb/icons/_fluent-dark.scss +1 -0
- package/styles/breadcrumb/icons/_fluent.scss +25 -0
- package/styles/breadcrumb/icons/_fusionnew.scss +25 -0
- package/styles/breadcrumb/icons/_highcontrast-light.scss +14 -0
- package/styles/breadcrumb/icons/_highcontrast.scss +14 -0
- package/styles/breadcrumb/icons/_material-dark.scss +25 -0
- package/styles/breadcrumb/icons/_material.scss +25 -0
- package/styles/breadcrumb/icons/_material3.scss +25 -0
- package/styles/breadcrumb/icons/_tailwind-dark.scss +25 -0
- package/styles/breadcrumb/icons/_tailwind.scss +25 -0
- package/styles/breadcrumb/material-dark.css +379 -0
- package/styles/breadcrumb/material-dark.scss +4 -0
- package/styles/breadcrumb/material.css +379 -0
- package/styles/breadcrumb/material.scss +4 -0
- package/styles/breadcrumb/tailwind-dark.css +402 -0
- package/styles/breadcrumb/tailwind-dark.scss +4 -0
- package/styles/breadcrumb/tailwind.css +402 -0
- package/styles/breadcrumb/tailwind.scss +4 -0
- package/styles/carousel/_all.scss +2 -0
- package/styles/carousel/_bootstrap-dark-definition.scss +22 -0
- package/styles/carousel/_bootstrap-definition.scss +22 -0
- package/styles/carousel/_bootstrap4-definition.scss +22 -0
- package/styles/carousel/_bootstrap5-dark-definition.scss +1 -0
- package/styles/carousel/_bootstrap5-definition.scss +22 -0
- package/styles/carousel/_fabric-dark-definition.scss +22 -0
- package/styles/carousel/_fabric-definition.scss +22 -0
- package/styles/carousel/_fluent-dark-definition.scss +1 -0
- package/styles/carousel/_fluent-definition.scss +22 -0
- package/styles/carousel/_fusionnew-definition.scss +22 -0
- package/styles/carousel/_highcontrast-definition.scss +22 -0
- package/styles/carousel/_highcontrast-light-definition.scss +22 -0
- package/styles/carousel/_layout.scss +225 -0
- package/styles/carousel/_material-dark-definition.scss +22 -0
- package/styles/carousel/_material-definition.scss +22 -0
- package/styles/carousel/_tailwind-dark-definition.scss +1 -0
- package/styles/carousel/_tailwind-definition.scss +22 -0
- package/styles/carousel/_theme.scss +56 -0
- package/styles/carousel/bootstrap-dark.css +264 -0
- package/styles/carousel/bootstrap-dark.scss +5 -0
- package/styles/carousel/bootstrap.css +264 -0
- package/styles/carousel/bootstrap.scss +5 -0
- package/styles/carousel/bootstrap4.css +264 -0
- package/styles/carousel/bootstrap4.scss +5 -0
- package/styles/carousel/bootstrap5-dark.css +264 -0
- package/styles/carousel/bootstrap5-dark.scss +5 -0
- package/styles/carousel/bootstrap5.css +264 -0
- package/styles/carousel/bootstrap5.scss +5 -0
- package/styles/carousel/fabric-dark.css +264 -0
- package/styles/carousel/fabric-dark.scss +5 -0
- package/styles/carousel/fabric.css +264 -0
- package/styles/carousel/fabric.scss +5 -0
- package/styles/carousel/fluent-dark.css +264 -0
- package/styles/carousel/fluent-dark.scss +5 -0
- package/styles/carousel/fluent.css +264 -0
- package/styles/carousel/fluent.scss +5 -0
- package/styles/carousel/highcontrast-light.css +264 -0
- package/styles/carousel/highcontrast-light.scss +5 -0
- package/styles/carousel/highcontrast.css +264 -0
- package/styles/carousel/highcontrast.scss +5 -0
- package/styles/carousel/icons/_bootstrap-dark.scss +30 -0
- package/styles/carousel/icons/_bootstrap.scss +30 -0
- package/styles/carousel/icons/_bootstrap4.scss +30 -0
- package/styles/carousel/icons/_bootstrap5-dark.scss +1 -0
- package/styles/carousel/icons/_bootstrap5.scss +30 -0
- package/styles/carousel/icons/_fabric-dark.scss +30 -0
- package/styles/carousel/icons/_fabric.scss +30 -0
- package/styles/carousel/icons/_fluent-dark.scss +1 -0
- package/styles/carousel/icons/_fluent.scss +30 -0
- package/styles/carousel/icons/_fusionnew.scss +30 -0
- package/styles/carousel/icons/_highcontrast-light.scss +30 -0
- package/styles/carousel/icons/_highcontrast.scss +30 -0
- package/styles/carousel/icons/_material-dark.scss +30 -0
- package/styles/carousel/icons/_material.scss +30 -0
- package/styles/carousel/icons/_material3.scss +30 -0
- package/styles/carousel/icons/_tailwind-dark.scss +1 -0
- package/styles/carousel/icons/_tailwind.scss +30 -0
- package/styles/carousel/material-dark.css +265 -0
- package/styles/carousel/material-dark.scss +5 -0
- package/styles/carousel/material.css +265 -0
- package/styles/carousel/material.scss +5 -0
- package/styles/carousel/tailwind-dark.css +265 -0
- package/styles/carousel/tailwind-dark.scss +5 -0
- package/styles/carousel/tailwind.css +265 -0
- package/styles/carousel/tailwind.scss +5 -0
- package/styles/context-menu/_bootstrap-dark-definition.scss +49 -50
- package/styles/context-menu/_bootstrap-definition.scss +1 -3
- package/styles/context-menu/_bootstrap4-definition.scss +50 -0
- package/styles/context-menu/_bootstrap5-dark-definition.scss +1 -0
- package/styles/context-menu/_bootstrap5-definition.scss +52 -0
- package/styles/context-menu/_fabric-dark-definition.scss +49 -50
- package/styles/context-menu/_fabric-definition.scss +0 -2
- package/styles/context-menu/_fluent-dark-definition.scss +1 -0
- package/styles/context-menu/_fluent-definition.scss +52 -0
- package/styles/context-menu/_fusionnew-definition.scss +52 -0
- package/styles/context-menu/_highcontrast-definition.scss +0 -2
- package/styles/context-menu/_highcontrast-light-definition.scss +2 -3
- package/styles/context-menu/_layout-mixin.scss +19 -16
- package/styles/context-menu/_layout.scss +96 -5
- package/styles/context-menu/_material-dark-definition.scss +49 -50
- package/styles/context-menu/_material-definition.scss +3 -5
- package/styles/context-menu/_tailwind-dark-definition.scss +1 -0
- package/styles/context-menu/_tailwind-definition.scss +53 -0
- package/styles/context-menu/_theme-mixin.scss +16 -12
- package/styles/context-menu/_theme.scss +15 -1
- package/styles/context-menu/bootstrap-dark.css +206 -108
- package/styles/context-menu/bootstrap-dark.scss +3 -0
- package/styles/context-menu/bootstrap.css +206 -107
- package/styles/context-menu/bootstrap.scss +3 -0
- package/styles/context-menu/bootstrap4.css +367 -0
- package/styles/context-menu/bootstrap4.scss +7 -0
- package/styles/context-menu/bootstrap5-dark.css +355 -0
- package/styles/context-menu/bootstrap5-dark.scss +7 -0
- package/styles/context-menu/bootstrap5.css +355 -0
- package/styles/context-menu/bootstrap5.scss +7 -0
- package/styles/context-menu/fabric-dark.css +207 -109
- package/styles/context-menu/fabric-dark.scss +3 -0
- package/styles/context-menu/fabric.css +205 -106
- package/styles/context-menu/fabric.scss +3 -0
- package/styles/context-menu/fluent-dark.css +363 -0
- package/styles/context-menu/fluent-dark.scss +7 -0
- package/styles/context-menu/fluent.css +363 -0
- package/styles/context-menu/fluent.scss +7 -0
- package/styles/context-menu/highcontrast-light.css +366 -0
- package/styles/context-menu/highcontrast-light.scss +7 -0
- package/styles/context-menu/highcontrast.css +205 -106
- package/styles/context-menu/highcontrast.scss +3 -0
- package/styles/context-menu/icons/_bootstrap-dark.scss +5 -2
- package/styles/context-menu/icons/_bootstrap.scss +5 -2
- package/styles/context-menu/icons/_bootstrap4.scss +33 -0
- package/styles/context-menu/icons/_bootstrap5-dark.scss +1 -0
- package/styles/context-menu/icons/_bootstrap5.scss +33 -0
- package/styles/context-menu/icons/_fabric-dark.scss +5 -2
- package/styles/context-menu/icons/_fabric.scss +5 -2
- package/styles/context-menu/icons/_fluent-dark.scss +1 -0
- package/styles/context-menu/icons/_fluent.scss +33 -0
- package/styles/context-menu/icons/_fusionnew.scss +33 -0
- package/styles/context-menu/icons/_highcontrast-light.scss +5 -2
- package/styles/context-menu/icons/_highcontrast.scss +5 -2
- package/styles/context-menu/icons/_material-dark.scss +5 -2
- package/styles/context-menu/icons/_material.scss +5 -2
- package/styles/context-menu/icons/_material3.scss +33 -0
- package/styles/context-menu/icons/_tailwind-dark.scss +33 -0
- package/styles/context-menu/icons/_tailwind.scss +33 -0
- package/styles/context-menu/material-dark.css +223 -107
- package/styles/context-menu/material-dark.scss +3 -0
- package/styles/context-menu/material.css +228 -110
- package/styles/context-menu/material.scss +3 -0
- package/styles/context-menu/tailwind-dark.css +380 -0
- package/styles/context-menu/tailwind-dark.scss +7 -0
- package/styles/context-menu/tailwind.css +380 -0
- package/styles/context-menu/tailwind.scss +7 -0
- package/styles/fabric-dark.css +5766 -3690
- package/styles/fabric-dark.scss +4 -0
- package/styles/fabric.css +5959 -4038
- package/styles/fabric.scss +4 -0
- package/styles/fluent-dark.css +10172 -0
- package/styles/fluent-dark.scss +13 -0
- package/styles/fluent.css +10172 -0
- package/styles/fluent.scss +13 -0
- package/styles/h-scroll/_all.scss +1 -1
- package/styles/h-scroll/_bootstrap-dark-definition.scss +46 -40
- package/styles/h-scroll/_bootstrap-definition.scss +14 -7
- package/styles/h-scroll/_bootstrap4-definition.scss +56 -0
- package/styles/h-scroll/_bootstrap5-dark-definition.scss +1 -0
- package/styles/h-scroll/_bootstrap5-definition.scss +83 -0
- package/styles/h-scroll/_fabric-dark-definition.scss +48 -42
- package/styles/h-scroll/_fabric-definition.scss +17 -9
- package/styles/h-scroll/_fluent-dark-definition.scss +1 -0
- package/styles/h-scroll/_fluent-definition.scss +83 -0
- package/styles/h-scroll/_fusionnew-definition.scss +83 -0
- package/styles/h-scroll/_highcontrast-definition.scss +15 -17
- package/styles/h-scroll/_highcontrast-light-definition.scss +49 -46
- package/styles/h-scroll/_layout.scss +15 -15
- package/styles/h-scroll/_material-dark-definition.scss +56 -51
- package/styles/h-scroll/_material-definition.scss +21 -15
- package/styles/h-scroll/_tailwind-dark-definition.scss +1 -0
- package/styles/h-scroll/_tailwind-definition.scss +83 -0
- package/styles/h-scroll/_theme.scss +15 -29
- package/styles/h-scroll/bootstrap-dark.css +53 -66
- package/styles/h-scroll/bootstrap-dark.scss +1 -0
- package/styles/h-scroll/bootstrap.css +32 -80
- package/styles/h-scroll/bootstrap4.css +260 -0
- package/styles/h-scroll/bootstrap4.scss +4 -0
- package/styles/h-scroll/bootstrap5-dark.css +280 -0
- package/styles/h-scroll/bootstrap5-dark.scss +4 -0
- package/styles/h-scroll/bootstrap5.css +280 -0
- package/styles/h-scroll/bootstrap5.scss +4 -0
- package/styles/h-scroll/fabric-dark.css +54 -67
- package/styles/h-scroll/fabric-dark.scss +1 -0
- package/styles/h-scroll/fabric.css +32 -80
- package/styles/h-scroll/fluent-dark.css +280 -0
- package/styles/h-scroll/fluent-dark.scss +4 -0
- package/styles/h-scroll/fluent.css +280 -0
- package/styles/h-scroll/fluent.scss +4 -0
- package/styles/h-scroll/highcontrast-light.css +259 -0
- package/styles/h-scroll/highcontrast-light.scss +4 -0
- package/styles/h-scroll/highcontrast.css +26 -89
- package/styles/h-scroll/{_icons.scss → icons/_bootstrap-dark.scss} +13 -13
- package/styles/h-scroll/icons/_bootstrap.scss +3 -4
- package/styles/h-scroll/icons/_bootstrap4.scss +49 -0
- package/styles/h-scroll/icons/_bootstrap5-dark.scss +1 -0
- package/styles/h-scroll/icons/_bootstrap5.scss +49 -0
- package/styles/h-scroll/icons/_fabric-dark.scss +49 -0
- package/styles/h-scroll/icons/_fabric.scss +5 -5
- package/styles/h-scroll/icons/_fluent-dark.scss +1 -0
- package/styles/h-scroll/icons/_fluent.scss +49 -0
- package/styles/h-scroll/icons/_fusionnew.scss +49 -0
- package/styles/h-scroll/icons/_highcontrast-light.scss +49 -0
- package/styles/h-scroll/icons/_highcontrast.scss +5 -5
- package/styles/h-scroll/icons/_material-dark.scss +49 -0
- package/styles/h-scroll/icons/_material.scss +3 -3
- package/styles/h-scroll/icons/_material3.scss +49 -0
- package/styles/h-scroll/icons/_tailwind-dark.scss +1 -0
- package/styles/h-scroll/icons/_tailwind.scss +49 -0
- package/styles/h-scroll/material-dark.css +56 -70
- package/styles/h-scroll/material-dark.scss +1 -0
- package/styles/h-scroll/material.css +33 -82
- package/styles/h-scroll/tailwind-dark.css +281 -0
- package/styles/h-scroll/tailwind-dark.scss +4 -0
- package/styles/h-scroll/tailwind.css +281 -0
- package/styles/h-scroll/tailwind.scss +4 -0
- package/styles/highcontrast-light.css +10029 -0
- package/styles/highcontrast-light.scss +13 -0
- package/styles/highcontrast.css +6039 -4460
- package/styles/highcontrast.scss +4 -0
- package/styles/material-dark.css +6282 -3945
- package/styles/material-dark.scss +4 -0
- package/styles/material.css +6210 -4026
- package/styles/material.scss +4 -0
- package/styles/menu/_bootstrap-dark-definition.scss +32 -21
- package/styles/menu/_bootstrap-definition.scss +12 -2
- package/styles/menu/_bootstrap4-definition.scss +64 -0
- package/styles/menu/_bootstrap5-dark-definition.scss +1 -0
- package/styles/menu/_bootstrap5-definition.scss +67 -0
- package/styles/menu/_fabric-dark-definition.scss +33 -22
- package/styles/menu/_fabric-definition.scss +11 -1
- package/styles/menu/_fluent-dark-definition.scss +1 -0
- package/styles/menu/_fluent-definition.scss +67 -0
- package/styles/menu/_fusionnew-definition.scss +67 -0
- package/styles/menu/_highcontrast-definition.scss +12 -2
- package/styles/menu/_highcontrast-light-definition.scss +11 -1
- package/styles/menu/_layout.scss +363 -37
- package/styles/menu/_material-dark-definition.scss +30 -19
- package/styles/menu/_material-definition.scss +10 -0
- package/styles/menu/_tailwind-dark-definition.scss +1 -0
- package/styles/menu/_tailwind-definition.scss +66 -0
- package/styles/menu/_theme.scss +201 -17
- package/styles/menu/bootstrap-dark.css +717 -319
- package/styles/menu/bootstrap.css +701 -304
- package/styles/menu/bootstrap.scss +1 -0
- package/styles/menu/bootstrap4.css +1126 -0
- package/styles/menu/bootstrap4.scss +8 -0
- package/styles/menu/bootstrap5-dark.css +1083 -0
- package/styles/menu/bootstrap5-dark.scss +8 -0
- package/styles/menu/bootstrap5.css +1083 -0
- package/styles/menu/bootstrap5.scss +8 -0
- package/styles/menu/fabric-dark.css +716 -318
- package/styles/menu/fabric.css +696 -298
- package/styles/menu/fabric.scss +1 -0
- package/styles/menu/fluent-dark.css +1106 -0
- package/styles/menu/fluent-dark.scss +8 -0
- package/styles/menu/fluent.css +1106 -0
- package/styles/menu/fluent.scss +8 -0
- package/styles/menu/highcontrast-light.css +1088 -0
- package/styles/menu/highcontrast-light.scss +8 -0
- package/styles/menu/highcontrast.css +698 -300
- package/styles/menu/highcontrast.scss +1 -0
- package/styles/menu/icons/_bootstrap-dark.scss +58 -3
- package/styles/menu/icons/_bootstrap.scss +58 -3
- package/styles/menu/icons/_bootstrap4.scss +134 -0
- package/styles/menu/icons/_bootstrap5-dark.scss +1 -0
- package/styles/menu/icons/_bootstrap5.scss +134 -0
- package/styles/menu/icons/_fabric-dark.scss +62 -7
- package/styles/menu/icons/_fabric.scss +62 -7
- package/styles/menu/icons/_fluent-dark.scss +1 -0
- package/styles/menu/icons/_fluent.scss +134 -0
- package/styles/menu/icons/_fusionnew.scss +134 -0
- package/styles/menu/icons/_highcontrast-light.scss +58 -3
- package/styles/menu/icons/_highcontrast.scss +58 -3
- package/styles/menu/icons/_material-dark.scss +58 -3
- package/styles/menu/icons/_material.scss +58 -3
- package/styles/menu/icons/_material3.scss +134 -0
- package/styles/menu/icons/_tailwind-dark.scss +134 -0
- package/styles/menu/icons/_tailwind.scss +134 -0
- package/styles/menu/material-dark.css +715 -319
- package/styles/menu/material.css +699 -303
- package/styles/menu/material.scss +1 -0
- package/styles/menu/tailwind-dark.css +1102 -0
- package/styles/menu/tailwind-dark.scss +8 -0
- package/styles/menu/tailwind.css +1102 -0
- package/styles/menu/tailwind.scss +8 -0
- package/styles/pager/_all.scss +2 -0
- package/styles/pager/_bootstrap-dark-definition.scss +131 -0
- package/styles/pager/_bootstrap-definition.scss +131 -0
- package/styles/pager/_bootstrap4-definition.scss +131 -0
- package/styles/pager/_bootstrap5-dark-definition.scss +1 -0
- package/styles/pager/_bootstrap5-definition.scss +146 -0
- package/styles/pager/_fabric-dark-definition.scss +131 -0
- package/styles/pager/_fabric-definition.scss +129 -0
- package/styles/pager/_fluent-dark-definition.scss +1 -0
- package/styles/pager/_fluent-definition.scss +133 -0
- package/styles/pager/_fusionnew-definition.scss +146 -0
- package/styles/pager/_highcontrast-definition.scss +129 -0
- package/styles/pager/_highcontrast-light-definition.scss +131 -0
- package/styles/pager/_layout.scss +896 -0
- package/styles/pager/_material-dark-definition.scss +132 -0
- package/styles/pager/_material-definition.scss +130 -0
- package/styles/pager/_tailwind-dark-definition.scss +1 -0
- package/styles/pager/_tailwind-definition.scss +132 -0
- package/styles/pager/_theme.scss +152 -0
- package/styles/pager/bootstrap-dark.css +688 -0
- package/styles/pager/bootstrap-dark.scss +4 -0
- package/styles/pager/bootstrap.css +688 -0
- package/styles/pager/bootstrap.scss +4 -0
- package/styles/pager/bootstrap4.css +688 -0
- package/styles/pager/bootstrap4.scss +4 -0
- package/styles/pager/bootstrap5-dark.css +723 -0
- package/styles/pager/bootstrap5-dark.scss +4 -0
- package/styles/pager/bootstrap5.css +723 -0
- package/styles/pager/bootstrap5.scss +4 -0
- package/styles/pager/fabric-dark.css +688 -0
- package/styles/pager/fabric-dark.scss +4 -0
- package/styles/pager/fabric.css +688 -0
- package/styles/pager/fabric.scss +4 -0
- package/styles/pager/fluent-dark.css +690 -0
- package/styles/pager/fluent-dark.scss +4 -0
- package/styles/pager/fluent.css +690 -0
- package/styles/pager/fluent.scss +4 -0
- package/styles/pager/highcontrast-light.css +688 -0
- package/styles/pager/highcontrast-light.scss +4 -0
- package/styles/pager/highcontrast.css +688 -0
- package/styles/pager/highcontrast.scss +4 -0
- package/styles/pager/icons/_bootstrap-dark.scss +50 -0
- package/styles/pager/icons/_bootstrap.scss +50 -0
- package/styles/pager/icons/_bootstrap4.scss +50 -0
- package/styles/pager/icons/_bootstrap5-dark.scss +1 -0
- package/styles/pager/icons/_bootstrap5.scss +50 -0
- package/styles/pager/icons/_fabric-dark.scss +50 -0
- package/styles/pager/icons/_fabric.scss +50 -0
- package/styles/pager/icons/_fluent-dark.scss +1 -0
- package/styles/pager/icons/_fluent.scss +50 -0
- package/styles/pager/icons/_fusionnew.scss +50 -0
- package/styles/pager/icons/_highcontrast-light.scss +50 -0
- package/styles/pager/icons/_highcontrast.scss +46 -0
- package/styles/pager/icons/_material-dark.scss +50 -0
- package/styles/pager/icons/_material.scss +46 -0
- package/styles/pager/icons/_material3.scss +50 -0
- package/styles/pager/icons/_tailwind-dark.scss +1 -0
- package/styles/pager/icons/_tailwind.scss +50 -0
- package/styles/pager/material-dark.css +689 -0
- package/styles/pager/material-dark.scss +4 -0
- package/styles/pager/material.css +689 -0
- package/styles/pager/material.scss +4 -0
- package/styles/pager/tailwind-dark.css +815 -0
- package/styles/pager/tailwind-dark.scss +4 -0
- package/styles/pager/tailwind.css +815 -0
- package/styles/pager/tailwind.scss +4 -0
- package/styles/sidebar/_bootstrap4-definition.scss +4 -0
- package/styles/sidebar/_bootstrap5-dark-definition.scss +1 -0
- package/styles/sidebar/_bootstrap5-definition.scss +6 -0
- package/styles/sidebar/_fabric-definition.scss +0 -2
- package/styles/sidebar/_fluent-dark-definition.scss +1 -0
- package/styles/sidebar/_fluent-definition.scss +6 -0
- package/styles/sidebar/_fusionnew-definition.scss +6 -0
- package/styles/sidebar/_highcontrast-definition.scss +1 -1
- package/styles/sidebar/_icons.scss +1 -1
- package/styles/sidebar/_layout.scss +1 -0
- package/styles/sidebar/_tailwind-dark-definition.scss +1 -0
- package/styles/sidebar/_tailwind-definition.scss +6 -0
- package/styles/sidebar/_theme.scss +56 -34
- package/styles/sidebar/bootstrap-dark.css +29 -25
- package/styles/sidebar/bootstrap.css +29 -25
- package/styles/sidebar/bootstrap4.css +149 -0
- package/styles/sidebar/bootstrap4.scss +3 -0
- package/styles/sidebar/bootstrap5-dark.css +147 -0
- package/styles/sidebar/bootstrap5-dark.scss +3 -0
- package/styles/sidebar/bootstrap5.css +147 -0
- package/styles/sidebar/bootstrap5.scss +3 -0
- package/styles/sidebar/fabric-dark.css +29 -25
- package/styles/sidebar/fabric.css +29 -25
- package/styles/sidebar/fluent-dark.css +147 -0
- package/styles/sidebar/fluent-dark.scss +3 -0
- package/styles/sidebar/fluent.css +147 -0
- package/styles/sidebar/fluent.scss +3 -0
- package/styles/sidebar/highcontrast-light.css +149 -0
- package/styles/sidebar/highcontrast-light.scss +3 -0
- package/styles/sidebar/highcontrast.css +30 -26
- package/styles/sidebar/material-dark.css +29 -25
- package/styles/sidebar/material.css +29 -25
- package/styles/sidebar/tailwind-dark.css +148 -0
- package/styles/sidebar/tailwind-dark.scss +3 -0
- package/styles/sidebar/tailwind.css +148 -0
- package/styles/sidebar/tailwind.scss +3 -0
- package/styles/tab/_bootstrap-dark-definition.scss +632 -374
- package/styles/tab/_bootstrap-definition.scss +279 -13
- package/styles/tab/_bootstrap4-definition.scss +666 -0
- package/styles/tab/_bootstrap5-dark-definition.scss +1 -0
- package/styles/tab/_bootstrap5-definition.scss +656 -0
- package/styles/tab/_fabric-dark-definition.scss +644 -385
- package/styles/tab/_fabric-definition.scss +281 -15
- package/styles/tab/_fluent-dark-definition.scss +1 -0
- package/styles/tab/_fluent-definition.scss +664 -0
- package/styles/tab/_fusionnew-definition.scss +656 -0
- package/styles/tab/_highcontrast-definition.scss +283 -17
- package/styles/tab/_highcontrast-light-definition.scss +667 -411
- package/styles/tab/_icons.scss +1 -0
- package/styles/tab/_layout.scss +697 -753
- package/styles/tab/_material-dark-definition.scss +627 -370
- package/styles/tab/_material-definition.scss +277 -11
- package/styles/tab/_tailwind-dark-definition.scss +1 -0
- package/styles/tab/_tailwind-definition.scss +685 -0
- package/styles/tab/_theme.scss +402 -537
- package/styles/tab/bootstrap-dark.css +1226 -1067
- package/styles/tab/bootstrap-dark.scss +1 -0
- package/styles/tab/bootstrap.css +1173 -1106
- package/styles/tab/bootstrap4.css +4031 -0
- package/styles/tab/bootstrap4.scss +5 -0
- package/styles/tab/bootstrap5-dark.css +4029 -0
- package/styles/tab/bootstrap5-dark.scss +5 -0
- package/styles/tab/bootstrap5.css +4029 -0
- package/styles/tab/bootstrap5.scss +5 -0
- package/styles/tab/fabric-dark.css +1212 -1096
- package/styles/tab/fabric-dark.scss +1 -0
- package/styles/tab/fabric.css +1173 -1148
- package/styles/tab/fluent-dark.css +4031 -0
- package/styles/tab/fluent-dark.scss +5 -0
- package/styles/tab/fluent.css +4031 -0
- package/styles/tab/fluent.scss +5 -0
- package/styles/tab/highcontrast-light.css +4022 -0
- package/styles/tab/highcontrast-light.scss +5 -0
- package/styles/tab/highcontrast.css +1086 -1215
- package/styles/tab/icons/_bootstrap-dark.scss +108 -0
- package/styles/tab/icons/_bootstrap.scss +11 -35
- package/styles/tab/icons/_bootstrap4.scss +115 -0
- package/styles/tab/icons/_bootstrap5-dark.scss +1 -0
- package/styles/tab/icons/_bootstrap5.scss +104 -0
- package/styles/tab/icons/_fabric-dark.scss +108 -0
- package/styles/tab/icons/_fabric.scss +11 -35
- package/styles/tab/icons/_fluent-dark.scss +1 -0
- package/styles/tab/icons/_fluent.scss +108 -0
- package/styles/tab/icons/_fusionnew.scss +104 -0
- package/styles/tab/icons/_highcontrast-light.scss +104 -0
- package/styles/tab/icons/_highcontrast.scss +11 -28
- package/styles/tab/icons/_material-dark.scss +104 -0
- package/styles/tab/icons/_material.scss +9 -37
- package/styles/tab/icons/_material3.scss +104 -0
- package/styles/tab/icons/_tailwind-dark.scss +1 -0
- package/styles/tab/icons/_tailwind.scss +104 -0
- package/styles/tab/material-dark.css +1334 -955
- package/styles/tab/material-dark.scss +1 -0
- package/styles/tab/material.css +1280 -992
- package/styles/tab/tailwind-dark.css +4046 -0
- package/styles/tab/tailwind-dark.scss +5 -0
- package/styles/tab/tailwind.css +4046 -0
- package/styles/tab/tailwind.scss +5 -0
- package/styles/tailwind-dark.css +10351 -0
- package/styles/tailwind-dark.scss +13 -0
- package/styles/tailwind.css +10351 -0
- package/styles/tailwind.scss +13 -0
- package/styles/toolbar/_all.scss +1 -1
- package/styles/toolbar/_bootstrap-dark-definition.scss +193 -121
- package/styles/toolbar/_bootstrap-definition.scss +107 -34
- package/styles/toolbar/_bootstrap4-definition.scss +211 -0
- package/styles/toolbar/_bootstrap5-dark-definition.scss +1 -0
- package/styles/toolbar/_bootstrap5-definition.scss +220 -0
- package/styles/toolbar/_fabric-dark-definition.scss +208 -140
- package/styles/toolbar/_fabric-definition.scss +97 -28
- package/styles/toolbar/_fluent-dark-definition.scss +1 -0
- package/styles/toolbar/_fluent-definition.scss +210 -0
- package/styles/toolbar/_fusionnew-definition.scss +220 -0
- package/styles/toolbar/_highcontrast-definition.scss +99 -30
- package/styles/toolbar/_highcontrast-light-definition.scss +219 -149
- package/styles/toolbar/_layout.scss +690 -1087
- package/styles/toolbar/_material-dark-definition.scss +216 -148
- package/styles/toolbar/_material-definition.scss +117 -46
- package/styles/toolbar/_tailwind-dark-definition.scss +1 -0
- package/styles/toolbar/_tailwind-definition.scss +210 -0
- package/styles/toolbar/_theme.scss +246 -263
- package/styles/toolbar/bootstrap-dark.css +768 -1105
- package/styles/toolbar/bootstrap-dark.scss +1 -0
- package/styles/toolbar/bootstrap.css +761 -1111
- package/styles/toolbar/bootstrap.scss +1 -0
- package/styles/toolbar/bootstrap4.css +1071 -0
- package/styles/toolbar/bootstrap4.scss +8 -0
- package/styles/toolbar/bootstrap5-dark.css +1082 -0
- package/styles/toolbar/bootstrap5-dark.scss +8 -0
- package/styles/toolbar/bootstrap5.css +1082 -0
- package/styles/toolbar/bootstrap5.scss +8 -0
- package/styles/toolbar/fabric-dark.css +779 -1042
- package/styles/toolbar/fabric-dark.scss +1 -0
- package/styles/toolbar/fabric.css +767 -1041
- package/styles/toolbar/fabric.scss +1 -0
- package/styles/toolbar/fluent-dark.css +1081 -0
- package/styles/toolbar/fluent-dark.scss +8 -0
- package/styles/toolbar/fluent.css +1081 -0
- package/styles/toolbar/fluent.scss +8 -0
- package/styles/toolbar/highcontrast-light.css +1070 -0
- package/styles/toolbar/highcontrast-light.scss +8 -0
- package/styles/toolbar/highcontrast.css +744 -1089
- package/styles/toolbar/highcontrast.scss +1 -0
- package/styles/toolbar/icons/_bootstrap-dark.scss +16 -0
- package/styles/toolbar/icons/_bootstrap.scss +1 -1
- package/styles/toolbar/icons/_bootstrap4.scss +16 -0
- package/styles/toolbar/icons/_bootstrap5-dark.scss +1 -0
- package/styles/toolbar/icons/_bootstrap5.scss +16 -0
- package/styles/toolbar/icons/_fabric-dark.scss +16 -0
- package/styles/toolbar/icons/_fabric.scss +1 -1
- package/styles/toolbar/icons/_fluent-dark.scss +1 -0
- package/styles/toolbar/icons/_fluent.scss +16 -0
- package/styles/toolbar/icons/_fusionnew.scss +16 -0
- package/styles/toolbar/icons/_highcontrast-light.scss +16 -0
- package/styles/toolbar/icons/_highcontrast.scss +1 -1
- package/styles/toolbar/icons/_material-dark.scss +16 -0
- package/styles/toolbar/icons/_material.scss +1 -1
- package/styles/toolbar/icons/_material3.scss +16 -0
- package/styles/toolbar/icons/_tailwind-dark.scss +1 -0
- package/styles/toolbar/icons/_tailwind.scss +16 -0
- package/styles/toolbar/material-dark.css +747 -1010
- package/styles/toolbar/material-dark.scss +1 -0
- package/styles/toolbar/material.css +753 -1027
- package/styles/toolbar/material.scss +1 -0
- package/styles/toolbar/tailwind-dark.css +1082 -0
- package/styles/toolbar/tailwind-dark.scss +8 -0
- package/styles/toolbar/tailwind.css +1082 -0
- package/styles/toolbar/tailwind.scss +8 -0
- package/styles/treeview/_all.scss +1 -1
- package/styles/treeview/_bootstrap-dark-definition.scss +104 -117
- package/styles/treeview/_bootstrap-definition.scss +24 -38
- package/styles/treeview/_bootstrap4-definition.scss +141 -0
- package/styles/treeview/_bootstrap5-dark-definition.scss +1 -0
- package/styles/treeview/_bootstrap5-definition.scss +120 -0
- package/styles/treeview/_fabric-dark-definition.scss +102 -116
- package/styles/treeview/_fabric-definition.scss +24 -38
- package/styles/treeview/_fluent-dark-definition.scss +1 -0
- package/styles/treeview/_fluent-definition.scss +120 -0
- package/styles/treeview/_fusionnew-definition.scss +120 -0
- package/styles/treeview/_highcontrast-definition.scss +24 -38
- package/styles/treeview/_highcontrast-light-definition.scss +112 -126
- package/styles/treeview/_layout.scss +619 -28
- package/styles/treeview/_material-dark-definition.scss +104 -116
- package/styles/treeview/_material-definition.scss +25 -39
- package/styles/treeview/_tailwind-dark-definition.scss +1 -0
- package/styles/treeview/_tailwind-definition.scss +124 -0
- package/styles/treeview/_theme.scss +128 -27
- package/styles/treeview/bootstrap-dark.css +230 -172
- package/styles/treeview/bootstrap.css +230 -168
- package/styles/treeview/bootstrap4.css +829 -0
- package/styles/treeview/bootstrap4.scss +6 -0
- package/styles/treeview/bootstrap5-dark.css +847 -0
- package/styles/treeview/bootstrap5-dark.scss +6 -0
- package/styles/treeview/bootstrap5.css +847 -0
- package/styles/treeview/bootstrap5.scss +6 -0
- package/styles/treeview/fabric-dark.css +230 -168
- package/styles/treeview/fabric.css +230 -168
- package/styles/treeview/fluent-dark.css +852 -0
- package/styles/treeview/fluent-dark.scss +6 -0
- package/styles/treeview/fluent.css +852 -0
- package/styles/treeview/fluent.scss +6 -0
- package/styles/treeview/highcontrast-light.css +736 -0
- package/styles/treeview/highcontrast-light.scss +6 -0
- package/styles/treeview/highcontrast.css +230 -171
- package/styles/treeview/icons/_bootstrap-dark.scss +2 -2
- package/styles/treeview/icons/_bootstrap.scss +2 -2
- package/styles/treeview/icons/_bootstrap4.scss +39 -0
- package/styles/treeview/icons/_bootstrap5-dark.scss +1 -0
- package/styles/treeview/icons/_bootstrap5.scss +43 -0
- package/styles/treeview/icons/_fabric-dark.scss +2 -2
- package/styles/treeview/icons/_fabric.scss +2 -2
- package/styles/treeview/icons/_fluent-dark.scss +1 -0
- package/styles/treeview/icons/_fluent.scss +43 -0
- package/styles/treeview/icons/_fusionnew.scss +43 -0
- package/styles/treeview/icons/_highcontrast-light.scss +2 -2
- package/styles/treeview/icons/_highcontrast.scss +2 -2
- package/styles/treeview/icons/_material-dark.scss +2 -2
- package/styles/treeview/icons/_material.scss +2 -2
- package/styles/treeview/icons/_material3.scss +43 -0
- package/styles/treeview/icons/_tailwind-dark.scss +43 -0
- package/styles/treeview/icons/_tailwind.scss +43 -0
- package/styles/treeview/material-dark.css +242 -172
- package/styles/treeview/material.css +238 -167
- package/styles/treeview/tailwind-dark.css +840 -0
- package/styles/treeview/tailwind-dark.scss +6 -0
- package/styles/treeview/tailwind.css +840 -0
- package/styles/treeview/tailwind.scss +6 -0
- package/styles/v-scroll/_all.scss +1 -1
- package/styles/v-scroll/_bootstrap-dark-definition.scss +39 -38
- package/styles/v-scroll/_bootstrap-definition.scss +8 -8
- package/styles/v-scroll/_bootstrap4-definition.scss +49 -0
- package/styles/v-scroll/_bootstrap5-dark-definition.scss +1 -0
- package/styles/v-scroll/_bootstrap5-definition.scss +49 -0
- package/styles/v-scroll/_fabric-dark-definition.scss +41 -40
- package/styles/v-scroll/_fabric-definition.scss +10 -10
- package/styles/v-scroll/_fluent-dark-definition.scss +1 -0
- package/styles/v-scroll/_fluent-definition.scss +49 -0
- package/styles/v-scroll/_fusionnew-definition.scss +49 -0
- package/styles/v-scroll/_highcontrast-definition.scss +10 -11
- package/styles/v-scroll/_highcontrast-light-definition.scss +41 -41
- package/styles/v-scroll/_layout.scss +4 -4
- package/styles/v-scroll/_material-dark-definition.scss +46 -45
- package/styles/v-scroll/_material-definition.scss +10 -10
- package/styles/v-scroll/_tailwind-dark-definition.scss +1 -0
- package/styles/v-scroll/_tailwind-definition.scss +49 -0
- package/styles/v-scroll/_theme.scss +2 -27
- package/styles/v-scroll/bootstrap-dark.css +25 -51
- package/styles/v-scroll/bootstrap-dark.scss +1 -0
- package/styles/v-scroll/bootstrap.css +13 -58
- package/styles/v-scroll/bootstrap4.css +202 -0
- package/styles/v-scroll/bootstrap4.scss +4 -0
- package/styles/v-scroll/bootstrap5-dark.css +202 -0
- package/styles/v-scroll/bootstrap5-dark.scss +4 -0
- package/styles/v-scroll/bootstrap5.css +202 -0
- package/styles/v-scroll/bootstrap5.scss +4 -0
- package/styles/v-scroll/fabric-dark.css +26 -52
- package/styles/v-scroll/fabric-dark.scss +1 -0
- package/styles/v-scroll/fabric.css +14 -59
- package/styles/v-scroll/fluent-dark.css +202 -0
- package/styles/v-scroll/fluent-dark.scss +4 -0
- package/styles/v-scroll/fluent.css +202 -0
- package/styles/v-scroll/fluent.scss +4 -0
- package/styles/v-scroll/highcontrast-light.css +201 -0
- package/styles/v-scroll/highcontrast-light.scss +4 -0
- package/styles/v-scroll/highcontrast.css +14 -74
- package/styles/v-scroll/icons/_bootstrap-dark.scss +27 -0
- package/styles/v-scroll/icons/_bootstrap.scss +1 -1
- package/styles/v-scroll/icons/_bootstrap4.scss +27 -0
- package/styles/v-scroll/icons/_bootstrap5-dark.scss +1 -0
- package/styles/v-scroll/icons/_bootstrap5.scss +27 -0
- package/styles/v-scroll/icons/_fabric-dark.scss +27 -0
- package/styles/v-scroll/icons/_fabric.scss +3 -2
- package/styles/v-scroll/icons/_fluent-dark.scss +1 -0
- package/styles/v-scroll/icons/_fluent.scss +27 -0
- package/styles/v-scroll/icons/_fusionnew.scss +27 -0
- package/styles/v-scroll/icons/_highcontrast-light.scss +27 -0
- package/styles/v-scroll/icons/_highcontrast.scss +3 -2
- package/styles/v-scroll/{_icons.scss → icons/_material-dark.scss} +4 -3
- package/styles/v-scroll/icons/_material.scss +1 -0
- package/styles/v-scroll/icons/_material3.scss +27 -0
- package/styles/v-scroll/icons/_tailwind-dark.scss +1 -0
- package/styles/v-scroll/icons/_tailwind.scss +27 -0
- package/styles/v-scroll/material-dark.css +23 -50
- package/styles/v-scroll/material-dark.scss +1 -0
- package/styles/v-scroll/material.css +12 -58
- package/styles/v-scroll/tailwind-dark.css +203 -0
- package/styles/v-scroll/tailwind-dark.scss +4 -0
- package/styles/v-scroll/tailwind.css +203 -0
- package/styles/v-scroll/tailwind.scss +4 -0
- package/tslint.json +111 -0
- package/styles/toolbar/_icons.scss +0 -35
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { VScroll } from './v-scroll';
|
|
2
|
+
import { HScroll } from './h-scroll';
|
|
3
|
+
/**
|
|
4
|
+
* Used to add scroll in menu.
|
|
5
|
+
*
|
|
6
|
+
* @param {createElementType} createElement - Specifies the create element model
|
|
7
|
+
* @param {HTMLElement} container - Specifies the element container
|
|
8
|
+
* @param {HTMLElement} content - Specifies the content element
|
|
9
|
+
* @param {string} scrollType - Specifies the scroll type
|
|
10
|
+
* @param {boolean} enableRtl - Specifies the enable RTL property
|
|
11
|
+
* @param {boolean} offset - Specifies the offset value
|
|
12
|
+
* @returns {HTMLElement} - Element
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export declare function addScrolling(createElement: createElementType, container: HTMLElement, content: HTMLElement, scrollType: string, enableRtl: boolean, offset?: number): HTMLElement;
|
|
16
|
+
/**
|
|
17
|
+
* Used to destroy the scroll option.
|
|
18
|
+
*
|
|
19
|
+
* @param {VScroll | HScroll} scrollObj - Specifies the scroller object
|
|
20
|
+
* @param {Element} element - Specifies the element
|
|
21
|
+
* @param {HTMLElement} skipEle - Specifies the skip element
|
|
22
|
+
* @returns {void}
|
|
23
|
+
* @hidden
|
|
24
|
+
*/
|
|
25
|
+
export declare function destroyScroll(scrollObj: VScroll | HScroll, element: Element, skipEle?: HTMLElement): void;
|
|
26
|
+
declare type createElementType = (tag: string, prop?: {
|
|
27
|
+
className?: string;
|
|
28
|
+
}) => HTMLElement;
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { select, detach } from '@syncfusion/ej2-base';
|
|
2
|
+
import { VScroll } from './v-scroll';
|
|
3
|
+
import { HScroll } from './h-scroll';
|
|
4
|
+
/**
|
|
5
|
+
* Used to add scroll in menu.
|
|
6
|
+
*
|
|
7
|
+
* @param {createElementType} createElement - Specifies the create element model
|
|
8
|
+
* @param {HTMLElement} container - Specifies the element container
|
|
9
|
+
* @param {HTMLElement} content - Specifies the content element
|
|
10
|
+
* @param {string} scrollType - Specifies the scroll type
|
|
11
|
+
* @param {boolean} enableRtl - Specifies the enable RTL property
|
|
12
|
+
* @param {boolean} offset - Specifies the offset value
|
|
13
|
+
* @returns {HTMLElement} - Element
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
export function addScrolling(createElement, container, content, scrollType, enableRtl, offset) {
|
|
17
|
+
var containerOffset;
|
|
18
|
+
var contentOffset;
|
|
19
|
+
var parentElem = container.parentElement;
|
|
20
|
+
if (scrollType === 'vscroll') {
|
|
21
|
+
containerOffset = offset || container.getBoundingClientRect().height;
|
|
22
|
+
contentOffset = content.getBoundingClientRect().height;
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
containerOffset = container.getBoundingClientRect().width;
|
|
26
|
+
contentOffset = content.getBoundingClientRect().width;
|
|
27
|
+
}
|
|
28
|
+
if (containerOffset < contentOffset) {
|
|
29
|
+
return createScrollbar(createElement, container, content, scrollType, enableRtl, offset);
|
|
30
|
+
}
|
|
31
|
+
else if (parentElem) {
|
|
32
|
+
var width = parentElem.getBoundingClientRect().width;
|
|
33
|
+
if (width < containerOffset && scrollType === 'hscroll') {
|
|
34
|
+
contentOffset = width;
|
|
35
|
+
container.style.maxWidth = width + 'px';
|
|
36
|
+
return createScrollbar(createElement, container, content, scrollType, enableRtl, offset);
|
|
37
|
+
}
|
|
38
|
+
return content;
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
return content;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Used to create scroll bar in menu.
|
|
46
|
+
*
|
|
47
|
+
* @param {createElementType} createElement - Specifies the create element model
|
|
48
|
+
* @param {HTMLElement} container - Specifies the element container
|
|
49
|
+
* @param {HTMLElement} content - Specifies the content element
|
|
50
|
+
* @param {string} scrollType - Specifies the scroll type
|
|
51
|
+
* @param {boolean} enableRtl - Specifies the enable RTL property
|
|
52
|
+
* @param {boolean} offset - Specifies the offset value
|
|
53
|
+
* @returns {HTMLElement} - Element
|
|
54
|
+
* @hidden
|
|
55
|
+
*/
|
|
56
|
+
function createScrollbar(createElement, container, content, scrollType, enableRtl, offset) {
|
|
57
|
+
var scrollEle = createElement('div', { className: 'e-menu-' + scrollType });
|
|
58
|
+
container.appendChild(scrollEle);
|
|
59
|
+
scrollEle.appendChild(content);
|
|
60
|
+
if (offset) {
|
|
61
|
+
scrollEle.style.overflow = 'hidden';
|
|
62
|
+
scrollEle.style.height = offset + 'px';
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
scrollEle.style.maxHeight = container.style.maxHeight;
|
|
66
|
+
container.style.overflow = 'hidden';
|
|
67
|
+
}
|
|
68
|
+
var scrollObj;
|
|
69
|
+
if (scrollType === 'vscroll') {
|
|
70
|
+
scrollObj = new VScroll({ enableRtl: enableRtl }, scrollEle);
|
|
71
|
+
scrollObj.scrollStep = select('.e-' + scrollType + '-bar', container).offsetHeight / 2;
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
scrollObj = new HScroll({ enableRtl: enableRtl }, scrollEle);
|
|
75
|
+
scrollObj.scrollStep = select('.e-' + scrollType + '-bar', container).offsetWidth;
|
|
76
|
+
}
|
|
77
|
+
return scrollEle;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Used to destroy the scroll option.
|
|
81
|
+
*
|
|
82
|
+
* @param {VScroll | HScroll} scrollObj - Specifies the scroller object
|
|
83
|
+
* @param {Element} element - Specifies the element
|
|
84
|
+
* @param {HTMLElement} skipEle - Specifies the skip element
|
|
85
|
+
* @returns {void}
|
|
86
|
+
* @hidden
|
|
87
|
+
*/
|
|
88
|
+
export function destroyScroll(scrollObj, element, skipEle) {
|
|
89
|
+
if (scrollObj) {
|
|
90
|
+
var menu = select('.e-menu-parent', element);
|
|
91
|
+
if (menu) {
|
|
92
|
+
if (!skipEle || skipEle === menu) {
|
|
93
|
+
scrollObj.destroy();
|
|
94
|
+
element.parentElement.appendChild(menu);
|
|
95
|
+
detach(element);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
scrollObj.destroy();
|
|
100
|
+
detach(element);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
package/src/common/v-scroll.d.ts
CHANGED
|
@@ -28,43 +28,53 @@ export declare class VScroll extends Component<HTMLElement> implements INotifyPr
|
|
|
28
28
|
private customStep;
|
|
29
29
|
/**
|
|
30
30
|
* Specifies the up or down scrolling distance of the vertical scrollbar moving.
|
|
31
|
+
*
|
|
31
32
|
* @default null
|
|
32
33
|
*/
|
|
33
34
|
scrollStep: number;
|
|
34
35
|
/**
|
|
35
36
|
* Initialize the event handler
|
|
37
|
+
*
|
|
36
38
|
* @private
|
|
39
|
+
* @returns {void}
|
|
37
40
|
*/
|
|
38
41
|
protected preRender(): void;
|
|
39
42
|
/**
|
|
40
43
|
* To Initialize the vertical scroll rendering
|
|
44
|
+
*
|
|
41
45
|
* @private
|
|
46
|
+
* @returns {void}
|
|
42
47
|
*/
|
|
43
48
|
protected render(): void;
|
|
49
|
+
private setScrollState;
|
|
44
50
|
/**
|
|
45
51
|
* Initializes a new instance of the VScroll class.
|
|
46
|
-
*
|
|
47
|
-
* @param
|
|
52
|
+
*
|
|
53
|
+
* @param {VScrollModel} options - Specifies VScroll model properties as options.
|
|
54
|
+
* @param {string | HTMLElement} element - Specifies the element for which vertical scrolling applies.
|
|
48
55
|
*/
|
|
49
56
|
constructor(options?: VScrollModel, element?: string | HTMLElement);
|
|
50
57
|
private initialize;
|
|
51
58
|
protected getPersistData(): string;
|
|
52
59
|
/**
|
|
53
60
|
* Returns the current module name.
|
|
54
|
-
*
|
|
61
|
+
*
|
|
62
|
+
* @returns {string} - It returns the current module name.
|
|
55
63
|
* @private
|
|
56
64
|
*/
|
|
57
65
|
protected getModuleName(): string;
|
|
58
66
|
/**
|
|
59
67
|
* Removes the control from the DOM and also removes all its related events.
|
|
60
|
-
*
|
|
68
|
+
*
|
|
69
|
+
* @returns {void}
|
|
61
70
|
*/
|
|
62
71
|
destroy(): void;
|
|
63
72
|
/**
|
|
64
73
|
* Specifies the value to disable/enable the VScroll component.
|
|
65
|
-
* When set to `true
|
|
74
|
+
* When set to `true` , the component will be disabled.
|
|
75
|
+
*
|
|
66
76
|
* @param {boolean} value - Based on this Boolean value, VScroll will be enabled (false) or disabled (true).
|
|
67
|
-
* @returns void.
|
|
77
|
+
* @returns {void}.
|
|
68
78
|
*/
|
|
69
79
|
disable(value: boolean): void;
|
|
70
80
|
private createOverlayElement;
|
|
@@ -86,9 +96,10 @@ export declare class VScroll extends Component<HTMLElement> implements INotifyPr
|
|
|
86
96
|
private scrollEventHandler;
|
|
87
97
|
/**
|
|
88
98
|
* Gets called when the model property changes.The data that describes the old and new values of property that changed.
|
|
89
|
-
*
|
|
90
|
-
* @param {VScrollModel}
|
|
91
|
-
* @
|
|
99
|
+
*
|
|
100
|
+
* @param {VScrollModel} newProp - It contains the new value of data.
|
|
101
|
+
* @param {VScrollModel} oldProp - It contains the old value of data.
|
|
102
|
+
* @returns {void}
|
|
92
103
|
* @private
|
|
93
104
|
*/
|
|
94
105
|
onPropertyChanged(newProp: VScrollModel, oldProp: VScrollModel): void;
|
package/src/common/v-scroll.js
CHANGED
|
@@ -4,7 +4,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
5
|
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
|
-
}
|
|
7
|
+
};
|
|
8
8
|
return function (d, b) {
|
|
9
9
|
extendStatics(d, b);
|
|
10
10
|
function __() { this.constructor = d; }
|
|
@@ -52,15 +52,18 @@ var VScroll = /** @class */ (function (_super) {
|
|
|
52
52
|
__extends(VScroll, _super);
|
|
53
53
|
/**
|
|
54
54
|
* Initializes a new instance of the VScroll class.
|
|
55
|
-
*
|
|
56
|
-
* @param
|
|
55
|
+
*
|
|
56
|
+
* @param {VScrollModel} options - Specifies VScroll model properties as options.
|
|
57
|
+
* @param {string | HTMLElement} element - Specifies the element for which vertical scrolling applies.
|
|
57
58
|
*/
|
|
58
59
|
function VScroll(options, element) {
|
|
59
60
|
return _super.call(this, options, element) || this;
|
|
60
61
|
}
|
|
61
62
|
/**
|
|
62
63
|
* Initialize the event handler
|
|
64
|
+
*
|
|
63
65
|
* @private
|
|
66
|
+
* @returns {void}
|
|
64
67
|
*/
|
|
65
68
|
VScroll.prototype.preRender = function () {
|
|
66
69
|
this.browser = Browser.info.name;
|
|
@@ -81,7 +84,9 @@ var VScroll = /** @class */ (function (_super) {
|
|
|
81
84
|
};
|
|
82
85
|
/**
|
|
83
86
|
* To Initialize the vertical scroll rendering
|
|
87
|
+
*
|
|
84
88
|
* @private
|
|
89
|
+
* @returns {void}
|
|
85
90
|
*/
|
|
86
91
|
VScroll.prototype.render = function () {
|
|
87
92
|
this.touchModule = new Touch(this.element, { scroll: this.touchHandler.bind(this), swipe: this.swipeHandler.bind(this) });
|
|
@@ -93,11 +98,17 @@ var VScroll = /** @class */ (function (_super) {
|
|
|
93
98
|
this.element.classList.add(CLS_DEVICE);
|
|
94
99
|
this.createOverlayElement(this.element);
|
|
95
100
|
}
|
|
101
|
+
this.setScrollState();
|
|
102
|
+
EventHandler.add(this.element, 'wheel', this.wheelEventHandler, this);
|
|
103
|
+
};
|
|
104
|
+
VScroll.prototype.setScrollState = function () {
|
|
96
105
|
if (isNullOrUndefined(this.scrollStep) || this.scrollStep < 0) {
|
|
97
106
|
this.scrollStep = this.scrollEle.offsetHeight;
|
|
98
107
|
this.customStep = false;
|
|
99
108
|
}
|
|
100
|
-
|
|
109
|
+
else {
|
|
110
|
+
this.customStep = true;
|
|
111
|
+
}
|
|
101
112
|
};
|
|
102
113
|
VScroll.prototype.initialize = function () {
|
|
103
114
|
var scrollCnt = buildTag('div', { className: CLS_VSCROLLCON });
|
|
@@ -111,7 +122,7 @@ var VScroll = /** @class */ (function (_super) {
|
|
|
111
122
|
}
|
|
112
123
|
scrollBar.appendChild(scrollCnt);
|
|
113
124
|
ele.appendChild(scrollBar);
|
|
114
|
-
scrollBar.style.
|
|
125
|
+
scrollBar.style.overflow = 'hidden';
|
|
115
126
|
this.scrollEle = scrollBar;
|
|
116
127
|
this.scrollItems = scrollCnt;
|
|
117
128
|
};
|
|
@@ -121,7 +132,8 @@ var VScroll = /** @class */ (function (_super) {
|
|
|
121
132
|
};
|
|
122
133
|
/**
|
|
123
134
|
* Returns the current module name.
|
|
124
|
-
*
|
|
135
|
+
*
|
|
136
|
+
* @returns {string} - It returns the current module name.
|
|
125
137
|
* @private
|
|
126
138
|
*/
|
|
127
139
|
VScroll.prototype.getModuleName = function () {
|
|
@@ -129,7 +141,8 @@ var VScroll = /** @class */ (function (_super) {
|
|
|
129
141
|
};
|
|
130
142
|
/**
|
|
131
143
|
* Removes the control from the DOM and also removes all its related events.
|
|
132
|
-
*
|
|
144
|
+
*
|
|
145
|
+
* @returns {void}
|
|
133
146
|
*/
|
|
134
147
|
VScroll.prototype.destroy = function () {
|
|
135
148
|
var el = this.element;
|
|
@@ -161,13 +174,19 @@ var VScroll = /** @class */ (function (_super) {
|
|
|
161
174
|
};
|
|
162
175
|
/**
|
|
163
176
|
* Specifies the value to disable/enable the VScroll component.
|
|
164
|
-
* When set to `true
|
|
177
|
+
* When set to `true` , the component will be disabled.
|
|
178
|
+
*
|
|
165
179
|
* @param {boolean} value - Based on this Boolean value, VScroll will be enabled (false) or disabled (true).
|
|
166
|
-
* @returns void.
|
|
180
|
+
* @returns {void}.
|
|
167
181
|
*/
|
|
168
182
|
VScroll.prototype.disable = function (value) {
|
|
169
183
|
var navEle = selectAll('.e-scroll-nav:not(.' + CLS_DISABLE + ')', this.element);
|
|
170
|
-
|
|
184
|
+
if (value) {
|
|
185
|
+
this.element.classList.add(CLS_DISABLE);
|
|
186
|
+
}
|
|
187
|
+
else {
|
|
188
|
+
this.element.classList.remove(CLS_DISABLE);
|
|
189
|
+
}
|
|
171
190
|
[].slice.call(navEle).forEach(function (el) {
|
|
172
191
|
el.setAttribute('tabindex', !value ? '0' : '-1');
|
|
173
192
|
});
|
|
@@ -216,7 +235,9 @@ var VScroll = /** @class */ (function (_super) {
|
|
|
216
235
|
_this.keyTimeout = true;
|
|
217
236
|
_this.eleScrolling(10, ev.target, true);
|
|
218
237
|
};
|
|
219
|
-
this.keyTimer = window.setTimeout(function () {
|
|
238
|
+
this.keyTimer = window.setTimeout(function () {
|
|
239
|
+
timeoutFun_1();
|
|
240
|
+
}, 100);
|
|
220
241
|
}
|
|
221
242
|
};
|
|
222
243
|
VScroll.prototype.onKeyUp = function (ev) {
|
|
@@ -256,13 +277,14 @@ var VScroll = /** @class */ (function (_super) {
|
|
|
256
277
|
var timeoutFun = function () {
|
|
257
278
|
_this.eleScrolling(scrollDistance, trgt, true);
|
|
258
279
|
};
|
|
259
|
-
this.timeout = window.setInterval(function () {
|
|
280
|
+
this.timeout = window.setInterval(function () {
|
|
281
|
+
timeoutFun();
|
|
282
|
+
}, 50);
|
|
260
283
|
};
|
|
261
284
|
VScroll.prototype.contains = function (element, className) {
|
|
262
285
|
return element.classList.contains(className);
|
|
263
286
|
};
|
|
264
287
|
VScroll.prototype.eleScrolling = function (scrollDis, trgt, isContinuous) {
|
|
265
|
-
var rootElement = this.element;
|
|
266
288
|
var classList = trgt.classList;
|
|
267
289
|
if (classList.contains(CLS_VSCROLLNAV)) {
|
|
268
290
|
classList = trgt.querySelector('.' + CLS_NAVARROW).classList;
|
|
@@ -343,8 +365,7 @@ var VScroll = /** @class */ (function (_super) {
|
|
|
343
365
|
};
|
|
344
366
|
VScroll.prototype.touchHandler = function (e) {
|
|
345
367
|
var el = this.scrollEle;
|
|
346
|
-
var distance;
|
|
347
|
-
distance = e.distanceY;
|
|
368
|
+
var distance = e.distanceY;
|
|
348
369
|
if (e.scrollDirection === 'Up') {
|
|
349
370
|
el.scrollTop = el.scrollTop + distance;
|
|
350
371
|
}
|
|
@@ -376,7 +397,6 @@ var VScroll = /** @class */ (function (_super) {
|
|
|
376
397
|
VScroll.prototype.scrollEventHandler = function (e) {
|
|
377
398
|
var target = e.target;
|
|
378
399
|
var height = target.offsetHeight;
|
|
379
|
-
var rootEle = this.element;
|
|
380
400
|
var navUpEle = this.element.querySelector('.' + CLS_VSCROLLNAVUP);
|
|
381
401
|
var navDownEle = this.element.querySelector('.' + CLS_VSCROLLNAVDOWN);
|
|
382
402
|
var upOverlay = this.element.querySelector('.' + CLS_UPOVERLAY);
|
|
@@ -416,9 +436,10 @@ var VScroll = /** @class */ (function (_super) {
|
|
|
416
436
|
};
|
|
417
437
|
/**
|
|
418
438
|
* Gets called when the model property changes.The data that describes the old and new values of property that changed.
|
|
419
|
-
*
|
|
420
|
-
* @param {VScrollModel}
|
|
421
|
-
* @
|
|
439
|
+
*
|
|
440
|
+
* @param {VScrollModel} newProp - It contains the new value of data.
|
|
441
|
+
* @param {VScrollModel} oldProp - It contains the old value of data.
|
|
442
|
+
* @returns {void}
|
|
422
443
|
* @private
|
|
423
444
|
*/
|
|
424
445
|
VScroll.prototype.onPropertyChanged = function (newProp, oldProp) {
|
|
@@ -426,9 +447,15 @@ var VScroll = /** @class */ (function (_super) {
|
|
|
426
447
|
var prop = _a[_i];
|
|
427
448
|
switch (prop) {
|
|
428
449
|
case 'scrollStep':
|
|
450
|
+
this.setScrollState();
|
|
429
451
|
break;
|
|
430
452
|
case 'enableRtl':
|
|
431
|
-
newProp.enableRtl
|
|
453
|
+
if (newProp.enableRtl) {
|
|
454
|
+
this.element.classList.add(CLS_RTL);
|
|
455
|
+
}
|
|
456
|
+
else {
|
|
457
|
+
this.element.classList.remove(CLS_RTL);
|
|
458
|
+
}
|
|
432
459
|
break;
|
|
433
460
|
}
|
|
434
461
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { attributes, Collection, NotifyPropertyChanges, INotifyPropertyChanged, Property } from '@syncfusion/ej2-base';import { getZindexPartial } from '@syncfusion/ej2-popups';import { MenuBase, MenuItem } from '../common/menu-base';import { MenuItemModel } from './../common/menu-base-model';
|
|
1
|
+
import { attributes, getUniqueID, Collection, NotifyPropertyChanges, INotifyPropertyChanged, Property } from '@syncfusion/ej2-base';import { getZindexPartial } from '@syncfusion/ej2-popups';import { MenuBase, MenuItem } from '../common/menu-base';import { MenuItemModel } from './../common/menu-base-model';
|
|
2
2
|
import {MenuBaseModel} from "../common/menu-base-model";
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -8,20 +8,24 @@ export interface ContextMenuModel extends MenuBaseModel{
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Specifies target element selector in which the ContextMenu should be opened.
|
|
11
|
-
*
|
|
11
|
+
*
|
|
12
|
+
* @default ''
|
|
12
13
|
*/
|
|
13
14
|
target?: string;
|
|
14
15
|
|
|
15
16
|
/**
|
|
16
17
|
* Specifies the filter selector for elements inside the target in that the context menu will be opened.
|
|
17
|
-
*
|
|
18
|
+
*
|
|
19
|
+
* @default ''
|
|
18
20
|
*/
|
|
19
21
|
filter?: string;
|
|
20
22
|
|
|
21
23
|
/**
|
|
22
24
|
* Specifies menu items with its properties which will be rendered as ContextMenu.
|
|
25
|
+
*
|
|
23
26
|
* @default []
|
|
24
27
|
* @aspType object
|
|
28
|
+
* @blazorType object
|
|
25
29
|
*/
|
|
26
30
|
items?: MenuItemModel[];
|
|
27
31
|
|
|
@@ -18,55 +18,70 @@ import { MenuItemModel } from './../common/menu-base-model';
|
|
|
18
18
|
export declare class ContextMenu extends MenuBase implements INotifyPropertyChanged {
|
|
19
19
|
/**
|
|
20
20
|
* Constructor for creating the widget.
|
|
21
|
+
*
|
|
21
22
|
* @private
|
|
23
|
+
* @param {ContextMenuModel} options - Specifies the context menu model
|
|
24
|
+
* @param {string} element - Specifies the element
|
|
22
25
|
*/
|
|
23
26
|
constructor(options?: ContextMenuModel, element?: string | HTMLUListElement);
|
|
24
27
|
/**
|
|
25
28
|
* Specifies target element selector in which the ContextMenu should be opened.
|
|
29
|
+
*
|
|
26
30
|
* @default ''
|
|
27
31
|
*/
|
|
28
32
|
target: string;
|
|
29
33
|
/**
|
|
30
34
|
* Specifies the filter selector for elements inside the target in that the context menu will be opened.
|
|
35
|
+
*
|
|
31
36
|
* @default ''
|
|
32
37
|
*/
|
|
33
38
|
filter: string;
|
|
34
39
|
/**
|
|
35
40
|
* Specifies menu items with its properties which will be rendered as ContextMenu.
|
|
41
|
+
*
|
|
36
42
|
* @default []
|
|
37
43
|
* @aspType object
|
|
44
|
+
* @blazorType object
|
|
38
45
|
*/
|
|
39
46
|
items: MenuItemModel[];
|
|
40
47
|
/**
|
|
41
48
|
* For internal use only - prerender processing.
|
|
49
|
+
*
|
|
42
50
|
* @private
|
|
51
|
+
* @returns {void}
|
|
43
52
|
*/
|
|
44
53
|
protected preRender(): void;
|
|
45
54
|
protected initialize(): void;
|
|
46
55
|
/**
|
|
47
56
|
* This method is used to open the ContextMenu in specified position.
|
|
48
|
-
*
|
|
49
|
-
* @param
|
|
50
|
-
* @param
|
|
51
|
-
* @
|
|
52
|
-
* @
|
|
57
|
+
*
|
|
58
|
+
* @param {number} top - To specify ContextMenu vertical positioning.
|
|
59
|
+
* @param {number} left - To specify ContextMenu horizontal positioning.
|
|
60
|
+
* @param {HTMLElement} target - To calculate z-index for ContextMenu based upon the specified target.
|
|
61
|
+
* @function open
|
|
62
|
+
* @returns {void}
|
|
53
63
|
*/
|
|
54
64
|
open(top: number, left: number, target?: HTMLElement): void;
|
|
55
65
|
/**
|
|
56
66
|
* Closes the ContextMenu if it is opened.
|
|
67
|
+
*
|
|
68
|
+
* @function close
|
|
69
|
+
* @returns {void}
|
|
57
70
|
*/
|
|
58
71
|
close(): void;
|
|
59
72
|
/**
|
|
60
|
-
* Called internally if any of the property value changed
|
|
73
|
+
* Called internally if any of the property value changed.
|
|
74
|
+
*
|
|
61
75
|
* @private
|
|
62
|
-
* @param {ContextMenuModel} newProp
|
|
63
|
-
* @param {ContextMenuModel} oldProp
|
|
64
|
-
* @returns void
|
|
76
|
+
* @param {ContextMenuModel} newProp - Specifies new properties
|
|
77
|
+
* @param {ContextMenuModel} oldProp - Specifies old properties
|
|
78
|
+
* @returns {void}
|
|
65
79
|
*/
|
|
66
80
|
onPropertyChanged(newProp: ContextMenuModel, oldProp: ContextMenuModel): void;
|
|
67
81
|
/**
|
|
68
82
|
* Get module name.
|
|
69
|
-
*
|
|
83
|
+
*
|
|
84
|
+
* @returns {string} - Module Name
|
|
70
85
|
* @private
|
|
71
86
|
*/
|
|
72
87
|
protected getModuleName(): string;
|
|
@@ -4,7 +4,7 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
4
4
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
5
|
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
6
|
return extendStatics(d, b);
|
|
7
|
-
}
|
|
7
|
+
};
|
|
8
8
|
return function (d, b) {
|
|
9
9
|
extendStatics(d, b);
|
|
10
10
|
function __() { this.constructor = d; }
|
|
@@ -17,8 +17,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
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
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
|
+
/* eslint-disable @typescript-eslint/triple-slash-reference */
|
|
20
21
|
/// <reference path='../common/menu-base-model.d.ts'/>
|
|
21
|
-
import { attributes, Collection, NotifyPropertyChanges, Property } from '@syncfusion/ej2-base';
|
|
22
|
+
import { attributes, getUniqueID, Collection, NotifyPropertyChanges, Property } from '@syncfusion/ej2-base';
|
|
22
23
|
import { getZindexPartial } from '@syncfusion/ej2-popups';
|
|
23
24
|
import { MenuBase, MenuItem } from '../common/menu-base';
|
|
24
25
|
/**
|
|
@@ -37,47 +38,58 @@ var ContextMenu = /** @class */ (function (_super) {
|
|
|
37
38
|
__extends(ContextMenu, _super);
|
|
38
39
|
/**
|
|
39
40
|
* Constructor for creating the widget.
|
|
41
|
+
*
|
|
40
42
|
* @private
|
|
43
|
+
* @param {ContextMenuModel} options - Specifies the context menu model
|
|
44
|
+
* @param {string} element - Specifies the element
|
|
41
45
|
*/
|
|
42
46
|
function ContextMenu(options, element) {
|
|
43
47
|
return _super.call(this, options, element) || this;
|
|
44
48
|
}
|
|
45
49
|
/**
|
|
46
50
|
* For internal use only - prerender processing.
|
|
51
|
+
*
|
|
47
52
|
* @private
|
|
53
|
+
* @returns {void}
|
|
48
54
|
*/
|
|
49
55
|
ContextMenu.prototype.preRender = function () {
|
|
50
56
|
this.isMenu = false;
|
|
57
|
+
this.element.id = this.element.id || getUniqueID('ej2-contextmenu');
|
|
51
58
|
_super.prototype.preRender.call(this);
|
|
52
59
|
};
|
|
53
60
|
ContextMenu.prototype.initialize = function () {
|
|
54
61
|
_super.prototype.initialize.call(this);
|
|
55
|
-
attributes(this.element, { 'role': '
|
|
62
|
+
attributes(this.element, { 'role': 'menubar', 'tabindex': '0' });
|
|
56
63
|
this.element.style.zIndex = getZindexPartial(this.element).toString();
|
|
57
64
|
};
|
|
58
65
|
/**
|
|
59
66
|
* This method is used to open the ContextMenu in specified position.
|
|
60
|
-
*
|
|
61
|
-
* @param
|
|
62
|
-
* @param
|
|
63
|
-
* @
|
|
64
|
-
* @
|
|
67
|
+
*
|
|
68
|
+
* @param {number} top - To specify ContextMenu vertical positioning.
|
|
69
|
+
* @param {number} left - To specify ContextMenu horizontal positioning.
|
|
70
|
+
* @param {HTMLElement} target - To calculate z-index for ContextMenu based upon the specified target.
|
|
71
|
+
* @function open
|
|
72
|
+
* @returns {void}
|
|
65
73
|
*/
|
|
66
74
|
ContextMenu.prototype.open = function (top, left, target) {
|
|
67
75
|
_super.prototype.openMenu.call(this, null, null, top, left, null, target);
|
|
68
76
|
};
|
|
69
77
|
/**
|
|
70
78
|
* Closes the ContextMenu if it is opened.
|
|
79
|
+
*
|
|
80
|
+
* @function close
|
|
81
|
+
* @returns {void}
|
|
71
82
|
*/
|
|
72
83
|
ContextMenu.prototype.close = function () {
|
|
73
84
|
_super.prototype.closeMenu.call(this);
|
|
74
85
|
};
|
|
75
86
|
/**
|
|
76
|
-
* Called internally if any of the property value changed
|
|
87
|
+
* Called internally if any of the property value changed.
|
|
88
|
+
*
|
|
77
89
|
* @private
|
|
78
|
-
* @param {ContextMenuModel} newProp
|
|
79
|
-
* @param {ContextMenuModel} oldProp
|
|
80
|
-
* @returns void
|
|
90
|
+
* @param {ContextMenuModel} newProp - Specifies new properties
|
|
91
|
+
* @param {ContextMenuModel} oldProp - Specifies old properties
|
|
92
|
+
* @returns {void}
|
|
81
93
|
*/
|
|
82
94
|
ContextMenu.prototype.onPropertyChanged = function (newProp, oldProp) {
|
|
83
95
|
_super.prototype.onPropertyChanged.call(this, newProp, oldProp);
|
|
@@ -89,8 +101,7 @@ var ContextMenu = /** @class */ (function (_super) {
|
|
|
89
101
|
this.filter = newProp.filter;
|
|
90
102
|
break;
|
|
91
103
|
case 'target':
|
|
92
|
-
this.unWireEvents();
|
|
93
|
-
this.target = newProp.target;
|
|
104
|
+
this.unWireEvents(oldProp.target);
|
|
94
105
|
this.wireEvents();
|
|
95
106
|
break;
|
|
96
107
|
}
|
|
@@ -98,7 +109,8 @@ var ContextMenu = /** @class */ (function (_super) {
|
|
|
98
109
|
};
|
|
99
110
|
/**
|
|
100
111
|
* Get module name.
|
|
101
|
-
*
|
|
112
|
+
*
|
|
113
|
+
* @returns {string} - Module Name
|
|
102
114
|
* @private
|
|
103
115
|
*/
|
|
104
116
|
ContextMenu.prototype.getModuleName = function () {
|
package/src/index.d.ts
CHANGED
package/src/index.js
CHANGED