@exhaustive-ui/core 3.0.0-alpha.0 → 3.0.0-alpha.1

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 (265) hide show
  1. package/fesm2022/exhaustive-ui-core-accordion.mjs +51 -78
  2. package/fesm2022/exhaustive-ui-core-accordion.mjs.map +1 -1
  3. package/fesm2022/exhaustive-ui-core-animateonscroll.mjs +72 -73
  4. package/fesm2022/exhaustive-ui-core-animateonscroll.mjs.map +1 -1
  5. package/fesm2022/exhaustive-ui-core-api.mjs +6 -13
  6. package/fesm2022/exhaustive-ui-core-api.mjs.map +1 -1
  7. package/fesm2022/exhaustive-ui-core-autocomplete.mjs +485 -683
  8. package/fesm2022/exhaustive-ui-core-autocomplete.mjs.map +1 -1
  9. package/fesm2022/exhaustive-ui-core-autofocus.mjs +21 -31
  10. package/fesm2022/exhaustive-ui-core-autofocus.mjs.map +1 -1
  11. package/fesm2022/exhaustive-ui-core-avatar.mjs +47 -63
  12. package/fesm2022/exhaustive-ui-core-avatar.mjs.map +1 -1
  13. package/fesm2022/exhaustive-ui-core-badge.mjs +88 -115
  14. package/fesm2022/exhaustive-ui-core-badge.mjs.map +1 -1
  15. package/fesm2022/exhaustive-ui-core-blockui.mjs +58 -91
  16. package/fesm2022/exhaustive-ui-core-blockui.mjs.map +1 -1
  17. package/fesm2022/exhaustive-ui-core-breadcrumb.mjs +155 -169
  18. package/fesm2022/exhaustive-ui-core-breadcrumb.mjs.map +1 -1
  19. package/fesm2022/exhaustive-ui-core-button.mjs +280 -385
  20. package/fesm2022/exhaustive-ui-core-button.mjs.map +1 -1
  21. package/fesm2022/exhaustive-ui-core-carousel.mjs +379 -451
  22. package/fesm2022/exhaustive-ui-core-carousel.mjs.map +1 -1
  23. package/fesm2022/exhaustive-ui-core-cascadeselect.mjs +388 -507
  24. package/fesm2022/exhaustive-ui-core-cascadeselect.mjs.map +1 -1
  25. package/fesm2022/exhaustive-ui-core-chart.mjs +75 -91
  26. package/fesm2022/exhaustive-ui-core-chart.mjs.map +1 -1
  27. package/fesm2022/exhaustive-ui-core-checkbox.mjs +109 -160
  28. package/fesm2022/exhaustive-ui-core-checkbox.mjs.map +1 -1
  29. package/fesm2022/exhaustive-ui-core-chip.mjs +98 -137
  30. package/fesm2022/exhaustive-ui-core-chip.mjs.map +1 -1
  31. package/fesm2022/exhaustive-ui-core-colorpicker.mjs +123 -190
  32. package/fesm2022/exhaustive-ui-core-colorpicker.mjs.map +1 -1
  33. package/fesm2022/exhaustive-ui-core-confirmdialog.mjs +157 -332
  34. package/fesm2022/exhaustive-ui-core-confirmdialog.mjs.map +1 -1
  35. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs +187 -210
  36. package/fesm2022/exhaustive-ui-core-confirmpopup.mjs.map +1 -1
  37. package/fesm2022/exhaustive-ui-core-contextmenu.mjs +315 -361
  38. package/fesm2022/exhaustive-ui-core-contextmenu.mjs.map +1 -1
  39. package/fesm2022/exhaustive-ui-core-dataview.mjs +225 -272
  40. package/fesm2022/exhaustive-ui-core-dataview.mjs.map +1 -1
  41. package/fesm2022/exhaustive-ui-core-datepicker.mjs +1012 -1157
  42. package/fesm2022/exhaustive-ui-core-datepicker.mjs.map +1 -1
  43. package/fesm2022/exhaustive-ui-core-dialog.mjs +370 -507
  44. package/fesm2022/exhaustive-ui-core-dialog.mjs.map +1 -1
  45. package/fesm2022/exhaustive-ui-core-dock.mjs +87 -115
  46. package/fesm2022/exhaustive-ui-core-dock.mjs.map +1 -1
  47. package/fesm2022/exhaustive-ui-core-dragdrop.mjs +98 -105
  48. package/fesm2022/exhaustive-ui-core-dragdrop.mjs.map +1 -1
  49. package/fesm2022/exhaustive-ui-core-drawer.mjs +174 -235
  50. package/fesm2022/exhaustive-ui-core-drawer.mjs.map +1 -1
  51. package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs +42 -280
  52. package/fesm2022/exhaustive-ui-core-dynamicdialog.mjs.map +1 -1
  53. package/fesm2022/exhaustive-ui-core-editor.mjs +109 -121
  54. package/fesm2022/exhaustive-ui-core-editor.mjs.map +1 -1
  55. package/fesm2022/exhaustive-ui-core-fieldset.mjs +90 -132
  56. package/fesm2022/exhaustive-ui-core-fieldset.mjs.map +1 -1
  57. package/fesm2022/exhaustive-ui-core-fileupload.mjs +486 -541
  58. package/fesm2022/exhaustive-ui-core-fileupload.mjs.map +1 -1
  59. package/fesm2022/exhaustive-ui-core-floatlabel.mjs +13 -16
  60. package/fesm2022/exhaustive-ui-core-floatlabel.mjs.map +1 -1
  61. package/fesm2022/exhaustive-ui-core-focustrap.mjs +44 -40
  62. package/fesm2022/exhaustive-ui-core-focustrap.mjs.map +1 -1
  63. package/fesm2022/exhaustive-ui-core-galleria.mjs +642 -853
  64. package/fesm2022/exhaustive-ui-core-galleria.mjs.map +1 -1
  65. package/fesm2022/exhaustive-ui-core-iconfield.mjs +15 -27
  66. package/fesm2022/exhaustive-ui-core-iconfield.mjs.map +1 -1
  67. package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs +8 -13
  68. package/fesm2022/exhaustive-ui-core-icons-baseicon.mjs.map +1 -1
  69. package/fesm2022/exhaustive-ui-core-image.mjs +209 -251
  70. package/fesm2022/exhaustive-ui-core-image.mjs.map +1 -1
  71. package/fesm2022/exhaustive-ui-core-imagecompare.mjs +39 -48
  72. package/fesm2022/exhaustive-ui-core-imagecompare.mjs.map +1 -1
  73. package/fesm2022/exhaustive-ui-core-inplace.mjs +64 -98
  74. package/fesm2022/exhaustive-ui-core-inplace.mjs.map +1 -1
  75. package/fesm2022/exhaustive-ui-core-inputgroup.mjs +10 -20
  76. package/fesm2022/exhaustive-ui-core-inputgroup.mjs.map +1 -1
  77. package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs +15 -24
  78. package/fesm2022/exhaustive-ui-core-inputgroupaddon.mjs.map +1 -1
  79. package/fesm2022/exhaustive-ui-core-inputicon.mjs +11 -22
  80. package/fesm2022/exhaustive-ui-core-inputicon.mjs.map +1 -1
  81. package/fesm2022/exhaustive-ui-core-inputmask.mjs +423 -392
  82. package/fesm2022/exhaustive-ui-core-inputmask.mjs.map +1 -1
  83. package/fesm2022/exhaustive-ui-core-inputnumber.mjs +397 -469
  84. package/fesm2022/exhaustive-ui-core-inputnumber.mjs.map +1 -1
  85. package/fesm2022/exhaustive-ui-core-inputotp.mjs +75 -95
  86. package/fesm2022/exhaustive-ui-core-inputotp.mjs.map +1 -1
  87. package/fesm2022/exhaustive-ui-core-inputtext.mjs +27 -36
  88. package/fesm2022/exhaustive-ui-core-inputtext.mjs.map +1 -1
  89. package/fesm2022/exhaustive-ui-core-keyfilter.mjs +29 -46
  90. package/fesm2022/exhaustive-ui-core-keyfilter.mjs.map +1 -1
  91. package/fesm2022/exhaustive-ui-core-knob.mjs +140 -187
  92. package/fesm2022/exhaustive-ui-core-knob.mjs.map +1 -1
  93. package/fesm2022/exhaustive-ui-core-listbox.mjs +365 -546
  94. package/fesm2022/exhaustive-ui-core-listbox.mjs.map +1 -1
  95. package/fesm2022/exhaustive-ui-core-megamenu.mjs +320 -371
  96. package/fesm2022/exhaustive-ui-core-megamenu.mjs.map +1 -1
  97. package/fesm2022/exhaustive-ui-core-menu.mjs +298 -348
  98. package/fesm2022/exhaustive-ui-core-menu.mjs.map +1 -1
  99. package/fesm2022/exhaustive-ui-core-menubar.mjs +277 -372
  100. package/fesm2022/exhaustive-ui-core-menubar.mjs.map +1 -1
  101. package/fesm2022/exhaustive-ui-core-metergroup.mjs +138 -166
  102. package/fesm2022/exhaustive-ui-core-metergroup.mjs.map +1 -1
  103. package/fesm2022/exhaustive-ui-core-multiselect.mjs +647 -835
  104. package/fesm2022/exhaustive-ui-core-multiselect.mjs.map +1 -1
  105. package/fesm2022/exhaustive-ui-core-orderlist.mjs +337 -409
  106. package/fesm2022/exhaustive-ui-core-orderlist.mjs.map +1 -1
  107. package/fesm2022/exhaustive-ui-core-organizationchart.mjs +114 -175
  108. package/fesm2022/exhaustive-ui-core-organizationchart.mjs.map +1 -1
  109. package/fesm2022/exhaustive-ui-core-overlaybadge.mjs +22 -47
  110. package/fesm2022/exhaustive-ui-core-overlaybadge.mjs.map +1 -1
  111. package/fesm2022/exhaustive-ui-core-paginator.mjs +232 -320
  112. package/fesm2022/exhaustive-ui-core-paginator.mjs.map +1 -1
  113. package/fesm2022/exhaustive-ui-core-panel.mjs +114 -174
  114. package/fesm2022/exhaustive-ui-core-panel.mjs.map +1 -1
  115. package/fesm2022/exhaustive-ui-core-panelmenu.mjs +171 -282
  116. package/fesm2022/exhaustive-ui-core-panelmenu.mjs.map +1 -1
  117. package/fesm2022/exhaustive-ui-core-password.mjs +317 -377
  118. package/fesm2022/exhaustive-ui-core-password.mjs.map +1 -1
  119. package/fesm2022/exhaustive-ui-core-picklist.mjs +557 -655
  120. package/fesm2022/exhaustive-ui-core-picklist.mjs.map +1 -1
  121. package/fesm2022/exhaustive-ui-core-popover.mjs +154 -181
  122. package/fesm2022/exhaustive-ui-core-popover.mjs.map +1 -1
  123. package/fesm2022/exhaustive-ui-core-rating.mjs +87 -119
  124. package/fesm2022/exhaustive-ui-core-rating.mjs.map +1 -1
  125. package/fesm2022/exhaustive-ui-core-scroller.mjs +465 -596
  126. package/fesm2022/exhaustive-ui-core-scroller.mjs.map +1 -1
  127. package/fesm2022/exhaustive-ui-core-scrollpanel.mjs +147 -155
  128. package/fesm2022/exhaustive-ui-core-scrollpanel.mjs.map +1 -1
  129. package/fesm2022/exhaustive-ui-core-scrolltop.mjs +81 -115
  130. package/fesm2022/exhaustive-ui-core-scrolltop.mjs.map +1 -1
  131. package/fesm2022/exhaustive-ui-core-select.mjs +581 -784
  132. package/fesm2022/exhaustive-ui-core-select.mjs.map +1 -1
  133. package/fesm2022/exhaustive-ui-core-selectbutton.mjs +84 -120
  134. package/fesm2022/exhaustive-ui-core-selectbutton.mjs.map +1 -1
  135. package/fesm2022/exhaustive-ui-core-slider.mjs +322 -352
  136. package/fesm2022/exhaustive-ui-core-slider.mjs.map +1 -1
  137. package/fesm2022/exhaustive-ui-core-speeddial.mjs +209 -268
  138. package/fesm2022/exhaustive-ui-core-speeddial.mjs.map +1 -1
  139. package/fesm2022/exhaustive-ui-core-splitbutton.mjs +153 -249
  140. package/fesm2022/exhaustive-ui-core-splitbutton.mjs.map +1 -1
  141. package/fesm2022/exhaustive-ui-core-splitter.mjs +221 -237
  142. package/fesm2022/exhaustive-ui-core-splitter.mjs.map +1 -1
  143. package/fesm2022/exhaustive-ui-core-steps.mjs +56 -72
  144. package/fesm2022/exhaustive-ui-core-steps.mjs.map +1 -1
  145. package/fesm2022/exhaustive-ui-core-styleclass.mjs +145 -146
  146. package/fesm2022/exhaustive-ui-core-styleclass.mjs.map +1 -1
  147. package/fesm2022/exhaustive-ui-core-table.mjs +2213 -2543
  148. package/fesm2022/exhaustive-ui-core-table.mjs.map +1 -1
  149. package/fesm2022/exhaustive-ui-core-terminal.mjs +50 -67
  150. package/fesm2022/exhaustive-ui-core-terminal.mjs.map +1 -1
  151. package/fesm2022/exhaustive-ui-core-textarea.mjs +23 -36
  152. package/fesm2022/exhaustive-ui-core-textarea.mjs.map +1 -1
  153. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs +318 -394
  154. package/fesm2022/exhaustive-ui-core-tieredmenu.mjs.map +1 -1
  155. package/fesm2022/exhaustive-ui-core-timeline.mjs +56 -74
  156. package/fesm2022/exhaustive-ui-core-timeline.mjs.map +1 -1
  157. package/fesm2022/exhaustive-ui-core-togglebutton.mjs +86 -129
  158. package/fesm2022/exhaustive-ui-core-togglebutton.mjs.map +1 -1
  159. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs +57 -94
  160. package/fesm2022/exhaustive-ui-core-toggleswitch.mjs.map +1 -1
  161. package/fesm2022/exhaustive-ui-core-toolbar.mjs +36 -55
  162. package/fesm2022/exhaustive-ui-core-toolbar.mjs.map +1 -1
  163. package/fesm2022/exhaustive-ui-core-tooltip.mjs +264 -343
  164. package/fesm2022/exhaustive-ui-core-tooltip.mjs.map +1 -1
  165. package/fesm2022/exhaustive-ui-core-tree.mjs +508 -639
  166. package/fesm2022/exhaustive-ui-core-tree.mjs.map +1 -1
  167. package/fesm2022/exhaustive-ui-core-treeselect.mjs +327 -421
  168. package/fesm2022/exhaustive-ui-core-treeselect.mjs.map +1 -1
  169. package/fesm2022/exhaustive-ui-core-treetable.mjs +1267 -1473
  170. package/fesm2022/exhaustive-ui-core-treetable.mjs.map +1 -1
  171. package/package.json +5 -5
  172. package/schematics/migrations/remove-dead-inputs/migration.js +213 -7
  173. package/schematics/migrations/renamed-inputs/migration.js +97 -0
  174. package/schematics/migrations/styleclass-to-class/migration.js +92 -1
  175. package/schematics/migrations.json +7 -2
  176. package/schematics/utils/removed-inputs.js +0 -0
  177. package/schematics/utils/renamed-inputs.js +175 -0
  178. package/schematics/utils/styleclass.js +24 -8
  179. package/schematics/utils/versions.json +8 -8
  180. package/types/exhaustive-ui-core-accordion.d.ts +8 -24
  181. package/types/exhaustive-ui-core-animateonscroll.d.ts +19 -21
  182. package/types/exhaustive-ui-core-api.d.ts +2 -3
  183. package/types/exhaustive-ui-core-autocomplete.d.ts +103 -176
  184. package/types/exhaustive-ui-core-autofocus.d.ts +4 -7
  185. package/types/exhaustive-ui-core-avatar.d.ts +18 -25
  186. package/types/exhaustive-ui-core-badge.d.ts +13 -27
  187. package/types/exhaustive-ui-core-blockui.d.ts +18 -30
  188. package/types/exhaustive-ui-core-breadcrumb.d.ts +21 -22
  189. package/types/exhaustive-ui-core-button.d.ts +57 -89
  190. package/types/exhaustive-ui-core-carousel.d.ts +56 -82
  191. package/types/exhaustive-ui-core-cascadeselect.d.ts +77 -111
  192. package/types/exhaustive-ui-core-chart.d.ts +21 -29
  193. package/types/exhaustive-ui-core-checkbox.d.ts +25 -39
  194. package/types/exhaustive-ui-core-chip.d.ts +31 -38
  195. package/types/exhaustive-ui-core-colorpicker.d.ts +23 -57
  196. package/types/exhaustive-ui-core-confirmdialog.d.ts +39 -109
  197. package/types/exhaustive-ui-core-confirmpopup.d.ts +24 -43
  198. package/types/exhaustive-ui-core-contextmenu.d.ts +54 -71
  199. package/types/exhaustive-ui-core-dataview.d.ts +42 -65
  200. package/types/exhaustive-ui-core-datepicker.d.ts +109 -191
  201. package/types/exhaustive-ui-core-dialog.d.ts +73 -123
  202. package/types/exhaustive-ui-core-dock.d.ts +16 -25
  203. package/types/exhaustive-ui-core-dragdrop.d.ts +32 -36
  204. package/types/exhaustive-ui-core-drawer.d.ts +32 -64
  205. package/types/exhaustive-ui-core-dynamicdialog.d.ts +9 -54
  206. package/types/exhaustive-ui-core-editor.d.ts +15 -25
  207. package/types/exhaustive-ui-core-fieldset.d.ts +15 -35
  208. package/types/exhaustive-ui-core-fileupload.d.ts +69 -95
  209. package/types/exhaustive-ui-core-floatlabel.d.ts +4 -6
  210. package/types/exhaustive-ui-core-focustrap.d.ts +5 -10
  211. package/types/exhaustive-ui-core-galleria.d.ts +124 -194
  212. package/types/exhaustive-ui-core-iconfield.d.ts +5 -13
  213. package/types/exhaustive-ui-core-icons-baseicon.d.ts +4 -5
  214. package/types/exhaustive-ui-core-image.d.ts +35 -68
  215. package/types/exhaustive-ui-core-imagecompare.d.ts +19 -20
  216. package/types/exhaustive-ui-core-inplace.d.ts +30 -42
  217. package/types/exhaustive-ui-core-inputgroup.d.ts +2 -9
  218. package/types/exhaustive-ui-core-inputgroupaddon.d.ts +6 -10
  219. package/types/exhaustive-ui-core-inputicon.d.ts +4 -11
  220. package/types/exhaustive-ui-core-inputmask.d.ts +53 -66
  221. package/types/exhaustive-ui-core-inputnumber.d.ts +62 -84
  222. package/types/exhaustive-ui-core-inputotp.d.ts +16 -20
  223. package/types/exhaustive-ui-core-inputtext.d.ts +5 -8
  224. package/types/exhaustive-ui-core-keyfilter.d.ts +11 -15
  225. package/types/exhaustive-ui-core-knob.d.ts +45 -60
  226. package/types/exhaustive-ui-core-listbox.d.ts +90 -126
  227. package/types/exhaustive-ui-core-megamenu.d.ts +45 -66
  228. package/types/exhaustive-ui-core-menu.d.ts +33 -53
  229. package/types/exhaustive-ui-core-menubar.d.ts +38 -85
  230. package/types/exhaustive-ui-core-metergroup.d.ts +39 -48
  231. package/types/exhaustive-ui-core-multiselect.d.ts +166 -219
  232. package/types/exhaustive-ui-core-orderlist.d.ts +58 -81
  233. package/types/exhaustive-ui-core-organizationchart.d.ts +32 -67
  234. package/types/exhaustive-ui-core-overlaybadge.d.ts +10 -20
  235. package/types/exhaustive-ui-core-paginator.d.ts +41 -69
  236. package/types/exhaustive-ui-core-panel.d.ts +18 -45
  237. package/types/exhaustive-ui-core-panelmenu.d.ts +31 -76
  238. package/types/exhaustive-ui-core-password.d.ts +56 -93
  239. package/types/exhaustive-ui-core-picklist.d.ts +107 -121
  240. package/types/exhaustive-ui-core-popover.d.ts +23 -47
  241. package/types/exhaustive-ui-core-rating.d.ts +18 -26
  242. package/types/exhaustive-ui-core-scroller.d.ts +90 -120
  243. package/types/exhaustive-ui-core-scrollpanel.d.ts +35 -46
  244. package/types/exhaustive-ui-core-scrolltop.d.ts +28 -45
  245. package/types/exhaustive-ui-core-select.d.ts +137 -188
  246. package/types/exhaustive-ui-core-selectbutton.d.ts +35 -44
  247. package/types/exhaustive-ui-core-slider.d.ts +52 -67
  248. package/types/exhaustive-ui-core-speeddial.d.ts +40 -56
  249. package/types/exhaustive-ui-core-splitbutton.d.ts +31 -71
  250. package/types/exhaustive-ui-core-splitter.d.ts +47 -59
  251. package/types/exhaustive-ui-core-steps.d.ts +24 -31
  252. package/types/exhaustive-ui-core-styleclass.d.ts +27 -33
  253. package/types/exhaustive-ui-core-table.d.ts +349 -453
  254. package/types/exhaustive-ui-core-terminal.d.ts +10 -22
  255. package/types/exhaustive-ui-core-textarea.d.ts +7 -10
  256. package/types/exhaustive-ui-core-tieredmenu.d.ts +49 -84
  257. package/types/exhaustive-ui-core-timeline.d.ts +20 -28
  258. package/types/exhaustive-ui-core-togglebutton.d.ts +32 -48
  259. package/types/exhaustive-ui-core-toggleswitch.d.ts +26 -37
  260. package/types/exhaustive-ui-core-toolbar.d.ts +17 -25
  261. package/types/exhaustive-ui-core-tooltip.d.ts +53 -88
  262. package/types/exhaustive-ui-core-tree.d.ts +82 -119
  263. package/types/exhaustive-ui-core-treeselect.d.ts +63 -92
  264. package/types/exhaustive-ui-core-treetable.d.ts +203 -280
  265. package/types/exhaustive-ui-core-types-chip.d.ts +1 -1
