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
package/primereact.all.js CHANGED
@@ -8175,11 +8175,15 @@ var primereact = (function (exports, React, reactTransitionGroup, ReactDOM) {
8175
8175
  };
8176
8176
  var onOverlayEntering = function onOverlayEntering() {
8177
8177
  if (props.autoHighlight && props.suggestions && props.suggestions.length) {
8178
- var element = getScrollableElement().firstChild.firstChild;
8179
- if (element) {
8180
- !isUnstyled() && DomHandler.addClass(element, 'p-highlight');
8181
- element.setAttribute('data-p-highlight', true);
8182
- }
8178
+ autoHighlightFirstOption();
8179
+ }
8180
+ };
8181
+ var autoHighlightFirstOption = function autoHighlightFirstOption() {
8182
+ var _getScrollableElement;
8183
+ var element = (_getScrollableElement = getScrollableElement()) === null || _getScrollableElement === void 0 || (_getScrollableElement = _getScrollableElement.firstChild) === null || _getScrollableElement === void 0 ? void 0 : _getScrollableElement.firstChild;
8184
+ if (element) {
8185
+ !isUnstyled() && DomHandler.addClass(element, 'p-highlight');
8186
+ element.setAttribute('data-p-highlight', true);
8183
8187
  }
8184
8188
  };
8185
8189
  var onOverlayEntered = function onOverlayEntered() {
@@ -8383,7 +8387,8 @@ var primereact = (function (exports, React, reactTransitionGroup, ReactDOM) {
8383
8387
  }) : false;
8384
8388
  };
8385
8389
  var getScrollableElement = function getScrollableElement() {
8386
- return overlayRef.current.firstChild;
8390
+ var _overlayRef$current;
8391
+ return overlayRef === null || overlayRef === void 0 || (_overlayRef$current = overlayRef.current) === null || _overlayRef$current === void 0 ? void 0 : _overlayRef$current.firstChild;
8387
8392
  };
8388
8393
  var getOptionGroupLabel = function getOptionGroupLabel(optionGroup) {
8389
8394
  return props.optionGroupLabel ? ObjectUtils.resolveFieldData(optionGroup, props.optionGroupLabel) : optionGroup;
@@ -8406,6 +8411,11 @@ var primereact = (function (exports, React, reactTransitionGroup, ReactDOM) {
8406
8411
  }
8407
8412
  alignOverlay();
8408
8413
  });
8414
+ useUpdateEffect(function () {
8415
+ if (searchingState && props.autoHighlight && props.suggestions && props.suggestions.length) {
8416
+ autoHighlightFirstOption();
8417
+ }
8418
+ }, [searchingState]);
8409
8419
  useUpdateEffect(function () {
8410
8420
  if (searchingState) {
8411
8421
  ObjectUtils.isNotEmpty(props.suggestions) || props.showEmptyMessage ? show() : hide();
@@ -9538,7 +9548,6 @@ var primereact = (function (exports, React, reactTransitionGroup, ReactDOM) {
9538
9548
  _React$useState8 = _slicedToArray(_React$useState7, 2),
9539
9549
  idState = _React$useState8[0],
9540
9550
  setIdState = _React$useState8[1];
9541
- var isTypingRef = React__namespace.useRef(false);
9542
9551
  var metaData = {
9543
9552
  props: props,
9544
9553
  state: {
@@ -9666,7 +9675,6 @@ var primereact = (function (exports, React, reactTransitionGroup, ReactDOM) {
9666
9675
  try {
9667
9676
  var value = parseValueFromString(props.timeOnly ? rawValue.replace('_', '') : rawValue);
9668
9677
  if (isValidSelection(value)) {
9669
- isTypingRef.current = true;
9670
9678
  updateModel(event, value);
9671
9679
  updateViewDate(event, value.length ? value[0] : value);
9672
9680
  }
@@ -12145,8 +12153,10 @@ var primereact = (function (exports, React, reactTransitionGroup, ReactDOM) {
12145
12153
  viewChangedWithKeyDown.current = false;
12146
12154
  }, [props.view]);
12147
12155
  useUpdateEffect(function () {
12148
- focusToFirstCell();
12149
- }, [currentView]);
12156
+ if (visible && !props.inline) {
12157
+ focusToFirstCell();
12158
+ }
12159
+ }, [visible, currentView, props.inline]);
12150
12160
  useUpdateEffect(function () {
12151
12161
  if (!props.onViewDateChange && !viewStateChanged.current) {
12152
12162
  setValue(props.value);
@@ -12166,10 +12176,12 @@ var primereact = (function (exports, React, reactTransitionGroup, ReactDOM) {
12166
12176
  useUpdateEffect(function () {
12167
12177
  var newDate = props.value;
12168
12178
  if (previousValue !== newDate) {
12169
- if (!isTypingRef.current) {
12179
+ var isInputFocused = document.activeElement === inputRef.current;
12180
+
12181
+ // Do not update value in input if user types something in it:
12182
+ if (!isInputFocused) {
12170
12183
  updateInputfield(newDate);
12171
12184
  }
12172
- isTypingRef.current = false;
12173
12185
 
12174
12186
  // #3516 view date not updated when value set programatically
12175
12187
  if (!newDate) return;
@@ -19950,8 +19962,7 @@ var primereact = (function (exports, React, reactTransitionGroup, ReactDOM) {
19950
19962
  cx = _InputNumberBase$setM.cx,
19951
19963
  isUnstyled = _InputNumberBase$setM.isUnstyled;
19952
19964
  useHandleStyle(InputNumberBase.css.styles, isUnstyled, {
19953
- name: 'inputnumber',
19954
- styled: true
19965
+ name: 'inputnumber'
19955
19966
  });
19956
19967
  var elementRef = React__namespace.useRef(null);
19957
19968
  var inputRef = React__namespace.useRef(null);
@@ -23711,7 +23722,7 @@ var primereact = (function (exports, React, reactTransitionGroup, ReactDOM) {
23711
23722
  props: props
23712
23723
  });
23713
23724
  var tabIndex = props.disabled ? null : '0';
23714
- var checkboxProps = mergeProps({
23725
+ var checkboxProps = {
23715
23726
  role: 'checkbox',
23716
23727
  'aria-checked': props.checked,
23717
23728
  tabIndex: tabIndex,
@@ -23720,8 +23731,9 @@ var primereact = (function (exports, React, reactTransitionGroup, ReactDOM) {
23720
23731
  checked: props.checked,
23721
23732
  icon: checkIcon,
23722
23733
  disabled: props.disabled,
23734
+ unstyled: props.unstyled,
23723
23735
  pt: getColumnPTOptions('rowCheckbox')
23724
- });
23736
+ };
23725
23737
  return /*#__PURE__*/React__namespace.createElement(Checkbox, checkboxProps);
23726
23738
  });
23727
23739
  RowCheckbox.displayName = 'RowCheckbox';
@@ -23950,7 +23962,7 @@ var primereact = (function (exports, React, reactTransitionGroup, ReactDOM) {
23950
23962
  props.onChange(event);
23951
23963
  }
23952
23964
  };
23953
- var radioButtonProps = mergeProps({
23965
+ var radioButtonProps = {
23954
23966
  role: 'radio',
23955
23967
  'aria-checked': props.checked,
23956
23968
  checked: props.checked,
@@ -23959,7 +23971,7 @@ var primereact = (function (exports, React, reactTransitionGroup, ReactDOM) {
23959
23971
  onChange: onChange,
23960
23972
  unstyled: props.unstyled,
23961
23973
  pt: getColumnPTOptions('rowRadioButton')
23962
- });
23974
+ };
23963
23975
  return /*#__PURE__*/React__namespace.createElement(RadioButton, radioButtonProps);
23964
23976
  });
23965
23977
  RowRadioButton.displayName = 'RowRadioButton';
@@ -25250,8 +25262,8 @@ var primereact = (function (exports, React, reactTransitionGroup, ReactDOM) {
25250
25262
  var _props$ptCallbacks = props.ptCallbacks,
25251
25263
  ptm = _props$ptCallbacks.ptm,
25252
25264
  ptmo = _props$ptCallbacks.ptmo,
25253
- cx = _props$ptCallbacks.cx,
25254
- isUnstyled = _props$ptCallbacks.isUnstyled;
25265
+ cx = _props$ptCallbacks.cx;
25266
+ _props$ptCallbacks.isUnstyled;
25255
25267
  var _onClick = function onClick(event) {
25256
25268
  props.onClick({
25257
25269
  originalEvent: event,
@@ -25274,8 +25286,7 @@ var primereact = (function (exports, React, reactTransitionGroup, ReactDOM) {
25274
25286
  };
25275
25287
  var rowGroupTogglerIconProps = mergeProps({
25276
25288
  className: cx('rowGroupTogglerIcon'),
25277
- 'aria-hidden': true,
25278
- unstyled: isUnstyled()
25289
+ 'aria-hidden': true
25279
25290
  }, ptm('rowGroupTogglerIcon'), getColumnPTOptions('rowGroupTogglerIcon'));
25280
25291
  var icon = props.expanded ? props.expandedRowIcon || /*#__PURE__*/React__namespace.createElement(ChevronDownIcon, rowGroupTogglerIconProps) : props.collapsedRowIcon || /*#__PURE__*/React__namespace.createElement(ChevronRightIcon, rowGroupTogglerIconProps);
25281
25292
  var togglerIcon = IconUtils.getJSXIcon(icon, _objectSpread$1e({}, rowGroupTogglerIconProps), {
@@ -25289,8 +25300,7 @@ var primereact = (function (exports, React, reactTransitionGroup, ReactDOM) {
25289
25300
  },
25290
25301
  className: cx('rowGroupToggler'),
25291
25302
  tabIndex: props.tabIndex,
25292
- 'aria-label': label,
25293
- unstyled: isUnstyled()
25303
+ 'aria-label': label
25294
25304
  }, ptm('rowGroupToggler'), getColumnPTOptions('rowGroupToggler'));
25295
25305
  return /*#__PURE__*/React__namespace.createElement("button", rowGroupTogglerProps, togglerIcon, /*#__PURE__*/React__namespace.createElement(Ripple, null));
25296
25306
  });
@@ -25624,32 +25634,20 @@ var primereact = (function (exports, React, reactTransitionGroup, ReactDOM) {
25624
25634
  var selectRange = function selectRange(event) {
25625
25635
  var rangeStart;
25626
25636
  var rangeEnd;
25627
- var selectedSize;
25628
25637
  var isAllowCellSelection = allowCellSelection();
25629
- var index = ObjectUtils.findIndexInList(event.data, props.value, props.dataKey);
25630
25638
  if (rangeRowIndex.current > anchorRowIndex.current) {
25631
25639
  rangeStart = anchorRowIndex.current;
25632
25640
  rangeEnd = rangeRowIndex.current;
25633
- if (!isAllowCellSelection) {
25634
- selectedSize = rangeEnd - rangeStart;
25635
- rangeEnd = index;
25636
- rangeStart = index - selectedSize;
25637
- }
25638
25641
  } else if (rangeRowIndex.current < anchorRowIndex.current) {
25639
25642
  rangeStart = rangeRowIndex.current;
25640
25643
  rangeEnd = anchorRowIndex.current;
25641
- if (!isAllowCellSelection) {
25642
- selectedSize = rangeEnd - rangeStart;
25643
- rangeStart = index;
25644
- rangeEnd = index + selectedSize;
25645
- }
25646
25644
  } else {
25647
25645
  rangeStart = rangeEnd = rangeRowIndex.current;
25648
25646
  }
25649
25647
  return isAllowCellSelection ? selectRangeOnCell(event, rangeStart, rangeEnd) : selectRangeOnRow(event, rangeStart, rangeEnd);
25650
25648
  };
25651
25649
  var selectRangeOnRow = function selectRangeOnRow(event, rowRangeStart, rowRangeEnd) {
25652
- var value = props.value;
25650
+ var value = props.tableProps.value;
25653
25651
  var selection = [];
25654
25652
  for (var i = rowRangeStart; i <= rowRangeEnd; i++) {
25655
25653
  var rangeRowData = value[i];
@@ -27566,7 +27564,7 @@ var primereact = (function (exports, React, reactTransitionGroup, ReactDOM) {
27566
27564
  props: props
27567
27565
  });
27568
27566
  var tabIndex = props.disabled ? null : 0;
27569
- var headerCheckboxProps = mergeProps({
27567
+ var headerCheckboxProps = {
27570
27568
  role: 'checkbox',
27571
27569
  'aria-checked': props.checked,
27572
27570
  'aria-label': props.checked ? ariaLabel('selectAll') : ariaLabel('unselectAll'),
@@ -27574,8 +27572,10 @@ var primereact = (function (exports, React, reactTransitionGroup, ReactDOM) {
27574
27572
  onChange: onChange,
27575
27573
  icon: checkIcon,
27576
27574
  checked: props.checked,
27577
- disabled: props.disabled
27578
- }, getColumnPTOptions('headerCheckbox'));
27575
+ disabled: props.disabled,
27576
+ unstyled: props.unstyled,
27577
+ pt: getColumnPTOptions('headerCheckbox')
27578
+ };
27579
27579
  return /*#__PURE__*/React__namespace.createElement(Checkbox, headerCheckboxProps);
27580
27580
  });
27581
27581
  HeaderCheckbox.displayName = 'HeaderCheckbox';
@@ -28179,10 +28179,11 @@ var primereact = (function (exports, React, reactTransitionGroup, ReactDOM) {
28179
28179
  className: classNames(filterHeaderClassName, className, cx('headerCell', {
28180
28180
  frozen: frozen,
28181
28181
  column: col
28182
- })),
28183
- key: colKey
28182
+ }))
28184
28183
  }, getColumnPTOptions(col, 'root'), getColumnPTOptions(col, 'headerCell'));
28185
- return /*#__PURE__*/React__namespace.createElement("th", headerCellProps, checkbox, filterRow);
28184
+ return /*#__PURE__*/React__namespace.createElement("th", _extends({
28185
+ key: colKey
28186
+ }, headerCellProps), checkbox, filterRow);
28186
28187
  }
28187
28188
  return null;
28188
28189
  });
@@ -31105,11 +31106,13 @@ var primereact = (function (exports, React, reactTransitionGroup, ReactDOM) {
31105
31106
  });
31106
31107
  }
31107
31108
  };
31109
+ var initValue = React.useRef(props.value);
31110
+ initValue.current = props.value;
31108
31111
  var initQuill = function initQuill(quillInstance) {
31109
31112
  quill.current = quillInstance;
31110
- if (props.value) {
31113
+ if (initValue.current) {
31111
31114
  quillInstance.setContents(quillInstance.clipboard.convert({
31112
- html: props.value,
31115
+ html: initValue.current,
31113
31116
  text: ''
31114
31117
  }));
31115
31118
  }
@@ -52376,7 +52379,8 @@ var primereact = (function (exports, React, reactTransitionGroup, ReactDOM) {
52376
52379
  __TYPE: 'Stepper',
52377
52380
  activeStep: 0,
52378
52381
  orientation: 'horizontal',
52379
- linear: false
52382
+ linear: false,
52383
+ onChangeStep: null
52380
52384
  },
52381
52385
  css: {
52382
52386
  classes: classes$b,
@@ -55897,17 +55901,15 @@ var primereact = (function (exports, React, reactTransitionGroup, ReactDOM) {
55897
55901
  };
55898
55902
  var onDropPoint = function onDropPoint(event, position) {
55899
55903
  event.preventDefault();
55900
- if (props.node.droppable !== false) {
55901
- DomHandler.removeClass(event.target, 'p-treenode-droppoint-active');
55902
- if (props.onDropPoint) {
55903
- var dropIndex = position === -1 ? props.index : props.index + 1;
55904
- props.onDropPoint({
55905
- originalEvent: event,
55906
- path: props.path,
55907
- index: dropIndex,
55908
- position: position
55909
- });
55910
- }
55904
+ DomHandler.removeClass(event.target, 'p-treenode-droppoint-active');
55905
+ if (props.onDropPoint) {
55906
+ var dropIndex = position === -1 ? props.index : props.index + 1;
55907
+ props.onDropPoint({
55908
+ originalEvent: event,
55909
+ path: props.path,
55910
+ index: dropIndex,
55911
+ position: position
55912
+ });
55911
55913
  }
55912
55914
  };
55913
55915
  var onDropPointDragOver = function onDropPointDragOver(event) {
@@ -56188,7 +56190,7 @@ var primereact = (function (exports, React, reactTransitionGroup, ReactDOM) {
56188
56190
  return /*#__PURE__*/React__namespace.createElement("li", nodeProps, content, children);
56189
56191
  };
56190
56192
  var node = createNode();
56191
- if (props.dragdropScope && !props.disabled) {
56193
+ if (props.dragdropScope && !props.disabled && props.node.droppable) {
56192
56194
  var beforeDropPoint = createDropPoint(-1);
56193
56195
  var afterDropPoint = props.last ? createDropPoint(1) : null;
56194
56196
  return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, beforeDropPoint, node, afterDropPoint);