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
1
  import * as i1 from '@angular/common';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
- import { Injectable, Component, EventEmitter, inject, booleanAttribute, ChangeDetectionStrategy, ViewEncapsulation, Input, Output, ContentChild, ContentChildren, NgModule } from '@angular/core';
5
- import { PrimeTemplate, SharedModule } from 'primeng/api';
4
+ import { Injectable, Component, EventEmitter, inject, booleanAttribute, ContentChildren, ContentChild, Output, Input, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
5
+ import { SharedModule, PrimeTemplate } from 'primeng/api';
6
6
  import { BaseComponent } from 'primeng/basecomponent';
7
7
  import * as i2 from 'primeng/button';
8
8
  import { ButtonModule } from 'primeng/button';
@@ -45,12 +45,12 @@ class InplaceStyle extends BaseStyle {
45
45
  name = 'inplace';
46
46
  theme = theme;
47
47
  classes = classes;
48
- static ɵfac = /*@__PURE__*/ (() => { let ɵInplaceStyle_BaseFactory; return function InplaceStyle_Factory(__ngFactoryType__) { return (ɵInplaceStyle_BaseFactory || (ɵInplaceStyle_BaseFactory = i0.ɵɵgetInheritedFactory(InplaceStyle)))(__ngFactoryType__ || InplaceStyle); }; })();
49
- static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: InplaceStyle, factory: InplaceStyle.ɵfac });
48
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: InplaceStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
49
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: InplaceStyle });
50
50
  }
