primereact 10.8.0 → 10.8.2

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 (234) hide show
  1. package/autocomplete/autocomplete.cjs.js +16 -6
  2. package/autocomplete/autocomplete.cjs.min.js +1 -1
  3. package/autocomplete/autocomplete.esm.js +16 -6
  4. package/autocomplete/autocomplete.esm.min.js +1 -1
  5. package/autocomplete/autocomplete.js +16 -6
  6. package/autocomplete/autocomplete.min.js +1 -1
  7. package/calendar/calendar.cjs.js +8 -6
  8. package/calendar/calendar.cjs.min.js +1 -1
  9. package/calendar/calendar.esm.js +8 -6
  10. package/calendar/calendar.esm.min.js +1 -1
  11. package/calendar/calendar.js +8 -6
  12. package/calendar/calendar.min.js +1 -1
  13. package/core/core.js +11 -14
  14. package/core/core.min.js +2 -2
  15. package/datatable/datatable.cjs.js +19 -29
  16. package/datatable/datatable.cjs.min.js +1 -1
  17. package/datatable/datatable.d.ts +1 -1
  18. package/datatable/datatable.esm.js +19 -29
  19. package/datatable/datatable.esm.min.js +1 -1
  20. package/datatable/datatable.js +19 -29
  21. package/datatable/datatable.min.js +1 -1
  22. package/editor/editor.cjs.js +4 -2
  23. package/editor/editor.cjs.min.js +1 -1
  24. package/editor/editor.esm.js +5 -2
  25. package/editor/editor.esm.min.js +1 -1
  26. package/editor/editor.js +4 -2
  27. package/editor/editor.min.js +1 -1
  28. package/inplace/inplace.d.ts +1 -1
  29. package/inputnumber/inputnumber.cjs.js +1 -2
  30. package/inputnumber/inputnumber.cjs.min.js +1 -1
  31. package/inputnumber/inputnumber.esm.js +1 -2
  32. package/inputnumber/inputnumber.esm.min.js +1 -1
  33. package/inputnumber/inputnumber.js +1 -2
  34. package/inputnumber/inputnumber.min.js +1 -1
  35. package/inputotp/inputotp.cjs.js +4 -3
  36. package/inputotp/inputotp.cjs.min.js +1 -1
  37. package/inputotp/inputotp.esm.js +4 -3
  38. package/inputotp/inputotp.esm.min.js +1 -1
  39. package/inputotp/inputotp.js +4 -3
  40. package/inputotp/inputotp.min.js +1 -1
  41. package/package.json +1 -1
  42. package/primereact.all.cjs.js +60 -58
  43. package/primereact.all.cjs.min.js +1 -1
  44. package/primereact.all.esm.js +60 -58
  45. package/primereact.all.esm.min.js +1 -1
  46. package/primereact.all.js +60 -58
  47. package/primereact.all.min.js +1 -1
  48. package/resources/themes/lara-dark-amber/fonts/InterVariable-Italic.woff2 +0 -0
  49. package/resources/themes/lara-dark-amber/fonts/InterVariable.woff2 +0 -0
  50. package/resources/themes/lara-dark-amber/theme.css +2 -2
  51. package/resources/themes/lara-dark-blue/fonts/InterVariable-Italic.woff2 +0 -0
  52. package/resources/themes/lara-dark-blue/fonts/InterVariable.woff2 +0 -0
  53. package/resources/themes/lara-dark-blue/theme.css +2 -2
  54. package/resources/themes/lara-dark-cyan/fonts/InterVariable-Italic.woff2 +0 -0
  55. package/resources/themes/lara-dark-cyan/fonts/InterVariable.woff2 +0 -0
  56. package/resources/themes/lara-dark-cyan/theme.css +2 -2
  57. package/resources/themes/lara-dark-green/fonts/InterVariable-Italic.woff2 +0 -0
  58. package/resources/themes/lara-dark-green/fonts/InterVariable.woff2 +0 -0
  59. package/resources/themes/lara-dark-green/theme.css +2 -2
  60. package/resources/themes/lara-dark-indigo/fonts/InterVariable-Italic.woff2 +0 -0
  61. package/resources/themes/lara-dark-indigo/fonts/InterVariable.woff2 +0 -0
  62. package/resources/themes/lara-dark-indigo/theme.css +2 -2
  63. package/resources/themes/lara-dark-pink/fonts/InterVariable-Italic.woff2 +0 -0
  64. package/resources/themes/lara-dark-pink/fonts/InterVariable.woff2 +0 -0
  65. package/resources/themes/lara-dark-pink/theme.css +2 -2
  66. package/resources/themes/lara-dark-purple/fonts/InterVariable-Italic.woff2 +0 -0
  67. package/resources/themes/lara-dark-purple/fonts/InterVariable.woff2 +0 -0
  68. package/resources/themes/lara-dark-purple/theme.css +6 -6
  69. package/resources/themes/lara-dark-teal/fonts/InterVariable-Italic.woff2 +0 -0
  70. package/resources/themes/lara-dark-teal/fonts/InterVariable.woff2 +0 -0
  71. package/resources/themes/lara-dark-teal/theme.css +2 -2
  72. package/resources/themes/lara-light-amber/fonts/InterVariable-Italic.woff2 +0 -0
  73. package/resources/themes/lara-light-amber/fonts/InterVariable.woff2 +0 -0
  74. package/resources/themes/lara-light-amber/theme.css +2 -2
  75. package/resources/themes/lara-light-blue/fonts/InterVariable-Italic.woff2 +0 -0
  76. package/resources/themes/lara-light-blue/fonts/InterVariable.woff2 +0 -0
  77. package/resources/themes/lara-light-blue/theme.css +2 -2
  78. package/resources/themes/lara-light-cyan/fonts/InterVariable-Italic.woff2 +0 -0
  79. package/resources/themes/lara-light-cyan/fonts/InterVariable.woff2 +0 -0
  80. package/resources/themes/lara-light-cyan/theme.css +2 -2
  81. package/resources/themes/lara-light-green/fonts/InterVariable-Italic.woff2 +0 -0
  82. package/resources/themes/lara-light-green/fonts/InterVariable.woff2 +0 -0
  83. package/resources/themes/lara-light-green/theme.css +2 -2
  84. package/resources/themes/lara-light-indigo/fonts/InterVariable-Italic.woff2 +0 -0
  85. package/resources/themes/lara-light-indigo/fonts/InterVariable.woff2 +0 -0
  86. package/resources/themes/lara-light-indigo/theme.css +2 -2
  87. package/resources/themes/lara-light-pink/fonts/InterVariable-Italic.woff2 +0 -0
  88. package/resources/themes/lara-light-pink/fonts/InterVariable.woff2 +0 -0
  89. package/resources/themes/lara-light-pink/theme.css +2 -2
  90. package/resources/themes/lara-light-purple/fonts/InterVariable-Italic.woff2 +0 -0
  91. package/resources/themes/lara-light-purple/fonts/InterVariable.woff2 +0 -0
  92. package/resources/themes/lara-light-purple/theme.css +6 -6
  93. package/resources/themes/lara-light-teal/fonts/InterVariable-Italic.woff2 +0 -0
  94. package/resources/themes/lara-light-teal/fonts/InterVariable.woff2 +0 -0
  95. package/resources/themes/lara-light-teal/theme.css +2 -2
  96. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  97. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  98. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  99. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  100. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  101. package/resources/themes/md-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  102. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  103. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  104. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  105. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  106. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  107. package/resources/themes/md-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  108. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  109. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  110. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  111. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  112. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  113. package/resources/themes/md-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  114. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  115. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  116. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  117. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  118. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  119. package/resources/themes/md-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  120. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  121. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  122. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  123. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  124. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  125. package/resources/themes/mdc-dark-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  126. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  127. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  128. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  129. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  130. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  131. package/resources/themes/mdc-dark-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  132. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  133. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  134. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  135. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  136. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  137. package/resources/themes/mdc-light-deeppurple/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  138. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff +0 -0
  139. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-500.woff2 +0 -0
  140. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff +0 -0
  141. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-700.woff2 +0 -0
  142. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff +0 -0
  143. package/resources/themes/mdc-light-indigo/fonts/roboto-v20-latin-ext_latin-regular.woff2 +0 -0
  144. package/resources/themes/mira/fonts/Inter-Bold.woff +0 -0
  145. package/resources/themes/mira/fonts/Inter-Bold.woff2 +0 -0
  146. package/resources/themes/mira/fonts/Inter-Medium.woff +0 -0
  147. package/resources/themes/mira/fonts/Inter-Medium.woff2 +0 -0
  148. package/resources/themes/mira/fonts/Inter-Regular.woff +0 -0
  149. package/resources/themes/mira/fonts/Inter-Regular.woff2 +0 -0
  150. package/resources/themes/mira/fonts/Inter-SemiBold.woff +0 -0
  151. package/resources/themes/mira/fonts/Inter-SemiBold.woff2 +0 -0
  152. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
  153. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
  154. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
  155. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
  156. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
  157. package/resources/themes/soho-dark/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
  158. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff +0 -0
  159. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-300.woff2 +0 -0
  160. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff +0 -0
  161. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-700.woff2 +0 -0
  162. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff +0 -0
  163. package/resources/themes/soho-light/fonts/lato-v17-latin-ext_latin-regular.woff2 +0 -0
  164. package/resources/themes/tailwind-light/fonts/Inter-Bold.woff +0 -0
  165. package/resources/themes/tailwind-light/fonts/Inter-Bold.woff2 +0 -0
  166. package/resources/themes/tailwind-light/fonts/Inter-Light.woff +0 -0
  167. package/resources/themes/tailwind-light/fonts/Inter-Light.woff2 +0 -0
  168. package/resources/themes/tailwind-light/fonts/Inter-Medium.woff +0 -0
  169. package/resources/themes/tailwind-light/fonts/Inter-Medium.woff2 +0 -0
  170. package/resources/themes/tailwind-light/fonts/Inter-Regular.woff +0 -0
  171. package/resources/themes/tailwind-light/fonts/Inter-Regular.woff2 +0 -0
  172. package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff +0 -0
  173. package/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff2 +0 -0
  174. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
  175. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
  176. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
  177. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
  178. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
  179. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
  180. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
  181. package/resources/themes/viva-dark/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
  182. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff +0 -0
  183. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-300.woff2 +0 -0
  184. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff +0 -0
  185. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-600.woff2 +0 -0
  186. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff +0 -0
  187. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-700.woff2 +0 -0
  188. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff +0 -0
  189. package/resources/themes/viva-light/fonts/poppins-v15-latin-ext_latin-regular.woff2 +0 -0
  190. package/stepper/stepper.cjs.js +2 -1
  191. package/stepper/stepper.cjs.min.js +1 -1
  192. package/stepper/stepper.esm.js +2 -1
  193. package/stepper/stepper.esm.min.js +1 -1
  194. package/stepper/stepper.js +2 -1
  195. package/stepper/stepper.min.js +1 -1
  196. package/tree/tree.cjs.js +10 -12
  197. package/tree/tree.cjs.min.js +1 -1
  198. package/tree/tree.esm.js +10 -12
  199. package/tree/tree.esm.min.js +1 -1
  200. package/tree/tree.js +10 -12
  201. package/tree/tree.min.js +1 -1
  202. package/web-types.json +1 -1
  203. package/resources/themes/lara-dark-amber/fonts/Inter-italic.var.woff2 +0 -0
  204. package/resources/themes/lara-dark-amber/fonts/Inter-roman.var.woff2 +0 -0
  205. package/resources/themes/lara-dark-blue/fonts/Inter-italic.var.woff2 +0 -0
  206. package/resources/themes/lara-dark-blue/fonts/Inter-roman.var.woff2 +0 -0
  207. package/resources/themes/lara-dark-cyan/fonts/Inter-italic.var.woff2 +0 -0
  208. package/resources/themes/lara-dark-cyan/fonts/Inter-roman.var.woff2 +0 -0
  209. package/resources/themes/lara-dark-green/fonts/Inter-italic.var.woff2 +0 -0
  210. package/resources/themes/lara-dark-green/fonts/Inter-roman.var.woff2 +0 -0
  211. package/resources/themes/lara-dark-indigo/fonts/Inter-italic.var.woff2 +0 -0
  212. package/resources/themes/lara-dark-indigo/fonts/Inter-roman.var.woff2 +0 -0
  213. package/resources/themes/lara-dark-pink/fonts/Inter-italic.var.woff2 +0 -0
  214. package/resources/themes/lara-dark-pink/fonts/Inter-roman.var.woff2 +0 -0
  215. package/resources/themes/lara-dark-purple/fonts/Inter-italic.var.woff2 +0 -0
  216. package/resources/themes/lara-dark-purple/fonts/Inter-roman.var.woff2 +0 -0
  217. package/resources/themes/lara-dark-teal/fonts/Inter-italic.var.woff2 +0 -0
  218. package/resources/themes/lara-dark-teal/fonts/Inter-roman.var.woff2 +0 -0
  219. package/resources/themes/lara-light-amber/fonts/Inter-italic.var.woff2 +0 -0
  220. package/resources/themes/lara-light-amber/fonts/Inter-roman.var.woff2 +0 -0
  221. package/resources/themes/lara-light-blue/fonts/Inter-italic.var.woff2 +0 -0
  222. package/resources/themes/lara-light-blue/fonts/Inter-roman.var.woff2 +0 -0
  223. package/resources/themes/lara-light-cyan/fonts/Inter-italic.var.woff2 +0 -0
  224. package/resources/themes/lara-light-cyan/fonts/Inter-roman.var.woff2 +0 -0
  225. package/resources/themes/lara-light-green/fonts/Inter-italic.var.woff2 +0 -0
  226. package/resources/themes/lara-light-green/fonts/Inter-roman.var.woff2 +0 -0
  227. package/resources/themes/lara-light-indigo/fonts/Inter-italic.var.woff2 +0 -0
  228. package/resources/themes/lara-light-indigo/fonts/Inter-roman.var.woff2 +0 -0
  229. package/resources/themes/lara-light-pink/fonts/Inter-italic.var.woff2 +0 -0
  230. package/resources/themes/lara-light-pink/fonts/Inter-roman.var.woff2 +0 -0
  231. package/resources/themes/lara-light-purple/fonts/Inter-italic.var.woff2 +0 -0
  232. package/resources/themes/lara-light-purple/fonts/Inter-roman.var.woff2 +0 -0
  233. package/resources/themes/lara-light-teal/fonts/Inter-italic.var.woff2 +0 -0
  234. package/resources/themes/lara-light-teal/fonts/Inter-roman.var.woff2 +0 -0
