@syncfusion/ej2-navigations 20.1.48 → 20.1.51-10460
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +243 -243
- package/CHANGELOG.md +1601 -1585
- package/README.md +194 -194
- 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 +78 -76
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +234 -232
- package/dist/es6/ej2-navigations.es5.js.map +1 -1
- package/dist/global/ej2-navigations.min.js +1 -10
- package/dist/global/ej2-navigations.min.js.map +1 -1
- package/dist/global/index.d.ts +0 -9
- package/dist/ts/accordion/accordion.ts +1545 -0
- package/dist/ts/breadcrumb/breadcrumb.ts +873 -0
- package/dist/ts/carousel/carousel.ts +1181 -0
- package/dist/ts/common/h-scroll.ts +477 -0
- package/dist/ts/common/menu-base.ts +2357 -0
- package/dist/ts/common/menu-scroll.ts +105 -0
- package/dist/ts/common/v-scroll.ts +454 -0
- package/{src/context-menu/context-menu.d.ts → dist/ts/context-menu/context-menu.ts} +134 -88
- package/dist/ts/menu/menu.ts +302 -0
- package/dist/ts/sidebar/sidebar.ts +874 -0
- package/dist/ts/tab/tab.ts +2637 -0
- package/dist/ts/toolbar/toolbar.ts +2378 -0
- package/dist/ts/treeview/treeview.ts +5768 -0
- package/helpers/e2e/accordionHelper.js +70 -53
- package/helpers/e2e/contextmenuHelper.js +52 -35
- package/helpers/e2e/index.js +14 -12
- package/helpers/e2e/menuHelper.js +52 -35
- package/helpers/e2e/sidebarHelper.js +109 -92
- package/helpers/e2e/tabHelper.js +73 -56
- package/helpers/e2e/toolbarHelper.js +73 -56
- package/helpers/e2e/treeview.js +79 -61
- package/license +10 -10
- package/package.json +164 -164
- package/src/accordion/accordion-model.d.ts +190 -190
- package/src/accordion/accordion.js +19 -19
- package/src/breadcrumb/breadcrumb-model.d.ts +105 -105
- package/src/breadcrumb/breadcrumb.js +19 -19
- package/src/carousel/carousel-model.d.ts +148 -148
- package/src/carousel/carousel.js +19 -19
- package/src/common/h-scroll-model.d.ts +6 -6
- package/src/common/h-scroll.js +19 -19
- package/src/common/menu-base-model.d.ts +206 -206
- package/src/common/menu-base.js +22 -20
- package/src/common/v-scroll-model.d.ts +6 -6
- package/src/common/v-scroll.js +19 -19
- package/src/context-menu/context-menu-model.d.ts +18 -18
- package/src/context-menu/context-menu.js +19 -19
- package/src/menu/menu-model.d.ts +43 -43
- package/src/menu/menu.js +19 -19
- package/src/sidebar/sidebar-model.d.ts +191 -191
- package/src/sidebar/sidebar.js +19 -19
- package/src/tab/tab-model.d.ts +291 -291
- package/src/tab/tab.js +21 -21
- package/src/toolbar/toolbar-model.d.ts +195 -195
- package/src/toolbar/toolbar.js +19 -19
- package/src/treeview/treeview-model.d.ts +411 -411
- package/src/treeview/treeview.js +20 -20
- package/styles/accordion/_bds-definition.scss +167 -0
- package/styles/accordion/_bigger.scss +121 -0
- package/styles/accordion/_bootstrap5.3-definition.scss +168 -0
- package/styles/accordion/_fluent2-definition.scss +167 -0
- package/styles/accordion/_fusionnew-definition.scss +168 -0
- package/styles/accordion/_material3-dark-definition.scss +1 -0
- package/styles/accordion/_material3-definition.scss +168 -0
- package/styles/accordion/fluent2.scss +4 -0
- package/styles/accordion/icons/_bds.scss +15 -0
- package/styles/accordion/icons/_bootstrap5.3.scss +15 -0
- package/styles/accordion/icons/_fluent2.scss +15 -0
- package/styles/accordion/icons/_fusionnew.scss +15 -0
- package/styles/accordion/icons/_material3-dark.scss +1 -0
- package/styles/accordion/icons/_material3.scss +15 -0
- package/styles/accordion/material3-dark.scss +4 -0
- package/styles/accordion/material3.scss +4 -0
- package/styles/appbar/_all.scss +2 -0
- package/styles/appbar/_bds-definition.scss +25 -0
- package/styles/appbar/_bigger.scss +15 -0
- package/styles/appbar/_bootstrap-dark-definition.scss +6 -0
- package/styles/appbar/_bootstrap-definition.scss +6 -0
- package/styles/appbar/_bootstrap4-definition.scss +6 -0
- package/styles/appbar/_bootstrap5-definition.scss +6 -0
- package/styles/appbar/_bootstrap5.3-definition.scss +6 -0
- package/styles/appbar/_fabric-dark-definition.scss +6 -0
- package/styles/appbar/_fabric-definition.scss +6 -0
- package/styles/appbar/_fluent-definition.scss +6 -0
- package/styles/appbar/_fluent2-definition.scss +24 -0
- package/styles/appbar/_fusionnew-definition.scss +6 -0
- package/styles/appbar/_highcontrast-definition.scss +6 -0
- package/styles/appbar/_highcontrast-light-definition.scss +6 -0
- package/styles/appbar/_layout.scss +76 -0
- package/styles/appbar/_material-dark-definition.scss +6 -0
- package/styles/appbar/_material-definition.scss +6 -0
- package/styles/appbar/_material3-definition.scss +6 -0
- package/styles/appbar/_tailwind-definition.scss +6 -0
- package/styles/appbar/_theme.scss +216 -0
- package/styles/bootstrap-dark.css +1 -1
- package/styles/bootstrap.css +1 -1
- package/styles/bootstrap4.css +1 -1
- package/styles/bootstrap5-dark.css +1 -1
- package/styles/bootstrap5.css +1 -1
- package/styles/breadcrumb/_bds-definition.scss +60 -0
- package/styles/breadcrumb/_bigger.scss +160 -0
- package/styles/breadcrumb/_bootstrap5.3-definition.scss +61 -0
- package/styles/breadcrumb/_fluent2-definition.scss +61 -0
- package/styles/breadcrumb/_fusionnew-definition.scss +59 -0
- package/styles/breadcrumb/_layout.scss +1 -1
- package/styles/breadcrumb/_material3-dark-definition.scss +1 -0
- package/styles/breadcrumb/_material3-definition.scss +60 -0
- package/styles/breadcrumb/bootstrap-dark.css +1 -1
- package/styles/breadcrumb/bootstrap.css +1 -1
- package/styles/breadcrumb/bootstrap4.css +1 -1
- package/styles/breadcrumb/bootstrap5-dark.css +1 -1
- package/styles/breadcrumb/bootstrap5.css +1 -1
- package/styles/breadcrumb/fabric-dark.css +1 -1
- package/styles/breadcrumb/fabric.css +1 -1
- package/styles/breadcrumb/fluent-dark.css +1 -1
- package/styles/breadcrumb/fluent.css +1 -1
- package/styles/breadcrumb/fluent2.scss +4 -0
- package/styles/breadcrumb/highcontrast-light.css +1 -1
- package/styles/breadcrumb/highcontrast.css +1 -1
- package/styles/breadcrumb/icons/_bds.scss +23 -0
- package/styles/breadcrumb/icons/_bootstrap5.3.scss +23 -0
- package/styles/breadcrumb/icons/_fluent2.scss +23 -0
- package/styles/breadcrumb/icons/_fusionnew.scss +23 -0
- package/styles/breadcrumb/icons/_material3-dark.scss +1 -0
- package/styles/breadcrumb/icons/_material3.scss +12 -0
- package/styles/breadcrumb/material-dark.css +1 -1
- package/styles/breadcrumb/material.css +1 -1
- package/styles/breadcrumb/material3-dark.scss +4 -0
- package/styles/breadcrumb/material3.scss +4 -0
- package/styles/breadcrumb/tailwind-dark.css +1 -1
- package/styles/breadcrumb/tailwind.css +1 -1
- package/styles/carousel/_bds-definition.scss +20 -0
- package/styles/carousel/_bootstrap5.3-definition.scss +20 -0
- package/styles/carousel/_fluent2-definition.scss +23 -0
- package/styles/carousel/_fusionnew-definition.scss +20 -0
- package/styles/carousel/_material3-dark-definition.scss +1 -0
- package/styles/carousel/_material3-definition.scss +21 -0
- package/styles/carousel/fluent2.scss +4 -0
- package/styles/carousel/icons/_bds.scss +30 -0
- package/styles/carousel/icons/_bootstrap5.3.scss +30 -0
- package/styles/carousel/icons/_fluent2.scss +30 -0
- package/styles/carousel/icons/_fusionnew.scss +30 -0
- package/styles/carousel/icons/_material3-dark.scss +1 -0
- package/styles/carousel/icons/_material3.scss +30 -0
- package/styles/carousel/material3-dark.scss +4 -0
- package/styles/carousel/material3.scss +4 -0
- package/styles/context-menu/_bds-definition.scss +68 -0
- package/styles/context-menu/_bigger.scss +96 -0
- package/styles/context-menu/_bootstrap5.3-definition.scss +52 -0
- package/styles/context-menu/_fluent2-definition.scss +52 -0
- package/styles/context-menu/_fusionnew-definition.scss +51 -0
- package/styles/context-menu/_material3-dark-definition.scss +1 -0
- package/styles/context-menu/_material3-definition.scss +51 -0
- package/styles/context-menu/fluent2.scss +4 -0
- package/styles/context-menu/icons/_bds.scss +31 -0
- package/styles/context-menu/icons/_bootstrap5.3.scss +31 -0
- package/styles/context-menu/icons/_fluent2.scss +31 -0
- package/styles/context-menu/icons/_fusionnew.scss +31 -0
- package/styles/context-menu/icons/_material3-dark.scss +1 -0
- package/styles/context-menu/icons/_material3.scss +31 -0
- package/styles/context-menu/material3-dark.scss +4 -0
- package/styles/context-menu/material3.scss +4 -0
- package/styles/fabric-dark.css +1 -1
- package/styles/fabric.css +1 -1
- package/styles/fluent-dark.css +1 -1
- package/styles/fluent.css +1 -1
- package/styles/fluent2.scss +34 -0
- package/styles/h-scroll/_bds-definition.scss +83 -0
- package/styles/h-scroll/_bigger.scss +39 -0
- package/styles/h-scroll/_bootstrap5.3-definition.scss +83 -0
- package/styles/h-scroll/_fluent2-definition.scss +83 -0
- package/styles/h-scroll/_fusionnew-definition.scss +83 -0
- package/styles/h-scroll/_material3-dark-definition.scss +1 -0
- package/styles/h-scroll/_material3-definition.scss +83 -0
- package/styles/h-scroll/fluent2.scss +4 -0
- package/styles/h-scroll/icons/_bds.scss +49 -0
- package/styles/h-scroll/icons/_bootstrap5.3.scss +49 -0
- package/styles/h-scroll/icons/_fluent2.scss +49 -0
- package/styles/h-scroll/icons/_fusionnew.scss +49 -0
- package/styles/h-scroll/icons/_material3-dark.scss +1 -0
- package/styles/h-scroll/icons/_material3.scss +49 -0
- package/styles/h-scroll/material3-dark.scss +4 -0
- package/styles/h-scroll/material3.scss +4 -0
- package/styles/highcontrast-light.css +1 -1
- package/styles/highcontrast.css +1 -1
- package/styles/material-dark.css +1 -1
- package/styles/material.css +1 -1
- package/styles/material3-dark.scss +34 -0
- package/styles/material3.scss +34 -0
- package/styles/menu/_bds-definition.scss +65 -0
- package/styles/menu/_bigger.scss +355 -0
- package/styles/menu/_bootstrap5.3-definition.scss +66 -0
- package/styles/menu/_fluent2-definition.scss +67 -0
- package/styles/menu/_fusionnew-definition.scss +66 -0
- package/styles/menu/_material3-dark-definition.scss +1 -0
- package/styles/menu/_material3-definition.scss +66 -0
- package/styles/menu/fluent2.scss +7 -0
- package/styles/menu/icons/_bds.scss +104 -0
- package/styles/menu/icons/_bootstrap5.3.scss +104 -0
- package/styles/menu/icons/_fluent2.scss +104 -0
- package/styles/menu/icons/_fusionnew.scss +104 -0
- package/styles/menu/icons/_material3-dark.scss +1 -0
- package/styles/menu/icons/_material3.scss +104 -0
- package/styles/menu/material3-dark.scss +7 -0
- package/styles/menu/material3.scss +7 -0
- package/styles/pager/_all.scss +2 -0
- package/styles/pager/_bds-definition.scss +152 -0
- package/styles/pager/_bigger.scss +311 -0
- package/styles/pager/_bootstrap-dark-definition.scss +151 -0
- package/styles/pager/_bootstrap-definition.scss +151 -0
- package/styles/pager/_bootstrap4-definition.scss +151 -0
- package/styles/pager/_bootstrap5-definition.scss +166 -0
- package/styles/pager/_bootstrap5.3-definition.scss +166 -0
- package/styles/pager/_fabric-dark-definition.scss +149 -0
- package/styles/pager/_fabric-definition.scss +149 -0
- package/styles/pager/_fluent-definition.scss +153 -0
- package/styles/pager/_fluent2-definition.scss +152 -0
- package/styles/pager/_fusionnew-definition.scss +166 -0
- package/styles/pager/_highcontrast-definition.scss +149 -0
- package/styles/pager/_highcontrast-light-definition.scss +149 -0
- package/styles/pager/_layout.scss +742 -0
- package/styles/pager/_material-dark-definition.scss +150 -0
- package/styles/pager/_material-definition.scss +150 -0
- package/styles/pager/_material3-definition.scss +166 -0
- package/styles/pager/_tailwind-definition.scss +152 -0
- package/styles/pager/_theme.scss +189 -0
- package/styles/pager/icons/_bds.scss +50 -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.3.scss +50 -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.scss +50 -0
- package/styles/pager/icons/_fluent2.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.scss +50 -0
- package/styles/sidebar/_bds-definition.scss +53 -0
- package/styles/sidebar/_bootstrap5.3-definition.scss +6 -0
- package/styles/sidebar/_fluent2-definition.scss +8 -0
- package/styles/sidebar/_fusionnew-definition.scss +6 -0
- package/styles/sidebar/_material3-dark-definition.scss +1 -0
- package/styles/sidebar/_material3-definition.scss +4 -0
- package/styles/sidebar/fluent2.scss +3 -0
- package/styles/sidebar/material3-dark.scss +3 -0
- package/styles/sidebar/material3.scss +3 -0
- package/styles/stepper/_all.scss +2 -0
- package/styles/stepper/_bds-definition.scss +72 -0
- package/styles/stepper/_bigger.scss +53 -0
- package/styles/stepper/_bootstrap-dark-definition.scss +72 -0
- package/styles/stepper/_bootstrap-definition.scss +72 -0
- package/styles/stepper/_bootstrap4-definition.scss +72 -0
- package/styles/stepper/_bootstrap5-definition.scss +73 -0
- package/styles/stepper/_bootstrap5.3-definition.scss +72 -0
- package/styles/stepper/_fabric-dark-definition.scss +72 -0
- package/styles/stepper/_fabric-definition.scss +72 -0
- package/styles/stepper/_fluent-definition.scss +72 -0
- package/styles/stepper/_fluent2-definition.scss +72 -0
- package/styles/stepper/_fusionnew-definition.scss +72 -0
- package/styles/stepper/_highcontrast-definition.scss +72 -0
- package/styles/stepper/_highcontrast-light-definition.scss +72 -0
- package/styles/stepper/_layout.scss +431 -0
- package/styles/stepper/_material-dark-definition.scss +72 -0
- package/styles/stepper/_material-definition.scss +72 -0
- package/styles/stepper/_material3-definition.scss +72 -0
- package/styles/stepper/_tailwind-definition.scss +72 -0
- package/styles/stepper/_theme.scss +195 -0
- package/styles/stepper/icons/_bds.scss +5 -0
- package/styles/stepper/icons/_bootstrap-dark.scss +5 -0
- package/styles/stepper/icons/_bootstrap.scss +5 -0
- package/styles/stepper/icons/_bootstrap4.scss +5 -0
- package/styles/stepper/icons/_bootstrap5.3.scss +5 -0
- package/styles/stepper/icons/_bootstrap5.scss +5 -0
- package/styles/stepper/icons/_fabric-dark.scss +5 -0
- package/styles/stepper/icons/_fabric.scss +5 -0
- package/styles/stepper/icons/_fluent.scss +5 -0
- package/styles/stepper/icons/_fluent2.scss +5 -0
- package/styles/stepper/icons/_fusionnew.scss +5 -0
- package/styles/stepper/icons/_highcontrast-light.scss +5 -0
- package/styles/stepper/icons/_highcontrast.scss +5 -0
- package/styles/stepper/icons/_material-dark.scss +5 -0
- package/styles/stepper/icons/_material.scss +5 -0
- package/styles/stepper/icons/_material3.scss +5 -0
- package/styles/stepper/icons/_tailwind.scss +5 -0
- package/styles/tab/_bds-definition.scss +661 -0
- package/styles/tab/_bigger.scss +1270 -0
- package/styles/tab/_bootstrap5.3-definition.scss +636 -0
- package/styles/tab/_fluent2-definition.scss +667 -0
- package/styles/tab/_fusionnew-definition.scss +634 -0
- package/styles/tab/_material3-dark-definition.scss +1 -0
- package/styles/tab/_material3-definition.scss +636 -0
- package/styles/tab/fluent2.scss +5 -0
- package/styles/tab/icons/_bds.scss +90 -0
- package/styles/tab/icons/_bootstrap5.3.scss +90 -0
- package/styles/tab/icons/_fluent2.scss +98 -0
- package/styles/tab/icons/_fusionnew.scss +90 -0
- package/styles/tab/icons/_material3-dark.scss +1 -0
- package/styles/tab/icons/_material3.scss +90 -0
- package/styles/tab/material3-dark.scss +5 -0
- package/styles/tab/material3.scss +5 -0
- package/styles/tailwind-dark.css +1 -1
- package/styles/tailwind.css +1 -1
- package/styles/toolbar/_bds-definition.scss +197 -0
- package/styles/toolbar/_bigger.scss +309 -0
- package/styles/toolbar/_bootstrap5.3-definition.scss +198 -0
- package/styles/toolbar/_fluent2-definition.scss +198 -0
- package/styles/toolbar/_fusionnew-definition.scss +198 -0
- package/styles/toolbar/_material3-dark-definition.scss +1 -0
- package/styles/toolbar/_material3-definition.scss +199 -0
- package/styles/toolbar/fluent2.scss +6 -0
- package/styles/toolbar/icons/_bds.scss +14 -0
- package/styles/toolbar/icons/_bootstrap5.3.scss +14 -0
- package/styles/toolbar/icons/_fluent2.scss +14 -0
- package/styles/toolbar/icons/_fusionnew.scss +14 -0
- package/styles/toolbar/icons/_material3-dark.scss +1 -0
- package/styles/toolbar/icons/_material3.scss +14 -0
- package/styles/toolbar/material3-dark.scss +6 -0
- package/styles/toolbar/material3.scss +6 -0
- package/styles/treeview/_bds-definition.scss +132 -0
- package/styles/treeview/_bigger.scss +393 -0
- package/styles/treeview/_bootstrap5.3-definition.scss +119 -0
- package/styles/treeview/_fluent2-definition.scss +128 -0
- package/styles/treeview/_fusionnew-definition.scss +120 -0
- package/styles/treeview/_material3-dark-definition.scss +1 -0
- package/styles/treeview/_material3-definition.scss +110 -0
- package/styles/treeview/fluent2.scss +4 -0
- package/styles/treeview/icons/_bds.scss +44 -0
- package/styles/treeview/icons/_bootstrap5.3.scss +44 -0
- package/styles/treeview/icons/_fluent2.scss +44 -0
- package/styles/treeview/icons/_fusionnew.scss +44 -0
- package/styles/treeview/icons/_material3-dark.scss +1 -0
- package/styles/treeview/icons/_material3.scss +44 -0
- package/styles/treeview/material3-dark.scss +4 -0
- package/styles/treeview/material3.scss +4 -0
- package/styles/v-scroll/_bds-definition.scss +49 -0
- package/styles/v-scroll/_bigger.scss +28 -0
- package/styles/v-scroll/_bootstrap5.3-definition.scss +49 -0
- package/styles/v-scroll/_fluent2-definition.scss +49 -0
- package/styles/v-scroll/_fusionnew-definition.scss +49 -0
- package/styles/v-scroll/_material3-dark-definition.scss +1 -0
- package/styles/v-scroll/_material3-definition.scss +49 -0
- package/styles/v-scroll/fluent2.scss +4 -0
- package/styles/v-scroll/icons/_bds.scss +27 -0
- package/styles/v-scroll/icons/_bootstrap5.3.scss +27 -0
- package/styles/v-scroll/icons/_fluent2.scss +27 -0
- package/styles/v-scroll/icons/_fusionnew.scss +27 -0
- package/styles/v-scroll/icons/_material3-dark.scss +1 -0
- package/styles/v-scroll/icons/_material3.scss +27 -0
- package/styles/v-scroll/material3-dark.scss +4 -0
- package/styles/v-scroll/material3.scss +4 -0
- package/tslint.json +111 -111
- package/.github/PULL_REQUEST_TEMPLATE/Bug.md +0 -63
- package/.github/PULL_REQUEST_TEMPLATE/feature.md +0 -39
- package/accordion.d.ts +0 -4
- package/accordion.js +0 -4
- package/breadcrumb.d.ts +0 -4
- package/breadcrumb.js +0 -4
- package/carousel.d.ts +0 -4
- package/carousel.js +0 -4
- package/common.d.ts +0 -4
- package/common.js +0 -4
- package/context-menu.d.ts +0 -4
- package/context-menu.js +0 -4
- package/helpers/e2e/accordionHelper.d.ts +0 -56
- package/helpers/e2e/contextmenuHelper.d.ts +0 -37
- package/helpers/e2e/index.d.ts +0 -7
- package/helpers/e2e/menuHelper.d.ts +0 -37
- package/helpers/e2e/sidebarHelper.d.ts +0 -94
- package/helpers/e2e/tabHelper.d.ts +0 -60
- package/helpers/e2e/toolbarHelper.d.ts +0 -60
- package/helpers/e2e/treeview.d.ts +0 -50
- package/index.d.ts +0 -4
- package/index.js +0 -4
- package/menu.d.ts +0 -4
- package/menu.js +0 -4
- package/sidebar.d.ts +0 -4
- package/sidebar.js +0 -4
- package/src/accordion/accordion.d.ts +0 -440
- package/src/accordion/index.d.ts +0 -5
- package/src/breadcrumb/breadcrumb.d.ts +0 -255
- package/src/breadcrumb/index.d.ts +0 -5
- package/src/carousel/carousel.d.ts +0 -338
- package/src/carousel/index.d.ts +0 -3
- package/src/common/h-scroll.d.ts +0 -105
- package/src/common/index.d.ts +0 -9
- package/src/common/menu-base.d.ts +0 -526
- package/src/common/menu-scroll.d.ts +0 -29
- package/src/common/v-scroll.d.ts +0 -106
- package/src/context-menu/index.d.ts +0 -5
- package/src/index.d.ts +0 -13
- package/src/menu/index.d.ts +0 -5
- package/src/menu/menu.d.ts +0 -121
- package/src/sidebar/index.d.ts +0 -5
- package/src/sidebar/sidebar.d.ts +0 -321
- package/src/tab/index.d.ts +0 -5
- package/src/tab/tab.d.ts +0 -650
- package/src/toolbar/index.d.ts +0 -5
- package/src/toolbar/toolbar.d.ts +0 -470
- package/src/treeview/index.d.ts +0 -5
- package/src/treeview/treeview.d.ts +0 -1256
- package/tab.d.ts +0 -4
- package/tab.js +0 -4
- package/toolbar.d.ts +0 -4
- package/toolbar.js +0 -4
- package/treeview.d.ts +0 -4
- package/treeview.js +0 -4
package/src/tab/tab.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
-
};
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
+
};
|
|
20
20
|
import { Component, Property, Event, closest, Collection, Complex, attributes, detach, isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
21
21
|
import { NotifyPropertyChanges, ChildProperty, select, isVisible } from '@syncfusion/ej2-base';
|
|
22
22
|
import { KeyboardEvents, Browser, formatUnit, L10n } from '@syncfusion/ej2-base';
|
|
@@ -1847,8 +1847,8 @@ var Tab = /** @class */ (function (_super) {
|
|
|
1847
1847
|
var textValue_1;
|
|
1848
1848
|
items.forEach(function (item, place) {
|
|
1849
1849
|
textValue_1 = item.headerTemplate || item.header.text;
|
|
1850
|
-
if (!(isNOU(item.headerTemplate || item.header) ||
|
|
1851
|
-
|
|
1850
|
+
if (!(isNOU(item.headerTemplate || item.header) || isNOU(textValue_1) ||
|
|
1851
|
+
(textValue_1.length === 0) && !isNOU(item.header) && isNOU(item.header.iconCss))) {
|
|
1852
1852
|
_this.items.splice((index + i_1), 0, item);
|
|
1853
1853
|
i_1++;
|
|
1854
1854
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, EventHandler, Property, Event, EmitType, BaseEventArgs } from '@syncfusion/ej2-base';
|
|
1
|
+
import { Component, EventHandler, Property, Event, EmitType, BaseEventArgs } from '@syncfusion/ej2-base';
|
|
2
2
|
import {OverflowOption,ItemType,DisplayMode,ItemAlign,ClickEventArgs,OverflowMode,BeforeCreateArgs} from "./toolbar";
|
|
3
3
|
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
4
4
|
|
|
@@ -8,161 +8,161 @@ import {ComponentModel} from '@syncfusion/ej2-base';
|
|
|
8
8
|
export interface ItemModel {
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* Specifies the unique ID to be used with button or input element of Toolbar items.
|
|
12
|
-
*
|
|
13
|
-
* @default ""
|
|
14
|
-
*/
|
|
15
|
-
id?: string;
|
|
11
|
+
* Specifies the unique ID to be used with button or input element of Toolbar items.
|
|
12
|
+
*
|
|
13
|
+
* @default ""
|
|
14
|
+
*/
|
|
15
|
+
id?: string;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* Specifies the text to be displayed on the Toolbar button.
|
|
19
|
-
*
|
|
20
|
-
* @default ""
|
|
21
|
-
*/
|
|
22
|
-
text?: string;
|
|
18
|
+
* Specifies the text to be displayed on the Toolbar button.
|
|
19
|
+
*
|
|
20
|
+
* @default ""
|
|
21
|
+
*/
|
|
22
|
+
text?: string;
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* Specifies the width of the Toolbar button commands.
|
|
26
|
-
*
|
|
27
|
-
* @default 'auto'
|
|
28
|
-
*/
|
|
29
|
-
width?: number | string;
|
|
25
|
+
* Specifies the width of the Toolbar button commands.
|
|
26
|
+
*
|
|
27
|
+
* @default 'auto'
|
|
28
|
+
*/
|
|
29
|
+
width?: number | string;
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
* Defines single/multiple classes (separated by space) to be used for customization of commands.
|
|
33
|
-
*
|
|
34
|
-
* @default ""
|
|
35
|
-
*/
|
|
36
|
-
cssClass?: string;
|
|
32
|
+
* Defines single/multiple classes (separated by space) to be used for customization of commands.
|
|
33
|
+
*
|
|
34
|
+
* @default ""
|
|
35
|
+
*/
|
|
36
|
+
cssClass?: string;
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
|
-
* Defines the priority of items to display it in popup always.
|
|
40
|
-
* It allows to maintain toolbar item on popup always but it does not work for toolbar priority items.
|
|
41
|
-
*
|
|
42
|
-
* @default false
|
|
43
|
-
*/
|
|
44
|
-
showAlwaysInPopup?: boolean;
|
|
39
|
+
* Defines the priority of items to display it in popup always.
|
|
40
|
+
* It allows to maintain toolbar item on popup always but it does not work for toolbar priority items.
|
|
41
|
+
*
|
|
42
|
+
* @default false
|
|
43
|
+
*/
|
|
44
|
+
showAlwaysInPopup?: boolean;
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
-
* Specifies whether an item should be disabled or not.
|
|
48
|
-
*
|
|
49
|
-
* @default false
|
|
50
|
-
*/
|
|
51
|
-
disabled?: boolean;
|
|
47
|
+
* Specifies whether an item should be disabled or not.
|
|
48
|
+
*
|
|
49
|
+
* @default false
|
|
50
|
+
*/
|
|
51
|
+
disabled?: boolean;
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
|
-
* Defines single/multiple classes separated by space used to specify an icon for the button.
|
|
55
|
-
* The icon will be positioned before the text content if text is available, otherwise the icon alone will be rendered.
|
|
56
|
-
*
|
|
57
|
-
* @default ""
|
|
58
|
-
*/
|
|
59
|
-
prefixIcon?: string;
|
|
54
|
+
* Defines single/multiple classes separated by space used to specify an icon for the button.
|
|
55
|
+
* The icon will be positioned before the text content if text is available, otherwise the icon alone will be rendered.
|
|
56
|
+
*
|
|
57
|
+
* @default ""
|
|
58
|
+
*/
|
|
59
|
+
prefixIcon?: string;
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
-
* Defines single/multiple classes separated by space used to specify an icon for the button.
|
|
63
|
-
* The icon will be positioned after the text content if text is available.
|
|
64
|
-
*
|
|
65
|
-
* @default ""
|
|
66
|
-
*/
|
|
67
|
-
suffixIcon?: string;
|
|
62
|
+
* Defines single/multiple classes separated by space used to specify an icon for the button.
|
|
63
|
+
* The icon will be positioned after the text content if text is available.
|
|
64
|
+
*
|
|
65
|
+
* @default ""
|
|
66
|
+
*/
|
|
67
|
+
suffixIcon?: string;
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
|
-
* Specifies whether an item should be hidden or not.
|
|
71
|
-
*
|
|
72
|
-
* @default true
|
|
73
|
-
*/
|
|
74
|
-
visible?: boolean;
|
|
70
|
+
* Specifies whether an item should be hidden or not.
|
|
71
|
+
*
|
|
72
|
+
* @default true
|
|
73
|
+
*/
|
|
74
|
+
visible?: boolean;
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
|
-
* Specifies the Toolbar command display area when an element's content is too large to fit available space.
|
|
78
|
-
* This is applicable only to `popup` mode. Possible values are:
|
|
79
|
-
* - Show: Always shows the item as the primary priority on the *Toolbar*.
|
|
80
|
-
* - Hide: Always shows the item as the secondary priority on the *popup*.
|
|
81
|
-
* - None: No priority for display, and as per normal order moves to popup when content exceeds.
|
|
82
|
-
*
|
|
83
|
-
* @default 'None'
|
|
84
|
-
*/
|
|
85
|
-
overflow?: OverflowOption;
|
|
77
|
+
* Specifies the Toolbar command display area when an element's content is too large to fit available space.
|
|
78
|
+
* This is applicable only to `popup` mode. Possible values are:
|
|
79
|
+
* - Show: Always shows the item as the primary priority on the *Toolbar*.
|
|
80
|
+
* - Hide: Always shows the item as the secondary priority on the *popup*.
|
|
81
|
+
* - None: No priority for display, and as per normal order moves to popup when content exceeds.
|
|
82
|
+
*
|
|
83
|
+
* @default 'None'
|
|
84
|
+
*/
|
|
85
|
+
overflow?: OverflowOption;
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
|
-
* Specifies the HTML element/element ID as a string that can be added as a Toolbar command.
|
|
89
|
-
* ```
|
|
90
|
-
* E.g - items: [{ template: '<input placeholder="Search"/>' },{ template: '#checkbox1' }]
|
|
91
|
-
* ```
|
|
92
|
-
*
|
|
93
|
-
* @default ""
|
|
94
|
-
*/
|
|
95
|
-
template?: string | Object;
|
|
88
|
+
* Specifies the HTML element/element ID as a string that can be added as a Toolbar command.
|
|
89
|
+
* ```
|
|
90
|
+
* E.g - items: [{ template: '<input placeholder="Search"/>' },{ template: '#checkbox1' }]
|
|
91
|
+
* ```
|
|
92
|
+
*
|
|
93
|
+
* @default ""
|
|
94
|
+
*/
|
|
95
|
+
template?: string | Object;
|
|
96
96
|
|
|
97
97
|
/**
|
|
98
|
-
* Specifies the types of command to be rendered in the Toolbar.
|
|
99
|
-
* Supported types are:
|
|
100
|
-
* - Button: Creates the Button control with its given properties like text, prefixIcon, etc.
|
|
101
|
-
* - Separator: Adds a horizontal line that separates the Toolbar commands.
|
|
102
|
-
* - Input: Creates an input element that is applicable to template rendering with Syncfusion controls like DropDownList,
|
|
103
|
-
* AutoComplete, etc.
|
|
104
|
-
*
|
|
105
|
-
* @default 'Button'
|
|
106
|
-
*/
|
|
107
|
-
type?: ItemType;
|
|
98
|
+
* Specifies the types of command to be rendered in the Toolbar.
|
|
99
|
+
* Supported types are:
|
|
100
|
+
* - Button: Creates the Button control with its given properties like text, prefixIcon, etc.
|
|
101
|
+
* - Separator: Adds a horizontal line that separates the Toolbar commands.
|
|
102
|
+
* - Input: Creates an input element that is applicable to template rendering with Syncfusion controls like DropDownList,
|
|
103
|
+
* AutoComplete, etc.
|
|
104
|
+
*
|
|
105
|
+
* @default 'Button'
|
|
106
|
+
*/
|
|
107
|
+
type?: ItemType;
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
|
-
* Specifies where the button text will be displayed on *popup mode* of the Toolbar.
|
|
111
|
-
* Possible values are:
|
|
112
|
-
* - Toolbar: Text will be displayed on *Toolbar* only.
|
|
113
|
-
* - Overflow: Text will be displayed only when content overflows to *popup*.
|
|
114
|
-
* - Both: Text will be displayed on *popup* and *Toolbar*.
|
|
115
|
-
*
|
|
116
|
-
* @default 'Both'
|
|
117
|
-
*/
|
|
118
|
-
showTextOn?: DisplayMode;
|
|
110
|
+
* Specifies where the button text will be displayed on *popup mode* of the Toolbar.
|
|
111
|
+
* Possible values are:
|
|
112
|
+
* - Toolbar: Text will be displayed on *Toolbar* only.
|
|
113
|
+
* - Overflow: Text will be displayed only when content overflows to *popup*.
|
|
114
|
+
* - Both: Text will be displayed on *popup* and *Toolbar*.
|
|
115
|
+
*
|
|
116
|
+
* @default 'Both'
|
|
117
|
+
*/
|
|
118
|
+
showTextOn?: DisplayMode;
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
|
-
* Defines htmlAttributes used to add custom attributes to Toolbar command.
|
|
122
|
-
* Supports HTML attributes such as style, class, etc.
|
|
123
|
-
*
|
|
124
|
-
* @default null
|
|
125
|
-
*/
|
|
126
|
-
htmlAttributes?: { [key: string]: string };
|
|
121
|
+
* Defines htmlAttributes used to add custom attributes to Toolbar command.
|
|
122
|
+
* Supports HTML attributes such as style, class, etc.
|
|
123
|
+
*
|
|
124
|
+
* @default null
|
|
125
|
+
*/
|
|
126
|
+
htmlAttributes?: { [key: string]: string };
|
|
127
127
|
|
|
128
128
|
/**
|
|
129
|
-
* Specifies the text to be displayed on hovering the Toolbar button.
|
|
130
|
-
*
|
|
131
|
-
* @default ""
|
|
132
|
-
*/
|
|
133
|
-
tooltipText?: string;
|
|
129
|
+
* Specifies the text to be displayed on hovering the Toolbar button.
|
|
130
|
+
*
|
|
131
|
+
* @default ""
|
|
132
|
+
*/
|
|
133
|
+
tooltipText?: string;
|
|
134
134
|
|
|
135
135
|
/**
|
|
136
|
-
* Specifies the location for aligning Toolbar items on the Toolbar. Each command will be aligned according to the `align` property.
|
|
137
|
-
* Possible values are:
|
|
138
|
-
* - Left: To align commands to the left side of the Toolbar.
|
|
139
|
-
* - Center: To align commands at the center of the Toolbar.
|
|
140
|
-
* - Right: To align commands to the right side of the Toolbar.
|
|
141
|
-
* ```html
|
|
142
|
-
* <div id="element"> </div>
|
|
143
|
-
* ```
|
|
144
|
-
* ```typescript
|
|
145
|
-
* let toolbar: Toolbar = new Toolbar({
|
|
146
|
-
* items: [
|
|
147
|
-
* { text: "Home" },
|
|
148
|
-
* { text: "My Home Page" , align: 'Center' },
|
|
149
|
-
* { text: "Search", align: 'Right' }
|
|
150
|
-
* { text: "Settings", align: 'Right' }
|
|
151
|
-
* ]
|
|
152
|
-
* });
|
|
153
|
-
* toolbar.appendTo('#element');
|
|
154
|
-
* ```
|
|
155
|
-
*
|
|
156
|
-
* @default "Left"
|
|
157
|
-
*/
|
|
158
|
-
align?: ItemAlign;
|
|
136
|
+
* Specifies the location for aligning Toolbar items on the Toolbar. Each command will be aligned according to the `align` property.
|
|
137
|
+
* Possible values are:
|
|
138
|
+
* - Left: To align commands to the left side of the Toolbar.
|
|
139
|
+
* - Center: To align commands at the center of the Toolbar.
|
|
140
|
+
* - Right: To align commands to the right side of the Toolbar.
|
|
141
|
+
* ```html
|
|
142
|
+
* <div id="element"> </div>
|
|
143
|
+
* ```
|
|
144
|
+
* ```typescript
|
|
145
|
+
* let toolbar: Toolbar = new Toolbar({
|
|
146
|
+
* items: [
|
|
147
|
+
* { text: "Home" },
|
|
148
|
+
* { text: "My Home Page" , align: 'Center' },
|
|
149
|
+
* { text: "Search", align: 'Right' }
|
|
150
|
+
* { text: "Settings", align: 'Right' }
|
|
151
|
+
* ]
|
|
152
|
+
* });
|
|
153
|
+
* toolbar.appendTo('#element');
|
|
154
|
+
* ```
|
|
155
|
+
*
|
|
156
|
+
* @default "Left"
|
|
157
|
+
*/
|
|
158
|
+
align?: ItemAlign;
|
|
159
159
|
|
|
160
160
|
/**
|
|
161
|
-
* Event triggers when `click` the toolbar item.
|
|
162
|
-
*
|
|
163
|
-
* @event click
|
|
164
|
-
*/
|
|
165
|
-
click?: EmitType<ClickEventArgs>;
|
|
161
|
+
* Event triggers when `click` the toolbar item.
|
|
162
|
+
*
|
|
163
|
+
* @event click
|
|
164
|
+
*/
|
|
165
|
+
click?: EmitType<ClickEventArgs>;
|
|
166
166
|
|
|
167
167
|
}
|
|
168
168
|
|
|
@@ -172,100 +172,100 @@ export interface ItemModel {
|
|
|
172
172
|
export interface ToolbarModel extends ComponentModel{
|
|
173
173
|
|
|
174
174
|
/**
|
|
175
|
-
* An array of items that is used to configure Toolbar commands.
|
|
176
|
-
*
|
|
177
|
-
* @default []
|
|
178
|
-
*/
|
|
179
|
-
items?: ItemModel[];
|
|
175
|
+
* An array of items that is used to configure Toolbar commands.
|
|
176
|
+
*
|
|
177
|
+
* @default []
|
|
178
|
+
*/
|
|
179
|
+
items?: ItemModel[];
|
|
180
180
|
|
|
181
181
|
/**
|
|
182
|
-
* Specifies the width of the Toolbar in pixels/numbers/percentage. Number value is considered as pixels.
|
|
183
|
-
*
|
|
184
|
-
* @default 'auto'
|
|
185
|
-
*/
|
|
186
|
-
width?: string | number;
|
|
182
|
+
* Specifies the width of the Toolbar in pixels/numbers/percentage. Number value is considered as pixels.
|
|
183
|
+
*
|
|
184
|
+
* @default 'auto'
|
|
185
|
+
*/
|
|
186
|
+
width?: string | number;
|
|
187
187
|
|
|
188
188
|
/**
|
|
189
|
-
* Specifies the height of the Toolbar in pixels/number/percentage. Number value is considered as pixels.
|
|
190
|
-
*
|
|
191
|
-
* @default 'auto'
|
|
192
|
-
*/
|
|
193
|
-
height?: string | number;
|
|
189
|
+
* Specifies the height of the Toolbar in pixels/number/percentage. Number value is considered as pixels.
|
|
190
|
+
*
|
|
191
|
+
* @default 'auto'
|
|
192
|
+
*/
|
|
193
|
+
height?: string | number;
|
|
194
194
|
|
|
195
195
|
/**
|
|
196
|
-
* Sets the CSS classes to root element of the Tab that helps to customize component styles.
|
|
197
|
-
*
|
|
198
|
-
* @default ''
|
|
199
|
-
*/
|
|
200
|
-
cssClass?: string;
|
|
196
|
+
* Sets the CSS classes to root element of the Tab that helps to customize component styles.
|
|
197
|
+
*
|
|
198
|
+
* @default ''
|
|
199
|
+
*/
|
|
200
|
+
cssClass?: string;
|
|
201
201
|
|
|
202
202
|
/**
|
|
203
|
-
* Specifies the Toolbar display mode when Toolbar content exceeds the viewing area.
|
|
204
|
-
* Possible modes are:
|
|
205
|
-
* - Scrollable: All the elements are displayed in a single line with horizontal scrolling enabled.
|
|
206
|
-
* - Popup: Prioritized elements are displayed on the Toolbar and the rest of elements are moved to the *popup*.
|
|
207
|
-
* - MultiRow: Displays the overflow toolbar items as an in-line of a toolbar.
|
|
208
|
-
* - Extended: Hide the overflowing toolbar items in the next row. Show the overflowing toolbar items when you click the expand icons.
|
|
209
|
-
* If the popup content overflows the height of the page, the rest of the elements will be hidden.
|
|
210
|
-
*
|
|
211
|
-
* @default 'Scrollable'
|
|
212
|
-
*/
|
|
213
|
-
overflowMode?: OverflowMode;
|
|
203
|
+
* Specifies the Toolbar display mode when Toolbar content exceeds the viewing area.
|
|
204
|
+
* Possible modes are:
|
|
205
|
+
* - Scrollable: All the elements are displayed in a single line with horizontal scrolling enabled.
|
|
206
|
+
* - Popup: Prioritized elements are displayed on the Toolbar and the rest of elements are moved to the *popup*.
|
|
207
|
+
* - MultiRow: Displays the overflow toolbar items as an in-line of a toolbar.
|
|
208
|
+
* - Extended: Hide the overflowing toolbar items in the next row. Show the overflowing toolbar items when you click the expand icons.
|
|
209
|
+
* If the popup content overflows the height of the page, the rest of the elements will be hidden.
|
|
210
|
+
*
|
|
211
|
+
* @default 'Scrollable'
|
|
212
|
+
*/
|
|
213
|
+
overflowMode?: OverflowMode;
|
|
214
214
|
|
|
215
215
|
/**
|
|
216
|
-
* Specifies the scrolling distance in scroller.
|
|
217
|
-
*
|
|
218
|
-
* @default null
|
|
219
|
-
*/
|
|
220
|
-
scrollStep?: number;
|
|
216
|
+
* Specifies the scrolling distance in scroller.
|
|
217
|
+
*
|
|
218
|
+
* @default null
|
|
219
|
+
*/
|
|
220
|
+
scrollStep?: number;
|
|
221
221
|
|
|
222
222
|
/**
|
|
223
|
-
* Enable or disable the popup collision.
|
|
224
|
-
*
|
|
225
|
-
* @default true
|
|
226
|
-
*/
|
|
227
|
-
enableCollision?: boolean;
|
|
223
|
+
* Enable or disable the popup collision.
|
|
224
|
+
*
|
|
225
|
+
* @default true
|
|
226
|
+
*/
|
|
227
|
+
enableCollision?: boolean;
|
|
228
228
|
|
|
229
229
|
/**
|
|
230
|
-
* Defines whether to allow the cross-scripting site or not.
|
|
231
|
-
*
|
|
232
|
-
* @default true
|
|
233
|
-
*/
|
|
234
|
-
enableHtmlSanitizer?: boolean;
|
|
230
|
+
* Defines whether to allow the cross-scripting site or not.
|
|
231
|
+
*
|
|
232
|
+
* @default true
|
|
233
|
+
*/
|
|
234
|
+
enableHtmlSanitizer?: boolean;
|
|
235
235
|
|
|
236
236
|
/**
|
|
237
|
-
* When this property is set to true, it allows the keyboard interaction in toolbar.
|
|
238
|
-
*
|
|
239
|
-
* @default true
|
|
240
|
-
*/
|
|
241
|
-
allowKeyboard?: boolean;
|
|
237
|
+
* When this property is set to true, it allows the keyboard interaction in toolbar.
|
|
238
|
+
*
|
|
239
|
+
* @default true
|
|
240
|
+
*/
|
|
241
|
+
allowKeyboard?: boolean;
|
|
242
242
|
|
|
243
243
|
/**
|
|
244
|
-
* The event will be fired on clicking the Toolbar elements.
|
|
245
|
-
*
|
|
246
|
-
* @event clicked
|
|
247
|
-
*/
|
|
248
|
-
clicked?: EmitType<ClickEventArgs>;
|
|
244
|
+
* The event will be fired on clicking the Toolbar elements.
|
|
245
|
+
*
|
|
246
|
+
* @event clicked
|
|
247
|
+
*/
|
|
248
|
+
clicked?: EmitType<ClickEventArgs>;
|
|
249
249
|
|
|
250
250
|
/**
|
|
251
|
-
* The event will be fired when the control is rendered.
|
|
252
|
-
*
|
|
253
|
-
* @event created
|
|
254
|
-
*/
|
|
255
|
-
created?: EmitType<Event>;
|
|
251
|
+
* The event will be fired when the control is rendered.
|
|
252
|
+
*
|
|
253
|
+
* @event created
|
|
254
|
+
*/
|
|
255
|
+
created?: EmitType<Event>;
|
|
256
256
|
|
|
257
257
|
/**
|
|
258
|
-
* The event will be fired when the control gets destroyed.
|
|
259
|
-
*
|
|
260
|
-
* @event destroyed
|
|
261
|
-
*/
|
|
262
|
-
destroyed?: EmitType<Event>;
|
|
258
|
+
* The event will be fired when the control gets destroyed.
|
|
259
|
+
*
|
|
260
|
+
* @event destroyed
|
|
261
|
+
*/
|
|
262
|
+
destroyed?: EmitType<Event>;
|
|
263
263
|
|
|
264
264
|
/**
|
|
265
|
-
* The event will be fired before the control is rendered on a page.
|
|
266
|
-
*
|
|
267
|
-
* @event beforeCreate
|
|
268
|
-
*/
|
|
269
|
-
beforeCreate?: EmitType<BeforeCreateArgs>;
|
|
265
|
+
* The event will be fired before the control is rendered on a page.
|
|
266
|
+
*
|
|
267
|
+
* @event beforeCreate
|
|
268
|
+
*/
|
|
269
|
+
beforeCreate?: EmitType<BeforeCreateArgs>;
|
|
270
270
|
|
|
271
271
|
}
|
package/src/toolbar/toolbar.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
-
};
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
+
};
|
|
20
20
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
21
21
|
import { Component, EventHandler, Property, Event } from '@syncfusion/ej2-base';
|
|
22
22
|
import { addClass, removeClass, isVisible, closest, attributes, detach, classList, KeyboardEvents } from '@syncfusion/ej2-base';
|