@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
|
@@ -2,15 +2,15 @@ import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
|
2
2
|
import { h as t, t as n } from "./button-BQRdqQi1.js";
|
|
3
3
|
import { t as r } from "./react-sHtZdjeP.js";
|
|
4
4
|
import { t as i } from "./compiler-runtime-CldRdSsv.js";
|
|
5
|
-
import { t as a } from "./copy-icon-
|
|
6
|
-
import {
|
|
7
|
-
import { b as g } from "./select-
|
|
8
|
-
import { n as ee, t as te } from "./globals-
|
|
5
|
+
import { t as a } from "./copy-icon-De584pZ4.js";
|
|
6
|
+
import { At as o, U as s, Vt as c, Y as l, h as u, i as d, mn as f, n as p, q as m, zt as h } from "./error-entries-CmWMEsY_.js";
|
|
7
|
+
import { b as g } from "./select-2KOiReNY.js";
|
|
8
|
+
import { n as ee, t as te } from "./globals-BdRitZ4p.js";
|
|
9
9
|
import { t as _ } from "./jsx-runtime-3BD1kT0s.js";
|
|
10
|
-
import { _ as ne, i as v, w as y } from "./useTheme-
|
|
11
|
-
import { a as re, i as ie, n as ae, r as oe } from "./dialog-
|
|
12
|
-
import { t as se } from "./useAsyncData-
|
|
13
|
-
import { t as ce } from "./code-visibility-
|
|
10
|
+
import { _ as ne, i as v, w as y } from "./useTheme-DMfQYmlG.js";
|
|
11
|
+
import { a as re, i as ie, n as ae, r as oe } from "./dialog-DVRfQuhD.js";
|
|
12
|
+
import { t as se } from "./useAsyncData-Bn8SxUqM.js";
|
|
13
|
+
import { t as ce } from "./code-visibility-ZReaeMaF.js";
|
|
14
14
|
//#region src/components/ui/skeleton.tsx
|
|
15
15
|
var b = /* @__PURE__ */ e(r(), 1), x = i(), S = _(), le = (e) => {
|
|
16
16
|
let n = (0, x.c)(8), r, i;
|
|
@@ -85,15 +85,15 @@ function he(e) {
|
|
|
85
85
|
//#region src/hooks/useLocalStorage.ts
|
|
86
86
|
function ge(e, t) {
|
|
87
87
|
let n = (0, x.c)(11), r;
|
|
88
|
-
n[0] === t ? r = n[1] : (r = new
|
|
88
|
+
n[0] === t ? r = n[1] : (r = new h(t), n[0] = t, n[1] = r);
|
|
89
89
|
let i = r, a;
|
|
90
90
|
n[2] !== e || n[3] !== i ? (a = () => i.get(e), n[2] = e, n[3] = i, n[4] = a) : a = n[4];
|
|
91
|
-
let [o, s] = (0, b.useState)(a),
|
|
92
|
-
n[5] !== e || n[6] !== i ? (
|
|
91
|
+
let [o, s] = (0, b.useState)(a), c;
|
|
92
|
+
n[5] !== e || n[6] !== i ? (c = (t) => {
|
|
93
93
|
s(t), i.set(e, t);
|
|
94
|
-
}, n[5] = e, n[6] = i, n[7] =
|
|
95
|
-
let
|
|
96
|
-
return n[8] !==
|
|
94
|
+
}, n[5] = e, n[6] = i, n[7] = c) : c = n[7];
|
|
95
|
+
let l = c, u;
|
|
96
|
+
return n[8] !== l || n[9] !== o ? (u = [o, l], n[8] = l, n[9] = o, n[10] = u) : u = n[10], u;
|
|
97
97
|
}
|
|
98
98
|
var _e = (e) => {
|
|
99
99
|
let r = (0, x.c)(16), { content: i } = e, [a, o] = (0, b.useState)(!1), s = !a && "max-h-24 overflow-hidden", c;
|
|
@@ -131,26 +131,26 @@ function ve(e) {
|
|
|
131
131
|
if (!e.hasRequestClient) return "Notebook source is unavailable.";
|
|
132
132
|
if (e.filename === null) return "Save the notebook first.";
|
|
133
133
|
if (!e.codeAvailable) return "Notebook source is hidden in this view.";
|
|
134
|
-
if (e.connectionState !==
|
|
134
|
+
if (e.connectionState !== l.OPEN) return "Connect the notebook to include its source.";
|
|
135
135
|
}
|
|
136
136
|
var T = () => {
|
|
137
|
-
let e = (0, x.c)(61), t = y(
|
|
137
|
+
let e = (0, x.c)(61), t = y(o), r, i;
|
|
138
138
|
e[0] === t ? (r = e[1], i = e[2]) : (r = async () => {
|
|
139
139
|
if (t != null) return t.getEnvironmentInfo();
|
|
140
140
|
}, i = [t], e[0] = t, e[1] = r, e[2] = i);
|
|
141
|
-
let
|
|
142
|
-
if (e[3] !==
|
|
141
|
+
let l = se(r, i), h = y(u), g = d(ne), _;
|
|
142
|
+
if (e[3] !== h.cellData || e[4] !== h.cellIds.inOrderIds) {
|
|
143
143
|
let t;
|
|
144
|
-
e[6] ===
|
|
144
|
+
e[6] === h.cellData ? t = e[7] : (t = (e) => h.cellData[e], e[6] = h.cellData, e[7] = t), _ = h.cellIds.inOrderIds.map(t), e[3] = h.cellData, e[4] = h.cellIds.inOrderIds, e[5] = _;
|
|
145
145
|
} else _ = e[5];
|
|
146
|
-
let b = ce(_), C = y(
|
|
146
|
+
let b = ce(_), C = y(c), w = y(m), T = t != null, E;
|
|
147
147
|
e[8] !== b || e[9] !== w.state || e[10] !== C || e[11] !== T ? (E = ve({
|
|
148
148
|
hasRequestClient: T,
|
|
149
149
|
filename: C,
|
|
150
150
|
codeAvailable: b,
|
|
151
151
|
connectionState: w.state
|
|
152
152
|
}), e[8] = b, e[9] = w.state, e[10] = C, e[11] = T, e[12] = E) : E = e[12];
|
|
153
|
-
let D = E, O = D === void 0, [k, be] = ge("marimo:issue-report:include-errors", !1), [A, xe] = ge("marimo:issue-report:include-code", !1), j =
|
|
153
|
+
let D = E, O = D === void 0, [k, be] = ge("marimo:issue-report:include-errors", !1), [A, xe] = ge("marimo:issue-report:include-code", !1), j = l.data ? ue(l.data, navigator.userAgent) : l.status === "error" || t == null ? de(te(), navigator.userAgent, navigator.language, "Server environment information unavailable") : void 0, M, N;
|
|
154
154
|
e[13] !== A || e[14] !== O || e[15] !== t ? (M = async () => {
|
|
155
155
|
if (!A || !O || t == null) return;
|
|
156
156
|
let { contents: e } = await t.readCode();
|
|
@@ -168,11 +168,11 @@ var T = () => {
|
|
|
168
168
|
let we = Ce.map(ye).join(", "), F;
|
|
169
169
|
e[18] === Symbol.for("react.memo_cache_sentinel") ? (F = /* @__PURE__ */ (0, S.jsxs)(ie, { children: [/* @__PURE__ */ (0, S.jsx)(re, { children: "Report an issue" }), /* @__PURE__ */ (0, S.jsx)(oe, { children: "Open a GitHub bug report prefilled with your environment, and optionally your current errors and notebook code. Nothing is uploaded automatically; review the details before posting." })] }), e[18] = F) : F = e[18];
|
|
170
170
|
let I;
|
|
171
|
-
e[19] === Symbol.for("react.memo_cache_sentinel") ? (I = /* @__PURE__ */ (0, S.jsx)(
|
|
171
|
+
e[19] === Symbol.for("react.memo_cache_sentinel") ? (I = /* @__PURE__ */ (0, S.jsx)(f, { className: "w-4 h-4 mr-2" }), e[19] = I) : I = e[19];
|
|
172
172
|
let Te = g.length === 0, L;
|
|
173
173
|
e[20] === be ? L = e[21] : (L = (e) => be(e === !0), e[20] = be, e[21] = L);
|
|
174
174
|
let R;
|
|
175
|
-
e[22] !== k || e[23] !== L || e[24] !== Te ? (R = /* @__PURE__ */ (0, S.jsx)(
|
|
175
|
+
e[22] !== k || e[23] !== L || e[24] !== Te ? (R = /* @__PURE__ */ (0, S.jsx)(s, {
|
|
176
176
|
id: "issue-include-errors",
|
|
177
177
|
checked: k,
|
|
178
178
|
disabled: Te,
|
|
@@ -192,7 +192,7 @@ var T = () => {
|
|
|
192
192
|
let Ee = !O, V;
|
|
193
193
|
e[29] === xe ? V = e[30] : (V = (e) => xe(e === !0), e[29] = xe, e[30] = V);
|
|
194
194
|
let H;
|
|
195
|
-
e[31] !== A || e[32] !== Ee || e[33] !== V ? (H = /* @__PURE__ */ (0, S.jsx)(
|
|
195
|
+
e[31] !== A || e[32] !== Ee || e[33] !== V ? (H = /* @__PURE__ */ (0, S.jsx)(s, {
|
|
196
196
|
id: "issue-include-code",
|
|
197
197
|
checked: A,
|
|
198
198
|
disabled: Ee,
|
|
@@ -234,7 +234,7 @@ var T = () => {
|
|
|
234
234
|
children: [B, q]
|
|
235
235
|
}), e[47] = B, e[48] = q, e[49] = J) : J = e[49];
|
|
236
236
|
let Y;
|
|
237
|
-
e[50] !==
|
|
237
|
+
e[50] !== l.status || e[51] !== t ? (Y = l.status === "pending" && t != null && /* @__PURE__ */ (0, S.jsxs)("div", {
|
|
238
238
|
className: "flex flex-col gap-2",
|
|
239
239
|
children: [
|
|
240
240
|
/* @__PURE__ */ (0, S.jsx)("span", {
|
|
@@ -245,9 +245,9 @@ var T = () => {
|
|
|
245
245
|
/* @__PURE__ */ (0, S.jsx)(le, { className: "h-4 w-3/4" }),
|
|
246
246
|
/* @__PURE__ */ (0, S.jsx)(le, { className: "h-4 w-1/2" })
|
|
247
247
|
]
|
|
248
|
-
}), e[50] =
|
|
248
|
+
}), e[50] = l.status, e[51] = t, e[52] = Y) : Y = e[52];
|
|
249
249
|
let X;
|
|
250
|
-
e[53] !==
|
|
250
|
+
e[53] !== l || e[54] !== t ? (X = (l.status === "error" || t == null) && /* @__PURE__ */ (0, S.jsxs)("div", {
|
|
251
251
|
className: "flex items-center gap-2 text-sm",
|
|
252
252
|
children: [
|
|
253
253
|
/* @__PURE__ */ (0, S.jsx)(ee, { className: "w-4 h-4 text-(--yellow-11) shrink-0" }),
|
|
@@ -256,11 +256,11 @@ var T = () => {
|
|
|
256
256
|
type: "button",
|
|
257
257
|
variant: "link",
|
|
258
258
|
size: "xs",
|
|
259
|
-
onClick: () =>
|
|
259
|
+
onClick: () => l.refetch(),
|
|
260
260
|
children: "Retry"
|
|
261
261
|
})
|
|
262
262
|
]
|
|
263
|
-
}), e[53] =
|
|
263
|
+
}), e[53] = l, e[54] = t, e[55] = X) : X = e[55];
|
|
264
264
|
let Z;
|
|
265
265
|
e[56] !== j || e[57] !== g ? (Z = j && g.length === 0 && /* @__PURE__ */ (0, S.jsx)("span", {
|
|
266
266
|
className: "text-sm text-muted-foreground",
|
|
@@ -8,9 +8,9 @@ import "./chunk-4HAMMTFA-D4eFPyFh.js";
|
|
|
8
8
|
import "./chunk-GVQU2GXP-Cwbt-lF0.js";
|
|
9
9
|
import "./chunk-L3NEJ4N5-n-zgIVSy.js";
|
|
10
10
|
import "./chunk-OSK3NFVY-DXa-Cxbn.js";
|
|
11
|
-
import "./mermaid-
|
|
11
|
+
import "./mermaid-CZ6FrClS.js";
|
|
12
12
|
import "./chunk-F27PBJKO-ufseIn5y.js";
|
|
13
13
|
import "./chunk-XXDRQBXY-Dnl5VBqG.js";
|
|
14
14
|
import "./chunk-POPQ4Y6H-hYOXbYH_.js";
|
|
15
|
-
import { n as e } from "./chunk-SHT3W25Y-
|
|
15
|
+
import { n as e } from "./chunk-SHT3W25Y-mSNp-WpO.js";
|
|
16
16
|
export { e as diagram };
|
|
@@ -2,7 +2,7 @@ import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
|
2
2
|
import { h as t, r as n } from "./button-BQRdqQi1.js";
|
|
3
3
|
import { t as r } from "./react-sHtZdjeP.js";
|
|
4
4
|
import { t as i } from "./compiler-runtime-CldRdSsv.js";
|
|
5
|
-
import { t as a } from "./toDate-
|
|
5
|
+
import { t as a } from "./toDate-CDzoofJo.js";
|
|
6
6
|
import { t as o } from "./jsx-runtime-3BD1kT0s.js";
|
|
7
7
|
import { i as s } from "./loader-DOVB0Syl.js";
|
|
8
8
|
//#region ../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js
|
|
@@ -2,16 +2,16 @@ import { a as e, r as t, t as n } from "./rolldown-runtime-Cb76FRpK.js";
|
|
|
2
2
|
import { m as r, t 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 { i as s, n as c, r as l } from "./copy-icon-
|
|
6
|
-
import { C as u, c as d, i as f, n as p, s as m, t as h, x as g } from "./select-
|
|
7
|
-
import { d as _, h as v, i as y, l as b, n as x, o as S, s as C, t as w, u as T } from "./dropdown-menu-
|
|
8
|
-
import { c as E, d as D, l as O, n as k, o as A, s as ee, t as j, u as te } from "./glide-utils-
|
|
9
|
-
import { n as ne, t as re } from "./ErrorBoundary-
|
|
5
|
+
import { i as s, n as c, r as l } from "./copy-icon-De584pZ4.js";
|
|
6
|
+
import { C as u, c as d, i as f, n as p, s as m, t as h, x as g } from "./select-2KOiReNY.js";
|
|
7
|
+
import { d as _, h as v, i as y, l as b, n as x, o as S, s as C, t as w, u as T } from "./dropdown-menu-DCMbbQ35.js";
|
|
8
|
+
import { c as E, d as D, l as O, n as k, o as A, s as ee, t as j, u as te } from "./glide-utils-D98laidb.js";
|
|
9
|
+
import { n as ne, t as re } from "./ErrorBoundary-wT3f3iJ1.js";
|
|
10
10
|
import { t as ie } from "./react-dom-DUmH0GXv.js";
|
|
11
11
|
import { t as M } from "./jsx-runtime-3BD1kT0s.js";
|
|
12
|
-
import { t as N } from "./label-
|
|
13
|
-
import { c as P } from "./toast-
|
|
14
|
-
import { A as F, n as ae } from "./useTheme-
|
|
12
|
+
import { t as N } from "./label-Qvw1E97W.js";
|
|
13
|
+
import { c as P } from "./toast-B5t9o6s_.js";
|
|
14
|
+
import { A as F, n as ae } from "./useTheme-DMfQYmlG.js";
|
|
15
15
|
import { A as I, C as L, D as R, E as oe, F as se, I as ce, L as le, M as ue, N as de, O as fe, P as pe, R as me, S as he, T as z, _ as ge, a as _e, b as ve, c as ye, d as be, f as B, g as xe, h as V, i as Se, j as H, k as U, l as Ce, m as we, n as Te, o as Ee, p as De, r as W, s as Oe, t as G, u as ke, v as Ae, w as je, x as Me, y as Ne, z as Pe } from "./data-grid-types-0PJ-9N5n.js";
|
|
16
16
|
//#region ../node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
|
|
17
17
|
function Fe(e) {
|
|
@@ -7062,7 +7062,7 @@ function rs(e, t, n, r, i) {
|
|
|
7062
7062
|
}
|
|
7063
7063
|
//#endregion
|
|
7064
7064
|
//#region ../node_modules/.pnpm/@glideapps+glide-data-grid@6.0.4-alpha24_lodash@4.17.21_marked@15.0.12_react-dom@19.3.0_27cffe7f1bc30287d59ac27db3240c5b/node_modules/@glideapps/glide-data-grid/dist/esm/data-editor/data-editor.js
|
|
7065
|
-
var is = /* @__PURE__ */ e(_r(), 1), as = /* @__PURE__ */ e(xr(), 1), os = K.lazy(async () => await import("./data-grid-overlay-editor-
|
|
7065
|
+
var is = /* @__PURE__ */ e(_r(), 1), as = /* @__PURE__ */ e(xr(), 1), os = K.lazy(async () => await import("./data-grid-overlay-editor-CTC-bJus.js")), ss = 0;
|
|
7066
7066
|
function cs(e) {
|
|
7067
7067
|
return (0, is.default)((0, as.default)((0, as.default)(e).filter((e) => e.span !== void 0).map((e) => (0, Za.default)((e.span?.[0] ?? 0) + 1, (e.span?.[1] ?? 0) + 1))));
|
|
7068
7068
|
}
|
|
@@ -9293,7 +9293,7 @@ function Vs(e, t, n, r, i) {
|
|
|
9293
9293
|
}
|
|
9294
9294
|
//#endregion
|
|
9295
9295
|
//#region ../node_modules/.pnpm/@glideapps+glide-data-grid@6.0.4-alpha24_lodash@4.17.21_marked@15.0.12_react-dom@19.3.0_27cffe7f1bc30287d59ac27db3240c5b/node_modules/@glideapps/glide-data-grid/dist/esm/cells/number-cell.js
|
|
9296
|
-
var Hs = K.lazy(async () => await import("./number-overlay-editor-
|
|
9296
|
+
var Hs = K.lazy(async () => await import("./number-overlay-editor-DQG-hFHT.js")), Us = {
|
|
9297
9297
|
getAccessibilityString: (e) => e.data?.toString() ?? "",
|
|
9298
9298
|
kind: W.Number,
|
|
9299
9299
|
needsHover: (e) => e.hoverEffect === !0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
2
2
|
import { g as t } from "./button-BQRdqQi1.js";
|
|
3
|
-
import { m as n } from "./tooltip-
|
|
4
|
-
import { C as r } from "./select-
|
|
3
|
+
import { m as n } from "./tooltip-s4zZxwKe.js";
|
|
4
|
+
import { C as r } from "./select-2KOiReNY.js";
|
|
5
5
|
import { i, r as a } from "./data-grid-types-0PJ-9N5n.js";
|
|
6
6
|
var o = n("pencil", [["path", {
|
|
7
7
|
d: "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as e } from "./tooltip-
|
|
2
|
-
import { _ as t } from "./useTheme-
|
|
3
|
-
import { r as n } from "./code-visibility-
|
|
1
|
+
import { m as e } from "./tooltip-s4zZxwKe.js";
|
|
2
|
+
import { _ as t } from "./useTheme-DMfQYmlG.js";
|
|
3
|
+
import { r as n } from "./code-visibility-ZReaeMaF.js";
|
|
4
4
|
var r = e("triangle-alert", [
|
|
5
5
|
["path", {
|
|
6
6
|
d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
|
|
@@ -2,18 +2,18 @@ import { a as e, t } from "./rolldown-runtime-Cb76FRpK.js";
|
|
|
2
2
|
import { g as n, h as r, p as i, r as a, t as o, u as s } from "./button-BQRdqQi1.js";
|
|
3
3
|
import { t as c } from "./react-sHtZdjeP.js";
|
|
4
4
|
import { t as l } from "./compiler-runtime-CldRdSsv.js";
|
|
5
|
-
import { n as u, t as d } from "./copy-icon-
|
|
5
|
+
import { n as u, t as d } from "./copy-icon-De584pZ4.js";
|
|
6
6
|
import { a as f, c as p, l as m, s as h, t as g } from "./chunk-YOKDWASO-DKplTrBY.js";
|
|
7
|
-
import { c as _, l as v, m as y, s as b, t as x, u as ee } from "./tooltip-
|
|
8
|
-
import { Ct as te,
|
|
9
|
-
import { D as Ce, M as we, k as Te } from "./select-
|
|
10
|
-
import { J as Ee, pt as De } from "./dropdown-menu-
|
|
11
|
-
import { m as Oe, y as ke } from "./toDate-
|
|
7
|
+
import { c as _, l as v, m as y, s as b, t as x, u as ee } from "./tooltip-s4zZxwKe.js";
|
|
8
|
+
import { Ct as te, Et as ne, G as re, I as ie, Lt as ae, M as oe, Ot as se, P as ce, Q as le, St as ue, Tt as de, W as fe, a as pe, d as me, gt as he, in as ge, it as _e, kt as ve, st as ye, tn as be, wt as xe, y as Se } from "./error-entries-CmWMEsY_.js";
|
|
9
|
+
import { D as Ce, M as we, k as Te } from "./select-2KOiReNY.js";
|
|
10
|
+
import { J as Ee, pt as De } from "./dropdown-menu-DCMbbQ35.js";
|
|
11
|
+
import { m as Oe, y as ke } from "./toDate-CDzoofJo.js";
|
|
12
12
|
import { t as Ae } from "./jsx-runtime-3BD1kT0s.js";
|
|
13
|
-
import {
|
|
14
|
-
import { A as Ke, D as qe, _ as Je, c as Ye, n as Xe, w as D } from "./useTheme-
|
|
13
|
+
import { $ as je, Ct as S, Dt as Me, Et as C, Ot as Ne, Q as Pe, Tt as w, Y as Fe, _t as Ie, bt as Le, dt as Re, ft as ze, gt as Be, ht as Ve, kt as T, mt as He, tt as Ue, vt as We, wt as E, yt as Ge } from "./use-restore-focus-BgDTd2tc.js";
|
|
14
|
+
import { A as Ke, D as qe, _ as Je, c as Ye, n as Xe, w as D } from "./useTheme-DMfQYmlG.js";
|
|
15
15
|
import { $ as Ze } from "./dist-DoE4XJBC.js";
|
|
16
|
-
import { t as Qe } from "./useAsyncData-
|
|
16
|
+
import { t as Qe } from "./useAsyncData-Bn8SxUqM.js";
|
|
17
17
|
//#region ../node_modules/.pnpm/domelementtype@2.3.0/node_modules/domelementtype/lib/index.js
|
|
18
18
|
var $e = /* @__PURE__ */ t(((e) => {
|
|
19
19
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.Doctype = e.CDATA = e.Tag = e.Style = e.Script = e.Comment = e.Directive = e.Text = e.Root = e.isTag = e.ElementType = void 0;
|
|
@@ -1347,10 +1347,10 @@ var $e = /* @__PURE__ */ t(((e) => {
|
|
|
1347
1347
|
return /* @__PURE__ */ (0, j.jsx)(xt, {
|
|
1348
1348
|
scope: n,
|
|
1349
1349
|
disabled: a,
|
|
1350
|
-
contentId:
|
|
1350
|
+
contentId: S(),
|
|
1351
1351
|
open: c,
|
|
1352
1352
|
onOpenToggle: O.useCallback(() => l((e) => !e), [l]),
|
|
1353
|
-
children: /* @__PURE__ */ (0, j.jsx)(
|
|
1353
|
+
children: /* @__PURE__ */ (0, j.jsx)(T.div, {
|
|
1354
1354
|
"data-state": N(c),
|
|
1355
1355
|
"data-disabled": a ? "" : void 0,
|
|
1356
1356
|
...s,
|
|
@@ -1359,7 +1359,7 @@ var $e = /* @__PURE__ */ t(((e) => {
|
|
|
1359
1359
|
});
|
|
1360
1360
|
}, "Collapsible")), wt = "CollapsibleTrigger", Tt = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ M(function(e, t) {
|
|
1361
1361
|
let { __scopeCollapsible: n, ...r } = e, i = St(wt, n);
|
|
1362
|
-
return /* @__PURE__ */ (0, j.jsx)(
|
|
1362
|
+
return /* @__PURE__ */ (0, j.jsx)(T.button, {
|
|
1363
1363
|
type: "button",
|
|
1364
1364
|
"aria-controls": i.open ? i.contentId : void 0,
|
|
1365
1365
|
"aria-expanded": i.open || !1,
|
|
@@ -1368,7 +1368,7 @@ var $e = /* @__PURE__ */ t(((e) => {
|
|
|
1368
1368
|
disabled: i.disabled,
|
|
1369
1369
|
...r,
|
|
1370
1370
|
ref: t,
|
|
1371
|
-
onClick:
|
|
1371
|
+
onClick: C(e.onClick, i.onOpenToggle)
|
|
1372
1372
|
});
|
|
1373
1373
|
}, "CollapsibleTrigger")), Et = "CollapsibleContent", Dt = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ M(function(e, t) {
|
|
1374
1374
|
let { forceMount: n, ...r } = e, i = St(Et, e.__scopeCollapsible);
|
|
@@ -1385,7 +1385,7 @@ var $e = /* @__PURE__ */ t(((e) => {
|
|
|
1385
1385
|
return O.useEffect(() => {
|
|
1386
1386
|
let e = requestAnimationFrame(() => _.current = !1);
|
|
1387
1387
|
return () => cancelAnimationFrame(e);
|
|
1388
|
-
}, []),
|
|
1388
|
+
}, []), Me(() => {
|
|
1389
1389
|
let e = u.current;
|
|
1390
1390
|
if (e) {
|
|
1391
1391
|
v.current = v.current || {
|
|
@@ -1395,7 +1395,7 @@ var $e = /* @__PURE__ */ t(((e) => {
|
|
|
1395
1395
|
let t = e.getBoundingClientRect();
|
|
1396
1396
|
f.current = t.height, m.current = t.width, _.current || (e.style.transitionDuration = v.current.transitionDuration, e.style.animationName = v.current.animationName), l(r);
|
|
1397
1397
|
}
|
|
1398
|
-
}, [s.open, r]), /* @__PURE__ */ (0, j.jsx)(
|
|
1398
|
+
}, [s.open, r]), /* @__PURE__ */ (0, j.jsx)(T.div, {
|
|
1399
1399
|
"data-state": N(s.open),
|
|
1400
1400
|
"data-disabled": s.disabled ? "" : void 0,
|
|
1401
1401
|
id: s.contentId,
|
|
@@ -1490,7 +1490,7 @@ var kt = Object.defineProperty, P = (e, t) => kt(e, "name", {
|
|
|
1490
1490
|
})
|
|
1491
1491
|
});
|
|
1492
1492
|
}, "AccordionImplMultiple")), [Wt, z] = L(I), Gt = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ P(function(e, t) {
|
|
1493
|
-
let { __scopeAccordion: n, disabled: r, dir: a, orientation: o = F.Vertical, ...s } = e, c = O.useRef(null), l = i(c, t), u = Pt(n), d = Ce(a) === jt.LTR, f =
|
|
1493
|
+
let { __scopeAccordion: n, disabled: r, dir: a, orientation: o = F.Vertical, ...s } = e, c = O.useRef(null), l = i(c, t), u = Pt(n), d = Ce(a) === jt.LTR, f = C(e.onKeyDown, (e) => {
|
|
1494
1494
|
if (!Mt.includes(e.key)) return;
|
|
1495
1495
|
let t = u(), n = e.target, r = t.filter(([, e]) => !e.element.disabled), i = r.findIndex(([, e]) => e.element === n), a = r.size;
|
|
1496
1496
|
if (i === -1) return;
|
|
@@ -1528,7 +1528,7 @@ var kt = Object.defineProperty, P = (e, t) => kt(e, "name", {
|
|
|
1528
1528
|
orientation: o,
|
|
1529
1529
|
children: /* @__PURE__ */ (0, j.jsx)(Nt.Slot, {
|
|
1530
1530
|
scope: n,
|
|
1531
|
-
children: /* @__PURE__ */ (0, j.jsx)(
|
|
1531
|
+
children: /* @__PURE__ */ (0, j.jsx)(T.div, {
|
|
1532
1532
|
...s,
|
|
1533
1533
|
"data-orientation": o,
|
|
1534
1534
|
ref: l,
|
|
@@ -1537,7 +1537,7 @@ var kt = Object.defineProperty, P = (e, t) => kt(e, "name", {
|
|
|
1537
1537
|
})
|
|
1538
1538
|
});
|
|
1539
1539
|
}, "AccordionImpl")), B = "AccordionItem", [Kt, qt] = L(B), Jt = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ P(function(e, t) {
|
|
1540
|
-
let { __scopeAccordion: n, value: r, ...i } = e, a = z(B, n), o = zt(B, n), s = R(n), c =
|
|
1540
|
+
let { __scopeAccordion: n, value: r, ...i } = e, a = z(B, n), o = zt(B, n), s = R(n), c = S(), l = r && o.value.includes(r) || !1, u = a.disabled || e.disabled;
|
|
1541
1541
|
return /* @__PURE__ */ (0, j.jsx)(Kt, {
|
|
1542
1542
|
scope: n,
|
|
1543
1543
|
open: l,
|
|
@@ -1558,7 +1558,7 @@ var kt = Object.defineProperty, P = (e, t) => kt(e, "name", {
|
|
|
1558
1558
|
});
|
|
1559
1559
|
}, "AccordionItem")), Yt = "AccordionHeader", Xt = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ P(function(e, t) {
|
|
1560
1560
|
let { __scopeAccordion: n, ...r } = e, i = z(I, n), a = qt(Yt, n);
|
|
1561
|
-
return /* @__PURE__ */ (0, j.jsx)(
|
|
1561
|
+
return /* @__PURE__ */ (0, j.jsx)(T.h3, {
|
|
1562
1562
|
"data-orientation": i.orientation,
|
|
1563
1563
|
"data-state": tn(a.open),
|
|
1564
1564
|
"data-disabled": a.disabled ? "" : void 0,
|
|
@@ -1614,9 +1614,9 @@ var nn = Object.defineProperty, V = (e, t) => nn(e, "name", {
|
|
|
1614
1614
|
...s,
|
|
1615
1615
|
children: /* @__PURE__ */ (0, j.jsx)(sn, {
|
|
1616
1616
|
scope: t,
|
|
1617
|
-
contentId:
|
|
1618
|
-
titleId:
|
|
1619
|
-
descriptionId:
|
|
1617
|
+
contentId: S(),
|
|
1618
|
+
titleId: S(),
|
|
1619
|
+
descriptionId: S(),
|
|
1620
1620
|
titlePresent: d > 0,
|
|
1621
1621
|
descriptionPresent: p > 0,
|
|
1622
1622
|
setTitleCount: f,
|
|
@@ -1640,7 +1640,7 @@ var nn = Object.defineProperty, V = (e, t) => nn(e, "name", {
|
|
|
1640
1640
|
ref: t
|
|
1641
1641
|
});
|
|
1642
1642
|
}, "PopoverAnchor")), dn = "PopoverTrigger", fn = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ V(function(e, t) {
|
|
1643
|
-
let { __scopePopover: n, ...r } = e, a = U(dn, n), o = H(n), s = i(t, a.triggerRef), c = /* @__PURE__ */ (0, j.jsx)(
|
|
1643
|
+
let { __scopePopover: n, ...r } = e, a = U(dn, n), o = H(n), s = i(t, a.triggerRef), c = /* @__PURE__ */ (0, j.jsx)(T.button, {
|
|
1644
1644
|
type: "button",
|
|
1645
1645
|
"aria-haspopup": "dialog",
|
|
1646
1646
|
"aria-expanded": a.open,
|
|
@@ -1648,7 +1648,7 @@ var nn = Object.defineProperty, V = (e, t) => nn(e, "name", {
|
|
|
1648
1648
|
"data-state": wn(a.open),
|
|
1649
1649
|
...r,
|
|
1650
1650
|
ref: s,
|
|
1651
|
-
onClick:
|
|
1651
|
+
onClick: C(e.onClick, a.onOpenToggle)
|
|
1652
1652
|
});
|
|
1653
1653
|
return a.hasCustomAnchor ? c : /* @__PURE__ */ (0, j.jsx)(_, {
|
|
1654
1654
|
asChild: !0,
|
|
@@ -1662,7 +1662,7 @@ var nn = Object.defineProperty, V = (e, t) => nn(e, "name", {
|
|
|
1662
1662
|
forceMount: n,
|
|
1663
1663
|
children: /* @__PURE__ */ (0, j.jsx)(E, {
|
|
1664
1664
|
present: n || a.open,
|
|
1665
|
-
children: /* @__PURE__ */ (0, j.jsx)(
|
|
1665
|
+
children: /* @__PURE__ */ (0, j.jsx)(Ve, {
|
|
1666
1666
|
asChild: !0,
|
|
1667
1667
|
container: i,
|
|
1668
1668
|
children: r
|
|
@@ -1682,11 +1682,11 @@ var nn = Object.defineProperty, V = (e, t) => nn(e, "name", {
|
|
|
1682
1682
|
})
|
|
1683
1683
|
});
|
|
1684
1684
|
}, "PopoverContent")), vn = s("PopoverContent.RemoveScroll"), yn = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ V(function(e, t) {
|
|
1685
|
-
let n = U(W, e.__scopePopover), r = O.useRef(null), a = i(t, r), o = O.useRef(!1), { nodes: s, registry: c } =
|
|
1685
|
+
let n = U(W, e.__scopePopover), r = O.useRef(null), a = i(t, r), o = O.useRef(!1), { nodes: s, registry: c } = Ge();
|
|
1686
1686
|
return O.useEffect(() => {
|
|
1687
1687
|
let e = r.current;
|
|
1688
|
-
if (e) return
|
|
1689
|
-
}, []), /* @__PURE__ */ (0, j.jsx)(
|
|
1688
|
+
if (e) return Re(e);
|
|
1689
|
+
}, []), /* @__PURE__ */ (0, j.jsx)(ze, {
|
|
1690
1690
|
as: vn,
|
|
1691
1691
|
allowPinchZoom: !0,
|
|
1692
1692
|
shards: O.useMemo(() => [r, ...s.map((e) => ({ current: e }))], [r, s]),
|
|
@@ -1697,14 +1697,14 @@ var nn = Object.defineProperty, V = (e, t) => nn(e, "name", {
|
|
|
1697
1697
|
branchRegistry: c,
|
|
1698
1698
|
trapFocus: n.open,
|
|
1699
1699
|
disableOutsidePointerEvents: !0,
|
|
1700
|
-
onCloseAutoFocus:
|
|
1700
|
+
onCloseAutoFocus: C(e.onCloseAutoFocus, (e) => {
|
|
1701
1701
|
e.preventDefault(), o.current || n.triggerRef.current?.focus();
|
|
1702
1702
|
}),
|
|
1703
|
-
onPointerDownOutside:
|
|
1703
|
+
onPointerDownOutside: C(e.onPointerDownOutside, (e) => {
|
|
1704
1704
|
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0, r = t.button === 2 || n;
|
|
1705
1705
|
o.current = r;
|
|
1706
1706
|
}, { checkForDefaultPrevented: !1 }),
|
|
1707
|
-
onFocusOutside:
|
|
1707
|
+
onFocusOutside: C(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
1708
1708
|
})
|
|
1709
1709
|
});
|
|
1710
1710
|
}, "PopoverContentModal")), bn = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ V(function(e, t) {
|
|
@@ -1725,16 +1725,16 @@ var nn = Object.defineProperty, V = (e, t) => nn(e, "name", {
|
|
|
1725
1725
|
});
|
|
1726
1726
|
}, "PopoverContentNonModal")), xn = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ V(function(e, t) {
|
|
1727
1727
|
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: a, onCloseAutoFocus: o, disableOutsidePointerEvents: s, onEscapeKeyDown: c, onPointerDownOutside: l, onFocusOutside: u, onInteractOutside: d, "aria-describedby": f, branchNodes: p, branchRegistry: m, ...h } = e, g = U(W, n), _ = H(n), [y, b] = O.useState(null), x = i(t, b);
|
|
1728
|
-
return
|
|
1728
|
+
return We(y), He(), /* @__PURE__ */ (0, j.jsx)(Ie, {
|
|
1729
1729
|
registry: m,
|
|
1730
|
-
children: /* @__PURE__ */ (0, j.jsx)(
|
|
1730
|
+
children: /* @__PURE__ */ (0, j.jsx)(Be, {
|
|
1731
1731
|
asChild: !0,
|
|
1732
1732
|
loop: !0,
|
|
1733
1733
|
trapped: r,
|
|
1734
1734
|
branches: p,
|
|
1735
1735
|
onMountAutoFocus: a,
|
|
1736
1736
|
onUnmountAutoFocus: o,
|
|
1737
|
-
children: /* @__PURE__ */ (0, j.jsx)(
|
|
1737
|
+
children: /* @__PURE__ */ (0, j.jsx)(Le, {
|
|
1738
1738
|
asChild: !0,
|
|
1739
1739
|
disableOutsidePointerEvents: s,
|
|
1740
1740
|
onInteractOutside: d,
|
|
@@ -1766,11 +1766,11 @@ var nn = Object.defineProperty, V = (e, t) => nn(e, "name", {
|
|
|
1766
1766
|
});
|
|
1767
1767
|
}, "PopoverContentImpl")), Sn = "PopoverClose", Cn = /* @__PURE__ */ O.forwardRef(/* @__PURE__ */ V(function(e, t) {
|
|
1768
1768
|
let { __scopePopover: n, ...r } = e, i = U(Sn, n);
|
|
1769
|
-
return /* @__PURE__ */ (0, j.jsx)(
|
|
1769
|
+
return /* @__PURE__ */ (0, j.jsx)(T.button, {
|
|
1770
1770
|
type: "button",
|
|
1771
1771
|
...r,
|
|
1772
1772
|
ref: t,
|
|
1773
|
-
onClick:
|
|
1773
|
+
onClick: C(e.onClick, () => i.onOpenChange(!1))
|
|
1774
1774
|
});
|
|
1775
1775
|
}, "PopoverClose"));
|
|
1776
1776
|
function wn(e) {
|
|
@@ -1815,18 +1815,18 @@ var En = (e) => {
|
|
|
1815
1815
|
...i,
|
|
1816
1816
|
children: n
|
|
1817
1817
|
}), t[10] = n, t[11] = d, t[12] = r, t[13] = l, t[14] = i, t[15] = f) : f = t[15], f;
|
|
1818
|
-
}, Dn = cn, On = fn, kn =
|
|
1818
|
+
}, Dn = cn, On = fn, kn = Pe(gn), An = Cn, jn = je(_n), Mn = O.forwardRef((e, t) => {
|
|
1819
1819
|
let n = (0, k.c)(22), i, a, o, s, c, l;
|
|
1820
1820
|
n[0] === e ? (i = n[1], a = n[2], o = n[3], s = n[4], c = n[5], l = n[6]) : ({className: i, align: o, sideOffset: s, portal: c, scrollable: l, ...a} = e, n[0] = e, n[1] = i, n[2] = a, n[3] = o, n[4] = s, n[5] = c, n[6] = l);
|
|
1821
1821
|
let u = o === void 0 ? "center" : o, d = s === void 0 ? 4 : s, f = c === void 0 || c, p = l !== void 0 && l, m = p && "overflow-auto", h;
|
|
1822
1822
|
n[7] !== i || n[8] !== m ? (h = r("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-hidden animate-in data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", i, m), n[7] = i, n[8] = m, n[9] = h) : h = n[9];
|
|
1823
|
-
let g = p ? `calc(var(--radix-popover-content-available-height) - ${
|
|
1823
|
+
let g = p ? `calc(var(--radix-popover-content-available-height) - ${Fe}px)` : void 0, _;
|
|
1824
1824
|
n[10] !== a.style || n[11] !== g ? (_ = {
|
|
1825
1825
|
...a.style,
|
|
1826
1826
|
maxHeight: g
|
|
1827
1827
|
}, n[10] = a.style, n[11] = g, n[12] = _) : _ = n[12];
|
|
1828
1828
|
let v;
|
|
1829
|
-
n[13] !== u || n[14] !== a || n[15] !== t || n[16] !== d || n[17] !== h || n[18] !== _ ? (v = /* @__PURE__ */ (0, j.jsx)(
|
|
1829
|
+
n[13] !== u || n[14] !== a || n[15] !== t || n[16] !== d || n[17] !== h || n[18] !== _ ? (v = /* @__PURE__ */ (0, j.jsx)(Ue, { children: /* @__PURE__ */ (0, j.jsx)(jn, {
|
|
1830
1830
|
ref: t,
|
|
1831
1831
|
align: u,
|
|
1832
1832
|
sideOffset: d,
|
|
@@ -1847,13 +1847,13 @@ Mn.displayName = _n.displayName;
|
|
|
1847
1847
|
async function Nn(e) {
|
|
1848
1848
|
let t = me().inOrderIds.at(0);
|
|
1849
1849
|
if (t) try {
|
|
1850
|
-
let n = await
|
|
1850
|
+
let n = await _e.request({
|
|
1851
1851
|
document: e,
|
|
1852
1852
|
cellId: t
|
|
1853
1853
|
});
|
|
1854
1854
|
if (!n || n.options.length === 0) return;
|
|
1855
1855
|
let r = e.split(".").pop() ?? e, i = n.options[0], a = n.options.find((e) => e.name === r) ?? i;
|
|
1856
|
-
a?.completion_info && Je.set(
|
|
1856
|
+
a?.completion_info && Je.set(ye, { documentation: a.completion_info });
|
|
1857
1857
|
} catch (t) {
|
|
1858
1858
|
n.debug(`Doc lookup failed for "${e}"`, t);
|
|
1859
1859
|
}
|
|
@@ -2338,7 +2338,7 @@ var Nr = O.forwardRef((e, t) => {
|
|
|
2338
2338
|
Nr.displayName = en.displayName;
|
|
2339
2339
|
//#endregion
|
|
2340
2340
|
//#region src/utils/multi-map.ts
|
|
2341
|
-
var Pr = /* @__PURE__ */ e(
|
|
2341
|
+
var Pr = /* @__PURE__ */ e(te(), 1), Fr = class {
|
|
2342
2342
|
map = /* @__PURE__ */ new Map();
|
|
2343
2343
|
get(e) {
|
|
2344
2344
|
return this.map.get(e) ?? [];
|
|
@@ -2478,7 +2478,7 @@ var Lr = class {
|
|
|
2478
2478
|
return (await Promise.all(i)).flat();
|
|
2479
2479
|
}
|
|
2480
2480
|
};
|
|
2481
|
-
ae([
|
|
2481
|
+
ae([be()], Rr.prototype, "getAllItems", null);
|
|
2482
2482
|
//#endregion
|
|
2483
2483
|
//#region src/core/ai/context/utils.ts
|
|
2484
2484
|
function zr(e) {
|
|
@@ -2533,12 +2533,12 @@ var Vr = {
|
|
|
2533
2533
|
connectionsMap;
|
|
2534
2534
|
dataframes;
|
|
2535
2535
|
constructor(e, t) {
|
|
2536
|
-
super(), this.connectionsMap = e, this.dataframes = [...t.values()].filter((e) =>
|
|
2536
|
+
super(), this.connectionsMap = e, this.dataframes = [...t.values()].filter((e) => ne(e) === "dataframe");
|
|
2537
2537
|
}
|
|
2538
2538
|
getItems() {
|
|
2539
2539
|
return [...this.connectionsMap.values()].map((e) => {
|
|
2540
2540
|
let t = "Database schema.", n = { connection: e };
|
|
2541
|
-
return
|
|
2541
|
+
return se.has(e.name) && (n.tables = this.dataframes, t = "Database schema and the dataframes that can be queried"), e.databases.length === 0 && (n.tables?.length ?? 0) === 0 ? null : {
|
|
2542
2542
|
uri: this.asURI(e.name),
|
|
2543
2543
|
name: e.name,
|
|
2544
2544
|
description: t,
|
|
@@ -2549,7 +2549,7 @@ var Vr = {
|
|
|
2549
2549
|
}
|
|
2550
2550
|
formatContext(e) {
|
|
2551
2551
|
let t = e.data, { name: n, display_name: r, source: i, ...a } = t.connection, o = a;
|
|
2552
|
-
return
|
|
2552
|
+
return se.has(n) || (o = {
|
|
2553
2553
|
...a,
|
|
2554
2554
|
engine_name: n
|
|
2555
2555
|
}), Br({
|
|
@@ -2562,16 +2562,16 @@ var Vr = {
|
|
|
2562
2562
|
}
|
|
2563
2563
|
formatCompletion(e) {
|
|
2564
2564
|
let t = e.data, n = t.connection, r = t.tables, i = n.name;
|
|
2565
|
-
return
|
|
2565
|
+
return se.has(n.name) && (i = "In-Memory"), {
|
|
2566
2566
|
label: `@${i}`,
|
|
2567
2567
|
displayLabel: i,
|
|
2568
|
-
detail:
|
|
2568
|
+
detail: ue(n.dialect),
|
|
2569
2569
|
boost: Vr.MEDIUM,
|
|
2570
2570
|
type: this.contextType,
|
|
2571
2571
|
section: Hr.DATA_SOURCES,
|
|
2572
2572
|
info: () => {
|
|
2573
2573
|
let e = document.createElement("div");
|
|
2574
|
-
return e.classList.add("mo-cm-tooltip", "docs-documentation"), (0, Pr.createRoot)(e).render(
|
|
2574
|
+
return e.classList.add("mo-cm-tooltip", "docs-documentation"), (0, Pr.createRoot)(e).render(he(n, r)), e;
|
|
2575
2575
|
}
|
|
2576
2576
|
};
|
|
2577
2577
|
}
|
|
@@ -2579,13 +2579,13 @@ var Vr = {
|
|
|
2579
2579
|
function Gr(e, t) {
|
|
2580
2580
|
let n = t.get(pe(e))?.code;
|
|
2581
2581
|
if (!n || n.trim() === "") return null;
|
|
2582
|
-
let [r, i, a] =
|
|
2582
|
+
let [r, i, a] = fe.sql.transformIn(n), o = t.get(de).connectionsMap.get(a.engine);
|
|
2583
2583
|
return o ? `@${Ur}://${o.name}` : null;
|
|
2584
2584
|
}
|
|
2585
2585
|
function Kr(e, t) {
|
|
2586
2586
|
let n = Gr(e, t);
|
|
2587
2587
|
if (!n) return null;
|
|
2588
|
-
let r = t.get(
|
|
2588
|
+
let r = t.get(de).connectionsMap, i = new Wr(r, t.get(xe)), a = n.slice(1), o = i.getItems().find((e) => e.uri === a);
|
|
2589
2589
|
return o ? i.formatContext(o) : null;
|
|
2590
2590
|
}
|
|
2591
2591
|
//#endregion
|
|
@@ -2593,7 +2593,7 @@ function Kr(e, t) {
|
|
|
2593
2593
|
var qr = {}, Jr = {};
|
|
2594
2594
|
function Yr(e) {
|
|
2595
2595
|
let t = (0, k.c)(16), { mode: n } = D(ke), { updateCellConfig: r } = Se(), i;
|
|
2596
|
-
t[0] === e ? i = t[1] : (i =
|
|
2596
|
+
t[0] === e ? i = t[1] : (i = ge(pe(e), Zr, Object.is), t[0] = e, t[1] = i);
|
|
2597
2597
|
let a = D(i), o;
|
|
2598
2598
|
t[2] !== e || t[3] !== a ? (o = () => qr[e] ?? a, t[2] = e, t[3] = a, t[4] = o) : o = t[4];
|
|
2599
2599
|
let [s, c] = (0, O.useState)(o), l, u;
|
|
@@ -2607,7 +2607,7 @@ function Yr(e) {
|
|
|
2607
2607
|
r({
|
|
2608
2608
|
cellId: e,
|
|
2609
2609
|
config: n
|
|
2610
|
-
}),
|
|
2610
|
+
}), ve().saveCellConfig({ configs: { [e]: n } }).catch(Xr);
|
|
2611
2611
|
}, t[9] = e, t[10] = d, t[11] = r, t[12] = p) : p = t[12];
|
|
2612
2612
|
let m = Ke(p), h;
|
|
2613
2613
|
return t[13] !== f || t[14] !== m ? (h = [f, m], t[13] = f, t[14] = m, t[15] = h) : h = t[15], h;
|
|
@@ -2631,7 +2631,7 @@ function $r(e) {
|
|
|
2631
2631
|
}
|
|
2632
2632
|
//#endregion
|
|
2633
2633
|
//#region src/plugins/impl/code/LazyAnyLanguageCodeMirror.tsx
|
|
2634
|
-
var ei = (0, O.lazy)(() => import("./any-language-editor-
|
|
2634
|
+
var ei = (0, O.lazy)(() => import("./any-language-editor-B92WMzoC.js")), ti = [Ze.lineWrapping];
|
|
2635
2635
|
function ni(e, t) {
|
|
2636
2636
|
return e ? e === "python" ? {
|
|
2637
2637
|
language: e,
|
|
@@ -2641,7 +2641,7 @@ function ni(e, t) {
|
|
|
2641
2641
|
code: re.fromQuery(t)
|
|
2642
2642
|
} : e === "markdown" ? {
|
|
2643
2643
|
language: "python",
|
|
2644
|
-
code:
|
|
2644
|
+
code: le.fromMarkdown(t)
|
|
2645
2645
|
} : e === "shell" || e === "bash" ? {
|
|
2646
2646
|
language: "python",
|
|
2647
2647
|
code: `import subprocess\nsubprocess.run("${t}")`
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as e } from "./src-CA_m4ONl.js";
|
|
2
2
|
import { n as t } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
3
3
|
import { c as n } from "./chunk-DU6HZSFF-BwiyaNpg.js";
|
|
4
|
-
import { p as r } from "./mermaid-
|
|
4
|
+
import { p as r } from "./mermaid-CZ6FrClS.js";
|
|
5
5
|
import { n as i } from "./mermaid-parser.core-DxuSfYwJ.js";
|
|
6
6
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-27XIBGKW.mjs
|
|
7
7
|
var a = { parse: /* @__PURE__ */ t(async (t) => {
|
|
@@ -3,7 +3,7 @@ import "./src-CA_m4ONl.js";
|
|
|
3
3
|
import { n as t } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
4
4
|
import { H as n, K as r, U as i, a, c as o, s, v as c, w as l, x as u, y as d } from "./chunk-DU6HZSFF-BwiyaNpg.js";
|
|
5
5
|
import { t as f } from "./rough.esm-CtV9AnV1.js";
|
|
6
|
-
import { p } from "./mermaid-
|
|
6
|
+
import { p } from "./mermaid-CZ6FrClS.js";
|
|
7
7
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/ishikawaDiagram-5VMMS53U.mjs
|
|
8
8
|
var m = (function() {
|
|
9
9
|
var e = /* @__PURE__ */ t(function(e, t, n, r) {
|
package/dist/{kanban-definition-UXKFOSKX-CZaG-iam.js → kanban-definition-UXKFOSKX-VNW2Beqh.js}
RENAMED
|
@@ -8,7 +8,7 @@ import "./chunk-GMAD6QVW-BhaJx0X3.js";
|
|
|
8
8
|
import "./chunk-4HAMMTFA-D4eFPyFh.js";
|
|
9
9
|
import { i as l, r as u } from "./chunk-GVQU2GXP-Cwbt-lF0.js";
|
|
10
10
|
import { n as d } from "./chunk-L3NEJ4N5-n-zgIVSy.js";
|
|
11
|
-
import { a as f, i as p, p as m } from "./mermaid-
|
|
11
|
+
import { a as f, i as p, p as m } from "./mermaid-CZ6FrClS.js";
|
|
12
12
|
import { t as h } from "./chunk-5VM5RSS4-DKsmPCL6.js";
|
|
13
13
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-UXKFOSKX.mjs
|
|
14
14
|
var g = (function() {
|
|
@@ -3,7 +3,7 @@ import { h as t, r as n } from "./button-BQRdqQi1.js";
|
|
|
3
3
|
import { t as r } from "./react-sHtZdjeP.js";
|
|
4
4
|
import { t as i } from "./compiler-runtime-CldRdSsv.js";
|
|
5
5
|
import { t as a } from "./jsx-runtime-3BD1kT0s.js";
|
|
6
|
-
import {
|
|
6
|
+
import { kt as o } from "./use-restore-focus-BgDTd2tc.js";
|
|
7
7
|
//#region ../node_modules/.pnpm/@radix-ui+react-label@2.1.17_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@_099847eca268dc359e5086947d5ece66/node_modules/@radix-ui/react-label/dist/index.mjs
|
|
8
8
|
var s = /* @__PURE__ */ e(r(), 1), c = a(), l = Object.defineProperty, u = /* @__PURE__ */ s.forwardRef(/* @__PURE__ */ ((e, t) => l(e, "name", {
|
|
9
9
|
value: t,
|