@marimo-team/islands 0.25.3-dev482 → 0.25.3-dev486
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-LA5OtjAG.js → ConnectedDataExplorerComponent-BV2GFVYn.js} +9 -9
- package/dist/{ErrorBoundary-Tw4GGoit.js → ErrorBoundary-D--EtR81.js} +6 -6
- package/dist/{abnfDiagram-VCTEODGH-CBntFgCZ.js → abnfDiagram-VCTEODGH-1AWrWE-o.js} +2 -2
- package/dist/{any-language-editor-gzDRWdCH.js → any-language-editor-Dqpg95i0.js} +2 -2
- package/dist/{architectureDiagram-5GKGNRK7-Bz6ouXl-.js → architectureDiagram-5GKGNRK7-D0zM5fGn.js} +1 -1
- package/dist/{assertNever-DOTNJ2Y4.js → assertNever-BQEDS5Ew.js} +2 -2
- package/dist/assets/__vite-browser-external-DZv_7F5P.js +1 -0
- package/dist/assets/{worker-DFvnFhLF.js → worker-cHYZNFD4.js} +2 -2
- package/dist/{chat-ui-LeUI9zli.js → chat-ui-Blvl4-Kd.js} +16 -16
- package/dist/{check-CApwK1fD.js → check-BTnCP_6g.js} +1 -1
- package/dist/{chunk-IMKFNOWR-DK_M66Dt.js → chunk-IMKFNOWR-CTe-GyEo.js} +1 -1
- package/dist/{chunk-SHT3W25Y-C7Cg6zGL.js → chunk-SHT3W25Y-mDvz0_Bb.js} +1 -1
- package/dist/{chunk-SVP7TREG-K0lWia53.js → chunk-SVP7TREG-TQe5CTi-.js} +1 -1
- package/dist/{chunk-TICWLB2K-DiKpryGp.js → chunk-TICWLB2K-DueGZcaL.js} +1 -1
- package/dist/{classDiagram-ZZMXUADV-CXX5eaxi.js → classDiagram-ZZMXUADV-C80WtbRl.js} +2 -2
- package/dist/{classDiagram-v2-VYDZK3BY-Bjyy4iKL.js → classDiagram-v2-VYDZK3BY-BGUFGXB1.js} +2 -2
- package/dist/{code-visibility-CWrFAfrs.js → code-visibility-CKSt_AlX.js} +14 -14
- package/dist/{common-DZARFS07.js → common-B0U1M1ok.js} +30 -30
- package/dist/{config-C8TXSDmC.js → config-DbjezUyA.js} +3 -3
- package/dist/{copy-icon-CDvvlY90.js → copy-icon-7bY-OuK1.js} +2 -2
- package/dist/{createReducer-CXqSak4H.js → createReducer-BTiEYD5d.js} +1 -1
- package/dist/{cynefinDiagram-5FMLGOSQ-C-MlCYj4.js → cynefinDiagram-5FMLGOSQ-B1FxtX7q.js} +1 -1
- package/dist/{dagre-GXQ25YYZ-C6e9vEKZ.js → dagre-GXQ25YYZ-DsaxsLKR.js} +1 -1
- package/dist/{data-grid-overlay-editor-C1ZVcFjq.js → data-grid-overlay-editor-B1wgTm3e.js} +1 -1
- package/dist/{diagram-S7CK7UJ4-DgXNq_At.js → diagram-S7CK7UJ4-0_x8Q-Gz.js} +1 -1
- package/dist/{diagram-UQ7AKVKN-BG5NExCt.js → diagram-UQ7AKVKN-nvR7yqd-.js} +1 -1
- package/dist/{diagram-VX7I27RA-Da7VYCfC.js → diagram-VX7I27RA-BnEUU78X.js} +1 -1
- package/dist/{diagram-Z3DM3KII-DHk6GaR5.js → diagram-Z3DM3KII-BHX2x9ql.js} +1 -1
- package/dist/{dialog-rgayPemF.js → dialog-CBKdXrw9.js} +2 -2
- package/dist/{dropdown-menu-B12Nf3Zf.js → dropdown-menu-218IIk7S.js} +5 -5
- package/dist/{ebnfDiagram-PWID7BFC-DdSjinXr.js → ebnfDiagram-PWID7BFC-DYZD7-aw.js} +2 -2
- package/dist/{erDiagram-RLTQ6QDP-BgcwfZct.js → erDiagram-RLTQ6QDP-Bv-0tHzX.js} +1 -1
- package/dist/{error-banner-DXHIN-63.js → error-banner-cub3qDum.js} +1 -1
- package/dist/{error-entries--YT1ZOUW.js → error-entries-MZLN-feW.js} +92 -87
- package/dist/feedback-button-coih3loz.js +370 -0
- package/dist/{flowDiagram-HODETNUW-CVwzkmUF.js → flowDiagram-HODETNUW-BV2Dug--.js} +2 -2
- package/dist/{formats-BWuAsLfw.js → formats-CBWqzCiR.js} +1 -1
- package/dist/{glide-data-editor-BQHo_8OJ.js → glide-data-editor-BGlWbHIN.js} +11 -11
- package/dist/{glide-utils-D1McS0Pn.js → glide-utils-DlglW_uh.js} +2 -2
- package/dist/{globals-DQXC3L6D.js → globals-C08BeEBR.js} +3 -3
- package/dist/{html-to-image-BMt1erSy.js → html-to-image-D6h4lzXj.js} +79 -79
- package/dist/{infoDiagram-27XIBGKW-CHkU2P-8.js → infoDiagram-27XIBGKW-xekhSKlY.js} +1 -1
- package/dist/{ishikawaDiagram-5VMMS53U-B0k5UyY5.js → ishikawaDiagram-5VMMS53U-Coe7mUqv.js} +1 -1
- package/dist/{kanban-definition-UXKFOSKX-DwQvOV0x.js → kanban-definition-UXKFOSKX-Znywqtyi.js} +1 -1
- package/dist/main.js +8725 -8691
- package/dist/{mermaid-Bqy6f_NU.js → mermaid-DRT7MewO.js} +34 -34
- package/dist/{mindmap-definition-YA3MSWOX-CqvvAm8I.js → mindmap-definition-YA3MSWOX-Do_NrRXE.js} +1 -1
- package/dist/{number-overlay-editor-B6VKb3LS.js → number-overlay-editor-J2u2bfxK.js} +1 -1
- package/dist/{pegDiagram-XKGWAZYB-Befnx4Ry.js → pegDiagram-XKGWAZYB-CTuwofVH.js} +2 -2
- package/dist/{pencil-BC7pOv9g.js → pencil-qedVMD6q.js} +1 -1
- package/dist/{pieDiagram-E7YTZNPT-6rYFbF7p.js → pieDiagram-E7YTZNPT-CFHRBvha.js} +1 -1
- package/dist/{process-output-CNBGRz3r.js → process-output-MYh-Vr__.js} +4 -4
- package/dist/{railroadDiagram-O6MQD6OU-SSniwYC8.js → railroadDiagram-O6MQD6OU-BJBqS4A3.js} +2 -2
- package/dist/{requirementDiagram-BXWQKSXE-3L_xNfQr.js → requirementDiagram-BXWQKSXE-CoMoIh3b.js} +1 -1
- package/dist/{reveal-component-BlB1yXJU.js → reveal-component-CZLdWmre.js} +7 -7
- package/dist/{select-PQHWLm64.js → select-BcEi9lad.js} +4 -4
- package/dist/{sequenceDiagram-WJ2MYXX4-DvzIRlWu.js → sequenceDiagram-WJ2MYXX4-Cu7Mpp-z.js} +1 -1
- package/dist/{spec-6shN7lEe.js → spec-AxyC1vc5.js} +4 -4
- package/dist/{stateDiagram-D77RDMKH-VsHup-Ig.js → stateDiagram-D77RDMKH-DX7_Rnib.js} +2 -2
- package/dist/{stateDiagram-v2-MP3YSRHH-BwIIR8nk.js → stateDiagram-v2-MP3YSRHH-oFXVbGoo.js} +2 -2
- package/dist/{static-state-CWXd6dYX.js → static-state-CqzVppxA.js} +1 -1
- package/dist/{swimlanes-42K2YHIH-DhSDCIWI.js → swimlanes-42K2YHIH-CxzCGtVZ.js} +1 -1
- package/dist/{swimlanesDiagram-VR7AAH4N-C2WGVm-W.js → swimlanesDiagram-VR7AAH4N-1a1GRLNf.js} +2 -2
- package/dist/{timeline-definition-24CTP7MA-DhUhNinO.js → timeline-definition-24CTP7MA-Pfn2awsU.js} +1 -1
- package/dist/{toast-BGvv7tKS.js → toast-aYa8V5tR.js} +3 -3
- package/dist/{tooltip-CiJ919pg.js → tooltip-CwQmweEz.js} +1 -1
- package/dist/{use-restore-focus-BLj45Ibw.js → use-restore-focus-DlX1CSiq.js} +6 -1
- package/dist/{useDateFormatter-C659lkax.js → useDateFormatter-BAckjdIS.js} +2 -2
- package/dist/{useDeepCompareMemoize-CDhinwm7.js → useDeepCompareMemoize-C6mte0N8.js} +1 -1
- package/dist/{useLifecycle-mKiMNa4V.js → useLifecycle-XZ5KJAFU.js} +1 -1
- package/dist/{vega-component-CWvQ7wBJ.js → vega-component-_We1FoNw.js} +6 -6
- package/dist/{vennDiagram-4TSXK5OY-exvBF8P5.js → vennDiagram-4TSXK5OY-DrIqDugg.js} +1 -1
- package/dist/{wardleyDiagram-VM6X3IG4-BFhJmnXo.js → wardleyDiagram-VM6X3IG4-DBPVNfc3.js} +1 -1
- package/dist/{xychartDiagram-S5SC5T6Z-D_xAdG6u.js → xychartDiagram-S5SC5T6Z-64Isocef.js} +1 -1
- package/package.json +1 -1
- package/src/__mocks__/executions.ts +2 -0
- package/src/__tests__/CellStatus.test.tsx +3 -3
- package/src/components/dependency-graph/__tests__/elements.test.ts +20 -11
- package/src/components/dependency-graph/dependency-graph-tree.tsx +17 -3
- package/src/components/dependency-graph/elements.ts +12 -25
- package/src/components/editor/cell/CellStatus.tsx +23 -38
- package/src/components/editor/cell/ReusableDefinitionBadge.tsx +62 -0
- package/src/components/editor/notebook-cell.tsx +8 -67
- package/src/components/slides/slide-cell-view.tsx +1 -1
- package/src/core/cells/__tests__/cells.test.ts +0 -3
- package/src/core/cells/actions.ts +0 -1
- package/src/core/cells/cells.ts +0 -12
- package/src/core/cells/execution-console.ts +0 -2
- package/src/core/cells/reusable-definition.ts +25 -0
- package/src/core/cells/types.ts +1 -6
- package/src/core/executions/__tests__/atoms.test.ts +1 -41
- package/src/core/executions/__tests__/output-lifecycle.test.ts +1 -5
- package/src/core/executions/__tests__/select.test.ts +34 -2
- package/src/core/executions/atoms.ts +16 -31
- package/src/core/executions/hooks.ts +2 -3
- package/src/core/executions/index.ts +0 -1
- package/src/core/executions/select.ts +55 -2
- package/src/core/islands/bootstrap.ts +0 -16
- package/src/core/notebook/replica/replica.ts +50 -3
- package/src/core/notebook/replica/resources/analysis.ts +9 -0
- package/src/core/session/__tests__/backend.test.ts +3 -12
- package/src/core/session/__tests__/useNotebookSession.hook.test.tsx +84 -0
- package/src/core/session/active-notebook.ts +6 -0
- package/src/core/session/backend.ts +4 -4
- package/src/core/session/useNotebookSession.tsx +0 -17
- package/src/stories/cell-status.stories.tsx +6 -6
- package/dist/assets/__vite-browser-external-DoIBUY2I.js +0 -1
- package/dist/feedback-button-Cypq285l.js +0 -370
|
@@ -2,26 +2,26 @@ import { a as e, i as t, n, r, t as i } from "./rolldown-runtime-BPCzCO3I.js";
|
|
|
2
2
|
import { g as a, h as o, p as s, r as c, s as l, t as u, u as d } from "./button-qQhINE7z.js";
|
|
3
3
|
import { t as f } from "./react-Bgs_wQh3.js";
|
|
4
4
|
import { t as p } from "./compiler-runtime-C5KHtL5D.js";
|
|
5
|
-
import { i as m, n as h, t as g } from "./copy-icon-
|
|
5
|
+
import { i as m, n as h, t as g } from "./copy-icon-7bY-OuK1.js";
|
|
6
6
|
import { c as _, l as v, o as y, r as b, s as x } from "./chunk-7TTQLYRW-DBSfUUe5.js";
|
|
7
|
-
import { c as S, h as C, i as w, l as T, s as ee, t as te, u as E } from "./tooltip-
|
|
8
|
-
import { a as D, i as ne, o as re, r as O, s as k, t as ie } from "./useLifecycle-
|
|
9
|
-
import { a as ae, c as oe, i as se, n as ce, o as le, r as ue, s as de, t as fe } from "./select-
|
|
10
|
-
import { J as pe, X as me, ht as he } from "./dropdown-menu-
|
|
11
|
-
import { c as ge, l as _e, n as ve } from "./config-
|
|
12
|
-
import { $ as A, A as j, At as ye, Bt as be, C as xe, D as Se, E as Ce, F as we, G as Te, Gt as Ee, I as De, Jt as Oe, L as ke, Lt as Ae, Mt as je, N as Me, Ot as Ne, Rt as Pe, S as Fe, St as Ie, Ut as Le, Vt as Re, W as ze, Wt as Be,
|
|
13
|
-
import { n as gt } from "./assertNever-
|
|
7
|
+
import { c as S, h as C, i as w, l as T, s as ee, t as te, u as E } from "./tooltip-CwQmweEz.js";
|
|
8
|
+
import { a as D, i as ne, o as re, r as O, s as k, t as ie } from "./useLifecycle-XZ5KJAFU.js";
|
|
9
|
+
import { a as ae, c as oe, i as se, n as ce, o as le, r as ue, s as de, t as fe } from "./select-BcEi9lad.js";
|
|
10
|
+
import { J as pe, X as me, ht as he } from "./dropdown-menu-218IIk7S.js";
|
|
11
|
+
import { c as ge, l as _e, n as ve } from "./config-DbjezUyA.js";
|
|
12
|
+
import { $ as A, A as j, At as ye, Bt as be, C as xe, D as Se, E as Ce, F as we, G as Te, Gt as Ee, I as De, Jt as Oe, L as ke, Lt as Ae, Mt as je, N as Me, Ot as Ne, Rt as Pe, S as Fe, St as Ie, Ut as Le, Vt as Re, W as ze, Wt as Be, Yt as Ve, _t as He, a as Ue, at as We, c as Ge, ct as Ke, dt as qe, en as Je, et as Ye, ft as Xe, g as Ze, gt as Qe, it as $e, k as et, lt as tt, m as nt, nn as rt, o as it, ot as at, p as ot, pt as st, qt as ct, s as lt, st as ut, tt as dt, ut as ft, v as pt, w as mt, y as ht } from "./error-entries-MZLN-feW.js";
|
|
13
|
+
import { n as gt } from "./assertNever-BQEDS5Ew.js";
|
|
14
14
|
import { t as _t } from "./react-dom-DdqGVp5N.js";
|
|
15
15
|
import { t as vt } from "./jsx-runtime-D8btoEHk.js";
|
|
16
|
-
import { $t as yt, Ft as bt, It as xt, J as St, Lt as Ct, Mt as wt, Nt as Tt, Rt as Et, St as M, Tt as Dt, Vt as N, Y as Ot, _n as kt, an as At, at as jt, cn as Mt, d as Nt, dn as Pt, dt as Ft, en as It, et as Lt, fn as Rt, gn as zt, in as Bt, it as Vt, jt as Ht, l as Ut, lt as Wt, mn as Gt, n as Kt, nn as qt, o as Jt, on as Yt, pn as P, rn as Xt, s as Zt, sn as Qt, u as $t, x as en, y as tn, zt as F } from "./use-restore-focus-
|
|
17
|
-
import { h as nn } from "./error-banner-
|
|
16
|
+
import { $t as yt, Ft as bt, It as xt, J as St, Lt as Ct, Mt as wt, Nt as Tt, Rt as Et, St as M, Tt as Dt, Vt as N, Y as Ot, _n as kt, an as At, at as jt, cn as Mt, d as Nt, dn as Pt, dt as Ft, en as It, et as Lt, fn as Rt, gn as zt, in as Bt, it as Vt, jt as Ht, l as Ut, lt as Wt, mn as Gt, n as Kt, nn as qt, o as Jt, on as Yt, pn as P, rn as Xt, s as Zt, sn as Qt, u as $t, x as en, y as tn, zt as F } from "./use-restore-focus-DlX1CSiq.js";
|
|
17
|
+
import { h as nn } from "./error-banner-cub3qDum.js";
|
|
18
18
|
import { t as rn } from "./debounce-DrhhziJv.js";
|
|
19
19
|
import { t as an } from "./objects-DCmMvZtn.js";
|
|
20
20
|
import { t as on } from "./invariant-DLmrl-hA.js";
|
|
21
21
|
import { t as sn } from "./useEvent-BoN7U38T.js";
|
|
22
|
-
import { t as cn } from "./createReducer-
|
|
22
|
+
import { t as cn } from "./createReducer-BTiEYD5d.js";
|
|
23
23
|
import { $ as ln, At as un, B as dn, C as fn, Ct as pn, Dt as mn, G as hn, Gt as gn, H as _n, I as vn, L as yn, N as bn, Ot as xn, Rt as Sn, U as Cn, W as wn, a as I, bt as Tn, c as En, dt as Dn, ft as On, h as kn, it as An, kt as jn, mt as Mn, o as Nn, rt as Pn, st as Fn, vt as In, wt as Ln, x as Rn, xt as zn, y as Bn, yt as Vn, z as Hn } from "./dist-D92tYjLc.js";
|
|
24
|
-
import { c as Un, m as Wn, r as Gn } from "./static-state-
|
|
24
|
+
import { c as Un, m as Wn, r as Gn } from "./static-state-CqzVppxA.js";
|
|
25
25
|
import { i as Kn, o as qn, r as Jn, s as Yn, t as Xn, u as Zn } from "./dist-BsE4gQHj.js";
|
|
26
26
|
import { i as Qn, n as $n } from "./arrays-DoQ-AILx.js";
|
|
27
27
|
import { n as er } from "./once-NnpX_HnX.js";
|
|
@@ -2117,10 +2117,10 @@ async function $i(e, t) {
|
|
|
2117
2117
|
}
|
|
2118
2118
|
let r = Ee(e, t);
|
|
2119
2119
|
try {
|
|
2120
|
-
if (await
|
|
2120
|
+
if (await ct(e), r ??= Ee(e, t), r === null) throw Error("No notebook is shown");
|
|
2121
2121
|
let { notebook_id: i } = await Qi(n);
|
|
2122
2122
|
if (e.get(Dt) !== n || !Be(e, r) || i !== r.notebook.id) {
|
|
2123
|
-
|
|
2123
|
+
Oe(e, r);
|
|
2124
2124
|
return;
|
|
2125
2125
|
}
|
|
2126
2126
|
let o = e.get(r.notebook.replica.backendAtom);
|
|
@@ -2130,7 +2130,7 @@ async function $i(e, t) {
|
|
|
2130
2130
|
Ae(e, r, s.data);
|
|
2131
2131
|
return;
|
|
2132
2132
|
}
|
|
2133
|
-
if (
|
|
2133
|
+
if (Oe(e, r), s.status === 403) {
|
|
2134
2134
|
a.warn("Run refused, connection is read-only", s.problem);
|
|
2135
2135
|
return;
|
|
2136
2136
|
}
|
|
@@ -2140,7 +2140,7 @@ async function $i(e, t) {
|
|
|
2140
2140
|
variant: "danger"
|
|
2141
2141
|
});
|
|
2142
2142
|
} catch (t) {
|
|
2143
|
-
r !== null &&
|
|
2143
|
+
r !== null && Oe(e, r), a.error("Failed to run cells", t), m({
|
|
2144
2144
|
title: "Failed to run",
|
|
2145
2145
|
description: nn(t),
|
|
2146
2146
|
variant: "danger"
|
|
@@ -20812,7 +20812,7 @@ function rf(e) {
|
|
|
20812
20812
|
//#endregion
|
|
20813
20813
|
//#region src/core/codemirror/lsp/utils.ts
|
|
20814
20814
|
function af(e) {
|
|
20815
|
-
return tf.is(e) ? M.get(
|
|
20815
|
+
return tf.is(e) ? M.get(lt).includes(tf.parse(e)) : !1;
|
|
20816
20816
|
}
|
|
20817
20817
|
function of() {
|
|
20818
20818
|
return M.get(ke)?.rootUri ?? "file:///";
|
|
@@ -25679,7 +25679,7 @@ var fv = class {
|
|
|
25679
25679
|
function vv(e, t) {
|
|
25680
25680
|
if (!("method" in t) || t.method !== "window/logMessage") return;
|
|
25681
25681
|
let n = t.params;
|
|
25682
|
-
hf(n) && typeof n.message == "string" &&
|
|
25682
|
+
hf(n) && typeof n.message == "string" && Ue({ logs: [{
|
|
25683
25683
|
timestamp: Date.now() / 1e3,
|
|
25684
25684
|
level: _v.has(n.type) ? "stderr" : "stdout",
|
|
25685
25685
|
message: n.message,
|
|
@@ -26263,7 +26263,7 @@ function Cy(e) {
|
|
|
26263
26263
|
}
|
|
26264
26264
|
function wy(e, t, n) {
|
|
26265
26265
|
let r = t.map((e) => e.id);
|
|
26266
|
-
e(
|
|
26266
|
+
e(We, r.slice(0, n)), e(ut, r.slice(n));
|
|
26267
26267
|
}
|
|
26268
26268
|
function Ty(e, t, n) {
|
|
26269
26269
|
let r = Cy(n);
|
|
@@ -26272,7 +26272,7 @@ function Ty(e, t, n) {
|
|
|
26272
26272
|
i !== null && t(my(e).editAtom, i);
|
|
26273
26273
|
}
|
|
26274
26274
|
function Ey(e, t, n, r) {
|
|
26275
|
-
let i = e(Xe), a =
|
|
26275
|
+
let i = e(Xe), a = at(i, n), o = a.visible.indexOf(n);
|
|
26276
26276
|
if (o === -1) return !1;
|
|
26277
26277
|
let s = r(o, a.visible);
|
|
26278
26278
|
if (s < 0 || s >= a.visible.length || s === o) return !1;
|
|
@@ -26281,7 +26281,7 @@ function Ey(e, t, n, r) {
|
|
|
26281
26281
|
}
|
|
26282
26282
|
var Dy = N(null, (e, t, { cellId: n, before: r, direction: i }) => {
|
|
26283
26283
|
if (i) {
|
|
26284
|
-
let r = e(Xe), a =
|
|
26284
|
+
let r = e(Xe), a = at(r, n), o = r.columns.indexOf(a), s = yy(r), c = i === "left" ? o - 1 : o + 1;
|
|
26285
26285
|
if (c < 0 || c >= s.length) return;
|
|
26286
26286
|
let l = _y(a, n), u = by(s, new Set(l));
|
|
26287
26287
|
u[c].ids.unshift(...l), Ty(e, t, u), gy(t, n);
|
|
@@ -26291,7 +26291,7 @@ function Oy(e, t, { cellId: n, scroll: r = !0 }, i) {
|
|
|
26291
26291
|
Ey(e, t, n, (e, t) => i === "top" ? 0 : t.length - 1) && r && gy(t, n);
|
|
26292
26292
|
}
|
|
26293
26293
|
var ky = N(null, (e, t, n) => Oy(e, t, n, "top")), Ay = N(null, (e, t, n) => Oy(e, t, n, "bottom")), jy = N(null, (e, t, { cellId: n, overCellId: r }) => {
|
|
26294
|
-
let i = e(Xe), a =
|
|
26294
|
+
let i = e(Xe), a = at(i, n), o = at(i, r);
|
|
26295
26295
|
if (a === o) {
|
|
26296
26296
|
Ey(e, t, n, (e, t) => t.indexOf(r));
|
|
26297
26297
|
return;
|
|
@@ -26299,18 +26299,18 @@ var ky = N(null, (e, t, n) => Oy(e, t, n, "top")), Ay = N(null, (e, t, n) => Oy(
|
|
|
26299
26299
|
let s = _y(a, n), c = by(yy(i), new Set(s)), l = c[i.columns.indexOf(o)].ids, u = l.indexOf(r);
|
|
26300
26300
|
l.splice(u, 0, ...s), Ty(e, t, c);
|
|
26301
26301
|
}), My = N(null, (e, t, { cellId: n, columnId: r }) => {
|
|
26302
|
-
let i = e(Xe), a =
|
|
26302
|
+
let i = e(Xe), a = Ke(i, r);
|
|
26303
26303
|
if (a === void 0) return;
|
|
26304
|
-
let o = _y(
|
|
26304
|
+
let o = _y(at(i, n), n), s = by(yy(i), new Set(o));
|
|
26305
26305
|
s[i.columns.indexOf(a)].ids.unshift(...o), Ty(e, t, s);
|
|
26306
26306
|
}), Ny = N(null, (e, t, { cellId: n, columnId: r, index: i }) => {
|
|
26307
|
-
let a = e(Xe), o =
|
|
26307
|
+
let a = e(Xe), o = Ke(a, r);
|
|
26308
26308
|
if (o === void 0) return;
|
|
26309
|
-
let s =
|
|
26309
|
+
let s = at(a, n), c = _y(s, n), l = yy(a), u = s.ids.indexOf(n), d = by(l, new Set(c)), f = d[a.columns.indexOf(o)].ids, p = Math.max(0, Math.min(i, o.ids.length));
|
|
26310
26310
|
s === o && u < p && (p -= c.length), f.splice(Math.max(0, Math.min(p, f.length)), 0, ...c), Ty(e, t, d);
|
|
26311
26311
|
}), Py = N(null, (e, t, { cellIds: n, targetCellId: r, position: i, previousPlacements: a }) => {
|
|
26312
26312
|
if (n.length === 0) return;
|
|
26313
|
-
let o = e(Xe), s = new Set(n), c = by(yy(o), s), l = c[o.columns.indexOf(
|
|
26313
|
+
let o = e(Xe), s = new Set(n), c = by(yy(o), s), l = c[o.columns.indexOf(at(o, r))].ids, u = l.indexOf(r);
|
|
26314
26314
|
if (u === -1 ? u = l.length : i === "after" && (u += 1), l.splice(u, 0, ...n), Ty(e, t, c), a && a.length === n.length) {
|
|
26315
26315
|
let e = {
|
|
26316
26316
|
type: "move",
|
|
@@ -26343,7 +26343,7 @@ var Iy = N(null, (e, t, { columnId: n }) => {
|
|
|
26343
26343
|
if (i === -1) return;
|
|
26344
26344
|
let a = Ne.create(), o = yy(r);
|
|
26345
26345
|
o.splice(i + 1, 0, {
|
|
26346
|
-
id:
|
|
26346
|
+
id: st(),
|
|
26347
26347
|
ids: [a]
|
|
26348
26348
|
});
|
|
26349
26349
|
let s = hy(e), c = r.columns[i].ids.at(-1), l = Cy(o);
|
|
@@ -26355,9 +26355,9 @@ var Iy = N(null, (e, t, { columnId: n }) => {
|
|
|
26355
26355
|
}, c === void 0 ? {} : { after: c }), Sy(s, o.slice(0, l))?.(e);
|
|
26356
26356
|
}), gy(t, a);
|
|
26357
26357
|
}), Ly = N(null, (e, t, { cellId: n }) => {
|
|
26358
|
-
let r = e(Xe), i =
|
|
26358
|
+
let r = e(Xe), i = at(r, n), a = r.columns.indexOf(i), o = i.ids.indexOf(n);
|
|
26359
26359
|
if (a === 0 && o === 0) return;
|
|
26360
|
-
let s = yy(r), c =
|
|
26360
|
+
let s = yy(r), c = st();
|
|
26361
26361
|
s.splice(a, 1, {
|
|
26362
26362
|
id: o === 0 ? c : i.id,
|
|
26363
26363
|
ids: i.ids.slice(0, o)
|
|
@@ -26396,10 +26396,10 @@ var Uy = N(null, (e, t, n = {}) => {
|
|
|
26396
26396
|
let o = e(Xe), s = {}, c = null, l;
|
|
26397
26397
|
if (n.after) l = tt(o, n.after)?.at(-1) ?? n.after, s = { after: l };
|
|
26398
26398
|
else if (n.before) {
|
|
26399
|
-
let e =
|
|
26399
|
+
let e = at(o, n.before), t = o.columns.indexOf(e);
|
|
26400
26400
|
s = { before: n.before }, l = e.ids[e.ids.indexOf(n.before) - 1], t > 0 && e.ids[0] === n.before && (c = t);
|
|
26401
26401
|
} else {
|
|
26402
|
-
let e = (n.endOf &&
|
|
26402
|
+
let e = (n.endOf && Ke(o, n.endOf)) ?? o.columns[0], t = e.ids.at(-1);
|
|
26403
26403
|
t === void 0 ? o.columns.length > 1 && (c = o.columns.indexOf(e)) : (l = t, s = { after: t });
|
|
26404
26404
|
}
|
|
26405
26405
|
let u = n.id ?? Ne.create(), d = {
|
|
@@ -26447,7 +26447,7 @@ function Jy(e, t) {
|
|
|
26447
26447
|
for (let n of t) e.set(Yy, { cellId: n });
|
|
26448
26448
|
}
|
|
26449
26449
|
var Yy = N(null, (e, t, { cellId: n }) => {
|
|
26450
|
-
let r =
|
|
26450
|
+
let r = He(e, n), i = r && {
|
|
26451
26451
|
executionId: r.record.id,
|
|
26452
26452
|
seq: r.lastSeq ?? -1,
|
|
26453
26453
|
prompts: new Set([...r.items.values()].filter((e) => e.kind === "input" && e.status === "pending").map((e) => e.id))
|
|
@@ -26471,7 +26471,7 @@ var Yy = N(null, (e, t, { cellId: n }) => {
|
|
|
26471
26471
|
}, e(Ze).cellIds);
|
|
26472
26472
|
}), Qy = N(null, (e, t, { cellId: n, before: r, create: i = !0 }) => {
|
|
26473
26473
|
if (n === "__scratch__") return;
|
|
26474
|
-
let { visible: a } =
|
|
26474
|
+
let { visible: a } = at(e(Xe), n), o = a.indexOf(n), s = r ? o - 1 : o + 1;
|
|
26475
26475
|
o === -1 || s < 0 || s >= a.length ? i && t(Uy, r ? { before: n } : { after: n }) : $y(e, a[s], r ? "bottom" : "top");
|
|
26476
26476
|
});
|
|
26477
26477
|
function $y(e, t, n) {
|
|
@@ -26485,7 +26485,7 @@ function $y(e, t, n) {
|
|
|
26485
26485
|
});
|
|
26486
26486
|
}
|
|
26487
26487
|
var eb = N(null, (e, t, { cellId: n, where: r }) => {
|
|
26488
|
-
let { visible: i } =
|
|
26488
|
+
let { visible: i } = at(e(Xe), n), a = i.indexOf(n);
|
|
26489
26489
|
a !== -1 && $y(e, i[na(a + (r === "before" ? -1 : +(r === "after")), 0, i.length - 1)], r === "after" ? "top" : "bottom");
|
|
26490
26490
|
}), tb = N(null, (e) => {
|
|
26491
26491
|
let t = e(Xe).columns[0]?.visible[0];
|
|
@@ -26502,15 +26502,15 @@ function rb(e, t) {
|
|
|
26502
26502
|
});
|
|
26503
26503
|
}
|
|
26504
26504
|
var ib = N(null, (e, t, { cellId: n }) => {
|
|
26505
|
-
|
|
26505
|
+
Je(e(be(n))) && (t($e, (e) => /* @__PURE__ */ new Set([...e, n])), gy(t, n));
|
|
26506
26506
|
}), ab = N(null, (e, t, { cellId: n }) => {
|
|
26507
26507
|
rb(t, [n]), gy(t, n);
|
|
26508
26508
|
}), ob = N(null, (e, t) => {
|
|
26509
|
-
t($e, new Set(e(Ze).cellIds.filter((t) =>
|
|
26509
|
+
t($e, new Set(e(Ze).cellIds.filter((t) => Je(e(be(t))))));
|
|
26510
26510
|
}), sb = N(null, (e, t) => {
|
|
26511
26511
|
t($e, /* @__PURE__ */ new Set());
|
|
26512
26512
|
}), cb = N(null, (e, t, { cellId: n }) => {
|
|
26513
|
-
rb(t,
|
|
26513
|
+
rb(t, qe(e(Xe), n));
|
|
26514
26514
|
}), lb = N(null, (e, t, { code: n } = {}) => {
|
|
26515
26515
|
let { cellIds: r } = e(Ze);
|
|
26516
26516
|
if (r.includes("setup")) {
|
|
@@ -26555,7 +26555,7 @@ var ib = N(null, (e, t, { cellId: n }) => {
|
|
|
26555
26555
|
placement: n > 0 ? { after: s[n - 1] } : { before: u },
|
|
26556
26556
|
serializedEditorState: a
|
|
26557
26557
|
};
|
|
26558
|
-
}), f = c[0].id, p =
|
|
26558
|
+
}), f = c[0].id, p = at(e(Xe), f), m = p.visible.includes(f) ? p.visible : p.ids, h = m.indexOf(f), g = m.slice(0, h).findLast((e) => !l.has(e)) ?? m.slice(h + 1).find((e) => !l.has(e)) ?? null, _ = Qe(r);
|
|
26559
26559
|
t(my(e).editAtom, (e) => {
|
|
26560
26560
|
let t = null, n = !1;
|
|
26561
26561
|
for (let i of s) {
|
|
@@ -26605,42 +26605,42 @@ var ib = N(null, (e, t, { cellId: n }) => {
|
|
|
26605
26605
|
}));
|
|
26606
26606
|
});
|
|
26607
26607
|
function pb() {
|
|
26608
|
-
let {
|
|
26608
|
+
let { addLogs: e, reconcileDocument: t, resetCellRuntimes: n, ...r } = Fe(), i = F(Uy), a = F(Qy), o = F(lb), s = F(ub), c = F(db), l = F(fb), u = F(eb), d = F(tb), f = F(nb), p = F(ib), m = F(ab), h = F(ob), g = F(sb), _ = F(Xy), v = F(Yy), y = F(Zy), b = F(cb), x = F(Dy), S = F(Ny), C = F(Py), w = F(jy), T = F(My), ee = F(ky), te = F(Ay), E = F(Iy), D = F(Ly), ne = F(Ry), re = F(zy), O = F(By), k = F(Vy), ie = F(Wy), ae = F(Gy), oe = F(Ky);
|
|
26609
26609
|
return (0, L.useMemo)(() => ({
|
|
26610
|
-
...
|
|
26611
|
-
setCellCode:
|
|
26612
|
-
splitCell:
|
|
26613
|
-
undoSplitCell:
|
|
26614
|
-
addColumn:
|
|
26615
|
-
addColumnBreakpoint:
|
|
26616
|
-
deleteColumn:
|
|
26617
|
-
mergeAllColumns:
|
|
26618
|
-
compactColumns:
|
|
26619
|
-
moveColumn:
|
|
26620
|
-
moveCell:
|
|
26621
|
-
moveCellToIndex:
|
|
26622
|
-
moveCellsRelativeTo:
|
|
26623
|
-
dropCellOverCell:
|
|
26624
|
-
dropCellOverColumn:
|
|
26625
|
-
sendToTop:
|
|
26626
|
-
sendToBottom:
|
|
26627
|
-
createCell:
|
|
26628
|
-
moveToNextCell:
|
|
26629
|
-
addSetupCell:
|
|
26630
|
-
addOrAppendSetupCell:
|
|
26631
|
-
deleteCells:
|
|
26632
|
-
undoDeleteCell:
|
|
26633
|
-
focusCell:
|
|
26634
|
-
focusTopCell:
|
|
26635
|
-
focusBottomCell:
|
|
26636
|
-
collapseCell:
|
|
26637
|
-
expandCell:
|
|
26638
|
-
collapseAllCells:
|
|
26639
|
-
expandAllCells:
|
|
26640
|
-
clearCellOutput:
|
|
26641
|
-
clearCellConsoleOutput:
|
|
26642
|
-
clearAllCellOutputs:
|
|
26643
|
-
showCellIfHidden:
|
|
26610
|
+
...r,
|
|
26611
|
+
setCellCode: ie,
|
|
26612
|
+
splitCell: ae,
|
|
26613
|
+
undoSplitCell: oe,
|
|
26614
|
+
addColumn: E,
|
|
26615
|
+
addColumnBreakpoint: D,
|
|
26616
|
+
deleteColumn: ne,
|
|
26617
|
+
mergeAllColumns: re,
|
|
26618
|
+
compactColumns: O,
|
|
26619
|
+
moveColumn: k,
|
|
26620
|
+
moveCell: x,
|
|
26621
|
+
moveCellToIndex: S,
|
|
26622
|
+
moveCellsRelativeTo: C,
|
|
26623
|
+
dropCellOverCell: w,
|
|
26624
|
+
dropCellOverColumn: T,
|
|
26625
|
+
sendToTop: ee,
|
|
26626
|
+
sendToBottom: te,
|
|
26627
|
+
createCell: i,
|
|
26628
|
+
moveToNextCell: a,
|
|
26629
|
+
addSetupCell: o,
|
|
26630
|
+
addOrAppendSetupCell: s,
|
|
26631
|
+
deleteCells: c,
|
|
26632
|
+
undoDeleteCell: l,
|
|
26633
|
+
focusCell: u,
|
|
26634
|
+
focusTopCell: d,
|
|
26635
|
+
focusBottomCell: f,
|
|
26636
|
+
collapseCell: p,
|
|
26637
|
+
expandCell: m,
|
|
26638
|
+
collapseAllCells: h,
|
|
26639
|
+
expandAllCells: g,
|
|
26640
|
+
clearCellOutput: _,
|
|
26641
|
+
clearCellConsoleOutput: v,
|
|
26642
|
+
clearAllCellOutputs: y,
|
|
26643
|
+
showCellIfHidden: b
|
|
26644
26644
|
}), []);
|
|
26645
26645
|
}
|
|
26646
26646
|
//#endregion
|
|
@@ -26689,7 +26689,7 @@ function xb(e, t) {
|
|
|
26689
26689
|
blocked: s.blocked,
|
|
26690
26690
|
getEditorView: o,
|
|
26691
26691
|
hasOutput: e(Re(t)) !== null,
|
|
26692
|
-
hasConsoleOutput: e(
|
|
26692
|
+
hasConsoleOutput: e(Ge(t)).consoleOutputs.length > 0
|
|
26693
26693
|
};
|
|
26694
26694
|
}
|
|
26695
26695
|
//#endregion
|
|
@@ -27377,7 +27377,7 @@ async function hx(e) {
|
|
|
27377
27377
|
//#endregion
|
|
27378
27378
|
//#region src/core/documentation/doc-lookup.ts
|
|
27379
27379
|
async function gx(e) {
|
|
27380
|
-
let t =
|
|
27380
|
+
let t = ot().at(0);
|
|
27381
27381
|
if (t) try {
|
|
27382
27382
|
let n = await Ko.request({
|
|
27383
27383
|
document: e,
|
|
@@ -27542,7 +27542,7 @@ var Tx = [], Ex = (e) => {
|
|
|
27542
27542
|
bb0: {
|
|
27543
27543
|
if (i || o) {
|
|
27544
27544
|
let e;
|
|
27545
|
-
t[0] === n ? e = t[1] : (e =
|
|
27545
|
+
t[0] === n ? e = t[1] : (e = rt(n), t[0] = n, t[1] = e), s = e;
|
|
27546
27546
|
break bb0;
|
|
27547
27547
|
}
|
|
27548
27548
|
s = n;
|
|
@@ -28097,7 +28097,7 @@ var wS = {
|
|
|
28097
28097
|
}
|
|
28098
28098
|
};
|
|
28099
28099
|
function OS(e, t) {
|
|
28100
|
-
let n = t.get(
|
|
28100
|
+
let n = t.get(it(e))?.code;
|
|
28101
28101
|
if (!n || n.trim() === "") return null;
|
|
28102
28102
|
let [r, i, a] = Fv.sql.transformIn(n), o = t.get(Hh).connectionsMap.get(a.engine);
|
|
28103
28103
|
return o ? `@${ES}://${o.name}` : null;
|
|
@@ -28161,7 +28161,7 @@ function BS(e) {
|
|
|
28161
28161
|
}
|
|
28162
28162
|
//#endregion
|
|
28163
28163
|
//#region src/plugins/impl/code/LazyAnyLanguageCodeMirror.tsx
|
|
28164
|
-
var VS = (0, L.lazy)(() => import("./any-language-editor-
|
|
28164
|
+
var VS = (0, L.lazy)(() => import("./any-language-editor-Dqpg95i0.js")), HS = [_n.lineWrapping], US = (0, L.createContext)(!0);
|
|
28165
28165
|
function WS(e, t) {
|
|
28166
28166
|
return e ? e === "python" ? {
|
|
28167
28167
|
language: e,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as e } from "./src-D5uZaZib.js";
|
|
2
2
|
import { n as t } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
3
3
|
import { c as n } from "./chunk-DU6HZSFF-4SDIhUTY.js";
|
|
4
|
-
import { p as r } from "./mermaid-
|
|
4
|
+
import { p as r } from "./mermaid-DRT7MewO.js";
|
|
5
5
|
import { n as i } from "./mermaid-parser.core-DtOnl7m4.js";
|
|
6
6
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-27XIBGKW.mjs
|
|
7
7
|
var a = { parse: /* @__PURE__ */ t(async (t) => {
|
|
@@ -3,7 +3,7 @@ import "./src-D5uZaZib.js";
|
|
|
3
3
|
import { n as t } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
4
4
|
import { H as n, K as r, U as i, a, c as o, s, v as c, w as l, x as u, y as d } from "./chunk-DU6HZSFF-4SDIhUTY.js";
|
|
5
5
|
import { t as f } from "./rough.esm-CtV9AnV1.js";
|
|
6
|
-
import { p } from "./mermaid-
|
|
6
|
+
import { p } from "./mermaid-DRT7MewO.js";
|
|
7
7
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/ishikawaDiagram-5VMMS53U.mjs
|
|
8
8
|
var m = (function() {
|
|
9
9
|
var e = /* @__PURE__ */ t(function(e, t, n, r) {
|
package/dist/{kanban-definition-UXKFOSKX-DwQvOV0x.js → kanban-definition-UXKFOSKX-Znywqtyi.js}
RENAMED
|
@@ -8,7 +8,7 @@ import "./chunk-GMAD6QVW-BJGF8QZL.js";
|
|
|
8
8
|
import "./chunk-4HAMMTFA-qKgadZwy.js";
|
|
9
9
|
import { i as l, r as u } from "./chunk-GVQU2GXP-BkolpSXU.js";
|
|
10
10
|
import { n as d } from "./chunk-L3NEJ4N5-B-BFQp9t.js";
|
|
11
|
-
import { a as f, i as p, p as m } from "./mermaid-
|
|
11
|
+
import { a as f, i as p, p as m } from "./mermaid-DRT7MewO.js";
|
|
12
12
|
import { t as h } from "./chunk-5VM5RSS4-DKsmPCL6.js";
|
|
13
13
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-UXKFOSKX.mjs
|
|
14
14
|
var g = (function() {
|