primereact 10.8.5 → 10.9.1

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 (891) hide show
  1. package/LICENSE.md +1 -1
  2. package/accordion/accordion.cjs.js +55 -43
  3. package/accordion/accordion.cjs.min.js +1 -1
  4. package/accordion/accordion.esm.js +55 -43
  5. package/accordion/accordion.esm.min.js +1 -1
  6. package/accordion/accordion.js +55 -43
  7. package/accordion/accordion.min.js +1 -1
  8. package/api/api.cjs.js +59 -44
  9. package/api/api.cjs.min.js +1 -1
  10. package/api/api.esm.js +59 -44
  11. package/api/api.esm.min.js +1 -1
  12. package/api/api.js +59 -44
  13. package/api/api.min.js +1 -1
  14. package/autocomplete/autocomplete.cjs.js +59 -47
  15. package/autocomplete/autocomplete.cjs.min.js +1 -1
  16. package/autocomplete/autocomplete.d.ts +1 -1
  17. package/autocomplete/autocomplete.esm.js +59 -47
  18. package/autocomplete/autocomplete.esm.min.js +1 -1
  19. package/autocomplete/autocomplete.js +59 -47
  20. package/autocomplete/autocomplete.min.js +1 -1
  21. package/avatar/avatar.cjs.js +49 -37
  22. package/avatar/avatar.cjs.min.js +1 -1
  23. package/avatar/avatar.esm.js +49 -37
  24. package/avatar/avatar.esm.min.js +1 -1
  25. package/avatar/avatar.js +49 -37
  26. package/avatar/avatar.min.js +1 -1
  27. package/badge/badge.cjs.js +23 -17
  28. package/badge/badge.cjs.min.js +1 -1
  29. package/badge/badge.esm.js +23 -17
  30. package/badge/badge.esm.min.js +1 -1
  31. package/badge/badge.js +23 -17
  32. package/badge/badge.min.js +1 -1
  33. package/blockui/blockui.cjs.js +49 -37
  34. package/blockui/blockui.cjs.min.js +1 -1
  35. package/blockui/blockui.esm.js +49 -37
  36. package/blockui/blockui.esm.min.js +1 -1
  37. package/blockui/blockui.js +49 -37
  38. package/blockui/blockui.min.js +1 -1
  39. package/breadcrumb/breadcrumb.cjs.js +49 -37
  40. package/breadcrumb/breadcrumb.cjs.min.js +1 -1
  41. package/breadcrumb/breadcrumb.esm.js +49 -37
  42. package/breadcrumb/breadcrumb.esm.min.js +1 -1
  43. package/breadcrumb/breadcrumb.js +49 -37
  44. package/breadcrumb/breadcrumb.min.js +1 -1
  45. package/button/button.cjs.js +34 -23
  46. package/button/button.cjs.min.js +1 -1
  47. package/button/button.esm.js +34 -23
  48. package/button/button.esm.min.js +1 -1
  49. package/button/button.js +34 -23
  50. package/button/button.min.js +1 -1
  51. package/calendar/calendar.cjs.js +67 -49
  52. package/calendar/calendar.cjs.min.js +1 -1
  53. package/calendar/calendar.esm.js +67 -49
  54. package/calendar/calendar.esm.min.js +1 -1
  55. package/calendar/calendar.js +67 -49
  56. package/calendar/calendar.min.js +1 -1
  57. package/carousel/carousel.cjs.js +55 -43
  58. package/carousel/carousel.cjs.min.js +1 -1
  59. package/carousel/carousel.esm.js +55 -43
  60. package/carousel/carousel.esm.min.js +1 -1
  61. package/carousel/carousel.js +55 -43
  62. package/carousel/carousel.min.js +1 -1
  63. package/cascadeselect/cascadeselect.cjs.js +52 -40
  64. package/cascadeselect/cascadeselect.cjs.min.js +1 -1
  65. package/cascadeselect/cascadeselect.esm.js +52 -40
  66. package/cascadeselect/cascadeselect.esm.min.js +1 -1
  67. package/cascadeselect/cascadeselect.js +52 -40
  68. package/cascadeselect/cascadeselect.min.js +1 -1
  69. package/checkbox/checkbox.cjs.js +55 -43
  70. package/checkbox/checkbox.cjs.min.js +1 -1
  71. package/checkbox/checkbox.esm.js +55 -43
  72. package/checkbox/checkbox.esm.min.js +1 -1
  73. package/checkbox/checkbox.js +55 -43
  74. package/checkbox/checkbox.min.js +1 -1
  75. package/chip/chip.cjs.js +56 -40
  76. package/chip/chip.cjs.min.js +1 -1
  77. package/chip/chip.esm.js +56 -40
  78. package/chip/chip.esm.min.js +1 -1
  79. package/chip/chip.js +56 -40
  80. package/chip/chip.min.js +1 -1
  81. package/chips/chips.cjs.js +68 -50
  82. package/chips/chips.cjs.min.js +1 -1
  83. package/chips/chips.esm.js +68 -50
  84. package/chips/chips.esm.min.js +1 -1
  85. package/chips/chips.js +68 -50
  86. package/chips/chips.min.js +1 -1
  87. package/colorpicker/colorpicker.cjs.js +49 -37
  88. package/colorpicker/colorpicker.cjs.min.js +1 -1
  89. package/colorpicker/colorpicker.esm.js +49 -37
  90. package/colorpicker/colorpicker.esm.min.js +1 -1
  91. package/colorpicker/colorpicker.js +49 -37
  92. package/colorpicker/colorpicker.min.js +1 -1
  93. package/componentbase/componentbase.cjs.js +42 -35
  94. package/componentbase/componentbase.cjs.min.js +1 -1
  95. package/componentbase/componentbase.esm.js +42 -35
  96. package/componentbase/componentbase.esm.min.js +1 -1
  97. package/componentbase/componentbase.js +42 -35
  98. package/componentbase/componentbase.min.js +1 -1
  99. package/confirmdialog/confirmdialog.cjs.js +57 -43
  100. package/confirmdialog/confirmdialog.cjs.min.js +1 -1
  101. package/confirmdialog/confirmdialog.esm.js +57 -43
  102. package/confirmdialog/confirmdialog.esm.min.js +1 -1
  103. package/confirmdialog/confirmdialog.js +57 -43
  104. package/confirmdialog/confirmdialog.min.js +1 -1
  105. package/confirmpopup/confirmpopup.cjs.js +49 -37
  106. package/confirmpopup/confirmpopup.cjs.min.js +1 -1
  107. package/confirmpopup/confirmpopup.esm.js +49 -37
  108. package/confirmpopup/confirmpopup.esm.min.js +1 -1
  109. package/confirmpopup/confirmpopup.js +49 -37
  110. package/confirmpopup/confirmpopup.min.js +1 -1
  111. package/contextmenu/contextmenu.cjs.js +49 -37
  112. package/contextmenu/contextmenu.cjs.min.js +1 -1
  113. package/contextmenu/contextmenu.esm.js +49 -37
  114. package/contextmenu/contextmenu.esm.min.js +1 -1
  115. package/contextmenu/contextmenu.js +49 -37
  116. package/contextmenu/contextmenu.min.js +1 -1
  117. package/core/core.js +1482 -1020
  118. package/core/core.min.js +68 -68
  119. package/csstransition/csstransition.cjs.js +23 -17
  120. package/csstransition/csstransition.cjs.min.js +1 -1
  121. package/csstransition/csstransition.esm.js +23 -17
  122. package/csstransition/csstransition.esm.min.js +1 -1
  123. package/csstransition/csstransition.js +23 -17
  124. package/csstransition/csstransition.min.js +1 -1
  125. package/datascroller/datascroller.cjs.js +32 -26
  126. package/datascroller/datascroller.cjs.min.js +1 -1
  127. package/datascroller/datascroller.esm.js +32 -26
  128. package/datascroller/datascroller.esm.min.js +1 -1
  129. package/datascroller/datascroller.js +32 -26
  130. package/datascroller/datascroller.min.js +1 -1
  131. package/datatable/datatable.cjs.js +114 -87
  132. package/datatable/datatable.cjs.min.js +1 -1
  133. package/datatable/datatable.esm.js +114 -87
  134. package/datatable/datatable.esm.min.js +1 -1
  135. package/datatable/datatable.js +114 -87
  136. package/datatable/datatable.min.js +1 -1
  137. package/dataview/dataview.cjs.js +58 -46
  138. package/dataview/dataview.cjs.min.js +1 -1
  139. package/dataview/dataview.esm.js +58 -46
  140. package/dataview/dataview.esm.min.js +1 -1
  141. package/dataview/dataview.js +58 -46
  142. package/dataview/dataview.min.js +1 -1
  143. package/deferredcontent/deferredcontent.cjs.js +15 -14
  144. package/deferredcontent/deferredcontent.cjs.min.js +1 -1
  145. package/deferredcontent/deferredcontent.esm.js +15 -14
  146. package/deferredcontent/deferredcontent.esm.min.js +1 -1
  147. package/deferredcontent/deferredcontent.js +15 -14
  148. package/deferredcontent/deferredcontent.min.js +1 -1
  149. package/dialog/dialog.cjs.js +62 -50
  150. package/dialog/dialog.cjs.min.js +1 -1
  151. package/dialog/dialog.esm.js +62 -50
  152. package/dialog/dialog.esm.min.js +1 -1
  153. package/dialog/dialog.js +62 -50
  154. package/dialog/dialog.min.js +1 -1
  155. package/dock/dock.cjs.js +55 -43
  156. package/dock/dock.cjs.min.js +1 -1
  157. package/dock/dock.esm.js +55 -43
  158. package/dock/dock.esm.min.js +1 -1
  159. package/dock/dock.js +55 -43
  160. package/dock/dock.min.js +1 -1
  161. package/dropdown/dropdown.cjs.js +74 -52
  162. package/dropdown/dropdown.cjs.min.js +1 -1
  163. package/dropdown/dropdown.d.ts +2 -2
  164. package/dropdown/dropdown.esm.js +74 -52
  165. package/dropdown/dropdown.esm.min.js +1 -1
  166. package/dropdown/dropdown.js +74 -52
  167. package/dropdown/dropdown.min.js +1 -1
  168. package/editor/editor.cjs.js +49 -37
  169. package/editor/editor.cjs.min.js +1 -1
  170. package/editor/editor.esm.js +49 -37
  171. package/editor/editor.esm.min.js +1 -1
  172. package/editor/editor.js +49 -37
  173. package/editor/editor.min.js +1 -1
  174. package/fieldset/fieldset.cjs.js +26 -20
  175. package/fieldset/fieldset.cjs.min.js +1 -1
  176. package/fieldset/fieldset.esm.js +26 -20
  177. package/fieldset/fieldset.esm.min.js +1 -1
  178. package/fieldset/fieldset.js +26 -20
  179. package/fieldset/fieldset.min.js +1 -1
  180. package/fileupload/fileupload.cjs.js +60 -48
  181. package/fileupload/fileupload.cjs.min.js +1 -1
  182. package/fileupload/fileupload.esm.js +60 -48
  183. package/fileupload/fileupload.esm.min.js +1 -1
  184. package/fileupload/fileupload.js +60 -48
  185. package/fileupload/fileupload.min.js +1 -1
  186. package/focustrap/focustrap.cjs.js +30 -24
  187. package/focustrap/focustrap.cjs.min.js +1 -1
  188. package/focustrap/focustrap.esm.js +30 -24
  189. package/focustrap/focustrap.esm.min.js +1 -1
  190. package/focustrap/focustrap.js +30 -24
  191. package/focustrap/focustrap.min.js +1 -1
  192. package/galleria/galleria.cjs.js +55 -43
  193. package/galleria/galleria.cjs.min.js +1 -1
  194. package/galleria/galleria.esm.js +55 -43
  195. package/galleria/galleria.esm.min.js +1 -1
  196. package/galleria/galleria.js +55 -43
  197. package/galleria/galleria.min.js +1 -1
  198. package/hooks/hooks.cjs.js +44 -37
  199. package/hooks/hooks.cjs.min.js +1 -1
  200. package/hooks/hooks.esm.js +44 -37
  201. package/hooks/hooks.esm.min.js +1 -1
  202. package/hooks/hooks.js +44 -37
  203. package/hooks/hooks.min.js +1 -1
  204. package/iconbase/iconbase.cjs.js +1 -1
  205. package/iconbase/iconbase.cjs.min.js +1 -1
  206. package/iconbase/iconbase.esm.js +1 -1
  207. package/iconbase/iconbase.esm.min.js +1 -1
  208. package/iconbase/iconbase.js +1 -1
  209. package/iconbase/iconbase.min.js +1 -1
  210. package/iconfield/iconfield.cjs.js +34 -23
  211. package/iconfield/iconfield.cjs.min.js +1 -1
  212. package/iconfield/iconfield.esm.js +34 -23
  213. package/iconfield/iconfield.esm.min.js +1 -1
  214. package/iconfield/iconfield.js +34 -23
  215. package/iconfield/iconfield.min.js +1 -1
  216. package/icons/angledoubledown/index.cjs.js +11 -6
  217. package/icons/angledoubledown/index.cjs.min.js +1 -1
  218. package/icons/angledoubledown/index.esm.js +11 -6
  219. package/icons/angledoubledown/index.esm.min.js +1 -1
  220. package/icons/angledoubledown/index.js +11 -6
  221. package/icons/angledoubledown/index.min.js +1 -1
  222. package/icons/angledoubleleft/index.cjs.js +11 -6
  223. package/icons/angledoubleleft/index.cjs.min.js +1 -1
  224. package/icons/angledoubleleft/index.esm.js +11 -6
  225. package/icons/angledoubleleft/index.esm.min.js +1 -1
  226. package/icons/angledoubleleft/index.js +11 -6
  227. package/icons/angledoubleleft/index.min.js +1 -1
  228. package/icons/angledoubleright/index.cjs.js +11 -6
  229. package/icons/angledoubleright/index.cjs.min.js +1 -1
  230. package/icons/angledoubleright/index.esm.js +11 -6
  231. package/icons/angledoubleright/index.esm.min.js +1 -1
  232. package/icons/angledoubleright/index.js +11 -6
  233. package/icons/angledoubleright/index.min.js +1 -1
  234. package/icons/angledoubleup/index.cjs.js +11 -6
  235. package/icons/angledoubleup/index.cjs.min.js +1 -1
  236. package/icons/angledoubleup/index.esm.js +11 -6
  237. package/icons/angledoubleup/index.esm.min.js +1 -1
  238. package/icons/angledoubleup/index.js +11 -6
  239. package/icons/angledoubleup/index.min.js +1 -1
  240. package/icons/angledown/index.cjs.js +11 -6
  241. package/icons/angledown/index.cjs.min.js +1 -1
  242. package/icons/angledown/index.esm.js +11 -6
  243. package/icons/angledown/index.esm.min.js +1 -1
  244. package/icons/angledown/index.js +11 -6
  245. package/icons/angledown/index.min.js +1 -1
  246. package/icons/angleleft/index.cjs.js +11 -6
  247. package/icons/angleleft/index.cjs.min.js +1 -1
  248. package/icons/angleleft/index.esm.js +11 -6
  249. package/icons/angleleft/index.esm.min.js +1 -1
  250. package/icons/angleleft/index.js +11 -6
  251. package/icons/angleleft/index.min.js +1 -1
  252. package/icons/angleright/index.cjs.js +11 -6
  253. package/icons/angleright/index.cjs.min.js +1 -1
  254. package/icons/angleright/index.esm.js +11 -6
  255. package/icons/angleright/index.esm.min.js +1 -1
  256. package/icons/angleright/index.js +11 -6
  257. package/icons/angleright/index.min.js +1 -1
  258. package/icons/angleup/index.cjs.js +11 -6
  259. package/icons/angleup/index.cjs.min.js +1 -1
  260. package/icons/angleup/index.esm.js +11 -6
  261. package/icons/angleup/index.esm.min.js +1 -1
  262. package/icons/angleup/index.js +11 -6
  263. package/icons/angleup/index.min.js +1 -1
  264. package/icons/arrowdown/index.cjs.js +11 -6
  265. package/icons/arrowdown/index.cjs.min.js +1 -1
  266. package/icons/arrowdown/index.esm.js +11 -6
  267. package/icons/arrowdown/index.esm.min.js +1 -1
  268. package/icons/arrowdown/index.js +11 -6
  269. package/icons/arrowdown/index.min.js +1 -1
  270. package/icons/arrowup/index.cjs.js +11 -6
  271. package/icons/arrowup/index.cjs.min.js +1 -1
  272. package/icons/arrowup/index.esm.js +11 -6
  273. package/icons/arrowup/index.esm.min.js +1 -1
  274. package/icons/arrowup/index.js +11 -6
  275. package/icons/arrowup/index.min.js +1 -1
  276. package/icons/ban/index.cjs.js +11 -6
  277. package/icons/ban/index.cjs.min.js +1 -1
  278. package/icons/ban/index.esm.js +11 -6
  279. package/icons/ban/index.esm.min.js +1 -1
  280. package/icons/ban/index.js +11 -6
  281. package/icons/ban/index.min.js +1 -1
  282. package/icons/bars/index.cjs.js +11 -6
  283. package/icons/bars/index.cjs.min.js +1 -1
  284. package/icons/bars/index.esm.js +11 -6
  285. package/icons/bars/index.esm.min.js +1 -1
  286. package/icons/bars/index.js +11 -6
  287. package/icons/bars/index.min.js +1 -1
  288. package/icons/blank/index.cjs.js +11 -6
  289. package/icons/blank/index.cjs.min.js +1 -1
  290. package/icons/blank/index.esm.js +11 -6
  291. package/icons/blank/index.esm.min.js +1 -1
  292. package/icons/blank/index.js +11 -6
  293. package/icons/blank/index.min.js +1 -1
  294. package/icons/calendar/index.cjs.js +11 -6
  295. package/icons/calendar/index.cjs.min.js +1 -1
  296. package/icons/calendar/index.esm.js +11 -6
  297. package/icons/calendar/index.esm.min.js +1 -1
  298. package/icons/calendar/index.js +11 -6
  299. package/icons/calendar/index.min.js +1 -1
  300. package/icons/check/index.cjs.js +11 -6
  301. package/icons/check/index.cjs.min.js +1 -1
  302. package/icons/check/index.esm.js +11 -6
  303. package/icons/check/index.esm.min.js +1 -1
  304. package/icons/check/index.js +11 -6
  305. package/icons/check/index.min.js +1 -1
  306. package/icons/chevrondown/index.cjs.js +11 -6
  307. package/icons/chevrondown/index.cjs.min.js +1 -1
  308. package/icons/chevrondown/index.esm.js +11 -6
  309. package/icons/chevrondown/index.esm.min.js +1 -1
  310. package/icons/chevrondown/index.js +11 -6
  311. package/icons/chevrondown/index.min.js +1 -1
  312. package/icons/chevronleft/index.cjs.js +11 -6
  313. package/icons/chevronleft/index.cjs.min.js +1 -1
  314. package/icons/chevronleft/index.esm.js +11 -6
  315. package/icons/chevronleft/index.esm.min.js +1 -1
  316. package/icons/chevronleft/index.js +11 -6
  317. package/icons/chevronleft/index.min.js +1 -1
  318. package/icons/chevronright/index.cjs.js +11 -6
  319. package/icons/chevronright/index.cjs.min.js +1 -1
  320. package/icons/chevronright/index.esm.js +11 -6
  321. package/icons/chevronright/index.esm.min.js +1 -1
  322. package/icons/chevronright/index.js +11 -6
  323. package/icons/chevronright/index.min.js +1 -1
  324. package/icons/chevronup/index.cjs.js +11 -6
  325. package/icons/chevronup/index.cjs.min.js +1 -1
  326. package/icons/chevronup/index.esm.js +11 -6
  327. package/icons/chevronup/index.esm.min.js +1 -1
  328. package/icons/chevronup/index.js +11 -6
  329. package/icons/chevronup/index.min.js +1 -1
  330. package/icons/download/index.cjs.js +11 -6
  331. package/icons/download/index.cjs.min.js +1 -1
  332. package/icons/download/index.esm.js +11 -6
  333. package/icons/download/index.esm.min.js +1 -1
  334. package/icons/download/index.js +11 -6
  335. package/icons/download/index.min.js +1 -1
  336. package/icons/exclamationtriangle/index.cjs.js +11 -6
  337. package/icons/exclamationtriangle/index.cjs.min.js +1 -1
  338. package/icons/exclamationtriangle/index.esm.js +11 -6
  339. package/icons/exclamationtriangle/index.esm.min.js +1 -1
  340. package/icons/exclamationtriangle/index.js +11 -6
  341. package/icons/exclamationtriangle/index.min.js +1 -1
  342. package/icons/eye/index.cjs.js +11 -6
  343. package/icons/eye/index.cjs.min.js +1 -1
  344. package/icons/eye/index.esm.js +11 -6
  345. package/icons/eye/index.esm.min.js +1 -1
  346. package/icons/eye/index.js +11 -6
  347. package/icons/eye/index.min.js +1 -1
  348. package/icons/eyeslash/index.cjs.js +11 -6
  349. package/icons/eyeslash/index.cjs.min.js +1 -1
  350. package/icons/eyeslash/index.esm.js +11 -6
  351. package/icons/eyeslash/index.esm.min.js +1 -1
  352. package/icons/eyeslash/index.js +11 -6
  353. package/icons/eyeslash/index.min.js +1 -1
  354. package/icons/filter/index.cjs.js +11 -6
  355. package/icons/filter/index.cjs.min.js +1 -1
  356. package/icons/filter/index.esm.js +11 -6
  357. package/icons/filter/index.esm.min.js +1 -1
  358. package/icons/filter/index.js +11 -6
  359. package/icons/filter/index.min.js +1 -1
  360. package/icons/filterslash/index.cjs.js +11 -6
  361. package/icons/filterslash/index.cjs.min.js +1 -1
  362. package/icons/filterslash/index.esm.js +11 -6
  363. package/icons/filterslash/index.esm.min.js +1 -1
  364. package/icons/filterslash/index.js +11 -6
  365. package/icons/filterslash/index.min.js +1 -1
  366. package/icons/infocircle/index.cjs.js +11 -6
  367. package/icons/infocircle/index.cjs.min.js +1 -1
  368. package/icons/infocircle/index.esm.js +11 -6
  369. package/icons/infocircle/index.esm.min.js +1 -1
  370. package/icons/infocircle/index.js +11 -6
  371. package/icons/infocircle/index.min.js +1 -1
  372. package/icons/minus/index.cjs.js +11 -6
  373. package/icons/minus/index.cjs.min.js +1 -1
  374. package/icons/minus/index.esm.js +11 -6
  375. package/icons/minus/index.esm.min.js +1 -1
  376. package/icons/minus/index.js +11 -6
  377. package/icons/minus/index.min.js +1 -1
  378. package/icons/pencil/index.cjs.js +11 -6
  379. package/icons/pencil/index.cjs.min.js +1 -1
  380. package/icons/pencil/index.esm.js +11 -6
  381. package/icons/pencil/index.esm.min.js +1 -1
  382. package/icons/pencil/index.js +11 -6
  383. package/icons/pencil/index.min.js +1 -1
  384. package/icons/plus/index.cjs.js +11 -6
  385. package/icons/plus/index.cjs.min.js +1 -1
  386. package/icons/plus/index.esm.js +11 -6
  387. package/icons/plus/index.esm.min.js +1 -1
  388. package/icons/plus/index.js +11 -6
  389. package/icons/plus/index.min.js +1 -1
  390. package/icons/refresh/index.cjs.js +11 -6
  391. package/icons/refresh/index.cjs.min.js +1 -1
  392. package/icons/refresh/index.esm.js +11 -6
  393. package/icons/refresh/index.esm.min.js +1 -1
  394. package/icons/refresh/index.js +11 -6
  395. package/icons/refresh/index.min.js +1 -1
  396. package/icons/search/index.cjs.js +11 -6
  397. package/icons/search/index.cjs.min.js +1 -1
  398. package/icons/search/index.esm.js +11 -6
  399. package/icons/search/index.esm.min.js +1 -1
  400. package/icons/search/index.js +11 -6
  401. package/icons/search/index.min.js +1 -1
  402. package/icons/searchminus/index.cjs.js +11 -6
  403. package/icons/searchminus/index.cjs.min.js +1 -1
  404. package/icons/searchminus/index.esm.js +11 -6
  405. package/icons/searchminus/index.esm.min.js +1 -1
  406. package/icons/searchminus/index.js +11 -6
  407. package/icons/searchminus/index.min.js +1 -1
  408. package/icons/searchplus/index.cjs.js +11 -6
  409. package/icons/searchplus/index.cjs.min.js +1 -1
  410. package/icons/searchplus/index.esm.js +11 -6
  411. package/icons/searchplus/index.esm.min.js +1 -1
  412. package/icons/searchplus/index.js +11 -6
  413. package/icons/searchplus/index.min.js +1 -1
  414. package/icons/sortalt/index.cjs.js +11 -6
  415. package/icons/sortalt/index.cjs.min.js +1 -1
  416. package/icons/sortalt/index.esm.js +11 -6
  417. package/icons/sortalt/index.esm.min.js +1 -1
  418. package/icons/sortalt/index.js +11 -6
  419. package/icons/sortalt/index.min.js +1 -1
  420. package/icons/sortamountdown/index.cjs.js +11 -6
  421. package/icons/sortamountdown/index.cjs.min.js +1 -1
  422. package/icons/sortamountdown/index.esm.js +11 -6
  423. package/icons/sortamountdown/index.esm.min.js +1 -1
  424. package/icons/sortamountdown/index.js +11 -6
  425. package/icons/sortamountdown/index.min.js +1 -1
  426. package/icons/sortamountupalt/index.cjs.js +11 -6
  427. package/icons/sortamountupalt/index.cjs.min.js +1 -1
  428. package/icons/sortamountupalt/index.esm.js +11 -6
  429. package/icons/sortamountupalt/index.esm.min.js +1 -1
  430. package/icons/sortamountupalt/index.js +11 -6
  431. package/icons/sortamountupalt/index.min.js +1 -1
  432. package/icons/spinner/index.cjs.js +11 -6
  433. package/icons/spinner/index.cjs.min.js +1 -1
  434. package/icons/spinner/index.esm.js +11 -6
  435. package/icons/spinner/index.esm.min.js +1 -1
  436. package/icons/spinner/index.js +11 -6
  437. package/icons/spinner/index.min.js +1 -1
  438. package/icons/star/index.cjs.js +11 -6
  439. package/icons/star/index.cjs.min.js +1 -1
  440. package/icons/star/index.esm.js +11 -6
  441. package/icons/star/index.esm.min.js +1 -1
  442. package/icons/star/index.js +11 -6
  443. package/icons/star/index.min.js +1 -1
  444. package/icons/starfill/index.cjs.js +11 -6
  445. package/icons/starfill/index.cjs.min.js +1 -1
  446. package/icons/starfill/index.esm.js +11 -6
  447. package/icons/starfill/index.esm.min.js +1 -1
  448. package/icons/starfill/index.js +11 -6
  449. package/icons/starfill/index.min.js +1 -1
  450. package/icons/thlarge/index.cjs.js +11 -6
  451. package/icons/thlarge/index.cjs.min.js +1 -1
  452. package/icons/thlarge/index.esm.js +11 -6
  453. package/icons/thlarge/index.esm.min.js +1 -1
  454. package/icons/thlarge/index.js +11 -6
  455. package/icons/thlarge/index.min.js +1 -1
  456. package/icons/times/index.cjs.js +11 -6
  457. package/icons/times/index.cjs.min.js +1 -1
  458. package/icons/times/index.esm.js +11 -6
  459. package/icons/times/index.esm.min.js +1 -1
  460. package/icons/times/index.js +11 -6
  461. package/icons/times/index.min.js +1 -1
  462. package/icons/timescircle/index.cjs.js +11 -6
  463. package/icons/timescircle/index.cjs.min.js +1 -1
  464. package/icons/timescircle/index.esm.js +11 -6
  465. package/icons/timescircle/index.esm.min.js +1 -1
  466. package/icons/timescircle/index.js +11 -6
  467. package/icons/timescircle/index.min.js +1 -1
  468. package/icons/trash/index.cjs.js +11 -6
  469. package/icons/trash/index.cjs.min.js +1 -1
  470. package/icons/trash/index.esm.js +11 -6
  471. package/icons/trash/index.esm.min.js +1 -1
  472. package/icons/trash/index.js +11 -6
  473. package/icons/trash/index.min.js +1 -1
  474. package/icons/undo/index.cjs.js +11 -6
  475. package/icons/undo/index.cjs.min.js +1 -1
  476. package/icons/undo/index.esm.js +11 -6
  477. package/icons/undo/index.esm.min.js +1 -1
  478. package/icons/undo/index.js +11 -6
  479. package/icons/undo/index.min.js +1 -1
  480. package/icons/upload/index.cjs.js +11 -6
  481. package/icons/upload/index.cjs.min.js +1 -1
  482. package/icons/upload/index.esm.js +11 -6
  483. package/icons/upload/index.esm.min.js +1 -1
  484. package/icons/upload/index.js +11 -6
  485. package/icons/upload/index.min.js +1 -1
  486. package/icons/windowmaximize/index.cjs.js +11 -6
  487. package/icons/windowmaximize/index.cjs.min.js +1 -1
  488. package/icons/windowmaximize/index.esm.js +11 -6
  489. package/icons/windowmaximize/index.esm.min.js +1 -1
  490. package/icons/windowmaximize/index.js +11 -6
  491. package/icons/windowmaximize/index.min.js +1 -1
  492. package/icons/windowminimize/index.cjs.js +11 -6
  493. package/icons/windowminimize/index.cjs.min.js +1 -1
  494. package/icons/windowminimize/index.esm.js +11 -6
  495. package/icons/windowminimize/index.esm.min.js +1 -1
  496. package/icons/windowminimize/index.js +11 -6
  497. package/icons/windowminimize/index.min.js +1 -1
  498. package/image/image.cjs.js +49 -37
  499. package/image/image.cjs.min.js +1 -1
  500. package/image/image.esm.js +49 -37
  501. package/image/image.esm.min.js +1 -1
  502. package/image/image.js +49 -37
  503. package/image/image.min.js +1 -1
  504. package/inplace/inplace.cjs.js +15 -14
  505. package/inplace/inplace.cjs.min.js +1 -1
  506. package/inplace/inplace.esm.js +15 -14
  507. package/inplace/inplace.esm.min.js +1 -1
  508. package/inplace/inplace.js +15 -14
  509. package/inplace/inplace.min.js +1 -1
  510. package/inputicon/inputicon.cjs.js +34 -23
  511. package/inputicon/inputicon.cjs.min.js +1 -1
  512. package/inputicon/inputicon.esm.js +34 -23
  513. package/inputicon/inputicon.esm.min.js +1 -1
  514. package/inputicon/inputicon.js +34 -23
  515. package/inputicon/inputicon.min.js +1 -1
  516. package/inputmask/inputmask.cjs.js +11 -6
  517. package/inputmask/inputmask.cjs.min.js +1 -1
  518. package/inputmask/inputmask.esm.js +11 -6
  519. package/inputmask/inputmask.esm.min.js +1 -1
  520. package/inputmask/inputmask.js +11 -6
  521. package/inputmask/inputmask.min.js +1 -1
  522. package/inputnumber/inputnumber.cjs.js +55 -43
  523. package/inputnumber/inputnumber.cjs.min.js +1 -1
  524. package/inputnumber/inputnumber.esm.js +55 -43
  525. package/inputnumber/inputnumber.esm.min.js +1 -1
  526. package/inputnumber/inputnumber.js +55 -43
  527. package/inputnumber/inputnumber.min.js +1 -1
  528. package/inputotp/inputotp.cjs.js +55 -43
  529. package/inputotp/inputotp.cjs.min.js +1 -1
  530. package/inputotp/inputotp.esm.js +55 -43
  531. package/inputotp/inputotp.esm.min.js +1 -1
  532. package/inputotp/inputotp.js +55 -43
  533. package/inputotp/inputotp.min.js +1 -1
  534. package/inputswitch/inputswitch.cjs.js +34 -23
  535. package/inputswitch/inputswitch.cjs.min.js +1 -1
  536. package/inputswitch/inputswitch.esm.js +34 -23
  537. package/inputswitch/inputswitch.esm.min.js +1 -1
  538. package/inputswitch/inputswitch.js +34 -23
  539. package/inputswitch/inputswitch.min.js +1 -1
  540. package/inputtext/inputtext.cjs.js +34 -23
  541. package/inputtext/inputtext.cjs.min.js +1 -1
  542. package/inputtext/inputtext.esm.js +34 -23
  543. package/inputtext/inputtext.esm.min.js +1 -1
  544. package/inputtext/inputtext.js +34 -23
  545. package/inputtext/inputtext.min.js +1 -1
  546. package/inputtextarea/inputtextarea.cjs.js +43 -24
  547. package/inputtextarea/inputtextarea.cjs.min.js +1 -1
  548. package/inputtextarea/inputtextarea.esm.js +43 -24
  549. package/inputtextarea/inputtextarea.esm.min.js +1 -1
  550. package/inputtextarea/inputtextarea.js +43 -24
  551. package/inputtextarea/inputtextarea.min.js +1 -1
  552. package/keyfilter/keyfilter.cjs.js +17 -16
  553. package/keyfilter/keyfilter.cjs.min.js +1 -1
  554. package/keyfilter/keyfilter.esm.js +17 -16
  555. package/keyfilter/keyfilter.esm.min.js +1 -1
  556. package/keyfilter/keyfilter.js +17 -16
  557. package/keyfilter/keyfilter.min.js +1 -1
  558. package/knob/knob.cjs.js +15 -14
  559. package/knob/knob.cjs.min.js +1 -1
  560. package/knob/knob.esm.js +15 -14
  561. package/knob/knob.esm.min.js +1 -1
  562. package/knob/knob.js +15 -14
  563. package/knob/knob.min.js +1 -1
  564. package/listbox/listbox.cjs.js +58 -46
  565. package/listbox/listbox.cjs.min.js +1 -1
  566. package/listbox/listbox.esm.js +58 -46
  567. package/listbox/listbox.esm.min.js +1 -1
  568. package/listbox/listbox.js +58 -46
  569. package/listbox/listbox.min.js +1 -1
  570. package/megamenu/megamenu.cjs.js +51 -39
  571. package/megamenu/megamenu.cjs.min.js +1 -1
  572. package/megamenu/megamenu.esm.js +51 -39
  573. package/megamenu/megamenu.esm.min.js +1 -1
  574. package/megamenu/megamenu.js +51 -39
  575. package/megamenu/megamenu.min.js +1 -1
  576. package/mention/mention.cjs.js +64 -44
  577. package/mention/mention.cjs.min.js +1 -1
  578. package/mention/mention.esm.js +64 -44
  579. package/mention/mention.esm.min.js +1 -1
  580. package/mention/mention.js +64 -44
  581. package/mention/mention.min.js +1 -1
  582. package/menu/menu.cjs.js +73 -54
  583. package/menu/menu.cjs.min.js +1 -1
  584. package/menu/menu.esm.js +73 -54
  585. package/menu/menu.esm.min.js +1 -1
  586. package/menu/menu.js +73 -54
  587. package/menu/menu.min.js +1 -1
  588. package/menubar/menubar.cjs.js +49 -37
  589. package/menubar/menubar.cjs.min.js +1 -1
  590. package/menubar/menubar.esm.js +49 -37
  591. package/menubar/menubar.esm.min.js +1 -1
  592. package/menubar/menubar.js +49 -37
  593. package/menubar/menubar.min.js +1 -1
  594. package/message/message.cjs.js +34 -23
  595. package/message/message.cjs.min.js +1 -1
  596. package/message/message.esm.js +34 -23
  597. package/message/message.esm.min.js +1 -1
  598. package/message/message.js +34 -23
  599. package/message/message.min.js +1 -1
  600. package/messages/messages.cjs.js +56 -44
  601. package/messages/messages.cjs.min.js +1 -1
  602. package/messages/messages.esm.js +56 -44
  603. package/messages/messages.esm.min.js +1 -1
  604. package/messages/messages.js +56 -44
  605. package/messages/messages.min.js +1 -1
  606. package/metergroup/metergroup.cjs.js +34 -23
  607. package/metergroup/metergroup.cjs.min.js +1 -1
  608. package/metergroup/metergroup.esm.js +34 -23
  609. package/metergroup/metergroup.esm.min.js +1 -1
  610. package/metergroup/metergroup.js +34 -23
  611. package/metergroup/metergroup.min.js +1 -1
  612. package/multiselect/multiselect.cjs.js +67 -55
  613. package/multiselect/multiselect.cjs.min.js +1 -1
  614. package/multiselect/multiselect.esm.js +68 -56
  615. package/multiselect/multiselect.esm.min.js +1 -1
  616. package/multiselect/multiselect.js +67 -55
  617. package/multiselect/multiselect.min.js +1 -1
  618. package/multistatecheckbox/multistatecheckbox.cjs.js +56 -44
  619. package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
  620. package/multistatecheckbox/multistatecheckbox.esm.js +56 -44
  621. package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
  622. package/multistatecheckbox/multistatecheckbox.js +56 -44
  623. package/multistatecheckbox/multistatecheckbox.min.js +1 -1
  624. package/orderlist/orderlist.cjs.js +55 -43
  625. package/orderlist/orderlist.cjs.min.js +1 -1
  626. package/orderlist/orderlist.esm.js +55 -43
  627. package/orderlist/orderlist.esm.min.js +1 -1
  628. package/orderlist/orderlist.js +55 -43
  629. package/orderlist/orderlist.min.js +1 -1
  630. package/organizationchart/organizationchart.cjs.js +55 -43
  631. package/organizationchart/organizationchart.cjs.min.js +1 -1
  632. package/organizationchart/organizationchart.esm.js +55 -43
  633. package/organizationchart/organizationchart.esm.min.js +1 -1
  634. package/organizationchart/organizationchart.js +55 -43
  635. package/organizationchart/organizationchart.min.js +1 -1
  636. package/overlaypanel/overlaypanel.cjs.js +50 -39
  637. package/overlaypanel/overlaypanel.cjs.min.js +1 -1
  638. package/overlaypanel/overlaypanel.esm.js +51 -40
  639. package/overlaypanel/overlaypanel.esm.min.js +1 -1
  640. package/overlaypanel/overlaypanel.js +50 -39
  641. package/overlaypanel/overlaypanel.min.js +1 -1
  642. package/overlayservice/overlayservice.min.js +1 -1
  643. package/package.json +1 -1
  644. package/paginator/paginator.cjs.js +56 -41
  645. package/paginator/paginator.cjs.min.js +1 -1
  646. package/paginator/paginator.esm.js +56 -41
  647. package/paginator/paginator.esm.min.js +1 -1
  648. package/paginator/paginator.js +56 -41
  649. package/paginator/paginator.min.js +1 -1
  650. package/panel/panel.cjs.js +26 -20
  651. package/panel/panel.cjs.min.js +1 -1
  652. package/panel/panel.esm.js +26 -20
  653. package/panel/panel.esm.min.js +1 -1
  654. package/panel/panel.js +26 -20
  655. package/panel/panel.min.js +1 -1
  656. package/panelmenu/panelmenu.cjs.js +49 -37
  657. package/panelmenu/panelmenu.cjs.min.js +1 -1
  658. package/panelmenu/panelmenu.esm.js +49 -37
  659. package/panelmenu/panelmenu.esm.min.js +1 -1
  660. package/panelmenu/panelmenu.js +49 -37
  661. package/panelmenu/panelmenu.min.js +1 -1
  662. package/passthrough/index.cjs.js +23 -17
  663. package/passthrough/index.cjs.min.js +1 -1
  664. package/passthrough/index.esm.js +23 -17
  665. package/passthrough/index.esm.min.js +1 -1
  666. package/passthrough/index.js +23 -17
  667. package/passthrough/index.min.js +1 -1
  668. package/passthrough/tailwind/index.cjs.js +15 -14
  669. package/passthrough/tailwind/index.cjs.min.js +1 -1
  670. package/passthrough/tailwind/index.esm.js +15 -14
  671. package/passthrough/tailwind/index.esm.min.js +1 -1
  672. package/passthrough/tailwind/index.js +15 -14
  673. package/passthrough/tailwind/index.min.js +1 -1
  674. package/password/password.cjs.js +49 -37
  675. package/password/password.cjs.min.js +1 -1
  676. package/password/password.esm.js +49 -37
  677. package/password/password.esm.min.js +1 -1
  678. package/password/password.js +49 -37
  679. package/password/password.min.js +1 -1
  680. package/picklist/picklist.cjs.js +64 -49
  681. package/picklist/picklist.cjs.min.js +1 -1
  682. package/picklist/picklist.esm.js +64 -49
  683. package/picklist/picklist.esm.min.js +1 -1
  684. package/picklist/picklist.js +64 -49
  685. package/picklist/picklist.min.js +1 -1
  686. package/portal/portal.cjs.js +15 -14
  687. package/portal/portal.cjs.min.js +1 -1
  688. package/portal/portal.esm.js +15 -14
  689. package/portal/portal.esm.min.js +1 -1
  690. package/portal/portal.js +15 -14
  691. package/portal/portal.min.js +1 -1
  692. package/primereact.all.cjs.js +348 -242
  693. package/primereact.all.cjs.min.js +1 -1
  694. package/primereact.all.esm.js +348 -242
  695. package/primereact.all.esm.min.js +1 -1
  696. package/primereact.all.js +348 -242
  697. package/primereact.all.min.js +1 -1
  698. package/progressbar/progressbar.cjs.js +34 -23
  699. package/progressbar/progressbar.cjs.min.js +1 -1
  700. package/progressbar/progressbar.esm.js +34 -23
  701. package/progressbar/progressbar.esm.min.js +1 -1
  702. package/progressbar/progressbar.js +34 -23
  703. package/progressbar/progressbar.min.js +1 -1
  704. package/radiobutton/radiobutton.cjs.js +34 -23
  705. package/radiobutton/radiobutton.cjs.min.js +1 -1
  706. package/radiobutton/radiobutton.esm.js +34 -23
  707. package/radiobutton/radiobutton.esm.min.js +1 -1
  708. package/radiobutton/radiobutton.js +34 -23
  709. package/radiobutton/radiobutton.min.js +1 -1
  710. package/rating/rating.cjs.js +49 -37
  711. package/rating/rating.cjs.min.js +1 -1
  712. package/rating/rating.esm.js +49 -37
  713. package/rating/rating.esm.min.js +1 -1
  714. package/rating/rating.js +49 -37
  715. package/rating/rating.min.js +1 -1
  716. package/ripple/ripple.cjs.js +49 -37
  717. package/ripple/ripple.cjs.min.js +1 -1
  718. package/ripple/ripple.esm.js +49 -37
  719. package/ripple/ripple.esm.min.js +1 -1
  720. package/ripple/ripple.js +49 -37
  721. package/ripple/ripple.min.js +1 -1
  722. package/scrollpanel/scrollpanel.cjs.js +27 -20
  723. package/scrollpanel/scrollpanel.cjs.min.js +1 -1
  724. package/scrollpanel/scrollpanel.esm.js +27 -20
  725. package/scrollpanel/scrollpanel.esm.min.js +1 -1
  726. package/scrollpanel/scrollpanel.js +27 -20
  727. package/scrollpanel/scrollpanel.min.js +1 -1
  728. package/scrolltop/scrolltop.cjs.js +49 -37
  729. package/scrolltop/scrolltop.cjs.min.js +1 -1
  730. package/scrolltop/scrolltop.esm.js +49 -37
  731. package/scrolltop/scrolltop.esm.min.js +1 -1
  732. package/scrolltop/scrolltop.js +49 -37
  733. package/scrolltop/scrolltop.min.js +1 -1
  734. package/selectbutton/selectbutton.cjs.js +32 -26
  735. package/selectbutton/selectbutton.cjs.min.js +1 -1
  736. package/selectbutton/selectbutton.esm.js +32 -26
  737. package/selectbutton/selectbutton.esm.min.js +1 -1
  738. package/selectbutton/selectbutton.js +32 -26
  739. package/selectbutton/selectbutton.min.js +1 -1
  740. package/sidebar/sidebar.cjs.js +50 -39
  741. package/sidebar/sidebar.cjs.min.js +1 -1
  742. package/sidebar/sidebar.esm.js +51 -40
  743. package/sidebar/sidebar.esm.min.js +1 -1
  744. package/sidebar/sidebar.js +50 -39
  745. package/sidebar/sidebar.min.js +1 -1
  746. package/skeleton/skeleton.cjs.js +23 -17
  747. package/skeleton/skeleton.cjs.min.js +1 -1
  748. package/skeleton/skeleton.esm.js +23 -17
  749. package/skeleton/skeleton.esm.min.js +1 -1
  750. package/skeleton/skeleton.js +23 -17
  751. package/skeleton/skeleton.min.js +1 -1
  752. package/slidemenu/slidemenu.cjs.js +49 -37
  753. package/slidemenu/slidemenu.cjs.min.js +1 -1
  754. package/slidemenu/slidemenu.esm.js +49 -37
  755. package/slidemenu/slidemenu.esm.min.js +1 -1
  756. package/slidemenu/slidemenu.js +49 -37
  757. package/slidemenu/slidemenu.min.js +1 -1
  758. package/slider/slider.cjs.js +55 -43
  759. package/slider/slider.cjs.min.js +1 -1
  760. package/slider/slider.esm.js +55 -43
  761. package/slider/slider.esm.min.js +1 -1
  762. package/slider/slider.js +55 -43
  763. package/slider/slider.min.js +1 -1
  764. package/speeddial/speeddial.cjs.js +55 -43
  765. package/speeddial/speeddial.cjs.min.js +1 -1
  766. package/speeddial/speeddial.esm.js +55 -43
  767. package/speeddial/speeddial.esm.min.js +1 -1
  768. package/speeddial/speeddial.js +55 -43
  769. package/speeddial/speeddial.min.js +1 -1
  770. package/splitbutton/splitbutton.cjs.js +49 -37
  771. package/splitbutton/splitbutton.cjs.min.js +1 -1
  772. package/splitbutton/splitbutton.esm.js +49 -37
  773. package/splitbutton/splitbutton.esm.min.js +1 -1
  774. package/splitbutton/splitbutton.js +49 -37
  775. package/splitbutton/splitbutton.min.js +1 -1
  776. package/splitter/splitter.cjs.js +55 -43
  777. package/splitter/splitter.cjs.min.js +1 -1
  778. package/splitter/splitter.esm.js +55 -43
  779. package/splitter/splitter.esm.min.js +1 -1
  780. package/splitter/splitter.js +55 -43
  781. package/splitter/splitter.min.js +1 -1
  782. package/stepper/stepper.cjs.js +49 -37
  783. package/stepper/stepper.cjs.min.js +1 -1
  784. package/stepper/stepper.esm.js +49 -37
  785. package/stepper/stepper.esm.min.js +1 -1
  786. package/stepper/stepper.js +49 -37
  787. package/stepper/stepper.min.js +1 -1
  788. package/steps/steps.cjs.js +49 -37
  789. package/steps/steps.cjs.min.js +1 -1
  790. package/steps/steps.esm.js +49 -37
  791. package/steps/steps.esm.min.js +1 -1
  792. package/steps/steps.js +49 -37
  793. package/steps/steps.min.js +1 -1
  794. package/styleclass/styleclass.cjs.js +15 -14
  795. package/styleclass/styleclass.cjs.min.js +1 -1
  796. package/styleclass/styleclass.esm.js +15 -14
  797. package/styleclass/styleclass.esm.min.js +1 -1
  798. package/styleclass/styleclass.js +15 -14
  799. package/styleclass/styleclass.min.js +1 -1
  800. package/tabmenu/tabmenu.cjs.js +49 -37
  801. package/tabmenu/tabmenu.cjs.min.js +1 -1
  802. package/tabmenu/tabmenu.esm.js +49 -37
  803. package/tabmenu/tabmenu.esm.min.js +1 -1
  804. package/tabmenu/tabmenu.js +49 -37
  805. package/tabmenu/tabmenu.min.js +1 -1
  806. package/tabview/tabview.cjs.js +61 -38
  807. package/tabview/tabview.cjs.min.js +1 -1
  808. package/tabview/tabview.esm.js +61 -38
  809. package/tabview/tabview.esm.min.js +1 -1
  810. package/tabview/tabview.js +61 -38
  811. package/tabview/tabview.min.js +1 -1
  812. package/tag/tag.cjs.js +23 -17
  813. package/tag/tag.cjs.min.js +1 -1
  814. package/tag/tag.esm.js +23 -17
  815. package/tag/tag.esm.min.js +1 -1
  816. package/tag/tag.js +23 -17
  817. package/tag/tag.min.js +1 -1
  818. package/terminal/terminal.cjs.js +21 -20
  819. package/terminal/terminal.cjs.min.js +1 -1
  820. package/terminal/terminal.esm.js +21 -20
  821. package/terminal/terminal.esm.min.js +1 -1
  822. package/terminal/terminal.js +21 -20
  823. package/terminal/terminal.min.js +1 -1
  824. package/terminalservice/terminalservice.min.js +1 -1
  825. package/tieredmenu/tieredmenu.cjs.js +49 -37
  826. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  827. package/tieredmenu/tieredmenu.esm.js +49 -37
  828. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  829. package/tieredmenu/tieredmenu.js +49 -37
  830. package/tieredmenu/tieredmenu.min.js +1 -1
  831. package/timeline/timeline.cjs.js +34 -23
  832. package/timeline/timeline.cjs.min.js +1 -1
  833. package/timeline/timeline.esm.js +34 -23
  834. package/timeline/timeline.esm.min.js +1 -1
  835. package/timeline/timeline.js +34 -23
  836. package/timeline/timeline.min.js +1 -1
  837. package/toast/toast.cjs.js +60 -277
  838. package/toast/toast.cjs.min.js +1 -1
  839. package/toast/toast.esm.js +61 -278
  840. package/toast/toast.esm.min.js +1 -1
  841. package/toast/toast.js +60 -277
  842. package/toast/toast.min.js +1 -1
  843. package/togglebutton/togglebutton.cjs.js +34 -23
  844. package/togglebutton/togglebutton.cjs.min.js +1 -1
  845. package/togglebutton/togglebutton.esm.js +34 -23
  846. package/togglebutton/togglebutton.esm.min.js +1 -1
  847. package/togglebutton/togglebutton.js +34 -23
  848. package/togglebutton/togglebutton.min.js +1 -1
  849. package/tooltip/tooltip.cjs.js +59 -45
  850. package/tooltip/tooltip.cjs.min.js +1 -1
  851. package/tooltip/tooltip.esm.js +60 -46
  852. package/tooltip/tooltip.esm.min.js +1 -1
  853. package/tooltip/tooltip.js +59 -45
  854. package/tooltip/tooltip.min.js +1 -1
  855. package/tree/tree.cjs.js +67 -55
  856. package/tree/tree.cjs.min.js +1 -1
  857. package/tree/tree.esm.js +67 -55
  858. package/tree/tree.esm.min.js +1 -1
  859. package/tree/tree.js +67 -55
  860. package/tree/tree.min.js +1 -1
  861. package/treeselect/treeselect.cjs.js +59 -47
  862. package/treeselect/treeselect.cjs.min.js +1 -1
  863. package/treeselect/treeselect.esm.js +60 -48
  864. package/treeselect/treeselect.esm.min.js +1 -1
  865. package/treeselect/treeselect.js +59 -47
  866. package/treeselect/treeselect.min.js +1 -1
  867. package/treetable/treetable.cjs.js +111 -91
  868. package/treetable/treetable.cjs.min.js +1 -1
  869. package/treetable/treetable.esm.js +111 -91
  870. package/treetable/treetable.esm.min.js +1 -1
  871. package/treetable/treetable.js +111 -91
  872. package/treetable/treetable.min.js +1 -1
  873. package/tristatecheckbox/tristatecheckbox.cjs.js +50 -38
  874. package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
  875. package/tristatecheckbox/tristatecheckbox.esm.js +50 -38
  876. package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
  877. package/tristatecheckbox/tristatecheckbox.js +50 -38
  878. package/tristatecheckbox/tristatecheckbox.min.js +1 -1
  879. package/utils/utils.cjs.js +88 -67
  880. package/utils/utils.cjs.min.js +1 -1
  881. package/utils/utils.esm.js +88 -67
  882. package/utils/utils.esm.min.js +1 -1
  883. package/utils/utils.js +88 -67
  884. package/utils/utils.min.js +1 -1
  885. package/virtualscroller/virtualscroller.cjs.js +63 -40
  886. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  887. package/virtualscroller/virtualscroller.esm.js +64 -41
  888. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  889. package/virtualscroller/virtualscroller.js +63 -40
  890. package/virtualscroller/virtualscroller.min.js +1 -1
  891. package/web-types.json +4 -4
