@syncfusion/ej2-navigations 20.1.47 → 20.1.51-10460

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 (417) hide show
  1. package/.eslintrc.json +243 -243
  2. package/CHANGELOG.md +1601 -1570
  3. package/README.md +194 -194
  4. package/dist/ej2-navigations.min.js +1 -0
  5. package/dist/ej2-navigations.umd.min.js +1 -10
  6. package/dist/ej2-navigations.umd.min.js.map +1 -1
  7. package/dist/es6/ej2-navigations.es2015.js +92 -80
  8. package/dist/es6/ej2-navigations.es2015.js.map +1 -1
  9. package/dist/es6/ej2-navigations.es5.js +251 -239
  10. package/dist/es6/ej2-navigations.es5.js.map +1 -1
  11. package/dist/global/ej2-navigations.min.js +1 -10
  12. package/dist/global/ej2-navigations.min.js.map +1 -1
  13. package/dist/global/index.d.ts +0 -9
  14. package/dist/ts/accordion/accordion.ts +1545 -0
  15. package/dist/ts/breadcrumb/breadcrumb.ts +873 -0
  16. package/dist/ts/carousel/carousel.ts +1181 -0
  17. package/dist/ts/common/h-scroll.ts +477 -0
  18. package/dist/ts/common/menu-base.ts +2357 -0
  19. package/dist/ts/common/menu-scroll.ts +105 -0
  20. package/dist/ts/common/v-scroll.ts +454 -0
  21. package/{src/context-menu/context-menu.d.ts → dist/ts/context-menu/context-menu.ts} +134 -88
  22. package/dist/ts/menu/menu.ts +302 -0
  23. package/dist/ts/sidebar/sidebar.ts +874 -0
  24. package/dist/ts/tab/tab.ts +2637 -0
  25. package/dist/ts/toolbar/toolbar.ts +2378 -0
  26. package/dist/ts/treeview/treeview.ts +5768 -0
  27. package/helpers/e2e/accordionHelper.js +70 -53
  28. package/helpers/e2e/contextmenuHelper.js +52 -35
  29. package/helpers/e2e/index.js +14 -12
  30. package/helpers/e2e/menuHelper.js +52 -35
  31. package/helpers/e2e/sidebarHelper.js +109 -92
  32. package/helpers/e2e/tabHelper.js +73 -56
  33. package/helpers/e2e/toolbarHelper.js +73 -56
  34. package/helpers/e2e/treeview.js +79 -61
  35. package/license +10 -10
  36. package/package.json +164 -164
  37. package/src/accordion/accordion-model.d.ts +190 -190
  38. package/src/accordion/accordion.js +19 -19
  39. package/src/breadcrumb/breadcrumb-model.d.ts +105 -105
  40. package/src/breadcrumb/breadcrumb.js +19 -19
  41. package/src/carousel/carousel-model.d.ts +148 -148
  42. package/src/carousel/carousel.js +19 -19
  43. package/src/common/h-scroll-model.d.ts +6 -6
  44. package/src/common/h-scroll.js +23 -21
  45. package/src/common/menu-base-model.d.ts +206 -206
  46. package/src/common/menu-base.js +31 -25
  47. package/src/common/v-scroll-model.d.ts +6 -6
  48. package/src/common/v-scroll.js +19 -19
  49. package/src/context-menu/context-menu-model.d.ts +18 -18
  50. package/src/context-menu/context-menu.js +19 -19
  51. package/src/menu/menu-model.d.ts +43 -43
  52. package/src/menu/menu.js +19 -19
  53. package/src/sidebar/sidebar-model.d.ts +191 -191
  54. package/src/sidebar/sidebar.js +19 -19
  55. package/src/tab/tab-model.d.ts +291 -291
  56. package/src/tab/tab.js +21 -21
  57. package/src/toolbar/toolbar-model.d.ts +195 -195
  58. package/src/toolbar/toolbar.js +23 -19
  59. package/src/treeview/treeview-model.d.ts +411 -411
  60. package/src/treeview/treeview.js +20 -20
  61. package/styles/accordion/_bds-definition.scss +167 -0
  62. package/styles/accordion/_bigger.scss +121 -0
  63. package/styles/accordion/_bootstrap5.3-definition.scss +168 -0
  64. package/styles/accordion/_fluent2-definition.scss +167 -0
  65. package/styles/accordion/_fusionnew-definition.scss +168 -0
  66. package/styles/accordion/_material3-dark-definition.scss +1 -0
  67. package/styles/accordion/_material3-definition.scss +168 -0
  68. package/styles/accordion/fluent2.scss +4 -0
  69. package/styles/accordion/icons/_bds.scss +15 -0
  70. package/styles/accordion/icons/_bootstrap5.3.scss +15 -0
  71. package/styles/accordion/icons/_fluent2.scss +15 -0
  72. package/styles/accordion/icons/_fusionnew.scss +15 -0
  73. package/styles/accordion/icons/_material3-dark.scss +1 -0
  74. package/styles/accordion/icons/_material3.scss +15 -0
  75. package/styles/accordion/material3-dark.scss +4 -0
  76. package/styles/accordion/material3.scss +4 -0
  77. package/styles/appbar/_all.scss +2 -0
  78. package/styles/appbar/_bds-definition.scss +25 -0
  79. package/styles/appbar/_bigger.scss +15 -0
  80. package/styles/appbar/_bootstrap-dark-definition.scss +6 -0
  81. package/styles/appbar/_bootstrap-definition.scss +6 -0
  82. package/styles/appbar/_bootstrap4-definition.scss +6 -0
  83. package/styles/appbar/_bootstrap5-definition.scss +6 -0
  84. package/styles/appbar/_bootstrap5.3-definition.scss +6 -0
  85. package/styles/appbar/_fabric-dark-definition.scss +6 -0
  86. package/styles/appbar/_fabric-definition.scss +6 -0
  87. package/styles/appbar/_fluent-definition.scss +6 -0
  88. package/styles/appbar/_fluent2-definition.scss +24 -0
  89. package/styles/appbar/_fusionnew-definition.scss +6 -0
  90. package/styles/appbar/_highcontrast-definition.scss +6 -0
  91. package/styles/appbar/_highcontrast-light-definition.scss +6 -0
  92. package/styles/appbar/_layout.scss +76 -0
  93. package/styles/appbar/_material-dark-definition.scss +6 -0
  94. package/styles/appbar/_material-definition.scss +6 -0
  95. package/styles/appbar/_material3-definition.scss +6 -0
  96. package/styles/appbar/_tailwind-definition.scss +6 -0
  97. package/styles/appbar/_theme.scss +216 -0
  98. package/styles/bootstrap-dark.css +1 -1
  99. package/styles/bootstrap.css +1 -1
  100. package/styles/bootstrap4.css +1 -1
  101. package/styles/bootstrap5-dark.css +1 -1
  102. package/styles/bootstrap5.css +1 -1
  103. package/styles/breadcrumb/_bds-definition.scss +60 -0
  104. package/styles/breadcrumb/_bigger.scss +160 -0
  105. package/styles/breadcrumb/_bootstrap5.3-definition.scss +61 -0
  106. package/styles/breadcrumb/_fluent2-definition.scss +61 -0
  107. package/styles/breadcrumb/_fusionnew-definition.scss +59 -0
  108. package/styles/breadcrumb/_layout.scss +1 -1
  109. package/styles/breadcrumb/_material3-dark-definition.scss +1 -0
  110. package/styles/breadcrumb/_material3-definition.scss +60 -0
  111. package/styles/breadcrumb/_tailwind-dark-definition.scss +1 -60
  112. package/styles/breadcrumb/_tailwind-definition.scss +3 -3
  113. package/styles/breadcrumb/bootstrap-dark.css +1 -1
  114. package/styles/breadcrumb/bootstrap.css +1 -1
  115. package/styles/breadcrumb/bootstrap4.css +1 -1
  116. package/styles/breadcrumb/bootstrap5-dark.css +1 -1
  117. package/styles/breadcrumb/bootstrap5.css +1 -1
  118. package/styles/breadcrumb/fabric-dark.css +1 -1
  119. package/styles/breadcrumb/fabric.css +1 -1
  120. package/styles/breadcrumb/fluent-dark.css +1 -1
  121. package/styles/breadcrumb/fluent.css +1 -1
  122. package/styles/breadcrumb/fluent2.scss +4 -0
  123. package/styles/breadcrumb/highcontrast-light.css +1 -1
  124. package/styles/breadcrumb/highcontrast.css +1 -1
  125. package/styles/breadcrumb/icons/_bds.scss +23 -0
  126. package/styles/breadcrumb/icons/_bootstrap5.3.scss +23 -0
  127. package/styles/breadcrumb/icons/_fluent2.scss +23 -0
  128. package/styles/breadcrumb/icons/_fusionnew.scss +23 -0
  129. package/styles/breadcrumb/icons/_material3-dark.scss +1 -0
  130. package/styles/breadcrumb/icons/_material3.scss +12 -0
  131. package/styles/breadcrumb/material-dark.css +1 -1
  132. package/styles/breadcrumb/material.css +1 -1
  133. package/styles/breadcrumb/material3-dark.scss +4 -0
  134. package/styles/breadcrumb/material3.scss +4 -0
  135. package/styles/breadcrumb/tailwind-dark.css +8 -8
  136. package/styles/breadcrumb/tailwind.css +8 -8
  137. package/styles/carousel/_bds-definition.scss +20 -0
  138. package/styles/carousel/_bootstrap5.3-definition.scss +20 -0
  139. package/styles/carousel/_fluent2-definition.scss +23 -0
  140. package/styles/carousel/_fusionnew-definition.scss +20 -0
  141. package/styles/carousel/_material3-dark-definition.scss +1 -0
  142. package/styles/carousel/_material3-definition.scss +21 -0
  143. package/styles/carousel/fluent2.scss +4 -0
  144. package/styles/carousel/icons/_bds.scss +30 -0
  145. package/styles/carousel/icons/_bootstrap5.3.scss +30 -0
  146. package/styles/carousel/icons/_fluent2.scss +30 -0
  147. package/styles/carousel/icons/_fusionnew.scss +30 -0
  148. package/styles/carousel/icons/_material3-dark.scss +1 -0
  149. package/styles/carousel/icons/_material3.scss +30 -0
  150. package/styles/carousel/material3-dark.scss +4 -0
  151. package/styles/carousel/material3.scss +4 -0
  152. package/styles/context-menu/_bds-definition.scss +68 -0
  153. package/styles/context-menu/_bigger.scss +96 -0
  154. package/styles/context-menu/_bootstrap5.3-definition.scss +52 -0
  155. package/styles/context-menu/_fluent2-definition.scss +52 -0
  156. package/styles/context-menu/_fusionnew-definition.scss +51 -0
  157. package/styles/context-menu/_material3-dark-definition.scss +1 -0
  158. package/styles/context-menu/_material3-definition.scss +51 -0
  159. package/styles/context-menu/fluent2.scss +4 -0
  160. package/styles/context-menu/icons/_bds.scss +31 -0
  161. package/styles/context-menu/icons/_bootstrap5.3.scss +31 -0
  162. package/styles/context-menu/icons/_fluent2.scss +31 -0
  163. package/styles/context-menu/icons/_fusionnew.scss +31 -0
  164. package/styles/context-menu/icons/_material3-dark.scss +1 -0
  165. package/styles/context-menu/icons/_material3.scss +31 -0
  166. package/styles/context-menu/material3-dark.scss +4 -0
  167. package/styles/context-menu/material3.scss +4 -0
  168. package/styles/fabric-dark.css +1 -1
  169. package/styles/fabric.css +1 -1
  170. package/styles/fluent-dark.css +1 -1
  171. package/styles/fluent.css +1 -1
  172. package/styles/fluent2.scss +34 -0
  173. package/styles/h-scroll/_bds-definition.scss +83 -0
  174. package/styles/h-scroll/_bigger.scss +39 -0
  175. package/styles/h-scroll/_bootstrap5.3-definition.scss +83 -0
  176. package/styles/h-scroll/_fluent2-definition.scss +83 -0
  177. package/styles/h-scroll/_fusionnew-definition.scss +83 -0
  178. package/styles/h-scroll/_material3-dark-definition.scss +1 -0
  179. package/styles/h-scroll/_material3-definition.scss +83 -0
  180. package/styles/h-scroll/fluent2.scss +4 -0
  181. package/styles/h-scroll/icons/_bds.scss +49 -0
  182. package/styles/h-scroll/icons/_bootstrap5.3.scss +49 -0
  183. package/styles/h-scroll/icons/_fluent2.scss +49 -0
  184. package/styles/h-scroll/icons/_fusionnew.scss +49 -0
  185. package/styles/h-scroll/icons/_material3-dark.scss +1 -0
  186. package/styles/h-scroll/icons/_material3.scss +49 -0
  187. package/styles/h-scroll/material3-dark.scss +4 -0
  188. package/styles/h-scroll/material3.scss +4 -0
  189. package/styles/highcontrast-light.css +1 -1
  190. package/styles/highcontrast.css +1 -1
  191. package/styles/material-dark.css +1 -1
  192. package/styles/material.css +1 -1
  193. package/styles/material3-dark.scss +34 -0
  194. package/styles/material3.scss +34 -0
  195. package/styles/menu/_bds-definition.scss +65 -0
  196. package/styles/menu/_bigger.scss +355 -0
  197. package/styles/menu/_bootstrap5.3-definition.scss +66 -0
  198. package/styles/menu/_fluent2-definition.scss +67 -0
  199. package/styles/menu/_fusionnew-definition.scss +66 -0
  200. package/styles/menu/_material3-dark-definition.scss +1 -0
  201. package/styles/menu/_material3-definition.scss +66 -0
  202. package/styles/menu/fluent2.scss +7 -0
  203. package/styles/menu/icons/_bds.scss +104 -0
  204. package/styles/menu/icons/_bootstrap5.3.scss +104 -0
  205. package/styles/menu/icons/_fluent2.scss +104 -0
  206. package/styles/menu/icons/_fusionnew.scss +104 -0
  207. package/styles/menu/icons/_material3-dark.scss +1 -0
  208. package/styles/menu/icons/_material3.scss +104 -0
  209. package/styles/menu/material3-dark.scss +7 -0
  210. package/styles/menu/material3.scss +7 -0
  211. package/styles/pager/_all.scss +2 -0
  212. package/styles/pager/_bds-definition.scss +152 -0
  213. package/styles/pager/_bigger.scss +311 -0
  214. package/styles/pager/_bootstrap-dark-definition.scss +151 -0
  215. package/styles/pager/_bootstrap-definition.scss +151 -0
  216. package/styles/pager/_bootstrap4-definition.scss +151 -0
  217. package/styles/pager/_bootstrap5-definition.scss +166 -0
  218. package/styles/pager/_bootstrap5.3-definition.scss +166 -0
  219. package/styles/pager/_fabric-dark-definition.scss +149 -0
  220. package/styles/pager/_fabric-definition.scss +149 -0
  221. package/styles/pager/_fluent-definition.scss +153 -0
  222. package/styles/pager/_fluent2-definition.scss +152 -0
  223. package/styles/pager/_fusionnew-definition.scss +166 -0
  224. package/styles/pager/_highcontrast-definition.scss +149 -0
  225. package/styles/pager/_highcontrast-light-definition.scss +149 -0
  226. package/styles/pager/_layout.scss +742 -0
  227. package/styles/pager/_material-dark-definition.scss +150 -0
  228. package/styles/pager/_material-definition.scss +150 -0
  229. package/styles/pager/_material3-definition.scss +166 -0
  230. package/styles/pager/_tailwind-definition.scss +152 -0
  231. package/styles/pager/_theme.scss +189 -0
  232. package/styles/pager/icons/_bds.scss +50 -0
  233. package/styles/pager/icons/_bootstrap-dark.scss +50 -0
  234. package/styles/pager/icons/_bootstrap.scss +50 -0
  235. package/styles/pager/icons/_bootstrap4.scss +50 -0
  236. package/styles/pager/icons/_bootstrap5.3.scss +50 -0
  237. package/styles/pager/icons/_bootstrap5.scss +50 -0
  238. package/styles/pager/icons/_fabric-dark.scss +50 -0
  239. package/styles/pager/icons/_fabric.scss +50 -0
  240. package/styles/pager/icons/_fluent.scss +50 -0
  241. package/styles/pager/icons/_fluent2.scss +50 -0
  242. package/styles/pager/icons/_fusionnew.scss +50 -0
  243. package/styles/pager/icons/_highcontrast-light.scss +50 -0
  244. package/styles/pager/icons/_highcontrast.scss +46 -0
  245. package/styles/pager/icons/_material-dark.scss +50 -0
  246. package/styles/pager/icons/_material.scss +46 -0
  247. package/styles/pager/icons/_material3.scss +50 -0
  248. package/styles/pager/icons/_tailwind.scss +50 -0
  249. package/styles/sidebar/_bds-definition.scss +53 -0
  250. package/styles/sidebar/_bootstrap5.3-definition.scss +6 -0
  251. package/styles/sidebar/_fluent2-definition.scss +8 -0
  252. package/styles/sidebar/_fusionnew-definition.scss +6 -0
  253. package/styles/sidebar/_material3-dark-definition.scss +1 -0
  254. package/styles/sidebar/_material3-definition.scss +4 -0
  255. package/styles/sidebar/fluent2.scss +3 -0
  256. package/styles/sidebar/material3-dark.scss +3 -0
  257. package/styles/sidebar/material3.scss +3 -0
  258. package/styles/stepper/_all.scss +2 -0
  259. package/styles/stepper/_bds-definition.scss +72 -0
  260. package/styles/stepper/_bigger.scss +53 -0
  261. package/styles/stepper/_bootstrap-dark-definition.scss +72 -0
  262. package/styles/stepper/_bootstrap-definition.scss +72 -0
  263. package/styles/stepper/_bootstrap4-definition.scss +72 -0
  264. package/styles/stepper/_bootstrap5-definition.scss +73 -0
  265. package/styles/stepper/_bootstrap5.3-definition.scss +72 -0
  266. package/styles/stepper/_fabric-dark-definition.scss +72 -0
  267. package/styles/stepper/_fabric-definition.scss +72 -0
  268. package/styles/stepper/_fluent-definition.scss +72 -0
  269. package/styles/stepper/_fluent2-definition.scss +72 -0
  270. package/styles/stepper/_fusionnew-definition.scss +72 -0
  271. package/styles/stepper/_highcontrast-definition.scss +72 -0
  272. package/styles/stepper/_highcontrast-light-definition.scss +72 -0
  273. package/styles/stepper/_layout.scss +431 -0
  274. package/styles/stepper/_material-dark-definition.scss +72 -0
  275. package/styles/stepper/_material-definition.scss +72 -0
  276. package/styles/stepper/_material3-definition.scss +72 -0
  277. package/styles/stepper/_tailwind-definition.scss +72 -0
  278. package/styles/stepper/_theme.scss +195 -0
  279. package/styles/stepper/icons/_bds.scss +5 -0
  280. package/styles/stepper/icons/_bootstrap-dark.scss +5 -0
  281. package/styles/stepper/icons/_bootstrap.scss +5 -0
  282. package/styles/stepper/icons/_bootstrap4.scss +5 -0
  283. package/styles/stepper/icons/_bootstrap5.3.scss +5 -0
  284. package/styles/stepper/icons/_bootstrap5.scss +5 -0
  285. package/styles/stepper/icons/_fabric-dark.scss +5 -0
  286. package/styles/stepper/icons/_fabric.scss +5 -0
  287. package/styles/stepper/icons/_fluent.scss +5 -0
  288. package/styles/stepper/icons/_fluent2.scss +5 -0
  289. package/styles/stepper/icons/_fusionnew.scss +5 -0
  290. package/styles/stepper/icons/_highcontrast-light.scss +5 -0
  291. package/styles/stepper/icons/_highcontrast.scss +5 -0
  292. package/styles/stepper/icons/_material-dark.scss +5 -0
  293. package/styles/stepper/icons/_material.scss +5 -0
  294. package/styles/stepper/icons/_material3.scss +5 -0
  295. package/styles/stepper/icons/_tailwind.scss +5 -0
  296. package/styles/tab/_bds-definition.scss +661 -0
  297. package/styles/tab/_bigger.scss +1270 -0
  298. package/styles/tab/_bootstrap5.3-definition.scss +636 -0
  299. package/styles/tab/_fluent2-definition.scss +667 -0
  300. package/styles/tab/_fusionnew-definition.scss +634 -0
  301. package/styles/tab/_material3-dark-definition.scss +1 -0
  302. package/styles/tab/_material3-definition.scss +636 -0
  303. package/styles/tab/fluent2.scss +5 -0
  304. package/styles/tab/icons/_bds.scss +90 -0
  305. package/styles/tab/icons/_bootstrap5.3.scss +90 -0
  306. package/styles/tab/icons/_fluent2.scss +98 -0
  307. package/styles/tab/icons/_fusionnew.scss +90 -0
  308. package/styles/tab/icons/_material3-dark.scss +1 -0
  309. package/styles/tab/icons/_material3.scss +90 -0
  310. package/styles/tab/material3-dark.scss +5 -0
  311. package/styles/tab/material3.scss +5 -0
  312. package/styles/tailwind-dark.css +8 -8
  313. package/styles/tailwind.css +8 -8
  314. package/styles/toolbar/_bds-definition.scss +197 -0
  315. package/styles/toolbar/_bigger.scss +309 -0
  316. package/styles/toolbar/_bootstrap5.3-definition.scss +198 -0
  317. package/styles/toolbar/_fluent2-definition.scss +198 -0
  318. package/styles/toolbar/_fusionnew-definition.scss +198 -0
  319. package/styles/toolbar/_material3-dark-definition.scss +1 -0
  320. package/styles/toolbar/_material3-definition.scss +199 -0
  321. package/styles/toolbar/fluent2.scss +6 -0
  322. package/styles/toolbar/icons/_bds.scss +14 -0
  323. package/styles/toolbar/icons/_bootstrap5.3.scss +14 -0
  324. package/styles/toolbar/icons/_fluent2.scss +14 -0
  325. package/styles/toolbar/icons/_fusionnew.scss +14 -0
  326. package/styles/toolbar/icons/_material3-dark.scss +1 -0
  327. package/styles/toolbar/icons/_material3.scss +14 -0
  328. package/styles/toolbar/material3-dark.scss +6 -0
  329. package/styles/toolbar/material3.scss +6 -0
  330. package/styles/treeview/_bds-definition.scss +132 -0
  331. package/styles/treeview/_bigger.scss +393 -0
  332. package/styles/treeview/_bootstrap5.3-definition.scss +119 -0
  333. package/styles/treeview/_fluent2-definition.scss +128 -0
  334. package/styles/treeview/_fusionnew-definition.scss +120 -0
  335. package/styles/treeview/_material3-dark-definition.scss +1 -0
  336. package/styles/treeview/_material3-definition.scss +110 -0
  337. package/styles/treeview/fluent2.scss +4 -0
  338. package/styles/treeview/icons/_bds.scss +44 -0
  339. package/styles/treeview/icons/_bootstrap5.3.scss +44 -0
  340. package/styles/treeview/icons/_fluent2.scss +44 -0
  341. package/styles/treeview/icons/_fusionnew.scss +44 -0
  342. package/styles/treeview/icons/_material3-dark.scss +1 -0
  343. package/styles/treeview/icons/_material3.scss +44 -0
  344. package/styles/treeview/material3-dark.scss +4 -0
  345. package/styles/treeview/material3.scss +4 -0
  346. package/styles/v-scroll/_bds-definition.scss +49 -0
  347. package/styles/v-scroll/_bigger.scss +28 -0
  348. package/styles/v-scroll/_bootstrap5.3-definition.scss +49 -0
  349. package/styles/v-scroll/_fluent2-definition.scss +49 -0
  350. package/styles/v-scroll/_fusionnew-definition.scss +49 -0
  351. package/styles/v-scroll/_material3-dark-definition.scss +1 -0
  352. package/styles/v-scroll/_material3-definition.scss +49 -0
  353. package/styles/v-scroll/fluent2.scss +4 -0
  354. package/styles/v-scroll/icons/_bds.scss +27 -0
  355. package/styles/v-scroll/icons/_bootstrap5.3.scss +27 -0
  356. package/styles/v-scroll/icons/_fluent2.scss +27 -0
  357. package/styles/v-scroll/icons/_fusionnew.scss +27 -0
  358. package/styles/v-scroll/icons/_material3-dark.scss +1 -0
  359. package/styles/v-scroll/icons/_material3.scss +27 -0
  360. package/styles/v-scroll/material3-dark.scss +4 -0
  361. package/styles/v-scroll/material3.scss +4 -0
  362. package/tslint.json +111 -111
  363. package/.github/PULL_REQUEST_TEMPLATE/Bug.md +0 -63
  364. package/.github/PULL_REQUEST_TEMPLATE/feature.md +0 -39
  365. package/accordion.d.ts +0 -4
  366. package/accordion.js +0 -4
  367. package/breadcrumb.d.ts +0 -4
  368. package/breadcrumb.js +0 -4
  369. package/carousel.d.ts +0 -4
  370. package/carousel.js +0 -4
  371. package/common.d.ts +0 -4
  372. package/common.js +0 -4
  373. package/context-menu.d.ts +0 -4
  374. package/context-menu.js +0 -4
  375. package/helpers/e2e/accordionHelper.d.ts +0 -56
  376. package/helpers/e2e/contextmenuHelper.d.ts +0 -37
  377. package/helpers/e2e/index.d.ts +0 -7
  378. package/helpers/e2e/menuHelper.d.ts +0 -37
  379. package/helpers/e2e/sidebarHelper.d.ts +0 -94
  380. package/helpers/e2e/tabHelper.d.ts +0 -60
  381. package/helpers/e2e/toolbarHelper.d.ts +0 -60
  382. package/helpers/e2e/treeview.d.ts +0 -50
  383. package/index.d.ts +0 -4
  384. package/index.js +0 -4
  385. package/menu.d.ts +0 -4
  386. package/menu.js +0 -4
  387. package/sidebar.d.ts +0 -4
  388. package/sidebar.js +0 -4
  389. package/src/accordion/accordion.d.ts +0 -440
  390. package/src/accordion/index.d.ts +0 -5
  391. package/src/breadcrumb/breadcrumb.d.ts +0 -255
  392. package/src/breadcrumb/index.d.ts +0 -5
  393. package/src/carousel/carousel.d.ts +0 -338
  394. package/src/carousel/index.d.ts +0 -3
  395. package/src/common/h-scroll.d.ts +0 -105
  396. package/src/common/index.d.ts +0 -9
  397. package/src/common/menu-base.d.ts +0 -526
  398. package/src/common/menu-scroll.d.ts +0 -29
  399. package/src/common/v-scroll.d.ts +0 -106
  400. package/src/context-menu/index.d.ts +0 -5
  401. package/src/index.d.ts +0 -13
  402. package/src/menu/index.d.ts +0 -5
  403. package/src/menu/menu.d.ts +0 -121
  404. package/src/sidebar/index.d.ts +0 -5
  405. package/src/sidebar/sidebar.d.ts +0 -321
  406. package/src/tab/index.d.ts +0 -5
  407. package/src/tab/tab.d.ts +0 -650
  408. package/src/toolbar/index.d.ts +0 -5
  409. package/src/toolbar/toolbar.d.ts +0 -470
  410. package/src/treeview/index.d.ts +0 -5
  411. package/src/treeview/treeview.d.ts +0 -1256
  412. package/tab.d.ts +0 -4
  413. package/tab.js +0 -4
  414. package/toolbar.d.ts +0 -4
  415. package/toolbar.js +0 -4
  416. package/treeview.d.ts +0 -4
  417. package/treeview.js +0 -4
