@syncfusion/ej2-navigations 17.2.55-1205479 → 17.3.14-96615

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 (316) hide show
  1. package/.eslintrc.json +244 -0
  2. package/CHANGELOG.md +898 -786
  3. package/README.md +163 -163
  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 +512 -255
  7. package/dist/es6/ej2-navigations.es2015.js.map +1 -1
  8. package/dist/es6/ej2-navigations.es5.js +642 -385
  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/dist/ts/accordion/accordion.ts +1312 -0
  14. package/dist/ts/common/h-scroll.ts +459 -0
  15. package/dist/ts/common/menu-base.ts +2131 -0
  16. package/dist/ts/common/v-scroll.ts +430 -0
  17. package/dist/ts/context-menu/context-menu.ts +119 -0
  18. package/dist/ts/menu/menu.ts +270 -0
  19. package/dist/ts/sidebar/sidebar.ts +817 -0
  20. package/dist/ts/tab/tab.ts +1761 -0
  21. package/dist/ts/toolbar/toolbar.ts +2076 -0
  22. package/dist/ts/treeview/treeview.ts +5050 -0
  23. package/helpers/e2e/index.js +3 -3
  24. package/license +10 -10
  25. package/package.json +135 -145
  26. package/src/accordion/accordion-model.d.ts +162 -143
  27. package/src/accordion/accordion.d.ts +35 -6
  28. package/src/accordion/accordion.js +193 -71
  29. package/src/common/h-scroll-model.d.ts +5 -5
  30. package/src/common/h-scroll.js +19 -20
  31. package/src/common/index.d.ts +1 -0
  32. package/src/common/index.js +1 -0
  33. package/src/common/menu-base-model.d.ts +157 -157
  34. package/src/common/menu-base.d.ts +19 -0
  35. package/src/common/menu-base.js +97 -24
  36. package/src/common/v-scroll-model.d.ts +5 -5
  37. package/src/common/v-scroll.js +19 -19
  38. package/src/context-menu/context-menu-model.d.ts +15 -15
  39. package/src/context-menu/context-menu.js +19 -19
  40. package/src/menu/menu-model.d.ts +30 -30
  41. package/src/menu/menu.js +19 -19
  42. package/src/sidebar/sidebar-model.d.ts +136 -136
  43. package/src/sidebar/sidebar.js +19 -19
  44. package/src/tab/tab-model.d.ts +215 -215
  45. package/src/tab/tab.d.ts +3 -0
  46. package/src/tab/tab.js +120 -83
  47. package/src/toolbar/toolbar-model.d.ts +175 -175
  48. package/src/toolbar/toolbar.d.ts +2 -1
  49. package/src/toolbar/toolbar.js +30 -24
  50. package/src/treeview/treeview-model.d.ts +323 -323
  51. package/src/treeview/treeview.d.ts +3 -1
  52. package/src/treeview/treeview.js +107 -87
  53. package/styles/accordion/_all.scss +2 -2
  54. package/styles/accordion/_bootstrap-dark-definition.scss +69 -69
  55. package/styles/accordion/_bootstrap-definition.scss +76 -76
  56. package/styles/accordion/_bootstrap4-definition.scss +82 -82
  57. package/styles/accordion/_fabric-dark-definition.scss +74 -74
  58. package/styles/accordion/_fabric-definition.scss +78 -78
  59. package/styles/accordion/_highcontrast-definition.scss +106 -106
  60. package/styles/accordion/_highcontrast-light-definition.scss +104 -104
  61. package/styles/accordion/_layout.scss +447 -447
  62. package/styles/accordion/_material-dark-definition.scss +75 -75
  63. package/styles/accordion/_material-definition.scss +72 -72
  64. package/styles/accordion/_theme.scss +479 -479
  65. package/styles/accordion/icons/_bootstrap-dark.scss +17 -17
  66. package/styles/accordion/icons/_bootstrap.scss +17 -17
  67. package/styles/accordion/icons/_bootstrap4.scss +17 -17
  68. package/styles/accordion/icons/_fabric-dark.scss +17 -17
  69. package/styles/accordion/icons/_fabric.scss +17 -17
  70. package/styles/accordion/icons/_highcontrast-light.scss +17 -17
  71. package/styles/accordion/icons/_highcontrast.scss +17 -17
  72. package/styles/accordion/icons/_material-dark.scss +17 -17
  73. package/styles/accordion/icons/_material.scss +17 -17
  74. package/styles/accordion/material-dark.css +2 -2
  75. package/styles/bootstrap-dark.css +10 -9
  76. package/styles/bootstrap.css +10 -9
  77. package/styles/bootstrap4.css +10 -9
  78. package/styles/bootstrap5-dark.css +0 -0
  79. package/styles/bootstrap5-dark.scss +0 -0
  80. package/styles/bootstrap5.css +0 -0
  81. package/styles/bootstrap5.scss +0 -0
  82. package/styles/context-menu/_all.scss +2 -2
  83. package/styles/context-menu/_bootstrap-dark-definition.scss +54 -54
  84. package/styles/context-menu/_bootstrap-definition.scss +52 -52
  85. package/styles/context-menu/_bootstrap4-definition.scss +52 -52
  86. package/styles/context-menu/_fabric-dark-definition.scss +54 -54
  87. package/styles/context-menu/_fabric-definition.scss +52 -52
  88. package/styles/context-menu/_highcontrast-definition.scss +52 -52
  89. package/styles/context-menu/_highcontrast-light-definition.scss +54 -54
  90. package/styles/context-menu/_layout-mixin.scss +175 -174
  91. package/styles/context-menu/_layout.scss +70 -70
  92. package/styles/context-menu/_material-dark-definition.scss +54 -54
  93. package/styles/context-menu/_material-definition.scss +52 -52
  94. package/styles/context-menu/_theme-mixin.scss +59 -59
  95. package/styles/context-menu/_theme.scss +36 -36
  96. package/styles/context-menu/bootstrap-dark.css +1 -1
  97. package/styles/context-menu/bootstrap.css +1 -1
  98. package/styles/context-menu/bootstrap4.css +1 -1
  99. package/styles/context-menu/fabric-dark.css +1 -1
  100. package/styles/context-menu/fabric.css +1 -1
  101. package/styles/context-menu/highcontrast-light.css +1 -1
  102. package/styles/context-menu/highcontrast.css +1 -1
  103. package/styles/context-menu/icons/_bootstrap-dark.scss +30 -30
  104. package/styles/context-menu/icons/_bootstrap.scss +30 -30
  105. package/styles/context-menu/icons/_bootstrap4.scss +30 -30
  106. package/styles/context-menu/icons/_fabric-dark.scss +30 -30
  107. package/styles/context-menu/icons/_fabric.scss +30 -30
  108. package/styles/context-menu/icons/_highcontrast-light.scss +30 -30
  109. package/styles/context-menu/icons/_highcontrast.scss +30 -30
  110. package/styles/context-menu/icons/_material-dark.scss +30 -30
  111. package/styles/context-menu/icons/_material.scss +30 -30
  112. package/styles/context-menu/material-dark.css +1 -1
  113. package/styles/context-menu/material.css +4 -4
  114. package/styles/fabric-dark.css +10 -9
  115. package/styles/fabric.css +10 -9
  116. package/styles/h-scroll/_all.scss +2 -2
  117. package/styles/h-scroll/_bootstrap-dark-definition.scss +49 -49
  118. package/styles/h-scroll/_bootstrap-definition.scss +50 -50
  119. package/styles/h-scroll/_bootstrap4-definition.scss +49 -49
  120. package/styles/h-scroll/_fabric-dark-definition.scss +50 -50
  121. package/styles/h-scroll/_fabric-definition.scss +48 -48
  122. package/styles/h-scroll/_highcontrast-definition.scss +52 -52
  123. package/styles/h-scroll/_highcontrast-light-definition.scss +54 -54
  124. package/styles/h-scroll/_layout.scss +198 -198
  125. package/styles/h-scroll/_material-dark-definition.scss +77 -77
  126. package/styles/h-scroll/_material-definition.scss +77 -77
  127. package/styles/h-scroll/_theme.scss +157 -157
  128. package/styles/h-scroll/icons/_bootstrap-dark.scss +49 -49
  129. package/styles/h-scroll/icons/_bootstrap.scss +49 -49
  130. package/styles/h-scroll/icons/_bootstrap4.scss +49 -49
  131. package/styles/h-scroll/icons/_fabric-dark.scss +49 -49
  132. package/styles/h-scroll/icons/_fabric.scss +49 -49
  133. package/styles/h-scroll/icons/_highcontrast-light.scss +49 -49
  134. package/styles/h-scroll/icons/_highcontrast.scss +49 -49
  135. package/styles/h-scroll/icons/_material-dark.scss +49 -49
  136. package/styles/h-scroll/icons/_material.scss +49 -49
  137. package/styles/highcontrast-light.css +10 -9
  138. package/styles/highcontrast.css +10 -9
  139. package/styles/material-dark.css +12 -11
  140. package/styles/material.css +24 -14
  141. package/styles/menu/_all.scss +2 -2
  142. package/styles/menu/_bootstrap-dark-definition.scss +63 -63
  143. package/styles/menu/_bootstrap-definition.scss +65 -65
  144. package/styles/menu/_bootstrap4-definition.scss +64 -64
  145. package/styles/menu/_fabric-dark-definition.scss +63 -63
  146. package/styles/menu/_fabric-definition.scss +64 -64
  147. package/styles/menu/_highcontrast-definition.scss +65 -65
  148. package/styles/menu/_highcontrast-light-definition.scss +61 -61
  149. package/styles/menu/_layout.scss +638 -637
  150. package/styles/menu/_material-dark-definition.scss +63 -63
  151. package/styles/menu/_material-definition.scss +64 -64
  152. package/styles/menu/_theme.scss +243 -243
  153. package/styles/menu/bootstrap-dark.css +2 -1
  154. package/styles/menu/bootstrap.css +2 -1
  155. package/styles/menu/bootstrap.scss +1 -0
  156. package/styles/menu/bootstrap4.css +2 -1
  157. package/styles/menu/fabric-dark.css +2 -1
  158. package/styles/menu/fabric.css +2 -1
  159. package/styles/menu/fabric.scss +1 -0
  160. package/styles/menu/highcontrast-light.css +2 -1
  161. package/styles/menu/highcontrast.css +2 -1
  162. package/styles/menu/highcontrast.scss +1 -0
  163. package/styles/menu/icons/_bootstrap-dark.scss +127 -127
  164. package/styles/menu/icons/_bootstrap.scss +127 -127
  165. package/styles/menu/icons/_bootstrap4.scss +127 -127
  166. package/styles/menu/icons/_fabric-dark.scss +127 -127
  167. package/styles/menu/icons/_fabric.scss +127 -127
  168. package/styles/menu/icons/_highcontrast-light.scss +127 -127
  169. package/styles/menu/icons/_highcontrast.scss +127 -127
  170. package/styles/menu/icons/_material-dark.scss +127 -127
  171. package/styles/menu/icons/_material.scss +127 -127
  172. package/styles/menu/material-dark.css +2 -1
  173. package/styles/menu/material.css +4 -3
  174. package/styles/menu/material.scss +1 -0
  175. package/styles/sidebar/_all.scss +3 -3
  176. package/styles/sidebar/_bootstrap-dark-definition.scss +4 -4
  177. package/styles/sidebar/_bootstrap-definition.scss +4 -4
  178. package/styles/sidebar/_bootstrap4-definition.scss +4 -4
  179. package/styles/sidebar/_fabric-dark-definition.scss +4 -4
  180. package/styles/sidebar/_fabric-definition.scss +6 -6
  181. package/styles/sidebar/_highcontrast-definition.scss +4 -4
  182. package/styles/sidebar/_highcontrast-light-definition.scss +4 -4
  183. package/styles/sidebar/_icons.scss +1 -1
  184. package/styles/sidebar/_material-dark-definition.scss +4 -4
  185. package/styles/sidebar/_material-definition.scss +6 -6
  186. package/styles/sidebar/_theme.scss +168 -168
  187. package/styles/sidebar/bootstrap-dark.css +0 -1
  188. package/styles/sidebar/bootstrap.css +0 -1
  189. package/styles/sidebar/bootstrap4.css +0 -1
  190. package/styles/sidebar/fabric-dark.css +0 -1
  191. package/styles/sidebar/fabric.css +0 -1
  192. package/styles/sidebar/highcontrast-light.css +0 -1
  193. package/styles/sidebar/highcontrast.css +0 -1
  194. package/styles/sidebar/material-dark.css +0 -1
  195. package/styles/sidebar/material.css +0 -1
  196. package/styles/tab/_all.scss +2 -2
  197. package/styles/tab/_bootstrap-dark-definition.scss +386 -386
  198. package/styles/tab/_bootstrap-definition.scss +396 -396
  199. package/styles/tab/_bootstrap4-definition.scss +401 -401
  200. package/styles/tab/_fabric-dark-definition.scss +394 -394
  201. package/styles/tab/_fabric-definition.scss +410 -410
  202. package/styles/tab/_highcontrast-definition.scss +434 -434
  203. package/styles/tab/_highcontrast-light-definition.scss +423 -423
  204. package/styles/tab/_icons.scss +43 -43
  205. package/styles/tab/_layout.scss +3528 -3521
  206. package/styles/tab/_material-dark-definition.scss +407 -407
  207. package/styles/tab/_material-definition.scss +416 -416
  208. package/styles/tab/_theme.scss +1751 -1751
  209. package/styles/tab/bootstrap-dark.css +7 -2
  210. package/styles/tab/bootstrap.css +7 -2
  211. package/styles/tab/bootstrap4.css +7 -2
  212. package/styles/tab/fabric-dark.css +7 -2
  213. package/styles/tab/fabric.css +7 -2
  214. package/styles/tab/highcontrast-light.css +7 -2
  215. package/styles/tab/highcontrast.css +7 -2
  216. package/styles/tab/icons/_bootstrap-dark.scss +132 -132
  217. package/styles/tab/icons/_bootstrap.scss +132 -132
  218. package/styles/tab/icons/_bootstrap4.scss +132 -132
  219. package/styles/tab/icons/_fabric-dark.scss +132 -132
  220. package/styles/tab/icons/_fabric.scss +132 -132
  221. package/styles/tab/icons/_highcontrast-light.scss +132 -132
  222. package/styles/tab/icons/_highcontrast.scss +132 -132
  223. package/styles/tab/icons/_material-dark.scss +132 -132
  224. package/styles/tab/icons/_material.scss +132 -132
  225. package/styles/tab/material-dark.css +7 -2
  226. package/styles/tab/material.css +7 -2
  227. package/styles/tailwind-dark.css +0 -0
  228. package/styles/tailwind-dark.scss +0 -0
  229. package/styles/tailwind.css +0 -0
  230. package/styles/tailwind.scss +0 -0
  231. package/styles/toolbar/_all.scss +2 -2
  232. package/styles/toolbar/_bootstrap-dark-definition.scss +135 -135
  233. package/styles/toolbar/_bootstrap-definition.scss +134 -134
  234. package/styles/toolbar/_bootstrap4-definition.scss +139 -139
  235. package/styles/toolbar/_fabric-dark-definition.scss +155 -155
  236. package/styles/toolbar/_fabric-definition.scss +139 -139
  237. package/styles/toolbar/_highcontrast-definition.scss +149 -149
  238. package/styles/toolbar/_highcontrast-light-definition.scss +164 -164
  239. package/styles/toolbar/_layout.scss +1460 -1460
  240. package/styles/toolbar/_material-dark-definition.scss +180 -180
  241. package/styles/toolbar/_material-definition.scss +164 -164
  242. package/styles/toolbar/_theme.scss +451 -451
  243. package/styles/toolbar/bootstrap-dark.css +0 -1
  244. package/styles/toolbar/bootstrap.css +0 -1
  245. package/styles/toolbar/bootstrap.scss +1 -0
  246. package/styles/toolbar/bootstrap4.css +0 -1
  247. package/styles/toolbar/fabric-dark.css +0 -1
  248. package/styles/toolbar/fabric.css +0 -1
  249. package/styles/toolbar/fabric.scss +1 -0
  250. package/styles/toolbar/highcontrast-light.css +0 -1
  251. package/styles/toolbar/highcontrast.css +0 -1
  252. package/styles/toolbar/highcontrast.scss +1 -0
  253. package/styles/toolbar/icons/_bootstrap-dark.scss +16 -16
  254. package/styles/toolbar/icons/_bootstrap.scss +16 -16
  255. package/styles/toolbar/icons/_bootstrap4.scss +16 -16
  256. package/styles/toolbar/icons/_fabric-dark.scss +16 -16
  257. package/styles/toolbar/icons/_fabric.scss +16 -16
  258. package/styles/toolbar/icons/_highcontrast-light.scss +16 -16
  259. package/styles/toolbar/icons/_highcontrast.scss +16 -16
  260. package/styles/toolbar/icons/_material-dark.scss +16 -16
  261. package/styles/toolbar/icons/_material.scss +16 -16
  262. package/styles/toolbar/material-dark.css +0 -1
  263. package/styles/toolbar/material.css +0 -1
  264. package/styles/toolbar/material.scss +1 -0
  265. package/styles/treeview/_all.scss +2 -2
  266. package/styles/treeview/_bootstrap-dark-definition.scss +131 -131
  267. package/styles/treeview/_bootstrap-definition.scss +127 -127
  268. package/styles/treeview/_bootstrap4-definition.scss +153 -153
  269. package/styles/treeview/_fabric-dark-definition.scss +130 -130
  270. package/styles/treeview/_fabric-definition.scss +126 -126
  271. package/styles/treeview/_highcontrast-definition.scss +132 -132
  272. package/styles/treeview/_highcontrast-light-definition.scss +137 -137
  273. package/styles/treeview/_layout.scss +551 -551
  274. package/styles/treeview/_material-dark-definition.scss +126 -126
  275. package/styles/treeview/_material-definition.scss +126 -126
  276. package/styles/treeview/_theme.scss +331 -331
  277. package/styles/treeview/bootstrap-dark.css +0 -3
  278. package/styles/treeview/bootstrap.css +0 -3
  279. package/styles/treeview/bootstrap4.css +0 -3
  280. package/styles/treeview/fabric-dark.css +0 -3
  281. package/styles/treeview/fabric.css +0 -3
  282. package/styles/treeview/highcontrast-light.css +0 -3
  283. package/styles/treeview/highcontrast.css +0 -3
  284. package/styles/treeview/icons/_bootstrap-dark.scss +39 -39
  285. package/styles/treeview/icons/_bootstrap.scss +39 -39
  286. package/styles/treeview/icons/_bootstrap4.scss +39 -39
  287. package/styles/treeview/icons/_fabric-dark.scss +43 -43
  288. package/styles/treeview/icons/_fabric.scss +43 -43
  289. package/styles/treeview/icons/_highcontrast-light.scss +43 -43
  290. package/styles/treeview/icons/_highcontrast.scss +43 -43
  291. package/styles/treeview/icons/_material-dark.scss +43 -43
  292. package/styles/treeview/icons/_material.scss +43 -43
  293. package/styles/treeview/material-dark.css +0 -3
  294. package/styles/treeview/material.css +9 -3
  295. package/styles/v-scroll/_all.scss +2 -2
  296. package/styles/v-scroll/_bootstrap-dark-definition.scss +50 -50
  297. package/styles/v-scroll/_bootstrap-definition.scss +49 -49
  298. package/styles/v-scroll/_bootstrap4-definition.scss +49 -49
  299. package/styles/v-scroll/_fabric-dark-definition.scss +51 -51
  300. package/styles/v-scroll/_fabric-definition.scss +50 -50
  301. package/styles/v-scroll/_highcontrast-definition.scss +51 -51
  302. package/styles/v-scroll/_highcontrast-light-definition.scss +52 -52
  303. package/styles/v-scroll/_layout.scss +162 -162
  304. package/styles/v-scroll/_material-dark-definition.scss +78 -78
  305. package/styles/v-scroll/_material-definition.scss +77 -77
  306. package/styles/v-scroll/_theme.scss +133 -133
  307. package/styles/v-scroll/icons/_bootstrap-dark.scss +26 -26
  308. package/styles/v-scroll/icons/_bootstrap.scss +26 -26
  309. package/styles/v-scroll/icons/_bootstrap4.scss +26 -26
  310. package/styles/v-scroll/icons/_fabric-dark.scss +26 -26
  311. package/styles/v-scroll/icons/_fabric.scss +26 -26
  312. package/styles/v-scroll/icons/_highcontrast-light.scss +26 -26
  313. package/styles/v-scroll/icons/_highcontrast.scss +26 -26
  314. package/styles/v-scroll/icons/_material-dark.scss +26 -26
  315. package/styles/v-scroll/icons/_material.scss +26 -26
  316. package/tslint.json +111 -0
