@commercetools/nimbus 0.0.0-canary-20250919154858 → 0.0.0-canary-20250922152719

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 (257) hide show
  1. package/dist/accordion.d.ts +2 -2
  2. package/dist/chunks/{accordion-CyaEB05t.es.js → accordion-CSSdv9jZ.es.js} +2 -2
  3. package/dist/chunks/{accordion-CyaEB05t.es.js.map → accordion-CSSdv9jZ.es.js.map} +1 -1
  4. package/dist/chunks/{accordion-CVM_3Y8u.cjs.js → accordion-xYvGyXy-.cjs.js} +2 -2
  5. package/dist/chunks/{accordion-CVM_3Y8u.cjs.js.map → accordion-xYvGyXy-.cjs.js.map} +1 -1
  6. package/dist/chunks/{alert-CQzbVGQM.es.js → alert-BRDuEo75.es.js} +2 -2
  7. package/dist/chunks/{alert-CQzbVGQM.es.js.map → alert-BRDuEo75.es.js.map} +1 -1
  8. package/dist/chunks/{alert-B1X_ycTY.cjs.js → alert-CWTCM8-i.cjs.js} +2 -2
  9. package/dist/chunks/{alert-B1X_ycTY.cjs.js.map → alert-CWTCM8-i.cjs.js.map} +1 -1
  10. package/dist/chunks/{button-DnZz51Rh.es.js → button-DRMpnb-1.es.js} +2 -2
  11. package/dist/chunks/{button-DnZz51Rh.es.js.map → button-DRMpnb-1.es.js.map} +1 -1
  12. package/dist/chunks/{button-RUSyHGQV.cjs.js → button-Dbf1b0F4.cjs.js} +2 -2
  13. package/dist/chunks/{button-RUSyHGQV.cjs.js.map → button-Dbf1b0F4.cjs.js.map} +1 -1
  14. package/dist/chunks/{calendar-DhN7hRLB.cjs.js → calendar-CrTvsDQH.cjs.js} +2 -2
  15. package/dist/chunks/{calendar-DhN7hRLB.cjs.js.map → calendar-CrTvsDQH.cjs.js.map} +1 -1
  16. package/dist/chunks/{calendar-CrxxYJd-.es.js → calendar-DnQnMOcs.es.js} +4 -4
  17. package/dist/chunks/{calendar-CrxxYJd-.es.js.map → calendar-DnQnMOcs.es.js.map} +1 -1
  18. package/dist/chunks/{checkbox-CAvlAkX5.cjs.js → checkbox-Bv0NXUyX.cjs.js} +2 -2
  19. package/dist/chunks/{checkbox-CAvlAkX5.cjs.js.map → checkbox-Bv0NXUyX.cjs.js.map} +1 -1
  20. package/dist/chunks/{checkbox-BxRZ9dqc.es.js → checkbox-CdSHDZgM.es.js} +2 -2
  21. package/dist/chunks/{checkbox-BxRZ9dqc.es.js.map → checkbox-CdSHDZgM.es.js.map} +1 -1
  22. package/dist/chunks/combobox-C9pPDZQn.cjs.js +2 -0
  23. package/dist/chunks/combobox-C9pPDZQn.cjs.js.map +1 -0
  24. package/dist/chunks/{combobox-Bjv3GWGo.es.js → combobox-Dmn2vxIz.es.js} +991 -970
  25. package/dist/chunks/combobox-Dmn2vxIz.es.js.map +1 -0
  26. package/dist/chunks/{data-table-9C4ViaHW.es.js → data-table-CBr4TLyH.es.js} +6 -6
  27. package/dist/chunks/{data-table-9C4ViaHW.es.js.map → data-table-CBr4TLyH.es.js.map} +1 -1
  28. package/dist/chunks/{data-table-BoRy4kuE.cjs.js → data-table-DIsDZ5JZ.cjs.js} +2 -2
  29. package/dist/chunks/{data-table-BoRy4kuE.cjs.js.map → data-table-DIsDZ5JZ.cjs.js.map} +1 -1
  30. package/dist/chunks/date-input-CoAPdZTG.es.js +21 -0
  31. package/dist/chunks/date-input-CoAPdZTG.es.js.map +1 -0
  32. package/dist/chunks/date-input-DYC1t1e-.cjs.js +2 -0
  33. package/dist/chunks/date-input-DYC1t1e-.cjs.js.map +1 -0
  34. package/dist/chunks/date-picker-BVrTKhZ_.es.js +219 -0
  35. package/dist/chunks/date-picker-BVrTKhZ_.es.js.map +1 -0
  36. package/dist/chunks/date-picker-_7Gh_ROw.cjs.js +2 -0
  37. package/dist/chunks/date-picker-_7Gh_ROw.cjs.js.map +1 -0
  38. package/dist/chunks/{date-range-picker-CsUWSzSC.es.js → date-range-picker-D55giMLZ.es.js} +88 -91
  39. package/dist/chunks/date-range-picker-D55giMLZ.es.js.map +1 -0
  40. package/dist/chunks/date-range-picker-D7pPpSEj.cjs.js +2 -0
  41. package/dist/chunks/date-range-picker-D7pPpSEj.cjs.js.map +1 -0
  42. package/dist/chunks/{extractStyleProps-dSQoSYg8.cjs.js → extractStyleProps-CgqRiEwd.cjs.js} +2 -2
  43. package/dist/chunks/{extractStyleProps-dSQoSYg8.cjs.js.map → extractStyleProps-CgqRiEwd.cjs.js.map} +1 -1
  44. package/dist/chunks/{extractStyleProps-lz7NzsNX.es.js → extractStyleProps-DkXeCUuq.es.js} +2 -2
  45. package/dist/chunks/{extractStyleProps-lz7NzsNX.es.js.map → extractStyleProps-DkXeCUuq.es.js.map} +1 -1
  46. package/dist/chunks/{form-field-CPPobl2Z.es.js → form-field-DMs36b56.es.js} +2 -2
  47. package/dist/chunks/{form-field-CPPobl2Z.es.js.map → form-field-DMs36b56.es.js.map} +1 -1
  48. package/dist/chunks/{form-field-BoGSJF6d.cjs.js → form-field-cwK6KNEG.cjs.js} +2 -2
  49. package/dist/chunks/{form-field-BoGSJF6d.cjs.js.map → form-field-cwK6KNEG.cjs.js.map} +1 -1
  50. package/dist/chunks/{icon-button-CiBtEF0y.cjs.js → icon-button-0GLW7WtL.cjs.js} +2 -2
  51. package/dist/chunks/{icon-button-CiBtEF0y.cjs.js.map → icon-button-0GLW7WtL.cjs.js.map} +1 -1
  52. package/dist/chunks/{icon-button-N3Uzjv8o.es.js → icon-button-C_i4ydsN.es.js} +2 -2
  53. package/dist/chunks/{icon-button-N3Uzjv8o.es.js.map → icon-button-C_i4ydsN.es.js.map} +1 -1
  54. package/dist/chunks/{icon-toggle-button-BcrMgO27.es.js → icon-toggle-button-f03QyjEE.es.js} +2 -2
  55. package/dist/chunks/{icon-toggle-button-BcrMgO27.es.js.map → icon-toggle-button-f03QyjEE.es.js.map} +1 -1
  56. package/dist/chunks/{icon-toggle-button-DeiQ7jmM.cjs.js → icon-toggle-button-tJAqRjak.cjs.js} +2 -2
  57. package/dist/chunks/{icon-toggle-button-DeiQ7jmM.cjs.js.map → icon-toggle-button-tJAqRjak.cjs.js.map} +1 -1
  58. package/dist/chunks/{index-DwjTNyza.es.js → index-CRta5Y1_.es.js} +426 -300
  59. package/dist/chunks/index-CRta5Y1_.es.js.map +1 -0
  60. package/dist/chunks/index-DX8-EG6B.cjs.js +4 -0
  61. package/dist/chunks/index-DX8-EG6B.cjs.js.map +1 -0
  62. package/dist/chunks/{menu-vAP73jq6.es.js → menu-D5UbPSbm.es.js} +3 -3
  63. package/dist/chunks/{menu-vAP73jq6.es.js.map → menu-D5UbPSbm.es.js.map} +1 -1
  64. package/dist/chunks/{menu-n9jU7SCA.cjs.js → menu-cYj3HcOe.cjs.js} +2 -2
  65. package/dist/chunks/{menu-n9jU7SCA.cjs.js.map → menu-cYj3HcOe.cjs.js.map} +1 -1
  66. package/dist/chunks/{money-input-Dkl0TJ-w.es.js → money-input-CtG9FJDJ.es.js} +4 -4
  67. package/dist/chunks/{money-input-Dkl0TJ-w.es.js.map → money-input-CtG9FJDJ.es.js.map} +1 -1
  68. package/dist/chunks/{money-input-CZkI0cQZ.cjs.js → money-input-DXpiO23i.cjs.js} +2 -2
  69. package/dist/chunks/{money-input-CZkI0cQZ.cjs.js.map → money-input-DXpiO23i.cjs.js.map} +1 -1
  70. package/dist/chunks/multiline-text-input-DZaLPY2Z.es.js +193 -0
  71. package/dist/chunks/multiline-text-input-DZaLPY2Z.es.js.map +1 -0
  72. package/dist/chunks/multiline-text-input-XW9WrmJi.cjs.js +12 -0
  73. package/dist/chunks/multiline-text-input-XW9WrmJi.cjs.js.map +1 -0
  74. package/dist/chunks/{nimbus-provider-DQ1CPSp4.cjs.js → nimbus-provider--E4ETLbz.cjs.js} +2 -2
  75. package/dist/chunks/{nimbus-provider-DQ1CPSp4.cjs.js.map → nimbus-provider--E4ETLbz.cjs.js.map} +1 -1
  76. package/dist/chunks/{nimbus-provider-CH5x7sz1.es.js → nimbus-provider-BE3QFNWW.es.js} +2 -2
  77. package/dist/chunks/{nimbus-provider-CH5x7sz1.es.js.map → nimbus-provider-BE3QFNWW.es.js.map} +1 -1
  78. package/dist/chunks/number-input-C-suceSs.cjs.js +2 -0
  79. package/dist/chunks/{number-input-BCyiGbGY.cjs.js.map → number-input-C-suceSs.cjs.js.map} +1 -1
  80. package/dist/chunks/{number-input-CjBiCFF6.es.js → number-input-COfobs8H.es.js} +347 -339
  81. package/dist/chunks/{number-input-CjBiCFF6.es.js.map → number-input-COfobs8H.es.js.map} +1 -1
  82. package/dist/chunks/{pagination-CwZAtcMm.cjs.js → pagination-BM1xkmu9.cjs.js} +2 -2
  83. package/dist/chunks/{pagination-CwZAtcMm.cjs.js.map → pagination-BM1xkmu9.cjs.js.map} +1 -1
  84. package/dist/chunks/{pagination-BYCMJoWX.es.js → pagination-C5bOKHnF.es.js} +4 -4
  85. package/dist/chunks/{pagination-BYCMJoWX.es.js.map → pagination-C5bOKHnF.es.js.map} +1 -1
  86. package/dist/chunks/password-input-BXIl-f4z.es.js +54 -0
  87. package/dist/chunks/password-input-BXIl-f4z.es.js.map +1 -0
  88. package/dist/chunks/password-input-Br-DbsF2.cjs.js +2 -0
  89. package/dist/chunks/password-input-Br-DbsF2.cjs.js.map +1 -0
  90. package/dist/chunks/{progress-bar-DhG9TG8r.es.js → progress-bar-8RZO_7Pa.es.js} +2 -2
  91. package/dist/chunks/{progress-bar-DhG9TG8r.es.js.map → progress-bar-8RZO_7Pa.es.js.map} +1 -1
  92. package/dist/chunks/{progress-bar-C9ElCIQE.cjs.js → progress-bar-CGfPZTdv.cjs.js} +2 -2
  93. package/dist/chunks/{progress-bar-C9ElCIQE.cjs.js.map → progress-bar-CGfPZTdv.cjs.js.map} +1 -1
  94. package/dist/chunks/{radio-input-CV2Am_Ol.es.js → radio-input-CBsoUt1S.es.js} +3 -3
  95. package/dist/chunks/{radio-input-CV2Am_Ol.es.js.map → radio-input-CBsoUt1S.es.js.map} +1 -1
  96. package/dist/chunks/{radio-input-A7KxF_yz.cjs.js → radio-input-D7oHngVQ.cjs.js} +2 -2
  97. package/dist/chunks/{radio-input-A7KxF_yz.cjs.js.map → radio-input-D7oHngVQ.cjs.js.map} +1 -1
  98. package/dist/chunks/{range-calendar-Dyt9IoJ_.cjs.js → range-calendar-CWkeoOzl.cjs.js} +2 -2
  99. package/dist/chunks/{range-calendar-Dyt9IoJ_.cjs.js.map → range-calendar-CWkeoOzl.cjs.js.map} +1 -1
  100. package/dist/chunks/{range-calendar-BpFwP2wF.es.js → range-calendar-ZSiCkuoX.es.js} +4 -4
  101. package/dist/chunks/{range-calendar-BpFwP2wF.es.js.map → range-calendar-ZSiCkuoX.es.js.map} +1 -1
  102. package/dist/chunks/{rich-text-input-sQtbxyfd.cjs.js → rich-text-input-CxWC-yrf.cjs.js} +2 -2
  103. package/dist/chunks/{rich-text-input-sQtbxyfd.cjs.js.map → rich-text-input-CxWC-yrf.cjs.js.map} +1 -1
  104. package/dist/chunks/{rich-text-input-BBVWAH5I.es.js → rich-text-input-YYPcexom.es.js} +7 -7
  105. package/dist/chunks/{rich-text-input-BBVWAH5I.es.js.map → rich-text-input-YYPcexom.es.js.map} +1 -1
  106. package/dist/chunks/{select-BvwErOqX.es.js → select-Bj9NNlBG.es.js} +156 -146
  107. package/dist/chunks/{select-BvwErOqX.es.js.map → select-Bj9NNlBG.es.js.map} +1 -1
  108. package/dist/chunks/select-DA6mGi-n.cjs.js +2 -0
  109. package/dist/chunks/{select-BL0Jeztf.cjs.js.map → select-DA6mGi-n.cjs.js.map} +1 -1
  110. package/dist/chunks/{separator-BRUFpi9l.es.js → separator-BBcK9ROS.es.js} +2 -2
  111. package/dist/chunks/{separator-BRUFpi9l.es.js.map → separator-BBcK9ROS.es.js.map} +1 -1
  112. package/dist/chunks/{separator-DKPbB_lK.cjs.js → separator-CoMx0Mmv.cjs.js} +2 -2
  113. package/dist/chunks/{separator-DKPbB_lK.cjs.js.map → separator-CoMx0Mmv.cjs.js.map} +1 -1
  114. package/dist/chunks/{split-button-B4SnFetQ.es.js → split-button-C5RRpvG-.es.js} +5 -5
  115. package/dist/chunks/{split-button-B4SnFetQ.es.js.map → split-button-C5RRpvG-.es.js.map} +1 -1
  116. package/dist/chunks/{split-button-Cs4jynee.cjs.js → split-button-DS-OCnNN.cjs.js} +2 -2
  117. package/dist/chunks/{split-button-Cs4jynee.cjs.js.map → split-button-DS-OCnNN.cjs.js.map} +1 -1
  118. package/dist/chunks/{switch-CssXPh09.es.js → switch-CaNbdCzT.es.js} +3 -3
  119. package/dist/chunks/{switch-CssXPh09.es.js.map → switch-CaNbdCzT.es.js.map} +1 -1
  120. package/dist/chunks/{switch-DAVy_DYC.cjs.js → switch-uAVIHIFM.cjs.js} +2 -2
  121. package/dist/chunks/{switch-DAVy_DYC.cjs.js.map → switch-uAVIHIFM.cjs.js.map} +1 -1
  122. package/dist/chunks/{tag-group-BJ33FcVi.cjs.js → tag-group-BfVRqsqw.cjs.js} +2 -2
  123. package/dist/chunks/{tag-group-BJ33FcVi.cjs.js.map → tag-group-BfVRqsqw.cjs.js.map} +1 -1
  124. package/dist/chunks/{tag-group-JeqOcMyb.es.js → tag-group-Bs6sb_ky.es.js} +2 -2
  125. package/dist/chunks/{tag-group-JeqOcMyb.es.js.map → tag-group-Bs6sb_ky.es.js.map} +1 -1
  126. package/dist/chunks/text-input-Bm5P6cG3.es.js +48 -0
  127. package/dist/chunks/text-input-Bm5P6cG3.es.js.map +1 -0
  128. package/dist/chunks/text-input-DgYI0-uU.cjs.js +2 -0
  129. package/dist/chunks/text-input-DgYI0-uU.cjs.js.map +1 -0
  130. package/dist/chunks/time-input-BVrf5gCi.es.js +179 -0
  131. package/dist/chunks/time-input-BVrf5gCi.es.js.map +1 -0
  132. package/dist/chunks/time-input-DOacr-Lo.cjs.js +2 -0
  133. package/dist/chunks/time-input-DOacr-Lo.cjs.js.map +1 -0
  134. package/dist/chunks/{toggle-button-DSp3s7cp.es.js → toggle-button-Bg4ygY7u.es.js} +3 -3
  135. package/dist/chunks/{toggle-button-DSp3s7cp.es.js.map → toggle-button-Bg4ygY7u.es.js.map} +1 -1
  136. package/dist/chunks/{toggle-button-BCDj-UQB.cjs.js → toggle-button-CoA46qg6.cjs.js} +2 -2
  137. package/dist/chunks/{toggle-button-BCDj-UQB.cjs.js.map → toggle-button-CoA46qg6.cjs.js.map} +1 -1
  138. package/dist/chunks/{toolbar-_QcKjeZY.es.js → toolbar-BZFjOgau.es.js} +3 -3
  139. package/dist/chunks/{toolbar-_QcKjeZY.es.js.map → toolbar-BZFjOgau.es.js.map} +1 -1
  140. package/dist/chunks/{toolbar-DSpz9u4Z.cjs.js → toolbar-CRak3D0J.cjs.js} +2 -2
  141. package/dist/chunks/{toolbar-DSpz9u4Z.cjs.js.map → toolbar-CRak3D0J.cjs.js.map} +1 -1
  142. package/dist/combobox.d.ts +26 -1
  143. package/dist/components/accordion.cjs +1 -1
  144. package/dist/components/accordion.es.js +1 -1
  145. package/dist/components/alert.cjs +1 -1
  146. package/dist/components/alert.es.js +1 -1
  147. package/dist/components/button.cjs +1 -1
  148. package/dist/components/button.es.js +1 -1
  149. package/dist/components/calendar.cjs +1 -1
  150. package/dist/components/calendar.es.js +1 -1
  151. package/dist/components/checkbox.cjs +1 -1
  152. package/dist/components/checkbox.es.js +1 -1
  153. package/dist/components/combobox.cjs +1 -1
  154. package/dist/components/combobox.es.js +1 -1
  155. package/dist/components/components.cjs +1 -1
  156. package/dist/components/components.es.js +33 -33
  157. package/dist/components/data-table.cjs +1 -1
  158. package/dist/components/data-table.es.js +1 -1
  159. package/dist/components/date-input.cjs +1 -1
  160. package/dist/components/date-input.es.js +1 -1
  161. package/dist/components/date-picker.cjs +1 -1
  162. package/dist/components/date-picker.es.js +1 -1
  163. package/dist/components/date-range-picker.cjs +1 -1
  164. package/dist/components/date-range-picker.es.js +1 -1
  165. package/dist/components/form-field.cjs +1 -1
  166. package/dist/components/form-field.es.js +1 -1
  167. package/dist/components/icon-button.cjs +1 -1
  168. package/dist/components/icon-button.es.js +1 -1
  169. package/dist/components/icon-toggle-button.cjs +1 -1
  170. package/dist/components/icon-toggle-button.es.js +1 -1
  171. package/dist/components/money-input.cjs +1 -1
  172. package/dist/components/money-input.es.js +1 -1
  173. package/dist/components/multiline-text-input.cjs +1 -1
  174. package/dist/components/multiline-text-input.es.js +1 -1
  175. package/dist/components/nimbus-provider.cjs +1 -1
  176. package/dist/components/nimbus-provider.es.js +1 -1
  177. package/dist/components/number-input.cjs +1 -1
  178. package/dist/components/number-input.es.js +1 -1
  179. package/dist/components/pagination.cjs +1 -1
  180. package/dist/components/pagination.es.js +1 -1
  181. package/dist/components/password-input.cjs +1 -1
  182. package/dist/components/password-input.es.js +1 -1
  183. package/dist/components/progress-bar.cjs +1 -1
  184. package/dist/components/progress-bar.es.js +1 -1
  185. package/dist/components/radio-input.cjs +1 -1
  186. package/dist/components/radio-input.es.js +1 -1
  187. package/dist/components/range-calendar.cjs +1 -1
  188. package/dist/components/range-calendar.es.js +1 -1
  189. package/dist/components/rich-text-input.cjs +1 -1
  190. package/dist/components/rich-text-input.es.js +1 -1
  191. package/dist/components/select.cjs +1 -1
  192. package/dist/components/select.es.js +1 -1
  193. package/dist/components/separator.cjs +1 -1
  194. package/dist/components/separator.es.js +1 -1
  195. package/dist/components/split-button.cjs +1 -1
  196. package/dist/components/split-button.es.js +1 -1
  197. package/dist/components/switch.cjs +1 -1
  198. package/dist/components/switch.es.js +1 -1
  199. package/dist/components/tag-group.cjs +1 -1
  200. package/dist/components/tag-group.es.js +1 -1
  201. package/dist/components/text-input.cjs +1 -1
  202. package/dist/components/text-input.es.js +1 -1
  203. package/dist/components/time-input.cjs +1 -1
  204. package/dist/components/time-input.es.js +1 -1
  205. package/dist/components/toggle-button.cjs +1 -1
  206. package/dist/components/toggle-button.es.js +1 -1
  207. package/dist/components/toolbar.cjs +1 -1
  208. package/dist/components/toolbar.es.js +1 -1
  209. package/dist/components.d.ts +302 -114
  210. package/dist/data-table.d.ts +6 -6
  211. package/dist/date-input.d.ts +43 -10
  212. package/dist/date-picker.d.ts +46 -31
  213. package/dist/index.cjs +1 -1
  214. package/dist/index.d.ts +316 -128
  215. package/dist/index.es.js +36 -36
  216. package/dist/multiline-text-input.d.ts +49 -9
  217. package/dist/number-input.d.ts +50 -31
  218. package/dist/password-input.d.ts +59 -25
  219. package/dist/select.d.ts +19 -2
  220. package/dist/text-input.d.ts +53 -21
  221. package/dist/time-input.d.ts +48 -12
  222. package/package.json +5 -5
  223. package/dist/chunks/combobox-Bjv3GWGo.es.js.map +0 -1
  224. package/dist/chunks/combobox-DFEUqaQv.cjs.js +0 -2
  225. package/dist/chunks/combobox-DFEUqaQv.cjs.js.map +0 -1
  226. package/dist/chunks/date-input-BfX4o6R4.es.js +0 -16
  227. package/dist/chunks/date-input-BfX4o6R4.es.js.map +0 -1
  228. package/dist/chunks/date-input-sKLgo0X8.cjs.js +0 -2
  229. package/dist/chunks/date-input-sKLgo0X8.cjs.js.map +0 -1
  230. package/dist/chunks/date-picker-BviqgxDx.es.js +0 -222
  231. package/dist/chunks/date-picker-BviqgxDx.es.js.map +0 -1
  232. package/dist/chunks/date-picker-STd_oI72.cjs.js +0 -2
  233. package/dist/chunks/date-picker-STd_oI72.cjs.js.map +0 -1
  234. package/dist/chunks/date-range-picker-CsUWSzSC.es.js.map +0 -1
  235. package/dist/chunks/date-range-picker-cA84RzN7.cjs.js +0 -2
  236. package/dist/chunks/date-range-picker-cA84RzN7.cjs.js.map +0 -1
  237. package/dist/chunks/index-DebuynT7.cjs.js +0 -4
  238. package/dist/chunks/index-DebuynT7.cjs.js.map +0 -1
  239. package/dist/chunks/index-DwjTNyza.es.js.map +0 -1
  240. package/dist/chunks/multiline-text-input-B9RhT0Oy.es.js +0 -118
  241. package/dist/chunks/multiline-text-input-B9RhT0Oy.es.js.map +0 -1
  242. package/dist/chunks/multiline-text-input-BGT_-xyA.cjs.js +0 -12
  243. package/dist/chunks/multiline-text-input-BGT_-xyA.cjs.js.map +0 -1
  244. package/dist/chunks/number-input-BCyiGbGY.cjs.js +0 -2
  245. package/dist/chunks/password-input-BkTbfljJ.cjs.js +0 -2
  246. package/dist/chunks/password-input-BkTbfljJ.cjs.js.map +0 -1
  247. package/dist/chunks/password-input-BlU2h_8U.es.js +0 -67
  248. package/dist/chunks/password-input-BlU2h_8U.es.js.map +0 -1
  249. package/dist/chunks/select-BL0Jeztf.cjs.js +0 -2
  250. package/dist/chunks/text-input-Bu4lGoBD.es.js +0 -18
  251. package/dist/chunks/text-input-Bu4lGoBD.es.js.map +0 -1
  252. package/dist/chunks/text-input-DtMgT0KI.cjs.js +0 -2
  253. package/dist/chunks/text-input-DtMgT0KI.cjs.js.map +0 -1
  254. package/dist/chunks/time-input-D8D26IcA.es.js +0 -130
  255. package/dist/chunks/time-input-D8D26IcA.es.js.map +0 -1
  256. package/dist/chunks/time-input-D9Xmy3YQ.cjs.js +0 -2
  257. package/dist/chunks/time-input-D9Xmy3YQ.cjs.js.map +0 -1
