@syncfusion/ej2-navigations 17.3.9-beta → 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 (314) hide show
  1. package/.eslintrc.json +244 -0
  2. package/CHANGELOG.md +898 -800
  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 +325 -170
  7. package/dist/es6/ej2-navigations.es2015.js.map +1 -1
  8. package/dist/es6/ej2-navigations.es5.js +455 -300
  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 -149
  26. package/src/accordion/accordion-model.d.ts +156 -156
  27. package/src/accordion/accordion.d.ts +1 -0
  28. package/src/accordion/accordion.js +40 -41
  29. package/src/common/h-scroll-model.d.ts +5 -5
  30. package/src/common/h-scroll.js +19 -20
  31. package/src/common/menu-base-model.d.ts +157 -157
  32. package/src/common/menu-base.d.ts +19 -0
  33. package/src/common/menu-base.js +94 -24
  34. package/src/common/v-scroll-model.d.ts +5 -5
  35. package/src/common/v-scroll.js +19 -19
  36. package/src/context-menu/context-menu-model.d.ts +15 -15
  37. package/src/context-menu/context-menu.js +19 -19
  38. package/src/menu/menu-model.d.ts +30 -30
  39. package/src/menu/menu.js +19 -19
  40. package/src/sidebar/sidebar-model.d.ts +136 -136
  41. package/src/sidebar/sidebar.js +19 -19
  42. package/src/tab/tab-model.d.ts +215 -215
  43. package/src/tab/tab.d.ts +3 -0
  44. package/src/tab/tab.js +117 -82
  45. package/src/toolbar/toolbar-model.d.ts +175 -175
  46. package/src/toolbar/toolbar.d.ts +1 -0
  47. package/src/toolbar/toolbar.js +30 -24
  48. package/src/treeview/treeview-model.d.ts +323 -323
  49. package/src/treeview/treeview.js +79 -33
  50. package/styles/accordion/_all.scss +2 -2
  51. package/styles/accordion/_bootstrap-dark-definition.scss +69 -69
  52. package/styles/accordion/_bootstrap-definition.scss +76 -76
  53. package/styles/accordion/_bootstrap4-definition.scss +82 -82
  54. package/styles/accordion/_fabric-dark-definition.scss +74 -74
  55. package/styles/accordion/_fabric-definition.scss +78 -78
  56. package/styles/accordion/_highcontrast-definition.scss +106 -106
  57. package/styles/accordion/_highcontrast-light-definition.scss +104 -104
  58. package/styles/accordion/_layout.scss +447 -447
  59. package/styles/accordion/_material-dark-definition.scss +75 -75
  60. package/styles/accordion/_material-definition.scss +72 -72
  61. package/styles/accordion/_theme.scss +479 -479
  62. package/styles/accordion/icons/_bootstrap-dark.scss +17 -17
  63. package/styles/accordion/icons/_bootstrap.scss +17 -17
  64. package/styles/accordion/icons/_bootstrap4.scss +17 -17
  65. package/styles/accordion/icons/_fabric-dark.scss +17 -17
  66. package/styles/accordion/icons/_fabric.scss +17 -17
  67. package/styles/accordion/icons/_highcontrast-light.scss +17 -17
  68. package/styles/accordion/icons/_highcontrast.scss +17 -17
  69. package/styles/accordion/icons/_material-dark.scss +17 -17
  70. package/styles/accordion/icons/_material.scss +17 -17
  71. package/styles/bootstrap-dark.css +7 -9
  72. package/styles/bootstrap.css +7 -9
  73. package/styles/bootstrap4.css +7 -9
  74. package/styles/bootstrap5-dark.css +0 -0
  75. package/styles/bootstrap5-dark.scss +0 -0
  76. package/styles/bootstrap5.css +0 -0
  77. package/styles/bootstrap5.scss +0 -0
  78. package/styles/context-menu/_all.scss +2 -2
  79. package/styles/context-menu/_bootstrap-dark-definition.scss +54 -54
  80. package/styles/context-menu/_bootstrap-definition.scss +52 -52
  81. package/styles/context-menu/_bootstrap4-definition.scss +52 -52
  82. package/styles/context-menu/_fabric-dark-definition.scss +54 -54
  83. package/styles/context-menu/_fabric-definition.scss +52 -52
  84. package/styles/context-menu/_highcontrast-definition.scss +52 -52
  85. package/styles/context-menu/_highcontrast-light-definition.scss +54 -54
  86. package/styles/context-menu/_layout-mixin.scss +175 -175
  87. package/styles/context-menu/_layout.scss +70 -70
  88. package/styles/context-menu/_material-dark-definition.scss +54 -54
  89. package/styles/context-menu/_material-definition.scss +52 -52
  90. package/styles/context-menu/_theme-mixin.scss +59 -59
  91. package/styles/context-menu/_theme.scss +36 -36
  92. package/styles/context-menu/bootstrap-dark.css +0 -1
  93. package/styles/context-menu/bootstrap.css +0 -1
  94. package/styles/context-menu/bootstrap4.css +0 -1
  95. package/styles/context-menu/fabric-dark.css +0 -1
  96. package/styles/context-menu/fabric.css +0 -1
  97. package/styles/context-menu/highcontrast-light.css +0 -1
  98. package/styles/context-menu/highcontrast.css +0 -1
  99. package/styles/context-menu/icons/_bootstrap-dark.scss +30 -30
  100. package/styles/context-menu/icons/_bootstrap.scss +30 -30
  101. package/styles/context-menu/icons/_bootstrap4.scss +30 -30
  102. package/styles/context-menu/icons/_fabric-dark.scss +30 -30
  103. package/styles/context-menu/icons/_fabric.scss +30 -30
  104. package/styles/context-menu/icons/_highcontrast-light.scss +30 -30
  105. package/styles/context-menu/icons/_highcontrast.scss +30 -30
  106. package/styles/context-menu/icons/_material-dark.scss +30 -30
  107. package/styles/context-menu/icons/_material.scss +30 -30
  108. package/styles/context-menu/material-dark.css +0 -1
  109. package/styles/context-menu/material.css +3 -4
  110. package/styles/fabric-dark.css +7 -9
  111. package/styles/fabric.css +7 -9
  112. package/styles/h-scroll/_all.scss +2 -2
  113. package/styles/h-scroll/_bootstrap-dark-definition.scss +49 -49
  114. package/styles/h-scroll/_bootstrap-definition.scss +50 -50
  115. package/styles/h-scroll/_bootstrap4-definition.scss +49 -49
  116. package/styles/h-scroll/_fabric-dark-definition.scss +50 -50
  117. package/styles/h-scroll/_fabric-definition.scss +48 -48
  118. package/styles/h-scroll/_highcontrast-definition.scss +52 -52
  119. package/styles/h-scroll/_highcontrast-light-definition.scss +54 -54
  120. package/styles/h-scroll/_layout.scss +198 -198
  121. package/styles/h-scroll/_material-dark-definition.scss +77 -77
  122. package/styles/h-scroll/_material-definition.scss +77 -77
  123. package/styles/h-scroll/_theme.scss +157 -157
  124. package/styles/h-scroll/icons/_bootstrap-dark.scss +49 -49
  125. package/styles/h-scroll/icons/_bootstrap.scss +49 -49
  126. package/styles/h-scroll/icons/_bootstrap4.scss +49 -49
  127. package/styles/h-scroll/icons/_fabric-dark.scss +49 -49
  128. package/styles/h-scroll/icons/_fabric.scss +49 -49
  129. package/styles/h-scroll/icons/_highcontrast-light.scss +49 -49
  130. package/styles/h-scroll/icons/_highcontrast.scss +49 -49
  131. package/styles/h-scroll/icons/_material-dark.scss +49 -49
  132. package/styles/h-scroll/icons/_material.scss +49 -49
  133. package/styles/highcontrast-light.css +7 -9
  134. package/styles/highcontrast.css +7 -9
  135. package/styles/material-dark.css +7 -9
  136. package/styles/material.css +21 -14
  137. package/styles/menu/_all.scss +2 -2
  138. package/styles/menu/_bootstrap-dark-definition.scss +63 -63
  139. package/styles/menu/_bootstrap-definition.scss +65 -65
  140. package/styles/menu/_bootstrap4-definition.scss +64 -64
  141. package/styles/menu/_fabric-dark-definition.scss +63 -63
  142. package/styles/menu/_fabric-definition.scss +64 -64
  143. package/styles/menu/_highcontrast-definition.scss +65 -65
  144. package/styles/menu/_highcontrast-light-definition.scss +61 -61
  145. package/styles/menu/_layout.scss +638 -638
  146. package/styles/menu/_material-dark-definition.scss +63 -63
  147. package/styles/menu/_material-definition.scss +64 -64
  148. package/styles/menu/_theme.scss +243 -243
  149. package/styles/menu/bootstrap-dark.css +0 -1
  150. package/styles/menu/bootstrap.css +0 -1
  151. package/styles/menu/bootstrap.scss +1 -0
  152. package/styles/menu/bootstrap4.css +0 -1
  153. package/styles/menu/fabric-dark.css +0 -1
  154. package/styles/menu/fabric.css +0 -1
  155. package/styles/menu/fabric.scss +1 -0
  156. package/styles/menu/highcontrast-light.css +0 -1
  157. package/styles/menu/highcontrast.css +0 -1
  158. package/styles/menu/highcontrast.scss +1 -0
  159. package/styles/menu/icons/_bootstrap-dark.scss +127 -127
  160. package/styles/menu/icons/_bootstrap.scss +127 -127
  161. package/styles/menu/icons/_bootstrap4.scss +127 -127
  162. package/styles/menu/icons/_fabric-dark.scss +127 -127
  163. package/styles/menu/icons/_fabric.scss +127 -127
  164. package/styles/menu/icons/_highcontrast-light.scss +127 -127
  165. package/styles/menu/icons/_highcontrast.scss +127 -127
  166. package/styles/menu/icons/_material-dark.scss +127 -127
  167. package/styles/menu/icons/_material.scss +127 -127
  168. package/styles/menu/material-dark.css +0 -1
  169. package/styles/menu/material.css +2 -3
  170. package/styles/menu/material.scss +1 -0
  171. package/styles/sidebar/_all.scss +3 -3
  172. package/styles/sidebar/_bootstrap-dark-definition.scss +4 -4
  173. package/styles/sidebar/_bootstrap-definition.scss +4 -4
  174. package/styles/sidebar/_bootstrap4-definition.scss +4 -4
  175. package/styles/sidebar/_fabric-dark-definition.scss +4 -4
  176. package/styles/sidebar/_fabric-definition.scss +6 -6
  177. package/styles/sidebar/_highcontrast-definition.scss +4 -4
  178. package/styles/sidebar/_highcontrast-light-definition.scss +4 -4
  179. package/styles/sidebar/_icons.scss +1 -1
  180. package/styles/sidebar/_material-dark-definition.scss +4 -4
  181. package/styles/sidebar/_material-definition.scss +6 -6
  182. package/styles/sidebar/_theme.scss +168 -168
  183. package/styles/sidebar/bootstrap-dark.css +0 -1
  184. package/styles/sidebar/bootstrap.css +0 -1
  185. package/styles/sidebar/bootstrap4.css +0 -1
  186. package/styles/sidebar/fabric-dark.css +0 -1
  187. package/styles/sidebar/fabric.css +0 -1
  188. package/styles/sidebar/highcontrast-light.css +0 -1
  189. package/styles/sidebar/highcontrast.css +0 -1
  190. package/styles/sidebar/material-dark.css +0 -1
  191. package/styles/sidebar/material.css +0 -1
  192. package/styles/tab/_all.scss +2 -2
  193. package/styles/tab/_bootstrap-dark-definition.scss +386 -386
  194. package/styles/tab/_bootstrap-definition.scss +396 -396
  195. package/styles/tab/_bootstrap4-definition.scss +401 -401
  196. package/styles/tab/_fabric-dark-definition.scss +394 -394
  197. package/styles/tab/_fabric-definition.scss +410 -410
  198. package/styles/tab/_highcontrast-definition.scss +434 -434
  199. package/styles/tab/_highcontrast-light-definition.scss +423 -423
  200. package/styles/tab/_icons.scss +43 -43
  201. package/styles/tab/_layout.scss +3528 -3521
  202. package/styles/tab/_material-dark-definition.scss +407 -407
  203. package/styles/tab/_material-definition.scss +416 -416
  204. package/styles/tab/_theme.scss +1751 -1751
  205. package/styles/tab/bootstrap-dark.css +7 -2
  206. package/styles/tab/bootstrap.css +7 -2
  207. package/styles/tab/bootstrap4.css +7 -2
  208. package/styles/tab/fabric-dark.css +7 -2
  209. package/styles/tab/fabric.css +7 -2
  210. package/styles/tab/highcontrast-light.css +7 -2
  211. package/styles/tab/highcontrast.css +7 -2
  212. package/styles/tab/icons/_bootstrap-dark.scss +132 -132
  213. package/styles/tab/icons/_bootstrap.scss +132 -132
  214. package/styles/tab/icons/_bootstrap4.scss +132 -132
  215. package/styles/tab/icons/_fabric-dark.scss +132 -132
  216. package/styles/tab/icons/_fabric.scss +132 -132
  217. package/styles/tab/icons/_highcontrast-light.scss +132 -132
  218. package/styles/tab/icons/_highcontrast.scss +132 -132
  219. package/styles/tab/icons/_material-dark.scss +132 -132
  220. package/styles/tab/icons/_material.scss +132 -132
  221. package/styles/tab/material-dark.css +7 -2
  222. package/styles/tab/material.css +7 -2
  223. package/styles/tailwind-dark.css +0 -0
  224. package/styles/tailwind-dark.scss +0 -0
  225. package/styles/tailwind.css +0 -0
  226. package/styles/tailwind.scss +0 -0
  227. package/styles/toolbar/_all.scss +2 -2
  228. package/styles/toolbar/_bootstrap-dark-definition.scss +135 -135
  229. package/styles/toolbar/_bootstrap-definition.scss +134 -134
  230. package/styles/toolbar/_bootstrap4-definition.scss +139 -139
  231. package/styles/toolbar/_fabric-dark-definition.scss +155 -155
  232. package/styles/toolbar/_fabric-definition.scss +139 -139
  233. package/styles/toolbar/_highcontrast-definition.scss +149 -149
  234. package/styles/toolbar/_highcontrast-light-definition.scss +164 -164
  235. package/styles/toolbar/_layout.scss +1460 -1460
  236. package/styles/toolbar/_material-dark-definition.scss +180 -180
  237. package/styles/toolbar/_material-definition.scss +164 -164
  238. package/styles/toolbar/_theme.scss +451 -451
  239. package/styles/toolbar/bootstrap-dark.css +0 -1
  240. package/styles/toolbar/bootstrap.css +0 -1
  241. package/styles/toolbar/bootstrap.scss +1 -0
  242. package/styles/toolbar/bootstrap4.css +0 -1
  243. package/styles/toolbar/fabric-dark.css +0 -1
  244. package/styles/toolbar/fabric.css +0 -1
  245. package/styles/toolbar/fabric.scss +1 -0
  246. package/styles/toolbar/highcontrast-light.css +0 -1
  247. package/styles/toolbar/highcontrast.css +0 -1
  248. package/styles/toolbar/highcontrast.scss +1 -0
  249. package/styles/toolbar/icons/_bootstrap-dark.scss +16 -16
  250. package/styles/toolbar/icons/_bootstrap.scss +16 -16
  251. package/styles/toolbar/icons/_bootstrap4.scss +16 -16
  252. package/styles/toolbar/icons/_fabric-dark.scss +16 -16
  253. package/styles/toolbar/icons/_fabric.scss +16 -16
  254. package/styles/toolbar/icons/_highcontrast-light.scss +16 -16
  255. package/styles/toolbar/icons/_highcontrast.scss +16 -16
  256. package/styles/toolbar/icons/_material-dark.scss +16 -16
  257. package/styles/toolbar/icons/_material.scss +16 -16
  258. package/styles/toolbar/material-dark.css +0 -1
  259. package/styles/toolbar/material.css +0 -1
  260. package/styles/toolbar/material.scss +1 -0
  261. package/styles/treeview/_all.scss +2 -2
  262. package/styles/treeview/_bootstrap-dark-definition.scss +131 -131
  263. package/styles/treeview/_bootstrap-definition.scss +127 -127
  264. package/styles/treeview/_bootstrap4-definition.scss +153 -153
  265. package/styles/treeview/_fabric-dark-definition.scss +130 -130
  266. package/styles/treeview/_fabric-definition.scss +126 -126
  267. package/styles/treeview/_highcontrast-definition.scss +132 -132
  268. package/styles/treeview/_highcontrast-light-definition.scss +137 -137
  269. package/styles/treeview/_layout.scss +551 -551
  270. package/styles/treeview/_material-dark-definition.scss +126 -126
  271. package/styles/treeview/_material-definition.scss +126 -126
  272. package/styles/treeview/_theme.scss +331 -331
  273. package/styles/treeview/bootstrap-dark.css +0 -3
  274. package/styles/treeview/bootstrap.css +0 -3
  275. package/styles/treeview/bootstrap4.css +0 -3
  276. package/styles/treeview/fabric-dark.css +0 -3
  277. package/styles/treeview/fabric.css +0 -3
  278. package/styles/treeview/highcontrast-light.css +0 -3
  279. package/styles/treeview/highcontrast.css +0 -3
  280. package/styles/treeview/icons/_bootstrap-dark.scss +39 -39
  281. package/styles/treeview/icons/_bootstrap.scss +39 -39
  282. package/styles/treeview/icons/_bootstrap4.scss +39 -39
  283. package/styles/treeview/icons/_fabric-dark.scss +43 -43
  284. package/styles/treeview/icons/_fabric.scss +43 -43
  285. package/styles/treeview/icons/_highcontrast-light.scss +43 -43
  286. package/styles/treeview/icons/_highcontrast.scss +43 -43
  287. package/styles/treeview/icons/_material-dark.scss +43 -43
  288. package/styles/treeview/icons/_material.scss +43 -43
  289. package/styles/treeview/material-dark.css +0 -3
  290. package/styles/treeview/material.css +9 -3
  291. package/styles/v-scroll/_all.scss +2 -2
  292. package/styles/v-scroll/_bootstrap-dark-definition.scss +50 -50
  293. package/styles/v-scroll/_bootstrap-definition.scss +49 -49
  294. package/styles/v-scroll/_bootstrap4-definition.scss +49 -49
  295. package/styles/v-scroll/_fabric-dark-definition.scss +51 -51
  296. package/styles/v-scroll/_fabric-definition.scss +50 -50
  297. package/styles/v-scroll/_highcontrast-definition.scss +51 -51
  298. package/styles/v-scroll/_highcontrast-light-definition.scss +52 -52
  299. package/styles/v-scroll/_layout.scss +162 -162
  300. package/styles/v-scroll/_material-dark-definition.scss +78 -78
  301. package/styles/v-scroll/_material-definition.scss +77 -77
  302. package/styles/v-scroll/_theme.scss +133 -133
  303. package/styles/v-scroll/icons/_bootstrap-dark.scss +26 -26
  304. package/styles/v-scroll/icons/_bootstrap.scss +26 -26
  305. package/styles/v-scroll/icons/_bootstrap4.scss +26 -26
  306. package/styles/v-scroll/icons/_fabric-dark.scss +26 -26
  307. package/styles/v-scroll/icons/_fabric.scss +26 -26
  308. package/styles/v-scroll/icons/_highcontrast-light.scss +26 -26
  309. package/styles/v-scroll/icons/_highcontrast.scss +26 -26
  310. package/styles/v-scroll/icons/_material-dark.scss +26 -26
  311. package/styles/v-scroll/icons/_material.scss +26 -26
  312. package/tslint.json +111 -0
  313. package/.gitlab/merge_request_templates/Bug.md +0 -63
  314. package/.gitlab/merge_request_templates/feature.md +0 -39
