@syncfusion/ej2-navigations 19.2.59 → 19.3.44

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 (292) hide show
  1. package/.eslintrc.json +1 -1
  2. package/CHANGELOG.md +32 -0
  3. package/README.md +15 -0
  4. package/breadcrumb.d.ts +4 -0
  5. package/breadcrumb.js +4 -0
  6. package/dist/ej2-navigations.umd.min.js +2 -2
  7. package/dist/ej2-navigations.umd.min.js.map +1 -1
  8. package/dist/es6/ej2-navigations.es2015.js +545 -170
  9. package/dist/es6/ej2-navigations.es2015.js.map +1 -1
  10. package/dist/es6/ej2-navigations.es5.js +567 -172
  11. package/dist/es6/ej2-navigations.es5.js.map +1 -1
  12. package/dist/global/ej2-navigations.min.js +2 -2
  13. package/dist/global/ej2-navigations.min.js.map +1 -1
  14. package/dist/global/index.d.ts +1 -1
  15. package/package.json +13 -12
  16. package/src/accordion/accordion.d.ts +2 -8
  17. package/src/accordion/accordion.js +16 -85
  18. package/src/breadcrumb/breadcrumb-model.d.ts +147 -0
  19. package/src/breadcrumb/breadcrumb.d.ts +232 -0
  20. package/src/breadcrumb/breadcrumb.js +497 -0
  21. package/src/breadcrumb/index.d.ts +5 -0
  22. package/src/breadcrumb/index.js +4 -0
  23. package/src/index.d.ts +1 -0
  24. package/src/index.js +1 -0
  25. package/src/sidebar/sidebar.js +2 -2
  26. package/src/tab/tab-model.d.ts +1 -1
  27. package/src/tab/tab.d.ts +1 -1
  28. package/src/tab/tab.js +50 -84
  29. package/src/toolbar/toolbar.js +1 -1
  30. package/styles/accordion/_bootstrap5-dark-definition.scss +1 -0
  31. package/styles/accordion/_bootstrap5-definition.scss +81 -0
  32. package/styles/accordion/_fabric-dark-definition.scss +1 -0
  33. package/styles/accordion/_fabric-definition.scss +1 -0
  34. package/styles/accordion/_highcontrast-definition.scss +1 -1
  35. package/styles/accordion/_layout.scss +6 -8
  36. package/styles/accordion/_tailwind-dark-definition.scss +1 -77
  37. package/styles/accordion/_tailwind-definition.scss +79 -79
  38. package/styles/accordion/_theme.scss +57 -17
  39. package/styles/accordion/bootstrap5-dark.css +428 -0
  40. package/styles/accordion/bootstrap5-dark.scss +4 -0
  41. package/styles/accordion/bootstrap5.css +428 -0
  42. package/styles/accordion/bootstrap5.scss +4 -0
  43. package/styles/accordion/highcontrast-light.css +0 -1
  44. package/styles/accordion/highcontrast.css +0 -1
  45. package/styles/accordion/icons/_bootstrap4.scss +1 -1
  46. package/styles/accordion/icons/_bootstrap5-dark.scss +1 -0
  47. package/styles/accordion/icons/_bootstrap5.scss +18 -0
  48. package/styles/accordion/icons/_tailwind-dark.scss +1 -17
  49. package/styles/accordion/icons/_tailwind.scss +17 -17
  50. package/styles/accordion/material-dark.css +2 -2
  51. package/styles/accordion/tailwind-dark.css +1 -1
  52. package/styles/bootstrap-dark.css +352 -60
  53. package/styles/bootstrap-dark.scss +1 -0
  54. package/styles/bootstrap.css +349 -57
  55. package/styles/bootstrap.scss +1 -0
  56. package/styles/bootstrap4.css +351 -60
  57. package/styles/bootstrap4.scss +1 -0
  58. package/styles/bootstrap5-dark.css +9922 -0
  59. package/styles/bootstrap5-dark.scss +10 -0
  60. package/styles/bootstrap5.css +9922 -0
  61. package/styles/bootstrap5.scss +10 -0
  62. package/styles/breadcrumb/_all.scss +2 -0
  63. package/styles/breadcrumb/_bootstrap-dark-definition.scss +41 -0
  64. package/styles/breadcrumb/_bootstrap-definition.scss +41 -0
  65. package/styles/breadcrumb/_bootstrap4-definition.scss +41 -0
  66. package/styles/breadcrumb/_bootstrap5-dark-definition.scss +1 -0
  67. package/styles/breadcrumb/_bootstrap5-definition.scss +46 -0
  68. package/styles/breadcrumb/_fabric-dark-definition.scss +46 -0
  69. package/styles/breadcrumb/_fabric-definition.scss +46 -0
  70. package/styles/breadcrumb/_highcontrast-definition.scss +48 -0
  71. package/styles/breadcrumb/_highcontrast-light-definition.scss +48 -0
  72. package/styles/breadcrumb/_layout.scss +291 -0
  73. package/styles/breadcrumb/_material-dark-definition.scss +37 -0
  74. package/styles/breadcrumb/_material-definition.scss +37 -0
  75. package/styles/breadcrumb/_tailwind-dark-definition.scss +47 -0
  76. package/styles/breadcrumb/_tailwind-definition.scss +47 -0
  77. package/styles/breadcrumb/_theme.scss +134 -0
  78. package/styles/breadcrumb/bootstrap-dark.css +279 -0
  79. package/styles/breadcrumb/bootstrap-dark.scss +4 -0
  80. package/styles/breadcrumb/bootstrap.css +279 -0
  81. package/styles/breadcrumb/bootstrap.scss +4 -0
  82. package/styles/breadcrumb/bootstrap4.css +279 -0
  83. package/styles/breadcrumb/bootstrap4.scss +4 -0
  84. package/styles/breadcrumb/bootstrap5-dark.css +297 -0
  85. package/styles/breadcrumb/bootstrap5-dark.scss +4 -0
  86. package/styles/breadcrumb/bootstrap5.css +297 -0
  87. package/styles/breadcrumb/bootstrap5.scss +4 -0
  88. package/styles/breadcrumb/fabric-dark.css +277 -0
  89. package/styles/breadcrumb/fabric-dark.scss +4 -0
  90. package/styles/breadcrumb/fabric.css +277 -0
  91. package/styles/breadcrumb/fabric.scss +4 -0
  92. package/styles/breadcrumb/highcontrast-light.css +285 -0
  93. package/styles/breadcrumb/highcontrast-light.scss +4 -0
  94. package/styles/breadcrumb/highcontrast.css +285 -0
  95. package/styles/breadcrumb/highcontrast.scss +4 -0
  96. package/styles/breadcrumb/icons/_bootstrap-dark.scss +13 -0
  97. package/styles/breadcrumb/icons/_bootstrap.scss +13 -0
  98. package/styles/breadcrumb/icons/_bootstrap4.scss +13 -0
  99. package/styles/breadcrumb/icons/_bootstrap5-dark.scss +1 -0
  100. package/styles/breadcrumb/icons/_bootstrap5.scss +24 -0
  101. package/styles/breadcrumb/icons/_fabric-dark.scss +13 -0
  102. package/styles/breadcrumb/icons/_fabric.scss +13 -0
  103. package/styles/breadcrumb/icons/_highcontrast-light.scss +13 -0
  104. package/styles/breadcrumb/icons/_highcontrast.scss +13 -0
  105. package/styles/breadcrumb/icons/_material-dark.scss +24 -0
  106. package/styles/breadcrumb/icons/_material.scss +24 -0
  107. package/styles/breadcrumb/icons/_tailwind-dark.scss +13 -0
  108. package/styles/breadcrumb/icons/_tailwind.scss +13 -0
  109. package/styles/breadcrumb/material-dark.css +259 -0
  110. package/styles/breadcrumb/material-dark.scss +4 -0
  111. package/styles/breadcrumb/material.css +259 -0
  112. package/styles/breadcrumb/material.scss +4 -0
  113. package/styles/breadcrumb/tailwind-dark.css +280 -0
  114. package/styles/breadcrumb/tailwind-dark.scss +4 -0
  115. package/styles/breadcrumb/tailwind.css +280 -0
  116. package/styles/breadcrumb/tailwind.scss +4 -0
  117. package/styles/context-menu/_bootstrap5-dark-definition.scss +1 -0
  118. package/styles/context-menu/_bootstrap5-definition.scss +52 -0
  119. package/styles/context-menu/_tailwind-dark-definition.scss +1 -53
  120. package/styles/context-menu/_tailwind-definition.scss +52 -51
  121. package/styles/context-menu/bootstrap5-dark.css +382 -0
  122. package/styles/context-menu/bootstrap5-dark.scss +4 -0
  123. package/styles/context-menu/bootstrap5.css +382 -0
  124. package/styles/context-menu/bootstrap5.scss +4 -0
  125. package/styles/context-menu/icons/_bootstrap5-dark.scss +1 -0
  126. package/styles/context-menu/icons/_bootstrap5.scss +32 -0
  127. package/styles/context-menu/icons/_tailwind-dark.scss +32 -32
  128. package/styles/context-menu/icons/_tailwind.scss +32 -32
  129. package/styles/fabric-dark.css +352 -78
  130. package/styles/fabric-dark.scss +1 -0
  131. package/styles/fabric.css +346 -72
  132. package/styles/fabric.scss +1 -0
  133. package/styles/h-scroll/_bootstrap5-dark-definition.scss +1 -0
  134. package/styles/h-scroll/_bootstrap5-definition.scss +78 -0
  135. package/styles/h-scroll/_fabric-dark-definition.scss +1 -1
  136. package/styles/h-scroll/_highcontrast-definition.scss +1 -1
  137. package/styles/h-scroll/_layout.scss +1 -1
  138. package/styles/h-scroll/_tailwind-dark-definition.scss +1 -78
  139. package/styles/h-scroll/bootstrap5-dark.css +328 -0
  140. package/styles/h-scroll/bootstrap5-dark.scss +4 -0
  141. package/styles/h-scroll/bootstrap5.css +328 -0
  142. package/styles/h-scroll/bootstrap5.scss +4 -0
  143. package/styles/h-scroll/fabric-dark.css +1 -1
  144. package/styles/h-scroll/highcontrast.css +1 -1
  145. package/styles/h-scroll/icons/_bootstrap4.scss +1 -1
  146. package/styles/h-scroll/icons/_bootstrap5-dark.scss +1 -0
  147. package/styles/h-scroll/icons/_bootstrap5.scss +49 -0
  148. package/styles/h-scroll/icons/_tailwind-dark.scss +1 -49
  149. package/styles/highcontrast-light.css +354 -73
  150. package/styles/highcontrast-light.scss +1 -0
  151. package/styles/highcontrast.css +356 -75
  152. package/styles/highcontrast.scss +1 -0
  153. package/styles/material-dark.css +360 -105
  154. package/styles/material-dark.scss +1 -0
  155. package/styles/material.css +324 -69
  156. package/styles/material.scss +1 -0
  157. package/styles/menu/_bootstrap5-dark-definition.scss +1 -0
  158. package/styles/menu/_bootstrap5-definition.scss +68 -0
  159. package/styles/menu/_layout.scss +12 -2
  160. package/styles/menu/_tailwind-dark-definition.scss +1 -66
  161. package/styles/menu/_tailwind-definition.scss +66 -64
  162. package/styles/menu/_theme.scss +1 -1
  163. package/styles/menu/bootstrap-dark.css +36 -36
  164. package/styles/menu/bootstrap.css +36 -36
  165. package/styles/menu/bootstrap4.css +34 -34
  166. package/styles/menu/bootstrap5-dark.css +1251 -0
  167. package/styles/menu/bootstrap5-dark.scss +8 -0
  168. package/styles/menu/bootstrap5.css +1251 -0
  169. package/styles/menu/bootstrap5.scss +8 -0
  170. package/styles/menu/fabric-dark.css +36 -36
  171. package/styles/menu/fabric.css +36 -36
  172. package/styles/menu/highcontrast-light.css +36 -36
  173. package/styles/menu/highcontrast.css +36 -36
  174. package/styles/menu/icons/_bootstrap5-dark.scss +1 -0
  175. package/styles/menu/icons/_bootstrap5.scss +133 -0
  176. package/styles/menu/icons/_tailwind-dark.scss +133 -133
  177. package/styles/menu/icons/_tailwind.scss +133 -133
  178. package/styles/menu/material-dark.css +36 -36
  179. package/styles/menu/material.css +36 -36
  180. package/styles/menu/tailwind-dark.css +36 -36
  181. package/styles/menu/tailwind.css +36 -36
  182. package/styles/sidebar/_bootstrap5-dark-definition.scss +1 -0
  183. package/styles/sidebar/_bootstrap5-definition.scss +5 -0
  184. package/styles/sidebar/_highcontrast-definition.scss +1 -1
  185. package/styles/sidebar/_tailwind-dark-definition.scss +1 -4
  186. package/styles/sidebar/_tailwind-definition.scss +2 -1
  187. package/styles/sidebar/_theme.scss +3 -3
  188. package/styles/sidebar/bootstrap5-dark.css +155 -0
  189. package/styles/sidebar/bootstrap5-dark.scss +3 -0
  190. package/styles/sidebar/bootstrap5.css +155 -0
  191. package/styles/sidebar/bootstrap5.scss +3 -0
  192. package/styles/sidebar/highcontrast.css +1 -1
  193. package/styles/tab/_bootstrap-dark-definition.scss +2 -2
  194. package/styles/tab/_bootstrap-definition.scss +1 -1
  195. package/styles/tab/_bootstrap4-definition.scss +2 -2
  196. package/styles/tab/_bootstrap5-dark-definition.scss +1 -0
  197. package/styles/tab/_bootstrap5-definition.scss +401 -0
  198. package/styles/tab/_layout.scss +45 -51
  199. package/styles/tab/_material-dark-definition.scss +0 -1
  200. package/styles/tab/_tailwind-dark-definition.scss +1 -420
  201. package/styles/tab/_tailwind-definition.scss +420 -420
  202. package/styles/tab/_theme.scss +166 -53
  203. package/styles/tab/bootstrap-dark.css +15 -14
  204. package/styles/tab/bootstrap.css +12 -11
  205. package/styles/tab/bootstrap4.css +15 -14
  206. package/styles/tab/bootstrap5-dark.css +4442 -0
  207. package/styles/tab/bootstrap5-dark.scss +5 -0
  208. package/styles/tab/bootstrap5.css +4442 -0
  209. package/styles/tab/bootstrap5.scss +5 -0
  210. package/styles/tab/fabric-dark.css +16 -15
  211. package/styles/tab/fabric.css +14 -13
  212. package/styles/tab/highcontrast-light.css +14 -13
  213. package/styles/tab/highcontrast.css +14 -13
  214. package/styles/tab/icons/_bootstrap-dark.scss +2 -2
  215. package/styles/tab/icons/_bootstrap5-dark.scss +1 -0
  216. package/styles/tab/icons/_bootstrap5.scss +141 -0
  217. package/styles/tab/icons/_fabric-dark.scss +2 -2
  218. package/styles/tab/icons/_tailwind-dark.scss +1 -140
  219. package/styles/tab/icons/_tailwind.scss +140 -140
  220. package/styles/tab/material-dark.css +36 -35
  221. package/styles/tab/material.css +11 -10
  222. package/styles/tab/tailwind-dark.css +27 -39
  223. package/styles/tab/tailwind.css +22 -34
  224. package/styles/tailwind-dark.css +379 -111
  225. package/styles/tailwind-dark.scss +1 -0
  226. package/styles/tailwind.css +364 -96
  227. package/styles/tailwind.scss +1 -0
  228. package/styles/toolbar/_bootstrap5-dark-definition.scss +1 -0
  229. package/styles/toolbar/_bootstrap5-definition.scss +143 -0
  230. package/styles/toolbar/_fabric-dark-definition.scss +1 -3
  231. package/styles/toolbar/_layout.scss +18 -9
  232. package/styles/toolbar/_material-dark-definition.scss +0 -1
  233. package/styles/toolbar/_tailwind-dark-definition.scss +1 -143
  234. package/styles/toolbar/_tailwind-definition.scss +143 -143
  235. package/styles/toolbar/_theme.scss +98 -16
  236. package/styles/toolbar/bootstrap-dark.css +13 -10
  237. package/styles/toolbar/bootstrap.css +13 -10
  238. package/styles/toolbar/bootstrap4.css +14 -12
  239. package/styles/toolbar/bootstrap5-dark.css +1409 -0
  240. package/styles/toolbar/bootstrap5-dark.scss +8 -0
  241. package/styles/toolbar/bootstrap5.css +1409 -0
  242. package/styles/toolbar/bootstrap5.scss +8 -0
  243. package/styles/toolbar/fabric-dark.css +13 -26
  244. package/styles/toolbar/fabric.css +10 -23
  245. package/styles/toolbar/highcontrast-light.css +10 -23
  246. package/styles/toolbar/highcontrast.css +10 -23
  247. package/styles/toolbar/icons/_bootstrap5-dark.scss +1 -0
  248. package/styles/toolbar/icons/_bootstrap5.scss +17 -0
  249. package/styles/toolbar/icons/_tailwind-dark.scss +1 -16
  250. package/styles/toolbar/icons/_tailwind.scss +16 -16
  251. package/styles/toolbar/material-dark.css +11 -24
  252. package/styles/toolbar/material.css +10 -23
  253. package/styles/toolbar/tailwind-dark.css +20 -29
  254. package/styles/toolbar/tailwind.css +16 -25
  255. package/styles/treeview/_bootstrap4-definition.scss +3 -3
  256. package/styles/treeview/_bootstrap5-dark-definition.scss +1 -0
  257. package/styles/treeview/_bootstrap5-definition.scss +109 -0
  258. package/styles/treeview/_layout.scss +64 -17
  259. package/styles/treeview/_tailwind-dark-definition.scss +1 -110
  260. package/styles/treeview/_tailwind-definition.scss +30 -28
  261. package/styles/treeview/_theme.scss +26 -6
  262. package/styles/treeview/bootstrap-dark.css +8 -0
  263. package/styles/treeview/bootstrap.css +8 -0
  264. package/styles/treeview/bootstrap4.css +8 -0
  265. package/styles/treeview/bootstrap5-dark.css +974 -0
  266. package/styles/treeview/bootstrap5-dark.scss +6 -0
  267. package/styles/treeview/bootstrap5.css +974 -0
  268. package/styles/treeview/bootstrap5.scss +6 -0
  269. package/styles/treeview/fabric-dark.css +8 -0
  270. package/styles/treeview/fabric.css +8 -0
  271. package/styles/treeview/highcontrast-light.css +8 -0
  272. package/styles/treeview/highcontrast.css +8 -0
  273. package/styles/treeview/icons/_bootstrap5-dark.scss +1 -0
  274. package/styles/treeview/icons/_bootstrap5.scss +43 -0
  275. package/styles/treeview/icons/_tailwind-dark.scss +43 -43
  276. package/styles/treeview/material-dark.css +15 -7
  277. package/styles/treeview/material.css +8 -0
  278. package/styles/treeview/tailwind-dark.css +10 -2
  279. package/styles/treeview/tailwind.css +9 -1
  280. package/styles/v-scroll/_bootstrap5-dark-definition.scss +1 -0
  281. package/styles/v-scroll/_bootstrap5-definition.scss +49 -0
  282. package/styles/v-scroll/_tailwind-dark-definition.scss +1 -49
  283. package/styles/v-scroll/bootstrap5-dark.css +247 -0
  284. package/styles/v-scroll/bootstrap5-dark.scss +4 -0
  285. package/styles/v-scroll/bootstrap5.css +247 -0
  286. package/styles/v-scroll/bootstrap5.scss +4 -0
  287. package/styles/v-scroll/icons/_bootstrap4.scss +1 -1
  288. package/styles/v-scroll/icons/_bootstrap5-dark.scss +1 -0
  289. package/styles/v-scroll/icons/_bootstrap5.scss +27 -0
  290. package/styles/v-scroll/icons/_tailwind-dark.scss +1 -26
  291. package/styles/v-scroll/material-dark.css +1 -1
  292. package/styles/v-scroll/tailwind-dark.css +4 -4
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 19.2.59
3
+ * version : 19.3.44
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-navigations@*",
3
- "_id": "@syncfusion/ej2-navigations@19.2.56",
3
+ "_id": "@syncfusion/ej2-navigations@19.24.0",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-MNYV2rqGz0CtXPBcAz+ugN7le1jBipH4crNBvzMuzR5uVWSiAfGbpK0A2YXuDRPNw74rRG3HGPBkg5q4SVaavA==",
5
+ "_integrity": "sha512-GwkICjKbKkoanHn3QCyjoIu0/I8D187aan8GD1ucXEPK817+aPCpe6o36AwejZxdpfctgix/3/j13Cvu+V4ktg==",
6
6
  "_location": "/@syncfusion/ej2-navigations",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -37,8 +37,8 @@