@@ -1,86 +1,86 @@
1
- import { jsx as d, jsxs as ie, Fragment as Ve } from "react/jsx-runtime";
2
- import { createSlotRecipeContext as Ou, useSlotRecipe as Vu } from "@chakra-ui/react/styled-system";
3
- import { l as Mu } from "./index-DwjTNyza.es.js";
4
- import J, { useEffect as te, useRef as F, useMemo as ce, useCallback as V, useState as H, createContext as $e, forwardRef as Gu, useContext as ze } from "react";
5
- import { $ as Ue } from "./Button-CNBS3n5a.es.js";
6
- import { f as qe, c as De, e as Se, d as Le, $ as fe, b as We, a as He } from "./utils-BkdW_cdL.es.js";
7
- import { $ as Je } from "./FieldError-CXcEMuBf.es.js";
8
- import { $ as Ze } from "./Form-CXcEMuBf.es.js";
1
+ import { jsx as s, jsxs as re, Fragment as Ve } from "react/jsx-runtime";
2
+ import { createSlotRecipeContext as Gn, useSlotRecipe as zn } from "@chakra-ui/react/styled-system";
3
+ import { l as je } from "./index-CRta5Y1_.es.js";
4
+ import Y, { useEffect as ue, useRef as T, useMemo as ae, useCallback as O, useState as X, createContext as $e, forwardRef as Nn, useContext as Ue } from "react";
5
+ import { $ as qe } from "./Button-CNBS3n5a.es.js";
6
+ import { f as We, c as Se, e as De, d as Le, $ as fe, b as He, a as Je } from "./utils-BkdW_cdL.es.js";
7
+ import { $ as Ze } from "./FieldError-CXcEMuBf.es.js";
8
+ import { $ as Xe } from "./Form-CXcEMuBf.es.js";
9
9
  import { a as Pe } from "./Group-Cfixd-fh.es.js";
10
- import { a as xe, $ as Xe } from "./Input-BiHwUBo4.es.js";
10
+ import { a as xe, $ as Ye } from "./Input-BiHwUBo4.es.js";
11
11
  import { $ as Ie } from "./Label-B2YyCdLl.es.js";
12
- import { g as Nu, h as ju, i as zu, a as Ye, b as Uu, c as qu, e as Wu, d as Hu } from "./ListBox-DKAR_w69.es.js";
13
- import { f as Ju, m as Zu, b as Xu, c as Yu, $ as Qe, g as _e, e as Qu, a as _u } from "./Dialog-BH-H4BEe.es.js";
12
+ import { g as jn, h as Un, i as qn, a as Qe, b as Wn, c as Hn, e as Jn, d as Zn } from "./ListBox-DKAR_w69.es.js";
13
+ import { f as Xn, m as Yn, b as Qn, c as _n, $ as _e, g as eo, e as eu, a as ou } from "./Dialog-BH-H4BEe.es.js";
14
14
  import { $ as we } from "./Text-DOcU1ycg.es.js";
15
- import { f as en, g as on } from "./Separator-CuZ-VIh8.es.js";
16
- import { $ as eo } from "./filterDOMProps-BSVCO5jK.es.js";
17
- import { $ as un, a as nn } from "./OverlayArrow-sJzRZNbO.es.js";
18
- import { $ as oo } from "./useFilter-DOfNzeZ9.es.js";
19
- import { b as tn, $ as ln } from "./useFormValidation-4hZ1_a6w.es.js";
20
- import { $ as cn, a as rn, b as uo, r as Be, s as Me, t as an, u as sn, v as Ge, w as dn, x as pn, q as no, h as $n } from "./SelectionManager-BgUVI3vz.es.js";
21
- import { $ as bn } from "./useSingleSelectListState-CdPCvWTv.es.js";
22
- import { $ as to } from "./useControlledState-u436Wbp1.es.js";
15
+ import { f as nu, g as uu } from "./Separator-CuZ-VIh8.es.js";
16
+ import { $ as oo } from "./filterDOMProps-BSVCO5jK.es.js";
17
+ import { $ as tu, a as lu } from "./OverlayArrow-sJzRZNbO.es.js";
18
+ import { $ as no } from "./useFilter-DOfNzeZ9.es.js";
19
+ import { b as iu, $ as cu } from "./useFormValidation-4hZ1_a6w.es.js";
20
+ import { $ as ru, a as au, b as uo, r as Be, s as Me, t as su, u as du, v as Ge, w as pu, x as $u, q as to, h as bu } from "./SelectionManager-BgUVI3vz.es.js";
21
+ import { $ as fu } from "./useSingleSelectListState-CdPCvWTv.es.js";
22
+ import { $ as lo } from "./useControlledState-u436Wbp1.es.js";
23
23
  import { $ as ve } from "./LiveAnnouncer-CsPyaceH.es.js";
24
- import { $ as pe, e as fn, b as Cn, d as be } from "./mergeProps-B_9syxhT.es.js";
25
- import { $ as xn, k as mn, d as ge, a as lo } from "./utils-jpfA6kxk.es.js";
26
- import { $ as hn } from "./openLink-Ctl0AdAy.es.js";
24
+ import { $ as pe, e as mu, b as xu, d as be } from "./mergeProps-B_9syxhT.es.js";
25
+ import { $ as Cu, k as hu, d as ge, a as io } from "./utils-jpfA6kxk.es.js";
26
+ import { $ as vu } from "./openLink-Ctl0AdAy.es.js";
27
27
  import { a as Te } from "./useLabel-BBmkkrPP.es.js";
