@syncfusion/ej2-navigations 22.2.11 → 23.1.39
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/CHANGELOG.md +17 -0
- package/dist/ej2-navigations.min.js +3 -3
- package/dist/ej2-navigations.umd.min.js +3 -3
- package/dist/ej2-navigations.umd.min.js.map +1 -1
- package/dist/es6/ej2-navigations.es2015.js +71 -61
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +71 -59
- package/dist/es6/ej2-navigations.es5.js.map +1 -1
- package/dist/global/ej2-navigations.min.js +3 -3
- package/dist/global/ej2-navigations.min.js.map +1 -1
- package/dist/global/index.d.ts +2 -2
- package/package.json +12 -12
- package/src/accordion/accordion-model.d.ts +1 -1
- package/src/accordion/accordion.d.ts +3 -2
- package/src/accordion/accordion.js +30 -29
- package/src/appbar/appbar.js +1 -0
- package/src/breadcrumb/breadcrumb.js +1 -0
- package/src/carousel/carousel.js +3 -2
- package/src/common/menu-base.js +8 -7
- package/src/menu/menu-model.d.ts +1 -1
- package/src/sidebar/sidebar.js +2 -1
- package/src/tab/tab-model.d.ts +4 -2
- package/src/tab/tab.d.ts +5 -0
- package/src/tab/tab.js +16 -16
- package/src/toolbar/toolbar-model.d.ts +2 -0
- package/src/toolbar/toolbar.d.ts +2 -0
- package/src/toolbar/toolbar.js +7 -1
- package/src/treeview/treeview-model.d.ts +1 -1
- package/src/treeview/treeview.d.ts +1 -1
- package/src/treeview/treeview.js +5 -5
- package/styles/accordion/_theme.scss +1 -0
- package/styles/accordion/bootstrap-dark.scss +1 -1
- package/styles/accordion/bootstrap.scss +1 -1
- package/styles/accordion/bootstrap4.scss +1 -1
- package/styles/accordion/bootstrap5-dark.scss +1 -1
- package/styles/accordion/bootstrap5.scss +1 -1
- package/styles/accordion/fabric-dark.scss +1 -1
- package/styles/accordion/fabric.scss +1 -1
- package/styles/accordion/fluent-dark.scss +1 -1
- package/styles/accordion/fluent.scss +1 -1
- package/styles/accordion/highcontrast-light.scss +1 -1
- package/styles/accordion/highcontrast.scss +1 -1
- package/styles/accordion/material-dark.css +0 -1
- package/styles/accordion/material-dark.scss +1 -1
- package/styles/accordion/material.css +0 -1
- package/styles/accordion/material.scss +1 -1
- package/styles/accordion/material3-dark.css +0 -1
- package/styles/accordion/material3-dark.scss +1 -1
- package/styles/accordion/material3.css +0 -1
- package/styles/accordion/material3.scss +1 -1
- package/styles/accordion/tailwind-dark.css +0 -1
- package/styles/accordion/tailwind-dark.scss +1 -1
- package/styles/accordion/tailwind.css +0 -1
- package/styles/accordion/tailwind.scss +1 -1
- package/styles/appbar/bootstrap-dark.scss +1 -1
- package/styles/appbar/bootstrap.scss +1 -1
- package/styles/appbar/bootstrap4.scss +1 -1
- package/styles/appbar/bootstrap5-dark.scss +1 -1
- package/styles/appbar/bootstrap5.scss +1 -1
- package/styles/appbar/fabric-dark.scss +1 -1
- package/styles/appbar/fabric.scss +1 -1
- package/styles/appbar/fluent-dark.scss +1 -1
- package/styles/appbar/fluent.scss +1 -1
- package/styles/appbar/highcontrast-light.scss +1 -1
- package/styles/appbar/highcontrast.scss +1 -1
- package/styles/appbar/material-dark.css +0 -1
- package/styles/appbar/material-dark.scss +1 -1
- package/styles/appbar/material.css +0 -1
- package/styles/appbar/material.scss +1 -1
- package/styles/appbar/material3-dark.css +0 -1
- package/styles/appbar/material3-dark.scss +1 -1
- package/styles/appbar/material3.css +0 -1
- package/styles/appbar/material3.scss +1 -1
- package/styles/appbar/tailwind-dark.css +0 -1
- package/styles/appbar/tailwind-dark.scss +1 -1
- package/styles/appbar/tailwind.css +0 -1
- package/styles/appbar/tailwind.scss +1 -1
- package/styles/bootstrap-dark.css +14 -9
- package/styles/bootstrap.css +14 -9
- package/styles/bootstrap4.css +22 -14
- package/styles/bootstrap5-dark.css +18 -13
- package/styles/bootstrap5.css +18 -13
- package/styles/breadcrumb/bootstrap-dark.scss +1 -1
- package/styles/breadcrumb/bootstrap.scss +1 -1
- package/styles/breadcrumb/bootstrap4.scss +1 -1
- package/styles/breadcrumb/bootstrap5-dark.scss +1 -1
- package/styles/breadcrumb/bootstrap5.scss +1 -1
- package/styles/breadcrumb/fabric-dark.scss +1 -1
- package/styles/breadcrumb/fabric.scss +1 -1
- package/styles/breadcrumb/fluent-dark.scss +1 -1
- package/styles/breadcrumb/fluent.scss +1 -1
- package/styles/breadcrumb/highcontrast-light.scss +1 -1
- package/styles/breadcrumb/highcontrast.scss +1 -1
- package/styles/breadcrumb/material-dark.css +0 -1
- package/styles/breadcrumb/material-dark.scss +1 -1
- package/styles/breadcrumb/material.css +0 -1
- package/styles/breadcrumb/material.scss +1 -1
- package/styles/breadcrumb/material3-dark.css +0 -1
- package/styles/breadcrumb/material3-dark.scss +1 -1
- package/styles/breadcrumb/material3.css +0 -1
- package/styles/breadcrumb/material3.scss +1 -1
- package/styles/breadcrumb/tailwind-dark.css +0 -1
- package/styles/breadcrumb/tailwind-dark.scss +1 -1
- package/styles/breadcrumb/tailwind.css +0 -1
- package/styles/breadcrumb/tailwind.scss +1 -1
- package/styles/carousel/bootstrap-dark.scss +1 -1
- package/styles/carousel/bootstrap.scss +1 -1
- package/styles/carousel/bootstrap4.scss +1 -1
- package/styles/carousel/bootstrap5-dark.scss +1 -1
- package/styles/carousel/bootstrap5.scss +1 -1
- package/styles/carousel/fabric-dark.scss +1 -1
- package/styles/carousel/fabric.scss +1 -1
- package/styles/carousel/fluent-dark.scss +1 -1
- package/styles/carousel/fluent.scss +1 -1
- package/styles/carousel/highcontrast-light.scss +1 -1
- package/styles/carousel/highcontrast.scss +1 -1
- package/styles/carousel/material-dark.css +0 -1
- package/styles/carousel/material-dark.scss +1 -1
- package/styles/carousel/material.css +0 -1
- package/styles/carousel/material.scss +1 -1
- package/styles/carousel/material3-dark.css +0 -1
- package/styles/carousel/material3-dark.scss +1 -1
- package/styles/carousel/material3.css +0 -1
- package/styles/carousel/material3.scss +1 -1
- package/styles/carousel/tailwind-dark.css +0 -1
- package/styles/carousel/tailwind-dark.scss +1 -1
- package/styles/carousel/tailwind.css +0 -1
- package/styles/carousel/tailwind.scss +1 -1
- package/styles/context-menu/bootstrap-dark.scss +1 -1
- package/styles/context-menu/bootstrap.scss +1 -1
- package/styles/context-menu/bootstrap4.scss +1 -1
- package/styles/context-menu/bootstrap5-dark.scss +1 -1
- package/styles/context-menu/bootstrap5.scss +1 -1
- package/styles/context-menu/fabric-dark.scss +1 -1
- package/styles/context-menu/fabric.scss +1 -1
- package/styles/context-menu/fluent-dark.scss +1 -1
- package/styles/context-menu/fluent.scss +1 -1
- package/styles/context-menu/highcontrast-light.scss +1 -1
- package/styles/context-menu/highcontrast.scss +1 -1
- package/styles/context-menu/material-dark.css +0 -1
- package/styles/context-menu/material-dark.scss +1 -1
- package/styles/context-menu/material.css +0 -1
- package/styles/context-menu/material.scss +1 -1
- package/styles/context-menu/material3-dark.css +0 -1
- package/styles/context-menu/material3-dark.scss +1 -1
- package/styles/context-menu/material3.css +0 -1
- package/styles/context-menu/material3.scss +1 -1
- package/styles/context-menu/tailwind-dark.css +0 -1
- package/styles/context-menu/tailwind-dark.scss +1 -1
- package/styles/context-menu/tailwind.css +0 -1
- package/styles/context-menu/tailwind.scss +1 -1
- package/styles/fabric-dark.css +14 -9
- package/styles/fabric.css +14 -9
- package/styles/fluent-dark.css +14 -9
- package/styles/fluent.css +14 -9
- package/styles/h-scroll/bootstrap-dark.scss +1 -1
- package/styles/h-scroll/bootstrap.scss +1 -1
- package/styles/h-scroll/bootstrap4.scss +1 -1
- package/styles/h-scroll/bootstrap5-dark.scss +1 -1
- package/styles/h-scroll/bootstrap5.scss +1 -1
- package/styles/h-scroll/fabric-dark.scss +1 -1
- package/styles/h-scroll/fabric.scss +1 -1
- package/styles/h-scroll/fluent-dark.scss +1 -1
- package/styles/h-scroll/fluent.scss +1 -1
- package/styles/h-scroll/highcontrast-light.scss +1 -1
- package/styles/h-scroll/highcontrast.scss +1 -1
- package/styles/h-scroll/material-dark.css +0 -1
- package/styles/h-scroll/material-dark.scss +1 -1
- package/styles/h-scroll/material.css +0 -1
- package/styles/h-scroll/material.scss +1 -1
- package/styles/h-scroll/material3-dark.css +0 -1
- package/styles/h-scroll/material3-dark.scss +1 -1
- package/styles/h-scroll/material3.css +0 -1
- package/styles/h-scroll/material3.scss +1 -1
- package/styles/h-scroll/tailwind-dark.css +0 -1
- package/styles/h-scroll/tailwind-dark.scss +1 -1
- package/styles/h-scroll/tailwind.css +0 -1
- package/styles/h-scroll/tailwind.scss +1 -1
- package/styles/highcontrast-light.css +14 -9
- package/styles/highcontrast.css +14 -9
- package/styles/material-dark.css +14 -10
- package/styles/material.css +14 -10
- package/styles/material3-dark.css +16 -12
- package/styles/material3-dark.scss +1 -1
- package/styles/material3.css +16 -12
- package/styles/material3.scss +1 -1
- package/styles/menu/_theme.scss +8 -3
- package/styles/menu/bootstrap-dark.css +14 -9
- package/styles/menu/bootstrap-dark.scss +1 -1
- package/styles/menu/bootstrap.css +14 -9
- package/styles/menu/bootstrap.scss +1 -1
- package/styles/menu/bootstrap4.css +22 -14
- package/styles/menu/bootstrap4.scss +1 -1
- package/styles/menu/bootstrap5-dark.css +14 -9
- package/styles/menu/bootstrap5-dark.scss +1 -1
- package/styles/menu/bootstrap5.css +14 -9
- package/styles/menu/bootstrap5.scss +1 -1
- package/styles/menu/fabric-dark.css +14 -9
- package/styles/menu/fabric-dark.scss +1 -1
- package/styles/menu/fabric.css +14 -9
- package/styles/menu/fabric.scss +1 -1
- package/styles/menu/fluent-dark.css +14 -9
- package/styles/menu/fluent-dark.scss +1 -1
- package/styles/menu/fluent.css +14 -9
- package/styles/menu/fluent.scss +1 -1
- package/styles/menu/highcontrast-light.css +14 -9
- package/styles/menu/highcontrast-light.scss +1 -1
- package/styles/menu/highcontrast.css +14 -9
- package/styles/menu/highcontrast.scss +1 -1
- package/styles/menu/material-dark.css +14 -10
- package/styles/menu/material-dark.scss +1 -1
- package/styles/menu/material.css +14 -10
- package/styles/menu/material.scss +1 -1
- package/styles/menu/material3-dark.css +14 -10
- package/styles/menu/material3-dark.scss +1 -1
- package/styles/menu/material3.css +14 -10
- package/styles/menu/material3.scss +1 -1
- package/styles/menu/tailwind-dark.css +14 -10
- package/styles/menu/tailwind-dark.scss +1 -1
- package/styles/menu/tailwind.css +14 -10
- package/styles/menu/tailwind.scss +1 -1
- package/styles/pager/bootstrap-dark.scss +1 -1
- package/styles/pager/bootstrap.scss +1 -1
- package/styles/pager/bootstrap4.scss +1 -1
- package/styles/pager/bootstrap5-dark.scss +1 -1
- package/styles/pager/bootstrap5.scss +1 -1
- package/styles/pager/fabric-dark.scss +1 -1
- package/styles/pager/fabric.scss +1 -1
- package/styles/pager/fluent-dark.scss +1 -1
- package/styles/pager/fluent.scss +1 -1
- package/styles/pager/highcontrast-light.scss +1 -1
- package/styles/pager/highcontrast.scss +1 -1
- package/styles/pager/material-dark.css +0 -1
- package/styles/pager/material-dark.scss +1 -1
- package/styles/pager/material.css +0 -1
- package/styles/pager/material.scss +1 -1
- package/styles/pager/material3-dark.css +0 -1
- package/styles/pager/material3-dark.scss +1 -1
- package/styles/pager/material3.css +0 -1
- package/styles/pager/material3.scss +1 -1
- package/styles/pager/tailwind-dark.css +0 -1
- package/styles/pager/tailwind-dark.scss +1 -1
- package/styles/pager/tailwind.css +0 -1
- package/styles/pager/tailwind.scss +1 -1
- package/styles/sidebar/bootstrap-dark.scss +1 -1
- package/styles/sidebar/bootstrap.scss +1 -1
- package/styles/sidebar/bootstrap4.scss +1 -1
- package/styles/sidebar/bootstrap5-dark.scss +1 -1
- package/styles/sidebar/bootstrap5.scss +1 -1
- package/styles/sidebar/fabric-dark.scss +1 -1
- package/styles/sidebar/fabric.scss +1 -1
- package/styles/sidebar/fluent-dark.scss +1 -1
- package/styles/sidebar/fluent.scss +1 -1
- package/styles/sidebar/highcontrast-light.scss +1 -1
- package/styles/sidebar/highcontrast.scss +1 -1
- package/styles/sidebar/material-dark.css +0 -1
- package/styles/sidebar/material-dark.scss +1 -1
- package/styles/sidebar/material.css +0 -1
- package/styles/sidebar/material.scss +1 -1
- package/styles/sidebar/material3-dark.css +0 -1
- package/styles/sidebar/material3-dark.scss +1 -1
- package/styles/sidebar/material3.css +0 -1
- package/styles/sidebar/material3.scss +1 -1
- package/styles/sidebar/tailwind-dark.css +0 -1
- package/styles/sidebar/tailwind-dark.scss +1 -1
- package/styles/sidebar/tailwind.css +0 -1
- package/styles/sidebar/tailwind.scss +1 -1
- package/styles/tab/_tailwind-definition.scss +2 -2
- package/styles/tab/bootstrap-dark.scss +1 -1
- package/styles/tab/bootstrap.scss +1 -1
- package/styles/tab/bootstrap4.scss +1 -1
- package/styles/tab/bootstrap5-dark.scss +1 -1
- package/styles/tab/bootstrap5.scss +1 -1
- package/styles/tab/fabric-dark.scss +1 -1
- package/styles/tab/fabric.scss +1 -1
- package/styles/tab/fluent-dark.scss +1 -1
- package/styles/tab/fluent.scss +1 -1
- package/styles/tab/highcontrast-light.scss +1 -1
- package/styles/tab/highcontrast.scss +1 -1
- package/styles/tab/material-dark.css +0 -1
- package/styles/tab/material-dark.scss +1 -1
- package/styles/tab/material.css +0 -1
- package/styles/tab/material.scss +1 -1
- package/styles/tab/material3-dark.css +0 -1
- package/styles/tab/material3-dark.scss +1 -1
- package/styles/tab/material3.css +0 -1
- package/styles/tab/material3.scss +1 -1
- package/styles/tab/tailwind-dark.css +2 -3
- package/styles/tab/tailwind-dark.scss +1 -1
- package/styles/tab/tailwind.css +2 -3
- package/styles/tab/tailwind.scss +1 -1
- package/styles/tailwind-dark.css +18 -26
- package/styles/tailwind.css +18 -26
- package/styles/toolbar/_bootstrap5-definition.scss +4 -4
- package/styles/toolbar/_material3-definition.scss +1 -1
- package/styles/toolbar/_tailwind-definition.scss +2 -2
- package/styles/toolbar/bootstrap-dark.scss +1 -1
- package/styles/toolbar/bootstrap.scss +1 -1
- package/styles/toolbar/bootstrap4.scss +1 -1
- package/styles/toolbar/bootstrap5-dark.css +4 -4
- package/styles/toolbar/bootstrap5-dark.scss +1 -1
- package/styles/toolbar/bootstrap5.css +4 -4
- package/styles/toolbar/bootstrap5.scss +1 -1
- package/styles/toolbar/fabric-dark.scss +1 -1
- package/styles/toolbar/fabric.scss +1 -1
- package/styles/toolbar/fluent-dark.scss +1 -1
- package/styles/toolbar/fluent.scss +1 -1
- package/styles/toolbar/highcontrast-light.scss +1 -1
- package/styles/toolbar/highcontrast.scss +1 -1
- package/styles/toolbar/material-dark.css +0 -1
- package/styles/toolbar/material-dark.scss +1 -1
- package/styles/toolbar/material.css +0 -1
- package/styles/toolbar/material.scss +1 -1
- package/styles/toolbar/material3-dark.css +1 -2
- package/styles/toolbar/material3-dark.scss +1 -1
- package/styles/toolbar/material3.css +1 -2
- package/styles/toolbar/material3.scss +1 -1
- package/styles/toolbar/tailwind-dark.css +2 -3
- package/styles/toolbar/tailwind-dark.scss +1 -1
- package/styles/toolbar/tailwind.css +2 -3
- package/styles/toolbar/tailwind.scss +1 -1
- package/styles/treeview/_layout.scss +4 -1
- package/styles/treeview/bootstrap-dark.scss +1 -1
- package/styles/treeview/bootstrap.scss +1 -1
- package/styles/treeview/bootstrap4.scss +1 -1
- package/styles/treeview/bootstrap5-dark.scss +1 -1
- package/styles/treeview/bootstrap5.scss +1 -1
- package/styles/treeview/fabric-dark.scss +1 -1
- package/styles/treeview/fabric.scss +1 -1
- package/styles/treeview/fluent-dark.scss +1 -1
- package/styles/treeview/fluent.scss +1 -1
- package/styles/treeview/highcontrast-light.scss +1 -1
- package/styles/treeview/highcontrast.scss +1 -1
- package/styles/treeview/material-dark.css +0 -1
- package/styles/treeview/material-dark.scss +1 -1
- package/styles/treeview/material.css +0 -1
- package/styles/treeview/material.scss +1 -1
- package/styles/treeview/material3-dark.css +1 -2
- package/styles/treeview/material3-dark.scss +1 -1
- package/styles/treeview/material3.css +1 -2
- package/styles/treeview/material3.scss +1 -1
- package/styles/treeview/tailwind-dark.css +0 -1
- package/styles/treeview/tailwind-dark.scss +1 -1
- package/styles/treeview/tailwind.css +0 -1
- package/styles/treeview/tailwind.scss +1 -1
- package/styles/v-scroll/bootstrap-dark.scss +1 -1
- package/styles/v-scroll/bootstrap.scss +1 -1
- package/styles/v-scroll/bootstrap4.scss +1 -1
- package/styles/v-scroll/bootstrap5-dark.scss +1 -1
- package/styles/v-scroll/bootstrap5.scss +1 -1
- package/styles/v-scroll/fabric-dark.scss +1 -1
- package/styles/v-scroll/fabric.scss +1 -1
- package/styles/v-scroll/fluent-dark.scss +1 -1
- package/styles/v-scroll/fluent.scss +1 -1
- package/styles/v-scroll/highcontrast-light.scss +1 -1
- package/styles/v-scroll/highcontrast.scss +1 -1
- package/styles/v-scroll/material-dark.css +0 -1
- package/styles/v-scroll/material-dark.scss +1 -1
- package/styles/v-scroll/material.css +0 -1
- package/styles/v-scroll/material.scss +1 -1
- package/styles/v-scroll/material3-dark.css +0 -1
- package/styles/v-scroll/material3-dark.scss +1 -1
- package/styles/v-scroll/material3.css +0 -1
- package/styles/v-scroll/material3.scss +1 -1
- package/styles/v-scroll/tailwind-dark.css +0 -1
- package/styles/v-scroll/tailwind-dark.scss +1 -1
- package/styles/v-scroll/tailwind.css +0 -1
- package/styles/v-scroll/tailwind.scss +1 -1
package/dist/global/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version :
|
|
4
|
-
* Copyright Syncfusion Inc. 2001 -
|
|
3
|
+
* version : 23.1.39
|
|
4
|
+
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-navigations@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-navigations@
|
|
3
|
+
"_id": "@syncfusion/ej2-navigations@23.1.36",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-qSbgjTmjJyqnsekQb1YzVRjIe7QUKItmWu5LpgFNPXI7fN6az0/MTFM15OYn3IHU/9sM10Zank0cezREjtl1Sw==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-navigations",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"/@syncfusion/ej2-spreadsheet",
|
|
40
40
|
"/@syncfusion/ej2-vue-navigations"
|
|
41
41
|
],
|
|
42
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-
|
|
43
|
-
"_shasum": "
|
|
42
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-23.1.36.tgz",
|
|
43
|
+
"_shasum": "ba0ffe7351f51dd852439b79ea311ccb528ec1b4",
|
|
44
44
|
"_spec": "@syncfusion/ej2-navigations@*",
|
|
45
|
-
"_where": "/jenkins/workspace/elease-
|
|
45
|
+
"_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
|
|
46
46
|
"author": {
|
|
47
47
|
"name": "Syncfusion Inc."
|
|
48
48
|
},
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
},
|
|
52
52
|
"bundleDependencies": false,
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@syncfusion/ej2-base": "~
|
|
55
|
-
"@syncfusion/ej2-buttons": "~
|
|
56
|
-
"@syncfusion/ej2-data": "~
|
|
57
|
-
"@syncfusion/ej2-inputs": "~
|
|
58
|
-
"@syncfusion/ej2-lists": "~
|
|
59
|
-
"@syncfusion/ej2-popups": "~
|
|
54
|
+
"@syncfusion/ej2-base": "~23.1.38",
|
|
55
|
+
"@syncfusion/ej2-buttons": "~23.1.39",
|
|
56
|
+
"@syncfusion/ej2-data": "~23.1.36",
|
|
57
|
+
"@syncfusion/ej2-inputs": "~23.1.38",
|
|
58
|
+
"@syncfusion/ej2-lists": "~23.1.36",
|
|
59
|
+
"@syncfusion/ej2-popups": "~23.1.38"
|
|
60
60
|
},
|
|
61
61
|
"deprecated": false,
|
|
62
62
|
"description": "A package of Essential JS 2 navigation components such as Tree-view, Tab, Toolbar, Context-menu, and Accordion which is used to navigate from one page to another",
|
|
@@ -161,6 +161,6 @@
|
|
|
161
161
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
162
162
|
},
|
|
163
163
|
"typings": "index.d.ts",
|
|
164
|
-
"version": "
|
|
164
|
+
"version": "23.1.39",
|
|
165
165
|
"sideEffects": false
|
|
166
166
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, EventHandler, Property, Event, EmitType, AnimationModel, KeyboardEvents, rippleEffect } from '@syncfusion/ej2-base';import { KeyboardEventArgs, BaseEventArgs, Effect, getUniqueID, compile as templateCompiler } from '@syncfusion/ej2-base';import { isVisible, closest, attributes, detach, select, addClass, removeClass, append } from '@syncfusion/ej2-base';import { INotifyPropertyChanged, NotifyPropertyChanges, ChildProperty, Collection, Animation } from '@syncfusion/ej2-base';import { setStyleAttribute as setStyle, Complex } from '@syncfusion/ej2-base';import { isNullOrUndefined as isNOU, formatUnit, selectAll, SanitizeHtmlHelper, isRippleEnabled } from '@syncfusion/ej2-base';
|
|
1
|
+
import { Component, EventHandler, Property, Event, EmitType, AnimationModel, KeyboardEvents, rippleEffect, animationMode } from '@syncfusion/ej2-base';import { KeyboardEventArgs, BaseEventArgs, Effect, getUniqueID, compile as templateCompiler } from '@syncfusion/ej2-base';import { isVisible, closest, attributes, detach, select, addClass, removeClass, append } from '@syncfusion/ej2-base';import { INotifyPropertyChanged, NotifyPropertyChanges, ChildProperty, Collection, Animation } from '@syncfusion/ej2-base';import { setStyleAttribute as setStyle, Complex } from '@syncfusion/ej2-base';import { isNullOrUndefined as isNOU, formatUnit, selectAll, SanitizeHtmlHelper, isRippleEnabled } from '@syncfusion/ej2-base';
|
|
2
2
|
import {ExpandMode,AccordionClickArgs,ExpandEventArgs,ExpandedEventArgs} from "./accordion";
|
|
3
3
|
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
4
4
|
|
|
@@ -197,6 +197,8 @@ export declare class Accordion extends Component<HTMLElement> implements INotify
|
|
|
197
197
|
private isDestroy;
|
|
198
198
|
private templateEle;
|
|
199
199
|
private isAngular;
|
|
200
|
+
private isReact;
|
|
201
|
+
private isVue;
|
|
200
202
|
private headerTemplateFn;
|
|
201
203
|
private itemTemplateFn;
|
|
202
204
|
private removeRippleEffect;
|
|
@@ -340,7 +342,7 @@ export declare class Accordion extends Component<HTMLElement> implements INotify
|
|
|
340
342
|
private initialize;
|
|
341
343
|
private renderControl;
|
|
342
344
|
private wireFocusEvents;
|
|
343
|
-
private
|
|
345
|
+
private unWireEvents;
|
|
344
346
|
private wireEvents;
|
|
345
347
|
private templateParser;
|
|
346
348
|
private initializeHeaderTemplate;
|
|
@@ -437,7 +439,6 @@ export declare class Accordion extends Component<HTMLElement> implements INotify
|
|
|
437
439
|
private restoreContent;
|
|
438
440
|
private updateItem;
|
|
439
441
|
private setTemplate;
|
|
440
|
-
private templateCompile;
|
|
441
442
|
private clearAccordionTemplate;
|
|
442
443
|
protected getPersistData(): string;
|
|
443
444
|
/**
|
|
@@ -18,7 +18,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
18
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
20
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
21
|
-
import { Component, EventHandler, Property, Event, KeyboardEvents, rippleEffect } from '@syncfusion/ej2-base';
|
|
21
|
+
import { Component, EventHandler, Property, Event, KeyboardEvents, rippleEffect, animationMode } from '@syncfusion/ej2-base';
|
|
22
22
|
import { getUniqueID, compile as templateCompiler } from '@syncfusion/ej2-base';
|
|
23
23
|
import { isVisible, closest, attributes, detach, select, addClass, removeClass, append } from '@syncfusion/ej2-base';
|
|
24
24
|
import { NotifyPropertyChanges, ChildProperty, Collection, Animation } from '@syncfusion/ej2-base';
|
|
@@ -164,7 +164,7 @@ var Accordion = /** @class */ (function (_super) {
|
|
|
164
164
|
}
|
|
165
165
|
var ele = this.element;
|
|
166
166
|
_super.prototype.destroy.call(this);
|
|
167
|
-
this.
|
|
167
|
+
this.unWireEvents();
|
|
168
168
|
this.isDestroy = true;
|
|
169
169
|
this.restoreContent(null);
|
|
170
170
|
[].slice.call(ele.children).forEach(function (el) {
|
|
@@ -252,7 +252,7 @@ var Accordion = /** @class */ (function (_super) {
|
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
};
|
|
255
|
-
Accordion.prototype.
|
|
255
|
+
Accordion.prototype.unWireEvents = function () {
|
|
256
256
|
EventHandler.remove(this.element, 'click', this.clickHandler);
|
|
257
257
|
if (!isNOU(this.keyModule)) {
|
|
258
258
|
this.keyModule.destroy();
|
|
@@ -571,7 +571,7 @@ var Accordion = /** @class */ (function (_super) {
|
|
|
571
571
|
var ctnEle = this.headerEleGenerate();
|
|
572
572
|
var hdrEle = this.createElement('div', { className: CLS_HEADERCTN });
|
|
573
573
|
ctnEle.appendChild(hdrEle);
|
|
574
|
-
ctnEle.appendChild(this.fetchElement(hdrEle, item.header, index
|
|
574
|
+
ctnEle.appendChild(this.fetchElement(hdrEle, item.header, index));
|
|
575
575
|
innerEle.appendChild(ctnEle);
|
|
576
576
|
}
|
|
577
577
|
var hdr = select('.' + CLS_HEADER, innerEle);
|
|
@@ -633,8 +633,7 @@ var Accordion = /** @class */ (function (_super) {
|
|
|
633
633
|
return true;
|
|
634
634
|
}
|
|
635
635
|
};
|
|
636
|
-
|
|
637
|
-
Accordion.prototype.fetchElement = function (ele, value, index, isHeader) {
|
|
636
|
+
Accordion.prototype.fetchElement = function (ele, value, index) {
|
|
638
637
|
var templateFn;
|
|
639
638
|
var temString;
|
|
640
639
|
try {
|
|
@@ -718,7 +717,7 @@ var Accordion = /** @class */ (function (_super) {
|
|
|
718
717
|
this.items[parseInt(index.toString(), 10)].content =
|
|
719
718
|
SanitizeHtmlHelper.sanitize(this.items[parseInt(index.toString(), 10)].content);
|
|
720
719
|
}
|
|
721
|
-
itemcnt.appendChild(this.fetchElement(ctn, this.items[parseInt(index.toString(), 10)].content, index
|
|
720
|
+
itemcnt.appendChild(this.fetchElement(ctn, this.items[parseInt(index.toString(), 10)].content, index));
|
|
722
721
|
}
|
|
723
722
|
return itemcnt;
|
|
724
723
|
};
|
|
@@ -752,7 +751,7 @@ var Accordion = /** @class */ (function (_super) {
|
|
|
752
751
|
expandState.classList.remove(CLS_EXPANDSTATE);
|
|
753
752
|
}
|
|
754
753
|
trgtItemEle.classList.add(CLS_EXPANDSTATE);
|
|
755
|
-
if ((animation.name === 'None')) {
|
|
754
|
+
if ((animation.name === 'None' && animationMode !== 'Enable') || (animationMode === 'Disable')) {
|
|
756
755
|
_this.expandProgress('begin', icon, trgt, trgtItemEle, expandArgs);
|
|
757
756
|
_this.expandProgress('end', icon, trgt, trgtItemEle, expandArgs);
|
|
758
757
|
}
|
|
@@ -764,6 +763,10 @@ var Accordion = /** @class */ (function (_super) {
|
|
|
764
763
|
};
|
|
765
764
|
Accordion.prototype.expandAnimation = function (ef, icn, trgt, trgtItemEle, animate, args) {
|
|
766
765
|
var _this = this;
|
|
766
|
+
if (ef === 'None' && animationMode === 'Enable') {
|
|
767
|
+
ef = 'SlideDown';
|
|
768
|
+
animate.name = 'SlideDown';
|
|
769
|
+
}
|
|
767
770
|
var height;
|
|
768
771
|
this.lastActiveItemId = trgtItemEle.id;
|
|
769
772
|
if (ef === 'SlideDown') {
|
|
@@ -858,7 +861,7 @@ var Accordion = /** @class */ (function (_super) {
|
|
|
858
861
|
_this.expandedItemsPop(trgtItemEle);
|
|
859
862
|
trgtItemEle.classList.remove(CLS_EXPANDSTATE);
|
|
860
863
|
icon.classList.add(CLS_TOGANIMATE);
|
|
861
|
-
if ((animation.name === 'None')) {
|
|
864
|
+
if ((animation.name === 'None' && animationMode !== 'Enable') || (animationMode === 'Disable')) {
|
|
862
865
|
_this.collapseProgress('begin', icon, trgt, trgtItemEle, expandArgs);
|
|
863
866
|
_this.collapseProgress('end', icon, trgt, trgtItemEle, expandArgs);
|
|
864
867
|
}
|
|
@@ -870,6 +873,10 @@ var Accordion = /** @class */ (function (_super) {
|
|
|
870
873
|
};
|
|
871
874
|
Accordion.prototype.collapseAnimation = function (ef, trgt, trgtItEl, icn, animate, args) {
|
|
872
875
|
var _this = this;
|
|
876
|
+
if (ef === 'None' && animationMode === 'Enable') {
|
|
877
|
+
ef = 'SlideUp';
|
|
878
|
+
animate.name = 'SlideUp';
|
|
879
|
+
}
|
|
873
880
|
var height;
|
|
874
881
|
var trgtHeight;
|
|
875
882
|
var itemHeight;
|
|
@@ -970,7 +977,7 @@ var Accordion = /** @class */ (function (_super) {
|
|
|
970
977
|
EventHandler.add(innerItemEle.querySelector('.' + CLS_HEADER), 'focus', _this.focusIn, _this);
|
|
971
978
|
EventHandler.add(innerItemEle.querySelector('.' + CLS_HEADER), 'blur', _this.focusOut, _this);
|
|
972
979
|
_this.expandedIndices = [];
|
|
973
|
-
_this.expandedItemRefresh(
|
|
980
|
+
_this.expandedItemRefresh();
|
|
974
981
|
if (addItem && addItem.expanded) {
|
|
975
982
|
_this.expandItem(true, itemIndex);
|
|
976
983
|
}
|
|
@@ -980,8 +987,7 @@ var Accordion = /** @class */ (function (_super) {
|
|
|
980
987
|
this.renderReactTemplates();
|
|
981
988
|
}
|
|
982
989
|
};
|
|
983
|
-
|
|
984
|
-
Accordion.prototype.expandedItemRefresh = function (ele) {
|
|
990
|
+
Accordion.prototype.expandedItemRefresh = function () {
|
|
985
991
|
var _this = this;
|
|
986
992
|
var itemEle = this.getItemElements();
|
|
987
993
|
[].slice.call(itemEle).forEach(function (el) {
|
|
@@ -997,8 +1003,12 @@ var Accordion = /** @class */ (function (_super) {
|
|
|
997
1003
|
* @returns {void}.
|
|
998
1004
|
*/
|
|
999
1005
|
Accordion.prototype.removeItem = function (index) {
|
|
1000
|
-
if (this.isReact) {
|
|
1001
|
-
|
|
1006
|
+
if (this.isReact || this.isAngular) {
|
|
1007
|
+
var item = selectAll('.' + CLS_ITEM, this.element)[parseInt(index.toString(), 10)];
|
|
1008
|
+
var header = select('.' + CLS_HEADERCTN, item);
|
|
1009
|
+
var content = select('.' + CLS_CTENT, item);
|
|
1010
|
+
this.clearAccordionTemplate(header, this.dataSource.length > 0 ? 'headerTemplate' : 'header', CLS_HEADERCTN);
|
|
1011
|
+
this.clearAccordionTemplate(content, this.dataSource.length > 0 ? 'itemTemplate' : 'content', CLS_CTENT);
|
|
1002
1012
|
}
|
|
1003
1013
|
var itemEle = this.getItemElements();
|
|
1004
1014
|
var ele = itemEle[parseInt(index.toString(), 10)];
|
|
@@ -1010,7 +1020,7 @@ var Accordion = /** @class */ (function (_super) {
|
|
|
1010
1020
|
detach(ele);
|
|
1011
1021
|
items.splice(index, 1);
|
|
1012
1022
|
this.expandedIndices = [];
|
|
1013
|
-
this.expandedItemRefresh(
|
|
1023
|
+
this.expandedItemRefresh();
|
|
1014
1024
|
};
|
|
1015
1025
|
/**
|
|
1016
1026
|
* Sets focus to the specified index item header in Accordion.
|
|
@@ -1187,28 +1197,18 @@ var Accordion = /** @class */ (function (_super) {
|
|
|
1187
1197
|
}
|
|
1188
1198
|
};
|
|
1189
1199
|
Accordion.prototype.setTemplate = function (template, toElement, index) {
|
|
1190
|
-
toElement
|
|
1191
|
-
this.templateCompile(toElement, template, index);
|
|
1200
|
+
this.fetchElement(toElement, template, index);
|
|
1192
1201
|
if (this.isReact) {
|
|
1193
1202
|
this.renderReactTemplates();
|
|
1194
1203
|
}
|
|
1195
1204
|
};
|
|
1196
|
-
Accordion.prototype.templateCompile = function (ele, cnt, index) {
|
|
1197
|
-
var tempEle = this.createElement('div');
|
|
1198
|
-
this.fetchElement(tempEle, cnt, index, false);
|
|
1199
|
-
if (tempEle.childNodes.length !== 0) {
|
|
1200
|
-
[].slice.call(tempEle.childNodes).forEach(function (childEle) {
|
|
1201
|
-
ele.appendChild(childEle);
|
|
1202
|
-
});
|
|
1203
|
-
}
|
|
1204
|
-
};
|
|
1205
1205
|
Accordion.prototype.clearAccordionTemplate = function (templateEle, templateName, className) {
|
|
1206
1206
|
if (this.registeredTemplate && this.registeredTemplate["" + templateName]) {
|
|
1207
1207
|
var registeredTemplates = this.registeredTemplate;
|
|
1208
1208
|
for (var index = 0; index < registeredTemplates["" + templateName].length; index++) {
|
|
1209
1209
|
var registeredItem = registeredTemplates["" + templateName][parseInt(index.toString(), 10)].rootNodes[0];
|
|
1210
|
-
var closestItem = closest(registeredItem
|
|
1211
|
-
if (!isNOU(closestItem) && closestItem === templateEle) {
|
|
1210
|
+
var closestItem = closest(registeredItem, '.' + className);
|
|
1211
|
+
if (!isNOU(closestItem) && closestItem === templateEle || isNOU(registeredItem.parentNode)) {
|
|
1212
1212
|
this.clearTemplate([templateName], [registeredTemplates["" + templateName][parseInt(index.toString(), 10)]]);
|
|
1213
1213
|
break;
|
|
1214
1214
|
}
|
|
@@ -1278,7 +1278,8 @@ var Accordion = /** @class */ (function (_super) {
|
|
|
1278
1278
|
if (property[parseInt(k.toString(), 10)] === 'disabled' && !isNOU(item)) {
|
|
1279
1279
|
this.enableItem(index, !newVal);
|
|
1280
1280
|
}
|
|
1281
|
-
if (property[parseInt(k.toString(), 10)] === 'content'
|
|
1281
|
+
if (property.indexOf('header') < 0 && property[parseInt(k.toString(), 10)] === 'content'
|
|
1282
|
+
&& !isNOU(item) && item.children.length === 2) {
|
|
1282
1283
|
if (typeof newVal === 'function') {
|
|
1283
1284
|
if (this.isAngular || this.isReact) {
|
|
1284
1285
|
this.clearAccordionTemplate(content, property[parseInt(k.toString(), 10)], CLS_CTENT);
|
package/src/appbar/appbar.js
CHANGED
|
@@ -309,6 +309,7 @@ var Breadcrumb = /** @class */ (function (_super) {
|
|
|
309
309
|
// list item
|
|
310
310
|
listBaseOptions.itemClass = '';
|
|
311
311
|
if (this.itemTemplate) {
|
|
312
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
312
313
|
listBaseOptions.template = this.itemTemplate;
|
|
313
314
|
isSingleLevel = false;
|
|
314
315
|
}
|
package/src/carousel/carousel.js
CHANGED
|
@@ -297,6 +297,7 @@ var Carousel = /** @class */ (function (_super) {
|
|
|
297
297
|
};
|
|
298
298
|
Carousel.prototype.initialize = function () {
|
|
299
299
|
var carouselClasses = [];
|
|
300
|
+
carouselClasses.push(CLS_CAROUSEL);
|
|
300
301
|
if (this.cssClass) {
|
|
301
302
|
carouselClasses.push(this.cssClass);
|
|
302
303
|
}
|
|
@@ -311,7 +312,7 @@ var Carousel = /** @class */ (function (_super) {
|
|
|
311
312
|
}
|
|
312
313
|
addClass([this.element], carouselClasses);
|
|
313
314
|
setStyleAttribute(this.element, { 'width': formatUnit(this.width), 'height': formatUnit(this.height) });
|
|
314
|
-
attributes(this.element, { 'tabindex': '0', 'aria-roledescription': 'carousel', 'aria-label': this.localeObj.getConstant('slideShow') });
|
|
315
|
+
attributes(this.element, { 'tabindex': '0', 'role': 'group', 'aria-roledescription': 'carousel', 'aria-label': this.localeObj.getConstant('slideShow') });
|
|
315
316
|
if (!isNullOrUndefined(this.htmlAttributes)) {
|
|
316
317
|
this.setHtmlAttributes(this.htmlAttributes, this.element);
|
|
317
318
|
}
|
|
@@ -385,7 +386,7 @@ var Carousel = /** @class */ (function (_super) {
|
|
|
385
386
|
className: CLS_ITEM + " " + (item.cssClass ? item.cssClass : '') + " " + (this.selectedIndex === index && !isClone ? CLS_ACTIVE : ''),
|
|
386
387
|
attrs: {
|
|
387
388
|
'aria-hidden': this.selectedIndex === index && !isClone ? 'false' : 'true', 'data-index': index.toString(),
|
|
388
|
-
'
|
|
389
|
+
'role': 'group', 'aria-roledescription': 'slide'
|
|
389
390
|
}
|
|
390
391
|
});
|
|
391
392
|
if (isClone) {
|
package/src/common/menu-base.js
CHANGED
|
@@ -302,10 +302,10 @@ var MenuBase = /** @class */ (function (_super) {
|
|
|
302
302
|
}
|
|
303
303
|
this.targetElement = target;
|
|
304
304
|
if (!this.isMenu) {
|
|
305
|
-
EventHandler.add(this.targetElement, '
|
|
305
|
+
EventHandler.add(this.targetElement, 'mousewheel DOMMouseScroll', this.scrollHandler, this);
|
|
306
306
|
for (var _i = 0, _a = getScrollableParent(this.targetElement); _i < _a.length; _i++) {
|
|
307
307
|
var parent_1 = _a[_i];
|
|
308
|
-
EventHandler.add(parent_1, '
|
|
308
|
+
EventHandler.add(parent_1, 'mousewheel DOMMouseScroll', this.scrollHandler, this);
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
311
|
}
|
|
@@ -483,7 +483,7 @@ var MenuBase = /** @class */ (function (_super) {
|
|
|
483
483
|
var popups_1 = [];
|
|
484
484
|
var allPopup = selectAll('.' + POPUP);
|
|
485
485
|
allPopup.forEach(function (elem) {
|
|
486
|
-
if (_this.element.id === elem.id.split('-')[2] || elem.id.split('-')[2] +
|
|
486
|
+
if (_this.element.id === elem.id.split('-')[2] || elem.id.split('-')[2] + '-' + elem.id.split('-')[3]) {
|
|
487
487
|
popups_1.push(elem);
|
|
488
488
|
}
|
|
489
489
|
});
|
|
@@ -851,7 +851,7 @@ var MenuBase = /** @class */ (function (_super) {
|
|
|
851
851
|
if (isNullOrUndefined(e)) {
|
|
852
852
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
853
853
|
var ev = document.createEvent('MouseEvents');
|
|
854
|
-
ev.initEvent(
|
|
854
|
+
ev.initEvent('click', true, false);
|
|
855
855
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
856
856
|
var targetEvent = this.copyObject(ev, {});
|
|
857
857
|
targetEvent.target = targetEvent.srcElement = target;
|
|
@@ -864,6 +864,7 @@ var MenuBase = /** @class */ (function (_super) {
|
|
|
864
864
|
}
|
|
865
865
|
}
|
|
866
866
|
};
|
|
867
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
867
868
|
MenuBase.prototype.copyObject = function (source, destination) {
|
|
868
869
|
for (var prop in source) {
|
|
869
870
|
destination["" + prop] = source["" + prop];
|
|
@@ -1831,10 +1832,10 @@ var MenuBase = /** @class */ (function (_super) {
|
|
|
1831
1832
|
}
|
|
1832
1833
|
}
|
|
1833
1834
|
if (!this.isMenu) {
|
|
1834
|
-
EventHandler.remove(this.targetElement, '
|
|
1835
|
+
EventHandler.remove(this.targetElement, 'mousewheel DOMMouseScroll', this.scrollHandler);
|
|
1835
1836
|
for (var _i = 0, _a = getScrollableParent(this.targetElement); _i < _a.length; _i++) {
|
|
1836
1837
|
var parent_2 = _a[_i];
|
|
1837
|
-
EventHandler.remove(parent_2, '
|
|
1838
|
+
EventHandler.remove(parent_2, 'mousewheel DOMMouseScroll', this.scrollHandler);
|
|
1838
1839
|
}
|
|
1839
1840
|
}
|
|
1840
1841
|
}
|
|
@@ -2110,7 +2111,7 @@ var MenuBase = /** @class */ (function (_super) {
|
|
|
2110
2111
|
if (ishide && validUl === items[i]) {
|
|
2111
2112
|
ul.children[index].classList.add(HIDE);
|
|
2112
2113
|
}
|
|
2113
|
-
else {
|
|
2114
|
+
else if (!ishide && validUl === items[i]) {
|
|
2114
2115
|
ul.children[index].classList.remove(HIDE);
|
|
2115
2116
|
}
|
|
2116
2117
|
}
|
package/src/menu/menu-model.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { attributes, NotifyPropertyChanges, INotifyPropertyChanged, Property } from '@syncfusion/ej2-base';import { Browser, Complex, getUniqueID, SanitizeHtmlHelper
|
|
1
|
+
import { attributes, NotifyPropertyChanges, INotifyPropertyChanged, Property } from '@syncfusion/ej2-base';import { Browser, Complex, getUniqueID, SanitizeHtmlHelper } from '@syncfusion/ej2-base';import { MenuBase, FieldSettings } from '../common/menu-base';import { MenuItemModel, FieldSettingsModel } from '../common/menu-base-model';
|
|
2
2
|
import {Orientation} from "./menu";
|
|
3
3
|
import {MenuBaseModel} from "../common/menu-base-model";
|
|
4
4
|
|
package/src/sidebar/sidebar.js
CHANGED
|
@@ -174,7 +174,8 @@ var Sidebar = /** @class */ (function (_super) {
|
|
|
174
174
|
this.show();
|
|
175
175
|
}
|
|
176
176
|
else if (!this.isOpen) {
|
|
177
|
-
addClass([this.element], CLOSE);
|
|
177
|
+
addClass([this.element], [CLOSE, DISABLEANIMATION]);
|
|
178
|
+
removeClass([this.element], DISABLEANIMATION);
|
|
178
179
|
}
|
|
179
180
|
};
|
|
180
181
|
Sidebar.prototype.checkType = function (val) {
|
package/src/tab/tab-model.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, Property, Event, EmitType, closest, Collection, Complex, attributes, detach, Instance, isNullOrUndefined } from '@syncfusion/ej2-base';import { INotifyPropertyChanged, NotifyPropertyChanges, ChildProperty, select, isVisible } from '@syncfusion/ej2-base';import { KeyboardEvents, KeyboardEventArgs, MouseEventArgs, Effect, Browser, formatUnit, DomElements, L10n } from '@syncfusion/ej2-base';import { setStyleAttribute as setStyle, isNullOrUndefined as isNOU, selectAll, addClass, removeClass, remove } from '@syncfusion/ej2-base';import { EventHandler, rippleEffect, Touch, SwipeEventArgs, compile, Animation, AnimationModel, BaseEventArgs } from '@syncfusion/ej2-base';import { getRandomId, SanitizeHtmlHelper, Draggable, DragEventArgs as DragArgs, DropEventArgs } from '@syncfusion/ej2-base';import { Base } from '@syncfusion/ej2-base';import { Popup, PopupModel } from '@syncfusion/ej2-popups';import { Toolbar, OverflowMode, ClickEventArgs } from '../toolbar/toolbar';
|
|
1
|
+
import { Component, Property, Event, EmitType, closest, Collection, Complex, attributes, detach, Instance, isNullOrUndefined, animationMode } from '@syncfusion/ej2-base';import { INotifyPropertyChanged, NotifyPropertyChanges, ChildProperty, select, isVisible } from '@syncfusion/ej2-base';import { KeyboardEvents, KeyboardEventArgs, MouseEventArgs, Effect, Browser, formatUnit, DomElements, L10n } from '@syncfusion/ej2-base';import { setStyleAttribute as setStyle, isNullOrUndefined as isNOU, selectAll, addClass, removeClass, remove } from '@syncfusion/ej2-base';import { EventHandler, rippleEffect, Touch, SwipeEventArgs, compile, Animation, AnimationModel, BaseEventArgs } from '@syncfusion/ej2-base';import { getRandomId, SanitizeHtmlHelper, Draggable, DragEventArgs as DragArgs, DropEventArgs } from '@syncfusion/ej2-base';import { Base } from '@syncfusion/ej2-base';import { Popup, PopupModel } from '@syncfusion/ej2-popups';import { Toolbar, OverflowMode, ClickEventArgs } from '../toolbar/toolbar';
|
|
2
2
|
import {HeaderPosition,HeightStyles,ContentLoad,AddEventArgs,SelectingEventArgs,SelectEventArgs,RemoveEventArgs,DragEventArgs} from "./tab";
|
|
3
3
|
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
4
4
|
|
|
@@ -304,13 +304,15 @@ export interface TabModel extends ComponentModel{
|
|
|
304
304
|
|
|
305
305
|
/**
|
|
306
306
|
* Defines the area in which the draggable element movement will be occurring. Outside that area will be restricted
|
|
307
|
-
* for the draggable element movement. By default, the draggable element movement occurs in the toolbar.
|
|
307
|
+
* for the draggable element movement. By default, the draggable element movement occurs in the toolbar.
|
|
308
|
+
*
|
|
308
309
|
* @default null
|
|
309
310
|
*/
|
|
310
311
|
dragArea?: string;
|
|
311
312
|
|
|
312
313
|
/**
|
|
313
314
|
* Sets true to allow drag and drop the Tab items
|
|
315
|
+
*
|
|
314
316
|
* @default false
|
|
315
317
|
*/
|
|
316
318
|
allowDragAndDrop?: boolean;
|
package/src/tab/tab.d.ts
CHANGED
|
@@ -289,6 +289,9 @@ export declare class Tab extends Component<HTMLElement> implements INotifyProper
|
|
|
289
289
|
private draggingItems;
|
|
290
290
|
private draggableItems;
|
|
291
291
|
private tbId;
|
|
292
|
+
private isAngular;
|
|
293
|
+
private isReact;
|
|
294
|
+
private isVue;
|
|
292
295
|
private resizeContext;
|
|
293
296
|
/**
|
|
294
297
|
* Contains the keyboard configuration of the Tab.
|
|
@@ -422,11 +425,13 @@ export declare class Tab extends Component<HTMLElement> implements INotifyProper
|
|
|
422
425
|
/**
|
|
423
426
|
* Defines the area in which the draggable element movement will be occurring. Outside that area will be restricted
|
|
424
427
|
* for the draggable element movement. By default, the draggable element movement occurs in the toolbar.
|
|
428
|
+
*
|
|
425
429
|
* @default null
|
|
426
430
|
*/
|
|
427
431
|
dragArea: string;
|
|
428
432
|
/**
|
|
429
433
|
* Sets true to allow drag and drop the Tab items
|
|
434
|
+
*
|
|
430
435
|
* @default false
|
|
431
436
|
*/
|
|
432
437
|
allowDragAndDrop: boolean;
|
package/src/tab/tab.js
CHANGED
|
@@ -17,7 +17,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
17
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
18
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
19
|
};
|
|
20
|
-
import { Component, Property, Event, closest, Collection, Complex, attributes, detach, isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
20
|
+
import { Component, Property, Event, closest, Collection, Complex, attributes, detach, isNullOrUndefined, animationMode } from '@syncfusion/ej2-base';
|
|
21
21
|
import { NotifyPropertyChanges, ChildProperty, select, isVisible } from '@syncfusion/ej2-base';
|
|
22
22
|
import { KeyboardEvents, Browser, formatUnit, L10n } from '@syncfusion/ej2-base';
|
|
23
23
|
import { setStyleAttribute as setStyle, isNullOrUndefined as isNOU, selectAll, addClass, removeClass, remove } from '@syncfusion/ej2-base';
|
|
@@ -311,6 +311,7 @@ var Tab = /** @class */ (function (_super) {
|
|
|
311
311
|
* @returns {void}
|
|
312
312
|
*/
|
|
313
313
|
Tab.prototype.render = function () {
|
|
314
|
+
var _this = this;
|
|
314
315
|
this.btnCls = this.createElement('span', { className: CLS_ICONS + ' ' + CLS_ICON_CLOSE, attrs: { title: this.title } });
|
|
315
316
|
this.tabId = this.element.id.length > 0 ? ('-' + this.element.id) : getRandomId();
|
|
316
317
|
this.renderContainer();
|
|
@@ -318,7 +319,10 @@ var Tab = /** @class */ (function (_super) {
|
|
|
318
319
|
this.initRender = false;
|
|
319
320
|
if (this.isReact && this.portals && this.portals.length > 0) {
|
|
320
321
|
this.renderReactTemplates(function () {
|
|
321
|
-
|
|
322
|
+
if (!isNOU(_this.tbObj)) {
|
|
323
|
+
_this.tbObj.refreshOverflow();
|
|
324
|
+
}
|
|
325
|
+
_this.refreshActiveBorder();
|
|
322
326
|
});
|
|
323
327
|
}
|
|
324
328
|
};
|
|
@@ -534,10 +538,7 @@ var Tab = /** @class */ (function (_super) {
|
|
|
534
538
|
tCont.appendChild(_this.btnCls.cloneNode(true));
|
|
535
539
|
var wrap = _this.createElement('div', { className: CLS_WRAP, attrs: wrapAttrs });
|
|
536
540
|
wrap.appendChild(tCont);
|
|
537
|
-
if (_this.itemIndexArray
|
|
538
|
-
_this.itemIndexArray.push(CLS_ITEM + _this.tabId + '_' + _this.lastIndex);
|
|
539
|
-
}
|
|
540
|
-
else {
|
|
541
|
+
if (_this.itemIndexArray instanceof Array) {
|
|
541
542
|
_this.itemIndexArray.splice((index + i), 0, CLS_ITEM + _this.tabId + '_' + _this.lastIndex);
|
|
542
543
|
}
|
|
543
544
|
var attrObj = {
|
|
@@ -695,10 +696,9 @@ var Tab = /** @class */ (function (_super) {
|
|
|
695
696
|
if (!isNOU(newCnt)) {
|
|
696
697
|
this.prevActiveEle = newCnt.id;
|
|
697
698
|
}
|
|
698
|
-
var isPrevent = isNOU(this.animation) || this.animation.next
|
|
699
|
-
||
|
|
700
|
-
|
|
701
|
-
if (this.initRender || value === false || this.animation === {} || isPrevent) {
|
|
699
|
+
var isPrevent = isNOU(this.animation) || isNOU(this.animation.next.effect) || isNOU(this.animation.previous.effect)
|
|
700
|
+
|| this.animation.previous.effect === 'None' || this.animation.next.effect === 'None';
|
|
701
|
+
if (this.initRender || value === false || isPrevent) {
|
|
702
702
|
if (oldCnt && oldCnt !== newCnt) {
|
|
703
703
|
oldCnt.classList.remove(CLS_ACTIVE);
|
|
704
704
|
}
|
|
@@ -710,7 +710,7 @@ var Tab = /** @class */ (function (_super) {
|
|
|
710
710
|
var openEff = this.animation.previous.effect;
|
|
711
711
|
animateObj = {
|
|
712
712
|
name: ((openEff === 'None') ? '' : ((openEff !== 'SlideLeftIn') ? openEff : 'SlideLeftIn')),
|
|
713
|
-
duration: this.animation.previous.duration,
|
|
713
|
+
duration: (this.animation.previous.duration === 0 && animationMode === 'Enable') ? 600 : this.animation.previous.duration,
|
|
714
714
|
timingFunction: this.animation.previous.easing
|
|
715
715
|
};
|
|
716
716
|
}
|
|
@@ -718,7 +718,7 @@ var Tab = /** @class */ (function (_super) {
|
|
|
718
718
|
var clsEff = this.animation.next.effect;
|
|
719
719
|
animateObj = {
|
|
720
720
|
name: ((clsEff === 'None') ? '' : ((clsEff !== 'SlideRightIn') ? clsEff : 'SlideRightIn')),
|
|
721
|
-
duration: this.animation.next.duration,
|
|
721
|
+
duration: (this.animation.next.duration === 0 && animationMode === 'Enable') ? 600 : this.animation.next.duration,
|
|
722
722
|
timingFunction: this.animation.next.easing
|
|
723
723
|
};
|
|
724
724
|
}
|
|
@@ -828,7 +828,7 @@ var Tab = /** @class */ (function (_super) {
|
|
|
828
828
|
};
|
|
829
829
|
Tab.prototype.getContent = function (ele, cnt, callType, index) {
|
|
830
830
|
var eleStr;
|
|
831
|
-
cnt = isNOU(cnt) ?
|
|
831
|
+
cnt = isNOU(cnt) ? '' : cnt;
|
|
832
832
|
if (typeof cnt === 'string' || isNOU(cnt.innerHTML)) {
|
|
833
833
|
if (typeof cnt === 'string' && this.enableHtmlSanitizer) {
|
|
834
834
|
cnt = SanitizeHtmlHelper.sanitize(cnt);
|
|
@@ -1179,7 +1179,7 @@ var Tab = /** @class */ (function (_super) {
|
|
|
1179
1179
|
};
|
|
1180
1180
|
Tab.prototype.showPopup = function (config) {
|
|
1181
1181
|
var tbPop = select('.e-popup.e-toolbar-pop', this.hdrEle);
|
|
1182
|
-
if (tbPop.classList.contains('e-popup-close')) {
|
|
1182
|
+
if (tbPop && tbPop.classList.contains('e-popup-close')) {
|
|
1183
1183
|
var tbPopObj = (tbPop && tbPop.ej2_instances[0]);
|
|
1184
1184
|
tbPopObj.position.X = (this.headerPlacement === 'Left') ? 'left' : 'right';
|
|
1185
1185
|
tbPopObj.dataBind();
|
|
@@ -1630,8 +1630,8 @@ var Tab = /** @class */ (function (_super) {
|
|
|
1630
1630
|
clonedElement: this.cloneElement,
|
|
1631
1631
|
cancel: false
|
|
1632
1632
|
};
|
|
1633
|
-
this.trigger('onDragStart', dragArgs, function (
|
|
1634
|
-
if (
|
|
1633
|
+
this.trigger('onDragStart', dragArgs, function (tabItemDragArgs) {
|
|
1634
|
+
if (tabItemDragArgs.cancel) {
|
|
1635
1635
|
var dragObj = e.element.ej2_instances[0];
|
|
1636
1636
|
if (!isNullOrUndefined(dragObj)) {
|
|
1637
1637
|
dragObj.intDestroy(e.event);
|
|
@@ -235,6 +235,8 @@ export interface ToolbarModel extends ComponentModel{
|
|
|
235
235
|
* * Extended - Hide the overflowing toolbar items in the next row. Show the overflowing toolbar items when you click the expand icons.
|
|
236
236
|
* * If the popup content overflows the height of the page, the rest of the elements will be hidden.
|
|
237
237
|
*
|
|
238
|
+
* {% codeBlock src='toolbar/scrollStep/index.md' %}{% endcodeBlock %}
|
|
239
|
+
*
|
|
238
240
|
* @default null
|
|
239
241
|
*/
|
|
240
242
|
scrollStep?: number;
|
package/src/toolbar/toolbar.d.ts
CHANGED
|
@@ -304,6 +304,8 @@ export declare class Toolbar extends Component<HTMLElement> implements INotifyPr
|
|
|
304
304
|
* * Extended - Hide the overflowing toolbar items in the next row. Show the overflowing toolbar items when you click the expand icons.
|
|
305
305
|
* * If the popup content overflows the height of the page, the rest of the elements will be hidden.
|
|
306
306
|
*
|
|
307
|
+
* {% codeBlock src='toolbar/scrollStep/index.md' %}{% endcodeBlock %}
|
|
308
|
+
*
|
|
307
309
|
* @default null
|
|
308
310
|
*/
|
|
309
311
|
scrollStep: number;
|
package/src/toolbar/toolbar.js
CHANGED
|
@@ -683,10 +683,16 @@ var Toolbar = /** @class */ (function (_super) {
|
|
|
683
683
|
* @returns {void}
|
|
684
684
|
*/
|
|
685
685
|
Toolbar.prototype.render = function () {
|
|
686
|
+
var _this = this;
|
|
686
687
|
this.initialize();
|
|
687
688
|
this.renderControl();
|
|
688
689
|
this.wireEvents();
|
|
689
690
|
this.renderComplete();
|
|
691
|
+
if (this.isReact && this.portals && this.portals.length > 0) {
|
|
692
|
+
this.renderReactTemplates(function () {
|
|
693
|
+
_this.refreshOverflow();
|
|
694
|
+
});
|
|
695
|
+
}
|
|
690
696
|
};
|
|
691
697
|
Toolbar.prototype.initialize = function () {
|
|
692
698
|
var width = formatUnit(this.width);
|
|
@@ -1863,7 +1869,7 @@ var Toolbar = /** @class */ (function (_super) {
|
|
|
1863
1869
|
var tempArray = void 0;
|
|
1864
1870
|
if (!isNOU(templateFn)) {
|
|
1865
1871
|
var toolbarTemplateID = this.element.id + index + '_template';
|
|
1866
|
-
tempArray = templateFn({}, this, 'template', toolbarTemplateID, this.isStringTemplate);
|
|
1872
|
+
tempArray = templateFn({}, this, 'template', toolbarTemplateID, this.isStringTemplate, undefined, undefined, this.root);
|
|
1867
1873
|
}
|
|
1868
1874
|
if (!isNOU(tempArray) && tempArray.length > 0) {
|
|
1869
1875
|
[].slice.call(tempArray).forEach(function (ele) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, EmitType, isUndefined, Browser, compile, isNullOrUndefined, SanitizeHtmlHelper } from '@syncfusion/ej2-base';import { Property, INotifyPropertyChanged, NotifyPropertyChanges, ChildProperty, Complex } from '@syncfusion/ej2-base';import { Event, EventHandler, KeyboardEvents, KeyboardEventArgs } from '@syncfusion/ej2-base';import { rippleEffect, Effect, Animation, AnimationOptions, RippleOptions, remove } from '@syncfusion/ej2-base';import { Draggable, DragEventArgs, Droppable, DropEventArgs } from '@syncfusion/ej2-base';import { getElement } from '@syncfusion/ej2-base';import { addClass, removeClass, closest, matches, detach, select, selectAll, isVisible, append } from '@syncfusion/ej2-base';import { DataManager, Query } from '@syncfusion/ej2-data';import { isNullOrUndefined as isNOU, Touch, TapEventArgs, getValue, setValue, extend, merge, attributes } from '@syncfusion/ej2-base';import { ListBase, ListBaseOptions, AriaAttributesMapping, FieldsMapping } from '@syncfusion/ej2-lists';import { createCheckBox, rippleMouseHandler } from '@syncfusion/ej2-buttons';import { Input, InputObject } from '@syncfusion/ej2-inputs';import { createSpinner, showSpinner, hideSpinner } from '@syncfusion/ej2-popups';
|
|
1
|
+
import { Component, EmitType, isUndefined, Browser, compile, isNullOrUndefined, SanitizeHtmlHelper, animationMode } from '@syncfusion/ej2-base';import { Property, INotifyPropertyChanged, NotifyPropertyChanges, ChildProperty, Complex } from '@syncfusion/ej2-base';import { Event, EventHandler, KeyboardEvents, KeyboardEventArgs } from '@syncfusion/ej2-base';import { rippleEffect, Effect, Animation, AnimationOptions, RippleOptions, remove } from '@syncfusion/ej2-base';import { Draggable, DragEventArgs, Droppable, DropEventArgs } from '@syncfusion/ej2-base';import { getElement } from '@syncfusion/ej2-base';import { addClass, removeClass, closest, matches, detach, select, selectAll, isVisible, append } from '@syncfusion/ej2-base';import { DataManager, Query } from '@syncfusion/ej2-data';import { isNullOrUndefined as isNOU, Touch, TapEventArgs, getValue, setValue, extend, merge, attributes } from '@syncfusion/ej2-base';import { ListBase, ListBaseOptions, AriaAttributesMapping, FieldsMapping } from '@syncfusion/ej2-lists';import { createCheckBox, rippleMouseHandler } from '@syncfusion/ej2-buttons';import { Input, InputObject } from '@syncfusion/ej2-inputs';import { createSpinner, showSpinner, hideSpinner } from '@syncfusion/ej2-popups';
|
|
2
2
|
import {ExpandOnSettings,SortOrder,FailureEventArgs,DataBoundEventArgs,DataSourceChangedEventArgs,DrawNodeEventArgs,NodeKeyPressEventArgs,NodeCheckEventArgs,NodeClickEventArgs,NodeExpandEventArgs,DragAndDropEventArgs,NodeEditEventArgs,NodeSelectEventArgs} from "./treeview";
|
|
3
3
|
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
4
4
|
|
|
@@ -325,7 +325,7 @@ export interface NodeData {
|
|
|
325
325
|
* Interface for Failure event arguments
|
|
326
326
|
*/
|
|
327
327
|
export interface FailureEventArgs {
|
|
328
|
-
/**
|
|
328
|
+
/** Defines the error information. */
|
|
329
329
|
error?: Error;
|
|
330
330
|
}
|
|
331
331
|
/**
|