primeng 15.4.1 → 15.4.3-lts

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 (754) hide show
  1. package/accordion/accordion.d.ts +6 -4
  2. package/animate/animate.d.ts +3 -1
  3. package/api/licensemanager.d.ts +13 -0
  4. package/api/public_api.d.ts +1 -0
  5. package/autocomplete/autocomplete.d.ts +6 -4
  6. package/autofocus/autofocus.d.ts +7 -4
  7. package/avatar/avatar.d.ts +6 -2
  8. package/badge/badge.d.ts +3 -1
  9. package/blockui/blockui.d.ts +4 -3
  10. package/breadcrumb/breadcrumb.d.ts +6 -3
  11. package/button/button.d.ts +3 -1
  12. package/calendar/calendar.d.ts +3 -2
  13. package/card/card.d.ts +6 -4
  14. package/carousel/carousel.d.ts +6 -3
  15. package/cascadeselect/cascadeselect.d.ts +6 -4
  16. package/chart/chart.d.ts +4 -2
  17. package/checkbox/checkbox.d.ts +4 -1
  18. package/chip/chip.d.ts +6 -2
  19. package/chips/chips.d.ts +6 -3
  20. package/colorpicker/colorpicker.d.ts +6 -4
  21. package/confirmdialog/confirmdialog.d.ts +6 -6
  22. package/confirmpopup/confirmpopup.d.ts +7 -5
  23. package/contextmenu/contextmenu.d.ts +3 -2
  24. package/dataview/dataview.d.ts +6 -5
  25. package/defer/defer.d.ts +4 -2
  26. package/dialog/dialog.d.ts +6 -4
  27. package/divider/divider.d.ts +6 -1
  28. package/dock/dock.d.ts +6 -3
  29. package/dragdrop/dragdrop.d.ts +6 -3
  30. package/dropdown/dropdown.d.ts +3 -2
  31. package/dynamicdialog/dynamicdialog.d.ts +5 -3
  32. package/editor/editor.d.ts +4 -2
  33. package/esm2020/accordion/accordion.mjs +24 -19
  34. package/esm2020/animate/animate.mjs +13 -10
  35. package/esm2020/api/confirmationservice.mjs +3 -3
  36. package/esm2020/api/contextmenuservice.mjs +3 -3
  37. package/esm2020/api/filterservice.mjs +3 -3
  38. package/esm2020/api/licensemanager.mjs +112 -0
  39. package/esm2020/api/messageservice.mjs +3 -3
  40. package/esm2020/api/overlayservice.mjs +3 -3
  41. package/esm2020/api/primengconfig.mjs +3 -3
  42. package/esm2020/api/public_api.mjs +2 -1
  43. package/esm2020/api/shared.mjs +13 -13
  44. package/esm2020/api/treedragdropservice.mjs +3 -3
  45. package/esm2020/autocomplete/autocomplete.mjs +29 -46
  46. package/esm2020/autofocus/autofocus.mjs +16 -11
  47. package/esm2020/avatar/avatar.mjs +18 -13
  48. package/esm2020/avatargroup/avatargroup.mjs +7 -7
  49. package/esm2020/badge/badge.mjs +17 -14
  50. package/esm2020/baseicon/baseicon.mjs +3 -3
  51. package/esm2020/blockui/blockui.mjs +14 -12
  52. package/esm2020/breadcrumb/breadcrumb.mjs +26 -21
  53. package/esm2020/button/button.mjs +23 -20
  54. package/esm2020/calendar/calendar.mjs +56 -54
  55. package/esm2020/card/card.mjs +19 -14
  56. package/esm2020/carousel/carousel.mjs +32 -27
  57. package/esm2020/cascadeselect/cascadeselect.mjs +26 -22
  58. package/esm2020/chart/chart.mjs +14 -11
  59. package/esm2020/checkbox/checkbox.mjs +34 -31
  60. package/esm2020/chip/chip.mjs +21 -16
  61. package/esm2020/chips/chips.mjs +22 -17
  62. package/esm2020/colorpicker/colorpicker.mjs +17 -13
  63. package/esm2020/confirmdialog/confirmdialog.mjs +25 -23
  64. package/esm2020/confirmpopup/confirmpopup.mjs +17 -13
  65. package/esm2020/contextmenu/contextmenu.mjs +21 -19
  66. package/esm2020/dataview/dataview.mjs +32 -30
  67. package/esm2020/defer/defer.mjs +14 -11
  68. package/esm2020/dialog/dialog.mjs +37 -33
  69. package/esm2020/divider/divider.mjs +18 -13
  70. package/esm2020/dock/dock.mjs +22 -17
  71. package/esm2020/dom/domhandler.mjs +3 -3
  72. package/esm2020/dragdrop/dragdrop.mjs +21 -16
  73. package/esm2020/dropdown/dropdown.mjs +20 -20
  74. package/esm2020/dynamicdialog/dialogservice.mjs +3 -3
  75. package/esm2020/dynamicdialog/dynamicdialog.mjs +59 -46
  76. package/esm2020/dynamicdialog/dynamicdialogcontent.mjs +3 -3
  77. package/esm2020/editor/editor.mjs +18 -15
  78. package/esm2020/fieldset/fieldset.mjs +23 -18
  79. package/esm2020/fileupload/fileupload.mjs +67 -63
  80. package/esm2020/focustrap/focustrap.mjs +15 -10
  81. package/esm2020/galleria/galleria.mjs +50 -46
  82. package/esm2020/icons/angledoubledown/angledoubledown.mjs +3 -3
  83. package/esm2020/icons/angledoubleleft/angledoubleleft.mjs +3 -3
  84. package/esm2020/icons/angledoubleright/angledoubleright.mjs +3 -3
  85. package/esm2020/icons/angledoubleup/angledoubleup.mjs +3 -3
  86. package/esm2020/icons/angledown/angledown.mjs +3 -3
  87. package/esm2020/icons/angleleft/angleleft.mjs +3 -3
  88. package/esm2020/icons/angleright/angleright.mjs +3 -3
  89. package/esm2020/icons/angleup/angleup.mjs +3 -3
  90. package/esm2020/icons/arrowdown/arrowdown.mjs +3 -3
  91. package/esm2020/icons/arrowdownleft/arrowdownleft.mjs +3 -3
  92. package/esm2020/icons/arrowdownright/arrowdownright.mjs +3 -3
  93. package/esm2020/icons/arrowleft/arrowleft.mjs +3 -3
  94. package/esm2020/icons/arrowright/arrowright.mjs +3 -3
  95. package/esm2020/icons/arrowup/arrowup.mjs +3 -3
  96. package/esm2020/icons/ban/ban.mjs +3 -3
  97. package/esm2020/icons/bars/bars.mjs +3 -3
  98. package/esm2020/icons/calendar/calendar.mjs +3 -3
  99. package/esm2020/icons/caretleft/caretleft.mjs +3 -3
  100. package/esm2020/icons/caretright/caretright.mjs +3 -3
  101. package/esm2020/icons/check/check.mjs +3 -3
  102. package/esm2020/icons/chevrondown/chevrondown.mjs +3 -3
  103. package/esm2020/icons/chevronleft/chevronleft.mjs +3 -3
  104. package/esm2020/icons/chevronright/chevronright.mjs +3 -3
  105. package/esm2020/icons/chevronup/chevronup.mjs +3 -3
  106. package/esm2020/icons/exclamationtriangle/exclamationtriangle.mjs +3 -3
  107. package/esm2020/icons/eye/eye.mjs +3 -3
  108. package/esm2020/icons/eyeslash/eyeslash.mjs +3 -3
  109. package/esm2020/icons/filter/filter.mjs +3 -3
  110. package/esm2020/icons/filterslash/filterslash.mjs +3 -3
  111. package/esm2020/icons/home/home.mjs +3 -3
  112. package/esm2020/icons/infocircle/infocircle.mjs +3 -3
  113. package/esm2020/icons/minus/minus.mjs +3 -3
  114. package/esm2020/icons/pencil/pencil.mjs +3 -3
  115. package/esm2020/icons/plus/plus.mjs +3 -3
  116. package/esm2020/icons/refresh/refresh.mjs +3 -3
  117. package/esm2020/icons/search/search.mjs +3 -3
  118. package/esm2020/icons/searchminus/searchminus.mjs +3 -3
  119. package/esm2020/icons/searchplus/searchplus.mjs +3 -3
  120. package/esm2020/icons/sortalt/sortalt.mjs +3 -3
  121. package/esm2020/icons/sortamountdown/sortamountdown.mjs +3 -3
  122. package/esm2020/icons/sortamountupalt/sortamountupalt.mjs +3 -3
  123. package/esm2020/icons/spinner/spinner.mjs +3 -3
  124. package/esm2020/icons/star/star.mjs +3 -3
  125. package/esm2020/icons/starfill/starfill.mjs +3 -3
  126. package/esm2020/icons/thlarge/thlarge.mjs +3 -3
  127. package/esm2020/icons/times/times.mjs +3 -3
  128. package/esm2020/icons/timescircle/timescircle.mjs +3 -3
  129. package/esm2020/icons/trash/trash.mjs +3 -3
  130. package/esm2020/icons/undo/undo.mjs +3 -3
  131. package/esm2020/icons/upload/upload.mjs +3 -3
  132. package/esm2020/icons/windowmaximize/windowmaximize.mjs +3 -3
  133. package/esm2020/icons/windowminimize/windowminimize.mjs +3 -3
  134. package/esm2020/image/image.mjs +32 -28
  135. package/esm2020/inplace/inplace.mjs +28 -23
  136. package/esm2020/inputmask/inputmask.mjs +26 -25
  137. package/esm2020/inputnumber/inputnumber.mjs +74 -60
  138. package/esm2020/inputswitch/inputswitch.mjs +18 -13
  139. package/esm2020/inputtext/inputtext.mjs +13 -10
  140. package/esm2020/inputtextarea/inputtextarea.mjs +14 -11
  141. package/esm2020/keyfilter/keyfilter.mjs +17 -12
  142. package/esm2020/knob/knob.mjs +18 -13
  143. package/esm2020/listbox/listbox.mjs +30 -26
  144. package/esm2020/megamenu/megamenu.mjs +28 -23
  145. package/esm2020/menu/menu.mjs +21 -17
  146. package/esm2020/menubar/menubar.mjs +38 -33
  147. package/esm2020/message/message.mjs +16 -16
  148. package/esm2020/messages/messages.mjs +32 -36
  149. package/esm2020/multiselect/multiselect.mjs +72 -69
  150. package/esm2020/orderlist/orderlist.mjs +30 -26
  151. package/esm2020/organizationchart/organizationchart.mjs +31 -26
  152. package/esm2020/overlay/overlay.mjs +7 -7
  153. package/esm2020/overlaypanel/overlaypanel.mjs +17 -13
  154. package/esm2020/paginator/paginator.mjs +30 -27
  155. package/esm2020/panel/panel.mjs +30 -25
  156. package/esm2020/panelmenu/panelmenu.mjs +31 -28
  157. package/esm2020/password/password.mjs +44 -36
  158. package/esm2020/picklist/picklist.mjs +68 -160
  159. package/esm2020/progressbar/progressbar.mjs +17 -12
  160. package/esm2020/progressspinner/progressspinner.mjs +18 -13
  161. package/esm2020/radiobutton/radiobutton.mjs +21 -16
  162. package/esm2020/rating/rating.mjs +47 -30
  163. package/esm2020/ripple/ripple.mjs +13 -11
  164. package/esm2020/scroller/scroller.mjs +19 -16
  165. package/esm2020/scrollpanel/scrollpanel.mjs +17 -14
  166. package/esm2020/scrolltop/scrolltop.mjs +28 -24
  167. package/esm2020/selectbutton/selectbutton.mjs +22 -17
  168. package/esm2020/sidebar/sidebar.mjs +15 -13
  169. package/esm2020/skeleton/skeleton.mjs +17 -12
  170. package/esm2020/slidemenu/slidemenu.mjs +31 -27
  171. package/esm2020/slider/slider.mjs +18 -13
  172. package/esm2020/speeddial/speeddial.mjs +26 -23
  173. package/esm2020/spinner/spinner.mjs +7 -7
  174. package/esm2020/splitbutton/splitbutton.mjs +23 -18
  175. package/esm2020/splitter/splitter.mjs +17 -14
  176. package/esm2020/steps/steps.mjs +19 -14
  177. package/esm2020/styleclass/styleclass.mjs +15 -10
  178. package/esm2020/table/table.mjs +138 -151
  179. package/esm2020/tabmenu/tabmenu.mjs +24 -20
  180. package/esm2020/tabview/tabview.mjs +35 -30
  181. package/esm2020/tag/tag.mjs +20 -14
  182. package/esm2020/terminal/terminal.mjs +18 -15
  183. package/esm2020/terminal/terminalservice.mjs +3 -3
  184. package/esm2020/tieredmenu/tieredmenu.mjs +29 -25
  185. package/esm2020/timeline/timeline.mjs +18 -13
  186. package/esm2020/toast/toast.mjs +35 -46
  187. package/esm2020/togglebutton/togglebutton.mjs +19 -14
  188. package/esm2020/toolbar/toolbar.mjs +17 -12
  189. package/esm2020/tooltip/tooltip.mjs +12 -10
  190. package/esm2020/tree/tree.mjs +48 -44
  191. package/esm2020/treeselect/treeselect.mjs +24 -20
  192. package/esm2020/treetable/treetable.mjs +142 -140
  193. package/esm2020/tristatecheckbox/tristatecheckbox.mjs +23 -18
  194. package/esm2020/virtualscroller/virtualscroller.mjs +17 -13
  195. package/fesm2015/primeng-accordion.mjs +22 -18
  196. package/fesm2015/primeng-accordion.mjs.map +1 -1
  197. package/fesm2015/primeng-animate.mjs +12 -10
  198. package/fesm2015/primeng-animate.mjs.map +1 -1
  199. package/fesm2015/primeng-api.mjs +156 -38
  200. package/fesm2015/primeng-api.mjs.map +1 -1
  201. package/fesm2015/primeng-autocomplete.mjs +28 -46
  202. package/fesm2015/primeng-autocomplete.mjs.map +1 -1
  203. package/fesm2015/primeng-autofocus.mjs +15 -11
  204. package/fesm2015/primeng-autofocus.mjs.map +1 -1
  205. package/fesm2015/primeng-avatar.mjs +17 -13
  206. package/fesm2015/primeng-avatar.mjs.map +1 -1
  207. package/fesm2015/primeng-avatargroup.mjs +7 -8
  208. package/fesm2015/primeng-badge.mjs +16 -14
  209. package/fesm2015/primeng-badge.mjs.map +1 -1
  210. package/fesm2015/primeng-baseicon.mjs +3 -4
  211. package/fesm2015/primeng-blockui.mjs +14 -13
  212. package/fesm2015/primeng-blockui.mjs.map +1 -1
  213. package/fesm2015/primeng-breadcrumb.mjs +25 -21
  214. package/fesm2015/primeng-breadcrumb.mjs.map +1 -1
  215. package/fesm2015/primeng-button.mjs +21 -19
  216. package/fesm2015/primeng-button.mjs.map +1 -1
  217. package/fesm2015/primeng-calendar.mjs +56 -55
  218. package/fesm2015/primeng-calendar.mjs.map +1 -1
  219. package/fesm2015/primeng-card.mjs +17 -13
  220. package/fesm2015/primeng-card.mjs.map +1 -1
  221. package/fesm2015/primeng-carousel.mjs +30 -26
  222. package/fesm2015/primeng-carousel.mjs.map +1 -1
  223. package/fesm2015/primeng-cascadeselect.mjs +25 -22
  224. package/fesm2015/primeng-cascadeselect.mjs.map +1 -1
  225. package/fesm2015/primeng-chart.mjs +13 -11
  226. package/fesm2015/primeng-chart.mjs.map +1 -1
  227. package/fesm2015/primeng-checkbox.mjs +33 -31
  228. package/fesm2015/primeng-checkbox.mjs.map +1 -1
  229. package/fesm2015/primeng-chip.mjs +20 -16
  230. package/fesm2015/primeng-chip.mjs.map +1 -1
  231. package/fesm2015/primeng-chips.mjs +20 -16
  232. package/fesm2015/primeng-chips.mjs.map +1 -1
  233. package/fesm2015/primeng-colorpicker.mjs +16 -13
  234. package/fesm2015/primeng-colorpicker.mjs.map +1 -1
  235. package/fesm2015/primeng-confirmdialog.mjs +23 -22
  236. package/fesm2015/primeng-confirmdialog.mjs.map +1 -1
  237. package/fesm2015/primeng-confirmpopup.mjs +17 -14
  238. package/fesm2015/primeng-confirmpopup.mjs.map +1 -1
  239. package/fesm2015/primeng-contextmenu.mjs +19 -18
  240. package/fesm2015/primeng-contextmenu.mjs.map +1 -1
  241. package/fesm2015/primeng-dataview.mjs +32 -31
  242. package/fesm2015/primeng-dataview.mjs.map +1 -1
  243. package/fesm2015/primeng-defer.mjs +13 -11
  244. package/fesm2015/primeng-defer.mjs.map +1 -1
  245. package/fesm2015/primeng-dialog.mjs +37 -34
  246. package/fesm2015/primeng-dialog.mjs.map +1 -1
  247. package/fesm2015/primeng-divider.mjs +17 -13
  248. package/fesm2015/primeng-divider.mjs.map +1 -1
  249. package/fesm2015/primeng-dock.mjs +21 -17
  250. package/fesm2015/primeng-dock.mjs.map +1 -1
  251. package/fesm2015/primeng-dom.mjs +2 -3
  252. package/fesm2015/primeng-dom.mjs.map +1 -1
  253. package/fesm2015/primeng-dragdrop.mjs +20 -16
  254. package/fesm2015/primeng-dragdrop.mjs.map +1 -1
  255. package/fesm2015/primeng-dropdown.mjs +19 -20
  256. package/fesm2015/primeng-dropdown.mjs.map +1 -1
  257. package/fesm2015/primeng-dynamicdialog.mjs +63 -51
  258. package/fesm2015/primeng-dynamicdialog.mjs.map +1 -1
  259. package/fesm2015/primeng-editor.mjs +16 -14
  260. package/fesm2015/primeng-editor.mjs.map +1 -1
  261. package/fesm2015/primeng-fieldset.mjs +21 -17
  262. package/fesm2015/primeng-fieldset.mjs.map +1 -1
  263. package/fesm2015/primeng-fileupload.mjs +66 -63
  264. package/fesm2015/primeng-fileupload.mjs.map +1 -1
  265. package/fesm2015/primeng-focustrap.mjs +14 -10
  266. package/fesm2015/primeng-focustrap.mjs.map +1 -1
  267. package/fesm2015/primeng-galleria.mjs +50 -47
  268. package/fesm2015/primeng-galleria.mjs.map +1 -1
  269. package/fesm2015/primeng-icons-angledoubledown.mjs +3 -4
  270. package/fesm2015/primeng-icons-angledoubleleft.mjs +3 -4
  271. package/fesm2015/primeng-icons-angledoubleright.mjs +3 -4
  272. package/fesm2015/primeng-icons-angledoubleup.mjs +3 -4
  273. package/fesm2015/primeng-icons-angledown.mjs +3 -4
  274. package/fesm2015/primeng-icons-angleleft.mjs +3 -4
  275. package/fesm2015/primeng-icons-angleright.mjs +3 -4
  276. package/fesm2015/primeng-icons-angleup.mjs +3 -4
  277. package/fesm2015/primeng-icons-arrowdown.mjs +3 -4
  278. package/fesm2015/primeng-icons-arrowdownleft.mjs +3 -4
  279. package/fesm2015/primeng-icons-arrowdownright.mjs +3 -4
  280. package/fesm2015/primeng-icons-arrowleft.mjs +3 -4
  281. package/fesm2015/primeng-icons-arrowright.mjs +3 -4
  282. package/fesm2015/primeng-icons-arrowup.mjs +3 -4
  283. package/fesm2015/primeng-icons-ban.mjs +3 -4
  284. package/fesm2015/primeng-icons-bars.mjs +3 -4
  285. package/fesm2015/primeng-icons-calendar.mjs +3 -4
  286. package/fesm2015/primeng-icons-caretleft.mjs +3 -4
  287. package/fesm2015/primeng-icons-caretright.mjs +3 -4
  288. package/fesm2015/primeng-icons-check.mjs +3 -4
  289. package/fesm2015/primeng-icons-chevrondown.mjs +3 -4
  290. package/fesm2015/primeng-icons-chevronleft.mjs +3 -4
  291. package/fesm2015/primeng-icons-chevronright.mjs +3 -4
  292. package/fesm2015/primeng-icons-chevronup.mjs +3 -4
  293. package/fesm2015/primeng-icons-exclamationtriangle.mjs +3 -4
  294. package/fesm2015/primeng-icons-eye.mjs +3 -4
  295. package/fesm2015/primeng-icons-eyeslash.mjs +3 -4
  296. package/fesm2015/primeng-icons-filter.mjs +3 -4
  297. package/fesm2015/primeng-icons-filterslash.mjs +3 -4
  298. package/fesm2015/primeng-icons-home.mjs +3 -4
  299. package/fesm2015/primeng-icons-infocircle.mjs +3 -4
  300. package/fesm2015/primeng-icons-minus.mjs +3 -4
  301. package/fesm2015/primeng-icons-pencil.mjs +3 -4
  302. package/fesm2015/primeng-icons-plus.mjs +3 -4
  303. package/fesm2015/primeng-icons-refresh.mjs +3 -4
  304. package/fesm2015/primeng-icons-search.mjs +3 -4
  305. package/fesm2015/primeng-icons-searchminus.mjs +3 -4
  306. package/fesm2015/primeng-icons-searchplus.mjs +3 -4
  307. package/fesm2015/primeng-icons-sortalt.mjs +3 -4
  308. package/fesm2015/primeng-icons-sortamountdown.mjs +3 -4
  309. package/fesm2015/primeng-icons-sortamountupalt.mjs +3 -4
  310. package/fesm2015/primeng-icons-spinner.mjs +3 -4
  311. package/fesm2015/primeng-icons-star.mjs +3 -4
  312. package/fesm2015/primeng-icons-starfill.mjs +3 -4
  313. package/fesm2015/primeng-icons-thlarge.mjs +3 -4
  314. package/fesm2015/primeng-icons-times.mjs +3 -4
  315. package/fesm2015/primeng-icons-timescircle.mjs +3 -4
  316. package/fesm2015/primeng-icons-trash.mjs +3 -4
  317. package/fesm2015/primeng-icons-undo.mjs +3 -4
  318. package/fesm2015/primeng-icons-upload.mjs +3 -4
  319. package/fesm2015/primeng-icons-windowmaximize.mjs +3 -4
  320. package/fesm2015/primeng-icons-windowminimize.mjs +3 -4
  321. package/fesm2015/primeng-image.mjs +31 -28
  322. package/fesm2015/primeng-image.mjs.map +1 -1
  323. package/fesm2015/primeng-inplace.mjs +27 -23
  324. package/fesm2015/primeng-inplace.mjs.map +1 -1
  325. package/fesm2015/primeng-inputmask.mjs +24 -24
  326. package/fesm2015/primeng-inputmask.mjs.map +1 -1
  327. package/fesm2015/primeng-inputnumber.mjs +73 -59
  328. package/fesm2015/primeng-inputnumber.mjs.map +1 -1
  329. package/fesm2015/primeng-inputswitch.mjs +17 -13
  330. package/fesm2015/primeng-inputswitch.mjs.map +1 -1
  331. package/fesm2015/primeng-inputtext.mjs +12 -10
  332. package/fesm2015/primeng-inputtext.mjs.map +1 -1
  333. package/fesm2015/primeng-inputtextarea.mjs +13 -11
  334. package/fesm2015/primeng-inputtextarea.mjs.map +1 -1
  335. package/fesm2015/primeng-keyfilter.mjs +16 -12
  336. package/fesm2015/primeng-keyfilter.mjs.map +1 -1
  337. package/fesm2015/primeng-knob.mjs +17 -13
  338. package/fesm2015/primeng-knob.mjs.map +1 -1
  339. package/fesm2015/primeng-listbox.mjs +29 -26
  340. package/fesm2015/primeng-listbox.mjs.map +1 -1
  341. package/fesm2015/primeng-megamenu.mjs +27 -23
  342. package/fesm2015/primeng-megamenu.mjs.map +1 -1
  343. package/fesm2015/primeng-menu.mjs +20 -17
  344. package/fesm2015/primeng-menu.mjs.map +1 -1
  345. package/fesm2015/primeng-menubar.mjs +39 -35
  346. package/fesm2015/primeng-menubar.mjs.map +1 -1
  347. package/fesm2015/primeng-message.mjs +15 -16
  348. package/fesm2015/primeng-message.mjs.map +1 -1
  349. package/fesm2015/primeng-messages.mjs +33 -38
  350. package/fesm2015/primeng-messages.mjs.map +1 -1
  351. package/fesm2015/primeng-multiselect.mjs +71 -69
  352. package/fesm2015/primeng-multiselect.mjs.map +1 -1
  353. package/fesm2015/primeng-orderlist.mjs +33 -30
  354. package/fesm2015/primeng-orderlist.mjs.map +1 -1
  355. package/fesm2015/primeng-organizationchart.mjs +29 -24
  356. package/fesm2015/primeng-organizationchart.mjs.map +1 -1
  357. package/fesm2015/primeng-overlay.mjs +7 -8
  358. package/fesm2015/primeng-overlaypanel.mjs +16 -13
  359. package/fesm2015/primeng-overlaypanel.mjs.map +1 -1
  360. package/fesm2015/primeng-paginator.mjs +31 -28
  361. package/fesm2015/primeng-paginator.mjs.map +1 -1
  362. package/fesm2015/primeng-panel.mjs +28 -24
  363. package/fesm2015/primeng-panel.mjs.map +1 -1
  364. package/fesm2015/primeng-panelmenu.mjs +31 -29
  365. package/fesm2015/primeng-panelmenu.mjs.map +1 -1
  366. package/fesm2015/primeng-password.mjs +42 -35
  367. package/fesm2015/primeng-password.mjs.map +1 -1
  368. package/fesm2015/primeng-picklist.mjs +71 -164
  369. package/fesm2015/primeng-picklist.mjs.map +1 -1
  370. package/fesm2015/primeng-progressbar.mjs +16 -12
  371. package/fesm2015/primeng-progressbar.mjs.map +1 -1
  372. package/fesm2015/primeng-progressspinner.mjs +17 -13
  373. package/fesm2015/primeng-progressspinner.mjs.map +1 -1
  374. package/fesm2015/primeng-radiobutton.mjs +20 -16
  375. package/fesm2015/primeng-radiobutton.mjs.map +1 -1
  376. package/fesm2015/primeng-rating.mjs +46 -30
  377. package/fesm2015/primeng-rating.mjs.map +1 -1
  378. package/fesm2015/primeng-ripple.mjs +12 -11
  379. package/fesm2015/primeng-ripple.mjs.map +1 -1
  380. package/fesm2015/primeng-scroller.mjs +18 -16
  381. package/fesm2015/primeng-scroller.mjs.map +1 -1
  382. package/fesm2015/primeng-scrollpanel.mjs +16 -14
  383. package/fesm2015/primeng-scrollpanel.mjs.map +1 -1
  384. package/fesm2015/primeng-scrolltop.mjs +28 -25
  385. package/fesm2015/primeng-scrolltop.mjs.map +1 -1
  386. package/fesm2015/primeng-selectbutton.mjs +21 -17
  387. package/fesm2015/primeng-selectbutton.mjs.map +1 -1
  388. package/fesm2015/primeng-sidebar.mjs +14 -13
  389. package/fesm2015/primeng-sidebar.mjs.map +1 -1
  390. package/fesm2015/primeng-skeleton.mjs +16 -12
  391. package/fesm2015/primeng-skeleton.mjs.map +1 -1
  392. package/fesm2015/primeng-slidemenu.mjs +31 -28
  393. package/fesm2015/primeng-slidemenu.mjs.map +1 -1
  394. package/fesm2015/primeng-slider.mjs +16 -12
  395. package/fesm2015/primeng-slider.mjs.map +1 -1
  396. package/fesm2015/primeng-speeddial.mjs +24 -22
  397. package/fesm2015/primeng-speeddial.mjs.map +1 -1
  398. package/fesm2015/primeng-spinner.mjs +7 -8
  399. package/fesm2015/primeng-splitbutton.mjs +22 -18
  400. package/fesm2015/primeng-splitbutton.mjs.map +1 -1
  401. package/fesm2015/primeng-splitter.mjs +16 -14
  402. package/fesm2015/primeng-splitter.mjs.map +1 -1
  403. package/fesm2015/primeng-steps.mjs +18 -14
  404. package/fesm2015/primeng-steps.mjs.map +1 -1
  405. package/fesm2015/primeng-styleclass.mjs +14 -10
  406. package/fesm2015/primeng-styleclass.mjs.map +1 -1
  407. package/fesm2015/primeng-table.mjs +138 -151
  408. package/fesm2015/primeng-table.mjs.map +1 -1
  409. package/fesm2015/primeng-tabmenu.mjs +23 -20
  410. package/fesm2015/primeng-tabmenu.mjs.map +1 -1
  411. package/fesm2015/primeng-tabview.mjs +34 -30
  412. package/fesm2015/primeng-tabview.mjs.map +1 -1
  413. package/fesm2015/primeng-tag.mjs +18 -12
  414. package/fesm2015/primeng-tag.mjs.map +1 -1
  415. package/fesm2015/primeng-terminal.mjs +19 -17
  416. package/fesm2015/primeng-terminal.mjs.map +1 -1
  417. package/fesm2015/primeng-tieredmenu.mjs +30 -27
  418. package/fesm2015/primeng-tieredmenu.mjs.map +1 -1
  419. package/fesm2015/primeng-timeline.mjs +17 -13
  420. package/fesm2015/primeng-timeline.mjs.map +1 -1
  421. package/fesm2015/primeng-toast.mjs +36 -47
  422. package/fesm2015/primeng-toast.mjs.map +1 -1
  423. package/fesm2015/primeng-togglebutton.mjs +18 -14
  424. package/fesm2015/primeng-togglebutton.mjs.map +1 -1
  425. package/fesm2015/primeng-toolbar.mjs +16 -12
  426. package/fesm2015/primeng-toolbar.mjs.map +1 -1
  427. package/fesm2015/primeng-tooltip.mjs +11 -10
  428. package/fesm2015/primeng-tooltip.mjs.map +1 -1
  429. package/fesm2015/primeng-tree.mjs +49 -46
  430. package/fesm2015/primeng-tree.mjs.map +1 -1
  431. package/fesm2015/primeng-treeselect.mjs +23 -20
  432. package/fesm2015/primeng-treeselect.mjs.map +1 -1
  433. package/fesm2015/primeng-treetable.mjs +144 -143
  434. package/fesm2015/primeng-treetable.mjs.map +1 -1
  435. package/fesm2015/primeng-tristatecheckbox.mjs +22 -18
  436. package/fesm2015/primeng-tristatecheckbox.mjs.map +1 -1
  437. package/fesm2015/primeng-utils.mjs +0 -1
  438. package/fesm2015/primeng-virtualscroller.mjs +16 -13
  439. package/fesm2015/primeng-virtualscroller.mjs.map +1 -1
  440. package/fesm2015/primeng.mjs +0 -1
  441. package/fesm2020/primeng-accordion.mjs +22 -18
  442. package/fesm2020/primeng-accordion.mjs.map +1 -1
  443. package/fesm2020/primeng-animate.mjs +12 -10
  444. package/fesm2020/primeng-animate.mjs.map +1 -1
  445. package/fesm2020/primeng-api.mjs +146 -38
  446. package/fesm2020/primeng-api.mjs.map +1 -1
  447. package/fesm2020/primeng-autocomplete.mjs +28 -46
  448. package/fesm2020/primeng-autocomplete.mjs.map +1 -1
  449. package/fesm2020/primeng-autofocus.mjs +15 -11
  450. package/fesm2020/primeng-autofocus.mjs.map +1 -1
  451. package/fesm2020/primeng-avatar.mjs +17 -13
  452. package/fesm2020/primeng-avatar.mjs.map +1 -1
  453. package/fesm2020/primeng-avatargroup.mjs +7 -8
  454. package/fesm2020/primeng-badge.mjs +16 -14
  455. package/fesm2020/primeng-badge.mjs.map +1 -1
  456. package/fesm2020/primeng-baseicon.mjs +3 -4
  457. package/fesm2020/primeng-blockui.mjs +14 -13
  458. package/fesm2020/primeng-blockui.mjs.map +1 -1
  459. package/fesm2020/primeng-breadcrumb.mjs +25 -21
  460. package/fesm2020/primeng-breadcrumb.mjs.map +1 -1
  461. package/fesm2020/primeng-button.mjs +21 -19
  462. package/fesm2020/primeng-button.mjs.map +1 -1
  463. package/fesm2020/primeng-calendar.mjs +56 -55
  464. package/fesm2020/primeng-calendar.mjs.map +1 -1
  465. package/fesm2020/primeng-card.mjs +17 -13
  466. package/fesm2020/primeng-card.mjs.map +1 -1
  467. package/fesm2020/primeng-carousel.mjs +30 -26
  468. package/fesm2020/primeng-carousel.mjs.map +1 -1
  469. package/fesm2020/primeng-cascadeselect.mjs +25 -22
  470. package/fesm2020/primeng-cascadeselect.mjs.map +1 -1
  471. package/fesm2020/primeng-chart.mjs +13 -11
  472. package/fesm2020/primeng-chart.mjs.map +1 -1
  473. package/fesm2020/primeng-checkbox.mjs +33 -31
  474. package/fesm2020/primeng-checkbox.mjs.map +1 -1
  475. package/fesm2020/primeng-chip.mjs +20 -16
  476. package/fesm2020/primeng-chip.mjs.map +1 -1
  477. package/fesm2020/primeng-chips.mjs +20 -16
  478. package/fesm2020/primeng-chips.mjs.map +1 -1
  479. package/fesm2020/primeng-colorpicker.mjs +16 -13
  480. package/fesm2020/primeng-colorpicker.mjs.map +1 -1
  481. package/fesm2020/primeng-confirmdialog.mjs +23 -22
  482. package/fesm2020/primeng-confirmdialog.mjs.map +1 -1
  483. package/fesm2020/primeng-confirmpopup.mjs +17 -14
  484. package/fesm2020/primeng-confirmpopup.mjs.map +1 -1
  485. package/fesm2020/primeng-contextmenu.mjs +19 -18
  486. package/fesm2020/primeng-contextmenu.mjs.map +1 -1
  487. package/fesm2020/primeng-dataview.mjs +32 -31
  488. package/fesm2020/primeng-dataview.mjs.map +1 -1
  489. package/fesm2020/primeng-defer.mjs +13 -11
  490. package/fesm2020/primeng-defer.mjs.map +1 -1
  491. package/fesm2020/primeng-dialog.mjs +37 -34
  492. package/fesm2020/primeng-dialog.mjs.map +1 -1
  493. package/fesm2020/primeng-divider.mjs +17 -13
  494. package/fesm2020/primeng-divider.mjs.map +1 -1
  495. package/fesm2020/primeng-dock.mjs +21 -17
  496. package/fesm2020/primeng-dock.mjs.map +1 -1
  497. package/fesm2020/primeng-dom.mjs +2 -3
  498. package/fesm2020/primeng-dom.mjs.map +1 -1
  499. package/fesm2020/primeng-dragdrop.mjs +20 -16
  500. package/fesm2020/primeng-dragdrop.mjs.map +1 -1
  501. package/fesm2020/primeng-dropdown.mjs +19 -20
  502. package/fesm2020/primeng-dropdown.mjs.map +1 -1
  503. package/fesm2020/primeng-dynamicdialog.mjs +63 -51
  504. package/fesm2020/primeng-dynamicdialog.mjs.map +1 -1
  505. package/fesm2020/primeng-editor.mjs +16 -14
  506. package/fesm2020/primeng-editor.mjs.map +1 -1
  507. package/fesm2020/primeng-fieldset.mjs +21 -17
  508. package/fesm2020/primeng-fieldset.mjs.map +1 -1
  509. package/fesm2020/primeng-fileupload.mjs +66 -63
  510. package/fesm2020/primeng-fileupload.mjs.map +1 -1
  511. package/fesm2020/primeng-focustrap.mjs +14 -10
  512. package/fesm2020/primeng-focustrap.mjs.map +1 -1
  513. package/fesm2020/primeng-galleria.mjs +50 -47
  514. package/fesm2020/primeng-galleria.mjs.map +1 -1
  515. package/fesm2020/primeng-icons-angledoubledown.mjs +3 -4
  516. package/fesm2020/primeng-icons-angledoubleleft.mjs +3 -4
  517. package/fesm2020/primeng-icons-angledoubleright.mjs +3 -4
  518. package/fesm2020/primeng-icons-angledoubleup.mjs +3 -4
  519. package/fesm2020/primeng-icons-angledown.mjs +3 -4
  520. package/fesm2020/primeng-icons-angleleft.mjs +3 -4
  521. package/fesm2020/primeng-icons-angleright.mjs +3 -4
  522. package/fesm2020/primeng-icons-angleup.mjs +3 -4
  523. package/fesm2020/primeng-icons-arrowdown.mjs +3 -4
  524. package/fesm2020/primeng-icons-arrowdownleft.mjs +3 -4
  525. package/fesm2020/primeng-icons-arrowdownright.mjs +3 -4
  526. package/fesm2020/primeng-icons-arrowleft.mjs +3 -4
  527. package/fesm2020/primeng-icons-arrowright.mjs +3 -4
  528. package/fesm2020/primeng-icons-arrowup.mjs +3 -4
  529. package/fesm2020/primeng-icons-ban.mjs +3 -4
  530. package/fesm2020/primeng-icons-bars.mjs +3 -4
  531. package/fesm2020/primeng-icons-calendar.mjs +3 -4
  532. package/fesm2020/primeng-icons-caretleft.mjs +3 -4
  533. package/fesm2020/primeng-icons-caretright.mjs +3 -4
  534. package/fesm2020/primeng-icons-check.mjs +3 -4
  535. package/fesm2020/primeng-icons-chevrondown.mjs +3 -4
  536. package/fesm2020/primeng-icons-chevronleft.mjs +3 -4
  537. package/fesm2020/primeng-icons-chevronright.mjs +3 -4
  538. package/fesm2020/primeng-icons-chevronup.mjs +3 -4
  539. package/fesm2020/primeng-icons-exclamationtriangle.mjs +3 -4
  540. package/fesm2020/primeng-icons-eye.mjs +3 -4
  541. package/fesm2020/primeng-icons-eyeslash.mjs +3 -4
  542. package/fesm2020/primeng-icons-filter.mjs +3 -4
  543. package/fesm2020/primeng-icons-filterslash.mjs +3 -4
  544. package/fesm2020/primeng-icons-home.mjs +3 -4
  545. package/fesm2020/primeng-icons-infocircle.mjs +3 -4
  546. package/fesm2020/primeng-icons-minus.mjs +3 -4
  547. package/fesm2020/primeng-icons-pencil.mjs +3 -4
  548. package/fesm2020/primeng-icons-plus.mjs +3 -4
  549. package/fesm2020/primeng-icons-refresh.mjs +3 -4
  550. package/fesm2020/primeng-icons-search.mjs +3 -4
  551. package/fesm2020/primeng-icons-searchminus.mjs +3 -4
  552. package/fesm2020/primeng-icons-searchplus.mjs +3 -4
  553. package/fesm2020/primeng-icons-sortalt.mjs +3 -4
  554. package/fesm2020/primeng-icons-sortamountdown.mjs +3 -4
  555. package/fesm2020/primeng-icons-sortamountupalt.mjs +3 -4
  556. package/fesm2020/primeng-icons-spinner.mjs +3 -4
  557. package/fesm2020/primeng-icons-star.mjs +3 -4
  558. package/fesm2020/primeng-icons-starfill.mjs +3 -4
  559. package/fesm2020/primeng-icons-thlarge.mjs +3 -4
  560. package/fesm2020/primeng-icons-times.mjs +3 -4
  561. package/fesm2020/primeng-icons-timescircle.mjs +3 -4
  562. package/fesm2020/primeng-icons-trash.mjs +3 -4
  563. package/fesm2020/primeng-icons-undo.mjs +3 -4
  564. package/fesm2020/primeng-icons-upload.mjs +3 -4
  565. package/fesm2020/primeng-icons-windowmaximize.mjs +3 -4
  566. package/fesm2020/primeng-icons-windowminimize.mjs +3 -4
  567. package/fesm2020/primeng-image.mjs +31 -28
  568. package/fesm2020/primeng-image.mjs.map +1 -1
  569. package/fesm2020/primeng-inplace.mjs +27 -23
  570. package/fesm2020/primeng-inplace.mjs.map +1 -1
  571. package/fesm2020/primeng-inputmask.mjs +24 -24
  572. package/fesm2020/primeng-inputmask.mjs.map +1 -1
  573. package/fesm2020/primeng-inputnumber.mjs +72 -59
  574. package/fesm2020/primeng-inputnumber.mjs.map +1 -1
  575. package/fesm2020/primeng-inputswitch.mjs +17 -13
  576. package/fesm2020/primeng-inputswitch.mjs.map +1 -1
  577. package/fesm2020/primeng-inputtext.mjs +12 -10
  578. package/fesm2020/primeng-inputtext.mjs.map +1 -1
  579. package/fesm2020/primeng-inputtextarea.mjs +13 -11
  580. package/fesm2020/primeng-inputtextarea.mjs.map +1 -1
  581. package/fesm2020/primeng-keyfilter.mjs +16 -12
  582. package/fesm2020/primeng-keyfilter.mjs.map +1 -1
  583. package/fesm2020/primeng-knob.mjs +17 -13
  584. package/fesm2020/primeng-knob.mjs.map +1 -1
  585. package/fesm2020/primeng-listbox.mjs +29 -26
  586. package/fesm2020/primeng-listbox.mjs.map +1 -1
  587. package/fesm2020/primeng-megamenu.mjs +27 -23
  588. package/fesm2020/primeng-megamenu.mjs.map +1 -1
  589. package/fesm2020/primeng-menu.mjs +20 -17
  590. package/fesm2020/primeng-menu.mjs.map +1 -1
  591. package/fesm2020/primeng-menubar.mjs +39 -35
  592. package/fesm2020/primeng-menubar.mjs.map +1 -1
  593. package/fesm2020/primeng-message.mjs +15 -16
  594. package/fesm2020/primeng-message.mjs.map +1 -1
  595. package/fesm2020/primeng-messages.mjs +33 -38
  596. package/fesm2020/primeng-messages.mjs.map +1 -1
  597. package/fesm2020/primeng-multiselect.mjs +71 -69
  598. package/fesm2020/primeng-multiselect.mjs.map +1 -1
  599. package/fesm2020/primeng-orderlist.mjs +33 -30
  600. package/fesm2020/primeng-orderlist.mjs.map +1 -1
  601. package/fesm2020/primeng-organizationchart.mjs +29 -24
  602. package/fesm2020/primeng-organizationchart.mjs.map +1 -1
  603. package/fesm2020/primeng-overlay.mjs +7 -8
  604. package/fesm2020/primeng-overlaypanel.mjs +16 -13
  605. package/fesm2020/primeng-overlaypanel.mjs.map +1 -1
  606. package/fesm2020/primeng-paginator.mjs +31 -28
  607. package/fesm2020/primeng-paginator.mjs.map +1 -1
  608. package/fesm2020/primeng-panel.mjs +28 -24
  609. package/fesm2020/primeng-panel.mjs.map +1 -1
  610. package/fesm2020/primeng-panelmenu.mjs +31 -29
  611. package/fesm2020/primeng-panelmenu.mjs.map +1 -1
  612. package/fesm2020/primeng-password.mjs +42 -35
  613. package/fesm2020/primeng-password.mjs.map +1 -1
  614. package/fesm2020/primeng-picklist.mjs +71 -164
  615. package/fesm2020/primeng-picklist.mjs.map +1 -1
  616. package/fesm2020/primeng-progressbar.mjs +16 -12
  617. package/fesm2020/primeng-progressbar.mjs.map +1 -1
  618. package/fesm2020/primeng-progressspinner.mjs +17 -13
  619. package/fesm2020/primeng-progressspinner.mjs.map +1 -1
  620. package/fesm2020/primeng-radiobutton.mjs +20 -16
  621. package/fesm2020/primeng-radiobutton.mjs.map +1 -1
  622. package/fesm2020/primeng-rating.mjs +46 -30
  623. package/fesm2020/primeng-rating.mjs.map +1 -1
  624. package/fesm2020/primeng-ripple.mjs +12 -11
  625. package/fesm2020/primeng-ripple.mjs.map +1 -1
  626. package/fesm2020/primeng-scroller.mjs +18 -16
  627. package/fesm2020/primeng-scroller.mjs.map +1 -1
  628. package/fesm2020/primeng-scrollpanel.mjs +16 -14
  629. package/fesm2020/primeng-scrollpanel.mjs.map +1 -1
  630. package/fesm2020/primeng-scrolltop.mjs +28 -25
  631. package/fesm2020/primeng-scrolltop.mjs.map +1 -1
  632. package/fesm2020/primeng-selectbutton.mjs +21 -17
  633. package/fesm2020/primeng-selectbutton.mjs.map +1 -1
  634. package/fesm2020/primeng-sidebar.mjs +14 -13
  635. package/fesm2020/primeng-sidebar.mjs.map +1 -1
  636. package/fesm2020/primeng-skeleton.mjs +16 -12
  637. package/fesm2020/primeng-skeleton.mjs.map +1 -1
  638. package/fesm2020/primeng-slidemenu.mjs +31 -28
  639. package/fesm2020/primeng-slidemenu.mjs.map +1 -1
  640. package/fesm2020/primeng-slider.mjs +16 -12
  641. package/fesm2020/primeng-slider.mjs.map +1 -1
  642. package/fesm2020/primeng-speeddial.mjs +24 -22
  643. package/fesm2020/primeng-speeddial.mjs.map +1 -1
  644. package/fesm2020/primeng-spinner.mjs +7 -8
  645. package/fesm2020/primeng-splitbutton.mjs +22 -18
  646. package/fesm2020/primeng-splitbutton.mjs.map +1 -1
  647. package/fesm2020/primeng-splitter.mjs +16 -14
  648. package/fesm2020/primeng-splitter.mjs.map +1 -1
  649. package/fesm2020/primeng-steps.mjs +18 -14
  650. package/fesm2020/primeng-steps.mjs.map +1 -1
  651. package/fesm2020/primeng-styleclass.mjs +14 -10
  652. package/fesm2020/primeng-styleclass.mjs.map +1 -1
  653. package/fesm2020/primeng-table.mjs +137 -151
  654. package/fesm2020/primeng-table.mjs.map +1 -1
  655. package/fesm2020/primeng-tabmenu.mjs +23 -20
  656. package/fesm2020/primeng-tabmenu.mjs.map +1 -1
  657. package/fesm2020/primeng-tabview.mjs +34 -30
  658. package/fesm2020/primeng-tabview.mjs.map +1 -1
  659. package/fesm2020/primeng-tag.mjs +18 -12
  660. package/fesm2020/primeng-tag.mjs.map +1 -1
  661. package/fesm2020/primeng-terminal.mjs +19 -17
  662. package/fesm2020/primeng-terminal.mjs.map +1 -1
  663. package/fesm2020/primeng-tieredmenu.mjs +30 -27
  664. package/fesm2020/primeng-tieredmenu.mjs.map +1 -1
  665. package/fesm2020/primeng-timeline.mjs +17 -13
  666. package/fesm2020/primeng-timeline.mjs.map +1 -1
  667. package/fesm2020/primeng-toast.mjs +36 -47
  668. package/fesm2020/primeng-toast.mjs.map +1 -1
  669. package/fesm2020/primeng-togglebutton.mjs +18 -14
  670. package/fesm2020/primeng-togglebutton.mjs.map +1 -1
  671. package/fesm2020/primeng-toolbar.mjs +16 -12
  672. package/fesm2020/primeng-toolbar.mjs.map +1 -1
  673. package/fesm2020/primeng-tooltip.mjs +11 -10
  674. package/fesm2020/primeng-tooltip.mjs.map +1 -1
  675. package/fesm2020/primeng-tree.mjs +49 -46
  676. package/fesm2020/primeng-tree.mjs.map +1 -1
  677. package/fesm2020/primeng-treeselect.mjs +23 -20
  678. package/fesm2020/primeng-treeselect.mjs.map +1 -1
  679. package/fesm2020/primeng-treetable.mjs +144 -143
  680. package/fesm2020/primeng-treetable.mjs.map +1 -1
  681. package/fesm2020/primeng-tristatecheckbox.mjs +22 -18
  682. package/fesm2020/primeng-tristatecheckbox.mjs.map +1 -1
  683. package/fesm2020/primeng-utils.mjs +0 -1
  684. package/fesm2020/primeng-virtualscroller.mjs +16 -13
  685. package/fesm2020/primeng-virtualscroller.mjs.map +1 -1
  686. package/fesm2020/primeng.mjs +0 -1
  687. package/fieldset/fieldset.d.ts +6 -4
  688. package/fileupload/fileupload.d.ts +13 -11
  689. package/focustrap/focustrap.d.ts +6 -3
  690. package/galleria/galleria.d.ts +6 -4
  691. package/image/image.d.ts +6 -4
  692. package/inplace/inplace.d.ts +6 -3
  693. package/inputmask/inputmask.d.ts +6 -3
  694. package/inputnumber/inputnumber.d.ts +9 -4
  695. package/inputswitch/inputswitch.d.ts +6 -3
  696. package/inputtext/inputtext.d.ts +4 -2
  697. package/inputtextarea/inputtextarea.d.ts +6 -4
  698. package/keyfilter/keyfilter.d.ts +7 -4
  699. package/knob/knob.d.ts +6 -3
  700. package/listbox/listbox.d.ts +6 -4
  701. package/megamenu/megamenu.d.ts +6 -4
  702. package/menu/menu.d.ts +6 -4
  703. package/menubar/menubar.d.ts +6 -4
  704. package/messages/messages.d.ts +7 -5
  705. package/multiselect/multiselect.d.ts +3 -2
  706. package/orderlist/orderlist.d.ts +6 -4
  707. package/organizationchart/organizationchart.d.ts +6 -4
  708. package/overlaypanel/overlaypanel.d.ts +6 -4
  709. package/package.json +1 -1
  710. package/paginator/paginator.d.ts +6 -4
  711. package/panel/panel.d.ts +6 -4
  712. package/panelmenu/panelmenu.d.ts +6 -4
  713. package/password/password.d.ts +10 -6
  714. package/picklist/picklist.d.ts +6 -4
  715. package/progressbar/progressbar.d.ts +6 -1
  716. package/progressspinner/progressspinner.d.ts +6 -1
  717. package/radiobutton/radiobutton.d.ts +6 -3
  718. package/rating/rating.d.ts +6 -3
  719. package/resources/components/button/button.css +1 -0
  720. package/resources/components/common/common.css +1 -1
  721. package/resources/components/table/table.css +4 -0
  722. package/resources/components/tieredmenu/tieredmenu.css +5 -1
  723. package/resources/primeng.css +2 -1
  724. package/resources/primeng.min.css +1 -1
  725. package/ripple/ripple.d.ts +4 -3
  726. package/scroller/scroller.d.ts +3 -1
  727. package/scrollpanel/scrollpanel.d.ts +4 -2
  728. package/scrolltop/scrolltop.d.ts +6 -4
  729. package/selectbutton/selectbutton.d.ts +6 -3
  730. package/sidebar/sidebar.d.ts +3 -2
  731. package/skeleton/skeleton.d.ts +6 -1
  732. package/slidemenu/slidemenu.d.ts +6 -4
  733. package/slider/slider.d.ts +6 -3
  734. package/speeddial/speeddial.d.ts +4 -3
  735. package/splitbutton/splitbutton.d.ts +6 -3
  736. package/splitter/splitter.d.ts +5 -3
  737. package/steps/steps.d.ts +7 -5
  738. package/styleclass/styleclass.d.ts +6 -3
  739. package/table/table.d.ts +4 -5
  740. package/tabmenu/tabmenu.d.ts +3 -2
  741. package/tabview/tabview.d.ts +6 -4
  742. package/tag/tag.d.ts +6 -2
  743. package/terminal/terminal.d.ts +5 -3
  744. package/tieredmenu/tieredmenu.d.ts +7 -5
  745. package/timeline/timeline.d.ts +6 -4
  746. package/toast/toast.d.ts +5 -5
  747. package/togglebutton/togglebutton.d.ts +6 -3
  748. package/toolbar/toolbar.d.ts +6 -4
  749. package/tooltip/tooltip.d.ts +3 -2
  750. package/tree/tree.d.ts +7 -5
  751. package/treeselect/treeselect.d.ts +6 -4
  752. package/treetable/treetable.d.ts +5 -3
  753. package/tristatecheckbox/tristatecheckbox.d.ts +6 -3
  754. package/virtualscroller/virtualscroller.d.ts +6 -4
