primereact 10.6.5 → 10.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (395) hide show
  1. package/README.md +1 -1
  2. package/api/api.d.ts +8 -0
  3. package/button/button.cjs.js +1 -0
  4. package/button/button.cjs.min.js +1 -1
  5. package/button/button.esm.js +1 -0
  6. package/button/button.esm.min.js +1 -1
  7. package/button/button.js +1 -0
  8. package/button/button.min.js +1 -1
  9. package/calendar/calendar.cjs.js +81 -45
  10. package/calendar/calendar.cjs.min.js +1 -1
  11. package/calendar/calendar.d.ts +8 -10
  12. package/calendar/calendar.esm.js +81 -45
  13. package/calendar/calendar.esm.min.js +1 -1
  14. package/calendar/calendar.js +81 -45
  15. package/calendar/calendar.min.js +1 -1
  16. package/chart/chart.d.ts +1 -13
  17. package/checkbox/checkbox.cjs.js +64 -0
  18. package/checkbox/checkbox.cjs.min.js +1 -1
  19. package/checkbox/checkbox.d.ts +12 -0
  20. package/checkbox/checkbox.esm.js +64 -0
  21. package/checkbox/checkbox.esm.min.js +1 -1
  22. package/checkbox/checkbox.js +64 -0
  23. package/checkbox/checkbox.min.js +1 -1
  24. package/colorpicker/colorpicker.cjs.js +18 -4
  25. package/colorpicker/colorpicker.cjs.min.js +1 -1
  26. package/colorpicker/colorpicker.esm.js +19 -5
  27. package/colorpicker/colorpicker.esm.min.js +1 -1
  28. package/colorpicker/colorpicker.js +18 -4
  29. package/colorpicker/colorpicker.min.js +1 -1
  30. package/column/column.d.ts +36 -14
  31. package/core/core.js +213 -58
  32. package/core/core.min.js +12 -12
  33. package/csstransition/csstransition.cjs.js +0 -6
  34. package/csstransition/csstransition.esm.js +0 -6
  35. package/csstransition/csstransition.js +0 -6
  36. package/datatable/datatable.cjs.js +157 -100
  37. package/datatable/datatable.cjs.min.js +1 -1
  38. package/datatable/datatable.d.ts +1 -1
  39. package/datatable/datatable.esm.js +157 -100
  40. package/datatable/datatable.esm.min.js +1 -1
  41. package/datatable/datatable.js +157 -100
  42. package/datatable/datatable.min.js +1 -1
  43. package/dialog/dialog.cjs.js +19 -4
  44. package/dialog/dialog.cjs.min.js +1 -1
  45. package/dialog/dialog.esm.js +19 -4
  46. package/dialog/dialog.esm.min.js +1 -1
  47. package/dialog/dialog.js +19 -4
  48. package/dialog/dialog.min.js +1 -1
  49. package/dropdown/dropdown.cjs.js +10 -8
  50. package/dropdown/dropdown.cjs.min.js +1 -1
  51. package/dropdown/dropdown.esm.js +10 -8
  52. package/dropdown/dropdown.esm.min.js +1 -1
  53. package/dropdown/dropdown.js +10 -8
  54. package/dropdown/dropdown.min.js +1 -1
  55. package/focustrap/focustrap.cjs.js +12 -1
  56. package/focustrap/focustrap.cjs.min.js +1 -1
  57. package/focustrap/focustrap.esm.js +12 -1
  58. package/focustrap/focustrap.esm.min.js +1 -1
  59. package/focustrap/focustrap.js +12 -1
  60. package/focustrap/focustrap.min.js +1 -1
  61. package/galleria/galleria.cjs.js +7 -0
  62. package/galleria/galleria.cjs.min.js +1 -1
  63. package/galleria/galleria.esm.js +8 -1
  64. package/galleria/galleria.esm.min.js +1 -1
  65. package/galleria/galleria.js +7 -0
  66. package/galleria/galleria.min.js +1 -1
  67. package/hooks/hooks.cjs.js +2 -1
  68. package/hooks/hooks.cjs.min.js +1 -1
  69. package/hooks/hooks.esm.js +2 -1
  70. package/hooks/hooks.esm.min.js +1 -1
  71. package/hooks/hooks.js +2 -1
  72. package/hooks/hooks.min.js +1 -1
  73. package/inputnumber/inputnumber.cjs.js +17 -13
  74. package/inputnumber/inputnumber.cjs.min.js +1 -1
  75. package/inputnumber/inputnumber.esm.js +17 -13
  76. package/inputnumber/inputnumber.esm.min.js +1 -1
  77. package/inputnumber/inputnumber.js +17 -13
  78. package/inputnumber/inputnumber.min.js +1 -1
  79. package/inputotp/inputotp.cjs.js +26 -3
  80. package/inputotp/inputotp.cjs.min.js +1 -1
  81. package/inputotp/inputotp.esm.js +27 -4
  82. package/inputotp/inputotp.esm.min.js +1 -1
  83. package/inputotp/inputotp.js +26 -3
  84. package/inputotp/inputotp.min.js +1 -1
  85. package/inputtext/inputtext.d.ts +1 -1
  86. package/keyfilter/keyfilter.cjs.js +1 -1
  87. package/keyfilter/keyfilter.cjs.min.js +1 -1
  88. package/keyfilter/keyfilter.esm.js +1 -1
  89. package/keyfilter/keyfilter.esm.min.js +1 -1
  90. package/keyfilter/keyfilter.js +1 -1
  91. package/keyfilter/keyfilter.min.js +1 -1
  92. package/listbox/listbox.cjs.js +23 -35
  93. package/listbox/listbox.cjs.min.js +1 -1
  94. package/listbox/listbox.esm.js +23 -35
  95. package/listbox/listbox.esm.min.js +1 -1
  96. package/listbox/listbox.js +23 -35
  97. package/listbox/listbox.min.js +1 -1
  98. package/menubar/menubar.d.ts +9 -0
  99. package/metergroup/metergroup.cjs.js +5 -4
  100. package/metergroup/metergroup.cjs.min.js +1 -1
  101. package/metergroup/metergroup.d.ts +3 -10
  102. package/metergroup/metergroup.esm.js +5 -4
  103. package/metergroup/metergroup.esm.min.js +1 -1
  104. package/metergroup/metergroup.js +5 -4
  105. package/metergroup/metergroup.min.js +1 -1
  106. package/multiselect/multiselect.cjs.js +11 -2
  107. package/multiselect/multiselect.cjs.min.js +1 -1
  108. package/multiselect/multiselect.esm.js +11 -2
  109. package/multiselect/multiselect.esm.min.js +1 -1
  110. package/multiselect/multiselect.js +11 -2
  111. package/multiselect/multiselect.min.js +1 -1
  112. package/multistatecheckbox/multistatecheckbox.cjs.js +9 -0
  113. package/multistatecheckbox/multistatecheckbox.cjs.min.js +1 -1
  114. package/multistatecheckbox/multistatecheckbox.esm.js +9 -0
  115. package/multistatecheckbox/multistatecheckbox.esm.min.js +1 -1
  116. package/multistatecheckbox/multistatecheckbox.js +9 -0
  117. package/multistatecheckbox/multistatecheckbox.min.js +1 -1
  118. package/organizationchart/organizationchart.cjs.js +0 -1
  119. package/organizationchart/organizationchart.esm.js +0 -1
  120. package/organizationchart/organizationchart.js +0 -1
  121. package/package.json +4 -4
  122. package/paginator/paginator.cjs.js +1 -1
  123. package/paginator/paginator.cjs.min.js +1 -1
  124. package/paginator/paginator.esm.js +1 -1
  125. package/paginator/paginator.esm.min.js +1 -1
  126. package/paginator/paginator.js +1 -1
  127. package/paginator/paginator.min.js +1 -1
  128. package/panelmenu/panelmenu.cjs.js +13 -12
  129. package/panelmenu/panelmenu.cjs.min.js +1 -1
  130. package/panelmenu/panelmenu.esm.js +13 -12
  131. package/panelmenu/panelmenu.esm.min.js +1 -1
  132. package/panelmenu/panelmenu.js +13 -12
  133. package/panelmenu/panelmenu.min.js +1 -1
  134. package/passthrough/tailwind/index.cjs.js +10 -81
  135. package/passthrough/tailwind/index.cjs.min.js +1 -1
  136. package/passthrough/tailwind/index.esm.js +10 -81
  137. package/passthrough/tailwind/index.esm.min.js +1 -1
  138. package/passthrough/tailwind/index.js +10 -81
  139. package/passthrough/tailwind/index.min.js +1 -1
  140. package/password/password.cjs.js +2 -2
  141. package/password/password.cjs.min.js +1 -1
  142. package/password/password.esm.js +2 -2
  143. package/password/password.esm.min.js +1 -1
  144. package/password/password.js +2 -2
  145. package/password/password.min.js +1 -1
  146. package/primereact.all.cjs.js +2826 -1797
  147. package/primereact.all.cjs.min.js +1 -1
  148. package/primereact.all.esm.js +2823 -1798
  149. package/primereact.all.esm.min.js +1 -1
  150. package/primereact.all.js +2826 -1797
  151. package/primereact.all.min.js +1 -1
  152. package/radiobutton/radiobutton.cjs.js +13 -10
  153. package/radiobutton/radiobutton.cjs.min.js +1 -1
  154. package/radiobutton/radiobutton.esm.js +13 -10
  155. package/radiobutton/radiobutton.esm.min.js +1 -1
  156. package/radiobutton/radiobutton.js +13 -10
  157. package/radiobutton/radiobutton.min.js +1 -1
  158. package/resources/images/line.gif +0 -0
  159. package/resources/themes/arya-blue/theme.css +62 -0
  160. package/resources/themes/arya-green/theme.css +62 -0
  161. package/resources/themes/arya-orange/theme.css +62 -0
  162. package/resources/themes/bootstrap4-dark-blue/theme.css +62 -0
  163. package/resources/themes/bootstrap4-dark-purple/theme.css +207 -43
  164. package/resources/themes/bootstrap4-light-blue/theme.css +62 -0
  165. package/resources/themes/bootstrap4-light-purple/theme.css +207 -43
  166. package/resources/themes/fluent-light/theme.css +62 -0
  167. package/resources/themes/lara-dark-amber/fonts/Inter-italic.var.woff2 +0 -0
  168. package/resources/themes/lara-dark-amber/fonts/Inter-roman.var.woff2 +0 -0
  169. package/resources/themes/lara-dark-amber/theme.css +62 -9
  170. package/resources/themes/lara-dark-blue/fonts/Inter-italic.var.woff2 +0 -0
  171. package/resources/themes/lara-dark-blue/fonts/Inter-roman.var.woff2 +0 -0
  172. package/resources/themes/lara-dark-blue/theme.css +62 -9
  173. package/resources/themes/lara-dark-cyan/fonts/Inter-italic.var.woff2 +0 -0
  174. package/resources/themes/lara-dark-cyan/fonts/Inter-roman.var.woff2 +0 -0
  175. package/resources/themes/lara-dark-cyan/theme.css +62 -9
  176. package/resources/themes/lara-dark-green/fonts/Inter-italic.var.woff2 +0 -0
  177. package/resources/themes/lara-dark-green/fonts/Inter-roman.var.woff2 +0 -0
  178. package/resources/themes/lara-dark-green/theme.css +62 -9
  179. package/resources/themes/lara-dark-indigo/fonts/Inter-italic.var.woff2 +0 -0
  180. package/resources/themes/lara-dark-indigo/fonts/Inter-roman.var.woff2 +0 -0
  181. package/resources/themes/lara-dark-indigo/theme.css +62 -9
  182. package/resources/themes/lara-dark-pink/fonts/Inter-italic.var.woff2 +0 -0
  183. package/resources/themes/lara-dark-pink/fonts/Inter-roman.var.woff2 +0 -0
  184. package/resources/themes/lara-dark-pink/theme.css +62 -9
  185. package/resources/themes/lara-dark-purple/fonts/Inter-italic.var.woff2 +0 -0
  186. package/resources/themes/lara-dark-purple/fonts/Inter-roman.var.woff2 +0 -0
  187. package/resources/themes/lara-dark-teal/fonts/Inter-italic.var.woff2 +0 -0
  188. package/resources/themes/lara-dark-teal/fonts/Inter-roman.var.woff2 +0 -0
  189. package/resources/themes/lara-dark-teal/theme.css +62 -9
  190. package/resources/themes/lara-light-amber/fonts/Inter-italic.var.woff2 +0 -0
  191. package/resources/themes/lara-light-amber/fonts/Inter-roman.var.woff2 +0 -0
  192. package/resources/themes/lara-light-amber/theme.css +62 -9
  193. package/resources/themes/lara-light-blue/fonts/Inter-italic.var.woff2 +0 -0
  194. package/resources/themes/lara-light-blue/fonts/Inter-roman.var.woff2 +0 -0
  195. package/resources/themes/lara-light-blue/theme.css +62 -9
  196. package/resources/themes/lara-light-cyan/fonts/Inter-italic.var.woff2 +0 -0
  197. package/resources/themes/lara-light-cyan/fonts/Inter-roman.var.woff2 +0 -0
  198. package/resources/themes/lara-light-cyan/theme.css +62 -9
  199. package/resources/themes/lara-light-green/fonts/Inter-italic.var.woff2 +0 -0
  200. package/resources/themes/lara-light-green/fonts/Inter-roman.var.woff2 +0 -0
  201. package/resources/themes/lara-light-green/theme.css +62 -9
  202. package/resources/themes/lara-light-indigo/fonts/Inter-italic.var.woff2 +0 -0
  203. package/resources/themes/lara-light-indigo/fonts/Inter-roman.var.woff2 +0 -0
  204. package/resources/themes/lara-light-indigo/theme.css +62 -9
  205. package/resources/themes/lara-light-pink/fonts/Inter-italic.var.woff2 +0 -0
  206. package/resources/themes/lara-light-pink/fonts/Inter-roman.var.woff2 +0 -0
  207. package/resources/themes/lara-light-pink/theme.css +62 -9
  208. package/resources/themes/lara-light-purple/fonts/Inter-italic.var.woff2 +0 -0
  209. package/resources/themes/lara-light-purple/fonts/Inter-roman.var.woff2 +0 -0
  210. package/resources/themes/lara-light-teal/fonts/Inter-italic.var.woff2 +0 -0
  211. package/resources/themes/lara-light-teal/fonts/Inter-roman.var.woff2 +0 -0
  212. package/resources/themes/lara-light-teal/theme.css +62 -9
  213. package/resources/themes/luna-amber/theme.css +62 -0
  214. package/resources/themes/luna-blue/theme.css +62 -0
  215. package/resources/themes/luna-green/theme.css +62 -0
  216. package/resources/themes/luna-pink/theme.css +62 -0
  217. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  218. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  219. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  220. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  221. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  222. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  223. package/resources/themes/md-dark-deeppurple/theme.css +225 -43
  224. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  225. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  226. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  227. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  228. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  229. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  230. package/resources/themes/md-dark-indigo/theme.css +213 -151
  231. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  232. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  233. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  234. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  235. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  236. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  237. package/resources/themes/md-light-deeppurple/theme.css +225 -43
  238. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  239. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  240. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  241. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  242. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  243. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  244. package/resources/themes/md-light-indigo/theme.css +62 -0
  245. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  246. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  247. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  248. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  249. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  250. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  251. package/resources/themes/mdc-dark-deeppurple/theme.css +225 -43
  252. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  253. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  254. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  255. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  256. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  257. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  258. package/resources/themes/mdc-dark-indigo/theme.css +213 -151
  259. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  260. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  261. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  262. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  263. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  264. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  265. package/resources/themes/mdc-light-deeppurple/theme.css +225 -43
  266. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  267. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  268. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  269. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  270. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  271. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  272. package/resources/themes/mdc-light-indigo/theme.css +62 -0
  273. package/resources/themes/mira/fonts/Inter-Bold.woff +0 -0
  274. package/resources/themes/mira/fonts/Inter-Bold.woff2 +0 -0
  275. package/resources/themes/mira/fonts/Inter-Medium.woff +0 -0
  276. package/resources/themes/mira/fonts/Inter-Medium.woff2 +0 -0
  277. package/resources/themes/mira/fonts/Inter-Regular.woff +0 -0
  278. package/resources/themes/mira/fonts/Inter-Regular.woff2 +0 -0
  279. package/resources/themes/mira/fonts/Inter-SemiBold.woff +0 -0
  280. package/resources/themes/mira/fonts/Inter-SemiBold.woff2 +0 -0
  281. package/resources/themes/mira/theme.css +62 -0
  282. package/resources/themes/nano/theme.css +62 -0
  283. package/resources/themes/nova/theme.css +62 -0
  284. package/resources/themes/nova-accent/theme.css +62 -0
  285. package/resources/themes/nova-alt/theme.css +62 -0
  286. package/resources/themes/rhea/theme.css +62 -0
  287. package/resources/themes/saga-blue/theme.css +62 -0
  288. package/resources/themes/saga-green/theme.css +62 -0
  289. package/resources/themes/saga-orange/theme.css +62 -0
  290. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
  291. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
  292. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
  293. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
  294. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
  295. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
  296. package/resources/themes/soho-dark/theme.css +87 -25
  297. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
  298. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
  299. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
  300. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
  301. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
  302. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
  303. package/resources/themes/soho-light/theme.css +62 -0
  304. package/resources/themes/tailwind-light/fonts/Inter-Bold.woff +0 -0
  305. package/resources/themes/tailwind-light/fonts/Inter-Bold.woff2 +0 -0
  306. package/resources/themes/tailwind-light/fonts/Inter-Light.woff +0 -0
  307. package/resources/themes/tailwind-light/fonts/Inter-Light.woff2 +0 -0
  308. package/resources/themes/tailwind-light/fonts/Inter-Medium.woff +0 -0
  309. package/resources/themes/tailwind-light/fonts/Inter-Medium.woff2 +0 -0
  310. package/resources/themes/tailwind-light/fonts/Inter-Regular.woff +0 -0
  311. package/resources/themes/tailwind-light/fonts/Inter-Regular.woff2 +0 -0
  312. package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff +0 -0
  313. package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff2 +0 -0
  314. package/resources/themes/tailwind-light/theme.css +62 -0
  315. package/resources/themes/vela-blue/theme.css +62 -0
  316. package/resources/themes/vela-green/theme.css +62 -0
  317. package/resources/themes/vela-orange/theme.css +62 -0
  318. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
  319. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
  320. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
  321. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
  322. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
  323. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
  324. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
  325. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
  326. package/resources/themes/viva-dark/theme.css +62 -0
  327. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
  328. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
  329. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
  330. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
  331. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
  332. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
  333. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
  334. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
  335. package/resources/themes/viva-light/theme.css +62 -0
  336. package/sidebar/sidebar.d.ts +4 -0
  337. package/splitbutton/splitbutton.cjs.js +0 -1
  338. package/splitbutton/splitbutton.cjs.min.js +1 -1
  339. package/splitbutton/splitbutton.esm.js +0 -1
  340. package/splitbutton/splitbutton.esm.min.js +1 -1
  341. package/splitbutton/splitbutton.js +0 -1
  342. package/splitbutton/splitbutton.min.js +1 -1
  343. package/tabview/tabview.cjs.js +0 -3
  344. package/tabview/tabview.cjs.min.js +1 -1
  345. package/tabview/tabview.d.ts +1 -1
  346. package/tabview/tabview.esm.js +0 -3
  347. package/tabview/tabview.esm.min.js +1 -1
  348. package/tabview/tabview.js +0 -3
  349. package/tabview/tabview.min.js +1 -1
  350. package/tieredmenu/tieredmenu.cjs.js +0 -1
  351. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  352. package/tieredmenu/tieredmenu.esm.js +0 -1
  353. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  354. package/tieredmenu/tieredmenu.js +0 -1
  355. package/tieredmenu/tieredmenu.min.js +1 -1
  356. package/tooltip/tooltip.cjs.js +12 -3
  357. package/tooltip/tooltip.cjs.min.js +1 -1
  358. package/tooltip/tooltip.esm.js +13 -4
  359. package/tooltip/tooltip.esm.min.js +1 -1
  360. package/tooltip/tooltip.js +12 -3
  361. package/tooltip/tooltip.min.js +1 -1
  362. package/tooltip/tooltipoptions.d.ts +5 -0
  363. package/tree/tree.cjs.js +60 -14
  364. package/tree/tree.cjs.min.js +1 -1
  365. package/tree/tree.esm.js +60 -14
  366. package/tree/tree.esm.min.js +1 -1
  367. package/tree/tree.js +60 -14
  368. package/tree/tree.min.js +1 -1
  369. package/treeselect/treeselect.cjs.js +0 -1
  370. package/treeselect/treeselect.cjs.min.js +1 -1
  371. package/treeselect/treeselect.esm.js +0 -1
  372. package/treeselect/treeselect.esm.min.js +1 -1
  373. package/treeselect/treeselect.js +0 -1
  374. package/treeselect/treeselect.min.js +1 -1
  375. package/treetable/treetable.cjs.js +249 -9
  376. package/treetable/treetable.cjs.min.js +1 -1
  377. package/treetable/treetable.d.ts +29 -0
  378. package/treetable/treetable.esm.js +249 -9
  379. package/treetable/treetable.esm.min.js +1 -1
  380. package/treetable/treetable.js +249 -9
  381. package/treetable/treetable.min.js +1 -1
  382. package/utils/utils.cjs.js +3 -6
  383. package/utils/utils.cjs.min.js +1 -1
  384. package/utils/utils.d.ts +7 -4
  385. package/utils/utils.esm.js +3 -6
  386. package/utils/utils.esm.min.js +1 -1
  387. package/utils/utils.js +3 -6
  388. package/utils/utils.min.js +1 -1
  389. package/virtualscroller/virtualscroller.cjs.js +23 -1
  390. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  391. package/virtualscroller/virtualscroller.esm.js +23 -1
  392. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  393. package/virtualscroller/virtualscroller.js +23 -1
  394. package/virtualscroller/virtualscroller.min.js +1 -1
  395. package/web-types.json +77 -30
