@marimo-team/islands 0.25.3-dev170 → 0.25.3-dev173
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-BbSXV-Xa.js → ConnectedDataExplorerComponent-Le_OBfmt.js} +9 -9
- package/dist/{ErrorBoundary-NE86qEWZ.js → ErrorBoundary-wT3f3iJ1.js} +8 -8
- package/dist/{abnfDiagram-VCTEODGH-D7n07nXf.js → abnfDiagram-VCTEODGH-Tf1ghyQQ.js} +2 -2
- package/dist/{any-language-editor-3E24SnCV.js → any-language-editor-B92WMzoC.js} +2 -2
- package/dist/{architectureDiagram-5GKGNRK7-D6CjRib5.js → architectureDiagram-5GKGNRK7-xlnbTG0T.js} +1 -1
- package/dist/{chat-ui-CC7GekpG.js → chat-ui-CuORr6fL.js} +70 -70
- package/dist/{check-SpOMoCLP.js → check-C9Mp9eCK.js} +1 -1
- package/dist/{chunk-IMKFNOWR-6dtPz7uS.js → chunk-IMKFNOWR-Cmd4a5jy.js} +1 -1
- package/dist/{chunk-SHT3W25Y-BwnFNKDA.js → chunk-SHT3W25Y-mSNp-WpO.js} +1 -1
- package/dist/{chunk-SVP7TREG-D2eV4vBJ.js → chunk-SVP7TREG-CWC49D8X.js} +1 -1
- package/dist/{chunk-TICWLB2K-BDs4-_-r.js → chunk-TICWLB2K-De9FINtG.js} +1 -1
- package/dist/{classDiagram-ZZMXUADV-DCJnf_8v.js → classDiagram-ZZMXUADV-DweTkYdp.js} +2 -2
- package/dist/{classDiagram-v2-VYDZK3BY-BOmSzPBD.js → classDiagram-v2-VYDZK3BY-A6MR2TiE.js} +2 -2
- package/dist/{code-visibility-Bzvc6ajl.js → code-visibility-ZReaeMaF.js} +5 -5
- package/dist/{common-Ciw4zkh2.js → common-DCevHg1m.js} +231 -231
- package/dist/{copy-icon-C1trdvVt.js → copy-icon-De584pZ4.js} +2 -2
- package/dist/{cynefinDiagram-5FMLGOSQ-Bln_Soky.js → cynefinDiagram-5FMLGOSQ-BSvo5le-.js} +1 -1
- package/dist/{dagre-GXQ25YYZ-D-nf7WzW.js → dagre-GXQ25YYZ-tXRQslO6.js} +1 -1
- package/dist/{data-grid-overlay-editor-AQREmxI7.js → data-grid-overlay-editor-CTC-bJus.js} +1 -1
- package/dist/{diagram-S7CK7UJ4-PsgSMkY2.js → diagram-S7CK7UJ4-r3t5VtwI.js} +1 -1
- package/dist/{diagram-UQ7AKVKN-DfwfUuSw.js → diagram-UQ7AKVKN-qgbC8YnT.js} +1 -1
- package/dist/{diagram-VX7I27RA-C9_e-oMc.js → diagram-VX7I27RA-CiHxEwtp.js} +1 -1
- package/dist/{diagram-Z3DM3KII-CWLa5tuY.js → diagram-Z3DM3KII-D95u15Ev.js} +1 -1
- package/dist/{dialog-DgeqyrEZ.js → dialog-DVRfQuhD.js} +24 -24
- package/dist/{dropdown-menu-B6ftyzOg.js → dropdown-menu-DCMbbQ35.js} +691 -691
- package/dist/{ebnfDiagram-PWID7BFC-B1QRM58v.js → ebnfDiagram-PWID7BFC-P7e4bryK.js} +2 -2
- package/dist/{erDiagram-RLTQ6QDP-DJK_FqvW.js → erDiagram-RLTQ6QDP-CUHZcmRj.js} +1 -1
- package/dist/{error-banner-D40pmfQQ.js → error-banner-DxJ3s8YO.js} +57 -57
- package/dist/{error-entries-DgK3wUJR.js → error-entries-CmWMEsY_.js} +984 -961
- package/dist/{feedback-button-8a6SETmT.js → feedback-button-DwXkmewo.js} +29 -29
- package/dist/{flowDiagram-HODETNUW-Uxc25XSJ.js → flowDiagram-HODETNUW-BGZ95AzI.js} +2 -2
- package/dist/{formats-DQCyPd5Z.js → formats-DI7HEVv7.js} +1 -1
- package/dist/{glide-data-editor-B70oke_v.js → glide-data-editor-BlmcP-lw.js} +10 -10
- package/dist/{glide-utils-Dz_F4pAY.js → glide-utils-D98laidb.js} +2 -2
- package/dist/{globals-Cxd5hNlI.js → globals-BdRitZ4p.js} +3 -3
- package/dist/{html-to-image-D4yG5Ru0.js → html-to-image-bpiQh7ND.js} +55 -55
- package/dist/{infoDiagram-27XIBGKW-DmjxqwL0.js → infoDiagram-27XIBGKW-BF0YX70D.js} +1 -1
- package/dist/{ishikawaDiagram-5VMMS53U-NgCLHqQi.js → ishikawaDiagram-5VMMS53U-_itsAAn-.js} +1 -1
- package/dist/{kanban-definition-UXKFOSKX-CZaG-iam.js → kanban-definition-UXKFOSKX-VNW2Beqh.js} +1 -1
- package/dist/{label-D9_-zSg-.js → label-Qvw1E97W.js} +1 -1
- package/dist/main.js +8159 -6508
- package/dist/{mermaid-CSvw7c71.js → mermaid-CZ6FrClS.js} +35 -35
- package/dist/{mindmap-definition-YA3MSWOX-DJYQBDH_.js → mindmap-definition-YA3MSWOX-DR4ripvd.js} +1 -1
- package/dist/{number-overlay-editor-ChK-SKUk.js → number-overlay-editor-DQG-hFHT.js} +1 -1
- package/dist/{pegDiagram-XKGWAZYB-CHKO_dAe.js → pegDiagram-XKGWAZYB-CFr3XlGl.js} +2 -2
- package/dist/{pieDiagram-E7YTZNPT-DVevbMAo.js → pieDiagram-E7YTZNPT-j91XYSLY.js} +1 -1
- package/dist/{process-output-DxvBAeL3.js → process-output-BzloOI7F.js} +4 -4
- package/dist/{railroadDiagram-O6MQD6OU-Detj1kcB.js → railroadDiagram-O6MQD6OU-Cd47ZV9E.js} +2 -2
- package/dist/{requirementDiagram-BXWQKSXE-BLFD0T_Z.js → requirementDiagram-BXWQKSXE-eJH6gLtX.js} +1 -1
- package/dist/{reveal-component-CXMXeDZD.js → reveal-component-D3r3vSTK.js} +9 -9
- package/dist/{select-CkF_GBxO.js → select-2KOiReNY.js} +324 -324
- package/dist/{sequenceDiagram-WJ2MYXX4-BZBgatQV.js → sequenceDiagram-WJ2MYXX4-DdfFEIrm.js} +1 -1
- package/dist/{spec-Mnkn3XEr.js → spec-h69nC3SI.js} +4 -4
- package/dist/{stateDiagram-D77RDMKH-4BZW9-6_.js → stateDiagram-D77RDMKH-DkjDvip8.js} +2 -2
- package/dist/{stateDiagram-v2-MP3YSRHH-C4sKC8Iq.js → stateDiagram-v2-MP3YSRHH-DBHACnOo.js} +2 -2
- package/dist/{swimlanes-42K2YHIH-SL5yeGe2.js → swimlanes-42K2YHIH-ogImlOmp.js} +1 -1
- package/dist/{swimlanesDiagram-VR7AAH4N-DqPmAYUv.js → swimlanesDiagram-VR7AAH4N-D6x-zsci.js} +2 -2
- package/dist/{timeline-definition-24CTP7MA-BfXUMWkq.js → timeline-definition-24CTP7MA-DQpLtsHD.js} +1 -1
- package/dist/{toDate-TMubKIVL.js → toDate-CDzoofJo.js} +2 -2
- package/dist/{toast-Btbve3Lm.js → toast-B5t9o6s_.js} +47 -47
- package/dist/{tooltip-CJ4Rqasp.js → tooltip-s4zZxwKe.js} +67 -67
- package/dist/{use-restore-focus-CmGwRNId.js → use-restore-focus-BgDTd2tc.js} +1 -1
- package/dist/{useAsyncData-DjMGFzFy.js → useAsyncData-Bn8SxUqM.js} +1 -1
- package/dist/{useDateFormatter-eCL_SdeG.js → useDateFormatter-D3Tkfzej.js} +2 -2
- package/dist/{useDeepCompareMemoize-BQR5TJot.js → useDeepCompareMemoize-CC2tnPCk.js} +1 -1
- package/dist/{useLifecycle-C_GvKWbQ.js → useLifecycle-BJlxHqWa.js} +2 -2
- package/dist/{useTheme-Bns2gJZ6.js → useTheme-DMfQYmlG.js} +85 -85
- package/dist/{vega-component-BsVptuhz.js → vega-component-CovWHi60.js} +7 -7
- package/dist/{vennDiagram-4TSXK5OY-CH65znGa.js → vennDiagram-4TSXK5OY-BD-SL_vq.js} +1 -1
- package/dist/{wardleyDiagram-VM6X3IG4-z9pWKb2_.js → wardleyDiagram-VM6X3IG4-BDgJV4ah.js} +1 -1
- package/dist/{xychartDiagram-S5SC5T6Z-MxyaWjjq.js → xychartDiagram-S5SC5T6Z-1hIHN6Rl.js} +1 -1
- package/package.json +1 -1
- package/src/core/cells/__tests__/cells.test.ts +80 -48
- package/src/core/cells/__tests__/document.test.ts +37 -3
- package/src/core/cells/cells.ts +38 -34
- package/src/core/cells/document.ts +31 -2
- package/src/core/edit-app.tsx +7 -4
- package/src/core/islands/__tests__/bootstrap.test.ts +56 -0
- package/src/core/islands/__tests__/bridge.test.ts +42 -0
- package/src/core/islands/bootstrap.ts +24 -1
- package/src/core/islands/bridge.ts +46 -3
- package/src/core/kernel/__tests__/handlers.test.ts +7 -153
- package/src/core/kernel/handlers.ts +18 -59
- package/src/core/run-app.tsx +1 -7
- package/src/core/session/__tests__/useNotebookSession.hook.test.tsx +0 -6
- package/src/core/session/useNotebookSession.tsx +24 -35
|
@@ -4,7 +4,7 @@ import { t as i } from "./react-sHtZdjeP.js";
|
|
|
4
4
|
import { t as a } from "./compiler-runtime-CldRdSsv.js";
|
|
5
5
|
import { t as o } from "./react-dom-DUmH0GXv.js";
|
|
6
6
|
import { t as s } from "./jsx-runtime-3BD1kT0s.js";
|
|
7
|
-
import {
|
|
7
|
+
import { $ as c, Ct as l, Dt as u, Et as d, Ot as f, Q as p, St as m, Tt as h, bt as g, ht as _, kt as v, tt as y, vt as b, wt as x } from "./use-restore-focus-BgDTd2tc.js";
|
|
8
8
|
//#region ../node_modules/.pnpm/lucide-react@0.577.0_react@19.3.0/node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
|
|
9
9
|
var S = /* @__PURE__ */ e(i()), C = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), w = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), T = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), E = (e) => {
|
|
10
10
|
let t = T(e);
|
|
@@ -55,7 +55,7 @@ var S = /* @__PURE__ */ e(i()), C = (...e) => e.filter((e, t, n) => !!e && e.tri
|
|
|
55
55
|
whiteSpace: "nowrap",
|
|
56
56
|
wordWrap: "normal"
|
|
57
57
|
}), te = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ N(function(e, t) {
|
|
58
|
-
return /* @__PURE__ */ (0, j.jsx)(
|
|
58
|
+
return /* @__PURE__ */ (0, j.jsx)(v.span, {
|
|
59
59
|
...e,
|
|
60
60
|
ref: t,
|
|
61
61
|
style: {
|
|
@@ -69,7 +69,7 @@ var S = /* @__PURE__ */ e(i()), C = (...e) => e.filter((e, t, n) => !!e && e.tri
|
|
|
69
69
|
});
|
|
70
70
|
function ie(e) {
|
|
71
71
|
let [t, n] = S.useState(void 0);
|
|
72
|
-
return
|
|
72
|
+
return u(() => {
|
|
73
73
|
if (e) {
|
|
74
74
|
n({
|
|
75
75
|
width: e.offsetWidth,
|
|
@@ -1202,23 +1202,23 @@ var Xt = (e) => {
|
|
|
1202
1202
|
children: n
|
|
1203
1203
|
});
|
|
1204
1204
|
}, "Popper"), mn = "PopperAnchor", hn = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ Q(function(e, t) {
|
|
1205
|
-
let { __scopePopper: n, virtualRef: i, ...a } = e, o = fn(mn, n), s = S.useRef(null), c = o.onAnchorChange,
|
|
1205
|
+
let { __scopePopper: n, virtualRef: i, ...a } = e, o = fn(mn, n), s = S.useRef(null), c = o.onAnchorChange, l = S.useCallback((e) => {
|
|
1206
1206
|
s.current = e, e && c(e);
|
|
1207
|
-
}, [c]),
|
|
1207
|
+
}, [c]), u = r(t, l), d = S.useRef(null);
|
|
1208
1208
|
S.useEffect(() => {
|
|
1209
1209
|
if (!i) return;
|
|
1210
|
-
let e =
|
|
1211
|
-
|
|
1210
|
+
let e = d.current;
|
|
1211
|
+
d.current = i.current, e !== d.current && c(d.current);
|
|
1212
1212
|
});
|
|
1213
|
-
let
|
|
1214
|
-
return i ? null : /* @__PURE__ */ (0, j.jsx)(
|
|
1215
|
-
"data-radix-popper-side":
|
|
1216
|
-
"data-radix-popper-align":
|
|
1213
|
+
let f = o.placementState && Sn(o.placementState), p = f?.[0], m = f?.[1];
|
|
1214
|
+
return i ? null : /* @__PURE__ */ (0, j.jsx)(v.div, {
|
|
1215
|
+
"data-radix-popper-side": p,
|
|
1216
|
+
"data-radix-popper-align": m,
|
|
1217
1217
|
...a,
|
|
1218
|
-
ref:
|
|
1218
|
+
ref: u
|
|
1219
1219
|
});
|
|
1220
1220
|
}, "PopperAnchor")), gn = "PopperContent", [_n, vn] = ln(gn), yn = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ Q(function(e, t) {
|
|
1221
|
-
let { __scopePopper: n, side: i = "bottom", sideOffset: a = 0, align: o = "center", alignOffset: s = 0, arrowPadding: c = 0, avoidCollisions:
|
|
1221
|
+
let { __scopePopper: n, side: i = "bottom", sideOffset: a = 0, align: o = "center", alignOffset: s = 0, arrowPadding: c = 0, avoidCollisions: l = !0, collisionBoundary: d = [], collisionPadding: f = 0, sticky: p = on.Partial, hideWhenDetached: h = !1, updatePositionStrategy: g = sn.Optimized, onPlaced: _, ...y } = e, b = fn(gn, n), [x, C] = S.useState(null), w = r(t, C), [T, E] = S.useState(null), D = ie(T), O = D?.width ?? 0, k = D?.height ?? 0, A = i + (o === "center" ? "" : "-" + o), ee = typeof f == "number" ? f : {
|
|
1222
1222
|
top: 0,
|
|
1223
1223
|
right: 0,
|
|
1224
1224
|
bottom: 0,
|
|
@@ -1231,20 +1231,20 @@ var Xt = (e) => {
|
|
|
1231
1231
|
}, { refs: te, floatingStyles: ne, placement: re, isPositioned: ae, middlewareData: F } = Yt({
|
|
1232
1232
|
strategy: "fixed",
|
|
1233
1233
|
placement: A,
|
|
1234
|
-
whileElementsMounted: /* @__PURE__ */ Q((...e) => Ft(...e, { animationFrame:
|
|
1235
|
-
elements: { reference:
|
|
1234
|
+
whileElementsMounted: /* @__PURE__ */ Q((...e) => Ft(...e, { animationFrame: g === sn.Always }), "whileElementsMounted"),
|
|
1235
|
+
elements: { reference: b.anchor },
|
|
1236
1236
|
middleware: [
|
|
1237
1237
|
Zt({
|
|
1238
1238
|
mainAxis: a + k,
|
|
1239
1239
|
alignmentAxis: s
|
|
1240
1240
|
}),
|
|
1241
|
-
|
|
1241
|
+
l && Qt({
|
|
1242
1242
|
mainAxis: !0,
|
|
1243
1243
|
crossAxis: !1,
|
|
1244
1244
|
...p === on.Partial ? { limiter: $t() } : {},
|
|
1245
1245
|
...P
|
|
1246
1246
|
}),
|
|
1247
|
-
|
|
1247
|
+
l && en({ ...P }),
|
|
1248
1248
|
tn({
|
|
1249
1249
|
...P,
|
|
1250
1250
|
apply: /* @__PURE__ */ Q(({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
|
|
@@ -1260,7 +1260,7 @@ var Xt = (e) => {
|
|
|
1260
1260
|
arrowWidth: O,
|
|
1261
1261
|
arrowHeight: k
|
|
1262
1262
|
}),
|
|
1263
|
-
|
|
1263
|
+
h && nn(N ? {
|
|
1264
1264
|
strategy: "referenceHidden",
|
|
1265
1265
|
...P
|
|
1266
1266
|
} : {
|
|
@@ -1269,18 +1269,18 @@ var Xt = (e) => {
|
|
|
1269
1269
|
altBoundary: P.altBoundary
|
|
1270
1270
|
})
|
|
1271
1271
|
]
|
|
1272
|
-
}), I =
|
|
1273
|
-
|
|
1272
|
+
}), I = b.setPlacementState;
|
|
1273
|
+
u(() => (I(re), () => {
|
|
1274
1274
|
I(void 0);
|
|
1275
1275
|
}), [re, I]);
|
|
1276
|
-
let [L, R] = Sn(re), z =
|
|
1277
|
-
|
|
1276
|
+
let [L, R] = Sn(re), z = m(_);
|
|
1277
|
+
u(() => {
|
|
1278
1278
|
ae && z?.();
|
|
1279
1279
|
}, [ae, z]);
|
|
1280
1280
|
let oe = F.arrow?.x, se = F.arrow?.y, ce = F.arrow?.centerOffset !== 0, [B, V] = S.useState();
|
|
1281
|
-
return
|
|
1282
|
-
|
|
1283
|
-
}, [
|
|
1281
|
+
return u(() => {
|
|
1282
|
+
x && V(window.getComputedStyle(x).zIndex);
|
|
1283
|
+
}, [x]), /* @__PURE__ */ (0, j.jsx)("div", {
|
|
1284
1284
|
ref: te.setFloating,
|
|
1285
1285
|
"data-radix-popper-content-wrapper": "",
|
|
1286
1286
|
style: {
|
|
@@ -1303,14 +1303,14 @@ var Xt = (e) => {
|
|
|
1303
1303
|
arrowX: oe,
|
|
1304
1304
|
arrowY: se,
|
|
1305
1305
|
shouldHideArrow: ce,
|
|
1306
|
-
children: /* @__PURE__ */ (0, j.jsx)(
|
|
1306
|
+
children: /* @__PURE__ */ (0, j.jsx)(v.div, {
|
|
1307
1307
|
"data-side": L,
|
|
1308
1308
|
"data-align": R,
|
|
1309
|
-
...
|
|
1309
|
+
...y,
|
|
1310
1310
|
ref: w,
|
|
1311
1311
|
style: {
|
|
1312
|
-
...
|
|
1313
|
-
animation: ae ?
|
|
1312
|
+
...y.style,
|
|
1313
|
+
animation: ae ? y.style?.animation : "none"
|
|
1314
1314
|
}
|
|
1315
1315
|
})
|
|
1316
1316
|
})
|
|
@@ -1368,7 +1368,7 @@ var Cn = Object.defineProperty, $ = (e, t) => Cn(e, "name", {
|
|
|
1368
1368
|
children: a
|
|
1369
1369
|
});
|
|
1370
1370
|
}, "TooltipProvider"), Nn = "Tooltip", [Pn, Fn] = wn(Nn), In = /* @__PURE__ */ $((e) => {
|
|
1371
|
-
let { __scopeTooltip: t, children: n, open: r, defaultOpen: i, onOpenChange: a, disableHoverableContent: o, delayDuration: s } = e, c = jn(Nn, e.__scopeTooltip),
|
|
1371
|
+
let { __scopeTooltip: t, children: n, open: r, defaultOpen: i, onOpenChange: a, disableHoverableContent: o, delayDuration: s } = e, c = jn(Nn, e.__scopeTooltip), u = En(t), [d, f] = S.useState(null), [p, m] = S.useState(void 0), g = l(), _ = S.useRef(0), v = o ?? c.disableHoverableContent, y = s ?? c.delayDuration, b = S.useRef(!1), [x, C] = h({
|
|
1372
1372
|
prop: r,
|
|
1373
1373
|
defaultProp: i ?? !1,
|
|
1374
1374
|
onChange: /* @__PURE__ */ $((e) => {
|
|
@@ -1387,16 +1387,16 @@ var Cn = Object.defineProperty, $ = (e, t) => Cn(e, "name", {
|
|
|
1387
1387
|
S.useEffect(() => () => {
|
|
1388
1388
|
_.current &&= (window.clearTimeout(_.current), 0);
|
|
1389
1389
|
}, []);
|
|
1390
|
-
let O = p ??
|
|
1390
|
+
let O = p ?? g;
|
|
1391
1391
|
return /* @__PURE__ */ (0, j.jsx)(pn, {
|
|
1392
|
-
...
|
|
1392
|
+
...u,
|
|
1393
1393
|
children: /* @__PURE__ */ (0, j.jsx)(Pn, {
|
|
1394
1394
|
scope: t,
|
|
1395
1395
|
contentId: O,
|
|
1396
1396
|
setContentId: m,
|
|
1397
1397
|
open: x,
|
|
1398
1398
|
stateAttribute: w,
|
|
1399
|
-
trigger:
|
|
1399
|
+
trigger: d,
|
|
1400
1400
|
onTriggerChange: f,
|
|
1401
1401
|
onTriggerEnter: S.useCallback(() => {
|
|
1402
1402
|
c.isOpenDelayedRef.current ? D() : T();
|
|
@@ -1415,29 +1415,29 @@ var Cn = Object.defineProperty, $ = (e, t) => Cn(e, "name", {
|
|
|
1415
1415
|
})
|
|
1416
1416
|
});
|
|
1417
1417
|
}, "Tooltip"), Ln = "TooltipTrigger", Rn = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ $(function(e, t) {
|
|
1418
|
-
let { __scopeTooltip: n, "aria-describedby": i, ...a } = e, o = Fn(Ln, n), s = jn(Ln, n),
|
|
1419
|
-
return S.useEffect(() => () => document.removeEventListener("pointerup",
|
|
1418
|
+
let { __scopeTooltip: n, "aria-describedby": i, ...a } = e, o = Fn(Ln, n), s = jn(Ln, n), c = En(n), l = S.useRef(null), u = r(t, l, o.onTriggerChange), f = S.useRef(!1), p = S.useRef(!1), m = S.useCallback(() => f.current = !1, []);
|
|
1419
|
+
return S.useEffect(() => () => document.removeEventListener("pointerup", m), [m]), /* @__PURE__ */ (0, j.jsx)(hn, {
|
|
1420
1420
|
asChild: !0,
|
|
1421
|
-
...
|
|
1422
|
-
children: /* @__PURE__ */ (0, j.jsx)(
|
|
1421
|
+
...c,
|
|
1422
|
+
children: /* @__PURE__ */ (0, j.jsx)(v.button, {
|
|
1423
1423
|
"aria-describedby": o.open ? er(i, o.contentId) : i,
|
|
1424
1424
|
"data-state": o.stateAttribute,
|
|
1425
1425
|
...a,
|
|
1426
|
-
ref:
|
|
1427
|
-
onPointerMove:
|
|
1428
|
-
e.pointerType !== "touch" && !
|
|
1426
|
+
ref: u,
|
|
1427
|
+
onPointerMove: d(e.onPointerMove, (e) => {
|
|
1428
|
+
e.pointerType !== "touch" && !p.current && !s.isPointerInTransitRef.current && (o.onTriggerEnter(), p.current = !0);
|
|
1429
1429
|
}),
|
|
1430
|
-
onPointerLeave:
|
|
1431
|
-
o.onTriggerLeave(),
|
|
1430
|
+
onPointerLeave: d(e.onPointerLeave, () => {
|
|
1431
|
+
o.onTriggerLeave(), p.current = !1;
|
|
1432
1432
|
}),
|
|
1433
|
-
onPointerDown:
|
|
1434
|
-
o.open && o.onClose(),
|
|
1433
|
+
onPointerDown: d(e.onPointerDown, () => {
|
|
1434
|
+
o.open && o.onClose(), f.current = !0, document.addEventListener("pointerup", m, { once: !0 });
|
|
1435
1435
|
}),
|
|
1436
|
-
onFocus:
|
|
1437
|
-
|
|
1436
|
+
onFocus: d(e.onFocus, () => {
|
|
1437
|
+
f.current || o.onOpen();
|
|
1438
1438
|
}),
|
|
1439
|
-
onBlur:
|
|
1440
|
-
onClick:
|
|
1439
|
+
onBlur: d(e.onBlur, o.onClose),
|
|
1440
|
+
onClick: d(e.onClick, o.onClose)
|
|
1441
1441
|
})
|
|
1442
1442
|
});
|
|
1443
1443
|
}, "TooltipTrigger")), zn = "TooltipPortal", [Bn, Vn] = wn(zn, { forceMount: void 0 }), Hn = /* @__PURE__ */ $((e) => {
|
|
@@ -1445,7 +1445,7 @@ var Cn = Object.defineProperty, $ = (e, t) => Cn(e, "name", {
|
|
|
1445
1445
|
return /* @__PURE__ */ (0, j.jsx)(Bn, {
|
|
1446
1446
|
scope: t,
|
|
1447
1447
|
forceMount: n,
|
|
1448
|
-
children: /* @__PURE__ */ (0, j.jsx)(
|
|
1448
|
+
children: /* @__PURE__ */ (0, j.jsx)(x, {
|
|
1449
1449
|
present: n || a.open,
|
|
1450
1450
|
children: /* @__PURE__ */ (0, j.jsx)(_, {
|
|
1451
1451
|
asChild: !0,
|
|
@@ -1456,7 +1456,7 @@ var Cn = Object.defineProperty, $ = (e, t) => Cn(e, "name", {
|
|
|
1456
1456
|
});
|
|
1457
1457
|
}, "TooltipPortal"), Un = "TooltipContent", Wn = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ $(function(e, t) {
|
|
1458
1458
|
let n = Vn(Un, e.__scopeTooltip), { forceMount: r = n.forceMount, side: i = "top", ...a } = e, o = Fn(Un, e.__scopeTooltip);
|
|
1459
|
-
return /* @__PURE__ */ (0, j.jsx)(
|
|
1459
|
+
return /* @__PURE__ */ (0, j.jsx)(x, {
|
|
1460
1460
|
present: r || o.open,
|
|
1461
1461
|
children: o.disableHoverableContent ? /* @__PURE__ */ (0, j.jsx)(qn, {
|
|
1462
1462
|
side: i,
|
|
@@ -1512,32 +1512,32 @@ var Cn = Object.defineProperty, $ = (e, t) => Cn(e, "name", {
|
|
|
1512
1512
|
ref: o
|
|
1513
1513
|
});
|
|
1514
1514
|
}, "TooltipContentHoverable")), Kn = t("TooltipContent"), qn = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ $(function(e, t) {
|
|
1515
|
-
let { __scopeTooltip: n, children: i, "aria-label": a, id: o, onEscapeKeyDown: s, onPointerDownOutside: c, ...l } = e,
|
|
1516
|
-
|
|
1517
|
-
if (
|
|
1515
|
+
let { __scopeTooltip: n, children: i, "aria-label": a, id: o, onEscapeKeyDown: s, onPointerDownOutside: c, ...l } = e, d = Fn(Un, n), f = En(n), { onClose: p } = d, [m, h] = S.useState(null), _ = r(t, h);
|
|
1516
|
+
b(m), S.useEffect(() => (document.addEventListener(kn, p), () => document.removeEventListener(kn, p)), [p]), S.useEffect(() => {
|
|
1517
|
+
if (d.trigger) {
|
|
1518
1518
|
let e = /* @__PURE__ */ $((e) => {
|
|
1519
|
-
e.target instanceof Node && e.target.contains(
|
|
1519
|
+
e.target instanceof Node && e.target.contains(d.trigger) && p();
|
|
1520
1520
|
}, "handleScroll");
|
|
1521
1521
|
return window.addEventListener("scroll", e, { capture: !0 }), () => window.removeEventListener("scroll", e, { capture: !0 });
|
|
1522
1522
|
}
|
|
1523
|
-
}, [
|
|
1524
|
-
let { setContentId:
|
|
1525
|
-
return
|
|
1526
|
-
|
|
1527
|
-
}), [o,
|
|
1523
|
+
}, [d.trigger, p]);
|
|
1524
|
+
let { setContentId: v } = d;
|
|
1525
|
+
return u(() => (v(o), () => {
|
|
1526
|
+
v(void 0);
|
|
1527
|
+
}), [o, v]), /* @__PURE__ */ (0, j.jsx)(g, {
|
|
1528
1528
|
asChild: !0,
|
|
1529
1529
|
disableOutsidePointerEvents: !1,
|
|
1530
1530
|
onEscapeKeyDown: s,
|
|
1531
1531
|
onPointerDownOutside: c,
|
|
1532
1532
|
onFocusOutside: (e) => e.preventDefault(),
|
|
1533
|
-
onDismiss:
|
|
1533
|
+
onDismiss: p,
|
|
1534
1534
|
children: /* @__PURE__ */ (0, j.jsxs)(yn, {
|
|
1535
|
-
"data-state":
|
|
1535
|
+
"data-state": d.stateAttribute,
|
|
1536
1536
|
role: a ? void 0 : "tooltip",
|
|
1537
|
-
id: a ? void 0 :
|
|
1538
|
-
...
|
|
1537
|
+
id: a ? void 0 : d.contentId,
|
|
1538
|
+
...f,
|
|
1539
1539
|
...l,
|
|
1540
|
-
ref:
|
|
1540
|
+
ref: _,
|
|
1541
1541
|
style: {
|
|
1542
1542
|
...l.style,
|
|
1543
1543
|
"--radix-tooltip-content-transform-origin": "var(--radix-popper-transform-origin)",
|
|
@@ -1547,7 +1547,7 @@ var Cn = Object.defineProperty, $ = (e, t) => Cn(e, "name", {
|
|
|
1547
1547
|
"--radix-tooltip-trigger-height": "var(--radix-popper-anchor-height)"
|
|
1548
1548
|
},
|
|
1549
1549
|
children: [/* @__PURE__ */ (0, j.jsx)(Kn, { children: i }), a ? /* @__PURE__ */ (0, j.jsx)(te, {
|
|
1550
|
-
id:
|
|
1550
|
+
id: d.contentId,
|
|
1551
1551
|
role: "tooltip",
|
|
1552
1552
|
children: a
|
|
1553
1553
|
}) : null]
|
|
@@ -1684,13 +1684,13 @@ var tr = a(), nr = (e) => {
|
|
|
1684
1684
|
delayDuration: i,
|
|
1685
1685
|
...n
|
|
1686
1686
|
}), t[3] = i, t[4] = n, t[5] = a) : a = t[5], a;
|
|
1687
|
-
}, rr =
|
|
1687
|
+
}, rr = p(Hn), ir = In, ar = c(Wn), or = Rn, sr = S.forwardRef((e, t) => {
|
|
1688
1688
|
let r = (0, tr.c)(11), i, a, o;
|
|
1689
1689
|
r[0] === e ? (i = r[1], a = r[2], o = r[3]) : ({className: i, sideOffset: o, ...a} = e, r[0] = e, r[1] = i, r[2] = a, r[3] = o);
|
|
1690
1690
|
let s = o === void 0 ? 4 : o, c;
|
|
1691
1691
|
r[4] === i ? c = r[5] : (c = n("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-xs data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1", i), r[4] = i, r[5] = c);
|
|
1692
1692
|
let l;
|
|
1693
|
-
return r[6] !== a || r[7] !== t || r[8] !== s || r[9] !== c ? (l = /* @__PURE__ */ (0, j.jsx)(
|
|
1693
|
+
return r[6] !== a || r[7] !== t || r[8] !== s || r[9] !== c ? (l = /* @__PURE__ */ (0, j.jsx)(y, { children: /* @__PURE__ */ (0, j.jsx)(ar, {
|
|
1694
1694
|
ref: t,
|
|
1695
1695
|
sideOffset: s,
|
|
1696
1696
|
className: c,
|
|
@@ -6415,4 +6415,4 @@ function ep() {
|
|
|
6415
6415
|
}, e[1] = t, e[2] = a), a;
|
|
6416
6416
|
}
|
|
6417
6417
|
//#endregion
|
|
6418
|
-
export {
|
|
6418
|
+
export { Dr as $, lf as A, m as At, ef as B, of as C, Me as Ct, Kd as D, y as Dt, pf as E, x as Et, Df as F, Qc as G, nd as H, yf as I, qi as J, wc as K, yd as L, nf as M, Wd as N, qf as O, v as Ot, cf as P, Er as Q, _f as R, Qd as S, Ie as St, Yf as T, he as Tt, Qu as U, od as V, al as W, xr as X, br as Y, Tr as Z, Q as _, rt as _t, rf as a, dr as at, $f as b, Ue as bt, bf as c, ur as ct, Ud as d, Hn as dt, vr as et, sf as f, Nn as ft, gf as g, tt as gt, vd as h, _t as ht, qd as i, or as it, Vf as j, Cf as k, p as kt, bd as l, Xn as lt, Hf as m, Ct as mt, Zd as n, Jn as nt, Mf as o, nr as ot, Ef as p, Et as pt, qc as q, af as r, pr as rt, ff as s, er as st, ep as t, _r as tt, Sf as u, Kn as ut, uf as v, at as vt, Jd as w, Se as wt, Xd as x, We as xt, xf as y, it as yt, df as z };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
2
2
|
import { t } from "./react-sHtZdjeP.js";
|
|
3
3
|
import { t as n } from "./compiler-runtime-CldRdSsv.js";
|
|
4
|
-
import { A as r } from "./useTheme-
|
|
4
|
+
import { A as r } from "./useTheme-DMfQYmlG.js";
|
|
5
5
|
import { t as i } from "./invariant-DLmrl-hA.js";
|
|
6
6
|
//#region src/hooks/useAsyncData.ts
|
|
7
7
|
var a = n(), o = /* @__PURE__ */ e(t(), 1), s = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
2
2
|
import { t } from "./react-sHtZdjeP.js";
|
|
3
|
-
import { m as n } from "./tooltip-
|
|
4
|
-
import { i as r } from "./label-
|
|
3
|
+
import { m as n } from "./tooltip-s4zZxwKe.js";
|
|
4
|
+
import { i as r } from "./label-Qvw1E97W.js";
|
|
5
5
|
var i = n("chart-pie", [["path", {
|
|
6
6
|
d: "M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",
|
|
7
7
|
key: "pzmjnu"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
2
2
|
import { t } from "./react-sHtZdjeP.js";
|
|
3
|
-
import { b as n } from "./useTheme-
|
|
3
|
+
import { b as n } from "./useTheme-DMfQYmlG.js";
|
|
4
4
|
//#region src/hooks/useDeepCompareMemoize.ts
|
|
5
5
|
var r = /* @__PURE__ */ e(t(), 1);
|
|
6
6
|
function i(e) {
|
|
@@ -2,9 +2,9 @@ import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
|
2
2
|
import { g as t, h as n, r } from "./button-BQRdqQi1.js";
|
|
3
3
|
import { t as i } from "./react-sHtZdjeP.js";
|
|
4
4
|
import { t as a } from "./compiler-runtime-CldRdSsv.js";
|
|
5
|
-
import { m as o } from "./tooltip-
|
|
5
|
+
import { m as o } from "./tooltip-s4zZxwKe.js";
|
|
6
6
|
import { t as s } from "./jsx-runtime-3BD1kT0s.js";
|
|
7
|
-
import { D as c, T as l } from "./useTheme-
|
|
7
|
+
import { D as c, T as l } from "./useTheme-DMfQYmlG.js";
|
|
8
8
|
var u = o("calendar", [
|
|
9
9
|
["path", {
|
|
10
10
|
d: "M8 2v4",
|
|
@@ -2,7 +2,7 @@ import { a as e, r as t } from "./rolldown-runtime-Cb76FRpK.js";
|
|
|
2
2
|
import { a as n, g as r, s as i } from "./button-BQRdqQi1.js";
|
|
3
3
|
import { t as a } from "./react-sHtZdjeP.js";
|
|
4
4
|
import { t as o } from "./compiler-runtime-CldRdSsv.js";
|
|
5
|
-
import {
|
|
5
|
+
import { A as s, C as c, I as l, L as u, N as d, P as f, w as p, y as m, z as h } from "./use-restore-focus-BgDTd2tc.js";
|
|
6
6
|
import { l as g, t as _ } from "./_baseMerge-BiGRwuqv.js";
|
|
7
7
|
//#region ../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/mergeWith.js
|
|
8
8
|
var v = g(function(e, t, n, r) {
|
|
@@ -610,80 +610,80 @@ var ze = [
|
|
|
610
610
|
"ask",
|
|
611
611
|
"agent",
|
|
612
612
|
"code_mode"
|
|
613
|
-
], J =
|
|
614
|
-
api_key:
|
|
615
|
-
base_url:
|
|
616
|
-
project:
|
|
617
|
-
}).loose(), Ge =
|
|
618
|
-
chat_model:
|
|
619
|
-
edit_model:
|
|
620
|
-
autocomplete_model:
|
|
621
|
-
displayed_models:
|
|
622
|
-
custom_models:
|
|
623
|
-
}), Ke =
|
|
624
|
-
completion:
|
|
625
|
-
activate_on_typing:
|
|
626
|
-
signature_hint_on_typing:
|
|
627
|
-
auto_close_pairs:
|
|
628
|
-
copilot:
|
|
613
|
+
], J = f({
|
|
614
|
+
api_key: u().optional(),
|
|
615
|
+
base_url: u().optional(),
|
|
616
|
+
project: u().optional()
|
|
617
|
+
}).loose(), Ge = f({
|
|
618
|
+
chat_model: u().nullish(),
|
|
619
|
+
edit_model: u().nullish(),
|
|
620
|
+
autocomplete_model: u().nullish(),
|
|
621
|
+
displayed_models: c(u()).default([]),
|
|
622
|
+
custom_models: c(u()).default([])
|
|
623
|
+
}), Ke = s({
|
|
624
|
+
completion: f({
|
|
625
|
+
activate_on_typing: p().prefault(!0),
|
|
626
|
+
signature_hint_on_typing: p().prefault(!1),
|
|
627
|
+
auto_close_pairs: p().prefault(!0),
|
|
628
|
+
copilot: h([p(), m([
|
|
629
629
|
"github",
|
|
630
630
|
"codeium",
|
|
631
631
|
"custom"
|
|
632
632
|
])]).prefault(!1).transform((e) => e === !0 ? "github" : e),
|
|
633
|
-
codeium_api_key:
|
|
633
|
+
codeium_api_key: u().nullish()
|
|
634
634
|
}).prefault({}),
|
|
635
|
-
save:
|
|
636
|
-
autosave:
|
|
637
|
-
autosave_delay:
|
|
638
|
-
format_on_save:
|
|
635
|
+
save: s({
|
|
636
|
+
autosave: m(["off", "after_delay"]).prefault("after_delay"),
|
|
637
|
+
autosave_delay: d().nonnegative().transform((e) => Math.max(e, 1e3)).prefault(1e3),
|
|
638
|
+
format_on_save: p().prefault(!1)
|
|
639
639
|
}).prefault({}),
|
|
640
|
-
formatting:
|
|
641
|
-
line_length:
|
|
642
|
-
infer_types:
|
|
640
|
+
formatting: s({
|
|
641
|
+
line_length: d().nonnegative().prefault(79).transform((e) => Math.min(e, 1e3)),
|
|
642
|
+
infer_types: m(Ue).prefault("off")
|
|
643
643
|
}).prefault({}),
|
|
644
|
-
keymap:
|
|
645
|
-
preset:
|
|
646
|
-
overrides:
|
|
647
|
-
destructive_delete:
|
|
644
|
+
keymap: s({
|
|
645
|
+
preset: m(["default", "vim"]).prefault("default"),
|
|
646
|
+
overrides: l(u(), u()).prefault({}),
|
|
647
|
+
destructive_delete: p().prefault(!0)
|
|
648
648
|
}).prefault({}),
|
|
649
|
-
runtime:
|
|
650
|
-
auto_instantiate:
|
|
651
|
-
on_cell_change:
|
|
652
|
-
auto_reload:
|
|
649
|
+
runtime: s({
|
|
650
|
+
auto_instantiate: p().prefault(!0),
|
|
651
|
+
on_cell_change: m(["lazy", "autorun"]).prefault("autorun"),
|
|
652
|
+
auto_reload: m([
|
|
653
653
|
"off",
|
|
654
654
|
"lazy",
|
|
655
655
|
"autorun"
|
|
656
656
|
]).prefault("off"),
|
|
657
|
-
reactive_tests:
|
|
658
|
-
watcher_on_save:
|
|
659
|
-
default_sql_output:
|
|
660
|
-
default_auto_download:
|
|
661
|
-
show_tracebacks:
|
|
657
|
+
reactive_tests: p().prefault(!0),
|
|
658
|
+
watcher_on_save: m(["lazy", "autorun"]).prefault("lazy"),
|
|
659
|
+
default_sql_output: m(Ve).prefault("auto"),
|
|
660
|
+
default_auto_download: c(m(He)).prefault([]),
|
|
661
|
+
show_tracebacks: p().prefault(!1)
|
|
662
662
|
}).prefault({}),
|
|
663
|
-
display:
|
|
664
|
-
theme:
|
|
663
|
+
display: s({
|
|
664
|
+
theme: m([
|
|
665
665
|
"light",
|
|
666
666
|
"dark",
|
|
667
667
|
"system"
|
|
668
668
|
]).prefault("light"),
|
|
669
|
-
code_editor_font_size:
|
|
670
|
-
cell_output:
|
|
671
|
-
dataframes:
|
|
672
|
-
default_table_page_size:
|
|
673
|
-
default_table_max_columns:
|
|
674
|
-
default_width:
|
|
675
|
-
locale:
|
|
676
|
-
reference_highlighting:
|
|
677
|
-
code_lens:
|
|
669
|
+
code_editor_font_size: d().nonnegative().prefault(14),
|
|
670
|
+
cell_output: m(["above", "below"]).prefault("below"),
|
|
671
|
+
dataframes: m(["rich", "plain"]).prefault("rich"),
|
|
672
|
+
default_table_page_size: d().prefault(10),
|
|
673
|
+
default_table_max_columns: d().prefault(50),
|
|
674
|
+
default_width: m(Be).prefault("medium").transform((e) => e === "normal" ? "compact" : e),
|
|
675
|
+
locale: u().nullable().optional(),
|
|
676
|
+
reference_highlighting: p().prefault(!0),
|
|
677
|
+
code_lens: p().prefault(!0)
|
|
678
678
|
}).prefault({}),
|
|
679
|
-
package_management:
|
|
680
|
-
ai:
|
|
681
|
-
enabled:
|
|
682
|
-
rules:
|
|
683
|
-
max_tokens:
|
|
684
|
-
mode:
|
|
685
|
-
inline_tooltip:
|
|
686
|
-
allow_provider_config:
|
|
679
|
+
package_management: s({ manager: m(ze).prefault("pip") }).prefault({}),
|
|
680
|
+
ai: s({
|
|
681
|
+
enabled: p().prefault(!0),
|
|
682
|
+
rules: u().prefault(""),
|
|
683
|
+
max_tokens: d().int().positive().nullable().optional(),
|
|
684
|
+
mode: m(We).prefault("manual"),
|
|
685
|
+
inline_tooltip: p().prefault(!1),
|
|
686
|
+
allow_provider_config: p().prefault(!0),
|
|
687
687
|
open_ai: J.optional(),
|
|
688
688
|
github: J.optional(),
|
|
689
689
|
anthropic: J.optional(),
|
|
@@ -694,40 +694,40 @@ var ze = [
|
|
|
694
694
|
opencode_go: J.optional(),
|
|
695
695
|
open_ai_compatible: J.optional(),
|
|
696
696
|
azure: J.optional(),
|
|
697
|
-
bedrock:
|
|
698
|
-
region_name:
|
|
699
|
-
profile_name:
|
|
700
|
-
aws_access_key_id:
|
|
701
|
-
aws_secret_access_key:
|
|
697
|
+
bedrock: s({
|
|
698
|
+
region_name: u().optional(),
|
|
699
|
+
profile_name: u().optional(),
|
|
700
|
+
aws_access_key_id: u().optional(),
|
|
701
|
+
aws_secret_access_key: u().optional()
|
|
702
702
|
}).optional(),
|
|
703
|
-
custom_providers:
|
|
703
|
+
custom_providers: l(u(), J).prefault({}),
|
|
704
704
|
models: Ge.prefault({
|
|
705
705
|
displayed_models: [],
|
|
706
706
|
custom_models: []
|
|
707
707
|
})
|
|
708
708
|
}).prefault({}),
|
|
709
|
-
experimental:
|
|
710
|
-
markdown:
|
|
711
|
-
rtc:
|
|
709
|
+
experimental: s({
|
|
710
|
+
markdown: p().optional(),
|
|
711
|
+
rtc: p().optional()
|
|
712
712
|
}).prefault(() => ({})),
|
|
713
|
-
server:
|
|
714
|
-
disable_file_downloads:
|
|
715
|
-
transport:
|
|
713
|
+
server: s({
|
|
714
|
+
disable_file_downloads: p().optional(),
|
|
715
|
+
transport: m(["websocket", "sse"]).optional()
|
|
716
716
|
}).prefault(() => ({})),
|
|
717
|
-
diagnostics:
|
|
718
|
-
enabled:
|
|
719
|
-
sql_linter:
|
|
717
|
+
diagnostics: s({
|
|
718
|
+
enabled: p().optional(),
|
|
719
|
+
sql_linter: p().optional()
|
|
720
720
|
}).prefault(() => ({})),
|
|
721
|
-
file_browser:
|
|
722
|
-
path:
|
|
723
|
-
name:
|
|
721
|
+
file_browser: s({ folders: c(f({
|
|
722
|
+
path: u(),
|
|
723
|
+
name: u().optional()
|
|
724
724
|
})).optional() }).optional().prefault({}),
|
|
725
|
-
sharing:
|
|
726
|
-
html:
|
|
727
|
-
wasm:
|
|
728
|
-
molab:
|
|
725
|
+
sharing: s({
|
|
726
|
+
html: p().optional(),
|
|
727
|
+
wasm: p().optional(),
|
|
728
|
+
molab: p().optional()
|
|
729
729
|
}).optional(),
|
|
730
|
-
mcp:
|
|
730
|
+
mcp: s({ presets: c(m(["marimo", "context7"])).optional() }).optional().prefault({})
|
|
731
731
|
}).partial().prefault(() => ({
|
|
732
732
|
completion: {},
|
|
733
733
|
save: {},
|
|
@@ -742,12 +742,12 @@ var ze = [
|
|
|
742
742
|
ai: {},
|
|
743
743
|
package_management: {},
|
|
744
744
|
mcp: {}
|
|
745
|
-
})), qe =
|
|
746
|
-
width:
|
|
745
|
+
})), qe = u(), Je = m(Ve).prefault("auto"), Y = f({
|
|
746
|
+
width: m(Be).prefault("medium").transform((e) => e === "normal" ? "compact" : e),
|
|
747
747
|
app_title: qe.nullish(),
|
|
748
|
-
css_file:
|
|
749
|
-
html_head_file:
|
|
750
|
-
auto_download:
|
|
748
|
+
css_file: u().nullish(),
|
|
749
|
+
html_head_file: u().nullish(),
|
|
750
|
+
auto_download: c(m(He)).prefault([]),
|
|
751
751
|
sql_output: Je
|
|
752
752
|
}).prefault(() => ({
|
|
753
753
|
width: "medium",
|
|
@@ -2,21 +2,21 @@ import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
|
2
2
|
import { g as t, h as n, m as r, o as i } from "./button-BQRdqQi1.js";
|
|
3
3
|
import { t as a } from "./react-sHtZdjeP.js";
|
|
4
4
|
import { t as o } from "./compiler-runtime-CldRdSsv.js";
|
|
5
|
-
import { t as s } from "./tooltip-
|
|
6
|
-
import { C as c, a as l } from "./toDate-
|
|
5
|
+
import { t as s } from "./tooltip-s4zZxwKe.js";
|
|
6
|
+
import { C as c, a as l } from "./toDate-CDzoofJo.js";
|
|
7
7
|
import { t as u } from "./jsx-runtime-3BD1kT0s.js";
|
|
8
|
-
import { n as d } from "./error-banner-
|
|
8
|
+
import { n as d } from "./error-banner-DxJ3s8YO.js";
|
|
9
9
|
import { t as f } from "./debounce-C3jyATpc.js";
|
|
10
|
-
import { A as p, n as ee } from "./useTheme-
|
|
10
|
+
import { A as p, n as ee } from "./useTheme-DMfQYmlG.js";
|
|
11
11
|
import { c as m, t as h } from "./arrays-R6JsImiT.js";
|
|
12
12
|
import { t as te } from "./objects-DCmMvZtn.js";
|
|
13
|
-
import { t as ne } from "./useAsyncData-
|
|
14
|
-
import { a as g, i as re, n as ie, t as ae } from "./formats-
|
|
13
|
+
import { t as ne } from "./useAsyncData-Bn8SxUqM.js";
|
|
14
|
+
import { a as g, i as re, n as ie, t as ae } from "./formats-DI7HEVv7.js";
|
|
15
15
|
import { t as _ } from "./semaphore-89jsoHtS.js";
|
|
16
16
|
import { D as oe, n as se } from "./vega-loader.browser-B9Pz0EGP.js";
|
|
17
17
|
import { t as ce } from "./react-vega-C4T9Rb_w.js";
|
|
18
18
|
import { a as le, n as v } from "./loader-DOVB0Syl.js";
|
|
19
|
-
import { t as ue } from "./useDeepCompareMemoize-
|
|
19
|
+
import { t as ue } from "./useDeepCompareMemoize-CC2tnPCk.js";
|
|
20
20
|
import { t as de } from "./use-vega-container-remeasure-Bz4PZMtt.js";
|
|
21
21
|
//#region src/plugins/impl/vega/fix-relative-url.ts
|
|
22
22
|
var fe = /* @__PURE__ */ e(a(), 1), pe = o();
|
|
@@ -3,7 +3,7 @@ import { t } from "./src-CA_m4ONl.js";
|
|
|
3
3
|
import { n } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
4
4
|
import { $ as r, H as i, K as a, U as o, a as s, b as c, c as l, et as u, f as d, nt as f, tt as p, v as m, w as h, y as g } from "./chunk-DU6HZSFF-BwiyaNpg.js";
|
|
5
5
|
import { t as _ } from "./rough.esm-CtV9AnV1.js";
|
|
6
|
-
import { p as v } from "./mermaid-
|
|
6
|
+
import { p as v } from "./mermaid-CZ6FrClS.js";
|
|
7
7
|
//#region ../node_modules/.pnpm/khroma@2.1.0/node_modules/khroma/dist/methods/transparentize.js
|
|
8
8
|
var y = (e, t) => p(e, "a", -t), b = 1e-10;
|
|
9
9
|
function x(e, t) {
|
|
@@ -2,7 +2,7 @@ import { i as e } from "./chunk-75Z2AOVW-D7gxIs2Q.js";
|
|
|
2
2
|
import { n as t } from "./src-CA_m4ONl.js";
|
|
3
3
|
import { n } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
4
4
|
import { D as r, H as i, K as a, U as o, a as s, b as c, c as l, v as u, w as d, x as f, y as p } from "./chunk-DU6HZSFF-BwiyaNpg.js";
|
|
5
|
-
import { p as m } from "./mermaid-
|
|
5
|
+
import { p as m } from "./mermaid-CZ6FrClS.js";
|
|
6
6
|
import { n as h } from "./mermaid-parser.core-DxuSfYwJ.js";
|
|
7
7
|
import { t as g } from "./chunk-JWPE2WC7-DJvv1t8U.js";
|
|
8
8
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-VM6X3IG4.mjs
|