@@ -1,18 +1,18 @@
1
- import * as i0 from '@angular/core';
2
- import { EventEmitter, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, Output, ViewChild, Inject, ContentChildren, NgModule } from '@angular/core';
1
+ import { trigger, state, style, transition, animate, query, animateChild } from '@angular/animations';
3
2
  import * as i1 from '@angular/common';
4
3
  import { DOCUMENT, CommonModule } from '@angular/common';
4
+ import * as i0 from '@angular/core';
5
+ import { EventEmitter, Component, ViewEncapsulation, ChangeDetectionStrategy, Input, Output, ViewChild, Inject, ContentChildren, NgModule } from '@angular/core';
5
6
  import * as i3 from 'primeng/api';
6
7
  import { PrimeTemplate, SharedModule } from 'primeng/api';
7
- import { UniqueComponentId, ZIndexUtils, ObjectUtils } from 'primeng/utils';
8
- import * as i2 from 'primeng/ripple';
9
- import { RippleModule } from 'primeng/ripple';
10
- import { trigger, state, style, transition, animate, query, animateChild } from '@angular/animations';
11
8
  import { CheckIcon } from 'primeng/icons/check';
12
- import { InfoCircleIcon } from 'primeng/icons/infocircle';
13
- import { TimesCircleIcon } from 'primeng/icons/timescircle';
14
9
  import { ExclamationTriangleIcon } from 'primeng/icons/exclamationtriangle';
