@marimo-team/islands 0.23.10-dev9 → 0.23.11-dev1
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.
- package/dist/{ConnectedDataExplorerComponent-CyV83R2m.js → ConnectedDataExplorerComponent-Z3RP7Vmm.js} +31 -31
- package/dist/{ErrorBoundary-rULOrC_p.js → ErrorBoundary-DpbaKVv7.js} +1 -1
- package/dist/{any-language-editor-CiES2a2h.js → any-language-editor-CAgFD4Kd.js} +20 -20
- package/dist/assets/__vite-browser-external-eshhtsgZ.js +1 -0
- package/dist/assets/worker-CC0Oul9k.js +73 -0
- package/dist/{chat-ui-K84W5ecY.js → chat-ui-C4-GMW9y.js} +77 -77
- package/dist/{check-DTbrK0zt.js → check-BCaJeT-J.js} +1 -1
- package/dist/{chunk-5FQGJX7Z-BNjes6Yx.js → chunk-5FQGJX7Z-BbqSm5gU.js} +1227 -1222
- package/dist/{code-block-37QAKDTI-m92Yc8pv.js → code-block-37QAKDTI-O6IH6wAi.js} +1 -1
- package/dist/{code-visibility-v6ucEVUg.js → code-visibility-BDDI_K4x.js} +1943 -1223
- package/dist/{copy-5jQ_kGE1.js → copy-UqRYxiOg.js} +1 -1
- package/dist/dist-7QfXoMdB.js +5 -0
- package/dist/{dist-DgnE8F-r.js → dist-A2846XWO.js} +1 -1
- package/dist/dist-BEXXyZig.js +5 -0
- package/dist/{dist-B3pZ0Ab6.js → dist-BR_gyG9L.js} +3 -3
- package/dist/{dist-CcXxepx6.js → dist-BSAt6RhH.js} +27 -27
- package/dist/{dist-Bde4a2kU.js → dist-BY018Paw.js} +8 -8
- package/dist/dist-BYj57OV4.js +5 -0
- package/dist/{dist-CUCNs1ja.js → dist-BaoDKvdy.js} +2 -2
- package/dist/{dist-Cy1WxgBD.js → dist-Bf7SHuNp.js} +5 -5
- package/dist/{dist-Bz_sYWbr.js → dist-Bk75fBZA.js} +2 -2
- package/dist/dist-BlSvQzNr.js +5 -0
- package/dist/{dist-C5VC_yzu.js → dist-BzEzfugY.js} +1 -1
- package/dist/dist-CCBlxAgS.js +8 -0
- package/dist/dist-CIDTVIUf.js +5 -0
- package/dist/{dist-CLUtPrdy.js → dist-CIYBwstr.js} +1 -1
- package/dist/{dist-BotSqB48.js → dist-C_Y3oV3C.js} +12 -12
- package/dist/{dist-BTfv03uy.js → dist-CcWX6tmx.js} +2 -2
- package/dist/{dist-BhM8gdSO.js → dist-CoXAujgg.js} +4 -4
- package/dist/{dist-4j4c7bjm.js → dist-CpxNdDkw.js} +3 -3
- package/dist/dist-CqQyhAM8.js +8 -0
- package/dist/dist-CwRu2Xzh.js +5 -0
- package/dist/{dist-BcuoonNH.js → dist-CxJDU6Bh.js} +9 -9
- package/dist/{dist-DxvORzUR.js → dist-D-W5ny5a.js} +8 -8
- package/dist/dist-D8CDTVgf.js +6 -0
- package/dist/dist-D8DNB0nO.js +8 -0
- package/dist/dist-DL6N_q-A.js +5 -0
- package/dist/{dist-BbbIBDiQ.js → dist-DMjWuVs8.js} +1 -1
- package/dist/dist-DOFbNV_b.js +8 -0
- package/dist/dist-DPrYzMY0.js +6 -0
- package/dist/{dist-h2c8sZvT.js → dist-DZORgqKY.js} +1 -1
- package/dist/{dist-B3P2fFpz.js → dist-DZo4nSS0.js} +14 -14
- package/dist/{dist-D4CewLk6.js → dist-Dax--nl9.js} +1 -1
- package/dist/{dist-DRfcqpxJ.js → dist-DgGbNavJ.js} +2 -2
- package/dist/{dist-C1BYNeCR.js → dist-Dk6PV_d3.js} +10 -10
- package/dist/{dist-fQ0ViXGs.js → dist-Dv_Y15yk.js} +107 -107
- package/dist/{dist-Bfwsv11D.js → dist-DyyjKEYf.js} +2 -2
- package/dist/{dist-p2qyWijU.js → dist-GZXUmt0b.js} +2 -2
- package/dist/{dist-CLJWPTX2.js → dist-LTU8Hdvn.js} +3 -3
- package/dist/{dist-DqAWR3CS.js → dist-M9Vag9Y0.js} +20 -20
- package/dist/{dist-DNdhYsgW.js → dist-U4F-tbMs.js} +79 -62
- package/dist/{dist-RqXTaiir.js → dist-abid3KgM.js} +11 -11
- package/dist/dist-cdmMjgsn.js +5 -0
- package/dist/dist-hT4QzYX-.js +1247 -0
- package/dist/{dist-luvabDEB.js → dist-t9Kf7xqC.js} +2 -2
- package/dist/{error-banner-5bz0L9hS.js → error-banner-CJXYJ6Sb.js} +11 -6
- package/dist/esm-BaH2eg5-.js +1171 -0
- package/dist/{esm-Duie8iU-.js → esm-ga2Bf3O2.js} +43 -43
- package/dist/{extends-CkydH1Q5.js → extends-D_hDsj6R.js} +4 -4
- package/dist/files/wasm-intro.py +11 -8
- package/dist/{formats-DHxc-FdY.js → formats-C4wO47tk.js} +1 -1
- package/dist/{glide-data-editor-CgIxTzAP.js → glide-data-editor-BPkCPs7L.js} +255 -255
- package/dist/{html-to-image-B93KtAVY.js → html-to-image-BwfcJJxA.js} +2412 -2282
- package/dist/{input-_2sjvfne.js → input-OdWHkobi.js} +263 -245
- package/dist/{label-LWtdw5i8.js → label-CC4ytI1X.js} +1 -1
- package/dist/main.js +7630 -7558
- package/dist/{mermaid-4DMBBIKO-DIdL224_.js → mermaid-4DMBBIKO-Eg3D4FVz.js} +1 -1
- package/dist/{mermaid-lXOw5Py9.js → mermaid-BotvIKg9.js} +4 -4
- package/dist/{process-output-BOXi9fnS.js → process-output-DsloEDna.js} +3 -3
- package/dist/{reveal-component-gRcjQbNL.js → reveal-component-BOEk3vwx.js} +698 -620
- package/dist/{spec-B96zNUEA.js → spec-X7FwLJni.js} +4 -4
- package/dist/{strings-Bu3vlb6W.js → strings-J57tzLr3.js} +47 -46
- package/dist/style.css +1 -1
- package/dist/{toDate-x-WRDCH7.js → toDate-d8RCRrRd.js} +2 -2
- package/dist/{tooltip-C5FYOpQc.js → tooltip-DpcyNkQ2.js} +2 -2
- package/dist/{types-CVvp1fKr.js → types-ChtMFmZ2.js} +1 -1
- package/dist/{useAsyncData-iRgKDT5s.js → useAsyncData-PonK__yh.js} +1 -1
- package/dist/{useDateFormatter-BA4FCquG.js → useDateFormatter-QB-3MpYr.js} +2 -2
- package/dist/{useDeepCompareMemoize-CkQ57VS2.js → useDeepCompareMemoize-D3NGWke6.js} +1 -1
- package/dist/{useLifecycle-BBO9PIph.js → useLifecycle-00mO3OSS.js} +2 -2
- package/dist/{useTheme-DHIrRQOe.js → useTheme-DEhDzATN.js} +1 -1
- package/dist/{vega-component-Dq-SH463.js → vega-component-DGPUhbDs.js} +8 -8
- package/dist/{zod-CoBiJ5v4.js → zod-aLSua2NL.js} +24 -23
- package/package.json +4 -3
- package/src/__tests__/setup.ts +16 -0
- package/src/components/chat/chat-display.tsx +2 -2
- package/src/components/data-table/TableBottomBar.tsx +1 -15
- package/src/components/data-table/TableTopBar.tsx +8 -13
- package/src/components/data-table/__tests__/TableBottomBar.test.tsx +6 -12
- package/src/components/data-table/__tests__/column-visibility-dropdown.test.tsx +227 -0
- package/src/components/data-table/column-visibility-dropdown.tsx +204 -0
- package/src/components/data-table/data-table.tsx +1 -1
- package/src/components/data-table/filter-by-values-picker.tsx +39 -17
- package/src/components/data-table/filter-pills.tsx +1 -1
- package/src/components/datasources/__tests__/filter-empty.test.ts +183 -0
- package/src/components/datasources/datasources.tsx +92 -3
- package/src/components/editor/ai/ai-completion-editor.tsx +6 -5
- package/src/components/editor/cell/code/cell-editor.tsx +70 -32
- package/src/components/editor/cell/code/code-placeholder.css +18 -0
- package/src/components/editor/cell/code/code-placeholder.tsx +47 -0
- package/src/components/editor/cell/code/language-toggle.tsx +7 -1
- package/src/components/editor/chrome/wrapper/app-chrome.tsx +97 -52
- package/src/components/editor/chrome/wrapper/lazy-panels.ts +91 -0
- package/src/components/editor/chrome/wrapper/sidebar.tsx +2 -0
- package/src/components/editor/connections/storage/__tests__/__snapshots__/as-code.test.ts.snap +9 -2
- package/src/components/editor/connections/storage/__tests__/as-code.test.ts +62 -27
- package/src/components/editor/connections/storage/add-storage-form.tsx +5 -1
- package/src/components/editor/connections/storage/as-code.ts +20 -6
- package/src/components/editor/documentation.css +35 -0
- package/src/components/editor/file-tree/file-explorer.tsx +8 -18
- package/src/components/editor/file-tree/tree-actions.tsx +46 -1
- package/src/components/editor/notebook-cell.tsx +3 -3
- package/src/components/editor/renderers/slides-layout/__tests__/plugin.test.ts +20 -0
- package/src/components/editor/renderers/slides-layout/types.ts +1 -0
- package/src/components/markdown/__tests__/markdown-renderer.test.tsx +43 -0
- package/src/components/markdown/markdown-renderer.tsx +24 -1
- package/src/components/slides/__tests__/minimap-actions.test.tsx +166 -0
- package/src/components/slides/__tests__/reveal-component.test.ts +425 -0
- package/src/components/slides/minimap.tsx +127 -10
- package/src/components/slides/reveal-component.tsx +287 -61
- package/src/components/slides/slide-cell-view.tsx +26 -2
- package/src/components/slides/slide-form.tsx +26 -4
- package/src/components/storage/__tests__/storage-inspector.test.ts +180 -0
- package/src/components/storage/storage-inspector.tsx +535 -81
- package/src/components/ui/combobox.tsx +51 -32
- package/src/components/ui/number-field.tsx +5 -1
- package/src/components/ui/reorderable-list.tsx +13 -0
- package/src/components/ui/select-core/__tests__/use-select-list.test.ts +294 -0
- package/src/components/ui/select-core/__tests__/utils.test.ts +222 -0
- package/src/components/ui/select-core/index.ts +16 -0
- package/src/components/ui/select-core/option-row.tsx +33 -0
- package/src/components/ui/select-core/render-slot.ts +20 -0
- package/src/components/ui/select-core/select-list.tsx +248 -0
- package/src/components/ui/select-core/types.ts +44 -0
- package/src/components/ui/select-core/use-select-list.ts +347 -0
- package/src/components/ui/select-core/utils.ts +121 -0
- package/src/components/ui/toast.tsx +1 -0
- package/src/core/ai/__tests__/strip-wrapping-backticks.test.ts +133 -0
- package/src/core/ai/stream-completion-text.ts +48 -0
- package/src/core/ai/strip-wrapping-backticks.ts +88 -0
- package/src/core/cells/__tests__/document-changes.test.ts +2 -2
- package/src/core/cells/__tests__/focus.test.ts +45 -2
- package/src/core/cells/focus.ts +1 -1
- package/src/core/cells/scrollCellIntoView.ts +4 -0
- package/src/core/cells/utils.ts +1 -1
- package/src/core/codemirror/__tests__/editor-mount-scheduler.test.ts +143 -0
- package/src/core/codemirror/ai/request.ts +2 -14
- package/src/core/codemirror/copilot/getCodes.ts +3 -1
- package/src/core/codemirror/editor-mount-scheduler.ts +101 -0
- package/src/core/codemirror/language/languages/python.ts +2 -0
- package/src/core/codemirror/language/languages/sql/utils.ts +3 -1
- package/src/core/codemirror/lsp/__tests__/markdown-renderer.test.ts +41 -0
- package/src/core/codemirror/lsp/markdown-renderer.ts +59 -0
- package/src/core/datasets/data-source-connections.ts +2 -0
- package/src/core/errors/errors.ts +1 -1
- package/src/core/storage/__tests__/state.test.ts +49 -0
- package/src/core/storage/__tests__/useStorageEntries.test.tsx +199 -3
- package/src/core/storage/state.ts +124 -13
- package/src/core/storage/types.ts +6 -0
- package/src/core/wasm/worker/bootstrap.ts +12 -4
- package/src/plugins/core/__test__/registerReactComponent.test.ts +96 -0
- package/src/plugins/core/registerReactComponent.tsx +42 -10
- package/src/plugins/impl/MultiselectPlugin.tsx +19 -142
- package/src/plugins/impl/SearchableSelect.tsx +16 -97
- package/src/plugins/impl/SliderPlugin.tsx +132 -18
- package/src/plugins/impl/__tests__/DropdownPlugin.test.tsx +5 -2
- package/src/plugins/impl/__tests__/MultiSelectPlugin.test.ts +1 -1
- package/src/plugins/impl/__tests__/SliderPlugin.test.tsx +278 -8
- package/src/utils/__tests__/numbers.test.ts +20 -0
- package/src/utils/errors.ts +9 -0
- package/src/utils/lazy.ts +6 -1
- package/src/utils/numbers.ts +27 -0
- package/src/utils/schedule-task.ts +71 -0
- package/dist/assets/__vite-browser-external-Ci2ZQfXU.js +0 -1
- package/dist/assets/worker-ip3AI_sN.js +0 -73
- package/dist/dist-0Fif7jnk.js +0 -5
- package/dist/dist-B5h_9sHB.js +0 -6
- package/dist/dist-B9M6R5ye.js +0 -5
- package/dist/dist-BCt3tnck.js +0 -8
- package/dist/dist-BUIJwMwn.js +0 -8
- package/dist/dist-BpquMd3k.js +0 -5
- package/dist/dist-BzJsqYfz.js +0 -5
- package/dist/dist-CA5ELXAf.js +0 -6
- package/dist/dist-CLBRs6Uv.js +0 -5
- package/dist/dist-CStVCMbq.js +0 -5
- package/dist/dist-CZRIEY3Y.js +0 -8
- package/dist/dist-CuUHbFD0.js +0 -5
- package/dist/dist-DV7Iabxb.js +0 -8
- package/dist/dist-DhHh0jLg.js +0 -1247
- package/dist/dist-DuEeHMvL.js +0 -5
- package/dist/esm-CCuYCd3R.js +0 -1171
- package/src/plugins/impl/multiselectFilterFn.tsx +0 -22
- /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-
|
|
10
|
-
import { t as Check } from "./check-
|
|
11
|
-
import {
|
|
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 {
|
|
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-
|
|
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
|
-
}),
|
|
2615
|
-
y.style === "percent" && (r === void 0 || isNaN(r)) && (
|
|
2616
|
-
let [
|
|
2617
|
-
(!Object.is(d,
|
|
2618
|
-
let
|
|
2619
|
-
let i2 = e5 === void 0 ? m : e5, o2 =
|
|
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 =
|
|
2632
|
-
if (isNaN(i2)) return $9446cca9a3875146$export$cb6e0bb50bc19463(isNaN(r2) ? 0 : r2, t, n,
|
|
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,
|
|
2635
|
-
return e5 === "+" && r3 > i2 || e5 === "-" && r3 < i2 ? r3 : $9446cca9a3875146$export$cb6e0bb50bc19463($de67e98908f0c6ee$var$handleDecimalOperation(e5, i2,
|
|
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,
|
|
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(
|
|
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
|
-
|
|
2653
|
-
|
|
2654
|
-
]), R = (0, import_react.useMemo)(() => !l && !u && (isNaN(
|
|
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
|
-
|
|
2660
|
-
|
|
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:
|
|
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:
|
|
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
|
-
|
|
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
|
-
}, [
|
|
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:
|
|
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:
|
|
3294
|
-
onIncrementToMax:
|
|
3295
|
-
onDecrement:
|
|
3296
|
-
onDecrementToMin:
|
|
3297
|
-
value:
|
|
3298
|
-
textValue: (0, import_react.useMemo)(() => isNaN(
|
|
3299
|
-
}), [
|
|
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:
|
|
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 ?
|
|
3306
|
-
}, [
|
|
3307
|
-
isDisabled:
|
|
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
|
|
3311
|
+
let td = (e5) => {
|
|
3312
3312
|
t.validate(e5) && t.setInputValue(e5);
|
|
3313
|
-
},
|
|
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(),
|
|
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
|
-
},
|
|
3323
|
-
e5.nativeEvent.isComposing || (e5.key === "Enter" ? (
|
|
3324
|
-
}, [
|
|
3325
|
-
...
|
|
3326
|
-
...
|
|
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:
|
|
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:
|
|
3344
|
+
onChange: td,
|
|
3345
3345
|
onBlur: m,
|
|
3346
3346
|
onFocus: h,
|
|
3347
|
-
onFocusChange:
|
|
3348
|
-
onKeyDown: (0, import_react.useMemo)(() => $ff5963eb1fccf552$export$e08e3b67e392101e(W,
|
|
3349
|
-
onKeyUp:
|
|
3350
|
-
onPaste:
|
|
3351
|
-
description:
|
|
3352
|
-
errorMessage:
|
|
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,
|
|
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(),
|
|
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
|
-
}),
|
|
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
|
-
...
|
|
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:
|
|
3402
|
-
decrementButtonProps:
|
|
3403
|
-
errorMessageProps:
|
|
3404
|
-
descriptionProps:
|
|
3401
|
+
incrementButtonProps: ld,
|
|
3402
|
+
decrementButtonProps: ud,
|
|
3403
|
+
errorMessageProps: cd,
|
|
3404
|
+
descriptionProps: sd,
|
|
3405
3405
|
isInvalid: G,
|
|
3406
|
-
validationErrors:
|
|
3407
|
-
validationDetails:
|
|
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, ...
|
|
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),
|
|
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:
|
|
5121
|
+
isInvalid: _.isInvalid || false,
|
|
5122
5122
|
isRequired: e4.isRequired || false
|
|
5123
5123
|
},
|
|
5124
5124
|
defaultClassName: "react-aria-NumberField"
|
|
5125
|
-
}),
|
|
5126
|
-
return delete
|
|
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,
|
|
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":
|
|
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)(
|
|
5376
|
-
n[0] ===
|
|
5377
|
-
let
|
|
5378
|
-
n[2]
|
|
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:
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
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:
|
|
5404
|
+
disabled: h,
|
|
5390
5405
|
placeholder: i,
|
|
5391
5406
|
onKeyDown: _temp,
|
|
5392
|
-
onInput:
|
|
5393
|
-
className:
|
|
5394
|
-
}), n[
|
|
5395
|
-
let
|
|
5396
|
-
n[
|
|
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[
|
|
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:
|
|
5406
|
-
variant:
|
|
5420
|
+
isDisabled: C,
|
|
5421
|
+
variant: l,
|
|
5407
5422
|
excludeFromTabOrder: true,
|
|
5408
|
-
children:
|
|
5409
|
-
}), n[
|
|
5410
|
-
let
|
|
5411
|
-
n[
|
|
5412
|
-
let
|
|
5413
|
-
n[
|
|
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[
|
|
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:
|
|
5423
|
-
variant:
|
|
5437
|
+
isDisabled: k,
|
|
5438
|
+
variant: l,
|
|
5424
5439
|
excludeFromTabOrder: true,
|
|
5425
|
-
children:
|
|
5426
|
-
}), n[
|
|
5427
|
-
let
|
|
5428
|
-
n[
|
|
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
|
-
|
|
5447
|
+
O,
|
|
5448
|
+
N
|
|
5434
5449
|
]
|
|
5435
|
-
}), n[
|
|
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
|
-
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
|
|
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
|
-
$
|
|
5615
|
-
|
|
5616
|
-
$
|
|
5617
|
-
$c87311424ea30a05$export$
|
|
5618
|
-
$64fa3d84918910a7$export$
|
|
5619
|
-
$
|
|
5620
|
-
|
|
5621
|
-
$
|
|
5622
|
-
$
|
|
5623
|
-
$
|
|
5624
|
-
$
|
|
5625
|
-
$
|
|
5626
|
-
$
|
|
5627
|
-
$
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
$64fa3d84918910a7$export$
|
|
5631
|
-
$
|
|
5632
|
-
$
|
|
5633
|
-
$
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
$
|
|
5639
|
-
$d4ee10de306f2510$export$
|
|
5640
|
-
$
|
|
5641
|
-
$
|
|
5642
|
-
$
|
|
5643
|
-
$
|
|
5644
|
-
$
|
|
5645
|
-
$
|
|
5646
|
-
$
|
|
5647
|
-
$
|
|
5648
|
-
$
|
|
5649
|
-
|
|
5650
|
-
$64fa3d84918910a7$export$
|
|
5651
|
-
$
|
|
5652
|
-
|
|
5653
|
-
$
|
|
5654
|
-
$
|
|
5655
|
-
$
|
|
5656
|
-
$64fa3d84918910a7$export$
|
|
5657
|
-
$
|
|
5658
|
-
$64fa3d84918910a7$export$
|
|
5659
|
-
$
|
|
5660
|
-
|
|
5661
|
-
$
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
$
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
$
|
|
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
|
-
|
|
5672
|
-
$
|
|
5673
|
-
|
|
5674
|
-
$
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
$
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
$
|
|
5681
|
-
|
|
5682
|
-
$e5be200c675c3b3a$export$
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
$
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
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
|
-
|
|
5692
|
-
$
|
|
5693
|
-
$
|
|
5694
|
-
$
|
|
5695
|
-
$
|
|
5696
|
-
$c87311424ea30a05$export$
|
|
5697
|
-
|
|
5698
|
-
|
|
5699
|
-
$
|
|
5700
|
-
|
|
5701
|
-
|
|
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
|
-
|
|
5704
|
-
$
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
$
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
$
|
|
5711
|
-
|
|
5712
|
-
|
|
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
|
-
|
|
5715
|
-
$
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
$
|
|
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
|
-
|
|
5721
|
-
$e5be200c675c3b3a$export$
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
$
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
$
|
|
5728
|
-
$
|
|
5729
|
-
|
|
5730
|
-
$
|
|
5731
|
-
|
|
5732
|
-
$
|
|
5733
|
-
$64fa3d84918910a7$export$
|
|
5734
|
-
$
|
|
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
|
};
|