primevue 2.4.2 → 2.7.0

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 (646) hide show
  1. package/accordion/Accordion.vue +8 -1
  2. package/accordion/accordion.common.js +9 -3
  3. package/accordion/accordion.umd.js +9 -3
  4. package/accordion/accordion.umd.min.js +1 -1
  5. package/accordiontab/AccordionTab.vue +2 -2
  6. package/accordiontab/accordiontab.common.js +9 -4
  7. package/accordiontab/accordiontab.umd.js +9 -4
  8. package/accordiontab/accordiontab.umd.min.js +1 -1
  9. package/autocomplete/AutoComplete.d.ts +1 -0
  10. package/autocomplete/AutoComplete.vue +8 -0
  11. package/autocomplete/autocomplete.common.js +21 -3
  12. package/autocomplete/autocomplete.umd.js +21 -3
  13. package/autocomplete/autocomplete.umd.min.js +1 -1
  14. package/avatar/avatar.common.js +1 -1
  15. package/avatar/avatar.umd.js +1 -1
  16. package/avatargroup/avatargroup.common.js +1 -1
  17. package/avatargroup/avatargroup.umd.js +1 -1
  18. package/badge/badge.common.js +1 -1
  19. package/badge/badge.umd.js +1 -1
  20. package/badgedirective/badgedirective.common.js +5 -0
  21. package/badgedirective/badgedirective.umd.js +5 -0
  22. package/badgedirective/badgedirective.umd.min.js +1 -1
  23. package/blockui/BlockUI.vue +6 -16
  24. package/blockui/blockui.common.js +16 -16
  25. package/blockui/blockui.umd.js +16 -16
  26. package/blockui/blockui.umd.min.js +1 -1
  27. package/breadcrumb/Breadcrumb.d.ts +1 -0
  28. package/breadcrumb/Breadcrumb.vue +11 -3
  29. package/breadcrumb/BreadcrumbItem.vue +30 -11
  30. package/breadcrumb/breadcrumb.common.js +45 -17
  31. package/breadcrumb/breadcrumb.umd.js +45 -17
  32. package/breadcrumb/breadcrumb.umd.min.js +1 -1
  33. package/breadcrumb/breadcrumbitem.common.js +34 -10
  34. package/breadcrumb/breadcrumbitem.umd.js +34 -10
  35. package/breadcrumb/breadcrumbitem.umd.min.js +1 -1
  36. package/button/button.common.js +6 -1
  37. package/button/button.umd.js +6 -1
  38. package/button/button.umd.min.js +1 -1
  39. package/calendar/Calendar.d.ts +5 -0
  40. package/calendar/Calendar.vue +321 -69
  41. package/calendar/calendar.common.js +340 -42
  42. package/calendar/calendar.umd.js +340 -42
  43. package/calendar/calendar.umd.min.js +1 -1
  44. package/card/card.common.js +1 -1
  45. package/card/card.umd.js +1 -1
  46. package/carousel/Carousel.vue +2 -2
  47. package/carousel/carousel.common.js +8 -3
  48. package/carousel/carousel.umd.js +8 -3
  49. package/carousel/carousel.umd.min.js +1 -1
  50. package/cascadeselect/CascadeSelect.d.ts +6 -4
  51. package/cascadeselect/CascadeSelect.vue +3 -1
  52. package/cascadeselect/cascadeselect.common.js +15 -4
  53. package/cascadeselect/cascadeselect.umd.js +15 -4
  54. package/cascadeselect/cascadeselect.umd.min.js +1 -1
  55. package/cascadeselect/cascadeselectsub.common.js +10 -1
  56. package/cascadeselect/cascadeselectsub.umd.js +10 -1
  57. package/cascadeselect/cascadeselectsub.umd.min.js +1 -1
  58. package/cascadeselect/demo.html +3 -4
  59. package/chart/Chart.vue +22 -13
  60. package/chart/chart.common.1.js +12825 -0
  61. package/chart/chart.common.js +1040 -37026
  62. package/chart/chart.umd.1.js +12825 -0
  63. package/chart/chart.umd.js +1040 -37026
  64. package/chart/chart.umd.min.1.js +7 -0
  65. package/chart/chart.umd.min.js +1 -278
  66. package/checkbox/Checkbox.css +1 -0
  67. package/checkbox/Checkbox.d.ts +2 -0
  68. package/checkbox/Checkbox.vue +11 -3
  69. package/checkbox/checkbox.common.js +17 -5
  70. package/checkbox/checkbox.umd.js +17 -5
  71. package/checkbox/checkbox.umd.min.js +1 -1
  72. package/chip/chip.common.js +1 -1
  73. package/chip/chip.umd.js +1 -1
  74. package/chips/chips.common.js +1 -1
  75. package/chips/chips.umd.js +1 -1
  76. package/colorpicker/colorpicker.common.js +6 -1
  77. package/colorpicker/colorpicker.umd.js +6 -1
  78. package/colorpicker/colorpicker.umd.min.js +1 -1
  79. package/columngroup/columngroup.common.js +1 -1
  80. package/columngroup/columngroup.umd.js +1 -1
  81. package/common/Common.css +13 -4
  82. package/config/primevue.common.js +4 -0
  83. package/config/primevue.umd.js +4 -0
  84. package/config/primevue.umd.min.js +1 -1
  85. package/{confirmationservice → confirmationeventbus}/ConfirmationEventBus.js +3 -3
  86. package/confirmationeventbus/confirmationeventbus.common.js +1777 -0
  87. package/confirmationeventbus/confirmationeventbus.umd.js +1787 -0
  88. package/confirmationeventbus/confirmationeventbus.umd.min.js +1 -0
  89. package/confirmationeventbus/demo.html +8 -0
  90. package/confirmationeventbus/index.d.ts +1 -0
  91. package/confirmationeventbus/index.js +2 -0
  92. package/confirmationservice/ConfirmationService.js +1 -1
  93. package/confirmationservice/confirmationservice.common.js +1609 -6
  94. package/confirmationservice/confirmationservice.umd.js +1609 -6
  95. package/confirmationservice/confirmationservice.umd.min.js +1 -1
  96. package/confirmdialog/ConfirmDialog.vue +9 -3
  97. package/confirmdialog/confirmdialog.common.js +437 -38
  98. package/confirmdialog/confirmdialog.umd.js +437 -38
  99. package/confirmdialog/confirmdialog.umd.min.js +1 -1
  100. package/confirmpopup/ConfirmPopup.d.ts +4 -1
  101. package/confirmpopup/ConfirmPopup.vue +9 -6
  102. package/confirmpopup/confirmpopup.common.js +513 -13
  103. package/confirmpopup/confirmpopup.umd.js +513 -13
  104. package/confirmpopup/confirmpopup.umd.min.js +1 -1
  105. package/contextmenu/ContextMenu.d.ts +1 -0
  106. package/contextmenu/ContextMenu.vue +5 -1
  107. package/contextmenu/ContextMenuSub.vue +33 -13
  108. package/contextmenu/contextmenu.common.js +46 -14
  109. package/contextmenu/contextmenu.umd.js +46 -14
  110. package/contextmenu/contextmenu.umd.min.js +1 -1
  111. package/contextmenu/contextmenusub.common.js +36 -8
  112. package/contextmenu/contextmenusub.umd.js +36 -8
  113. package/contextmenu/contextmenusub.umd.min.js +1 -1
  114. package/contextmenu/demo.html +4 -3
  115. package/datatable/BodyCell.vue +9 -5
  116. package/datatable/DataTable.d.ts +10 -9
  117. package/datatable/DataTable.vue +27 -19
  118. package/datatable/TableBody.vue +18 -5
  119. package/datatable/bodycell.common.js +21 -9
  120. package/datatable/bodycell.umd.js +21 -9
  121. package/datatable/bodycell.umd.min.js +1 -1
  122. package/datatable/datatable.common.js +1993 -89
  123. package/datatable/datatable.umd.js +1993 -89
  124. package/datatable/datatable.umd.min.js +1 -1
  125. package/datatable/headercheckbox.common.js +1 -1
  126. package/datatable/headercheckbox.umd.js +1 -1
  127. package/datatable/rowcheckbox.common.js +1 -1
  128. package/datatable/rowcheckbox.umd.js +1 -1
  129. package/datatable/rowradiobutton.common.js +1 -1
  130. package/datatable/rowradiobutton.umd.js +1 -1
  131. package/datatable/scrollableview.common.js +7 -2
  132. package/datatable/scrollableview.umd.js +7 -2
  133. package/datatable/scrollableview.umd.min.js +1 -1
  134. package/datatable/tablebody.common.js +44 -15
  135. package/datatable/tablebody.umd.js +44 -15
  136. package/datatable/tablebody.umd.min.js +1 -1
  137. package/datatable/tablefooter.common.js +1 -1
  138. package/datatable/tablefooter.umd.js +1 -1
  139. package/datatable/tableheader.common.js +7 -2
  140. package/datatable/tableheader.umd.js +7 -2
  141. package/datatable/tableheader.umd.min.js +1 -1
  142. package/datatable/tableloadingbody.common.js +1 -1
  143. package/datatable/tableloadingbody.umd.js +1 -1
  144. package/dataview/DataView.d.ts +2 -2
  145. package/dataview/DataView.vue +10 -10
  146. package/dataview/dataview.common.js +1937 -65
  147. package/dataview/dataview.umd.js +1937 -65
  148. package/dataview/dataview.umd.min.js +1 -1
  149. package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +1 -1
  150. package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +1 -1
  151. package/deferredcontent/DeferredContent.vue +1 -7
  152. package/deferredcontent/deferredcontent.common.js +2 -2
  153. package/deferredcontent/deferredcontent.umd.js +2 -2
  154. package/dialog/Dialog.vue +35 -21
  155. package/dialog/dialog.common.js +42 -18
  156. package/dialog/dialog.umd.js +42 -18
  157. package/dialog/dialog.umd.min.js +1 -1
  158. package/divider/divider.common.js +1 -1
  159. package/divider/divider.umd.js +1 -1
  160. package/dock/Dock.d.ts +15 -0
  161. package/dock/Dock.vue +173 -0
  162. package/dock/DockSub.vue +132 -0
  163. package/dock/demo.html +17 -0
  164. package/dock/dock.common.js +917 -0
  165. package/dock/dock.umd.js +927 -0
  166. package/dock/dock.umd.min.js +1 -0
  167. package/dock/docksub.common.js +428 -0
  168. package/dock/docksub.umd.js +438 -0
  169. package/dock/docksub.umd.min.js +1 -0
  170. package/dock/index.d.ts +1 -0
  171. package/dock/index.js +2 -0
  172. package/dock/plugin.js +4 -0
  173. package/dropdown/Dropdown.d.ts +5 -3
  174. package/dropdown/Dropdown.vue +31 -5
  175. package/dropdown/dropdown.common.js +44 -6
  176. package/dropdown/dropdown.umd.js +44 -6
  177. package/dropdown/dropdown.umd.min.js +1 -1
  178. package/editor/editor.common.js +1 -1
  179. package/editor/editor.umd.js +1 -1
  180. package/fieldset/fieldset.common.js +6 -1
  181. package/fieldset/fieldset.umd.js +6 -1
  182. package/fieldset/fieldset.umd.min.js +1 -1
  183. package/fileupload/FileUpload.d.ts +2 -0
  184. package/fileupload/FileUpload.vue +12 -7
  185. package/fileupload/fileupload.common.js +42 -23
  186. package/fileupload/fileupload.umd.js +42 -23
  187. package/fileupload/fileupload.umd.min.js +1 -1
  188. package/fullcalendar/fullcalendar.common.js +1573 -777
  189. package/fullcalendar/fullcalendar.umd.js +1573 -777
  190. package/fullcalendar/fullcalendar.umd.min.js +5 -5
  191. package/galleria/Galleria.vue +3 -8
  192. package/galleria/GalleriaContent.vue +9 -0
  193. package/galleria/galleria.common.js +31 -13
  194. package/galleria/galleria.umd.js +31 -13
  195. package/galleria/galleria.umd.min.js +1 -1
  196. package/galleria/galleriacontent.common.js +18 -4
  197. package/galleria/galleriacontent.umd.js +18 -4
  198. package/galleria/galleriacontent.umd.min.js +1 -1
  199. package/galleria/galleriaitem.common.js +6 -1
  200. package/galleria/galleriaitem.umd.js +6 -1
  201. package/galleria/galleriaitem.umd.min.js +1 -1
  202. package/galleria/galleriathumbnails.common.js +6 -1
  203. package/galleria/galleriathumbnails.umd.js +6 -1
  204. package/galleria/galleriathumbnails.umd.min.js +1 -1
  205. package/imagepreview/ImagePreview.d.ts +10 -0
  206. package/imagepreview/ImagePreview.vue +205 -0
  207. package/imagepreview/demo.html +17 -0
  208. package/imagepreview/imagepreview.common.js +4083 -0
  209. package/imagepreview/imagepreview.umd.js +4093 -0
  210. package/imagepreview/imagepreview.umd.min.js +1 -0
  211. package/imagepreview/index.d.ts +1 -0
  212. package/imagepreview/index.js +2 -0
  213. package/imagepreview/plugin.js +4 -0
  214. package/inlinemessage/inlinemessage.common.js +1 -1
  215. package/inlinemessage/inlinemessage.umd.js +1 -1
  216. package/inplace/inplace.common.js +7 -2
  217. package/inplace/inplace.umd.js +7 -2
  218. package/inplace/inplace.umd.min.js +1 -1
  219. package/inputmask/InputMask.vue +7 -5
  220. package/inputmask/inputmask.common.js +19 -6
  221. package/inputmask/inputmask.umd.js +19 -6
  222. package/inputmask/inputmask.umd.min.js +1 -1
  223. package/inputnumber/InputNumber.vue +183 -62
  224. package/inputnumber/inputnumber.common.js +228 -104
  225. package/inputnumber/inputnumber.umd.js +228 -104
  226. package/inputnumber/inputnumber.umd.min.js +1 -1
  227. package/inputswitch/InputSwitch.d.ts +2 -0
  228. package/inputswitch/InputSwitch.vue +15 -3
  229. package/inputswitch/inputswitch.common.js +17 -5
  230. package/inputswitch/inputswitch.umd.js +17 -5
  231. package/inputswitch/inputswitch.umd.min.js +1 -1
  232. package/inputtext/inputtext.common.js +5 -1
  233. package/inputtext/inputtext.umd.js +5 -1
  234. package/inputtext/inputtext.umd.min.js +1 -1
  235. package/knob/knob.common.js +1 -1
  236. package/knob/knob.umd.js +1 -1
  237. package/listbox/Listbox.d.ts +3 -3
  238. package/listbox/listbox.common.js +10 -1
  239. package/listbox/listbox.umd.js +10 -1
  240. package/listbox/listbox.umd.min.js +1 -1
  241. package/megamenu/MegaMenu.d.ts +6 -1
  242. package/megamenu/MegaMenu.vue +51 -22
  243. package/megamenu/megamenu.common.js +52 -10
  244. package/megamenu/megamenu.umd.js +52 -10
  245. package/megamenu/megamenu.umd.min.js +1 -1
  246. package/menu/Menu.d.ts +1 -0
  247. package/menu/Menu.vue +11 -4
  248. package/menu/Menuitem.vue +25 -11
  249. package/menu/menu.common.js +46 -17
  250. package/menu/menu.umd.js +46 -17
  251. package/menu/menu.umd.min.js +1 -1
  252. package/menu/menuitem.common.js +33 -11
  253. package/menu/menuitem.umd.js +33 -11
  254. package/menu/menuitem.umd.min.js +1 -1
  255. package/menubar/Menubar.d.ts +1 -0
  256. package/menubar/Menubar.vue +5 -1
  257. package/menubar/MenubarSub.vue +34 -14
  258. package/menubar/menubar.common.js +46 -14
  259. package/menubar/menubar.umd.js +46 -14
  260. package/menubar/menubar.umd.min.js +1 -1
  261. package/menubar/menubarsub.common.js +36 -8
  262. package/menubar/menubarsub.umd.js +36 -8
  263. package/menubar/menubarsub.umd.min.js +1 -1
  264. package/message/Message.d.ts +1 -0
  265. package/message/Message.vue +5 -1
  266. package/message/message.common.js +12 -3
  267. package/message/message.umd.js +12 -3
  268. package/message/message.umd.min.js +1 -1
  269. package/multiselect/MultiSelect.d.ts +4 -3
  270. package/multiselect/MultiSelect.vue +8 -1
  271. package/multiselect/multiselect.common.js +20 -5
  272. package/multiselect/multiselect.umd.js +20 -5
  273. package/multiselect/multiselect.umd.min.js +1 -1
  274. package/orderlist/OrderList.d.ts +2 -0
  275. package/orderlist/OrderList.vue +2 -0
  276. package/orderlist/orderlist.common.js +15 -4
  277. package/orderlist/orderlist.umd.js +15 -4
  278. package/orderlist/orderlist.umd.min.js +1 -1
  279. package/organizationchart/organizationchart.common.js +11 -2
  280. package/organizationchart/organizationchart.umd.js +11 -2
  281. package/organizationchart/organizationchart.umd.min.js +1 -1
  282. package/organizationchart/organizationchartnode.common.js +6 -1
  283. package/organizationchart/organizationchartnode.umd.js +6 -1
  284. package/organizationchart/organizationchartnode.umd.min.js +1 -1
  285. package/overlaypanel/overlaypanel.common.js +6 -1
  286. package/overlaypanel/overlaypanel.umd.js +6 -1
  287. package/overlaypanel/overlaypanel.umd.min.js +1 -1
  288. package/package.json +5 -1
  289. package/paginator/CurrentPageReport.vue +6 -2
  290. package/paginator/JumpToPageDropdown.vue +33 -0
  291. package/paginator/JumpToPageInput.vue +25 -0
  292. package/paginator/Paginator.d.ts +2 -2
  293. package/paginator/Paginator.vue +24 -11
  294. package/paginator/RowsPerPageDropdown.vue +3 -2
  295. package/paginator/currentpagereport.common.js +7 -3
  296. package/paginator/currentpagereport.umd.js +7 -3
  297. package/paginator/currentpagereport.umd.min.js +1 -1
  298. package/paginator/demo.html +3 -3
  299. package/paginator/firstpagelink.common.js +6 -1
  300. package/paginator/firstpagelink.umd.js +6 -1
  301. package/paginator/firstpagelink.umd.min.js +1 -1
  302. package/paginator/jumptopagedropdown.common.js +6476 -0
  303. package/paginator/jumptopagedropdown.umd.js +6486 -0
  304. package/paginator/jumptopagedropdown.umd.min.js +1 -0
  305. package/paginator/jumptopageinput.common.js +7421 -0
  306. package/paginator/jumptopageinput.umd.js +7431 -0
  307. package/paginator/jumptopageinput.umd.min.js +1 -0
  308. package/paginator/lastpagelink.common.js +6 -1
  309. package/paginator/lastpagelink.umd.js +6 -1
  310. package/paginator/lastpagelink.umd.min.js +1 -1
  311. package/paginator/nextpagelink.common.js +6 -1
  312. package/paginator/nextpagelink.umd.js +6 -1
  313. package/paginator/nextpagelink.umd.min.js +1 -1
  314. package/paginator/pagelinks.common.js +6 -1
  315. package/paginator/pagelinks.umd.js +6 -1
  316. package/paginator/pagelinks.umd.min.js +1 -1
  317. package/paginator/paginator.common.js +2264 -125
  318. package/paginator/paginator.umd.js +2264 -125
  319. package/paginator/paginator.umd.min.js +1 -1
  320. package/paginator/prevpagelink.common.js +6 -1
  321. package/paginator/prevpagelink.umd.js +6 -1
  322. package/paginator/prevpagelink.umd.min.js +1 -1
  323. package/paginator/rowsperpagedropdown.common.js +52 -13
  324. package/paginator/rowsperpagedropdown.umd.js +52 -13
  325. package/paginator/rowsperpagedropdown.umd.min.js +1 -1
  326. package/panel/Panel.d.ts +1 -0
  327. package/panel/Panel.vue +1 -1
  328. package/panel/panel.common.js +7 -2
  329. package/panel/panel.umd.js +7 -2
  330. package/panel/panel.umd.min.js +1 -1
  331. package/panelmenu/PanelMenu.d.ts +1 -0
  332. package/panelmenu/PanelMenu.vue +32 -6
  333. package/panelmenu/PanelMenuSub.vue +32 -13
  334. package/panelmenu/panelmenu.common.js +69 -16
  335. package/panelmenu/panelmenu.umd.js +69 -16
  336. package/panelmenu/panelmenu.umd.min.js +1 -1
  337. package/panelmenu/panelmenusub.common.js +29 -7
  338. package/panelmenu/panelmenusub.umd.js +29 -7
  339. package/panelmenu/panelmenusub.umd.min.js +1 -1
  340. package/password/password.common.js +11 -2
  341. package/password/password.umd.js +11 -2
  342. package/password/password.umd.min.js +1 -1
  343. package/picklist/PickList.d.ts +8 -0
  344. package/picklist/PickList.vue +13 -4
  345. package/picklist/picklist.common.js +22 -4
  346. package/picklist/picklist.umd.js +22 -4
  347. package/picklist/picklist.umd.min.js +1 -1
  348. package/progressbar/ProgressBar.vue +20 -13
  349. package/progressbar/progressbar.common.js +11 -6
  350. package/progressbar/progressbar.umd.js +11 -6
  351. package/progressbar/progressbar.umd.min.js +1 -1
  352. package/progressspinner/progressspinner.common.js +1 -1
  353. package/progressspinner/progressspinner.umd.js +1 -1
  354. package/radiobutton/radiobutton.common.js +5 -1
  355. package/radiobutton/radiobutton.umd.js +5 -1
  356. package/radiobutton/radiobutton.umd.min.js +1 -1
  357. package/rating/Rating.vue +1 -1
  358. package/rating/rating.common.js +3 -3
  359. package/rating/rating.umd.js +3 -3
  360. package/rating/rating.umd.min.js +1 -1
  361. package/resources/primevue.css +15 -4
  362. package/resources/primevue.min.css +1 -1
  363. package/resources/themes/arya-blue/theme.css +503 -83
  364. package/resources/themes/arya-green/theme.css +503 -83
  365. package/resources/themes/arya-orange/theme.css +503 -83
  366. package/resources/themes/arya-purple/theme.css +503 -83
  367. package/resources/themes/bootstrap4-dark-blue/theme.css +500 -87
  368. package/resources/themes/bootstrap4-dark-purple/theme.css +500 -87
  369. package/resources/themes/bootstrap4-light-blue/theme.css +490 -77
  370. package/resources/themes/bootstrap4-light-purple/theme.css +490 -77
  371. package/resources/themes/fluent-light/theme.css +497 -77
  372. package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff +0 -0
  373. package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff2 +0 -0
  374. package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff +0 -0
  375. package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff2 +0 -0
  376. package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff +0 -0
  377. package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff2 +0 -0
  378. package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff +0 -0
  379. package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff2 +0 -0
  380. package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff +0 -0
  381. package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff2 +0 -0
  382. package/resources/themes/lara-dark-blue/theme.css +5418 -0
  383. package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff +0 -0
  384. package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff2 +0 -0
  385. package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff +0 -0
  386. package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff2 +0 -0
  387. package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff +0 -0
  388. package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff2 +0 -0
  389. package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff +0 -0
  390. package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff2 +0 -0
  391. package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff +0 -0
  392. package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff2 +0 -0
  393. package/resources/themes/lara-dark-indigo/theme.css +5418 -0
  394. package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff +0 -0
  395. package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff2 +0 -0
  396. package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff +0 -0
  397. package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff2 +0 -0
  398. package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff +0 -0
  399. package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff2 +0 -0
  400. package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff +0 -0
  401. package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff2 +0 -0
  402. package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff +0 -0
  403. package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff2 +0 -0
  404. package/resources/themes/lara-dark-purple/theme.css +5418 -0
  405. package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff +0 -0
  406. package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff2 +0 -0
  407. package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff +0 -0
  408. package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff2 +0 -0
  409. package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff +0 -0
  410. package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff2 +0 -0
  411. package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff +0 -0
  412. package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff2 +0 -0
  413. package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff +0 -0
  414. package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff2 +0 -0
  415. package/resources/themes/lara-dark-teal/theme.css +5418 -0
  416. package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff +0 -0
  417. package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff2 +0 -0
  418. package/resources/themes/lara-light-blue/fonts/Inter-Light.woff +0 -0
  419. package/resources/themes/lara-light-blue/fonts/Inter-Light.woff2 +0 -0
  420. package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff +0 -0
  421. package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff2 +0 -0
  422. package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff +0 -0
  423. package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff2 +0 -0
  424. package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff +0 -0
  425. package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff2 +0 -0
  426. package/resources/themes/lara-light-blue/theme.css +5418 -0
  427. package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff +0 -0
  428. package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff2 +0 -0
  429. package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff +0 -0
  430. package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff2 +0 -0
  431. package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff +0 -0
  432. package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff2 +0 -0
  433. package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff +0 -0
  434. package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff2 +0 -0
  435. package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff +0 -0
  436. package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff2 +0 -0
  437. package/resources/themes/lara-light-indigo/theme.css +5418 -0
  438. package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff +0 -0
  439. package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff2 +0 -0
  440. package/resources/themes/lara-light-purple/fonts/Inter-Light.woff +0 -0
  441. package/resources/themes/lara-light-purple/fonts/Inter-Light.woff2 +0 -0
  442. package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff +0 -0
  443. package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff2 +0 -0
  444. package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff +0 -0
  445. package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff2 +0 -0
  446. package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff +0 -0
  447. package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff2 +0 -0
  448. package/resources/themes/lara-light-purple/theme.css +5418 -0
  449. package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff +0 -0
  450. package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff2 +0 -0
  451. package/resources/themes/lara-light-teal/fonts/Inter-Light.woff +0 -0
  452. package/resources/themes/lara-light-teal/fonts/Inter-Light.woff2 +0 -0
  453. package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff +0 -0
  454. package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff2 +0 -0
  455. package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff +0 -0
  456. package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff2 +0 -0
  457. package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff +0 -0
  458. package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff2 +0 -0
  459. package/resources/themes/lara-light-teal/theme.css +5418 -0
  460. package/resources/themes/luna-amber/theme.css +500 -87
  461. package/resources/themes/luna-blue/theme.css +500 -87
  462. package/resources/themes/luna-green/theme.css +500 -87
  463. package/resources/themes/luna-pink/theme.css +500 -87
  464. package/resources/themes/md-dark-deeppurple/theme.css +801 -128
  465. package/resources/themes/md-dark-indigo/theme.css +801 -128
  466. package/resources/themes/md-light-deeppurple/theme.css +791 -118
  467. package/resources/themes/md-light-indigo/theme.css +791 -118
  468. package/resources/themes/mdc-dark-deeppurple/theme.css +1087 -414
  469. package/resources/themes/mdc-dark-indigo/theme.css +1035 -362
  470. package/resources/themes/mdc-light-deeppurple/theme.css +791 -118
  471. package/resources/themes/mdc-light-indigo/theme.css +791 -118
  472. package/resources/themes/nova/theme.css +490 -77
  473. package/resources/themes/nova-accent/theme.css +490 -77
  474. package/resources/themes/nova-alt/theme.css +490 -77
  475. package/resources/themes/nova-vue/theme.css +490 -77
  476. package/resources/themes/rhea/theme.css +490 -77
  477. package/resources/themes/saga-blue/theme.css +493 -73
  478. package/resources/themes/saga-green/theme.css +493 -73
  479. package/resources/themes/saga-orange/theme.css +493 -73
  480. package/resources/themes/saga-purple/theme.css +493 -73
  481. package/resources/themes/tailwind-light/fonts/Inter-Bold.woff +0 -0
  482. package/resources/themes/tailwind-light/fonts/Inter-Bold.woff2 +0 -0
  483. package/resources/themes/tailwind-light/fonts/Inter-Light.woff +0 -0
  484. package/resources/themes/tailwind-light/fonts/Inter-Light.woff2 +0 -0
  485. package/resources/themes/tailwind-light/fonts/Inter-Medium.woff +0 -0
  486. package/resources/themes/tailwind-light/fonts/Inter-Medium.woff2 +0 -0
  487. package/resources/themes/tailwind-light/fonts/Inter-Regular.woff +0 -0
  488. package/resources/themes/tailwind-light/fonts/Inter-Regular.woff2 +0 -0
  489. package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff +0 -0
  490. package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff2 +0 -0
  491. package/resources/themes/tailwind-light/theme.css +5493 -0
  492. package/resources/themes/vela-blue/theme.css +503 -83
  493. package/resources/themes/vela-green/theme.css +503 -83
  494. package/resources/themes/vela-orange/theme.css +503 -83
  495. package/resources/themes/vela-purple/theme.css +503 -83
  496. package/ripple/ripple.common.js +5 -0
  497. package/ripple/ripple.umd.js +5 -0
  498. package/ripple/ripple.umd.min.js +1 -1
  499. package/row/row.common.js +1 -1
  500. package/row/row.umd.js +1 -1
  501. package/scrollpanel/scrollpanel.common.js +6 -1
  502. package/scrollpanel/scrollpanel.umd.js +6 -1
  503. package/scrollpanel/scrollpanel.umd.min.js +1 -1
  504. package/scrolltop/scrolltop.common.js +6 -1
  505. package/scrolltop/scrolltop.umd.js +6 -1
  506. package/scrolltop/scrolltop.umd.min.js +1 -1
  507. package/selectbutton/SelectButton.d.ts +3 -3
  508. package/selectbutton/SelectButton.vue +6 -1
  509. package/selectbutton/selectbutton.common.js +17 -3
  510. package/selectbutton/selectbutton.umd.js +17 -3
  511. package/selectbutton/selectbutton.umd.min.js +1 -1
  512. package/sidebar/Sidebar.vue +3 -16
  513. package/sidebar/sidebar.common.js +15 -15
  514. package/sidebar/sidebar.umd.js +15 -15
  515. package/sidebar/sidebar.umd.min.js +1 -1
  516. package/skeleton/skeleton.common.js +1 -1
  517. package/skeleton/skeleton.umd.js +1 -1
  518. package/slider/slider.common.js +6 -1
  519. package/slider/slider.umd.js +6 -1
  520. package/slider/slider.umd.min.js +1 -1
  521. package/speeddial/SpeedDial.d.ts +31 -0
  522. package/speeddial/SpeedDial.vue +341 -0
  523. package/speeddial/demo.html +17 -0
  524. package/speeddial/index.d.ts +1 -0
  525. package/speeddial/index.js +2 -0
  526. package/speeddial/plugin.js +4 -0
  527. package/speeddial/speeddial.common.js +4741 -0
  528. package/speeddial/speeddial.umd.js +4751 -0
  529. package/speeddial/speeddial.umd.min.js +1 -0
  530. package/splitbutton/splitbutton.common.js +51 -22
  531. package/splitbutton/splitbutton.umd.js +51 -22
  532. package/splitbutton/splitbutton.umd.min.js +1 -1
  533. package/splitter/splitter.common.js +5 -0
  534. package/splitter/splitter.umd.js +5 -0
  535. package/splitter/splitter.umd.min.js +1 -1
  536. package/steps/Steps.d.ts +1 -0
  537. package/steps/Steps.vue +30 -8
  538. package/steps/steps.common.js +33 -6
  539. package/steps/steps.umd.js +33 -6
  540. package/steps/steps.umd.min.js +1 -1
  541. package/styleclass/StyleClass.d.ts +5 -0
  542. package/styleclass/StyleClass.js +179 -0
  543. package/styleclass/demo.html +8 -0
  544. package/styleclass/index.d.ts +1 -0
  545. package/styleclass/index.js +2 -0
  546. package/styleclass/plugin.js +4 -0
  547. package/styleclass/styleclass.common.js +3576 -0
  548. package/styleclass/styleclass.umd.js +3586 -0
  549. package/styleclass/styleclass.umd.min.js +1 -0
  550. package/tabmenu/TabMenu.d.ts +1 -0
  551. package/tabmenu/TabMenu.vue +44 -11
  552. package/tabmenu/tabmenu.common.js +171 -9
  553. package/tabmenu/tabmenu.umd.js +171 -9
  554. package/tabmenu/tabmenu.umd.min.js +1 -1
  555. package/tabpanel/tabpanel.common.js +1 -1
  556. package/tabpanel/tabpanel.umd.js +1 -1
  557. package/tabview/TabView.d.ts +1 -0
  558. package/tabview/TabView.vue +111 -11
  559. package/tabview/tabview.common.js +86 -5
  560. package/tabview/tabview.umd.js +86 -5
  561. package/tabview/tabview.umd.min.js +1 -1
  562. package/tag/tag.common.js +1 -1
  563. package/tag/tag.umd.js +1 -1
  564. package/terminal/terminal.common.js +1 -1
  565. package/terminal/terminal.umd.js +1 -1
  566. package/textarea/textarea.common.js +5 -1
  567. package/textarea/textarea.umd.js +5 -1
  568. package/textarea/textarea.umd.min.js +1 -1
  569. package/tieredmenu/TieredMenu.d.ts +1 -0
  570. package/tieredmenu/TieredMenu.vue +5 -1
  571. package/tieredmenu/TieredMenuSub.vue +30 -14
  572. package/tieredmenu/demo.html +4 -3
  573. package/tieredmenu/tieredmenu.common.js +41 -13
  574. package/tieredmenu/tieredmenu.umd.js +41 -13
  575. package/tieredmenu/tieredmenu.umd.min.js +1 -1
  576. package/tieredmenu/tieredmenusub.common.js +31 -7
  577. package/tieredmenu/tieredmenusub.umd.js +31 -7
  578. package/tieredmenu/tieredmenusub.umd.min.js +1 -1
  579. package/timeline/timeline.common.js +5 -1
  580. package/timeline/timeline.umd.js +5 -1
  581. package/timeline/timeline.umd.min.js +1 -1
  582. package/toast/Toast.d.ts +7 -1
  583. package/toast/Toast.vue +51 -4
  584. package/toast/ToastMessage.vue +44 -10
  585. package/toast/toast.common.js +103 -14
  586. package/toast/toast.umd.js +103 -14
  587. package/toast/toast.umd.min.js +1 -1
  588. package/toast/toastmessage.common.js +44 -7
  589. package/toast/toastmessage.umd.js +44 -7
  590. package/toast/toastmessage.umd.min.js +1 -1
  591. package/togglebutton/togglebutton.common.js +6 -1
  592. package/togglebutton/togglebutton.umd.js +6 -1
  593. package/togglebutton/togglebutton.umd.min.js +1 -1
  594. package/toolbar/Toolbar.d.ts +1 -1
  595. package/toolbar/Toolbar.vue +2 -2
  596. package/toolbar/toolbar.common.js +3 -3
  597. package/toolbar/toolbar.umd.js +3 -3
  598. package/toolbar/toolbar.umd.min.js +1 -1
  599. package/tooltip/Tooltip.css +1 -0
  600. package/tooltip/Tooltip.js +59 -6
  601. package/tooltip/tooltip.common.js +1763 -70
  602. package/tooltip/tooltip.umd.js +1763 -70
  603. package/tooltip/tooltip.umd.min.js +1 -1
  604. package/tree/TreeNode.vue +5 -1
  605. package/tree/tree.common.js +23 -8
  606. package/tree/tree.umd.js +23 -8
  607. package/tree/tree.umd.min.js +1 -1
  608. package/tree/treenode.common.js +16 -3
  609. package/tree/treenode.umd.js +16 -3
  610. package/tree/treenode.umd.min.js +1 -1
  611. package/treetable/TreeTable.d.ts +2 -2
  612. package/treetable/TreeTable.vue +8 -8
  613. package/treetable/treetable.common.js +1900 -90
  614. package/treetable/treetable.umd.js +1900 -90
  615. package/treetable/treetable.umd.min.js +1 -1
  616. package/treetable/treetablerow.common.js +11 -1
  617. package/treetable/treetablerow.umd.js +11 -1
  618. package/treetable/treetablerow.umd.min.js +1 -1
  619. package/treetable/treetablerowloader.common.js +12 -1
  620. package/treetable/treetablerowloader.umd.js +12 -1
  621. package/treetable/treetablerowloader.umd.min.js +1 -1
  622. package/tristatecheckbox/tristatecheckbox.common.js +1 -1
  623. package/tristatecheckbox/tristatecheckbox.umd.js +1 -1
  624. package/utils/DomHandler.js +5 -0
  625. package/utils/EventBus.js +33 -0
  626. package/utils/connectedoverlayscrollhandler.common.js +5 -0
  627. package/utils/connectedoverlayscrollhandler.umd.js +5 -0
  628. package/utils/connectedoverlayscrollhandler.umd.min.js +1 -1
  629. package/utils/domhandler.common.js +5 -0
  630. package/utils/domhandler.umd.js +5 -0
  631. package/utils/domhandler.umd.min.js +1 -1
  632. package/utils/eventbus.common.js +1774 -0
  633. package/utils/eventbus.umd.js +1784 -0
  634. package/utils/eventbus.umd.min.js +1 -0
  635. package/utils/filterutils.common.js +4 -0
  636. package/utils/filterutils.umd.js +4 -0
  637. package/utils/filterutils.umd.min.js +1 -1
  638. package/utils/objectutils.common.js +4 -0
  639. package/utils/objectutils.umd.js +4 -0
  640. package/utils/objectutils.umd.min.js +1 -1
  641. package/vetur-attributes.json +236 -16
  642. package/vetur-tags.json +88 -18
  643. package/web-types.json +2042 -1266
  644. package/confirmationservice/confirmationeventbus.common.js +0 -174
  645. package/confirmationservice/confirmationeventbus.umd.js +0 -184
  646. package/confirmationservice/confirmationeventbus.umd.min.js +0 -1