10
+ import { InfoCircleIcon } from 'primeng/icons/infocircle';
15
11
  import { TimesIcon } from 'primeng/icons/times';
12
+ import { TimesCircleIcon } from 'primeng/icons/timescircle';
13
+ import * as i2 from 'primeng/ripple';
14
+ import { RippleModule } from 'primeng/ripple';
15
+ import { UniqueComponentId, ZIndexUtils, ObjectUtils } from 'primeng/utils';
16
16
 
17
17
  class ToastItem {
18
18
  constructor(zone) {
@@ -58,8 +58,8 @@ class ToastItem {
58
58
  this.clearTimeout();
59
59
  }
60
60
  }
61
- ToastItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToastItem, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
62
- ToastItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: ToastItem, selector: "p-toastItem", inputs: { message: "message", index: "index", template: "template", showTransformOptions: "showTransformOptions", hideTransformOptions: "hideTransformOptions", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions" }, outputs: { onClose: "onClose" }, host: { classAttribute: "p-element" }, viewQueries: [{ propertyName: "containerViewChild", first: true, predicate: ["container"], descendants: true }], ngImport: i0, template: `
61
+ ToastItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: ToastItem, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
62
+ ToastItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: ToastItem, selector: "p-toastItem", inputs: { message: "message", index: "index", template: "template", showTransformOptions: "showTransformOptions", hideTransformOptions: "hideTransformOptions", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions" }, outputs: { onClose: "onClose" }, host: { classAttribute: "p-element" }, viewQueries: [{ propertyName: "containerViewChild", first: true, predicate: ["container"], descendants: true }], ngImport: i0, template: `
63
63
  <div
64
64
  #container
65
65
  [attr.id]="message.id"
@@ -71,16 +71,13 @@ ToastItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15
71
71
  >
72
72
  <div class="p-toast-message-content" role="alert" aria-live="assertive" aria-atomic="true" [ngClass]="message.contentStyleClass">
73
73
  <ng-container *ngIf="!template">
74
- <span
75
- *ngIf="message.icon"
76
- [class]="'p-toast-message-icon pi ' + message.icon"
77
- ></span>
74
+ <span *ngIf="message.icon" [class]="'p-toast-message-icon pi ' + message.icon"></span>
78
75
  <span class="p-toast-message-icon" *ngIf="!message.icon">
79
76
  <ng-container>
80
- <CheckIcon *ngIf="message.severity === 'success'"/>
81
- <InfoCircleIcon *ngIf="message.severity === 'info'"/>
82
- <TimesCircleIcon *ngIf="message.severity === 'error'"/>
83
- <ExclamationTriangleIcon *ngIf="message.severity === 'warn'"/>
77
+ <CheckIcon *ngIf="message.severity === 'success'" />
78
+ <InfoCircleIcon *ngIf="message.severity === 'info'" />
79
+ <TimesCircleIcon *ngIf="message.severity === 'error'" />
80
+ <ExclamationTriangleIcon *ngIf="message.severity === 'warn'" />
84
81
  </ng-container>
85
82
  </span>
86
83
  <div class="p-toast-message-text">
@@ -90,11 +87,8 @@ ToastItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15
90
87
  </ng-container>
91
88
  <ng-container *ngTemplateOutlet="template; context: { $implicit: message }"></ng-container>
92
89
  <button type="button" class="p-toast-icon-close p-link" (click)="onCloseIconClick($event)" (keydown.enter)="onCloseIconClick($event)" *ngIf="message.closable !== false" pRipple>
93
- <span
94
- *ngIf="message.closeIcon"
95
- [class]="'p-toast-message-icon pi ' + message.closeIcon"
96
- ></span>
97
- <TimesIcon *ngIf="!message.closeIcon" [styleClass]="'p-toast-icon-close-icon'"/>
90
+ <span *ngIf="message.closeIcon" [class]="'p-toast-message-icon pi ' + message.closeIcon"></span>
91
+ <TimesIcon *ngIf="!message.closeIcon" [styleClass]="'p-toast-icon-close-icon'" />
98
92
  </button>
99
93
  </div>
100
94
  </div>
@@ -114,7 +108,7 @@ ToastItem.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15
114
108
  ])
115
109
  ])