37
37
  "/@syncfusion/ej2-spreadsheet",
38
38
  "/@syncfusion/ej2-vue-navigations"
39
39
  ],
40
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-navigations/-/ej2-navigations-19.2.56.tgz",
41
- "_shasum": "c776f0640b438254f00c386d25d370338aa11f07",
40
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-navigations/-/ej2-navigations-19.24.0.tgz",
41
+ "_shasum": "bdfa57ad56d525886446c2aaf30473d2e4218621",
42
42
  "_spec": "@syncfusion/ej2-navigations@*",
43
43
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
44
44
  "author": {
@@ -49,12 +49,12 @@
49
49
  },
50
50
  "bundleDependencies": false,
51
51
  "dependencies": {
52
- "@syncfusion/ej2-base": "~19.2.57",
53
- "@syncfusion/ej2-buttons": "~19.2.55",
54
- "@syncfusion/ej2-data": "~19.2.55",
55
- "@syncfusion/ej2-inputs": "~19.2.59",
56
- "@syncfusion/ej2-lists": "~19.2.55",
57
- "@syncfusion/ej2-popups": "~19.2.59"
52
+ "@syncfusion/ej2-base": "~19.3.43",
53
+ "@syncfusion/ej2-buttons": "~19.3.44",
54
+ "@syncfusion/ej2-data": "~19.3.44",
55
+ "@syncfusion/ej2-inputs": "~19.3.44",
56
+ "@syncfusion/ej2-lists": "~19.3.44",
57
+ "@syncfusion/ej2-popups": "~19.3.43"
58
58
  },