@@ -1,29 +1,29 @@
1
- import { Animation, Browser, ChildProperty, Collection, Complex, Component, Draggable, Droppable, Event, EventHandler, KeyboardEvents, L10n, NotifyPropertyChanges, Property, Touch, addClass, append, attributes, blazorTemplates, classList, closest, compile, createElement, detach, extend, formatUnit, getElement, getInstance, getUniqueID, getValue, isBlazor, isNullOrUndefined, isUndefined, isVisible, matches, remove, removeClass, resetBlazorTemplate, rippleEffect, select, selectAll, setStyleAttribute, setValue, updateBlazorTemplate } from '@syncfusion/ej2-base';
1
+ import { Animation, Browser, ChildProperty, Collection, Complex, Component, Draggable, Droppable, Event, EventHandler, KeyboardEvents, L10n, NotifyPropertyChanges, Property, Touch, addClass, append, attributes, blazorTemplates, classList, closest, compile, createElement, detach, extend, formatUnit, getElement, getInstance, getRandomId, getUniqueID, getValue, isBlazor, isNullOrUndefined, isUndefined, isVisible, matches, remove, removeClass, resetBlazorTemplate, rippleEffect, select, selectAll, setStyleAttribute, setValue, updateBlazorTemplate } from '@syncfusion/ej2-base';
2
2
  import { ListBase } from '@syncfusion/ej2-lists';
3
3
  import { Popup, calculatePosition, createSpinner, fit, getScrollableParent, getZindexPartial, hideSpinner, isCollide, showSpinner } from '@syncfusion/ej2-popups';
4
4
  import { Button, createCheckBox, rippleMouseHandler } from '@syncfusion/ej2-buttons';
5
5
  import { DataManager, Query } from '@syncfusion/ej2-data';
6
6
  import { Input } from '@syncfusion/ej2-inputs';
7
7
 
8
- var __extends = (undefined && undefined.__extends) || (function () {
9
- var extendStatics = function (d, b) {
10
- extendStatics = Object.setPrototypeOf ||
11
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
12
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
13
- return extendStatics(d, b);
14
- };
15
- return function (d, b) {
16
- extendStatics(d, b);
17
- function __() { this.constructor = d; }
18
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
19
- };
20
- })();
21
- var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
22
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
23
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
24
- 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;
25
- return c > 3 && r && Object.defineProperty(target, key, r), r;
26
- };
8
+ var __extends = (undefined && undefined.__extends) || (function () {
9
+ var extendStatics = function (d, b) {
10
+ extendStatics = Object.setPrototypeOf ||
11
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
12
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
13
+ return extendStatics(d, b);
14
+ };
15
+ return function (d, b) {
16
+ extendStatics(d, b);
17
+ function __() { this.constructor = d; }
18
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
19
+ };
20
+ })();
21
+ var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
22
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
23
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
24
+ 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;
25
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
26
+ };
27
27
  var CLS_ROOT = 'e-hscroll';
28
28
  var CLS_RTL = 'e-rtl';
29
29
  var CLS_DISABLE = 'e-overlay';
@@ -210,7 +210,6 @@ var HScroll = /** @__PURE__ @class */ (function (_super) {
210
210
  var navLeftItem = this.createElement('div', { className: CLS_NAVLEFTARROW + ' ' + CLS_NAVARROW + ' e-icons' });
211
211
  navEle.appendChild(navLeftItem);
212
212
  nav.appendChild(navItem);
213
- nav.setAttribute('tabindex', '0');
214
213
  element.appendChild(nav);
215
214
  element.insertBefore(navEle, element.firstChild);
216
215
  if (this.ieCheck) {
@@ -495,25 +494,25 @@ var HScroll = /** @__PURE__ @class */ (function (_super) {
495
494
  return HScroll;
496
495
  }(Component));
497
496
 
498
- var __extends$1 = (undefined && undefined.__extends) || (function () {
499
- var extendStatics = function (d, b) {
500
- extendStatics = Object.setPrototypeOf ||
501
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
502
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
503
- return extendStatics(d, b);
504
- };
505
- return function (d, b) {
506
- extendStatics(d, b);
507
- function __() { this.constructor = d; }
508
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
509
- };
510
- })();
511
- var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
512
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
513
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
514
- 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;
515
- return c > 3 && r && Object.defineProperty(target, key, r), r;
516
- };
497
+ var __extends$1 = (undefined && undefined.__extends) || (function () {
498
+ var extendStatics = function (d, b) {
499
+ extendStatics = Object.setPrototypeOf ||
500
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
501
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
502
+ return extendStatics(d, b);
503
+ };
504
+ return function (d, b) {
505
+ extendStatics(d, b);
506
+ function __() { this.constructor = d; }
507
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
508
+ };
509
+ })();
510
+ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
511
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
512
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
513
+ 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;
514
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
515
+ };
517
516
  var CLS_ROOT$1 = 'e-vscroll';
518
517
  var CLS_RTL$1 = 'e-rtl';
519
518
  var CLS_DISABLE$1 = 'e-overlay';
@@ -943,25 +942,25 @@ var VScroll = /** @__PURE__ @class */ (function (_super) {
943
942
  return VScroll;
944
943
  }(Component));
945
944
 
946
- var __extends$2 = (undefined && undefined.__extends) || (function () {
947
- var extendStatics = function (d, b) {
948
- extendStatics = Object.setPrototypeOf ||
949
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
950
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
951
- return extendStatics(d, b);
952
- };
953
- return function (d, b) {
954
- extendStatics(d, b);
955
- function __() { this.constructor = d; }
956
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
957
- };
958
- })();
959
- var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
960
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
961
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
962
- 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;
963
- return c > 3 && r && Object.defineProperty(target, key, r), r;
964
- };
945
+ var __extends$2 = (undefined && undefined.__extends) || (function () {
946
+ var extendStatics = function (d, b) {
947
+ extendStatics = Object.setPrototypeOf ||
948
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
949
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
950
+ return extendStatics(d, b);
951
+ };
952
+ return function (d, b) {
953
+ extendStatics(d, b);
954
+ function __() { this.constructor = d; }
955
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
956
+ };
957
+ })();
958
+ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
959
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
960
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
961
+ 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;
962
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
963
+ };
965
964
  var ENTER = 'enter';
966
965
  var ESCAPE = 'escape';
967
966
  var FOCUSED = 'e-focused';
@@ -1013,6 +1012,17 @@ var FieldSettings = /** @__PURE__ @class */ (function (_super) {
1013
1012
  ], FieldSettings.prototype, "children", void 0);
1014
1013
  return FieldSettings;
1015
1014
  }(ChildProperty));
1015
+ var REGX_IOS = /(ipad|iphone|ipod touch)/i;
1016
+ var REGX_BROWSER = {
1017
+ OPERA: /(opera|opr)(?:.*version|)[ /]([\w.]+)/i,
1018
+ EDGE: /(edge)(?:.*version|)[ /]([\w.]+)/i,
1019
+ CHROME: /(chrome|crios)[ /]([\w.]+)/i,
1020
+ PANTHOMEJS: /(phantomjs)[ /]([\w.]+)/i,
1021
+ SAFARI: /(safari)[ /]([\w.]+)/i,
1022
+ WEBKIT: /(webkit)[ /]([\w.]+)/i,
1023
+ MSIE: /(msie|trident) ([\w.]+)/i,
1024
+ MOZILLA: /(mozilla)(?:.*? rv:([\w.]+)|)/i
1025
+ };
1016
1026
  /**
1017
1027
  * Specifies menu items.
1018
1028
  */
@@ -1196,7 +1206,7 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
1196
1206
  EventHandler.add(target, 'click', this.menuHeaderClickHandler, this);
1197
1207
  }
