@syncfusion/ej2-navigations 22.2.5 → 22.2.8-184993

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 (382) hide show
  1. package/CHANGELOG.md +97 -5
  2. package/README.md +1 -1
  3. package/dist/ej2-navigations.min.js +1 -10
  4. package/dist/ej2-navigations.umd.min.js +1 -10
  5. package/dist/ej2-navigations.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-navigations.es2015.js +189 -96
  7. package/dist/es6/ej2-navigations.es2015.js.map +1 -1
  8. package/dist/es6/ej2-navigations.es5.js +191 -94
  9. package/dist/es6/ej2-navigations.es5.js.map +1 -1
  10. package/dist/global/ej2-navigations.min.js +1 -10
  11. package/dist/global/ej2-navigations.min.js.map +1 -1
  12. package/dist/global/index.d.ts +0 -9
  13. package/package.json +165 -165
  14. package/src/accordion/accordion-model.d.ts +1 -1
  15. package/src/accordion/accordion.d.ts +3 -2
  16. package/src/accordion/accordion.js +34 -31
  17. package/src/appbar/appbar.js +1 -0
  18. package/src/breadcrumb/breadcrumb-model.d.ts +1 -1
  19. package/src/breadcrumb/breadcrumb.js +10 -2
  20. package/src/carousel/carousel.d.ts +1 -0
  21. package/src/carousel/carousel.js +12 -2
  22. package/src/common/menu-base.js +24 -10
  23. package/src/menu/menu-model.d.ts +1 -1
  24. package/src/sidebar/sidebar.js +2 -2
  25. package/src/tab/tab-model.d.ts +10 -2
  26. package/src/tab/tab.d.ts +10 -0
  27. package/src/tab/tab.js +29 -16
  28. package/src/toolbar/toolbar-model.d.ts +2 -0
  29. package/src/toolbar/toolbar.d.ts +3 -0
  30. package/src/toolbar/toolbar.js +63 -29
  31. package/src/treeview/treeview-model.d.ts +2 -2
  32. package/src/treeview/treeview.d.ts +2 -2
  33. package/src/treeview/treeview.js +19 -5
  34. package/styles/accordion/_theme.scss +5 -0
  35. package/styles/accordion/bootstrap-dark.css +3 -0
  36. package/styles/accordion/bootstrap-dark.scss +1 -1
  37. package/styles/accordion/bootstrap.css +3 -0
  38. package/styles/accordion/bootstrap.scss +1 -1
  39. package/styles/accordion/bootstrap4.css +3 -0
  40. package/styles/accordion/bootstrap4.scss +1 -1
  41. package/styles/accordion/bootstrap5-dark.css +3 -0
  42. package/styles/accordion/bootstrap5-dark.scss +1 -1
  43. package/styles/accordion/bootstrap5.css +3 -0
  44. package/styles/accordion/bootstrap5.scss +1 -1
  45. package/styles/accordion/fabric-dark.css +3 -0
  46. package/styles/accordion/fabric-dark.scss +1 -1
  47. package/styles/accordion/fabric.css +3 -0
  48. package/styles/accordion/fabric.scss +1 -1
  49. package/styles/accordion/fluent-dark.css +3 -0
  50. package/styles/accordion/fluent-dark.scss +1 -1
  51. package/styles/accordion/fluent.css +3 -0
  52. package/styles/accordion/fluent.scss +1 -1
  53. package/styles/accordion/highcontrast-light.css +3 -0
  54. package/styles/accordion/highcontrast-light.scss +1 -1
  55. package/styles/accordion/highcontrast.css +3 -0
  56. package/styles/accordion/highcontrast.scss +1 -1
  57. package/styles/accordion/material-dark.css +3 -1
  58. package/styles/accordion/material-dark.scss +1 -1
  59. package/styles/accordion/material.css +3 -1
  60. package/styles/accordion/material.scss +1 -1
  61. package/styles/accordion/material3-dark.css +3 -1
  62. package/styles/accordion/material3-dark.scss +1 -1
  63. package/styles/accordion/material3.css +3 -1
  64. package/styles/accordion/material3.scss +1 -1
  65. package/styles/accordion/tailwind-dark.css +3 -1
  66. package/styles/accordion/tailwind-dark.scss +1 -1
  67. package/styles/accordion/tailwind.css +3 -1
  68. package/styles/accordion/tailwind.scss +1 -1
  69. package/styles/appbar/bootstrap-dark.scss +1 -1
  70. package/styles/appbar/bootstrap.scss +1 -1
  71. package/styles/appbar/bootstrap4.scss +1 -1
  72. package/styles/appbar/bootstrap5-dark.scss +1 -1
  73. package/styles/appbar/bootstrap5.scss +1 -1
  74. package/styles/appbar/fabric-dark.scss +1 -1
  75. package/styles/appbar/fabric.scss +1 -1
  76. package/styles/appbar/fluent-dark.scss +1 -1
  77. package/styles/appbar/fluent.scss +1 -1
  78. package/styles/appbar/highcontrast-light.scss +1 -1
  79. package/styles/appbar/highcontrast.scss +1 -1
  80. package/styles/appbar/material-dark.css +0 -1
  81. package/styles/appbar/material-dark.scss +1 -1
  82. package/styles/appbar/material.css +0 -1
  83. package/styles/appbar/material.scss +1 -1
  84. package/styles/appbar/material3-dark.css +0 -1
  85. package/styles/appbar/material3-dark.scss +1 -1
  86. package/styles/appbar/material3.css +0 -1
  87. package/styles/appbar/material3.scss +1 -1
  88. package/styles/appbar/tailwind-dark.css +0 -1
  89. package/styles/appbar/tailwind-dark.scss +1 -1
  90. package/styles/appbar/tailwind.css +0 -1
  91. package/styles/appbar/tailwind.scss +1 -1
  92. package/styles/bootstrap-dark.css +17 -9
  93. package/styles/bootstrap.css +17 -9
  94. package/styles/bootstrap4.css +25 -14
  95. package/styles/bootstrap5-dark.css +21 -13
  96. package/styles/bootstrap5.css +21 -13
  97. package/styles/breadcrumb/bootstrap-dark.scss +1 -1
  98. package/styles/breadcrumb/bootstrap.scss +1 -1
  99. package/styles/breadcrumb/bootstrap4.scss +1 -1
  100. package/styles/breadcrumb/bootstrap5-dark.scss +1 -1
  101. package/styles/breadcrumb/bootstrap5.scss +1 -1
  102. package/styles/breadcrumb/fabric-dark.scss +1 -1
  103. package/styles/breadcrumb/fabric.scss +1 -1
  104. package/styles/breadcrumb/fluent-dark.scss +1 -1
  105. package/styles/breadcrumb/fluent.scss +1 -1
  106. package/styles/breadcrumb/highcontrast-light.scss +1 -1
  107. package/styles/breadcrumb/highcontrast.scss +1 -1
  108. package/styles/breadcrumb/material-dark.css +0 -1
  109. package/styles/breadcrumb/material-dark.scss +1 -1
  110. package/styles/breadcrumb/material.css +0 -1
  111. package/styles/breadcrumb/material.scss +1 -1
  112. package/styles/breadcrumb/material3-dark.css +0 -1
  113. package/styles/breadcrumb/material3-dark.scss +1 -1
  114. package/styles/breadcrumb/material3.css +0 -1
  115. package/styles/breadcrumb/material3.scss +1 -1
  116. package/styles/breadcrumb/tailwind-dark.css +0 -1
  117. package/styles/breadcrumb/tailwind-dark.scss +1 -1
  118. package/styles/breadcrumb/tailwind.css +0 -1
  119. package/styles/breadcrumb/tailwind.scss +1 -1
  120. package/styles/carousel/bootstrap-dark.scss +1 -1
  121. package/styles/carousel/bootstrap.scss +1 -1
  122. package/styles/carousel/bootstrap4.scss +1 -1
  123. package/styles/carousel/bootstrap5-dark.scss +1 -1
  124. package/styles/carousel/bootstrap5.scss +1 -1
  125. package/styles/carousel/fabric-dark.scss +1 -1
  126. package/styles/carousel/fabric.scss +1 -1
  127. package/styles/carousel/fluent-dark.scss +1 -1
  128. package/styles/carousel/fluent.scss +1 -1
  129. package/styles/carousel/highcontrast-light.scss +1 -1
  130. package/styles/carousel/highcontrast.scss +1 -1
  131. package/styles/carousel/material-dark.css +0 -1
  132. package/styles/carousel/material-dark.scss +1 -1
  133. package/styles/carousel/material.css +0 -1
  134. package/styles/carousel/material.scss +1 -1
  135. package/styles/carousel/material3-dark.css +0 -1
  136. package/styles/carousel/material3-dark.scss +1 -1
  137. package/styles/carousel/material3.css +0 -1
  138. package/styles/carousel/material3.scss +1 -1
  139. package/styles/carousel/tailwind-dark.css +0 -1
  140. package/styles/carousel/tailwind-dark.scss +1 -1
  141. package/styles/carousel/tailwind.css +0 -1
  142. package/styles/carousel/tailwind.scss +1 -1
  143. package/styles/context-menu/bootstrap-dark.scss +1 -1
  144. package/styles/context-menu/bootstrap.scss +1 -1
  145. package/styles/context-menu/bootstrap4.scss +1 -1
  146. package/styles/context-menu/bootstrap5-dark.scss +1 -1
  147. package/styles/context-menu/bootstrap5.scss +1 -1
  148. package/styles/context-menu/fabric-dark.scss +1 -1
  149. package/styles/context-menu/fabric.scss +1 -1
  150. package/styles/context-menu/fluent-dark.scss +1 -1
  151. package/styles/context-menu/fluent.scss +1 -1
  152. package/styles/context-menu/highcontrast-light.scss +1 -1
  153. package/styles/context-menu/highcontrast.scss +1 -1
  154. package/styles/context-menu/material-dark.css +0 -1
  155. package/styles/context-menu/material-dark.scss +1 -1
  156. package/styles/context-menu/material.css +0 -1
  157. package/styles/context-menu/material.scss +1 -1
  158. package/styles/context-menu/material3-dark.css +0 -1
  159. package/styles/context-menu/material3-dark.scss +1 -1
  160. package/styles/context-menu/material3.css +0 -1
  161. package/styles/context-menu/material3.scss +1 -1
  162. package/styles/context-menu/tailwind-dark.css +0 -1
  163. package/styles/context-menu/tailwind-dark.scss +1 -1
  164. package/styles/context-menu/tailwind.css +0 -1
  165. package/styles/context-menu/tailwind.scss +1 -1
  166. package/styles/fabric-dark.css +17 -9
  167. package/styles/fabric.css +17 -9
  168. package/styles/fluent-dark.css +17 -9
  169. package/styles/fluent.css +17 -9
  170. package/styles/h-scroll/bootstrap-dark.scss +1 -1
  171. package/styles/h-scroll/bootstrap.scss +1 -1
  172. package/styles/h-scroll/bootstrap4.scss +1 -1
  173. package/styles/h-scroll/bootstrap5-dark.scss +1 -1
  174. package/styles/h-scroll/bootstrap5.scss +1 -1
  175. package/styles/h-scroll/fabric-dark.scss +1 -1
  176. package/styles/h-scroll/fabric.scss +1 -1
  177. package/styles/h-scroll/fluent-dark.scss +1 -1
  178. package/styles/h-scroll/fluent.scss +1 -1
  179. package/styles/h-scroll/highcontrast-light.scss +1 -1
  180. package/styles/h-scroll/highcontrast.scss +1 -1
  181. package/styles/h-scroll/material-dark.css +0 -1
  182. package/styles/h-scroll/material-dark.scss +1 -1
  183. package/styles/h-scroll/material.css +0 -1
  184. package/styles/h-scroll/material.scss +1 -1
  185. package/styles/h-scroll/material3-dark.css +0 -1
  186. package/styles/h-scroll/material3-dark.scss +1 -1
  187. package/styles/h-scroll/material3.css +0 -1
  188. package/styles/h-scroll/material3.scss +1 -1
  189. package/styles/h-scroll/tailwind-dark.css +0 -1
  190. package/styles/h-scroll/tailwind-dark.scss +1 -1
  191. package/styles/h-scroll/tailwind.css +0 -1
  192. package/styles/h-scroll/tailwind.scss +1 -1
  193. package/styles/highcontrast-light.css +17 -9
  194. package/styles/highcontrast.css +17 -9
  195. package/styles/material-dark.css +17 -10
  196. package/styles/material.css +17 -10
  197. package/styles/material3-dark.css +19 -12
  198. package/styles/material3-dark.scss +1 -1
  199. package/styles/material3.css +19 -12
  200. package/styles/material3.scss +1 -1
  201. package/styles/menu/_theme.scss +8 -3
  202. package/styles/menu/bootstrap-dark.css +14 -9
  203. package/styles/menu/bootstrap-dark.scss +1 -1
  204. package/styles/menu/bootstrap.css +14 -9
  205. package/styles/menu/bootstrap.scss +1 -1
  206. package/styles/menu/bootstrap4.css +22 -14
  207. package/styles/menu/bootstrap4.scss +1 -1
  208. package/styles/menu/bootstrap5-dark.css +14 -9
  209. package/styles/menu/bootstrap5-dark.scss +1 -1
  210. package/styles/menu/bootstrap5.css +14 -9
  211. package/styles/menu/bootstrap5.scss +1 -1
  212. package/styles/menu/fabric-dark.css +14 -9
  213. package/styles/menu/fabric-dark.scss +1 -1
  214. package/styles/menu/fabric.css +14 -9
  215. package/styles/menu/fabric.scss +1 -1
  216. package/styles/menu/fluent-dark.css +14 -9
  217. package/styles/menu/fluent-dark.scss +1 -1
  218. package/styles/menu/fluent.css +14 -9
  219. package/styles/menu/fluent.scss +1 -1
  220. package/styles/menu/highcontrast-light.css +14 -9
  221. package/styles/menu/highcontrast-light.scss +1 -1
  222. package/styles/menu/highcontrast.css +14 -9
  223. package/styles/menu/highcontrast.scss +1 -1
  224. package/styles/menu/material-dark.css +14 -10
  225. package/styles/menu/material-dark.scss +1 -1
  226. package/styles/menu/material.css +14 -10
  227. package/styles/menu/material.scss +1 -1
  228. package/styles/menu/material3-dark.css +14 -10
  229. package/styles/menu/material3-dark.scss +1 -1
  230. package/styles/menu/material3.css +14 -10
  231. package/styles/menu/material3.scss +1 -1
  232. package/styles/menu/tailwind-dark.css +14 -10
  233. package/styles/menu/tailwind-dark.scss +1 -1
  234. package/styles/menu/tailwind.css +14 -10
  235. package/styles/menu/tailwind.scss +1 -1
  236. package/styles/pager/bootstrap-dark.scss +1 -1
  237. package/styles/pager/bootstrap.scss +1 -1
  238. package/styles/pager/bootstrap4.scss +1 -1
  239. package/styles/pager/bootstrap5-dark.scss +1 -1
  240. package/styles/pager/bootstrap5.scss +1 -1
  241. package/styles/pager/fabric-dark.scss +1 -1
  242. package/styles/pager/fabric.scss +1 -1
  243. package/styles/pager/fluent-dark.scss +1 -1
  244. package/styles/pager/fluent.scss +1 -1
  245. package/styles/pager/highcontrast-light.scss +1 -1
  246. package/styles/pager/highcontrast.scss +1 -1
  247. package/styles/pager/material-dark.css +0 -1
  248. package/styles/pager/material-dark.scss +1 -1
  249. package/styles/pager/material.css +0 -1
  250. package/styles/pager/material.scss +1 -1
  251. package/styles/pager/material3-dark.css +0 -1
  252. package/styles/pager/material3-dark.scss +1 -1
  253. package/styles/pager/material3.css +0 -1
  254. package/styles/pager/material3.scss +1 -1
  255. package/styles/pager/tailwind-dark.css +0 -1
  256. package/styles/pager/tailwind-dark.scss +1 -1
  257. package/styles/pager/tailwind.css +0 -1
  258. package/styles/pager/tailwind.scss +1 -1
  259. package/styles/sidebar/bootstrap-dark.scss +1 -1
  260. package/styles/sidebar/bootstrap.scss +1 -1
  261. package/styles/sidebar/bootstrap4.scss +1 -1
  262. package/styles/sidebar/bootstrap5-dark.scss +1 -1
  263. package/styles/sidebar/bootstrap5.scss +1 -1
  264. package/styles/sidebar/fabric-dark.scss +1 -1
  265. package/styles/sidebar/fabric.scss +1 -1
  266. package/styles/sidebar/fluent-dark.scss +1 -1
  267. package/styles/sidebar/fluent.scss +1 -1
  268. package/styles/sidebar/highcontrast-light.scss +1 -1
  269. package/styles/sidebar/highcontrast.scss +1 -1
  270. package/styles/sidebar/material-dark.css +0 -1
  271. package/styles/sidebar/material-dark.scss +1 -1
  272. package/styles/sidebar/material.css +0 -1
  273. package/styles/sidebar/material.scss +1 -1
  274. package/styles/sidebar/material3-dark.css +0 -1
  275. package/styles/sidebar/material3-dark.scss +1 -1
  276. package/styles/sidebar/material3.css +0 -1
  277. package/styles/sidebar/material3.scss +1 -1
  278. package/styles/sidebar/tailwind-dark.css +0 -1
  279. package/styles/sidebar/tailwind-dark.scss +1 -1
  280. package/styles/sidebar/tailwind.css +0 -1
  281. package/styles/sidebar/tailwind.scss +1 -1
  282. package/styles/tab/_tailwind-definition.scss +2 -2
  283. package/styles/tab/bootstrap-dark.scss +1 -1
  284. package/styles/tab/bootstrap.scss +1 -1
  285. package/styles/tab/bootstrap4.scss +1 -1
  286. package/styles/tab/bootstrap5-dark.scss +1 -1
  287. package/styles/tab/bootstrap5.scss +1 -1
  288. package/styles/tab/fabric-dark.scss +1 -1
  289. package/styles/tab/fabric.scss +1 -1
  290. package/styles/tab/fluent-dark.scss +1 -1
  291. package/styles/tab/fluent.scss +1 -1
  292. package/styles/tab/highcontrast-light.scss +1 -1
  293. package/styles/tab/highcontrast.scss +1 -1
  294. package/styles/tab/material-dark.css +0 -1
  295. package/styles/tab/material-dark.scss +1 -1
  296. package/styles/tab/material.css +0 -1
  297. package/styles/tab/material.scss +1 -1
  298. package/styles/tab/material3-dark.css +0 -1
  299. package/styles/tab/material3-dark.scss +1 -1
  300. package/styles/tab/material3.css +0 -1
  301. package/styles/tab/material3.scss +1 -1
  302. package/styles/tab/tailwind-dark.css +2 -3
  303. package/styles/tab/tailwind-dark.scss +1 -1
  304. package/styles/tab/tailwind.css +2 -3
  305. package/styles/tab/tailwind.scss +1 -1
  306. package/styles/tailwind-dark.css +21 -26
  307. package/styles/tailwind.css +21 -26
  308. package/styles/toolbar/_bootstrap5-definition.scss +4 -4
  309. package/styles/toolbar/_material3-definition.scss +1 -1
  310. package/styles/toolbar/_tailwind-definition.scss +2 -2
  311. package/styles/toolbar/bootstrap-dark.scss +1 -1
  312. package/styles/toolbar/bootstrap.scss +1 -1
  313. package/styles/toolbar/bootstrap4.scss +1 -1
  314. package/styles/toolbar/bootstrap5-dark.css +4 -4
  315. package/styles/toolbar/bootstrap5-dark.scss +1 -1
  316. package/styles/toolbar/bootstrap5.css +4 -4
  317. package/styles/toolbar/bootstrap5.scss +1 -1
  318. package/styles/toolbar/fabric-dark.scss +1 -1
  319. package/styles/toolbar/fabric.scss +1 -1
  320. package/styles/toolbar/fluent-dark.scss +1 -1
  321. package/styles/toolbar/fluent.scss +1 -1
  322. package/styles/toolbar/highcontrast-light.scss +1 -1
  323. package/styles/toolbar/highcontrast.scss +1 -1
  324. package/styles/toolbar/material-dark.css +0 -1
  325. package/styles/toolbar/material-dark.scss +1 -1
  326. package/styles/toolbar/material.css +0 -1
  327. package/styles/toolbar/material.scss +1 -1
  328. package/styles/toolbar/material3-dark.css +1 -2
  329. package/styles/toolbar/material3-dark.scss +1 -1
  330. package/styles/toolbar/material3.css +1 -2
  331. package/styles/toolbar/material3.scss +1 -1
  332. package/styles/toolbar/tailwind-dark.css +2 -3
  333. package/styles/toolbar/tailwind-dark.scss +1 -1
  334. package/styles/toolbar/tailwind.css +2 -3
  335. package/styles/toolbar/tailwind.scss +1 -1
  336. package/styles/treeview/_layout.scss +4 -1
  337. package/styles/treeview/bootstrap-dark.scss +1 -1
  338. package/styles/treeview/bootstrap.scss +1 -1
  339. package/styles/treeview/bootstrap4.scss +1 -1
  340. package/styles/treeview/bootstrap5-dark.scss +1 -1
  341. package/styles/treeview/bootstrap5.scss +1 -1
  342. package/styles/treeview/fabric-dark.scss +1 -1
  343. package/styles/treeview/fabric.scss +1 -1
  344. package/styles/treeview/fluent-dark.scss +1 -1
  345. package/styles/treeview/fluent.scss +1 -1
  346. package/styles/treeview/highcontrast-light.scss +1 -1
  347. package/styles/treeview/highcontrast.scss +1 -1
  348. package/styles/treeview/material-dark.css +0 -1
  349. package/styles/treeview/material-dark.scss +1 -1
  350. package/styles/treeview/material.css +0 -1
  351. package/styles/treeview/material.scss +1 -1
  352. package/styles/treeview/material3-dark.css +1 -2
  353. package/styles/treeview/material3-dark.scss +1 -1
  354. package/styles/treeview/material3.css +1 -2
  355. package/styles/treeview/material3.scss +1 -1
  356. package/styles/treeview/tailwind-dark.css +0 -1
  357. package/styles/treeview/tailwind-dark.scss +1 -1
  358. package/styles/treeview/tailwind.css +0 -1
  359. package/styles/treeview/tailwind.scss +1 -1
  360. package/styles/v-scroll/bootstrap-dark.scss +1 -1
  361. package/styles/v-scroll/bootstrap.scss +1 -1
  362. package/styles/v-scroll/bootstrap4.scss +1 -1
  363. package/styles/v-scroll/bootstrap5-dark.scss +1 -1
  364. package/styles/v-scroll/bootstrap5.scss +1 -1
  365. package/styles/v-scroll/fabric-dark.scss +1 -1
  366. package/styles/v-scroll/fabric.scss +1 -1
  367. package/styles/v-scroll/fluent-dark.scss +1 -1
  368. package/styles/v-scroll/fluent.scss +1 -1
  369. package/styles/v-scroll/highcontrast-light.scss +1 -1
  370. package/styles/v-scroll/highcontrast.scss +1 -1
  371. package/styles/v-scroll/material-dark.css +0 -1
  372. package/styles/v-scroll/material-dark.scss +1 -1
  373. package/styles/v-scroll/material.css +0 -1
  374. package/styles/v-scroll/material.scss +1 -1
  375. package/styles/v-scroll/material3-dark.css +0 -1
  376. package/styles/v-scroll/material3-dark.scss +1 -1
  377. package/styles/v-scroll/material3.css +0 -1
  378. package/styles/v-scroll/material3.scss +1 -1
  379. package/styles/v-scroll/tailwind-dark.css +0 -1
  380. package/styles/v-scroll/tailwind-dark.scss +1 -1
  381. package/styles/v-scroll/tailwind.css +0 -1
  382. package/styles/v-scroll/tailwind.scss +1 -1