@@ -97,9 +97,9 @@ var classes = {
97
97
  'p-variant-filled': props.variant ? props.variant === 'filled' : context && context.inputStyle === 'filled'
98
98
  });
99
99
  },
100
- box: 'p-radiobutton-box',
101
- input: 'p-radiobutton-input',
102
- icon: 'p-radiobutton-icon'
100
+ radiobuttonbox: 'p-radiobutton-box',
101
+ radiobuttoninput: 'p-radiobutton-input',
102
+ radiobuttonicon: 'p-radiobutton-icon'
103
103
  };
104
104
  var RadioButtonBase = componentbase.ComponentBase.extend({
105
105
  defaultProps: {
@@ -238,7 +238,10 @@ var RadioButton = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namesp
238
238
  })),
239
239
  style: props.style,
240
240
  'data-p-checked': props.checked
241
- }, RadioButtonBase.getOtherProps(props), ptm('root'));
241
+ }, otherProps, ptm('root'));
242
+ delete rootProps.input;
243
+ delete rootProps.box;
244
+ delete rootProps.icon;
242
245
  var createInputElement = function createInputElement() {
243
246
  var ariaProps = utils.ObjectUtils.reduceKeys(otherProps, utils.DomHandler.ARIA_PROPS);
244
247
  var inputProps = mergeProps(_objectSpread({
@@ -253,19 +256,19 @@ var RadioButton = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namesp
253
256
  readOnly: props.readonly,
254
257
  required: props.required,
255
258
  tabIndex: props.tabIndex,
256
- className: cx('input')
257
- }, ariaProps), ptm('input'));
259
+ className: cx('radiobuttoninput')
260
+ }, ariaProps), inProps.input, ptm('radiobuttoninput'));
258
261
  return /*#__PURE__*/React__namespace.createElement("input", _extends({
259
262
  ref: inputRef
260
263
  }, inputProps));
