@marimo-team/islands 0.26.1-dev42 → 0.26.1-dev46
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-BVMWCBON.js → ConnectedDataExplorerComponent-yQVBQBUW.js} +16 -16
- package/dist/{ErrorBoundary-BzyGrUMt.js → ErrorBoundary-i7VCVA53.js} +18 -18
- package/dist/{abnfDiagram-VCTEODGH-BRj77JhY.js → abnfDiagram-VCTEODGH-Ck_lXwQR.js} +2 -2
- package/dist/{any-language-editor-BQ9dhxg5.js → any-language-editor-Cx4idbgX.js} +2 -2
- package/dist/{architectureDiagram-5GKGNRK7-CDnAsvE1.js → architectureDiagram-5GKGNRK7-XeVhic7Z.js} +1 -1
- package/dist/{assertNever-DeSqnr83.js → assertNever-473SFxLt.js} +2 -2
- package/dist/{chat-ui-CXyZb62N.js → chat-ui-6qTQeEIx.js} +870 -870
- package/dist/{check-COXd6cXw.js → check-DmTIavbZ.js} +1 -1
- package/dist/{chunk-IMKFNOWR-BFtu1O6j.js → chunk-IMKFNOWR-DdQni67K.js} +1 -1
- package/dist/{chunk-SHT3W25Y-B9zWo9Da.js → chunk-SHT3W25Y-BdK-vMct.js} +1 -1
- package/dist/{chunk-SVP7TREG-kKS-I24p.js → chunk-SVP7TREG-cpFZk4Ca.js} +1 -1
- package/dist/{chunk-TICWLB2K-EY3w5-eg.js → chunk-TICWLB2K-DDgQFRgT.js} +1 -1
- package/dist/{classDiagram-ZZMXUADV-BR66X7fj.js → classDiagram-ZZMXUADV-DeojX9X4.js} +2 -2
- package/dist/{classDiagram-v2-VYDZK3BY-DPcxw_9g.js → classDiagram-v2-VYDZK3BY-DPfTAiQ6.js} +2 -2
- package/dist/{code-visibility-DcxCjPS7.js → code-visibility-DNUnnMY_.js} +27 -27
- package/dist/{common-CA3E-SaD.js → common-CXvbAyqO.js} +4892 -4900
- package/dist/{config-DE3A8m65.js → config-D-lhQq-h.js} +3 -3
- package/dist/{copy-icon-gSCLWI50.js → copy-icon-DuxRkh7T.js} +2 -2
- package/dist/{createReducer-BFfuVhJG.js → createReducer-D3pBhIVD.js} +5 -5
- package/dist/{cynefinDiagram-5FMLGOSQ-B9kG0Adl.js → cynefinDiagram-5FMLGOSQ-DyY9TvuI.js} +1 -1
- package/dist/{dagre-GXQ25YYZ-ClnyHQzL.js → dagre-GXQ25YYZ-BPCOgtKg.js} +1 -1
- package/dist/{data-grid-overlay-editor-DjSnRyGz.js → data-grid-overlay-editor-_B2yWrZg.js} +1 -1
- package/dist/{diagram-S7CK7UJ4-afCjSSlp.js → diagram-S7CK7UJ4-KaF-C6kd.js} +1 -1
- package/dist/{diagram-UQ7AKVKN-BCHefG5P.js → diagram-UQ7AKVKN-DkeqoSvK.js} +1 -1
- package/dist/{diagram-VX7I27RA-9jXA0khj.js → diagram-VX7I27RA-DExolTAf.js} +1 -1
- package/dist/{diagram-Z3DM3KII-C8tsbK7Q.js → diagram-Z3DM3KII-BioFuBF3.js} +1 -1
- package/dist/{dialog-Dn_UHaEl.js → dialog-CvyFEwby.js} +28 -28
- package/dist/{dropdown-menu-D0nePAlm.js → dropdown-menu-BiXHfje7.js} +651 -651
- package/dist/{ebnfDiagram-PWID7BFC-It0ZS33j.js → ebnfDiagram-PWID7BFC-BSb9k1ed.js} +2 -2
- package/dist/{erDiagram-RLTQ6QDP-Z0Qfo02H.js → erDiagram-RLTQ6QDP-PWA30a_r.js} +1 -1
- package/dist/{error-banner-DChjSagB.js → error-banner-B9HQMSaH.js} +70 -70
- package/dist/{error-entries-DYoi03MZ.js → error-entries-8CPw0aYH.js} +812 -698
- package/dist/{feedback-button-DeA5LGUm.js → feedback-button-BOJ6pfBP.js} +52 -52
- package/dist/{flowDiagram-HODETNUW-8DeXLUFK.js → flowDiagram-HODETNUW-BPtD__Zz.js} +2 -2
- package/dist/{formats-6QF5hRsy.js → formats-BF95BoCT.js} +1 -1
- package/dist/{glide-data-editor-DD03A2zN.js → glide-data-editor-oQ3lCfvU.js} +11 -11
- package/dist/{glide-utils-B7gy9Her.js → glide-utils-iHKKQPJ8.js} +2 -2
- package/dist/{globals-CXh7buzB.js → globals-a3k2q2j7.js} +3 -3
- package/dist/{html-to-image-CUFNjxtw.js → html-to-image-BIom70fW.js} +404 -404
- package/dist/{infoDiagram-27XIBGKW-B5wmzeRz.js → infoDiagram-27XIBGKW-SJuilBEE.js} +1 -1
- package/dist/{ishikawaDiagram-5VMMS53U-BcbPwik7.js → ishikawaDiagram-5VMMS53U-DjzyxMr8.js} +1 -1
- package/dist/{kanban-definition-UXKFOSKX-AfQmkIoH.js → kanban-definition-UXKFOSKX-D2_qopGt.js} +1 -1
- package/dist/main.js +5811 -5766
- package/dist/{mermaid-az53hfgW.js → mermaid-DcowNmCx.js} +34 -34
- package/dist/{mindmap-definition-YA3MSWOX-B7eBrMap.js → mindmap-definition-YA3MSWOX-pEra10M0.js} +1 -1
- package/dist/{number-overlay-editor-DJFSx1CC.js → number-overlay-editor-CUwIpUt4.js} +1 -1
- package/dist/{pegDiagram-XKGWAZYB-BwjpXSLR.js → pegDiagram-XKGWAZYB-CHOPKVOf.js} +2 -2
- package/dist/{pencil-pQhLU2Up.js → pencil-FAv6JUvp.js} +1 -1
- package/dist/{pieDiagram-E7YTZNPT-D5AyRqAQ.js → pieDiagram-E7YTZNPT-yGDhsyEN.js} +1 -1
- package/dist/{process-output-DMMs8Ywh.js → process-output-ns7N5ovS.js} +4 -4
- package/dist/{railroadDiagram-O6MQD6OU-Hhrla0Qq.js → railroadDiagram-O6MQD6OU-CeKEPdyc.js} +2 -2
- package/dist/{requirementDiagram-BXWQKSXE-MgDRuFUM.js → requirementDiagram-BXWQKSXE-DSAbAzKe.js} +1 -1
- package/dist/{reveal-component-DwB1-KYy.js → reveal-component-BAhQeB3o.js} +7 -7
- package/dist/{select-C4rPKgSx.js → select-BszV-bbI.js} +307 -307
- package/dist/{sequenceDiagram-WJ2MYXX4-xZYdOGbe.js → sequenceDiagram-WJ2MYXX4-DVhWj_9H.js} +1 -1
- package/dist/{spec-BsiCag5K.js → spec-CRfw-lOm.js} +4 -4
- package/dist/{stateDiagram-D77RDMKH-DdhE3Yx9.js → stateDiagram-D77RDMKH-CDQ2MltG.js} +2 -2
- package/dist/{stateDiagram-v2-MP3YSRHH-DENKYVKr.js → stateDiagram-v2-MP3YSRHH-BQmvwBaz.js} +2 -2
- package/dist/{static-state-CNnjDcOR.js → static-state-BtDNJuc2.js} +5 -5
- package/dist/{swimlanes-42K2YHIH-Bw7xuGAn.js → swimlanes-42K2YHIH-DLOUTCEL.js} +1 -1
- package/dist/{swimlanesDiagram-VR7AAH4N-L91TUeh5.js → swimlanesDiagram-VR7AAH4N-BVKrkNJ6.js} +2 -2
- package/dist/{timeline-definition-24CTP7MA-BeGrmws1.js → timeline-definition-24CTP7MA-Cb2JoCSd.js} +1 -1
- package/dist/{toast-qyBwbZJ0.js → toast-QsOAIPfq.js} +192 -192
- package/dist/{tooltip-COQxCMLx.js → tooltip-BQZ-Bm6h.js} +76 -76
- package/dist/{use-restore-focus-D5-Hgr1l.js → use-restore-focus-DT1TZACX.js} +1167 -1167
- package/dist/{useDateFormatter-L8edl513.js → useDateFormatter-D3gyMY-g.js} +2 -2
- package/dist/{useDeepCompareMemoize-B6yhm6sM.js → useDeepCompareMemoize-CO6rO5Mq.js} +1 -1
- package/dist/{useLifecycle-Dnxradbp.js → useLifecycle-C9UTzCY8.js} +1 -1
- package/dist/{vega-component-CWKS3tOU.js → vega-component-i5lZ23n7.js} +17 -17
- package/dist/{vennDiagram-4TSXK5OY-fknCUyJ2.js → vennDiagram-4TSXK5OY-Cm3EcCcP.js} +1 -1
- package/dist/{wardleyDiagram-VM6X3IG4-DvoVMCdj.js → wardleyDiagram-VM6X3IG4-DjlUs2CC.js} +1 -1
- package/dist/{xychartDiagram-S5SC5T6Z-0TYtO6UV.js → xychartDiagram-S5SC5T6Z-DxNDul9l.js} +1 -1
- package/package.json +1 -1
- package/src/__mocks__/animation-frames.ts +31 -0
- package/src/__mocks__/executions.ts +6 -1
- package/src/components/editor/cell/collapse.tsx +6 -3
- package/src/components/editor/header/status.tsx +5 -2
- package/src/components/scratchpad/scratchpad.tsx +2 -2
- package/src/core/cells/cells.ts +24 -16
- package/src/core/cells/execution-console.ts +7 -2
- package/src/core/executions/__tests__/atoms.test.ts +204 -1
- package/src/core/executions/__tests__/output-lifecycle.test.ts +20 -3
- package/src/core/executions/__tests__/select.test.ts +32 -1
- package/src/core/executions/atoms.ts +245 -81
- package/src/core/executions/hooks.ts +15 -59
- package/src/core/executions/index.ts +2 -0
- package/src/core/executions/output.ts +34 -14
- package/src/core/executions/select.ts +70 -25
- package/src/core/islands/bootstrap.ts +7 -2
- package/src/core/notebook/replica/__tests__/executions.test.ts +8 -12
- package/src/core/notebook/replica/__tests__/frame.test.ts +206 -0
- package/src/core/notebook/replica/__tests__/once-per-frame.test.ts +95 -0
- package/src/core/notebook/replica/__tests__/results.test.ts +3 -9
- package/src/core/notebook/replica/frame.ts +54 -0
- package/src/core/notebook/replica/index.ts +1 -0
- package/src/core/notebook/replica/once-per-frame.ts +60 -0
- package/src/core/notebook/replica/resources/executions.ts +0 -2
- package/src/core/session/__tests__/useNotebookReplica.hook.test.tsx +53 -7
- package/src/core/session/__tests__/useNotebookSession.hook.test.tsx +29 -7
- package/src/core/session/active-notebook.ts +4 -1
- package/src/core/session/useNotebookReplica.ts +14 -1
- package/src/core/state/__tests__/atom-with-selected-inputs.test.ts +48 -0
- package/src/core/state/__tests__/create-keyed-selector-hook.test.tsx +16 -7
- package/src/core/state/atom-with-selected-inputs.ts +24 -0
- package/src/core/state/create-keyed-atom-hook.ts +18 -0
- package/src/core/state/create-keyed-selector-hook.ts +5 -9
- package/src/core/wasm/__tests__/bridge.test.ts +73 -1
- package/src/utils/arrays.ts +4 -1
|
@@ -2,15 +2,15 @@ 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 {
|
|
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-DuxRkh7T.js";
|
|
6
|
+
import { A as o, L as s, Y as c, i as l, j as u, n as d, on as f, tn as p, z as m } from "./error-entries-8CPw0aYH.js";
|
|
7
|
+
import { n as h, t as ee } from "./globals-a3k2q2j7.js";
|
|
8
|
+
import { r as g } from "./assertNever-473SFxLt.js";
|
|
9
9
|
import { t as _ } from "./jsx-runtime-D8btoEHk.js";
|
|
10
|
-
import {
|
|
11
|
-
import { a as ne, i as re, n as ie, r as ae } from "./dialog-
|
|
10
|
+
import { Ct as te, Vt as v, m as y } from "./use-restore-focus-DT1TZACX.js";
|
|
11
|
+
import { a as ne, i as re, n as ie, r as ae } from "./dialog-CvyFEwby.js";
|
|
12
12
|
import { t as oe } from "./useAsyncData-P5-Oovhq.js";
|
|
13
|
-
import { t as se } from "./code-visibility-
|
|
13
|
+
import { t as se } from "./code-visibility-DNUnnMY_.js";
|
|
14
14
|
//#region src/components/ui/skeleton.tsx
|
|
15
15
|
var b = /* @__PURE__ */ e(r(), 1), x = i(), S = _(), ce = (e) => {
|
|
16
16
|
let n = (0, x.c)(8), r, i;
|
|
@@ -72,7 +72,7 @@ function fe(e) {
|
|
|
72
72
|
return w("Environment", C("json", JSON.stringify(e, null, 2)));
|
|
73
73
|
}
|
|
74
74
|
function pe(e) {
|
|
75
|
-
return w("Errors", C("text", e.map(
|
|
75
|
+
return w("Errors", C("text", e.map(d).join("\n\n---\n\n")));
|
|
76
76
|
}
|
|
77
77
|
function me(e) {
|
|
78
78
|
return w("Code", C("python", e));
|
|
@@ -81,12 +81,12 @@ function me(e) {
|
|
|
81
81
|
//#region src/hooks/useLocalStorage.ts
|
|
82
82
|
function he(e, t) {
|
|
83
83
|
let n = (0, x.c)(11), r;
|
|
84
|
-
n[0] === t ? r = n[1] : (r = new
|
|
84
|
+
n[0] === t ? r = n[1] : (r = new s(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,
|
|
87
|
+
let [o, c] = (0, b.useState)(a), l;
|
|
88
88
|
n[5] !== e || n[6] !== i ? (l = (t) => {
|
|
89
|
-
|
|
89
|
+
c(t), i.set(e, t);
|
|
90
90
|
}, n[5] = e, n[6] = i, n[7] = l) : l = n[7];
|
|
91
91
|
let u = l, d;
|
|
92
92
|
return n[8] !== u || n[9] !== o ? (d = [o, u], n[8] = u, n[9] = o, n[10] = d) : d = n[10], d;
|
|
@@ -127,49 +127,49 @@ 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
|
-
if (e.connectionState !==
|
|
130
|
+
if (e.connectionState !== p.OPEN) return "Connect the notebook to include its source.";
|
|
131
131
|
}
|
|
132
132
|
var T = () => {
|
|
133
|
-
let e = (0, x.c)(56), t = v(
|
|
133
|
+
let e = (0, x.c)(56), t = v(c), 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
|
|
137
|
+
let s = oe(r, i), p = l(te), g = se(), _ = v(m), b = v(u), C = t != null, w;
|
|
138
138
|
e[3] !== g || e[4] !== b.state || e[5] !== _ || e[6] !== C ? (w = _e({
|
|
139
139
|
hasRequestClient: C,
|
|
140
140
|
filename: _,
|
|
141
141
|
codeAvailable: g,
|
|
142
142
|
connectionState: b.state
|
|
143
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,
|
|
145
|
-
e[8] !== k || e[9] !== E || e[10] !== t ? (
|
|
144
|
+
let T = w, E = T === void 0, [D, O] = he("marimo:issue-report:include-errors", !1), [k, ye] = he("marimo:issue-report:include-code", !1), A = s.data ? le(s.data, navigator.userAgent) : s.status === "error" || t == null ? ue(ee(), navigator.userAgent, navigator.language, "Server environment information unavailable") : void 0, j, M;
|
|
145
|
+
e[8] !== k || e[9] !== E || e[10] !== t ? (j = async () => {
|
|
146
146
|
if (!k || !E || t == null) return;
|
|
147
147
|
let { contents: e } = await t.readCode();
|
|
148
148
|
return e;
|
|
149
|
-
},
|
|
149
|
+
}, M = [
|
|
150
150
|
k,
|
|
151
151
|
E,
|
|
152
152
|
t
|
|
153
|
-
], e[8] = k, e[9] = E, e[10] = t, e[11] =
|
|
154
|
-
let
|
|
155
|
-
if (
|
|
156
|
-
let e = { env: fe(
|
|
157
|
-
D &&
|
|
153
|
+
], e[8] = k, e[9] = E, e[10] = t, e[11] = j, e[12] = M) : (j = e[11], M = e[12]);
|
|
154
|
+
let N = oe(j, M), be = y.bugReportUrl, xe = [];
|
|
155
|
+
if (A) {
|
|
156
|
+
let e = { env: fe(A) };
|
|
157
|
+
D && p.length > 0 && (e["bug-description"] = pe(p)), k && N.data && (e["reproduction-code"] = me(N.data)), {url: be, omitted: xe} = 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
|
|
159
|
+
let Se = xe.map(ve).join(", "), P;
|
|
160
|
+
e[13] === Symbol.for("react.memo_cache_sentinel") ? (P = /* @__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] = P) : P = e[13];
|
|
161
|
+
let F;
|
|
162
|
+
e[14] === Symbol.for("react.memo_cache_sentinel") ? (F = /* @__PURE__ */ (0, S.jsx)(f, { className: "w-4 h-4 mr-2" }), e[14] = F) : F = e[14];
|
|
163
|
+
let I = p.length === 0, L;
|
|
164
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] !== D || e[18] !==
|
|
166
|
+
e[17] !== D || e[18] !== I || e[19] !== L ? (R = /* @__PURE__ */ (0, S.jsx)(o, {
|
|
167
167
|
id: "issue-include-errors",
|
|
168
168
|
checked: D,
|
|
169
|
-
disabled:
|
|
169
|
+
disabled: I,
|
|
170
170
|
onCheckedChange: L,
|
|
171
171
|
"aria-label": "Include errors"
|
|
172
|
-
}), e[17] = D, e[18] =
|
|
172
|
+
}), e[17] = D, e[18] = I, e[19] = L, e[20] = R) : R = e[20];
|
|
173
173
|
let z;
|
|
174
174
|
e[21] === Symbol.for("react.memo_cache_sentinel") ? (z = /* @__PURE__ */ (0, S.jsx)("label", {
|
|
175
175
|
htmlFor: "issue-include-errors",
|
|
@@ -181,9 +181,9 @@ var T = () => {
|
|
|
181
181
|
children: [R, z]
|
|
182
182
|
}), e[22] = R, e[23] = B);
|
|
183
183
|
let Ce = !E, V;
|
|
184
|
-
e[24] ===
|
|
184
|
+
e[24] === ye ? V = e[25] : (V = (e) => ye(e === !0), e[24] = ye, e[25] = V);
|
|
185
185
|
let H;
|
|
186
|
-
e[26] !== k || e[27] !== Ce || e[28] !== V ? (H = /* @__PURE__ */ (0, S.jsx)(
|
|
186
|
+
e[26] !== k || e[27] !== Ce || e[28] !== V ? (H = /* @__PURE__ */ (0, S.jsx)(o, {
|
|
187
187
|
id: "issue-include-code",
|
|
188
188
|
checked: k,
|
|
189
189
|
disabled: Ce,
|
|
@@ -206,10 +206,10 @@ var T = () => {
|
|
|
206
206
|
children: T
|
|
207
207
|
}), e[33] = T, e[34] = G);
|
|
208
208
|
let K;
|
|
209
|
-
e[35] !==
|
|
209
|
+
e[35] !== N || e[36] !== k ? (K = k && N.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] = N, e[36] = k, e[37] = K) : K = e[37];
|
|
213
213
|
let q;
|
|
214
214
|
e[38] !== W || e[39] !== G || e[40] !== K ? (q = /* @__PURE__ */ (0, S.jsxs)("div", {
|
|
215
215
|
className: "flex flex-col gap-1",
|
|
@@ -225,7 +225,7 @@ var T = () => {
|
|
|
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] !==
|
|
228
|
+
e[45] !== s.status || e[46] !== t ? (Y = s.status === "pending" && t != null && /* @__PURE__ */ (0, S.jsxs)("div", {
|
|
229
229
|
className: "flex flex-col gap-2",
|
|
230
230
|
children: [
|
|
231
231
|
/* @__PURE__ */ (0, S.jsx)("span", {
|
|
@@ -236,9 +236,9 @@ var T = () => {
|
|
|
236
236
|
/* @__PURE__ */ (0, S.jsx)(ce, { className: "h-4 w-3/4" }),
|
|
237
237
|
/* @__PURE__ */ (0, S.jsx)(ce, { className: "h-4 w-1/2" })
|
|
238
238
|
]
|
|
239
|
-
}), e[45] =
|
|
239
|
+
}), e[45] = s.status, e[46] = t, e[47] = Y) : Y = e[47];
|
|
240
240
|
let X;
|
|
241
|
-
e[48] !==
|
|
241
|
+
e[48] !== s || e[49] !== t ? (X = (s.status === "error" || t == null) && /* @__PURE__ */ (0, S.jsxs)("div", {
|
|
242
242
|
className: "flex items-center gap-2 text-sm",
|
|
243
243
|
children: [
|
|
244
244
|
/* @__PURE__ */ (0, S.jsx)(h, { className: "w-4 h-4 text-(--yellow-11) shrink-0" }),
|
|
@@ -247,16 +247,16 @@ var T = () => {
|
|
|
247
247
|
type: "button",
|
|
248
248
|
variant: "link",
|
|
249
249
|
size: "xs",
|
|
250
|
-
onClick: () =>
|
|
250
|
+
onClick: () => s.refetch(),
|
|
251
251
|
children: "Retry"
|
|
252
252
|
})
|
|
253
253
|
]
|
|
254
|
-
}), e[48] =
|
|
254
|
+
}), e[48] = s, e[49] = t, e[50] = X) : X = e[50];
|
|
255
255
|
let Z;
|
|
256
|
-
e[51] !==
|
|
256
|
+
e[51] !== A || e[52] !== p ? (Z = A && p.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] = A, e[52] = p, e[53] = Z) : Z = e[53];
|
|
260
260
|
let Q;
|
|
261
261
|
e[54] === Symbol.for("react.memo_cache_sentinel") ? (Q = /* @__PURE__ */ (0, S.jsx)("a", {
|
|
262
262
|
href: y.feedbackForm,
|
|
@@ -289,7 +289,7 @@ var T = () => {
|
|
|
289
289
|
})
|
|
290
290
|
}), e[55] = $) : $ = e[55], /* @__PURE__ */ (0, S.jsxs)(ie, {
|
|
291
291
|
className: "w-[540px] max-w-[90vw]",
|
|
292
|
-
children: [
|
|
292
|
+
children: [P, /* @__PURE__ */ (0, S.jsxs)("div", {
|
|
293
293
|
className: "flex flex-col gap-4 max-h-[60vh] overflow-y-auto",
|
|
294
294
|
children: [
|
|
295
295
|
/* @__PURE__ */ (0, S.jsxs)("div", {
|
|
@@ -302,18 +302,18 @@ var T = () => {
|
|
|
302
302
|
asChild: !0,
|
|
303
303
|
className: "self-start",
|
|
304
304
|
children: /* @__PURE__ */ (0, S.jsxs)("a", {
|
|
305
|
-
href:
|
|
305
|
+
href: be,
|
|
306
306
|
target: "_blank",
|
|
307
307
|
rel: "noreferrer",
|
|
308
|
-
children: [
|
|
308
|
+
children: [F, "Open GitHub issue"]
|
|
309
309
|
})
|
|
310
310
|
}),
|
|
311
311
|
J,
|
|
312
|
-
|
|
312
|
+
Se ? /* @__PURE__ */ (0, S.jsxs)("div", {
|
|
313
313
|
className: "flex items-start gap-2 text-xs text-(--yellow-11)",
|
|
314
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
|
+
Se,
|
|
317
317
|
". Paste them into the issue manually."
|
|
318
318
|
] })]
|
|
319
319
|
}) : /* @__PURE__ */ (0, S.jsx)("p", {
|
|
@@ -324,7 +324,7 @@ var T = () => {
|
|
|
324
324
|
}),
|
|
325
325
|
Y,
|
|
326
326
|
X,
|
|
327
|
-
|
|
327
|
+
A && /* @__PURE__ */ (0, S.jsxs)("div", {
|
|
328
328
|
className: "flex flex-col gap-1",
|
|
329
329
|
children: [/* @__PURE__ */ (0, S.jsxs)("div", {
|
|
330
330
|
className: "flex items-center justify-between",
|
|
@@ -333,13 +333,13 @@ var T = () => {
|
|
|
333
333
|
children: "Environment details"
|
|
334
334
|
}), /* @__PURE__ */ (0, S.jsx)(a, {
|
|
335
335
|
className: "w-3.5 h-3.5",
|
|
336
|
-
value: JSON.stringify(
|
|
336
|
+
value: JSON.stringify(A, null, 2),
|
|
337
337
|
ariaLabel: "Copy environment JSON",
|
|
338
338
|
toastTitle: "Environment details copied"
|
|
339
339
|
})]
|
|
340
|
-
}), /* @__PURE__ */ (0, S.jsx)(ge, { content: JSON.stringify(
|
|
340
|
+
}), /* @__PURE__ */ (0, S.jsx)(ge, { content: JSON.stringify(A, null, 2) })]
|
|
341
341
|
}),
|
|
342
|
-
|
|
342
|
+
A && p.length > 0 && /* @__PURE__ */ (0, S.jsxs)("div", {
|
|
343
343
|
className: "flex flex-col gap-1",
|
|
344
344
|
children: [/* @__PURE__ */ (0, S.jsxs)("div", {
|
|
345
345
|
className: "flex items-center justify-between",
|
|
@@ -348,11 +348,11 @@ var T = () => {
|
|
|
348
348
|
children: "Errors"
|
|
349
349
|
}), /* @__PURE__ */ (0, S.jsx)(a, {
|
|
350
350
|
className: "w-3.5 h-3.5",
|
|
351
|
-
value: pe(
|
|
351
|
+
value: pe(p),
|
|
352
352
|
ariaLabel: "Copy errors",
|
|
353
353
|
toastTitle: "Errors copied"
|
|
354
354
|
})]
|
|
355
|
-
}), /* @__PURE__ */ (0, S.jsx)(ge, { content:
|
|
355
|
+
}), /* @__PURE__ */ (0, S.jsx)(ge, { content: p.map(d).join("\n\n---\n\n") })]
|
|
356
356
|
}),
|
|
357
357
|
Z,
|
|
358
358
|
$
|
|
@@ -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-DcowNmCx.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-BdK-vMct.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-BtDNJuc2.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 { d as _, g as v, i as y, l as b, n as x, o as S, p 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-DuxRkh7T.js";
|
|
6
|
+
import { d as u } from "./tooltip-BQZ-Bm6h.js";
|
|
7
|
+
import { c as d, d as f, i as p, n as m, s as h, t as g } from "./select-BszV-bbI.js";
|
|
8
|
+
import { d as _, g as v, i as y, l as b, n as x, o as S, p as C, s as w, t as T, u as E, xn as D } from "./dropdown-menu-BiXHfje7.js";
|
|
9
|
+
import { t as O } from "./pencil-FAv6JUvp.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-iHKKQPJ8.js";
|
|
11
|
+
import { i as M, n as N } from "./assertNever-473SFxLt.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-DT1TZACX.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-i7VCVA53.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-_B2yWrZg.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-CUwIpUt4.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-BQZ-Bm6h.js";
|
|
4
|
+
import { n as r } from "./assertNever-473SFxLt.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-BQZ-Bm6h.js";
|
|
2
|
+
import { Ct as t } from "./use-restore-focus-DT1TZACX.js";
|
|
3
|
+
import { r as n } from "./code-visibility-DNUnnMY_.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",
|