@@ -27,13 +27,18 @@ function _interopNamespace(e) {
27
27
  var React__namespace = /*#__PURE__*/_interopNamespace(React);
28
28
 
29
29
  function _extends() {
30
- return _extends = Object.assign ? Object.assign.bind() : function (n) {
31
- for (var e = 1; e < arguments.length; e++) {
32
- var t = arguments[e];
33
- for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
30
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
31
+ for (var i = 1; i < arguments.length; i++) {
32
+ var source = arguments[i];
33
+ for (var key in source) {
34
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
35
+ target[key] = source[key];
36
+ }
37
+ }
34
38
  }
35
- return n;
36
- }, _extends.apply(null, arguments);
39
+ return target;
40
+ };
41
+ return _extends.apply(this, arguments);
37
42
  }
38
43
 
39
44
  var WindowMinimizeIcon = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("primereact/iconbase");function C(e){if(e&&e.__esModule)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(C){if("default"!==C){var t=Object.getOwnPropertyDescriptor(e,C);Object.defineProperty(r,C,t.get?t:{enumerable:!0,get:function(){return e[C]}})}})),r.default=e,Object.freeze(r)}var t=C(e);function n(){return n=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var C=arguments[r];for(var t in C)({}).hasOwnProperty.call(C,t)&&(e[t]=C[t])}return e},n.apply(null,arguments)}var i=t.memo(t.forwardRef((function(e,C){var i=r.IconBase.getPTI(e);return t.createElement("svg",n({ref:C,width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),t.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"}))})));i.displayName="WindowMinimizeIcon",exports.WindowMinimizeIcon=i;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("primereact/iconbase");function t(e){if(e&&e.__esModule)return e;var r=Object.create(null);return e&&Object.keys(e).forEach((function(t){if("default"!==t){var C=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,C.get?C:{enumerable:!0,get:function(){return e[t]}})}})),r.default=e,Object.freeze(r)}var C=t(e);function n(){return n=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var C in t)Object.prototype.hasOwnProperty.call(t,C)&&(e[C]=t[C])}return e},n.apply(this,arguments)}var i=C.memo(C.forwardRef((function(e,t){var i=r.IconBase.getPTI(e);return C.createElement("svg",n({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"}))})));i.displayName="WindowMinimizeIcon",exports.WindowMinimizeIcon=i;
