@syncfusion/ej2-navigations 20.1.47 → 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 -1570
- 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 +92 -80
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +251 -239
- 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 +23 -21
- package/src/common/menu-base-model.d.ts +206 -206
- package/src/common/menu-base.js +31 -25
- 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 +23 -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/_tailwind-dark-definition.scss +1 -60
- package/styles/breadcrumb/_tailwind-definition.scss +3 -3
- 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 +8 -8
- package/styles/breadcrumb/tailwind.css +8 -8
- 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 +8 -8
- package/styles/tailwind.css +8 -8
- 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,440 +0,0 @@
|
|
|
1
|
-
import { Component, EmitType } from '@syncfusion/ej2-base';
|
|
2
|
-
import { BaseEventArgs, Effect } from '@syncfusion/ej2-base';
|
|
3
|
-
import { INotifyPropertyChanged, ChildProperty } from '@syncfusion/ej2-base';
|
|
4
|
-
import { AccordionModel, AccordionItemModel, AccordionAnimationSettingsModel, AccordionActionSettingsModel } from './accordion-model';
|
|
5
|
-
/**
|
|
6
|
-
* Specifies the option to expand single or multiple panel at a time.
|
|
7
|
-
*/
|
|
8
|
-
export declare type ExpandMode = 'Single' | 'Multiple';
|
|
9
|
-
/** An interface that holds options to control the accordion click action. */
|
|
10
|
-
export interface AccordionClickArgs extends BaseEventArgs {
|
|
11
|
-
/** Defines the current Accordion Item Object. */
|
|
12
|
-
item?: AccordionItemModel;
|
|
13
|
-
/**
|
|
14
|
-
* Defines the current Event arguments.
|
|
15
|
-
*/
|
|
16
|
-
originalEvent?: Event;
|
|
17
|
-
}
|
|
18
|
-
/** An interface that holds options to control the expanding item action. */
|
|
19
|
-
export interface ExpandEventArgs extends BaseEventArgs {
|
|
20
|
-
/** Defines the current Accordion Item Object. */
|
|
21
|
-
item?: AccordionItemModel;
|
|
22
|
-
/** Defines the current Accordion Item Element. */
|
|
23
|
-
element?: HTMLElement;
|
|
24
|
-
/** Defines the expand/collapse state. */
|
|
25
|
-
isExpanded?: boolean;
|
|
26
|
-
/** Defines the prevent action. */
|
|
27
|
-
cancel?: boolean;
|
|
28
|
-
/** Defines the Accordion Item Index */
|
|
29
|
-
index?: number;
|
|
30
|
-
/** Defines the Accordion Item Content */
|
|
31
|
-
content?: HTMLElement;
|
|
32
|
-
}
|
|
33
|
-
/** An interface that holds options to control the expanded item action. */
|
|
34
|
-
export interface ExpandedEventArgs extends BaseEventArgs {
|
|
35
|
-
/** Defines the current Accordion Item Object. */
|
|
36
|
-
item?: AccordionItemModel;
|
|
37
|
-
/** Defines the current Accordion Item Element. */
|
|
38
|
-
element?: HTMLElement;
|
|
39
|
-
/** Defines the expand/collapse state. */
|
|
40
|
-
isExpanded?: boolean;
|
|
41
|
-
/** Defines the Accordion Item Index */
|
|
42
|
-
index?: number;
|
|
43
|
-
/** Defines the Accordion Item Content */
|
|
44
|
-
content?: HTMLElement;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Objects used for configuring the Accordion expanding item action properties.
|
|
48
|
-
*/
|
|
49
|
-
export declare class AccordionActionSettings extends ChildProperty<AccordionActionSettings> {
|
|
50
|
-
/**
|
|
51
|
-
* Specifies the type of animation.
|
|
52
|
-
*
|
|
53
|
-
* @default 'SlideDown'
|
|
54
|
-
* @aspType string
|
|
55
|
-
*/
|
|
56
|
-
effect: 'None' | Effect;
|
|
57
|
-
/**
|
|
58
|
-
* Specifies the duration to animate.
|
|
59
|
-
*
|
|
60
|
-
* @default 400
|
|
61
|
-
*/
|
|
62
|
-
duration: number;
|
|
63
|
-
/**
|
|
64
|
-
* Specifies the animation timing function.
|
|
65
|
-
*
|
|
66
|
-
* @default 'linear'
|
|
67
|
-
*/
|
|
68
|
-
easing: string;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Objects used for configuring the Accordion animation properties.
|
|
72
|
-
*/
|
|
73
|
-
export declare class AccordionAnimationSettings extends ChildProperty<AccordionAnimationSettings> {
|
|
74
|
-
/**
|
|
75
|
-
* Specifies the animation to appear while collapsing the Accordion item.
|
|
76
|
-
*
|
|
77
|
-
* @default { effect: 'SlideDown', duration: 400, easing: 'linear' }
|
|
78
|
-
*/
|
|
79
|
-
collapse: AccordionActionSettingsModel;
|
|
80
|
-
/**
|
|
81
|
-
* Specifies the animation to appear while expanding the Accordion item.
|
|
82
|
-
*
|
|
83
|
-
* @default { effect: 'SlideDown', duration: 400, easing: 'linear' }
|
|
84
|
-
*/
|
|
85
|
-
expand: AccordionActionSettingsModel;
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* An item object that is used to configure Accordion items.
|
|
89
|
-
*/
|
|
90
|
-
export declare class AccordionItem extends ChildProperty<AccordionItem> {
|
|
91
|
-
/**
|
|
92
|
-
* Sets the text content to be displayed for the Accordion item.
|
|
93
|
-
* You can set the content of the Accordion item using `content` property.
|
|
94
|
-
* It also supports to include the title as `HTML element`, `string`, or `query selector`.
|
|
95
|
-
* ```typescript
|
|
96
|
-
* let accordionObj: Accordion = new Accordion( {
|
|
97
|
-
* items: [
|
|
98
|
-
* { header: 'Accordion Header', content: 'Accordion Content' },
|
|
99
|
-
* { header: '<div>Accordion Header</div>', content: '<div>Accordion Content</div' },
|
|
100
|
-
* { header: '#headerContent', content: '#panelContent' }]
|
|
101
|
-
* });
|
|
102
|
-
* accordionObj.appendTo('#accordion');
|
|
103
|
-
* ```
|
|
104
|
-
*
|
|
105
|
-
* @default null
|
|
106
|
-
*/
|
|
107
|
-
content: string;
|
|
108
|
-
/**
|
|
109
|
-
* Sets the header text to be displayed for the Accordion item.
|
|
110
|
-
* You can set the title of the Accordion item using `header` property.
|
|
111
|
-
* It also supports to include the title as `HTML element`, `string`, or `query selector`.
|
|
112
|
-
* ```typescript
|
|
113
|
-
* let accordionObj: Accordion = new Accordion( {
|
|
114
|
-
* items: [
|
|
115
|
-
* { header: 'Accordion Header', content: 'Accordion Content' },
|
|
116
|
-
* { header: '<div>Accordion Header</div>', content: '<div>Accordion Content</div' },
|
|
117
|
-
* { header: '#headerContent', content: '#panelContent' }]
|
|
118
|
-
* });
|
|
119
|
-
* accordionObj.appendTo('#accordion');
|
|
120
|
-
* ```
|
|
121
|
-
*
|
|
122
|
-
* @default null
|
|
123
|
-
*/
|
|
124
|
-
header: string;
|
|
125
|
-
/**
|
|
126
|
-
* Defines single/multiple classes (separated by a space) are to be used for Accordion item customization.
|
|
127
|
-
*
|
|
128
|
-
* @default null
|
|
129
|
-
*/
|
|
130
|
-
cssClass: string;
|
|
131
|
-
/**
|
|
132
|
-
* Defines an icon with the given custom CSS class that is to be rendered before the header text.
|
|
133
|
-
* Add the css classes to the `iconCss` property and write the css styles to the defined class to set images/icons.
|
|
134
|
-
* Adding icon is applicable only to the header.
|
|
135
|
-
* ```typescript
|
|
136
|
-
* let accordionObj: Accordion = new Accordion( {
|
|
137
|
-
* items: [
|
|
138
|
-
* { header: 'Accordion Header', iconCss: 'e-app-icon' }]
|
|
139
|
-
* });
|
|
140
|
-
* accordionObj.appendTo('#accordion');
|
|
141
|
-
* ```
|
|
142
|
-
* ```css
|
|
143
|
-
* .e-app-icon::before {
|
|
144
|
-
* content: "\e710";
|
|
145
|
-
* }
|
|
146
|
-
* ```
|
|
147
|
-
*
|
|
148
|
-
* @default null
|
|
149
|
-
*/
|
|
150
|
-
iconCss: string;
|
|
151
|
-
/**
|
|
152
|
-
* Sets the expand (true) or collapse (false) state of the Accordion item. By default, all the items are in a collapsed state.
|
|
153
|
-
*
|
|
154
|
-
* @default false
|
|
155
|
-
*/
|
|
156
|
-
expanded: boolean;
|
|
157
|
-
/**
|
|
158
|
-
* Sets false to hide an accordion item.
|
|
159
|
-
*
|
|
160
|
-
* @default true
|
|
161
|
-
*/
|
|
162
|
-
visible: boolean;
|
|
163
|
-
/**
|
|
164
|
-
* Sets true to disable an accordion item.
|
|
165
|
-
*
|
|
166
|
-
* @default false
|
|
167
|
-
*/
|
|
168
|
-
disabled: boolean;
|
|
169
|
-
/**
|
|
170
|
-
* Sets unique ID to accordion item.
|
|
171
|
-
*
|
|
172
|
-
* @default null
|
|
173
|
-
*/
|
|
174
|
-
id: string;
|
|
175
|
-
}
|
|
176
|
-
/**
|
|
177
|
-
* The Accordion is a vertically collapsible content panel that displays one or more panels at a time within the available space.
|
|
178
|
-
* ```html
|
|
179
|
-
* <div id='accordion'/>
|
|
180
|
-
* <script>
|
|
181
|
-
* var accordionObj = new Accordion();
|
|
182
|
-
* accordionObj.appendTo('#accordion');
|
|
183
|
-
* </script>
|
|
184
|
-
* ```
|
|
185
|
-
*/
|
|
186
|
-
export declare class Accordion extends Component<HTMLElement> implements INotifyPropertyChanged {
|
|
187
|
-
private lastActiveItemId;
|
|
188
|
-
private trgtEle;
|
|
189
|
-
private ctrlTem;
|
|
190
|
-
private keyModule;
|
|
191
|
-
private initExpand;
|
|
192
|
-
private isNested;
|
|
193
|
-
private isDestroy;
|
|
194
|
-
private templateEle;
|
|
195
|
-
private isAngular;
|
|
196
|
-
private headerTemplateFn;
|
|
197
|
-
private itemTemplateFn;
|
|
198
|
-
private removeRippleEffect;
|
|
199
|
-
/**
|
|
200
|
-
* Contains the keyboard configuration of the Accordion.
|
|
201
|
-
*/
|
|
202
|
-
private keyConfigs;
|
|
203
|
-
/**
|
|
204
|
-
* An array of item that is used to specify Accordion items.
|
|
205
|
-
* ```typescript
|
|
206
|
-
* let accordionObj: Accordion = new Accordion( {
|
|
207
|
-
* items: [
|
|
208
|
-
* { header: 'Accordion Header', content: 'Accordion Content' }]
|
|
209
|
-
* });
|
|
210
|
-
* accordionObj.appendTo('#accordion');
|
|
211
|
-
* ```
|
|
212
|
-
*
|
|
213
|
-
* @default []
|
|
214
|
-
*/
|
|
215
|
-
items: AccordionItemModel[];
|
|
216
|
-
/**
|
|
217
|
-
* Specifies the datasource for the accordion items.
|
|
218
|
-
*
|
|
219
|
-
* @isdatamanager false
|
|
220
|
-
* @default []
|
|
221
|
-
*/
|
|
222
|
-
dataSource: Object[];
|
|
223
|
-
/**
|
|
224
|
-
* Specifies the template option for accordion items.
|
|
225
|
-
*
|
|
226
|
-
* @default null
|
|
227
|
-
*/
|
|
228
|
-
itemTemplate: string;
|
|
229
|
-
/**
|
|
230
|
-
* Specifies the header title template option for accordion items.
|
|
231
|
-
*
|
|
232
|
-
* @default null
|
|
233
|
-
*/
|
|
234
|
-
headerTemplate: string;
|
|
235
|
-
/**
|
|
236
|
-
* Specifies the width of the Accordion in pixels/number/percentage. Number value is considered as pixels.
|
|
237
|
-
*
|
|
238
|
-
* @default '100%'
|
|
239
|
-
*/
|
|
240
|
-
width: string | number;
|
|
241
|
-
/**
|
|
242
|
-
* Specifies the height of the Accordion in pixels/number/percentage. Number value is considered as pixels.
|
|
243
|
-
*
|
|
244
|
-
* @default 'auto'
|
|
245
|
-
*/
|
|
246
|
-
height: string | number;
|
|
247
|
-
/**
|
|
248
|
-
* Specifies the expanded items at initial load.
|
|
249
|
-
*
|
|
250
|
-
* @default []
|
|
251
|
-
*/
|
|
252
|
-
expandedIndices: number[];
|
|
253
|
-
/**
|
|
254
|
-
* Specifies the options to expand single or multiple panel at a time.
|
|
255
|
-
* The possible values are:
|
|
256
|
-
* - Single: Sets to expand only one Accordion item at a time.
|
|
257
|
-
* - Multiple: Sets to expand more than one Accordion item at a time.
|
|
258
|
-
*
|
|
259
|
-
* @default 'Multiple'
|
|
260
|
-
*/
|
|
261
|
-
expandMode: ExpandMode;
|
|
262
|
-
/**
|
|
263
|
-
* Defines whether to allow the cross-scripting site or not.
|
|
264
|
-
*
|
|
265
|
-
* @default false
|
|
266
|
-
*/
|
|
267
|
-
enableHtmlSanitizer: boolean;
|
|
268
|
-
/**
|
|
269
|
-
* Specifies the animation configuration settings for expanding and collapsing the panel.
|
|
270
|
-
*
|
|
271
|
-
* @default { expand: { effect: 'SlideDown', duration: 400, easing: 'linear' },
|
|
272
|
-
* collapse: { effect: 'SlideUp', duration: 400, easing: 'linear' }}
|
|
273
|
-
*/
|
|
274
|
-
animation: AccordionAnimationSettingsModel;
|
|
275
|
-
/**
|
|
276
|
-
* The event will be fired while clicking anywhere within the Accordion.
|
|
277
|
-
*
|
|
278
|
-
* @event clicked
|
|
279
|
-
*/
|
|
280
|
-
clicked: EmitType<AccordionClickArgs>;
|
|
281
|
-
/**
|
|
282
|
-
* The event will be fired before the item gets collapsed/expanded.
|
|
283
|
-
*
|
|
284
|
-
* @event expanding
|
|
285
|
-
*/
|
|
286
|
-
expanding: EmitType<ExpandEventArgs>;
|
|
287
|
-
/**
|
|
288
|
-
* The event will be fired after the item gets collapsed/expanded.
|
|
289
|
-
*
|
|
290
|
-
* @event expanded
|
|
291
|
-
*/
|
|
292
|
-
expanded: EmitType<ExpandedEventArgs>;
|
|
293
|
-
/**
|
|
294
|
-
* The event will be fired once the control rendering is completed.
|
|
295
|
-
*
|
|
296
|
-
* @event created
|
|
297
|
-
*/
|
|
298
|
-
created: EmitType<Event>;
|
|
299
|
-
/**
|
|
300
|
-
* The event will be fired when the control gets destroyed.
|
|
301
|
-
*
|
|
302
|
-
* @event destroyed
|
|
303
|
-
*/
|
|
304
|
-
destroyed: EmitType<Event>;
|
|
305
|
-
/**
|
|
306
|
-
* Initializes a new instance of the Accordion class.
|
|
307
|
-
*
|
|
308
|
-
* @param {AccordionModel} options - Specifies Accordion model properties as options.
|
|
309
|
-
* @param {string | HTMLElement} element - Specifies the element that is rendered as an Accordion.
|
|
310
|
-
*/
|
|
311
|
-
constructor(options?: AccordionModel, element?: string | HTMLElement);
|
|
312
|
-
/**
|
|
313
|
-
* Removes the control from the DOM and also removes all its related events.
|
|
314
|
-
*
|
|
315
|
-
* @returns {void}
|
|
316
|
-
*/
|
|
317
|
-
destroy(): void;
|
|
318
|
-
protected preRender(): void;
|
|
319
|
-
private add;
|
|
320
|
-
private remove;
|
|
321
|
-
/**
|
|
322
|
-
* To initialize the control rendering
|
|
323
|
-
*
|
|
324
|
-
* @private
|
|
325
|
-
* @returns {void}
|
|
326
|
-
*/
|
|
327
|
-
protected render(): void;
|
|
328
|
-
private initialize;
|
|
329
|
-
private renderControl;
|
|
330
|
-
private wireFocusEvents;
|
|
331
|
-
private unwireEvents;
|
|
332
|
-
private wireEvents;
|
|
333
|
-
private templateParser;
|
|
334
|
-
private initializeHeaderTemplate;
|
|
335
|
-
private initializeItemTemplate;
|
|
336
|
-
private getHeaderTemplate;
|
|
337
|
-
private getItemTemplate;
|
|
338
|
-
private focusIn;
|
|
339
|
-
private focusOut;
|
|
340
|
-
private ctrlTemplate;
|
|
341
|
-
private toggleIconGenerate;
|
|
342
|
-
private initItemExpand;
|
|
343
|
-
private renderItems;
|
|
344
|
-
private clickHandler;
|
|
345
|
-
private afterContentRender;
|
|
346
|
-
private eleMoveFocus;
|
|
347
|
-
private keyActionHandler;
|
|
348
|
-
private headerEleGenerate;
|
|
349
|
-
private renderInnerItem;
|
|
350
|
-
private angularnativeCondiCheck;
|
|
351
|
-
private fetchElement;
|
|
352
|
-
private ariaAttrUpdate;
|
|
353
|
-
private contentRendering;
|
|
354
|
-
private expand;
|
|
355
|
-
private expandAnimation;
|
|
356
|
-
private expandProgress;
|
|
357
|
-
private expandedItemsPush;
|
|
358
|
-
private getIndexByItem;
|
|
359
|
-
private getItemElements;
|
|
360
|
-
private expandedItemsPop;
|
|
361
|
-
private collapse;
|
|
362
|
-
private collapseAnimation;
|
|
363
|
-
private collapseProgress;
|
|
364
|
-
/**
|
|
365
|
-
* Returns the current module name.
|
|
366
|
-
*
|
|
367
|
-
* @returns {string} - It returns the current module name.
|
|
368
|
-
* @private
|
|
369
|
-
*/
|
|
370
|
-
protected getModuleName(): string;
|
|
371
|
-
private itemAttribUpdate;
|
|
372
|
-
private getItems;
|
|
373
|
-
/**
|
|
374
|
-
* Adds new item to the Accordion with the specified index of the Accordion.
|
|
375
|
-
*
|
|
376
|
-
* @param {AccordionItemModel | AccordionItemModel[] | Object | Object[]} item - Item array that is to be added to the Accordion.
|
|
377
|
-
* @param {number} index - Number value that determines where the item should be added.
|
|
378
|
-
* By default, item is added at the last index if the index is not specified.
|
|
379
|
-
* @returns {void}
|
|
380
|
-
*/
|
|
381
|
-
addItem(item: AccordionItemModel | AccordionItemModel[] | Object | Object[], index?: number): void;
|
|
382
|
-
private expandedItemRefresh;
|
|
383
|
-
/**
|
|
384
|
-
* Dynamically removes item from Accordion.
|
|
385
|
-
*
|
|
386
|
-
* @param {number} index - Number value that determines which item should be removed.
|
|
387
|
-
* @returns {void}.
|
|
388
|
-
*/
|
|
389
|
-
removeItem(index: number): void;
|
|
390
|
-
/**
|
|
391
|
-
* Sets focus to the specified index item header in Accordion.
|
|
392
|
-
*
|
|
393
|
-
* @param {number} index - Number value that determines which item should be focused.
|
|
394
|
-
* @returns {void}.
|
|
395
|
-
*/
|
|
396
|
-
select(index: number): void;
|
|
397
|
-
/**
|
|
398
|
-
* Shows or hides the specified item from Accordion.
|
|
399
|
-
*
|
|
400
|
-
* @param {number} index - Number value that determines which item should be hidden/shown.
|
|
401
|
-
* @param {boolean} isHidden - Boolean value that determines the action either hide (true) or show (false). Default value is false.
|
|
402
|
-
* If the `isHidden` value is false, the item is shown or else item it is hidden.
|
|
403
|
-
* @returns {void}.
|
|
404
|
-
*/
|
|
405
|
-
hideItem(index: number, isHidden?: boolean): void;
|
|
406
|
-
/**
|
|
407
|
-
* Enables/Disables the specified Accordion item.
|
|
408
|
-
*
|
|
409
|
-
* @param {number} index - Number value that determines which item should be enabled/disabled.
|
|
410
|
-
* @param {boolean} isEnable - Boolean value that determines the action as enable (true) or disable (false).
|
|
411
|
-
* If the `isEnable` value is true, the item is enabled or else it is disabled.
|
|
412
|
-
* @returns {void}.
|
|
413
|
-
*/
|
|
414
|
-
enableItem(index: number, isEnable: boolean): void;
|
|
415
|
-
/**
|
|
416
|
-
* Expands/Collapses the specified Accordion item.
|
|
417
|
-
*
|
|
418
|
-
* @param {boolean} isExpand - Boolean value that determines the action as expand or collapse.
|
|
419
|
-
* @param {number} index - Number value that determines which item should be expanded/collapsed.`index` is optional parameter.
|
|
420
|
-
* Without Specifying index, based on the `isExpand` value all Accordion item can be expanded or collapsed.
|
|
421
|
-
* @returns {void}.
|
|
422
|
-
*/
|
|
423
|
-
expandItem(isExpand: boolean, index?: number): void;
|
|
424
|
-
private itemExpand;
|
|
425
|
-
private destroyItems;
|
|
426
|
-
private restoreContent;
|
|
427
|
-
private updateItem;
|
|
428
|
-
private setTemplate;
|
|
429
|
-
private templateCompile;
|
|
430
|
-
protected getPersistData(): string;
|
|
431
|
-
/**
|
|
432
|
-
* Gets called when the model property changes.The data that describes the old and new values of the property that changed.
|
|
433
|
-
*
|
|
434
|
-
* @param {AccordionModel} newProp - It contains the new value of data.
|
|
435
|
-
* @param {AccordionModel} oldProp - It contains the old value of data.
|
|
436
|
-
* @returns {void}
|
|
437
|
-
* @private
|
|
438
|
-
*/
|
|
439
|
-
onPropertyChanged(newProp: AccordionModel, oldProp: AccordionModel): void;
|
|
440
|
-
}
|
package/src/accordion/index.d.ts
DELETED
|
@@ -1,255 +0,0 @@
|
|
|
1
|
-
import { Component, INotifyPropertyChanged, ChildProperty, EmitType, BaseEventArgs } from '@syncfusion/ej2-base';
|
|
2
|
-
import { BreadcrumbModel, BreadcrumbItemModel } from './breadcrumb-model';
|
|
3
|
-
/**
|
|
4
|
-
* Defines the Breadcrumb overflow modes.
|
|
5
|
-
*/
|
|
6
|
-
export declare type BreadcrumbOverflowMode = 'Hidden' | 'Collapsed' | 'Menu' | 'Wrap' | 'Scroll' | 'None';
|
|
7
|
-
export declare class BreadcrumbItem extends ChildProperty<BreadcrumbItem> {
|
|
8
|
-
/**
|
|
9
|
-
* Specifies the text content of the Breadcrumb item.
|
|
10
|
-
*
|
|
11
|
-
* @default ''
|
|
12
|
-
*/
|
|
13
|
-
text: string;
|
|
14
|
-
/**
|
|
15
|
-
* Specifies the Url of the Breadcrumb item that will be activated when clicked.
|
|
16
|
-
*
|
|
17
|
-
* @default ''
|
|
18
|
-
*/
|
|
19
|
-
url: string;
|
|
20
|
-
/**
|
|
21
|
-
* Defines a class/multiple classes separated by a space for the item that is used to include an icon.
|
|
22
|
-
*
|
|
23
|
-
* @default null
|
|
24
|
-
*/
|
|
25
|
-
iconCss: string;
|
|
26
|
-
/**
|
|
27
|
-
* Enable or disable the breadcrumb item, when set to true, the breadcrumb item will be disabled.
|
|
28
|
-
*
|
|
29
|
-
* @default false
|
|
30
|
-
*/
|
|
31
|
-
disabled: boolean;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Interface for item click event.
|
|
35
|
-
*/
|
|
36
|
-
export interface BreadcrumbClickEventArgs extends BaseEventArgs {
|
|
37
|
-
/**
|
|
38
|
-
* Specifies the item's element.
|
|
39
|
-
*/
|
|
40
|
-
element: HTMLElement;
|
|
41
|
-
/**
|
|
42
|
-
* Specifies the Breadcrumb item.
|
|
43
|
-
*/
|
|
44
|
-
item: BreadcrumbItemModel;
|
|
45
|
-
/**
|
|
46
|
-
* Specifies the item click event.
|
|
47
|
-
*/
|
|
48
|
-
event: Event;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Interface for before item render event.
|
|
52
|
-
*/
|
|
53
|
-
export interface BreadcrumbBeforeItemRenderEventArgs extends BaseEventArgs {
|
|
54
|
-
/**
|
|
55
|
-
* Specifies the item's element.
|
|
56
|
-
*/
|
|
57
|
-
element: HTMLElement;
|
|
58
|
-
/**
|
|
59
|
-
* Specifies the Breadcrumb item.
|
|
60
|
-
*/
|
|
61
|
-
item: BreadcrumbItemModel;
|
|
62
|
-
/**
|
|
63
|
-
* Cancels the Breadcrumb item rendering.
|
|
64
|
-
*/
|
|
65
|
-
cancel: boolean;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Breadcrumb is a graphical user interface that helps to identify or highlight the current location within a hierarchical structure of websites.
|
|
69
|
-
* The aim is to make the user aware of their current position in a hierarchy of website links.
|
|
70
|
-
* ```html
|
|
71
|
-
* <nav id='breadcrumb'></nav>
|
|
72
|
-
* ```
|
|
73
|
-
* ```typescript
|
|
74
|
-
* <script>
|
|
75
|
-
* var breadcrumbObj = new Breadcrumb({ items: [{ text: 'Home', url: '/' }, { text: 'Index', url: './index.html }]});
|
|
76
|
-
* breadcrumbObj.appendTo("#breadcrumb");
|
|
77
|
-
* </script>
|
|
78
|
-
* ```
|
|
79
|
-
*/
|
|
80
|
-
export declare class Breadcrumb extends Component<HTMLElement> implements INotifyPropertyChanged {
|
|
81
|
-
private isExpanded;
|
|
82
|
-
private startIndex;
|
|
83
|
-
private endIndex;
|
|
84
|
-
private _maxItems;
|
|
85
|
-
private popupObj;
|
|
86
|
-
private popupUl;
|
|
87
|
-
private delegateClickHanlder;
|
|
88
|
-
/**
|
|
89
|
-
* Defines the Url based on which the Breadcrumb items are generated.
|
|
90
|
-
*
|
|
91
|
-
* @default ''
|
|
92
|
-
*/
|
|
93
|
-
url: string;
|
|
94
|
-
/**
|
|
95
|
-
* Defines the list of Breadcrumb items.
|
|
96
|
-
*
|
|
97
|
-
* @default []
|
|
98
|
-
*/
|
|
99
|
-
items: BreadcrumbItemModel[];
|
|
100
|
-
/**
|
|
101
|
-
* Specifies the Url of the active Breadcrumb item.
|
|
102
|
-
*
|
|
103
|
-
* @default ''
|
|
104
|
-
*/
|
|
105
|
-
activeItem: string;
|
|
106
|
-
/**
|
|
107
|
-
* Specifies an integer to enable overflow behavior when the Breadcrumb items count exceeds and it is based on the overflowMode property.
|
|
108
|
-
*
|
|
109
|
-
* @default -1
|
|
110
|
-
* @aspType int
|
|
111
|
-
*/
|
|
112
|
-
maxItems: number;
|
|
113
|
-
/**
|
|
114
|
-
* Specifies the overflow mode of the Breadcrumb item when it exceeds maxItems count. The possible values are,
|
|
115
|
-
* - Default: Specified maxItems count will be visible and the remaining items will be hidden. While clicking on the previous item, the hidden item will become visible.
|
|
116
|
-
* - Collapsed: Only the first and last items will be visible, and the remaining items will be hidden in the collapsed icon. When the collapsed icon is clicked, all items become visible.
|
|
117
|
-
* - Menu: Shows the number of breadcrumb items that can be accommodated within the container space, and creates a sub menu with the remaining items.
|
|
118
|
-
* - Wrap: Wraps the items on multiple lines when the Breadcrumb’s width exceeds the container space.
|
|
119
|
-
* - Scroll: Shows an HTML scroll bar when the Breadcrumb’s width exceeds the container space.
|
|
120
|
-
* - None: Shows all the items on a single line.
|
|
121
|
-
*
|
|
122
|
-
* @default 'Menu'
|
|
123
|
-
*/
|
|
124
|
-
overflowMode: BreadcrumbOverflowMode;
|
|
125
|
-
/**
|
|
126
|
-
* Defines class/multiple classes separated by a space in the Breadcrumb element.
|
|
127
|
-
*
|
|
128
|
-
* @default ''
|
|
129
|
-
*/
|
|
130
|
-
cssClass: string;
|
|
131
|
-
/**
|
|
132
|
-
* Specifies the template for Breadcrumb item.
|
|
133
|
-
*
|
|
134
|
-
* @default null
|
|
135
|
-
*/
|
|
136
|
-
itemTemplate: string;
|
|
137
|
-
/**
|
|
138
|
-
* Specifies the separator template for Breadcrumb.
|
|
139
|
-
*
|
|
140
|
-
* @default '/'
|
|
141
|
-
*/
|
|
142
|
-
separatorTemplate: string;
|
|
143
|
-
/**
|
|
144
|
-
* Enable or disable the item's navigation, when set to false, each item navigation will be prevented.
|
|
145
|
-
*
|
|
146
|
-
* @default true
|
|
147
|
-
*/
|
|
148
|
-
enableNavigation: boolean;
|
|
149
|
-
/**
|
|
150
|
-
* Enable or disable the active item navigation, when set to true, active item will be navigable.
|
|
151
|
-
*
|
|
152
|
-
* @default false
|
|
153
|
-
*/
|
|
154
|
-
enableActiveItemNavigation: boolean;
|
|
155
|
-
/**
|
|
156
|
-
* Enable or disable the breadcrumb, when set to true, the breadcrumb will be disabled.
|
|
157
|
-
*
|
|
158
|
-
* @default false
|
|
159
|
-
*/
|
|
160
|
-
disabled: boolean;
|
|
161
|
-
/**
|
|
162
|
-
* Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
|
|
163
|
-
*
|
|
164
|
-
* @default ''
|
|
165
|
-
* @private
|
|
166
|
-
* @aspIgnore
|
|
167
|
-
*/
|
|
168
|
-
locale: string;
|
|
169
|
-
/**
|
|
170
|
-
* Triggers while rendering each breadcrumb item.
|
|
171
|
-
*
|
|
172
|
-
* @event beforeItemRender
|
|
173
|
-
*/
|
|
174
|
-
beforeItemRender: EmitType<BreadcrumbBeforeItemRenderEventArgs>;
|
|
175
|
-
/**
|
|
176
|
-
* Triggers while clicking the breadcrumb item.
|
|
177
|
-
*
|
|
178
|
-
* @event itemClick
|
|
179
|
-
*/
|
|
180
|
-
itemClick: EmitType<BreadcrumbClickEventArgs>;
|
|
181
|
-
/**
|
|
182
|
-
* Triggers once the component rendering is completed.
|
|
183
|
-
*
|
|
184
|
-
* @event created
|
|
185
|
-
*/
|
|
186
|
-
created: EmitType<Event>;
|
|
187
|
-
/**
|
|
188
|
-
* Constructor for creating the widget.
|
|
189
|
-
*
|
|
190
|
-
* @private
|
|
191
|
-
* @param {BreadcrumbModel} options - Specifies the Breadcrumb model.
|
|
192
|
-
* @param {string | HTMLElement} element - Specifies the element.
|
|
193
|
-
*/
|
|
194
|
-
constructor(options?: BreadcrumbModel, element?: string | HTMLElement);
|
|
195
|
-
/**
|
|
196
|
-
* @private
|
|
197
|
-
* @returns {void}
|
|
198
|
-
*/
|
|
199
|
-
protected preRender(): void;
|
|
200
|
-
/**
|
|
201
|
-
* Initialize the control rendering.
|
|
202
|
-
*
|
|
203
|
-
* @private
|
|
204
|
-
* @returns {void}
|
|
205
|
-
*/
|
|
206
|
-
protected render(): void;
|
|
207
|
-
private initialize;
|
|
208
|
-
private initPvtProps;
|
|
209
|
-
private getEndIndex;
|
|
210
|
-
private initItems;
|
|
211
|
-
private renderItems;
|
|
212
|
-
private calculateMaxItems;
|
|
213
|
-
private hasField;
|
|
214
|
-
private getMenuElement;
|
|
215
|
-
private beforeItemRenderChanges;
|
|
216
|
-
private reRenderItems;
|
|
217
|
-
private clickHandler;
|
|
218
|
-
private renderPopup;
|
|
219
|
-
private documentClickHandler;
|
|
220
|
-
private resize;
|
|
221
|
-
private expandHandler;
|
|
222
|
-
private keyDownHandler;
|
|
223
|
-
private popupKeyDownHandler;
|
|
224
|
-
/**
|
|
225
|
-
* Called internally if any of the property value changed.
|
|
226
|
-
*
|
|
227
|
-
* @private
|
|
228
|
-
* @param {BreadcrumbModel} newProp - Specifies the new properties.
|
|
229
|
-
* @param {BreadcrumbModel} oldProp - Specifies the old properties.
|
|
230
|
-
* @returns {void}
|
|
231
|
-
*/
|
|
232
|
-
onPropertyChanged(newProp: BreadcrumbModel, oldProp: BreadcrumbModel): void;
|
|
233
|
-
private wireEvents;
|
|
234
|
-
private popupWireEvents;
|
|
235
|
-
private unWireEvents;
|
|
236
|
-
/**
|
|
237
|
-
* Get the properties to be maintained in the persisted state.
|
|
238
|
-
*
|
|
239
|
-
* @returns {string} - Persist data
|
|
240
|
-
*/
|
|
241
|
-
protected getPersistData(): string;
|
|
242
|
-
/**
|
|
243
|
-
* Get module name.
|
|
244
|
-
*
|
|
245
|
-
* @private
|
|
246
|
-
* @returns {string} - Module Name
|
|
247
|
-
*/
|
|
248
|
-
protected getModuleName(): string;
|
|
249
|
-
/**
|
|
250
|
-
* Destroys the widget.
|
|
251
|
-
*
|
|
252
|
-
* @returns {void}
|
|
253
|
-
*/
|
|
254
|
-
destroy(): void;
|
|
255
|
-
}
|