59
59
  "deprecated": false,
60
60
  "description": "A package of Essential JS 2 navigation components such as Tree-view, Tab, Toolbar, Context-menu, and Accordion which is used to navigate from one page to another",
@@ -136,7 +136,8 @@
136
136
  "slide-panel",
137
137
  "multiple-sidebar",
138
138
  "slide-navigation",
139
- "navigation-drawer"
139
+ "navigation-drawer",
140
+ "breadcrumb"
140
141
  ],
141
142
  "license": "SEE LICENSE IN license",
142
143
  "main": "./dist/ej2-navigations.umd.min.js",
@@ -147,6 +148,6 @@
147
148
  "url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
148
149
  },
149
150
  "typings": "index.d.ts",
150
- "version": "19.2.59",
151
+ "version": "19.3.44",
151
152
  "sideEffects": false
152
153
  }
@@ -331,9 +331,9 @@ export declare class Accordion extends Component<HTMLElement> implements INotify
331
331
  private unwireEvents;
332
332
  private wireEvents;
333
333
  private templateParser;
334
- private initializeheaderTemplate;
334
+ private initializeHeaderTemplate;
335
335
  private initializeItemTemplate;
336
- private getheaderTemplate;
336
+ private getHeaderTemplate;
337
337
  private getItemTemplate;