@@ -3,13 +3,18 @@ import * as React from 'react';
3
3
  import { IconBase } from 'primereact/iconbase';
4
4
 
5
5
  function _extends() {
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]);
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
+ }
10
14
  }
11
- return n;
12
- }, _extends.apply(null, arguments);
15
+ return target;
16
+ };
17
+ return _extends.apply(this, arguments);
13
18
  }
14
19
 
15
20
  var WindowMinimizeIcon = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (inProps, 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 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};
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};
@@ -24,13 +24,18 @@ this.primereact.icons.windowminimize = (function (exports, React, iconbase) {
24
24
  var React__namespace = /*#__PURE__*/_interopNamespace(React);
25
25
 
26
26
  function _extends() {
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]);
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
+ }
31
35
  }
32
- return n;
33
- }, _extends.apply(null, arguments);
36
+ return target;
37
+ };
38
+ return _extends.apply(this, arguments);
34
39
  }
35
40
 
36
41
  var WindowMinimizeIcon = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
@@ -1 +1 @@
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);
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);
@@ -42,13 +42,18 @@ var React__namespace = /*#__PURE__*/_interopNamespace(React);
42
42
  var PrimeReact__default = /*#__PURE__*/_interopDefaultLegacy(PrimeReact);
43
43
 
44
44
  function _extends() {
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]);
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
+ }
49
53
  }