51
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InplaceStyle, [{
52
- type: Injectable
53
- }], null, null); })();
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: InplaceStyle, decorators: [{
52
+ type: Injectable
53
+ }] });
54
54
  /**
55
55
  *
56
56
  * Inplace provides an easy to do editing and display at the same time where clicking the output displays the actual content.
@@ -76,123 +76,32 @@ var InplaceClasses;
76
76
  InplaceClasses["content"] = "p-inplace-content";
77
77
  })(InplaceClasses || (InplaceClasses = {}));
78
78
 
79
- const _c0 = ["*"];
80
- const _c1 = ["display"];
81
- const _c2 = ["content"];
82
- const _c3 = ["closeicon"];
83
- const _c4 = [[["", "pInplaceDisplay", ""]], [["", "pInplaceContent", ""]]];
84
- const _c5 = ["[pInplaceDisplay]", "[pInplaceContent]"];
85
- const _c6 = a0 => ({ "p-inplace p-component": true, "p-inplace-closable": a0 });
86
- const _c7 = a0 => ({ "p-disabled": a0 });
87
- const _c8 = a0 => ({ closeCallback: a0 });
88
- function Inplace_div_1_ng_container_2_Template(rf, ctx) { if (rf & 1) {
89
- i0.ɵɵelementContainer(0);
90
- } }
91
- function Inplace_div_1_Template(rf, ctx) { if (rf & 1) {
92
- const _r1 = i0.ɵɵgetCurrentView();
93
- i0.ɵɵelementStart(0, "div", 3);
94
- i0.ɵɵlistener("click", function Inplace_div_1_Template_div_click_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onActivateClick($event)); })("keydown", function Inplace_div_1_Template_div_keydown_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onKeydown($event)); });
95
- i0.ɵɵprojection(1);
96
- i0.ɵɵtemplate(2, Inplace_div_1_ng_container_2_Template, 1, 0, "ng-container", 4);
97
- i0.ɵɵelementEnd();
98
- } if (rf & 2) {
99
- const ctx_r1 = i0.ɵɵnextContext();
100
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c7, ctx_r1.disabled));
101
- i0.ɵɵadvance(2);
102
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.displayTemplate || ctx_r1._displayTemplate);
103
- } }
104
- function Inplace_div_2_ng_container_2_Template(rf, ctx) { if (rf & 1) {
105
- i0.ɵɵelementContainer(0);
106
- } }
107
- function Inplace_div_2_ng_container_3_button_1_Template(rf, ctx) { if (rf & 1) {
108
- const _r3 = i0.ɵɵgetCurrentView();
109
- i0.ɵɵelementStart(0, "button", 10);
110
- i0.ɵɵlistener("click", function Inplace_div_2_ng_container_3_button_1_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onDeactivateClick($event)); });
111
- i0.ɵɵelementEnd();
112
- } if (rf & 2) {
113
- const ctx_r1 = i0.ɵɵnextContext(3);
114
- i0.ɵɵproperty("icon", ctx_r1.closeIcon);
115
- i0.ɵɵattribute("aria-label", ctx_r1.closeAriaLabel);
116
- } }
117
- function Inplace_div_2_ng_container_3_button_2_TimesIcon_1_Template(rf, ctx) { if (rf & 1) {
118
- i0.ɵɵelement(0, "TimesIcon");
119
- } }
120
- function Inplace_div_2_ng_container_3_button_2_2_ng_template_0_Template(rf, ctx) { }
121
- function Inplace_div_2_ng_container_3_button_2_2_Template(rf, ctx) { if (rf & 1) {
122
- i0.ɵɵtemplate(0, Inplace_div_2_ng_container_3_button_2_2_ng_template_0_Template, 0, 0, "ng-template");
123
- } }
124
- function Inplace_div_2_ng_container_3_button_2_Template(rf, ctx) { if (rf & 1) {
125
- const _r4 = i0.ɵɵgetCurrentView();
126
- i0.ɵɵelementStart(0, "button", 11);
127
- i0.ɵɵlistener("click", function Inplace_div_2_ng_container_3_button_2_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r1.onDeactivateClick($event)); });
128
- i0.ɵɵtemplate(1, Inplace_div_2_ng_container_3_button_2_TimesIcon_1_Template, 1, 0, "TimesIcon", 7)(2, Inplace_div_2_ng_container_3_button_2_2_Template, 1, 0, null, 4);
129
- i0.ɵɵelementEnd();
130
- } if (rf & 2) {
131
- const ctx_r1 = i0.ɵɵnextContext(3);
132
- i0.ɵɵproperty("ngClass", "p-button-icon-only");
133
- i0.ɵɵattribute("aria-label", ctx_r1.closeAriaLabel);
134
- i0.ɵɵadvance();
135
- i0.ɵɵproperty("ngIf", !ctx_r1.closeIconTemplate && !ctx_r1._closeIconTemplate);
136
- i0.ɵɵadvance();
137
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.closeIconTemplate || ctx_r1._closeIconTemplate);
138
- } }
139
- function Inplace_div_2_ng_container_3_Template(rf, ctx) { if (rf & 1) {
140
- i0.ɵɵelementContainerStart(0);
141
- i0.ɵɵtemplate(1, Inplace_div_2_ng_container_3_button_1_Template, 1, 2, "button", 8)(2, Inplace_div_2_ng_container_3_button_2_Template, 3, 4, "button", 9);
142
- i0.ɵɵelementContainerEnd();
143
- } if (rf & 2) {
144
- const ctx_r1 = i0.ɵɵnextContext(2);
145
- i0.ɵɵadvance();
146
- i0.ɵɵproperty("ngIf", ctx_r1.closeIcon);
147
- i0.ɵɵadvance();
148
- i0.ɵɵproperty("ngIf", !ctx_r1.closeIcon);
149
- } }
150
- function Inplace_div_2_Template(rf, ctx) { if (rf & 1) {
151
- i0.ɵɵelementStart(0, "div", 5);
152
- i0.ɵɵprojection(1, 1);
153
- i0.ɵɵtemplate(2, Inplace_div_2_ng_container_2_Template, 1, 0, "ng-container", 6)(3, Inplace_div_2_ng_container_3_Template, 3, 2, "ng-container", 7);
154
- i0.ɵɵelementEnd();
155
- } if (rf & 2) {
156
- const ctx_r1 = i0.ɵɵnextContext();
157
- i0.ɵɵadvance(2);
158
- i0.ɵɵproperty("ngTemplateOutlet", ctx_r1.contentTemplate || ctx_r1._contentTemplate)("ngTemplateOutletContext", i0.ɵɵpureFunction1(3, _c8, ctx_r1.onDeactivateClick.bind(ctx_r1)));
159
- i0.ɵɵadvance();
160
- i0.ɵɵproperty("ngIf", ctx_r1.closable);
161
- } }
162
79
  class InplaceDisplay {
163
- static ɵfac = function InplaceDisplay_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || InplaceDisplay)(); };
164
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InplaceDisplay, selectors: [["p-inplacedisplay"], ["p-inplaceDisplay"]], ngContentSelectors: _c0, decls: 1, vars: 0, template: function InplaceDisplay_Template(rf, ctx) { if (rf & 1) {
165
- i0.ɵɵprojectionDef();
166
- i0.ɵɵprojection(0);
167
- } }, dependencies: [CommonModule], encapsulation: 2 });
80
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: InplaceDisplay, deps: [], target: i0.ɵɵFactoryTarget.Component });
81
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.7", type: InplaceDisplay, isStandalone: true, selector: "p-inplacedisplay, p-inplaceDisplay", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }] });
168
82
  }
169
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InplaceDisplay, [{
170
- type: Component,
171
- args: [{
172
- selector: 'p-inplacedisplay, p-inplaceDisplay',
173
- standalone: true,
174
- imports: [CommonModule],
175
- template: '<ng-content></ng-content>'
176
- }]
177
- }], null, null); })();
178
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InplaceDisplay, { className: "InplaceDisplay", filePath: "inplace.ts", lineNumber: 16 }); })();
83
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: InplaceDisplay, decorators: [{
84
+ type: Component,
85
+ args: [{
86
+ selector: 'p-inplacedisplay, p-inplaceDisplay',
87
+ standalone: true,
88
+ imports: [CommonModule],
89
+ template: '<ng-content></ng-content>'
90
+ }]
91
+ }] });
179
92
  class InplaceContent {
180
- static ɵfac = function InplaceContent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || InplaceContent)(); };
181
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InplaceContent, selectors: [["p-inplacecontent"], ["p-inplaceContent"]], ngContentSelectors: _c0, decls: 1, vars: 0, template: function InplaceContent_Template(rf, ctx) { if (rf & 1) {
182
- i0.ɵɵprojectionDef();
183
- i0.ɵɵprojection(0);
184
- } }, dependencies: [CommonModule], encapsulation: 2 });
93
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: InplaceContent, deps: [], target: i0.ɵɵFactoryTarget.Component });
94
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.7", type: InplaceContent, isStandalone: true, selector: "p-inplacecontent, p-inplaceContent", ngImport: i0, template: '<ng-content></ng-content>', isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }] });
185
95
  }
186
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InplaceContent, [{
187
- type: Component,
188
- args: [{
189
- selector: 'p-inplacecontent, p-inplaceContent',
190
- standalone: true,
191
- imports: [CommonModule],
192
- template: '<ng-content></ng-content>'
193
- }]
194
- }], null, null); })();
195
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InplaceContent, { className: "InplaceContent", filePath: "inplace.ts", lineNumber: 24 }); })();
96
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: InplaceContent, decorators: [{
97
+ type: Component,
98
+ args: [{
99
+ selector: 'p-inplacecontent, p-inplaceContent',
100
+ standalone: true,
101
+ imports: [CommonModule],
102
+ template: '<ng-content></ng-content>'
103
+ }]
104
+ }] });
196
105
  /**
197
106
  * Inplace provides an easy to do editing and display at the same time where clicking the output displays the actual content.
198
107
  * @group Components
@@ -325,40 +234,35 @@ class Inplace extends BaseComponent {
325
234
  }
326
235
  });
327
236
  }
328
- static ɵfac = /*@__PURE__*/ (() => { let ɵInplace_BaseFactory; return function Inplace_Factory(__ngFactoryType__) { return (ɵInplace_BaseFactory || (ɵInplace_BaseFactory = i0.ɵɵgetInheritedFactory(Inplace)))(__ngFactoryType__ || Inplace); }; })();
329
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Inplace, selectors: [["p-inplace"]], contentQueries: function Inplace_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
330
- i0.ɵɵcontentQuery(dirIndex, _c1, 4);
331
- i0.ɵɵcontentQuery(dirIndex, _c2, 4);
332
- i0.ɵɵcontentQuery(dirIndex, _c3, 4);
333
- i0.ɵɵcontentQuery(dirIndex, PrimeTemplate, 4);
334
- } if (rf & 2) {
335
- let _t;
336
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.displayTemplate = _t.first);
337
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.contentTemplate = _t.first);
338
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.closeIconTemplate = _t.first);
339
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.templates = _t);
340
- } }, inputs: { active: [2, "active", "active", booleanAttribute], closable: [2, "closable", "closable", booleanAttribute], disabled: [2, "disabled", "disabled", booleanAttribute], preventClick: [2, "preventClick", "preventClick", booleanAttribute], style: "style", styleClass: "styleClass", closeIcon: "closeIcon", closeAriaLabel: "closeAriaLabel" }, outputs: { onActivate: "onActivate", onDeactivate: "onDeactivate" }, features: [i0.ɵɵProvidersFeature([InplaceStyle]), i0.ɵɵInputTransformsFeature, i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c5, decls: 3, vars: 9, consts: [[3, "ngClass", "ngStyle"], ["class", "p-inplace-display", "tabindex", "0", "role", "button", 3, "ngClass", "click", "keydown", 4, "ngIf"], ["class", "p-inplace-content", 4, "ngIf"], ["tabindex", "0", "role", "button", 1, "p-inplace-display", 3, "click", "keydown", "ngClass"], [4, "ngTemplateOutlet"], [1, "p-inplace-content"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [4, "ngIf"], ["type", "button", "pButton", "", "pRipple", "", 3, "icon", "click", 4, "ngIf"], ["type", "button", "pButton", "", "pRipple", "", 3, "ngClass", "click", 4, "ngIf"], ["type", "button", "pButton", "", "pRipple", "", 3, "click", "icon"], ["type", "button", "pButton", "", "pRipple", "", 3, "click", "ngClass"]], template: function Inplace_Template(rf, ctx) { if (rf & 1) {
341
- i0.ɵɵprojectionDef(_c4);
342
- i0.ɵɵelementStart(0, "div", 0);
343
- i0.ɵɵtemplate(1, Inplace_div_1_Template, 3, 4, "div", 1)(2, Inplace_div_2_Template, 4, 5, "div", 2);
344
- i0.ɵɵelementEnd();
345
- } if (rf & 2) {
346
- i0.ɵɵclassMap(ctx.styleClass);
347
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c6, ctx.closable))("ngStyle", ctx.style);
348
- i0.ɵɵattribute("aria-live", "polite");
349
- i0.ɵɵadvance();
350
- i0.ɵɵproperty("ngIf", !ctx.active);
351
- i0.ɵɵadvance();
352
- i0.ɵɵproperty("ngIf", ctx.active);
353
- } }, dependencies: [CommonModule, i1.NgClass, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, ButtonModule, i2.ButtonDirective, TimesIcon, SharedModule, Ripple], encapsulation: 2, changeDetection: 0 });
237
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: Inplace, deps: null, target: i0.ɵɵFactoryTarget.Component });
238
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.1.7", type: Inplace, isStandalone: true, selector: "p-inplace", inputs: { active: ["active", "active", booleanAttribute], closable: ["closable", "closable", booleanAttribute], disabled: ["disabled", "disabled", booleanAttribute], preventClick: ["preventClick", "preventClick", booleanAttribute], style: "style", styleClass: "styleClass", closeIcon: "closeIcon", closeAriaLabel: "closeAriaLabel" }, outputs: { onActivate: "onActivate", onDeactivate: "onDeactivate" }, providers: [InplaceStyle], queries: [{ propertyName: "displayTemplate", first: true, predicate: ["display"] }, { propertyName: "contentTemplate", first: true, predicate: ["content"] }, { propertyName: "closeIconTemplate", first: true, predicate: ["closeicon"] }, { propertyName: "templates", predicate: PrimeTemplate }], usesInheritance: true, ngImport: i0, template: `
239
+ <div [ngClass]="{ 'p-inplace p-component': true, 'p-inplace-closable': closable }" [ngStyle]="style" [class]="styleClass" [attr.aria-live]="'polite'">
240
+ <div class="p-inplace-display" (click)="onActivateClick($event)" tabindex="0" role="button" (keydown)="onKeydown($event)" [ngClass]="{ 'p-disabled': disabled }" *ngIf="!active">
241
+ <ng-content select="[pInplaceDisplay]"></ng-content>
242
+ <ng-container *ngTemplateOutlet="displayTemplate || _displayTemplate"></ng-container>
243
+ </div>
244
+ <div class="p-inplace-content" *ngIf="active">
245
+ <ng-content select="[pInplaceContent]"></ng-content>
246
+ <ng-container *ngTemplateOutlet="contentTemplate || _contentTemplate; context: { closeCallback: onDeactivateClick.bind(this) }"></ng-container>
247
+
248
+ <ng-container *ngIf="closable">
249
+ <button *ngIf="closeIcon" type="button" [icon]="closeIcon" pButton pRipple (click)="onDeactivateClick($event)" [attr.aria-label]="closeAriaLabel"></button>
250
+ <button *ngIf="!closeIcon" type="button" pButton pRipple [ngClass]="'p-button-icon-only'" (click)="onDeactivateClick($event)" [attr.aria-label]="closeAriaLabel">
251
+ <TimesIcon *ngIf="!closeIconTemplate && !_closeIconTemplate" />
252
+ <ng-template *ngTemplateOutlet="closeIconTemplate || _closeIconTemplate"></ng-template>
253
+ </button>
254
+ </ng-container>
255
+ </div>
256
+ </div>
257
+ `, 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.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: ButtonModule }, { kind: "directive", type: i2.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "loading", "severity", "raised", "rounded", "text", "outlined", "size", "plain", "fluid", "label", "icon", "buttonProps"] }, { kind: "component", type: TimesIcon, selector: "TimesIcon" }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: Ripple, selector: "[pRipple]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
354
258
  }
355
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Inplace, [{
356
- type: Component,
357
- args: [{
358
- selector: 'p-inplace',
359
- standalone: true,
360
- imports: [CommonModule, ButtonModule, TimesIcon, SharedModule, Ripple],
361
- template: `
259
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: Inplace, decorators: [{
260
+ type: Component,
261
+ args: [{
262
+ selector: 'p-inplace',
263
+ standalone: true,
264
+ imports: [CommonModule, ButtonModule, TimesIcon, SharedModule, Ripple],
265
+ template: `
362
266
  <div [ngClass]="{ 'p-inplace p-component': true, 'p-inplace-closable': closable }" [ngStyle]="style" [class]="styleClass" [attr.aria-live]="'polite'">
363
267
  <div class="p-inplace-display" (click)="onActivateClick($event)" tabindex="0" role="button" (keydown)="onKeydown($event)" [ngClass]="{ 'p-disabled': disabled }" *ngIf="!active">
364
268
  <ng-content select="[pInplaceDisplay]"></ng-content>
@@ -378,61 +282,59 @@ class Inplace extends BaseComponent {
378
282
  </div>
379
283
  </div>
380
284
  `,
381
- changeDetection: ChangeDetectionStrategy.OnPush,
382
- encapsulation: ViewEncapsulation.None,
383
- providers: [InplaceStyle]
384
- }]
385
- }], null, { active: [{
386
- type: Input,
387
- args: [{ transform: booleanAttribute }]
388
- }], closable: [{
389
- type: Input,
390
- args: [{ transform: booleanAttribute }]
391
- }], disabled: [{
392
- type: Input,
393
- args: [{ transform: booleanAttribute }]
394
- }], preventClick: [{
395
- type: Input,
396
- args: [{ transform: booleanAttribute }]
397
- }], style: [{
398
- type: Input
399
- }], styleClass: [{
400
- type: Input
401
- }], closeIcon: [{
402
- type: Input
403
- }], closeAriaLabel: [{
404
- type: Input
405
- }], onActivate: [{
406
- type: Output
407
- }], onDeactivate: [{
408
- type: Output
409
- }], displayTemplate: [{
410
- type: ContentChild,
411
- args: ['display', { descendants: false }]
412
- }], contentTemplate: [{
413
- type: ContentChild,
414
- args: ['content', { descendants: false }]
415
- }], closeIconTemplate: [{
416
- type: ContentChild,
417
- args: ['closeicon', { descendants: false }]
418
- }], templates: [{
419
- type: ContentChildren,
420
- args: [PrimeTemplate]
421
- }] }); })();
422
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Inplace, { className: "Inplace", filePath: "inplace.ts", lineNumber: 57 }); })();
285
+ changeDetection: ChangeDetectionStrategy.OnPush,
286
+ encapsulation: ViewEncapsulation.None,
287
+ providers: [InplaceStyle]
288
+ }]
289
+ }], propDecorators: { active: [{
290
+ type: Input,
291
+ args: [{ transform: booleanAttribute }]
292
+ }], closable: [{
293
+ type: Input,
294
+ args: [{ transform: booleanAttribute }]
295
+ }], disabled: [{
296
+ type: Input,
297
+ args: [{ transform: booleanAttribute }]
298
+ }], preventClick: [{
299
+ type: Input,
300
+ args: [{ transform: booleanAttribute }]
301
+ }], style: [{
302
+ type: Input
303
+ }], styleClass: [{
304
+ type: Input
305
+ }], closeIcon: [{
306
+ type: Input
307
+ }], closeAriaLabel: [{
308
+ type: Input
309
+ }], onActivate: [{
310
+ type: Output
311
+ }], onDeactivate: [{
312
+ type: Output
313
+ }], displayTemplate: [{
314
+ type: ContentChild,
315
+ args: ['display', { descendants: false }]
316
+ }], contentTemplate: [{
317
+ type: ContentChild,
318
+ args: ['content', { descendants: false }]
319
+ }], closeIconTemplate: [{
320
+ type: ContentChild,
321
+ args: ['closeicon', { descendants: false }]
322
+ }], templates: [{
323
+ type: ContentChildren,
324
+ args: [PrimeTemplate]
325
+ }] } });
423
326
  class InplaceModule {
424
- static ɵfac = function InplaceModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || InplaceModule)(); };
425
- static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: InplaceModule });
426
- static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [Inplace, InplaceContent, InplaceDisplay, SharedModule, SharedModule] });
327
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: InplaceModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
328
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: InplaceModule, imports: [Inplace, InplaceContent, InplaceDisplay, SharedModule], exports: [Inplace, InplaceContent, InplaceDisplay, SharedModule] });
329
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: InplaceModule, imports: [Inplace, InplaceContent, InplaceDisplay, SharedModule, SharedModule] });
427
330
  }
