@syncfusion/ej2-navigations 22.2.11 → 23.1.36

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 (366) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/ej2-navigations.min.js +2 -2
  3. package/dist/ej2-navigations.umd.min.js +2 -2
  4. package/dist/ej2-navigations.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-navigations.es2015.js +67 -58
  6. package/dist/es6/ej2-navigations.es2015.js.map +1 -1
  7. package/dist/es6/ej2-navigations.es5.js +65 -56
  8. package/dist/es6/ej2-navigations.es5.js.map +1 -1
  9. package/dist/global/ej2-navigations.min.js +2 -2
  10. package/dist/global/ej2-navigations.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +12 -12
  13. package/src/accordion/accordion-model.d.ts +1 -1
  14. package/src/accordion/accordion.d.ts +3 -2
  15. package/src/accordion/accordion.js +30 -29
  16. package/src/appbar/appbar.js +1 -0
  17. package/src/breadcrumb/breadcrumb.js +1 -0
  18. package/src/carousel/carousel.js +3 -2
  19. package/src/common/menu-base.js +7 -6
  20. package/src/menu/menu-model.d.ts +1 -1
  21. package/src/tab/tab-model.d.ts +4 -2
  22. package/src/tab/tab.d.ts +5 -0
  23. package/src/tab/tab.js +14 -15
  24. package/src/toolbar/toolbar-model.d.ts +2 -0
  25. package/src/toolbar/toolbar.d.ts +2 -0
  26. package/src/toolbar/toolbar.js +6 -1
  27. package/src/treeview/treeview-model.d.ts +1 -1
  28. package/src/treeview/treeview.d.ts +1 -1
  29. package/src/treeview/treeview.js +5 -5
  30. package/styles/accordion/_theme.scss +1 -0
  31. package/styles/accordion/bootstrap-dark.scss +1 -1
  32. package/styles/accordion/bootstrap.scss +1 -1
  33. package/styles/accordion/bootstrap4.scss +1 -1
  34. package/styles/accordion/bootstrap5-dark.scss +1 -1
  35. package/styles/accordion/bootstrap5.scss +1 -1
  36. package/styles/accordion/fabric-dark.scss +1 -1
  37. package/styles/accordion/fabric.scss +1 -1
  38. package/styles/accordion/fluent-dark.scss +1 -1
  39. package/styles/accordion/fluent.scss +1 -1
  40. package/styles/accordion/highcontrast-light.scss +1 -1
  41. package/styles/accordion/highcontrast.scss +1 -1
  42. package/styles/accordion/material-dark.css +0 -1
  43. package/styles/accordion/material-dark.scss +1 -1
  44. package/styles/accordion/material.css +0 -1
  45. package/styles/accordion/material.scss +1 -1
  46. package/styles/accordion/material3-dark.css +0 -1
  47. package/styles/accordion/material3-dark.scss +1 -1
  48. package/styles/accordion/material3.css +0 -1
  49. package/styles/accordion/material3.scss +1 -1
  50. package/styles/accordion/tailwind-dark.css +0 -1
  51. package/styles/accordion/tailwind-dark.scss +1 -1
  52. package/styles/accordion/tailwind.css +0 -1
  53. package/styles/accordion/tailwind.scss +1 -1
  54. package/styles/appbar/bootstrap-dark.scss +1 -1
  55. package/styles/appbar/bootstrap.scss +1 -1
  56. package/styles/appbar/bootstrap4.scss +1 -1
  57. package/styles/appbar/bootstrap5-dark.scss +1 -1
  58. package/styles/appbar/bootstrap5.scss +1 -1
  59. package/styles/appbar/fabric-dark.scss +1 -1
  60. package/styles/appbar/fabric.scss +1 -1
  61. package/styles/appbar/fluent-dark.scss +1 -1
  62. package/styles/appbar/fluent.scss +1 -1
  63. package/styles/appbar/highcontrast-light.scss +1 -1
  64. package/styles/appbar/highcontrast.scss +1 -1
  65. package/styles/appbar/material-dark.css +0 -1
  66. package/styles/appbar/material-dark.scss +1 -1
  67. package/styles/appbar/material.css +0 -1
  68. package/styles/appbar/material.scss +1 -1
  69. package/styles/appbar/material3-dark.css +0 -1
  70. package/styles/appbar/material3-dark.scss +1 -1
  71. package/styles/appbar/material3.css +0 -1
  72. package/styles/appbar/material3.scss +1 -1
  73. package/styles/appbar/tailwind-dark.css +0 -1
  74. package/styles/appbar/tailwind-dark.scss +1 -1
  75. package/styles/appbar/tailwind.css +0 -1
  76. package/styles/appbar/tailwind.scss +1 -1
  77. package/styles/bootstrap-dark.css +14 -9
  78. package/styles/bootstrap.css +14 -9
  79. package/styles/bootstrap4.css +22 -14
  80. package/styles/bootstrap5-dark.css +18 -13
  81. package/styles/bootstrap5.css +18 -13
  82. package/styles/breadcrumb/bootstrap-dark.scss +1 -1
  83. package/styles/breadcrumb/bootstrap.scss +1 -1
  84. package/styles/breadcrumb/bootstrap4.scss +1 -1
  85. package/styles/breadcrumb/bootstrap5-dark.scss +1 -1
  86. package/styles/breadcrumb/bootstrap5.scss +1 -1
  87. package/styles/breadcrumb/fabric-dark.scss +1 -1
  88. package/styles/breadcrumb/fabric.scss +1 -1
  89. package/styles/breadcrumb/fluent-dark.scss +1 -1
  90. package/styles/breadcrumb/fluent.scss +1 -1
  91. package/styles/breadcrumb/highcontrast-light.scss +1 -1
  92. package/styles/breadcrumb/highcontrast.scss +1 -1
  93. package/styles/breadcrumb/material-dark.css +0 -1
  94. package/styles/breadcrumb/material-dark.scss +1 -1
  95. package/styles/breadcrumb/material.css +0 -1
  96. package/styles/breadcrumb/material.scss +1 -1
  97. package/styles/breadcrumb/material3-dark.css +0 -1
  98. package/styles/breadcrumb/material3-dark.scss +1 -1
  99. package/styles/breadcrumb/material3.css +0 -1
  100. package/styles/breadcrumb/material3.scss +1 -1
  101. package/styles/breadcrumb/tailwind-dark.css +0 -1
  102. package/styles/breadcrumb/tailwind-dark.scss +1 -1
  103. package/styles/breadcrumb/tailwind.css +0 -1
  104. package/styles/breadcrumb/tailwind.scss +1 -1
  105. package/styles/carousel/bootstrap-dark.scss +1 -1
  106. package/styles/carousel/bootstrap.scss +1 -1
  107. package/styles/carousel/bootstrap4.scss +1 -1
  108. package/styles/carousel/bootstrap5-dark.scss +1 -1
  109. package/styles/carousel/bootstrap5.scss +1 -1
  110. package/styles/carousel/fabric-dark.scss +1 -1
  111. package/styles/carousel/fabric.scss +1 -1
  112. package/styles/carousel/fluent-dark.scss +1 -1
  113. package/styles/carousel/fluent.scss +1 -1
  114. package/styles/carousel/highcontrast-light.scss +1 -1
  115. package/styles/carousel/highcontrast.scss +1 -1
  116. package/styles/carousel/material-dark.css +0 -1
  117. package/styles/carousel/material-dark.scss +1 -1
  118. package/styles/carousel/material.css +0 -1
  119. package/styles/carousel/material.scss +1 -1
  120. package/styles/carousel/material3-dark.css +0 -1
  121. package/styles/carousel/material3-dark.scss +1 -1
  122. package/styles/carousel/material3.css +0 -1
  123. package/styles/carousel/material3.scss +1 -1
  124. package/styles/carousel/tailwind-dark.css +0 -1
  125. package/styles/carousel/tailwind-dark.scss +1 -1
  126. package/styles/carousel/tailwind.css +0 -1
  127. package/styles/carousel/tailwind.scss +1 -1
  128. package/styles/context-menu/bootstrap-dark.scss +1 -1
  129. package/styles/context-menu/bootstrap.scss +1 -1
  130. package/styles/context-menu/bootstrap4.scss +1 -1
  131. package/styles/context-menu/bootstrap5-dark.scss +1 -1
  132. package/styles/context-menu/bootstrap5.scss +1 -1
  133. package/styles/context-menu/fabric-dark.scss +1 -1
  134. package/styles/context-menu/fabric.scss +1 -1
  135. package/styles/context-menu/fluent-dark.scss +1 -1
  136. package/styles/context-menu/fluent.scss +1 -1
  137. package/styles/context-menu/highcontrast-light.scss +1 -1
  138. package/styles/context-menu/highcontrast.scss +1 -1
  139. package/styles/context-menu/material-dark.css +0 -1
  140. package/styles/context-menu/material-dark.scss +1 -1
  141. package/styles/context-menu/material.css +0 -1
  142. package/styles/context-menu/material.scss +1 -1
  143. package/styles/context-menu/material3-dark.css +0 -1
  144. package/styles/context-menu/material3-dark.scss +1 -1
  145. package/styles/context-menu/material3.css +0 -1
  146. package/styles/context-menu/material3.scss +1 -1
  147. package/styles/context-menu/tailwind-dark.css +0 -1
  148. package/styles/context-menu/tailwind-dark.scss +1 -1
  149. package/styles/context-menu/tailwind.css +0 -1
  150. package/styles/context-menu/tailwind.scss +1 -1
  151. package/styles/fabric-dark.css +14 -9
  152. package/styles/fabric.css +14 -9
  153. package/styles/fluent-dark.css +14 -9
  154. package/styles/fluent.css +14 -9
  155. package/styles/h-scroll/bootstrap-dark.scss +1 -1
  156. package/styles/h-scroll/bootstrap.scss +1 -1
  157. package/styles/h-scroll/bootstrap4.scss +1 -1
  158. package/styles/h-scroll/bootstrap5-dark.scss +1 -1
  159. package/styles/h-scroll/bootstrap5.scss +1 -1
  160. package/styles/h-scroll/fabric-dark.scss +1 -1
  161. package/styles/h-scroll/fabric.scss +1 -1
  162. package/styles/h-scroll/fluent-dark.scss +1 -1
  163. package/styles/h-scroll/fluent.scss +1 -1
  164. package/styles/h-scroll/highcontrast-light.scss +1 -1
  165. package/styles/h-scroll/highcontrast.scss +1 -1
  166. package/styles/h-scroll/material-dark.css +0 -1
  167. package/styles/h-scroll/material-dark.scss +1 -1
  168. package/styles/h-scroll/material.css +0 -1
  169. package/styles/h-scroll/material.scss +1 -1
  170. package/styles/h-scroll/material3-dark.css +0 -1
  171. package/styles/h-scroll/material3-dark.scss +1 -1
  172. package/styles/h-scroll/material3.css +0 -1
  173. package/styles/h-scroll/material3.scss +1 -1
  174. package/styles/h-scroll/tailwind-dark.css +0 -1
  175. package/styles/h-scroll/tailwind-dark.scss +1 -1
  176. package/styles/h-scroll/tailwind.css +0 -1
  177. package/styles/h-scroll/tailwind.scss +1 -1
  178. package/styles/highcontrast-light.css +14 -9
  179. package/styles/highcontrast.css +14 -9
  180. package/styles/material-dark.css +14 -10
  181. package/styles/material.css +14 -10
  182. package/styles/material3-dark.css +15 -11
  183. package/styles/material3-dark.scss +1 -1
  184. package/styles/material3.css +15 -11
  185. package/styles/material3.scss +1 -1
  186. package/styles/menu/_theme.scss +8 -3
  187. package/styles/menu/bootstrap-dark.css +14 -9
  188. package/styles/menu/bootstrap-dark.scss +1 -1
  189. package/styles/menu/bootstrap.css +14 -9
  190. package/styles/menu/bootstrap.scss +1 -1
  191. package/styles/menu/bootstrap4.css +22 -14
  192. package/styles/menu/bootstrap4.scss +1 -1
  193. package/styles/menu/bootstrap5-dark.css +14 -9
  194. package/styles/menu/bootstrap5-dark.scss +1 -1
  195. package/styles/menu/bootstrap5.css +14 -9
  196. package/styles/menu/bootstrap5.scss +1 -1
  197. package/styles/menu/fabric-dark.css +14 -9
  198. package/styles/menu/fabric-dark.scss +1 -1
  199. package/styles/menu/fabric.css +14 -9
  200. package/styles/menu/fabric.scss +1 -1
  201. package/styles/menu/fluent-dark.css +14 -9
  202. package/styles/menu/fluent-dark.scss +1 -1
  203. package/styles/menu/fluent.css +14 -9
  204. package/styles/menu/fluent.scss +1 -1
  205. package/styles/menu/highcontrast-light.css +14 -9
  206. package/styles/menu/highcontrast-light.scss +1 -1
  207. package/styles/menu/highcontrast.css +14 -9
  208. package/styles/menu/highcontrast.scss +1 -1
  209. package/styles/menu/material-dark.css +14 -10
  210. package/styles/menu/material-dark.scss +1 -1
  211. package/styles/menu/material.css +14 -10
  212. package/styles/menu/material.scss +1 -1
  213. package/styles/menu/material3-dark.css +14 -10
  214. package/styles/menu/material3-dark.scss +1 -1
  215. package/styles/menu/material3.css +14 -10
  216. package/styles/menu/material3.scss +1 -1
  217. package/styles/menu/tailwind-dark.css +14 -10
  218. package/styles/menu/tailwind-dark.scss +1 -1
  219. package/styles/menu/tailwind.css +14 -10
  220. package/styles/menu/tailwind.scss +1 -1
  221. package/styles/pager/bootstrap-dark.scss +1 -1
  222. package/styles/pager/bootstrap.scss +1 -1
  223. package/styles/pager/bootstrap4.scss +1 -1
  224. package/styles/pager/bootstrap5-dark.scss +1 -1
  225. package/styles/pager/bootstrap5.scss +1 -1
  226. package/styles/pager/fabric-dark.scss +1 -1
  227. package/styles/pager/fabric.scss +1 -1
  228. package/styles/pager/fluent-dark.scss +1 -1
  229. package/styles/pager/fluent.scss +1 -1
  230. package/styles/pager/highcontrast-light.scss +1 -1
  231. package/styles/pager/highcontrast.scss +1 -1
  232. package/styles/pager/material-dark.css +0 -1
  233. package/styles/pager/material-dark.scss +1 -1
  234. package/styles/pager/material.css +0 -1
  235. package/styles/pager/material.scss +1 -1
  236. package/styles/pager/material3-dark.css +0 -1
  237. package/styles/pager/material3-dark.scss +1 -1
  238. package/styles/pager/material3.css +0 -1
  239. package/styles/pager/material3.scss +1 -1
  240. package/styles/pager/tailwind-dark.css +0 -1
  241. package/styles/pager/tailwind-dark.scss +1 -1
  242. package/styles/pager/tailwind.css +0 -1
  243. package/styles/pager/tailwind.scss +1 -1
  244. package/styles/sidebar/bootstrap-dark.scss +1 -1
  245. package/styles/sidebar/bootstrap.scss +1 -1
  246. package/styles/sidebar/bootstrap4.scss +1 -1
  247. package/styles/sidebar/bootstrap5-dark.scss +1 -1
  248. package/styles/sidebar/bootstrap5.scss +1 -1
  249. package/styles/sidebar/fabric-dark.scss +1 -1
  250. package/styles/sidebar/fabric.scss +1 -1
  251. package/styles/sidebar/fluent-dark.scss +1 -1
  252. package/styles/sidebar/fluent.scss +1 -1
  253. package/styles/sidebar/highcontrast-light.scss +1 -1
  254. package/styles/sidebar/highcontrast.scss +1 -1
  255. package/styles/sidebar/material-dark.css +0 -1
  256. package/styles/sidebar/material-dark.scss +1 -1
  257. package/styles/sidebar/material.css +0 -1
  258. package/styles/sidebar/material.scss +1 -1
  259. package/styles/sidebar/material3-dark.css +0 -1
  260. package/styles/sidebar/material3-dark.scss +1 -1
  261. package/styles/sidebar/material3.css +0 -1
  262. package/styles/sidebar/material3.scss +1 -1
  263. package/styles/sidebar/tailwind-dark.css +0 -1
  264. package/styles/sidebar/tailwind-dark.scss +1 -1
  265. package/styles/sidebar/tailwind.css +0 -1
  266. package/styles/sidebar/tailwind.scss +1 -1
  267. package/styles/tab/_tailwind-definition.scss +2 -2
  268. package/styles/tab/bootstrap-dark.scss +1 -1
  269. package/styles/tab/bootstrap.scss +1 -1
  270. package/styles/tab/bootstrap4.scss +1 -1
  271. package/styles/tab/bootstrap5-dark.scss +1 -1
  272. package/styles/tab/bootstrap5.scss +1 -1
  273. package/styles/tab/fabric-dark.scss +1 -1
  274. package/styles/tab/fabric.scss +1 -1
  275. package/styles/tab/fluent-dark.scss +1 -1
  276. package/styles/tab/fluent.scss +1 -1
  277. package/styles/tab/highcontrast-light.scss +1 -1
  278. package/styles/tab/highcontrast.scss +1 -1
  279. package/styles/tab/material-dark.css +0 -1
  280. package/styles/tab/material-dark.scss +1 -1
  281. package/styles/tab/material.css +0 -1
  282. package/styles/tab/material.scss +1 -1
  283. package/styles/tab/material3-dark.css +0 -1
  284. package/styles/tab/material3-dark.scss +1 -1
  285. package/styles/tab/material3.css +0 -1
  286. package/styles/tab/material3.scss +1 -1
  287. package/styles/tab/tailwind-dark.css +2 -3
  288. package/styles/tab/tailwind-dark.scss +1 -1
  289. package/styles/tab/tailwind.css +2 -3
  290. package/styles/tab/tailwind.scss +1 -1
  291. package/styles/tailwind-dark.css +18 -26
  292. package/styles/tailwind.css +18 -26
  293. package/styles/toolbar/_bootstrap5-definition.scss +4 -4
  294. package/styles/toolbar/_material3-definition.scss +1 -1
  295. package/styles/toolbar/_tailwind-definition.scss +2 -2
  296. package/styles/toolbar/bootstrap-dark.scss +1 -1
  297. package/styles/toolbar/bootstrap.scss +1 -1
  298. package/styles/toolbar/bootstrap4.scss +1 -1
  299. package/styles/toolbar/bootstrap5-dark.css +4 -4
  300. package/styles/toolbar/bootstrap5-dark.scss +1 -1
  301. package/styles/toolbar/bootstrap5.css +4 -4
  302. package/styles/toolbar/bootstrap5.scss +1 -1
  303. package/styles/toolbar/fabric-dark.scss +1 -1
  304. package/styles/toolbar/fabric.scss +1 -1
  305. package/styles/toolbar/fluent-dark.scss +1 -1
  306. package/styles/toolbar/fluent.scss +1 -1
  307. package/styles/toolbar/highcontrast-light.scss +1 -1
  308. package/styles/toolbar/highcontrast.scss +1 -1
  309. package/styles/toolbar/material-dark.css +0 -1
  310. package/styles/toolbar/material-dark.scss +1 -1
  311. package/styles/toolbar/material.css +0 -1
  312. package/styles/toolbar/material.scss +1 -1
  313. package/styles/toolbar/material3-dark.css +1 -2
  314. package/styles/toolbar/material3-dark.scss +1 -1
  315. package/styles/toolbar/material3.css +1 -2
  316. package/styles/toolbar/material3.scss +1 -1
  317. package/styles/toolbar/tailwind-dark.css +2 -3
  318. package/styles/toolbar/tailwind-dark.scss +1 -1
  319. package/styles/toolbar/tailwind.css +2 -3
  320. package/styles/toolbar/tailwind.scss +1 -1
  321. package/styles/treeview/bootstrap-dark.scss +1 -1
  322. package/styles/treeview/bootstrap.scss +1 -1
  323. package/styles/treeview/bootstrap4.scss +1 -1
  324. package/styles/treeview/bootstrap5-dark.scss +1 -1
  325. package/styles/treeview/bootstrap5.scss +1 -1
  326. package/styles/treeview/fabric-dark.scss +1 -1
  327. package/styles/treeview/fabric.scss +1 -1
  328. package/styles/treeview/fluent-dark.scss +1 -1
  329. package/styles/treeview/fluent.scss +1 -1
  330. package/styles/treeview/highcontrast-light.scss +1 -1
  331. package/styles/treeview/highcontrast.scss +1 -1
  332. package/styles/treeview/material-dark.css +0 -1
  333. package/styles/treeview/material-dark.scss +1 -1
  334. package/styles/treeview/material.css +0 -1
  335. package/styles/treeview/material.scss +1 -1
  336. package/styles/treeview/material3-dark.css +0 -1
  337. package/styles/treeview/material3-dark.scss +1 -1
  338. package/styles/treeview/material3.css +0 -1
  339. package/styles/treeview/material3.scss +1 -1
  340. package/styles/treeview/tailwind-dark.css +0 -1
  341. package/styles/treeview/tailwind-dark.scss +1 -1
  342. package/styles/treeview/tailwind.css +0 -1
  343. package/styles/treeview/tailwind.scss +1 -1
  344. package/styles/v-scroll/bootstrap-dark.scss +1 -1
  345. package/styles/v-scroll/bootstrap.scss +1 -1
  346. package/styles/v-scroll/bootstrap4.scss +1 -1
  347. package/styles/v-scroll/bootstrap5-dark.scss +1 -1
  348. package/styles/v-scroll/bootstrap5.scss +1 -1
  349. package/styles/v-scroll/fabric-dark.scss +1 -1
  350. package/styles/v-scroll/fabric.scss +1 -1
  351. package/styles/v-scroll/fluent-dark.scss +1 -1
  352. package/styles/v-scroll/fluent.scss +1 -1
  353. package/styles/v-scroll/highcontrast-light.scss +1 -1
  354. package/styles/v-scroll/highcontrast.scss +1 -1
  355. package/styles/v-scroll/material-dark.css +0 -1
  356. package/styles/v-scroll/material-dark.scss +1 -1
  357. package/styles/v-scroll/material.css +0 -1
  358. package/styles/v-scroll/material.scss +1 -1
  359. package/styles/v-scroll/material3-dark.css +0 -1
  360. package/styles/v-scroll/material3-dark.scss +1 -1
  361. package/styles/v-scroll/material3.css +0 -1
  362. package/styles/v-scroll/material3.scss +1 -1
  363. package/styles/v-scroll/tailwind-dark.css +0 -1
  364. package/styles/v-scroll/tailwind-dark.scss +1 -1
  365. package/styles/v-scroll/tailwind.css +0 -1
  366. package/styles/v-scroll/tailwind.scss +1 -1
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 22.2.11
3
+ * version : 23.1.36
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@22.2.8",
3
+ "_id": "@syncfusion/ej2-navigations@22.21.0",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-GfpbncyICmmctljscMk/6Ti1+OpGGuIFBxm0Ti012hR/YP8Q45c628+mdJbbeZR98iNiukE4SivYdYxdU8z63w==",
5
+ "_integrity": "sha512-ZFdWxo2R4Yqc8cQ36lXQgviT1E4xlJPtFDNf0J277vGN2vxxLcLbTe7wgr2wrFrX9R+QOixiN2gZbAFVWo8m7w==",
6
6
  "_location": "/@syncfusion/ej2-navigations",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -39,10 +39,10 @@
