primeng 19.0.5 → 19.0.7

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 (364) hide show
  1. package/badge/badge.d.ts +2 -2
  2. package/base/style/basestyle.d.ts +4 -6
  3. package/config/primeng.d.ts +3 -0
  4. package/dataview/dataview.interface.d.ts +9 -19
  5. package/datepicker/datepicker.d.ts +1 -0
  6. package/datepicker/style/datepickerstyle.d.ts +1 -0
  7. package/dragdrop/dragdrop.d.ts +3 -2
  8. package/dynamicdialog/dynamicdialog-config.d.ts +1 -1
  9. package/dynamicdialog/dynamicdialog.d.ts +2 -1
  10. package/fesm2022/primeng-accordion.mjs +347 -560
  11. package/fesm2022/primeng-accordion.mjs.map +1 -1
  12. package/fesm2022/primeng-animateonscroll.mjs +37 -40
  13. package/fesm2022/primeng-animateonscroll.mjs.map +1 -1
  14. package/fesm2022/primeng-api.mjs +79 -89
  15. package/fesm2022/primeng-api.mjs.map +1 -1
  16. package/fesm2022/primeng-autocomplete.mjs +507 -788
  17. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  18. package/fesm2022/primeng-autofocus.mjs +26 -27
  19. package/fesm2022/primeng-autofocus.mjs.map +1 -1
  20. package/fesm2022/primeng-avatar.mjs +72 -120
  21. package/fesm2022/primeng-avatar.mjs.map +1 -1
  22. package/fesm2022/primeng-avatargroup.mjs +44 -54
  23. package/fesm2022/primeng-avatargroup.mjs.map +1 -1
  24. package/fesm2022/primeng-badge.mjs +62 -71
  25. package/fesm2022/primeng-badge.mjs.map +1 -1
  26. package/fesm2022/primeng-base.mjs +14 -8
  27. package/fesm2022/primeng-base.mjs.map +1 -1
  28. package/fesm2022/primeng-basecomponent.mjs +17 -17
  29. package/fesm2022/primeng-basecomponent.mjs.map +1 -1
  30. package/fesm2022/primeng-blockui.mjs +66 -87
  31. package/fesm2022/primeng-blockui.mjs.map +1 -1
  32. package/fesm2022/primeng-breadcrumb.mjs +175 -386
  33. package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
  34. package/fesm2022/primeng-button.mjs +223 -328
  35. package/fesm2022/primeng-button.mjs.map +1 -1
  36. package/fesm2022/primeng-buttongroup.mjs +36 -40
  37. package/fesm2022/primeng-buttongroup.mjs.map +1 -1
  38. package/fesm2022/primeng-calendar.mjs +727 -1127
  39. package/fesm2022/primeng-calendar.mjs.map +1 -1
  40. package/fesm2022/primeng-card.mjs +89 -193
  41. package/fesm2022/primeng-card.mjs.map +1 -1
  42. package/fesm2022/primeng-carousel.mjs +227 -410
  43. package/fesm2022/primeng-carousel.mjs.map +1 -1
  44. package/fesm2022/primeng-cascadeselect.mjs +393 -577
  45. package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
  46. package/fesm2022/primeng-chart.mjs +57 -63
  47. package/fesm2022/primeng-chart.mjs.map +1 -1
  48. package/fesm2022/primeng-checkbox.mjs +133 -185
  49. package/fesm2022/primeng-checkbox.mjs.map +1 -1
  50. package/fesm2022/primeng-chip.mjs +92 -188
  51. package/fesm2022/primeng-chip.mjs.map +1 -1
  52. package/fesm2022/primeng-colorpicker.mjs +142 -167
  53. package/fesm2022/primeng-colorpicker.mjs.map +1 -1
  54. package/fesm2022/primeng-config.mjs +18 -16
  55. package/fesm2022/primeng-config.mjs.map +1 -1
  56. package/fesm2022/primeng-confirmdialog.mjs +220 -347
  57. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  58. package/fesm2022/primeng-confirmpopup.mjs +161 -251
  59. package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
  60. package/fesm2022/primeng-contextmenu.mjs +336 -450
  61. package/fesm2022/primeng-contextmenu.mjs.map +1 -1
  62. package/fesm2022/primeng-dataview.mjs +249 -352
  63. package/fesm2022/primeng-dataview.mjs.map +1 -1
  64. package/fesm2022/primeng-datepicker.mjs +751 -1144
  65. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  66. package/fesm2022/primeng-defer.mjs +25 -31
  67. package/fesm2022/primeng-defer.mjs.map +1 -1
  68. package/fesm2022/primeng-dialog.mjs +277 -478
  69. package/fesm2022/primeng-dialog.mjs.map +1 -1
  70. package/fesm2022/primeng-divider.mjs +68 -77
  71. package/fesm2022/primeng-divider.mjs.map +1 -1
  72. package/fesm2022/primeng-dock.mjs +138 -167
  73. package/fesm2022/primeng-dock.mjs.map +1 -1
  74. package/fesm2022/primeng-dragdrop.mjs +85 -79
  75. package/fesm2022/primeng-dragdrop.mjs.map +1 -1
  76. package/fesm2022/primeng-drawer.mjs +172 -269
  77. package/fesm2022/primeng-drawer.mjs.map +1 -1
  78. package/fesm2022/primeng-dropdown.mjs +531 -869
  79. package/fesm2022/primeng-dropdown.mjs.map +1 -1
  80. package/fesm2022/primeng-dynamicdialog.mjs +163 -304
  81. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  82. package/fesm2022/primeng-editor.mjs +118 -156
  83. package/fesm2022/primeng-editor.mjs.map +1 -1
  84. package/fesm2022/primeng-fieldset.mjs +153 -247
  85. package/fesm2022/primeng-fieldset.mjs.map +1 -1
  86. package/fesm2022/primeng-fileupload.mjs +370 -690
  87. package/fesm2022/primeng-fileupload.mjs.map +1 -1
  88. package/fesm2022/primeng-floatlabel.mjs +38 -46
  89. package/fesm2022/primeng-floatlabel.mjs.map +1 -1
  90. package/fesm2022/primeng-fluid.mjs +33 -41
  91. package/fesm2022/primeng-fluid.mjs.map +1 -1
  92. package/fesm2022/primeng-focustrap.mjs +23 -24
  93. package/fesm2022/primeng-focustrap.mjs.map +1 -1
  94. package/fesm2022/primeng-galleria.mjs +529 -761
  95. package/fesm2022/primeng-galleria.mjs.map +1 -1
  96. package/fesm2022/primeng-iconfield.mjs +42 -51
  97. package/fesm2022/primeng-iconfield.mjs.map +1 -1
  98. package/fesm2022/primeng-icons-angledoubledown.mjs +19 -19
  99. package/fesm2022/primeng-icons-angledoubledown.mjs.map +1 -1
  100. package/fesm2022/primeng-icons-angledoubleleft.mjs +19 -19
  101. package/fesm2022/primeng-icons-angledoubleleft.mjs.map +1 -1
  102. package/fesm2022/primeng-icons-angledoubleright.mjs +19 -19
  103. package/fesm2022/primeng-icons-angledoubleright.mjs.map +1 -1
  104. package/fesm2022/primeng-icons-angledoubleup.mjs +19 -19
  105. package/fesm2022/primeng-icons-angledoubleup.mjs.map +1 -1
  106. package/fesm2022/primeng-icons-angledown.mjs +17 -19
  107. package/fesm2022/primeng-icons-angledown.mjs.map +1 -1
  108. package/fesm2022/primeng-icons-angleleft.mjs +17 -19
  109. package/fesm2022/primeng-icons-angleleft.mjs.map +1 -1
  110. package/fesm2022/primeng-icons-angleright.mjs +17 -19
  111. package/fesm2022/primeng-icons-angleright.mjs.map +1 -1
  112. package/fesm2022/primeng-icons-angleup.mjs +17 -19
  113. package/fesm2022/primeng-icons-angleup.mjs.map +1 -1
  114. package/fesm2022/primeng-icons-arrowdown.mjs +26 -26
  115. package/fesm2022/primeng-icons-arrowdown.mjs.map +1 -1
  116. package/fesm2022/primeng-icons-arrowdownleft.mjs +17 -19
  117. package/fesm2022/primeng-icons-arrowdownleft.mjs.map +1 -1
  118. package/fesm2022/primeng-icons-arrowdownright.mjs +17 -19
  119. package/fesm2022/primeng-icons-arrowdownright.mjs.map +1 -1
  120. package/fesm2022/primeng-icons-arrowleft.mjs +26 -26
  121. package/fesm2022/primeng-icons-arrowleft.mjs.map +1 -1
  122. package/fesm2022/primeng-icons-arrowright.mjs +19 -19
  123. package/fesm2022/primeng-icons-arrowright.mjs.map +1 -1
  124. package/fesm2022/primeng-icons-arrowup.mjs +26 -26
  125. package/fesm2022/primeng-icons-arrowup.mjs.map +1 -1
  126. package/fesm2022/primeng-icons-ban.mjs +24 -26
  127. package/fesm2022/primeng-icons-ban.mjs.map +1 -1
  128. package/fesm2022/primeng-icons-bars.mjs +19 -19
  129. package/fesm2022/primeng-icons-bars.mjs.map +1 -1
  130. package/fesm2022/primeng-icons-baseicon.mjs +28 -33
  131. package/fesm2022/primeng-icons-baseicon.mjs.map +1 -1
  132. package/fesm2022/primeng-icons-blank.mjs +14 -16
  133. package/fesm2022/primeng-icons-blank.mjs.map +1 -1
  134. package/fesm2022/primeng-icons-calendar.mjs +17 -19
  135. package/fesm2022/primeng-icons-calendar.mjs.map +1 -1
  136. package/fesm2022/primeng-icons-caretleft.mjs +17 -19
  137. package/fesm2022/primeng-icons-caretleft.mjs.map +1 -1
  138. package/fesm2022/primeng-icons-caretright.mjs +17 -19
  139. package/fesm2022/primeng-icons-caretright.mjs.map +1 -1
  140. package/fesm2022/primeng-icons-check.mjs +17 -19
  141. package/fesm2022/primeng-icons-check.mjs.map +1 -1
  142. package/fesm2022/primeng-icons-chevrondown.mjs +17 -19
  143. package/fesm2022/primeng-icons-chevrondown.mjs.map +1 -1
  144. package/fesm2022/primeng-icons-chevronleft.mjs +17 -19
  145. package/fesm2022/primeng-icons-chevronleft.mjs.map +1 -1
  146. package/fesm2022/primeng-icons-chevronright.mjs +17 -19
  147. package/fesm2022/primeng-icons-chevronright.mjs.map +1 -1
  148. package/fesm2022/primeng-icons-chevronup.mjs +17 -19
  149. package/fesm2022/primeng-icons-chevronup.mjs.map +1 -1
  150. package/fesm2022/primeng-icons-exclamationtriangle.mjs +32 -26
  151. package/fesm2022/primeng-icons-exclamationtriangle.mjs.map +1 -1
  152. package/fesm2022/primeng-icons-eye.mjs +19 -19
  153. package/fesm2022/primeng-icons-eye.mjs.map +1 -1
  154. package/fesm2022/primeng-icons-eyeslash.mjs +26 -26
  155. package/fesm2022/primeng-icons-eyeslash.mjs.map +1 -1
  156. package/fesm2022/primeng-icons-filter.mjs +24 -26
  157. package/fesm2022/primeng-icons-filter.mjs.map +1 -1
  158. package/fesm2022/primeng-icons-filterslash.mjs +26 -26
  159. package/fesm2022/primeng-icons-filterslash.mjs.map +1 -1
  160. package/fesm2022/primeng-icons-home.mjs +26 -26
  161. package/fesm2022/primeng-icons-home.mjs.map +1 -1
  162. package/fesm2022/primeng-icons-infocircle.mjs +26 -26
  163. package/fesm2022/primeng-icons-infocircle.mjs.map +1 -1
  164. package/fesm2022/primeng-icons-minus.mjs +17 -19
  165. package/fesm2022/primeng-icons-minus.mjs.map +1 -1
  166. package/fesm2022/primeng-icons-pencil.mjs +24 -26
  167. package/fesm2022/primeng-icons-pencil.mjs.map +1 -1
  168. package/fesm2022/primeng-icons-plus.mjs +24 -26
  169. package/fesm2022/primeng-icons-plus.mjs.map +1 -1
  170. package/fesm2022/primeng-icons-refresh.mjs +26 -26
  171. package/fesm2022/primeng-icons-refresh.mjs.map +1 -1
  172. package/fesm2022/primeng-icons-search.mjs +26 -26
  173. package/fesm2022/primeng-icons-search.mjs.map +1 -1
  174. package/fesm2022/primeng-icons-searchminus.mjs +26 -26
  175. package/fesm2022/primeng-icons-searchminus.mjs.map +1 -1
  176. package/fesm2022/primeng-icons-searchplus.mjs +26 -26
  177. package/fesm2022/primeng-icons-searchplus.mjs.map +1 -1
  178. package/fesm2022/primeng-icons-sortalt.mjs +30 -26
  179. package/fesm2022/primeng-icons-sortalt.mjs.map +1 -1
  180. package/fesm2022/primeng-icons-sortamountdown.mjs +24 -26
  181. package/fesm2022/primeng-icons-sortamountdown.mjs.map +1 -1
  182. package/fesm2022/primeng-icons-sortamountupalt.mjs +24 -26
  183. package/fesm2022/primeng-icons-sortamountupalt.mjs.map +1 -1
  184. package/fesm2022/primeng-icons-spinner.mjs +24 -26
  185. package/fesm2022/primeng-icons-spinner.mjs.map +1 -1
  186. package/fesm2022/primeng-icons-star.mjs +24 -26
  187. package/fesm2022/primeng-icons-star.mjs.map +1 -1
  188. package/fesm2022/primeng-icons-starfill.mjs +24 -26
  189. package/fesm2022/primeng-icons-starfill.mjs.map +1 -1
  190. package/fesm2022/primeng-icons-thlarge.mjs +26 -26
  191. package/fesm2022/primeng-icons-thlarge.mjs.map +1 -1
  192. package/fesm2022/primeng-icons-times.mjs +17 -19
  193. package/fesm2022/primeng-icons-times.mjs.map +1 -1
  194. package/fesm2022/primeng-icons-timescircle.mjs +26 -26
  195. package/fesm2022/primeng-icons-timescircle.mjs.map +1 -1
  196. package/fesm2022/primeng-icons-trash.mjs +26 -26
  197. package/fesm2022/primeng-icons-trash.mjs.map +1 -1
  198. package/fesm2022/primeng-icons-undo.mjs +26 -26
  199. package/fesm2022/primeng-icons-undo.mjs.map +1 -1
  200. package/fesm2022/primeng-icons-upload.mjs +26 -26
  201. package/fesm2022/primeng-icons-upload.mjs.map +1 -1
  202. package/fesm2022/primeng-icons-windowmaximize.mjs +26 -26
  203. package/fesm2022/primeng-icons-windowmaximize.mjs.map +1 -1
  204. package/fesm2022/primeng-icons-windowminimize.mjs +26 -26
  205. package/fesm2022/primeng-icons-windowminimize.mjs.map +1 -1
  206. package/fesm2022/primeng-iftalabel.mjs +32 -38
  207. package/fesm2022/primeng-iftalabel.mjs.map +1 -1
  208. package/fesm2022/primeng-image.mjs +189 -370
  209. package/fesm2022/primeng-image.mjs.map +1 -1
  210. package/fesm2022/primeng-imagecompare.mjs +57 -86
  211. package/fesm2022/primeng-imagecompare.mjs.map +1 -1
  212. package/fesm2022/primeng-inplace.mjs +108 -206
  213. package/fesm2022/primeng-inplace.mjs.map +1 -1
  214. package/fesm2022/primeng-inputgroup.mjs +40 -50
  215. package/fesm2022/primeng-inputgroup.mjs.map +1 -1
  216. package/fesm2022/primeng-inputgroupaddon.mjs +40 -51
  217. package/fesm2022/primeng-inputgroupaddon.mjs.map +1 -1
  218. package/fesm2022/primeng-inputicon.mjs +39 -48
  219. package/fesm2022/primeng-inputicon.mjs.map +1 -1
  220. package/fesm2022/primeng-inputmask.mjs +157 -182
  221. package/fesm2022/primeng-inputmask.mjs.map +1 -1
  222. package/fesm2022/primeng-inputnumber.mjs +303 -420
  223. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  224. package/fesm2022/primeng-inputotp.mjs +99 -123
  225. package/fesm2022/primeng-inputotp.mjs.map +1 -1
  226. package/fesm2022/primeng-inputswitch.mjs +87 -92
  227. package/fesm2022/primeng-inputswitch.mjs.map +1 -1
  228. package/fesm2022/primeng-inputtext.mjs +56 -57
  229. package/fesm2022/primeng-inputtext.mjs.map +1 -1
  230. package/fesm2022/primeng-inputtextarea.mjs +51 -56
  231. package/fesm2022/primeng-inputtextarea.mjs.map +1 -1
  232. package/fesm2022/primeng-keyfilter.mjs +44 -47
  233. package/fesm2022/primeng-keyfilter.mjs.map +1 -1
  234. package/fesm2022/primeng-knob.mjs +105 -111
  235. package/fesm2022/primeng-knob.mjs.map +1 -1
  236. package/fesm2022/primeng-listbox.mjs +511 -791
  237. package/fesm2022/primeng-listbox.mjs.map +1 -1
  238. package/fesm2022/primeng-megamenu.mjs +377 -611
  239. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  240. package/fesm2022/primeng-menu.mjs +291 -473
  241. package/fesm2022/primeng-menu.mjs.map +1 -1
  242. package/fesm2022/primeng-menubar.mjs +357 -549
  243. package/fesm2022/primeng-menubar.mjs.map +1 -1
  244. package/fesm2022/primeng-message.mjs +160 -244
  245. package/fesm2022/primeng-message.mjs.map +1 -1
  246. package/fesm2022/primeng-messages.mjs +162 -278
  247. package/fesm2022/primeng-messages.mjs.map +1 -1
  248. package/fesm2022/primeng-metergroup.mjs +135 -264
  249. package/fesm2022/primeng-metergroup.mjs.map +1 -1
  250. package/fesm2022/primeng-multiselect.mjs +660 -1135
  251. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  252. package/fesm2022/primeng-orderlist.mjs +228 -330
  253. package/fesm2022/primeng-orderlist.mjs.map +1 -1
  254. package/fesm2022/primeng-organizationchart.mjs +161 -311
  255. package/fesm2022/primeng-organizationchart.mjs.map +1 -1
  256. package/fesm2022/primeng-overlay.mjs +135 -147
  257. package/fesm2022/primeng-overlay.mjs.map +1 -1
  258. package/fesm2022/primeng-overlaybadge.mjs +50 -58
  259. package/fesm2022/primeng-overlaybadge.mjs.map +1 -1
  260. package/fesm2022/primeng-overlaypanel.mjs +134 -154
  261. package/fesm2022/primeng-overlaypanel.mjs.map +1 -1
  262. package/fesm2022/primeng-paginator.mjs +212 -447
  263. package/fesm2022/primeng-paginator.mjs.map +1 -1
  264. package/fesm2022/primeng-panel.mjs +219 -317
  265. package/fesm2022/primeng-panel.mjs.map +1 -1
  266. package/fesm2022/primeng-panelmenu.mjs +439 -783
  267. package/fesm2022/primeng-panelmenu.mjs.map +1 -1
  268. package/fesm2022/primeng-password.mjs +271 -410
  269. package/fesm2022/primeng-password.mjs.map +1 -1
  270. package/fesm2022/primeng-picklist.mjs +564 -856
  271. package/fesm2022/primeng-picklist.mjs.map +1 -1
  272. package/fesm2022/primeng-popover.mjs +129 -148
  273. package/fesm2022/primeng-popover.mjs.map +1 -1
  274. package/fesm2022/primeng-progressbar.mjs +81 -121
  275. package/fesm2022/primeng-progressbar.mjs.map +1 -1
  276. package/fesm2022/primeng-progressspinner.mjs +48 -58
  277. package/fesm2022/primeng-progressspinner.mjs.map +1 -1
  278. package/fesm2022/primeng-radiobutton.mjs +117 -108
  279. package/fesm2022/primeng-radiobutton.mjs.map +1 -1
  280. package/fesm2022/primeng-rating.mjs +134 -218
  281. package/fesm2022/primeng-rating.mjs.map +1 -1
  282. package/fesm2022/primeng-ripple.mjs +28 -29
  283. package/fesm2022/primeng-ripple.mjs.map +1 -1
  284. package/fesm2022/primeng-scroller.mjs +167 -295
  285. package/fesm2022/primeng-scroller.mjs.map +1 -1
  286. package/fesm2022/primeng-scrollpanel.mjs +96 -116
  287. package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
  288. package/fesm2022/primeng-scrolltop.mjs +106 -150
  289. package/fesm2022/primeng-scrolltop.mjs.map +1 -1
  290. package/fesm2022/primeng-select.mjs +581 -957
  291. package/fesm2022/primeng-select.mjs.map +1 -1
  292. package/fesm2022/primeng-selectbutton.mjs +106 -133
  293. package/fesm2022/primeng-selectbutton.mjs.map +1 -1
  294. package/fesm2022/primeng-sidebar.mjs +151 -239
  295. package/fesm2022/primeng-sidebar.mjs.map +1 -1
  296. package/fesm2022/primeng-skeleton.mjs +46 -54
  297. package/fesm2022/primeng-skeleton.mjs.map +1 -1
  298. package/fesm2022/primeng-slider.mjs +186 -182
  299. package/fesm2022/primeng-slider.mjs.map +1 -1
  300. package/fesm2022/primeng-speeddial.mjs +192 -254
  301. package/fesm2022/primeng-speeddial.mjs.map +1 -1
  302. package/fesm2022/primeng-splitbutton.mjs +211 -231
  303. package/fesm2022/primeng-splitbutton.mjs.map +1 -1
  304. package/fesm2022/primeng-splitter.mjs +126 -159
  305. package/fesm2022/primeng-splitter.mjs.map +1 -1
  306. package/fesm2022/primeng-stepper.mjs +235 -341
  307. package/fesm2022/primeng-stepper.mjs.map +1 -1
  308. package/fesm2022/primeng-steps.mjs +117 -170
  309. package/fesm2022/primeng-steps.mjs.map +1 -1
  310. package/fesm2022/primeng-styleclass.mjs +50 -53
  311. package/fesm2022/primeng-styleclass.mjs.map +1 -1
  312. package/fesm2022/primeng-table.mjs +1869 -2628
  313. package/fesm2022/primeng-table.mjs.map +1 -1
  314. package/fesm2022/primeng-tabmenu.mjs +173 -319
  315. package/fesm2022/primeng-tabmenu.mjs.map +1 -1
  316. package/fesm2022/primeng-tabs.mjs +193 -308
  317. package/fesm2022/primeng-tabs.mjs.map +1 -1
  318. package/fesm2022/primeng-tabview.mjs +263 -435
  319. package/fesm2022/primeng-tabview.mjs.map +1 -1
  320. package/fesm2022/primeng-tag.mjs +63 -110
  321. package/fesm2022/primeng-tag.mjs.map +1 -1
  322. package/fesm2022/primeng-terminal.mjs +60 -104
  323. package/fesm2022/primeng-terminal.mjs.map +1 -1
  324. package/fesm2022/primeng-textarea.mjs +59 -64
  325. package/fesm2022/primeng-textarea.mjs.map +1 -1
  326. package/fesm2022/primeng-tieredmenu.mjs +338 -457
  327. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  328. package/fesm2022/primeng-timeline.mjs +90 -156
  329. package/fesm2022/primeng-timeline.mjs.map +1 -1
  330. package/fesm2022/primeng-toast.mjs +260 -365
  331. package/fesm2022/primeng-toast.mjs.map +1 -1
  332. package/fesm2022/primeng-togglebutton.mjs +117 -150
  333. package/fesm2022/primeng-togglebutton.mjs.map +1 -1
  334. package/fesm2022/primeng-toggleswitch.mjs +98 -121
  335. package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
  336. package/fesm2022/primeng-toolbar.mjs +62 -121
  337. package/fesm2022/primeng-toolbar.mjs.map +1 -1
  338. package/fesm2022/primeng-tooltip.mjs +74 -75
  339. package/fesm2022/primeng-tooltip.mjs.map +1 -1
  340. package/fesm2022/primeng-tree.mjs +455 -729
  341. package/fesm2022/primeng-tree.mjs.map +1 -1
  342. package/fesm2022/primeng-treeselect.mjs +344 -533
  343. package/fesm2022/primeng-treeselect.mjs.map +1 -1
  344. package/fesm2022/primeng-treetable.mjs +1027 -1584
  345. package/fesm2022/primeng-treetable.mjs.map +1 -1
  346. package/fesm2022/primeng-usestyle.mjs +6 -6
  347. package/fesm2022/primeng-usestyle.mjs.map +1 -1
  348. package/fesm2022/primeng-utils.mjs +3 -1
  349. package/fesm2022/primeng-utils.mjs.map +1 -1
  350. package/listbox/listbox.d.ts +17 -3
  351. package/message/message.d.ts +1 -0
  352. package/overlaybadge/overlaybadge.d.ts +1 -1
  353. package/package.json +189 -190
  354. package/password/password.d.ts +8 -1
  355. package/password/style/passwordstyle.d.ts +1 -0
  356. package/picklist/picklist.d.ts +11 -1
  357. package/stepper/stepper.d.ts +2 -1
  358. package/table/table.d.ts +1 -1
  359. package/table/table.interface.d.ts +2 -2
  360. package/tabs/tablist.d.ts +1 -1
  361. package/toast/toast.d.ts +1 -1
  362. package/tree/tree.d.ts +10 -2
  363. package/tree/tree.interface.d.ts +8 -0
  364. package/utils/zindexutils.d.ts +2 -0