@@ -1 +1 @@
1
- this.primereact=this.primereact||{},this.primereact.inputotp=function(e,t,n,r,a,l,i){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=o(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,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e){if(Array.isArray(e))return s(e)}function f(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function d(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function v(){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 y(e){return p(e)||f(e)||d(e)||v()}function b(e){if(Array.isArray(e))return e}function m(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,l,i,o=[],u=!0,c=!1;try{if(l=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=l.call(n)).done)&&(o.push(r.value),o.length!==t);u=!0);}catch(e){c=!0,a=e}finally{try{if(!u&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return o}}function g(){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 O(e){return O="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},O(e)}function h(e,t){if("object"!==O(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==O(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function w(e){var t=h(e,"string");return"symbol"===O(t)?t:String(t)}var j=r.ComponentBase.extend({defaultProps:{__TYPE:"InputOtp",__parentMetadata:null,className:null,modelValue:!1,invalid:!1,disabled:!1,readOnly:!1,variant:null,tabIndex:null,length:4,mask:!1,integerOnly:!1},css:{classes:{root:"p-inputotp p-component",input:"p-inputotp-input"}}});function S(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 P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){var r,a,l;r=e,l=n[t],(a=w(a=t))in r?Object.defineProperty(r,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):r[a]=l})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E=u.default.memo(u.default.forwardRef((function(e,o){var s,p,f=t.useRef(o),v=a.useMergeProps(),O=t.useContext(n.PrimeReactContext),h=j.getProps(e,O),w=j.setMetaData(P(P({props:h},h.__parentMetadata),{},{context:{disabled:h.disabled}})),S=w.ptm,E=w.cx;r.useHandleStyle(j.css.styles,w.isUnstyled,{name:"inputotp"});var x,A,D=h.value?null===(s=h.value)||void 0===s||null===(s=s.toString())||void 0===s||null===(p=s.split)||void 0===p?void 0:p.call(s,""):new Array(h.length),I=t.useState(D),T=(A=2,b(x=I)||m(x,A)||d(x,A)||g()),k=T[0],N=T[1],_=function e(t){var n=t.nextElementSibling;if(n)return"INPUT"===n.nodeName?n:e(n)},C=function e(t){var n=t.previousElementSibling;if(n)return"INPUT"===n.nodeName?n:e(n)},M=function(e){var t=_(e.target);t&&(t.focus(),t.select())},U=function(e){var t=C(e.target);t&&(t.focus(),t.select())},R=function(e,t){var n;null==h||null===(n=h.onChange)||void 0===n||n.call(h,{originalEvent:e,value:t.join("")})},B=function(e,t){var n=e.target.value,r=y(k);r[t]=n,r=(r=r.join(""))?r.split(""):new Array(h.length),N(r),R(e,r)},K=function(e,t){h.disabled||h.readOnly||"insertFromPaste"!==e.nativeEvent.inputType&&(B(e,t),"deleteContentBackward"===e.nativeEvent.inputType?U(e):"insertText"!==e.nativeEvent.inputType&&"deleteContentForward"!==e.nativeEvent.inputType||M(e))},F=function(e){if(!h.disabled&&!h.readOnly){var t=e.clipboardData.getData("text");if(t.length){var n=t.substring(0,h.length+1);if(!h.integerOnly||!isNaN(n)){var r=n.split("");N(r),R(e,r)}}}},L=function(e){var t;e.target.select(),null==h||null===(t=h.focus)||void 0===t||t.call(h,e)},H=function(e){var t;null==h||null===(t=h.blur)||void 0===t||t.call(h,e)},J=function(e){if(!h.disabled&&!h.readOnly&&!(e.altKey||e.ctrlKey||e.metaKey))switch(e.code){case"ArrowLeft":U(e),e.preventDefault();break;case"ArrowRight":M(e),e.preventDefault();break;case"Backspace":var t;0===(null===(t=e.target)||void 0===t||null===(t=t.value)||void 0===t?void 0:t.length)&&(U(e),e.preventDefault());break;case"ArrowUp":case"ArrowDown":e.preventDefault();break;case"Tab":case"Enter":break;default:(null!=h&&h.integerOnly&&!(Number(e.key)>=0&&Number(e.key)<=9)||k.join("").length>=h.length&&"Delete"!==e.code)&&e.preventDefault()}};a.useUpdateEffect((function(){var e,t,n=h.value?null===(e=h.value)||void 0===e||null===(e=e.toString())||void 0===e||null===(t=e.split)||void 0===t?void 0:t.call(e,""):new Array(h.length);N(n)}),[h.value]);var V=v({className:E("root"),ref:f,style:null==h?void 0:h.style},S("root"));return u.default.createElement("div",V,function e(t){if(t<=0)return[];var r=h.length-t,a={onInput:function(e){return K(e,r)},onKeyDown:J,onFocus:L,onBlur:H,onPaste:F},o=v({id:r,key:r,value:k[r]||"",inputMode:null!=h&&h.integerOnly?"numeric":"text",type:null!=h&&h.mask?"password":"text",variant:null==h?void 0:h.variant,readOnly:null==h?void 0:h.readOnly,disabled:null==h?void 0:h.disabled,invalid:null==h?void 0:h.invalid,tabIndex:null==h?void 0:h.tabIndex,unstyled:null==h?void 0:h.unstyled,"aria-label":n.ariaLabel("otpLabel",{0:r+1}),className:E("input")},S("input"));return[null!=h&&h.inputTemplate?i.ObjectUtils.getJSXElement(null==h?void 0:h.inputTemplate,{events:a,props:o}):u.default.createElement(l.InputText,c({},o,a))].concat(y(e(t-1)))}(h.length))})));return E.displayName="InputOtp",e.InputOtp=E,Object.defineProperty(e,"__esModule",{value:!0}),e}({},React,primereact.api,primereact.componentbase,primereact.hooks,primereact.inputtext,primereact.utils);
1
+ this.primereact=this.primereact||{},this.primereact.inputotp=function(e,t,n,r,a,l,i){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=o(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,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e){if(Array.isArray(e))return s(e)}function f(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function d(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function v(){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 y(e){return p(e)||f(e)||d(e)||v()}function b(e){if(Array.isArray(e))return e}function m(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,l,i,o=[],u=!0,c=!1;try{if(l=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=l.call(n)).done)&&(o.push(r.value),o.length!==t);u=!0);}catch(e){c=!0,a=e}finally{try{if(!u&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return o}}function g(){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 O(e){return O="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},O(e)}function h(e,t){if("object"!==O(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==O(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function w(e){var t=h(e,"string");return"symbol"===O(t)?t:String(t)}var j=r.ComponentBase.extend({defaultProps:{__TYPE:"InputOtp",__parentMetadata:null,className:null,modelValue:!1,invalid:!1,disabled:!1,readOnly:!1,variant:null,tabIndex:null,length:4,mask:!1,integerOnly:!1},css:{classes:{root:"p-inputotp p-component",input:"p-inputotp-input"}}});function S(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 P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){var r,a,l;r=e,l=n[t],(a=w(a=t))in r?Object.defineProperty(r,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):r[a]=l})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E=u.default.memo(u.default.forwardRef((function(e,o){var s,p,f=t.useRef(o),v=a.useMergeProps(),O=t.useContext(n.PrimeReactContext),h=j.getProps(e,O),w=j.setMetaData(P(P({props:h},h.__parentMetadata),{},{context:{disabled:h.disabled}})),S=w.ptm,E=w.cx;r.useHandleStyle(j.css.styles,w.isUnstyled,{name:"inputotp"});var x,A,D=h.value?null===(s=h.value)||void 0===s||null===(s=s.toString())||void 0===s||null===(p=s.split)||void 0===p?void 0:p.call(s,""):new Array(h.length),I=t.useState(D),T=(A=2,b(x=I)||m(x,A)||d(x,A)||g()),k=T[0],N=T[1],_=function e(t){var n=t.nextElementSibling;if(n)return"INPUT"===n.nodeName?n:e(n)},C=function e(t){var n=t.previousElementSibling;if(n)return"INPUT"===n.nodeName?n:e(n)},M=function(e){var t=_(e.target);t&&(t.focus(),t.select())},U=function(e){var t=C(e.target);t&&(t.focus(),t.select())},R=function(e,t){var n;null==h||null===(n=h.onChange)||void 0===n||n.call(h,{originalEvent:e,value:t.join("")})},B=function(e,t){var n=e.target.value,r=y(k);r[t]=n,r=(r=r.join(""))?r.split(""):new Array(h.length),N(r),R(e,r)},K=function(e,t){h.disabled||h.readOnly||"insertFromPaste"!==e.nativeEvent.inputType&&(B(e,t),"deleteContentBackward"===e.nativeEvent.inputType?U(e):"insertText"!==e.nativeEvent.inputType&&"deleteContentForward"!==e.nativeEvent.inputType||M(e))},F=function(e){if(!h.disabled&&!h.readOnly){var t=e.clipboardData.getData("text");if(t.length){var n=t.substring(0,h.length+1);if(!h.integerOnly||!isNaN(n)){var r=n.split("");N(r),R(e,r)}}}},L=function(e){var t;e.target.select(),null==h||null===(t=h.focus)||void 0===t||t.call(h,e)},H=function(e){var t;null==h||null===(t=h.blur)||void 0===t||t.call(h,e)},J=function(e){if(!h.disabled&&!h.readOnly&&!(e.altKey||e.ctrlKey||e.metaKey))switch(e.code){case"ArrowLeft":U(e),e.preventDefault();break;case"ArrowRight":M(e),e.preventDefault();break;case"Backspace":var t;0===(null===(t=e.target)||void 0===t||null===(t=t.value)||void 0===t?void 0:t.length)&&(U(e),e.preventDefault());break;case"ArrowUp":case"ArrowDown":e.preventDefault();break;case"Tab":case"Enter":break;default:(null!=h&&h.integerOnly&&!(Number(e.key)>=0&&Number(e.key)<=9)||k.join("").length>=h.length&&"Delete"!==e.code)&&e.preventDefault()}};a.useUpdateEffect((function(){var e,t,n=h.value?null===(e=h.value)||void 0===e||null===(e=e.toString())||void 0===e||null===(t=e.split)||void 0===t?void 0:t.call(e,""):new Array(h.length);N(n)}),[h.value]);var V=v({className:E("root"),ref:f,style:null==h?void 0:h.style},S("root"));return u.default.createElement("div",V,function e(t){if(t<=0)return[];var r=h.length-t,a={onInput:function(e){return K(e,r)},onKeyDown:J,onFocus:L,onBlur:H,onPaste:F},o={id:r,key:r,value:k[r]||"",inputMode:null!=h&&h.integerOnly?"numeric":"text",type:null!=h&&h.mask?"password":"text",variant:null==h?void 0:h.variant,readOnly:null==h?void 0:h.readOnly,disabled:null==h?void 0:h.disabled,invalid:null==h?void 0:h.invalid,tabIndex:null==h?void 0:h.tabIndex,unstyled:null==h?void 0:h.unstyled,"aria-label":n.ariaLabel("otpLabel",{0:r+1}),className:E("input"),pt:S("input")};return[null!=h&&h.inputTemplate?i.ObjectUtils.getJSXElement(null==h?void 0:h.inputTemplate,{events:a,props:o}):u.default.createElement(l.InputText,c({},o,a))].concat(y(e(t-1)))}(h.length))})));return E.displayName="InputOtp",e.InputOtp=E,Object.defineProperty(e,"__esModule",{value:!0}),e}({},React,primereact.api,primereact.componentbase,primereact.hooks,primereact.inputtext,primereact.utils);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "primereact",
3
- "version": "10.8.0",
3
+ "version": "10.8.2",
4
4
  "private": false,
5
5
  "author": "PrimeTek Informatics",
6
6
  "description": "PrimeReact is an open source UI library for React featuring a rich set of 90+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBlock, which has 370+ ready to use UI blocks to build spectacular applications in no time.",
@@ -8181,11 +8181,15 @@ var AutoComplete = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__names
8181
8181
  };
8182
8182
  var onOverlayEntering = function onOverlayEntering() {
8183
8183
  if (props.autoHighlight && props.suggestions && props.suggestions.length) {
8184
- var element = getScrollableElement().firstChild.firstChild;
8185
- if (element) {
8186
- !isUnstyled() && DomHandler.addClass(element, 'p-highlight');
8187
- element.setAttribute('data-p-highlight', true);
8188
- }
8184
+ autoHighlightFirstOption();
8185
+ }
8186
+ };
8187
+ var autoHighlightFirstOption = function autoHighlightFirstOption() {
8188
+ var _getScrollableElement;
8189
+ var element = (_getScrollableElement = getScrollableElement()) === null || _getScrollableElement === void 0 || (_getScrollableElement = _getScrollableElement.firstChild) === null || _getScrollableElement === void 0 ? void 0 : _getScrollableElement.firstChild;
8190
+ if (element) {
8191
+ !isUnstyled() && DomHandler.addClass(element, 'p-highlight');
8192
+ element.setAttribute('data-p-highlight', true);
8189
8193
  }
8190
8194
  };
8191
8195
  var onOverlayEntered = function onOverlayEntered() {
@@ -8389,7 +8393,8 @@ var AutoComplete = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__names
8389
8393
  }) : false;
8390
8394
  };
8391
8395
  var getScrollableElement = function getScrollableElement() {
8392
- return overlayRef.current.firstChild;
8396
+ var _overlayRef$current;
8397
+ return overlayRef === null || overlayRef === void 0 || (_overlayRef$current = overlayRef.current) === null || _overlayRef$current === void 0 ? void 0 : _overlayRef$current.firstChild;
8393
8398
  };
8394
8399
  var getOptionGroupLabel = function getOptionGroupLabel(optionGroup) {
8395
8400
  return props.optionGroupLabel ? ObjectUtils.resolveFieldData(optionGroup, props.optionGroupLabel) : optionGroup;
@@ -8412,6 +8417,11 @@ var AutoComplete = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__names
8412
8417
  }
8413
8418
  alignOverlay();
8414
8419
  });
8420
+ useUpdateEffect(function () {
8421
+ if (searchingState && props.autoHighlight && props.suggestions && props.suggestions.length) {
8422
+ autoHighlightFirstOption();
8423
+ }
8424
+ }, [searchingState]);
8415
8425
  useUpdateEffect(function () {
8416
8426
  if (searchingState) {
8417
8427
  ObjectUtils.isNotEmpty(props.suggestions) || props.showEmptyMessage ? show() : hide();
@@ -9544,7 +9554,6 @@ var Calendar = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace
9544
9554
  _React$useState8 = _slicedToArray(_React$useState7, 2),
9545
9555
  idState = _React$useState8[0],
9546
9556
  setIdState = _React$useState8[1];
9547
- var isTypingRef = React__namespace.useRef(false);
9548
9557
  var metaData = {
9549
9558
  props: props,
9550
9559
  state: {
@@ -9672,7 +9681,6 @@ var Calendar = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace
9672
9681
  try {
9673
9682
  var value = parseValueFromString(props.timeOnly ? rawValue.replace('_', '') : rawValue);
9674
9683
  if (isValidSelection(value)) {
9675
- isTypingRef.current = true;
9676
9684
  updateModel(event, value);
9677
9685
  updateViewDate(event, value.length ? value[0] : value);
9678
9686
  }
@@ -12151,8 +12159,10 @@ var Calendar = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace
12151
12159
  viewChangedWithKeyDown.current = false;
12152
12160
  }, [props.view]);
12153
12161
  useUpdateEffect(function () {
12154
- focusToFirstCell();
12155
- }, [currentView]);
12162
+ if (visible && !props.inline) {
12163
+ focusToFirstCell();
12164
+ }
12165
+ }, [visible, currentView, props.inline]);
12156
12166
  useUpdateEffect(function () {
12157
12167
  if (!props.onViewDateChange && !viewStateChanged.current) {
12158
12168
  setValue(props.value);
@@ -12172,10 +12182,12 @@ var Calendar = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace
12172
12182
  useUpdateEffect(function () {
12173
12183
  var newDate = props.value;
12174
12184
  if (previousValue !== newDate) {
12175
- if (!isTypingRef.current) {
12185
+ var isInputFocused = document.activeElement === inputRef.current;
12186
+
12187
+ // Do not update value in input if user types something in it:
12188
+ if (!isInputFocused) {
12176
12189
  updateInputfield(newDate);
12177
12190
  }
12178
- isTypingRef.current = false;
12179
12191
 
12180
12192
  // #3516 view date not updated when value set programatically
12181
12193
  if (!newDate) return;
@@ -19956,8 +19968,7 @@ var InputNumber = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namesp
19956
19968
  cx = _InputNumberBase$setM.cx,
19957
19969
  isUnstyled = _InputNumberBase$setM.isUnstyled;
19958
19970
  useHandleStyle(InputNumberBase.css.styles, isUnstyled, {
19959
- name: 'inputnumber',
19960
- styled: true
19971
+ name: 'inputnumber'
19961
19972
  });
19962
19973
  var elementRef = React__namespace.useRef(null);
19963
19974
  var inputRef = React__namespace.useRef(null);
@@ -23717,7 +23728,7 @@ var RowCheckbox = /*#__PURE__*/React__namespace.memo(function (props) {
23717
23728
  props: props
23718
23729
  });
23719
23730
  var tabIndex = props.disabled ? null : '0';
23720
- var checkboxProps = mergeProps({
23731
+ var checkboxProps = {
23721
23732
  role: 'checkbox',
23722
23733
  'aria-checked': props.checked,
23723
23734
  tabIndex: tabIndex,
@@ -23726,8 +23737,9 @@ var RowCheckbox = /*#__PURE__*/React__namespace.memo(function (props) {
23726
23737
  checked: props.checked,
23727
23738
  icon: checkIcon,
23728
23739
  disabled: props.disabled,
23740
+ unstyled: props.unstyled,
23729
23741
  pt: getColumnPTOptions('rowCheckbox')
23730
- });
23742
+ };
23731
23743
  return /*#__PURE__*/React__namespace.createElement(Checkbox, checkboxProps);
23732
23744
  });
23733
23745
  RowCheckbox.displayName = 'RowCheckbox';
@@ -23956,7 +23968,7 @@ var RowRadioButton = /*#__PURE__*/React__namespace.memo(function (props) {
23956
23968
  props.onChange(event);
23957
23969
  }
23958
23970
  };
23959
- var radioButtonProps = mergeProps({
23971
+ var radioButtonProps = {
23960
23972
  role: 'radio',
23961
23973
  'aria-checked': props.checked,
23962
23974
  checked: props.checked,
@@ -23965,7 +23977,7 @@ var RowRadioButton = /*#__PURE__*/React__namespace.memo(function (props) {
23965
23977
  onChange: onChange,
23966
23978
  unstyled: props.unstyled,
23967
23979
  pt: getColumnPTOptions('rowRadioButton')
23968
- });
23980
+ };
23969
23981
  return /*#__PURE__*/React__namespace.createElement(RadioButton, radioButtonProps);
23970
23982
  });
23971
23983
  RowRadioButton.displayName = 'RowRadioButton';
@@ -25256,8 +25268,8 @@ var RowTogglerButton = /*#__PURE__*/React__namespace.memo(function (props) {
25256
25268
  var _props$ptCallbacks = props.ptCallbacks,
25257
25269
  ptm = _props$ptCallbacks.ptm,
25258
25270
  ptmo = _props$ptCallbacks.ptmo,
25259
- cx = _props$ptCallbacks.cx,
25260
- isUnstyled = _props$ptCallbacks.isUnstyled;
25271
+ cx = _props$ptCallbacks.cx;
25272
+ _props$ptCallbacks.isUnstyled;
25261
25273
  var _onClick = function onClick(event) {
25262
25274
  props.onClick({
25263
25275
  originalEvent: event,
@@ -25280,8 +25292,7 @@ var RowTogglerButton = /*#__PURE__*/React__namespace.memo(function (props) {
25280
25292
  };
25281
25293
  var rowGroupTogglerIconProps = mergeProps({
25282
25294
  className: cx('rowGroupTogglerIcon'),
25283
- 'aria-hidden': true,
25284
- unstyled: isUnstyled()
25295
+ 'aria-hidden': true
25285
25296
  }, ptm('rowGroupTogglerIcon'), getColumnPTOptions('rowGroupTogglerIcon'));
25286
25297
  var icon = props.expanded ? props.expandedRowIcon || /*#__PURE__*/React__namespace.createElement(ChevronDownIcon, rowGroupTogglerIconProps) : props.collapsedRowIcon || /*#__PURE__*/React__namespace.createElement(ChevronRightIcon, rowGroupTogglerIconProps);
25287
25298
  var togglerIcon = IconUtils.getJSXIcon(icon, _objectSpread$1e({}, rowGroupTogglerIconProps), {
@@ -25295,8 +25306,7 @@ var RowTogglerButton = /*#__PURE__*/React__namespace.memo(function (props) {
25295
25306
  },
25296
25307
  className: cx('rowGroupToggler'),
25297
25308
  tabIndex: props.tabIndex,
25298
- 'aria-label': label,
25299
- unstyled: isUnstyled()
25309
+ 'aria-label': label
25300
25310
  }, ptm('rowGroupToggler'), getColumnPTOptions('rowGroupToggler'));
25301
25311
  return /*#__PURE__*/React__namespace.createElement("button", rowGroupTogglerProps, togglerIcon, /*#__PURE__*/React__namespace.createElement(Ripple, null));
25302
25312
  });
@@ -25630,32 +25640,20 @@ var TableBody = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespac
25630
25640
  var selectRange = function selectRange(event) {
25631
25641
  var rangeStart;
25632
25642
  var rangeEnd;
25633
- var selectedSize;
25634
25643
  var isAllowCellSelection = allowCellSelection();
25635
- var index = ObjectUtils.findIndexInList(event.data, props.value, props.dataKey);
25636
25644
  if (rangeRowIndex.current > anchorRowIndex.current) {
25637
25645
  rangeStart = anchorRowIndex.current;
25638
25646
  rangeEnd = rangeRowIndex.current;
25639
- if (!isAllowCellSelection) {
25640
- selectedSize = rangeEnd - rangeStart;
25641
- rangeEnd = index;
25642
- rangeStart = index - selectedSize;
25643
- }
25644
25647
  } else if (rangeRowIndex.current < anchorRowIndex.current) {
25645
25648
  rangeStart = rangeRowIndex.current;
25646
25649
  rangeEnd = anchorRowIndex.current;
25647
- if (!isAllowCellSelection) {
25648
- selectedSize = rangeEnd - rangeStart;
25649
- rangeStart = index;
25650
- rangeEnd = index + selectedSize;
25651
- }
25652
25650
  } else {
25653
25651
  rangeStart = rangeEnd = rangeRowIndex.current;
25654
25652
  }
25655
25653
  return isAllowCellSelection ? selectRangeOnCell(event, rangeStart, rangeEnd) : selectRangeOnRow(event, rangeStart, rangeEnd);
25656
25654
  };
25657
25655
  var selectRangeOnRow = function selectRangeOnRow(event, rowRangeStart, rowRangeEnd) {
25658
- var value = props.value;
25656
+ var value = props.tableProps.value;
25659
25657
  var selection = [];
25660
25658
  for (var i = rowRangeStart; i <= rowRangeEnd; i++) {
25661
25659
  var rangeRowData = value[i];
@@ -27572,7 +27570,7 @@ var HeaderCheckbox = /*#__PURE__*/React__namespace.memo(function (props) {
27572
27570
  props: props
27573
27571
  });
27574
27572
  var tabIndex = props.disabled ? null : 0;
27575
- var headerCheckboxProps = mergeProps({
27573
+ var headerCheckboxProps = {
27576
27574
  role: 'checkbox',
27577
27575
  'aria-checked': props.checked,
27578
27576
  'aria-label': props.checked ? ariaLabel('selectAll') : ariaLabel('unselectAll'),
@@ -27580,8 +27578,10 @@ var HeaderCheckbox = /*#__PURE__*/React__namespace.memo(function (props) {
27580
27578
  onChange: onChange,
27581
27579
  icon: checkIcon,
27582
27580
  checked: props.checked,
27583
- disabled: props.disabled
27584
- }, getColumnPTOptions('headerCheckbox'));
27581
+ disabled: props.disabled,
27582
+ unstyled: props.unstyled,
27583
+ pt: getColumnPTOptions('headerCheckbox')
27584
+ };
27585
27585
  return /*#__PURE__*/React__namespace.createElement(Checkbox, headerCheckboxProps);
27586
27586
  });
27587
27587
  HeaderCheckbox.displayName = 'HeaderCheckbox';
@@ -28185,10 +28185,11 @@ var TableHeader = /*#__PURE__*/React__namespace.memo(function (props) {
28185
28185
  className: classNames(filterHeaderClassName, className, cx('headerCell', {
28186
28186
  frozen: frozen,
28187
28187
  column: col
28188
- })),
28189
- key: colKey
28188
+ }))
28190
28189
  }, getColumnPTOptions(col, 'root'), getColumnPTOptions(col, 'headerCell'));
28191
- return /*#__PURE__*/React__namespace.createElement("th", headerCellProps, checkbox, filterRow);
28190
+ return /*#__PURE__*/React__namespace.createElement("th", _extends({
28191
+ key: colKey
28192
+ }, headerCellProps), checkbox, filterRow);
28192
28193
  }
28193
28194
  return null;
28194
28195
  });
@@ -31111,11 +31112,13 @@ var Editor = /*#__PURE__*/React__namespace.memo( /*#__PURE__*/React__namespace.f
31111
31112
  });
31112
31113
  }
31113
31114
  };
31115
+ var initValue = React.useRef(props.value);
31116
+ initValue.current = props.value;
31114
31117
  var initQuill = function initQuill(quillInstance) {
31115
31118
  quill.current = quillInstance;
31116
- if (props.value) {
31119
+ if (initValue.current) {
31117
31120
  quillInstance.setContents(quillInstance.clipboard.convert({
31118
- html: props.value,
31121
+ html: initValue.current,
31119
31122
  text: ''
31120
31123
  }));
31121
31124
  }
@@ -52382,7 +52385,8 @@ var StepperBase = ComponentBase.extend({
52382
52385
  __TYPE: 'Stepper',
52383
52386
  activeStep: 0,
52384
52387
  orientation: 'horizontal',
52385
- linear: false
52388
+ linear: false,
52389
+ onChangeStep: null
52386
52390
  },
52387
52391
  css: {
52388
52392
  classes: classes$b,
@@ -55903,17 +55907,15 @@ var UITreeNode = /*#__PURE__*/React__namespace.memo(function (props) {
55903
55907
  };
55904
55908
  var onDropPoint = function onDropPoint(event, position) {
55905
55909
  event.preventDefault();
55906
- if (props.node.droppable !== false) {
55907
- DomHandler.removeClass(event.target, 'p-treenode-droppoint-active');
55908
- if (props.onDropPoint) {
55909
- var dropIndex = position === -1 ? props.index : props.index + 1;
55910
- props.onDropPoint({
55911
- originalEvent: event,
55912
- path: props.path,
55913
- index: dropIndex,
55914
- position: position
55915
- });
55916
- }
55910
+ DomHandler.removeClass(event.target, 'p-treenode-droppoint-active');
55911
+ if (props.onDropPoint) {
55912
+ var dropIndex = position === -1 ? props.index : props.index + 1;
55913
+ props.onDropPoint({
55914
+ originalEvent: event,
55915
+ path: props.path,
55916
+ index: dropIndex,
55917
+ position: position
55918
+ });
55917
55919
  }
55918
55920
  };
55919
55921
  var onDropPointDragOver = function onDropPointDragOver(event) {
@@ -56194,7 +56196,7 @@ var UITreeNode = /*#__PURE__*/React__namespace.memo(function (props) {
56194
56196
  return /*#__PURE__*/React__namespace.createElement("li", nodeProps, content, children);
56195
56197
  };
56196
56198
  var node = createNode();
56197
- if (props.dragdropScope && !props.disabled) {
56199
+ if (props.dragdropScope && !props.disabled && props.node.droppable) {
56198
56200
  var beforeDropPoint = createDropPoint(-1);
56199
56201
  var afterDropPoint = props.last ? createDropPoint(1) : null;
56200
56202
  return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, beforeDropPoint, node, afterDropPoint);