261
264
  };
262
265
  var createBoxElement = function createBoxElement() {
263
266
  var boxProps = mergeProps({
264
- className: cx('box')
265
- }, ptm('box'));
267
+ className: cx('radiobuttonbox')
268
+ }, inProps.box, ptm('radiobuttonbox'));
266
269
  var iconProps = mergeProps({
267
- className: cx('icon')
268
- }, ptm('icon'));
270
+ className: cx('radiobuttonicon')
271
+ }, inProps.icon, ptm('radiobuttonicon'));
269
272
  return /*#__PURE__*/React__namespace.createElement("div", boxProps, /*#__PURE__*/React__namespace.createElement("div", iconProps));
270
273
  };
271
274
  return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("div", _extends({
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("primereact/api"),n=require("primereact/componentbase"),r=require("primereact/hooks"),o=require("primereact/tooltip"),i=require("primereact/utils");function u(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var a=u(e);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function c(e){return c="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},c(e)}function s(e,t){if("object"!==c(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function p(e){var t=s(e,"string");return"symbol"===c(t)?t:String(t)}var d=n.ComponentBase.extend({defaultProps:{__TYPE:"RadioButton",autoFocus:!1,checked:!1,className:null,disabled:!1,id:null,inputId:null,inputRef:null,invalid:!1,variant:null,name:null,onChange:null,onClick:null,required:!1,style:null,tabIndex:null,tooltip:null,tooltipOptions:null,value:null,children:void 0},css:{classes:{root:function(e){var t=e.props,n=e.context;return i.classNames("p-radiobutton p-component",{"p-highlight":t.checked,"p-disabled":t.disabled,"p-invalid":t.invalid,"p-variant-filled":t.variant?"filled"===t.variant:n&&"filled"===n.inputStyle})},box:"p-radiobutton-box",input:"p-radiobutton-input",icon:"p-radiobutton-icon"}}});function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){var r,o,i;r=e,i=n[t],(o=p(o=t))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=a.memo(a.forwardRef((function(e,u){var c=r.useMergeProps(),s=a.useContext(t.PrimeReactContext),p=d.getProps(e,s),f=a.useRef(null),m=a.useRef(p.inputRef),v=d.setMetaData({props:p}),y=v.ptm,g=v.cx;n.useHandleStyle(d.css.styles,v.isUnstyled,{name:"radiobutton"});var O=function(e){h(e)},h=function(e){if(!p.disabled&&!p.readonly&&p.onChange){var t=p.checked,n=e.target instanceof HTMLDivElement,r=e.target===m.current&&e.target.checked!==t,o=n&&i.DomHandler.hasClass(f.current,"p-radiobutton-checked")===t&&!t,u=!t;if(r||o){var a;if(null==p||null===(a=p.onChange)||void 0===a||a.call(p,{originalEvent:e,value:p.value,checked:u,stopPropagation:function(){null==e||e.stopPropagation()},preventDefault:function(){null==e||e.preventDefault()},target:{type:"radio",name:p.name,id:p.id,value:p.value,checked:u}}),e.defaultPrevented)return;o&&(m.current.checked=u)}i.DomHandler.focus(m.current)}},P=function(e){var t;null==p||null===(t=p.onFocus)||void 0===t||t.call(p,e)},j=function(e){var t;null==p||null===(t=p.onBlur)||void 0===t||t.call(p,e)};a.useImperativeHandle(u,(function(){return{props:p,select:O,focus:function(){return i.DomHandler.focus(m.current)},getElement:function(){return f.current},getInput:function(){return m.current}}})),a.useEffect((function(){m.current&&(m.current.checked=p.checked)}),[p.checked]),a.useEffect((function(){i.ObjectUtils.combinedRefs(m,p.inputRef)}),[m,p.inputRef]),r.useMountEffect((function(){p.autoFocus&&i.DomHandler.focus(m.current,p.autoFocus)}));var k,E,x,D,R=i.ObjectUtils.isNotEmpty(p.tooltip),S=d.getOtherProps(p),w=c({id:p.id,className:i.classNames(p.className,g("root",{context:s})),style:p.style,"data-p-checked":p.checked},d.getOtherProps(p),y("root"));return a.createElement(a.Fragment,null,a.createElement("div",l({ref:f},w),(x=i.ObjectUtils.reduceKeys(S,i.DomHandler.ARIA_PROPS),D=c(b({id:p.inputId,type:"radio",name:p.name,defaultChecked:p.checked,onFocus:P,onBlur:j,onChange:h,disabled:p.disabled,readOnly:p.readonly,required:p.required,tabIndex:p.tabIndex,className:g("input")},x),y("input")),a.createElement("input",l({ref:m},D))),(k=c({className:g("box")},y("box")),E=c({className:g("icon")},y("icon")),a.createElement("div",k,a.createElement("div",E)))),R&&a.createElement(o.Tooltip,l({target:f,content:p.tooltip,pt:y("tooltip")},p.tooltipOptions)))})));m.displayName="RadioButton",exports.RadioButton=m;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("primereact/api"),n=require("primereact/componentbase"),r=require("primereact/hooks"),o=require("primereact/tooltip"),i=require("primereact/utils");function u(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var a=u(e);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function c(e){return c="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},c(e)}function s(e,t){if("object"!==c(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function d(e){var t=s(e,"string");return"symbol"===c(t)?t:String(t)}var p=n.ComponentBase.extend({defaultProps:{__TYPE:"RadioButton",autoFocus:!1,checked:!1,className:null,disabled:!1,id:null,inputId:null,inputRef:null,invalid:!1,variant:null,name:null,onChange:null,onClick:null,required:!1,style:null,tabIndex:null,tooltip:null,tooltipOptions:null,value:null,children:void 0},css:{classes:{root:function(e){var t=e.props,n=e.context;return i.classNames("p-radiobutton p-component",{"p-highlight":t.checked,"p-disabled":t.disabled,"p-invalid":t.invalid,"p-variant-filled":t.variant?"filled"===t.variant:n&&"filled"===n.inputStyle})},radiobuttonbox:"p-radiobutton-box",radiobuttoninput:"p-radiobutton-input",radiobuttonicon:"p-radiobutton-icon"}}});function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){var r,o,i;r=e,i=n[t],(o=d(o=t))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=a.memo(a.forwardRef((function(e,u){var c=r.useMergeProps(),s=a.useContext(t.PrimeReactContext),d=p.getProps(e,s),f=a.useRef(null),m=a.useRef(d.inputRef),v=p.setMetaData({props:d}),y=v.ptm,g=v.cx;n.useHandleStyle(p.css.styles,v.isUnstyled,{name:"radiobutton"});var O=function(e){h(e)},h=function(e){if(!d.disabled&&!d.readonly&&d.onChange){var t=d.checked,n=e.target instanceof HTMLDivElement,r=e.target===m.current&&e.target.checked!==t,o=n&&i.DomHandler.hasClass(f.current,"p-radiobutton-checked")===t&&!t,u=!t;if(r||o){var a;if(null==d||null===(a=d.onChange)||void 0===a||a.call(d,{originalEvent:e,value:d.value,checked:u,stopPropagation:function(){null==e||e.stopPropagation()},preventDefault:function(){null==e||e.preventDefault()},target:{type:"radio",name:d.name,id:d.id,value:d.value,checked:u}}),e.defaultPrevented)return;o&&(m.current.checked=u)}i.DomHandler.focus(m.current)}},j=function(e){var t;null==d||null===(t=d.onFocus)||void 0===t||t.call(d,e)},P=function(e){var t;null==d||null===(t=d.onBlur)||void 0===t||t.call(d,e)};a.useImperativeHandle(u,(function(){return{props:d,select:O,focus:function(){return i.DomHandler.focus(m.current)},getElement:function(){return f.current},getInput:function(){return m.current}}})),a.useEffect((function(){m.current&&(m.current.checked=d.checked)}),[d.checked]),a.useEffect((function(){i.ObjectUtils.combinedRefs(m,d.inputRef)}),[m,d.inputRef]),r.useMountEffect((function(){d.autoFocus&&i.DomHandler.focus(m.current,d.autoFocus)}));var k=i.ObjectUtils.isNotEmpty(d.tooltip),E=p.getOtherProps(d),x=c({id:d.id,className:i.classNames(d.className,g("root",{context:s})),style:d.style,"data-p-checked":d.checked},E,y("root"));delete x.input,delete x.box,delete x.icon;var D,R,S,w;return a.createElement(a.Fragment,null,a.createElement("div",l({ref:f},x),(S=i.ObjectUtils.reduceKeys(E,i.DomHandler.ARIA_PROPS),w=c(b({id:d.inputId,type:"radio",name:d.name,defaultChecked:d.checked,onFocus:j,onBlur:P,onChange:h,disabled:d.disabled,readOnly:d.readonly,required:d.required,tabIndex:d.tabIndex,className:g("radiobuttoninput")},S),e.input,y("radiobuttoninput")),a.createElement("input",l({ref:m},w))),(D=c({className:g("radiobuttonbox")},e.box,y("radiobuttonbox")),R=c({className:g("radiobuttonicon")},e.icon,y("radiobuttonicon")),a.createElement("div",D,a.createElement("div",R)))),k&&a.createElement(o.Tooltip,l({target:f,content:d.tooltip,pt:y("tooltip")},d.tooltipOptions)))})));m.displayName="RadioButton",exports.RadioButton=m;
@@ -73,9 +73,9 @@ var classes = {
73
73
  'p-variant-filled': props.variant ? props.variant === 'filled' : context && context.inputStyle === 'filled'
74
74
  });
75
75
  },
76
- box: 'p-radiobutton-box',
77
- input: 'p-radiobutton-input',
78
- icon: 'p-radiobutton-icon'
76
+ radiobuttonbox: 'p-radiobutton-box',
77
+ radiobuttoninput: 'p-radiobutton-input',
78
+ radiobuttonicon: 'p-radiobutton-icon'
79
79
  };
80
80
  var RadioButtonBase = ComponentBase.extend({
81
81
  defaultProps: {
@@ -214,7 +214,10 @@ var RadioButton = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functio
214
214
  })),
215
215
  style: props.style,
216
216
  'data-p-checked': props.checked
217
- }, RadioButtonBase.getOtherProps(props), ptm('root'));
217
+ }, otherProps, ptm('root'));
218
+ delete rootProps.input;
219
+ delete rootProps.box;
220
+ delete rootProps.icon;
218
221
  var createInputElement = function createInputElement() {
219
222
  var ariaProps = ObjectUtils.reduceKeys(otherProps, DomHandler.ARIA_PROPS);
220
223
  var inputProps = mergeProps(_objectSpread({
@@ -229,19 +232,19 @@ var RadioButton = /*#__PURE__*/React.memo( /*#__PURE__*/React.forwardRef(functio
229
232
  readOnly: props.readonly,
230
233
  required: props.required,
231
234
  tabIndex: props.tabIndex,
232
- className: cx('input')
233
- }, ariaProps), ptm('input'));
235
+ className: cx('radiobuttoninput')
236
+ }, ariaProps), inProps.input, ptm('radiobuttoninput'));
234
237
  return /*#__PURE__*/React.createElement("input", _extends({
235
238
  ref: inputRef
236
239
  }, inputProps));
