primereact 10.8.4 → 10.8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (939) hide show
  1. package/accordion/accordion.cjs.js +43 -55
  2. package/accordion/accordion.cjs.min.js +1 -1
  3. package/accordion/accordion.esm.js +43 -55
  4. package/accordion/accordion.esm.min.js +1 -1
  5. package/accordion/accordion.js +43 -55
  6. package/accordion/accordion.min.js +1 -1
  7. package/api/api.cjs.js +61 -75
  8. package/api/api.cjs.min.js +1 -1
  9. package/api/api.esm.js +61 -75
  10. package/api/api.esm.min.js +1 -1
  11. package/api/api.js +61 -75
  12. package/api/api.min.js +1 -1
  13. package/autocomplete/autocomplete.cjs.js +72 -71
  14. package/autocomplete/autocomplete.cjs.min.js +1 -1
  15. package/autocomplete/autocomplete.esm.js +72 -71
  16. package/autocomplete/autocomplete.esm.min.js +1 -1
  17. package/autocomplete/autocomplete.js +72 -71
  18. package/autocomplete/autocomplete.min.js +1 -1
  19. package/avatar/avatar.cjs.js +37 -49
  20. package/avatar/avatar.cjs.min.js +1 -1
  21. package/avatar/avatar.esm.js +37 -49
  22. package/avatar/avatar.esm.min.js +1 -1
  23. package/avatar/avatar.js +37 -49
  24. package/avatar/avatar.min.js +1 -1
  25. package/badge/badge.cjs.js +17 -23
  26. package/badge/badge.cjs.min.js +1 -1
  27. package/badge/badge.esm.js +17 -23
  28. package/badge/badge.esm.min.js +1 -1
  29. package/badge/badge.js +17 -23
  30. package/badge/badge.min.js +1 -1
  31. package/blockui/blockui.cjs.js +37 -49
  32. package/blockui/blockui.cjs.min.js +1 -1
  33. package/blockui/blockui.esm.js +37 -49
  34. package/blockui/blockui.esm.min.js +1 -1
  35. package/blockui/blockui.js +37 -49
  36. package/blockui/blockui.min.js +1 -1
  37. package/breadcrumb/breadcrumb.cjs.js +37 -49
  38. package/breadcrumb/breadcrumb.cjs.min.js +1 -1
  39. package/breadcrumb/breadcrumb.esm.js +37 -49
  40. package/breadcrumb/breadcrumb.esm.min.js +1 -1
  41. package/breadcrumb/breadcrumb.js +37 -49
  42. package/breadcrumb/breadcrumb.min.js +1 -1
  43. package/button/button.cjs.js +23 -34
  44. package/button/button.cjs.min.js +1 -1
  45. package/button/button.esm.js +23 -34
  46. package/button/button.esm.min.js +1 -1
  47. package/button/button.js +23 -34
  48. package/button/button.min.js +1 -1
  49. package/calendar/calendar.cjs.js +48 -60
  50. package/calendar/calendar.cjs.min.js +1 -1
  51. package/calendar/calendar.esm.js +48 -60
  52. package/calendar/calendar.esm.min.js +1 -1
  53. package/calendar/calendar.js +48 -60
  54. package/calendar/calendar.min.js +1 -1
  55. package/carousel/carousel.cjs.js +43 -55
  56. package/carousel/carousel.cjs.min.js +1 -1
  57. package/carousel/carousel.esm.js +43 -55
  58. package/carousel/carousel.esm.min.js +1 -1
  59. package/carousel/carousel.js +43 -55
  60. package/carousel/carousel.min.js +1 -1
  61. package/cascadeselect/cascadeselect.cjs.js +40 -52
  62. package/cascadeselect/cascadeselect.cjs.min.js +1 -1
  63. package/cascadeselect/cascadeselect.esm.js +40 -52
  64. package/cascadeselect/cascadeselect.esm.min.js +1 -1
  65. package/cascadeselect/cascadeselect.js +40 -52
  66. package/cascadeselect/cascadeselect.min.js +1 -1
  67. package/checkbox/checkbox.cjs.js +37 -49
  68. package/checkbox/checkbox.cjs.min.js +1 -1
  69. package/checkbox/checkbox.esm.js +37 -49
  70. package/checkbox/checkbox.esm.min.js +1 -1
  71. package/checkbox/checkbox.js +37 -49
  72. package/checkbox/checkbox.min.js +1 -1
  73. package/chip/chip.cjs.js +37 -49
  74. package/chip/chip.cjs.min.js +1 -1
  75. package/chip/chip.esm.js +37 -49
  76. package/chip/chip.esm.min.js +1 -1
  77. package/chip/chip.js +37 -49
  78. package/chip/chip.min.js +1 -1
  79. package/chips/chips.cjs.js +46 -56
  80. package/chips/chips.cjs.min.js +1 -1
  81. package/chips/chips.esm.js +46 -56
  82. package/chips/chips.esm.min.js +1 -1
  83. package/chips/chips.js +46 -56
  84. package/chips/chips.min.js +1 -1
  85. package/colorpicker/colorpicker.cjs.js +37 -49
  86. package/colorpicker/colorpicker.cjs.min.js +1 -1
  87. package/colorpicker/colorpicker.esm.js +37 -49
  88. package/colorpicker/colorpicker.esm.min.js +1 -1
  89. package/colorpicker/colorpicker.js +37 -49
  90. package/colorpicker/colorpicker.min.js +1 -1
  91. package/componentbase/componentbase.cjs.js +33 -40
  92. package/componentbase/componentbase.cjs.min.js +1 -1
  93. package/componentbase/componentbase.esm.js +33 -40
  94. package/componentbase/componentbase.esm.min.js +1 -1
  95. package/componentbase/componentbase.js +33 -40
  96. package/componentbase/componentbase.min.js +1 -1
  97. package/confirmdialog/confirmdialog.cjs.js +37 -49
  98. package/confirmdialog/confirmdialog.cjs.min.js +1 -1
  99. package/confirmdialog/confirmdialog.esm.js +37 -49
  100. package/confirmdialog/confirmdialog.esm.min.js +1 -1
  101. package/confirmdialog/confirmdialog.js +37 -49
  102. package/confirmdialog/confirmdialog.min.js +1 -1
  103. package/confirmpopup/confirmpopup.cjs.js +37 -49
  104. package/confirmpopup/confirmpopup.cjs.min.js +1 -1
  105. package/confirmpopup/confirmpopup.esm.js +37 -49
  106. package/confirmpopup/confirmpopup.esm.min.js +1 -1
  107. package/confirmpopup/confirmpopup.js +37 -49
  108. package/confirmpopup/confirmpopup.min.js +1 -1
  109. package/contextmenu/contextmenu.cjs.js +37 -49
  110. package/contextmenu/contextmenu.cjs.min.js +1 -1
  111. package/contextmenu/contextmenu.esm.js +37 -49
  112. package/contextmenu/contextmenu.esm.min.js +1 -1
  113. package/contextmenu/contextmenu.js +37 -49
  114. package/contextmenu/contextmenu.min.js +1 -1
  115. package/core/core.js +1008 -1436
  116. package/core/core.min.js +67 -67
  117. package/csstransition/csstransition.cjs.js +17 -23
  118. package/csstransition/csstransition.cjs.min.js +1 -1
  119. package/csstransition/csstransition.esm.js +17 -23
  120. package/csstransition/csstransition.esm.min.js +1 -1
  121. package/csstransition/csstransition.js +17 -23
  122. package/csstransition/csstransition.min.js +1 -1
  123. package/datascroller/datascroller.cjs.js +26 -32
  124. package/datascroller/datascroller.cjs.min.js +1 -1
  125. package/datascroller/datascroller.esm.js +26 -32
  126. package/datascroller/datascroller.esm.min.js +1 -1
  127. package/datascroller/datascroller.js +26 -32
  128. package/datascroller/datascroller.min.js +1 -1
  129. package/datatable/datatable.cjs.js +94 -113
  130. package/datatable/datatable.cjs.min.js +1 -1
  131. package/datatable/datatable.esm.js +94 -113
  132. package/datatable/datatable.esm.min.js +1 -1
  133. package/datatable/datatable.js +94 -113
  134. package/datatable/datatable.min.js +1 -1
  135. package/dataview/dataview.cjs.js +46 -58
  136. package/dataview/dataview.cjs.min.js +1 -1
  137. package/dataview/dataview.esm.js +46 -58
  138. package/dataview/dataview.esm.min.js +1 -1
  139. package/dataview/dataview.js +46 -58
  140. package/dataview/dataview.min.js +1 -1
  141. package/deferredcontent/deferredcontent.cjs.js +14 -15
  142. package/deferredcontent/deferredcontent.cjs.min.js +1 -1
  143. package/deferredcontent/deferredcontent.esm.js +14 -15
  144. package/deferredcontent/deferredcontent.esm.min.js +1 -1
  145. package/deferredcontent/deferredcontent.js +14 -15
  146. package/deferredcontent/deferredcontent.min.js +1 -1
  147. package/dialog/dialog.cjs.js +44 -56
  148. package/dialog/dialog.cjs.min.js +1 -1
  149. package/dialog/dialog.esm.js +44 -56
  150. package/dialog/dialog.esm.min.js +1 -1
  151. package/dialog/dialog.js +44 -56
  152. package/dialog/dialog.min.js +1 -1
  153. package/dock/dock.cjs.js +43 -55
  154. package/dock/dock.cjs.min.js +1 -1
  155. package/dock/dock.esm.js +43 -55
  156. package/dock/dock.esm.min.js +1 -1
  157. package/dock/dock.js +43 -55
  158. package/dock/dock.min.js +1 -1
  159. package/dropdown/dropdown.cjs.js +46 -58
  160. package/dropdown/dropdown.cjs.min.js +1 -1
  161. package/dropdown/dropdown.esm.js +46 -58
  162. package/dropdown/dropdown.esm.min.js +1 -1
  163. package/dropdown/dropdown.js +46 -58
  164. package/dropdown/dropdown.min.js +1 -1
  165. package/editor/editor.cjs.js +37 -49
  166. package/editor/editor.cjs.min.js +1 -1
  167. package/editor/editor.esm.js +37 -49
  168. package/editor/editor.esm.min.js +1 -1
  169. package/editor/editor.js +37 -49
  170. package/editor/editor.min.js +1 -1
  171. package/fieldset/fieldset.cjs.js +20 -26
  172. package/fieldset/fieldset.cjs.min.js +1 -1
  173. package/fieldset/fieldset.esm.js +20 -26
  174. package/fieldset/fieldset.esm.min.js +1 -1
  175. package/fieldset/fieldset.js +20 -26
  176. package/fieldset/fieldset.min.js +1 -1
  177. package/fileupload/fileupload.cjs.js +48 -60
  178. package/fileupload/fileupload.cjs.min.js +1 -1
  179. package/fileupload/fileupload.esm.js +48 -60
  180. package/fileupload/fileupload.esm.min.js +1 -1
  181. package/fileupload/fileupload.js +48 -60
  182. package/fileupload/fileupload.min.js +1 -1
  183. package/focustrap/focustrap.cjs.js +17 -23
  184. package/focustrap/focustrap.cjs.min.js +1 -1
  185. package/focustrap/focustrap.esm.js +17 -23
  186. package/focustrap/focustrap.esm.min.js +1 -1
  187. package/focustrap/focustrap.js +17 -23
  188. package/focustrap/focustrap.min.js +1 -1
  189. package/galleria/galleria.cjs.js +43 -55
  190. package/galleria/galleria.cjs.min.js +1 -1
  191. package/galleria/galleria.esm.js +43 -55
  192. package/galleria/galleria.esm.min.js +1 -1
  193. package/galleria/galleria.js +43 -55
  194. package/galleria/galleria.min.js +1 -1
  195. package/hooks/hooks.cjs.js +37 -44
  196. package/hooks/hooks.cjs.min.js +1 -1
  197. package/hooks/hooks.esm.js +37 -44
  198. package/hooks/hooks.esm.min.js +1 -1
  199. package/hooks/hooks.js +37 -44
  200. package/hooks/hooks.min.js +1 -1
  201. package/iconfield/iconfield.cjs.js +23 -34
  202. package/iconfield/iconfield.cjs.min.js +1 -1
  203. package/iconfield/iconfield.esm.js +23 -34
  204. package/iconfield/iconfield.esm.min.js +1 -1
  205. package/iconfield/iconfield.js +23 -34
  206. package/iconfield/iconfield.min.js +1 -1
  207. package/icons/angledoubledown/index.cjs.js +6 -11
  208. package/icons/angledoubledown/index.cjs.min.js +1 -1
  209. package/icons/angledoubledown/index.esm.js +6 -11
  210. package/icons/angledoubledown/index.esm.min.js +1 -1
  211. package/icons/angledoubledown/index.js +6 -11
  212. package/icons/angledoubledown/index.min.js +1 -1
  213. package/icons/angledoubleleft/index.cjs.js +6 -11
  214. package/icons/angledoubleleft/index.cjs.min.js +1 -1
  215. package/icons/angledoubleleft/index.esm.js +6 -11
  216. package/icons/angledoubleleft/index.esm.min.js +1 -1
  217. package/icons/angledoubleleft/index.js +6 -11
  218. package/icons/angledoubleleft/index.min.js +1 -1
  219. package/icons/angledoubleright/index.cjs.js +6 -11
  220. package/icons/angledoubleright/index.cjs.min.js +1 -1
  221. package/icons/angledoubleright/index.esm.js +6 -11
  222. package/icons/angledoubleright/index.esm.min.js +1 -1
  223. package/icons/angledoubleright/index.js +6 -11
  224. package/icons/angledoubleright/index.min.js +1 -1
  225. package/icons/angledoubleup/index.cjs.js +6 -11
  226. package/icons/angledoubleup/index.cjs.min.js +1 -1
  227. package/icons/angledoubleup/index.esm.js +6 -11
  228. package/icons/angledoubleup/index.esm.min.js +1 -1
  229. package/icons/angledoubleup/index.js +6 -11
  230. package/icons/angledoubleup/index.min.js +1 -1
  231. package/icons/angledown/index.cjs.js +6 -11
  232. package/icons/angledown/index.cjs.min.js +1 -1
  233. package/icons/angledown/index.esm.js +6 -11
  234. package/icons/angledown/index.esm.min.js +1 -1
  235. package/icons/angledown/index.js +6 -11
  236. package/icons/angledown/index.min.js +1 -1
  237. package/icons/angleleft/index.cjs.js +6 -11
  238. package/icons/angleleft/index.cjs.min.js +1 -1
  239. package/icons/angleleft/index.esm.js +6 -11
  240. package/icons/angleleft/index.esm.min.js +1 -1
  241. package/icons/angleleft/index.js +6 -11
  242. package/icons/angleleft/index.min.js +1 -1
  243. package/icons/angleright/index.cjs.js +6 -11
  244. package/icons/angleright/index.cjs.min.js +1 -1
  245. package/icons/angleright/index.esm.js +6 -11
  246. package/icons/angleright/index.esm.min.js +1 -1
  247. package/icons/angleright/index.js +6 -11
  248. package/icons/angleright/index.min.js +1 -1
  249. package/icons/angleup/index.cjs.js +6 -11
  250. package/icons/angleup/index.cjs.min.js +1 -1
  251. package/icons/angleup/index.esm.js +6 -11
  252. package/icons/angleup/index.esm.min.js +1 -1
  253. package/icons/angleup/index.js +6 -11
  254. package/icons/angleup/index.min.js +1 -1
  255. package/icons/arrowdown/index.cjs.js +6 -11
  256. package/icons/arrowdown/index.cjs.min.js +1 -1
  257. package/icons/arrowdown/index.esm.js +6 -11
  258. package/icons/arrowdown/index.esm.min.js +1 -1
  259. package/icons/arrowdown/index.js +6 -11
  260. package/icons/arrowdown/index.min.js +1 -1
  261. package/icons/arrowup/index.cjs.js +6 -11
  262. package/icons/arrowup/index.cjs.min.js +1 -1
  263. package/icons/arrowup/index.esm.js +6 -11
  264. package/icons/arrowup/index.esm.min.js +1 -1
  265. package/icons/arrowup/index.js +6 -11
  266. package/icons/arrowup/index.min.js +1 -1
  267. package/icons/ban/index.cjs.js +6 -11
  268. package/icons/ban/index.cjs.min.js +1 -1
  269. package/icons/ban/index.esm.js +6 -11
  270. package/icons/ban/index.esm.min.js +1 -1
  271. package/icons/ban/index.js +6 -11
  272. package/icons/ban/index.min.js +1 -1
  273. package/icons/bars/index.cjs.js +6 -11
  274. package/icons/bars/index.cjs.min.js +1 -1
  275. package/icons/bars/index.esm.js +6 -11
  276. package/icons/bars/index.esm.min.js +1 -1
  277. package/icons/bars/index.js +6 -11
  278. package/icons/bars/index.min.js +1 -1
  279. package/icons/blank/index.cjs.js +6 -11
  280. package/icons/blank/index.cjs.min.js +1 -1
  281. package/icons/blank/index.esm.js +6 -11
  282. package/icons/blank/index.esm.min.js +1 -1
  283. package/icons/blank/index.js +6 -11
  284. package/icons/blank/index.min.js +1 -1
  285. package/icons/calendar/index.cjs.js +6 -11
  286. package/icons/calendar/index.cjs.min.js +1 -1
  287. package/icons/calendar/index.esm.js +6 -11
  288. package/icons/calendar/index.esm.min.js +1 -1
  289. package/icons/calendar/index.js +6 -11
  290. package/icons/calendar/index.min.js +1 -1
  291. package/icons/check/index.cjs.js +6 -11
  292. package/icons/check/index.cjs.min.js +1 -1
  293. package/icons/check/index.esm.js +6 -11
  294. package/icons/check/index.esm.min.js +1 -1
  295. package/icons/check/index.js +6 -11
  296. package/icons/check/index.min.js +1 -1
  297. package/icons/chevrondown/index.cjs.js +6 -11
  298. package/icons/chevrondown/index.cjs.min.js +1 -1
  299. package/icons/chevrondown/index.esm.js +6 -11
  300. package/icons/chevrondown/index.esm.min.js +1 -1
  301. package/icons/chevrondown/index.js +6 -11
  302. package/icons/chevrondown/index.min.js +1 -1
  303. package/icons/chevronleft/index.cjs.js +6 -11
  304. package/icons/chevronleft/index.cjs.min.js +1 -1
  305. package/icons/chevronleft/index.esm.js +6 -11
  306. package/icons/chevronleft/index.esm.min.js +1 -1
  307. package/icons/chevronleft/index.js +6 -11
  308. package/icons/chevronleft/index.min.js +1 -1
  309. package/icons/chevronright/index.cjs.js +6 -11
  310. package/icons/chevronright/index.cjs.min.js +1 -1
  311. package/icons/chevronright/index.esm.js +6 -11
  312. package/icons/chevronright/index.esm.min.js +1 -1
  313. package/icons/chevronright/index.js +6 -11
  314. package/icons/chevronright/index.min.js +1 -1
  315. package/icons/chevronup/index.cjs.js +6 -11
  316. package/icons/chevronup/index.cjs.min.js +1 -1
  317. package/icons/chevronup/index.esm.js +6 -11
  318. package/icons/chevronup/index.esm.min.js +1 -1
  319. package/icons/chevronup/index.js +6 -11
  320. package/icons/chevronup/index.min.js +1 -1
  321. package/icons/download/index.cjs.js +6 -11
  322. package/icons/download/index.cjs.min.js +1 -1
  323. package/icons/download/index.esm.js +6 -11
  324. package/icons/download/index.esm.min.js +1 -1
  325. package/icons/download/index.js +6 -11
  326. package/icons/download/index.min.js +1 -1
  327. package/icons/exclamationtriangle/index.cjs.js +6 -11
  328. package/icons/exclamationtriangle/index.cjs.min.js +1 -1
  329. package/icons/exclamationtriangle/index.esm.js +6 -11
  330. package/icons/exclamationtriangle/index.esm.min.js +1 -1
  331. package/icons/exclamationtriangle/index.js +6 -11
  332. package/icons/exclamationtriangle/index.min.js +1 -1
  333. package/icons/eye/index.cjs.js +6 -11
  334. package/icons/eye/index.cjs.min.js +1 -1
  335. package/icons/eye/index.esm.js +6 -11
  336. package/icons/eye/index.esm.min.js +1 -1
  337. package/icons/eye/index.js +6 -11
  338. package/icons/eye/index.min.js +1 -1
  339. package/icons/eyeslash/index.cjs.js +6 -11
  340. package/icons/eyeslash/index.cjs.min.js +1 -1
  341. package/icons/eyeslash/index.esm.js +6 -11
  342. package/icons/eyeslash/index.esm.min.js +1 -1
  343. package/icons/eyeslash/index.js +6 -11
  344. package/icons/eyeslash/index.min.js +1 -1
  345. package/icons/filter/index.cjs.js +6 -11
  346. package/icons/filter/index.cjs.min.js +1 -1
  347. package/icons/filter/index.esm.js +6 -11
  348. package/icons/filter/index.esm.min.js +1 -1
  349. package/icons/filter/index.js +6 -11
  350. package/icons/filter/index.min.js +1 -1
  351. package/icons/filterslash/index.cjs.js +6 -11
  352. package/icons/filterslash/index.cjs.min.js +1 -1
  353. package/icons/filterslash/index.esm.js +6 -11
  354. package/icons/filterslash/index.esm.min.js +1 -1
  355. package/icons/filterslash/index.js +6 -11
  356. package/icons/filterslash/index.min.js +1 -1
  357. package/icons/infocircle/index.cjs.js +6 -11
  358. package/icons/infocircle/index.cjs.min.js +1 -1
  359. package/icons/infocircle/index.esm.js +6 -11
  360. package/icons/infocircle/index.esm.min.js +1 -1
  361. package/icons/infocircle/index.js +6 -11
  362. package/icons/infocircle/index.min.js +1 -1
  363. package/icons/minus/index.cjs.js +6 -11
  364. package/icons/minus/index.cjs.min.js +1 -1
  365. package/icons/minus/index.esm.js +6 -11
  366. package/icons/minus/index.esm.min.js +1 -1
  367. package/icons/minus/index.js +6 -11
  368. package/icons/minus/index.min.js +1 -1
  369. package/icons/pencil/index.cjs.js +6 -11
  370. package/icons/pencil/index.cjs.min.js +1 -1
  371. package/icons/pencil/index.esm.js +6 -11
  372. package/icons/pencil/index.esm.min.js +1 -1
  373. package/icons/pencil/index.js +6 -11
  374. package/icons/pencil/index.min.js +1 -1
  375. package/icons/plus/index.cjs.js +6 -11
  376. package/icons/plus/index.cjs.min.js +1 -1
  377. package/icons/plus/index.esm.js +6 -11
  378. package/icons/plus/index.esm.min.js +1 -1
  379. package/icons/plus/index.js +6 -11
  380. package/icons/plus/index.min.js +1 -1
  381. package/icons/refresh/index.cjs.js +6 -11
  382. package/icons/refresh/index.cjs.min.js +1 -1
  383. package/icons/refresh/index.esm.js +6 -11
  384. package/icons/refresh/index.esm.min.js +1 -1
  385. package/icons/refresh/index.js +6 -11
  386. package/icons/refresh/index.min.js +1 -1
  387. package/icons/search/index.cjs.js +6 -11
  388. package/icons/search/index.cjs.min.js +1 -1
  389. package/icons/search/index.esm.js +6 -11
  390. package/icons/search/index.esm.min.js +1 -1
  391. package/icons/search/index.js +6 -11
  392. package/icons/search/index.min.js +1 -1
  393. package/icons/searchminus/index.cjs.js +6 -11
  394. package/icons/searchminus/index.cjs.min.js +1 -1
  395. package/icons/searchminus/index.esm.js +6 -11
  396. package/icons/searchminus/index.esm.min.js +1 -1
  397. package/icons/searchminus/index.js +6 -11
  398. package/icons/searchminus/index.min.js +1 -1
  399. package/icons/searchplus/index.cjs.js +6 -11
  400. package/icons/searchplus/index.cjs.min.js +1 -1
  401. package/icons/searchplus/index.esm.js +6 -11
  402. package/icons/searchplus/index.esm.min.js +1 -1
  403. package/icons/searchplus/index.js +6 -11
  404. package/icons/searchplus/index.min.js +1 -1
  405. package/icons/sortalt/index.cjs.js +6 -11
  406. package/icons/sortalt/index.cjs.min.js +1 -1
  407. package/icons/sortalt/index.esm.js +6 -11
  408. package/icons/sortalt/index.esm.min.js +1 -1
  409. package/icons/sortalt/index.js +6 -11
  410. package/icons/sortalt/index.min.js +1 -1
  411. package/icons/sortamountdown/index.cjs.js +6 -11
  412. package/icons/sortamountdown/index.cjs.min.js +1 -1
  413. package/icons/sortamountdown/index.esm.js +6 -11
  414. package/icons/sortamountdown/index.esm.min.js +1 -1
  415. package/icons/sortamountdown/index.js +6 -11
  416. package/icons/sortamountdown/index.min.js +1 -1
  417. package/icons/sortamountupalt/index.cjs.js +6 -11
  418. package/icons/sortamountupalt/index.cjs.min.js +1 -1
  419. package/icons/sortamountupalt/index.esm.js +6 -11
  420. package/icons/sortamountupalt/index.esm.min.js +1 -1
  421. package/icons/sortamountupalt/index.js +6 -11
  422. package/icons/sortamountupalt/index.min.js +1 -1
  423. package/icons/spinner/index.cjs.js +6 -11
  424. package/icons/spinner/index.cjs.min.js +1 -1
  425. package/icons/spinner/index.esm.js +6 -11
  426. package/icons/spinner/index.esm.min.js +1 -1
  427. package/icons/spinner/index.js +6 -11
  428. package/icons/spinner/index.min.js +1 -1
  429. package/icons/star/index.cjs.js +6 -11
  430. package/icons/star/index.cjs.min.js +1 -1
  431. package/icons/star/index.esm.js +6 -11
  432. package/icons/star/index.esm.min.js +1 -1
  433. package/icons/star/index.js +6 -11
  434. package/icons/star/index.min.js +1 -1
  435. package/icons/starfill/index.cjs.js +6 -11
  436. package/icons/starfill/index.cjs.min.js +1 -1
  437. package/icons/starfill/index.esm.js +6 -11
  438. package/icons/starfill/index.esm.min.js +1 -1
  439. package/icons/starfill/index.js +6 -11
  440. package/icons/starfill/index.min.js +1 -1
  441. package/icons/thlarge/index.cjs.js +6 -11
  442. package/icons/thlarge/index.cjs.min.js +1 -1
  443. package/icons/thlarge/index.esm.js +6 -11
  444. package/icons/thlarge/index.esm.min.js +1 -1
  445. package/icons/thlarge/index.js +6 -11
  446. package/icons/thlarge/index.min.js +1 -1
  447. package/icons/times/index.cjs.js +6 -11
  448. package/icons/times/index.cjs.min.js +1 -1
  449. package/icons/times/index.esm.js +6 -11
  450. package/icons/times/index.esm.min.js +1 -1
  451. package/icons/times/index.js +6 -11
  452. package/icons/times/index.min.js +1 -1
  453. package/icons/timescircle/index.cjs.js +6 -11
  454. package/icons/timescircle/index.cjs.min.js +1 -1
  455. package/icons/timescircle/index.esm.js +6 -11
  456. package/icons/timescircle/index.esm.min.js +1 -1
  457. package/icons/timescircle/index.js +6 -11
  458. package/icons/timescircle/index.min.js +1 -1
  459. package/icons/trash/index.cjs.js +6 -11
  460. package/icons/trash/index.cjs.min.js +1 -1
  461. package/icons/trash/index.esm.js +6 -11
  462. package/icons/trash/index.esm.min.js +1 -1
  463. package/icons/trash/index.js +6 -11
  464. package/icons/trash/index.min.js +1 -1
  465. package/icons/undo/index.cjs.js +6 -11
  466. package/icons/undo/index.cjs.min.js +1 -1
  467. package/icons/undo/index.esm.js +6 -11
  468. package/icons/undo/index.esm.min.js +1 -1
  469. package/icons/undo/index.js +6 -11
  470. package/icons/undo/index.min.js +1 -1
  471. package/icons/upload/index.cjs.js +6 -11
  472. package/icons/upload/index.cjs.min.js +1 -1
  473. package/icons/upload/index.esm.js +6 -11
  474. package/icons/upload/index.esm.min.js +1 -1
  475. package/icons/upload/index.js +6 -11
  476. package/icons/upload/index.min.js +1 -1
  477. package/icons/windowmaximize/index.cjs.js +6 -11
  478. package/icons/windowmaximize/index.cjs.min.js +1 -1
  479. package/icons/windowmaximize/index.esm.js +6 -11
  480. package/icons/windowmaximize/index.esm.min.js +1 -1
  481. package/icons/windowmaximize/index.js +6 -11
  482. package/icons/windowmaximize/index.min.js +1 -1
  483. package/icons/windowminimize/index.cjs.js +6 -11
  484. package/icons/windowminimize/index.cjs.min.js +1 -1
  485. package/icons/windowminimize/index.esm.js +6 -11
  486. package/icons/windowminimize/index.esm.min.js +1 -1
  487. package/icons/windowminimize/index.js +6 -11
  488. package/icons/windowminimize/index.min.js +1 -1
  489. package/image/image.cjs.js +37 -49
  490. package/image/image.cjs.min.js +1 -1
  491. package/image/image.esm.js +37 -49
  492. package/image/image.esm.min.js +1 -1
  493. package/image/image.js +37 -49
  494. package/image/image.min.js +1 -1
  495. package/inplace/inplace.cjs.js +14 -15
  496. package/inplace/inplace.cjs.min.js +1 -1
  497. package/inplace/inplace.esm.js +14 -15
  498. package/inplace/inplace.esm.min.js +1 -1
  499. package/inplace/inplace.js +14 -15
  500. package/inplace/inplace.min.js +1 -1
  501. package/inputicon/inputicon.cjs.js +23 -34
  502. package/inputicon/inputicon.cjs.min.js +1 -1
  503. package/inputicon/inputicon.esm.js +23 -34
  504. package/inputicon/inputicon.esm.min.js +1 -1
  505. package/inputicon/inputicon.js +23 -34
  506. package/inputicon/inputicon.min.js +1 -1
  507. package/inputmask/inputmask.cjs.js +8 -12
  508. package/inputmask/inputmask.cjs.min.js +1 -1
  509. package/inputmask/inputmask.esm.js +8 -12
  510. package/inputmask/inputmask.esm.min.js +1 -1
  511. package/inputmask/inputmask.js +8 -12
  512. package/inputmask/inputmask.min.js +1 -1
  513. package/inputnumber/inputnumber.cjs.js +46 -55
  514. package/inputnumber/inputnumber.cjs.min.js +1 -1
  515. package/inputnumber/inputnumber.esm.js +47 -56
  516. package/inputnumber/inputnumber.esm.min.js +1 -1
  517. package/inputnumber/inputnumber.js +46 -55
  518. package/inputnumber/inputnumber.min.js +1 -1
  519. package/inputotp/inputotp.cjs.js +43 -55
  520. package/inputotp/inputotp.cjs.min.js +1 -1
  521. package/inputotp/inputotp.esm.js +43 -55
  522. package/inputotp/inputotp.esm.min.js +1 -1
  523. package/inputotp/inputotp.js +43 -55
  524. package/inputotp/inputotp.min.js +1 -1
  525. package/inputswitch/inputswitch.cjs.js +23 -34
  526. package/inputswitch/inputswitch.cjs.min.js +1 -1
  527. package/inputswitch/inputswitch.esm.js +23 -34
  528. package/inputswitch/inputswitch.esm.min.js +1 -1
  529. package/inputswitch/inputswitch.js +23 -34
  530. package/inputswitch/inputswitch.min.js +1 -1
  531. package/inputtext/inputtext.cjs.js +30 -34
  532. package/inputtext/inputtext.cjs.min.js +1 -1
  533. package/inputtext/inputtext.esm.js +30 -34
  534. package/inputtext/inputtext.esm.min.js +1 -1
  535. package/inputtext/inputtext.js +30 -34
  536. package/inputtext/inputtext.min.js +1 -1
  537. package/inputtextarea/inputtextarea.cjs.js +25 -35
  538. package/inputtextarea/inputtextarea.cjs.min.js +1 -1
  539. package/inputtextarea/inputtextarea.esm.js +25 -35
  540. package/inputtextarea/inputtextarea.esm.min.js +1 -1
  541. package/inputtextarea/inputtextarea.js +25 -35
  542. package/inputtextarea/inputtextarea.min.js +1 -1
  543. package/keyfilter/keyfilter.cjs.js +16 -17
  544. package/keyfilter/keyfilter.cjs.min.js +1 -1
  545. package/keyfilter/keyfilter.esm.js +16 -17
  546. package/keyfilter/keyfilter.esm.min.js +1 -1
  547. package/keyfilter/keyfilter.js +16 -17
  548. package/keyfilter/keyfilter.min.js +1 -1
  549. package/knob/knob.cjs.js +14 -15
  550. package/knob/knob.cjs.min.js +1 -1
  551. package/knob/knob.esm.js +14 -15
  552. package/knob/knob.esm.min.js +1 -1
  553. package/knob/knob.js +14 -15
  554. package/knob/knob.min.js +1 -1
  555. package/listbox/listbox.cjs.js +46 -58
  556. package/listbox/listbox.cjs.min.js +1 -1
  557. package/listbox/listbox.esm.js +46 -58
  558. package/listbox/listbox.esm.min.js +1 -1
  559. package/listbox/listbox.js +46 -58
  560. package/listbox/listbox.min.js +1 -1
  561. package/megamenu/megamenu.cjs.js +39 -51
  562. package/megamenu/megamenu.cjs.min.js +1 -1
  563. package/megamenu/megamenu.esm.js +39 -51
  564. package/megamenu/megamenu.esm.min.js +1 -1
  565. package/megamenu/megamenu.js +39 -51
  566. package/megamenu/megamenu.min.js +1 -1
  567. package/mention/mention.cjs.js +46 -56
  568. package/mention/mention.cjs.min.js +1 -1
  569. package/mention/mention.esm.js +46 -56
  570. package/mention/mention.esm.min.js +1 -1
  571. package/mention/mention.js +46 -56
  572. package/mention/mention.min.js +1 -1
  573. package/menu/menu.cjs.js +43 -55
  574. package/menu/menu.cjs.min.js +1 -1
  575. package/menu/menu.esm.js +43 -55
  576. package/menu/menu.esm.min.js +1 -1
  577. package/menu/menu.js +43 -55
  578. package/menu/menu.min.js +1 -1
  579. package/menubar/menubar.cjs.js +37 -49
  580. package/menubar/menubar.cjs.min.js +1 -1
  581. package/menubar/menubar.esm.js +37 -49
  582. package/menubar/menubar.esm.min.js +1 -1
  583. package/menubar/menubar.js +37 -49
  584. package/menubar/menubar.min.js +1 -1
  585. package/message/message.cjs.js +23 -34
  586. package/message/message.cjs.min.js +1 -1
  587. package/message/message.esm.js +23 -34
  588. package/message/message.esm.min.js +1 -1
  589. package/message/message.js +23 -34
  590. package/message/message.min.js +1 -1
  591. package/messages/messages.cjs.js +44 -57
  592. package/messages/messages.cjs.min.js +1 -1
  593. package/messages/messages.esm.js +45 -58
  594. package/messages/messages.esm.min.js +1 -1
  595. package/messages/messages.js +44 -57
  596. package/messages/messages.min.js +1 -1
  597. package/metergroup/metergroup.cjs.js +23 -34
  598. package/metergroup/metergroup.cjs.min.js +1 -1
  599. package/metergroup/metergroup.esm.js +23 -34
  600. package/metergroup/metergroup.esm.min.js +1 -1
  601. package/metergroup/metergroup.js +23 -34
  602. package/metergroup/metergroup.min.js +1 -1
  603. package/multiselect/multiselect.cjs.js +138 -155
  604. package/multiselect/multiselect.cjs.min.js +1 -1
  605. package/multiselect/multiselect.esm.js +138 -155
  606. package/multiselect/multiselect.esm.min.js +1 -1
  607. package/multiselect/multiselect.js +138 -155
  608. package/multiselect/multiselect.min.js +1 -1
  609. package/multistatecheckbox/multistatecheckbox.cjs.js +37 -49
  610. package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
  611. package/multistatecheckbox/multistatecheckbox.esm.js +37 -49
  612. package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
  613. package/multistatecheckbox/multistatecheckbox.js +37 -49
  614. package/multistatecheckbox/multistatecheckbox.min.js +1 -1
  615. package/orderlist/orderlist.cjs.js +43 -55
  616. package/orderlist/orderlist.cjs.min.js +1 -1
  617. package/orderlist/orderlist.esm.js +43 -55
  618. package/orderlist/orderlist.esm.min.js +1 -1
  619. package/orderlist/orderlist.js +43 -55
  620. package/orderlist/orderlist.min.js +1 -1
  621. package/organizationchart/organizationchart.cjs.js +45 -61
  622. package/organizationchart/organizationchart.cjs.min.js +1 -1
  623. package/organizationchart/organizationchart.esm.js +45 -61
  624. package/organizationchart/organizationchart.esm.min.js +1 -1
  625. package/organizationchart/organizationchart.js +45 -61
  626. package/organizationchart/organizationchart.min.js +1 -1
  627. package/overlaypanel/overlaypanel.cjs.js +37 -49
  628. package/overlaypanel/overlaypanel.cjs.min.js +1 -1
  629. package/overlaypanel/overlaypanel.esm.js +37 -49
  630. package/overlaypanel/overlaypanel.esm.min.js +1 -1
  631. package/overlaypanel/overlaypanel.js +37 -49
  632. package/overlaypanel/overlaypanel.min.js +1 -1
  633. package/overlayservice/overlayservice.min.js +1 -1
  634. package/package.json +1 -1
  635. package/paginator/paginator.cjs.js +41 -56
  636. package/paginator/paginator.cjs.min.js +1 -1
  637. package/paginator/paginator.esm.js +41 -56
  638. package/paginator/paginator.esm.min.js +1 -1
  639. package/paginator/paginator.js +41 -56
  640. package/paginator/paginator.min.js +1 -1
  641. package/panel/panel.cjs.js +20 -26
  642. package/panel/panel.cjs.min.js +1 -1
  643. package/panel/panel.esm.js +20 -26
  644. package/panel/panel.esm.min.js +1 -1
  645. package/panel/panel.js +20 -26
  646. package/panel/panel.min.js +1 -1
  647. package/panelmenu/panelmenu.cjs.js +37 -49
  648. package/panelmenu/panelmenu.cjs.min.js +1 -1
  649. package/panelmenu/panelmenu.esm.js +37 -49
  650. package/panelmenu/panelmenu.esm.min.js +1 -1
  651. package/panelmenu/panelmenu.js +37 -49
  652. package/panelmenu/panelmenu.min.js +1 -1
  653. package/passthrough/index.cjs.js +17 -23
  654. package/passthrough/index.cjs.min.js +1 -1
  655. package/passthrough/index.esm.js +17 -23
  656. package/passthrough/index.esm.min.js +1 -1
  657. package/passthrough/index.js +17 -23
  658. package/passthrough/index.min.js +1 -1
  659. package/passthrough/tailwind/index.cjs.js +14 -15
  660. package/passthrough/tailwind/index.cjs.min.js +1 -1
  661. package/passthrough/tailwind/index.esm.js +14 -15
  662. package/passthrough/tailwind/index.esm.min.js +1 -1
  663. package/passthrough/tailwind/index.js +14 -15
  664. package/passthrough/tailwind/index.min.js +1 -1
  665. package/password/password.cjs.js +37 -49
  666. package/password/password.cjs.min.js +1 -1
  667. package/password/password.esm.js +37 -49
  668. package/password/password.esm.min.js +1 -1
  669. package/password/password.js +37 -49
  670. package/password/password.min.js +1 -1
  671. package/picklist/picklist.cjs.js +49 -64
  672. package/picklist/picklist.cjs.min.js +1 -1
  673. package/picklist/picklist.esm.js +49 -64
  674. package/picklist/picklist.esm.min.js +1 -1
  675. package/picklist/picklist.js +49 -64
  676. package/picklist/picklist.min.js +1 -1
  677. package/portal/portal.cjs.js +14 -15
  678. package/portal/portal.cjs.min.js +1 -1
  679. package/portal/portal.esm.js +14 -15
  680. package/portal/portal.esm.min.js +1 -1
  681. package/portal/portal.js +14 -15
  682. package/portal/portal.min.js +1 -1
  683. package/primereact.all.cjs.js +324 -320
  684. package/primereact.all.cjs.min.js +1 -1
  685. package/primereact.all.esm.js +324 -320
  686. package/primereact.all.esm.min.js +1 -1
  687. package/primereact.all.js +324 -320
  688. package/primereact.all.min.js +1 -1
  689. package/progressbar/progressbar.cjs.js +23 -34
  690. package/progressbar/progressbar.cjs.min.js +1 -1
  691. package/progressbar/progressbar.esm.js +23 -34
  692. package/progressbar/progressbar.esm.min.js +1 -1
  693. package/progressbar/progressbar.js +23 -34
  694. package/progressbar/progressbar.min.js +1 -1
  695. package/radiobutton/radiobutton.cjs.js +23 -34
  696. package/radiobutton/radiobutton.cjs.min.js +1 -1
  697. package/radiobutton/radiobutton.esm.js +23 -34
  698. package/radiobutton/radiobutton.esm.min.js +1 -1
  699. package/radiobutton/radiobutton.js +23 -34
  700. package/radiobutton/radiobutton.min.js +1 -1
  701. package/rating/rating.cjs.js +37 -49
  702. package/rating/rating.cjs.min.js +1 -1
  703. package/rating/rating.esm.js +37 -49
  704. package/rating/rating.esm.min.js +1 -1
  705. package/rating/rating.js +37 -49
  706. package/rating/rating.min.js +1 -1
  707. package/resources/themes/arya-blue/theme.css +4 -1
  708. package/resources/themes/arya-green/theme.css +4 -1
  709. package/resources/themes/arya-orange/theme.css +4 -1
  710. package/resources/themes/arya-purple/theme.css +4 -1
  711. package/resources/themes/bootstrap4-dark-blue/theme.css +4 -1
  712. package/resources/themes/bootstrap4-dark-purple/theme.css +4 -1
  713. package/resources/themes/bootstrap4-light-blue/theme.css +4 -1
  714. package/resources/themes/bootstrap4-light-purple/theme.css +4 -1
  715. package/resources/themes/fluent-light/theme.css +4 -1
  716. package/resources/themes/lara-dark-amber/theme.css +2 -1
  717. package/resources/themes/lara-dark-blue/theme.css +2 -1
  718. package/resources/themes/lara-dark-cyan/theme.css +2 -1
  719. package/resources/themes/lara-dark-green/theme.css +2 -1
  720. package/resources/themes/lara-dark-indigo/theme.css +2 -1
  721. package/resources/themes/lara-dark-pink/theme.css +2 -1
  722. package/resources/themes/lara-dark-purple/theme.css +2 -1
  723. package/resources/themes/lara-dark-teal/theme.css +2 -1
  724. package/resources/themes/lara-light-amber/theme.css +2 -1
  725. package/resources/themes/lara-light-blue/theme.css +2 -1
  726. package/resources/themes/lara-light-cyan/theme.css +2 -1
  727. package/resources/themes/lara-light-green/theme.css +2 -1
  728. package/resources/themes/lara-light-indigo/theme.css +2 -1
  729. package/resources/themes/lara-light-pink/theme.css +2 -1
  730. package/resources/themes/lara-light-purple/theme.css +2 -1
  731. package/resources/themes/lara-light-teal/theme.css +2 -1
  732. package/resources/themes/luna-amber/theme.css +4 -1
  733. package/resources/themes/luna-blue/theme.css +4 -1
  734. package/resources/themes/luna-green/theme.css +4 -1
  735. package/resources/themes/luna-pink/theme.css +4 -1
  736. package/resources/themes/md-dark-deeppurple/theme.css +3 -1
  737. package/resources/themes/md-dark-indigo/theme.css +3 -1
  738. package/resources/themes/md-light-deeppurple/theme.css +3 -1
  739. package/resources/themes/md-light-indigo/theme.css +3 -1
  740. package/resources/themes/mdc-dark-deeppurple/theme.css +3 -1
  741. package/resources/themes/mdc-dark-indigo/theme.css +3 -1
  742. package/resources/themes/mdc-light-deeppurple/theme.css +3 -1
  743. package/resources/themes/mdc-light-indigo/theme.css +3 -1
  744. package/resources/themes/mira/theme.css +2 -1
  745. package/resources/themes/nano/theme.css +4 -1
  746. package/resources/themes/nova/theme.css +4 -1
  747. package/resources/themes/nova-accent/theme.css +4 -1
  748. package/resources/themes/nova-alt/theme.css +4 -1
  749. package/resources/themes/rhea/theme.css +4 -1
  750. package/resources/themes/saga-blue/theme.css +4 -1
  751. package/resources/themes/saga-green/theme.css +4 -1
  752. package/resources/themes/saga-orange/theme.css +4 -1
  753. package/resources/themes/saga-purple/theme.css +4 -1
  754. package/resources/themes/soho-dark/theme.css +1 -0
  755. package/resources/themes/soho-light/theme.css +1 -0
  756. package/resources/themes/tailwind-light/theme.css +2 -1
  757. package/resources/themes/vela-blue/theme.css +4 -1
  758. package/resources/themes/vela-green/theme.css +4 -1
  759. package/resources/themes/vela-orange/theme.css +4 -1
  760. package/resources/themes/vela-purple/theme.css +4 -1
  761. package/resources/themes/viva-dark/theme.css +1 -0
  762. package/resources/themes/viva-light/theme.css +1 -0
  763. package/ripple/ripple.cjs.js +37 -49
  764. package/ripple/ripple.cjs.min.js +1 -1
  765. package/ripple/ripple.esm.js +37 -49
  766. package/ripple/ripple.esm.min.js +1 -1
  767. package/ripple/ripple.js +37 -49
  768. package/ripple/ripple.min.js +1 -1
  769. package/scrollpanel/scrollpanel.cjs.js +20 -26
  770. package/scrollpanel/scrollpanel.cjs.min.js +1 -1
  771. package/scrollpanel/scrollpanel.esm.js +20 -26
  772. package/scrollpanel/scrollpanel.esm.min.js +1 -1
  773. package/scrollpanel/scrollpanel.js +20 -26
  774. package/scrollpanel/scrollpanel.min.js +1 -1
  775. package/scrolltop/scrolltop.cjs.js +37 -49
  776. package/scrolltop/scrolltop.cjs.min.js +1 -1
  777. package/scrolltop/scrolltop.esm.js +37 -49
  778. package/scrolltop/scrolltop.esm.min.js +1 -1
  779. package/scrolltop/scrolltop.js +37 -49
  780. package/scrolltop/scrolltop.min.js +1 -1
  781. package/selectbutton/selectbutton.cjs.js +26 -32
  782. package/selectbutton/selectbutton.cjs.min.js +1 -1
  783. package/selectbutton/selectbutton.esm.js +26 -32
  784. package/selectbutton/selectbutton.esm.min.js +1 -1
  785. package/selectbutton/selectbutton.js +26 -32
  786. package/selectbutton/selectbutton.min.js +1 -1
  787. package/sidebar/sidebar.cjs.js +38 -50
  788. package/sidebar/sidebar.cjs.min.js +1 -1
  789. package/sidebar/sidebar.esm.js +38 -50
  790. package/sidebar/sidebar.esm.min.js +1 -1
  791. package/sidebar/sidebar.js +38 -50
  792. package/sidebar/sidebar.min.js +1 -1
  793. package/skeleton/skeleton.cjs.js +17 -23
  794. package/skeleton/skeleton.cjs.min.js +1 -1
  795. package/skeleton/skeleton.esm.js +17 -23
  796. package/skeleton/skeleton.esm.min.js +1 -1
  797. package/skeleton/skeleton.js +17 -23
  798. package/skeleton/skeleton.min.js +1 -1
  799. package/slidemenu/slidemenu.cjs.js +37 -49
  800. package/slidemenu/slidemenu.cjs.min.js +1 -1
  801. package/slidemenu/slidemenu.esm.js +37 -49
  802. package/slidemenu/slidemenu.esm.min.js +1 -1
  803. package/slidemenu/slidemenu.js +37 -49
  804. package/slidemenu/slidemenu.min.js +1 -1
  805. package/slider/slider.cjs.js +43 -55
  806. package/slider/slider.cjs.min.js +1 -1
  807. package/slider/slider.esm.js +43 -55
  808. package/slider/slider.esm.min.js +1 -1
  809. package/slider/slider.js +43 -55
  810. package/slider/slider.min.js +1 -1
  811. package/speeddial/speeddial.cjs.js +43 -55
  812. package/speeddial/speeddial.cjs.min.js +1 -1
  813. package/speeddial/speeddial.esm.js +43 -55
  814. package/speeddial/speeddial.esm.min.js +1 -1
  815. package/speeddial/speeddial.js +43 -55
  816. package/speeddial/speeddial.min.js +1 -1
  817. package/splitbutton/splitbutton.cjs.js +37 -49
  818. package/splitbutton/splitbutton.cjs.min.js +1 -1
  819. package/splitbutton/splitbutton.d.ts +2 -2
  820. package/splitbutton/splitbutton.esm.js +37 -49
  821. package/splitbutton/splitbutton.esm.min.js +1 -1
  822. package/splitbutton/splitbutton.js +37 -49
  823. package/splitbutton/splitbutton.min.js +1 -1
  824. package/splitter/splitter.cjs.js +43 -55
  825. package/splitter/splitter.cjs.min.js +1 -1
  826. package/splitter/splitter.esm.js +43 -55
  827. package/splitter/splitter.esm.min.js +1 -1
  828. package/splitter/splitter.js +43 -55
  829. package/splitter/splitter.min.js +1 -1
  830. package/stepper/stepper.cjs.js +37 -49
  831. package/stepper/stepper.cjs.min.js +1 -1
  832. package/stepper/stepper.esm.js +37 -49
  833. package/stepper/stepper.esm.min.js +1 -1
  834. package/stepper/stepper.js +37 -49
  835. package/stepper/stepper.min.js +1 -1
  836. package/steps/steps.cjs.js +37 -49
  837. package/steps/steps.cjs.min.js +1 -1
  838. package/steps/steps.esm.js +37 -49
  839. package/steps/steps.esm.min.js +1 -1
  840. package/steps/steps.js +37 -49
  841. package/steps/steps.min.js +1 -1
  842. package/styleclass/styleclass.cjs.js +14 -15
  843. package/styleclass/styleclass.cjs.min.js +1 -1
  844. package/styleclass/styleclass.esm.js +14 -15
  845. package/styleclass/styleclass.esm.min.js +1 -1
  846. package/styleclass/styleclass.js +14 -15
  847. package/styleclass/styleclass.min.js +1 -1
  848. package/tabmenu/tabmenu.cjs.js +37 -49
  849. package/tabmenu/tabmenu.cjs.min.js +1 -1
  850. package/tabmenu/tabmenu.esm.js +37 -49
  851. package/tabmenu/tabmenu.esm.min.js +1 -1
  852. package/tabmenu/tabmenu.js +37 -49
  853. package/tabmenu/tabmenu.min.js +1 -1
  854. package/tabview/tabview.cjs.js +37 -44
  855. package/tabview/tabview.cjs.min.js +1 -1
  856. package/tabview/tabview.esm.js +37 -44
  857. package/tabview/tabview.esm.min.js +1 -1
  858. package/tabview/tabview.js +37 -44
  859. package/tabview/tabview.min.js +1 -1
  860. package/tag/tag.cjs.js +17 -23
  861. package/tag/tag.cjs.min.js +1 -1
  862. package/tag/tag.esm.js +17 -23
  863. package/tag/tag.esm.min.js +1 -1
  864. package/tag/tag.js +17 -23
  865. package/tag/tag.min.js +1 -1
  866. package/terminal/terminal.cjs.js +20 -21
  867. package/terminal/terminal.cjs.min.js +1 -1
  868. package/terminal/terminal.esm.js +20 -21
  869. package/terminal/terminal.esm.min.js +1 -1
  870. package/terminal/terminal.js +20 -21
  871. package/terminal/terminal.min.js +1 -1
  872. package/terminalservice/terminalservice.min.js +1 -1
  873. package/tieredmenu/tieredmenu.cjs.js +37 -49
  874. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  875. package/tieredmenu/tieredmenu.esm.js +37 -49
  876. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  877. package/tieredmenu/tieredmenu.js +37 -49
  878. package/tieredmenu/tieredmenu.min.js +1 -1
  879. package/timeline/timeline.cjs.js +23 -34
  880. package/timeline/timeline.cjs.min.js +1 -1
  881. package/timeline/timeline.esm.js +23 -34
  882. package/timeline/timeline.esm.min.js +1 -1
  883. package/timeline/timeline.js +23 -34
  884. package/timeline/timeline.min.js +1 -1
  885. package/toast/toast.cjs.js +53 -73
  886. package/toast/toast.cjs.min.js +1 -1
  887. package/toast/toast.esm.js +53 -73
  888. package/toast/toast.esm.min.js +1 -1
  889. package/toast/toast.js +53 -73
  890. package/toast/toast.min.js +1 -1
  891. package/togglebutton/togglebutton.cjs.js +24 -35
  892. package/togglebutton/togglebutton.cjs.min.js +1 -1
  893. package/togglebutton/togglebutton.esm.js +24 -35
  894. package/togglebutton/togglebutton.esm.min.js +1 -1
  895. package/togglebutton/togglebutton.js +24 -35
  896. package/togglebutton/togglebutton.min.js +1 -1
  897. package/tooltip/tooltip.cjs.js +43 -55
  898. package/tooltip/tooltip.cjs.min.js +1 -1
  899. package/tooltip/tooltip.esm.js +43 -55
  900. package/tooltip/tooltip.esm.min.js +1 -1
  901. package/tooltip/tooltip.js +43 -55
  902. package/tooltip/tooltip.min.js +1 -1
  903. package/tree/tree.cjs.js +50 -62
  904. package/tree/tree.cjs.min.js +1 -1
  905. package/tree/tree.esm.js +50 -62
  906. package/tree/tree.esm.min.js +1 -1
  907. package/tree/tree.js +50 -62
  908. package/tree/tree.min.js +1 -1
  909. package/treeselect/treeselect.cjs.js +48 -59
  910. package/treeselect/treeselect.cjs.min.js +1 -1
  911. package/treeselect/treeselect.esm.js +48 -59
  912. package/treeselect/treeselect.esm.min.js +1 -1
  913. package/treeselect/treeselect.js +48 -59
  914. package/treeselect/treeselect.min.js +1 -1
  915. package/treetable/treetable.cjs.js +61 -70
  916. package/treetable/treetable.cjs.min.js +1 -1
  917. package/treetable/treetable.esm.js +61 -70
  918. package/treetable/treetable.esm.min.js +1 -1
  919. package/treetable/treetable.js +61 -70
  920. package/treetable/treetable.min.js +1 -1
  921. package/tristatecheckbox/tristatecheckbox.cjs.js +37 -49
  922. package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
  923. package/tristatecheckbox/tristatecheckbox.esm.js +37 -49
  924. package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
  925. package/tristatecheckbox/tristatecheckbox.js +37 -49
  926. package/tristatecheckbox/tristatecheckbox.min.js +1 -1
  927. package/utils/utils.cjs.js +59 -79
  928. package/utils/utils.cjs.min.js +1 -1
  929. package/utils/utils.esm.js +59 -79
  930. package/utils/utils.esm.min.js +1 -1
  931. package/utils/utils.js +59 -79
  932. package/utils/utils.min.js +1 -1
  933. package/virtualscroller/virtualscroller.cjs.js +37 -49
  934. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  935. package/virtualscroller/virtualscroller.esm.js +37 -49
  936. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  937. package/virtualscroller/virtualscroller.js +37 -49
  938. package/virtualscroller/virtualscroller.min.js +1 -1
  939. package/web-types.json +3 -3
