@eightshift/ui-components 8.1.0 → 8.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/dist/{Autocomplete-BUU44AuW.js → Autocomplete-CO9aIsTe.js} +29 -25
  2. package/dist/{Button-_E2Z5G2l.js → Button-DO3oQfCq.js} +15 -9
  3. package/dist/{Dialog-3XLIaepk.js → Dialog-Bdqjmtt2.js} +293 -160
  4. package/dist/{Disclosure-Dh0z_DEQ.js → Disclosure-BTSsPhG9.js} +33 -29
  5. package/dist/{FocusScope-BKGWN6UK.js → FocusScope-Cj6cUR6X.js} +8 -6
  6. package/dist/{Heading-BWTs9ckA.js → Heading-BQje2nS2.js} +1 -1
  7. package/dist/{I18nProvider-BskRMK8G.js → I18nProvider-R_4IDnf9.js} +1 -1
  8. package/dist/{Label-UpU4cKPh.js → Label-C4bJkVti.js} +1 -1
  9. package/dist/{ListBox-DepY-52g.js → ListBox-CBvtIFuB.js} +20 -16
  10. package/dist/{NumberFormatter-WKBRKiEA.js → NumberFormatter-Bwdv413k.js} +4 -2
  11. package/dist/{RadioGroup-Br9Mn9QJ.js → RadioGroup-Dxzko0ma.js} +35 -35
  12. package/dist/{SearchField-q2Fj0L9K.js → SearchField-zY9JqR1c.js} +29 -26
  13. package/dist/{Slider-B8icnyOo.js → Slider-BXc72kE0.js} +55 -44
  14. package/dist/{Text-D4y19vs8.js → Text-i-ZK4MiL.js} +1 -1
  15. package/dist/{VisuallyHidden-B_LZ_kn7.js → VisuallyHidden-CsM0VnV1.js} +2 -2
  16. package/dist/{animation-DpSgtWyu.js → animation-COc9P6ap.js} +2 -4
  17. package/dist/assets/{image-analysis-worker-BuHru-CI.js → image-analysis-worker-CBOB71mx.js} +1 -1
  18. package/dist/assets/style-admin.css +1 -1
  19. package/dist/assets/style-editor.css +1 -1
  20. package/dist/assets/style.css +1 -1
  21. package/dist/{button-XSk_8UW7.js → button-C7mc6eS1.js} +15 -12
  22. package/dist/{checkbox-BYaS9tQ5.js → checkbox-DlG5DILl.js} +8 -8
  23. package/dist/{color-swatch-6ZEIXej3.js → color-swatch-D6xMLGU-.js} +14 -15
  24. package/dist/components/animated-visibility/animated-visibility.js +5 -3
  25. package/dist/components/base-control/base-control.js +1 -1
  26. package/dist/components/base-control/container.d.ts +4 -30
  27. package/dist/components/base-control/container.js +5 -32
  28. package/dist/components/breakpoint-preview/breakpoint-preview.js +1 -1
  29. package/dist/components/button/button.js +1 -1
  30. package/dist/components/checkbox/checkbox.js +1 -1
  31. package/dist/components/color-pickers/color-picker.js +7 -7
  32. package/dist/components/color-pickers/color-swatch.js +1 -1
  33. package/dist/components/color-pickers/gradient-editor.js +1 -1
  34. package/dist/components/color-pickers/solid-color-picker.js +1 -1
  35. package/dist/components/component-toggle/component-toggle.js +3 -3
  36. package/dist/components/container-panel/container-panel.js +11 -11
  37. package/dist/components/contextual-help/contextual-help.js +2 -2
  38. package/dist/components/draggable/draggable.d.ts +3 -3
  39. package/dist/components/draggable/draggable.js +1 -1
  40. package/dist/components/draggable-list/draggable-list.d.ts +3 -3
  41. package/dist/components/draggable-list/draggable-list.js +8 -8
  42. package/dist/components/expandable/expandable.js +3 -3
  43. package/dist/components/index.js +16 -16
  44. package/dist/components/input-field/input-field.js +1 -1
  45. package/dist/components/item-collection/item-collection.d.ts +3 -28
  46. package/dist/components/item-collection/item-collection.js +6 -6
  47. package/dist/components/link-input/link-input.d.ts +0 -2
  48. package/dist/components/link-input/link-input.js +1 -1
  49. package/dist/components/matrix-align/matrix-align.js +4 -3
  50. package/dist/components/menu/menu.js +10 -7
  51. package/dist/components/modal/modal.js +1 -1
  52. package/dist/components/notice/notice.js +8 -8
  53. package/dist/components/number-picker/number-picker.js +1 -1
  54. package/dist/components/option-select/option-select.d.ts +1 -1
  55. package/dist/components/option-select/option-select.js +21 -15
  56. package/dist/components/options-panel/options-panel.js +4 -4
  57. package/dist/components/placeholders/file-picker-shell.js +4 -3
  58. package/dist/components/placeholders/file-placeholder.js +2 -1
  59. package/dist/components/popover/popover.js +3 -3
  60. package/dist/components/portal-provider/portal-provider.js +2 -1
  61. package/dist/components/radio/radio.js +2 -2
  62. package/dist/components/repeater/repeater-context.d.ts +0 -1
  63. package/dist/components/repeater/repeater-item.js +1 -1
  64. package/dist/components/repeater/repeater.d.ts +5 -38
  65. package/dist/components/repeater/repeater.js +7 -10
  66. package/dist/components/responsive/mini-responsive.d.ts +0 -1
  67. package/dist/components/responsive/mini-responsive.js +30 -30
  68. package/dist/components/responsive/responsive-legacy.d.ts +0 -1
  69. package/dist/components/responsive/responsive-legacy.js +12 -10
  70. package/dist/components/responsive/responsive.d.ts +0 -1
  71. package/dist/components/responsive/responsive.js +28 -28
  72. package/dist/components/responsive-preview/responsive-preview.js +3 -3
  73. package/dist/components/select/async-multi-select.d.ts +12 -13
  74. package/dist/components/select/async-multi-select.js +39 -20
  75. package/dist/components/select/async-select.d.ts +12 -13
  76. package/dist/components/select/async-select.js +38 -20
  77. package/dist/components/select/multi-select.d.ts +2 -8
  78. package/dist/components/select/multi-select.js +19 -19
  79. package/dist/components/select/shared.d.ts +5 -9
  80. package/dist/components/select/shared.js +2 -2
  81. package/dist/components/select/single-select.d.ts +2 -8
  82. package/dist/components/select/single-select.js +16 -16
  83. package/dist/components/slider/column-config-slider.js +7 -5
  84. package/dist/components/slider/slider.js +15 -11
  85. package/dist/components/smart-image/smart-image.d.ts +0 -1
  86. package/dist/components/smart-image/smart-image.js +52 -50
  87. package/dist/components/tabs/tabs.js +1 -1
  88. package/dist/components/toggle/switch.js +1 -1
  89. package/dist/components/toggle/toggle.js +2 -2
  90. package/dist/components/toggle-button/toggle-button.js +1 -1
  91. package/dist/components/tooltip/tooltip.js +1 -1
  92. package/dist/{draggable-9MfdTVWP.js → draggable-BUfOpGSZ.js} +129 -124
  93. package/dist/{es-dash-DunirOmV.js → es-dash-DPtJSRjw.js} +23 -52
  94. package/dist/{gradient-editor-yqSw0uPA.js → gradient-editor-_q3XF10i.js} +38 -29
  95. package/dist/icons/block-icon.js +1 -1
  96. package/dist/icons/icon.d.ts +3 -3
  97. package/dist/icons/icon.js +21 -9
  98. package/dist/icons/icons.d.ts +210 -1
  99. package/dist/icons/index.js +1 -1
  100. package/dist/icons/jsx-svg.d.ts +5 -4
  101. package/dist/icons/jsx-svg.js +1 -1
  102. package/dist/index.js +16 -16
  103. package/dist/{input-field-nN6BO0oz.js → input-field-QzBpjm-m.js} +8 -8
  104. package/dist/{jsx-svg-BjGQUBLh.js → jsx-svg-DRwJdRpA.js} +171 -129
  105. package/dist/{keyboard-g5Amam-c.js → keyboard-BxnnQA2Z.js} +1 -1
  106. package/dist/{link-input-BhlPElU8.js → link-input-CElQp3lP.js} +145 -87
  107. package/dist/{modal-B5axB0Fc.js → modal-BeacK9N_.js} +14 -13
  108. package/dist/{number-picker-nnOf0XnN.js → number-picker-CK_OHBXw.js} +9 -9
  109. package/dist/{react-y40Dt3ab.js → react-C6Y6cCOx.js} +194 -215
  110. package/dist/{shared-Ba_bt4s9.js → shared-DBCipn_m.js} +59 -43
  111. package/dist/{solid-color-picker-CsosgTVa.js → solid-color-picker-2-X3ridX.js} +58 -53
  112. package/dist/{switch-BJ4_OyUm.js → switch-B87lQ1V0.js} +6 -6
  113. package/dist/{tabs-wAe0AAyu.js → tabs-DgkJUkIX.js} +33 -28
  114. package/dist/{text-helpers-2j9DuxP1.js → text-helpers-QrwKKaOh.js} +3 -2
  115. package/dist/{textSelection-B_Nv6Jz3.js → textSelection-5Qk8tLtm.js} +3 -3
  116. package/dist/{toggle-button-BLJdEp8V.js → toggle-button-B2-f2rU6.js} +8 -7
  117. package/dist/{tooltip-BW9nj5-V.js → tooltip-AzOLps8g.js} +68 -62
  118. package/dist/{useAsyncList-B3-uyJgA.js → useAsyncList-CjKVLGN0.js} +8 -4
  119. package/dist/{useButton-CPMVLXoX.js → useButton-BIrfoiY8.js} +3 -3
  120. package/dist/{useCollection-PzY6FI39.js → useCollection-LQlZnc1u.js} +267 -180
  121. package/dist/{useEvent-CzuFZ2HT.js → useEvent-Bih8lvtM.js} +1 -1
  122. package/dist/{useField-DrfR8j9h.js → useField-B_ibsWst.js} +2 -2
  123. package/dist/{useFilter-CiCjo6Na.js → useFilter-BFaOw4yi.js} +1 -1
  124. package/dist/{useFocusRing-CrYHpV7C.js → useFocusRing-ZXFsftJJ.js} +1 -1
  125. package/dist/{useFormReset-U6c35PHq.js → useFormReset-DDJhIIfG.js} +1 -1
  126. package/dist/{useFormValidation-B2q2MGWN.js → useFormValidation-BfnJKcdX.js} +2 -2
  127. package/dist/{useHover-CNsbAR0V.js → useHover-CbyH227W.js} +216 -39
  128. package/dist/{useLabel-DuxAjaic.js → useLabel-gfFDE4bn.js} +2 -2
  129. package/dist/{useLabels-NUsp5IW3.js → useLabels-Dcg-cEyM.js} +1 -1
  130. package/dist/{useListState-FLxa7R_U.js → useListState-I22DfnmE.js} +4 -2
  131. package/dist/{useLocalizedStringFormatter-Ccm8EL_u.js → useLocalizedStringFormatter-CTCqjYu4.js} +6 -1
  132. package/dist/{useNumberFieldState-DWvm7CXu.js → useNumberFieldState-C1gD0RuW.js} +79 -62
  133. package/dist/{useNumberFormatter-B0_D7a_o.js → useNumberFormatter-DbAt_fC_.js} +2 -2
  134. package/dist/{useOverlayTriggerState-zZ7homyI.js → useOverlayTriggerState-Cpc_IbQf.js} +12 -9
  135. package/dist/{usePress-DRoujMNm.js → usePress-BF7otjax.js} +30 -19
  136. package/dist/{useSlot-pRz-v9kC.js → useSlot-CnQHcvd4.js} +1 -1
  137. package/dist/{useTextField-e8jIFT3s.js → useTextField-CnTuCBMs.js} +6 -6
  138. package/dist/{useToggle-CR_ZKvr_.js → useToggle-Cgv5UXaB.js} +6 -6
  139. package/dist/{useToggleState-ButQxGrJ.js → useToggleState-Cy1E36QZ.js} +1 -1
  140. package/dist/utilities/array-helpers.d.ts +1 -1
  141. package/dist/utilities/array-helpers.js +4 -3
  142. package/dist/utilities/debounce-throttle.d.ts +9 -2
  143. package/dist/utilities/es-dash.d.ts +11 -8
  144. package/dist/utilities/es-dash.js +1 -1
  145. package/dist/utilities/index.js +2 -2
  146. package/dist/utilities/text-helpers.js +1 -1
  147. package/dist/utilities/web-workers.d.ts +7 -7
  148. package/dist/utilities/web-workers.js +5 -5
  149. package/dist/{utils-Czi6q2Ub.js → utils-ClM91CuL.js} +30 -19
  150. package/package.json +21 -25
