primevue 3.26.0 → 3.27.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 (1055) hide show
  1. package/README.md +4 -8
  2. package/accordion/Accordion.d.ts +46 -2
  3. package/accordion/Accordion.vue +29 -13
  4. package/accordion/accordion.cjs.js +60 -33
  5. package/accordion/accordion.cjs.min.js +1 -1
  6. package/accordion/accordion.esm.js +58 -34
  7. package/accordion/accordion.esm.min.js +1 -1
  8. package/accordion/accordion.js +59 -35
  9. package/accordion/accordion.min.js +1 -1
  10. package/accordiontab/AccordionTab.d.ts +76 -1
  11. package/accordiontab/AccordionTab.vue +3 -0
  12. package/accordiontab/accordiontab.cjs.js +6 -0
  13. package/accordiontab/accordiontab.cjs.min.js +1 -1
  14. package/accordiontab/accordiontab.esm.js +2 -0
  15. package/accordiontab/accordiontab.esm.min.js +1 -1
  16. package/accordiontab/accordiontab.js +7 -2
  17. package/accordiontab/accordiontab.min.js +1 -1
  18. package/api/Api.d.ts +292 -284
  19. package/autocomplete/AutoComplete.d.ts +15 -3
  20. package/autocomplete/AutoComplete.vue +25 -10
  21. package/autocomplete/autocomplete.cjs.js +62 -36
  22. package/autocomplete/autocomplete.cjs.min.js +1 -1
  23. package/autocomplete/autocomplete.esm.js +60 -37
  24. package/autocomplete/autocomplete.esm.min.js +1 -1
  25. package/autocomplete/autocomplete.js +61 -38
  26. package/autocomplete/autocomplete.min.js +1 -1
  27. package/avatar/Avatar.d.ts +5 -0
  28. package/avatar/Avatar.vue +5 -6
  29. package/avatar/avatar.cjs.js +25 -20
  30. package/avatar/avatar.cjs.min.js +1 -1
  31. package/avatar/avatar.esm.js +26 -21
  32. package/avatar/avatar.esm.min.js +1 -1
  33. package/avatar/avatar.js +25 -20
  34. package/avatar/avatar.min.js +1 -1
  35. package/badge/Badge.d.ts +1 -1
  36. package/basecomponent/BaseComponent.vue +26 -0
  37. package/basecomponent/basecomponent.cjs.js +28 -0
  38. package/basecomponent/basecomponent.cjs.min.js +1 -0
  39. package/basecomponent/basecomponent.esm.js +26 -0
  40. package/basecomponent/basecomponent.esm.min.js +1 -0
  41. package/basecomponent/basecomponent.js +30 -0
  42. package/basecomponent/basecomponent.min.js +1 -0
  43. package/basecomponent/package.json +8 -0
  44. package/baseicon/BaseIcon.vue +66 -0
  45. package/baseicon/baseicon.cjs.js +66 -0
  46. package/baseicon/baseicon.cjs.min.js +1 -0
  47. package/baseicon/baseicon.esm.js +64 -0
  48. package/baseicon/baseicon.esm.min.js +1 -0
  49. package/baseicon/baseicon.js +68 -0
  50. package/baseicon/baseicon.min.js +1 -0
  51. package/baseicon/package.json +8 -0
  52. package/breadcrumb/Breadcrumb.d.ts +18 -0
  53. package/breadcrumb/Breadcrumb.vue +8 -4
  54. package/breadcrumb/BreadcrumbItem.vue +7 -10
  55. package/breadcrumb/breadcrumb.cjs.js +46 -35
  56. package/breadcrumb/breadcrumb.cjs.min.js +1 -1
  57. package/breadcrumb/breadcrumb.esm.js +43 -36
  58. package/breadcrumb/breadcrumb.esm.min.js +1 -1
  59. package/breadcrumb/breadcrumb.js +47 -37
  60. package/breadcrumb/breadcrumb.min.js +1 -1
  61. package/button/Button.d.ts +21 -2
  62. package/button/Button.vue +23 -8
  63. package/button/button.cjs.js +54 -25
  64. package/button/button.cjs.min.js +1 -1
  65. package/button/button.esm.js +54 -26
  66. package/button/button.esm.min.js +1 -1
  67. package/button/button.js +55 -27
  68. package/button/button.min.js +1 -1
  69. package/calendar/Calendar.d.ts +25 -5
  70. package/calendar/Calendar.vue +57 -24
  71. package/calendar/calendar.cjs.js +85 -44
  72. package/calendar/calendar.cjs.min.js +1 -1
  73. package/calendar/calendar.esm.js +81 -45
  74. package/calendar/calendar.esm.min.js +1 -1
  75. package/calendar/calendar.js +82 -46
  76. package/calendar/calendar.min.js +1 -1
  77. package/card/Card.d.ts +51 -1
  78. package/card/Card.vue +15 -14
  79. package/card/card.cjs.js +33 -65
  80. package/card/card.cjs.min.js +1 -1
  81. package/card/card.esm.js +30 -66
  82. package/card/card.esm.min.js +1 -1
  83. package/card/card.js +34 -67
  84. package/card/card.min.js +1 -1
  85. package/carousel/Carousel.d.ts +8 -0
  86. package/carousel/Carousel.vue +16 -2
  87. package/carousel/carousel.cjs.js +20 -6
  88. package/carousel/carousel.cjs.min.js +1 -1
  89. package/carousel/carousel.esm.js +17 -7
  90. package/carousel/carousel.esm.min.js +1 -1
  91. package/carousel/carousel.js +18 -8
  92. package/carousel/carousel.min.js +1 -1
  93. package/cascadeselect/CascadeSelect.d.ts +16 -3
  94. package/cascadeselect/CascadeSelect.vue +16 -9
  95. package/cascadeselect/CascadeSelectSub.vue +10 -1
  96. package/cascadeselect/cascadeselect.cjs.js +46 -14
  97. package/cascadeselect/cascadeselect.cjs.min.js +1 -1
  98. package/cascadeselect/cascadeselect.esm.js +43 -14
  99. package/cascadeselect/cascadeselect.esm.min.js +1 -1
  100. package/cascadeselect/cascadeselect.js +45 -16
  101. package/cascadeselect/cascadeselect.min.js +1 -1
  102. package/checkbox/Checkbox.d.ts +13 -2
  103. package/checkbox/Checkbox.vue +7 -1
  104. package/checkbox/checkbox.cjs.js +11 -3
  105. package/checkbox/checkbox.cjs.min.js +1 -1
  106. package/checkbox/checkbox.esm.js +8 -4
  107. package/checkbox/checkbox.esm.min.js +1 -1
  108. package/checkbox/checkbox.js +12 -5
  109. package/checkbox/checkbox.min.js +1 -1
  110. package/chip/Chip.d.ts +20 -1
  111. package/chip/Chip.vue +13 -10
  112. package/chip/chip.cjs.js +46 -31
  113. package/chip/chip.cjs.min.js +1 -1
  114. package/chip/chip.esm.js +43 -32
  115. package/chip/chip.esm.min.js +1 -1
  116. package/chip/chip.js +47 -33
  117. package/chip/chip.min.js +1 -1
  118. package/chips/Chips.d.ts +12 -1
  119. package/chips/Chips.vue +8 -2
  120. package/chips/chips.cjs.js +22 -11
  121. package/chips/chips.cjs.min.js +1 -1
  122. package/chips/chips.esm.js +19 -12
  123. package/chips/chips.esm.min.js +1 -1
  124. package/chips/chips.js +23 -13
  125. package/chips/chips.min.js +1 -1
  126. package/column/Column.d.ts +77 -1
  127. package/column/Column.vue +1 -1
  128. package/column/column.cjs.js +1 -1
  129. package/column/column.cjs.min.js +1 -1
  130. package/column/column.esm.js +1 -1
  131. package/column/column.esm.min.js +1 -1
  132. package/column/column.js +1 -1
  133. package/column/column.min.js +1 -1
  134. package/config/config.cjs.js +1 -1
  135. package/config/config.cjs.min.js +1 -1
  136. package/config/config.esm.js +1 -1
  137. package/config/config.esm.min.js +1 -1
  138. package/config/config.js +1 -1
  139. package/config/config.min.js +1 -1
  140. package/confirmdialog/ConfirmDialog.d.ts +23 -1
  141. package/confirmdialog/ConfirmDialog.vue +18 -3
  142. package/confirmdialog/confirmdialog.cjs.js +36 -11
  143. package/confirmdialog/confirmdialog.cjs.min.js +1 -1
  144. package/confirmdialog/confirmdialog.esm.js +37 -12
  145. package/confirmdialog/confirmdialog.esm.min.js +1 -1
  146. package/confirmdialog/confirmdialog.js +36 -11
  147. package/confirmdialog/confirmdialog.min.js +1 -1
  148. package/confirmpopup/ConfirmPopup.d.ts +23 -1
  149. package/confirmpopup/ConfirmPopup.vue +18 -3
  150. package/confirmpopup/confirmpopup.cjs.js +35 -9
  151. package/confirmpopup/confirmpopup.cjs.min.js +1 -1
  152. package/confirmpopup/confirmpopup.esm.js +36 -10
  153. package/confirmpopup/confirmpopup.esm.min.js +1 -1
  154. package/confirmpopup/confirmpopup.js +35 -9
  155. package/confirmpopup/confirmpopup.min.js +1 -1
  156. package/contextmenu/ContextMenu.d.ts +23 -0
  157. package/contextmenu/ContextMenu.vue +1 -1
  158. package/contextmenu/ContextMenuSub.vue +17 -8
  159. package/contextmenu/contextmenu.cjs.js +48 -23
  160. package/contextmenu/contextmenu.cjs.min.js +1 -1
  161. package/contextmenu/contextmenu.esm.js +48 -24
  162. package/contextmenu/contextmenu.esm.min.js +1 -1
  163. package/contextmenu/contextmenu.js +49 -25
  164. package/contextmenu/contextmenu.min.js +1 -1
  165. package/core/core.js +2685 -315
  166. package/core/core.min.js +106 -12
  167. package/datatable/BodyCell.vue +44 -13
  168. package/datatable/ColumnFilter.vue +59 -17
  169. package/datatable/DataTable.d.ts +43 -5
  170. package/datatable/DataTable.vue +49 -11
  171. package/datatable/FooterCell.vue +1 -1
  172. package/datatable/HeaderCell.vue +36 -15
  173. package/datatable/HeaderCheckbox.vue +11 -2
  174. package/datatable/RowCheckbox.vue +11 -2
  175. package/datatable/TableBody.vue +32 -18
  176. package/datatable/TableFooter.vue +1 -1
  177. package/datatable/TableHeader.vue +10 -0
  178. package/datatable/datatable.cjs.js +442 -154
  179. package/datatable/datatable.cjs.min.js +1 -1
  180. package/datatable/datatable.esm.js +427 -155
  181. package/datatable/datatable.esm.min.js +1 -1
  182. package/datatable/datatable.js +428 -156
  183. package/datatable/datatable.min.js +1 -1
  184. package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +12 -2
  185. package/dataviewlayoutoptions/DataViewLayoutOptions.vue +13 -2
  186. package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.js +25 -11
  187. package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.min.js +1 -1
  188. package/dataviewlayoutoptions/dataviewlayoutoptions.esm.js +21 -12
  189. package/dataviewlayoutoptions/dataviewlayoutoptions.esm.min.js +1 -1
  190. package/dataviewlayoutoptions/dataviewlayoutoptions.js +25 -13
  191. package/dataviewlayoutoptions/dataviewlayoutoptions.min.js +1 -1
  192. package/deferredcontent/DeferredContent.d.ts +49 -1
  193. package/deferredcontent/DeferredContent.vue +4 -1
  194. package/deferredcontent/deferredcontent.cjs.js +8 -4
  195. package/deferredcontent/deferredcontent.cjs.min.js +1 -1
  196. package/deferredcontent/deferredcontent.esm.js +5 -5
  197. package/deferredcontent/deferredcontent.esm.min.js +1 -1
  198. package/deferredcontent/deferredcontent.js +9 -6
  199. package/deferredcontent/deferredcontent.min.js +1 -1
  200. package/dialog/Dialog.d.ts +18 -4
  201. package/dialog/Dialog.vue +22 -13
  202. package/dialog/dialog.cjs.js +29 -17
  203. package/dialog/dialog.cjs.min.js +1 -1
  204. package/dialog/dialog.esm.js +27 -18
  205. package/dialog/dialog.esm.min.js +1 -1
  206. package/dialog/dialog.js +28 -19
  207. package/dialog/dialog.min.js +1 -1
  208. package/divider/Divider.d.ts +36 -0
  209. package/divider/Divider.vue +5 -2
  210. package/divider/divider.cjs.js +15 -10
  211. package/divider/divider.cjs.min.js +1 -1
  212. package/divider/divider.esm.js +12 -11
  213. package/divider/divider.esm.min.js +1 -1
  214. package/divider/divider.js +16 -12
  215. package/divider/divider.min.js +1 -1
  216. package/dropdown/Dropdown.d.ts +41 -5
  217. package/dropdown/Dropdown.vue +28 -14
  218. package/dropdown/dropdown.cjs.js +70 -32
  219. package/dropdown/dropdown.cjs.min.js +1 -1
  220. package/dropdown/dropdown.esm.js +67 -33
  221. package/dropdown/dropdown.esm.min.js +1 -1
  222. package/dropdown/dropdown.js +68 -34
  223. package/dropdown/dropdown.min.js +1 -1
  224. package/fieldset/Fieldset.d.ts +73 -0
  225. package/fieldset/Fieldset.vue +18 -17
  226. package/fieldset/fieldset.cjs.js +33 -34
  227. package/fieldset/fieldset.cjs.min.js +1 -1
  228. package/fieldset/fieldset.esm.js +31 -35
  229. package/fieldset/fieldset.esm.min.js +1 -1
  230. package/fieldset/fieldset.js +32 -36
  231. package/fieldset/fieldset.min.js +1 -1
  232. package/fileupload/FileContent.vue +13 -2
  233. package/fileupload/FileUpload.d.ts +28 -3
  234. package/fileupload/FileUpload.vue +35 -16
  235. package/fileupload/fileupload.cjs.js +89 -29
  236. package/fileupload/fileupload.cjs.min.js +1 -1
  237. package/fileupload/fileupload.esm.js +87 -30
  238. package/fileupload/fileupload.esm.min.js +1 -1
  239. package/fileupload/fileupload.js +88 -31
  240. package/fileupload/fileupload.min.js +1 -1
  241. package/galleria/Galleria.d.ts +20 -0
  242. package/galleria/Galleria.vue +2 -2
  243. package/galleria/GalleriaContent.vue +7 -2
  244. package/galleria/GalleriaItem.vue +8 -2
  245. package/galleria/GalleriaThumbnails.vue +12 -20
  246. package/galleria/galleria.cjs.js +60 -64
  247. package/galleria/galleria.cjs.min.js +1 -1
  248. package/galleria/galleria.esm.js +56 -65
  249. package/galleria/galleria.esm.min.js +1 -1
  250. package/galleria/galleria.js +57 -66
  251. package/galleria/galleria.min.js +1 -1
  252. package/icons/angledoubledown/index.cjs.js +37 -0
  253. package/icons/angledoubledown/index.cjs.min.js +1 -0
  254. package/icons/angledoubledown/index.d.ts +12 -0
  255. package/icons/angledoubledown/index.esm.js +31 -0
  256. package/icons/angledoubledown/index.esm.min.js +1 -0
  257. package/icons/angledoubledown/index.js +39 -0
  258. package/icons/angledoubledown/index.min.js +1 -0
  259. package/icons/angledoubledown/index.vue +18 -0
  260. package/icons/angledoubledown/package.json +9 -0
  261. package/icons/angledoubleleft/index.cjs.js +37 -0
  262. package/icons/angledoubleleft/index.cjs.min.js +1 -0
  263. package/icons/angledoubleleft/index.d.ts +12 -0
  264. package/icons/angledoubleleft/index.esm.js +31 -0
  265. package/icons/angledoubleleft/index.esm.min.js +1 -0
  266. package/icons/angledoubleleft/index.js +39 -0
  267. package/icons/angledoubleleft/index.min.js +1 -0
  268. package/icons/angledoubleleft/index.vue +18 -0
  269. package/icons/angledoubleleft/package.json +9 -0
  270. package/icons/angledoubleright/index.cjs.js +37 -0
  271. package/icons/angledoubleright/index.cjs.min.js +1 -0
  272. package/icons/angledoubleright/index.d.ts +12 -0
  273. package/icons/angledoubleright/index.esm.js +31 -0
  274. package/icons/angledoubleright/index.esm.min.js +1 -0
  275. package/icons/angledoubleright/index.js +39 -0
  276. package/icons/angledoubleright/index.min.js +1 -0
  277. package/icons/angledoubleright/index.vue +18 -0
  278. package/icons/angledoubleright/package.json +9 -0
  279. package/icons/angledoubleup/index.cjs.js +37 -0
  280. package/icons/angledoubleup/index.cjs.min.js +1 -0
  281. package/icons/angledoubleup/index.d.ts +12 -0
  282. package/icons/angledoubleup/index.esm.js +31 -0
  283. package/icons/angledoubleup/index.esm.min.js +1 -0
  284. package/icons/angledoubleup/index.js +39 -0
  285. package/icons/angledoubleup/index.min.js +1 -0
  286. package/icons/angledoubleup/index.vue +18 -0
  287. package/icons/angledoubleup/package.json +9 -0
  288. package/icons/angledown/index.cjs.js +35 -0
  289. package/icons/angledown/index.cjs.min.js +1 -0
  290. package/icons/angledown/index.d.ts +12 -0
  291. package/icons/angledown/index.esm.js +29 -0
  292. package/icons/angledown/index.esm.min.js +1 -0
  293. package/icons/angledown/index.js +37 -0
  294. package/icons/angledown/index.min.js +1 -0
  295. package/icons/angledown/index.vue +16 -0
  296. package/icons/angledown/package.json +9 -0
  297. package/icons/angleleft/index.cjs.js +35 -0
  298. package/icons/angleleft/index.cjs.min.js +1 -0
  299. package/icons/angleleft/index.d.ts +12 -0
  300. package/icons/angleleft/index.esm.js +29 -0
  301. package/icons/angleleft/index.esm.min.js +1 -0
  302. package/icons/angleleft/index.js +37 -0
  303. package/icons/angleleft/index.min.js +1 -0
  304. package/icons/angleleft/index.vue +16 -0
  305. package/icons/angleleft/package.json +9 -0
  306. package/icons/angleright/index.cjs.js +35 -0
  307. package/icons/angleright/index.cjs.min.js +1 -0
  308. package/icons/angleright/index.d.ts +12 -0
  309. package/icons/angleright/index.esm.js +29 -0
  310. package/icons/angleright/index.esm.min.js +1 -0
  311. package/icons/angleright/index.js +37 -0
  312. package/icons/angleright/index.min.js +1 -0
  313. package/icons/angleright/index.vue +16 -0
  314. package/icons/angleright/package.json +9 -0
  315. package/icons/angleup/index.cjs.js +35 -0
  316. package/icons/angleup/index.cjs.min.js +1 -0
  317. package/icons/angleup/index.d.ts +12 -0
  318. package/icons/angleup/index.esm.js +29 -0
  319. package/icons/angleup/index.esm.min.js +1 -0
  320. package/icons/angleup/index.js +37 -0
  321. package/icons/angleup/index.min.js +1 -0
  322. package/icons/angleup/index.vue +16 -0
  323. package/icons/angleup/package.json +9 -0
  324. package/icons/arrowdown/index.cjs.js +49 -0
  325. package/icons/arrowdown/index.cjs.min.js +1 -0
  326. package/icons/arrowdown/index.d.ts +12 -0
  327. package/icons/arrowdown/index.esm.js +43 -0
  328. package/icons/arrowdown/index.esm.min.js +1 -0
  329. package/icons/arrowdown/index.js +51 -0
  330. package/icons/arrowdown/index.min.js +1 -0
  331. package/icons/arrowdown/index.vue +25 -0
  332. package/icons/arrowdown/package.json +9 -0
  333. package/icons/arrowup/index.cjs.js +49 -0
  334. package/icons/arrowup/index.cjs.min.js +1 -0
  335. package/icons/arrowup/index.d.ts +12 -0
  336. package/icons/arrowup/index.esm.js +43 -0
  337. package/icons/arrowup/index.esm.min.js +1 -0
  338. package/icons/arrowup/index.js +51 -0
  339. package/icons/arrowup/index.min.js +1 -0
  340. package/icons/arrowup/index.vue +25 -0
  341. package/icons/arrowup/package.json +9 -0
  342. package/icons/ban/index.cjs.js +47 -0
  343. package/icons/ban/index.cjs.min.js +1 -0
  344. package/icons/ban/index.d.ts +12 -0
  345. package/icons/ban/index.esm.js +41 -0
  346. package/icons/ban/index.esm.min.js +1 -0
  347. package/icons/ban/index.js +49 -0
  348. package/icons/ban/index.min.js +1 -0
  349. package/icons/ban/index.vue +23 -0
  350. package/icons/ban/package.json +9 -0
  351. package/icons/bars/index.cjs.js +37 -0
  352. package/icons/bars/index.cjs.min.js +1 -0
  353. package/icons/bars/index.d.ts +12 -0
  354. package/icons/bars/index.esm.js +31 -0
  355. package/icons/bars/index.esm.min.js +1 -0
  356. package/icons/bars/index.js +39 -0
  357. package/icons/bars/index.min.js +1 -0
  358. package/icons/bars/index.vue +18 -0
  359. package/icons/bars/package.json +9 -0
  360. package/icons/calendar/index.cjs.js +35 -0
  361. package/icons/calendar/index.cjs.min.js +1 -0
  362. package/icons/calendar/index.d.ts +12 -0
  363. package/icons/calendar/index.esm.js +29 -0
  364. package/icons/calendar/index.esm.min.js +1 -0
  365. package/icons/calendar/index.js +37 -0
  366. package/icons/calendar/index.min.js +1 -0
  367. package/icons/calendar/index.vue +16 -0
  368. package/icons/calendar/package.json +9 -0
  369. package/icons/check/index.cjs.js +35 -0
  370. package/icons/check/index.cjs.min.js +1 -0
  371. package/icons/check/index.d.ts +12 -0
  372. package/icons/check/index.esm.js +29 -0
  373. package/icons/check/index.esm.min.js +1 -0
  374. package/icons/check/index.js +37 -0
  375. package/icons/check/index.min.js +1 -0
  376. package/icons/check/index.vue +16 -0
  377. package/icons/check/package.json +9 -0
  378. package/icons/chevrondown/index.cjs.js +35 -0
  379. package/icons/chevrondown/index.cjs.min.js +1 -0
  380. package/icons/chevrondown/index.d.ts +12 -0
  381. package/icons/chevrondown/index.esm.js +29 -0
  382. package/icons/chevrondown/index.esm.min.js +1 -0
  383. package/icons/chevrondown/index.js +37 -0
  384. package/icons/chevrondown/index.min.js +1 -0
  385. package/icons/chevrondown/index.vue +16 -0
  386. package/icons/chevrondown/package.json +9 -0
  387. package/icons/chevronleft/index.cjs.js +35 -0
  388. package/icons/chevronleft/index.cjs.min.js +1 -0
  389. package/icons/chevronleft/index.d.ts +12 -0
  390. package/icons/chevronleft/index.esm.js +29 -0
  391. package/icons/chevronleft/index.esm.min.js +1 -0
  392. package/icons/chevronleft/index.js +37 -0
  393. package/icons/chevronleft/index.min.js +1 -0
  394. package/icons/chevronleft/index.vue +16 -0
  395. package/icons/chevronleft/package.json +9 -0
  396. package/icons/chevronright/index.cjs.js +35 -0
  397. package/icons/chevronright/index.cjs.min.js +1 -0
  398. package/icons/chevronright/index.d.ts +12 -0
  399. package/icons/chevronright/index.esm.js +29 -0
  400. package/icons/chevronright/index.esm.min.js +1 -0
  401. package/icons/chevronright/index.js +37 -0
  402. package/icons/chevronright/index.min.js +1 -0
  403. package/icons/chevronright/index.vue +16 -0
  404. package/icons/chevronright/package.json +9 -0
  405. package/icons/chevronup/index.cjs.js +35 -0
  406. package/icons/chevronup/index.cjs.min.js +1 -0
  407. package/icons/chevronup/index.d.ts +12 -0
  408. package/icons/chevronup/index.esm.js +29 -0
  409. package/icons/chevronup/index.esm.min.js +1 -0
  410. package/icons/chevronup/index.js +37 -0
  411. package/icons/chevronup/index.min.js +1 -0
  412. package/icons/chevronup/index.vue +16 -0
  413. package/icons/chevronup/package.json +9 -0
  414. package/icons/exclamationtriangle/index.cjs.js +32 -0
  415. package/icons/exclamationtriangle/index.cjs.min.js +1 -0
  416. package/icons/exclamationtriangle/index.d.ts +12 -0
  417. package/icons/exclamationtriangle/index.esm.js +26 -0
  418. package/icons/exclamationtriangle/index.esm.min.js +1 -0
  419. package/icons/exclamationtriangle/index.js +34 -0
  420. package/icons/exclamationtriangle/index.min.js +1 -0
  421. package/icons/exclamationtriangle/index.vue +31 -0
  422. package/icons/exclamationtriangle/package.json +9 -0
  423. package/icons/eye/index.cjs.js +37 -0
  424. package/icons/eye/index.cjs.min.js +1 -0
  425. package/icons/eye/index.d.ts +12 -0
  426. package/icons/eye/index.esm.js +31 -0
  427. package/icons/eye/index.esm.min.js +1 -0
  428. package/icons/eye/index.js +39 -0
  429. package/icons/eye/index.min.js +1 -0
  430. package/icons/eye/index.vue +18 -0
  431. package/icons/eye/package.json +9 -0
  432. package/icons/eyeslash/index.cjs.js +49 -0
  433. package/icons/eyeslash/index.cjs.min.js +1 -0
  434. package/icons/eyeslash/index.d.ts +12 -0
  435. package/icons/eyeslash/index.esm.js +43 -0
  436. package/icons/eyeslash/index.esm.min.js +1 -0
  437. package/icons/eyeslash/index.js +51 -0
  438. package/icons/eyeslash/index.min.js +1 -0
  439. package/icons/eyeslash/index.vue +25 -0
  440. package/icons/eyeslash/package.json +9 -0
  441. package/icons/filter/index.cjs.js +47 -0
  442. package/icons/filter/index.cjs.min.js +1 -0
  443. package/icons/filter/index.d.ts +12 -0
  444. package/icons/filter/index.esm.js +41 -0
  445. package/icons/filter/index.esm.min.js +1 -0
  446. package/icons/filter/index.js +49 -0
  447. package/icons/filter/index.min.js +1 -0
  448. package/icons/filter/index.vue +23 -0
  449. package/icons/filter/package.json +9 -0
  450. package/icons/filterslash/index.cjs.js +49 -0
  451. package/icons/filterslash/index.cjs.min.js +1 -0
  452. package/icons/filterslash/index.d.ts +12 -0
  453. package/icons/filterslash/index.esm.js +43 -0
  454. package/icons/filterslash/index.esm.min.js +1 -0
  455. package/icons/filterslash/index.js +51 -0
  456. package/icons/filterslash/index.min.js +1 -0
  457. package/icons/filterslash/index.vue +25 -0
  458. package/icons/filterslash/package.json +9 -0
  459. package/icons/index.d.ts +12 -0
  460. package/icons/infocircle/index.cjs.js +49 -0
  461. package/icons/infocircle/index.cjs.min.js +1 -0
  462. package/icons/infocircle/index.d.ts +12 -0
  463. package/icons/infocircle/index.esm.js +43 -0
  464. package/icons/infocircle/index.esm.min.js +1 -0
  465. package/icons/infocircle/index.js +51 -0
  466. package/icons/infocircle/index.min.js +1 -0
  467. package/icons/infocircle/index.vue +25 -0
  468. package/icons/infocircle/package.json +9 -0
  469. package/icons/minus/index.cjs.js +35 -0
  470. package/icons/minus/index.cjs.min.js +1 -0
  471. package/icons/minus/index.d.ts +12 -0
  472. package/icons/minus/index.esm.js +29 -0
  473. package/icons/minus/index.esm.min.js +1 -0
  474. package/icons/minus/index.js +37 -0
  475. package/icons/minus/index.min.js +1 -0
  476. package/icons/minus/index.vue +16 -0
  477. package/icons/minus/package.json +9 -0
  478. package/icons/pencil/index.cjs.js +47 -0
  479. package/icons/pencil/index.cjs.min.js +1 -0
  480. package/icons/pencil/index.d.ts +12 -0
  481. package/icons/pencil/index.esm.js +41 -0
  482. package/icons/pencil/index.esm.min.js +1 -0
  483. package/icons/pencil/index.js +49 -0
  484. package/icons/pencil/index.min.js +1 -0
  485. package/icons/pencil/index.vue +23 -0
  486. package/icons/pencil/package.json +9 -0
  487. package/icons/plus/index.cjs.js +47 -0
  488. package/icons/plus/index.cjs.min.js +1 -0
  489. package/icons/plus/index.d.ts +12 -0
  490. package/icons/plus/index.esm.js +41 -0
  491. package/icons/plus/index.esm.min.js +1 -0
  492. package/icons/plus/index.js +49 -0
  493. package/icons/plus/index.min.js +1 -0
  494. package/icons/plus/index.vue +23 -0
  495. package/icons/plus/package.json +9 -0
  496. package/icons/refresh/index.cjs.js +49 -0
  497. package/icons/refresh/index.cjs.min.js +1 -0
  498. package/icons/refresh/index.d.ts +12 -0
  499. package/icons/refresh/index.esm.js +43 -0
  500. package/icons/refresh/index.esm.min.js +1 -0
  501. package/icons/refresh/index.js +51 -0
  502. package/icons/refresh/index.min.js +1 -0
  503. package/icons/refresh/index.vue +25 -0
  504. package/icons/refresh/package.json +9 -0
  505. package/icons/search/index.cjs.js +49 -0
  506. package/icons/search/index.cjs.min.js +1 -0
  507. package/icons/search/index.d.ts +12 -0
  508. package/icons/search/index.esm.js +43 -0
  509. package/icons/search/index.esm.min.js +1 -0
  510. package/icons/search/index.js +51 -0
  511. package/icons/search/index.min.js +1 -0
  512. package/icons/search/index.vue +25 -0
  513. package/icons/search/package.json +9 -0
  514. package/icons/searchminus/index.cjs.js +49 -0
  515. package/icons/searchminus/index.cjs.min.js +1 -0
  516. package/icons/searchminus/index.d.ts +12 -0
  517. package/icons/searchminus/index.esm.js +43 -0
  518. package/icons/searchminus/index.esm.min.js +1 -0
  519. package/icons/searchminus/index.js +51 -0
  520. package/icons/searchminus/index.min.js +1 -0
  521. package/icons/searchminus/index.vue +25 -0
  522. package/icons/searchminus/package.json +9 -0
  523. package/icons/searchplus/index.cjs.js +49 -0
  524. package/icons/searchplus/index.cjs.min.js +1 -0
  525. package/icons/searchplus/index.d.ts +12 -0
  526. package/icons/searchplus/index.esm.js +43 -0
  527. package/icons/searchplus/index.esm.min.js +1 -0
  528. package/icons/searchplus/index.js +51 -0
  529. package/icons/searchplus/index.min.js +1 -0
  530. package/icons/searchplus/index.vue +25 -0
  531. package/icons/searchplus/package.json +9 -0
  532. package/icons/sortalt/index.cjs.js +32 -0
  533. package/icons/sortalt/index.cjs.min.js +1 -0
  534. package/icons/sortalt/index.d.ts +12 -0
  535. package/icons/sortalt/index.esm.js +26 -0
  536. package/icons/sortalt/index.esm.min.js +1 -0
  537. package/icons/sortalt/index.js +34 -0
  538. package/icons/sortalt/index.min.js +1 -0
  539. package/icons/sortalt/index.vue +29 -0
  540. package/icons/sortalt/package.json +9 -0
  541. package/icons/sortamountdown/index.cjs.js +32 -0
  542. package/icons/sortamountdown/index.cjs.min.js +1 -0
  543. package/icons/sortamountdown/index.d.ts +12 -0
  544. package/icons/sortamountdown/index.esm.js +26 -0
  545. package/icons/sortamountdown/index.esm.min.js +1 -0
  546. package/icons/sortamountdown/index.js +34 -0
  547. package/icons/sortamountdown/index.min.js +1 -0
  548. package/icons/sortamountdown/index.vue +43 -0
  549. package/icons/sortamountdown/package.json +9 -0
  550. package/icons/sortamountupalt/index.cjs.js +32 -0
  551. package/icons/sortamountupalt/index.cjs.min.js +1 -0
  552. package/icons/sortamountupalt/index.d.ts +12 -0
  553. package/icons/sortamountupalt/index.esm.js +26 -0
  554. package/icons/sortamountupalt/index.esm.min.js +1 -0
  555. package/icons/sortamountupalt/index.js +34 -0
  556. package/icons/sortamountupalt/index.min.js +1 -0
  557. package/icons/sortamountupalt/index.vue +43 -0
  558. package/icons/sortamountupalt/package.json +9 -0
  559. package/icons/spinner/index.cjs.js +47 -0
  560. package/icons/spinner/index.cjs.min.js +1 -0
  561. package/icons/spinner/index.d.ts +12 -0
  562. package/icons/spinner/index.esm.js +41 -0
  563. package/icons/spinner/index.esm.min.js +1 -0
  564. package/icons/spinner/index.js +49 -0
  565. package/icons/spinner/index.min.js +1 -0
  566. package/icons/spinner/index.vue +23 -0
  567. package/icons/spinner/package.json +9 -0
  568. package/icons/star/index.cjs.js +47 -0
  569. package/icons/star/index.cjs.min.js +1 -0
  570. package/icons/star/index.d.ts +12 -0
  571. package/icons/star/index.esm.js +41 -0
  572. package/icons/star/index.esm.min.js +1 -0
  573. package/icons/star/index.js +49 -0
  574. package/icons/star/index.min.js +1 -0
  575. package/icons/star/index.vue +23 -0
  576. package/icons/star/package.json +9 -0
  577. package/icons/starfill/index.cjs.js +47 -0
  578. package/icons/starfill/index.cjs.min.js +1 -0
  579. package/icons/starfill/index.d.ts +12 -0
  580. package/icons/starfill/index.esm.js +41 -0
  581. package/icons/starfill/index.esm.min.js +1 -0
  582. package/icons/starfill/index.js +49 -0
  583. package/icons/starfill/index.min.js +1 -0
  584. package/icons/starfill/index.vue +23 -0
  585. package/icons/starfill/package.json +9 -0
  586. package/icons/thlarge/index.cjs.js +49 -0
  587. package/icons/thlarge/index.cjs.min.js +1 -0
  588. package/icons/thlarge/index.d.ts +12 -0
  589. package/icons/thlarge/index.esm.js +43 -0
  590. package/icons/thlarge/index.esm.min.js +1 -0
  591. package/icons/thlarge/index.js +51 -0
  592. package/icons/thlarge/index.min.js +1 -0
  593. package/icons/thlarge/index.vue +25 -0
  594. package/icons/thlarge/package.json +9 -0
  595. package/icons/times/index.cjs.js +35 -0
  596. package/icons/times/index.cjs.min.js +1 -0
  597. package/icons/times/index.d.ts +12 -0
  598. package/icons/times/index.esm.js +29 -0
  599. package/icons/times/index.esm.min.js +1 -0
  600. package/icons/times/index.js +37 -0
  601. package/icons/times/index.min.js +1 -0
  602. package/icons/times/index.vue +16 -0
  603. package/icons/times/package.json +9 -0
  604. package/icons/timescircle/index.cjs.js +49 -0
  605. package/icons/timescircle/index.cjs.min.js +1 -0
  606. package/icons/timescircle/index.d.ts +12 -0
  607. package/icons/timescircle/index.esm.js +43 -0
  608. package/icons/timescircle/index.esm.min.js +1 -0
  609. package/icons/timescircle/index.js +51 -0
  610. package/icons/timescircle/index.min.js +1 -0
  611. package/icons/timescircle/index.vue +25 -0
  612. package/icons/timescircle/package.json +9 -0
  613. package/icons/trash/index.cjs.js +49 -0
  614. package/icons/trash/index.cjs.min.js +1 -0
  615. package/icons/trash/index.d.ts +12 -0
  616. package/icons/trash/index.esm.js +43 -0
  617. package/icons/trash/index.esm.min.js +1 -0
  618. package/icons/trash/index.js +51 -0
  619. package/icons/trash/index.min.js +1 -0
  620. package/icons/trash/index.vue +25 -0
  621. package/icons/trash/package.json +9 -0
  622. package/icons/undo/index.cjs.js +49 -0
  623. package/icons/undo/index.cjs.min.js +1 -0
  624. package/icons/undo/index.d.ts +12 -0
  625. package/icons/undo/index.esm.js +43 -0
  626. package/icons/undo/index.esm.min.js +1 -0
  627. package/icons/undo/index.js +51 -0
  628. package/icons/undo/index.min.js +1 -0
  629. package/icons/undo/index.vue +25 -0
  630. package/icons/undo/package.json +9 -0
  631. package/icons/upload/index.cjs.js +49 -0
  632. package/icons/upload/index.cjs.min.js +1 -0
  633. package/icons/upload/index.d.ts +12 -0
  634. package/icons/upload/index.esm.js +43 -0
  635. package/icons/upload/index.esm.min.js +1 -0
  636. package/icons/upload/index.js +51 -0
  637. package/icons/upload/index.min.js +1 -0
  638. package/icons/upload/index.vue +25 -0
  639. package/icons/upload/package.json +9 -0
  640. package/icons/windowmaximize/index.cjs.js +49 -0
  641. package/icons/windowmaximize/index.cjs.min.js +1 -0
  642. package/icons/windowmaximize/index.d.ts +12 -0
  643. package/icons/windowmaximize/index.esm.js +43 -0
  644. package/icons/windowmaximize/index.esm.min.js +1 -0
  645. package/icons/windowmaximize/index.js +51 -0
  646. package/icons/windowmaximize/index.min.js +1 -0
  647. package/icons/windowmaximize/index.vue +25 -0
  648. package/icons/windowmaximize/package.json +9 -0
  649. package/icons/windowminimize/index.cjs.js +49 -0
  650. package/icons/windowminimize/index.cjs.min.js +1 -0
  651. package/icons/windowminimize/index.d.ts +12 -0
  652. package/icons/windowminimize/index.esm.js +43 -0
  653. package/icons/windowminimize/index.esm.min.js +1 -0
  654. package/icons/windowminimize/index.js +51 -0
  655. package/icons/windowminimize/index.min.js +1 -0
  656. package/icons/windowminimize/index.vue +25 -0
  657. package/icons/windowminimize/package.json +9 -0
  658. package/image/Image.d.ts +25 -0
  659. package/image/Image.vue +38 -12
  660. package/image/image.cjs.js +68 -42
  661. package/image/image.cjs.min.js +1 -1
  662. package/image/image.esm.js +63 -43
  663. package/image/image.esm.min.js +1 -1
  664. package/image/image.js +64 -44
  665. package/image/image.min.js +1 -1
  666. package/inlinemessage/InlineMessage.d.ts +10 -1
  667. package/inlinemessage/InlineMessage.vue +19 -11
  668. package/inlinemessage/inlinemessage.cjs.js +27 -13
  669. package/inlinemessage/inlinemessage.cjs.min.js +1 -1
  670. package/inlinemessage/inlinemessage.esm.js +21 -14
  671. package/inlinemessage/inlinemessage.esm.min.js +1 -1
  672. package/inlinemessage/inlinemessage.js +25 -15
  673. package/inlinemessage/inlinemessage.min.js +1 -1
  674. package/inplace/Inplace.d.ts +5 -1
  675. package/inplace/Inplace.vue +11 -3
  676. package/inplace/inplace.cjs.js +15 -4
  677. package/inplace/inplace.cjs.min.js +1 -1
  678. package/inplace/inplace.esm.js +15 -5
  679. package/inplace/inplace.esm.min.js +1 -1
  680. package/inplace/inplace.js +16 -6
  681. package/inplace/inplace.min.js +1 -1
  682. package/inputnumber/InputNumber.d.ts +13 -4
  683. package/inputnumber/InputNumber.vue +35 -7
  684. package/inputnumber/inputnumber.cjs.js +53 -19
  685. package/inputnumber/inputnumber.cjs.min.js +1 -1
  686. package/inputnumber/inputnumber.esm.js +52 -20
  687. package/inputnumber/inputnumber.esm.min.js +1 -1
  688. package/inputnumber/inputnumber.js +53 -21
  689. package/inputnumber/inputnumber.min.js +1 -1
  690. package/listbox/Listbox.d.ts +6 -2
  691. package/listbox/Listbox.vue +8 -3
  692. package/listbox/listbox.cjs.js +10 -5
  693. package/listbox/listbox.cjs.min.js +1 -1
  694. package/listbox/listbox.esm.js +10 -6
  695. package/listbox/listbox.esm.min.js +1 -1
  696. package/listbox/listbox.js +11 -7
  697. package/listbox/listbox.min.js +1 -1
  698. package/megamenu/MegaMenu.d.ts +23 -0
  699. package/megamenu/MegaMenu.vue +1 -1
  700. package/megamenu/MegaMenuSub.vue +19 -11
  701. package/megamenu/megamenu.cjs.js +48 -23
  702. package/megamenu/megamenu.cjs.min.js +1 -1
  703. package/megamenu/megamenu.esm.js +46 -23
  704. package/megamenu/megamenu.esm.min.js +1 -1
  705. package/megamenu/megamenu.js +48 -25
  706. package/megamenu/megamenu.min.js +1 -1
  707. package/menu/Menu.d.ts +14 -0
  708. package/menu/Menu.vue +2 -2
  709. package/menu/Menuitem.vue +12 -5
  710. package/menu/menu.cjs.js +34 -17
  711. package/menu/menu.cjs.min.js +1 -1
  712. package/menu/menu.esm.js +35 -18
  713. package/menu/menu.esm.min.js +1 -1
  714. package/menu/menu.js +34 -17
  715. package/menu/menu.min.js +1 -1
  716. package/menubar/Menubar.d.ts +31 -0
  717. package/menubar/Menubar.vue +7 -3
  718. package/menubar/MenubarSub.vue +19 -11
  719. package/menubar/menubar.cjs.js +65 -35
  720. package/menubar/menubar.cjs.min.js +1 -1
  721. package/menubar/menubar.esm.js +63 -36
  722. package/menubar/menubar.esm.min.js +1 -1
  723. package/menubar/menubar.js +64 -37
  724. package/menubar/menubar.min.js +1 -1
  725. package/message/Message.d.ts +21 -2
  726. package/message/Message.vue +30 -18
  727. package/message/message.cjs.js +45 -22
  728. package/message/message.cjs.min.js +1 -1
  729. package/message/message.esm.js +41 -23
  730. package/message/message.esm.min.js +1 -1
  731. package/message/message.js +42 -24
  732. package/message/message.min.js +1 -1
  733. package/multiselect/MultiSelect.d.ts +86 -7
  734. package/multiselect/MultiSelect.vue +44 -19
  735. package/multiselect/multiselect.cjs.js +99 -34
  736. package/multiselect/multiselect.cjs.min.js +1 -1
  737. package/multiselect/multiselect.esm.js +94 -35
  738. package/multiselect/multiselect.esm.min.js +1 -1
  739. package/multiselect/multiselect.js +95 -36
  740. package/multiselect/multiselect.min.js +1 -1
  741. package/orderlist/OrderList.d.ts +16 -0
  742. package/orderlist/OrderList.vue +37 -5
  743. package/orderlist/orderlist.cjs.js +49 -9
  744. package/orderlist/orderlist.cjs.min.js +1 -1
  745. package/orderlist/orderlist.esm.js +46 -10
  746. package/orderlist/orderlist.esm.min.js +1 -1
  747. package/orderlist/orderlist.js +47 -11
  748. package/orderlist/orderlist.min.js +1 -1
  749. package/organizationchart/OrganizationChart.d.ts +10 -0
  750. package/organizationchart/OrganizationChartNode.vue +8 -1
  751. package/organizationchart/organizationchart.cjs.js +21 -3
  752. package/organizationchart/organizationchart.cjs.min.js +1 -1
  753. package/organizationchart/organizationchart.esm.js +16 -3
  754. package/organizationchart/organizationchart.esm.min.js +1 -1
  755. package/organizationchart/organizationchart.js +21 -5
  756. package/organizationchart/organizationchart.min.js +1 -1
  757. package/overlaypanel/OverlayPanel.d.ts +9 -0
  758. package/overlaypanel/OverlayPanel.vue +10 -2
  759. package/overlaypanel/overlaypanel.cjs.js +15 -6
  760. package/overlaypanel/overlaypanel.cjs.min.js +1 -1
  761. package/overlaypanel/overlaypanel.esm.js +15 -7
  762. package/overlaypanel/overlaypanel.esm.min.js +1 -1
  763. package/overlaypanel/overlaypanel.js +16 -8
  764. package/overlaypanel/overlaypanel.min.js +1 -1
  765. package/package.json +2 -3
  766. package/paginator/FirstPageLink.vue +11 -1
  767. package/paginator/LastPageLink.vue +11 -1
  768. package/paginator/NextPageLink.vue +11 -1
  769. package/paginator/Paginator.d.ts +17 -1
  770. package/paginator/Paginator.vue +4 -4
  771. package/paginator/PrevPageLink.vue +11 -1
  772. package/paginator/paginator.cjs.js +70 -34
  773. package/paginator/paginator.cjs.min.js +1 -1
  774. package/paginator/paginator.esm.js +67 -35
  775. package/paginator/paginator.esm.min.js +1 -1
  776. package/paginator/paginator.js +68 -36
  777. package/paginator/paginator.min.js +1 -1
  778. package/panel/Panel.d.ts +91 -0
  779. package/panel/Panel.vue +21 -8
  780. package/panel/panel.cjs.js +40 -26
  781. package/panel/panel.cjs.min.js +1 -1
  782. package/panel/panel.esm.js +38 -27
  783. package/panel/panel.esm.min.js +1 -1
  784. package/panel/panel.js +39 -28
  785. package/panel/panel.min.js +1 -1
  786. package/panelmenu/PanelMenu.d.ts +37 -0
  787. package/panelmenu/PanelMenu.vue +13 -8
  788. package/panelmenu/PanelMenuList.vue +3 -3
  789. package/panelmenu/PanelMenuSub.vue +19 -11
  790. package/panelmenu/panelmenu.cjs.js +80 -42
  791. package/panelmenu/panelmenu.cjs.min.js +1 -1
  792. package/panelmenu/panelmenu.esm.js +79 -43
  793. package/panelmenu/panelmenu.esm.min.js +1 -1
  794. package/panelmenu/panelmenu.js +80 -44
  795. package/panelmenu/panelmenu.min.js +1 -1
  796. package/password/Password.d.ts +20 -2
  797. package/password/Password.vue +13 -7
  798. package/password/password.cjs.js +30 -12
  799. package/password/password.cjs.min.js +1 -1
  800. package/password/password.esm.js +29 -13
  801. package/password/password.esm.min.js +1 -1
  802. package/password/password.js +30 -14
  803. package/password/password.min.js +1 -1
  804. package/picklist/PickList.d.ts +56 -0
  805. package/picklist/PickList.vue +134 -30
  806. package/picklist/picklist.cjs.js +166 -58
  807. package/picklist/picklist.cjs.min.js +1 -1
  808. package/picklist/picklist.esm.js +159 -59
  809. package/picklist/picklist.esm.min.js +1 -1
  810. package/picklist/picklist.js +160 -60
  811. package/picklist/picklist.min.js +1 -1
  812. package/rating/Rating.d.ts +3 -3
  813. package/rating/Rating.vue +14 -15
  814. package/rating/rating.cjs.js +26 -21
  815. package/rating/rating.cjs.min.js +1 -1
  816. package/rating/rating.esm.js +21 -22
  817. package/rating/rating.esm.min.js +1 -1
  818. package/rating/rating.js +25 -23
  819. package/rating/rating.min.js +1 -1
  820. package/resources/primevue.css +3 -1
  821. package/resources/primevue.min.css +1 -1
  822. package/resources/themes/arya-blue/theme.css +80 -1
  823. package/resources/themes/arya-green/theme.css +80 -1
  824. package/resources/themes/arya-orange/theme.css +80 -1
  825. package/resources/themes/arya-purple/theme.css +80 -1
  826. package/resources/themes/bootstrap4-dark-blue/theme.css +80 -1
  827. package/resources/themes/bootstrap4-dark-purple/theme.css +80 -1
  828. package/resources/themes/bootstrap4-light-blue/theme.css +80 -1
  829. package/resources/themes/bootstrap4-light-purple/theme.css +80 -1
  830. package/resources/themes/fluent-light/theme.css +80 -1
  831. package/resources/themes/lara-dark-blue/theme.css +80 -1
  832. package/resources/themes/lara-dark-indigo/theme.css +80 -1
  833. package/resources/themes/lara-dark-purple/theme.css +80 -1
  834. package/resources/themes/lara-dark-teal/theme.css +80 -1
  835. package/resources/themes/lara-light-blue/theme.css +80 -1
  836. package/resources/themes/lara-light-indigo/theme.css +80 -1
  837. package/resources/themes/lara-light-purple/theme.css +80 -1
  838. package/resources/themes/lara-light-teal/theme.css +80 -1
  839. package/resources/themes/luna-amber/theme.css +80 -1
  840. package/resources/themes/luna-blue/theme.css +80 -1
  841. package/resources/themes/luna-green/theme.css +80 -1
  842. package/resources/themes/luna-pink/theme.css +80 -1
  843. package/resources/themes/md-dark-deeppurple/theme.css +80 -1
  844. package/resources/themes/md-dark-indigo/theme.css +80 -1
  845. package/resources/themes/md-light-deeppurple/theme.css +80 -1
  846. package/resources/themes/md-light-indigo/theme.css +80 -1
  847. package/resources/themes/mdc-dark-deeppurple/theme.css +80 -1
  848. package/resources/themes/mdc-dark-indigo/theme.css +80 -1
  849. package/resources/themes/mdc-light-deeppurple/theme.css +80 -1
  850. package/resources/themes/mdc-light-indigo/theme.css +80 -1
  851. package/resources/themes/mira/theme.css +80 -1
  852. package/resources/themes/nano/theme.css +80 -1
  853. package/resources/themes/nova/theme.css +80 -1
  854. package/resources/themes/nova-accent/theme.css +80 -1
  855. package/resources/themes/nova-alt/theme.css +80 -1
  856. package/resources/themes/nova-vue/theme.css +80 -1
  857. package/resources/themes/rhea/theme.css +80 -1
  858. package/resources/themes/saga-blue/theme.css +80 -1
  859. package/resources/themes/saga-green/theme.css +80 -1
  860. package/resources/themes/saga-orange/theme.css +80 -1
  861. package/resources/themes/saga-purple/theme.css +80 -1
  862. package/resources/themes/soho-dark/theme.css +80 -1
  863. package/resources/themes/soho-light/theme.css +80 -1
  864. package/resources/themes/tailwind-light/theme.css +80 -1
  865. package/resources/themes/vela-blue/theme.css +80 -1
  866. package/resources/themes/vela-green/theme.css +80 -1
  867. package/resources/themes/vela-orange/theme.css +80 -1
  868. package/resources/themes/vela-purple/theme.css +80 -1
  869. package/resources/themes/viva-dark/theme.css +80 -1
  870. package/resources/themes/viva-light/theme.css +80 -1
  871. package/scrollpanel/ScrollPanel.d.ts +74 -0
  872. package/scrollpanel/ScrollPanel.vue +7 -3
  873. package/scrollpanel/scrollpanel.cjs.js +19 -15
  874. package/scrollpanel/scrollpanel.cjs.min.js +1 -1
  875. package/scrollpanel/scrollpanel.esm.js +16 -16
  876. package/scrollpanel/scrollpanel.esm.min.js +1 -1
  877. package/scrollpanel/scrollpanel.js +20 -17
  878. package/scrollpanel/scrollpanel.min.js +1 -1
  879. package/scrolltop/ScrollTop.d.ts +8 -2
  880. package/scrolltop/ScrollTop.vue +8 -6
  881. package/scrolltop/scrolltop.cjs.js +15 -8
  882. package/scrolltop/scrolltop.cjs.min.js +1 -1
  883. package/scrolltop/scrolltop.esm.js +12 -9
  884. package/scrolltop/scrolltop.esm.min.js +1 -1
  885. package/scrolltop/scrolltop.js +16 -10
  886. package/scrolltop/scrolltop.min.js +1 -1
  887. package/sidebar/Sidebar.d.ts +5 -1
  888. package/sidebar/Sidebar.vue +7 -3
  889. package/sidebar/sidebar.cjs.js +10 -5
  890. package/sidebar/sidebar.cjs.min.js +1 -1
  891. package/sidebar/sidebar.esm.js +10 -6
  892. package/sidebar/sidebar.esm.min.js +1 -1
  893. package/sidebar/sidebar.js +11 -7
  894. package/sidebar/sidebar.min.js +1 -1
  895. package/speeddial/SpeedDial.d.ts +12 -1
  896. package/speeddial/SpeedDial.vue +16 -8
  897. package/speeddial/speeddial.cjs.js +25 -8
  898. package/speeddial/speeddial.cjs.min.js +1 -1
  899. package/speeddial/speeddial.esm.js +25 -9
  900. package/speeddial/speeddial.esm.min.js +1 -1
  901. package/speeddial/speeddial.js +26 -10
  902. package/speeddial/speeddial.min.js +1 -1
  903. package/splitbutton/SplitButton.d.ts +11 -1
  904. package/splitbutton/SplitButton.vue +18 -5
  905. package/splitbutton/splitbutton.cjs.js +27 -8
  906. package/splitbutton/splitbutton.cjs.min.js +1 -1
  907. package/splitbutton/splitbutton.esm.js +27 -9
  908. package/splitbutton/splitbutton.esm.min.js +1 -1
  909. package/splitbutton/splitbutton.js +28 -10
  910. package/splitbutton/splitbutton.min.js +1 -1
  911. package/splitter/Splitter.d.ts +51 -0
  912. package/splitter/Splitter.vue +5 -2
  913. package/splitter/splitter.cjs.js +14 -10
  914. package/splitter/splitter.cjs.min.js +1 -1
  915. package/splitter/splitter.esm.js +11 -11
  916. package/splitter/splitter.esm.min.js +1 -1
  917. package/splitter/splitter.js +15 -12
  918. package/splitter/splitter.min.js +1 -1
  919. package/splitterpanel/SplitterPanel.d.ts +32 -0
  920. package/splitterpanel/SplitterPanel.vue +4 -1
  921. package/splitterpanel/splitterpanel.cjs.js +10 -4
  922. package/splitterpanel/splitterpanel.cjs.min.js +1 -1
  923. package/splitterpanel/splitterpanel.esm.js +7 -5
  924. package/splitterpanel/splitterpanel.esm.min.js +1 -1
  925. package/splitterpanel/splitterpanel.js +11 -6
  926. package/splitterpanel/splitterpanel.min.js +1 -1
  927. package/tabmenu/TabMenu.d.ts +14 -0
  928. package/tabmenu/TabMenu.vue +4 -2
  929. package/tabmenu/tabmenu.cjs.js +20 -8
  930. package/tabmenu/tabmenu.cjs.min.js +1 -1
  931. package/tabmenu/tabmenu.esm.js +21 -9
  932. package/tabmenu/tabmenu.esm.min.js +1 -1
  933. package/tabmenu/tabmenu.js +20 -8
  934. package/tabmenu/tabmenu.min.js +1 -1
  935. package/tabpanel/TabPanel.d.ts +52 -2
  936. package/tabpanel/TabPanel.vue +2 -0
  937. package/tabpanel/tabpanel.cjs.js +6 -0
  938. package/tabpanel/tabpanel.cjs.min.js +1 -1
  939. package/tabpanel/tabpanel.esm.js +2 -0
  940. package/tabpanel/tabpanel.esm.min.js +1 -1
  941. package/tabpanel/tabpanel.js +7 -2
  942. package/tabpanel/tabpanel.min.js +1 -1
  943. package/tabview/TabView.d.ts +108 -3
  944. package/tabview/TabView.vue +52 -15
  945. package/tabview/tabview.cjs.js +81 -60
  946. package/tabview/tabview.cjs.min.js +1 -1
  947. package/tabview/tabview.esm.js +79 -61
  948. package/tabview/tabview.esm.min.js +1 -1
  949. package/tabview/tabview.js +80 -62
  950. package/tabview/tabview.min.js +1 -1
  951. package/tag/Tag.d.ts +6 -1
  952. package/tag/Tag.vue +2 -1
  953. package/tag/tag.cjs.js +10 -5
  954. package/tag/tag.cjs.min.js +1 -1
  955. package/tag/tag.esm.js +11 -6
  956. package/tag/tag.esm.min.js +1 -1
  957. package/tag/tag.js +10 -5
  958. package/tag/tag.min.js +1 -1
  959. package/tieredmenu/TieredMenu.d.ts +23 -0
  960. package/tieredmenu/TieredMenu.vue +1 -1
  961. package/tieredmenu/TieredMenuSub.vue +17 -8
  962. package/tieredmenu/tieredmenu.cjs.js +49 -24
  963. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  964. package/tieredmenu/tieredmenu.esm.js +49 -25
  965. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  966. package/tieredmenu/tieredmenu.js +50 -26
  967. package/tieredmenu/tieredmenu.min.js +1 -1
  968. package/toast/Toast.d.ts +14 -5
  969. package/toast/Toast.vue +6 -6
  970. package/toast/ToastMessage.vue +26 -7
  971. package/toast/toast.cjs.js +42 -17
  972. package/toast/toast.cjs.min.js +1 -1
  973. package/toast/toast.esm.js +38 -18
  974. package/toast/toast.esm.min.js +1 -1
  975. package/toast/toast.js +39 -19
  976. package/toast/toast.min.js +1 -1
  977. package/togglebutton/ToggleButton.d.ts +18 -2
  978. package/togglebutton/ToggleButton.vue +4 -2
  979. package/togglebutton/togglebutton.cjs.js +12 -7
  980. package/togglebutton/togglebutton.cjs.min.js +1 -1
  981. package/togglebutton/togglebutton.esm.js +13 -8
  982. package/togglebutton/togglebutton.esm.min.js +1 -1
  983. package/togglebutton/togglebutton.js +12 -7
  984. package/togglebutton/togglebutton.min.js +1 -1
  985. package/toolbar/Toolbar.d.ts +44 -0
  986. package/toolbar/Toolbar.vue +6 -4
  987. package/toolbar/toolbar.cjs.js +15 -12
  988. package/toolbar/toolbar.cjs.min.js +1 -1
  989. package/toolbar/toolbar.esm.js +12 -13
  990. package/toolbar/toolbar.esm.min.js +1 -1
  991. package/toolbar/toolbar.js +16 -14
  992. package/toolbar/toolbar.min.js +1 -1
  993. package/tree/Tree.d.ts +35 -5
  994. package/tree/Tree.vue +13 -7
  995. package/tree/TreeNode.vue +20 -9
  996. package/tree/tree.cjs.js +73 -25
  997. package/tree/tree.cjs.min.js +1 -1
  998. package/tree/tree.esm.js +68 -26
  999. package/tree/tree.esm.min.js +1 -1
  1000. package/tree/tree.js +69 -27
  1001. package/tree/tree.min.js +1 -1
  1002. package/treeselect/TreeSelect.d.ts +34 -0
  1003. package/treeselect/TreeSelect.vue +20 -6
  1004. package/treeselect/treeselect.cjs.js +44 -11
  1005. package/treeselect/treeselect.cjs.min.js +1 -1
  1006. package/treeselect/treeselect.esm.js +44 -12
  1007. package/treeselect/treeselect.esm.min.js +1 -1
  1008. package/treeselect/treeselect.js +45 -13
  1009. package/treeselect/treeselect.min.js +1 -1
  1010. package/treetable/BodyCell.vue +22 -11
  1011. package/treetable/HeaderCell.vue +28 -13
  1012. package/treetable/TreeTable.d.ts +44 -3
  1013. package/treetable/TreeTable.vue +32 -6
  1014. package/treetable/TreeTableRow.vue +6 -0
  1015. package/treetable/treetable.cjs.js +176 -41
  1016. package/treetable/treetable.cjs.min.js +1 -1
  1017. package/treetable/treetable.esm.js +168 -41
  1018. package/treetable/treetable.esm.min.js +1 -1
  1019. package/treetable/treetable.js +170 -43
  1020. package/treetable/treetable.min.js +1 -1
  1021. package/tristatecheckbox/TriStateCheckbox.d.ts +16 -2
  1022. package/tristatecheckbox/TriStateCheckbox.vue +16 -20
  1023. package/tristatecheckbox/tristatecheckbox.cjs.js +23 -22
  1024. package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
  1025. package/tristatecheckbox/tristatecheckbox.esm.js +19 -23
  1026. package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
  1027. package/tristatecheckbox/tristatecheckbox.js +23 -24
  1028. package/tristatecheckbox/tristatecheckbox.min.js +1 -1
  1029. package/utils/Utils.d.ts +1 -0
  1030. package/utils/utils.cjs.js +5 -0
  1031. package/utils/utils.cjs.min.js +1 -1
  1032. package/utils/utils.esm.js +5 -0
  1033. package/utils/utils.esm.min.js +1 -1
  1034. package/utils/utils.js +5 -0
  1035. package/utils/utils.min.js +1 -1
  1036. package/vetur-attributes.json +148 -8
  1037. package/vetur-tags.json +64 -24
  1038. package/virtualscroller/VirtualScroller.d.ts +4 -0
  1039. package/virtualscroller/VirtualScroller.vue +13 -2
  1040. package/virtualscroller/virtualscroller.cjs.js +19 -7
  1041. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  1042. package/virtualscroller/virtualscroller.esm.js +16 -8
  1043. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  1044. package/virtualscroller/virtualscroller.js +20 -9
  1045. package/virtualscroller/virtualscroller.min.js +1 -1
  1046. package/web-types.json +1343 -136
  1047. package/fullcalendar/FullCalendar.d.ts +0 -34
  1048. package/fullcalendar/FullCalendar.vue +0 -64
  1049. package/fullcalendar/fullcalendar.cjs.js +0 -67
  1050. package/fullcalendar/fullcalendar.cjs.min.js +0 -1
  1051. package/fullcalendar/fullcalendar.esm.js +0 -65
  1052. package/fullcalendar/fullcalendar.esm.min.js +0 -1
  1053. package/fullcalendar/fullcalendar.js +0 -67
  1054. package/fullcalendar/fullcalendar.min.js +0 -1
  1055. package/fullcalendar/package.json +0 -9