@@ -1 +1 @@
1
- this.primereact=this.primereact||{},this.primereact.togglebutton=function(e,t,n,o,r,l,a,i){"use strict";function c(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 u=c(t);function s(){return s=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},s.apply(this,arguments)}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function f(e,t){if("object"!==p(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==p(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function b(e){var t=f(e,"string");return"symbol"===p(t)?t:String(t)}var d=o.ComponentBase.extend({defaultProps:{__TYPE:"ToggleButton",id:null,onIcon:null,offIcon:null,onLabel:"Yes",offLabel:"No",iconPos:"left",invalid:!1,style:null,className:null,checked:!1,tabIndex:0,tooltip:null,tooltipOptions:null,onChange:null,onFocus:null,onBlur:null,children:void 0},css:{classes:{root:function(e){var t=e.props;return i.classNames("p-togglebutton p-component",{"p-disabled":t.disabled,"p-highlight":t.checked,"p-invalid":t.invalid})},input:"p-togglebutton-input",box:function(e){return i.classNames("p-button p-component",{"p-button-icon-only":e.hasIcon&&!e.hasLabel})},icon:function(e){var t=e.props,n=e.label;return i.classNames("p-button-icon",{"p-button-icon-left":"left"===t.iconPos&&n,"p-button-icon-right":"right"===t.iconPos&&n})},label:"p-button-label"}}});function m(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 g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){var o,r,l;o=e,l=n[t],(r=b(r=t))in o?Object.defineProperty(o,r,{value:l,enumerable:!0,configurable:!0,writable:!0}):o[r]=l})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var y=u.memo(u.forwardRef((function(e,t){var c=r.useMergeProps(),p=u.useContext(n.PrimeReactContext),f=d.getProps(e,p),b=u.useRef(null),m=d.setMetaData({props:f}),y=m.ptm,v=m.cx;o.useHandleStyle(d.css.styles,m.isUnstyled,{name:"togglebutton"});var h=f.onLabel&&f.onLabel.length>0&&f.offLabel&&f.offLabel.length>0,O=f.onIcon&&f.offIcon,P=h?f.checked?f.onLabel:f.offLabel:"&nbsp;",j=f.checked?f.onIcon:f.offIcon,E=function(e){f.disabled||!f.onChange||f.readonly||f.onChange({originalEvent:e,value:!f.checked,stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},target:{name:f.name,id:f.id,value:!f.checked}})};u.useImperativeHandle(t,(function(){return{props:f,focus:function(){return i.DomHandler.focusFirstElement(b.current)},getElement:function(){return b.current}}})),r.useMountEffect((function(){f.autoFocus&&i.DomHandler.focusFirstElement(b.current)}));var k=i.ObjectUtils.isNotEmpty(f.tooltip),I=f.disabled?-1:f.tabIndex,N=function(){if(O){var e=c({className:v("icon",{label:P})},y("icon"));return i.IconUtils.getJSXIcon(j,g({},e),{props:f})}return null}(),w=c({className:v("label")},y("label")),D=c({ref:b,id:f.id,className:i.classNames(f.className,v("root",{hasIcon:O,hasLabel:h})),"data-p-highlight":f.checked,"data-p-disabled":f.disabled},d.getOtherProps(f),y("root")),S=c({id:f.inputId,className:v("input"),style:f.style,onChange:E,onFocus:function(e){var t;null==f||null===(t=f.onFocus)||void 0===t||t.call(f,e)},onBlur:function(e){var t;null==f||null===(t=f.onBlur)||void 0===t||t.call(f,e)},onKeyDown:function(e){32===e.keyCode&&(E(e),e.preventDefault())},tabIndex:I,role:"switch",type:"checkbox","aria-pressed":f.checked,"aria-invalid":f.invalid,disabled:f.disabled,readOnly:f.readonly,value:f.checked,checked:f.checked},y("input")),x=c({className:v("box",{hasIcon:O,hasLabel:h})},y("box"));return u.createElement(u.Fragment,null,u.createElement("div",D,u.createElement("input",S),u.createElement("div",x,N,u.createElement("span",w,P),u.createElement(l.Ripple,null))),k&&u.createElement(a.Tooltip,s({target:b,content:f.tooltip,pt:y("tooltip")},f.tooltipOptions)))})));return y.displayName="ToggleButton",e.ToggleButton=y,Object.defineProperty(e,"__esModule",{value:!0}),e}({},React,primereact.api,primereact.componentbase,primereact.hooks,primereact.ripple,primereact.tooltip,primereact.utils);
1
+ this.primereact=this.primereact||{},this.primereact.togglebutton=function(e,t,n,o,r,l,a,c){"use strict";function i(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 u=i(t);function s(){return s=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},s.apply(null,arguments)}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function f(e,t){if("object"!=p(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=p(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function b(e){var t=f(e,"string");return"symbol"==p(t)?t:t+""}function d(e,t,n){return(t=b(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=o.ComponentBase.extend({defaultProps:{__TYPE:"ToggleButton",id:null,onIcon:null,offIcon:null,onLabel:"Yes",offLabel:"No",iconPos:"left",invalid:!1,style:null,className:null,checked:!1,tabIndex:0,tooltip:null,tooltipOptions:null,onChange:null,onFocus:null,onBlur:null,children:void 0},css:{classes:{root:function(e){var t=e.props;return c.classNames("p-togglebutton p-component",{"p-disabled":t.disabled,"p-highlight":t.checked,"p-invalid":t.invalid})},input:"p-togglebutton-input",box:function(e){return c.classNames("p-button p-component",{"p-button-icon-only":e.hasIcon&&!e.hasLabel})},icon:function(e){var t=e.props,n=e.label;return c.classNames("p-button-icon",{"p-button-icon-left":"left"===t.iconPos&&n,"p-button-icon-right":"right"===t.iconPos&&n})},label:"p-button-label"}}});function g(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 y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=u.memo(u.forwardRef((function(e,t){var i=r.useMergeProps(),p=u.useContext(n.PrimeReactContext),f=m.getProps(e,p),b=u.useRef(null),d=m.setMetaData({props:f}),g=d.ptm,v=d.cx;o.useHandleStyle(m.css.styles,d.isUnstyled,{name:"togglebutton"});var h=f.onLabel&&f.onLabel.length>0&&f.offLabel&&f.offLabel.length>0,O=f.onIcon&&f.offIcon,P=h?f.checked?f.onLabel:f.offLabel:" ",j=f.checked?f.onIcon:f.offIcon,E=function(e){f.disabled||!f.onChange||f.readonly||f.onChange({originalEvent:e,value:!f.checked,stopPropagation:function(){e.stopPropagation()},preventDefault:function(){e.preventDefault()},target:{name:f.name,id:f.id,value:!f.checked}})};u.useImperativeHandle(t,(function(){return{props:f,focus:function(){return c.DomHandler.focusFirstElement(b.current)},getElement:function(){return b.current}}})),r.useMountEffect((function(){f.autoFocus&&c.DomHandler.focusFirstElement(b.current)}));var k=c.ObjectUtils.isNotEmpty(f.tooltip),I=f.disabled?-1:f.tabIndex,N=function(){if(O){var e=i({className:v("icon",{label:P})},g("icon"));return c.IconUtils.getJSXIcon(j,y({},e),{props:f})}return null}(),w=i({className:v("label")},g("label")),D=i({ref:b,id:f.id,className:c.classNames(f.className,v("root",{hasIcon:O,hasLabel:h})),"data-p-highlight":f.checked,"data-p-disabled":f.disabled},m.getOtherProps(f),g("root")),x=i({id:f.inputId,className:v("input"),style:f.style,onChange:E,onFocus:function(e){var t;null==f||null===(t=f.onFocus)||void 0===t||t.call(f,e)},onBlur:function(e){var t;null==f||null===(t=f.onBlur)||void 0===t||t.call(f,e)},onKeyDown:function(e){32===e.keyCode&&(E(e),e.preventDefault())},tabIndex:I,role:"switch",type:"checkbox","aria-pressed":f.checked,"aria-invalid":f.invalid,disabled:f.disabled,readOnly:f.readonly,value:f.checked,checked:f.checked},g("input")),L=i({className:v("box",{hasIcon:O,hasLabel:h})},g("box"));return u.createElement(u.Fragment,null,u.createElement("div",D,u.createElement("input",x),u.createElement("div",L,N,u.createElement("span",w,P),u.createElement(l.Ripple,null))),k&&u.createElement(a.Tooltip,s({target:b,content:f.tooltip,pt:g("tooltip")},f.tooltipOptions)))})));return v.displayName="ToggleButton",e.ToggleButton=v,Object.defineProperty(e,"__esModule",{value:!0}),e}({},React,primereact.api,primereact.componentbase,primereact.hooks,primereact.ripple,primereact.tooltip,primereact.utils);
@@ -34,18 +34,13 @@ var React__namespace = /*#__PURE__*/_interopNamespace(React);
34
34
  var PrimeReact__default = /*#__PURE__*/_interopDefaultLegacy(PrimeReact);
35
35
 
36
36
  function _extends() {
37
- _extends = Object.assign ? Object.assign.bind() : function (target) {
38
- for (var i = 1; i < arguments.length; i++) {
39
- var source = arguments[i];
40
- for (var key in source) {
41
- if (Object.prototype.hasOwnProperty.call(source, key)) {
42
- target[key] = source[key];
43
- }
44
- }
37
+ return _extends = Object.assign ? Object.assign.bind() : function (n) {
38
+ for (var e = 1; e < arguments.length; e++) {
39
+ var t = arguments[e];
40
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
45
41
  }
46
- return target;
47
- };
48
- return _extends.apply(this, arguments);
42
+ return n;
43
+ }, _extends.apply(null, arguments);
49
44
  }
50
45
 
51
46
  function _typeof(o) {
@@ -58,70 +53,63 @@ function _typeof(o) {
58
53
  }, _typeof(o);
59
54
  }
60
55
 
61
- function _toPrimitive(input, hint) {
62
- if (_typeof(input) !== "object" || input === null) return input;
63
- var prim = input[Symbol.toPrimitive];
64
- if (prim !== undefined) {
65
- var res = prim.call(input, hint || "default");
66
- if (_typeof(res) !== "object") return res;
56
+ function toPrimitive(t, r) {
57
+ if ("object" != _typeof(t) || !t) return t;
58
+ var e = t[Symbol.toPrimitive];
59
+ if (void 0 !== e) {
60
+ var i = e.call(t, r || "default");
61
+ if ("object" != _typeof(i)) return i;
67
62
  throw new TypeError("@@toPrimitive must return a primitive value.");
68
63
  }
69
- return (hint === "string" ? String : Number)(input);
64
+ return ("string" === r ? String : Number)(t);
70
65
  }
71
66
 
72
- function _toPropertyKey(arg) {
73
- var key = _toPrimitive(arg, "string");
74
- return _typeof(key) === "symbol" ? key : String(key);
67
+ function toPropertyKey(t) {
68
+ var i = toPrimitive(t, "string");
69
+ return "symbol" == _typeof(i) ? i : i + "";
75
70
  }
76
71
 
77
- function _defineProperty(obj, key, value) {
78
- key = _toPropertyKey(key);
79
- if (key in obj) {
80
- Object.defineProperty(obj, key, {
81
- value: value,
82
- enumerable: true,
83
- configurable: true,
84
- writable: true
85
- });
86
- } else {
87
- obj[key] = value;
88
- }
89
- return obj;
72
+ function _defineProperty(e, r, t) {
73
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
74
+ value: t,
75
+ enumerable: !0,
76
+ configurable: !0,
77
+ writable: !0
78
+ }) : e[r] = t, e;
90
79
  }
91
80
 
92
- function _arrayLikeToArray(arr, len) {
93
- if (len == null || len > arr.length) len = arr.length;
94
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
95
- return arr2;
81
+ function _arrayLikeToArray(r, a) {
82
+ (null == a || a > r.length) && (a = r.length);
83
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
84
+ return n;
96
85
  }
97
86
 
98
- function _arrayWithoutHoles(arr) {
99
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
87
+ function _arrayWithoutHoles(r) {
88
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
100
89
  }
101
90
 
102
- function _iterableToArray(iter) {
103
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
91
+ function _iterableToArray(r) {
92
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
104
93
  }
105
94
 
106
- function _unsupportedIterableToArray(o, minLen) {
107
- if (!o) return;
108
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
109
- var n = Object.prototype.toString.call(o).slice(8, -1);
110
- if (n === "Object" && o.constructor) n = o.constructor.name;
111
- if (n === "Map" || n === "Set") return Array.from(o);
112
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
95
+ function _unsupportedIterableToArray(r, a) {
96
+ if (r) {
97
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
98
+ var t = {}.toString.call(r).slice(8, -1);
99
+ 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;
100
+ }
113
101
  }
114
102
 
115
103
  function _nonIterableSpread() {
116
104
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
117
105
  }
118
106
 
119
- function _toConsumableArray(arr) {
120
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
107
+ function _toConsumableArray(r) {
108
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
121
109
  }
122
110
 
123
- function _arrayWithHoles(arr) {
124
- if (Array.isArray(arr)) return arr;
111
+ function _arrayWithHoles(r) {
112
+ if (Array.isArray(r)) return r;
125
113
  }
126
114
 
127
115
  function _iterableToArrayLimit(r, l) {
@@ -156,8 +144,8 @@ function _nonIterableRest() {
156
144
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
157
145
  }
158
146
 
159
- function _slicedToArray(arr, i) {
160
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
147
+ function _slicedToArray(r, e) {
148
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
161
149
  }
162
150
 
163
151
  var classes = {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react"),e=require("primereact/api"),r=require("primereact/componentbase"),n=require("primereact/hooks"),o=require("primereact/portal"),i=require("primereact/utils");function a(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}function u(t){if(t&&t.__esModule)return t;var e=Object.create(null);return t&&Object.keys(t).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return t[r]}})}})),e.default=t,Object.freeze(e)}var l=u(t),c=a(e);function s(){return s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},s.apply(this,arguments)}function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function f(t,e){if("object"!==p(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==p(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function d(t){var e=f(t,"string");return"symbol"===p(e)?e:String(e)}function m(t,e,r){return(e=d(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function v(t){if(Array.isArray(t))return h(t)}function y(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function b(t,e){if(t){if("string"==typeof t)return h(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(t,e):void 0}}function g(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function w(t){if(Array.isArray(t))return t}function E(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],l=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(t){c=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}function O(){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(t,e){return w(t)||E(t,e)||b(t,e)||O()}var S=r.ComponentBase.extend({defaultProps:{__TYPE:"Tooltip",appendTo:null,at:null,autoHide:!0,autoZIndex:!0,baseZIndex:0,className:null,closeOnEscape:!1,content:null,disabled:!1,event:null,hideDelay:0,hideEvent:"mouseleave",id:null,mouseTrack:!1,mouseTrackLeft:5,mouseTrackTop:5,my:null,onBeforeHide:null,onBeforeShow:null,onHide:null,onShow:null,position:"right",showDelay:0,showEvent:"mouseenter",showOnDisabled:!1,style:null,target:null,updateDelay:0,children:void 0},css:{classes:{root:function(t){var e=t.classNameState;return i.classNames("p-tooltip p-component",m({},"p-tooltip-".concat(t.positionState),!0),e)},arrow:"p-tooltip-arrow",text:"p-tooltip-text"},styles:"\n@layer primereact {\n .p-tooltip {\n position: absolute;\n padding: .25em .5rem;\n /* #3687: Tooltip prevent scrollbar flickering */\n top: -9999px;\n left: -9999px;\n }\n \n .p-tooltip.p-tooltip-right,\n .p-tooltip.p-tooltip-left {\n padding: 0 .25rem;\n }\n \n .p-tooltip.p-tooltip-top,\n .p-tooltip.p-tooltip-bottom {\n padding:.25em 0;\n }\n \n .p-tooltip .p-tooltip-text {\n white-space: pre-line;\n word-break: break-word;\n }\n \n .p-tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n }\n \n .p-tooltip-right .p-tooltip-arrow {\n top: 50%;\n left: 0;\n margin-top: -.25rem;\n border-width: .25em .25em .25em 0;\n }\n \n .p-tooltip-left .p-tooltip-arrow {\n top: 50%;\n right: 0;\n margin-top: -.25rem;\n border-width: .25em 0 .25em .25rem;\n }\n \n .p-tooltip.p-tooltip-top {\n padding: .25em 0;\n }\n \n .p-tooltip-top .p-tooltip-arrow {\n bottom: 0;\n left: 50%;\n margin-left: -.25rem;\n border-width: .25em .25em 0;\n }\n \n .p-tooltip-bottom .p-tooltip-arrow {\n top: 0;\n left: 50%;\n margin-left: -.25rem;\n border-width: 0 .25em .25rem;\n }\n\n .p-tooltip-target-wrapper {\n display: inline-flex;\n }\n}\n",inlineStyles:{arrow:function(t){var e=t.context;return{top:e.bottom?"0":e.right||e.left||!e.right&&!e.left&&!e.top&&!e.bottom?"50%":null,bottom:e.top?"0":null,left:!e.right&&(e.right||e.left||e.top||e.bottom)?e.top||e.bottom?"50%":null:"0",right:e.left?"0":null}}}}});function T(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function j(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?T(Object(r),!0).forEach((function(e){m(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var D=l.memo(l.forwardRef((function(t,a){var u=n.useMergeProps(),p=l.useContext(e.PrimeReactContext),f=S.getProps(t,p),d=x(l.useState(!1),2),m=d[0],h=d[1],w=x(l.useState(f.position||"right"),2),E=w[0],O=w[1],T=x(l.useState(""),2),D=T[0],H=T[1],P=x(l.useState(!1),2),I=P[0],k=P[1],N={props:f,state:{visible:m,position:E,className:D},context:{right:"right"===E,left:"left"===E,top:"top"===E,bottom:"bottom"===E}},C=S.setMetaData(N),A=C.ptm,L=C.cx,R=C.sx;r.useHandleStyle(S.css.styles,C.isUnstyled,{name:"tooltip"}),n.useGlobalOnEscapeKey({callback:function(){lt()},when:f.closeOnEscape,priority:[n.ESC_KEY_HANDLING_PRIORITIES.TOOLTIP,0]});var U=l.useRef(null),M=l.useRef(null),Z=l.useRef(null),_=l.useRef(null),W=l.useRef(!0),q=l.useRef({}),B=l.useRef(null),z=x(n.useResizeListener({listener:function(t){!i.DomHandler.isTouchDevice()&&lt(t)}}),2),F=z[0],Y=z[1],G=x(n.useOverlayScrollListener({target:Z.current,listener:function(t){lt(t)},when:m}),2),K=G[0],X=G[1],$=function(t){return tt(t,"mousetrack")||f.mouseTrack},J=function(t){return"true"===tt(t,"disabled")||et(t,"disabled")||f.disabled},Q=function(t){return tt(t,"showondisabled")||f.showOnDisabled},V=function(){return tt(Z.current,"autohide")||f.autoHide},tt=function(t,e){return et(t,"data-pr-".concat(e))?t.getAttribute("data-pr-".concat(e)):null},et=function(t,e){return t&&t.hasAttribute(e)},rt=function(t){var e=[tt(t,"showevent")||f.showEvent],r=[tt(t,"hideevent")||f.hideEvent];if($(t))e=["mousemove"],r=["mouseleave"];else{var n=tt(t,"event")||f.event;"focus"===n&&(e=["focus"],r=["blur"]),"both"===n&&(e=["focus","mouseenter"],r=I?["blur"]:["mouseleave","blur"])}return{showEvents:e,hideEvents:r}},nt=function(t){return tt(t,"position")||E},ot=function(t){return{top:tt(t,"mousetracktop")||f.mouseTrackTop,left:tt(t,"mousetrackleft")||f.mouseTrackLeft}},it=function(t,e){if(M.current){var r=tt(t,"tooltip")||f.content;r?(M.current.innerHTML="",M.current.appendChild(document.createTextNode(r)),e()):f.children&&e()}},at=function(t){it(Z.current,(function(){var e=B.current,r=e.pageX,n=e.pageY;f.autoZIndex&&!i.ZIndexUtils.get(U.current)&&i.ZIndexUtils.set("tooltip",U.current,p&&p.autoZIndex||c.default.autoZIndex,f.baseZIndex||p&&p.zIndex.tooltip||c.default.zIndex.tooltip),U.current.style.left="",U.current.style.top="",V()&&(U.current.style.pointerEvents="none");var o=$(Z.current)||"mouse"===t;(o&&!_.current||o)&&(_.current={width:i.DomHandler.getOuterWidth(U.current),height:i.DomHandler.getOuterHeight(U.current)}),ct(Z.current,{x:r,y:n},t)}))},ut=function(t){t.type&&"focus"===t.type&&k(!0),Z.current=t.currentTarget;var e,r=J(Z.current);(e=Q(Z.current)&&r?Z.current.firstChild:Z.current,!(f.content||tt(e,"tooltip")||f.children))||r||(B.current=t,m?mt("updateDelay",at):ht(f.onBeforeShow,{originalEvent:t,target:Z.current})&&mt("showDelay",(function(){h(!0),ht(f.onShow,{originalEvent:t,target:Z.current})})))},lt=function(t){(t&&"blur"===t.type&&k(!1),vt(),m)&&(ht(f.onBeforeHide,{originalEvent:t,target:Z.current})&&mt("hideDelay",(function(){(V()||!1!==W.current)&&(i.ZIndexUtils.clear(U.current),i.DomHandler.removeClass(U.current,"p-tooltip-active"),h(!1),ht(f.onHide,{originalEvent:t,target:Z.current}))})))},ct=function(t,e,r){var n=0,o=0,a=r||E;if(($(t)||"mouse"==a)&&e){var u={width:i.DomHandler.getOuterWidth(U.current),height:i.DomHandler.getOuterHeight(U.current)};n=e.x,o=e.y;var l=ot(t),c=l.top,s=l.left;switch(a){case"left":n-=u.width+s,o-=u.height/2-c;break;case"right":case"mouse":n+=s,o-=u.height/2-c;break;case"top":n-=u.width/2-s,o-=u.height+c;break;case"bottom":n-=u.width/2-s,o+=c}n<=0||_.current.width>u.width?(U.current.style.left="0px",U.current.style.right=window.innerWidth-u.width-n+"px"):(U.current.style.right="",U.current.style.left=n+"px"),U.current.style.top=o+"px",i.DomHandler.addClass(U.current,"p-tooltip-active")}else{var p=i.DomHandler.findCollisionPosition(a),d=tt(t,"my")||f.my||p.my,m=tt(t,"at")||f.at||p.at;U.current.style.padding="0px",i.DomHandler.flipfitCollision(U.current,t,d,m,(function(t){var e=t.at,r=e.x,n=f.at?"center"!==r&&r!==t.my.x?r:e.y:t.at["".concat(p.axis)];U.current.style.padding="",O(n),st(n),i.DomHandler.addClass(U.current,"p-tooltip-active")}))}},st=function(t){if(U.current){var e=getComputedStyle(U.current);"left"===t?U.current.style.left=parseFloat(e.left)-2*parseFloat(e.paddingLeft)+"px":"top"===t&&(U.current.style.top=parseFloat(e.top)-2*parseFloat(e.paddingTop)+"px")}},pt=function(t){V()||(W.current=!0,lt(t))},ft=function(t){if(t){var e=rt(t),r=e.showEvents,n=e.hideEvents,o=yt(t);r.forEach((function(t){return null==o?void 0:o.addEventListener(t,ut)})),n.forEach((function(t){return null==o?void 0:o.addEventListener(t,lt)}))}},dt=function(t){if(t){var e=rt(t),r=e.showEvents,n=e.hideEvents,o=yt(t);r.forEach((function(t){return null==o?void 0:o.removeEventListener(t,ut)})),n.forEach((function(t){return null==o?void 0:o.removeEventListener(t,lt)}))}},mt=function(t,e){vt();var r=tt(Z.current,t.toLowerCase())||f[t];r?q.current["".concat(t)]=setTimeout((function(){return e()}),r):e()},ht=function(t){if(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];var o=t.apply(void 0,r);return void 0===o&&(o=!0),o}return!0},vt=function(){Object.values(q.current).forEach((function(t){return clearTimeout(t)}))},yt=function(t){if(t){if(Q(t)){if(!t.hasWrapper){var e=document.createElement("div");return"INPUT"===t.nodeName?i.DomHandler.addMultipleClasses(e,"p-tooltip-target-wrapper p-inputwrapper"):i.DomHandler.addClass(e,"p-tooltip-target-wrapper"),t.parentNode.insertBefore(e,t),e.appendChild(t),t.hasWrapper=!0,e}return t.parentElement}var r;return t.hasWrapper&&((r=t.parentElement).replaceWith.apply(r,v(n=t.parentElement.childNodes)||y(n)||b(n)||g()),delete t.hasWrapper),t}var n;return null},bt=function(t){wt(t),gt(t)},gt=function(t){Et(t||f.target,ft)},wt=function(t){Et(t||f.target,dt)},Et=function(t,e){if(t=i.ObjectUtils.getRefElement(t))if(i.DomHandler.isElement(t))e(t);else{var r=function(t){i.DomHandler.find(document,t).forEach((function(t){e(t)}))};t instanceof Array?t.forEach((function(t){r(t)})):r(t)}};n.useMountEffect((function(){m&&Z.current&&J(Z.current)&&lt()})),n.useUpdateEffect((function(){return gt(),function(){wt()}}),[ut,lt,f.target]),n.useUpdateEffect((function(){if(m){var t=nt(Z.current),e=tt(Z.current,"classname");O(t),H(e),at(t),F(),K()}else O(f.position||"right"),H(""),Z.current=null,_.current=null,W.current=!0;return function(){Y(),X()}}),[m]),n.useUpdateEffect((function(){var t=nt(Z.current);m&&"mouse"!==t&&mt("updateDelay",(function(){it(Z.current,(function(){ct(Z.current)}))}))}),[f.content]),n.useUnmountEffect((function(){lt(),i.ZIndexUtils.clear(U.current)})),l.useImperativeHandle(a,(function(){return{props:f,updateTargetEvents:bt,loadTargetEvents:gt,unloadTargetEvents:wt,show:ut,hide:lt,getElement:function(){return U.current},getTarget:function(){return Z.current}}}));var Ot,xt,St,Tt,jt;if(m){var Dt=(Ot=Z.current,xt=!(f.content||tt(Ot,"tooltip")),St=u({id:f.id,className:i.classNames(f.className,L("root",{positionState:E,classNameState:D})),style:f.style,role:"tooltip","aria-hidden":m,onMouseEnter:function(t){V()||(W.current=!1)},onMouseLeave:function(t){return pt(t)}},S.getOtherProps(f),A("root")),Tt=u({className:L("arrow"),style:R("arrow",j({},N))},A("arrow")),jt=u({className:L("text")},A("text")),l.createElement("div",s({ref:U},St),l.createElement("div",Tt),l.createElement("div",s({ref:M},jt),xt&&f.children)));return l.createElement(o.Portal,{element:Dt,appendTo:f.appendTo,visible:!0})}return null})));D.displayName="Tooltip",exports.Tooltip=D;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react"),e=require("primereact/api"),r=require("primereact/componentbase"),n=require("primereact/hooks"),o=require("primereact/portal"),i=require("primereact/utils");function a(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}function u(t){if(t&&t.__esModule)return t;var e=Object.create(null);return t&&Object.keys(t).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:function(){return t[r]}})}})),e.default=t,Object.freeze(e)}var l=u(t),c=a(e);function s(){return s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},s.apply(null,arguments)}function p(t){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},p(t)}function f(t,e){if("object"!=p(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=p(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function d(t){var e=f(t,"string");return"symbol"==p(e)?e:e+""}function m(t,e,r){return(e=d(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function v(t){if(Array.isArray(t))return h(t)}function y(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function b(t,e){if(t){if("string"==typeof t)return h(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(t,e):void 0}}function g(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function w(t){if(Array.isArray(t))return t}function E(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],l=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(t){c=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}function O(){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(t,e){return w(t)||E(t,e)||b(t,e)||O()}var S=r.ComponentBase.extend({defaultProps:{__TYPE:"Tooltip",appendTo:null,at:null,autoHide:!0,autoZIndex:!0,baseZIndex:0,className:null,closeOnEscape:!1,content:null,disabled:!1,event:null,hideDelay:0,hideEvent:"mouseleave",id:null,mouseTrack:!1,mouseTrackLeft:5,mouseTrackTop:5,my:null,onBeforeHide:null,onBeforeShow:null,onHide:null,onShow:null,position:"right",showDelay:0,showEvent:"mouseenter",showOnDisabled:!1,style:null,target:null,updateDelay:0,children:void 0},css:{classes:{root:function(t){var e=t.classNameState;return i.classNames("p-tooltip p-component",m({},"p-tooltip-".concat(t.positionState),!0),e)},arrow:"p-tooltip-arrow",text:"p-tooltip-text"},styles:"\n@layer primereact {\n .p-tooltip {\n position: absolute;\n padding: .25em .5rem;\n /* #3687: Tooltip prevent scrollbar flickering */\n top: -9999px;\n left: -9999px;\n }\n \n .p-tooltip.p-tooltip-right,\n .p-tooltip.p-tooltip-left {\n padding: 0 .25rem;\n }\n \n .p-tooltip.p-tooltip-top,\n .p-tooltip.p-tooltip-bottom {\n padding:.25em 0;\n }\n \n .p-tooltip .p-tooltip-text {\n white-space: pre-line;\n word-break: break-word;\n }\n \n .p-tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n }\n \n .p-tooltip-right .p-tooltip-arrow {\n top: 50%;\n left: 0;\n margin-top: -.25rem;\n border-width: .25em .25em .25em 0;\n }\n \n .p-tooltip-left .p-tooltip-arrow {\n top: 50%;\n right: 0;\n margin-top: -.25rem;\n border-width: .25em 0 .25em .25rem;\n }\n \n .p-tooltip.p-tooltip-top {\n padding: .25em 0;\n }\n \n .p-tooltip-top .p-tooltip-arrow {\n bottom: 0;\n left: 50%;\n margin-left: -.25rem;\n border-width: .25em .25em 0;\n }\n \n .p-tooltip-bottom .p-tooltip-arrow {\n top: 0;\n left: 50%;\n margin-left: -.25rem;\n border-width: 0 .25em .25rem;\n }\n\n .p-tooltip-target-wrapper {\n display: inline-flex;\n }\n}\n",inlineStyles:{arrow:function(t){var e=t.context;return{top:e.bottom?"0":e.right||e.left||!e.right&&!e.left&&!e.top&&!e.bottom?"50%":null,bottom:e.top?"0":null,left:!e.right&&(e.right||e.left||e.top||e.bottom)?e.top||e.bottom?"50%":null:"0",right:e.left?"0":null}}}}});function T(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function D(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?T(Object(r),!0).forEach((function(e){m(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var j=l.memo(l.forwardRef((function(t,a){var u=n.useMergeProps(),p=l.useContext(e.PrimeReactContext),f=S.getProps(t,p),d=x(l.useState(!1),2),m=d[0],h=d[1],w=x(l.useState(f.position||"right"),2),E=w[0],O=w[1],T=x(l.useState(""),2),j=T[0],H=T[1],P=x(l.useState(!1),2),I=P[0],k=P[1],N={props:f,state:{visible:m,position:E,className:j},context:{right:"right"===E,left:"left"===E,top:"top"===E,bottom:"bottom"===E}},C=S.setMetaData(N),A=C.ptm,L=C.cx,R=C.sx;r.useHandleStyle(S.css.styles,C.isUnstyled,{name:"tooltip"}),n.useGlobalOnEscapeKey({callback:function(){lt()},when:f.closeOnEscape,priority:[n.ESC_KEY_HANDLING_PRIORITIES.TOOLTIP,0]});var U=l.useRef(null),M=l.useRef(null),Z=l.useRef(null),_=l.useRef(null),W=l.useRef(!0),q=l.useRef({}),B=l.useRef(null),z=x(n.useResizeListener({listener:function(t){!i.DomHandler.isTouchDevice()&&lt(t)}}),2),F=z[0],Y=z[1],G=x(n.useOverlayScrollListener({target:Z.current,listener:function(t){lt(t)},when:m}),2),K=G[0],X=G[1],$=function(t){return tt(t,"mousetrack")||f.mouseTrack},J=function(t){return"true"===tt(t,"disabled")||et(t,"disabled")||f.disabled},Q=function(t){return tt(t,"showondisabled")||f.showOnDisabled},V=function(){return tt(Z.current,"autohide")||f.autoHide},tt=function(t,e){return et(t,"data-pr-".concat(e))?t.getAttribute("data-pr-".concat(e)):null},et=function(t,e){return t&&t.hasAttribute(e)},rt=function(t){var e=[tt(t,"showevent")||f.showEvent],r=[tt(t,"hideevent")||f.hideEvent];if($(t))e=["mousemove"],r=["mouseleave"];else{var n=tt(t,"event")||f.event;"focus"===n&&(e=["focus"],r=["blur"]),"both"===n&&(e=["focus","mouseenter"],r=I?["blur"]:["mouseleave","blur"])}return{showEvents:e,hideEvents:r}},nt=function(t){return tt(t,"position")||E},ot=function(t){return{top:tt(t,"mousetracktop")||f.mouseTrackTop,left:tt(t,"mousetrackleft")||f.mouseTrackLeft}},it=function(t,e){if(M.current){var r=tt(t,"tooltip")||f.content;r?(M.current.innerHTML="",M.current.appendChild(document.createTextNode(r)),e()):f.children&&e()}},at=function(t){it(Z.current,(function(){var e=B.current,r=e.pageX,n=e.pageY;f.autoZIndex&&!i.ZIndexUtils.get(U.current)&&i.ZIndexUtils.set("tooltip",U.current,p&&p.autoZIndex||c.default.autoZIndex,f.baseZIndex||p&&p.zIndex.tooltip||c.default.zIndex.tooltip),U.current.style.left="",U.current.style.top="",V()&&(U.current.style.pointerEvents="none");var o=$(Z.current)||"mouse"===t;(o&&!_.current||o)&&(_.current={width:i.DomHandler.getOuterWidth(U.current),height:i.DomHandler.getOuterHeight(U.current)}),ct(Z.current,{x:r,y:n},t)}))},ut=function(t){t.type&&"focus"===t.type&&k(!0),Z.current=t.currentTarget;var e,r=J(Z.current);(e=Q(Z.current)&&r?Z.current.firstChild:Z.current,!(f.content||tt(e,"tooltip")||f.children))||r||(B.current=t,m?mt("updateDelay",at):ht(f.onBeforeShow,{originalEvent:t,target:Z.current})&&mt("showDelay",(function(){h(!0),ht(f.onShow,{originalEvent:t,target:Z.current})})))},lt=function(t){(t&&"blur"===t.type&&k(!1),vt(),m)&&(ht(f.onBeforeHide,{originalEvent:t,target:Z.current})&&mt("hideDelay",(function(){(V()||!1!==W.current)&&(i.ZIndexUtils.clear(U.current),i.DomHandler.removeClass(U.current,"p-tooltip-active"),h(!1),ht(f.onHide,{originalEvent:t,target:Z.current}))})))},ct=function(t,e,r){var n=0,o=0,a=r||E;if(($(t)||"mouse"==a)&&e){var u={width:i.DomHandler.getOuterWidth(U.current),height:i.DomHandler.getOuterHeight(U.current)};n=e.x,o=e.y;var l=ot(t),c=l.top,s=l.left;switch(a){case"left":n-=u.width+s,o-=u.height/2-c;break;case"right":case"mouse":n+=s,o-=u.height/2-c;break;case"top":n-=u.width/2-s,o-=u.height+c;break;case"bottom":n-=u.width/2-s,o+=c}n<=0||_.current.width>u.width?(U.current.style.left="0px",U.current.style.right=window.innerWidth-u.width-n+"px"):(U.current.style.right="",U.current.style.left=n+"px"),U.current.style.top=o+"px",i.DomHandler.addClass(U.current,"p-tooltip-active")}else{var p=i.DomHandler.findCollisionPosition(a),d=tt(t,"my")||f.my||p.my,m=tt(t,"at")||f.at||p.at;U.current.style.padding="0px",i.DomHandler.flipfitCollision(U.current,t,d,m,(function(t){var e=t.at,r=e.x,n=f.at?"center"!==r&&r!==t.my.x?r:e.y:t.at["".concat(p.axis)];U.current.style.padding="",O(n),st(n),i.DomHandler.addClass(U.current,"p-tooltip-active")}))}},st=function(t){if(U.current){var e=getComputedStyle(U.current);"left"===t?U.current.style.left=parseFloat(e.left)-2*parseFloat(e.paddingLeft)+"px":"top"===t&&(U.current.style.top=parseFloat(e.top)-2*parseFloat(e.paddingTop)+"px")}},pt=function(t){V()||(W.current=!0,lt(t))},ft=function(t){if(t){var e=rt(t),r=e.showEvents,n=e.hideEvents,o=yt(t);r.forEach((function(t){return null==o?void 0:o.addEventListener(t,ut)})),n.forEach((function(t){return null==o?void 0:o.addEventListener(t,lt)}))}},dt=function(t){if(t){var e=rt(t),r=e.showEvents,n=e.hideEvents,o=yt(t);r.forEach((function(t){return null==o?void 0:o.removeEventListener(t,ut)})),n.forEach((function(t){return null==o?void 0:o.removeEventListener(t,lt)}))}},mt=function(t,e){vt();var r=tt(Z.current,t.toLowerCase())||f[t];r?q.current["".concat(t)]=setTimeout((function(){return e()}),r):e()},ht=function(t){if(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];var o=t.apply(void 0,r);return void 0===o&&(o=!0),o}return!0},vt=function(){Object.values(q.current).forEach((function(t){return clearTimeout(t)}))},yt=function(t){if(t){if(Q(t)){if(!t.hasWrapper){var e=document.createElement("div");return"INPUT"===t.nodeName?i.DomHandler.addMultipleClasses(e,"p-tooltip-target-wrapper p-inputwrapper"):i.DomHandler.addClass(e,"p-tooltip-target-wrapper"),t.parentNode.insertBefore(e,t),e.appendChild(t),t.hasWrapper=!0,e}return t.parentElement}var r;return t.hasWrapper&&((r=t.parentElement).replaceWith.apply(r,v(n=t.parentElement.childNodes)||y(n)||b(n)||g()),delete t.hasWrapper),t}var n;return null},bt=function(t){wt(t),gt(t)},gt=function(t){Et(t||f.target,ft)},wt=function(t){Et(t||f.target,dt)},Et=function(t,e){if(t=i.ObjectUtils.getRefElement(t))if(i.DomHandler.isElement(t))e(t);else{var r=function(t){i.DomHandler.find(document,t).forEach((function(t){e(t)}))};t instanceof Array?t.forEach((function(t){r(t)})):r(t)}};n.useMountEffect((function(){m&&Z.current&&J(Z.current)&&lt()})),n.useUpdateEffect((function(){return gt(),function(){wt()}}),[ut,lt,f.target]),n.useUpdateEffect((function(){if(m){var t=nt(Z.current),e=tt(Z.current,"classname");O(t),H(e),at(t),F(),K()}else O(f.position||"right"),H(""),Z.current=null,_.current=null,W.current=!0;return function(){Y(),X()}}),[m]),n.useUpdateEffect((function(){var t=nt(Z.current);m&&"mouse"!==t&&mt("updateDelay",(function(){it(Z.current,(function(){ct(Z.current)}))}))}),[f.content]),n.useUnmountEffect((function(){lt(),i.ZIndexUtils.clear(U.current)})),l.useImperativeHandle(a,(function(){return{props:f,updateTargetEvents:bt,loadTargetEvents:gt,unloadTargetEvents:wt,show:ut,hide:lt,getElement:function(){return U.current},getTarget:function(){return Z.current}}}));var Ot,xt,St,Tt,Dt;if(m){var jt=(Ot=Z.current,xt=!(f.content||tt(Ot,"tooltip")),St=u({id:f.id,className:i.classNames(f.className,L("root",{positionState:E,classNameState:j})),style:f.style,role:"tooltip","aria-hidden":m,onMouseEnter:function(t){V()||(W.current=!1)},onMouseLeave:function(t){return pt(t)}},S.getOtherProps(f),A("root")),Tt=u({className:L("arrow"),style:R("arrow",D({},N))},A("arrow")),Dt=u({className:L("text")},A("text")),l.createElement("div",s({ref:U},St),l.createElement("div",Tt),l.createElement("div",s({ref:M},Dt),xt&&f.children)));return l.createElement(o.Portal,{element:jt,appendTo:f.appendTo,visible:!0})}return null})));j.displayName="Tooltip",exports.Tooltip=j;
@@ -7,18 +7,13 @@ import { Portal } from 'primereact/portal';
7
7
  import { classNames, DomHandler, ZIndexUtils, ObjectUtils } from 'primereact/utils';
8
8
 
9
9
  function _extends() {
10
- _extends = Object.assign ? Object.assign.bind() : function (target) {
11
- for (var i = 1; i < arguments.length; i++) {
12
- var source = arguments[i];
13
- for (var key in source) {
14
- if (Object.prototype.hasOwnProperty.call(source, key)) {
15
- target[key] = source[key];
16
- }
17
- }
10
+ return _extends = Object.assign ? Object.assign.bind() : function (n) {
11
+ for (var e = 1; e < arguments.length; e++) {
12
+ var t = arguments[e];
13
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
18
14
  }
19
- return target;
20
- };
21
- return _extends.apply(this, arguments);
15
+ return n;
16
+ }, _extends.apply(null, arguments);
22
17
  }
23
18
 
24
19
  function _typeof(o) {
@@ -31,70 +26,63 @@ function _typeof(o) {
31
26
  }, _typeof(o);
32
27
  }
33
28
 
34
- function _toPrimitive(input, hint) {
35
- if (_typeof(input) !== "object" || input === null) return input;
36
- var prim = input[Symbol.toPrimitive];
37
- if (prim !== undefined) {
38
- var res = prim.call(input, hint || "default");
39
- if (_typeof(res) !== "object") return res;
29
+ function toPrimitive(t, r) {
30
+ if ("object" != _typeof(t) || !t) return t;
31
+ var e = t[Symbol.toPrimitive];
32
+ if (void 0 !== e) {
33
+ var i = e.call(t, r || "default");
34
+ if ("object" != _typeof(i)) return i;
40
35
  throw new TypeError("@@toPrimitive must return a primitive value.");
41
36
  }
42
- return (hint === "string" ? String : Number)(input);
37
+ return ("string" === r ? String : Number)(t);
43
38
  }
44
39
 
45
- function _toPropertyKey(arg) {
46
- var key = _toPrimitive(arg, "string");
47
- return _typeof(key) === "symbol" ? key : String(key);
40
+ function toPropertyKey(t) {
41
+ var i = toPrimitive(t, "string");
42
+ return "symbol" == _typeof(i) ? i : i + "";
48
43
  }
49
44
 
50
- function _defineProperty(obj, key, value) {
51
- key = _toPropertyKey(key);
52
- if (key in obj) {
53
- Object.defineProperty(obj, key, {
54
- value: value,
55
- enumerable: true,
56
- configurable: true,
57
- writable: true
58
- });
59
- } else {
60
- obj[key] = value;
61
- }
62
- return obj;
45
+ function _defineProperty(e, r, t) {
46
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
47
+ value: t,
48
+ enumerable: !0,
49
+ configurable: !0,
50
+ writable: !0
51
+ }) : e[r] = t, e;
63
52
  }
64
53
 
65
- function _arrayLikeToArray(arr, len) {
66
- if (len == null || len > arr.length) len = arr.length;
67
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
68
- return arr2;
54
+ function _arrayLikeToArray(r, a) {
55
+ (null == a || a > r.length) && (a = r.length);
56
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
57
+ return n;
69
58
  }
70
59
 
71
- function _arrayWithoutHoles(arr) {
72
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
60
+ function _arrayWithoutHoles(r) {
61
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
73
62
  }
74
63
 
75
- function _iterableToArray(iter) {
76
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
64
+ function _iterableToArray(r) {
65
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
77
66
  }
78
67
 
79
- function _unsupportedIterableToArray(o, minLen) {
80
- if (!o) return;
81
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
82
- var n = Object.prototype.toString.call(o).slice(8, -1);
83
- if (n === "Object" && o.constructor) n = o.constructor.name;
84
- if (n === "Map" || n === "Set") return Array.from(o);
85
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
68
+ function _unsupportedIterableToArray(r, a) {
69
+ if (r) {
70
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
71
+ var t = {}.toString.call(r).slice(8, -1);
72
+ 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;
73
+ }
86
74
  }
87
75
 
88
76
  function _nonIterableSpread() {
89
77
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
90
78
  }
91
79
 
92
- function _toConsumableArray(arr) {
93
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
80
+ function _toConsumableArray(r) {
81
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
94
82
  }
95
83
 
96
- function _arrayWithHoles(arr) {
97
- if (Array.isArray(arr)) return arr;
84
+ function _arrayWithHoles(r) {
85
+ if (Array.isArray(r)) return r;
98
86
  }
99
87
 
100
88
  function _iterableToArrayLimit(r, l) {
@@ -129,8 +117,8 @@ function _nonIterableRest() {
129
117
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
130
118
  }
131
119
 
132
- function _slicedToArray(arr, i) {
133
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
120
+ function _slicedToArray(r, e) {
121
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
134
122
  }
135
123
 
136
124
  var classes = {
@@ -1 +1 @@
1
- import*as t from"react";import e,{PrimeReactContext as r}from"primereact/api";import{ComponentBase as n,useHandleStyle as o}from"primereact/componentbase";import{useMergeProps as i,useGlobalOnEscapeKey as a,ESC_KEY_HANDLING_PRIORITIES as u,useResizeListener as l,useOverlayScrollListener as c,useMountEffect as p,useUpdateEffect as s,useUnmountEffect as f}from"primereact/hooks";import{Portal as d}from"primereact/portal";import{classNames as m,DomHandler as h,ZIndexUtils as v,ObjectUtils as y}from"primereact/utils";function b(){return b=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},b.apply(this,arguments)}function g(t){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}function w(t,e){if("object"!==g(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==g(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function E(t){var e=w(t,"string");return"symbol"===g(e)?e:String(e)}function O(t,e,r){return(e=E(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function x(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function S(t){if(Array.isArray(t))return x(t)}function T(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function j(t,e){if(t){if("string"==typeof t)return x(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?x(t,e):void 0}}function P(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function k(t){if(Array.isArray(t))return t}function I(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],l=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(t){c=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}function D(){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 N(t,e){return k(t)||I(t,e)||j(t,e)||D()}var C=n.extend({defaultProps:{__TYPE:"Tooltip",appendTo:null,at:null,autoHide:!0,autoZIndex:!0,baseZIndex:0,className:null,closeOnEscape:!1,content:null,disabled:!1,event:null,hideDelay:0,hideEvent:"mouseleave",id:null,mouseTrack:!1,mouseTrackLeft:5,mouseTrackTop:5,my:null,onBeforeHide:null,onBeforeShow:null,onHide:null,onShow:null,position:"right",showDelay:0,showEvent:"mouseenter",showOnDisabled:!1,style:null,target:null,updateDelay:0,children:void 0},css:{classes:{root:function(t){var e=t.classNameState;return m("p-tooltip p-component",O({},"p-tooltip-".concat(t.positionState),!0),e)},arrow:"p-tooltip-arrow",text:"p-tooltip-text"},styles:"\n@layer primereact {\n .p-tooltip {\n position: absolute;\n padding: .25em .5rem;\n /* #3687: Tooltip prevent scrollbar flickering */\n top: -9999px;\n left: -9999px;\n }\n \n .p-tooltip.p-tooltip-right,\n .p-tooltip.p-tooltip-left {\n padding: 0 .25rem;\n }\n \n .p-tooltip.p-tooltip-top,\n .p-tooltip.p-tooltip-bottom {\n padding:.25em 0;\n }\n \n .p-tooltip .p-tooltip-text {\n white-space: pre-line;\n word-break: break-word;\n }\n \n .p-tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n }\n \n .p-tooltip-right .p-tooltip-arrow {\n top: 50%;\n left: 0;\n margin-top: -.25rem;\n border-width: .25em .25em .25em 0;\n }\n \n .p-tooltip-left .p-tooltip-arrow {\n top: 50%;\n right: 0;\n margin-top: -.25rem;\n border-width: .25em 0 .25em .25rem;\n }\n \n .p-tooltip.p-tooltip-top {\n padding: .25em 0;\n }\n \n .p-tooltip-top .p-tooltip-arrow {\n bottom: 0;\n left: 50%;\n margin-left: -.25rem;\n border-width: .25em .25em 0;\n }\n \n .p-tooltip-bottom .p-tooltip-arrow {\n top: 0;\n left: 50%;\n margin-left: -.25rem;\n border-width: 0 .25em .25rem;\n }\n\n .p-tooltip-target-wrapper {\n display: inline-flex;\n }\n}\n",inlineStyles:{arrow:function(t){var e=t.context;return{top:e.bottom?"0":e.right||e.left||!e.right&&!e.left&&!e.top&&!e.bottom?"50%":null,bottom:e.top?"0":null,left:!e.right&&(e.right||e.left||e.top||e.bottom)?e.top||e.bottom?"50%":null:"0",right:e.left?"0":null}}}}});function A(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?A(Object(r),!0).forEach((function(e){O(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var H=t.memo(t.forwardRef((function(n,g){var w=i(),E=t.useContext(r),O=C.getProps(n,E),x=N(t.useState(!1),2),k=x[0],I=x[1],D=N(t.useState(O.position||"right"),2),A=D[0],H=D[1],R=N(t.useState(""),2),W=R[0],M=R[1],Z=N(t.useState(!1),2),B=Z[0],F=Z[1],U={props:O,state:{visible:k,position:A,className:W},context:{right:"right"===A,left:"left"===A,top:"top"===A,bottom:"bottom"===A}},z=C.setMetaData(U),Y=z.ptm,_=z.cx,X=z.sx;o(C.css.styles,z.isUnstyled,{name:"tooltip"}),a({callback:function(){bt()},when:O.closeOnEscape,priority:[u.TOOLTIP,0]});var $=t.useRef(null),q=t.useRef(null),G=t.useRef(null),J=t.useRef(null),K=t.useRef(!0),Q=t.useRef({}),V=t.useRef(null),tt=N(l({listener:function(t){!h.isTouchDevice()&&bt(t)}}),2),et=tt[0],rt=tt[1],nt=N(c({target:G.current,listener:function(t){bt(t)},when:k}),2),ot=nt[0],it=nt[1],at=function(t){return pt(t,"mousetrack")||O.mouseTrack},ut=function(t){return"true"===pt(t,"disabled")||st(t,"disabled")||O.disabled},lt=function(t){return pt(t,"showondisabled")||O.showOnDisabled},ct=function(){return pt(G.current,"autohide")||O.autoHide},pt=function(t,e){return st(t,"data-pr-".concat(e))?t.getAttribute("data-pr-".concat(e)):null},st=function(t,e){return t&&t.hasAttribute(e)},ft=function(t){var e=[pt(t,"showevent")||O.showEvent],r=[pt(t,"hideevent")||O.hideEvent];if(at(t))e=["mousemove"],r=["mouseleave"];else{var n=pt(t,"event")||O.event;"focus"===n&&(e=["focus"],r=["blur"]),"both"===n&&(e=["focus","mouseenter"],r=B?["blur"]:["mouseleave","blur"])}return{showEvents:e,hideEvents:r}},dt=function(t){return pt(t,"position")||A},mt=function(t){return{top:pt(t,"mousetracktop")||O.mouseTrackTop,left:pt(t,"mousetrackleft")||O.mouseTrackLeft}},ht=function(t,e){if(q.current){var r=pt(t,"tooltip")||O.content;r?(q.current.innerHTML="",q.current.appendChild(document.createTextNode(r)),e()):O.children&&e()}},vt=function(t){ht(G.current,(function(){var r=V.current,n=r.pageX,o=r.pageY;O.autoZIndex&&!v.get($.current)&&v.set("tooltip",$.current,E&&E.autoZIndex||e.autoZIndex,O.baseZIndex||E&&E.zIndex.tooltip||e.zIndex.tooltip),$.current.style.left="",$.current.style.top="",ct()&&($.current.style.pointerEvents="none");var i=at(G.current)||"mouse"===t;(i&&!J.current||i)&&(J.current={width:h.getOuterWidth($.current),height:h.getOuterHeight($.current)}),gt(G.current,{x:n,y:o},t)}))},yt=function(t){t.type&&"focus"===t.type&&F(!0),G.current=t.currentTarget;var e,r=ut(G.current);(e=lt(G.current)&&r?G.current.firstChild:G.current,!(O.content||pt(e,"tooltip")||O.children))||r||(V.current=t,k?St("updateDelay",vt):Tt(O.onBeforeShow,{originalEvent:t,target:G.current})&&St("showDelay",(function(){I(!0),Tt(O.onShow,{originalEvent:t,target:G.current})})))},bt=function(t){(t&&"blur"===t.type&&F(!1),jt(),k)&&(Tt(O.onBeforeHide,{originalEvent:t,target:G.current})&&St("hideDelay",(function(){(ct()||!1!==K.current)&&(v.clear($.current),h.removeClass($.current,"p-tooltip-active"),I(!1),Tt(O.onHide,{originalEvent:t,target:G.current}))})))},gt=function(t,e,r){var n=0,o=0,i=r||A;if((at(t)||"mouse"==i)&&e){var a={width:h.getOuterWidth($.current),height:h.getOuterHeight($.current)};n=e.x,o=e.y;var u=mt(t),l=u.top,c=u.left;switch(i){case"left":n-=a.width+c,o-=a.height/2-l;break;case"right":case"mouse":n+=c,o-=a.height/2-l;break;case"top":n-=a.width/2-c,o-=a.height+l;break;case"bottom":n-=a.width/2-c,o+=l}n<=0||J.current.width>a.width?($.current.style.left="0px",$.current.style.right=window.innerWidth-a.width-n+"px"):($.current.style.right="",$.current.style.left=n+"px"),$.current.style.top=o+"px",h.addClass($.current,"p-tooltip-active")}else{var p=h.findCollisionPosition(i),s=pt(t,"my")||O.my||p.my,f=pt(t,"at")||O.at||p.at;$.current.style.padding="0px",h.flipfitCollision($.current,t,s,f,(function(t){var e=t.at,r=e.x,n=O.at?"center"!==r&&r!==t.my.x?r:e.y:t.at["".concat(p.axis)];$.current.style.padding="",H(n),wt(n),h.addClass($.current,"p-tooltip-active")}))}},wt=function(t){if($.current){var e=getComputedStyle($.current);"left"===t?$.current.style.left=parseFloat(e.left)-2*parseFloat(e.paddingLeft)+"px":"top"===t&&($.current.style.top=parseFloat(e.top)-2*parseFloat(e.paddingTop)+"px")}},Et=function(t){ct()||(K.current=!0,bt(t))},Ot=function(t){if(t){var e=ft(t),r=e.showEvents,n=e.hideEvents,o=Pt(t);r.forEach((function(t){return null==o?void 0:o.addEventListener(t,yt)})),n.forEach((function(t){return null==o?void 0:o.addEventListener(t,bt)}))}},xt=function(t){if(t){var e=ft(t),r=e.showEvents,n=e.hideEvents,o=Pt(t);r.forEach((function(t){return null==o?void 0:o.removeEventListener(t,yt)})),n.forEach((function(t){return null==o?void 0:o.removeEventListener(t,bt)}))}},St=function(t,e){jt();var r=pt(G.current,t.toLowerCase())||O[t];r?Q.current["".concat(t)]=setTimeout((function(){return e()}),r):e()},Tt=function(t){if(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];var o=t.apply(void 0,r);return void 0===o&&(o=!0),o}return!0},jt=function(){Object.values(Q.current).forEach((function(t){return clearTimeout(t)}))},Pt=function(t){if(t){if(lt(t)){if(!t.hasWrapper){var e=document.createElement("div");return"INPUT"===t.nodeName?h.addMultipleClasses(e,"p-tooltip-target-wrapper p-inputwrapper"):h.addClass(e,"p-tooltip-target-wrapper"),t.parentNode.insertBefore(e,t),e.appendChild(t),t.hasWrapper=!0,e}return t.parentElement}var r;return t.hasWrapper&&((r=t.parentElement).replaceWith.apply(r,S(n=t.parentElement.childNodes)||T(n)||j(n)||P()),delete t.hasWrapper),t}var n;return null},kt=function(t){Dt(t),It(t)},It=function(t){Nt(t||O.target,Ot)},Dt=function(t){Nt(t||O.target,xt)},Nt=function(t,e){if(t=y.getRefElement(t))if(h.isElement(t))e(t);else{var r=function(t){h.find(document,t).forEach((function(t){e(t)}))};t instanceof Array?t.forEach((function(t){r(t)})):r(t)}};p((function(){k&&G.current&&ut(G.current)&&bt()})),s((function(){return It(),function(){Dt()}}),[yt,bt,O.target]),s((function(){if(k){var t=dt(G.current),e=pt(G.current,"classname");H(t),M(e),vt(t),et(),ot()}else H(O.position||"right"),M(""),G.current=null,J.current=null,K.current=!0;return function(){rt(),it()}}),[k]),s((function(){var t=dt(G.current);k&&"mouse"!==t&&St("updateDelay",(function(){ht(G.current,(function(){gt(G.current)}))}))}),[O.content]),f((function(){bt(),v.clear($.current)})),t.useImperativeHandle(g,(function(){return{props:O,updateTargetEvents:kt,loadTargetEvents:It,unloadTargetEvents:Dt,show:yt,hide:bt,getElement:function(){return $.current},getTarget:function(){return G.current}}}));var Ct,At,Lt,Ht,Rt;if(k){var Wt=(Ct=G.current,At=!(O.content||pt(Ct,"tooltip")),Lt=w({id:O.id,className:m(O.className,_("root",{positionState:A,classNameState:W})),style:O.style,role:"tooltip","aria-hidden":k,onMouseEnter:function(t){ct()||(K.current=!1)},onMouseLeave:function(t){return Et(t)}},C.getOtherProps(O),Y("root")),Ht=w({className:_("arrow"),style:X("arrow",L({},U))},Y("arrow")),Rt=w({className:_("text")},Y("text")),t.createElement("div",b({ref:$},Lt),t.createElement("div",Ht),t.createElement("div",b({ref:q},Rt),At&&O.children)));return t.createElement(d,{element:Wt,appendTo:O.appendTo,visible:!0})}return null})));H.displayName="Tooltip";export{H as Tooltip};
1
+ import*as t from"react";import e,{PrimeReactContext as r}from"primereact/api";import{ComponentBase as n,useHandleStyle as o}from"primereact/componentbase";import{useMergeProps as i,useGlobalOnEscapeKey as a,ESC_KEY_HANDLING_PRIORITIES as u,useResizeListener as l,useOverlayScrollListener as c,useMountEffect as p,useUpdateEffect as s,useUnmountEffect as f}from"primereact/hooks";import{Portal as d}from"primereact/portal";import{classNames as m,DomHandler as h,ZIndexUtils as v,ObjectUtils as y}from"primereact/utils";function b(){return b=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},b.apply(null,arguments)}function g(t){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}function w(t,e){if("object"!=g(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=g(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function E(t){var e=w(t,"string");return"symbol"==g(e)?e:e+""}function x(t,e,r){return(e=E(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function O(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function T(t){if(Array.isArray(t))return O(t)}function S(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function j(t,e){if(t){if("string"==typeof t)return O(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?O(t,e):void 0}}function P(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function k(t){if(Array.isArray(t))return t}function I(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,u=[],l=!0,c=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(u.push(n.value),u.length!==e);l=!0);}catch(t){c=!0,o=t}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}function D(){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 N(t,e){return k(t)||I(t,e)||j(t,e)||D()}var C=n.extend({defaultProps:{__TYPE:"Tooltip",appendTo:null,at:null,autoHide:!0,autoZIndex:!0,baseZIndex:0,className:null,closeOnEscape:!1,content:null,disabled:!1,event:null,hideDelay:0,hideEvent:"mouseleave",id:null,mouseTrack:!1,mouseTrackLeft:5,mouseTrackTop:5,my:null,onBeforeHide:null,onBeforeShow:null,onHide:null,onShow:null,position:"right",showDelay:0,showEvent:"mouseenter",showOnDisabled:!1,style:null,target:null,updateDelay:0,children:void 0},css:{classes:{root:function(t){var e=t.classNameState;return m("p-tooltip p-component",x({},"p-tooltip-".concat(t.positionState),!0),e)},arrow:"p-tooltip-arrow",text:"p-tooltip-text"},styles:"\n@layer primereact {\n .p-tooltip {\n position: absolute;\n padding: .25em .5rem;\n /* #3687: Tooltip prevent scrollbar flickering */\n top: -9999px;\n left: -9999px;\n }\n \n .p-tooltip.p-tooltip-right,\n .p-tooltip.p-tooltip-left {\n padding: 0 .25rem;\n }\n \n .p-tooltip.p-tooltip-top,\n .p-tooltip.p-tooltip-bottom {\n padding:.25em 0;\n }\n \n .p-tooltip .p-tooltip-text {\n white-space: pre-line;\n word-break: break-word;\n }\n \n .p-tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n }\n \n .p-tooltip-right .p-tooltip-arrow {\n top: 50%;\n left: 0;\n margin-top: -.25rem;\n border-width: .25em .25em .25em 0;\n }\n \n .p-tooltip-left .p-tooltip-arrow {\n top: 50%;\n right: 0;\n margin-top: -.25rem;\n border-width: .25em 0 .25em .25rem;\n }\n \n .p-tooltip.p-tooltip-top {\n padding: .25em 0;\n }\n \n .p-tooltip-top .p-tooltip-arrow {\n bottom: 0;\n left: 50%;\n margin-left: -.25rem;\n border-width: .25em .25em 0;\n }\n \n .p-tooltip-bottom .p-tooltip-arrow {\n top: 0;\n left: 50%;\n margin-left: -.25rem;\n border-width: 0 .25em .25rem;\n }\n\n .p-tooltip-target-wrapper {\n display: inline-flex;\n }\n}\n",inlineStyles:{arrow:function(t){var e=t.context;return{top:e.bottom?"0":e.right||e.left||!e.right&&!e.left&&!e.top&&!e.bottom?"50%":null,bottom:e.top?"0":null,left:!e.right&&(e.right||e.left||e.top||e.bottom)?e.top||e.bottom?"50%":null:"0",right:e.left?"0":null}}}}});function A(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function L(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?A(Object(r),!0).forEach((function(e){x(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var H=t.memo(t.forwardRef((function(n,g){var w=i(),E=t.useContext(r),x=C.getProps(n,E),O=N(t.useState(!1),2),k=O[0],I=O[1],D=N(t.useState(x.position||"right"),2),A=D[0],H=D[1],R=N(t.useState(""),2),W=R[0],M=R[1],Z=N(t.useState(!1),2),B=Z[0],F=Z[1],U={props:x,state:{visible:k,position:A,className:W},context:{right:"right"===A,left:"left"===A,top:"top"===A,bottom:"bottom"===A}},z=C.setMetaData(U),Y=z.ptm,_=z.cx,X=z.sx;o(C.css.styles,z.isUnstyled,{name:"tooltip"}),a({callback:function(){bt()},when:x.closeOnEscape,priority:[u.TOOLTIP,0]});var $=t.useRef(null),q=t.useRef(null),G=t.useRef(null),J=t.useRef(null),K=t.useRef(!0),Q=t.useRef({}),V=t.useRef(null),tt=N(l({listener:function(t){!h.isTouchDevice()&&bt(t)}}),2),et=tt[0],rt=tt[1],nt=N(c({target:G.current,listener:function(t){bt(t)},when:k}),2),ot=nt[0],it=nt[1],at=function(t){return pt(t,"mousetrack")||x.mouseTrack},ut=function(t){return"true"===pt(t,"disabled")||st(t,"disabled")||x.disabled},lt=function(t){return pt(t,"showondisabled")||x.showOnDisabled},ct=function(){return pt(G.current,"autohide")||x.autoHide},pt=function(t,e){return st(t,"data-pr-".concat(e))?t.getAttribute("data-pr-".concat(e)):null},st=function(t,e){return t&&t.hasAttribute(e)},ft=function(t){var e=[pt(t,"showevent")||x.showEvent],r=[pt(t,"hideevent")||x.hideEvent];if(at(t))e=["mousemove"],r=["mouseleave"];else{var n=pt(t,"event")||x.event;"focus"===n&&(e=["focus"],r=["blur"]),"both"===n&&(e=["focus","mouseenter"],r=B?["blur"]:["mouseleave","blur"])}return{showEvents:e,hideEvents:r}},dt=function(t){return pt(t,"position")||A},mt=function(t){return{top:pt(t,"mousetracktop")||x.mouseTrackTop,left:pt(t,"mousetrackleft")||x.mouseTrackLeft}},ht=function(t,e){if(q.current){var r=pt(t,"tooltip")||x.content;r?(q.current.innerHTML="",q.current.appendChild(document.createTextNode(r)),e()):x.children&&e()}},vt=function(t){ht(G.current,(function(){var r=V.current,n=r.pageX,o=r.pageY;x.autoZIndex&&!v.get($.current)&&v.set("tooltip",$.current,E&&E.autoZIndex||e.autoZIndex,x.baseZIndex||E&&E.zIndex.tooltip||e.zIndex.tooltip),$.current.style.left="",$.current.style.top="",ct()&&($.current.style.pointerEvents="none");var i=at(G.current)||"mouse"===t;(i&&!J.current||i)&&(J.current={width:h.getOuterWidth($.current),height:h.getOuterHeight($.current)}),gt(G.current,{x:n,y:o},t)}))},yt=function(t){t.type&&"focus"===t.type&&F(!0),G.current=t.currentTarget;var e,r=ut(G.current);(e=lt(G.current)&&r?G.current.firstChild:G.current,!(x.content||pt(e,"tooltip")||x.children))||r||(V.current=t,k?Tt("updateDelay",vt):St(x.onBeforeShow,{originalEvent:t,target:G.current})&&Tt("showDelay",(function(){I(!0),St(x.onShow,{originalEvent:t,target:G.current})})))},bt=function(t){(t&&"blur"===t.type&&F(!1),jt(),k)&&(St(x.onBeforeHide,{originalEvent:t,target:G.current})&&Tt("hideDelay",(function(){(ct()||!1!==K.current)&&(v.clear($.current),h.removeClass($.current,"p-tooltip-active"),I(!1),St(x.onHide,{originalEvent:t,target:G.current}))})))},gt=function(t,e,r){var n=0,o=0,i=r||A;if((at(t)||"mouse"==i)&&e){var a={width:h.getOuterWidth($.current),height:h.getOuterHeight($.current)};n=e.x,o=e.y;var u=mt(t),l=u.top,c=u.left;switch(i){case"left":n-=a.width+c,o-=a.height/2-l;break;case"right":case"mouse":n+=c,o-=a.height/2-l;break;case"top":n-=a.width/2-c,o-=a.height+l;break;case"bottom":n-=a.width/2-c,o+=l}n<=0||J.current.width>a.width?($.current.style.left="0px",$.current.style.right=window.innerWidth-a.width-n+"px"):($.current.style.right="",$.current.style.left=n+"px"),$.current.style.top=o+"px",h.addClass($.current,"p-tooltip-active")}else{var p=h.findCollisionPosition(i),s=pt(t,"my")||x.my||p.my,f=pt(t,"at")||x.at||p.at;$.current.style.padding="0px",h.flipfitCollision($.current,t,s,f,(function(t){var e=t.at,r=e.x,n=x.at?"center"!==r&&r!==t.my.x?r:e.y:t.at["".concat(p.axis)];$.current.style.padding="",H(n),wt(n),h.addClass($.current,"p-tooltip-active")}))}},wt=function(t){if($.current){var e=getComputedStyle($.current);"left"===t?$.current.style.left=parseFloat(e.left)-2*parseFloat(e.paddingLeft)+"px":"top"===t&&($.current.style.top=parseFloat(e.top)-2*parseFloat(e.paddingTop)+"px")}},Et=function(t){ct()||(K.current=!0,bt(t))},xt=function(t){if(t){var e=ft(t),r=e.showEvents,n=e.hideEvents,o=Pt(t);r.forEach((function(t){return null==o?void 0:o.addEventListener(t,yt)})),n.forEach((function(t){return null==o?void 0:o.addEventListener(t,bt)}))}},Ot=function(t){if(t){var e=ft(t),r=e.showEvents,n=e.hideEvents,o=Pt(t);r.forEach((function(t){return null==o?void 0:o.removeEventListener(t,yt)})),n.forEach((function(t){return null==o?void 0:o.removeEventListener(t,bt)}))}},Tt=function(t,e){jt();var r=pt(G.current,t.toLowerCase())||x[t];r?Q.current["".concat(t)]=setTimeout((function(){return e()}),r):e()},St=function(t){if(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];var o=t.apply(void 0,r);return void 0===o&&(o=!0),o}return!0},jt=function(){Object.values(Q.current).forEach((function(t){return clearTimeout(t)}))},Pt=function(t){if(t){if(lt(t)){if(!t.hasWrapper){var e=document.createElement("div");return"INPUT"===t.nodeName?h.addMultipleClasses(e,"p-tooltip-target-wrapper p-inputwrapper"):h.addClass(e,"p-tooltip-target-wrapper"),t.parentNode.insertBefore(e,t),e.appendChild(t),t.hasWrapper=!0,e}return t.parentElement}var r;return t.hasWrapper&&((r=t.parentElement).replaceWith.apply(r,T(n=t.parentElement.childNodes)||S(n)||j(n)||P()),delete t.hasWrapper),t}var n;return null},kt=function(t){Dt(t),It(t)},It=function(t){Nt(t||x.target,xt)},Dt=function(t){Nt(t||x.target,Ot)},Nt=function(t,e){if(t=y.getRefElement(t))if(h.isElement(t))e(t);else{var r=function(t){h.find(document,t).forEach((function(t){e(t)}))};t instanceof Array?t.forEach((function(t){r(t)})):r(t)}};p((function(){k&&G.current&&ut(G.current)&&bt()})),s((function(){return It(),function(){Dt()}}),[yt,bt,x.target]),s((function(){if(k){var t=dt(G.current),e=pt(G.current,"classname");H(t),M(e),vt(t),et(),ot()}else H(x.position||"right"),M(""),G.current=null,J.current=null,K.current=!0;return function(){rt(),it()}}),[k]),s((function(){var t=dt(G.current);k&&"mouse"!==t&&Tt("updateDelay",(function(){ht(G.current,(function(){gt(G.current)}))}))}),[x.content]),f((function(){bt(),v.clear($.current)})),t.useImperativeHandle(g,(function(){return{props:x,updateTargetEvents:kt,loadTargetEvents:It,unloadTargetEvents:Dt,show:yt,hide:bt,getElement:function(){return $.current},getTarget:function(){return G.current}}}));var Ct,At,Lt,Ht,Rt;if(k){var Wt=(Ct=G.current,At=!(x.content||pt(Ct,"tooltip")),Lt=w({id:x.id,className:m(x.className,_("root",{positionState:A,classNameState:W})),style:x.style,role:"tooltip","aria-hidden":k,onMouseEnter:function(t){ct()||(K.current=!1)},onMouseLeave:function(t){return Et(t)}},C.getOtherProps(x),Y("root")),Ht=w({className:_("arrow"),style:X("arrow",L({},U))},Y("arrow")),Rt=w({className:_("text")},Y("text")),t.createElement("div",b({ref:$},Lt),t.createElement("div",Ht),t.createElement("div",b({ref:q},Rt),At&&x.children)));return t.createElement(d,{element:Wt,appendTo:x.appendTo,visible:!0})}return null})));H.displayName="Tooltip";export{H as Tooltip};
@@ -26,18 +26,13 @@ this.primereact.tooltip = (function (exports, React, PrimeReact, componentbase,
26
26
  var PrimeReact__default = /*#__PURE__*/_interopDefaultLegacy(PrimeReact);
27
27
 
28
28
  function _extends() {
29
- _extends = Object.assign ? Object.assign.bind() : function (target) {
30
- for (var i = 1; i < arguments.length; i++) {
31
- var source = arguments[i];
32
- for (var key in source) {
33
- if (Object.prototype.hasOwnProperty.call(source, key)) {
34
- target[key] = source[key];
35
- }
36
- }
29
+ return _extends = Object.assign ? Object.assign.bind() : function (n) {
30
+ for (var e = 1; e < arguments.length; e++) {
31
+ var t = arguments[e];
32
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
37
33
  }
38
- return target;
39
- };
40
- return _extends.apply(this, arguments);
34
+ return n;
35
+ }, _extends.apply(null, arguments);
41
36
  }
42
37
 
43
38
  function _typeof(o) {
@@ -50,70 +45,63 @@ this.primereact.tooltip = (function (exports, React, PrimeReact, componentbase,
50
45
  }, _typeof(o);
51
46
  }
52
47
 
53
- function _toPrimitive(input, hint) {
54
- if (_typeof(input) !== "object" || input === null) return input;
55
- var prim = input[Symbol.toPrimitive];
56
- if (prim !== undefined) {
57
- var res = prim.call(input, hint || "default");
58
- if (_typeof(res) !== "object") return res;
48
+ function toPrimitive(t, r) {
49
+ if ("object" != _typeof(t) || !t) return t;
50
+ var e = t[Symbol.toPrimitive];
51
+ if (void 0 !== e) {
52
+ var i = e.call(t, r || "default");
53
+ if ("object" != _typeof(i)) return i;
59
54
  throw new TypeError("@@toPrimitive must return a primitive value.");
60
55
  }
61
- return (hint === "string" ? String : Number)(input);
56
+ return ("string" === r ? String : Number)(t);
62
57
  }
63
58
 
64
- function _toPropertyKey(arg) {
65
- var key = _toPrimitive(arg, "string");
66
- return _typeof(key) === "symbol" ? key : String(key);
59
+ function toPropertyKey(t) {
60
+ var i = toPrimitive(t, "string");
61
+ return "symbol" == _typeof(i) ? i : i + "";
67
62
  }
68
63
 
69
- function _defineProperty(obj, key, value) {
70
- key = _toPropertyKey(key);
71
- if (key in obj) {
72
- Object.defineProperty(obj, key, {
73
- value: value,
74
- enumerable: true,
75
- configurable: true,
76
- writable: true
77
- });
78
- } else {
79
- obj[key] = value;
80
- }
81
- return obj;
64
+ function _defineProperty(e, r, t) {
65
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
66
+ value: t,
67
+ enumerable: !0,
68
+ configurable: !0,
69
+ writable: !0
70
+ }) : e[r] = t, e;
82
71
  }
83
72
 
84
- function _arrayLikeToArray(arr, len) {
85
- if (len == null || len > arr.length) len = arr.length;
86
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
87
- return arr2;
73
+ function _arrayLikeToArray(r, a) {
74
+ (null == a || a > r.length) && (a = r.length);
75
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
76
+ return n;
88
77
  }
89
78
 
90
- function _arrayWithoutHoles(arr) {
91
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
79
+ function _arrayWithoutHoles(r) {
80
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
92
81
  }
93
82
 
94
- function _iterableToArray(iter) {
95
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
83
+ function _iterableToArray(r) {
84
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
96
85
  }
97
86
 
98
- function _unsupportedIterableToArray(o, minLen) {
99
- if (!o) return;
100
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
101
- var n = Object.prototype.toString.call(o).slice(8, -1);
102
- if (n === "Object" && o.constructor) n = o.constructor.name;
103
- if (n === "Map" || n === "Set") return Array.from(o);
104
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
87
+ function _unsupportedIterableToArray(r, a) {
88
+ if (r) {
89
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
90
+ var t = {}.toString.call(r).slice(8, -1);
91
+ 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;
92
+ }
105
93
  }
106
94
 
107
95
  function _nonIterableSpread() {
108
96
  throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
109
97
  }
110
98
 
111
- function _toConsumableArray(arr) {
112
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
99
+ function _toConsumableArray(r) {
100
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
113
101
  }
114
102
 
115
- function _arrayWithHoles(arr) {
116
- if (Array.isArray(arr)) return arr;
103
+ function _arrayWithHoles(r) {
104
+ if (Array.isArray(r)) return r;
117
105
  }
118
106
 
119
107
  function _iterableToArrayLimit(r, l) {
@@ -148,8 +136,8 @@ this.primereact.tooltip = (function (exports, React, PrimeReact, componentbase,
148
136
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
149
137
  }
150
138
 
151
- function _slicedToArray(arr, i) {
152
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
139
+ function _slicedToArray(r, e) {
140
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
153
141
  }
154
142
 
155
143
  var classes = {