@@ -2557,7 +2557,7 @@ exports = module.exports = __webpack_require__("2350")(false);
2557
2557
 
2558
2558
 
2559
2559
  // module
2560
- exports.push([module.i, ".p-toast{position:fixed;width:25rem}.p-toast-message-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.p-toast-message-text{-webkit-box-flex:1;-ms-flex:1 1 auto;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%;margin-left:-10em}.p-toast-bottom-center{bottom:20px;left:50%;margin-left:-10em}.p-toast-center{left:50%;top:50%;min-width:20vw;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.p-toast-icon-close{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;position:relative}.p-toast-icon-close.p-link{cursor:pointer}.p-toast-message-enter{opacity:0;-webkit-transform:translateY(50%);transform:translateY(50%)}.p-toast-message-leave{max-height:1000px}.p-toast .p-toast-message.p-toast-message-leave-to{max-height:0;opacity:0;margin-bottom:0;overflow:hidden}.p-toast-message-enter-active{-webkit-transition:transform .3s,opacity .3s;-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,-webkit-transform .3s;transition:transform .3s,opacity .3s;transition:transform .3s,opacity .3s,-webkit-transform .3s}.p-toast-message-leave-active{-webkit-transition:max-height .45s cubic-bezier(0,1,0,1),opacity .3s,margin-bottom .3s;transition:max-height .45s cubic-bezier(0,1,0,1),opacity .3s,margin-bottom .3s}", ""]);
2560
+ exports.push([module.i, ".p-toast{position:fixed;width:25rem}.p-toast-message-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.p-toast-message-text{-webkit-box-flex:1;-ms-flex:1 1 auto;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}.p-toast-bottom-center,.p-toast-top-center{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.p-toast-bottom-center{bottom:20px}.p-toast-center{left:50%;top:50%;min-width:20vw;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.p-toast-icon-close{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;position:relative}.p-toast-icon-close.p-link{cursor:pointer}.p-toast-message-enter{opacity:0;-webkit-transform:translateY(50%);transform:translateY(50%)}.p-toast-message-leave{max-height:1000px}.p-toast .p-toast-message.p-toast-message-leave-to{max-height:0;opacity:0;margin-bottom:0;overflow:hidden}.p-toast-message-enter-active{-webkit-transition:transform .3s,opacity .3s;-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,-webkit-transform .3s;transition:transform .3s,opacity .3s;transition:transform .3s,opacity .3s,-webkit-transform .3s}.p-toast-message-leave-active{-webkit-transition:max-height .45s cubic-bezier(0,1,0,1),opacity .3s,margin-bottom .3s;transition:max-height .45s cubic-bezier(0,1,0,1),opacity .3s,margin-bottom .3s}", ""]);
2561
2561
 
