primeng 20.0.0-rc.1 → 20.0.0-rc.3

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 (362) hide show
  1. package/accordion/index.d.ts +1 -3
  2. package/autocomplete/index.d.ts +8 -7
  3. package/baseeditableholder/index.d.ts +14 -5
  4. package/basemodelholder/index.d.ts +12 -0
  5. package/button/index.d.ts +10 -13
  6. package/cascadeselect/index.d.ts +7 -5
  7. package/chart/index.d.ts +1 -0
  8. package/checkbox/index.d.ts +9 -7
  9. package/colorpicker/index.d.ts +8 -7
  10. package/datepicker/index.d.ts +8 -7
  11. package/editor/index.d.ts +9 -8
  12. package/fesm2022/primeng-accordion.mjs +15 -17
  13. package/fesm2022/primeng-accordion.mjs.map +1 -1
  14. package/fesm2022/primeng-autocomplete.mjs +49 -52
  15. package/fesm2022/primeng-autocomplete.mjs.map +1 -1
  16. package/fesm2022/primeng-badge.mjs +1 -2
  17. package/fesm2022/primeng-badge.mjs.map +1 -1
  18. package/fesm2022/primeng-base.mjs +5 -170
  19. package/fesm2022/primeng-base.mjs.map +1 -1
  20. package/fesm2022/primeng-basecomponent.mjs +2 -1
  21. package/fesm2022/primeng-basecomponent.mjs.map +1 -1
  22. package/fesm2022/primeng-baseeditableholder.mjs +25 -7
  23. package/fesm2022/primeng-baseeditableholder.mjs.map +1 -1
  24. package/fesm2022/primeng-basemodelholder.mjs +25 -0
  25. package/fesm2022/primeng-basemodelholder.mjs.map +1 -0
  26. package/fesm2022/primeng-breadcrumb.mjs +9 -9
  27. package/fesm2022/primeng-breadcrumb.mjs.map +1 -1
  28. package/fesm2022/primeng-button.mjs +45 -72
  29. package/fesm2022/primeng-button.mjs.map +1 -1
  30. package/fesm2022/primeng-buttongroup.mjs +1 -2
  31. package/fesm2022/primeng-buttongroup.mjs.map +1 -1
  32. package/fesm2022/primeng-card.mjs +3 -4
  33. package/fesm2022/primeng-card.mjs.map +1 -1
  34. package/fesm2022/primeng-carousel.mjs +13 -13
  35. package/fesm2022/primeng-carousel.mjs.map +1 -1
  36. package/fesm2022/primeng-cascadeselect.mjs +33 -36
  37. package/fesm2022/primeng-cascadeselect.mjs.map +1 -1
  38. package/fesm2022/primeng-chart.mjs +1 -1
  39. package/fesm2022/primeng-chart.mjs.map +1 -1
  40. package/fesm2022/primeng-checkbox.mjs +20 -23
  41. package/fesm2022/primeng-checkbox.mjs.map +1 -1
  42. package/fesm2022/primeng-chip.mjs +23 -3
  43. package/fesm2022/primeng-chip.mjs.map +1 -1
  44. package/fesm2022/primeng-colorpicker.mjs +35 -37
  45. package/fesm2022/primeng-colorpicker.mjs.map +1 -1
  46. package/fesm2022/primeng-confirmdialog.mjs +25 -17
  47. package/fesm2022/primeng-confirmdialog.mjs.map +1 -1
  48. package/fesm2022/primeng-confirmpopup.mjs +17 -9
  49. package/fesm2022/primeng-confirmpopup.mjs.map +1 -1
  50. package/fesm2022/primeng-contextmenu.mjs +7 -15
  51. package/fesm2022/primeng-contextmenu.mjs.map +1 -1
  52. package/fesm2022/primeng-dataview.mjs +3 -3
  53. package/fesm2022/primeng-dataview.mjs.map +1 -1
  54. package/fesm2022/primeng-datepicker.mjs +191 -142
  55. package/fesm2022/primeng-datepicker.mjs.map +1 -1
  56. package/fesm2022/primeng-dialog.mjs +13 -13
  57. package/fesm2022/primeng-dialog.mjs.map +1 -1
  58. package/fesm2022/primeng-divider.mjs +2 -2
  59. package/fesm2022/primeng-divider.mjs.map +1 -1
  60. package/fesm2022/primeng-dom.mjs +10 -5
  61. package/fesm2022/primeng-dom.mjs.map +1 -1
  62. package/fesm2022/primeng-drawer.mjs +5 -6
  63. package/fesm2022/primeng-drawer.mjs.map +1 -1
  64. package/fesm2022/primeng-dynamicdialog.mjs +27 -31
  65. package/fesm2022/primeng-dynamicdialog.mjs.map +1 -1
  66. package/fesm2022/primeng-editor.mjs +8 -10
  67. package/fesm2022/primeng-editor.mjs.map +1 -1
  68. package/fesm2022/primeng-fieldset.mjs +7 -9
  69. package/fesm2022/primeng-fieldset.mjs.map +1 -1
  70. package/fesm2022/primeng-fileupload.mjs +67 -55
  71. package/fesm2022/primeng-fileupload.mjs.map +1 -1
  72. package/fesm2022/primeng-floatlabel.mjs +2 -3
  73. package/fesm2022/primeng-floatlabel.mjs.map +1 -1
  74. package/fesm2022/primeng-galleria.mjs +21 -21
  75. package/fesm2022/primeng-galleria.mjs.map +1 -1
  76. package/fesm2022/primeng-icons-angledoubledown.mjs +14 -18
  77. package/fesm2022/primeng-icons-angledoubledown.mjs.map +1 -1
  78. package/fesm2022/primeng-icons-angledoubleleft.mjs +14 -18
  79. package/fesm2022/primeng-icons-angledoubleleft.mjs.map +1 -1
  80. package/fesm2022/primeng-icons-angledoubleright.mjs +14 -18
  81. package/fesm2022/primeng-icons-angledoubleright.mjs.map +1 -1
  82. package/fesm2022/primeng-icons-angledoubleup.mjs +14 -18
  83. package/fesm2022/primeng-icons-angledoubleup.mjs.map +1 -1
  84. package/fesm2022/primeng-icons-angledown.mjs +10 -14
  85. package/fesm2022/primeng-icons-angledown.mjs.map +1 -1
  86. package/fesm2022/primeng-icons-angleleft.mjs +10 -14
  87. package/fesm2022/primeng-icons-angleleft.mjs.map +1 -1
  88. package/fesm2022/primeng-icons-angleright.mjs +10 -14
  89. package/fesm2022/primeng-icons-angleright.mjs.map +1 -1
  90. package/fesm2022/primeng-icons-angleup.mjs +10 -14
  91. package/fesm2022/primeng-icons-angleup.mjs.map +1 -1
  92. package/fesm2022/primeng-icons-arrowdown.mjs +29 -32
  93. package/fesm2022/primeng-icons-arrowdown.mjs.map +1 -1
  94. package/fesm2022/primeng-icons-arrowdownleft.mjs +10 -14
  95. package/fesm2022/primeng-icons-arrowdownleft.mjs.map +1 -1
  96. package/fesm2022/primeng-icons-arrowdownright.mjs +10 -14
  97. package/fesm2022/primeng-icons-arrowdownright.mjs.map +1 -1
  98. package/fesm2022/primeng-icons-arrowleft.mjs +29 -32
  99. package/fesm2022/primeng-icons-arrowleft.mjs.map +1 -1
  100. package/fesm2022/primeng-icons-arrowright.mjs +14 -18
  101. package/fesm2022/primeng-icons-arrowright.mjs.map +1 -1
  102. package/fesm2022/primeng-icons-arrowup.mjs +29 -32
  103. package/fesm2022/primeng-icons-arrowup.mjs.map +1 -1
  104. package/fesm2022/primeng-icons-ban.mjs +25 -28
  105. package/fesm2022/primeng-icons-ban.mjs.map +1 -1
  106. package/fesm2022/primeng-icons-bars.mjs +14 -18
  107. package/fesm2022/primeng-icons-bars.mjs.map +1 -1
  108. package/fesm2022/primeng-icons-baseicon.mjs +21 -29
  109. package/fesm2022/primeng-icons-baseicon.mjs.map +1 -1
  110. package/fesm2022/primeng-icons-blank.mjs +3 -11
  111. package/fesm2022/primeng-icons-blank.mjs.map +1 -1
  112. package/fesm2022/primeng-icons-calendar.mjs +10 -14
  113. package/fesm2022/primeng-icons-calendar.mjs.map +1 -1
  114. package/fesm2022/primeng-icons-caretleft.mjs +10 -14
  115. package/fesm2022/primeng-icons-caretleft.mjs.map +1 -1
  116. package/fesm2022/primeng-icons-caretright.mjs +10 -14
  117. package/fesm2022/primeng-icons-caretright.mjs.map +1 -1
  118. package/fesm2022/primeng-icons-check.mjs +10 -14
  119. package/fesm2022/primeng-icons-check.mjs.map +1 -1
  120. package/fesm2022/primeng-icons-chevrondown.mjs +10 -14
  121. package/fesm2022/primeng-icons-chevrondown.mjs.map +1 -1
  122. package/fesm2022/primeng-icons-chevronleft.mjs +10 -14
  123. package/fesm2022/primeng-icons-chevronleft.mjs.map +1 -1
  124. package/fesm2022/primeng-icons-chevronright.mjs +10 -14
  125. package/fesm2022/primeng-icons-chevronright.mjs.map +1 -1
  126. package/fesm2022/primeng-icons-chevronup.mjs +10 -14
  127. package/fesm2022/primeng-icons-chevronup.mjs.map +1 -1
  128. package/fesm2022/primeng-icons-exclamationtriangle.mjs +41 -44
  129. package/fesm2022/primeng-icons-exclamationtriangle.mjs.map +1 -1
  130. package/fesm2022/primeng-icons-eye.mjs +14 -18
  131. package/fesm2022/primeng-icons-eye.mjs.map +1 -1
  132. package/fesm2022/primeng-icons-eyeslash.mjs +29 -32
  133. package/fesm2022/primeng-icons-eyeslash.mjs.map +1 -1
  134. package/fesm2022/primeng-icons-filter.mjs +25 -28
  135. package/fesm2022/primeng-icons-filter.mjs.map +1 -1
  136. package/fesm2022/primeng-icons-filterfill.mjs +10 -14
  137. package/fesm2022/primeng-icons-filterfill.mjs.map +1 -1
  138. package/fesm2022/primeng-icons-filterslash.mjs +29 -32
  139. package/fesm2022/primeng-icons-filterslash.mjs.map +1 -1
  140. package/fesm2022/primeng-icons-home.mjs +29 -32
  141. package/fesm2022/primeng-icons-home.mjs.map +1 -1
  142. package/fesm2022/primeng-icons-infocircle.mjs +29 -32
  143. package/fesm2022/primeng-icons-infocircle.mjs.map +1 -1
  144. package/fesm2022/primeng-icons-minus.mjs +10 -14
  145. package/fesm2022/primeng-icons-minus.mjs.map +1 -1
  146. package/fesm2022/primeng-icons-pencil.mjs +25 -28
  147. package/fesm2022/primeng-icons-pencil.mjs.map +1 -1
  148. package/fesm2022/primeng-icons-plus.mjs +25 -28
  149. package/fesm2022/primeng-icons-plus.mjs.map +1 -1
  150. package/fesm2022/primeng-icons-refresh.mjs +29 -32
  151. package/fesm2022/primeng-icons-refresh.mjs.map +1 -1
  152. package/fesm2022/primeng-icons-search.mjs +29 -32
  153. package/fesm2022/primeng-icons-search.mjs.map +1 -1
  154. package/fesm2022/primeng-icons-searchminus.mjs +29 -32
  155. package/fesm2022/primeng-icons-searchminus.mjs.map +1 -1
  156. package/fesm2022/primeng-icons-searchplus.mjs +29 -32
  157. package/fesm2022/primeng-icons-searchplus.mjs.map +1 -1
  158. package/fesm2022/primeng-icons-sortalt.mjs +37 -40
  159. package/fesm2022/primeng-icons-sortalt.mjs.map +1 -1
  160. package/fesm2022/primeng-icons-sortamountdown.mjs +25 -28
  161. package/fesm2022/primeng-icons-sortamountdown.mjs.map +1 -1
  162. package/fesm2022/primeng-icons-sortamountupalt.mjs +25 -28
  163. package/fesm2022/primeng-icons-sortamountupalt.mjs.map +1 -1
  164. package/fesm2022/primeng-icons-spinner.mjs +25 -28
  165. package/fesm2022/primeng-icons-spinner.mjs.map +1 -1
  166. package/fesm2022/primeng-icons-star.mjs +25 -28
  167. package/fesm2022/primeng-icons-star.mjs.map +1 -1
  168. package/fesm2022/primeng-icons-starfill.mjs +25 -28
  169. package/fesm2022/primeng-icons-starfill.mjs.map +1 -1
  170. package/fesm2022/primeng-icons-thlarge.mjs +29 -32
  171. package/fesm2022/primeng-icons-thlarge.mjs.map +1 -1
  172. package/fesm2022/primeng-icons-times.mjs +10 -14
  173. package/fesm2022/primeng-icons-times.mjs.map +1 -1
  174. package/fesm2022/primeng-icons-timescircle.mjs +29 -32
  175. package/fesm2022/primeng-icons-timescircle.mjs.map +1 -1
  176. package/fesm2022/primeng-icons-trash.mjs +29 -32
  177. package/fesm2022/primeng-icons-trash.mjs.map +1 -1
  178. package/fesm2022/primeng-icons-undo.mjs +29 -32
  179. package/fesm2022/primeng-icons-undo.mjs.map +1 -1
  180. package/fesm2022/primeng-icons-upload.mjs +29 -32
  181. package/fesm2022/primeng-icons-upload.mjs.map +1 -1
  182. package/fesm2022/primeng-icons-windowmaximize.mjs +29 -32
  183. package/fesm2022/primeng-icons-windowmaximize.mjs.map +1 -1
  184. package/fesm2022/primeng-icons-windowminimize.mjs +29 -32
  185. package/fesm2022/primeng-icons-windowminimize.mjs.map +1 -1
  186. package/fesm2022/primeng-iftalabel.mjs +2 -3
  187. package/fesm2022/primeng-iftalabel.mjs.map +1 -1
  188. package/fesm2022/primeng-image.mjs +13 -13
  189. package/fesm2022/primeng-image.mjs.map +1 -1
  190. package/fesm2022/primeng-inplace.mjs +15 -10
  191. package/fesm2022/primeng-inplace.mjs.map +1 -1
  192. package/fesm2022/primeng-inputgroup.mjs +6 -7
  193. package/fesm2022/primeng-inputgroup.mjs.map +1 -1
  194. package/fesm2022/primeng-inputmask.mjs +31 -34
  195. package/fesm2022/primeng-inputmask.mjs.map +1 -1
  196. package/fesm2022/primeng-inputnumber.mjs +45 -48
  197. package/fesm2022/primeng-inputnumber.mjs.map +1 -1
  198. package/fesm2022/primeng-inputotp.mjs +26 -28
  199. package/fesm2022/primeng-inputotp.mjs.map +1 -1
  200. package/fesm2022/primeng-inputtext.mjs +14 -9
  201. package/fesm2022/primeng-inputtext.mjs.map +1 -1
  202. package/fesm2022/primeng-knob.mjs +22 -24
  203. package/fesm2022/primeng-knob.mjs.map +1 -1
  204. package/fesm2022/primeng-listbox.mjs +44 -47
  205. package/fesm2022/primeng-listbox.mjs.map +1 -1
  206. package/fesm2022/primeng-megamenu.mjs +12 -12
  207. package/fesm2022/primeng-megamenu.mjs.map +1 -1
  208. package/fesm2022/primeng-menubar.mjs +14 -14
  209. package/fesm2022/primeng-menubar.mjs.map +1 -1
  210. package/fesm2022/primeng-message.mjs +3 -3
  211. package/fesm2022/primeng-message.mjs.map +1 -1
  212. package/fesm2022/primeng-multiselect.mjs +50 -52
  213. package/fesm2022/primeng-multiselect.mjs.map +1 -1
  214. package/fesm2022/primeng-orderlist.mjs +13 -12
  215. package/fesm2022/primeng-orderlist.mjs.map +1 -1
  216. package/fesm2022/primeng-organizationchart.mjs +5 -5
  217. package/fesm2022/primeng-organizationchart.mjs.map +1 -1
  218. package/fesm2022/primeng-overlay.mjs +6 -1
  219. package/fesm2022/primeng-overlay.mjs.map +1 -1
  220. package/fesm2022/primeng-overlaybadge.mjs +3 -3
  221. package/fesm2022/primeng-overlaybadge.mjs.map +1 -1
  222. package/fesm2022/primeng-paginator.mjs +9 -9
  223. package/fesm2022/primeng-paginator.mjs.map +1 -1
  224. package/fesm2022/primeng-panel.mjs +6 -7
  225. package/fesm2022/primeng-panel.mjs.map +1 -1
  226. package/fesm2022/primeng-panelmenu.mjs +19 -20
  227. package/fesm2022/primeng-panelmenu.mjs.map +1 -1
  228. package/fesm2022/primeng-password.mjs +29 -32
  229. package/fesm2022/primeng-password.mjs.map +1 -1
  230. package/fesm2022/primeng-picklist.mjs +38 -37
  231. package/fesm2022/primeng-picklist.mjs.map +1 -1
  232. package/fesm2022/primeng-popover.mjs +19 -19
  233. package/fesm2022/primeng-popover.mjs.map +1 -1
  234. package/fesm2022/primeng-progressbar.mjs +2 -2
  235. package/fesm2022/primeng-progressbar.mjs.map +1 -1
  236. package/fesm2022/primeng-radiobutton.mjs +21 -24
  237. package/fesm2022/primeng-radiobutton.mjs.map +1 -1
  238. package/fesm2022/primeng-rating.mjs +21 -24
  239. package/fesm2022/primeng-rating.mjs.map +1 -1
  240. package/fesm2022/primeng-ripple.mjs +2 -3
  241. package/fesm2022/primeng-ripple.mjs.map +1 -1
  242. package/fesm2022/primeng-scroller.mjs +9 -9
  243. package/fesm2022/primeng-scroller.mjs.map +1 -1
  244. package/fesm2022/primeng-scrollpanel.mjs +1 -2
  245. package/fesm2022/primeng-scrollpanel.mjs.map +1 -1
  246. package/fesm2022/primeng-scrolltop.mjs +4 -4
  247. package/fesm2022/primeng-scrolltop.mjs.map +1 -1
  248. package/fesm2022/primeng-select.mjs +48 -51
  249. package/fesm2022/primeng-select.mjs.map +1 -1
  250. package/fesm2022/primeng-selectbutton.mjs +17 -20
  251. package/fesm2022/primeng-selectbutton.mjs.map +1 -1
  252. package/fesm2022/primeng-slider.mjs +28 -30
  253. package/fesm2022/primeng-slider.mjs.map +1 -1
  254. package/fesm2022/primeng-speeddial.mjs +3 -3
  255. package/fesm2022/primeng-speeddial.mjs.map +1 -1
  256. package/fesm2022/primeng-splitbutton.mjs +3 -3
  257. package/fesm2022/primeng-splitbutton.mjs.map +1 -1
  258. package/fesm2022/primeng-stepper.mjs +33 -9
  259. package/fesm2022/primeng-stepper.mjs.map +1 -1
  260. package/fesm2022/primeng-table.mjs +83 -88
  261. package/fesm2022/primeng-table.mjs.map +1 -1
  262. package/fesm2022/primeng-tabs.mjs +5 -5
  263. package/fesm2022/primeng-tabs.mjs.map +1 -1
  264. package/fesm2022/primeng-textarea.mjs +13 -9
  265. package/fesm2022/primeng-textarea.mjs.map +1 -1
  266. package/fesm2022/primeng-tieredmenu.mjs +5 -5
  267. package/fesm2022/primeng-tieredmenu.mjs.map +1 -1
  268. package/fesm2022/primeng-toast.mjs +21 -19
  269. package/fesm2022/primeng-toast.mjs.map +1 -1
  270. package/fesm2022/primeng-togglebutton.mjs +15 -18
  271. package/fesm2022/primeng-togglebutton.mjs.map +1 -1
  272. package/fesm2022/primeng-toggleswitch.mjs +16 -19
  273. package/fesm2022/primeng-toggleswitch.mjs.map +1 -1
  274. package/fesm2022/primeng-tree.mjs +12 -12
  275. package/fesm2022/primeng-tree.mjs.map +1 -1
  276. package/fesm2022/primeng-treeselect.mjs +32 -29
  277. package/fesm2022/primeng-treeselect.mjs.map +1 -1
  278. package/fesm2022/primeng-treetable.mjs +118 -117
  279. package/fesm2022/primeng-treetable.mjs.map +1 -1
  280. package/galleria/index.d.ts +1 -1
  281. package/icons/angledoubledown/index.d.ts +1 -1
  282. package/icons/angledoubleleft/index.d.ts +1 -1
  283. package/icons/angledoubleright/index.d.ts +1 -1
  284. package/icons/angledoubleup/index.d.ts +1 -1
  285. package/icons/angledown/index.d.ts +1 -1
  286. package/icons/angleleft/index.d.ts +1 -1
  287. package/icons/angleright/index.d.ts +1 -1
  288. package/icons/angleup/index.d.ts +1 -1
  289. package/icons/arrowdown/index.d.ts +1 -1
  290. package/icons/arrowdownleft/index.d.ts +1 -1
  291. package/icons/arrowdownright/index.d.ts +1 -1
  292. package/icons/arrowleft/index.d.ts +1 -1
  293. package/icons/arrowright/index.d.ts +1 -1
  294. package/icons/arrowup/index.d.ts +1 -1
  295. package/icons/ban/index.d.ts +1 -1
  296. package/icons/bars/index.d.ts +1 -1
  297. package/icons/baseicon/index.d.ts +11 -18
  298. package/icons/blank/index.d.ts +1 -1
  299. package/icons/calendar/index.d.ts +1 -1
  300. package/icons/caretleft/index.d.ts +1 -1
  301. package/icons/caretright/index.d.ts +1 -1
  302. package/icons/check/index.d.ts +1 -1
  303. package/icons/chevrondown/index.d.ts +1 -1
  304. package/icons/chevronleft/index.d.ts +1 -1
  305. package/icons/chevronright/index.d.ts +1 -1
  306. package/icons/chevronup/index.d.ts +1 -1
  307. package/icons/exclamationtriangle/index.d.ts +1 -1
  308. package/icons/eye/index.d.ts +1 -1
  309. package/icons/eyeslash/index.d.ts +1 -1
  310. package/icons/filter/index.d.ts +1 -1
  311. package/icons/filterfill/index.d.ts +1 -1
  312. package/icons/filterslash/index.d.ts +1 -1
  313. package/icons/home/index.d.ts +1 -1
  314. package/icons/infocircle/index.d.ts +1 -1
  315. package/icons/minus/index.d.ts +1 -1
  316. package/icons/pencil/index.d.ts +1 -1
  317. package/icons/plus/index.d.ts +1 -1
  318. package/icons/refresh/index.d.ts +1 -1
  319. package/icons/search/index.d.ts +1 -1
  320. package/icons/searchminus/index.d.ts +1 -1
  321. package/icons/searchplus/index.d.ts +1 -1
  322. package/icons/sortalt/index.d.ts +1 -1
  323. package/icons/sortamountdown/index.d.ts +1 -1
  324. package/icons/sortamountupalt/index.d.ts +1 -1
  325. package/icons/spinner/index.d.ts +1 -1
  326. package/icons/star/index.d.ts +1 -1
  327. package/icons/starfill/index.d.ts +1 -1
  328. package/icons/thlarge/index.d.ts +1 -1
  329. package/icons/times/index.d.ts +1 -1
  330. package/icons/timescircle/index.d.ts +1 -1
  331. package/icons/trash/index.d.ts +1 -1
  332. package/icons/undo/index.d.ts +1 -1
  333. package/icons/upload/index.d.ts +1 -1
  334. package/icons/windowmaximize/index.d.ts +1 -1
  335. package/icons/windowminimize/index.d.ts +1 -1
  336. package/inplace/index.d.ts +1 -0
  337. package/inputmask/index.d.ts +9 -10
  338. package/inputnumber/index.d.ts +8 -7
  339. package/inputotp/index.d.ts +7 -5
  340. package/inputtext/index.d.ts +10 -4
  341. package/knob/index.d.ts +7 -5
  342. package/listbox/index.d.ts +8 -7
  343. package/multiselect/index.d.ts +8 -7
  344. package/overlay/index.d.ts +1 -3
  345. package/overlaybadge/index.d.ts +1 -3
  346. package/package.json +201 -197
  347. package/password/index.d.ts +7 -5
  348. package/popover/index.d.ts +1 -3
  349. package/radiobutton/index.d.ts +9 -7
  350. package/rating/index.d.ts +8 -7
  351. package/ripple/index.d.ts +1 -3
  352. package/scroller/index.d.ts +1 -3
  353. package/select/index.d.ts +8 -7
  354. package/selectbutton/index.d.ts +9 -8
  355. package/slider/index.d.ts +9 -8
  356. package/stepper/index.d.ts +4 -0
  357. package/table/index.d.ts +9 -14
  358. package/textarea/index.d.ts +9 -4
  359. package/togglebutton/index.d.ts +8 -7
  360. package/toggleswitch/index.d.ts +7 -5
  361. package/treeselect/index.d.ts +7 -5
  362. package/treetable/index.d.ts +2 -4
