primereact 10.8.3 → 10.8.5

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 (963) hide show
  1. package/accordion/accordion.cjs.js +51 -63
  2. package/accordion/accordion.cjs.min.js +1 -1
  3. package/accordion/accordion.esm.js +51 -63
  4. package/accordion/accordion.esm.min.js +1 -1
  5. package/accordion/accordion.js +51 -63
  6. package/accordion/accordion.min.js +1 -1
  7. package/api/api.cjs.js +61 -75
  8. package/api/api.cjs.min.js +1 -1
  9. package/api/api.esm.js +61 -75
  10. package/api/api.esm.min.js +1 -1
  11. package/api/api.js +61 -75
  12. package/api/api.min.js +1 -1
  13. package/autocomplete/autocomplete.cjs.js +81 -80
  14. package/autocomplete/autocomplete.cjs.min.js +1 -1
  15. package/autocomplete/autocomplete.esm.js +81 -80
  16. package/autocomplete/autocomplete.esm.min.js +1 -1
  17. package/autocomplete/autocomplete.js +81 -80
  18. package/autocomplete/autocomplete.min.js +1 -1
  19. package/avatar/avatar.cjs.js +37 -49
  20. package/avatar/avatar.cjs.min.js +1 -1
  21. package/avatar/avatar.esm.js +37 -49
  22. package/avatar/avatar.esm.min.js +1 -1
  23. package/avatar/avatar.js +37 -49
  24. package/avatar/avatar.min.js +1 -1
  25. package/badge/badge.cjs.js +18 -24
  26. package/badge/badge.cjs.min.js +1 -1
  27. package/badge/badge.esm.js +18 -24
  28. package/badge/badge.esm.min.js +1 -1
  29. package/badge/badge.js +18 -24
  30. package/badge/badge.min.js +1 -1
  31. package/blockui/blockui.cjs.js +37 -49
  32. package/blockui/blockui.cjs.min.js +1 -1
  33. package/blockui/blockui.esm.js +37 -49
  34. package/blockui/blockui.esm.min.js +1 -1
  35. package/blockui/blockui.js +37 -49
  36. package/blockui/blockui.min.js +1 -1
  37. package/breadcrumb/breadcrumb.cjs.js +38 -50
  38. package/breadcrumb/breadcrumb.cjs.min.js +1 -1
  39. package/breadcrumb/breadcrumb.esm.js +38 -50
  40. package/breadcrumb/breadcrumb.esm.min.js +1 -1
  41. package/breadcrumb/breadcrumb.js +38 -50
  42. package/breadcrumb/breadcrumb.min.js +1 -1
  43. package/button/button.cjs.js +25 -36
  44. package/button/button.cjs.min.js +1 -1
  45. package/button/button.esm.js +25 -36
  46. package/button/button.esm.min.js +1 -1
  47. package/button/button.js +25 -36
  48. package/button/button.min.js +1 -1
  49. package/buttongroup/buttongroup.cjs.js +1 -1
  50. package/buttongroup/buttongroup.esm.js +1 -1
  51. package/buttongroup/buttongroup.js +1 -1
  52. package/calendar/calendar.cjs.js +58 -68
  53. package/calendar/calendar.cjs.min.js +1 -1
  54. package/calendar/calendar.esm.js +59 -69
  55. package/calendar/calendar.esm.min.js +1 -1
  56. package/calendar/calendar.js +58 -68
  57. package/calendar/calendar.min.js +1 -1
  58. package/carousel/carousel.cjs.js +44 -56
  59. package/carousel/carousel.cjs.min.js +1 -1
  60. package/carousel/carousel.esm.js +44 -56
  61. package/carousel/carousel.esm.min.js +1 -1
  62. package/carousel/carousel.js +44 -56
  63. package/carousel/carousel.min.js +1 -1
  64. package/cascadeselect/cascadeselect.cjs.js +50 -62
  65. package/cascadeselect/cascadeselect.cjs.min.js +1 -1
  66. package/cascadeselect/cascadeselect.esm.js +50 -62
  67. package/cascadeselect/cascadeselect.esm.min.js +1 -1
  68. package/cascadeselect/cascadeselect.js +50 -62
  69. package/cascadeselect/cascadeselect.min.js +1 -1
  70. package/chart/chart.cjs.js +1 -1
  71. package/chart/chart.esm.js +1 -1
  72. package/chart/chart.js +1 -1
  73. package/checkbox/checkbox.cjs.js +38 -50
  74. package/checkbox/checkbox.cjs.min.js +1 -1
  75. package/checkbox/checkbox.esm.js +38 -50
  76. package/checkbox/checkbox.esm.min.js +1 -1
  77. package/checkbox/checkbox.js +38 -50
  78. package/checkbox/checkbox.min.js +1 -1
  79. package/chip/chip.cjs.js +40 -52
  80. package/chip/chip.cjs.min.js +1 -1
  81. package/chip/chip.esm.js +40 -52
  82. package/chip/chip.esm.min.js +1 -1
  83. package/chip/chip.js +40 -52
  84. package/chip/chip.min.js +1 -1
  85. package/chips/chips.cjs.js +47 -57
  86. package/chips/chips.cjs.min.js +1 -1
  87. package/chips/chips.esm.js +47 -57
  88. package/chips/chips.esm.min.js +1 -1
  89. package/chips/chips.js +47 -57
  90. package/chips/chips.min.js +1 -1
  91. package/colorpicker/colorpicker.cjs.js +38 -50
  92. package/colorpicker/colorpicker.cjs.min.js +1 -1
  93. package/colorpicker/colorpicker.esm.js +38 -50
  94. package/colorpicker/colorpicker.esm.min.js +1 -1
  95. package/colorpicker/colorpicker.js +38 -50
  96. package/colorpicker/colorpicker.min.js +1 -1
  97. package/componentbase/componentbase.cjs.js +47 -54
  98. package/componentbase/componentbase.cjs.min.js +1 -1
  99. package/componentbase/componentbase.esm.js +47 -54
  100. package/componentbase/componentbase.esm.min.js +1 -1
  101. package/componentbase/componentbase.js +47 -54
  102. package/componentbase/componentbase.min.js +1 -1
  103. package/confirmdialog/confirmdialog.cjs.js +38 -50
  104. package/confirmdialog/confirmdialog.cjs.min.js +1 -1
  105. package/confirmdialog/confirmdialog.esm.js +38 -50
  106. package/confirmdialog/confirmdialog.esm.min.js +1 -1
  107. package/confirmdialog/confirmdialog.js +38 -50
  108. package/confirmdialog/confirmdialog.min.js +1 -1
  109. package/confirmpopup/confirmpopup.cjs.js +41 -54
  110. package/confirmpopup/confirmpopup.cjs.min.js +1 -1
  111. package/confirmpopup/confirmpopup.esm.js +41 -54
  112. package/confirmpopup/confirmpopup.esm.min.js +1 -1
  113. package/confirmpopup/confirmpopup.js +41 -54
  114. package/confirmpopup/confirmpopup.min.js +1 -1
  115. package/contextmenu/contextmenu.cjs.js +42 -51
  116. package/contextmenu/contextmenu.cjs.min.js +1 -1
  117. package/contextmenu/contextmenu.esm.js +42 -51
  118. package/contextmenu/contextmenu.esm.min.js +1 -1
  119. package/contextmenu/contextmenu.js +42 -51
  120. package/contextmenu/contextmenu.min.js +1 -1
  121. package/core/core.js +1147 -1571
  122. package/core/core.min.js +67 -67
  123. package/csstransition/csstransition.cjs.js +18 -23
  124. package/csstransition/csstransition.cjs.min.js +1 -1
  125. package/csstransition/csstransition.esm.js +18 -23
  126. package/csstransition/csstransition.esm.min.js +1 -1
  127. package/csstransition/csstransition.js +18 -23
  128. package/csstransition/csstransition.min.js +1 -1
  129. package/datascroller/datascroller.cjs.js +27 -33
  130. package/datascroller/datascroller.cjs.min.js +1 -1
  131. package/datascroller/datascroller.esm.js +27 -33
  132. package/datascroller/datascroller.esm.min.js +1 -1
  133. package/datascroller/datascroller.js +27 -33
  134. package/datascroller/datascroller.min.js +1 -1
  135. package/datatable/datatable.cjs.js +135 -151
  136. package/datatable/datatable.cjs.min.js +1 -1
  137. package/datatable/datatable.esm.js +135 -151
  138. package/datatable/datatable.esm.min.js +1 -1
  139. package/datatable/datatable.js +135 -151
  140. package/datatable/datatable.min.js +1 -1
  141. package/dataview/dataview.cjs.js +47 -59
  142. package/dataview/dataview.cjs.min.js +1 -1
  143. package/dataview/dataview.esm.js +47 -59
  144. package/dataview/dataview.esm.min.js +1 -1
  145. package/dataview/dataview.js +47 -59
  146. package/dataview/dataview.min.js +1 -1
  147. package/deferredcontent/deferredcontent.cjs.js +14 -15
  148. package/deferredcontent/deferredcontent.cjs.min.js +1 -1
  149. package/deferredcontent/deferredcontent.esm.js +14 -15
  150. package/deferredcontent/deferredcontent.esm.min.js +1 -1
  151. package/deferredcontent/deferredcontent.js +14 -15
  152. package/deferredcontent/deferredcontent.min.js +1 -1
  153. package/dialog/dialog.cjs.js +47 -59
  154. package/dialog/dialog.cjs.min.js +1 -1
  155. package/dialog/dialog.esm.js +48 -60
  156. package/dialog/dialog.esm.min.js +1 -1
  157. package/dialog/dialog.js +47 -59
  158. package/dialog/dialog.min.js +1 -1
  159. package/dock/dock.cjs.js +44 -56
  160. package/dock/dock.cjs.min.js +1 -1
  161. package/dock/dock.esm.js +44 -56
  162. package/dock/dock.esm.min.js +1 -1
  163. package/dock/dock.js +44 -56
  164. package/dock/dock.min.js +1 -1
  165. package/dropdown/dropdown.cjs.js +54 -68
  166. package/dropdown/dropdown.cjs.min.js +1 -1
  167. package/dropdown/dropdown.esm.js +54 -68
  168. package/dropdown/dropdown.esm.min.js +1 -1
  169. package/dropdown/dropdown.js +54 -68
  170. package/dropdown/dropdown.min.js +1 -1
  171. package/editor/editor.cjs.js +38 -50
  172. package/editor/editor.cjs.min.js +1 -1
  173. package/editor/editor.esm.js +38 -50
  174. package/editor/editor.esm.min.js +1 -1
  175. package/editor/editor.js +38 -50
  176. package/editor/editor.min.js +1 -1
  177. package/fieldset/fieldset.cjs.js +20 -26
  178. package/fieldset/fieldset.cjs.min.js +1 -1
  179. package/fieldset/fieldset.esm.js +20 -26
  180. package/fieldset/fieldset.esm.min.js +1 -1
  181. package/fieldset/fieldset.js +20 -26
  182. package/fieldset/fieldset.min.js +1 -1
  183. package/fileupload/fileupload.cjs.js +50 -62
  184. package/fileupload/fileupload.cjs.min.js +1 -1
  185. package/fileupload/fileupload.esm.js +50 -62
  186. package/fileupload/fileupload.esm.min.js +1 -1
  187. package/fileupload/fileupload.js +50 -62
  188. package/fileupload/fileupload.min.js +1 -1
  189. package/floatlabel/floatlabel.cjs.js +1 -1
  190. package/floatlabel/floatlabel.esm.js +1 -1
  191. package/floatlabel/floatlabel.js +1 -1
  192. package/focustrap/focustrap.cjs.js +18 -24
  193. package/focustrap/focustrap.cjs.min.js +1 -1
  194. package/focustrap/focustrap.esm.js +18 -24
  195. package/focustrap/focustrap.esm.min.js +1 -1
  196. package/focustrap/focustrap.js +18 -24
  197. package/focustrap/focustrap.min.js +1 -1
  198. package/galleria/galleria.cjs.js +46 -58
  199. package/galleria/galleria.cjs.min.js +1 -1
  200. package/galleria/galleria.esm.js +46 -58
  201. package/galleria/galleria.esm.min.js +1 -1
  202. package/galleria/galleria.js +46 -58
  203. package/galleria/galleria.min.js +1 -1
  204. package/hooks/hooks.cjs.js +37 -47
  205. package/hooks/hooks.cjs.min.js +1 -1
  206. package/hooks/hooks.esm.js +37 -47
  207. package/hooks/hooks.esm.min.js +1 -1
  208. package/hooks/hooks.js +37 -47
  209. package/hooks/hooks.min.js +1 -1
  210. package/iconfield/iconfield.cjs.js +24 -35
  211. package/iconfield/iconfield.cjs.min.js +1 -1
  212. package/iconfield/iconfield.esm.js +24 -35
  213. package/iconfield/iconfield.esm.min.js +1 -1
  214. package/iconfield/iconfield.js +24 -35
  215. package/iconfield/iconfield.min.js +1 -1
  216. package/icons/angledoubledown/index.cjs.js +7 -12
  217. package/icons/angledoubledown/index.cjs.min.js +1 -1
  218. package/icons/angledoubledown/index.esm.js +7 -12
  219. package/icons/angledoubledown/index.esm.min.js +1 -1
  220. package/icons/angledoubledown/index.js +7 -12
  221. package/icons/angledoubledown/index.min.js +1 -1
  222. package/icons/angledoubleleft/index.cjs.js +7 -12
  223. package/icons/angledoubleleft/index.cjs.min.js +1 -1
  224. package/icons/angledoubleleft/index.esm.js +7 -12
  225. package/icons/angledoubleleft/index.esm.min.js +1 -1
  226. package/icons/angledoubleleft/index.js +7 -12
  227. package/icons/angledoubleleft/index.min.js +1 -1
  228. package/icons/angledoubleright/index.cjs.js +7 -12
  229. package/icons/angledoubleright/index.cjs.min.js +1 -1
  230. package/icons/angledoubleright/index.esm.js +7 -12
  231. package/icons/angledoubleright/index.esm.min.js +1 -1
  232. package/icons/angledoubleright/index.js +7 -12
  233. package/icons/angledoubleright/index.min.js +1 -1
  234. package/icons/angledoubleup/index.cjs.js +7 -12
  235. package/icons/angledoubleup/index.cjs.min.js +1 -1
  236. package/icons/angledoubleup/index.esm.js +7 -12
  237. package/icons/angledoubleup/index.esm.min.js +1 -1
  238. package/icons/angledoubleup/index.js +7 -12
  239. package/icons/angledoubleup/index.min.js +1 -1
  240. package/icons/angledown/index.cjs.js +7 -12
  241. package/icons/angledown/index.cjs.min.js +1 -1
  242. package/icons/angledown/index.esm.js +7 -12
  243. package/icons/angledown/index.esm.min.js +1 -1
  244. package/icons/angledown/index.js +7 -12
  245. package/icons/angledown/index.min.js +1 -1
  246. package/icons/angleleft/index.cjs.js +7 -12
  247. package/icons/angleleft/index.cjs.min.js +1 -1
  248. package/icons/angleleft/index.esm.js +7 -12
  249. package/icons/angleleft/index.esm.min.js +1 -1
  250. package/icons/angleleft/index.js +7 -12
  251. package/icons/angleleft/index.min.js +1 -1
  252. package/icons/angleright/index.cjs.js +7 -12
  253. package/icons/angleright/index.cjs.min.js +1 -1
  254. package/icons/angleright/index.esm.js +7 -12
  255. package/icons/angleright/index.esm.min.js +1 -1
  256. package/icons/angleright/index.js +7 -12
  257. package/icons/angleright/index.min.js +1 -1
  258. package/icons/angleup/index.cjs.js +7 -12
  259. package/icons/angleup/index.cjs.min.js +1 -1
  260. package/icons/angleup/index.esm.js +7 -12
  261. package/icons/angleup/index.esm.min.js +1 -1
  262. package/icons/angleup/index.js +7 -12
  263. package/icons/angleup/index.min.js +1 -1
  264. package/icons/arrowdown/index.cjs.js +7 -12
  265. package/icons/arrowdown/index.cjs.min.js +1 -1
  266. package/icons/arrowdown/index.esm.js +7 -12
  267. package/icons/arrowdown/index.esm.min.js +1 -1
  268. package/icons/arrowdown/index.js +7 -12
  269. package/icons/arrowdown/index.min.js +1 -1
  270. package/icons/arrowup/index.cjs.js +7 -12
  271. package/icons/arrowup/index.cjs.min.js +1 -1
  272. package/icons/arrowup/index.esm.js +7 -12
  273. package/icons/arrowup/index.esm.min.js +1 -1
  274. package/icons/arrowup/index.js +7 -12
  275. package/icons/arrowup/index.min.js +1 -1
  276. package/icons/ban/index.cjs.js +7 -12
  277. package/icons/ban/index.cjs.min.js +1 -1
  278. package/icons/ban/index.esm.js +7 -12
  279. package/icons/ban/index.esm.min.js +1 -1
  280. package/icons/ban/index.js +7 -12
  281. package/icons/ban/index.min.js +1 -1
  282. package/icons/bars/index.cjs.js +7 -12
  283. package/icons/bars/index.cjs.min.js +1 -1
  284. package/icons/bars/index.esm.js +7 -12
  285. package/icons/bars/index.esm.min.js +1 -1
  286. package/icons/bars/index.js +7 -12
  287. package/icons/bars/index.min.js +1 -1
  288. package/icons/blank/index.cjs.js +7 -12
  289. package/icons/blank/index.cjs.min.js +1 -1
  290. package/icons/blank/index.esm.js +7 -12
  291. package/icons/blank/index.esm.min.js +1 -1
  292. package/icons/blank/index.js +7 -12
  293. package/icons/blank/index.min.js +1 -1
  294. package/icons/calendar/index.cjs.js +7 -12
  295. package/icons/calendar/index.cjs.min.js +1 -1
  296. package/icons/calendar/index.esm.js +7 -12
  297. package/icons/calendar/index.esm.min.js +1 -1
  298. package/icons/calendar/index.js +7 -12
  299. package/icons/calendar/index.min.js +1 -1
  300. package/icons/check/index.cjs.js +7 -12
  301. package/icons/check/index.cjs.min.js +1 -1
  302. package/icons/check/index.esm.js +7 -12
  303. package/icons/check/index.esm.min.js +1 -1
  304. package/icons/check/index.js +7 -12
  305. package/icons/check/index.min.js +1 -1
  306. package/icons/chevrondown/index.cjs.js +7 -12
  307. package/icons/chevrondown/index.cjs.min.js +1 -1
  308. package/icons/chevrondown/index.esm.js +7 -12
  309. package/icons/chevrondown/index.esm.min.js +1 -1
  310. package/icons/chevrondown/index.js +7 -12
  311. package/icons/chevrondown/index.min.js +1 -1
  312. package/icons/chevronleft/index.cjs.js +7 -12
  313. package/icons/chevronleft/index.cjs.min.js +1 -1
  314. package/icons/chevronleft/index.esm.js +7 -12
  315. package/icons/chevronleft/index.esm.min.js +1 -1
  316. package/icons/chevronleft/index.js +7 -12
  317. package/icons/chevronleft/index.min.js +1 -1
  318. package/icons/chevronright/index.cjs.js +7 -12
  319. package/icons/chevronright/index.cjs.min.js +1 -1
  320. package/icons/chevronright/index.esm.js +7 -12
  321. package/icons/chevronright/index.esm.min.js +1 -1
  322. package/icons/chevronright/index.js +7 -12
  323. package/icons/chevronright/index.min.js +1 -1
  324. package/icons/chevronup/index.cjs.js +7 -12
  325. package/icons/chevronup/index.cjs.min.js +1 -1
  326. package/icons/chevronup/index.esm.js +7 -12
  327. package/icons/chevronup/index.esm.min.js +1 -1
  328. package/icons/chevronup/index.js +7 -12
  329. package/icons/chevronup/index.min.js +1 -1
  330. package/icons/download/index.cjs.js +7 -12
  331. package/icons/download/index.cjs.min.js +1 -1
  332. package/icons/download/index.esm.js +7 -12
  333. package/icons/download/index.esm.min.js +1 -1
  334. package/icons/download/index.js +7 -12
  335. package/icons/download/index.min.js +1 -1
  336. package/icons/exclamationtriangle/index.cjs.js +7 -12
  337. package/icons/exclamationtriangle/index.cjs.min.js +1 -1
  338. package/icons/exclamationtriangle/index.esm.js +7 -12
  339. package/icons/exclamationtriangle/index.esm.min.js +1 -1
  340. package/icons/exclamationtriangle/index.js +7 -12
  341. package/icons/exclamationtriangle/index.min.js +1 -1
  342. package/icons/eye/index.cjs.js +7 -12
  343. package/icons/eye/index.cjs.min.js +1 -1
  344. package/icons/eye/index.esm.js +7 -12
  345. package/icons/eye/index.esm.min.js +1 -1
  346. package/icons/eye/index.js +7 -12
  347. package/icons/eye/index.min.js +1 -1
  348. package/icons/eyeslash/index.cjs.js +7 -12
  349. package/icons/eyeslash/index.cjs.min.js +1 -1
  350. package/icons/eyeslash/index.esm.js +7 -12
  351. package/icons/eyeslash/index.esm.min.js +1 -1
  352. package/icons/eyeslash/index.js +7 -12
  353. package/icons/eyeslash/index.min.js +1 -1
  354. package/icons/filter/index.cjs.js +7 -12
  355. package/icons/filter/index.cjs.min.js +1 -1
  356. package/icons/filter/index.esm.js +7 -12
  357. package/icons/filter/index.esm.min.js +1 -1
  358. package/icons/filter/index.js +7 -12
  359. package/icons/filter/index.min.js +1 -1
  360. package/icons/filterslash/index.cjs.js +7 -12
  361. package/icons/filterslash/index.cjs.min.js +1 -1
  362. package/icons/filterslash/index.esm.js +7 -12
  363. package/icons/filterslash/index.esm.min.js +1 -1
  364. package/icons/filterslash/index.js +7 -12
  365. package/icons/filterslash/index.min.js +1 -1
  366. package/icons/infocircle/index.cjs.js +7 -12
  367. package/icons/infocircle/index.cjs.min.js +1 -1
  368. package/icons/infocircle/index.esm.js +7 -12
  369. package/icons/infocircle/index.esm.min.js +1 -1
  370. package/icons/infocircle/index.js +7 -12
  371. package/icons/infocircle/index.min.js +1 -1
  372. package/icons/minus/index.cjs.js +7 -12
  373. package/icons/minus/index.cjs.min.js +1 -1
  374. package/icons/minus/index.esm.js +7 -12
  375. package/icons/minus/index.esm.min.js +1 -1
  376. package/icons/minus/index.js +7 -12
  377. package/icons/minus/index.min.js +1 -1
  378. package/icons/pencil/index.cjs.js +7 -12
  379. package/icons/pencil/index.cjs.min.js +1 -1
  380. package/icons/pencil/index.esm.js +7 -12
  381. package/icons/pencil/index.esm.min.js +1 -1
  382. package/icons/pencil/index.js +7 -12
  383. package/icons/pencil/index.min.js +1 -1
  384. package/icons/plus/index.cjs.js +7 -12
  385. package/icons/plus/index.cjs.min.js +1 -1
  386. package/icons/plus/index.esm.js +7 -12
  387. package/icons/plus/index.esm.min.js +1 -1
  388. package/icons/plus/index.js +7 -12
  389. package/icons/plus/index.min.js +1 -1
  390. package/icons/refresh/index.cjs.js +7 -12
  391. package/icons/refresh/index.cjs.min.js +1 -1
  392. package/icons/refresh/index.esm.js +7 -12
  393. package/icons/refresh/index.esm.min.js +1 -1
  394. package/icons/refresh/index.js +7 -12
  395. package/icons/refresh/index.min.js +1 -1
  396. package/icons/search/index.cjs.js +7 -12
  397. package/icons/search/index.cjs.min.js +1 -1
  398. package/icons/search/index.esm.js +7 -12
  399. package/icons/search/index.esm.min.js +1 -1
  400. package/icons/search/index.js +7 -12
  401. package/icons/search/index.min.js +1 -1
  402. package/icons/searchminus/index.cjs.js +7 -12
  403. package/icons/searchminus/index.cjs.min.js +1 -1
  404. package/icons/searchminus/index.esm.js +7 -12
  405. package/icons/searchminus/index.esm.min.js +1 -1
  406. package/icons/searchminus/index.js +7 -12
  407. package/icons/searchminus/index.min.js +1 -1
  408. package/icons/searchplus/index.cjs.js +7 -12
  409. package/icons/searchplus/index.cjs.min.js +1 -1
  410. package/icons/searchplus/index.esm.js +7 -12
  411. package/icons/searchplus/index.esm.min.js +1 -1
  412. package/icons/searchplus/index.js +7 -12
  413. package/icons/searchplus/index.min.js +1 -1
  414. package/icons/sortalt/index.cjs.js +7 -12
  415. package/icons/sortalt/index.cjs.min.js +1 -1
  416. package/icons/sortalt/index.esm.js +7 -12
  417. package/icons/sortalt/index.esm.min.js +1 -1
  418. package/icons/sortalt/index.js +7 -12
  419. package/icons/sortalt/index.min.js +1 -1
  420. package/icons/sortamountdown/index.cjs.js +7 -12
  421. package/icons/sortamountdown/index.cjs.min.js +1 -1
  422. package/icons/sortamountdown/index.esm.js +7 -12
  423. package/icons/sortamountdown/index.esm.min.js +1 -1
  424. package/icons/sortamountdown/index.js +7 -12
  425. package/icons/sortamountdown/index.min.js +1 -1
  426. package/icons/sortamountupalt/index.cjs.js +7 -12
  427. package/icons/sortamountupalt/index.cjs.min.js +1 -1
  428. package/icons/sortamountupalt/index.esm.js +7 -12
  429. package/icons/sortamountupalt/index.esm.min.js +1 -1
  430. package/icons/sortamountupalt/index.js +7 -12
  431. package/icons/sortamountupalt/index.min.js +1 -1
  432. package/icons/spinner/index.cjs.js +7 -12
  433. package/icons/spinner/index.cjs.min.js +1 -1
  434. package/icons/spinner/index.esm.js +7 -12
  435. package/icons/spinner/index.esm.min.js +1 -1
  436. package/icons/spinner/index.js +7 -12
  437. package/icons/spinner/index.min.js +1 -1
  438. package/icons/star/index.cjs.js +7 -12
  439. package/icons/star/index.cjs.min.js +1 -1
  440. package/icons/star/index.esm.js +7 -12
  441. package/icons/star/index.esm.min.js +1 -1
  442. package/icons/star/index.js +7 -12
  443. package/icons/star/index.min.js +1 -1
  444. package/icons/starfill/index.cjs.js +7 -12
  445. package/icons/starfill/index.cjs.min.js +1 -1
  446. package/icons/starfill/index.esm.js +7 -12
  447. package/icons/starfill/index.esm.min.js +1 -1
  448. package/icons/starfill/index.js +7 -12
  449. package/icons/starfill/index.min.js +1 -1
  450. package/icons/thlarge/index.cjs.js +7 -12
  451. package/icons/thlarge/index.cjs.min.js +1 -1
  452. package/icons/thlarge/index.esm.js +7 -12
  453. package/icons/thlarge/index.esm.min.js +1 -1
  454. package/icons/thlarge/index.js +7 -12
  455. package/icons/thlarge/index.min.js +1 -1
  456. package/icons/times/index.cjs.js +7 -12
  457. package/icons/times/index.cjs.min.js +1 -1
  458. package/icons/times/index.esm.js +7 -12
  459. package/icons/times/index.esm.min.js +1 -1
  460. package/icons/times/index.js +7 -12
  461. package/icons/times/index.min.js +1 -1
  462. package/icons/timescircle/index.cjs.js +7 -12
  463. package/icons/timescircle/index.cjs.min.js +1 -1
  464. package/icons/timescircle/index.esm.js +7 -12
  465. package/icons/timescircle/index.esm.min.js +1 -1
  466. package/icons/timescircle/index.js +7 -12
  467. package/icons/timescircle/index.min.js +1 -1
  468. package/icons/trash/index.cjs.js +7 -12
  469. package/icons/trash/index.cjs.min.js +1 -1
  470. package/icons/trash/index.esm.js +7 -12
  471. package/icons/trash/index.esm.min.js +1 -1
  472. package/icons/trash/index.js +7 -12
  473. package/icons/trash/index.min.js +1 -1
  474. package/icons/undo/index.cjs.js +7 -12
  475. package/icons/undo/index.cjs.min.js +1 -1
  476. package/icons/undo/index.esm.js +7 -12
  477. package/icons/undo/index.esm.min.js +1 -1
  478. package/icons/undo/index.js +7 -12
  479. package/icons/undo/index.min.js +1 -1
  480. package/icons/upload/index.cjs.js +7 -12
  481. package/icons/upload/index.cjs.min.js +1 -1
  482. package/icons/upload/index.esm.js +7 -12
  483. package/icons/upload/index.esm.min.js +1 -1
  484. package/icons/upload/index.js +7 -12
  485. package/icons/upload/index.min.js +1 -1
  486. package/icons/windowmaximize/index.cjs.js +7 -12
  487. package/icons/windowmaximize/index.cjs.min.js +1 -1
  488. package/icons/windowmaximize/index.esm.js +7 -12
  489. package/icons/windowmaximize/index.esm.min.js +1 -1
  490. package/icons/windowmaximize/index.js +7 -12
  491. package/icons/windowmaximize/index.min.js +1 -1
  492. package/icons/windowminimize/index.cjs.js +7 -12
  493. package/icons/windowminimize/index.cjs.min.js +1 -1
  494. package/icons/windowminimize/index.esm.js +7 -12
  495. package/icons/windowminimize/index.esm.min.js +1 -1
  496. package/icons/windowminimize/index.js +7 -12
  497. package/icons/windowminimize/index.min.js +1 -1
  498. package/image/image.cjs.js +39 -51
  499. package/image/image.cjs.min.js +1 -1
  500. package/image/image.esm.js +39 -51
  501. package/image/image.esm.min.js +1 -1
  502. package/image/image.js +39 -51
  503. package/image/image.min.js +1 -1
  504. package/inplace/inplace.cjs.js +14 -15
  505. package/inplace/inplace.cjs.min.js +1 -1
  506. package/inplace/inplace.esm.js +14 -15
  507. package/inplace/inplace.esm.min.js +1 -1
  508. package/inplace/inplace.js +14 -15
  509. package/inplace/inplace.min.js +1 -1
  510. package/inputicon/inputicon.cjs.js +24 -35
  511. package/inputicon/inputicon.cjs.min.js +1 -1
  512. package/inputicon/inputicon.esm.js +24 -35
  513. package/inputicon/inputicon.esm.min.js +1 -1
  514. package/inputicon/inputicon.js +24 -35
  515. package/inputicon/inputicon.min.js +1 -1
  516. package/inputmask/inputmask.cjs.js +10 -13
  517. package/inputmask/inputmask.cjs.min.js +1 -1
  518. package/inputmask/inputmask.esm.js +10 -13
  519. package/inputmask/inputmask.esm.min.js +1 -1
  520. package/inputmask/inputmask.js +10 -13
  521. package/inputmask/inputmask.min.js +1 -1
  522. package/inputnumber/inputnumber.cjs.js +59 -66
  523. package/inputnumber/inputnumber.cjs.min.js +1 -1
  524. package/inputnumber/inputnumber.esm.js +60 -67
  525. package/inputnumber/inputnumber.esm.min.js +1 -1
  526. package/inputnumber/inputnumber.js +59 -66
  527. package/inputnumber/inputnumber.min.js +1 -1
  528. package/inputotp/inputotp.cjs.js +53 -65
  529. package/inputotp/inputotp.cjs.min.js +1 -1
  530. package/inputotp/inputotp.esm.js +53 -65
  531. package/inputotp/inputotp.esm.min.js +1 -1
  532. package/inputotp/inputotp.js +53 -65
  533. package/inputotp/inputotp.min.js +1 -1
  534. package/inputswitch/inputswitch.cjs.js +24 -35
  535. package/inputswitch/inputswitch.cjs.min.js +1 -1
  536. package/inputswitch/inputswitch.esm.js +24 -35
  537. package/inputswitch/inputswitch.esm.min.js +1 -1
  538. package/inputswitch/inputswitch.js +24 -35
  539. package/inputswitch/inputswitch.min.js +1 -1
  540. package/inputtext/inputtext.cjs.js +31 -35
  541. package/inputtext/inputtext.cjs.min.js +1 -1
  542. package/inputtext/inputtext.d.ts +1 -0
  543. package/inputtext/inputtext.esm.js +31 -35
  544. package/inputtext/inputtext.esm.min.js +1 -1
  545. package/inputtext/inputtext.js +31 -35
  546. package/inputtext/inputtext.min.js +1 -1
  547. package/inputtextarea/inputtextarea.cjs.js +26 -36
  548. package/inputtextarea/inputtextarea.cjs.min.js +1 -1
  549. package/inputtextarea/inputtextarea.esm.js +26 -36
  550. package/inputtextarea/inputtextarea.esm.min.js +1 -1
  551. package/inputtextarea/inputtextarea.js +26 -36
  552. package/inputtextarea/inputtextarea.min.js +1 -1
  553. package/keyfilter/keyfilter.cjs.js +16 -17
  554. package/keyfilter/keyfilter.cjs.min.js +1 -1
  555. package/keyfilter/keyfilter.esm.js +16 -17
  556. package/keyfilter/keyfilter.esm.min.js +1 -1
  557. package/keyfilter/keyfilter.js +16 -17
  558. package/keyfilter/keyfilter.min.js +1 -1
  559. package/knob/knob.cjs.js +15 -16
  560. package/knob/knob.cjs.min.js +1 -1
  561. package/knob/knob.esm.js +15 -16
  562. package/knob/knob.esm.min.js +1 -1
  563. package/knob/knob.js +15 -16
  564. package/knob/knob.min.js +1 -1
  565. package/listbox/listbox.cjs.js +48 -60
  566. package/listbox/listbox.cjs.min.js +1 -1
  567. package/listbox/listbox.esm.js +48 -60
  568. package/listbox/listbox.esm.min.js +1 -1
  569. package/listbox/listbox.js +48 -60
  570. package/listbox/listbox.min.js +1 -1
  571. package/megamenu/megamenu.cjs.js +44 -56
  572. package/megamenu/megamenu.cjs.min.js +1 -1
  573. package/megamenu/megamenu.esm.js +44 -56
  574. package/megamenu/megamenu.esm.min.js +1 -1
  575. package/megamenu/megamenu.js +44 -56
  576. package/megamenu/megamenu.min.js +1 -1
  577. package/mention/mention.cjs.js +48 -58
  578. package/mention/mention.cjs.min.js +1 -1
  579. package/mention/mention.d.ts +8 -0
  580. package/mention/mention.esm.js +48 -58
  581. package/mention/mention.esm.min.js +1 -1
  582. package/mention/mention.js +48 -58
  583. package/mention/mention.min.js +1 -1
  584. package/menu/menu.cjs.js +47 -59
  585. package/menu/menu.cjs.min.js +1 -1
  586. package/menu/menu.d.ts +14 -0
  587. package/menu/menu.esm.js +47 -59
  588. package/menu/menu.esm.min.js +1 -1
  589. package/menu/menu.js +47 -59
  590. package/menu/menu.min.js +1 -1
  591. package/menubar/menubar.cjs.js +45 -54
  592. package/menubar/menubar.cjs.min.js +1 -1
  593. package/menubar/menubar.esm.js +45 -54
  594. package/menubar/menubar.esm.min.js +1 -1
  595. package/menubar/menubar.js +45 -54
  596. package/menubar/menubar.min.js +1 -1
  597. package/message/message.cjs.js +24 -35
  598. package/message/message.cjs.min.js +1 -1
  599. package/message/message.esm.js +24 -35
  600. package/message/message.esm.min.js +1 -1
  601. package/message/message.js +24 -35
  602. package/message/message.min.js +1 -1
  603. package/messages/messages.cjs.js +46 -59
  604. package/messages/messages.cjs.min.js +1 -1
  605. package/messages/messages.esm.js +47 -60
  606. package/messages/messages.esm.min.js +1 -1
  607. package/messages/messages.js +46 -59
  608. package/messages/messages.min.js +1 -1
  609. package/metergroup/metergroup.cjs.js +23 -34
  610. package/metergroup/metergroup.cjs.min.js +1 -1
  611. package/metergroup/metergroup.esm.js +23 -34
  612. package/metergroup/metergroup.esm.min.js +1 -1
  613. package/metergroup/metergroup.js +23 -34
  614. package/metergroup/metergroup.min.js +1 -1
  615. package/multiselect/multiselect.cjs.js +149 -163
  616. package/multiselect/multiselect.cjs.min.js +1 -1
  617. package/multiselect/multiselect.esm.js +149 -163
  618. package/multiselect/multiselect.esm.min.js +1 -1
  619. package/multiselect/multiselect.js +149 -163
  620. package/multiselect/multiselect.min.js +1 -1
  621. package/multistatecheckbox/multistatecheckbox.cjs.js +39 -51
  622. package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
  623. package/multistatecheckbox/multistatecheckbox.esm.js +39 -51
  624. package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
  625. package/multistatecheckbox/multistatecheckbox.js +39 -51
  626. package/multistatecheckbox/multistatecheckbox.min.js +1 -1
  627. package/orderlist/orderlist.cjs.js +46 -58
  628. package/orderlist/orderlist.cjs.min.js +1 -1
  629. package/orderlist/orderlist.esm.js +46 -58
  630. package/orderlist/orderlist.esm.min.js +1 -1
  631. package/orderlist/orderlist.js +46 -58
  632. package/orderlist/orderlist.min.js +1 -1
  633. package/organizationchart/organizationchart.cjs.js +46 -62
  634. package/organizationchart/organizationchart.cjs.min.js +1 -1
  635. package/organizationchart/organizationchart.esm.js +46 -62
  636. package/organizationchart/organizationchart.esm.min.js +1 -1
  637. package/organizationchart/organizationchart.js +46 -62
  638. package/organizationchart/organizationchart.min.js +1 -1
  639. package/overlaypanel/overlaypanel.cjs.js +38 -50
  640. package/overlaypanel/overlaypanel.cjs.min.js +1 -1
  641. package/overlaypanel/overlaypanel.esm.js +38 -50
  642. package/overlaypanel/overlaypanel.esm.min.js +1 -1
  643. package/overlaypanel/overlaypanel.js +38 -50
  644. package/overlaypanel/overlaypanel.min.js +1 -1
  645. package/overlayservice/overlayservice.min.js +1 -1
  646. package/package.json +1 -1
  647. package/paginator/paginator.cjs.js +42 -57
  648. package/paginator/paginator.cjs.min.js +1 -1
  649. package/paginator/paginator.esm.js +42 -57
  650. package/paginator/paginator.esm.min.js +1 -1
  651. package/paginator/paginator.js +42 -57
  652. package/paginator/paginator.min.js +1 -1
  653. package/panel/panel.cjs.js +20 -26
  654. package/panel/panel.cjs.min.js +1 -1
  655. package/panel/panel.esm.js +20 -26
  656. package/panel/panel.esm.min.js +1 -1
  657. package/panel/panel.js +20 -26
  658. package/panel/panel.min.js +1 -1
  659. package/panelmenu/panelmenu.cjs.js +59 -68
  660. package/panelmenu/panelmenu.cjs.min.js +1 -1
  661. package/panelmenu/panelmenu.esm.js +59 -68
  662. package/panelmenu/panelmenu.esm.min.js +1 -1
  663. package/panelmenu/panelmenu.js +59 -68
  664. package/panelmenu/panelmenu.min.js +1 -1
  665. package/passthrough/index.cjs.js +17 -23
  666. package/passthrough/index.cjs.min.js +1 -1
  667. package/passthrough/index.esm.js +17 -23
  668. package/passthrough/index.esm.min.js +1 -1
  669. package/passthrough/index.js +17 -23
  670. package/passthrough/index.min.js +1 -1
  671. package/passthrough/tailwind/index.cjs.js +360 -334
  672. package/passthrough/tailwind/index.cjs.min.js +1 -1
  673. package/passthrough/tailwind/index.esm.js +360 -334
  674. package/passthrough/tailwind/index.esm.min.js +1 -1
  675. package/passthrough/tailwind/index.js +360 -334
  676. package/passthrough/tailwind/index.min.js +1 -1
  677. package/password/password.cjs.js +47 -53
  678. package/password/password.cjs.min.js +1 -1
  679. package/password/password.esm.js +47 -53
  680. package/password/password.esm.min.js +1 -1
  681. package/password/password.js +47 -53
  682. package/password/password.min.js +1 -1
  683. package/picklist/picklist.cjs.js +51 -66
  684. package/picklist/picklist.cjs.min.js +1 -1
  685. package/picklist/picklist.esm.js +51 -66
  686. package/picklist/picklist.esm.min.js +1 -1
  687. package/picklist/picklist.js +51 -66
  688. package/picklist/picklist.min.js +1 -1
  689. package/portal/portal.cjs.js +14 -15
  690. package/portal/portal.cjs.min.js +1 -1
  691. package/portal/portal.esm.js +14 -15
  692. package/portal/portal.esm.min.js +1 -1
  693. package/portal/portal.js +14 -15
  694. package/portal/portal.min.js +1 -1
  695. package/primereact.all.cjs.js +917 -858
  696. package/primereact.all.cjs.min.js +1 -1
  697. package/primereact.all.esm.js +917 -858
  698. package/primereact.all.esm.min.js +1 -1
  699. package/primereact.all.js +917 -858
  700. package/primereact.all.min.js +1 -1
  701. package/progressbar/progressbar.cjs.js +24 -35
  702. package/progressbar/progressbar.cjs.min.js +1 -1
  703. package/progressbar/progressbar.esm.js +24 -35
  704. package/progressbar/progressbar.esm.min.js +1 -1
  705. package/progressbar/progressbar.js +24 -35
  706. package/progressbar/progressbar.min.js +1 -1
  707. package/progressspinner/progressspinner.cjs.js +1 -1
  708. package/progressspinner/progressspinner.esm.js +1 -1
  709. package/progressspinner/progressspinner.js +1 -1
  710. package/radiobutton/radiobutton.cjs.js +24 -35
  711. package/radiobutton/radiobutton.cjs.min.js +1 -1
  712. package/radiobutton/radiobutton.esm.js +24 -35
  713. package/radiobutton/radiobutton.esm.min.js +1 -1
  714. package/radiobutton/radiobutton.js +24 -35
  715. package/radiobutton/radiobutton.min.js +1 -1
  716. package/rating/rating.cjs.js +38 -50
  717. package/rating/rating.cjs.min.js +1 -1
  718. package/rating/rating.esm.js +38 -50
  719. package/rating/rating.esm.min.js +1 -1
  720. package/rating/rating.js +38 -50
  721. package/rating/rating.min.js +1 -1
  722. package/resources/themes/arya-blue/theme.css +15 -25
  723. package/resources/themes/arya-green/theme.css +15 -25
  724. package/resources/themes/arya-orange/theme.css +15 -25
  725. package/resources/themes/arya-purple/theme.css +15 -25
  726. package/resources/themes/bootstrap4-dark-blue/theme.css +15 -25
  727. package/resources/themes/bootstrap4-dark-purple/theme.css +15 -25
  728. package/resources/themes/bootstrap4-light-blue/theme.css +15 -25
  729. package/resources/themes/bootstrap4-light-purple/theme.css +15 -25
  730. package/resources/themes/fluent-light/theme.css +15 -25
  731. package/resources/themes/lara-dark-amber/theme.css +15 -25
  732. package/resources/themes/lara-dark-blue/theme.css +15 -25
  733. package/resources/themes/lara-dark-cyan/theme.css +15 -25
  734. package/resources/themes/lara-dark-green/theme.css +15 -25
  735. package/resources/themes/lara-dark-indigo/theme.css +15 -25
  736. package/resources/themes/lara-dark-pink/theme.css +15 -25
  737. package/resources/themes/lara-dark-purple/theme.css +15 -25
  738. package/resources/themes/lara-dark-teal/theme.css +15 -25
  739. package/resources/themes/lara-light-amber/theme.css +15 -25
  740. package/resources/themes/lara-light-blue/theme.css +15 -25
  741. package/resources/themes/lara-light-cyan/theme.css +15 -25
  742. package/resources/themes/lara-light-green/theme.css +15 -25
  743. package/resources/themes/lara-light-indigo/theme.css +15 -25
  744. package/resources/themes/lara-light-pink/theme.css +15 -25
  745. package/resources/themes/lara-light-purple/theme.css +15 -25
  746. package/resources/themes/lara-light-teal/theme.css +15 -25
  747. package/resources/themes/luna-amber/theme.css +15 -25
  748. package/resources/themes/luna-blue/theme.css +15 -25
  749. package/resources/themes/luna-green/theme.css +15 -25
  750. package/resources/themes/luna-pink/theme.css +15 -25
  751. package/resources/themes/md-dark-deeppurple/theme.css +15 -25
  752. package/resources/themes/md-dark-indigo/theme.css +15 -25
  753. package/resources/themes/md-light-deeppurple/theme.css +15 -25
  754. package/resources/themes/md-light-indigo/theme.css +300 -310
  755. package/resources/themes/mdc-dark-deeppurple/theme.css +15 -25
  756. package/resources/themes/mdc-dark-indigo/theme.css +15 -25
  757. package/resources/themes/mdc-light-deeppurple/theme.css +15 -25
  758. package/resources/themes/mdc-light-indigo/theme.css +300 -310
  759. package/resources/themes/mira/theme.css +15 -25
  760. package/resources/themes/nano/theme.css +15 -25
  761. package/resources/themes/nova/theme.css +15 -25
  762. package/resources/themes/nova-accent/theme.css +15 -25
  763. package/resources/themes/nova-alt/theme.css +15 -25
  764. package/resources/themes/rhea/theme.css +15 -25
  765. package/resources/themes/saga-blue/theme.css +15 -25
  766. package/resources/themes/saga-green/theme.css +15 -25
  767. package/resources/themes/saga-orange/theme.css +15 -25
  768. package/resources/themes/saga-purple/theme.css +15 -25
  769. package/resources/themes/soho-dark/theme.css +15 -25
  770. package/resources/themes/soho-light/theme.css +15 -25
  771. package/resources/themes/tailwind-light/theme.css +15 -25
  772. package/resources/themes/vela-blue/theme.css +15 -25
  773. package/resources/themes/vela-green/theme.css +15 -25
  774. package/resources/themes/vela-orange/theme.css +15 -25
  775. package/resources/themes/vela-purple/theme.css +15 -25
  776. package/resources/themes/viva-dark/theme.css +15 -25
  777. package/resources/themes/viva-light/theme.css +15 -25
  778. package/ripple/ripple.cjs.js +38 -50
  779. package/ripple/ripple.cjs.min.js +1 -1
  780. package/ripple/ripple.esm.js +38 -50
  781. package/ripple/ripple.esm.min.js +1 -1
  782. package/ripple/ripple.js +38 -50
  783. package/ripple/ripple.min.js +1 -1
  784. package/scrollpanel/scrollpanel.cjs.js +34 -32
  785. package/scrollpanel/scrollpanel.cjs.min.js +1 -1
  786. package/scrollpanel/scrollpanel.esm.js +34 -32
  787. package/scrollpanel/scrollpanel.esm.min.js +1 -1
  788. package/scrollpanel/scrollpanel.js +34 -32
  789. package/scrollpanel/scrollpanel.min.js +1 -1
  790. package/scrolltop/scrolltop.cjs.js +38 -50
  791. package/scrolltop/scrolltop.cjs.min.js +1 -1
  792. package/scrolltop/scrolltop.esm.js +38 -50
  793. package/scrolltop/scrolltop.esm.min.js +1 -1
  794. package/scrolltop/scrolltop.js +38 -50
  795. package/scrolltop/scrolltop.min.js +1 -1
  796. package/selectbutton/selectbutton.cjs.js +27 -33
  797. package/selectbutton/selectbutton.cjs.min.js +1 -1
  798. package/selectbutton/selectbutton.esm.js +27 -33
  799. package/selectbutton/selectbutton.esm.min.js +1 -1
  800. package/selectbutton/selectbutton.js +27 -33
  801. package/selectbutton/selectbutton.min.js +1 -1
  802. package/sidebar/sidebar.cjs.js +38 -50
  803. package/sidebar/sidebar.cjs.min.js +1 -1
  804. package/sidebar/sidebar.d.ts +2 -1
  805. package/sidebar/sidebar.esm.js +38 -50
  806. package/sidebar/sidebar.esm.min.js +1 -1
  807. package/sidebar/sidebar.js +38 -50
  808. package/sidebar/sidebar.min.js +1 -1
  809. package/skeleton/skeleton.cjs.js +18 -24
  810. package/skeleton/skeleton.cjs.min.js +1 -1
  811. package/skeleton/skeleton.esm.js +18 -24
  812. package/skeleton/skeleton.esm.min.js +1 -1
  813. package/skeleton/skeleton.js +18 -24
  814. package/skeleton/skeleton.min.js +1 -1
  815. package/slidemenu/slidemenu.cjs.js +41 -50
  816. package/slidemenu/slidemenu.cjs.min.js +1 -1
  817. package/slidemenu/slidemenu.esm.js +41 -50
  818. package/slidemenu/slidemenu.esm.min.js +1 -1
  819. package/slidemenu/slidemenu.js +41 -50
  820. package/slidemenu/slidemenu.min.js +1 -1
  821. package/slider/slider.cjs.js +44 -56
  822. package/slider/slider.cjs.min.js +1 -1
  823. package/slider/slider.esm.js +44 -56
  824. package/slider/slider.esm.min.js +1 -1
  825. package/slider/slider.js +44 -56
  826. package/slider/slider.min.js +1 -1
  827. package/speeddial/speeddial.cjs.js +44 -56
  828. package/speeddial/speeddial.cjs.min.js +1 -1
  829. package/speeddial/speeddial.esm.js +44 -56
  830. package/speeddial/speeddial.esm.min.js +1 -1
  831. package/speeddial/speeddial.js +44 -56
  832. package/speeddial/speeddial.min.js +1 -1
  833. package/splitbutton/splitbutton.cjs.js +60 -63
  834. package/splitbutton/splitbutton.cjs.min.js +1 -1
  835. package/splitbutton/splitbutton.d.ts +2 -2
  836. package/splitbutton/splitbutton.esm.js +60 -63
  837. package/splitbutton/splitbutton.esm.min.js +1 -1
  838. package/splitbutton/splitbutton.js +60 -63
  839. package/splitbutton/splitbutton.min.js +1 -1
  840. package/splitter/splitter.cjs.js +48 -60
  841. package/splitter/splitter.cjs.min.js +1 -1
  842. package/splitter/splitter.esm.js +48 -60
  843. package/splitter/splitter.esm.min.js +1 -1
  844. package/splitter/splitter.js +48 -60
  845. package/splitter/splitter.min.js +1 -1
  846. package/stepper/stepper.cjs.js +41 -53
  847. package/stepper/stepper.cjs.min.js +1 -1
  848. package/stepper/stepper.esm.js +41 -53
  849. package/stepper/stepper.esm.min.js +1 -1
  850. package/stepper/stepper.js +41 -53
  851. package/stepper/stepper.min.js +1 -1
  852. package/stepperpanel/stepperpanel.cjs.js +1 -1
  853. package/stepperpanel/stepperpanel.esm.js +1 -1
  854. package/stepperpanel/stepperpanel.js +1 -1
  855. package/steps/steps.cjs.js +42 -59
  856. package/steps/steps.cjs.min.js +1 -1
  857. package/steps/steps.esm.js +42 -59
  858. package/steps/steps.esm.min.js +1 -1
  859. package/steps/steps.js +42 -59
  860. package/steps/steps.min.js +1 -1
  861. package/styleclass/styleclass.cjs.js +14 -15
  862. package/styleclass/styleclass.cjs.min.js +1 -1
  863. package/styleclass/styleclass.esm.js +14 -15
  864. package/styleclass/styleclass.esm.min.js +1 -1
  865. package/styleclass/styleclass.js +14 -15
  866. package/styleclass/styleclass.min.js +1 -1
  867. package/tabmenu/tabmenu.cjs.js +44 -56
  868. package/tabmenu/tabmenu.cjs.min.js +1 -1
  869. package/tabmenu/tabmenu.esm.js +44 -56
  870. package/tabmenu/tabmenu.esm.min.js +1 -1
  871. package/tabmenu/tabmenu.js +44 -56
  872. package/tabmenu/tabmenu.min.js +1 -1
  873. package/tabview/tabview.cjs.js +45 -52
  874. package/tabview/tabview.cjs.min.js +1 -1
  875. package/tabview/tabview.esm.js +45 -52
  876. package/tabview/tabview.esm.min.js +1 -1
  877. package/tabview/tabview.js +45 -52
  878. package/tabview/tabview.min.js +1 -1
  879. package/tag/tag.cjs.js +17 -23
  880. package/tag/tag.cjs.min.js +1 -1
  881. package/tag/tag.esm.js +17 -23
  882. package/tag/tag.esm.min.js +1 -1
  883. package/tag/tag.js +17 -23
  884. package/tag/tag.min.js +1 -1
  885. package/terminal/terminal.cjs.js +21 -22
  886. package/terminal/terminal.cjs.min.js +1 -1
  887. package/terminal/terminal.esm.js +21 -22
  888. package/terminal/terminal.esm.min.js +1 -1
  889. package/terminal/terminal.js +21 -22
  890. package/terminal/terminal.min.js +1 -1
  891. package/terminalservice/terminalservice.min.js +1 -1
  892. package/tieredmenu/tieredmenu.cjs.js +53 -59
  893. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  894. package/tieredmenu/tieredmenu.esm.js +53 -59
  895. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  896. package/tieredmenu/tieredmenu.js +53 -59
  897. package/tieredmenu/tieredmenu.min.js +1 -1
  898. package/timeline/timeline.cjs.js +24 -35
  899. package/timeline/timeline.cjs.min.js +1 -1
  900. package/timeline/timeline.esm.js +24 -35
  901. package/timeline/timeline.esm.min.js +1 -1
  902. package/timeline/timeline.js +24 -35
  903. package/timeline/timeline.min.js +1 -1
  904. package/toast/toast.cjs.js +55 -75
  905. package/toast/toast.cjs.min.js +1 -1
  906. package/toast/toast.esm.js +55 -75
  907. package/toast/toast.esm.min.js +1 -1
  908. package/toast/toast.js +55 -75
  909. package/toast/toast.min.js +1 -1
  910. package/togglebutton/togglebutton.cjs.js +25 -36
  911. package/togglebutton/togglebutton.cjs.min.js +1 -1
  912. package/togglebutton/togglebutton.esm.js +25 -36
  913. package/togglebutton/togglebutton.esm.min.js +1 -1
  914. package/togglebutton/togglebutton.js +25 -36
  915. package/togglebutton/togglebutton.min.js +1 -1
  916. package/toolbar/toolbar.cjs.js +1 -1
  917. package/toolbar/toolbar.esm.js +1 -1
  918. package/toolbar/toolbar.js +1 -1
  919. package/tooltip/tooltip.cjs.js +51 -57
  920. package/tooltip/tooltip.cjs.min.js +1 -1
  921. package/tooltip/tooltip.esm.js +51 -57
  922. package/tooltip/tooltip.esm.min.js +1 -1
  923. package/tooltip/tooltip.js +51 -57
  924. package/tooltip/tooltip.min.js +1 -1
  925. package/tree/tree.cjs.js +76 -88
  926. package/tree/tree.cjs.min.js +1 -1
  927. package/tree/tree.esm.js +76 -88
  928. package/tree/tree.esm.min.js +1 -1
  929. package/tree/tree.js +76 -88
  930. package/tree/tree.min.js +1 -1
  931. package/treeselect/treeselect.cjs.js +57 -68
  932. package/treeselect/treeselect.cjs.min.js +1 -1
  933. package/treeselect/treeselect.esm.js +57 -68
  934. package/treeselect/treeselect.esm.min.js +1 -1
  935. package/treeselect/treeselect.js +57 -68
  936. package/treeselect/treeselect.min.js +1 -1
  937. package/treetable/treetable.cjs.js +98 -105
  938. package/treetable/treetable.cjs.min.js +1 -1
  939. package/treetable/treetable.d.ts +1 -1
  940. package/treetable/treetable.esm.js +98 -105
  941. package/treetable/treetable.esm.min.js +1 -1
  942. package/treetable/treetable.js +98 -105
  943. package/treetable/treetable.min.js +1 -1
  944. package/tristatecheckbox/tristatecheckbox.cjs.js +100 -46
  945. package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
  946. package/tristatecheckbox/tristatecheckbox.esm.js +101 -46
  947. package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
  948. package/tristatecheckbox/tristatecheckbox.js +100 -46
  949. package/tristatecheckbox/tristatecheckbox.min.js +1 -1
  950. package/utils/utils.cjs.js +70 -90
  951. package/utils/utils.cjs.min.js +1 -1
  952. package/utils/utils.d.ts +1 -1
  953. package/utils/utils.esm.js +70 -90
  954. package/utils/utils.esm.min.js +1 -1
  955. package/utils/utils.js +70 -90
  956. package/utils/utils.min.js +1 -1
  957. package/virtualscroller/virtualscroller.cjs.js +38 -50
  958. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  959. package/virtualscroller/virtualscroller.esm.js +38 -50
  960. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  961. package/virtualscroller/virtualscroller.js +38 -50
  962. package/virtualscroller/virtualscroller.min.js +1 -1
  963. package/web-types.json +3 -3