2562
2562
  // exports
2563
2563
 
@@ -4627,12 +4627,12 @@ if (typeof window !== 'undefined') {
4627
4627
  // Indicate to webpack that this file can be concatenated
4628
4628
  /* harmony default export */ var setPublicPath = (null);
4629
4629
 
4630
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"271bee23-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toast/Toast.vue?vue&type=template&id=37021435&
4631
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"container",class:_vm.containerClass},[_c('transition-group',{attrs:{"name":"p-toast-message","tag":"div"}},_vm._l((_vm.messages),function(msg){return _c('ToastMessage',{key:msg.id,attrs:{"message":msg},on:{"close":function($event){return _vm.remove($event)}}})}),1)],1)}
4630
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9d50adc0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toast/Toast.vue?vue&type=template&id=49c23346&
4631
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"container",class:_vm.containerClass},[_c('transition-group',{attrs:{"name":"p-toast-message","tag":"div"},on:{"enter":_vm.onEnter}},_vm._l((_vm.messages),function(msg){return _c('ToastMessage',{key:msg.id,attrs:{"message":msg,"templates":_vm.$scopedSlots},on:{"close":function($event){return _vm.remove($event)}}})}),1)],1)}
4632
4632
  var staticRenderFns = []
4633
4633
 
4634
4634
 