428
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InplaceModule, [{
429
- type: NgModule,
430
- args: [{
431
- imports: [Inplace, InplaceContent, InplaceDisplay, SharedModule],
432
- exports: [Inplace, InplaceContent, InplaceDisplay, SharedModule]
433
- }]
434
- }], null, null); })();
435
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(InplaceModule, { imports: [Inplace, InplaceContent, InplaceDisplay, SharedModule], exports: [Inplace, InplaceContent, InplaceDisplay, SharedModule] }); })();
331
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: InplaceModule, decorators: [{
332
+ type: NgModule,
333
+ args: [{
334
+ imports: [Inplace, InplaceContent, InplaceDisplay, SharedModule],
335
+ exports: [Inplace, InplaceContent, InplaceDisplay, SharedModule]
336
+ }]
337
+ }] });
436
338
 
437
339
  /**
438
340
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"primeng-inplace.mjs","sources":["../../src/inplace/style/inplacestyle.ts","../../src/inplace/inplace.ts","../../src/inplace/primeng-inplace.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { BaseStyle } from 'primeng/base';\n\nconst theme = ({ dt }) => `\n.p-inplace-display {\n display: inline-block;\n cursor: pointer;\n border: 1px solid transparent;\n padding: ${dt('inplace.padding')};\n border-radius: ${dt('inplace.border.radius')};\n transition: background ${dt('inplace.transition.duration')}, color ${dt('inplace.transition.duration')}, outline-color ${dt('inplace.transition.duration')}, box-shadow ${dt('inplace.transition.duration')};\n outline-color: transparent;\n}\n\n.p-inplace-display:not(.p-disabled):hover {\n background: ${dt('inplace.display.hover.background')};\n color: ${dt('inplace.display.hover.color')};\n}\n\n.p-inplace-display:focus-visible {\n box-shadow: ${dt('inplace.focus.ring.shadow')};\n outline: ${dt('inplace.focus.ring.width')} ${dt('inplace.focus.ring.style')} ${dt('inplace.focus.ring.color')};\n outline-offset: ${dt('inplace.focus.ring.offset')};\n}\n\n.p-inplace-content {\n display: block;\n}\n`;\n\nconst classes = {\n root: 'p-inplace p-component',\n display: ({ props }) => ['p-inplace-display', { 'p-disabled': props.disabled }],\n content: 'p-inplace-content'\n};\n\n@Injectable()\nexport class InplaceStyle extends BaseStyle {\n name = 'inplace';\n\n theme = theme;\n\n classes = classes;\n}\n\n/**\n *\n * Inplace provides an easy to do editing and display at the same time where clicking the output displays the actual content.\n *\n * [Live Demo](https://www.primeng.org/inplace)\n *\n * @module inplacestyle\n *\n */\nexport enum InplaceClasses {\n /**\n * Class name of the root element\n */\n root = 'p-inplace',\n /**\n * Class name of the display element\n */\n display = 'p-inplace-display',\n /**\n * Class name of the content element\n */\n content = 'p-inplace-content'\n}\n\nexport interface InplaceStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport { AfterContentInit, booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, ContentChildren, EventEmitter, inject, Input, NgModule, Output, QueryList, TemplateRef, ViewEncapsulation } from '@angular/core';\nimport { PrimeTemplate, SharedModule } from 'primeng/api';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { ButtonModule } from 'primeng/button';\nimport { TimesIcon } from 'primeng/icons';\nimport { InplaceStyle } from './style/inplacestyle';\nimport { Ripple } from 'primeng/ripple';\n\n@Component({\n selector: 'p-inplacedisplay, p-inplaceDisplay',\n standalone: true,\n imports: [CommonModule],\n template: '<ng-content></ng-content>'\n})\nexport class InplaceDisplay {}\n\n@Component({\n selector: 'p-inplacecontent, p-inplaceContent',\n standalone: true,\n imports: [CommonModule],\n template: '<ng-content></ng-content>'\n})\nexport class InplaceContent {}\n/**\n * Inplace provides an easy to do editing and display at the same time where clicking the output displays the actual content.\n * @group Components\n */\n@Component({\n selector: 'p-inplace',\n standalone: true,\n imports: [CommonModule, ButtonModule, TimesIcon, SharedModule, Ripple],\n template: `\n <div [ngClass]=\"{ 'p-inplace p-component': true, 'p-inplace-closable': closable }\" [ngStyle]=\"style\" [class]=\"styleClass\" [attr.aria-live]=\"'polite'\">\n <div class=\"p-inplace-display\" (click)=\"onActivateClick($event)\" tabindex=\"0\" role=\"button\" (keydown)=\"onKeydown($event)\" [ngClass]=\"{ 'p-disabled': disabled }\" *ngIf=\"!active\">\n <ng-content select=\"[pInplaceDisplay]\"></ng-content>\n <ng-container *ngTemplateOutlet=\"displayTemplate || _displayTemplate\"></ng-container>\n </div>\n <div class=\"p-inplace-content\" *ngIf=\"active\">\n <ng-content select=\"[pInplaceContent]\"></ng-content>\n <ng-container *ngTemplateOutlet=\"contentTemplate || _contentTemplate; context: { closeCallback: onDeactivateClick.bind(this) }\"></ng-container>\n\n <ng-container *ngIf=\"closable\">\n <button *ngIf=\"closeIcon\" type=\"button\" [icon]=\"closeIcon\" pButton pRipple (click)=\"onDeactivateClick($event)\" [attr.aria-label]=\"closeAriaLabel\"></button>\n <button *ngIf=\"!closeIcon\" type=\"button\" pButton pRipple [ngClass]=\"'p-button-icon-only'\" (click)=\"onDeactivateClick($event)\" [attr.aria-label]=\"closeAriaLabel\">\n <TimesIcon *ngIf=\"!closeIconTemplate && !_closeIconTemplate\" />\n <ng-template *ngTemplateOutlet=\"closeIconTemplate || _closeIconTemplate\"></ng-template>\n </button>\n </ng-container>\n </div>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [InplaceStyle]\n})\nexport class Inplace extends BaseComponent implements AfterContentInit {\n /**\n * Whether the content is displayed or not.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) active: boolean | undefined = false;\n /**\n * Displays a button to switch back to display mode.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) closable: boolean | undefined = false;\n /**\n * When present, it specifies that the element should be disabled.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) disabled: boolean | undefined = false;\n /**\n * Allows to prevent clicking.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) preventClick: boolean | undefined;\n /**\n * Inline style of the element.\n * @group Props\n */\n @Input() style: { [klass: string]: any } | null | undefined;\n /**\n * Class of the element.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Icon to display in the close button.\n * @group Props\n */\n @Input() closeIcon: string | undefined;\n /**\n * Establishes a string value that labels the close button.\n * @group Props\n */\n @Input() closeAriaLabel: string | undefined;\n /**\n * Callback to invoke when inplace is opened.\n * @param {Event} event - Browser event.\n * @group Emits\n */\n @Output() onActivate: EventEmitter<Event> = new EventEmitter<Event>();\n /**\n * Callback to invoke when inplace is closed.\n * @param {Event} event - Browser event.\n * @group Emits\n */\n @Output() onDeactivate: EventEmitter<Event> = new EventEmitter<Event>();\n\n hover!: boolean;\n /**\n * Display template of the element.\n * @group Templates\n */\n @ContentChild('display', { descendants: false }) displayTemplate: TemplateRef<any> | undefined;\n /**\n * Content template of the element.\n * @group Templates\n */\n @ContentChild('content', { descendants: false }) contentTemplate: TemplateRef<any> | undefined;\n /**\n * Close icon template of the element.\n * @group Templates\n */\n @ContentChild('closeicon', { descendants: false }) closeIconTemplate: TemplateRef<any> | undefined;\n\n _componentStyle = inject(InplaceStyle);\n\n onActivateClick(event: MouseEvent) {\n if (!this.preventClick) this.activate(event);\n }\n\n onDeactivateClick(event: MouseEvent) {\n if (!this.preventClick) this.deactivate(event);\n }\n /**\n * Activates the content.\n * @param {Event} event - Browser event.\n * @group Method\n */\n activate(event?: Event) {\n if (!this.disabled) {\n this.active = true;\n this.onActivate.emit(event);\n this.cd.markForCheck();\n }\n }\n /**\n * Deactivates the content.\n * @param {Event} event - Browser event.\n * @group Method\n */\n deactivate(event?: Event) {\n if (!this.disabled) {\n this.active = false;\n this.hover = false;\n this.onDeactivate.emit(event);\n this.cd.markForCheck();\n }\n }\n\n onKeydown(event: KeyboardEvent) {\n if (event.code === 'Enter') {\n this.activate(event);\n event.preventDefault();\n }\n }\n\n @ContentChildren(PrimeTemplate) templates: QueryList<PrimeTemplate> | undefined;\n\n _displayTemplate: TemplateRef<any> | undefined;\n\n _closeIconTemplate: TemplateRef<any> | undefined;\n\n _contentTemplate: TemplateRef<any> | undefined;\n\n ngAfterContentInit() {\n this.templates?.forEach((item) => {\n switch (item.getType()) {\n case 'display':\n this._displayTemplate = item.template;\n break;\n\n case 'closeicon':\n this._closeIconTemplate = item.template;\n break;\n\n case 'content':\n this._contentTemplate = item.template;\n break;\n }\n });\n }\n}\n\n@NgModule({\n imports: [Inplace, InplaceContent, InplaceDisplay, SharedModule],\n exports: [Inplace, InplaceContent, InplaceDisplay, SharedModule]\n})\nexport class InplaceModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;AAGA,MAAM,KAAK,GAAG,CAAC,EAAE,EAAE,EAAE,KAAK;;;;;eAKX,EAAE,CAAC,iBAAiB,CAAC,CAAA;qBACf,EAAE,CAAC,uBAAuB,CAAC,CAAA;AACnB,2BAAA,EAAA,EAAE,CAAC,6BAA6B,CAAC,CAAW,QAAA,EAAA,EAAE,CAAC,6BAA6B,CAAC,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B,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA,GAAA;;ACtMnE;;AAEG;;;;"}
1
+ {"version":3,"file":"primeng-inplace.mjs","sources":["../../src/inplace/style/inplacestyle.ts","../../src/inplace/inplace.ts","../../src/inplace/primeng-inplace.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { BaseStyle } from 'primeng/base';\n\nconst theme = ({ dt }) => `\n.p-inplace-display {\n display: inline-block;\n cursor: pointer;\n border: 1px solid transparent;\n padding: ${dt('inplace.padding')};\n border-radius: ${dt('inplace.border.radius')};\n transition: background ${dt('inplace.transition.duration')}, color ${dt('inplace.transition.duration')}, outline-color ${dt('inplace.transition.duration')}, box-shadow ${dt('inplace.transition.duration')};\n outline-color: transparent;\n}\n\n.p-inplace-display:not(.p-disabled):hover {\n background: ${dt('inplace.display.hover.background')};\n color: ${dt('inplace.display.hover.color')};\n}\n\n.p-inplace-display:focus-visible {\n box-shadow: ${dt('inplace.focus.ring.shadow')};\n outline: ${dt('inplace.focus.ring.width')} ${dt('inplace.focus.ring.style')} ${dt('inplace.focus.ring.color')};\n outline-offset: ${dt('inplace.focus.ring.offset')};\n}\n\n.p-inplace-content {\n display: block;\n}\n`;\n\nconst classes = {\n root: 'p-inplace p-component',\n display: ({ props }) => ['p-inplace-display', { 'p-disabled': props.disabled }],\n content: 'p-inplace-content'\n};\n\n@Injectable()\nexport class InplaceStyle extends BaseStyle {\n name = 'inplace';\n\n theme = theme;\n\n classes = classes;\n}\n\n/**\n *\n * Inplace provides an easy to do editing and display at the same time where clicking the output displays the actual content.\n *\n * [Live Demo](https://www.primeng.org/inplace)\n *\n * @module inplacestyle\n *\n */\nexport enum InplaceClasses {\n /**\n * Class name of the root element\n */\n root = 'p-inplace',\n /**\n * Class name of the display element\n */\n display = 'p-inplace-display',\n /**\n * Class name of the content element\n */\n content = 'p-inplace-content'\n}\n\nexport interface InplaceStyle extends BaseStyle {}\n","import { CommonModule } from '@angular/common';\nimport { AfterContentInit, booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, ContentChildren, EventEmitter, inject, Input, NgModule, Output, QueryList, TemplateRef, ViewEncapsulation } from '@angular/core';\nimport { PrimeTemplate, SharedModule } from 'primeng/api';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { ButtonModule } from 'primeng/button';\nimport { TimesIcon } from 'primeng/icons';\nimport { InplaceStyle } from './style/inplacestyle';\nimport { Ripple } from 'primeng/ripple';\n\n@Component({\n selector: 'p-inplacedisplay, p-inplaceDisplay',\n standalone: true,\n imports: [CommonModule],\n template: '<ng-content></ng-content>'\n})\nexport class InplaceDisplay {}\n\n@Component({\n selector: 'p-inplacecontent, p-inplaceContent',\n standalone: true,\n imports: [CommonModule],\n template: '<ng-content></ng-content>'\n})\nexport class InplaceContent {}\n/**\n * Inplace provides an easy to do editing and display at the same time where clicking the output displays the actual content.\n * @group Components\n */\n@Component({\n selector: 'p-inplace',\n standalone: true,\n imports: [CommonModule, ButtonModule, TimesIcon, SharedModule, Ripple],\n template: `\n <div [ngClass]=\"{ 'p-inplace p-component': true, 'p-inplace-closable': closable }\" [ngStyle]=\"style\" [class]=\"styleClass\" [attr.aria-live]=\"'polite'\">\n <div class=\"p-inplace-display\" (click)=\"onActivateClick($event)\" tabindex=\"0\" role=\"button\" (keydown)=\"onKeydown($event)\" [ngClass]=\"{ 'p-disabled': disabled }\" *ngIf=\"!active\">\n <ng-content select=\"[pInplaceDisplay]\"></ng-content>\n <ng-container *ngTemplateOutlet=\"displayTemplate || _displayTemplate\"></ng-container>\n </div>\n <div class=\"p-inplace-content\" *ngIf=\"active\">\n <ng-content select=\"[pInplaceContent]\"></ng-content>\n <ng-container *ngTemplateOutlet=\"contentTemplate || _contentTemplate; context: { closeCallback: onDeactivateClick.bind(this) }\"></ng-container>\n\n <ng-container *ngIf=\"closable\">\n <button *ngIf=\"closeIcon\" type=\"button\" [icon]=\"closeIcon\" pButton pRipple (click)=\"onDeactivateClick($event)\" [attr.aria-label]=\"closeAriaLabel\"></button>\n <button *ngIf=\"!closeIcon\" type=\"button\" pButton pRipple [ngClass]=\"'p-button-icon-only'\" (click)=\"onDeactivateClick($event)\" [attr.aria-label]=\"closeAriaLabel\">\n <TimesIcon *ngIf=\"!closeIconTemplate && !_closeIconTemplate\" />\n <ng-template *ngTemplateOutlet=\"closeIconTemplate || _closeIconTemplate\"></ng-template>\n </button>\n </ng-container>\n </div>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [InplaceStyle]\n})\nexport class Inplace extends BaseComponent implements AfterContentInit {\n /**\n * Whether the content is displayed or not.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) active: boolean | undefined = false;\n /**\n * Displays a button to switch back to display mode.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) closable: boolean | undefined = false;\n /**\n * When present, it specifies that the element should be disabled.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) disabled: boolean | undefined = false;\n /**\n * Allows to prevent clicking.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) preventClick: boolean | undefined;\n /**\n * Inline style of the element.\n * @group Props\n */\n @Input() style: { [klass: string]: any } | null | undefined;\n /**\n * Class of the element.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Icon to display in the close button.\n * @group Props\n */\n @Input() closeIcon: string | undefined;\n /**\n * Establishes a string value that labels the close button.\n * @group Props\n */\n @Input() closeAriaLabel: string | undefined;\n /**\n * Callback to invoke when inplace is opened.\n * @param {Event} event - Browser event.\n * @group Emits\n */\n @Output() onActivate: EventEmitter<Event> = new EventEmitter<Event>();\n /**\n * Callback to invoke when inplace is closed.\n * @param {Event} event - Browser event.\n * @group Emits\n */\n @Output() onDeactivate: EventEmitter<Event> = new EventEmitter<Event>();\n\n hover!: boolean;\n /**\n * Display template of the element.\n * @group Templates\n */\n @ContentChild('display', { descendants: false }) displayTemplate: TemplateRef<any> | undefined;\n /**\n * Content template of the element.\n * @group Templates\n */\n @ContentChild('content', { descendants: false }) contentTemplate: TemplateRef<any> | undefined;\n /**\n * Close icon template of the element.\n * @group Templates\n */\n @ContentChild('closeicon', { descendants: false }) closeIconTemplate: TemplateRef<any> | undefined;\n\n _componentStyle = inject(InplaceStyle);\n\n onActivateClick(event: MouseEvent) {\n if (!this.preventClick) this.activate(event);\n }\n\n onDeactivateClick(event: MouseEvent) {\n if (!this.preventClick) this.deactivate(event);\n }\n /**\n * Activates the content.\n * @param {Event} event - Browser event.\n * @group Method\n */\n activate(event?: Event) {\n if (!this.disabled) {\n this.active = true;\n this.onActivate.emit(event);\n this.cd.markForCheck();\n }\n }\n /**\n * Deactivates the content.\n * @param {Event} event - Browser event.\n * @group Method\n */\n deactivate(event?: Event) {\n if (!this.disabled) {\n this.active = false;\n this.hover = false;\n this.onDeactivate.emit(event);\n this.cd.markForCheck();\n }\n }\n\n onKeydown(event: KeyboardEvent) {\n if (event.code === 'Enter') {\n this.activate(event);\n event.preventDefault();\n }\n }\n\n @ContentChildren(PrimeTemplate) templates: QueryList<PrimeTemplate> | undefined;\n\n _displayTemplate: TemplateRef<any> | undefined;\n\n _closeIconTemplate: TemplateRef<any> | undefined;\n\n _contentTemplate: TemplateRef<any> | undefined;\n\n ngAfterContentInit() {\n this.templates?.forEach((item) => {\n switch (item.getType()) {\n case 'display':\n this._displayTemplate = item.template;\n break;\n\n case 'closeicon':\n this._closeIconTemplate = item.template;\n break;\n\n case 'content':\n this._contentTemplate = item.template;\n break;\n }\n });\n }\n}\n\n@NgModule({\n imports: [Inplace, InplaceContent, InplaceDisplay, SharedModule],\n exports: [Inplace, InplaceContent, InplaceDisplay, SharedModule]\n})\nexport class InplaceModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;AAGA,MAAM,KAAK,GAAG,CAAC,EAAE,EAAE,EAAE,KAAK;;;;;eAKX,EAAE,CAAC,iBAAiB,CAAC,CAAA;qBACf,EAAE,CAAC,uBAAuB,CAAC,CAAA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 @@
1
1
  import { CommonModule } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { Injectable, inject, Component, Input, NgModule } from '@angular/core';
3
+ import { Injectable, inject, Input, Component, NgModule } from '@angular/core';
4
4
  import { SharedModule } from 'primeng/api';
5
5
  import { BaseComponent } from 'primeng/basecomponent';
6
6
  import { BaseStyle } from 'primeng/base';
@@ -124,12 +124,12 @@ class InputGroupStyle extends BaseStyle {
124
124
  name = 'inputgroup';
125
125
  theme = theme;
126
126
  classes = classes;
127
- static ɵfac = /*@__PURE__*/ (() => { let ɵInputGroupStyle_BaseFactory; return function InputGroupStyle_Factory(__ngFactoryType__) { return (ɵInputGroupStyle_BaseFactory || (ɵInputGroupStyle_BaseFactory = i0.ɵɵgetInheritedFactory(InputGroupStyle)))(__ngFactoryType__ || InputGroupStyle); }; })();
128
- static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: InputGroupStyle, factory: InputGroupStyle.ɵfac });
127
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: InputGroupStyle, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
128
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: InputGroupStyle });
129
129
  }