1198
1208
  else {
1199
- if (Browser.isIos) {
1209
+ if (this.menuIos()) {
1200
1210
  new Touch(target, { tapHold: this.touchHandler.bind(this) });
1201
1211
  }
1202
1212
  else {
@@ -1206,6 +1216,7 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
1206
1216
  }
1207
1217
  this.targetElement = target;
1208
1218
  if (!this.isMenu) {
1219
+ EventHandler.add(this.targetElement, 'scroll', this.scrollHandler, this);
1209
1220
  for (var _i = 0, _a = getScrollableParent(this.targetElement); _i < _a.length; _i++) {
1210
1221
  var parent_1 = _a[_i];
1211
1222
  EventHandler.add(parent_1, 'scroll', this.scrollHandler, this);
@@ -1223,6 +1234,22 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
1223
1234
  this.wireKeyboardEvent(wrapper);
1224
1235
  this.rippleFn = rippleEffect(wrapper, { selector: '.' + ITEM });
1225
1236
  };
1237
+ MenuBase.prototype.menuIos = function () {
1238
+ return this.getValue('isIos', REGX_IOS);
1239
+ };
1240
+ MenuBase.prototype.getValue = function (key, regX) {
1241
+ var browserDetails = typeof window !== 'undefined' ? window.browserDetails : {};
1242
+ if (typeof navigator !== 'undefined' && navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1 && Browser.isTouch === true && !REGX_BROWSER.CHROME.test(navigator.userAgent)) {
1243
+ browserDetails['isIos'] = true;
1244
+ browserDetails['isDevice'] = true;
1245
+ browserDetails['isTouch'] = true;
1246
+ browserDetails['isPointer'] = true;
1247
+ }
1248
+ if ('undefined' === typeof browserDetails["" + key]) {
1249
+ return browserDetails["" + key] = regX.test(Browser.userAgent);
1250
+ }
1251
+ return browserDetails["" + key];
1252
+ };
1226
1253
  MenuBase.prototype.wireKeyboardEvent = function (element) {
1227
1254
  var keyConfigs = {
1228
1255
  downarrow: DOWNARROW,
@@ -1995,10 +2022,13 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
1995
2022
  this.clickHandler(e);
1996
2023
  }
1997
2024
  }
2025
+ else if (this.isMenu && this.showItemOnClick) {
2026
+ this.removeLIStateByClass([FOCUSED], [wrapper].concat(this.getPopups()));
2027
+ }
1998
2028
  if (this.isMenu) {
1999
2029
  if (!this.showItemOnClick && (trgt.parentElement !== wrapper && !closest(trgt, '.e-' + this.getModuleName() + '-popup'))
2000
2030
  && (!cli || (cli && !this.getIndex(cli.id, true).length))) {
2001
- this.removeLIStateByClass([FOCUSED, SELECTED], [wrapper]);
2031
+ this.removeLIStateByClass([FOCUSED], [wrapper]);
2002
2032
  if (this.navIdx.length) {
2003
2033
  this.isClosed = true;
2004
2034
  this.closeMenu(null, e);
@@ -2065,6 +2095,9 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
2065
2095
  return false;
2066
2096
  };
2067
2097
  MenuBase.prototype.menuHeaderClickHandler = function (e) {
2098
+ if (closest(e.target, '.e-menu-wrapper').querySelector('ul.e-menu-parent').id !== this.element.id) {
2099
+ return;
2100
+ }
2068
2101
  this.element.classList.contains('e-hide-menu') ? this.openHamburgerMenu(e) : this.closeHamburgerMenu(e);
2069
2102
  };
2070
2103
  MenuBase.prototype.clickHandler = function (e) {
@@ -2075,9 +2108,16 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
2075
2108
  var wrapper = this.getWrapper();
2076
2109
  var trgt = e.target;
2077
2110
  var cli = this.cli = this.getLI(trgt);
2111
+ var regex = new RegExp('-ej2menu-(.*)-popup');
2078
2112
  var cliWrapper = cli ? closest(cli, '.e-' + this.getModuleName() + '-wrapper') : null;
2079
2113
  var isInstLI = cli && cliWrapper && (this.isMenu ? this.getIndex(cli.id, true).length > 0
2080
2114
  : wrapper.firstElementChild.id === cliWrapper.firstElementChild.id);
2115
+ if (cli && cliWrapper && this.isMenu) {
2116
+ var cliWrapperId = cliWrapper.id ? regex.exec(cliWrapper.id)[1] : cliWrapper.querySelector('.e-menu-parent').id;
2117
+ if (this.element.id !== cliWrapperId) {
2118
+ return;
2119
+ }
2120
+ }
2081
2121
  if (isInstLI && e.type === 'click' && !cli.classList.contains(HEADER)) {
2082
2122
  this.setLISelected(cli);
2083
2123
  var navIdx = this.getIndex(cli.id, true);
@@ -2139,7 +2179,11 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
2139
2179
  this.menuHeaderClickHandler(e);
2140
2180
  }
2141
2181
  else {
2142
- if (trgt.tagName !== 'UL' || trgt.parentElement !== wrapper) {
2182
+ if (trgt.tagName !== 'UL' || (this.isMenu ? trgt.parentElement.classList.contains('e-menu-wrapper') &&
2183
+ !this.getIndex(trgt.querySelector('.' + ITEM).id, true).length : trgt.parentElement !== wrapper)) {
2184
+ if (!cli) {
2185
+ this.removeLIStateByClass([SELECTED], [wrapper]);
2186
+ }
2143
2187
  if (!cli || !cli.querySelector('.' + CARET)) {
2144
2188
  this.closeMenu(null, e);
2145
2189
  }
@@ -2152,7 +2196,7 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
2152
2196
  if (this.showSubMenu) {
2153
2197
  var idx = this.navIdx.concat(this.cliIdx);
2154
2198
  var item = this.getItem(idx);
2155
- if (item[this.getField('children', idx.length - 1)] &&
2199
+ if (item && item[this.getField('children', idx.length - 1)] &&
2156
2200
  item[this.getField('children', idx.length - 1)].length) {
2157
2201
  if (e.type === 'mouseover' || (Browser.isDevice && this.isMenu)) {
2158
2202
  this.setLISelected(this.cli);
@@ -2200,6 +2244,13 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
2200
2244
  }
2201
2245
  return items;
2202
2246
  };
2247
+ MenuBase.prototype.setItems = function (newItems, navIdx) {
2248
+ var items = this.getItems(navIdx);
2249
+ items.splice(0, items.length);
2250
+ for (var i = 0; i < newItems.length; i++) {
2251
+ items.splice(i, 0, newItems[i]);
2252
+ }
2253
+ };
2203
2254
  MenuBase.prototype.getIdx = function (ul, li, skipHdr) {
2204
2255
  if (skipHdr === void 0) { skipHdr = true; }
2205
2256
  var idx = Array.prototype.indexOf.call(ul.querySelectorAll('li'), li);
@@ -2310,8 +2361,8 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
2310
2361
  idx = navIdx.pop();
2311
2362
  item = this_1.getItems(navIdx);
2312
2363
  this_1.insertAfter([item[idx]], item[idx].text);
2313
- item = this_1.getItems(navIdx);
2314
2364
  this_1.removeItem(item, navIdx, idx);
2365
+ this_1.setItems(item, navIdx);
2315
2366
  }
2316
2367
  navIdx.length = 0;
2317
2368
  }
@@ -2375,6 +2426,7 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
2375
2426
  }
2376
2427
  }
2377
2428
  if (!this.isMenu) {
2429
+ EventHandler.remove(this.targetElement, 'scroll', this.scrollHandler);
2378
2430
  for (var _i = 0, _a = getScrollableParent(this.targetElement); _i < _a.length; _i++) {
2379
2431
  var parent_2 = _a[_i];
2380
2432
  EventHandler.remove(parent_2, 'scroll', this.scrollHandler);
@@ -2547,8 +2599,28 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
2547
2599
  var idx;
2548
2600
  var navIdx;
2549
2601
  var disabled = DISABLED;
2602
+ var skipItem;
2550
2603
  for (var i = 0; i < items.length; i++) {
2551
2604
  navIdx = this.getIndex(items[i], isUniqueId);
2605
+ if (this.navIdx.length) {
2606
+ if (navIdx.length !== 1) {
2607
+ skipItem = false;
2608
+ for (var i_1 = 0, len = navIdx.length - 1; i_1 < len; i_1++) {
2609
+ if (navIdx[i_1] !== this.navIdx[i_1]) {
2610
+ skipItem = true;
2611
+ break;
2612
+ }
2613
+ }
2614
+ if (skipItem) {
2615
+ continue;
2616
+ }
2617
+ }
2618
+ }
2619
+ else {
2620
+ if (navIdx.length !== 1) {
2621
+ continue;
2622
+ }
2623
+ }
2552
2624
  idx = navIdx.pop();
2553
2625
  ul = this.getUlByNavIdx(navIdx.length);
2554
2626
  if (ul) {
@@ -2820,25 +2892,25 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
2820
2892
  * Navigation Common modules
2821
2893
  */
2822
2894
 
2823
- var __extends$3 = (undefined && undefined.__extends) || (function () {
2824
- var extendStatics = function (d, b) {
2825
- extendStatics = Object.setPrototypeOf ||
2826
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
2827
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
2828
- return extendStatics(d, b);
2829
- };
2830
- return function (d, b) {
2831
- extendStatics(d, b);
2832
- function __() { this.constructor = d; }
2833
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
2834
- };
2835
- })();
2836
- var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
2837
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
2838
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
2839
- 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;
2840
- return c > 3 && r && Object.defineProperty(target, key, r), r;
2841
- };
2895
+ var __extends$3 = (undefined && undefined.__extends) || (function () {
2896
+ var extendStatics = function (d, b) {
2897
+ extendStatics = Object.setPrototypeOf ||
2898
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
2899
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
2900
+ return extendStatics(d, b);
2901
+ };
2902
+ return function (d, b) {
2903
+ extendStatics(d, b);
2904
+ function __() { this.constructor = d; }
2905
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
2906
+ };
2907
+ })();
2908
+ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
2909
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
2910
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
2911
+ 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;
2912
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
2913
+ };
2842
2914
  var CLS_VERTICAL = 'e-vertical';
2843
2915
  var CLS_ITEMS = 'e-toolbar-items';
2844
2916
  var CLS_ITEM = 'e-toolbar-item';
@@ -3355,7 +3427,8 @@ var Toolbar = /** @__PURE__ @class */ (function (_super) {
3355
3427
  }
3356
3428
  if (!eventArgs.cancel) {
3357
3429
  this.trigger('clicked', eventArgs, function (clickedArgs) {
3358
- if (!isNullOrUndefined(_this.popObj) && isPopupElement && !clickedArgs.cancel && _this.overflowMode === 'Popup') {
3430
+ if (!isNullOrUndefined(_this.popObj) && isPopupElement && !clickedArgs.cancel && _this.overflowMode === 'Popup' &&
3431
+ clickedArgs.item && clickedArgs.item.type !== 'Input') {
3359
3432
  _this.popObj.hide({ name: 'FadeOut', duration: 100 });
3360
3433
  }
3361
3434
  });
@@ -3541,8 +3614,7 @@ var Toolbar = /** @__PURE__ @class */ (function (_super) {
3541
3614
  this.removePositioning();
3542
3615
  }
3543
3616
  if (this.checkOverflow(ele, innerItems) || priorityCheck) {
3544
- this.createPopupEle(ele, [].slice.call(selectAll('.' + CLS_ITEMS + ' .' + CLS_ITEM, ele)));
3545
- this.element.querySelector('.' + CLS_TBARNAV).setAttribute('tabIndex', '0');
3617
+ this.setOverflowAttributes(ele);
3546
3618
  }
3547
3619
  this.toolbarAlign(innerItems);
3548
3620
  break;
@@ -3565,13 +3637,17 @@ var Toolbar = /** @__PURE__ @class */ (function (_super) {
3565
3637
  if (this.tbarAlign) {
3566
3638
  this.removePositioning();
3567
3639
  }
3568
- this.createPopupEle(ele, [].slice.call(selectAll('.' + CLS_ITEMS + ' .' + CLS_ITEM, ele)));
3569
- this.element.querySelector('.' + CLS_TBARNAV).setAttribute('tabIndex', '0');
3640
+ this.setOverflowAttributes(ele);
3570
3641
  }
3571
3642
  this.toolbarAlign(innerItems);
3572
3643
  }
3573
3644
  }
3574
3645
  };
3646
+ Toolbar.prototype.setOverflowAttributes = function (ele) {
3647
+ this.createPopupEle(ele, [].slice.call(selectAll('.' + CLS_ITEMS + ' .' + CLS_ITEM, ele)));
3648
+ this.element.querySelector('.' + CLS_TBARNAV).setAttribute('tabIndex', '0');
3649
+ this.element.querySelector('.' + CLS_TBARNAV).setAttribute('role', 'list');
3650
+ };
3575
3651
  Toolbar.prototype.separator = function () {
3576
3652
  var element = this.element;
3577
3653
  var eleItem = [].slice.call(element.querySelectorAll('.' + CLS_SEPARATOR));
@@ -3909,6 +3985,7 @@ var Toolbar = /** @__PURE__ @class */ (function (_super) {
3909
3985
  var navItem = this.createElement('div', { className: CLS_POPUPDOWN + ' e-icons' });
3910
3986
  nav.appendChild(navItem);
3911
3987
  nav.setAttribute('tabindex', '0');
3988
+ nav.setAttribute('role', 'list');
3912
3989
  element.appendChild(nav);
3913
3990
  };
3914
3991
  Toolbar.prototype.tbarPriRef = function (inEle, indx, sepPri, el, des, elWid, wid, ig) {
@@ -4547,6 +4624,7 @@ var Toolbar = /** @__PURE__ @class */ (function (_super) {
4547
4624
  case 'Button':
4548
4625
  dom = this.buttonRendering(item, innerEle);
4549
4626
  dom.setAttribute('tabindex', '-1');
4627
+ dom.setAttribute('aria-label', (item.text || item.tooltipText));
4550
4628
  innerEle.appendChild(dom);
4551
4629
  innerEle.addEventListener('click', this.itemClick.bind(this));
4552
4630
  break;
@@ -4882,25 +4960,25 @@ var Toolbar = /** @__PURE__ @class */ (function (_super) {
4882
4960
  * Toolbar modules
4883
4961
  */
4884
4962
 
4885
- var __extends$4 = (undefined && undefined.__extends) || (function () {
4886
- var extendStatics = function (d, b) {
4887
- extendStatics = Object.setPrototypeOf ||
4888
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
4889
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
4890
- return extendStatics(d, b);
4891
- };
4892
- return function (d, b) {
4893
- extendStatics(d, b);
4894
- function __() { this.constructor = d; }
4895
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
4896
- };
4897
- })();
4898
- var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
4899
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4900
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4901
- 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;
4902
- return c > 3 && r && Object.defineProperty(target, key, r), r;
4903
- };
4963
+ var __extends$4 = (undefined && undefined.__extends) || (function () {
4964
+ var extendStatics = function (d, b) {
4965
+ extendStatics = Object.setPrototypeOf ||
4966
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
4967
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
4968
+ return extendStatics(d, b);
4969
+ };
4970
+ return function (d, b) {
4971
+ extendStatics(d, b);
4972
+ function __() { this.constructor = d; }
4973
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
4974
+ };
4975
+ })();
4976
+ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
4977
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4978
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4979
+ 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;
4980
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
4981
+ };
4904
4982
  var CLS_ACRDN_ROOT = 'e-acrdn-root';
4905
4983
  var CLS_ROOT$2 = 'e-accordion';
4906
4984
  var CLS_ITEM$1 = 'e-acrdn-item';
@@ -5068,12 +5146,12 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
5068
5146
  * @private
5069
5147
  */
5070
5148
  Accordion.prototype.render = function () {
5149
+ this.initializeheaderTemplate();
5150
+ this.initializeItemTemplate();
5071
5151
  this.initialize();
5072
5152
  this.renderControl();
5073
5153
  this.wireEvents();
5074
- if (isBlazor()) {
5075
- this.renderComplete();
5076
- }
5154
+ this.renderComplete();
5077
5155
  };
5078
5156
  Accordion.prototype.initialize = function () {
5079
5157
  var width = formatUnit(this.width);
@@ -5114,6 +5192,51 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
5114
5192
  });
5115
5193
  }
5116
5194
  };
5195
+ Accordion.prototype.templateParser = function (template) {
5196
+ if (template) {
5197
+ try {
5198
+ if (document.querySelectorAll(template).length) {
5199
+ return compile(document.querySelector(template).innerHTML.trim());
5200
+ }
5201
+ }
5202
+ catch (error) {
5203
+ return compile(template);
5204
+ }
5205
+ }
5206
+ return undefined;
5207
+ };
5208
+ Accordion.prototype.initializeheaderTemplate = function () {
5209
+ if (this.headerTemplate) {
5210
+ this.headerTemplateFn = this.templateParser(this.headerTemplate);
5211
+ }
5212
+ };
5213
+ Accordion.prototype.initializeItemTemplate = function () {
5214
+ if (this.itemTemplate) {
5215
+ this.itemTemplateFn = this.templateParser(this.itemTemplate);
5216
+ }
5217
+ };
5218
+ Accordion.prototype.getheaderTemplate = function () {
5219
+ return this.headerTemplateFn;
5220
+ };
5221
+ Accordion.prototype.getItemTemplate = function () {
5222
+ return this.itemTemplateFn;
5223
+ };
5224
+ Accordion.prototype.updateContentBlazorTemplate = function (item, index) {
5225
+ if (this.itemTemplate && isBlazor() && !this.isStringTemplate) {
5226
+ updateBlazorTemplate(this.element.id + '_itemTemplate', 'ItemTemplate', this, false);
5227
+ }
5228
+ if (item && item.content && isBlazor() && !this.isStringTemplate && item.content.indexOf('<div>Blazor') === 0) {
5229
+ updateBlazorTemplate(this.element.id + index + '_content', 'ContentTemplate', item);
5230
+ }
5231
+ };
5232
+ Accordion.prototype.updateHeaderBlazorTemplate = function (item, index) {
5233
+ if (this.headerTemplate && isBlazor() && !this.isStringTemplate) {
5234
+ updateBlazorTemplate(this.element.id + '_headerTemplate', 'HeaderTemplate', this, false);
5235
+ }
5236
+ if (item && item.header && isBlazor() && !this.isStringTemplate && item.header.indexOf('<div>Blazor') === 0) {
5237
+ updateBlazorTemplate(this.element.id + index + '_header', 'HeaderTemplate', item);
5238
+ }
5239
+ };
5117
5240
  Accordion.prototype.focusIn = function (e) {
5118
5241
  e.target.parentElement.classList.add(CLS_ITEMFOCUS);
5119
5242
  };
@@ -5131,13 +5254,15 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
5131
5254
  innerEles = this.element.children;
5132
5255
  }
5133
5256
  var items = [];
5257
+ /* tslint:disable */
5134
5258
  [].slice.call(innerEles).forEach(function (el) {
5135
5259
  items.push({
5136
- header: (el.childElementCount > 0 && el.children[0]) ? (el.children[0]).innerHTML : '',
5137
- content: (el.childElementCount > 1 && el.children[1]) ? (el.children[1]).innerHTML : ''
5260
+ header: (el.childElementCount > 0 && el.children[0]) ? (el.children[0]) : '',
5261
+ content: (el.childElementCount > 1 && el.children[1]) ? (el.children[1]) : ''
5138
5262
  });
5139
5263
  el.parentNode.removeChild(el);
5140
5264
  });
5265
+ /* tslint:enable */
5141
5266
  if (rootEle) {
5142
5267
  this.element.removeChild(rootEle);
5143
5268
  }
@@ -5167,32 +5292,43 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
5167
5292
  var _this = this;
5168
5293
  var ele = this.element;
5169
5294
  var innerItem;
5295
+ var innerDataSourceItem;
5170
5296
  if (isNullOrUndefined(this.initExpand)) {
5171
5297
  this.initExpand = [];
5172
5298
  }
5173
5299
  if (!isNullOrUndefined(this.trgtEle)) {
5174
5300
  this.ctrlTemplate();
5175
5301
  }
5176
- var items = this.items;
5177
- if (ele && items.length > 0) {
5178
- items.forEach(function (item, index) {
5179
- innerItem = _this.renderInnerItem(item, index);
5180
- ele.appendChild(innerItem);
5181
- var blazorContain = Object.keys(window);
5182
- if (item.header && blazorContain.indexOf('Blazor') > -1 && !_this.isStringTemplate
5183
- && item.header.indexOf('<div>Blazor') === 0) {
5184
- updateBlazorTemplate(_this.element.id + index + '_header', 'HeaderTemplate', item);
5185
- }
5186
- if (innerItem.childElementCount > 0) {
5187
- EventHandler.add(innerItem.querySelector('.' + CLS_HEADER), 'focus', _this.focusIn, _this);
5188
- EventHandler.add(innerItem.querySelector('.' + CLS_HEADER), 'blur', _this.focusOut, _this);
5302
+ if (this.dataSource.length > 0) {
5303
+ this.dataSource.forEach(function (item, index) {
5304
+ innerDataSourceItem = _this.renderInnerItem(item, index);
5305
+ ele.appendChild(innerDataSourceItem);
5306
+ if (innerDataSourceItem.childElementCount > 0) {
5307
+ EventHandler.add(innerDataSourceItem.querySelector('.' + CLS_HEADER), 'focus', _this.focusIn, _this);
5308
+ EventHandler.add(innerDataSourceItem.querySelector('.' + CLS_HEADER), 'blur', _this.focusOut, _this);
5189
5309
  }
5190
5310
  });
5311
+ this.updateHeaderBlazorTemplate();
5312
+ }
5313
+ else {
5314
+ var items = this.items;
5315
+ if (ele && items.length > 0) {
5316
+ items.forEach(function (item, index) {
5317
+ innerItem = _this.renderInnerItem(item, index);
5318
+ ele.appendChild(innerItem);
5319
+ _this.updateHeaderBlazorTemplate(item, index);
5320
+ if (innerItem.childElementCount > 0) {
5321
+ EventHandler.add(innerItem.querySelector('.' + CLS_HEADER), 'focus', _this.focusIn, _this);
5322
+ EventHandler.add(innerItem.querySelector('.' + CLS_HEADER), 'blur', _this.focusOut, _this);
5323
+ }
5324
+ });
5325
+ }
5191
5326
  }
5192
5327
  };
5193
5328
  Accordion.prototype.clickHandler = function (e) {
5194
5329
  var _this = this;
5195
5330
  var trgt = e.target;
5331
+ var items = this.getItems();
5196
5332
  var eventArgs = {};
5197
5333
  var index;
5198
5334
  var tglIcon;
@@ -5221,17 +5357,13 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
5221
5357
  var acrdActive = [];
5222
5358
  index = this.getIndexByItem(acrdnItem);
5223
5359
  if (acrdnCtnItem) {
5224
- eventArgs.item = this.items[this.getIndexByItem(acrdnCtnItem)];
5360
+ eventArgs.item = items[this.getIndexByItem(acrdnCtnItem)];
5225
5361
  }
5226
5362
  eventArgs.originalEvent = e;
5227
5363
  var ctnCheck = !isNullOrUndefined(tglIcon) && acrdnItem.childElementCount <= 1;
5228
5364
  if (ctnCheck && (isNullOrUndefined(acrdnCtn) || !isNullOrUndefined(select('.' + CLS_HEADER + ' .' + CLS_TOOGLEICN, acrdnCtnItem)))) {
5229
5365
  acrdnItem.appendChild(this.contentRendering(index));
5230
- var blazorContain = Object.keys(window);
5231
- if (eventArgs.item.content && blazorContain.indexOf('Blazor') > -1 && !this.isStringTemplate
5232
- && eventArgs.item.content.indexOf('<div>Blazor') === 0) {
5233
- updateBlazorTemplate(this.element.id + index + '_content', 'ContentTemplate', eventArgs.item);
5234
- }
5366
+ this.updateContentBlazorTemplate(eventArgs.item, index);
5235
5367
  this.ariaAttrUpdate(acrdnItem);
5236
5368
  }
5237
5369
  this.trigger('clicked', eventArgs);
@@ -5338,9 +5470,10 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
5338
5470
  };
5339
5471
  Accordion.prototype.headerEleGenerate = function () {
5340
5472
  var header = this.createElement('div', { className: CLS_HEADER, id: getUniqueID('acrdn_header') });
5473
+ var items = this.getItems();
5341
5474
  var ariaAttr = {
5342
- 'tabindex': '0', 'role': 'heading', 'aria-expanded': 'false', 'aria-selected': 'false',
5343
- 'aria-disabled': 'false', 'aria-level': this.items.length.toString()
5475
+ 'tabindex': '0', 'role': 'heading', 'aria-selected': 'false',
5476
+ 'aria-disabled': 'false', 'aria-level': items.length.toString()
5344
5477
  };
5345
5478
  attributes(header, ariaAttr);
5346
5479
  return header;
@@ -5349,6 +5482,17 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
5349
5482
  var innerEle;
5350
5483
  innerEle = this.createElement('div', { className: CLS_ITEM$1 });
5351
5484
  innerEle.id = getUniqueID('acrdn_item');
5485
+ attributes(innerEle, { 'aria-expanded': 'false' });
5486
+ if (this.headerTemplate) {
5487
+ var ctnEle = this.headerEleGenerate();
5488
+ var hdrEle = this.createElement('div', { className: CLS_HEADERCTN });
5489
+ ctnEle.appendChild(hdrEle);
5490
+ append(this.getheaderTemplate()(item, this, 'headerTemplate', this.element.id + '_headerTemplate', false), hdrEle);
5491
+ innerEle.appendChild(ctnEle);
5492
+ ctnEle.appendChild(this.toggleIconGenerate());
5493
+ this.add(innerEle, CLS_SLCT);
5494
+ return innerEle;
5495
+ }
5352
5496
  if (item.header && this.angularnativeCondiCheck(item, 'header')) {
5353
5497
  var ctnEle = this.headerEleGenerate();
5354
5498
  var hdrEle = this.createElement('div', { className: CLS_HEADERCTN });
@@ -5363,7 +5507,12 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
5363
5507
  }
5364
5508
  }
5365
5509
  if (item.cssClass) {
5366
- innerEle.classList.add(item.cssClass);
5510
+ var acrdnClass = item.cssClass;
5511
+ var arcdnClassList = [];
5512
+ arcdnClassList = acrdnClass.split(' ');
5513
+ arcdnClassList.forEach(function (el) {
5514
+ addClass([innerEle], el);
5515
+ });
5367
5516
  }
5368
5517
  if (item.iconCss) {
5369
5518
  var hdrIcnEle = this.createElement('div', { className: CLS_HEADERICN });
@@ -5410,7 +5559,6 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
5410
5559
  }
5411
5560
  };
5412
5561
  Accordion.prototype.fetchElement = function (ele, value, index, isHeader) {
5413
- var blazorContain = Object.keys(window);
5414
5562
  var templateFn;
5415
5563
  var temString;
5416
5564
  try {
@@ -5422,8 +5570,14 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
5422
5570
  }
5423
5571
  }
5424
5572
  catch (e) {
5425
- if (typeof (value) === 'string' && blazorContain.indexOf('Blazor') > -1 && value.indexOf('<div>Blazor') !== 0) {
5573
+ if (typeof (value) === 'string' && isBlazor() && value.indexOf('<div>Blazor') !== 0) {
5426
5574
  ele.innerHTML = value;
5575
+ /* tslint:disable */
5576
+ }
5577
+ else if (!isNullOrUndefined(this.trgtEle) && (value instanceof (HTMLElement))) {
5578
+ ele.appendChild(value);
5579
+ ele.firstElementChild.style.display = '';
5580
+ /* tslint:enable */
5427
5581
  }
5428
5582
  else {
5429
5583
  templateFn = compile(value);
@@ -5463,18 +5617,25 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
5463
5617
  var content = select('.' + CLS_CONTENT, itemEle);
5464
5618
  header.setAttribute('aria-controls', content.id);
5465
5619
  content.setAttribute('aria-labelledby', header.id);
5620
+ content.setAttribute('role', 'definition');
5466
5621
  };
5467
5622
  Accordion.prototype.contentRendering = function (index) {
5468
- var content = this.items[index].content;
5469
5623
  var itemcnt = this.createElement('div', { className: CLS_CONTENT + ' ' + CLS_CTNHIDE, id: getUniqueID('acrdn_panel') });
5470
5624
  attributes(itemcnt, { 'aria-hidden': 'true' });
5471
5625
  var ctn = this.createElement('div', { className: CLS_CTENT });
5472
- itemcnt.appendChild(this.fetchElement(ctn, content, index, false));
5626
+ if (this.dataSource.length > 0) {
5627
+ append(this.getItemTemplate()(this.dataSource[index], this, 'itemTemplate', this.element.id + '_itemTemplate', false), ctn);
5628
+ itemcnt.appendChild(ctn);
5629
+ }
5630
+ else {
5631
+ itemcnt.appendChild(this.fetchElement(ctn, this.items[index].content, index, false));
5632
+ }
5473
5633
  return itemcnt;
5474
5634
  };
5475
5635
  Accordion.prototype.expand = function (trgt) {
5476
5636
  var _this = this;
5477
5637
  var eventArgs;
5638
+ var items = this.getItems();
5478
5639
  var trgtItemEle = closest(trgt, '.' + CLS_ITEM$1);
5479
5640
  if (isNullOrUndefined(trgt) || (isVisible(trgt) && trgt.getAttribute('e-animate') !== 'true') || trgtItemEle.classList.contains(CLS_DISABLE$3)) {
5480
5641
  return;
@@ -5488,7 +5649,7 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
5488
5649
  };
5489
5650
  var icon = select('.' + CLS_TOOGLEICN, trgtItemEle).firstElementChild;
5490
5651
  eventArgs = { element: trgtItemEle,
5491
- item: this.items[this.getIndexByItem(trgtItemEle)],
5652
+ item: items[this.getIndexByItem(trgtItemEle)],
5492
5653
  index: this.getIndexByItem(trgtItemEle),
5493
5654
  content: trgtItemEle.querySelector('.' + CLS_CONTENT),
5494
5655
  isExpanded: true };
@@ -5551,7 +5712,8 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
5551
5712
  if (progress === 'end') {
5552
5713
  this.add(trgtItemEle, CLS_ACTIVE);
5553
5714
  trgt.setAttribute('aria-hidden', 'false');
5554
- attributes(trgt.previousElementSibling, { 'aria-selected': 'true', 'aria-expanded': 'true' });
5715
+ attributes(trgtItemEle, { 'aria-expanded': 'true' });
5716
+ attributes(trgt.previousElementSibling, { 'aria-selected': 'true' });
5555
5717
  icon.classList.remove(CLS_TOGANIMATE);
5556
5718
  this.trigger('expanded', eventArgs);
5557
5719
  }
@@ -5583,6 +5745,7 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
5583
5745
  Accordion.prototype.collapse = function (trgt) {
5584
5746
  var _this = this;
5585
5747
  var eventArgs;
5748
+ var items = this.getItems();
5586
5749
  var trgtItemEle = closest(trgt, '.' + CLS_ITEM$1);
5587
5750
  if (isNullOrUndefined(trgt) || !isVisible(trgt) || trgtItemEle.classList.contains(CLS_DISABLE$3)) {
5588
5751
  return;
@@ -5594,7 +5757,7 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
5594
5757
  };
5595
5758
  var icon = select('.' + CLS_TOOGLEICN, trgtItemEle).firstElementChild;
5596
5759
  eventArgs = { element: trgtItemEle,
5597
- item: this.items[this.getIndexByItem(trgtItemEle)],
5760
+ item: items[this.getIndexByItem(trgtItemEle)],
5598
5761
  index: this.getIndexByItem(trgtItemEle),
5599
5762
  content: trgtItemEle.querySelector('.' + CLS_CONTENT),
5600
5763
  isExpanded: false };
@@ -5662,7 +5825,8 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
5662
5825
  icon.classList.remove(CLS_TOGANIMATE);
5663
5826
  this.remove(trgtItemEle, CLS_ACTIVE);
5664
5827
  trgt.setAttribute('aria-hidden', 'true');
5665
- attributes(trgt.previousElementSibling, { 'aria-selected': 'false', 'aria-expanded': 'false' });
5828
+ attributes(trgtItemEle, { 'aria-expanded': 'false' });
5829
+ attributes(trgt.previousElementSibling, { 'aria-selected': 'false' });
5666
5830
  this.trigger('expanded', eventArgs);
5667
5831
  }
5668
5832
  };
@@ -5675,15 +5839,26 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
5675
5839
  return 'accordion';
5676
5840
  };
5677
5841
  Accordion.prototype.itemAttribUpdate = function () {
5842
+ var items = this.getItems();
5678
5843
  var itemEle = this.getItemElements();
5679
- var itemLen = this.items.length;
5844
+ var itemLen = items.length;
5680
5845
  itemEle.forEach(function (ele) {
5681
5846
  select('.' + CLS_HEADER, ele).setAttribute('aria-level', '' + itemLen);
5682
5847
  });
5683
5848
  };
5849
+ Accordion.prototype.getItems = function () {
5850
+ var items;
5851
+ if (this.itemTemplate && this.headerTemplate) {
5852
+ items = this.dataSource;
5853
+ }
5854
+ else {
5855
+ items = this.items;
5856
+ }
5857
+ return items;
5858
+ };
5684
5859
  /**
5685
5860
  * Adds new item to the Accordion with the specified index of the Accordion.
5686
- * @param {AccordionItemModel} item - Item array that is to be added to the Accordion.
5861
+ * @param {AccordionItemModel | Object} item - Item array that is to be added to the Accordion.
5687
5862
  * @param {number} index - Number value that determines where the item should be added.
5688
5863
  * By default, item is added at the last index if the index is not specified.
5689
5864
  * @returns void
@@ -5691,11 +5866,12 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
5691
5866
  Accordion.prototype.addItem = function (item, index) {
5692
5867
  var ele = this.element;
5693
5868
  var itemEle = this.getItemElements();
5869
+ var items = this.getItems();
5694
5870
  if (isNullOrUndefined(index)) {
5695
- index = this.items.length;
5871
+ index = items.length;
5696
5872
  }
5697
5873
  if (ele.childElementCount >= index) {
5698
- this.items.splice(index, 0, item);
5874
+ items.splice(index, 0, item);
5699
5875
  var innerItemEle = this.renderInnerItem(item, index);
5700
5876
  if (ele.childElementCount === index) {
5701
5877
  ele.appendChild(innerItemEle);
@@ -5703,13 +5879,14 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
5703
5879
  else {
5704
5880
  ele.insertBefore(innerItemEle, itemEle[index]);
5705
5881
  }
5882
+ this.updateHeaderBlazorTemplate();
5706
5883
  EventHandler.add(innerItemEle.querySelector('.' + CLS_HEADER), 'focus', this.focusIn, this);
5707
5884
  EventHandler.add(innerItemEle.querySelector('.' + CLS_HEADER), 'blur', this.focusOut, this);
5708
5885
  this.itemAttribUpdate();
5709
5886
  }
5710
5887
  this.expandedItems = [];
5711
5888
  this.expandedItemRefresh(ele);
5712
- if (item.expanded) {
5889
+ if (item && item.expanded) {
5713
5890
  this.expandItem(true, index);
5714
5891
  }
5715
5892
  };
@@ -5730,12 +5907,13 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
5730
5907
  Accordion.prototype.removeItem = function (index) {
5731
5908
  var itemEle = this.getItemElements();
5732
5909
  var ele = itemEle[index];
5910
+ var items = this.getItems();
5733
5911
  if (isNullOrUndefined(ele)) {
5734
5912
  return;
5735
5913
  }
5736
5914
  this.restoreContent(index);
5737
5915
  detach(ele);
5738
- this.items.splice(index, 1);
5916
+ items.splice(index, 1);
5739
5917
  this.itemAttribUpdate();
5740
5918
  this.expandedItems = [];
5741
5919
  this.expandedItemRefresh(this.element);
@@ -5846,17 +6024,14 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
5846
6024
  };
5847
6025
  Accordion.prototype.itemExpand = function (isExpand, ele, index) {
5848
6026
  var ctn = ele.children[1];
6027
+ var items = this.getItems();
5849
6028
  if (ele.classList.contains(CLS_DISABLE$3)) {
5850
6029
  return;
5851
6030
  }
5852
6031
  if (isNullOrUndefined(ctn) && isExpand) {
5853
6032
  ctn = this.contentRendering(index);
5854
6033
  ele.appendChild(ctn);
5855
- var blazorContain = Object.keys(window);
5856
- var item = this.items[index];
5857
- if (item.content && blazorContain.indexOf('Blazor') > -1 && !this.isStringTemplate && item.content.indexOf('<div>Blazor') === 0) {
5858
- updateBlazorTemplate(this.element.id + index + '_content', 'ContentTemplate', item);
5859
- }
6034
+ this.updateContentBlazorTemplate(items[index], index);
5860
6035
  this.ariaAttrUpdate(ele);
5861
6036
  }
5862
6037
  else if (isNullOrUndefined(ctn)) {
@@ -5886,8 +6061,9 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
5886
6061
  };
5887
6062
  Accordion.prototype.updateItem = function (item, index) {
5888
6063
  if (!isNullOrUndefined(item)) {
5889
- var itemObj = this.items[index];
5890
- this.items.splice(index, 1);
6064
+ var items = this.getItems();
6065
+ var itemObj = items[index];
6066
+ items.splice(index, 1);
5891
6067
  this.restoreContent(index);
5892
6068
  detach(item);
5893
6069
  this.addItem(itemObj, index);
@@ -5906,6 +6082,7 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
5906
6082
  */
5907
6083
  Accordion.prototype.onPropertyChanged = function (newProp, oldProp) {
5908
6084
  var acrdn = this.element;
6085
+ var isRefresh = false;
5909
6086
  for (var _i = 0, _a = Object.keys(newProp); _i < _a.length; _i++) {
5910
6087
  var prop = _a[_i];
5911
6088
  switch (prop) {
@@ -5935,11 +6112,20 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
5935
6112
  }
5936
6113
  }
5937
6114
  else {
5938
- this.destroyItems();
5939
- this.renderItems();
5940
- this.initItemExpand();
6115
+ isRefresh = true;
5941
6116
  }
5942
6117
  break;
6118
+ case 'dataSource':
6119
+ isRefresh = true;
6120
+ break;
6121
+ case 'headerTemplate':
6122
+ this.initializeheaderTemplate();
6123
+ isRefresh = true;
6124
+ break;
6125
+ case 'itemTemplate':
6126
+ this.initializeItemTemplate();
6127
+ isRefresh = true;
6128
+ break;
5943
6129
  case 'enableRtl':
5944
6130
  newProp.enableRtl ? this.add(acrdn, CLS_RTL$3) : this.remove(acrdn, CLS_RTL$3);
5945
6131
  break;
@@ -5962,10 +6148,24 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
5962
6148
  break;
5963
6149
  }
5964
6150
  }
6151
+ if (isRefresh) {
6152
+ this.destroyItems();
6153
+ this.renderItems();
6154
+ this.initItemExpand();
6155
+ }
5965
6156
  };
5966
6157
  __decorate$4([
5967
6158
  Collection([], AccordionItem)
5968
6159
  ], Accordion.prototype, "items", void 0);
6160
+ __decorate$4([
6161
+ Property([])
6162
+ ], Accordion.prototype, "dataSource", void 0);
6163
+ __decorate$4([
6164
+ Property()
6165
+ ], Accordion.prototype, "itemTemplate", void 0);
6166
+ __decorate$4([
6167
+ Property()
6168
+ ], Accordion.prototype, "headerTemplate", void 0);
5969
6169
  __decorate$4([
5970
6170
  Property('100%')
5971
6171
  ], Accordion.prototype, "width", void 0);
@@ -6003,25 +6203,25 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
6003
6203
  * Accordion all modules
6004
6204
  */
6005
6205
 
6006
- var __extends$5 = (undefined && undefined.__extends) || (function () {
6007
- var extendStatics = function (d, b) {
6008
- extendStatics = Object.setPrototypeOf ||
6009
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6010
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6011
- return extendStatics(d, b);
6012
- };
6013
- return function (d, b) {
6014
- extendStatics(d, b);
6015
- function __() { this.constructor = d; }
6016
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
6017
- };
6018
- })();
6019
- var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
6020
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
6021
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
6022
- 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;
6023
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6024
- };
6206
+ var __extends$5 = (undefined && undefined.__extends) || (function () {
6207
+ var extendStatics = function (d, b) {
6208
+ extendStatics = Object.setPrototypeOf ||
6209
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6210
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6211
+ return extendStatics(d, b);
6212
+ };
6213
+ return function (d, b) {
6214
+ extendStatics(d, b);
6215
+ function __() { this.constructor = d; }
6216
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
6217
+ };
6218
+ })();
6219
+ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
6220
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
6221
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
6222
+ 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;
6223
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6224
+ };
6025
6225
  /// <reference path='../common/menu-base-model.d.ts'/>
6026
6226
  /**
6027
6227
  * The ContextMenu is a graphical user interface that appears on the user right click/touch hold operation.
@@ -6125,25 +6325,25 @@ var ContextMenu = /** @__PURE__ @class */ (function (_super) {
6125
6325
  * ContextMenu modules
6126
6326
  */
6127
6327
 
6128
- var __extends$6 = (undefined && undefined.__extends) || (function () {
6129
- var extendStatics = function (d, b) {
6130
- extendStatics = Object.setPrototypeOf ||
6131
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6132
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6133
- return extendStatics(d, b);
6134
- };
6135
- return function (d, b) {
6136
- extendStatics(d, b);
6137
- function __() { this.constructor = d; }
6138
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
6139
- };
6140
- })();
6141
- var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
6142
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
6143
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
6144
- 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;
6145
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6146
- };
6328
+ var __extends$6 = (undefined && undefined.__extends) || (function () {
6329
+ var extendStatics = function (d, b) {
6330
+ extendStatics = Object.setPrototypeOf ||
6331
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6332
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6333
+ return extendStatics(d, b);
6334
+ };
6335
+ return function (d, b) {
6336
+ extendStatics(d, b);
6337
+ function __() { this.constructor = d; }
6338
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
6339
+ };
6340
+ })();
6341
+ var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
6342
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
6343
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
6344
+ 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;
6345
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6346
+ };
6147
6347
  /// <reference path='../common/menu-base-model.d.ts'/>
6148
6348
  var VMENU = 'e-vertical';
6149
6349
  var SCROLLABLE = 'e-scrollable';
@@ -6387,27 +6587,28 @@ var Menu = /** @__PURE__ @class */ (function (_super) {
6387
6587
  * Menu modules
6388
6588
  */
6389
6589
 
6390
- var __extends$7 = (undefined && undefined.__extends) || (function () {
6391
- var extendStatics = function (d, b) {
6392
- extendStatics = Object.setPrototypeOf ||
6393
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6394
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6395
- return extendStatics(d, b);
6396
- };
6397
- return function (d, b) {
6398
- extendStatics(d, b);
6399
- function __() { this.constructor = d; }
6400
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
6401
- };
6402
- })();
6403
- var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
6404
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
6405
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
6406
- 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;
6407
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6408
- };
6590
+ var __extends$7 = (undefined && undefined.__extends) || (function () {
6591
+ var extendStatics = function (d, b) {
6592
+ extendStatics = Object.setPrototypeOf ||
6593
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6594
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6595
+ return extendStatics(d, b);
6596
+ };
6597
+ return function (d, b) {
6598
+ extendStatics(d, b);
6599
+ function __() { this.constructor = d; }
6600
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
6601
+ };
6602
+ })();
6603
+ var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
6604
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
6605
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
6606
+ 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;
6607
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
6608
+ };
6409
6609
  var CLS_TAB = 'e-tab';
6410
6610
  var CLS_HEADER$1 = 'e-tab-header';
6611
+ var CLS_BLA_TEM = 'blazor-template';
6411
6612
  var CLS_CONTENT$1 = 'e-content';
6412
6613
  var CLS_NEST$1 = 'e-nested';
6413
6614
  var CLS_ITEMS$1 = 'e-items';
@@ -6445,6 +6646,7 @@ var CLS_VERTICAL$1 = 'e-vertical';
6445
6646
  var CLS_VLEFT = 'e-vertical-left';
6446
6647
  var CLS_VRIGHT = 'e-vertical-right';
6447
6648
  var CLS_HBOTTOM = 'e-horizontal-bottom';
6649
+ var CLS_FILL = 'e-fill-mode';
6448
6650
  var TabActionSettings = /** @__PURE__ @class */ (function (_super) {
6449
6651
  __extends$7(TabActionSettings, _super);
6450
6652
  function TabActionSettings() {
@@ -6625,6 +6827,7 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
6625
6827
  */
6626
6828
  Tab.prototype.render = function () {
6627
6829
  this.btnCls = this.createElement('span', { className: CLS_ICONS + ' ' + CLS_ICON_CLOSE, attrs: { title: this.title } });
6830
+ this.tabId = this.element.id.length > 0 ? ('-' + this.element.id) : getRandomId();
6628
6831
  this.renderContainer();
6629
6832
  this.wireEvents();
6630
6833
  this.initRender = false;
@@ -6675,7 +6878,7 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
6675
6878
  var _this = this;
6676
6879
  var hdrPlace = this.headerPlacement;
6677
6880
  var tabItems = [];
6678
- this.hdrEle = select('.' + CLS_HEADER$1, this.element);
6881
+ this.hdrEle = this.getTabHeader();
6679
6882
  this.addVerticalClass();
6680
6883
  if (!this.isTemplate) {
6681
6884
  tabItems = this.parseObject(this.items, 0);
@@ -6693,12 +6896,13 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
6693
6896
  while (this.hdrEle.firstElementChild) {
6694
6897
  detach(this.hdrEle.firstElementChild);
6695
6898
  }
6696
- this.hdrEle.appendChild(this.createElement('div', { className: CLS_ITEMS$1 }));
6899
+ var tabItems_1 = this.createElement('div', { className: CLS_ITEMS$1 });
6900
+ this.hdrEle.appendChild(tabItems_1);
6697
6901
  hdrItems.forEach(function (item, index) {
6698
6902
  _this.lastIndex = index;
6699
6903
  var attr = {
6700
- className: CLS_ITEM$2, id: CLS_ITEM$2 + '_' + index,
6701
- attrs: { role: 'tab', 'aria-controls': CLS_CONTENT$1 + '_' + index, 'aria-selected': 'false' }
6904
+ className: CLS_ITEM$2, id: CLS_ITEM$2 + _this.tabId + '_' + index,
6905
+ attrs: { role: 'tab', 'aria-controls': CLS_CONTENT$1 + _this.tabId + '_' + index, 'aria-selected': 'false' }
6702
6906
  };
6703
6907
  var txt = _this.createElement('span', {
6704
6908
  className: CLS_TEXT, innerHTML: item, attrs: { 'role': 'presentation' }
@@ -6707,8 +6911,8 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
6707
6911
  className: CLS_TEXT_WRAP, innerHTML: txt + _this.btnCls.outerHTML
6708
6912
  }).outerHTML;
6709
6913
  var wrap = _this.createElement('div', { className: CLS_WRAP, innerHTML: cont, attrs: { tabIndex: '-1' } });
6710
- select('.' + CLS_ITEMS$1, _this.element).appendChild(_this.createElement('div', attr));
6711
- selectAll('.' + CLS_ITEM$2, _this.element)[index].appendChild(wrap);
6914
+ tabItems_1.appendChild(_this.createElement('div', attr));
6915
+ selectAll('.' + CLS_ITEM$2, tabItems_1)[index].appendChild(wrap);
6712
6916
  });
6713
6917
  }
6714
6918
  }
@@ -6723,6 +6927,7 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
6723
6927
  this.tbObj.isStringTemplate = true;
6724
6928
  this.tbObj.createElement = this.createElement;
6725
6929
  this.tbObj.appendTo(this.hdrEle);
6930
+ attributes(this.hdrEle, { 'aria-label': 'tab-header' });
6726
6931
  for (var i = 0; i < this.items.length; i++) {
6727
6932
  var item = this.items[i];
6728
6933
  if (item.headerTemplate && isBlazor() && !this.isStringTemplate &&
@@ -6742,8 +6947,8 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
6742
6947
  for (var i = 0; i < hdrItem.length; i++) {
6743
6948
  if (contents.length - 1 >= i) {
6744
6949
  contents.item(i).className += CLS_ITEM$2;
6745
- attributes(contents.item(i), { 'role': 'tabpanel', 'aria-labelledby': CLS_ITEM$2 + '_' + i });
6746
- contents.item(i).id = CLS_CONTENT$1 + '_' + i;
6950
+ attributes(contents.item(i), { 'role': 'tabpanel', 'aria-labelledby': CLS_ITEM$2 + this.tabId + '_' + i });
6951
+ contents.item(i).id = CLS_CONTENT$1 + this.tabId + '_' + i;
6747
6952
  }
6748
6953
  }
6749
6954
  }
@@ -6809,13 +7014,13 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
6809
7014
  var wrap = _this.createElement('div', { className: CLS_WRAP, attrs: wrapAttrs });
6810
7015
  wrap.appendChild(tCont);
6811
7016
  if (_this.itemIndexArray === []) {
6812
- _this.itemIndexArray.push(CLS_ITEM$2 + '_' + _this.lastIndex);
7017
+ _this.itemIndexArray.push(CLS_ITEM$2 + _this.tabId + '_' + _this.lastIndex);
6813
7018
  }
6814
7019
  else {
6815
- _this.itemIndexArray.splice((index + i), 0, CLS_ITEM$2 + '_' + _this.lastIndex);
7020
+ _this.itemIndexArray.splice((index + i), 0, CLS_ITEM$2 + _this.tabId + '_' + _this.lastIndex);
6816
7021
  }
6817
7022
  var attrObj = {
6818
- id: CLS_ITEM$2 + '_' + _this.lastIndex, role: 'tab', 'aria-selected': 'false'
7023
+ id: CLS_ITEM$2 + _this.tabId + '_' + _this.lastIndex, role: 'tab', 'aria-selected': 'false'
6819
7024
  };
6820
7025
  var tItem = { htmlAttributes: attrObj, template: wrap };
6821
7026
  tItem.cssClass = item.cssClass + ' ' + disabled + ' ' + ((css !== '') ? 'e-i' + pos : '') + ' ' + ((!txtEmpty) ? CLS_ICON : '');
@@ -6833,14 +7038,11 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
6833
7038
  (this.isIconAlone) ? this.element.classList.add(CLS_ICON_TAB) : this.element.classList.remove(CLS_ICON_TAB);
6834
7039
  return tItems;
6835
7040
  };
6836
- Tab.prototype.removeActiveClass = function (id) {
6837
- var hdrActEle = selectAll(':root .' + CLS_HEADER$1 + ' .' + CLS_TB_ITEM + '.' + CLS_ACTIVE$1, this.element)[0];
6838
- var selectEle = select('.' + CLS_HEADER$1, this.element);
6839
- if (this.headerPlacement === 'Bottom') {
6840
- hdrActEle = selectAll(':root .' + CLS_HEADER$1 + ' .' + CLS_TB_ITEM + '.' + CLS_ACTIVE$1, selectEle)[0];
6841
- }
6842
- if (!isNullOrUndefined(hdrActEle)) {
6843
- hdrActEle.classList.remove(CLS_ACTIVE$1);
7041
+ Tab.prototype.removeActiveClass = function () {
7042
+ var tabHeader = this.getTabHeader();
7043
+ if (tabHeader) {
7044
+ var tabItems = selectAll('.' + CLS_TB_ITEM + '.' + CLS_ACTIVE$1, tabHeader);
7045
+ [].slice.call(tabItems).forEach(function (node) { return node.classList.remove(CLS_ACTIVE$1); });
6844
7046
  }
6845
7047
  };
6846
7048
  Tab.prototype.checkPopupOverflow = function (ele) {
@@ -6899,8 +7101,10 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
6899
7101
  var checkRTL = this.enableRtl || this.element.classList.contains(CLS_RTL$4);
6900
7102
  if (this.isPopup || prev <= current) {
6901
7103
  if (this.animation.previous.effect === 'SlideLeftIn') {
6902
- animation = { name: 'SlideLeftOut',
6903
- duration: this.animation.previous.duration, timingFunction: this.animation.previous.easing };
7104
+ animation = {
7105
+ name: 'SlideLeftOut',
7106
+ duration: this.animation.previous.duration, timingFunction: this.animation.previous.easing
7107
+ };
6904
7108
  }
6905
7109
  else {
6906
7110
  animation = null;
@@ -6908,8 +7112,10 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
6908
7112
  }
6909
7113
  else {
6910
7114
  if (this.animation.next.effect === 'SlideRightIn') {
6911
- animation = { name: 'SlideRightOut',
6912
- duration: this.animation.next.duration, timingFunction: this.animation.next.easing };
7115
+ animation = {
7116
+ name: 'SlideRightOut',
7117
+ duration: this.animation.next.duration, timingFunction: this.animation.next.easing
7118
+ };
6913
7119
  }
6914
7120
  else {
6915
7121
  animation = null;
@@ -7021,11 +7227,24 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
7021
7227
  }
7022
7228
  }
7023
7229
  };
7230
+ Tab.prototype.getTabHeader = function () {
7231
+ var headers = [].slice.call(this.element.children).filter(function (e) { return e.classList.contains(CLS_HEADER$1); });
7232
+ if (headers.length > 0) {
7233
+ return headers[0];
7234
+ }
7235
+ else {
7236
+ var wrap = [].slice.call(this.element.children).filter(function (e) { return !e.classList.contains(CLS_BLA_TEM); })[0];
7237
+ if (!wrap) {
7238
+ return undefined;
7239
+ }
7240
+ return [].slice.call(wrap.children).filter(function (e) { return e.classList.contains(CLS_HEADER$1); })[0];
7241
+ }
7242
+ };
7024
7243
  Tab.prototype.getEleIndex = function (item) {
7025
- return Array.prototype.indexOf.call(selectAll('.' + CLS_HEADER$1 + ' .' + CLS_TB_ITEM, this.element), item);
7244
+ return Array.prototype.indexOf.call(selectAll('.' + CLS_TB_ITEM, this.getTabHeader()), item);
7026
7245
  };
7027
7246
  Tab.prototype.extIndex = function (id) {
7028
- return id.replace(CLS_ITEM$2 + '_', '');
7247
+ return id.replace(CLS_ITEM$2 + this.tabId + '_', '');
7029
7248
  };
7030
7249
  Tab.prototype.expTemplateContent = function () {
7031
7250
  var _this = this;
@@ -7110,10 +7329,10 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
7110
7329
  Tab.prototype.getTrgContent = function (cntEle, no) {
7111
7330
  var ele;
7112
7331
  if (this.element.classList.contains(CLS_NEST$1)) {
7113
- ele = select('.' + CLS_NEST$1 + '> .' + CLS_CONTENT$1 + ' > #' + CLS_CONTENT$1 + '_' + no, this.element);
7332
+ ele = select('.' + CLS_NEST$1 + '> .' + CLS_CONTENT$1 + ' > #' + CLS_CONTENT$1 + this.tabId + '_' + no, this.element);
7114
7333
  }
7115
7334
  else {
7116
- ele = this.findEle(cntEle.children, CLS_CONTENT$1 + '_' + no);
7335
+ ele = this.findEle(cntEle.children, CLS_CONTENT$1 + this.tabId + '_' + no);
7117
7336
  }
7118
7337
  return ele;
7119
7338
  };
@@ -7161,7 +7380,9 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
7161
7380
  this.select(this.selectedItem);
7162
7381
  };
7163
7382
  Tab.prototype.setOrientation = function (place, ele) {
7164
- if (place === 'Bottom' && Array.prototype.indexOf.call(this.element.children, ele) !== 1) {
7383
+ var headerPos = Array.prototype.indexOf.call(this.element.children, ele);
7384
+ var contentPos = Array.prototype.indexOf.call(this.element.children, this.element.querySelector('.' + CLS_CONTENT$1));
7385
+ if (place === 'Bottom' && (contentPos > headerPos)) {
7165
7386
  this.element.appendChild(ele);
7166
7387
  }
7167
7388
  else {
@@ -7183,10 +7404,13 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
7183
7404
  }
7184
7405
  };
7185
7406
  Tab.prototype.setContentHeight = function (val) {
7407
+ if (this.element.classList.contains(CLS_FILL)) {
7408
+ removeClass([this.element], [CLS_FILL]);
7409
+ }
7186
7410
  if (isNullOrUndefined(this.cntEle)) {
7187
7411
  return;
7188
7412
  }
7189
- var hdrEle = select('.' + CLS_HEADER$1, this.element);
7413
+ var hdrEle = this.getTabHeader();
7190
7414
  if (this.heightAdjustMode === 'None') {
7191
7415
  if (this.height === 'auto') {
7192
7416
  return;
@@ -7198,8 +7422,9 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
7198
7422
  }
7199
7423
  }
7200
7424
  else if (this.heightAdjustMode === 'Fill') {
7425
+ addClass([this.element], [CLS_FILL]);
7201
7426
  setStyleAttribute(this.element, { 'height': '100%' });
7202
- setStyleAttribute(this.cntEle, { 'height': 'auto' });
7427
+ setStyleAttribute(this.cntEle, { 'height': '100%' });
7203
7428
  }
7204
7429
  else if (this.heightAdjustMode === 'Auto') {
7205
7430
  var cnt = selectAll('.' + CLS_CONTENT$1 + ' > .' + CLS_ITEM$2, this.element);
@@ -7215,8 +7440,8 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
7215
7440
  this.cntEle = select('.' + CLS_CONTENT$1, this.element);
7216
7441
  if (val === true) {
7217
7442
  this.cntEle.appendChild(this.createElement('div', {
7218
- id: (CLS_CONTENT$1 + '_' + 0), className: CLS_ITEM$2 + ' ' + CLS_ACTIVE$1,
7219
- attrs: { 'role': 'tabpanel', 'aria-labelledby': CLS_ITEM$2 + '_' + 0 }
7443
+ id: (CLS_CONTENT$1 + this.tabId + '_' + 0), className: CLS_ITEM$2 + ' ' + CLS_ACTIVE$1,
7444
+ attrs: { 'role': 'tabpanel', 'aria-labelledby': CLS_ITEM$2 + this.tabId + '_' + 0 }
7220
7445
  }));
7221
7446
  }
7222
7447
  var ele = this.cntEle.children.item(0);
@@ -7244,18 +7469,10 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
7244
7469
  parseFloat(cs.getPropertyValue('margin-top')) + parseFloat(cs.getPropertyValue('margin-bottom'));
7245
7470
  };
7246
7471
  Tab.prototype.setActiveBorder = function () {
7247
- var trg;
7248
7472
  var bar;
7249
7473
  var scrollCnt;
7250
- var trgHdrEle;
7251
- if (this.headerPlacement === 'Bottom') {
7252
- trgHdrEle = select('.' + CLS_HEADER$1, this.element);
7253
- trg = select('.' + CLS_TB_ITEM + '.' + CLS_ACTIVE$1, trgHdrEle);
7254
- }
7255
- else {
7256
- trgHdrEle = select('.' + CLS_HEADER$1, this.element);
7257
- trg = select('.' + CLS_TB_ITEM + '.' + CLS_ACTIVE$1, this.element);
7258
- }
7474
+ var trgHdrEle = this.getTabHeader();
7475
+ var trg = select('.' + CLS_TB_ITEM + '.' + CLS_ACTIVE$1, trgHdrEle);
7259
7476
  if (trg === null) {
7260
7477
  return;
7261
7478
  }
@@ -7291,7 +7508,7 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
7291
7508
  }
7292
7509
  };
7293
7510
  Tab.prototype.setActive = function (value) {
7294
- this.tbItem = selectAll('.' + CLS_HEADER$1 + ' .' + CLS_TB_ITEM, this.element);
7511
+ this.tbItem = selectAll('.' + CLS_TB_ITEM, this.getTabHeader());
7295
7512
  var trg = this.tbItem[value];
7296
7513
  if (value >= 0) {
7297
7514
  this.setProperties({ selectedItem: value }, true);
@@ -7308,20 +7525,20 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
7308
7525
  if (!isNullOrUndefined(prev)) {
7309
7526
  prev.removeAttribute('aria-controls');
7310
7527
  }
7311
- attributes(trg, { 'aria-controls': CLS_CONTENT$1 + '_' + value });
7528
+ attributes(trg, { 'aria-controls': CLS_CONTENT$1 + this.tabId + '_' + value });
7312
7529
  }
7313
7530
  var id = trg.id;
7314
- this.removeActiveClass(id);
7531
+ this.removeActiveClass();
7315
7532
  trg.classList.add(CLS_ACTIVE$1);
7316
7533
  trg.setAttribute('aria-selected', 'true');
7317
7534
  var no = Number(this.extIndex(id));
7318
7535
  if (isNullOrUndefined(this.prevActiveEle)) {
7319
- this.prevActiveEle = CLS_CONTENT$1 + '_' + no;
7536
+ this.prevActiveEle = CLS_CONTENT$1 + this.tabId + '_' + no;
7320
7537
  }
7321
7538
  attributes(this.element, { 'aria-activedescendant': id });
7322
7539
  if (this.isTemplate) {
7323
7540
  if (select('.' + CLS_CONTENT$1, this.element).children.length > 0) {
7324
- var trg_1 = this.findEle(select('.' + CLS_CONTENT$1, this.element).children, CLS_CONTENT$1 + '_' + no);
7541
+ var trg_1 = this.findEle(select('.' + CLS_CONTENT$1, this.element).children, CLS_CONTENT$1 + this.tabId + '_' + no);
7325
7542
  if (!isNullOrUndefined(trg_1)) {
7326
7543
  trg_1.classList.add(CLS_ACTIVE$1);
7327
7544
  }
@@ -7333,8 +7550,8 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
7333
7550
  var item = this.getTrgContent(this.cntEle, this.extIndex(id));
7334
7551
  if (isNullOrUndefined(item)) {
7335
7552
  this.cntEle.appendChild(this.createElement('div', {
7336
- id: CLS_CONTENT$1 + '_' + this.extIndex(id), className: CLS_ITEM$2 + ' ' + CLS_ACTIVE$1,
7337
- attrs: { role: 'tabpanel', 'aria-labelledby': CLS_ITEM$2 + '_' + this.extIndex(id) }
7553
+ id: CLS_CONTENT$1 + this.tabId + '_' + this.extIndex(id), className: CLS_ITEM$2 + ' ' + CLS_ACTIVE$1,
7554
+ attrs: { role: 'tabpanel', 'aria-labelledby': CLS_ITEM$2 + this.tabId + '_' + this.extIndex(id) }
7338
7555
  }));
7339
7556
  var eleTrg = this.getTrgContent(this.cntEle, this.extIndex(id));
7340
7557
  var itemIndex = Array.prototype.indexOf.call(this.itemIndexArray, trg.id);
@@ -7356,7 +7573,7 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
7356
7573
  previousIndex: this.prevIndex,
7357
7574
  selectedItem: trg,
7358
7575
  selectedIndex: value,
7359
- selectedContent: select('#' + CLS_CONTENT$1 + '_' + this.selectingID, this.content),
7576
+ selectedContent: select('#' + CLS_CONTENT$1 + this.tabId + '_' + this.selectingID, this.content),
7360
7577
  isSwiped: this.isSwipeed
7361
7578
  };
7362
7579
  if (!this.initRender || this.selectedItem !== 0) {
@@ -7365,7 +7582,7 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
7365
7582
  };
7366
7583
  Tab.prototype.setItems = function (items) {
7367
7584
  this.isReplace = true;
7368
- this.tbItems = select('.' + CLS_HEADER$1 + ' .' + CLS_TB_ITEMS, this.element);
7585
+ this.tbItems = select('.' + CLS_TB_ITEMS, this.getTabHeader());
7369
7586
  this.tbObj.items = this.parseObject(items, 0);
7370
7587
  this.tbObj.dataBind();
7371
7588
  this.isReplace = false;
@@ -7472,9 +7689,9 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
7472
7689
  }
7473
7690
  this.element.classList.add(CLS_FOCUS);
7474
7691
  var trg = e.target;
7475
- var actEle = select('.' + CLS_HEADER$1 + ' .' + CLS_ACTIVE$1, this.element);
7476
- var tabItem = selectAll('.' + CLS_TB_ITEM + ':not(.' + CLS_TB_POPUP + ')', this.element);
7477
- this.popEle = select('.' + CLS_HEADER$1 + ' .' + CLS_TB_POP, this.element);
7692
+ var tabHeader = this.getTabHeader();
7693
+ var actEle = select('.' + CLS_ACTIVE$1, tabHeader);
7694
+ this.popEle = select('.' + CLS_TB_POP, tabHeader);
7478
7695
  if (!isNullOrUndefined(this.popEle)) {
7479
7696
  this.popObj = this.popEle.ej2_instances[0];
7480
7697
  }
@@ -7572,8 +7789,8 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
7572
7789
  var property = Object.keys(newProp.items[index])[0];
7573
7790
  var oldVal = Object(oldProp.items[index])[property];
7574
7791
  var newVal = Object(newProp.items[index])[property];
7575
- var hdrItem = select('.' + CLS_TB_ITEMS + ' #' + CLS_ITEM$2 + '_' + index, this.element);
7576
- var cntItem = select('.' + CLS_CONTENT$1 + ' #' + CLS_CONTENT$1 + '_' + index, this.element);
7792
+ var hdrItem = select('.' + CLS_TB_ITEMS + ' #' + CLS_ITEM$2 + this.tabId + '_' + index, this.element);
7793
+ var cntItem = select('.' + CLS_CONTENT$1 + ' #' + CLS_CONTENT$1 + this.tabId + '_' + index, this.element);
7577
7794
  if (property === 'header' || property === 'headerTemplate') {
7578
7795
  var icon = (isNullOrUndefined(this.items[index].header) ||
7579
7796
  isNullOrUndefined(this.items[index].header.iconCss)) ? '' : this.items[index].header.iconCss;
@@ -7633,6 +7850,10 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
7633
7850
  this.reRenderItems();
7634
7851
  }
7635
7852
  else {
7853
+ var items = newProp.items;
7854
+ for (var i = 0; i < items.length; i++) {
7855
+ this.resetBlazorTemplates(items[i], i);
7856
+ }
7636
7857
  this.setItems(newProp.items);
7637
7858
  if (this.templateEle.length > 0) {
7638
7859
  this.expTemplateContent();
@@ -7646,6 +7867,17 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
7646
7867
  }
7647
7868
  }
7648
7869
  };
7870
+ Tab.prototype.resetBlazorTemplates = function (item, index) {
7871
+ if (!isBlazor()) {
7872
+ return;
7873
+ }
7874
+ if (item.headerTemplate && !this.isStringTemplate && (item.headerTemplate).indexOf('<div>Blazor') === 0) {
7875
+ resetBlazorTemplate(this.element.id + index + '_' + 'headerTemplate', 'HeaderTemplate');
7876
+ }
7877
+ if (item.content && !this.isStringTemplate && item.content.indexOf('<div>Blazor') === 0) {
7878
+ resetBlazorTemplate(this.element.id + index + '_' + 'content', 'ContentTemplate');
7879
+ }
7880
+ };
7649
7881
  /**
7650
7882
  * Enables or disables the specified Tab item. On passing value as `false`, the item will be disabled.
7651
7883
  * @param {number} index - Index value of target Tab item.
@@ -7720,7 +7952,7 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
7720
7952
  if (!isNullOrUndefined(this.bdrLine)) {
7721
7953
  this.bdrLine.classList.add(CLS_HIDDEN$1);
7722
7954
  }
7723
- this.tbItems = select('.' + CLS_HEADER$1 + ' .' + CLS_TB_ITEMS, this.element);
7955
+ this.tbItems = select('.' + CLS_TB_ITEMS, this.getTabHeader());
7724
7956
  this.isAdd = true;
7725
7957
  var tabItems = this.parseObject(items, index);
7726
7958
  this.isAdd = false;
@@ -7736,7 +7968,8 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
7736
7968
  if (_this.isTemplate && !isNullOrUndefined(item.header) && !isNullOrUndefined(item.header.text)) {
7737
7969
  var no = lastEleIndex + place;
7738
7970
  var ele = _this.createElement('div', {
7739
- id: CLS_CONTENT$1 + '_' + no, className: CLS_ITEM$2, attrs: { role: 'tabpanel', 'aria-labelledby': CLS_ITEM$2 + '_' + no }
7971
+ id: CLS_CONTENT$1 + _this.tabId + '_' + no, className: CLS_ITEM$2,
7972
+ attrs: { role: 'tabpanel', 'aria-labelledby': CLS_ITEM$2 + _this.tabId + '_' + no }
7740
7973
  });
7741
7974
  _this.cntEle.insertBefore(ele, _this.cntEle.children[(index + place)]);
7742
7975
  var eleTrg = _this.getTrgContent(_this.cntEle, no.toString());
@@ -7769,11 +8002,12 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
7769
8002
  var removeArgs = { removedItem: trg, removedIndex: index, cancel: false };
7770
8003
  this.trigger('removing', removeArgs, function (tabRemovingArgs) {
7771
8004
  if (!tabRemovingArgs.cancel) {
8005
+ _this.resetBlazorTemplates(_this.items[index], index);
7772
8006
  _this.tbObj.removeItems(index);
7773
8007
  _this.items.splice(index, 1);
7774
8008
  _this.itemIndexArray.splice(index, 1);
7775
8009
  _this.refreshActiveBorder();
7776
- var cntTrg = select('#' + CLS_CONTENT$1 + '_' + _this.extIndex(trg.id), select('.' + CLS_CONTENT$1, _this.element));
8010
+ var cntTrg = select('#' + CLS_CONTENT$1 + _this.tabId + '_' + _this.extIndex(trg.id), select('.' + CLS_CONTENT$1, _this.element));
7777
8011
  if (!isNullOrUndefined(cntTrg)) {
7778
8012
  detach(cntTrg);
7779
8013
  }
@@ -7859,8 +8093,9 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
7859
8093
  */
7860
8094
  Tab.prototype.select = function (args) {
7861
8095
  var _this = this;
7862
- this.tbItems = select('.' + CLS_HEADER$1 + ' .' + CLS_TB_ITEMS, this.element);
7863
- this.tbItem = selectAll('.' + CLS_HEADER$1 + ' .' + CLS_TB_ITEM, this.element);
8096
+ var tabHeader = this.getTabHeader();
8097
+ this.tbItems = select('.' + CLS_TB_ITEMS, tabHeader);
8098
+ this.tbItem = selectAll('.' + CLS_TB_ITEM, tabHeader);
7864
8099
  this.content = select('.' + CLS_CONTENT$1, this.element);
7865
8100
  this.prevItem = this.tbItem[this.prevIndex];
7866
8101
  if (isNullOrUndefined(this.selectedItem) || (this.selectedItem < 0) || (this.tbItem.length <= this.selectedItem) || isNaN(this.selectedItem)) {
@@ -7884,10 +8119,12 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
7884
8119
  previousIndex: this.prevIndex,
7885
8120
  selectedItem: this.tbItem[this.selectedItem],
7886
8121
  selectedIndex: this.selectedItem,
7887
- selectedContent: !isNullOrUndefined(this.content) ? select('#' + CLS_CONTENT$1 + '_' + this.selectedID, this.content) : null,
8122
+ selectedContent: !isNullOrUndefined(this.content) ?
8123
+ select('#' + CLS_CONTENT$1 + this.tabId + '_' + this.selectedID, this.content) : null,
7888
8124
  selectingItem: trg,
7889
8125
  selectingIndex: args,
7890
- selectingContent: !isNullOrUndefined(this.content) ? select('#' + CLS_CONTENT$1 + '_' + this.selectingID, this.content) : null,
8126
+ selectingContent: !isNullOrUndefined(this.content) ?
8127
+ select('#' + CLS_CONTENT$1 + this.tabId + '_' + this.selectingID, this.content) : null,
7891
8128
  isSwiped: this.isSwipeed,
7892
8129
  cancel: false
7893
8130
  };
@@ -8087,25 +8324,25 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
8087
8324
  * Tab modules
8088
8325
  */
8089
8326
 
8090
- var __extends$8 = (undefined && undefined.__extends) || (function () {
8091
- var extendStatics = function (d, b) {
8092
- extendStatics = Object.setPrototypeOf ||
8093
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
8094
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
8095
- return extendStatics(d, b);
8096
- };
8097
- return function (d, b) {
8098
- extendStatics(d, b);
8099
- function __() { this.constructor = d; }
8100
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
8101
- };
8102
- })();
8103
- var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
8104
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
8105
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
8106
- 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;
8107
- return c > 3 && r && Object.defineProperty(target, key, r), r;
8108
- };
8327
+ var __extends$8 = (undefined && undefined.__extends) || (function () {
8328
+ var extendStatics = function (d, b) {
8329
+ extendStatics = Object.setPrototypeOf ||
8330
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
8331
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
8332
+ return extendStatics(d, b);
8333
+ };
8334
+ return function (d, b) {
8335
+ extendStatics(d, b);
8336
+ function __() { this.constructor = d; }
8337
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
8338
+ };
8339
+ })();
8340
+ var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
8341
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
8342
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
8343
+ 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;
8344
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
8345
+ };
8109
8346
  var ROOT = 'e-treeview';
8110
8347
  var CONTROL = 'e-control';
8111
8348
  var COLLAPSIBLE = 'e-icon-collapsible';
@@ -8270,6 +8507,7 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
8270
8507
  _this.disableNode = [];
8271
8508
  _this.parentNodeCheck = [];
8272
8509
  _this.expandChildren = [];
8510
+ _this.isFieldChange = false;
8273
8511
  _this.mouseDownStatus = false;
8274
8512
  return _this;
8275
8513
  }
@@ -8646,13 +8884,13 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
8646
8884
  var childCheckedElement;
8647
8885
  for (var i = 0; i < indeterminate.length; i++) {
8648
8886
  var node = closest(indeterminate[i], '.' + LISTITEM);
8649
- var parentData = this.getTreeData(node);
8650
- var id = parentData[0][this.fields.id].toString();
8887
+ var nodeId = node.getAttribute('data-uid').toString();
8651
8888
  if (this.dataType === 1) {
8652
- childCheckedElement = this.getChildNodes(this.treeData, id);
8889
+ childCheckedElement = new DataManager(this.treeData).
8890
+ executeLocal(new Query().where(this.fields.parentID, 'equal', nodeId, true));
8653
8891
  }
8654
8892
  else {
8655
- childCheckedElement = getValue(this.fields.child.toString(), parentData[0]);
8893
+ childCheckedElement = this.getChildNodes(this.treeData, nodeId);
8656
8894
  }
8657
8895
  var count = 0;
8658
8896
  if (childCheckedElement) {
@@ -9318,7 +9556,8 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
9318
9556
  var eUids = this.expandedNodes;
9319
9557
  if (this.isInitalExpand && eUids.length > 0) {
9320
9558
  this.setProperties({ expandedNodes: [] }, true);
9321
- if (this.fields.dataSource instanceof DataManager) {
9559
+ // tslint:disable
9560
+ if (this.fields.dataSource instanceof DataManager && (this.fields.dataSource.adaptorName !== 'BlazorAdaptor')) {
9322
9561
  this.expandGivenNodes(eUids);
9323
9562
  }
9324
9563
  else {
@@ -9374,11 +9613,13 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
9374
9613
  TreeView.prototype.afterFinalized = function () {
9375
9614
  this.doSelectionAction();
9376
9615
  this.updateCheckedProp();
9377
- this.isLoaded = true;
9378
9616
  this.isAnimate = true;
9379
9617
  this.isInitalExpand = false;
9380
- var eventArgs = { data: this.treeData };
9381
- this.trigger('dataBound', eventArgs);
9618
+ if (!this.isLoaded || this.isFieldChange) {
9619
+ var eventArgs = { data: this.treeData };
9620
+ this.trigger('dataBound', eventArgs);
9621
+ }
9622
+ this.isLoaded = true;
9382
9623
  };
9383
9624
  TreeView.prototype.doSelectionAction = function () {
9384
9625
  var sNodes = selectAll('.' + SELECTED$1, this.element);
@@ -9543,7 +9784,12 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
9543
9784
  removeClass([liEle], NODECOLLAPSED);
9544
9785
  var id = liEle.getAttribute('data-uid');
9545
9786
  if (!isNullOrUndefined(id) && this.expandedNodes.indexOf(id) === -1) {
9546
- this.expandedNodes.push(id);
9787
+ if (this.isBlazorPlatform) {
9788
+ this.setProperties({ expandedNodes: [].concat([], this.expandedNodes, [id]) }, true);
9789
+ }
9790
+ else {
9791
+ this.expandedNodes.push(id);
9792
+ }
9547
9793
  }
9548
9794
  };
9549
9795
  TreeView.prototype.collapseNode = function (currLi, icon, e) {
@@ -9628,7 +9874,14 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
9628
9874
  }
9629
9875
  var index = this.expandedNodes.indexOf(liEle.getAttribute('data-uid'));
9630
9876
  if (index > -1) {
9631
- this.expandedNodes.splice(index, 1);
9877
+ if (this.isBlazorPlatform) {
9878
+ var removeVal = this.expandedNodes.slice(0);
9879
+ removeVal.splice(index, 1);
9880
+ this.setProperties({ expandedNodes: [].concat([], removeVal) }, true);
9881
+ }
9882
+ else {
9883
+ this.expandedNodes.splice(index, 1);
9884
+ }
9632
9885
  }
9633
9886
  };
9634
9887
  TreeView.prototype.disableExpandAttr = function (liEle) {
@@ -9678,6 +9931,9 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
9678
9931
  mapper_2.dataSource.executeQuery(this.getQuery(mapper_2, parentLi.getAttribute('data-uid'))).then(function (e) {
9679
9932
  _this.treeList.pop();
9680
9933
  childItems = e.result;
9934
+ if (_this.dataType === 1) {
9935
+ _this.dataType = 2;
9936
+ }
9681
9937
  _this.loadChild(childItems, mapper_2, eicon, parentLi, expandChild, callback, loaded);
9682
9938
  if (_this.nodeTemplate && _this.isBlazorPlatform && !_this.isStringTemplate) {
9683
9939
  _this.updateBlazorTemplate();
@@ -10618,6 +10874,7 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
10618
10874
  }
10619
10875
  this.setTouchClass();
10620
10876
  this.setProperties({ selectedNodes: [], checkedNodes: [], expandedNodes: [] }, true);
10877
+ this.checkedElement = [];
10621
10878
  this.isLoaded = false;
10622
10879
  this.setDataBinding();
10623
10880
  };
@@ -10697,14 +10954,14 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
10697
10954
  newText = observedArgs.cancel ? observedArgs.oldText : observedArgs.newText;
10698
10955
  var newData = setValue(_this.editFields.text, newText, _this.editData);
10699
10956
  if (!isNullOrUndefined(_this.nodeTemplateFn)) {
10700
- txtEle.innerHTML = '';
10957
+ txtEle.innerText = '';
10701
10958
  var tempArr = _this.nodeTemplateFn(newData, undefined, undefined, _this.element.id + 'nodeTemplate', _this.isStringTemplate);
10702
10959
  tempArr = Array.prototype.slice.call(tempArr);
10703
10960
  append(tempArr, txtEle);
10704
10961
  _this.updateBlazorTemplate();
10705
10962
  }
10706
10963
  else {
10707
- txtEle.innerHTML = newText;
10964
+ txtEle.innerText = newText;
10708
10965
  }
10709
10966
  if (isInput) {
10710
10967
  removeClass([liEle], EDITING);
@@ -10848,24 +11105,27 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
10848
11105
  }
10849
11106
  var eventArgs = _this.getDragEvent(e.event, _this, null, e.target, null, virtualEle, level);
10850
11107
  if (eventArgs.draggedNode.classList.contains(EDITING)) {
11108
+ _this.dragObj.intDestroy(e.event);
10851
11109
  _this.dragCancelAction(virtualEle);
10852
11110
  }
10853
11111
  else {
10854
11112
  _this.trigger('nodeDragStart', eventArgs, function (observedArgs) {
10855
11113
  if (observedArgs.cancel) {
11114
+ _this.dragObj.intDestroy(e.event);
10856
11115
  _this.dragCancelAction(virtualEle);
10857
11116
  }
10858
11117
  else {
10859
11118
  _this.dragStartAction = true;
10860
11119
  }
11120
+ if (isBlazor()) {
11121
+ e.bindEvents(getElement(e.dragElement));
11122
+ }
10861
11123
  });
10862
11124
  }
10863
11125
  },
10864
11126
  drag: function (e) {
10865
- if ((_this.isBlazorPlatform && _this.dragStartAction) || !_this.isBlazorPlatform) {
10866
- _this.dragObj.setProperties({ cursorAt: { top: (!isNullOrUndefined(e.event.targetTouches) || Browser.isDevice) ? 60 : -20 } });
10867
- _this.dragAction(e, virtualEle);
10868
- }
11127
+ _this.dragObj.setProperties({ cursorAt: { top: (!isNullOrUndefined(e.event.targetTouches) || Browser.isDevice) ? 60 : -20 } });
11128
+ _this.dragAction(e, virtualEle);
10869
11129
  },
10870
11130
  dragStop: function (e) {
10871
11131
  removeClass([_this.element], DRAGGING);
@@ -10931,15 +11191,18 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
10931
11191
  }
10932
11192
  if (dropRoot) {
10933
11193
  var dropLi = closest(e.target, '.' + LISTITEM);
11194
+ var checkWrapper = closest(e.target, '.' + CHECKBOXWRAP);
11195
+ var collapse = closest(e.target, '.' + COLLAPSIBLE);
11196
+ var expand = closest(e.target, '.' + EXPANDABLE);
10934
11197
  if (!dropRoot.classList.contains(ROOT) || (dropWrap &&
10935
11198
  (!dropLi.isSameNode(this.dragLi) && !this.isDescendant(this.dragLi, dropLi)))) {
10936
- if (dropLi && e && (e.event.offsetY < 7)) {
11199
+ if ((dropLi && e && (!expand && !collapse) && (e.event.offsetY < 7) && !checkWrapper) || (((expand && e.event.offsetY < 5) || (collapse && e.event.offsetX < 3)))) {
10937
11200
  addClass([icon], DROPNEXT);
10938
11201
  var virEle = this.createElement('div', { className: SIBLING });
10939
11202
  var index = this.fullRowSelect ? (1) : (0);
10940
11203
  dropLi.insertBefore(virEle, dropLi.children[index]);
10941
11204
  }
10942
- else if (dropLi && e && (e.target.offsetHeight > 0 && e.event.offsetY > (e.target.offsetHeight - 10))) {
11205
+ else if ((dropLi && e && (!expand && !collapse) && (e.target.offsetHeight > 0 && e.event.offsetY > (e.target.offsetHeight - 10)) && !checkWrapper) || (((expand && e.event.offsetY > 19) || (collapse && e.event.offsetX > 19)))) {
10943
11206
  addClass([icon], DROPNEXT);
10944
11207
  var virEle = this.createElement('div', { className: SIBLING });
10945
11208
  var index = this.fullRowSelect ? (2) : (1);
@@ -11038,7 +11301,10 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
11038
11301
  this.triggerEvent();
11039
11302
  };
11040
11303
  TreeView.prototype.appendNode = function (dropTarget, dragLi, dropLi, e, dragObj, offsetY) {
11041
- if (!dragLi.classList.contains('e-disable') && !dropLi.classList.contains('e-disable')) {
11304
+ var checkWrapper = closest(dropTarget, '.' + CHECKBOXWRAP);
11305
+ var collapse = closest(e.target, '.' + COLLAPSIBLE);
11306
+ var expand = closest(e.target, '.' + EXPANDABLE);
11307
+ if (!dragLi.classList.contains('e-disable') && !checkWrapper && ((expand && e.event.offsetY < 5) || (collapse && e.event.offsetX < 3) || (expand && e.event.offsetY > 19) || (collapse && e.event.offsetX > 19) || (!expand && !collapse))) {
11042
11308
  if (dropTarget.nodeName === 'LI') {
11043
11309
  this.dropAsSiblingNode(dragLi, dropLi, e, dragObj);
11044
11310
  }
@@ -11047,10 +11313,16 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
11047
11313
  this.dropAsSiblingNode(dragLi, dropLi, e, dragObj);
11048
11314
  }
11049
11315
  }
11316
+ else if ((dropTarget.classList.contains('e-icon-collapsible')) || (dropTarget.classList.contains('e-icon-expandable'))) {
11317
+ this.dropAsSiblingNode(dragLi, dropLi, e, dragObj);
11318
+ }
11050
11319
  else {
11051
11320
  this.dropAsChildNode(dragLi, dropLi, dragObj, null, e, offsetY);
11052
11321
  }
11053
11322
  }
11323
+ else {
11324
+ this.dropAsChildNode(dragLi, dropLi, dragObj, null, e, offsetY, true);
11325
+ }
11054
11326
  };
11055
11327
  TreeView.prototype.dropAsSiblingNode = function (dragLi, dropLi, e, dragObj) {
11056
11328
  var dropUl = closest(dropLi, '.' + PARENTITEM);
@@ -11063,7 +11335,21 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
11063
11335
  else if (e.event.offsetY < 2) {
11064
11336
  pre = true;
11065
11337
  }
11066
- dropUl.insertBefore(dragLi, pre ? e.target : e.target.nextElementSibling);
11338
+ else if (e.target.classList.contains('e-icon-expandable') || (e.target.classList.contains('e-icon-collapsible'))) {
11339
+ if ((e.event.offsetY < 5) || (e.event.offsetX < 3)) {
11340
+ pre = true;
11341
+ }
11342
+ else if ((e.event.offsetY > 15) || (e.event.offsetX > 17)) {
11343
+ pre = false;
11344
+ }
11345
+ }
11346
+ if ((e.target.classList.contains('e-icon-expandable')) || (e.target.classList.contains('e-icon-collapsible'))) {
11347
+ var target = e.target.closest('li');
11348
+ dropUl.insertBefore(dragLi, pre ? target : target.nextElementSibling);
11349
+ }
11350
+ else {
11351
+ dropUl.insertBefore(dragLi, pre ? e.target : e.target.nextElementSibling);
11352
+ }
11067
11353
  this.moveData(dragLi, dropLi, dropUl, pre, dragObj);
11068
11354
  this.updateElement(dragParentUl, dragParentLi);
11069
11355
  this.updateAriaLevel(dragLi);
@@ -11075,15 +11361,15 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
11075
11361
  this.updateInstance();
11076
11362
  }
11077
11363
  };
11078
- TreeView.prototype.dropAsChildNode = function (dragLi, dropLi, dragObj, index, e, pos) {
11364
+ TreeView.prototype.dropAsChildNode = function (dragLi, dropLi, dragObj, index, e, pos, isCheck) {
11079
11365
  var dragParentUl = closest(dragLi, '.' + PARENTITEM);
11080
11366
  var dragParentLi = closest(dragParentUl, '.' + LISTITEM);
11081
11367
  var dropParentUl = closest(dropLi, '.' + PARENTITEM);
11082
- if (e && (pos < 7)) {
11368
+ if (e && (pos < 7) && !isCheck) {
11083
11369
  dropParentUl.insertBefore(dragLi, dropLi);
11084
11370
  this.moveData(dragLi, dropLi, dropParentUl, true, dragObj);
11085
11371
  }
11086
- else if (e && (e.target.offsetHeight > 0 && pos > (e.target.offsetHeight - 10))) {
11372
+ else if (e && (e.target.offsetHeight > 0 && pos > (e.target.offsetHeight - 10)) && !isCheck) {
11087
11373
  dropParentUl.insertBefore(dragLi, dropLi.nextElementSibling);
11088
11374
  this.moveData(dragLi, dropLi, dropParentUl, false, dragObj);
11089
11375
  }
@@ -11985,6 +12271,7 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
11985
12271
  * @returns void
11986
12272
  * @private
11987
12273
  */
12274
+ // tslint:disable-next-line:max-func-body-length
11988
12275
  TreeView.prototype.onPropertyChanged = function (newProp, oldProp) {
11989
12276
  for (var _i = 0, _a = Object.keys(newProp); _i < _a.length; _i++) {
11990
12277
  var prop = _a[_i];
@@ -12026,10 +12313,14 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
12026
12313
  break;
12027
12314
  case 'expandedNodes':
12028
12315
  this.isAnimate = false;
12029
- this.setProperties({ expandedNodes: [] }, true);
12316
+ if (!this.isBlazorPlatform) {
12317
+ this.setProperties({ expandedNodes: [] }, true);
12318
+ }
12030
12319
  this.collapseAll();
12031
12320
  this.isInitalExpand = true;
12032
- this.setProperties({ expandedNodes: isNullOrUndefined(newProp.expandedNodes) ? [] : newProp.expandedNodes }, true);
12321
+ if (!this.isBlazorPlatform) {
12322
+ this.setProperties({ expandedNodes: isNullOrUndefined(newProp.expandedNodes) ? [] : newProp.expandedNodes }, true);
12323
+ }
12033
12324
  this.doExpandAction();
12034
12325
  this.isInitalExpand = false;
12035
12326
  this.isAnimate = true;
@@ -12043,11 +12334,13 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
12043
12334
  break;
12044
12335
  case 'fields':
12045
12336
  this.isAnimate = false;
12337
+ this.isFieldChange = true;
12046
12338
  this.initialRender = true;
12047
12339
  this.updateListProp(this.fields);
12048
12340
  this.reRenderNodes();
12049
12341
  this.initialRender = false;
12050
12342
  this.isAnimate = true;
12343
+ this.isFieldChange = false;
12051
12344
  break;
12052
12345
  case 'fullRowSelect':
12053
12346
  this.setFullRow(this.fullRowSelect);
@@ -12096,7 +12389,9 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
12096
12389
  this.setCssClass(this.cssClass, null);
12097
12390
  this.setDragAndDrop(false);
12098
12391
  this.setFullRow(false);
12099
- this.element.innerHTML = '';
12392
+ if (this.ulElement && this.ulElement.parentElement) {
12393
+ this.ulElement.parentElement.removeChild(this.ulElement);
12394
+ }
12100
12395
  _super.prototype.destroy.call(this);
12101
12396
  };
12102
12397
  /**
@@ -12114,7 +12409,7 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
12114
12409
  nodes = JSON.parse(JSON.stringify(nodes));
12115
12410
  var dropLi = this.getElement(target);
12116
12411
  this.preventExpand = preventTargetExpand;
12117
- if (this.fields.dataSource instanceof DataManager) {
12412
+ if (this.fields.dataSource instanceof DataManager && (this.fields.dataSource.adaptorName !== 'BlazorAdaptor')) {
12118
12413
  var dropUl_1;
12119
12414
  var icon = dropLi ? dropLi.querySelector('.' + ICON) : null;
12120
12415
  var proxy_5 = this;
@@ -12151,7 +12446,7 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
12151
12446
  if (this.showCheckBox && dropLi) {
12152
12447
  this.ensureParentCheckState(dropLi);
12153
12448
  }
12154
- if (this.fields.dataSource instanceof DataManager === false) {
12449
+ if ((this.fields.dataSource instanceof DataManager === false) || (this.fields.dataSource instanceof DataManager) && (this.fields.dataSource.adaptorName === 'BlazorAdaptor')) {
12155
12450
  this.preventExpand = false;
12156
12451
  this.triggerEvent();
12157
12452
  }
@@ -12258,50 +12553,12 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
12258
12553
  */
12259
12554
  TreeView.prototype.getAllCheckedNodes = function () {
12260
12555
  var checkNodes = this.checkedNodes;
12261
- var newCheck = [];
12262
- var i = 0;
12263
- var id = this.fields.id;
12264
- for (i; i < this.treeData.length; i++) {
12265
- //Checks if isChecked is enabled while node is not loaded in DOM
12266
- var checked = null;
12267
- var childNode = null;
12268
- var isLoaded = this.element.querySelector('[data-uid="' + this.treeData[i][id].toString() + '"]');
12269
- if (isLoaded && isLoaded.querySelector('.e-list-item') === null) {
12270
- //Checks if isChecked is enabled for parent
12271
- if (this.getTreeData()[i][this.fields.isChecked] === true
12272
- && this.checkedElement.indexOf(this.getTreeData()[i][id].toString()) === -1) {
12273
- newCheck.push(this.treeData[i][id].toString());
12274
- checked = 2;
12275
- }
12276
- //Checks for child nodes with isChecked enabled
12277
- if (checked !== 2) {
12278
- checked = 1;
12279
- }
12280
- childNode = this.getChildNodes(this.getTreeData(), this.getTreeData()[i][id].toString());
12281
- (childNode !== null && this.autoCheck) ? this.allCheckNode(childNode, newCheck, checked) : childNode = null;
12282
- }
12283
- }
12284
- i = 0;
12285
- //Gets checked nodes based on UI interaction
12286
- while (i < checkNodes.length) {
12287
- if (newCheck.indexOf(checkNodes[i]) !== -1) {
12288
- i++;
12289
- continue;
12290
- }
12291
- newCheck.push(checkNodes[i]);
12292
- //Gets all child which is not loaded while parent is checked
12293
- var parentNode = this.element.querySelector('[data-uid="' + checkNodes[i] + '"]');
12294
- if (parentNode && parentNode.querySelector('.e-list-item') === null) {
12295
- var child = this.getChildNodes(this.treeData, checkNodes[i].toString());
12296
- (child && this.autoCheck) ? this.allCheckNode(child, newCheck) : child = null;
12297
- }
12298
- i++;
12299
- }
12300
- return newCheck;
12556
+ return checkNodes;
12301
12557
  };
12302
12558
  /**
12303
12559
  * Get the node's data such as id, text, parentID, selected, isChecked, and expanded by passing the node element or it's ID.
12304
12560
  * @param {string | Element} node - Specifies ID of TreeView node/TreeView node.
12561
+ * @BlazorType NodeData
12305
12562
  */
12306
12563
  TreeView.prototype.getNode = function (node) {
12307
12564
  var ele = this.getElement(node);
@@ -12529,25 +12786,25 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
12529
12786
  * TreeView modules
12530
12787
  */
12531
12788
 
12532
- var __extends$9 = (undefined && undefined.__extends) || (function () {
12533
- var extendStatics = function (d, b) {
12534
- extendStatics = Object.setPrototypeOf ||
12535
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
12536
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
12537
- return extendStatics(d, b);
12538
- };
12539
- return function (d, b) {
12540
- extendStatics(d, b);
12541
- function __() { this.constructor = d; }
12542
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12543
- };
12544
- })();
12545
- var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
12546
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
12547
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
12548
- 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;
12549
- return c > 3 && r && Object.defineProperty(target, key, r), r;
12550
- };
12789
+ var __extends$9 = (undefined && undefined.__extends) || (function () {
12790
+ var extendStatics = function (d, b) {
12791
+ extendStatics = Object.setPrototypeOf ||
12792
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
12793
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
12794
+ return extendStatics(d, b);
12795
+ };
12796
+ return function (d, b) {
12797
+ extendStatics(d, b);
12798
+ function __() { this.constructor = d; }
12799
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12800
+ };
12801
+ })();
12802
+ var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
12803
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
12804
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
12805
+ 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;
12806
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
12807
+ };
12551
12808
  var CONTROL$1 = 'e-control';
12552
12809
  var ROOT$1 = 'e-sidebar';
12553
12810
  var DOCKER = 'e-dock';
@@ -13217,5 +13474,5 @@ var Sidebar = /** @__PURE__ @class */ (function (_super) {
13217
13474
  * Navigation all modules
13218
13475
  */
13219
13476
 
13220
- export { MenuAnimationSettings, HScroll, VScroll, Item, Toolbar, AccordionActionSettings, AccordionAnimationSettings, AccordionItem, Accordion, ContextMenu, Menu, TabActionSettings, TabAnimationSettings, Header, TabItem, Tab, FieldsSettings, ActionSettings, NodeAnimationSettings, TreeView, Sidebar };
13477
+ export { MenuAnimationSettings, MenuItem, HScroll, VScroll, Item, Toolbar, AccordionActionSettings, AccordionAnimationSettings, AccordionItem, Accordion, ContextMenu, Menu, TabActionSettings, TabAnimationSettings, Header, TabItem, Tab, FieldsSettings, ActionSettings, NodeAnimationSettings, TreeView, Sidebar };
13221
13478
  //# sourceMappingURL=ej2-navigations.es5.js.map