@@ -1,4 +1,4 @@
1
- import { Component, EventHandler, Property, Event, EmitType, AnimationModel, KeyboardEvents, rippleEffect } from '@syncfusion/ej2-base';import { KeyboardEventArgs, BaseEventArgs, Effect, getUniqueID, compile as templateCompiler } from '@syncfusion/ej2-base';import { isVisible, closest, attributes, detach, select, isBlazor, addClass, append } from '@syncfusion/ej2-base';import { INotifyPropertyChanged, NotifyPropertyChanges, ChildProperty, Collection, Animation } from '@syncfusion/ej2-base';import { setStyleAttribute as setStyle, Complex, updateBlazorTemplate } from '@syncfusion/ej2-base';import { isNullOrUndefined as isNOU, formatUnit, selectAll } from '@syncfusion/ej2-base';
1
+ import { Component, EventHandler, Property, Event, EmitType, AnimationModel, KeyboardEvents, rippleEffect } from '@syncfusion/ej2-base';
2
2
  import {ExpandMode,AccordionClickArgs,ExpandEventArgs,ExpandedEventArgs} from "./accordion";
3
3
  import {ComponentModel} from '@syncfusion/ej2-base';
4
4
 
@@ -8,24 +8,24 @@ import {ComponentModel} from '@syncfusion/ej2-base';
8
8
  export interface AccordionActionSettingsModel {
9
9
 
10
10
  /**
11
- * Specifies the type of animation.
12
- * @default 'SlideDown'
13
- * @aspType string
14
- * @blazorType string
15
- */
16
- effect?: 'None' | Effect;
11
+ * Specifies the type of animation.
12
+ * @default 'SlideDown'
13
+ * @aspType string
14
+ * @blazorType string
15
+ */
16
+ effect?: 'None' | Effect;
17
17
 
18
18
  /**
19
- * Specifies the duration to animate.
20
- * @default 400
21
- */
22
- duration?: number;
19
+ * Specifies the duration to animate.
20
+ * @default 400
21
+ */
22
+ duration?: number;
23
23
 
24
24
  /**
25
- * Specifies the animation timing function.
26
- * @default 'linear'
27
- */
28
- easing?: string;
25
+ * Specifies the animation timing function.
26
+ * @default 'linear'
27
+ */
28
+ easing?: string;
29
29
 
30
30
  }