237
240
  };
238
241
  var createBoxElement = function createBoxElement() {
239
242
  var boxProps = mergeProps({
240
- className: cx('box')
241
- }, ptm('box'));
243
+ className: cx('radiobuttonbox')
244
+ }, inProps.box, ptm('radiobuttonbox'));
242
245
  var iconProps = mergeProps({
243
- className: cx('icon')
244
- }, ptm('icon'));
246
+ className: cx('radiobuttonicon')
247
+ }, inProps.icon, ptm('radiobuttonicon'));
245
248
  return /*#__PURE__*/React.createElement("div", boxProps, /*#__PURE__*/React.createElement("div", iconProps));
246
249
  };
247
250
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", _extends({
@@ -1 +1 @@
1
- import*as e from"react";import{PrimeReactContext as t}from"primereact/api";import{ComponentBase as n,useHandleStyle as r}from"primereact/componentbase";import{useMergeProps as o,useMountEffect as i}from"primereact/hooks";import{Tooltip as a}from"primereact/tooltip";import{classNames as l,DomHandler as u,ObjectUtils as c}from"primereact/utils";function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function d(e,t){if("object"!==s(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function f(e){var t=d(e,"string");return"symbol"===s(t)?t:String(t)}var m=n.extend({defaultProps:{__TYPE:"RadioButton",autoFocus:!1,checked:!1,className:null,disabled:!1,id:null,inputId:null,inputRef:null,invalid:!1,variant:null,name:null,onChange:null,onClick:null,required:!1,style:null,tabIndex:null,tooltip:null,tooltipOptions:null,value:null,children:void 0},css:{classes:{root:function(e){var t=e.props,n=e.context;return l("p-radiobutton p-component",{"p-highlight":t.checked,"p-disabled":t.disabled,"p-invalid":t.invalid,"p-variant-filled":t.variant?"filled"===t.variant:n&&"filled"===n.inputStyle})},box:"p-radiobutton-box",input:"p-radiobutton-input",icon:"p-radiobutton-icon"}}});function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){var r,o,i;r=e,i=n[t],(o=f(o=t))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var y=e.memo(e.forwardRef((function(n,s){var d=o(),f=e.useContext(t),b=m.getProps(n,f),y=e.useRef(null),g=e.useRef(b.inputRef),h=m.setMetaData({props:b}),O=h.ptm,P=h.cx;r(m.css.styles,h.isUnstyled,{name:"radiobutton"});var k=function(e){j(e)},j=function(e){if(!b.disabled&&!b.readonly&&b.onChange){var t=b.checked,n=e.target instanceof HTMLDivElement,r=e.target===g.current&&e.target.checked!==t,o=n&&u.hasClass(y.current,"p-radiobutton-checked")===t&&!t,i=!t;if(r||o){var a;if(null==b||null===(a=b.onChange)||void 0===a||a.call(b,{originalEvent:e,value:b.value,checked:i,stopPropagation:function(){null==e||e.stopPropagation()},preventDefault:function(){null==e||e.preventDefault()},target:{type:"radio",name:b.name,id:b.id,value:b.value,checked:i}}),e.defaultPrevented)return;o&&(g.current.checked=i)}u.focus(g.current)}},E=function(e){var t;null==b||null===(t=b.onFocus)||void 0===t||t.call(b,e)},x=function(e){var t;null==b||null===(t=b.onBlur)||void 0===t||t.call(b,e)};e.useImperativeHandle(s,(function(){return{props:b,select:k,focus:function(){return u.focus(g.current)},getElement:function(){return y.current},getInput:function(){return g.current}}})),e.useEffect((function(){g.current&&(g.current.checked=b.checked)}),[b.checked]),e.useEffect((function(){c.combinedRefs(g,b.inputRef)}),[g,b.inputRef]),i((function(){b.autoFocus&&u.focus(g.current,b.autoFocus)}));var R,S,w,N,C=c.isNotEmpty(b.tooltip),D=m.getOtherProps(b),I=d({id:b.id,className:l(b.className,P("root",{context:f})),style:b.style,"data-p-checked":b.checked},m.getOtherProps(b),O("root"));return e.createElement(e.Fragment,null,e.createElement("div",p({ref:y},I),(w=c.reduceKeys(D,u.ARIA_PROPS),N=d(v({id:b.inputId,type:"radio",name:b.name,defaultChecked:b.checked,onFocus:E,onBlur:x,onChange:j,disabled:b.disabled,readOnly:b.readonly,required:b.required,tabIndex:b.tabIndex,className:P("input")},w),O("input")),e.createElement("input",p({ref:g},N))),(R=d({className:P("box")},O("box")),S=d({className:P("icon")},O("icon")),e.createElement("div",R,e.createElement("div",S)))),C&&e.createElement(a,p({target:y,content:b.tooltip,pt:O("tooltip")},b.tooltipOptions)))})));y.displayName="RadioButton";export{y as RadioButton};
1
+ import*as e from"react";import{PrimeReactContext as t}from"primereact/api";import{ComponentBase as n,useHandleStyle as r}from"primereact/componentbase";import{useMergeProps as o,useMountEffect as i}from"primereact/hooks";import{Tooltip as u}from"primereact/tooltip";import{classNames as a,DomHandler as l,ObjectUtils as c}from"primereact/utils";function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}function d(e){return d="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},d(e)}function s(e,t){if("object"!==d(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==d(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function f(e){var t=s(e,"string");return"symbol"===d(t)?t:String(t)}var b=n.extend({defaultProps:{__TYPE:"RadioButton",autoFocus:!1,checked:!1,className:null,disabled:!1,id:null,inputId:null,inputRef:null,invalid:!1,variant:null,name:null,onChange:null,onClick:null,required:!1,style:null,tabIndex:null,tooltip:null,tooltipOptions:null,value:null,children:void 0},css:{classes:{root:function(e){var t=e.props,n=e.context;return a("p-radiobutton p-component",{"p-highlight":t.checked,"p-disabled":t.disabled,"p-invalid":t.invalid,"p-variant-filled":t.variant?"filled"===t.variant:n&&"filled"===n.inputStyle})},radiobuttonbox:"p-radiobutton-box",radiobuttoninput:"p-radiobutton-input",radiobuttonicon:"p-radiobutton-icon"}}});function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(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 r,o,i;r=e,i=n[t],(o=f(o=t))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):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=e.memo(e.forwardRef((function(n,d){var s=o(),f=e.useContext(t),m=b.getProps(n,f),y=e.useRef(null),g=e.useRef(m.inputRef),h=b.setMetaData({props:m}),O=h.ptm,P=h.cx;r(b.css.styles,h.isUnstyled,{name:"radiobutton"});var k=function(e){j(e)},j=function(e){if(!m.disabled&&!m.readonly&&m.onChange){var t=m.checked,n=e.target instanceof HTMLDivElement,r=e.target===g.current&&e.target.checked!==t,o=n&&l.hasClass(y.current,"p-radiobutton-checked")===t&&!t,i=!t;if(r||o){var u;if(null==m||null===(u=m.onChange)||void 0===u||u.call(m,{originalEvent:e,value:m.value,checked:i,stopPropagation:function(){null==e||e.stopPropagation()},preventDefault:function(){null==e||e.preventDefault()},target:{type:"radio",name:m.name,id:m.id,value:m.value,checked:i}}),e.defaultPrevented)return;o&&(g.current.checked=i)}l.focus(g.current)}},E=function(e){var t;null==m||null===(t=m.onFocus)||void 0===t||t.call(m,e)},x=function(e){var t;null==m||null===(t=m.onBlur)||void 0===t||t.call(m,e)};e.useImperativeHandle(d,(function(){return{props:m,select:k,focus:function(){return l.focus(g.current)},getElement:function(){return y.current},getInput:function(){return g.current}}})),e.useEffect((function(){g.current&&(g.current.checked=m.checked)}),[m.checked]),e.useEffect((function(){c.combinedRefs(g,m.inputRef)}),[g,m.inputRef]),i((function(){m.autoFocus&&l.focus(g.current,m.autoFocus)}));var R=c.isNotEmpty(m.tooltip),S=b.getOtherProps(m),w=s({id:m.id,className:a(m.className,P("root",{context:f})),style:m.style,"data-p-checked":m.checked},S,O("root"));delete w.input,delete w.box,delete w.icon;var N,C,D,I;return e.createElement(e.Fragment,null,e.createElement("div",p({ref:y},w),(D=c.reduceKeys(S,l.ARIA_PROPS),I=s(v({id:m.inputId,type:"radio",name:m.name,defaultChecked:m.checked,onFocus:E,onBlur:x,onChange:j,disabled:m.disabled,readOnly:m.readonly,required:m.required,tabIndex:m.tabIndex,className:P("radiobuttoninput")},D),n.input,O("radiobuttoninput")),e.createElement("input",p({ref:g},I))),(N=s({className:P("radiobuttonbox")},n.box,O("radiobuttonbox")),C=s({className:P("radiobuttonicon")},n.icon,O("radiobuttonicon")),e.createElement("div",N,e.createElement("div",C)))),R&&e.createElement(u,p({target:y,content:m.tooltip,pt:O("tooltip")},m.tooltipOptions)))})));y.displayName="RadioButton";export{y as RadioButton};
@@ -89,9 +89,9 @@ this.primereact.radiobutton = (function (exports, React, api, componentbase, hoo
89
89
  'p-variant-filled': props.variant ? props.variant === 'filled' : context && context.inputStyle === 'filled'
90
90
  });
91
91
  },
92
- box: 'p-radiobutton-box',
93
- input: 'p-radiobutton-input',
94
- icon: 'p-radiobutton-icon'
92
+ radiobuttonbox: 'p-radiobutton-box',
93
+ radiobuttoninput: 'p-radiobutton-input',
94
+ radiobuttonicon: 'p-radiobutton-icon'
95
95
  };
96
96
  var RadioButtonBase = componentbase.ComponentBase.extend({
97
97
  defaultProps: {
@@ -230,7 +230,10 @@ this.primereact.radiobutton = (function (exports, React, api, componentbase, hoo
230
230
  })),
231
231
  style: props.style,
232
232
  'data-p-checked': props.checked
233
- }, RadioButtonBase.getOtherProps(props), ptm('root'));
233
+ }, otherProps, ptm('root'));
234
+ delete rootProps.input;
235
+ delete rootProps.box;
236
+ delete rootProps.icon;
234
237
  var createInputElement = function createInputElement() {
235
238
  var ariaProps = utils.ObjectUtils.reduceKeys(otherProps, utils.DomHandler.ARIA_PROPS);
236
239
  var inputProps = mergeProps(_objectSpread({
@@ -245,19 +248,19 @@ this.primereact.radiobutton = (function (exports, React, api, componentbase, hoo
245
248
  readOnly: props.readonly,
246
249
  required: props.required,
247
250
  tabIndex: props.tabIndex,
248
- className: cx('input')
249
- }, ariaProps), ptm('input'));
251
+ className: cx('radiobuttoninput')
252
+ }, ariaProps), inProps.input, ptm('radiobuttoninput'));
250
253
  return /*#__PURE__*/React__namespace.createElement("input", _extends({
251
254
  ref: inputRef
252
255
  }, inputProps));