@@ -2,7 +2,7 @@ export * from '@exhaustive-ui/core/types/timeline';
2
2
  import * as i2 from '@angular/common';
3
3
  import { CommonModule } from '@angular/common';
4
4
  import * as i0 from '@angular/core';
5
- import { Injectable, InjectionToken, inject, contentChild, contentChildren, Input, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
5
+ import { Injectable, inject, afterEveryRender, input, contentChild, contentChildren, computed, ViewEncapsulation, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
6
6
  import { PrimeTemplate, SharedModule } from '@exhaustive-ui/core/api';
7
7
  import { BaseComponent, PARENT_INSTANCE } from '@exhaustive-ui/core/basecomponent';
8
8
  import * as i1 from '@exhaustive-ui/core/bind';
@@ -11,7 +11,7 @@ import { style } from '@exhaustive-ui/styles/timeline';
11
11
  import { BaseStyle } from '@exhaustive-ui/core/base';
12
12
 
13
13
  const classes = {
14
- root: ({ instance }) => ['p-timeline p-component', 'p-timeline-' + instance.align, 'p-timeline-' + instance.layout],
14
+ root: ({ instance }) => ['p-timeline p-component', 'p-timeline-' + instance.align(), 'p-timeline-' + instance.layout()],
15
15
  event: 'p-timeline-event',
16
16
  eventOpposite: 'p-timeline-event-opposite',
17
17
  eventSeparator: 'p-timeline-event-separator',
@@ -70,7 +70,6 @@ var TimelineClasses;
70
70
  TimelineClasses["eventContent"] = "p-timeline-event-content";
71
71
  })(TimelineClasses || (TimelineClasses = {}));
72
72
 
73
- const TIMELINE_INSTANCE = new InjectionToken('TIMELINE_INSTANCE');
74
73
  /**
75
74
  * Timeline visualizes a series of chained events.
76
75
  * @group Components
@@ -78,31 +77,28 @@ const TIMELINE_INSTANCE = new InjectionToken('TIMELINE_INSTANCE');
78
77
  class Timeline extends BaseComponent {
79
78
  componentName = 'Timeline';
80
79
  bindDirectiveInstance = inject(Bind, { self: true });
81
- $pcTimeline = inject(TIMELINE_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;
82
- onAfterViewChecked() {
83
- this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));
80
+ constructor() {
81
+ super();
82
+ afterEveryRender(() => this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root'])));
84
83
  }
85
84
  /**
86
85
  * An array of events to display.
87
86
  * @group Props
88
87
  */
89
- value;
90
- /**
91
- * Style class of the component.
92
- * @deprecated since v20.0.0, use `class` instead.
93
- * @group Props
94
- */
95
- styleClass;
88
+ value = input(/* @ts-ignore */
89
+ ...(ngDevMode ? [undefined, { debugName: "value" }] : /* istanbul ignore next */ []));
96
90
  /**
97
91
  * Position of the timeline bar relative to the content. Valid values are "left", "right" for vertical layout and "top", "bottom" for horizontal layout.
98
92
  * @group Props
99
93
  */
100
- align = 'left';
94
+ align = input('left', /* @ts-ignore */
95
+ ...(ngDevMode ? [{ debugName: "align" }] : /* istanbul ignore next */ []));
101
96
  /**
102
97
  * Orientation of the timeline.
103
98
  * @group Props
104
99
  */
105
- layout = 'vertical';
100
+ layout = input('vertical', /* @ts-ignore */
101
+ ...(ngDevMode ? [{ debugName: "layout" }] : /* istanbul ignore next */ []));
106
102
  /**
107
103
  * Custom content template.
108
104
  * @param {TimelineItemTemplateContext} context - item context.
@@ -126,53 +122,48 @@ class Timeline extends BaseComponent {
126
122
  markerTemplate = contentChild('marker', { ...(ngDevMode ? { debugName: "markerTemplate" } : /* istanbul ignore next */ {}), descendants: false });
