@marimo-team/islands 0.26.1-dev20 → 0.26.1-dev25
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-CR9WyiEc.js → ConnectedDataExplorerComponent-jtTaDisw.js} +16 -16
- package/dist/{ErrorBoundary-Cx-CwafE.js → ErrorBoundary-Bs2ehxEI.js} +6 -6
- package/dist/{abnfDiagram-VCTEODGH-DGAbsdXT.js → abnfDiagram-VCTEODGH-cUj3Gnnh.js} +2 -2
- package/dist/{any-language-editor-DzGF1ll-.js → any-language-editor-BHgkY7jY.js} +2 -2
- package/dist/{architectureDiagram-5GKGNRK7-D4DnIo7R.js → architectureDiagram-5GKGNRK7-CIAZgn9d.js} +1 -1
- package/dist/{assertNever-CqwxSD_2.js → assertNever-BHnIohkX.js} +13 -13
- package/dist/{chat-ui-qZdDDrzU.js → chat-ui-DOvIzlMA.js} +46 -46
- package/dist/{check-D9vf6LYF.js → check-LtjuWmNn.js} +1 -1
- package/dist/{chunk-IMKFNOWR-Bc_i6jWx.js → chunk-IMKFNOWR-CB9N3qYR.js} +1 -1
- package/dist/{chunk-SHT3W25Y-CGML5pnF.js → chunk-SHT3W25Y-D9njV7TI.js} +1 -1
- package/dist/{chunk-SVP7TREG-ZpeFKfFT.js → chunk-SVP7TREG-CUCE0BFm.js} +1 -1
- package/dist/{chunk-TICWLB2K-C6cLmcg8.js → chunk-TICWLB2K-iQB6ttkI.js} +1 -1
- package/dist/{classDiagram-ZZMXUADV--q40NTXr.js → classDiagram-ZZMXUADV-BI1VBNIo.js} +2 -2
- package/dist/{classDiagram-v2-VYDZK3BY-Dt_Pp94L.js → classDiagram-v2-VYDZK3BY-BYL3asWh.js} +2 -2
- package/dist/{code-visibility-CVfXV6fG.js → code-visibility-BnMkbydx.js} +19 -19
- package/dist/{common-BXRJCkJO.js → common-CQur5dRA.js} +156 -156
- package/dist/{config-B8JCQMby.js → config-DL9e-OWE.js} +3 -3
- package/dist/{copy-icon-BLig0ZKb.js → copy-icon-rYV2znAe.js} +2 -2
- package/dist/{createReducer-BIUQ3TbG.js → createReducer-BdiSrxHu.js} +5 -5
- package/dist/{cynefinDiagram-5FMLGOSQ-2FtF_-cc.js → cynefinDiagram-5FMLGOSQ-DpGtYvnZ.js} +1 -1
- package/dist/{dagre-GXQ25YYZ-Cymu2SPS.js → dagre-GXQ25YYZ-B5GDC2kN.js} +1 -1
- package/dist/{data-grid-overlay-editor-Mbtx3F9C.js → data-grid-overlay-editor-BXEY35Xl.js} +1 -1
- package/dist/{diagram-S7CK7UJ4-OwDa8kAa.js → diagram-S7CK7UJ4-B2T25t1t.js} +1 -1
- package/dist/{diagram-UQ7AKVKN-CzRDwZwd.js → diagram-UQ7AKVKN-Dy3B5L_z.js} +1 -1
- package/dist/{diagram-VX7I27RA-XRIcgMDs.js → diagram-VX7I27RA-tOptWvNh.js} +1 -1
- package/dist/{diagram-Z3DM3KII-DdRDYAs6.js → diagram-Z3DM3KII-DsgZAokO.js} +1 -1
- package/dist/{dialog-DGh2HNAO.js → dialog-vs6x3On9.js} +19 -19
- package/dist/{dropdown-menu-ChH3oiqI.js → dropdown-menu-DYN2RV5d.js} +193 -193
- package/dist/{ebnfDiagram-PWID7BFC-CZMNMGNP.js → ebnfDiagram-PWID7BFC-CGWECzS1.js} +2 -2
- package/dist/{erDiagram-RLTQ6QDP-ByxHAN4b.js → erDiagram-RLTQ6QDP-CZLi87y3.js} +1 -1
- package/dist/{error-banner-BvRaQnGH.js → error-banner-D-AC7pQx.js} +70 -70
- package/dist/{error-entries-DhI0hGvj.js → error-entries-CncQR572.js} +443 -436
- package/dist/{feedback-button-zx4NcNDn.js → feedback-button-BAOp7zqu.js} +120 -120
- package/dist/{flowDiagram-HODETNUW-BQpzWx5O.js → flowDiagram-HODETNUW-CS86WYbX.js} +2 -2
- package/dist/{formats-BxP8k8Un.js → formats-BUFLQJXY.js} +1 -1
- package/dist/{glide-data-editor-CvezoJKg.js → glide-data-editor-Ce94qTW7.js} +11 -11
- package/dist/{glide-utils-bKdvDwwo.js → glide-utils-CZ-O-CB_.js} +2 -2
- package/dist/{globals-CQuPaxzy.js → globals-Uqg4j5z5.js} +3 -3
- package/dist/{html-to-image-B803aaWE.js → html-to-image-BU7H-AM1.js} +4323 -4318
- package/dist/{infoDiagram-27XIBGKW-C9EWHkak.js → infoDiagram-27XIBGKW-C9JBFfpC.js} +1 -1
- package/dist/{ishikawaDiagram-5VMMS53U-D67SGFvp.js → ishikawaDiagram-5VMMS53U-Eh3iuw2D.js} +1 -1
- package/dist/{kanban-definition-UXKFOSKX-CTMTiazR.js → kanban-definition-UXKFOSKX-DYtuVwYD.js} +1 -1
- package/dist/main.js +401 -400
- package/dist/{mermaid-DE_tvTGF.js → mermaid--k1o49nH.js} +34 -34
- package/dist/{mindmap-definition-YA3MSWOX-LzNgDy8O.js → mindmap-definition-YA3MSWOX-Dn1Cnqys.js} +1 -1
- package/dist/{number-overlay-editor-DxM7vsCk.js → number-overlay-editor-Br_Vp3Ws.js} +1 -1
- package/dist/{pegDiagram-XKGWAZYB-DFMS6feI.js → pegDiagram-XKGWAZYB-DiY7rITR.js} +2 -2
- package/dist/{pencil-CHkdsX07.js → pencil-AWgwbH4D.js} +1 -1
- package/dist/{pieDiagram-E7YTZNPT-C0MSBop-.js → pieDiagram-E7YTZNPT-BL6InbDs.js} +1 -1
- package/dist/{process-output-CnCLfvnL.js → process-output-xJm8T5-E.js} +4 -4
- package/dist/{railroadDiagram-O6MQD6OU-mbdav2pV.js → railroadDiagram-O6MQD6OU-DterenMu.js} +2 -2
- package/dist/{requirementDiagram-BXWQKSXE-C1HNBBO6.js → requirementDiagram-BXWQKSXE-Vb5_9LHC.js} +1 -1
- package/dist/{reveal-component-BefmhjJF.js → reveal-component-B7TgfbYJ.js} +1008 -1008
- package/dist/{select-CvorIE3l.js → select-CKLRKIzB.js} +298 -298
- package/dist/{sequenceDiagram-WJ2MYXX4-D6gBHifq.js → sequenceDiagram-WJ2MYXX4-BWsq8hMt.js} +1 -1
- package/dist/{spec-ayzaXGVq.js → spec-C4uOz0Em.js} +4 -4
- package/dist/{stateDiagram-D77RDMKH-Bx-fTtRZ.js → stateDiagram-D77RDMKH-nfKKy6aQ.js} +2 -2
- package/dist/{stateDiagram-v2-MP3YSRHH-Cec8T2yO.js → stateDiagram-v2-MP3YSRHH-DMUHA_9A.js} +2 -2
- package/dist/{static-state-CqwW3B_X.js → static-state-DZ1nSa6e.js} +9 -9
- package/dist/{swimlanes-42K2YHIH-C2bAgnov.js → swimlanes-42K2YHIH-N4qHIMoc.js} +1 -1
- package/dist/{swimlanesDiagram-VR7AAH4N-CzeG-Mnb.js → swimlanesDiagram-VR7AAH4N-DQpDDjQb.js} +2 -2
- package/dist/{timeline-definition-24CTP7MA-DTJ0Rx8X.js → timeline-definition-24CTP7MA-Od8dY9F5.js} +1 -1
- package/dist/{toast-6V8Og7d5.js → toast-bhZHUEal.js} +187 -187
- package/dist/{tooltip-D0h-ZJ6j.js → tooltip-DSWC_Td_.js} +40 -40
- package/dist/{use-restore-focus-BFvwj2Hj.js → use-restore-focus-ocw7t85i.js} +1371 -1373
- package/dist/{useDateFormatter-D6o9PsWt.js → useDateFormatter-BiDS8uXQ.js} +2 -2
- package/dist/{useDeepCompareMemoize-D-Pbv7dN.js → useDeepCompareMemoize-BsaXfZ8C.js} +1 -1
- package/dist/{useLifecycle-CE0yGTMF.js → useLifecycle-CCV7yZ-v.js} +1 -1
- package/dist/{vega-component-DTf7GHQe.js → vega-component-DpTyTrz3.js} +6 -6
- package/dist/{vennDiagram-4TSXK5OY-lIM3SAjl.js → vennDiagram-4TSXK5OY-Di3T2YMb.js} +1 -1
- package/dist/{wardleyDiagram-VM6X3IG4-Bw_t7uvA.js → wardleyDiagram-VM6X3IG4-CKOF5DTi.js} +1 -1
- package/dist/{xychartDiagram-S5SC5T6Z-BXwkLYKj.js → xychartDiagram-S5SC5T6Z-GYLPWSeb.js} +1 -1
- package/package.json +1 -1
- package/src/__mocks__/executions.ts +27 -5
- package/src/__tests__/branded.ts +4 -0
- package/src/__tests__/notebook-analysis.ts +48 -0
- package/src/components/editor/ai/__tests__/completion-utils.test.ts +28 -61
- package/src/components/editor/cell/__tests__/useRunCells.test.tsx +2 -2
- package/src/components/editor/navigation/__tests__/navigation.test.ts +0 -4
- package/src/components/tracing/tracing-keyboard.test.tsx +4 -3
- package/src/core/cells/__tests__/add-missing-import.test.ts +14 -9
- package/src/core/cells/__tests__/pending-delete-service.test.tsx +4 -11
- package/src/core/cells/__tests__/runs.test.ts +11 -11
- package/src/core/cells/add-missing-import.ts +2 -3
- package/src/core/cells/runs.ts +6 -4
- package/src/core/cells/session.ts +4 -1
- package/src/core/codemirror/code-lens/__tests__/entities.test.ts +7 -11
- package/src/core/codemirror/code-lens/__tests__/extension.test.ts +8 -13
- package/src/core/codemirror/code-lens/__tests__/perf.test.ts +7 -9
- package/src/core/codemirror/copilot/__tests__/getCodes.test.ts +9 -13
- package/src/core/codemirror/go-to-definition/__tests__/utils.test.ts +16 -35
- package/src/core/codemirror/language/embedded/__tests__/embedded-python.test.ts +2 -18
- package/src/core/codemirror/reactive-references/__tests__/extension.test.ts +8 -14
- package/src/core/datasets/__tests__/data-source.test.ts +15 -17
- package/src/core/datasets/data-source-connections.ts +8 -11
- package/src/core/datasets/state.ts +7 -12
- package/src/core/executions/__tests__/atoms.test.ts +2 -2
- package/src/core/executions/__tests__/freshness.test.ts +10 -5
- package/src/core/executions/__tests__/interrupt.test.ts +3 -1
- package/src/core/executions/__tests__/output-lifecycle.test.ts +3 -3
- package/src/core/executions/__tests__/output.test.ts +2 -2
- package/src/core/executions/__tests__/run.test.ts +2 -2
- package/src/core/executions/__tests__/select.test.ts +10 -10
- package/src/core/executions/atoms.ts +2 -1
- package/src/core/executions/freshness.ts +2 -2
- package/src/core/islands/bootstrap.ts +0 -2
- package/src/core/notebook/replica/__tests__/executions.test.ts +13 -9
- package/src/core/notebook/replica/__tests__/replica.test.ts +7 -2
- package/src/core/notebook/replica/replica.ts +11 -2
- package/src/core/notebook/replica/resources/executions.ts +29 -20
- package/src/core/session/__tests__/useNotebookSession.hook.test.tsx +192 -1
- package/src/core/session/useNotebookSession.tsx +37 -37
- package/src/core/storage/__tests__/state.test.ts +6 -9
- package/src/core/storage/state.ts +5 -8
- package/src/core/transports/__tests__/static.test.ts +2 -1
- package/src/core/variables/state.ts +73 -68
- package/src/core/variables/types.ts +2 -2
- package/src/core/wasm/bridge.ts +5 -4
- package/src/core/variables/__tests__/state.test.ts +0 -148
|
@@ -2,30 +2,30 @@ import { a as e } from "./rolldown-runtime-BPCzCO3I.js";
|
|
|
2
2
|
import { h as t, t as n } from "./button-Z2R2272J.js";
|
|
3
3
|
import { t as r } from "./react-Bgs_wQh3.js";
|
|
4
4
|
import { t as i } from "./compiler-runtime-C5KHtL5D.js";
|
|
5
|
-
import { t as a } from "./copy-icon-
|
|
6
|
-
import { $t as o, D as s, I as c, K as l, O as u, P as d, i as f, in as p, n as m } from "./error-entries-
|
|
7
|
-
import { n as h, t as ee } from "./globals-
|
|
8
|
-
import { r as g } from "./assertNever-
|
|
5
|
+
import { t as a } from "./copy-icon-rYV2znAe.js";
|
|
6
|
+
import { $t as o, D as s, I as c, K as l, O as u, P as d, i as f, in as p, n as m } from "./error-entries-CncQR572.js";
|
|
7
|
+
import { n as h, t as ee } from "./globals-Uqg4j5z5.js";
|
|
8
|
+
import { r as g } from "./assertNever-BHnIohkX.js";
|
|
9
9
|
import { t as _ } from "./jsx-runtime-D8btoEHk.js";
|
|
10
|
-
import {
|
|
11
|
-
import { a as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
10
|
+
import { Bt as v, Ct as te, m as y } from "./use-restore-focus-ocw7t85i.js";
|
|
11
|
+
import { a as ne, i as re, n as ie, r as ae } from "./dialog-vs6x3On9.js";
|
|
12
|
+
import { t as oe } from "./useAsyncData-P5-Oovhq.js";
|
|
13
|
+
import { t as se } from "./code-visibility-BnMkbydx.js";
|
|
14
14
|
//#region src/components/ui/skeleton.tsx
|
|
15
|
-
var
|
|
16
|
-
let n = (0,
|
|
15
|
+
var b = /* @__PURE__ */ e(r(), 1), x = i(), S = _(), ce = (e) => {
|
|
16
|
+
let n = (0, x.c)(8), r, i;
|
|
17
17
|
n[0] === e ? (r = n[1], i = n[2]) : ({className: r, ...i} = e, n[0] = e, n[1] = r, n[2] = i);
|
|
18
18
|
let a;
|
|
19
19
|
n[3] === r ? a = n[4] : (a = t("animate-pulse rounded-md bg-muted", r), n[3] = r, n[4] = a);
|
|
20
20
|
let o;
|
|
21
|
-
return n[5] !== i || n[6] !== a ? (o = /* @__PURE__ */ (0,
|
|
21
|
+
return n[5] !== i || n[6] !== a ? (o = /* @__PURE__ */ (0, S.jsx)("div", {
|
|
22
22
|
className: a,
|
|
23
23
|
...i
|
|
24
24
|
}), n[5] = i, n[6] = a, n[7] = o) : o = n[7], o;
|
|
25
25
|
};
|
|
26
26
|
//#endregion
|
|
27
27
|
//#region src/core/diagnostics/issue-details.ts
|
|
28
|
-
function
|
|
28
|
+
function le(e, t) {
|
|
29
29
|
return {
|
|
30
30
|
...e,
|
|
31
31
|
Binaries: {
|
|
@@ -34,7 +34,7 @@ function ue(e, t) {
|
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function ue(e, t, n, r) {
|
|
38
38
|
return {
|
|
39
39
|
marimo: e,
|
|
40
40
|
Locale: n || void 0,
|
|
@@ -42,11 +42,11 @@ function de(e, t, n, r) {
|
|
|
42
42
|
"Environment Collection Error": r
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function C(e, t) {
|
|
46
46
|
let n = Math.max(2, ...Array.from(t.matchAll(/`+/g), (e) => e[0].length)), r = "`".repeat(n + 1);
|
|
47
47
|
return `${r}${e}\n${t}\n${r}`;
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function de(e, t) {
|
|
50
50
|
let n = e.includes("?") ? "&" : "?", r = [], i = e, a = 0;
|
|
51
51
|
for (let [e, o] of Object.entries(t)) {
|
|
52
52
|
if (o.length === 0) continue;
|
|
@@ -58,7 +58,7 @@ function fe(e, t) {
|
|
|
58
58
|
omitted: r
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function w(e, t) {
|
|
62
62
|
return [
|
|
63
63
|
"<details>",
|
|
64
64
|
`<summary>${g.htmlEscape(e) ?? ""}</summary>`,
|
|
@@ -68,48 +68,48 @@ function C(e, t) {
|
|
|
68
68
|
"</details>"
|
|
69
69
|
].join("\n");
|
|
70
70
|
}
|
|
71
|
+
function fe(e) {
|
|
72
|
+
return w("Environment", C("json", JSON.stringify(e, null, 2)));
|
|
73
|
+
}
|
|
71
74
|
function pe(e) {
|
|
72
|
-
return
|
|
75
|
+
return w("Errors", C("text", e.map(m).join("\n\n---\n\n")));
|
|
73
76
|
}
|
|
74
77
|
function me(e) {
|
|
75
|
-
return
|
|
76
|
-
}
|
|
77
|
-
function he(e) {
|
|
78
|
-
return C("Code", S("python", e));
|
|
78
|
+
return w("Code", C("python", e));
|
|
79
79
|
}
|
|
80
80
|
//#endregion
|
|
81
81
|
//#region src/hooks/useLocalStorage.ts
|
|
82
|
-
function
|
|
83
|
-
let n = (0,
|
|
82
|
+
function he(e, t) {
|
|
83
|
+
let n = (0, x.c)(11), r;
|
|
84
84
|
n[0] === t ? r = n[1] : (r = new d(t), n[0] = t, n[1] = r);
|
|
85
85
|
let i = r, a;
|
|
86
86
|
n[2] !== e || n[3] !== i ? (a = () => i.get(e), n[2] = e, n[3] = i, n[4] = a) : a = n[4];
|
|
87
|
-
let [o, s] = (0,
|
|
87
|
+
let [o, s] = (0, b.useState)(a), c;
|
|
88
88
|
n[5] !== e || n[6] !== i ? (c = (t) => {
|
|
89
89
|
s(t), i.set(e, t);
|
|
90
90
|
}, n[5] = e, n[6] = i, n[7] = c) : c = n[7];
|
|
91
91
|
let l = c, u;
|
|
92
92
|
return n[8] !== l || n[9] !== o ? (u = [o, l], n[8] = l, n[9] = o, n[10] = u) : u = n[10], u;
|
|
93
93
|
}
|
|
94
|
-
var
|
|
95
|
-
let r = (0,
|
|
94
|
+
var ge = (e) => {
|
|
95
|
+
let r = (0, x.c)(16), { content: i } = e, [a, o] = (0, b.useState)(!1), s = !a && "max-h-24 overflow-hidden", c;
|
|
96
96
|
r[0] === s ? c = r[1] : (c = t("text-xs bg-muted rounded p-2 overflow-x-auto whitespace-pre-wrap", s), r[0] = s, r[1] = c);
|
|
97
97
|
let l;
|
|
98
|
-
r[2] !== i || r[3] !== c ? (l = /* @__PURE__ */ (0,
|
|
98
|
+
r[2] !== i || r[3] !== c ? (l = /* @__PURE__ */ (0, S.jsx)("pre", {
|
|
99
99
|
className: c,
|
|
100
100
|
children: i
|
|
101
101
|
}), r[2] = i, r[3] = c, r[4] = l) : l = r[4];
|
|
102
102
|
let u;
|
|
103
|
-
r[5] === a ? u = r[6] : (u = !a && /* @__PURE__ */ (0,
|
|
103
|
+
r[5] === a ? u = r[6] : (u = !a && /* @__PURE__ */ (0, S.jsx)("div", { className: "pointer-events-none absolute inset-x-0 bottom-0 h-10 rounded-b bg-gradient-to-b from-transparent to-muted" }), r[5] = a, r[6] = u);
|
|
104
104
|
let d;
|
|
105
|
-
r[7] !== l || r[8] !== u ? (d = /* @__PURE__ */ (0,
|
|
105
|
+
r[7] !== l || r[8] !== u ? (d = /* @__PURE__ */ (0, S.jsxs)("div", {
|
|
106
106
|
className: "relative",
|
|
107
107
|
children: [l, u]
|
|
108
108
|
}), r[7] = l, r[8] = u, r[9] = d) : d = r[9];
|
|
109
109
|
let f;
|
|
110
|
-
r[10] === Symbol.for("react.memo_cache_sentinel") ? (f = () => o(
|
|
110
|
+
r[10] === Symbol.for("react.memo_cache_sentinel") ? (f = () => o(E), r[10] = f) : f = r[10];
|
|
111
111
|
let p = a ? "Show less" : "Show more", m;
|
|
112
|
-
r[11] === p ? m = r[12] : (m = /* @__PURE__ */ (0,
|
|
112
|
+
r[11] === p ? m = r[12] : (m = /* @__PURE__ */ (0, S.jsx)(n, {
|
|
113
113
|
type: "button",
|
|
114
114
|
variant: "link",
|
|
115
115
|
size: "xs",
|
|
@@ -118,100 +118,100 @@ var _e = (e) => {
|
|
|
118
118
|
children: p
|
|
119
119
|
}), r[11] = p, r[12] = m);
|
|
120
120
|
let h;
|
|
121
|
-
return r[13] !== d || r[14] !== m ? (h = /* @__PURE__ */ (0,
|
|
121
|
+
return r[13] !== d || r[14] !== m ? (h = /* @__PURE__ */ (0, S.jsxs)("div", {
|
|
122
122
|
className: "flex flex-col gap-1",
|
|
123
123
|
children: [d, m]
|
|
124
124
|
}), r[13] = d, r[14] = m, r[15] = h) : h = r[15], h;
|
|
125
125
|
};
|
|
126
|
-
function
|
|
126
|
+
function _e(e) {
|
|
127
127
|
if (!e.hasRequestClient) return "Notebook source is unavailable.";
|
|
128
128
|
if (e.filename === null) return "Save the notebook first.";
|
|
129
129
|
if (!e.codeAvailable) return "Notebook source is hidden in this view.";
|
|
130
130
|
if (e.connectionState !== o.OPEN) return "Connect the notebook to include its source.";
|
|
131
131
|
}
|
|
132
|
-
var
|
|
133
|
-
let e = (0,
|
|
132
|
+
var T = () => {
|
|
133
|
+
let e = (0, x.c)(56), t = v(l), r, i;
|
|
134
134
|
e[0] === t ? (r = e[1], i = e[2]) : (r = async () => {
|
|
135
135
|
if (t != null) return t.getEnvironmentInfo();
|
|
136
136
|
}, i = [t], e[0] = t, e[1] = r, e[2] = i);
|
|
137
|
-
let o =
|
|
138
|
-
e[3] !== g || e[4] !==
|
|
139
|
-
hasRequestClient:
|
|
137
|
+
let o = oe(r, i), d = f(te), g = se(), _ = v(c), b = v(u), C = t != null, w;
|
|
138
|
+
e[3] !== g || e[4] !== b.state || e[5] !== _ || e[6] !== C ? (w = _e({
|
|
139
|
+
hasRequestClient: C,
|
|
140
140
|
filename: _,
|
|
141
141
|
codeAvailable: g,
|
|
142
|
-
connectionState:
|
|
143
|
-
}), e[3] = g, e[4] =
|
|
144
|
-
let
|
|
145
|
-
e[8] !==
|
|
146
|
-
if (!
|
|
142
|
+
connectionState: b.state
|
|
143
|
+
}), e[3] = g, e[4] = b.state, e[5] = _, e[6] = C, e[7] = w) : w = e[7];
|
|
144
|
+
let T = w, E = T === void 0, [D, O] = he("marimo:issue-report:include-errors", !1), [k, A] = he("marimo:issue-report:include-code", !1), j = o.data ? le(o.data, navigator.userAgent) : o.status === "error" || t == null ? ue(ee(), navigator.userAgent, navigator.language, "Server environment information unavailable") : void 0, M, N;
|
|
145
|
+
e[8] !== k || e[9] !== E || e[10] !== t ? (M = async () => {
|
|
146
|
+
if (!k || !E || t == null) return;
|
|
147
147
|
let { contents: e } = await t.readCode();
|
|
148
148
|
return e;
|
|
149
|
-
},
|
|
150
|
-
|
|
151
|
-
|
|
149
|
+
}, N = [
|
|
150
|
+
k,
|
|
151
|
+
E,
|
|
152
152
|
t
|
|
153
|
-
], e[8] =
|
|
154
|
-
let
|
|
155
|
-
if (
|
|
156
|
-
let e = { env:
|
|
157
|
-
|
|
153
|
+
], e[8] = k, e[9] = E, e[10] = t, e[11] = M, e[12] = N) : (M = e[11], N = e[12]);
|
|
154
|
+
let P = oe(M, N), ye = y.bugReportUrl, be = [];
|
|
155
|
+
if (j) {
|
|
156
|
+
let e = { env: fe(j) };
|
|
157
|
+
D && d.length > 0 && (e["bug-description"] = pe(d)), k && P.data && (e["reproduction-code"] = me(P.data)), {url: ye, omitted: be} = de(y.bugReportUrl, e);
|
|
158
158
|
}
|
|
159
|
-
let
|
|
160
|
-
e[13] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
161
|
-
let
|
|
162
|
-
e[14] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
163
|
-
let
|
|
164
|
-
e[15] ===
|
|
159
|
+
let xe = be.map(ve).join(", "), F;
|
|
160
|
+
e[13] === Symbol.for("react.memo_cache_sentinel") ? (F = /* @__PURE__ */ (0, S.jsxs)(re, { children: [/* @__PURE__ */ (0, S.jsx)(ne, { children: "Report an issue" }), /* @__PURE__ */ (0, S.jsx)(ae, { 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[13] = F) : F = e[13];
|
|
161
|
+
let I;
|
|
162
|
+
e[14] === Symbol.for("react.memo_cache_sentinel") ? (I = /* @__PURE__ */ (0, S.jsx)(p, { className: "w-4 h-4 mr-2" }), e[14] = I) : I = e[14];
|
|
163
|
+
let Se = d.length === 0, L;
|
|
164
|
+
e[15] === O ? L = e[16] : (L = (e) => O(e === !0), e[15] = O, e[16] = L);
|
|
165
165
|
let R;
|
|
166
|
-
e[17] !==
|
|
166
|
+
e[17] !== D || e[18] !== Se || e[19] !== L ? (R = /* @__PURE__ */ (0, S.jsx)(s, {
|
|
167
167
|
id: "issue-include-errors",
|
|
168
|
-
checked:
|
|
169
|
-
disabled:
|
|
168
|
+
checked: D,
|
|
169
|
+
disabled: Se,
|
|
170
170
|
onCheckedChange: L,
|
|
171
171
|
"aria-label": "Include errors"
|
|
172
|
-
}), e[17] =
|
|
172
|
+
}), e[17] = D, e[18] = Se, e[19] = L, e[20] = R) : R = e[20];
|
|
173
173
|
let z;
|
|
174
|
-
e[21] === Symbol.for("react.memo_cache_sentinel") ? (z = /* @__PURE__ */ (0,
|
|
174
|
+
e[21] === Symbol.for("react.memo_cache_sentinel") ? (z = /* @__PURE__ */ (0, S.jsx)("label", {
|
|
175
175
|
htmlFor: "issue-include-errors",
|
|
176
176
|
children: "Include errors"
|
|
177
177
|
}), e[21] = z) : z = e[21];
|
|
178
178
|
let B;
|
|
179
|
-
e[22] === R ? B = e[23] : (B = /* @__PURE__ */ (0,
|
|
179
|
+
e[22] === R ? B = e[23] : (B = /* @__PURE__ */ (0, S.jsxs)("div", {
|
|
180
180
|
className: "flex items-center gap-2 text-sm",
|
|
181
181
|
children: [R, z]
|
|
182
182
|
}), e[22] = R, e[23] = B);
|
|
183
|
-
let Ce = !
|
|
184
|
-
e[24] ===
|
|
183
|
+
let Ce = !E, V;
|
|
184
|
+
e[24] === A ? V = e[25] : (V = (e) => A(e === !0), e[24] = A, e[25] = V);
|
|
185
185
|
let H;
|
|
186
|
-
e[26] !==
|
|
186
|
+
e[26] !== k || e[27] !== Ce || e[28] !== V ? (H = /* @__PURE__ */ (0, S.jsx)(s, {
|
|
187
187
|
id: "issue-include-code",
|
|
188
|
-
checked:
|
|
188
|
+
checked: k,
|
|
189
189
|
disabled: Ce,
|
|
190
190
|
onCheckedChange: V,
|
|
191
191
|
"aria-label": "Include notebook code"
|
|
192
|
-
}), e[26] =
|
|
192
|
+
}), e[26] = k, e[27] = Ce, e[28] = V, e[29] = H) : H = e[29];
|
|
193
193
|
let U;
|
|
194
|
-
e[30] === Symbol.for("react.memo_cache_sentinel") ? (U = /* @__PURE__ */ (0,
|
|
194
|
+
e[30] === Symbol.for("react.memo_cache_sentinel") ? (U = /* @__PURE__ */ (0, S.jsx)("label", {
|
|
195
195
|
htmlFor: "issue-include-code",
|
|
196
196
|
children: "Include notebook code"
|
|
197
197
|
}), e[30] = U) : U = e[30];
|
|
198
198
|
let W;
|
|
199
|
-
e[31] === H ? W = e[32] : (W = /* @__PURE__ */ (0,
|
|
199
|
+
e[31] === H ? W = e[32] : (W = /* @__PURE__ */ (0, S.jsxs)("div", {
|
|
200
200
|
className: "flex items-center gap-2 text-sm",
|
|
201
201
|
children: [H, U]
|
|
202
202
|
}), e[31] = H, e[32] = W);
|
|
203
203
|
let G;
|
|
204
|
-
e[33] ===
|
|
204
|
+
e[33] === T ? G = e[34] : (G = T && /* @__PURE__ */ (0, S.jsx)("span", {
|
|
205
205
|
className: "text-xs text-muted-foreground ml-6",
|
|
206
|
-
children:
|
|
207
|
-
}), e[33] =
|
|
206
|
+
children: T
|
|
207
|
+
}), e[33] = T, e[34] = G);
|
|
208
208
|
let K;
|
|
209
|
-
e[35] !==
|
|
209
|
+
e[35] !== P || e[36] !== k ? (K = k && P.status === "error" && /* @__PURE__ */ (0, S.jsx)("span", {
|
|
210
210
|
className: "text-xs text-(--red-11) ml-6",
|
|
211
211
|
children: "Notebook source could not be loaded."
|
|
212
|
-
}), e[35] =
|
|
212
|
+
}), e[35] = P, e[36] = k, e[37] = K) : K = e[37];
|
|
213
213
|
let q;
|
|
214
|
-
e[38] !== W || e[39] !== G || e[40] !== K ? (q = /* @__PURE__ */ (0,
|
|
214
|
+
e[38] !== W || e[39] !== G || e[40] !== K ? (q = /* @__PURE__ */ (0, S.jsxs)("div", {
|
|
215
215
|
className: "flex flex-col gap-1",
|
|
216
216
|
children: [
|
|
217
217
|
W,
|
|
@@ -220,30 +220,30 @@ var w = () => {
|
|
|
220
220
|
]
|
|
221
221
|
}), e[38] = W, e[39] = G, e[40] = K, e[41] = q) : q = e[41];
|
|
222
222
|
let J;
|
|
223
|
-
e[42] !== B || e[43] !== q ? (J = /* @__PURE__ */ (0,
|
|
223
|
+
e[42] !== B || e[43] !== q ? (J = /* @__PURE__ */ (0, S.jsxs)("div", {
|
|
224
224
|
className: "flex flex-col gap-2",
|
|
225
225
|
children: [B, q]
|
|
226
226
|
}), e[42] = B, e[43] = q, e[44] = J) : J = e[44];
|
|
227
227
|
let Y;
|
|
228
|
-
e[45] !== o.status || e[46] !== t ? (Y = o.status === "pending" && t != null && /* @__PURE__ */ (0,
|
|
228
|
+
e[45] !== o.status || e[46] !== t ? (Y = o.status === "pending" && t != null && /* @__PURE__ */ (0, S.jsxs)("div", {
|
|
229
229
|
className: "flex flex-col gap-2",
|
|
230
230
|
children: [
|
|
231
|
-
/* @__PURE__ */ (0,
|
|
231
|
+
/* @__PURE__ */ (0, S.jsx)("span", {
|
|
232
232
|
className: "text-sm text-muted-foreground",
|
|
233
233
|
children: "Loading environment details…"
|
|
234
234
|
}),
|
|
235
|
-
/* @__PURE__ */ (0,
|
|
236
|
-
/* @__PURE__ */ (0,
|
|
237
|
-
/* @__PURE__ */ (0,
|
|
235
|
+
/* @__PURE__ */ (0, S.jsx)(ce, { className: "h-4 w-full" }),
|
|
236
|
+
/* @__PURE__ */ (0, S.jsx)(ce, { className: "h-4 w-3/4" }),
|
|
237
|
+
/* @__PURE__ */ (0, S.jsx)(ce, { className: "h-4 w-1/2" })
|
|
238
238
|
]
|
|
239
239
|
}), e[45] = o.status, e[46] = t, e[47] = Y) : Y = e[47];
|
|
240
240
|
let X;
|
|
241
|
-
e[48] !== o || e[49] !== t ? (X = (o.status === "error" || t == null) && /* @__PURE__ */ (0,
|
|
241
|
+
e[48] !== o || e[49] !== t ? (X = (o.status === "error" || t == null) && /* @__PURE__ */ (0, S.jsxs)("div", {
|
|
242
242
|
className: "flex items-center gap-2 text-sm",
|
|
243
243
|
children: [
|
|
244
|
-
/* @__PURE__ */ (0,
|
|
245
|
-
/* @__PURE__ */ (0,
|
|
246
|
-
t != null && /* @__PURE__ */ (0,
|
|
244
|
+
/* @__PURE__ */ (0, S.jsx)(h, { className: "w-4 h-4 text-(--yellow-11) shrink-0" }),
|
|
245
|
+
/* @__PURE__ */ (0, S.jsx)("span", { children: "Server environment information unavailable" }),
|
|
246
|
+
t != null && /* @__PURE__ */ (0, S.jsx)(n, {
|
|
247
247
|
type: "button",
|
|
248
248
|
variant: "link",
|
|
249
249
|
size: "xs",
|
|
@@ -253,22 +253,22 @@ var w = () => {
|
|
|
253
253
|
]
|
|
254
254
|
}), e[48] = o, e[49] = t, e[50] = X) : X = e[50];
|
|
255
255
|
let Z;
|
|
256
|
-
e[51] !==
|
|
256
|
+
e[51] !== j || e[52] !== d ? (Z = j && d.length === 0 && /* @__PURE__ */ (0, S.jsx)("span", {
|
|
257
257
|
className: "text-sm text-muted-foreground",
|
|
258
258
|
children: "No errors detected."
|
|
259
|
-
}), e[51] =
|
|
259
|
+
}), e[51] = j, e[52] = d, e[53] = Z) : Z = e[53];
|
|
260
260
|
let Q;
|
|
261
|
-
e[54] === Symbol.for("react.memo_cache_sentinel") ? (Q = /* @__PURE__ */ (0,
|
|
262
|
-
href:
|
|
261
|
+
e[54] === Symbol.for("react.memo_cache_sentinel") ? (Q = /* @__PURE__ */ (0, S.jsx)("a", {
|
|
262
|
+
href: y.feedbackForm,
|
|
263
263
|
target: "_blank",
|
|
264
264
|
rel: "noreferrer",
|
|
265
265
|
className: "underline",
|
|
266
266
|
children: "two-minute survey"
|
|
267
267
|
}), e[54] = Q) : Q = e[54];
|
|
268
268
|
let $;
|
|
269
|
-
return e[55] === Symbol.for("react.memo_cache_sentinel") ? ($ = /* @__PURE__ */ (0,
|
|
269
|
+
return e[55] === Symbol.for("react.memo_cache_sentinel") ? ($ = /* @__PURE__ */ (0, S.jsx)("div", {
|
|
270
270
|
className: "border-t pt-3",
|
|
271
|
-
children: /* @__PURE__ */ (0,
|
|
271
|
+
children: /* @__PURE__ */ (0, S.jsxs)("p", {
|
|
272
272
|
className: "text-sm text-muted-foreground",
|
|
273
273
|
children: [
|
|
274
274
|
"Other feedback? Take our",
|
|
@@ -277,8 +277,8 @@ var w = () => {
|
|
|
277
277
|
" ",
|
|
278
278
|
"or chat with us on",
|
|
279
279
|
" ",
|
|
280
|
-
/* @__PURE__ */ (0,
|
|
281
|
-
href:
|
|
280
|
+
/* @__PURE__ */ (0, S.jsx)("a", {
|
|
281
|
+
href: y.discordLink,
|
|
282
282
|
target: "_blank",
|
|
283
283
|
rel: "noreferrer",
|
|
284
284
|
className: "underline",
|
|
@@ -287,36 +287,36 @@ var w = () => {
|
|
|
287
287
|
"."
|
|
288
288
|
]
|
|
289
289
|
})
|
|
290
|
-
}), e[55] = $) : $ = e[55], /* @__PURE__ */ (0,
|
|
290
|
+
}), e[55] = $) : $ = e[55], /* @__PURE__ */ (0, S.jsxs)(ie, {
|
|
291
291
|
className: "w-[540px] max-w-[90vw]",
|
|
292
|
-
children: [
|
|
292
|
+
children: [F, /* @__PURE__ */ (0, S.jsxs)("div", {
|
|
293
293
|
className: "flex flex-col gap-4 max-h-[60vh] overflow-y-auto",
|
|
294
294
|
children: [
|
|
295
|
-
/* @__PURE__ */ (0,
|
|
295
|
+
/* @__PURE__ */ (0, S.jsxs)("div", {
|
|
296
296
|
className: "flex flex-col gap-3",
|
|
297
297
|
children: [
|
|
298
|
-
/* @__PURE__ */ (0,
|
|
298
|
+
/* @__PURE__ */ (0, S.jsx)(n, {
|
|
299
299
|
type: "button",
|
|
300
300
|
variant: "default",
|
|
301
301
|
size: "xs",
|
|
302
302
|
asChild: !0,
|
|
303
303
|
className: "self-start",
|
|
304
|
-
children: /* @__PURE__ */ (0,
|
|
305
|
-
href:
|
|
304
|
+
children: /* @__PURE__ */ (0, S.jsxs)("a", {
|
|
305
|
+
href: ye,
|
|
306
306
|
target: "_blank",
|
|
307
307
|
rel: "noreferrer",
|
|
308
|
-
children: [
|
|
308
|
+
children: [I, "Open GitHub issue"]
|
|
309
309
|
})
|
|
310
310
|
}),
|
|
311
311
|
J,
|
|
312
|
-
|
|
312
|
+
xe ? /* @__PURE__ */ (0, S.jsxs)("div", {
|
|
313
313
|
className: "flex items-start gap-2 text-xs text-(--yellow-11)",
|
|
314
|
-
children: [/* @__PURE__ */ (0,
|
|
314
|
+
children: [/* @__PURE__ */ (0, S.jsx)(h, { className: "w-3.5 h-3.5 shrink-0 mt-0.5" }), /* @__PURE__ */ (0, S.jsxs)("span", { children: [
|
|
315
315
|
"Too large to prefill and left out of the link: ",
|
|
316
|
-
|
|
316
|
+
xe,
|
|
317
317
|
". Paste them into the issue manually."
|
|
318
318
|
] })]
|
|
319
|
-
}) : /* @__PURE__ */ (0,
|
|
319
|
+
}) : /* @__PURE__ */ (0, S.jsx)("p", {
|
|
320
320
|
className: "text-xs text-muted-foreground",
|
|
321
321
|
children: "Your environment is always included."
|
|
322
322
|
})
|
|
@@ -324,35 +324,35 @@ var w = () => {
|
|
|
324
324
|
}),
|
|
325
325
|
Y,
|
|
326
326
|
X,
|
|
327
|
-
|
|
327
|
+
j && /* @__PURE__ */ (0, S.jsxs)("div", {
|
|
328
328
|
className: "flex flex-col gap-1",
|
|
329
|
-
children: [/* @__PURE__ */ (0,
|
|
329
|
+
children: [/* @__PURE__ */ (0, S.jsxs)("div", {
|
|
330
330
|
className: "flex items-center justify-between",
|
|
331
|
-
children: [/* @__PURE__ */ (0,
|
|
331
|
+
children: [/* @__PURE__ */ (0, S.jsx)("span", {
|
|
332
332
|
className: "text-sm font-medium",
|
|
333
333
|
children: "Environment details"
|
|
334
|
-
}), /* @__PURE__ */ (0,
|
|
334
|
+
}), /* @__PURE__ */ (0, S.jsx)(a, {
|
|
335
335
|
className: "w-3.5 h-3.5",
|
|
336
|
-
value: JSON.stringify(
|
|
336
|
+
value: JSON.stringify(j, null, 2),
|
|
337
337
|
ariaLabel: "Copy environment JSON",
|
|
338
338
|
toastTitle: "Environment details copied"
|
|
339
339
|
})]
|
|
340
|
-
}), /* @__PURE__ */ (0,
|
|
340
|
+
}), /* @__PURE__ */ (0, S.jsx)(ge, { content: JSON.stringify(j, null, 2) })]
|
|
341
341
|
}),
|
|
342
|
-
|
|
342
|
+
j && d.length > 0 && /* @__PURE__ */ (0, S.jsxs)("div", {
|
|
343
343
|
className: "flex flex-col gap-1",
|
|
344
|
-
children: [/* @__PURE__ */ (0,
|
|
344
|
+
children: [/* @__PURE__ */ (0, S.jsxs)("div", {
|
|
345
345
|
className: "flex items-center justify-between",
|
|
346
|
-
children: [/* @__PURE__ */ (0,
|
|
346
|
+
children: [/* @__PURE__ */ (0, S.jsx)("span", {
|
|
347
347
|
className: "text-sm font-medium",
|
|
348
348
|
children: "Errors"
|
|
349
|
-
}), /* @__PURE__ */ (0,
|
|
349
|
+
}), /* @__PURE__ */ (0, S.jsx)(a, {
|
|
350
350
|
className: "w-3.5 h-3.5",
|
|
351
|
-
value:
|
|
351
|
+
value: pe(d),
|
|
352
352
|
ariaLabel: "Copy errors",
|
|
353
353
|
toastTitle: "Errors copied"
|
|
354
354
|
})]
|
|
355
|
-
}), /* @__PURE__ */ (0,
|
|
355
|
+
}), /* @__PURE__ */ (0, S.jsx)(ge, { content: d.map(m).join("\n\n---\n\n") })]
|
|
356
356
|
}),
|
|
357
357
|
Z,
|
|
358
358
|
$
|
|
@@ -360,11 +360,11 @@ var w = () => {
|
|
|
360
360
|
})]
|
|
361
361
|
});
|
|
362
362
|
};
|
|
363
|
-
function
|
|
363
|
+
function E(e) {
|
|
364
364
|
return !e;
|
|
365
365
|
}
|
|
366
|
-
function
|
|
366
|
+
function ve(e) {
|
|
367
367
|
return e === "bug-description" ? "errors" : e === "reproduction-code" ? "code" : e;
|
|
368
368
|
}
|
|
369
369
|
//#endregion
|
|
370
|
-
export {
|
|
370
|
+
export { T as FeedbackModal };
|
|
@@ -8,8 +8,8 @@ import "./chunk-4HAMMTFA-qKgadZwy.js";
|
|
|
8
8
|
import "./chunk-GVQU2GXP-BkolpSXU.js";
|
|
9
9
|
import "./chunk-L3NEJ4N5-B-BFQp9t.js";
|
|
10
10
|
import "./chunk-OSK3NFVY-BzfZ4VBG.js";
|
|
11
|
-
import "./mermaid
|
|
11
|
+
import "./mermaid--k1o49nH.js";
|
|
12
12
|
import "./chunk-F27PBJKO-COH2t-FO.js";
|
|
13
13
|
import "./chunk-XXDRQBXY-BM-YIt-_.js";
|
|
14
14
|
import "./chunk-POPQ4Y6H-BFSZel4w.js";
|
|
15
|
-
export { n as diagram } from "./chunk-SHT3W25Y-
|
|
15
|
+
export { n as diagram } from "./chunk-SHT3W25Y-D9njV7TI.js";
|
|
@@ -3,7 +3,7 @@ import { h as t, i as n } from "./button-Z2R2272J.js";
|
|
|
3
3
|
import { t as r } from "./react-Bgs_wQh3.js";
|
|
4
4
|
import { t as i } from "./compiler-runtime-C5KHtL5D.js";
|
|
5
5
|
import { t as a } from "./jsx-runtime-D8btoEHk.js";
|
|
6
|
-
import { u as o } from "./static-state-
|
|
6
|
+
import { u as o } from "./static-state-DZ1nSa6e.js";
|
|
7
7
|
import { i as s } from "./loader-qPmiRXZd.js";
|
|
8
8
|
//#region ../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js
|
|
9
9
|
function c(e) {
|
|
@@ -2,19 +2,19 @@ import { a as e, r as t, t as n } from "./rolldown-runtime-BPCzCO3I.js";
|
|
|
2
2
|
import { m as r, t as i } from "./button-Z2R2272J.js";
|
|
3
3
|
import { t as a } from "./react-Bgs_wQh3.js";
|
|
4
4
|
import { t as o } from "./compiler-runtime-C5KHtL5D.js";
|
|
5
|
-
import { i as s, n as c, r as l } from "./copy-icon-
|
|
6
|
-
import { d as u } from "./tooltip-
|
|
7
|
-
import { c as d, d as f, i as p, n as m, s as h, t as g } from "./select-
|
|
8
|
-
import { J as _, d as v, h as y, i as b, l as x, n as S, o as C, s as w, t as T, u as E, xn as D } from "./dropdown-menu-
|
|
9
|
-
import { t as O } from "./pencil-
|
|
10
|
-
import { c as k, f as A, l as ee, n as j, o as te, s as ne, t as re, u as ie } from "./glide-utils-
|
|
11
|
-
import { i as M, n as N } from "./assertNever-
|
|
5
|
+
import { i as s, n as c, r as l } from "./copy-icon-rYV2znAe.js";
|
|
6
|
+
import { d as u } from "./tooltip-DSWC_Td_.js";
|
|
7
|
+
import { c as d, d as f, i as p, n as m, s as h, t as g } from "./select-CKLRKIzB.js";
|
|
8
|
+
import { J as _, d as v, h as y, i as b, l as x, n as S, o as C, s as w, t as T, u as E, xn as D } from "./dropdown-menu-DYN2RV5d.js";
|
|
9
|
+
import { t as O } from "./pencil-AWgwbH4D.js";
|
|
10
|
+
import { c as k, f as A, l as ee, n as j, o as te, s as ne, t as re, u as ie } from "./glide-utils-CZ-O-CB_.js";
|
|
11
|
+
import { i as M, n as N } from "./assertNever-BHnIohkX.js";
|
|
12
12
|
import { t as P } from "./react-dom-DdqGVp5N.js";
|
|
13
13
|
import { t as F } from "./jsx-runtime-D8btoEHk.js";
|
|
14
|
-
import { d as ae, r as I } from "./use-restore-focus-
|
|
14
|
+
import { d as ae, r as I } from "./use-restore-focus-ocw7t85i.js";
|
|
15
15
|
import { t as oe } from "./useEvent-BoN7U38T.js";
|
|
16
16
|
import { n as L, t as se } from "./objectWithoutPropertiesLoose-BRDcTsfB.js";
|
|
17
|
-
import { t as ce } from "./ErrorBoundary-
|
|
17
|
+
import { t as ce } from "./ErrorBoundary-Bs2ehxEI.js";
|
|
18
18
|
import { A as le, C as ue, D as de, E as fe, F as pe, I as me, L as he, M as ge, N as R, O as z, P as _e, R as ve, S as ye, T as be, _ as xe, a as Se, b as B, c as Ce, d as we, f as V, g as Te, h as Ee, i as De, j as H, k as Oe, l as ke, m as Ae, n as je, o as Me, p as Ne, r as U, s as Pe, t as Fe, u as Ie, v as Le, w as Re, x as ze, y as Be, z as Ve } from "./data-grid-types-DBNnjiYJ.js";
|
|
19
19
|
//#region ../node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
|
|
20
20
|
function He(e) {
|
|
@@ -7061,7 +7061,7 @@ function ds(e, t, n, r, i) {
|
|
|
7061
7061
|
}
|
|
7062
7062
|
//#endregion
|
|
7063
7063
|
//#region ../node_modules/.pnpm/@glideapps+glide-data-grid@6.0.4-alpha24_lodash@4.18.1_marked@15.0.12_react-dom@19.3.1__a94b4518d090e84da26f3a68e82f2953/node_modules/@glideapps/glide-data-grid/dist/esm/data-editor/data-editor.js
|
|
7064
|
-
var fs = /* @__PURE__ */ e(Tr(), 1), ps = /* @__PURE__ */ e(kr(), 1), ms = W.lazy(async () => await import("./data-grid-overlay-editor-
|
|
7064
|
+
var fs = /* @__PURE__ */ e(Tr(), 1), ps = /* @__PURE__ */ e(kr(), 1), ms = W.lazy(async () => await import("./data-grid-overlay-editor-BXEY35Xl.js")), hs = 0;
|
|
7065
7065
|
function gs(e) {
|
|
7066
7066
|
return (0, fs.default)((0, ps.default)((0, ps.default)(e).filter((e) => e.span !== void 0).map((e) => (0, ao.default)((e.span?.[0] ?? 0) + 1, (e.span?.[1] ?? 0) + 1))));
|
|
7067
7067
|
}
|
|
@@ -9284,7 +9284,7 @@ function Ys(e, t, n, r, i) {
|
|
|
9284
9284
|
}
|
|
9285
9285
|
//#endregion
|
|
9286
9286
|
//#region ../node_modules/.pnpm/@glideapps+glide-data-grid@6.0.4-alpha24_lodash@4.18.1_marked@15.0.12_react-dom@19.3.1__a94b4518d090e84da26f3a68e82f2953/node_modules/@glideapps/glide-data-grid/dist/esm/cells/number-cell.js
|
|
9287
|
-
var Xs = W.lazy(async () => await import("./number-overlay-editor-
|
|
9287
|
+
var Xs = W.lazy(async () => await import("./number-overlay-editor-Br_Vp3Ws.js")), Zs = {
|
|
9288
9288
|
getAccessibilityString: (e) => e.data?.toString() ?? "",
|
|
9289
9289
|
kind: U.Number,
|
|
9290
9290
|
needsHover: (e) => e.hoverEffect === !0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-BPCzCO3I.js";
|
|
2
2
|
import { g as t } from "./button-Z2R2272J.js";
|
|
3
|
-
import { h as n } from "./tooltip-
|
|
4
|
-
import { n as r } from "./assertNever-
|
|
3
|
+
import { h as n } from "./tooltip-DSWC_Td_.js";
|
|
4
|
+
import { n as r } from "./assertNever-BHnIohkX.js";
|
|
5
5
|
import { i, r as a } from "./data-grid-types-DBNnjiYJ.js";
|
|
6
6
|
var o = n("trash", [
|
|
7
7
|
["path", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h as e } from "./tooltip-
|
|
2
|
-
import { Ct as t } from "./use-restore-focus-
|
|
3
|
-
import { r as n } from "./code-visibility-
|
|
1
|
+
import { h as e } from "./tooltip-DSWC_Td_.js";
|
|
2
|
+
import { Ct as t } from "./use-restore-focus-ocw7t85i.js";
|
|
3
|
+
import { r as n } from "./code-visibility-BnMkbydx.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",
|