@syncfusion/ej2-navigations 21.2.9 → 22.1.34

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.
Files changed (343) hide show
  1. package/.eslintrc.json +1 -0
  2. package/CHANGELOG.md +9 -0
  3. package/dist/ej2-navigations.min.js +2 -2
  4. package/dist/ej2-navigations.umd.min.js +2 -2
  5. package/dist/ej2-navigations.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-navigations.es2015.js +288 -93
  7. package/dist/es6/ej2-navigations.es2015.js.map +1 -1
  8. package/dist/es6/ej2-navigations.es5.js +292 -94
  9. package/dist/es6/ej2-navigations.es5.js.map +1 -1
  10. package/dist/global/ej2-navigations.min.js +2 -2
  11. package/dist/global/ej2-navigations.min.js.map +1 -1
  12. package/dist/global/index.d.ts +1 -1
  13. package/package.json +11 -11
  14. package/src/accordion/accordion-model.d.ts +4 -2
  15. package/src/accordion/accordion.d.ts +4 -2
  16. package/src/accordion/accordion.js +1 -1
  17. package/src/breadcrumb/breadcrumb-model.d.ts +4 -2
  18. package/src/breadcrumb/breadcrumb.d.ts +4 -2
  19. package/src/carousel/carousel-model.d.ts +37 -8
  20. package/src/carousel/carousel.d.ts +69 -6
  21. package/src/carousel/carousel.js +287 -89
  22. package/src/common/menu-base-model.d.ts +2 -1
  23. package/src/common/menu-base.d.ts +2 -1
  24. package/src/common/menu-base.js +2 -2
  25. package/src/menu/menu-model.d.ts +3 -2
  26. package/src/menu/menu.d.ts +2 -1
  27. package/src/menu/menu.js +1 -1
  28. package/src/sidebar/sidebar.d.ts +12 -26
  29. package/src/tab/tab-model.d.ts +3 -2
  30. package/src/tab/tab.d.ts +3 -2
  31. package/src/toolbar/toolbar-model.d.ts +3 -1
  32. package/src/toolbar/toolbar.d.ts +3 -1
  33. package/src/treeview/treeview-model.d.ts +4 -1
  34. package/src/treeview/treeview.d.ts +17 -31
  35. package/src/treeview/treeview.js +1 -1
  36. package/styles/accordion/_bootstrap-dark-definition.scss +3 -1
  37. package/styles/accordion/_bootstrap-definition.scss +3 -1
  38. package/styles/accordion/_bootstrap4-definition.scss +2 -0
  39. package/styles/accordion/_bootstrap5-definition.scss +3 -1
  40. package/styles/accordion/_fabric-dark-definition.scss +2 -0
  41. package/styles/accordion/_fabric-definition.scss +2 -0
  42. package/styles/accordion/_fluent-definition.scss +2 -0
  43. package/styles/accordion/_fusionnew-definition.scss +2 -0
  44. package/styles/accordion/_highcontrast-definition.scss +2 -0
  45. package/styles/accordion/_highcontrast-light-definition.scss +2 -0
  46. package/styles/accordion/_layout.scss +9 -0
  47. package/styles/accordion/_material-dark-definition.scss +2 -0
  48. package/styles/accordion/_material-definition.scss +2 -0
  49. package/styles/accordion/_material3-dark-definition.scss +1 -0
  50. package/styles/accordion/_material3-definition.scss +182 -0
  51. package/styles/accordion/_tailwind-definition.scss +2 -0
  52. package/styles/accordion/_theme.scss +9 -0
  53. package/styles/accordion/bootstrap-dark.css +11 -1
  54. package/styles/accordion/bootstrap.css +11 -1
  55. package/styles/accordion/bootstrap4.css +10 -0
  56. package/styles/accordion/bootstrap5-dark.css +11 -1
  57. package/styles/accordion/bootstrap5.css +11 -1
  58. package/styles/accordion/fabric-dark.css +10 -0
  59. package/styles/accordion/fabric.css +10 -0
  60. package/styles/accordion/fluent-dark.css +10 -0
  61. package/styles/accordion/fluent.css +10 -0
  62. package/styles/accordion/highcontrast-light.css +10 -0
  63. package/styles/accordion/highcontrast.css +10 -0
  64. package/styles/accordion/icons/_material3-dark.scss +1 -0
  65. package/styles/accordion/material-dark.css +10 -0
  66. package/styles/accordion/material.css +10 -0
  67. package/styles/accordion/material3-dark.css +596 -0
  68. package/styles/accordion/material3-dark.scss +5 -0
  69. package/styles/accordion/material3.css +652 -0
  70. package/styles/accordion/material3.scss +5 -0
  71. package/styles/accordion/tailwind-dark.css +10 -0
  72. package/styles/accordion/tailwind.css +10 -0
  73. package/styles/appbar/_layout.scss +6 -1
  74. package/styles/appbar/_material3-dark-definition.scss +1 -0
  75. package/styles/appbar/_material3-definition.scss +8 -0
  76. package/styles/appbar/_theme.scss +12 -2
  77. package/styles/appbar/bootstrap-dark.css +7 -3
  78. package/styles/appbar/bootstrap.css +7 -3
  79. package/styles/appbar/bootstrap4.css +7 -3
  80. package/styles/appbar/bootstrap5-dark.css +7 -3
  81. package/styles/appbar/bootstrap5.css +7 -3
  82. package/styles/appbar/fabric-dark.css +7 -3
  83. package/styles/appbar/fabric.css +7 -3
  84. package/styles/appbar/fluent-dark.css +7 -3
  85. package/styles/appbar/fluent.css +7 -3
  86. package/styles/appbar/highcontrast-light.css +7 -3
  87. package/styles/appbar/highcontrast.css +7 -3
  88. package/styles/appbar/material-dark.css +7 -3
  89. package/styles/appbar/material.css +7 -3
  90. package/styles/appbar/material3-dark.css +307 -0
  91. package/styles/appbar/material3-dark.scss +4 -0
  92. package/styles/appbar/material3.css +363 -0
  93. package/styles/appbar/material3.scss +4 -0
  94. package/styles/appbar/tailwind-dark.css +7 -3
  95. package/styles/appbar/tailwind.css +7 -3
  96. package/styles/bootstrap-dark.css +185 -126
  97. package/styles/bootstrap.css +185 -126
  98. package/styles/bootstrap4.css +183 -124
  99. package/styles/bootstrap5-dark.css +179 -120
  100. package/styles/bootstrap5.css +179 -120
  101. package/styles/breadcrumb/_material3-dark-definition.scss +1 -0
  102. package/styles/breadcrumb/_material3-definition.scss +60 -0
  103. package/styles/breadcrumb/_theme.scss +13 -11
  104. package/styles/breadcrumb/bootstrap-dark.css +9 -9
  105. package/styles/breadcrumb/bootstrap.css +9 -9
  106. package/styles/breadcrumb/bootstrap4.css +9 -9
  107. package/styles/breadcrumb/bootstrap5-dark.css +8 -8
  108. package/styles/breadcrumb/bootstrap5.css +8 -8
  109. package/styles/breadcrumb/fabric-dark.css +7 -7
  110. package/styles/breadcrumb/fabric.css +7 -7
  111. package/styles/breadcrumb/fluent-dark.css +5 -5
  112. package/styles/breadcrumb/fluent.css +5 -5
  113. package/styles/breadcrumb/highcontrast-light.css +7 -7
  114. package/styles/breadcrumb/highcontrast.css +7 -7
  115. package/styles/breadcrumb/icons/_material3-dark.scss +1 -0
  116. package/styles/breadcrumb/icons/_material3.scss +0 -11
  117. package/styles/breadcrumb/material-dark.css +9 -9
  118. package/styles/breadcrumb/material.css +9 -9
  119. package/styles/breadcrumb/material3-dark.css +424 -0
  120. package/styles/breadcrumb/material3-dark.scss +5 -0
  121. package/styles/breadcrumb/material3.css +480 -0
  122. package/styles/breadcrumb/material3.scss +5 -0
  123. package/styles/breadcrumb/tailwind-dark.css +8 -8
  124. package/styles/breadcrumb/tailwind.css +8 -8
  125. package/styles/carousel/_bootstrap-dark-definition.scss +5 -0
  126. package/styles/carousel/_bootstrap-definition.scss +5 -0
  127. package/styles/carousel/_bootstrap4-definition.scss +5 -0
  128. package/styles/carousel/_bootstrap5-definition.scss +5 -0
  129. package/styles/carousel/_fabric-dark-definition.scss +5 -0
  130. package/styles/carousel/_fabric-definition.scss +5 -0
  131. package/styles/carousel/_fluent-definition.scss +5 -0
  132. package/styles/carousel/_fusionnew-definition.scss +5 -0
  133. package/styles/carousel/_highcontrast-definition.scss +5 -0
  134. package/styles/carousel/_highcontrast-light-definition.scss +5 -0
  135. package/styles/carousel/_layout.scss +96 -67
  136. package/styles/carousel/_material-dark-definition.scss +5 -0
  137. package/styles/carousel/_material-definition.scss +5 -0
  138. package/styles/carousel/_material3-dark-definition.scss +1 -0
  139. package/styles/carousel/_material3-definition.scss +28 -0
  140. package/styles/carousel/_tailwind-definition.scss +5 -0
  141. package/styles/carousel/_theme.scss +49 -20
  142. package/styles/carousel/bootstrap-dark.css +101 -62
  143. package/styles/carousel/bootstrap.css +101 -62
  144. package/styles/carousel/bootstrap4.css +101 -62
  145. package/styles/carousel/bootstrap5-dark.css +101 -62
  146. package/styles/carousel/bootstrap5.css +101 -62
  147. package/styles/carousel/fabric-dark.css +101 -62
  148. package/styles/carousel/fabric.css +101 -62
  149. package/styles/carousel/fluent-dark.css +101 -62
  150. package/styles/carousel/fluent.css +101 -62
  151. package/styles/carousel/highcontrast-light.css +101 -62
  152. package/styles/carousel/highcontrast.css +101 -62
  153. package/styles/carousel/icons/_material3-dark.scss +1 -0
  154. package/styles/carousel/material-dark.css +101 -62
  155. package/styles/carousel/material.css +101 -62
  156. package/styles/carousel/material3-dark.css +359 -0
  157. package/styles/carousel/material3-dark.scss +6 -0
  158. package/styles/carousel/material3.css +415 -0
  159. package/styles/carousel/material3.scss +6 -0
  160. package/styles/carousel/tailwind-dark.css +101 -62
  161. package/styles/carousel/tailwind.css +101 -62
  162. package/styles/context-menu/_layout.scss +2 -2
  163. package/styles/context-menu/_material3-dark-definition.scss +1 -0
  164. package/styles/context-menu/_material3-definition.scss +52 -0
  165. package/styles/context-menu/_theme.scss +6 -1
  166. package/styles/context-menu/icons/_material3-dark.scss +1 -0
  167. package/styles/context-menu/material3-dark.css +435 -0
  168. package/styles/context-menu/material3-dark.scss +8 -0
  169. package/styles/context-menu/material3.css +491 -0
  170. package/styles/context-menu/material3.scss +8 -0
  171. package/styles/fabric-dark.css +186 -127
  172. package/styles/fabric.css +185 -126
  173. package/styles/fluent-dark.css +179 -120
  174. package/styles/fluent.css +179 -120
  175. package/styles/h-scroll/_material3-dark-definition.scss +1 -0
  176. package/styles/h-scroll/_material3-definition.scss +83 -0
  177. package/styles/h-scroll/icons/_material3-dark.scss +1 -0
  178. package/styles/h-scroll/material3-dark.css +336 -0
  179. package/styles/h-scroll/material3-dark.scss +5 -0
  180. package/styles/h-scroll/material3.css +392 -0
  181. package/styles/h-scroll/material3.scss +5 -0
  182. package/styles/highcontrast-light.css +178 -119
  183. package/styles/highcontrast.css +182 -123
  184. package/styles/material-dark.css +189 -130
  185. package/styles/material.css +188 -129
  186. package/styles/material3-dark.css +10343 -0
  187. package/styles/material3-dark.scss +15 -0
  188. package/styles/material3.css +10399 -0
  189. package/styles/material3.scss +15 -0
  190. package/styles/menu/_layout.scss +7 -0
  191. package/styles/menu/_material3-dark-definition.scss +1 -0
  192. package/styles/menu/_material3-definition.scss +67 -0
  193. package/styles/menu/_theme.scss +5 -2
  194. package/styles/menu/bootstrap-dark.css +4 -0
  195. package/styles/menu/bootstrap.css +4 -0
  196. package/styles/menu/bootstrap4.css +4 -0
  197. package/styles/menu/bootstrap5-dark.css +4 -0
  198. package/styles/menu/bootstrap5.css +4 -0
  199. package/styles/menu/fabric-dark.css +4 -0
  200. package/styles/menu/fabric.css +4 -0
  201. package/styles/menu/fluent-dark.css +4 -0
  202. package/styles/menu/fluent.css +4 -0
  203. package/styles/menu/highcontrast-light.css +4 -0
  204. package/styles/menu/highcontrast.css +4 -0
  205. package/styles/menu/icons/_material3-dark.scss +1 -0
  206. package/styles/menu/material-dark.css +4 -0
  207. package/styles/menu/material.css +4 -0
  208. package/styles/menu/material3-dark.css +1162 -0
  209. package/styles/menu/material3-dark.scss +9 -0
  210. package/styles/menu/material3.css +1218 -0
  211. package/styles/menu/material3.scss +9 -0
  212. package/styles/menu/tailwind-dark.css +4 -0
  213. package/styles/menu/tailwind.css +4 -0
  214. package/styles/pager/_bootstrap-dark-definition.scss +9 -5
  215. package/styles/pager/_bootstrap-definition.scss +9 -5
  216. package/styles/pager/_bootstrap4-definition.scss +8 -4
  217. package/styles/pager/_bootstrap5-definition.scss +4 -0
  218. package/styles/pager/_fabric-dark-definition.scss +10 -6
  219. package/styles/pager/_fabric-definition.scss +10 -6
  220. package/styles/pager/_fluent-definition.scss +8 -4
  221. package/styles/pager/_fusionnew-definition.scss +4 -0
  222. package/styles/pager/_highcontrast-definition.scss +8 -4
  223. package/styles/pager/_highcontrast-light-definition.scss +4 -0
  224. package/styles/pager/_layout.scss +63 -48
  225. package/styles/pager/_material-dark-definition.scss +12 -8
  226. package/styles/pager/_material-definition.scss +11 -7
  227. package/styles/pager/_material3-dark-definition.scss +1 -0
  228. package/styles/pager/_material3-definition.scss +150 -0
  229. package/styles/pager/_tailwind-definition.scss +9 -5
  230. package/styles/pager/_theme.scss +12 -5
  231. package/styles/pager/bootstrap-dark.css +15 -43
  232. package/styles/pager/bootstrap.css +15 -43
  233. package/styles/pager/bootstrap4.css +14 -42
  234. package/styles/pager/bootstrap5-dark.css +10 -38
  235. package/styles/pager/bootstrap5.css +10 -38
  236. package/styles/pager/fabric-dark.css +17 -45
  237. package/styles/pager/fabric.css +16 -44
  238. package/styles/pager/fluent-dark.css +14 -42
  239. package/styles/pager/fluent.css +14 -42
  240. package/styles/pager/highcontrast-light.css +10 -38
  241. package/styles/pager/highcontrast.css +14 -42
  242. package/styles/pager/icons/_material3-dark.scss +1 -0
  243. package/styles/pager/icons/_material3.scss +4 -4
  244. package/styles/pager/material-dark.css +18 -46
  245. package/styles/pager/material.css +17 -45
  246. package/styles/pager/material3-dark.css +765 -0
  247. package/styles/pager/material3-dark.scss +5 -0
  248. package/styles/pager/material3.css +821 -0
  249. package/styles/pager/material3.scss +5 -0
  250. package/styles/pager/tailwind-dark.css +15 -43
  251. package/styles/pager/tailwind.css +15 -43
  252. package/styles/sidebar/_material3-dark-definition.scss +1 -0
  253. package/styles/sidebar/_material3-definition.scss +7 -0
  254. package/styles/sidebar/material3-dark.css +204 -0
  255. package/styles/sidebar/material3-dark.scss +4 -0
  256. package/styles/sidebar/material3.css +260 -0
  257. package/styles/sidebar/material3.scss +4 -0
  258. package/styles/tab/_bootstrap-dark-definition.scss +4 -0
  259. package/styles/tab/_bootstrap-definition.scss +4 -0
  260. package/styles/tab/_bootstrap4-definition.scss +4 -0
  261. package/styles/tab/_bootstrap5-definition.scss +4 -0
  262. package/styles/tab/_fabric-dark-definition.scss +4 -0
  263. package/styles/tab/_fabric-definition.scss +4 -0
  264. package/styles/tab/_fluent-definition.scss +4 -0
  265. package/styles/tab/_fusionnew-definition.scss +4 -0
  266. package/styles/tab/_highcontrast-definition.scss +4 -0
  267. package/styles/tab/_highcontrast-light-definition.scss +4 -0
  268. package/styles/tab/_layout.scss +37 -13
  269. package/styles/tab/_material-dark-definition.scss +4 -0
  270. package/styles/tab/_material-definition.scss +4 -0
  271. package/styles/tab/_material3-dark-definition.scss +1 -0
  272. package/styles/tab/_material3-definition.scss +661 -0
  273. package/styles/tab/_tailwind-definition.scss +4 -0
  274. package/styles/tab/_theme.scss +44 -1
  275. package/styles/tab/bootstrap-dark.css +30 -7
  276. package/styles/tab/bootstrap.css +30 -7
  277. package/styles/tab/bootstrap4.css +30 -7
  278. package/styles/tab/bootstrap5-dark.css +30 -7
  279. package/styles/tab/bootstrap5.css +30 -7
  280. package/styles/tab/fabric-dark.css +30 -7
  281. package/styles/tab/fabric.css +30 -7
  282. package/styles/tab/fluent-dark.css +30 -7
  283. package/styles/tab/fluent.css +30 -7
  284. package/styles/tab/highcontrast-light.css +30 -7
  285. package/styles/tab/highcontrast.css +30 -7
  286. package/styles/tab/icons/_material3-dark.scss +1 -0
  287. package/styles/tab/material-dark.css +30 -7
  288. package/styles/tab/material.css +30 -7
  289. package/styles/tab/material3-dark.css +4109 -0
  290. package/styles/tab/material3-dark.scss +6 -0
  291. package/styles/tab/material3.css +4165 -0
  292. package/styles/tab/material3.scss +6 -0
  293. package/styles/tab/tailwind-dark.css +29 -6
  294. package/styles/tab/tailwind.css +29 -6
  295. package/styles/tailwind-dark.css +185 -126
  296. package/styles/tailwind.css +185 -126
  297. package/styles/toolbar/_fabric-dark-definition.scss +3 -3
  298. package/styles/toolbar/_fabric-definition.scss +3 -3
  299. package/styles/toolbar/_highcontrast-definition.scss +1 -1
  300. package/styles/toolbar/_highcontrast-light-definition.scss +1 -1
  301. package/styles/toolbar/_layout.scss +8 -0
  302. package/styles/toolbar/_material-dark-definition.scss +3 -3
  303. package/styles/toolbar/_material-definition.scss +3 -3
  304. package/styles/toolbar/_material3-dark-definition.scss +1 -0
  305. package/styles/toolbar/_material3-definition.scss +220 -0
  306. package/styles/toolbar/_tailwind-definition.scss +3 -3
  307. package/styles/toolbar/_theme.scss +2 -1
  308. package/styles/toolbar/bootstrap-dark.css +8 -1
  309. package/styles/toolbar/bootstrap.css +8 -1
  310. package/styles/toolbar/bootstrap4.css +8 -1
  311. package/styles/toolbar/bootstrap5-dark.css +8 -1
  312. package/styles/toolbar/bootstrap5.css +8 -1
  313. package/styles/toolbar/fabric-dark.css +10 -3
  314. package/styles/toolbar/fabric.css +10 -3
  315. package/styles/toolbar/fluent-dark.css +8 -1
  316. package/styles/toolbar/fluent.css +8 -1
  317. package/styles/toolbar/highcontrast-light.css +9 -2
  318. package/styles/toolbar/highcontrast.css +9 -2
  319. package/styles/toolbar/icons/_material3-dark.scss +1 -0
  320. package/styles/toolbar/material-dark.css +10 -3
  321. package/styles/toolbar/material.css +10 -3
  322. package/styles/toolbar/material3-dark.css +1145 -0
  323. package/styles/toolbar/material3-dark.scss +9 -0
  324. package/styles/toolbar/material3.css +1201 -0
  325. package/styles/toolbar/material3.scss +9 -0
  326. package/styles/toolbar/tailwind-dark.css +11 -4
  327. package/styles/toolbar/tailwind.css +11 -4
  328. package/styles/treeview/_layout.scss +15 -2
  329. package/styles/treeview/_material3-dark-definition.scss +1 -0
  330. package/styles/treeview/_material3-definition.scss +121 -0
  331. package/styles/treeview/icons/_material3-dark.scss +1 -0
  332. package/styles/treeview/icons/_material3.scss +1 -1
  333. package/styles/treeview/material3-dark.css +903 -0
  334. package/styles/treeview/material3-dark.scss +7 -0
  335. package/styles/treeview/material3.css +959 -0
  336. package/styles/treeview/material3.scss +7 -0
  337. package/styles/v-scroll/_material3-dark-definition.scss +1 -0
  338. package/styles/v-scroll/_material3-definition.scss +49 -0
  339. package/styles/v-scroll/icons/_material3-dark.scss +1 -0
  340. package/styles/v-scroll/material3-dark.css +258 -0
  341. package/styles/v-scroll/material3-dark.scss +5 -0
  342. package/styles/v-scroll/material3.css +314 -0
  343. package/styles/v-scroll/material3.scss +5 -0
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 21.2.9
3
+ * version : 22.1.34
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@21.2.8",
3
+ "_id": "@syncfusion/ej2-navigations@21.7.1",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-Y0QyJlwVcReJZ7MuHkXXViY7svJOa10kD3+02yxGpik+D8bP4On1czu7ZDCsMfypt/vLY0cwazXL5VorYz8piw==",
5
+ "_integrity": "sha512-cpzwfo5GZ5nlKHW65GtUPLJ1t0vVB1/KEmyReuxNoORS3MrcW57dau+1HXdw7sXgjVKOpYj0BZ27LA46SjtKDQ==",
6
6
  "_location": "/@syncfusion/ej2-navigations",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -39,8 +39,8 @@
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-21.2.8.tgz",
43
- "_shasum": "2e90b8a32c4ab7240d0b141119a28af4f113af60",
42
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-navigations/-/ej2-navigations-21.7.1.tgz",
43
+ "_shasum": "2a48594a03e3fa8a48b589fa313f46df08298186",
44
44
  "_spec": "@syncfusion/ej2-navigations@*",