4635
- // CONCATENATED MODULE: ./src/components/toast/Toast.vue?vue&type=template&id=37021435&
4635
+ // CONCATENATED MODULE: ./src/components/toast/Toast.vue?vue&type=template&id=49c23346&
4636
4636
 
4637
4637
  // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/array/is-array.js
4638
4638
  var is_array = __webpack_require__("a745");
@@ -4707,12 +4707,12 @@ var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpac
4707
4707
 
4708
4708
  var EventBus = new external_commonjs_vue_commonjs2_vue_root_Vue_default.a();
4709
4709
  /* harmony default export */ var ToastEventBus = (EventBus);
4710
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"271bee23-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toast/ToastMessage.vue?vue&type=template&id=52b20c78&
4711
- var ToastMessagevue_type_template_id_52b20c78_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.containerClass,attrs:{"role":"alert","aria-live":"assertive","aria-atomic":"true"}},[_c('div',{staticClass:"p-toast-message-content"},[_c('span',{class:_vm.iconClass}),_c('div',{staticClass:"p-toast-message-text"},[_c('span',{staticClass:"p-toast-summary"},[_vm._v(_vm._s(_vm.message.summary))]),_c('div',{staticClass:"p-toast-detail"},[_vm._v(_vm._s(_vm.message.detail))])]),(_vm.message.closable !== false)?_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-toast-icon-close p-link",attrs:{"type":"button"},on:{"click":_vm.onCloseClick}},[_c('span',{staticClass:"p-toast-icon-close-icon pi pi-times"})]):_vm._e()])])}
4712
- var ToastMessagevue_type_template_id_52b20c78_staticRenderFns = []
4710
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9d50adc0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toast/ToastMessage.vue?vue&type=template&id=65233dd4&
4711
+ var ToastMessagevue_type_template_id_65233dd4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.containerClass,attrs:{"role":"alert","aria-live":"assertive","aria-atomic":"true"}},[_c('div',{staticClass:"p-toast-message-content",class:_vm.message.contentStyleClass},[(_vm.templates['message'])?_c('ToastMessageTemplate',{attrs:{"message":_vm.message,"template":_vm.templates['message']}}):[_c('span',{class:_vm.iconClass}),_c('div',{staticClass:"p-toast-message-text"},[_c('span',{staticClass:"p-toast-summary"},[_vm._v(_vm._s(_vm.message.summary))]),_c('div',{staticClass:"p-toast-detail"},[_vm._v(_vm._s(_vm.message.detail))])])],(_vm.message.closable !== false)?_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-toast-icon-close p-link",attrs:{"type":"button"},on:{"click":_vm.onCloseClick}},[_c('span',{staticClass:"p-toast-icon-close-icon pi pi-times"})]):_vm._e()],2)])}
4712
+ var ToastMessagevue_type_template_id_65233dd4_staticRenderFns = []
4713
4713
 
4714
4714
 
4715
- // CONCATENATED MODULE: ./src/components/toast/ToastMessage.vue?vue&type=template&id=52b20c78&
4715
+ // CONCATENATED MODULE: ./src/components/toast/ToastMessage.vue?vue&type=template&id=65233dd4&
4716
4716
 
4717
4717
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es7.symbol.async-iterator.js
4718
4718
  var es7_symbol_async_iterator = __webpack_require__("ac4d");
@@ -5320,6 +5320,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5320
5320
  value: function isAndroid() {
5321
5321
  return /(android)/i.test(navigator.userAgent);
5322
5322
  }
5323
+ }, {
5324
+ key: "isTouchDevice",
5325
+ value: function isTouchDevice() {
5326
+ return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
5327
+ }
5323
5328
  }]);
5324
5329
 
5325
5330
  return DomHandler;
@@ -5420,10 +5425,33 @@ var Ripple = {
5420
5425
  //
5421
5426
  //
5422
5427
  //
5428
+ //
5429
+ //
5430
+ //
5423
5431
 
5432
+ var ToastMessageTemplate = {
5433
+ functional: true,
5434
+ props: {
5435
+ message: {
5436
+ type: null,
5437
+ default: null
5438
+ },
5439
+ template: {
5440
+ type: null,
5441
+ default: null
5442
+ }
5443
+ },
5444
+ render: function render(createElement, context) {
5445
+ var content = context.props.template({
5446
+ 'message': context.props.message
5447
+ });
5448
+ return [content];
5449
+ }
5450
+ };
5424
5451
  /* harmony default export */ var ToastMessagevue_type_script_lang_js_ = ({
5425
5452
  props: {
5426
- message: null
5453
+ message: null,
5454
+ templates: null
5427
5455
  },
5428
5456
  closeTimeout: null,
5429
5457
  mounted: function mounted() {
@@ -5435,21 +5463,27 @@ var Ripple = {
5435
5463
  }, this.message.life);
5436
5464
  }
5437
5465
  },
5466
+ beforeDestroy: function beforeDestroy() {
5467
+ this.clearCloseTimeout();
5468
+ },
5438
5469
  methods: {
5439
5470
  close: function close() {
5440
5471
  this.$emit('close', this.message);
5441
5472
  },
5442
5473
  onCloseClick: function onCloseClick() {
5474
+ this.clearCloseTimeout();
5475
+ this.close();
5476
+ },
5477
+ clearCloseTimeout: function clearCloseTimeout() {
5443
5478
  if (this.closeTimeout) {
5444
5479
  clearTimeout(this.closeTimeout);
5480
+ this.closeTimeout = null;
5445
5481
  }
5446
-
5447
- this.close();
5448
5482
  }
5449
5483
  },
5450
5484
  computed: {
5451
5485
  containerClass: function containerClass() {
5452
- return ['p-toast-message', {
5486
+ return ['p-toast-message', this.message.styleClass, {
5453
5487
  'p-toast-message-info': this.message.severity === 'info',
5454
5488
  'p-toast-message-warn': this.message.severity === 'warn',
5455
5489
  'p-toast-message-error': this.message.severity === 'error',
@@ -5465,6 +5499,9 @@ var Ripple = {
5465
5499
  }];
5466
5500
  }
5467
5501
  },
5502
+ components: {
5503
+ 'ToastMessageTemplate': ToastMessageTemplate
5504
+ },
5468
5505
  directives: {
5469
5506
  'ripple': ripple_Ripple
5470
5507
  }
@@ -5581,8 +5618,8 @@ function normalizeComponent (
5581
5618
 
5582
5619
  var component = normalizeComponent(
5583
5620
  toast_ToastMessagevue_type_script_lang_js_,
5584
- ToastMessagevue_type_template_id_52b20c78_render,
5585
- ToastMessagevue_type_template_id_52b20c78_staticRenderFns,
5621
+ ToastMessagevue_type_template_id_65233dd4_render,
5622
+ ToastMessagevue_type_template_id_65233dd4_staticRenderFns,
5586
5623
  false,
5587
5624
  null,
5588
5625
  null,
@@ -5591,6 +5628,13 @@ var component = normalizeComponent(
5591
5628
  )
5592
5629
 
5593
5630
  /* harmony default export */ var ToastMessage = (component.exports);
5631
+ // CONCATENATED MODULE: ./src/components/utils/UniqueComponentId.js
5632
+ var lastId = 0;
5633
+ /* harmony default export */ var UniqueComponentId = (function () {
5634
+ var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'pv_id_';
5635
+ lastId++;
5636
+ return "".concat(prefix).concat(lastId);
5637
+ });
5594
5638
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toast/Toast.vue?vue&type=script&lang=js&
5595
5639
 
5596
5640
 
@@ -5605,6 +5649,7 @@ var component = normalizeComponent(
5605
5649
 
5606
5650
 
5607
5651
 
5652
+
5608
5653
  var messageIdx = 0;
5609
5654
  /* harmony default export */ var Toastvue_type_script_lang_js_ = ({
5610
5655
  props: {
@@ -5623,6 +5668,10 @@ var messageIdx = 0;
5623
5668
  baseZIndex: {
5624
5669
  type: Number,
5625
5670
  default: 0
5671
+ },
5672
+ breakpoints: {
5673
+ type: Object,
5674
+ default: null
5626
5675
  }
5627
5676
  },
5628
5677
  data: function data() {
@@ -5630,6 +5679,7 @@ var messageIdx = 0;
5630
5679
  messages: []
5631
5680
  };
5632
5681
  },
5682
+ styleElement: null,
5633
5683
  mounted: function mounted() {
5634
5684
  var _this = this;
5635
5685
 
@@ -5647,10 +5697,17 @@ var messageIdx = 0;
5647
5697
  _this.messages = [];
5648
5698
  });
5649
5699
  this.updateZIndex();
5700
+
5701
+ if (this.breakpoints) {
5702
+ this.createStyle();
5703
+ }
5650
5704
  },
5651
5705
  beforeUpdate: function beforeUpdate() {
5652
5706
  this.updateZIndex();
5653
5707
  },
5708
+ beforeDestroy: function beforeDestroy() {
5709
+ this.destroyStyle();
5710
+ },
5654
5711
  methods: {
5655
5712
  add: function add(message) {
5656
5713
  if (message.id == null) {
@@ -5675,6 +5732,35 @@ var messageIdx = 0;
5675
5732
  if (this.autoZIndex) {
5676
5733
  this.$refs.container.style.zIndex = String(this.baseZIndex + DomHandler_DomHandler.generateZIndex());
5677
5734
  }
5735
+ },
5736
+ onEnter: function onEnter() {
5737
+ this.$refs.container.setAttribute(this.attributeSelector, '');
5738
+ },
5739
+ createStyle: function createStyle() {
5740
+ if (!this.styleElement) {
5741
+ this.styleElement = document.createElement('style');
5742
+ this.styleElement.type = 'text/css';
5743
+ document.head.appendChild(this.styleElement);
5744
+ var innerHTML = '';
5745
+
5746
+ for (var breakpoint in this.breakpoints) {
5747
+ var breakpointStyle = '';
5748
+
5749
+ for (var styleProp in this.breakpoints[breakpoint]) {
5750
+ breakpointStyle += styleProp + ':' + this.breakpoints[breakpoint][styleProp] + '!important;';
5751
+ }
5752
+
5753
+ innerHTML += "\n @media screen and (max-width: ".concat(breakpoint, ") {\n .p-toast[").concat(this.attributeSelector, "] {\n ").concat(breakpointStyle, "\n }\n }\n ");
5754
+ }
5755
+
5756
+ this.styleElement.innerHTML = innerHTML;
5757
+ }
5758
+ },
5759
+ destroyStyle: function destroyStyle() {
5760
+ if (this.styleElement) {
5761
+ document.head.removeChild(this.styleElement);
5762
+ this.styleElement = null;
5763
+ }
5678
5764
  }
5679
5765
  },
5680
5766
  components: {
@@ -5683,6 +5769,9 @@ var messageIdx = 0;
5683
5769
  computed: {
5684
5770
  containerClass: function containerClass() {
5685
5771
  return 'p-toast p-component p-toast-' + this.position;
5772
+ },
5773
+ attributeSelector: function attributeSelector() {
5774
+ return UniqueComponentId();
5686
5775
  }
5687
5776
  }
5688
5777
  });
@@ -2566,7 +2566,7 @@ exports = module.exports = __webpack_require__("2350")(false);
2566
2566
 
2567
2567
 
2568
2568
  // module
2569
- exports.push([module.i, ".p-toast{position:fixed;width:25rem}.p-toast-message-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.p-toast-message-text{-webkit-box-flex:1;-ms-flex:1 1 auto;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%;margin-left:-10em}.p-toast-bottom-center{bottom:20px;left:50%;margin-left:-10em}.p-toast-center{left:50%;top:50%;min-width:20vw;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.p-toast-icon-close{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;position:relative}.p-toast-icon-close.p-link{cursor:pointer}.p-toast-message-enter{opacity:0;-webkit-transform:translateY(50%);transform:translateY(50%)}.p-toast-message-leave{max-height:1000px}.p-toast .p-toast-message.p-toast-message-leave-to{max-height:0;opacity:0;margin-bottom:0;overflow:hidden}.p-toast-message-enter-active{-webkit-transition:transform .3s,opacity .3s;-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,-webkit-transform .3s;transition:transform .3s,opacity .3s;transition:transform .3s,opacity .3s,-webkit-transform .3s}.p-toast-message-leave-active{-webkit-transition:max-height .45s cubic-bezier(0,1,0,1),opacity .3s,margin-bottom .3s;transition:max-height .45s cubic-bezier(0,1,0,1),opacity .3s,margin-bottom .3s}", ""]);
2569
+ exports.push([module.i, ".p-toast{position:fixed;width:25rem}.p-toast-message-content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.p-toast-message-text{-webkit-box-flex:1;-ms-flex:1 1 auto;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}.p-toast-bottom-center,.p-toast-top-center{left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.p-toast-bottom-center{bottom:20px}.p-toast-center{left:50%;top:50%;min-width:20vw;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.p-toast-icon-close{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;overflow:hidden;position:relative}.p-toast-icon-close.p-link{cursor:pointer}.p-toast-message-enter{opacity:0;-webkit-transform:translateY(50%);transform:translateY(50%)}.p-toast-message-leave{max-height:1000px}.p-toast .p-toast-message.p-toast-message-leave-to{max-height:0;opacity:0;margin-bottom:0;overflow:hidden}.p-toast-message-enter-active{-webkit-transition:transform .3s,opacity .3s;-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,-webkit-transform .3s;transition:transform .3s,opacity .3s;transition:transform .3s,opacity .3s,-webkit-transform .3s}.p-toast-message-leave-active{-webkit-transition:max-height .45s cubic-bezier(0,1,0,1),opacity .3s,margin-bottom .3s;transition:max-height .45s cubic-bezier(0,1,0,1),opacity .3s,margin-bottom .3s}", ""]);
2570
2570
 
2571
2571
  // exports
2572
2572
 
@@ -4636,12 +4636,12 @@ if (typeof window !== 'undefined') {
4636
4636
  // Indicate to webpack that this file can be concatenated
4637
4637
  /* harmony default export */ var setPublicPath = (null);
4638
4638
 
4639
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"271bee23-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toast/Toast.vue?vue&type=template&id=37021435&
4640
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"container",class:_vm.containerClass},[_c('transition-group',{attrs:{"name":"p-toast-message","tag":"div"}},_vm._l((_vm.messages),function(msg){return _c('ToastMessage',{key:msg.id,attrs:{"message":msg},on:{"close":function($event){return _vm.remove($event)}}})}),1)],1)}
4639
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9d50adc0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toast/Toast.vue?vue&type=template&id=49c23346&
4640
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:"container",class:_vm.containerClass},[_c('transition-group',{attrs:{"name":"p-toast-message","tag":"div"},on:{"enter":_vm.onEnter}},_vm._l((_vm.messages),function(msg){return _c('ToastMessage',{key:msg.id,attrs:{"message":msg,"templates":_vm.$scopedSlots},on:{"close":function($event){return _vm.remove($event)}}})}),1)],1)}
4641
4641
  var staticRenderFns = []
4642
4642
 
4643
4643
 
4644
- // CONCATENATED MODULE: ./src/components/toast/Toast.vue?vue&type=template&id=37021435&
4644
+ // CONCATENATED MODULE: ./src/components/toast/Toast.vue?vue&type=template&id=49c23346&
4645
4645
 
4646
4646
  // EXTERNAL MODULE: ./node_modules/@babel/runtime-corejs2/core-js/array/is-array.js
4647
4647
  var is_array = __webpack_require__("a745");
@@ -4716,12 +4716,12 @@ var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpac
4716
4716
 
4717
4717
  var EventBus = new external_commonjs_vue_commonjs2_vue_root_Vue_default.a();
4718
4718
  /* harmony default export */ var ToastEventBus = (EventBus);
4719
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"271bee23-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toast/ToastMessage.vue?vue&type=template&id=52b20c78&
4720
- var ToastMessagevue_type_template_id_52b20c78_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.containerClass,attrs:{"role":"alert","aria-live":"assertive","aria-atomic":"true"}},[_c('div',{staticClass:"p-toast-message-content"},[_c('span',{class:_vm.iconClass}),_c('div',{staticClass:"p-toast-message-text"},[_c('span',{staticClass:"p-toast-summary"},[_vm._v(_vm._s(_vm.message.summary))]),_c('div',{staticClass:"p-toast-detail"},[_vm._v(_vm._s(_vm.message.detail))])]),(_vm.message.closable !== false)?_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-toast-icon-close p-link",attrs:{"type":"button"},on:{"click":_vm.onCloseClick}},[_c('span',{staticClass:"p-toast-icon-close-icon pi pi-times"})]):_vm._e()])])}
4721
- var ToastMessagevue_type_template_id_52b20c78_staticRenderFns = []
4719
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"9d50adc0-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toast/ToastMessage.vue?vue&type=template&id=65233dd4&
4720
+ var ToastMessagevue_type_template_id_65233dd4_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.containerClass,attrs:{"role":"alert","aria-live":"assertive","aria-atomic":"true"}},[_c('div',{staticClass:"p-toast-message-content",class:_vm.message.contentStyleClass},[(_vm.templates['message'])?_c('ToastMessageTemplate',{attrs:{"message":_vm.message,"template":_vm.templates['message']}}):[_c('span',{class:_vm.iconClass}),_c('div',{staticClass:"p-toast-message-text"},[_c('span',{staticClass:"p-toast-summary"},[_vm._v(_vm._s(_vm.message.summary))]),_c('div',{staticClass:"p-toast-detail"},[_vm._v(_vm._s(_vm.message.detail))])])],(_vm.message.closable !== false)?_c('button',{directives:[{name:"ripple",rawName:"v-ripple"}],staticClass:"p-toast-icon-close p-link",attrs:{"type":"button"},on:{"click":_vm.onCloseClick}},[_c('span',{staticClass:"p-toast-icon-close-icon pi pi-times"})]):_vm._e()],2)])}
4721
+ var ToastMessagevue_type_template_id_65233dd4_staticRenderFns = []
4722
4722
 
4723
4723
 
4724
- // CONCATENATED MODULE: ./src/components/toast/ToastMessage.vue?vue&type=template&id=52b20c78&
4724
+ // CONCATENATED MODULE: ./src/components/toast/ToastMessage.vue?vue&type=template&id=65233dd4&
4725
4725
 
4726
4726
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es7.symbol.async-iterator.js
4727
4727
  var es7_symbol_async_iterator = __webpack_require__("ac4d");
@@ -5329,6 +5329,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
5329
5329
  value: function isAndroid() {
5330
5330
  return /(android)/i.test(navigator.userAgent);
5331
5331
  }
5332
+ }, {
5333
+ key: "isTouchDevice",
5334
+ value: function isTouchDevice() {
5335
+ return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
5336
+ }
5332
5337
  }]);