50
- return n;
51
- }, _extends.apply(null, arguments);
54
+ return target;
55
+ };
56
+ return _extends.apply(this, arguments);
52
57
  }
53
58
 
54
59
  function _typeof(o) {
@@ -61,33 +66,39 @@ function _typeof(o) {
61
66
  }, _typeof(o);
62
67
  }
63
68
 
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;
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;
70
75
  throw new TypeError("@@toPrimitive must return a primitive value.");
71
76
  }
72
- return ("string" === r ? String : Number)(t);
77
+ return (hint === "string" ? String : Number)(input);
73
78
  }
74
79
 
75
- function toPropertyKey(t) {
76
- var i = toPrimitive(t, "string");
77
- return "symbol" == _typeof(i) ? i : i + "";
80
+ function _toPropertyKey(arg) {
81
+ var key = _toPrimitive(arg, "string");
82
+ return _typeof(key) === "symbol" ? key : String(key);
78
83
  }
79
84
 
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;
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;
87
98
  }
88
99
 
89
- function _arrayWithHoles(r) {
90
- if (Array.isArray(r)) return r;
100
+ function _arrayWithHoles(arr) {
101
+ if (Array.isArray(arr)) return arr;
91
102
  }
92
103
 
93
104
  function _iterableToArrayLimit(r, l) {
@@ -118,26 +129,27 @@ function _iterableToArrayLimit(r, l) {
118
129
  }
119
130
  }
120
131
 
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;
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;
125
136
  }
