@syncfusion/ej2-navigations 20.1.48 → 20.1.51-10460
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +243 -243
- package/CHANGELOG.md +1601 -1585
- package/README.md +194 -194
- package/dist/ej2-navigations.min.js +1 -0
- package/dist/ej2-navigations.umd.min.js +1 -10
- package/dist/ej2-navigations.umd.min.js.map +1 -1
- package/dist/es6/ej2-navigations.es2015.js +78 -76
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +234 -232
- package/dist/es6/ej2-navigations.es5.js.map +1 -1
- package/dist/global/ej2-navigations.min.js +1 -10
- package/dist/global/ej2-navigations.min.js.map +1 -1
- package/dist/global/index.d.ts +0 -9
- package/dist/ts/accordion/accordion.ts +1545 -0
- package/dist/ts/breadcrumb/breadcrumb.ts +873 -0
- package/dist/ts/carousel/carousel.ts +1181 -0
- package/dist/ts/common/h-scroll.ts +477 -0
- package/dist/ts/common/menu-base.ts +2357 -0
- package/dist/ts/common/menu-scroll.ts +105 -0
- package/dist/ts/common/v-scroll.ts +454 -0
- package/{src/context-menu/context-menu.d.ts → dist/ts/context-menu/context-menu.ts} +134 -88
- package/dist/ts/menu/menu.ts +302 -0
- package/dist/ts/sidebar/sidebar.ts +874 -0
- package/dist/ts/tab/tab.ts +2637 -0
- package/dist/ts/toolbar/toolbar.ts +2378 -0
- package/dist/ts/treeview/treeview.ts +5768 -0
- package/helpers/e2e/accordionHelper.js +70 -53
- package/helpers/e2e/contextmenuHelper.js +52 -35
- package/helpers/e2e/index.js +14 -12
- package/helpers/e2e/menuHelper.js +52 -35
- package/helpers/e2e/sidebarHelper.js +109 -92
- package/helpers/e2e/tabHelper.js +73 -56
- package/helpers/e2e/toolbarHelper.js +73 -56
- package/helpers/e2e/treeview.js +79 -61
- package/license +10 -10
- package/package.json +164 -164
- package/src/accordion/accordion-model.d.ts +190 -190
- package/src/accordion/accordion.js +19 -19
- package/src/breadcrumb/breadcrumb-model.d.ts +105 -105
- package/src/breadcrumb/breadcrumb.js +19 -19
- package/src/carousel/carousel-model.d.ts +148 -148
- package/src/carousel/carousel.js +19 -19
- package/src/common/h-scroll-model.d.ts +6 -6
- package/src/common/h-scroll.js +19 -19
- package/src/common/menu-base-model.d.ts +206 -206
- package/src/common/menu-base.js +22 -20
- package/src/common/v-scroll-model.d.ts +6 -6
- package/src/common/v-scroll.js +19 -19
- package/src/context-menu/context-menu-model.d.ts +18 -18
- package/src/context-menu/context-menu.js +19 -19
- package/src/menu/menu-model.d.ts +43 -43
- package/src/menu/menu.js +19 -19
- package/src/sidebar/sidebar-model.d.ts +191 -191
- package/src/sidebar/sidebar.js +19 -19
- package/src/tab/tab-model.d.ts +291 -291
- package/src/tab/tab.js +21 -21
- package/src/toolbar/toolbar-model.d.ts +195 -195
- package/src/toolbar/toolbar.js +19 -19
- package/src/treeview/treeview-model.d.ts +411 -411
- package/src/treeview/treeview.js +20 -20
- package/styles/accordion/_bds-definition.scss +167 -0
- package/styles/accordion/_bigger.scss +121 -0
- package/styles/accordion/_bootstrap5.3-definition.scss +168 -0
- package/styles/accordion/_fluent2-definition.scss +167 -0
- package/styles/accordion/_fusionnew-definition.scss +168 -0
- package/styles/accordion/_material3-dark-definition.scss +1 -0
- package/styles/accordion/_material3-definition.scss +168 -0
- package/styles/accordion/fluent2.scss +4 -0
- package/styles/accordion/icons/_bds.scss +15 -0
- package/styles/accordion/icons/_bootstrap5.3.scss +15 -0
- package/styles/accordion/icons/_fluent2.scss +15 -0
- package/styles/accordion/icons/_fusionnew.scss +15 -0
- package/styles/accordion/icons/_material3-dark.scss +1 -0
- package/styles/accordion/icons/_material3.scss +15 -0
- package/styles/accordion/material3-dark.scss +4 -0
- package/styles/accordion/material3.scss +4 -0
- package/styles/appbar/_all.scss +2 -0
- package/styles/appbar/_bds-definition.scss +25 -0
- package/styles/appbar/_bigger.scss +15 -0
- package/styles/appbar/_bootstrap-dark-definition.scss +6 -0
- package/styles/appbar/_bootstrap-definition.scss +6 -0
- package/styles/appbar/_bootstrap4-definition.scss +6 -0
- package/styles/appbar/_bootstrap5-definition.scss +6 -0
- package/styles/appbar/_bootstrap5.3-definition.scss +6 -0
- package/styles/appbar/_fabric-dark-definition.scss +6 -0
- package/styles/appbar/_fabric-definition.scss +6 -0
- package/styles/appbar/_fluent-definition.scss +6 -0
- package/styles/appbar/_fluent2-definition.scss +24 -0
- package/styles/appbar/_fusionnew-definition.scss +6 -0
- package/styles/appbar/_highcontrast-definition.scss +6 -0
- package/styles/appbar/_highcontrast-light-definition.scss +6 -0
- package/styles/appbar/_layout.scss +76 -0
- package/styles/appbar/_material-dark-definition.scss +6 -0
- package/styles/appbar/_material-definition.scss +6 -0
- package/styles/appbar/_material3-definition.scss +6 -0
- package/styles/appbar/_tailwind-definition.scss +6 -0
- package/styles/appbar/_theme.scss +216 -0
- package/styles/bootstrap-dark.css +1 -1
- package/styles/bootstrap.css +1 -1
- package/styles/bootstrap4.css +1 -1
- package/styles/bootstrap5-dark.css +1 -1
- package/styles/bootstrap5.css +1 -1
- package/styles/breadcrumb/_bds-definition.scss +60 -0
- package/styles/breadcrumb/_bigger.scss +160 -0
- package/styles/breadcrumb/_bootstrap5.3-definition.scss +61 -0
- package/styles/breadcrumb/_fluent2-definition.scss +61 -0
- package/styles/breadcrumb/_fusionnew-definition.scss +59 -0
- package/styles/breadcrumb/_layout.scss +1 -1
- package/styles/breadcrumb/_material3-dark-definition.scss +1 -0
- package/styles/breadcrumb/_material3-definition.scss +60 -0
- package/styles/breadcrumb/bootstrap-dark.css +1 -1
- package/styles/breadcrumb/bootstrap.css +1 -1
- package/styles/breadcrumb/bootstrap4.css +1 -1
- package/styles/breadcrumb/bootstrap5-dark.css +1 -1
- package/styles/breadcrumb/bootstrap5.css +1 -1
- package/styles/breadcrumb/fabric-dark.css +1 -1
- package/styles/breadcrumb/fabric.css +1 -1
- package/styles/breadcrumb/fluent-dark.css +1 -1
- package/styles/breadcrumb/fluent.css +1 -1
- package/styles/breadcrumb/fluent2.scss +4 -0
- package/styles/breadcrumb/highcontrast-light.css +1 -1
- package/styles/breadcrumb/highcontrast.css +1 -1
- package/styles/breadcrumb/icons/_bds.scss +23 -0
- package/styles/breadcrumb/icons/_bootstrap5.3.scss +23 -0
- package/styles/breadcrumb/icons/_fluent2.scss +23 -0
- package/styles/breadcrumb/icons/_fusionnew.scss +23 -0
- package/styles/breadcrumb/icons/_material3-dark.scss +1 -0
- package/styles/breadcrumb/icons/_material3.scss +12 -0
- package/styles/breadcrumb/material-dark.css +1 -1
- package/styles/breadcrumb/material.css +1 -1
- package/styles/breadcrumb/material3-dark.scss +4 -0
- package/styles/breadcrumb/material3.scss +4 -0
- package/styles/breadcrumb/tailwind-dark.css +1 -1
- package/styles/breadcrumb/tailwind.css +1 -1
- package/styles/carousel/_bds-definition.scss +20 -0
- package/styles/carousel/_bootstrap5.3-definition.scss +20 -0
- package/styles/carousel/_fluent2-definition.scss +23 -0
- package/styles/carousel/_fusionnew-definition.scss +20 -0
- package/styles/carousel/_material3-dark-definition.scss +1 -0
- package/styles/carousel/_material3-definition.scss +21 -0
- package/styles/carousel/fluent2.scss +4 -0
- package/styles/carousel/icons/_bds.scss +30 -0
- package/styles/carousel/icons/_bootstrap5.3.scss +30 -0
- package/styles/carousel/icons/_fluent2.scss +30 -0
- package/styles/carousel/icons/_fusionnew.scss +30 -0
- package/styles/carousel/icons/_material3-dark.scss +1 -0
- package/styles/carousel/icons/_material3.scss +30 -0
- package/styles/carousel/material3-dark.scss +4 -0
- package/styles/carousel/material3.scss +4 -0
- package/styles/context-menu/_bds-definition.scss +68 -0
- package/styles/context-menu/_bigger.scss +96 -0
- package/styles/context-menu/_bootstrap5.3-definition.scss +52 -0
- package/styles/context-menu/_fluent2-definition.scss +52 -0
- package/styles/context-menu/_fusionnew-definition.scss +51 -0
- package/styles/context-menu/_material3-dark-definition.scss +1 -0
- package/styles/context-menu/_material3-definition.scss +51 -0
- package/styles/context-menu/fluent2.scss +4 -0
- package/styles/context-menu/icons/_bds.scss +31 -0
- package/styles/context-menu/icons/_bootstrap5.3.scss +31 -0
- package/styles/context-menu/icons/_fluent2.scss +31 -0
- package/styles/context-menu/icons/_fusionnew.scss +31 -0
- package/styles/context-menu/icons/_material3-dark.scss +1 -0
- package/styles/context-menu/icons/_material3.scss +31 -0
- package/styles/context-menu/material3-dark.scss +4 -0
- package/styles/context-menu/material3.scss +4 -0
- package/styles/fabric-dark.css +1 -1
- package/styles/fabric.css +1 -1
- package/styles/fluent-dark.css +1 -1
- package/styles/fluent.css +1 -1
- package/styles/fluent2.scss +34 -0
- package/styles/h-scroll/_bds-definition.scss +83 -0
- package/styles/h-scroll/_bigger.scss +39 -0
- package/styles/h-scroll/_bootstrap5.3-definition.scss +83 -0
- package/styles/h-scroll/_fluent2-definition.scss +83 -0
- package/styles/h-scroll/_fusionnew-definition.scss +83 -0
- package/styles/h-scroll/_material3-dark-definition.scss +1 -0
- package/styles/h-scroll/_material3-definition.scss +83 -0
- package/styles/h-scroll/fluent2.scss +4 -0
- package/styles/h-scroll/icons/_bds.scss +49 -0
- package/styles/h-scroll/icons/_bootstrap5.3.scss +49 -0
- package/styles/h-scroll/icons/_fluent2.scss +49 -0
- package/styles/h-scroll/icons/_fusionnew.scss +49 -0
- package/styles/h-scroll/icons/_material3-dark.scss +1 -0
- package/styles/h-scroll/icons/_material3.scss +49 -0
- package/styles/h-scroll/material3-dark.scss +4 -0
- package/styles/h-scroll/material3.scss +4 -0
- package/styles/highcontrast-light.css +1 -1
- package/styles/highcontrast.css +1 -1
- package/styles/material-dark.css +1 -1
- package/styles/material.css +1 -1
- package/styles/material3-dark.scss +34 -0
- package/styles/material3.scss +34 -0
- package/styles/menu/_bds-definition.scss +65 -0
- package/styles/menu/_bigger.scss +355 -0
- package/styles/menu/_bootstrap5.3-definition.scss +66 -0
- package/styles/menu/_fluent2-definition.scss +67 -0
- package/styles/menu/_fusionnew-definition.scss +66 -0
- package/styles/menu/_material3-dark-definition.scss +1 -0
- package/styles/menu/_material3-definition.scss +66 -0
- package/styles/menu/fluent2.scss +7 -0
- package/styles/menu/icons/_bds.scss +104 -0
- package/styles/menu/icons/_bootstrap5.3.scss +104 -0
- package/styles/menu/icons/_fluent2.scss +104 -0
- package/styles/menu/icons/_fusionnew.scss +104 -0
- package/styles/menu/icons/_material3-dark.scss +1 -0
- package/styles/menu/icons/_material3.scss +104 -0
- package/styles/menu/material3-dark.scss +7 -0
- package/styles/menu/material3.scss +7 -0
- package/styles/pager/_all.scss +2 -0
- package/styles/pager/_bds-definition.scss +152 -0
- package/styles/pager/_bigger.scss +311 -0
- package/styles/pager/_bootstrap-dark-definition.scss +151 -0
- package/styles/pager/_bootstrap-definition.scss +151 -0
- package/styles/pager/_bootstrap4-definition.scss +151 -0
- package/styles/pager/_bootstrap5-definition.scss +166 -0
- package/styles/pager/_bootstrap5.3-definition.scss +166 -0
- package/styles/pager/_fabric-dark-definition.scss +149 -0
- package/styles/pager/_fabric-definition.scss +149 -0
- package/styles/pager/_fluent-definition.scss +153 -0
- package/styles/pager/_fluent2-definition.scss +152 -0
- package/styles/pager/_fusionnew-definition.scss +166 -0
- package/styles/pager/_highcontrast-definition.scss +149 -0
- package/styles/pager/_highcontrast-light-definition.scss +149 -0
- package/styles/pager/_layout.scss +742 -0
- package/styles/pager/_material-dark-definition.scss +150 -0
- package/styles/pager/_material-definition.scss +150 -0
- package/styles/pager/_material3-definition.scss +166 -0
- package/styles/pager/_tailwind-definition.scss +152 -0
- package/styles/pager/_theme.scss +189 -0
- package/styles/pager/icons/_bds.scss +50 -0
- package/styles/pager/icons/_bootstrap-dark.scss +50 -0
- package/styles/pager/icons/_bootstrap.scss +50 -0
- package/styles/pager/icons/_bootstrap4.scss +50 -0
- package/styles/pager/icons/_bootstrap5.3.scss +50 -0
- package/styles/pager/icons/_bootstrap5.scss +50 -0
- package/styles/pager/icons/_fabric-dark.scss +50 -0
- package/styles/pager/icons/_fabric.scss +50 -0
- package/styles/pager/icons/_fluent.scss +50 -0
- package/styles/pager/icons/_fluent2.scss +50 -0
- package/styles/pager/icons/_fusionnew.scss +50 -0
- package/styles/pager/icons/_highcontrast-light.scss +50 -0
- package/styles/pager/icons/_highcontrast.scss +46 -0
- package/styles/pager/icons/_material-dark.scss +50 -0
- package/styles/pager/icons/_material.scss +46 -0
- package/styles/pager/icons/_material3.scss +50 -0
- package/styles/pager/icons/_tailwind.scss +50 -0
- package/styles/sidebar/_bds-definition.scss +53 -0
- package/styles/sidebar/_bootstrap5.3-definition.scss +6 -0
- package/styles/sidebar/_fluent2-definition.scss +8 -0
- package/styles/sidebar/_fusionnew-definition.scss +6 -0
- package/styles/sidebar/_material3-dark-definition.scss +1 -0
- package/styles/sidebar/_material3-definition.scss +4 -0
- package/styles/sidebar/fluent2.scss +3 -0
- package/styles/sidebar/material3-dark.scss +3 -0
- package/styles/sidebar/material3.scss +3 -0
- package/styles/stepper/_all.scss +2 -0
- package/styles/stepper/_bds-definition.scss +72 -0
- package/styles/stepper/_bigger.scss +53 -0
- package/styles/stepper/_bootstrap-dark-definition.scss +72 -0
- package/styles/stepper/_bootstrap-definition.scss +72 -0
- package/styles/stepper/_bootstrap4-definition.scss +72 -0
- package/styles/stepper/_bootstrap5-definition.scss +73 -0
- package/styles/stepper/_bootstrap5.3-definition.scss +72 -0
- package/styles/stepper/_fabric-dark-definition.scss +72 -0
- package/styles/stepper/_fabric-definition.scss +72 -0
- package/styles/stepper/_fluent-definition.scss +72 -0
- package/styles/stepper/_fluent2-definition.scss +72 -0
- package/styles/stepper/_fusionnew-definition.scss +72 -0
- package/styles/stepper/_highcontrast-definition.scss +72 -0
- package/styles/stepper/_highcontrast-light-definition.scss +72 -0
- package/styles/stepper/_layout.scss +431 -0
- package/styles/stepper/_material-dark-definition.scss +72 -0
- package/styles/stepper/_material-definition.scss +72 -0
- package/styles/stepper/_material3-definition.scss +72 -0
- package/styles/stepper/_tailwind-definition.scss +72 -0
- package/styles/stepper/_theme.scss +195 -0
- package/styles/stepper/icons/_bds.scss +5 -0
- package/styles/stepper/icons/_bootstrap-dark.scss +5 -0
- package/styles/stepper/icons/_bootstrap.scss +5 -0
- package/styles/stepper/icons/_bootstrap4.scss +5 -0
- package/styles/stepper/icons/_bootstrap5.3.scss +5 -0
- package/styles/stepper/icons/_bootstrap5.scss +5 -0
- package/styles/stepper/icons/_fabric-dark.scss +5 -0
- package/styles/stepper/icons/_fabric.scss +5 -0
- package/styles/stepper/icons/_fluent.scss +5 -0
- package/styles/stepper/icons/_fluent2.scss +5 -0
- package/styles/stepper/icons/_fusionnew.scss +5 -0
- package/styles/stepper/icons/_highcontrast-light.scss +5 -0
- package/styles/stepper/icons/_highcontrast.scss +5 -0
- package/styles/stepper/icons/_material-dark.scss +5 -0
- package/styles/stepper/icons/_material.scss +5 -0
- package/styles/stepper/icons/_material3.scss +5 -0
- package/styles/stepper/icons/_tailwind.scss +5 -0
- package/styles/tab/_bds-definition.scss +661 -0
- package/styles/tab/_bigger.scss +1270 -0
- package/styles/tab/_bootstrap5.3-definition.scss +636 -0
- package/styles/tab/_fluent2-definition.scss +667 -0
- package/styles/tab/_fusionnew-definition.scss +634 -0
- package/styles/tab/_material3-dark-definition.scss +1 -0
- package/styles/tab/_material3-definition.scss +636 -0
- package/styles/tab/fluent2.scss +5 -0
- package/styles/tab/icons/_bds.scss +90 -0
- package/styles/tab/icons/_bootstrap5.3.scss +90 -0
- package/styles/tab/icons/_fluent2.scss +98 -0
- package/styles/tab/icons/_fusionnew.scss +90 -0
- package/styles/tab/icons/_material3-dark.scss +1 -0
- package/styles/tab/icons/_material3.scss +90 -0
- package/styles/tab/material3-dark.scss +5 -0
- package/styles/tab/material3.scss +5 -0
- package/styles/tailwind-dark.css +1 -1
- package/styles/tailwind.css +1 -1
- package/styles/toolbar/_bds-definition.scss +197 -0
- package/styles/toolbar/_bigger.scss +309 -0
- package/styles/toolbar/_bootstrap5.3-definition.scss +198 -0
- package/styles/toolbar/_fluent2-definition.scss +198 -0
- package/styles/toolbar/_fusionnew-definition.scss +198 -0
- package/styles/toolbar/_material3-dark-definition.scss +1 -0
- package/styles/toolbar/_material3-definition.scss +199 -0
- package/styles/toolbar/fluent2.scss +6 -0
- package/styles/toolbar/icons/_bds.scss +14 -0
- package/styles/toolbar/icons/_bootstrap5.3.scss +14 -0
- package/styles/toolbar/icons/_fluent2.scss +14 -0
- package/styles/toolbar/icons/_fusionnew.scss +14 -0
- package/styles/toolbar/icons/_material3-dark.scss +1 -0
- package/styles/toolbar/icons/_material3.scss +14 -0
- package/styles/toolbar/material3-dark.scss +6 -0
- package/styles/toolbar/material3.scss +6 -0
- package/styles/treeview/_bds-definition.scss +132 -0
- package/styles/treeview/_bigger.scss +393 -0
- package/styles/treeview/_bootstrap5.3-definition.scss +119 -0
- package/styles/treeview/_fluent2-definition.scss +128 -0
- package/styles/treeview/_fusionnew-definition.scss +120 -0
- package/styles/treeview/_material3-dark-definition.scss +1 -0
- package/styles/treeview/_material3-definition.scss +110 -0
- package/styles/treeview/fluent2.scss +4 -0
- package/styles/treeview/icons/_bds.scss +44 -0
- package/styles/treeview/icons/_bootstrap5.3.scss +44 -0
- package/styles/treeview/icons/_fluent2.scss +44 -0
- package/styles/treeview/icons/_fusionnew.scss +44 -0
- package/styles/treeview/icons/_material3-dark.scss +1 -0
- package/styles/treeview/icons/_material3.scss +44 -0
- package/styles/treeview/material3-dark.scss +4 -0
- package/styles/treeview/material3.scss +4 -0
- package/styles/v-scroll/_bds-definition.scss +49 -0
- package/styles/v-scroll/_bigger.scss +28 -0
- package/styles/v-scroll/_bootstrap5.3-definition.scss +49 -0
- package/styles/v-scroll/_fluent2-definition.scss +49 -0
- package/styles/v-scroll/_fusionnew-definition.scss +49 -0
- package/styles/v-scroll/_material3-dark-definition.scss +1 -0
- package/styles/v-scroll/_material3-definition.scss +49 -0
- package/styles/v-scroll/fluent2.scss +4 -0
- package/styles/v-scroll/icons/_bds.scss +27 -0
- package/styles/v-scroll/icons/_bootstrap5.3.scss +27 -0
- package/styles/v-scroll/icons/_fluent2.scss +27 -0
- package/styles/v-scroll/icons/_fusionnew.scss +27 -0
- package/styles/v-scroll/icons/_material3-dark.scss +1 -0
- package/styles/v-scroll/icons/_material3.scss +27 -0
- package/styles/v-scroll/material3-dark.scss +4 -0
- package/styles/v-scroll/material3.scss +4 -0
- package/tslint.json +111 -111
- package/.github/PULL_REQUEST_TEMPLATE/Bug.md +0 -63
- package/.github/PULL_REQUEST_TEMPLATE/feature.md +0 -39
- package/accordion.d.ts +0 -4
- package/accordion.js +0 -4
- package/breadcrumb.d.ts +0 -4
- package/breadcrumb.js +0 -4
- package/carousel.d.ts +0 -4
- package/carousel.js +0 -4
- package/common.d.ts +0 -4
- package/common.js +0 -4
- package/context-menu.d.ts +0 -4
- package/context-menu.js +0 -4
- package/helpers/e2e/accordionHelper.d.ts +0 -56
- package/helpers/e2e/contextmenuHelper.d.ts +0 -37
- package/helpers/e2e/index.d.ts +0 -7
- package/helpers/e2e/menuHelper.d.ts +0 -37
- package/helpers/e2e/sidebarHelper.d.ts +0 -94
- package/helpers/e2e/tabHelper.d.ts +0 -60
- package/helpers/e2e/toolbarHelper.d.ts +0 -60
- package/helpers/e2e/treeview.d.ts +0 -50
- package/index.d.ts +0 -4
- package/index.js +0 -4
- package/menu.d.ts +0 -4
- package/menu.js +0 -4
- package/sidebar.d.ts +0 -4
- package/sidebar.js +0 -4
- package/src/accordion/accordion.d.ts +0 -440
- package/src/accordion/index.d.ts +0 -5
- package/src/breadcrumb/breadcrumb.d.ts +0 -255
- package/src/breadcrumb/index.d.ts +0 -5
- package/src/carousel/carousel.d.ts +0 -338
- package/src/carousel/index.d.ts +0 -3
- package/src/common/h-scroll.d.ts +0 -105
- package/src/common/index.d.ts +0 -9
- package/src/common/menu-base.d.ts +0 -526
- package/src/common/menu-scroll.d.ts +0 -29
- package/src/common/v-scroll.d.ts +0 -106
- package/src/context-menu/index.d.ts +0 -5
- package/src/index.d.ts +0 -13
- package/src/menu/index.d.ts +0 -5
- package/src/menu/menu.d.ts +0 -121
- package/src/sidebar/index.d.ts +0 -5
- package/src/sidebar/sidebar.d.ts +0 -321
- package/src/tab/index.d.ts +0 -5
- package/src/tab/tab.d.ts +0 -650
- package/src/toolbar/index.d.ts +0 -5
- package/src/toolbar/toolbar.d.ts +0 -470
- package/src/treeview/index.d.ts +0 -5
- package/src/treeview/treeview.d.ts +0 -1256
- package/tab.d.ts +0 -4
- package/tab.js +0 -4
- package/toolbar.d.ts +0 -4
- package/toolbar.js +0 -4
- package/treeview.d.ts +0 -4
- package/treeview.js +0 -4
package/src/carousel/carousel.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
-
};
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
+
};
|
|
20
20
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
21
21
|
import { Component, EventHandler, Collection, Property, Event, formatUnit, NotifyPropertyChanges } from '@syncfusion/ej2-base';
|
|
22
22
|
import { ChildProperty, addClass, removeClass, setStyleAttribute, attributes, getUniqueID, compile, Complex, getInstance, L10n } from '@syncfusion/ej2-base';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Touch, ScrollEventArgs, TouchEventArgs, Component, EventHandler, selectAll, getUniqueID } from '@syncfusion/ej2-base';
|
|
1
|
+
import { Touch, ScrollEventArgs, TouchEventArgs, Component, EventHandler, selectAll, getUniqueID } from '@syncfusion/ej2-base';
|
|
2
2
|
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -7,10 +7,10 @@ import {ComponentModel} from '@syncfusion/ej2-base';
|
|
|
7
7
|
export interface HScrollModel extends ComponentModel{
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* Specifies the left or right scrolling distance of the horizontal scrollbar moving.
|
|
11
|
-
*
|
|
12
|
-
* @default null
|
|
13
|
-
*/
|
|
14
|
-
scrollStep?: number;
|
|
10
|
+
* Specifies the left or right scrolling distance of the horizontal scrollbar moving.
|
|
11
|
+
*
|
|
12
|
+
* @default null
|
|
13
|
+
*/
|
|
14
|
+
scrollStep?: number;
|
|
15
15
|
|
|
16
16
|
}
|
package/src/common/h-scroll.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
-
};
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
+
};
|
|
20
20
|
import { Touch, Component, EventHandler, selectAll, getUniqueID } from '@syncfusion/ej2-base';
|
|
21
21
|
import { NotifyPropertyChanges, Property, Browser, detach } from '@syncfusion/ej2-base';
|
|
22
22
|
import { classList, isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Property, ChildProperty, NotifyPropertyChanges, INotifyPropertyChanged, AnimationModel, isBlazor } from '@syncfusion/ej2-base';
|
|
1
|
+
import { Component, Property, ChildProperty, NotifyPropertyChanges, INotifyPropertyChanged, AnimationModel, isBlazor } from '@syncfusion/ej2-base';
|
|
2
2
|
import {MenuEffect,MenuEventArgs,BeforeOpenCloseMenuEventArgs,OpenCloseMenuEventArgs} from "./menu-base";
|
|
3
3
|
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
4
4
|
|
|
@@ -8,53 +8,53 @@ import {ComponentModel} from '@syncfusion/ej2-base';
|
|
|
8
8
|
export interface FieldSettingsModel {
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* Specifies the itemId field for Menu item.
|
|
12
|
-
*
|
|
13
|
-
* @default 'id'
|
|
14
|
-
*/
|
|
15
|
-
itemId?: string | string[];
|
|
11
|
+
* Specifies the itemId field for Menu item.
|
|
12
|
+
*
|
|
13
|
+
* @default 'id'
|
|
14
|
+
*/
|
|
15
|
+
itemId?: string | string[];
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* Specifies the parentId field for Menu item.
|
|
19
|
-
*
|
|
20
|
-
* @default 'parentId'
|
|
21
|
-
*/
|
|
22
|
-
parentId?: string | string[];
|
|
18
|
+
* Specifies the parentId field for Menu item.
|
|
19
|
+
*
|
|
20
|
+
* @default 'parentId'
|
|
21
|
+
*/
|
|
22
|
+
parentId?: string | string[];
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* Specifies the text field for Menu item.
|
|
26
|
-
*
|
|
27
|
-
* @default 'text'
|
|
28
|
-
*/
|
|
29
|
-
text?: string | string[];
|
|
25
|
+
* Specifies the text field for Menu item.
|
|
26
|
+
*
|
|
27
|
+
* @default 'text'
|
|
28
|
+
*/
|
|
29
|
+
text?: string | string[];
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
* Specifies the css icon field for Menu item.
|
|
33
|
-
*
|
|
34
|
-
* @default 'iconCss'
|
|
35
|
-
*/
|
|
36
|
-
iconCss?: string | string[];
|
|
32
|
+
* Specifies the css icon field for Menu item.
|
|
33
|
+
*
|
|
34
|
+
* @default 'iconCss'
|
|
35
|
+
*/
|
|
36
|
+
iconCss?: string | string[];
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
|
-
* Specifies the Url field for Menu item.
|
|
40
|
-
*
|
|
41
|
-
* @default 'url'
|
|
42
|
-
*/
|
|
43
|
-
url?: string | string[];
|
|
39
|
+
* Specifies the Url field for Menu item.
|
|
40
|
+
*
|
|
41
|
+
* @default 'url'
|
|
42
|
+
*/
|
|
43
|
+
url?: string | string[];
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
|
-
* Specifies the separator field for Menu item.
|
|
47
|
-
*
|
|
48
|
-
* @default 'separator'
|
|
49
|
-
*/
|
|
50
|
-
separator?: string | string[];
|
|
46
|
+
* Specifies the separator field for Menu item.
|
|
47
|
+
*
|
|
48
|
+
* @default 'separator'
|
|
49
|
+
*/
|
|
50
|
+
separator?: string | string[];
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
|
-
* Specifies the children field for Menu item.
|
|
54
|
-
*
|
|
55
|
-
* @default 'items'
|
|
56
|
-
*/
|
|
57
|
-
children?: string | string[];
|
|
53
|
+
* Specifies the children field for Menu item.
|
|
54
|
+
*
|
|
55
|
+
* @default 'items'
|
|
56
|
+
*/
|
|
57
|
+
children?: string | string[];
|
|
58
58
|
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -64,47 +64,47 @@ export interface FieldSettingsModel {
|
|
|
64
64
|
export interface MenuItemModel {
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
|
-
* Defines class/multiple classes separated by a space for the menu Item that is used to include an icon.
|
|
68
|
-
* Menu Item can include font icon and sprite image.
|
|
69
|
-
*
|
|
70
|
-
* @default null
|
|
71
|
-
*/
|
|
72
|
-
iconCss?: string;
|
|
67
|
+
* Defines class/multiple classes separated by a space for the menu Item that is used to include an icon.
|
|
68
|
+
* Menu Item can include font icon and sprite image.
|
|
69
|
+
*
|
|
70
|
+
* @default null
|
|
71
|
+
*/
|
|
72
|
+
iconCss?: string;
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
|
-
* Specifies the id for menu item.
|
|
76
|
-
*
|
|
77
|
-
* @default ''
|
|
78
|
-
*/
|
|
79
|
-
id?: string;
|
|
75
|
+
* Specifies the id for menu item.
|
|
76
|
+
*
|
|
77
|
+
* @default ''
|
|
78
|
+
*/
|
|
79
|
+
id?: string;
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
|
-
* Specifies separator between the menu items. Separator are either horizontal or vertical lines used to group menu items.
|
|
83
|
-
*
|
|
84
|
-
* @default false
|
|
85
|
-
*/
|
|
86
|
-
separator?: boolean;
|
|
82
|
+
* Specifies separator between the menu items. Separator are either horizontal or vertical lines used to group menu items.
|
|
83
|
+
*
|
|
84
|
+
* @default false
|
|
85
|
+
*/
|
|
86
|
+
separator?: boolean;
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
|
-
* Specifies the sub menu items that is the array of MenuItem model.
|
|
90
|
-
*
|
|
91
|
-
* @default []
|
|
92
|
-
*/
|
|
93
|
-
items?: MenuItemModel[];
|
|
89
|
+
* Specifies the sub menu items that is the array of MenuItem model.
|
|
90
|
+
*
|
|
91
|
+
* @default []
|
|
92
|
+
*/
|
|
93
|
+
items?: MenuItemModel[];
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
|
-
* Specifies text for menu item.
|
|
97
|
-
*
|
|
98
|
-
* @default ''
|
|
99
|
-
*/
|
|
100
|
-
text?: string;
|
|
96
|
+
* Specifies text for menu item.
|
|
97
|
+
*
|
|
98
|
+
* @default ''
|
|
99
|
+
*/
|
|
100
|
+
text?: string;
|
|
101
101
|
|
|
102
102
|
/**
|
|
103
|
-
* Specifies url for menu item that creates the anchor link to navigate to the url provided.
|
|
104
|
-
*
|
|
105
|
-
* @default ''
|
|
106
|
-
*/
|
|
107
|
-
url?: string;
|
|
103
|
+
* Specifies url for menu item that creates the anchor link to navigate to the url provided.
|
|
104
|
+
*
|
|
105
|
+
* @default ''
|
|
106
|
+
*/
|
|
107
|
+
url?: string;
|
|
108
108
|
|
|
109
109
|
}
|
|
110
110
|
|
|
@@ -114,33 +114,33 @@ export interface MenuItemModel {
|
|
|
114
114
|
export interface MenuAnimationSettingsModel {
|
|
115
115
|
|
|
116
116
|
/**
|
|
117
|
-
* Specifies the effect that shown in the sub menu transform.
|
|
118
|
-
* The possible effects are:
|
|
119
|
-
* * None: Specifies the sub menu transform with no animation effect.
|
|
120
|
-
* * SlideDown: Specifies the sub menu transform with slide down effect.
|
|
121
|
-
* * ZoomIn: Specifies the sub menu transform with zoom in effect.
|
|
122
|
-
* * FadeIn: Specifies the sub menu transform with fade in effect.
|
|
123
|
-
*
|
|
124
|
-
* @default 'SlideDown'
|
|
125
|
-
* @aspType Syncfusion.EJ2.Navigations.MenuEffect
|
|
126
|
-
* @blazorType Syncfusion.EJ2.Navigations.MenuEffect
|
|
127
|
-
* @isEnumeration true
|
|
128
|
-
*/
|
|
129
|
-
effect?: MenuEffect;
|
|
117
|
+
* Specifies the effect that shown in the sub menu transform.
|
|
118
|
+
* The possible effects are:
|
|
119
|
+
* * None: Specifies the sub menu transform with no animation effect.
|
|
120
|
+
* * SlideDown: Specifies the sub menu transform with slide down effect.
|
|
121
|
+
* * ZoomIn: Specifies the sub menu transform with zoom in effect.
|
|
122
|
+
* * FadeIn: Specifies the sub menu transform with fade in effect.
|
|
123
|
+
*
|
|
124
|
+
* @default 'SlideDown'
|
|
125
|
+
* @aspType Syncfusion.EJ2.Navigations.MenuEffect
|
|
126
|
+
* @blazorType Syncfusion.EJ2.Navigations.MenuEffect
|
|
127
|
+
* @isEnumeration true
|
|
128
|
+
*/
|
|
129
|
+
effect?: MenuEffect;
|
|
130
130
|
|
|
131
131
|
/**
|
|
132
|
-
* Specifies the time duration to transform object.
|
|
133
|
-
*
|
|
134
|
-
* @default 400
|
|
135
|
-
*/
|
|
136
|
-
duration?: number;
|
|
132
|
+
* Specifies the time duration to transform object.
|
|
133
|
+
*
|
|
134
|
+
* @default 400
|
|
135
|
+
*/
|
|
136
|
+
duration?: number;
|
|
137
137
|
|
|
138
138
|
/**
|
|
139
|
-
* Specifies the easing effect applied while transform.
|
|
140
|
-
*
|
|
141
|
-
* @default 'ease'
|
|
142
|
-
*/
|
|
143
|
-
easing?: string;
|
|
139
|
+
* Specifies the easing effect applied while transform.
|
|
140
|
+
*
|
|
141
|
+
* @default 'ease'
|
|
142
|
+
*/
|
|
143
|
+
easing?: string;
|
|
144
144
|
|
|
145
145
|
}
|
|
146
146
|
|
|
@@ -151,149 +151,149 @@ export interface MenuAnimationSettingsModel {
|
|
|
151
151
|
export interface MenuBaseModel extends ComponentModel{
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
|
-
* Triggers while rendering each menu item.
|
|
155
|
-
*
|
|
156
|
-
* @event beforeItemRender
|
|
157
|
-
* @blazorProperty 'OnItemRender'
|
|
158
|
-
*/
|
|
159
|
-
beforeItemRender?: EmitType<MenuEventArgs>;
|
|
154
|
+
* Triggers while rendering each menu item.
|
|
155
|
+
*
|
|
156
|
+
* @event beforeItemRender
|
|
157
|
+
* @blazorProperty 'OnItemRender'
|
|
158
|
+
*/
|
|
159
|
+
beforeItemRender?: EmitType<MenuEventArgs>;
|
|
160
160
|
|
|
161
161
|
/**
|
|
162
|
-
* Triggers before opening the menu item.
|
|
163
|
-
*
|
|
164
|
-
* @event beforeOpen
|
|
165
|
-
* @blazorProperty 'OnOpen'
|
|
166
|
-
*/
|
|
167
|
-
beforeOpen?: EmitType<BeforeOpenCloseMenuEventArgs>;
|
|
162
|
+
* Triggers before opening the menu item.
|
|
163
|
+
*
|
|
164
|
+
* @event beforeOpen
|
|
165
|
+
* @blazorProperty 'OnOpen'
|
|
166
|
+
*/
|
|
167
|
+
beforeOpen?: EmitType<BeforeOpenCloseMenuEventArgs>;
|
|
168
168
|
|
|
169
169
|
/**
|
|
170
|
-
* Triggers while opening the menu item.
|
|
171
|
-
*
|
|
172
|
-
* @event onOpen
|
|
173
|
-
* @blazorProperty 'Opened'
|
|
174
|
-
*/
|
|
175
|
-
onOpen?: EmitType<OpenCloseMenuEventArgs>;
|
|
170
|
+
* Triggers while opening the menu item.
|
|
171
|
+
*
|
|
172
|
+
* @event onOpen
|
|
173
|
+
* @blazorProperty 'Opened'
|
|
174
|
+
*/
|
|
175
|
+
onOpen?: EmitType<OpenCloseMenuEventArgs>;
|
|
176
176
|
|
|
177
177
|
/**
|
|
178
|
-
* Triggers before closing the menu.
|
|
179
|
-
*
|
|
180
|
-
* @event beforeClose
|
|
181
|
-
* @blazorProperty 'OnClose'
|
|
182
|
-
*/
|
|
183
|
-
beforeClose?: EmitType<BeforeOpenCloseMenuEventArgs>;
|
|
178
|
+
* Triggers before closing the menu.
|
|
179
|
+
*
|
|
180
|
+
* @event beforeClose
|
|
181
|
+
* @blazorProperty 'OnClose'
|
|
182
|
+
*/
|
|
183
|
+
beforeClose?: EmitType<BeforeOpenCloseMenuEventArgs>;
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
|
-
* Triggers while closing the menu.
|
|
187
|
-
*
|
|
188
|
-
* @event onClose
|
|
189
|
-
* @blazorProperty 'Closed'
|
|
190
|
-
*/
|
|
191
|
-
onClose?: EmitType<OpenCloseMenuEventArgs>;
|
|
186
|
+
* Triggers while closing the menu.
|
|
187
|
+
*
|
|
188
|
+
* @event onClose
|
|
189
|
+
* @blazorProperty 'Closed'
|
|
190
|
+
*/
|
|
191
|
+
onClose?: EmitType<OpenCloseMenuEventArgs>;
|
|
192
192
|
|
|
193
193
|
/**
|
|
194
|
-
* Triggers while selecting menu item.
|
|
195
|
-
*
|
|
196
|
-
* @event select
|
|
197
|
-
* @blazorProperty 'ItemSelected'
|
|
198
|
-
*/
|
|
199
|
-
select?: EmitType<MenuEventArgs>;
|
|
194
|
+
* Triggers while selecting menu item.
|
|
195
|
+
*
|
|
196
|
+
* @event select
|
|
197
|
+
* @blazorProperty 'ItemSelected'
|
|
198
|
+
*/
|
|
199
|
+
select?: EmitType<MenuEventArgs>;
|
|
200
200
|
|
|
201
201
|
/**
|
|
202
|
-
* Triggers once the component rendering is completed.
|
|
203
|
-
*
|
|
204
|
-
* @event created
|
|
205
|
-
* @blazorProperty 'Created'
|
|
206
|
-
*/
|
|
207
|
-
created?: EmitType<Event>;
|
|
202
|
+
* Triggers once the component rendering is completed.
|
|
203
|
+
*
|
|
204
|
+
* @event created
|
|
205
|
+
* @blazorProperty 'Created'
|
|
206
|
+
*/
|
|
207
|
+
created?: EmitType<Event>;
|
|
208
208
|
|
|
209
209
|
/**
|
|
210
|
-
* Defines class/multiple classes separated by a space in the Menu wrapper.
|
|
211
|
-
*
|
|
212
|
-
* @default ''
|
|
213
|
-
*/
|
|
214
|
-
cssClass?: string;
|
|
210
|
+
* Defines class/multiple classes separated by a space in the Menu wrapper.
|
|
211
|
+
*
|
|
212
|
+
* @default ''
|
|
213
|
+
*/
|
|
214
|
+
cssClass?: string;
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
|
-
* If hoverDelay is set by particular number, the menu will open after that period.
|
|
218
|
-
*
|
|
219
|
-
* @default 0
|
|
220
|
-
*/
|
|
221
|
-
hoverDelay?: number;
|
|
217
|
+
* If hoverDelay is set by particular number, the menu will open after that period.
|
|
218
|
+
*
|
|
219
|
+
* @default 0
|
|
220
|
+
*/
|
|
221
|
+
hoverDelay?: number;
|
|
222
222
|
|
|
223
223
|
/**
|
|
224
|
-
* Specifies whether to show the sub menu or not on click.
|
|
225
|
-
* When set to true, the sub menu will open only on mouse click.
|
|
226
|
-
*
|
|
227
|
-
* @default false
|
|
228
|
-
*/
|
|
229
|
-
showItemOnClick?: boolean;
|
|
224
|
+
* Specifies whether to show the sub menu or not on click.
|
|
225
|
+
* When set to true, the sub menu will open only on mouse click.
|
|
226
|
+
*
|
|
227
|
+
* @default false
|
|
228
|
+
*/
|
|
229
|
+
showItemOnClick?: boolean;
|
|
230
230
|
|
|
231
231
|
/**
|
|
232
|
-
* Specifies target element selector in which the ContextMenu should be opened.
|
|
233
|
-
* Specifies target element to open/close Menu while click in Hamburger mode.
|
|
234
|
-
*
|
|
235
|
-
* @default ''
|
|
236
|
-
* @private
|
|
237
|
-
*/
|
|
238
|
-
target?: string;
|
|
232
|
+
* Specifies target element selector in which the ContextMenu should be opened.
|
|
233
|
+
* Specifies target element to open/close Menu while click in Hamburger mode.
|
|
234
|
+
*
|
|
235
|
+
* @default ''
|
|
236
|
+
* @private
|
|
237
|
+
*/
|
|
238
|
+
target?: string;
|
|
239
239
|
|
|
240
240
|
/**
|
|
241
|
-
* Specifies the filter selector for elements inside the target in that the context menu will be opened.
|
|
242
|
-
* Not applicable to Menu component.
|
|
243
|
-
*
|
|
244
|
-
* @default ''
|
|
245
|
-
* @private
|
|
246
|
-
*/
|
|
247
|
-
filter?: string;
|
|
241
|
+
* Specifies the filter selector for elements inside the target in that the context menu will be opened.
|
|
242
|
+
* Not applicable to Menu component.
|
|
243
|
+
*
|
|
244
|
+
* @default ''
|
|
245
|
+
* @private
|
|
246
|
+
*/
|
|
247
|
+
filter?: string;
|
|
248
248
|
|
|
249
249
|
/**
|
|
250
|
-
* Specifies the template for Menu item.
|
|
251
|
-
* Not applicable to ContextMenu component.
|
|
252
|
-
*
|
|
253
|
-
* @default null
|
|
254
|
-
* @private
|
|
255
|
-
*/
|
|
256
|
-
template?: string;
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* Specifies whether to enable / disable the scrollable option in Menu.
|
|
260
|
-
* Not applicable to ContextMenu component.
|
|
261
|
-
*
|
|
262
|
-
* @default false
|
|
263
|
-
* @private
|
|
264
|
-
*/
|
|
265
|
-
enableScrolling?: boolean;
|
|
266
|
-
|
|
250
|
+
* Specifies the template for Menu item.
|
|
251
|
+
* Not applicable to ContextMenu component.
|
|
252
|
+
*
|
|
253
|
+
* @default null
|
|
254
|
+
* @private
|
|
255
|
+
*/
|
|
256
|
+
template?: string;
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* Specifies whether to enable / disable the scrollable option in Menu.
|
|
260
|
+
* Not applicable to ContextMenu component.
|
|
261
|
+
*
|
|
262
|
+
* @default false
|
|
263
|
+
* @private
|
|
264
|
+
*/
|
|
265
|
+
enableScrolling?: boolean;
|
|
266
|
+
|
|
267
267
|
/**
|
|
268
|
-
* Defines whether to allow the cross-scripting site or not.
|
|
269
|
-
*
|
|
270
|
-
* @default false
|
|
271
|
-
*/
|
|
272
|
-
enableHtmlSanitizer?: boolean;
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* Specifies mapping fields from the dataSource.
|
|
276
|
-
* Not applicable to ContextMenu component.
|
|
277
|
-
*
|
|
278
|
-
* @default { itemId: "id", text: "text", parentId: "parentId", iconCss: "iconCss", url: "url", separator: "separator",
|
|
279
|
-
* children: "items" }
|
|
280
|
-
* @private
|
|
281
|
-
*/
|
|
282
|
-
// eslint:disable-next-line
|
|
283
|
-
fields?: FieldSettingsModel;
|
|
268
|
+
* Defines whether to allow the cross-scripting site or not.
|
|
269
|
+
*
|
|
270
|
+
* @default false
|
|
271
|
+
*/
|
|
272
|
+
enableHtmlSanitizer?: boolean;
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* Specifies mapping fields from the dataSource.
|
|
276
|
+
* Not applicable to ContextMenu component.
|
|
277
|
+
*
|
|
278
|
+
* @default { itemId: "id", text: "text", parentId: "parentId", iconCss: "iconCss", url: "url", separator: "separator",
|
|
279
|
+
* children: "items" }
|
|
280
|
+
* @private
|
|
281
|
+
*/
|
|
282
|
+
// eslint:disable-next-line
|
|
283
|
+
fields?: FieldSettingsModel;
|
|
284
284
|
|
|
285
|
-
/**
|
|
286
|
-
* Specifies menu items with its properties which will be rendered as Menu.
|
|
287
|
-
*
|
|
288
|
-
* @default []
|
|
289
|
-
*/
|
|
290
|
-
items?: MenuItemModel[] | { [key: string]: Object }[];
|
|
285
|
+
/**
|
|
286
|
+
* Specifies menu items with its properties which will be rendered as Menu.
|
|
287
|
+
*
|
|
288
|
+
* @default []
|
|
289
|
+
*/
|
|
290
|
+
items?: MenuItemModel[] | { [key: string]: Object }[];
|
|
291
291
|
|
|
292
292
|
/**
|
|
293
|
-
* Specifies the animation settings for the sub menu open.
|
|
294
|
-
*
|
|
295
|
-
* @default { duration: 400, easing: 'ease', effect: 'SlideDown' }
|
|
296
|
-
*/
|
|
297
|
-
animationSettings?: MenuAnimationSettingsModel;
|
|
293
|
+
* Specifies the animation settings for the sub menu open.
|
|
294
|
+
*
|
|
295
|
+
* @default { duration: 400, easing: 'ease', effect: 'SlideDown' }
|
|
296
|
+
*/
|
|
297
|
+
animationSettings?: MenuAnimationSettingsModel;
|
|
298
298
|
|
|
299
299
|
}
|
package/src/common/menu-base.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
-
};
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
18
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
+
};
|
|
20
20
|
import { Component, Property, ChildProperty, NotifyPropertyChanges, isBlazor } from '@syncfusion/ej2-base';
|
|
21
21
|
import { Event, EventHandler, KeyboardEvents, Touch } from '@syncfusion/ej2-base';
|
|
22
22
|
import { Animation } from '@syncfusion/ej2-base';
|
|
@@ -1405,7 +1405,9 @@ var MenuBase = /** @class */ (function (_super) {
|
|
|
1405
1405
|
this.removeLIStateByClass([SELECTED], [wrapper]);
|
|
1406
1406
|
}
|
|
1407
1407
|
if (!cli || !cli.querySelector('.' + CARET)) {
|
|
1408
|
-
|
|
1408
|
+
if (!Browser.isIos || (Browser.isIos && !e.ctrlKey)) {
|
|
1409
|
+
this.closeMenu(null, e);
|
|
1410
|
+
}
|
|
1409
1411
|
}
|
|
1410
1412
|
}
|
|
1411
1413
|
}
|