127
123
  templates = contentChildren(PrimeTemplate, /* @ts-ignore */
128
124
  ...(ngDevMode ? [{ debugName: "templates" }] : /* istanbul ignore next */ []));
129
- _contentTemplate;
130
- _oppositeTemplate;
131
- _markerTemplate;
125
+ _contentTemplate = computed(() => this.templates()
126
+ .filter((item) => item.getType() === 'content')
127
+ .at(-1)?.template, /* @ts-ignore */
128
+ ...(ngDevMode ? [{ debugName: "_contentTemplate" }] : /* istanbul ignore next */ []));
129
+ _oppositeTemplate = computed(() => this.templates()
130
+ .filter((item) => item.getType() === 'opposite')
131
+ .at(-1)?.template, /* @ts-ignore */
132
+ ...(ngDevMode ? [{ debugName: "_oppositeTemplate" }] : /* istanbul ignore next */ []));
133
+ _markerTemplate = computed(() => this.templates()
134
+ .filter((item) => item.getType() === 'marker')
135
+ .at(-1)?.template, /* @ts-ignore */
136
+ ...(ngDevMode ? [{ debugName: "_markerTemplate" }] : /* istanbul ignore next */ []));
132
137
  _componentStyle = inject(TimelineStyle);
133
138
  getBlockableElement() {
134
139
  return this.el.nativeElement.children[0];
135
140
  }