@@ -1,8 +1,8 @@
1
- import { trigger, state, style, transition, animate } from '@angular/animations';
1
+ import { trigger, state, transition, style, animate } from '@angular/animations';
2
2
  import * as i1 from '@angular/common';
3
3
  import { CommonModule } from '@angular/common';
4
4
  import * as i0 from '@angular/core';
5
- import { Injectable, forwardRef, booleanAttribute, Component, ViewEncapsulation, ChangeDetectionStrategy, Inject, Input, EventEmitter, inject, Output, ContentChildren, ContentChild, NgModule } from '@angular/core';
5
+ import { Injectable, forwardRef, booleanAttribute, Input, Inject, ChangeDetectionStrategy, ViewEncapsulation, Component, EventEmitter, inject, ContentChild, ContentChildren, Output, NgModule } from '@angular/core';
6
6
  import { hasClass } from '@primeuix/utils';
7
7
  import { SharedModule, PrimeTemplate } from 'primeng/api';
8
8
  import { BaseComponent } from 'primeng/basecomponent';
@@ -139,12 +139,12 @@ class OrganizationChartStyle extends BaseStyle {
139
139
  name = 'organizationchart';
140
140
  theme = theme;
141
141
  classes = classes;
142
- static ɵfac = /*@__PURE__*/ (() => { let ɵOrganizationChartStyle_BaseFactory; return function OrganizationChartStyle_Factory(__ngFactoryType__) { return (ɵOrganizationChartStyle_BaseFactory || (ɵOrganizationChartStyle_BaseFactory = i0.ɵɵgetInheritedFactory(OrganizationChartStyle)))(__ngFactoryType__ || OrganizationChartStyle); }; })();
143
- static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: OrganizationChartStyle, factory: OrganizationChartStyle.ɵfac });
142
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: OrganizationChartStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
143
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: OrganizationChartStyle });
144
144
  }
