@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 +1 @@
1
- {"version":3,"file":"checkbox-BxRZ9dqc.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+checkbox@3.16.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/checkbox/dist/useCheckbox.mjs","../../../../node_modules/.pnpm/@react-aria+checkbox@3.16.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/checkbox/dist/utils.mjs","../../../../node_modules/.pnpm/@react-aria+checkbox@3.16.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/checkbox/dist/useCheckboxGroupItem.mjs","../../../../node_modules/.pnpm/react-aria-components@1.12.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/Checkbox.mjs","../../src/components/checkbox/checkbox.slots.tsx","../../src/components/checkbox/checkbox.tsx"],"sourcesContent":["import {useEffect as $jNP0e$useEffect} from \"react\";\nimport {mergeProps as $jNP0e$mergeProps} from \"@react-aria/utils\";\nimport {useFormValidationState as $jNP0e$useFormValidationState, privateValidationStateProp as $jNP0e$privateValidationStateProp} from \"@react-stately/form\";\nimport {useFormValidation as $jNP0e$useFormValidation} from \"@react-aria/form\";\nimport {usePress as $jNP0e$usePress} from \"@react-aria/interactions\";\nimport {useToggle as $jNP0e$useToggle} from \"@react-aria/toggle\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nfunction $406796ff087fe49b$export$e375f10ce42261c5(props, state, inputRef) {\n // Create validation state here because it doesn't make sense to add to general useToggleState.\n let validationState = (0, $jNP0e$useFormValidationState)({\n ...props,\n value: state.isSelected\n });\n let { isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = validationState.displayValidation;\n let { labelProps: labelProps, inputProps: inputProps, isSelected: isSelected, isPressed: isPressed, isDisabled: isDisabled, isReadOnly: isReadOnly } = (0, $jNP0e$useToggle)({\n ...props,\n isInvalid: isInvalid\n }, state, inputRef);\n (0, $jNP0e$useFormValidation)(props, validationState, inputRef);\n let { isIndeterminate: isIndeterminate, isRequired: isRequired, validationBehavior: validationBehavior = 'aria' } = props;\n (0, $jNP0e$useEffect)(()=>{\n // indeterminate is a property, but it can only be set via javascript\n // https://css-tricks.com/indeterminate-checkboxes/\n if (inputRef.current) inputRef.current.indeterminate = !!isIndeterminate;\n });\n // Reset validation state on label press for checkbox with a hidden input.\n let { pressProps: pressProps } = (0, $jNP0e$usePress)({\n isDisabled: isDisabled || isReadOnly,\n onPress () {\n // @ts-expect-error\n let { [(0, $jNP0e$privateValidationStateProp)]: groupValidationState } = props;\n let { commitValidation: commitValidation } = groupValidationState ? groupValidationState : validationState;\n commitValidation();\n }\n });\n return {\n labelProps: (0, $jNP0e$mergeProps)(labelProps, pressProps),\n inputProps: {\n ...inputProps,\n checked: isSelected,\n 'aria-required': isRequired && validationBehavior === 'aria' || undefined,\n required: isRequired && validationBehavior === 'native'\n },\n isSelected: isSelected,\n isPressed: isPressed,\n isDisabled: isDisabled,\n isReadOnly: isReadOnly,\n isInvalid: isInvalid,\n validationErrors: validationErrors,\n validationDetails: validationDetails\n };\n}\n\n\nexport {$406796ff087fe49b$export$e375f10ce42261c5 as useCheckbox};\n//# sourceMappingURL=useCheckbox.module.js.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $1ae600c947479353$export$ec98120685d4f57d = new WeakMap();\n\n\nexport {$1ae600c947479353$export$ec98120685d4f57d as checkboxGroupData};\n//# sourceMappingURL=utils.module.js.map\n","import {useCheckbox as $406796ff087fe49b$export$e375f10ce42261c5} from \"./useCheckbox.mjs\";\nimport {checkboxGroupData as $1ae600c947479353$export$ec98120685d4f57d} from \"./utils.mjs\";\nimport {useFormValidationState as $6clEo$useFormValidationState, DEFAULT_VALIDATION_RESULT as $6clEo$DEFAULT_VALIDATION_RESULT, privateValidationStateProp as $6clEo$privateValidationStateProp} from \"@react-stately/form\";\nimport {useRef as $6clEo$useRef, useEffect as $6clEo$useEffect} from \"react\";\nimport {useToggleState as $6clEo$useToggleState} from \"@react-stately/toggle\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nfunction $fba3e38d5ca8983f$export$353b32fc6898d37d(props, state, inputRef) {\n const toggleState = (0, $6clEo$useToggleState)({\n isReadOnly: props.isReadOnly || state.isReadOnly,\n isSelected: state.isSelected(props.value),\n defaultSelected: state.defaultValue.includes(props.value),\n onChange (isSelected) {\n if (isSelected) state.addValue(props.value);\n else state.removeValue(props.value);\n if (props.onChange) props.onChange(isSelected);\n }\n });\n let { name: name, form: form, descriptionId: descriptionId, errorMessageId: errorMessageId, validationBehavior: validationBehavior } = (0, $1ae600c947479353$export$ec98120685d4f57d).get(state);\n var _props_validationBehavior;\n validationBehavior = (_props_validationBehavior = props.validationBehavior) !== null && _props_validationBehavior !== void 0 ? _props_validationBehavior : validationBehavior;\n // Local validation for this checkbox.\n let { realtimeValidation: realtimeValidation } = (0, $6clEo$useFormValidationState)({\n ...props,\n value: toggleState.isSelected,\n // Server validation is handled at the group level.\n name: undefined,\n validationBehavior: 'aria'\n });\n // Update the checkbox group state when realtime validation changes.\n let nativeValidation = (0, $6clEo$useRef)((0, $6clEo$DEFAULT_VALIDATION_RESULT));\n let updateValidation = ()=>{\n state.setInvalid(props.value, realtimeValidation.isInvalid ? realtimeValidation : nativeValidation.current);\n };\n (0, $6clEo$useEffect)(updateValidation);\n // Combine group and checkbox level validation.\n let combinedRealtimeValidation = state.realtimeValidation.isInvalid ? state.realtimeValidation : realtimeValidation;\n let displayValidation = validationBehavior === 'native' ? state.displayValidation : combinedRealtimeValidation;\n var _props_isRequired;\n let res = (0, $406796ff087fe49b$export$e375f10ce42261c5)({\n ...props,\n isReadOnly: props.isReadOnly || state.isReadOnly,\n isDisabled: props.isDisabled || state.isDisabled,\n name: props.name || name,\n form: props.form || form,\n isRequired: (_props_isRequired = props.isRequired) !== null && _props_isRequired !== void 0 ? _props_isRequired : state.isRequired,\n validationBehavior: validationBehavior,\n [(0, $6clEo$privateValidationStateProp)]: {\n realtimeValidation: combinedRealtimeValidation,\n displayValidation: displayValidation,\n resetValidation: state.resetValidation,\n commitValidation: state.commitValidation,\n updateValidation (v) {\n nativeValidation.current = v;\n updateValidation();\n }\n }\n }, toggleState, inputRef);\n return {\n ...res,\n inputProps: {\n ...res.inputProps,\n 'aria-describedby': [\n props['aria-describedby'],\n state.isInvalid ? errorMessageId : null,\n descriptionId\n ].filter(Boolean).join(' ') || undefined\n }\n };\n}\n\n\nexport {$fba3e38d5ca8983f$export$353b32fc6898d37d as useCheckboxGroupItem};\n//# sourceMappingURL=useCheckboxGroupItem.module.js.map\n","import {CheckboxContext as $4e85f108e88277b8$export$b085522c77523c51} from \"./RSPContexts.mjs\";\nimport {Provider as $64fa3d84918910a7$export$2881499e37b75b9a, removeDataAttributes as $64fa3d84918910a7$export$ef03459518577ad4, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3, useSlot as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, useSlottedContext as $64fa3d84918910a7$export$fabf2dc03a41866e} from \"./utils.mjs\";\nimport {FieldErrorContext as $ee014567cb39d3f0$export$ff05c3ac10437e03} from \"./FieldError.mjs\";\nimport {FormContext as $d3e0e05bdfcf66bd$export$c24727297075ec6a} from \"./Form.mjs\";\nimport {LabelContext as $01b77f81d0f07f68$export$75b6ee27786ba447} from \"./Label.mjs\";\nimport {TextContext as $514c0188e459b4c0$export$9afb8bc826b033ea} from \"./Text.mjs\";\nimport {useCheckboxGroup as $kPH7g$useCheckboxGroup, mergeProps as $kPH7g$mergeProps, useCheckboxGroupItem as $kPH7g$useCheckboxGroupItem, useCheckbox as $kPH7g$useCheckbox, useFocusRing as $kPH7g$useFocusRing, useHover as $kPH7g$useHover, VisuallyHidden as $kPH7g$VisuallyHidden} from \"react-aria\";\nimport {useCheckboxGroupState as $kPH7g$useCheckboxGroupState, useToggleState as $kPH7g$useToggleState} from \"react-stately\";\nimport {filterDOMProps as $kPH7g$filterDOMProps, useObjectRef as $kPH7g$useObjectRef, mergeRefs as $kPH7g$mergeRefs} from \"@react-aria/utils\";\nimport $kPH7g$react, {createContext as $kPH7g$createContext, forwardRef as $kPH7g$forwardRef, useContext as $kPH7g$useContext, useMemo as $kPH7g$useMemo} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\nconst $bc237834342dbd75$export$baf37c4be89255b8 = /*#__PURE__*/ (0, $kPH7g$createContext)(null);\nconst $bc237834342dbd75$export$139c5b8563afc1fc = /*#__PURE__*/ (0, $kPH7g$createContext)(null);\nconst $bc237834342dbd75$export$4aa08d5625cb8ead = /*#__PURE__*/ (0, $kPH7g$forwardRef)(function CheckboxGroup(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $bc237834342dbd75$export$baf37c4be89255b8);\n let { validationBehavior: formValidationBehavior } = (0, $64fa3d84918910a7$export$fabf2dc03a41866e)((0, $d3e0e05bdfcf66bd$export$c24727297075ec6a)) || {};\n var _props_validationBehavior, _ref;\n let validationBehavior = (_ref = (_props_validationBehavior = props.validationBehavior) !== null && _props_validationBehavior !== void 0 ? _props_validationBehavior : formValidationBehavior) !== null && _ref !== void 0 ? _ref : 'native';\n let state = (0, $kPH7g$useCheckboxGroupState)({\n ...props,\n validationBehavior: validationBehavior\n });\n let [labelRef, label] = (0, $64fa3d84918910a7$export$9d4c57ee4c6ffdd8)(!props['aria-label'] && !props['aria-labelledby']);\n let { groupProps: groupProps, labelProps: labelProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps, ...validation } = (0, $kPH7g$useCheckboxGroup)({\n ...props,\n label: label,\n validationBehavior: validationBehavior\n }, state);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n values: {\n isDisabled: state.isDisabled,\n isReadOnly: state.isReadOnly,\n isRequired: props.isRequired || false,\n isInvalid: state.isInvalid,\n state: state\n },\n defaultClassName: 'react-aria-CheckboxGroup'\n });\n let DOMProps = (0, $kPH7g$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $kPH7g$react).createElement(\"div\", {\n ...(0, $kPH7g$mergeProps)(DOMProps, renderProps, groupProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-readonly\": state.isReadOnly || undefined,\n \"data-required\": props.isRequired || undefined,\n \"data-invalid\": state.isInvalid || undefined,\n \"data-disabled\": props.isDisabled || undefined\n }, /*#__PURE__*/ (0, $kPH7g$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $bc237834342dbd75$export$139c5b8563afc1fc,\n state\n ],\n [\n (0, $01b77f81d0f07f68$export$75b6ee27786ba447),\n {\n ...labelProps,\n ref: labelRef,\n elementType: 'span'\n }\n ],\n [\n (0, $514c0188e459b4c0$export$9afb8bc826b033ea),\n {\n slots: {\n description: descriptionProps,\n errorMessage: errorMessageProps\n }\n }\n ],\n [\n (0, $ee014567cb39d3f0$export$ff05c3ac10437e03),\n validation\n ]\n ]\n }, renderProps.children));\n});\nconst $bc237834342dbd75$export$48513f6b9f8ce62d = /*#__PURE__*/ (0, $kPH7g$forwardRef)(function Checkbox(props, ref) {\n let { inputRef: userProvidedInputRef = null, ...otherProps } = props;\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(otherProps, ref, (0, $4e85f108e88277b8$export$b085522c77523c51));\n let { validationBehavior: formValidationBehavior } = (0, $64fa3d84918910a7$export$fabf2dc03a41866e)((0, $d3e0e05bdfcf66bd$export$c24727297075ec6a)) || {};\n var _props_validationBehavior, _ref;\n let validationBehavior = (_ref = (_props_validationBehavior = props.validationBehavior) !== null && _props_validationBehavior !== void 0 ? _props_validationBehavior : formValidationBehavior) !== null && _ref !== void 0 ? _ref : 'native';\n let groupState = (0, $kPH7g$useContext)($bc237834342dbd75$export$139c5b8563afc1fc);\n let inputRef = (0, $kPH7g$useObjectRef)((0, $kPH7g$useMemo)(()=>(0, $kPH7g$mergeRefs)(userProvidedInputRef, props.inputRef !== undefined ? props.inputRef : null), [\n userProvidedInputRef,\n props.inputRef\n ]));\n let { labelProps: labelProps, inputProps: inputProps, isSelected: isSelected, isDisabled: isDisabled, isReadOnly: isReadOnly, isPressed: isPressed, isInvalid: isInvalid } = groupState ? (0, $kPH7g$useCheckboxGroupItem)({\n ...(0, $64fa3d84918910a7$export$ef03459518577ad4)(props),\n // Value is optional for standalone checkboxes, but required for CheckboxGroup items;\n // it's passed explicitly here to avoid typescript error (requires ignore).\n // @ts-ignore\n value: props.value,\n // ReactNode type doesn't allow function children.\n children: typeof props.children === 'function' ? true : props.children\n }, groupState, inputRef) : (0, $kPH7g$useCheckbox)({\n ...(0, $64fa3d84918910a7$export$ef03459518577ad4)(props),\n children: typeof props.children === 'function' ? true : props.children,\n validationBehavior: validationBehavior\n }, (0, $kPH7g$useToggleState)(props), inputRef);\n let { isFocused: isFocused, isFocusVisible: isFocusVisible, focusProps: focusProps } = (0, $kPH7g$useFocusRing)();\n let isInteractionDisabled = isDisabled || isReadOnly;\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $kPH7g$useHover)({\n ...props,\n isDisabled: isInteractionDisabled\n });\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-Checkbox',\n values: {\n isSelected: isSelected,\n isIndeterminate: props.isIndeterminate || false,\n isPressed: isPressed,\n isHovered: isHovered,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n isDisabled: isDisabled,\n isReadOnly: isReadOnly,\n isInvalid: isInvalid,\n isRequired: props.isRequired || false\n }\n });\n let DOMProps = (0, $kPH7g$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n delete DOMProps.onClick;\n return /*#__PURE__*/ (0, $kPH7g$react).createElement(\"label\", {\n ...(0, $kPH7g$mergeProps)(DOMProps, labelProps, hoverProps, renderProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-selected\": isSelected || undefined,\n \"data-indeterminate\": props.isIndeterminate || undefined,\n \"data-pressed\": isPressed || undefined,\n \"data-hovered\": isHovered || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-disabled\": isDisabled || undefined,\n \"data-readonly\": isReadOnly || undefined,\n \"data-invalid\": isInvalid || undefined,\n \"data-required\": props.isRequired || undefined\n }, /*#__PURE__*/ (0, $kPH7g$react).createElement((0, $kPH7g$VisuallyHidden), {\n elementType: \"span\"\n }, /*#__PURE__*/ (0, $kPH7g$react).createElement(\"input\", {\n ...(0, $kPH7g$mergeProps)(inputProps, focusProps),\n ref: inputRef\n })), renderProps.children);\n});\n\n\nexport {$bc237834342dbd75$export$baf37c4be89255b8 as CheckboxGroupContext, $bc237834342dbd75$export$139c5b8563afc1fc as CheckboxGroupStateContext, $bc237834342dbd75$export$4aa08d5625cb8ead as CheckboxGroup, $bc237834342dbd75$export$48513f6b9f8ce62d as Checkbox};\n//# sourceMappingURL=Checkbox.module.js.map\n","/* eslint-disable @typescript-eslint/no-empty-object-type */\nimport {\n createSlotRecipeContext,\n type HTMLChakraProps,\n type RecipeVariantProps,\n} from \"@chakra-ui/react/styled-system\";\nimport {\n Checkbox as RaCheckbox,\n type CheckboxProps,\n} from \"react-aria-components\";\nimport { checkboxSlotRecipe } from \"./checkbox.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"checkbox\",\n});\n\nexport interface CheckboxRootProps\n extends Omit<\n HTMLChakraProps<\"label\", RecipeVariantProps<typeof checkboxSlotRecipe>>,\n keyof CheckboxProps\n >,\n CheckboxProps {}\n\nexport const CheckboxRoot = withProvider<CheckboxRootProps, CheckboxRootProps>(\n RaCheckbox,\n \"root\"\n);\n\ninterface CheckboxLabelProps extends HTMLChakraProps<\"span\"> {}\nexport const CheckboxLabel = withContext<HTMLSpanElement, CheckboxLabelProps>(\n \"span\",\n \"label\"\n);\n\ninterface CheckboxIndicatorProps extends HTMLChakraProps<\"span\"> {}\nexport const CheckboxIndicator = withContext<\n HTMLSpanElement,\n CheckboxIndicatorProps\n>(\"span\", \"indicator\");\n","import { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { Check, Remove as Minus } from \"@commercetools/nimbus-icons\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport type { CheckboxProps } from \"./checkbox.types\";\nimport type { CheckboxRenderProps } from \"react-aria-components\";\nimport {\n CheckboxIndicator,\n CheckboxRoot,\n CheckboxLabel,\n} from \"./checkbox.slots\";\n\n/**\n * # Checkbox\n *\n * Displays a checkbox.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/checkbox}\n */\nexport const Checkbox = (props: CheckboxProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n const recipe = useSlotRecipe({ key: \"checkbox\" });\n const [recipeProps, remainingProps] = recipe.splitVariantProps(restProps);\n\n const [styleProps, functionalProps] = extractStyleProps(remainingProps);\n\n return (\n <CheckboxRoot\n ref={forwardedRef}\n data-slot=\"root\"\n {...functionalProps}\n {...recipeProps}\n {...styleProps}\n >\n {({\n isSelected,\n isIndeterminate,\n isInvalid,\n isDisabled,\n isFocused,\n }: CheckboxRenderProps) => {\n const stateProps = {\n \"data-selected\": isSelected,\n \"data-indeterminate\": isIndeterminate,\n \"data-invalid\": isInvalid,\n \"data-disabled\": isDisabled,\n \"data-focus\": isFocused || undefined,\n };\n\n return (\n <>\n <CheckboxIndicator data-slot=\"indicator\" {...stateProps}>\n {isSelected && <Check />}\n {isIndeterminate && <Minus />}\n </CheckboxIndicator>\n\n {children && (\n <CheckboxLabel data-slot=\"label\" {...stateProps}>\n {children}\n </CheckboxLabel>\n )}\n </>\n );\n }}\n </CheckboxRoot>\n );\n};\nCheckbox.displayName = \"Checkbox\";\n"],"names":["$406796ff087fe49b$export$e375f10ce42261c5","props","state","inputRef","validationState","$jNP0e$useFormValidationState","isInvalid","validationErrors","validationDetails","labelProps","inputProps","isSelected","isPressed","isDisabled","isReadOnly","$jNP0e$useToggle","$jNP0e$useFormValidation","isIndeterminate","isRequired","validationBehavior","$jNP0e$useEffect","pressProps","$jNP0e$usePress","$jNP0e$privateValidationStateProp","groupValidationState","commitValidation","$jNP0e$mergeProps","$1ae600c947479353$export$ec98120685d4f57d","$fba3e38d5ca8983f$export$353b32fc6898d37d","toggleState","$6clEo$useToggleState","name","form","descriptionId","errorMessageId","_props_validationBehavior","realtimeValidation","$6clEo$useFormValidationState","nativeValidation","$6clEo$useRef","$6clEo$DEFAULT_VALIDATION_RESULT","updateValidation","$6clEo$useEffect","combinedRealtimeValidation","displayValidation","_props_isRequired","res","$6clEo$privateValidationStateProp","v","$bc237834342dbd75$export$139c5b8563afc1fc","$kPH7g$createContext","$bc237834342dbd75$export$48513f6b9f8ce62d","$kPH7g$forwardRef","ref","userProvidedInputRef","otherProps","$64fa3d84918910a7$export$29f1550f4b0d4415","$4e85f108e88277b8$export$b085522c77523c51","formValidationBehavior","$64fa3d84918910a7$export$fabf2dc03a41866e","$d3e0e05bdfcf66bd$export$c24727297075ec6a","_ref","groupState","$kPH7g$useContext","$kPH7g$useObjectRef","$kPH7g$useMemo","$kPH7g$mergeRefs","$kPH7g$useCheckboxGroupItem","$64fa3d84918910a7$export$ef03459518577ad4","$kPH7g$useCheckbox","$kPH7g$useToggleState","isFocused","isFocusVisible","focusProps","$kPH7g$useFocusRing","isInteractionDisabled","hoverProps","isHovered","$kPH7g$useHover","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","DOMProps","$kPH7g$filterDOMProps","$kPH7g$react","$kPH7g$mergeProps","$kPH7g$VisuallyHidden","withProvider","withContext","createSlotRecipeContext","CheckboxRoot","RaCheckbox","CheckboxLabel","CheckboxIndicator","Checkbox","forwardedRef","children","restProps","recipe","useSlotRecipe","recipeProps","remainingProps","styleProps","functionalProps","extractStyleProps","jsx","stateProps","jsxs","Fragment","Check","Minus"],"mappings":";;;;;;;;;;;;;;;;;;AAuBA,SAASA,EAA0CC,GAAOC,GAAOC,GAAU;AAEvE,MAAIC,IAAsBC,EAA+B;AAAA,IACrD,GAAGJ;AAAA,IACH,OAAOC,EAAM;AAAA,EACrB,CAAK,GACG,EAAE,WAAWI,GAAW,kBAAkBC,GAAkB,mBAAmBC,MAAsBJ,EAAgB,mBACrH,EAAE,YAAYK,GAAY,YAAYC,GAAY,YAAYC,GAAY,WAAWC,GAAW,YAAYC,GAAY,YAAYC,EAAU,IAASC,GAAkB;AAAA,IACzK,GAAGd;AAAA,IACH,WAAWK;AAAA,EACnB,GAAOJ,GAAOC,CAAQ;AAClB,EAAIa,GAA0Bf,GAAOG,GAAiBD,CAAQ;AAC9D,MAAI,EAAE,iBAAiBc,GAAiB,YAAYC,GAAY,oBAAoBC,IAAqB,OAAM,IAAKlB;AACpH,EAAImB,EAAkB,MAAI;AAGtB,IAAIjB,EAAS,YAASA,EAAS,QAAQ,gBAAgB,CAAC,CAACc;AAAA,EAC7D,CAAC;AAED,MAAI,EAAE,YAAYI,EAAU,IAASC,GAAiB;AAAA,IAClD,YAAYT,KAAcC;AAAA,IAC1B,UAAW;AAEP,UAAI,EAAE,CAAKS,IAAqCC,EAAoB,IAAKvB,GACrE,EAAE,kBAAkBwB,EAAgB,IAAKD,KAA8CpB;AAC3F,MAAAqB,EAAgB;AAAA,IACpB;AAAA,EACR,CAAK;AACD,SAAO;AAAA,IACH,YAAgBC,EAAm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W,CAAC5F,MAAyB;AAChD,QAAM,EAAE,KAAK6F,GAAc,UAAAC,GAAU,GAAGC,MAAc/F,GAEhDgG,IAASC,EAAc,EAAE,KAAK,YAAY,GAC1C,CAACC,GAAaC,CAAc,IAAIH,EAAO,kBAAkBD,CAAS,GAElE,CAACK,GAAYC,CAAe,IAAIC,EAAkBH,CAAc;AAEtE,SACE,gBAAAI;AAAA,IAACf;AAAA,IAAA;AAAA,MACC,KAAKK;AAAA,MACL,aAAU;AAAA,MACT,GAAGQ;AAAA,MACH,GAAGH;AAAA,MACH,GAAGE;AAAA,MAEH,UAAA,CAAC;AAAA,QACA,YAAA1F;AAAA,QACA,iBAAAM;AAAA,QACA,WAAAX;AAAA,QACA,YAAAO;AAAA,QACA,WAAA0D;AAAA,MAAA,MACyB;AACzB,cAAMkC,IAAa;AAAA,UACjB,iBAAiB9F;AAAA,UACjB,sBAAsBM;AAAA,UACtB,gBAAgBX;AAAA,UAChB,iBAAiBO;AAAA,UACjB,cAAc0D,KAAa;AAAA,QAAA;AAG7B,eACE,gBAAAmC,EAAAC,GAAA,EACE,UAAA;AAAA,UAAA,gBAAAD,EAACd,IAAA,EAAkB,aAAU,aAAa,GAAGa,GAC1C,UAAA;AAAA,YAAA9F,uBAAeiG,GAAA,EAAM;AAAA,YACrB3F,uBAAoB4F,GAAA,CAAA,CAAM;AAAA,UAAA,GAC7B;AAAA,UAECd,KACC,gBAAAS,EAACb,IAAA,EAAc,aAAU,SAAS,GAAGc,GAClC,UAAAV,EAAA,CACH;AAAA,QAAA,GAEJ;AAAA,MAEJ;AAAA,IAAA;AAAA,EAAA;AAGN;AACAF,GAAS,cAAc;","x_google_ignoreList":[0,1,2,3]}
1
+ {"version":3,"file":"checkbox-CdSHDZgM.es.js","sources":["../../../../node_modules/.pnpm/@react-aria+checkbox@3.16.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/checkbox/dist/useCheckbox.mjs","../../../../node_modules/.pnpm/@react-aria+checkbox@3.16.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/checkbox/dist/utils.mjs","../../../../node_modules/.pnpm/@react-aria+checkbox@3.16.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@react-aria/checkbox/dist/useCheckboxGroupItem.mjs","../../../../node_modules/.pnpm/react-aria-components@1.12.1_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-aria-components/dist/Checkbox.mjs","../../src/components/checkbox/checkbox.slots.tsx","../../src/components/checkbox/checkbox.tsx"],"sourcesContent":["import {useEffect as $jNP0e$useEffect} from \"react\";\nimport {mergeProps as $jNP0e$mergeProps} from \"@react-aria/utils\";\nimport {useFormValidationState as $jNP0e$useFormValidationState, privateValidationStateProp as $jNP0e$privateValidationStateProp} from \"@react-stately/form\";\nimport {useFormValidation as $jNP0e$useFormValidation} from \"@react-aria/form\";\nimport {usePress as $jNP0e$usePress} from \"@react-aria/interactions\";\nimport {useToggle as $jNP0e$useToggle} from \"@react-aria/toggle\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\nfunction $406796ff087fe49b$export$e375f10ce42261c5(props, state, inputRef) {\n // Create validation state here because it doesn't make sense to add to general useToggleState.\n let validationState = (0, $jNP0e$useFormValidationState)({\n ...props,\n value: state.isSelected\n });\n let { isInvalid: isInvalid, validationErrors: validationErrors, validationDetails: validationDetails } = validationState.displayValidation;\n let { labelProps: labelProps, inputProps: inputProps, isSelected: isSelected, isPressed: isPressed, isDisabled: isDisabled, isReadOnly: isReadOnly } = (0, $jNP0e$useToggle)({\n ...props,\n isInvalid: isInvalid\n }, state, inputRef);\n (0, $jNP0e$useFormValidation)(props, validationState, inputRef);\n let { isIndeterminate: isIndeterminate, isRequired: isRequired, validationBehavior: validationBehavior = 'aria' } = props;\n (0, $jNP0e$useEffect)(()=>{\n // indeterminate is a property, but it can only be set via javascript\n // https://css-tricks.com/indeterminate-checkboxes/\n if (inputRef.current) inputRef.current.indeterminate = !!isIndeterminate;\n });\n // Reset validation state on label press for checkbox with a hidden input.\n let { pressProps: pressProps } = (0, $jNP0e$usePress)({\n isDisabled: isDisabled || isReadOnly,\n onPress () {\n // @ts-expect-error\n let { [(0, $jNP0e$privateValidationStateProp)]: groupValidationState } = props;\n let { commitValidation: commitValidation } = groupValidationState ? groupValidationState : validationState;\n commitValidation();\n }\n });\n return {\n labelProps: (0, $jNP0e$mergeProps)(labelProps, pressProps),\n inputProps: {\n ...inputProps,\n checked: isSelected,\n 'aria-required': isRequired && validationBehavior === 'aria' || undefined,\n required: isRequired && validationBehavior === 'native'\n },\n isSelected: isSelected,\n isPressed: isPressed,\n isDisabled: isDisabled,\n isReadOnly: isReadOnly,\n isInvalid: isInvalid,\n validationErrors: validationErrors,\n validationDetails: validationDetails\n };\n}\n\n\nexport {$406796ff087fe49b$export$e375f10ce42261c5 as useCheckbox};\n//# sourceMappingURL=useCheckbox.module.js.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $1ae600c947479353$export$ec98120685d4f57d = new WeakMap();\n\n\nexport {$1ae600c947479353$export$ec98120685d4f57d as checkboxGroupData};\n//# sourceMappingURL=utils.module.js.map\n","import {useCheckbox as $406796ff087fe49b$export$e375f10ce42261c5} from \"./useCheckbox.mjs\";\nimport {checkboxGroupData as $1ae600c947479353$export$ec98120685d4f57d} from \"./utils.mjs\";\nimport {useFormValidationState as $6clEo$useFormValidationState, DEFAULT_VALIDATION_RESULT as $6clEo$DEFAULT_VALIDATION_RESULT, privateValidationStateProp as $6clEo$privateValidationStateProp} from \"@react-stately/form\";\nimport {useRef as $6clEo$useRef, useEffect as $6clEo$useEffect} from \"react\";\nimport {useToggleState as $6clEo$useToggleState} from \"@react-stately/toggle\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\nfunction $fba3e38d5ca8983f$export$353b32fc6898d37d(props, state, inputRef) {\n const toggleState = (0, $6clEo$useToggleState)({\n isReadOnly: props.isReadOnly || state.isReadOnly,\n isSelected: state.isSelected(props.value),\n defaultSelected: state.defaultValue.includes(props.value),\n onChange (isSelected) {\n if (isSelected) state.addValue(props.value);\n else state.removeValue(props.value);\n if (props.onChange) props.onChange(isSelected);\n }\n });\n let { name: name, form: form, descriptionId: descriptionId, errorMessageId: errorMessageId, validationBehavior: validationBehavior } = (0, $1ae600c947479353$export$ec98120685d4f57d).get(state);\n var _props_validationBehavior;\n validationBehavior = (_props_validationBehavior = props.validationBehavior) !== null && _props_validationBehavior !== void 0 ? _props_validationBehavior : validationBehavior;\n // Local validation for this checkbox.\n let { realtimeValidation: realtimeValidation } = (0, $6clEo$useFormValidationState)({\n ...props,\n value: toggleState.isSelected,\n // Server validation is handled at the group level.\n name: undefined,\n validationBehavior: 'aria'\n });\n // Update the checkbox group state when realtime validation changes.\n let nativeValidation = (0, $6clEo$useRef)((0, $6clEo$DEFAULT_VALIDATION_RESULT));\n let updateValidation = ()=>{\n state.setInvalid(props.value, realtimeValidation.isInvalid ? realtimeValidation : nativeValidation.current);\n };\n (0, $6clEo$useEffect)(updateValidation);\n // Combine group and checkbox level validation.\n let combinedRealtimeValidation = state.realtimeValidation.isInvalid ? state.realtimeValidation : realtimeValidation;\n let displayValidation = validationBehavior === 'native' ? state.displayValidation : combinedRealtimeValidation;\n var _props_isRequired;\n let res = (0, $406796ff087fe49b$export$e375f10ce42261c5)({\n ...props,\n isReadOnly: props.isReadOnly || state.isReadOnly,\n isDisabled: props.isDisabled || state.isDisabled,\n name: props.name || name,\n form: props.form || form,\n isRequired: (_props_isRequired = props.isRequired) !== null && _props_isRequired !== void 0 ? _props_isRequired : state.isRequired,\n validationBehavior: validationBehavior,\n [(0, $6clEo$privateValidationStateProp)]: {\n realtimeValidation: combinedRealtimeValidation,\n displayValidation: displayValidation,\n resetValidation: state.resetValidation,\n commitValidation: state.commitValidation,\n updateValidation (v) {\n nativeValidation.current = v;\n updateValidation();\n }\n }\n }, toggleState, inputRef);\n return {\n ...res,\n inputProps: {\n ...res.inputProps,\n 'aria-describedby': [\n props['aria-describedby'],\n state.isInvalid ? errorMessageId : null,\n descriptionId\n ].filter(Boolean).join(' ') || undefined\n }\n };\n}\n\n\nexport {$fba3e38d5ca8983f$export$353b32fc6898d37d as useCheckboxGroupItem};\n//# sourceMappingURL=useCheckboxGroupItem.module.js.map\n","import {CheckboxContext as $4e85f108e88277b8$export$b085522c77523c51} from \"./RSPContexts.mjs\";\nimport {Provider as $64fa3d84918910a7$export$2881499e37b75b9a, removeDataAttributes as $64fa3d84918910a7$export$ef03459518577ad4, useContextProps as $64fa3d84918910a7$export$29f1550f4b0d4415, useRenderProps as $64fa3d84918910a7$export$4d86445c2cf5e3, useSlot as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, useSlottedContext as $64fa3d84918910a7$export$fabf2dc03a41866e} from \"./utils.mjs\";\nimport {FieldErrorContext as $ee014567cb39d3f0$export$ff05c3ac10437e03} from \"./FieldError.mjs\";\nimport {FormContext as $d3e0e05bdfcf66bd$export$c24727297075ec6a} from \"./Form.mjs\";\nimport {LabelContext as $01b77f81d0f07f68$export$75b6ee27786ba447} from \"./Label.mjs\";\nimport {TextContext as $514c0188e459b4c0$export$9afb8bc826b033ea} from \"./Text.mjs\";\nimport {useCheckboxGroup as $kPH7g$useCheckboxGroup, mergeProps as $kPH7g$mergeProps, useCheckboxGroupItem as $kPH7g$useCheckboxGroupItem, useCheckbox as $kPH7g$useCheckbox, useFocusRing as $kPH7g$useFocusRing, useHover as $kPH7g$useHover, VisuallyHidden as $kPH7g$VisuallyHidden} from \"react-aria\";\nimport {useCheckboxGroupState as $kPH7g$useCheckboxGroupState, useToggleState as $kPH7g$useToggleState} from \"react-stately\";\nimport {filterDOMProps as $kPH7g$filterDOMProps, useObjectRef as $kPH7g$useObjectRef, mergeRefs as $kPH7g$mergeRefs} from \"@react-aria/utils\";\nimport $kPH7g$react, {createContext as $kPH7g$createContext, forwardRef as $kPH7g$forwardRef, useContext as $kPH7g$useContext, useMemo as $kPH7g$useMemo} from \"react\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\nconst $bc237834342dbd75$export$baf37c4be89255b8 = /*#__PURE__*/ (0, $kPH7g$createContext)(null);\nconst $bc237834342dbd75$export$139c5b8563afc1fc = /*#__PURE__*/ (0, $kPH7g$createContext)(null);\nconst $bc237834342dbd75$export$4aa08d5625cb8ead = /*#__PURE__*/ (0, $kPH7g$forwardRef)(function CheckboxGroup(props, ref) {\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(props, ref, $bc237834342dbd75$export$baf37c4be89255b8);\n let { validationBehavior: formValidationBehavior } = (0, $64fa3d84918910a7$export$fabf2dc03a41866e)((0, $d3e0e05bdfcf66bd$export$c24727297075ec6a)) || {};\n var _props_validationBehavior, _ref;\n let validationBehavior = (_ref = (_props_validationBehavior = props.validationBehavior) !== null && _props_validationBehavior !== void 0 ? _props_validationBehavior : formValidationBehavior) !== null && _ref !== void 0 ? _ref : 'native';\n let state = (0, $kPH7g$useCheckboxGroupState)({\n ...props,\n validationBehavior: validationBehavior\n });\n let [labelRef, label] = (0, $64fa3d84918910a7$export$9d4c57ee4c6ffdd8)(!props['aria-label'] && !props['aria-labelledby']);\n let { groupProps: groupProps, labelProps: labelProps, descriptionProps: descriptionProps, errorMessageProps: errorMessageProps, ...validation } = (0, $kPH7g$useCheckboxGroup)({\n ...props,\n label: label,\n validationBehavior: validationBehavior\n }, state);\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n values: {\n isDisabled: state.isDisabled,\n isReadOnly: state.isReadOnly,\n isRequired: props.isRequired || false,\n isInvalid: state.isInvalid,\n state: state\n },\n defaultClassName: 'react-aria-CheckboxGroup'\n });\n let DOMProps = (0, $kPH7g$filterDOMProps)(props, {\n global: true\n });\n return /*#__PURE__*/ (0, $kPH7g$react).createElement(\"div\", {\n ...(0, $kPH7g$mergeProps)(DOMProps, renderProps, groupProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-readonly\": state.isReadOnly || undefined,\n \"data-required\": props.isRequired || undefined,\n \"data-invalid\": state.isInvalid || undefined,\n \"data-disabled\": props.isDisabled || undefined\n }, /*#__PURE__*/ (0, $kPH7g$react).createElement((0, $64fa3d84918910a7$export$2881499e37b75b9a), {\n values: [\n [\n $bc237834342dbd75$export$139c5b8563afc1fc,\n state\n ],\n [\n (0, $01b77f81d0f07f68$export$75b6ee27786ba447),\n {\n ...labelProps,\n ref: labelRef,\n elementType: 'span'\n }\n ],\n [\n (0, $514c0188e459b4c0$export$9afb8bc826b033ea),\n {\n slots: {\n description: descriptionProps,\n errorMessage: errorMessageProps\n }\n }\n ],\n [\n (0, $ee014567cb39d3f0$export$ff05c3ac10437e03),\n validation\n ]\n ]\n }, renderProps.children));\n});\nconst $bc237834342dbd75$export$48513f6b9f8ce62d = /*#__PURE__*/ (0, $kPH7g$forwardRef)(function Checkbox(props, ref) {\n let { inputRef: userProvidedInputRef = null, ...otherProps } = props;\n [props, ref] = (0, $64fa3d84918910a7$export$29f1550f4b0d4415)(otherProps, ref, (0, $4e85f108e88277b8$export$b085522c77523c51));\n let { validationBehavior: formValidationBehavior } = (0, $64fa3d84918910a7$export$fabf2dc03a41866e)((0, $d3e0e05bdfcf66bd$export$c24727297075ec6a)) || {};\n var _props_validationBehavior, _ref;\n let validationBehavior = (_ref = (_props_validationBehavior = props.validationBehavior) !== null && _props_validationBehavior !== void 0 ? _props_validationBehavior : formValidationBehavior) !== null && _ref !== void 0 ? _ref : 'native';\n let groupState = (0, $kPH7g$useContext)($bc237834342dbd75$export$139c5b8563afc1fc);\n let inputRef = (0, $kPH7g$useObjectRef)((0, $kPH7g$useMemo)(()=>(0, $kPH7g$mergeRefs)(userProvidedInputRef, props.inputRef !== undefined ? props.inputRef : null), [\n userProvidedInputRef,\n props.inputRef\n ]));\n let { labelProps: labelProps, inputProps: inputProps, isSelected: isSelected, isDisabled: isDisabled, isReadOnly: isReadOnly, isPressed: isPressed, isInvalid: isInvalid } = groupState ? (0, $kPH7g$useCheckboxGroupItem)({\n ...(0, $64fa3d84918910a7$export$ef03459518577ad4)(props),\n // Value is optional for standalone checkboxes, but required for CheckboxGroup items;\n // it's passed explicitly here to avoid typescript error (requires ignore).\n // @ts-ignore\n value: props.value,\n // ReactNode type doesn't allow function children.\n children: typeof props.children === 'function' ? true : props.children\n }, groupState, inputRef) : (0, $kPH7g$useCheckbox)({\n ...(0, $64fa3d84918910a7$export$ef03459518577ad4)(props),\n children: typeof props.children === 'function' ? true : props.children,\n validationBehavior: validationBehavior\n }, (0, $kPH7g$useToggleState)(props), inputRef);\n let { isFocused: isFocused, isFocusVisible: isFocusVisible, focusProps: focusProps } = (0, $kPH7g$useFocusRing)();\n let isInteractionDisabled = isDisabled || isReadOnly;\n let { hoverProps: hoverProps, isHovered: isHovered } = (0, $kPH7g$useHover)({\n ...props,\n isDisabled: isInteractionDisabled\n });\n let renderProps = (0, $64fa3d84918910a7$export$4d86445c2cf5e3)({\n ...props,\n defaultClassName: 'react-aria-Checkbox',\n values: {\n isSelected: isSelected,\n isIndeterminate: props.isIndeterminate || false,\n isPressed: isPressed,\n isHovered: isHovered,\n isFocused: isFocused,\n isFocusVisible: isFocusVisible,\n isDisabled: isDisabled,\n isReadOnly: isReadOnly,\n isInvalid: isInvalid,\n isRequired: props.isRequired || false\n }\n });\n let DOMProps = (0, $kPH7g$filterDOMProps)(props, {\n global: true\n });\n delete DOMProps.id;\n delete DOMProps.onClick;\n return /*#__PURE__*/ (0, $kPH7g$react).createElement(\"label\", {\n ...(0, $kPH7g$mergeProps)(DOMProps, labelProps, hoverProps, renderProps),\n ref: ref,\n slot: props.slot || undefined,\n \"data-selected\": isSelected || undefined,\n \"data-indeterminate\": props.isIndeterminate || undefined,\n \"data-pressed\": isPressed || undefined,\n \"data-hovered\": isHovered || undefined,\n \"data-focused\": isFocused || undefined,\n \"data-focus-visible\": isFocusVisible || undefined,\n \"data-disabled\": isDisabled || undefined,\n \"data-readonly\": isReadOnly || undefined,\n \"data-invalid\": isInvalid || undefined,\n \"data-required\": props.isRequired || undefined\n }, /*#__PURE__*/ (0, $kPH7g$react).createElement((0, $kPH7g$VisuallyHidden), {\n elementType: \"span\"\n }, /*#__PURE__*/ (0, $kPH7g$react).createElement(\"input\", {\n ...(0, $kPH7g$mergeProps)(inputProps, focusProps),\n ref: inputRef\n })), renderProps.children);\n});\n\n\nexport {$bc237834342dbd75$export$baf37c4be89255b8 as CheckboxGroupContext, $bc237834342dbd75$export$139c5b8563afc1fc as CheckboxGroupStateContext, $bc237834342dbd75$export$4aa08d5625cb8ead as CheckboxGroup, $bc237834342dbd75$export$48513f6b9f8ce62d as Checkbox};\n//# sourceMappingURL=Checkbox.module.js.map\n","/* eslint-disable @typescript-eslint/no-empty-object-type */\nimport {\n createSlotRecipeContext,\n type HTMLChakraProps,\n type RecipeVariantProps,\n} from \"@chakra-ui/react/styled-system\";\nimport {\n Checkbox as RaCheckbox,\n type CheckboxProps,\n} from \"react-aria-components\";\nimport { checkboxSlotRecipe } from \"./checkbox.recipe\";\n\nconst { withProvider, withContext } = createSlotRecipeContext({\n key: \"checkbox\",\n});\n\nexport interface CheckboxRootProps\n extends Omit<\n HTMLChakraProps<\"label\", RecipeVariantProps<typeof checkboxSlotRecipe>>,\n keyof CheckboxProps\n >,\n CheckboxProps {}\n\nexport const CheckboxRoot = withProvider<CheckboxRootProps, CheckboxRootProps>(\n RaCheckbox,\n \"root\"\n);\n\ninterface CheckboxLabelProps extends HTMLChakraProps<\"span\"> {}\nexport const CheckboxLabel = withContext<HTMLSpanElement, CheckboxLabelProps>(\n \"span\",\n \"label\"\n);\n\ninterface CheckboxIndicatorProps extends HTMLChakraProps<\"span\"> {}\nexport const CheckboxIndicator = withContext<\n HTMLSpanElement,\n CheckboxIndicatorProps\n>(\"span\", \"indicator\");\n","import { useSlotRecipe } from \"@chakra-ui/react/styled-system\";\nimport { Check, Remove as Minus } from \"@commercetools/nimbus-icons\";\nimport { extractStyleProps } from \"@/utils/extractStyleProps\";\nimport type { CheckboxProps } from \"./checkbox.types\";\nimport type { CheckboxRenderProps } from \"react-aria-components\";\nimport {\n CheckboxIndicator,\n CheckboxRoot,\n CheckboxLabel,\n} from \"./checkbox.slots\";\n\n/**\n * # Checkbox\n *\n * Displays a checkbox.\n *\n * @see {@link https://nimbus-documentation.vercel.app/components/inputs/checkbox}\n */\nexport const Checkbox = (props: CheckboxProps) => {\n const { ref: forwardedRef, children, ...restProps } = props;\n\n const recipe = useSlotRecipe({ key: \"checkbox\" });\n const [recipeProps, remainingProps] = recipe.splitVariantProps(restProps);\n\n const [styleProps, functionalProps] = extractStyleProps(remainingProps);\n\n return (\n <CheckboxRoot\n ref={forwardedRef}\n data-slot=\"root\"\n {...functionalProps}\n {...recipeProps}\n {...styleProps}\n >\n {({\n isSelected,\n isIndeterminate,\n isInvalid,\n isDisabled,\n isFocused,\n }: CheckboxRenderProps) => {\n const stateProps = {\n \"data-selected\": isSelected,\n \"data-indeterminate\": isIndeterminate,\n \"data-invalid\": isInvalid,\n \"data-disabled\": isDisabled,\n \"data-focus\": isFocused || undefined,\n };\n\n return (\n <>\n <CheckboxIndicator data-slot=\"indicator\" {...stateProps}>\n {isSelected && <Check />}\n {isIndeterminate && <Minus />}\n </CheckboxIndicator>\n\n {children && (\n <CheckboxLabel data-slot=\"label\" {...stateProps}>\n {children}\n </CheckboxLabel>\n )}\n </>\n );\n }}\n </CheckboxRoot>\n );\n};\nCheckbox.displayName = \"Checkbox\";\n"],"names":["$406796ff087fe49b$export$e375f10ce42261c5","props","state","inputRef","validationState","$jNP0e$useFormValidationState","isInvalid","validationErrors","validationDetails","labelProps","inputProps","isSelected","isPressed","isDisabled","isReadOnly","$jNP0e$useToggle","$jNP0e$useFormValidation","isIndeterminate","isRequired","validationBehavior","$jNP0e$useEffect","pressProps","$jNP0e$usePress","$jNP0e$privateValidationStateProp","groupValidationState","commitValidation","$jNP0e$mergeProps","$1ae600c947479353$export$ec98120685d4f57d","$fba3e38d5ca8983f$export$353b32fc6898d37d","toggleState","$6clEo$useToggleState","name","form","descriptionId","errorMessageId","_props_validationBehavior","realtimeValidation","$6clEo$useFormValidationState","nativeValidation","$6clEo$useRef","$6clEo$DEFAULT_VALIDATION_RESULT","updateValidation","$6clEo$useEffect","combinedRealtimeValidation","displayValidation","_props_isRequired","res","$6clEo$privateValidationStateProp","v","$bc237834342dbd75$export$139c5b8563afc1fc","$kPH7g$createContext","$bc237834342dbd75$export$48513f6b9f8ce62d","$kPH7g$forwardRef","ref","userProvidedInputRef","otherProps","$64fa3d84918910a7$export$29f1550f4b0d4415","$4e85f108e88277b8$export$b085522c77523c51","formValidationBehavior","$64fa3d84918910a7$export$fabf2dc03a41866e","$d3e0e05bdfcf66bd$export$c24727297075ec6a","_ref","groupState","$kPH7g$useContext","$kPH7g$useObjectRef","$kPH7g$useMemo","$kPH7g$mergeRefs","$kPH7g$useCheckboxGroupItem","$64fa3d84918910a7$export$ef03459518577ad4","$kPH7g$useCheckbox","$kPH7g$useToggleState","isFocused","isFocusVisible","focusProps","$kPH7g$useFocusRing","isInteractionDisabled","hoverProps","isHovered","$kPH7g$useHover","renderProps","$64fa3d84918910a7$export$4d86445c2cf5e3","DOMProps","$kPH7g$filterDOMProps","$kPH7g$react","$kPH7g$mergeProps","$kPH7g$VisuallyHidden","withProvider","withContext","createSlotRecipeContext","CheckboxRoot","RaCheckbox","CheckboxLabel","CheckboxIndicator","Checkbox","forwardedRef","children","restProps","recipe","useSlotRecipe","recipeProps","remainingProps","styleProps","functionalProps","extractStyleProps","jsx","stateProps","jsxs","Fragment","Check","Minus"],"mappings":";;;;;;;;;;;;;;;;;;AAuBA,SAASA,EAA0CC,GAAOC,GAAOC,GAAU;AAEvE,MAAIC,IAAsBC,EAA+B;AAAA,IACrD,GAAGJ;AAAA,IACH,OAAOC,EAAM;AAAA,EACrB,CAAK,GACG,EAAE,WAAWI,GAAW,kBAAkBC,GAAkB,mBAAmBC,MAAsBJ,EAAgB,mBACrH,EAAE,YAAYK,GAAY,YAAYC,GAAY,YAAYC,GAAY,WAAWC,GAAW,YAAYC,GAAY,YAAYC,EAAU,IAASC,GAAkB;AAAA,IACzK,GAAGd;AAAA,IACH,WAAWK;AAAA,EACnB,GAAOJ,GAAOC,CAAQ;AAClB,EAAIa,GAA0Bf,GAAOG,GAAiBD,CAAQ;AAC9D,MAAI,EA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AAM;AAAA,YACrB3F,uBAAoB4F,GAAA,CAAA,CAAM;AAAA,UAAA,GAC7B;AAAA,UAECd,KACC,gBAAAS,EAACb,IAAA,EAAc,aAAU,SAAS,GAAGc,GAClC,UAAAV,EAAA,CACH;AAAA,QAAA,GAEJ;AAAA,MAEJ;AAAA,IAAA;AAAA,EAAA;AAGN;AACAF,GAAS,cAAc;","x_google_ignoreList":[0,1,2,3]}
@@ -0,0 +1,2 @@
1
+ "use strict";const i=require("react/jsx-runtime"),we=require("@chakra-ui/react/styled-system"),je=require("./index-DX8-EG6B.cjs.js"),o=require("react"),Ke=require("./Button-BtJHe9xY.cjs.js"),w=require("./utils-BHdR5Nww.cjs.js"),Oe=require("./FieldError-DyGFfqST.cjs.js"),Ve=require("./Form-BuOomA4T.cjs.js"),Ae=require("./Group-MdeByg6t.cjs.js"),$e=require("./Input-HBDt7LmM.cjs.js"),Be=require("./Label-BgrYyYXn.cjs.js"),ie=require("./ListBox-BHUS7cW2.cjs.js"),oe=require("./Dialog-K19USc7c.cjs.js"),ge=require("./Text-BWSfeB9p.cjs.js"),Me=require("./Separator-CTkcgvBE.cjs.js"),qe=require("./filterDOMProps-WUskt27c.cjs.js"),Ge=require("./OverlayArrow-CYjyBtg8.cjs.js"),ze=require("./useFilter-CG8lxfCP.cjs.js"),Ne=require("./useFormValidation-BEaCuNx1.cjs.js"),K=require("./SelectionManager-CmUHDDN6.cjs.js"),hu=require("./useSingleSelectListState-C-E1yca1.cjs.js"),Ue=require("./useControlledState-D0L6S_5r.cjs.js"),he=require("./LiveAnnouncer-BkrEjKY8.cjs.js"),ee=require("./mergeProps-BA5Cwf5w.cjs.js"),se=require("./utils-BGHwK7fd.cjs.js"),vu=require("./openLink-DkCJYbzq.cjs.js"),ye=require("./useLabel-Y8tWagLu.cjs.js"),mu=require("./useUpdateEffect-C5YQs_1w.cjs.js"),be=require("./platform-BDLy2vDY.cjs.js"),We=require("./Header-zz3aj0c7.cjs.js"),He=require("./useLocalizedStringFormatter-sB0mFYtL.cjs.js"),Je=require("./useTextField-BcthGRd8.cjs.js"),Se=require("./extractStyleProps-CgqRiEwd.cjs.js"),de=require("@commercetools/nimbus-icons"),fe=require("./box-CWni3A32.cjs.js"),Ee=require("./icon-button-0GLW7WtL.cjs.js"),Ze=require("@chakra-ui/react/flex"),yu=require("@chakra-ui/react"),Xe=require("./useObjectRef-dXOJdONs.cjs.js"),Eu=require("./useEvent-CuUOU5WV.cjs.js"),Au=require("./useFocusVisible-Co0C61s7.cjs.js"),Bu=require("./TextArea-D3FFXnUy.cjs.js"),gu=require("./Hidden-CNJIJ63M.cjs.js"),ve=require("./tag-group-BfVRqsqw.cjs.js"),Su=require("./usePress-C8-hLXJw.cjs.js"),Fu=require("./useFocusable-DCgmQxS1.cjs.js"),Tu=o.forwardRef(({children:e,...t},u)=>{u=Xe.$df56164dff5785e2$export$4338b53315abf666(u);let{pressProps:l}=Su.$f6c31cce2adf654f$export$45712eceda6fad21({...t,ref:u}),{focusableProps:n}=Fu.$f645667febf57a63$export$4c014de7c8940b4c(t,u),a=o.Children.only(e);o.useEffect(()=>{if(process.env.NODE_ENV==="production")return;let s=u.current;if(!s||!(s instanceof se.$431fbd86ca7dc216$export$f21a1ffae260145a(s).Element)){console.error("<Pressable> child must forward its ref to a DOM element.");return}if(!t.isDisabled&&!se.$b4b717babfbb907b$export$4c063cf1350e6fed(s)){console.warn("<Pressable> child must be focusable. Please ensure the tabIndex prop is passed through.");return}if(s.localName!=="button"&&s.localName!=="input"&&s.localName!=="select"&&s.localName!=="textarea"&&s.localName!=="a"&&s.localName!=="area"&&s.localName!=="summary"){let c=s.getAttribute("role");c?c!=="application"&&c!=="button"&&c!=="checkbox"&&c!=="combobox"&&c!=="gridcell"&&c!=="link"&&c!=="menuitem"&&c!=="menuitemcheckbox"&&c!=="menuitemradio"&&c!=="option"&&c!=="radio"&&c!=="searchbox"&&c!=="separator"&&c!=="slider"&&c!=="spinbutton"&&c!=="switch"&&c!=="tab"&&c!=="textbox"&&c!=="treeitem"&&console.warn(`<Pressable> child must have an interactive ARIA role. Got "${c}".`):console.warn("<Pressable> child must have an interactive ARIA role.")}},[u,t.isDisabled]);let b=parseInt(o.version,10)<19?a.ref:a.props.ref;return o.cloneElement(a,{...ee.$3ef42575df84b30b$export$9d1611c77c2fe928(l,n,a.props),ref:w.$5dc95899b306f630$export$c9058316764c140e(b,u)})});var Ye={};Ye={buttonLabel:"عرض المقترحات",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} خيار`,other:()=>`${t.number(e.optionCount)} خيارات`})} متاحة.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`المجموعة المدخلة ${e.groupTitle}, مع ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} خيار`,other:()=>`${t.number(e.groupCount)} خيارات`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", محدد",other:""},e.isSelected)}`,listboxLabel:"مقترحات",selectedAnnouncement:e=>`${e.optionText}، محدد`};var Qe={};Qe={buttonLabel:"Покажи предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} опция`,other:()=>`${t.number(e.optionCount)} опции`})} на разположение.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Въведена група ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} опция`,other:()=>`${t.number(e.groupCount)} опции`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", избрани",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, избрани`};var _e={};_e={buttonLabel:"Zobrazit doporučení",countAnnouncement:(e,t)=>`K dispozici ${t.plural(e.optionCount,{one:()=>`je ${t.number(e.optionCount)} možnost`,other:()=>`jsou/je ${t.number(e.optionCount)} možnosti/-í`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina „${e.groupTitle}“ ${t.plural(e.groupCount,{one:()=>`s ${t.number(e.groupCount)} možností`,other:()=>`se ${t.number(e.groupCount)} možnostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:" (vybráno)",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybráno`};var et={};et={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilgængelig`,other:()=>`${t.number(e.optionCount)} muligheder tilgængelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var tt={};tt={buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verfügbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ausgewählt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgewählt`};var ut={};ut={buttonLabel:"Προβολή προτάσεων",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} επιλογή`,other:()=>`${t.number(e.optionCount)} επιλογές `})} διαθέσιμες.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Εισαγμένη ομάδα ${e.groupTitle}, με ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} επιλογή`,other:()=>`${t.number(e.groupCount)} επιλογές`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", επιλεγμένο",other:""},e.isSelected)}`,listboxLabel:"Προτάσεις",selectedAnnouncement:e=>`${e.optionText}, επιλέχθηκε`};var ot={};ot={focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"};var nt={};nt={buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opción`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opción`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`};var lt={};lt={buttonLabel:"Kuva soovitused",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} valik`,other:()=>`${t.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Sisestatud rühm ${e.groupTitle}, valikuga ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} valik`,other:()=>`${t.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`};var it={};it={buttonLabel:"Näytä ehdotukset",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhmään ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`};var ct={};ct={buttonLabel:"Afficher les suggestions",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} rejoint, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", sélectionné(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, sélectionné`};var rt={};rt={buttonLabel:"הצג הצעות",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`אפשרות ${t.number(e.optionCount)}`,other:()=>`${t.number(e.optionCount)} אפשרויות`})} במצב זמין.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`נכנס לקבוצה ${e.groupTitle}, עם ${t.plural(e.groupCount,{one:()=>`אפשרות ${t.number(e.groupCount)}`,other:()=>`${t.number(e.groupCount)} אפשרויות`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", נבחר",other:""},e.isSelected)}`,listboxLabel:"הצעות",selectedAnnouncement:e=>`${e.optionText}, נבחר`};var at={};at={buttonLabel:"Prikaži prijedloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`};var st={};st={buttonLabel:"Javaslatok megjelenítése",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} lehetőség`,other:()=>`${t.number(e.optionCount)} lehetőség`})} áll rendelkezésre.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Belépett a(z) ${e.groupTitle} csoportba, amely ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} lehetőséget`,other:()=>`${t.number(e.groupCount)} lehetőséget`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", kijelölve",other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijelölve`};var dt={};dt={buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`};var pt={};pt={buttonLabel:"候補を表示",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 個のオプション`,other:()=>`${t.number(e.optionCount)} 個のオプション`})}を利用できます。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`入力されたグループ ${e.groupTitle}、${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 個のオプション`,other:()=>`${t.number(e.groupCount)} 個のオプション`})}を含む。`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:"、選択済み",other:""},e.isSelected)}`,listboxLabel:"候補",selectedAnnouncement:e=>`${e.optionText}、選択済み`};var $t={};$t={buttonLabel:"제안 사항 표시",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)}개 옵션`,other:()=>`${t.number(e.optionCount)}개 옵션`})}을 사용할 수 있습니다.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`입력한 그룹 ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)}개 옵션`,other:()=>`${t.number(e.groupCount)}개 옵션`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 선택됨",other:""},e.isSelected)}`,listboxLabel:"제안",selectedAnnouncement:e=>`${e.optionText}, 선택됨`};var bt={};bt={buttonLabel:"Rodyti pasiūlymus",countAnnouncement:(e,t)=>`Yra ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} parinktis`,other:()=>`${t.number(e.optionCount)} parinktys (-ių)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Įvesta grupė ${e.groupTitle}, su ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} parinktimi`,other:()=>`${t.number(e.groupCount)} parinktimis (-ių)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"Pasiūlymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`};var ft={};ft={buttonLabel:"Rādīt ieteikumus",countAnnouncement:(e,t)=>`Pieejamo opciju skaits: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ievadīta grupa ${e.groupTitle}, ar ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opciju`,other:()=>`${t.number(e.groupCount)} opcijām`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", atlasīta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlasīta`};var xt={};xt={buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`};var Ct={};Ct={buttonLabel:"Suggesties weergeven",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`};var ht={};ht={buttonLabel:"Wyświetlaj sugestie",countAnnouncement:(e,t)=>`dostępna/dostępne(-nych) ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcja`,other:()=>`${t.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Dołączono do grupy ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcją`,other:()=>`${t.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`};var vt={};vt={buttonLabel:"Mostrar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var mt={};mt={buttonLabel:"Apresentar sugestões",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opção`,other:()=>`${t.number(e.optionCount)} opções`})} disponível.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opção`,other:()=>`${t.number(e.groupCount)} opções`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugestões",selectedAnnouncement:e=>`${e.optionText}, selecionado`};var yt={};yt={buttonLabel:"Afișare sugestii",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opțiune`,other:()=>`${t.number(e.optionCount)} opțiuni`})} disponibile.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opțiune`,other:()=>`${t.number(e.groupCount)} opțiuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`};var Et={};Et={buttonLabel:"Показать предложения",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметров`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введенная группа ${e.groupTitle}, с ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметром`,other:()=>`${t.number(e.groupCount)} параметрами`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", выбранными",other:""},e.isSelected)}`,listboxLabel:"Предложения",selectedAnnouncement:e=>`${e.optionText}, выбрано`};var At={};At={buttonLabel:"Zobraziť návrhy",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} možnosť`,other:()=>`${t.number(e.optionCount)} možnosti/-í`})} k dispozícii.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadaná skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} možnosťou`,other:()=>`${t.number(e.groupCount)} možnosťami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", vybraté",other:""},e.isSelected)}`,listboxLabel:"Návrhy",selectedAnnouncement:e=>`${e.optionText}, vybraté`};var Bt={};Bt={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Na voljo je ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcija`,other:()=>`${t.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`};var gt={};gt={buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Dostupno još: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`};var St={};St={buttonLabel:"Visa förslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillgängliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"Förslag",selectedAnnouncement:e=>`${e.optionText}, valda`};var Ft={};Ft={buttonLabel:"Önerileri göster",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} seçenek`,other:()=>`${t.number(e.optionCount)} seçenekler`})} kullanılabilir.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} seçenek`,other:()=>`${t.number(e.groupCount)} seçenekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seçildi",other:""},e.isSelected)}`,listboxLabel:"Öneriler",selectedAnnouncement:e=>`${e.optionText}, seçildi`};var Tt={};Tt={buttonLabel:"Показати пропозиції",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} параметр`,other:()=>`${t.number(e.optionCount)} параметри(-ів)`})} доступно.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Введена група ${e.groupTitle}, з ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} параметр`,other:()=>`${t.number(e.groupCount)} параметри(-ів)`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", вибрано",other:""},e.isSelected)}`,listboxLabel:"Пропозиції",selectedAnnouncement:e=>`${e.optionText}, вибрано`};var Dt={};Dt={buttonLabel:"显示建议",countAnnouncement:(e,t)=>`有 ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 个选项`,other:()=>`${t.number(e.optionCount)} 个选项`})}可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`进入了 ${e.groupTitle} 组,其中有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 个选项`,other:()=>`${t.number(e.groupCount)} 个选项`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已选择",other:""},e.isSelected)}`,listboxLabel:"建议",selectedAnnouncement:e=>`${e.optionText}, 已选择`};var Lt={};Lt={buttonLabel:"顯示建議",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} 選項`,other:()=>`${t.number(e.optionCount)} 選項`})} 可用。`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`輸入的群組 ${e.groupTitle}, 有 ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} 選項`,other:()=>`${t.number(e.groupCount)} 選項`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已選取",other:""},e.isSelected)}`,listboxLabel:"建議",selectedAnnouncement:e=>`${e.optionText}, 已選取`};var Pt={};Pt={"ar-AE":Ye,"bg-BG":Qe,"cs-CZ":_e,"da-DK":et,"de-DE":tt,"el-GR":ut,"en-US":ot,"es-ES":nt,"et-EE":lt,"fi-FI":it,"fr-FR":ct,"he-IL":rt,"hr-HR":at,"hu-HU":st,"it-IT":dt,"ja-JP":pt,"ko-KR":$t,"lt-LT":bt,"lv-LV":ft,"nb-NO":xt,"nl-NL":Ct,"pl-PL":ht,"pt-BR":vt,"pt-PT":mt,"ro-RO":yt,"ru-RU":Et,"sk-SK":At,"sl-SI":Bt,"sr-SP":gt,"sv-SE":St,"tr-TR":Ft,"uk-UA":Tt,"zh-CN":Dt,"zh-TW":Lt};function Du(e){return e&&e.__esModule?e.default:e}function Lu(e,t){let{buttonRef:u,popoverRef:l,inputRef:n,listBoxRef:a,keyboardDelegate:b,layoutDelegate:s,shouldFocusWrap:c,isReadOnly:h,isDisabled:A}=e,v=o.useRef(null);u=u??v;let g=He.$fca6afa0e843324b$export$f12b703ca79dfbb1(Du(Pt),"@react-aria/combobox"),{menuTriggerProps:C,menuProps:S}=oe.$168583247155ddda$export$dc9c12ed27dd1b49({type:"listbox",isDisabled:A||h},t,u);ie.$b1f0cad8af73213b$export$3585ede4d035bf14.set(t,{id:S.id});let{collection:x}=t,{disabledKeys:m}=t.selectionManager,f=o.useMemo(()=>b||new K.$2a25aae57d74318e$export$a05409b8bb224a5a({collection:x,disabledKeys:m,ref:a,layoutDelegate:s}),[b,s,x,m,a]),{collectionProps:T}=K.$ae20dd8cbca75726$export$d6daf82dcd84e87c({selectionManager:t.selectionManager,keyboardDelegate:f,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:c,ref:n,isVirtualized:!0}),j=vu.$ea8dcbcb9ea1b556$export$9a302a45f65d0572(),q=$=>{if(!$.nativeEvent.isComposing)switch($.key){case"Enter":case"Tab":if(t.isOpen&&$.key==="Enter"&&$.preventDefault(),t.isOpen&&a.current&&t.selectionManager.focusedKey!=null&&t.selectionManager.isLink(t.selectionManager.focusedKey)){let B=a.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);if($.key==="Enter"&&B instanceof HTMLAnchorElement){let p=t.collection.getItem(t.selectionManager.focusedKey);p&&j.open(B,$,p.props.href,p.props.routerOptions)}t.close()}else t.commit();break;case"Escape":(t.selectedKey!==null||t.inputValue===""||e.allowsCustomValue)&&$.continuePropagation(),t.revert();break;case"ArrowDown":t.open("first","manual");break;case"ArrowUp":t.open("last","manual");break;case"ArrowLeft":case"ArrowRight":t.selectionManager.setFocusedKey(null);break}},D=$=>{var B;let p=u?.current&&u.current===$.relatedTarget,Z=(B=l.current)===null||B===void 0?void 0:B.contains($.relatedTarget);p||Z||(e.onBlur&&e.onBlur($),t.setFocused(!1))},Y=$=>{t.isFocused||(e.onFocus&&e.onFocus($),t.setFocused(!0))},{isInvalid:G,validationErrors:H,validationDetails:z}=t.displayValidation,{labelProps:k,inputProps:te,descriptionProps:V,errorMessageProps:N}=Je.$2d73ec29415bd339$export$712718f7aec83d5({...e,onChange:t.setInputValue,onKeyDown:h?e.onKeyDown:ee.$ff5963eb1fccf552$export$e08e3b67e392101e(t.isOpen&&T.onKeyDown,q,e.onKeyDown),onBlur:D,value:t.inputValue,defaultValue:t.defaultInputValue,onFocus:Y,autoComplete:"off",validate:void 0,[Ne.$e5be200c675c3b3a$export$a763b9476acd3eb]:t},n),U=$=>{if($.pointerType==="touch"){var B;(B=n.current)===null||B===void 0||B.focus(),t.toggle(null,"manual")}},F=$=>{if($.pointerType!=="touch"){var B;(B=n.current)===null||B===void 0||B.focus(),t.toggle($.pointerType==="keyboard"||$.pointerType==="virtual"?"first":null,"manual")}},r=ye.$313b98861ee5dd6c$export$d6875122194c7b44({id:C.id,"aria-label":g.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||k.id}),d=ye.$313b98861ee5dd6c$export$d6875122194c7b44({id:S.id,"aria-label":g.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||k.id}),y=o.useRef(0),M=$=>{if(A||h)return;if($.timeStamp-y.current<500){var B;$.preventDefault(),(B=n.current)===null||B===void 0||B.focus();return}let p=$.target.getBoundingClientRect(),Z=$.changedTouches[0],X=Math.ceil(p.left+.5*p.width),_=Math.ceil(p.top+.5*p.height);if(Z.clientX===X&&Z.clientY===_){var le;$.preventDefault(),(le=n.current)===null||le===void 0||le.focus(),t.toggle(null,"manual"),y.current=$.timeStamp}},L=t.selectionManager.focusedKey!=null&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0;var P;let O=(P=L?.parentKey)!==null&&P!==void 0?P:null;var J;let Q=(J=t.selectionManager.focusedKey)!==null&&J!==void 0?J:null,ce=o.useRef(O),W=o.useRef(Q);o.useEffect(()=>{if(be.$c87311424ea30a05$export$e1865c3bedcd822b()&&L!=null&&Q!=null&&Q!==W.current){let B=t.selectionManager.isSelected(Q),p=O!=null?t.collection.getItem(O):null,Z=p?.["aria-label"]||(typeof p?.rendered=="string"?p.rendered:"")||"";var $;let X=g.format("focusAnnouncement",{isGroupChange:($=p&&O!==ce.current)!==null&&$!==void 0?$:!1,groupTitle:Z,groupCount:p?[...K.$c5a24bc478652b5f$export$1005530eda016c13(p,t.collection)].length:0,optionText:L["aria-label"]||L.textValue||"",isSelected:B});he.$319e236875307eab$export$a9b970dcc4ae71a9(X)}ce.current=O,W.current=Q});let ue=We.$453cc9f0df89c0a5$export$77d5aafae4e095b2(t.collection),re=o.useRef(ue),ae=o.useRef(t.isOpen);o.useEffect(()=>{let $=t.isOpen!==ae.current&&(t.selectionManager.focusedKey==null||be.$c87311424ea30a05$export$e1865c3bedcd822b());if(t.isOpen&&($||ue!==re.current)){let B=g.format("countAnnouncement",{optionCount:ue});he.$319e236875307eab$export$a9b970dcc4ae71a9(B)}re.current=ue,ae.current=t.isOpen});let pe=o.useRef(t.selectedKey);return o.useEffect(()=>{if(be.$c87311424ea30a05$export$e1865c3bedcd822b()&&t.isFocused&&t.selectedItem&&t.selectedKey!==pe.current){let $=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",B=g.format("selectedAnnouncement",{optionText:$});he.$319e236875307eab$export$a9b970dcc4ae71a9(B)}pe.current=t.selectedKey}),o.useEffect(()=>{if(t.isOpen)return oe.$5e3802645cc19319$export$1c3ebcada18427bf([n.current,l.current].filter($=>$!=null))},[t.isOpen,n,l]),mu.$4f58c5f72bcf79f7$export$496315a1608d9602(()=>{!L&&n.current&&se.$d4ee10de306f2510$export$cd4e5573fbe2b576(se.$431fbd86ca7dc216$export$b204af158042fbac(n.current))===n.current&&K.$55f9b1ae81f22853$export$2b35b76d2e30e129(n.current,null)},[L]),{labelProps:k,buttonProps:{...C,...r,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:U,onPressStart:F,isDisabled:A||h},inputProps:ee.$3ef42575df84b30b$export$9d1611c77c2fe928(te,{role:"combobox","aria-expanded":C["aria-expanded"],"aria-controls":t.isOpen?S.id:void 0,"aria-autocomplete":"list","aria-activedescendant":L?ie.$b1f0cad8af73213b$export$9145995848b05025(t,L.key):void 0,onTouchEnd:M,autoCorrect:"off",spellCheck:"false"}),listBoxProps:ee.$3ef42575df84b30b$export$9d1611c77c2fe928(S,d,{autoFocus:t.focusStrategy||!0,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection"}),descriptionProps:V,errorMessageProps:N,isInvalid:G,validationErrors:H,validationDetails:z}}var It={};It={collectionLabel:"مقترحات"};var kt={};kt={collectionLabel:"Предложения"};var Rt={};Rt={collectionLabel:"Návrhy"};var wt={};wt={collectionLabel:"Forslag"};var jt={};jt={collectionLabel:"Empfehlungen"};var Kt={};Kt={collectionLabel:"Προτάσεις"};var Ot={};Ot={collectionLabel:"Suggestions"};var Vt={};Vt={collectionLabel:"Sugerencias"};var Mt={};Mt={collectionLabel:"Soovitused"};var qt={};qt={collectionLabel:"Ehdotukset"};var Gt={};Gt={collectionLabel:"Suggestions"};var zt={};zt={collectionLabel:"הצעות"};var Nt={};Nt={collectionLabel:"Prijedlozi"};var Ut={};Ut={collectionLabel:"Javaslatok"};var Wt={};Wt={collectionLabel:"Suggerimenti"};var Ht={};Ht={collectionLabel:"候補"};var Jt={};Jt={collectionLabel:"제안"};var Zt={};Zt={collectionLabel:"Pasiūlymai"};var Xt={};Xt={collectionLabel:"Ieteikumi"};var Yt={};Yt={collectionLabel:"Forslag"};var Qt={};Qt={collectionLabel:"Suggesties"};var _t={};_t={collectionLabel:"Sugestie"};var eu={};eu={collectionLabel:"Sugestões"};var tu={};tu={collectionLabel:"Sugestões"};var uu={};uu={collectionLabel:"Sugestii"};var ou={};ou={collectionLabel:"Предложения"};var nu={};nu={collectionLabel:"Návrhy"};var lu={};lu={collectionLabel:"Predlogi"};var iu={};iu={collectionLabel:"Predlozi"};var cu={};cu={collectionLabel:"Förslag"};var ru={};ru={collectionLabel:"Öneriler"};var au={};au={collectionLabel:"Пропозиції"};var su={};su={collectionLabel:"建议"};var du={};du={collectionLabel:"建議"};var pu={};pu={"ar-AE":It,"bg-BG":kt,"cs-CZ":Rt,"da-DK":wt,"de-DE":jt,"el-GR":Kt,"en-US":Ot,"es-ES":Vt,"et-EE":Mt,"fi-FI":qt,"fr-FR":Gt,"he-IL":zt,"hr-HR":Nt,"hu-HU":Ut,"it-IT":Wt,"ja-JP":Ht,"ko-KR":Jt,"lt-LT":Zt,"lv-LV":Xt,"nb-NO":Yt,"nl-NL":Qt,"pl-PL":_t,"pt-BR":eu,"pt-PT":tu,"ro-RO":uu,"ru-RU":ou,"sk-SK":nu,"sl-SI":lu,"sr-SP":iu,"sv-SE":cu,"tr-TR":ru,"uk-UA":au,"zh-CN":su,"zh-TW":du};function Pu(e){return e&&e.__esModule?e.default:e}function Iu(e,t){let{inputRef:u,collectionRef:l,filter:n,disableAutoFocusFirst:a=!1,disableVirtualFocus:b=!1}=e,s=ee.$bdb11010cef70236$export$b4cc09c592e8fdb8(),c=o.useRef(void 0),h=o.useRef(!1),A=o.useRef(null),v=o.useRef(null),C=!(Au.$507fabe10e71c6fb$export$630ff653c5ada6a9()==="virtual"&&(be.$c87311424ea30a05$export$fedb369cb70207f1()||be.$c87311424ea30a05$export$a11b0059900ceec8()))&&!b;o.useEffect(()=>()=>clearTimeout(c.current),[]);let S=ee.$8ae05eaa5c114e9c$export$7f54fc3180508a52(r=>{!r.isTrusted&&C&&u.current&&se.$d4ee10de306f2510$export$cd4e5573fbe2b576(se.$431fbd86ca7dc216$export$b204af158042fbac(u.current))!==u.current&&u.current.focus();let d=r.target;r.isTrusted||!d||A.current===d.id||(clearTimeout(c.current),d!==l.current?h.current?(A.current=d.id,c.current=setTimeout(()=>{t.setFocusedNodeId(d.id)},500)):(A.current=d.id,t.setFocusedNodeId(d.id)):(A.current=null,t.setFocusedNodeId(null)),h.current=!1)}),x=o.useCallback(r=>{var d;if(r!=null){var y;(y=v.current)===null||y===void 0||y.removeEventListener("focusin",S),v.current=r,r.addEventListener("focusin",S)}else(d=v.current)===null||d===void 0||d.removeEventListener("focusin",S)},[S]),m=Xe.$df56164dff5785e2$export$4338b53315abf666(o.useMemo(()=>w.$5dc95899b306f630$export$c9058316764c140e(l,x),[l,x])),f=ee.$8ae05eaa5c114e9c$export$7f54fc3180508a52(()=>{var r;h.current=!0,(r=l.current)===null||r===void 0||r.dispatchEvent(new CustomEvent(K.$5671b20cf9b562b2$export$831c820ad60f9d12,{cancelable:!0,bubbles:!0,detail:{focusStrategy:"first"}}))}),T=ee.$8ae05eaa5c114e9c$export$7f54fc3180508a52(r=>{var d;K.$55f9b1ae81f22853$export$76e4e37e5339496d(se.$d4ee10de306f2510$export$cd4e5573fbe2b576()),A.current=null,t.setFocusedNodeId(null);let y=new CustomEvent(K.$5671b20cf9b562b2$export$447a38995de2c711,{cancelable:!0,bubbles:!0,detail:{clearFocusKey:r}});clearTimeout(c.current),h.current=!1,(d=l.current)===null||d===void 0||d.dispatchEvent(y)}),j=o.useRef("");Eu.$e9faafb641e167db$export$90fc3a17d93f704c(u,"input",r=>{let{inputType:d}=r;j.current=d});let q=r=>{j.current==="insertText"&&!a?f():(j.current.includes("insert")||j.current.includes("delete")||j.current.includes("history"))&&(T(!0),K.$55f9b1ae81f22853$export$759df0d867455a91(document)===u.current&&K.$55f9b1ae81f22853$export$2b35b76d2e30e129(u.current,null)),t.setInputValue(r)},D=o.useRef(null),Y=r=>{if(D.current=r.target,r.nativeEvent.isComposing)return;let d=A.current;switch(r.key){case"a":if(K.$21f1aa98acb08317$export$16792effe837dba3(r))return;break;case"Escape":if(r.isDefaultPrevented())return;break;case" ":return;case"Tab":"continuePropagation"in r&&r.continuePropagation();return;case"Home":case"End":case"PageDown":case"PageUp":case"ArrowUp":case"ArrowDown":{var y;if((r.key==="Home"||r.key==="End")&&d==null&&r.shiftKey)return;r.preventDefault();let P=new CustomEvent(K.$5671b20cf9b562b2$export$831c820ad60f9d12,{cancelable:!0,bubbles:!0});(y=l.current)===null||y===void 0||y.dispatchEvent(P);break}}r.isPropagationStopped()||r.stopPropagation();let M=!0;if(l.current!==null){var L;if(d==null)M=((L=l.current)===null||L===void 0?void 0:L.dispatchEvent(new KeyboardEvent(r.nativeEvent.type,r.nativeEvent)))||!1;else{let P=document.getElementById(d);M=P?.dispatchEvent(new KeyboardEvent(r.nativeEvent.type,r.nativeEvent))||!1}}if(M)switch(r.key){case"ArrowLeft":case"ArrowRight":T();break;case"Enter":if(d!=null){let P=document.getElementById(d);P?.click()}break}else r.preventDefault()},G=ee.$8ae05eaa5c114e9c$export$7f54fc3180508a52(r=>{if(r.target===D.current){var d;r.stopImmediatePropagation();let y=A.current;if(y==null)(d=l.current)===null||d===void 0||d.dispatchEvent(new KeyboardEvent(r.type,r));else{let M=document.getElementById(y);M?.dispatchEvent(new KeyboardEvent(r.type,r))}}});o.useEffect(()=>(document.addEventListener("keyup",G,!0),()=>{document.removeEventListener("keyup",G,!0)}),[G]);let H=He.$fca6afa0e843324b$export$f12b703ca79dfbb1(Pu(pu),"@react-aria/autocomplete"),z=ye.$313b98861ee5dd6c$export$d6875122194c7b44({id:s,"aria-label":H.format("collectionLabel")}),k=o.useCallback((r,d)=>n?n(r,t.inputValue,d):!0,[t.inputValue,n]),te=r=>{if(!r.isTrusted)return;let d=A.current?document.getElementById(A.current):null;d&&K.$55f9b1ae81f22853$export$6c5dc7e81d2cc29a(d,r.relatedTarget)},V=r=>{if(!r.isTrusted)return;let d=A.current?document.getElementById(A.current):null;if(d){let y=r.target;queueMicrotask(()=>{K.$55f9b1ae81f22853$export$6c5dc7e81d2cc29a(y,d),K.$55f9b1ae81f22853$export$2b35b76d2e30e129(d,y)})}},N={value:t.inputValue,onChange:q};var U;let F={onKeyDown:Y,"aria-activedescendant":(U=t.focusedNodeId)!==null&&U!==void 0?U:void 0,onBlur:te,onFocus:V};return s&&(N={...N,...C&&F,enterKeyHint:"go","aria-controls":s,"aria-autocomplete":"list",autoCorrect:"off",spellCheck:"false",autoComplete:"off"}),{inputProps:N,collectionProps:ee.$3ef42575df84b30b$export$9d1611c77c2fe928(z,{shouldUseVirtualFocus:C,disallowTypeAhead:!0}),collectionRef:m,filter:n!=null?k:void 0}}function ku(e){let{onInputChange:t,inputValue:u,defaultInputValue:l=""}=e,n=h=>{t&&t(h)},[a,b]=o.useState(null),[s,c]=Ue.$458b0a5536c1a7cf$export$40bfa8c7b0832715(u,l,n);return{inputValue:s,setInputValue:c,focusedNodeId:a,setFocusedNodeId:b}}const Ru=o.createContext(null),wu=o.createContext(null);function ju(e){let t=w.$64fa3d84918910a7$export$fabf2dc03a41866e(Ru,e.slot);e=ee.$3ef42575df84b30b$export$9d1611c77c2fe928(t,e);let{filter:u,disableAutoFocusFirst:l}=e,n=ku(e),a=o.useRef(null),b=o.useRef(null),{inputProps:s,collectionProps:c,collectionRef:h,filter:A}=Iu({...w.$64fa3d84918910a7$export$ef03459518577ad4(e),filter:u,disableAutoFocusFirst:l,inputRef:a,collectionRef:b},n);return o.createElement(w.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[wu,n],[K.$8e6cc465cc68f603$export$698f465ec27e93df,{...s,ref:a}],[K.$8e6cc465cc68f603$export$b0d3ecf7112093a7,{...c,filter:A,ref:h}]]},e.children)}function Ku(e){var t;let{defaultFilter:u,menuTrigger:l="input",allowsEmptyCollection:n=!1,allowsCustomValue:a,shouldCloseOnBlur:b=!0}=e,[s,c]=o.useState(!1),[h,A]=o.useState(!1),[v,g]=o.useState(null),C=E=>{e.onSelectionChange&&e.onSelectionChange(E),E===f&&(J(),L())};var S;let{collection:x,selectionManager:m,selectedKey:f,setSelectedKey:T,selectedItem:j,disabledKeys:q}=hu.$a0d645289fe9b86b$export$e7f05e985daf4b5f({...e,onSelectionChange:C,items:(S=e.items)!==null&&S!==void 0?S:e.defaultItems}),[D,Y]=Ue.$458b0a5536c1a7cf$export$40bfa8c7b0832715(e.inputValue,ke(e.defaultInputValue,f,x)||"",e.onInputChange),[G]=o.useState(f),[H]=o.useState(D),z=x,k=o.useMemo(()=>e.items!=null||!u?x:Ou(x,D,u),[x,D,u,e.items]),[te,V]=o.useState(k),N=o.useRef("focus"),U=E=>{e.onOpenChange&&e.onOpenChange(E,E?N.current:void 0),m.setFocused(E),E||m.setFocusedKey(null)},F=Ge.$fc909762b330b746$export$61c6a8c84e605fb6({...e,onOpenChange:U,isOpen:void 0,defaultOpen:void 0}),r=(E=null,I)=>{let R=I==="manual"||I==="focus"&&l==="focus";(n||k.size>0||R&&z.size>0||e.items)&&(R&&!F.isOpen&&e.items===void 0&&c(!0),N.current=I,g(E),F.open())},d=(E=null,I)=>{let R=I==="manual"||I==="focus"&&l==="focus";!(n||k.size>0||R&&z.size>0||e.items)&&!F.isOpen||(R&&!F.isOpen&&e.items===void 0&&c(!0),F.isOpen||(N.current=I),M(E))},y=o.useCallback(()=>{V(s?z:k)},[s,z,k]),M=o.useCallback((E=null)=>{F.isOpen&&y(),g(E),F.toggle()},[F,y]),L=o.useCallback(()=>{F.isOpen&&(y(),F.close())},[F,y]),[P,O]=o.useState(D),J=()=>{var E,I;let R=f!=null&&(I=(E=x.getItem(f))===null||E===void 0?void 0:E.textValue)!==null&&I!==void 0?I:"";O(R),Y(R)};var Q,ce;let W=o.useRef((ce=(Q=e.selectedKey)!==null&&Q!==void 0?Q:e.defaultSelectedKey)!==null&&ce!==void 0?ce:null);var ue;let re=o.useRef(f!=null&&(ue=(t=x.getItem(f))===null||t===void 0?void 0:t.textValue)!==null&&ue!==void 0?ue:"");o.useEffect(()=>{var E;h&&(k.size>0||n)&&!F.isOpen&&D!==P&&l!=="manual"&&r(null,"input"),!s&&!n&&F.isOpen&&k.size===0&&L(),f!=null&&f!==W.current&&L(),D!==P&&(m.setFocusedKey(null),c(!1),D===""&&(e.inputValue===void 0||e.selectedKey===void 0)&&T(null)),f!==W.current&&(e.inputValue===void 0||e.selectedKey===void 0)?J():P!==D&&O(D);var I;let R=f!=null&&(I=(E=x.getItem(f))===null||E===void 0?void 0:E.textValue)!==null&&I!==void 0?I:"";!h&&f!=null&&e.inputValue===void 0&&f===W.current&&re.current!==R&&(O(R),Y(R)),W.current=f,re.current=R});let ae=Ne.$e5be200c675c3b3a$export$fc1a364ae1f3ff10({...e,value:o.useMemo(()=>({inputValue:D,selectedKey:f}),[D,f])}),pe=()=>{a&&f==null?$():B()},$=()=>{W.current=null,T(null),L()},B=()=>{if(e.selectedKey!==void 0&&e.inputValue!==void 0){var E,I;(E=e.onSelectionChange)===null||E===void 0||E.call(e,f);var R;let Cu=f!=null&&(R=(I=x.getItem(f))===null||I===void 0?void 0:I.textValue)!==null&&R!==void 0?R:"";O(Cu),L()}else J(),L()};const p=()=>{if(a){var E,I;const R=f!=null&&(I=(E=x.getItem(f))===null||E===void 0?void 0:E.textValue)!==null&&I!==void 0?I:"";D===R?B():$()}else B()};let Z=()=>{F.isOpen&&m.focusedKey!=null?f===m.focusedKey?B():T(m.focusedKey):p()},X=o.useRef(D),_=E=>{E?(X.current=D,l==="focus"&&!e.isReadOnly&&r(null,"focus")):(b&&p(),D!==X.current&&ae.commitValidation()),A(E)},le=o.useMemo(()=>F.isOpen?s?z:k:te,[F.isOpen,z,k,s,te]);var xe;let Ie=(xe=e.defaultSelectedKey)!==null&&xe!==void 0?xe:G;var Ce;return{...ae,...F,focusStrategy:v,toggle:d,open:r,close:p,selectionManager:m,selectedKey:f,defaultSelectedKey:Ie,setSelectedKey:T,disabledKeys:q,isFocused:h,setFocused:_,selectedItem:j,collection:le,inputValue:D,defaultInputValue:(Ce=ke(e.defaultInputValue,Ie,x))!==null&&Ce!==void 0?Ce:H,setInputValue:Y,commit:Z,revert:pe}}function Ou(e,t,u){return new ie.$a02d57049d202695$export$d085fb9e920b5ca7($u(e,e,t,u))}function $u(e,t,u,l){let n=[];for(let a of t)if(a.type==="section"&&a.hasChildNodes){let b=$u(e,K.$c5a24bc478652b5f$export$1005530eda016c13(a,e),u,l);[...b].some(s=>s.type==="item")&&n.push({...a,childNodes:b})}else a.type==="item"&&l(a.textValue,u)?n.push({...a}):a.type!=="item"&&n.push({...a});return n}function ke(e,t,u){if(e==null){var l,n;if(t!=null)return(n=(l=u.getItem(t))===null||l===void 0?void 0:l.textValue)!==null&&n!==void 0?n:""}return e}const Vu=o.createContext(null),Fe=o.createContext(null),Mu=o.forwardRef(function(t,u){[t,u]=w.$64fa3d84918910a7$export$29f1550f4b0d4415(t,u,Vu);let{children:l,isDisabled:n=!1,isInvalid:a=!1,isRequired:b=!1}=t,s=o.useMemo(()=>{var c;return o.createElement(ie.$eed445e0843c11d0$export$7ff8f37d2d81a48d.Provider,{value:{items:(c=t.items)!==null&&c!==void 0?c:t.defaultItems}},typeof l=="function"?l({isOpen:!1,isDisabled:n,isInvalid:a,isRequired:b,defaultChildren:null}):l)},[l,n,a,b,t.items,t.defaultItems]);return o.createElement(Me.$e1995378a142960e$export$bf788dd355e3a401,{content:s},c=>o.createElement(Gu,{props:t,collection:c,comboBoxRef:u}))}),qu=[Be.$01b77f81d0f07f68$export$75b6ee27786ba447,Ke.$d2b4bc8c273e7be6$export$24d547caef80ccd1,$e.$3985021b0ad6602f$export$37fb8590cf2c088c,Ae.$a049562f99e7db0e$export$f9c6924e160136d1,ge.$514c0188e459b4c0$export$9afb8bc826b033ea];function Gu({props:e,collection:t,comboBoxRef:u}){let{name:l,formValue:n="key",allowsCustomValue:a}=e;a&&(n="text");let{validationBehavior:b}=w.$64fa3d84918910a7$export$fabf2dc03a41866e(Ve.$d3e0e05bdfcf66bd$export$c24727297075ec6a)||{};var s,c;let h=(c=(s=e.validationBehavior)!==null&&s!==void 0?s:b)!==null&&c!==void 0?c:"native",{contains:A}=ze.$bb77f239b46e8c72$export$3274cf84b703fff({sensitivity:"base"}),v=Ku({defaultFilter:e.defaultFilter||A,...e,items:e.items,children:void 0,collection:t,validationBehavior:h}),g=o.useRef(null),C=o.useRef(null),S=o.useRef(null),x=o.useRef(null),[m,f]=w.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!e["aria-label"]&&!e["aria-labelledby"]),{buttonProps:T,inputProps:j,listBoxProps:q,labelProps:D,descriptionProps:Y,errorMessageProps:G,...H}=Lu({...w.$64fa3d84918910a7$export$ef03459518577ad4(e),label:f,inputRef:C,buttonRef:g,listBoxRef:S,popoverRef:x,name:n==="text"?l:void 0,validationBehavior:h},v),[z,k]=o.useState(null),te=o.useCallback(()=>{if(C.current){var r;let d=(r=g.current)===null||r===void 0?void 0:r.getBoundingClientRect(),y=C.current.getBoundingClientRect(),M=d?Math.min(d.left,y.left):y.left,L=d?Math.max(d.right,y.right):y.right;k(L-M+"px")}},[g,C,k]);Ge.$9daab02d461809db$export$683480f191c0e3ea({ref:C,onResize:te});let V=o.useMemo(()=>({isOpen:v.isOpen,isDisabled:e.isDisabled||!1,isInvalid:H.isInvalid||!1,isRequired:e.isRequired||!1}),[v.isOpen,e.isDisabled,H.isInvalid,e.isRequired]),N=w.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,values:V,defaultClassName:"react-aria-ComboBox"}),U=qe.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0});delete U.id;var F;return o.createElement(w.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[Fe,v],[Be.$01b77f81d0f07f68$export$75b6ee27786ba447,{...D,ref:m}],[Ke.$d2b4bc8c273e7be6$export$24d547caef80ccd1,{...T,ref:g,isPressed:v.isOpen}],[$e.$3985021b0ad6602f$export$37fb8590cf2c088c,{...j,ref:C}],[oe.$de32f1b87079253c$export$d2f961adcb0afbe,v],[oe.$07b14b47974efb58$export$9b9a0cd73afb7ca4,{ref:x,triggerRef:C,scrollRef:S,placement:"bottom start",isNonModal:!0,trigger:"ComboBox",style:{"--trigger-width":z},clearContexts:qu}],[ie.$eed445e0843c11d0$export$7ff8f37d2d81a48d,{...q,ref:S}],[ie.$eed445e0843c11d0$export$7c5906fe4f1f2af2,v],[ge.$514c0188e459b4c0$export$9afb8bc826b033ea,{slots:{description:Y,errorMessage:G}}],[Ae.$a049562f99e7db0e$export$f9c6924e160136d1,{isInvalid:H.isInvalid,isDisabled:e.isDisabled||!1}],[Oe.$ee014567cb39d3f0$export$ff05c3ac10437e03,H]]},o.createElement("div",{...U,...N,ref:u,slot:e.slot||void 0,"data-focused":v.isFocused||void 0,"data-open":v.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":H.isInvalid||void 0,"data-required":e.isRequired||void 0}),l&&n==="key"&&o.createElement("input",{type:"hidden",name:l,form:e.form,value:(F=v.selectedKey)!==null&&F!==void 0?F:""}))}const zu=o.createContext(null),Nu=gu.$f39a9eba43920ace$export$86427a43e3e48ebb(function(t,u){[t,u]=w.$64fa3d84918910a7$export$29f1550f4b0d4415(t,u,zu);let{validationBehavior:l}=w.$64fa3d84918910a7$export$fabf2dc03a41866e(Ve.$d3e0e05bdfcf66bd$export$c24727297075ec6a)||{};var n,a;let b=(a=(n=t.validationBehavior)!==null&&n!==void 0?n:l)!==null&&a!==void 0?a:"native",s=o.useRef(null);[t,s]=w.$64fa3d84918910a7$export$29f1550f4b0d4415(t,s,K.$8e6cc465cc68f603$export$698f465ec27e93df);let[c,h]=w.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!t["aria-label"]&&!t["aria-labelledby"]),[A,v]=o.useState("input"),{labelProps:g,inputProps:C,descriptionProps:S,errorMessageProps:x,...m}=Je.$2d73ec29415bd339$export$712718f7aec83d5({...w.$64fa3d84918910a7$export$ef03459518577ad4(t),inputElementType:A,label:h,validationBehavior:b},s),f=o.useCallback(q=>{s.current=q,q&&v(q instanceof HTMLTextAreaElement?"textarea":"input")},[s]),T=w.$64fa3d84918910a7$export$4d86445c2cf5e3({...t,values:{isDisabled:t.isDisabled||!1,isInvalid:m.isInvalid,isReadOnly:t.isReadOnly||!1,isRequired:t.isRequired||!1},defaultClassName:"react-aria-TextField"}),j=qe.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(t,{global:!0});return delete j.id,o.createElement("div",{...j,...T,ref:u,slot:t.slot||void 0,"data-disabled":t.isDisabled||void 0,"data-invalid":m.isInvalid||void 0,"data-readonly":t.isReadOnly||void 0,"data-required":t.isRequired||void 0},o.createElement(w.$64fa3d84918910a7$export$2881499e37b75b9a,{values:[[Be.$01b77f81d0f07f68$export$75b6ee27786ba447,{...g,ref:c}],[$e.$3985021b0ad6602f$export$37fb8590cf2c088c,{...C,ref:f}],[Bu.$216918bed6669f72$export$2dc6166a7e65358c,{...C,ref:f}],[Ae.$a049562f99e7db0e$export$f9c6924e160136d1,{role:"presentation",isInvalid:m.isInvalid,isDisabled:t.isDisabled||!1}],[ge.$514c0188e459b4c0$export$9afb8bc826b033ea,{slots:{description:S,errorMessage:x}}],[Oe.$ee014567cb39d3f0$export$ff05c3ac10437e03,m]]},T.children))}),{withProvider:Uu,withContext:ne}=we.createSlotRecipeContext({recipe:je.comboBoxSlotRecipe}),Wu=Uu("div","root"),Hu=ne("div","leadingElement"),bu=ne("div","value"),fu=ne("div","buttonGroup"),Ju=ne("div","popover"),Zu=ne("input","multiSelectInput"),Xu=ne("div","options"),Yu=ne("div","optionGroup"),Qu=ne("div","option"),_u=ne("span","optionIndicator"),eo=ne("span","optionContent"),to=e=>{const{placeholder:t,inputValue:u,allowsCustomValue:l,onSubmitCustomValue:n,onInputChange:a,ref:b}=e,[s,c]=w.$64fa3d84918910a7$export$29f1550f4b0d4415({},b||null,$e.$3985021b0ad6602f$export$37fb8590cf2c088c),h=o.useContext(Fe),A=o.useCallback(v=>{if(h?.selectedKey&&c.current&&c.current.selectionStart===0&&c.current.selectionEnd===0&&c.current.value.length>0&&v.key.length===1&&!v.ctrlKey&&!v.metaKey&&!v.altKey){v.preventDefault(),v.stopPropagation(),h.setInputValue(v.key);return}if(v.key==="Enter"&&u&&u?.trim()!==""&&a&&l&&n&&h)if(h.collection){const C=Array.from(h.collection).find(S=>S.textValue.toLowerCase()===u.toLowerCase());C?h.setSelectedKey(C.key):n(u)}else n(u)},[u,a,l,n,h]);return i.jsx(bu,{asChild:!0,children:i.jsx($e.$3985021b0ad6602f$export$f5b8910cec6cf069,{ref:c,...s,onKeyDown:A,placeholder:t})})},Te=({children:e,ref:t,...u})=>{const[l,n]=Se.extractStyleProps(u);return i.jsx(Xu,{...l,asChild:!0,children:i.jsx(ie.$eed445e0843c11d0$export$41f133550aa26f48,{ref:t,...n,children:e})})};Te.displayName="ComboBox.Options";const uo=({isDisabled:e,isReadOnly:t,isLoading:u})=>{const l=o.useContext(Fe);return i.jsxs(fu,{children:[l?.selectedKey&&i.jsx(Ee.IconButton,{pointerEvents:"all",slot:null,size:"2xs",variant:"ghost",tone:"primary","aria-label":"Clear Selection",isDisabled:e||t,_expanded:{bg:"transparent"},onPress:()=>l?.setSelectedKey(null),my:"auto",children:i.jsx(de.Close,{})}),u?i.jsx(Ze.Flex,{my:"auto",w:"600",h:"600",children:i.jsx(fe.Box,{color:"neutral.11",asChild:!0,m:"auto",w:"400",h:"400",children:i.jsx(fe.Box,{asChild:!0,animation:"spin",animationDuration:"slowest","data-testid":"nimbus-combobox-loading",children:i.jsx(de.Loop,{})})})}):i.jsx(Ee.IconButton,{size:"2xs",variant:"ghost","aria-label":"toggle combobox",tone:"neutral",my:"auto",isDisabled:e||t,_expanded:{bg:"transparent"},children:i.jsx(de.KeyboardArrowDown,{})})]})},xu=({children:e})=>{const t=o.useRef(null);return o.useEffect(()=>{const u=t.current;if(!u)return;const l=()=>{const a=u.offsetWidth,b=u.closest(".nimbus-combobox__root");b instanceof HTMLElement&&b.style.setProperty("--leading-element-width",`${a}px`)};l();const n=new ResizeObserver(l);return n.observe(u),()=>{n.disconnect()}},[]),i.jsx(Hu,{ref:t,children:e})},oo=({children:e,inputValue:t,onInputChange:u,placeholder:l,allowsCustomValue:n,onSubmitCustomValue:a,renderEmptyState:b,shouldFocusWrap:s=!0,isLoading:c,leadingElement:h,ref:A,...v})=>{if(a&&(t===void 0||!u))throw new Error('ComboBox: When "onSubmitCustomValue" is provided, "inputValue" must be controlled with "onInputChange"');const g=o.useRef(null),C=o.useCallback(()=>{g.current&&g.current.value&&requestAnimationFrame(()=>g.current?.setSelectionRange(0,0))},[g]);return i.jsxs(Mu,{inputValue:t,onInputChange:u,onFocus:C,allowsCustomValue:n,menuTrigger:"focus",shouldFocusWrap:s,...v,ref:A,children:[h&&i.jsx(xu,{children:h}),i.jsx(to,{ref:g,placeholder:l,inputValue:t,allowsCustomValue:n,onSubmitCustomValue:a,onInputChange:u}),i.jsx(uo,{isLoading:c,isDisabled:v.isDisabled,isReadOnly:v.isReadOnly}),i.jsx(oe.$07b14b47974efb58$export$5b6b19405a83ff9d,{children:i.jsx(Te,{renderEmptyState:b,children:e})})]})};function Re(e){return e!=null&&typeof e=="object"&&"children"in e&&Array.isArray(e.children)}function me(e,t,u){if(e){if(!Object.prototype.hasOwnProperty.call(e,"id")&&t==="id")throw new Error("ComboBox: if items do not have an `id` key, you must specify which key uniquely identifies items using the `itemId` prop");if(!Object.prototype.hasOwnProperty.call(e,"name")&&u==="name")throw new Error("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")}}const no=({selectedKeys:e=new Set,items:t,itemId:u="id",itemValue:l="name",placeholder:n,onSelectionChange:a,isDisabled:b,isReadOnly:s,size:c,containerRef:h,ref:A})=>{const v=o.useMemo(()=>{if(!t)return[];const C=Array.from(e);if(Array.isArray(t)){const x=t[0];if(x&&Re(x)){const f=[];return t.forEach(T=>{Re(T)&&f.push(...T.children)}),me(f?.[0],u,l),C.map(T=>f.find(j=>j[u]===T)).filter(T=>T!==void 0)}const m=t;return me(m?.[0],u,l),C.map(f=>m.find(T=>T[u]===f)).filter(f=>f!==void 0)}const S=C.map(x=>Array.from(t).find(m=>m[u]===x)).filter(x=>x!==void 0);return me(S?.[0],u,l),S},[t,e,u]),g=o.useCallback(C=>{if(!(b||s)&&e instanceof Set){const S=e,x=new Set([...S].filter(m=>!C.has(m)));a?.(x),h?.current&&h.current.focus()}},[b,s,e,a]);return i.jsx(oe.$f1ab8c75478c6f73$export$cf75428e0b9ed1ea,{children:i.jsx(bu,{asChild:!0,alignItems:"space-between",justifyContent:"center",ref:A,children:i.jsx(ve.TagGroup.Root,{size:c,onRemove:g,"aria-label":"Selected values",selectionMode:"none",disabledKeys:b||s?e:void 0,"data-disabled":b,children:i.jsx(ve.TagGroup.TagList,{items:v,dependencies:[u],maxW:"100%",tabIndex:v.length===0||b||s?-1:void 0,renderEmptyState:()=>n&&i.jsx("div",{"data-placeholder":"true",style:{maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis"},children:n}),children:C=>i.jsx(ve.TagGroup.Tag,{id:C[u],maxW:"100%",children:C[l]})})})})})},lo=({selectedKeys:e,onSelectionChange:t,onInputChange:u,containerRef:l,isDisabled:n,isReadOnly:a,isLoading:b})=>{const s=o.useCallback(()=>{t?.(new Set),u?.(""),l?.current&&l.current.focus()},[]);return i.jsxs(fu,{children:[i.jsx(oe.$f1ab8c75478c6f73$export$cf75428e0b9ed1ea,{children:e instanceof Set&&e.size>0&&i.jsx(Ee.IconButton,{pointerEvents:"all",slot:null,size:"2xs",variant:"ghost",tone:"primary","aria-label":"Clear Selection",isDisabled:n||a,onPress:s,my:"auto",children:i.jsx(de.Close,{})})}),i.jsx(Ze.Flex,{my:"auto",w:"600",h:"600",color:"neutral.11",opacity:a||n?"0.5":void 0,cursor:a||n?"not-allowed":void 0,children:i.jsx(fe.Box,{pointerEvents:"none",asChild:!0,m:"auto",w:"400",h:"400",children:b?i.jsx(fe.Box,{asChild:!0,animation:"spin",animationDuration:"slowest","data-testid":"nimbus-combobox-loading",children:i.jsx(de.Loop,{})}):i.jsx(de.KeyboardArrowDown,{})})})]})};function io(e){let t;for(t of e);return t}const co=({children:e,defaultFilter:t,inputValue:u,defaultInputValue:l,onInputChange:n,defaultSelectedKeys:a=new Set,selectedKeys:b,onSelectionChange:s,onOpenChange:c,disabledKeys:h,items:A,defaultItems:v,itemId:g="id",itemValue:C="name",isLoading:S,isDisabled:x,isReadOnly:m,isRequired:f,isInvalid:T,className:j,placeholder:q,size:D="md",allowsCustomValue:Y,onSubmitCustomValue:G,renderEmptyState:H,ref:z,leadingElement:k,...te})=>{const[V,N]=o.useState(!1),U=o.useRef(!1),[F,r]=o.useState(),d=b??F??a,y=s??r,[M,L]=o.useState(""),P=u??M??l,O=n??L,J=A??v,Q=ze.$bb77f239b46e8c72$export$3274cf84b703fff({sensitivity:"base"}),ce=(...p)=>Q.contains.apply(void 0,p),W=o.useCallback(p=>{if(x||m){V&&N(!1);return}c&&c?.(p),N(p),p||(U.current=!0,requestAnimationFrame(()=>{setTimeout(()=>{U.current=!1},50)}))},[x,m,c,V]);o.useEffect(()=>{(x||m)&&W(!1)},[x,m]);const ue=o.useCallback(p=>{x||m||p.target===p.currentTarget&&!V&&!U.current&&W(!0)},[V]),re=o.useCallback(()=>{if(d!=="all"&&d instanceof Set){const p=io(d);if(p!=null){const Z=new Set(d);Z.delete(p),y(Z)}}},[d,y]),ae=o.useCallback(p=>{(p.key==="ArrowDown"||p.key==="ArrowUp"||p.key==="Enter")&&p.target===$.current&&(p.preventDefault(),W(!0))},[]),pe=o.useCallback(p=>{if(p.key==="Backspace"&&P===""){re();return}if(p.key==="Escape"){W(!1),$.current&&$.current.focus();return}if(p.key==="Enter"&&P.trim()!==""&&Y&&G)if(p.stopPropagation(),J){const Z=P.trim(),X=Array.from(J).find(_=>(typeof _=="object"&&_!==null&&C in _?String(_[C]):JSON.stringify(_)).toLowerCase()===Z.toLowerCase());if(X){const _=typeof X=="object"&&X!==null&&g in X?X[g]:X,le=new Set(d);le.add(_),y(le),O("")}else G(P),O("")}else G(P),O("")},[P,re,Y,G,J,C,g,d,y,O]),$=o.useRef(null),B=yu.mergeRefs(z,$);return i.jsxs(oe.$de32f1b87079253c$export$2e1e1122cf0cba88,{isOpen:V,onOpenChange:W,children:[i.jsx(Tu,{allowTextSelectionOnPress:!0,children:i.jsxs("div",{className:j,tabIndex:x?-1:0,ref:B,role:"combobox",onKeyDown:ae,onFocus:ue,"aria-expanded":V,"aria-haspopup":"dialog","aria-disabled":x,"aria-readonly":m,"aria-required":f,"aria-invalid":T,"data-disabled":x,"data-invalid":T,"data-required":f,"data-open":V,...te,children:[k&&i.jsx(xu,{children:k}),i.jsx(no,{items:J,selectedKeys:d,onSelectionChange:y,itemId:g,itemValue:C,placeholder:q,size:D,containerRef:$,isDisabled:x,isReadOnly:m}),i.jsx(lo,{selectedKeys:d,onSelectionChange:y,onInputChange:O,containerRef:$,isDisabled:x,isReadOnly:m,isLoading:S})]})}),i.jsx(Ju,{asChild:!0,children:i.jsx(oe.$07b14b47974efb58$export$5b6b19405a83ff9d,{triggerRef:$,placement:"bottom start",children:i.jsx(oe.$de32f1b87079253c$export$3ddf2d174ce01153,{"aria-label":"combobox dialog",children:i.jsxs(ju,{filter:t??ce,inputValue:P,onInputChange:O,children:[i.jsx(Zu,{asChild:!0,children:i.jsx(Nu,{autoFocus:!0,isDisabled:x,isReadOnly:m,isRequired:f,"aria-label":"filter combobox options",children:i.jsx($e.$3985021b0ad6602f$export$f5b8910cec6cf069,{onKeyDownCapture:pe,placeholder:q})})}),i.jsx(Te,{items:J,selectionMode:"multiple",onSelectionChange:y,selectedKeys:d,shouldFocusWrap:!0,disabledKeys:x?"all":h,escapeKeyBehavior:"none","aria-label":"combobox options",renderEmptyState:H,children:e})]})})})})]})},De=({children:e,ref:t,...u})=>{const l=we.useSlotRecipe({recipe:je.comboBoxSlotRecipe}),[n,a]=l.splitVariantProps(u),[b,s]=Se.extractStyleProps(a),c="selectionMode"in u&&u.selectionMode==="multiple"?co:oo;return i.jsx(Wu,{asChild:!0,selectionMode:u.selectionMode,...n,...b,children:i.jsx(c,{ref:t,size:n.size,...s,children:e})})};De.displayName="ComboBox.Root";const Le=({children:e,label:t,items:u,ref:l,...n})=>{if(u&&typeof e!="function")throw new Error('ComboBoxOptionGroup: When "items" is provided, "children" must be a function');return i.jsxs(ie.$eed445e0843c11d0$export$dca12b0bb56e4fc,{ref:l,...n,children:[i.jsx(Yu,{asChild:!0,children:i.jsx(We.$72a5793c14baf454$export$8b251419efc915eb,{children:t})}),u?i.jsx(Me.$e1995378a142960e$export$fb8073518f34e6ec,{items:u,children:a=>typeof e=="function"?e(a):null}):e]})};Le.displayName="ComboBox.OptionGroup";const Pe=({children:e,ref:t,...u})=>{const[l,n]=Se.extractStyleProps(u),a=typeof e=="string"?e:void 0;return i.jsx(Qu,{...l,asChild:!0,children:i.jsx(ie.$eed445e0843c11d0$export$a11e76429ed99b4,{ref:t,textValue:u.textValue??a,"aria-label":u.textValue??a,...n,children:b=>{const s=typeof e=="function"?e({...b}):e;return b.selectionMode==="multiple"?i.jsxs(i.Fragment,{children:[i.jsx(_u,{children:i.jsx("span",{"data-selected":b.isSelected,children:b.isSelected&&i.jsx(de.Check,{})})}),i.jsx(eo,{children:s})]}):i.jsx(i.Fragment,{children:s})}})})};Pe.displayName="ComboBox.Option";const ro={Root:De,OptionGroup:Le,Option:Pe};exports.ComboBox=ro;exports.ComboBoxOption=Pe;exports.ComboBoxOptionGroup=Le;exports.ComboBoxRoot=De;
2
+ //# sourceMappingURL=combobox-C9pPDZQn.cjs.js.map