@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
|
@@ -1,526 +0,0 @@
|
|
|
1
|
-
import { Component, ChildProperty, INotifyPropertyChanged } from '@syncfusion/ej2-base';
|
|
2
|
-
import { EmitType, BaseEventArgs } from '@syncfusion/ej2-base';
|
|
3
|
-
import { MenuItemModel, MenuBaseModel, FieldSettingsModel, MenuAnimationSettingsModel } from './menu-base-model';
|
|
4
|
-
/**
|
|
5
|
-
* Sub menu open type
|
|
6
|
-
*/
|
|
7
|
-
export declare type MenuOpenType = 'Auto' | 'Click' | 'Hover';
|
|
8
|
-
/**
|
|
9
|
-
* Menu animation effects
|
|
10
|
-
*/
|
|
11
|
-
export declare type MenuEffect = 'None' | 'SlideDown' | 'ZoomIn' | 'FadeIn';
|
|
12
|
-
/**
|
|
13
|
-
* Configures the field options of the Menu.
|
|
14
|
-
*/
|
|
15
|
-
export declare class FieldSettings extends ChildProperty<FieldSettings> {
|
|
16
|
-
/**
|
|
17
|
-
* Specifies the itemId field for Menu item.
|
|
18
|
-
*
|
|
19
|
-
* @default 'id'
|
|
20
|
-
*/
|
|
21
|
-
itemId: string | string[];
|
|
22
|
-
/**
|
|
23
|
-
* Specifies the parentId field for Menu item.
|
|
24
|
-
*
|
|
25
|
-
* @default 'parentId'
|
|
26
|
-
*/
|
|
27
|
-
parentId: string | string[];
|
|
28
|
-
/**
|
|
29
|
-
* Specifies the text field for Menu item.
|
|
30
|
-
*
|
|
31
|
-
* @default 'text'
|
|
32
|
-
*/
|
|
33
|
-
text: string | string[];
|
|
34
|
-
/**
|
|
35
|
-
* Specifies the css icon field for Menu item.
|
|
36
|
-
*
|
|
37
|
-
* @default 'iconCss'
|
|
38
|
-
*/
|
|
39
|
-
iconCss: string | string[];
|
|
40
|
-
/**
|
|
41
|
-
* Specifies the Url field for Menu item.
|
|
42
|
-
*
|
|
43
|
-
* @default 'url'
|
|
44
|
-
*/
|
|
45
|
-
url: string | string[];
|
|
46
|
-
/**
|
|
47
|
-
* Specifies the separator field for Menu item.
|
|
48
|
-
*
|
|
49
|
-
* @default 'separator'
|
|
50
|
-
*/
|
|
51
|
-
separator: string | string[];
|
|
52
|
-
/**
|
|
53
|
-
* Specifies the children field for Menu item.
|
|
54
|
-
*
|
|
55
|
-
* @default 'items'
|
|
56
|
-
*/
|
|
57
|
-
children: string | string[];
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Specifies menu items.
|
|
61
|
-
*/
|
|
62
|
-
export declare class MenuItem extends ChildProperty<MenuItem> {
|
|
63
|
-
/**
|
|
64
|
-
* Defines class/multiple classes separated by a space for the menu Item that is used to include an icon.
|
|
65
|
-
* Menu Item can include font icon and sprite image.
|
|
66
|
-
*
|
|
67
|
-
* @default null
|
|
68
|
-
*/
|
|
69
|
-
iconCss: string;
|
|
70
|
-
/**
|
|
71
|
-
* Specifies the id for menu item.
|
|
72
|
-
*
|
|
73
|
-
* @default ''
|
|
74
|
-
*/
|
|
75
|
-
id: string;
|
|
76
|
-
/**
|
|
77
|
-
* Specifies separator between the menu items. Separator are either horizontal or vertical lines used to group menu items.
|
|
78
|
-
*
|
|
79
|
-
* @default false
|
|
80
|
-
*/
|
|
81
|
-
separator: boolean;
|
|
82
|
-
/**
|
|
83
|
-
* Specifies the sub menu items that is the array of MenuItem model.
|
|
84
|
-
*
|
|
85
|
-
* @default []
|
|
86
|
-
*/
|
|
87
|
-
items: MenuItemModel[];
|
|
88
|
-
/**
|
|
89
|
-
* Specifies text for menu item.
|
|
90
|
-
*
|
|
91
|
-
* @default ''
|
|
92
|
-
*/
|
|
93
|
-
text: string;
|
|
94
|
-
/**
|
|
95
|
-
* Specifies url for menu item that creates the anchor link to navigate to the url provided.
|
|
96
|
-
*
|
|
97
|
-
* @default ''
|
|
98
|
-
*/
|
|
99
|
-
url: string;
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* Animation configuration settings.
|
|
103
|
-
*/
|
|
104
|
-
export declare class MenuAnimationSettings extends ChildProperty<MenuAnimationSettings> {
|
|
105
|
-
/**
|
|
106
|
-
* Specifies the effect that shown in the sub menu transform.
|
|
107
|
-
* The possible effects are:
|
|
108
|
-
* * None: Specifies the sub menu transform with no animation effect.
|
|
109
|
-
* * SlideDown: Specifies the sub menu transform with slide down effect.
|
|
110
|
-
* * ZoomIn: Specifies the sub menu transform with zoom in effect.
|
|
111
|
-
* * FadeIn: Specifies the sub menu transform with fade in effect.
|
|
112
|
-
*
|
|
113
|
-
* @default 'SlideDown'
|
|
114
|
-
* @aspType Syncfusion.EJ2.Navigations.MenuEffect
|
|
115
|
-
* @blazorType Syncfusion.EJ2.Navigations.MenuEffect
|
|
116
|
-
* @isEnumeration true
|
|
117
|
-
*/
|
|
118
|
-
effect: MenuEffect;
|
|
119
|
-
/**
|
|
120
|
-
* Specifies the time duration to transform object.
|
|
121
|
-
*
|
|
122
|
-
* @default 400
|
|
123
|
-
*/
|
|
124
|
-
duration: number;
|
|
125
|
-
/**
|
|
126
|
-
* Specifies the easing effect applied while transform.
|
|
127
|
-
*
|
|
128
|
-
* @default 'ease'
|
|
129
|
-
*/
|
|
130
|
-
easing: string;
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* Base class for Menu and ContextMenu components.
|
|
134
|
-
*
|
|
135
|
-
* @private
|
|
136
|
-
*/
|
|
137
|
-
export declare abstract class MenuBase extends Component<HTMLUListElement> implements INotifyPropertyChanged {
|
|
138
|
-
private clonedElement;
|
|
139
|
-
private targetElement;
|
|
140
|
-
private delegateClickHandler;
|
|
141
|
-
private delegateMoverHandler;
|
|
142
|
-
private delegateMouseDownHandler;
|
|
143
|
-
private navIdx;
|
|
144
|
-
private animation;
|
|
145
|
-
private isTapHold;
|
|
146
|
-
protected isMenu: boolean;
|
|
147
|
-
protected hamburgerMode: boolean;
|
|
148
|
-
protected title: string;
|
|
149
|
-
private rippleFn;
|
|
150
|
-
private uList;
|
|
151
|
-
private lItem;
|
|
152
|
-
private popupObj;
|
|
153
|
-
private popupWrapper;
|
|
154
|
-
private isNestedOrVertical;
|
|
155
|
-
private top;
|
|
156
|
-
private left;
|
|
157
|
-
private keyType;
|
|
158
|
-
private showSubMenu;
|
|
159
|
-
private action;
|
|
160
|
-
private cli;
|
|
161
|
-
private cliIdx;
|
|
162
|
-
private isClosed;
|
|
163
|
-
private liTrgt;
|
|
164
|
-
private isMenusClosed;
|
|
165
|
-
private isCMenu;
|
|
166
|
-
private pageX;
|
|
167
|
-
private pageY;
|
|
168
|
-
private tempItem;
|
|
169
|
-
private showSubMenuOn;
|
|
170
|
-
private defaultOption;
|
|
171
|
-
private timer;
|
|
172
|
-
/**
|
|
173
|
-
* Triggers while rendering each menu item.
|
|
174
|
-
*
|
|
175
|
-
* @event beforeItemRender
|
|
176
|
-
* @blazorProperty 'OnItemRender'
|
|
177
|
-
*/
|
|
178
|
-
beforeItemRender: EmitType<MenuEventArgs>;
|
|
179
|
-
/**
|
|
180
|
-
* Triggers before opening the menu item.
|
|
181
|
-
*
|
|
182
|
-
* @event beforeOpen
|
|
183
|
-
* @blazorProperty 'OnOpen'
|
|
184
|
-
*/
|
|
185
|
-
beforeOpen: EmitType<BeforeOpenCloseMenuEventArgs>;
|
|
186
|
-
/**
|
|
187
|
-
* Triggers while opening the menu item.
|
|
188
|
-
*
|
|
189
|
-
* @event onOpen
|
|
190
|
-
* @blazorProperty 'Opened'
|
|
191
|
-
*/
|
|
192
|
-
onOpen: EmitType<OpenCloseMenuEventArgs>;
|
|
193
|
-
/**
|
|
194
|
-
* Triggers before closing the menu.
|
|
195
|
-
*
|
|
196
|
-
* @event beforeClose
|
|
197
|
-
* @blazorProperty 'OnClose'
|
|
198
|
-
*/
|
|
199
|
-
beforeClose: EmitType<BeforeOpenCloseMenuEventArgs>;
|
|
200
|
-
/**
|
|
201
|
-
* Triggers while closing the menu.
|
|
202
|
-
*
|
|
203
|
-
* @event onClose
|
|
204
|
-
* @blazorProperty 'Closed'
|
|
205
|
-
*/
|
|
206
|
-
onClose: EmitType<OpenCloseMenuEventArgs>;
|
|
207
|
-
/**
|
|
208
|
-
* Triggers while selecting menu item.
|
|
209
|
-
*
|
|
210
|
-
* @event select
|
|
211
|
-
* @blazorProperty 'ItemSelected'
|
|
212
|
-
*/
|
|
213
|
-
select: EmitType<MenuEventArgs>;
|
|
214
|
-
/**
|
|
215
|
-
* Triggers once the component rendering is completed.
|
|
216
|
-
*
|
|
217
|
-
* @event created
|
|
218
|
-
* @blazorProperty 'Created'
|
|
219
|
-
*/
|
|
220
|
-
created: EmitType<Event>;
|
|
221
|
-
/**
|
|
222
|
-
* Defines class/multiple classes separated by a space in the Menu wrapper.
|
|
223
|
-
*
|
|
224
|
-
* @default ''
|
|
225
|
-
*/
|
|
226
|
-
cssClass: string;
|
|
227
|
-
/**
|
|
228
|
-
* If hoverDelay is set by particular number, the menu will open after that period.
|
|
229
|
-
*
|
|
230
|
-
* @default 0
|
|
231
|
-
*/
|
|
232
|
-
hoverDelay: number;
|
|
233
|
-
/**
|
|
234
|
-
* Specifies whether to show the sub menu or not on click.
|
|
235
|
-
* When set to true, the sub menu will open only on mouse click.
|
|
236
|
-
*
|
|
237
|
-
* @default false
|
|
238
|
-
*/
|
|
239
|
-
showItemOnClick: boolean;
|
|
240
|
-
/**
|
|
241
|
-
* Specifies target element selector in which the ContextMenu should be opened.
|
|
242
|
-
* Specifies target element to open/close Menu while click in Hamburger mode.
|
|
243
|
-
*
|
|
244
|
-
* @default ''
|
|
245
|
-
* @private
|
|
246
|
-
*/
|
|
247
|
-
target: string;
|
|
248
|
-
/**
|
|
249
|
-
* Specifies the filter selector for elements inside the target in that the context menu will be opened.
|
|
250
|
-
* Not applicable to Menu component.
|
|
251
|
-
*
|
|
252
|
-
* @default ''
|
|
253
|
-
* @private
|
|
254
|
-
*/
|
|
255
|
-
filter: string;
|
|
256
|
-
/**
|
|
257
|
-
* Specifies the template for Menu item.
|
|
258
|
-
* Not applicable to ContextMenu component.
|
|
259
|
-
*
|
|
260
|
-
* @default null
|
|
261
|
-
* @private
|
|
262
|
-
*/
|
|
263
|
-
template: string;
|
|
264
|
-
/**
|
|
265
|
-
* Specifies whether to enable / disable the scrollable option in Menu.
|
|
266
|
-
* Not applicable to ContextMenu component.
|
|
267
|
-
*
|
|
268
|
-
* @default false
|
|
269
|
-
* @private
|
|
270
|
-
*/
|
|
271
|
-
enableScrolling: boolean;
|
|
272
|
-
/**
|
|
273
|
-
* Defines whether to allow the cross-scripting site or not.
|
|
274
|
-
*
|
|
275
|
-
* @default false
|
|
276
|
-
*/
|
|
277
|
-
enableHtmlSanitizer: boolean;
|
|
278
|
-
/**
|
|
279
|
-
* Specifies mapping fields from the dataSource.
|
|
280
|
-
* Not applicable to ContextMenu component.
|
|
281
|
-
*
|
|
282
|
-
* @default { itemId: "id", text: "text", parentId: "parentId", iconCss: "iconCss", url: "url", separator: "separator",
|
|
283
|
-
* children: "items" }
|
|
284
|
-
* @private
|
|
285
|
-
*/
|
|
286
|
-
fields: FieldSettingsModel;
|
|
287
|
-
/**
|
|
288
|
-
* Specifies menu items with its properties which will be rendered as Menu.
|
|
289
|
-
*
|
|
290
|
-
* @default []
|
|
291
|
-
*/
|
|
292
|
-
items: MenuItemModel[] | {
|
|
293
|
-
[key: string]: Object;
|
|
294
|
-
}[];
|
|
295
|
-
/**
|
|
296
|
-
* Specifies the animation settings for the sub menu open.
|
|
297
|
-
*
|
|
298
|
-
* @default { duration: 400, easing: 'ease', effect: 'SlideDown' }
|
|
299
|
-
*/
|
|
300
|
-
animationSettings: MenuAnimationSettingsModel;
|
|
301
|
-
/**
|
|
302
|
-
* Constructor for creating the widget.
|
|
303
|
-
*
|
|
304
|
-
* @private
|
|
305
|
-
* @param {MenuBaseModel} options - Specifies the menu base model
|
|
306
|
-
* @param {string | HTMLUListElement} element - Specifies the element
|
|
307
|
-
*/
|
|
308
|
-
constructor(options?: MenuBaseModel, element?: string | HTMLUListElement);
|
|
309
|
-
/**
|
|
310
|
-
* Initialized third party configuration settings.
|
|
311
|
-
*
|
|
312
|
-
* @private
|
|
313
|
-
* @returns {void}
|
|
314
|
-
*/
|
|
315
|
-
protected preRender(): void;
|
|
316
|
-
/**
|
|
317
|
-
* Initialize the control rendering.
|
|
318
|
-
*
|
|
319
|
-
* @private
|
|
320
|
-
* @returns {void}
|
|
321
|
-
*/
|
|
322
|
-
protected render(): void;
|
|
323
|
-
protected initialize(): void;
|
|
324
|
-
private renderItems;
|
|
325
|
-
protected wireEvents(): void;
|
|
326
|
-
private wireKeyboardEvent;
|
|
327
|
-
private mouseDownHandler;
|
|
328
|
-
private keyBoardHandler;
|
|
329
|
-
private upDownKeyHandler;
|
|
330
|
-
private isValidLI;
|
|
331
|
-
private getUlByNavIdx;
|
|
332
|
-
private rightEnterKeyHandler;
|
|
333
|
-
private leftEscKeyHandler;
|
|
334
|
-
private scrollHandler;
|
|
335
|
-
private touchHandler;
|
|
336
|
-
private cmenuHandler;
|
|
337
|
-
protected closeMenu(ulIndex?: number, e?: MouseEvent | KeyboardEvent, isIterated?: boolean): void;
|
|
338
|
-
private updateReactTemplate;
|
|
339
|
-
private getMenuItemModel;
|
|
340
|
-
private getPopups;
|
|
341
|
-
private isMenuVisible;
|
|
342
|
-
private canOpen;
|
|
343
|
-
protected openMenu(li: Element, item: MenuItemModel | {
|
|
344
|
-
[key: string]: Object;
|
|
345
|
-
}, top?: number, left?: number, e?: MouseEvent | KeyboardEvent, target?: HTMLElement): void;
|
|
346
|
-
private calculateIndentSize;
|
|
347
|
-
private generatePopup;
|
|
348
|
-
protected createHeaderContainer(wrapper?: Element): void;
|
|
349
|
-
protected openHamburgerMenu(e?: MouseEvent | KeyboardEvent): void;
|
|
350
|
-
protected closeHamburgerMenu(e?: MouseEvent | KeyboardEvent): void;
|
|
351
|
-
private callFit;
|
|
352
|
-
private triggerBeforeOpen;
|
|
353
|
-
private collision;
|
|
354
|
-
protected setBlankIconStyle(menu: HTMLElement): void;
|
|
355
|
-
private checkScrollOffset;
|
|
356
|
-
private setPosition;
|
|
357
|
-
private toggleVisiblity;
|
|
358
|
-
private createItems;
|
|
359
|
-
private moverHandler;
|
|
360
|
-
private removeStateWrapper;
|
|
361
|
-
private removeLIStateByClass;
|
|
362
|
-
protected getField(propName: string, level?: number): string;
|
|
363
|
-
private getFields;
|
|
364
|
-
private hasField;
|
|
365
|
-
private menuHeaderClickHandler;
|
|
366
|
-
private clickHandler;
|
|
367
|
-
private afterCloseMenu;
|
|
368
|
-
private setLISelected;
|
|
369
|
-
private getLIByClass;
|
|
370
|
-
/**
|
|
371
|
-
* This method is used to get the index of the menu item in the Menu based on the argument.
|
|
372
|
-
*
|
|
373
|
-
* @param {MenuItem | string} item - item be passed to get the index | id to be passed to get the item index.
|
|
374
|
-
* @param {boolean} isUniqueId - Set `true` if it is a unique id.
|
|
375
|
-
* @returns {void}
|
|
376
|
-
*/
|
|
377
|
-
getItemIndex(item: MenuItem | string, isUniqueId?: boolean): number[];
|
|
378
|
-
/**
|
|
379
|
-
* This method is used to set the menu item in the Menu based on the argument.
|
|
380
|
-
*
|
|
381
|
-
* @param {MenuItem} item - item need to be updated.
|
|
382
|
-
* @param {string} id - id / text to be passed to update the item.
|
|
383
|
-
* @param {boolean} isUniqueId - Set `true` if it is a unique id.
|
|
384
|
-
* @returns {void}
|
|
385
|
-
*/
|
|
386
|
-
setItem(item: MenuItem, id?: string, isUniqueId?: boolean): void;
|
|
387
|
-
private getItem;
|
|
388
|
-
private getItems;
|
|
389
|
-
private setItems;
|
|
390
|
-
private getIdx;
|
|
391
|
-
private getLI;
|
|
392
|
-
private updateItemsByNavIdx;
|
|
393
|
-
private removeChildElement;
|
|
394
|
-
/**
|
|
395
|
-
* Called internally if any of the property value changed.
|
|
396
|
-
*
|
|
397
|
-
* @private
|
|
398
|
-
* @param {MenuBaseModel} newProp - Specifies the new properties
|
|
399
|
-
* @param {MenuBaseModel} oldProp - Specifies the old properties
|
|
400
|
-
* @returns {void}
|
|
401
|
-
*/
|
|
402
|
-
onPropertyChanged(newProp: MenuBaseModel, oldProp: MenuBaseModel): void;
|
|
403
|
-
private updateItem;
|
|
404
|
-
private getChangedItemIndex;
|
|
405
|
-
private removeItem;
|
|
406
|
-
/**
|
|
407
|
-
* Used to unwire the bind events.
|
|
408
|
-
*
|
|
409
|
-
* @private
|
|
410
|
-
* @param {string} targetSelctor - Specifies the target selector
|
|
411
|
-
* @returns {void}
|
|
412
|
-
*/
|
|
413
|
-
protected unWireEvents(targetSelctor?: string): void;
|
|
414
|
-
private unWireKeyboardEvent;
|
|
415
|
-
private toggleAnimation;
|
|
416
|
-
private triggerOpen;
|
|
417
|
-
private end;
|
|
418
|
-
/**
|
|
419
|
-
* Get the properties to be maintained in the persisted state.
|
|
420
|
-
*
|
|
421
|
-
* @returns {string} - Persist data
|
|
422
|
-
*/
|
|
423
|
-
protected getPersistData(): string;
|
|
424
|
-
/**
|
|
425
|
-
* Get wrapper element.
|
|
426
|
-
*
|
|
427
|
-
* @returns {Element} - Wrapper element
|
|
428
|
-
* @private
|
|
429
|
-
*/
|
|
430
|
-
private getWrapper;
|
|
431
|
-
protected getIndex(data: string, isUniqueId?: boolean, items?: MenuItemModel[] | {
|
|
432
|
-
[key: string]: Object;
|
|
433
|
-
}[], nIndex?: number[], isCallBack?: boolean, level?: number): number[];
|
|
434
|
-
/**
|
|
435
|
-
* This method is used to enable or disable the menu items in the Menu based on the items and enable argument.
|
|
436
|
-
*
|
|
437
|
-
* @param {string[]} items - Text items that needs to be enabled/disabled.
|
|
438
|
-
* @param {boolean} enable - Set `true`/`false` to enable/disable the list items.
|
|
439
|
-
* @param {boolean} isUniqueId - Set `true` if it is a unique id.
|
|
440
|
-
* @returns {void}
|
|
441
|
-
*/
|
|
442
|
-
enableItems(items: string[], enable?: boolean, isUniqueId?: boolean): void;
|
|
443
|
-
/**
|
|
444
|
-
* This method is used to show the menu items in the Menu based on the items text.
|
|
445
|
-
*
|
|
446
|
-
* @param {string[]} items - Text items that needs to be shown.
|
|
447
|
-
* @param {boolean} isUniqueId - Set `true` if it is a unique id.
|
|
448
|
-
* @returns {void}
|
|
449
|
-
*/
|
|
450
|
-
showItems(items: string[], isUniqueId?: boolean): void;
|
|
451
|
-
/**
|
|
452
|
-
* This method is used to hide the menu items in the Menu based on the items text.
|
|
453
|
-
*
|
|
454
|
-
* @param {string[]} items - Text items that needs to be hidden.
|
|
455
|
-
* @param {boolean} isUniqueId - Set `true` if it is a unique id.
|
|
456
|
-
* @returns {void}
|
|
457
|
-
*/
|
|
458
|
-
hideItems(items: string[], isUniqueId?: boolean): void;
|
|
459
|
-
private showHideItems;
|
|
460
|
-
/**
|
|
461
|
-
* It is used to remove the menu items from the Menu based on the items text.
|
|
462
|
-
*
|
|
463
|
-
* @param {string[]} items Text items that needs to be removed.
|
|
464
|
-
* @param {boolean} isUniqueId - Set `true` if it is a unique id.
|
|
465
|
-
* @returns {void}
|
|
466
|
-
*/
|
|
467
|
-
removeItems(items: string[], isUniqueId?: boolean): void;
|
|
468
|
-
/**
|
|
469
|
-
* It is used to insert the menu items after the specified menu item text.
|
|
470
|
-
*
|
|
471
|
-
* @param {MenuItemModel[]} items - Items that needs to be inserted.
|
|
472
|
-
* @param {string} text - Text item after that the element to be inserted.
|
|
473
|
-
* @param {boolean} isUniqueId - Set `true` if it is a unique id.
|
|
474
|
-
* @returns {void}
|
|
475
|
-
*/
|
|
476
|
-
insertAfter(items: MenuItemModel[], text: string, isUniqueId?: boolean): void;
|
|
477
|
-
/**
|
|
478
|
-
* It is used to insert the menu items before the specified menu item text.
|
|
479
|
-
*
|
|
480
|
-
* @param {MenuItemModel[]} items - Items that needs to be inserted.
|
|
481
|
-
* @param {string} text - Text item before that the element to be inserted.
|
|
482
|
-
* @param {boolean} isUniqueId - Set `true` if it is a unique id.
|
|
483
|
-
* @returns {void}
|
|
484
|
-
*/
|
|
485
|
-
insertBefore(items: MenuItemModel[], text: string, isUniqueId?: boolean): void;
|
|
486
|
-
private insertItems;
|
|
487
|
-
private removeAttributes;
|
|
488
|
-
/**
|
|
489
|
-
* Destroys the widget.
|
|
490
|
-
*
|
|
491
|
-
* @returns {void}
|
|
492
|
-
*/
|
|
493
|
-
destroy(): void;
|
|
494
|
-
}
|
|
495
|
-
/**
|
|
496
|
-
* Interface for before item render/select event.
|
|
497
|
-
*/
|
|
498
|
-
export interface MenuEventArgs extends BaseEventArgs {
|
|
499
|
-
element: HTMLElement;
|
|
500
|
-
item: MenuItemModel;
|
|
501
|
-
event?: Event;
|
|
502
|
-
}
|
|
503
|
-
/**
|
|
504
|
-
* Interface for before open/close event.
|
|
505
|
-
*/
|
|
506
|
-
export interface BeforeOpenCloseMenuEventArgs extends BaseEventArgs {
|
|
507
|
-
element: HTMLElement;
|
|
508
|
-
items: MenuItemModel[];
|
|
509
|
-
parentItem: MenuItemModel;
|
|
510
|
-
event: Event;
|
|
511
|
-
cancel: boolean;
|
|
512
|
-
top?: number;
|
|
513
|
-
left?: number;
|
|
514
|
-
isFocused?: boolean;
|
|
515
|
-
showSubMenuOn?: MenuOpenType;
|
|
516
|
-
}
|
|
517
|
-
/**
|
|
518
|
-
* Interface for open/close event.
|
|
519
|
-
*/
|
|
520
|
-
export interface OpenCloseMenuEventArgs extends BaseEventArgs {
|
|
521
|
-
element: HTMLElement;
|
|
522
|
-
items: MenuItemModel[] | {
|
|
523
|
-
[key: string]: Object;
|
|
524
|
-
}[];
|
|
525
|
-
parentItem: MenuItemModel;
|
|
526
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { VScroll } from './v-scroll';
|
|
2
|
-
import { HScroll } from './h-scroll';
|
|
3
|
-
/**
|
|
4
|
-
* Used to add scroll in menu.
|
|
5
|
-
*
|
|
6
|
-
* @param {createElementType} createElement - Specifies the create element model
|
|
7
|
-
* @param {HTMLElement} container - Specifies the element container
|
|
8
|
-
* @param {HTMLElement} content - Specifies the content element
|
|
9
|
-
* @param {string} scrollType - Specifies the scroll type
|
|
10
|
-
* @param {boolean} enableRtl - Specifies the enable RTL property
|
|
11
|
-
* @param {boolean} offset - Specifies the offset value
|
|
12
|
-
* @returns {HTMLElement} - Element
|
|
13
|
-
* @hidden
|
|
14
|
-
*/
|
|
15
|
-
export declare function addScrolling(createElement: createElementType, container: HTMLElement, content: HTMLElement, scrollType: string, enableRtl: boolean, offset?: number): HTMLElement;
|
|
16
|
-
/**
|
|
17
|
-
* Used to destroy the scroll option.
|
|
18
|
-
*
|
|
19
|
-
* @param {VScroll | HScroll} scrollObj - Specifies the scroller object
|
|
20
|
-
* @param {Element} element - Specifies the element
|
|
21
|
-
* @param {HTMLElement} skipEle - Specifies the skip element
|
|
22
|
-
* @returns {void}
|
|
23
|
-
* @hidden
|
|
24
|
-
*/
|
|
25
|
-
export declare function destroyScroll(scrollObj: VScroll | HScroll, element: Element, skipEle?: HTMLElement): void;
|
|
26
|
-
declare type createElementType = (tag: string, prop?: {
|
|
27
|
-
className?: string;
|
|
28
|
-
}) => HTMLElement;
|
|
29
|
-
export {};
|
package/src/common/v-scroll.d.ts
DELETED
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import { Component } from '@syncfusion/ej2-base';
|
|
2
|
-
import { INotifyPropertyChanged } from '@syncfusion/ej2-base';
|
|
3
|
-
import { VScrollModel } from './v-scroll-model';
|
|
4
|
-
/**
|
|
5
|
-
* VScroll module is introduces vertical scroller when content exceeds the current viewing area.
|
|
6
|
-
* It can be useful for the components like Toolbar, Tab which needs vertical scrolling alone.
|
|
7
|
-
* Hidden content can be view by touch moving or icon click.
|
|
8
|
-
* ```html
|
|
9
|
-
* <div id="scroll"/>
|
|
10
|
-
* <script>
|
|
11
|
-
* var scrollObj = new VScroll();
|
|
12
|
-
* scrollObj.appendTo("#scroll");
|
|
13
|
-
* </script>
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
export declare class VScroll extends Component<HTMLElement> implements INotifyPropertyChanged {
|
|
17
|
-
private touchModule;
|
|
18
|
-
private scrollEle;
|
|
19
|
-
private scrollItems;
|
|
20
|
-
private uniqueId;
|
|
21
|
-
private timeout;
|
|
22
|
-
private keyTimeout;
|
|
23
|
-
private keyTimer;
|
|
24
|
-
private browser;
|
|
25
|
-
private browserCheck;
|
|
26
|
-
private ieCheck;
|
|
27
|
-
private isDevice;
|
|
28
|
-
private customStep;
|
|
29
|
-
/**
|
|
30
|
-
* Specifies the up or down scrolling distance of the vertical scrollbar moving.
|
|
31
|
-
*
|
|
32
|
-
* @default null
|
|
33
|
-
*/
|
|
34
|
-
scrollStep: number;
|
|
35
|
-
/**
|
|
36
|
-
* Initialize the event handler
|
|
37
|
-
*
|
|
38
|
-
* @private
|
|
39
|
-
* @returns {void}
|
|
40
|
-
*/
|
|
41
|
-
protected preRender(): void;
|
|
42
|
-
/**
|
|
43
|
-
* To Initialize the vertical scroll rendering
|
|
44
|
-
*
|
|
45
|
-
* @private
|
|
46
|
-
* @returns {void}
|
|
47
|
-
*/
|
|
48
|
-
protected render(): void;
|
|
49
|
-
private setScrollState;
|
|
50
|
-
/**
|
|
51
|
-
* Initializes a new instance of the VScroll class.
|
|
52
|
-
*
|
|
53
|
-
* @param {VScrollModel} options - Specifies VScroll model properties as options.
|
|
54
|
-
* @param {string | HTMLElement} element - Specifies the element for which vertical scrolling applies.
|
|
55
|
-
*/
|
|
56
|
-
constructor(options?: VScrollModel, element?: string | HTMLElement);
|
|
57
|
-
private initialize;
|
|
58
|
-
protected getPersistData(): string;
|
|
59
|
-
/**
|
|
60
|
-
* Returns the current module name.
|
|
61
|
-
*
|
|
62
|
-
* @returns {string} - It returns the current module name.
|
|
63
|
-
* @private
|
|
64
|
-
*/
|
|
65
|
-
protected getModuleName(): string;
|
|
66
|
-
/**
|
|
67
|
-
* Removes the control from the DOM and also removes all its related events.
|
|
68
|
-
*
|
|
69
|
-
* @returns {void}
|
|
70
|
-
*/
|
|
71
|
-
destroy(): void;
|
|
72
|
-
/**
|
|
73
|
-
* Specifies the value to disable/enable the VScroll component.
|
|
74
|
-
* When set to `true` , the component will be disabled.
|
|
75
|
-
*
|
|
76
|
-
* @param {boolean} value - Based on this Boolean value, VScroll will be enabled (false) or disabled (true).
|
|
77
|
-
* @returns {void}.
|
|
78
|
-
*/
|
|
79
|
-
disable(value: boolean): void;
|
|
80
|
-
private createOverlayElement;
|
|
81
|
-
private createNavIcon;
|
|
82
|
-
private onKeyPress;
|
|
83
|
-
private onKeyUp;
|
|
84
|
-
private eventBinding;
|
|
85
|
-
private repeatScroll;
|
|
86
|
-
private tabHoldHandler;
|
|
87
|
-
private contains;
|
|
88
|
-
private eleScrolling;
|
|
89
|
-
private clickEventHandler;
|
|
90
|
-
private wheelEventHandler;
|
|
91
|
-
private swipeHandler;
|
|
92
|
-
private scrollUpdating;
|
|
93
|
-
private frameScrollRequest;
|
|
94
|
-
private touchHandler;
|
|
95
|
-
private arrowDisabling;
|
|
96
|
-
private scrollEventHandler;
|
|
97
|
-
/**
|
|
98
|
-
* Gets called when the model property changes.The data that describes the old and new values of property that changed.
|
|
99
|
-
*
|
|
100
|
-
* @param {VScrollModel} newProp - It contains the new value of data.
|
|
101
|
-
* @param {VScrollModel} oldProp - It contains the old value of data.
|
|
102
|
-
* @returns {void}
|
|
103
|
-
* @private
|
|
104
|
-
*/
|
|
105
|
-
onPropertyChanged(newProp: VScrollModel, oldProp: VScrollModel): void;
|
|
106
|
-
}
|
package/src/index.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Navigation all modules
|
|
3
|
-
*/
|
|
4
|
-
export * from './common/index';
|
|
5
|
-
export * from './toolbar/index';
|
|
6
|
-
export * from './accordion/index';
|
|
7
|
-
export * from './context-menu/index';
|
|
8
|
-
export * from './menu/index';
|
|
9
|
-
export * from './tab/index';
|
|
10
|
-
export * from './treeview/index';
|
|
11
|
-
export * from './sidebar/index';
|
|
12
|
-
export * from './breadcrumb/index';
|
|
13
|
-
export * from './carousel/index';
|