39
39
  "/@syncfusion/ej2-spreadsheet",
40
40
  "/@syncfusion/ej2-vue-navigations"
41
41
  ],
42
- "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-navigations/-/ej2-navigations-22.2.8.tgz",
43
- "_shasum": "f56389920bf2f999ea4528232b989bc2fa0b21a0",
42
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-release/@syncfusion/ej2-navigations/-/ej2-navigations-22.21.0.tgz",
43
+ "_shasum": "cf737ced5f81c1a3735e20e4a743a48dc093b8a2",
44
44
  "_spec": "@syncfusion/ej2-navigations@*",
45
- "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
45
+ "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
46
46
  "author": {
47
47
  "name": "Syncfusion Inc."
48
48
  },
@@ -51,12 +51,12 @@
51
51
  },
52
52
  "bundleDependencies": false,
53
53
  "dependencies": {
54
- "@syncfusion/ej2-base": "~22.2.10",
55
- "@syncfusion/ej2-buttons": "~22.2.9",
56
- "@syncfusion/ej2-data": "~22.2.5",
57
- "@syncfusion/ej2-inputs": "~22.2.9",
58
- "@syncfusion/ej2-lists": "~22.2.11",
59
- "@syncfusion/ej2-popups": "~22.2.11"
54
+ "@syncfusion/ej2-base": "~23.1.36",
55
+ "@syncfusion/ej2-buttons": "~23.1.36",
56
+ "@syncfusion/ej2-data": "~23.1.36",
57
+ "@syncfusion/ej2-inputs": "~23.1.36",
58
+ "@syncfusion/ej2-lists": "~23.1.36",
59
+ "@syncfusion/ej2-popups": "~23.1.36"
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": "22.2.11",
164
+ "version": "23.1.36",
165
165
  "sideEffects": false
166
166
  }