28
- import { $ as vn } from "./useUpdateEffect-CCDx8D4X.es.js";
29
- import { g as ye, f as yn, d as An } from "./platform-Z5fvtFmM.es.js";
30
- import { a as En, c as Bn } from "./Header-Bi219Q1R.es.js";
31
- import { $ as io } from "./useLocalizedStringFormatter-BRnRyxJp.es.js";
32
- import { $ as co } from "./useTextField-BnL6tOdd.es.js";
33
- import { e as ke } from "./extractStyleProps-lz7NzsNX.es.js";
34
- import { Close as ro, Loop as ao, KeyboardArrowDown as so, Check as gn } from "@commercetools/nimbus-icons";
35
- import { B as Ce } from "./box-DuBoAZvq.es.js";
36
- import { I as Fe } from "./icon-button-N3Uzjv8o.es.js";
37
- import { Flex as po } from "@chakra-ui/react/flex";
38
- import { mergeRefs as Tn } from "@chakra-ui/react";
39
- import { $ as $o } from "./useObjectRef-CaJ5pgjX.es.js";
40
- import { $ as Fn } from "./useEvent-YHhqZvpU.es.js";
41
- import { b as Dn } from "./useFocusVisible-CWDaG0ze.es.js";
42
- import { a as Sn } from "./TextArea-BmpgvS0R.es.js";
43
- import { $ as Ln } from "./Hidden-j3Lbt7xL.es.js";
44
- import { T as Ae } from "./tag-group-JeqOcMyb.es.js";
45
- import { $ as Pn } from "./usePress-DHhWHfMz.es.js";
46
- import { $ as In } from "./useFocusable-CrsD8ZcF.es.js";
47
- const wn = /* @__PURE__ */ J.forwardRef(({ children: e, ...o }, u) => {
48
- u = $o(u);
49
- let { pressProps: l } = Pn({
28
+ import { $ as yu } from "./useUpdateEffect-CCDx8D4X.es.js";
29
+ import { g as ye, f as Au, d as Eu } from "./platform-Z5fvtFmM.es.js";
30
+ import { a as Bu, c as gu } from "./Header-Bi219Q1R.es.js";
31
+ import { $ as co } from "./useLocalizedStringFormatter-BRnRyxJp.es.js";
32
+ import { $ as ro } from "./useTextField-BnL6tOdd.es.js";
33
+ import { e as ke } from "./extractStyleProps-DkXeCUuq.es.js";
34
+ import { Close as ao, Loop as so, KeyboardArrowDown as po, Check as Tu } from "@commercetools/nimbus-icons";
35
+ import { B as me } from "./box-DuBoAZvq.es.js";
36
+ import { I as Fe } from "./icon-button-C_i4ydsN.es.js";
37
+ import { Flex as $o } from "@chakra-ui/react/flex";
38
+ import { mergeRefs as Fu } from "@chakra-ui/react";
39
+ import { $ as bo } from "./useObjectRef-CaJ5pgjX.es.js";
40
+ import { $ as Su } from "./useEvent-YHhqZvpU.es.js";
41
+ import { b as Du } from "./useFocusVisible-CWDaG0ze.es.js";
42
+ import { a as Lu } from "./TextArea-BmpgvS0R.es.js";
43
+ import { $ as Pu } from "./Hidden-j3Lbt7xL.es.js";
44
+ import { T as Ae } from "./tag-group-Bs6sb_ky.es.js";
45
+ import { $ as Iu } from "./usePress-DHhWHfMz.es.js";
46
+ import { $ as wu } from "./useFocusable-CrsD8ZcF.es.js";
47
+ const ku = /* @__PURE__ */ Y.forwardRef(({ children: e, ...o }, n) => {
48
+ n = bo(n);
49
+ let { pressProps: t } = Iu({
50
50
  ...o,
51
- ref: u
52
- }), { focusableProps: n } = In(o, u), r = J.Children.only(e);
53
- te(() => {
51
+ ref: n
52
+ }), { focusableProps: u } = wu(o, n), c = Y.Children.only(e);
53
+ ue(() => {
54
54
  if (process.env.NODE_ENV === "production") return;
55
- let c = u.current;
56
- if (!c || !(c instanceof xn(c).Element)) {
55
+ let r = n.current;
56
+ if (!r || !(r instanceof Cu(r).Element)) {
57
57
  console.error("<Pressable> child must forward its ref to a DOM element.");
58
58
  return;
59
59
  }
60
- if (!o.isDisabled && !mn(c)) {
60
+ if (!o.isDisabled && !hu(r)) {
61
61
  console.warn("<Pressable> child must be focusable. Please ensure the tabIndex prop is passed through.");
62
62
  return;
63
63
  }
64
- if (c.localName !== "button" && c.localName !== "input" && c.localName !== "select" && c.localName !== "textarea" && c.localName !== "a" && c.localName !== "area" && c.localName !== "summary") {
65
- let i = c.getAttribute("role");
66
- i ? (
64
+ if (r.localName !== "button" && r.localName !== "input" && r.localName !== "select" && r.localName !== "textarea" && r.localName !== "a" && r.localName !== "area" && r.localName !== "summary") {
65
+ let l = r.getAttribute("role");
66
+ l ? (
67
67
  // https://w3c.github.io/aria/#widget_roles
68
- i !== "application" && i !== "button" && i !== "checkbox" && i !== "combobox" && i !== "gridcell" && i !== "link" && i !== "menuitem" && i !== "menuitemcheckbox" && i !== "menuitemradio" && i !== "option" && i !== "radio" && i !== "searchbox" && i !== "separator" && i !== "slider" && i !== "spinbutton" && i !== "switch" && i !== "tab" && i !== "textbox" && i !== "treeitem" && console.warn(`<Pressable> child must have an interactive ARIA role. Got "${i}".`)
68
+ l !== "application" && l !== "button" && l !== "checkbox" && l !== "combobox" && l !== "gridcell" && l !== "link" && l !== "menuitem" && l !== "menuitemcheckbox" && l !== "menuitemradio" && l !== "option" && l !== "radio" && l !== "searchbox" && l !== "separator" && l !== "slider" && l !== "spinbutton" && l !== "switch" && l !== "tab" && l !== "textbox" && l !== "treeitem" && console.warn(`<Pressable> child must have an interactive ARIA role. Got "${l}".`)
69
69
  ) : console.warn("<Pressable> child must have an interactive ARIA role.");
70
70
  }
71
71
  }, [
72
- u,
72
+ n,
73
73
  o.isDisabled
74
74
  ]);
75
- let b = parseInt(J.version, 10) < 19 ? r.ref : r.props.ref;
76
- return /* @__PURE__ */ J.cloneElement(r, {
77
- ...pe(l, n, r.props),
75
+ let $ = parseInt(Y.version, 10) < 19 ? c.ref : c.props.ref;
76
+ return /* @__PURE__ */ Y.cloneElement(c, {
77
+ ...pe(t, u, c.props),
78
78
  // @ts-ignore
79
- ref: qe(b, u)
79
+ ref: We($, n)
80
80
  });
81
81
  });
82
- var bo = {};
83
- bo = {
82
+ var fo = {};
83
+ fo = {
84
84
  buttonLabel: "عرض المقترحات",
85
85
  countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
86
86
  one: () => `${o.number(e.optionCount)} خيار`,
@@ -99,8 +99,8 @@ bo = {
99
99
  listboxLabel: "مقترحات",
100
100
  selectedAnnouncement: (e) => `${e.optionText}، محدد`
101
101
  };
102
- var fo = {};
103
- fo = {
102
+ var mo = {};
103
+ mo = {
104
104
  buttonLabel: "Покажи предложения",
105
105
  countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
106
106
  one: () => `${o.number(e.optionCount)} опция`,
@@ -119,8 +119,8 @@ fo = {
119
119
  listboxLabel: "Предложения",
120
120
  selectedAnnouncement: (e) => `${e.optionText}, избрани`
121
121
  };
122
- var Co = {};
123
- Co = {
122
+ var xo = {};
123
+ xo = {
124
124
  buttonLabel: "Zobrazit doporučení",
125
125
  countAnnouncement: (e, o) => `K dispozici ${o.plural(e.optionCount, {
126
126
  one: () => `je ${o.number(e.optionCount)} možnost`,
@@ -139,8 +139,8 @@ Co = {
139
139
  listboxLabel: "Návrhy",
140
140
  selectedAnnouncement: (e) => `${e.optionText}, vybráno`
141
141
  };
142
- var xo = {};
143
- xo = {
142
+ var Co = {};
143
+ Co = {
144
144
  buttonLabel: "Vis forslag",
145
145
  countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
146
146
  one: () => `${o.number(e.optionCount)} mulighed tilgængelig`,
@@ -159,8 +159,8 @@ xo = {
159
159
  listboxLabel: "Forslag",
160
160
  selectedAnnouncement: (e) => `${e.optionText}, valgt`
161
161
  };
162
- var mo = {};
163
- mo = {
162
+ var ho = {};
163
+ ho = {
164
164
  buttonLabel: "Empfehlungen anzeigen",
165
165
  countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
166
166
  one: () => `${o.number(e.optionCount)} Option`,
@@ -179,8 +179,8 @@ mo = {
179
179
  listboxLabel: "Empfehlungen",
180
180
  selectedAnnouncement: (e) => `${e.optionText}, ausgewählt`
181
181
  };
182
- var ho = {};
183
- ho = {
182
+ var vo = {};
183
+ vo = {
184
184
  buttonLabel: "Προβολή προτάσεων",
185
185
  countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
186
186
  one: () => `${o.number(e.optionCount)} επιλογή`,
@@ -199,8 +199,8 @@ ho = {
199
199
  listboxLabel: "Προτάσεις",
200
200
  selectedAnnouncement: (e) => `${e.optionText}, επιλέχθηκε`
201
201
  };
202
- var vo = {};
203
- vo = {
202
+ var yo = {};
203
+ yo = {
204
204
  focusAnnouncement: (e, o) => `${o.select({
205
205
  true: () => `Entered group ${e.groupTitle}, with ${o.plural(e.groupCount, {
206
206
  one: () => `${o.number(e.groupCount)} option`,
@@ -219,8 +219,8 @@ vo = {
219
219
  buttonLabel: "Show suggestions",
220
220
  listboxLabel: "Suggestions"
221
221
  };
222
- var yo = {};
223
- yo = {
222
+ var Ao = {};
223
+ Ao = {
224
224
  buttonLabel: "Mostrar sugerencias",
225
225
  countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
226
226
  one: () => `${o.number(e.optionCount)} opción`,
@@ -239,8 +239,8 @@ yo = {
239
239
  listboxLabel: "Sugerencias",
240
240
  selectedAnnouncement: (e) => `${e.optionText}, seleccionado`
241
241
  };
242
- var Ao = {};
243
- Ao = {
242
+ var Eo = {};
243
+ Eo = {
244
244
  buttonLabel: "Kuva soovitused",
245
245
  countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
246
246
  one: () => `${o.number(e.optionCount)} valik`,
@@ -259,8 +259,8 @@ Ao = {
259
259
  listboxLabel: "Soovitused",
260
260
  selectedAnnouncement: (e) => `${e.optionText}, valitud`
261
261
  };
262
- var Eo = {};
263
- Eo = {
262
+ var Bo = {};
263
+ Bo = {
264
264
  buttonLabel: "Näytä ehdotukset",
265
265
  countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
266
266
  one: () => `${o.number(e.optionCount)} vaihtoehto`,
@@ -279,8 +279,8 @@ Eo = {
279
279
  listboxLabel: "Ehdotukset",
280
280
  selectedAnnouncement: (e) => `${e.optionText}, valittu`
281
281
  };
282
- var Bo = {};
283
- Bo = {
282
+ var go = {};
283
+ go = {
284
284
  buttonLabel: "Afficher les suggestions",
285
285
  countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
286
286
  one: () => `${o.number(e.optionCount)} option`,
@@ -299,8 +299,8 @@ Bo = {
299
299
  listboxLabel: "Suggestions",
300
300
  selectedAnnouncement: (e) => `${e.optionText}, sélectionné`
301
301
  };
302
- var go = {};
303
- go = {
302
+ var To = {};
303
+ To = {
304
304
  buttonLabel: "הצג הצעות",
305
305
  countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
306
306
  one: () => `אפשרות ${o.number(e.optionCount)}`,
@@ -319,8 +319,8 @@ go = {
319
319
  listboxLabel: "הצעות",
320
320
  selectedAnnouncement: (e) => `${e.optionText}, נבחר`
321
321
  };
322
- var To = {};
323
- To = {
322
+ var Fo = {};
323
+ Fo = {
324
324
  buttonLabel: "Prikaži prijedloge",
325
325
  countAnnouncement: (e, o) => `Dostupno još: ${o.plural(e.optionCount, {
326
326
  one: () => `${o.number(e.optionCount)} opcija`,
@@ -339,8 +339,8 @@ To = {
339
339
  listboxLabel: "Prijedlozi",
340
340
  selectedAnnouncement: (e) => `${e.optionText}, odabrano`
341
341
  };
342
- var Fo = {};
343
- Fo = {
342
+ var So = {};
343
+ So = {
344
344
  buttonLabel: "Javaslatok megjelenítése",
345
345
  countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
346
346
  one: () => `${o.number(e.optionCount)} lehetőség`,
@@ -379,8 +379,8 @@ Do = {
379
379
  listboxLabel: "Suggerimenti",
380
380
  selectedAnnouncement: (e) => `${e.optionText}, selezionato`
381
381
  };
382
- var So = {};
383
- So = {
382
+ var Lo = {};
383
+ Lo = {
384
384
  buttonLabel: "候補を表示",
385
385
  countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
386
386
  one: () => `${o.number(e.optionCount)} 個のオプション`,
@@ -399,8 +399,8 @@ So = {
399
399
  listboxLabel: "候補",
400
400
  selectedAnnouncement: (e) => `${e.optionText}、選択済み`
401
401
  };
402
- var Lo = {};
403
- Lo = {
402
+ var Po = {};
403
+ Po = {
404
404
  buttonLabel: "제안 사항 표시",
405
405
  countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
406
406
  one: () => `${o.number(e.optionCount)}개 옵션`,
@@ -419,8 +419,8 @@ Lo = {
419
419
  listboxLabel: "제안",
420
420
  selectedAnnouncement: (e) => `${e.optionText}, 선택됨`
421
421
  };
422
- var Po = {};
423
- Po = {
422
+ var Io = {};
423
+ Io = {
424
424
  buttonLabel: "Rodyti pasiūlymus",
425
425
  countAnnouncement: (e, o) => `Yra ${o.plural(e.optionCount, {
426
426
  one: () => `${o.number(e.optionCount)} parinktis`,
@@ -439,8 +439,8 @@ Po = {
439
439
  listboxLabel: "Pasiūlymai",
440
440
  selectedAnnouncement: (e) => `${e.optionText}, pasirinkta`
441
441
  };
442
- var Io = {};
443
- Io = {
442
+ var wo = {};
443
+ wo = {
444
444
  buttonLabel: "Rādīt ieteikumus",
445
445
  countAnnouncement: (e, o) => `Pieejamo opciju skaits: ${o.plural(e.optionCount, {
446
446
  one: () => `${o.number(e.optionCount)} opcija`,
@@ -459,8 +459,8 @@ Io = {
459
459
  listboxLabel: "Ieteikumi",
460
460
  selectedAnnouncement: (e) => `${e.optionText}, atlasīta`
461
461
  };
462
- var wo = {};
463
- wo = {
462
+ var ko = {};
463
+ ko = {
464
464
  buttonLabel: "Vis forslag",
465
465
  countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
466
466
  one: () => `${o.number(e.optionCount)} alternativ`,
@@ -479,8 +479,8 @@ wo = {
479
479
  listboxLabel: "Forslag",
480
480
  selectedAnnouncement: (e) => `${e.optionText}, valgt`
481
481
  };
482
- var ko = {};
483
- ko = {
482
+ var Ko = {};
483
+ Ko = {
484
484
  buttonLabel: "Suggesties weergeven",
485
485
  countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
486
486
  one: () => `${o.number(e.optionCount)} optie`,
@@ -499,8 +499,8 @@ ko = {
499
499
  listboxLabel: "Suggesties",
500
500
  selectedAnnouncement: (e) => `${e.optionText}, geselecteerd`
501
501
  };
502
- var Ko = {};
503
- Ko = {
502
+ var Ro = {};
503
+ Ro = {
504
504
  buttonLabel: "Wyświetlaj sugestie",
505
505
  countAnnouncement: (e, o) => `dostępna/dostępne(-nych) ${o.plural(e.optionCount, {
506
506
  one: () => `${o.number(e.optionCount)} opcja`,
@@ -519,8 +519,8 @@ Ko = {
519
519
  listboxLabel: "Sugestie",
520
520
  selectedAnnouncement: (e) => `${e.optionText}, wybrano`
521
521
  };
522
- var Ro = {};
523
- Ro = {
522
+ var Oo = {};
523
+ Oo = {
524
524
  buttonLabel: "Mostrar sugestões",
525
525
  countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
526
526
  one: () => `${o.number(e.optionCount)} opção`,
@@ -539,8 +539,8 @@ Ro = {
539
539
  listboxLabel: "Sugestões",
540
540
  selectedAnnouncement: (e) => `${e.optionText}, selecionado`
541
541
  };
542
- var Oo = {};
543
- Oo = {
542
+ var Vo = {};
543
+ Vo = {
544
544
  buttonLabel: "Apresentar sugestões",
545
545
  countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
546
546
  one: () => `${o.number(e.optionCount)} opção`,
@@ -559,8 +559,8 @@ Oo = {
559
559
  listboxLabel: "Sugestões",
560
560
  selectedAnnouncement: (e) => `${e.optionText}, selecionado`
561
561
  };
562
- var Vo = {};
563
- Vo = {
562
+ var Mo = {};
563
+ Mo = {
564
564
  buttonLabel: "Afișare sugestii",
565
565
  countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
566
566
  one: () => `${o.number(e.optionCount)} opțiune`,
@@ -579,8 +579,8 @@ Vo = {
579
579
  listboxLabel: "Sugestii",
580
580
  selectedAnnouncement: (e) => `${e.optionText}, selectat`
581
581
  };
582
- var Mo = {};
583
- Mo = {
582
+ var Go = {};
583
+ Go = {
584
584
  buttonLabel: "Показать предложения",
585
585
  countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
586
586
  one: () => `${o.number(e.optionCount)} параметр`,
@@ -599,8 +599,8 @@ Mo = {
599
599
  listboxLabel: "Предложения",
600
600
  selectedAnnouncement: (e) => `${e.optionText}, выбрано`
601
601
  };
602
- var Go = {};
603
- Go = {
602
+ var zo = {};
603
+ zo = {
604
604
  buttonLabel: "Zobraziť návrhy",
605
605
  countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
606
606
  one: () => `${o.number(e.optionCount)} možnosť`,
@@ -659,8 +659,8 @@ jo = {
659
659
  listboxLabel: "Predlozi",
660
660
  selectedAnnouncement: (e) => `${e.optionText}, izabrano`
661
661
  };
662
- var zo = {};
663
- zo = {
662
+ var Uo = {};
663
+ Uo = {
664
664
  buttonLabel: "Visa förslag",
665
665
  countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
666
666
  one: () => `${o.number(e.optionCount)} alternativ`,
@@ -679,8 +679,8 @@ zo = {
679
679
  listboxLabel: "Förslag",
680
680
  selectedAnnouncement: (e) => `${e.optionText}, valda`
681
681
  };
682
- var Uo = {};
683
- Uo = {
682
+ var qo = {};
683
+ qo = {
684
684
  buttonLabel: "Önerileri göster",
685
685
  countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
686
686
  one: () => `${o.number(e.optionCount)} seçenek`,
@@ -699,8 +699,8 @@ Uo = {
699
699
  listboxLabel: "Öneriler",
700
700
  selectedAnnouncement: (e) => `${e.optionText}, seçildi`
701
701
  };
702
- var qo = {};
703
- qo = {
702
+ var Wo = {};
703
+ Wo = {
704
704
  buttonLabel: "Показати пропозиції",
705
705
  countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
706
706
  one: () => `${o.number(e.optionCount)} параметр`,
@@ -719,8 +719,8 @@ qo = {
719
719
  listboxLabel: "Пропозиції",
720
720
  selectedAnnouncement: (e) => `${e.optionText}, вибрано`
721
721
  };
722
- var Wo = {};
723
- Wo = {
722
+ var Ho = {};
723
+ Ho = {
724
724
  buttonLabel: "显示建议",
725
725
  countAnnouncement: (e, o) => `有 ${o.plural(e.optionCount, {
726
726
  one: () => `${o.number(e.optionCount)} 个选项`,
@@ -739,8 +739,8 @@ Wo = {
739
739
  listboxLabel: "建议",
740
740
  selectedAnnouncement: (e) => `${e.optionText}, 已选择`
741
741
  };
742
- var Ho = {};
743
- Ho = {
742
+ var Jo = {};
743
+ Jo = {
744
744
  buttonLabel: "顯示建議",
745
745
  countAnnouncement: (e, o) => `${o.plural(e.optionCount, {
746
746
  one: () => `${o.number(e.optionCount)} 選項`,
@@ -759,92 +759,92 @@ Ho = {
759
759
  listboxLabel: "建議",
760
760
  selectedAnnouncement: (e) => `${e.optionText}, 已選取`
761
761
  };
762
- var Jo = {};
763
- Jo = {
764
- "ar-AE": bo,
765
- "bg-BG": fo,
766
- "cs-CZ": Co,
767
- "da-DK": xo,
768
- "de-DE": mo,
769
- "el-GR": ho,
770
- "en-US": vo,
771
- "es-ES": yo,
772
- "et-EE": Ao,
773
- "fi-FI": Eo,
774
- "fr-FR": Bo,
775
- "he-IL": go,
776
- "hr-HR": To,
777
- "hu-HU": Fo,
762
+ var Zo = {};
763
+ Zo = {
764
+ "ar-AE": fo,
765
+ "bg-BG": mo,
766
+ "cs-CZ": xo,
767
+ "da-DK": Co,
768
+ "de-DE": ho,
769
+ "el-GR": vo,
770
+ "en-US": yo,
771
+ "es-ES": Ao,
772
+ "et-EE": Eo,
773
+ "fi-FI": Bo,
774
+ "fr-FR": go,
775
+ "he-IL": To,
776
+ "hr-HR": Fo,
777
+ "hu-HU": So,
778
778
  "it-IT": Do,
779
- "ja-JP": So,
780
- "ko-KR": Lo,
781
- "lt-LT": Po,
782
- "lv-LV": Io,
783
- "nb-NO": wo,
784
- "nl-NL": ko,
785
- "pl-PL": Ko,
786
- "pt-BR": Ro,
787
- "pt-PT": Oo,
788
- "ro-RO": Vo,
789
- "ru-RU": Mo,
790
- "sk-SK": Go,
779
+ "ja-JP": Lo,
780
+ "ko-KR": Po,
781
+ "lt-LT": Io,
782
+ "lv-LV": wo,
783
+ "nb-NO": ko,
784
+ "nl-NL": Ko,
785
+ "pl-PL": Ro,
786
+ "pt-BR": Oo,
787
+ "pt-PT": Vo,
788
+ "ro-RO": Mo,
789
+ "ru-RU": Go,
790
+ "sk-SK": zo,
791
791
  "sl-SI": No,
792
792
  "sr-SP": jo,
793
- "sv-SE": zo,
794
- "tr-TR": Uo,
795
- "uk-UA": qo,
796
- "zh-CN": Wo,
797
- "zh-TW": Ho
793
+ "sv-SE": Uo,
794
+ "tr-TR": qo,
795
+ "uk-UA": Wo,
796
+ "zh-CN": Ho,
797
+ "zh-TW": Jo
798
798
  };
799
- function kn(e) {
799
+ function Ku(e) {
800
800
  return e && e.__esModule ? e.default : e;
801
801
  }
802
- function Kn(e, o) {
803
- let { buttonRef: u, popoverRef: l, inputRef: n, listBoxRef: r, keyboardDelegate: b, layoutDelegate: c, shouldFocusWrap: i, isReadOnly: x, isDisabled: v } = e, C = F(null);
804
- u = u ?? C;
805
- let D = io(kn(Jo), "@react-aria/combobox"), { menuTriggerProps: m, menuProps: g } = Ju({
802
+ function Ru(e, o) {
803
+ let { buttonRef: n, popoverRef: t, inputRef: u, listBoxRef: c, keyboardDelegate: $, layoutDelegate: r, shouldFocusWrap: l, isReadOnly: x, isDisabled: A } = e, C = T(null);
804
+ n = n ?? C;
805
+ let B = co(Ku(Zo), "@react-aria/combobox"), { menuTriggerProps: m, menuProps: g } = Xn({
806
806
  type: "listbox",
807
- isDisabled: v || x
808
- }, o, u);
809
- Nu.set(o, {
807
+ isDisabled: A || x
808
+ }, o, n);
809
+ jn.set(o, {
810
810
  id: g.id
811
811
  });
812
- let { collection: $ } = o, { disabledKeys: h } = o.selectionManager, p = ce(() => b || new cn({
813
- collection: $,
812
+ let { collection: f } = o, { disabledKeys: h } = o.selectionManager, b = ae(() => $ || new ru({
813
+ collection: f,
814
814
  disabledKeys: h,
815
- ref: r,
816
- layoutDelegate: c
815
+ ref: c,
816
+ layoutDelegate: r
817
817
  }), [
818
- b,
819
- c,
820
818
  $,
819
+ r,
820
+ f,
821
821
  h,
822
- r
823
- ]), { collectionProps: S } = rn({
822
+ c
823
+ ]), { collectionProps: S } = au({
824
824
  selectionManager: o.selectionManager,
825
- keyboardDelegate: p,
825
+ keyboardDelegate: b,
826
826
  disallowTypeAhead: !0,
827
827
  disallowEmptySelection: !0,
828
- shouldFocusWrap: i,
829
- ref: n,
828
+ shouldFocusWrap: l,
829
+ ref: u,
830
830
  // Prevent item scroll behavior from being applied here, should be handled in the user's Popover + ListBox component
831
831
  isVirtualized: !0
832
- }), K = hn(), j = (f) => {
833
- if (!f.nativeEvent.isComposing)
834
- switch (f.key) {
832
+ }), K = vu(), G = (p) => {
833
+ if (!p.nativeEvent.isComposing)
834
+ switch (p.key) {
835
835
  case "Enter":
836
836
  case "Tab":
837
- if (o.isOpen && f.key === "Enter" && f.preventDefault(), o.isOpen && r.current && o.selectionManager.focusedKey != null && o.selectionManager.isLink(o.selectionManager.focusedKey)) {
838
- let s = r.current.querySelector(`[data-key="${CSS.escape(o.selectionManager.focusedKey.toString())}"]`);
839
- if (f.key === "Enter" && s instanceof HTMLAnchorElement) {
840
- let B = o.collection.getItem(o.selectionManager.focusedKey);
841
- B && K.open(s, f, B.props.href, B.props.routerOptions);
837
+ if (o.isOpen && p.key === "Enter" && p.preventDefault(), o.isOpen && c.current && o.selectionManager.focusedKey != null && o.selectionManager.isLink(o.selectionManager.focusedKey)) {
838
+ let E = c.current.querySelector(`[data-key="${CSS.escape(o.selectionManager.focusedKey.toString())}"]`);
839
+ if (p.key === "Enter" && E instanceof HTMLAnchorElement) {
840
+ let d = o.collection.getItem(o.selectionManager.focusedKey);
841
+ d && K.open(E, p, d.props.href, d.props.routerOptions);
842
842
  }
843
843
  o.close();
844
844
  } else o.commit();
845
845
  break;
846
846
  case "Escape":
847
- (o.selectedKey !== null || o.inputValue === "" || e.allowsCustomValue) && f.continuePropagation(), o.revert();
847
+ (o.selectedKey !== null || o.inputValue === "" || e.allowsCustomValue) && p.continuePropagation(), o.revert();
848
848
  break;
849
849
  case "ArrowDown":
850
850
  o.open("first", "manual");
@@ -857,127 +857,127 @@ function Kn(e, o) {
857
857
  o.selectionManager.setFocusedKey(null);
858
858
  break;
859
859
  }
860
- }, L = (f) => {
861
- var s;
862
- let B = u?.current && u.current === f.relatedTarget, N = (s = l.current) === null || s === void 0 ? void 0 : s.contains(f.relatedTarget);
863
- B || N || (e.onBlur && e.onBlur(f), o.setFocused(!1));
864
- }, Z = (f) => {
865
- o.isFocused || (e.onFocus && e.onFocus(f), o.setFocused(!0));
866
- }, { isInvalid: z, validationErrors: W, validationDetails: U } = o.displayValidation, { labelProps: w, inputProps: R, descriptionProps: oe, errorMessageProps: M } = co({
860
+ }, D = (p) => {
861
+ var E;
862
+ let d = n?.current && n.current === p.relatedTarget, J = (E = t.current) === null || E === void 0 ? void 0 : E.contains(p.relatedTarget);
863
+ d || J || (e.onBlur && e.onBlur(p), o.setFocused(!1));
864
+ }, Q = (p) => {
865
+ o.isFocused || (e.onFocus && e.onFocus(p), o.setFocused(!0));
866
+ }, { isInvalid: z, validationErrors: q, validationDetails: N } = o.displayValidation, { labelProps: w, inputProps: oe, descriptionProps: V, errorMessageProps: j } = ro({
867
867
  ...e,
868
868
  onChange: o.setInputValue,
869
- onKeyDown: x ? e.onKeyDown : fn(o.isOpen && S.onKeyDown, j, e.onKeyDown),
870
- onBlur: L,
869
+ onKeyDown: x ? e.onKeyDown : mu(o.isOpen && S.onKeyDown, G, e.onKeyDown),
870
+ onBlur: D,
871
871
  value: o.inputValue,
872
872
  defaultValue: o.defaultInputValue,
873
- onFocus: Z,
873
+ onFocus: Q,
874
874
  autoComplete: "off",
875
875
  validate: void 0,
876
- [tn]: o
877
- }, n), Q = (f) => {
878
- if (f.pointerType === "touch") {
879
- var s;
880
- (s = n.current) === null || s === void 0 || s.focus(), o.toggle(null, "manual");
876
+ [iu]: o
877
+ }, u), W = (p) => {
878
+ if (p.pointerType === "touch") {
879
+ var E;
880
+ (E = u.current) === null || E === void 0 || E.focus(), o.toggle(null, "manual");
881
881
  }
882
- }, T = (f) => {
883
- if (f.pointerType !== "touch") {
884
- var s;
885
- (s = n.current) === null || s === void 0 || s.focus(), o.toggle(f.pointerType === "keyboard" || f.pointerType === "virtual" ? "first" : null, "manual");
882
+ }, F = (p) => {
883
+ if (p.pointerType !== "touch") {
884
+ var E;
885
+ (E = u.current) === null || E === void 0 || E.focus(), o.toggle(p.pointerType === "keyboard" || p.pointerType === "virtual" ? "first" : null, "manual");
886
886
  }
887
- }, t = Te({
887
+ }, i = Te({
888
888
  id: m.id,
889
- "aria-label": D.format("buttonLabel"),
889
+ "aria-label": B.format("buttonLabel"),
890
890
  "aria-labelledby": e["aria-labelledby"] || w.id
891
891
  }), a = Te({
892
892
  id: g.id,
893
- "aria-label": D.format("listboxLabel"),
893
+ "aria-label": B.format("listboxLabel"),
894
894
  "aria-labelledby": e["aria-labelledby"] || w.id
895
- }), E = F(0), G = (f) => {
896
- if (v || x) return;
897
- if (f.timeStamp - E.current < 500) {
898
- var s;
899
- f.preventDefault(), (s = n.current) === null || s === void 0 || s.focus();
895
+ }), v = T(0), M = (p) => {
896
+ if (A || x) return;
897
+ if (p.timeStamp - v.current < 500) {
898
+ var E;
899
+ p.preventDefault(), (E = u.current) === null || E === void 0 || E.focus();
900
900
  return;
901
901
  }
902
- let B = f.target.getBoundingClientRect(), N = f.changedTouches[0], q = Math.ceil(B.left + 0.5 * B.width), se = Math.ceil(B.top + 0.5 * B.height);
903
- if (N.clientX === q && N.clientY === se) {
904
- var de;
905
- f.preventDefault(), (de = n.current) === null || de === void 0 || de.focus(), o.toggle(null, "manual"), E.current = f.timeStamp;
902
+ let d = p.target.getBoundingClientRect(), J = p.changedTouches[0], Z = Math.ceil(d.left + 0.5 * d.width), ee = Math.ceil(d.top + 0.5 * d.height);
903
+ if (J.clientX === Z && J.clientY === ee) {
904
+ var le;
905
+ p.preventDefault(), (le = u.current) === null || le === void 0 || le.focus(), o.toggle(null, "manual"), v.current = p.timeStamp;
906
906
  }
907
- }, A = o.selectionManager.focusedKey != null && o.isOpen ? o.collection.getItem(o.selectionManager.focusedKey) : void 0;
907
+ }, L = o.selectionManager.focusedKey != null && o.isOpen ? o.collection.getItem(o.selectionManager.focusedKey) : void 0;
908
908
  var P;
909
- let O = (P = A?.parentKey) !== null && P !== void 0 ? P : null;
910
- var ne;
911
- let _ = (ne = o.selectionManager.focusedKey) !== null && ne !== void 0 ? ne : null, X = F(O), ue = F(_);
912
- te(() => {
913
- if (ye() && A != null && _ != null && _ !== ue.current) {
914
- let s = o.selectionManager.isSelected(_), B = O != null ? o.collection.getItem(O) : null, N = B?.["aria-label"] || (typeof B?.rendered == "string" ? B.rendered : "") || "";
915
- var f;
916
- let q = D.format("focusAnnouncement", {
917
- isGroupChange: (f = B && O !== X.current) !== null && f !== void 0 ? f : !1,
918
- groupTitle: N,
919
- groupCount: B ? [
920
- ...uo(B, o.collection)
909
+ let R = (P = L?.parentKey) !== null && P !== void 0 ? P : null;
910
+ var H;
911
+ let _ = (H = o.selectionManager.focusedKey) !== null && H !== void 0 ? H : null, ie = T(R), U = T(_);
912
+ ue(() => {
913
+ if (ye() && L != null && _ != null && _ !== U.current) {
914
+ let E = o.selectionManager.isSelected(_), d = R != null ? o.collection.getItem(R) : null, J = d?.["aria-label"] || (typeof d?.rendered == "string" ? d.rendered : "") || "";
915
+ var p;
916
+ let Z = B.format("focusAnnouncement", {
917
+ isGroupChange: (p = d && R !== ie.current) !== null && p !== void 0 ? p : !1,
918
+ groupTitle: J,
919
+ groupCount: d ? [
920
+ ...uo(d, o.collection)
921
921
  ].length : 0,
922
- optionText: A["aria-label"] || A.textValue || "",
923
- isSelected: s
922
+ optionText: L["aria-label"] || L.textValue || "",
923
+ isSelected: E
924
924
  });
925
- ve(q);
925
+ ve(Z);
926
926
  }
927
- X.current = O, ue.current = _;
927
+ ie.current = R, U.current = _;
928
928
  });
929
- let ee = En(o.collection), re = F(ee), ae = F(o.isOpen);
930
- te(() => {
931
- let f = o.isOpen !== ae.current && (o.selectionManager.focusedKey == null || ye());
932
- if (o.isOpen && (f || ee !== re.current)) {
933
- let s = D.format("countAnnouncement", {
934
- optionCount: ee
929
+ let ne = Bu(o.collection), ce = T(ne), se = T(o.isOpen);
930
+ ue(() => {
931
+ let p = o.isOpen !== se.current && (o.selectionManager.focusedKey == null || ye());
932
+ if (o.isOpen && (p || ne !== ce.current)) {
933
+ let E = B.format("countAnnouncement", {
934
+ optionCount: ne
935
935
  });
936
- ve(s);
936
+ ve(E);
937
937
  }
938
- re.current = ee, ae.current = o.isOpen;
938
+ ce.current = ne, se.current = o.isOpen;
939
939
  });
940
- let Y = F(o.selectedKey);
941
- return te(() => {
942
- if (ye() && o.isFocused && o.selectedItem && o.selectedKey !== Y.current) {
943
- let f = o.selectedItem["aria-label"] || o.selectedItem.textValue || "", s = D.format("selectedAnnouncement", {
944
- optionText: f
940
+ let de = T(o.selectedKey);
941
+ return ue(() => {
942
+ if (ye() && o.isFocused && o.selectedItem && o.selectedKey !== de.current) {
943
+ let p = o.selectedItem["aria-label"] || o.selectedItem.textValue || "", E = B.format("selectedAnnouncement", {
944
+ optionText: p
945
945
  });
946
- ve(s);
946
+ ve(E);
947
947
  }
948
- Y.current = o.selectedKey;
949
- }), te(() => {
950
- if (o.isOpen) return Zu([
951
- n.current,
952
- l.current
953
- ].filter((f) => f != null));
948
+ de.current = o.selectedKey;
949
+ }), ue(() => {
950
+ if (o.isOpen) return Yn([
951
+ u.current,
952
+ t.current
953
+ ].filter((p) => p != null));
954
954
  }, [
955
955
  o.isOpen,
956
- n,
957
- l
958
- ]), vn(() => {
959
- !A && n.current && ge(lo(n.current)) === n.current && Be(n.current, null);
956
+ u,
957
+ t
958
+ ]), yu(() => {
959
+ !L && u.current && ge(io(u.current)) === u.current && Be(u.current, null);
960
960
  }, [
961
- A
961
+ L
962
962
  ]), {
963
963
  labelProps: w,
964
964
  buttonProps: {
965
965
  ...m,
966
- ...t,
966
+ ...i,
967
967
  excludeFromTabOrder: !0,
968
968
  preventFocusOnPress: !0,
969
- onPress: Q,
970
- onPressStart: T,
971
- isDisabled: v || x
969
+ onPress: W,
970
+ onPressStart: F,
971
+ isDisabled: A || x
972
972
  },
973
- inputProps: pe(R, {
973
+ inputProps: pe(oe, {
974
974
  role: "combobox",
975
975
  "aria-expanded": m["aria-expanded"],
976
976
  "aria-controls": o.isOpen ? g.id : void 0,
977
977
  // TODO: readd proper logic for completionMode = complete (aria-autocomplete: both)
978
978
  "aria-autocomplete": "list",
979
- "aria-activedescendant": A ? ju(o, A.key) : void 0,
980
- onTouchEnd: G,
979
+ "aria-activedescendant": L ? Un(o, L.key) : void 0,
980
+ onTouchEnd: M,
981
981
  // This disable's iOS's autocorrect suggestions, since the combo box provides its own suggestions.
982
982
  autoCorrect: "off",
983
983
  // This disable's the macOS Safari spell check auto corrections.
@@ -990,250 +990,250 @@ function Kn(e, o) {
990
990
  shouldFocusOnHover: !0,
991
991
  linkBehavior: "selection"
992
992
  }),
993
- descriptionProps: oe,
994
- errorMessageProps: M,
993
+ descriptionProps: V,
994
+ errorMessageProps: j,
995
995
  isInvalid: z,
996
- validationErrors: W,
997
- validationDetails: U
996
+ validationErrors: q,
997
+ validationDetails: N
998
998
  };
999
999
  }
1000
- var Zo = {};
1001
- Zo = {
1002
- collectionLabel: "مقترحات"
1003
- };
1004
1000
  var Xo = {};
1005
1001
  Xo = {
1006
- collectionLabel: "Предложения"
1002
+ collectionLabel: "مقترحات"
1007
1003
  };
1008
1004
  var Yo = {};
1009
1005
  Yo = {
1010
- collectionLabel: "Návrhy"
1006
+ collectionLabel: "Предложения"
1011
1007
  };
1012
1008
  var Qo = {};
1013
1009
  Qo = {
1014
- collectionLabel: "Forslag"
1010
+ collectionLabel: "Návrhy"
1015
1011
  };
1016
1012
  var _o = {};
1017
1013
  _o = {
1014
+ collectionLabel: "Forslag"
1015
+ };
1016
+ var en = {};
1017
+ en = {
1018
1018
  collectionLabel: "Empfehlungen"
1019
1019
  };
1020
- var eu = {};
1021
- eu = {
1020
+ var on = {};
1021
+ on = {
1022
1022
  collectionLabel: "Προτάσεις"
1023
1023
  };
1024
- var ou = {};
1025
- ou = {
1024
+ var nn = {};
1025
+ nn = {
1026
1026
  collectionLabel: "Suggestions"
1027
1027
  };
1028
- var uu = {};
1029
- uu = {
1028
+ var un = {};
1029
+ un = {
1030
1030
  collectionLabel: "Sugerencias"
1031
1031
  };
1032
- var nu = {};
1033
- nu = {
1032
+ var tn = {};
1033
+ tn = {
1034
1034
  collectionLabel: "Soovitused"
1035
1035
  };
1036
- var tu = {};
1037
- tu = {
1036
+ var ln = {};
1037
+ ln = {
1038
1038
  collectionLabel: "Ehdotukset"
1039
1039
  };
1040
- var lu = {};
1041
- lu = {
1040
+ var cn = {};
1041
+ cn = {
1042
1042
  collectionLabel: "Suggestions"
1043
1043
  };
1044
- var iu = {};
1045
- iu = {
1044
+ var rn = {};
1045
+ rn = {
1046
1046
  collectionLabel: "הצעות"
1047
1047
  };
1048
- var cu = {};
1049
- cu = {
1048
+ var an = {};
1049
+ an = {
1050
1050
  collectionLabel: "Prijedlozi"
1051
1051
  };
1052
- var ru = {};
1053
- ru = {
1052
+ var sn = {};
1053
+ sn = {
1054
1054
  collectionLabel: "Javaslatok"
1055
1055
  };
1056
- var au = {};
1057
- au = {
1056
+ var dn = {};
1057
+ dn = {
1058
1058
  collectionLabel: "Suggerimenti"
1059
1059
  };
1060
- var su = {};
1061
- su = {
1060
+ var pn = {};
1061
+ pn = {
1062
1062
  collectionLabel: "候補"
1063
1063
  };
1064
- var du = {};
1065
- du = {
1064
+ var $n = {};
1065
+ $n = {
1066
1066
  collectionLabel: "제안"
1067
1067
  };
1068
- var pu = {};
1069
- pu = {
1068
+ var bn = {};
1069
+ bn = {
1070
1070
  collectionLabel: "Pasiūlymai"
1071
1071
  };
1072
- var $u = {};
1073
- $u = {
1072
+ var fn = {};
1073
+ fn = {
1074
1074
  collectionLabel: "Ieteikumi"
1075
1075
  };
1076
- var bu = {};
1077
- bu = {
1076
+ var mn = {};
1077
+ mn = {
1078
1078
  collectionLabel: "Forslag"
1079
1079
  };
1080
- var fu = {};
1081
- fu = {
1080
+ var xn = {};
1081
+ xn = {
1082
1082
  collectionLabel: "Suggesties"
1083
1083
  };
1084
- var Cu = {};
1085
- Cu = {
1084
+ var Cn = {};
1085
+ Cn = {
1086
1086
  collectionLabel: "Sugestie"
1087
1087
  };
1088
- var xu = {};
1089
- xu = {
1088
+ var hn = {};
1089
+ hn = {
1090
1090
  collectionLabel: "Sugestões"
1091
1091
  };
1092
- var mu = {};
1093
- mu = {
1092
+ var vn = {};
1093
+ vn = {
1094
1094
  collectionLabel: "Sugestões"
1095
1095
  };
1096
- var hu = {};
1097
- hu = {
1096
+ var yn = {};
1097
+ yn = {
1098
1098
  collectionLabel: "Sugestii"
1099
1099
  };
1100
- var vu = {};
1101
- vu = {
1100
+ var An = {};
1101
+ An = {
1102
1102
  collectionLabel: "Предложения"
1103
1103
  };
1104
- var yu = {};
1105
- yu = {
1104
+ var En = {};
1105
+ En = {
1106
1106
  collectionLabel: "Návrhy"
1107
1107
  };
1108
- var Au = {};
1109
- Au = {
1108
+ var Bn = {};
1109
+ Bn = {
1110
1110
  collectionLabel: "Predlogi"
1111
1111
  };
1112
- var Eu = {};
1113
- Eu = {
1112
+ var gn = {};
1113
+ gn = {
1114
1114
  collectionLabel: "Predlozi"
1115
1115
  };
1116
- var Bu = {};
1117
- Bu = {
1116
+ var Tn = {};
1117
+ Tn = {
1118
1118
  collectionLabel: "Förslag"
1119
1119
  };
1120
- var gu = {};
1121
- gu = {
1120
+ var Fn = {};
1121
+ Fn = {
1122
1122
  collectionLabel: "Öneriler"
1123
1123
  };
1124
- var Tu = {};
1125
- Tu = {
1124
+ var Sn = {};
1125
+ Sn = {
1126
1126
  collectionLabel: "Пропозиції"
1127
1127
  };
1128
- var Fu = {};
1129
- Fu = {
1128
+ var Dn = {};
1129
+ Dn = {
1130
1130
  collectionLabel: "建议"
1131
1131
  };
1132
- var Du = {};
1133
- Du = {
1132
+ var Ln = {};
1133
+ Ln = {
1134
1134
  collectionLabel: "建議"
1135
1135
  };
1136
- var Su = {};
1137
- Su = {
1138
- "ar-AE": Zo,
1139
- "bg-BG": Xo,
1140
- "cs-CZ": Yo,
1141
- "da-DK": Qo,
1142
- "de-DE": _o,
1143
- "el-GR": eu,
1144
- "en-US": ou,
1145
- "es-ES": uu,
1146
- "et-EE": nu,
1147
- "fi-FI": tu,
1148
- "fr-FR": lu,
1149
- "he-IL": iu,
1150
- "hr-HR": cu,
1151
- "hu-HU": ru,
1152
- "it-IT": au,
1153
- "ja-JP": su,
1154
- "ko-KR": du,
1155
- "lt-LT": pu,
1156
- "lv-LV": $u,
1157
- "nb-NO": bu,
1158
- "nl-NL": fu,
1159
- "pl-PL": Cu,
1160
- "pt-BR": xu,
1161
- "pt-PT": mu,
1162
- "ro-RO": hu,
1163
- "ru-RU": vu,
1164
- "sk-SK": yu,
1165
- "sl-SI": Au,
1166
- "sr-SP": Eu,
1167
- "sv-SE": Bu,
1168
- "tr-TR": gu,
1169
- "uk-UA": Tu,
1170
- "zh-CN": Fu,
1171
- "zh-TW": Du
1172
- };
1173
- function Rn(e) {
1136
+ var Pn = {};
1137
+ Pn = {
1138
+ "ar-AE": Xo,
1139
+ "bg-BG": Yo,
1140
+ "cs-CZ": Qo,
1141
+ "da-DK": _o,
1142
+ "de-DE": en,
1143
+ "el-GR": on,
1144
+ "en-US": nn,
1145
+ "es-ES": un,
1146
+ "et-EE": tn,
1147
+ "fi-FI": ln,
1148
+ "fr-FR": cn,
1149
+ "he-IL": rn,
1150
+ "hr-HR": an,
1151
+ "hu-HU": sn,
1152
+ "it-IT": dn,
1153
+ "ja-JP": pn,
1154
+ "ko-KR": $n,
1155
+ "lt-LT": bn,
1156
+ "lv-LV": fn,
1157
+ "nb-NO": mn,
1158
+ "nl-NL": xn,
1159
+ "pl-PL": Cn,
1160
+ "pt-BR": hn,
1161
+ "pt-PT": vn,
1162
+ "ro-RO": yn,
1163
+ "ru-RU": An,
1164
+ "sk-SK": En,
1165
+ "sl-SI": Bn,
1166
+ "sr-SP": gn,
1167
+ "sv-SE": Tn,
1168
+ "tr-TR": Fn,
1169
+ "uk-UA": Sn,
1170
+ "zh-CN": Dn,
1171
+ "zh-TW": Ln
1172
+ };
1173
+ function Ou(e) {
1174
1174
  return e && e.__esModule ? e.default : e;
1175
1175
  }
1176
- function On(e, o) {
1177
- let { inputRef: u, collectionRef: l, filter: n, disableAutoFocusFirst: r = !1, disableVirtualFocus: b = !1 } = e, c = Cn(), i = F(void 0), x = F(!1), v = F(null), C = F(null), m = !(Dn() === "virtual" && (yn() || An())) && !b;
1178
- te(() => () => clearTimeout(i.current), []);
1179
- let g = be((t) => {
1180
- !t.isTrusted && m && u.current && ge(lo(u.current)) !== u.current && u.current.focus();
1181
- let a = t.target;
1182
- t.isTrusted || !a || v.current === a.id || (clearTimeout(i.current), a !== l.current ? x.current ? (v.current = a.id, i.current = setTimeout(() => {
1176
+ function Vu(e, o) {
1177
+ let { inputRef: n, collectionRef: t, filter: u, disableAutoFocusFirst: c = !1, disableVirtualFocus: $ = !1 } = e, r = xu(), l = T(void 0), x = T(!1), A = T(null), C = T(null), m = !(Du() === "virtual" && (Au() || Eu())) && !$;
1178
+ ue(() => () => clearTimeout(l.current), []);
1179
+ let g = be((i) => {
1180
+ !i.isTrusted && m && n.current && ge(io(n.current)) !== n.current && n.current.focus();
1181
+ let a = i.target;
1182
+ i.isTrusted || !a || A.current === a.id || (clearTimeout(l.current), a !== t.current ? x.current ? (A.current = a.id, l.current = setTimeout(() => {
1183
1183
  o.setFocusedNodeId(a.id);
1184
- }, 500)) : (v.current = a.id, o.setFocusedNodeId(a.id)) : (v.current = null, o.setFocusedNodeId(null)), x.current = !1);
1185
- }), $ = V((t) => {
1184
+ }, 500)) : (A.current = a.id, o.setFocusedNodeId(a.id)) : (A.current = null, o.setFocusedNodeId(null)), x.current = !1);
1185
+ }), f = O((i) => {
1186
1186
  var a;
1187
- if (t != null) {
1188
- var E;
1189
- (E = C.current) === null || E === void 0 || E.removeEventListener("focusin", g), C.current = t, t.addEventListener("focusin", g);
1187
+ if (i != null) {
1188
+ var v;
1189
+ (v = C.current) === null || v === void 0 || v.removeEventListener("focusin", g), C.current = i, i.addEventListener("focusin", g);
1190
1190
  } else (a = C.current) === null || a === void 0 || a.removeEventListener("focusin", g);
1191
1191
  }, [
1192
1192
  g
1193
- ]), h = $o(ce(() => qe(l, $), [
1194
- l,
1195
- $
1196
- ])), p = be(() => {
1197
- var t;
1198
- x.current = !0, (t = l.current) === null || t === void 0 || t.dispatchEvent(new CustomEvent(Me, {
1193
+ ]), h = bo(ae(() => We(t, f), [
1194
+ t,
1195
+ f
1196
+ ])), b = be(() => {
1197
+ var i;
1198
+ x.current = !0, (i = t.current) === null || i === void 0 || i.dispatchEvent(new CustomEvent(Me, {
1199
1199
  cancelable: !0,
1200
1200
  bubbles: !0,
1201
1201
  detail: {
1202
1202
  focusStrategy: "first"
1203
1203
  }
1204
1204
  }));
1205
- }), S = be((t) => {
1205
+ }), S = be((i) => {
1206
1206
  var a;
1207
- an(ge()), v.current = null, o.setFocusedNodeId(null);
1208
- let E = new CustomEvent(sn, {
1207
+ su(ge()), A.current = null, o.setFocusedNodeId(null);
1208
+ let v = new CustomEvent(du, {
1209
1209
  cancelable: !0,
1210
1210
  bubbles: !0,
1211
1211
  detail: {
1212
- clearFocusKey: t
1212
+ clearFocusKey: i
1213
1213
  }
1214
1214
  });
1215
- clearTimeout(i.current), x.current = !1, (a = l.current) === null || a === void 0 || a.dispatchEvent(E);
1216
- }), K = F("");
1217
- Fn(u, "input", (t) => {
1218
- let { inputType: a } = t;
1215
+ clearTimeout(l.current), x.current = !1, (a = t.current) === null || a === void 0 || a.dispatchEvent(v);
1216
+ }), K = T("");
1217
+ Su(n, "input", (i) => {
1218
+ let { inputType: a } = i;
1219
1219
  K.current = a;
1220
1220
  });
1221
- let j = (t) => {
1222
- K.current === "insertText" && !r ? p() : (K.current.includes("insert") || K.current.includes("delete") || K.current.includes("history")) && (S(!0), pn(document) === u.current && Be(u.current, null)), o.setInputValue(t);
1223
- }, L = F(null), Z = (t) => {
1224
- if (L.current = t.target, t.nativeEvent.isComposing) return;
1225
- let a = v.current;
1226
- switch (t.key) {
1221
+ let G = (i) => {
1222
+ K.current === "insertText" && !c ? b() : (K.current.includes("insert") || K.current.includes("delete") || K.current.includes("history")) && (S(!0), $u(document) === n.current && Be(n.current, null)), o.setInputValue(i);
1223
+ }, D = T(null), Q = (i) => {
1224
+ if (D.current = i.target, i.nativeEvent.isComposing) return;
1225
+ let a = A.current;
1226
+ switch (i.key) {
1227
1227
  case "a":
1228
- if (dn(t)) return;
1228
+ if (pu(i)) return;
1229
1229
  break;
1230
1230
  case "Escape":
1231
- if (t.isDefaultPrevented()) return;
1231
+ if (i.isDefaultPrevented()) return;
1232
1232
  break;
1233
1233
  case " ":
1234
1234
  return;
1235
1235
  case "Tab":
1236
- "continuePropagation" in t && t.continuePropagation();
1236
+ "continuePropagation" in i && i.continuePropagation();
1237
1237
  return;
1238
1238
  case "Home":
1239
1239
  case "End":
@@ -1241,28 +1241,28 @@ function On(e, o) {
1241
1241
  case "PageUp":
1242
1242
  case "ArrowUp":
1243
1243
  case "ArrowDown": {
1244
- var E;
1245
- if ((t.key === "Home" || t.key === "End") && a == null && t.shiftKey) return;
1246
- t.preventDefault();
1244
+ var v;
1245
+ if ((i.key === "Home" || i.key === "End") && a == null && i.shiftKey) return;
1246
+ i.preventDefault();
1247
1247
  let P = new CustomEvent(Me, {
1248
1248
  cancelable: !0,
1249
1249
  bubbles: !0
1250
1250
  });
1251
- (E = l.current) === null || E === void 0 || E.dispatchEvent(P);
1251
+ (v = t.current) === null || v === void 0 || v.dispatchEvent(P);
1252
1252
  break;
1253
1253
  }
1254
1254
  }
1255
- t.isPropagationStopped() || t.stopPropagation();
1256
- let G = !0;
1257
- if (l.current !== null) {
1258
- var A;
1259
- if (a == null) G = ((A = l.current) === null || A === void 0 ? void 0 : A.dispatchEvent(new KeyboardEvent(t.nativeEvent.type, t.nativeEvent))) || !1;
1255
+ i.isPropagationStopped() || i.stopPropagation();
1256
+ let M = !0;
1257
+ if (t.current !== null) {
1258
+ var L;
1259
+ if (a == null) M = ((L = t.current) === null || L === void 0 ? void 0 : L.dispatchEvent(new KeyboardEvent(i.nativeEvent.type, i.nativeEvent))) || !1;
1260
1260
  else {
1261
1261
  let P = document.getElementById(a);
1262
- G = P?.dispatchEvent(new KeyboardEvent(t.nativeEvent.type, t.nativeEvent)) || !1;
1262
+ M = P?.dispatchEvent(new KeyboardEvent(i.nativeEvent.type, i.nativeEvent)) || !1;
1263
1263
  }
1264
1264
  }
1265
- if (G) switch (t.key) {
1265
+ if (M) switch (i.key) {
1266
1266
  case "ArrowLeft":
1267
1267
  case "ArrowRight":
1268
1268
  S();
@@ -1275,59 +1275,59 @@ function On(e, o) {
1275
1275
  break;
1276
1276
  }
1277
1277
  else
1278
- t.preventDefault();
1279
- }, z = be((t) => {
1280
- if (t.target === L.current) {
1278
+ i.preventDefault();
1279
+ }, z = be((i) => {
1280
+ if (i.target === D.current) {
1281
1281
  var a;
1282
- t.stopImmediatePropagation();
1283
- let E = v.current;
1284
- if (E == null) (a = l.current) === null || a === void 0 || a.dispatchEvent(new KeyboardEvent(t.type, t));
1282
+ i.stopImmediatePropagation();
1283
+ let v = A.current;
1284
+ if (v == null) (a = t.current) === null || a === void 0 || a.dispatchEvent(new KeyboardEvent(i.type, i));
1285
1285
  else {
1286
- let G = document.getElementById(E);
1287
- G?.dispatchEvent(new KeyboardEvent(t.type, t));
1286
+ let M = document.getElementById(v);
1287
+ M?.dispatchEvent(new KeyboardEvent(i.type, i));
1288
1288
  }
1289
1289
  }
1290
1290
  });
1291
- te(() => (document.addEventListener("keyup", z, !0), () => {
1291
+ ue(() => (document.addEventListener("keyup", z, !0), () => {
1292
1292
  document.removeEventListener("keyup", z, !0);
1293
1293
  }), [
1294
1294
  z
1295
1295
  ]);
1296
- let W = io(Rn(Su), "@react-aria/autocomplete"), U = Te({
1297
- id: c,
1298
- "aria-label": W.format("collectionLabel")
1299
- }), w = V((t, a) => n ? n(t, o.inputValue, a) : !0, [
1296
+ let q = co(Ou(Pn), "@react-aria/autocomplete"), N = Te({
1297
+ id: r,
1298
+ "aria-label": q.format("collectionLabel")
1299
+ }), w = O((i, a) => u ? u(i, o.inputValue, a) : !0, [
1300
1300
  o.inputValue,
1301
- n
1302
- ]), R = (t) => {
1303
- if (!t.isTrusted) return;
1304
- let a = v.current ? document.getElementById(v.current) : null;
1305
- a && Ge(a, t.relatedTarget);
1306
- }, oe = (t) => {
1307
- if (!t.isTrusted) return;
1308
- let a = v.current ? document.getElementById(v.current) : null;
1301
+ u
1302
+ ]), oe = (i) => {
1303
+ if (!i.isTrusted) return;
1304
+ let a = A.current ? document.getElementById(A.current) : null;
1305
+ a && Ge(a, i.relatedTarget);
1306
+ }, V = (i) => {
1307
+ if (!i.isTrusted) return;
1308
+ let a = A.current ? document.getElementById(A.current) : null;
1309
1309
  if (a) {
1310
- let E = t.target;
1310
+ let v = i.target;
1311
1311
  queueMicrotask(() => {
1312
- Ge(E, a), Be(a, E);
1312
+ Ge(v, a), Be(a, v);
1313
1313
  });
1314
1314
  }
1315
- }, M = {
1315
+ }, j = {
1316
1316
  value: o.inputValue,
1317
- onChange: j
1317
+ onChange: G
1318
1318
  };
1319
- var Q;
1320
- let T = {
1321
- onKeyDown: Z,
1322
- "aria-activedescendant": (Q = o.focusedNodeId) !== null && Q !== void 0 ? Q : void 0,
1323
- onBlur: R,
1324
- onFocus: oe
1319
+ var W;
1320
+ let F = {
1321
+ onKeyDown: Q,
1322
+ "aria-activedescendant": (W = o.focusedNodeId) !== null && W !== void 0 ? W : void 0,
1323
+ onBlur: oe,
1324
+ onFocus: V
1325
1325
  };
1326
- return c && (M = {
1327
- ...M,
1328
- ...m && T,
1326
+ return r && (j = {
1327
+ ...j,
1328
+ ...m && F,
1329
1329
  enterKeyHint: "go",
1330
- "aria-controls": c,
1330
+ "aria-controls": r,
1331
1331
  // TODO: readd proper logic for completionMode = complete (aria-autocomplete: both)
1332
1332
  "aria-autocomplete": "list",
1333
1333
  // This disable's iOS's autocorrect suggestions, since the autocomplete provides its own suggestions.
@@ -1336,316 +1336,316 @@ function On(e, o) {
1336
1336
  spellCheck: "false",
1337
1337
  autoComplete: "off"
1338
1338
  }), {
1339
- inputProps: M,
1340
- collectionProps: pe(U, {
1339
+ inputProps: j,
1340
+ collectionProps: pe(N, {
1341
1341
  shouldUseVirtualFocus: m,
1342
1342
  disallowTypeAhead: !0
1343
1343
  }),
1344
1344
  collectionRef: h,
1345
- filter: n != null ? w : void 0
1345
+ filter: u != null ? w : void 0
1346
1346
  };
1347
1347
  }
1348
- function Vn(e) {
1349
- let { onInputChange: o, inputValue: u, defaultInputValue: l = "" } = e, n = (x) => {
1348
+ function Mu(e) {
1349
+ let { onInputChange: o, inputValue: n, defaultInputValue: t = "" } = e, u = (x) => {
1350
1350
  o && o(x);
1351
- }, [r, b] = H(null), [c, i] = to(u, l, n);
1351
+ }, [c, $] = X(null), [r, l] = lo(n, t, u);
1352
1352
  return {
1353
- inputValue: c,
1354
- setInputValue: i,
1355
- focusedNodeId: r,
1356
- setFocusedNodeId: b
1353
+ inputValue: r,
1354
+ setInputValue: l,
1355
+ focusedNodeId: c,
1356
+ setFocusedNodeId: $
1357
1357
  };
1358
1358
  }
1359
- const Mn = /* @__PURE__ */ $e(null), Gn = /* @__PURE__ */ $e(null);
1360
- function Nn(e) {
1361
- let o = De(Mn, e.slot);
1359
+ const Gu = /* @__PURE__ */ $e(null), zu = /* @__PURE__ */ $e(null);
1360
+ function Nu(e) {
1361
+ let o = Se(Gu, e.slot);
1362
1362
  e = pe(o, e);
1363
- let { filter: u, disableAutoFocusFirst: l } = e, n = Vn(e), r = F(null), b = F(null), { inputProps: c, collectionProps: i, collectionRef: x, filter: v } = On({
1364
- ...Se(e),
1365
- filter: u,
1366
- disableAutoFocusFirst: l,
1367
- inputRef: r,
1368
- collectionRef: b
1369
- }, n);
1370
- return /* @__PURE__ */ J.createElement(Le, {
1363
+ let { filter: n, disableAutoFocusFirst: t } = e, u = Mu(e), c = T(null), $ = T(null), { inputProps: r, collectionProps: l, collectionRef: x, filter: A } = Vu({
1364
+ ...De(e),
1365
+ filter: n,
1366
+ disableAutoFocusFirst: t,
1367
+ inputRef: c,
1368
+ collectionRef: $
1369
+ }, u);
1370
+ return /* @__PURE__ */ Y.createElement(Le, {
1371
1371
  values: [
1372
1372
  [
1373
- Gn,
1374
- n
1373
+ zu,
1374
+ u
1375
1375
  ],
1376
1376
  [
1377
- no,
1377
+ to,
1378
1378
  {
1379
- ...c,
1380
- ref: r
1379
+ ...r,
1380
+ ref: c
1381
1381
  }
1382
1382
  ],
1383
1383
  [
1384
- $n,
1384
+ bu,
1385
1385
  {
1386
- ...i,
1387
- filter: v,
1386
+ ...l,
1387
+ filter: A,
1388
1388
  ref: x
1389
1389
  }
1390
1390
  ]
1391
1391
  ]
1392
1392
  }, e.children);
1393
1393
  }
1394
- function jn(e) {
1394
+ function ju(e) {
1395
1395
  var o;
1396
- let { defaultFilter: u, menuTrigger: l = "input", allowsEmptyCollection: n = !1, allowsCustomValue: r, shouldCloseOnBlur: b = !0 } = e, [c, i] = H(!1), [x, v] = H(!1), [C, D] = H(null), m = (y) => {
1397
- e.onSelectionChange && e.onSelectionChange(y), y === p && (ne(), A());
1396
+ let { defaultFilter: n, menuTrigger: t = "input", allowsEmptyCollection: u = !1, allowsCustomValue: c, shouldCloseOnBlur: $ = !0 } = e, [r, l] = X(!1), [x, A] = X(!1), [C, B] = X(null), m = (y) => {
1397
+ e.onSelectionChange && e.onSelectionChange(y), y === b && (H(), L());
1398
1398
  };
1399
1399
  var g;
1400
- let { collection: $, selectionManager: h, selectedKey: p, setSelectedKey: S, selectedItem: K, disabledKeys: j } = bn({
1400
+ let { collection: f, selectionManager: h, selectedKey: b, setSelectedKey: S, selectedItem: K, disabledKeys: G } = fu({
1401
1401
  ...e,
1402
1402
  onSelectionChange: m,
1403
1403
  items: (g = e.items) !== null && g !== void 0 ? g : e.defaultItems
1404
- }), [L, Z] = to(e.inputValue, Ne(e.defaultInputValue, p, $) || "", e.onInputChange), [z] = H(p), [W] = H(L), U = $, w = ce(() => (
1404
+ }), [D, Q] = lo(e.inputValue, ze(e.defaultInputValue, b, f) || "", e.onInputChange), [z] = X(b), [q] = X(D), N = f, w = ae(() => (
1405
1405
  // No default filter if items are controlled.
1406
- e.items != null || !u ? $ : zn($, L, u)
1406
+ e.items != null || !n ? f : Uu(f, D, n)
1407
1407
  ), [
1408
- $,
1409
- L,
1410
- u,
1408
+ f,
1409
+ D,
1410
+ n,
1411
1411
  e.items
1412
- ]), [R, oe] = H(w), M = F("focus"), T = un({
1412
+ ]), [oe, V] = X(w), j = T("focus"), F = tu({
1413
1413
  ...e,
1414
1414
  onOpenChange: (y) => {
1415
- e.onOpenChange && e.onOpenChange(y, y ? M.current : void 0), h.setFocused(y), y || h.setFocusedKey(null);
1415
+ e.onOpenChange && e.onOpenChange(y, y ? j.current : void 0), h.setFocused(y), y || h.setFocusedKey(null);
1416
1416
  },
1417
1417
  isOpen: void 0,
1418
1418
  defaultOpen: void 0
1419
- }), t = (y = null, I) => {
1420
- let k = I === "manual" || I === "focus" && l === "focus";
1421
- (n || w.size > 0 || k && U.size > 0 || e.items) && (k && !T.isOpen && e.items === void 0 && i(!0), M.current = I, D(y), T.open());
1419
+ }), i = (y = null, I) => {
1420
+ let k = I === "manual" || I === "focus" && t === "focus";
1421
+ (u || w.size > 0 || k && N.size > 0 || e.items) && (k && !F.isOpen && e.items === void 0 && l(!0), j.current = I, B(y), F.open());
1422
1422
  }, a = (y = null, I) => {
1423
- let k = I === "manual" || I === "focus" && l === "focus";
1424
- !(n || w.size > 0 || k && U.size > 0 || e.items) && !T.isOpen || (k && !T.isOpen && e.items === void 0 && i(!0), T.isOpen || (M.current = I), G(y));
1425
- }, E = V(() => {
1426
- oe(c ? U : w);
1423
+ let k = I === "manual" || I === "focus" && t === "focus";
1424
+ !(u || w.size > 0 || k && N.size > 0 || e.items) && !F.isOpen || (k && !F.isOpen && e.items === void 0 && l(!0), F.isOpen || (j.current = I), M(y));
1425
+ }, v = O(() => {
1426
+ V(r ? N : w);
1427
1427
  }, [
1428
- c,
1429
- U,
1428
+ r,
1429
+ N,
1430
1430
  w
1431
- ]), G = V((y = null) => {
1432
- T.isOpen && E(), D(y), T.toggle();
1431
+ ]), M = O((y = null) => {
1432
+ F.isOpen && v(), B(y), F.toggle();
1433
1433
  }, [
1434
- T,
1435
- E
1436
- ]), A = V(() => {
1437
- T.isOpen && (E(), T.close());
1434
+ F,
1435
+ v
1436
+ ]), L = O(() => {
1437
+ F.isOpen && (v(), F.close());
1438
1438
  }, [
1439
- T,
1440
- E
1441
- ]), [P, O] = H(L), ne = () => {
1439
+ F,
1440
+ v
1441
+ ]), [P, R] = X(D), H = () => {
1442
1442
  var y, I;
1443
- let k = p != null && (I = (y = $.getItem(p)) === null || y === void 0 ? void 0 : y.textValue) !== null && I !== void 0 ? I : "";
1444
- O(k), Z(k);
1443
+ let k = b != null && (I = (y = f.getItem(b)) === null || y === void 0 ? void 0 : y.textValue) !== null && I !== void 0 ? I : "";
1444
+ R(k), Q(k);
1445
1445
  };
1446
- var _, X;
1447
- let ue = F((X = (_ = e.selectedKey) !== null && _ !== void 0 ? _ : e.defaultSelectedKey) !== null && X !== void 0 ? X : null);
1448
- var ee;
1449
- let re = F(p != null && (ee = (o = $.getItem(p)) === null || o === void 0 ? void 0 : o.textValue) !== null && ee !== void 0 ? ee : "");
1450
- te(() => {
1446
+ var _, ie;
1447
+ let U = T((ie = (_ = e.selectedKey) !== null && _ !== void 0 ? _ : e.defaultSelectedKey) !== null && ie !== void 0 ? ie : null);
1448
+ var ne;
1449
+ let ce = T(b != null && (ne = (o = f.getItem(b)) === null || o === void 0 ? void 0 : o.textValue) !== null && ne !== void 0 ? ne : "");
1450
+ ue(() => {
1451
1451
  var y;
1452
- x && (w.size > 0 || n) && !T.isOpen && L !== P && l !== "manual" && t(null, "input"), !c && !n && T.isOpen && w.size === 0 && A(), p != null && p !== ue.current && A(), L !== P && (h.setFocusedKey(null), i(!1), L === "" && (e.inputValue === void 0 || e.selectedKey === void 0) && S(null)), p !== ue.current && (e.inputValue === void 0 || e.selectedKey === void 0) ? ne() : P !== L && O(L);
1452
+ x && (w.size > 0 || u) && !F.isOpen && D !== P && t !== "manual" && i(null, "input"), !r && !u && F.isOpen && w.size === 0 && L(), b != null && b !== U.current && L(), D !== P && (h.setFocusedKey(null), l(!1), D === "" && (e.inputValue === void 0 || e.selectedKey === void 0) && S(null)), b !== U.current && (e.inputValue === void 0 || e.selectedKey === void 0) ? H() : P !== D && R(D);
1453
1453
  var I;
1454
- let k = p != null && (I = (y = $.getItem(p)) === null || y === void 0 ? void 0 : y.textValue) !== null && I !== void 0 ? I : "";
1455
- !x && p != null && e.inputValue === void 0 && p === ue.current && re.current !== k && (O(k), Z(k)), ue.current = p, re.current = k;
1454
+ let k = b != null && (I = (y = f.getItem(b)) === null || y === void 0 ? void 0 : y.textValue) !== null && I !== void 0 ? I : "";
1455
+ !x && b != null && e.inputValue === void 0 && b === U.current && ce.current !== k && (R(k), Q(k)), U.current = b, ce.current = k;
1456
1456
  });
1457
- let ae = ln({
1457
+ let se = cu({
1458
1458
  ...e,
1459
- value: ce(() => ({
1460
- inputValue: L,
1461
- selectedKey: p
1459
+ value: ae(() => ({
1460
+ inputValue: D,
1461
+ selectedKey: b
1462
1462
  }), [
1463
- L,
1464
- p
1463
+ D,
1464
+ b
1465
1465
  ])
1466
- }), Y = () => {
1467
- r && p == null ? f() : s();
1468
- }, f = () => {
1469
- ue.current = null, S(null), A();
1470
- }, s = () => {
1466
+ }), de = () => {
1467
+ c && b == null ? p() : E();
1468
+ }, p = () => {
1469
+ U.current = null, S(null), L();
1470
+ }, E = () => {
1471
1471
  if (e.selectedKey !== void 0 && e.inputValue !== void 0) {
1472
1472
  var y, I;
1473
- (y = e.onSelectionChange) === null || y === void 0 || y.call(e, p);
1473
+ (y = e.onSelectionChange) === null || y === void 0 || y.call(e, b);
1474
1474
  var k;
1475
- let Ru = p != null && (k = (I = $.getItem(p)) === null || I === void 0 ? void 0 : I.textValue) !== null && k !== void 0 ? k : "";
1476
- O(Ru), A();
1475
+ let Mn = b != null && (k = (I = f.getItem(b)) === null || I === void 0 ? void 0 : I.textValue) !== null && k !== void 0 ? k : "";
1476
+ R(Mn), L();
1477
1477
  } else
1478
- ne(), A();
1478
+ H(), L();
1479
1479
  };
1480
- const B = () => {
1481
- if (r) {
1480
+ const d = () => {
1481
+ if (c) {
1482
1482
  var y, I;
1483
- const k = p != null && (I = (y = $.getItem(p)) === null || y === void 0 ? void 0 : y.textValue) !== null && I !== void 0 ? I : "";
1484
- L === k ? s() : f();
1483
+ const k = b != null && (I = (y = f.getItem(b)) === null || y === void 0 ? void 0 : y.textValue) !== null && I !== void 0 ? I : "";
1484
+ D === k ? E() : p();
1485
1485
  } else
1486
- s();
1486
+ E();
1487
1487
  };
1488
- let N = () => {
1489
- T.isOpen && h.focusedKey != null ? p === h.focusedKey ? s() : S(h.focusedKey) : B();
1490
- }, q = F(L), se = (y) => {
1491
- y ? (q.current = L, l === "focus" && !e.isReadOnly && t(null, "focus")) : (b && B(), L !== q.current && ae.commitValidation()), v(y);
1492
- }, de = ce(() => T.isOpen ? c ? U : w : R, [
1493
- T.isOpen,
1494
- U,
1488
+ let J = () => {
1489
+ F.isOpen && h.focusedKey != null ? b === h.focusedKey ? E() : S(h.focusedKey) : d();
1490
+ }, Z = T(D), ee = (y) => {
1491
+ y ? (Z.current = D, t === "focus" && !e.isReadOnly && i(null, "focus")) : ($ && d(), D !== Z.current && se.commitValidation()), A(y);
1492
+ }, le = ae(() => F.isOpen ? r ? N : w : oe, [
1493
+ F.isOpen,
1494
+ N,
1495
1495
  w,
1496
- c,
1497
- R
1496
+ r,
1497
+ oe
1498
1498
  ]);
1499
- var me;
1500
- let Oe = (me = e.defaultSelectedKey) !== null && me !== void 0 ? me : z;
1499
+ var Ce;
1500
+ let Oe = (Ce = e.defaultSelectedKey) !== null && Ce !== void 0 ? Ce : z;
1501
1501
  var he;
1502
1502
  return {
1503
- ...ae,
1504
- ...T,
1503
+ ...se,
1504
+ ...F,
1505
1505
  focusStrategy: C,
1506
1506
  toggle: a,
1507
- open: t,
1508
- close: B,
1507
+ open: i,
1508
+ close: d,
1509
1509
  selectionManager: h,
1510
- selectedKey: p,
1510
+ selectedKey: b,
1511
1511
  defaultSelectedKey: Oe,
1512
1512
  setSelectedKey: S,
1513
- disabledKeys: j,
1513
+ disabledKeys: G,
1514
1514
  isFocused: x,
1515
- setFocused: se,
1515
+ setFocused: ee,
1516
1516
  selectedItem: K,
1517
- collection: de,
1518
- inputValue: L,
1519
- defaultInputValue: (he = Ne(e.defaultInputValue, Oe, $)) !== null && he !== void 0 ? he : W,
1520
- setInputValue: Z,
1521
- commit: N,
1522
- revert: Y
1517
+ collection: le,
1518
+ inputValue: D,
1519
+ defaultInputValue: (he = ze(e.defaultInputValue, Oe, f)) !== null && he !== void 0 ? he : q,
1520
+ setInputValue: Q,
1521
+ commit: J,
1522
+ revert: de
1523
1523
  };
1524
1524
  }
1525
- function zn(e, o, u) {
1526
- return new zu(Lu(e, e, o, u));
1525
+ function Uu(e, o, n) {
1526
+ return new qn(In(e, e, o, n));
1527
1527
  }
1528
- function Lu(e, o, u, l) {
1529
- let n = [];
1530
- for (let r of o)
1531
- if (r.type === "section" && r.hasChildNodes) {
1532
- let b = Lu(e, uo(r, e), u, l);
1528
+ function In(e, o, n, t) {
1529
+ let u = [];
1530
+ for (let c of o)
1531
+ if (c.type === "section" && c.hasChildNodes) {
1532
+ let $ = In(e, uo(c, e), n, t);
1533
1533
  [
1534
- ...b
1535
- ].some((c) => c.type === "item") && n.push({
1536
- ...r,
1537
- childNodes: b
1534
+ ...$
1535
+ ].some((r) => r.type === "item") && u.push({
1536
+ ...c,
1537
+ childNodes: $
1538
1538
  });
1539
- } else r.type === "item" && l(r.textValue, u) ? n.push({
1540
- ...r
1541
- }) : r.type !== "item" && n.push({
1542
- ...r
1539
+ } else c.type === "item" && t(c.textValue, n) ? u.push({
1540
+ ...c
1541
+ }) : c.type !== "item" && u.push({
1542
+ ...c
1543
1543
  });
1544
- return n;
1544
+ return u;
1545
1545
  }
1546
- function Ne(e, o, u) {
1546
+ function ze(e, o, n) {
1547
1547
  if (e == null) {
1548
- var l, n;
1549
- if (o != null) return (n = (l = u.getItem(o)) === null || l === void 0 ? void 0 : l.textValue) !== null && n !== void 0 ? n : "";
1548
+ var t, u;
1549
+ if (o != null) return (u = (t = n.getItem(o)) === null || t === void 0 ? void 0 : t.textValue) !== null && u !== void 0 ? u : "";
1550
1550
  }
1551
1551
  return e;
1552
1552
  }
1553
- const Un = /* @__PURE__ */ $e(null), Ke = /* @__PURE__ */ $e(null), qn = /* @__PURE__ */ Gu(function(o, u) {
1554
- [o, u] = fe(o, u, Un);
1555
- let { children: l, isDisabled: n = !1, isInvalid: r = !1, isRequired: b = !1 } = o, c = ce(() => {
1556
- var i;
1557
- return /* @__PURE__ */ J.createElement(Ye.Provider, {
1553
+ const qu = /* @__PURE__ */ $e(null), Ke = /* @__PURE__ */ $e(null), Wu = /* @__PURE__ */ Nn(function(o, n) {
1554
+ [o, n] = fe(o, n, qu);
1555
+ let { children: t, isDisabled: u = !1, isInvalid: c = !1, isRequired: $ = !1 } = o, r = ae(() => {
1556
+ var l;
1557
+ return /* @__PURE__ */ Y.createElement(Qe.Provider, {
1558
1558
  value: {
1559
- items: (i = o.items) !== null && i !== void 0 ? i : o.defaultItems
1559
+ items: (l = o.items) !== null && l !== void 0 ? l : o.defaultItems
1560
1560
  }
1561
- }, typeof l == "function" ? l({
1561
+ }, typeof t == "function" ? t({
1562
1562
  isOpen: !1,
1563
- isDisabled: n,
1564
- isInvalid: r,
1565
- isRequired: b,
1563
+ isDisabled: u,
1564
+ isInvalid: c,
1565
+ isRequired: $,
1566
1566
  defaultChildren: null
1567
- }) : l);
1567
+ }) : t);
1568
1568
  }, [
1569
- l,
1570
- n,
1571
- r,
1572
- b,
1569
+ t,
1570
+ u,
1571
+ c,
1572
+ $,
1573
1573
  o.items,
1574
1574
  o.defaultItems
1575
1575
  ]);
1576
- return /* @__PURE__ */ J.createElement(en, {
1577
- content: c
1578
- }, (i) => /* @__PURE__ */ J.createElement(Hn, {
1576
+ return /* @__PURE__ */ Y.createElement(nu, {
1577
+ content: r
1578
+ }, (l) => /* @__PURE__ */ Y.createElement(Ju, {
1579
1579
  props: o,
1580
- collection: i,
1581
- comboBoxRef: u
1580
+ collection: l,
1581
+ comboBoxRef: n
1582
1582
  }));
1583
- }), Wn = [
1583
+ }), Hu = [
1584
1584
  Ie,
1585
- Ue,
1585
+ qe,
1586
1586
  xe,
1587
1587
  Pe,
1588
1588
  we
1589
1589
  ];
1590
- function Hn({ props: e, collection: o, comboBoxRef: u }) {
1591
- let { name: l, formValue: n = "key", allowsCustomValue: r } = e;
1592
- r && (n = "text");
1593
- let { validationBehavior: b } = De(Ze) || {};
1594
- var c, i;
1595
- let x = (i = (c = e.validationBehavior) !== null && c !== void 0 ? c : b) !== null && i !== void 0 ? i : "native", { contains: v } = oo({
1590
+ function Ju({ props: e, collection: o, comboBoxRef: n }) {
1591
+ let { name: t, formValue: u = "key", allowsCustomValue: c } = e;
1592
+ c && (u = "text");
1593
+ let { validationBehavior: $ } = Se(Xe) || {};
1594
+ var r, l;
1595
+ let x = (l = (r = e.validationBehavior) !== null && r !== void 0 ? r : $) !== null && l !== void 0 ? l : "native", { contains: A } = no({
1596
1596
  sensitivity: "base"
1597
- }), C = jn({
1598
- defaultFilter: e.defaultFilter || v,
1597
+ }), C = ju({
1598
+ defaultFilter: e.defaultFilter || A,
1599
1599
  ...e,
1600
1600
  // If props.items isn't provided, rely on collection filtering (aka listbox.items is provided or defaultItems provided to Combobox)
1601
1601
  items: e.items,
1602
1602
  children: void 0,
1603
1603
  collection: o,
1604
1604
  validationBehavior: x
1605
- }), D = F(null), m = F(null), g = F(null), $ = F(null), [h, p] = We(!e["aria-label"] && !e["aria-labelledby"]), { buttonProps: S, inputProps: K, listBoxProps: j, labelProps: L, descriptionProps: Z, errorMessageProps: z, ...W } = Kn({
1606
- ...Se(e),
1607
- label: p,
1605
+ }), B = T(null), m = T(null), g = T(null), f = T(null), [h, b] = He(!e["aria-label"] && !e["aria-labelledby"]), { buttonProps: S, inputProps: K, listBoxProps: G, labelProps: D, descriptionProps: Q, errorMessageProps: z, ...q } = Ru({
1606
+ ...De(e),
1607
+ label: b,
1608
1608
  inputRef: m,
1609
- buttonRef: D,
1609
+ buttonRef: B,
1610
1610
  listBoxRef: g,
1611
- popoverRef: $,
1612
- name: n === "text" ? l : void 0,
1611
+ popoverRef: f,
1612
+ name: u === "text" ? t : void 0,
1613
1613
  validationBehavior: x
1614
- }, C), [U, w] = H(null), R = V(() => {
1614
+ }, C), [N, w] = X(null), oe = O(() => {
1615
1615
  if (m.current) {
1616
- var t;
1617
- let a = (t = D.current) === null || t === void 0 ? void 0 : t.getBoundingClientRect(), E = m.current.getBoundingClientRect(), G = a ? Math.min(a.left, E.left) : E.left, A = a ? Math.max(a.right, E.right) : E.right;
1618
- w(A - G + "px");
1616
+ var i;
1617
+ let a = (i = B.current) === null || i === void 0 ? void 0 : i.getBoundingClientRect(), v = m.current.getBoundingClientRect(), M = a ? Math.min(a.left, v.left) : v.left, L = a ? Math.max(a.right, v.right) : v.right;
1618
+ w(L - M + "px");
1619
1619
  }
1620
1620
  }, [
1621
- D,
1621
+ B,
1622
1622
  m,
1623
1623
  w
1624
1624
  ]);
1625
- nn({
1625
+ lu({
1626
1626
  ref: m,
1627
- onResize: R
1627
+ onResize: oe
1628
1628
  });
1629
- let oe = ce(() => ({
1629
+ let V = ae(() => ({
1630
1630
  isOpen: C.isOpen,
1631
1631
  isDisabled: e.isDisabled || !1,
1632
- isInvalid: W.isInvalid || !1,
1632
+ isInvalid: q.isInvalid || !1,
1633
1633
  isRequired: e.isRequired || !1
1634
1634
  }), [
1635
1635
  C.isOpen,
1636
1636
  e.isDisabled,
1637
- W.isInvalid,
1637
+ q.isInvalid,
1638
1638
  e.isRequired
1639
- ]), M = He({
1639
+ ]), j = Je({
1640
1640
  ...e,
1641
- values: oe,
1641
+ values: V,
1642
1642
  defaultClassName: "react-aria-ComboBox"
1643
- }), Q = eo(e, {
1643
+ }), W = oo(e, {
1644
1644
  global: !0
1645
1645
  });
1646
- delete Q.id;
1647
- var T;
1648
- return /* @__PURE__ */ J.createElement(Le, {
1646
+ delete W.id;
1647
+ var F;
1648
+ return /* @__PURE__ */ Y.createElement(Le, {
1649
1649
  values: [
1650
1650
  [
1651
1651
  Ke,
@@ -1654,15 +1654,15 @@ function Hn({ props: e, collection: o, comboBoxRef: u }) {
1654
1654
  [
1655
1655
  Ie,
1656
1656
  {
1657
- ...L,
1657
+ ...D,
1658
1658
  ref: h
1659
1659
  }
1660
1660
  ],
1661
1661
  [
1662
- Ue,
1662
+ qe,
1663
1663
  {
1664
1664
  ...S,
1665
- ref: D,
1665
+ ref: B,
1666
1666
  isPressed: C.isOpen
1667
1667
  }
1668
1668
  ],
@@ -1674,40 +1674,40 @@ function Hn({ props: e, collection: o, comboBoxRef: u }) {
1674
1674
  }
1675
1675
  ],
1676
1676
  [
1677
- Xu,
1677
+ Qn,
1678
1678
  C
1679
1679
  ],
1680
1680
  [
1681
- Yu,
1681
+ _n,
1682
1682
  {
1683
- ref: $,
1683
+ ref: f,
1684
1684
  triggerRef: m,
1685
1685
  scrollRef: g,
1686
1686
  placement: "bottom start",
1687
1687
  isNonModal: !0,
1688
1688
  trigger: "ComboBox",
1689
1689
  style: {
1690
- "--trigger-width": U
1690
+ "--trigger-width": N
1691
1691
  },
1692
- clearContexts: Wn
1692
+ clearContexts: Hu
1693
1693
  }
1694
1694
  ],
1695
1695
  [
1696
- Ye,
1696
+ Qe,
1697
1697
  {
1698
- ...j,
1698
+ ...G,
1699
1699
  ref: g
1700
1700
  }
1701
1701
  ],
1702
1702
  [
1703
- Uu,
1703
+ Wn,
1704
1704
  C
1705
1705
  ],
1706
1706
  [
1707
1707
  we,
1708
1708
  {
1709
1709
  slots: {
1710
- description: Z,
1710
+ description: Q,
1711
1711
  errorMessage: z
1712
1712
  }
1713
1713
  }
@@ -1715,48 +1715,48 @@ function Hn({ props: e, collection: o, comboBoxRef: u }) {
1715
1715
  [
1716
1716
  Pe,
1717
1717
  {
1718
- isInvalid: W.isInvalid,
1718
+ isInvalid: q.isInvalid,
1719
1719
  isDisabled: e.isDisabled || !1
1720
1720
  }
1721
1721
  ],
1722
1722
  [
1723
- Je,
1724
- W
1723
+ Ze,
1724
+ q
1725
1725
  ]
1726
1726
  ]
1727
- }, /* @__PURE__ */ J.createElement("div", {
1728
- ...Q,
1729
- ...M,
1730
- ref: u,
1727
+ }, /* @__PURE__ */ Y.createElement("div", {
1728
+ ...W,
1729
+ ...j,
1730
+ ref: n,
1731
1731
  slot: e.slot || void 0,
1732
1732
  "data-focused": C.isFocused || void 0,
1733
1733
  "data-open": C.isOpen || void 0,
1734
1734
  "data-disabled": e.isDisabled || void 0,
1735
- "data-invalid": W.isInvalid || void 0,
1735
+ "data-invalid": q.isInvalid || void 0,
1736
1736
  "data-required": e.isRequired || void 0
1737
- }), l && n === "key" && /* @__PURE__ */ J.createElement("input", {
1737
+ }), t && u === "key" && /* @__PURE__ */ Y.createElement("input", {
1738
1738
  type: "hidden",
1739
- name: l,
1739
+ name: t,
1740
1740
  form: e.form,
1741
- value: (T = C.selectedKey) !== null && T !== void 0 ? T : ""
1741
+ value: (F = C.selectedKey) !== null && F !== void 0 ? F : ""
1742
1742
  }));
1743
1743
  }
1744
- const Jn = /* @__PURE__ */ $e(null), Zn = /* @__PURE__ */ Ln(function(o, u) {
1745
- [o, u] = fe(o, u, Jn);
1746
- let { validationBehavior: l } = De(Ze) || {};
1747
- var n, r;
1748
- let b = (r = (n = o.validationBehavior) !== null && n !== void 0 ? n : l) !== null && r !== void 0 ? r : "native", c = F(null);
1749
- [o, c] = fe(o, c, no);
1750
- let [i, x] = We(!o["aria-label"] && !o["aria-labelledby"]), [v, C] = H("input"), { labelProps: D, inputProps: m, descriptionProps: g, errorMessageProps: $, ...h } = co({
1751
- ...Se(o),
1752
- inputElementType: v,
1744
+ const Zu = /* @__PURE__ */ $e(null), Xu = /* @__PURE__ */ Pu(function(o, n) {
1745
+ [o, n] = fe(o, n, Zu);
1746
+ let { validationBehavior: t } = Se(Xe) || {};
1747
+ var u, c;
1748
+ let $ = (c = (u = o.validationBehavior) !== null && u !== void 0 ? u : t) !== null && c !== void 0 ? c : "native", r = T(null);
1749
+ [o, r] = fe(o, r, to);
1750
+ let [l, x] = He(!o["aria-label"] && !o["aria-labelledby"]), [A, C] = X("input"), { labelProps: B, inputProps: m, descriptionProps: g, errorMessageProps: f, ...h } = ro({
1751
+ ...De(o),
1752
+ inputElementType: A,
1753
1753
  label: x,
1754
- validationBehavior: b
1755
- }, c), p = V((j) => {
1756
- c.current = j, j && C(j instanceof HTMLTextAreaElement ? "textarea" : "input");
1754
+ validationBehavior: $
1755
+ }, r), b = O((G) => {
1756
+ r.current = G, G && C(G instanceof HTMLTextAreaElement ? "textarea" : "input");
1757
1757
  }, [
1758
- c
1759
- ]), S = He({
1758
+ r
1759
+ ]), S = Je({
1760
1760
  ...o,
1761
1761
  values: {
1762
1762
  isDisabled: o.isDisabled || !1,
@@ -1765,39 +1765,39 @@ const Jn = /* @__PURE__ */ $e(null), Zn = /* @__PURE__ */ Ln(function(o, u) {
1765
1765
  isRequired: o.isRequired || !1
1766
1766
  },
1767
1767
  defaultClassName: "react-aria-TextField"
1768
- }), K = eo(o, {
1768
+ }), K = oo(o, {
1769
1769
  global: !0
1770
1770
  });
1771
- return delete K.id, /* @__PURE__ */ J.createElement("div", {
1771
+ return delete K.id, /* @__PURE__ */ Y.createElement("div", {
1772
1772
  ...K,
1773
1773
  ...S,
1774
- ref: u,
1774
+ ref: n,
1775
1775
  slot: o.slot || void 0,
1776
1776
  "data-disabled": o.isDisabled || void 0,
1777
1777
  "data-invalid": h.isInvalid || void 0,
1778
1778
  "data-readonly": o.isReadOnly || void 0,
1779
1779
  "data-required": o.isRequired || void 0
1780
- }, /* @__PURE__ */ J.createElement(Le, {
1780
+ }, /* @__PURE__ */ Y.createElement(Le, {
1781
1781
  values: [
1782
1782
  [
1783
1783
  Ie,
1784
1784
  {
1785
- ...D,
1786
- ref: i
1785
+ ...B,
1786
+ ref: l
1787
1787
  }
1788
1788
  ],
1789
1789
  [
1790
1790
  xe,
1791
1791
  {
1792
1792
  ...m,
1793
- ref: p
1793
+ ref: b
1794
1794
  }
1795
1795
  ],
1796
1796
  [
1797
- Sn,
1797
+ Lu,
1798
1798
  {
1799
1799
  ...m,
1800
- ref: p
1800
+ ref: b
1801
1801
  }
1802
1802
  ],
1803
1803
  [
@@ -1813,71 +1813,71 @@ const Jn = /* @__PURE__ */ $e(null), Zn = /* @__PURE__ */ Ln(function(o, u) {
1813
1813
  {
1814
1814
  slots: {
1815
1815
  description: g,
1816
- errorMessage: $
1816
+ errorMessage: f
1817
1817
  }
1818
1818
  }
1819
1819
  ],
1820
1820
  [
1821
- Je,
1821
+ Ze,
1822
1822
  h
1823
1823
  ]
1824
1824
  ]
1825
1825
  }, S.children));
1826
- }), { withProvider: Xn, withContext: le } = /* @__PURE__ */ Ou({
1827
- key: "combobox"
1828
- }), Yn = /* @__PURE__ */ Xn("div", "root"), Pu = /* @__PURE__ */ le("div", "value"), Iu = /* @__PURE__ */ le("div", "buttonGroup"), Qn = /* @__PURE__ */ le("div", "popover"), _n = /* @__PURE__ */ le("input", "multiSelectInput"), et = /* @__PURE__ */ le("div", "options"), ot = /* @__PURE__ */ le("div", "optionGroup"), ut = /* @__PURE__ */ le("div", "option"), nt = /* @__PURE__ */ le("span", "optionIndicator"), tt = /* @__PURE__ */ le("span", "optionContent"), lt = (e) => {
1826
+ }), { withProvider: Yu, withContext: te } = /* @__PURE__ */ Gn({
1827
+ recipe: je
1828
+ }), Qu = /* @__PURE__ */ Yu("div", "root"), _u = /* @__PURE__ */ te("div", "leadingElement"), wn = /* @__PURE__ */ te("div", "value"), kn = /* @__PURE__ */ te("div", "buttonGroup"), et = /* @__PURE__ */ te("div", "popover"), ot = /* @__PURE__ */ te("input", "multiSelectInput"), nt = /* @__PURE__ */ te("div", "options"), ut = /* @__PURE__ */ te("div", "optionGroup"), tt = /* @__PURE__ */ te("div", "option"), lt = /* @__PURE__ */ te("span", "optionIndicator"), it = /* @__PURE__ */ te("span", "optionContent"), ct = (e) => {
1829
1829
  const {
1830
1830
  placeholder: o,
1831
- inputValue: u,
1832
- allowsCustomValue: l,
1833
- onSubmitCustomValue: n,
1834
- onInputChange: r,
1835
- ref: b
1836
- } = e, [c, i] = fe({}, b || null, xe), x = ze(Ke), v = V(
1831
+ inputValue: n,
1832
+ allowsCustomValue: t,
1833
+ onSubmitCustomValue: u,
1834
+ onInputChange: c,
1835
+ ref: $
1836
+ } = e, [r, l] = fe({}, $ || null, xe), x = Ue(Ke), A = O(
1837
1837
  // This method clears the input if the user has focused on a pre-populated combobox and starts typing
1838
1838
  (C) => {
1839
- if (x?.selectedKey && i.current && // cursor is at the beginning of input...
1840
- i.current.selectionStart === 0 && i.current.selectionEnd === 0 && // ...and it has a value, which can only happen on focus
1841
- i.current.value.length > 0 && C.key.length === 1 && // Single character key
1839
+ if (x?.selectedKey && l.current && // cursor is at the beginning of input...
1840
+ l.current.selectionStart === 0 && l.current.selectionEnd === 0 && // ...and it has a value, which can only happen on focus
1841
+ l.current.value.length > 0 && C.key.length === 1 && // Single character key
1842
1842
  !C.ctrlKey && !C.metaKey && !C.altKey) {
1843
1843
  C.preventDefault(), C.stopPropagation(), x.setInputValue(C.key);
1844
1844
  return;
1845
1845
  }
1846
- if (C.key === "Enter" && u && u?.trim() !== "" && r && l && n && x)
1846
+ if (C.key === "Enter" && n && n?.trim() !== "" && c && t && u && x)
1847
1847
  if (x.collection) {
1848
- const m = Array.from(x.collection).find((g) => g.textValue.toLowerCase() === u.toLowerCase());
1849
- m ? x.setSelectedKey(m.key) : n(u);
1848
+ const m = Array.from(x.collection).find((g) => g.textValue.toLowerCase() === n.toLowerCase());
1849
+ m ? x.setSelectedKey(m.key) : u(n);
1850
1850
  } else
1851
- n(u);
1851
+ u(n);
1852
1852
  },
1853
- [u, r, l, n, x]
1853
+ [n, c, t, u, x]
1854
1854
  );
1855
- return /* @__PURE__ */ d(Pu, { asChild: !0, children: /* @__PURE__ */ d(
1856
- Xe,
1855
+ return /* @__PURE__ */ s(wn, { asChild: !0, children: /* @__PURE__ */ s(
1856
+ Ye,
1857
1857
  {
1858
- ref: i,
1859
- ...c,
1860
- onKeyDown: v,
1858
+ ref: l,
1859
+ ...r,
1860
+ onKeyDown: A,
1861
1861
  placeholder: o
1862
1862
  }
1863
1863
  ) });
1864
1864
  }, Re = ({
1865
1865
  children: e,
1866
1866
  ref: o,
1867
- ...u
1867
+ ...n
1868
1868
  }) => {
1869
- const [l, n] = ke(u);
1870
- return /* @__PURE__ */ d(et, { ...l, asChild: !0, children: /* @__PURE__ */ d(qu, { ref: o, ...n, children: e }) });
1869
+ const [t, u] = ke(n);
1870
+ return /* @__PURE__ */ s(nt, { ...t, asChild: !0, children: /* @__PURE__ */ s(Hn, { ref: o, ...u, children: e }) });
1871
1871
  };
1872
1872
  Re.displayName = "ComboBox.Options";
1873
- const it = ({
1873
+ const rt = ({
1874
1874
  isDisabled: e,
1875
1875
  isReadOnly: o,
1876
- isLoading: u
1876
+ isLoading: n
1877
1877
  }) => {
1878
- const l = ze(Ke);
1879
- return /* @__PURE__ */ ie(Iu, { children: [
1880
- l?.selectedKey && /* @__PURE__ */ d(
1878
+ const t = Ue(Ke);
1879
+ return /* @__PURE__ */ re(kn, { children: [
1880
+ t?.selectedKey && /* @__PURE__ */ s(
1881
1881
  Fe,
1882
1882
  {
1883
1883
  pointerEvents: "all",
@@ -1888,21 +1888,21 @@ const it = ({
1888
1888
  "aria-label": "Clear Selection",
1889
1889
  isDisabled: e || o,
1890
1890
  _expanded: { bg: "transparent" },
1891
- onPress: () => l?.setSelectedKey(null),
1891
+ onPress: () => t?.setSelectedKey(null),
1892
1892
  my: "auto",
1893
- children: /* @__PURE__ */ d(ro, {})
1893
+ children: /* @__PURE__ */ s(ao, {})
1894
1894
  }
1895
1895
  ),
1896
- u ? /* @__PURE__ */ d(po, { my: "auto", w: "600", h: "600", children: /* @__PURE__ */ d(Ce, { color: "neutral.11", asChild: !0, m: "auto", w: "400", h: "400", children: /* @__PURE__ */ d(
1897
- Ce,
1896
+ n ? /* @__PURE__ */ s($o, { my: "auto", w: "600", h: "600", children: /* @__PURE__ */ s(me, { color: "neutral.11", asChild: !0, m: "auto", w: "400", h: "400", children: /* @__PURE__ */ s(
1897
+ me,
1898
1898
  {
1899
1899
  asChild: !0,
1900
1900
  animation: "spin",
1901
1901
  animationDuration: "slowest",
1902
1902
  "data-testid": "nimbus-combobox-loading",
1903
- children: /* @__PURE__ */ d(ao, {})
1903
+ children: /* @__PURE__ */ s(so, {})
1904
1904
  }
1905
- ) }) }) : /* @__PURE__ */ d(
1905
+ ) }) }) : /* @__PURE__ */ s(
1906
1906
  Fe,
1907
1907
  {
1908
1908
  size: "2xs",
@@ -1912,147 +1912,166 @@ const it = ({
1912
1912
  my: "auto",
1913
1913
  isDisabled: e || o,
1914
1914
  _expanded: { bg: "transparent" },
1915
- children: /* @__PURE__ */ d(so, {})
1915
+ children: /* @__PURE__ */ s(po, {})
1916
1916
  }
1917
1917
  )
1918
1918
  ] });
1919
- }, ct = ({
1919
+ }, Kn = ({
1920
+ children: e
1921
+ }) => {
1922
+ const o = T(null);
1923
+ return ue(() => {
1924
+ const n = o.current;
1925
+ if (!n) return;
1926
+ const t = () => {
1927
+ const c = n.offsetWidth, $ = n.closest(".nimbus-combobox__root");
1928
+ $ instanceof HTMLElement && $.style.setProperty("--leading-element-width", `${c}px`);
1929
+ };
1930
+ t();
1931
+ const u = new ResizeObserver(t);
1932
+ return u.observe(n), () => {
1933
+ u.disconnect();
1934
+ };
1935
+ }, []), /* @__PURE__ */ s(_u, { ref: o, children: e });
1936
+ }, at = ({
1920
1937
  children: e,
1921
1938
  inputValue: o,
1922
- onInputChange: u,
1923
- placeholder: l,
1924
- allowsCustomValue: n,
1925
- onSubmitCustomValue: r,
1926
- renderEmptyState: b,
1927
- shouldFocusWrap: c = !0,
1928
- isLoading: i,
1929
- ref: x,
1930
- ...v
1939
+ onInputChange: n,
1940
+ placeholder: t,
1941
+ allowsCustomValue: u,
1942
+ onSubmitCustomValue: c,
1943
+ renderEmptyState: $,
1944
+ shouldFocusWrap: r = !0,
1945
+ isLoading: l,
1946
+ leadingElement: x,
1947
+ ref: A,
1948
+ ...C
1931
1949
  }) => {
1932
- if (r && (o === void 0 || !u))
1950
+ if (c && (o === void 0 || !n))
1933
1951
  throw new Error(
1934
1952
  'ComboBox: When "onSubmitCustomValue" is provided, "inputValue" must be controlled with "onInputChange"'
1935
1953
  );
1936
- const C = F(null), D = V(() => {
1937
- C.current && C.current.value && requestAnimationFrame(() => C.current?.setSelectionRange(0, 0));
1938
- }, [C]);
1939
- return /* @__PURE__ */ ie(
1940
- qn,
1954
+ const B = T(null), m = O(() => {
1955
+ B.current && B.current.value && requestAnimationFrame(() => B.current?.setSelectionRange(0, 0));
1956
+ }, [B]);
1957
+ return /* @__PURE__ */ re(
1958
+ Wu,
1941
1959
  {
1942
1960
  inputValue: o,
1943
- onInputChange: u,
1944
- onFocus: D,
1945
- allowsCustomValue: n,
1961
+ onInputChange: n,
1962
+ onFocus: m,
1963
+ allowsCustomValue: u,
1946
1964
  menuTrigger: "focus",
1947
- shouldFocusWrap: c,
1948
- ...v,
1949
- ref: x,
1965
+ shouldFocusWrap: r,
1966
+ ...C,
1967
+ ref: A,
1950
1968
  children: [
1951
- /* @__PURE__ */ d(
1952
- lt,
1969
+ x && /* @__PURE__ */ s(Kn, { children: x }),
1970
+ /* @__PURE__ */ s(
1971
+ ct,
1953
1972
  {
1954
- ref: C,
1955
- placeholder: l,
1973
+ ref: B,
1974
+ placeholder: t,
1956
1975
  inputValue: o,
1957
- allowsCustomValue: n,
1958
- onSubmitCustomValue: r,
1959
- onInputChange: u
1976
+ allowsCustomValue: u,
1977
+ onSubmitCustomValue: c,
1978
+ onInputChange: n
1960
1979
  }
1961
1980
  ),
1962
- /* @__PURE__ */ d(
1963
- it,
1981
+ /* @__PURE__ */ s(
1982
+ rt,
1964
1983
  {
1965
- isLoading: i,
1966
- isDisabled: v.isDisabled,
1967
- isReadOnly: v.isReadOnly
1984
+ isLoading: l,
1985
+ isDisabled: C.isDisabled,
1986
+ isReadOnly: C.isReadOnly
1968
1987
  }
1969
1988
  ),
1970
- /* @__PURE__ */ d(Qe, { children: /* @__PURE__ */ d(Re, { renderEmptyState: b, children: e }) })
1989
+ /* @__PURE__ */ s(_e, { children: /* @__PURE__ */ s(Re, { renderEmptyState: $, children: e }) })
1971
1990
  ]
1972
1991
  }
1973
1992
  );
1974
1993
  };
1975
- function je(e) {
1994
+ function Ne(e) {
1976
1995
  return e != null && typeof e == "object" && "children" in e && Array.isArray(e.children);
1977
1996
  }
1978
- function Ee(e, o, u) {
1997
+ function Ee(e, o, n) {
1979
1998
  if (e) {
1980
1999
  if (!Object.prototype.hasOwnProperty.call(e, "id") && o === "id")
1981
2000
  throw new Error(
1982
2001
  "ComboBox: if items do not have an `id` key, you must specify which key uniquely identifies items using the `itemId` prop"
1983
2002
  );
1984
- if (!Object.prototype.hasOwnProperty.call(e, "name") && u === "name")
2003
+ if (!Object.prototype.hasOwnProperty.call(e, "name") && n === "name")
1985
2004
  throw new Error(
1986
2005
  "ComboBox: if items do not have a `name` key, you must specify which key can be used as a text value using the `itemValue` prop"
1987
2006
  );
1988
2007
  }
1989
2008
  }
1990
- const rt = (
2009
+ const st = (
1991
2010
  /* eslint-disable @typescript-eslint/no-explicit-any */
1992
2011
  ({
1993
2012
  selectedKeys: e = /* @__PURE__ */ new Set(),
1994
2013
  items: o,
1995
- itemId: u = "id",
1996
- itemValue: l = "name",
1997
- placeholder: n,
1998
- onSelectionChange: r,
1999
- isDisabled: b,
2000
- isReadOnly: c,
2001
- size: i,
2014
+ itemId: n = "id",
2015
+ itemValue: t = "name",
2016
+ placeholder: u,
2017
+ onSelectionChange: c,
2018
+ isDisabled: $,
2019
+ isReadOnly: r,
2020
+ size: l,
2002
2021
  containerRef: x,
2003
- ref: v
2022
+ ref: A
2004
2023
  }) => {
2005
- const C = ce(() => {
2024
+ const C = ae(() => {
2006
2025
  if (!o) return [];
2007
2026
  const m = Array.from(e);
2008
2027
  if (Array.isArray(o)) {
2009
- const $ = o[0];
2010
- if ($ && je($)) {
2011
- const p = [];
2028
+ const f = o[0];
2029
+ if (f && Ne(f)) {
2030
+ const b = [];
2012
2031
  return o.forEach((S) => {
2013
- je(S) && p.push(...S.children);
2014
- }), Ee(p?.[0], u, l), m.map((S) => p.find((K) => K[u] === S)).filter((S) => S !== void 0);
2032
+ Ne(S) && b.push(...S.children);
2033
+ }), Ee(b?.[0], n, t), m.map((S) => b.find((K) => K[n] === S)).filter((S) => S !== void 0);
2015
2034
  }
2016
2035
  const h = o;
2017
- return Ee(h?.[0], u, l), m.map((p) => h.find((S) => S[u] === p)).filter((p) => p !== void 0);
2036
+ return Ee(h?.[0], n, t), m.map((b) => h.find((S) => S[n] === b)).filter((b) => b !== void 0);
2018
2037
  }
2019
- const g = m.map(($) => Array.from(o).find((h) => h[u] === $)).filter(($) => $ !== void 0);
2020
- return Ee(g?.[0], u, l), g;
2021
- }, [o, e, u]), D = V(
2038
+ const g = m.map((f) => Array.from(o).find((h) => h[n] === f)).filter((f) => f !== void 0);
2039
+ return Ee(g?.[0], n, t), g;
2040
+ }, [o, e, n]), B = O(
2022
2041
  (m) => {
2023
- if (!(b || c) && e instanceof Set) {
2024
- const g = e, $ = new Set(
2042
+ if (!($ || r) && e instanceof Set) {
2043
+ const g = e, f = new Set(
2025
2044
  [...g].filter((h) => !m.has(h))
2026
2045
  );
2027
- r?.($), x?.current && x.current.focus();
2046
+ c?.(f), x?.current && x.current.focus();
2028
2047
  }
2029
2048
  },
2030
- [b, c, e, r]
2049
+ [$, r, e, c]
2031
2050
  );
2032
- return /* @__PURE__ */ d(_e, { children: /* @__PURE__ */ d(
2033
- Pu,
2051
+ return /* @__PURE__ */ s(eo, { children: /* @__PURE__ */ s(
2052
+ wn,
2034
2053
  {
2035
2054
  asChild: !0,
2036
2055
  alignItems: "space-between",
2037
2056
  justifyContent: "center",
2038
- ref: v,
2039
- children: /* @__PURE__ */ d(
2057
+ ref: A,
2058
+ children: /* @__PURE__ */ s(
2040
2059
  Ae.Root,
2041
2060
  {
2042
- size: i,
2043
- onRemove: D,
2061
+ size: l,
2062
+ onRemove: B,
2044
2063
  "aria-label": "Selected values",
2045
2064
  selectionMode: "none",
2046
- disabledKeys: b || c ? e : void 0,
2047
- "data-disabled": b,
2048
- children: /* @__PURE__ */ d(
2065
+ disabledKeys: $ || r ? e : void 0,
2066
+ "data-disabled": $,
2067
+ children: /* @__PURE__ */ s(
2049
2068
  Ae.TagList,
2050
2069
  {
2051
2070
  items: C,
2052
- dependencies: [u],
2071
+ dependencies: [n],
2053
2072
  maxW: "100%",
2054
- tabIndex: C.length === 0 || b || c ? -1 : void 0,
2055
- renderEmptyState: () => n && /* @__PURE__ */ d(
2073
+ tabIndex: C.length === 0 || $ || r ? -1 : void 0,
2074
+ renderEmptyState: () => u && /* @__PURE__ */ s(
2056
2075
  "div",
2057
2076
  {
2058
2077
  "data-placeholder": "true",
@@ -2061,10 +2080,10 @@ const rt = (
2061
2080
  overflow: "hidden",
2062
2081
  textOverflow: "ellipsis"
2063
2082
  },
2064
- children: n
2083
+ children: u
2065
2084
  }
2066
2085
  ),
2067
- children: (m) => /* @__PURE__ */ d(Ae.Tag, { id: m[u], maxW: "100%", children: m[l] })
2086
+ children: (m) => /* @__PURE__ */ s(Ae.Tag, { id: m[n], maxW: "100%", children: m[t] })
2068
2087
  }
2069
2088
  )
2070
2089
  }
@@ -2072,20 +2091,20 @@ const rt = (
2072
2091
  }
2073
2092
  ) });
2074
2093
  }
2075
- ), at = ({
2094
+ ), dt = ({
2076
2095
  selectedKeys: e,
2077
2096
  onSelectionChange: o,
2078
- onInputChange: u,
2079
- containerRef: l,
2080
- isDisabled: n,
2081
- isReadOnly: r,
2082
- isLoading: b
2097
+ onInputChange: n,
2098
+ containerRef: t,
2099
+ isDisabled: u,
2100
+ isReadOnly: c,
2101
+ isLoading: $
2083
2102
  }) => {
2084
- const c = V(() => {
2085
- o?.(/* @__PURE__ */ new Set()), u?.(""), l?.current && l.current.focus();
2103
+ const r = O(() => {
2104
+ o?.(/* @__PURE__ */ new Set()), n?.(""), t?.current && t.current.focus();
2086
2105
  }, []);
2087
- return /* @__PURE__ */ ie(Iu, { children: [
2088
- /* @__PURE__ */ d(_e, { children: e instanceof Set && e.size > 0 && /* @__PURE__ */ d(
2106
+ return /* @__PURE__ */ re(kn, { children: [
2107
+ /* @__PURE__ */ s(eo, { children: e instanceof Set && e.size > 0 && /* @__PURE__ */ s(
2089
2108
  Fe,
2090
2109
  {
2091
2110
  pointerEvents: "all",
@@ -2094,180 +2113,182 @@ const rt = (
2094
2113
  variant: "ghost",
2095
2114
  tone: "primary",
2096
2115
  "aria-label": "Clear Selection",
2097
- isDisabled: n || r,
2098
- onPress: c,
2116
+ isDisabled: u || c,
2117
+ onPress: r,
2099
2118
  my: "auto",
2100
- children: /* @__PURE__ */ d(ro, {})
2119
+ children: /* @__PURE__ */ s(ao, {})
2101
2120
  }
2102
2121
  ) }),
2103
- /* @__PURE__ */ d(
2104
- po,
2122
+ /* @__PURE__ */ s(
2123
+ $o,
2105
2124
  {
2106
2125
  my: "auto",
2107
2126
  w: "600",
2108
2127
  h: "600",
2109
2128
  color: "neutral.11",
2110
- opacity: r || n ? "0.5" : void 0,
2111
- cursor: r || n ? "not-allowed" : void 0,
2112
- children: /* @__PURE__ */ d(Ce, { pointerEvents: "none", asChild: !0, m: "auto", w: "400", h: "400", children: b ? /* @__PURE__ */ d(
2113
- Ce,
2129
+ opacity: c || u ? "0.5" : void 0,
2130
+ cursor: c || u ? "not-allowed" : void 0,
2131
+ children: /* @__PURE__ */ s(me, { pointerEvents: "none", asChild: !0, m: "auto", w: "400", h: "400", children: $ ? /* @__PURE__ */ s(
2132
+ me,
2114
2133
  {
2115
2134
  asChild: !0,
2116
2135
  animation: "spin",
2117
2136
  animationDuration: "slowest",
2118
2137
  "data-testid": "nimbus-combobox-loading",
2119
- children: /* @__PURE__ */ d(ao, {})
2138
+ children: /* @__PURE__ */ s(so, {})
2120
2139
  }
2121
- ) : /* @__PURE__ */ d(so, {}) })
2140
+ ) : /* @__PURE__ */ s(po, {}) })
2122
2141
  }
2123
2142
  )
2124
2143
  ] });
2125
2144
  };
2126
- function st(e) {
2145
+ function pt(e) {
2127
2146
  let o;
2128
2147
  for (o of e) ;
2129
2148
  return o;
2130
2149
  }
2131
- const dt = ({
2150
+ const $t = ({
2132
2151
  children: e,
2133
2152
  defaultFilter: o,
2134
- inputValue: u,
2135
- defaultInputValue: l,
2136
- onInputChange: n,
2137
- defaultSelectedKeys: r = /* @__PURE__ */ new Set(),
2138
- selectedKeys: b,
2139
- onSelectionChange: c,
2140
- onOpenChange: i,
2153
+ inputValue: n,
2154
+ defaultInputValue: t,
2155
+ onInputChange: u,
2156
+ defaultSelectedKeys: c = /* @__PURE__ */ new Set(),
2157
+ selectedKeys: $,
2158
+ onSelectionChange: r,
2159
+ onOpenChange: l,
2141
2160
  disabledKeys: x,
2142
- items: v,
2161
+ items: A,
2143
2162
  defaultItems: C,
2144
- itemId: D = "id",
2163
+ itemId: B = "id",
2145
2164
  itemValue: m = "name",
2146
2165
  isLoading: g,
2147
- isDisabled: $,
2166
+ isDisabled: f,
2148
2167
  isReadOnly: h,
2149
- isRequired: p,
2168
+ isRequired: b,
2150
2169
  isInvalid: S,
2151
2170
  className: K,
2152
- placeholder: j,
2153
- size: L = "md",
2154
- allowsCustomValue: Z,
2171
+ placeholder: G,
2172
+ size: D = "md",
2173
+ allowsCustomValue: Q,
2155
2174
  onSubmitCustomValue: z,
2156
- renderEmptyState: W,
2157
- ref: U,
2158
- ...w
2175
+ renderEmptyState: q,
2176
+ ref: N,
2177
+ leadingElement: w,
2178
+ ...oe
2159
2179
  }) => {
2160
- const [R, oe] = H(!1), M = F(!1), [Q, T] = H(), t = b ?? Q ?? r, a = c ?? T, [E, G] = H(""), A = u ?? E ?? l, P = n ?? G, O = v ?? C, ne = oo({ sensitivity: "base" }), _ = (...s) => ne.contains.apply(void 0, s), X = V(
2161
- (s) => {
2162
- if ($ || h) {
2163
- R && oe(!1);
2180
+ const [V, j] = X(!1), W = T(!1), [F, i] = X(), a = $ ?? F ?? c, v = r ?? i, [M, L] = X(""), P = n ?? M ?? t, R = u ?? L, H = A ?? C, _ = no({ sensitivity: "base" }), ie = (...d) => _.contains.apply(void 0, d), U = O(
2181
+ (d) => {
2182
+ if (f || h) {
2183
+ V && j(!1);
2164
2184
  return;
2165
2185
  }
2166
- i && i?.(s), oe(s), s || (M.current = !0, requestAnimationFrame(() => {
2186
+ l && l?.(d), j(d), d || (W.current = !0, requestAnimationFrame(() => {
2167
2187
  setTimeout(() => {
2168
- M.current = !1;
2188
+ W.current = !1;
2169
2189
  }, 50);
2170
2190
  }));
2171
2191
  },
2172
- [$, h, i, R]
2192
+ [f, h, l, V]
2173
2193
  );
2174
- te(() => {
2175
- ($ || h) && X(!1);
2176
- }, [$, h]);
2177
- const ue = V(
2178
- (s) => {
2179
- $ || h || s.target === s.currentTarget && !R && !M.current && X(!0);
2194
+ ue(() => {
2195
+ (f || h) && U(!1);
2196
+ }, [f, h]);
2197
+ const ne = O(
2198
+ (d) => {
2199
+ f || h || d.target === d.currentTarget && !V && !W.current && U(!0);
2180
2200
  },
2181
- [R]
2182
- ), ee = V(() => {
2183
- if (t !== "all" && t instanceof Set) {
2184
- const s = st(t);
2185
- if (s != null) {
2186
- const B = new Set(t);
2187
- B.delete(s), a(B);
2201
+ [V]
2202
+ ), ce = O(() => {
2203
+ if (a !== "all" && a instanceof Set) {
2204
+ const d = pt(a);
2205
+ if (d != null) {
2206
+ const J = new Set(a);
2207
+ J.delete(d), v(J);
2188
2208
  }
2189
2209
  }
2190
- }, [t, a]), re = V((s) => {
2191
- (s.key === "ArrowDown" || s.key === "ArrowUp" || s.key === "Enter") && s.target === Y.current && (s.preventDefault(), X(!0));
2192
- }, []), ae = V(
2193
- (s) => {
2194
- if (s.key === "Backspace" && A === "") {
2195
- ee();
2210
+ }, [a, v]), se = O((d) => {
2211
+ (d.key === "ArrowDown" || d.key === "ArrowUp" || d.key === "Enter") && d.target === p.current && (d.preventDefault(), U(!0));
2212
+ }, []), de = O(
2213
+ (d) => {
2214
+ if (d.key === "Backspace" && P === "") {
2215
+ ce();
2196
2216
  return;
2197
2217
  }
2198
- if (s.key === "Escape") {
2199
- X(!1), Y.current && Y.current.focus();
2218
+ if (d.key === "Escape") {
2219
+ U(!1), p.current && p.current.focus();
2200
2220
  return;
2201
2221
  }
2202
- if (s.key === "Enter" && A.trim() !== "" && Z && z)
2203
- if (s.stopPropagation(), O) {
2204
- const B = A.trim(), N = Array.from(O).find((q) => (typeof q == "object" && q !== null && m in q ? String(q[m]) : JSON.stringify(q)).toLowerCase() === B.toLowerCase());
2205
- if (N) {
2206
- const q = typeof N == "object" && N !== null && D in N ? N[D] : N, se = new Set(t);
2207
- se.add(q), a(se), P("");
2222
+ if (d.key === "Enter" && P.trim() !== "" && Q && z)
2223
+ if (d.stopPropagation(), H) {
2224
+ const J = P.trim(), Z = Array.from(H).find((ee) => (typeof ee == "object" && ee !== null && m in ee ? String(ee[m]) : JSON.stringify(ee)).toLowerCase() === J.toLowerCase());
2225
+ if (Z) {
2226
+ const ee = typeof Z == "object" && Z !== null && B in Z ? Z[B] : Z, le = new Set(a);
2227
+ le.add(ee), v(le), R("");
2208
2228
  } else
2209
- z(A), P("");
2229
+ z(P), R("");
2210
2230
  } else
2211
- z(A), P("");
2231
+ z(P), R("");
2212
2232
  },
2213
2233
  [
2214
- A,
2215
- ee,
2216
- Z,
2234
+ P,
2235
+ ce,
2236
+ Q,
2217
2237
  z,
2218
- O,
2238
+ H,
2219
2239
  m,
2220
- D,
2221
- t,
2240
+ B,
2222
2241
  a,
2223
- P
2242
+ v,
2243
+ R
2224
2244
  ]
2225
- ), Y = F(null), f = Tn(U, Y);
2226
- return /* @__PURE__ */ ie(Qu, { isOpen: R, onOpenChange: X, children: [
2227
- /* @__PURE__ */ d(wn, { allowTextSelectionOnPress: !0, children: /* @__PURE__ */ ie(
2245
+ ), p = T(null), E = Fu(N, p);
2246
+ return /* @__PURE__ */ re(eu, { isOpen: V, onOpenChange: U, children: [
2247
+ /* @__PURE__ */ s(ku, { allowTextSelectionOnPress: !0, children: /* @__PURE__ */ re(
2228
2248
  "div",
2229
2249
  {
2230
2250
  className: K,
2231
- tabIndex: $ ? -1 : 0,
2232
- ref: f,
2251
+ tabIndex: f ? -1 : 0,
2252
+ ref: E,
2233
2253
  role: "combobox",
2234
- onKeyDown: re,
2235
- onFocus: ue,
2236
- "aria-expanded": R,
2254
+ onKeyDown: se,
2255
+ onFocus: ne,
2256
+ "aria-expanded": V,
2237
2257
  "aria-haspopup": "dialog",
2238
- "aria-disabled": $,
2258
+ "aria-disabled": f,
2239
2259
  "aria-readonly": h,
2240
- "aria-required": p,
2260
+ "aria-required": b,
2241
2261
  "aria-invalid": S,
2242
- "data-disabled": $,
2262
+ "data-disabled": f,
2243
2263
  "data-invalid": S,
2244
- "data-required": p,
2245
- "data-open": R,
2246
- ...w,
2264
+ "data-required": b,
2265
+ "data-open": V,
2266
+ ...oe,
2247
2267
  children: [
2248
- /* @__PURE__ */ d(
2249
- rt,
2268
+ w && /* @__PURE__ */ s(Kn, { children: w }),
2269
+ /* @__PURE__ */ s(
2270
+ st,
2250
2271
  {
2251
- items: O,
2252
- selectedKeys: t,
2253
- onSelectionChange: a,
2254
- itemId: D,
2272
+ items: H,
2273
+ selectedKeys: a,
2274
+ onSelectionChange: v,
2275
+ itemId: B,
2255
2276
  itemValue: m,
2256
- placeholder: j,
2257
- size: L,
2258
- containerRef: Y,
2259
- isDisabled: $,
2277
+ placeholder: G,
2278
+ size: D,
2279
+ containerRef: p,
2280
+ isDisabled: f,
2260
2281
  isReadOnly: h
2261
2282
  }
2262
2283
  ),
2263
- /* @__PURE__ */ d(
2264
- at,
2284
+ /* @__PURE__ */ s(
2285
+ dt,
2265
2286
  {
2266
- selectedKeys: t,
2267
- onSelectionChange: a,
2268
- onInputChange: P,
2269
- containerRef: Y,
2270
- isDisabled: $,
2287
+ selectedKeys: a,
2288
+ onSelectionChange: v,
2289
+ onInputChange: R,
2290
+ containerRef: p,
2291
+ isDisabled: f,
2271
2292
  isReadOnly: h,
2272
2293
  isLoading: g
2273
2294
  }
@@ -2275,42 +2296,42 @@ const dt = ({
2275
2296
  ]
2276
2297
  }
2277
2298
  ) }),
2278
- /* @__PURE__ */ d(Qn, { asChild: !0, children: /* @__PURE__ */ d(Qe, { triggerRef: Y, placement: "bottom start", children: /* @__PURE__ */ d(_u, { "aria-label": "combobox dialog", children: /* @__PURE__ */ ie(
2279
- Nn,
2299
+ /* @__PURE__ */ s(et, { asChild: !0, children: /* @__PURE__ */ s(_e, { triggerRef: p, placement: "bottom start", children: /* @__PURE__ */ s(ou, { "aria-label": "combobox dialog", children: /* @__PURE__ */ re(
2300
+ Nu,
2280
2301
  {
2281
- filter: o ?? _,
2282
- inputValue: A,
2283
- onInputChange: P,
2302
+ filter: o ?? ie,
2303
+ inputValue: P,
2304
+ onInputChange: R,
2284
2305
  children: [
2285
- /* @__PURE__ */ d(_n, { asChild: !0, children: /* @__PURE__ */ d(
2286
- Zn,
2306
+ /* @__PURE__ */ s(ot, { asChild: !0, children: /* @__PURE__ */ s(
2307
+ Xu,
2287
2308
  {
2288
2309
  autoFocus: !0,
2289
- isDisabled: $,
2310
+ isDisabled: f,
2290
2311
  isReadOnly: h,
2291
- isRequired: p,
2312
+ isRequired: b,
2292
2313
  "aria-label": "filter combobox options",
2293
- children: /* @__PURE__ */ d(
2294
- Xe,
2314
+ children: /* @__PURE__ */ s(
2315
+ Ye,
2295
2316
  {
2296
- onKeyDownCapture: ae,
2297
- placeholder: j
2317
+ onKeyDownCapture: de,
2318
+ placeholder: G
2298
2319
  }
2299
2320
  )
2300
2321
  }
2301
2322
  ) }),
2302
- /* @__PURE__ */ d(
2323
+ /* @__PURE__ */ s(
2303
2324
  Re,
2304
2325
  {
2305
- items: O,
2326
+ items: H,
2306
2327
  selectionMode: "multiple",
2307
- onSelectionChange: a,
2308
- selectedKeys: t,
2328
+ onSelectionChange: v,
2329
+ selectedKeys: a,
2309
2330
  shouldFocusWrap: !0,
2310
- disabledKeys: $ ? "all" : x,
2331
+ disabledKeys: f ? "all" : x,
2311
2332
  escapeKeyBehavior: "none",
2312
2333
  "aria-label": "combobox options",
2313
- renderEmptyState: W,
2334
+ renderEmptyState: q,
2314
2335
  children: e
2315
2336
  }
2316
2337
  )
@@ -2318,76 +2339,76 @@ const dt = ({
2318
2339
  }
2319
2340
  ) }) }) })
2320
2341
  ] });
2321
- }, wu = ({
2342
+ }, Rn = ({
2322
2343
  children: e,
2323
2344
  ref: o,
2324
- ...u
2345
+ ...n
2325
2346
  }) => {
2326
- const l = Vu({ recipe: Mu }), [n, r] = l.splitVariantProps(u), [b, c] = ke(r), i = "selectionMode" in u && u.selectionMode === "multiple" ? dt : ct;
2327
- return /* @__PURE__ */ d(
2328
- Yn,
2347
+ const t = zn({ recipe: je }), [u, c] = t.splitVariantProps(n), [$, r] = ke(c), l = "selectionMode" in n && n.selectionMode === "multiple" ? $t : at;
2348
+ return /* @__PURE__ */ s(
2349
+ Qu,
2329
2350
  {
2330
2351
  asChild: !0,
2331
- selectionMode: u.selectionMode,
2332
- ...n,
2333
- ...b,
2334
- children: /* @__PURE__ */ d(i, { ref: o, size: n.size, ...c, children: e })
2352
+ selectionMode: n.selectionMode,
2353
+ ...u,
2354
+ ...$,
2355
+ children: /* @__PURE__ */ s(l, { ref: o, size: u.size, ...r, children: e })
2335
2356
  }
2336
2357
  );
2337
2358
  };
2338
- wu.displayName = "ComboBox.Root";
2339
- const ku = ({
2359
+ Rn.displayName = "ComboBox.Root";
2360
+ const On = ({
2340
2361
  children: e,
2341
2362
  label: o,
2342
- items: u,
2343
- ref: l,
2344
- ...n
2363
+ items: n,
2364
+ ref: t,
2365
+ ...u
2345
2366
  }) => {
2346
- if (u && typeof e != "function")
2367
+ if (n && typeof e != "function")
2347
2368
  throw new Error(
2348
2369
  'ComboBoxOptionGroup: When "items" is provided, "children" must be a function'
2349
2370
  );
2350
- return /* @__PURE__ */ ie(Wu, { ref: l, ...n, children: [
2351
- /* @__PURE__ */ d(ot, { asChild: !0, children: /* @__PURE__ */ d(Bn, { children: o }) }),
2352
- u ? /* @__PURE__ */ d(on, { items: u, children: (r) => typeof e == "function" ? e(r) : null }) : e
2371
+ return /* @__PURE__ */ re(Jn, { ref: t, ...u, children: [
2372
+ /* @__PURE__ */ s(ut, { asChild: !0, children: /* @__PURE__ */ s(gu, { children: o }) }),
2373
+ n ? /* @__PURE__ */ s(uu, { items: n, children: (c) => typeof e == "function" ? e(c) : null }) : e
2353
2374
  ] });
2354
2375
  };
2355
- ku.displayName = "ComboBox.OptionGroup";
2356
- const Ku = ({
2376
+ On.displayName = "ComboBox.OptionGroup";
2377
+ const Vn = ({
2357
2378
  children: e,
2358
2379
  ref: o,
2359
- ...u
2380
+ ...n
2360
2381
  }) => {
2361
- const [l, n] = ke(u), r = typeof e == "string" ? e : void 0;
2362
- return /* @__PURE__ */ d(ut, { ...l, asChild: !0, children: /* @__PURE__ */ d(
2363
- Hu,
2382
+ const [t, u] = ke(n), c = typeof e == "string" ? e : void 0;
2383
+ return /* @__PURE__ */ s(tt, { ...t, asChild: !0, children: /* @__PURE__ */ s(
2384
+ Zn,
2364
2385
  {
2365
2386
  ref: o,
2366
- textValue: u.textValue ?? r,
2367
- "aria-label": u.textValue ?? r,
2368
- ...n,
2369
- children: (b) => {
2370
- const c = typeof e == "function" ? e({
2371
- ...b
2387
+ textValue: n.textValue ?? c,
2388
+ "aria-label": n.textValue ?? c,
2389
+ ...u,
2390
+ children: ($) => {
2391
+ const r = typeof e == "function" ? e({
2392
+ ...$
2372
2393
  }) : e;
2373
- return b.selectionMode === "multiple" ? /* @__PURE__ */ ie(Ve, { children: [
2374
- /* @__PURE__ */ d(nt, { children: /* @__PURE__ */ d("span", { "data-selected": b.isSelected, children: b.isSelected && /* @__PURE__ */ d(gn, {}) }) }),
2375
- /* @__PURE__ */ d(tt, { children: c })
2376
- ] }) : /* @__PURE__ */ d(Ve, { children: c });
2394
+ return $.selectionMode === "multiple" ? /* @__PURE__ */ re(Ve, { children: [
2395
+ /* @__PURE__ */ s(lt, { children: /* @__PURE__ */ s("span", { "data-selected": $.isSelected, children: $.isSelected && /* @__PURE__ */ s(Tu, {}) }) }),
2396
+ /* @__PURE__ */ s(it, { children: r })
2397
+ ] }) : /* @__PURE__ */ s(Ve, { children: r });
2377
2398
  }
2378
2399
  }
2379
2400
  ) });
2380
2401
  };
2381
- Ku.displayName = "ComboBox.Option";
2382
- const tl = {
2383
- Root: wu,
2384
- OptionGroup: ku,
2385
- Option: Ku
2402
+ Vn.displayName = "ComboBox.Option";
2403
+ const il = {
2404
+ Root: Rn,
2405
+ OptionGroup: On,
2406
+ Option: Vn
2386
2407
  };
2387
2408
  export {
2388
- tl as C,
2389
- wu as a,
2390
- ku as b,
2391
- Ku as c
2409
+ il as C,
2410
+ Rn as a,
2411
+ On as b,
2412
+ Vn as c
2392
2413
  };
2393
- //# sourceMappingURL=combobox-Bjv3GWGo.es.js.map
2414
+ //# sourceMappingURL=combobox-Dmn2vxIz.es.js.map