@marimo-team/islands 0.25.3-dev281 → 0.25.3-dev285
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/{ErrorBoundary-fSq1YI-S.js → ErrorBoundary-CvsUYBZT.js} +1 -1
- package/dist/{code-visibility-BhtW7mrV.js → code-visibility-CH6RU9L1.js} +1 -1
- package/dist/{common-BIZJLLSc.js → common-Bcfq2uis.js} +1 -1
- package/dist/{data-grid-overlay-editor-B8b_mHmv.js → data-grid-overlay-editor-qhJugh0U.js} +1 -1
- package/dist/{feedback-button-CY92zeC6.js → feedback-button-BoEj8yHP.js} +2 -2
- package/dist/{glide-data-editor-BdgfR8uu.js → glide-data-editor-Cb_-eFgY.js} +3 -3
- package/dist/{globals-CjnqsurJ.js → globals-DBMjMtkg.js} +1 -1
- package/dist/main.js +6 -6
- package/dist/{number-overlay-editor-BQBhWG2O.js → number-overlay-editor-BCqHeY6e.js} +1 -1
- package/dist/{reveal-component-BqyL-_xE.js → reveal-component-BIF-mcQE.js} +2 -2
- package/package.json +1 -1
- package/src/core/cells/__tests__/cells.test.ts +0 -37
- package/src/core/cells/__tests__/layout.test.ts +0 -1
- package/src/core/cells/__tests__/logs.test.ts +0 -13
- package/src/core/executions/__tests__/atoms.test.ts +0 -1
- package/src/core/kernel/__tests__/handlers.test.ts +0 -4
- package/src/core/session/__tests__/useNotebookSession.hook.test.tsx +0 -2
|
@@ -129,7 +129,7 @@ function N(e) {
|
|
|
129
129
|
}
|
|
130
130
|
//#endregion
|
|
131
131
|
//#region src/components/editor/boundary/ErrorBoundary.tsx
|
|
132
|
-
var P = (0, C.lazy)(() => import("./feedback-button-
|
|
132
|
+
var P = (0, C.lazy)(() => import("./feedback-button-BoEj8yHP.js").then((e) => ({ default: e.FeedbackModal }))), F = (e) => {
|
|
133
133
|
let t = (0, S.c)(2), n;
|
|
134
134
|
return t[0] === e.children ? n = t[1] : (n = /* @__PURE__ */ (0, k.jsx)(E, {
|
|
135
135
|
FallbackComponent: I,
|
|
@@ -14,7 +14,7 @@ function y() {
|
|
|
14
14
|
return e.warn("Failed to get version from mount config"), null;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
var b = y() || "0.25.3-
|
|
17
|
+
var b = y() || "0.25.3-dev285", x = o(b), S = o(!0);
|
|
18
18
|
o(null);
|
|
19
19
|
//#endregion
|
|
20
20
|
//#region src/core/wasm/state.ts
|
|
@@ -33,7 +33,7 @@ import { o as ba } from "./dist-DU9ICsWZ.js";
|
|
|
33
33
|
import { a as xa, i as Sa, n as Ca, o as wa, r as Ta, t as Ea } from "./dialog-CaYm5imE.js";
|
|
34
34
|
import { t as Da } from "./useAsyncData-Ci4AvJff.js";
|
|
35
35
|
import { n as W, t as G } from "./objectWithoutPropertiesLoose-BRDcTsfB.js";
|
|
36
|
-
import { t as Oa } from "./ErrorBoundary-
|
|
36
|
+
import { t as Oa } from "./ErrorBoundary-CvsUYBZT.js";
|
|
37
37
|
import { D as ka, n as Aa } from "./vega-loader.browser-B9Pz0EGP.js";
|
|
38
38
|
import { a as ja, n as Ma, r as Na, t as Pa } from "./loader-DZvtzQoD.js";
|
|
39
39
|
import { t as Fa } from "./useIframeCapabilities-BXhDDoCG.js";
|
|
@@ -2,7 +2,7 @@ import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
|
2
2
|
import { t } from "./react-sHtZdjeP.js";
|
|
3
3
|
import { t as n } from "./react-dom-DUmH0GXv.js";
|
|
4
4
|
import { c as r, l as i, u as a } from "./data-grid-types-0PJ-9N5n.js";
|
|
5
|
-
import { a as o, i as s, n as c, r as l } from "./glide-data-editor-
|
|
5
|
+
import { a as o, i as s, n as c, r as l } from "./glide-data-editor-Cb_-eFgY.js";
|
|
6
6
|
//#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/internal/data-grid-overlay-editor/data-grid-overlay-editor-style.js
|
|
7
7
|
var u = /* @__PURE__ */ e(t(), 1), d = /* @__PURE__ */ e(n(), 1), f = /*#__PURE__*/ o("div")({
|
|
8
8
|
name: "DataGridOverlayEditorStyle",
|
|
@@ -4,13 +4,13 @@ import { t as r } from "./react-sHtZdjeP.js";
|
|
|
4
4
|
import { t as i } from "./compiler-runtime-CldRdSsv.js";
|
|
5
5
|
import { t as a } from "./copy-icon-CtllOdmg.js";
|
|
6
6
|
import { D as o, E as s, F as c, Gt as l, L as u, i as d, j as f, n as p, q as m } from "./error-entries-9U4BFHjf.js";
|
|
7
|
-
import { n as h, t as ee } from "./globals-
|
|
7
|
+
import { n as h, t as ee } from "./globals-DBMjMtkg.js";
|
|
8
8
|
import { r as g } from "./assertNever-B-YzWzbL.js";
|
|
9
9
|
import { t as _ } from "./jsx-runtime-3BD1kT0s.js";
|
|
10
10
|
import { Ft as te, p as v, yt as ne } from "./use-restore-focus-CosX7-gx.js";
|
|
11
11
|
import { a as re, i as ie, n as ae, r as oe } from "./dialog-CaYm5imE.js";
|
|
12
12
|
import { t as se } from "./useAsyncData-Ci4AvJff.js";
|
|
13
|
-
import { t as ce } from "./code-visibility-
|
|
13
|
+
import { t as ce } from "./code-visibility-CH6RU9L1.js";
|
|
14
14
|
//#region src/components/ui/skeleton.tsx
|
|
15
15
|
var y = /* @__PURE__ */ e(r(), 1), b = i(), x = _(), S = (e) => {
|
|
16
16
|
let n = (0, b.c)(8), r, i;
|
|
@@ -14,7 +14,7 @@ import { t as P } from "./jsx-runtime-3BD1kT0s.js";
|
|
|
14
14
|
import { u as oe } from "./use-restore-focus-CosX7-gx.js";
|
|
15
15
|
import { t as F } from "./useEvent-BRH-aCqi.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-CvsUYBZT.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-0PJ-9N5n.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) {
|
|
@@ -7068,7 +7068,7 @@ function us(e, t, n, r, i) {
|
|
|
7068
7068
|
}
|
|
7069
7069
|
//#endregion
|
|
7070
7070
|
//#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
|
|
7071
|
-
var ds = /* @__PURE__ */ e(wr(), 1), fs = /* @__PURE__ */ e(Or(), 1), ps = G.lazy(async () => await import("./data-grid-overlay-editor-
|
|
7071
|
+
var ds = /* @__PURE__ */ e(wr(), 1), fs = /* @__PURE__ */ e(Or(), 1), ps = G.lazy(async () => await import("./data-grid-overlay-editor-qhJugh0U.js")), ms = 0;
|
|
7072
7072
|
function hs(e) {
|
|
7073
7073
|
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))));
|
|
7074
7074
|
}
|
|
@@ -9299,7 +9299,7 @@ function Js(e, t, n, r, i) {
|
|
|
9299
9299
|
}
|
|
9300
9300
|
//#endregion
|
|
9301
9301
|
//#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
|
|
9302
|
-
var Ys = G.lazy(async () => await import("./number-overlay-editor-
|
|
9302
|
+
var Ys = G.lazy(async () => await import("./number-overlay-editor-BCqHeY6e.js")), Xs = {
|
|
9303
9303
|
getAccessibilityString: (e) => e.data?.toString() ?? "",
|
|
9304
9304
|
kind: W.Number,
|
|
9305
9305
|
needsHover: (e) => e.hoverEffect === !0,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h as e } from "./tooltip-DMMiOn2f.js";
|
|
2
2
|
import { yt as t } from "./use-restore-focus-CosX7-gx.js";
|
|
3
|
-
import { r as n } from "./code-visibility-
|
|
3
|
+
import { r as n } from "./code-visibility-CH6RU9L1.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",
|
package/dist/main.js
CHANGED
|
@@ -6,7 +6,7 @@ import { i as x, n as S, r as C, t as w } from "./copy-icon-CtllOdmg.js";
|
|
|
6
6
|
import { B as T, Bt as E, Dt as D, E as O, F as k, Ft as A, Ht as j, I as M, It as N, L as P, Lt as F, M as I, O as L, Ot as R, P as z, Pt as B, R as ee, Rt as te, St as ne, Ut as re, X as ie, Z as ae, _ as oe, _t as se, a as ce, at as le, b as ue, bt as de, c as fe, ct as pe, dt as me, i as he, it as ge, j as _e, jt as ve, lt as ye, mt as be, n as xe, o as Se, ot as Ce, q as we, rt as Te, ut as Ee, vt as De, yt as Oe, z as ke, zt as Ae } from "./html-to-image-BYh_MorV.js";
|
|
7
7
|
import { a as je, f as Me, h as Ne, i as Pe, m as Fe, n as Ie, o as Le, r as Re, t as ze } from "./tooltip-DMMiOn2f.js";
|
|
8
8
|
import { D as Be, E as Ve, O as He, S as Ue, T as We, _ as Ge, a as Ke, c as qe, d as Je, f as Ye, g as Xe, h as Ze, i as Qe, l as $e, m as et, n as tt, o as nt, p as rt, r as it, s as at, t as ot, u as st, v as ct, w as lt, x as ut, y as dt } from "./spec-BZMDxAu7.js";
|
|
9
|
-
import { $t as ft, A as pt, At as mt, B as ht, Bt as gt, C as _t, Cn as vt, Ct as yt, D as bt, Dt as xt, E as St, En as Ct, Et as wt, F as Tt, Ft as Et, G as Dt, Gt as Ot, H as kt, Ht as At, I as jt, It as Mt, J as Nt, Jt as Pt, K as Ft, Kt as It, L as Lt, Lt as Rt, M as zt, Mt as Bt, N as Vt, Nt as Ht, O as Ut, Ot as Wt, P as Gt, Pt as Kt, Qt as qt, R as Jt, Rt as Yt, S as Xt, Sn as Zt, T as Qt, Tn as $t, Tt as en, U as tn, Ut as nn, V as rn, Vt as an, W as on, Wt as sn, X as cn, Xt as ln, Y as un, Yt as dn, Z as fn, Zt as pn, _ as mn, _t as hn, an as gn, at as _n, b as vn, bn as yn, bt as bn, c as xn, cn as Sn, ct as Cn, d as wn, dn as Tn, dt as En, en as Dn, f as On, fn as kn, ft as An, g as jn, gn as Mn, gt as Nn, h as Pn, hn as Fn, ht as In, in as Ln, it as Rn, j as zn, jt as Bn, k as Vn, kt as Hn, ln as Un, lt as Wn, m as Gn, mn as Kn, mt as qn, nn as Jn, nt as Yn, on as Xn, ot as Zn, p as Qn, pn as $n, pt as er, q as tr, qt as nr, r as rr, rn as ir, rt as ar, sn as or, st as sr, t as cr, tn as lr, tt as ur, u as dr, un as fr, ut as pr, v as mr, vn as hr, vt as gr, w as _r, wn as vr, wt as yr, x as br, xn as xr, y as Sr, yn as Cr, yt as wr, z as Tr, zt as Er } from "./common-
|
|
9
|
+
import { $t as ft, A as pt, At as mt, B as ht, Bt as gt, C as _t, Cn as vt, Ct as yt, D as bt, Dt as xt, E as St, En as Ct, Et as wt, F as Tt, Ft as Et, G as Dt, Gt as Ot, H as kt, Ht as At, I as jt, It as Mt, J as Nt, Jt as Pt, K as Ft, Kt as It, L as Lt, Lt as Rt, M as zt, Mt as Bt, N as Vt, Nt as Ht, O as Ut, Ot as Wt, P as Gt, Pt as Kt, Qt as qt, R as Jt, Rt as Yt, S as Xt, Sn as Zt, T as Qt, Tn as $t, Tt as en, U as tn, Ut as nn, V as rn, Vt as an, W as on, Wt as sn, X as cn, Xt as ln, Y as un, Yt as dn, Z as fn, Zt as pn, _ as mn, _t as hn, an as gn, at as _n, b as vn, bn as yn, bt as bn, c as xn, cn as Sn, ct as Cn, d as wn, dn as Tn, dt as En, en as Dn, f as On, fn as kn, ft as An, g as jn, gn as Mn, gt as Nn, h as Pn, hn as Fn, ht as In, in as Ln, it as Rn, j as zn, jt as Bn, k as Vn, kt as Hn, ln as Un, lt as Wn, m as Gn, mn as Kn, mt as qn, nn as Jn, nt as Yn, on as Xn, ot as Zn, p as Qn, pn as $n, pt as er, q as tr, qt as nr, r as rr, rn as ir, rt as ar, sn as or, st as sr, t as cr, tn as lr, tt as ur, u as dr, un as fr, ut as pr, v as mr, vn as hr, vt as gr, w as _r, wn as vr, wt as yr, x as br, xn as xr, y as Sr, yn as Cr, yt as wr, z as Tr, zt as Er } from "./common-Bcfq2uis.js";
|
|
10
10
|
import { a as Dr, n as Or, s as kr, t as Ar } from "./useLifecycle-SniivYmC.js";
|
|
11
11
|
import { t as jr } from "./check-XFzZeH-y.js";
|
|
12
12
|
import { A as Mr, C as Nr, D as Pr, M as Fr, O as Ir, a as Lr, c as Rr, d as zr, i as Br, k as Vr, l as Hr, n as Ur, o as Wr, r as Gr, s as Kr, t as qr, w as Jr, x as Yr } from "./select-DsoP1qe8.js";
|
|
@@ -16,7 +16,7 @@ import { A as Ii, At as Li, B as Ri, Ct as zi, E as Bi, Et as Vi, Ft as Hi, H as
|
|
|
16
16
|
import { a as wa, c as Ta, d as Ea, f as Da, i as Oa, l as ka, n as Aa, o as ja, r as Ma, s as Na, t as Pa } from "./process-output-bS3MGJ3f.js";
|
|
17
17
|
import { t as Fa } from "./pencil-DYUlSKxZ.js";
|
|
18
18
|
import { a as Ia, c as La, d as Ra, f as za, i as Ba, l as Va, r as Ha } from "./glide-utils-BSQr4d90.js";
|
|
19
|
-
import { n as Ua, t as Wa } from "./globals-
|
|
19
|
+
import { n as Ua, t as Wa } from "./globals-DBMjMtkg.js";
|
|
20
20
|
import { a as Ga, i as Ka, n as qa, r as Ja, s as Ya, t as Xa } from "./assertNever-B-YzWzbL.js";
|
|
21
21
|
import { t as Za } from "./react-dom-DUmH0GXv.js";
|
|
22
22
|
import { t as Qa } from "./jsx-runtime-3BD1kT0s.js";
|
|
@@ -40,10 +40,10 @@ import { n as qs, t as Js } from "./esm-BDqqT86j.js";
|
|
|
40
40
|
import { p as Ys } from "./dist-B8pkfkzc.js";
|
|
41
41
|
import { t as Xs } from "./useAsyncData-Ci4AvJff.js";
|
|
42
42
|
import { t as Zs } from "./semaphore-89jsoHtS.js";
|
|
43
|
-
import { t as Qs } from "./ErrorBoundary-
|
|
43
|
+
import { t as Qs } from "./ErrorBoundary-CvsUYBZT.js";
|
|
44
44
|
import { D as $s, O as ec } from "./vega-loader.browser-B9Pz0EGP.js";
|
|
45
45
|
import { a as tc, n as nc } from "./loader-DZvtzQoD.js";
|
|
46
|
-
import { a as rc, c as ic, i as ac, l as oc, o as sc, s as cc, t as lc } from "./code-visibility-
|
|
46
|
+
import { a as rc, c as ic, i as ac, l as oc, o as sc, s as cc, t as lc } from "./code-visibility-CH6RU9L1.js";
|
|
47
47
|
import { t as uc } from "./useDeepCompareMemoize-NaaWoFlX.js";
|
|
48
48
|
import { t as dc } from "./esm-BgKjMvWw.js";
|
|
49
49
|
//#region ../node_modules/.pnpm/iconify-icon@2.3.0/node_modules/iconify-icon/dist/iconify-icon.mjs
|
|
@@ -12398,7 +12398,7 @@ function ED(e, t) {
|
|
|
12398
12398
|
}
|
|
12399
12399
|
//#endregion
|
|
12400
12400
|
//#region src/plugins/impl/DataEditorPlugin.tsx
|
|
12401
|
-
var DD = J.lazy(() => import("./glide-data-editor-
|
|
12401
|
+
var DD = J.lazy(() => import("./glide-data-editor-Cb_-eFgY.js").then((e) => e.t)), OD = cE("marimo-data-editor", { cssStyles: [jE, ME] }).withData(K({
|
|
12402
12402
|
initialValue: K({ edits: H(K({
|
|
12403
12403
|
rowIdx: U(),
|
|
12404
12404
|
columnId: W(),
|
|
@@ -32188,7 +32188,7 @@ function DH(e) {
|
|
|
32188
32188
|
}
|
|
32189
32189
|
//#endregion
|
|
32190
32190
|
//#region src/components/editor/renderers/slides-layout/slides-layout.tsx
|
|
32191
|
-
var OH = J.lazy(() => import("./reveal-component-
|
|
32191
|
+
var OH = J.lazy(() => import("./reveal-component-BIF-mcQE.js")), kH = (e) => {
|
|
32192
32192
|
let t = (0, X.c)(33), { layout: n, setLayout: r, cells: i, mode: a } = e, o = lo(Fs), s = a === "read" || o, c = lo(Qi) > 1, [l, u] = (0, J.useState)(null), d;
|
|
32193
32193
|
t[0] !== i || t[1] !== n ? (d = TR(i, n), t[0] = i, t[1] = n, t[2] = d) : d = t[2];
|
|
32194
32194
|
let { slideCells: f, skippedIds: p, noOutputIds: m, slideTypes: h, startCellIndex: g } = d, _;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
2
2
|
import { t } from "./react-sHtZdjeP.js";
|
|
3
|
-
import { a as n } from "./glide-data-editor-
|
|
3
|
+
import { a as n } from "./glide-data-editor-Cb_-eFgY.js";
|
|
4
4
|
//#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/internal/data-grid-overlay-editor/private/number-overlay-editor-style.js
|
|
5
5
|
var r = /* @__PURE__ */ e(t()), i = /*#__PURE__*/ n("div")({
|
|
6
6
|
name: "NumberOverlayEditorStyle",
|
|
@@ -3,7 +3,7 @@ import { g as t, h as n, i as r, m as i, t as a } from "./button-DZuNnIZO.js";
|
|
|
3
3
|
import { t as o } from "./react-sHtZdjeP.js";
|
|
4
4
|
import { t as s } from "./compiler-runtime-CldRdSsv.js";
|
|
5
5
|
import { h as c, t as l } from "./tooltip-DMMiOn2f.js";
|
|
6
|
-
import { $ as u, Q as d, _n as f, an as p, bn as m, et as h, gn as g, i as _, l as v, n as y, on as b, r as x, t as S, u as C } from "./common-
|
|
6
|
+
import { $ as u, Q as d, _n as f, an as p, bn as m, et as h, gn as g, i as _, l as v, n as y, on as b, r as x, t as S, u as C } from "./common-Bcfq2uis.js";
|
|
7
7
|
import { M as w } from "./select-DsoP1qe8.js";
|
|
8
8
|
import { Y as T } from "./dropdown-menu-Bb0bFOIk.js";
|
|
9
9
|
import { Ft as E } from "./error-entries-9U4BFHjf.js";
|
|
@@ -11,7 +11,7 @@ import { t as D } from "./jsx-runtime-3BD1kT0s.js";
|
|
|
11
11
|
import { Ft as O, Rt as k, d as A, r as ee } from "./use-restore-focus-CosX7-gx.js";
|
|
12
12
|
import { t as j } from "./useEvent-BRH-aCqi.js";
|
|
13
13
|
import { o as te } from "./static-state-D-Q-Ajaa.js";
|
|
14
|
-
import { n as ne, t as re } from "./code-visibility-
|
|
14
|
+
import { n as ne, t as re } from "./code-visibility-CH6RU9L1.js";
|
|
15
15
|
/* empty css */
|
|
16
16
|
var M = c("sticky-note", [["path", {
|
|
17
17
|
d: "M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z",
|
package/package.json
CHANGED
|
@@ -263,7 +263,6 @@ describe("cell reducer", () => {
|
|
|
263
263
|
timestamp: 1,
|
|
264
264
|
},
|
|
265
265
|
status: "idle",
|
|
266
|
-
stale_inputs: null,
|
|
267
266
|
timestamp: 1,
|
|
268
267
|
});
|
|
269
268
|
editCode(firstCellId, "print('new code')");
|
|
@@ -273,7 +272,6 @@ describe("cell reducer", () => {
|
|
|
273
272
|
output: null,
|
|
274
273
|
console: null,
|
|
275
274
|
status: "queued",
|
|
276
|
-
stale_inputs: null,
|
|
277
275
|
timestamp: 2,
|
|
278
276
|
});
|
|
279
277
|
const runtime = state.cellRuntime[firstCellId];
|
|
@@ -307,7 +305,6 @@ describe("cell reducer", () => {
|
|
|
307
305
|
output: undefined,
|
|
308
306
|
console: null,
|
|
309
307
|
status: "queued",
|
|
310
|
-
stale_inputs: null,
|
|
311
308
|
timestamp: new Date(10).getTime() as Seconds,
|
|
312
309
|
});
|
|
313
310
|
cell = cells[0];
|
|
@@ -319,7 +316,6 @@ describe("cell reducer", () => {
|
|
|
319
316
|
output: undefined,
|
|
320
317
|
console: null,
|
|
321
318
|
status: "running",
|
|
322
|
-
stale_inputs: null,
|
|
323
319
|
timestamp: new Date(20).getTime() as Seconds,
|
|
324
320
|
});
|
|
325
321
|
cell = cells[0];
|
|
@@ -336,7 +332,6 @@ describe("cell reducer", () => {
|
|
|
336
332
|
timestamp: 0,
|
|
337
333
|
},
|
|
338
334
|
status: undefined,
|
|
339
|
-
stale_inputs: null,
|
|
340
335
|
timestamp: new Date(22).getTime() as Seconds,
|
|
341
336
|
});
|
|
342
337
|
cell = cells[0];
|
|
@@ -358,7 +353,6 @@ describe("cell reducer", () => {
|
|
|
358
353
|
timestamp: 0,
|
|
359
354
|
},
|
|
360
355
|
status: "idle",
|
|
361
|
-
stale_inputs: null,
|
|
362
356
|
timestamp: new Date(33).getTime() as Seconds,
|
|
363
357
|
});
|
|
364
358
|
cell = cells[0];
|
|
@@ -395,7 +389,6 @@ describe("cell reducer", () => {
|
|
|
395
389
|
output: undefined,
|
|
396
390
|
console: null,
|
|
397
391
|
status: "queued",
|
|
398
|
-
stale_inputs: null,
|
|
399
392
|
timestamp: new Date(40).getTime() as Seconds,
|
|
400
393
|
});
|
|
401
394
|
cell = cells[0];
|
|
@@ -406,7 +399,6 @@ describe("cell reducer", () => {
|
|
|
406
399
|
output: undefined,
|
|
407
400
|
console: null,
|
|
408
401
|
status: "running",
|
|
409
|
-
stale_inputs: null,
|
|
410
402
|
timestamp: new Date(50).getTime() as Seconds,
|
|
411
403
|
});
|
|
412
404
|
cell = cells[0];
|
|
@@ -424,7 +416,6 @@ describe("cell reducer", () => {
|
|
|
424
416
|
},
|
|
425
417
|
console: null,
|
|
426
418
|
status: "idle",
|
|
427
|
-
stale_inputs: null,
|
|
428
419
|
timestamp: new Date(61).getTime() as Seconds,
|
|
429
420
|
});
|
|
430
421
|
cell = cells[0];
|
|
@@ -445,7 +436,6 @@ describe("cell reducer", () => {
|
|
|
445
436
|
output: undefined,
|
|
446
437
|
console: null,
|
|
447
438
|
status: "queued",
|
|
448
|
-
stale_inputs: null,
|
|
449
439
|
timestamp: new Date(40).getTime() as Seconds,
|
|
450
440
|
});
|
|
451
441
|
cell = cells[0];
|
|
@@ -456,7 +446,6 @@ describe("cell reducer", () => {
|
|
|
456
446
|
output: undefined,
|
|
457
447
|
console: null,
|
|
458
448
|
status: "running",
|
|
459
|
-
stale_inputs: null,
|
|
460
449
|
timestamp: new Date(50).getTime() as Seconds,
|
|
461
450
|
});
|
|
462
451
|
cell = cells[0];
|
|
@@ -472,7 +461,6 @@ describe("cell reducer", () => {
|
|
|
472
461
|
},
|
|
473
462
|
console: null,
|
|
474
463
|
status: "idle",
|
|
475
|
-
stale_inputs: null,
|
|
476
464
|
timestamp: new Date(61).getTime() as Seconds,
|
|
477
465
|
});
|
|
478
466
|
cell = cells[0];
|
|
@@ -502,7 +490,6 @@ describe("cell reducer", () => {
|
|
|
502
490
|
output: undefined,
|
|
503
491
|
console: null,
|
|
504
492
|
status: "queued",
|
|
505
|
-
stale_inputs: null,
|
|
506
493
|
timestamp: new Date(10).getTime() as Seconds,
|
|
507
494
|
});
|
|
508
495
|
let cell = cells[1];
|
|
@@ -514,7 +501,6 @@ describe("cell reducer", () => {
|
|
|
514
501
|
output: undefined,
|
|
515
502
|
console: null,
|
|
516
503
|
status: undefined,
|
|
517
|
-
stale_inputs: true,
|
|
518
504
|
timestamp: new Date(20).getTime() as Seconds,
|
|
519
505
|
});
|
|
520
506
|
cell = cells[1];
|
|
@@ -536,7 +522,6 @@ describe("cell reducer", () => {
|
|
|
536
522
|
output: undefined,
|
|
537
523
|
console: null,
|
|
538
524
|
status: "queued",
|
|
539
|
-
stale_inputs: null,
|
|
540
525
|
timestamp: new Date(10).getTime() as Seconds,
|
|
541
526
|
});
|
|
542
527
|
let cell = cells[0];
|
|
@@ -548,7 +533,6 @@ describe("cell reducer", () => {
|
|
|
548
533
|
output: undefined,
|
|
549
534
|
console: null,
|
|
550
535
|
status: "idle",
|
|
551
|
-
stale_inputs: null,
|
|
552
536
|
timestamp: new Date(20).getTime() as Seconds,
|
|
553
537
|
});
|
|
554
538
|
cell = cells[0];
|
|
@@ -571,7 +555,6 @@ describe("cell reducer", () => {
|
|
|
571
555
|
},
|
|
572
556
|
console: null,
|
|
573
557
|
status: "idle",
|
|
574
|
-
stale_inputs: null,
|
|
575
558
|
timestamp: new Date(20).getTime() as Seconds,
|
|
576
559
|
});
|
|
577
560
|
cell = cells[0];
|
|
@@ -587,7 +570,6 @@ describe("cell reducer", () => {
|
|
|
587
570
|
output: undefined,
|
|
588
571
|
console: null,
|
|
589
572
|
status: "queued",
|
|
590
|
-
stale_inputs: null,
|
|
591
573
|
timestamp: new Date(30).getTime() as Seconds,
|
|
592
574
|
});
|
|
593
575
|
cell = cells[0];
|
|
@@ -599,7 +581,6 @@ describe("cell reducer", () => {
|
|
|
599
581
|
output: undefined,
|
|
600
582
|
console: null,
|
|
601
583
|
status: "running",
|
|
602
|
-
stale_inputs: null,
|
|
603
584
|
timestamp: new Date(40).getTime() as Seconds,
|
|
604
585
|
});
|
|
605
586
|
cell = cells[0];
|
|
@@ -646,7 +627,6 @@ describe("cell reducer", () => {
|
|
|
646
627
|
output: undefined,
|
|
647
628
|
console: null,
|
|
648
629
|
status: "queued",
|
|
649
|
-
stale_inputs: null,
|
|
650
630
|
timestamp: new Date(10).getTime() as Seconds,
|
|
651
631
|
});
|
|
652
632
|
cell = cells[0];
|
|
@@ -658,7 +638,6 @@ describe("cell reducer", () => {
|
|
|
658
638
|
output: undefined,
|
|
659
639
|
console: null,
|
|
660
640
|
status: "running",
|
|
661
|
-
stale_inputs: null,
|
|
662
641
|
timestamp: new Date(20).getTime() as Seconds,
|
|
663
642
|
});
|
|
664
643
|
cell = cells[0];
|
|
@@ -670,7 +649,6 @@ describe("cell reducer", () => {
|
|
|
670
649
|
output: undefined,
|
|
671
650
|
console: STDOUT,
|
|
672
651
|
status: undefined,
|
|
673
|
-
stale_inputs: null,
|
|
674
652
|
timestamp: new Date(22).getTime() as Seconds,
|
|
675
653
|
});
|
|
676
654
|
cell = cells[0];
|
|
@@ -686,7 +664,6 @@ describe("cell reducer", () => {
|
|
|
686
664
|
output: undefined,
|
|
687
665
|
console: STD_IN_1,
|
|
688
666
|
status: undefined,
|
|
689
|
-
stale_inputs: null,
|
|
690
667
|
timestamp: new Date(22).getTime() as Seconds,
|
|
691
668
|
});
|
|
692
669
|
cell = cells[0];
|
|
@@ -713,7 +690,6 @@ describe("cell reducer", () => {
|
|
|
713
690
|
output: undefined,
|
|
714
691
|
console: STD_IN_2,
|
|
715
692
|
status: undefined,
|
|
716
|
-
stale_inputs: null,
|
|
717
693
|
timestamp: new Date(22).getTime() as Seconds,
|
|
718
694
|
});
|
|
719
695
|
cell = cells[0];
|
|
@@ -735,7 +711,6 @@ describe("cell reducer", () => {
|
|
|
735
711
|
},
|
|
736
712
|
console: null,
|
|
737
713
|
status: "idle",
|
|
738
|
-
stale_inputs: null,
|
|
739
714
|
timestamp: new Date(61).getTime() as Seconds,
|
|
740
715
|
});
|
|
741
716
|
cell = cells[0];
|
|
@@ -758,7 +733,6 @@ describe("cell reducer", () => {
|
|
|
758
733
|
output: undefined,
|
|
759
734
|
console: prompt,
|
|
760
735
|
status: "running",
|
|
761
|
-
stale_inputs: null,
|
|
762
736
|
timestamp: 1 as Seconds,
|
|
763
737
|
});
|
|
764
738
|
|
|
@@ -790,7 +764,6 @@ describe("cell reducer", () => {
|
|
|
790
764
|
output: undefined,
|
|
791
765
|
console: null,
|
|
792
766
|
status: "running",
|
|
793
|
-
stale_inputs: null,
|
|
794
767
|
timestamp: new Date(20).getTime() as Seconds,
|
|
795
768
|
});
|
|
796
769
|
actions.handleCellMessage({
|
|
@@ -798,7 +771,6 @@ describe("cell reducer", () => {
|
|
|
798
771
|
output: undefined,
|
|
799
772
|
console: STDOUT,
|
|
800
773
|
status: undefined,
|
|
801
|
-
stale_inputs: null,
|
|
802
774
|
timestamp: new Date(22).getTime() as Seconds,
|
|
803
775
|
});
|
|
804
776
|
|
|
@@ -841,7 +813,6 @@ describe("cell reducer", () => {
|
|
|
841
813
|
output: undefined,
|
|
842
814
|
console: [OLD_STDOUT],
|
|
843
815
|
status: undefined,
|
|
844
|
-
stale_inputs: null,
|
|
845
816
|
timestamp: new Date(1).getTime() as Seconds,
|
|
846
817
|
});
|
|
847
818
|
|
|
@@ -859,7 +830,6 @@ describe("cell reducer", () => {
|
|
|
859
830
|
output: undefined,
|
|
860
831
|
console: null,
|
|
861
832
|
status: "queued",
|
|
862
|
-
stale_inputs: null,
|
|
863
833
|
timestamp: new Date(10).getTime() as Seconds,
|
|
864
834
|
});
|
|
865
835
|
cell = cells[0];
|
|
@@ -872,7 +842,6 @@ describe("cell reducer", () => {
|
|
|
872
842
|
output: undefined,
|
|
873
843
|
console: [], // Backend sends an empty array to clearu
|
|
874
844
|
status: "running",
|
|
875
|
-
stale_inputs: null,
|
|
876
845
|
timestamp: new Date(20).getTime() as Seconds,
|
|
877
846
|
});
|
|
878
847
|
cell = cells[0];
|
|
@@ -885,7 +854,6 @@ describe("cell reducer", () => {
|
|
|
885
854
|
output: undefined,
|
|
886
855
|
console: [STDOUT],
|
|
887
856
|
status: "idle",
|
|
888
|
-
stale_inputs: null,
|
|
889
857
|
timestamp: new Date(22).getTime() as Seconds,
|
|
890
858
|
});
|
|
891
859
|
cell = cells[0];
|
|
@@ -939,7 +907,6 @@ describe("cell reducer", () => {
|
|
|
939
907
|
output: undefined,
|
|
940
908
|
console: [STDOUT1, STDOUT2],
|
|
941
909
|
status: "running",
|
|
942
|
-
stale_inputs: null,
|
|
943
910
|
timestamp: new Date(20).getTime() as Seconds,
|
|
944
911
|
});
|
|
945
912
|
|
|
@@ -973,7 +940,6 @@ describe("cell reducer", () => {
|
|
|
973
940
|
timestamp: 0,
|
|
974
941
|
},
|
|
975
942
|
status: "idle",
|
|
976
|
-
stale_inputs: null,
|
|
977
943
|
timestamp: new Date(33).getTime() as Seconds,
|
|
978
944
|
});
|
|
979
945
|
|
|
@@ -1008,7 +974,6 @@ describe("cell reducer", () => {
|
|
|
1008
974
|
timestamp: 0,
|
|
1009
975
|
},
|
|
1010
976
|
status: "idle",
|
|
1011
|
-
stale_inputs: null,
|
|
1012
977
|
timestamp: new Date(33).getTime() as Seconds,
|
|
1013
978
|
});
|
|
1014
979
|
|
|
@@ -1022,7 +987,6 @@ describe("cell reducer", () => {
|
|
|
1022
987
|
timestamp: 0,
|
|
1023
988
|
},
|
|
1024
989
|
status: "idle",
|
|
1025
|
-
stale_inputs: null,
|
|
1026
990
|
timestamp: new Date(34).getTime() as Seconds,
|
|
1027
991
|
});
|
|
1028
992
|
|
|
@@ -1062,7 +1026,6 @@ describe("cell reducer", () => {
|
|
|
1062
1026
|
timestamp: 0,
|
|
1063
1027
|
},
|
|
1064
1028
|
status: "idle",
|
|
1065
|
-
stale_inputs: null,
|
|
1066
1029
|
timestamp: new Date(33).getTime() as Seconds,
|
|
1067
1030
|
} as const;
|
|
1068
1031
|
|
|
@@ -35,7 +35,6 @@ describe("getCellLogsForMessage", () => {
|
|
|
35
35
|
],
|
|
36
36
|
output: null,
|
|
37
37
|
status: "idle",
|
|
38
|
-
stale_inputs: null,
|
|
39
38
|
timestamp: 0,
|
|
40
39
|
};
|
|
41
40
|
|
|
@@ -63,7 +62,6 @@ describe("getCellLogsForMessage", () => {
|
|
|
63
62
|
],
|
|
64
63
|
output: null,
|
|
65
64
|
status: "idle",
|
|
66
|
-
stale_inputs: null,
|
|
67
65
|
timestamp: 0,
|
|
68
66
|
};
|
|
69
67
|
|
|
@@ -91,7 +89,6 @@ describe("getCellLogsForMessage", () => {
|
|
|
91
89
|
],
|
|
92
90
|
output: null,
|
|
93
91
|
status: "idle",
|
|
94
|
-
stale_inputs: null,
|
|
95
92
|
timestamp: 0,
|
|
96
93
|
};
|
|
97
94
|
|
|
@@ -119,7 +116,6 @@ describe("getCellLogsForMessage", () => {
|
|
|
119
116
|
],
|
|
120
117
|
output: null,
|
|
121
118
|
status: "idle",
|
|
122
|
-
stale_inputs: null,
|
|
123
119
|
timestamp: 0,
|
|
124
120
|
};
|
|
125
121
|
|
|
@@ -147,7 +143,6 @@ describe("getCellLogsForMessage", () => {
|
|
|
147
143
|
],
|
|
148
144
|
output: null,
|
|
149
145
|
status: "idle",
|
|
150
|
-
stale_inputs: null,
|
|
151
146
|
timestamp: 0,
|
|
152
147
|
};
|
|
153
148
|
|
|
@@ -185,7 +180,6 @@ describe("getCellLogsForMessage", () => {
|
|
|
185
180
|
],
|
|
186
181
|
output: null,
|
|
187
182
|
status: "idle",
|
|
188
|
-
stale_inputs: null,
|
|
189
183
|
timestamp: 0,
|
|
190
184
|
};
|
|
191
185
|
|
|
@@ -213,7 +207,6 @@ describe("getCellLogsForMessage", () => {
|
|
|
213
207
|
],
|
|
214
208
|
output: null,
|
|
215
209
|
status: "idle",
|
|
216
|
-
stale_inputs: null,
|
|
217
210
|
timestamp: 0,
|
|
218
211
|
};
|
|
219
212
|
|
|
@@ -236,7 +229,6 @@ describe("getCellLogsForMessage", () => {
|
|
|
236
229
|
],
|
|
237
230
|
output: null,
|
|
238
231
|
status: "idle",
|
|
239
|
-
stale_inputs: null,
|
|
240
232
|
timestamp: 0,
|
|
241
233
|
};
|
|
242
234
|
|
|
@@ -258,7 +250,6 @@ describe("getCellLogsForMessage", () => {
|
|
|
258
250
|
],
|
|
259
251
|
output: null,
|
|
260
252
|
status: "idle",
|
|
261
|
-
stale_inputs: null,
|
|
262
253
|
timestamp: 0,
|
|
263
254
|
};
|
|
264
255
|
|
|
@@ -273,7 +264,6 @@ describe("getCellLogsForMessage", () => {
|
|
|
273
264
|
console: null as unknown as CellMessage["console"],
|
|
274
265
|
output: null,
|
|
275
266
|
status: "idle",
|
|
276
|
-
stale_inputs: null,
|
|
277
267
|
timestamp: 0,
|
|
278
268
|
};
|
|
279
269
|
|
|
@@ -295,7 +285,6 @@ describe("getCellLogsForMessage", () => {
|
|
|
295
285
|
],
|
|
296
286
|
output: null,
|
|
297
287
|
status: "idle",
|
|
298
|
-
stale_inputs: null,
|
|
299
288
|
timestamp: 0,
|
|
300
289
|
};
|
|
301
290
|
|
|
@@ -318,7 +307,6 @@ describe("getCellLogsForMessage", () => {
|
|
|
318
307
|
],
|
|
319
308
|
output: null,
|
|
320
309
|
status: "idle",
|
|
321
|
-
stale_inputs: null,
|
|
322
310
|
timestamp: 0,
|
|
323
311
|
};
|
|
324
312
|
|
|
@@ -369,7 +357,6 @@ describe("getCellLogsForMessage - internal error toast", () => {
|
|
|
369
357
|
timestamp: 0,
|
|
370
358
|
} as unknown as CellMessage["output"],
|
|
371
359
|
status: "idle",
|
|
372
|
-
stale_inputs: null,
|
|
373
360
|
timestamp: 0,
|
|
374
361
|
});
|
|
375
362
|
|
|
@@ -70,8 +70,6 @@ describe("buildLayoutState", () => {
|
|
|
70
70
|
layout: null,
|
|
71
71
|
resumed: false,
|
|
72
72
|
ui_values: {},
|
|
73
|
-
last_executed_code: {},
|
|
74
|
-
last_execution_time: {},
|
|
75
73
|
app_config: {
|
|
76
74
|
width: "normal",
|
|
77
75
|
app_title: null,
|
|
@@ -112,8 +110,6 @@ describe("buildLayoutState", () => {
|
|
|
112
110
|
},
|
|
113
111
|
resumed: false,
|
|
114
112
|
ui_values: {},
|
|
115
|
-
last_executed_code: {},
|
|
116
|
-
last_execution_time: {},
|
|
117
113
|
app_config: {
|
|
118
114
|
width: "normal",
|
|
119
115
|
app_title: null,
|