@syncfusion/ej2-navigations 19.4.56 → 20.1.51
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 +53 -2
- package/README.md +16 -1
- package/carousel.d.ts +4 -0
- package/carousel.js +4 -0
- package/dist/ej2-navigations.umd.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js.map +1 -1
- package/dist/es6/ej2-navigations.es2015.js +1065 -30
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +1106 -33
- package/dist/es6/ej2-navigations.es5.js.map +1 -1
- package/dist/global/ej2-navigations.min.js +2 -2
- package/dist/global/ej2-navigations.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +11 -11
- package/src/accordion/accordion.js +11 -3
- package/src/breadcrumb/breadcrumb.js +6 -0
- package/src/carousel/carousel-model.d.ts +227 -0
- package/src/carousel/carousel.d.ts +338 -0
- package/src/carousel/carousel.js +988 -0
- package/src/carousel/index.d.ts +3 -0
- package/src/carousel/index.js +2 -0
- package/src/common/h-scroll.js +5 -3
- package/src/common/menu-base.js +11 -13
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/tab/tab-model.d.ts +1 -1
- package/src/tab/tab.js +72 -11
- package/src/toolbar/toolbar.js +11 -0
- package/src/treeview/treeview.js +5 -2
- package/styles/accordion/_bootstrap-dark-definition.scss +4 -4
- package/styles/accordion/_bootstrap-definition.scss +4 -4
- package/styles/accordion/_bootstrap4-definition.scss +4 -4
- package/styles/accordion/_bootstrap5-definition.scss +10 -10
- package/styles/accordion/_fabric-dark-definition.scss +9 -9
- package/styles/accordion/_fabric-definition.scss +9 -9
- package/styles/accordion/_fluent-dark-definition.scss +1 -0
- package/styles/accordion/_fluent-definition.scss +10 -10
- package/styles/accordion/_highcontrast-definition.scss +8 -8
- package/styles/accordion/_highcontrast-light-definition.scss +8 -8
- package/styles/accordion/_layout.scss +56 -86
- package/styles/accordion/_material-dark-definition.scss +8 -8
- package/styles/accordion/_material-definition.scss +8 -8
- package/styles/accordion/_tailwind-definition.scss +10 -10
- package/styles/accordion/_theme.scss +14 -1
- package/styles/accordion/bootstrap-dark.css +48 -63
- package/styles/accordion/bootstrap.css +48 -63
- package/styles/accordion/bootstrap4.css +48 -63
- package/styles/accordion/bootstrap5-dark.css +51 -66
- package/styles/accordion/bootstrap5.css +51 -66
- package/styles/accordion/fabric-dark.css +50 -65
- package/styles/accordion/fabric.css +50 -65
- package/styles/accordion/fluent-dark.css +395 -0
- package/styles/accordion/fluent-dark.scss +4 -0
- package/styles/accordion/fluent.css +395 -0
- package/styles/accordion/fluent.scss +4 -0
- package/styles/accordion/highcontrast-light.css +49 -64
- package/styles/accordion/highcontrast.css +49 -64
- package/styles/accordion/icons/_fluent-dark.scss +1 -0
- package/styles/accordion/icons/_fluent.scss +2 -1
- package/styles/accordion/icons/_tailwind.scss +2 -1
- package/styles/accordion/material-dark.css +49 -64
- package/styles/accordion/material.css +49 -64
- package/styles/accordion/tailwind-dark.css +52 -67
- package/styles/accordion/tailwind.css +52 -67
- package/styles/bootstrap-dark.css +309 -68
- package/styles/bootstrap-dark.scss +1 -0
- package/styles/bootstrap.css +309 -68
- package/styles/bootstrap.scss +1 -0
- package/styles/bootstrap4.css +309 -68
- package/styles/bootstrap4.scss +1 -0
- package/styles/bootstrap5-dark.css +414 -170
- package/styles/bootstrap5-dark.scss +1 -0
- package/styles/bootstrap5.css +414 -170
- package/styles/bootstrap5.scss +1 -0
- package/styles/breadcrumb/_bootstrap5-definition.scss +2 -2
- package/styles/breadcrumb/_fluent-dark-definition.scss +1 -0
- package/styles/breadcrumb/_fluent-definition.scss +4 -1
- package/styles/breadcrumb/_layout.scss +42 -5
- package/styles/breadcrumb/_tailwind-dark-definition.scss +1 -60
- package/styles/breadcrumb/_tailwind-definition.scss +2 -2
- package/styles/breadcrumb/_theme.scss +11 -5
- package/styles/breadcrumb/bootstrap-dark.css +9 -1
- package/styles/breadcrumb/bootstrap.css +9 -1
- package/styles/breadcrumb/bootstrap4.css +9 -1
- package/styles/breadcrumb/bootstrap5-dark.css +11 -3
- package/styles/breadcrumb/bootstrap5.css +11 -3
- package/styles/breadcrumb/fabric-dark.css +9 -3
- package/styles/breadcrumb/fabric.css +9 -3
- package/styles/breadcrumb/fluent-dark.css +444 -0
- package/styles/breadcrumb/fluent-dark.scss +4 -0
- package/styles/breadcrumb/fluent.css +444 -0
- package/styles/breadcrumb/fluent.scss +4 -0
- package/styles/breadcrumb/highcontrast-light.css +9 -3
- package/styles/breadcrumb/highcontrast.css +9 -3
- package/styles/breadcrumb/icons/_fluent-dark.scss +1 -0
- package/styles/breadcrumb/icons/_fluent.scss +4 -4
- package/styles/breadcrumb/icons/_tailwind-dark.scss +13 -2
- package/styles/breadcrumb/icons/_tailwind.scss +13 -2
- package/styles/breadcrumb/material-dark.css +9 -1
- package/styles/breadcrumb/material.css +9 -1
- package/styles/breadcrumb/tailwind-dark.css +27 -10
- package/styles/breadcrumb/tailwind.css +26 -9
- package/styles/carousel/_all.scss +2 -0
- package/styles/carousel/_bootstrap-dark-definition.scss +22 -0
- package/styles/carousel/_bootstrap-definition.scss +22 -0
- package/styles/carousel/_bootstrap4-definition.scss +22 -0
- package/styles/carousel/_bootstrap5-dark-definition.scss +1 -0
- package/styles/carousel/_bootstrap5-definition.scss +22 -0
- package/styles/carousel/_fabric-dark-definition.scss +22 -0
- package/styles/carousel/_fabric-definition.scss +22 -0
- package/styles/carousel/_fluent-dark-definition.scss +1 -0
- package/styles/carousel/_fluent-definition.scss +22 -0
- package/styles/carousel/_highcontrast-definition.scss +22 -0
- package/styles/carousel/_highcontrast-light-definition.scss +22 -0
- package/styles/carousel/_layout.scss +150 -0
- package/styles/carousel/_material-dark-definition.scss +22 -0
- package/styles/carousel/_material-definition.scss +22 -0
- package/styles/carousel/_tailwind-dark-definition.scss +1 -0
- package/styles/carousel/_tailwind-definition.scss +22 -0
- package/styles/carousel/_theme.scss +56 -0
- package/styles/carousel/bootstrap-dark.css +236 -0
- package/styles/carousel/bootstrap-dark.scss +5 -0
- package/styles/carousel/bootstrap.css +236 -0
- package/styles/carousel/bootstrap.scss +5 -0
- package/styles/carousel/bootstrap4.css +236 -0
- package/styles/carousel/bootstrap4.scss +5 -0
- package/styles/carousel/bootstrap5-dark.css +236 -0
- package/styles/carousel/bootstrap5-dark.scss +5 -0
- package/styles/carousel/bootstrap5.css +236 -0
- package/styles/carousel/bootstrap5.scss +5 -0
- package/styles/carousel/fabric-dark.css +236 -0
- package/styles/carousel/fabric-dark.scss +5 -0
- package/styles/carousel/fabric.css +236 -0
- package/styles/carousel/fabric.scss +5 -0
- package/styles/carousel/fluent-dark.css +236 -0
- package/styles/carousel/fluent-dark.scss +5 -0
- package/styles/carousel/fluent.css +236 -0
- package/styles/carousel/fluent.scss +5 -0
- package/styles/carousel/highcontrast-light.css +236 -0
- package/styles/carousel/highcontrast-light.scss +5 -0
- package/styles/carousel/highcontrast.css +236 -0
- package/styles/carousel/highcontrast.scss +5 -0
- package/styles/carousel/icons/_bootstrap-dark.scss +30 -0
- package/styles/carousel/icons/_bootstrap.scss +30 -0
- package/styles/carousel/icons/_bootstrap4.scss +30 -0
- package/styles/carousel/icons/_bootstrap5-dark.scss +1 -0
- package/styles/carousel/icons/_bootstrap5.scss +30 -0
- package/styles/carousel/icons/_fabric-dark.scss +30 -0
- package/styles/carousel/icons/_fabric.scss +30 -0
- package/styles/carousel/icons/_fluent-dark.scss +1 -0
- package/styles/carousel/icons/_fluent.scss +30 -0
- package/styles/carousel/icons/_highcontrast-light.scss +30 -0
- package/styles/carousel/icons/_highcontrast.scss +30 -0
- package/styles/carousel/icons/_material-dark.scss +30 -0
- package/styles/carousel/icons/_material.scss +30 -0
- package/styles/carousel/icons/_tailwind-dark.scss +1 -0
- package/styles/carousel/icons/_tailwind.scss +30 -0
- package/styles/carousel/material-dark.css +237 -0
- package/styles/carousel/material-dark.scss +5 -0
- package/styles/carousel/material.css +237 -0
- package/styles/carousel/material.scss +5 -0
- package/styles/carousel/tailwind-dark.css +237 -0
- package/styles/carousel/tailwind-dark.scss +5 -0
- package/styles/carousel/tailwind.css +237 -0
- package/styles/carousel/tailwind.scss +5 -0
- package/styles/context-menu/_bootstrap5-definition.scss +2 -2
- package/styles/context-menu/_fluent-dark-definition.scss +1 -0
- package/styles/context-menu/_fluent-definition.scss +10 -10
- package/styles/context-menu/_layout-mixin.scss +3 -0
- package/styles/context-menu/_layout.scss +11 -1
- package/styles/context-menu/_tailwind-definition.scss +2 -1
- package/styles/context-menu/bootstrap-dark.css +5 -0
- package/styles/context-menu/bootstrap.css +5 -0
- package/styles/context-menu/bootstrap4.css +5 -0
- package/styles/context-menu/bootstrap5-dark.css +16 -8
- package/styles/context-menu/bootstrap5.css +16 -8
- package/styles/context-menu/fabric-dark.css +5 -0
- package/styles/context-menu/fabric.css +5 -0
- package/styles/context-menu/fluent-dark.css +388 -0
- package/styles/context-menu/fluent-dark.scss +4 -0
- package/styles/context-menu/fluent.css +388 -0
- package/styles/context-menu/fluent.scss +4 -0
- package/styles/context-menu/highcontrast-light.css +5 -0
- package/styles/context-menu/highcontrast.css +5 -0
- package/styles/context-menu/icons/_fluent-dark.scss +1 -0
- package/styles/context-menu/icons/_fluent.scss +3 -3
- package/styles/context-menu/icons/_tailwind-dark.scss +3 -3
- package/styles/context-menu/icons/_tailwind.scss +3 -3
- package/styles/context-menu/material-dark.css +5 -0
- package/styles/context-menu/material.css +5 -0
- package/styles/context-menu/tailwind-dark.css +11 -4
- package/styles/context-menu/tailwind.css +11 -4
- package/styles/fabric-dark.css +311 -72
- package/styles/fabric-dark.scss +1 -0
- package/styles/fabric.css +311 -72
- package/styles/fabric.scss +1 -0
- package/styles/fluent-dark.css +10263 -0
- package/styles/fluent-dark.scss +11 -0
- package/styles/fluent.css +10263 -0
- package/styles/fluent.scss +11 -0
- package/styles/h-scroll/_bootstrap5-definition.scss +3 -3
- package/styles/h-scroll/_fluent-dark-definition.scss +1 -0
- package/styles/h-scroll/_layout.scss +0 -1
- package/styles/h-scroll/_material-dark-definition.scss +3 -3
- package/styles/h-scroll/bootstrap-dark.css +0 -1
- package/styles/h-scroll/bootstrap.css +0 -1
- package/styles/h-scroll/bootstrap4.css +0 -1
- package/styles/h-scroll/bootstrap5-dark.css +10 -11
- package/styles/h-scroll/bootstrap5.css +10 -11
- package/styles/h-scroll/fabric-dark.css +0 -1
- package/styles/h-scroll/fabric.css +0 -1
- package/styles/h-scroll/fluent-dark.css +326 -0
- package/styles/h-scroll/fluent-dark.scss +4 -0
- package/styles/h-scroll/fluent.css +326 -0
- package/styles/h-scroll/fluent.scss +4 -0
- package/styles/h-scroll/highcontrast-light.css +0 -1
- package/styles/h-scroll/highcontrast.css +0 -1
- package/styles/h-scroll/icons/_fluent-dark.scss +1 -0
- package/styles/h-scroll/icons/_fluent.scss +9 -9
- package/styles/h-scroll/icons/_tailwind.scss +8 -8
- package/styles/h-scroll/material-dark.css +3 -4
- package/styles/h-scroll/material.css +0 -1
- package/styles/h-scroll/tailwind-dark.css +8 -9
- package/styles/h-scroll/tailwind.css +8 -9
- package/styles/highcontrast-light.css +310 -71
- package/styles/highcontrast-light.scss +1 -0
- package/styles/highcontrast.css +311 -72
- package/styles/highcontrast.scss +1 -0
- package/styles/material-dark.css +313 -72
- package/styles/material-dark.scss +1 -0
- package/styles/material.css +310 -69
- package/styles/material.scss +1 -0
- package/styles/menu/_bootstrap5-definition.scss +4 -5
- package/styles/menu/_fluent-dark-definition.scss +1 -0
- package/styles/menu/_fluent-definition.scss +9 -9
- package/styles/menu/_layout.scss +8 -4
- package/styles/menu/_tailwind-definition.scss +1 -0
- package/styles/menu/_theme.scss +9 -0
- package/styles/menu/bootstrap-dark.css +1 -2
- package/styles/menu/bootstrap.css +1 -2
- package/styles/menu/bootstrap4.css +1 -2
- package/styles/menu/bootstrap5-dark.css +23 -24
- package/styles/menu/bootstrap5.css +23 -24
- package/styles/menu/fabric-dark.css +1 -2
- package/styles/menu/fabric.css +1 -2
- package/styles/menu/fluent-dark.css +1261 -0
- package/styles/menu/fluent-dark.scss +8 -0
- package/styles/menu/fluent.css +1261 -0
- package/styles/menu/fluent.scss +8 -0
- package/styles/menu/highcontrast-light.css +1 -2
- package/styles/menu/highcontrast.css +1 -2
- package/styles/menu/icons/_fluent-dark.scss +1 -0
- package/styles/menu/icons/_fluent.scss +14 -14
- package/styles/menu/icons/_tailwind-dark.scss +14 -14
- package/styles/menu/icons/_tailwind.scss +15 -15
- package/styles/menu/material-dark.css +1 -2
- package/styles/menu/material.css +1 -2
- package/styles/menu/tailwind-dark.css +18 -18
- package/styles/menu/tailwind.css +18 -18
- package/styles/sidebar/_fluent-dark-definition.scss +1 -0
- package/styles/sidebar/_theme.scss +5 -0
- package/styles/sidebar/bootstrap-dark.css +4 -0
- package/styles/sidebar/bootstrap.css +4 -0
- package/styles/sidebar/bootstrap4.css +4 -0
- package/styles/sidebar/bootstrap5-dark.css +4 -0
- package/styles/sidebar/bootstrap5.css +4 -0
- package/styles/sidebar/fabric-dark.css +4 -0
- package/styles/sidebar/fabric.css +4 -0
- package/styles/sidebar/fluent-dark.css +158 -0
- package/styles/sidebar/fluent-dark.scss +3 -0
- package/styles/sidebar/fluent.css +158 -0
- package/styles/sidebar/fluent.scss +3 -0
- package/styles/sidebar/highcontrast-light.css +4 -0
- package/styles/sidebar/highcontrast.css +4 -0
- package/styles/sidebar/material-dark.css +4 -0
- package/styles/sidebar/material.css +4 -0
- package/styles/sidebar/tailwind-dark.css +4 -0
- package/styles/sidebar/tailwind.css +4 -0
- package/styles/tab/_bootstrap5-definition.scss +7 -7
- package/styles/tab/_fluent-dark-definition.scss +1 -0
- package/styles/tab/_fluent-definition.scss +20 -20
- package/styles/tab/_highcontrast-definition.scss +1 -1
- package/styles/tab/_layout.scss +68 -12
- package/styles/tab/_tailwind-definition.scss +7 -7
- package/styles/tab/_theme.scss +12 -6
- package/styles/tab/bootstrap-dark.css +1 -1
- package/styles/tab/bootstrap.css +1 -1
- package/styles/tab/bootstrap4.css +1 -1
- package/styles/tab/bootstrap5-dark.css +23 -23
- package/styles/tab/bootstrap5.css +23 -23
- package/styles/tab/fabric-dark.css +1 -1
- package/styles/tab/fabric.css +1 -1
- package/styles/tab/fluent-dark.css +4394 -0
- package/styles/tab/fluent-dark.scss +5 -0
- package/styles/tab/fluent.css +4394 -0
- package/styles/tab/fluent.scss +5 -0
- package/styles/tab/highcontrast-light.css +1 -1
- package/styles/tab/highcontrast.css +2 -2
- package/styles/tab/icons/_fluent-dark.scss +1 -0
- package/styles/tab/icons/_fluent.scss +19 -18
- package/styles/tab/icons/_tailwind.scss +19 -18
- package/styles/tab/material-dark.css +1 -1
- package/styles/tab/material.css +1 -1
- package/styles/tab/tailwind-dark.css +43 -45
- package/styles/tab/tailwind.css +43 -45
- package/styles/tailwind-dark.css +428 -177
- package/styles/tailwind-dark.scss +1 -0
- package/styles/tailwind.css +427 -176
- package/styles/tailwind.scss +1 -0
- package/styles/toolbar/_bootstrap-dark-definition.scss +1 -0
- package/styles/toolbar/_bootstrap-definition.scss +1 -0
- package/styles/toolbar/_bootstrap4-definition.scss +1 -0
- package/styles/toolbar/_bootstrap5-definition.scss +12 -11
- package/styles/toolbar/_fabric-dark-definition.scss +1 -0
- package/styles/toolbar/_fabric-definition.scss +1 -0
- package/styles/toolbar/_fluent-dark-definition.scss +1 -0
- package/styles/toolbar/_fluent-definition.scss +14 -13
- package/styles/toolbar/_highcontrast-definition.scss +1 -0
- package/styles/toolbar/_highcontrast-light-definition.scss +1 -0
- package/styles/toolbar/_layout.scss +13 -5
- package/styles/toolbar/_material-dark-definition.scss +1 -0
- package/styles/toolbar/_material-definition.scss +1 -0
- package/styles/toolbar/_tailwind-definition.scss +4 -3
- package/styles/toolbar/_theme.scss +5 -1
- package/styles/toolbar/bootstrap-dark.css +4 -0
- package/styles/toolbar/bootstrap.css +4 -0
- package/styles/toolbar/bootstrap4.css +4 -0
- package/styles/toolbar/bootstrap5-dark.css +35 -31
- package/styles/toolbar/bootstrap5.css +35 -31
- package/styles/toolbar/fabric-dark.css +4 -0
- package/styles/toolbar/fabric.css +4 -0
- package/styles/toolbar/fluent-dark.css +1365 -0
- package/styles/toolbar/fluent-dark.scss +8 -0
- package/styles/toolbar/fluent.css +1365 -0
- package/styles/toolbar/fluent.scss +8 -0
- package/styles/toolbar/highcontrast-light.css +4 -0
- package/styles/toolbar/highcontrast.css +4 -0
- package/styles/toolbar/icons/_fluent-dark.scss +1 -0
- package/styles/toolbar/icons/_fluent.scss +3 -2
- package/styles/toolbar/icons/_tailwind.scss +3 -2
- package/styles/toolbar/material-dark.css +4 -0
- package/styles/toolbar/material.css +4 -0
- package/styles/toolbar/tailwind-dark.css +10 -6
- package/styles/toolbar/tailwind.css +10 -6
- package/styles/treeview/_bootstrap5-definition.scss +2 -2
- package/styles/treeview/_fluent-dark-definition.scss +1 -0
- package/styles/treeview/_fluent-definition.scss +2 -2
- package/styles/treeview/_layout.scss +8 -3
- package/styles/treeview/_tailwind-definition.scss +5 -5
- package/styles/treeview/bootstrap5-dark.css +4 -4
- package/styles/treeview/bootstrap5.css +4 -4
- package/styles/treeview/fluent-dark.css +1039 -0
- package/styles/treeview/fluent-dark.scss +6 -0
- package/styles/treeview/fluent.css +1039 -0
- package/styles/treeview/fluent.scss +6 -0
- package/styles/treeview/icons/_fluent-dark.scss +1 -0
- package/styles/treeview/icons/_fluent.scss +5 -5
- package/styles/treeview/icons/_tailwind-dark.scss +5 -5
- package/styles/treeview/icons/_tailwind.scss +5 -5
- package/styles/treeview/tailwind-dark.css +13 -14
- package/styles/treeview/tailwind.css +13 -14
- package/styles/v-scroll/_fluent-dark-definition.scss +1 -0
- package/styles/v-scroll/fluent-dark.css +247 -0
- package/styles/v-scroll/fluent-dark.scss +4 -0
- package/styles/v-scroll/fluent.css +247 -0
- package/styles/v-scroll/fluent.scss +4 -0
- package/styles/v-scroll/icons/_fluent-dark.scss +1 -0
- package/styles/v-scroll/icons/_fluent.scss +5 -4
- package/styles/v-scroll/icons/_tailwind.scss +5 -4
- package/styles/v-scroll/tailwind-dark.css +4 -4
- package/styles/v-scroll/tailwind.css +4 -4
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version :
|
|
3
|
+
* version : 20.1.51
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. 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
|
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@20.1.48",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-H3R/hxCrlqznF1FsCc7FkePBLLvqh7Qlrjd4tIfByrnCmYM+VkkPYa4g7iaL2/LmkSP3j5OEHykqjxSr4FrulA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-navigations",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"/@syncfusion/ej2-spreadsheet",
|
|
38
38
|
"/@syncfusion/ej2-vue-navigations"
|
|
39
39
|
],
|
|
40
|
-
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-
|
|
41
|
-
"_shasum": "
|
|
40
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-20.1.48.tgz",
|
|
41
|
+
"_shasum": "b1a3b45369f91ea03e1d727104e8c4a0e8d5cc44",
|
|
42
42
|
"_spec": "@syncfusion/ej2-navigations@*",
|
|
43
43
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
44
44
|
"author": {
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
},
|
|
50
50
|
"bundleDependencies": false,
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@syncfusion/ej2-base": "~
|
|
53
|
-
"@syncfusion/ej2-buttons": "~
|
|
54
|
-
"@syncfusion/ej2-data": "~
|
|
55
|
-
"@syncfusion/ej2-inputs": "~
|
|
56
|
-
"@syncfusion/ej2-lists": "~
|
|
57
|
-
"@syncfusion/ej2-popups": "~
|
|
52
|
+
"@syncfusion/ej2-base": "~20.1.50",
|
|
53
|
+
"@syncfusion/ej2-buttons": "~20.1.50",
|
|
54
|
+
"@syncfusion/ej2-data": "~20.1.47",
|
|
55
|
+
"@syncfusion/ej2-inputs": "~20.1.48",
|
|
56
|
+
"@syncfusion/ej2-lists": "~20.1.47",
|
|
57
|
+
"@syncfusion/ej2-popups": "~20.1.47"
|
|
58
58
|
},
|
|
59
59
|
"deprecated": false,
|
|
60
60
|
"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",
|
|
@@ -159,6 +159,6 @@
|
|
|
159
159
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
160
160
|
},
|
|
161
161
|
"typings": "index.d.ts",
|
|
162
|
-
"version": "
|
|
162
|
+
"version": "20.1.51",
|
|
163
163
|
"sideEffects": false
|
|
164
164
|
}
|
|
@@ -194,9 +194,11 @@ var Accordion = /** @class */ (function (_super) {
|
|
|
194
194
|
if (!this.isDestroy) {
|
|
195
195
|
this.isDestroy = false;
|
|
196
196
|
}
|
|
197
|
-
if (
|
|
198
|
-
nested.classList.
|
|
199
|
-
|
|
197
|
+
if (nested && nested.firstElementChild && nested.firstElementChild.firstElementChild) {
|
|
198
|
+
if (nested.firstElementChild.firstElementChild.classList.contains(CLS_ROOT)) {
|
|
199
|
+
nested.classList.add(CLS_NEST);
|
|
200
|
+
this.isNested = true;
|
|
201
|
+
}
|
|
200
202
|
}
|
|
201
203
|
else {
|
|
202
204
|
this.element.classList.add(CLS_ACRDN_ROOT);
|
|
@@ -285,6 +287,9 @@ var Accordion = /** @class */ (function (_super) {
|
|
|
285
287
|
if (document.querySelectorAll(template).length) {
|
|
286
288
|
return templateCompiler(document.querySelector(template).innerHTML.trim());
|
|
287
289
|
}
|
|
290
|
+
else {
|
|
291
|
+
return templateCompiler(template);
|
|
292
|
+
}
|
|
288
293
|
}
|
|
289
294
|
catch (error) {
|
|
290
295
|
return templateCompiler(template);
|
|
@@ -652,6 +657,9 @@ var Accordion = /** @class */ (function (_super) {
|
|
|
652
657
|
ele.appendChild(eleVal);
|
|
653
658
|
eleVal.style.display = '';
|
|
654
659
|
}
|
|
660
|
+
else {
|
|
661
|
+
templateFn = templateCompiler(value);
|
|
662
|
+
}
|
|
655
663
|
}
|
|
656
664
|
catch (e) {
|
|
657
665
|
if (typeof (value) === 'string') {
|
|
@@ -379,6 +379,12 @@ var Breadcrumb = /** @class */ (function (_super) {
|
|
|
379
379
|
}
|
|
380
380
|
if (!(this.overflowMode === 'Menu' && liElems[i].classList.contains(MENUCLASS))) {
|
|
381
381
|
liWidth += liElems[i].offsetWidth;
|
|
382
|
+
if (liWidth > width) {
|
|
383
|
+
maxItems = Math.ceil((i) / 2) + (this.overflowMode === 'Menu' && i <= 2 ? 0 : 1);
|
|
384
|
+
this._maxItems = maxItems;
|
|
385
|
+
this.initPvtProps();
|
|
386
|
+
return this.reRenderItems();
|
|
387
|
+
}
|
|
382
388
|
}
|
|
383
389
|
}
|
|
384
390
|
}
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
import { Component, EventHandler, Collection, Property, Event, EmitType, formatUnit, INotifyPropertyChanged, NotifyPropertyChanges } from '@syncfusion/ej2-base';import { ChildProperty, addClass, removeClass, setStyleAttribute, attributes, getUniqueID, compile, Complex, getInstance, L10n } from '@syncfusion/ej2-base';import { append, closest, isNullOrUndefined, remove, classList, Touch, SwipeEventArgs, KeyboardEvents, KeyboardEventArgs, BaseEventArgs } from '@syncfusion/ej2-base';import { Button } from '@syncfusion/ej2-buttons';
|
|
2
|
+
import {CarouselAnimationEffect,CarouselButtonVisibility,SlideChangingEventArgs,SlideChangedEventArgs} from "./carousel";
|
|
3
|
+
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Interface for a class CarouselItem
|
|
7
|
+
*/
|
|
8
|
+
export interface CarouselItemModel {
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Accepts single/multiple classes (separated by a space) to be used for individual carousel item customization.
|
|
12
|
+
*
|
|
13
|
+
* @default null
|
|
14
|
+
*/
|
|
15
|
+
cssClass?: string;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Accepts the interval duration in milliseconds for individual carousel item transition.
|
|
19
|
+
*
|
|
20
|
+
* @default null
|
|
21
|
+
*/
|
|
22
|
+
interval?: number;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Accepts the template for individual carousel item.
|
|
26
|
+
*
|
|
27
|
+
* @default null
|
|
28
|
+
*/
|
|
29
|
+
template?: string;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Accepts HTML attributes/custom attributes to add in individual carousel item.
|
|
33
|
+
*
|
|
34
|
+
* @default null
|
|
35
|
+
*/
|
|
36
|
+
htmlAttributes?: Record<string, string>;
|
|
37
|
+
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Interface for a class CarouselAnimationSettings
|
|
42
|
+
*/
|
|
43
|
+
export interface CarouselAnimationSettingsModel {
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Specifies the type of animation. The possible values for this property as follows
|
|
47
|
+
* * None
|
|
48
|
+
* * Slide
|
|
49
|
+
* * Fade
|
|
50
|
+
*
|
|
51
|
+
* @default 'Slide'
|
|
52
|
+
*/
|
|
53
|
+
effect?: CarouselAnimationEffect;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Specifies the custom animation effect.
|
|
57
|
+
*
|
|
58
|
+
* @default null
|
|
59
|
+
*/
|
|
60
|
+
customEffect?: string;
|
|
61
|
+
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Interface for a class Carousel
|
|
66
|
+
*/
|
|
67
|
+
export interface CarouselModel extends ComponentModel{
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Allows defining the collection of carousel item to be displayed on the Carousel.
|
|
71
|
+
*
|
|
72
|
+
* @default []
|
|
73
|
+
*/
|
|
74
|
+
items?: CarouselItemModel[];
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Specifies the animation setting for the carousel component.
|
|
78
|
+
*
|
|
79
|
+
* @default { effect: 'Slide', customEffect: null }
|
|
80
|
+
*/
|
|
81
|
+
animation?: CarouselAnimationSettingsModel;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Accepts the template for previous navigation button.
|
|
85
|
+
*
|
|
86
|
+
* @default null
|
|
87
|
+
*/
|
|
88
|
+
previousButtonTemplate?: string;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Accepts the template for next navigation button.
|
|
92
|
+
*
|
|
93
|
+
* @default null
|
|
94
|
+
*/
|
|
95
|
+
nextButtonTemplate?: string;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Accepts the template for indicator buttons.
|
|
99
|
+
*
|
|
100
|
+
* @default null
|
|
101
|
+
*/
|
|
102
|
+
indicatorsTemplate?: string;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Accepts the template for play/pause button.
|
|
106
|
+
*
|
|
107
|
+
* @default null
|
|
108
|
+
*/
|
|
109
|
+
playButtonTemplate?: string;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Accepts single/multiple classes (separated by a space) to be used for carousel customization.
|
|
113
|
+
*
|
|
114
|
+
* @default null
|
|
115
|
+
*/
|
|
116
|
+
cssClass?: string;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Specifies the datasource for the carousel items.
|
|
120
|
+
*
|
|
121
|
+
* @isdatamanager false
|
|
122
|
+
* @default []
|
|
123
|
+
*/
|
|
124
|
+
dataSource?: Record<string, any>[];
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Specifies the template option for carousel items.
|
|
128
|
+
*
|
|
129
|
+
* @default null
|
|
130
|
+
*/
|
|
131
|
+
itemTemplate?: string;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Specifies index of the current carousel item.
|
|
135
|
+
*
|
|
136
|
+
* @default 0
|
|
137
|
+
*/
|
|
138
|
+
selectedIndex?: number;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Specifies the width of the Carousel in pixels/number/percentage. The number value is considered as pixels.
|
|
142
|
+
*
|
|
143
|
+
* @default '100%'
|
|
144
|
+
*/
|
|
145
|
+
width?: string | number;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Specifies the height of the Carousel in pixels/number/percentage. The number value is considered as pixels.
|
|
149
|
+
*
|
|
150
|
+
* @default '100%'
|
|
151
|
+
*/
|
|
152
|
+
height?: string | number;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Specifies the interval duration in milliseconds for carousel item transition.
|
|
156
|
+
*
|
|
157
|
+
* @default 5000
|
|
158
|
+
*/
|
|
159
|
+
interval?: number;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Defines whether the slide transition is automatic or manual.
|
|
163
|
+
*
|
|
164
|
+
* @default true
|
|
165
|
+
*/
|
|
166
|
+
autoPlay?: boolean;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Defines whether the slide transitions loop end or not. When set to false, the transition stops at last slide.
|
|
170
|
+
*
|
|
171
|
+
* @default true
|
|
172
|
+
*/
|
|
173
|
+
loop?: boolean;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Defines whether to show play button or not.
|
|
177
|
+
*
|
|
178
|
+
* @default false
|
|
179
|
+
*/
|
|
180
|
+
showPlayButton?: boolean;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Defines whether to enable swipe action in touch devices or not.
|
|
184
|
+
*
|
|
185
|
+
* @default true
|
|
186
|
+
*/
|
|
187
|
+
enableTouchSwipe?: boolean;
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Defines whether to show the indicator positions or not. The indicator positions allow to know the current slide position of the carousel component.
|
|
191
|
+
*
|
|
192
|
+
* @default true
|
|
193
|
+
*/
|
|
194
|
+
showIndicators?: boolean;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Defines how to show the previous, next and play pause buttons visibility. The possible values for this property as follows
|
|
198
|
+
* * Hidden
|
|
199
|
+
* * Visible
|
|
200
|
+
* * VisibleOnHover
|
|
201
|
+
*
|
|
202
|
+
* @default 'Visible'
|
|
203
|
+
*/
|
|
204
|
+
buttonsVisibility?: CarouselButtonVisibility;
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Accepts HTML attributes/custom attributes to add in individual carousel item.
|
|
208
|
+
*
|
|
209
|
+
* @default null
|
|
210
|
+
*/
|
|
211
|
+
htmlAttributes?: Record<string, string>;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* The event will be fired before the slide change.
|
|
215
|
+
*
|
|
216
|
+
* @event slideChanging
|
|
217
|
+
*/
|
|
218
|
+
slideChanging?: EmitType<SlideChangingEventArgs>;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* The event will be fired after the slide changed.
|
|
222
|
+
*
|
|
223
|
+
* @event slideChanged
|
|
224
|
+
*/
|
|
225
|
+
slideChanged?: EmitType<SlideChangedEventArgs>;
|
|
226
|
+
|
|
227
|
+
}
|
|
@@ -0,0 +1,338 @@
|
|
|
1
|
+
import { Component, EmitType, INotifyPropertyChanged } from '@syncfusion/ej2-base';
|
|
2
|
+
import { ChildProperty } from '@syncfusion/ej2-base';
|
|
3
|
+
import { BaseEventArgs } from '@syncfusion/ej2-base';
|
|
4
|
+
import { CarouselModel, CarouselItemModel, CarouselAnimationSettingsModel } from './carousel-model';
|
|
5
|
+
/**
|
|
6
|
+
* Specifies the direction of previous/next button navigations in carousel.
|
|
7
|
+
*
|
|
8
|
+
* * `Previous` - To determine the previous direction of carousel item transition.
|
|
9
|
+
* * `Next` - To determine the next direction of carousel item transition.
|
|
10
|
+
*/
|
|
11
|
+
export declare type CarouselSlideDirection = 'Previous' | 'Next';
|
|
12
|
+
/**
|
|
13
|
+
* Specifies the state of navigation buttons displayed in carousel.
|
|
14
|
+
*
|
|
15
|
+
* * `Hidden` - Navigation buttons are hidden.
|
|
16
|
+
* * `Visible` - Navigation buttons are visible.
|
|
17
|
+
* * `VisibleOnHover` - Navigation buttons are visible only when we hover the carousel.
|
|
18
|
+
*/
|
|
19
|
+
export declare type CarouselButtonVisibility = 'Hidden' | 'Visible' | 'VisibleOnHover';
|
|
20
|
+
/**
|
|
21
|
+
* Specifies the animation effects of carousel slide.
|
|
22
|
+
*
|
|
23
|
+
* * `None` - The carousel item transition happens without animation.
|
|
24
|
+
* * `Slide` - The carousel item transition happens with slide animation.
|
|
25
|
+
* * `Fade` - The Carousel item transition happens with fade animation.
|
|
26
|
+
*/
|
|
27
|
+
export declare type CarouselAnimationEffect = 'None' | 'Fade' | 'Slide';
|
|
28
|
+
/** An interface that holds details when changing the slide. */
|
|
29
|
+
export interface SlideChangingEventArgs extends BaseEventArgs {
|
|
30
|
+
/** Specifies the index of current slide. */
|
|
31
|
+
currentIndex: number;
|
|
32
|
+
/** Specifies the element of current slide. */
|
|
33
|
+
currentSlide: HTMLElement;
|
|
34
|
+
/** Specifies the index of slide to be changed. */
|
|
35
|
+
nextIndex: number;
|
|
36
|
+
/** Specifies the element of slide to be changed. */
|
|
37
|
+
nextSlide: HTMLElement;
|
|
38
|
+
/** Specifies whether the slide transition occur through swiping or not. */
|
|
39
|
+
isSwiped: boolean;
|
|
40
|
+
/** Specifies the slide direction in which transition occurs. */
|
|
41
|
+
slideDirection: CarouselSlideDirection;
|
|
42
|
+
/** Specifies whether the slide transition should occur or not. */
|
|
43
|
+
cancel: boolean;
|
|
44
|
+
}
|
|
45
|
+
/** An interface that holds details once slide change done. */
|
|
46
|
+
export interface SlideChangedEventArgs extends BaseEventArgs {
|
|
47
|
+
/** Specifies the index of current slide. */
|
|
48
|
+
currentIndex: number;
|
|
49
|
+
/** Specifies the element of current slide. */
|
|
50
|
+
currentSlide: HTMLElement;
|
|
51
|
+
/** Specifies the index of slide from which it changed. */
|
|
52
|
+
previousIndex: number;
|
|
53
|
+
/** Specifies the element of slide from which it changed. */
|
|
54
|
+
previousSlide: HTMLElement;
|
|
55
|
+
/** Specifies whether the slide transition done through swiping or not. */
|
|
56
|
+
isSwiped: boolean;
|
|
57
|
+
/** Specifies the slide direction in which transition occurred. */
|
|
58
|
+
slideDirection: CarouselSlideDirection;
|
|
59
|
+
}
|
|
60
|
+
/** Specifies the carousel individual item. */
|
|
61
|
+
export declare class CarouselItem extends ChildProperty<CarouselItem> {
|
|
62
|
+
/**
|
|
63
|
+
* Accepts single/multiple classes (separated by a space) to be used for individual carousel item customization.
|
|
64
|
+
*
|
|
65
|
+
* @default null
|
|
66
|
+
*/
|
|
67
|
+
cssClass: string;
|
|
68
|
+
/**
|
|
69
|
+
* Accepts the interval duration in milliseconds for individual carousel item transition.
|
|
70
|
+
*
|
|
71
|
+
* @default null
|
|
72
|
+
*/
|
|
73
|
+
interval: number;
|
|
74
|
+
/**
|
|
75
|
+
* Accepts the template for individual carousel item.
|
|
76
|
+
*
|
|
77
|
+
* @default null
|
|
78
|
+
*/
|
|
79
|
+
template: string;
|
|
80
|
+
/**
|
|
81
|
+
* Accepts HTML attributes/custom attributes to add in individual carousel item.
|
|
82
|
+
*
|
|
83
|
+
* @default null
|
|
84
|
+
*/
|
|
85
|
+
htmlAttributes: Record<string, string>;
|
|
86
|
+
}
|
|
87
|
+
/** Specifies the animation configuration for carousel items. */
|
|
88
|
+
export declare class CarouselAnimationSettings extends ChildProperty<CarouselAnimationSettings> {
|
|
89
|
+
/**
|
|
90
|
+
* Specifies the type of animation. The possible values for this property as follows
|
|
91
|
+
* * None
|
|
92
|
+
* * Slide
|
|
93
|
+
* * Fade
|
|
94
|
+
*
|
|
95
|
+
* @default 'Slide'
|
|
96
|
+
*/
|
|
97
|
+
effect: CarouselAnimationEffect;
|
|
98
|
+
/**
|
|
99
|
+
* Specifies the custom animation effect.
|
|
100
|
+
*
|
|
101
|
+
* @default null
|
|
102
|
+
*/
|
|
103
|
+
customEffect: string;
|
|
104
|
+
}
|
|
105
|
+
export declare class Carousel extends Component<HTMLElement> implements INotifyPropertyChanged {
|
|
106
|
+
private autoSlideInterval;
|
|
107
|
+
private slideItems;
|
|
108
|
+
private touchModule;
|
|
109
|
+
private keyModule;
|
|
110
|
+
private keyConfigs;
|
|
111
|
+
private slideChangedEventArgs;
|
|
112
|
+
private localeObj;
|
|
113
|
+
/**
|
|
114
|
+
* Allows defining the collection of carousel item to be displayed on the Carousel.
|
|
115
|
+
*
|
|
116
|
+
* @default []
|
|
117
|
+
*/
|
|
118
|
+
items: CarouselItemModel[];
|
|
119
|
+
/**
|
|
120
|
+
* Specifies the animation setting for the carousel component.
|
|
121
|
+
*
|
|
122
|
+
* @default { effect: 'Slide', customEffect: null }
|
|
123
|
+
*/
|
|
124
|
+
animation: CarouselAnimationSettingsModel;
|
|
125
|
+
/**
|
|
126
|
+
* Accepts the template for previous navigation button.
|
|
127
|
+
*
|
|
128
|
+
* @default null
|
|
129
|
+
*/
|
|
130
|
+
previousButtonTemplate: string;
|
|
131
|
+
/**
|
|
132
|
+
* Accepts the template for next navigation button.
|
|
133
|
+
*
|
|
134
|
+
* @default null
|
|
135
|
+
*/
|
|
136
|
+
nextButtonTemplate: string;
|
|
137
|
+
/**
|
|
138
|
+
* Accepts the template for indicator buttons.
|
|
139
|
+
*
|
|
140
|
+
* @default null
|
|
141
|
+
*/
|
|
142
|
+
indicatorsTemplate: string;
|
|
143
|
+
/**
|
|
144
|
+
* Accepts the template for play/pause button.
|
|
145
|
+
*
|
|
146
|
+
* @default null
|
|
147
|
+
*/
|
|
148
|
+
playButtonTemplate: string;
|
|
149
|
+
/**
|
|
150
|
+
* Accepts single/multiple classes (separated by a space) to be used for carousel customization.
|
|
151
|
+
*
|
|
152
|
+
* @default null
|
|
153
|
+
*/
|
|
154
|
+
cssClass: string;
|
|
155
|
+
/**
|
|
156
|
+
* Specifies the datasource for the carousel items.
|
|
157
|
+
*
|
|
158
|
+
* @isdatamanager false
|
|
159
|
+
* @default []
|
|
160
|
+
*/
|
|
161
|
+
dataSource: Record<string, any>[];
|
|
162
|
+
/**
|
|
163
|
+
* Specifies the template option for carousel items.
|
|
164
|
+
*
|
|
165
|
+
* @default null
|
|
166
|
+
*/
|
|
167
|
+
itemTemplate: string;
|
|
168
|
+
/**
|
|
169
|
+
* Specifies index of the current carousel item.
|
|
170
|
+
*
|
|
171
|
+
* @default 0
|
|
172
|
+
*/
|
|
173
|
+
selectedIndex: number;
|
|
174
|
+
/**
|
|
175
|
+
* Specifies the width of the Carousel in pixels/number/percentage. The number value is considered as pixels.
|
|
176
|
+
*
|
|
177
|
+
* @default '100%'
|
|
178
|
+
*/
|
|
179
|
+
width: string | number;
|
|
180
|
+
/**
|
|
181
|
+
* Specifies the height of the Carousel in pixels/number/percentage. The number value is considered as pixels.
|
|
182
|
+
*
|
|
183
|
+
* @default '100%'
|
|
184
|
+
*/
|
|
185
|
+
height: string | number;
|
|
186
|
+
/**
|
|
187
|
+
* Specifies the interval duration in milliseconds for carousel item transition.
|
|
188
|
+
*
|
|
189
|
+
* @default 5000
|
|
190
|
+
*/
|
|
191
|
+
interval: number;
|
|
192
|
+
/**
|
|
193
|
+
* Defines whether the slide transition is automatic or manual.
|
|
194
|
+
*
|
|
195
|
+
* @default true
|
|
196
|
+
*/
|
|
197
|
+
autoPlay: boolean;
|
|
198
|
+
/**
|
|
199
|
+
* Defines whether the slide transitions loop end or not. When set to false, the transition stops at last slide.
|
|
200
|
+
*
|
|
201
|
+
* @default true
|
|
202
|
+
*/
|
|
203
|
+
loop: boolean;
|
|
204
|
+
/**
|
|
205
|
+
* Defines whether to show play button or not.
|
|
206
|
+
*
|
|
207
|
+
* @default false
|
|
208
|
+
*/
|
|
209
|
+
showPlayButton: boolean;
|
|
210
|
+
/**
|
|
211
|
+
* Defines whether to enable swipe action in touch devices or not.
|
|
212
|
+
*
|
|
213
|
+
* @default true
|
|
214
|
+
*/
|
|
215
|
+
enableTouchSwipe: boolean;
|
|
216
|
+
/**
|
|
217
|
+
* Defines whether to show the indicator positions or not. The indicator positions allow to know the current slide position of the carousel component.
|
|
218
|
+
*
|
|
219
|
+
* @default true
|
|
220
|
+
*/
|
|
221
|
+
showIndicators: boolean;
|
|
222
|
+
/**
|
|
223
|
+
* Defines how to show the previous, next and play pause buttons visibility. The possible values for this property as follows
|
|
224
|
+
* * Hidden
|
|
225
|
+
* * Visible
|
|
226
|
+
* * VisibleOnHover
|
|
227
|
+
*
|
|
228
|
+
* @default 'Visible'
|
|
229
|
+
*/
|
|
230
|
+
buttonsVisibility: CarouselButtonVisibility;
|
|
231
|
+
/**
|
|
232
|
+
* Accepts HTML attributes/custom attributes to add in individual carousel item.
|
|
233
|
+
*
|
|
234
|
+
* @default null
|
|
235
|
+
*/
|
|
236
|
+
htmlAttributes: Record<string, string>;
|
|
237
|
+
/**
|
|
238
|
+
* The event will be fired before the slide change.
|
|
239
|
+
*
|
|
240
|
+
* @event slideChanging
|
|
241
|
+
*/
|
|
242
|
+
slideChanging: EmitType<SlideChangingEventArgs>;
|
|
243
|
+
/**
|
|
244
|
+
* The event will be fired after the slide changed.
|
|
245
|
+
*
|
|
246
|
+
* @event slideChanged
|
|
247
|
+
*/
|
|
248
|
+
slideChanged: EmitType<SlideChangedEventArgs>;
|
|
249
|
+
/**
|
|
250
|
+
* Constructor for creating the Carousel widget
|
|
251
|
+
*
|
|
252
|
+
* @param {CarouselModel} options Accepts the carousel model properties to initiate the rendering
|
|
253
|
+
* @param {string | HTMLElement} element Accepts the DOM element reference
|
|
254
|
+
*/
|
|
255
|
+
constructor(options?: CarouselModel, element?: string | HTMLElement);
|
|
256
|
+
protected getModuleName(): string;
|
|
257
|
+
protected getPersistData(): string;
|
|
258
|
+
protected preRender(): void;
|
|
259
|
+
protected render(): void;
|
|
260
|
+
onPropertyChanged(newProp: CarouselModel, oldProp: CarouselModel): void;
|
|
261
|
+
private initialize;
|
|
262
|
+
private renderSlides;
|
|
263
|
+
private renderSlide;
|
|
264
|
+
private renderNavigators;
|
|
265
|
+
private renderNavigatorButton;
|
|
266
|
+
private renderPlayButton;
|
|
267
|
+
private renderIndicators;
|
|
268
|
+
private renderKeyboardActions;
|
|
269
|
+
private renderTouchActions;
|
|
270
|
+
private applyAnimation;
|
|
271
|
+
private autoSlide;
|
|
272
|
+
private autoSlideChange;
|
|
273
|
+
private applySlideInterval;
|
|
274
|
+
private resetSlideInterval;
|
|
275
|
+
private getSlideIndex;
|
|
276
|
+
private setActiveSlide;
|
|
277
|
+
private onTransitionEnd;
|
|
278
|
+
private setHtmlAttributes;
|
|
279
|
+
private templateParser;
|
|
280
|
+
private getNavigatorState;
|
|
281
|
+
private navigatorClickHandler;
|
|
282
|
+
private indicatorClickHandler;
|
|
283
|
+
private playButtonClickHandler;
|
|
284
|
+
private keyHandler;
|
|
285
|
+
private swipeHandler;
|
|
286
|
+
private isSuspendSlideTransition;
|
|
287
|
+
private handleNavigatorsActions;
|
|
288
|
+
private onHoverActions;
|
|
289
|
+
private onFocusActions;
|
|
290
|
+
private destroyButtons;
|
|
291
|
+
private wireEvents;
|
|
292
|
+
private unWireEvents;
|
|
293
|
+
/**
|
|
294
|
+
* Method to transit from the current slide to the previous slide.
|
|
295
|
+
*
|
|
296
|
+
* @returns {void}
|
|
297
|
+
*/
|
|
298
|
+
prev(): void;
|
|
299
|
+
/**
|
|
300
|
+
* Method to transit from the current slide to the next slide.
|
|
301
|
+
*
|
|
302
|
+
* @returns {void}
|
|
303
|
+
*/
|
|
304
|
+
next(): void;
|
|
305
|
+
/**
|
|
306
|
+
* Method to play the slides programmatically.
|
|
307
|
+
*
|
|
308
|
+
* @returns {void}
|
|
309
|
+
*/
|
|
310
|
+
play(): void;
|
|
311
|
+
/**
|
|
312
|
+
* Method to pause the slides programmatically.
|
|
313
|
+
*
|
|
314
|
+
* @returns {void}
|
|
315
|
+
*/
|
|
316
|
+
pause(): void;
|
|
317
|
+
/**
|
|
318
|
+
* Method to render react and angular templates
|
|
319
|
+
*
|
|
320
|
+
* @returns {void}
|
|
321
|
+
* @private
|
|
322
|
+
*/
|
|
323
|
+
private renderTemplates;
|
|
324
|
+
/**
|
|
325
|
+
* Method to reset react and angular templates
|
|
326
|
+
*
|
|
327
|
+
* @param {string[]} templates Accepts the template ID
|
|
328
|
+
* @returns {void}
|
|
329
|
+
* @private
|
|
330
|
+
*/
|
|
331
|
+
private resetTemplates;
|
|
332
|
+
/**
|
|
333
|
+
* Method for destroy the carousel component.
|
|
334
|
+
*
|
|
335
|
+
* @returns {void}
|
|
336
|
+
*/
|
|
337
|
+
destroy(): void;
|
|
338
|
+
}
|