@marimo-team/islands 0.23.10-dev9 → 0.23.10

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 (188) hide show
  1. package/dist/{ConnectedDataExplorerComponent-CyV83R2m.js → ConnectedDataExplorerComponent-Z3RP7Vmm.js} +31 -31
  2. package/dist/{ErrorBoundary-rULOrC_p.js → ErrorBoundary-DpbaKVv7.js} +1 -1
  3. package/dist/{any-language-editor-CiES2a2h.js → any-language-editor-CAgFD4Kd.js} +20 -20
  4. package/dist/assets/__vite-browser-external-eshhtsgZ.js +1 -0
  5. package/dist/assets/worker-CC0Oul9k.js +73 -0
  6. package/dist/{chat-ui-K84W5ecY.js → chat-ui-C4-GMW9y.js} +77 -77
  7. package/dist/{check-DTbrK0zt.js → check-BCaJeT-J.js} +1 -1
  8. package/dist/{chunk-5FQGJX7Z-BNjes6Yx.js → chunk-5FQGJX7Z-BbqSm5gU.js} +1227 -1222
  9. package/dist/{code-block-37QAKDTI-m92Yc8pv.js → code-block-37QAKDTI-O6IH6wAi.js} +1 -1
  10. package/dist/{code-visibility-v6ucEVUg.js → code-visibility-DrFozVlm.js} +1943 -1223
  11. package/dist/{copy-5jQ_kGE1.js → copy-UqRYxiOg.js} +1 -1
  12. package/dist/dist-7QfXoMdB.js +5 -0
  13. package/dist/{dist-DgnE8F-r.js → dist-A2846XWO.js} +1 -1
  14. package/dist/dist-BEXXyZig.js +5 -0
  15. package/dist/{dist-B3pZ0Ab6.js → dist-BR_gyG9L.js} +3 -3
  16. package/dist/{dist-CcXxepx6.js → dist-BSAt6RhH.js} +27 -27
  17. package/dist/{dist-Bde4a2kU.js → dist-BY018Paw.js} +8 -8
  18. package/dist/dist-BYj57OV4.js +5 -0
  19. package/dist/{dist-CUCNs1ja.js → dist-BaoDKvdy.js} +2 -2
  20. package/dist/{dist-Cy1WxgBD.js → dist-Bf7SHuNp.js} +5 -5
  21. package/dist/{dist-Bz_sYWbr.js → dist-Bk75fBZA.js} +2 -2
  22. package/dist/dist-BlSvQzNr.js +5 -0
  23. package/dist/{dist-C5VC_yzu.js → dist-BzEzfugY.js} +1 -1
  24. package/dist/dist-CCBlxAgS.js +8 -0
  25. package/dist/dist-CIDTVIUf.js +5 -0
  26. package/dist/{dist-CLUtPrdy.js → dist-CIYBwstr.js} +1 -1
  27. package/dist/{dist-BotSqB48.js → dist-C_Y3oV3C.js} +12 -12
  28. package/dist/{dist-BTfv03uy.js → dist-CcWX6tmx.js} +2 -2
  29. package/dist/{dist-BhM8gdSO.js → dist-CoXAujgg.js} +4 -4
  30. package/dist/{dist-4j4c7bjm.js → dist-CpxNdDkw.js} +3 -3
  31. package/dist/dist-CqQyhAM8.js +8 -0
  32. package/dist/dist-CwRu2Xzh.js +5 -0
  33. package/dist/{dist-BcuoonNH.js → dist-CxJDU6Bh.js} +9 -9
  34. package/dist/{dist-DxvORzUR.js → dist-D-W5ny5a.js} +8 -8
  35. package/dist/dist-D8CDTVgf.js +6 -0
  36. package/dist/dist-D8DNB0nO.js +8 -0
  37. package/dist/dist-DL6N_q-A.js +5 -0
  38. package/dist/{dist-BbbIBDiQ.js → dist-DMjWuVs8.js} +1 -1
  39. package/dist/dist-DOFbNV_b.js +8 -0
  40. package/dist/dist-DPrYzMY0.js +6 -0
  41. package/dist/{dist-h2c8sZvT.js → dist-DZORgqKY.js} +1 -1
  42. package/dist/{dist-B3P2fFpz.js → dist-DZo4nSS0.js} +14 -14
  43. package/dist/{dist-D4CewLk6.js → dist-Dax--nl9.js} +1 -1
  44. package/dist/{dist-DRfcqpxJ.js → dist-DgGbNavJ.js} +2 -2
  45. package/dist/{dist-C1BYNeCR.js → dist-Dk6PV_d3.js} +10 -10
  46. package/dist/{dist-fQ0ViXGs.js → dist-Dv_Y15yk.js} +107 -107
  47. package/dist/{dist-Bfwsv11D.js → dist-DyyjKEYf.js} +2 -2
  48. package/dist/{dist-p2qyWijU.js → dist-GZXUmt0b.js} +2 -2
  49. package/dist/{dist-CLJWPTX2.js → dist-LTU8Hdvn.js} +3 -3
  50. package/dist/{dist-DqAWR3CS.js → dist-M9Vag9Y0.js} +20 -20
  51. package/dist/{dist-DNdhYsgW.js → dist-U4F-tbMs.js} +79 -62
  52. package/dist/{dist-RqXTaiir.js → dist-abid3KgM.js} +11 -11
  53. package/dist/dist-cdmMjgsn.js +5 -0
  54. package/dist/dist-hT4QzYX-.js +1247 -0
  55. package/dist/{dist-luvabDEB.js → dist-t9Kf7xqC.js} +2 -2
  56. package/dist/{error-banner-5bz0L9hS.js → error-banner-CJXYJ6Sb.js} +11 -6
  57. package/dist/esm-BaH2eg5-.js +1171 -0
  58. package/dist/{esm-Duie8iU-.js → esm-ga2Bf3O2.js} +43 -43
  59. package/dist/{extends-CkydH1Q5.js → extends-D_hDsj6R.js} +4 -4
  60. package/dist/files/wasm-intro.py +11 -8
  61. package/dist/{formats-DHxc-FdY.js → formats-C4wO47tk.js} +1 -1
  62. package/dist/{glide-data-editor-CgIxTzAP.js → glide-data-editor-BPkCPs7L.js} +255 -255
  63. package/dist/{html-to-image-B93KtAVY.js → html-to-image-BwfcJJxA.js} +2412 -2282
  64. package/dist/{input-_2sjvfne.js → input-OdWHkobi.js} +263 -245
  65. package/dist/{label-LWtdw5i8.js → label-CC4ytI1X.js} +1 -1
  66. package/dist/main.js +7630 -7558
  67. package/dist/{mermaid-4DMBBIKO-DIdL224_.js → mermaid-4DMBBIKO-Eg3D4FVz.js} +1 -1
  68. package/dist/{mermaid-lXOw5Py9.js → mermaid-BotvIKg9.js} +4 -4
  69. package/dist/{process-output-BOXi9fnS.js → process-output-DsloEDna.js} +3 -3
  70. package/dist/{reveal-component-gRcjQbNL.js → reveal-component-3YQBHWuD.js} +698 -620
  71. package/dist/{spec-B96zNUEA.js → spec-X7FwLJni.js} +4 -4
  72. package/dist/{strings-Bu3vlb6W.js → strings-J57tzLr3.js} +47 -46
  73. package/dist/style.css +1 -1
  74. package/dist/{toDate-x-WRDCH7.js → toDate-d8RCRrRd.js} +2 -2
  75. package/dist/{tooltip-C5FYOpQc.js → tooltip-DpcyNkQ2.js} +2 -2
  76. package/dist/{types-CVvp1fKr.js → types-ChtMFmZ2.js} +1 -1
  77. package/dist/{useAsyncData-iRgKDT5s.js → useAsyncData-PonK__yh.js} +1 -1
  78. package/dist/{useDateFormatter-BA4FCquG.js → useDateFormatter-QB-3MpYr.js} +2 -2
  79. package/dist/{useDeepCompareMemoize-CkQ57VS2.js → useDeepCompareMemoize-D3NGWke6.js} +1 -1
  80. package/dist/{useLifecycle-BBO9PIph.js → useLifecycle-00mO3OSS.js} +2 -2
  81. package/dist/{useTheme-DHIrRQOe.js → useTheme-DEhDzATN.js} +1 -1
  82. package/dist/{vega-component-Dq-SH463.js → vega-component-DGPUhbDs.js} +8 -8
  83. package/dist/{zod-CoBiJ5v4.js → zod-aLSua2NL.js} +24 -23
  84. package/package.json +4 -3
  85. package/src/__tests__/setup.ts +16 -0
  86. package/src/components/chat/chat-display.tsx +2 -2
  87. package/src/components/data-table/TableBottomBar.tsx +1 -15
  88. package/src/components/data-table/TableTopBar.tsx +8 -13
  89. package/src/components/data-table/__tests__/TableBottomBar.test.tsx +6 -12
  90. package/src/components/data-table/__tests__/column-visibility-dropdown.test.tsx +227 -0
  91. package/src/components/data-table/column-visibility-dropdown.tsx +204 -0
  92. package/src/components/data-table/data-table.tsx +1 -1
  93. package/src/components/data-table/filter-by-values-picker.tsx +39 -17
  94. package/src/components/data-table/filter-pills.tsx +1 -1
  95. package/src/components/datasources/__tests__/filter-empty.test.ts +183 -0
  96. package/src/components/datasources/datasources.tsx +92 -3
  97. package/src/components/editor/cell/code/cell-editor.tsx +70 -32
  98. package/src/components/editor/cell/code/code-placeholder.css +18 -0
  99. package/src/components/editor/cell/code/code-placeholder.tsx +47 -0
  100. package/src/components/editor/cell/code/language-toggle.tsx +7 -1
  101. package/src/components/editor/chrome/wrapper/app-chrome.tsx +97 -52
  102. package/src/components/editor/chrome/wrapper/lazy-panels.ts +91 -0
  103. package/src/components/editor/chrome/wrapper/sidebar.tsx +2 -0
  104. package/src/components/editor/connections/storage/__tests__/__snapshots__/as-code.test.ts.snap +9 -2
  105. package/src/components/editor/connections/storage/__tests__/as-code.test.ts +62 -27
  106. package/src/components/editor/connections/storage/add-storage-form.tsx +5 -1
  107. package/src/components/editor/connections/storage/as-code.ts +20 -6
  108. package/src/components/editor/documentation.css +35 -0
  109. package/src/components/editor/file-tree/file-explorer.tsx +8 -18
  110. package/src/components/editor/file-tree/tree-actions.tsx +46 -1
  111. package/src/components/editor/notebook-cell.tsx +3 -3
  112. package/src/components/editor/renderers/slides-layout/__tests__/plugin.test.ts +20 -0
  113. package/src/components/editor/renderers/slides-layout/types.ts +1 -0
  114. package/src/components/markdown/__tests__/markdown-renderer.test.tsx +43 -0
  115. package/src/components/markdown/markdown-renderer.tsx +24 -1
  116. package/src/components/slides/__tests__/minimap-actions.test.tsx +166 -0
  117. package/src/components/slides/__tests__/reveal-component.test.ts +425 -0
  118. package/src/components/slides/minimap.tsx +127 -10
  119. package/src/components/slides/reveal-component.tsx +287 -61
  120. package/src/components/slides/slide-cell-view.tsx +26 -2
  121. package/src/components/slides/slide-form.tsx +26 -4
  122. package/src/components/storage/__tests__/storage-inspector.test.ts +180 -0
  123. package/src/components/storage/storage-inspector.tsx +535 -81
  124. package/src/components/ui/combobox.tsx +51 -32
  125. package/src/components/ui/number-field.tsx +5 -1
  126. package/src/components/ui/reorderable-list.tsx +13 -0
  127. package/src/components/ui/select-core/__tests__/use-select-list.test.ts +294 -0
  128. package/src/components/ui/select-core/__tests__/utils.test.ts +222 -0
  129. package/src/components/ui/select-core/index.ts +16 -0
  130. package/src/components/ui/select-core/option-row.tsx +33 -0
  131. package/src/components/ui/select-core/render-slot.ts +20 -0
  132. package/src/components/ui/select-core/select-list.tsx +248 -0
  133. package/src/components/ui/select-core/types.ts +44 -0
  134. package/src/components/ui/select-core/use-select-list.ts +347 -0
  135. package/src/components/ui/select-core/utils.ts +121 -0
  136. package/src/components/ui/toast.tsx +1 -0
  137. package/src/core/cells/__tests__/document-changes.test.ts +2 -2
  138. package/src/core/cells/__tests__/focus.test.ts +45 -2
  139. package/src/core/cells/focus.ts +1 -1
  140. package/src/core/cells/scrollCellIntoView.ts +4 -0
  141. package/src/core/cells/utils.ts +1 -1
  142. package/src/core/codemirror/__tests__/editor-mount-scheduler.test.ts +143 -0
  143. package/src/core/codemirror/copilot/getCodes.ts +3 -1
  144. package/src/core/codemirror/editor-mount-scheduler.ts +101 -0
  145. package/src/core/codemirror/language/languages/python.ts +2 -0
  146. package/src/core/codemirror/language/languages/sql/utils.ts +3 -1
  147. package/src/core/codemirror/lsp/__tests__/markdown-renderer.test.ts +41 -0
  148. package/src/core/codemirror/lsp/markdown-renderer.ts +59 -0
  149. package/src/core/datasets/data-source-connections.ts +2 -0
  150. package/src/core/errors/errors.ts +1 -1
  151. package/src/core/storage/__tests__/state.test.ts +49 -0
  152. package/src/core/storage/__tests__/useStorageEntries.test.tsx +199 -3
  153. package/src/core/storage/state.ts +124 -13
  154. package/src/core/storage/types.ts +6 -0
  155. package/src/core/wasm/worker/bootstrap.ts +12 -4
  156. package/src/plugins/core/__test__/registerReactComponent.test.ts +96 -0
  157. package/src/plugins/core/registerReactComponent.tsx +42 -10
  158. package/src/plugins/impl/MultiselectPlugin.tsx +19 -142
  159. package/src/plugins/impl/SearchableSelect.tsx +16 -97
  160. package/src/plugins/impl/SliderPlugin.tsx +132 -18
  161. package/src/plugins/impl/__tests__/DropdownPlugin.test.tsx +5 -2
  162. package/src/plugins/impl/__tests__/MultiSelectPlugin.test.ts +1 -1
  163. package/src/plugins/impl/__tests__/SliderPlugin.test.tsx +278 -8
  164. package/src/utils/__tests__/numbers.test.ts +20 -0
  165. package/src/utils/errors.ts +9 -0
  166. package/src/utils/lazy.ts +6 -1
  167. package/src/utils/numbers.ts +27 -0
  168. package/src/utils/schedule-task.ts +71 -0
  169. package/dist/assets/__vite-browser-external-Ci2ZQfXU.js +0 -1
  170. package/dist/assets/worker-ip3AI_sN.js +0 -73
  171. package/dist/dist-0Fif7jnk.js +0 -5
  172. package/dist/dist-B5h_9sHB.js +0 -6
  173. package/dist/dist-B9M6R5ye.js +0 -5
  174. package/dist/dist-BCt3tnck.js +0 -8
  175. package/dist/dist-BUIJwMwn.js +0 -8
  176. package/dist/dist-BpquMd3k.js +0 -5
  177. package/dist/dist-BzJsqYfz.js +0 -5
  178. package/dist/dist-CA5ELXAf.js +0 -6
  179. package/dist/dist-CLBRs6Uv.js +0 -5
  180. package/dist/dist-CStVCMbq.js +0 -5
  181. package/dist/dist-CZRIEY3Y.js +0 -8
  182. package/dist/dist-CuUHbFD0.js +0 -5
  183. package/dist/dist-DV7Iabxb.js +0 -8
  184. package/dist/dist-DhHh0jLg.js +0 -1247
  185. package/dist/dist-DuEeHMvL.js +0 -5
  186. package/dist/esm-CCuYCd3R.js +0 -1171
  187. package/src/plugins/impl/multiselectFilterFn.tsx +0 -22
  188. /package/src/components/{data-table → ui}/value-chips.tsx +0 -0