116
110
  ], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
117
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToastItem, decorators: [{
111
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: ToastItem, decorators: [{
118
112
  type: Component,
119
113
  args: [{
120
114
  selector: 'p-toastItem',
@@ -130,16 +124,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
130
124
  >
131
125
  <div class="p-toast-message-content" role="alert" aria-live="assertive" aria-atomic="true" [ngClass]="message.contentStyleClass">
132
126
  <ng-container *ngIf="!template">
133
- <span
134
- *ngIf="message.icon"
135
- [class]="'p-toast-message-icon pi ' + message.icon"
136
- ></span>
127
+ <span *ngIf="message.icon" [class]="'p-toast-message-icon pi ' + message.icon"></span>
137
128
  <span class="p-toast-message-icon" *ngIf="!message.icon">
138
129
  <ng-container>
139
- <CheckIcon *ngIf="message.severity === 'success'"/>
140
- <InfoCircleIcon *ngIf="message.severity === 'info'"/>
141
- <TimesCircleIcon *ngIf="message.severity === 'error'"/>
142
- <ExclamationTriangleIcon *ngIf="message.severity === 'warn'"/>
130
+ <CheckIcon *ngIf="message.severity === 'success'" />
131
+ <InfoCircleIcon *ngIf="message.severity === 'info'" />
132
+ <TimesCircleIcon *ngIf="message.severity === 'error'" />
133
+ <ExclamationTriangleIcon *ngIf="message.severity === 'warn'" />
143
134
  </ng-container>
144
135
  </span>
145
136
  <div class="p-toast-message-text">
@@ -149,11 +140,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
149
140
  </ng-container>
150
141
  <ng-container *ngTemplateOutlet="template; context: { $implicit: message }"></ng-container>
151
142
  <button type="button" class="p-toast-icon-close p-link" (click)="onCloseIconClick($event)" (keydown.enter)="onCloseIconClick($event)" *ngIf="message.closable !== false" pRipple>
152
- <span
153
- *ngIf="message.closeIcon"
154
- [class]="'p-toast-message-icon pi ' + message.closeIcon"
155
- ></span>
156
- <TimesIcon *ngIf="!message.closeIcon" [styleClass]="'p-toast-icon-close-icon'"/>
143
+ <span *ngIf="message.closeIcon" [class]="'p-toast-message-icon pi ' + message.closeIcon"></span>
144
+ <TimesIcon *ngIf="!message.closeIcon" [styleClass]="'p-toast-icon-close-icon'" />
157
145
  </button>
158
146
  </div>
159
147
  </div>
@@ -201,12 +189,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
201
189
  args: ['container']
202
190
  }] } });
203
191
  class Toast {
204
- constructor(document, renderer, messageService, cd, config) {
192
+ constructor(document, renderer, messageService, cd, config, licenseManager) {
205
193
  this.document = document;
206
194
  this.renderer = renderer;
207
195
  this.messageService = messageService;
208
196
  this.cd = cd;
209
197
  this.config = config;
198
+ this.licenseManager = licenseManager;
210
199
  this.autoZIndex = true;
211
200
  this.baseZIndex = 0;
212
201
  this.position = 'top-right';
@@ -247,6 +236,7 @@ class Toast {
247
236
  if (this.breakpoints) {
248
237
  this.createStyle();
249
238
  }
239
+ this.licenseManager['check']();
250
240
  }
251
241
  add(messages) {
252
242
  this.messages = this.messages ? [...this.messages, ...messages] : [...messages];
@@ -348,8 +338,8 @@ class Toast {
348
338
  this.destroyStyle();
349
339
  }
350
340
  }
351
- Toast.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: Toast, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }, { token: i3.MessageService }, { token: i0.ChangeDetectorRef }, { token: i3.PrimeNGConfig }], target: i0.ɵɵFactoryTarget.Component });
352
- Toast.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: Toast, selector: "p-toast", inputs: { key: "key", autoZIndex: "autoZIndex", baseZIndex: "baseZIndex", style: "style", styleClass: "styleClass", position: "position", preventOpenDuplicates: "preventOpenDuplicates", preventDuplicates: "preventDuplicates", showTransformOptions: "showTransformOptions", hideTransformOptions: "hideTransformOptions", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", breakpoints: "breakpoints" }, outputs: { onClose: "onClose" }, host: { classAttribute: "p-element" }, queries: [{ propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "containerViewChild", first: true, predicate: ["container"], descendants: true }], ngImport: i0, template: `
341
+ Toast.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: Toast, deps: [{ token: DOCUMENT }, { token: i0.Renderer2 }, { token: i3.MessageService }, { token: i0.ChangeDetectorRef }, { token: i3.PrimeNGConfig }, { token: i3.LicenseManager }], target: i0.ɵɵFactoryTarget.Component });
342
+ Toast.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: Toast, selector: "p-toast", inputs: { key: "key", autoZIndex: "autoZIndex", baseZIndex: "baseZIndex", style: "style", styleClass: "styleClass", position: "position", preventOpenDuplicates: "preventOpenDuplicates", preventDuplicates: "preventDuplicates", showTransformOptions: "showTransformOptions", hideTransformOptions: "hideTransformOptions", showTransitionOptions: "showTransitionOptions", hideTransitionOptions: "hideTransitionOptions", breakpoints: "breakpoints" }, outputs: { onClose: "onClose" }, host: { classAttribute: "p-element" }, queries: [{ propertyName: "templates", predicate: PrimeTemplate }], viewQueries: [{ propertyName: "containerViewChild", first: true, predicate: ["container"], descendants: true }], ngImport: i0, template: `
353
343
  <div #container [ngClass]="'p-toast p-component p-toast-' + position" [ngStyle]="style" [class]="styleClass">
354
344
  <p-toastItem
355
345
  *ngFor="let msg of messages; let i = index"
@@ -367,7 +357,7 @@ Toast.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4
367
357
  ></p-toastItem>
368
358
  </div>
369
359
  `, isInline: true, styles: [".p-toast{position:fixed;width:25rem}.p-toast-message{overflow:hidden}.p-toast-message-content{display:flex;align-items:flex-start}.p-toast-message-text{flex:1 1 auto}.p-toast-top-right{top:20px;right:20px}.p-toast-top-left{top:20px;left:20px}.p-toast-bottom-left{bottom:20px;left:20px}.p-toast-bottom-right{bottom:20px;right:20px}.p-toast-top-center{top:20px;left:50%;transform:translate(-50%)}.p-toast-bottom-center{bottom:20px;left:50%;transform:translate(-50%)}.p-toast-center{left:50%;top:50%;min-width:20vw;transform:translate(-50%,-50%)}.p-toast-icon-close{display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.p-toast-icon-close.p-link{cursor:pointer}\n"], dependencies: [{ 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.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: ToastItem, selector: "p-toastItem", inputs: ["message", "index", "template", "showTransformOptions", "hideTransformOptions", "showTransitionOptions", "hideTransitionOptions"], outputs: ["onClose"] }], animations: [trigger('toastAnimation', [transition(':enter, :leave', [query('@*', animateChild())])])], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