130
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputGroupStyle, [{
131
- type: Injectable
132
- }], null, null); })();
130
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: InputGroupStyle, decorators: [{
131
+ type: Injectable
132
+ }] });
133
133
  /**
134
134
  *
135
135
  * InputGroup displays text, icon, buttons and other content can be grouped next to an input.
@@ -147,7 +147,6 @@ var InputGroupClasses;
147
147
  InputGroupClasses["root"] = "p-inputgroup";
148
148
  })(InputGroupClasses || (InputGroupClasses = {}));
149
149
 
150
- const _c0 = ["*"];
151
150
  /**
152
151
  * InputGroup displays text, icon, buttons and other content can be grouped next to an input.
153
152
  * @group Components
@@ -164,50 +163,41 @@ class InputGroup extends BaseComponent {
164
163
  */
165
164
  styleClass;
166
165
  _componentStyle = inject(InputGroupStyle);
167
- static ɵfac = /*@__PURE__*/ (() => { let ɵInputGroup_BaseFactory; return function InputGroup_Factory(__ngFactoryType__) { return (ɵInputGroup_BaseFactory || (ɵInputGroup_BaseFactory = i0.ɵɵgetInheritedFactory(InputGroup)))(__ngFactoryType__ || InputGroup); }; })();
168
- static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: InputGroup, selectors: [["p-inputgroup"], ["p-inputGroup"], ["p-input-group"]], hostAttrs: [1, "p-inputgroup"], hostVars: 5, hostBindings: function InputGroup_HostBindings(rf, ctx) { if (rf & 2) {
169
- i0.ɵɵattribute("data-pc-name", "inputgroup");
170
- i0.ɵɵstyleMap(ctx.style);
171
- i0.ɵɵclassMap(ctx.styleClass);
172
- } }, inputs: { style: "style", styleClass: "styleClass" }, features: [i0.ɵɵProvidersFeature([InputGroupStyle]), i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function InputGroup_Template(rf, ctx) { if (rf & 1) {
173
- i0.ɵɵprojectionDef();
174
- i0.ɵɵprojection(0);
175
- } }, dependencies: [CommonModule, SharedModule], encapsulation: 2 });
176
- }
177
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputGroup, [{
178
- type: Component,
179
- args: [{
180
- selector: 'p-inputgroup, p-inputGroup, p-input-group',
181
- standalone: true,
182
- imports: [CommonModule, SharedModule],
183
- template: ` <ng-content></ng-content> `,
184
- providers: [InputGroupStyle],
185
- host: {
186
- class: 'p-inputgroup',
187
- '[attr.data-pc-name]': '"inputgroup"',
188
- '[class]': 'styleClass',
189
- '[style]': 'style'
190
- }
191
- }]
192
- }], null, { style: [{
193
- type: Input
194
- }], styleClass: [{
195
- type: Input
196
- }] }); })();
197
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(InputGroup, { className: "InputGroup", filePath: "inputgroup.ts", lineNumber: 24 }); })();
166
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: InputGroup, deps: null, target: i0.ɵɵFactoryTarget.Component });
167
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.7", type: InputGroup, isStandalone: true, selector: "p-inputgroup, p-inputGroup, p-input-group", inputs: { style: "style", styleClass: "styleClass" }, host: { properties: { "attr.data-pc-name": "\"inputgroup\"", "class": "styleClass", "style": "style" }, classAttribute: "p-inputgroup" }, providers: [InputGroupStyle], usesInheritance: true, ngImport: i0, template: ` <ng-content></ng-content> `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: SharedModule }] });
168
+ }
169
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: InputGroup, decorators: [{
170
+ type: Component,
171
+ args: [{
172
+ selector: 'p-inputgroup, p-inputGroup, p-input-group',
173
+ standalone: true,
174
+ imports: [CommonModule, SharedModule],
175
+ template: ` <ng-content></ng-content> `,
176
+ providers: [InputGroupStyle],
177
+ host: {
178
+ class: 'p-inputgroup',
179
+ '[attr.data-pc-name]': '"inputgroup"',
180
+ '[class]': 'styleClass',
181
+ '[style]': 'style'
182
+ }
183
+ }]
184
+ }], propDecorators: { style: [{
185
+ type: Input
186
+ }], styleClass: [{
187
+ type: Input
188
+ }] } });
198
189
  class InputGroupModule {
199
- static ɵfac = function InputGroupModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || InputGroupModule)(); };
200
- static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: InputGroupModule });
201
- static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [InputGroup, SharedModule, SharedModule] });
202
- }
203
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InputGroupModule, [{
204
- type: NgModule,
205
- args: [{
206
- imports: [InputGroup, SharedModule],
207
- exports: [InputGroup, SharedModule]
208
- }]
209
- }], null, null); })();
210
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(InputGroupModule, { imports: [InputGroup, SharedModule], exports: [InputGroup, SharedModule] }); })();
190
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: InputGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
191
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.1.7", ngImport: i0, type: InputGroupModule, imports: [InputGroup, SharedModule], exports: [InputGroup, SharedModule] });
192
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: InputGroupModule, imports: [InputGroup, SharedModule, SharedModule] });
193
+ }
194
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.7", ngImport: i0, type: InputGroupModule, decorators: [{
195
+ type: NgModule,
196
+ args: [{
197
+ imports: [InputGroup, SharedModule],
198
+ exports: [InputGroup, SharedModule]
199
+ }]
200
+ }] });
211
201
 
212
202
  /**
213
203
  * Generated bundle index. Do not edit.