@marimo-team/islands 0.21.2-dev93 → 0.21.2-dev94
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/{Combination-BVnmMSzE.js → Combination-B--d1_LV.js} +8 -8
- package/dist/{ConnectedDataExplorerComponent-BzRetIpL.js → ConnectedDataExplorerComponent-CTfvzyMi.js} +19 -19
- package/dist/{any-language-editor-BgjMQ0JO.js → any-language-editor-Bj-3432h.js} +4 -4
- package/dist/{button-CxEhg2E1.js → button-qsiIHncQ.js} +10 -11
- package/dist/{capabilities-x7AvQTfX.js → capabilities-BC3mzKnw.js} +1 -1
- package/dist/{chat-ui-Blhe8Kd8.js → chat-ui-BvK3aDSR.js} +13 -13
- package/dist/{check-Cfbm1K98.js → check-D_YwHEgY.js} +1 -1
- package/dist/{copy-Bb-tO2YP.js → copy-CBo9JcJW.js} +2 -2
- package/dist/{dist-eWNxvDQG.js → dist-D2Rk1j4R.js} +2 -2
- package/dist/{error-banner-CW87Aylu.js → error-banner-DkDzvax3.js} +25 -25
- package/dist/{esm-BjPSZ7Qf.js → esm-C9_jY_wu.js} +4 -4
- package/dist/{glide-data-editor-CSemfq4D.js → glide-data-editor-D0IYL4_F.js} +7 -7
- package/dist/{input-EtKyRcb-.js → input-C5uUN4xL.js} +9 -9
- package/dist/{label-mQKeDCJ8.js → label-DwSVaniz.js} +4 -4
- package/dist/{loader-hvRcVSq5.js → loader-DrMJeyDu.js} +15 -15
- package/dist/main.js +17389 -17351
- package/dist/{mermaid-CjhFZReU.js → mermaid-Bwy7OYzI.js} +5 -5
- package/dist/{process-output-Cy0KEXJh.js → process-output-CT8hHGp6.js} +15 -15
- package/dist/{slides-component-DKg-ohoF.js → slides-component-BsaaAy66.js} +2 -2
- package/dist/{spec-DLNqef4y.js → spec-BLAZSydG.js} +3 -3
- package/dist/style.css +1 -1
- package/dist/{toDate-BEXAEQ0o.js → toDate-BWaG12Pv.js} +3 -3
- package/dist/{tooltip-CYv8qy5F.js → tooltip-DGHTbHl5.js} +3 -3
- package/dist/{types-B7Om6oxp.js → types-Dqw69fPc.js} +2 -2
- package/dist/{useAsyncData-b2IfqSIa.js → useAsyncData-Dqt2tV1E.js} +1 -1
- package/dist/{useDeepCompareMemoize-C7Ut95sA.js → useDeepCompareMemoize-D2PKDkrk.js} +4 -4
- package/dist/{useIframeCapabilities-DHGxPMu5.js → useIframeCapabilities-DlwLttZw.js} +1 -1
- package/dist/{useLifecycle-Q7CzdfPd.js → useLifecycle-CJ_5Z4Mk.js} +3 -3
- package/dist/{useTheme-5rRsavIK.js → useTheme-BIAKDAh6.js} +2 -2
- package/dist/{vega-component-B0Ik4707.js → vega-component-CTOT0vRO.js} +9 -9
- package/package.json +1 -1
- package/src/components/data-table/TableActions.tsx +25 -50
- package/src/components/data-table/column-explorer-panel/column-explorer.tsx +24 -13
- package/src/components/data-table/data-table.tsx +11 -9
- package/src/components/data-table/hooks/use-panel-ownership.ts +15 -5
- package/src/components/data-table/row-viewer-panel/row-viewer.tsx +53 -44
- package/src/components/data-table/table-explorer-panel/table-explorer-panel.tsx +161 -0
- package/src/components/editor/chrome/panels/context-aware-panel/context-aware-panel.tsx +16 -9
- package/src/core/slots/slots.ts +1 -0
- package/src/plugins/impl/DataTablePlugin.tsx +19 -22
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as __export, s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
3
3
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
4
|
-
import {
|
|
4
|
+
import { d as useEventListener, f as composeRefs, p as useComposedRefs } from "./button-qsiIHncQ.js";
|
|
5
5
|
import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
|
|
6
6
|
import { t as require_react_dom } from "./react-dom-BKwCWYPW.js";
|
|
7
7
|
typeof window < "u" && window.document && window.document.createElement;
|
|
@@ -204,12 +204,12 @@ var DISMISSABLE_LAYER_NAME = "DismissableLayer", CONTEXT_UPDATE = "dismissableLa
|
|
|
204
204
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
205
205
|
branches: /* @__PURE__ */ new Set()
|
|
206
206
|
}), DismissableLayer = import_react.forwardRef((e, E) => {
|
|
207
|
-
let { disableOutsidePointerEvents: D = false, onEscapeKeyDown: O, onPointerDownOutside: k, onFocusOutside:
|
|
207
|
+
let { disableOutsidePointerEvents: D = false, onEscapeKeyDown: O, onPointerDownOutside: k, onFocusOutside: A, onInteractOutside: M, onDismiss: N, ...L } = e, R = import_react.useContext(DismissableLayerContext), [B, V] = import_react.useState(null), H = (B == null ? void 0 : B.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, U] = import_react.useState({}), W = useComposedRefs(E, (e2) => V(e2)), G = Array.from(R.layers), [K] = [...R.layersWithOutsidePointerEventsDisabled].slice(-1), q = G.indexOf(K), J = B ? G.indexOf(B) : -1, X = R.layersWithOutsidePointerEventsDisabled.size > 0, Z = J >= q, Q = usePointerDownOutside((e2) => {
|
|
208
208
|
let E2 = e2.target, D2 = [...R.branches].some((e3) => e3.contains(E2));
|
|
209
209
|
!Z || D2 || (k == null ? void 0 : k(e2), M == null ? void 0 : M(e2), e2.defaultPrevented || (N == null ? void 0 : N()));
|
|
210
210
|
}, H), $ = useFocusOutside((e2) => {
|
|
211
211
|
let E2 = e2.target;
|
|
212
|
-
[...R.branches].some((e3) => e3.contains(E2)) || (
|
|
212
|
+
[...R.branches].some((e3) => e3.contains(E2)) || (A == null ? void 0 : A(e2), M == null ? void 0 : M(e2), e2.defaultPrevented || (N == null ? void 0 : N()));
|
|
213
213
|
}, H);
|
|
214
214
|
return useEscapeKeydown((e2) => {
|
|
215
215
|
J === R.layers.size - 1 && (O == null ? void 0 : O(e2), !e2.defaultPrevented && N && (e2.preventDefault(), N()));
|
|
@@ -320,8 +320,8 @@ function useStateMachine(e, E) {
|
|
|
320
320
|
return import_react.useReducer((e2, D) => E[e2][D] ?? e2, e);
|
|
321
321
|
}
|
|
322
322
|
var Presence = (e) => {
|
|
323
|
-
let { present: E, children: D } = e, O = usePresence(E), k = typeof D == "function" ? D({ present: O.isPresent }) : import_react.Children.only(D),
|
|
324
|
-
return typeof D == "function" || O.isPresent ? import_react.cloneElement(k, { ref:
|
|
323
|
+
let { present: E, children: D } = e, O = usePresence(E), k = typeof D == "function" ? D({ present: O.isPresent }) : import_react.Children.only(D), A = useComposedRefs(O.ref, getElementRef(k));
|
|
324
|
+
return typeof D == "function" || O.isPresent ? import_react.cloneElement(k, { ref: A }) : null;
|
|
325
325
|
};
|
|
326
326
|
Presence.displayName = "Presence";
|
|
327
327
|
function usePresence(e) {
|
|
@@ -11188,7 +11188,7 @@ var AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount", AUTOFOCUS_ON_UNMOUNT = "
|
|
|
11188
11188
|
bubbles: false,
|
|
11189
11189
|
cancelable: true
|
|
11190
11190
|
}, FOCUS_SCOPE_NAME = "FocusScope", FocusScope = import_react.forwardRef((e, E) => {
|
|
11191
|
-
let { loop: D = false, trapped: O = false, onMountAutoFocus: k, onUnmountAutoFocus:
|
|
11191
|
+
let { loop: D = false, trapped: O = false, onMountAutoFocus: k, onUnmountAutoFocus: A, ...M } = e, [N, P] = import_react.useState(null), L = useCallbackRef$1(k), R = useCallbackRef$1(A), B = import_react.useRef(null), V = useComposedRefs(E, (e2) => P(e2)), H = import_react.useRef({
|
|
11192
11192
|
paused: false,
|
|
11193
11193
|
pause() {
|
|
11194
11194
|
this.paused = true;
|
|
@@ -11248,8 +11248,8 @@ var AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount", AUTOFOCUS_ON_UNMOUNT = "
|
|
|
11248
11248
|
if (!D && !O || H.paused) return;
|
|
11249
11249
|
let E2 = e2.key === "Tab" && !e2.altKey && !e2.ctrlKey && !e2.metaKey, k2 = document.activeElement;
|
|
11250
11250
|
if (E2 && k2) {
|
|
11251
|
-
let E3 = e2.currentTarget, [O2,
|
|
11252
|
-
O2 &&
|
|
11251
|
+
let E3 = e2.currentTarget, [O2, A2] = getTabbableEdges(E3);
|
|
11252
|
+
O2 && A2 ? !e2.shiftKey && k2 === A2 ? (e2.preventDefault(), D && focus(O2, { select: true })) : e2.shiftKey && k2 === O2 && (e2.preventDefault(), D && focus(A2, { select: true })) : k2 === E3 && e2.preventDefault();
|
|
11253
11253
|
}
|
|
11254
11254
|
}, [
|
|
11255
11255
|
D,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { a as __toCommonJS, n as __esmMin, r as __export, s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
3
3
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
4
|
-
import { l as createLucideIcon } from "./dist-
|
|
5
|
-
import { A as $896ba0a80a8f4d36$export$85fd5fdf27bacc79, F as ListFilter, P as SquareFunction, t as augmentSpecWithData } from "./spec-
|
|
6
|
-
import { a as Type, c as Calendar, i as createReducerAndAtoms, o as ToggleLeft, r as Badge, s as Hash, t as useOnMount } from "./useLifecycle-
|
|
7
|
-
import { a as Select, c as SelectItem, d as SelectTrigger, f as SelectValue, j as $a916eb452884faea$export$b7a616150fdb9f44, l as SelectLabel, o as SelectContent, r as Strings, s as SelectGroup, t as Label, u as SelectSeparator } from "./label-
|
|
8
|
-
import {
|
|
9
|
-
import "./Combination-
|
|
4
|
+
import { l as createLucideIcon } from "./dist-D2Rk1j4R.js";
|
|
5
|
+
import { A as $896ba0a80a8f4d36$export$85fd5fdf27bacc79, F as ListFilter, P as SquareFunction, t as augmentSpecWithData } from "./spec-BLAZSydG.js";
|
|
6
|
+
import { a as Type, c as Calendar, i as createReducerAndAtoms, o as ToggleLeft, r as Badge, s as Hash, t as useOnMount } from "./useLifecycle-CJ_5Z4Mk.js";
|
|
7
|
+
import { a as Select, c as SelectItem, d as SelectTrigger, f as SelectValue, j as $a916eb452884faea$export$b7a616150fdb9f44, l as SelectLabel, o as SelectContent, r as Strings, s as SelectGroup, t as Label, u as SelectSeparator } from "./label-DwSVaniz.js";
|
|
8
|
+
import { h as Logger, t as Button, u as Objects, v as cn } from "./button-qsiIHncQ.js";
|
|
9
|
+
import "./Combination-B--d1_LV.js";
|
|
10
10
|
import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
|
|
11
11
|
import "./react-dom-BKwCWYPW.js";
|
|
12
|
-
import { t as Tooltip } from "./tooltip-
|
|
13
|
-
import { b as createStore, g as useAtomValue, m as Provider, n as useTheme, y as atom } from "./useTheme-
|
|
12
|
+
import { t as Tooltip } from "./tooltip-DGHTbHl5.js";
|
|
13
|
+
import { b as createStore, g as useAtomValue, m as Provider, n as useTheme, y as atom } from "./useTheme-BIAKDAh6.js";
|
|
14
14
|
import { t as invariant } from "./invariant-CzjtdzpE.js";
|
|
15
|
-
import { n as ErrorBanner } from "./error-banner-
|
|
15
|
+
import { n as ErrorBanner } from "./error-banner-DkDzvax3.js";
|
|
16
16
|
import "./vega-loader.browser-hMqVC9bf.js";
|
|
17
|
-
import { a as getContainerWidth, n as vegaLoadData, s as tooltipHandler } from "./loader-
|
|
18
|
-
import { t as useAsyncData } from "./useAsyncData-
|
|
17
|
+
import { a as getContainerWidth, n as vegaLoadData, s as tooltipHandler } from "./loader-DrMJeyDu.js";
|
|
18
|
+
import { t as useAsyncData } from "./useAsyncData-Dqt2tV1E.js";
|
|
19
19
|
import { n as q, r as contains } from "./react-vega-JMnqwKtN.js";
|
|
20
20
|
import "./defaultLocale-DjFHq3Xk.js";
|
|
21
21
|
import "./defaultLocale-B_A76Zpk.js";
|
|
@@ -5480,8 +5480,8 @@ const ColumnSummary = (e3) => {
|
|
|
5480
5480
|
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FormatStat, { value: x == null ? void 0 : x[e4] }) })]
|
|
5481
5481
|
}, e4))
|
|
5482
5482
|
}), p[35] = h, p[36] = x, p[37] = G) : G = p[37];
|
|
5483
|
-
let
|
|
5484
|
-
return p[38] !== W || p[39] !== G || p[40] !== w || p[41] !== E || p[42] !== D || p[43] !== A ? (
|
|
5483
|
+
let Y;
|
|
5484
|
+
return p[38] !== W || p[39] !== G || p[40] !== w || p[41] !== E || p[42] !== D || p[43] !== A ? (Y = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
5485
5485
|
className: w,
|
|
5486
5486
|
children: [
|
|
5487
5487
|
E,
|
|
@@ -5490,7 +5490,7 @@ const ColumnSummary = (e3) => {
|
|
|
5490
5490
|
W,
|
|
5491
5491
|
G
|
|
5492
5492
|
]
|
|
5493
|
-
}), p[38] = W, p[39] = G, p[40] = w, p[41] = E, p[42] = D, p[43] = A, p[44] =
|
|
5493
|
+
}), p[38] = W, p[39] = G, p[40] = w, p[41] = E, p[42] = D, p[43] = A, p[44] = Y) : Y = p[44], Y;
|
|
5494
5494
|
};
|
|
5495
5495
|
var STAT_KEYS = [
|
|
5496
5496
|
"distinct",
|
|
@@ -6271,13 +6271,13 @@ const DataExplorerComponent = (e3) => {
|
|
|
6271
6271
|
U
|
|
6272
6272
|
].filter(Boolean).flat().map(e4), p[24] = h, p[25] = D, p[26] = P, p[27] = H, p[28] = U, p[29] = B, p[30] = V, p[31] = E, p[32] = W;
|
|
6273
6273
|
} else W = p[32];
|
|
6274
|
-
let
|
|
6275
|
-
p[38] === W ?
|
|
6274
|
+
let G;
|
|
6275
|
+
p[38] === W ? G = p[39] : (G = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(HorizontalCarousel, { children: W }), p[38] = W, p[39] = G);
|
|
6276
6276
|
let Z;
|
|
6277
|
-
return p[40] !==
|
|
6277
|
+
return p[40] !== G || p[41] !== z ? (Z = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
6278
6278
|
className: "flex flex-col gap-2",
|
|
6279
|
-
children: [z,
|
|
6280
|
-
}), p[40] =
|
|
6279
|
+
children: [z, G]
|
|
6280
|
+
}), p[40] = G, p[41] = z, p[42] = Z) : Z = p[42], Z;
|
|
6281
6281
|
};
|
|
6282
6282
|
var HorizontalCarousel = (e3) => {
|
|
6283
6283
|
let p = (0, import_compiler_runtime.c)(2), { children: m } = e3;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
3
3
|
import "./compiler-runtime-B_OLMU9S.js";
|
|
4
|
-
import {
|
|
5
|
-
import "./Combination-
|
|
4
|
+
import { h as Logger } from "./button-qsiIHncQ.js";
|
|
5
|
+
import "./Combination-B--d1_LV.js";
|
|
6
6
|
import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
|
|
7
7
|
import "./react-dom-BKwCWYPW.js";
|
|
8
|
-
import { t as esm_default, u as CopyClipboardIcon } from "./esm-
|
|
8
|
+
import { t as esm_default, u as CopyClipboardIcon } from "./esm-C9_jY_wu.js";
|
|
9
9
|
import "./dist-CORAUsE1.js";
|
|
10
10
|
import "./dist-BnCNDnA7.js";
|
|
11
11
|
import "./dist-BnIjtwRq.js";
|
|
12
12
|
import "./dist-CD0aazOL.js";
|
|
13
13
|
import "./dist-C6R5LnmH.js";
|
|
14
14
|
import "./dist-CDXh0OSg.js";
|
|
15
|
-
import { n as ErrorBanner } from "./error-banner-
|
|
15
|
+
import { n as ErrorBanner } from "./error-banner-DkDzvax3.js";
|
|
16
16
|
import "./dist-B4HRhSlD.js";
|
|
17
17
|
import "./dist-B7Wxocl4.js";
|
|
18
18
|
import "./dist-n5m_P2Mr.js";
|
|
@@ -2041,23 +2041,22 @@ var import_compiler_runtime = require_compiler_runtime(), activeCommon = "active
|
|
|
2041
2041
|
});
|
|
2042
2042
|
Button.displayName = "Button";
|
|
2043
2043
|
export {
|
|
2044
|
-
|
|
2044
|
+
throwNotImplemented as _,
|
|
2045
2045
|
cva as a,
|
|
2046
2046
|
isPlatformMac as c,
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2047
|
+
useEventListener as d,
|
|
2048
|
+
composeRefs as f,
|
|
2049
|
+
Functions as g,
|
|
2050
|
+
Logger as h,
|
|
2051
2051
|
createSlot as i,
|
|
2052
|
-
|
|
2053
|
-
|
|
2052
|
+
resolvePlatform as l,
|
|
2053
|
+
Events as m,
|
|
2054
2054
|
buttonVariants as n,
|
|
2055
2055
|
NOT_SET as o,
|
|
2056
|
-
|
|
2056
|
+
useComposedRefs as p,
|
|
2057
2057
|
Slot as r,
|
|
2058
2058
|
OverridingHotkeyProvider as s,
|
|
2059
2059
|
Button as t,
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
cn as y
|
|
2060
|
+
Objects as u,
|
|
2061
|
+
cn as v
|
|
2063
2062
|
};
|
|
@@ -4,21 +4,21 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4
4
|
import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
|
|
5
5
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
6
6
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
7
|
-
import { r as toast } from "./copy-
|
|
8
|
-
import { A as AccordionItem, Bn as CircleX, C as Boosts, D as AIContextRegistry, Dn as Wrench, E as AIContextProvider, Et as displayCellName, Fn as File$1, Gt as PluralWord, H as ChatBubbleIcon, I as MarimoIncomingMessageEvent, It as moveToEndOfEditor, Mn as LoaderCircle, Nt as createVariableInfoElement, O as Accordion, On as Trash2, Pn as Info, Qt as getTableType, T as contextToXml, Tn as atomWithStorage, Ut as jotaiJsonStorage, Wt as variablesAtom, X as base64ToDataURL, Xt as allTablesAtom, Y as deserializeBlob, Zt as dataSourceConnectionsAtom, a as toPng, ct as notebookAtom, d as Spinner, en as getRequestClient, f as Popover, g as PopoverAnchor, h as PopoverTrigger, in as singleFacet, it as cellErrorsAtom, j as AccordionTrigger, k as AccordionContent, ln as ZodLocalStorage, m as PopoverContent, mn as CellOutputId, n as blobToString, o as MarkdownRenderer, rt as renderHTML, t as processOutput, v as isOutputEmpty, w as Sections, x as DatasourceContextProvider } from "./process-output-
|
|
7
|
+
import { r as toast } from "./copy-CBo9JcJW.js";
|
|
8
|
+
import { A as AccordionItem, Bn as CircleX, C as Boosts, D as AIContextRegistry, Dn as Wrench, E as AIContextProvider, Et as displayCellName, Fn as File$1, Gt as PluralWord, H as ChatBubbleIcon, I as MarimoIncomingMessageEvent, It as moveToEndOfEditor, Mn as LoaderCircle, Nt as createVariableInfoElement, O as Accordion, On as Trash2, Pn as Info, Qt as getTableType, T as contextToXml, Tn as atomWithStorage, Ut as jotaiJsonStorage, Wt as variablesAtom, X as base64ToDataURL, Xt as allTablesAtom, Y as deserializeBlob, Zt as dataSourceConnectionsAtom, a as toPng, ct as notebookAtom, d as Spinner, en as getRequestClient, f as Popover, g as PopoverAnchor, h as PopoverTrigger, in as singleFacet, it as cellErrorsAtom, j as AccordionTrigger, k as AccordionContent, ln as ZodLocalStorage, m as PopoverContent, mn as CellOutputId, n as blobToString, o as MarkdownRenderer, rt as renderHTML, t as processOutput, v as isOutputEmpty, w as Sections, x as DatasourceContextProvider } from "./process-output-CT8hHGp6.js";
|
|
9
9
|
import "./chunk-5FQGJX7Z-DHiDX6JT.js";
|
|
10
|
-
import { l as createLucideIcon } from "./dist-
|
|
11
|
-
import { A as logNever, L as X, r as Strings, t as Label } from "./label-
|
|
12
|
-
import { a as NumberField, b as DropdownMenuTrigger, d as DropdownMenuContent, p as DropdownMenuItem, r as Input, u as DropdownMenu } from "./input-
|
|
13
|
-
import { g as CircleQuestionMark } from "./toDate-
|
|
14
|
-
import { d as
|
|
15
|
-
import { A as custom, B as record, D as any, E as _null, G as unknown, H as string, I as never, J as toJSONSchema, K as safeParseAsync, L as number, M as lazy, N as literal, O as array$1, R as object$1, T as _instanceof, V as strictObject, W as union, j as discriminatedUnion, k as boolean, w as _enum } from "./Combination-
|
|
10
|
+
import { l as createLucideIcon } from "./dist-D2Rk1j4R.js";
|
|
11
|
+
import { A as logNever, L as X, r as Strings, t as Label } from "./label-DwSVaniz.js";
|
|
12
|
+
import { a as NumberField, b as DropdownMenuTrigger, d as DropdownMenuContent, p as DropdownMenuItem, r as Input, u as DropdownMenu } from "./input-C5uUN4xL.js";
|
|
13
|
+
import { g as CircleQuestionMark } from "./toDate-BWaG12Pv.js";
|
|
14
|
+
import { d as useEventListener, h as Logger, t as Button, u as Objects, v as cn } from "./button-qsiIHncQ.js";
|
|
15
|
+
import { A as custom, B as record, D as any, E as _null, G as unknown, H as string, I as never, J as toJSONSchema, K as safeParseAsync, L as number, M as lazy, N as literal, O as array$1, R as object$1, T as _instanceof, V as strictObject, W as union, j as discriminatedUnion, k as boolean, w as _enum } from "./Combination-B--d1_LV.js";
|
|
16
16
|
import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
|
|
17
17
|
import "./react-dom-BKwCWYPW.js";
|
|
18
|
-
import { t as Tooltip } from "./tooltip-
|
|
19
|
-
import { n as minimalSetup, t as esm_default, u as CopyClipboardIcon } from "./esm-
|
|
18
|
+
import { t as Tooltip } from "./tooltip-DGHTbHl5.js";
|
|
19
|
+
import { n as minimalSetup, t as esm_default, u as CopyClipboardIcon } from "./esm-C9_jY_wu.js";
|
|
20
20
|
import { t as isEmpty_default } from "./isEmpty-D_Jzlmqv.js";
|
|
21
|
-
import { n as useTheme, v as useStore, w as useEvent_default } from "./useTheme-
|
|
21
|
+
import { n as useTheme, v as useStore, w as useEvent_default } from "./useTheme-BIAKDAh6.js";
|
|
22
22
|
import { $ as ViewPlugin, At as Prec, Dt as EditorState, Ft as StateField, Lt as Transaction, Ot as Facet, Pt as StateEffect, Y as Decoration, Z as EditorView, dt as keymap, et as WidgetType, ut as hoverTooltip } from "./dist-CORAUsE1.js";
|
|
23
23
|
import { n as acceptCompletion, o as closeCompletion, r as autocompletion } from "./dist-DJ3EjUNc.js";
|
|
24
24
|
import "./main-C01_ic0d.js";
|
|
@@ -28,8 +28,8 @@ import "./dist-CD0aazOL.js";
|
|
|
28
28
|
import "./dist-C6R5LnmH.js";
|
|
29
29
|
import "./dist-CDXh0OSg.js";
|
|
30
30
|
import "./purify.es-BwXbuO3r.js";
|
|
31
|
-
import { n as ErrorBanner } from "./error-banner-
|
|
32
|
-
import { t as useAsyncData } from "./useAsyncData-
|
|
31
|
+
import { n as ErrorBanner } from "./error-banner-DkDzvax3.js";
|
|
32
|
+
import { t as useAsyncData } from "./useAsyncData-Dqt2tV1E.js";
|
|
33
33
|
var BotMessageSquare = createLucideIcon("bot-message-square", [
|
|
34
34
|
["path", {
|
|
35
35
|
d: "M12 6V2H8",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
3
3
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
4
|
-
import { l as createLucideIcon } from "./dist-
|
|
5
|
-
import {
|
|
4
|
+
import { l as createLucideIcon } from "./dist-D2Rk1j4R.js";
|
|
5
|
+
import { h as Logger } from "./button-qsiIHncQ.js";
|
|
6
6
|
require_compiler_runtime(), require_react();
|
|
7
7
|
var TOAST_LIMIT = 1, TOAST_REMOVE_DELAY = 1e4, count = 0;
|
|
8
8
|
function genId() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
3
|
-
import {
|
|
4
|
-
import { _t as createContextScope, dt as useCallbackRef, ft as Primitive, lt as useLayoutEffect2 } from "./Combination-
|
|
3
|
+
import { p as useComposedRefs } from "./button-qsiIHncQ.js";
|
|
4
|
+
import { _t as createContextScope, dt as useCallbackRef, ft as Primitive, lt as useLayoutEffect2 } from "./Combination-B--d1_LV.js";
|
|
5
5
|
import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
|
|
6
6
|
import { t as require_react_dom } from "./react-dom-BKwCWYPW.js";
|
|
7
7
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
3
3
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
4
|
-
import { a as cva,
|
|
5
|
-
import { H as string, R as object, _t as createContextScope, at as useControllableState, ct as useId, ft as Primitive, gt as createContext2, ht as createSlottable, i as useFocusGuards, it as StyleNamespace, mt as createSlot, n as hideOthers, ot as Presence, r as FocusScope, st as Portal, t as Combination_default, tt as withFullScreenAsRoot, ut as DismissableLayer, vt as composeEventHandlers } from "./Combination-
|
|
4
|
+
import { a as cva, h as Logger, n as buttonVariants, p as useComposedRefs, v as cn } from "./button-qsiIHncQ.js";
|
|
5
|
+
import { H as string, R as object, _t as createContextScope, at as useControllableState, ct as useId, ft as Primitive, gt as createContext2, ht as createSlottable, i as useFocusGuards, it as StyleNamespace, mt as createSlot, n as hideOthers, ot as Presence, r as FocusScope, st as Portal, t as Combination_default, tt as withFullScreenAsRoot, ut as DismissableLayer, vt as composeEventHandlers } from "./Combination-B--d1_LV.js";
|
|
6
6
|
import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
|
|
7
7
|
var DetailsSchema = object({ detail: string() }), ErrorSchema = object({ error: string() });
|
|
8
8
|
function prettyError(t) {
|
|
@@ -65,7 +65,7 @@ var CellNotInitializedError = class extends Error {
|
|
|
65
65
|
};
|
|
66
66
|
Dialog.displayName = DIALOG_NAME;
|
|
67
67
|
var TRIGGER_NAME$1 = "DialogTrigger", DialogTrigger = import_react.forwardRef((t, F) => {
|
|
68
|
-
let { __scopeDialog: I, ...L } = t, R = useDialogContext(TRIGGER_NAME$1, I),
|
|
68
|
+
let { __scopeDialog: I, ...L } = t, R = useDialogContext(TRIGGER_NAME$1, I), z = useComposedRefs(F, R.triggerRef);
|
|
69
69
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.button, {
|
|
70
70
|
type: "button",
|
|
71
71
|
"aria-haspopup": "dialog",
|
|
@@ -73,7 +73,7 @@ var TRIGGER_NAME$1 = "DialogTrigger", DialogTrigger = import_react.forwardRef((t
|
|
|
73
73
|
"aria-controls": R.contentId,
|
|
74
74
|
"data-state": getState(R.open),
|
|
75
75
|
...L,
|
|
76
|
-
ref:
|
|
76
|
+
ref: z,
|
|
77
77
|
onClick: composeEventHandlers(t.onClick, R.onOpenToggle)
|
|
78
78
|
});
|
|
79
79
|
});
|
|
@@ -174,13 +174,13 @@ var DialogContentModal = import_react.forwardRef((t, F) => {
|
|
|
174
174
|
}
|
|
175
175
|
});
|
|
176
176
|
}), DialogContentImpl = import_react.forwardRef((t, F) => {
|
|
177
|
-
let { __scopeDialog: I, trapFocus: L, onOpenAutoFocus: R, onCloseAutoFocus:
|
|
177
|
+
let { __scopeDialog: I, trapFocus: L, onOpenAutoFocus: R, onCloseAutoFocus: z, ...V } = t, H = useDialogContext(CONTENT_NAME$1, I), U = import_react.useRef(null), W = useComposedRefs(F, U);
|
|
178
178
|
return useFocusGuards(), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(FocusScope, {
|
|
179
179
|
asChild: true,
|
|
180
180
|
loop: true,
|
|
181
181
|
trapped: L,
|
|
182
182
|
onMountAutoFocus: R,
|
|
183
|
-
onUnmountAutoFocus:
|
|
183
|
+
onUnmountAutoFocus: z,
|
|
184
184
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DismissableLayer, {
|
|
185
185
|
role: "dialog",
|
|
186
186
|
id: H.contentId,
|
|
@@ -286,7 +286,7 @@ var OVERLAY_NAME = "AlertDialogOverlay", AlertDialogOverlay$1 = import_react.for
|
|
|
286
286
|
});
|
|
287
287
|
AlertDialogOverlay$1.displayName = OVERLAY_NAME;
|
|
288
288
|
var CONTENT_NAME = "AlertDialogContent", [AlertDialogContentProvider, useAlertDialogContentContext] = createAlertDialogContext(CONTENT_NAME), Slottable = createSlottable("AlertDialogContent"), AlertDialogContent$1 = import_react.forwardRef((t, F) => {
|
|
289
|
-
let { __scopeAlertDialog: I, children: L, ...R } = t,
|
|
289
|
+
let { __scopeAlertDialog: I, children: L, ...R } = t, z = useDialogScope(I), V = import_react.useRef(null), H = useComposedRefs(F, V), U = import_react.useRef(null);
|
|
290
290
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(WarningProvider, {
|
|
291
291
|
contentName: CONTENT_NAME,
|
|
292
292
|
titleName: TITLE_NAME,
|
|
@@ -296,7 +296,7 @@ var CONTENT_NAME = "AlertDialogContent", [AlertDialogContentProvider, useAlertDi
|
|
|
296
296
|
cancelRef: U,
|
|
297
297
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Content, {
|
|
298
298
|
role: "alertdialog",
|
|
299
|
-
...
|
|
299
|
+
...z,
|
|
300
300
|
...R,
|
|
301
301
|
ref: H,
|
|
302
302
|
onOpenAutoFocus: composeEventHandlers(R.onOpenAutoFocus, (t2) => {
|
|
@@ -339,9 +339,9 @@ var ACTION_NAME = "AlertDialogAction", AlertDialogAction$1 = import_react.forwar
|
|
|
339
339
|
});
|
|
340
340
|
AlertDialogAction$1.displayName = ACTION_NAME;
|
|
341
341
|
var CANCEL_NAME = "AlertDialogCancel", AlertDialogCancel$1 = import_react.forwardRef((t, F) => {
|
|
342
|
-
let { __scopeAlertDialog: I, ...L } = t, { cancelRef: R } = useAlertDialogContentContext(CANCEL_NAME, I),
|
|
342
|
+
let { __scopeAlertDialog: I, ...L } = t, { cancelRef: R } = useAlertDialogContentContext(CANCEL_NAME, I), z = useDialogScope(I), V = useComposedRefs(F, R);
|
|
343
343
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Close, {
|
|
344
|
-
...
|
|
344
|
+
...z,
|
|
345
345
|
...L,
|
|
346
346
|
ref: V
|
|
347
347
|
});
|
|
@@ -466,40 +466,40 @@ AlertDialogDescription.displayName = Description2.displayName;
|
|
|
466
466
|
var AlertDialogAction = import_react.forwardRef((t, F) => {
|
|
467
467
|
let I = (0, import_compiler_runtime$1.c)(9), L, R;
|
|
468
468
|
I[0] === t ? (L = I[1], R = I[2]) : ({ className: L, ...R } = t, I[0] = t, I[1] = L, I[2] = R);
|
|
469
|
-
let
|
|
470
|
-
I[3] === L ?
|
|
469
|
+
let B;
|
|
470
|
+
I[3] === L ? B = I[4] : (B = cn(buttonVariants(), L), I[3] = L, I[4] = B);
|
|
471
471
|
let H;
|
|
472
|
-
return I[5] !== R || I[6] !== F || I[7] !==
|
|
472
|
+
return I[5] !== R || I[6] !== F || I[7] !== B ? (H = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Action, {
|
|
473
473
|
ref: F,
|
|
474
|
-
className:
|
|
474
|
+
className: B,
|
|
475
475
|
...R
|
|
476
|
-
}), I[5] = R, I[6] = F, I[7] =
|
|
476
|
+
}), I[5] = R, I[6] = F, I[7] = B, I[8] = H) : H = I[8], H;
|
|
477
477
|
});
|
|
478
478
|
AlertDialogAction.displayName = Action.displayName;
|
|
479
479
|
var AlertDialogDestructiveAction = import_react.forwardRef((t, F) => {
|
|
480
480
|
let I = (0, import_compiler_runtime$1.c)(9), L, R;
|
|
481
481
|
I[0] === t ? (L = I[1], R = I[2]) : ({ className: L, ...R } = t, I[0] = t, I[1] = L, I[2] = R);
|
|
482
|
-
let
|
|
483
|
-
I[3] === L ?
|
|
482
|
+
let B;
|
|
483
|
+
I[3] === L ? B = I[4] : (B = cn(buttonVariants({ variant: "destructive" }), L), I[3] = L, I[4] = B);
|
|
484
484
|
let H;
|
|
485
|
-
return I[5] !== R || I[6] !== F || I[7] !==
|
|
485
|
+
return I[5] !== R || I[6] !== F || I[7] !== B ? (H = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Action, {
|
|
486
486
|
ref: F,
|
|
487
|
-
className:
|
|
487
|
+
className: B,
|
|
488
488
|
...R
|
|
489
|
-
}), I[5] = R, I[6] = F, I[7] =
|
|
489
|
+
}), I[5] = R, I[6] = F, I[7] = B, I[8] = H) : H = I[8], H;
|
|
490
490
|
});
|
|
491
491
|
AlertDialogDestructiveAction.displayName = "AlertDialogDestructiveAction";
|
|
492
492
|
var AlertDialogCancel = import_react.forwardRef((t, F) => {
|
|
493
493
|
let I = (0, import_compiler_runtime$1.c)(9), L, R;
|
|
494
494
|
I[0] === t ? (L = I[1], R = I[2]) : ({ className: L, ...R } = t, I[0] = t, I[1] = L, I[2] = R);
|
|
495
|
-
let
|
|
496
|
-
I[3] === L ?
|
|
495
|
+
let B;
|
|
496
|
+
I[3] === L ? B = I[4] : (B = cn(buttonVariants({ variant: "secondary" }), "mt-2 sm:mt-0", L), I[3] = L, I[4] = B);
|
|
497
497
|
let H;
|
|
498
|
-
return I[5] !== R || I[6] !== F || I[7] !==
|
|
498
|
+
return I[5] !== R || I[6] !== F || I[7] !== B ? (H = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Cancel, {
|
|
499
499
|
ref: F,
|
|
500
|
-
className:
|
|
500
|
+
className: B,
|
|
501
501
|
...R
|
|
502
|
-
}), I[5] = R, I[6] = F, I[7] =
|
|
502
|
+
}), I[5] = R, I[6] = F, I[7] = B, I[8] = H) : H = I[8], H;
|
|
503
503
|
});
|
|
504
504
|
AlertDialogCancel.displayName = Cancel.displayName;
|
|
505
505
|
var import_compiler_runtime = require_compiler_runtime();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
3
3
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
4
|
-
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-
|
|
5
|
-
import { t as Check } from "./check-
|
|
6
|
-
import {
|
|
4
|
+
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-CBo9JcJW.js";
|
|
5
|
+
import { t as Check } from "./check-D_YwHEgY.js";
|
|
6
|
+
import { m as Events, v as cn } from "./button-qsiIHncQ.js";
|
|
7
7
|
import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
|
|
8
|
-
import { t as Tooltip } from "./tooltip-
|
|
8
|
+
import { t as Tooltip } from "./tooltip-DGHTbHl5.js";
|
|
9
9
|
import { $ as ViewPlugin, A as indentString, At as Prec, B as tags, Bt as combineConfig, C as foldKeymap, Ct as ChangeSet, D as getIndentation, Dt as EditorState, E as getIndentUnit, Et as EditorSelection, F as syntaxHighlighting, Ft as StateField, H as NodeProp, Ht as findClusterBreak, I as syntaxTree, It as Text, Lt as Transaction, Mt as RangeSetBuilder, N as matchBrackets, Ot as Facet, Pt as StateEffect, Rt as codePointAt, St as ChangeDesc, Ut as fromCodePoint, Vt as countColumn, X as Direction, Y as Decoration, Z as EditorView, _t as showDialog, a as HighlightStyle, bt as crelt, ct as highlightActiveLineGutter, dt as keymap, et as WidgetType, ft as lineNumbers, g as defaultHighlightStyle, gt as runScopeHandlers, ht as rectangularSelection, it as getPanel, j as indentUnit, jt as RangeSet, k as indentOnInput, lt as highlightSpecialChars, mt as placeholder, nt as drawSelection, o as IndentContext, p as bracketMatching, pt as logException, rt as dropCursor, st as highlightActiveLine, tt as crosshairCursor, ut as hoverTooltip, vt as showPanel, wt as CharCategory, x as foldGutter, xt as Annotation, zt as codePointSize } from "./dist-CORAUsE1.js";
|
|
10
10
|
import { a as closeBracketsKeymap, c as completionKeymap, i as closeBrackets, r as autocompletion } from "./dist-DJ3EjUNc.js";
|
|
11
11
|
var import_compiler_runtime = require_compiler_runtime(), import_react = /* @__PURE__ */ __toESM(require_react(), 1), import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1);
|
|
@@ -4,15 +4,15 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4
4
|
import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
|
|
5
5
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
6
6
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
7
|
-
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-
|
|
8
|
-
import { A as logNever, a as Select, c as SelectItem, d as SelectTrigger, f as SelectValue, i as capitalize, o as SelectContent, t as Label } from "./label-
|
|
9
|
-
import { _ as DropdownMenuSub, d as DropdownMenuContent, dt as marked, g as DropdownMenuSeparator, h as DropdownMenuPortal, p as DropdownMenuItem, r as Input, u as DropdownMenu, ut as useNonce, v as DropdownMenuSubContent, y as DropdownMenuSubTrigger } from "./input-
|
|
10
|
-
import { a as Plus, i as Trash, n as ErrorBoundary, o as Pencil, r as require_prop_types, t as BulkEdit } from "./types-
|
|
11
|
-
import {
|
|
12
|
-
import "./Combination-
|
|
7
|
+
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-CBo9JcJW.js";
|
|
8
|
+
import { A as logNever, a as Select, c as SelectItem, d as SelectTrigger, f as SelectValue, i as capitalize, o as SelectContent, t as Label } from "./label-DwSVaniz.js";
|
|
9
|
+
import { _ as DropdownMenuSub, d as DropdownMenuContent, dt as marked, g as DropdownMenuSeparator, h as DropdownMenuPortal, p as DropdownMenuItem, r as Input, u as DropdownMenu, ut as useNonce, v as DropdownMenuSubContent, y as DropdownMenuSubTrigger } from "./input-C5uUN4xL.js";
|
|
10
|
+
import { a as Plus, i as Trash, n as ErrorBoundary, o as Pencil, r as require_prop_types, t as BulkEdit } from "./types-Dqw69fPc.js";
|
|
11
|
+
import { h as Logger, m as Events, t as Button } from "./button-qsiIHncQ.js";
|
|
12
|
+
import "./Combination-B--d1_LV.js";
|
|
13
13
|
import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
|
|
14
14
|
import "./react-dom-BKwCWYPW.js";
|
|
15
|
-
import { n as useTheme, w as useEvent_default } from "./useTheme-
|
|
15
|
+
import { n as useTheme, w as useEvent_default } from "./useTheme-BIAKDAh6.js";
|
|
16
16
|
import { A as require__Map, B as require__baseGetTag, C as require__hasPath, D as require_isArguments, E as require__isIndex, F as require_isFunction, G as assert, H as require__root, I as require_isObject, J as maybe, K as assertNever, L as require__isKey, M as require_eq, N as require__getNative, O as require__castPath, P as require__toSource, R as require_isSymbol, S as resolveCellsThunk, T as require_isLength, U as require__freeGlobal, V as require__Symbol, W as require_isArray, _ as isEditableGridCell, a as mergeAndRealizeTheme, b as isReadWriteCell, c as withAlpha, d as CompactSelection, f as GridCellKind, g as booleanCellIsEditable, h as InnerGridCellKind, i as makeCSSStyle, j as require__ListCache, k as require__MapCache, l as BooleanEmpty, m as GridColumnMenuIcon, n as ThemeContext, o as blend, p as GridColumnIcon, q as deepEqual, r as getDataEditorTheme, s as blendCache, t as ClickOutsideContainer, u as BooleanIndeterminate, v as isInnerOnlyCell, w as require__toKey, x as isSizedGridColumn, y as isObjectEditorCallbackResult, z as require_isObjectLike } from "./click-outside-container-DNfggvIW.js";
|
|
17
17
|
import { t as styled_default } from "./dist-CgCO1-j-.js";
|
|
18
18
|
let GlideDataEditor, glide_data_editor_default;
|
|
@@ -5,16 +5,16 @@ var _a;
|
|
|
5
5
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
6
6
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
7
7
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
8
|
-
import { a as Content, i as Arrow, l as createLucideIcon, o as Root2$1, r as Anchor, s as createPopperScope } from "./dist-
|
|
9
|
-
import { t as Check } from "./check-
|
|
10
|
-
import { E as createCollection, I as $b5e257d569688ac6$export$619500959fc48b26, L as X, M as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, N as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, R as ChevronUp, S as menuSubTriggerVariants, T as useDirection, _ as menuControlCheckVariants, b as menuLabelVariants, g as menuContentCommon, j as $a916eb452884faea$export$b7a616150fdb9f44, v as menuControlVariants, x as menuSeparatorVariants, y as menuItemVariants, z as ChevronDown } from "./label-
|
|
8
|
+
import { a as Content, i as Arrow, l as createLucideIcon, o as Root2$1, r as Anchor, s as createPopperScope } from "./dist-D2Rk1j4R.js";
|
|
9
|
+
import { t as Check } from "./check-D_YwHEgY.js";
|
|
10
|
+
import { E as createCollection, I as $b5e257d569688ac6$export$619500959fc48b26, L as X, M as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, N as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, R as ChevronUp, S as menuSubTriggerVariants, T as useDirection, _ as menuControlCheckVariants, b as menuLabelVariants, g as menuContentCommon, j as $a916eb452884faea$export$b7a616150fdb9f44, v as menuControlVariants, x as menuSeparatorVariants, y as menuItemVariants, z as ChevronDown } from "./label-DwSVaniz.js";
|
|
11
11
|
import { n as clsx_default } from "./clsx-yW_RAw0K.js";
|
|
12
|
-
import {
|
|
13
|
-
import { _t as createContextScope, at as useControllableState, ct as useId, dt as useCallbackRef, et as MAX_HEIGHT_OFFSET, ft as Primitive, i as useFocusGuards, it as StyleNamespace, mt as createSlot, n as hideOthers, nt as withSmartCollisionBoundary, ot as Presence, pt as dispatchDiscreteCustomEvent, r as FocusScope, st as Portal, t as Combination_default, tt as withFullScreenAsRoot, ut as DismissableLayer, vt as composeEventHandlers } from "./Combination-
|
|
12
|
+
import { f as composeRefs, h as Logger, m as Events, p as useComposedRefs, v as cn } from "./button-qsiIHncQ.js";
|
|
13
|
+
import { _t as createContextScope, at as useControllableState, ct as useId, dt as useCallbackRef, et as MAX_HEIGHT_OFFSET, ft as Primitive, i as useFocusGuards, it as StyleNamespace, mt as createSlot, n as hideOthers, nt as withSmartCollisionBoundary, ot as Presence, pt as dispatchDiscreteCustomEvent, r as FocusScope, st as Portal, t as Combination_default, tt as withFullScreenAsRoot, ut as DismissableLayer, vt as composeEventHandlers } from "./Combination-B--d1_LV.js";
|
|
14
14
|
import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
|
|
15
15
|
import { t as require_react_dom } from "./react-dom-BKwCWYPW.js";
|
|
16
16
|
import { i as debounce_default } from "./constants-CXiS0vdr.js";
|
|
17
|
-
import { w as useEvent_default } from "./useTheme-
|
|
17
|
+
import { w as useEvent_default } from "./useTheme-BIAKDAh6.js";
|
|
18
18
|
import { t as memoizeLastValue } from "./once-BfpiMcdf.js";
|
|
19
19
|
var ChevronRight = createLucideIcon("chevron-right", [["path", {
|
|
20
20
|
d: "m9 18 6-6-6-6",
|
|
@@ -4512,7 +4512,7 @@ var CONTENT_NAME$1 = "MenuContent", [MenuContentProvider, useMenuContentContext]
|
|
|
4512
4512
|
onDismiss: () => n.onOpenChange(false)
|
|
4513
4513
|
});
|
|
4514
4514
|
}), Slot = createSlot("MenuContent.ScrollLock"), MenuContentImpl = import_react.forwardRef((e4, t) => {
|
|
4515
|
-
let { __scopeMenu: n, loop: i = false, trapFocus: a, onOpenAutoFocus: o, onCloseAutoFocus: s, disableOutsidePointerEvents: c, onEntryFocus: l, onEscapeKeyDown: u, onPointerDownOutside: d, onFocusOutside: f, onInteractOutside: p, onDismiss: m, disableOutsideScroll: h, ...g } = e4, _ = useMenuContext(CONTENT_NAME$1, n), v = useMenuRootContext(CONTENT_NAME$1, n), y = usePopperScope(n), b = useRovingFocusGroupScope(n), x = useCollection(n), [S, C] = import_react.useState(null), w = import_react.useRef(null), T = useComposedRefs(t, w, _.onContentChange), E = import_react.useRef(0), D = import_react.useRef(""), O = import_react.useRef(0),
|
|
4515
|
+
let { __scopeMenu: n, loop: i = false, trapFocus: a, onOpenAutoFocus: o, onCloseAutoFocus: s, disableOutsidePointerEvents: c, onEntryFocus: l, onEscapeKeyDown: u, onPointerDownOutside: d, onFocusOutside: f, onInteractOutside: p, onDismiss: m, disableOutsideScroll: h, ...g } = e4, _ = useMenuContext(CONTENT_NAME$1, n), v = useMenuRootContext(CONTENT_NAME$1, n), y = usePopperScope(n), b = useRovingFocusGroupScope(n), x = useCollection(n), [S, C] = import_react.useState(null), w = import_react.useRef(null), T = useComposedRefs(t, w, _.onContentChange), E = import_react.useRef(0), D = import_react.useRef(""), O = import_react.useRef(0), k = import_react.useRef(null), j = import_react.useRef("right"), M = import_react.useRef(0), N = h ? Combination_default : import_react.Fragment, P = h ? {
|
|
4516
4516
|
as: Slot,
|
|
4517
4517
|
allowPinchZoom: true
|
|
4518
4518
|
} : void 0, F = (e5) => {
|
|
@@ -4525,7 +4525,7 @@ var CONTENT_NAME$1 = "MenuContent", [MenuContentProvider, useMenuContentContext]
|
|
|
4525
4525
|
import_react.useEffect(() => () => window.clearTimeout(E.current), []), useFocusGuards();
|
|
4526
4526
|
let I = import_react.useCallback((e5) => {
|
|
4527
4527
|
var _a2, _b;
|
|
4528
|
-
return j.current === ((_a2 =
|
|
4528
|
+
return j.current === ((_a2 = k.current) == null ? void 0 : _a2.side) && isPointerInGraceArea(e5, (_b = k.current) == null ? void 0 : _b.area);
|
|
4529
4529
|
}, []);
|
|
4530
4530
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(MenuContentProvider, {
|
|
4531
4531
|
scope: n,
|
|
@@ -4542,7 +4542,7 @@ var CONTENT_NAME$1 = "MenuContent", [MenuContentProvider, useMenuContentContext]
|
|
|
4542
4542
|
}, [I]),
|
|
4543
4543
|
pointerGraceTimerRef: O,
|
|
4544
4544
|
onPointerGraceIntentChange: import_react.useCallback((e5) => {
|
|
4545
|
-
|
|
4545
|
+
k.current = e5;
|
|
4546
4546
|
}, []),
|
|
4547
4547
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(N, {
|
|
4548
4548
|
...P,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
3
3
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
4
|
-
import { a as Content, i as Arrow, l as createLucideIcon, n as VISUALLY_HIDDEN_STYLES, o as Root2$1, r as Anchor, s as createPopperScope } from "./dist-
|
|
5
|
-
import { t as Check } from "./check-
|
|
6
|
-
import { a as cva,
|
|
7
|
-
import { _t as createContextScope, at as useControllableState, ct as useId, dt as useCallbackRef, ft as Primitive$1, i as useFocusGuards, it as StyleNamespace, lt as useLayoutEffect2, mt as createSlot$1, n as hideOthers, nt as withSmartCollisionBoundary, r as FocusScope, st as Portal, t as Combination_default, tt as withFullScreenAsRoot, ut as DismissableLayer, vt as composeEventHandlers } from "./Combination-
|
|
4
|
+
import { a as Content, i as Arrow, l as createLucideIcon, n as VISUALLY_HIDDEN_STYLES, o as Root2$1, r as Anchor, s as createPopperScope } from "./dist-D2Rk1j4R.js";
|
|
5
|
+
import { t as Check } from "./check-D_YwHEgY.js";
|
|
6
|
+
import { a as cva, h as Logger, i as createSlot, m as Events, p as useComposedRefs, v as cn } from "./button-qsiIHncQ.js";
|
|
7
|
+
import { _t as createContextScope, at as useControllableState, ct as useId, dt as useCallbackRef, ft as Primitive$1, i as useFocusGuards, it as StyleNamespace, lt as useLayoutEffect2, mt as createSlot$1, n as hideOthers, nt as withSmartCollisionBoundary, r as FocusScope, st as Portal, t as Combination_default, tt as withFullScreenAsRoot, ut as DismissableLayer, vt as composeEventHandlers } from "./Combination-B--d1_LV.js";
|
|
8
8
|
import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
|
|
9
9
|
import { t as require_react_dom } from "./react-dom-BKwCWYPW.js";
|
|
10
10
|
import { t as invariant } from "./invariant-CzjtdzpE.js";
|
|
@@ -2,7 +2,7 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
var _a, _b, _c, _d, _e;
|
|
5
|
-
import {
|
|
5
|
+
import { h as Logger, u as Objects } from "./button-qsiIHncQ.js";
|
|
6
6
|
import { St as isObject, a as loader, c as typeParsers$1, gt as isArray, o as read$1, wt as isString } from "./vega-loader.browser-hMqVC9bf.js";
|
|
7
7
|
var pkg = { version: "1.1.0" };
|
|
8
8
|
function formatValue(m2, U, G, K) {
|
|
@@ -168,8 +168,8 @@ const tooltipHandler = new Handler();
|
|
|
168
168
|
function getContainerWidth(m2) {
|
|
169
169
|
if (typeof m2 == "object" && m2 && "width" in m2) return m2.width;
|
|
170
170
|
}
|
|
171
|
-
function getVegaFieldTypes(
|
|
172
|
-
return !
|
|
171
|
+
function getVegaFieldTypes(m2) {
|
|
172
|
+
return !m2 || Object.keys(m2).length === 0 ? "auto" : Objects.mapValues(m2, (m3) => m3 === "date" || m3 === "time" ? "string" : m3 === "datetime" ? "date" : m3);
|
|
173
173
|
}
|
|
174
174
|
const MAGIC = Uint8Array.of(65, 82, 82, 79, 87, 49), Version = {
|
|
175
175
|
V1: 0,
|
|
@@ -1342,24 +1342,24 @@ var previousIntegerParser = typeParsers.integer, previousNumberParser = typePars
|
|
|
1342
1342
|
return Number.isNaN(U) ? m2 : U;
|
|
1343
1343
|
}, () => {
|
|
1344
1344
|
typeParsers.integer = previousIntegerParser, typeParsers.number = previousNumberParser;
|
|
1345
|
-
}), DATE_MIDDLEWARE = () => (typeParsers.date = (
|
|
1346
|
-
if (
|
|
1347
|
-
if (
|
|
1348
|
-
if (!/^\d{4}-\d{2}-\d{2}(T[\d.:]+(Z|[+-]\d{2}:?\d{2})?)?$/.test(
|
|
1345
|
+
}), DATE_MIDDLEWARE = () => (typeParsers.date = (U) => {
|
|
1346
|
+
if (U === "") return "";
|
|
1347
|
+
if (U == null) return null;
|
|
1348
|
+
if (!/^\d{4}-\d{2}-\d{2}(T[\d.:]+(Z|[+-]\d{2}:?\d{2})?)?$/.test(U)) return U;
|
|
1349
1349
|
try {
|
|
1350
|
-
let
|
|
1351
|
-
return Number.isNaN(
|
|
1350
|
+
let m2 = new Date(U);
|
|
1351
|
+
return Number.isNaN(m2.getTime()) ? U : m2;
|
|
1352
1352
|
} catch {
|
|
1353
|
-
return Logger.warn(`Failed to parse date: ${
|
|
1353
|
+
return Logger.warn(`Failed to parse date: ${U}`), U;
|
|
1354
1354
|
}
|
|
1355
1355
|
}, () => {
|
|
1356
1356
|
typeParsers.date = previousDateParser;
|
|
1357
1357
|
});
|
|
1358
1358
|
typeParsers.boolean = (m2) => m2 === "True" ? true : m2 === "False" ? false : previousBooleanParser(m2);
|
|
1359
1359
|
const vegaLoader = createBatchedLoader();
|
|
1360
|
-
async function vegaLoadData(
|
|
1360
|
+
async function vegaLoadData(m2, W, G = {}) {
|
|
1361
1361
|
let { handleBigIntAndNumberLike: K = false, replacePeriod: q = false } = G;
|
|
1362
|
-
if (
|
|
1362
|
+
if (m2.endsWith(".arrow") || (W == null ? void 0 : W.type) === "arrow") return tableFromIPC(await batchedArrowLoader(m2), {
|
|
1363
1363
|
useProxy: true,
|
|
1364
1364
|
useDate: true,
|
|
1365
1365
|
useBigInt: K
|
|
@@ -1368,7 +1368,7 @@ async function vegaLoadData(U, W, G = {}) {
|
|
|
1368
1368
|
K && J.push(BIG_INT_MIDDLEWARE);
|
|
1369
1369
|
let Y = [];
|
|
1370
1370
|
try {
|
|
1371
|
-
let G2 = await vegaLoader.load(
|
|
1371
|
+
let G2 = await vegaLoader.load(m2);
|
|
1372
1372
|
if (!W) {
|
|
1373
1373
|
if (typeof G2 == "string") try {
|
|
1374
1374
|
JSON.parse(G2), W = { type: "json" };
|
|
@@ -1383,12 +1383,12 @@ async function vegaLoadData(U, W, G = {}) {
|
|
|
1383
1383
|
let K2 = (W == null ? void 0 : W.type) === "csv";
|
|
1384
1384
|
K2 && typeof G2 == "string" && (G2 = uniquifyColumnNames(G2)), K2 && typeof G2 == "string" && q && (G2 = replacePeriodsInColumnNames(G2));
|
|
1385
1385
|
let X = (W == null ? void 0 : W.parse) || "auto";
|
|
1386
|
-
return typeof X == "object" && (X = Objects.mapValues(X, (
|
|
1386
|
+
return typeof X == "object" && (X = Objects.mapValues(X, (m3) => m3 === "time" ? "string" : m3 === "datetime" ? "date" : m3)), Y = J.map((m3) => m3()), K2 ? read(G2, {
|
|
1387
1387
|
...W,
|
|
1388
1388
|
parse: X
|
|
1389
1389
|
}) : read(G2, W);
|
|
1390
1390
|
} finally {
|
|
1391
|
-
Y.forEach((
|
|
1391
|
+
Y.forEach((m3) => m3());
|
|
1392
1392
|
}
|
|
1393
1393
|
}
|
|
1394
1394
|
function parseCsvData(m2, U = true) {
|