@@ -1,12 +1,3 @@
1
- /*!
2
- * filename: index.d.ts
3
- * version : 22.2.5
4
- * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
- * Use of this code is subject to the terms of our license.
6
- * A copy of the current license can be obtained at any time by e-mailing
7
- * licensing@syncfusion.com. Any infringement will be prosecuted under
8
- * applicable laws.
9
- */
10
1
  import * as _navigations from '@syncfusion/ej2-navigations';
11
2
 
12
3
  export declare namespace ej {
package/package.json CHANGED
@@ -1,166 +1,166 @@
1
1
  {
2
- "_from": "@syncfusion/ej2-navigations@*",
3
- "_id": "@syncfusion/ej2-navigations@22.1.39",
4
- "_inBundle": false,
5
- "_integrity": "sha512-K4OYPZQuHbKY4odT9j1dRVDIs0R25jo3xR/NTCKfwamdcJqWCnHIxEg3c6ELK7mIgn6C9fzHmXsns39xueDKew==",
6
- "_location": "/@syncfusion/ej2-navigations",
7
- "_phantomChildren": {},
8
- "_requested": {
9
- "type": "range",
10
- "registry": true,
11
- "raw": "@syncfusion/ej2-navigations@*",
12
- "name": "@syncfusion/ej2-navigations",
13
- "escapedName": "@syncfusion%2fej2-navigations",
14
- "scope": "@syncfusion",
15
- "rawSpec": "*",
16
- "saveSpec": null,
17
- "fetchSpec": "*"
18
- },
19
- "_requiredBy": [
20
- "/",
21
- "/@syncfusion/ej2",
22
- "/@syncfusion/ej2-angular-navigations",
23
- "/@syncfusion/ej2-charts",
24
- "/@syncfusion/ej2-diagrams",
25
- "/@syncfusion/ej2-documenteditor",
26
- "/@syncfusion/ej2-dropdowns",
27
- "/@syncfusion/ej2-filemanager",
28
- "/@syncfusion/ej2-gantt",
29
- "/@syncfusion/ej2-grids",
30
- "/@syncfusion/ej2-image-editor",
31
- "/@syncfusion/ej2-inplace-editor",
32
- "/@syncfusion/ej2-kanban",
33
- "/@syncfusion/ej2-pdfviewer",
34
- "/@syncfusion/ej2-pivotview",
35
- "/@syncfusion/ej2-react-navigations",
36
- "/@syncfusion/ej2-ribbon",
37
- "/@syncfusion/ej2-richtexteditor",
38
- "/@syncfusion/ej2-schedule",
39
- "/@syncfusion/ej2-spreadsheet",
40
- "/@syncfusion/ej2-vue-navigations"
41
- ],
42
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-22.1.39.tgz",
43
- "_shasum": "a1bae66925958586e35fc5b8a9892a6e64072f88",
44
- "_spec": "@syncfusion/ej2-navigations@*",
45
- "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
46
- "author": {
47
- "name": "Syncfusion Inc."
48
- },
49
- "bugs": {
50
- "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues"
51
- },
52
- "bundleDependencies": false,
53
- "dependencies": {
54
- "@syncfusion/ej2-base": "~22.2.5",
55
- "@syncfusion/ej2-buttons": "~22.2.5",
56
- "@syncfusion/ej2-data": "~22.2.5",
57
- "@syncfusion/ej2-inputs": "~22.2.5",
58
- "@syncfusion/ej2-lists": "~22.2.5",
59
- "@syncfusion/ej2-popups": "~22.2.5"
60
- },
61
- "deprecated": false,
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",
63
- "devDependencies": {},
64
- "es2015": "./dist/es6/ej2-navigations.es5.js",
65
- "homepage": "https://www.syncfusion.com/javascript-ui-controls",
66
- "keywords": [
67
- "ej2",
68
- "syncfusion",
69
- "web-components",
70
- "javascript",
71
- "typescript",
72
- "model",
73
- "toolbar",
74
- "horizontal-scroll",
75
- "ribbon",
76
- "navbar",
77
- "navigation-bar",
78
- "toolbar-customization",
79
- "scrollable-toolbar",
80
- "toolbar-popup",
81
- "multirow-toolbar",
82
- "extended-toolbar",
83
- "overflow",
84
- "command-buttons",
85
- "accordion",
86
- "panelbar",
87
- "ejTab",
88
- "tab",
89
- "tabStrip",
90
- "scrollable-tab",
91
- "popup-tab",
92
- "multirow-tab",
93
- "header-orientation",
94
- "close-tab",
95
- "tab-wizard",
96
- "tab-with-menu",
97
- "ejAccordion",
98
- "accordion",
99
- "accordion-wizard",
100
- "multiple-open-panel-bar",
101
- "multiple-open-accordion",
102
- "panel-bar",
103
- "collapsible-panel-bar",
104
- "context-menu",
105
- "context menu",
106
- "contextmenu",
107
- "ej2 contextmenu",
108
- "treeview",
109
- "tree",
110
- "ej2-treeview",
111
- "tree structure",
112
- "hierarchical structure",
113
- "tree navigation",
114
- "treeview-checkbox",
115
- "drag and drop",
116
- "tree editing",
117
- "load on demand",
118
- "accordion tree",
119
- "sidebar",
120
- "dock size",
121
- "showbackdrop",
122
- "target",
123
- "position",
124
- "dock",
125
- "gestures",
126
- "sticky-sidebar",
127
- "fixed",
128
- "hamburger",
129
- "sidenav",
130
- "nav",
131
- "hamburger-menu",
132
- "side-menu",
133
- "navigation-bar",
134
- "sticky",
135
- "drawer",
136
- "slidebar",
137
- "slide",
138
- "slide-panel",
139
- "multiple-sidebar",
140
- "slide-navigation",
141
- "navigation-drawer",
142
- "breadcrumb",
143
- "breadcrumb navigation",
144
- "breadcrumb trail",
145
- "ej2 breadcrumb",
146
- "navigation links",
147
- "navigational aid",
148
- "previous page navigation",
149
- "current page hierarchy",
150
- "current page location",
151
- "path of url",
152
- "trace page location",
153
- "list of breadcrumb links"
154
- ],
155
- "license": "SEE LICENSE IN license",
156
- "main": "./dist/ej2-navigations.umd.min.js",
157
- "module": "./index.js",
158
- "name": "@syncfusion/ej2-navigations",
159
- "repository": {
160
- "type": "git",
161
- "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
162
- },
163
- "typings": "index.d.ts",
164
- "version": "22.2.5",
165
- "sideEffects": false
166
- }
2
+ "_from": "@syncfusion/ej2-navigations@*",
3
+ "_id": "@syncfusion/ej2-navigations@22.2.7",
4
+ "_inBundle": false,
5
+ "_integrity": "sha512-7Uz9JOqY5jJxwhyzEm/75NlZPwU2FSgHGayMBKK7HD/fi4Xs7JZUrC51E6un9JZk8/QGRgqVtf5zSgLbBHAYHA==",
6
+ "_location": "/@syncfusion/ej2-navigations",
7
+ "_phantomChildren": {},
8
+ "_requested": {
9
+ "type": "range",
10
+ "registry": true,
11
+ "raw": "@syncfusion/ej2-navigations@*",
12
+ "name": "@syncfusion/ej2-navigations",
13
+ "escapedName": "@syncfusion%2fej2-navigations",
14
+ "scope": "@syncfusion",
15
+ "rawSpec": "*",
16
+ "saveSpec": null,
17
+ "fetchSpec": "*"
18
+ },
19
+ "_requiredBy": [
20
+ "/",
21
+ "/@syncfusion/ej2",
22
+ "/@syncfusion/ej2-angular-navigations",
23
+ "/@syncfusion/ej2-charts",
24
+ "/@syncfusion/ej2-diagrams",
25
+ "/@syncfusion/ej2-documenteditor",
26
+ "/@syncfusion/ej2-dropdowns",
27
+ "/@syncfusion/ej2-filemanager",
28
+ "/@syncfusion/ej2-gantt",
29
+ "/@syncfusion/ej2-grids",
30
+ "/@syncfusion/ej2-image-editor",
31
+ "/@syncfusion/ej2-inplace-editor",
32
+ "/@syncfusion/ej2-kanban",
33
+ "/@syncfusion/ej2-pdfviewer",
34
+ "/@syncfusion/ej2-pivotview",
35
+ "/@syncfusion/ej2-react-navigations",
36
+ "/@syncfusion/ej2-ribbon",
37
+ "/@syncfusion/ej2-richtexteditor",
38
+ "/@syncfusion/ej2-schedule",
39
+ "/@syncfusion/ej2-spreadsheet",
40
+ "/@syncfusion/ej2-vue-navigations"
41
+ ],
42
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-22.2.7.tgz",
43
+ "_shasum": "5fcaed69c7a93538c2bb9312dde3fe7375060919",
44
+ "_spec": "@syncfusion/ej2-navigations@*",
45
+ "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
46
+ "author": {
47
+ "name": "Syncfusion Inc."
48
+ },
49
+ "bugs": {
50
+ "url": "https://github.com/syncfusion/ej2-javascript-ui-controls/issues"
51
+ },
52
+ "bundleDependencies": false,
53
+ "dependencies": {
54
+ "@syncfusion/ej2-base": "~22.2.5",
55
+ "@syncfusion/ej2-buttons": "~22.2.8",
56
+ "@syncfusion/ej2-data": "~22.2.5",
57
+ "@syncfusion/ej2-inputs": "~22.2.7",
58
+ "@syncfusion/ej2-lists": "~22.2.8",
59
+ "@syncfusion/ej2-popups": "~22.2.7"
60
+ },
61
+ "deprecated": false,
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",
63
+ "devDependencies": {},
64
+ "es2015": "./dist/es6/ej2-navigations.es5.js",
65
+ "homepage": "https://www.syncfusion.com/javascript-ui-controls",
66
+ "keywords": [
67
+ "ej2",
68
+ "syncfusion",
69
+ "web-components",
70
+ "javascript",
71
+ "typescript",
72
+ "model",
73
+ "toolbar",
74
+ "horizontal-scroll",
75
+ "ribbon",
76
+ "navbar",
77
+ "navigation-bar",
78
+ "toolbar-customization",
79
+ "scrollable-toolbar",
80
+ "toolbar-popup",
81
+ "multirow-toolbar",
82
+ "extended-toolbar",
83
+ "overflow",
84
+ "command-buttons",
85
+ "accordion",
86
+ "panelbar",
87
+ "ejTab",
88
+ "tab",
89
+ "tabStrip",
90
+ "scrollable-tab",
91
+ "popup-tab",
92
+ "multirow-tab",
93
+ "header-orientation",
94
+ "close-tab",
95
+ "tab-wizard",
96
+ "tab-with-menu",
97
+ "ejAccordion",
98
+ "accordion",
99
+ "accordion-wizard",
100
+ "multiple-open-panel-bar",
101
+ "multiple-open-accordion",
102
+ "panel-bar",
103
+ "collapsible-panel-bar",
104
+ "context-menu",
105
+ "context menu",
106
+ "contextmenu",
107
+ "ej2 contextmenu",
108
+ "treeview",
109
+ "tree",
110
+ "ej2-treeview",
111
+ "tree structure",
112
+ "hierarchical structure",
113
+ "tree navigation",
114
+ "treeview-checkbox",
115
+ "drag and drop",
116
+ "tree editing",
117
+ "load on demand",
118
+ "accordion tree",
119
+ "sidebar",
120
+ "dock size",
121
+ "showbackdrop",
122
+ "target",
123
+ "position",
124
+ "dock",
125
+ "gestures",
126
+ "sticky-sidebar",
127
+ "fixed",
128
+ "hamburger",
129
+ "sidenav",
130
+ "nav",
131
+ "hamburger-menu",
132
+ "side-menu",
133
+ "navigation-bar",
134
+ "sticky",
135
+ "drawer",
136
+ "slidebar",
137
+ "slide",
138
+ "slide-panel",
139
+ "multiple-sidebar",
140
+ "slide-navigation",
141
+ "navigation-drawer",
142
+ "breadcrumb",
143
+ "breadcrumb navigation",
144
+ "breadcrumb trail",
145
+ "ej2 breadcrumb",
146
+ "navigation links",
147
+ "navigational aid",
148
+ "previous page navigation",
149
+ "current page hierarchy",
150
+ "current page location",
151
+ "path of url",
152
+ "trace page location",
153
+ "list of breadcrumb links"
154
+ ],
155
+ "license": "SEE LICENSE IN license",
156
+ "main": "./dist/ej2-navigations.umd.min.js",
157
+ "module": "./index.js",
158
+ "name": "@syncfusion/ej2-navigations",
159
+ "repository": {
160
+ "type": "git",
161
+ "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
162
+ },
163
+ "typings": "index.d.ts",
164
+ "version": "22.2.8-184993",
165
+ "sideEffects": false
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 unwireEvents;
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.unwireEvents();
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.unwireEvents = function () {
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, true));
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
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
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 {
@@ -652,9 +651,11 @@ var Accordion = /** @class */ (function (_super) {
652
651
  if (typeof (value) === 'string') {
653
652
  ele.innerHTML = SanitizeHtmlHelper.sanitize(value);
654
653
  }
655
- else if (!isNOU(this.trgtEle) && (value instanceof (HTMLElement))) {
654
+ else if (value instanceof (HTMLElement)) {
656
655
  ele.appendChild(value);
657
- ele.firstElementChild.style.display = '';
656
+ if (this.trgtEle) {
657
+ ele.firstElementChild.style.display = '';
658
+ }
658
659
  }
659
660
  else {
660
661
  templateFn = templateCompiler(value);
@@ -718,7 +719,7 @@ var Accordion = /** @class */ (function (_super) {
718
719
  this.items[parseInt(index.toString(), 10)].content =
719
720
  SanitizeHtmlHelper.sanitize(this.items[parseInt(index.toString(), 10)].content);
720
721
  }
721
- itemcnt.appendChild(this.fetchElement(ctn, this.items[parseInt(index.toString(), 10)].content, index, false));
722
+ itemcnt.appendChild(this.fetchElement(ctn, this.items[parseInt(index.toString(), 10)].content, index));
722
723
  }
723
724
  return itemcnt;
724
725
  };
@@ -752,7 +753,7 @@ var Accordion = /** @class */ (function (_super) {
752
753
  expandState.classList.remove(CLS_EXPANDSTATE);
753
754
  }
754
755
  trgtItemEle.classList.add(CLS_EXPANDSTATE);
755
- if ((animation.name === 'None')) {
756
+ if ((animation.name === 'None' && animationMode !== 'Enable') || (animationMode === 'Disable')) {
756
757
  _this.expandProgress('begin', icon, trgt, trgtItemEle, expandArgs);
757
758
  _this.expandProgress('end', icon, trgt, trgtItemEle, expandArgs);
758
759
  }
@@ -764,6 +765,10 @@ var Accordion = /** @class */ (function (_super) {
764
765
  };
765
766
  Accordion.prototype.expandAnimation = function (ef, icn, trgt, trgtItemEle, animate, args) {
766
767
  var _this = this;
768
+ if (ef === 'None' && animationMode === 'Enable') {
769
+ ef = 'SlideDown';
770
+ animate.name = 'SlideDown';
771
+ }
767
772
  var height;
768
773
  this.lastActiveItemId = trgtItemEle.id;
769
774
  if (ef === 'SlideDown') {
@@ -858,7 +863,7 @@ var Accordion = /** @class */ (function (_super) {
858
863
  _this.expandedItemsPop(trgtItemEle);
859
864
  trgtItemEle.classList.remove(CLS_EXPANDSTATE);
860
865
  icon.classList.add(CLS_TOGANIMATE);
861
- if ((animation.name === 'None')) {
866
+ if ((animation.name === 'None' && animationMode !== 'Enable') || (animationMode === 'Disable')) {
862
867
  _this.collapseProgress('begin', icon, trgt, trgtItemEle, expandArgs);
863
868
  _this.collapseProgress('end', icon, trgt, trgtItemEle, expandArgs);
864
869
  }
@@ -870,6 +875,10 @@ var Accordion = /** @class */ (function (_super) {
870
875
  };
871
876
  Accordion.prototype.collapseAnimation = function (ef, trgt, trgtItEl, icn, animate, args) {
872
877
  var _this = this;
878
+ if (ef === 'None' && animationMode === 'Enable') {
879
+ ef = 'SlideUp';
880
+ animate.name = 'SlideUp';
881
+ }
873
882
  var height;
874
883
  var trgtHeight;
875
884
  var itemHeight;
@@ -970,7 +979,7 @@ var Accordion = /** @class */ (function (_super) {
970
979
  EventHandler.add(innerItemEle.querySelector('.' + CLS_HEADER), 'focus', _this.focusIn, _this);
971
980
  EventHandler.add(innerItemEle.querySelector('.' + CLS_HEADER), 'blur', _this.focusOut, _this);
972
981
  _this.expandedIndices = [];
973
- _this.expandedItemRefresh(ele);
982
+ _this.expandedItemRefresh();
974
983
  if (addItem && addItem.expanded) {
975
984
  _this.expandItem(true, itemIndex);
976
985
  }
@@ -980,8 +989,7 @@ var Accordion = /** @class */ (function (_super) {
980
989
  this.renderReactTemplates();
981
990
  }
982
991
  };
983
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
984
- Accordion.prototype.expandedItemRefresh = function (ele) {
992
+ Accordion.prototype.expandedItemRefresh = function () {
985
993
  var _this = this;
986
994
  var itemEle = this.getItemElements();
987
995
  [].slice.call(itemEle).forEach(function (el) {
@@ -997,8 +1005,12 @@ var Accordion = /** @class */ (function (_super) {
997
1005
  * @returns {void}.
998
1006
  */
999
1007
  Accordion.prototype.removeItem = function (index) {
1000
- if (this.isReact) {
1001
- this.clearTemplate(['headerTemplate', 'itemTemplate'], index);
1008
+ if (this.isReact || this.isAngular) {
1009
+ var item = selectAll('.' + CLS_ITEM, this.element)[parseInt(index.toString(), 10)];
1010
+ var header = select('.' + CLS_HEADERCTN, item);
1011
+ var content = select('.' + CLS_CTENT, item);
1012
+ this.clearAccordionTemplate(header, this.dataSource.length > 0 ? 'headerTemplate' : 'header', CLS_HEADERCTN);
1013
+ this.clearAccordionTemplate(content, this.dataSource.length > 0 ? 'itemTemplate' : 'content', CLS_CTENT);
1002
1014
  }
1003
1015
  var itemEle = this.getItemElements();
1004
1016
  var ele = itemEle[parseInt(index.toString(), 10)];
@@ -1010,7 +1022,7 @@ var Accordion = /** @class */ (function (_super) {
1010
1022
  detach(ele);
1011
1023
  items.splice(index, 1);
1012
1024
  this.expandedIndices = [];
1013
- this.expandedItemRefresh(this.element);
1025
+ this.expandedItemRefresh();
1014
1026
  };
1015
1027
  /**
1016
1028
  * Sets focus to the specified index item header in Accordion.
@@ -1187,28 +1199,18 @@ var Accordion = /** @class */ (function (_super) {
1187
1199
  }
1188
1200
  };
1189
1201
  Accordion.prototype.setTemplate = function (template, toElement, index) {
1190
- toElement.innerHTML = '';
1191
- this.templateCompile(toElement, template, index);
1202
+ this.fetchElement(toElement, template, index);
1192
1203
  if (this.isReact) {
1193
1204
  this.renderReactTemplates();
1194
1205
  }
1195
1206
  };
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
1207
  Accordion.prototype.clearAccordionTemplate = function (templateEle, templateName, className) {
1206
1208
  if (this.registeredTemplate && this.registeredTemplate["" + templateName]) {
1207
1209
  var registeredTemplates = this.registeredTemplate;
1208
1210
  for (var index = 0; index < registeredTemplates["" + templateName].length; index++) {
1209
1211
  var registeredItem = registeredTemplates["" + templateName][parseInt(index.toString(), 10)].rootNodes[0];
1210
- var closestItem = closest(registeredItem.containerInfo, '.' + className);
1211
- if (!isNOU(closestItem) && closestItem === templateEle) {
1212
+ var closestItem = closest(registeredItem, '.' + className);
1213
+ if (!isNOU(closestItem) && closestItem === templateEle || isNOU(registeredItem.parentNode)) {
1212
1214
  this.clearTemplate([templateName], [registeredTemplates["" + templateName][parseInt(index.toString(), 10)]]);
1213
1215
  break;
1214
1216
  }
@@ -1278,7 +1280,8 @@ var Accordion = /** @class */ (function (_super) {
1278
1280
  if (property[parseInt(k.toString(), 10)] === 'disabled' && !isNOU(item)) {
1279
1281
  this.enableItem(index, !newVal);
1280
1282
  }
1281
- if (property[parseInt(k.toString(), 10)] === 'content' && !isNOU(item) && item.children.length === 2) {
1283
+ if (property.indexOf('header') < 0 && property[parseInt(k.toString(), 10)] === 'content'
1284
+ && !isNOU(item) && item.children.length === 2) {
1282
1285
  if (typeof newVal === 'function') {
1283
1286
  if (this.isAngular || this.isReact) {
1284
1287
  this.clearAccordionTemplate(content, property[parseInt(k.toString(), 10)], CLS_CTENT);
@@ -67,6 +67,7 @@ var AppBar = /** @class */ (function (_super) {
67
67
  // pre render code
68
68
  };
69
69
  AppBar.prototype.render = function () {
70
+ this.element.classList.add(CLS_APPBAR);
70
71
  if (this.element.tagName !== 'HEADER') {
71
72
  this.element.setAttribute('role', 'header');
72
73
  }
@@ -1,4 +1,4 @@
1
- import { Component, NotifyPropertyChanges, INotifyPropertyChanged, ChildProperty, Property, Collection, append, extend, Event, EmitType, BaseEventArgs, EventHandler, closest, addClass, removeClass, detach, remove } from '@syncfusion/ej2-base';import { ListBase, ListBaseOptions } from '@syncfusion/ej2-lists';import { Popup } from '@syncfusion/ej2-popups';
1
+ import { Component, NotifyPropertyChanges, INotifyPropertyChanged, ChildProperty, Property, Collection, append, extend, Event, EmitType, BaseEventArgs, EventHandler, closest, addClass, removeClass, detach, remove, initializeCSPTemplate, isNullOrUndefined } from '@syncfusion/ej2-base';import { ListBase, ListBaseOptions } from '@syncfusion/ej2-lists';import { Popup } from '@syncfusion/ej2-popups';
2
2
  import {BreadcrumbOverflowMode,BreadcrumbBeforeItemRenderEventArgs,BreadcrumbClickEventArgs} from "./breadcrumb";
3
3
  import {ComponentModel} from '@syncfusion/ej2-base';
4
4
 
@@ -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, NotifyPropertyChanges, ChildProperty, Property, Collection, append, extend, Event, EventHandler, closest, addClass, removeClass, detach, remove } from '@syncfusion/ej2-base';
20
+ import { Component, NotifyPropertyChanges, ChildProperty, Property, Collection, append, extend, Event, EventHandler, closest, addClass, removeClass, detach, remove, initializeCSPTemplate, isNullOrUndefined } from '@syncfusion/ej2-base';
21
21
  import { ListBase } from '@syncfusion/ej2-lists';
22
22
  import { Popup } from '@syncfusion/ej2-popups';
23
23
  var ICONRIGHT = 'e-icon-right';
@@ -293,7 +293,14 @@ var Breadcrumb = /** @class */ (function (_super) {
293
293
  if (i % 2) {
294
294
  // separator item
295
295
  wrapDiv = this.createElement('div', { className: 'e-breadcrumb-item-wrapper' });
296
- listBaseOptions.template = this.separatorTemplate ? this.separatorTemplate : '/';
296
+ if ((this.separatorTemplate && this.separatorTemplate === '/') || isNullOrUndefined(this.separatorTemplate)) {
297
+ listBaseOptions.template = initializeCSPTemplate(function () {
298
+ return '/';
299
+ });
300
+ }
301
+ else {
302
+ listBaseOptions.template = this.separatorTemplate;
303
+ }
297
304
  listBaseOptions.itemClass = 'e-breadcrumb-separator';
298
305
  isSingleLevel = false;
299
306
  item = [{ previousItem: items[j_1], nextItem: items[j_1 + 1] }];
@@ -302,6 +309,7 @@ var Breadcrumb = /** @class */ (function (_super) {
302
309
  // list item
303
310
  listBaseOptions.itemClass = '';
304
311
  if (this.itemTemplate) {
312
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
305
313
  listBaseOptions.template = this.itemTemplate;
306
314
  isSingleLevel = false;
307
315
  }
@@ -376,6 +376,7 @@ export declare class Carousel extends Component<HTMLElement> implements INotifyP
376
376
  private swipStop;
377
377
  private swipeNavigation;
378
378
  private swipeModehandlers;
379
+ private resizeHandler;
379
380
  private wireEvents;
380
381
  private unWireEvents;
381
382
  /**