370
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: Toast, decorators: [{
360
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: Toast, decorators: [{
371
361
  type: Component,
372
362
  args: [{ selector: 'p-toast', template: `
373
363
  <div #container [ngClass]="'p-toast p-component p-toast-' + position" [ngStyle]="style" [class]="styleClass">
@@ -393,7 +383,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
393
383
  return [{ type: Document, decorators: [{
394
384
  type: Inject,
395
385
  args: [DOCUMENT]
396
- }] }, { type: i0.Renderer2 }, { type: i3.MessageService }, { type: i0.ChangeDetectorRef }, { type: i3.PrimeNGConfig }];
386
+ }] }, { type: i0.Renderer2 }, { type: i3.MessageService }, { type: i0.ChangeDetectorRef }, { type: i3.PrimeNGConfig }, { type: i3.LicenseManager }];
397
387
  }, propDecorators: { key: [{
398
388
  type: Input
399
389
  }], autoZIndex: [{
@@ -431,10 +421,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
431
421
  }] } });
432
422
  class ToastModule {
433
423
  }
434
- ToastModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
435
- ToastModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: ToastModule, declarations: [Toast, ToastItem], imports: [CommonModule, RippleModule, CheckIcon, InfoCircleIcon, TimesCircleIcon, ExclamationTriangleIcon, TimesIcon], exports: [Toast, SharedModule] });
436
- ToastModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToastModule, imports: [CommonModule, RippleModule, CheckIcon, InfoCircleIcon, TimesCircleIcon, ExclamationTriangleIcon, TimesIcon, SharedModule] });
437
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToastModule, decorators: [{
424
+ ToastModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: ToastModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
425
+ ToastModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.8", ngImport: i0, type: ToastModule, declarations: [Toast, ToastItem], imports: [CommonModule, RippleModule, CheckIcon, InfoCircleIcon, TimesCircleIcon, ExclamationTriangleIcon, TimesIcon], exports: [Toast, SharedModule] });
426
+ ToastModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: ToastModule, imports: [CommonModule, RippleModule, CheckIcon, InfoCircleIcon, TimesCircleIcon, ExclamationTriangleIcon, TimesIcon, SharedModule] });
427
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: ToastModule, decorators: [{
438
428
  type: NgModule,
439
429
  args: [{
440
430
  imports: [CommonModule, RippleModule, CheckIcon, InfoCircleIcon, TimesCircleIcon, ExclamationTriangleIcon, TimesIcon],
@@ -449,4 +439,3 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
449
439
 
450
440
  export { Toast, ToastItem, ToastModule };
451
441
  //# sourceMappingURL=primeng-toast.mjs.map
452
- //# sourceMappingURL=primeng-toast.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"primeng-toast.mjs","sources":["../../src/app/components/toast/toast.ts","../../src/app/components/toast/primeng-toast.ts"],"sourcesContent":["import {\n NgModule,\n Component,\n Input,\n Output,\n OnInit,\n AfterViewInit,\n AfterContentInit,\n OnDestroy,\n ElementRef,\n ViewChild,\n EventEmitter,\n ContentChildren,\n QueryList,\n TemplateRef,\n ChangeDetectionStrategy,\n NgZone,\n ChangeDetectorRef,\n ViewEncapsulation,\n Renderer2,\n Inject\n} from '@angular/core';\nimport { CommonModule, DOCUMENT } from '@angular/common';\nimport { Message, PrimeNGConfig } from 'primeng/api';\nimport { DomHandler } from 'primeng/dom';\nimport { PrimeTemplate, SharedModule } from 'primeng/api';\nimport { MessageService } from 'primeng/api';\nimport { ObjectUtils, UniqueComponentId } from 'primeng/utils';\nimport { RippleModule } from 'primeng/ripple';\nimport { Subscription } from 'rxjs';\nimport { trigger, state, style, transition, animate, query, animateChild, AnimationEvent } from '@angular/animations';\nimport { ZIndexUtils } from 'primeng/utils';\nimport { CheckIcon } from 'primeng/icons/check';\nimport { InfoCircleIcon } from 'primeng/icons/infocircle';\nimport { TimesCircleIcon } from 'primeng/icons/timescircle';\nimport { ExclamationTriangleIcon } from 'primeng/icons/exclamationtriangle';\nimport { TimesIcon } from 'primeng/icons/times';\n\n@Component({\n selector: 'p-toastItem',\n template: `\n <div\n #container\n [attr.id]=\"message.id\"\n [class]=\"message.styleClass\"\n [ngClass]=\"['p-toast-message-' + message.severity, 'p-toast-message']\"\n [@messageState]=\"{ value: 'visible', params: { showTransformParams: showTransformOptions, hideTransformParams: hideTransformOptions, showTransitionParams: showTransitionOptions, hideTransitionParams: hideTransitionOptions } }\"\n (mouseenter)=\"onMouseEnter()\"\n (mouseleave)=\"onMouseLeave()\"\n >\n <div class=\"p-toast-message-content\" role=\"alert\" aria-live=\"assertive\" aria-atomic=\"true\" [ngClass]=\"message.contentStyleClass\">\n <ng-container *ngIf=\"!template\">\n <span\n *ngIf=\"message.icon\"\n [class]=\"'p-toast-message-icon pi ' + message.icon\"\n ></span>\n <span class=\"p-toast-message-icon\" *ngIf=\"!message.icon\">\n <ng-container>\n <CheckIcon *ngIf=\"message.severity === 'success'\"/>\n <InfoCircleIcon *ngIf=\"message.severity === 'info'\"/>\n <TimesCircleIcon *ngIf=\"message.severity === 'error'\"/>\n <ExclamationTriangleIcon *ngIf=\"message.severity === 'warn'\"/>\n </ng-container>\n </span>\n <div class=\"p-toast-message-text\">\n <div class=\"p-toast-summary\">{{ message.summary }}</div>\n <div class=\"p-toast-detail\">{{ message.detail }}</div>\n </div>\n </ng-container>\n <ng-container *ngTemplateOutlet=\"template; context: { $implicit: message }\"></ng-container>\n <button type=\"button\" class=\"p-toast-icon-close p-link\" (click)=\"onCloseIconClick($event)\" (keydown.enter)=\"onCloseIconClick($event)\" *ngIf=\"message.closable !== false\" pRipple>\n <span\n *ngIf=\"message.closeIcon\"\n [class]=\"'p-toast-message-icon pi ' + message.closeIcon\"\n ></span>\n <TimesIcon *ngIf=\"!message.closeIcon\" [styleClass]=\"'p-toast-icon-close-icon'\"/>\n </button>\n </div>\n </div>\n `,\n animations: [\n trigger('messageState', [\n state(\n 'visible',\n style({\n transform: 'translateY(0)',\n opacity: 1\n })\n ),\n transition('void => *', [style({ transform: '{{showTransformParams}}', opacity: 0 }), animate('{{showTransitionParams}}')]),\n transition('* => void', [\n animate(\n '{{hideTransitionParams}}',\n style({\n height: 0,\n opacity: 0,\n transform: '{{hideTransformParams}}'\n })\n )\n ])\n ])\n ],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'p-element'\n }\n})\nexport class ToastItem implements AfterViewInit, OnDestroy {\n @Input() message: Message;\n\n @Input() index: number;\n\n @Input() template: TemplateRef<any>;\n\n @Input() showTransformOptions: string;\n\n @Input() hideTransformOptions: string;\n\n @Input() showTransitionOptions: string;\n\n @Input() hideTransitionOptions: string;\n\n @Output() onClose: EventEmitter<any> = new EventEmitter();\n\n @ViewChild('container') containerViewChild: ElementRef;\n\n timeout: any;\n\n constructor(private zone: NgZone) {}\n\n ngAfterViewInit() {\n this.initTimeout();\n }\n\n initTimeout() {\n if (!this.message.sticky) {\n this.zone.runOutsideAngular(() => {\n this.timeout = setTimeout(() => {\n this.onClose.emit({\n index: this.index,\n message: this.message\n });\n }, this.message.life || 3000);\n });\n }\n }\n\n clearTimeout() {\n if (this.timeout) {\n clearTimeout(this.timeout);\n this.timeout = null;\n }\n }\n\n onMouseEnter() {\n this.clearTimeout();\n }\n\n onMouseLeave() {\n this.initTimeout();\n }\n\n onCloseIconClick(event) {\n this.clearTimeout();\n\n this.onClose.emit({\n index: this.index,\n message: this.message\n });\n\n event.preventDefault();\n }\n\n ngOnDestroy() {\n this.clearTimeout();\n }\n}\n\n@Component({\n selector: 'p-toast',\n template: `\n <div #container [ngClass]=\"'p-toast p-component p-toast-' + position\" [ngStyle]=\"style\" [class]=\"styleClass\">\n <p-toastItem\n *ngFor=\"let msg of messages; let i = index\"\n [message]=\"msg\"\n [index]=\"i\"\n (onClose)=\"onMessageClose($event)\"\n [template]=\"template\"\n @toastAnimation\n (@toastAnimation.start)=\"onAnimationStart($event)\"\n (@toastAnimation.done)=\"onAnimationEnd($event)\"\n [showTransformOptions]=\"showTransformOptions\"\n [hideTransformOptions]=\"hideTransformOptions\"\n [showTransitionOptions]=\"showTransitionOptions\"\n [hideTransitionOptions]=\"hideTransitionOptions\"\n ></p-toastItem>\n </div>\n `,\n animations: [trigger('toastAnimation', [transition(':enter, :leave', [query('@*', animateChild())])])],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n styleUrls: ['./toast.css'],\n host: {\n class: 'p-element'\n }\n})\nexport class Toast implements OnInit, AfterContentInit, OnDestroy {\n @Input() key: string;\n\n @Input() autoZIndex: boolean = true;\n\n @Input() baseZIndex: number = 0;\n\n @Input() style: any;\n\n @Input() styleClass: string;\n\n @Input() position: string = 'top-right';\n\n @Input() preventOpenDuplicates: boolean = false;\n\n @Input() preventDuplicates: boolean = false;\n\n @Input() showTransformOptions: string = 'translateY(100%)';\n\n @Input() hideTransformOptions: string = 'translateY(-100%)';\n\n @Input() showTransitionOptions: string = '300ms ease-out';\n\n @Input() hideTransitionOptions: string = '250ms ease-in';\n\n @Input() breakpoints: any;\n\n @Output() onClose: EventEmitter<any> = new EventEmitter();\n\n @ViewChild('container') containerViewChild: ElementRef;\n\n @ContentChildren(PrimeTemplate) templates: QueryList<any>;\n\n messageSubscription: Subscription;\n\n clearSubscription: Subscription;\n\n messages: Message[];\n\n messagesArchieve: Message[];\n\n template: TemplateRef<any>;\n\n constructor(@Inject(DOCUMENT) private document: Document, private renderer: Renderer2, public messageService: MessageService, private cd: ChangeDetectorRef, public config: PrimeNGConfig) {}\n\n styleElement: any;\n\n id: string = UniqueComponentId();\n\n ngOnInit() {\n this.messageSubscription = this.messageService.messageObserver.subscribe((messages) => {\n if (messages) {\n if (Array.isArray(messages)) {\n const filteredMessages = messages.filter((m) => this.canAdd(m));\n this.add(filteredMessages);\n } else if (this.canAdd(messages)) {\n this.add([messages]);\n }\n }\n });\n\n this.clearSubscription = this.messageService.clearObserver.subscribe((key) => {\n if (key) {\n if (this.key === key) {\n this.messages = null;\n }\n } else {\n this.messages = null;\n }\n\n this.cd.markForCheck();\n });\n }\n\n ngAfterViewInit() {\n if (this.breakpoints) {\n this.createStyle();\n }\n }\n\n add(messages: Message[]): void {\n this.messages = this.messages ? [...this.messages, ...messages] : [...messages];\n\n if (this.preventDuplicates) {\n this.messagesArchieve = this.messagesArchieve ? [...this.messagesArchieve, ...messages] : [...messages];\n }\n\n this.cd.markForCheck();\n }\n\n canAdd(message: Message): boolean {\n let allow = this.key === message.key;\n\n if (allow && this.preventOpenDuplicates) {\n allow = !this.containsMessage(this.messages, message);\n }\n\n if (allow && this.preventDuplicates) {\n allow = !this.containsMessage(this.messagesArchieve, message);\n }\n\n return allow;\n }\n\n containsMessage(collection: Message[], message: Message): boolean {\n if (!collection) {\n return false;\n }\n\n return (\n collection.find((m) => {\n return m.summary === message.summary && m.detail == message.detail && m.severity === message.severity;\n }) != null\n );\n }\n\n ngAfterContentInit() {\n this.templates.forEach((item) => {\n switch (item.getType()) {\n case 'message':\n this.template = item.template;\n break;\n\n default:\n this.template = item.template;\n break;\n }\n });\n }\n\n onMessageClose(event) {\n this.messages.splice(event.index, 1);\n\n this.onClose.emit({\n message: event.message\n });\n\n this.cd.detectChanges();\n }\n\n onAnimationStart(event: AnimationEvent) {\n if (event.fromState === 'void') {\n this.renderer.setAttribute(this.containerViewChild.nativeElement, this.id, '');\n if (this.autoZIndex && this.containerViewChild.nativeElement.style.zIndex === '') {\n ZIndexUtils.set('modal', this.containerViewChild.nativeElement, this.baseZIndex || this.config.zIndex.modal);\n }\n }\n }\n\n onAnimationEnd(event: AnimationEvent) {\n if (event.toState === 'void') {\n if (this.autoZIndex && ObjectUtils.isEmpty(this.messages)) {\n ZIndexUtils.clear(this.containerViewChild.nativeElement);\n }\n }\n }\n\n createStyle() {\n if (!this.styleElement) {\n this.styleElement = this.renderer.createElement('style');\n this.styleElement.type = 'text/css';\n this.renderer.appendChild(this.document.head, this.styleElement);\n let innerHTML = '';\n for (let breakpoint in this.breakpoints) {\n let breakpointStyle = '';\n for (let styleProp in this.breakpoints[breakpoint]) {\n breakpointStyle += styleProp + ':' + this.breakpoints[breakpoint][styleProp] + ' !important;';\n }\n innerHTML += `\n @media screen and (max-width: ${breakpoint}) {\n .p-toast[${this.id}] {\n ${breakpointStyle}\n }\n }\n `;\n }\n\n this.renderer.setProperty(this.styleElement, 'innerHTML', innerHTML);\n }\n }\n\n destroyStyle() {\n if (this.styleElement) {\n this.renderer.removeChild(this.document.head, this.styleElement);\n this.styleElement = null;\n }\n }\n\n ngOnDestroy() {\n if (this.messageSubscription) {\n this.messageSubscription.unsubscribe();\n }\n\n if (this.containerViewChild && this.autoZIndex) {\n ZIndexUtils.clear(this.containerViewChild.nativeElement);\n }\n\n if (this.clearSubscription) {\n this.clearSubscription.unsubscribe();\n }\n\n this.destroyStyle();\n }\n}\n\n@NgModule({\n imports: [CommonModule, RippleModule, CheckIcon, InfoCircleIcon, TimesCircleIcon, ExclamationTriangleIcon, TimesIcon],\n exports: [Toast, SharedModule],\n declarations: [Toast, ToastItem]\n})\nexport class ToastModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;MA4Ga,SAAS,CAAA;AAqBlB,IAAA,WAAA,CAAoB,IAAY,EAAA;AAAZ,QAAA,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAQ;AANtB,QAAA,IAAA,CAAA,OAAO,GAAsB,IAAI,YAAY,EAAE,CAAC;KAMtB;IAEpC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nG,YAAY,CAAA,EAAA,CAAA,CAAA;2FAGpB,WAAW,EAAA,UAAA,EAAA,CAAA;kBALvB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,cAAc,EAAE,eAAe,EAAE,uBAAuB,EAAE,SAAS,CAAC;AACrH,oBAAA,OAAO,EAAE,CAAC,KAAK,EAAE,YAAY,CAAC;AAC9B,oBAAA,YAAY,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC;iBACnC,CAAA;;;AChaD;;AAEG;;;;"}
1
+ {"version":3,"file":"primeng-toast.mjs","sources":["../../src/app/components/toast/toast.ts","../../src/app/components/toast/primeng-toast.ts"],"sourcesContent":["import { AnimationEvent, animate, animateChild, query, state, style, transition, trigger } from '@angular/animations';\nimport { CommonModule, DOCUMENT } from '@angular/common';\nimport {\n AfterContentInit,\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n ElementRef,\n EventEmitter,\n Inject,\n Input,\n NgModule,\n NgZone,\n OnDestroy,\n OnInit,\n Output,\n QueryList,\n Renderer2,\n TemplateRef,\n ViewChild,\n ViewEncapsulation\n} from '@angular/core';\nimport { LicenseManager, Message, MessageService, PrimeNGConfig, PrimeTemplate, SharedModule } from 'primeng/api';\nimport { CheckIcon } from 'primeng/icons/check';\nimport { ExclamationTriangleIcon } from 'primeng/icons/exclamationtriangle';\nimport { InfoCircleIcon } from 'primeng/icons/infocircle';\nimport { TimesIcon } from 'primeng/icons/times';\nimport { TimesCircleIcon } from 'primeng/icons/timescircle';\nimport { RippleModule } from 'primeng/ripple';\nimport { ObjectUtils, UniqueComponentId, ZIndexUtils } from 'primeng/utils';\nimport { Subscription } from 'rxjs';\n\n@Component({\n selector: 'p-toastItem',\n template: `\n <div\n #container\n [attr.id]=\"message.id\"\n [class]=\"message.styleClass\"\n [ngClass]=\"['p-toast-message-' + message.severity, 'p-toast-message']\"\n [@messageState]=\"{ value: 'visible', params: { showTransformParams: showTransformOptions, hideTransformParams: hideTransformOptions, showTransitionParams: showTransitionOptions, hideTransitionParams: hideTransitionOptions } }\"\n (mouseenter)=\"onMouseEnter()\"\n (mouseleave)=\"onMouseLeave()\"\n >\n <div class=\"p-toast-message-content\" role=\"alert\" aria-live=\"assertive\" aria-atomic=\"true\" [ngClass]=\"message.contentStyleClass\">\n <ng-container *ngIf=\"!template\">\n <span *ngIf=\"message.icon\" [class]=\"'p-toast-message-icon pi ' + message.icon\"></span>\n <span class=\"p-toast-message-icon\" *ngIf=\"!message.icon\">\n <ng-container>\n <CheckIcon *ngIf=\"message.severity === 'success'\" />\n <InfoCircleIcon *ngIf=\"message.severity === 'info'\" />\n <TimesCircleIcon *ngIf=\"message.severity === 'error'\" />\n <ExclamationTriangleIcon *ngIf=\"message.severity === 'warn'\" />\n </ng-container>\n </span>\n <div class=\"p-toast-message-text\">\n <div class=\"p-toast-summary\">{{ message.summary }}</div>\n <div class=\"p-toast-detail\">{{ message.detail }}</div>\n </div>\n </ng-container>\n <ng-container *ngTemplateOutlet=\"template; context: { $implicit: message }\"></ng-container>\n <button type=\"button\" class=\"p-toast-icon-close p-link\" (click)=\"onCloseIconClick($event)\" (keydown.enter)=\"onCloseIconClick($event)\" *ngIf=\"message.closable !== false\" pRipple>\n <span *ngIf=\"message.closeIcon\" [class]=\"'p-toast-message-icon pi ' + message.closeIcon\"></span>\n <TimesIcon *ngIf=\"!message.closeIcon\" [styleClass]=\"'p-toast-icon-close-icon'\" />\n </button>\n </div>\n </div>\n `,\n animations: [\n trigger('messageState', [\n state(\n 'visible',\n style({\n transform: 'translateY(0)',\n opacity: 1\n })\n ),\n transition('void => *', [style({ transform: '{{showTransformParams}}', opacity: 0 }), animate('{{showTransitionParams}}')]),\n transition('* => void', [\n animate(\n '{{hideTransitionParams}}',\n style({\n height: 0,\n opacity: 0,\n transform: '{{hideTransformParams}}'\n })\n )\n ])\n ])\n ],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'p-element'\n }\n})\nexport class ToastItem implements AfterViewInit, OnDestroy {\n @Input() message: Message;\n\n @Input() index: number;\n\n @Input() template: TemplateRef<any>;\n\n @Input() showTransformOptions: string;\n\n @Input() hideTransformOptions: string;\n\n @Input() showTransitionOptions: string;\n\n @Input() hideTransitionOptions: string;\n\n @Output() onClose: EventEmitter<any> = new EventEmitter();\n\n @ViewChild('container') containerViewChild: ElementRef;\n\n timeout: any;\n\n constructor(private zone: NgZone) {}\n\n ngAfterViewInit() {\n this.initTimeout();\n }\n\n initTimeout() {\n if (!this.message.sticky) {\n this.zone.runOutsideAngular(() => {\n this.timeout = setTimeout(() => {\n this.onClose.emit({\n index: this.index,\n message: this.message\n });\n }, this.message.life || 3000);\n });\n }\n }\n\n clearTimeout() {\n if (this.timeout) {\n clearTimeout(this.timeout);\n this.timeout = null;\n }\n }\n\n onMouseEnter() {\n this.clearTimeout();\n }\n\n onMouseLeave() {\n this.initTimeout();\n }\n\n onCloseIconClick(event) {\n this.clearTimeout();\n\n this.onClose.emit({\n index: this.index,\n message: this.message\n });\n\n event.preventDefault();\n }\n\n ngOnDestroy() {\n this.clearTimeout();\n }\n}\n\n@Component({\n selector: 'p-toast',\n template: `\n <div #container [ngClass]=\"'p-toast p-component p-toast-' + position\" [ngStyle]=\"style\" [class]=\"styleClass\">\n <p-toastItem\n *ngFor=\"let msg of messages; let i = index\"\n [message]=\"msg\"\n [index]=\"i\"\n (onClose)=\"onMessageClose($event)\"\n [template]=\"template\"\n @toastAnimation\n (@toastAnimation.start)=\"onAnimationStart($event)\"\n (@toastAnimation.done)=\"onAnimationEnd($event)\"\n [showTransformOptions]=\"showTransformOptions\"\n [hideTransformOptions]=\"hideTransformOptions\"\n [showTransitionOptions]=\"showTransitionOptions\"\n [hideTransitionOptions]=\"hideTransitionOptions\"\n ></p-toastItem>\n </div>\n `,\n animations: [trigger('toastAnimation', [transition(':enter, :leave', [query('@*', animateChild())])])],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n styleUrls: ['./toast.css'],\n host: {\n class: 'p-element'\n }\n})\nexport class Toast implements OnInit, AfterContentInit, OnDestroy {\n @Input() key: string;\n\n @Input() autoZIndex: boolean = true;\n\n @Input() baseZIndex: number = 0;\n\n @Input() style: any;\n\n @Input() styleClass: string;\n\n @Input() position: string = 'top-right';\n\n @Input() preventOpenDuplicates: boolean = false;\n\n @Input() preventDuplicates: boolean = false;\n\n @Input() showTransformOptions: string = 'translateY(100%)';\n\n @Input() hideTransformOptions: string = 'translateY(-100%)';\n\n @Input() showTransitionOptions: string = '300ms ease-out';\n\n @Input() hideTransitionOptions: string = '250ms ease-in';\n\n @Input() breakpoints: any;\n\n @Output() onClose: EventEmitter<any> = new EventEmitter();\n\n @ViewChild('container') containerViewChild: ElementRef;\n\n @ContentChildren(PrimeTemplate) templates: QueryList<any>;\n\n messageSubscription: Subscription;\n\n clearSubscription: Subscription;\n\n messages: Message[];\n\n messagesArchieve: Message[];\n\n template: TemplateRef<any>;\n\n constructor(@Inject(DOCUMENT) private document: Document, private renderer: Renderer2, public messageService: MessageService, private cd: ChangeDetectorRef, public config: PrimeNGConfig, private licenseManager: LicenseManager) {}\n\n styleElement: any;\n\n id: string = UniqueComponentId();\n\n ngOnInit() {\n this.messageSubscription = this.messageService.messageObserver.subscribe((messages) => {\n if (messages) {\n if (Array.isArray(messages)) {\n const filteredMessages = messages.filter((m) => this.canAdd(m));\n this.add(filteredMessages);\n } else if (this.canAdd(messages)) {\n this.add([messages]);\n }\n }\n });\n\n this.clearSubscription = this.messageService.clearObserver.subscribe((key) => {\n if (key) {\n if (this.key === key) {\n this.messages = null;\n }\n } else {\n this.messages = null;\n }\n\n this.cd.markForCheck();\n });\n }\n\n ngAfterViewInit() {\n if (this.breakpoints) {\n this.createStyle();\n }\n\n this.licenseManager['check']();\n }\n\n add(messages: Message[]): void {\n this.messages = this.messages ? [...this.messages, ...messages] : [...messages];\n\n if (this.preventDuplicates) {\n this.messagesArchieve = this.messagesArchieve ? [...this.messagesArchieve, ...messages] : [...messages];\n }\n\n this.cd.markForCheck();\n }\n\n canAdd(message: Message): boolean {\n let allow = this.key === message.key;\n\n if (allow && this.preventOpenDuplicates) {\n allow = !this.containsMessage(this.messages, message);\n }\n\n if (allow && this.preventDuplicates) {\n allow = !this.containsMessage(this.messagesArchieve, message);\n }\n\n return allow;\n }\n\n containsMessage(collection: Message[], message: Message): boolean {\n if (!collection) {\n return false;\n }\n\n return (\n collection.find((m) => {\n return m.summary === message.summary && m.detail == message.detail && m.severity === message.severity;\n }) != null\n );\n }\n\n ngAfterContentInit() {\n this.templates.forEach((item) => {\n switch (item.getType()) {\n case 'message':\n this.template = item.template;\n break;\n\n default:\n this.template = item.template;\n break;\n }\n });\n }\n\n onMessageClose(event) {\n this.messages.splice(event.index, 1);\n\n this.onClose.emit({\n message: event.message\n });\n\n this.cd.detectChanges();\n }\n\n onAnimationStart(event: AnimationEvent) {\n if (event.fromState === 'void') {\n this.renderer.setAttribute(this.containerViewChild.nativeElement, this.id, '');\n if (this.autoZIndex && this.containerViewChild.nativeElement.style.zIndex === '') {\n ZIndexUtils.set('modal', this.containerViewChild.nativeElement, this.baseZIndex || this.config.zIndex.modal);\n }\n }\n }\n\n onAnimationEnd(event: AnimationEvent) {\n if (event.toState === 'void') {\n if (this.autoZIndex && ObjectUtils.isEmpty(this.messages)) {\n ZIndexUtils.clear(this.containerViewChild.nativeElement);\n }\n }\n }\n\n createStyle() {\n if (!this.styleElement) {\n this.styleElement = this.renderer.createElement('style');\n this.styleElement.type = 'text/css';\n this.renderer.appendChild(this.document.head, this.styleElement);\n let innerHTML = '';\n for (let breakpoint in this.breakpoints) {\n let breakpointStyle = '';\n for (let styleProp in this.breakpoints[breakpoint]) {\n breakpointStyle += styleProp + ':' + this.breakpoints[breakpoint][styleProp] + ' !important;';\n }\n innerHTML += `\n @media screen and (max-width: ${breakpoint}) {\n .p-toast[${this.id}] {\n ${breakpointStyle}\n }\n }\n `;\n }\n\n this.renderer.setProperty(this.styleElement, 'innerHTML', innerHTML);\n }\n }\n\n destroyStyle() {\n if (this.styleElement) {\n this.renderer.removeChild(this.document.head, this.styleElement);\n this.styleElement = null;\n }\n }\n\n ngOnDestroy() {\n if (this.messageSubscription) {\n this.messageSubscription.unsubscribe();\n }\n\n if (this.containerViewChild && this.autoZIndex) {\n ZIndexUtils.clear(this.containerViewChild.nativeElement);\n }\n\n if (this.clearSubscription) {\n this.clearSubscription.unsubscribe();\n }\n\n this.destroyStyle();\n }\n}\n\n@NgModule({\n imports: [CommonModule, RippleModule, CheckIcon, InfoCircleIcon, TimesCircleIcon, ExclamationTriangleIcon, TimesIcon],\n exports: [Toast, SharedModule],\n declarations: [Toast, ToastItem]\n})\nexport class ToastModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;MAkGa,SAAS,CAAA;AAqBlB,IAAA,WAAA,CAAoB,IAAY,EAAA;AAAZ,QAAA,IAAI,CAAA,IAAA,GAAJ,IAAI,CAAQ;AANtB,QAAA,IAAA,CAAA,OAAO,GAAsB,IAAI,YAAY,EAAE,CAAC;KAMtB;IAEpC,eAAe,GAAA;QACX,IAAI,CAAC,WAAW,EAAE,CAAC;KACtB;IAED,WAAW,GAAA;AACP,QAAA,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE;AACtB,YAAA,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC,MAAK;AAC7B,gBAAA,IAAI,CAAC,OAAO,GAAG,UAAU,CAAC,MAAK;AAC3B,oBAAA,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC;wBACd,KAAK,EAAE,IAAI,CAAC,KAAK;wBACjB,OAAO,EAAE,IAAI,CAAC,OAAO;AACxB,qBAAA,CAAC,CAAC;iBACN,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,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AY,CAAC;AAC9B,oBAAA,YAAY,EAAE,CAAC,KAAK,EAAE,SAAS,CAAC;iBACnC,CAAA;;;ACxZD;;AAEG;;;;"}
@@ -1,10 +1,11 @@
1
- import * as i1 from '@angular/common';
1
+ import * as i2 from '@angular/common';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
4
  import { forwardRef, EventEmitter, Component, ChangeDetectionStrategy, Input, Output, NgModule } from '@angular/core';
5
5
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
6
- import * as i2 from 'primeng/ripple';
6
+ import * as i3 from 'primeng/ripple';
7
7
  import { RippleModule } from 'primeng/ripple';
8
+ import * as i1 from 'primeng/api';
8
9
 
9
10
  const TOGGLEBUTTON_VALUE_ACCESSOR = {
10
11
  provide: NG_VALUE_ACCESSOR,
@@ -12,14 +13,18 @@ const TOGGLEBUTTON_VALUE_ACCESSOR = {
12
13
  multi: true
13
14
  };
14
15
  class ToggleButton {
15
- constructor(cd) {
16
+ constructor(cd, licenseManager) {
16
17
  this.cd = cd;
18
+ this.licenseManager = licenseManager;
17
19
  this.iconPos = 'left';
18
20
  this.onChange = new EventEmitter();
19
21
  this.checked = false;
20
22
  this.onModelChange = () => { };
21
23
  this.onModelTouched = () => { };
22
24
  }
25
+ ngAfterViewInit() {
26
+ this.licenseManager['check']();
27
+ }
23
28
  toggle(event) {
24
29
  if (!this.disabled) {
25
30
  this.checked = !this.checked;
@@ -56,8 +61,8 @@ class ToggleButton {
56
61
  return this.onLabel && this.onLabel.length > 0;
57
62
  }
58
63
  }
59
- ToggleButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToggleButton, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
60
- ToggleButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: ToggleButton, selector: "p-toggleButton", inputs: { onLabel: "onLabel", offLabel: "offLabel", onIcon: "onIcon", offIcon: "offIcon", ariaLabelledBy: "ariaLabelledBy", disabled: "disabled", style: "style", styleClass: "styleClass", inputId: "inputId", tabindex: "tabindex", iconPos: "iconPos" }, outputs: { onChange: "onChange" }, host: { classAttribute: "p-element" }, providers: [TOGGLEBUTTON_VALUE_ACCESSOR], ngImport: i0, template: `
64
+ ToggleButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: ToggleButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.LicenseManager }], target: i0.ɵɵFactoryTarget.Component });
65
+ ToggleButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: ToggleButton, selector: "p-toggleButton", inputs: { onLabel: "onLabel", offLabel: "offLabel", onIcon: "onIcon", offIcon: "offIcon", ariaLabelledBy: "ariaLabelledBy", disabled: "disabled", style: "style", styleClass: "styleClass", inputId: "inputId", tabindex: "tabindex", iconPos: "iconPos" }, outputs: { onChange: "onChange" }, host: { classAttribute: "p-element" }, providers: [TOGGLEBUTTON_VALUE_ACCESSOR], ngImport: i0, template: `
61
66
  <div
62
67
  [ngClass]="{ 'p-button p-togglebutton p-component': true, 'p-button-icon-only': onIcon && offIcon && !hasOnLabel && !hasOffLabel, 'p-highlight': checked, 'p-disabled': disabled }"
63
68
  [ngStyle]="style"
@@ -72,8 +77,8 @@ ToggleButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
72
77
  <span *ngIf="onIcon || offIcon" [class]="checked ? this.onIcon : this.offIcon" [ngClass]="{ 'p-button-icon': true, 'p-button-icon-left': iconPos === 'left', 'p-button-icon-right': iconPos === 'right' }"></span>
73
78
  <span class="p-button-label" *ngIf="onLabel || offLabel">{{ checked ? (hasOnLabel ? onLabel : '') : hasOffLabel ? offLabel : '' }}</span>
74
79
  </div>
75
- `, isInline: true, styles: [".p-button{margin:0;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;vertical-align:bottom;text-align:center;overflow:hidden;position:relative}.p-button-label{flex:1 1 auto}.p-button-icon-right{order:1}.p-button:disabled{cursor:default}.p-button-icon-only{justify-content:center}.p-button-icon-only:after{content:\"p\";visibility:hidden;clip:rect(0 0 0 0);width:0}.p-button-vertical{flex-direction:column}.p-button-icon-bottom{order:2}.p-buttonset .p-button{margin:0}.p-buttonset .p-button:not(:last-child){border-right:0 none}.p-buttonset .p-button:not(:first-of-type):not(:last-of-type){border-radius:0}.p-buttonset .p-button:first-of-type{border-top-right-radius:0;border-bottom-right-radius:0}.p-buttonset .p-button:last-of-type{border-top-left-radius:0;border-bottom-left-radius:0}.p-buttonset .p-button:focus{position:relative;z-index:1}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i2.Ripple, selector: "[pRipple]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
76
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToggleButton, decorators: [{
80
+ `, isInline: true, styles: [".p-button{margin:0;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;vertical-align:bottom;text-align:center;overflow:hidden;position:relative}.p-button-label{flex:1 1 auto}.p-button-icon-right{order:1}.p-button:disabled{cursor:default;pointer-events:none}.p-button-icon-only{justify-content:center}.p-button-icon-only:after{content:\"p\";visibility:hidden;clip:rect(0 0 0 0);width:0}.p-button-vertical{flex-direction:column}.p-button-icon-bottom{order:2}.p-buttonset .p-button{margin:0}.p-buttonset .p-button:not(:last-child){border-right:0 none}.p-buttonset .p-button:not(:first-of-type):not(:last-of-type){border-radius:0}.p-buttonset .p-button:first-of-type{border-top-right-radius:0;border-bottom-right-radius:0}.p-buttonset .p-button:last-of-type{border-top-left-radius:0;border-bottom-left-radius:0}.p-buttonset .p-button:focus{position:relative;z-index:1}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i3.Ripple, selector: "[pRipple]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: ToggleButton, decorators: [{
77
82
  type: Component,
78
83
  args: [{ selector: 'p-toggleButton', template: `
79
84
  <div
@@ -92,8 +97,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
92
97
  </div>
93
98
  `, providers: [TOGGLEBUTTON_VALUE_ACCESSOR], changeDetection: ChangeDetectionStrategy.OnPush, host: {
94
99
  class: 'p-element'
95
- }, styles: [".p-button{margin:0;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;vertical-align:bottom;text-align:center;overflow:hidden;position:relative}.p-button-label{flex:1 1 auto}.p-button-icon-right{order:1}.p-button:disabled{cursor:default}.p-button-icon-only{justify-content:center}.p-button-icon-only:after{content:\"p\";visibility:hidden;clip:rect(0 0 0 0);width:0}.p-button-vertical{flex-direction:column}.p-button-icon-bottom{order:2}.p-buttonset .p-button{margin:0}.p-buttonset .p-button:not(:last-child){border-right:0 none}.p-buttonset .p-button:not(:first-of-type):not(:last-of-type){border-radius:0}.p-buttonset .p-button:first-of-type{border-top-right-radius:0;border-bottom-right-radius:0}.p-buttonset .p-button:last-of-type{border-top-left-radius:0;border-bottom-left-radius:0}.p-buttonset .p-button:focus{position:relative;z-index:1}\n"] }]
96
- }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { onLabel: [{
100
+ }, styles: [".p-button{margin:0;display:inline-flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;vertical-align:bottom;text-align:center;overflow:hidden;position:relative}.p-button-label{flex:1 1 auto}.p-button-icon-right{order:1}.p-button:disabled{cursor:default;pointer-events:none}.p-button-icon-only{justify-content:center}.p-button-icon-only:after{content:\"p\";visibility:hidden;clip:rect(0 0 0 0);width:0}.p-button-vertical{flex-direction:column}.p-button-icon-bottom{order:2}.p-buttonset .p-button{margin:0}.p-buttonset .p-button:not(:last-child){border-right:0 none}.p-buttonset .p-button:not(:first-of-type):not(:last-of-type){border-radius:0}.p-buttonset .p-button:first-of-type{border-top-right-radius:0;border-bottom-right-radius:0}.p-buttonset .p-button:last-of-type{border-top-left-radius:0;border-bottom-left-radius:0}.p-buttonset .p-button:focus{position:relative;z-index:1}\n"] }]
101
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.LicenseManager }]; }, propDecorators: { onLabel: [{
97
102
  type: Input
98
103
  }], offLabel: [{
99
104
  type: Input
@@ -120,10 +125,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
120
125
  }] } });
121
126
  class ToggleButtonModule {
122
127
  }
123
- ToggleButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToggleButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
124
- ToggleButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: ToggleButtonModule, declarations: [ToggleButton], imports: [CommonModule, RippleModule], exports: [ToggleButton] });
125
- ToggleButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToggleButtonModule, imports: [CommonModule, RippleModule] });
126
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToggleButtonModule, decorators: [{
128
+ ToggleButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: ToggleButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
129
+ ToggleButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.8", ngImport: i0, type: ToggleButtonModule, declarations: [ToggleButton], imports: [CommonModule, RippleModule], exports: [ToggleButton] });
130
+ ToggleButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: ToggleButtonModule, imports: [CommonModule, RippleModule] });
131
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: ToggleButtonModule, decorators: [{
127
132
  type: NgModule,
128
133
  args: [{
129
134
  imports: [CommonModule, RippleModule],
@@ -138,4 +143,3 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
138
143
 
139
144
  export { TOGGLEBUTTON_VALUE_ACCESSOR, ToggleButton, ToggleButtonModule };
140
145
  //# sourceMappingURL=primeng-togglebutton.mjs.map
141
- //# sourceMappingURL=primeng-togglebutton.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"primeng-togglebutton.mjs","sources":["../../src/app/components/togglebutton/togglebutton.ts","../../src/app/components/togglebutton/primeng-togglebutton.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, forwardRef, Input, NgModule, Output } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { RippleModule } from 'primeng/ripple';\n\ntype ToggleButtonIconPosition = 'left' | 'right';\n\nexport const TOGGLEBUTTON_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ToggleButton),\n multi: true\n};\n\n@Component({\n selector: 'p-toggleButton',\n template: `\n <div\n [ngClass]=\"{ 'p-button p-togglebutton p-component': true, 'p-button-icon-only': onIcon && offIcon && !hasOnLabel && !hasOffLabel, 'p-highlight': checked, 'p-disabled': disabled }\"\n [ngStyle]=\"style\"\n [class]=\"styleClass\"\n (click)=\"toggle($event)\"\n (keydown.enter)=\"toggle($event)\"\n [attr.tabindex]=\"disabled ? null : '0'\"\n role=\"checkbox\"\n [attr.aria-checked]=\"checked\"\n pRipple\n >\n <span *ngIf=\"onIcon || offIcon\" [class]=\"checked ? this.onIcon : this.offIcon\" [ngClass]=\"{ 'p-button-icon': true, 'p-button-icon-left': iconPos === 'left', 'p-button-icon-right': iconPos === 'right' }\"></span>\n <span class=\"p-button-label\" *ngIf=\"onLabel || offLabel\">{{ checked ? (hasOnLabel ? onLabel : '') : hasOffLabel ? offLabel : '' }}</span>\n </div>\n `,\n providers: [TOGGLEBUTTON_VALUE_ACCESSOR],\n changeDetection: ChangeDetectionStrategy.OnPush,\n styleUrls: ['../button/button.css'],\n host: {\n class: 'p-element'\n }\n})\nexport class ToggleButton implements ControlValueAccessor {\n @Input() onLabel: string;\n\n @Input() offLabel: string;\n\n @Input() onIcon: string;\n\n @Input() offIcon: string;\n\n @Input() ariaLabelledBy: string;\n\n @Input() disabled: boolean;\n\n @Input() style: any;\n\n @Input() styleClass: string;\n\n @Input() inputId: string;\n\n @Input() tabindex: number;\n\n @Input() iconPos: string = 'left';\n\n @Output() onChange: EventEmitter<any> = new EventEmitter();\n\n checked: boolean = false;\n\n onModelChange: Function = () => {};\n\n onModelTouched: Function = () => {};\n\n constructor(public cd: ChangeDetectorRef) {}\n\n toggle(event: Event) {\n if (!this.disabled) {\n this.checked = !this.checked;\n this.onModelChange(this.checked);\n this.onModelTouched();\n this.onChange.emit({\n originalEvent: event,\n checked: this.checked\n });\n\n this.cd.markForCheck();\n }\n }\n\n onBlur() {\n this.onModelTouched();\n }\n\n writeValue(value: any): void {\n this.checked = value;\n this.cd.markForCheck();\n }\n\n registerOnChange(fn: Function): void {\n this.onModelChange = fn;\n }\n\n registerOnTouched(fn: Function): void {\n this.onModelTouched = fn;\n }\n\n setDisabledState(val: boolean): void {\n this.disabled = val;\n this.cd.markForCheck();\n }\n\n get hasOnLabel(): boolean {\n return this.onLabel && this.onLabel.length > 0;\n }\n\n get hasOffLabel(): boolean {\n return this.onLabel && this.onLabel.length > 0;\n }\n}\n\n@NgModule({\n imports: [CommonModule, RippleModule],\n exports: [ToggleButton],\n declarations: [ToggleButton]\n})\nexport class ToggleButtonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;AAOa,MAAA,2BAA2B,GAAQ;AAC5C,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,WAAW,EAAE,UAAU,CAAC,MAAM,YAAY,CAAC;AAC3C,IAAA,KAAK,EAAE,IAAI;EACb;MA2BW,YAAY,CAAA;AA+BrB,IAAA,WAAA,CAAmB,EAAqB,EAAA;AAArB,QAAA,IAAE,CAAA,EAAA,GAAF,EAAE,CAAmB;AAV/B,QAAA,IAAO,CAAA,OAAA,GAAW,MAAM,CAAC;AAExB,QAAA,IAAA,CAAA,QAAQ,GAAsB,IAAI,YAAY,EAAE,CAAC;AAE3D,QAAA,IAAO,CAAA,OAAA,GAAY,KAAK,CAAC;AAEzB,QAAA,IAAA,CAAA,aAAa,GAAa,MAAK,GAAG,CAAC;AAEnC,QAAA,IAAA,CAAA,cAAc,GAAa,MAAK,GAAG,CAAC;KAEQ;AAE5C,IAAA,MAAM,CAAC,KAAY,EAAA;AACf,QAAA,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;AAChB,YAAA,IAAI,CAAC,OAAO,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC;AAC7B,YAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YACjC,IAAI,CAAC,cAAc,EAAE,CAAC;AACtB,YAAA,IAAI,CAAC,QAAQ,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AAY,EAAE,YAAY,CAAA,EAAA,CAAA,CAAA;2FAI3B,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAL9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,YAAY,CAAC;oBACrC,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,YAAY,CAAC;iBAC/B,CAAA;;;ACxHD;;AAEG;;;;"}
1
+ {"version":3,"file":"primeng-togglebutton.mjs","sources":["../../src/app/components/togglebutton/togglebutton.ts","../../src/app/components/togglebutton/primeng-togglebutton.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, forwardRef, Input, NgModule, Output } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { LicenseManager } from 'primeng/api';\nimport { RippleModule } from 'primeng/ripple';\n\ntype ToggleButtonIconPosition = 'left' | 'right';\n\nexport const TOGGLEBUTTON_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ToggleButton),\n multi: true\n};\n\n@Component({\n selector: 'p-toggleButton',\n template: `\n <div\n [ngClass]=\"{ 'p-button p-togglebutton p-component': true, 'p-button-icon-only': onIcon && offIcon && !hasOnLabel && !hasOffLabel, 'p-highlight': checked, 'p-disabled': disabled }\"\n [ngStyle]=\"style\"\n [class]=\"styleClass\"\n (click)=\"toggle($event)\"\n (keydown.enter)=\"toggle($event)\"\n [attr.tabindex]=\"disabled ? null : '0'\"\n role=\"checkbox\"\n [attr.aria-checked]=\"checked\"\n pRipple\n >\n <span *ngIf=\"onIcon || offIcon\" [class]=\"checked ? this.onIcon : this.offIcon\" [ngClass]=\"{ 'p-button-icon': true, 'p-button-icon-left': iconPos === 'left', 'p-button-icon-right': iconPos === 'right' }\"></span>\n <span class=\"p-button-label\" *ngIf=\"onLabel || offLabel\">{{ checked ? (hasOnLabel ? onLabel : '') : hasOffLabel ? offLabel : '' }}</span>\n </div>\n `,\n providers: [TOGGLEBUTTON_VALUE_ACCESSOR],\n changeDetection: ChangeDetectionStrategy.OnPush,\n styleUrls: ['../button/button.css'],\n host: {\n class: 'p-element'\n }\n})\nexport class ToggleButton implements ControlValueAccessor, AfterViewInit {\n @Input() onLabel: string;\n\n @Input() offLabel: string;\n\n @Input() onIcon: string;\n\n @Input() offIcon: string;\n\n @Input() ariaLabelledBy: string;\n\n @Input() disabled: boolean;\n\n @Input() style: any;\n\n @Input() styleClass: string;\n\n @Input() inputId: string;\n\n @Input() tabindex: number;\n\n @Input() iconPos: string = 'left';\n\n @Output() onChange: EventEmitter<any> = new EventEmitter();\n\n checked: boolean = false;\n\n onModelChange: Function = () => {};\n\n onModelTouched: Function = () => {};\n\n constructor(public cd: ChangeDetectorRef, private licenseManager: LicenseManager) {}\n\n ngAfterViewInit() {\n this.licenseManager['check']();\n }\n\n toggle(event: Event) {\n if (!this.disabled) {\n this.checked = !this.checked;\n this.onModelChange(this.checked);\n this.onModelTouched();\n this.onChange.emit({\n originalEvent: event,\n checked: this.checked\n });\n\n this.cd.markForCheck();\n }\n }\n\n onBlur() {\n this.onModelTouched();\n }\n\n writeValue(value: any): void {\n this.checked = value;\n this.cd.markForCheck();\n }\n\n registerOnChange(fn: Function): void {\n this.onModelChange = fn;\n }\n\n registerOnTouched(fn: Function): void {\n this.onModelTouched = fn;\n }\n\n setDisabledState(val: boolean): void {\n this.disabled = val;\n this.cd.markForCheck();\n }\n\n get hasOnLabel(): boolean {\n return this.onLabel && this.onLabel.length > 0;\n }\n\n get hasOffLabel(): boolean {\n return this.onLabel && this.onLabel.length > 0;\n }\n}\n\n@NgModule({\n imports: [CommonModule, RippleModule],\n exports: [ToggleButton],\n declarations: [ToggleButton]\n})\nexport class ToggleButtonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;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,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,YAAY,CAAC;iBAC/B,CAAA;;;AC7HD;;AAEG;;;;"}
@@ -1,12 +1,14 @@
1
- import * as i1 from '@angular/common';
1
+ import * as i2 from '@angular/common';
2
2
  import { CommonModule } from '@angular/common';
3
3
  import * as i0 from '@angular/core';
4
4
  import { Component, ChangeDetectionStrategy, ViewEncapsulation, Input, ContentChildren, NgModule } from '@angular/core';
5
+ import * as i1 from 'primeng/api';
5
6
  import { PrimeTemplate } from 'primeng/api';
6
7
 
7
8
  class Toolbar {
8
- constructor(el) {
9
+ constructor(el, licenseManager) {
9
10
  this.el = el;
11
+ this.licenseManager = licenseManager;
10
12
  }
11
13
  getBlockableElement() {
12
14
  return this.el.nativeElement.children[0];
@@ -26,9 +28,12 @@ class Toolbar {
26
28
  }
27
29
  });
28
30
  }
31
+ ngAfterViewInit() {
32
+ this.licenseManager['check']();
33
+ }
29
34
  }
30
- Toolbar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: Toolbar, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
31
- Toolbar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: Toolbar, selector: "p-toolbar", inputs: { style: "style", styleClass: "styleClass" }, host: { classAttribute: "p-element" }, queries: [{ propertyName: "templates", predicate: PrimeTemplate }], ngImport: i0, template: `
35
+ Toolbar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: Toolbar, deps: [{ token: i0.ElementRef }, { token: i1.LicenseManager }], target: i0.ɵɵFactoryTarget.Component });
36
+ Toolbar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: Toolbar, selector: "p-toolbar", inputs: { style: "style", styleClass: "styleClass" }, host: { classAttribute: "p-element" }, queries: [{ propertyName: "templates", predicate: PrimeTemplate }], ngImport: i0, template: `
32
37
  <div [ngClass]="'p-toolbar p-component'" [ngStyle]="style" [class]="styleClass" role="toolbar">
33
38
  <ng-content></ng-content>
34
39
  <div class="p-toolbar-group-left p-toolbar-group-start" *ngIf="startTemplate">
@@ -41,8 +46,8 @@ Toolbar.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2
41
46
  <ng-container *ngTemplateOutlet="endTemplate"></ng-container>
42
47
  </div>
43
48
  </div>
44
- `, isInline: true, styles: [".p-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap}.p-toolbar-group-start,.p-toolbar-group-center,.p-toolbar-group-end,.p-toolbar-group-left,.p-toolbar-group-right{display:flex;align-items:center}\n"], dependencies: [{ 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"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
45
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: Toolbar, decorators: [{
49
+ `, isInline: true, styles: [".p-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap}.p-toolbar-group-start,.p-toolbar-group-center,.p-toolbar-group-end,.p-toolbar-group-left,.p-toolbar-group-right{display:flex;align-items:center}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
50
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: Toolbar, decorators: [{
46
51
  type: Component,
47
52
  args: [{ selector: 'p-toolbar', template: `
48
53
  <div [ngClass]="'p-toolbar p-component'" [ngStyle]="style" [class]="styleClass" role="toolbar">
@@ -60,7 +65,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
60
65
  `, changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: {
61
66
  class: 'p-element'
62
67
  }, styles: [".p-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap}.p-toolbar-group-start,.p-toolbar-group-center,.p-toolbar-group-end,.p-toolbar-group-left,.p-toolbar-group-right{display:flex;align-items:center}\n"] }]
63
- }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { style: [{
68
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.LicenseManager }]; }, propDecorators: { style: [{
64
69
  type: Input
65
70
  }], styleClass: [{
66
71
  type: Input
@@ -70,10 +75,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
70
75
  }] } });
71
76
  class ToolbarModule {
72
77
  }
73
- ToolbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToolbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
74
- ToolbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: ToolbarModule, declarations: [Toolbar], imports: [CommonModule], exports: [Toolbar] });
75
- ToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToolbarModule, imports: [CommonModule] });
76
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: ToolbarModule, decorators: [{
78
+ ToolbarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: ToolbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
79
+ ToolbarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.8", ngImport: i0, type: ToolbarModule, declarations: [Toolbar], imports: [CommonModule], exports: [Toolbar] });
80
+ ToolbarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: ToolbarModule, imports: [CommonModule] });
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: ToolbarModule, decorators: [{
77
82
  type: NgModule,
78
83
  args: [{
79
84
  imports: [CommonModule],
@@ -88,4 +93,3 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImpor
88
93
 
89
94
  export { Toolbar, ToolbarModule };
90
95
  //# sourceMappingURL=primeng-toolbar.mjs.map
91
- //# sourceMappingURL=primeng-toolbar.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"primeng-toolbar.mjs","sources":["../../src/app/components/toolbar/toolbar.ts","../../src/app/components/toolbar/primeng-toolbar.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { AfterContentInit, ChangeDetectionStrategy, Component, ContentChildren, ElementRef, Input, NgModule, QueryList, TemplateRef, ViewEncapsulation } from '@angular/core';\nimport { BlockableUI, PrimeTemplate } from 'primeng/api';\n\n@Component({\n selector: 'p-toolbar',\n template: `\n <div [ngClass]=\"'p-toolbar p-component'\" [ngStyle]=\"style\" [class]=\"styleClass\" role=\"toolbar\">\n <ng-content></ng-content>\n <div class=\"p-toolbar-group-left p-toolbar-group-start\" *ngIf=\"startTemplate\">\n <ng-container *ngTemplateOutlet=\"startTemplate\"></ng-container>\n </div>\n <div class=\"p-toolbar-group-center\" *ngIf=\"centerTemplate\">\n <ng-container *ngTemplateOutlet=\"centerTemplate\"></ng-container>\n </div>\n <div class=\"p-toolbar-group-right p-toolbar-group-end\" *ngIf=\"endTemplate\">\n <ng-container *ngTemplateOutlet=\"endTemplate\"></ng-container>\n </div>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n styleUrls: ['./toolbar.css'],\n host: {\n class: 'p-element'\n }\n})\nexport class Toolbar implements AfterContentInit, BlockableUI {\n @Input() style: any;\n\n @Input() styleClass: string;\n\n @ContentChildren(PrimeTemplate) templates: QueryList<any>;\n\n startTemplate: TemplateRef<any>;\n\n endTemplate: TemplateRef<any>;\n\n centerTemplate: TemplateRef<any>;\n\n constructor(private el: ElementRef) {}\n\n getBlockableElement(): HTMLElement {\n return this.el.nativeElement.children[0];\n }\n\n ngAfterContentInit() {\n this.templates.forEach((item) => {\n switch (item.getType()) {\n case 'left':\n this.startTemplate = item.template;\n break;\n\n case 'right':\n this.endTemplate = item.template;\n break;\n\n case 'center':\n this.centerTemplate = item.template;\n break;\n }\n });\n }\n}\n\n@NgModule({\n imports: [CommonModule],\n exports: [Toolbar],\n declarations: [Toolbar]\n})\nexport class ToolbarModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;MA2Ba,OAAO,CAAA;AAahB,IAAA,WAAA,CAAoB,EAAc,EAAA;AAAd,QAAA,IAAE,CAAA,EAAA,GAAF,EAAE,CAAY;KAAI;IAEtC,mBAAmB,GAAA;QACf,OAAO,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;KAC5C;IAED,kBAAkB,GAAA;QACd,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CA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uCN,EAAA,OAAA,EAAA,CAAA,YAAY,aAvCb,OAAO,CAAA,EAAA,CAAA,CAAA;AA2CP,aAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,YAJZ,YAAY,CAAA,EAAA,CAAA,CAAA;2FAIb,aAAa,EAAA,UAAA,EAAA,CAAA;kBALzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,OAAO,CAAC;oBAClB,YAAY,EAAE,CAAC,OAAO,CAAC;iBAC1B,CAAA;;;ACrED;;AAEG;;;;"}
1
+ {"version":3,"file":"primeng-toolbar.mjs","sources":["../../src/app/components/toolbar/toolbar.ts","../../src/app/components/toolbar/primeng-toolbar.ts"],"sourcesContent":["import { CommonModule } from '@angular/common';\nimport { AfterContentInit, AfterViewInit, ChangeDetectionStrategy, Component, ContentChildren, ElementRef, Input, NgModule, QueryList, TemplateRef, ViewEncapsulation } from '@angular/core';\nimport { BlockableUI, LicenseManager, PrimeTemplate } from 'primeng/api';\n\n@Component({\n selector: 'p-toolbar',\n template: `\n <div [ngClass]=\"'p-toolbar p-component'\" [ngStyle]=\"style\" [class]=\"styleClass\" role=\"toolbar\">\n <ng-content></ng-content>\n <div class=\"p-toolbar-group-left p-toolbar-group-start\" *ngIf=\"startTemplate\">\n <ng-container *ngTemplateOutlet=\"startTemplate\"></ng-container>\n </div>\n <div class=\"p-toolbar-group-center\" *ngIf=\"centerTemplate\">\n <ng-container *ngTemplateOutlet=\"centerTemplate\"></ng-container>\n </div>\n <div class=\"p-toolbar-group-right p-toolbar-group-end\" *ngIf=\"endTemplate\">\n <ng-container *ngTemplateOutlet=\"endTemplate\"></ng-container>\n </div>\n </div>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n styleUrls: ['./toolbar.css'],\n host: {\n class: 'p-element'\n }\n})\nexport class Toolbar implements AfterContentInit, BlockableUI, AfterViewInit {\n @Input() style: any;\n\n @Input() styleClass: string;\n\n @ContentChildren(PrimeTemplate) templates: QueryList<any>;\n\n startTemplate: TemplateRef<any>;\n\n endTemplate: TemplateRef<any>;\n\n centerTemplate: TemplateRef<any>;\n\n constructor(private el: ElementRef, private licenseManager: LicenseManager) {}\n\n getBlockableElement(): HTMLElement {\n return this.el.nativeElement.children[0];\n }\n\n ngAfterContentInit() {\n this.templates.forEach((item) => {\n switch (item.getType()) {\n case 'left':\n this.startTemplate = item.template;\n break;\n\n case 'right':\n this.endTemplate = item.template;\n break;\n\n case 'center':\n this.centerTemplate = item.template;\n break;\n }\n });\n }\n\n ngAfterViewInit() {\n this.licenseManager['check']();\n }\n}\n\n@NgModule({\n imports: [CommonModule],\n exports: [Toolbar],\n declarations: [Toolbar]\n})\nexport class ToolbarModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;MA2Ba,OAAO,CAAA;IAahB,WAAoB,CAAA,EAAc,EAAU,cAA8B,EAAA;AAAtD,QAAA,IAAE,CAAA,EAAA,GAAF,EAAE,CAAY;AAAU,QAAA,IAAc,CAAA,cAAA,GAAd,cAAc,CAAgB;KAAI;IAE9E,mBAAmB,GAAA;QACf,OAAO,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;KAC5C;IAED,kBAAkB,GAAA;QACd,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,IAAI,KAAI;AAC5B,YAAA,QAAQ,IAAI,CAAC,OAAO,EAAE;AAClB,gBAAA,KAAK,MAAM;AACP,oBAAA,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,QAAQ,CAAC;oBACnC,MAAM;AAEV,gBAAA,KAAK,OAAO;AACR,oBAAA,IAAI,CAAC,W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