253
256
  };
254
257
  var createBoxElement = function createBoxElement() {
255
258
  var boxProps = mergeProps({
256
- className: cx('box')
257
- }, ptm('box'));
259
+ className: cx('radiobuttonbox')
260
+ }, inProps.box, ptm('radiobuttonbox'));
258
261
  var iconProps = mergeProps({
259
- className: cx('icon')
260
- }, ptm('icon'));
262
+ className: cx('radiobuttonicon')
263
+ }, inProps.icon, ptm('radiobuttonicon'));
261
264
  return /*#__PURE__*/React__namespace.createElement("div", boxProps, /*#__PURE__*/React__namespace.createElement("div", iconProps));
262
265
  };
263
266
  return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("div", _extends({
@@ -1 +1 @@
1
- this.primereact=this.primereact||{},this.primereact.radiobutton=function(e,t,n,r,o,i,a){"use strict";function u(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var c=u(t);function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l.apply(this,arguments)}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function p(e,t){if("object"!==s(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function d(e){var t=p(e,"string");return"symbol"===s(t)?t:String(t)}var f=r.ComponentBase.extend({defaultProps:{__TYPE:"RadioButton",autoFocus:!1,checked:!1,className:null,disabled:!1,id:null,inputId:null,inputRef:null,invalid:!1,variant:null,name:null,onChange:null,onClick:null,required:!1,style:null,tabIndex:null,tooltip:null,tooltipOptions:null,value:null,children:void 0},css:{classes:{root:function(e){var t=e.props,n=e.context;return a.classNames("p-radiobutton p-component",{"p-highlight":t.checked,"p-disabled":t.disabled,"p-invalid":t.invalid,"p-variant-filled":t.variant?"filled"===t.variant:n&&"filled"===n.inputStyle})},box:"p-radiobutton-box",input:"p-radiobutton-input",icon:"p-radiobutton-icon"}}});function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){var r,o,i;r=e,i=n[t],(o=d(o=t))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=c.memo(c.forwardRef((function(e,t){var u=o.useMergeProps(),s=c.useContext(n.PrimeReactContext),p=f.getProps(e,s),d=c.useRef(null),b=c.useRef(p.inputRef),v=f.setMetaData({props:p}),y=v.ptm,g=v.cx;r.useHandleStyle(f.css.styles,v.isUnstyled,{name:"radiobutton"});var h=function(e){O(e)},O=function(e){if(!p.disabled&&!p.readonly&&p.onChange){var t=p.checked,n=e.target instanceof HTMLDivElement,r=e.target===b.current&&e.target.checked!==t,o=n&&a.DomHandler.hasClass(d.current,"p-radiobutton-checked")===t&&!t,i=!t;if(r||o){var u;if(null==p||null===(u=p.onChange)||void 0===u||u.call(p,{originalEvent:e,value:p.value,checked:i,stopPropagation:function(){null==e||e.stopPropagation()},preventDefault:function(){null==e||e.preventDefault()},target:{type:"radio",name:p.name,id:p.id,value:p.value,checked:i}}),e.defaultPrevented)return;o&&(b.current.checked=i)}a.DomHandler.focus(b.current)}},P=function(e){var t;null==p||null===(t=p.onFocus)||void 0===t||t.call(p,e)},j=function(e){var t;null==p||null===(t=p.onBlur)||void 0===t||t.call(p,e)};c.useImperativeHandle(t,(function(){return{props:p,select:h,focus:function(){return a.DomHandler.focus(b.current)},getElement:function(){return d.current},getInput:function(){return b.current}}})),c.useEffect((function(){b.current&&(b.current.checked=p.checked)}),[p.checked]),c.useEffect((function(){a.ObjectUtils.combinedRefs(b,p.inputRef)}),[b,p.inputRef]),o.useMountEffect((function(){p.autoFocus&&a.DomHandler.focus(b.current,p.autoFocus)}));var k,E,R,D,x=a.ObjectUtils.isNotEmpty(p.tooltip),S=f.getOtherProps(p),w=u({id:p.id,className:a.classNames(p.className,g("root",{context:s})),style:p.style,"data-p-checked":p.checked},f.getOtherProps(p),y("root"));return c.createElement(c.Fragment,null,c.createElement("div",l({ref:d},w),(R=a.ObjectUtils.reduceKeys(S,a.DomHandler.ARIA_PROPS),D=u(m({id:p.inputId,type:"radio",name:p.name,defaultChecked:p.checked,onFocus:P,onBlur:j,onChange:O,disabled:p.disabled,readOnly:p.readonly,required:p.required,tabIndex:p.tabIndex,className:g("input")},R),y("input")),c.createElement("input",l({ref:b},D))),(k=u({className:g("box")},y("box")),E=u({className:g("icon")},y("icon")),c.createElement("div",k,c.createElement("div",E)))),x&&c.createElement(i.Tooltip,l({target:d,content:p.tooltip,pt:y("tooltip")},p.tooltipOptions)))})));return v.displayName="RadioButton",e.RadioButton=v,Object.defineProperty(e,"__esModule",{value:!0}),e}({},React,primereact.api,primereact.componentbase,primereact.hooks,primereact.tooltip,primereact.utils);
1
+ this.primereact=this.primereact||{},this.primereact.radiobutton=function(e,t,n,r,o,i,a){"use strict";function u(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var l=u(t);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c.apply(this,arguments)}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function d(e,t){if("object"!==s(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function p(e){var t=d(e,"string");return"symbol"===s(t)?t:String(t)}var f=r.ComponentBase.extend({defaultProps:{__TYPE:"RadioButton",autoFocus:!1,checked:!1,className:null,disabled:!1,id:null,inputId:null,inputRef:null,invalid:!1,variant:null,name:null,onChange:null,onClick:null,required:!1,style:null,tabIndex:null,tooltip:null,tooltipOptions:null,value:null,children:void 0},css:{classes:{root:function(e){var t=e.props,n=e.context;return a.classNames("p-radiobutton p-component",{"p-highlight":t.checked,"p-disabled":t.disabled,"p-invalid":t.invalid,"p-variant-filled":t.variant?"filled"===t.variant:n&&"filled"===n.inputStyle})},radiobuttonbox:"p-radiobutton-box",radiobuttoninput:"p-radiobutton-input",radiobuttonicon:"p-radiobutton-icon"}}});function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){var r,o,i;r=e,i=n[t],(o=p(o=t))in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=l.memo(l.forwardRef((function(e,t){var u=o.useMergeProps(),s=l.useContext(n.PrimeReactContext),d=f.getProps(e,s),p=l.useRef(null),b=l.useRef(d.inputRef),v=f.setMetaData({props:d}),y=v.ptm,g=v.cx;r.useHandleStyle(f.css.styles,v.isUnstyled,{name:"radiobutton"});var h=function(e){O(e)},O=function(e){if(!d.disabled&&!d.readonly&&d.onChange){var t=d.checked,n=e.target instanceof HTMLDivElement,r=e.target===b.current&&e.target.checked!==t,o=n&&a.DomHandler.hasClass(p.current,"p-radiobutton-checked")===t&&!t,i=!t;if(r||o){var u;if(null==d||null===(u=d.onChange)||void 0===u||u.call(d,{originalEvent:e,value:d.value,checked:i,stopPropagation:function(){null==e||e.stopPropagation()},preventDefault:function(){null==e||e.preventDefault()},target:{type:"radio",name:d.name,id:d.id,value:d.value,checked:i}}),e.defaultPrevented)return;o&&(b.current.checked=i)}a.DomHandler.focus(b.current)}},j=function(e){var t;null==d||null===(t=d.onFocus)||void 0===t||t.call(d,e)},P=function(e){var t;null==d||null===(t=d.onBlur)||void 0===t||t.call(d,e)};l.useImperativeHandle(t,(function(){return{props:d,select:h,focus:function(){return a.DomHandler.focus(b.current)},getElement:function(){return p.current},getInput:function(){return b.current}}})),l.useEffect((function(){b.current&&(b.current.checked=d.checked)}),[d.checked]),l.useEffect((function(){a.ObjectUtils.combinedRefs(b,d.inputRef)}),[b,d.inputRef]),o.useMountEffect((function(){d.autoFocus&&a.DomHandler.focus(b.current,d.autoFocus)}));var k=a.ObjectUtils.isNotEmpty(d.tooltip),E=f.getOtherProps(d),x=u({id:d.id,className:a.classNames(d.className,g("root",{context:s})),style:d.style,"data-p-checked":d.checked},E,y("root"));delete x.input,delete x.box,delete x.icon;var R,D,S,w;return l.createElement(l.Fragment,null,l.createElement("div",c({ref:p},x),(S=a.ObjectUtils.reduceKeys(E,a.DomHandler.ARIA_PROPS),w=u(m({id:d.inputId,type:"radio",name:d.name,defaultChecked:d.checked,onFocus:j,onBlur:P,onChange:O,disabled:d.disabled,readOnly:d.readonly,required:d.required,tabIndex:d.tabIndex,className:g("radiobuttoninput")},S),e.input,y("radiobuttoninput")),l.createElement("input",c({ref:b},w))),(R=u({className:g("radiobuttonbox")},e.box,y("radiobuttonbox")),D=u({className:g("radiobuttonicon")},e.icon,y("radiobuttonicon")),l.createElement("div",R,l.createElement("div",D)))),k&&l.createElement(i.Tooltip,c({target:p,content:d.tooltip,pt:y("tooltip")},d.tooltipOptions)))})));return v.displayName="RadioButton",e.RadioButton=v,Object.defineProperty(e,"__esModule",{value:!0}),e}({},React,primereact.api,primereact.componentbase,primereact.hooks,primereact.tooltip,primereact.utils);
Binary file
@@ -4660,6 +4660,68 @@
4660
4660
  outline-offset: 0;
4661
4661
  box-shadow: 0 0 0 1px #93cbf9;
4662
4662
  }
4663
+ .p-tabview-nav-container {
4664
+ position: relative;
4665
+ }
4666
+ .p-tabview-scrollable .p-tabview-nav-container {
4667
+ overflow: hidden;
4668
+ }
4669
+ .p-tabview-nav-content {
4670
+ overflow-x: auto;
4671
+ overflow-y: hidden;
4672
+ scroll-behavior: smooth;
4673
+ scrollbar-width: none;
4674
+ overscroll-behavior: contain auto;
4675
+ position: relative;
4676
+ }
4677
+ .p-tabview-nav {
4678
+ display: flex;
4679
+ margin: 0;
4680
+ padding: 0;
4681
+ list-style-type: none;
4682
+ flex: 1 1 auto;
4683
+ }
4684
+ .p-tabview-nav-link {
4685
+ cursor: pointer;
4686
+ user-select: none;
4687
+ display: flex;
4688
+ align-items: center;
4689
+ position: relative;
4690
+ text-decoration: none;
4691
+ overflow: hidden;
4692
+ }
4693
+ .p-tabview-ink-bar {
4694
+ display: none;
4695
+ z-index: 1;
4696
+ }
4697
+ .p-tabview-nav-link:focus {
4698
+ z-index: 1;
4699
+ }
4700
+ .p-tabview-close {
4701
+ z-index: 1;
4702
+ }
4703
+ .p-tabview-title {
4704
+ line-height: 1;
4705
+ white-space: nowrap;
4706
+ }
4707
+ .p-tabview-nav-btn {
4708
+ position: absolute;
4709
+ top: 0;
4710
+ z-index: 2;
4711
+ height: 100%;
4712
+ display: flex;
4713
+ align-items: center;
4714
+ justify-content: center;
4715
+ }
4716
+ .p-tabview-nav-prev {
4717
+ left: 0;
4718
+ }
4719
+ .p-tabview-nav-next {
4720
+ right: 0;
4721
+ }
4722
+ .p-tabview-nav-content::-webkit-scrollbar {
4723
+ display: none;
4724
+ }
4663
4725
  .p-tabview .p-tabview-nav {
4664
4726
  background: transparent;
4665
4727
  border: 1px solid #383838;
@@ -4660,6 +4660,68 @@
4660
4660
  outline-offset: 0;
4661
4661
  box-shadow: 0 0 0 1px #a7d8a9;
4662
4662
  }
4663
+ .p-tabview-nav-container {
4664
+ position: relative;
4665
+ }
4666
+ .p-tabview-scrollable .p-tabview-nav-container {
4667
+ overflow: hidden;
4668
+ }
4669
+ .p-tabview-nav-content {
4670
+ overflow-x: auto;
4671
+ overflow-y: hidden;
4672
+ scroll-behavior: smooth;
4673
+ scrollbar-width: none;
4674
+ overscroll-behavior: contain auto;
4675
+ position: relative;
4676
+ }
4677
+ .p-tabview-nav {
4678
+ display: flex;
4679
+ margin: 0;
4680
+ padding: 0;
4681
+ list-style-type: none;
4682
+ flex: 1 1 auto;
4683
+ }
4684
+ .p-tabview-nav-link {
4685
+ cursor: pointer;
4686
+ user-select: none;
4687
+ display: flex;
4688
+ align-items: center;
4689
+ position: relative;
4690
+ text-decoration: none;
4691
+ overflow: hidden;
4692
+ }
4693
+ .p-tabview-ink-bar {
4694
+ display: none;
4695
+ z-index: 1;
4696
+ }
4697
+ .p-tabview-nav-link:focus {
4698
+ z-index: 1;
4699
+ }
4700
+ .p-tabview-close {
4701
+ z-index: 1;
4702
+ }
4703
+ .p-tabview-title {
4704
+ line-height: 1;
4705
+ white-space: nowrap;
4706
+ }
4707
+ .p-tabview-nav-btn {
4708
+ position: absolute;
4709
+ top: 0;
4710
+ z-index: 2;
4711
+ height: 100%;
4712
+ display: flex;
4713
+ align-items: center;
4714
+ justify-content: center;
4715
+ }
4716
+ .p-tabview-nav-prev {
4717
+ left: 0;
4718
+ }
4719
+ .p-tabview-nav-next {
4720
+ right: 0;
4721
+ }
4722
+ .p-tabview-nav-content::-webkit-scrollbar {
4723
+ display: none;
4724
+ }
4663
4725
  .p-tabview .p-tabview-nav {
4664
4726
  background: transparent;
4665
4727
  border: 1px solid #383838;
@@ -4660,6 +4660,68 @@
4660
4660
  outline-offset: 0;
4661
4661
  box-shadow: 0 0 0 1px #ffe284;
4662
4662
  }
4663
+ .p-tabview-nav-container {
4664
+ position: relative;
4665
+ }
4666
+ .p-tabview-scrollable .p-tabview-nav-container {
4667
+ overflow: hidden;
4668
+ }
4669
+ .p-tabview-nav-content {
4670
+ overflow-x: auto;
4671
+ overflow-y: hidden;
4672
+ scroll-behavior: smooth;
4673
+ scrollbar-width: none;
4674
+ overscroll-behavior: contain auto;
4675
+ position: relative;
4676
+ }
4677
+ .p-tabview-nav {
4678
+ display: flex;
4679
+ margin: 0;
4680
+ padding: 0;
4681
+ list-style-type: none;
4682
+ flex: 1 1 auto;
4683
+ }
4684
+ .p-tabview-nav-link {
4685
+ cursor: pointer;
4686
+ user-select: none;
4687
+ display: flex;
4688
+ align-items: center;
4689
+ position: relative;
4690
+ text-decoration: none;
4691
+ overflow: hidden;
4692
+ }
4693
+ .p-tabview-ink-bar {
4694
+ display: none;
4695
+ z-index: 1;
4696
+ }
4697
+ .p-tabview-nav-link:focus {
4698
+ z-index: 1;
4699
+ }
4700
+ .p-tabview-close {
4701
+ z-index: 1;
4702
+ }
4703
+ .p-tabview-title {
4704
+ line-height: 1;
4705
+ white-space: nowrap;
4706
+ }
4707
+ .p-tabview-nav-btn {
4708
+ position: absolute;
4709
+ top: 0;
4710
+ z-index: 2;
4711
+ height: 100%;
4712
+ display: flex;
4713
+ align-items: center;
4714
+ justify-content: center;
4715
+ }
4716
+ .p-tabview-nav-prev {
4717
+ left: 0;
4718
+ }
4719
+ .p-tabview-nav-next {
4720
+ right: 0;
4721
+ }
4722
+ .p-tabview-nav-content::-webkit-scrollbar {
4723
+ display: none;
4724
+ }
4663
4725
  .p-tabview .p-tabview-nav {
4664
4726
  background: transparent;
4665
4727
  border: 1px solid #383838;
@@ -4717,6 +4717,68 @@
4717
4717
  outline-offset: 0;
4718
4718
  box-shadow: 0 0 0 1px #e3f3fe;
4719
4719
  }
4720
+ .p-tabview-nav-container {
4721
+ position: relative;
4722
+ }
4723
+ .p-tabview-scrollable .p-tabview-nav-container {
4724
+ overflow: hidden;
4725
+ }
4726
+ .p-tabview-nav-content {
4727
+ overflow-x: auto;
4728
+ overflow-y: hidden;
4729
+ scroll-behavior: smooth;
4730
+ scrollbar-width: none;
4731
+ overscroll-behavior: contain auto;
4732
+ position: relative;
4733
+ }
4734
+ .p-tabview-nav {
4735
+ display: flex;
4736
+ margin: 0;
4737
+ padding: 0;
4738
+ list-style-type: none;
4739
+ flex: 1 1 auto;
4740
+ }
4741
+ .p-tabview-nav-link {
4742
+ cursor: pointer;
4743
+ user-select: none;
4744
+ display: flex;
4745
+ align-items: center;
4746
+ position: relative;
4747
+ text-decoration: none;
4748
+ overflow: hidden;
4749
+ }
4750
+ .p-tabview-ink-bar {
4751
+ display: none;
4752
+ z-index: 1;
4753
+ }
4754
+ .p-tabview-nav-link:focus {
4755
+ z-index: 1;
4756
+ }
4757
+ .p-tabview-close {
4758
+ z-index: 1;
4759
+ }
4760
+ .p-tabview-title {
4761
+ line-height: 1;
4762
+ white-space: nowrap;
4763
+ }
4764
+ .p-tabview-nav-btn {
4765
+ position: absolute;
4766
+ top: 0;
4767
+ z-index: 2;
4768
+ height: 100%;
4769
+ display: flex;
4770
+ align-items: center;
4771
+ justify-content: center;
4772
+ }
4773
+ .p-tabview-nav-prev {
4774
+ left: 0;
4775
+ }
4776
+ .p-tabview-nav-next {
4777
+ right: 0;
4778
+ }
4779
+ .p-tabview-nav-content::-webkit-scrollbar {
4780
+ display: none;
4781
+ }
4720
4782
  .p-tabview .p-tabview-nav {
4721
4783
  background: transparent;
4722
4784
  border: 1px solid #3f4b5b;