145
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OrganizationChartStyle, [{
146
- type: Injectable
147
- }], null, null); })();
145
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: OrganizationChartStyle, decorators: [{
146
+ type: Injectable
147
+ }] });
148
148
  /**
149
149
  *
150
150
  * OrganizationChart visualizes hierarchical organization data.
@@ -198,200 +198,6 @@ var OrganizationChartClasses;
198
198
  OrganizationChartClasses["nodeChildren"] = "p-organizationchart-node-children";
199
199
  })(OrganizationChartClasses || (OrganizationChartClasses = {}));
200
200
 
201
- const _c0 = ["pOrganizationChartNode", ""];
202
- const _c1 = (a0, a1) => ({ "p-organizationchart-node": true, "p-organizationchart-node-selectable": a0, "p-organizationchart-node-selected": a1 });
203
- const _c2 = a0 => ({ $implicit: a0 });
204
- const _c3 = a0 => ({ "p-organizationchart-connector-top": a0 });
205
- function OrganizationChartNode_tbody_0_div_4_Template(rf, ctx) { if (rf & 1) {
206
- i0.ɵɵelementStart(0, "div");
207
- i0.ɵɵtext(1);
208
- i0.ɵɵelementEnd();
209
- } if (rf & 2) {
210
- const ctx_r1 = i0.ɵɵnextContext(2);
211
- i0.ɵɵadvance();
212
- i0.ɵɵtextInterpolate(ctx_r1.node.label);
213
- } }
214
- function OrganizationChartNode_tbody_0_div_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
215
- i0.ɵɵelementContainer(0);
216
- } }
217
- function OrganizationChartNode_tbody_0_div_5_Template(rf, ctx) { if (rf & 1) {
218
- i0.ɵɵelementStart(0, "div");
219
- i0.ɵɵtemplate(1, OrganizationChartNode_tbody_0_div_5_ng_container_1_Template, 1, 0, "ng-container", 6);
220
- i0.ɵɵelementEnd();
221
- } if (rf & 2) {
222
- const ctx_r1 = i0.ɵɵnextContext(2);
223
- i0.ɵɵadvance();
224
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.chart.getTemplateForNode(ctx_r1.node))("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c2, ctx_r1.node));
225
- } }
226
- function OrganizationChartNode_tbody_0_ng_container_6_a_1_ng_container_1_ChevronDownIcon_1_Template(rf, ctx) { if (rf & 1) {
227
- i0.ɵɵelement(0, "ChevronDownIcon", 11);
228
- } if (rf & 2) {
229
- i0.ɵɵproperty("styleClass", "p-organizationchart-node-toggle-button-icon");
230
- i0.ɵɵattribute("data-pc-section", "nodeTogglerIcon");
231
- } }
232
- function OrganizationChartNode_tbody_0_ng_container_6_a_1_ng_container_1_ChevronUpIcon_2_Template(rf, ctx) { if (rf & 1) {
233
- i0.ɵɵelement(0, "ChevronUpIcon", 11);
234
- } if (rf & 2) {
235
- i0.ɵɵproperty("styleClass", "p-organizationchart-node-toggle-button-icon");
236
- i0.ɵɵattribute("data-pc-section", "nodeTogglerIcon");
237
- } }
238
- function OrganizationChartNode_tbody_0_ng_container_6_a_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
239
- i0.ɵɵelementContainerStart(0);
240
- i0.ɵɵtemplate(1, OrganizationChartNode_tbody_0_ng_container_6_a_1_ng_container_1_ChevronDownIcon_1_Template, 1, 2, "ChevronDownIcon", 10)(2, OrganizationChartNode_tbody_0_ng_container_6_a_1_ng_container_1_ChevronUpIcon_2_Template, 1, 2, "ChevronUpIcon", 10);
241
- i0.ɵɵelementContainerEnd();
242
- } if (rf & 2) {
243
- const ctx_r1 = i0.ɵɵnextContext(4);
244
- i0.ɵɵadvance();
245
- i0.ɵɵproperty("ngIf", ctx_r1.node.expanded);
246
- i0.ɵɵadvance();
247
- i0.ɵɵproperty("ngIf", !ctx_r1.node.expanded);
248
- } }
249
- function OrganizationChartNode_tbody_0_ng_container_6_a_1_span_2_1_ng_template_0_Template(rf, ctx) { }
250
- function OrganizationChartNode_tbody_0_ng_container_6_a_1_span_2_1_Template(rf, ctx) { if (rf & 1) {
251
- i0.ɵɵtemplate(0, OrganizationChartNode_tbody_0_ng_container_6_a_1_span_2_1_ng_template_0_Template, 0, 0, "ng-template");
252
- } }
253
- function OrganizationChartNode_tbody_0_ng_container_6_a_1_span_2_Template(rf, ctx) { if (rf & 1) {
254
- i0.ɵɵelementStart(0, "span", 12);
255
- i0.ɵɵtemplate(1, OrganizationChartNode_tbody_0_ng_container_6_a_1_span_2_1_Template, 1, 0, null, 6);
256
- i0.ɵɵelementEnd();
257
- } if (rf & 2) {
258
- const ctx_r1 = i0.ɵɵnextContext(4);
259
- i0.ɵɵattribute("data-pc-section", "nodeTogglerIcon");
260
- i0.ɵɵadvance();
261
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.chart.togglerIconTemplate || ctx_r1.chart._togglerIconTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c2, ctx_r1.node.expanded));
262
- } }
263
- function OrganizationChartNode_tbody_0_ng_container_6_a_1_Template(rf, ctx) { if (rf & 1) {
264
- const _r3 = i0.ɵɵgetCurrentView();
265
- i0.ɵɵelementStart(0, "a", 8);
266
- i0.ɵɵlistener("click", function OrganizationChartNode_tbody_0_ng_container_6_a_1_Template_a_click_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.toggleNode($event, ctx_r1.node)); })("keydown.enter", function OrganizationChartNode_tbody_0_ng_container_6_a_1_Template_a_keydown_enter_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.toggleNode($event, ctx_r1.node)); })("keydown.space", function OrganizationChartNode_tbody_0_ng_container_6_a_1_Template_a_keydown_space_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.toggleNode($event, ctx_r1.node)); });
267
- i0.ɵɵtemplate(1, OrganizationChartNode_tbody_0_ng_container_6_a_1_ng_container_1_Template, 3, 2, "ng-container", 0)(2, OrganizationChartNode_tbody_0_ng_container_6_a_1_span_2_Template, 2, 5, "span", 9);
268
- i0.ɵɵelementEnd();
269
- } if (rf & 2) {
270
- const ctx_r1 = i0.ɵɵnextContext(3);
271
- i0.ɵɵattribute("data-pc-section", "nodeToggler");
272
- i0.ɵɵadvance();
273
- i0.ɵɵproperty("ngIf", !ctx_r1.chart.togglerIconTemplate && !ctx_r1.chart._togglerIconTemplate);
274
- i0.ɵɵadvance();
275
- i0.ɵɵproperty("ngIf", ctx_r1.chart.togglerIconTemplate || ctx_r1.chart._togglerIconTemplate);
276
- } }
277
- function OrganizationChartNode_tbody_0_ng_container_6_Template(rf, ctx) { if (rf & 1) {
278
- i0.ɵɵelementContainerStart(0);
279
- i0.ɵɵtemplate(1, OrganizationChartNode_tbody_0_ng_container_6_a_1_Template, 3, 3, "a", 7);
280
- i0.ɵɵelementContainerEnd();
281
- } if (rf & 2) {
282
- const ctx_r1 = i0.ɵɵnextContext(2);
283
- i0.ɵɵadvance();
284
- i0.ɵɵproperty("ngIf", !ctx_r1.leaf);
285
- } }
286
- function OrganizationChartNode_tbody_0_ng_container_11_Template(rf, ctx) { if (rf & 1) {
287
- i0.ɵɵelementContainerStart(0);
288
- i0.ɵɵelementStart(1, "td");
289
- i0.ɵɵelement(2, "div", 3);
290
- i0.ɵɵelementEnd();
291
- i0.ɵɵelementContainerEnd();
292
- } if (rf & 2) {
293
- const ctx_r1 = i0.ɵɵnextContext(2);
294
- i0.ɵɵadvance();
295
- i0.ɵɵattribute("data-pc-section", "lineCell")("colspan", ctx_r1.colspan);
296
- i0.ɵɵadvance();
297
- i0.ɵɵattribute("data-pc-section", "lineDown");
298
- } }
299
- function OrganizationChartNode_tbody_0_ng_container_12_ng_template_1_Template(rf, ctx) { if (rf & 1) {
300
- i0.ɵɵelementStart(0, "td", 14);
301
- i0.ɵɵtext(1, "\u00A0");
302
- i0.ɵɵelementEnd();
303
- i0.ɵɵelementStart(2, "td", 15);
304
- i0.ɵɵtext(3, "\u00A0");
305
- i0.ɵɵelementEnd();
306
- } if (rf & 2) {
307
- const first_r4 = ctx.first;
308
- const last_r5 = ctx.last;
309
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c3, !first_r4));
310
- i0.ɵɵattribute("data-pc-section", "lineLeft");
311
- i0.ɵɵadvance(2);
312
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(6, _c3, !last_r5));
313
- i0.ɵɵattribute("data-pc-section", "lineRight");
314
- } }
315
- function OrganizationChartNode_tbody_0_ng_container_12_Template(rf, ctx) { if (rf & 1) {
316
- i0.ɵɵelementContainerStart(0);
317
- i0.ɵɵtemplate(1, OrganizationChartNode_tbody_0_ng_container_12_ng_template_1_Template, 4, 8, "ng-template", 13);
318
- i0.ɵɵelementContainerEnd();
319
- } if (rf & 2) {
320
- const ctx_r1 = i0.ɵɵnextContext(2);
321
- i0.ɵɵadvance();
322
- i0.ɵɵproperty("ngForOf", ctx_r1.node.children);
323
- } }
324
- function OrganizationChartNode_tbody_0_td_14_Template(rf, ctx) { if (rf & 1) {
325
- i0.ɵɵelementStart(0, "td", 16);
326
- i0.ɵɵelement(1, "table", 17);
327
- i0.ɵɵelementEnd();
328
- } if (rf & 2) {
329
- const child_r6 = ctx.$implicit;
330
- const ctx_r1 = i0.ɵɵnextContext(2);
331
- i0.ɵɵattribute("data-pc-section", "nodeCell");
332
- i0.ɵɵadvance();
333
- i0.ɵɵproperty("node", child_r6)("collapsible", ctx_r1.node.children && ctx_r1.node.children.length > 0 && ctx_r1.collapsible);
334
- } }
335
- function OrganizationChartNode_tbody_0_Template(rf, ctx) { if (rf & 1) {
336
- const _r1 = i0.ɵɵgetCurrentView();
337
- i0.ɵɵelementStart(0, "tbody")(1, "tr")(2, "td")(3, "div", 1);
338
- i0.ɵɵlistener("click", function OrganizationChartNode_tbody_0_Template_div_click_3_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onNodeClick($event, ctx_r1.node)); });
339
- i0.ɵɵtemplate(4, OrganizationChartNode_tbody_0_div_4_Template, 2, 1, "div", 0)(5, OrganizationChartNode_tbody_0_div_5_Template, 2, 4, "div", 0)(6, OrganizationChartNode_tbody_0_ng_container_6_Template, 2, 1, "ng-container", 0);
340
- i0.ɵɵelementEnd()()();
341
- i0.ɵɵelementStart(7, "tr", 2)(8, "td");
342
- i0.ɵɵelement(9, "div", 3);
343
- i0.ɵɵelementEnd()();
344
- i0.ɵɵelementStart(10, "tr", 2);
345
- i0.ɵɵtemplate(11, OrganizationChartNode_tbody_0_ng_container_11_Template, 3, 3, "ng-container", 0)(12, OrganizationChartNode_tbody_0_ng_container_12_Template, 2, 1, "ng-container", 0);
346
- i0.ɵɵelementEnd();
347
- i0.ɵɵelementStart(13, "tr", 4);
348
- i0.ɵɵtemplate(14, OrganizationChartNode_tbody_0_td_14_Template, 2, 3, "td", 5);
349
- i0.ɵɵelementEnd()();
350
- } if (rf & 2) {
351
- const ctx_r1 = i0.ɵɵnextContext();
352
- i0.ɵɵattribute("data-pc-section", "body");
353
- i0.ɵɵadvance();
354
- i0.ɵɵattribute("data-pc-section", "row");
355
- i0.ɵɵadvance();
356
- i0.ɵɵattribute("colspan", ctx_r1.colspan)("data-pc-section", "cell");
357
- i0.ɵɵadvance();
358
- i0.ɵɵclassMap(ctx_r1.node.styleClass);
359
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(26, _c1, ctx_r1.chart.selectionMode && ctx_r1.node.selectable !== false, ctx_r1.isSelected()));
360
- i0.ɵɵattribute("data-pc-section", "node");
361
- i0.ɵɵadvance();
362
- i0.ɵɵproperty("ngIf", !ctx_r1.chart.getTemplateForNode(ctx_r1.node));
363
- i0.ɵɵadvance();
364
- i0.ɵɵproperty("ngIf", ctx_r1.chart.getTemplateForNode(ctx_r1.node));
365
- i0.ɵɵadvance();
366
- i0.ɵɵproperty("ngIf", ctx_r1.collapsible);
367
- i0.ɵɵadvance();
368
- i0.ɵɵproperty("ngStyle", ctx_r1.getChildStyle(ctx_r1.node))("@childState", "in");
369
- i0.ɵɵattribute("data-pc-section", "lines");
370
- i0.ɵɵadvance();
371
- i0.ɵɵattribute("data-pc-section", "lineCell")("colspan", ctx_r1.colspan);
372
- i0.ɵɵadvance();
373
- i0.ɵɵattribute("data-pc-section", "lineDown");
374
- i0.ɵɵadvance();
375
- i0.ɵɵproperty("ngStyle", ctx_r1.getChildStyle(ctx_r1.node))("@childState", "in");
376
- i0.ɵɵattribute("data-pc-section", "lines");
377
- i0.ɵɵadvance();
378
- i0.ɵɵproperty("ngIf", ctx_r1.node.children && ctx_r1.node.children.length === 1);
379
- i0.ɵɵadvance();
380
- i0.ɵɵproperty("ngIf", ctx_r1.node.children && ctx_r1.node.children.length > 1);
381
- i0.ɵɵadvance();
382
- i0.ɵɵproperty("ngStyle", ctx_r1.getChildStyle(ctx_r1.node))("@childState", "in");
383
- i0.ɵɵattribute("data-pc-section", "nodes");
384
- i0.ɵɵadvance();
385
- i0.ɵɵproperty("ngForOf", ctx_r1.node.children);
386
- } }
387
- const _c4 = ["togglericon"];
388
- const _c5 = a0 => ({ "p-organizationchart p-component": true, "p-organizationchart-preservespace": a0 });
389
- function OrganizationChart_table_1_Template(rf, ctx) { if (rf & 1) {
390
- i0.ɵɵelement(0, "table", 2);
391
- } if (rf & 2) {
392
- const ctx_r0 = i0.ɵɵnextContext();
393
- i0.ɵɵproperty("collapsible", ctx_r0.collapsible)("node", ctx_r0.root);
394
- } }
395
201
  class OrganizationChartNode {
396
202
  cd;
397
203
  node;
@@ -440,20 +246,80 @@ class OrganizationChartNode {
440
246
  ngOnDestroy() {
441
247
  this.subscription.unsubscribe();
442
248
  }
443
- static ɵfac = function OrganizationChartNode_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || OrganizationChartNode)(i0.ɵɵdirectiveInject(forwardRef(() => OrganizationChart)), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
444
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: OrganizationChartNode, selectors: [["", "pOrganizationChartNode", ""]], inputs: { node: "node", root: [2, "root", "root", booleanAttribute], first: [2, "first", "first", booleanAttribute], last: [2, "last", "last", booleanAttribute], collapsible: [2, "collapsible", "collapsible", booleanAttribute] }, features: [i0.ɵɵInputTransformsFeature], attrs: _c0, decls: 1, vars: 1, consts: [[4, "ngIf"], [3, "click", "ngClass"], [1, "p-organizationchart-connectors", 3, "ngStyle"], [1, "p-organizationchart-connector-down"], [1, "p-organizationchart-node-children", 3, "ngStyle"], ["colspan", "2", 4, "ngFor", "ngForOf"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["tabindex", "0", "class", "p-organizationchart-node-toggle-button", 3, "click", "keydown.enter", "keydown.space", 4, "ngIf"], ["tabindex", "0", 1, "p-organizationchart-node-toggle-button", 3, "click", "keydown.enter", "keydown.space"], ["class", "p-organizationchart-node-toggle-button-icon", 4, "ngIf"], [3, "styleClass", 4, "ngIf"], [3, "styleClass"], [1, "p-organizationchart-node-toggle-button-icon"], ["ngFor", "", 3, "ngForOf"], [1, "p-organizationchart-connector-left", 3, "ngClass"], [1, "p-organizationchart-connector-right", 3, "ngClass"], ["colspan", "2"], ["pOrganizationChartNode", "", 1, "p-organizationchart-table", 3, "node", "collapsible"]], template: function OrganizationChartNode_Template(rf, ctx) { if (rf & 1) {
445
- i0.ɵɵtemplate(0, OrganizationChartNode_tbody_0_Template, 15, 29, "tbody", 0);
446
- } if (rf & 2) {
447
- i0.ɵɵproperty("ngIf", ctx.node);
448
- } }, dependencies: [OrganizationChartNode, CommonModule, i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, ChevronDownIcon, ChevronUpIcon, SharedModule], encapsulation: 2, data: { animation: [trigger('childState', [state('in', style({ opacity: 1 })), transition('void => *', [style({ opacity: 0 }), animate(150)]), transition('* => void', [animate(150, style({ opacity: 0 }))])])] } });
249
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: OrganizationChartNode, deps: [{ token: forwardRef(() => OrganizationChart) }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
250
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.7", type: OrganizationChartNode, isStandalone: true, selector: "[pOrganizationChartNode]", inputs: { node: "node", root: ["root", "root", booleanAttribute], first: ["first", "first", booleanAttribute], last: ["last", "last", booleanAttribute], collapsible: ["collapsible", "collapsible", booleanAttribute] }, ngImport: i0, template: `
251
+ <tbody *ngIf="node" [attr.data-pc-section]="'body'">
252
+ <tr [attr.data-pc-section]="'row'">
253
+ <td [attr.colspan]="colspan" [attr.data-pc-section]="'cell'">
254
+ <div
255
+ [class]="node.styleClass"
256
+ [ngClass]="{
257
+ 'p-organizationchart-node': true,
258
+ 'p-organizationchart-node-selectable': chart.selectionMode && node.selectable !== false,
259
+ 'p-organizationchart-node-selected': isSelected()
260
+ }"
261
+ (click)="onNodeClick($event, node)"
262
+ [attr.data-pc-section]="'node'"
263
+ >
264
+ <div *ngIf="!chart.getTemplateForNode(node)">{{ node.label }}</div>
265
+ <div *ngIf="chart.getTemplateForNode(node)">
266
+ <ng-container *ngTemplateOutlet="chart.getTemplateForNode(node); context: { $implicit: node }"></ng-container>
267
+ </div>
268
+ <ng-container *ngIf="collapsible">
269
+ <a
270
+ *ngIf="!leaf"
271
+ tabindex="0"
272
+ class="p-organizationchart-node-toggle-button"
273
+ (click)="toggleNode($event, node)"
274
+ (keydown.enter)="toggleNode($event, node)"
275
+ (keydown.space)="toggleNode($event, node)"
276
+ [attr.data-pc-section]="'nodeToggler'"
277
+ >
278
+ <ng-container *ngIf="!chart.togglerIconTemplate && !chart._togglerIconTemplate">
279
+ <ChevronDownIcon *ngIf="node.expanded" [styleClass]="'p-organizationchart-node-toggle-button-icon'" [attr.data-pc-section]="'nodeTogglerIcon'" />
280
+ <ChevronUpIcon *ngIf="!node.expanded" [styleClass]="'p-organizationchart-node-toggle-button-icon'" [attr.data-pc-section]="'nodeTogglerIcon'" />
281
+ </ng-container>
282
+ <span class="p-organizationchart-node-toggle-button-icon" *ngIf="chart.togglerIconTemplate || chart._togglerIconTemplate" [attr.data-pc-section]="'nodeTogglerIcon'">
283
+ <ng-template *ngTemplateOutlet="chart.togglerIconTemplate || chart._togglerIconTemplate; context: { $implicit: node.expanded }"></ng-template>
284
+ </span>
285
+ </a>
286
+ </ng-container>
287
+ </div>
288
+ </td>
289
+ </tr>
290
+ <tr [ngStyle]="getChildStyle(node)" class="p-organizationchart-connectors" [@childState]="'in'" [attr.data-pc-section]="'lines'">
291
+ <td [attr.data-pc-section]="'lineCell'" [attr.colspan]="colspan">
292
+ <div [attr.data-pc-section]="'lineDown'" class="p-organizationchart-connector-down"></div>
293
+ </td>
294
+ </tr>
295
+ <tr [ngStyle]="getChildStyle(node)" class="p-organizationchart-connectors" [@childState]="'in'" [attr.data-pc-section]="'lines'">
296
+ <ng-container *ngIf="node.children && node.children.length === 1">
297
+ <td [attr.data-pc-section]="'lineCell'" [attr.colspan]="colspan">
298
+ <div [attr.data-pc-section]="'lineDown'" class="p-organizationchart-connector-down"></div>
299
+ </td>
300
+ </ng-container>
301
+ <ng-container *ngIf="node.children && node.children.length > 1">
302
+ <ng-template ngFor let-child [ngForOf]="node.children" let-first="first" let-last="last">
303
+ <td [attr.data-pc-section]="'lineLeft'" class="p-organizationchart-connector-left" [ngClass]="{ 'p-organizationchart-connector-top': !first }">&nbsp;</td>
304
+ <td [attr.data-pc-section]="'lineRight'" class="p-organizationchart-connector-right" [ngClass]="{ 'p-organizationchart-connector-top': !last }">&nbsp;</td>
305
+ </ng-template>
306
+ </ng-container>
307
+ </tr>
308
+ <tr [ngStyle]="getChildStyle(node)" class="p-organizationchart-node-children" [@childState]="'in'" [attr.data-pc-section]="'nodes'">
309
+ <td *ngFor="let child of node.children" colspan="2" [attr.data-pc-section]="'nodeCell'">
310
+ <table class="p-organizationchart-table" pOrganizationChartNode [node]="child" [collapsible]="node.children && node.children.length > 0 && collapsible"></table>
311
+ </td>
312
+ </tr>
313
+ </tbody>
314
+ `, isInline: true, dependencies: [{ kind: "component", type: OrganizationChartNode, selector: "[pOrganizationChartNode]", inputs: ["node", "root", "first", "last", "collapsible"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: ChevronDownIcon, selector: "ChevronDownIcon" }, { kind: "component", type: ChevronUpIcon, selector: "ChevronUpIcon" }, { kind: "ngmodule", type: SharedModule }], animations: [trigger('childState', [state('in', style({ opacity: 1 })), transition('void => *', [style({ opacity: 0 }), animate(150)]), transition('* => void', [animate(150, style({ opacity: 0 }))])])], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
449
315
  }
450
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OrganizationChartNode, [{
451
- type: Component,
452
- args: [{
453
- selector: '[pOrganizationChartNode]',
454
- standalone: true,
455
- imports: [CommonModule, ChevronDownIcon, ChevronUpIcon, SharedModule],
456
- template: `
316
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: OrganizationChartNode, decorators: [{
317
+ type: Component,
318
+ args: [{
319
+ selector: '[pOrganizationChartNode]',
320
+ standalone: true,
321
+ imports: [CommonModule, ChevronDownIcon, ChevronUpIcon, SharedModule],
322
+ template: `
457
323
  <tbody *ngIf="node" [attr.data-pc-section]="'body'">
458
324
  <tr [attr.data-pc-section]="'row'">
459
325
  <td [attr.colspan]="colspan" [attr.data-pc-section]="'cell'">
@@ -518,29 +384,28 @@ class OrganizationChartNode {
518
384
  </tr>
519
385
  </tbody>
520
386
  `,
521
- animations: [trigger('childState', [state('in', style({ opacity: 1 })), transition('void => *', [style({ opacity: 0 }), animate(150)]), transition('* => void', [animate(150, style({ opacity: 0 }))])])],
522
- encapsulation: ViewEncapsulation.None,
523
- changeDetection: ChangeDetectionStrategy.Default
524
- }]
525
- }], () => [{ type: OrganizationChart, decorators: [{
526
- type: Inject,
527
- args: [forwardRef(() => OrganizationChart)]
528
- }] }, { type: i0.ChangeDetectorRef }], { node: [{
529
- type: Input
530
- }], root: [{
531
- type: Input,
532
- args: [{ transform: booleanAttribute }]
533
- }], first: [{
534
- type: Input,
535
- args: [{ transform: booleanAttribute }]
536
- }], last: [{
537
- type: Input,
538
- args: [{ transform: booleanAttribute }]
539
- }], collapsible: [{
540
- type: Input,
541
- args: [{ transform: booleanAttribute }]
542
- }] }); })();
543
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(OrganizationChartNode, { className: "OrganizationChartNode", filePath: "organizationchart.ts", lineNumber: 106 }); })();
387
+ animations: [trigger('childState', [state('in', style({ opacity: 1 })), transition('void => *', [style({ opacity: 0 }), animate(150)]), transition('* => void', [animate(150, style({ opacity: 0 }))])])],
388
+ encapsulation: ViewEncapsulation.None,
389
+ changeDetection: ChangeDetectionStrategy.Default
390
+ }]
391
+ }], ctorParameters: () => [{ type: OrganizationChart, decorators: [{
392
+ type: Inject,
393
+ args: [forwardRef(() => OrganizationChart)]
394
+ }] }, { type: i0.ChangeDetectorRef }], propDecorators: { node: [{
395
+ type: Input
396
+ }], root: [{
397
+ type: Input,
398
+ args: [{ transform: booleanAttribute }]
399
+ }], first: [{
400
+ type: Input,
401
+ args: [{ transform: booleanAttribute }]
402
+ }], last: [{
403
+ type: Input,
404
+ args: [{ transform: booleanAttribute }]
405
+ }], collapsible: [{
406
+ type: Input,
407
+ args: [{ transform: booleanAttribute }]
408
+ }] } });
544
409
  /**
545
410
  * OrganizationChart visualizes hierarchical organization data.
546
411
  * @group Components
@@ -712,87 +577,72 @@ class OrganizationChart extends BaseComponent {
712
577
  isSelected(node) {
713
578
  return this.findIndexInSelection(node) != -1;
714
579
  }
715
- static ɵfac = function OrganizationChart_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || OrganizationChart)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
716
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: OrganizationChart, selectors: [["p-organizationChart"], ["p-organization-chart"], ["p-organizationchart"]], contentQueries: function OrganizationChart_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
717
- i0.ɵɵcontentQuery(dirIndex, _c4, 4);
718
- i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);
719
- } if (rf & 2) {
720
- let _t;
721
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.togglerIconTemplate = _t.first);
722
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);
723
- } }, inputs: { value: "value", style: "style", styleClass: "styleClass", selectionMode: "selectionMode", collapsible: [2, "collapsible", "collapsible", booleanAttribute], preserveSpace: [2, "preserveSpace", "preserveSpace", booleanAttribute], selection: "selection" }, outputs: { selectionChange: "selectionChange", onNodeSelect: "onNodeSelect", onNodeUnselect: "onNodeUnselect", onNodeExpand: "onNodeExpand", onNodeCollapse: "onNodeCollapse" }, features: [i0.ɵɵProvidersFeature([OrganizationChartStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 8, consts: [[3, "ngStyle", "ngClass"], ["class", "p-organizationchart-table", "pOrganizationChartNode", "", 3, "collapsible", "node", 4, "ngIf"], ["pOrganizationChartNode", "", 1, "p-organizationchart-table", 3, "collapsible", "node"]], template: function OrganizationChart_Template(rf, ctx) { if (rf & 1) {
724
- i0.ɵɵelementStart(0, "div", 0);
725
- i0.ɵɵtemplate(1, OrganizationChart_table_1_Template, 1, 2, "table", 1);
726
- i0.ɵɵelementEnd();
727
- } if (rf & 2) {
728
- i0.ɵɵclassMap(ctx.styleClass);
729
- i0.ɵɵproperty("ngStyle", ctx.style)("ngClass", i0.ɵɵpureFunction1(6, _c5, ctx.preserveSpace));
730
- i0.ɵɵattribute("data-pc-section", "root");
731
- i0.ɵɵadvance();
732
- i0.ɵɵproperty("ngIf", ctx.root);
733
- } }, dependencies: [CommonModule, i1.NgClass, i1.NgIf, i1.NgStyle, OrganizationChartNode, SharedModule], encapsulation: 2 });
580
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: OrganizationChart, deps: [{ token: i0.ElementRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
581
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.7", type: OrganizationChart, isStandalone: true, selector: "p-organizationChart, p-organization-chart, p-organizationchart", inputs: { value: "value", style: "style", styleClass: "styleClass", selectionMode: "selectionMode", collapsible: ["collapsible", "collapsible", booleanAttribute], preserveSpace: ["preserveSpace", "preserveSpace", booleanAttribute], selection: "selection" }, outputs: { selectionChange: "selectionChange", onNodeSelect: "onNodeSelect", onNodeUnselect: "onNodeUnselect", onNodeExpand: "onNodeExpand", onNodeCollapse: "onNodeCollapse" }, providers: [OrganizationChartStyle], queries: [{ propertyName: "togglerIconTemplate", first: true, predicate: ["togglericon"] }, { propertyName: "templates", predicate: PrimeTemplate }], usesInheritance: true, ngImport: i0, template: `
582
+ <div [ngStyle]="style" [class]="styleClass" [ngClass]="{ 'p-organizationchart p-component': true, 'p-organizationchart-preservespace': preserveSpace }" [attr.data-pc-section]="'root'">
583
+ <table class="p-organizationchart-table" [collapsible]="collapsible" pOrganizationChartNode [node]="root" *ngIf="root"></table>
584
+ </div>
585
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: OrganizationChartNode, selector: "[pOrganizationChartNode]", inputs: ["node", "root", "first", "last", "collapsible"] }, { kind: "ngmodule", type: SharedModule }], changeDetection: i0.ChangeDetectionStrategy.Default });
734
586
  }
735
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OrganizationChart, [{
736
- type: Component,
737
- args: [{
738
- selector: 'p-organizationChart, p-organization-chart, p-organizationchart',
739
- standalone: true,
740
- imports: [CommonModule, OrganizationChartNode, SharedModule],
741
- template: `
587
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: OrganizationChart, decorators: [{
588
+ type: Component,
589
+ args: [{
590
+ selector: 'p-organizationChart, p-organization-chart, p-organizationchart',
591
+ standalone: true,
592
+ imports: [CommonModule, OrganizationChartNode, SharedModule],
593
+ template: `
742
594
  <div [ngStyle]="style" [class]="styleClass" [ngClass]="{ 'p-organizationchart p-component': true, 'p-organizationchart-preservespace': preserveSpace }" [attr.data-pc-section]="'root'">
743
595
  <table class="p-organizationchart-table" [collapsible]="collapsible" pOrganizationChartNode [node]="root" *ngIf="root"></table>
744
596
  </div>
745
597
  `,
746
- changeDetection: ChangeDetectionStrategy.Default,
747
- providers: [OrganizationChartStyle]
748
- }]
749
- }], () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }], { value: [{
750
- type: Input
751
- }], style: [{
752
- type: Input
753
- }], styleClass: [{
754
- type: Input
755
- }], selectionMode: [{
756
- type: Input
757
- }], collapsible: [{
758
- type: Input,
759
- args: [{ transform: booleanAttribute }]
760
- }], preserveSpace: [{
761
- type: Input,
762
- args: [{ transform: booleanAttribute }]
763
- }], selection: [{
764
- type: Input
765
- }], selectionChange: [{
766
- type: Output
767
- }], onNodeSelect: [{
768
- type: Output
769
- }], onNodeUnselect: [{
770
- type: Output
771
- }], onNodeExpand: [{
772
- type: Output
773
- }], onNodeCollapse: [{
774
- type: Output
775
- }], templates: [{
776
- type: ContentChildren,
777
- args: [PrimeTemplate]
778
- }], togglerIconTemplate: [{
779
- type: ContentChild,
780
- args: ['togglericon', { descendants: false }]
781
- }] }); })();
782
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(OrganizationChart, { className: "OrganizationChart", filePath: "organizationchart.ts", lineNumber: 185 }); })();
598
+ changeDetection: ChangeDetectionStrategy.Default,
599
+ providers: [OrganizationChartStyle]
600
+ }]
601
+ }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.ChangeDetectorRef }], propDecorators: { value: [{
602
+ type: Input
603
+ }], style: [{
604
+ type: Input
605
+ }], styleClass: [{
606
+ type: Input
607
+ }], selectionMode: [{
608
+ type: Input
609
+ }], collapsible: [{
610
+ type: Input,
611
+ args: [{ transform: booleanAttribute }]
612
+ }], preserveSpace: [{
613
+ type: Input,
614
+ args: [{ transform: booleanAttribute }]
615
+ }], selection: [{
616
+ type: Input
617
+ }], selectionChange: [{
618
+ type: Output
619
+ }], onNodeSelect: [{
620
+ type: Output
621
+ }], onNodeUnselect: [{
622
+ type: Output
623
+ }], onNodeExpand: [{
624
+ type: Output
625
+ }], onNodeCollapse: [{
626
+ type: Output
627
+ }], templates: [{
628
+ type: ContentChildren,
629
+ args: [PrimeTemplate]
630
+ }], togglerIconTemplate: [{
631
+ type: ContentChild,
632
+ args: ['togglericon', { descendants: false }]
633
+ }] } });
783
634
  class OrganizationChartModule {
784
- static ɵfac = function OrganizationChartModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || OrganizationChartModule)(); };
785
- static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: OrganizationChartModule });
786
- static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [OrganizationChart, OrganizationChartNode, SharedModule, SharedModule] });
635
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: OrganizationChartModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
636
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: OrganizationChartModule, imports: [OrganizationChart, OrganizationChartNode, SharedModule], exports: [OrganizationChart, OrganizationChartNode, SharedModule] });
637
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: OrganizationChartModule, imports: [OrganizationChart, OrganizationChartNode, SharedModule, SharedModule] });
787
638
  }
788
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OrganizationChartModule, [{
789
- type: NgModule,
790
- args: [{
791
- imports: [OrganizationChart, OrganizationChartNode, SharedModule],
792
- exports: [OrganizationChart, OrganizationChartNode, SharedModule]
793
- }]
794
- }], null, null); })();
795
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(OrganizationChartModule, { imports: [OrganizationChart, OrganizationChartNode, SharedModule], exports: [OrganizationChart, OrganizationChartNode, SharedModule] }); })();
639
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: OrganizationChartModule, decorators: [{
640
+ type: NgModule,
641
+ args: [{
642
+ imports: [OrganizationChart, OrganizationChartNode, SharedModule],
643
+ exports: [OrganizationChart, OrganizationChartNode, SharedModule]
644
+ }]
645
+ }] });
796
646
 
797
647
  /**
798
648
  * Generated bundle index. Do not edit.