primevue 3.43.0 → 3.45.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 (730) hide show
  1. package/accordion/Accordion.d.ts +4 -0
  2. package/accordion/Accordion.vue +1 -0
  3. package/accordion/accordion.cjs.js +3 -2
  4. package/accordion/accordion.cjs.min.js +1 -1
  5. package/accordion/accordion.esm.js +3 -2
  6. package/accordion/accordion.esm.min.js +1 -1
  7. package/accordion/accordion.js +3 -2
  8. package/accordion/accordion.min.js +1 -1
  9. package/accordiontab/AccordionTab.d.ts +4 -0
  10. package/animateonscroll/animateonscroll.cjs.js +2 -2
  11. package/animateonscroll/animateonscroll.cjs.min.js +1 -1
  12. package/animateonscroll/animateonscroll.esm.js +2 -2
  13. package/animateonscroll/animateonscroll.esm.min.js +1 -1
  14. package/animateonscroll/animateonscroll.js +2 -2
  15. package/animateonscroll/animateonscroll.min.js +1 -1
  16. package/autocomplete/AutoComplete.d.ts +4 -0
  17. package/autocomplete/AutoComplete.vue +2 -1
  18. package/autocomplete/autocomplete.cjs.js +5 -3
  19. package/autocomplete/autocomplete.cjs.min.js +1 -1
  20. package/autocomplete/autocomplete.esm.js +5 -3
  21. package/autocomplete/autocomplete.esm.min.js +1 -1
  22. package/autocomplete/autocomplete.js +5 -3
  23. package/autocomplete/autocomplete.min.js +1 -1
  24. package/avatar/Avatar.d.ts +4 -0
  25. package/badgedirective/BadgeDirective.d.ts +4 -0
  26. package/badgedirective/badgedirective.cjs.js +2 -2
  27. package/badgedirective/badgedirective.cjs.min.js +1 -1
  28. package/badgedirective/badgedirective.esm.js +2 -2
  29. package/badgedirective/badgedirective.esm.min.js +1 -1
  30. package/badgedirective/badgedirective.js +2 -2
  31. package/badgedirective/badgedirective.min.js +1 -1
  32. package/base/style/basestyle.cjs.js +2 -2
  33. package/base/style/basestyle.cjs.min.js +1 -1
  34. package/base/style/basestyle.esm.js +2 -2
  35. package/base/style/basestyle.esm.min.js +1 -1
  36. package/base/style/basestyle.js +2 -2
  37. package/base/style/basestyle.min.js +1 -1
  38. package/basecomponent/BaseComponent.vue +4 -2
  39. package/basecomponent/basecomponent.cjs.js +9 -7
  40. package/basecomponent/basecomponent.cjs.min.js +1 -1
  41. package/basecomponent/basecomponent.esm.js +9 -7
  42. package/basecomponent/basecomponent.esm.min.js +1 -1
  43. package/basecomponent/basecomponent.js +9 -7
  44. package/basecomponent/basecomponent.min.js +1 -1
  45. package/basecomponent/style/basecomponentstyle.cjs.js +3 -3
  46. package/basecomponent/style/basecomponentstyle.cjs.min.js +1 -1
  47. package/basecomponent/style/basecomponentstyle.esm.js +3 -3
  48. package/basecomponent/style/basecomponentstyle.esm.min.js +1 -1
  49. package/basecomponent/style/basecomponentstyle.js +3 -3
  50. package/basecomponent/style/basecomponentstyle.min.js +1 -1
  51. package/basedirective/basedirective.cjs.js +2 -3
  52. package/basedirective/basedirective.cjs.min.js +1 -1
  53. package/basedirective/basedirective.esm.js +2 -3
  54. package/basedirective/basedirective.esm.min.js +1 -1
  55. package/basedirective/basedirective.js +2 -3
  56. package/basedirective/basedirective.min.js +1 -1
  57. package/baseicon/BaseIcon.vue +8 -14
  58. package/baseicon/baseicon.cjs.js +10 -15
  59. package/baseicon/baseicon.cjs.min.js +1 -1
  60. package/baseicon/baseicon.esm.js +10 -15
  61. package/baseicon/baseicon.esm.min.js +1 -1
  62. package/baseicon/baseicon.js +10 -15
  63. package/baseicon/baseicon.min.js +1 -1
  64. package/blockui/BlockUI.d.ts +4 -0
  65. package/breadcrumb/Breadcrumb.d.ts +4 -0
  66. package/button/style/buttonstyle.cjs.js +2 -2
  67. package/button/style/buttonstyle.cjs.min.js +1 -1
  68. package/button/style/buttonstyle.esm.js +2 -2
  69. package/button/style/buttonstyle.esm.min.js +1 -1
  70. package/button/style/buttonstyle.js +2 -2
  71. package/button/style/buttonstyle.min.js +1 -1
  72. package/calendar/Calendar.d.ts +8 -0
  73. package/calendar/Calendar.vue +31 -15
  74. package/calendar/calendar.cjs.js +31 -17
  75. package/calendar/calendar.cjs.min.js +1 -1
  76. package/calendar/calendar.esm.js +31 -17
  77. package/calendar/calendar.esm.min.js +1 -1
  78. package/calendar/calendar.js +31 -17
  79. package/calendar/calendar.min.js +1 -1
  80. package/carousel/Carousel.d.ts +4 -0
  81. package/carousel/carousel.cjs.js +2 -2
  82. package/carousel/carousel.cjs.min.js +1 -1
  83. package/carousel/carousel.esm.js +2 -2
  84. package/carousel/carousel.esm.min.js +1 -1
  85. package/carousel/carousel.js +2 -2
  86. package/carousel/carousel.min.js +1 -1
  87. package/cascadeselect/CascadeSelect.d.ts +4 -0
  88. package/cascadeselect/CascadeSelect.vue +2 -1
  89. package/cascadeselect/CascadeSelectSub.vue +4 -1
  90. package/cascadeselect/cascadeselect.cjs.js +8 -4
  91. package/cascadeselect/cascadeselect.cjs.min.js +1 -1
  92. package/cascadeselect/cascadeselect.esm.js +8 -4
  93. package/cascadeselect/cascadeselect.esm.min.js +1 -1
  94. package/cascadeselect/cascadeselect.js +8 -4
  95. package/cascadeselect/cascadeselect.min.js +1 -1
  96. package/cascadeselect/style/cascadeselectstyle.cjs.js +1 -1
  97. package/cascadeselect/style/cascadeselectstyle.cjs.min.js +1 -1
  98. package/cascadeselect/style/cascadeselectstyle.esm.js +1 -1
  99. package/cascadeselect/style/cascadeselectstyle.esm.min.js +1 -1
  100. package/cascadeselect/style/cascadeselectstyle.js +1 -1
  101. package/cascadeselect/style/cascadeselectstyle.min.js +1 -1
  102. package/chart/Chart.d.ts +4 -0
  103. package/chart/chart.cjs.js +2 -2
  104. package/chart/chart.cjs.min.js +1 -1
  105. package/chart/chart.esm.js +2 -2
  106. package/chart/chart.esm.min.js +1 -1
  107. package/chart/chart.js +2 -2
  108. package/chart/chart.min.js +1 -1
  109. package/checkbox/Checkbox.d.ts +4 -0
  110. package/checkbox/checkbox.cjs.js +2 -2
  111. package/checkbox/checkbox.cjs.min.js +1 -1
  112. package/checkbox/checkbox.esm.js +2 -2
  113. package/checkbox/checkbox.esm.min.js +1 -1
  114. package/checkbox/checkbox.js +2 -2
  115. package/checkbox/checkbox.min.js +1 -1
  116. package/chip/Chip.d.ts +4 -0
  117. package/chips/Chips.d.ts +4 -0
  118. package/chips/Chips.vue +1 -0
  119. package/chips/chips.cjs.js +3 -2
  120. package/chips/chips.cjs.min.js +1 -1
  121. package/chips/chips.esm.js +3 -2
  122. package/chips/chips.esm.min.js +1 -1
  123. package/chips/chips.js +3 -2
  124. package/chips/chips.min.js +1 -1
  125. package/colorpicker/ColorPicker.d.ts +4 -0
  126. package/column/Column.d.ts +4 -0
  127. package/column/Column.vue +7 -0
  128. package/column/column.cjs.js +9 -0
  129. package/column/column.cjs.min.js +1 -1
  130. package/column/column.esm.js +9 -0
  131. package/column/column.esm.min.js +1 -1
  132. package/column/column.js +9 -0
  133. package/column/column.min.js +1 -1
  134. package/columngroup/ColumnGroup.d.ts +4 -0
  135. package/columngroup/ColumnGroup.vue +7 -0
  136. package/columngroup/columngroup.cjs.js +9 -0
  137. package/columngroup/columngroup.cjs.min.js +1 -1
  138. package/columngroup/columngroup.esm.js +9 -0
  139. package/columngroup/columngroup.esm.min.js +1 -1
  140. package/columngroup/columngroup.js +9 -0
  141. package/columngroup/columngroup.min.js +1 -1
  142. package/config/config.cjs.js +2 -2
  143. package/config/config.cjs.min.js +1 -1
  144. package/config/config.esm.js +2 -2
  145. package/config/config.esm.min.js +1 -1
  146. package/config/config.js +2 -2
  147. package/config/config.min.js +1 -1
  148. package/confirmdialog/ConfirmDialog.d.ts +5 -1
  149. package/confirmpopup/ConfirmPopup.d.ts +4 -0
  150. package/confirmpopup/ConfirmPopup.vue +2 -2
  151. package/confirmpopup/confirmpopup.cjs.js +4 -4
  152. package/confirmpopup/confirmpopup.cjs.min.js +1 -1
  153. package/confirmpopup/confirmpopup.esm.js +4 -4
  154. package/confirmpopup/confirmpopup.esm.min.js +1 -1
  155. package/confirmpopup/confirmpopup.js +4 -4
  156. package/confirmpopup/confirmpopup.min.js +1 -1
  157. package/contextmenu/ContextMenu.d.ts +4 -0
  158. package/contextmenu/ContextMenu.vue +1 -0
  159. package/contextmenu/contextmenu.cjs.js +3 -2
  160. package/contextmenu/contextmenu.cjs.min.js +1 -1
  161. package/contextmenu/contextmenu.esm.js +3 -2
  162. package/contextmenu/contextmenu.esm.min.js +1 -1
  163. package/contextmenu/contextmenu.js +3 -2
  164. package/contextmenu/contextmenu.min.js +1 -1
  165. package/core/core.js +358 -257
  166. package/core/core.min.js +36 -36
  167. package/datatable/BaseDataTable.vue +2 -2
  168. package/datatable/BodyRow.vue +578 -0
  169. package/datatable/ColumnFilter.vue +1 -0
  170. package/datatable/DataTable.d.ts +5 -1
  171. package/datatable/DataTable.vue +111 -132
  172. package/datatable/HeaderCell.vue +9 -7
  173. package/datatable/RowCheckbox.vue +1 -0
  174. package/datatable/TableBody.vue +74 -414
  175. package/datatable/TableFooter.vue +19 -26
  176. package/datatable/TableHeader.vue +19 -26
  177. package/datatable/datatable.cjs.js +908 -650
  178. package/datatable/datatable.cjs.min.js +1 -1
  179. package/datatable/datatable.esm.js +909 -651
  180. package/datatable/datatable.esm.min.js +1 -1
  181. package/datatable/datatable.js +908 -650
  182. package/datatable/datatable.min.js +1 -1
  183. package/datatable/style/datatablestyle.cjs.js +5 -4
  184. package/datatable/style/datatablestyle.cjs.min.js +1 -1
  185. package/datatable/style/datatablestyle.esm.js +5 -4
  186. package/datatable/style/datatablestyle.esm.min.js +1 -1
  187. package/datatable/style/datatablestyle.js +5 -4
  188. package/datatable/style/datatablestyle.min.js +1 -1
  189. package/dataview/DataView.d.ts +4 -0
  190. package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +4 -0
  191. package/deferredcontent/DeferredContent.d.ts +4 -0
  192. package/dialog/dialog.cjs.js +2 -2
  193. package/dialog/dialog.cjs.min.js +1 -1
  194. package/dialog/dialog.esm.js +2 -2
  195. package/dialog/dialog.esm.min.js +1 -1
  196. package/dialog/dialog.js +2 -2
  197. package/dialog/dialog.min.js +1 -1
  198. package/dialog/style/dialogstyle.cjs.js +1 -1
  199. package/dialog/style/dialogstyle.cjs.min.js +1 -1
  200. package/dialog/style/dialogstyle.esm.js +1 -1
  201. package/dialog/style/dialogstyle.esm.min.js +1 -1
  202. package/dialog/style/dialogstyle.js +1 -1
  203. package/dialog/style/dialogstyle.min.js +1 -1
  204. package/divider/Divider.d.ts +4 -0
  205. package/dock/Dock.d.ts +4 -0
  206. package/dock/DockSub.vue +1 -0
  207. package/dock/dock.cjs.js +1 -0
  208. package/dock/dock.cjs.min.js +1 -1
  209. package/dock/dock.esm.js +1 -0
  210. package/dock/dock.esm.min.js +1 -1
  211. package/dock/dock.js +1 -0
  212. package/dock/dock.min.js +1 -1
  213. package/dropdown/Dropdown.vue +29 -1
  214. package/dropdown/dropdown.cjs.js +55 -30
  215. package/dropdown/dropdown.cjs.min.js +1 -1
  216. package/dropdown/dropdown.esm.js +55 -30
  217. package/dropdown/dropdown.esm.min.js +1 -1
  218. package/dropdown/dropdown.js +55 -30
  219. package/dropdown/dropdown.min.js +1 -1
  220. package/dropdown/style/dropdownstyle.cjs.js +1 -1
  221. package/dropdown/style/dropdownstyle.cjs.min.js +1 -1
  222. package/dropdown/style/dropdownstyle.esm.js +1 -1
  223. package/dropdown/style/dropdownstyle.esm.min.js +1 -1
  224. package/dropdown/style/dropdownstyle.js +1 -1
  225. package/dropdown/style/dropdownstyle.min.js +1 -1
  226. package/dynamicdialog/DynamicDialog.vue +1 -1
  227. package/dynamicdialog/dynamicdialog.cjs.js +1 -3
  228. package/dynamicdialog/dynamicdialog.cjs.min.js +1 -1
  229. package/dynamicdialog/dynamicdialog.esm.js +1 -3
  230. package/dynamicdialog/dynamicdialog.esm.min.js +1 -1
  231. package/dynamicdialog/dynamicdialog.js +1 -3
  232. package/dynamicdialog/dynamicdialog.min.js +1 -1
  233. package/editor/Editor.d.ts +4 -0
  234. package/editor/editor.cjs.js +2 -2
  235. package/editor/editor.cjs.min.js +1 -1
  236. package/editor/editor.esm.js +2 -2
  237. package/editor/editor.esm.min.js +1 -1
  238. package/editor/editor.js +2 -2
  239. package/editor/editor.min.js +1 -1
  240. package/fieldset/Fieldset.d.ts +4 -0
  241. package/fieldset/Fieldset.vue +1 -1
  242. package/fieldset/fieldset.cjs.js +3 -3
  243. package/fieldset/fieldset.cjs.min.js +1 -1
  244. package/fieldset/fieldset.esm.js +3 -3
  245. package/fieldset/fieldset.esm.min.js +1 -1
  246. package/fieldset/fieldset.js +3 -3
  247. package/fieldset/fieldset.min.js +1 -1
  248. package/fileupload/FileUpload.d.ts +4 -0
  249. package/galleria/Galleria.d.ts +4 -0
  250. package/galleria/GalleriaItem.vue +1 -0
  251. package/galleria/GalleriaThumbnails.vue +1 -1
  252. package/galleria/galleria.cjs.js +8 -7
  253. package/galleria/galleria.cjs.min.js +1 -1
  254. package/galleria/galleria.esm.js +8 -7
  255. package/galleria/galleria.esm.min.js +1 -1
  256. package/galleria/galleria.js +8 -7
  257. package/galleria/galleria.min.js +1 -1
  258. package/icons/sortamountdown/index.cjs.js +10 -7
  259. package/icons/sortamountdown/index.cjs.min.js +1 -1
  260. package/icons/sortamountdown/index.esm.js +11 -8
  261. package/icons/sortamountdown/index.esm.min.js +1 -1
  262. package/icons/sortamountdown/index.js +10 -7
  263. package/icons/sortamountdown/index.min.js +1 -1
  264. package/icons/sortamountdown/index.vue +1 -21
  265. package/icons/sortamountupalt/index.cjs.js +10 -7
  266. package/icons/sortamountupalt/index.cjs.min.js +1 -1
  267. package/icons/sortamountupalt/index.esm.js +11 -8
  268. package/icons/sortamountupalt/index.esm.min.js +1 -1
  269. package/icons/sortamountupalt/index.js +10 -7
  270. package/icons/sortamountupalt/index.min.js +1 -1
  271. package/icons/sortamountupalt/index.vue +1 -21
  272. package/image/Image.d.ts +4 -0
  273. package/image/Image.vue +2 -6
  274. package/image/image.cjs.js +4 -7
  275. package/image/image.cjs.min.js +1 -1
  276. package/image/image.esm.js +4 -7
  277. package/image/image.esm.min.js +1 -1
  278. package/image/image.js +4 -7
  279. package/image/image.min.js +1 -1
  280. package/image/style/imagestyle.cjs.js +1 -1
  281. package/image/style/imagestyle.cjs.min.js +1 -1
  282. package/image/style/imagestyle.esm.js +1 -1
  283. package/image/style/imagestyle.esm.min.js +1 -1
  284. package/image/style/imagestyle.js +1 -1
  285. package/image/style/imagestyle.min.js +1 -1
  286. package/inlinemessage/InlineMessage.d.ts +4 -0
  287. package/inplace/Inplace.d.ts +4 -0
  288. package/inplace/inplace.cjs.js +2 -2
  289. package/inplace/inplace.cjs.min.js +1 -1
  290. package/inplace/inplace.esm.js +2 -2
  291. package/inplace/inplace.esm.min.js +1 -1
  292. package/inplace/inplace.js +2 -2
  293. package/inplace/inplace.min.js +1 -1
  294. package/inputgroup/InputGroup.d.ts +4 -0
  295. package/inputgroupaddon/InputGroupAddon.d.ts +4 -0
  296. package/inputmask/InputMask.d.ts +4 -0
  297. package/inputnumber/BaseInputNumber.vue +7 -0
  298. package/inputnumber/InputNumber.d.ts +7 -0
  299. package/inputnumber/InputNumber.vue +4 -3
  300. package/inputnumber/inputnumber.cjs.js +15 -5
  301. package/inputnumber/inputnumber.cjs.min.js +1 -1
  302. package/inputnumber/inputnumber.esm.js +15 -5
  303. package/inputnumber/inputnumber.esm.min.js +1 -1
  304. package/inputnumber/inputnumber.js +15 -5
  305. package/inputnumber/inputnumber.min.js +1 -1
  306. package/inputswitch/InputSwitch.d.ts +4 -0
  307. package/inputswitch/inputswitch.cjs.js +2 -2
  308. package/inputswitch/inputswitch.cjs.min.js +1 -1
  309. package/inputswitch/inputswitch.esm.js +2 -2
  310. package/inputswitch/inputswitch.esm.min.js +1 -1
  311. package/inputswitch/inputswitch.js +2 -2
  312. package/inputswitch/inputswitch.min.js +1 -1
  313. package/knob/Knob.d.ts +4 -0
  314. package/knob/Knob.vue +1 -1
  315. package/knob/knob.cjs.js +1 -1
  316. package/knob/knob.cjs.min.js +1 -1
  317. package/knob/knob.esm.js +1 -1
  318. package/knob/knob.esm.min.js +1 -1
  319. package/knob/knob.js +1 -1
  320. package/knob/knob.min.js +1 -1
  321. package/listbox/BaseListbox.vue +1 -1
  322. package/listbox/Listbox.d.ts +5 -1
  323. package/listbox/Listbox.vue +2 -0
  324. package/listbox/listbox.cjs.js +5 -3
  325. package/listbox/listbox.cjs.min.js +1 -1
  326. package/listbox/listbox.esm.js +5 -3
  327. package/listbox/listbox.esm.min.js +1 -1
  328. package/listbox/listbox.js +5 -3
  329. package/listbox/listbox.min.js +1 -1
  330. package/megamenu/MegaMenu.d.ts +4 -0
  331. package/megamenu/MegaMenu.vue +2 -1
  332. package/megamenu/megamenu.cjs.js +2 -1
  333. package/megamenu/megamenu.cjs.min.js +1 -1
  334. package/megamenu/megamenu.esm.js +2 -1
  335. package/megamenu/megamenu.esm.min.js +1 -1
  336. package/megamenu/megamenu.js +2 -1
  337. package/megamenu/megamenu.min.js +1 -1
  338. package/menu/Menu.d.ts +4 -0
  339. package/menu/Menu.vue +1 -0
  340. package/menu/menu.cjs.js +3 -2
  341. package/menu/menu.cjs.min.js +1 -1
  342. package/menu/menu.esm.js +3 -2
  343. package/menu/menu.esm.min.js +1 -1
  344. package/menu/menu.js +3 -2
  345. package/menu/menu.min.js +1 -1
  346. package/menubar/Menubar.d.ts +4 -0
  347. package/menubar/Menubar.vue +2 -1
  348. package/menubar/menubar.cjs.js +4 -3
  349. package/menubar/menubar.cjs.min.js +1 -1
  350. package/menubar/menubar.esm.js +4 -3
  351. package/menubar/menubar.esm.min.js +1 -1
  352. package/menubar/menubar.js +4 -3
  353. package/menubar/menubar.min.js +1 -1
  354. package/menuitem/MenuItem.d.ts +0 -6
  355. package/message/message.cjs.js +2 -2
  356. package/message/message.cjs.min.js +1 -1
  357. package/message/message.esm.js +2 -2
  358. package/message/message.esm.min.js +1 -1
  359. package/message/message.js +2 -2
  360. package/message/message.min.js +1 -1
  361. package/message/style/messagestyle.cjs.js +1 -1
  362. package/message/style/messagestyle.cjs.min.js +1 -1
  363. package/message/style/messagestyle.esm.js +1 -1
  364. package/message/style/messagestyle.esm.min.js +1 -1
  365. package/message/style/messagestyle.js +1 -1
  366. package/message/style/messagestyle.min.js +1 -1
  367. package/multiselect/MultiSelect.d.ts +4 -0
  368. package/multiselect/MultiSelect.vue +2 -0
  369. package/multiselect/multiselect.cjs.js +6 -4
  370. package/multiselect/multiselect.cjs.min.js +1 -1
  371. package/multiselect/multiselect.esm.js +6 -4
  372. package/multiselect/multiselect.esm.min.js +1 -1
  373. package/multiselect/multiselect.js +6 -4
  374. package/multiselect/multiselect.min.js +1 -1
  375. package/orderlist/BaseOrderList.vue +1 -1
  376. package/orderlist/OrderList.d.ts +5 -1
  377. package/orderlist/OrderList.vue +1 -0
  378. package/orderlist/orderlist.cjs.js +4 -3
  379. package/orderlist/orderlist.cjs.min.js +1 -1
  380. package/orderlist/orderlist.esm.js +4 -3
  381. package/orderlist/orderlist.esm.min.js +1 -1
  382. package/orderlist/orderlist.js +4 -3
  383. package/orderlist/orderlist.min.js +1 -1
  384. package/organizationchart/OrganizationChart.d.ts +4 -0
  385. package/organizationchart/OrganizationChartNode.vue +1 -1
  386. package/organizationchart/organizationchart.cjs.js +3 -3
  387. package/organizationchart/organizationchart.cjs.min.js +1 -1
  388. package/organizationchart/organizationchart.esm.js +3 -3
  389. package/organizationchart/organizationchart.esm.min.js +1 -1
  390. package/organizationchart/organizationchart.js +3 -3
  391. package/organizationchart/organizationchart.min.js +1 -1
  392. package/overlaypanel/OverlayPanel.d.ts +4 -0
  393. package/overlaypanel/overlaypanel.cjs.js +2 -2
  394. package/overlaypanel/overlaypanel.cjs.min.js +1 -1
  395. package/overlaypanel/overlaypanel.esm.js +2 -2
  396. package/overlaypanel/overlaypanel.esm.min.js +1 -1
  397. package/overlaypanel/overlaypanel.js +2 -2
  398. package/overlaypanel/overlaypanel.min.js +1 -1
  399. package/package.json +1 -1
  400. package/paginator/Paginator.vue +4 -4
  401. package/paginator/paginator.cjs.js +2 -2
  402. package/paginator/paginator.cjs.min.js +1 -1
  403. package/paginator/paginator.esm.js +2 -2
  404. package/paginator/paginator.esm.min.js +1 -1
  405. package/paginator/paginator.js +2 -2
  406. package/paginator/paginator.min.js +1 -1
  407. package/paginator/style/paginatorstyle.cjs.js +2 -2
  408. package/paginator/style/paginatorstyle.cjs.min.js +1 -1
  409. package/paginator/style/paginatorstyle.esm.js +2 -2
  410. package/paginator/style/paginatorstyle.esm.min.js +1 -1
  411. package/paginator/style/paginatorstyle.js +2 -2
  412. package/paginator/style/paginatorstyle.min.js +1 -1
  413. package/panel/Panel.d.ts +4 -0
  414. package/panel/Panel.vue +1 -1
  415. package/panel/panel.cjs.js +3 -3
  416. package/panel/panel.cjs.min.js +1 -1
  417. package/panel/panel.esm.js +3 -3
  418. package/panel/panel.esm.min.js +1 -1
  419. package/panel/panel.js +3 -3
  420. package/panel/panel.min.js +1 -1
  421. package/panelmenu/PanelMenu.d.ts +4 -0
  422. package/panelmenu/PanelMenu.vue +1 -0
  423. package/panelmenu/PanelMenuList.vue +1 -0
  424. package/panelmenu/panelmenu.cjs.js +4 -2
  425. package/panelmenu/panelmenu.cjs.min.js +1 -1
  426. package/panelmenu/panelmenu.esm.js +4 -2
  427. package/panelmenu/panelmenu.esm.min.js +1 -1
  428. package/panelmenu/panelmenu.js +4 -2
  429. package/panelmenu/panelmenu.min.js +1 -1
  430. package/passthrough/index.cjs.js +2 -2
  431. package/passthrough/index.cjs.min.js +1 -1
  432. package/passthrough/index.esm.js +2 -2
  433. package/passthrough/index.esm.min.js +1 -1
  434. package/passthrough/index.js +2 -2
  435. package/passthrough/index.min.js +1 -1
  436. package/passthrough/tailwind/index.cjs.js +2 -71
  437. package/passthrough/tailwind/index.cjs.min.js +1 -1
  438. package/passthrough/tailwind/index.esm.js +2 -71
  439. package/passthrough/tailwind/index.esm.min.js +1 -1
  440. package/passthrough/tailwind/index.js +2 -71
  441. package/passthrough/tailwind/index.min.js +1 -1
  442. package/password/Password.d.ts +4 -0
  443. package/password/password.cjs.js +2 -4
  444. package/password/password.cjs.min.js +1 -1
  445. package/password/password.esm.js +2 -4
  446. package/password/password.esm.min.js +1 -1
  447. package/password/password.js +2 -4
  448. package/password/password.min.js +1 -1
  449. package/picklist/BasePickList.vue +1 -1
  450. package/picklist/PickList.d.ts +5 -1
  451. package/picklist/PickList.vue +2 -1
  452. package/picklist/picklist.cjs.js +5 -4
  453. package/picklist/picklist.cjs.min.js +1 -1
  454. package/picklist/picklist.esm.js +5 -4
  455. package/picklist/picklist.esm.min.js +1 -1
  456. package/picklist/picklist.js +5 -4
  457. package/picklist/picklist.min.js +1 -1
  458. package/picklist/style/pickliststyle.cjs.js +1 -1
  459. package/picklist/style/pickliststyle.cjs.min.js +1 -1
  460. package/picklist/style/pickliststyle.esm.js +1 -1
  461. package/picklist/style/pickliststyle.esm.min.js +1 -1
  462. package/picklist/style/pickliststyle.js +1 -1
  463. package/picklist/style/pickliststyle.min.js +1 -1
  464. package/progressspinner/ProgressSpinner.d.ts +4 -0
  465. package/radiobutton/RadioButton.d.ts +4 -0
  466. package/radiobutton/radiobutton.cjs.js +2 -2
  467. package/radiobutton/radiobutton.cjs.min.js +1 -1
  468. package/radiobutton/radiobutton.esm.js +2 -2
  469. package/radiobutton/radiobutton.esm.min.js +1 -1
  470. package/radiobutton/radiobutton.js +2 -2
  471. package/radiobutton/radiobutton.min.js +1 -1
  472. package/rating/Rating.d.ts +4 -0
  473. package/resources/themes/arya-blue/theme.css +4 -4
  474. package/resources/themes/arya-green/theme.css +4 -4
  475. package/resources/themes/arya-orange/theme.css +4 -4
  476. package/resources/themes/arya-purple/theme.css +4 -4
  477. package/resources/themes/bootstrap4-dark-blue/theme.css +4 -4
  478. package/resources/themes/bootstrap4-dark-purple/theme.css +4 -4
  479. package/resources/themes/bootstrap4-light-blue/theme.css +4 -4
  480. package/resources/themes/bootstrap4-light-purple/theme.css +4 -4
  481. package/resources/themes/fluent-light/theme.css +4 -4
  482. package/resources/themes/lara-dark-amber/theme.css +4 -4
  483. package/resources/themes/lara-dark-blue/theme.css +4 -4
  484. package/resources/themes/lara-dark-cyan/theme.css +4 -4
  485. package/resources/themes/lara-dark-green/theme.css +4 -4
  486. package/resources/themes/lara-dark-indigo/theme.css +4 -4
  487. package/resources/themes/lara-dark-pink/theme.css +4 -4
  488. package/resources/themes/lara-dark-purple/theme.css +4 -4
  489. package/resources/themes/lara-dark-teal/theme.css +4 -4
  490. package/resources/themes/lara-light-amber/theme.css +4 -4
  491. package/resources/themes/lara-light-blue/theme.css +4 -4
  492. package/resources/themes/lara-light-cyan/theme.css +4 -4
  493. package/resources/themes/lara-light-green/theme.css +4 -4
  494. package/resources/themes/lara-light-indigo/theme.css +4 -4
  495. package/resources/themes/lara-light-pink/theme.css +4 -4
  496. package/resources/themes/lara-light-purple/theme.css +4 -4
  497. package/resources/themes/lara-light-teal/theme.css +44 -44
  498. package/resources/themes/luna-amber/theme.css +4 -4
  499. package/resources/themes/luna-blue/theme.css +4 -4
  500. package/resources/themes/luna-green/theme.css +4 -4
  501. package/resources/themes/luna-pink/theme.css +4 -4
  502. package/resources/themes/md-dark-deeppurple/theme.css +4 -4
  503. package/resources/themes/md-dark-indigo/theme.css +4 -4
  504. package/resources/themes/md-light-deeppurple/theme.css +4 -4
  505. package/resources/themes/md-light-indigo/theme.css +4 -4
  506. package/resources/themes/mdc-dark-deeppurple/theme.css +4 -4
  507. package/resources/themes/mdc-dark-indigo/theme.css +4 -4
  508. package/resources/themes/mdc-light-deeppurple/theme.css +4 -4
  509. package/resources/themes/mdc-light-indigo/theme.css +4 -4
  510. package/resources/themes/mira/theme.css +4 -4
  511. package/resources/themes/nano/theme.css +4 -4
  512. package/resources/themes/nova/theme.css +4 -4
  513. package/resources/themes/nova-accent/theme.css +4 -4
  514. package/resources/themes/nova-alt/theme.css +4 -4
  515. package/resources/themes/nova-vue/theme.css +4 -4
  516. package/resources/themes/rhea/theme.css +4 -4
  517. package/resources/themes/saga-blue/theme.css +4 -4
  518. package/resources/themes/saga-green/theme.css +4 -4
  519. package/resources/themes/saga-orange/theme.css +4 -4
  520. package/resources/themes/saga-purple/theme.css +4 -4
  521. package/resources/themes/soho-dark/theme.css +4 -4
  522. package/resources/themes/soho-light/theme.css +4 -4
  523. package/resources/themes/tailwind-light/theme.css +4 -4
  524. package/resources/themes/vela-blue/theme.css +4 -4
  525. package/resources/themes/vela-green/theme.css +4 -4
  526. package/resources/themes/vela-orange/theme.css +4 -4
  527. package/resources/themes/vela-purple/theme.css +4 -4
  528. package/resources/themes/viva-dark/theme.css +4 -4
  529. package/resources/themes/viva-light/theme.css +4 -4
  530. package/ripple/style/ripplestyle.cjs.js +1 -1
  531. package/ripple/style/ripplestyle.cjs.min.js +1 -1
  532. package/ripple/style/ripplestyle.esm.js +1 -1
  533. package/ripple/style/ripplestyle.esm.min.js +1 -1
  534. package/ripple/style/ripplestyle.js +1 -1
  535. package/ripple/style/ripplestyle.min.js +1 -1
  536. package/row/Row.d.ts +4 -0
  537. package/row/Row.vue +7 -0
  538. package/row/row.cjs.js +9 -0
  539. package/row/row.cjs.min.js +1 -1
  540. package/row/row.esm.js +9 -0
  541. package/row/row.esm.min.js +1 -1
  542. package/row/row.js +9 -0
  543. package/row/row.min.js +1 -1
  544. package/scrollpanel/ScrollPanel.d.ts +4 -0
  545. package/scrollpanel/ScrollPanel.vue +8 -1
  546. package/scrollpanel/scrollpanel.cjs.js +14 -5
  547. package/scrollpanel/scrollpanel.cjs.min.js +1 -1
  548. package/scrollpanel/scrollpanel.esm.js +14 -5
  549. package/scrollpanel/scrollpanel.esm.min.js +1 -1
  550. package/scrollpanel/scrollpanel.js +14 -5
  551. package/scrollpanel/scrollpanel.min.js +1 -1
  552. package/scrolltop/ScrollTop.d.ts +4 -0
  553. package/selectbutton/SelectButton.d.ts +4 -0
  554. package/sidebar/Sidebar.d.ts +4 -0
  555. package/sidebar/sidebar.cjs.js +2 -2
  556. package/sidebar/sidebar.cjs.min.js +1 -1
  557. package/sidebar/sidebar.esm.js +2 -2
  558. package/sidebar/sidebar.esm.min.js +1 -1
  559. package/sidebar/sidebar.js +2 -2
  560. package/sidebar/sidebar.min.js +1 -1
  561. package/skeleton/Skeleton.d.ts +4 -0
  562. package/slider/Slider.d.ts +4 -0
  563. package/slider/Slider.vue +26 -19
  564. package/slider/slider.cjs.js +19 -11
  565. package/slider/slider.cjs.min.js +1 -1
  566. package/slider/slider.esm.js +19 -11
  567. package/slider/slider.esm.min.js +1 -1
  568. package/slider/slider.js +19 -11
  569. package/slider/slider.min.js +1 -1
  570. package/speeddial/SpeedDial.d.ts +4 -0
  571. package/speeddial/SpeedDial.vue +1 -0
  572. package/speeddial/speeddial.cjs.js +3 -2
  573. package/speeddial/speeddial.cjs.min.js +1 -1
  574. package/speeddial/speeddial.esm.js +3 -2
  575. package/speeddial/speeddial.esm.min.js +1 -1
  576. package/speeddial/speeddial.js +3 -2
  577. package/speeddial/speeddial.min.js +1 -1
  578. package/speeddial/style/speeddialstyle.cjs.js +2 -2
  579. package/speeddial/style/speeddialstyle.cjs.min.js +1 -1
  580. package/speeddial/style/speeddialstyle.esm.js +2 -2
  581. package/speeddial/style/speeddialstyle.esm.min.js +1 -1
  582. package/speeddial/style/speeddialstyle.js +2 -2
  583. package/speeddial/style/speeddialstyle.min.js +1 -1
  584. package/splitbutton/SplitButton.d.ts +4 -0
  585. package/splitbutton/style/splitbuttonstyle.cjs.js +2 -2
  586. package/splitbutton/style/splitbuttonstyle.cjs.min.js +1 -1
  587. package/splitbutton/style/splitbuttonstyle.esm.js +2 -2
  588. package/splitbutton/style/splitbuttonstyle.esm.min.js +1 -1
  589. package/splitbutton/style/splitbuttonstyle.js +2 -2
  590. package/splitbutton/style/splitbuttonstyle.min.js +1 -1
  591. package/splitter/Splitter.d.ts +4 -0
  592. package/splitterpanel/SplitterPanel.d.ts +4 -0
  593. package/steps/Steps.d.ts +4 -0
  594. package/steps/Steps.vue +1 -0
  595. package/steps/steps.cjs.js +1 -0
  596. package/steps/steps.cjs.min.js +1 -1
  597. package/steps/steps.esm.js +1 -0
  598. package/steps/steps.esm.min.js +1 -1
  599. package/steps/steps.js +1 -0
  600. package/steps/steps.min.js +1 -1
  601. package/tabmenu/TabMenu.d.ts +4 -0
  602. package/tabmenu/TabMenu.vue +1 -0
  603. package/tabmenu/tabmenu.cjs.js +1 -0
  604. package/tabmenu/tabmenu.cjs.min.js +1 -1
  605. package/tabmenu/tabmenu.esm.js +1 -0
  606. package/tabmenu/tabmenu.esm.min.js +1 -1
  607. package/tabmenu/tabmenu.js +1 -0
  608. package/tabmenu/tabmenu.min.js +1 -1
  609. package/tabpanel/TabPanel.d.ts +4 -0
  610. package/tabview/TabView.vue +1 -0
  611. package/tabview/tabview.cjs.js +3 -2
  612. package/tabview/tabview.cjs.min.js +1 -1
  613. package/tabview/tabview.esm.js +3 -2
  614. package/tabview/tabview.esm.min.js +1 -1
  615. package/tabview/tabview.js +3 -2
  616. package/tabview/tabview.min.js +1 -1
  617. package/tag/Tag.d.ts +4 -0
  618. package/terminal/Terminal.d.ts +4 -0
  619. package/terminal/Terminal.vue +1 -1
  620. package/terminal/terminal.cjs.js +1 -1
  621. package/terminal/terminal.cjs.min.js +1 -1
  622. package/terminal/terminal.esm.js +1 -1
  623. package/terminal/terminal.esm.min.js +1 -1
  624. package/terminal/terminal.js +1 -1
  625. package/terminal/terminal.min.js +1 -1
  626. package/textarea/Textarea.d.ts +4 -0
  627. package/tieredmenu/TieredMenu.vue +1 -0
  628. package/tieredmenu/tieredmenu.cjs.js +3 -2
  629. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  630. package/tieredmenu/tieredmenu.esm.js +3 -2
  631. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  632. package/tieredmenu/tieredmenu.js +3 -2
  633. package/tieredmenu/tieredmenu.min.js +1 -1
  634. package/timeline/Timeline.d.ts +4 -0
  635. package/toast/Toast.d.ts +4 -0
  636. package/toast/style/toaststyle.cjs.js +2 -2
  637. package/toast/style/toaststyle.cjs.min.js +1 -1
  638. package/toast/style/toaststyle.esm.js +2 -2
  639. package/toast/style/toaststyle.esm.min.js +1 -1
  640. package/toast/style/toaststyle.js +2 -2
  641. package/toast/style/toaststyle.min.js +1 -1
  642. package/toast/toast.cjs.js +4 -4
  643. package/toast/toast.cjs.min.js +1 -1
  644. package/toast/toast.esm.js +4 -4
  645. package/toast/toast.esm.min.js +1 -1
  646. package/toast/toast.js +4 -4
  647. package/toast/toast.min.js +1 -1
  648. package/togglebutton/ToggleButton.d.ts +4 -0
  649. package/togglebutton/togglebutton.cjs.js +2 -2
  650. package/togglebutton/togglebutton.cjs.min.js +1 -1
  651. package/togglebutton/togglebutton.esm.js +2 -2
  652. package/togglebutton/togglebutton.esm.min.js +1 -1
  653. package/togglebutton/togglebutton.js +2 -2
  654. package/togglebutton/togglebutton.min.js +1 -1
  655. package/toolbar/Toolbar.d.ts +4 -0
  656. package/tooltip/Tooltip.d.ts +4 -0
  657. package/tree/BaseTree.vue +1 -1
  658. package/tree/Tree.d.ts +1 -1
  659. package/tree/Tree.vue +1 -1
  660. package/tree/TreeNode.vue +1 -0
  661. package/tree/tree.cjs.js +7 -6
  662. package/tree/tree.cjs.min.js +1 -1
  663. package/tree/tree.esm.js +7 -6
  664. package/tree/tree.esm.min.js +1 -1
  665. package/tree/tree.js +7 -6
  666. package/tree/tree.min.js +1 -1
  667. package/treeselect/BaseTreeSelect.vue +1 -1
  668. package/treeselect/TreeSelect.d.ts +5 -1
  669. package/treeselect/TreeSelect.vue +1 -0
  670. package/treeselect/treeselect.cjs.js +6 -5
  671. package/treeselect/treeselect.cjs.min.js +1 -1
  672. package/treeselect/treeselect.esm.js +6 -5
  673. package/treeselect/treeselect.esm.min.js +1 -1
  674. package/treeselect/treeselect.js +6 -5
  675. package/treeselect/treeselect.min.js +1 -1
  676. package/treetable/BaseTreeTable.vue +5 -1
  677. package/treetable/HeaderCell.vue +1 -1
  678. package/treetable/TreeTable.d.ts +10 -1
  679. package/treetable/TreeTable.vue +32 -24
  680. package/treetable/TreeTableRow.vue +32 -20
  681. package/treetable/style/treetablestyle.cjs.js +1 -1
  682. package/treetable/style/treetablestyle.cjs.min.js +1 -1
  683. package/treetable/style/treetablestyle.esm.js +1 -1
  684. package/treetable/style/treetablestyle.esm.min.js +1 -1
  685. package/treetable/style/treetablestyle.js +1 -1
  686. package/treetable/style/treetablestyle.min.js +1 -1
  687. package/treetable/treetable.cjs.js +82 -55
  688. package/treetable/treetable.cjs.min.js +1 -1
  689. package/treetable/treetable.esm.js +83 -56
  690. package/treetable/treetable.esm.min.js +1 -1
  691. package/treetable/treetable.js +82 -55
  692. package/treetable/treetable.min.js +1 -1
  693. package/tristatecheckbox/TriStateCheckbox.d.ts +4 -0
  694. package/tristatecheckbox/TriStateCheckbox.vue +1 -1
  695. package/tristatecheckbox/tristatecheckbox.cjs.js +3 -3
  696. package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
  697. package/tristatecheckbox/tristatecheckbox.esm.js +3 -3
  698. package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
  699. package/tristatecheckbox/tristatecheckbox.js +3 -3
  700. package/tristatecheckbox/tristatecheckbox.min.js +1 -1
  701. package/usestyle/usestyle.cjs.js +2 -2
  702. package/usestyle/usestyle.cjs.min.js +1 -1
  703. package/usestyle/usestyle.esm.js +2 -2
  704. package/usestyle/usestyle.esm.min.js +1 -1
  705. package/usestyle/usestyle.js +2 -2
  706. package/usestyle/usestyle.min.js +1 -1
  707. package/utils/Utils.d.ts +10 -0
  708. package/utils/utils.cjs.js +167 -42
  709. package/utils/utils.cjs.min.js +1 -1
  710. package/utils/utils.esm.js +167 -43
  711. package/utils/utils.esm.min.js +1 -1
  712. package/utils/utils.js +167 -42
  713. package/utils/utils.min.js +1 -1
  714. package/vetur-attributes.json +4 -0
  715. package/vetur-tags.json +1 -0
  716. package/virtualscroller/VirtualScroller.d.ts +4 -0
  717. package/virtualscroller/VirtualScroller.vue +20 -16
  718. package/virtualscroller/style/virtualscrollerstyle.cjs.js +1 -1
  719. package/virtualscroller/style/virtualscrollerstyle.cjs.min.js +1 -1
  720. package/virtualscroller/style/virtualscrollerstyle.esm.js +1 -1
  721. package/virtualscroller/style/virtualscrollerstyle.esm.min.js +1 -1
  722. package/virtualscroller/style/virtualscrollerstyle.js +1 -1
  723. package/virtualscroller/style/virtualscrollerstyle.min.js +1 -1
  724. package/virtualscroller/virtualscroller.cjs.js +24 -20
  725. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  726. package/virtualscroller/virtualscroller.esm.js +24 -20
  727. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  728. package/virtualscroller/virtualscroller.js +24 -20
  729. package/virtualscroller/virtualscroller.min.js +1 -1
  730. package/web-types.json +11 -1