126
137
 
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
- }
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);
133
145
  }
134
146
 
135
147
  function _nonIterableRest() {
136
148
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
137
149
  }
138
150
 
139
- function _slicedToArray(r, e) {
140
- return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
151
+ function _slicedToArray(arr, i) {
152
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
141
153
  }
142
154
 
143
155
  var DownloadIcon = /*#__PURE__*/React__namespace.memo(/*#__PURE__*/React__namespace.forwardRef(function (inProps, ref) {
@@ -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)({}).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;
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;
@@ -15,13 +15,18 @@ import { Portal } from 'primereact/portal';
15
15
  import { classNames, DomHandler, ZIndexUtils, IconUtils, ObjectUtils } from 'primereact/utils';
16
16
 
17
17
  function _extends() {
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]);
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
+ }
22
26
  }
23
- return n;
24
- }, _extends.apply(null, arguments);
27
+ return target;
28
+ };
29
+ return _extends.apply(this, arguments);
25
30
  }
26
31
 
27
32
  function _typeof(o) {
@@ -34,33 +39,39 @@ function _typeof(o) {
34
39
  }, _typeof(o);
35
40
  }
36
41
 
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;
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;
43
48
  throw new TypeError("@@toPrimitive must return a primitive value.");
44
49
  }
45
- return ("string" === r ? String : Number)(t);
50
+ return (hint === "string" ? String : Number)(input);
46
51
  }