@@ -6,15 +6,15 @@ import { s as __toESM } from "./chunk-BNovOVIE.js";
6
6
  import { _ as Logger, d as createSlot, g as cn, h as Events, m as useComposedRefs, p as composeRefs } from "./button-C5K9fIPF.js";
7
7
  import { t as require_react } from "./react-DA-nE2FX.js";
8
8
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
9
- import { a as createPopperScope, i as Root2$1, n as Arrow, r as Content, t as Anchor, u as createLucideIcon } from "./dist-C1BYNeCR.js";
10
- import { t as Check } from "./check-DTbrK0zt.js";
11
- import { C as $a916eb452884faea$export$b7a616150fdb9f44, F as X, I as ChevronUp, L as ChevronDown, N as useDirection, O as $b5e257d569688ac6$export$619500959fc48b26, P as createCollection, T as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, _ as menuItemVariants, b as menuSubTriggerVariants, g as menuControlVariants, h as menuControlCheckVariants, m as menuContentCommon, v as menuLabelVariants, w as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, y as menuSeparatorVariants } from "./strings-Bu3vlb6W.js";
9
+ import { a as createPopperScope, i as Root2$1, n as Arrow, r as Content, t as Anchor, u as createLucideIcon } from "./dist-Dk6PV_d3.js";
10
+ import { t as Check } from "./check-BCaJeT-J.js";
11
+ import { E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, F as createCollection, I as X, L as ChevronUp, P as useDirection, R as ChevronDown, T as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, _ as menuControlVariants, b as menuSeparatorVariants, g as menuControlCheckVariants, h as menuContentCommon, k as $b5e257d569688ac6$export$619500959fc48b26, m as MenuShortcut, v as menuItemVariants, w as $a916eb452884faea$export$b7a616150fdb9f44, x as menuSubTriggerVariants, y as menuLabelVariants } from "./strings-J57tzLr3.js";
12
12
  import { n as clsx_default } from "./clsx-CIWA5tNO.js";