45
45
  "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
46
46
  "author": {
@@ -51,12 +51,12 @@
51
51
  },
52
52
  "bundleDependencies": false,
53
53
  "dependencies": {
54
- "@syncfusion/ej2-base": "~21.2.9",
55
- "@syncfusion/ej2-buttons": "~21.2.6",
56
- "@syncfusion/ej2-data": "~21.2.9",
57
- "@syncfusion/ej2-inputs": "~21.2.9",
58
- "@syncfusion/ej2-lists": "~21.2.9",
59
- "@syncfusion/ej2-popups": "~21.2.4"
54
+ "@syncfusion/ej2-base": "~22.1.34",
55
+ "@syncfusion/ej2-buttons": "~22.1.34",
56
+ "@syncfusion/ej2-data": "~22.1.34",
57
+ "@syncfusion/ej2-inputs": "~22.1.34",
58
+ "@syncfusion/ej2-lists": "~22.1.34",
59
+ "@syncfusion/ej2-popups": "~22.1.34"
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": "21.2.9",
164
+ "version": "22.1.34",
165
165
  "sideEffects": false
166
166
  }
@@ -182,15 +182,17 @@ export interface AccordionModel extends ComponentModel{
182
182
  * Specifies the template option for accordion items.
183
183
  *
184
184
  * @default null
185
+ * @aspType string
185
186
  */
186
- itemTemplate?: string;
187
+ itemTemplate?: string | Function;
187
188
 
188
189
  /**
189
190
  * Specifies the header title template option for accordion items.
190
191
  *
191
192
  * @default null
193
+ * @aspType string
192
194
  */
193
- headerTemplate?: string;
195
+ headerTemplate?: string | Function;
194
196
 
195
197
  /**
196
198
  * Specifies the width of the Accordion in pixels/number/percentage. Number value is considered as pixels.
@@ -228,14 +228,16 @@ export declare class Accordion extends Component<HTMLElement> implements INotify
228
228
  * Specifies the template option for accordion items.
229
229
  *
230
230
  * @default null
231
+ * @aspType string
231
232
  */
232
- itemTemplate: string;
233
+ itemTemplate: string | Function;
233
234
  /**
234
235
  * Specifies the header title template option for accordion items.
235
236
  *
236
237
  * @default null
238
+ * @aspType string
237
239
  */
238
- headerTemplate: string;
240
+ headerTemplate: string | Function;
239
241
  /**
240
242
  * Specifies the width of the Accordion in pixels/number/percentage. Number value is considered as pixels.
241
243
  *
@@ -274,7 +274,7 @@ var Accordion = /** @class */ (function (_super) {
274
274
  Accordion.prototype.templateParser = function (template) {
275
275
  if (template) {
276
276
  try {
277
- if (document.querySelectorAll(template).length) {
277
+ if (typeof template !== 'function' && document.querySelectorAll(template).length) {
278
278
  return templateCompiler(document.querySelector(template).innerHTML.trim());
279
279
  }
280
280
  else {
@@ -97,15 +97,17 @@ export interface BreadcrumbModel extends ComponentModel{
97
97
  * Specifies the template for Breadcrumb item.
98
98
  *
99
99
  * @default null
100
+ * @aspType string
100
101
  */
101
- itemTemplate?: string;
102
+ itemTemplate?: string | Function;
102
103
 
103
104
  /**
104
105
  * Specifies the separator template for Breadcrumb.
105
106
  *
106
107
  * @default '/'
108
+ * @aspType string
107
109
  */
108
- separatorTemplate?: string;
110
+ separatorTemplate?: string | Function;
109
111
 
110
112
  /**
111
113
  * Enable or disable the item's navigation, when set to false, each item navigation will be prevented.
@@ -162,14 +162,16 @@ export declare class Breadcrumb extends Component<HTMLElement> implements INotif
162
162
  * Specifies the template for Breadcrumb item.
163
163
  *
164
164
  * @default null
165
+ * @aspType string
165
166
  */
166
- itemTemplate: string;
167
+ itemTemplate: string | Function;
167
168
  /**
168
169
  * Specifies the separator template for Breadcrumb.
169
170
  *
170
171
  * @default '/'
172
+ * @aspType string
171
173
  */
172
- separatorTemplate: string;
174
+ separatorTemplate: string | Function;
173
175
  /**
174
176
  * Enable or disable the item's navigation, when set to false, each item navigation will be prevented.
175
177
  *
@@ -1,5 +1,5 @@
1
- import { Component, EventHandler, Collection, Property, Event, EmitType, formatUnit, INotifyPropertyChanged, NotifyPropertyChanges } from '@syncfusion/ej2-base';import { ChildProperty, addClass, removeClass, setStyleAttribute, attributes, getUniqueID, compile, 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";
1
+ import { Component, EventHandler, Collection, Property, Event, EmitType, formatUnit, INotifyPropertyChanged, NotifyPropertyChanges, Browser } from '@syncfusion/ej2-base';import { ChildProperty, addClass, removeClass, setStyleAttribute, attributes, getUniqueID, compile, 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,CarouselIndicatorsType,CarouselButtonVisibility,CarouselSwipeMode,SlideChangingEventArgs,SlideChangedEventArgs} from "./carousel";
3
3
  import {ComponentModel} from '@syncfusion/ej2-base';
4
4
 
5
5
  /**
@@ -25,8 +25,9 @@ export interface CarouselItemModel {
25
25
  * Accepts the template for individual carousel item.
26
26
  *
27
27
  * @default null
28
+ * @aspType string
28
29
  */
29
- template?: string;
30
+ template?: string | Function;
30
31
 
31
32
  /**
32
33
  * Accepts HTML attributes/custom attributes to add in individual carousel item.
@@ -64,29 +65,33 @@ export interface CarouselModel extends ComponentModel{
64
65
  * Accepts the template for previous navigation button.
65
66
  *
66
67
  * @default null
68
+ * @aspType string
67
69
  */
68
- previousButtonTemplate?: string;
70
+ previousButtonTemplate?: string | Function;
69
71
 
70
72
  /**
71
73
  * Accepts the template for next navigation button.
72
74
  *
73
75
  * @default null
76
+ * @aspType string
74
77
  */
75
- nextButtonTemplate?: string;
78
+ nextButtonTemplate?: string | Function;
76
79
 
77
80
  /**
78
81
  * Accepts the template for indicator buttons.
79
82
  *
80
83
  * @default null
84
+ * @aspType string
81
85
  */
82
- indicatorsTemplate?: string;
86
+ indicatorsTemplate?: string | Function;
83
87
 
84
88
  /**
85
89
  * Accepts the template for play/pause button.
86
90
  *
87
91
  * @default null
92
+ * @aspType string
88
93
  */
89
- playButtonTemplate?: string;
94
+ playButtonTemplate?: string | Function;
90
95
 
91
96
  /**
92
97
  * Accepts single/multiple classes (separated by a space) to be used for carousel customization.
@@ -107,8 +112,9 @@ export interface CarouselModel extends ComponentModel{
107
112
  * Specifies the template option for carousel items.
108
113
  *
109
114
  * @default null
115
+ * @aspType string
110
116
  */
111
- itemTemplate?: string;
117
+ itemTemplate?: string | Function;
112
118
 
113
119
  /**
114
120
  * Specifies index of the current carousel item.
@@ -180,6 +186,18 @@ export interface CarouselModel extends ComponentModel{
180
186
  */
181
187
  showIndicators?: boolean;
182
188
 
189
+ /**
190
+ * Specifies the type of indicators. The available values for this property are:
191
+ *
192
+ * * `Default`: Displays the indicators with a bullet design.
193
+ * * `Dynamic`: Applies a dynamic animation design to the indicators.
194
+ * * `Fraction`: Displays the slides numerically as indicators.
195
+ * * `Progress`: Represents the slides using a progress bar design.
196
+ *
197
+ * @default 'Default'
198
+ */
199
+ indicatorsType?: CarouselIndicatorsType;
200
+
183
201
  /**
184
202
  * Defines how to show the previous, next and play pause buttons visibility. The possible values for this property as follows
185
203
  * * `Hidden`: Navigation buttons are hidden.
@@ -199,6 +217,17 @@ export interface CarouselModel extends ComponentModel{
199
217
  */
200
218
  partialVisible?: boolean;
201
219
 
220
+ /**
221
+ * Specifies whether the slide transition should occur while performing swiping via touch/mouse.
222
+ * The slide swiping is enabled or disabled using bitwise operators. The swiping is disabled using ‘~’ bitwise operator.
223
+ * * Touch - Enables or disables the swiping action in touch interaction.
224
+ * * Mouse - Enables or disables the swiping action in mouse interaction.
225
+ *
226
+ * @default 'Touch'
227
+ * @aspNumberEnum
228
+ */
229
+ swipeMode?: CarouselSwipeMode;
230
+
202
231
  /**
203
232
  * Accepts HTML attributes/custom attributes to add in individual carousel item.
204
233
  *
@@ -29,6 +29,28 @@ export declare type CarouselButtonVisibility = 'Hidden' | 'Visible' | 'VisibleOn
29
29
  * ```
30
30
  */
31
31
  export declare type CarouselAnimationEffect = 'None' | 'Slide' | 'Fade' | 'Custom';
32
+ /**
33
+ * Specifies the type of indicators.
34
+ * ```props
35
+ * Default: - Displays the indicators with a bullet design.
36
+ * Dynamic: - Applies a dynamic animation design to the indicators.
37
+ * Fraction: - Displays the slides numerically as indicators.
38
+ * Progress: - Represents the slides using a progress bar design.
39
+ * ```
40
+ */
41
+ export declare type CarouselIndicatorsType = 'Default' | 'Dynamic' | 'Fraction' | 'Progress';
42
+ /**
43
+ * Specifies the action (touch & mouse) which enables the slide swiping action in carousel.
44
+ * * Touch - Enables or disables the swiping action in touch interaction.
45
+ * * Mouse - Enables or disables the swiping action in mouse interaction.
46
+ * @aspNumberEnum
47
+ */
48
+ export declare enum CarouselSwipeMode {
49
+ /** Enables or disables the swiping action in touch interaction. */
50
+ Touch = 1,
51
+ /** Enables or disables the swiping action in mouse interaction. */
52
+ Mouse = 2
53
+ }
32
54
  /** An interface that holds details when changing the slide. */
33
55
  export interface SlideChangingEventArgs extends BaseEventArgs {
34
56
  /** Specifies the index of current slide. */
@@ -79,8 +101,9 @@ export declare class CarouselItem extends ChildProperty<CarouselItem> {
79
101
  * Accepts the template for individual carousel item.
80
102
  *
81
103
  * @default null
104
+ * @aspType string
82
105
  */
83
- template: string;
106
+ template: string | Function;
84
107
  /**
85
108
  * Accepts HTML attributes/custom attributes to add in individual carousel item.
86
109
  *
@@ -96,6 +119,11 @@ export declare class Carousel extends Component<HTMLElement> implements INotifyP
96
119
  private keyConfigs;
97
120
  private slideChangedEventArgs;
98
121
  private localeObj;
122
+ private prevPageX;
123
+ private initialTranslate;
124
+ private itemsContainer;
125
+ private isSwipe;
126
+ private timeStampStart;
99
127
  /**
100
128
  * Allows defining the collection of carousel item to be displayed on the Carousel.
101
129
  *
@@ -116,26 +144,30 @@ export declare class Carousel extends Component<HTMLElement> implements INotifyP
116
144
  * Accepts the template for previous navigation button.
117
145
  *
118
146
  * @default null
147
+ * @aspType string
119
148
  */
120
- previousButtonTemplate: string;
149
+ previousButtonTemplate: string | Function;
121
150
  /**
122
151
  * Accepts the template for next navigation button.
123
152
  *
124
153
  * @default null
154
+ * @aspType string
125
155
  */
126
- nextButtonTemplate: string;
156
+ nextButtonTemplate: string | Function;
127
157
  /**
128
158
  * Accepts the template for indicator buttons.
129
159
  *
130
160
  * @default null
161
+ * @aspType string
131
162
  */
132
- indicatorsTemplate: string;
163
+ indicatorsTemplate: string | Function;
133
164
  /**
134
165
  * Accepts the template for play/pause button.
135
166
  *
136
167
  * @default null
168
+ * @aspType string
137
169
  */
138
- playButtonTemplate: string;
170
+ playButtonTemplate: string | Function;
139
171
  /**
140
172
  * Accepts single/multiple classes (separated by a space) to be used for carousel customization.
141
173
  *
@@ -153,8 +185,9 @@ export declare class Carousel extends Component<HTMLElement> implements INotifyP
153
185
  * Specifies the template option for carousel items.
154
186
  *
155
187
  * @default null
188
+ * @aspType string
156
189
  */
157
- itemTemplate: string;
190
+ itemTemplate: string | Function;
158
191
  /**
159
192
  * Specifies index of the current carousel item.
160
193
  *
@@ -215,6 +248,17 @@ export declare class Carousel extends Component<HTMLElement> implements INotifyP
215
248
  * @default true
216
249
  */
217
250
  showIndicators: boolean;
251
+ /**
252
+ * Specifies the type of indicators. The available values for this property are:
253
+ *
254
+ * * `Default`: Displays the indicators with a bullet design.
255
+ * * `Dynamic`: Applies a dynamic animation design to the indicators.
256
+ * * `Fraction`: Displays the slides numerically as indicators.
257
+ * * `Progress`: Represents the slides using a progress bar design.
258
+ *
259
+ * @default 'Default'
260
+ */
261
+ indicatorsType: CarouselIndicatorsType;
218
262
  /**
219
263
  * Defines how to show the previous, next and play pause buttons visibility. The possible values for this property as follows
220
264
  * * `Hidden`: Navigation buttons are hidden.
@@ -232,6 +276,16 @@ export declare class Carousel extends Component<HTMLElement> implements INotifyP
232
276
  * @default false
233
277
  */
234
278
  partialVisible: boolean;
279
+ /**
280
+ * Specifies whether the slide transition should occur while performing swiping via touch/mouse.
281
+ * The slide swiping is enabled or disabled using bitwise operators. The swiping is disabled using ‘~’ bitwise operator.
282
+ * * Touch - Enables or disables the swiping action in touch interaction.
283
+ * * Mouse - Enables or disables the swiping action in mouse interaction.
284
+ *
285
+ * @default 'Touch'
286
+ * @aspNumberEnum
287
+ */
288
+ swipeMode: CarouselSwipeMode;
235
289
  /**
236
290
  * Accepts HTML attributes/custom attributes to add in individual carousel item.
237
291
  *
@@ -271,6 +325,7 @@ export declare class Carousel extends Component<HTMLElement> implements INotifyP
271
325
  private renderNavigatorButton;
272
326
  private renderPlayButton;
273
327
  private renderIndicators;
328
+ private renderIndicatorTemplate;
274
329
  private renderKeyboardActions;
275
330
  private renderTouchActions;
276
331
  private applyAnimation;
@@ -281,6 +336,7 @@ export declare class Carousel extends Component<HTMLElement> implements INotifyP
281
336
  private getSlideIndex;
282
337
  private setActiveSlide;
283
338
  private onTransitionEnd;
339
+ private refreshIndicators;
284
340
  private setHtmlAttributes;
285
341
  private templateParser;
286
342
  private getNavigatorState;
@@ -294,6 +350,13 @@ export declare class Carousel extends Component<HTMLElement> implements INotifyP
294
350
  private onHoverActions;
295
351
  private onFocusActions;
296
352
  private destroyButtons;
353
+ private getNumOfItems;
354
+ private getTranslateValue;
355
+ private swipeStart;
356
+ private swiping;
357
+ private swipStop;
358
+ private swipeNavigation;
359
+ private swipeModehandlers;
297
360
  private wireEvents;
298
361
  private unWireEvents;
299
362
  /**