47
52
 
48
- function toPropertyKey(t) {
49
- var i = toPrimitive(t, "string");
50
- return "symbol" == _typeof(i) ? i : i + "";
53
+ function _toPropertyKey(arg) {
54
+ var key = _toPrimitive(arg, "string");
55
+ return _typeof(key) === "symbol" ? key : String(key);
51
56
  }
52
57
 
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;
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;
60
71
  }
61
72
 
62
- function _arrayWithHoles(r) {
63
- if (Array.isArray(r)) return r;
73
+ function _arrayWithHoles(arr) {
74
+ if (Array.isArray(arr)) return arr;
64
75
  }
65
76
 
66
77
  function _iterableToArrayLimit(r, l) {
@@ -91,26 +102,27 @@ function _iterableToArrayLimit(r, l) {
91
102
  }
92
103
  }
93
104
 
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;
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;
98
109
  }
99
110
 
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
- }
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);
106
118
  }
107
119
 
108
120
  function _nonIterableRest() {
109
121
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
110
122
  }
111
123
 
112
- function _slicedToArray(r, e) {
113
- return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
124
+ function _slicedToArray(arr, i) {
125
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
114
126
  }
115
127
 
116
128
  var DownloadIcon = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (inProps, ref) {
@@ -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)({}).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};
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};