@marimo-team/islands 0.25.3-dev308 → 0.25.3-dev310
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-DJnSxHJB.js → ConnectedDataExplorerComponent-DieU6L4x.js} +1 -1
- package/dist/{ErrorBoundary-flfhLFje.js → ErrorBoundary-DjoeT4kv.js} +1 -1
- package/dist/{abnfDiagram-VCTEODGH-CR0U5hup.js → abnfDiagram-VCTEODGH-LOVrjbdp.js} +2 -2
- package/dist/{any-language-editor-C5dsTpeB.js → any-language-editor-DMC2JE9_.js} +1 -1
- package/dist/{architectureDiagram-5GKGNRK7-Bc_fbI1Q.js → architectureDiagram-5GKGNRK7-RZsm312h.js} +1 -1
- package/dist/assets/__vite-browser-external-BSp9tJ_k.js +1 -0
- package/dist/assets/worker-BdfPA0g5.js +171 -0
- package/dist/{chat-ui-C4iLRzY0.js → chat-ui-DkuxGEDp.js} +418 -418
- package/dist/{chunk-IMKFNOWR-y9z5oeAY.js → chunk-IMKFNOWR-B6agbLjo.js} +1 -1
- package/dist/{chunk-SHT3W25Y-Tu-V-e_v.js → chunk-SHT3W25Y-CfULafYG.js} +1 -1
- package/dist/{chunk-SVP7TREG-CJFxs5R_.js → chunk-SVP7TREG-DEOpPMJp.js} +1 -1
- package/dist/{chunk-TICWLB2K-zkTP7ya7.js → chunk-TICWLB2K-DaH-gkX5.js} +1 -1
- package/dist/{classDiagram-ZZMXUADV-DxJAZI0N.js → classDiagram-ZZMXUADV-C0CyiWQ7.js} +2 -2
- package/dist/{classDiagram-v2-VYDZK3BY-TmHo2BpS.js → classDiagram-v2-VYDZK3BY-xfIc9e2Y.js} +2 -2
- package/dist/{code-visibility-BDs_r7jH.js → code-visibility-CduMVVFS.js} +32 -32
- package/dist/{common-CMTsL35V.js → common-CMcEcucH.js} +919 -919
- package/dist/{config-BG2qKzDg.js → config-BVYA1P0C.js} +103 -76
- package/dist/{cynefinDiagram-5FMLGOSQ-Eb40hmhD.js → cynefinDiagram-5FMLGOSQ-DwGYhKu0.js} +1 -1
- package/dist/{dagre-GXQ25YYZ-_paaVwit.js → dagre-GXQ25YYZ-DfMaWJOV.js} +1 -1
- package/dist/{data-grid-overlay-editor-es6V6qf-.js → data-grid-overlay-editor-BYrIVut3.js} +1 -1
- package/dist/{diagram-S7CK7UJ4-BtKJm1_4.js → diagram-S7CK7UJ4-Bw_L87GZ.js} +1 -1
- package/dist/{diagram-UQ7AKVKN-DQbxhEMd.js → diagram-UQ7AKVKN-nsrs3Fbz.js} +1 -1
- package/dist/{diagram-VX7I27RA-DITDIfGC.js → diagram-VX7I27RA-7ST9lEqP.js} +1 -1
- package/dist/{diagram-Z3DM3KII-Ct9_zo6F.js → diagram-Z3DM3KII-BnGte-HX.js} +1 -1
- package/dist/{ebnfDiagram-PWID7BFC-6cOntwfv.js → ebnfDiagram-PWID7BFC-zaKyJ1YL.js} +2 -2
- package/dist/{erDiagram-RLTQ6QDP-CJiOER41.js → erDiagram-RLTQ6QDP-Cx7g95FZ.js} +1 -1
- package/dist/{error-banner-DGOrmBk5.js → error-banner-DkQNU4bn.js} +128 -128
- package/dist/{error-entries-BWmleiL0.js → error-entries-istW7Xbs.js} +589 -544
- package/dist/{feedback-button-D4eVjeNs.js → feedback-button-Zvm26aOQ.js} +107 -106
- package/dist/{flowDiagram-HODETNUW-1lPBEUuW.js → flowDiagram-HODETNUW-C7nIqaHP.js} +2 -2
- package/dist/{formats-qhBmYb0l.js → formats-CMa7L3E8.js} +1 -1
- package/dist/{glide-data-editor-ahfaPdFW.js → glide-data-editor-BE-GgVp4.js} +3 -3
- package/dist/{globals-m8oswz--.js → globals-Dbru-WLP.js} +1 -1
- package/dist/{html-to-image-B8hE6HIH.js → html-to-image-pPbR2cDx.js} +4512 -4464
- package/dist/{infoDiagram-27XIBGKW-C6K4tri5.js → infoDiagram-27XIBGKW-BTM_NXsn.js} +1 -1
- package/dist/{ishikawaDiagram-5VMMS53U-DwcwgRNH.js → ishikawaDiagram-5VMMS53U-K0FZrlvv.js} +1 -1
- package/dist/{kanban-definition-UXKFOSKX-E489OMdc.js → kanban-definition-UXKFOSKX-ftznOyrz.js} +1 -1
- package/dist/main.js +6595 -6186
- package/dist/{mermaid-DMPMkVqY.js → mermaid-CNgH43ED.js} +33 -33
- package/dist/{mindmap-definition-YA3MSWOX-DWHjasOp.js → mindmap-definition-YA3MSWOX-CmzbxKfM.js} +1 -1
- package/dist/{number-overlay-editor-C6klKzEr.js → number-overlay-editor-qvlPZ-l-.js} +1 -1
- package/dist/{pegDiagram-XKGWAZYB-COjcPOZT.js → pegDiagram-XKGWAZYB-DfTAWfGE.js} +2 -2
- package/dist/{pieDiagram-E7YTZNPT-BHAVZ38h.js → pieDiagram-E7YTZNPT-_kGQstZj.js} +1 -1
- package/dist/{process-output-DZDL_j1a.js → process-output-BySO1nIs.js} +3 -3
- package/dist/{railroadDiagram-O6MQD6OU-94ThFyKX.js → railroadDiagram-O6MQD6OU-D41WmIff.js} +2 -2
- package/dist/{requirementDiagram-BXWQKSXE-CpF-Fxbb.js → requirementDiagram-BXWQKSXE-Bh53ZI3I.js} +1 -1
- package/dist/{reveal-component-DwnxPyVz.js → reveal-component-DQaegdcW.js} +4 -4
- package/dist/{sequenceDiagram-WJ2MYXX4-CvANK2x7.js → sequenceDiagram-WJ2MYXX4-DBX27dNm.js} +1 -1
- package/dist/{stateDiagram-D77RDMKH-WHuJ4mJL.js → stateDiagram-D77RDMKH-CSYz2IZi.js} +2 -2
- package/dist/{stateDiagram-v2-MP3YSRHH-DbO7lwYq.js → stateDiagram-v2-MP3YSRHH-DVLvtOqn.js} +2 -2
- package/dist/{swimlanes-42K2YHIH-CS2s29Vo.js → swimlanes-42K2YHIH-D59N0ktA.js} +1 -1
- package/dist/{swimlanesDiagram-VR7AAH4N-CXaA1vQg.js → swimlanesDiagram-VR7AAH4N-CRgpmVSW.js} +2 -2
- package/dist/{timeline-definition-24CTP7MA-B-SQMg5h.js → timeline-definition-24CTP7MA-C_xIIZDM.js} +1 -1
- package/dist/toDate-5qPtZ6HL.js +94 -0
- package/dist/{vega-component-DwqGfN3_.js → vega-component-Bly2lDhz.js} +10 -10
- package/dist/{vennDiagram-4TSXK5OY-etEFgvaG.js → vennDiagram-4TSXK5OY-DlOf0Mjs.js} +1 -1
- package/dist/{wardleyDiagram-VM6X3IG4-BEQN7g62.js → wardleyDiagram-VM6X3IG4-zD_2guVe.js} +1 -1
- package/dist/{xychartDiagram-S5SC5T6Z-D8-e5Z0R.js → xychartDiagram-S5SC5T6Z-CA0Dy1ZM.js} +1 -1
- package/package.json +1 -1
- package/src/__mocks__/executions.ts +35 -13
- package/src/__mocks__/requests.ts +0 -1
- package/src/components/editor/cell/__tests__/useRunCells.test.tsx +86 -101
- package/src/components/editor/cell/useRunCells.ts +38 -65
- package/src/components/editor/notebook-cell.tsx +32 -20
- package/src/components/editor/output/ansi-reduce.ts +7 -0
- package/src/core/ai/__tests__/staged-cells.test.ts +1 -1
- package/src/core/cells/__tests__/__snapshots__/cells.test.ts.snap +2 -0
- package/src/core/cells/__tests__/cells.test.ts +0 -14
- package/src/core/cells/__tests__/collapseConsoleOutputs.test.ts +15 -0
- package/src/core/cells/__tests__/utils.test.ts +1 -1
- package/src/core/cells/add-missing-import.ts +2 -5
- package/src/core/cells/cell.ts +1 -0
- package/src/core/cells/cells.ts +1 -2
- package/src/core/executions/__tests__/atoms.test.ts +227 -43
- package/src/core/executions/__tests__/hooks.test.tsx +1 -2
- package/src/core/executions/__tests__/input.test.ts +86 -0
- package/src/core/executions/__tests__/run.test.ts +390 -0
- package/src/core/executions/__tests__/select.test.ts +105 -30
- package/src/core/executions/atoms.ts +186 -71
- package/src/core/executions/index.ts +7 -6
- package/src/core/executions/input.ts +55 -0
- package/src/core/executions/run.ts +120 -0
- package/src/core/executions/select.ts +59 -24
- package/src/core/islands/__tests__/bridge.test.ts +35 -54
- package/src/core/islands/bootstrap.ts +5 -1
- package/src/core/islands/bridge.ts +16 -28
- package/src/core/islands/components/IslandControls.tsx +15 -7
- package/src/core/islands/components/__tests__/IslandControls.test.tsx +36 -53
- package/src/core/islands/worker/worker.tsx +45 -19
- package/src/core/network/__tests__/requests-lazy.test.ts +14 -24
- package/src/core/network/__tests__/requests-toasting.test.tsx +7 -7
- package/src/core/network/requests-lazy.ts +2 -3
- package/src/core/network/requests-network.ts +0 -9
- package/src/core/network/requests-static.ts +0 -1
- package/src/core/network/requests-toasting.tsx +0 -1
- package/src/core/network/types.ts +0 -2
- package/src/core/notebook/replica/__tests__/fixtures.ts +17 -1
- package/src/core/notebook/replica/backend.ts +3 -1
- package/src/core/runtime/__tests__/runtime.test.ts +36 -0
- package/src/core/runtime/config.ts +36 -1
- package/src/core/runtime/runtime.ts +21 -1
- package/src/core/transports/static.ts +4 -3
- package/src/core/wasm/bridge.ts +0 -17
- package/dist/assets/__vite-browser-external-DzTYIHH_.js +0 -1
- package/dist/assets/worker-BH08I2Il.js +0 -171
- package/dist/static-state-Dtocd9UO.js +0 -68
|
@@ -3,16 +3,17 @@ import { h as t, t as n } from "./button-BuSV-mLI.js";
|
|
|
3
3
|
import { t as r } from "./react-CHbZqgBF.js";
|
|
4
4
|
import { t as i } from "./compiler-runtime-DNezxW8I.js";
|
|
5
5
|
import { t as a } from "./copy-icon-oHFcxX_y.js";
|
|
6
|
-
import {
|
|
7
|
-
import { n as
|
|
8
|
-
import { r as
|
|
9
|
-
import { t as
|
|
10
|
-
import { Ft as
|
|
6
|
+
import { A as o, E as s, Gt as c, H as l, M as u, i as d, n as f } from "./error-entries-istW7Xbs.js";
|
|
7
|
+
import { n as p, t as m } from "./globals-Dbru-WLP.js";
|
|
8
|
+
import { r as h } from "./assertNever-efcK_v3t.js";
|
|
9
|
+
import { t as g } from "./jsx-runtime-6ZiU38At.js";
|
|
10
|
+
import { Ft as ee, p as _, yt as te } from "./use-restore-focus-DyrKLdSB.js";
|
|
11
|
+
import { c as ne, v } from "./toDate-5qPtZ6HL.js";
|
|
11
12
|
import { a as re, i as ie, n as ae, r as oe } from "./dialog-BIUdMLIS.js";
|
|
12
13
|
import { t as se } from "./useAsyncData-DMBliR6D.js";
|
|
13
|
-
import { t as ce } from "./code-visibility-
|
|
14
|
+
import { t as ce } from "./code-visibility-CduMVVFS.js";
|
|
14
15
|
//#region src/components/ui/skeleton.tsx
|
|
15
|
-
var y = /* @__PURE__ */ e(r(), 1), b = i(), x =
|
|
16
|
+
var y = /* @__PURE__ */ e(r(), 1), b = i(), x = g(), le = (e) => {
|
|
16
17
|
let n = (0, b.c)(8), r, i;
|
|
17
18
|
n[0] === e ? (r = n[1], i = n[2]) : ({className: r, ...i} = e, n[0] = e, n[1] = r, n[2] = i);
|
|
18
19
|
let a;
|
|
@@ -25,7 +26,7 @@ var y = /* @__PURE__ */ e(r(), 1), b = i(), x = _(), S = (e) => {
|
|
|
25
26
|
};
|
|
26
27
|
//#endregion
|
|
27
28
|
//#region src/core/diagnostics/issue-details.ts
|
|
28
|
-
function
|
|
29
|
+
function ue(e, t) {
|
|
29
30
|
return {
|
|
30
31
|
...e,
|
|
31
32
|
Binaries: {
|
|
@@ -34,7 +35,7 @@ function le(e, t) {
|
|
|
34
35
|
}
|
|
35
36
|
};
|
|
36
37
|
}
|
|
37
|
-
function
|
|
38
|
+
function de(e, t, n, r) {
|
|
38
39
|
return {
|
|
39
40
|
marimo: e,
|
|
40
41
|
Locale: n || void 0,
|
|
@@ -42,11 +43,11 @@ function ue(e, t, n, r) {
|
|
|
42
43
|
"Environment Collection Error": r
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
|
-
function
|
|
46
|
+
function S(e, t) {
|
|
46
47
|
let n = Math.max(2, ...Array.from(t.matchAll(/`+/g), (e) => e[0].length)), r = "`".repeat(n + 1);
|
|
47
48
|
return `${r}${e}\n${t}\n${r}`;
|
|
48
49
|
}
|
|
49
|
-
function
|
|
50
|
+
function fe(e, t) {
|
|
50
51
|
let n = e.includes("?") ? "&" : "?", r = [], i = e, a = 0;
|
|
51
52
|
for (let [e, o] of Object.entries(t)) {
|
|
52
53
|
if (o.length === 0) continue;
|
|
@@ -58,40 +59,40 @@ function de(e, t) {
|
|
|
58
59
|
omitted: r
|
|
59
60
|
};
|
|
60
61
|
}
|
|
61
|
-
function
|
|
62
|
+
function C(e, t) {
|
|
62
63
|
return [
|
|
63
64
|
"<details>",
|
|
64
|
-
`<summary>${
|
|
65
|
+
`<summary>${h.htmlEscape(e) ?? ""}</summary>`,
|
|
65
66
|
"",
|
|
66
67
|
t,
|
|
67
68
|
"",
|
|
68
69
|
"</details>"
|
|
69
70
|
].join("\n");
|
|
70
71
|
}
|
|
71
|
-
function fe(e) {
|
|
72
|
-
return w("Environment", C("json", JSON.stringify(e, null, 2)));
|
|
73
|
-
}
|
|
74
72
|
function pe(e) {
|
|
75
|
-
return
|
|
73
|
+
return C("Environment", S("json", JSON.stringify(e, null, 2)));
|
|
76
74
|
}
|
|
77
75
|
function me(e) {
|
|
78
|
-
return
|
|
76
|
+
return C("Errors", S("text", e.map(f).join("\n\n---\n\n")));
|
|
77
|
+
}
|
|
78
|
+
function he(e) {
|
|
79
|
+
return C("Code", S("python", e));
|
|
79
80
|
}
|
|
80
81
|
//#endregion
|
|
81
82
|
//#region src/hooks/useLocalStorage.ts
|
|
82
|
-
function
|
|
83
|
+
function ge(e, t) {
|
|
83
84
|
let n = (0, b.c)(11), r;
|
|
84
|
-
n[0] === t ? r = n[1] : (r = new
|
|
85
|
+
n[0] === t ? r = n[1] : (r = new o(t), n[0] = t, n[1] = r);
|
|
85
86
|
let i = r, a;
|
|
86
87
|
n[2] !== e || n[3] !== i ? (a = () => i.get(e), n[2] = e, n[3] = i, n[4] = a) : a = n[4];
|
|
87
|
-
let [
|
|
88
|
+
let [s, c] = (0, y.useState)(a), l;
|
|
88
89
|
n[5] !== e || n[6] !== i ? (l = (t) => {
|
|
89
|
-
|
|
90
|
+
c(t), i.set(e, t);
|
|
90
91
|
}, n[5] = e, n[6] = i, n[7] = l) : l = n[7];
|
|
91
92
|
let u = l, d;
|
|
92
|
-
return n[8] !== u || n[9] !==
|
|
93
|
+
return n[8] !== u || n[9] !== s ? (d = [s, u], n[8] = u, n[9] = s, n[10] = d) : d = n[10], d;
|
|
93
94
|
}
|
|
94
|
-
var
|
|
95
|
+
var _e = (e) => {
|
|
95
96
|
let r = (0, b.c)(16), { content: i } = e, [a, o] = (0, y.useState)(!1), s = !a && "max-h-24 overflow-hidden", c;
|
|
96
97
|
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
98
|
let l;
|
|
@@ -107,7 +108,7 @@ var ge = (e) => {
|
|
|
107
108
|
children: [l, u]
|
|
108
109
|
}), r[7] = l, r[8] = u, r[9] = d) : d = r[9];
|
|
109
110
|
let f;
|
|
110
|
-
r[10] === Symbol.for("react.memo_cache_sentinel") ? (f = () => o(
|
|
111
|
+
r[10] === Symbol.for("react.memo_cache_sentinel") ? (f = () => o(T), r[10] = f) : f = r[10];
|
|
111
112
|
let p = a ? "Show less" : "Show more", m;
|
|
112
113
|
r[11] === p ? m = r[12] : (m = /* @__PURE__ */ (0, x.jsx)(n, {
|
|
113
114
|
type: "button",
|
|
@@ -123,73 +124,73 @@ var ge = (e) => {
|
|
|
123
124
|
children: [d, m]
|
|
124
125
|
}), r[13] = d, r[14] = m, r[15] = h) : h = r[15], h;
|
|
125
126
|
};
|
|
126
|
-
function
|
|
127
|
+
function ve(e) {
|
|
127
128
|
if (!e.hasRequestClient) return "Notebook source is unavailable.";
|
|
128
129
|
if (e.filename === null) return "Save the notebook first.";
|
|
129
130
|
if (!e.codeAvailable) return "Notebook source is hidden in this view.";
|
|
130
|
-
if (e.connectionState !==
|
|
131
|
+
if (e.connectionState !== v.OPEN) return "Connect the notebook to include its source.";
|
|
131
132
|
}
|
|
132
|
-
var
|
|
133
|
-
let e = (0, b.c)(56), t =
|
|
133
|
+
var w = () => {
|
|
134
|
+
let e = (0, b.c)(56), t = ee(l), r, i;
|
|
134
135
|
e[0] === t ? (r = e[1], i = e[2]) : (r = async () => {
|
|
135
136
|
if (t != null) return t.getEnvironmentInfo();
|
|
136
137
|
}, i = [t], e[0] = t, e[1] = r, e[2] = i);
|
|
137
|
-
let
|
|
138
|
-
e[3] !== g || e[4] !== y.state || e[5] !==
|
|
139
|
-
hasRequestClient:
|
|
140
|
-
filename:
|
|
138
|
+
let o = se(r, i), h = d(te), g = ce(), v = ee(u), y = ee(ne), S = t != null, C;
|
|
139
|
+
e[3] !== g || e[4] !== y.state || e[5] !== v || e[6] !== S ? (C = ve({
|
|
140
|
+
hasRequestClient: S,
|
|
141
|
+
filename: v,
|
|
141
142
|
codeAvailable: g,
|
|
142
143
|
connectionState: y.state
|
|
143
|
-
}), e[3] = g, e[4] = y.state, e[5] =
|
|
144
|
-
let
|
|
145
|
-
e[8] !==
|
|
146
|
-
if (!
|
|
144
|
+
}), e[3] = g, e[4] = y.state, e[5] = v, e[6] = S, e[7] = C) : C = e[7];
|
|
145
|
+
let w = C, T = w === void 0, [E, D] = ge("marimo:issue-report:include-errors", !1), [O, be] = ge("marimo:issue-report:include-code", !1), k = o.data ? ue(o.data, navigator.userAgent) : o.status === "error" || t == null ? de(m(), navigator.userAgent, navigator.language, "Server environment information unavailable") : void 0, A, j;
|
|
146
|
+
e[8] !== O || e[9] !== T || e[10] !== t ? (A = async () => {
|
|
147
|
+
if (!O || !T || t == null) return;
|
|
147
148
|
let { contents: e } = await t.readCode();
|
|
148
149
|
return e;
|
|
149
|
-
},
|
|
150
|
-
|
|
151
|
-
|
|
150
|
+
}, j = [
|
|
151
|
+
O,
|
|
152
|
+
T,
|
|
152
153
|
t
|
|
153
|
-
], e[8] =
|
|
154
|
-
let
|
|
155
|
-
if (
|
|
156
|
-
let e = { env:
|
|
157
|
-
|
|
154
|
+
], e[8] = O, e[9] = T, e[10] = t, e[11] = A, e[12] = j) : (A = e[11], j = e[12]);
|
|
155
|
+
let M = se(A, j), xe = _.bugReportUrl, Se = [];
|
|
156
|
+
if (k) {
|
|
157
|
+
let e = { env: pe(k) };
|
|
158
|
+
E && h.length > 0 && (e["bug-description"] = me(h)), O && M.data && (e["reproduction-code"] = he(M.data)), {url: xe, omitted: Se} = fe(_.bugReportUrl, e);
|
|
158
159
|
}
|
|
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] ===
|
|
165
|
-
let
|
|
166
|
-
e[17] !==
|
|
160
|
+
let Ce = Se.map(ye).join(", "), N;
|
|
161
|
+
e[13] === Symbol.for("react.memo_cache_sentinel") ? (N = /* @__PURE__ */ (0, x.jsxs)(ie, { children: [/* @__PURE__ */ (0, x.jsx)(re, { children: "Report an issue" }), /* @__PURE__ */ (0, x.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[13] = N) : N = e[13];
|
|
162
|
+
let P;
|
|
163
|
+
e[14] === Symbol.for("react.memo_cache_sentinel") ? (P = /* @__PURE__ */ (0, x.jsx)(c, { className: "w-4 h-4 mr-2" }), e[14] = P) : P = e[14];
|
|
164
|
+
let F = h.length === 0, I;
|
|
165
|
+
e[15] === D ? I = e[16] : (I = (e) => D(e === !0), e[15] = D, e[16] = I);
|
|
166
|
+
let L;
|
|
167
|
+
e[17] !== E || e[18] !== F || e[19] !== I ? (L = /* @__PURE__ */ (0, x.jsx)(s, {
|
|
167
168
|
id: "issue-include-errors",
|
|
168
|
-
checked:
|
|
169
|
-
disabled:
|
|
170
|
-
onCheckedChange:
|
|
169
|
+
checked: E,
|
|
170
|
+
disabled: F,
|
|
171
|
+
onCheckedChange: I,
|
|
171
172
|
"aria-label": "Include errors"
|
|
172
|
-
}), e[17] =
|
|
173
|
-
let
|
|
174
|
-
e[21] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
173
|
+
}), e[17] = E, e[18] = F, e[19] = I, e[20] = L) : L = e[20];
|
|
174
|
+
let R;
|
|
175
|
+
e[21] === Symbol.for("react.memo_cache_sentinel") ? (R = /* @__PURE__ */ (0, x.jsx)("label", {
|
|
175
176
|
htmlFor: "issue-include-errors",
|
|
176
177
|
children: "Include errors"
|
|
177
|
-
}), e[21] =
|
|
178
|
-
let
|
|
179
|
-
e[22] ===
|
|
178
|
+
}), e[21] = R) : R = e[21];
|
|
179
|
+
let z;
|
|
180
|
+
e[22] === L ? z = e[23] : (z = /* @__PURE__ */ (0, x.jsxs)("div", {
|
|
180
181
|
className: "flex items-center gap-2 text-sm",
|
|
181
|
-
children: [
|
|
182
|
-
}), e[22] =
|
|
183
|
-
let
|
|
184
|
-
e[24] ===
|
|
182
|
+
children: [L, R]
|
|
183
|
+
}), e[22] = L, e[23] = z);
|
|
184
|
+
let B = !T, V;
|
|
185
|
+
e[24] === be ? V = e[25] : (V = (e) => be(e === !0), e[24] = be, e[25] = V);
|
|
185
186
|
let H;
|
|
186
|
-
e[26] !==
|
|
187
|
+
e[26] !== O || e[27] !== B || e[28] !== V ? (H = /* @__PURE__ */ (0, x.jsx)(s, {
|
|
187
188
|
id: "issue-include-code",
|
|
188
|
-
checked:
|
|
189
|
-
disabled:
|
|
189
|
+
checked: O,
|
|
190
|
+
disabled: B,
|
|
190
191
|
onCheckedChange: V,
|
|
191
192
|
"aria-label": "Include notebook code"
|
|
192
|
-
}), e[26] =
|
|
193
|
+
}), e[26] = O, e[27] = B, e[28] = V, e[29] = H) : H = e[29];
|
|
193
194
|
let U;
|
|
194
195
|
e[30] === Symbol.for("react.memo_cache_sentinel") ? (U = /* @__PURE__ */ (0, x.jsx)("label", {
|
|
195
196
|
htmlFor: "issue-include-code",
|
|
@@ -201,15 +202,15 @@ var T = () => {
|
|
|
201
202
|
children: [H, U]
|
|
202
203
|
}), e[31] = H, e[32] = W);
|
|
203
204
|
let G;
|
|
204
|
-
e[33] ===
|
|
205
|
+
e[33] === w ? G = e[34] : (G = w && /* @__PURE__ */ (0, x.jsx)("span", {
|
|
205
206
|
className: "text-xs text-muted-foreground ml-6",
|
|
206
|
-
children:
|
|
207
|
-
}), e[33] =
|
|
207
|
+
children: w
|
|
208
|
+
}), e[33] = w, e[34] = G);
|
|
208
209
|
let K;
|
|
209
|
-
e[35] !==
|
|
210
|
+
e[35] !== M || e[36] !== O ? (K = O && M.status === "error" && /* @__PURE__ */ (0, x.jsx)("span", {
|
|
210
211
|
className: "text-xs text-(--red-11) ml-6",
|
|
211
212
|
children: "Notebook source could not be loaded."
|
|
212
|
-
}), e[35] =
|
|
213
|
+
}), e[35] = M, e[36] = O, e[37] = K) : K = e[37];
|
|
213
214
|
let q;
|
|
214
215
|
e[38] !== W || e[39] !== G || e[40] !== K ? (q = /* @__PURE__ */ (0, x.jsxs)("div", {
|
|
215
216
|
className: "flex flex-col gap-1",
|
|
@@ -220,46 +221,46 @@ var T = () => {
|
|
|
220
221
|
]
|
|
221
222
|
}), e[38] = W, e[39] = G, e[40] = K, e[41] = q) : q = e[41];
|
|
222
223
|
let J;
|
|
223
|
-
e[42] !==
|
|
224
|
+
e[42] !== z || e[43] !== q ? (J = /* @__PURE__ */ (0, x.jsxs)("div", {
|
|
224
225
|
className: "flex flex-col gap-2",
|
|
225
|
-
children: [
|
|
226
|
-
}), e[42] =
|
|
226
|
+
children: [z, q]
|
|
227
|
+
}), e[42] = z, e[43] = q, e[44] = J) : J = e[44];
|
|
227
228
|
let Y;
|
|
228
|
-
e[45] !==
|
|
229
|
+
e[45] !== o.status || e[46] !== t ? (Y = o.status === "pending" && t != null && /* @__PURE__ */ (0, x.jsxs)("div", {
|
|
229
230
|
className: "flex flex-col gap-2",
|
|
230
231
|
children: [
|
|
231
232
|
/* @__PURE__ */ (0, x.jsx)("span", {
|
|
232
233
|
className: "text-sm text-muted-foreground",
|
|
233
234
|
children: "Loading environment details…"
|
|
234
235
|
}),
|
|
235
|
-
/* @__PURE__ */ (0, x.jsx)(
|
|
236
|
-
/* @__PURE__ */ (0, x.jsx)(
|
|
237
|
-
/* @__PURE__ */ (0, x.jsx)(
|
|
236
|
+
/* @__PURE__ */ (0, x.jsx)(le, { className: "h-4 w-full" }),
|
|
237
|
+
/* @__PURE__ */ (0, x.jsx)(le, { className: "h-4 w-3/4" }),
|
|
238
|
+
/* @__PURE__ */ (0, x.jsx)(le, { className: "h-4 w-1/2" })
|
|
238
239
|
]
|
|
239
|
-
}), e[45] =
|
|
240
|
+
}), e[45] = o.status, e[46] = t, e[47] = Y) : Y = e[47];
|
|
240
241
|
let X;
|
|
241
|
-
e[48] !==
|
|
242
|
+
e[48] !== o || e[49] !== t ? (X = (o.status === "error" || t == null) && /* @__PURE__ */ (0, x.jsxs)("div", {
|
|
242
243
|
className: "flex items-center gap-2 text-sm",
|
|
243
244
|
children: [
|
|
244
|
-
/* @__PURE__ */ (0, x.jsx)(
|
|
245
|
+
/* @__PURE__ */ (0, x.jsx)(p, { className: "w-4 h-4 text-(--yellow-11) shrink-0" }),
|
|
245
246
|
/* @__PURE__ */ (0, x.jsx)("span", { children: "Server environment information unavailable" }),
|
|
246
247
|
t != null && /* @__PURE__ */ (0, x.jsx)(n, {
|
|
247
248
|
type: "button",
|
|
248
249
|
variant: "link",
|
|
249
250
|
size: "xs",
|
|
250
|
-
onClick: () =>
|
|
251
|
+
onClick: () => o.refetch(),
|
|
251
252
|
children: "Retry"
|
|
252
253
|
})
|
|
253
254
|
]
|
|
254
|
-
}), e[48] =
|
|
255
|
+
}), e[48] = o, e[49] = t, e[50] = X) : X = e[50];
|
|
255
256
|
let Z;
|
|
256
|
-
e[51] !==
|
|
257
|
+
e[51] !== k || e[52] !== h ? (Z = k && h.length === 0 && /* @__PURE__ */ (0, x.jsx)("span", {
|
|
257
258
|
className: "text-sm text-muted-foreground",
|
|
258
259
|
children: "No errors detected."
|
|
259
|
-
}), e[51] =
|
|
260
|
+
}), e[51] = k, e[52] = h, e[53] = Z) : Z = e[53];
|
|
260
261
|
let Q;
|
|
261
262
|
e[54] === Symbol.for("react.memo_cache_sentinel") ? (Q = /* @__PURE__ */ (0, x.jsx)("a", {
|
|
262
|
-
href:
|
|
263
|
+
href: _.feedbackForm,
|
|
263
264
|
target: "_blank",
|
|
264
265
|
rel: "noreferrer",
|
|
265
266
|
className: "underline",
|
|
@@ -278,7 +279,7 @@ var T = () => {
|
|
|
278
279
|
"or chat with us on",
|
|
279
280
|
" ",
|
|
280
281
|
/* @__PURE__ */ (0, x.jsx)("a", {
|
|
281
|
-
href:
|
|
282
|
+
href: _.discordLink,
|
|
282
283
|
target: "_blank",
|
|
283
284
|
rel: "noreferrer",
|
|
284
285
|
className: "underline",
|
|
@@ -289,7 +290,7 @@ var T = () => {
|
|
|
289
290
|
})
|
|
290
291
|
}), e[55] = $) : $ = e[55], /* @__PURE__ */ (0, x.jsxs)(ae, {
|
|
291
292
|
className: "w-[540px] max-w-[90vw]",
|
|
292
|
-
children: [
|
|
293
|
+
children: [N, /* @__PURE__ */ (0, x.jsxs)("div", {
|
|
293
294
|
className: "flex flex-col gap-4 max-h-[60vh] overflow-y-auto",
|
|
294
295
|
children: [
|
|
295
296
|
/* @__PURE__ */ (0, x.jsxs)("div", {
|
|
@@ -302,18 +303,18 @@ var T = () => {
|
|
|
302
303
|
asChild: !0,
|
|
303
304
|
className: "self-start",
|
|
304
305
|
children: /* @__PURE__ */ (0, x.jsxs)("a", {
|
|
305
|
-
href:
|
|
306
|
+
href: xe,
|
|
306
307
|
target: "_blank",
|
|
307
308
|
rel: "noreferrer",
|
|
308
|
-
children: [
|
|
309
|
+
children: [P, "Open GitHub issue"]
|
|
309
310
|
})
|
|
310
311
|
}),
|
|
311
312
|
J,
|
|
312
|
-
|
|
313
|
+
Ce ? /* @__PURE__ */ (0, x.jsxs)("div", {
|
|
313
314
|
className: "flex items-start gap-2 text-xs text-(--yellow-11)",
|
|
314
|
-
children: [/* @__PURE__ */ (0, x.jsx)(
|
|
315
|
+
children: [/* @__PURE__ */ (0, x.jsx)(p, { className: "w-3.5 h-3.5 shrink-0 mt-0.5" }), /* @__PURE__ */ (0, x.jsxs)("span", { children: [
|
|
315
316
|
"Too large to prefill and left out of the link: ",
|
|
316
|
-
|
|
317
|
+
Ce,
|
|
317
318
|
". Paste them into the issue manually."
|
|
318
319
|
] })]
|
|
319
320
|
}) : /* @__PURE__ */ (0, x.jsx)("p", {
|
|
@@ -324,7 +325,7 @@ var T = () => {
|
|
|
324
325
|
}),
|
|
325
326
|
Y,
|
|
326
327
|
X,
|
|
327
|
-
|
|
328
|
+
k && /* @__PURE__ */ (0, x.jsxs)("div", {
|
|
328
329
|
className: "flex flex-col gap-1",
|
|
329
330
|
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
|
|
330
331
|
className: "flex items-center justify-between",
|
|
@@ -333,13 +334,13 @@ var T = () => {
|
|
|
333
334
|
children: "Environment details"
|
|
334
335
|
}), /* @__PURE__ */ (0, x.jsx)(a, {
|
|
335
336
|
className: "w-3.5 h-3.5",
|
|
336
|
-
value: JSON.stringify(
|
|
337
|
+
value: JSON.stringify(k, null, 2),
|
|
337
338
|
ariaLabel: "Copy environment JSON",
|
|
338
339
|
toastTitle: "Environment details copied"
|
|
339
340
|
})]
|
|
340
|
-
}), /* @__PURE__ */ (0, x.jsx)(
|
|
341
|
+
}), /* @__PURE__ */ (0, x.jsx)(_e, { content: JSON.stringify(k, null, 2) })]
|
|
341
342
|
}),
|
|
342
|
-
|
|
343
|
+
k && h.length > 0 && /* @__PURE__ */ (0, x.jsxs)("div", {
|
|
343
344
|
className: "flex flex-col gap-1",
|
|
344
345
|
children: [/* @__PURE__ */ (0, x.jsxs)("div", {
|
|
345
346
|
className: "flex items-center justify-between",
|
|
@@ -348,11 +349,11 @@ var T = () => {
|
|
|
348
349
|
children: "Errors"
|
|
349
350
|
}), /* @__PURE__ */ (0, x.jsx)(a, {
|
|
350
351
|
className: "w-3.5 h-3.5",
|
|
351
|
-
value:
|
|
352
|
+
value: me(h),
|
|
352
353
|
ariaLabel: "Copy errors",
|
|
353
354
|
toastTitle: "Errors copied"
|
|
354
355
|
})]
|
|
355
|
-
}), /* @__PURE__ */ (0, x.jsx)(
|
|
356
|
+
}), /* @__PURE__ */ (0, x.jsx)(_e, { content: h.map(f).join("\n\n---\n\n") })]
|
|
356
357
|
}),
|
|
357
358
|
Z,
|
|
358
359
|
$
|
|
@@ -360,11 +361,11 @@ var T = () => {
|
|
|
360
361
|
})]
|
|
361
362
|
});
|
|
362
363
|
};
|
|
363
|
-
function
|
|
364
|
+
function T(e) {
|
|
364
365
|
return !e;
|
|
365
366
|
}
|
|
366
|
-
function
|
|
367
|
+
function ye(e) {
|
|
367
368
|
return e === "bug-description" ? "errors" : e === "reproduction-code" ? "code" : e;
|
|
368
369
|
}
|
|
369
370
|
//#endregion
|
|
370
|
-
export {
|
|
371
|
+
export { w as FeedbackModal };
|
|
@@ -8,8 +8,8 @@ import "./chunk-4HAMMTFA-Bk_5S_m9.js";
|
|
|
8
8
|
import "./chunk-GVQU2GXP-DGvySV5W.js";
|
|
9
9
|
import "./chunk-L3NEJ4N5-D9-ekjZc.js";
|
|
10
10
|
import "./chunk-OSK3NFVY-p7meGiY-.js";
|
|
11
|
-
import "./mermaid-
|
|
11
|
+
import "./mermaid-CNgH43ED.js";
|
|
12
12
|
import "./chunk-F27PBJKO-YjRXlNkT.js";
|
|
13
13
|
import "./chunk-XXDRQBXY-BM-YIt-_.js";
|
|
14
14
|
import "./chunk-POPQ4Y6H-EOTPk9Tj.js";
|
|
15
|
-
export { n as diagram } from "./chunk-SHT3W25Y-
|
|
15
|
+
export { n as diagram } from "./chunk-SHT3W25Y-CfULafYG.js";
|
|
@@ -3,7 +3,7 @@ import { h as t, r as n } from "./button-BuSV-mLI.js";
|
|
|
3
3
|
import { t as r } from "./react-CHbZqgBF.js";
|
|
4
4
|
import { t as i } from "./compiler-runtime-DNezxW8I.js";
|
|
5
5
|
import { t as a } from "./jsx-runtime-6ZiU38At.js";
|
|
6
|
-
import {
|
|
6
|
+
import { t as o } from "./toDate-5qPtZ6HL.js";
|
|
7
7
|
import { i as s } from "./loader-BIlwkY0d.js";
|
|
8
8
|
//#region ../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js
|
|
9
9
|
function c(e) {
|
|
@@ -14,7 +14,7 @@ import { t as P } from "./jsx-runtime-6ZiU38At.js";
|
|
|
14
14
|
import { u as oe } from "./use-restore-focus-DyrKLdSB.js";
|
|
15
15
|
import { t as F } from "./useEvent-xDnF2X04.js";
|
|
16
16
|
import { n as I, t as se } from "./objectWithoutPropertiesLoose-BRDcTsfB.js";
|
|
17
|
-
import { t as ce } from "./ErrorBoundary-
|
|
17
|
+
import { t as ce } from "./ErrorBoundary-DjoeT4kv.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 _e, O as L, P as ve, R as ye, S as be, T as xe, _ as Se, a as R, b as Ce, c as z, d as we, f as B, g as V, h as Te, i as Ee, j as H, k as U, l as De, m as Oe, n as ke, o as Ae, p as je, r as W, s as Me, t as Ne, u as Pe, v as Fe, w as Ie, x as Le, y as Re, z as ze } from "./data-grid-types-CSElxhxo.js";
|
|
19
19
|
//#region ../node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
|
|
20
20
|
function Be(e) {
|
|
@@ -7061,7 +7061,7 @@ function us(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.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
|
|
7064
|
-
var ds = /* @__PURE__ */ e(wr(), 1), fs = /* @__PURE__ */ e(Or(), 1), ps = G.lazy(async () => await import("./data-grid-overlay-editor-
|
|
7064
|
+
var ds = /* @__PURE__ */ e(wr(), 1), fs = /* @__PURE__ */ e(Or(), 1), ps = G.lazy(async () => await import("./data-grid-overlay-editor-BYrIVut3.js")), ms = 0;
|
|
7065
7065
|
function hs(e) {
|
|
7066
7066
|
return (0, ds.default)((0, fs.default)((0, fs.default)(e).filter((e) => e.span !== void 0).map((e) => (0, io.default)((e.span?.[0] ?? 0) + 1, (e.span?.[1] ?? 0) + 1))));
|
|
7067
7067
|
}
|
|
@@ -9284,7 +9284,7 @@ function Js(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.17.21_marked@15.0.12_react-dom@19.3.0_27cffe7f1bc30287d59ac27db3240c5b/node_modules/@glideapps/glide-data-grid/dist/esm/cells/number-cell.js
|
|
9287
|
-
var Ys = G.lazy(async () => await import("./number-overlay-editor-
|
|
9287
|
+
var Ys = G.lazy(async () => await import("./number-overlay-editor-qvlPZ-l-.js")), Xs = {
|
|
9288
9288
|
getAccessibilityString: (e) => e.data?.toString() ?? "",
|
|
9289
9289
|
kind: W.Number,
|
|
9290
9290
|
needsHover: (e) => e.hoverEffect === !0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as e } from "./tooltip-BekOCQ3v.js";
|
|
2
2
|
import { yt as t } from "./use-restore-focus-DyrKLdSB.js";
|
|
3
|
-
import { r as n } from "./code-visibility-
|
|
3
|
+
import { r as n } from "./code-visibility-CduMVVFS.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",
|