package/src/tab/tab.d.ts DELETED
@@ -1,650 +0,0 @@
1
- import { Component, EmitType } from '@syncfusion/ej2-base';
2
- import { INotifyPropertyChanged, ChildProperty } from '@syncfusion/ej2-base';
3
- import { Effect } from '@syncfusion/ej2-base';
4
- import { BaseEventArgs } from '@syncfusion/ej2-base';
5
- import { OverflowMode } from '../toolbar/toolbar';
6
- import { TabModel, TabItemModel, HeaderModel, TabActionSettingsModel, TabAnimationSettingsModel } from './tab-model';
7
- declare type HTEle = HTMLElement;
8
- /**
9
- * Options to set the orientation of Tab header.
10
- */
11
- export declare type HeaderPosition = 'Top' | 'Bottom' | 'Left' | 'Right';
12
- /**
13
- * Options to set the content element height adjust modes.
14
- */
15
- export declare type HeightStyles = 'None' | 'Auto' | 'Content' | 'Fill';
16
- /**
17
- * Specifies the options of Tab content display mode.
18
- */
19
- export declare type ContentLoad = 'Dynamic' | 'Init' | 'Demand';
20
- /** An interface that holds options to control the selected item action. */
21
- export interface SelectEventArgs extends BaseEventArgs {
22
- /** Defines the previous Tab item element. */
23
- previousItem: HTMLElement;
24
- /** Defines the previous Tab item index. */
25
- previousIndex: number;
26
- /** Defines the selected Tab item element. */
27
- selectedItem: HTMLElement;
28
- /** Defines the selected Tab item index. */
29
- selectedIndex: number;
30
- /** Defines the content selection done through swiping. */
31
- isSwiped: boolean;
32
- /** Defines the prevent action. */
33
- cancel?: boolean;
34
- /** Defines the selected content. */
35
- selectedContent: HTMLElement;
36
- /** Determines whether the event is triggered via user interaction or programmatic way. True, if the event is triggered by user interaction. */
37
- isInteracted?: boolean;
38
- }
39
- /** An interface that holds options to control the selecting item action. */
40
- export interface SelectingEventArgs extends SelectEventArgs {
41
- /** Defines the selecting Tab item element. */
42
- selectingItem: HTMLElement;
43
- /** Defines the selecting Tab item index. */
44
- selectingIndex: number;
45
- /** Defines the selecting Tab item content. */
46
- selectingContent: HTMLElement;
47
- /** Defines the type of the event. */
48
- event?: Event;
49
- }
50
- /** An interface that holds options to control the removing and removed item action. */
51
- export interface RemoveEventArgs extends BaseEventArgs {
52
- /** Defines the removed Tab item element. */
53
- removedItem: HTMLElement;
54
- /** Defines the removed Tab item index. */
55
- removedIndex: number;
56
- /** Defines the prevent action. */
57
- cancel?: boolean;
58
- }
59
- /** An interface that holds options to control the adding and added item action. */
60
- export interface AddEventArgs extends BaseEventArgs {
61
- /** Defines the added Tab item element */
62
- addedItems: TabItemModel[];
63
- /** Defines the prevent action. */
64
- cancel?: boolean;
65
- }
66
- /** An interface that holds option to control the dragging and dragged item action. */
67
- export interface DragEventArgs extends BaseEventArgs {
68
- /** Defines the current dragged Tab item. */
69
- draggedItem: HTMLElement;
70
- /** Defines the dropped Tab item. */
71
- droppedItem: HTMLElement;
72
- /** defines the Dragged Tab item index. */
73
- index: number;
74
- /** Return the actual event. */
75
- event: MouseEvent;
76
- /** Return the target element */
77
- target: HTMLElement;
78
- /** Return the clone element */
79
- clonedElement: HTMLElement;
80
- /** Defines the prevent action. */
81
- cancel?: boolean;
82
- }
83
- /**
84
- * Objects used for configuring the Tab selecting item action properties.
85
- */
86
- export declare class TabActionSettings extends ChildProperty<TabActionSettings> {
87
- /**
88
- * Specifies the animation effect for displaying Tab content.
89
- *
90
- * @default 'SlideLeftIn'
91
- * @aspType string
92
- */
93
- effect: 'None' | Effect;
94
- /**
95
- * Specifies the time duration to transform content.
96
- *
97
- * @default 600
98
- */
99
- duration: number;
100
- /**
101
- * Specifies easing effect applied while transforming content.
102
- *
103
- * @default 'ease'
104
- */
105
- easing: string;
106
- }
107
- /**
108
- * Objects used for configuring the Tab animation properties.
109
- */
110
- export declare class TabAnimationSettings extends ChildProperty<TabAnimationSettings> {
111
- /**
112
- * Specifies the animation to appear while moving to previous Tab content.
113
- *
114
- * @default { effect: 'SlideLeftIn', duration: 600, easing: 'ease' }
115
- */
116
- previous: TabActionSettingsModel;
117
- /**
118
- * Specifies the animation to appear while moving to next Tab content.
119
- *
120
- * @default { effect: 'SlideRightIn', duration: 600, easing: 'ease' }
121
- */
122
- next: TabActionSettingsModel;
123
- }
124
- /**
125
- * Objects used for configuring the Tab item header properties.
126
- */
127
- export declare class Header extends ChildProperty<Header> {
128
- /**
129
- * Specifies the display text of the Tab item header.
130
- *
131
- * @default ''
132
- */
133
- text: string | HTMLElement;
134
- /**
135
- * Specifies the icon class that is used to render an icon in the Tab header.
136
- *
137
- * @default ''
138
- */
139
- iconCss: string;
140
- /**
141
- * Options for positioning the icon in the Tab item header. This property depends on `iconCss` property.
142
- * The possible values are:
143
- * - Left: Places the icon to the `left` of the item.
144
- * - Top: Places the icon on the `top` of the item.
145
- * - Right: Places the icon to the `right` end of the item.
146
- * - Bottom: Places the icon at the `bottom` of the item.
147
- *
148
- * @default 'left'
149
- */
150
- iconPosition: string;
151
- }
152
- /**
153
- * An array of object that is used to configure the Tab.
154
- */
155
- export declare class TabItem extends ChildProperty<TabItem> {
156
- /**
157
- * The object used for configuring the Tab item header properties.
158
- *
159
- * @default {}
160
- */
161
- header: HeaderModel;
162
- /**
163
- * Specifies the header text of Tab item.
164
- *
165
- * @default null
166
- */
167
- headerTemplate: string;
168
- /**
169
- * Specifies the content of Tab item, that is displayed when concern item header is selected.
170
- *
171
- * @default ''
172
- */
173
- content: string | HTMLElement;
174
- /**
175
- * Sets the CSS classes to the Tab item to customize its styles.
176
- *
177
- * @default ''
178
- */
179
- cssClass: string;
180
- /**
181
- * Sets true to disable user interactions of the Tab item.
182
- *
183
- * @default false
184
- */
185
- disabled: boolean;
186
- /**
187
- * Sets false to hide the Tab item.
188
- *
189
- * @default true
190
- */
191
- visible: boolean;
192
- /**
193
- * Sets unique ID to Tab item.
194
- *
195
- * @default null
196
- */
197
- id: string;
198
- }
199
- /**
200
- * Tab is a content panel to show multiple contents in a single space, one at a time.
201
- * Each Tab item has an associated content, that will be displayed based on the active Tab header item.
202
- * ```html
203
- * <div id="tab"></div>
204
- * <script>
205
- * var tabObj = new Tab();
206
- * tab.appendTo("#tab");
207
- * </script>
208
- * ```
209
- */
210
- export declare class Tab extends Component<HTMLElement> implements INotifyPropertyChanged {
211
- private hdrEle;
212
- private cntEle;
213
- private tbObj;
214
- tabId: string;
215
- private tbItems;
216
- private tbItem;
217
- private tbPop;
218
- private isTemplate;
219
- private isPopup;
220
- private isReplace;
221
- private prevIndex;
222
- private prevItem;
223
- private popEle;
224
- private actEleId;
225
- private bdrLine;
226
- private popObj;
227
- private btnCls;
228
- private cnt;
229
- private show;
230
- private hide;
231
- private enableAnimation;
232
- private keyModule;
233
- private tabKeyModule;
234
- private touchModule;
235
- private maxHeight;
236
- private title;
237
- private initRender;
238
- private isInteracted;
239
- private prevActiveEle;
240
- private lastIndex;
241
- private isSwipeed;
242
- private isNested;
243
- private itemIndexArray;
244
- private templateEle;
245
- private scrCntClass;
246
- private isAdd;
247
- private content;
248
- private selectedID;
249
- private selectingID;
250
- private isIconAlone;
251
- private dragItem;
252
- private cloneElement;
253
- private droppedIndex;
254
- private draggingItems;
255
- private draggableItems;
256
- private tbId;
257
- private resizeContext;
258
- /**
259
- * Contains the keyboard configuration of the Tab.
260
- */
261
- private keyConfigs;
262
- /**
263
- * An array of object that is used to configure the Tab component.
264
- * ```typescript
265
- * let tabObj: Tab = new Tab( {
266
- * items: [
267
- * { header: { text: 'TabItem1' }, content: 'Tab Item1 Content' },
268
- * { header: { text: 'TabItem2' }, content: 'Tab Item2 Content' }
269
- * ]
270
- * });
271
- * tabObj.appendTo('#tab');
272
- * ```
273
- *
274
- * @default []
275
- */
276
- items: TabItemModel[];
277
- /**
278
- * Specifies the width of the Tab component. Default, Tab width sets based on the width of its parent.
279
- *
280
- * @default '100%'
281
- */
282
- width: string | number;
283
- /**
284
- * Specifies the height of the Tab component. By default, Tab height is set based on the height of its parent.
285
- * To use height property, heightAdjustMode must be set to 'None'.
286
- *
287
- * @default 'auto'
288
- */
289
- height: string | number;
290
- /**
291
- * Sets the CSS classes to root element of the Tab that helps to customize component styles.
292
- *
293
- * @default ''
294
- */
295
- cssClass: string;
296
- /**
297
- * Specifies the index for activating the current Tab item.
298
- * ```typescript
299
- * let tabObj: Tab = new Tab( {
300
- * selectedItem: 1,
301
- * items: [
302
- * { header: { text: 'TabItem1' }, content: 'Tab Item1 Content' },
303
- * { header: { text: 'TabItem2' }, content: 'Tab Item2 Content' }
304
- * ]
305
- * });
306
- * tabObj.appendTo('#tab');
307
- * ```
308
- *
309
- * @default 0
310
- */
311
- selectedItem: number;
312
- /**
313
- * Specifies the orientation of Tab header.
314
- * The possible values are:
315
- * - Top: Places the Tab header on the top.
316
- * - Bottom: Places the Tab header at the bottom.
317
- * - Left: Places the Tab header on the left.
318
- * - Right: Places the Tab header at the right.
319
- *
320
- * @default 'Top'
321
- */
322
- headerPlacement: HeaderPosition;
323
- /**
324
- * Specifies the height style for Tab content.
325
- * The possible values are:
326
- * - None: Based on the given height property, the content panel height is set.
327
- * - Auto: Tallest panel height of a given Tab content is set to all the other panels.
328
- * - Content: Based on the corresponding content height, the content panel height is set.
329
- * - Fill: Based on the parent height, the content panel height is set.
330
- *
331
- * @default 'Content'
332
- */
333
- heightAdjustMode: HeightStyles;
334
- /**
335
- * Specifies the Tab display mode when Tab content exceeds the viewing area.
336
- * The possible modes are:
337
- * - Scrollable: All the elements are displayed in a single line with horizontal scrolling enabled.
338
- * - Popup: Tab container holds the items that can be placed within the available space and rest of the items are moved to the popup.
339
- * If the popup content overflows the height of the page, the rest of the elements can be viewed by scrolling the popup.
340
- *
341
- * @default 'Scrollable'
342
- */
343
- overflowMode: OverflowMode;
344
- /**
345
- * Specifies the modes for Tab content.
346
- * The possible modes are:
347
- * `Dynamic` Load Tab content dynamically at the time of switching it's header.
348
- * `Init` Load all tab contents at initial load.
349
- * `Demand` Load Tab content when required but keep content once it is rendered.
350
- *
351
- * @default 'Dynamic'
352
- */
353
- protected loadOn: ContentLoad;
354
- /**
355
- * Enable or disable persisting component's state between page reloads.
356
- * If enabled, following list of states will be persisted.
357
- * 1. selectedItem
358
- *
359
- * @default false
360
- */
361
- enablePersistence: boolean;
362
- /**
363
- * Defines whether to allow the cross-scripting site or not.
364
- *
365
- * @default false
366
- */
367
- enableHtmlSanitizer: boolean;
368
- /**
369
- * Specifies whether to show the close button for header items to remove the item from the Tab.
370
- *
371
- * @default false
372
- */
373
- showCloseButton: boolean;
374
- /**
375
- * Determines whether to re-order tab items to show active tab item in the header area or popup when OverflowMode is Popup.
376
- * True, if active tab item should be visible in header area instead of pop-up. The default value is true.
377
- *
378
- * @default true
379
- */
380
- reorderActiveTab: boolean;
381
- /**
382
- * Specifies the scrolling distance in scroller.
383
- *
384
- * @default null
385
- */
386
- scrollStep: number;
387
- /**
388
- * Defines the area in which the draggable element movement will be occurring. Outside that area will be restricted
389
- * for the draggable element movement. By default, the draggable element movement occurs in the toolbar.
390
- * @default null
391
- */
392
- dragArea: string;
393
- /**
394
- * Sets true to allow drag and drop the Tab items
395
- * @default false
396
- */
397
- allowDragAndDrop: boolean;
398
- /**
399
- * Specifies the animation configuration settings while showing the content of the Tab.
400
- *
401
- * @default
402
- * { previous: { effect: 'SlideLeftIn', duration: 600, easing: 'ease' },
403
- * next: { effect: 'SlideRightIn', duration: 600, easing: 'ease' } }
404
- */
405
- animation: TabAnimationSettingsModel;
406
- /**
407
- * The event will be fired once the component rendering is completed.
408
- *
409
- * @event
410
- */
411
- created: EmitType<Event>;
412
- /**
413
- * The event will be fired before adding the item to the Tab.
414
- *
415
- * @event
416
- */
417
- adding: EmitType<AddEventArgs>;
418
- /**
419
- * The event will be fired after adding the item to the Tab.
420
- *
421
- * @event
422
- */
423
- added: EmitType<AddEventArgs>;
424
- /**
425
- * The event will be fired before the item gets selected.
426
- *
427
- * @event
428
- */
429
- selecting: EmitType<SelectingEventArgs>;
430
- /**
431
- * The event will be fired after the item gets selected.
432
- *
433
- * @event
434
- */
435
- selected: EmitType<SelectEventArgs>;
436
- /**
437
- * The event will be fired before removing the item from the Tab.
438
- *
439
- * @event
440
- */
441
- removing: EmitType<RemoveEventArgs>;
442
- /**
443
- * The event will be fired after removing the item from the Tab.
444
- *
445
- * @event
446
- */
447
- removed: EmitType<RemoveEventArgs>;
448
- /**
449
- * The event will be fired before dragging the item from Tab
450
- * @event
451
- */
452
- onDragStart: EmitType<DragEventArgs>;
453
- /**
454
- * The event will be fired while dragging the Tab item
455
- * @event
456
- */
457
- dragging: EmitType<DragEventArgs>;
458
- /**
459
- * The event will be fired after dropping the Tab item
460
- * @event
461
- */
462
- dragged: EmitType<DragEventArgs>;
463
- /**
464
- * The event will be fired when the component gets destroyed.
465
- *
466
- * @event
467
- */
468
- destroyed: EmitType<Event>;
469
- /**
470
- * Removes the component from the DOM and detaches all its related event handlers, attributes and classes.
471
- *
472
- * @returns {void}
473
- */
474
- destroy(): void;
475
- /**
476
- * Refresh the tab component
477
- *
478
- * @returns {void}
479
- */
480
- refresh(): void;
481
- /**
482
- * Initialize component
483
- *
484
- * @private
485
- * @returns {void}
486
- */
487
- protected preRender(): void;
488
- /**
489
- * Initializes a new instance of the Tab class.
490
- *
491
- * @param {TabModel} options - Specifies Tab model properties as options.
492
- * @param {string | HTMLElement} element - Specifies the element that is rendered as a Tab.
493
- */
494
- constructor(options?: TabModel, element?: string | HTMLElement);
495
- /**
496
- * Initialize the component rendering
497
- *
498
- * @private
499
- * @returns {void}
500
- */
501
- protected render(): void;
502
- private renderContainer;
503
- private serverItemsChanged;
504
- private headerReady;
505
- private setActiveContent;
506
- private renderHeader;
507
- private renderContent;
508
- private reRenderItems;
509
- private parseObject;
510
- private removeActiveClass;
511
- private checkPopupOverflow;
512
- private popupHandler;
513
- private updateOrientationAttribute;
514
- private setCloseButton;
515
- private prevCtnAnimation;
516
- private triggerPrevAnimation;
517
- private triggerAnimation;
518
- private keyPressed;
519
- private getTabHeader;
520
- private getEleIndex;
521
- private extIndex;
522
- private expTemplateContent;
523
- private templateCompile;
524
- private compileElement;
525
- private headerTextCompile;
526
- private getContent;
527
- private getTrgContent;
528
- private findEle;
529
- private isVertical;
530
- private addVerticalClass;
531
- private updatePopAnimationConfig;
532
- private changeOrientation;
533
- private focusItem;
534
- private changeToolbarOrientation;
535
- private setOrientation;
536
- private setCssClass;
537
- private setContentHeight;
538
- private getHeight;
539
- private setActiveBorder;
540
- private setActive;
541
- private contentReady;
542
- private setItems;
543
- private setRTL;
544
- private refreshActiveBorder;
545
- private showPopup;
546
- private bindDraggable;
547
- private wireEvents;
548
- private unWireEvents;
549
- private clickHandler;
550
- private swipeHandler;
551
- private spaceKeyDown;
552
- private keyHandler;
553
- /**
554
- * Refresh the active tab border
555
- *
556
- * @returns {void}
557
- * @private
558
- */
559
- refreshActiveTabBorder(): void;
560
- private refreshItemVisibility;
561
- private hoverHandler;
562
- private evalOnPropertyChangeItems;
563
- private initializeDrag;
564
- private helper;
565
- private itemDragStart;
566
- private dragAction;
567
- private itemDragStop;
568
- /**
569
- * Enables or disables the specified Tab item. On passing value as `false`, the item will be disabled.
570
- *
571
- * @param {number} index - Index value of target Tab item.
572
- * @param {boolean} value - Boolean value that determines whether the command should be enabled or disabled.
573
- * By default, isEnable is true.
574
- * @returns {void}.
575
- */
576
- enableTab(index: number, value: boolean): void;
577
- /**
578
- * Adds new items to the Tab that accepts an array as Tab items.
579
- *
580
- * @param {TabItemModel[]} items - An array of item that is added to the Tab.
581
- * @param {number} index - Number value that determines where the items to be added. By default, index is 0.
582
- * @returns {void}.
583
- */
584
- addTab(items: TabItemModel[], index?: number): void;
585
- private addingTabContent;
586
- /**
587
- * Removes the items in the Tab from the specified index.
588
- *
589
- * @param {number} index - Index of target item that is going to be removed.
590
- * @returns {void}.
591
- */
592
- removeTab(index: number): void;
593
- /**
594
- * Shows or hides the Tab that is in the specified index.
595
- *
596
- * @param {number} index - Index value of target item.
597
- * @param {boolean} value - Based on this Boolean value, item will be hide (false) or show (true). By default, value is true.
598
- * @returns {void}.
599
- */
600
- hideTab(index: number, value?: boolean): void;
601
- private selectTab;
602
- /**
603
- * Specifies the index or HTMLElement to select an item from the Tab.
604
- *
605
- * @param {number | HTMLElement} args - Index or DOM element is used for selecting an item from the Tab.
606
- * @param {Event} event - An event which takes place in DOM.
607
- * @returns {void}
608
- */
609
- select(args: number | HTEle, event?: Event): void;
610
- private selectingContent;
611
- /**
612
- * Gets the item index from the Tab.
613
- *
614
- * @param {string} tabItemId - Item ID is used for getting index from the Tab.
615
- * @returns {number} - It returns item index.
616
- */
617
- getItemIndex(tabItemId: string): number;
618
- /**
619
- * Specifies the value to disable/enable the Tab component.
620
- * When set to `true`, the component will be disabled.
621
- *
622
- * @param {boolean} value - Based on this Boolean value, Tab will be enabled (false) or disabled (true).
623
- * @returns {void}.
624
- */
625
- disable(value: boolean): void;
626
- /**
627
- * Get the properties to be maintained in the persisted state.
628
- *
629
- * @returns {string} - It returns the persisted state.
630
- */
631
- protected getPersistData(): string;
632
- /**
633
- * Returns the current module name.
634
- *
635
- * @returns {string} - It returns the current module name.
636
- * @private
637
- */
638
- protected getModuleName(): string;
639
- /**
640
- * Gets called when the model property changes.The data that describes the old and new values of the property that changed.
641
- *
642
- * @param {TabModel} newProp - It contains the new value of data.
643
- * @param {TabModel} oldProp - It contains the old value of data.
644
- * @returns {void}
645
- * @private
646
- */
647
- onPropertyChanged(newProp: TabModel, oldProp: TabModel): void;
648
- refreshActiveTab(): void;
649
- }
650
- export {};
@@ -1,5 +0,0 @@
1
- /**
2
- * Toolbar modules
3
- */
4
- export * from './toolbar';
5
- export * from './toolbar-model';