13
13
  import { t as require_react_dom } from "./react-dom-BTJzcVJ9.js";
14
14
  import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
15
- import { $ as StyleNamespace, X as withFullScreenAsRoot, Y as MAX_HEIGHT_OFFSET, Z as withSmartCollisionBoundary, _t as Primitive, at as FocusScope, dt as Presence, et as hideOthers, ft as useControllableState, gt as createContextScope, it as Portal, lt as useCallbackRef, mt as composeEventHandlers, rt as useFocusGuards, st as DismissableLayer, tt as Combination_default, ut as useId, vt as dispatchDiscreteCustomEvent } from "./zod-CoBiJ5v4.js";
15
+ import { Q as withSmartCollisionBoundary, Y as MAX_HEIGHT_OFFSET, Z as withFullScreenAsRoot, _t as createContextScope, at as Portal, ct as DismissableLayer, dt as useId, et as StyleNamespace, ft as Presence, ht as composeEventHandlers, it as useFocusGuards, nt as Combination_default, ot as FocusScope, pt as useControllableState, tt as hideOthers, ut as useCallbackRef, vt as Primitive, yt as dispatchDiscreteCustomEvent } from "./zod-aLSua2NL.js";
16
16
  import { i as debounce_default } from "./constants-T20xxyNf.js";
17
- import { T as useEvent_default } from "./useTheme-DHIrRQOe.js";
17
+ import { T as useEvent_default } from "./useTheme-DEhDzATN.js";
18
18
  import { t as memoizeLastValue } from "./once-DPuqGUeo.js";