31
31
 
@@ -35,16 +35,16 @@ export interface AccordionActionSettingsModel {
35
35
  export interface AccordionAnimationSettingsModel {
36
36
 
37
37
  /**
38
- * Specifies the animation to appear while collapsing the Accordion item.
39
- * @default { effect: 'SlideDown', duration: 400, easing: 'linear' }
40
- */
41
- collapse?: AccordionActionSettingsModel;
38
+ * Specifies the animation to appear while collapsing the Accordion item.
39
+ * @default { effect: 'SlideDown', duration: 400, easing: 'linear' }
40
+ */
41
+ collapse?: AccordionActionSettingsModel;
42
42
 
43
43
  /**
44
- * Specifies the animation to appear while expanding the Accordion item.
45
- * @default { effect: 'SlideDown', duration: 400, easing: 'linear' }
46
- */
47
- expand?: AccordionActionSettingsModel;
44
+ * Specifies the animation to appear while expanding the Accordion item.
45
+ * @default { effect: 'SlideDown', duration: 400, easing: 'linear' }
46
+ */
47
+ expand?: AccordionActionSettingsModel;
48
48
 
49
49
  }
50
50
 
@@ -54,70 +54,70 @@ export interface AccordionAnimationSettingsModel {
54
54
  export interface AccordionItemModel {
55
55
 
56
56
  /**
57
- * Sets the text content to be displayed for the Accordion item.
58
- * You can set the content of the Accordion item using `content` property.
59
- * It also supports to include the title as `HTML element`, `string`, or `query selector`.
60
- * ```typescript
61
- * let accordionObj: Accordion = new Accordion( {
62
- * items: [
63
- * { header: 'Accordion Header', content: 'Accordion Content' },
64
- * { header: '<div>Accordion Header</div>', content: '<div>Accordion Content</div' },
65
- * { header: '#headerContent', content: '#panelContent' }]
66
- * });
67
- * accordionObj.appendTo('#accordion');
68
- * ```
69
- * @default null
70
- */
71
- content?: string;
72
-
73
- /**
74
- * Sets the header text to be displayed for the Accordion item.
75
- * You can set the title of the Accordion item using `header` property.
76
- * It also supports to include the title as `HTML element`, `string`, or `query selector`.
77
- * ```typescript
78
- * let accordionObj: Accordion = new Accordion( {
79
- * items: [
80
- * { header: 'Accordion Header', content: 'Accordion Content' },
81
- * { header: '<div>Accordion Header</div>', content: '<div>Accordion Content</div' },
82
- * { header: '#headerContent', content: '#panelContent' }]
83
- * });
84
- * accordionObj.appendTo('#accordion');
85
- * ```
86
- * @default null
87
- */
88
- header?: string;
89
-
90
- /**
91
- * Defines single/multiple classes (separated by a space) are to be used for Accordion item customization.
92
- * @default null
93
- */
94
- cssClass?: string;
95
-
96
- /**
97
- * Defines an icon with the given custom CSS class that is to be rendered before the header text.
98
- * Add the css classes to the `iconCss` property and write the css styles to the defined class to set images/icons.
99
- * Adding icon is applicable only to the header.
100
- * ```typescript
101
- * let accordionObj: Accordion = new Accordion( {
102
- * items: [
103
- * { header: 'Accordion Header', iconCss: 'e-app-icon' }]
104
- * });
105
- * accordionObj.appendTo('#accordion');
106
- * ```
107
- * ```css
108
- * .e-app-icon::before {
109
- * content: "\e710";
110
- * }
111
- * ```
112
- * @default null
113
- */
114
- iconCss?: string;
115
-
116
- /**
117
- * Sets the expand (true) or collapse (false) state of the Accordion item. By default, all the items are in a collapsed state.
118
- * @default false
119
- */
120
- expanded?: Boolean;
57
+ * Sets the text content to be displayed for the Accordion item.
58
+ * You can set the content of the Accordion item using `content` property.
59
+ * It also supports to include the title as `HTML element`, `string`, or `query selector`.
60
+ * ```typescript
61
+ * let accordionObj: Accordion = new Accordion( {
62
+ * items: [
63
+ * { header: 'Accordion Header', content: 'Accordion Content' },
64
+ * { header: '<div>Accordion Header</div>', content: '<div>Accordion Content</div' },
65
+ * { header: '#headerContent', content: '#panelContent' }]
66
+ * });
67
+ * accordionObj.appendTo('#accordion');
68
+ * ```
69
+ * @default null
70
+ */
71
+ content?: string;
72
+
73
+ /**
74
+ * Sets the header text to be displayed for the Accordion item.
75
+ * You can set the title of the Accordion item using `header` property.
76
+ * It also supports to include the title as `HTML element`, `string`, or `query selector`.
77
+ * ```typescript
78
+ * let accordionObj: Accordion = new Accordion( {
79
+ * items: [
80
+ * { header: 'Accordion Header', content: 'Accordion Content' },
81
+ * { header: '<div>Accordion Header</div>', content: '<div>Accordion Content</div' },
82
+ * { header: '#headerContent', content: '#panelContent' }]
83
+ * });
84
+ * accordionObj.appendTo('#accordion');
85
+ * ```
86
+ * @default null
87
+ */
88
+ header?: string;
89
+
90
+ /**
91
+ * Defines single/multiple classes (separated by a space) are to be used for Accordion item customization.
92
+ * @default null
93
+ */
94
+ cssClass?: string;
95
+
96
+ /**
97
+ * Defines an icon with the given custom CSS class that is to be rendered before the header text.
98
+ * Add the css classes to the `iconCss` property and write the css styles to the defined class to set images/icons.
99
+ * Adding icon is applicable only to the header.
100
+ * ```typescript
101
+ * let accordionObj: Accordion = new Accordion( {
102
+ * items: [
103
+ * { header: 'Accordion Header', iconCss: 'e-app-icon' }]
104
+ * });
105
+ * accordionObj.appendTo('#accordion');
106
+ * ```
107
+ * ```css
108
+ * .e-app-icon::before {
109
+ * content: "\e710";
110
+ * }
111
+ * ```
112
+ * @default null
113
+ */
114
+ iconCss?: string;
115
+
116
+ /**
117
+ * Sets the expand (true) or collapse (false) state of the Accordion item. By default, all the items are in a collapsed state.
118
+ * @default false
119
+ */
120
+ expanded?: Boolean;
121
121
 
122
122
  }
123
123
 
@@ -127,98 +127,98 @@ export interface AccordionItemModel {
127
127
  export interface AccordionModel extends ComponentModel{
128
128
 
129
129
  /**
130
- * An array of item that is used to specify Accordion items.
131
- * ```typescript
132
- * let accordionObj: Accordion = new Accordion( {
133
- * items: [
134
- * { header: 'Accordion Header', content: 'Accordion Content' }]
135
- * });
136
- * accordionObj.appendTo('#accordion');
137
- * ```
138
- * @default []
139
- */
140
- items?: AccordionItemModel[];
130
+ * An array of item that is used to specify Accordion items.
131
+ * ```typescript
132
+ * let accordionObj: Accordion = new Accordion( {
133
+ * items: [
134
+ * { header: 'Accordion Header', content: 'Accordion Content' }]
135
+ * });
136
+ * accordionObj.appendTo('#accordion');
137
+ * ```
138
+ * @default []
139
+ */
140
+ items?: AccordionItemModel[];
141
141
 
142
142
  /**
143
- * Specifies the datasource for the accordion items.
144
- * @isdatamanager false
145
- * @default []
146
- */
147
- dataSource?: Object[];
143
+ * Specifies the datasource for the accordion items.
144
+ * @isdatamanager false
145
+ * @default []
146
+ */
147
+ dataSource?: Object[];
148
148
 
149
149
  /**
150
- * Specifies the template option for accordion items.
151
- * @default null
152
- */
153
- itemTemplate?: string;
150
+ * Specifies the template option for accordion items.
151
+ * @default null
152
+ */
153
+ itemTemplate?: string;
154
154
 
155
155
  /**
156
- * Specifies the header title template option for accordion items.
157
- * @default null
158
- */
159
- headerTemplate?: string;
156
+ * Specifies the header title template option for accordion items.
157
+ * @default null
158
+ */
159
+ headerTemplate?: string;
160
160
 
161
161
  /**
162
- * Specifies the width of the Accordion in pixels/number/percentage. Number value is considered as pixels.
163
- * @default '100%'
164
- */
165
- width?: string | number;
162
+ * Specifies the width of the Accordion in pixels/number/percentage. Number value is considered as pixels.
163
+ * @default '100%'
164
+ */
165
+ width?: string | number;
166
166
 
167
167
  /**
168
- * Specifies the height of the Accordion in pixels/number/percentage. Number value is considered as pixels.
169
- * @default 'auto'
170
- */
171
- height?: string | number;
168
+ * Specifies the height of the Accordion in pixels/number/percentage. Number value is considered as pixels.
169
+ * @default 'auto'
170
+ */
171
+ height?: string | number;
172
172
 
173
173
  /**
174
- * Specifies the options to expand single or multiple panel at a time.
175
- * The possible values are:
176
- * - Single: Sets to expand only one Accordion item at a time.
177
- * - Multiple: Sets to expand more than one Accordion item at a time.
178
- * @default 'Multiple'
179
- */
180
- expandMode?: ExpandMode;
174
+ * Specifies the options to expand single or multiple panel at a time.
175
+ * The possible values are:
176
+ * - Single: Sets to expand only one Accordion item at a time.
177
+ * - Multiple: Sets to expand more than one Accordion item at a time.
178
+ * @default 'Multiple'
179
+ */
180
+ expandMode?: ExpandMode;
181
181
 
182
182
  /**
183
- * Specifies the animation configuration settings for expanding and collapsing the panel.
184
- * @default { expand: { effect: 'SlideDown', duration: 400, easing: 'linear' },
185
- * collapse: { effect: 'SlideUp', duration: 400, easing: 'linear' }}
186
- */
187
- animation?: AccordionAnimationSettingsModel;
183
+ * Specifies the animation configuration settings for expanding and collapsing the panel.
184
+ * @default { expand: { effect: 'SlideDown', duration: 400, easing: 'linear' },
185
+ * collapse: { effect: 'SlideUp', duration: 400, easing: 'linear' }}
186
+ */
187
+ animation?: AccordionAnimationSettingsModel;
188
188
 
189
189
  /**
190
- * The event will be fired while clicking anywhere within the Accordion.
191
- * @event
192
- * @blazorProperty 'Clicked'
193
- */
194
- clicked?: EmitType<AccordionClickArgs>;
190
+ * The event will be fired while clicking anywhere within the Accordion.
191
+ * @event
192
+ * @blazorProperty 'Clicked'
193
+ */
194
+ clicked?: EmitType<AccordionClickArgs>;
195
195
 
196
196
  /**
197
- * The event will be fired before the item gets collapsed/expanded.
198
- * @event
199
- * @blazorProperty 'Expanding'
200
- */
201
- expanding?: EmitType<ExpandEventArgs>;
197
+ * The event will be fired before the item gets collapsed/expanded.
198
+ * @event
199
+ * @blazorProperty 'Expanding'
200
+ */
201
+ expanding?: EmitType<ExpandEventArgs>;
202
202
 
203
203
  /**
204
- * The event will be fired after the item gets collapsed/expanded.
205
- * @event
206
- * @blazorProperty 'Expanded'
207
- */
208
- expanded?: EmitType<ExpandedEventArgs>;
204
+ * The event will be fired after the item gets collapsed/expanded.
205
+ * @event
206
+ * @blazorProperty 'Expanded'
207
+ */
208
+ expanded?: EmitType<ExpandedEventArgs>;
209
209
 
210
210
  /**
211
- * The event will be fired once the control rendering is completed.
212
- * @event
213
- * @blazorProperty 'Created'
214
- */
215
- created?: EmitType<Event>;
211
+ * The event will be fired once the control rendering is completed.
212
+ * @event
213
+ * @blazorProperty 'Created'
214
+ */
215
+ created?: EmitType<Event>;
216
216
 
217
217
  /**
218
- * The event will be fired when the control gets destroyed.
219
- * @event
220
- * @blazorProperty 'Destroyed'
221
- */
222
- destroyed?: EmitType<Event>;
218
+ * The event will be fired when the control gets destroyed.
219
+ * @event
220
+ * @blazorProperty 'Destroyed'
221
+ */
222
+ destroyed?: EmitType<Event>;
223
223
 
224
224
  }
@@ -276,6 +276,7 @@ export declare class Accordion extends Component<HTMLElement> implements INotify
276
276
  private getheaderTemplate;
277
277
  private getItemTemplate;
278
278
  private updateContentBlazorTemplate;
279
+ private updateHeaderBlazorTemplate;
279
280
  private focusIn;
280
281
  private focusOut;
281
282
  private ctrlTemplate;
@@ -1,22 +1,22 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- }
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
20
  import { Component, EventHandler, Property, Event, KeyboardEvents, rippleEffect } from '@syncfusion/ej2-base';
21
21
  import { getUniqueID, compile as templateCompiler } from '@syncfusion/ej2-base';
22
22
  import { isVisible, closest, attributes, detach, select, isBlazor, addClass, append } from '@syncfusion/ej2-base';
@@ -270,12 +270,20 @@ var Accordion = /** @class */ (function (_super) {
270
270
  };
271
271
  Accordion.prototype.updateContentBlazorTemplate = function (item, index) {
272
272
  if (this.itemTemplate && isBlazor() && !this.isStringTemplate) {
273
- updateBlazorTemplate(this.element.id + '_itemTemplate', 'ItemTemplate', this);
273
+ updateBlazorTemplate(this.element.id + '_itemTemplate', 'ItemTemplate', this, false);
274
274
  }
275
275
  if (item && item.content && isBlazor() && !this.isStringTemplate && item.content.indexOf('<div>Blazor') === 0) {
276
276
  updateBlazorTemplate(this.element.id + index + '_content', 'ContentTemplate', item);
277
277
  }
278
278
  };
279
+ Accordion.prototype.updateHeaderBlazorTemplate = function (item, index) {
280
+ if (this.headerTemplate && isBlazor() && !this.isStringTemplate) {
281
+ updateBlazorTemplate(this.element.id + '_headerTemplate', 'HeaderTemplate', this, false);
282
+ }
283
+ if (item && item.header && isBlazor() && !this.isStringTemplate && item.header.indexOf('<div>Blazor') === 0) {
284
+ updateBlazorTemplate(this.element.id + index + '_header', 'HeaderTemplate', item);
285
+ }
286
+ };
279
287
  Accordion.prototype.focusIn = function (e) {
280
288
  e.target.parentElement.classList.add(CLS_ITEMFOCUS);
281
289
  };
@@ -347,9 +355,7 @@ var Accordion = /** @class */ (function (_super) {
347
355
  EventHandler.add(innerDataSourceItem.querySelector('.' + CLS_HEADER), 'blur', _this.focusOut, _this);
348
356
  }
349
357
  });
350
- if (this.headerTemplate && isBlazor() && !this.isStringTemplate) {
351
- updateBlazorTemplate(this.element.id + '_headerTemplate', 'headerTemplate', this);
352
- }
358
+ this.updateHeaderBlazorTemplate();
353
359
  }
354
360
  else {
355
361
  var items = this.items;
@@ -357,9 +363,7 @@ var Accordion = /** @class */ (function (_super) {
357
363
  items.forEach(function (item, index) {
358
364
  innerItem = _this.renderInnerItem(item, index);
359
365
  ele.appendChild(innerItem);
360
- if (item.header && isBlazor() && !_this.isStringTemplate && item.header.indexOf('<div>Blazor') === 0) {
361
- updateBlazorTemplate(_this.element.id + index + '_header', 'HeaderTemplate', item);
362
- }
366
+ _this.updateHeaderBlazorTemplate(item, index);
363
367
  if (innerItem.childElementCount > 0) {
364
368
  EventHandler.add(innerItem.querySelector('.' + CLS_HEADER), 'focus', _this.focusIn, _this);
365
369
  EventHandler.add(innerItem.querySelector('.' + CLS_HEADER), 'blur', _this.focusOut, _this);
@@ -405,18 +409,8 @@ var Accordion = /** @class */ (function (_super) {
405
409
  eventArgs.originalEvent = e;
406
410
  var ctnCheck = !isNOU(tglIcon) && acrdnItem.childElementCount <= 1;
407
411
  if (ctnCheck && (isNOU(acrdnCtn) || !isNOU(select('.' + CLS_HEADER + ' .' + CLS_TOOGLEICN, acrdnCtnItem)))) {
408
- if (this.dataSource.length > 0) {
409
- this.dataSource.forEach(function (item, index) {
410
- var itemEle = _this.getItemElements();
411
- var ele = itemEle[index];
412
- var ctn = _this.contentRendering(index);
413
- ele.appendChild(ctn);
414
- });
415
- this.updateContentBlazorTemplate(eventArgs.item, index);
416
- }
417
- else {
418
- acrdnItem.appendChild(this.contentRendering(index));
419
- }
412
+ acrdnItem.appendChild(this.contentRendering(index));
413
+ this.updateContentBlazorTemplate(eventArgs.item, index);
420
414
  this.ariaAttrUpdate(acrdnItem);
421
415
  }
422
416
  this.trigger('clicked', eventArgs);
@@ -525,7 +519,7 @@ var Accordion = /** @class */ (function (_super) {
525
519
  var header = this.createElement('div', { className: CLS_HEADER, id: getUniqueID('acrdn_header') });
526
520
  var items = this.getItems();
527
521
  var ariaAttr = {
528
- 'tabindex': '0', 'role': 'heading', 'aria-expanded': 'false', 'aria-selected': 'false',
522
+ 'tabindex': '0', 'role': 'heading', 'aria-selected': 'false',
529
523
  'aria-disabled': 'false', 'aria-level': items.length.toString()
530
524
  };
531
525
  attributes(header, ariaAttr);
@@ -535,6 +529,7 @@ var Accordion = /** @class */ (function (_super) {
535
529
  var innerEle;
536
530
  innerEle = this.createElement('div', { className: CLS_ITEM });
537
531
  innerEle.id = getUniqueID('acrdn_item');
532
+ attributes(innerEle, { 'aria-expanded': 'false' });
538
533
  if (this.headerTemplate) {
539
534
  var ctnEle = this.headerEleGenerate();
540
535
  var hdrEle = this.createElement('div', { className: CLS_HEADERCTN });
@@ -669,6 +664,7 @@ var Accordion = /** @class */ (function (_super) {
669
664
  var content = select('.' + CLS_CONTENT, itemEle);
670
665
  header.setAttribute('aria-controls', content.id);
671
666
  content.setAttribute('aria-labelledby', header.id);
667
+ content.setAttribute('role', 'definition');
672
668
  };
673
669
  Accordion.prototype.contentRendering = function (index) {
674
670
  var itemcnt = this.createElement('div', { className: CLS_CONTENT + ' ' + CLS_CTNHIDE, id: getUniqueID('acrdn_panel') });
@@ -763,7 +759,8 @@ var Accordion = /** @class */ (function (_super) {
763
759
  if (progress === 'end') {
764
760
  this.add(trgtItemEle, CLS_ACTIVE);
765
761
  trgt.setAttribute('aria-hidden', 'false');
766
- attributes(trgt.previousElementSibling, { 'aria-selected': 'true', 'aria-expanded': 'true' });
762
+ attributes(trgtItemEle, { 'aria-expanded': 'true' });
763
+ attributes(trgt.previousElementSibling, { 'aria-selected': 'true' });
767
764
  icon.classList.remove(CLS_TOGANIMATE);
768
765
  this.trigger('expanded', eventArgs);
769
766
  }
@@ -875,7 +872,8 @@ var Accordion = /** @class */ (function (_super) {
875
872
  icon.classList.remove(CLS_TOGANIMATE);
876
873
  this.remove(trgtItemEle, CLS_ACTIVE);
877
874
  trgt.setAttribute('aria-hidden', 'true');
878
- attributes(trgt.previousElementSibling, { 'aria-selected': 'false', 'aria-expanded': 'false' });
875
+ attributes(trgtItemEle, { 'aria-expanded': 'false' });
876
+ attributes(trgt.previousElementSibling, { 'aria-selected': 'false' });
879
877
  this.trigger('expanded', eventArgs);
880
878
  }
881
879
  };
@@ -928,6 +926,7 @@ var Accordion = /** @class */ (function (_super) {
928
926
  else {
929
927
  ele.insertBefore(innerItemEle, itemEle[index]);
930
928
  }
929
+ this.updateHeaderBlazorTemplate();
931
930
  EventHandler.add(innerItemEle.querySelector('.' + CLS_HEADER), 'focus', this.focusIn, this);
932
931
  EventHandler.add(innerItemEle.querySelector('.' + CLS_HEADER), 'blur', this.focusOut, this);
933
932
  this.itemAttribUpdate();
@@ -1,4 +1,4 @@
1
- import { Touch, ScrollEventArgs, TouchEventArgs, Component, EventHandler, selectAll, getUniqueID } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, INotifyPropertyChanged, Property, Browser, detach } from '@syncfusion/ej2-base';import { classList, SwipeEventArgs, isNullOrUndefined} from '@syncfusion/ej2-base';
1
+ import { Touch, ScrollEventArgs, TouchEventArgs, Component, EventHandler, selectAll, getUniqueID } from '@syncfusion/ej2-base';
2
2
  import {ComponentModel} from '@syncfusion/ej2-base';
3
3
 
4
4
  /**
@@ -7,9 +7,9 @@ import {ComponentModel} from '@syncfusion/ej2-base';
7
7
  export interface HScrollModel extends ComponentModel{
8
8
 
9
9
  /**
10
- * Specifies the left or right scrolling distance of the horizontal scrollbar moving.
11
- * @default null
12
- */
13
- scrollStep?: number;
10
+ * Specifies the left or right scrolling distance of the horizontal scrollbar moving.
11
+ * @default null
12
+ */
13
+ scrollStep?: number;
14
14
 
15
15
  }
@@ -1,22 +1,22 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- }
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
20
  import { Touch, Component, EventHandler, selectAll, getUniqueID } from '@syncfusion/ej2-base';
21
21
  import { NotifyPropertyChanges, Property, Browser, detach } from '@syncfusion/ej2-base';
22
22
  import { classList, isNullOrUndefined } from '@syncfusion/ej2-base';
@@ -206,7 +206,6 @@ var HScroll = /** @class */ (function (_super) {
206
206
  var navLeftItem = this.createElement('div', { className: CLS_NAVLEFTARROW + ' ' + CLS_NAVARROW + ' e-icons' });
207
207
  navEle.appendChild(navLeftItem);
208
208
  nav.appendChild(navItem);
209
- nav.setAttribute('tabindex', '0');
210
209
  element.appendChild(nav);
211
210
  element.insertBefore(navEle, element.firstChild);
212
211
  if (this.ieCheck) {