@@ -3,21 +3,16 @@ import * as React from 'react';
3
3
  import { IconBase } from 'primereact/iconbase';
4
4
 
5
5
  function _extends() {
6
- _extends = Object.assign ? Object.assign.bind() : function (target) {
7
- for (var i = 1; i < arguments.length; i++) {
8
- var source = arguments[i];
9
- for (var key in source) {
10
- if (Object.prototype.hasOwnProperty.call(source, key)) {
11
- target[key] = source[key];
12
- }
13
- }
6
+ return _extends = Object.assign ? Object.assign.bind() : function (n) {
7
+ for (var e = 1; e < arguments.length; e++) {
8
+ var t = arguments[e];
9
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
14
10
  }
15
- return target;
16
- };
17
- return _extends.apply(this, arguments);
11
+ return n;
12
+ }, _extends.apply(null, arguments);
18
13
  }
19
14
 
20
- var WindowMinimizeIcon = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (inProps, ref) {
15
+ var WindowMinimizeIcon = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (inProps, ref) {
21
16
  var pti = IconBase.getPTI(inProps);
22
17
  return /*#__PURE__*/React.createElement("svg", _extends({
23
18
  ref: ref,
@@ -1 +1 @@
1
- import*as C from"react";import{IconBase as e}from"primereact/iconbase";function r(){return r=Object.assign?Object.assign.bind():function(C){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(C[t]=r[t])}return C},r.apply(this,arguments)}var t=C.memo(C.forwardRef((function(t,n){var o=e.getPTI(t);return C.createElement("svg",r({ref:n,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z",fill:"currentColor"}))})));t.displayName="WindowMinimizeIcon";export{t as WindowMinimizeIcon};
1
+ import*as C from"react";import{IconBase as e}from"primereact/iconbase";function r(){return r=Object.assign?Object.assign.bind():function(C){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(C[n]=r[n])}return C},r.apply(null,arguments)}var n=C.memo(C.forwardRef((function(n,t){var i=e.getPTI(n);return C.createElement("svg",r({ref:t,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z",fill:"currentColor"}))})));n.displayName="WindowMinimizeIcon";export{n as WindowMinimizeIcon};
@@ -24,21 +24,16 @@ this.primereact.icons.windowminimize = (function (exports, React, iconbase) {
24
24
  var React__namespace = /*#__PURE__*/_interopNamespace(React);
25
25
 
26
26
  function _extends() {
27
- _extends = Object.assign ? Object.assign.bind() : function (target) {
28
- for (var i = 1; i < arguments.length; i++) {
29
- var source = arguments[i];
30
- for (var key in source) {
31
- if (Object.prototype.hasOwnProperty.call(source, key)) {
32
- target[key] = source[key];
33
- }
34
- }
27
+ return _extends = Object.assign ? Object.assign.bind() : function (n) {
28
+ for (var e = 1; e < arguments.length; e++) {
29
+ var t = arguments[e];
30
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
35
31
  }
36
- return target;
37
- };
38
- return _extends.apply(this, arguments);
32
+ return n;
33
+ }, _extends.apply(null, arguments);
39
34
  }
40
35
 
41
- var WindowMinimizeIcon = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
36
+ var WindowMinimizeIcon = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
42
37
  var pti = iconbase.IconBase.getPTI(inProps);
43
38
  return /*#__PURE__*/React__namespace.createElement("svg", _extends({
44
39
  ref: ref,
@@ -1 +1 @@
1
- this.primereact=this.primereact||{},this.primereact.icons=this.primereact.icons||{},this.primereact.icons.windowminimize=function(e,t,r){"use strict";function i(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var n=i(t);function C(){return C=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},C.apply(this,arguments)}var c=n.memo(n.forwardRef((function(e,t){var i=r.IconBase.getPTI(e);return n.createElement("svg",C({ref:t,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z",fill:"currentColor"}))})));return c.displayName="WindowMinimizeIcon",e.WindowMinimizeIcon=c,Object.defineProperty(e,"__esModule",{value:!0}),e}({},React,primereact.iconbase);
1
+ this.primereact=this.primereact||{},this.primereact.icons=this.primereact.icons||{},this.primereact.icons.windowminimize=function(e,r,t){"use strict";function n(e){if(e&&e.__esModule)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var C=n(r);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},i.apply(null,arguments)}var c=C.memo(C.forwardRef((function(e,r){var n=t.IconBase.getPTI(e);return C.createElement("svg",i({ref:r,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.8 0H2.2C1.61652 0 1.05694 0.231785 0.644365 0.644365C0.231785 1.05694 0 1.61652 0 2.2V7C0 7.15913 0.063214 7.31174 0.175736 7.42426C0.288258 7.53679 0.44087 7.6 0.6 7.6C0.75913 7.6 0.911742 7.53679 1.02426 7.42426C1.13679 7.31174 1.2 7.15913 1.2 7V2.2C1.2 1.93478 1.30536 1.68043 1.49289 1.49289C1.68043 1.30536 1.93478 1.2 2.2 1.2H11.8C12.0652 1.2 12.3196 1.30536 12.5071 1.49289C12.6946 1.68043 12.8 1.93478 12.8 2.2V11.8C12.8 12.0652 12.6946 12.3196 12.5071 12.5071C12.3196 12.6946 12.0652 12.8 11.8 12.8H7C6.84087 12.8 6.68826 12.8632 6.57574 12.9757C6.46321 13.0883 6.4 13.2409 6.4 13.4C6.4 13.5591 6.46321 13.7117 6.57574 13.8243C6.68826 13.9368 6.84087 14 7 14H11.8C12.3835 14 12.9431 13.7682 13.3556 13.3556C13.7682 12.9431 14 12.3835 14 11.8V2.2C14 1.61652 13.7682 1.05694 13.3556 0.644365C12.9431 0.231785 12.3835 0 11.8 0ZM6.368 7.952C6.44137 7.98326 6.52025 7.99958 6.6 8H9.8C9.95913 8 10.1117 7.93678 10.2243 7.82426C10.3368 7.71174 10.4 7.55913 10.4 7.4C10.4 7.24087 10.3368 7.08826 10.2243 6.97574C10.1117 6.86321 9.95913 6.8 9.8 6.8H8.048L10.624 4.224C10.73 4.11026 10.7877 3.95982 10.7849 3.80438C10.7822 3.64894 10.7192 3.50063 10.6093 3.3907C10.4994 3.28077 10.3511 3.2178 10.1956 3.21506C10.0402 3.21232 9.88974 3.27002 9.776 3.376L7.2 5.952V4.2C7.2 4.04087 7.13679 3.88826 7.02426 3.77574C6.91174 3.66321 6.75913 3.6 6.6 3.6C6.44087 3.6 6.28826 3.66321 6.17574 3.77574C6.06321 3.88826 6 4.04087 6 4.2V7.4C6.00042 7.47975 6.01674 7.55862 6.048 7.632C6.07656 7.70442 6.11971 7.7702 6.17475 7.82524C6.2298 7.88029 6.29558 7.92344 6.368 7.952ZM1.4 8.80005H3.8C4.17066 8.80215 4.52553 8.95032 4.78763 9.21242C5.04973 9.47452 5.1979 9.82939 5.2 10.2V12.6C5.1979 12.9707 5.04973 13.3256 4.78763 13.5877C4.52553 13.8498 4.17066 13.9979 3.8 14H1.4C1.02934 13.9979 0.674468 13.8498 0.412371 13.5877C0.150274 13.3256 0.00210008 12.9707 0 12.6V10.2C0.00210008 9.82939 0.150274 9.47452 0.412371 9.21242C0.674468 8.95032 1.02934 8.80215 1.4 8.80005ZM3.94142 12.7415C3.97893 12.704 4 12.6531 4 12.6V10.2C4 10.147 3.97893 10.0961 3.94142 10.0586C3.90391 10.0211 3.85304 10 3.8 10H1.4C1.34696 10 1.29609 10.0211 1.25858 10.0586C1.22107 10.0961 1.2 10.147 1.2 10.2V12.6C1.2 12.6531 1.22107 12.704 1.25858 12.7415C1.29609 12.779 1.34696 12.8 1.4 12.8H3.8C3.85304 12.8 3.90391 12.779 3.94142 12.7415Z",fill:"currentColor"}))})));return c.displayName="WindowMinimizeIcon",e.WindowMinimizeIcon=c,Object.defineProperty(e,"__esModule",{value:!0}),e}({},React,primereact.iconbase);
@@ -42,18 +42,13 @@ var React__namespace = /*#__PURE__*/_interopNamespace(React);
42
42
  var PrimeReact__default = /*#__PURE__*/_interopDefaultLegacy(PrimeReact);
43
43
 
44
44
  function _extends() {
45
- _extends = Object.assign ? Object.assign.bind() : function (target) {
46
- for (var i = 1; i < arguments.length; i++) {
47
- var source = arguments[i];
48
- for (var key in source) {
49
- if (Object.prototype.hasOwnProperty.call(source, key)) {
50
- target[key] = source[key];
51
- }
52
- }
45
+ return _extends = Object.assign ? Object.assign.bind() : function (n) {
46
+ for (var e = 1; e < arguments.length; e++) {
47
+ var t = arguments[e];
48
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
53
49
  }
54
- return target;
55
- };
56
- return _extends.apply(this, arguments);
50
+ return n;
51
+ }, _extends.apply(null, arguments);
57
52
  }
58
53
 
59
54
  function _typeof(o) {
@@ -66,39 +61,33 @@ function _typeof(o) {
66
61
  }, _typeof(o);
67
62
  }
68
63
 
69
- function _toPrimitive(input, hint) {
70
- if (_typeof(input) !== "object" || input === null) return input;
71
- var prim = input[Symbol.toPrimitive];
72
- if (prim !== undefined) {
73
- var res = prim.call(input, hint || "default");
74
- if (_typeof(res) !== "object") return res;
64
+ function toPrimitive(t, r) {
65
+ if ("object" != _typeof(t) || !t) return t;
66
+ var e = t[Symbol.toPrimitive];
67
+ if (void 0 !== e) {
68
+ var i = e.call(t, r || "default");
69
+ if ("object" != _typeof(i)) return i;
75
70
  throw new TypeError("@@toPrimitive must return a primitive value.");
76
71
  }
77
- return (hint === "string" ? String : Number)(input);
72
+ return ("string" === r ? String : Number)(t);
78
73
  }
79
74
 
80
- function _toPropertyKey(arg) {
81
- var key = _toPrimitive(arg, "string");
82
- return _typeof(key) === "symbol" ? key : String(key);
75
+ function toPropertyKey(t) {
76
+ var i = toPrimitive(t, "string");
77
+ return "symbol" == _typeof(i) ? i : i + "";
83
78
  }
84
79
 
85
- function _defineProperty(obj, key, value) {
86
- key = _toPropertyKey(key);
87
- if (key in obj) {
88
- Object.defineProperty(obj, key, {
89
- value: value,
90
- enumerable: true,
91
- configurable: true,
92
- writable: true
93
- });
94
- } else {
95
- obj[key] = value;
96
- }
97
- return obj;
80
+ function _defineProperty(e, r, t) {
81
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
82
+ value: t,
83
+ enumerable: !0,
84
+ configurable: !0,
85
+ writable: !0
86
+ }) : e[r] = t, e;
98
87
  }
99
88
 
100
- function _arrayWithHoles(arr) {
101
- if (Array.isArray(arr)) return arr;
89
+ function _arrayWithHoles(r) {
90
+ if (Array.isArray(r)) return r;
102
91
  }
103
92
 
104
93
  function _iterableToArrayLimit(r, l) {
@@ -129,30 +118,29 @@ function _iterableToArrayLimit(r, l) {
129
118
  }
130
119
  }
131
120
 
132
- function _arrayLikeToArray(arr, len) {
133
- if (len == null || len > arr.length) len = arr.length;
134
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
135
- return arr2;
121
+ function _arrayLikeToArray(r, a) {
122
+ (null == a || a > r.length) && (a = r.length);
123
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
124
+ return n;
136
125
  }
137
126
 
138
- function _unsupportedIterableToArray(o, minLen) {
139
- if (!o) return;
140
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
141
- var n = Object.prototype.toString.call(o).slice(8, -1);
142
- if (n === "Object" && o.constructor) n = o.constructor.name;
143
- if (n === "Map" || n === "Set") return Array.from(o);
144
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
127
+ function _unsupportedIterableToArray(r, a) {
128
+ if (r) {
129
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
130
+ var t = {}.toString.call(r).slice(8, -1);
131
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
132
+ }
145
133
  }
146
134
 
147
135
  function _nonIterableRest() {
148
136
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
149
137
  }
150
138
 
151
- function _slicedToArray(arr, i) {
152
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
139
+ function _slicedToArray(r, e) {
140
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
153
141
  }
154
142
 
155
- var DownloadIcon = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
143
+ var DownloadIcon = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
156
144
  var pti = iconbase.IconBase.getPTI(inProps);
157
145
  return /*#__PURE__*/React__namespace.createElement("svg", _extends({
158
146
  ref: ref,
@@ -241,7 +229,7 @@ var ImageBase = componentbase.ComponentBase.extend({
241
229
 
242
230
  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; }
243
231
  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; }
244
- var Image = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
232
+ var Image = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
245
233
  var mergeProps = hooks.useMergeProps();
246
234
  var context = React__namespace.useContext(PrimeReact.PrimeReactContext);
247
235
  var props = ImageBase.getProps(inProps, context);
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("primereact/api"),n=require("primereact/componentbase"),o=require("primereact/csstransition"),r=require("primereact/hooks"),a=require("primereact/iconbase"),i=require("primereact/icons/eye"),l=require("primereact/icons/refresh"),c=require("primereact/icons/searchminus"),s=require("primereact/icons/searchplus"),u=require("primereact/icons/times"),p=require("primereact/icons/undo"),m=require("primereact/portal"),f=require("primereact/utils");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function g(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var b=g(e),y=d(t);function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},v.apply(this,arguments)}function w(e){return w="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},w(e)}function I(e,t){if("object"!==w(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==w(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function h(e){var t=I(e,"string");return"symbol"===w(t)?t:String(t)}function O(e){if(Array.isArray(e))return e}function C(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=a.call(n)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw r}}return l}}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function S(e,t){if(e){if("string"==typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?E(e,t):void 0}}function P(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function j(e,t){return O(e)||C(e,t)||S(e,t)||P()}var x=b.memo(b.forwardRef((function(e,t){var n=a.IconBase.getPTI(e);return b.createElement("svg",v({ref:t,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),b.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.0118 10C6.93296 10.0003 6.85484 9.98495 6.78202 9.95477C6.7091 9.92454 6.64297 9.88008 6.58749 9.82399L3.38288 6.62399C3.27675 6.51025 3.21897 6.35982 3.22171 6.20438C3.22446 6.04893 3.28752 5.90063 3.39761 5.7907C3.5077 5.68077 3.65622 5.6178 3.81188 5.61505C3.96755 5.61231 4.1182 5.67001 4.23211 5.77599L6.41125 7.95201V0.6C6.41125 0.44087 6.47456 0.288258 6.58724 0.175736C6.69993 0.063214 6.85276 0 7.01212 0C7.17148 0 7.32431 0.063214 7.43699 0.175736C7.54968 0.288258 7.61298 0.44087 7.61298 0.6V7.95198L9.7921 5.77599C9.90601 5.67001 10.0567 5.61231 10.2123 5.61505C10.368 5.6178 10.5165 5.68077 10.6266 5.7907C10.7367 5.90063 10.7997 6.04893 10.8025 6.20438C10.8052 6.35982 10.7475 6.51025 10.6413 6.62399L7.43671 9.82399C7.38124 9.88008 7.3151 9.92454 7.24219 9.95477C7.16938 9.98495 7.09127 10.0003 7.01244 10C7.01233 10 7.01223 10 7.01212 10C7.01201 10 7.0119 10 7.0118 10ZM13.45 13.3115C13.0749 13.7235 12.5521 13.971 11.9952 14H2.02889C1.75106 13.9887 1.47819 13.9228 1.2259 13.806C0.973606 13.6893 0.74684 13.524 0.558578 13.3197C0.370316 13.1153 0.224251 12.8759 0.128742 12.6152C0.0332333 12.3544 -0.00984502 12.0774 0.00197194 11.8V9.39999C0.00197194 9.24086 0.065277 9.08825 0.177961 8.97572C0.290645 8.8632 0.443477 8.79999 0.602836 8.79999C0.762195 8.79999 0.915027 8.8632 1.02771 8.97572C1.1404 9.08825 1.2037 9.24086 1.2037 9.39999V11.8C1.18301 12.0375 1.25469 12.2739 1.40385 12.4601C1.55302 12.6463 1.76823 12.768 2.00485 12.8H11.9952C12.2318 12.768 12.4471 12.6463 12.5962 12.4601C12.7454 12.2739 12.8171 12.0375 12.7964 11.8V9.39999C12.7964 9.24086 12.8597 9.08825 12.9724 8.97572C13.085 8.8632 13.2379 8.79999 13.3972 8.79999C13.5566 8.79999 13.7094 8.8632 13.8221 8.97572C13.9348 9.08825 13.9981 9.24086 13.9981 9.39999V11.8C14.0221 12.3563 13.8251 12.8995 13.45 13.3115Z",fill:"currentColor"}))})));x.displayName="DownloadIcon";var k=n.ComponentBase.extend({defaultProps:{__TYPE:"Image",alt:null,className:null,closeIcon:null,crossOrigin:null,decoding:null,downloadIcon:null,downloadable:!1,height:null,imageClassName:null,imageStyle:null,indicatorIcon:null,loading:null,onError:null,onHide:null,onShow:null,preview:!1,referrerPolicy:null,rotateLeftIcon:null,rotateRightIcon:null,src:null,template:null,useMap:null,width:null,zoomInIcon:null,zoomOutIcon:null,zoomSrc:null,children:void 0,closeOnEscape:!0},css:{classes:{button:"p-image-preview-indicator",mask:"p-image-mask p-component-overlay p-component-overlay-enter",toolbar:"p-image-toolbar",downloadButton:"p-image-action p-link",rotateRightButton:"p-image-action p-link",rotateLeftButton:"p-image-action p-link",zoomOutButton:"p-image-action p-link",zoomInButton:"p-image-action p-link",closeButton:"p-image-action p-link",preview:"p-image-preview",icon:"p-image-preview-icon",root:function(e){return f.classNames("p-image p-component",{"p-image-preview-container":e.props.preview})},transition:"p-image-preview"},styles:"\n@layer primereact {\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 .3s;\n border: none;\n padding: 0;\n }\n \n .p-image-preview-icon {\n font-size: 1.5rem;\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-preview {\n transition: transform .15s;\n max-width: 100vw;\n max-height: 100vh;\n width: 100%;\n height: 100%;\n }\n \n .p-image-preview-enter {\n opacity: 0;\n transform: scale(0.7);\n }\n \n .p-image-preview-enter-active {\n opacity: 1;\n transform: scale(1);\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n }\n \n .p-image-preview-enter-done {\n transform: none;\n }\n \n .p-image-preview-exit {\n opacity: 1;\n }\n \n .p-image-preview-exit-active {\n opacity: 0;\n transform: scale(0.7);\n transition: all 150ms cubic-bezier(0.4, 0.0, 0.2, 1);\n }\n}\n",inlineStyles:{preview:function(e){return{transform:"rotate("+e.rotateState+"deg) scale("+e.scaleState+")"}}}}});function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){var o,r,a;o=e,a=n[t],(r=h(r=t))in o?Object.defineProperty(o,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):o[r]=a})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var B=b.memo(b.forwardRef((function(e,a){var d=r.useMergeProps(),g=b.useContext(t.PrimeReactContext),w=k.getProps(e,g),I=j(b.useState(!1),2),h=I[0],O=I[1],C=j(b.useState(!1),2),E=C[0],S=C[1],P=j(b.useState(0),2),N=P[0],B=P[1],R=j(b.useState(1),2),U=R[0],D=R[1],q=b.useRef(null),M=b.useRef(null),H=b.useRef(null),L=b.useRef(null),T=b.useRef(null),A=U<=.5,_=U>=1.5,J=k.setMetaData({props:w,state:{maskVisible:h,previewVisible:E,rotate:N,scale:U}}),V=J.ptm,X=J.cx,Z=J.sx,G=J.isUnstyled;r.useGlobalOnEscapeKey({callback:function(){Y()},when:w.closeOnEscape&&h,priority:[r.ESC_KEY_HANDLING_PRIORITIES.IMAGE,0]}),n.useHandleStyle(k.css.styles,G,{name:"image"});var K=function(){w.preview&&(O(!0),f.DomHandler.blockBodyScroll(),setTimeout((function(){S(!0)}),25))},Y=function(){S(!1),f.DomHandler.unblockBodyScroll(),B(0),D(1)},F=function(e){[e.target.classList].includes("p-image-action")||e.target.closest(".p-image-action")||Y()},$=function(e){if("Escape"===e.code)Y(),setTimeout((function(){f.DomHandler.focus(T.current)}),200),e.preventDefault()},Q=function(){f.DomHandler.saveAs({name:w.alt,src:w.src})},W=function(e){e.stopPropagation(),B((function(e){return e+90}))},ee=function(e){e.stopPropagation(),B((function(e){return e-90}))},te=function(e){e.stopPropagation(),D((function(e){return _?e:e+.1}))},ne=function(e){e.stopPropagation(),D((function(e){return A?e:e-.1}))},oe=function(){f.ZIndexUtils.set("modal",H.current,g&&g.autoZIndex||y.default.autoZIndex,g&&g.zIndex.modal||y.default.zIndex.modal)},re=function(){w.onShow&&w.onShow()},ae=function(){!G()&&f.DomHandler.addClass(H.current,"p-component-overlay-leave")},ie=function(){w.onHide&&w.onHide()},le=function(){f.ZIndexUtils.clear(H.current),O(!1)};r.useUnmountEffect((function(){H.current&&f.ZIndexUtils.clear(H.current)}));b.useImperativeHandle(a,(function(){return{props:w,show:K,hide:Y,getElement:function(){return q.current},getImage:function(){return M.current}}}));var ce,se,ue=w.src,pe=w.alt,me=w.width,fe=w.height,de=w.crossOrigin,ge=w.referrerPolicy,be=w.useMap,ye=w.loading,ve=function(){var e=w.downloadable,n=w.alt,r=w.crossOrigin,a=w.referrerPolicy,i=w.useMap,m=w.loading,g=d(V("downloadIcon")),y=d(V("rotateRightIcon")),I=d(V("rotateLeftIcon")),O=d(V("zoomOutIcon")),C=d(V("zoomInIcon")),S=d(V("closeIcon")),P=f.IconUtils.getJSXIcon(w.downloadIcon||b.createElement(x,null),z({},g),{props:w}),j=f.IconUtils.getJSXIcon(w.rotateRightIcon||b.createElement(l.RefreshIcon,null),z({},y),{props:w}),k=f.IconUtils.getJSXIcon(w.rotateLeftIcon||b.createElement(p.UndoIcon,null),z({},I),{props:w}),B=f.IconUtils.getJSXIcon(w.zoomOutIcon||b.createElement(c.SearchMinusIcon,null),z({},O),{props:w}),R=f.IconUtils.getJSXIcon(w.zoomInIcon||b.createElement(s.SearchPlusIcon,null),z({},C),{props:w}),D=f.IconUtils.getJSXIcon(w.closeIcon||b.createElement(u.TimesIcon,null),z({},S),{props:w}),q=d({ref:H,role:"dialog",className:X("mask"),"aria-modal":h,onClick:F,onKeyDown:$},V("mask")),M=d({className:X("toolbar")},V("toolbar")),T=d({className:X("downloadButton"),onPointerUp:Q,type:"button"},V("downloadButton")),J=d({className:X("rotateRightButton"),onClick:W,type:"button","aria-label":t.localeOption("aria")?t.localeOption("aria").rotateRight:void 0,"data-pc-group-section":"action"},V("rotateRightButton")),G=d({className:X("rotateLeftButton"),onClick:ee,type:"button","aria-label":t.localeOption("aria")?t.localeOption("aria").rotateLeft:void 0,"data-pc-group-section":"action"},V("rotateLeftButton")),K=d({className:f.classNames(X("zoomOutButton"),{"p-disabled":A}),style:{pointerEvents:"auto"},onClick:ne,type:"button",disabled:A,"aria-label":t.localeOption("aria")?t.localeOption("aria").zoomOut:void 0,"data-pc-group-section":"action"},V("zoomOutButton")),ce=d({className:f.classNames(X("zoomInButton"),{"p-disabled":_}),style:{pointerEvents:"auto"},onClick:te,type:"button",disabled:_,"aria-label":t.localeOption("aria")?t.localeOption("aria").zoomIn:void 0,"data-pc-group-section":"action"},V("zoomInButton")),se=d({className:X("closeButton"),type:"button",onClick:Y,"aria-label":t.localeOption("aria")?t.localeOption("aria").close:void 0,autoFocus:!0,"data-pc-group-section":"action"},V("closeButton")),ue=d({src:w.zoomSrc||w.src,className:X("preview"),style:Z("preview",{rotateState:N,scaleState:U}),crossOrigin:r,referrerPolicy:a,useMap:i,loading:m},V("preview")),pe=d({ref:L},V("previewContainer")),me=d({classNames:X("transition"),in:E,timeout:{enter:150,exit:150},unmountOnExit:!0,onEntering:oe,onEntered:re,onExit:ae,onExiting:ie,onExited:le},V("transition"));return b.createElement("div",q,b.createElement("div",M,e&&b.createElement("button",T,P),b.createElement("button",J,j),b.createElement("button",G,k),b.createElement("button",K,B),b.createElement("button",ce,R),b.createElement("button",se,D)),b.createElement(o.CSSTransition,v({nodeRef:L},me),b.createElement("div",pe,b.createElement("img",v({alt:n},ue)))))}(),we=d({className:X("icon")},V("icon")),Ie=f.IconUtils.getJSXIcon(w.indicatorIcon||b.createElement(i.EyeIcon,we),z({},we),{props:w}),he=w.template?f.ObjectUtils.getJSXElement(w.template,w):Ie,Oe=(ce=t.localeOption("aria")?t.localeOption("aria").zoomImage:void 0,se=d({ref:T,className:X("button"),onClick:K,type:"button","aria-label":ce},V("button")),w.preview?b.createElement("button",se,he):null),Ce=d({ref:M,src:ue,className:w.imageClassName,width:me,height:fe,crossOrigin:de,referrerPolicy:ge,useMap:be,loading:ye,style:w.imageStyle,onError:w.onError},V("image")),Ee=w.src&&b.createElement("img",v({},Ce,{alt:pe})),Se=d({ref:q,className:f.classNames(w.className,X("root"))},k.getOtherProps(w),V("root"));return b.createElement("span",Se,Ee,Oe,h&&b.createElement(m.Portal,{element:ve,appendTo:document.body}))})));B.displayName="Image",exports.Image=B;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("primereact/api"),n=require("primereact/componentbase"),o=require("primereact/csstransition"),r=require("primereact/hooks"),a=require("primereact/iconbase"),i=require("primereact/icons/eye"),l=require("primereact/icons/refresh"),c=require("primereact/icons/searchminus"),s=require("primereact/icons/searchplus"),u=require("primereact/icons/times"),p=require("primereact/icons/undo"),m=require("primereact/portal"),f=require("primereact/utils");function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function g(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var b=g(e),y=d(t);function v(){return v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},v.apply(null,arguments)}function w(e){return w="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},w(e)}function I(e,t){if("object"!=w(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=w(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function h(e){var t=I(e,"string");return"symbol"==w(t)?t:t+""}function O(e,t,n){return(t=h(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C(e){if(Array.isArray(e))return e}function E(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,a,i,l=[],c=!0,s=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=a.call(n)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw r}}return l}}function S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function P(e,t){if(e){if("string"==typeof e)return S(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?S(e,t):void 0}}function j(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function x(e,t){return C(e)||E(e,t)||P(e,t)||j()}var k=b.memo(b.forwardRef((function(e,t){var n=a.IconBase.getPTI(e);return b.createElement("svg",v({ref:t,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n),b.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.0118 10C6.93296 10.0003 6.85484 9.98495 6.78202 9.95477C6.7091 9.92454 6.64297 9.88008 6.58749 9.82399L3.38288 6.62399C3.27675 6.51025 3.21897 6.35982 3.22171 6.20438C3.22446 6.04893 3.28752 5.90063 3.39761 5.7907C3.5077 5.68077 3.65622 5.6178 3.81188 5.61505C3.96755 5.61231 4.1182 5.67001 4.23211 5.77599L6.41125 7.95201V0.6C6.41125 0.44087 6.47456 0.288258 6.58724 0.175736C6.69993 0.063214 6.85276 0 7.01212 0C7.17148 0 7.32431 0.063214 7.43699 0.175736C7.54968 0.288258 7.61298 0.44087 7.61298 0.6V7.95198L9.7921 5.77599C9.90601 5.67001 10.0567 5.61231 10.2123 5.61505C10.368 5.6178 10.5165 5.68077 10.6266 5.7907C10.7367 5.90063 10.7997 6.04893 10.8025 6.20438C10.8052 6.35982 10.7475 6.51025 10.6413 6.62399L7.43671 9.82399C7.38124 9.88008 7.3151 9.92454 7.24219 9.95477C7.16938 9.98495 7.09127 10.0003 7.01244 10C7.01233 10 7.01223 10 7.01212 10C7.01201 10 7.0119 10 7.0118 10ZM13.45 13.3115C13.0749 13.7235 12.5521 13.971 11.9952 14H2.02889C1.75106 13.9887 1.47819 13.9228 1.2259 13.806C0.973606 13.6893 0.74684 13.524 0.558578 13.3197C0.370316 13.1153 0.224251 12.8759 0.128742 12.6152C0.0332333 12.3544 -0.00984502 12.0774 0.00197194 11.8V9.39999C0.00197194 9.24086 0.065277 9.08825 0.177961 8.97572C0.290645 8.8632 0.443477 8.79999 0.602836 8.79999C0.762195 8.79999 0.915027 8.8632 1.02771 8.97572C1.1404 9.08825 1.2037 9.24086 1.2037 9.39999V11.8C1.18301 12.0375 1.25469 12.2739 1.40385 12.4601C1.55302 12.6463 1.76823 12.768 2.00485 12.8H11.9952C12.2318 12.768 12.4471 12.6463 12.5962 12.4601C12.7454 12.2739 12.8171 12.0375 12.7964 11.8V9.39999C12.7964 9.24086 12.8597 9.08825 12.9724 8.97572C13.085 8.8632 13.2379 8.79999 13.3972 8.79999C13.5566 8.79999 13.7094 8.8632 13.8221 8.97572C13.9348 9.08825 13.9981 9.24086 13.9981 9.39999V11.8C14.0221 12.3563 13.8251 12.8995 13.45 13.3115Z",fill:"currentColor"}))})));k.displayName="DownloadIcon";var N=n.ComponentBase.extend({defaultProps:{__TYPE:"Image",alt:null,className:null,closeIcon:null,crossOrigin:null,decoding:null,downloadIcon:null,downloadable:!1,height:null,imageClassName:null,imageStyle:null,indicatorIcon:null,loading:null,onError:null,onHide:null,onShow:null,preview:!1,referrerPolicy:null,rotateLeftIcon:null,rotateRightIcon:null,src:null,template:null,useMap:null,width:null,zoomInIcon:null,zoomOutIcon:null,zoomSrc:null,children:void 0,closeOnEscape:!0},css:{classes:{button:"p-image-preview-indicator",mask:"p-image-mask p-component-overlay p-component-overlay-enter",toolbar:"p-image-toolbar",downloadButton:"p-image-action p-link",rotateRightButton:"p-image-action p-link",rotateLeftButton:"p-image-action p-link",zoomOutButton:"p-image-action p-link",zoomInButton:"p-image-action p-link",closeButton:"p-image-action p-link",preview:"p-image-preview",icon:"p-image-preview-icon",root:function(e){return f.classNames("p-image p-component",{"p-image-preview-container":e.props.preview})},transition:"p-image-preview"},styles:"\n@layer primereact {\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 .3s;\n border: none;\n padding: 0;\n }\n \n .p-image-preview-icon {\n font-size: 1.5rem;\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-preview {\n transition: transform .15s;\n max-width: 100vw;\n max-height: 100vh;\n width: 100%;\n height: 100%;\n }\n \n .p-image-preview-enter {\n opacity: 0;\n transform: scale(0.7);\n }\n \n .p-image-preview-enter-active {\n opacity: 1;\n transform: scale(1);\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n }\n \n .p-image-preview-enter-done {\n transform: none;\n }\n \n .p-image-preview-exit {\n opacity: 1;\n }\n \n .p-image-preview-exit-active {\n opacity: 0;\n transform: scale(0.7);\n transition: all 150ms cubic-bezier(0.4, 0.0, 0.2, 1);\n }\n}\n",inlineStyles:{preview:function(e){return{transform:"rotate("+e.rotateState+"deg) scale("+e.scaleState+")"}}}}});function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?z(Object(n),!0).forEach((function(t){O(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var R=b.memo(b.forwardRef((function(e,a){var d=r.useMergeProps(),g=b.useContext(t.PrimeReactContext),w=N.getProps(e,g),I=x(b.useState(!1),2),h=I[0],O=I[1],C=x(b.useState(!1),2),E=C[0],S=C[1],P=x(b.useState(0),2),j=P[0],z=P[1],R=x(b.useState(1),2),U=R[0],D=R[1],q=b.useRef(null),M=b.useRef(null),H=b.useRef(null),L=b.useRef(null),T=b.useRef(null),A=U<=.5,_=U>=1.5,J=N.setMetaData({props:w,state:{maskVisible:h,previewVisible:E,rotate:j,scale:U}}),V=J.ptm,X=J.cx,Z=J.sx,G=J.isUnstyled;r.useGlobalOnEscapeKey({callback:function(){Y()},when:w.closeOnEscape&&h,priority:[r.ESC_KEY_HANDLING_PRIORITIES.IMAGE,0]}),n.useHandleStyle(N.css.styles,G,{name:"image"});var K=function(){w.preview&&(O(!0),f.DomHandler.blockBodyScroll(),setTimeout((function(){S(!0)}),25))},Y=function(){S(!1),f.DomHandler.unblockBodyScroll(),z(0),D(1)},F=function(e){[e.target.classList].includes("p-image-action")||e.target.closest(".p-image-action")||Y()},$=function(e){if("Escape"===e.code)Y(),setTimeout((function(){f.DomHandler.focus(T.current)}),200),e.preventDefault()},Q=function(){f.DomHandler.saveAs({name:w.alt,src:w.src})},W=function(e){e.stopPropagation(),z((function(e){return e+90}))},ee=function(e){e.stopPropagation(),z((function(e){return e-90}))},te=function(e){e.stopPropagation(),D((function(e){return _?e:e+.1}))},ne=function(e){e.stopPropagation(),D((function(e){return A?e:e-.1}))},oe=function(){f.ZIndexUtils.set("modal",H.current,g&&g.autoZIndex||y.default.autoZIndex,g&&g.zIndex.modal||y.default.zIndex.modal)},re=function(){w.onShow&&w.onShow()},ae=function(){!G()&&f.DomHandler.addClass(H.current,"p-component-overlay-leave")},ie=function(){w.onHide&&w.onHide()},le=function(){f.ZIndexUtils.clear(H.current),O(!1)};r.useUnmountEffect((function(){H.current&&f.ZIndexUtils.clear(H.current)}));b.useImperativeHandle(a,(function(){return{props:w,show:K,hide:Y,getElement:function(){return q.current},getImage:function(){return M.current}}}));var ce,se,ue=w.src,pe=w.alt,me=w.width,fe=w.height,de=w.crossOrigin,ge=w.referrerPolicy,be=w.useMap,ye=w.loading,ve=function(){var e=w.downloadable,n=w.alt,r=w.crossOrigin,a=w.referrerPolicy,i=w.useMap,m=w.loading,g=d(V("downloadIcon")),y=d(V("rotateRightIcon")),I=d(V("rotateLeftIcon")),O=d(V("zoomOutIcon")),C=d(V("zoomInIcon")),S=d(V("closeIcon")),P=f.IconUtils.getJSXIcon(w.downloadIcon||b.createElement(k,null),B({},g),{props:w}),x=f.IconUtils.getJSXIcon(w.rotateRightIcon||b.createElement(l.RefreshIcon,null),B({},y),{props:w}),N=f.IconUtils.getJSXIcon(w.rotateLeftIcon||b.createElement(p.UndoIcon,null),B({},I),{props:w}),z=f.IconUtils.getJSXIcon(w.zoomOutIcon||b.createElement(c.SearchMinusIcon,null),B({},O),{props:w}),R=f.IconUtils.getJSXIcon(w.zoomInIcon||b.createElement(s.SearchPlusIcon,null),B({},C),{props:w}),D=f.IconUtils.getJSXIcon(w.closeIcon||b.createElement(u.TimesIcon,null),B({},S),{props:w}),q=d({ref:H,role:"dialog",className:X("mask"),"aria-modal":h,onClick:F,onKeyDown:$},V("mask")),M=d({className:X("toolbar")},V("toolbar")),T=d({className:X("downloadButton"),onPointerUp:Q,type:"button"},V("downloadButton")),J=d({className:X("rotateRightButton"),onClick:W,type:"button","aria-label":t.localeOption("aria")?t.localeOption("aria").rotateRight:void 0,"data-pc-group-section":"action"},V("rotateRightButton")),G=d({className:X("rotateLeftButton"),onClick:ee,type:"button","aria-label":t.localeOption("aria")?t.localeOption("aria").rotateLeft:void 0,"data-pc-group-section":"action"},V("rotateLeftButton")),K=d({className:f.classNames(X("zoomOutButton"),{"p-disabled":A}),style:{pointerEvents:"auto"},onClick:ne,type:"button",disabled:A,"aria-label":t.localeOption("aria")?t.localeOption("aria").zoomOut:void 0,"data-pc-group-section":"action"},V("zoomOutButton")),ce=d({className:f.classNames(X("zoomInButton"),{"p-disabled":_}),style:{pointerEvents:"auto"},onClick:te,type:"button",disabled:_,"aria-label":t.localeOption("aria")?t.localeOption("aria").zoomIn:void 0,"data-pc-group-section":"action"},V("zoomInButton")),se=d({className:X("closeButton"),type:"button",onClick:Y,"aria-label":t.localeOption("aria")?t.localeOption("aria").close:void 0,autoFocus:!0,"data-pc-group-section":"action"},V("closeButton")),ue=d({src:w.zoomSrc||w.src,className:X("preview"),style:Z("preview",{rotateState:j,scaleState:U}),crossOrigin:r,referrerPolicy:a,useMap:i,loading:m},V("preview")),pe=d({ref:L},V("previewContainer")),me=d({classNames:X("transition"),in:E,timeout:{enter:150,exit:150},unmountOnExit:!0,onEntering:oe,onEntered:re,onExit:ae,onExiting:ie,onExited:le},V("transition"));return b.createElement("div",q,b.createElement("div",M,e&&b.createElement("button",T,P),b.createElement("button",J,x),b.createElement("button",G,N),b.createElement("button",K,z),b.createElement("button",ce,R),b.createElement("button",se,D)),b.createElement(o.CSSTransition,v({nodeRef:L},me),b.createElement("div",pe,b.createElement("img",v({alt:n},ue)))))}(),we=d({className:X("icon")},V("icon")),Ie=f.IconUtils.getJSXIcon(w.indicatorIcon||b.createElement(i.EyeIcon,we),B({},we),{props:w}),he=w.template?f.ObjectUtils.getJSXElement(w.template,w):Ie,Oe=(ce=t.localeOption("aria")?t.localeOption("aria").zoomImage:void 0,se=d({ref:T,className:X("button"),onClick:K,type:"button","aria-label":ce},V("button")),w.preview?b.createElement("button",se,he):null),Ce=d({ref:M,src:ue,className:w.imageClassName,width:me,height:fe,crossOrigin:de,referrerPolicy:ge,useMap:be,loading:ye,style:w.imageStyle,onError:w.onError},V("image")),Ee=w.src&&b.createElement("img",v({},Ce,{alt:pe})),Se=d({ref:q,className:f.classNames(w.className,X("root"))},N.getOtherProps(w),V("root"));return b.createElement("span",Se,Ee,Oe,h&&b.createElement(m.Portal,{element:ve,appendTo:document.body}))})));R.displayName="Image",exports.Image=R;
@@ -15,18 +15,13 @@ import { Portal } from 'primereact/portal';
15
15
  import { classNames, DomHandler, ZIndexUtils, IconUtils, ObjectUtils } from 'primereact/utils';
16
16
 
17
17
  function _extends() {
18
- _extends = Object.assign ? Object.assign.bind() : function (target) {
19
- for (var i = 1; i < arguments.length; i++) {
20
- var source = arguments[i];
21
- for (var key in source) {
22
- if (Object.prototype.hasOwnProperty.call(source, key)) {
23
- target[key] = source[key];
24
- }
25
- }
18
+ return _extends = Object.assign ? Object.assign.bind() : function (n) {
19
+ for (var e = 1; e < arguments.length; e++) {
20
+ var t = arguments[e];
21
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
26
22
  }
27
- return target;
28
- };
29
- return _extends.apply(this, arguments);
23
+ return n;
24
+ }, _extends.apply(null, arguments);
30
25
  }
31
26
 
32
27
  function _typeof(o) {
@@ -39,39 +34,33 @@ function _typeof(o) {
39
34
  }, _typeof(o);
40
35
  }
41
36
 
42
- function _toPrimitive(input, hint) {
43
- if (_typeof(input) !== "object" || input === null) return input;
44
- var prim = input[Symbol.toPrimitive];
45
- if (prim !== undefined) {
46
- var res = prim.call(input, hint || "default");
47
- if (_typeof(res) !== "object") return res;
37
+ function toPrimitive(t, r) {
38
+ if ("object" != _typeof(t) || !t) return t;
39
+ var e = t[Symbol.toPrimitive];
40
+ if (void 0 !== e) {
41
+ var i = e.call(t, r || "default");
42
+ if ("object" != _typeof(i)) return i;
48
43
  throw new TypeError("@@toPrimitive must return a primitive value.");
49
44
  }
50
- return (hint === "string" ? String : Number)(input);
45
+ return ("string" === r ? String : Number)(t);
51
46
  }
52
47
 
53
- function _toPropertyKey(arg) {
54
- var key = _toPrimitive(arg, "string");
55
- return _typeof(key) === "symbol" ? key : String(key);
48
+ function toPropertyKey(t) {
49
+ var i = toPrimitive(t, "string");
50
+ return "symbol" == _typeof(i) ? i : i + "";
56
51
  }
57
52
 
58
- function _defineProperty(obj, key, value) {
59
- key = _toPropertyKey(key);
60
- if (key in obj) {
61
- Object.defineProperty(obj, key, {
62
- value: value,
63
- enumerable: true,
64
- configurable: true,
65
- writable: true
66
- });
67
- } else {
68
- obj[key] = value;
69
- }
70
- return obj;
53
+ function _defineProperty(e, r, t) {
54
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
55
+ value: t,
56
+ enumerable: !0,
57
+ configurable: !0,
58
+ writable: !0
59
+ }) : e[r] = t, e;
71
60
  }
72
61
 
73
- function _arrayWithHoles(arr) {
74
- if (Array.isArray(arr)) return arr;
62
+ function _arrayWithHoles(r) {
63
+ if (Array.isArray(r)) return r;
75
64
  }
76
65
 
77
66
  function _iterableToArrayLimit(r, l) {
@@ -102,30 +91,29 @@ function _iterableToArrayLimit(r, l) {
102
91
  }
103
92
  }
104
93
 
105
- function _arrayLikeToArray(arr, len) {
106
- if (len == null || len > arr.length) len = arr.length;
107
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
108
- return arr2;
94
+ function _arrayLikeToArray(r, a) {
95
+ (null == a || a > r.length) && (a = r.length);
96
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
97
+ return n;
109
98
  }
110
99
 
111
- function _unsupportedIterableToArray(o, minLen) {
112
- if (!o) return;
113
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
114
- var n = Object.prototype.toString.call(o).slice(8, -1);
115
- if (n === "Object" && o.constructor) n = o.constructor.name;
116
- if (n === "Map" || n === "Set") return Array.from(o);
117
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
100
+ function _unsupportedIterableToArray(r, a) {
101
+ if (r) {
102
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
103
+ var t = {}.toString.call(r).slice(8, -1);
104
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
105
+ }
118
106
  }
119
107
 
120
108
  function _nonIterableRest() {
121
109
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
122
110
  }
123
111
 
124
- function _slicedToArray(arr, i) {
125
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
112
+ function _slicedToArray(r, e) {
113
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
126
114
  }
127
115
 
128
- var DownloadIcon = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (inProps, ref) {
116
+ var DownloadIcon = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (inProps, ref) {
129
117
  var pti = IconBase.getPTI(inProps);
130
118
  return /*#__PURE__*/React.createElement("svg", _extends({
131
119
  ref: ref,
@@ -214,7 +202,7 @@ var ImageBase = ComponentBase.extend({
214
202
 
215
203
  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; }
216
204
  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; }
217
- var Image = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(function (inProps, ref) {
205
+ var Image = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (inProps, ref) {
218
206
  var mergeProps = useMergeProps();
219
207
  var context = React.useContext(PrimeReactContext);
220
208
  var props = ImageBase.getProps(inProps, context);
@@ -1 +1 @@
1
- import*as e from"react";import t,{PrimeReactContext as n,localeOption as o}from"primereact/api";import{ComponentBase as r,useHandleStyle as i}from"primereact/componentbase";import{CSSTransition as a}from"primereact/csstransition";import{useMergeProps as l,useGlobalOnEscapeKey as c,ESC_KEY_HANDLING_PRIORITIES as s,useUnmountEffect as u}from"primereact/hooks";import{IconBase as p}from"primereact/iconbase";import{EyeIcon as m}from"primereact/icons/eye";import{RefreshIcon as f}from"primereact/icons/refresh";import{SearchMinusIcon as g}from"primereact/icons/searchminus";import{SearchPlusIcon as d}from"primereact/icons/searchplus";import{TimesIcon as y}from"primereact/icons/times";import{UndoIcon as b}from"primereact/icons/undo";import{Portal as v}from"primereact/portal";import{classNames as w,DomHandler as h,ZIndexUtils as C,IconUtils as I,ObjectUtils as E}from"primereact/utils";function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},O.apply(this,arguments)}function S(e){return S="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},S(e)}function P(e,t){if("object"!==S(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==S(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function k(e){var t=P(e,"string");return"symbol"===S(t)?t:String(t)}function x(e){if(Array.isArray(e))return e}function j(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,l=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=i.call(n)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw r}}return l}}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function B(e,t){if(e){if("string"==typeof e)return z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?z(e,t):void 0}}function N(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function R(e,t){return x(e)||j(e,t)||B(e,t)||N()}var L=e.memo(e.forwardRef((function(t,n){var o=p.getPTI(t);return e.createElement("svg",O({ref:n,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.0118 10C6.93296 10.0003 6.85484 9.98495 6.78202 9.95477C6.7091 9.92454 6.64297 9.88008 6.58749 9.82399L3.38288 6.62399C3.27675 6.51025 3.21897 6.35982 3.22171 6.20438C3.22446 6.04893 3.28752 5.90063 3.39761 5.7907C3.5077 5.68077 3.65622 5.6178 3.81188 5.61505C3.96755 5.61231 4.1182 5.67001 4.23211 5.77599L6.41125 7.95201V0.6C6.41125 0.44087 6.47456 0.288258 6.58724 0.175736C6.69993 0.063214 6.85276 0 7.01212 0C7.17148 0 7.32431 0.063214 7.43699 0.175736C7.54968 0.288258 7.61298 0.44087 7.61298 0.6V7.95198L9.7921 5.77599C9.90601 5.67001 10.0567 5.61231 10.2123 5.61505C10.368 5.6178 10.5165 5.68077 10.6266 5.7907C10.7367 5.90063 10.7997 6.04893 10.8025 6.20438C10.8052 6.35982 10.7475 6.51025 10.6413 6.62399L7.43671 9.82399C7.38124 9.88008 7.3151 9.92454 7.24219 9.95477C7.16938 9.98495 7.09127 10.0003 7.01244 10C7.01233 10 7.01223 10 7.01212 10C7.01201 10 7.0119 10 7.0118 10ZM13.45 13.3115C13.0749 13.7235 12.5521 13.971 11.9952 14H2.02889C1.75106 13.9887 1.47819 13.9228 1.2259 13.806C0.973606 13.6893 0.74684 13.524 0.558578 13.3197C0.370316 13.1153 0.224251 12.8759 0.128742 12.6152C0.0332333 12.3544 -0.00984502 12.0774 0.00197194 11.8V9.39999C0.00197194 9.24086 0.065277 9.08825 0.177961 8.97572C0.290645 8.8632 0.443477 8.79999 0.602836 8.79999C0.762195 8.79999 0.915027 8.8632 1.02771 8.97572C1.1404 9.08825 1.2037 9.24086 1.2037 9.39999V11.8C1.18301 12.0375 1.25469 12.2739 1.40385 12.4601C1.55302 12.6463 1.76823 12.768 2.00485 12.8H11.9952C12.2318 12.768 12.4471 12.6463 12.5962 12.4601C12.7454 12.2739 12.8171 12.0375 12.7964 11.8V9.39999C12.7964 9.24086 12.8597 9.08825 12.9724 8.97572C13.085 8.8632 13.2379 8.79999 13.3972 8.79999C13.5566 8.79999 13.7094 8.8632 13.8221 8.97572C13.9348 9.08825 13.9981 9.24086 13.9981 9.39999V11.8C14.0221 12.3563 13.8251 12.8995 13.45 13.3115Z",fill:"currentColor"}))})));L.displayName="DownloadIcon";var M=r.extend({defaultProps:{__TYPE:"Image",alt:null,className:null,closeIcon:null,crossOrigin:null,decoding:null,downloadIcon:null,downloadable:!1,height:null,imageClassName:null,imageStyle:null,indicatorIcon:null,loading:null,onError:null,onHide:null,onShow:null,preview:!1,referrerPolicy:null,rotateLeftIcon:null,rotateRightIcon:null,src:null,template:null,useMap:null,width:null,zoomInIcon:null,zoomOutIcon:null,zoomSrc:null,children:void 0,closeOnEscape:!0},css:{classes:{button:"p-image-preview-indicator",mask:"p-image-mask p-component-overlay p-component-overlay-enter",toolbar:"p-image-toolbar",downloadButton:"p-image-action p-link",rotateRightButton:"p-image-action p-link",rotateLeftButton:"p-image-action p-link",zoomOutButton:"p-image-action p-link",zoomInButton:"p-image-action p-link",closeButton:"p-image-action p-link",preview:"p-image-preview",icon:"p-image-preview-icon",root:function(e){return w("p-image p-component",{"p-image-preview-container":e.props.preview})},transition:"p-image-preview"},styles:"\n@layer primereact {\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 .3s;\n border: none;\n padding: 0;\n }\n \n .p-image-preview-icon {\n font-size: 1.5rem;\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-preview {\n transition: transform .15s;\n max-width: 100vw;\n max-height: 100vh;\n width: 100%;\n height: 100%;\n }\n \n .p-image-preview-enter {\n opacity: 0;\n transform: scale(0.7);\n }\n \n .p-image-preview-enter-active {\n opacity: 1;\n transform: scale(1);\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n }\n \n .p-image-preview-enter-done {\n transform: none;\n }\n \n .p-image-preview-exit {\n opacity: 1;\n }\n \n .p-image-preview-exit-active {\n opacity: 0;\n transform: scale(0.7);\n transition: all 150ms cubic-bezier(0.4, 0.0, 0.2, 1);\n }\n}\n",inlineStyles:{preview:function(e){return{transform:"rotate("+e.rotateState+"deg) scale("+e.scaleState+")"}}}}});function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){var o,r,i;o=e,i=n[t],(r=k(r=t))in o?Object.defineProperty(o,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):o[r]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var J=e.memo(e.forwardRef((function(r,p){var S=l(),P=e.useContext(n),k=M.getProps(r,P),x=R(e.useState(!1),2),j=x[0],z=x[1],B=R(e.useState(!1),2),N=B[0],A=B[1],J=R(e.useState(0),2),V=J[0],X=J[1],T=R(e.useState(1),2),H=T[0],Z=T[1],U=e.useRef(null),_=e.useRef(null),F=e.useRef(null),G=e.useRef(null),K=e.useRef(null),Y=H<=.5,$=H>=1.5,q=M.setMetaData({props:k,state:{maskVisible:j,previewVisible:N,rotate:V,scale:H}}),Q=q.ptm,W=q.cx,ee=q.sx,te=q.isUnstyled;c({callback:function(){oe()},when:k.closeOnEscape&&j,priority:[s.IMAGE,0]}),i(M.css.styles,te,{name:"image"});var ne=function(){k.preview&&(z(!0),h.blockBodyScroll(),setTimeout((function(){A(!0)}),25))},oe=function(){A(!1),h.unblockBodyScroll(),X(0),Z(1)},re=function(e){[e.target.classList].includes("p-image-action")||e.target.closest(".p-image-action")||oe()},ie=function(e){if("Escape"===e.code)oe(),setTimeout((function(){h.focus(K.current)}),200),e.preventDefault()},ae=function(){h.saveAs({name:k.alt,src:k.src})},le=function(e){e.stopPropagation(),X((function(e){return e+90}))},ce=function(e){e.stopPropagation(),X((function(e){return e-90}))},se=function(e){e.stopPropagation(),Z((function(e){return $?e:e+.1}))},ue=function(e){e.stopPropagation(),Z((function(e){return Y?e:e-.1}))},pe=function(){C.set("modal",F.current,P&&P.autoZIndex||t.autoZIndex,P&&P.zIndex.modal||t.zIndex.modal)},me=function(){k.onShow&&k.onShow()},fe=function(){!te()&&h.addClass(F.current,"p-component-overlay-leave")},ge=function(){k.onHide&&k.onHide()},de=function(){C.clear(F.current),z(!1)};u((function(){F.current&&C.clear(F.current)}));e.useImperativeHandle(p,(function(){return{props:k,show:ne,hide:oe,getElement:function(){return U.current},getImage:function(){return _.current}}}));var ye,be,ve=k.src,we=k.alt,he=k.width,Ce=k.height,Ie=k.crossOrigin,Ee=k.referrerPolicy,Oe=k.useMap,Se=k.loading,Pe=function(){var t=k.downloadable,n=k.alt,r=k.crossOrigin,i=k.referrerPolicy,l=k.useMap,c=k.loading,s=S(Q("downloadIcon")),u=S(Q("rotateRightIcon")),p=S(Q("rotateLeftIcon")),m=S(Q("zoomOutIcon")),v=S(Q("zoomInIcon")),h=S(Q("closeIcon")),C=I.getJSXIcon(k.downloadIcon||e.createElement(L,null),D({},s),{props:k}),E=I.getJSXIcon(k.rotateRightIcon||e.createElement(f,null),D({},u),{props:k}),P=I.getJSXIcon(k.rotateLeftIcon||e.createElement(b,null),D({},p),{props:k}),x=I.getJSXIcon(k.zoomOutIcon||e.createElement(g,null),D({},m),{props:k}),z=I.getJSXIcon(k.zoomInIcon||e.createElement(d,null),D({},v),{props:k}),B=I.getJSXIcon(k.closeIcon||e.createElement(y,null),D({},h),{props:k}),R=S({ref:F,role:"dialog",className:W("mask"),"aria-modal":j,onClick:re,onKeyDown:ie},Q("mask")),M=S({className:W("toolbar")},Q("toolbar")),A=S({className:W("downloadButton"),onPointerUp:ae,type:"button"},Q("downloadButton")),J=S({className:W("rotateRightButton"),onClick:le,type:"button","aria-label":o("aria")?o("aria").rotateRight:void 0,"data-pc-group-section":"action"},Q("rotateRightButton")),X=S({className:W("rotateLeftButton"),onClick:ce,type:"button","aria-label":o("aria")?o("aria").rotateLeft:void 0,"data-pc-group-section":"action"},Q("rotateLeftButton")),T=S({className:w(W("zoomOutButton"),{"p-disabled":Y}),style:{pointerEvents:"auto"},onClick:ue,type:"button",disabled:Y,"aria-label":o("aria")?o("aria").zoomOut:void 0,"data-pc-group-section":"action"},Q("zoomOutButton")),Z=S({className:w(W("zoomInButton"),{"p-disabled":$}),style:{pointerEvents:"auto"},onClick:se,type:"button",disabled:$,"aria-label":o("aria")?o("aria").zoomIn:void 0,"data-pc-group-section":"action"},Q("zoomInButton")),U=S({className:W("closeButton"),type:"button",onClick:oe,"aria-label":o("aria")?o("aria").close:void 0,autoFocus:!0,"data-pc-group-section":"action"},Q("closeButton")),_=S({src:k.zoomSrc||k.src,className:W("preview"),style:ee("preview",{rotateState:V,scaleState:H}),crossOrigin:r,referrerPolicy:i,useMap:l,loading:c},Q("preview")),K=S({ref:G},Q("previewContainer")),q=S({classNames:W("transition"),in:N,timeout:{enter:150,exit:150},unmountOnExit:!0,onEntering:pe,onEntered:me,onExit:fe,onExiting:ge,onExited:de},Q("transition"));return e.createElement("div",R,e.createElement("div",M,t&&e.createElement("button",A,C),e.createElement("button",J,E),e.createElement("button",X,P),e.createElement("button",T,x),e.createElement("button",Z,z),e.createElement("button",U,B)),e.createElement(a,O({nodeRef:G},q),e.createElement("div",K,e.createElement("img",O({alt:n},_)))))}(),ke=S({className:W("icon")},Q("icon")),xe=I.getJSXIcon(k.indicatorIcon||e.createElement(m,ke),D({},ke),{props:k}),je=k.template?E.getJSXElement(k.template,k):xe,ze=(ye=o("aria")?o("aria").zoomImage:void 0,be=S({ref:K,className:W("button"),onClick:ne,type:"button","aria-label":ye},Q("button")),k.preview?e.createElement("button",be,je):null),Be=S({ref:_,src:ve,className:k.imageClassName,width:he,height:Ce,crossOrigin:Ie,referrerPolicy:Ee,useMap:Oe,loading:Se,style:k.imageStyle,onError:k.onError},Q("image")),Ne=k.src&&e.createElement("img",O({},Be,{alt:we})),Re=S({ref:U,className:w(k.className,W("root"))},M.getOtherProps(k),Q("root"));return e.createElement("span",Re,Ne,ze,j&&e.createElement(v,{element:Pe,appendTo:document.body}))})));J.displayName="Image";export{J as Image};
1
+ import*as e from"react";import t,{PrimeReactContext as n,localeOption as o}from"primereact/api";import{ComponentBase as r,useHandleStyle as i}from"primereact/componentbase";import{CSSTransition as a}from"primereact/csstransition";import{useMergeProps as l,useGlobalOnEscapeKey as c,ESC_KEY_HANDLING_PRIORITIES as s,useUnmountEffect as u}from"primereact/hooks";import{IconBase as p}from"primereact/iconbase";import{EyeIcon as m}from"primereact/icons/eye";import{RefreshIcon as f}from"primereact/icons/refresh";import{SearchMinusIcon as g}from"primereact/icons/searchminus";import{SearchPlusIcon as d}from"primereact/icons/searchplus";import{TimesIcon as y}from"primereact/icons/times";import{UndoIcon as b}from"primereact/icons/undo";import{Portal as v}from"primereact/portal";import{classNames as w,DomHandler as h,ZIndexUtils as C,IconUtils as I,ObjectUtils as E}from"primereact/utils";function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},O.apply(null,arguments)}function S(e){return S="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},S(e)}function P(e,t){if("object"!=S(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=S(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function k(e){var t=P(e,"string");return"symbol"==S(t)?t:t+""}function x(e,t,n){return(t=k(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j(e){if(Array.isArray(e))return e}function z(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,l=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=i.call(n)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw r}}return l}}function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function N(e,t){if(e){if("string"==typeof e)return B(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?B(e,t):void 0}}function R(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function L(e,t){return j(e)||z(e,t)||N(e,t)||R()}var M=e.memo(e.forwardRef((function(t,n){var o=p.getPTI(t);return e.createElement("svg",O({ref:n,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.0118 10C6.93296 10.0003 6.85484 9.98495 6.78202 9.95477C6.7091 9.92454 6.64297 9.88008 6.58749 9.82399L3.38288 6.62399C3.27675 6.51025 3.21897 6.35982 3.22171 6.20438C3.22446 6.04893 3.28752 5.90063 3.39761 5.7907C3.5077 5.68077 3.65622 5.6178 3.81188 5.61505C3.96755 5.61231 4.1182 5.67001 4.23211 5.77599L6.41125 7.95201V0.6C6.41125 0.44087 6.47456 0.288258 6.58724 0.175736C6.69993 0.063214 6.85276 0 7.01212 0C7.17148 0 7.32431 0.063214 7.43699 0.175736C7.54968 0.288258 7.61298 0.44087 7.61298 0.6V7.95198L9.7921 5.77599C9.90601 5.67001 10.0567 5.61231 10.2123 5.61505C10.368 5.6178 10.5165 5.68077 10.6266 5.7907C10.7367 5.90063 10.7997 6.04893 10.8025 6.20438C10.8052 6.35982 10.7475 6.51025 10.6413 6.62399L7.43671 9.82399C7.38124 9.88008 7.3151 9.92454 7.24219 9.95477C7.16938 9.98495 7.09127 10.0003 7.01244 10C7.01233 10 7.01223 10 7.01212 10C7.01201 10 7.0119 10 7.0118 10ZM13.45 13.3115C13.0749 13.7235 12.5521 13.971 11.9952 14H2.02889C1.75106 13.9887 1.47819 13.9228 1.2259 13.806C0.973606 13.6893 0.74684 13.524 0.558578 13.3197C0.370316 13.1153 0.224251 12.8759 0.128742 12.6152C0.0332333 12.3544 -0.00984502 12.0774 0.00197194 11.8V9.39999C0.00197194 9.24086 0.065277 9.08825 0.177961 8.97572C0.290645 8.8632 0.443477 8.79999 0.602836 8.79999C0.762195 8.79999 0.915027 8.8632 1.02771 8.97572C1.1404 9.08825 1.2037 9.24086 1.2037 9.39999V11.8C1.18301 12.0375 1.25469 12.2739 1.40385 12.4601C1.55302 12.6463 1.76823 12.768 2.00485 12.8H11.9952C12.2318 12.768 12.4471 12.6463 12.5962 12.4601C12.7454 12.2739 12.8171 12.0375 12.7964 11.8V9.39999C12.7964 9.24086 12.8597 9.08825 12.9724 8.97572C13.085 8.8632 13.2379 8.79999 13.3972 8.79999C13.5566 8.79999 13.7094 8.8632 13.8221 8.97572C13.9348 9.08825 13.9981 9.24086 13.9981 9.39999V11.8C14.0221 12.3563 13.8251 12.8995 13.45 13.3115Z",fill:"currentColor"}))})));M.displayName="DownloadIcon";var A=r.extend({defaultProps:{__TYPE:"Image",alt:null,className:null,closeIcon:null,crossOrigin:null,decoding:null,downloadIcon:null,downloadable:!1,height:null,imageClassName:null,imageStyle:null,indicatorIcon:null,loading:null,onError:null,onHide:null,onShow:null,preview:!1,referrerPolicy:null,rotateLeftIcon:null,rotateRightIcon:null,src:null,template:null,useMap:null,width:null,zoomInIcon:null,zoomOutIcon:null,zoomSrc:null,children:void 0,closeOnEscape:!0},css:{classes:{button:"p-image-preview-indicator",mask:"p-image-mask p-component-overlay p-component-overlay-enter",toolbar:"p-image-toolbar",downloadButton:"p-image-action p-link",rotateRightButton:"p-image-action p-link",rotateLeftButton:"p-image-action p-link",zoomOutButton:"p-image-action p-link",zoomInButton:"p-image-action p-link",closeButton:"p-image-action p-link",preview:"p-image-preview",icon:"p-image-preview-icon",root:function(e){return w("p-image p-component",{"p-image-preview-container":e.props.preview})},transition:"p-image-preview"},styles:"\n@layer primereact {\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 .3s;\n border: none;\n padding: 0;\n }\n \n .p-image-preview-icon {\n font-size: 1.5rem;\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-preview {\n transition: transform .15s;\n max-width: 100vw;\n max-height: 100vh;\n width: 100%;\n height: 100%;\n }\n \n .p-image-preview-enter {\n opacity: 0;\n transform: scale(0.7);\n }\n \n .p-image-preview-enter-active {\n opacity: 1;\n transform: scale(1);\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n }\n \n .p-image-preview-enter-done {\n transform: none;\n }\n \n .p-image-preview-exit {\n opacity: 1;\n }\n \n .p-image-preview-exit-active {\n opacity: 0;\n transform: scale(0.7);\n transition: all 150ms cubic-bezier(0.4, 0.0, 0.2, 1);\n }\n}\n",inlineStyles:{preview:function(e){return{transform:"rotate("+e.rotateState+"deg) scale("+e.scaleState+")"}}}}});function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var V=e.memo(e.forwardRef((function(r,p){var S=l(),P=e.useContext(n),k=A.getProps(r,P),x=L(e.useState(!1),2),j=x[0],z=x[1],B=L(e.useState(!1),2),N=B[0],R=B[1],D=L(e.useState(0),2),V=D[0],X=D[1],T=L(e.useState(1),2),H=T[0],Z=T[1],U=e.useRef(null),_=e.useRef(null),F=e.useRef(null),G=e.useRef(null),K=e.useRef(null),Y=H<=.5,$=H>=1.5,q=A.setMetaData({props:k,state:{maskVisible:j,previewVisible:N,rotate:V,scale:H}}),Q=q.ptm,W=q.cx,ee=q.sx,te=q.isUnstyled;c({callback:function(){oe()},when:k.closeOnEscape&&j,priority:[s.IMAGE,0]}),i(A.css.styles,te,{name:"image"});var ne=function(){k.preview&&(z(!0),h.blockBodyScroll(),setTimeout((function(){R(!0)}),25))},oe=function(){R(!1),h.unblockBodyScroll(),X(0),Z(1)},re=function(e){[e.target.classList].includes("p-image-action")||e.target.closest(".p-image-action")||oe()},ie=function(e){if("Escape"===e.code)oe(),setTimeout((function(){h.focus(K.current)}),200),e.preventDefault()},ae=function(){h.saveAs({name:k.alt,src:k.src})},le=function(e){e.stopPropagation(),X((function(e){return e+90}))},ce=function(e){e.stopPropagation(),X((function(e){return e-90}))},se=function(e){e.stopPropagation(),Z((function(e){return $?e:e+.1}))},ue=function(e){e.stopPropagation(),Z((function(e){return Y?e:e-.1}))},pe=function(){C.set("modal",F.current,P&&P.autoZIndex||t.autoZIndex,P&&P.zIndex.modal||t.zIndex.modal)},me=function(){k.onShow&&k.onShow()},fe=function(){!te()&&h.addClass(F.current,"p-component-overlay-leave")},ge=function(){k.onHide&&k.onHide()},de=function(){C.clear(F.current),z(!1)};u((function(){F.current&&C.clear(F.current)}));e.useImperativeHandle(p,(function(){return{props:k,show:ne,hide:oe,getElement:function(){return U.current},getImage:function(){return _.current}}}));var ye,be,ve=k.src,we=k.alt,he=k.width,Ce=k.height,Ie=k.crossOrigin,Ee=k.referrerPolicy,Oe=k.useMap,Se=k.loading,Pe=function(){var t=k.downloadable,n=k.alt,r=k.crossOrigin,i=k.referrerPolicy,l=k.useMap,c=k.loading,s=S(Q("downloadIcon")),u=S(Q("rotateRightIcon")),p=S(Q("rotateLeftIcon")),m=S(Q("zoomOutIcon")),v=S(Q("zoomInIcon")),h=S(Q("closeIcon")),C=I.getJSXIcon(k.downloadIcon||e.createElement(M,null),J({},s),{props:k}),E=I.getJSXIcon(k.rotateRightIcon||e.createElement(f,null),J({},u),{props:k}),P=I.getJSXIcon(k.rotateLeftIcon||e.createElement(b,null),J({},p),{props:k}),x=I.getJSXIcon(k.zoomOutIcon||e.createElement(g,null),J({},m),{props:k}),z=I.getJSXIcon(k.zoomInIcon||e.createElement(d,null),J({},v),{props:k}),B=I.getJSXIcon(k.closeIcon||e.createElement(y,null),J({},h),{props:k}),R=S({ref:F,role:"dialog",className:W("mask"),"aria-modal":j,onClick:re,onKeyDown:ie},Q("mask")),L=S({className:W("toolbar")},Q("toolbar")),A=S({className:W("downloadButton"),onPointerUp:ae,type:"button"},Q("downloadButton")),D=S({className:W("rotateRightButton"),onClick:le,type:"button","aria-label":o("aria")?o("aria").rotateRight:void 0,"data-pc-group-section":"action"},Q("rotateRightButton")),X=S({className:W("rotateLeftButton"),onClick:ce,type:"button","aria-label":o("aria")?o("aria").rotateLeft:void 0,"data-pc-group-section":"action"},Q("rotateLeftButton")),T=S({className:w(W("zoomOutButton"),{"p-disabled":Y}),style:{pointerEvents:"auto"},onClick:ue,type:"button",disabled:Y,"aria-label":o("aria")?o("aria").zoomOut:void 0,"data-pc-group-section":"action"},Q("zoomOutButton")),Z=S({className:w(W("zoomInButton"),{"p-disabled":$}),style:{pointerEvents:"auto"},onClick:se,type:"button",disabled:$,"aria-label":o("aria")?o("aria").zoomIn:void 0,"data-pc-group-section":"action"},Q("zoomInButton")),U=S({className:W("closeButton"),type:"button",onClick:oe,"aria-label":o("aria")?o("aria").close:void 0,autoFocus:!0,"data-pc-group-section":"action"},Q("closeButton")),_=S({src:k.zoomSrc||k.src,className:W("preview"),style:ee("preview",{rotateState:V,scaleState:H}),crossOrigin:r,referrerPolicy:i,useMap:l,loading:c},Q("preview")),K=S({ref:G},Q("previewContainer")),q=S({classNames:W("transition"),in:N,timeout:{enter:150,exit:150},unmountOnExit:!0,onEntering:pe,onEntered:me,onExit:fe,onExiting:ge,onExited:de},Q("transition"));return e.createElement("div",R,e.createElement("div",L,t&&e.createElement("button",A,C),e.createElement("button",D,E),e.createElement("button",X,P),e.createElement("button",T,x),e.createElement("button",Z,z),e.createElement("button",U,B)),e.createElement(a,O({nodeRef:G},q),e.createElement("div",K,e.createElement("img",O({alt:n},_)))))}(),ke=S({className:W("icon")},Q("icon")),xe=I.getJSXIcon(k.indicatorIcon||e.createElement(m,ke),J({},ke),{props:k}),je=k.template?E.getJSXElement(k.template,k):xe,ze=(ye=o("aria")?o("aria").zoomImage:void 0,be=S({ref:K,className:W("button"),onClick:ne,type:"button","aria-label":ye},Q("button")),k.preview?e.createElement("button",be,je):null),Be=S({ref:_,src:ve,className:k.imageClassName,width:he,height:Ce,crossOrigin:Ie,referrerPolicy:Ee,useMap:Oe,loading:Se,style:k.imageStyle,onError:k.onError},Q("image")),Ne=k.src&&e.createElement("img",O({},Be,{alt:we})),Re=S({ref:U,className:w(k.className,W("root"))},A.getOtherProps(k),Q("root"));return e.createElement("span",Re,Ne,ze,j&&e.createElement(v,{element:Pe,appendTo:document.body}))})));V.displayName="Image";export{V as Image};