136
- onAfterContentInit() {
137
- this.templates().forEach((item) => {
138
- switch (item.getType()) {
139
- case 'content':
140
- this._contentTemplate = item.template;
141
- break;
142
- case 'opposite':
143
- this._oppositeTemplate = item.template;
144
- break;
145
- case 'marker':
146
- this._markerTemplate = item.template;
147
- break;
148
- }
149
- });
150
- }
151
- get dataP() {
141
+ dataP = computed(() => {
152
142
  return this.cn({
153
- [this.layout]: this.layout,
154
- [this.align]: this.align
143
+ [this.layout()]: this.layout(),
144
+ [this.align()]: this.align()
155
145
  });
156
- }
157
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Timeline, deps: null, target: i0.ɵɵFactoryTarget.Component });
158
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: Timeline, isStandalone: true, selector: "p-timeline", inputs: { value: "value", styleClass: "styleClass", align: "align", layout: "layout" }, host: { properties: { "class": "cn(cx('root'), styleClass)", "attr.data-p": "dataP" } }, providers: [TimelineStyle, { provide: TIMELINE_INSTANCE, useExisting: Timeline }, { provide: PARENT_INSTANCE, useExisting: Timeline }], queries: [{ propertyName: "contentTemplate", first: true, predicate: ["content"], isSignal: true }, { propertyName: "oppositeTemplate", first: true, predicate: ["opposite"], isSignal: true }, { propertyName: "markerTemplate", first: true, predicate: ["marker"], isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
159
- @for (event of value; track event; let last = $last) {
160
- <div [pBind]="ptm('event')" [class]="cx('event')" [attr.data-p]="dataP">
161
- <div [pBind]="ptm('eventOpposite')" [class]="cx('eventOpposite')" [attr.data-p]="dataP">
162
- <ng-container *ngTemplateOutlet="oppositeTemplate() || _oppositeTemplate; context: { $implicit: event }"></ng-container>
146
+ }, /* @ts-ignore */
147
+ ...(ngDevMode ? [{ debugName: "dataP" }] : /* istanbul ignore next */ []));
148
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: Timeline, deps: [], target: i0.ɵɵFactoryTarget.Component });
149
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.2.1", type: Timeline, isStandalone: true, selector: "p-timeline", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, align: { classPropertyName: "align", publicName: "align", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "cx('root')", "attr.data-p": "dataP()" } }, providers: [TimelineStyle, { provide: PARENT_INSTANCE, useExisting: Timeline }], queries: [{ propertyName: "contentTemplate", first: true, predicate: ["content"], isSignal: true }, { propertyName: "oppositeTemplate", first: true, predicate: ["opposite"], isSignal: true }, { propertyName: "markerTemplate", first: true, predicate: ["marker"], isSignal: true }, { propertyName: "templates", predicate: PrimeTemplate, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: i1.Bind }], ngImport: i0, template: `
150
+ @for (event of value(); track event; let last = $last) {
151
+ <div [pBind]="ptm('event')" [class]="cx('event')" [attr.data-p]="dataP()">
152
+ <div [pBind]="ptm('eventOpposite')" [class]="cx('eventOpposite')" [attr.data-p]="dataP()">
153
+ <ng-container *ngTemplateOutlet="oppositeTemplate() || _oppositeTemplate(); context: { $implicit: event }"></ng-container>
163
154
  </div>
164
- <div [pBind]="ptm('eventSeparator')" [class]="cx('eventSeparator')" [attr.data-p]="dataP">
165
- @if (markerTemplate() || _markerTemplate) {
166
- <ng-container *ngTemplateOutlet="markerTemplate() || _markerTemplate; context: { $implicit: event }"></ng-container>
155
+ <div [pBind]="ptm('eventSeparator')" [class]="cx('eventSeparator')" [attr.data-p]="dataP()">
156
+ @if (markerTemplate() || _markerTemplate()) {
157
+ <ng-container *ngTemplateOutlet="markerTemplate() || _markerTemplate(); context: { $implicit: event }"></ng-container>
167
158
  } @else {
168
- <div [pBind]="ptm('eventMarker')" [class]="cx('eventMarker')" [attr.data-p]="dataP"></div>
159
+ <div [pBind]="ptm('eventMarker')" [class]="cx('eventMarker')" [attr.data-p]="dataP()"></div>
169
160
  }
170
161
  @if (!last) {
171
- <div [pBind]="ptm('eventConnector')" [class]="cx('eventConnector')" [attr.data-p]="dataP"></div>
162
+ <div [pBind]="ptm('eventConnector')" [class]="cx('eventConnector')" [attr.data-p]="dataP()"></div>
172
163
  }
173
164
  </div>
174
- <div [pBind]="ptm('eventContent')" [class]="cx('eventContent')" [attr.data-p]="dataP">
175
- <ng-container *ngTemplateOutlet="contentTemplate() || _contentTemplate; context: { $implicit: event }"></ng-container>
165
+ <div [pBind]="ptm('eventContent')" [class]="cx('eventContent')" [attr.data-p]="dataP()">
166
+ <ng-container *ngTemplateOutlet="contentTemplate() || _contentTemplate(); context: { $implicit: event }"></ng-container>
176
167
  </div>
177
168
  </div>
178
169
  }
@@ -182,48 +173,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.2.1", ngImpor
182
173
  type: Component,
183
174
  args: [{
184
175
  selector: 'p-timeline',
185
- standalone: true,
186
176
  imports: [CommonModule, SharedModule, Bind],
187
177
  template: `
188
- @for (event of value; track event; let last = $last) {
189
- <div [pBind]="ptm('event')" [class]="cx('event')" [attr.data-p]="dataP">
190
- <div [pBind]="ptm('eventOpposite')" [class]="cx('eventOpposite')" [attr.data-p]="dataP">
191
- <ng-container *ngTemplateOutlet="oppositeTemplate() || _oppositeTemplate; context: { $implicit: event }"></ng-container>
178
+ @for (event of value(); track event; let last = $last) {
179
+ <div [pBind]="ptm('event')" [class]="cx('event')" [attr.data-p]="dataP()">
180
+ <div [pBind]="ptm('eventOpposite')" [class]="cx('eventOpposite')" [attr.data-p]="dataP()">
181
+ <ng-container *ngTemplateOutlet="oppositeTemplate() || _oppositeTemplate(); context: { $implicit: event }"></ng-container>
192
182
  </div>
193
- <div [pBind]="ptm('eventSeparator')" [class]="cx('eventSeparator')" [attr.data-p]="dataP">
194
- @if (markerTemplate() || _markerTemplate) {
195
- <ng-container *ngTemplateOutlet="markerTemplate() || _markerTemplate; context: { $implicit: event }"></ng-container>
183
+ <div [pBind]="ptm('eventSeparator')" [class]="cx('eventSeparator')" [attr.data-p]="dataP()">
184
+ @if (markerTemplate() || _markerTemplate()) {
185
+ <ng-container *ngTemplateOutlet="markerTemplate() || _markerTemplate(); context: { $implicit: event }"></ng-container>
196
186
  } @else {
197
- <div [pBind]="ptm('eventMarker')" [class]="cx('eventMarker')" [attr.data-p]="dataP"></div>
187
+ <div [pBind]="ptm('eventMarker')" [class]="cx('eventMarker')" [attr.data-p]="dataP()"></div>
198
188
  }
199
189
  @if (!last) {
200
- <div [pBind]="ptm('eventConnector')" [class]="cx('eventConnector')" [attr.data-p]="dataP"></div>
190
+ <div [pBind]="ptm('eventConnector')" [class]="cx('eventConnector')" [attr.data-p]="dataP()"></div>
201
191
  }
202
192
  </div>
203
- <div [pBind]="ptm('eventContent')" [class]="cx('eventContent')" [attr.data-p]="dataP">
204
- <ng-container *ngTemplateOutlet="contentTemplate() || _contentTemplate; context: { $implicit: event }"></ng-container>
193
+ <div [pBind]="ptm('eventContent')" [class]="cx('eventContent')" [attr.data-p]="dataP()">
194
+ <ng-container *ngTemplateOutlet="contentTemplate() || _contentTemplate(); context: { $implicit: event }"></ng-container>
205
195
  </div>
206
196
  </div>
207
197
  }
208
198
  `,
209
199
  changeDetection: ChangeDetectionStrategy.OnPush,
210
200
  encapsulation: ViewEncapsulation.None,
211
- providers: [TimelineStyle, { provide: TIMELINE_INSTANCE, useExisting: Timeline }, { provide: PARENT_INSTANCE, useExisting: Timeline }],
201
+ providers: [TimelineStyle, { provide: PARENT_INSTANCE, useExisting: Timeline }],
212
202
  host: {
213
- '[class]': "cn(cx('root'), styleClass)",
214
- '[attr.data-p]': 'dataP'
203
+ '[class]': "cx('root')",
204
+ '[attr.data-p]': 'dataP()'
215
205
  },
216
206
  hostDirectives: [Bind]
217
207
  }]
218
- }], propDecorators: { value: [{
219
- type: Input
220
- }], styleClass: [{
221
- type: Input
222
- }], align: [{
223
- type: Input
224
- }], layout: [{
225
- type: Input
226
- }], contentTemplate: [{ type: i0.ContentChild, args: ['content', { ...{ descendants: false }, isSignal: true }] }], oppositeTemplate: [{ type: i0.ContentChild, args: ['opposite', { ...{ descendants: false }, isSignal: true }] }], markerTemplate: [{ type: i0.ContentChild, args: ['marker', { ...{ descendants: false }, isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }] } });
208
+ }], ctorParameters: () => [], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], align: [{ type: i0.Input, args: [{ isSignal: true, alias: "align", required: false }] }], layout: [{ type: i0.Input, args: [{ isSignal: true, alias: "layout", required: false }] }], contentTemplate: [{ type: i0.ContentChild, args: ['content', { ...{ descendants: false }, isSignal: true }] }], oppositeTemplate: [{ type: i0.ContentChild, args: ['opposite', { ...{ descendants: false }, isSignal: true }] }], markerTemplate: [{ type: i0.ContentChild, args: ['marker', { ...{ descendants: false }, isSignal: true }] }], templates: [{ type: i0.ContentChildren, args: [i0.forwardRef(() => PrimeTemplate), { isSignal: true }] }] } });
227
209
  class TimelineModule {
228
210
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.2.1", ngImport: i0, type: TimelineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
229
211
  static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.2.1", ngImport: i0, type: TimelineModule, imports: [Timeline, SharedModule], exports: [Timeline, SharedModule] });
@@ -1 +1 @@
1
- {"version":3,"file":"exhaustive-ui-core-timeline.mjs","sources":["../../src/timeline/style/timelinestyle.ts","../../src/timeline/timeline.ts","../../src/timeline/exhaustive-ui-core-timeline.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style } from '@exhaustive-ui/styles/timeline';\nimport { BaseStyle } from '@exhaustive-ui/core/base';\n\nconst classes = {\n root: ({ instance }) => ['p-timeline p-component', 'p-timeline-' + instance.align, 'p-timeline-' + instance.layout],\n event: 'p-timeline-event',\n eventOpposite: 'p-timeline-event-opposite',\n eventSeparator: 'p-timeline-event-separator',\n eventMarker: 'p-timeline-event-marker',\n eventConnector: 'p-timeline-event-connector',\n eventContent: 'p-timeline-event-content'\n};\n\n@Injectable()\nexport class TimelineStyle extends BaseStyle {\n name = 'timeline';\n\n style = style;\n\n classes = classes;\n}\n\n/**\n *\n * Timeline visualizes a series of chained events.\n *\n * [Live Demo](https://exhaustive-ui.e-xiste.com/timeline)\n *\n * @module timelinestyle\n *\n */\nexport enum TimelineClasses {\n /**\n * Class name of the root element\n */\n root = 'p-timeline',\n /**\n * Class name of the event element\n */\n event = 'p-timeline-event',\n /**\n * Class name of the event opposite element\n */\n eventOpposite = 'p-timeline-event-opposite',\n /**\n * Class name of the event separator element\n */\n eventSeparator = 'p-timeline-event-separator',\n /**\n * Class name of the event marker element\n */\n eventMarker = 'p-timeline-event-marker',\n /**\n * Class name of the event connector element\n */\n eventConnector = 'p-timeline-event-connector',\n /**\n * Class name of the event content element\n */\n eventContent = 'p-timeline-event-content'\n}\n\nexport interface TimelineStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, inject, InjectionToken, Input, NgModule, TemplateRef, ViewEncapsulation, contentChild, contentChildren } from '@angular/core';\nimport { BlockableUI, PrimeTemplate, SharedModule } from '@exhaustive-ui/core/api';\nimport { BaseComponent, PARENT_INSTANCE } from '@exhaustive-ui/core/basecomponent';\nimport { Bind } from '@exhaustive-ui/core/bind';\nimport { Nullable } from '@exhaustive-ui/core/ts-helpers';\nimport { TimelineItemTemplateContext, TimelinePassThrough } from '@exhaustive-ui/core/types/timeline';\nimport { TimelineStyle } from './style/timelinestyle';\n\nconst TIMELINE_INSTANCE = new InjectionToken<Timeline>('TIMELINE_INSTANCE');\n\n/**\n * Timeline visualizes a series of chained events.\n * @group Components\n */\n@Component({\n selector: 'p-timeline',\n standalone: true,\n imports: [CommonModule, SharedModule, Bind],\n template: `\n @for (event of value; track event; let last = $last) {\n <div [pBind]=\"ptm('event')\" [class]=\"cx('event')\" [attr.data-p]=\"dataP\">\n <div [pBind]=\"ptm('eventOpposite')\" [class]=\"cx('eventOpposite')\" [attr.data-p]=\"dataP\">\n <ng-container *ngTemplateOutlet=\"oppositeTemplate() || _oppositeTemplate; context: { $implicit: event }\"></ng-container>\n </div>\n <div [pBind]=\"ptm('eventSeparator')\" [class]=\"cx('eventSeparator')\" [attr.data-p]=\"dataP\">\n @if (markerTemplate() || _markerTemplate) {\n <ng-container *ngTemplateOutlet=\"markerTemplate() || _markerTemplate; context: { $implicit: event }\"></ng-container>\n } @else {\n <div [pBind]=\"ptm('eventMarker')\" [class]=\"cx('eventMarker')\" [attr.data-p]=\"dataP\"></div>\n }\n @if (!last) {\n <div [pBind]=\"ptm('eventConnector')\" [class]=\"cx('eventConnector')\" [attr.data-p]=\"dataP\"></div>\n }\n </div>\n <div [pBind]=\"ptm('eventContent')\" [class]=\"cx('eventContent')\" [attr.data-p]=\"dataP\">\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate; context: { $implicit: event }\"></ng-container>\n </div>\n </div>\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [TimelineStyle, { provide: TIMELINE_INSTANCE, useExisting: Timeline }, { provide: PARENT_INSTANCE, useExisting: Timeline }],\n host: {\n '[class]': \"cn(cx('root'), styleClass)\",\n '[attr.data-p]': 'dataP'\n },\n hostDirectives: [Bind]\n})\nexport class Timeline extends BaseComponent<TimelinePassThrough> implements BlockableUI {\n componentName = 'Timeline';\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n $pcTimeline: Timeline | undefined = inject(TIMELINE_INSTANCE, { optional: true, skipSelf: true }) ?? undefined;\n\n onAfterViewChecked(): void {\n this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root']));\n }\n /**\n * An array of events to display.\n * @group Props\n */\n @Input() value: any[] | undefined;\n /**\n * Style class of the component.\n * @deprecated since v20.0.0, use `class` instead.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Position of the timeline bar relative to the content. Valid values are \"left\", \"right\" for vertical layout and \"top\", \"bottom\" for horizontal layout.\n * @group Props\n */\n @Input() align: string = 'left';\n /**\n * Orientation of the timeline.\n * @group Props\n */\n @Input() layout: 'vertical' | 'horizontal' = 'vertical';\n /**\n * Custom content template.\n * @param {TimelineItemTemplateContext} context - item context.\n * @see {@link TimelineItemTemplateContext}\n * @group Templates\n */\n readonly contentTemplate = contentChild<Nullable<TemplateRef<TimelineItemTemplateContext>>>('content', { descendants: false });\n\n /**\n * Custom opposite item template.\n * @param {TimelineItemTemplateContext} context - item context.\n * @see {@link TimelineItemTemplateContext}\n * @group Templates\n */\n readonly oppositeTemplate = contentChild<Nullable<TemplateRef<TimelineItemTemplateContext>>>('opposite', { descendants: false });\n\n /**\n * Custom marker template.\n * @param {TimelineItemTemplateContext} context - item context.\n * @see {@link TimelineItemTemplateContext}\n * @group Templates\n */\n readonly markerTemplate = contentChild<Nullable<TemplateRef<TimelineItemTemplateContext>>>('marker', { descendants: false });\n\n readonly templates = contentChildren(PrimeTemplate);\n\n _contentTemplate: TemplateRef<TimelineItemTemplateContext> | undefined;\n\n _oppositeTemplate: TemplateRef<TimelineItemTemplateContext> | undefined;\n\n _markerTemplate: TemplateRef<TimelineItemTemplateContext> | undefined;\n\n _componentStyle = inject(TimelineStyle);\n\n getBlockableElement(): HTMLElement {\n return this.el.nativeElement.children[0];\n }\n\n onAfterContentInit() {\n this.templates().forEach((item) => {\n switch (item.getType()) {\n case 'content':\n this._contentTemplate = item.template;\n break;\n\n case 'opposite':\n this._oppositeTemplate = item.template;\n break;\n\n case 'marker':\n this._markerTemplate = item.template;\n break;\n }\n });\n }\n\n get dataP() {\n return this.cn({\n [this.layout]: this.layout,\n [this.align]: this.align\n });\n }\n}\n\n@NgModule({\n imports: [Timeline, SharedModule],\n exports: [Timeline, SharedModule]\n})\nexport class TimelineModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;AAIA,MAAM,OAAO,GAAG;IACZ,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK,CAAC,wBAAwB,EAAE,aAAa,GAAG,QAAQ,CAAC,KAAK,EAAE,aAAa,GAAG,QAAQ,CAAC,MAAM,CAAC;AACnH,IAAA,KAAK,EAAE,kBAAkB;AACzB,IAAA,aAAa,EAAE,2BAA2B;AAC1C,IAAA,cAAc,EAAE,4BAA4B;AAC5C,IAAA,WAAW,EAAE,yBAAyB;AACtC,IAAA,cAAc,EAAE,4BAA4B;AAC5C,IAAA,YAAY,EAAE;CACjB;AAGK,MAAO,aAAc,SAAQ,SAAS,CAAA;IACxC,IAAI,GAAG,UAAU;IAEjB,KAAK,GAAG,KAAK;IAEb,OAAO,GAAG,OAAO;uGALR,aAAa,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA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,QAAQ,EAAE,YAAY,EACZ,YAAY,CAAA,EAAA,CAAA;;2FAEvB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,QAAQ,EAAE,YAAY,CAAC;AACjC,oBAAA,OAAO,EAAE,CAAC,QAAQ,EAAE,YAAY;AACnC,iBAAA;;;ACpJD;;AAEG;;;;"}
1
+ {"version":3,"file":"exhaustive-ui-core-timeline.mjs","sources":["../../src/timeline/style/timelinestyle.ts","../../src/timeline/timeline.ts","../../src/timeline/exhaustive-ui-core-timeline.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style } from '@exhaustive-ui/styles/timeline';\nimport { BaseStyle } from '@exhaustive-ui/core/base';\n\nconst classes = {\n root: ({ instance }) => ['p-timeline p-component', 'p-timeline-' + instance.align(), 'p-timeline-' + instance.layout()],\n event: 'p-timeline-event',\n eventOpposite: 'p-timeline-event-opposite',\n eventSeparator: 'p-timeline-event-separator',\n eventMarker: 'p-timeline-event-marker',\n eventConnector: 'p-timeline-event-connector',\n eventContent: 'p-timeline-event-content'\n};\n\n@Injectable()\nexport class TimelineStyle extends BaseStyle {\n name = 'timeline';\n\n style = style;\n\n classes = classes;\n}\n\n/**\n *\n * Timeline visualizes a series of chained events.\n *\n * [Live Demo](https://exhaustive-ui.e-xiste.com/timeline)\n *\n * @module timelinestyle\n *\n */\nexport enum TimelineClasses {\n /**\n * Class name of the root element\n */\n root = 'p-timeline',\n /**\n * Class name of the event element\n */\n event = 'p-timeline-event',\n /**\n * Class name of the event opposite element\n */\n eventOpposite = 'p-timeline-event-opposite',\n /**\n * Class name of the event separator element\n */\n eventSeparator = 'p-timeline-event-separator',\n /**\n * Class name of the event marker element\n */\n eventMarker = 'p-timeline-event-marker',\n /**\n * Class name of the event connector element\n */\n eventConnector = 'p-timeline-event-connector',\n /**\n * Class name of the event content element\n */\n eventContent = 'p-timeline-event-content'\n}\n\nexport interface TimelineStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport { afterEveryRender, ChangeDetectionStrategy, Component, computed, inject, input, NgModule, TemplateRef, ViewEncapsulation, contentChild, contentChildren } from '@angular/core';\nimport { BlockableUI, PrimeTemplate, SharedModule } from '@exhaustive-ui/core/api';\nimport { BaseComponent, PARENT_INSTANCE } from '@exhaustive-ui/core/basecomponent';\nimport { Bind } from '@exhaustive-ui/core/bind';\nimport { Nullable } from '@exhaustive-ui/core/ts-helpers';\nimport { TimelineItemTemplateContext, TimelinePassThrough } from '@exhaustive-ui/core/types/timeline';\nimport { TimelineStyle } from './style/timelinestyle';\n\n/**\n * Timeline visualizes a series of chained events.\n * @group Components\n */\n@Component({\n selector: 'p-timeline',\n imports: [CommonModule, SharedModule, Bind],\n template: `\n @for (event of value(); track event; let last = $last) {\n <div [pBind]=\"ptm('event')\" [class]=\"cx('event')\" [attr.data-p]=\"dataP()\">\n <div [pBind]=\"ptm('eventOpposite')\" [class]=\"cx('eventOpposite')\" [attr.data-p]=\"dataP()\">\n <ng-container *ngTemplateOutlet=\"oppositeTemplate() || _oppositeTemplate(); context: { $implicit: event }\"></ng-container>\n </div>\n <div [pBind]=\"ptm('eventSeparator')\" [class]=\"cx('eventSeparator')\" [attr.data-p]=\"dataP()\">\n @if (markerTemplate() || _markerTemplate()) {\n <ng-container *ngTemplateOutlet=\"markerTemplate() || _markerTemplate(); context: { $implicit: event }\"></ng-container>\n } @else {\n <div [pBind]=\"ptm('eventMarker')\" [class]=\"cx('eventMarker')\" [attr.data-p]=\"dataP()\"></div>\n }\n @if (!last) {\n <div [pBind]=\"ptm('eventConnector')\" [class]=\"cx('eventConnector')\" [attr.data-p]=\"dataP()\"></div>\n }\n </div>\n <div [pBind]=\"ptm('eventContent')\" [class]=\"cx('eventContent')\" [attr.data-p]=\"dataP()\">\n <ng-container *ngTemplateOutlet=\"contentTemplate() || _contentTemplate(); context: { $implicit: event }\"></ng-container>\n </div>\n </div>\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [TimelineStyle, { provide: PARENT_INSTANCE, useExisting: Timeline }],\n host: {\n '[class]': \"cx('root')\",\n '[attr.data-p]': 'dataP()'\n },\n hostDirectives: [Bind]\n})\nexport class Timeline extends BaseComponent<TimelinePassThrough> implements BlockableUI {\n componentName = 'Timeline';\n\n bindDirectiveInstance = inject(Bind, { self: true });\n\n constructor() {\n super();\n afterEveryRender(() => this.bindDirectiveInstance.setAttrs(this.ptms(['host', 'root'])));\n }\n /**\n * An array of events to display.\n * @group Props\n */\n readonly value = input<any[] | undefined>();\n /**\n * Position of the timeline bar relative to the content. Valid values are \"left\", \"right\" for vertical layout and \"top\", \"bottom\" for horizontal layout.\n * @group Props\n */\n readonly align = input<string>('left');\n /**\n * Orientation of the timeline.\n * @group Props\n */\n readonly layout = input<'vertical' | 'horizontal'>('vertical');\n /**\n * Custom content template.\n * @param {TimelineItemTemplateContext} context - item context.\n * @see {@link TimelineItemTemplateContext}\n * @group Templates\n */\n readonly contentTemplate = contentChild<Nullable<TemplateRef<TimelineItemTemplateContext>>>('content', { descendants: false });\n\n /**\n * Custom opposite item template.\n * @param {TimelineItemTemplateContext} context - item context.\n * @see {@link TimelineItemTemplateContext}\n * @group Templates\n */\n readonly oppositeTemplate = contentChild<Nullable<TemplateRef<TimelineItemTemplateContext>>>('opposite', { descendants: false });\n\n /**\n * Custom marker template.\n * @param {TimelineItemTemplateContext} context - item context.\n * @see {@link TimelineItemTemplateContext}\n * @group Templates\n */\n readonly markerTemplate = contentChild<Nullable<TemplateRef<TimelineItemTemplateContext>>>('marker', { descendants: false });\n\n readonly templates = contentChildren(PrimeTemplate);\n\n readonly _contentTemplate = computed<TemplateRef<TimelineItemTemplateContext> | undefined>(\n () =>\n this.templates()\n .filter((item) => item.getType() === 'content')\n .at(-1)?.template\n );\n\n readonly _oppositeTemplate = computed<TemplateRef<TimelineItemTemplateContext> | undefined>(\n () =>\n this.templates()\n .filter((item) => item.getType() === 'opposite')\n .at(-1)?.template\n );\n\n readonly _markerTemplate = computed<TemplateRef<TimelineItemTemplateContext> | undefined>(\n () =>\n this.templates()\n .filter((item) => item.getType() === 'marker')\n .at(-1)?.template\n );\n\n _componentStyle = inject(TimelineStyle);\n\n getBlockableElement(): HTMLElement {\n return this.el.nativeElement.children[0];\n }\n\n readonly dataP = computed(() => {\n return this.cn({\n [this.layout()]: this.layout(),\n [this.align()]: this.align()\n });\n });\n}\n\n@NgModule({\n imports: [Timeline, SharedModule],\n exports: [Timeline, SharedModule]\n})\nexport class TimelineModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;AAIA,MAAM,OAAO,GAAG;IACZ,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK,CAAC,wBAAwB,EAAE,aAAa,GAAG,QAAQ,CAAC,KAAK,EAAE,EAAE,aAAa,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC;AACvH,IAAA,KAAK,EAAE,kBAAkB;AACzB,IAAA,aAAa,EAAE,2BAA2B;AAC1C,IAAA,cAAc,EAAE,4BAA4B;AAC5C,IAAA,WAAW,EAAE,yBAAyB;AACtC,IAAA,cAAc,EAAE,4BAA4B;AAC5C,IAAA,YAAY,EAAE;CACjB;AAGK,MAAO,aAAc,SAAQ,SAAS,CAAA;IACxC,IAAI,GAAG,UAAU;IAEjB,KAAK,GAAG,KAAK;IAEb,OAAO,GAAG,OAAO;uGALR,aAAa,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;2GAAb,aAAa,EAAA,CAAA;;2FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBADzB;;AASD;;;;;;;;AAQG;IACS;AAAZ,CAAA,UAAY,eAAe,EAAA;AACvB;;AAEG;AACH,IAAA,eAAA,CAAA,MAAA,CAAA,GAAA,YAAmB;AACn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