@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
|
@@ -4,11 +4,10 @@ import { KeyboardEventArgs } from '@syncfusion/ej2-base';
|
|
|
4
4
|
import { Effect } from '@syncfusion/ej2-base';
|
|
5
5
|
import { DataManager, Query } from '@syncfusion/ej2-data';
|
|
6
6
|
import { TapEventArgs } from '@syncfusion/ej2-base';
|
|
7
|
-
import { ListBaseOptions, FieldsMapping } from '@syncfusion/ej2-lists';
|
|
8
7
|
import { TreeViewModel, FieldsSettingsModel, NodeAnimationSettingsModel, ActionSettingsModel } from './treeview-model';
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Interface for NodeExpand event arguments.
|
|
10
|
+
*/
|
|
12
11
|
export interface NodeExpandEventArgs {
|
|
13
12
|
/**
|
|
14
13
|
* If you want to cancel this event then, set cancel as true. Otherwise, false.
|
|
@@ -23,13 +22,19 @@ export interface NodeExpandEventArgs {
|
|
|
23
22
|
*/
|
|
24
23
|
node: HTMLLIElement;
|
|
25
24
|
/**
|
|
25
|
+
*
|
|
26
26
|
* Return the expanded/collapsed node as JSON object from data source.
|
|
27
|
+
*
|
|
28
|
+
*
|
|
27
29
|
*/
|
|
28
30
|
nodeData: {
|
|
29
31
|
[key: string]: Object;
|
|
30
32
|
};
|
|
31
33
|
event: MouseEvent | KeyboardEventArgs | TapEventArgs;
|
|
32
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
* Interface for NodeSelect event arguments.
|
|
37
|
+
*/
|
|
33
38
|
export interface NodeSelectEventArgs {
|
|
34
39
|
/**
|
|
35
40
|
* Return the name of action like select or un-select.
|
|
@@ -49,11 +54,15 @@ export interface NodeSelectEventArgs {
|
|
|
49
54
|
node: HTMLLIElement;
|
|
50
55
|
/**
|
|
51
56
|
* Return the currently selected node as JSON object from data source.
|
|
57
|
+
*
|
|
52
58
|
*/
|
|
53
59
|
nodeData: {
|
|
54
60
|
[key: string]: Object;
|
|
55
61
|
};
|
|
56
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
* Interface for NodeCheck event arguments.
|
|
65
|
+
*/
|
|
57
66
|
export interface NodeCheckEventArgs {
|
|
58
67
|
/**
|
|
59
68
|
* Return the name of action like check or un-check.
|
|
@@ -73,11 +82,15 @@ export interface NodeCheckEventArgs {
|
|
|
73
82
|
node: HTMLLIElement;
|
|
74
83
|
/**
|
|
75
84
|
* Return the currently checked node as JSON object from data source.
|
|
85
|
+
*
|
|
76
86
|
*/
|
|
77
87
|
data: {
|
|
78
88
|
[key: string]: Object;
|
|
79
89
|
}[];
|
|
80
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* Interface for NodeEdit event arguments.
|
|
93
|
+
*/
|
|
81
94
|
export interface NodeEditEventArgs {
|
|
82
95
|
/**
|
|
83
96
|
* If you want to cancel this event then, set cancel as true. Otherwise, false.
|
|
@@ -93,6 +106,7 @@ export interface NodeEditEventArgs {
|
|
|
93
106
|
node: HTMLLIElement;
|
|
94
107
|
/**
|
|
95
108
|
* Return the current node as JSON object from data source.
|
|
109
|
+
*
|
|
96
110
|
*/
|
|
97
111
|
nodeData: {
|
|
98
112
|
[key: string]: Object;
|
|
@@ -106,6 +120,9 @@ export interface NodeEditEventArgs {
|
|
|
106
120
|
*/
|
|
107
121
|
innerHtml: string;
|
|
108
122
|
}
|
|
123
|
+
/**
|
|
124
|
+
* Interface for DragAndDrop event arguments.
|
|
125
|
+
*/
|
|
109
126
|
export interface DragAndDropEventArgs {
|
|
110
127
|
/**
|
|
111
128
|
* If you want to cancel this event then, set cancel as true. Otherwise, false.
|
|
@@ -125,16 +142,19 @@ export interface DragAndDropEventArgs {
|
|
|
125
142
|
draggedNode: HTMLLIElement;
|
|
126
143
|
/**
|
|
127
144
|
* Return the currently dragged node as array of JSON object from data source.
|
|
145
|
+
*
|
|
128
146
|
*/
|
|
129
147
|
draggedNodeData: {
|
|
130
148
|
[key: string]: Object;
|
|
131
149
|
};
|
|
132
150
|
/**
|
|
133
151
|
* Returns the dragged/dropped element's target index position
|
|
152
|
+
*
|
|
134
153
|
*/
|
|
135
154
|
dropIndex: number;
|
|
136
155
|
/**
|
|
137
156
|
* Returns the dragged/dropped element's target level
|
|
157
|
+
*
|
|
138
158
|
*/
|
|
139
159
|
dropLevel: number;
|
|
140
160
|
/**
|
|
@@ -155,6 +175,7 @@ export interface DragAndDropEventArgs {
|
|
|
155
175
|
droppedNode: HTMLLIElement;
|
|
156
176
|
/**
|
|
157
177
|
* Return the dropped node as array of JSON object from data source.
|
|
178
|
+
*
|
|
158
179
|
*/
|
|
159
180
|
droppedNodeData: {
|
|
160
181
|
[key: string]: Object;
|
|
@@ -167,7 +188,17 @@ export interface DragAndDropEventArgs {
|
|
|
167
188
|
* Return boolean value for preventing auto-expanding of parent node.
|
|
168
189
|
*/
|
|
169
190
|
preventTargetExpand?: boolean;
|
|
191
|
+
/**
|
|
192
|
+
* Denotes the cloned element's drop position relative to the dropped node while dragging. The available values are,
|
|
193
|
+
* 1. Inside – Denotes that the cloned element will be appended as the child node of the dropped node.
|
|
194
|
+
* 2. Before - Denotes that the cloned element will be appended before the dropped node.
|
|
195
|
+
* 3. After - Denotes that the cloned element will be appended after the dropped node.
|
|
196
|
+
*/
|
|
197
|
+
position: string;
|
|
170
198
|
}
|
|
199
|
+
/**
|
|
200
|
+
* Interface for DrawNode event arguments.
|
|
201
|
+
*/
|
|
171
202
|
export interface DrawNodeEventArgs {
|
|
172
203
|
/**
|
|
173
204
|
* Return the current rendering node.
|
|
@@ -175,6 +206,8 @@ export interface DrawNodeEventArgs {
|
|
|
175
206
|
node: HTMLLIElement;
|
|
176
207
|
/**
|
|
177
208
|
* Return the current rendering node as JSON object.
|
|
209
|
+
*
|
|
210
|
+
* @isGenericType true
|
|
178
211
|
*/
|
|
179
212
|
nodeData: {
|
|
180
213
|
[key: string]: Object;
|
|
@@ -184,6 +217,9 @@ export interface DrawNodeEventArgs {
|
|
|
184
217
|
*/
|
|
185
218
|
text: string;
|
|
186
219
|
}
|
|
220
|
+
/**
|
|
221
|
+
* Interface for NodeClick event arguments.
|
|
222
|
+
*/
|
|
187
223
|
export interface NodeClickEventArgs {
|
|
188
224
|
/**
|
|
189
225
|
* Return the actual event.
|
|
@@ -194,6 +230,9 @@ export interface NodeClickEventArgs {
|
|
|
194
230
|
*/
|
|
195
231
|
node: HTMLLIElement;
|
|
196
232
|
}
|
|
233
|
+
/**
|
|
234
|
+
* Interface for NodeKeyPress event arguments.
|
|
235
|
+
*/
|
|
197
236
|
export interface NodeKeyPressEventArgs {
|
|
198
237
|
/**
|
|
199
238
|
* If you want to cancel this event then, set cancel as true. Otherwise, false.
|
|
@@ -201,6 +240,7 @@ export interface NodeKeyPressEventArgs {
|
|
|
201
240
|
cancel: boolean;
|
|
202
241
|
/**
|
|
203
242
|
* Return the actual event.
|
|
243
|
+
*
|
|
204
244
|
*/
|
|
205
245
|
event: KeyboardEventArgs;
|
|
206
246
|
/**
|
|
@@ -208,32 +248,85 @@ export interface NodeKeyPressEventArgs {
|
|
|
208
248
|
*/
|
|
209
249
|
node: HTMLLIElement;
|
|
210
250
|
}
|
|
251
|
+
/**
|
|
252
|
+
* Interface for DataBound event arguments.
|
|
253
|
+
*/
|
|
211
254
|
export interface DataBoundEventArgs {
|
|
212
255
|
/**
|
|
213
256
|
* Return the TreeView data.
|
|
257
|
+
*
|
|
258
|
+
* @isGenericType true
|
|
214
259
|
*/
|
|
215
260
|
data: {
|
|
216
261
|
[key: string]: Object;
|
|
217
262
|
}[];
|
|
218
263
|
}
|
|
264
|
+
/**
|
|
265
|
+
* Interface for DataSourceChanged event arguments.
|
|
266
|
+
*/
|
|
219
267
|
export interface DataSourceChangedEventArgs {
|
|
220
268
|
/**
|
|
221
269
|
* Return the updated TreeView data. The data source will be updated after performing some operation like
|
|
222
270
|
* drag and drop, node editing, adding and removing node. If you want to get updated data source after performing operation like
|
|
223
271
|
* selecting/unSelecting, checking/unChecking, expanding/collapsing the node, then you can use getTreeData method.
|
|
272
|
+
*
|
|
273
|
+
* @isGenericType true
|
|
224
274
|
*/
|
|
225
275
|
data: {
|
|
226
276
|
[key: string]: Object;
|
|
227
277
|
}[];
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
278
|
+
/**
|
|
279
|
+
* Return the action which triggers the event
|
|
280
|
+
*
|
|
281
|
+
*/
|
|
282
|
+
action: string;
|
|
283
|
+
/**
|
|
284
|
+
* Return the new node data of updated data source
|
|
285
|
+
*
|
|
286
|
+
*/
|
|
287
|
+
nodeData: {
|
|
231
288
|
[key: string]: Object;
|
|
232
|
-
};
|
|
233
|
-
|
|
234
|
-
|
|
289
|
+
}[];
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* Interface that holds the node details.
|
|
293
|
+
*/
|
|
294
|
+
export interface NodeData {
|
|
295
|
+
/**
|
|
296
|
+
* Specifies the ID field mapped in dataSource.
|
|
297
|
+
*/
|
|
298
|
+
id: string;
|
|
299
|
+
/**
|
|
300
|
+
* Specifies the mapping field for text displayed as TreeView node's display text.
|
|
301
|
+
*/
|
|
235
302
|
text: string;
|
|
236
|
-
|
|
303
|
+
/**
|
|
304
|
+
* Specifies the parent ID field mapped in dataSource.
|
|
305
|
+
*/
|
|
306
|
+
parentID: string;
|
|
307
|
+
/**
|
|
308
|
+
* Specifies the mapping field for selected state of the TreeView node.
|
|
309
|
+
*/
|
|
310
|
+
selected: boolean;
|
|
311
|
+
/**
|
|
312
|
+
* Specifies the mapping field for expand state of the TreeView node.
|
|
313
|
+
*/
|
|
314
|
+
expanded: boolean;
|
|
315
|
+
/**
|
|
316
|
+
* Specifies the field for checked state of the TreeView node.
|
|
317
|
+
*/
|
|
318
|
+
isChecked: string;
|
|
319
|
+
/**
|
|
320
|
+
* Specifies the mapping field for hasChildren to check whether a node has child nodes or not.
|
|
321
|
+
*/
|
|
322
|
+
hasChildren: boolean;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Interface for Failure event arguments
|
|
326
|
+
*/
|
|
327
|
+
export interface FailureEventArgs {
|
|
328
|
+
/** Defines the error information. */
|
|
329
|
+
error?: Error;
|
|
237
330
|
}
|
|
238
331
|
/**
|
|
239
332
|
* Configures the fields to bind to the properties of node in the TreeView component.
|
|
@@ -245,8 +338,10 @@ export declare class FieldsSettings extends ChildProperty<FieldsSettings> {
|
|
|
245
338
|
child: string | FieldsSettingsModel;
|
|
246
339
|
/**
|
|
247
340
|
* Specifies the array of JavaScript objects or instance of DataManager to populate the nodes.
|
|
341
|
+
*
|
|
248
342
|
* @default []
|
|
249
343
|
* @aspDatasourceNullIgnore
|
|
344
|
+
* @isGenericType true
|
|
250
345
|
*/
|
|
251
346
|
dataSource: DataManager | {
|
|
252
347
|
[key: string]: Object;
|
|
@@ -284,11 +379,17 @@ export declare class FieldsSettings extends ChildProperty<FieldsSettings> {
|
|
|
284
379
|
*/
|
|
285
380
|
parentID: string;
|
|
286
381
|
/**
|
|
287
|
-
* Defines the external [`Query`](
|
|
382
|
+
* Defines the external [`Query`](https://ej2.syncfusion.com/documentation/api/data/query/)
|
|
288
383
|
* that will execute along with data processing.
|
|
384
|
+
*
|
|
289
385
|
* @default null
|
|
290
386
|
*/
|
|
291
387
|
query: Query;
|
|
388
|
+
/**
|
|
389
|
+
* Specifies whether the node can be selected by users or not
|
|
390
|
+
* When set to false, the user interaction is prevented for the corresponding node.
|
|
391
|
+
*/
|
|
392
|
+
selectable: string;
|
|
292
393
|
/**
|
|
293
394
|
* Specifies the mapping field for selected state of the TreeView node.
|
|
294
395
|
*/
|
|
@@ -310,25 +411,62 @@ export declare class FieldsSettings extends ChildProperty<FieldsSettings> {
|
|
|
310
411
|
*/
|
|
311
412
|
navigateUrl: string;
|
|
312
413
|
}
|
|
313
|
-
|
|
314
|
-
|
|
414
|
+
/**
|
|
415
|
+
* Defines the expand type of the TreeView node.
|
|
416
|
+
*/
|
|
417
|
+
export declare type ExpandOnSettings =
|
|
418
|
+
/**
|
|
419
|
+
* The expand/collapse operation happens when you double-click on the node in desktop.
|
|
420
|
+
*/
|
|
421
|
+
'Auto' |
|
|
422
|
+
/**
|
|
423
|
+
* The expand/collapse operation happens when you single-click on the node in desktop.
|
|
424
|
+
*/
|
|
425
|
+
'Click' |
|
|
426
|
+
/**
|
|
427
|
+
* The expand/collapse operation happens when you double-click on the node in desktop.
|
|
428
|
+
*/
|
|
429
|
+
'DblClick' |
|
|
430
|
+
/**
|
|
431
|
+
* The expand/collapse operation will not happen.
|
|
432
|
+
*/
|
|
433
|
+
'None';
|
|
434
|
+
/**
|
|
435
|
+
* Defines the sorting order type for TreeView.
|
|
436
|
+
*/
|
|
437
|
+
export declare type SortOrder =
|
|
438
|
+
/**
|
|
439
|
+
* Indicates that the nodes are sorted in the ascending order.
|
|
440
|
+
*/
|
|
441
|
+
'Ascending' |
|
|
442
|
+
/**
|
|
443
|
+
* Indicates that the nodes are sorted in the descending order
|
|
444
|
+
*/
|
|
445
|
+
'Descending' |
|
|
446
|
+
/**
|
|
447
|
+
* Indicates that the nodes are not sorted.
|
|
448
|
+
*/
|
|
449
|
+
'None';
|
|
315
450
|
/**
|
|
316
451
|
* Configures animation settings for the TreeView component.
|
|
317
452
|
*/
|
|
318
453
|
export declare class ActionSettings extends ChildProperty<ActionSettings> {
|
|
319
454
|
/**
|
|
320
455
|
* Specifies the type of animation.
|
|
321
|
-
*
|
|
456
|
+
*
|
|
457
|
+
* @default 'SlideDown'
|
|
322
458
|
*/
|
|
323
459
|
effect: Effect;
|
|
324
460
|
/**
|
|
325
461
|
* Specifies the duration to animate.
|
|
326
|
-
*
|
|
462
|
+
*
|
|
463
|
+
* @default 400
|
|
327
464
|
*/
|
|
328
465
|
duration: number;
|
|
329
466
|
/**
|
|
330
467
|
* Specifies the animation timing function.
|
|
331
|
-
*
|
|
468
|
+
*
|
|
469
|
+
* @default 'linear'
|
|
332
470
|
*/
|
|
333
471
|
easing: string;
|
|
334
472
|
}
|
|
@@ -338,11 +476,13 @@ export declare class ActionSettings extends ChildProperty<ActionSettings> {
|
|
|
338
476
|
export declare class NodeAnimationSettings extends ChildProperty<NodeAnimationSettings> {
|
|
339
477
|
/**
|
|
340
478
|
* Specifies the animation that applies on collapsing the nodes.
|
|
479
|
+
*
|
|
341
480
|
* @default { effect: 'SlideUp', duration: 400, easing: 'linear' }
|
|
342
481
|
*/
|
|
343
482
|
collapse: ActionSettingsModel;
|
|
344
483
|
/**
|
|
345
484
|
* Specifies the animation that applies on expanding the nodes.
|
|
485
|
+
*
|
|
346
486
|
* @default { effect: 'SlideDown', duration: 400, easing: 'linear' }
|
|
347
487
|
*/
|
|
348
488
|
expand: ActionSettingsModel;
|
|
@@ -351,11 +491,11 @@ export declare class NodeAnimationSettings extends ChildProperty<NodeAnimationSe
|
|
|
351
491
|
* The TreeView component is used to represent hierarchical data in a tree like structure with advanced
|
|
352
492
|
* functions to perform edit, drag and drop, selection with check-box, and more.
|
|
353
493
|
* ```html
|
|
354
|
-
*
|
|
494
|
+
* <div id="tree"></div>
|
|
355
495
|
* ```
|
|
356
496
|
* ```typescript
|
|
357
|
-
*
|
|
358
|
-
*
|
|
497
|
+
* let treeObj: TreeView = new TreeView();
|
|
498
|
+
* treeObj.appendTo('#tree');
|
|
359
499
|
* ```
|
|
360
500
|
*/
|
|
361
501
|
export declare class TreeView extends Component<HTMLElement> implements INotifyPropertyChanged {
|
|
@@ -397,6 +537,9 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
|
|
|
397
537
|
private touchClass;
|
|
398
538
|
private editData;
|
|
399
539
|
private editFields;
|
|
540
|
+
private refreshData;
|
|
541
|
+
private refreshFields;
|
|
542
|
+
private isRefreshed;
|
|
400
543
|
private keyConfigs;
|
|
401
544
|
private isInitalExpand;
|
|
402
545
|
private index;
|
|
@@ -407,12 +550,28 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
|
|
|
407
550
|
private ele;
|
|
408
551
|
private disableNode;
|
|
409
552
|
private onLoaded;
|
|
553
|
+
private parentNodeCheck;
|
|
554
|
+
private parentCheckData;
|
|
555
|
+
private validArr;
|
|
556
|
+
private validNodes;
|
|
557
|
+
private expandChildren;
|
|
558
|
+
private isFieldChange;
|
|
559
|
+
private changeDataSource;
|
|
560
|
+
private isOffline;
|
|
561
|
+
private firstTap;
|
|
562
|
+
private hasTemplate;
|
|
563
|
+
private isFirstRender;
|
|
564
|
+
private isNodeDropped;
|
|
565
|
+
private isInteracted;
|
|
566
|
+
private isRightClick;
|
|
567
|
+
private mouseDownStatus;
|
|
410
568
|
/**
|
|
411
569
|
* Indicates whether the TreeView allows drag and drop of nodes. To drag and drop a node in
|
|
412
570
|
* desktop, hold the mouse on the node, drag it to the target node and drop the node by releasing
|
|
413
571
|
* the mouse. For touch devices, drag and drop operation is performed by touch, touch move
|
|
414
572
|
* and touch end. For more information on drag and drop nodes concept, refer to
|
|
415
|
-
* [Drag and Drop](
|
|
573
|
+
* [Drag and Drop](../../treeview/drag-and-drop/).
|
|
574
|
+
*
|
|
416
575
|
* @default false
|
|
417
576
|
*/
|
|
418
577
|
allowDragAndDrop: boolean;
|
|
@@ -420,73 +579,178 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
|
|
|
420
579
|
* Enables or disables editing of the text in the TreeView node. When `allowEditing` property is set
|
|
421
580
|
* to true, the TreeView allows you to edit the node by double clicking the node or by navigating to
|
|
422
581
|
* the node and pressing **F2** key. For more information on node editing, refer
|
|
423
|
-
* to [Node Editing](
|
|
582
|
+
* to [Node Editing](../../treeview/node-editing/).
|
|
583
|
+
*
|
|
424
584
|
* @default false
|
|
425
585
|
*/
|
|
426
586
|
allowEditing: boolean;
|
|
427
587
|
/**
|
|
428
588
|
* Enables or disables multi-selection of nodes. To select multiple nodes:
|
|
429
|
-
* * Select the nodes by holding down the
|
|
430
|
-
* * Select consecutive nodes by clicking the first node to select and hold down the **
|
|
589
|
+
* * Select the nodes by holding down the **Ctrl** key while clicking on the nodes.
|
|
590
|
+
* * Select consecutive nodes by clicking the first node to select and hold down the **Shift** key
|
|
431
591
|
* and click the last node to select.
|
|
432
592
|
*
|
|
433
593
|
* For more information on multi-selection, refer to
|
|
434
|
-
* [Multi-Selection](
|
|
594
|
+
* [Multi-Selection](../../treeview/multiple-selection/).
|
|
595
|
+
*
|
|
435
596
|
* @default false
|
|
436
597
|
*/
|
|
437
598
|
allowMultiSelection: boolean;
|
|
599
|
+
/**
|
|
600
|
+
* Enables or disables text wrapping when text exceeds the bounds in the TreeView node.
|
|
601
|
+
* When the allowTextWrap property is set to true, the TreeView node text content will wrap to the next line
|
|
602
|
+
* when it exceeds the width of the TreeView node.
|
|
603
|
+
* The TreeView node height will be adjusted automatically based on the TreeView node content.
|
|
604
|
+
*
|
|
605
|
+
* @default false
|
|
606
|
+
*/
|
|
607
|
+
allowTextWrap: boolean;
|
|
438
608
|
/**
|
|
439
609
|
* Specifies the type of animation applied on expanding and collapsing the nodes along with duration.
|
|
610
|
+
*
|
|
440
611
|
* @default {expand: { effect: 'SlideDown', duration: 400, easing: 'linear' },
|
|
441
612
|
* collapse: { effect: 'SlideUp', duration: 400, easing: 'linear' }}
|
|
442
613
|
*/
|
|
443
614
|
animation: NodeAnimationSettingsModel;
|
|
444
615
|
/**
|
|
445
|
-
* The `checkedNodes` property is used to set the nodes that need to be checked
|
|
446
|
-
*
|
|
616
|
+
* The `checkedNodes` property is used to set the nodes that need to be checked.
|
|
617
|
+
* This property returns the checked nodes ID in the TreeView component.
|
|
447
618
|
* The `checkedNodes` property depends upon the value of `showCheckBox` property.
|
|
448
619
|
* For more information on checkedNodes, refer to
|
|
449
|
-
* [checkedNodes](
|
|
620
|
+
* [checkedNodes](../../treeview/check-box#checked-nodes).
|
|
621
|
+
* ```html
|
|
622
|
+
* <div id="tree"></div>
|
|
623
|
+
* ```
|
|
624
|
+
* ```typescript
|
|
625
|
+
* let treeObj: TreeView = new TreeView({
|
|
626
|
+
* fields: { dataSource: hierarchicalData, id: 'id', text: 'name', child: 'subChild' },
|
|
627
|
+
* showCheckBox: true,
|
|
628
|
+
* checkedNodes: ['01-01','02']
|
|
629
|
+
* });
|
|
630
|
+
* treeObj.appendTo('#tree');
|
|
631
|
+
* ```
|
|
450
632
|
* @default []
|
|
451
633
|
*/
|
|
452
634
|
checkedNodes: string[];
|
|
453
635
|
/**
|
|
454
|
-
* Specifies
|
|
636
|
+
* Specifies one or more than one CSS classes to be added with root element of the TreeView to help customize the appearance of the component.
|
|
637
|
+
* ```html
|
|
638
|
+
* <div id="tree"></div>
|
|
639
|
+
* ```
|
|
640
|
+
* ```typescript
|
|
641
|
+
* let treeObj: TreeView = new TreeView({
|
|
642
|
+
* fields: { dataSource: hierarchicalData, id: 'id', text: 'name', child: 'subChild' },
|
|
643
|
+
* cssClass: 'e-custom e-tree'
|
|
644
|
+
* });
|
|
645
|
+
* treeObj.appendTo('#tree');
|
|
646
|
+
* ```
|
|
647
|
+
* ```css
|
|
648
|
+
* .e-custom .e-tree {
|
|
649
|
+
* max-width: 600px;
|
|
650
|
+
* }
|
|
651
|
+
* .e-custom .e-list-item {
|
|
652
|
+
* padding: 10px 0;
|
|
653
|
+
* }
|
|
654
|
+
* ```
|
|
455
655
|
* @default ''
|
|
456
656
|
*/
|
|
457
657
|
cssClass: string;
|
|
658
|
+
/**
|
|
659
|
+
* Specifies a value that indicates whether the TreeView component is disabled or not.
|
|
660
|
+
* When set to true, user interaction will not be occurred in TreeView.
|
|
661
|
+
*
|
|
662
|
+
* @default false
|
|
663
|
+
*/
|
|
664
|
+
disabled: boolean;
|
|
665
|
+
/**
|
|
666
|
+
* Specifies the target in which the draggable element can be moved and dropped.
|
|
667
|
+
* By default, the draggable element movement occurs in the page.
|
|
668
|
+
* ```html
|
|
669
|
+
* <div id="tree"></div>
|
|
670
|
+
* ```
|
|
671
|
+
* ```typescript
|
|
672
|
+
* let treeObj: TreeView = new TreeView({
|
|
673
|
+
* fields: { dataSource: hierarchicalData, id: 'id', text: 'name', child: 'subChild' },
|
|
674
|
+
* dragArea: '.control_wrapper'
|
|
675
|
+
* });
|
|
676
|
+
* treeObj.appendTo('#tree');
|
|
677
|
+
* ```
|
|
678
|
+
* ```css
|
|
679
|
+
* .control_wrapper {
|
|
680
|
+
* width: 500px;
|
|
681
|
+
* margin-left: 100px;
|
|
682
|
+
* }
|
|
683
|
+
* ```
|
|
684
|
+
* @default null
|
|
685
|
+
*/
|
|
686
|
+
dragArea: HTMLElement | string;
|
|
687
|
+
/**
|
|
688
|
+
* Specifies whether to allow rendering of untrusted HTML values in the TreeView component.
|
|
689
|
+
* While enable this property, it sanitize suspected untrusted strings and script, and update in the TreeView component.
|
|
690
|
+
* ```html
|
|
691
|
+
* <div id="tree"></div>
|
|
692
|
+
* ```
|
|
693
|
+
* ```typescript
|
|
694
|
+
* let treeObj: TreeView = new TreeView({
|
|
695
|
+
* fields: { dataSource: hierarchicalData, id: 'id', text: 'name', child: 'subChild' },
|
|
696
|
+
* enableHtmlSanitizer: true
|
|
697
|
+
* });
|
|
698
|
+
* treeObj.appendTo('#tree');
|
|
699
|
+
* ```
|
|
700
|
+
* @default false
|
|
701
|
+
*/
|
|
702
|
+
enableHtmlSanitizer: boolean;
|
|
458
703
|
/**
|
|
459
704
|
* Enables or disables persisting TreeView state between page reloads. If enabled, following APIs will persist.
|
|
460
705
|
* 1. `selectedNodes` - Represents the nodes that are selected in the TreeView component.
|
|
461
706
|
* 2. `checkedNodes` - Represents the nodes that are checked in the TreeView component.
|
|
462
707
|
* 3. `expandedNodes` - Represents the nodes that are expanded in the TreeView component.
|
|
708
|
+
*
|
|
463
709
|
* @default false
|
|
464
710
|
*/
|
|
465
711
|
enablePersistence: boolean;
|
|
466
|
-
/**
|
|
467
|
-
* Enables or disables RTL mode on the component that displays the content in the right to left direction.
|
|
468
|
-
* @default false
|
|
469
|
-
*/
|
|
470
|
-
enableRtl: boolean;
|
|
471
712
|
/**
|
|
472
713
|
* Represents the expanded nodes in the TreeView component. We can set the nodes that need to be
|
|
473
714
|
* expanded or get the ID of the nodes that are currently expanded by using this property.
|
|
715
|
+
* ```html
|
|
716
|
+
* <div id='tree'></div>
|
|
717
|
+
* ```
|
|
718
|
+
* ```typescript
|
|
719
|
+
* <script>
|
|
720
|
+
* var treeObj = new TreeView({
|
|
721
|
+
* fields: { dataSource: hierarchicalData, id: 'id', text: 'name', child: 'subChild' },
|
|
722
|
+
* expandedNodes: ['01','01-01','02']
|
|
723
|
+
* });
|
|
724
|
+
* treeObj.appendTo('#tree');
|
|
725
|
+
* </script>
|
|
726
|
+
* ```
|
|
474
727
|
* @default []
|
|
475
728
|
*/
|
|
476
729
|
expandedNodes: string[];
|
|
477
730
|
/**
|
|
478
|
-
* Specifies the action on which the node expands or collapses.
|
|
479
|
-
*
|
|
480
|
-
* happens
|
|
481
|
-
*
|
|
482
|
-
*
|
|
483
|
-
*
|
|
484
|
-
*
|
|
731
|
+
* Specifies the action on which the node expands or collapses.
|
|
732
|
+
* The available actions :
|
|
733
|
+
* `Click` - The expand/collapse operation happens when you single-click on the node in desktop.
|
|
734
|
+
* `DblClick` - The expand/collapse operation happens when you double-click on the node in desktop.
|
|
735
|
+
* `None` - The expand/collapse operation will not happen.
|
|
736
|
+
* In mobile devices, the node expand/collapse action happens on single tap.
|
|
737
|
+
* Here ExpandOn attribute is set to single click property also can use double click and none property.
|
|
738
|
+
* ```html
|
|
739
|
+
* <div id="tree"></div>
|
|
740
|
+
* ```
|
|
741
|
+
* ```typescript
|
|
742
|
+
* let treeObj: TreeView = new TreeView({
|
|
743
|
+
* fields: { dataSource: hierarchicalData, id: 'id', text: 'name', child: 'subChild' },
|
|
744
|
+
* expandOn: 'Click'
|
|
745
|
+
* });
|
|
746
|
+
* treeObj.appendTo('#tree');
|
|
747
|
+
* ```
|
|
485
748
|
* @default 'Auto'
|
|
486
749
|
*/
|
|
487
750
|
expandOn: ExpandOnSettings;
|
|
488
751
|
/**
|
|
489
752
|
* Specifies the data source and mapping fields to render TreeView nodes.
|
|
753
|
+
*
|
|
490
754
|
* @default {id: 'id', text: 'text', dataSource: [], child: 'child', parentID: 'parentID', hasChildren: 'hasChildren',
|
|
491
755
|
* expanded: 'expanded', htmlAttributes: 'htmlAttributes', iconCss: 'iconCss', imageUrl: 'imageUrl', isChecked: 'isChecked',
|
|
492
756
|
* query: null, selected: 'selected', tableName: null, tooltip: 'tooltip', navigateUrl: 'navigateUrl'}
|
|
@@ -496,22 +760,31 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
|
|
|
496
760
|
* On enabling this property, the entire row of the TreeView node gets selected by clicking a node.
|
|
497
761
|
* When disabled only the corresponding node's text gets selected.
|
|
498
762
|
* For more information on Fields concept, refer to
|
|
499
|
-
* [Fields](
|
|
763
|
+
* [Fields](../../treeview/data-binding#local-data).
|
|
764
|
+
*
|
|
500
765
|
* @default true
|
|
501
766
|
*/
|
|
502
767
|
fullRowSelect: boolean;
|
|
503
768
|
/**
|
|
504
769
|
* By default, the load on demand (Lazy load) is set to true. By disabling this property, all the tree nodes are rendered at the
|
|
505
770
|
* beginning itself.
|
|
771
|
+
*
|
|
506
772
|
* @default true
|
|
507
773
|
*/
|
|
508
774
|
loadOnDemand: boolean;
|
|
775
|
+
/**
|
|
776
|
+
* Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
|
|
777
|
+
*
|
|
778
|
+
* @private
|
|
779
|
+
*/
|
|
780
|
+
locale: string;
|
|
509
781
|
/**
|
|
510
782
|
* Specifies a template to render customized content for all the nodes. If the `nodeTemplate` property
|
|
511
783
|
* is set, the template content overrides the displayed node text. The property accepts template string
|
|
512
|
-
* [template string](
|
|
784
|
+
* [template string](https://ej2.syncfusion.com/documentation/common/template-engine/)
|
|
513
785
|
* or HTML element ID holding the content. For more information on template concept, refer to
|
|
514
|
-
* [Template](
|
|
786
|
+
* [Template](../../treeview/template/).
|
|
787
|
+
*
|
|
515
788
|
* @default null
|
|
516
789
|
*/
|
|
517
790
|
nodeTemplate: string;
|
|
@@ -521,7 +794,18 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
|
|
|
521
794
|
* On enabling `allowMultiSelection` property we can select multiple nodes and on disabling
|
|
522
795
|
* it we can select only a single node.
|
|
523
796
|
* For more information on selectedNodes, refer to
|
|
524
|
-
* [selectedNodes](
|
|
797
|
+
* [selectedNodes](../../treeview/multiple-selection#selected-nodes).
|
|
798
|
+
* ```html
|
|
799
|
+
* <div id="tree"></div>
|
|
800
|
+
* ```
|
|
801
|
+
* ```typescript
|
|
802
|
+
* let treeObj: TreeView = new TreeView({
|
|
803
|
+
* fields: { dataSource: hierarchicalData, id: 'id', text: 'name', child: 'subChild' },
|
|
804
|
+
* allowMultiSelection: true,
|
|
805
|
+
* selectedNodes: ['01','02']
|
|
806
|
+
* });
|
|
807
|
+
* treeObj.appendTo('#tree');
|
|
808
|
+
* ```
|
|
525
809
|
* @default []
|
|
526
810
|
*/
|
|
527
811
|
selectedNodes: string[];
|
|
@@ -531,150 +815,194 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
|
|
|
531
815
|
* * `None` - The nodes are not sorted.
|
|
532
816
|
* * `Ascending` - The nodes are sorted in the ascending order.
|
|
533
817
|
* * `Descending` - The nodes are sorted in the ascending order.
|
|
818
|
+
*
|
|
534
819
|
* @default 'None'
|
|
535
820
|
*/
|
|
536
821
|
sortOrder: SortOrder;
|
|
537
822
|
/**
|
|
538
823
|
* Indicates that the nodes will display CheckBoxes in the TreeView.
|
|
539
824
|
* The CheckBox will be displayed next to the expand/collapse icon of the node. For more information on CheckBoxes, refer to
|
|
540
|
-
* [CheckBox](
|
|
825
|
+
* [CheckBox](../../treeview/check-box/).
|
|
826
|
+
*
|
|
541
827
|
* @default false
|
|
542
828
|
*/
|
|
543
829
|
showCheckBox: boolean;
|
|
544
830
|
/**
|
|
545
831
|
* Allow us to specify the parent and child nodes to get auto check while we check or uncheck a node.
|
|
832
|
+
*
|
|
546
833
|
* @default true
|
|
547
834
|
*/
|
|
548
835
|
autoCheck: boolean;
|
|
549
836
|
/**
|
|
550
|
-
*
|
|
837
|
+
* If this property is set to true, then the entire TreeView node will be navigate-able instead of text element.
|
|
838
|
+
*
|
|
839
|
+
* @default false
|
|
840
|
+
*/
|
|
841
|
+
fullRowNavigable: boolean;
|
|
842
|
+
/**
|
|
843
|
+
* Event callback that is raised while any TreeView action failed to fetch the desired results.
|
|
844
|
+
*
|
|
845
|
+
* @event
|
|
846
|
+
*/
|
|
847
|
+
actionFailure: EmitType<FailureEventArgs>;
|
|
848
|
+
/**
|
|
849
|
+
* Event callback that is raised when the TreeView component is created successfully.
|
|
850
|
+
*
|
|
551
851
|
* @event
|
|
552
852
|
*/
|
|
553
853
|
created: EmitType<Object>;
|
|
554
854
|
/**
|
|
555
|
-
*
|
|
855
|
+
* Event callback that is raised when data source is populated in the TreeView.
|
|
856
|
+
*
|
|
556
857
|
* @event
|
|
557
858
|
*/
|
|
558
859
|
dataBound: EmitType<DataBoundEventArgs>;
|
|
559
860
|
/**
|
|
560
|
-
*
|
|
861
|
+
* Event callback that is raised when data source is changed in the TreeView. The data source will be changed after performing some operation like
|
|
561
862
|
* drag and drop, node editing, adding and removing node.
|
|
863
|
+
*
|
|
562
864
|
* @event
|
|
563
865
|
*/
|
|
564
866
|
dataSourceChanged: EmitType<DataSourceChangedEventArgs>;
|
|
565
867
|
/**
|
|
566
|
-
*
|
|
868
|
+
* Event callback that is raised before the TreeView node is appended to the TreeView element. It helps to customize specific nodes.
|
|
869
|
+
*
|
|
567
870
|
* @event
|
|
568
871
|
*/
|
|
569
872
|
drawNode: EmitType<DrawNodeEventArgs>;
|
|
570
873
|
/**
|
|
571
|
-
*
|
|
874
|
+
* Event callback that is raised when the TreeView control is destroyed successfully.
|
|
875
|
+
*
|
|
572
876
|
* @event
|
|
573
877
|
*/
|
|
574
878
|
destroyed: EmitType<Object>;
|
|
575
879
|
/**
|
|
576
|
-
*
|
|
880
|
+
* Event callback that is raised when key press is successful. It helps to customize the operations at key press.
|
|
881
|
+
*
|
|
577
882
|
* @event
|
|
578
883
|
*/
|
|
579
884
|
keyPress: EmitType<NodeKeyPressEventArgs>;
|
|
580
885
|
/**
|
|
581
|
-
*
|
|
886
|
+
* Event callback that is raised when the TreeView node is checked/unchecked successfully.
|
|
887
|
+
*
|
|
582
888
|
* @event
|
|
583
889
|
*/
|
|
584
890
|
nodeChecked: EmitType<NodeCheckEventArgs>;
|
|
585
891
|
/**
|
|
586
|
-
*
|
|
892
|
+
* Event callback that is raised before the TreeView node is to be checked/unchecked.
|
|
893
|
+
*
|
|
587
894
|
* @event
|
|
588
895
|
*/
|
|
589
896
|
nodeChecking: EmitType<NodeCheckEventArgs>;
|
|
590
897
|
/**
|
|
591
|
-
*
|
|
898
|
+
* Event callback that is raised when the TreeView node is clicked successfully.
|
|
899
|
+
*
|
|
592
900
|
* @event
|
|
593
901
|
*/
|
|
594
902
|
nodeClicked: EmitType<NodeClickEventArgs>;
|
|
595
903
|
/**
|
|
596
|
-
*
|
|
904
|
+
* Event callback that is raised when the TreeView node collapses successfully.
|
|
905
|
+
*
|
|
597
906
|
* @event
|
|
598
907
|
*/
|
|
599
908
|
nodeCollapsed: EmitType<NodeExpandEventArgs>;
|
|
600
909
|
/**
|
|
601
|
-
*
|
|
910
|
+
* Event callback that is raised before the TreeView node collapses.
|
|
911
|
+
*
|
|
602
912
|
* @event
|
|
603
913
|
*/
|
|
604
914
|
nodeCollapsing: EmitType<NodeExpandEventArgs>;
|
|
605
915
|
/**
|
|
606
|
-
*
|
|
916
|
+
* Event callback that is raised when the TreeView node is dragged (moved) continuously.
|
|
917
|
+
*
|
|
918
|
+
* @deprecated
|
|
607
919
|
* @event
|
|
608
920
|
*/
|
|
609
921
|
nodeDragging: EmitType<DragAndDropEventArgs>;
|
|
610
922
|
/**
|
|
611
|
-
*
|
|
923
|
+
* Event callback that is raised when the TreeView node drag (move) starts.
|
|
924
|
+
*
|
|
612
925
|
* @event
|
|
613
926
|
*/
|
|
614
927
|
nodeDragStart: EmitType<DragAndDropEventArgs>;
|
|
615
928
|
/**
|
|
616
|
-
*
|
|
929
|
+
* Event callback that is raised when the TreeView node drag (move) is stopped.
|
|
930
|
+
*
|
|
617
931
|
* @event
|
|
618
932
|
*/
|
|
619
933
|
nodeDragStop: EmitType<DragAndDropEventArgs>;
|
|
620
934
|
/**
|
|
621
|
-
*
|
|
935
|
+
* Event callback that is raised when the TreeView node is dropped on target element successfully.
|
|
936
|
+
*
|
|
622
937
|
* @event
|
|
623
938
|
*/
|
|
624
939
|
nodeDropped: EmitType<DragAndDropEventArgs>;
|
|
625
940
|
/**
|
|
626
|
-
*
|
|
941
|
+
* Event callback that is raised when the TreeView node is renamed successfully.
|
|
942
|
+
*
|
|
627
943
|
* @event
|
|
628
944
|
*/
|
|
629
945
|
nodeEdited: EmitType<NodeEditEventArgs>;
|
|
630
946
|
/**
|
|
631
|
-
*
|
|
947
|
+
* Event callback that is raised before the TreeView node is renamed.
|
|
948
|
+
*
|
|
632
949
|
* @event
|
|
633
950
|
*/
|
|
634
951
|
nodeEditing: EmitType<NodeEditEventArgs>;
|
|
635
952
|
/**
|
|
636
|
-
*
|
|
953
|
+
* Event callback that is raised when the TreeView node expands successfully.
|
|
954
|
+
*
|
|
637
955
|
* @event
|
|
638
956
|
*/
|
|
639
957
|
nodeExpanded: EmitType<NodeExpandEventArgs>;
|
|
640
958
|
/**
|
|
641
|
-
*
|
|
959
|
+
* Event callback that is raised before the TreeView node is to be expanded.
|
|
960
|
+
*
|
|
642
961
|
* @event
|
|
643
962
|
*/
|
|
644
963
|
nodeExpanding: EmitType<NodeExpandEventArgs>;
|
|
645
964
|
/**
|
|
646
|
-
*
|
|
965
|
+
* Event callback that is raised when the TreeView node is selected/unselected successfully.
|
|
966
|
+
*
|
|
647
967
|
* @event
|
|
648
968
|
*/
|
|
649
969
|
nodeSelected: EmitType<NodeSelectEventArgs>;
|
|
650
970
|
/**
|
|
651
|
-
*
|
|
971
|
+
* Event callback that is raised before the TreeView node is selected/unselected.
|
|
972
|
+
*
|
|
652
973
|
* @event
|
|
653
974
|
*/
|
|
654
975
|
nodeSelecting: EmitType<NodeSelectEventArgs>;
|
|
655
976
|
constructor(options?: TreeViewModel, element?: string | HTMLElement);
|
|
656
977
|
/**
|
|
657
978
|
* Get component name.
|
|
658
|
-
*
|
|
979
|
+
*
|
|
980
|
+
* @returns {string} - returns module name.
|
|
659
981
|
* @private
|
|
660
982
|
*/
|
|
661
983
|
getModuleName(): string;
|
|
662
984
|
/**
|
|
663
985
|
* Initialize the event handler
|
|
986
|
+
*
|
|
987
|
+
* @returns {void}
|
|
664
988
|
*/
|
|
665
989
|
protected preRender(): void;
|
|
666
990
|
/**
|
|
667
991
|
* Get the properties to be maintained in the persisted state.
|
|
668
|
-
*
|
|
992
|
+
*
|
|
993
|
+
* @returns {string} - returns the persisted data
|
|
669
994
|
* @hidden
|
|
670
995
|
*/
|
|
671
996
|
getPersistData(): string;
|
|
672
997
|
/**
|
|
673
998
|
* To Initialize the control rendering
|
|
999
|
+
*
|
|
674
1000
|
* @private
|
|
1001
|
+
* @returns {void}
|
|
675
1002
|
*/
|
|
676
1003
|
protected render(): void;
|
|
677
1004
|
private initialize;
|
|
1005
|
+
private setDisabledMode;
|
|
678
1006
|
private setEnableRtl;
|
|
679
1007
|
private setRipple;
|
|
680
1008
|
private setFullRow;
|
|
@@ -685,6 +1013,26 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
|
|
|
685
1013
|
private getType;
|
|
686
1014
|
private setRootData;
|
|
687
1015
|
private renderItems;
|
|
1016
|
+
/**
|
|
1017
|
+
* Update the checkedNodes from datasource at initial rendering
|
|
1018
|
+
*/
|
|
1019
|
+
private updateCheckedStateFromDS;
|
|
1020
|
+
/**
|
|
1021
|
+
* To check whether the list data has sub child and to change the parent check state accordingly
|
|
1022
|
+
*/
|
|
1023
|
+
private getCheckedNodeDetails;
|
|
1024
|
+
/**
|
|
1025
|
+
* Update the checkedNodes and parent state when all the child Nodes are in checkedstate at initial rendering
|
|
1026
|
+
*/
|
|
1027
|
+
private updateParentCheckState;
|
|
1028
|
+
/**
|
|
1029
|
+
* Change the parent to indeterminate state whenever the child is in checked state which is not rendered in DOM
|
|
1030
|
+
*/
|
|
1031
|
+
private checkIndeterminateState;
|
|
1032
|
+
/**
|
|
1033
|
+
* Update the checkedNodes for child and subchild from datasource (hierarchical datasource) at initial rendering
|
|
1034
|
+
*/
|
|
1035
|
+
private updateChildCheckState;
|
|
688
1036
|
private beforeNodeCreate;
|
|
689
1037
|
private frameMouseHandler;
|
|
690
1038
|
private addActionClass;
|
|
@@ -697,11 +1045,28 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
|
|
|
697
1045
|
private ensureParentCheckState;
|
|
698
1046
|
private ensureChildCheckState;
|
|
699
1047
|
private doCheckBoxAction;
|
|
1048
|
+
private updateFieldChecked;
|
|
1049
|
+
/**
|
|
1050
|
+
* Changes the parent and child check state while changing the checkedNodes via setmodel
|
|
1051
|
+
*/
|
|
1052
|
+
private dynamicCheckState;
|
|
1053
|
+
/**
|
|
1054
|
+
* updates the parent and child check state while changing the checkedNodes via setmodel for listData
|
|
1055
|
+
*/
|
|
1056
|
+
private updateIndeterminate;
|
|
1057
|
+
/**
|
|
1058
|
+
* updates the parent and child check state while changing the checkedNodes via setmodel for hierarchical data
|
|
1059
|
+
*/
|
|
1060
|
+
private updateChildIndeterminate;
|
|
700
1061
|
private changeState;
|
|
1062
|
+
private nodeCheckAction;
|
|
701
1063
|
private addCheck;
|
|
702
1064
|
private removeCheck;
|
|
703
1065
|
private getCheckEvent;
|
|
704
1066
|
private finalize;
|
|
1067
|
+
private setTextWrap;
|
|
1068
|
+
private updateWrap;
|
|
1069
|
+
private calculateWrap;
|
|
705
1070
|
private doExpandAction;
|
|
706
1071
|
private expandGivenNodes;
|
|
707
1072
|
private expandCallback;
|
|
@@ -709,13 +1074,13 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
|
|
|
709
1074
|
private doSelectionAction;
|
|
710
1075
|
private selectGivenNodes;
|
|
711
1076
|
private clickHandler;
|
|
712
|
-
private nodeCheckingEvent;
|
|
713
1077
|
private nodeCheckedEvent;
|
|
714
1078
|
private triggerClickEvent;
|
|
715
1079
|
private expandNode;
|
|
716
1080
|
private expandedNode;
|
|
717
1081
|
private addExpand;
|
|
718
1082
|
private collapseNode;
|
|
1083
|
+
private nodeCollapseAction;
|
|
719
1084
|
private collapsedNode;
|
|
720
1085
|
private removeExpand;
|
|
721
1086
|
private disableExpandAttr;
|
|
@@ -724,6 +1089,10 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
|
|
|
724
1089
|
private renderChildNodes;
|
|
725
1090
|
private loadChild;
|
|
726
1091
|
private disableTreeNodes;
|
|
1092
|
+
/**
|
|
1093
|
+
* Sets the child Item in selectedState while rendering the child node
|
|
1094
|
+
*/
|
|
1095
|
+
private setSelectionForChildNodes;
|
|
727
1096
|
private ensureCheckNode;
|
|
728
1097
|
private getFields;
|
|
729
1098
|
private getChildFields;
|
|
@@ -734,7 +1103,9 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
|
|
|
734
1103
|
private toggleSelect;
|
|
735
1104
|
private isActive;
|
|
736
1105
|
private selectNode;
|
|
1106
|
+
private nodeSelectAction;
|
|
737
1107
|
private unselectNode;
|
|
1108
|
+
private nodeUnselectAction;
|
|
738
1109
|
private setFocusElement;
|
|
739
1110
|
private addSelect;
|
|
740
1111
|
private removeSelect;
|
|
@@ -744,6 +1115,7 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
|
|
|
744
1115
|
private expandHandler;
|
|
745
1116
|
private expandCollapseAction;
|
|
746
1117
|
private expandAction;
|
|
1118
|
+
private nodeExpandAction;
|
|
747
1119
|
private keyActionHandler;
|
|
748
1120
|
private navigateToFocus;
|
|
749
1121
|
private isVisibleInViewport;
|
|
@@ -751,6 +1123,16 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
|
|
|
751
1123
|
private shiftKeySelect;
|
|
752
1124
|
private checkNode;
|
|
753
1125
|
private validateCheckNode;
|
|
1126
|
+
private nodeCheckingAction;
|
|
1127
|
+
/**
|
|
1128
|
+
* Update checkedNodes when UI interaction happens before the child node renders in DOM
|
|
1129
|
+
*/
|
|
1130
|
+
private ensureStateChange;
|
|
1131
|
+
private getChildItems;
|
|
1132
|
+
/**
|
|
1133
|
+
* Update checkedNodes when UI interaction happens before the child node renders in DOM for hierarchical DS
|
|
1134
|
+
*/
|
|
1135
|
+
private childStateChange;
|
|
754
1136
|
private allCheckNode;
|
|
755
1137
|
private openNode;
|
|
756
1138
|
private navigateNode;
|
|
@@ -772,13 +1154,17 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
|
|
|
772
1154
|
private getNodeData;
|
|
773
1155
|
private getText;
|
|
774
1156
|
private getExpandEvent;
|
|
1157
|
+
private renderNodeTemplate;
|
|
1158
|
+
private destroyTemplate;
|
|
775
1159
|
private reRenderNodes;
|
|
776
1160
|
private setCssClass;
|
|
777
1161
|
private editingHandler;
|
|
778
1162
|
private createTextbox;
|
|
1163
|
+
private renderTextBox;
|
|
779
1164
|
private updateOldText;
|
|
780
1165
|
private inputFocusOut;
|
|
781
1166
|
private appendNewText;
|
|
1167
|
+
private updateText;
|
|
782
1168
|
private getElement;
|
|
783
1169
|
private getId;
|
|
784
1170
|
private getEditEvent;
|
|
@@ -786,7 +1172,9 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
|
|
|
786
1172
|
private getChildNodeObject;
|
|
787
1173
|
private setDragAndDrop;
|
|
788
1174
|
private initializeDrag;
|
|
1175
|
+
private dragCancelAction;
|
|
789
1176
|
private dragAction;
|
|
1177
|
+
private appendIndicator;
|
|
790
1178
|
private dropAction;
|
|
791
1179
|
private appendNode;
|
|
792
1180
|
private dropAsSiblingNode;
|
|
@@ -823,6 +1211,9 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
|
|
|
823
1211
|
private addChildData;
|
|
824
1212
|
private doDisableAction;
|
|
825
1213
|
private doEnableAction;
|
|
1214
|
+
private nodeType;
|
|
1215
|
+
private checkValidId;
|
|
1216
|
+
private filterNestedChild;
|
|
826
1217
|
private setTouchClass;
|
|
827
1218
|
private updatePersistProp;
|
|
828
1219
|
private removeField;
|
|
@@ -834,16 +1225,35 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
|
|
|
834
1225
|
private wireEditingEvents;
|
|
835
1226
|
private wireClickEvent;
|
|
836
1227
|
private wireExpandOnEvent;
|
|
837
|
-
private mouseDownStatus;
|
|
838
1228
|
private mouseDownHandler;
|
|
839
1229
|
private preventContextMenu;
|
|
840
1230
|
private wireEvents;
|
|
841
1231
|
private unWireEvents;
|
|
842
1232
|
private parents;
|
|
1233
|
+
private isDoubleTapped;
|
|
843
1234
|
private isDescendant;
|
|
844
1235
|
protected showSpinner(element: HTMLElement): void;
|
|
845
1236
|
protected hideSpinner(element: HTMLElement): void;
|
|
846
1237
|
private setCheckedNodes;
|
|
1238
|
+
/**
|
|
1239
|
+
* Checks whether the checkedNodes entered are valid and sets the valid checkedNodes while changing via setmodel
|
|
1240
|
+
*/
|
|
1241
|
+
private setValidCheckedNode;
|
|
1242
|
+
/**
|
|
1243
|
+
* Checks whether the checkedNodes entered are valid and sets the valid checkedNodes while changing via setmodel(for hierarchical DS)
|
|
1244
|
+
*/
|
|
1245
|
+
private setChildCheckState;
|
|
1246
|
+
private setIndeterminate;
|
|
1247
|
+
private updatePosition;
|
|
1248
|
+
private updateChildPosition;
|
|
1249
|
+
private dynamicState;
|
|
1250
|
+
private crudOperation;
|
|
1251
|
+
private deleteSuccess;
|
|
1252
|
+
private editSucess;
|
|
1253
|
+
private addSuccess;
|
|
1254
|
+
private dmFailure;
|
|
1255
|
+
private updatePreviousText;
|
|
1256
|
+
private getHierarchicalParentId;
|
|
847
1257
|
/**
|
|
848
1258
|
* Called internally if any of the property value changed.
|
|
849
1259
|
* @param {TreeView} newProp
|
|
@@ -868,8 +1278,8 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
|
|
|
868
1278
|
[key: string]: Object;
|
|
869
1279
|
}[], target?: string | Element, index?: number, preventTargetExpand?: boolean): void;
|
|
870
1280
|
/**
|
|
871
|
-
*
|
|
872
|
-
*
|
|
1281
|
+
* Editing can also be enabled by using the `beginEdit` property, instead of clicking on the
|
|
1282
|
+
* TreeView node. On passing the node ID or element through this property, the edit textBox
|
|
873
1283
|
* will be created for the particular node thus allowing us to edit it.
|
|
874
1284
|
* @param {string | Element} node - Specifies ID of TreeView node/TreeView node.
|
|
875
1285
|
*/
|
|
@@ -920,7 +1330,11 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
|
|
|
920
1330
|
*/
|
|
921
1331
|
getAllCheckedNodes(): string[];
|
|
922
1332
|
/**
|
|
923
|
-
|
|
1333
|
+
* Gets all the disabled nodes including child, whether it is loaded or not.
|
|
1334
|
+
*/
|
|
1335
|
+
getDisabledNodes(): string[];
|
|
1336
|
+
/**
|
|
1337
|
+
* Gets the node's data such as id, text, parentID, selected, isChecked, and expanded by passing the node element or it's ID.
|
|
924
1338
|
* @param {string | Element} node - Specifies ID of TreeView node/TreeView node.
|
|
925
1339
|
*/
|
|
926
1340
|
getNode(node: string | Element): {
|
|
@@ -933,6 +1347,7 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
|
|
|
933
1347
|
* of the corresponding node otherwise it will return the entire updated data source of TreeView.
|
|
934
1348
|
* * The updated data source also contains custom attributes if you specified in data source.
|
|
935
1349
|
* @param {string | Element} node - Specifies ID of TreeView node/TreeView node.
|
|
1350
|
+
* @isGenericType true
|
|
936
1351
|
*/
|
|
937
1352
|
getTreeData(node?: string | Element): {
|
|
938
1353
|
[key: string]: Object;
|
|
@@ -945,6 +1360,14 @@ export declare class TreeView extends Component<HTMLElement> implements INotifyP
|
|
|
945
1360
|
* @param { boolean } preventTargetExpand - If set to true, the target parent node will be prevented from auto expanding.
|
|
946
1361
|
*/
|
|
947
1362
|
moveNodes(sourceNodes: string[] | Element[], target: string | Element, index: number, preventTargetExpand?: boolean): void;
|
|
1363
|
+
/**
|
|
1364
|
+
* Refreshes a particular node of the TreeView.
|
|
1365
|
+
* @param {string | Element} target - Specifies the ID of TreeView node or TreeView node as target element.
|
|
1366
|
+
* @param {{ [key: string]: Object }[]} newData - Specifies the new data of TreeView node.
|
|
1367
|
+
*/
|
|
1368
|
+
refreshNode(target: string | Element, newData: {
|
|
1369
|
+
[key: string]: Object;
|
|
1370
|
+
}[]): void;
|
|
948
1371
|
/**
|
|
949
1372
|
* Removes the collection of TreeView nodes by passing the array of node details as argument to this method.
|
|
950
1373
|
* @param {string[] | Element[]} nodes - Specifies the array of TreeView nodes ID/array of TreeView node.
|