5333
5338
 
5334
5339
  return DomHandler;
@@ -5429,10 +5434,33 @@ var Ripple = {
5429
5434
  //
5430
5435
  //
5431
5436
  //
5437
+ //
5438
+ //
5439
+ //
5432
5440
 
5441
+ var ToastMessageTemplate = {
5442
+ functional: true,
5443
+ props: {
5444
+ message: {
5445
+ type: null,
5446
+ default: null
5447
+ },
5448
+ template: {
5449
+ type: null,
5450
+ default: null
5451
+ }
5452
+ },
5453
+ render: function render(createElement, context) {
5454
+ var content = context.props.template({
5455
+ 'message': context.props.message
5456
+ });
5457
+ return [content];
5458
+ }
5459
+ };
5433
5460
  /* harmony default export */ var ToastMessagevue_type_script_lang_js_ = ({
5434
5461
  props: {
5435
- message: null
5462
+ message: null,
5463
+ templates: null
5436
5464
  },
5437
5465
  closeTimeout: null,
5438
5466
  mounted: function mounted() {
@@ -5444,21 +5472,27 @@ var Ripple = {
5444
5472
  }, this.message.life);
5445
5473
  }
5446
5474
  },
5475
+ beforeDestroy: function beforeDestroy() {
5476
+ this.clearCloseTimeout();
5477
+ },
5447
5478
  methods: {
5448
5479
  close: function close() {
5449
5480
  this.$emit('close', this.message);
5450
5481
  },
5451
5482
  onCloseClick: function onCloseClick() {
5483
+ this.clearCloseTimeout();
5484
+ this.close();
5485
+ },
5486
+ clearCloseTimeout: function clearCloseTimeout() {
5452
5487
  if (this.closeTimeout) {
5453
5488
  clearTimeout(this.closeTimeout);
5489
+ this.closeTimeout = null;
5454
5490
  }
5455
-
5456
- this.close();
5457
5491
  }
5458
5492
  },
5459
5493
  computed: {
5460
5494
  containerClass: function containerClass() {
5461
- return ['p-toast-message', {
5495
+ return ['p-toast-message', this.message.styleClass, {
5462
5496
  'p-toast-message-info': this.message.severity === 'info',
5463
5497
  'p-toast-message-warn': this.message.severity === 'warn',
5464
5498
  'p-toast-message-error': this.message.severity === 'error',
@@ -5474,6 +5508,9 @@ var Ripple = {
5474
5508
  }];
5475
5509
  }
5476
5510
  },
5511
+ components: {
5512
+ 'ToastMessageTemplate': ToastMessageTemplate
5513
+ },
5477
5514
  directives: {
5478
5515
  'ripple': ripple_Ripple
5479
5516
  }
@@ -5590,8 +5627,8 @@ function normalizeComponent (
5590
5627
 
5591
5628
  var component = normalizeComponent(
5592
5629
  toast_ToastMessagevue_type_script_lang_js_,
5593
- ToastMessagevue_type_template_id_52b20c78_render,
5594
- ToastMessagevue_type_template_id_52b20c78_staticRenderFns,
5630
+ ToastMessagevue_type_template_id_65233dd4_render,
5631
+ ToastMessagevue_type_template_id_65233dd4_staticRenderFns,
5595
5632
  false,
5596
5633
  null,
5597
5634
  null,
@@ -5600,6 +5637,13 @@ var component = normalizeComponent(
5600
5637
  )
5601
5638
 
5602
5639
  /* harmony default export */ var ToastMessage = (component.exports);
5640
+ // CONCATENATED MODULE: ./src/components/utils/UniqueComponentId.js
5641
+ var lastId = 0;
5642
+ /* harmony default export */ var UniqueComponentId = (function () {
5643
+ var prefix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'pv_id_';
5644
+ lastId++;
5645
+ return "".concat(prefix).concat(lastId);
5646
+ });
5603
5647
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/toast/Toast.vue?vue&type=script&lang=js&
5604
5648
 
5605
5649
 
@@ -5614,6 +5658,7 @@ var component = normalizeComponent(
5614
5658
 
5615
5659
 
5616
5660
 
5661
+
5617
5662
  var messageIdx = 0;
5618
5663
  /* harmony default export */ var Toastvue_type_script_lang_js_ = ({
5619
5664
  props: {
@@ -5632,6 +5677,10 @@ var messageIdx = 0;
5632
5677
  baseZIndex: {
5633
5678
  type: Number,
5634
5679
  default: 0
5680
+ },
5681
+ breakpoints: {
5682
+ type: Object,
5683
+ default: null
5635
5684
  }
5636
5685
  },
5637
5686
  data: function data() {
@@ -5639,6 +5688,7 @@ var messageIdx = 0;
5639
5688
  messages: []
5640
5689
  };
5641
5690
  },
5691
+ styleElement: null,
5642
5692
  mounted: function mounted() {
5643
5693
  var _this = this;
5644
5694
 
@@ -5656,10 +5706,17 @@ var messageIdx = 0;
5656
5706
  _this.messages = [];
5657
5707
  });
5658
5708
  this.updateZIndex();
5709
+
5710
+ if (this.breakpoints) {
5711
+ this.createStyle();
5712
+ }
5659
5713
  },
5660
5714
  beforeUpdate: function beforeUpdate() {
5661
5715
  this.updateZIndex();
5662
5716
  },
5717
+ beforeDestroy: function beforeDestroy() {
5718
+ this.destroyStyle();
5719
+ },
5663
5720
  methods: {
5664
5721
  add: function add(message) {
5665
5722
  if (message.id == null) {
@@ -5684,6 +5741,35 @@ var messageIdx = 0;
5684
5741
  if (this.autoZIndex) {
5685
5742
  this.$refs.container.style.zIndex = String(this.baseZIndex + DomHandler_DomHandler.generateZIndex());
5686
5743
  }
5744
+ },
5745
+ onEnter: function onEnter() {
5746
+ this.$refs.container.setAttribute(this.attributeSelector, '');
5747
+ },
5748
+ createStyle: function createStyle() {
5749
+ if (!this.styleElement) {
5750
+ this.styleElement = document.createElement('style');
5751
+ this.styleElement.type = 'text/css';
5752
+ document.head.appendChild(this.styleElement);
5753
+ var innerHTML = '';
5754
+
5755
+ for (var breakpoint in this.breakpoints) {
5756
+ var breakpointStyle = '';
5757
+
5758
+ for (var styleProp in this.breakpoints[breakpoint]) {
5759
+ breakpointStyle += styleProp + ':' + this.breakpoints[breakpoint][styleProp] + '!important;';
5760
+ }
5761
+
5762
+ innerHTML += "\n @media screen and (max-width: ".concat(breakpoint, ") {\n .p-toast[").concat(this.attributeSelector, "] {\n ").concat(breakpointStyle, "\n }\n }\n ");
5763
+ }
5764
+
5765
+ this.styleElement.innerHTML = innerHTML;
5766
+ }
5767
+ },
5768
+ destroyStyle: function destroyStyle() {
5769
+ if (this.styleElement) {
5770
+ document.head.removeChild(this.styleElement);
5771
+ this.styleElement = null;
5772
+ }
5687
5773
  }
5688
5774
  },
5689
5775
  components: {
@@ -5692,6 +5778,9 @@ var messageIdx = 0;
5692
5778
  computed: {
5693
5779
  containerClass: function containerClass() {
5694
5780
  return 'p-toast p-component p-toast-' + this.position;
5781
+ },
5782
+ attributeSelector: function attributeSelector() {
5783
+ return UniqueComponentId();
5695
5784
  }
5696
5785
  }
5697
5786
  });