@@ -1 +1 @@
1
- {"version":3,"file":"primeng-message.mjs","sources":["../../src/message/style/messagestyle.ts","../../src/message/message.ts","../../src/message/primeng-message.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style } from '@primeuix/styles/message';\nimport { BaseStyle } from 'primeng/base';\n\nconst classes = {\n root: ({ instance }) => ['p-message p-component p-message-' + instance.severity, 'p-message-' + instance.variant, { 'p-message-sm': instance.size === 'small', 'p-message-lg': instance.size === 'large' }],\n content: 'p-message-content',\n icon: 'p-message-icon',\n text: 'p-message-text',\n closeButton: 'p-message-close-button',\n closeIcon: 'p-message-close-icon'\n};\n\n@Injectable()\nexport class MessageStyle extends BaseStyle {\n name = 'message';\n\n theme = style;\n\n classes = classes;\n}\n\n/**\n *\n * Message groups a collection of contents in tabs.\n *\n * [Live Demo](https://www.primeng.org/message/)\n *\n * @module messagestyle\n *\n */\n\nexport enum MessageClasses {\n /**\n * Class name of the root element\n */\n root = 'p-message',\n /**\n * Class name of the content element\n */\n content = 'p-message-content',\n /**\n * Class name of the icon element\n */\n icon = 'p-message-icon',\n /**\n * Class name of the text element\n */\n text = 'p-message-text',\n /**\n * Class name of the close button element\n */\n closeButton = 'p-message-close-button',\n /**\n * Class name of the close icon element\n */\n closeIcon = 'p-message-close-icon'\n}\n\nexport interface MessageStyle extends BaseStyle {}\n","import { animate, style, transition, trigger } from '@angular/animations';\nimport { CommonModule } from '@angular/common';\nimport { AfterContentInit, booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, ContentChildren, EventEmitter, inject, Input, NgModule, Output, QueryList, signal, TemplateRef, ViewEncapsulation } from '@angular/core';\nimport { PrimeTemplate, SharedModule } from 'primeng/api';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { TimesIcon } from 'primeng/icons';\nimport { Ripple } from 'primeng/ripple';\nimport { MessageStyle } from './style/messagestyle';\n\n/**\n * Message groups a collection of contents in tabs.\n * @group Components\n */\n@Component({\n selector: 'p-message',\n standalone: true,\n imports: [CommonModule, TimesIcon, Ripple, SharedModule],\n template: `\n @if (visible()) {\n <div\n class=\"p-message p-component\"\n [attr.aria-live]=\"'polite'\"\n [class]=\"cn(cx('root'), styleClass)\"\n [attr.role]=\"'alert'\"\n [@messageAnimation]=\"{\n value: 'visible()',\n params: {\n showTransitionParams: showTransitionOptions,\n hideTransitionParams: hideTransitionOptions\n }\n }\"\n >\n <div [class]=\"cx('content')\">\n @if (iconTemplate || _iconTemplate) {\n <ng-container *ngTemplateOutlet=\"iconTemplate || iconTemplate\"></ng-container>\n }\n @if (icon) {\n <i [class]=\"cn(cx('icon'), icon)\"></i>\n }\n\n <div *ngIf=\"!escape; else escapeOut\">\n <span *ngIf=\"!escape\" [ngClass]=\"cx('text')\" [innerHTML]=\"text\"></span>\n </div>\n\n <ng-template #escapeOut>\n <span *ngIf=\"escape && text\" [ngClass]=\"cx('text')\">{{ text }}</span>\n </ng-template>\n\n @if (containerTemplate || _containerTemplate) {\n <ng-container *ngTemplateOutlet=\"containerTemplate || containerTemplate; context: { closeCallback: close.bind(this) }\"></ng-container>\n } @else {\n <span [ngClass]=\"cx('text')\">\n <ng-content></ng-content>\n </span>\n }\n @if (closable) {\n <button pRipple type=\"button\" [class]=\"cx('closeButton')\" (click)=\"close($event)\" [attr.aria-label]=\"closeAriaLabel\">\n @if (closeIcon) {\n <i [class]=\"cn(cx('closeIcon'), closeIcon)\" [ngClass]=\"closeIcon\"></i>\n }\n @if (closeIconTemplate || _closeIconTemplate) {\n <ng-container *ngTemplateOutlet=\"closeIconTemplate || _closeIconTemplate\"></ng-container>\n }\n @if (!closeIconTemplate && !_closeIconTemplate && !closeIcon) {\n <TimesIcon [styleClass]=\"cx('closeIcon')\" />\n }\n </button>\n }\n </div>\n </div>\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [MessageStyle],\n animations: [\n trigger('messageAnimation', [\n transition(':enter', [style({ opacity: 0, transform: 'translateY(-25%)' }), animate('{{showTransitionParams}}')]),\n transition(':leave', [\n animate(\n '{{hideTransitionParams}}',\n style({\n height: 0,\n marginTop: 0,\n marginBottom: 0,\n marginLeft: 0,\n marginRight: 0,\n opacity: 0\n })\n )\n ])\n ])\n ]\n})\nexport class Message extends BaseComponent implements AfterContentInit {\n /**\n * Severity level of the message.\n * @defaultValue 'info'\n * @group Props\n */\n @Input() severity: string | 'success' | 'info' | 'warn' | 'error' | 'secondary' | 'contrast' | undefined | null = 'info';\n /**\n * Text content.\n * @deprecated since v20.0.0. Use content projection instead '<p-message>Content</p-message>'.\n * @group Props\n */\n @Input() text: string | undefined;\n /**\n * Whether displaying messages would be escaped or not.\n * @deprecated since v20.0.0. Use content projection instead '<p-message>Content</p-message>'.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) escape: boolean = true;\n /**\n * Inline style of the component.\n * @group Props\n */\n @Input() style: { [klass: string]: any } | null | undefined;\n /**\n * Style class of the component.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Whether the message can be closed manually using the close icon.\n * @group Props\n * @defaultValue false\n */\n @Input({ transform: booleanAttribute }) closable: boolean = false;\n /**\n * Icon to display in the message.\n * @group Props\n * @defaultValue undefined\n */\n @Input() icon: string | undefined;\n /**\n * Icon to display in the message close button.\n * @group Props\n * @defaultValue undefined\n */\n @Input() closeIcon: string | undefined;\n /**\n * Delay in milliseconds to close the message automatically.\n * @defaultValue undefined\n */\n @Input() life: number | undefined;\n /**\n * Transition options of the show animation.\n * @defaultValue '300ms ease-out'\n * @group Props\n */\n @Input() showTransitionOptions: string = '300ms ease-out';\n /**\n * Transition options of the hide animation.\n * @defaultValue '200ms cubic-bezier(0.86, 0, 0.07, 1)'\n * @group Props\n */\n @Input() hideTransitionOptions: string = '200ms cubic-bezier(0.86, 0, 0.07, 1)';\n /**\n * Defines the size of the component.\n * @group Props\n */\n @Input() size: 'large' | 'small' | undefined;\n /**\n * Specifies the input variant of the component.\n * @group Props\n */\n @Input() variant: 'outlined' | 'text' | 'simple' | undefined;\n /**\n * Emits when the message is closed.\n * @param {{ originalEvent: Event }} event - The event object containing the original event.\n * @group Emits\n */\n @Output() onClose: EventEmitter<{ originalEvent: Event }> = new EventEmitter<{ originalEvent: Event }>();\n\n get closeAriaLabel() {\n return this.config.translation.aria ? this.config.translation.aria.close : undefined;\n }\n\n visible = signal<boolean>(true);\n\n _componentStyle = inject(MessageStyle);\n\n /**\n * Custom template of the message container.\n * @group Templates\n */\n @ContentChild('container', { descendants: false }) containerTemplate: TemplateRef<any> | undefined;\n\n /**\n * Custom template of the message icon.\n * @group Templates\n */\n @ContentChild('icon', { descendants: false }) iconTemplate: TemplateRef<any> | undefined;\n\n /**\n * Custom template of the close icon.\n * @group Templates\n */\n @ContentChild('closeicon', { descendants: false }) closeIconTemplate: TemplateRef<any> | undefined;\n\n @ContentChildren(PrimeTemplate) templates: QueryList<PrimeTemplate> | undefined;\n\n _containerTemplate: TemplateRef<any> | undefined;\n\n _iconTemplate: TemplateRef<any> | undefined;\n\n _closeIconTemplate: TemplateRef<any> | undefined;\n\n ngOnInit() {\n super.ngOnInit();\n if (this.life) {\n setTimeout(() => {\n this.visible.set(false);\n }, this.life);\n }\n }\n\n ngAfterContentInit() {\n this.templates?.forEach((item) => {\n switch (item.getType()) {\n case 'container':\n this._containerTemplate = item.template;\n break;\n\n case 'icon':\n this._iconTemplate = item.template;\n break;\n\n case 'closeicon':\n this._closeIconTemplate = item.template;\n break;\n }\n });\n }\n\n /**\n * Closes the message.\n * @param {Event} event - Browser event.\n * @group Method\n */\n public close(event: Event) {\n this.visible.set(false);\n this.onClose.emit({ originalEvent: event });\n }\n}\n\n@NgModule({\n imports: [Message, SharedModule],\n exports: [Message, SharedModule]\n})\nexport class MessageModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["style"],"mappings":";;;;;;;;;;;;AAIA,MAAM,OAAO,GAAG;AACZ,IAAA,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,KAAK,CAAC,kCAAkC,GAAG,QAAQ,CAAC,QAAQ,EAAE,YAAY,GAAG,QAAQ,CAAC,OAAO,EAAE,EAAE,cAAc,EAAE,QAAQ,CAAC,IAAI,KAAK,OAAO,EAAE,cAAc,EAAE,QAAQ,CAAC,IAAI,KAAK,OAAO,EAAE,CAAC;AAC3M,IAAA,OAAO,EAAE,mBAAmB;AAC5B,IAAA,IAAI,EAAE,gBAAgB;AACtB,IAAA,IAAI,EAAE,gBAAgB;AACtB,IAAA,WAAW,EAAE,wBAAwB;AACrC,IAAA,SAAS,EAAE;CACd;AAGK,MAAO,YAAa,SAAQ,SAAS,CAAA;IACvC,IAAI,GAAG,SAAS;IAEhB,KAAK,GAAG,KAAK;IAEb,OAAO,GAAG,OAAO;uGALR,YAAY,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;2GAAZ,YAAY,EAAA,CAAA;;2FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBADxB;;AASD;;;;;;;;AAQG;IAES;AAAZ,CAAA,UAAY,cAAc,EAAA;AACtB;;AAEG;AACH,IAAA,cAAA,CAAA,MAAA,CAAA,GAAA,WAAkB;AAClB;;AAEG;AACH,IAAA,cAAA,CAAA,SAAA,CAAA,GAAA,mBAA6B;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YAAY,CAAC;AAChC,oBAAA,OAAO,EAAE,CAAC,OAAO,EAAE,YAAY;AAClC,iBAAA;;;AC1PD;;AAEG;;;;"}
1
+ {"version":3,"file":"primeng-message.mjs","sources":["../../src/message/style/messagestyle.ts","../../src/message/message.ts","../../src/message/primeng-message.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { style } from '@primeuix/styles/message';\nimport { BaseStyle } from 'primeng/base';\n\nconst classes = {\n root: ({ instance }) => ['p-message p-component p-message-' + instance.severity, 'p-message-' + instance.variant, { 'p-message-sm': instance.size === 'small', 'p-message-lg': instance.size === 'large' }],\n content: 'p-message-content',\n icon: 'p-message-icon',\n text: 'p-message-text',\n closeButton: 'p-message-close-button',\n closeIcon: 'p-message-close-icon'\n};\n\n@Injectable()\nexport class MessageStyle extends BaseStyle {\n name = 'message';\n\n theme = style;\n\n classes = classes;\n}\n\n/**\n *\n * Message groups a collection of contents in tabs.\n *\n * [Live Demo](https://www.primeng.org/message/)\n *\n * @module messagestyle\n *\n */\n\nexport enum MessageClasses {\n /**\n * Class name of the root element\n */\n root = 'p-message',\n /**\n * Class name of the content element\n */\n content = 'p-message-content',\n /**\n * Class name of the icon element\n */\n icon = 'p-message-icon',\n /**\n * Class name of the text element\n */\n text = 'p-message-text',\n /**\n * Class name of the close button element\n */\n closeButton = 'p-message-close-button',\n /**\n * Class name of the close icon element\n */\n closeIcon = 'p-message-close-icon'\n}\n\nexport interface MessageStyle extends BaseStyle {}\n","import { animate, style, transition, trigger } from '@angular/animations';\nimport { CommonModule } from '@angular/common';\nimport { AfterContentInit, booleanAttribute, ChangeDetectionStrategy, Component, ContentChild, ContentChildren, EventEmitter, inject, Input, NgModule, Output, QueryList, signal, TemplateRef, ViewEncapsulation } from '@angular/core';\nimport { PrimeTemplate, SharedModule } from 'primeng/api';\nimport { BaseComponent } from 'primeng/basecomponent';\nimport { TimesIcon } from 'primeng/icons';\nimport { Ripple } from 'primeng/ripple';\nimport { MessageStyle } from './style/messagestyle';\n\n/**\n * Message groups a collection of contents in tabs.\n * @group Components\n */\n@Component({\n selector: 'p-message',\n standalone: true,\n imports: [CommonModule, TimesIcon, Ripple, SharedModule],\n template: `\n @if (visible()) {\n <div\n class=\"p-message p-component\"\n [attr.aria-live]=\"'polite'\"\n [class]=\"cn(cx('root'), styleClass)\"\n [attr.role]=\"'alert'\"\n [@messageAnimation]=\"{\n value: 'visible()',\n params: {\n showTransitionParams: showTransitionOptions,\n hideTransitionParams: hideTransitionOptions\n }\n }\"\n >\n <div [class]=\"cx('content')\">\n @if (iconTemplate || _iconTemplate) {\n <ng-container *ngTemplateOutlet=\"iconTemplate || iconTemplate\"></ng-container>\n }\n @if (icon) {\n <i [class]=\"cn(cx('icon'), icon)\"></i>\n }\n\n <div *ngIf=\"!escape; else escapeOut\">\n <span *ngIf=\"!escape\" [ngClass]=\"cx('text')\" [innerHTML]=\"text\"></span>\n </div>\n\n <ng-template #escapeOut>\n <span *ngIf=\"escape && text\" [ngClass]=\"cx('text')\">{{ text }}</span>\n </ng-template>\n\n @if (containerTemplate || _containerTemplate) {\n <ng-container *ngTemplateOutlet=\"containerTemplate || containerTemplate; context: { closeCallback: close.bind(this) }\"></ng-container>\n } @else {\n <span [ngClass]=\"cx('text')\">\n <ng-content></ng-content>\n </span>\n }\n @if (closable) {\n <button pRipple type=\"button\" [class]=\"cx('closeButton')\" (click)=\"close($event)\" [attr.aria-label]=\"closeAriaLabel\">\n @if (closeIcon) {\n <i [class]=\"cn(cx('closeIcon'), closeIcon)\" [ngClass]=\"closeIcon\"></i>\n }\n @if (closeIconTemplate || _closeIconTemplate) {\n <ng-container *ngTemplateOutlet=\"closeIconTemplate || _closeIconTemplate\"></ng-container>\n }\n @if (!closeIconTemplate && !_closeIconTemplate && !closeIcon) {\n <svg data-p-icon=\"times\" [class]=\"cx('closeIcon')\" />\n }\n </button>\n }\n </div>\n </div>\n }\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [MessageStyle],\n animations: [\n trigger('messageAnimation', [\n transition(':enter', [style({ opacity: 0, transform: 'translateY(-25%)' }), animate('{{showTransitionParams}}')]),\n transition(':leave', [\n animate(\n '{{hideTransitionParams}}',\n style({\n height: 0,\n marginTop: 0,\n marginBottom: 0,\n marginLeft: 0,\n marginRight: 0,\n opacity: 0\n })\n )\n ])\n ])\n ]\n})\nexport class Message extends BaseComponent implements AfterContentInit {\n /**\n * Severity level of the message.\n * @defaultValue 'info'\n * @group Props\n */\n @Input() severity: string | 'success' | 'info' | 'warn' | 'error' | 'secondary' | 'contrast' | undefined | null = 'info';\n /**\n * Text content.\n * @deprecated since v20.0.0. Use content projection instead '<p-message>Content</p-message>'.\n * @group Props\n */\n @Input() text: string | undefined;\n /**\n * Whether displaying messages would be escaped or not.\n * @deprecated since v20.0.0. Use content projection instead '<p-message>Content</p-message>'.\n * @group Props\n */\n @Input({ transform: booleanAttribute }) escape: boolean = true;\n /**\n * Inline style of the component.\n * @group Props\n */\n @Input() style: { [klass: string]: any } | null | undefined;\n /**\n * Style class of the component.\n * @group Props\n */\n @Input() styleClass: string | undefined;\n /**\n * Whether the message can be closed manually using the close icon.\n * @group Props\n * @defaultValue false\n */\n @Input({ transform: booleanAttribute }) closable: boolean = false;\n /**\n * Icon to display in the message.\n * @group Props\n * @defaultValue undefined\n */\n @Input() icon: string | undefined;\n /**\n * Icon to display in the message close button.\n * @group Props\n * @defaultValue undefined\n */\n @Input() closeIcon: string | undefined;\n /**\n * Delay in milliseconds to close the message automatically.\n * @defaultValue undefined\n */\n @Input() life: number | undefined;\n /**\n * Transition options of the show animation.\n * @defaultValue '300ms ease-out'\n * @group Props\n */\n @Input() showTransitionOptions: string = '300ms ease-out';\n /**\n * Transition options of the hide animation.\n * @defaultValue '200ms cubic-bezier(0.86, 0, 0.07, 1)'\n * @group Props\n */\n @Input() hideTransitionOptions: string = '200ms cubic-bezier(0.86, 0, 0.07, 1)';\n /**\n * Defines the size of the component.\n * @group Props\n */\n @Input() size: 'large' | 'small' | undefined;\n /**\n * Specifies the input variant of the component.\n * @group Props\n */\n @Input() variant: 'outlined' | 'text' | 'simple' | undefined;\n /**\n * Emits when the message is closed.\n * @param {{ originalEvent: Event }} event - The event object containing the original event.\n * @group Emits\n */\n @Output() onClose: EventEmitter<{ originalEvent: Event }> = new EventEmitter<{ originalEvent: Event }>();\n\n get closeAriaLabel() {\n return this.config.translation.aria ? this.config.translation.aria.close : undefined;\n }\n\n visible = signal<boolean>(true);\n\n _componentStyle = inject(MessageStyle);\n\n /**\n * Custom template of the message container.\n * @group Templates\n */\n @ContentChild('container', { descendants: false }) containerTemplate: TemplateRef<any> | undefined;\n\n /**\n * Custom template of the message icon.\n * @group Templates\n */\n @ContentChild('icon', { descendants: false }) iconTemplate: TemplateRef<any> | undefined;\n\n /**\n * Custom template of the close icon.\n * @group Templates\n */\n @ContentChild('closeicon', { descendants: false }) closeIconTemplate: TemplateRef<any> | undefined;\n\n @ContentChildren(PrimeTemplate) templates: QueryList<PrimeTemplate> | undefined;\n\n _containerTemplate: TemplateRef<any> | undefined;\n\n _iconTemplate: TemplateRef<any> | undefined;\n\n _closeIconTemplate: TemplateRef<any> | undefined;\n\n ngOnInit() {\n super.ngOnInit();\n if (this.life) {\n setTimeout(() => {\n this.visible.set(false);\n }, this.life);\n }\n }\n\n ngAfterContentInit() {\n this.templates?.forEach((item) => {\n switch (item.getType()) {\n case 'container':\n this._containerTemplate = item.template;\n break;\n\n case 'icon':\n this._iconTemplate = item.template;\n break;\n\n case 'closeicon':\n this._closeIconTemplate = item.template;\n break;\n }\n });\n }\n\n /**\n * Closes the message.\n * @param {Event} event - Browser event.\n * @group Method\n */\n public close(event: Event) {\n this.visible.set(false);\n this.onClose.emit({ originalEvent: event });\n }\n}\n\n@NgModule({\n imports: [Message, SharedModule],\n exports: [Message, SharedModule]\n})\nexport class MessageModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["style"],"mappings":";;;;;;;;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AK,EAAE;gBAMO,iBAAiB,EAAA,CAAA;sBAAnE,YAAY;AAAC,gBAAA,IAAA,EAAA,CAAA,WAAW,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE;gBAEjB,SAAS,EAAA,CAAA;sBAAxC,eAAe;uBAAC,aAAa;;MAkDrB,aAAa,CAAA;uGAAb,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAb,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,YA7Jb,OAAO,EA0JG,YAAY,CAAA,EAAA,OAAA,EAAA,CA1JtB,OAAO,EA2JG,YAAY,CAAA,EAAA,CAAA;AAEtB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,EAAA,OAAA,EAAA,CAHZ,OAAO,EAAE,YAAY,EACZ,YAAY,CAAA,EAAA,CAAA;;2FAEtB,aAAa,EAAA,UAAA,EAAA,CAAA;kBAJzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,OAAO,EAAE,YAAY,CAAC;AAChC,oBAAA,OAAO,EAAE,CAAC,OAAO,EAAE,YAAY;AAClC,iBAAA;;;AC1PD;;AAEG;;;;"}
@@ -23,21 +23,20 @@ import { Ripple } from 'primeng/ripple';
23
23
  import { Scroller } from 'primeng/scroller';
24
24
  import { Tooltip } from 'primeng/tooltip';
25
25
  import { ObjectUtils } from 'primeng/utils';
26
- import { css, dt } from '@primeuix/styled';
27
26
  import { style } from '@primeuix/styles/multiselect';
28
27
  import { BaseStyle } from 'primeng/base';
29
28
 
30
- const theme = css `
29
+ const theme = /*css*/ `
31
30
  ${style}
32
31
 
33
32
  /* For PrimeNG */
34
33
  .p-multiselect.ng-invalid.ng-dirty {
35
- border-color: ${dt('multiselect.invalid.border.color')};
34
+ border-color: dt('multiselect.invalid.border.color');
36
35
  }
37
36
  p-multiSelect.ng-invalid.ng-dirty .p-multiselect-label.p-placeholder,
38
37
  p-multi-select.ng-invalid.ng-dirty .p-multiselect-label.p-placeholder,
39
38
  p-multiselect.ng-invalid.ng-dirty .p-multiselect-label.p-placeholder {
40
- color: ${dt('multiselect.invalid.placeholder.color')};
39
+ color: dt('multiselect.invalid.placeholder.color');
41
40
  }
42
41
  `;
43
42
  const inlineStyles = {
@@ -49,7 +48,7 @@ const classes = {
49
48
  {
50
49
  'p-multiselect p-component p-inputwrapper': true,
51
50
  'p-multiselect-display-chip': instance.display === 'chip',
52
- 'p-disabled': instance.disabled(),
51
+ 'p-disabled': instance.$disabled(),
53
52
  'p-invalid': instance.invalid(),
54
53
  'p-variant-filled': instance.$variant(),
55
54
  'p-focus': instance.focused,
@@ -73,7 +72,7 @@ const classes = {
73
72
  dropdown: 'p-multiselect-dropdown',
74
73
  loadingIcon: 'p-multiselect-loading-icon',
75
74
  dropdownIcon: 'p-multiselect-dropdown-icon',
76
- overlay: 'p-multiselect-overlay p-component',
75
+ overlay: 'p-multiselect-overlay p-component-overlay p-component',
77
76
  header: 'p-multiselect-header',
78
77
  pcFilterContainer: 'p-multiselect-filter-container',
79
78
  pcFilter: 'p-multiselect-filter',
@@ -785,8 +784,6 @@ class MultiSelect extends BaseEditableHolder {
785
784
  _disableTooltip = false;
786
785
  value;
787
786
  _filteredOptions;
788
- onModelChange = () => { };
789
- onModelTouched = () => { };
790
787
  focus;
791
788
  filtered;
792
789
  itemTemplate;
@@ -912,7 +909,7 @@ class MultiSelect extends BaseEditableHolder {
912
909
  return this.emptyFilterMessage || this.config.getTranslation(TranslationKeys.EMPTY_FILTER_MESSAGE);
913
910
  }
914
911
  get isVisibleClearIcon() {
915
- return this.modelValue() != null && this.modelValue() !== '' && isNotEmpty(this.modelValue()) && this.showClear && !this.disabled() && !this.readonly && this.$filled();
912
+ return this.modelValue() != null && this.modelValue() !== '' && isNotEmpty(this.modelValue()) && this.showClear && !this.$disabled() && !this.readonly && this.$filled();
916
913
  }
917
914
  get toggleAllAriaLabel() {
918
915
  return this.config.translation.aria ? this.config.translation.aria[this.allSelected() ? 'selectAll' : 'unselectAll'] : undefined;
@@ -1057,7 +1054,7 @@ class MultiSelect extends BaseEditableHolder {
1057
1054
  }
1058
1055
  onOptionSelect(event, isFocus = false, index = -1) {
1059
1056
  const { originalEvent, option } = event;
1060
- if (this.disabled() || this.isOptionDisabled(option)) {
1057
+ if (this.$disabled() || this.isOptionDisabled(option)) {
1061
1058
  return;
1062
1059
  }
1063
1060
  let selected = this.isSelected(option);
@@ -1203,7 +1200,7 @@ class MultiSelect extends BaseEditableHolder {
1203
1200
  return this.optionGroupChildren ? resolveFieldData(optionGroup, this.optionGroupChildren) : optionGroup.items;
1204
1201
  }
1205
1202
  onKeyDown(event) {
1206
- if (this.disabled()) {
1203
+ if (this.$disabled()) {
1207
1204
  event.preventDefault();
1208
1205
  return;
1209
1206
  }
@@ -1395,7 +1392,8 @@ class MultiSelect extends BaseEditableHolder {
1395
1392
  }
1396
1393
  else {
1397
1394
  if (this.focusedOptionIndex() !== -1) {
1398
- this.onOptionSelect({ originalEvent: event, option: this.visibleOptions()[this.focusedOptionIndex()] });
1395
+ const option = this.visibleOptions()[this.focusedOptionIndex()];
1396
+ !this.isSelected(option) && this.onOptionSelect({ originalEvent: event, option });
1399
1397
  }
1400
1398
  this.overlayVisible && this.hide(this.filter);
1401
1399
  }
@@ -1405,7 +1403,7 @@ class MultiSelect extends BaseEditableHolder {
1405
1403
  this.startRangeIndex.set(this.focusedOptionIndex());
1406
1404
  }
1407
1405
  onContainerClick(event) {
1408
- if (this.disabled() || this.loading || this.readonly || event.target.isSameNode(this.focusInputViewChild?.nativeElement)) {
1406
+ if (this.$disabled() || this.loading || this.readonly || event.target.isSameNode(this.focusInputViewChild?.nativeElement)) {
1409
1407
  return;
1410
1408
  }
1411
1409
  if (!this.overlayViewChild || !this.overlayViewChild.el.nativeElement.contains(event.target)) {
@@ -1464,7 +1462,7 @@ class MultiSelect extends BaseEditableHolder {
1464
1462
  this.focusedOptionIndex.set(-1);
1465
1463
  }
1466
1464
  onToggleAll(event) {
1467
- if (this.disabled() || this.readonly) {
1465
+ if (this.$disabled() || this.readonly) {
1468
1466
  return;
1469
1467
  }
1470
1468
  if (this.selectAll != null) {
@@ -1527,17 +1525,6 @@ class MultiSelect extends BaseEditableHolder {
1527
1525
  get focusedOptionId() {
1528
1526
  return this.focusedOptionIndex() !== -1 ? `${this.id}_${this.focusedOptionIndex()}` : null;
1529
1527
  }
1530
- writeValue(value) {
1531
- this.value = value;
1532
- this.writeModelValue(value);
1533
- this.cd.markForCheck();
1534
- }
1535
- registerOnChange(fn) {
1536
- this.onModelChange = fn;
1537
- }
1538
- registerOnTouched(fn) {
1539
- this.onModelTouched = fn;
1540
- }
1541
1528
  allSelected() {
1542
1529
  return this.selectAll !== null ? this.selectAll : isNotEmpty(this.visibleOptions()) && this.visibleOptions().every((option) => this.isOptionGroup(option) || this.isOptionDisabled(option) || this.isSelected(option));
1543
1530
  }
@@ -1707,6 +1694,17 @@ class MultiSelect extends BaseEditableHolder {
1707
1694
  hasFilter() {
1708
1695
  return this._filterValue() && this._filterValue().trim().length > 0;
1709
1696
  }
1697
+ /**
1698
+ * @override
1699
+ *
1700
+ * @see {@link BaseEditableHolder.writeControlValue}
1701
+ * Writes the value to the control.
1702
+ */
1703
+ writeControlValue(value, setModelValue) {
1704
+ this.value = value;
1705
+ setModelValue(value);
1706
+ this.cd.markForCheck();
1707
+ }
1710
1708
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: MultiSelect, deps: [{ token: i0.NgZone }, { token: i3.FilterService }, { token: i3.OverlayService }], target: i0.ɵɵFactoryTarget.Component });
1711
1709
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.6", type: MultiSelect, isStandalone: true, selector: "p-multiSelect, p-multiselect, p-multi-select", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: false, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: false, isRequired: false, transformFunction: null }, styleClass: { classPropertyName: "styleClass", publicName: "styleClass", isSignal: false, isRequired: false, transformFunction: null }, panelStyle: { classPropertyName: "panelStyle", publicName: "panelStyle", isSignal: false, isRequired: false, transformFunction: null }, panelStyleClass: { classPropertyName: "panelStyleClass", publicName: "panelStyleClass", isSignal: false, isRequired: false, transformFunction: null }, inputId: { classPropertyName: "inputId", publicName: "inputId", isSignal: false, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, group: { classPropertyName: "group", publicName: "group", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, filterPlaceHolder: { classPropertyName: "filterPlaceHolder", publicName: "filterPlaceHolder", isSignal: false, isRequired: false, transformFunction: null }, filterLocale: { classPropertyName: "filterLocale", publicName: "filterLocale", isSignal: false, isRequired: false, transformFunction: null }, overlayVisible: { classPropertyName: "overlayVisible", publicName: "overlayVisible", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, tabindex: { classPropertyName: "tabindex", publicName: "tabindex", isSignal: false, isRequired: false, transformFunction: numberAttribute }, dataKey: { classPropertyName: "dataKey", publicName: "dataKey", isSignal: false, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: false, isRequired: false, transformFunction: null }, displaySelectedLabel: { classPropertyName: "displaySelectedLabel", publicName: "displaySelectedLabel", isSignal: false, isRequired: false, transformFunction: null }, maxSelectedLabels: { classPropertyName: "maxSelectedLabels", publicName: "maxSelectedLabels", isSignal: false, isRequired: false, transformFunction: null }, selectionLimit: { classPropertyName: "selectionLimit", publicName: "selectionLimit", isSignal: false, isRequired: false, transformFunction: numberAttribute }, selectedItemsLabel: { classPropertyName: "selectedItemsLabel", publicName: "selectedItemsLabel", isSignal: false, isRequired: false, transformFunction: null }, showToggleAll: { classPropertyName: "showToggleAll", publicName: "showToggleAll", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, emptyFilterMessage: { classPropertyName: "emptyFilterMessage", publicName: "emptyFilterMessage", isSignal: false, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: false, isRequired: false, transformFunction: null }, resetFilterOnHide: { classPropertyName: "resetFilterOnHide", publicName: "resetFilterOnHide", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, dropdownIcon: { classPropertyName: "dropdownIcon", publicName: "dropdownIcon", isSignal: false, isRequired: false, transformFunction: null }, chipIcon: { classPropertyName: "chipIcon", publicName: "chipIcon", isSignal: false, isRequired: false, transformFunction: null }, optionLabel: { classPropertyName: "optionLabel", publicName: "optionLabel", isSignal: false, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: false, isRequired: false, transformFunction: null }, optionDisabled: { classPropertyName: "optionDisabled", publicName: "optionDisabled", isSignal: false, isRequired: false, transformFunction: null }, optionGroupLabel: { classPropertyName: "optionGroupLabel", publicName: "optionGroupLabel", isSignal: false, isRequired: false, transformFunction: null }, optionGroupChildren: { classPropertyName: "optionGroupChildren", publicName: "optionGroupChildren", isSignal: false, isRequired: false, transformFunction: null }, showHeader: { classPropertyName: "showHeader", publicName: "showHeader", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, filterBy: { classPropertyName: "filterBy", publicName: "filterBy", isSignal: false, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: false, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, virtualScroll: { classPropertyName: "virtualScroll", publicName: "virtualScroll", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, virtualScrollItemSize: { classPropertyName: "virtualScrollItemSize", publicName: "virtualScrollItemSize", isSignal: false, isRequired: false, transformFunction: numberAttribute }, loadingIcon: { classPropertyName: "loadingIcon", publicName: "loadingIcon", isSignal: false, isRequired: false, transformFunction: null }, virtualScrollOptions: { classPropertyName: "virtualScrollOptions", publicName: "virtualScrollOptions", isSignal: false, isRequired: false, transformFunction: null }, overlayOptions: { classPropertyName: "overlayOptions", publicName: "overlayOptions", isSignal: false, isRequired: false, transformFunction: null }, ariaFilterLabel: { classPropertyName: "ariaFilterLabel", publicName: "ariaFilterLabel", isSignal: false, isRequired: false, transformFunction: null }, filterMatchMode: { classPropertyName: "filterMatchMode", publicName: "filterMatchMode", isSignal: false, isRequired: false, transformFunction: null }, tooltip: { classPropertyName: "tooltip", publicName: "tooltip", isSignal: false, isRequired: false, transformFunction: null }, tooltipPosition: { classPropertyName: "tooltipPosition", publicName: "tooltipPosition", isSignal: false, isRequired: false, transformFunction: null }, tooltipPositionStyle: { classPropertyName: "tooltipPositionStyle", publicName: "tooltipPositionStyle", isSignal: false, isRequired: false, transformFunction: null }, tooltipStyleClass: { classPropertyName: "tooltipStyleClass", publicName: "tooltipStyleClass", isSignal: false, isRequired: false, transformFunction: null }, autofocusFilter: { classPropertyName: "autofocusFilter", publicName: "autofocusFilter", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, display: { classPropertyName: "display", publicName: "display", isSignal: false, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: false, isRequired: false, transformFunction: null }, showClear: { classPropertyName: "showClear", publicName: "showClear", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, autofocus: { classPropertyName: "autofocus", publicName: "autofocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: false, isRequired: false, transformFunction: null }, options: { classPropertyName: "options", publicName: "options", isSignal: false, isRequired: false, transformFunction: null }, filterValue: { classPropertyName: "filterValue", publicName: "filterValue", isSignal: false, isRequired: false, transformFunction: null }, selectAll: { classPropertyName: "selectAll", publicName: "selectAll", isSignal: false, isRequired: false, transformFunction: null }, focusOnHover: { classPropertyName: "focusOnHover", publicName: "focusOnHover", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, filterFields: { classPropertyName: "filterFields", publicName: "filterFields", isSignal: false, isRequired: false, transformFunction: null }, selectOnFocus: { classPropertyName: "selectOnFocus", publicName: "selectOnFocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, autoOptionFocus: { classPropertyName: "autoOptionFocus", publicName: "autoOptionFocus", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, highlightOnSelect: { classPropertyName: "highlightOnSelect", publicName: "highlightOnSelect", isSignal: false, isRequired: false, transformFunction: booleanAttribute }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, fluid: { classPropertyName: "fluid", publicName: "fluid", isSignal: true, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onChange: "onChange", onFilter: "onFilter", onFocus: "onFocus", onBlur: "onBlur", onClick: "onClick", onClear: "onClear", onPanelShow: "onPanelShow", onPanelHide: "onPanelHide", onLazyLoad: "onLazyLoad", onRemove: "onRemove", onSelectAllChange: "onSelectAllChange" }, host: { listeners: { "click": "onContainerClick($event)" }, properties: { "attr.id": "id", "class": "cn(cx('root'), styleClass)", "style": "sx('root')" } }, providers: [MULTISELECT_VALUE_ACCESSOR, MultiSelectStyle], queries: [{ propertyName: "footerFacet", first: true, predicate: Footer, descendants: true }, { propertyName: "headerFacet", first: true, predicate: Header, descendants: true }, { propertyName: "itemTemplate", first: true, predicate: ["item"] }, { propertyName: "groupTemplate", first: true, predicate: ["group"] }, { propertyName: "loaderTemplate", first: true, predicate: ["loader"] }, { propertyName: "headerTemplate", first: true, predicate: ["header"] }, { propertyName: "filterTemplate", first: true, predicate: ["filter"] }, { propertyName: "footerTemplate", first: true, predicate: ["footer"] }, { propertyName: "emptyFilterTemplate", first: true, predicate: ["emptyfilter"] }, { propertyName: "emptyTemplate", first: true, predicate: ["empty"] }, { propertyName: "selectedItemsTemplate", first: true, predicate: ["selecteditems"] }, { propertyName: "loadingIconTemplate", first: true, predicate: ["loadingicon"] }, { propertyName: "filterIconTemplate", first: true, predicate: ["filtericon"] }, { propertyName: "removeTokenIconTemplate", first: true, predicate: ["removetokenicon"] }, { propertyName: "chipIconTemplate", first: true, predicate: ["chipicon"] }, { propertyName: "clearIconTemplate", first: true, predicate: ["clearicon"] }, { propertyName: "dropdownIconTemplate", first: true, predicate: ["dropdownicon"] }, { propertyName: "itemCheckboxIconTemplate", first: true, predicate: ["itemcheckboxicon"] }, { propertyName: "headerCheckboxIconTemplate", first: true, predicate: ["headercheckboxicon"] }, { propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "overlayViewChild", first: true, predicate: ["overlay"], descendants: true }, { propertyName: "filterInputChild", first: true, predicate: ["filterInput"], descendants: true }, { propertyName: "focusInputViewChild", first: true, predicate: ["focusInput"], descendants: true }, { propertyName: "itemsViewChild", first: true, predicate: ["items"], descendants: true }, { propertyName: "scroller", first: true, predicate: ["scroller"], descendants: true }, { propertyName: "lastHiddenFocusableElementOnOverlay", first: true, predicate: ["lastHiddenFocusableEl"], descendants: true }, { propertyName: "firstHiddenFocusableElementOnOverlay", first: true, predicate: ["firstHiddenFocusableEl"], descendants: true }, { propertyName: "headerCheckboxViewChild", first: true, predicate: ["headerCheckbox"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
1712
1710
  <div class="p-hidden-accessible" [attr.data-p-hidden-accessible]="true">
@@ -1716,7 +1714,7 @@ class MultiSelect extends BaseEditableHolder {
1716
1714
  [tooltipPosition]="tooltipPosition"
1717
1715
  [positionStyle]="tooltipPositionStyle"
1718
1716
  [tooltipStyleClass]="tooltipStyleClass"
1719
- [attr.aria-disabled]="disabled()"
1717
+ [attr.aria-disabled]="$disabled()"
1720
1718
  [attr.id]="inputId"
1721
1719
  role="combobox"
1722
1720
  [attr.aria-label]="ariaLabel"
@@ -1724,7 +1722,7 @@ class MultiSelect extends BaseEditableHolder {
1724
1722
  [attr.aria-haspopup]="'listbox'"
1725
1723
  [attr.aria-expanded]="overlayVisible ?? false"
1726
1724
  [attr.aria-controls]="overlayVisible ? id + '_list' : null"
1727
- [attr.tabindex]="!disabled() ? tabindex : -1"
1725
+ [attr.tabindex]="!$disabled() ? tabindex : -1"
1728
1726
  [attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
1729
1727
  (focus)="onInputFocus($event)"
1730
1728
  (blur)="onInputBlur($event)"
@@ -1733,7 +1731,7 @@ class MultiSelect extends BaseEditableHolder {
1733
1731
  [attr.value]="modelValue()"
1734
1732
  [attr.name]="name()"
1735
1733
  [attr.required]="required() ? '' : undefined"
1736
- [attr.disabled]="disabled() ? '' : undefined"
1734
+ [attr.disabled]="$disabled() ? '' : undefined"
1737
1735
  />
1738
1736
  </div>
1739
1737
  <div
@@ -1753,10 +1751,10 @@ class MultiSelect extends BaseEditableHolder {
1753
1751
  {{ getSelectedItemsLabel() }}
1754
1752
  } @else {
1755
1753
  <div #token *ngFor="let item of chipSelectedItems(); let i = index" [class]="cx('chipItem')">
1756
- <p-chip [class]="cx('pcChip')" [label]="getLabelByValue(item)" [removable]="!disabled() && !readonly" (onRemove)="removeOption(item, $event)" [removeIcon]="chipIcon">
1754
+ <p-chip [class]="cx('pcChip')" [label]="getLabelByValue(item)" [removable]="!$disabled() && !readonly" (onRemove)="removeOption(item, $event)" [removeIcon]="chipIcon">
1757
1755
  <ng-container *ngIf="chipIconTemplate || _chipIconTemplate || removeTokenIconTemplate || _removeTokenIconTemplate">
1758
1756
  <ng-template #removeicon>
1759
- <ng-container *ngIf="!disabled() && !readonly">
1757
+ <ng-container *ngIf="!$disabled() && !readonly">
1760
1758
  <span
1761
1759
  [class]="cx('chipIcon')"
1762
1760
  *ngIf="chipIconTemplate || _chipIconTemplate || removeTokenIconTemplate || _removeTokenIconTemplate"
@@ -1782,7 +1780,7 @@ class MultiSelect extends BaseEditableHolder {
1782
1780
  </div>
1783
1781
  </div>
1784
1782
  <ng-container *ngIf="isVisibleClearIcon">
1785
- <TimesIcon *ngIf="!clearIconTemplate && !_clearIconTemplate" [class]="cx('clearIcon')" (click)="clear($event)" [attr.data-pc-section]="'clearicon'" [attr.aria-hidden]="true" />
1783
+ <svg data-p-icon="times" *ngIf="!clearIconTemplate && !_clearIconTemplate" [class]="cx('clearIcon')" (click)="clear($event)" [attr.data-pc-section]="'clearicon'" [attr.aria-hidden]="true" />
1786
1784
  <span *ngIf="clearIconTemplate || _clearIconTemplate" [class]="cx('clearIcon')" (click)="clear($event)" [attr.data-pc-section]="'clearicon'" [attr.aria-hidden]="true">
1787
1785
  <ng-template *ngTemplateOutlet="clearIconTemplate || _clearIconTemplate"></ng-template>
1788
1786
  </span>
@@ -1793,14 +1791,14 @@ class MultiSelect extends BaseEditableHolder {
1793
1791
  <ng-container *ngTemplateOutlet="loadingIconTemplate || _loadingIconTemplate"></ng-container>
1794
1792
  </ng-container>
1795
1793
  <ng-container *ngIf="!loadingIconTemplate && !_loadingIconTemplate">
1796
- <span *ngIf="loadingIcon" [class]="cn(cx('loadingIcon'), 'pi-spin ' + loadingIcon)" aria-hidden="true"></span>
1797
- <span *ngIf="!loadingIcon" [class]="cn(cx('loadingIcon'), 'pi pi-spinner pi-spin')" aria-hidden="true"></span>
1794
+ <span *ngIf="loadingIcon" [class]="cn(cx('loadingIcon'), 'pi-spin ' + loadingIcon)" [attr.aria-hidden]="true"></span>
1795
+ <span *ngIf="!loadingIcon" [class]="cn(cx('loadingIcon'), 'pi pi-spinner pi-spin')" [attr.aria-hidden]="true"></span>
1798
1796
  </ng-container>
1799
1797
  </ng-container>
1800
1798
  <ng-template #elseBlock>
1801
1799
  <ng-container *ngIf="!dropdownIconTemplate && !_dropdownIconTemplate">
1802
1800
  <span *ngIf="dropdownIcon" [class]="cx('dropdownIcon')" [ngClass]="dropdownIcon" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true"></span>
1803
- <ChevronDownIcon *ngIf="!dropdownIcon" [styleClass]="cx('dropdownIcon')" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true" />
1801
+ <svg data-p-icon="chevron-down" *ngIf="!dropdownIcon" [class]="cx('dropdownIcon')" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true" />
1804
1802
  </ng-container>
1805
1803
  <span *ngIf="dropdownIconTemplate || _dropdownIconTemplate" [class]="cx('dropdownIcon')" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true">
1806
1804
  <ng-template *ngTemplateOutlet="dropdownIconTemplate || _dropdownIconTemplate"></ng-template>
@@ -1834,11 +1832,11 @@ class MultiSelect extends BaseEditableHolder {
1834
1832
  (onChange)="onToggleAll($event)"
1835
1833
  *ngIf="showToggleAll && !selectionLimit"
1836
1834
  [variant]="$variant()"
1837
- [disabled]="disabled()"
1835
+ [disabled]="$disabled()"
1838
1836
  #headerCheckbox
1839
1837
  >
1840
1838
  <ng-template #checkboxicon let-klass="class">
1841
- <CheckIcon *ngIf="!headerCheckboxIconTemplate && !_headerCheckboxIconTemplate && allSelected()" [styleClass]="klass" [attr.data-pc-section]="'icon'" />
1839
+ <svg data-p-icon="check" *ngIf="!headerCheckboxIconTemplate && !_headerCheckboxIconTemplate && allSelected()" [class]="klass" [attr.data-pc-section]="'icon'" />
1842
1840
  <ng-template
1843
1841
  *ngTemplateOutlet="
1844
1842
  headerCheckboxIconTemplate || _headerCheckboxIconTemplate;
@@ -1868,12 +1866,12 @@ class MultiSelect extends BaseEditableHolder {
1868
1866
  (click)="onInputClick($event)"
1869
1867
  (blur)="onFilterBlur($event)"
1870
1868
  [class]="cx('pcFilter')"
1871
- [attr.disabled]="disabled() ? '' : undefined"
1869
+ [attr.disabled]="$disabled() ? '' : undefined"
1872
1870
  [attr.placeholder]="filterPlaceHolder"
1873
1871
  [attr.aria-label]="ariaFilterLabel"
1874
1872
  />
1875
1873
  <p-inputicon>
1876
- <SearchIcon *ngIf="!filterIconTemplate && !_filterIconTemplate" />
1874
+ <svg data-p-icon="search" *ngIf="!filterIconTemplate && !_filterIconTemplate" />
1877
1875
  <span *ngIf="filterIconTemplate || _filterIconTemplate" class="p-multiselect-filter-icon">
1878
1876
  <ng-template *ngTemplateOutlet="filterIconTemplate || _filterIconTemplate"></ng-template>
1879
1877
  </span>
@@ -1971,7 +1969,7 @@ class MultiSelect extends BaseEditableHolder {
1971
1969
  </div>
1972
1970
  </ng-template>
1973
1971
  </p-overlay>
1974
- `, isInline: true, dependencies: [{ 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: MultiSelectItem, selector: "p-multiSelectItem, p-multiselect-item", inputs: ["id", "option", "selected", "label", "disabled", "itemSize", "focused", "ariaPosInset", "ariaSetSize", "variant", "template", "checkIconTemplate", "itemCheckboxIconTemplate", "highlightOnSelect"], outputs: ["onClick", "onMouseEnter"] }, { kind: "component", type: Overlay, selector: "p-overlay", inputs: ["visible", "mode", "style", "styleClass", "contentStyle", "contentStyleClass", "target", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "listener", "responsive", "options", "appendTo", "hostAttrSelector"], outputs: ["visibleChange", "onBeforeShow", "onShow", "onBeforeHide", "onHide", "onAnimationStart", "onAnimationDone"] }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo"] }, { kind: "component", type: Scroller, selector: "p-scroller, p-virtualscroller, p-virtual-scroller, p-virtualScroller", inputs: ["id", "style", "styleClass", "tabindex", "items", "itemSize", "scrollHeight", "scrollWidth", "orientation", "step", "delay", "resizeDelay", "appendOnly", "inline", "lazy", "disabled", "loaderDisabled", "columns", "showSpacer", "showLoader", "numToleratedItems", "loading", "autoSize", "trackBy", "options"], outputs: ["onLazyLoad", "onScroll", "onScrollIndexChange"] }, { kind: "directive", type: AutoFocus, selector: "[pAutoFocus]", inputs: ["pAutoFocus"] }, { kind: "component", type: CheckIcon, selector: "CheckIcon" }, { kind: "component", type: SearchIcon, selector: "SearchIcon" }, { kind: "component", type: TimesIcon, selector: "TimesIcon" }, { kind: "component", type: ChevronDownIcon, selector: "ChevronDownIcon" }, { kind: "component", type: IconField, selector: "p-iconfield, p-iconField, p-icon-field", inputs: ["iconPosition", "styleClass"] }, { kind: "component", type: InputIcon, selector: "p-inputicon, p-inputIcon", inputs: ["styleClass"] }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["pSize", "variant", "fluid"] }, { kind: "component", type: Chip, selector: "p-chip", inputs: ["label", "icon", "image", "alt", "styleClass", "removable", "removeIcon", "chipProps"], outputs: ["onRemove", "onImageError"] }, { kind: "component", type: Checkbox, selector: "p-checkbox, p-checkBox, p-check-box", inputs: ["value", "binary", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "inputStyle", "styleClass", "inputClass", "indeterminate", "formControl", "checkboxIcon", "readonly", "autofocus", "trueValue", "falseValue", "variant", "size"], outputs: ["onChange", "onFocus", "onBlur"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1972
+ `, isInline: true, dependencies: [{ 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: MultiSelectItem, selector: "p-multiSelectItem, p-multiselect-item", inputs: ["id", "option", "selected", "label", "disabled", "itemSize", "focused", "ariaPosInset", "ariaSetSize", "variant", "template", "checkIconTemplate", "itemCheckboxIconTemplate", "highlightOnSelect"], outputs: ["onClick", "onMouseEnter"] }, { kind: "component", type: Overlay, selector: "p-overlay", inputs: ["visible", "mode", "style", "styleClass", "contentStyle", "contentStyleClass", "target", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "listener", "responsive", "options", "appendTo", "hostAttrSelector"], outputs: ["visibleChange", "onBeforeShow", "onShow", "onBeforeHide", "onHide", "onAnimationStart", "onAnimationDone"] }, { kind: "ngmodule", type: SharedModule }, { kind: "directive", type: Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions", "appendTo"] }, { kind: "component", type: Scroller, selector: "p-scroller, p-virtualscroller, p-virtual-scroller, p-virtualScroller", inputs: ["id", "style", "styleClass", "tabindex", "items", "itemSize", "scrollHeight", "scrollWidth", "orientation", "step", "delay", "resizeDelay", "appendOnly", "inline", "lazy", "disabled", "loaderDisabled", "columns", "showSpacer", "showLoader", "numToleratedItems", "loading", "autoSize", "trackBy", "options"], outputs: ["onLazyLoad", "onScroll", "onScrollIndexChange"] }, { kind: "directive", type: AutoFocus, selector: "[pAutoFocus]", inputs: ["pAutoFocus"] }, { kind: "component", type: CheckIcon, selector: "[data-p-icon=\"check\"]" }, { kind: "component", type: SearchIcon, selector: "[data-p-icon=\"search\"]" }, { kind: "component", type: TimesIcon, selector: "[data-p-icon=\"times\"]" }, { kind: "component", type: ChevronDownIcon, selector: "[data-p-icon=\"chevron-down\"]" }, { kind: "component", type: IconField, selector: "p-iconfield, p-iconField, p-icon-field", inputs: ["iconPosition", "styleClass"] }, { kind: "component", type: InputIcon, selector: "p-inputicon, p-inputIcon", inputs: ["styleClass"] }, { kind: "directive", type: InputText, selector: "[pInputText]", inputs: ["pSize", "variant", "fluid", "invalid"] }, { kind: "component", type: Chip, selector: "p-chip", inputs: ["label", "icon", "image", "alt", "styleClass", "removable", "removeIcon", "chipProps"], outputs: ["onRemove", "onImageError"] }, { kind: "component", type: Checkbox, selector: "p-checkbox, p-checkBox, p-check-box", inputs: ["value", "binary", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "inputStyle", "styleClass", "inputClass", "indeterminate", "formControl", "checkboxIcon", "readonly", "autofocus", "trueValue", "falseValue", "variant", "size"], outputs: ["onChange", "onFocus", "onBlur"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
1975
1973
  }
1976
1974
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: MultiSelect, decorators: [{
1977
1975
  type: Component,
@@ -1987,7 +1985,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
1987
1985
  [tooltipPosition]="tooltipPosition"
1988
1986
  [positionStyle]="tooltipPositionStyle"
1989
1987
  [tooltipStyleClass]="tooltipStyleClass"
1990
- [attr.aria-disabled]="disabled()"
1988
+ [attr.aria-disabled]="$disabled()"
1991
1989
  [attr.id]="inputId"
1992
1990
  role="combobox"
1993
1991
  [attr.aria-label]="ariaLabel"
@@ -1995,7 +1993,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
1995
1993
  [attr.aria-haspopup]="'listbox'"
1996
1994
  [attr.aria-expanded]="overlayVisible ?? false"
1997
1995
  [attr.aria-controls]="overlayVisible ? id + '_list' : null"
1998
- [attr.tabindex]="!disabled() ? tabindex : -1"
1996
+ [attr.tabindex]="!$disabled() ? tabindex : -1"
1999
1997
  [attr.aria-activedescendant]="focused ? focusedOptionId : undefined"
2000
1998
  (focus)="onInputFocus($event)"
2001
1999
  (blur)="onInputBlur($event)"
@@ -2004,7 +2002,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
2004
2002
  [attr.value]="modelValue()"
2005
2003
  [attr.name]="name()"
2006
2004
  [attr.required]="required() ? '' : undefined"
2007
- [attr.disabled]="disabled() ? '' : undefined"
2005
+ [attr.disabled]="$disabled() ? '' : undefined"
2008
2006
  />
2009
2007
  </div>
2010
2008
  <div
@@ -2024,10 +2022,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
2024
2022
  {{ getSelectedItemsLabel() }}
2025
2023
  } @else {
2026
2024
  <div #token *ngFor="let item of chipSelectedItems(); let i = index" [class]="cx('chipItem')">
2027
- <p-chip [class]="cx('pcChip')" [label]="getLabelByValue(item)" [removable]="!disabled() && !readonly" (onRemove)="removeOption(item, $event)" [removeIcon]="chipIcon">
2025
+ <p-chip [class]="cx('pcChip')" [label]="getLabelByValue(item)" [removable]="!$disabled() && !readonly" (onRemove)="removeOption(item, $event)" [removeIcon]="chipIcon">
2028
2026
  <ng-container *ngIf="chipIconTemplate || _chipIconTemplate || removeTokenIconTemplate || _removeTokenIconTemplate">
2029
2027
  <ng-template #removeicon>
2030
- <ng-container *ngIf="!disabled() && !readonly">
2028
+ <ng-container *ngIf="!$disabled() && !readonly">
2031
2029
  <span
2032
2030
  [class]="cx('chipIcon')"
2033
2031
  *ngIf="chipIconTemplate || _chipIconTemplate || removeTokenIconTemplate || _removeTokenIconTemplate"
@@ -2053,7 +2051,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
2053
2051
  </div>
2054
2052
  </div>
2055
2053
  <ng-container *ngIf="isVisibleClearIcon">
2056
- <TimesIcon *ngIf="!clearIconTemplate && !_clearIconTemplate" [class]="cx('clearIcon')" (click)="clear($event)" [attr.data-pc-section]="'clearicon'" [attr.aria-hidden]="true" />
2054
+ <svg data-p-icon="times" *ngIf="!clearIconTemplate && !_clearIconTemplate" [class]="cx('clearIcon')" (click)="clear($event)" [attr.data-pc-section]="'clearicon'" [attr.aria-hidden]="true" />
2057
2055
  <span *ngIf="clearIconTemplate || _clearIconTemplate" [class]="cx('clearIcon')" (click)="clear($event)" [attr.data-pc-section]="'clearicon'" [attr.aria-hidden]="true">
2058
2056
  <ng-template *ngTemplateOutlet="clearIconTemplate || _clearIconTemplate"></ng-template>
2059
2057
  </span>
@@ -2064,14 +2062,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
2064
2062
  <ng-container *ngTemplateOutlet="loadingIconTemplate || _loadingIconTemplate"></ng-container>
2065
2063
  </ng-container>
2066
2064
  <ng-container *ngIf="!loadingIconTemplate && !_loadingIconTemplate">
2067
- <span *ngIf="loadingIcon" [class]="cn(cx('loadingIcon'), 'pi-spin ' + loadingIcon)" aria-hidden="true"></span>
2068
- <span *ngIf="!loadingIcon" [class]="cn(cx('loadingIcon'), 'pi pi-spinner pi-spin')" aria-hidden="true"></span>
2065
+ <span *ngIf="loadingIcon" [class]="cn(cx('loadingIcon'), 'pi-spin ' + loadingIcon)" [attr.aria-hidden]="true"></span>
2066
+ <span *ngIf="!loadingIcon" [class]="cn(cx('loadingIcon'), 'pi pi-spinner pi-spin')" [attr.aria-hidden]="true"></span>
2069
2067
  </ng-container>
2070
2068
  </ng-container>
2071
2069
  <ng-template #elseBlock>
2072
2070
  <ng-container *ngIf="!dropdownIconTemplate && !_dropdownIconTemplate">
2073
2071
  <span *ngIf="dropdownIcon" [class]="cx('dropdownIcon')" [ngClass]="dropdownIcon" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true"></span>
2074
- <ChevronDownIcon *ngIf="!dropdownIcon" [styleClass]="cx('dropdownIcon')" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true" />
2072
+ <svg data-p-icon="chevron-down" *ngIf="!dropdownIcon" [class]="cx('dropdownIcon')" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true" />
2075
2073
  </ng-container>
2076
2074
  <span *ngIf="dropdownIconTemplate || _dropdownIconTemplate" [class]="cx('dropdownIcon')" [attr.data-pc-section]="'triggericon'" [attr.aria-hidden]="true">
2077
2075
  <ng-template *ngTemplateOutlet="dropdownIconTemplate || _dropdownIconTemplate"></ng-template>
@@ -2105,11 +2103,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
2105
2103
  (onChange)="onToggleAll($event)"
2106
2104
  *ngIf="showToggleAll && !selectionLimit"
2107
2105
  [variant]="$variant()"
2108
- [disabled]="disabled()"
2106
+ [disabled]="$disabled()"
2109
2107
  #headerCheckbox
2110
2108
  >
2111
2109
  <ng-template #checkboxicon let-klass="class">
2112
- <CheckIcon *ngIf="!headerCheckboxIconTemplate && !_headerCheckboxIconTemplate && allSelected()" [styleClass]="klass" [attr.data-pc-section]="'icon'" />
2110
+ <svg data-p-icon="check" *ngIf="!headerCheckboxIconTemplate && !_headerCheckboxIconTemplate && allSelected()" [class]="klass" [attr.data-pc-section]="'icon'" />
2113
2111
  <ng-template
2114
2112
  *ngTemplateOutlet="
2115
2113
  headerCheckboxIconTemplate || _headerCheckboxIconTemplate;
@@ -2139,12 +2137,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImpor
2139
2137
  (click)="onInputClick($event)"
2140
2138
  (blur)="onFilterBlur($event)"
2141
2139
  [class]="cx('pcFilter')"
2142
- [attr.disabled]="disabled() ? '' : undefined"
2140
+ [attr.disabled]="$disabled() ? '' : undefined"
2143
2141
  [attr.placeholder]="filterPlaceHolder"
2144
2142
  [attr.aria-label]="ariaFilterLabel"
2145
2143
  />
2146
2144
  <p-inputicon>
2147
- <SearchIcon *ngIf="!filterIconTemplate && !_filterIconTemplate" />
2145
+ <svg data-p-icon="search" *ngIf="!filterIconTemplate && !_filterIconTemplate" />
2148
2146
  <span *ngIf="filterIconTemplate || _filterIconTemplate" class="p-multiselect-filter-icon">
2149
2147
  <ng-template *ngTemplateOutlet="filterIconTemplate || _filterIconTemplate"></ng-template>
2150
2148
  </span>