19
19
  var ChevronRight = createLucideIcon("chevron-right", [["path", {
20
20
  d: "m9 18 6-6-6-6",
@@ -2611,12 +2611,12 @@ function $de67e98908f0c6ee$export$7f629e9dc1ecf37c(e4) {
2611
2611
  ]), y = (0, import_react.useMemo)(() => v.resolvedOptions(), [v]), b = (0, import_react.useCallback)((e5) => isNaN(e5) || e5 === null ? "" : v.format(e5), [v]), x = $e5be200c675c3b3a$export$fc1a364ae1f3ff10({
2612
2612
  ...e4,
2613
2613
  value: d
2614
- }), S = r !== void 0 && !isNaN(r) ? r : 1;
2615
- y.style === "percent" && (r === void 0 || isNaN(r)) && (S = 0.01);
2616
- let [C, w] = (0, import_react.useState)(d), [T, E] = (0, import_react.useState)(c), [D, O] = (0, import_react.useState)(i);
2617
- (!Object.is(d, C) || c !== T || i !== D) && (h(b(d)), w(d), E(c), O(i));
2618
- let k = (0, import_react.useMemo)(() => g.parse(m), [g, m]), j = (e5) => {
2619
- let i2 = e5 === void 0 ? m : e5, o2 = k;
2614
+ }), C = r !== void 0 && !isNaN(r) ? r : 1;
2615
+ y.style === "percent" && (r === void 0 || isNaN(r)) && (C = 0.01);
2616
+ let [w, T] = (0, import_react.useState)(d), [E, D] = (0, import_react.useState)(c), [O, k] = (0, import_react.useState)(i);
2617
+ (!Object.is(d, w) || c !== E || i !== O) && (h(b(d)), T(d), D(c), k(i));
2618
+ let A = (0, import_react.useMemo)(() => g.parse(m), [g, m]), j = (e5) => {
2619
+ let i2 = e5 === void 0 ? m : e5, o2 = A;
2620
2620
  if (e5 !== void 0 && (o2 = g.parse(i2)), !i2.length) {
2621
2621
  f(NaN), h(a === void 0 ? "" : b(d));
2622
2622
  return;
@@ -2628,11 +2628,11 @@ function $de67e98908f0c6ee$export$7f629e9dc1ecf37c(e4) {
2628
2628
  let s2;
2629
2629
  s2 = r === void 0 || isNaN(r) ? $9446cca9a3875146$export$7d15b64cf5a3a4c4(o2, t, n) : $9446cca9a3875146$export$cb6e0bb50bc19463(o2, t, n, r), s2 = g.parse(b(s2)), f(s2), h(b(a === void 0 ? s2 : d)), x.commitValidation();
2630
2630
  }, M = (e5, r2 = 0) => {
2631
- let i2 = k;
2632
- if (isNaN(i2)) return $9446cca9a3875146$export$cb6e0bb50bc19463(isNaN(r2) ? 0 : r2, t, n, S);
2631
+ let i2 = A;
2632
+ if (isNaN(i2)) return $9446cca9a3875146$export$cb6e0bb50bc19463(isNaN(r2) ? 0 : r2, t, n, C);
2633
2633
  {
2634
- let r3 = $9446cca9a3875146$export$cb6e0bb50bc19463(i2, t, n, S);
2635
- return e5 === "+" && r3 > i2 || e5 === "-" && r3 < i2 ? r3 : $9446cca9a3875146$export$cb6e0bb50bc19463($de67e98908f0c6ee$var$handleDecimalOperation(e5, i2, S), t, n, S);
2634
+ let r3 = $9446cca9a3875146$export$cb6e0bb50bc19463(i2, t, n, C);
2635
+ return e5 === "+" && r3 > i2 || e5 === "-" && r3 < i2 ? r3 : $9446cca9a3875146$export$cb6e0bb50bc19463($de67e98908f0c6ee$var$handleDecimalOperation(e5, i2, C), t, n, C);
2636
2636
  }
2637
2637
  }, N = () => {
2638
2638
  let e5 = M("+", t);
@@ -2641,23 +2641,23 @@ function $de67e98908f0c6ee$export$7f629e9dc1ecf37c(e4) {
2641
2641
  let e5 = M("-", n);
2642
2642
  e5 === d && h(b(e5)), f(e5), x.commitValidation();
2643
2643
  }, F = () => {
2644
- n != null && (f($9446cca9a3875146$export$cb6e0bb50bc19463(n, t, n, S)), x.commitValidation());
2644
+ n != null && (f($9446cca9a3875146$export$cb6e0bb50bc19463(n, t, n, C)), x.commitValidation());
2645
2645
  }, I = () => {
2646
2646
  t != null && (f(t), x.commitValidation());
2647
- }, L = (0, import_react.useMemo)(() => !l && !u && (isNaN(k) || n === void 0 || isNaN(n) || $9446cca9a3875146$export$cb6e0bb50bc19463(k, t, n, S) > k || $de67e98908f0c6ee$var$handleDecimalOperation("+", k, S) <= n), [
2647
+ }, L = (0, import_react.useMemo)(() => !l && !u && (isNaN(A) || n === void 0 || isNaN(n) || $9446cca9a3875146$export$cb6e0bb50bc19463(A, t, n, C) > A || $de67e98908f0c6ee$var$handleDecimalOperation("+", A, C) <= n), [
2648
2648
  l,
2649
2649
  u,
2650
2650
  t,
2651
2651
  n,
2652
- S,
2653
- k
2654
- ]), R = (0, import_react.useMemo)(() => !l && !u && (isNaN(k) || t === void 0 || isNaN(t) || $9446cca9a3875146$export$cb6e0bb50bc19463(k, t, n, S) < k || $de67e98908f0c6ee$var$handleDecimalOperation("-", k, S) >= t), [
2652
+ C,
2653
+ A
2654
+ ]), R = (0, import_react.useMemo)(() => !l && !u && (isNaN(A) || t === void 0 || isNaN(t) || $9446cca9a3875146$export$cb6e0bb50bc19463(A, t, n, C) < A || $de67e98908f0c6ee$var$handleDecimalOperation("-", A, C) >= t), [
2655
2655
  l,
2656
2656
  u,
2657
2657
  t,
2658
2658
  n,
2659
- S,
2660
- k
2659
+ C,
2660
+ A
2661
2661
  ]), z = (e5) => g.isValidPartialNumber(e5, t, n);
2662
2662
  return {
2663
2663
  ...x,
@@ -2670,7 +2670,7 @@ function $de67e98908f0c6ee$export$7f629e9dc1ecf37c(e4) {
2670
2670
  canDecrement: R,
2671
2671
  minValue: t,
2672
2672
  maxValue: n,
2673
- numberValue: k,
2673
+ numberValue: A,
2674
2674
  defaultNumberValue: isNaN(o) ? p : o,
2675
2675
  setNumberValue: f,
2676
2676
  setInputValue: h,
@@ -3273,57 +3273,57 @@ function $parcel$interopDefault(e4) {
3273
3273
  }
3274
3274
  function $81397a9303501bda$export$23f548e970bdf099(e4, t, n) {
3275
3275
  let { id: r, decrementAriaLabel: i, incrementAriaLabel: a, isDisabled: o, isReadOnly: s, isRequired: c, minValue: l, maxValue: u, autoFocus: d, label: f, formatOptions: p, onBlur: m = () => {
3276
- }, onFocus: h, onFocusChange: _, onKeyDown: v, onKeyUp: y, description: b, errorMessage: x, isWheelDisabled: S, ...C } = e4, { increment: w, incrementToMax: T, decrement: E, decrementToMin: D, numberValue: O, inputValue: k, commit: A, commitValidation: j } = t, M = $fca6afa0e843324b$export$f12b703ca79dfbb1($parcel$interopDefault($280a227d7cb94b92$exports), "@react-aria/numberfield"), N = (0, import_react.useCallback)(() => {
3276
+ }, onFocus: h, onFocusChange: g, onKeyDown: _, onKeyUp: v, description: y, errorMessage: b, isWheelDisabled: x, ...S } = e4, { increment: C, incrementToMax: w, decrement: T, decrementToMin: E, numberValue: D, inputValue: O, commit: k, commitValidation: j } = t, M = $fca6afa0e843324b$export$f12b703ca79dfbb1($parcel$interopDefault($280a227d7cb94b92$exports), "@react-aria/numberfield"), N = (0, import_react.useCallback)(() => {
3277
3277
  var _a2, _b, _c;
3278
3278
  let e5 = ((_a2 = n.current) == null ? void 0 : _a2.value) ?? "";
3279
3279
  (0, import_react_dom.flushSync)(() => {
3280
- A();
3280
+ k();
3281
3281
  }), ((_b = n.current) == null ? void 0 : _b.value) !== e5 && $319e236875307eab$export$a9b970dcc4ae71a9(((_c = n.current) == null ? void 0 : _c.value) ?? "", "assertive");
3282
- }, [A, n]), P = $bdb11010cef70236$export$f680877a34711e37(r), { focusProps: F } = $a1ea59d68270f0dd$export$f8168d8dd8fd66e6({ onBlur() {
3282
+ }, [k, n]), P = $bdb11010cef70236$export$f680877a34711e37(r), { focusProps: F } = $a1ea59d68270f0dd$export$f8168d8dd8fd66e6({ onBlur() {
3283
3283
  N();
3284
3284
  } }), I = $a916eb452884faea$export$b7a616150fdb9f44(p), L = (0, import_react.useMemo)(() => I.resolvedOptions(), [I]), R = $a916eb452884faea$export$b7a616150fdb9f44({
3285
3285
  ...p,
3286
3286
  currencySign: void 0
3287
- }), { spinButtonProps: z, incrementButtonProps: Ku, decrementButtonProps: B } = $d2e8511e6f209edf$export$e908e06f4b8e3402({
3287
+ }), { spinButtonProps: z, incrementButtonProps: Zu, decrementButtonProps: B } = $d2e8511e6f209edf$export$e908e06f4b8e3402({
3288
3288
  isDisabled: o,
3289
3289
  isReadOnly: s,
3290
3290
  isRequired: c,
3291
3291
  maxValue: u,
3292
3292
  minValue: l,
3293
- onIncrement: w,
3294
- onIncrementToMax: T,
3295
- onDecrement: E,
3296
- onDecrementToMin: D,
3297
- value: O,
3298
- textValue: (0, import_react.useMemo)(() => isNaN(O) ? "" : R.format(O), [R, O])
3299
- }), [qu, Ju] = (0, import_react.useState)(false), { focusWithinProps: Yu } = $9ab94262bd0047c7$export$420e68273165f4ec({
3293
+ onIncrement: C,
3294
+ onIncrementToMax: w,
3295
+ onDecrement: T,
3296
+ onDecrementToMin: E,
3297
+ value: D,
3298
+ textValue: (0, import_react.useMemo)(() => isNaN(D) ? "" : R.format(D), [R, D])
3299
+ }), [Qu, $u] = (0, import_react.useState)(false), { focusWithinProps: ed } = $9ab94262bd0047c7$export$420e68273165f4ec({
3300
3300
  isDisabled: o,
3301
- onFocusWithinChange: Ju
3301
+ onFocusWithinChange: $u
3302
3302
  });
3303
3303
  $7d0a636d7a4dcefd$export$2123ff2b87c81ca({
3304
3304
  onScroll: (0, import_react.useCallback)((e5) => {
3305
- Math.abs(e5.deltaY) <= Math.abs(e5.deltaX) || (e5.deltaY > 0 ? w() : e5.deltaY < 0 && E());
3306
- }, [E, w]),
3307
- isDisabled: S || o || s || !qu
3305
+ Math.abs(e5.deltaY) <= Math.abs(e5.deltaX) || (e5.deltaY > 0 ? C() : e5.deltaY < 0 && T());
3306
+ }, [T, C]),
3307
+ isDisabled: x || o || s || !Qu
3308
3308
  }, n);
3309
3309
  let V = (L.maximumFractionDigits ?? 0) > 0, H = t.minValue === void 0 || isNaN(t.minValue) || t.minValue < 0, U = "numeric";
3310
3310
  $c87311424ea30a05$export$186c6964ca17d99() ? H ? U = "text" : V && (U = "decimal") : $c87311424ea30a05$export$a11b0059900ceec8() && (H ? U = "numeric" : V && (U = "decimal"));
3311
- let Xu = (e5) => {
3311
+ let td = (e5) => {
3312
3312
  t.validate(e5) && t.setInputValue(e5);
3313
- }, Zu = (t2) => {
3313
+ }, nd = (t2) => {
3314
3314
  var _a2;
3315
3315
  var n2;
3316
3316
  (n2 = e4.onPaste) == null || n2.call(e4, t2);
3317
3317
  let r2 = $d4ee10de306f2510$export$e58f029f0fbfdb29(t2);
3318
3318
  if (r2 && (r2.selectionEnd ?? -1) - (r2.selectionStart ?? 0) === r2.value.length) {
3319
3319
  var i2, a2;
3320
- t2.preventDefault(), A(((a2 = t2.clipboardData) == null || (i2 = a2.getData) == null ? void 0 : (_a2 = i2.call(a2, "text/plain")) == null ? void 0 : _a2.trim()) ?? "");
3320
+ t2.preventDefault(), k(((a2 = t2.clipboardData) == null || (i2 = a2.getData) == null ? void 0 : (_a2 = i2.call(a2, "text/plain")) == null ? void 0 : _a2.trim()) ?? "");
3321
3321
  }
3322
- }, Qu = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(e4), W = (0, import_react.useCallback)((e5) => {
3323
- e5.nativeEvent.isComposing || (e5.key === "Enter" ? (A(), j()) : e5.continuePropagation());
3324
- }, [A, j]), { isInvalid: G, validationErrors: $u, validationDetails: ed } = t.displayValidation, { labelProps: K, inputProps: td, descriptionProps: nd, errorMessageProps: rd } = $d841c8010a73d545$export$4f384c9210e583c3({
3325
- ...C,
3326
- ...Qu,
3322
+ }, rd = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(e4), W = (0, import_react.useCallback)((e5) => {
3323
+ e5.nativeEvent.isComposing || (e5.key === "Enter" ? (k(), j()) : e5.continuePropagation());
3324
+ }, [k, j]), { isInvalid: G, validationErrors: id, validationDetails: ad } = t.displayValidation, { labelProps: K, inputProps: od, descriptionProps: sd, errorMessageProps: cd } = $d841c8010a73d545$export$4f384c9210e583c3({
3325
+ ...S,
3326
+ ...rd,
3327
3327
  name: void 0,
3328
3328
  form: void 0,
3329
3329
  label: f,
@@ -3333,7 +3333,7 @@ function $81397a9303501bda$export$23f548e970bdf099(e4, t, n) {
3333
3333
  isRequired: c,
3334
3334
  validate: void 0,
3335
3335
  [$e5be200c675c3b3a$export$a763b9476acd3eb]: t,
3336
- value: k,
3336
+ value: O,
3337
3337
  defaultValue: "!",
3338
3338
  autoComplete: "off",
3339
3339
  "aria-label": e4["aria-label"] || void 0,
@@ -3341,18 +3341,18 @@ function $81397a9303501bda$export$23f548e970bdf099(e4, t, n) {
3341
3341
  id: P,
3342
3342
  type: "text",
3343
3343
  inputMode: U,
3344
- onChange: Xu,
3344
+ onChange: td,
3345
3345
  onBlur: m,
3346
3346
  onFocus: h,
3347
- onFocusChange: _,
3348
- onKeyDown: (0, import_react.useMemo)(() => $ff5963eb1fccf552$export$e08e3b67e392101e(W, v), [W, v]),
3349
- onKeyUp: y,
3350
- onPaste: Zu,
3351
- description: b,
3352
- errorMessage: x
3347
+ onFocusChange: g,
3348
+ onKeyDown: (0, import_react.useMemo)(() => $ff5963eb1fccf552$export$e08e3b67e392101e(W, _), [W, _]),
3349
+ onKeyUp: v,
3350
+ onPaste: nd,
3351
+ description: y,
3352
+ errorMessage: b
3353
3353
  }, t, n);
3354
3354
  $99facab73266f662$export$5add1d006293d136(n, t.defaultNumberValue, t.setNumberValue);
3355
- let q = $3ef42575df84b30b$export$9d1611c77c2fe928(z, F, td, {
3355
+ let q = $3ef42575df84b30b$export$9d1611c77c2fe928(z, F, od, {
3356
3356
  role: null,
3357
3357
  "aria-roledescription": $c87311424ea30a05$export$fedb369cb70207f1() ? null : M.format("numberField"),
3358
3358
  "aria-valuemax": null,
@@ -3368,7 +3368,7 @@ function $81397a9303501bda$export$23f548e970bdf099(e4, t, n) {
3368
3368
  $d4ee10de306f2510$export$cd4e5573fbe2b576() !== n.current && (e5.pointerType === "mouse" ? (t2 = n.current) == null || t2.focus() : e5.target.focus());
3369
3369
  }, Y = e4["aria-label"] || (typeof e4.label == "string" ? e4.label : ""), Z;
3370
3370
  Y || (Z = e4.label == null ? e4["aria-labelledby"] : K.id);
3371
- let Q = $bdb11010cef70236$export$f680877a34711e37(), $ = $bdb11010cef70236$export$f680877a34711e37(), id = $3ef42575df84b30b$export$9d1611c77c2fe928(Ku, {
3371
+ let Q = $bdb11010cef70236$export$f680877a34711e37(), $ = $bdb11010cef70236$export$f680877a34711e37(), ld = $3ef42575df84b30b$export$9d1611c77c2fe928(Zu, {
3372
3372
  "aria-label": a || M.format("increase", { fieldLabel: Y }).trim(),
3373
3373
  id: Z && !a ? Q : null,
3374
3374
  "aria-labelledby": Z && !a ? `${Q} ${Z}` : null,
@@ -3378,7 +3378,7 @@ function $81397a9303501bda$export$23f548e970bdf099(e4, t, n) {
3378
3378
  allowFocusWhenDisabled: true,
3379
3379
  isDisabled: !t.canIncrement,
3380
3380
  onPressStart: J
3381
- }), ad = $3ef42575df84b30b$export$9d1611c77c2fe928(B, {
3381
+ }), ud = $3ef42575df84b30b$export$9d1611c77c2fe928(B, {
3382
3382
  "aria-label": i || M.format("decrease", { fieldLabel: Y }).trim(),
3383
3383
  id: Z && !i ? $ : null,
3384
3384
  "aria-labelledby": Z && !i ? `${$} ${Z}` : null,
@@ -3391,20 +3391,20 @@ function $81397a9303501bda$export$23f548e970bdf099(e4, t, n) {
3391
3391
  });
3392
3392
  return {
3393
3393
  groupProps: {
3394
- ...Yu,
3394
+ ...ed,
3395
3395
  role: "group",
3396
3396
  "aria-disabled": o,
3397
3397
  "aria-invalid": G ? "true" : void 0
3398
3398
  },
3399
3399
  labelProps: K,
3400
3400
  inputProps: q,
3401
- incrementButtonProps: id,
3402
- decrementButtonProps: ad,
3403
- errorMessageProps: rd,
3404
- descriptionProps: nd,
3401
+ incrementButtonProps: ld,
3402
+ decrementButtonProps: ud,
3403
+ errorMessageProps: cd,
3404
+ descriptionProps: sd,
3405
3405
  isInvalid: G,
3406
- validationErrors: $u,
3407
- validationDetails: ed
3406
+ validationErrors: id,
3407
+ validationDetails: ad
3408
3408
  };
3409
3409
  }
3410
3410
  var import_compiler_runtime$3 = require_compiler_runtime();
@@ -5109,21 +5109,21 @@ var $514c0188e459b4c0$export$9afb8bc826b033ea = /* @__PURE__ */ (0, import_react
5109
5109
  ...e4,
5110
5110
  locale: i,
5111
5111
  validationBehavior: r
5112
- }), o = (0, import_react.useRef)(null), [s, c] = $64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!e4["aria-label"] && !e4["aria-labelledby"]), { labelProps: l, groupProps: u, inputProps: d, incrementButtonProps: f, decrementButtonProps: p, descriptionProps: m, errorMessageProps: h, ...g } = $81397a9303501bda$export$23f548e970bdf099({
5112
+ }), o = (0, import_react.useRef)(null), [s, c] = $64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!e4["aria-label"] && !e4["aria-labelledby"]), { labelProps: l, groupProps: u, inputProps: d, incrementButtonProps: f, decrementButtonProps: p, descriptionProps: m, errorMessageProps: h, ..._ } = $81397a9303501bda$export$23f548e970bdf099({
5113
5113
  ...$64fa3d84918910a7$export$ef03459518577ad4(e4),
5114
5114
  label: c,
5115
5115
  validationBehavior: r
5116
- }, a, o), _ = $64fa3d84918910a7$export$4d86445c2cf5e3({
5116
+ }, a, o), v = $64fa3d84918910a7$export$4d86445c2cf5e3({
5117
5117
  ...e4,
5118
5118
  values: {
5119
5119
  state: a,
5120
5120
  isDisabled: e4.isDisabled || false,
5121
- isInvalid: g.isInvalid || false,
5121
+ isInvalid: _.isInvalid || false,
5122
5122
  isRequired: e4.isRequired || false
5123
5123
  },
5124
5124
  defaultClassName: "react-aria-NumberField"
5125
- }), v = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(e4, { global: true });
5126
- return delete v.id, /* @__PURE__ */ import_react.createElement($64fa3d84918910a7$export$2881499e37b75b9a, { values: [
5125
+ }), y = $65484d02dcb7eb3e$export$457c3d6518dd4c6f(e4, { global: true });
5126
+ return delete y.id, /* @__PURE__ */ import_react.createElement($64fa3d84918910a7$export$2881499e37b75b9a, { values: [
5127
5127
  [$b91743d66a0ed188$export$6cc906c6cff9bec5, a],
5128
5128
  [$a049562f99e7db0e$export$f9c6924e160136d1, u],
5129
5129
  [$3985021b0ad6602f$export$37fb8590cf2c088c, {
@@ -5142,15 +5142,15 @@ var $514c0188e459b4c0$export$9afb8bc826b033ea = /* @__PURE__ */ (0, import_react
5142
5142
  description: m,
5143
5143
  errorMessage: h
5144
5144
  } }],
5145
- [$ee014567cb39d3f0$export$ff05c3ac10437e03, g]
5145
+ [$ee014567cb39d3f0$export$ff05c3ac10437e03, _]
5146
5146
  ] }, /* @__PURE__ */ import_react.createElement($64fa3d84918910a7$export$df3a06d6289f983e.div, {
5147
+ ...y,
5147
5148
  ...v,
5148
- ..._,
5149
5149
  ref: t,
5150
5150
  slot: e4.slot || void 0,
5151
5151
  "data-disabled": e4.isDisabled || void 0,
5152
5152
  "data-required": e4.isRequired || void 0,
5153
- "data-invalid": g.isInvalid || void 0
5153
+ "data-invalid": _.isInvalid || void 0
5154
5154
  }), e4.name && /* @__PURE__ */ import_react.createElement("input", {
5155
5155
  type: "hidden",
5156
5156
  name: e4.name,
@@ -5299,6 +5299,7 @@ var DropdownMenuSeparator = import_react.forwardRef((e4, t) => {
5299
5299
  }), n[5] = i, n[6] = t, n[7] = a, n[8] = o) : o = n[8], o;
5300
5300
  });
5301
5301
  DropdownMenuSeparator.displayName = Separator2.displayName;
5302
+ var DropdownMenuShortcut = MenuShortcut;
5302
5303
  const maxFractionalDigits = memoizeLastValue((e4) => {
5303
5304
  for (let n of [
5304
5305
  100,
@@ -5315,6 +5316,19 @@ const maxFractionalDigits = memoizeLastValue((e4) => {
5315
5316
  }
5316
5317
  return 0;
5317
5318
  });
5319
+ function countFractionDigits(e4) {
5320
+ if (!Number.isFinite(e4) || e4 === 0) return 0;
5321
+ let t = e4.toFixed(12).replace(/\.?0+$/, ""), n = t.indexOf(".");
5322
+ return n === -1 ? 0 : t.length - n - 1;
5323
+ }
5324
+ function maxFractionDigitsForSteps(e4, t) {
5325
+ let n = countFractionDigits(t);
5326
+ for (let t2 of e4) n = Math.max(n, countFractionDigits(t2));
5327
+ return n;
5328
+ }
5329
+ function roundToFractionDigits(e4, t) {
5330
+ return Number(e4.toFixed(t));
5331
+ }
5318
5332
  function prettyNumber(e4, t) {
5319
5333
  return e4 == null ? "" : Array.isArray(e4) ? String(e4) : typeof e4 == "string" ? e4 : typeof e4 == "boolean" ? String(e4) : typeof e4 == "number" || typeof e4 == "bigint" ? e4.toLocaleString(t, {
5320
5334
  minimumFractionDigits: 0,
@@ -5372,78 +5386,79 @@ function prettyEngineeringNumber(e4, t) {
5372
5386
  }
5373
5387
  var import_compiler_runtime$1 = require_compiler_runtime();
5374
5388
  const NumberField = import_react.forwardRef((e4, t) => {
5375
- let n = (0, import_compiler_runtime$1.c)(43), { placeholder: i, variant: a, onInputText: o, ...s } = e4, c = a === void 0 ? "default" : a, { locale: l } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), u = $b91743d66a0ed188$export$63c5fa0b2fdccd2e, d;
5376
- n[0] === l ? d = n[1] : (d = maxFractionalDigits(l), n[0] = l, n[1] = d);
5377
- let f;
5378
- n[2] === d ? f = n[3] : (f = {
5389
+ let n = (0, import_compiler_runtime$1.c)(44), { placeholder: i, variant: a, onInputText: o, formatOptions: s, ...c } = e4, l = a === void 0 ? "default" : a, { locale: u } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), d = $b91743d66a0ed188$export$63c5fa0b2fdccd2e, f;
5390
+ n[0] === u ? f = n[1] : (f = maxFractionalDigits(u), n[0] = u, n[1] = f);
5391
+ let p;
5392
+ n[2] !== s || n[3] !== f ? (p = {
5379
5393
  minimumFractionDigits: 0,
5380
- maximumFractionDigits: d
5381
- }, n[2] = d, n[3] = f);
5382
- let p = cn("shadow-xs-solid hover:shadow-sm-solid hover:focus-within:shadow-md-solid", "flex overflow-hidden rounded-sm border border-input bg-background text-sm font-code ring-offset-background", "disabled:cursor-not-allowed disabled:opacity-50 disabled:shadow-xs-solid", "focus-within:shadow-md-solid focus-within:outline-hidden focus-within:ring-1 focus-within:ring-ring focus-within:border-primary", c === "default" ? "h-6 w-full mb-1" : "h-4 w-full mb-0.5", c === "xs" && "text-xs", s.className), m = s.isDisabled, h;
5383
- n[4] === o ? h = n[5] : (h = o ? (e5) => o(e5.currentTarget.value) : void 0, n[4] = o, n[5] = h);
5384
- let g = c === "default" ? "px-1.5" : "px-1", _;
5385
- n[6] === g ? _ = n[7] : (_ = cn("flex-1", "w-full", "placeholder:text-muted-foreground", "outline-hidden", "disabled:cursor-not-allowed disabled:opacity-50", g), n[6] = g, n[7] = _);
5386
- let b;
5387
- n[8] !== i || n[9] !== s.isDisabled || n[10] !== t || n[11] !== h || n[12] !== _ ? (b = /* @__PURE__ */ (0, import_jsx_runtime.jsx)($3985021b0ad6602f$export$f5b8910cec6cf069, {
5394
+ maximumFractionDigits: f,
5395
+ ...s
5396
+ }, n[2] = s, n[3] = f, n[4] = p) : p = n[4];
5397
+ let m = cn("shadow-xs-solid hover:shadow-sm-solid hover:focus-within:shadow-md-solid", "flex overflow-hidden rounded-sm border border-input bg-background text-sm font-code ring-offset-background", "disabled:cursor-not-allowed disabled:opacity-50 disabled:shadow-xs-solid", "focus-within:shadow-md-solid focus-within:outline-hidden focus-within:ring-1 focus-within:ring-ring focus-within:border-primary", l === "default" ? "h-6 w-full mb-1" : "h-4 w-full mb-0.5", l === "xs" && "text-xs", c.className), h = c.isDisabled, _;
5398
+ n[5] === o ? _ = n[6] : (_ = o ? (e5) => o(e5.currentTarget.value) : void 0, n[5] = o, n[6] = _);
5399
+ let v = l === "default" ? "px-1.5" : "px-1", b;
5400
+ n[7] === v ? b = n[8] : (b = cn("flex-1", "w-full", "placeholder:text-muted-foreground", "outline-hidden", "disabled:cursor-not-allowed disabled:opacity-50", v), n[7] = v, n[8] = b);
5401
+ let S;
5402
+ n[9] !== i || n[10] !== c.isDisabled || n[11] !== t || n[12] !== _ || n[13] !== b ? (S = /* @__PURE__ */ (0, import_jsx_runtime.jsx)($3985021b0ad6602f$export$f5b8910cec6cf069, {
5388
5403
  ref: t,
5389
- disabled: m,
5404
+ disabled: h,
5390
5405
  placeholder: i,
5391
5406
  onKeyDown: _temp,
5392
- onInput: h,
5393
- className: _
5394
- }), n[8] = i, n[9] = s.isDisabled, n[10] = t, n[11] = h, n[12] = _, n[13] = b) : b = n[13];
5395
- let x = s.isDisabled, S = c === "xs" && "w-2 h-2", w;
5396
- n[14] === S ? w = n[15] : (w = cn("w-3 h-3 -mb-px", S), n[14] = S, n[15] = w);
5397
- let T;
5398
- n[16] === w ? T = n[17] : (T = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronUp, {
5399
- "aria-hidden": true,
5400
- className: w
5401
- }), n[16] = w, n[17] = T);
5407
+ onInput: _,
5408
+ className: b
5409
+ }), n[9] = i, n[10] = c.isDisabled, n[11] = t, n[12] = _, n[13] = b, n[14] = S) : S = n[14];
5410
+ let C = c.isDisabled, w = l === "xs" && "w-2 h-2", T;
5411
+ n[15] === w ? T = n[16] : (T = cn("w-3 h-3 -mb-px", w), n[15] = w, n[16] = T);
5402
5412
  let E;
5403
- n[18] !== s.isDisabled || n[19] !== T || n[20] !== c ? (E = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(StepperButton, {
5413
+ n[17] === T ? E = n[18] : (E = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronUp, {
5414
+ "aria-hidden": true,
5415
+ className: T
5416
+ }), n[17] = T, n[18] = E);
5417
+ let D;
5418
+ n[19] !== c.isDisabled || n[20] !== E || n[21] !== l ? (D = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(StepperButton, {
5404
5419
  slot: "increment",
5405
- isDisabled: x,
5406
- variant: c,
5420
+ isDisabled: C,
5421
+ variant: l,
5407
5422
  excludeFromTabOrder: true,
5408
- children: T
5409
- }), n[18] = s.isDisabled, n[19] = T, n[20] = c, n[21] = E) : E = n[21];
5410
- let D;
5411
- n[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (D = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "h-px shrink-0 divider bg-border z-10" }), n[22] = D) : D = n[22];
5412
- let O = s.isDisabled, k = c === "xs" && "w-2 h-2", A;
5413
- n[23] === k ? A = n[24] : (A = cn("w-3 h-3 -mt-px", k), n[23] = k, n[24] = A);
5414
- let j;
5415
- n[25] === A ? j = n[26] : (j = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronDown, {
5416
- "aria-hidden": true,
5417
- className: A
5418
- }), n[25] = A, n[26] = j);
5423
+ children: E
5424
+ }), n[19] = c.isDisabled, n[20] = E, n[21] = l, n[22] = D) : D = n[22];
5425
+ let O;
5426
+ n[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (O = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "h-px shrink-0 divider bg-border z-10" }), n[23] = O) : O = n[23];
5427
+ let k = c.isDisabled, A = l === "xs" && "w-2 h-2", j;
5428
+ n[24] === A ? j = n[25] : (j = cn("w-3 h-3 -mt-px", A), n[24] = A, n[25] = j);
5419
5429
  let M;
5420
- n[27] !== s.isDisabled || n[28] !== j || n[29] !== c ? (M = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(StepperButton, {
5430
+ n[26] === j ? M = n[27] : (M = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronDown, {
5431
+ "aria-hidden": true,
5432
+ className: j
5433
+ }), n[26] = j, n[27] = M);
5434
+ let N;
5435
+ n[28] !== c.isDisabled || n[29] !== M || n[30] !== l ? (N = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(StepperButton, {
5421
5436
  slot: "decrement",
5422
- isDisabled: O,
5423
- variant: c,
5437
+ isDisabled: k,
5438
+ variant: l,
5424
5439
  excludeFromTabOrder: true,
5425
- children: j
5426
- }), n[27] = s.isDisabled, n[28] = j, n[29] = c, n[30] = M) : M = n[30];
5427
- let N;
5428
- n[31] !== E || n[32] !== M ? (N = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
5440
+ children: M
5441
+ }), n[28] = c.isDisabled, n[29] = M, n[30] = l, n[31] = N) : N = n[31];
5442
+ let P;
5443
+ n[32] !== D || n[33] !== N ? (P = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
5429
5444
  className: "flex flex-col border-s-2",
5430
5445
  children: [
5431
- E,
5432
5446
  D,
5433
- M
5447
+ O,
5448
+ N
5434
5449
  ]
5435
- }), n[31] = E, n[32] = M, n[33] = N) : N = n[33];
5436
- let P;
5437
- n[34] !== N || n[35] !== p || n[36] !== b ? (P = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
5438
- className: p,
5439
- children: [b, N]
5440
- }), n[34] = N, n[35] = p, n[36] = b, n[37] = P) : P = n[37];
5450
+ }), n[32] = D, n[33] = N, n[34] = P) : P = n[34];
5441
5451
  let F;
5442
- return n[38] !== u || n[39] !== s || n[40] !== P || n[41] !== f ? (F = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(u, {
5443
- ...s,
5444
- formatOptions: f,
5445
- children: P
5446
- }), n[38] = u, n[39] = s, n[40] = P, n[41] = f, n[42] = F) : F = n[42], F;
5452
+ n[35] !== P || n[36] !== m || n[37] !== S ? (F = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
5453
+ className: m,
5454
+ children: [S, P]
5455
+ }), n[35] = P, n[36] = m, n[37] = S, n[38] = F) : F = n[38];
5456
+ let I;
5457
+ return n[39] !== d || n[40] !== c || n[41] !== F || n[42] !== p ? (I = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(d, {
5458
+ ...c,
5459
+ formatOptions: p,
5460
+ children: F
5461
+ }), n[39] = d, n[40] = c, n[41] = F, n[42] = p, n[43] = I) : I = n[43], I;
5447
5462
  });
5448
5463
  NumberField.displayName = "NumberField";
5449
5464
  var StepperButton = (e4) => {
@@ -5611,125 +5626,128 @@ const OnBlurredInput = import_react.forwardRef((e4, t) => {
5611
5626
  });
5612
5627
  OnBlurredInput.displayName = "OnBlurredInput";
5613
5628
  export {
5614
- $e5be200c675c3b3a$export$aca958c65c314e6c as $,
5615
- Portal$1 as $t,
5616
- $d2b4bc8c273e7be6$export$24d547caef80ccd1 as A,
5617
- $c87311424ea30a05$export$fedb369cb70207f1 as At,
5618
- $64fa3d84918910a7$export$c62b8e45d58ddad9 as B,
5619
- $431fbd86ca7dc216$export$f21a1ffae260145a as Bt,
5620
- $a049562f99e7db0e$export$eb2fcfdbd7ba97d4 as C,
5621
- $8ae05eaa5c114e9c$export$7f54fc3180508a52 as Ct,
5622
- $ee014567cb39d3f0$export$ff05c3ac10437e03 as D,
5623
- $c87311424ea30a05$export$78551043582a6a98 as Dt,
5624
- $ee014567cb39d3f0$export$f551688fc98f2e09 as E,
5625
- $c87311424ea30a05$export$6446a186d09e379e as Et,
5626
- $64fa3d84918910a7$export$2881499e37b75b9a as F,
5627
- $d4ee10de306f2510$export$b4f377a2b6254582 as Ft,
5628
- marked as G,
5629
- Anchor2 as Gt,
5630
- $64fa3d84918910a7$export$ef03459518577ad4 as H,
5631
- $bdb11010cef70236$export$b4cc09c592e8fdb8 as Ht,
5632
- $64fa3d84918910a7$export$29f1550f4b0d4415 as I,
5633
- $d4ee10de306f2510$export$cd4e5573fbe2b576 as It,
5634
- $d2e8511e6f209edf$export$e908e06f4b8e3402 as J,
5635
- Content2$1 as Jt,
5636
- useDebounceControlledState as K,
5637
- Arrow2 as Kt,
5638
- $64fa3d84918910a7$export$4d86445c2cf5e3 as L,
5639
- $d4ee10de306f2510$export$e58f029f0fbfdb29 as Lt,
5640
- $01b77f81d0f07f68$export$75b6ee27786ba447 as M,
5641
- $65484d02dcb7eb3e$export$457c3d6518dd4c6f as Mt,
5642
- $01b77f81d0f07f68$export$b04be29aa201d4f5 as N,
5643
- $3ef42575df84b30b$export$9d1611c77c2fe928 as Nt,
5644
- $514c0188e459b4c0$export$5f1af8db9871e1d6 as O,
5645
- $c87311424ea30a05$export$9ac100e40613ea10 as Ot,
5646
- $f39a9eba43920ace$export$b5d7cc18bb8d2b59 as P,
5647
- $d4ee10de306f2510$export$4282f70798064fe0 as Pt,
5648
- $e5be200c675c3b3a$export$a763b9476acd3eb as Q,
5649
- Label as Qt,
5650
- $64fa3d84918910a7$export$9d4c57ee4c6ffdd8 as R,
5651
- $f4e2df6bd15f8569$export$98658e8c59125e6a as Rt,
5652
- $3985021b0ad6602f$export$f5b8910cec6cf069 as S,
5653
- $e9faafb641e167db$export$90fc3a17d93f704c as St,
5654
- $d3e0e05bdfcf66bd$export$c24727297075ec6a as T,
5655
- $313b98861ee5dd6c$export$d6875122194c7b44 as Tt,
5656
- $64fa3d84918910a7$export$fabf2dc03a41866e as U,
5657
- $bdb11010cef70236$export$f680877a34711e37 as Ut,
5658
- $64fa3d84918910a7$export$df3a06d6289f983e as V,
5659
- $ff5963eb1fccf552$export$e08e3b67e392101e as Vt,
5660
- useNonce as W,
5661
- $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c as Wt,
5662
- $e93e671b31057976$export$b8473d3665f3a75a as X,
5663
- Item2$1 as Xt,
5664
- $2baaea4c71418dea$export$294aa081a6c6f55d as Y,
5665
- Group as Yt,
5666
- $e5be200c675c3b3a$export$75ee7c75d68f5b0e as Z,
5667
- ItemIndicator as Zt,
5668
- DropdownMenuSub as _,
5669
- $9446cca9a3875146$export$7d15b64cf5a3a4c4 as _t,
5629
+ $e93e671b31057976$export$b8473d3665f3a75a as $,
5630
+ Item2$1 as $t,
5631
+ $ee014567cb39d3f0$export$ff05c3ac10437e03 as A,
5632
+ $c87311424ea30a05$export$78551043582a6a98 as At,
5633
+ $64fa3d84918910a7$export$4d86445c2cf5e3 as B,
5634
+ $d4ee10de306f2510$export$e58f029f0fbfdb29 as Bt,
5635
+ DropdownMenuTrigger as C,
5636
+ $b4b717babfbb907b$export$bebd5a1431fec25d as Ct,
5637
+ $a049562f99e7db0e$export$f9c6924e160136d1 as D,
5638
+ $df56164dff5785e2$export$4338b53315abf666 as Dt,
5639
+ $a049562f99e7db0e$export$eb2fcfdbd7ba97d4 as E,
5640
+ $8ae05eaa5c114e9c$export$7f54fc3180508a52 as Et,
5641
+ $01b77f81d0f07f68$export$75b6ee27786ba447 as F,
5642
+ $65484d02dcb7eb3e$export$457c3d6518dd4c6f as Ft,
5643
+ $64fa3d84918910a7$export$ef03459518577ad4 as G,
5644
+ $bdb11010cef70236$export$b4cc09c592e8fdb8 as Gt,
5645
+ $64fa3d84918910a7$export$c245e6201fed2f75 as H,
5646
+ $431fbd86ca7dc216$export$b204af158042fbac as Ht,
5647
+ $01b77f81d0f07f68$export$b04be29aa201d4f5 as I,
5648
+ $3ef42575df84b30b$export$9d1611c77c2fe928 as It,
5649
+ marked as J,
5650
+ Anchor2 as Jt,
5651
+ $64fa3d84918910a7$export$fabf2dc03a41866e as K,
5652
+ $bdb11010cef70236$export$f680877a34711e37 as Kt,
5653
+ $f39a9eba43920ace$export$b5d7cc18bb8d2b59 as L,
5654
+ $d4ee10de306f2510$export$4282f70798064fe0 as Lt,
5655
+ $514c0188e459b4c0$export$9afb8bc826b033ea as M,
5656
+ $c87311424ea30a05$export$a11b0059900ceec8 as Mt,
5657
+ $d2b4bc8c273e7be6$export$24d547caef80ccd1 as N,
5658
+ $c87311424ea30a05$export$fedb369cb70207f1 as Nt,
5659
+ $d3e0e05bdfcf66bd$export$c24727297075ec6a as O,
5660
+ $313b98861ee5dd6c$export$d6875122194c7b44 as Ot,
5661
+ $d2b4bc8c273e7be6$export$353f5b6fc5456de1 as P,
5662
+ $7215afc6de606d6b$export$de79e2c695e052f3 as Pt,
5663
+ $2baaea4c71418dea$export$294aa081a6c6f55d as Q,
5664
+ Group as Qt,
5665
+ $64fa3d84918910a7$export$2881499e37b75b9a as R,
5666
+ $d4ee10de306f2510$export$b4f377a2b6254582 as Rt,
5667
+ DropdownMenuSubTrigger as S,
5668
+ $b4b717babfbb907b$export$4c063cf1350e6fed as St,
5669
+ $3985021b0ad6602f$export$f5b8910cec6cf069 as T,
5670
+ $e9faafb641e167db$export$90fc3a17d93f704c as Tt,
5671
+ $64fa3d84918910a7$export$c62b8e45d58ddad9 as U,
5672
+ $431fbd86ca7dc216$export$f21a1ffae260145a as Ut,
5673
+ $64fa3d84918910a7$export$9d4c57ee4c6ffdd8 as V,
5674
+ $f4e2df6bd15f8569$export$98658e8c59125e6a as Vt,
5675
+ $64fa3d84918910a7$export$df3a06d6289f983e as W,
5676
+ $ff5963eb1fccf552$export$e08e3b67e392101e as Wt,
5677
+ useDebouncedCallback as X,
5678
+ CheckboxItem as Xt,
5679
+ useDebounceControlledState as Y,
5680
+ Arrow2 as Yt,
5681
+ $d2e8511e6f209edf$export$e908e06f4b8e3402 as Z,
5682
+ Content2$1 as Zt,
5683
+ DropdownMenuPortal as _,
5684
+ $f6c31cce2adf654f$export$45712eceda6fad21 as _t,
5670
5685
  NumberField as a,
5671
- SubContent as an,
5672
- $6c7bd7858deea686$export$cd11ab140839f11d as at,
5673
- DropdownMenuTrigger as b,
5674
- $b4b717babfbb907b$export$bebd5a1431fec25d as bt,
5675
- prettyNumber as c,
5676
- Item as cn,
5677
- $6db58dc88e78b024$export$2f817fcdc4b89ae0 as ct,
5678
- DropdownMenuContent as d,
5679
- Search as dn,
5680
- $9ab94262bd0047c7$export$420e68273165f4ec as dt,
5681
- RadioGroup as en,
5682
- $e5be200c675c3b3a$export$dad6ae84456c676a as et,
5683
- DropdownMenuGroup as f,
5684
- Circle as fn,
5685
- $3ad3f6e1647bc98d$export$80f3e147d781571c as ft,
5686
- DropdownMenuSeparator as g,
5687
- $ae1eeba8b9eafd08$export$5165eccb35aaadb5 as gt,
5688
- DropdownMenuPortal as h,
5689
- _class_private_field_init as ht,
5686
+ Root3 as an,
5687
+ $319e236875307eab$export$a9b970dcc4ae71a9 as at,
5688
+ DropdownMenuSub as b,
5689
+ $9446cca9a3875146$export$7d15b64cf5a3a4c4 as bt,
5690
+ prettyEngineeringNumber as c,
5691
+ SubContent as cn,
5692
+ $6c7bd7858deea686$export$cd11ab140839f11d as ct,
5693
+ roundToFractionDigits as d,
5694
+ Item as dn,
5695
+ $6db58dc88e78b024$export$2f817fcdc4b89ae0 as dt,
5696
+ ItemIndicator as en,
5697
+ $e5be200c675c3b3a$export$75ee7c75d68f5b0e as et,
5698
+ DropdownMenu as f,
5699
+ Root as fn,
5700
+ $5b160d28a433310d$export$c17fa47878dc55b6 as ft,
5701
+ DropdownMenuLabel as g,
5702
+ ChevronRight as gn,
5703
+ $507fabe10e71c6fb$export$630ff653c5ada6a9 as gt,
5704
+ DropdownMenuItem as h,
5705
+ Circle as hn,
5706
+ $3ad3f6e1647bc98d$export$80f3e147d781571c as ht,
5690
5707
  OnBlurredInput as i,
5691
- Sub as in,
5692
- $701a24aa0da5b062$export$ea18c227d4417cc3 as it,
5693
- $d2b4bc8c273e7be6$export$353f5b6fc5456de1 as j,
5694
- $7215afc6de606d6b$export$de79e2c695e052f3 as jt,
5695
- $514c0188e459b4c0$export$9afb8bc826b033ea as k,
5696
- $c87311424ea30a05$export$a11b0059900ceec8 as kt,
5697
- prettyScientificNumber as l,
5698
- Root as ln,
5699
- $5b160d28a433310d$export$c17fa47878dc55b6 as lt,
5700
- DropdownMenuLabel as m,
5701
- $f6c31cce2adf654f$export$45712eceda6fad21 as mt,
5708
+ RadioItem as in,
5709
+ $e5be200c675c3b3a$export$fc1a364ae1f3ff10 as it,
5710
+ $514c0188e459b4c0$export$5f1af8db9871e1d6 as j,
5711
+ $c87311424ea30a05$export$9ac100e40613ea10 as jt,
5712
+ $ee014567cb39d3f0$export$f551688fc98f2e09 as k,
5713
+ $c87311424ea30a05$export$6446a186d09e379e as kt,
5714
+ prettyNumber as l,
5715
+ SubTrigger as ln,
5716
+ $fca6afa0e843324b$export$87b761675e8eaa10 as lt,
5717
+ DropdownMenuGroup as m,
5718
+ Search as mn,
5719
+ $9ab94262bd0047c7$export$420e68273165f4ec as mt,
5702
5720
  DebouncedNumberInput as n,
5703
- Root3 as nn,
5704
- $319e236875307eab$export$a9b970dcc4ae71a9 as nt,
5705
- maxFractionalDigits as o,
5706
- SubTrigger as on,
5707
- $fca6afa0e843324b$export$87b761675e8eaa10 as ot,
5708
- DropdownMenuItem as p,
5709
- ChevronRight as pn,
5710
- $507fabe10e71c6fb$export$630ff653c5ada6a9 as pt,
5711
- useDebouncedCallback as q,
5712
- CheckboxItem as qt,
5721
+ Portal$1 as nn,
5722
+ $e5be200c675c3b3a$export$aca958c65c314e6c as nt,
5723
+ maxFractionDigitsForSteps as o,
5724
+ Separator as on,
5725
+ $f7dceffc5ad7768b$export$4e328f61c538687f as ot,
5726
+ DropdownMenuContent as p,
5727
+ createRovingFocusGroupScope as pn,
5728
+ $6179b936705e76d3$export$ae780daf29e6d456 as pt,
5729
+ useNonce as q,
5730
+ $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c as qt,
5713
5731
  Input as r,
5714
- Separator as rn,
5715
- $f7dceffc5ad7768b$export$4e328f61c538687f as rt,
5716
- prettyEngineeringNumber as s,
5717
- createMenuScope as sn,
5718
- $fca6afa0e843324b$export$f12b703ca79dfbb1 as st,
5732
+ RadioGroup as rn,
5733
+ $e5be200c675c3b3a$export$dad6ae84456c676a as rt,
5734
+ maxFractionalDigits as s,
5735
+ Sub as sn,
5736
+ $701a24aa0da5b062$export$ea18c227d4417cc3 as st,
5719
5737
  DebouncedInput as t,
5720
- RadioItem as tn,
5721
- $e5be200c675c3b3a$export$fc1a364ae1f3ff10 as tt,
5722
- DropdownMenu as u,
5723
- createRovingFocusGroupScope as un,
5724
- $6179b936705e76d3$export$ae780daf29e6d456 as ut,
5725
- DropdownMenuSubContent as v,
5726
- $458b0a5536c1a7cf$export$40bfa8c7b0832715 as vt,
5727
- $a049562f99e7db0e$export$f9c6924e160136d1 as w,
5728
- $df56164dff5785e2$export$4338b53315abf666 as wt,
5729
- $3985021b0ad6602f$export$37fb8590cf2c088c as x,
5730
- $99facab73266f662$export$5add1d006293d136 as xt,
5731
- DropdownMenuSubTrigger as y,
5732
- $b4b717babfbb907b$export$4c063cf1350e6fed as yt,
5733
- $64fa3d84918910a7$export$c245e6201fed2f75 as z,
5734
- $431fbd86ca7dc216$export$b204af158042fbac as zt
5738
+ Label as tn,
5739
+ $e5be200c675c3b3a$export$a763b9476acd3eb as tt,
5740
+ prettyScientificNumber as u,
5741
+ createMenuScope as un,
5742
+ $fca6afa0e843324b$export$f12b703ca79dfbb1 as ut,
5743
+ DropdownMenuSeparator as v,
5744
+ _class_private_field_init as vt,
5745
+ $3985021b0ad6602f$export$37fb8590cf2c088c as w,
5746
+ $99facab73266f662$export$5add1d006293d136 as wt,
5747
+ DropdownMenuSubContent as x,
5748
+ $458b0a5536c1a7cf$export$40bfa8c7b0832715 as xt,
5749
+ DropdownMenuShortcut as y,
5750
+ $ae1eeba8b9eafd08$export$5165eccb35aaadb5 as yt,
5751
+ $64fa3d84918910a7$export$29f1550f4b0d4415 as z,
5752
+ $d4ee10de306f2510$export$cd4e5573fbe2b576 as zt
5735
5753
  };