@@ -1,4 +1,4 @@
1
- import { Component, EventHandler, Property, Event, EmitType, AnimationModel, KeyboardEvents, rippleEffect } from '@syncfusion/ej2-base';import { KeyboardEventArgs, BaseEventArgs, Effect, getUniqueID, compile as templateCompiler } from '@syncfusion/ej2-base';import { isVisible, closest, attributes, detach, select, addClass, removeClass, append } from '@syncfusion/ej2-base';import { INotifyPropertyChanged, NotifyPropertyChanges, ChildProperty, Collection, Animation } from '@syncfusion/ej2-base';import { setStyleAttribute as setStyle, Complex } from '@syncfusion/ej2-base';import { isNullOrUndefined as isNOU, formatUnit, selectAll, SanitizeHtmlHelper, isRippleEnabled } from '@syncfusion/ej2-base';
1
+ import { Component, EventHandler, Property, Event, EmitType, AnimationModel, KeyboardEvents, rippleEffect, animationMode } from '@syncfusion/ej2-base';import { KeyboardEventArgs, BaseEventArgs, Effect, getUniqueID, compile as templateCompiler } from '@syncfusion/ej2-base';import { isVisible, closest, attributes, detach, select, addClass, removeClass, append } from '@syncfusion/ej2-base';import { INotifyPropertyChanged, NotifyPropertyChanges, ChildProperty, Collection, Animation } from '@syncfusion/ej2-base';import { setStyleAttribute as setStyle, Complex } from '@syncfusion/ej2-base';import { isNullOrUndefined as isNOU, formatUnit, selectAll, SanitizeHtmlHelper, isRippleEnabled } from '@syncfusion/ej2-base';
2
2
  import {ExpandMode,AccordionClickArgs,ExpandEventArgs,ExpandedEventArgs} from "./accordion";