@@ -1,9 +1,9 @@
1
- import { a as $7230ffa83bc0c2cf$export$c62b8e45d58ddad9, d as $4064df0d6f9620e1$export$c9058316764c140e, h as $c4867b2f328c2698$export$e5c5a5f917a5871c, m as $c7eafbbe1ea5834e$export$535bd6ca7f90a273, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$df3a06d6289f983e, p as $390e54f620492c70$export$f680877a34711e37, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a, u as $bbaa08b3cd72f041$export$9d1611c77c2fe928 } from "./utils-Czi6q2Ub.js";
2
- import { d as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useHover-CNsbAR0V.js";
3
- import { t as $600b3cf69ae46262$export$90fc3a17d93f704c } from "./useEvent-CzuFZ2HT.js";
1
+ import { a as $7230ffa83bc0c2cf$export$c62b8e45d58ddad9, d as $4064df0d6f9620e1$export$c9058316764c140e, h as $c4867b2f328c2698$export$e5c5a5f917a5871c, m as $c7eafbbe1ea5834e$export$535bd6ca7f90a273, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$df3a06d6289f983e, p as $390e54f620492c70$export$f680877a34711e37, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a, u as $bbaa08b3cd72f041$export$9d1611c77c2fe928 } from "./utils-ClM91CuL.js";
2
+ import { d as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useHover-CbyH227W.js";
3
+ import { t as $600b3cf69ae46262$export$90fc3a17d93f704c } from "./useEvent-Bih8lvtM.js";
4
4
  import { t as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f } from "./filterDOMProps-CgeMQsGa.js";
5
- import { t as $0c4a58759813079a$export$4e328f61c538687f } from "./useFocusRing-CrYHpV7C.js";
6
- import { t as $7705c033048f6da7$export$24d547caef80ccd1 } from "./Button-_E2Z5G2l.js";
5
+ import { t as $0c4a58759813079a$export$4e328f61c538687f } from "./useFocusRing-ZXFsftJJ.js";
6
+ import { t as $7705c033048f6da7$export$24d547caef80ccd1 } from "./Button-DO3oQfCq.js";
7
7
  import $3ARPR$react, { createContext, forwardRef, useCallback, useContext, useEffect, useRef } from "react";
8
8
  import { flushSync } from "react-dom";
9
9
  //#region node_modules/react-aria/dist/private/disclosure/useDisclosure.mjs
@@ -13,43 +13,47 @@ function $89a3495b7d82e671$export$6e3e27031a30522f(props, state, ref) {
13
13
  let panelId = $390e54f620492c70$export$f680877a34711e37();
14
14
  let isSSR = $c7eafbbe1ea5834e$export$535bd6ca7f90a273();
15
15
  let raf = useRef(null);
16
- $600b3cf69ae46262$export$90fc3a17d93f704c(ref, "beforematch", useCallback(() => {
16
+ let handleBeforeMatch = useCallback(() => {
17
17
  raf.current = requestAnimationFrame(() => {
18
18
  if (ref.current) ref.current.setAttribute("hidden", "until-found");
19
19
  });
20
20
  flushSync(() => {
21
21
  state.toggle();
22
22
  });
23
- }, [ref, state]));
23
+ }, [ref, state]);
24
+ $600b3cf69ae46262$export$90fc3a17d93f704c(ref, "beforematch", handleBeforeMatch);
24
25
  let isExpandedRef = useRef(null);
25
26
  $c4867b2f328c2698$export$e5c5a5f917a5871c(() => {
26
27
  if (raf.current) cancelAnimationFrame(raf.current);
27
28
  if (ref.current && !isSSR) {
28
29
  let panel = ref.current;
29
- if (isExpandedRef.current == null || typeof panel.getAnimations !== "function") if (state.isExpanded) {
30
- panel.removeAttribute("hidden");
31
- panel.style.setProperty("--disclosure-panel-width", "auto");
32
- panel.style.setProperty("--disclosure-panel-height", "auto");
33
- } else {
34
- panel.setAttribute("hidden", "until-found");
35
- panel.style.setProperty("--disclosure-panel-width", "0px");
36
- panel.style.setProperty("--disclosure-panel-height", "0px");
37
- }
38
- else if (state.isExpanded !== isExpandedRef.current) if (state.isExpanded) {
39
- panel.removeAttribute("hidden");
40
- panel.style.setProperty("--disclosure-panel-width", panel.scrollWidth + "px");
41
- panel.style.setProperty("--disclosure-panel-height", panel.scrollHeight + "px");
42
- Promise.all(panel.getAnimations().map((a) => a.finished)).then(() => {
30
+ if (isExpandedRef.current == null || typeof panel.getAnimations !== "function") {
31
+ if (state.isExpanded) {
32
+ panel.removeAttribute("hidden");
43
33
  panel.style.setProperty("--disclosure-panel-width", "auto");
44
34
  panel.style.setProperty("--disclosure-panel-height", "auto");
45
- }).catch(() => {});
46
- } else {
47
- panel.style.setProperty("--disclosure-panel-width", panel.scrollWidth + "px");
48
- panel.style.setProperty("--disclosure-panel-height", panel.scrollHeight + "px");
49
- window.getComputedStyle(panel).height;
50
- panel.style.setProperty("--disclosure-panel-width", "0px");
51
- panel.style.setProperty("--disclosure-panel-height", "0px");
52
- Promise.all(panel.getAnimations().map((a) => a.finished)).then(() => panel.setAttribute("hidden", "until-found")).catch(() => {});
35
+ } else {
36
+ panel.setAttribute("hidden", "until-found");
37
+ panel.style.setProperty("--disclosure-panel-width", "0px");
38
+ panel.style.setProperty("--disclosure-panel-height", "0px");
39
+ }
40
+ } else if (state.isExpanded !== isExpandedRef.current) {
41
+ if (state.isExpanded) {
42
+ panel.removeAttribute("hidden");
43
+ panel.style.setProperty("--disclosure-panel-width", panel.scrollWidth + "px");
44
+ panel.style.setProperty("--disclosure-panel-height", panel.scrollHeight + "px");
45
+ Promise.all(panel.getAnimations().map((a) => a.finished)).then(() => {
46
+ panel.style.setProperty("--disclosure-panel-width", "auto");
47
+ panel.style.setProperty("--disclosure-panel-height", "auto");
48
+ }).catch(() => {});
49
+ } else {
50
+ panel.style.setProperty("--disclosure-panel-width", panel.scrollWidth + "px");
51
+ panel.style.setProperty("--disclosure-panel-height", panel.scrollHeight + "px");
52
+ window.getComputedStyle(panel).height;
53
+ panel.style.setProperty("--disclosure-panel-width", "0px");
54
+ panel.style.setProperty("--disclosure-panel-height", "0px");
55
+ Promise.all(panel.getAnimations().map((a) => a.finished)).then(() => panel.setAttribute("hidden", "until-found")).catch(() => {});
56
+ }
53
57
  }
54
58
  isExpandedRef.current = state.isExpanded;
55
59
  }
@@ -1,5 +1,5 @@
1
- import { h as $c4867b2f328c2698$export$e5c5a5f917a5871c } from "./utils-Czi6q2Ub.js";
2
- import { E as $2add3ce32c6007eb$export$6446a186d09e379e, G as $d447af545b77c9f1$export$f21a1ffae260145a, H as $23f2114a1b82827e$export$e58f029f0fbfdb29, I as $3b8b240c1bf84ab9$export$4c063cf1350e6fed, L as $3b8b240c1bf84ab9$export$bebd5a1431fec25d, U as $6a20a7989e6c817a$export$98658e8c59125e6a, V as $23f2114a1b82827e$export$cd4e5573fbe2b576, W as $d447af545b77c9f1$export$b204af158042fbac, k as $2add3ce32c6007eb$export$a11b0059900ceec8, l as $f192c2f16961cbe0$export$80f3e147d781571c, p as $8f5a2122b0992be3$export$630ff653c5ada6a9, z as $23f2114a1b82827e$export$4282f70798064fe0 } from "./useHover-CNsbAR0V.js";
1
+ import { h as $c4867b2f328c2698$export$e5c5a5f917a5871c } from "./utils-ClM91CuL.js";
2
+ import { E as $2add3ce32c6007eb$export$6446a186d09e379e, I as $3b8b240c1bf84ab9$export$4c063cf1350e6fed, K as $d447af545b77c9f1$export$b204af158042fbac, L as $3b8b240c1bf84ab9$export$bebd5a1431fec25d, U as $23f2114a1b82827e$export$e58f029f0fbfdb29, V as $23f2114a1b82827e$export$cd4e5573fbe2b576, W as $6a20a7989e6c817a$export$98658e8c59125e6a, k as $2add3ce32c6007eb$export$a11b0059900ceec8, l as $f192c2f16961cbe0$export$80f3e147d781571c, p as $8f5a2122b0992be3$export$630ff653c5ada6a9, q as $d447af545b77c9f1$export$f21a1ffae260145a, z as $23f2114a1b82827e$export$4282f70798064fe0 } from "./useHover-CbyH227W.js";
3
3
  import $3ARPR$react, { useContext, useEffect, useMemo, useRef } from "react";
4
4
  //#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs
5
5
  var $654b97e09f2a30c1$export$63eb3ababa9c55c4 = class {
@@ -351,7 +351,7 @@ function $535772f9d2c1f38d$var$useFocusContainment(scopeRef, contain) {
351
351
  $535772f9d2c1f38d$var$activeScope = scopeRef;
352
352
  focusedNode.current = $23f2114a1b82827e$export$e58f029f0fbfdb29(e);
353
353
  } else if ($535772f9d2c1f38d$var$shouldContainFocus(scopeRef) && !$535772f9d2c1f38d$var$isElementInChildScope($23f2114a1b82827e$export$e58f029f0fbfdb29(e), scopeRef)) {
354
- if (focusedNode.current) focusedNode.current.focus();
354
+ if (focusedNode.current) $535772f9d2c1f38d$var$focusElement(focusedNode.current);
355
355
  else if ($535772f9d2c1f38d$var$activeScope && $535772f9d2c1f38d$var$activeScope.current) $535772f9d2c1f38d$var$focusFirstInScope($535772f9d2c1f38d$var$activeScope.current);
356
356
  } else if ($535772f9d2c1f38d$var$shouldContainFocus(scopeRef)) focusedNode.current = $23f2114a1b82827e$export$e58f029f0fbfdb29(e);
357
357
  };
@@ -366,7 +366,7 @@ function $535772f9d2c1f38d$var$useFocusContainment(scopeRef, contain) {
366
366
  let target = $23f2114a1b82827e$export$e58f029f0fbfdb29(e);
367
367
  if (target && target.isConnected) {
368
368
  focusedNode.current = target;
369
- focusedNode.current?.focus();
369
+ $535772f9d2c1f38d$var$focusElement(focusedNode.current);
370
370
  } else if ($535772f9d2c1f38d$var$activeScope.current) $535772f9d2c1f38d$var$focusFirstInScope($535772f9d2c1f38d$var$activeScope.current);
371
371
  }
372
372
  });
@@ -442,7 +442,8 @@ function $535772f9d2c1f38d$var$useAutoFocus(scopeRef, autoFocus) {
442
442
  useEffect(() => {
443
443
  if (autoFocusRef.current) {
444
444
  $535772f9d2c1f38d$var$activeScope = scopeRef;
445
- if (!$535772f9d2c1f38d$var$isElementInScope($23f2114a1b82827e$export$cd4e5573fbe2b576($d447af545b77c9f1$export$b204af158042fbac(scopeRef.current ? scopeRef.current[0] : void 0)), $535772f9d2c1f38d$var$activeScope.current) && scopeRef.current) $535772f9d2c1f38d$var$focusFirstInScope(scopeRef.current);
445
+ const ownerDocument = $d447af545b77c9f1$export$b204af158042fbac(scopeRef.current ? scopeRef.current[0] : void 0);
446
+ if (!$535772f9d2c1f38d$var$isElementInScope($23f2114a1b82827e$export$cd4e5573fbe2b576(ownerDocument), $535772f9d2c1f38d$var$activeScope.current) && scopeRef.current) $535772f9d2c1f38d$var$focusFirstInScope(scopeRef.current);
446
447
  }
447
448
  autoFocusRef.current = false;
448
449
  }, [scopeRef]);
@@ -576,7 +577,8 @@ function $535772f9d2c1f38d$var$restoreFocusToElement(node) {
576
577
  }
577
578
  function $535772f9d2c1f38d$export$2d6ec8fc375ceafa(root, opts, scope) {
578
579
  let filter = opts?.tabbable ? $3b8b240c1bf84ab9$export$bebd5a1431fec25d : $3b8b240c1bf84ab9$export$4c063cf1350e6fed;
579
- let doc = $d447af545b77c9f1$export$b204af158042fbac(root?.nodeType === Node.ELEMENT_NODE ? root : null);
580
+ let rootElement = root?.nodeType === Node.ELEMENT_NODE ? root : null;
581
+ let doc = $d447af545b77c9f1$export$b204af158042fbac(rootElement);
580
582
  let walker = $654b97e09f2a30c1$export$4d0f8be8b12a7ef6(doc, root || doc, NodeFilter.SHOW_ELEMENT, { acceptNode(node) {
581
583
  if ($23f2114a1b82827e$export$4282f70798064fe0(opts?.from, node)) return NodeFilter.FILTER_REJECT;
582
584
  if (opts?.tabbable && node.tagName === "INPUT" && node.getAttribute("type") === "radio") {
@@ -1,4 +1,4 @@
1
- import { n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$df3a06d6289f983e } from "./utils-Czi6q2Ub.js";
1
+ import { n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$df3a06d6289f983e } from "./utils-ClM91CuL.js";
2
2
  import $3ARPR$react, { createContext, forwardRef } from "react";
3
3
  //#region node_modules/react-aria-components/dist/private/Heading.mjs
4
4
  var $2ec61d1d4f780267$export$d688439359537581 = createContext({});
@@ -1,4 +1,4 @@
1
- import { m as $c7eafbbe1ea5834e$export$535bd6ca7f90a273 } from "./utils-Czi6q2Ub.js";
1
+ import { m as $c7eafbbe1ea5834e$export$535bd6ca7f90a273 } from "./utils-ClM91CuL.js";
2
2
  import $3ARPR$react, { useContext, useEffect, useState } from "react";
3
3
  //#region node_modules/react-aria/dist/private/i18n/utils.mjs
4
4
  var $d805ff57cab8bee2$var$RTL_SCRIPTS = new Set([
@@ -1,4 +1,4 @@
1
- import { n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$df3a06d6289f983e } from "./utils-Czi6q2Ub.js";
1
+ import { n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$df3a06d6289f983e } from "./utils-ClM91CuL.js";
2
2
  import { t as $d7f64c32b702fe2c$export$86427a43e3e48ebb } from "./Hidden-C4Saxkx9.js";
3
3
  import $3ARPR$react, { createContext } from "react";
4
4
  //#region node_modules/react-aria-components/dist/private/Label.mjs
@@ -1,17 +1,17 @@
1
- import { a as $7230ffa83bc0c2cf$export$c62b8e45d58ddad9, f as $390e54f620492c70$export$b4cc09c592e8fdb8, g as $a4e76a5424781910$export$e08e3b67e392101e, h as $c4867b2f328c2698$export$e5c5a5f917a5871c, i as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, l as $03e8ab2d84d7657a$export$4338b53315abf666, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$df3a06d6289f983e, p as $390e54f620492c70$export$f680877a34711e37, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a, u as $bbaa08b3cd72f041$export$9d1611c77c2fe928 } from "./utils-Czi6q2Ub.js";
2
- import { _ as $8f5a2122b0992be3$export$b9b3dfddab17db27, b as $caaf0dd3060ed57c$export$7e924b3091a3bd18, c as $1e74c67db218ce67$export$f8168d8dd8fd66e6, f as $fe16bffc7a557bf0$export$7f54fc3180508a52, s as $8296dad1a4c5e0dc$export$8f71654801c2f7cd, t as $e969f22b6713ca4a$export$ae780daf29e6d456 } from "./useHover-CNsbAR0V.js";
3
- import { r as $4b38b5b75ecc6208$export$b0d3ecf7112093a7 } from "./Autocomplete-BUU44AuW.js";
4
- import { t as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7 } from "./I18nProvider-BskRMK8G.js";
5
- import { C as $6f0c29017aeec335$export$fd11f34e1d07f134, _ as $42ceafc619f9c3ba$export$e953bb1cd0f19726, a as $f6ba6936bfd098a0$export$ecf600387e221c37, d as $263ab7fc0f95ccdb$export$4feb769f8ddf26c5, g as $42ceafc619f9c3ba$export$bf788dd355e3a401, h as $42ceafc619f9c3ba$export$18af5c7a9e9b3664, m as $263ab7fc0f95ccdb$export$d40e14dec8b060a8, v as $42ceafc619f9c3ba$export$fb8073518f34e6ec, x as $6f0c29017aeec335$export$8258a0665a675899, y as $6f0c29017aeec335$export$437f11dc9b403b78 } from "./useCollection-PzY6FI39.js";
1
+ import { a as $7230ffa83bc0c2cf$export$c62b8e45d58ddad9, f as $390e54f620492c70$export$b4cc09c592e8fdb8, g as $a4e76a5424781910$export$e08e3b67e392101e, h as $c4867b2f328c2698$export$e5c5a5f917a5871c, i as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, l as $03e8ab2d84d7657a$export$4338b53315abf666, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$df3a06d6289f983e, p as $390e54f620492c70$export$f680877a34711e37, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a, u as $bbaa08b3cd72f041$export$9d1611c77c2fe928 } from "./utils-ClM91CuL.js";
2
+ import { _ as $8f5a2122b0992be3$export$b9b3dfddab17db27, b as $caaf0dd3060ed57c$export$7e924b3091a3bd18, c as $1e74c67db218ce67$export$f8168d8dd8fd66e6, f as $fe16bffc7a557bf0$export$7f54fc3180508a52, s as $8296dad1a4c5e0dc$export$8f71654801c2f7cd, t as $e969f22b6713ca4a$export$ae780daf29e6d456 } from "./useHover-CbyH227W.js";
3
+ import { r as $4b38b5b75ecc6208$export$b0d3ecf7112093a7 } from "./Autocomplete-CO9aIsTe.js";
4
+ import { t as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7 } from "./I18nProvider-R_4IDnf9.js";
5
+ import { C as $6f0c29017aeec335$export$fd11f34e1d07f134, _ as $42ceafc619f9c3ba$export$e953bb1cd0f19726, a as $f6ba6936bfd098a0$export$ecf600387e221c37, d as $263ab7fc0f95ccdb$export$4feb769f8ddf26c5, g as $42ceafc619f9c3ba$export$bf788dd355e3a401, h as $42ceafc619f9c3ba$export$18af5c7a9e9b3664, m as $263ab7fc0f95ccdb$export$d40e14dec8b060a8, v as $42ceafc619f9c3ba$export$fb8073518f34e6ec, x as $6f0c29017aeec335$export$8258a0665a675899, y as $6f0c29017aeec335$export$437f11dc9b403b78 } from "./useCollection-LQlZnc1u.js";
6
6
  import { t as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f } from "./filterDOMProps-CgeMQsGa.js";
7
- import { n as $2c9edc598a03d523$export$420e68273165f4ec, t as $0c4a58759813079a$export$4e328f61c538687f } from "./useFocusRing-CrYHpV7C.js";
8
- import { t as $0beb20c9744a2065$export$8467354a121f1b9f } from "./useLabel-DuxAjaic.js";
9
- import { n as $efe09c6d1c304b50$export$9afb8bc826b033ea } from "./Text-D4y19vs8.js";
10
- import { C as $e28ab3efe3e87743$export$6615d83f6de245ce, E as $3578607fe3d4b096$export$cfa2225e87938781, T as $53e61d82d8b8611d$export$e0e4026c12a8bdbb, b as $673d46fce3e5717d$export$a16aca283550c30d, v as $2efe10d3f1f9e31e$export$77d5aafae4e095b2, x as $ae8f8d98b2b18f2f$export$a05409b8bb224a5a, y as $64903b4b31b6bb2a$export$b95089534ab7c1fd } from "./Dialog-3XLIaepk.js";
7
+ import { n as $2c9edc598a03d523$export$420e68273165f4ec, t as $0c4a58759813079a$export$4e328f61c538687f } from "./useFocusRing-ZXFsftJJ.js";
8
+ import { t as $0beb20c9744a2065$export$8467354a121f1b9f } from "./useLabel-gfFDE4bn.js";
9
+ import { n as $efe09c6d1c304b50$export$9afb8bc826b033ea } from "./Text-i-ZK4MiL.js";
10
+ import { C as $e28ab3efe3e87743$export$6615d83f6de245ce, E as $3578607fe3d4b096$export$cfa2225e87938781, T as $53e61d82d8b8611d$export$e0e4026c12a8bdbb, b as $673d46fce3e5717d$export$a16aca283550c30d, v as $2efe10d3f1f9e31e$export$77d5aafae4e095b2, x as $ae8f8d98b2b18f2f$export$a05409b8bb224a5a, y as $64903b4b31b6bb2a$export$b95089534ab7c1fd } from "./Dialog-Bdqjmtt2.js";
11
11
  import { t as $792f28e438b9ad5f$export$758399f318e6385a } from "./SharedElementTransition-D1LPCrSc.js";
12
12
  import { t as $91fe5e721c7f36c1$export$c9549807523555e0 } from "./SelectionIndicator-CyOcB5ps.js";
13
- import { n as $535772f9d2c1f38d$export$20e40289641fbbb6 } from "./FocusScope-BKGWN6UK.js";
14
- import { i as $b24d1bc31a0f941d$export$a9d04c5684123369, n as $b14b6f590b50af39$export$ba9d38c0f1bf2b36, t as $b14b6f590b50af39$export$2f645645f7bca764 } from "./useListState-FLxa7R_U.js";
13
+ import { n as $535772f9d2c1f38d$export$20e40289641fbbb6 } from "./FocusScope-Cj6cUR6X.js";
14
+ import { i as $b24d1bc31a0f941d$export$a9d04c5684123369, n as $b14b6f590b50af39$export$ba9d38c0f1bf2b36, t as $b14b6f590b50af39$export$2f645645f7bca764 } from "./useListState-I22DfnmE.js";
15
15
  import $3ARPR$react, { createContext, forwardRef, useCallback, useContext, useEffect, useMemo, useRef } from "react";
16
16
  //#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs
17
17
  var $f9554a667e4f0374$export$d188a835a7bc5783 = createContext({});
@@ -215,16 +215,18 @@ function $3d6c959d2ef57b72$export$c3f9f39876e4bc7(props) {
215
215
  //#endregion
216
216
  //#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
217
217
  function $0407362eaf54473e$export$ccaea96c28e8b9e7(props, ref) {
218
- let { collection, onLoadMore, scrollOffset = 1 } = props;
218
+ let { collection, onLoadMore, scrollOffset = 1, direction = "end" } = props;
219
219
  let sentinelObserver = useRef(null);
220
220
  let triggerLoadMore = $fe16bffc7a557bf0$export$7f54fc3180508a52((entries) => {
221
221
  for (let entry of entries) if (entry.isIntersecting && onLoadMore) onLoadMore();
222
222
  });
223
223
  $c4867b2f328c2698$export$e5c5a5f917a5871c(() => {
224
224
  if (ref.current) {
225
+ const margin = 100 * scrollOffset;
226
+ const rootMargin = direction === "start" ? `${margin}% 0px 0px 0px` : `0px ${margin}% ${margin}% ${margin}%`;
225
227
  sentinelObserver.current = new IntersectionObserver(triggerLoadMore, {
226
228
  root: $3578607fe3d4b096$export$cfa2225e87938781(ref?.current),
227
- rootMargin: `0px ${100 * scrollOffset}% ${100 * scrollOffset}% ${100 * scrollOffset}%`
229
+ rootMargin
228
230
  });
229
231
  sentinelObserver.current.observe(ref.current);
230
232
  }
@@ -234,7 +236,8 @@ function $0407362eaf54473e$export$ccaea96c28e8b9e7(props, ref) {
234
236
  }, [
235
237
  collection,
236
238
  ref,
237
- scrollOffset
239
+ scrollOffset,
240
+ direction
238
241
  ]);
239
242
  }
240
243
  //#endregion
@@ -543,7 +546,7 @@ var $928221da08ecbc62$export$8e6d031a08cf56a1 = $42ceafc619f9c3ba$export$18af5c7
543
546
  let state = useContext($928221da08ecbc62$export$7c5906fe4f1f2af2);
544
547
  let { isLoading, onLoadMore, scrollOffset, ...otherProps } = props;
545
548
  let sentinelRef = useRef(null);
546
- $0407362eaf54473e$export$ccaea96c28e8b9e7(useMemo(() => ({
549
+ let memoedLoadMoreProps = useMemo(() => ({
547
550
  onLoadMore,
548
551
  collection: state?.collection,
549
552
  sentinelRef,
@@ -552,7 +555,8 @@ var $928221da08ecbc62$export$8e6d031a08cf56a1 = $42ceafc619f9c3ba$export$18af5c7
552
555
  onLoadMore,
553
556
  scrollOffset,
554
557
  state?.collection
555
- ]), sentinelRef);
558
+ ]);
559
+ $0407362eaf54473e$export$ccaea96c28e8b9e7(memoedLoadMoreProps, sentinelRef);
556
560
  let renderProps = $7230ffa83bc0c2cf$export$4d86445c2cf5e3({
557
561
  ...otherProps,
558
562
  id: void 0,
@@ -108,8 +108,10 @@ function $1dfb119a85e764e5$export$711b50b3c525e0f2(numberFormat, signDisplay, nu
108
108
  else {
109
109
  let needsPositiveSign = false;
110
110
  if (signDisplay === "always") needsPositiveSign = num > 0 || Object.is(num, 0);
111
- else if (signDisplay === "exceptZero") if (Object.is(num, -0) || Object.is(num, 0)) num = Math.abs(num);
112
- else needsPositiveSign = num > 0;
111
+ else if (signDisplay === "exceptZero") {
112
+ if (Object.is(num, -0) || Object.is(num, 0)) num = Math.abs(num);
113
+ else needsPositiveSign = num > 0;
114
+ }
113
115
  if (needsPositiveSign) {
114
116
  let negative = numberFormat.format(-num);
115
117
  let noSign = numberFormat.format(num);
@@ -1,19 +1,19 @@
1
- import { c as $7230ffa83bc0c2cf$export$fabf2dc03a41866e, d as $4064df0d6f9620e1$export$c9058316764c140e, i as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, l as $03e8ab2d84d7657a$export$4338b53315abf666, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$df3a06d6289f983e, p as $390e54f620492c70$export$f680877a34711e37, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$ef03459518577ad4, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a, u as $bbaa08b3cd72f041$export$9d1611c77c2fe928 } from "./utils-Czi6q2Ub.js";
2
- import { G as $d447af545b77c9f1$export$f21a1ffae260145a, H as $23f2114a1b82827e$export$e58f029f0fbfdb29, d as $3e6197669829fe11$export$40bfa8c7b0832715, i as $d1116acdf220c2da$export$4c014de7c8940b4c, t as $e969f22b6713ca4a$export$ae780daf29e6d456 } from "./useHover-CNsbAR0V.js";
3
- import { t as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7 } from "./I18nProvider-BskRMK8G.js";
1
+ import { c as $7230ffa83bc0c2cf$export$fabf2dc03a41866e, d as $4064df0d6f9620e1$export$c9058316764c140e, i as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, l as $03e8ab2d84d7657a$export$4338b53315abf666, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$df3a06d6289f983e, p as $390e54f620492c70$export$f680877a34711e37, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$ef03459518577ad4, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a, u as $bbaa08b3cd72f041$export$9d1611c77c2fe928 } from "./utils-ClM91CuL.js";
2
+ import { U as $23f2114a1b82827e$export$e58f029f0fbfdb29, d as $3e6197669829fe11$export$40bfa8c7b0832715, i as $d1116acdf220c2da$export$4c014de7c8940b4c, q as $d447af545b77c9f1$export$f21a1ffae260145a, s as $8296dad1a4c5e0dc$export$8f71654801c2f7cd, t as $e969f22b6713ca4a$export$ae780daf29e6d456 } from "./useHover-CbyH227W.js";
3
+ import { t as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7 } from "./I18nProvider-R_4IDnf9.js";
4
4
  import { t as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f } from "./filterDOMProps-CgeMQsGa.js";
5
- import { t as $d27d541f9569d26d$export$45712eceda6fad21 } from "./usePress-DRoujMNm.js";
6
- import { n as $2c9edc598a03d523$export$420e68273165f4ec, t as $0c4a58759813079a$export$4e328f61c538687f } from "./useFocusRing-CrYHpV7C.js";
7
- import { t as $43a3b93638fe5db9$export$75b6ee27786ba447 } from "./Label-UpU4cKPh.js";
8
- import { n as $efe09c6d1c304b50$export$9afb8bc826b033ea } from "./Text-D4y19vs8.js";
9
- import { t as $ea3928288112382f$export$439d29a4e110a164 } from "./VisuallyHidden-B_LZ_kn7.js";
10
- import { n as $1f3c3b1a70cec653$export$ff05c3ac10437e03, t as $191c9b6d48a0a4e2$export$294aa081a6c6f55d } from "./useField-DrfR8j9h.js";
11
- import { i as $fd2148440a13ec26$export$fc1a364ae1f3ff10, t as $860f7da480e22816$export$b8473d3665f3a75a } from "./useFormValidation-B2q2MGWN.js";
5
+ import { t as $d27d541f9569d26d$export$45712eceda6fad21 } from "./usePress-BF7otjax.js";
6
+ import { n as $2c9edc598a03d523$export$420e68273165f4ec, t as $0c4a58759813079a$export$4e328f61c538687f } from "./useFocusRing-ZXFsftJJ.js";
7
+ import { t as $43a3b93638fe5db9$export$75b6ee27786ba447 } from "./Label-C4bJkVti.js";
8
+ import { n as $efe09c6d1c304b50$export$9afb8bc826b033ea } from "./Text-i-ZK4MiL.js";
9
+ import { t as $ea3928288112382f$export$439d29a4e110a164 } from "./VisuallyHidden-CsM0VnV1.js";
10
+ import { n as $1f3c3b1a70cec653$export$ff05c3ac10437e03, t as $191c9b6d48a0a4e2$export$294aa081a6c6f55d } from "./useField-B_ibsWst.js";
11
+ import { i as $fd2148440a13ec26$export$fc1a364ae1f3ff10, t as $860f7da480e22816$export$b8473d3665f3a75a } from "./useFormValidation-BfnJKcdX.js";
12
12
  import { t as $cdaed739b1139372$export$c24727297075ec6a } from "./Form-BWMVEpwR.js";
13
- import { t as $3274bf1495747a7b$export$5add1d006293d136 } from "./useFormReset-U6c35PHq.js";
14
- import { t as $4c14b02d5228be26$export$ed2feabec4a533f4 } from "./useSlot-pRz-v9kC.js";
13
+ import { t as $3274bf1495747a7b$export$5add1d006293d136 } from "./useFormReset-DDJhIIfG.js";
14
+ import { t as $4c14b02d5228be26$export$ed2feabec4a533f4 } from "./useSlot-CnQHcvd4.js";
15
15
  import { t as $792f28e438b9ad5f$export$758399f318e6385a } from "./SharedElementTransition-D1LPCrSc.js";
16
- import { r as $535772f9d2c1f38d$export$2d6ec8fc375ceafa } from "./FocusScope-BKGWN6UK.js";
16
+ import { r as $535772f9d2c1f38d$export$2d6ec8fc375ceafa } from "./FocusScope-Cj6cUR6X.js";
17
17
  import $3ARPR$react, { createContext, forwardRef, useContext, useMemo, useState } from "react";
18
18
  //#region node_modules/react-aria/dist/private/radio/utils.mjs
19
19
  var $640b6b92b30fd41a$export$37b65e5b5444d35c = new WeakMap();
@@ -112,26 +112,7 @@ function $eecdee08e0d8a75f$export$62b9571f283ff5c2(props, state) {
112
112
  onFocusWithin: props.onFocus,
113
113
  onFocusWithinChange: props.onFocusChange
114
114
  });
115
- let onKeyDown = (e) => {
116
- let nextDir;
117
- switch (e.key) {
118
- case "ArrowRight":
119
- if (direction === "rtl" && orientation !== "vertical") nextDir = "prev";
120
- else nextDir = "next";
121
- break;
122
- case "ArrowLeft":
123
- if (direction === "rtl" && orientation !== "vertical") nextDir = "next";
124
- else nextDir = "prev";
125
- break;
126
- case "ArrowDown":
127
- nextDir = "next";
128
- break;
129
- case "ArrowUp":
130
- nextDir = "prev";
131
- break;
132
- default: return;
133
- }
134
- e.preventDefault();
115
+ function getNextElement(nextDir, e) {
135
116
  let walker = $535772f9d2c1f38d$export$2d6ec8fc375ceafa(e.currentTarget, {
136
117
  from: $23f2114a1b82827e$export$e58f029f0fbfdb29(e),
137
118
  accept: (node) => node instanceof $d447af545b77c9f1$export$f21a1ffae260145a(node).HTMLInputElement && node.type === "radio"
@@ -153,8 +134,27 @@ function $eecdee08e0d8a75f$export$62b9571f283ff5c2(props, state) {
153
134
  if (nextElem) {
154
135
  nextElem.focus();
155
136
  state.setSelectedValue(nextElem.value);
137
+ return true;
156
138
  }
157
- };
139
+ return false;
140
+ }
141
+ let { keyboardProps } = $8296dad1a4c5e0dc$export$8f71654801c2f7cd({
142
+ shortcuts: {
143
+ ArrowRight: (e) => {
144
+ return getNextElement(direction === "rtl" && orientation !== "vertical" ? "prev" : "next", e);
145
+ },
146
+ ArrowLeft: (e) => {
147
+ return getNextElement(direction === "rtl" && orientation !== "vertical" ? "next" : "prev", e);
148
+ },
149
+ ArrowDown: (e) => {
150
+ return getNextElement("next", e);
151
+ },
152
+ ArrowUp: (e) => {
153
+ return getNextElement("prev", e);
154
+ }
155
+ },
156
+ allowRepeats: true
157
+ });
158
158
  let groupName = $390e54f620492c70$export$f680877a34711e37(name);
159
159
  $640b6b92b30fd41a$export$37b65e5b5444d35c.set(state, {
160
160
  name: groupName,
@@ -166,7 +166,7 @@ function $eecdee08e0d8a75f$export$62b9571f283ff5c2(props, state) {
166
166
  return {
167
167
  radioGroupProps: $bbaa08b3cd72f041$export$9d1611c77c2fe928(domProps, {
168
168
  role: "radiogroup",
169
- onKeyDown,
169
+ ...keyboardProps,
170
170
  "aria-invalid": state.isInvalid || void 0,
171
171
  "aria-errormessage": props["aria-errormessage"],
172
172
  "aria-readonly": isReadOnly || void 0,
@@ -1,15 +1,15 @@
1
- import { c as $7230ffa83bc0c2cf$export$fabf2dc03a41866e, g as $a4e76a5424781910$export$e08e3b67e392101e, i as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$df3a06d6289f983e, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$ef03459518577ad4, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a } from "./utils-Czi6q2Ub.js";
2
- import { d as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useHover-CNsbAR0V.js";
3
- import { n as $4b38b5b75ecc6208$export$698f465ec27e93df } from "./Autocomplete-BUU44AuW.js";
4
- import { t as $cf2482eff2eeeec2$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-Ccm8EL_u.js";
1
+ import { c as $7230ffa83bc0c2cf$export$fabf2dc03a41866e, i as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$df3a06d6289f983e, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$ef03459518577ad4, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a, u as $bbaa08b3cd72f041$export$9d1611c77c2fe928 } from "./utils-ClM91CuL.js";
2
+ import { d as $3e6197669829fe11$export$40bfa8c7b0832715, s as $8296dad1a4c5e0dc$export$8f71654801c2f7cd } from "./useHover-CbyH227W.js";
3
+ import { n as $4b38b5b75ecc6208$export$698f465ec27e93df } from "./Autocomplete-CO9aIsTe.js";
4
+ import { t as $cf2482eff2eeeec2$export$f12b703ca79dfbb1 } from "./useLocalizedStringFormatter-CTCqjYu4.js";
5
5
  import { t as $d7f64c32b702fe2c$export$86427a43e3e48ebb } from "./Hidden-C4Saxkx9.js";
6
6
  import { t as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f } from "./filterDOMProps-CgeMQsGa.js";
7
- import { t as $43a3b93638fe5db9$export$75b6ee27786ba447 } from "./Label-UpU4cKPh.js";
8
- import { t as $7705c033048f6da7$export$24d547caef80ccd1 } from "./Button-_E2Z5G2l.js";
9
- import { n as $efe09c6d1c304b50$export$9afb8bc826b033ea } from "./Text-D4y19vs8.js";
10
- import { n as $1f3c3b1a70cec653$export$ff05c3ac10437e03 } from "./useField-DrfR8j9h.js";
7
+ import { t as $43a3b93638fe5db9$export$75b6ee27786ba447 } from "./Label-C4bJkVti.js";
8
+ import { t as $7705c033048f6da7$export$24d547caef80ccd1 } from "./Button-DO3oQfCq.js";
9
+ import { n as $efe09c6d1c304b50$export$9afb8bc826b033ea } from "./Text-i-ZK4MiL.js";
10
+ import { n as $1f3c3b1a70cec653$export$ff05c3ac10437e03 } from "./useField-B_ibsWst.js";
11
11
  import { t as $cdaed739b1139372$export$c24727297075ec6a } from "./Form-BWMVEpwR.js";
12
- import { a as $3a442827418ebe87$export$f9c6924e160136d1, n as $41fb335299a4a39e$export$37fb8590cf2c088c, t as $054f71d2330da2e3$export$712718f7aec83d5 } from "./useTextField-e8jIFT3s.js";
12
+ import { a as $3a442827418ebe87$export$f9c6924e160136d1, n as $41fb335299a4a39e$export$37fb8590cf2c088c, t as $054f71d2330da2e3$export$712718f7aec83d5 } from "./useTextField-CnTuCBMs.js";
13
13
  import $3ARPR$react, { createContext, useRef } from "react";
14
14
  //#region node_modules/react-aria/dist/private/intl/searchfield/ar-AE.mjs
15
15
  var $144b40583c9847c5$exports = {};
@@ -193,21 +193,23 @@ function $parcel$interopDefault(a) {
193
193
  function $44614525ec969a63$export$9bb30bbe003b82e0(props, state, inputRef) {
194
194
  let stringFormatter = $cf2482eff2eeeec2$export$f12b703ca79dfbb1($parcel$interopDefault($cb1bf3901ab9f046$exports), "@react-aria/searchfield");
195
195
  let { isDisabled, isReadOnly, onSubmit, onClear, type = "search" } = props;
196
- let onKeyDown = (e) => {
197
- const key = e.key;
198
- if (key === "Enter" && (isDisabled || isReadOnly)) e.preventDefault();
199
- if (isDisabled || isReadOnly) return;
200
- if (key === "Enter" && onSubmit) {
201
- e.preventDefault();
202
- onSubmit(state.value);
196
+ let { keyboardProps } = $8296dad1a4c5e0dc$export$8f71654801c2f7cd({
197
+ isDisabled: isDisabled || isReadOnly,
198
+ shortcuts: {
199
+ Enter: () => {
200
+ if (onSubmit) {
201
+ onSubmit(state.value);
202
+ return;
203
+ }
204
+ return false;
205
+ },
206
+ Escape: () => {
207
+ if (state.value === "" && (!inputRef.current || inputRef.current.value === "")) return false;
208
+ state.setValue("");
209
+ onClear?.();
210
+ }
203
211
  }
204
- if (key === "Escape") if (state.value === "" && (!inputRef.current || inputRef.current.value === "")) e.continuePropagation();
205
- else {
206
- e.preventDefault();
207
- state.setValue("");
208
- if (onClear) onClear();
209
- }
210
- };
212
+ });
211
213
  let onClearButtonClick = () => {
212
214
  state.setValue("");
213
215
  if (onClear) onClear();
@@ -219,15 +221,16 @@ function $44614525ec969a63$export$9bb30bbe003b82e0(props, state, inputRef) {
219
221
  ...props,
220
222
  value: state.value,
221
223
  onChange: state.setValue,
222
- onKeyDown: !isReadOnly ? $a4e76a5424781910$export$e08e3b67e392101e(onKeyDown, props.onKeyDown) : props.onKeyDown,
224
+ onKeyDown: props.onKeyDown,
225
+ onKeyUp: props.onKeyUp,
223
226
  type
224
227
  }, inputRef);
225
228
  return {
226
229
  labelProps,
227
- inputProps: {
230
+ inputProps: $bbaa08b3cd72f041$export$9d1611c77c2fe928(keyboardProps, {
228
231
  ...inputProps,
229
232
  defaultValue: void 0
230
- },
233
+ }),
231
234
  clearButtonProps: {
232
235
  "aria-label": stringFormatter.format("Clear search"),
233
236
  excludeFromTabOrder: true,
@@ -1,15 +1,15 @@
1
- import { c as $7230ffa83bc0c2cf$export$fabf2dc03a41866e, i as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$df3a06d6289f983e, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a, u as $bbaa08b3cd72f041$export$9d1611c77c2fe928 } from "./utils-Czi6q2Ub.js";
2
- import { G as $d447af545b77c9f1$export$f21a1ffae260145a, H as $23f2114a1b82827e$export$e58f029f0fbfdb29, R as $1969ac565cfec8d0$export$de79e2c695e052f3, d as $3e6197669829fe11$export$40bfa8c7b0832715, f as $fe16bffc7a557bf0$export$7f54fc3180508a52, i as $d1116acdf220c2da$export$4c014de7c8940b4c, m as $8f5a2122b0992be3$export$8397ddfc504fdb9a, n as $48a7d519b337145d$export$4eaf04e54aa8eed6, s as $8296dad1a4c5e0dc$export$8f71654801c2f7cd, t as $e969f22b6713ca4a$export$ae780daf29e6d456 } from "./useHover-CNsbAR0V.js";
3
- import { t as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7 } from "./I18nProvider-BskRMK8G.js";
1
+ import { c as $7230ffa83bc0c2cf$export$fabf2dc03a41866e, i as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$df3a06d6289f983e, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a, u as $bbaa08b3cd72f041$export$9d1611c77c2fe928 } from "./utils-ClM91CuL.js";
2
+ import { R as $1969ac565cfec8d0$export$de79e2c695e052f3, U as $23f2114a1b82827e$export$e58f029f0fbfdb29, d as $3e6197669829fe11$export$40bfa8c7b0832715, f as $fe16bffc7a557bf0$export$7f54fc3180508a52, i as $d1116acdf220c2da$export$4c014de7c8940b4c, m as $8f5a2122b0992be3$export$8397ddfc504fdb9a, n as $48a7d519b337145d$export$4eaf04e54aa8eed6, q as $d447af545b77c9f1$export$f21a1ffae260145a, s as $8296dad1a4c5e0dc$export$8f71654801c2f7cd, t as $e969f22b6713ca4a$export$ae780daf29e6d456 } from "./useHover-CbyH227W.js";
3
+ import { t as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7 } from "./I18nProvider-R_4IDnf9.js";
4
4
  import { t as $8e9d2fae0ecb9001$export$457c3d6518dd4c6f } from "./filterDOMProps-CgeMQsGa.js";
5
- import { n as $cbf007e418543821$export$b0d6fa1ab32e3295, t as $cbf007e418543821$export$16a4697467175487 } from "./textSelection-B_Nv6Jz3.js";
6
- import { t as $0c4a58759813079a$export$4e328f61c538687f } from "./useFocusRing-CrYHpV7C.js";
7
- import { t as $43a3b93638fe5db9$export$75b6ee27786ba447 } from "./Label-UpU4cKPh.js";
8
- import { t as $0beb20c9744a2065$export$8467354a121f1b9f } from "./useLabel-DuxAjaic.js";
9
- import { t as $bd90acf18e792be6$export$b7a616150fdb9f44 } from "./useNumberFormatter-B0_D7a_o.js";
5
+ import { n as $cbf007e418543821$export$b0d6fa1ab32e3295, t as $cbf007e418543821$export$16a4697467175487 } from "./textSelection-5Qk8tLtm.js";
6
+ import { t as $0c4a58759813079a$export$4e328f61c538687f } from "./useFocusRing-ZXFsftJJ.js";
7
+ import { t as $43a3b93638fe5db9$export$75b6ee27786ba447 } from "./Label-C4bJkVti.js";
8
+ import { t as $0beb20c9744a2065$export$8467354a121f1b9f } from "./useLabel-gfFDE4bn.js";
9
+ import { t as $bd90acf18e792be6$export$b7a616150fdb9f44 } from "./useNumberFormatter-DbAt_fC_.js";
10
10
  import { r as $240e9101ba2842f5$export$cb6e0bb50bc19463, t as $240e9101ba2842f5$export$7d15b64cf5a3a4c4 } from "./number-BeC0ySe4.js";
11
- import { t as $ea3928288112382f$export$439d29a4e110a164 } from "./VisuallyHidden-B_LZ_kn7.js";
12
- import { t as $3274bf1495747a7b$export$5add1d006293d136 } from "./useFormReset-U6c35PHq.js";
11
+ import { t as $ea3928288112382f$export$439d29a4e110a164 } from "./VisuallyHidden-CsM0VnV1.js";
12
+ import { t as $3274bf1495747a7b$export$5add1d006293d136 } from "./useFormReset-DDJhIIfG.js";
13
13
  import $3ARPR$react, { createContext, forwardRef, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
14
14
  //#region node_modules/react-aria/dist/private/interactions/useMove.mjs
15
15
  function $1dfdc54e7eb53ba0$export$36da96379f79f245(props) {
@@ -20,7 +20,7 @@ function $1dfdc54e7eb53ba0$export$36da96379f79f245(props) {
20
20
  id: null
21
21
  });
22
22
  let { addGlobalListener, removeGlobalListener } = $48a7d519b337145d$export$4eaf04e54aa8eed6();
23
- let moveEvent = $fe16bffc7a557bf0$export$7f54fc3180508a52(useCallback((originalEvent, pointerType, deltaX, deltaY) => {
23
+ let move = useCallback((originalEvent, pointerType, deltaX, deltaY) => {
24
24
  if (deltaX === 0 && deltaY === 0) return;
25
25
  if (!state.current.didMove) {
26
26
  state.current.didMove = true;
@@ -47,8 +47,9 @@ function $1dfdc54e7eb53ba0$export$36da96379f79f245(props) {
47
47
  onMoveStart,
48
48
  onMove,
49
49
  state
50
- ]));
51
- let endEvent = $fe16bffc7a557bf0$export$7f54fc3180508a52(useCallback((originalEvent, pointerType) => {
50
+ ]);
51
+ let moveEvent = $fe16bffc7a557bf0$export$7f54fc3180508a52(move);
52
+ let end = useCallback((originalEvent, pointerType) => {
52
53
  $cbf007e418543821$export$b0d6fa1ab32e3295();
53
54
  if (state.current.didMove) onMoveEnd?.({
54
55
  type: "moveend",
@@ -58,7 +59,8 @@ function $1dfdc54e7eb53ba0$export$36da96379f79f245(props) {
58
59
  ctrlKey: originalEvent.ctrlKey,
59
60
  altKey: originalEvent.altKey
60
61
  });
61
- }, [onMoveEnd, state]));
62
+ }, [onMoveEnd, state]);
63
+ let endEvent = $fe16bffc7a557bf0$export$7f54fc3180508a52(end);
62
64
  return { moveProps: useMemo(() => {
63
65
  let moveProps = {};
64
66
  let start = () => {
@@ -203,7 +205,6 @@ function $1dfdc54e7eb53ba0$export$36da96379f79f245(props) {
203
205
  e.preventDefault();
204
206
  e.stopPropagation();
205
207
  triggerKeyboardMove(e, 0, 1);
206
- break;
207
208
  }
208
209
  };
209
210
  return moveProps;
@@ -362,30 +363,36 @@ function $4a5dd96ecb58ab11$export$8d15029008292ae(opts, state) {
362
363
  }, [isFocused, focusInput]);
363
364
  let reverseX = direction === "rtl";
364
365
  let currentPosition = useRef(null);
365
- let { keyboardProps } = $8296dad1a4c5e0dc$export$8f71654801c2f7cd({ onKeyDown(e) {
366
- let { getThumbMaxValue, getThumbMinValue, decrementThumb, incrementThumb, setThumbValue, setThumbDragging, pageSize } = state;
367
- if (!/^(PageUp|PageDown|Home|End)$/.test(e.key)) {
368
- e.continuePropagation();
369
- return;
370
- }
371
- e.preventDefault();
372
- setThumbDragging(index, true);
373
- switch (e.key) {
374
- case "PageUp":
375
- incrementThumb(index, pageSize);
376
- break;
377
- case "PageDown":
378
- decrementThumb(index, pageSize);
379
- break;
380
- case "Home":
381
- setThumbValue(index, getThumbMinValue(index));
382
- break;
383
- case "End":
384
- setThumbValue(index, getThumbMaxValue(index));
385
- break;
386
- }
387
- setThumbDragging(index, false);
388
- } });
366
+ let keyboardUpdate = (cb) => {
367
+ state.setThumbDragging(index, true);
368
+ cb();
369
+ state.setThumbDragging(index, false);
370
+ };
371
+ let { keyboardProps } = $8296dad1a4c5e0dc$export$8f71654801c2f7cd({
372
+ shortcuts: {
373
+ PageUp: () => {
374
+ return keyboardUpdate(() => {
375
+ state.incrementThumb(index, state.pageSize);
376
+ });
377
+ },
378
+ PageDown: () => {
379
+ return keyboardUpdate(() => {
380
+ state.decrementThumb(index, state.pageSize);
381
+ });
382
+ },
383
+ Home: () => {
384
+ return keyboardUpdate(() => {
385
+ state.setThumbValue(index, state.getThumbMinValue(index));
386
+ });
387
+ },
388
+ End: () => {
389
+ return keyboardUpdate(() => {
390
+ state.setThumbValue(index, state.getThumbMaxValue(index));
391
+ });
392
+ }
393
+ },
394
+ allowRepeats: true
395
+ });
389
396
  let { moveProps } = $1dfdc54e7eb53ba0$export$36da96379f79f245({
390
397
  onMoveStart() {
391
398
  currentPosition.current = null;
@@ -397,9 +404,10 @@ function $4a5dd96ecb58ab11$export$8d15029008292ae(opts, state) {
397
404
  let { width, height } = trackRef.current.getBoundingClientRect();
398
405
  let size = isVertical ? height : width;
399
406
  if (currentPosition.current == null) currentPosition.current = getThumbPercent(index) * size;
400
- if (pointerType === "keyboard") if (deltaX > 0 && reverseX || deltaX < 0 && !reverseX || deltaY > 0) decrementThumb(index, shiftKey ? pageSize : step);
401
- else incrementThumb(index, shiftKey ? pageSize : step);
402
- else {
407
+ if (pointerType === "keyboard") {
408
+ if (deltaX > 0 && reverseX || deltaX < 0 && !reverseX || deltaY > 0) decrementThumb(index, shiftKey ? pageSize : step);
409
+ else incrementThumb(index, shiftKey ? pageSize : step);
410
+ } else {
403
411
  let delta = isVertical ? deltaY : deltaX;
404
412
  if (isVertical || reverseX) delta = -delta;
405
413
  currentPosition.current += delta;
@@ -505,7 +513,9 @@ function $d806310b82f07e9d$export$e5fda3247f5d67f9(props) {
505
513
  minValue
506
514
  ]);
507
515
  let restrictValues = useCallback((values) => values?.map((val, idx) => {
508
- return $240e9101ba2842f5$export$cb6e0bb50bc19463(val, idx === 0 ? minValue : values[idx - 1], idx === values.length - 1 ? maxValue : values[idx + 1], step);
516
+ let min = idx === 0 ? minValue : values[idx - 1];
517
+ let max = idx === values.length - 1 ? maxValue : values[idx + 1];
518
+ return $240e9101ba2842f5$export$cb6e0bb50bc19463(val, min, max, step);
509
519
  }), [
510
520
  minValue,
511
521
  maxValue,
@@ -587,7 +597,8 @@ function $d806310b82f07e9d$export$e5fda3247f5d67f9(props) {
587
597
  return Math.round((value - minValue) / step) * step + minValue;
588
598
  }
589
599
  function getPercentValue(percent) {
590
- return $240e9101ba2842f5$export$7d15b64cf5a3a4c4(getRoundedValue(percent * (maxValue - minValue) + minValue), minValue, maxValue);
600
+ const val = percent * (maxValue - minValue) + minValue;
601
+ return $240e9101ba2842f5$export$7d15b64cf5a3a4c4(getRoundedValue(val), minValue, maxValue);
591
602
  }
592
603
  function incrementThumb(index, stepSize = 1) {
593
604
  let s = Math.max(stepSize, step);
@@ -1,4 +1,4 @@
1
- import { n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$df3a06d6289f983e } from "./utils-Czi6q2Ub.js";
1
+ import { n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, o as $7230ffa83bc0c2cf$export$df3a06d6289f983e } from "./utils-ClM91CuL.js";
2
2
  import $3ARPR$react, { createContext, forwardRef } from "react";
3
3
  //#region node_modules/react-aria-components/dist/private/Text.mjs
4
4
  var $efe09c6d1c304b50$export$9afb8bc826b033ea = createContext({});
@@ -1,5 +1,5 @@
1
- import { u as $bbaa08b3cd72f041$export$9d1611c77c2fe928 } from "./utils-Czi6q2Ub.js";
2
- import { n as $2c9edc598a03d523$export$420e68273165f4ec } from "./useFocusRing-CrYHpV7C.js";
1
+ import { u as $bbaa08b3cd72f041$export$9d1611c77c2fe928 } from "./utils-ClM91CuL.js";
2
+ import { n as $2c9edc598a03d523$export$420e68273165f4ec } from "./useFocusRing-ZXFsftJJ.js";
3
3
  import $3ARPR$react, { useMemo, useState } from "react";
4
4
  //#region node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs
5
5
  var $ea3928288112382f$var$styles = {