338
338
  private focusIn;
339
339
  private focusOut;
@@ -412,12 +412,6 @@ export declare class Accordion extends Component<HTMLElement> implements INotify
412
412
  * @returns {void}.
413
413
  */
414
414
  enableItem(index: number, isEnable: boolean): void;
415
- /**
416
- * Refresh the Accordion component.
417
- *
418
- * @returns {void}.
419
- */
420
- refresh(): void;
421
415
  /**
422
416
  * Expands/Collapses the specified Accordion item.
423
417
  *
@@ -215,15 +215,10 @@ var Accordion = /** @class */ (function (_super) {
215
215
  * @returns {void}
216
216
  */
217
217
  Accordion.prototype.render = function () {
218
- if (!this.isServerRendered) {
219
- this.initializeheaderTemplate();
220
- this.initializeItemTemplate();
221
- this.initialize();
222
- this.renderControl();
223
- }
224
- else {
225
- this.wireFocusEvents();
226
- }
218
+ this.initializeHeaderTemplate();
219
+ this.initializeItemTemplate();
220
+ this.initialize();
221
+ this.renderControl();
227
222
  this.wireEvents();
228
223
  this.renderComplete();
229
224
  };
@@ -294,7 +289,7 @@ var Accordion = /** @class */ (function (_super) {
294
289
  }
295
290
  return undefined;
296
291
  };
297
- Accordion.prototype.initializeheaderTemplate = function () {
292
+ Accordion.prototype.initializeHeaderTemplate = function () {
298
293
  if (this.headerTemplate) {
299
294
  this.headerTemplateFn = this.templateParser(this.headerTemplate);
300
295
  }
@@ -305,7 +300,7 @@ var Accordion = /** @class */ (function (_super) {
305
300
  }
306
301
  };
307
302
  /* eslint-disable */
308
- Accordion.prototype.getheaderTemplate = function () {
303
+ Accordion.prototype.getHeaderTemplate = function () {
309
304
  return this.headerTemplateFn;
310
305
  };
311
306
  /* eslint-disable */
@@ -404,7 +399,6 @@ var Accordion = /** @class */ (function (_super) {
404
399
  }
405
400
  };
406
401
  Accordion.prototype.clickHandler = function (e) {
407
- var _this = this;
408
402
  var trgt = e.target;
409
403
  var items = this.getItems();
410
404
  var eventArgs = {};
@@ -438,32 +432,9 @@ var Accordion = /** @class */ (function (_super) {
438
432
  eventArgs.originalEvent = e;
439
433
  var ctnCheck = !isNOU(tglIcon) && acrdnItem.childElementCount <= 1;
440
434
  if (ctnCheck && (isNOU(acrdnCtn) || !isNOU(select('.' + CLS_HEADER + ' .' + CLS_TOOGLEICN, acrdnCtnItem)))) {
441
- if (!this.isServerRendered) {
442
- acrdnItem.appendChild(this.contentRendering(index));
443
- this.ariaAttrUpdate(acrdnItem);
444
- this.afterContentRender(trgt, eventArgs, acrdnItem, acrdnHdr, acrdnCtn, acrdnCtnItem);
445
- }
446
- else {
447
- var id = acrdnItem.id;
448
- if (this.items.length > 0) {
449
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
450
- this.interopAdaptor.invokeMethodAsync('OnItemClick', index).then(function () {
451
- if (_this.isDestroyed) {
452
- return;
453
- }
454
- _this.afterContentRender(trgt, eventArgs, acrdnItem, acrdnHdr, acrdnCtn, acrdnCtnItem);
455
- });
456
- }
457
- else {
458
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
459
- this.interopAdaptor.invokeMethodAsync('OnDataClick', id).then(function () {
460
- if (_this.isDestroyed) {
461
- return;
462
- }
463
- _this.afterContentRender(trgt, eventArgs, acrdnItem, acrdnHdr, acrdnCtn, acrdnCtnItem);
464
- });
465
- }
466
- }
435
+ acrdnItem.appendChild(this.contentRendering(index));
436
+ this.ariaAttrUpdate(acrdnItem);
437
+ this.afterContentRender(trgt, eventArgs, acrdnItem, acrdnHdr, acrdnCtn, acrdnCtnItem);
467
438
  }
468
439
  else {
469
440
  this.afterContentRender(trgt, eventArgs, acrdnItem, acrdnHdr, acrdnCtn, acrdnCtnItem);
@@ -599,7 +570,7 @@ var Accordion = /** @class */ (function (_super) {
599
570
  var ctnEle = this.headerEleGenerate();
600
571
  var hdrEle = this.createElement('div', { className: CLS_HEADERCTN });
601
572
  ctnEle.appendChild(hdrEle);
602
- append(this.getheaderTemplate()(item, this, 'headerTemplate', this.element.id + '_headerTemplate', false), hdrEle);
573
+ append(this.getHeaderTemplate()(item, this, 'headerTemplate', this.element.id + '_headerTemplate', false), hdrEle);
603
574
  innerEle.appendChild(ctnEle);
604
575
  ctnEle.appendChild(this.toggleIconGenerate());
605
576
  this.add(innerEle, CLS_SLCT);
@@ -1136,16 +1107,6 @@ var Accordion = /** @class */ (function (_super) {
1136
1107
  eleHeader.removeAttribute('tabindex');
1137
1108
  }
1138
1109
  };
1139
- /**
1140
- * Refresh the Accordion component.
1141
- *
1142
- * @returns {void}.
1143
- */
1144
- Accordion.prototype.refresh = function () {
1145
- if (!this.isServerRendered) {
1146
- _super.prototype.refresh.call(this);
1147
- }
1148
- };
1149
1110
  /**
1150
1111
  * Expands/Collapses the specified Accordion item.
1151
1112
  *
@@ -1191,41 +1152,15 @@ var Accordion = /** @class */ (function (_super) {
1191
1152
  }
1192
1153
  };
1193
1154
  Accordion.prototype.itemExpand = function (isExpand, ele, index) {
1194
- var _this = this;
1195
1155
  var ctn = ele.children[1];
1196
1156
  if (ele.classList.contains(CLS_DISABLE)) {
1197
1157
  return;
1198
1158
  }
1199
1159
  if (isNOU(ctn) && isExpand) {
1200
- if (!this.isServerRendered) {
1201
- ctn = this.contentRendering(index);
1202
- ele.appendChild(ctn);
1203
- this.ariaAttrUpdate(ele);
1204
- this.expand(ctn);
1205
- }
1206
- else {
1207
- var id = ele.id;
1208
- if (this.items.length > 0) {
1209
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1210
- this.interopAdaptor.invokeMethodAsync('OnItemClick', index).then(function () {
1211
- if (_this.isDestroyed) {
1212
- return;
1213
- }
1214
- ctn = ele.children[1];
1215
- _this.expand(ctn);
1216
- });
1217
- }
1218
- else {
1219
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1220
- this.interopAdaptor.invokeMethodAsync('OnDataClick', id).then(function () {
1221
- if (_this.isDestroyed) {
1222
- return;
1223
- }
1224
- ctn = ele.children[1];
1225
- _this.expand(ctn);
1226
- });
1227
- }
1228
- }
1160
+ ctn = this.contentRendering(index);
1161
+ ele.appendChild(ctn);
1162
+ this.ariaAttrUpdate(ele);
1163
+ this.expand(ctn);
1229
1164
  }
1230
1165
  else if (!isNOU(ctn)) {
1231
1166
  if (isExpand) {
@@ -1311,10 +1246,6 @@ var Accordion = /** @class */ (function (_super) {
1311
1246
  var prop = _a[_i];
1312
1247
  switch (prop) {
1313
1248
  case 'items':
1314
- if (this.isServerRendered) {
1315
- this.wireFocusEvents();
1316
- break;
1317
- }
1318
1249
  if (!(newProp.items instanceof Array && oldProp.items instanceof Array)) {
1319
1250
  var changedProp = Object.keys(newProp.items);
1320
1251
  for (var j = 0; j < changedProp.length; j++) {
@@ -1369,7 +1300,7 @@ var Accordion = /** @class */ (function (_super) {
1369
1300
  isRefresh = true;
1370
1301
  break;
1371
1302
  case 'headerTemplate':
1372
- this.initializeheaderTemplate();
1303
+ this.initializeHeaderTemplate();
1373
1304
  isRefresh = true;
1374
1305
  break;
1375
1306
  case 'itemTemplate':
@@ -1403,7 +1334,7 @@ var Accordion = /** @class */ (function (_super) {
1403
1334
  break;
1404
1335
  }
1405
1336
  }
1406
- if (isRefresh && !this.isServerRendered) {
1337
+ if (isRefresh) {
1407
1338
  this.initExpand = [];
1408
1339
  if (this.expandedIndices.length > 0) {
1409
1340
  this.initExpand = this.expandedIndices;
@@ -0,0 +1,147 @@
1
+ import { Component, NotifyPropertyChanges, INotifyPropertyChanged, ChildProperty, Property, Collection, append, extend, Event, EmitType, BaseEventArgs, EventHandler, closest, addClass, removeClass } from '@syncfusion/ej2-base';import { ListBase, ListBaseOptions } from '@syncfusion/ej2-lists';
2
+ import {BreadcrumbOverflowMode,BreadcrumbBeforeItemRenderEventArgs,BreadcrumbClickEventArgs} from "./breadcrumb";
3
+ import {ComponentModel} from '@syncfusion/ej2-base';
4
+
5
+ /**
6
+ * Interface for a class BreadcrumbItem
7
+ */
8
+ export interface BreadcrumbItemModel {
9
+
10
+ /**
11
+ * Specifies the text content of the Breadcrumb item.
12
+ *
13
+ * @default ''
14
+ */
15
+ text?: string;
16
+
17
+ /**
18
+ * Specifies the Url of the Breadcrumb item that will be activated when clicked.
19
+ *
20
+ * @default ''
21
+ */
22
+ url?: string;
23
+
24
+ /**
25
+ * Defines a class/multiple classes separated by a space for the item that is used to include an icon.
26
+ *
27
+ * @default null
28
+ */
29
+ iconCss?: string;
30
+
31
+ }
32
+
33
+ /**
34
+ * Interface for a class Breadcrumb
35
+ */
36
+ export interface BreadcrumbModel extends ComponentModel{
37
+
38
+ /**
39
+ * Defines the Url based on which the Breadcrumb items are generated.
40
+ *
41
+ * @default ''
42
+ */
43
+ url?: string;
44
+
45
+ /**
46
+ * Defines the list of Breadcrumb items.
47
+ *
48
+ * @default []
49
+ */
50
+ items?: BreadcrumbItemModel[];
51
+
52
+ /**
53
+ * Specifies the Url of the active Breadcrumb item.
54
+ *
55
+ * @default ''
56
+ */
57
+ activeItem?: string;
58
+
59
+ /**
60
+ * Specifies an integer to enable overflow behavior when the Breadcrumb items count exceeds and it is based on the overflowMode property.
61
+ *
62
+ * @default 0
63
+ */
64
+ maxItems?: number;
65
+
66
+ /**
67
+ * Specifies the overflow mode of the Breadcrumb item when it exceeds maxItems count. The possible values are,
68
+ * - Default: Specified maxItems count will be visible and the remaining items will be hidden. While clicking on the previous item, the hidden item will become visible.
69
+ * - Collapsed: Only the first and last items will be visible, and the remaining items will be hidden in the collapsed icon. When the collapsed icon is clicked, all items become visible.
70
+ *
71
+ * @default 'Default'
72
+ */
73
+ overflowMode?: BreadcrumbOverflowMode;
74
+
75
+ /**
76
+ * Defines class/multiple classes separated by a space in the Breadcrumb element.
77
+ *
78
+ * @default ''
79
+ */
80
+ cssClass?: string;
81
+
82
+ /**
83
+ * Specifies the width for the Breadcrumb component container element. If the Breadcrumb items overflow, the browsers horizontal scroll will be activated based on the device.
84
+ *
85
+ * @default ''
86
+ */
87
+ width?: string;
88
+
89
+ /**
90
+ * Specifies the template for Breadcrumb item.
91
+ *
92
+ * @default null
93
+ */
94
+ itemTemplate?: string;
95
+
96
+ /**
97
+ * Specifies the separator template for Breadcrumb.
98
+ *
99
+ * @default '/'
100
+ */
101
+ separatorTemplate?: string;
102
+
103
+ /**
104
+ * Enable or disable the item's navigation, when set to false, each item navigation will be prevented.
105
+ *
106
+ * @default true
107
+ */
108
+ enableNavigation?: boolean;
109
+
110
+ /**
111
+ * Enable or disable the active item navigation, when set to true, active item will be navigable.
112
+ *
113
+ * @default false
114
+ */
115
+ enableActiveItemNavigation?: boolean;
116
+
117
+ /**
118
+ * Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
119
+ *
120
+ * @default ''
121
+ * @private
122
+ * @aspIgnore
123
+ */
124
+ locale?: string;
125
+
126
+ /**
127
+ * Triggers while rendering each breadcrumb item.
128
+ *
129
+ * @event beforeItemRender
130
+ */
131
+ beforeItemRender?: EmitType<BreadcrumbBeforeItemRenderEventArgs>;
132
+
133
+ /**
134
+ * Triggers while clicking the breadcrumb item.
135
+ *
136
+ * @event itemClick
137
+ */
138
+ itemClick?: EmitType<BreadcrumbClickEventArgs>;
139
+
140
+ /**
141
+ * Triggers once the component rendering is completed.
142
+ *
143
+ * @event created
144
+ */
145
+ created?: EmitType<Event>;
146
+
147
+ }
@@ -0,0 +1,232 @@
1
+ import { Component, INotifyPropertyChanged, ChildProperty, EmitType, BaseEventArgs } from '@syncfusion/ej2-base';
2
+ import { BreadcrumbModel, BreadcrumbItemModel } from './breadcrumb-model';
3
+ /**
4
+ * Defines the Breadcrumb overflow modes.
5
+ */
6
+ export declare type BreadcrumbOverflowMode = 'Default' | 'Collapsed';
7
+ export declare class BreadcrumbItem extends ChildProperty<BreadcrumbItem> {
8
+ /**
9
+ * Specifies the text content of the Breadcrumb item.
10
+ *
11
+ * @default ''
12
+ */
13
+ text: string;
14
+ /**
15
+ * Specifies the Url of the Breadcrumb item that will be activated when clicked.
16
+ *
17
+ * @default ''
18
+ */
19
+ url: string;
20
+ /**
21
+ * Defines a class/multiple classes separated by a space for the item that is used to include an icon.
22
+ *
23
+ * @default null
24
+ */
25
+ iconCss: string;
26
+ }
27
+ /**
28
+ * Interface for item click event.
29
+ */
30
+ export interface BreadcrumbClickEventArgs extends BaseEventArgs {
31
+ /**
32
+ * Specifies the item's element.
33
+ */
34
+ element: HTMLElement;
35
+ /**
36
+ * Specifies the Breadcrumb item.
37
+ */
38
+ item: BreadcrumbItemModel;
39
+ /**
40
+ * Specifies the item click event.
41
+ */
42
+ event: Event;
43
+ }
44
+ /**
45
+ * Interface for before item render event.
46
+ */
47
+ export interface BreadcrumbBeforeItemRenderEventArgs extends BaseEventArgs {
48
+ /**
49
+ * Specifies the item's element.
50
+ */
51
+ element: HTMLElement;
52
+ /**
53
+ * Specifies the Breadcrumb item.
54
+ */
55
+ item: BreadcrumbItemModel;
56
+ }
57
+ /**
58
+ * Breadcrumb is a graphical user interface that helps to identify or highlight the current location within a hierarchical structure of websites.
59
+ * The aim is to make the user aware of their current position in a hierarchy of website links.
60
+ * ```html
61
+ * <nav id='breadcrumb'></nav>
62
+ * ```
63
+ * ```typescript
64
+ * <script>
65
+ * var breadcrumbObj = new Breadcrumb({ items: [{ text: 'Home', url: '/' }, { text: 'Index', url: './index.html }]});
66
+ * breadcrumbObj.appendTo("#breadcrumb");
67
+ * </script>
68
+ * ```
69
+ */
70
+ export declare class Breadcrumb extends Component<HTMLElement> implements INotifyPropertyChanged {
71
+ private isExpanded;
72
+ private startIndex;
73
+ private endIndex;
74
+ private _maxItems;
75
+ /**
76
+ * Defines the Url based on which the Breadcrumb items are generated.
77
+ *
78
+ * @default ''
79
+ */
80
+ url: string;
81
+ /**
82
+ * Defines the list of Breadcrumb items.
83
+ *
84
+ * @default []
85
+ */
86
+ items: BreadcrumbItemModel[];
87
+ /**
88
+ * Specifies the Url of the active Breadcrumb item.
89
+ *
90
+ * @default ''
91
+ */
92
+ activeItem: string;
93
+ /**
94
+ * Specifies an integer to enable overflow behavior when the Breadcrumb items count exceeds and it is based on the overflowMode property.
95
+ *
96
+ * @default 0
97
+ */
98
+ maxItems: number;
99
+ /**
100
+ * Specifies the overflow mode of the Breadcrumb item when it exceeds maxItems count. The possible values are,
101
+ * - Default: Specified maxItems count will be visible and the remaining items will be hidden. While clicking on the previous item, the hidden item will become visible.
102
+ * - Collapsed: Only the first and last items will be visible, and the remaining items will be hidden in the collapsed icon. When the collapsed icon is clicked, all items become visible.
103
+ *
104
+ * @default 'Default'
105
+ */
106
+ overflowMode: BreadcrumbOverflowMode;
107
+ /**
108
+ * Defines class/multiple classes separated by a space in the Breadcrumb element.
109
+ *
110
+ * @default ''
111
+ */
112
+ cssClass: string;
113
+ /**
114
+ * Specifies the width for the Breadcrumb component container element. If the Breadcrumb items overflow, the browsers horizontal scroll will be activated based on the device.
115
+ *
116
+ * @default ''
117
+ */
118
+ width: string;
119
+ /**
120
+ * Specifies the template for Breadcrumb item.
121
+ *
122
+ * @default null
123
+ */
124
+ itemTemplate: string;
125
+ /**
126
+ * Specifies the separator template for Breadcrumb.
127
+ *
128
+ * @default '/'
129
+ */
130
+ separatorTemplate: string;
131
+ /**
132
+ * Enable or disable the item's navigation, when set to false, each item navigation will be prevented.
133
+ *
134
+ * @default true
135
+ */
136
+ enableNavigation: boolean;
137
+ /**
138
+ * Enable or disable the active item navigation, when set to true, active item will be navigable.
139
+ *
140
+ * @default false
141
+ */
142
+ enableActiveItemNavigation: boolean;
143
+ /**
144
+ * Overrides the global culture and localization value for this component. Default global culture is 'en-US'.
145
+ *
146
+ * @default ''
147
+ * @private
148
+ * @aspIgnore
149
+ */
150
+ locale: string;
151
+ /**
152
+ * Triggers while rendering each breadcrumb item.
153
+ *
154
+ * @event beforeItemRender
155
+ */
156
+ beforeItemRender: EmitType<BreadcrumbBeforeItemRenderEventArgs>;
157
+ /**
158
+ * Triggers while clicking the breadcrumb item.
159
+ *
160
+ * @event itemClick
161
+ */
162
+ itemClick: EmitType<BreadcrumbClickEventArgs>;
163
+ /**
164
+ * Triggers once the component rendering is completed.
165
+ *
166
+ * @event created
167
+ */
168
+ created: EmitType<Event>;
169
+ /**
170
+ * Constructor for creating the widget.
171
+ *
172
+ * @private
173
+ * @param {BreadcrumbModel} options - Specifies the Breadcrumb model.
174
+ * @param {string | HTMLElement} element - Specifies the element.
175
+ */
176
+ constructor(options?: BreadcrumbModel, element?: string | HTMLElement);
177
+ /**
178
+ * @private
179
+ * @returns {void}
180
+ */
181
+ protected preRender(): void;
182
+ /**
183
+ * Initialize the control rendering.
184
+ *
185
+ * @private
186
+ * @returns {void}
187
+ */
188
+ protected render(): void;
189
+ private initialize;
190
+ private initPvtProps;
191
+ private setWidth;
192
+ private initItems;
193
+ private renderItems;
194
+ private calculateMaxItems;
195
+ private hasField;
196
+ private beforeItemRenderChanges;
197
+ private reRenderItems;
198
+ private clickHandler;
199
+ private resize;
200
+ private expandHandler;
201
+ private keyDownHandler;
202
+ /**
203
+ * Called internally if any of the property value changed.
204
+ *
205
+ * @private
206
+ * @param {BreadcrumbModel} newProp - Specifies the new properties.
207
+ * @param {BreadcrumbModel} oldProp - Specifies the old properties.
208
+ * @returns {void}
209
+ */
210
+ onPropertyChanged(newProp: BreadcrumbModel, oldProp: BreadcrumbModel): void;
211
+ private wireEvents;
212
+ private unWireEvents;
213
+ /**
214
+ * Get the properties to be maintained in the persisted state.
215
+ *
216
+ * @returns {string} - Persist data
217
+ */
218
+ protected getPersistData(): string;
219
+ /**
220
+ * Get module name.
221
+ *
222
+ * @private
223
+ * @returns {string} - Module Name
224
+ */
225
+ protected getModuleName(): string;
226
+ /**
227
+ * Destroys the widget.
228
+ *
229
+ * @returns {void}
230
+ */
231
+ destroy(): void;
232
+ }