3
3
  import {ComponentModel} from '@syncfusion/ej2-base';
4
4
 
@@ -197,6 +197,8 @@ export declare class Accordion extends Component<HTMLElement> implements INotify
197
197
  private isDestroy;
198
198
  private templateEle;
199
199
  private isAngular;
200
+ private isReact;
201
+ private isVue;
200
202
  private headerTemplateFn;
201
203
  private itemTemplateFn;
202
204
  private removeRippleEffect;
@@ -340,7 +342,7 @@ export declare class Accordion extends Component<HTMLElement> implements INotify
340
342
  private initialize;
341
343
  private renderControl;
342
344
  private wireFocusEvents;
343
- private 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 {
@@ -718,7 +717,7 @@ var Accordion = /** @class */ (function (_super) {
718
717
  this.items[parseInt(index.toString(), 10)].content =
719
718
  SanitizeHtmlHelper.sanitize(this.items[parseInt(index.toString(), 10)].content);
720
719
  }
721
- itemcnt.appendChild(this.fetchElement(ctn, this.items[parseInt(index.toString(), 10)].content, index, false));
720
+ itemcnt.appendChild(this.fetchElement(ctn, this.items[parseInt(index.toString(), 10)].content, index));
722
721
  }
723
722
  return itemcnt;
724
723
  };