@@ -1 +1 @@
1
- import t from"primevue/baseicon";import{UniqueComponentId as r}from"primevue/utils";import{openBlock as l,createElementBlock as o,mergeProps as C,createElementVNode as i,createStaticVNode as p}from"vue";var e={name:"SortAmountUpAltIcon",extends:t,computed:{pathId:function(){return"pv_icon_clip_".concat(r())}}},n=["clipPath"],a=[p('<path d="M4.59864 3.99958C4.44662 3.99958 4.2946 3.94357 4.17458 3.82356L2.59836 2.24734L1.02214 3.82356C0.79011 4.05559 0.406057 4.05559 0.174024 3.82356C-0.0580081 3.59152 -0.0580081 3.20747 0.174024 2.97544L2.1743 0.97516C2.40634 0.743127 2.79039 0.743127 3.02242 0.97516L5.0227 2.97544C5.25473 3.20747 5.25473 3.59152 5.0227 3.82356C4.90268 3.94357 4.75066 3.99958 4.59864 3.99958Z" fill="currentColor"></path><path d="M2.59841 13.2009C2.27036 13.2009 1.99833 12.9288 1.99833 12.6008V1.39922C1.99833 1.07117 2.27036 0.799133 2.59841 0.799133C2.92646 0.799133 3.19849 1.07117 3.19849 1.39922V12.6008C3.19849 12.9288 2.92646 13.2009 2.59841 13.2009Z" fill="currentColor"></path><path d="M13.3999 11.2006H6.99902C6.67098 11.2006 6.39894 10.9285 6.39894 10.6005C6.39894 10.2725 6.67098 10.0004 6.99902 10.0004H13.3999C13.728 10.0004 14 10.2725 14 10.6005C14 10.9285 13.728 11.2006 13.3999 11.2006Z" fill="currentColor"></path><path d="M10.1995 6.39991H6.99902C6.67098 6.39991 6.39894 6.12788 6.39894 5.79983C6.39894 5.47179 6.67098 5.19975 6.99902 5.19975H10.1995C10.5275 5.19975 10.7996 5.47179 10.7996 5.79983C10.7996 6.12788 10.5275 6.39991 10.1995 6.39991Z" fill="currentColor"></path><path d="M8.59925 3.99958H6.99902C6.67098 3.99958 6.39894 3.72754 6.39894 3.3995C6.39894 3.07145 6.67098 2.79941 6.99902 2.79941H8.59925C8.92729 2.79941 9.19933 3.07145 9.19933 3.3995C9.19933 3.72754 8.92729 3.99958 8.59925 3.99958Z" fill="currentColor"></path><path d="M11.7997 8.80025H6.99902C6.67098 8.80025 6.39894 8.52821 6.39894 8.20017C6.39894 7.87212 6.67098 7.60008 6.99902 7.60008H11.7997C12.1277 7.60008 12.3998 7.87212 12.3998 8.20017C12.3998 8.52821 12.1277 8.80025 11.7997 8.80025Z" fill="currentColor"></path>',6)],h=["id"],c=[i("rect",{width:"14",height:"14",fill:"white"},null,-1)];e.render=function(t,r,p,e,u,d){return l(),o("svg",C({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),[i("g",{clipPath:"url(#".concat(d.pathId,")")},a,8,n),i("defs",null,[i("clipPath",{id:"".concat(d.pathId)},c,8,h)])],16)};export{e as default};
1
+ import t from"primevue/baseicon";import{UniqueComponentId as C}from"primevue/utils";import{openBlock as i,createElementBlock as e,mergeProps as n,createElementVNode as o}from"vue";var r={name:"SortAmountUpAltIcon",extends:t,computed:{pathId:function(){return"pv_icon_clip_".concat(C())}}},l=["clipPath"],p=[o("path",{d:"M3.63435 0.19871C3.57113 0.135484 3.49887 0.0903226 3.41758 0.0541935C3.255 -0.0180645 3.06532 -0.0180645 2.90274 0.0541935C2.82145 0.0903226 2.74919 0.135484 2.68597 0.19871L0.427901 2.45677C0.165965 2.71871 0.165965 3.15226 0.427901 3.41419C0.689836 3.67613 1.12338 3.67613 1.38532 3.41419L2.48726 2.31226V13.3226C2.48726 13.6929 2.79435 14 3.16467 14C3.535 14 3.84209 13.6929 3.84209 13.3226V2.31226L4.94403 3.41419C5.07951 3.54968 5.25113 3.6129 5.42274 3.6129C5.59435 3.6129 5.76597 3.54968 5.90145 3.41419C6.16338 3.15226 6.16338 2.71871 5.90145 2.45677L3.64338 0.19871H3.63435ZM13.7685 13.3226C13.7685 12.9523 13.4615 12.6452 13.0911 12.6452H7.22016C6.84984 12.6452 6.54274 12.9523 6.54274 13.3226C6.54274 13.6929 6.84984 14 7.22016 14H13.0911C13.4615 14 13.7685 13.6929 13.7685 13.3226ZM7.22016 8.58064C6.84984 8.58064 6.54274 8.27355 6.54274 7.90323C6.54274 7.5329 6.84984 7.22581 7.22016 7.22581H9.47823C9.84855 7.22581 10.1556 7.5329 10.1556 7.90323C10.1556 8.27355 9.84855 8.58064 9.47823 8.58064H7.22016ZM7.22016 5.87097H7.67177C8.0421 5.87097 8.34919 5.56387 8.34919 5.19355C8.34919 4.82323 8.0421 4.51613 7.67177 4.51613H7.22016C6.84984 4.51613 6.54274 4.82323 6.54274 5.19355C6.54274 5.56387 6.84984 5.87097 7.22016 5.87097ZM11.2847 11.2903H7.22016C6.84984 11.2903 6.54274 10.9832 6.54274 10.6129C6.54274 10.2426 6.84984 9.93548 7.22016 9.93548H11.2847C11.655 9.93548 11.9621 10.2426 11.9621 10.6129C11.9621 10.9832 11.655 11.2903 11.2847 11.2903Z",fill:"currentColor"},null,-1)],c=["id"],u=[o("rect",{width:"14",height:"14",fill:"white"},null,-1)];r.render=function(t,C,r,a,h,d){return i(),e("svg",n({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),[o("g",{clipPath:"url(#".concat(d.pathId,")")},p,8,l),o("defs",null,[o("clipPath",{id:"".concat(d.pathId)},u,8,c)])],16)};export{r as default};
@@ -18,15 +18,18 @@ this.primevue.icons.sortamountupalt = (function (BaseIcon, utils, vue) {
18
18
  };
19
19
 
20
20
  var _hoisted_1 = ["clipPath"];
21
- var _hoisted_2 = /*#__PURE__*/vue.createStaticVNode("<path d=\"M4.59864 3.99958C4.44662 3.99958 4.2946 3.94357 4.17458 3.82356L2.59836 2.24734L1.02214 3.82356C0.79011 4.05559 0.406057 4.05559 0.174024 3.82356C-0.0580081 3.59152 -0.0580081 3.20747 0.174024 2.97544L2.1743 0.97516C2.40634 0.743127 2.79039 0.743127 3.02242 0.97516L5.0227 2.97544C5.25473 3.20747 5.25473 3.59152 5.0227 3.82356C4.90268 3.94357 4.75066 3.99958 4.59864 3.99958Z\" fill=\"currentColor\"></path><path d=\"M2.59841 13.2009C2.27036 13.2009 1.99833 12.9288 1.99833 12.6008V1.39922C1.99833 1.07117 2.27036 0.799133 2.59841 0.799133C2.92646 0.799133 3.19849 1.07117 3.19849 1.39922V12.6008C3.19849 12.9288 2.92646 13.2009 2.59841 13.2009Z\" fill=\"currentColor\"></path><path d=\"M13.3999 11.2006H6.99902C6.67098 11.2006 6.39894 10.9285 6.39894 10.6005C6.39894 10.2725 6.67098 10.0004 6.99902 10.0004H13.3999C13.728 10.0004 14 10.2725 14 10.6005C14 10.9285 13.728 11.2006 13.3999 11.2006Z\" fill=\"currentColor\"></path><path d=\"M10.1995 6.39991H6.99902C6.67098 6.39991 6.39894 6.12788 6.39894 5.79983C6.39894 5.47179 6.67098 5.19975 6.99902 5.19975H10.1995C10.5275 5.19975 10.7996 5.47179 10.7996 5.79983C10.7996 6.12788 10.5275 6.39991 10.1995 6.39991Z\" fill=\"currentColor\"></path><path d=\"M8.59925 3.99958H6.99902C6.67098 3.99958 6.39894 3.72754 6.39894 3.3995C6.39894 3.07145 6.67098 2.79941 6.99902 2.79941H8.59925C8.92729 2.79941 9.19933 3.07145 9.19933 3.3995C9.19933 3.72754 8.92729 3.99958 8.59925 3.99958Z\" fill=\"currentColor\"></path><path d=\"M11.7997 8.80025H6.99902C6.67098 8.80025 6.39894 8.52821 6.39894 8.20017C6.39894 7.87212 6.67098 7.60008 6.99902 7.60008H11.7997C12.1277 7.60008 12.3998 7.87212 12.3998 8.20017C12.3998 8.52821 12.1277 8.80025 11.7997 8.80025Z\" fill=\"currentColor\"></path>", 6);
22
- var _hoisted_8 = [_hoisted_2];
23
- var _hoisted_9 = ["id"];
24
- var _hoisted_10 = /*#__PURE__*/vue.createElementVNode("rect", {
21
+ var _hoisted_2 = /*#__PURE__*/vue.createElementVNode("path", {
22
+ d: "M3.63435 0.19871C3.57113 0.135484 3.49887 0.0903226 3.41758 0.0541935C3.255 -0.0180645 3.06532 -0.0180645 2.90274 0.0541935C2.82145 0.0903226 2.74919 0.135484 2.68597 0.19871L0.427901 2.45677C0.165965 2.71871 0.165965 3.15226 0.427901 3.41419C0.689836 3.67613 1.12338 3.67613 1.38532 3.41419L2.48726 2.31226V13.3226C2.48726 13.6929 2.79435 14 3.16467 14C3.535 14 3.84209 13.6929 3.84209 13.3226V2.31226L4.94403 3.41419C5.07951 3.54968 5.25113 3.6129 5.42274 3.6129C5.59435 3.6129 5.76597 3.54968 5.90145 3.41419C6.16338 3.15226 6.16338 2.71871 5.90145 2.45677L3.64338 0.19871H3.63435ZM13.7685 13.3226C13.7685 12.9523 13.4615 12.6452 13.0911 12.6452H7.22016C6.84984 12.6452 6.54274 12.9523 6.54274 13.3226C6.54274 13.6929 6.84984 14 7.22016 14H13.0911C13.4615 14 13.7685 13.6929 13.7685 13.3226ZM7.22016 8.58064C6.84984 8.58064 6.54274 8.27355 6.54274 7.90323C6.54274 7.5329 6.84984 7.22581 7.22016 7.22581H9.47823C9.84855 7.22581 10.1556 7.5329 10.1556 7.90323C10.1556 8.27355 9.84855 8.58064 9.47823 8.58064H7.22016ZM7.22016 5.87097H7.67177C8.0421 5.87097 8.34919 5.56387 8.34919 5.19355C8.34919 4.82323 8.0421 4.51613 7.67177 4.51613H7.22016C6.84984 4.51613 6.54274 4.82323 6.54274 5.19355C6.54274 5.56387 6.84984 5.87097 7.22016 5.87097ZM11.2847 11.2903H7.22016C6.84984 11.2903 6.54274 10.9832 6.54274 10.6129C6.54274 10.2426 6.84984 9.93548 7.22016 9.93548H11.2847C11.655 9.93548 11.9621 10.2426 11.9621 10.6129C11.9621 10.9832 11.655 11.2903 11.2847 11.2903Z",
23
+ fill: "currentColor"
24
+ }, null, -1);
25
+ var _hoisted_3 = [_hoisted_2];
26
+ var _hoisted_4 = ["id"];
27
+ var _hoisted_5 = /*#__PURE__*/vue.createElementVNode("rect", {
25
28
  width: "14",
26
29
  height: "14",
27
30
  fill: "white"
28
31
  }, null, -1);
29
- var _hoisted_11 = [_hoisted_10];
32
+ var _hoisted_6 = [_hoisted_5];
30
33
  function render(_ctx, _cache, $props, $setup, $data, $options) {
31
34
  return vue.openBlock(), vue.createElementBlock("svg", vue.mergeProps({
32
35
  width: "14",
@@ -36,9 +39,9 @@ this.primevue.icons.sortamountupalt = (function (BaseIcon, utils, vue) {
36
39
  xmlns: "http://www.w3.org/2000/svg"
37
40
  }, _ctx.pti()), [vue.createElementVNode("g", {
38
41
  clipPath: "url(#".concat($options.pathId, ")")
39
- }, _hoisted_8, 8, _hoisted_1), vue.createElementVNode("defs", null, [vue.createElementVNode("clipPath", {
42
+ }, _hoisted_3, 8, _hoisted_1), vue.createElementVNode("defs", null, [vue.createElementVNode("clipPath", {
40
43
  id: "".concat($options.pathId)
41
- }, _hoisted_11, 8, _hoisted_9)])], 16);
44
+ }, _hoisted_6, 8, _hoisted_4)])], 16);
42
45
  }
43
46
 
44
47
  script.render = render;
@@ -1 +1 @@
1
- this.primevue=this.primevue||{},this.primevue.icons=this.primevue.icons||{},this.primevue.icons.sortamountupalt=function(t,e,r){"use strict";function i(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n={name:"SortAmountUpAltIcon",extends:i(t).default,computed:{pathId:function(){return"pv_icon_clip_".concat(e.UniqueComponentId())}}},o=["clipPath"],l=[r.createStaticVNode('<path d="M4.59864 3.99958C4.44662 3.99958 4.2946 3.94357 4.17458 3.82356L2.59836 2.24734L1.02214 3.82356C0.79011 4.05559 0.406057 4.05559 0.174024 3.82356C-0.0580081 3.59152 -0.0580081 3.20747 0.174024 2.97544L2.1743 0.97516C2.40634 0.743127 2.79039 0.743127 3.02242 0.97516L5.0227 2.97544C5.25473 3.20747 5.25473 3.59152 5.0227 3.82356C4.90268 3.94357 4.75066 3.99958 4.59864 3.99958Z" fill="currentColor"></path><path d="M2.59841 13.2009C2.27036 13.2009 1.99833 12.9288 1.99833 12.6008V1.39922C1.99833 1.07117 2.27036 0.799133 2.59841 0.799133C2.92646 0.799133 3.19849 1.07117 3.19849 1.39922V12.6008C3.19849 12.9288 2.92646 13.2009 2.59841 13.2009Z" fill="currentColor"></path><path d="M13.3999 11.2006H6.99902C6.67098 11.2006 6.39894 10.9285 6.39894 10.6005C6.39894 10.2725 6.67098 10.0004 6.99902 10.0004H13.3999C13.728 10.0004 14 10.2725 14 10.6005C14 10.9285 13.728 11.2006 13.3999 11.2006Z" fill="currentColor"></path><path d="M10.1995 6.39991H6.99902C6.67098 6.39991 6.39894 6.12788 6.39894 5.79983C6.39894 5.47179 6.67098 5.19975 6.99902 5.19975H10.1995C10.5275 5.19975 10.7996 5.47179 10.7996 5.79983C10.7996 6.12788 10.5275 6.39991 10.1995 6.39991Z" fill="currentColor"></path><path d="M8.59925 3.99958H6.99902C6.67098 3.99958 6.39894 3.72754 6.39894 3.3995C6.39894 3.07145 6.67098 2.79941 6.99902 2.79941H8.59925C8.92729 2.79941 9.19933 3.07145 9.19933 3.3995C9.19933 3.72754 8.92729 3.99958 8.59925 3.99958Z" fill="currentColor"></path><path d="M11.7997 8.80025H6.99902C6.67098 8.80025 6.39894 8.52821 6.39894 8.20017C6.39894 7.87212 6.67098 7.60008 6.99902 7.60008H11.7997C12.1277 7.60008 12.3998 7.87212 12.3998 8.20017C12.3998 8.52821 12.1277 8.80025 11.7997 8.80025Z" fill="currentColor"></path>',6)],c=["id"],a=[r.createElementVNode("rect",{width:"14",height:"14",fill:"white"},null,-1)];return n.render=function(t,e,i,n,p,u){return r.openBlock(),r.createElementBlock("svg",r.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.pti()),[r.createElementVNode("g",{clipPath:"url(#".concat(u.pathId,")")},l,8,o),r.createElementVNode("defs",null,[r.createElementVNode("clipPath",{id:"".concat(u.pathId)},a,8,c)])],16)},n}(primevue.baseicon,primevue.utils,Vue);
1
+ this.primevue=this.primevue||{},this.primevue.icons=this.primevue.icons||{},this.primevue.icons.sortamountupalt=function(e,t,n){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o={name:"SortAmountUpAltIcon",extends:i(e).default,computed:{pathId:function(){return"pv_icon_clip_".concat(t.UniqueComponentId())}}},r=["clipPath"],c=[n.createElementVNode("path",{d:"M3.63435 0.19871C3.57113 0.135484 3.49887 0.0903226 3.41758 0.0541935C3.255 -0.0180645 3.06532 -0.0180645 2.90274 0.0541935C2.82145 0.0903226 2.74919 0.135484 2.68597 0.19871L0.427901 2.45677C0.165965 2.71871 0.165965 3.15226 0.427901 3.41419C0.689836 3.67613 1.12338 3.67613 1.38532 3.41419L2.48726 2.31226V13.3226C2.48726 13.6929 2.79435 14 3.16467 14C3.535 14 3.84209 13.6929 3.84209 13.3226V2.31226L4.94403 3.41419C5.07951 3.54968 5.25113 3.6129 5.42274 3.6129C5.59435 3.6129 5.76597 3.54968 5.90145 3.41419C6.16338 3.15226 6.16338 2.71871 5.90145 2.45677L3.64338 0.19871H3.63435ZM13.7685 13.3226C13.7685 12.9523 13.4615 12.6452 13.0911 12.6452H7.22016C6.84984 12.6452 6.54274 12.9523 6.54274 13.3226C6.54274 13.6929 6.84984 14 7.22016 14H13.0911C13.4615 14 13.7685 13.6929 13.7685 13.3226ZM7.22016 8.58064C6.84984 8.58064 6.54274 8.27355 6.54274 7.90323C6.54274 7.5329 6.84984 7.22581 7.22016 7.22581H9.47823C9.84855 7.22581 10.1556 7.5329 10.1556 7.90323C10.1556 8.27355 9.84855 8.58064 9.47823 8.58064H7.22016ZM7.22016 5.87097H7.67177C8.0421 5.87097 8.34919 5.56387 8.34919 5.19355C8.34919 4.82323 8.0421 4.51613 7.67177 4.51613H7.22016C6.84984 4.51613 6.54274 4.82323 6.54274 5.19355C6.54274 5.56387 6.84984 5.87097 7.22016 5.87097ZM11.2847 11.2903H7.22016C6.84984 11.2903 6.54274 10.9832 6.54274 10.6129C6.54274 10.2426 6.84984 9.93548 7.22016 9.93548H11.2847C11.655 9.93548 11.9621 10.2426 11.9621 10.6129C11.9621 10.9832 11.655 11.2903 11.2847 11.2903Z",fill:"currentColor"},null,-1)],l=["id"],u=[n.createElementVNode("rect",{width:"14",height:"14",fill:"white"},null,-1)];return o.render=function(e,t,i,o,C,p){return n.openBlock(),n.createElementBlock("svg",n.mergeProps({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.pti()),[n.createElementVNode("g",{clipPath:"url(#".concat(p.pathId,")")},c,8,r),n.createElementVNode("defs",null,[n.createElementVNode("clipPath",{id:"".concat(p.pathId)},u,8,l)])],16)},o}(primevue.baseicon,primevue.utils,Vue);
@@ -2,27 +2,7 @@
2
2
  <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg" v-bind="pti()">
3
3
  <g :clipPath="`url(#${pathId})`">
4
4
  <path
5
- d="M4.59864 3.99958C4.44662 3.99958 4.2946 3.94357 4.17458 3.82356L2.59836 2.24734L1.02214 3.82356C0.79011 4.05559 0.406057 4.05559 0.174024 3.82356C-0.0580081 3.59152 -0.0580081 3.20747 0.174024 2.97544L2.1743 0.97516C2.40634 0.743127 2.79039 0.743127 3.02242 0.97516L5.0227 2.97544C5.25473 3.20747 5.25473 3.59152 5.0227 3.82356C4.90268 3.94357 4.75066 3.99958 4.59864 3.99958Z"
6
- fill="currentColor"
7
- />
8
- <path
9
- d="M2.59841 13.2009C2.27036 13.2009 1.99833 12.9288 1.99833 12.6008V1.39922C1.99833 1.07117 2.27036 0.799133 2.59841 0.799133C2.92646 0.799133 3.19849 1.07117 3.19849 1.39922V12.6008C3.19849 12.9288 2.92646 13.2009 2.59841 13.2009Z"
10
- fill="currentColor"
11
- />
12
- <path
13
- d="M13.3999 11.2006H6.99902C6.67098 11.2006 6.39894 10.9285 6.39894 10.6005C6.39894 10.2725 6.67098 10.0004 6.99902 10.0004H13.3999C13.728 10.0004 14 10.2725 14 10.6005C14 10.9285 13.728 11.2006 13.3999 11.2006Z"
14
- fill="currentColor"
15
- />
16
- <path
17
- d="M10.1995 6.39991H6.99902C6.67098 6.39991 6.39894 6.12788 6.39894 5.79983C6.39894 5.47179 6.67098 5.19975 6.99902 5.19975H10.1995C10.5275 5.19975 10.7996 5.47179 10.7996 5.79983C10.7996 6.12788 10.5275 6.39991 10.1995 6.39991Z"
18
- fill="currentColor"
19
- />
20
- <path
21
- d="M8.59925 3.99958H6.99902C6.67098 3.99958 6.39894 3.72754 6.39894 3.3995C6.39894 3.07145 6.67098 2.79941 6.99902 2.79941H8.59925C8.92729 2.79941 9.19933 3.07145 9.19933 3.3995C9.19933 3.72754 8.92729 3.99958 8.59925 3.99958Z"
22
- fill="currentColor"
23
- />
24
- <path
25
- d="M11.7997 8.80025H6.99902C6.67098 8.80025 6.39894 8.52821 6.39894 8.20017C6.39894 7.87212 6.67098 7.60008 6.99902 7.60008H11.7997C12.1277 7.60008 12.3998 7.87212 12.3998 8.20017C12.3998 8.52821 12.1277 8.80025 11.7997 8.80025Z"
5
+ d="M3.63435 0.19871C3.57113 0.135484 3.49887 0.0903226 3.41758 0.0541935C3.255 -0.0180645 3.06532 -0.0180645 2.90274 0.0541935C2.82145 0.0903226 2.74919 0.135484 2.68597 0.19871L0.427901 2.45677C0.165965 2.71871 0.165965 3.15226 0.427901 3.41419C0.689836 3.67613 1.12338 3.67613 1.38532 3.41419L2.48726 2.31226V13.3226C2.48726 13.6929 2.79435 14 3.16467 14C3.535 14 3.84209 13.6929 3.84209 13.3226V2.31226L4.94403 3.41419C5.07951 3.54968 5.25113 3.6129 5.42274 3.6129C5.59435 3.6129 5.76597 3.54968 5.90145 3.41419C6.16338 3.15226 6.16338 2.71871 5.90145 2.45677L3.64338 0.19871H3.63435ZM13.7685 13.3226C13.7685 12.9523 13.4615 12.6452 13.0911 12.6452H7.22016C6.84984 12.6452 6.54274 12.9523 6.54274 13.3226C6.54274 13.6929 6.84984 14 7.22016 14H13.0911C13.4615 14 13.7685 13.6929 13.7685 13.3226ZM7.22016 8.58064C6.84984 8.58064 6.54274 8.27355 6.54274 7.90323C6.54274 7.5329 6.84984 7.22581 7.22016 7.22581H9.47823C9.84855 7.22581 10.1556 7.5329 10.1556 7.90323C10.1556 8.27355 9.84855 8.58064 9.47823 8.58064H7.22016ZM7.22016 5.87097H7.67177C8.0421 5.87097 8.34919 5.56387 8.34919 5.19355C8.34919 4.82323 8.0421 4.51613 7.67177 4.51613H7.22016C6.84984 4.51613 6.54274 4.82323 6.54274 5.19355C6.54274 5.56387 6.84984 5.87097 7.22016 5.87097ZM11.2847 11.2903H7.22016C6.84984 11.2903 6.54274 10.9832 6.54274 10.6129C6.54274 10.2426 6.84984 9.93548 7.22016 9.93548H11.2847C11.655 9.93548 11.9621 10.2426 11.9621 10.6129C11.9621 10.9832 11.655 11.2903 11.2847 11.2903Z"
26
6
  fill="currentColor"
27
7
  />
28
8
  </g>
package/image/Image.d.ts CHANGED
@@ -32,6 +32,10 @@ export interface ImagePassThroughMethodOptions {
32
32
  * Defines current inline state.
33
33
  */
34
34
  state: ImageState;
35
+ /**
36
+ * Defines valid attributes.
37
+ */
38
+ attrs: any;
35
39
  /**
36
40
  * Defines parent options.
37
41
  */
package/image/Image.vue CHANGED
@@ -104,13 +104,9 @@ export default {
104
104
  this.previewClick = true;
105
105
  },
106
106
  onMaskClick(event) {
107
- const isActionbarTarget = [event.target.classList].includes('p-image-action') || event.target.closest('.p-image-action');
107
+ const isBarActionsClicked = DomHandler.isAttributeEquals(event.target, 'data-pc-section-group', 'action') || event.target.closest('[data-pc-section-group="action"]');
108
108
 
109
- if (isActionbarTarget) {
110
- return;
111
- }
112
-
113
- if (!this.previewClick) {
109
+ if (!this.previewClick && !isBarActionsClicked) {
114
110
  this.previewVisible = false;
115
111
  this.rotate = 0;
116
112
  this.scale = 1;
@@ -115,11 +115,8 @@ var script = {
115
115
  this.previewClick = true;
116
116
  },
117
117
  onMaskClick: function onMaskClick(event) {
118
- var isActionbarTarget = [event.target.classList].includes('p-image-action') || event.target.closest('.p-image-action');
119
- if (isActionbarTarget) {
120
- return;
121
- }
122
- if (!this.previewClick) {
118
+ var isBarActionsClicked = utils.DomHandler.isAttributeEquals(event.target, 'data-pc-section-group', 'action') || event.target.closest('[data-pc-section-group="action"]');
119
+ if (!this.previewClick && !isBarActionsClicked) {
123
120
  this.previewVisible = false;
124
121
  this.rotate = 0;
125
122
  this.scale = 1;
@@ -243,8 +240,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
243
240
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
244
241
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
245
242
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
246
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
247
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
243
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
244
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
248
245
  var _hoisted_1 = ["aria-label"];
249
246
  var _hoisted_2 = ["aria-modal"];
250
247
  var _hoisted_3 = ["aria-label"];
@@ -1 +1 @@
1
- "use strict";var e=require("primevue/focustrap"),t=require("primevue/icons/eye"),o=require("primevue/icons/refresh"),r=require("primevue/icons/searchminus"),n=require("primevue/icons/searchplus"),i=require("primevue/icons/times"),a=require("primevue/icons/undo"),l=require("primevue/portal"),c=require("primevue/utils"),s=require("primevue/basecomponent"),u=require("primevue/image/style"),m=require("vue");function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var f=p(e),d=p(t),v=p(o),b=p(r),h=p(n),g=p(i),y=p(a),k=p(l),w={name:"Image",extends:{name:"BaseImage",extends:p(s).default,props:{preview:{type:Boolean,default:!1},class:{type:null,default:null},style:{type:null,default:null},imageStyle:{type:null,default:null},imageClass:{type:null,default:null},previewButtonProps:{type:null,default:null},indicatorIcon:{type:String,default:void 0},zoomInDisabled:{type:Boolean,default:!1},zoomOutDisabled:{type:Boolean,default:!1}},style:p(u).default,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["show","hide","error"],mask:null,data:function(){return{maskVisible:!1,previewVisible:!1,rotate:0,scale:1}},beforeUnmount:function(){this.mask&&c.ZIndexUtils.clear(this.container)},methods:{maskRef:function(e){this.mask=e},toolbarRef:function(e){this.toolbarRef=e},onImageClick:function(){var e=this;this.preview&&(c.DomHandler.blockBodyScroll(),this.maskVisible=!0,setTimeout((function(){e.previewVisible=!0}),25))},onPreviewImageClick:function(){this.previewClick=!0},onMaskClick:function(e){[e.target.classList].includes("p-image-action")||e.target.closest(".p-image-action")||(this.previewClick||(this.previewVisible=!1,this.rotate=0,this.scale=1),this.previewClick=!1)},onMaskKeydown:function(e){var t=this;if("Escape"===e.code)this.hidePreview(),setTimeout((function(){c.DomHandler.focus(t.$refs.previewButton)}),200),e.preventDefault()},onError:function(){this.$emit("error")},rotateRight:function(){this.rotate+=90,this.previewClick=!0},rotateLeft:function(){this.rotate-=90,this.previewClick=!0},zoomIn:function(){this.scale=this.scale+.1,this.previewClick=!0},zoomOut:function(){this.scale=this.scale-.1,this.previewClick=!0},onBeforeEnter:function(){c.ZIndexUtils.set("modal",this.mask,this.$primevue.config.zIndex.modal)},onEnter:function(){this.focus(),this.$emit("show")},onBeforeLeave:function(){!this.isUnstyled&&c.DomHandler.addClass(this.mask,"p-component-overlay-leave")},onLeave:function(){c.DomHandler.unblockBodyScroll(),this.$emit("hide")},onAfterLeave:function(e){c.ZIndexUtils.clear(e),this.maskVisible=!1},focus:function(){var e=this.mask.querySelector("[autofocus]");e&&e.focus()},hidePreview:function(){this.previewVisible=!1,this.rotate=0,this.scale=1,c.DomHandler.unblockBodyScroll()}},computed:{containerClass:function(){return[this.cx("root"),this.class]},rotateClass:function(){return"p-image-preview-rotate-"+this.rotate},imagePreviewStyle:function(){return{transform:"rotate("+this.rotate+"deg) scale("+this.scale+")"}},isZoomInDisabled:function(){return this.zoomInDisabled||this.scale>=1.5},isZoomOutDisabled:function(){return this.zoomOutDisabled||this.scale<=.5},rightAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.rotateRight:void 0},leftAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.rotateLeft:void 0},zoomInAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.zoomIn:void 0},zoomOutAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.zoomOut:void 0},zoomImageAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.zoomImage:void 0},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}},components:{Portal:k.default,EyeIcon:d.default,RefreshIcon:v.default,UndoIcon:y.default,SearchMinusIcon:b.default,SearchPlusIcon:h.default,TimesIcon:g.default},directives:{focustrap:f.default}};function P(e){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(e)}function I(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function C(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?I(Object(o),!0).forEach((function(t){B(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):I(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function B(e,t,o){return(t=z(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function z(e){var t=E(e,"string");return"symbol"===P(t)?t:String(t)}function E(e,t){if("object"!==P(e)||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,t||"default");if("object"!==P(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var S=["aria-label"],L=["aria-modal"],O=["aria-label"],V=["aria-label"],$=["disabled","aria-label"],x=["disabled","aria-label"],D=["aria-label"],N=["src"];w.render=function(e,t,o,r,n,i){var a=m.resolveComponent("RefreshIcon"),l=m.resolveComponent("UndoIcon"),c=m.resolveComponent("SearchMinusIcon"),s=m.resolveComponent("SearchPlusIcon"),u=m.resolveComponent("TimesIcon"),p=m.resolveComponent("Portal"),f=m.resolveDirective("focustrap");return m.openBlock(),m.createElementBlock("span",m.mergeProps({class:i.containerClass,style:e.style},e.ptm("root"),{"data-pc-name":"image"}),[m.renderSlot(e.$slots,"image",{onError:i.onError,errorCallback:i.onError},(function(){return[m.createElementVNode("img",m.mergeProps({style:e.imageStyle,class:[e.cx("image"),e.imageClass],onError:t[0]||(t[0]=function(){return i.onError&&i.onError.apply(i,arguments)})},C(C({},e.$attrs),e.ptm("image"))),null,16)]})),e.preview?(m.openBlock(),m.createElementBlock("button",m.mergeProps({key:0,ref:"previewButton","aria-label":i.zoomImageAriaLabel,type:"button",class:e.cx("button"),onClick:t[1]||(t[1]=function(){return i.onImageClick&&i.onImageClick.apply(i,arguments)})},C(C({},e.previewButtonProps),e.ptm("button"))),[m.renderSlot(e.$slots,"indicatoricon",{},(function(){return[(m.openBlock(),m.createBlock(m.resolveDynamicComponent(e.indicatorIcon?"i":"EyeIcon"),m.mergeProps({class:e.cx("icon")},e.ptm("icon")),null,16,["class"]))]}))],16,S)):m.createCommentVNode("",!0),m.createVNode(p,null,{default:m.withCtx((function(){return[n.maskVisible?m.withDirectives((m.openBlock(),m.createElementBlock("div",m.mergeProps({key:0,ref:i.maskRef,role:"dialog",class:e.cx("mask"),"aria-modal":n.maskVisible,onClick:t[8]||(t[8]=function(){return i.onMaskClick&&i.onMaskClick.apply(i,arguments)}),onKeydown:t[9]||(t[9]=function(){return i.onMaskKeydown&&i.onMaskKeydown.apply(i,arguments)})},e.ptm("mask")),[m.createElementVNode("div",m.mergeProps({class:e.cx("toolbar")},e.ptm("toolbar")),[m.createElementVNode("button",m.mergeProps({class:e.cx("rotateRightButton"),onClick:t[2]||(t[2]=function(){return i.rotateRight&&i.rotateRight.apply(i,arguments)}),type:"button","aria-label":i.rightAriaLabel},e.ptm("rotateRightButton"),{"data-pc-group-section":"action"}),[m.renderSlot(e.$slots,"refresh",{},(function(){return[m.createVNode(a,m.normalizeProps(m.guardReactiveProps(e.ptm("rotateRightIcon"))),null,16)]}))],16,O),m.createElementVNode("button",m.mergeProps({class:e.cx("rotateLeftButton"),onClick:t[3]||(t[3]=function(){return i.rotateLeft&&i.rotateLeft.apply(i,arguments)}),type:"button","aria-label":i.leftAriaLabel},e.ptm("rotateLeftButton"),{"data-pc-group-section":"action"}),[m.renderSlot(e.$slots,"undo",{},(function(){return[m.createVNode(l,m.normalizeProps(m.guardReactiveProps(e.ptm("rotateLeftIcon"))),null,16)]}))],16,V),m.createElementVNode("button",m.mergeProps({class:e.cx("zoomOutButton"),onClick:t[4]||(t[4]=function(){return i.zoomOut&&i.zoomOut.apply(i,arguments)}),type:"button",disabled:i.isZoomOutDisabled,"aria-label":i.zoomOutAriaLabel},e.ptm("zoomOutButton"),{"data-pc-group-section":"action"}),[m.renderSlot(e.$slots,"zoomout",{},(function(){return[m.createVNode(c,m.normalizeProps(m.guardReactiveProps(e.ptm("zoomOutIcon"))),null,16)]}))],16,$),m.createElementVNode("button",m.mergeProps({class:e.cx("zoomInButton"),onClick:t[5]||(t[5]=function(){return i.zoomIn&&i.zoomIn.apply(i,arguments)}),type:"button",disabled:i.isZoomInDisabled,"aria-label":i.zoomInAriaLabel},e.ptm("zoomInButton"),{"data-pc-group-section":"action"}),[m.renderSlot(e.$slots,"zoomin",{},(function(){return[m.createVNode(s,m.normalizeProps(m.guardReactiveProps(e.ptm("zoomInIcon"))),null,16)]}))],16,x),m.createElementVNode("button",m.mergeProps({class:e.cx("closeButton"),type:"button",onClick:t[6]||(t[6]=function(){return i.hidePreview&&i.hidePreview.apply(i,arguments)}),"aria-label":i.closeAriaLabel,autofocus:""},e.ptm("closeButton"),{"data-pc-group-section":"action"}),[m.renderSlot(e.$slots,"close",{},(function(){return[m.createVNode(u,m.normalizeProps(m.guardReactiveProps(e.ptm("closeIcon"))),null,16)]}))],16,D)],16),m.createVNode(m.Transition,m.mergeProps({name:"p-image-preview",onBeforeEnter:i.onBeforeEnter,onEnter:i.onEnter,onLeave:i.onLeave,onBeforeLeave:i.onBeforeLeave,onAfterLeave:i.onAfterLeave},e.ptm("transition")),{default:m.withCtx((function(){return[n.previewVisible?(m.openBlock(),m.createElementBlock("div",m.normalizeProps(m.mergeProps({key:0},e.ptm("previewContainer"))),[m.renderSlot(e.$slots,"preview",{class:m.normalizeClass(e.cx("preview")),style:m.normalizeStyle(i.imagePreviewStyle),onClick:i.onPreviewImageClick,previewCallback:i.onPreviewImageClick},(function(){return[m.createElementVNode("img",m.mergeProps({src:e.$attrs.src,class:e.cx("preview"),style:i.imagePreviewStyle,onClick:t[7]||(t[7]=function(){return i.onPreviewImageClick&&i.onPreviewImageClick.apply(i,arguments)})},e.ptm("preview")),null,16,N)]}))],16)):m.createCommentVNode("",!0)]})),_:3},16,["onBeforeEnter","onEnter","onLeave","onBeforeLeave","onAfterLeave"])],16,L)),[[f]]):m.createCommentVNode("",!0)]})),_:3})],16)},module.exports=w;
1
+ "use strict";var e=require("primevue/focustrap"),t=require("primevue/icons/eye"),o=require("primevue/icons/refresh"),r=require("primevue/icons/searchminus"),n=require("primevue/icons/searchplus"),i=require("primevue/icons/times"),a=require("primevue/icons/undo"),l=require("primevue/portal"),c=require("primevue/utils"),s=require("primevue/basecomponent"),u=require("primevue/image/style"),m=require("vue");function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var f=p(e),d=p(t),v=p(o),b=p(r),h=p(n),g=p(i),y=p(a),k=p(l),w={name:"Image",extends:{name:"BaseImage",extends:p(s).default,props:{preview:{type:Boolean,default:!1},class:{type:null,default:null},style:{type:null,default:null},imageStyle:{type:null,default:null},imageClass:{type:null,default:null},previewButtonProps:{type:null,default:null},indicatorIcon:{type:String,default:void 0},zoomInDisabled:{type:Boolean,default:!1},zoomOutDisabled:{type:Boolean,default:!1}},style:p(u).default,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["show","hide","error"],mask:null,data:function(){return{maskVisible:!1,previewVisible:!1,rotate:0,scale:1}},beforeUnmount:function(){this.mask&&c.ZIndexUtils.clear(this.container)},methods:{maskRef:function(e){this.mask=e},toolbarRef:function(e){this.toolbarRef=e},onImageClick:function(){var e=this;this.preview&&(c.DomHandler.blockBodyScroll(),this.maskVisible=!0,setTimeout((function(){e.previewVisible=!0}),25))},onPreviewImageClick:function(){this.previewClick=!0},onMaskClick:function(e){var t=c.DomHandler.isAttributeEquals(e.target,"data-pc-section-group","action")||e.target.closest('[data-pc-section-group="action"]');this.previewClick||t||(this.previewVisible=!1,this.rotate=0,this.scale=1),this.previewClick=!1},onMaskKeydown:function(e){var t=this;if("Escape"===e.code)this.hidePreview(),setTimeout((function(){c.DomHandler.focus(t.$refs.previewButton)}),200),e.preventDefault()},onError:function(){this.$emit("error")},rotateRight:function(){this.rotate+=90,this.previewClick=!0},rotateLeft:function(){this.rotate-=90,this.previewClick=!0},zoomIn:function(){this.scale=this.scale+.1,this.previewClick=!0},zoomOut:function(){this.scale=this.scale-.1,this.previewClick=!0},onBeforeEnter:function(){c.ZIndexUtils.set("modal",this.mask,this.$primevue.config.zIndex.modal)},onEnter:function(){this.focus(),this.$emit("show")},onBeforeLeave:function(){!this.isUnstyled&&c.DomHandler.addClass(this.mask,"p-component-overlay-leave")},onLeave:function(){c.DomHandler.unblockBodyScroll(),this.$emit("hide")},onAfterLeave:function(e){c.ZIndexUtils.clear(e),this.maskVisible=!1},focus:function(){var e=this.mask.querySelector("[autofocus]");e&&e.focus()},hidePreview:function(){this.previewVisible=!1,this.rotate=0,this.scale=1,c.DomHandler.unblockBodyScroll()}},computed:{containerClass:function(){return[this.cx("root"),this.class]},rotateClass:function(){return"p-image-preview-rotate-"+this.rotate},imagePreviewStyle:function(){return{transform:"rotate("+this.rotate+"deg) scale("+this.scale+")"}},isZoomInDisabled:function(){return this.zoomInDisabled||this.scale>=1.5},isZoomOutDisabled:function(){return this.zoomOutDisabled||this.scale<=.5},rightAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.rotateRight:void 0},leftAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.rotateLeft:void 0},zoomInAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.zoomIn:void 0},zoomOutAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.zoomOut:void 0},zoomImageAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.zoomImage:void 0},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}},components:{Portal:k.default,EyeIcon:d.default,RefreshIcon:v.default,UndoIcon:y.default,SearchMinusIcon:b.default,SearchPlusIcon:h.default,TimesIcon:g.default},directives:{focustrap:f.default}};function P(e){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(e)}function I(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function C(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?I(Object(o),!0).forEach((function(t){B(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):I(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function B(e,t,o){var r;return(t="symbol"==P(r=z(t,"string"))?r:String(r))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function z(e,t){if("object"!=P(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,t||"default");if("object"!=P(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var E=["aria-label"],S=["aria-modal"],L=["aria-label"],O=["aria-label"],V=["disabled","aria-label"],$=["disabled","aria-label"],x=["aria-label"],D=["src"];w.render=function(e,t,o,r,n,i){var a=m.resolveComponent("RefreshIcon"),l=m.resolveComponent("UndoIcon"),c=m.resolveComponent("SearchMinusIcon"),s=m.resolveComponent("SearchPlusIcon"),u=m.resolveComponent("TimesIcon"),p=m.resolveComponent("Portal"),f=m.resolveDirective("focustrap");return m.openBlock(),m.createElementBlock("span",m.mergeProps({class:i.containerClass,style:e.style},e.ptm("root"),{"data-pc-name":"image"}),[m.renderSlot(e.$slots,"image",{onError:i.onError,errorCallback:i.onError},(function(){return[m.createElementVNode("img",m.mergeProps({style:e.imageStyle,class:[e.cx("image"),e.imageClass],onError:t[0]||(t[0]=function(){return i.onError&&i.onError.apply(i,arguments)})},C(C({},e.$attrs),e.ptm("image"))),null,16)]})),e.preview?(m.openBlock(),m.createElementBlock("button",m.mergeProps({key:0,ref:"previewButton","aria-label":i.zoomImageAriaLabel,type:"button",class:e.cx("button"),onClick:t[1]||(t[1]=function(){return i.onImageClick&&i.onImageClick.apply(i,arguments)})},C(C({},e.previewButtonProps),e.ptm("button"))),[m.renderSlot(e.$slots,"indicatoricon",{},(function(){return[(m.openBlock(),m.createBlock(m.resolveDynamicComponent(e.indicatorIcon?"i":"EyeIcon"),m.mergeProps({class:e.cx("icon")},e.ptm("icon")),null,16,["class"]))]}))],16,E)):m.createCommentVNode("",!0),m.createVNode(p,null,{default:m.withCtx((function(){return[n.maskVisible?m.withDirectives((m.openBlock(),m.createElementBlock("div",m.mergeProps({key:0,ref:i.maskRef,role:"dialog",class:e.cx("mask"),"aria-modal":n.maskVisible,onClick:t[8]||(t[8]=function(){return i.onMaskClick&&i.onMaskClick.apply(i,arguments)}),onKeydown:t[9]||(t[9]=function(){return i.onMaskKeydown&&i.onMaskKeydown.apply(i,arguments)})},e.ptm("mask")),[m.createElementVNode("div",m.mergeProps({class:e.cx("toolbar")},e.ptm("toolbar")),[m.createElementVNode("button",m.mergeProps({class:e.cx("rotateRightButton"),onClick:t[2]||(t[2]=function(){return i.rotateRight&&i.rotateRight.apply(i,arguments)}),type:"button","aria-label":i.rightAriaLabel},e.ptm("rotateRightButton"),{"data-pc-group-section":"action"}),[m.renderSlot(e.$slots,"refresh",{},(function(){return[m.createVNode(a,m.normalizeProps(m.guardReactiveProps(e.ptm("rotateRightIcon"))),null,16)]}))],16,L),m.createElementVNode("button",m.mergeProps({class:e.cx("rotateLeftButton"),onClick:t[3]||(t[3]=function(){return i.rotateLeft&&i.rotateLeft.apply(i,arguments)}),type:"button","aria-label":i.leftAriaLabel},e.ptm("rotateLeftButton"),{"data-pc-group-section":"action"}),[m.renderSlot(e.$slots,"undo",{},(function(){return[m.createVNode(l,m.normalizeProps(m.guardReactiveProps(e.ptm("rotateLeftIcon"))),null,16)]}))],16,O),m.createElementVNode("button",m.mergeProps({class:e.cx("zoomOutButton"),onClick:t[4]||(t[4]=function(){return i.zoomOut&&i.zoomOut.apply(i,arguments)}),type:"button",disabled:i.isZoomOutDisabled,"aria-label":i.zoomOutAriaLabel},e.ptm("zoomOutButton"),{"data-pc-group-section":"action"}),[m.renderSlot(e.$slots,"zoomout",{},(function(){return[m.createVNode(c,m.normalizeProps(m.guardReactiveProps(e.ptm("zoomOutIcon"))),null,16)]}))],16,V),m.createElementVNode("button",m.mergeProps({class:e.cx("zoomInButton"),onClick:t[5]||(t[5]=function(){return i.zoomIn&&i.zoomIn.apply(i,arguments)}),type:"button",disabled:i.isZoomInDisabled,"aria-label":i.zoomInAriaLabel},e.ptm("zoomInButton"),{"data-pc-group-section":"action"}),[m.renderSlot(e.$slots,"zoomin",{},(function(){return[m.createVNode(s,m.normalizeProps(m.guardReactiveProps(e.ptm("zoomInIcon"))),null,16)]}))],16,$),m.createElementVNode("button",m.mergeProps({class:e.cx("closeButton"),type:"button",onClick:t[6]||(t[6]=function(){return i.hidePreview&&i.hidePreview.apply(i,arguments)}),"aria-label":i.closeAriaLabel,autofocus:""},e.ptm("closeButton"),{"data-pc-group-section":"action"}),[m.renderSlot(e.$slots,"close",{},(function(){return[m.createVNode(u,m.normalizeProps(m.guardReactiveProps(e.ptm("closeIcon"))),null,16)]}))],16,x)],16),m.createVNode(m.Transition,m.mergeProps({name:"p-image-preview",onBeforeEnter:i.onBeforeEnter,onEnter:i.onEnter,onLeave:i.onLeave,onBeforeLeave:i.onBeforeLeave,onAfterLeave:i.onAfterLeave},e.ptm("transition")),{default:m.withCtx((function(){return[n.previewVisible?(m.openBlock(),m.createElementBlock("div",m.normalizeProps(m.mergeProps({key:0},e.ptm("previewContainer"))),[m.renderSlot(e.$slots,"preview",{class:m.normalizeClass(e.cx("preview")),style:m.normalizeStyle(i.imagePreviewStyle),onClick:i.onPreviewImageClick,previewCallback:i.onPreviewImageClick},(function(){return[m.createElementVNode("img",m.mergeProps({src:e.$attrs.src,class:e.cx("preview"),style:i.imagePreviewStyle,onClick:t[7]||(t[7]=function(){return i.onPreviewImageClick&&i.onPreviewImageClick.apply(i,arguments)})},e.ptm("preview")),null,16,D)]}))],16)):m.createCommentVNode("",!0)]})),_:3},16,["onBeforeEnter","onEnter","onLeave","onBeforeLeave","onAfterLeave"])],16,S)),[[f]]):m.createCommentVNode("",!0)]})),_:3})],16)},module.exports=w;
@@ -100,11 +100,8 @@ var script = {
100
100
  this.previewClick = true;
101
101
  },
102
102
  onMaskClick: function onMaskClick(event) {
103
- var isActionbarTarget = [event.target.classList].includes('p-image-action') || event.target.closest('.p-image-action');
104
- if (isActionbarTarget) {
105
- return;
106
- }
107
- if (!this.previewClick) {
103
+ var isBarActionsClicked = DomHandler.isAttributeEquals(event.target, 'data-pc-section-group', 'action') || event.target.closest('[data-pc-section-group="action"]');
104
+ if (!this.previewClick && !isBarActionsClicked) {
108
105
  this.previewVisible = false;
109
106
  this.rotate = 0;
110
107
  this.scale = 1;
@@ -228,8 +225,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
228
225
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
229
226
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
230
227
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
231
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
232
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
228
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
229
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
233
230
  var _hoisted_1 = ["aria-label"];
234
231
  var _hoisted_2 = ["aria-modal"];
235
232
  var _hoisted_3 = ["aria-label"];
@@ -1 +1 @@
1
- import e from"primevue/focustrap";import t from"primevue/icons/eye";import o from"primevue/icons/refresh";import i from"primevue/icons/searchminus";import n from"primevue/icons/searchplus";import r from"primevue/icons/times";import a from"primevue/icons/undo";import l from"primevue/portal";import{ZIndexUtils as s,DomHandler as c}from"primevue/utils";import u from"primevue/basecomponent";import m from"primevue/image/style";import{resolveComponent as p,resolveDirective as f,openBlock as v,createElementBlock as b,mergeProps as h,renderSlot as d,createElementVNode as y,createBlock as g,resolveDynamicComponent as k,createCommentVNode as w,createVNode as I,withCtx as C,withDirectives as L,normalizeProps as O,guardReactiveProps as B,Transition as P,normalizeClass as z,normalizeStyle as $}from"vue";var S={name:"Image",extends:{name:"BaseImage",extends:u,props:{preview:{type:Boolean,default:!1},class:{type:null,default:null},style:{type:null,default:null},imageStyle:{type:null,default:null},imageClass:{type:null,default:null},previewButtonProps:{type:null,default:null},indicatorIcon:{type:String,default:void 0},zoomInDisabled:{type:Boolean,default:!1},zoomOutDisabled:{type:Boolean,default:!1}},style:m,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["show","hide","error"],mask:null,data:function(){return{maskVisible:!1,previewVisible:!1,rotate:0,scale:1}},beforeUnmount:function(){this.mask&&s.clear(this.container)},methods:{maskRef:function(e){this.mask=e},toolbarRef:function(e){this.toolbarRef=e},onImageClick:function(){var e=this;this.preview&&(c.blockBodyScroll(),this.maskVisible=!0,setTimeout((function(){e.previewVisible=!0}),25))},onPreviewImageClick:function(){this.previewClick=!0},onMaskClick:function(e){[e.target.classList].includes("p-image-action")||e.target.closest(".p-image-action")||(this.previewClick||(this.previewVisible=!1,this.rotate=0,this.scale=1),this.previewClick=!1)},onMaskKeydown:function(e){var t=this;if("Escape"===e.code)this.hidePreview(),setTimeout((function(){c.focus(t.$refs.previewButton)}),200),e.preventDefault()},onError:function(){this.$emit("error")},rotateRight:function(){this.rotate+=90,this.previewClick=!0},rotateLeft:function(){this.rotate-=90,this.previewClick=!0},zoomIn:function(){this.scale=this.scale+.1,this.previewClick=!0},zoomOut:function(){this.scale=this.scale-.1,this.previewClick=!0},onBeforeEnter:function(){s.set("modal",this.mask,this.$primevue.config.zIndex.modal)},onEnter:function(){this.focus(),this.$emit("show")},onBeforeLeave:function(){!this.isUnstyled&&c.addClass(this.mask,"p-component-overlay-leave")},onLeave:function(){c.unblockBodyScroll(),this.$emit("hide")},onAfterLeave:function(e){s.clear(e),this.maskVisible=!1},focus:function(){var e=this.mask.querySelector("[autofocus]");e&&e.focus()},hidePreview:function(){this.previewVisible=!1,this.rotate=0,this.scale=1,c.unblockBodyScroll()}},computed:{containerClass:function(){return[this.cx("root"),this.class]},rotateClass:function(){return"p-image-preview-rotate-"+this.rotate},imagePreviewStyle:function(){return{transform:"rotate("+this.rotate+"deg) scale("+this.scale+")"}},isZoomInDisabled:function(){return this.zoomInDisabled||this.scale>=1.5},isZoomOutDisabled:function(){return this.zoomOutDisabled||this.scale<=.5},rightAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.rotateRight:void 0},leftAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.rotateLeft:void 0},zoomInAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.zoomIn:void 0},zoomOutAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.zoomOut:void 0},zoomImageAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.zoomImage:void 0},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}},components:{Portal:l,EyeIcon:t,RefreshIcon:o,UndoIcon:a,SearchMinusIcon:i,SearchPlusIcon:n,TimesIcon:r},directives:{focustrap:e}};function E(e){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},E(e)}function x(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,i)}return o}function A(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?x(Object(o),!0).forEach((function(t){j(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):x(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function j(e,t,o){return(t=D(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function D(e){var t=R(e,"string");return"symbol"===E(t)?t:String(t)}function R(e,t){if("object"!==E(e)||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var i=o.call(e,t||"default");if("object"!==E(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var V=["aria-label"],M=["aria-modal"],T=["aria-label"],K=["aria-label"],U=["disabled","aria-label"],Z=["disabled","aria-label"],_=["aria-label"],q=["src"];S.render=function(e,t,o,i,n,r){var a=p("RefreshIcon"),l=p("UndoIcon"),s=p("SearchMinusIcon"),c=p("SearchPlusIcon"),u=p("TimesIcon"),m=p("Portal"),S=f("focustrap");return v(),b("span",h({class:r.containerClass,style:e.style},e.ptm("root"),{"data-pc-name":"image"}),[d(e.$slots,"image",{onError:r.onError,errorCallback:r.onError},(function(){return[y("img",h({style:e.imageStyle,class:[e.cx("image"),e.imageClass],onError:t[0]||(t[0]=function(){return r.onError&&r.onError.apply(r,arguments)})},A(A({},e.$attrs),e.ptm("image"))),null,16)]})),e.preview?(v(),b("button",h({key:0,ref:"previewButton","aria-label":r.zoomImageAriaLabel,type:"button",class:e.cx("button"),onClick:t[1]||(t[1]=function(){return r.onImageClick&&r.onImageClick.apply(r,arguments)})},A(A({},e.previewButtonProps),e.ptm("button"))),[d(e.$slots,"indicatoricon",{},(function(){return[(v(),g(k(e.indicatorIcon?"i":"EyeIcon"),h({class:e.cx("icon")},e.ptm("icon")),null,16,["class"]))]}))],16,V)):w("",!0),I(m,null,{default:C((function(){return[n.maskVisible?L((v(),b("div",h({key:0,ref:r.maskRef,role:"dialog",class:e.cx("mask"),"aria-modal":n.maskVisible,onClick:t[8]||(t[8]=function(){return r.onMaskClick&&r.onMaskClick.apply(r,arguments)}),onKeydown:t[9]||(t[9]=function(){return r.onMaskKeydown&&r.onMaskKeydown.apply(r,arguments)})},e.ptm("mask")),[y("div",h({class:e.cx("toolbar")},e.ptm("toolbar")),[y("button",h({class:e.cx("rotateRightButton"),onClick:t[2]||(t[2]=function(){return r.rotateRight&&r.rotateRight.apply(r,arguments)}),type:"button","aria-label":r.rightAriaLabel},e.ptm("rotateRightButton"),{"data-pc-group-section":"action"}),[d(e.$slots,"refresh",{},(function(){return[I(a,O(B(e.ptm("rotateRightIcon"))),null,16)]}))],16,T),y("button",h({class:e.cx("rotateLeftButton"),onClick:t[3]||(t[3]=function(){return r.rotateLeft&&r.rotateLeft.apply(r,arguments)}),type:"button","aria-label":r.leftAriaLabel},e.ptm("rotateLeftButton"),{"data-pc-group-section":"action"}),[d(e.$slots,"undo",{},(function(){return[I(l,O(B(e.ptm("rotateLeftIcon"))),null,16)]}))],16,K),y("button",h({class:e.cx("zoomOutButton"),onClick:t[4]||(t[4]=function(){return r.zoomOut&&r.zoomOut.apply(r,arguments)}),type:"button",disabled:r.isZoomOutDisabled,"aria-label":r.zoomOutAriaLabel},e.ptm("zoomOutButton"),{"data-pc-group-section":"action"}),[d(e.$slots,"zoomout",{},(function(){return[I(s,O(B(e.ptm("zoomOutIcon"))),null,16)]}))],16,U),y("button",h({class:e.cx("zoomInButton"),onClick:t[5]||(t[5]=function(){return r.zoomIn&&r.zoomIn.apply(r,arguments)}),type:"button",disabled:r.isZoomInDisabled,"aria-label":r.zoomInAriaLabel},e.ptm("zoomInButton"),{"data-pc-group-section":"action"}),[d(e.$slots,"zoomin",{},(function(){return[I(c,O(B(e.ptm("zoomInIcon"))),null,16)]}))],16,Z),y("button",h({class:e.cx("closeButton"),type:"button",onClick:t[6]||(t[6]=function(){return r.hidePreview&&r.hidePreview.apply(r,arguments)}),"aria-label":r.closeAriaLabel,autofocus:""},e.ptm("closeButton"),{"data-pc-group-section":"action"}),[d(e.$slots,"close",{},(function(){return[I(u,O(B(e.ptm("closeIcon"))),null,16)]}))],16,_)],16),I(P,h({name:"p-image-preview",onBeforeEnter:r.onBeforeEnter,onEnter:r.onEnter,onLeave:r.onLeave,onBeforeLeave:r.onBeforeLeave,onAfterLeave:r.onAfterLeave},e.ptm("transition")),{default:C((function(){return[n.previewVisible?(v(),b("div",O(h({key:0},e.ptm("previewContainer"))),[d(e.$slots,"preview",{class:z(e.cx("preview")),style:$(r.imagePreviewStyle),onClick:r.onPreviewImageClick,previewCallback:r.onPreviewImageClick},(function(){return[y("img",h({src:e.$attrs.src,class:e.cx("preview"),style:r.imagePreviewStyle,onClick:t[7]||(t[7]=function(){return r.onPreviewImageClick&&r.onPreviewImageClick.apply(r,arguments)})},e.ptm("preview")),null,16,q)]}))],16)):w("",!0)]})),_:3},16,["onBeforeEnter","onEnter","onLeave","onBeforeLeave","onAfterLeave"])],16,M)),[[S]]):w("",!0)]})),_:3})],16)};export{S as default};
1
+ import e from"primevue/focustrap";import t from"primevue/icons/eye";import o from"primevue/icons/refresh";import i from"primevue/icons/searchminus";import r from"primevue/icons/searchplus";import n from"primevue/icons/times";import a from"primevue/icons/undo";import l from"primevue/portal";import{ZIndexUtils as c,DomHandler as s}from"primevue/utils";import u from"primevue/basecomponent";import m from"primevue/image/style";import{resolveComponent as p,resolveDirective as f,openBlock as v,createElementBlock as b,mergeProps as h,renderSlot as d,createElementVNode as y,createBlock as g,resolveDynamicComponent as k,createCommentVNode as w,createVNode as I,withCtx as C,withDirectives as L,normalizeProps as O,guardReactiveProps as B,Transition as P,normalizeClass as z,normalizeStyle as $}from"vue";var S={name:"Image",extends:{name:"BaseImage",extends:u,props:{preview:{type:Boolean,default:!1},class:{type:null,default:null},style:{type:null,default:null},imageStyle:{type:null,default:null},imageClass:{type:null,default:null},previewButtonProps:{type:null,default:null},indicatorIcon:{type:String,default:void 0},zoomInDisabled:{type:Boolean,default:!1},zoomOutDisabled:{type:Boolean,default:!1}},style:m,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["show","hide","error"],mask:null,data:function(){return{maskVisible:!1,previewVisible:!1,rotate:0,scale:1}},beforeUnmount:function(){this.mask&&c.clear(this.container)},methods:{maskRef:function(e){this.mask=e},toolbarRef:function(e){this.toolbarRef=e},onImageClick:function(){var e=this;this.preview&&(s.blockBodyScroll(),this.maskVisible=!0,setTimeout((function(){e.previewVisible=!0}),25))},onPreviewImageClick:function(){this.previewClick=!0},onMaskClick:function(e){var t=s.isAttributeEquals(e.target,"data-pc-section-group","action")||e.target.closest('[data-pc-section-group="action"]');this.previewClick||t||(this.previewVisible=!1,this.rotate=0,this.scale=1),this.previewClick=!1},onMaskKeydown:function(e){var t=this;if("Escape"===e.code)this.hidePreview(),setTimeout((function(){s.focus(t.$refs.previewButton)}),200),e.preventDefault()},onError:function(){this.$emit("error")},rotateRight:function(){this.rotate+=90,this.previewClick=!0},rotateLeft:function(){this.rotate-=90,this.previewClick=!0},zoomIn:function(){this.scale=this.scale+.1,this.previewClick=!0},zoomOut:function(){this.scale=this.scale-.1,this.previewClick=!0},onBeforeEnter:function(){c.set("modal",this.mask,this.$primevue.config.zIndex.modal)},onEnter:function(){this.focus(),this.$emit("show")},onBeforeLeave:function(){!this.isUnstyled&&s.addClass(this.mask,"p-component-overlay-leave")},onLeave:function(){s.unblockBodyScroll(),this.$emit("hide")},onAfterLeave:function(e){c.clear(e),this.maskVisible=!1},focus:function(){var e=this.mask.querySelector("[autofocus]");e&&e.focus()},hidePreview:function(){this.previewVisible=!1,this.rotate=0,this.scale=1,s.unblockBodyScroll()}},computed:{containerClass:function(){return[this.cx("root"),this.class]},rotateClass:function(){return"p-image-preview-rotate-"+this.rotate},imagePreviewStyle:function(){return{transform:"rotate("+this.rotate+"deg) scale("+this.scale+")"}},isZoomInDisabled:function(){return this.zoomInDisabled||this.scale>=1.5},isZoomOutDisabled:function(){return this.zoomOutDisabled||this.scale<=.5},rightAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.rotateRight:void 0},leftAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.rotateLeft:void 0},zoomInAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.zoomIn:void 0},zoomOutAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.zoomOut:void 0},zoomImageAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.zoomImage:void 0},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}},components:{Portal:l,EyeIcon:t,RefreshIcon:o,UndoIcon:a,SearchMinusIcon:i,SearchPlusIcon:r,TimesIcon:n},directives:{focustrap:e}};function E(e){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},E(e)}function A(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,i)}return o}function x(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?A(Object(o),!0).forEach((function(t){j(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):A(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function j(e,t,o){var i;return(t="symbol"==E(i=D(t,"string"))?i:String(i))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function D(e,t){if("object"!=E(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var i=o.call(e,t||"default");if("object"!=E(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var R=["aria-label"],V=["aria-modal"],M=["aria-label"],T=["aria-label"],K=["disabled","aria-label"],U=["disabled","aria-label"],Z=["aria-label"],q=["src"];S.render=function(e,t,o,i,r,n){var a=p("RefreshIcon"),l=p("UndoIcon"),c=p("SearchMinusIcon"),s=p("SearchPlusIcon"),u=p("TimesIcon"),m=p("Portal"),S=f("focustrap");return v(),b("span",h({class:n.containerClass,style:e.style},e.ptm("root"),{"data-pc-name":"image"}),[d(e.$slots,"image",{onError:n.onError,errorCallback:n.onError},(function(){return[y("img",h({style:e.imageStyle,class:[e.cx("image"),e.imageClass],onError:t[0]||(t[0]=function(){return n.onError&&n.onError.apply(n,arguments)})},x(x({},e.$attrs),e.ptm("image"))),null,16)]})),e.preview?(v(),b("button",h({key:0,ref:"previewButton","aria-label":n.zoomImageAriaLabel,type:"button",class:e.cx("button"),onClick:t[1]||(t[1]=function(){return n.onImageClick&&n.onImageClick.apply(n,arguments)})},x(x({},e.previewButtonProps),e.ptm("button"))),[d(e.$slots,"indicatoricon",{},(function(){return[(v(),g(k(e.indicatorIcon?"i":"EyeIcon"),h({class:e.cx("icon")},e.ptm("icon")),null,16,["class"]))]}))],16,R)):w("",!0),I(m,null,{default:C((function(){return[r.maskVisible?L((v(),b("div",h({key:0,ref:n.maskRef,role:"dialog",class:e.cx("mask"),"aria-modal":r.maskVisible,onClick:t[8]||(t[8]=function(){return n.onMaskClick&&n.onMaskClick.apply(n,arguments)}),onKeydown:t[9]||(t[9]=function(){return n.onMaskKeydown&&n.onMaskKeydown.apply(n,arguments)})},e.ptm("mask")),[y("div",h({class:e.cx("toolbar")},e.ptm("toolbar")),[y("button",h({class:e.cx("rotateRightButton"),onClick:t[2]||(t[2]=function(){return n.rotateRight&&n.rotateRight.apply(n,arguments)}),type:"button","aria-label":n.rightAriaLabel},e.ptm("rotateRightButton"),{"data-pc-group-section":"action"}),[d(e.$slots,"refresh",{},(function(){return[I(a,O(B(e.ptm("rotateRightIcon"))),null,16)]}))],16,M),y("button",h({class:e.cx("rotateLeftButton"),onClick:t[3]||(t[3]=function(){return n.rotateLeft&&n.rotateLeft.apply(n,arguments)}),type:"button","aria-label":n.leftAriaLabel},e.ptm("rotateLeftButton"),{"data-pc-group-section":"action"}),[d(e.$slots,"undo",{},(function(){return[I(l,O(B(e.ptm("rotateLeftIcon"))),null,16)]}))],16,T),y("button",h({class:e.cx("zoomOutButton"),onClick:t[4]||(t[4]=function(){return n.zoomOut&&n.zoomOut.apply(n,arguments)}),type:"button",disabled:n.isZoomOutDisabled,"aria-label":n.zoomOutAriaLabel},e.ptm("zoomOutButton"),{"data-pc-group-section":"action"}),[d(e.$slots,"zoomout",{},(function(){return[I(c,O(B(e.ptm("zoomOutIcon"))),null,16)]}))],16,K),y("button",h({class:e.cx("zoomInButton"),onClick:t[5]||(t[5]=function(){return n.zoomIn&&n.zoomIn.apply(n,arguments)}),type:"button",disabled:n.isZoomInDisabled,"aria-label":n.zoomInAriaLabel},e.ptm("zoomInButton"),{"data-pc-group-section":"action"}),[d(e.$slots,"zoomin",{},(function(){return[I(s,O(B(e.ptm("zoomInIcon"))),null,16)]}))],16,U),y("button",h({class:e.cx("closeButton"),type:"button",onClick:t[6]||(t[6]=function(){return n.hidePreview&&n.hidePreview.apply(n,arguments)}),"aria-label":n.closeAriaLabel,autofocus:""},e.ptm("closeButton"),{"data-pc-group-section":"action"}),[d(e.$slots,"close",{},(function(){return[I(u,O(B(e.ptm("closeIcon"))),null,16)]}))],16,Z)],16),I(P,h({name:"p-image-preview",onBeforeEnter:n.onBeforeEnter,onEnter:n.onEnter,onLeave:n.onLeave,onBeforeLeave:n.onBeforeLeave,onAfterLeave:n.onAfterLeave},e.ptm("transition")),{default:C((function(){return[r.previewVisible?(v(),b("div",O(h({key:0},e.ptm("previewContainer"))),[d(e.$slots,"preview",{class:z(e.cx("preview")),style:$(n.imagePreviewStyle),onClick:n.onPreviewImageClick,previewCallback:n.onPreviewImageClick},(function(){return[y("img",h({src:e.$attrs.src,class:e.cx("preview"),style:n.imagePreviewStyle,onClick:t[7]||(t[7]=function(){return n.onPreviewImageClick&&n.onPreviewImageClick.apply(n,arguments)})},e.ptm("preview")),null,16,q)]}))],16)):w("",!0)]})),_:3},16,["onBeforeEnter","onEnter","onLeave","onBeforeLeave","onAfterLeave"])],16,V)),[[S]]):w("",!0)]})),_:3})],16)};export{S as default};
package/image/image.js CHANGED
@@ -104,11 +104,8 @@ this.primevue.image = (function (FocusTrap, EyeIcon, RefreshIcon, SearchMinusIco
104
104
  this.previewClick = true;
105
105
  },
106
106
  onMaskClick: function onMaskClick(event) {
107
- var isActionbarTarget = [event.target.classList].includes('p-image-action') || event.target.closest('.p-image-action');
108
- if (isActionbarTarget) {
109
- return;
110
- }
111
- if (!this.previewClick) {
107
+ var isBarActionsClicked = utils.DomHandler.isAttributeEquals(event.target, 'data-pc-section-group', 'action') || event.target.closest('[data-pc-section-group="action"]');
108
+ if (!this.previewClick && !isBarActionsClicked) {
112
109
  this.previewVisible = false;
113
110
  this.rotate = 0;
114
111
  this.scale = 1;
@@ -232,8 +229,8 @@ this.primevue.image = (function (FocusTrap, EyeIcon, RefreshIcon, SearchMinusIco
232
229
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
233
230
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
234
231
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
235
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
236
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
232
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
233
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
237
234
  var _hoisted_1 = ["aria-label"];
238
235
  var _hoisted_2 = ["aria-modal"];
239
236
  var _hoisted_3 = ["aria-label"];
@@ -1 +1 @@
1
- this.primevue=this.primevue||{},this.primevue.image=function(e,t,o,r,n,i,a,l,c,s,u,m){"use strict";function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var f=p(e),d=p(t),v=p(o),b=p(r),h=p(n),g=p(i),y=p(a),k=p(l),w={name:"Image",extends:{name:"BaseImage",extends:p(s).default,props:{preview:{type:Boolean,default:!1},class:{type:null,default:null},style:{type:null,default:null},imageStyle:{type:null,default:null},imageClass:{type:null,default:null},previewButtonProps:{type:null,default:null},indicatorIcon:{type:String,default:void 0},zoomInDisabled:{type:Boolean,default:!1},zoomOutDisabled:{type:Boolean,default:!1}},style:p(u).default,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["show","hide","error"],mask:null,data:function(){return{maskVisible:!1,previewVisible:!1,rotate:0,scale:1}},beforeUnmount:function(){this.mask&&c.ZIndexUtils.clear(this.container)},methods:{maskRef:function(e){this.mask=e},toolbarRef:function(e){this.toolbarRef=e},onImageClick:function(){var e=this;this.preview&&(c.DomHandler.blockBodyScroll(),this.maskVisible=!0,setTimeout((function(){e.previewVisible=!0}),25))},onPreviewImageClick:function(){this.previewClick=!0},onMaskClick:function(e){[e.target.classList].includes("p-image-action")||e.target.closest(".p-image-action")||(this.previewClick||(this.previewVisible=!1,this.rotate=0,this.scale=1),this.previewClick=!1)},onMaskKeydown:function(e){var t=this;if("Escape"===e.code)this.hidePreview(),setTimeout((function(){c.DomHandler.focus(t.$refs.previewButton)}),200),e.preventDefault()},onError:function(){this.$emit("error")},rotateRight:function(){this.rotate+=90,this.previewClick=!0},rotateLeft:function(){this.rotate-=90,this.previewClick=!0},zoomIn:function(){this.scale=this.scale+.1,this.previewClick=!0},zoomOut:function(){this.scale=this.scale-.1,this.previewClick=!0},onBeforeEnter:function(){c.ZIndexUtils.set("modal",this.mask,this.$primevue.config.zIndex.modal)},onEnter:function(){this.focus(),this.$emit("show")},onBeforeLeave:function(){!this.isUnstyled&&c.DomHandler.addClass(this.mask,"p-component-overlay-leave")},onLeave:function(){c.DomHandler.unblockBodyScroll(),this.$emit("hide")},onAfterLeave:function(e){c.ZIndexUtils.clear(e),this.maskVisible=!1},focus:function(){var e=this.mask.querySelector("[autofocus]");e&&e.focus()},hidePreview:function(){this.previewVisible=!1,this.rotate=0,this.scale=1,c.DomHandler.unblockBodyScroll()}},computed:{containerClass:function(){return[this.cx("root"),this.class]},rotateClass:function(){return"p-image-preview-rotate-"+this.rotate},imagePreviewStyle:function(){return{transform:"rotate("+this.rotate+"deg) scale("+this.scale+")"}},isZoomInDisabled:function(){return this.zoomInDisabled||this.scale>=1.5},isZoomOutDisabled:function(){return this.zoomOutDisabled||this.scale<=.5},rightAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.rotateRight:void 0},leftAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.rotateLeft:void 0},zoomInAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.zoomIn:void 0},zoomOutAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.zoomOut:void 0},zoomImageAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.zoomImage:void 0},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}},components:{Portal:k.default,EyeIcon:d.default,RefreshIcon:v.default,UndoIcon:y.default,SearchMinusIcon:b.default,SearchPlusIcon:h.default,TimesIcon:g.default},directives:{focustrap:f.default}};function P(e){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(e)}function I(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function C(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?I(Object(o),!0).forEach((function(t){B(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):I(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function B(e,t,o){return(t=z(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function z(e){var t=E(e,"string");return"symbol"===P(t)?t:String(t)}function E(e,t){if("object"!==P(e)||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,t||"default");if("object"!==P(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var S=["aria-label"],L=["aria-modal"],O=["aria-label"],V=["aria-label"],$=["disabled","aria-label"],x=["disabled","aria-label"],D=["aria-label"],N=["src"];return w.render=function(e,t,o,r,n,i){var a=m.resolveComponent("RefreshIcon"),l=m.resolveComponent("UndoIcon"),c=m.resolveComponent("SearchMinusIcon"),s=m.resolveComponent("SearchPlusIcon"),u=m.resolveComponent("TimesIcon"),p=m.resolveComponent("Portal"),f=m.resolveDirective("focustrap");return m.openBlock(),m.createElementBlock("span",m.mergeProps({class:i.containerClass,style:e.style},e.ptm("root"),{"data-pc-name":"image"}),[m.renderSlot(e.$slots,"image",{onError:i.onError,errorCallback:i.onError},(function(){return[m.createElementVNode("img",m.mergeProps({style:e.imageStyle,class:[e.cx("image"),e.imageClass],onError:t[0]||(t[0]=function(){return i.onError&&i.onError.apply(i,arguments)})},C(C({},e.$attrs),e.ptm("image"))),null,16)]})),e.preview?(m.openBlock(),m.createElementBlock("button",m.mergeProps({key:0,ref:"previewButton","aria-label":i.zoomImageAriaLabel,type:"button",class:e.cx("button"),onClick:t[1]||(t[1]=function(){return i.onImageClick&&i.onImageClick.apply(i,arguments)})},C(C({},e.previewButtonProps),e.ptm("button"))),[m.renderSlot(e.$slots,"indicatoricon",{},(function(){return[(m.openBlock(),m.createBlock(m.resolveDynamicComponent(e.indicatorIcon?"i":"EyeIcon"),m.mergeProps({class:e.cx("icon")},e.ptm("icon")),null,16,["class"]))]}))],16,S)):m.createCommentVNode("",!0),m.createVNode(p,null,{default:m.withCtx((function(){return[n.maskVisible?m.withDirectives((m.openBlock(),m.createElementBlock("div",m.mergeProps({key:0,ref:i.maskRef,role:"dialog",class:e.cx("mask"),"aria-modal":n.maskVisible,onClick:t[8]||(t[8]=function(){return i.onMaskClick&&i.onMaskClick.apply(i,arguments)}),onKeydown:t[9]||(t[9]=function(){return i.onMaskKeydown&&i.onMaskKeydown.apply(i,arguments)})},e.ptm("mask")),[m.createElementVNode("div",m.mergeProps({class:e.cx("toolbar")},e.ptm("toolbar")),[m.createElementVNode("button",m.mergeProps({class:e.cx("rotateRightButton"),onClick:t[2]||(t[2]=function(){return i.rotateRight&&i.rotateRight.apply(i,arguments)}),type:"button","aria-label":i.rightAriaLabel},e.ptm("rotateRightButton"),{"data-pc-group-section":"action"}),[m.renderSlot(e.$slots,"refresh",{},(function(){return[m.createVNode(a,m.normalizeProps(m.guardReactiveProps(e.ptm("rotateRightIcon"))),null,16)]}))],16,O),m.createElementVNode("button",m.mergeProps({class:e.cx("rotateLeftButton"),onClick:t[3]||(t[3]=function(){return i.rotateLeft&&i.rotateLeft.apply(i,arguments)}),type:"button","aria-label":i.leftAriaLabel},e.ptm("rotateLeftButton"),{"data-pc-group-section":"action"}),[m.renderSlot(e.$slots,"undo",{},(function(){return[m.createVNode(l,m.normalizeProps(m.guardReactiveProps(e.ptm("rotateLeftIcon"))),null,16)]}))],16,V),m.createElementVNode("button",m.mergeProps({class:e.cx("zoomOutButton"),onClick:t[4]||(t[4]=function(){return i.zoomOut&&i.zoomOut.apply(i,arguments)}),type:"button",disabled:i.isZoomOutDisabled,"aria-label":i.zoomOutAriaLabel},e.ptm("zoomOutButton"),{"data-pc-group-section":"action"}),[m.renderSlot(e.$slots,"zoomout",{},(function(){return[m.createVNode(c,m.normalizeProps(m.guardReactiveProps(e.ptm("zoomOutIcon"))),null,16)]}))],16,$),m.createElementVNode("button",m.mergeProps({class:e.cx("zoomInButton"),onClick:t[5]||(t[5]=function(){return i.zoomIn&&i.zoomIn.apply(i,arguments)}),type:"button",disabled:i.isZoomInDisabled,"aria-label":i.zoomInAriaLabel},e.ptm("zoomInButton"),{"data-pc-group-section":"action"}),[m.renderSlot(e.$slots,"zoomin",{},(function(){return[m.createVNode(s,m.normalizeProps(m.guardReactiveProps(e.ptm("zoomInIcon"))),null,16)]}))],16,x),m.createElementVNode("button",m.mergeProps({class:e.cx("closeButton"),type:"button",onClick:t[6]||(t[6]=function(){return i.hidePreview&&i.hidePreview.apply(i,arguments)}),"aria-label":i.closeAriaLabel,autofocus:""},e.ptm("closeButton"),{"data-pc-group-section":"action"}),[m.renderSlot(e.$slots,"close",{},(function(){return[m.createVNode(u,m.normalizeProps(m.guardReactiveProps(e.ptm("closeIcon"))),null,16)]}))],16,D)],16),m.createVNode(m.Transition,m.mergeProps({name:"p-image-preview",onBeforeEnter:i.onBeforeEnter,onEnter:i.onEnter,onLeave:i.onLeave,onBeforeLeave:i.onBeforeLeave,onAfterLeave:i.onAfterLeave},e.ptm("transition")),{default:m.withCtx((function(){return[n.previewVisible?(m.openBlock(),m.createElementBlock("div",m.normalizeProps(m.mergeProps({key:0},e.ptm("previewContainer"))),[m.renderSlot(e.$slots,"preview",{class:m.normalizeClass(e.cx("preview")),style:m.normalizeStyle(i.imagePreviewStyle),onClick:i.onPreviewImageClick,previewCallback:i.onPreviewImageClick},(function(){return[m.createElementVNode("img",m.mergeProps({src:e.$attrs.src,class:e.cx("preview"),style:i.imagePreviewStyle,onClick:t[7]||(t[7]=function(){return i.onPreviewImageClick&&i.onPreviewImageClick.apply(i,arguments)})},e.ptm("preview")),null,16,N)]}))],16)):m.createCommentVNode("",!0)]})),_:3},16,["onBeforeEnter","onEnter","onLeave","onBeforeLeave","onAfterLeave"])],16,L)),[[f]]):m.createCommentVNode("",!0)]})),_:3})],16)},w}(primevue.focustrap,primevue.icons.eye,primevue.icons.refresh,primevue.icons.searchminus,primevue.icons.searchplus,primevue.icons.times,primevue.icons.undo,primevue.portal,primevue.utils,primevue.basecomponent,primevue.image.style,Vue);
1
+ this.primevue=this.primevue||{},this.primevue.image=function(e,t,o,r,n,i,a,l,c,s,u,m){"use strict";function p(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var f=p(e),d=p(t),v=p(o),b=p(r),h=p(n),g=p(i),y=p(a),k=p(l),w={name:"Image",extends:{name:"BaseImage",extends:p(s).default,props:{preview:{type:Boolean,default:!1},class:{type:null,default:null},style:{type:null,default:null},imageStyle:{type:null,default:null},imageClass:{type:null,default:null},previewButtonProps:{type:null,default:null},indicatorIcon:{type:String,default:void 0},zoomInDisabled:{type:Boolean,default:!1},zoomOutDisabled:{type:Boolean,default:!1}},style:p(u).default,provide:function(){return{$parentInstance:this}}},inheritAttrs:!1,emits:["show","hide","error"],mask:null,data:function(){return{maskVisible:!1,previewVisible:!1,rotate:0,scale:1}},beforeUnmount:function(){this.mask&&c.ZIndexUtils.clear(this.container)},methods:{maskRef:function(e){this.mask=e},toolbarRef:function(e){this.toolbarRef=e},onImageClick:function(){var e=this;this.preview&&(c.DomHandler.blockBodyScroll(),this.maskVisible=!0,setTimeout((function(){e.previewVisible=!0}),25))},onPreviewImageClick:function(){this.previewClick=!0},onMaskClick:function(e){var t=c.DomHandler.isAttributeEquals(e.target,"data-pc-section-group","action")||e.target.closest('[data-pc-section-group="action"]');this.previewClick||t||(this.previewVisible=!1,this.rotate=0,this.scale=1),this.previewClick=!1},onMaskKeydown:function(e){var t=this;if("Escape"===e.code)this.hidePreview(),setTimeout((function(){c.DomHandler.focus(t.$refs.previewButton)}),200),e.preventDefault()},onError:function(){this.$emit("error")},rotateRight:function(){this.rotate+=90,this.previewClick=!0},rotateLeft:function(){this.rotate-=90,this.previewClick=!0},zoomIn:function(){this.scale=this.scale+.1,this.previewClick=!0},zoomOut:function(){this.scale=this.scale-.1,this.previewClick=!0},onBeforeEnter:function(){c.ZIndexUtils.set("modal",this.mask,this.$primevue.config.zIndex.modal)},onEnter:function(){this.focus(),this.$emit("show")},onBeforeLeave:function(){!this.isUnstyled&&c.DomHandler.addClass(this.mask,"p-component-overlay-leave")},onLeave:function(){c.DomHandler.unblockBodyScroll(),this.$emit("hide")},onAfterLeave:function(e){c.ZIndexUtils.clear(e),this.maskVisible=!1},focus:function(){var e=this.mask.querySelector("[autofocus]");e&&e.focus()},hidePreview:function(){this.previewVisible=!1,this.rotate=0,this.scale=1,c.DomHandler.unblockBodyScroll()}},computed:{containerClass:function(){return[this.cx("root"),this.class]},rotateClass:function(){return"p-image-preview-rotate-"+this.rotate},imagePreviewStyle:function(){return{transform:"rotate("+this.rotate+"deg) scale("+this.scale+")"}},isZoomInDisabled:function(){return this.zoomInDisabled||this.scale>=1.5},isZoomOutDisabled:function(){return this.zoomOutDisabled||this.scale<=.5},rightAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.rotateRight:void 0},leftAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.rotateLeft:void 0},zoomInAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.zoomIn:void 0},zoomOutAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.zoomOut:void 0},zoomImageAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.zoomImage:void 0},closeAriaLabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0}},components:{Portal:k.default,EyeIcon:d.default,RefreshIcon:v.default,UndoIcon:y.default,SearchMinusIcon:b.default,SearchPlusIcon:h.default,TimesIcon:g.default},directives:{focustrap:f.default}};function P(e){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(e)}function I(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function C(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?I(Object(o),!0).forEach((function(t){B(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):I(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function B(e,t,o){var r;return(t="symbol"==P(r=z(t,"string"))?r:String(r))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function z(e,t){if("object"!=P(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,t||"default");if("object"!=P(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var E=["aria-label"],S=["aria-modal"],L=["aria-label"],O=["aria-label"],V=["disabled","aria-label"],$=["disabled","aria-label"],D=["aria-label"],x=["src"];return w.render=function(e,t,o,r,n,i){var a=m.resolveComponent("RefreshIcon"),l=m.resolveComponent("UndoIcon"),c=m.resolveComponent("SearchMinusIcon"),s=m.resolveComponent("SearchPlusIcon"),u=m.resolveComponent("TimesIcon"),p=m.resolveComponent("Portal"),f=m.resolveDirective("focustrap");return m.openBlock(),m.createElementBlock("span",m.mergeProps({class:i.containerClass,style:e.style},e.ptm("root"),{"data-pc-name":"image"}),[m.renderSlot(e.$slots,"image",{onError:i.onError,errorCallback:i.onError},(function(){return[m.createElementVNode("img",m.mergeProps({style:e.imageStyle,class:[e.cx("image"),e.imageClass],onError:t[0]||(t[0]=function(){return i.onError&&i.onError.apply(i,arguments)})},C(C({},e.$attrs),e.ptm("image"))),null,16)]})),e.preview?(m.openBlock(),m.createElementBlock("button",m.mergeProps({key:0,ref:"previewButton","aria-label":i.zoomImageAriaLabel,type:"button",class:e.cx("button"),onClick:t[1]||(t[1]=function(){return i.onImageClick&&i.onImageClick.apply(i,arguments)})},C(C({},e.previewButtonProps),e.ptm("button"))),[m.renderSlot(e.$slots,"indicatoricon",{},(function(){return[(m.openBlock(),m.createBlock(m.resolveDynamicComponent(e.indicatorIcon?"i":"EyeIcon"),m.mergeProps({class:e.cx("icon")},e.ptm("icon")),null,16,["class"]))]}))],16,E)):m.createCommentVNode("",!0),m.createVNode(p,null,{default:m.withCtx((function(){return[n.maskVisible?m.withDirectives((m.openBlock(),m.createElementBlock("div",m.mergeProps({key:0,ref:i.maskRef,role:"dialog",class:e.cx("mask"),"aria-modal":n.maskVisible,onClick:t[8]||(t[8]=function(){return i.onMaskClick&&i.onMaskClick.apply(i,arguments)}),onKeydown:t[9]||(t[9]=function(){return i.onMaskKeydown&&i.onMaskKeydown.apply(i,arguments)})},e.ptm("mask")),[m.createElementVNode("div",m.mergeProps({class:e.cx("toolbar")},e.ptm("toolbar")),[m.createElementVNode("button",m.mergeProps({class:e.cx("rotateRightButton"),onClick:t[2]||(t[2]=function(){return i.rotateRight&&i.rotateRight.apply(i,arguments)}),type:"button","aria-label":i.rightAriaLabel},e.ptm("rotateRightButton"),{"data-pc-group-section":"action"}),[m.renderSlot(e.$slots,"refresh",{},(function(){return[m.createVNode(a,m.normalizeProps(m.guardReactiveProps(e.ptm("rotateRightIcon"))),null,16)]}))],16,L),m.createElementVNode("button",m.mergeProps({class:e.cx("rotateLeftButton"),onClick:t[3]||(t[3]=function(){return i.rotateLeft&&i.rotateLeft.apply(i,arguments)}),type:"button","aria-label":i.leftAriaLabel},e.ptm("rotateLeftButton"),{"data-pc-group-section":"action"}),[m.renderSlot(e.$slots,"undo",{},(function(){return[m.createVNode(l,m.normalizeProps(m.guardReactiveProps(e.ptm("rotateLeftIcon"))),null,16)]}))],16,O),m.createElementVNode("button",m.mergeProps({class:e.cx("zoomOutButton"),onClick:t[4]||(t[4]=function(){return i.zoomOut&&i.zoomOut.apply(i,arguments)}),type:"button",disabled:i.isZoomOutDisabled,"aria-label":i.zoomOutAriaLabel},e.ptm("zoomOutButton"),{"data-pc-group-section":"action"}),[m.renderSlot(e.$slots,"zoomout",{},(function(){return[m.createVNode(c,m.normalizeProps(m.guardReactiveProps(e.ptm("zoomOutIcon"))),null,16)]}))],16,V),m.createElementVNode("button",m.mergeProps({class:e.cx("zoomInButton"),onClick:t[5]||(t[5]=function(){return i.zoomIn&&i.zoomIn.apply(i,arguments)}),type:"button",disabled:i.isZoomInDisabled,"aria-label":i.zoomInAriaLabel},e.ptm("zoomInButton"),{"data-pc-group-section":"action"}),[m.renderSlot(e.$slots,"zoomin",{},(function(){return[m.createVNode(s,m.normalizeProps(m.guardReactiveProps(e.ptm("zoomInIcon"))),null,16)]}))],16,$),m.createElementVNode("button",m.mergeProps({class:e.cx("closeButton"),type:"button",onClick:t[6]||(t[6]=function(){return i.hidePreview&&i.hidePreview.apply(i,arguments)}),"aria-label":i.closeAriaLabel,autofocus:""},e.ptm("closeButton"),{"data-pc-group-section":"action"}),[m.renderSlot(e.$slots,"close",{},(function(){return[m.createVNode(u,m.normalizeProps(m.guardReactiveProps(e.ptm("closeIcon"))),null,16)]}))],16,D)],16),m.createVNode(m.Transition,m.mergeProps({name:"p-image-preview",onBeforeEnter:i.onBeforeEnter,onEnter:i.onEnter,onLeave:i.onLeave,onBeforeLeave:i.onBeforeLeave,onAfterLeave:i.onAfterLeave},e.ptm("transition")),{default:m.withCtx((function(){return[n.previewVisible?(m.openBlock(),m.createElementBlock("div",m.normalizeProps(m.mergeProps({key:0},e.ptm("previewContainer"))),[m.renderSlot(e.$slots,"preview",{class:m.normalizeClass(e.cx("preview")),style:m.normalizeStyle(i.imagePreviewStyle),onClick:i.onPreviewImageClick,previewCallback:i.onPreviewImageClick},(function(){return[m.createElementVNode("img",m.mergeProps({src:e.$attrs.src,class:e.cx("preview"),style:i.imagePreviewStyle,onClick:t[7]||(t[7]=function(){return i.onPreviewImageClick&&i.onPreviewImageClick.apply(i,arguments)})},e.ptm("preview")),null,16,x)]}))],16)):m.createCommentVNode("",!0)]})),_:3},16,["onBeforeEnter","onEnter","onLeave","onBeforeLeave","onAfterLeave"])],16,S)),[[f]]):m.createCommentVNode("",!0)]})),_:3})],16)},w}(primevue.focustrap,primevue.icons.eye,primevue.icons.refresh,primevue.icons.searchminus,primevue.icons.searchplus,primevue.icons.times,primevue.icons.undo,primevue.portal,primevue.utils,primevue.basecomponent,primevue.image.style,Vue);
@@ -6,7 +6,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
6
6
 
7
7
  var BaseStyle__default = /*#__PURE__*/_interopDefaultLegacy(BaseStyle);
8
8
 
9
- var css = "\n@layer primevue {\n .p-image-mask {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .p-image-preview-container {\n position: relative;\n display: inline-block;\n line-height: 0;\n }\n\n .p-image-preview-indicator {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n transition: opacity 0.3s;\n border: none;\n padding: 0;\n }\n\n .p-image-preview-container:hover > .p-image-preview-indicator {\n opacity: 1;\n cursor: pointer;\n }\n\n .p-image-preview-container > img {\n cursor: pointer;\n }\n\n .p-image-toolbar {\n position: absolute;\n top: 0;\n right: 0;\n display: flex;\n }\n\n .p-image-action.p-link {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .p-image-preview {\n transition: transform 0.15s;\n max-width: 100vw;\n max-height: 100vh;\n }\n\n .p-image-preview-enter-active {\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n }\n .p-image-preview-leave-active {\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n }\n .p-image-preview-enter-from,\n .p-image-preview-leave-to {\n opacity: 0;\n transform: scale(0.7);\n }\n}\n";
9
+ var css = "\n@layer primevue {\n .p-image-mask {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .p-image-preview-container {\n position: relative;\n display: inline-block;\n line-height: 0;\n }\n\n .p-image-preview-indicator {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n transition: opacity 0.3s;\n border: none;\n padding: 0;\n }\n\n .p-image-preview-container:hover > .p-image-preview-indicator {\n opacity: 1;\n cursor: pointer;\n }\n\n .p-image-preview-container > img {\n cursor: pointer;\n }\n\n .p-image-toolbar {\n position: absolute;\n top: 0;\n right: 0;\n display: flex;\n z-index: 1;\n }\n\n .p-image-action.p-link {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n \n .p-image-action.p-disabled {\n pointer-events: auto;\n }\n\n .p-image-preview {\n transition: transform 0.15s;\n max-width: 100vw;\n max-height: 100vh;\n }\n\n .p-image-preview-enter-active {\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n }\n .p-image-preview-leave-active {\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n }\n .p-image-preview-enter-from,\n .p-image-preview-leave-to {\n opacity: 0;\n transform: scale(0.7);\n }\n}\n";
10
10
  var classes = {
11
11
  root: function root(_ref) {
12
12
  var props = _ref.props;
@@ -1 +1 @@
1
- "use strict";function n(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var e=n(require("primevue/base/style")).default.extend({name:"image",css:"\n@layer primevue {\n .p-image-mask {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .p-image-preview-container {\n position: relative;\n display: inline-block;\n line-height: 0;\n }\n\n .p-image-preview-indicator {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n transition: opacity 0.3s;\n border: none;\n padding: 0;\n }\n\n .p-image-preview-container:hover > .p-image-preview-indicator {\n opacity: 1;\n cursor: pointer;\n }\n\n .p-image-preview-container > img {\n cursor: pointer;\n }\n\n .p-image-toolbar {\n position: absolute;\n top: 0;\n right: 0;\n display: flex;\n }\n\n .p-image-action.p-link {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .p-image-preview {\n transition: transform 0.15s;\n max-width: 100vw;\n max-height: 100vh;\n }\n\n .p-image-preview-enter-active {\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n }\n .p-image-preview-leave-active {\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n }\n .p-image-preview-enter-from,\n .p-image-preview-leave-to {\n opacity: 0;\n transform: scale(0.7);\n }\n}\n",classes:{root:function(n){return["p-image p-component",{"p-image-preview-container":n.props.preview}]},image:function(n){return n.props.image},button:"p-image-preview-indicator",icon:"p-image-preview-icon",mask:"p-image-mask p-component-overlay p-component-overlay-enter",toolbar:"p-image-toolbar",rotateRightButton:"p-image-action p-link",rotateLeftButton:"p-image-action p-link",zoomOutButton:function(n){return["p-image-action p-link",{"p-disabled":n.instance.isZoomOutDisabled}]},zoomInButton:function(n){return["p-image-action p-link",{"p-disabled":n.instance.isZoomInDisabled}]},closeButton:"p-image-action p-link",preview:"p-image-preview"}});module.exports=e;
1
+ "use strict";function n(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var e=n(require("primevue/base/style")).default.extend({name:"image",css:"\n@layer primevue {\n .p-image-mask {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .p-image-preview-container {\n position: relative;\n display: inline-block;\n line-height: 0;\n }\n\n .p-image-preview-indicator {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n transition: opacity 0.3s;\n border: none;\n padding: 0;\n }\n\n .p-image-preview-container:hover > .p-image-preview-indicator {\n opacity: 1;\n cursor: pointer;\n }\n\n .p-image-preview-container > img {\n cursor: pointer;\n }\n\n .p-image-toolbar {\n position: absolute;\n top: 0;\n right: 0;\n display: flex;\n z-index: 1;\n }\n\n .p-image-action.p-link {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n \n .p-image-action.p-disabled {\n pointer-events: auto;\n }\n\n .p-image-preview {\n transition: transform 0.15s;\n max-width: 100vw;\n max-height: 100vh;\n }\n\n .p-image-preview-enter-active {\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n }\n .p-image-preview-leave-active {\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n }\n .p-image-preview-enter-from,\n .p-image-preview-leave-to {\n opacity: 0;\n transform: scale(0.7);\n }\n}\n",classes:{root:function(n){return["p-image p-component",{"p-image-preview-container":n.props.preview}]},image:function(n){return n.props.image},button:"p-image-preview-indicator",icon:"p-image-preview-icon",mask:"p-image-mask p-component-overlay p-component-overlay-enter",toolbar:"p-image-toolbar",rotateRightButton:"p-image-action p-link",rotateLeftButton:"p-image-action p-link",zoomOutButton:function(n){return["p-image-action p-link",{"p-disabled":n.instance.isZoomOutDisabled}]},zoomInButton:function(n){return["p-image-action p-link",{"p-disabled":n.instance.isZoomInDisabled}]},closeButton:"p-image-action p-link",preview:"p-image-preview"}});module.exports=e;
@@ -1,6 +1,6 @@
1
1
  import BaseStyle from 'primevue/base/style';
2
2
 
3
- var css = "\n@layer primevue {\n .p-image-mask {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .p-image-preview-container {\n position: relative;\n display: inline-block;\n line-height: 0;\n }\n\n .p-image-preview-indicator {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n transition: opacity 0.3s;\n border: none;\n padding: 0;\n }\n\n .p-image-preview-container:hover > .p-image-preview-indicator {\n opacity: 1;\n cursor: pointer;\n }\n\n .p-image-preview-container > img {\n cursor: pointer;\n }\n\n .p-image-toolbar {\n position: absolute;\n top: 0;\n right: 0;\n display: flex;\n }\n\n .p-image-action.p-link {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .p-image-preview {\n transition: transform 0.15s;\n max-width: 100vw;\n max-height: 100vh;\n }\n\n .p-image-preview-enter-active {\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n }\n .p-image-preview-leave-active {\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n }\n .p-image-preview-enter-from,\n .p-image-preview-leave-to {\n opacity: 0;\n transform: scale(0.7);\n }\n}\n";
3
+ var css = "\n@layer primevue {\n .p-image-mask {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .p-image-preview-container {\n position: relative;\n display: inline-block;\n line-height: 0;\n }\n\n .p-image-preview-indicator {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n transition: opacity 0.3s;\n border: none;\n padding: 0;\n }\n\n .p-image-preview-container:hover > .p-image-preview-indicator {\n opacity: 1;\n cursor: pointer;\n }\n\n .p-image-preview-container > img {\n cursor: pointer;\n }\n\n .p-image-toolbar {\n position: absolute;\n top: 0;\n right: 0;\n display: flex;\n z-index: 1;\n }\n\n .p-image-action.p-link {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n \n .p-image-action.p-disabled {\n pointer-events: auto;\n }\n\n .p-image-preview {\n transition: transform 0.15s;\n max-width: 100vw;\n max-height: 100vh;\n }\n\n .p-image-preview-enter-active {\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n }\n .p-image-preview-leave-active {\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n }\n .p-image-preview-enter-from,\n .p-image-preview-leave-to {\n opacity: 0;\n transform: scale(0.7);\n }\n}\n";
4
4
  var classes = {
5
5
  root: function root(_ref) {
6
6
  var props = _ref.props;
@@ -1 +1 @@
1
- import n from"primevue/base/style";var e=n.extend({name:"image",css:"\n@layer primevue {\n .p-image-mask {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .p-image-preview-container {\n position: relative;\n display: inline-block;\n line-height: 0;\n }\n\n .p-image-preview-indicator {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n transition: opacity 0.3s;\n border: none;\n padding: 0;\n }\n\n .p-image-preview-container:hover > .p-image-preview-indicator {\n opacity: 1;\n cursor: pointer;\n }\n\n .p-image-preview-container > img {\n cursor: pointer;\n }\n\n .p-image-toolbar {\n position: absolute;\n top: 0;\n right: 0;\n display: flex;\n }\n\n .p-image-action.p-link {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .p-image-preview {\n transition: transform 0.15s;\n max-width: 100vw;\n max-height: 100vh;\n }\n\n .p-image-preview-enter-active {\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n }\n .p-image-preview-leave-active {\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n }\n .p-image-preview-enter-from,\n .p-image-preview-leave-to {\n opacity: 0;\n transform: scale(0.7);\n }\n}\n",classes:{root:function(n){return["p-image p-component",{"p-image-preview-container":n.props.preview}]},image:function(n){return n.props.image},button:"p-image-preview-indicator",icon:"p-image-preview-icon",mask:"p-image-mask p-component-overlay p-component-overlay-enter",toolbar:"p-image-toolbar",rotateRightButton:"p-image-action p-link",rotateLeftButton:"p-image-action p-link",zoomOutButton:function(n){return["p-image-action p-link",{"p-disabled":n.instance.isZoomOutDisabled}]},zoomInButton:function(n){return["p-image-action p-link",{"p-disabled":n.instance.isZoomInDisabled}]},closeButton:"p-image-action p-link",preview:"p-image-preview"}});export{e as default};
1
+ import n from"primevue/base/style";var e=n.extend({name:"image",css:"\n@layer primevue {\n .p-image-mask {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .p-image-preview-container {\n position: relative;\n display: inline-block;\n line-height: 0;\n }\n\n .p-image-preview-indicator {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n transition: opacity 0.3s;\n border: none;\n padding: 0;\n }\n\n .p-image-preview-container:hover > .p-image-preview-indicator {\n opacity: 1;\n cursor: pointer;\n }\n\n .p-image-preview-container > img {\n cursor: pointer;\n }\n\n .p-image-toolbar {\n position: absolute;\n top: 0;\n right: 0;\n display: flex;\n z-index: 1;\n }\n\n .p-image-action.p-link {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n \n .p-image-action.p-disabled {\n pointer-events: auto;\n }\n\n .p-image-preview {\n transition: transform 0.15s;\n max-width: 100vw;\n max-height: 100vh;\n }\n\n .p-image-preview-enter-active {\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n }\n .p-image-preview-leave-active {\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n }\n .p-image-preview-enter-from,\n .p-image-preview-leave-to {\n opacity: 0;\n transform: scale(0.7);\n }\n}\n",classes:{root:function(n){return["p-image p-component",{"p-image-preview-container":n.props.preview}]},image:function(n){return n.props.image},button:"p-image-preview-indicator",icon:"p-image-preview-icon",mask:"p-image-mask p-component-overlay p-component-overlay-enter",toolbar:"p-image-toolbar",rotateRightButton:"p-image-action p-link",rotateLeftButton:"p-image-action p-link",zoomOutButton:function(n){return["p-image-action p-link",{"p-disabled":n.instance.isZoomOutDisabled}]},zoomInButton:function(n){return["p-image-action p-link",{"p-disabled":n.instance.isZoomInDisabled}]},closeButton:"p-image-action p-link",preview:"p-image-preview"}});export{e as default};
@@ -7,7 +7,7 @@ this.primevue.image.style = (function (BaseStyle) {
7
7
 
8
8
  var BaseStyle__default = /*#__PURE__*/_interopDefaultLegacy(BaseStyle);
9
9
 
10
- var css = "\n@layer primevue {\n .p-image-mask {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .p-image-preview-container {\n position: relative;\n display: inline-block;\n line-height: 0;\n }\n\n .p-image-preview-indicator {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n transition: opacity 0.3s;\n border: none;\n padding: 0;\n }\n\n .p-image-preview-container:hover > .p-image-preview-indicator {\n opacity: 1;\n cursor: pointer;\n }\n\n .p-image-preview-container > img {\n cursor: pointer;\n }\n\n .p-image-toolbar {\n position: absolute;\n top: 0;\n right: 0;\n display: flex;\n }\n\n .p-image-action.p-link {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .p-image-preview {\n transition: transform 0.15s;\n max-width: 100vw;\n max-height: 100vh;\n }\n\n .p-image-preview-enter-active {\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n }\n .p-image-preview-leave-active {\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n }\n .p-image-preview-enter-from,\n .p-image-preview-leave-to {\n opacity: 0;\n transform: scale(0.7);\n }\n}\n";
10
+ var css = "\n@layer primevue {\n .p-image-mask {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .p-image-preview-container {\n position: relative;\n display: inline-block;\n line-height: 0;\n }\n\n .p-image-preview-indicator {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n transition: opacity 0.3s;\n border: none;\n padding: 0;\n }\n\n .p-image-preview-container:hover > .p-image-preview-indicator {\n opacity: 1;\n cursor: pointer;\n }\n\n .p-image-preview-container > img {\n cursor: pointer;\n }\n\n .p-image-toolbar {\n position: absolute;\n top: 0;\n right: 0;\n display: flex;\n z-index: 1;\n }\n\n .p-image-action.p-link {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n \n .p-image-action.p-disabled {\n pointer-events: auto;\n }\n\n .p-image-preview {\n transition: transform 0.15s;\n max-width: 100vw;\n max-height: 100vh;\n }\n\n .p-image-preview-enter-active {\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n }\n .p-image-preview-leave-active {\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n }\n .p-image-preview-enter-from,\n .p-image-preview-leave-to {\n opacity: 0;\n transform: scale(0.7);\n }\n}\n";
11
11
  var classes = {
12
12
  root: function root(_ref) {
13
13
  var props = _ref.props;
@@ -1 +1 @@
1
- this.primevue=this.primevue||{},this.primevue.image=this.primevue.image||{},this.primevue.image.style=function(n){"use strict";function e(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}return e(primevue.base.style).default.extend({name:"image",css:"\n@layer primevue {\n .p-image-mask {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .p-image-preview-container {\n position: relative;\n display: inline-block;\n line-height: 0;\n }\n\n .p-image-preview-indicator {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n transition: opacity 0.3s;\n border: none;\n padding: 0;\n }\n\n .p-image-preview-container:hover > .p-image-preview-indicator {\n opacity: 1;\n cursor: pointer;\n }\n\n .p-image-preview-container > img {\n cursor: pointer;\n }\n\n .p-image-toolbar {\n position: absolute;\n top: 0;\n right: 0;\n display: flex;\n }\n\n .p-image-action.p-link {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .p-image-preview {\n transition: transform 0.15s;\n max-width: 100vw;\n max-height: 100vh;\n }\n\n .p-image-preview-enter-active {\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n }\n .p-image-preview-leave-active {\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n }\n .p-image-preview-enter-from,\n .p-image-preview-leave-to {\n opacity: 0;\n transform: scale(0.7);\n }\n}\n",classes:{root:function(n){return["p-image p-component",{"p-image-preview-container":n.props.preview}]},image:function(n){return n.props.image},button:"p-image-preview-indicator",icon:"p-image-preview-icon",mask:"p-image-mask p-component-overlay p-component-overlay-enter",toolbar:"p-image-toolbar",rotateRightButton:"p-image-action p-link",rotateLeftButton:"p-image-action p-link",zoomOutButton:function(n){return["p-image-action p-link",{"p-disabled":n.instance.isZoomOutDisabled}]},zoomInButton:function(n){return["p-image-action p-link",{"p-disabled":n.instance.isZoomInDisabled}]},closeButton:"p-image-action p-link",preview:"p-image-preview"}})}();
1
+ this.primevue=this.primevue||{},this.primevue.image=this.primevue.image||{},this.primevue.image.style=function(n){"use strict";function e(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}return e(primevue.base.style).default.extend({name:"image",css:"\n@layer primevue {\n .p-image-mask {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .p-image-preview-container {\n position: relative;\n display: inline-block;\n line-height: 0;\n }\n\n .p-image-preview-indicator {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n transition: opacity 0.3s;\n border: none;\n padding: 0;\n }\n\n .p-image-preview-container:hover > .p-image-preview-indicator {\n opacity: 1;\n cursor: pointer;\n }\n\n .p-image-preview-container > img {\n cursor: pointer;\n }\n\n .p-image-toolbar {\n position: absolute;\n top: 0;\n right: 0;\n display: flex;\n z-index: 1;\n }\n\n .p-image-action.p-link {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n \n .p-image-action.p-disabled {\n pointer-events: auto;\n }\n\n .p-image-preview {\n transition: transform 0.15s;\n max-width: 100vw;\n max-height: 100vh;\n }\n\n .p-image-preview-enter-active {\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n }\n .p-image-preview-leave-active {\n transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);\n }\n .p-image-preview-enter-from,\n .p-image-preview-leave-to {\n opacity: 0;\n transform: scale(0.7);\n }\n}\n",classes:{root:function(n){return["p-image p-component",{"p-image-preview-container":n.props.preview}]},image:function(n){return n.props.image},button:"p-image-preview-indicator",icon:"p-image-preview-icon",mask:"p-image-mask p-component-overlay p-component-overlay-enter",toolbar:"p-image-toolbar",rotateRightButton:"p-image-action p-link",rotateLeftButton:"p-image-action p-link",zoomOutButton:function(n){return["p-image-action p-link",{"p-disabled":n.instance.isZoomOutDisabled}]},zoomInButton:function(n){return["p-image-action p-link",{"p-disabled":n.instance.isZoomInDisabled}]},closeButton:"p-image-action p-link",preview:"p-image-preview"}})}();
@@ -30,6 +30,10 @@ export interface InlineMessagePassThroughMethodOptions {
30
30
  * Defines current inline state.
31
31
  */
32
32
  state: InlineMessageState;
33
+ /**
34
+ * Defines valid attributes.
35
+ */
36
+ attrs: any;
33
37
  /**
34
38
  * Defines parent options.
35
39
  */
@@ -32,6 +32,10 @@ export interface InplacePassThroughMethodOptions {
32
32
  * Defines current inline state.
33
33
  */
34
34
  state: InplaceState;
35
+ /**
36
+ * Defines valid attributes.
37
+ */
38
+ attrs: any;
35
39
  /**
36
40
  * Defines parent options.
37
41
  */
@@ -103,8 +103,8 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
103
103
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
104
104
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
105
105
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
106
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
107
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
106
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
107
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
108
108
  var _hoisted_1 = ["tabindex"];
109
109
  function render(_ctx, _cache, $props, $setup, $data, $options) {
110
110
  var _component_IPButton = vue.resolveComponent("IPButton");