@marimo-team/islands 0.25.3-dev3 → 0.25.3-dev30
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-CNSxdKyJ.js → ConnectedDataExplorerComponent-7EaP9VWb.js} +12 -12
- package/dist/{ErrorBoundary-iHE9DnZC.js → ErrorBoundary-2Tp_7IgE.js} +8 -8
- package/dist/{abnfDiagram-VCTEODGH-DQDjNXt3.js → abnfDiagram-VCTEODGH-z_OSynK8.js} +2 -2
- package/dist/{any-language-editor-B9REGlD9.js → any-language-editor-D4q-IFcM.js} +2 -2
- package/dist/{architectureDiagram-5GKGNRK7-Nmls7Wxn.js → architectureDiagram-5GKGNRK7-Cs8J8BZr.js} +1 -1
- package/dist/{chat-ui-BDpymeoe.js → chat-ui-BeKQyQQI.js} +1151 -1152
- package/dist/{check-EDwSwP89.js → check-BMKBBrdc.js} +1 -1
- package/dist/{chunk-IMKFNOWR-CoIFEo-1.js → chunk-IMKFNOWR-aoSFasqF.js} +1 -1
- package/dist/{chunk-SHT3W25Y-lHiGx3ZC.js → chunk-SHT3W25Y-CMaybO3O.js} +1 -1
- package/dist/{chunk-SVP7TREG-BvsHIrY_.js → chunk-SVP7TREG-BNBrTAw1.js} +1 -1
- package/dist/{chunk-TICWLB2K-BC8YIm_n.js → chunk-TICWLB2K-DXNxvUJn.js} +1 -1
- package/dist/{chunk-YOKDWASO-DPZk8vhS.js → chunk-YOKDWASO-DKplTrBY.js} +20 -20
- package/dist/{classDiagram-ZZMXUADV-Bt98lkkv.js → classDiagram-ZZMXUADV-DXdCCDOg.js} +2 -2
- package/dist/{classDiagram-v2-VYDZK3BY-D9bfbcC3.js → classDiagram-v2-VYDZK3BY-DyZqrtLP.js} +2 -2
- package/dist/{code-visibility-BCpXa0Xh.js → code-visibility-891-xGjh.js} +16 -16
- package/dist/{common-BrBUdtPy.js → common-_IunO2z-.js} +5737 -5439
- package/dist/{copy-icon-Ft7t9bqz.js → copy-icon-BgUO8jsi.js} +2 -2
- package/dist/{cynefinDiagram-5FMLGOSQ-CgWra7wt.js → cynefinDiagram-5FMLGOSQ-DWHuKJs8.js} +1 -1
- package/dist/{dagre-GXQ25YYZ-CFZ8-35c.js → dagre-GXQ25YYZ-DYLu-OCU.js} +1 -1
- package/dist/{data-grid-overlay-editor-Ch2SgmvG.js → data-grid-overlay-editor-TVf1Kaxm.js} +5 -5
- package/dist/{data-grid-types-BH_r7g7l.js → data-grid-types-0PJ-9N5n.js} +1 -1
- package/dist/{diagram-S7CK7UJ4-lCNQrW7d.js → diagram-S7CK7UJ4-PwwcUOHP.js} +1 -1
- package/dist/{diagram-UQ7AKVKN-CQPQ6pP_.js → diagram-UQ7AKVKN-CvJbL_IM.js} +1 -1
- package/dist/{diagram-VX7I27RA-Cf3b0llz.js → diagram-VX7I27RA-B5RkqnzN.js} +1 -1
- package/dist/{diagram-Z3DM3KII-Bt4QLrpn.js → diagram-Z3DM3KII-CyijwTR2.js} +1 -1
- package/dist/{dialog-CEBFZNyc.js → dialog-Cc479ZEH.js} +24 -24
- package/dist/{dist-DpBpA_n1.js → dist-Lm-D-Vr6.js} +3 -3
- package/dist/{dropdown-menu-CP_qCYHC.js → dropdown-menu-BuE2b8Yb.js} +790 -790
- package/dist/{ebnfDiagram-PWID7BFC-D3NAyPFY.js → ebnfDiagram-PWID7BFC-DG90ELFp.js} +2 -2
- package/dist/{erDiagram-RLTQ6QDP-Tlu09_Nm.js → erDiagram-RLTQ6QDP-FMo_SpyX.js} +1 -1
- package/dist/{error-banner-Da600cwz.js → error-banner-CFPHFw4h.js} +26 -21
- package/dist/{cells-C8iCYvLU.js → error-entries-CnqKxhU9.js} +1370 -1314
- package/dist/{feedback-button-DxXNcC6q.js → feedback-button-DlBBr16w.js} +121 -122
- package/dist/{flowDiagram-HODETNUW-CAYbpJmV.js → flowDiagram-HODETNUW-DQ4JuadE.js} +2 -2
- package/dist/{formats-BGh2thRc.js → formats-DRHUWwSK.js} +2 -2
- package/dist/{ganttDiagram-EL5Y4UJY-BQT16JSc.js → ganttDiagram-EL5Y4UJY-Dh_4cBJZ.js} +2 -2
- package/dist/{glide-data-editor-BQ7uKbeo.js → glide-data-editor-ugYWecYd.js} +55 -55
- package/dist/{glide-utils-DJyqh0EM.js → glide-utils-pisbYVjH.js} +3 -3
- package/dist/{globals-DSavh2ZB.js → globals-BdBjL67a.js} +3 -3
- package/dist/{highlighted-body-KPVGNVTW-zwjq21tf.js → highlighted-body-KPVGNVTW-3Ziwfz-V.js} +2 -2
- package/dist/{html-to-image-CZY1pIZH.js → html-to-image-BsG_zyNW.js} +68 -68
- package/dist/{infoDiagram-27XIBGKW-XrDxhr0x.js → infoDiagram-27XIBGKW-CRSDtRrd.js} +1 -1
- package/dist/{ishikawaDiagram-5VMMS53U-CD1muzov.js → ishikawaDiagram-5VMMS53U-DxLEUldB.js} +1 -1
- package/dist/{kanban-definition-UXKFOSKX-Dg9W142_.js → kanban-definition-UXKFOSKX-BLhvu8o4.js} +1 -1
- package/dist/{label-BDKF3Afc.js → label-DoysmLMW.js} +1 -1
- package/dist/{linear-Cnaq3Tfb.js → linear-DWERh7eI.js} +121 -73
- package/dist/{loader-BQOfjTIJ.js → loader-BPdQhmlq.js} +10 -10
- package/dist/main.js +759 -759
- package/dist/{mermaid-CiAXjLpA.js → mermaid-Bjm6C1qN.js} +37 -37
- package/dist/mermaid-HWGCJPDP-Du3-HPQA.js +2 -0
- package/dist/{mindmap-definition-YA3MSWOX-DgCidgYJ.js → mindmap-definition-YA3MSWOX-g2LwxnYQ.js} +1 -1
- package/dist/{number-overlay-editor-D6kYaqh5.js → number-overlay-editor-I4AHjcHG.js} +3 -3
- package/dist/{pegDiagram-XKGWAZYB-coOYYKB6.js → pegDiagram-XKGWAZYB-CpMAt3Qs.js} +2 -2
- package/dist/{pieDiagram-E7YTZNPT-BnXTc3bj.js → pieDiagram-E7YTZNPT-CVTthoZo.js} +1 -1
- package/dist/precisionRound-DhAzeRcm.js +49 -0
- package/dist/{process-output-e4jj9Ijt.js → process-output-DgQrilBD.js} +5 -5
- package/dist/{quadrantDiagram-AXDQQJYC-Ccw0xMjN.js → quadrantDiagram-AXDQQJYC-Blrm7V7_.js} +1 -1
- package/dist/{railroadDiagram-O6MQD6OU-B28-u83n.js → railroadDiagram-O6MQD6OU-ao8cqqFB.js} +2 -2
- package/dist/{react-vega-BED0DjiB.js → react-vega-BDpbvBCb.js} +12284 -12270
- package/dist/{requirementDiagram-BXWQKSXE-CdYCTMu0.js → requirementDiagram-BXWQKSXE--J8vyfm-.js} +1 -1
- package/dist/{reveal-component-BTBfJ3ju.js → reveal-component-Bb5vzlMs.js} +9 -9
- package/dist/{select-BButFi-d.js → select-DemoKT4G.js} +199 -199
- package/dist/{sequenceDiagram-WJ2MYXX4-CM3aRAe_.js → sequenceDiagram-WJ2MYXX4-CiQbn62x.js} +1 -1
- package/dist/{spec-BwarBpUJ.js → spec-D_u2ipzF.js} +4 -4
- package/dist/{stateDiagram-D77RDMKH-DOZUMVj8.js → stateDiagram-D77RDMKH-DVEeGs5b.js} +2 -2
- package/dist/{stateDiagram-v2-MP3YSRHH-CISYxma6.js → stateDiagram-v2-MP3YSRHH-1OQRe6iA.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{swimlanes-42K2YHIH-BkSppxp8.js → swimlanes-42K2YHIH-CqkGoGqn.js} +1 -1
- package/dist/{swimlanesDiagram-VR7AAH4N-c8G5pGxC.js → swimlanesDiagram-VR7AAH4N-CszjkrKo.js} +2 -2
- package/dist/{time-BieKwdYS.js → time-BaMbJs4z.js} +18 -18
- package/dist/{timeline-definition-24CTP7MA-CaMQayqK.js → timeline-definition-24CTP7MA-DLRUNVAx.js} +1 -1
- package/dist/toDate-gyi35XS2.js +1185 -0
- package/dist/{toast-B9UMEi8u.js → toast-PkdZraM8.js} +221 -221
- package/dist/{tooltip-BO1REbqs.js → tooltip-CtBZ5q8p.js} +51 -51
- package/dist/{use-restore-focus-BEM7sFWl.js → use-restore-focus-CKjfFjLM.js} +1 -1
- package/dist/{useAsyncData-Deh5kszT.js → useAsyncData-BneN349z.js} +1 -1
- package/dist/{useDateFormatter-D8XruNGG.js → useDateFormatter-DkajGwwd.js} +2 -2
- package/dist/{useDeepCompareMemoize-DXwzRINI.js → useDeepCompareMemoize-Z_7R8wTt.js} +1 -1
- package/dist/{useLifecycle-j7D9uD1o.js → useLifecycle-Dfq8UD-b.js} +2 -2
- package/dist/{useTheme-CRnjkku0.js → useTheme-Bu5bBgrh.js} +86 -86
- package/dist/{vega-component-DG29TAB7.js → vega-component-1lFfDE_8.js} +10 -10
- package/dist/{vega-embed-container-BNHE18G9.js → vega-embed-container-BgKnsDbB.js} +2 -2
- package/dist/{vega-loader.browser-DNST6uVf.js → vega-loader.browser-CpbZAXub.js} +297 -506
- package/dist/{vennDiagram-4TSXK5OY-CF8pfaK3.js → vennDiagram-4TSXK5OY-CypgoBVZ.js} +1 -1
- package/dist/{wardleyDiagram-VM6X3IG4-dGPu39d-.js → wardleyDiagram-VM6X3IG4-B6xjiQ_g.js} +1 -1
- package/dist/{xychartDiagram-S5SC5T6Z-CP6-9q56.js → xychartDiagram-S5SC5T6Z-e0PefDVs.js} +2 -2
- package/package.json +2 -1
- package/src/__tests__/fixtures/{pair-preview.ts → pair-config.ts} +3 -2
- package/src/__tests__/mount.test.ts +28 -8
- package/src/components/data-table/__tests__/context-menu.test.ts +176 -0
- package/src/components/data-table/__tests__/date-filter-inputs.test.tsx +24 -1
- package/src/components/data-table/__tests__/export-actions.test.tsx +329 -6
- package/src/components/data-table/context-menu.tsx +125 -26
- package/src/components/data-table/date-filter-inputs.tsx +15 -42
- package/src/components/data-table/export-actions.tsx +192 -116
- package/src/components/data-table/schemas.ts +14 -36
- package/src/components/data-table/utils.ts +18 -0
- package/src/components/editor/Output.tsx +9 -2
- package/src/components/editor/__tests__/dynamic-favicon.test.tsx +111 -18
- package/src/components/editor/actions/__tests__/pair-with-agent-commands.test.ts +80 -252
- package/src/components/editor/actions/__tests__/pair-with-agent-modal.test.tsx +186 -34
- package/src/components/editor/actions/pair-with-agent-commands.ts +42 -51
- package/src/components/editor/actions/pair-with-agent-modal.tsx +96 -36
- package/src/components/editor/chrome/panels/error-panel.tsx +1 -0
- package/src/components/editor/chrome/wrapper/__tests__/attachment-status.test.tsx +366 -0
- package/src/components/editor/chrome/wrapper/footer-item.tsx +32 -24
- package/src/components/editor/chrome/wrapper/footer-items/attachment-status.tsx +237 -0
- package/src/components/editor/chrome/wrapper/footer.tsx +2 -0
- package/src/components/editor/controls/__tests__/command-palette.test.tsx +53 -0
- package/src/components/editor/controls/command-palette.tsx +22 -10
- package/src/components/editor/dynamic-favicon.tsx +21 -40
- package/src/components/editor/errors/__tests__/send-error-report-button.test.tsx +537 -0
- package/src/components/editor/errors/send-error-report-button.tsx +69 -0
- package/src/components/editor/output/MarimoErrorOutput.tsx +21 -5
- package/src/components/editor/output/MarimoTracebackOutput.tsx +35 -20
- package/src/components/editor/output/__tests__/ansi-reduce.test.ts +18 -0
- package/src/components/editor/output/ansi-reduce.ts +6 -0
- package/src/core/attachments/__tests__/toast.test.tsx +58 -0
- package/src/core/attachments/state.ts +18 -0
- package/src/core/attachments/toast.ts +15 -0
- package/src/core/cells/__tests__/cells.test.ts +52 -0
- package/src/core/cells/__tests__/error-report.test.ts +139 -0
- package/src/core/cells/__tests__/notebook-outline.test.ts +113 -0
- package/src/core/cells/__tests__/session.test.ts +50 -1
- package/src/core/cells/cells.ts +2 -1
- package/src/core/cells/error-report.ts +63 -0
- package/src/core/cells/session.ts +28 -1
- package/src/core/config/pair.ts +5 -3
- package/src/core/edit-app.tsx +2 -2
- package/src/core/host/AGENTS.md +5 -0
- package/src/core/host/__tests__/attachments.test.ts +57 -0
- package/src/core/host/__tests__/document.test.ts +124 -0
- package/src/core/host/__tests__/events.test.ts +46 -0
- package/src/core/host/__tests__/fixtures.ts +39 -0
- package/src/core/host/__tests__/notebook-client.test.ts +433 -0
- package/src/core/host/__tests__/protocol.test.ts +15 -0
- package/src/core/host/__tests__/stream.test.ts +209 -0
- package/src/core/host/connection.ts +81 -0
- package/src/core/host/events.ts +61 -0
- package/src/core/host/notebook-client.ts +290 -0
- package/src/core/host/protocol.ts +11 -6
- package/src/core/host/resources/attachments.ts +19 -0
- package/src/core/host/resources/document.ts +101 -0
- package/src/core/host/resources/resource.ts +47 -0
- package/src/core/host/stream.ts +211 -0
- package/src/core/network/connection.ts +4 -2
- package/src/core/run-app.tsx +2 -2
- package/src/core/runtime/__tests__/runtime.test.ts +55 -11
- package/src/core/runtime/runtime.ts +15 -1
- package/src/core/runtime/types.ts +2 -0
- package/src/core/websocket/__tests__/{useMarimoKernelConnection.test.ts → connection-state.test.ts} +15 -17
- package/src/core/websocket/__tests__/{useWebSocket.test.ts → createConnectionTransport.test.ts} +1 -1
- package/src/core/websocket/__tests__/useNotebookClient.hook.test.tsx +170 -0
- package/src/core/websocket/__tests__/{useMarimoKernelConnection.hook.test.tsx → useNotebookSession.hook.test.tsx} +181 -65
- package/src/core/websocket/connection-state.ts +70 -0
- package/src/core/websocket/state.ts +7 -0
- package/src/core/websocket/transports/__tests__/sse.test.ts +1 -4
- package/src/core/websocket/transports/create.ts +31 -0
- package/src/core/websocket/transports/transport.ts +12 -23
- package/src/core/websocket/types.ts +9 -39
- package/src/core/websocket/useNotebookClient.ts +88 -0
- package/src/core/websocket/{useMarimoKernelConnection.tsx → useNotebookSession.tsx} +59 -225
- package/src/mount.tsx +7 -3
- package/src/plugins/impl/__tests__/DataTablePlugin.test.tsx +84 -0
- package/src/utils/__tests__/dates.test.ts +116 -0
- package/src/utils/dates.ts +94 -0
- package/src/utils/once.ts +19 -19
- package/dist/error-entries-CzoYkIQZ.js +0 -56
- package/dist/mermaid-HWGCJPDP-ByCsZnYF.js +0 -2
- package/dist/precisionRound-DMIVQrt2.js +0 -97
- package/dist/toDate-BNJf01u1.js +0 -703
- package/src/core/websocket/useWebSocket.tsx +0 -88
|
@@ -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, Q as f, St as p, Tt as m, bt as h, ht as g, tt as _, vt as v, wt as y, xt as b } from "./use-restore-focus-CKjfFjLM.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 x = /* @__PURE__ */ e(i()), S = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), C = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), w = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), T = (e) => {
|
|
10
10
|
let t = w(e);
|
|
@@ -55,7 +55,7 @@ var x = /* @__PURE__ */ e(i()), S = (...e) => e.filter((e, t, n) => !!e && e.tri
|
|
|
55
55
|
whiteSpace: "nowrap",
|
|
56
56
|
wordWrap: "normal"
|
|
57
57
|
}), F = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ N(function(e, t) {
|
|
58
|
-
return /* @__PURE__ */ (0, j.jsx)(
|
|
58
|
+
return /* @__PURE__ */ (0, j.jsx)(u.span, {
|
|
59
59
|
...e,
|
|
60
60
|
ref: t,
|
|
61
61
|
style: {
|
|
@@ -1180,7 +1180,7 @@ var Xt = (e) => {
|
|
|
1180
1180
|
}), an = Object.defineProperty, Q = (e, t) => an(e, "name", {
|
|
1181
1181
|
value: t,
|
|
1182
1182
|
configurable: !0
|
|
1183
|
-
}), on = "Popper", [sn, cn] =
|
|
1183
|
+
}), on = "Popper", [sn, cn] = d(on), [ln, un] = sn(on), dn = /* @__PURE__ */ Q((e) => {
|
|
1184
1184
|
let { __scopePopper: t, children: n } = e, [r, i] = x.useState(null), [a, o] = x.useState(void 0);
|
|
1185
1185
|
return /* @__PURE__ */ (0, j.jsx)(ln, {
|
|
1186
1186
|
scope: t,
|
|
@@ -1193,34 +1193,34 @@ var Xt = (e) => {
|
|
|
1193
1193
|
}, "Popper"), fn = "PopperAnchor", pn = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ Q(function(e, t) {
|
|
1194
1194
|
let { __scopePopper: n, virtualRef: i, ...a } = e, o = un(fn, n), s = x.useRef(null), c = o.onAnchorChange, l = x.useCallback((e) => {
|
|
1195
1195
|
s.current = e, e && c(e);
|
|
1196
|
-
}, [c]),
|
|
1196
|
+
}, [c]), d = r(t, l), f = x.useRef(null);
|
|
1197
1197
|
x.useEffect(() => {
|
|
1198
1198
|
if (!i) return;
|
|
1199
|
-
let e =
|
|
1200
|
-
|
|
1199
|
+
let e = f.current;
|
|
1200
|
+
f.current = i.current, e !== f.current && c(f.current);
|
|
1201
1201
|
});
|
|
1202
|
-
let
|
|
1203
|
-
return i ? null : /* @__PURE__ */ (0, j.jsx)(
|
|
1204
|
-
"data-radix-popper-side":
|
|
1205
|
-
"data-radix-popper-align":
|
|
1202
|
+
let p = o.placementState && bn(o.placementState), m = p?.[0], h = p?.[1];
|
|
1203
|
+
return i ? null : /* @__PURE__ */ (0, j.jsx)(u.div, {
|
|
1204
|
+
"data-radix-popper-side": m,
|
|
1205
|
+
"data-radix-popper-align": h,
|
|
1206
1206
|
...a,
|
|
1207
|
-
ref:
|
|
1207
|
+
ref: d
|
|
1208
1208
|
});
|
|
1209
1209
|
}, "PopperAnchor")), mn = "PopperContent", [hn, gn] = sn(mn), _n = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ Q(function(e, t) {
|
|
1210
|
-
let { __scopePopper: n, side: i = "bottom", sideOffset: a = 0, align: o = "center", alignOffset: s = 0, arrowPadding: c = 0, avoidCollisions: l = !0, collisionBoundary:
|
|
1210
|
+
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 = "partial", hideWhenDetached: m = !1, updatePositionStrategy: g = "optimized", onPlaced: _, ...v } = e, b = un(mn, n), [S, C] = x.useState(null), w = r(t, C), [T, E] = x.useState(null), D = re(T), O = D?.width ?? 0, k = D?.height ?? 0, A = i + (o === "center" ? "" : "-" + o), M = typeof f == "number" ? f : {
|
|
1211
1211
|
top: 0,
|
|
1212
1212
|
right: 0,
|
|
1213
1213
|
bottom: 0,
|
|
1214
1214
|
left: 0,
|
|
1215
|
-
...
|
|
1216
|
-
}, N = Array.isArray(
|
|
1215
|
+
...f
|
|
1216
|
+
}, N = Array.isArray(d) ? d : [d], P = N.length > 0, F = {
|
|
1217
1217
|
padding: M,
|
|
1218
1218
|
boundary: N.filter(vn),
|
|
1219
1219
|
altBoundary: P
|
|
1220
1220
|
}, { refs: ee, floatingStyles: te, placement: ne, isPositioned: ie, middlewareData: I } = Yt({
|
|
1221
1221
|
strategy: "fixed",
|
|
1222
1222
|
placement: A,
|
|
1223
|
-
whileElementsMounted: /* @__PURE__ */ Q((...e) => Ft(...e, { animationFrame:
|
|
1223
|
+
whileElementsMounted: /* @__PURE__ */ Q((...e) => Ft(...e, { animationFrame: g === "always" }), "whileElementsMounted"),
|
|
1224
1224
|
elements: { reference: b.anchor },
|
|
1225
1225
|
middleware: [
|
|
1226
1226
|
Zt({
|
|
@@ -1230,7 +1230,7 @@ var Xt = (e) => {
|
|
|
1230
1230
|
l && Qt({
|
|
1231
1231
|
mainAxis: !0,
|
|
1232
1232
|
crossAxis: !1,
|
|
1233
|
-
limiter:
|
|
1233
|
+
limiter: p === "partial" ? $t() : void 0,
|
|
1234
1234
|
...F
|
|
1235
1235
|
}),
|
|
1236
1236
|
l && en({ ...F }),
|
|
@@ -1259,7 +1259,7 @@ var Xt = (e) => {
|
|
|
1259
1259
|
y(() => (L(ne), () => {
|
|
1260
1260
|
L(void 0);
|
|
1261
1261
|
}), [ne, L]);
|
|
1262
|
-
let [R, z] = bn(ne), B =
|
|
1262
|
+
let [R, z] = bn(ne), B = h(_);
|
|
1263
1263
|
y(() => {
|
|
1264
1264
|
ie && B?.();
|
|
1265
1265
|
}, [ie, B]);
|
|
@@ -1289,14 +1289,14 @@ var Xt = (e) => {
|
|
|
1289
1289
|
arrowX: ae,
|
|
1290
1290
|
arrowY: oe,
|
|
1291
1291
|
shouldHideArrow: se,
|
|
1292
|
-
children: /* @__PURE__ */ (0, j.jsx)(
|
|
1292
|
+
children: /* @__PURE__ */ (0, j.jsx)(u.div, {
|
|
1293
1293
|
"data-side": R,
|
|
1294
1294
|
"data-align": z,
|
|
1295
|
-
...
|
|
1295
|
+
...v,
|
|
1296
1296
|
ref: w,
|
|
1297
1297
|
style: {
|
|
1298
|
-
...
|
|
1299
|
-
animation: ie ?
|
|
1298
|
+
...v.style,
|
|
1299
|
+
animation: ie ? v.style?.animation : "none"
|
|
1300
1300
|
}
|
|
1301
1301
|
})
|
|
1302
1302
|
})
|
|
@@ -1329,7 +1329,7 @@ Q(bn, "getSideAndAlignFromPlacement");
|
|
|
1329
1329
|
var xn = dn, Sn = pn, Cn = _n, wn = Object.defineProperty, $ = (e, t) => wn(e, "name", {
|
|
1330
1330
|
value: t,
|
|
1331
1331
|
configurable: !0
|
|
1332
|
-
}), [Tn, En] =
|
|
1332
|
+
}), [Tn, En] = d("Tooltip", [cn]), Dn = cn(), On = "TooltipProvider", kn = 700, An = "tooltip.open", [jn, Mn] = Tn(On), Nn = /* @__PURE__ */ $((e) => {
|
|
1333
1333
|
let { __scopeTooltip: t, delayDuration: n = kn, skipDelayDuration: r = 300, disableHoverableContent: i = !1, children: a } = e, o = x.useRef(!0), s = x.useRef(!1), c = x.useRef(0);
|
|
1334
1334
|
return x.useEffect(() => {
|
|
1335
1335
|
let e = c.current;
|
|
@@ -1352,36 +1352,36 @@ var xn = dn, Sn = pn, Cn = _n, wn = Object.defineProperty, $ = (e, t) => wn(e, "
|
|
|
1352
1352
|
children: a
|
|
1353
1353
|
});
|
|
1354
1354
|
}, "TooltipProvider"), Pn = "Tooltip", [Fn, In] = Tn(Pn), Ln = /* @__PURE__ */ $((e) => {
|
|
1355
|
-
let { __scopeTooltip: t, children: n, open: r, defaultOpen: i, onOpenChange: a, disableHoverableContent: o, delayDuration: s } = e, c = Mn(Pn, e.__scopeTooltip),
|
|
1355
|
+
let { __scopeTooltip: t, children: n, open: r, defaultOpen: i, onOpenChange: a, disableHoverableContent: o, delayDuration: s } = e, c = Mn(Pn, e.__scopeTooltip), u = Dn(t), [d, f] = x.useState(null), [p, m] = x.useState(void 0), h = b(), g = x.useRef(0), _ = o ?? c.disableHoverableContent, v = s ?? c.delayDuration, y = x.useRef(!1), [S, C] = l({
|
|
1356
1356
|
prop: r,
|
|
1357
1357
|
defaultProp: i ?? !1,
|
|
1358
1358
|
onChange: /* @__PURE__ */ $((e) => {
|
|
1359
1359
|
e ? (c.onOpen(), document.dispatchEvent(new CustomEvent(An))) : c.onClose(), a?.(e);
|
|
1360
1360
|
}, "onChange"),
|
|
1361
1361
|
caller: Pn
|
|
1362
|
-
}), w = x.useMemo(() => S ?
|
|
1363
|
-
window.clearTimeout(g.current), g.current = 0,
|
|
1362
|
+
}), w = x.useMemo(() => S ? y.current ? "delayed-open" : "instant-open" : "closed", [S]), T = x.useCallback(() => {
|
|
1363
|
+
window.clearTimeout(g.current), g.current = 0, y.current = !1, C(!0);
|
|
1364
1364
|
}, [C]), E = x.useCallback(() => {
|
|
1365
1365
|
window.clearTimeout(g.current), g.current = 0, C(!1);
|
|
1366
1366
|
}, [C]), D = x.useCallback(() => {
|
|
1367
1367
|
window.clearTimeout(g.current), g.current = window.setTimeout(() => {
|
|
1368
|
-
|
|
1369
|
-
},
|
|
1370
|
-
}, [
|
|
1368
|
+
y.current = !0, C(!0), g.current = 0;
|
|
1369
|
+
}, v);
|
|
1370
|
+
}, [v, C]);
|
|
1371
1371
|
x.useEffect(() => () => {
|
|
1372
1372
|
g.current &&= (window.clearTimeout(g.current), 0);
|
|
1373
1373
|
}, []);
|
|
1374
|
-
let O =
|
|
1374
|
+
let O = p ?? h;
|
|
1375
1375
|
return /* @__PURE__ */ (0, j.jsx)(xn, {
|
|
1376
|
-
...
|
|
1376
|
+
...u,
|
|
1377
1377
|
children: /* @__PURE__ */ (0, j.jsx)(Fn, {
|
|
1378
1378
|
scope: t,
|
|
1379
1379
|
contentId: O,
|
|
1380
|
-
setContentId:
|
|
1380
|
+
setContentId: m,
|
|
1381
1381
|
open: S,
|
|
1382
1382
|
stateAttribute: w,
|
|
1383
|
-
trigger:
|
|
1384
|
-
onTriggerChange:
|
|
1383
|
+
trigger: d,
|
|
1384
|
+
onTriggerChange: f,
|
|
1385
1385
|
onTriggerEnter: x.useCallback(() => {
|
|
1386
1386
|
c.isOpenDelayedRef.current ? D() : T();
|
|
1387
1387
|
}, [
|
|
@@ -1390,11 +1390,11 @@ var xn = dn, Sn = pn, Cn = _n, wn = Object.defineProperty, $ = (e, t) => wn(e, "
|
|
|
1390
1390
|
T
|
|
1391
1391
|
]),
|
|
1392
1392
|
onTriggerLeave: x.useCallback(() => {
|
|
1393
|
-
|
|
1394
|
-
}, [E,
|
|
1393
|
+
_ ? E() : (window.clearTimeout(g.current), g.current = 0);
|
|
1394
|
+
}, [E, _]),
|
|
1395
1395
|
onOpen: T,
|
|
1396
1396
|
onClose: E,
|
|
1397
|
-
disableHoverableContent:
|
|
1397
|
+
disableHoverableContent: _,
|
|
1398
1398
|
children: n
|
|
1399
1399
|
})
|
|
1400
1400
|
});
|
|
@@ -1403,25 +1403,25 @@ var xn = dn, Sn = pn, Cn = _n, wn = Object.defineProperty, $ = (e, t) => wn(e, "
|
|
|
1403
1403
|
return x.useEffect(() => () => document.removeEventListener("pointerup", p), [p]), /* @__PURE__ */ (0, j.jsx)(Sn, {
|
|
1404
1404
|
asChild: !0,
|
|
1405
1405
|
...s,
|
|
1406
|
-
children: /* @__PURE__ */ (0, j.jsx)(
|
|
1406
|
+
children: /* @__PURE__ */ (0, j.jsx)(u.button, {
|
|
1407
1407
|
"aria-describedby": a.open ? a.contentId : void 0,
|
|
1408
1408
|
"data-state": a.stateAttribute,
|
|
1409
1409
|
...i,
|
|
1410
1410
|
ref: l,
|
|
1411
|
-
onPointerMove:
|
|
1411
|
+
onPointerMove: m(e.onPointerMove, (e) => {
|
|
1412
1412
|
e.pointerType !== "touch" && !f.current && !o.isPointerInTransitRef.current && (a.onTriggerEnter(), f.current = !0);
|
|
1413
1413
|
}),
|
|
1414
|
-
onPointerLeave:
|
|
1414
|
+
onPointerLeave: m(e.onPointerLeave, () => {
|
|
1415
1415
|
a.onTriggerLeave(), f.current = !1;
|
|
1416
1416
|
}),
|
|
1417
|
-
onPointerDown:
|
|
1417
|
+
onPointerDown: m(e.onPointerDown, () => {
|
|
1418
1418
|
a.open && a.onClose(), d.current = !0, document.addEventListener("pointerup", p, { once: !0 });
|
|
1419
1419
|
}),
|
|
1420
|
-
onFocus:
|
|
1420
|
+
onFocus: m(e.onFocus, () => {
|
|
1421
1421
|
d.current || a.onOpen();
|
|
1422
1422
|
}),
|
|
1423
|
-
onBlur:
|
|
1424
|
-
onClick:
|
|
1423
|
+
onBlur: m(e.onBlur, a.onClose),
|
|
1424
|
+
onClick: m(e.onClick, a.onClose)
|
|
1425
1425
|
})
|
|
1426
1426
|
});
|
|
1427
1427
|
}, "TooltipTrigger")), Bn = "TooltipPortal", [Vn, Hn] = Tn(Bn, { forceMount: void 0 }), Un = /* @__PURE__ */ $((e) => {
|
|
@@ -1429,9 +1429,9 @@ var xn = dn, Sn = pn, Cn = _n, wn = Object.defineProperty, $ = (e, t) => wn(e, "
|
|
|
1429
1429
|
return /* @__PURE__ */ (0, j.jsx)(Vn, {
|
|
1430
1430
|
scope: t,
|
|
1431
1431
|
forceMount: n,
|
|
1432
|
-
children: /* @__PURE__ */ (0, j.jsx)(
|
|
1432
|
+
children: /* @__PURE__ */ (0, j.jsx)(p, {
|
|
1433
1433
|
present: n || a.open,
|
|
1434
|
-
children: /* @__PURE__ */ (0, j.jsx)(
|
|
1434
|
+
children: /* @__PURE__ */ (0, j.jsx)(g, {
|
|
1435
1435
|
asChild: !0,
|
|
1436
1436
|
container: i,
|
|
1437
1437
|
children: r
|
|
@@ -1440,7 +1440,7 @@ var xn = dn, Sn = pn, Cn = _n, wn = Object.defineProperty, $ = (e, t) => wn(e, "
|
|
|
1440
1440
|
});
|
|
1441
1441
|
}, "TooltipPortal"), Wn = "TooltipContent", Gn = /* @__PURE__ */ x.forwardRef(/* @__PURE__ */ $(function(e, t) {
|
|
1442
1442
|
let n = Hn(Wn, e.__scopeTooltip), { forceMount: r = n.forceMount, side: i = "top", ...a } = e, o = In(Wn, e.__scopeTooltip);
|
|
1443
|
-
return /* @__PURE__ */ (0, j.jsx)(
|
|
1443
|
+
return /* @__PURE__ */ (0, j.jsx)(p, {
|
|
1444
1444
|
present: r || o.open,
|
|
1445
1445
|
children: o.disableHoverableContent ? /* @__PURE__ */ (0, j.jsx)(Jn, {
|
|
1446
1446
|
side: i,
|
|
@@ -1508,7 +1508,7 @@ var xn = dn, Sn = pn, Cn = _n, wn = Object.defineProperty, $ = (e, t) => wn(e, "
|
|
|
1508
1508
|
let { setContentId: f } = l;
|
|
1509
1509
|
return y(() => (f(a), () => {
|
|
1510
1510
|
f(void 0);
|
|
1511
|
-
}), [a, f]), /* @__PURE__ */ (0, j.jsx)(
|
|
1511
|
+
}), [a, f]), /* @__PURE__ */ (0, j.jsx)(v, {
|
|
1512
1512
|
asChild: !0,
|
|
1513
1513
|
disableOutsidePointerEvents: !1,
|
|
1514
1514
|
onEscapeKeyDown: o,
|
|
@@ -1660,18 +1660,18 @@ var tr = Nn, nr = Ln, rr = zn, ir = Un, ar = Gn, or = a(), sr = (e) => {
|
|
|
1660
1660
|
delayDuration: i,
|
|
1661
1661
|
...n
|
|
1662
1662
|
}), t[3] = i, t[4] = n, t[5] = a) : a = t[5], a;
|
|
1663
|
-
}, cr = f(ir), lr = nr, ur =
|
|
1663
|
+
}, cr = f(ir), lr = nr, ur = c(ar), dr = rr, fr = x.forwardRef((e, t) => {
|
|
1664
1664
|
let r = (0, or.c)(11), i, a, o;
|
|
1665
1665
|
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);
|
|
1666
1666
|
let s = o === void 0 ? 4 : o, c;
|
|
1667
1667
|
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);
|
|
1668
|
-
let
|
|
1669
|
-
return r[6] !== a || r[7] !== t || r[8] !== s || r[9] !== c ? (
|
|
1668
|
+
let l;
|
|
1669
|
+
return r[6] !== a || r[7] !== t || r[8] !== s || r[9] !== c ? (l = /* @__PURE__ */ (0, j.jsx)(_, { children: /* @__PURE__ */ (0, j.jsx)(ur, {
|
|
1670
1670
|
ref: t,
|
|
1671
1671
|
sideOffset: s,
|
|
1672
1672
|
className: c,
|
|
1673
1673
|
...a
|
|
1674
|
-
}) }), r[6] = a, r[7] = t, r[8] = s, r[9] = c, r[10] =
|
|
1674
|
+
}) }), r[6] = a, r[7] = t, r[8] = s, r[9] = c, r[10] = l) : l = r[10], l;
|
|
1675
1675
|
});
|
|
1676
1676
|
fr.displayName = ar.displayName;
|
|
1677
1677
|
var pr = (e) => {
|
|
@@ -6366,4 +6366,4 @@ function Qf() {
|
|
|
6366
6366
|
}, e[1] = t, e[2] = a), a;
|
|
6367
6367
|
}
|
|
6368
6368
|
//#endregion
|
|
6369
|
-
export {
|
|
6369
|
+
export { Tr as $, sf as A, Qd as B, rf as C, he as Ct, Wd as D, p as Dt, df as E, v as Et, Tf as F, Xc as G, ed as H, _f as I, Gi as J, Sc as K, _d as L, ef as M, Hd as N, Gf as O, m as Ot, of as P, wr as Q, hf as R, Xd as S, Se as St, qf as T, b as Tt, Xu as U, id as V, rl as W, yr as X, vr as Y, Cr as Z, Q as _, Ze as _t, tf as a, ur as at, Zf as b, Fe as bt, vf as c, cr as ct, Vd as d, zn as dt, gr as et, af as f, An as ft, mf as g, nt as gt, gd as h, mt as ht, Gd as i, rr as it, zf as j, xf as k, vd as l, qn as lt, Bf as m, bt as mt, Yd as n, Gn as nt, Af as o, $n as ot, wf as p, Ct as pt, Gc as q, nf as r, fr as rt, uf as s, Zn as st, Qf as t, hr as tt, bf as u, Un as ut, cf as v, He as vt, Kd as w, x as wt, Jd as x, Me as xt, yf as y, Xe as yt, lf 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-Bu5bBgrh.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 { h as n } from "./tooltip-
|
|
4
|
-
import { i as r } from "./label-
|
|
3
|
+
import { h as n } from "./tooltip-CtBZ5q8p.js";
|
|
4
|
+
import { i as r } from "./label-DoysmLMW.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 { k as n } from "./useTheme-
|
|
3
|
+
import { k as n } from "./useTheme-Bu5bBgrh.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-CvjkwdSk.js";
|
|
3
3
|
import { t as i } from "./react-sHtZdjeP.js";
|
|
4
4
|
import { t as a } from "./compiler-runtime-CldRdSsv.js";
|
|
5
|
-
import { h as o } from "./tooltip-
|
|
5
|
+
import { h as o } from "./tooltip-CtBZ5q8p.js";
|
|
6
6
|
import { t as s } from "./jsx-runtime-3BD1kT0s.js";
|
|
7
|
-
import { E as c, w as l } from "./useTheme-
|
|
7
|
+
import { E as c, w as l } from "./useTheme-Bu5bBgrh.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-CvjkwdSk.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-CKjfFjLM.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) {
|
|
@@ -64,7 +64,7 @@ function E(e, t) {
|
|
|
64
64
|
return e !== e && t !== t;
|
|
65
65
|
}
|
|
66
66
|
//#endregion
|
|
67
|
-
//#region ../node_modules/.pnpm/jotai@2.20.3_@babel+core@7.29.
|
|
67
|
+
//#region ../node_modules/.pnpm/jotai@2.20.3_@babel+core@7.29.0_supports-color@10.0.0__@babel+template@7.28.6_@types+react@19.3.0_react@19.3.0/node_modules/jotai/esm/vanilla/internals.mjs
|
|
68
68
|
var D = /* @__PURE__ */ t({
|
|
69
69
|
INTERNAL_addPendingPromiseToDependency: () => N,
|
|
70
70
|
INTERNAL_buildStoreRev3: () => we,
|
|
@@ -438,7 +438,7 @@ function we(...e) {
|
|
|
438
438
|
return t;
|
|
439
439
|
}
|
|
440
440
|
//#endregion
|
|
441
|
-
//#region ../node_modules/.pnpm/jotai@2.20.3_@babel+core@7.29.
|
|
441
|
+
//#region ../node_modules/.pnpm/jotai@2.20.3_@babel+core@7.29.0_supports-color@10.0.0__@babel+template@7.28.6_@types+react@19.3.0_react@19.3.0/node_modules/jotai/esm/vanilla.mjs
|
|
442
442
|
var Te = 0;
|
|
443
443
|
function R(e, t) {
|
|
444
444
|
let n = `atom${++Te}`, r = { toString() {
|
|
@@ -460,7 +460,7 @@ function ke() {
|
|
|
460
460
|
return Oe ||= z(), Oe;
|
|
461
461
|
}
|
|
462
462
|
//#endregion
|
|
463
|
-
//#region ../node_modules/.pnpm/jotai@2.20.3_@babel+core@7.29.
|
|
463
|
+
//#region ../node_modules/.pnpm/jotai@2.20.3_@babel+core@7.29.0_supports-color@10.0.0__@babel+template@7.28.6_@types+react@19.3.0_react@19.3.0/node_modules/jotai/esm/react.mjs
|
|
464
464
|
var B = (0, y.createContext)(void 0);
|
|
465
465
|
function V(e) {
|
|
466
466
|
let t = (0, y.useContext)(B);
|
|
@@ -609,77 +609,77 @@ var ze = [
|
|
|
609
609
|
"ask",
|
|
610
610
|
"agent",
|
|
611
611
|
"code_mode"
|
|
612
|
-
], J =
|
|
613
|
-
api_key:
|
|
614
|
-
base_url:
|
|
615
|
-
project:
|
|
616
|
-
}).loose(), We =
|
|
617
|
-
chat_model:
|
|
618
|
-
edit_model:
|
|
619
|
-
autocomplete_model:
|
|
620
|
-
displayed_models:
|
|
621
|
-
custom_models:
|
|
622
|
-
}), Ge =
|
|
623
|
-
completion:
|
|
624
|
-
activate_on_typing:
|
|
625
|
-
signature_hint_on_typing:
|
|
626
|
-
auto_close_pairs:
|
|
627
|
-
copilot:
|
|
612
|
+
], J = f({
|
|
613
|
+
api_key: u().optional(),
|
|
614
|
+
base_url: u().optional(),
|
|
615
|
+
project: u().optional()
|
|
616
|
+
}).loose(), We = f({
|
|
617
|
+
chat_model: u().nullish(),
|
|
618
|
+
edit_model: u().nullish(),
|
|
619
|
+
autocomplete_model: u().nullish(),
|
|
620
|
+
displayed_models: c(u()).default([]),
|
|
621
|
+
custom_models: c(u()).default([])
|
|
622
|
+
}), Ge = s({
|
|
623
|
+
completion: f({
|
|
624
|
+
activate_on_typing: p().prefault(!0),
|
|
625
|
+
signature_hint_on_typing: p().prefault(!1),
|
|
626
|
+
auto_close_pairs: p().prefault(!0),
|
|
627
|
+
copilot: h([p(), m([
|
|
628
628
|
"github",
|
|
629
629
|
"codeium",
|
|
630
630
|
"custom"
|
|
631
631
|
])]).prefault(!1).transform((e) => e === !0 ? "github" : e),
|
|
632
|
-
codeium_api_key:
|
|
632
|
+
codeium_api_key: u().nullish()
|
|
633
633
|
}).prefault({}),
|
|
634
|
-
save:
|
|
635
|
-
autosave:
|
|
636
|
-
autosave_delay:
|
|
637
|
-
format_on_save:
|
|
634
|
+
save: s({
|
|
635
|
+
autosave: m(["off", "after_delay"]).prefault("after_delay"),
|
|
636
|
+
autosave_delay: d().nonnegative().transform((e) => Math.max(e, 1e3)).prefault(1e3),
|
|
637
|
+
format_on_save: p().prefault(!1)
|
|
638
638
|
}).prefault({}),
|
|
639
|
-
formatting:
|
|
640
|
-
keymap:
|
|
641
|
-
preset:
|
|
642
|
-
overrides:
|
|
643
|
-
destructive_delete:
|
|
639
|
+
formatting: s({ line_length: d().nonnegative().prefault(79).transform((e) => Math.min(e, 1e3)) }).prefault({}),
|
|
640
|
+
keymap: s({
|
|
641
|
+
preset: m(["default", "vim"]).prefault("default"),
|
|
642
|
+
overrides: l(u(), u()).prefault({}),
|
|
643
|
+
destructive_delete: p().prefault(!0)
|
|
644
644
|
}).prefault({}),
|
|
645
|
-
runtime:
|
|
646
|
-
auto_instantiate:
|
|
647
|
-
on_cell_change:
|
|
648
|
-
auto_reload:
|
|
645
|
+
runtime: s({
|
|
646
|
+
auto_instantiate: p().prefault(!0),
|
|
647
|
+
on_cell_change: m(["lazy", "autorun"]).prefault("autorun"),
|
|
648
|
+
auto_reload: m([
|
|
649
649
|
"off",
|
|
650
650
|
"lazy",
|
|
651
651
|
"autorun"
|
|
652
652
|
]).prefault("off"),
|
|
653
|
-
reactive_tests:
|
|
654
|
-
watcher_on_save:
|
|
655
|
-
default_sql_output:
|
|
656
|
-
default_auto_download:
|
|
657
|
-
show_tracebacks:
|
|
653
|
+
reactive_tests: p().prefault(!0),
|
|
654
|
+
watcher_on_save: m(["lazy", "autorun"]).prefault("lazy"),
|
|
655
|
+
default_sql_output: m(Ve).prefault("auto"),
|
|
656
|
+
default_auto_download: c(m(He)).prefault([]),
|
|
657
|
+
show_tracebacks: p().prefault(!1)
|
|
658
658
|
}).prefault({}),
|
|
659
|
-
display:
|
|
660
|
-
theme:
|
|
659
|
+
display: s({
|
|
660
|
+
theme: m([
|
|
661
661
|
"light",
|
|
662
662
|
"dark",
|
|
663
663
|
"system"
|
|
664
664
|
]).prefault("light"),
|
|
665
|
-
code_editor_font_size:
|
|
666
|
-
cell_output:
|
|
667
|
-
dataframes:
|
|
668
|
-
default_table_page_size:
|
|
669
|
-
default_table_max_columns:
|
|
670
|
-
default_width:
|
|
671
|
-
locale:
|
|
672
|
-
reference_highlighting:
|
|
673
|
-
code_lens:
|
|
665
|
+
code_editor_font_size: d().nonnegative().prefault(14),
|
|
666
|
+
cell_output: m(["above", "below"]).prefault("below"),
|
|
667
|
+
dataframes: m(["rich", "plain"]).prefault("rich"),
|
|
668
|
+
default_table_page_size: d().prefault(10),
|
|
669
|
+
default_table_max_columns: d().prefault(50),
|
|
670
|
+
default_width: m(Be).prefault("medium").transform((e) => e === "normal" ? "compact" : e),
|
|
671
|
+
locale: u().nullable().optional(),
|
|
672
|
+
reference_highlighting: p().prefault(!0),
|
|
673
|
+
code_lens: p().prefault(!0)
|
|
674
674
|
}).prefault({}),
|
|
675
|
-
package_management:
|
|
676
|
-
ai:
|
|
677
|
-
enabled:
|
|
678
|
-
rules:
|
|
679
|
-
max_tokens:
|
|
680
|
-
mode:
|
|
681
|
-
inline_tooltip:
|
|
682
|
-
allow_provider_config:
|
|
675
|
+
package_management: s({ manager: m(ze).prefault("pip") }).prefault({}),
|
|
676
|
+
ai: s({
|
|
677
|
+
enabled: p().prefault(!0),
|
|
678
|
+
rules: u().prefault(""),
|
|
679
|
+
max_tokens: d().int().positive().nullable().optional(),
|
|
680
|
+
mode: m(Ue).prefault("manual"),
|
|
681
|
+
inline_tooltip: p().prefault(!1),
|
|
682
|
+
allow_provider_config: p().prefault(!0),
|
|
683
683
|
open_ai: J.optional(),
|
|
684
684
|
github: J.optional(),
|
|
685
685
|
anthropic: J.optional(),
|
|
@@ -690,40 +690,40 @@ var ze = [
|
|
|
690
690
|
opencode_go: J.optional(),
|
|
691
691
|
open_ai_compatible: J.optional(),
|
|
692
692
|
azure: J.optional(),
|
|
693
|
-
bedrock:
|
|
694
|
-
region_name:
|
|
695
|
-
profile_name:
|
|
696
|
-
aws_access_key_id:
|
|
697
|
-
aws_secret_access_key:
|
|
693
|
+
bedrock: s({
|
|
694
|
+
region_name: u().optional(),
|
|
695
|
+
profile_name: u().optional(),
|
|
696
|
+
aws_access_key_id: u().optional(),
|
|
697
|
+
aws_secret_access_key: u().optional()
|
|
698
698
|
}).optional(),
|
|
699
|
-
custom_providers:
|
|
699
|
+
custom_providers: l(u(), J).prefault({}),
|
|
700
700
|
models: We.prefault({
|
|
701
701
|
displayed_models: [],
|
|
702
702
|
custom_models: []
|
|
703
703
|
})
|
|
704
704
|
}).prefault({}),
|
|
705
|
-
experimental:
|
|
706
|
-
markdown:
|
|
707
|
-
rtc:
|
|
705
|
+
experimental: s({
|
|
706
|
+
markdown: p().optional(),
|
|
707
|
+
rtc: p().optional()
|
|
708
708
|
}).prefault(() => ({})),
|
|
709
|
-
server:
|
|
710
|
-
disable_file_downloads:
|
|
711
|
-
transport:
|
|
709
|
+
server: s({
|
|
710
|
+
disable_file_downloads: p().optional(),
|
|
711
|
+
transport: m(["websocket", "sse"]).optional()
|
|
712
712
|
}).prefault(() => ({})),
|
|
713
|
-
diagnostics:
|
|
714
|
-
enabled:
|
|
715
|
-
sql_linter:
|
|
713
|
+
diagnostics: s({
|
|
714
|
+
enabled: p().optional(),
|
|
715
|
+
sql_linter: p().optional()
|
|
716
716
|
}).prefault(() => ({})),
|
|
717
|
-
file_browser:
|
|
718
|
-
path:
|
|
719
|
-
name:
|
|
717
|
+
file_browser: s({ folders: c(f({
|
|
718
|
+
path: u(),
|
|
719
|
+
name: u().optional()
|
|
720
720
|
})).optional() }).optional().prefault({}),
|
|
721
|
-
sharing:
|
|
722
|
-
html:
|
|
723
|
-
wasm:
|
|
724
|
-
molab:
|
|
721
|
+
sharing: s({
|
|
722
|
+
html: p().optional(),
|
|
723
|
+
wasm: p().optional(),
|
|
724
|
+
molab: p().optional()
|
|
725
725
|
}).optional(),
|
|
726
|
-
mcp:
|
|
726
|
+
mcp: s({ presets: c(m(["marimo", "context7"])).optional() }).optional().prefault({})
|
|
727
727
|
}).partial().prefault(() => ({
|
|
728
728
|
completion: {},
|
|
729
729
|
save: {},
|
|
@@ -738,12 +738,12 @@ var ze = [
|
|
|
738
738
|
ai: {},
|
|
739
739
|
package_management: {},
|
|
740
740
|
mcp: {}
|
|
741
|
-
})), Ke =
|
|
742
|
-
width:
|
|
741
|
+
})), Ke = u(), qe = m(Ve).prefault("auto"), Y = f({
|
|
742
|
+
width: m(Be).prefault("medium").transform((e) => e === "normal" ? "compact" : e),
|
|
743
743
|
app_title: Ke.nullish(),
|
|
744
|
-
css_file:
|
|
745
|
-
html_head_file:
|
|
746
|
-
auto_download:
|
|
744
|
+
css_file: u().nullish(),
|
|
745
|
+
html_head_file: u().nullish(),
|
|
746
|
+
auto_download: c(m(He)).prefault([]),
|
|
747
747
|
sql_output: qe
|
|
748
748
|
}).prefault(() => ({
|
|
749
749
|
width: "medium",
|
|
@@ -2,20 +2,20 @@ 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-CvjkwdSk.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 {
|
|
5
|
+
import { t as s } from "./tooltip-CtBZ5q8p.js";
|
|
6
|
+
import { C as c, a as l } from "./toDate-gyi35XS2.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-CFPHFw4h.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-Bu5bBgrh.js";
|
|
11
11
|
import { c as m } from "./arrays-CN1djC4k.js";
|
|
12
12
|
import { t as te } from "./objects-CzUgoMIF.js";
|
|
13
|
-
import { t as h } from "./useAsyncData-
|
|
14
|
-
import { a as ne, i as re, n as ie, t as g } from "./formats-
|
|
15
|
-
import {
|
|
16
|
-
import { t as se } from "./react-vega-
|
|
17
|
-
import { a as ce, n as _ } from "./loader-
|
|
18
|
-
import { t as le } from "./useDeepCompareMemoize-
|
|
13
|
+
import { t as h } from "./useAsyncData-BneN349z.js";
|
|
14
|
+
import { a as ne, i as re, n as ie, t as g } from "./formats-DRHUWwSK.js";
|
|
15
|
+
import { D as ae, n as oe } from "./vega-loader.browser-CpbZAXub.js";
|
|
16
|
+
import { t as se } from "./react-vega-BDpbvBCb.js";
|
|
17
|
+
import { a as ce, n as _ } from "./loader-BPdQhmlq.js";
|
|
18
|
+
import { t as le } from "./useDeepCompareMemoize-Z_7R8wTt.js";
|
|
19
19
|
import { t as ue } from "./semaphore-89jsoHtS.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
|
|
@@ -2,8 +2,8 @@ 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
4
|
import { t as r } from "./jsx-runtime-3BD1kT0s.js";
|
|
5
|
-
import {
|
|
6
|
-
import { n as a } from "./react-vega-
|
|
5
|
+
import { D as i } from "./vega-loader.browser-CpbZAXub.js";
|
|
6
|
+
import { n as a } from "./react-vega-BDpbvBCb.js";
|
|
7
7
|
import { t as o } from "./use-vega-container-remeasure-Bz4PZMtt.js";
|
|
8
8
|
//#region src/components/charts/vega-embed-container.tsx
|
|
9
9
|
var s = n(), c = /* @__PURE__ */ e(t(), 1), l = r();
|