@@ -752,7 +751,7 @@ var Accordion = /** @class */ (function (_super) {
752
751
  expandState.classList.remove(CLS_EXPANDSTATE);
753
752
  }
754
753
  trgtItemEle.classList.add(CLS_EXPANDSTATE);
755
- if ((animation.name === 'None')) {
754
+ if ((animation.name === 'None' && animationMode !== 'Enable') || (animationMode === 'Disable')) {
756
755
  _this.expandProgress('begin', icon, trgt, trgtItemEle, expandArgs);
757
756
  _this.expandProgress('end', icon, trgt, trgtItemEle, expandArgs);
758
757
  }
@@ -764,6 +763,10 @@ var Accordion = /** @class */ (function (_super) {
764
763
  };
765
764
  Accordion.prototype.expandAnimation = function (ef, icn, trgt, trgtItemEle, animate, args) {
766
765
  var _this = this;
766
+ if (ef === 'None' && animationMode === 'Enable') {
767
+ ef = 'SlideDown';
768
+ animate.name = 'SlideDown';
769
+ }
767
770
  var height;
768
771
  this.lastActiveItemId = trgtItemEle.id;
769
772
  if (ef === 'SlideDown') {
@@ -858,7 +861,7 @@ var Accordion = /** @class */ (function (_super) {
858
861
  _this.expandedItemsPop(trgtItemEle);
859
862
  trgtItemEle.classList.remove(CLS_EXPANDSTATE);
860
863
  icon.classList.add(CLS_TOGANIMATE);
861
- if ((animation.name === 'None')) {
864
+ if ((animation.name === 'None' && animationMode !== 'Enable') || (animationMode === 'Disable')) {
862
865
  _this.collapseProgress('begin', icon, trgt, trgtItemEle, expandArgs);
863
866
  _this.collapseProgress('end', icon, trgt, trgtItemEle, expandArgs);
864
867
  }
@@ -870,6 +873,10 @@ var Accordion = /** @class */ (function (_super) {
870
873
  };
871
874
  Accordion.prototype.collapseAnimation = function (ef, trgt, trgtItEl, icn, animate, args) {
872
875
  var _this = this;
876
+ if (ef === 'None' && animationMode === 'Enable') {
877
+ ef = 'SlideUp';
878
+ animate.name = 'SlideUp';
879
+ }
873
880
  var height;
874
881
  var trgtHeight;
875
882
  var itemHeight;
@@ -970,7 +977,7 @@ var Accordion = /** @class */ (function (_super) {
970
977
  EventHandler.add(innerItemEle.querySelector('.' + CLS_HEADER), 'focus', _this.focusIn, _this);
971
978
  EventHandler.add(innerItemEle.querySelector('.' + CLS_HEADER), 'blur', _this.focusOut, _this);
972
979
  _this.expandedIndices = [];
973
- _this.expandedItemRefresh(ele);
980
+ _this.expandedItemRefresh();
974
981
  if (addItem && addItem.expanded) {
975
982
  _this.expandItem(true, itemIndex);
976
983
  }
@@ -980,8 +987,7 @@ var Accordion = /** @class */ (function (_super) {
980
987
  this.renderReactTemplates();
981
988
  }
982
989
  };
983
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
984
- Accordion.prototype.expandedItemRefresh = function (ele) {
990
+ Accordion.prototype.expandedItemRefresh = function () {
985
991
  var _this = this;
986
992
  var itemEle = this.getItemElements();
987
993
  [].slice.call(itemEle).forEach(function (el) {
@@ -997,8 +1003,12 @@ var Accordion = /** @class */ (function (_super) {
997
1003
  * @returns {void}.
998
1004
  */
999
1005
  Accordion.prototype.removeItem = function (index) {
1000
- if (this.isReact) {
1001
- this.clearTemplate(['headerTemplate', 'itemTemplate'], index);
1006
+ if (this.isReact || this.isAngular) {
1007
+ var item = selectAll('.' + CLS_ITEM, this.element)[parseInt(index.toString(), 10)];
1008
+ var header = select('.' + CLS_HEADERCTN, item);
1009
+ var content = select('.' + CLS_CTENT, item);
1010
+ this.clearAccordionTemplate(header, this.dataSource.length > 0 ? 'headerTemplate' : 'header', CLS_HEADERCTN);
1011
+ this.clearAccordionTemplate(content, this.dataSource.length > 0 ? 'itemTemplate' : 'content', CLS_CTENT);
1002
1012
  }
1003
1013
  var itemEle = this.getItemElements();
1004
1014
  var ele = itemEle[parseInt(index.toString(), 10)];
@@ -1010,7 +1020,7 @@ var Accordion = /** @class */ (function (_super) {
1010
1020
  detach(ele);
1011
1021
  items.splice(index, 1);
1012
1022
  this.expandedIndices = [];
1013
- this.expandedItemRefresh(this.element);
1023
+ this.expandedItemRefresh();
1014
1024
  };
1015
1025
  /**
1016
1026
  * Sets focus to the specified index item header in Accordion.
@@ -1187,28 +1197,18 @@ var Accordion = /** @class */ (function (_super) {
1187
1197
  }
1188
1198
  };
1189
1199
  Accordion.prototype.setTemplate = function (template, toElement, index) {
1190
- toElement.innerHTML = '';
1191
- this.templateCompile(toElement, template, index);
1200
+ this.fetchElement(toElement, template, index);
1192
1201
  if (this.isReact) {
1193
1202
  this.renderReactTemplates();
1194
1203
  }
1195
1204
  };
1196
- Accordion.prototype.templateCompile = function (ele, cnt, index) {
1197
- var tempEle = this.createElement('div');
1198
- this.fetchElement(tempEle, cnt, index, false);
1199
- if (tempEle.childNodes.length !== 0) {
1200
- [].slice.call(tempEle.childNodes).forEach(function (childEle) {
1201
- ele.appendChild(childEle);
1202
- });
1203
- }
1204
- };
1205
1205
  Accordion.prototype.clearAccordionTemplate = function (templateEle, templateName, className) {
1206
1206
  if (this.registeredTemplate && this.registeredTemplate["" + templateName]) {
1207
1207
  var registeredTemplates = this.registeredTemplate;
1208
1208
  for (var index = 0; index < registeredTemplates["" + templateName].length; index++) {
1209
1209
  var registeredItem = registeredTemplates["" + templateName][parseInt(index.toString(), 10)].rootNodes[0];
1210
- var closestItem = closest(registeredItem.containerInfo, '.' + className);
1211
- if (!isNOU(closestItem) && closestItem === templateEle) {
1210
+ var closestItem = closest(registeredItem, '.' + className);
1211
+ if (!isNOU(closestItem) && closestItem === templateEle || isNOU(registeredItem.parentNode)) {
1212
1212
  this.clearTemplate([templateName], [registeredTemplates["" + templateName][parseInt(index.toString(), 10)]]);
1213
1213
  break;
1214
1214
  }
@@ -1278,7 +1278,8 @@ var Accordion = /** @class */ (function (_super) {
1278
1278
  if (property[parseInt(k.toString(), 10)] === 'disabled' && !isNOU(item)) {
1279
1279
  this.enableItem(index, !newVal);
1280
1280
  }
1281
- if (property[parseInt(k.toString(), 10)] === 'content' && !isNOU(item) && item.children.length === 2) {
1281
+ if (property.indexOf('header') < 0 && property[parseInt(k.toString(), 10)] === 'content'
1282
+ && !isNOU(item) && item.children.length === 2) {
1282
1283
  if (typeof newVal === 'function') {
1283
1284
  if (this.isAngular || this.isReact) {
1284
1285
  this.clearAccordionTemplate(content, property[parseInt(k.toString(), 10)], CLS_CTENT);
@@ -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
  }
@@ -309,6 +309,7 @@ var Breadcrumb = /** @class */ (function (_super) {
309
309
  // list item
310
310
  listBaseOptions.itemClass = '';
311
311
  if (this.itemTemplate) {
312
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
312
313
  listBaseOptions.template = this.itemTemplate;
313
314
  isSingleLevel = false;
314
315
  }
@@ -297,6 +297,7 @@ var Carousel = /** @class */ (function (_super) {
297
297
  };
298
298
  Carousel.prototype.initialize = function () {
299
299
  var carouselClasses = [];
300
+ carouselClasses.push(CLS_CAROUSEL);
300
301
  if (this.cssClass) {
301
302
  carouselClasses.push(this.cssClass);
302
303
  }
@@ -311,7 +312,7 @@ var Carousel = /** @class */ (function (_super) {
311
312
  }
312
313
  addClass([this.element], carouselClasses);
313
314
  setStyleAttribute(this.element, { 'width': formatUnit(this.width), 'height': formatUnit(this.height) });
314
- attributes(this.element, { 'tabindex': '0', 'aria-roledescription': 'carousel', 'aria-label': this.localeObj.getConstant('slideShow') });
315
+ attributes(this.element, { 'tabindex': '0', 'role': 'group', 'aria-roledescription': 'carousel', 'aria-label': this.localeObj.getConstant('slideShow') });
315
316
  if (!isNullOrUndefined(this.htmlAttributes)) {
316
317
  this.setHtmlAttributes(this.htmlAttributes, this.element);
317
318
  }
@@ -385,7 +386,7 @@ var Carousel = /** @class */ (function (_super) {
385
386
  className: CLS_ITEM + " " + (item.cssClass ? item.cssClass : '') + " " + (this.selectedIndex === index && !isClone ? CLS_ACTIVE : ''),
386
387
  attrs: {
387
388
  'aria-hidden': this.selectedIndex === index && !isClone ? 'false' : 'true', 'data-index': index.toString(),
388
- 'aria-role': 'group', 'aria-roledescription': 'slide'
389
+ 'role': 'group', 'aria-roledescription': 'slide'
389
390
  }
390
391
  });
391
392
  if (isClone) {
@@ -302,10 +302,10 @@ var MenuBase = /** @class */ (function (_super) {
302
302
  }
303
303
  this.targetElement = target;
304
304
  if (!this.isMenu) {
305
- EventHandler.add(this.targetElement, 'scroll', this.scrollHandler, this);
305
+ EventHandler.add(this.targetElement, 'mousewheel DOMMouseScroll', this.scrollHandler, this);
306
306
  for (var _i = 0, _a = getScrollableParent(this.targetElement); _i < _a.length; _i++) {
307
307
  var parent_1 = _a[_i];
308
- EventHandler.add(parent_1, 'scroll', this.scrollHandler, this);
308
+ EventHandler.add(parent_1, 'mousewheel DOMMouseScroll', this.scrollHandler, this);
309
309
  }
310
310
  }
311
311
  }
@@ -483,7 +483,7 @@ var MenuBase = /** @class */ (function (_super) {
483
483
  var popups_1 = [];
484
484
  var allPopup = selectAll('.' + POPUP);
485
485
  allPopup.forEach(function (elem) {
486
- if (_this.element.id === elem.id.split('-')[2] || elem.id.split('-')[2] + "-" + elem.id.split('-')[3]) {
486
+ if (_this.element.id === elem.id.split('-')[2] || elem.id.split('-')[2] + '-' + elem.id.split('-')[3]) {
487
487
  popups_1.push(elem);
488
488
  }
489
489
  });
@@ -851,7 +851,7 @@ var MenuBase = /** @class */ (function (_super) {
851
851
  if (isNullOrUndefined(e)) {
852
852
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
853
853
  var ev = document.createEvent('MouseEvents');
854
- ev.initEvent("click", true, false);
854
+ ev.initEvent('click', true, false);
855
855
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
856
856
  var targetEvent = this.copyObject(ev, {});
857
857
  targetEvent.target = targetEvent.srcElement = target;
@@ -864,6 +864,7 @@ var MenuBase = /** @class */ (function (_super) {
864
864
  }
865
865
  }
866
866
  };
867
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
867
868
  MenuBase.prototype.copyObject = function (source, destination) {
868
869
  for (var prop in source) {
869
870
  destination["" + prop] = source["" + prop];
@@ -1831,10 +1832,10 @@ var MenuBase = /** @class */ (function (_super) {
1831
1832
  }
1832
1833
  }
1833
1834
  if (!this.isMenu) {
1834
- EventHandler.remove(this.targetElement, 'scroll', this.scrollHandler);
1835
+ EventHandler.remove(this.targetElement, 'mousewheel DOMMouseScroll', this.scrollHandler);
1835
1836
  for (var _i = 0, _a = getScrollableParent(this.targetElement); _i < _a.length; _i++) {
1836
1837
  var parent_2 = _a[_i];
1837
- EventHandler.remove(parent_2, 'scroll', this.scrollHandler);
1838
+ EventHandler.remove(parent_2, 'mousewheel DOMMouseScroll', this.scrollHandler);
1838
1839
  }
1839
1840
  }
1840
1841
  }
@@ -1,4 +1,4 @@
1
- import { attributes, NotifyPropertyChanges, INotifyPropertyChanged, Property } from '@syncfusion/ej2-base';import { Browser, Complex, getUniqueID, SanitizeHtmlHelper, compile } from '@syncfusion/ej2-base';import { MenuBase, FieldSettings } from '../common/menu-base';import { MenuItemModel, FieldSettingsModel } from '../common/menu-base-model';
1
+ import { attributes, NotifyPropertyChanges, INotifyPropertyChanged, Property } from '@syncfusion/ej2-base';import { Browser, Complex, getUniqueID, SanitizeHtmlHelper } from '@syncfusion/ej2-base';import { MenuBase, FieldSettings } from '../common/menu-base';import { MenuItemModel, FieldSettingsModel } from '../common/menu-base-model';
2
2
  import {Orientation} from "./menu";
3
3
  import {MenuBaseModel} from "../common/menu-base-model";
4
4
 
@@ -1,4 +1,4 @@
1
- import { Component, Property, Event, EmitType, closest, Collection, Complex, attributes, detach, Instance, isNullOrUndefined } from '@syncfusion/ej2-base';import { INotifyPropertyChanged, NotifyPropertyChanges, ChildProperty, select, isVisible } from '@syncfusion/ej2-base';import { KeyboardEvents, KeyboardEventArgs, MouseEventArgs, Effect, Browser, formatUnit, DomElements, L10n } from '@syncfusion/ej2-base';import { setStyleAttribute as setStyle, isNullOrUndefined as isNOU, selectAll, addClass, removeClass, remove } from '@syncfusion/ej2-base';import { EventHandler, rippleEffect, Touch, SwipeEventArgs, compile, Animation, AnimationModel, BaseEventArgs } from '@syncfusion/ej2-base';import { getRandomId, SanitizeHtmlHelper, Draggable, DragEventArgs as DragArgs, DropEventArgs } from '@syncfusion/ej2-base';import { Base } from '@syncfusion/ej2-base';import { Popup, PopupModel } from '@syncfusion/ej2-popups';import { Toolbar, OverflowMode, ClickEventArgs } from '../toolbar/toolbar';
1
+ import { Component, Property, Event, EmitType, closest, Collection, Complex, attributes, detach, Instance, isNullOrUndefined, animationMode } from '@syncfusion/ej2-base';import { INotifyPropertyChanged, NotifyPropertyChanges, ChildProperty, select, isVisible } from '@syncfusion/ej2-base';import { KeyboardEvents, KeyboardEventArgs, MouseEventArgs, Effect, Browser, formatUnit, DomElements, L10n } from '@syncfusion/ej2-base';import { setStyleAttribute as setStyle, isNullOrUndefined as isNOU, selectAll, addClass, removeClass, remove } from '@syncfusion/ej2-base';import { EventHandler, rippleEffect, Touch, SwipeEventArgs, compile, Animation, AnimationModel, BaseEventArgs } from '@syncfusion/ej2-base';import { getRandomId, SanitizeHtmlHelper, Draggable, DragEventArgs as DragArgs, DropEventArgs } from '@syncfusion/ej2-base';import { Base } from '@syncfusion/ej2-base';import { Popup, PopupModel } from '@syncfusion/ej2-popups';import { Toolbar, OverflowMode, ClickEventArgs } from '../toolbar/toolbar';
2
2
  import {HeaderPosition,HeightStyles,ContentLoad,AddEventArgs,SelectingEventArgs,SelectEventArgs,RemoveEventArgs,DragEventArgs} from "./tab";
3
3
  import {ComponentModel} from '@syncfusion/ej2-base';
4
4
 
@@ -304,13 +304,15 @@ export interface TabModel extends ComponentModel{
304
304
 
305
305
  /**
306
306
  * Defines the area in which the draggable element movement will be occurring. Outside that area will be restricted
307
- * for the draggable element movement. By default, the draggable element movement occurs in the toolbar.
307
+ * for the draggable element movement. By default, the draggable element movement occurs in the toolbar.
308
+ *
308
309
  * @default null
309
310
  */
310
311
  dragArea?: string;
311
312
 
312
313
  /**
313
314
  * Sets true to allow drag and drop the Tab items
315
+ *
314
316
  * @default false
315
317
  */
316
318
  allowDragAndDrop?: boolean;
package/src/tab/tab.d.ts CHANGED
@@ -289,6 +289,9 @@ export declare class Tab extends Component<HTMLElement> implements INotifyProper
289
289
  private draggingItems;
290
290
  private draggableItems;
291
291
  private tbId;
292
+ private isAngular;
293
+ private isReact;
294
+ private isVue;
292
295
  private resizeContext;
293
296
  /**
294
297
  * Contains the keyboard configuration of the Tab.
@@ -422,11 +425,13 @@ export declare class Tab extends Component<HTMLElement> implements INotifyProper
422
425
  /**
423
426
  * Defines the area in which the draggable element movement will be occurring. Outside that area will be restricted
424
427
  * for the draggable element movement. By default, the draggable element movement occurs in the toolbar.
428
+ *
425
429
  * @default null
426
430
  */
427
431
  dragArea: string;
428
432
  /**
429
433
  * Sets true to allow drag and drop the Tab items
434
+ *
430
435
  * @default false
431
436
  */
432
437
  allowDragAndDrop: boolean;
package/src/tab/tab.js CHANGED
@@ -17,7 +17,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
17
17
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
18
  return c > 3 && r && Object.defineProperty(target, key, r), r;
19
19
  };
20
- import { Component, Property, Event, closest, Collection, Complex, attributes, detach, isNullOrUndefined } from '@syncfusion/ej2-base';
20
+ import { Component, Property, Event, closest, Collection, Complex, attributes, detach, isNullOrUndefined, animationMode } from '@syncfusion/ej2-base';
21
21
  import { NotifyPropertyChanges, ChildProperty, select, isVisible } from '@syncfusion/ej2-base';
22
22
  import { KeyboardEvents, Browser, formatUnit, L10n } from '@syncfusion/ej2-base';
23
23
  import { setStyleAttribute as setStyle, isNullOrUndefined as isNOU, selectAll, addClass, removeClass, remove } from '@syncfusion/ej2-base';
@@ -318,6 +318,9 @@ var Tab = /** @class */ (function (_super) {
318
318
  this.initRender = false;
319
319
  if (this.isReact && this.portals && this.portals.length > 0) {
320
320
  this.renderReactTemplates(function () {
321
+ if (!isNOU(this.tbObj)) {
322
+ this.tbObj.refreshOverflow();
323
+ }
321
324
  this.refreshActiveBorder();
322
325
  });
323
326
  }
@@ -534,10 +537,7 @@ var Tab = /** @class */ (function (_super) {
534
537
  tCont.appendChild(_this.btnCls.cloneNode(true));
535
538
  var wrap = _this.createElement('div', { className: CLS_WRAP, attrs: wrapAttrs });
536
539
  wrap.appendChild(tCont);
537
- if (_this.itemIndexArray === []) {
538
- _this.itemIndexArray.push(CLS_ITEM + _this.tabId + '_' + _this.lastIndex);
539
- }
540
- else {
540
+ if (_this.itemIndexArray instanceof Array) {
541
541
  _this.itemIndexArray.splice((index + i), 0, CLS_ITEM + _this.tabId + '_' + _this.lastIndex);
542
542
  }
543
543
  var attrObj = {
@@ -695,10 +695,9 @@ var Tab = /** @class */ (function (_super) {
695
695
  if (!isNOU(newCnt)) {
696
696
  this.prevActiveEle = newCnt.id;
697
697
  }
698
- var isPrevent = isNOU(this.animation) || this.animation.next === {} || this.animation.previous === {}
699
- || isNOU(this.animation.next.effect) || isNOU(this.animation.previous.effect)
700
- || this.animation.previous.effect == 'None' || this.animation.next.effect == 'None';
701
- if (this.initRender || value === false || this.animation === {} || isPrevent) {
698
+ var isPrevent = isNOU(this.animation) || isNOU(this.animation.next.effect) || isNOU(this.animation.previous.effect)
699
+ || this.animation.previous.effect === 'None' || this.animation.next.effect === 'None';
700
+ if (this.initRender || value === false || isPrevent) {
702
701
  if (oldCnt && oldCnt !== newCnt) {
703
702
  oldCnt.classList.remove(CLS_ACTIVE);
704
703
  }
@@ -710,7 +709,7 @@ var Tab = /** @class */ (function (_super) {
710
709
  var openEff = this.animation.previous.effect;
711
710
  animateObj = {
712
711
  name: ((openEff === 'None') ? '' : ((openEff !== 'SlideLeftIn') ? openEff : 'SlideLeftIn')),
713
- duration: this.animation.previous.duration,
712
+ duration: (this.animation.previous.duration === 0 && animationMode === 'Enable') ? 600 : this.animation.previous.duration,
714
713
  timingFunction: this.animation.previous.easing
715
714
  };
716
715
  }
@@ -718,7 +717,7 @@ var Tab = /** @class */ (function (_super) {
718
717
  var clsEff = this.animation.next.effect;
719
718
  animateObj = {
720
719
  name: ((clsEff === 'None') ? '' : ((clsEff !== 'SlideRightIn') ? clsEff : 'SlideRightIn')),
721
- duration: this.animation.next.duration,
720
+ duration: (this.animation.next.duration === 0 && animationMode === 'Enable') ? 600 : this.animation.next.duration,
722
721
  timingFunction: this.animation.next.easing
723
722
  };
724
723
  }
@@ -828,7 +827,7 @@ var Tab = /** @class */ (function (_super) {
828
827
  };
829
828
  Tab.prototype.getContent = function (ele, cnt, callType, index) {
830
829
  var eleStr;
831
- cnt = isNOU(cnt) ? "" : cnt;
830
+ cnt = isNOU(cnt) ? '' : cnt;
832
831
  if (typeof cnt === 'string' || isNOU(cnt.innerHTML)) {
833
832
  if (typeof cnt === 'string' && this.enableHtmlSanitizer) {
834
833
  cnt = SanitizeHtmlHelper.sanitize(cnt);
@@ -1179,7 +1178,7 @@ var Tab = /** @class */ (function (_super) {
1179
1178
  };
1180
1179
  Tab.prototype.showPopup = function (config) {
1181
1180
  var tbPop = select('.e-popup.e-toolbar-pop', this.hdrEle);
1182
- if (tbPop.classList.contains('e-popup-close')) {
1181
+ if (tbPop && tbPop.classList.contains('e-popup-close')) {
1183
1182
  var tbPopObj = (tbPop && tbPop.ej2_instances[0]);
1184
1183
  tbPopObj.position.X = (this.headerPlacement === 'Left') ? 'left' : 'right';
1185
1184
  tbPopObj.dataBind();
@@ -1630,8 +1629,8 @@ var Tab = /** @class */ (function (_super) {
1630
1629
  clonedElement: this.cloneElement,
1631
1630
  cancel: false
1632
1631
  };
1633
- this.trigger('onDragStart', dragArgs, function (tabitemDragArgs) {
1634
- if (tabitemDragArgs.cancel) {
1632
+ this.trigger('onDragStart', dragArgs, function (tabItemDragArgs) {
1633
+ if (tabItemDragArgs.cancel) {
1635
1634
  var dragObj = e.element.ej2_instances[0];
1636
1635
  if (!isNullOrUndefined(dragObj)) {
1637
1636
  dragObj.intDestroy(e.event);
@@ -235,6 +235,8 @@ export interface ToolbarModel extends ComponentModel{
235
235
  * * Extended - Hide the overflowing toolbar items in the next row. Show the overflowing toolbar items when you click the expand icons.
236
236
  * * If the popup content overflows the height of the page, the rest of the elements will be hidden.
237
237
  *
238
+ * {% codeBlock src='toolbar/scrollStep/index.md' %}{% endcodeBlock %}
239
+ *
238
240
  * @default null
239
241
  */
240
242
  scrollStep?: number;
@@ -304,6 +304,8 @@ export declare class Toolbar extends Component<HTMLElement> implements INotifyPr
304
304
  * * Extended - Hide the overflowing toolbar items in the next row. Show the overflowing toolbar items when you click the expand icons.
305
305
  * * If the popup content overflows the height of the page, the rest of the elements will be hidden.
306
306
  *
307
+ * {% codeBlock src='toolbar/scrollStep/index.md' %}{% endcodeBlock %}
308
+ *
307
309
  * @default null
308
310
  */
309
311
  scrollStep: number;
@@ -687,6 +687,11 @@ var Toolbar = /** @class */ (function (_super) {
687
687
  this.renderControl();
688
688
  this.wireEvents();
689
689
  this.renderComplete();
690
+ if (this.isReact && this.portals && this.portals.length > 0) {
691
+ this.renderReactTemplates(function () {
692
+ this.refreshOverflow();
693
+ });
694
+ }
690
695
  };
691
696
  Toolbar.prototype.initialize = function () {
692
697
  var width = formatUnit(this.width);
@@ -1863,7 +1868,7 @@ var Toolbar = /** @class */ (function (_super) {
1863
1868
  var tempArray = void 0;
1864
1869
  if (!isNOU(templateFn)) {
1865
1870
  var toolbarTemplateID = this.element.id + index + '_template';
1866
- tempArray = templateFn({}, this, 'template', toolbarTemplateID, this.isStringTemplate);
1871
+ tempArray = templateFn({}, this, 'template', toolbarTemplateID, this.isStringTemplate, undefined, undefined, this.root);
1867
1872
  }
1868
1873
  if (!isNOU(tempArray) && tempArray.length > 0) {
1869
1874
  [].slice.call(tempArray).forEach(function (ele) {
@@ -1,4 +1,4 @@
1
- import { Component, EmitType, isUndefined, Browser, compile, isNullOrUndefined, SanitizeHtmlHelper } from '@syncfusion/ej2-base';import { Property, INotifyPropertyChanged, NotifyPropertyChanges, ChildProperty, Complex } from '@syncfusion/ej2-base';import { Event, EventHandler, KeyboardEvents, KeyboardEventArgs } from '@syncfusion/ej2-base';import { rippleEffect, Effect, Animation, AnimationOptions, RippleOptions, remove } from '@syncfusion/ej2-base';import { Draggable, DragEventArgs, Droppable, DropEventArgs } from '@syncfusion/ej2-base';import { getElement } from '@syncfusion/ej2-base';import { addClass, removeClass, closest, matches, detach, select, selectAll, isVisible, append } from '@syncfusion/ej2-base';import { DataManager, Query } from '@syncfusion/ej2-data';import { isNullOrUndefined as isNOU, Touch, TapEventArgs, getValue, setValue, extend, merge, attributes } from '@syncfusion/ej2-base';import { ListBase, ListBaseOptions, AriaAttributesMapping, FieldsMapping } from '@syncfusion/ej2-lists';import { createCheckBox, rippleMouseHandler } from '@syncfusion/ej2-buttons';import { Input, InputObject } from '@syncfusion/ej2-inputs';import { createSpinner, showSpinner, hideSpinner } from '@syncfusion/ej2-popups';
1
+ import { Component, EmitType, isUndefined, Browser, compile, isNullOrUndefined, SanitizeHtmlHelper, animationMode } from '@syncfusion/ej2-base';import { Property, INotifyPropertyChanged, NotifyPropertyChanges, ChildProperty, Complex } from '@syncfusion/ej2-base';import { Event, EventHandler, KeyboardEvents, KeyboardEventArgs } from '@syncfusion/ej2-base';import { rippleEffect, Effect, Animation, AnimationOptions, RippleOptions, remove } from '@syncfusion/ej2-base';import { Draggable, DragEventArgs, Droppable, DropEventArgs } from '@syncfusion/ej2-base';import { getElement } from '@syncfusion/ej2-base';import { addClass, removeClass, closest, matches, detach, select, selectAll, isVisible, append } from '@syncfusion/ej2-base';import { DataManager, Query } from '@syncfusion/ej2-data';import { isNullOrUndefined as isNOU, Touch, TapEventArgs, getValue, setValue, extend, merge, attributes } from '@syncfusion/ej2-base';import { ListBase, ListBaseOptions, AriaAttributesMapping, FieldsMapping } from '@syncfusion/ej2-lists';import { createCheckBox, rippleMouseHandler } from '@syncfusion/ej2-buttons';import { Input, InputObject } from '@syncfusion/ej2-inputs';import { createSpinner, showSpinner, hideSpinner } from '@syncfusion/ej2-popups';
2
2
  import {ExpandOnSettings,SortOrder,FailureEventArgs,DataBoundEventArgs,DataSourceChangedEventArgs,DrawNodeEventArgs,NodeKeyPressEventArgs,NodeCheckEventArgs,NodeClickEventArgs,NodeExpandEventArgs,DragAndDropEventArgs,NodeEditEventArgs,NodeSelectEventArgs} from "./treeview";
3
3
  import {ComponentModel} from '@syncfusion/ej2-base';
4
4
 
@@ -325,7 +325,7 @@ export interface NodeData {
325
325
  * Interface for Failure event arguments
326
326
  */
327
327
  export interface FailureEventArgs {
328
- /** Represents the Error object that contains information about the error that occurred. This property allows you to access details such as the error message, stack trace, error code, or any additional information associated with the error. */
328
+ /** Defines the error information. */
329
329
  error?: Error;
330
330
  }
331
331
  /**
@@ -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, isUndefined, Browser, compile, isNullOrUndefined, SanitizeHtmlHelper } from '@syncfusion/ej2-base';
20
+ import { Component, isUndefined, Browser, compile, isNullOrUndefined, SanitizeHtmlHelper, animationMode } from '@syncfusion/ej2-base';
21
21
  import { Property, NotifyPropertyChanges, ChildProperty, Complex } from '@syncfusion/ej2-base';
22
22
  import { Event, EventHandler, KeyboardEvents } from '@syncfusion/ej2-base';
23
23
  import { rippleEffect, Animation, remove } from '@syncfusion/ej2-base';
@@ -874,7 +874,7 @@ var TreeView = /** @class */ (function (_super) {
874
874
  }
875
875
  }
876
876
  var eNodes = selectAll('.' + EXPANDED, element);
877
- if (!this.loadOnDemand) {
877
+ if (!this.loadOnDemand && this.fields.dataSource instanceof DataManager) {
878
878
  this.isInitalExpand = this.treeData.filter(function (e) { return e[_this.fields.expanded] == true; }).length > 0 ? true : this.isInitalExpand;
879
879
  }
880
880
  if (!this.isInitalExpand) {
@@ -1383,7 +1383,7 @@ var TreeView = /** @class */ (function (_super) {
1383
1383
  TreeView.prototype.doExpandAction = function () {
1384
1384
  var _this = this;
1385
1385
  var eUids = this.expandedNodes;
1386
- if (!this.loadOnDemand) {
1386
+ if (!this.loadOnDemand && this.fields.dataSource instanceof DataManager) {
1387
1387
  this.isInitalExpand = this.treeData.filter(function (e) { return e[_this.fields.expanded] == true; }).length > 0 ? true : this.isInitalExpand;
1388
1388
  }
1389
1389
  if (this.isInitalExpand && eUids.length > 0) {
@@ -1578,7 +1578,7 @@ var TreeView = /** @class */ (function (_super) {
1578
1578
  if (this.isAnimate && !this.isRefreshed) {
1579
1579
  this.aniObj.animate(ul_1, {
1580
1580
  name: this.animation.expand.effect,
1581
- duration: this.animation.expand.duration,
1581
+ duration: (this.animation.expand.duration === 0 && animationMode === 'Enable') ? 400 : this.animation.expand.duration,
1582
1582
  timingFunction: this.animation.expand.easing,
1583
1583
  begin: function (args) {
1584
1584
  liEle_1.style.overflow = 'hidden';
@@ -1680,7 +1680,7 @@ var TreeView = /** @class */ (function (_super) {
1680
1680
  if (this.isAnimate) {
1681
1681
  this.aniObj.animate(ul, {
1682
1682
  name: this.animation.collapse.effect,
1683
- duration: this.animation.collapse.duration,
1683
+ duration: (this.animation.collapse.duration === 0 && animationMode === 'Enable') ? 400 : this.animation.collapse.duration,
1684
1684
  timingFunction: this.animation.collapse.easing,
1685
1685
  begin: function (args) {
1686
1686
  liEle.style.overflow = 'hidden';