@@ -1 +1 @@
1
- import{FilterMatchMode as e}from"primevue/api";import{reactive as t,inject as o}from"vue";const a={ripple:!1,inputStyle:"outlined",locale:{startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",completed:"Completed",pending:"Pending",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",today:"Today",weekHeader:"Wk",firstDayOfWeek:0,dateFormat:"mm/dd/yy",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyFilterMessage:"No results found",searchMessage:"{0} results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyMessage:"No available options",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"{page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left"}},filterMatchModeOptions:{text:[e.STARTS_WITH,e.CONTAINS,e.NOT_CONTAINS,e.ENDS_WITH,e.EQUALS,e.NOT_EQUALS],numeric:[e.EQUALS,e.NOT_EQUALS,e.LESS_THAN,e.LESS_THAN_OR_EQUAL_TO,e.GREATER_THAN,e.GREATER_THAN_OR_EQUAL_TO],date:[e.DATE_IS,e.DATE_IS_NOT,e.DATE_BEFORE,e.DATE_AFTER]},zIndex:{modal:1100,overlay:1e3,menu:1e3,tooltip:1100}},r=Symbol();function l(){const e=o(r);if(!e)throw new Error("PrimeVue is not installed!");return e}function s(e,t,o,a){const r=document.getElementById(o),l=r.cloneNode(!0),s=r.getAttribute("href").replace(e,t);l.setAttribute("id",o+"-clone"),l.setAttribute("href",s),l.addEventListener("load",(()=>{r.remove(),l.setAttribute("id",o),a&&a()})),r.parentNode?.insertBefore(l,r.nextSibling)}var n={install:(e,o)=>{let l=o?{...a,...o}:{...a};const n={config:t(l),changeTheme:s};e.config.globalProperties.$primevue=n,e.provide(r,n)}};export{n as default,l as usePrimeVue};
1
+ import{FilterMatchMode as e}from"primevue/api";import{reactive as t,inject as o}from"vue";const a={ripple:!1,inputStyle:"outlined",locale:{startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",completed:"Completed",pending:"Pending",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",today:"Today",weekHeader:"Wk",firstDayOfWeek:0,dateFormat:"mm/dd/yy",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyFilterMessage:"No results found",searchMessage:"{0} results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyMessage:"No available options",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"{page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left"}},filterMatchModeOptions:{text:[e.STARTS_WITH,e.CONTAINS,e.NOT_CONTAINS,e.ENDS_WITH,e.EQUALS,e.NOT_EQUALS],numeric:[e.EQUALS,e.NOT_EQUALS,e.LESS_THAN,e.LESS_THAN_OR_EQUAL_TO,e.GREATER_THAN,e.GREATER_THAN_OR_EQUAL_TO],date:[e.DATE_IS,e.DATE_IS_NOT,e.DATE_BEFORE,e.DATE_AFTER]},zIndex:{modal:1100,overlay:1e3,menu:1e3,tooltip:1100}},r=Symbol();function l(){const e=o(r);if(!e)throw new Error("PrimeVue is not installed!");return e}function s(e,t,o,a){const r=document.getElementById(o),l=r.cloneNode(!0),s=r.getAttribute("href").replace(e,t);l.setAttribute("id",o+"-clone"),l.setAttribute("href",s),l.addEventListener("load",(()=>{r.remove(),l.setAttribute("id",o),a&&a()})),r.parentNode&&r.parentNode.insertBefore(l,r.nextSibling)}var n={install:(e,o)=>{let l=o?{...a,...o}:{...a};const n={config:t(l),changeTheme:s};e.config.globalProperties.$primevue=n,e.provide(r,n)}};export{n as default,l as usePrimeVue};
package/config/config.js CHANGED
@@ -161,7 +161,7 @@ this.primevue.config = (function (exports, api, vue) {
161
161
  callback();
162
162
  }
163
163
  });
164
- linkElement.parentNode?.insertBefore(cloneLinkElement, linkElement.nextSibling);
164
+ linkElement.parentNode && linkElement.parentNode.insertBefore(cloneLinkElement, linkElement.nextSibling);
165
165
  }
166
166
 
167
167
  var PrimeVue = {
@@ -1 +1 @@
1
- this.primevue=this.primevue||{},this.primevue.config=function(e,t,o){"use strict";const a={ripple:!1,inputStyle:"outlined",locale:{startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",completed:"Completed",pending:"Pending",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",today:"Today",weekHeader:"Wk",firstDayOfWeek:0,dateFormat:"mm/dd/yy",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyFilterMessage:"No results found",searchMessage:"{0} results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyMessage:"No available options",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"{page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left"}},filterMatchModeOptions:{text:[t.FilterMatchMode.STARTS_WITH,t.FilterMatchMode.CONTAINS,t.FilterMatchMode.NOT_CONTAINS,t.FilterMatchMode.ENDS_WITH,t.FilterMatchMode.EQUALS,t.FilterMatchMode.NOT_EQUALS],numeric:[t.FilterMatchMode.EQUALS,t.FilterMatchMode.NOT_EQUALS,t.FilterMatchMode.LESS_THAN,t.FilterMatchMode.LESS_THAN_OR_EQUAL_TO,t.FilterMatchMode.GREATER_THAN,t.FilterMatchMode.GREATER_THAN_OR_EQUAL_TO],date:[t.FilterMatchMode.DATE_IS,t.FilterMatchMode.DATE_IS_NOT,t.FilterMatchMode.DATE_BEFORE,t.FilterMatchMode.DATE_AFTER]},zIndex:{modal:1100,overlay:1e3,menu:1e3,tooltip:1100}},r=Symbol();function l(e,t,o,a){const r=document.getElementById(o),l=r.cloneNode(!0),i=r.getAttribute("href").replace(e,t);l.setAttribute("id",o+"-clone"),l.setAttribute("href",i),l.addEventListener("load",(()=>{r.remove(),l.setAttribute("id",o),a&&a()})),r.parentNode?.insertBefore(l,r.nextSibling)}var i={install:(e,t)=>{let i=t?{...a,...t}:{...a};const s={config:o.reactive(i),changeTheme:l};e.config.globalProperties.$primevue=s,e.provide(r,s)}};return e.default=i,e.usePrimeVue=function(){const e=o.inject(r);if(!e)throw new Error("PrimeVue is not installed!");return e},Object.defineProperty(e,"__esModule",{value:!0}),e}({},primevue.api,Vue);
1
+ this.primevue=this.primevue||{},this.primevue.config=function(e,t,o){"use strict";const a={ripple:!1,inputStyle:"outlined",locale:{startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",completed:"Completed",pending:"Pending",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",today:"Today",weekHeader:"Wk",firstDayOfWeek:0,dateFormat:"mm/dd/yy",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyFilterMessage:"No results found",searchMessage:"{0} results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",emptyMessage:"No available options",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"{page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left"}},filterMatchModeOptions:{text:[t.FilterMatchMode.STARTS_WITH,t.FilterMatchMode.CONTAINS,t.FilterMatchMode.NOT_CONTAINS,t.FilterMatchMode.ENDS_WITH,t.FilterMatchMode.EQUALS,t.FilterMatchMode.NOT_EQUALS],numeric:[t.FilterMatchMode.EQUALS,t.FilterMatchMode.NOT_EQUALS,t.FilterMatchMode.LESS_THAN,t.FilterMatchMode.LESS_THAN_OR_EQUAL_TO,t.FilterMatchMode.GREATER_THAN,t.FilterMatchMode.GREATER_THAN_OR_EQUAL_TO],date:[t.FilterMatchMode.DATE_IS,t.FilterMatchMode.DATE_IS_NOT,t.FilterMatchMode.DATE_BEFORE,t.FilterMatchMode.DATE_AFTER]},zIndex:{modal:1100,overlay:1e3,menu:1e3,tooltip:1100}},r=Symbol();function l(e,t,o,a){const r=document.getElementById(o),l=r.cloneNode(!0),i=r.getAttribute("href").replace(e,t);l.setAttribute("id",o+"-clone"),l.setAttribute("href",i),l.addEventListener("load",(()=>{r.remove(),l.setAttribute("id",o),a&&a()})),r.parentNode&&r.parentNode.insertBefore(l,r.nextSibling)}var i={install:(e,t)=>{let i=t?{...a,...t}:{...a};const s={config:o.reactive(i),changeTheme:l};e.config.globalProperties.$primevue=s,e.provide(r,s)}};return e.default=i,e.usePrimeVue=function(){const e=o.inject(r);if(!e)throw new Error("PrimeVue is not installed!");return e},Object.defineProperty(e,"__esModule",{value:!0}),e}({},primevue.api,Vue);
@@ -61,7 +61,29 @@ export interface ConfirmDialogSlots {
61
61
  * Custom message template.
62
62
  * @param {Object} scope - message slot's params.
63
63
  */
64
- message(scope: { message: ConfirmationOptions }): VNode[];
64
+ message(scope: {
65
+ /**
66
+ * Message of the component
67
+ */
68
+ message: ConfirmationOptions;
69
+ }): VNode[];
70
+ /**
71
+ * Custom icon template.
72
+ */
73
+ icon(scope: {
74
+ /**
75
+ * Style class of the icon template
76
+ */
77
+ class: any;
78
+ }): VNode[];
79
+ /**
80
+ * Custom icon template.
81
+ */
82
+ accepticon(): VNode[];
83
+ /**
84
+ * Custom icon template.
85
+ */
86
+ rejecticon(): VNode[];
65
87
  }
66
88
 
67
89
  /**
@@ -13,13 +13,28 @@
13
13
  @update:visible="onHide"
14
14
  >
15
15
  <template v-if="!$slots.message">
16
- <i v-if="confirmation.icon" :class="iconClass" />
16
+ <slot name="icon" class="p-confirm-dialog-icon">
17
+ <component v-if="$slots.icon" :is="$slots.icon" class="p-confirm-dialog-icon" />
18
+ <span v-else-if="confirmation.icon" :class="iconClass" />
19
+ </slot>
17
20
  <span class="p-confirm-dialog-message">{{ message }}</span>
18
21
  </template>
19
22
  <component v-else :is="$slots.message" :message="confirmation"></component>
20
23
  <template #footer>
21
- <CDButton :label="rejectLabel" :icon="rejectIcon" :class="rejectClass" @click="reject()" :autofocus="autoFocusReject" />
22
- <CDButton :label="acceptLabel" :icon="acceptIcon" :class="acceptClass" @click="accept()" :autofocus="autoFocusAccept" />
24
+ <CDButton :label="rejectLabel" :class="rejectClass" iconPos="left" @click="reject()" :autofocus="autoFocusReject">
25
+ <template #icon="iconProps">
26
+ <slot name="rejecticon">
27
+ <span :class="[rejectIcon, iconProps.class]" />
28
+ </slot>
29
+ </template>
30
+ </CDButton>
31
+ <CDButton :label="acceptLabel" :class="acceptClass" iconPos="left" @click="accept()" :autofocus="autoFocusAccept">
32
+ <template #icon="iconProps">
33
+ <slot name="accepticon">
34
+ <span :class="[acceptIcon, iconProps.class]" />
35
+ </slot>
36
+ </template>
37
+ </CDButton>
23
38
  </template>
24
39
  </CDialog>
25
40
  </template>
@@ -159,28 +159,53 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
159
159
  footer: vue.withCtx(() => [
160
160
  vue.createVNode(_component_CDButton, {
161
161
  label: $options.rejectLabel,
162
- icon: $options.rejectIcon,
163
162
  class: vue.normalizeClass($options.rejectClass),
163
+ iconPos: "left",
164
164
  onClick: _cache[0] || (_cache[0] = $event => ($options.reject())),
165
165
  autofocus: $options.autoFocusReject
166
- }, null, 8, ["label", "icon", "class", "autofocus"]),
166
+ }, {
167
+ icon: vue.withCtx((iconProps) => [
168
+ vue.renderSlot(_ctx.$slots, "rejecticon", {}, () => [
169
+ vue.createElementVNode("span", {
170
+ class: vue.normalizeClass([$options.rejectIcon, iconProps.class])
171
+ }, null, 2)
172
+ ])
173
+ ]),
174
+ _: 3
175
+ }, 8, ["label", "class", "autofocus"]),
167
176
  vue.createVNode(_component_CDButton, {
168
177
  label: $options.acceptLabel,
169
- icon: $options.acceptIcon,
170
178
  class: vue.normalizeClass($options.acceptClass),
179
+ iconPos: "left",
171
180
  onClick: _cache[1] || (_cache[1] = $event => ($options.accept())),
172
181
  autofocus: $options.autoFocusAccept
173
- }, null, 8, ["label", "icon", "class", "autofocus"])
182
+ }, {
183
+ icon: vue.withCtx((iconProps) => [
184
+ vue.renderSlot(_ctx.$slots, "accepticon", {}, () => [
185
+ vue.createElementVNode("span", {
186
+ class: vue.normalizeClass([$options.acceptIcon, iconProps.class])
187
+ }, null, 2)
188
+ ])
189
+ ]),
190
+ _: 3
191
+ }, 8, ["label", "class", "autofocus"])
174
192
  ]),
175
193
  default: vue.withCtx(() => [
176
194
  (!_ctx.$slots.message)
177
195
  ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
178
- ($data.confirmation.icon)
179
- ? (vue.openBlock(), vue.createElementBlock("i", {
180
- key: 0,
181
- class: vue.normalizeClass($options.iconClass)
182
- }, null, 2))
183
- : vue.createCommentVNode("", true),
196
+ vue.renderSlot(_ctx.$slots, "icon", { class: "p-confirm-dialog-icon" }, () => [
197
+ (_ctx.$slots.icon)
198
+ ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.$slots.icon), {
199
+ key: 0,
200
+ class: "p-confirm-dialog-icon"
201
+ }))
202
+ : ($data.confirmation.icon)
203
+ ? (vue.openBlock(), vue.createElementBlock("span", {
204
+ key: 1,
205
+ class: vue.normalizeClass($options.iconClass)
206
+ }, null, 2))
207
+ : vue.createCommentVNode("", true)
208
+ ]),
184
209
  vue.createElementVNode("span", _hoisted_1, vue.toDisplayString($options.message), 1)
185
210
  ], 64))
186
211
  : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.$slots.message), {
@@ -188,7 +213,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
188
213
  message: $data.confirmation
189
214
  }, null, 8, ["message"]))
190
215
  ]),
191
- _: 1
216
+ _: 3
192
217
  }, 8, ["visible", "header", "blockScroll", "position", "breakpoints", "closeOnEscape", "draggable", "onUpdate:visible"]))
193
218
  }
194
219
 
@@ -1 +1 @@
1
- "use strict";var e=require("primevue/button"),o=require("primevue/confirmationeventbus"),i=require("primevue/dialog"),t=require("vue");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=n(e),s=n(o),a={name:"ConfirmDialog",props:{group:String,breakpoints:{type:Object,default:null},draggable:{type:Boolean,default:!0}},confirmListener:null,closeListener:null,data:()=>({visible:!1,confirmation:null}),mounted(){this.confirmListener=e=>{e&&e.group===this.group&&(this.confirmation=e,this.confirmation.onShow&&this.confirmation.onShow(),this.visible=!0)},this.closeListener=()=>{this.visible=!1,this.confirmation=null},s.default.on("confirm",this.confirmListener),s.default.on("close",this.closeListener)},beforeUnmount(){s.default.off("confirm",this.confirmListener),s.default.off("close",this.closeListener)},methods:{accept(){this.confirmation.accept&&this.confirmation.accept(),this.visible=!1},reject(){this.confirmation.reject&&this.confirmation.reject(),this.visible=!1},onHide(){this.confirmation.onHide&&this.confirmation.onHide(),this.visible=!1}},computed:{header(){return this.confirmation?this.confirmation.header:null},message(){return this.confirmation?this.confirmation.message:null},blockScroll(){return!this.confirmation||this.confirmation.blockScroll},position(){return this.confirmation?this.confirmation.position:null},iconClass(){return["p-confirm-dialog-icon",this.confirmation?this.confirmation.icon:null]},acceptLabel(){return this.confirmation?this.confirmation.acceptLabel||this.$primevue.config.locale.accept:null},rejectLabel(){return this.confirmation?this.confirmation.rejectLabel||this.$primevue.config.locale.reject:null},acceptIcon(){return this.confirmation?this.confirmation.acceptIcon:null},rejectIcon(){return this.confirmation?this.confirmation.rejectIcon:null},acceptClass(){return["p-confirm-dialog-accept",this.confirmation?this.confirmation.acceptClass:null]},rejectClass(){return["p-confirm-dialog-reject",this.confirmation?this.confirmation.rejectClass||"p-button-text":null]},autoFocusAccept(){return void 0===this.confirmation.defaultFocus||"accept"===this.confirmation.defaultFocus},autoFocusReject(){return"reject"===this.confirmation.defaultFocus},closeOnEscape(){return!this.confirmation||this.confirmation.closeOnEscape}},components:{CDialog:n(i).default,CDButton:c.default}};const r={class:"p-confirm-dialog-message"};a.render=function(e,o,i,n,c,s){const a=t.resolveComponent("CDButton"),l=t.resolveComponent("CDialog");return t.openBlock(),t.createBlock(l,{visible:c.visible,"onUpdate:visible":[o[2]||(o[2]=e=>c.visible=e),s.onHide],role:"alertdialog",class:"p-confirm-dialog",modal:!0,header:s.header,blockScroll:s.blockScroll,position:s.position,breakpoints:i.breakpoints,closeOnEscape:s.closeOnEscape,draggable:i.draggable},{footer:t.withCtx((()=>[t.createVNode(a,{label:s.rejectLabel,icon:s.rejectIcon,class:t.normalizeClass(s.rejectClass),onClick:o[0]||(o[0]=e=>s.reject()),autofocus:s.autoFocusReject},null,8,["label","icon","class","autofocus"]),t.createVNode(a,{label:s.acceptLabel,icon:s.acceptIcon,class:t.normalizeClass(s.acceptClass),onClick:o[1]||(o[1]=e=>s.accept()),autofocus:s.autoFocusAccept},null,8,["label","icon","class","autofocus"])])),default:t.withCtx((()=>[e.$slots.message?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.$slots.message),{key:1,message:c.confirmation},null,8,["message"])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[c.confirmation.icon?(t.openBlock(),t.createElementBlock("i",{key:0,class:t.normalizeClass(s.iconClass)},null,2)):t.createCommentVNode("",!0),t.createElementVNode("span",r,t.toDisplayString(s.message),1)],64))])),_:1},8,["visible","header","blockScroll","position","breakpoints","closeOnEscape","draggable","onUpdate:visible"])},module.exports=a;
1
+ "use strict";var e=require("primevue/button"),o=require("primevue/confirmationeventbus"),t=require("primevue/dialog"),i=require("vue");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=n(e),s=n(o),a={name:"ConfirmDialog",props:{group:String,breakpoints:{type:Object,default:null},draggable:{type:Boolean,default:!0}},confirmListener:null,closeListener:null,data:()=>({visible:!1,confirmation:null}),mounted(){this.confirmListener=e=>{e&&e.group===this.group&&(this.confirmation=e,this.confirmation.onShow&&this.confirmation.onShow(),this.visible=!0)},this.closeListener=()=>{this.visible=!1,this.confirmation=null},s.default.on("confirm",this.confirmListener),s.default.on("close",this.closeListener)},beforeUnmount(){s.default.off("confirm",this.confirmListener),s.default.off("close",this.closeListener)},methods:{accept(){this.confirmation.accept&&this.confirmation.accept(),this.visible=!1},reject(){this.confirmation.reject&&this.confirmation.reject(),this.visible=!1},onHide(){this.confirmation.onHide&&this.confirmation.onHide(),this.visible=!1}},computed:{header(){return this.confirmation?this.confirmation.header:null},message(){return this.confirmation?this.confirmation.message:null},blockScroll(){return!this.confirmation||this.confirmation.blockScroll},position(){return this.confirmation?this.confirmation.position:null},iconClass(){return["p-confirm-dialog-icon",this.confirmation?this.confirmation.icon:null]},acceptLabel(){return this.confirmation?this.confirmation.acceptLabel||this.$primevue.config.locale.accept:null},rejectLabel(){return this.confirmation?this.confirmation.rejectLabel||this.$primevue.config.locale.reject:null},acceptIcon(){return this.confirmation?this.confirmation.acceptIcon:null},rejectIcon(){return this.confirmation?this.confirmation.rejectIcon:null},acceptClass(){return["p-confirm-dialog-accept",this.confirmation?this.confirmation.acceptClass:null]},rejectClass(){return["p-confirm-dialog-reject",this.confirmation?this.confirmation.rejectClass||"p-button-text":null]},autoFocusAccept(){return void 0===this.confirmation.defaultFocus||"accept"===this.confirmation.defaultFocus},autoFocusReject(){return"reject"===this.confirmation.defaultFocus},closeOnEscape(){return!this.confirmation||this.confirmation.closeOnEscape}},components:{CDialog:n(t).default,CDButton:c.default}};const l={class:"p-confirm-dialog-message"};a.render=function(e,o,t,n,c,s){const a=i.resolveComponent("CDButton"),r=i.resolveComponent("CDialog");return i.openBlock(),i.createBlock(r,{visible:c.visible,"onUpdate:visible":[o[2]||(o[2]=e=>c.visible=e),s.onHide],role:"alertdialog",class:"p-confirm-dialog",modal:!0,header:s.header,blockScroll:s.blockScroll,position:s.position,breakpoints:t.breakpoints,closeOnEscape:s.closeOnEscape,draggable:t.draggable},{footer:i.withCtx((()=>[i.createVNode(a,{label:s.rejectLabel,class:i.normalizeClass(s.rejectClass),iconPos:"left",onClick:o[0]||(o[0]=e=>s.reject()),autofocus:s.autoFocusReject},{icon:i.withCtx((o=>[i.renderSlot(e.$slots,"rejecticon",{},(()=>[i.createElementVNode("span",{class:i.normalizeClass([s.rejectIcon,o.class])},null,2)]))])),_:3},8,["label","class","autofocus"]),i.createVNode(a,{label:s.acceptLabel,class:i.normalizeClass(s.acceptClass),iconPos:"left",onClick:o[1]||(o[1]=e=>s.accept()),autofocus:s.autoFocusAccept},{icon:i.withCtx((o=>[i.renderSlot(e.$slots,"accepticon",{},(()=>[i.createElementVNode("span",{class:i.normalizeClass([s.acceptIcon,o.class])},null,2)]))])),_:3},8,["label","class","autofocus"])])),default:i.withCtx((()=>[e.$slots.message?(i.openBlock(),i.createBlock(i.resolveDynamicComponent(e.$slots.message),{key:1,message:c.confirmation},null,8,["message"])):(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.renderSlot(e.$slots,"icon",{class:"p-confirm-dialog-icon"},(()=>[e.$slots.icon?(i.openBlock(),i.createBlock(i.resolveDynamicComponent(e.$slots.icon),{key:0,class:"p-confirm-dialog-icon"})):c.confirmation.icon?(i.openBlock(),i.createElementBlock("span",{key:1,class:i.normalizeClass(s.iconClass)},null,2)):i.createCommentVNode("",!0)])),i.createElementVNode("span",l,i.toDisplayString(s.message),1)],64))])),_:3},8,["visible","header","blockScroll","position","breakpoints","closeOnEscape","draggable","onUpdate:visible"])},module.exports=a;
@@ -1,7 +1,7 @@
1
1
  import Button from 'primevue/button';
2
2
  import ConfirmationEventBus from 'primevue/confirmationeventbus';
3
3
  import Dialog from 'primevue/dialog';
4
- import { resolveComponent, openBlock, createBlock, withCtx, createVNode, normalizeClass, createElementBlock, Fragment, createCommentVNode, createElementVNode, toDisplayString, resolveDynamicComponent } from 'vue';
4
+ import { resolveComponent, openBlock, createBlock, withCtx, createVNode, normalizeClass, renderSlot, createElementVNode, createElementBlock, Fragment, resolveDynamicComponent, createCommentVNode, toDisplayString } from 'vue';
5
5
 
6
6
  var script = {
7
7
  name: 'ConfirmDialog',
@@ -151,28 +151,53 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
151
151
  footer: withCtx(() => [
152
152
  createVNode(_component_CDButton, {
153
153
  label: $options.rejectLabel,
154
- icon: $options.rejectIcon,
155
154
  class: normalizeClass($options.rejectClass),
155
+ iconPos: "left",
156
156
  onClick: _cache[0] || (_cache[0] = $event => ($options.reject())),
157
157
  autofocus: $options.autoFocusReject
158
- }, null, 8, ["label", "icon", "class", "autofocus"]),
158
+ }, {
159
+ icon: withCtx((iconProps) => [
160
+ renderSlot(_ctx.$slots, "rejecticon", {}, () => [
161
+ createElementVNode("span", {
162
+ class: normalizeClass([$options.rejectIcon, iconProps.class])
163
+ }, null, 2)
164
+ ])
165
+ ]),
166
+ _: 3
167
+ }, 8, ["label", "class", "autofocus"]),
159
168
  createVNode(_component_CDButton, {
160
169
  label: $options.acceptLabel,
161
- icon: $options.acceptIcon,
162
170
  class: normalizeClass($options.acceptClass),
171
+ iconPos: "left",
163
172
  onClick: _cache[1] || (_cache[1] = $event => ($options.accept())),
164
173
  autofocus: $options.autoFocusAccept
165
- }, null, 8, ["label", "icon", "class", "autofocus"])
174
+ }, {
175
+ icon: withCtx((iconProps) => [
176
+ renderSlot(_ctx.$slots, "accepticon", {}, () => [
177
+ createElementVNode("span", {
178
+ class: normalizeClass([$options.acceptIcon, iconProps.class])
179
+ }, null, 2)
180
+ ])
181
+ ]),
182
+ _: 3
183
+ }, 8, ["label", "class", "autofocus"])
166
184
  ]),
167
185
  default: withCtx(() => [
168
186
  (!_ctx.$slots.message)
169
187
  ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
170
- ($data.confirmation.icon)
171
- ? (openBlock(), createElementBlock("i", {
172
- key: 0,
173
- class: normalizeClass($options.iconClass)
174
- }, null, 2))
175
- : createCommentVNode("", true),
188
+ renderSlot(_ctx.$slots, "icon", { class: "p-confirm-dialog-icon" }, () => [
189
+ (_ctx.$slots.icon)
190
+ ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.$slots.icon), {
191
+ key: 0,
192
+ class: "p-confirm-dialog-icon"
193
+ }))
194
+ : ($data.confirmation.icon)
195
+ ? (openBlock(), createElementBlock("span", {
196
+ key: 1,
197
+ class: normalizeClass($options.iconClass)
198
+ }, null, 2))
199
+ : createCommentVNode("", true)
200
+ ]),
176
201
  createElementVNode("span", _hoisted_1, toDisplayString($options.message), 1)
177
202
  ], 64))
178
203
  : (openBlock(), createBlock(resolveDynamicComponent(_ctx.$slots.message), {
@@ -180,7 +205,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
180
205
  message: $data.confirmation
181
206
  }, null, 8, ["message"]))
182
207
  ]),
183
- _: 1
208
+ _: 3
184
209
  }, 8, ["visible", "header", "blockScroll", "position", "breakpoints", "closeOnEscape", "draggable", "onUpdate:visible"]))
185
210
  }
186
211
 
@@ -1 +1 @@
1
- import i from"primevue/button";import o from"primevue/confirmationeventbus";import t from"primevue/dialog";import{resolveComponent as e,openBlock as n,createBlock as c,withCtx as s,createVNode as r,normalizeClass as a,createElementBlock as l,Fragment as m,createCommentVNode as u,createElementVNode as f,toDisplayString as p,resolveDynamicComponent as h}from"vue";var b={name:"ConfirmDialog",props:{group:String,breakpoints:{type:Object,default:null},draggable:{type:Boolean,default:!0}},confirmListener:null,closeListener:null,data:()=>({visible:!1,confirmation:null}),mounted(){this.confirmListener=i=>{i&&i.group===this.group&&(this.confirmation=i,this.confirmation.onShow&&this.confirmation.onShow(),this.visible=!0)},this.closeListener=()=>{this.visible=!1,this.confirmation=null},o.on("confirm",this.confirmListener),o.on("close",this.closeListener)},beforeUnmount(){o.off("confirm",this.confirmListener),o.off("close",this.closeListener)},methods:{accept(){this.confirmation.accept&&this.confirmation.accept(),this.visible=!1},reject(){this.confirmation.reject&&this.confirmation.reject(),this.visible=!1},onHide(){this.confirmation.onHide&&this.confirmation.onHide(),this.visible=!1}},computed:{header(){return this.confirmation?this.confirmation.header:null},message(){return this.confirmation?this.confirmation.message:null},blockScroll(){return!this.confirmation||this.confirmation.blockScroll},position(){return this.confirmation?this.confirmation.position:null},iconClass(){return["p-confirm-dialog-icon",this.confirmation?this.confirmation.icon:null]},acceptLabel(){return this.confirmation?this.confirmation.acceptLabel||this.$primevue.config.locale.accept:null},rejectLabel(){return this.confirmation?this.confirmation.rejectLabel||this.$primevue.config.locale.reject:null},acceptIcon(){return this.confirmation?this.confirmation.acceptIcon:null},rejectIcon(){return this.confirmation?this.confirmation.rejectIcon:null},acceptClass(){return["p-confirm-dialog-accept",this.confirmation?this.confirmation.acceptClass:null]},rejectClass(){return["p-confirm-dialog-reject",this.confirmation?this.confirmation.rejectClass||"p-button-text":null]},autoFocusAccept(){return void 0===this.confirmation.defaultFocus||"accept"===this.confirmation.defaultFocus},autoFocusReject(){return"reject"===this.confirmation.defaultFocus},closeOnEscape(){return!this.confirmation||this.confirmation.closeOnEscape}},components:{CDialog:t,CDButton:i}};const d={class:"p-confirm-dialog-message"};b.render=function(i,o,t,b,g,v){const j=e("CDButton"),C=e("CDialog");return n(),c(C,{visible:g.visible,"onUpdate:visible":[o[2]||(o[2]=i=>g.visible=i),v.onHide],role:"alertdialog",class:"p-confirm-dialog",modal:!0,header:v.header,blockScroll:v.blockScroll,position:v.position,breakpoints:t.breakpoints,closeOnEscape:v.closeOnEscape,draggable:t.draggable},{footer:s((()=>[r(j,{label:v.rejectLabel,icon:v.rejectIcon,class:a(v.rejectClass),onClick:o[0]||(o[0]=i=>v.reject()),autofocus:v.autoFocusReject},null,8,["label","icon","class","autofocus"]),r(j,{label:v.acceptLabel,icon:v.acceptIcon,class:a(v.acceptClass),onClick:o[1]||(o[1]=i=>v.accept()),autofocus:v.autoFocusAccept},null,8,["label","icon","class","autofocus"])])),default:s((()=>[i.$slots.message?(n(),c(h(i.$slots.message),{key:1,message:g.confirmation},null,8,["message"])):(n(),l(m,{key:0},[g.confirmation.icon?(n(),l("i",{key:0,class:a(v.iconClass)},null,2)):u("",!0),f("span",d,p(v.message),1)],64))])),_:1},8,["visible","header","blockScroll","position","breakpoints","closeOnEscape","draggable","onUpdate:visible"])};export{b as default};
1
+ import o from"primevue/button";import i from"primevue/confirmationeventbus";import t from"primevue/dialog";import{resolveComponent as e,openBlock as n,createBlock as c,withCtx as s,createVNode as a,normalizeClass as r,renderSlot as l,createElementVNode as m,createElementBlock as f,Fragment as u,resolveDynamicComponent as p,createCommentVNode as h,toDisplayString as b}from"vue";var d={name:"ConfirmDialog",props:{group:String,breakpoints:{type:Object,default:null},draggable:{type:Boolean,default:!0}},confirmListener:null,closeListener:null,data:()=>({visible:!1,confirmation:null}),mounted(){this.confirmListener=o=>{o&&o.group===this.group&&(this.confirmation=o,this.confirmation.onShow&&this.confirmation.onShow(),this.visible=!0)},this.closeListener=()=>{this.visible=!1,this.confirmation=null},i.on("confirm",this.confirmListener),i.on("close",this.closeListener)},beforeUnmount(){i.off("confirm",this.confirmListener),i.off("close",this.closeListener)},methods:{accept(){this.confirmation.accept&&this.confirmation.accept(),this.visible=!1},reject(){this.confirmation.reject&&this.confirmation.reject(),this.visible=!1},onHide(){this.confirmation.onHide&&this.confirmation.onHide(),this.visible=!1}},computed:{header(){return this.confirmation?this.confirmation.header:null},message(){return this.confirmation?this.confirmation.message:null},blockScroll(){return!this.confirmation||this.confirmation.blockScroll},position(){return this.confirmation?this.confirmation.position:null},iconClass(){return["p-confirm-dialog-icon",this.confirmation?this.confirmation.icon:null]},acceptLabel(){return this.confirmation?this.confirmation.acceptLabel||this.$primevue.config.locale.accept:null},rejectLabel(){return this.confirmation?this.confirmation.rejectLabel||this.$primevue.config.locale.reject:null},acceptIcon(){return this.confirmation?this.confirmation.acceptIcon:null},rejectIcon(){return this.confirmation?this.confirmation.rejectIcon:null},acceptClass(){return["p-confirm-dialog-accept",this.confirmation?this.confirmation.acceptClass:null]},rejectClass(){return["p-confirm-dialog-reject",this.confirmation?this.confirmation.rejectClass||"p-button-text":null]},autoFocusAccept(){return void 0===this.confirmation.defaultFocus||"accept"===this.confirmation.defaultFocus},autoFocusReject(){return"reject"===this.confirmation.defaultFocus},closeOnEscape(){return!this.confirmation||this.confirmation.closeOnEscape}},components:{CDialog:t,CDButton:o}};const g={class:"p-confirm-dialog-message"};d.render=function(o,i,t,d,v,j){const k=e("CDButton"),C=e("CDialog");return n(),c(C,{visible:v.visible,"onUpdate:visible":[i[2]||(i[2]=o=>v.visible=o),j.onHide],role:"alertdialog",class:"p-confirm-dialog",modal:!0,header:j.header,blockScroll:j.blockScroll,position:j.position,breakpoints:t.breakpoints,closeOnEscape:j.closeOnEscape,draggable:t.draggable},{footer:s((()=>[a(k,{label:j.rejectLabel,class:r(j.rejectClass),iconPos:"left",onClick:i[0]||(i[0]=o=>j.reject()),autofocus:j.autoFocusReject},{icon:s((i=>[l(o.$slots,"rejecticon",{},(()=>[m("span",{class:r([j.rejectIcon,i.class])},null,2)]))])),_:3},8,["label","class","autofocus"]),a(k,{label:j.acceptLabel,class:r(j.acceptClass),iconPos:"left",onClick:i[1]||(i[1]=o=>j.accept()),autofocus:j.autoFocusAccept},{icon:s((i=>[l(o.$slots,"accepticon",{},(()=>[m("span",{class:r([j.acceptIcon,i.class])},null,2)]))])),_:3},8,["label","class","autofocus"])])),default:s((()=>[o.$slots.message?(n(),c(p(o.$slots.message),{key:1,message:v.confirmation},null,8,["message"])):(n(),f(u,{key:0},[l(o.$slots,"icon",{class:"p-confirm-dialog-icon"},(()=>[o.$slots.icon?(n(),c(p(o.$slots.icon),{key:0,class:"p-confirm-dialog-icon"})):v.confirmation.icon?(n(),f("span",{key:1,class:r(j.iconClass)},null,2)):h("",!0)])),m("span",g,b(j.message),1)],64))])),_:3},8,["visible","header","blockScroll","position","breakpoints","closeOnEscape","draggable","onUpdate:visible"])};export{d as default};
@@ -156,28 +156,53 @@ this.primevue.confirmdialog = (function (Button, ConfirmationEventBus, Dialog, v
156
156
  footer: vue.withCtx(() => [
157
157
  vue.createVNode(_component_CDButton, {
158
158
  label: $options.rejectLabel,
159
- icon: $options.rejectIcon,
160
159
  class: vue.normalizeClass($options.rejectClass),
160
+ iconPos: "left",
161
161
  onClick: _cache[0] || (_cache[0] = $event => ($options.reject())),
162
162
  autofocus: $options.autoFocusReject
163
- }, null, 8, ["label", "icon", "class", "autofocus"]),
163
+ }, {
164
+ icon: vue.withCtx((iconProps) => [
165
+ vue.renderSlot(_ctx.$slots, "rejecticon", {}, () => [
166
+ vue.createElementVNode("span", {
167
+ class: vue.normalizeClass([$options.rejectIcon, iconProps.class])
168
+ }, null, 2)
169
+ ])
170
+ ]),
171
+ _: 3
172
+ }, 8, ["label", "class", "autofocus"]),
164
173
  vue.createVNode(_component_CDButton, {
165
174
  label: $options.acceptLabel,
166
- icon: $options.acceptIcon,
167
175
  class: vue.normalizeClass($options.acceptClass),
176
+ iconPos: "left",
168
177
  onClick: _cache[1] || (_cache[1] = $event => ($options.accept())),
169
178
  autofocus: $options.autoFocusAccept
170
- }, null, 8, ["label", "icon", "class", "autofocus"])
179
+ }, {
180
+ icon: vue.withCtx((iconProps) => [
181
+ vue.renderSlot(_ctx.$slots, "accepticon", {}, () => [
182
+ vue.createElementVNode("span", {
183
+ class: vue.normalizeClass([$options.acceptIcon, iconProps.class])
184
+ }, null, 2)
185
+ ])
186
+ ]),
187
+ _: 3
188
+ }, 8, ["label", "class", "autofocus"])
171
189
  ]),
172
190
  default: vue.withCtx(() => [
173
191
  (!_ctx.$slots.message)
174
192
  ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
175
- ($data.confirmation.icon)
176
- ? (vue.openBlock(), vue.createElementBlock("i", {
177
- key: 0,
178
- class: vue.normalizeClass($options.iconClass)
179
- }, null, 2))
180
- : vue.createCommentVNode("", true),
193
+ vue.renderSlot(_ctx.$slots, "icon", { class: "p-confirm-dialog-icon" }, () => [
194
+ (_ctx.$slots.icon)
195
+ ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.$slots.icon), {
196
+ key: 0,
197
+ class: "p-confirm-dialog-icon"
198
+ }))
199
+ : ($data.confirmation.icon)
200
+ ? (vue.openBlock(), vue.createElementBlock("span", {
201
+ key: 1,
202
+ class: vue.normalizeClass($options.iconClass)
203
+ }, null, 2))
204
+ : vue.createCommentVNode("", true)
205
+ ]),
181
206
  vue.createElementVNode("span", _hoisted_1, vue.toDisplayString($options.message), 1)
182
207
  ], 64))
183
208
  : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.$slots.message), {
@@ -185,7 +210,7 @@ this.primevue.confirmdialog = (function (Button, ConfirmationEventBus, Dialog, v
185
210
  message: $data.confirmation
186
211
  }, null, 8, ["message"]))
187
212
  ]),
188
- _: 1
213
+ _: 3
189
214
  }, 8, ["visible", "header", "blockScroll", "position", "breakpoints", "closeOnEscape", "draggable", "onUpdate:visible"]))
190
215
  }
191
216
 
@@ -1 +1 @@
1
- this.primevue=this.primevue||{},this.primevue.confirmdialog=function(e,o,i,t){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=n(e),s=n(o),a={name:"ConfirmDialog",props:{group:String,breakpoints:{type:Object,default:null},draggable:{type:Boolean,default:!0}},confirmListener:null,closeListener:null,data:()=>({visible:!1,confirmation:null}),mounted(){this.confirmListener=e=>{e&&e.group===this.group&&(this.confirmation=e,this.confirmation.onShow&&this.confirmation.onShow(),this.visible=!0)},this.closeListener=()=>{this.visible=!1,this.confirmation=null},s.default.on("confirm",this.confirmListener),s.default.on("close",this.closeListener)},beforeUnmount(){s.default.off("confirm",this.confirmListener),s.default.off("close",this.closeListener)},methods:{accept(){this.confirmation.accept&&this.confirmation.accept(),this.visible=!1},reject(){this.confirmation.reject&&this.confirmation.reject(),this.visible=!1},onHide(){this.confirmation.onHide&&this.confirmation.onHide(),this.visible=!1}},computed:{header(){return this.confirmation?this.confirmation.header:null},message(){return this.confirmation?this.confirmation.message:null},blockScroll(){return!this.confirmation||this.confirmation.blockScroll},position(){return this.confirmation?this.confirmation.position:null},iconClass(){return["p-confirm-dialog-icon",this.confirmation?this.confirmation.icon:null]},acceptLabel(){return this.confirmation?this.confirmation.acceptLabel||this.$primevue.config.locale.accept:null},rejectLabel(){return this.confirmation?this.confirmation.rejectLabel||this.$primevue.config.locale.reject:null},acceptIcon(){return this.confirmation?this.confirmation.acceptIcon:null},rejectIcon(){return this.confirmation?this.confirmation.rejectIcon:null},acceptClass(){return["p-confirm-dialog-accept",this.confirmation?this.confirmation.acceptClass:null]},rejectClass(){return["p-confirm-dialog-reject",this.confirmation?this.confirmation.rejectClass||"p-button-text":null]},autoFocusAccept(){return void 0===this.confirmation.defaultFocus||"accept"===this.confirmation.defaultFocus},autoFocusReject(){return"reject"===this.confirmation.defaultFocus},closeOnEscape(){return!this.confirmation||this.confirmation.closeOnEscape}},components:{CDialog:n(i).default,CDButton:c.default}};const l={class:"p-confirm-dialog-message"};return a.render=function(e,o,i,n,c,s){const a=t.resolveComponent("CDButton"),r=t.resolveComponent("CDialog");return t.openBlock(),t.createBlock(r,{visible:c.visible,"onUpdate:visible":[o[2]||(o[2]=e=>c.visible=e),s.onHide],role:"alertdialog",class:"p-confirm-dialog",modal:!0,header:s.header,blockScroll:s.blockScroll,position:s.position,breakpoints:i.breakpoints,closeOnEscape:s.closeOnEscape,draggable:i.draggable},{footer:t.withCtx((()=>[t.createVNode(a,{label:s.rejectLabel,icon:s.rejectIcon,class:t.normalizeClass(s.rejectClass),onClick:o[0]||(o[0]=e=>s.reject()),autofocus:s.autoFocusReject},null,8,["label","icon","class","autofocus"]),t.createVNode(a,{label:s.acceptLabel,icon:s.acceptIcon,class:t.normalizeClass(s.acceptClass),onClick:o[1]||(o[1]=e=>s.accept()),autofocus:s.autoFocusAccept},null,8,["label","icon","class","autofocus"])])),default:t.withCtx((()=>[e.$slots.message?(t.openBlock(),t.createBlock(t.resolveDynamicComponent(e.$slots.message),{key:1,message:c.confirmation},null,8,["message"])):(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[c.confirmation.icon?(t.openBlock(),t.createElementBlock("i",{key:0,class:t.normalizeClass(s.iconClass)},null,2)):t.createCommentVNode("",!0),t.createElementVNode("span",l,t.toDisplayString(s.message),1)],64))])),_:1},8,["visible","header","blockScroll","position","breakpoints","closeOnEscape","draggable","onUpdate:visible"])},a}(primevue.button,primevue.confirmationeventbus,primevue.dialog,Vue);
1
+ this.primevue=this.primevue||{},this.primevue.confirmdialog=function(e,o,t,i){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=n(e),s=n(o),a={name:"ConfirmDialog",props:{group:String,breakpoints:{type:Object,default:null},draggable:{type:Boolean,default:!0}},confirmListener:null,closeListener:null,data:()=>({visible:!1,confirmation:null}),mounted(){this.confirmListener=e=>{e&&e.group===this.group&&(this.confirmation=e,this.confirmation.onShow&&this.confirmation.onShow(),this.visible=!0)},this.closeListener=()=>{this.visible=!1,this.confirmation=null},s.default.on("confirm",this.confirmListener),s.default.on("close",this.closeListener)},beforeUnmount(){s.default.off("confirm",this.confirmListener),s.default.off("close",this.closeListener)},methods:{accept(){this.confirmation.accept&&this.confirmation.accept(),this.visible=!1},reject(){this.confirmation.reject&&this.confirmation.reject(),this.visible=!1},onHide(){this.confirmation.onHide&&this.confirmation.onHide(),this.visible=!1}},computed:{header(){return this.confirmation?this.confirmation.header:null},message(){return this.confirmation?this.confirmation.message:null},blockScroll(){return!this.confirmation||this.confirmation.blockScroll},position(){return this.confirmation?this.confirmation.position:null},iconClass(){return["p-confirm-dialog-icon",this.confirmation?this.confirmation.icon:null]},acceptLabel(){return this.confirmation?this.confirmation.acceptLabel||this.$primevue.config.locale.accept:null},rejectLabel(){return this.confirmation?this.confirmation.rejectLabel||this.$primevue.config.locale.reject:null},acceptIcon(){return this.confirmation?this.confirmation.acceptIcon:null},rejectIcon(){return this.confirmation?this.confirmation.rejectIcon:null},acceptClass(){return["p-confirm-dialog-accept",this.confirmation?this.confirmation.acceptClass:null]},rejectClass(){return["p-confirm-dialog-reject",this.confirmation?this.confirmation.rejectClass||"p-button-text":null]},autoFocusAccept(){return void 0===this.confirmation.defaultFocus||"accept"===this.confirmation.defaultFocus},autoFocusReject(){return"reject"===this.confirmation.defaultFocus},closeOnEscape(){return!this.confirmation||this.confirmation.closeOnEscape}},components:{CDialog:n(t).default,CDButton:c.default}};const l={class:"p-confirm-dialog-message"};return a.render=function(e,o,t,n,c,s){const a=i.resolveComponent("CDButton"),r=i.resolveComponent("CDialog");return i.openBlock(),i.createBlock(r,{visible:c.visible,"onUpdate:visible":[o[2]||(o[2]=e=>c.visible=e),s.onHide],role:"alertdialog",class:"p-confirm-dialog",modal:!0,header:s.header,blockScroll:s.blockScroll,position:s.position,breakpoints:t.breakpoints,closeOnEscape:s.closeOnEscape,draggable:t.draggable},{footer:i.withCtx((()=>[i.createVNode(a,{label:s.rejectLabel,class:i.normalizeClass(s.rejectClass),iconPos:"left",onClick:o[0]||(o[0]=e=>s.reject()),autofocus:s.autoFocusReject},{icon:i.withCtx((o=>[i.renderSlot(e.$slots,"rejecticon",{},(()=>[i.createElementVNode("span",{class:i.normalizeClass([s.rejectIcon,o.class])},null,2)]))])),_:3},8,["label","class","autofocus"]),i.createVNode(a,{label:s.acceptLabel,class:i.normalizeClass(s.acceptClass),iconPos:"left",onClick:o[1]||(o[1]=e=>s.accept()),autofocus:s.autoFocusAccept},{icon:i.withCtx((o=>[i.renderSlot(e.$slots,"accepticon",{},(()=>[i.createElementVNode("span",{class:i.normalizeClass([s.acceptIcon,o.class])},null,2)]))])),_:3},8,["label","class","autofocus"])])),default:i.withCtx((()=>[e.$slots.message?(i.openBlock(),i.createBlock(i.resolveDynamicComponent(e.$slots.message),{key:1,message:c.confirmation},null,8,["message"])):(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[i.renderSlot(e.$slots,"icon",{class:"p-confirm-dialog-icon"},(()=>[e.$slots.icon?(i.openBlock(),i.createBlock(i.resolveDynamicComponent(e.$slots.icon),{key:0,class:"p-confirm-dialog-icon"})):c.confirmation.icon?(i.openBlock(),i.createElementBlock("span",{key:1,class:i.normalizeClass(s.iconClass)},null,2)):i.createCommentVNode("",!0)])),i.createElementVNode("span",l,i.toDisplayString(s.message),1)],64))])),_:3},8,["visible","header","blockScroll","position","breakpoints","closeOnEscape","draggable","onUpdate:visible"])},a}(primevue.button,primevue.confirmationeventbus,primevue.dialog,Vue);
@@ -29,7 +29,29 @@ export interface ConfirmPopupSlots {
29
29
  * Custom message template.
30
30
  * @param {Object} scope - message slot's params.
31
31
  */
32
- message(scope: { message: ConfirmationOptions }): VNode[];
32
+ message(scope: {
33
+ /**
34
+ * Message of the component
35
+ */
36
+ message: ConfirmationOptions;
37
+ }): VNode[];
38
+ /**
39
+ * Custom icon template.
40
+ */
41
+ icon(scope: {
42
+ /**
43
+ * Style class of the icon template
44
+ */
45
+ class: any;
46
+ }): VNode[];
47
+ /**
48
+ * Custom icon template.
49
+ */
50
+ accepticon(): VNode[];
51
+ /**
52
+ * Custom icon template.
53
+ */
54
+ rejecticon(): VNode[];
33
55
  }
34
56
 
35
57
  /**
@@ -4,14 +4,29 @@
4
4
  <div v-if="visible" :ref="containerRef" v-focustrap role="alertdialog" :class="containerClass" :aria-modal="visible" @click="onOverlayClick" @keydown="onOverlayKeydown" v-bind="$attrs">
5
5
  <template v-if="!$slots.message">
6
6
  <div class="p-confirm-popup-content">
7
- <i :class="iconClass" />
7
+ <slot name="icon" class="p-confirm-popup-icon">
8
+ <component v-if="$slots.icon" :is="$slots.icon" class="p-confirm-popup-icon" />
9
+ <span v-else-if="confirmation.icon" :class="iconClass" />
10
+ </slot>
8
11
  <span class="p-confirm-popup-message">{{ confirmation.message }}</span>
9
12
  </div>
10
13
  </template>
11
14
  <component v-else :is="$slots.message" :message="confirmation"></component>
12
15
  <div class="p-confirm-popup-footer">
13
- <CPButton :label="rejectLabel" :icon="rejectIcon" :class="rejectClass" @click="reject()" @keydown="onRejectKeydown" :autofocus="autoFocusReject" />
14
- <CPButton :label="acceptLabel" :icon="acceptIcon" :class="acceptClass" @click="accept()" @keydown="onAcceptKeydown" :autofocus="autoFocusAccept" />
16
+ <CPButton :label="rejectLabel" :class="rejectClass" @click="reject()" @keydown="onRejectKeydown" :autofocus="autoFocusReject">
17
+ <template #icon="iconProps">
18
+ <slot name="rejecticon">
19
+ <span :class="[rejectIcon, iconProps.class]" />
20
+ </slot>
21
+ </template>
22
+ </CPButton>
23
+ <CPButton :label="acceptLabel" :class="acceptClass" @click="accept()" @keydown="onAcceptKeydown" :autofocus="autoFocusAccept">
24
+ <template #icon="iconProps">
25
+ <slot name="accepticon">
26
+ <span :class="[acceptIcon, iconProps.class]" />
27
+ </slot>
28
+ </template>
29
+ </CPButton>
15
30
  </div>
16
31
  </div>
17
32
  </transition>
@@ -322,9 +322,19 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
322
322
  }, _ctx.$attrs), [
323
323
  (!_ctx.$slots.message)
324
324
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
325
- vue.createElementVNode("i", {
326
- class: vue.normalizeClass($options.iconClass)
327
- }, null, 2),
325
+ vue.renderSlot(_ctx.$slots, "icon", { class: "p-confirm-popup-icon" }, () => [
326
+ (_ctx.$slots.icon)
327
+ ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.$slots.icon), {
328
+ key: 0,
329
+ class: "p-confirm-popup-icon"
330
+ }))
331
+ : ($data.confirmation.icon)
332
+ ? (vue.openBlock(), vue.createElementBlock("span", {
333
+ key: 1,
334
+ class: vue.normalizeClass($options.iconClass)
335
+ }, null, 2))
336
+ : vue.createCommentVNode("", true)
337
+ ]),
328
338
  vue.createElementVNode("span", _hoisted_3, vue.toDisplayString($data.confirmation.message), 1)
329
339
  ]))
330
340
  : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.$slots.message), {
@@ -334,30 +344,46 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
334
344
  vue.createElementVNode("div", _hoisted_4, [
335
345
  vue.createVNode(_component_CPButton, {
336
346
  label: $options.rejectLabel,
337
- icon: $options.rejectIcon,
338
347
  class: vue.normalizeClass($options.rejectClass),
339
348
  onClick: _cache[0] || (_cache[0] = $event => ($options.reject())),
340
349
  onKeydown: $options.onRejectKeydown,
341
350
  autofocus: $data.autoFocusReject
342
- }, null, 8, ["label", "icon", "class", "onKeydown", "autofocus"]),
351
+ }, {
352
+ icon: vue.withCtx((iconProps) => [
353
+ vue.renderSlot(_ctx.$slots, "rejecticon", {}, () => [
354
+ vue.createElementVNode("span", {
355
+ class: vue.normalizeClass([$options.rejectIcon, iconProps.class])
356
+ }, null, 2)
357
+ ])
358
+ ]),
359
+ _: 3
360
+ }, 8, ["label", "class", "onKeydown", "autofocus"]),
343
361
  vue.createVNode(_component_CPButton, {
344
362
  label: $options.acceptLabel,
345
- icon: $options.acceptIcon,
346
363
  class: vue.normalizeClass($options.acceptClass),
347
364
  onClick: _cache[1] || (_cache[1] = $event => ($options.accept())),
348
365
  onKeydown: $options.onAcceptKeydown,
349
366
  autofocus: $data.autoFocusAccept
350
- }, null, 8, ["label", "icon", "class", "onKeydown", "autofocus"])
367
+ }, {
368
+ icon: vue.withCtx((iconProps) => [
369
+ vue.renderSlot(_ctx.$slots, "accepticon", {}, () => [
370
+ vue.createElementVNode("span", {
371
+ class: vue.normalizeClass([$options.acceptIcon, iconProps.class])
372
+ }, null, 2)
373
+ ])
374
+ ]),
375
+ _: 3
376
+ }, 8, ["label", "class", "onKeydown", "autofocus"])
351
377
  ])
352
378
  ], 16, _hoisted_1)), [
353
379
  [_directive_focustrap]
354
380
  ])
355
381
  : vue.createCommentVNode("", true)
356
382
  ]),
357
- _: 1
383
+ _: 3
358
384
  }, 8, ["onEnter", "onAfterEnter", "onLeave", "onAfterLeave"])
359
385
  ]),
360
- _: 1
386
+ _: 3
361
387
  }))
362
388
  }
363
389