@marimo-team/islands 0.24.3-dev80 → 0.24.3-dev81
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-OhtgB5Rj.js → ErrorBoundary-CCi-VkF7.js} +1 -1
- package/dist/{cells-BLjghRgH.js → cells-BIfOnGBK.js} +9 -4
- package/dist/{chat-ui-ZVLuVQRR.js → chat-ui-LWkjhObe.js} +4 -4
- package/dist/{code-visibility-fggTIMg0.js → code-visibility-Bsfqbe2z.js} +2 -2
- package/dist/{common-DEy2Hm0Y.js → common-BnKC1tWB.js} +3 -3
- package/dist/{data-grid-overlay-editor-BpWTINGo.js → data-grid-overlay-editor-CJnlWykO.js} +1 -1
- package/dist/{error-entries-CJR74llu.js → error-entries-CR0oClSL.js} +1 -1
- package/dist/{feedback-button-uHEzZ6za.js → feedback-button-MWISfIIf.js} +4 -4
- package/dist/{glide-data-editor-BGV2Wxxr.js → glide-data-editor-dcmP8mKS.js} +3 -3
- package/dist/{globals-DwEI7gcT.js → globals-fCMBgbAD.js} +1 -1
- package/dist/{html-to-image-DYuNuZZd.js → html-to-image-_i03yR4q.js} +586 -567
- package/dist/main.js +10 -10
- package/dist/{number-overlay-editor-Cs9TQY6t.js → number-overlay-editor-DhNE6pBe.js} +1 -1
- package/dist/{process-output-BurYfV57.js → process-output-D3zQyTAS.js} +2 -2
- package/dist/{reveal-component-ZN-54GbA.js → reveal-component-Cdcgngkc.js} +3 -3
- package/package.json +1 -1
- package/src/__mocks__/notebook.ts +1 -0
- package/src/components/editor/navigation/clipboard.ts +1 -0
- package/src/core/cells/__tests__/__snapshots__/cells.test.ts.snap +37 -0
- package/src/core/cells/__tests__/apply-transaction.test.ts +34 -0
- package/src/core/cells/__tests__/cells.test.ts +1 -0
- package/src/core/cells/__tests__/document-changes.test.ts +39 -1
- package/src/core/cells/__tests__/outputs.test.tsx +117 -0
- package/src/core/cells/__tests__/session.test.ts +7 -0
- package/src/core/cells/cells.ts +6 -1
- package/src/core/cells/document-changes.ts +11 -1
- package/src/core/cells/outputs.ts +66 -9
- package/src/core/cells/session.ts +2 -0
- package/src/core/cells/types.ts +2 -0
package/dist/main.js
CHANGED
|
@@ -3,20 +3,20 @@ import { _ as a, c as o, f as s, g as c, h as l, i as u, l as d, m as f, n as p,
|
|
|
3
3
|
import { t as y } from "./react-ofJbxM4x.js";
|
|
4
4
|
import { t as b } from "./compiler-runtime-Cj8ZWiNS.js";
|
|
5
5
|
import { i as x, n as S, r as C, t as w } from "./copy-icon-CLdENY__.js";
|
|
6
|
-
import { C as T, F as E, G as D, I as O, J as k, K as A, L as j, P as M, R as N, X as P, Z as F, _ as I, a as L, b as R, g as ee, i as z, j as te, k as B, n as ne, o as re, q as ie, v as ae, y as oe } from "./html-to-image-
|
|
6
|
+
import { C as T, F as E, G as D, I as O, J as k, K as A, L as j, P as M, R as N, X as P, Z as F, _ as I, a as L, b as R, g as ee, i as z, j as te, k as B, n as ne, o as re, q as ie, v as ae, y as oe } from "./html-to-image-_i03yR4q.js";
|
|
7
7
|
import { a as se, f as ce, g as V, i as le, n as ue, o as de, p as fe, r as pe, t as me } from "./tooltip-qB8NlSqV.js";
|
|
8
|
-
import { $ as he, $t as ge, At as _e, B as ve, C as ye, D as be, Dt as xe, F as Se, G as Ce, Gt as we, I as Te, J as Ee, L as De, Mt as Oe, Nt as ke, O as Ae, Ot as je, P as Me, Q as Ne, Qt as Pe, S as Fe, T as Ie, Tt as Le, U as Re, Ut as ze, W as Be, Wt as Ve, X as He, Xt as Ue, Y as We, Yt as Ge, Zt as Ke, _n as qe, _t as Je, an as Ye, bn as Xe, c as Ze, cn as Qe, ct as $e, d as et, dn as tt, dt as nt, f as rt, fn as it, ft as at, g as ot, gn as st, gt as ct, h as lt, in as ut, it as dt, jt as ft, k as pt, kt as mt, l as ht, m as gt, mn as _t, n as vt, o as yt, on as bt, p as xt, pn as St, pt as Ct, q as wt, qt as Tt, r as Et, rn as Dt, rt as Ot, u as kt, v as At, w as jt, xt as Mt, yn as Nt, zt as Pt } from "./cells-
|
|
8
|
+
import { $ as he, $t as ge, At as _e, B as ve, C as ye, D as be, Dt as xe, F as Se, G as Ce, Gt as we, I as Te, J as Ee, L as De, Mt as Oe, Nt as ke, O as Ae, Ot as je, P as Me, Q as Ne, Qt as Pe, S as Fe, T as Ie, Tt as Le, U as Re, Ut as ze, W as Be, Wt as Ve, X as He, Xt as Ue, Y as We, Yt as Ge, Zt as Ke, _n as qe, _t as Je, an as Ye, bn as Xe, c as Ze, cn as Qe, ct as $e, d as et, dn as tt, dt as nt, f as rt, fn as it, ft as at, g as ot, gn as st, gt as ct, h as lt, in as ut, it as dt, jt as ft, k as pt, kt as mt, l as ht, m as gt, mn as _t, n as vt, o as yt, on as bt, p as xt, pn as St, pt as Ct, q as wt, qt as Tt, r as Et, rn as Dt, rt as Ot, u as kt, v as At, w as jt, xt as Mt, yn as Nt, zt as Pt } from "./cells-BIfOnGBK.js";
|
|
9
9
|
import { D as Ft, E as It, O as Lt, S as Rt, T as zt, _ as Bt, a as Vt, c as Ht, d as Ut, f as Wt, g as Gt, h as Kt, i as qt, l as Jt, m as Yt, n as Xt, o as Zt, p as Qt, r as $t, s as en, t as tn, u as nn, v as rn, w as an, x as on, y as sn } from "./spec-CAYwFeV6.js";
|
|
10
|
-
import { $t as cn, A as ln, At as un, B as dn, Bt as fn, C as pn, Ct as mn, D as hn, Dt as gn, E as _n, Et as vn, F as yn, Ft as bn, G as xn, Gt as Sn, H as Cn, Ht as wn, I as Tn, It as En, J as Dn, Jt as On, K as kn, Kt as An, L as jn, Lt as Mn, M as Nn, Mt as Pn, N as Fn, Nt as In, O as Ln, Ot as Rn, P as zn, Pt as Bn, Qt as Vn, R as Hn, Rt as Un, S as Wn, St as Gn, T as Kn, Tt as qn, U as Jn, Ut as Yn, V as Xn, Vt as Zn, W as Qn, Wt as $n, X as er, Xt as tr, Y as nr, Yt as rr, Zt as ir, _ as ar, _t as or, an as sr, at as cr, b as lr, c as ur, cn as dr, ct as fr, d as pr, dn as mr, dt as hr, en as gr, et as _r, f as vr, fn as yr, ft as br, g as xr, gt as Sr, h as Cr, hn as wr, ht as Tr, in as Er, it as Dr, j as Or, jt as kr, k as Ar, kt as jr, ln as Mr, lt as Nr, m as Pr, mn as Fr, mt as Ir, nn as Lr, nt as Rr, ot as zr, p as Br, pn as Vr, pt as Hr, q as Ur, qt as Wr, r as Gr, rn as Kr, rt as qr, sn as Jr, st as Yr, t as Xr, tn as Zr, tt as Qr, u as $r, un as ei, ut as ti, v as ni, vt as ri, w as ii, wt as ai, x as oi, y as si, yt as ci, z as li, zt as ui } from "./common-
|
|
10
|
+
import { $t as cn, A as ln, At as un, B as dn, Bt as fn, C as pn, Ct as mn, D as hn, Dt as gn, E as _n, Et as vn, F as yn, Ft as bn, G as xn, Gt as Sn, H as Cn, Ht as wn, I as Tn, It as En, J as Dn, Jt as On, K as kn, Kt as An, L as jn, Lt as Mn, M as Nn, Mt as Pn, N as Fn, Nt as In, O as Ln, Ot as Rn, P as zn, Pt as Bn, Qt as Vn, R as Hn, Rt as Un, S as Wn, St as Gn, T as Kn, Tt as qn, U as Jn, Ut as Yn, V as Xn, Vt as Zn, W as Qn, Wt as $n, X as er, Xt as tr, Y as nr, Yt as rr, Zt as ir, _ as ar, _t as or, an as sr, at as cr, b as lr, c as ur, cn as dr, ct as fr, d as pr, dn as mr, dt as hr, en as gr, et as _r, f as vr, fn as yr, ft as br, g as xr, gt as Sr, h as Cr, hn as wr, ht as Tr, in as Er, it as Dr, j as Or, jt as kr, k as Ar, kt as jr, ln as Mr, lt as Nr, m as Pr, mn as Fr, mt as Ir, nn as Lr, nt as Rr, ot as zr, p as Br, pn as Vr, pt as Hr, q as Ur, qt as Wr, r as Gr, rn as Kr, rt as qr, sn as Jr, st as Yr, t as Xr, tn as Zr, tt as Qr, u as $r, un as ei, ut as ti, v as ni, vt as ri, w as ii, wt as ai, x as oi, y as si, yt as ci, z as li, zt as ui } from "./common-BnKC1tWB.js";
|
|
11
11
|
import { c as di, i as fi, n as pi, o as mi, t as hi } from "./useLifecycle-DPgiiwwU.js";
|
|
12
12
|
import { t as gi } from "./check-B7cIK6gb.js";
|
|
13
13
|
import { A as _i, C as vi, D as yi, E as bi, M as xi, O as Si, S as Ci, T as wi, a as Ti, b as Ei, c as Di, i as Oi, k as ki, l as Ai, n as ji, o as Mi, r as Ni, s as Pi, t as Fi, w as Ii, x as Li } from "./select-C6plhmZr.js";
|
|
14
14
|
import { B as Ri, C as zi, J as Bi, Mt as Vi, Nt as Hi, S as Ui, Vt as Wi, W as Gi, _ as Ki, a as qi, at as Ji, c as Yi, dt as Xi, f as Zi, fn as Qi, g as $i, h as ea, i as ta, it as na, m as ra, n as ia, p as aa, pn as oa, q as sa, r as ca, s as la, t as ua, v as da, vt as fa, x as pa, z as ma } from "./dropdown-menu-CZgjYSAh.js";
|
|
15
15
|
import { _ as ha, c as ga, d as _a, f as va, g as ya, h as ba, m as xa, u as Sa, v as Ca } from "./toDate-WXg1yLcI.js";
|
|
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-
|
|
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-D3zQyTAS.js";
|
|
17
17
|
import { a as Fa, c as Ia, d as La, i as Ra, l as za, r as Ba, u as Va } from "./glide-utils-B3rUT5PI.js";
|
|
18
|
-
import { n as Ha, t as Ua } from "./ErrorBoundary-
|
|
19
|
-
import { n as Wa, t as Ga } from "./globals-
|
|
18
|
+
import { n as Ha, t as Ua } from "./ErrorBoundary-CCi-VkF7.js";
|
|
19
|
+
import { n as Wa, t as Ga } from "./globals-fCMBgbAD.js";
|
|
20
20
|
import { t as Ka } from "./react-dom-BUgJ-ab_.js";
|
|
21
21
|
import { t as qa } from "./jsx-runtime-DgDPJV9S.js";
|
|
22
22
|
import { B as Ja, C as H, Ct as Ya, D as Xa, E as Za, Et as Qa, F as U, G as $a, H as eo, I as to, L as no, M as W, N as ro, O as io, P as ao, Q as oo, R as so, S as G, St as co, Tt as lo, U as uo, W as fo, Y as po, Z as mo, _ as ho, a as go, b as _o, bt as vo, c as yo, d as bo, dt as xo, f as So, g as Co, gt as wo, h as To, i as Eo, j as K, k as Do, l as Oo, m as ko, n as Ao, o as jo, p as Mo, r as No, s as Po, u as Fo, v as Io, vt as Lo, w as Ro, wt as zo, x as Bo, xt as Vo, y as Ho, yt as Uo } from "./use-restore-focus-D5D9xEjZ.js";
|
|
@@ -40,7 +40,7 @@ import { t as Ns } from "./useAsyncData-BD6AStMt.js";
|
|
|
40
40
|
import { i as Ps, n as Fs, r as Is } from "./formats-BR5iGb4s.js";
|
|
41
41
|
import { M as Ls, N as Rs } from "./vega-loader.browser-D95WfUcj.js";
|
|
42
42
|
import { a as zs, n as Bs } from "./loader-D2W4oM-3.js";
|
|
43
|
-
import { c as Vs, d as Hs, i as Us, l as Ws, o as Gs, s as Ks, t as qs, u as Js } from "./code-visibility-
|
|
43
|
+
import { c as Vs, d as Hs, i as Us, l as Ws, o as Gs, s as Ks, t as qs, u as Js } from "./code-visibility-Bsfqbe2z.js";
|
|
44
44
|
import { t as Ys } from "./useDeepCompareMemoize-D_HNdyvI.js";
|
|
45
45
|
import { t as Xs } from "./esm-BElI3qKH.js";
|
|
46
46
|
//#region ../node_modules/.pnpm/iconify-icon@2.3.0/node_modules/iconify-icon/dist/iconify-icon.mjs
|
|
@@ -9992,7 +9992,7 @@ var PS = (e) => {
|
|
|
9992
9992
|
output: t
|
|
9993
9993
|
};
|
|
9994
9994
|
} };
|
|
9995
|
-
} }, BS = J.lazy(() => import("./chat-ui-
|
|
9995
|
+
} }, BS = J.lazy(() => import("./chat-ui-LWkjhObe.js").then((e) => ({ default: e.Chatbot }))), VS = G(W({
|
|
9996
9996
|
id: U(),
|
|
9997
9997
|
role: Io([
|
|
9998
9998
|
"system",
|
|
@@ -10458,7 +10458,7 @@ function RC(e, t) {
|
|
|
10458
10458
|
}
|
|
10459
10459
|
//#endregion
|
|
10460
10460
|
//#region src/plugins/impl/DataEditorPlugin.tsx
|
|
10461
|
-
var zC = J.lazy(() => import("./glide-data-editor-
|
|
10461
|
+
var zC = J.lazy(() => import("./glide-data-editor-dcmP8mKS.js").then((e) => e.t)), BC = xS("marimo-data-editor", { cssStyles: [WS] }).withData(W({
|
|
10462
10462
|
initialValue: W({ edits: G(W({
|
|
10463
10463
|
rowIdx: K(),
|
|
10464
10464
|
columnId: U(),
|
|
@@ -29922,7 +29922,7 @@ function bR(e) {
|
|
|
29922
29922
|
}
|
|
29923
29923
|
//#endregion
|
|
29924
29924
|
//#region src/components/editor/renderers/slides-layout/slides-layout.tsx
|
|
29925
|
-
var xR = J.lazy(() => import("./reveal-component-
|
|
29925
|
+
var xR = J.lazy(() => import("./reveal-component-Cdcgngkc.js")), SR = (e) => {
|
|
29926
29926
|
let t = (0, X.c)(33), { layout: n, setLayout: r, cells: i, mode: a } = e, o = rs(Ce), s = a === "read" || o, c = rs(xt) > 1, [l, u] = (0, J.useState)(null), d;
|
|
29927
29927
|
t[0] !== i || t[1] !== n ? (d = vP(i, n), t[0] = i, t[1] = n, t[2] = d) : d = t[2];
|
|
29928
29928
|
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-ofJbxM4x.js";
|
|
3
|
-
import { a as n } from "./glide-data-editor-
|
|
3
|
+
import { a as n } from "./glide-data-editor-dcmP8mKS.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.2.8_b9e6aec46d952f631ce71b0585d2a8e5/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",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { O as e } from "./html-to-image-
|
|
1
|
+
import { O as e } from "./html-to-image-_i03yR4q.js";
|
|
2
2
|
import { g as t } from "./tooltip-qB8NlSqV.js";
|
|
3
|
-
import { b as n, y as r } from "./cells-
|
|
3
|
+
import { b as n, y as r } from "./cells-BIfOnGBK.js";
|
|
4
4
|
import { b as i } from "./select-C6plhmZr.js";
|
|
5
5
|
import { n as a } from "./semaphore-89jsoHtS.js";
|
|
6
6
|
var o = t("file", [["path", {
|
|
@@ -3,14 +3,14 @@ import { c as t, g as n, h as r, m as i, t as a } from "./button-DdXAm8iz.js";
|
|
|
3
3
|
import { t as o } from "./react-ofJbxM4x.js";
|
|
4
4
|
import { t as s } from "./compiler-runtime-Cj8ZWiNS.js";
|
|
5
5
|
import { g as c, t as l } from "./tooltip-qB8NlSqV.js";
|
|
6
|
-
import { G as u, w as d } from "./cells-
|
|
7
|
-
import { $ as f, Q as p, Z as m, an as h, i as g, l as _, ln as v, n as y, on as b, r as x, t as S, u as C } from "./common-
|
|
6
|
+
import { G as u, w as d } from "./cells-BIfOnGBK.js";
|
|
7
|
+
import { $ as f, Q as p, Z as m, an as h, i as g, l as _, ln as v, n as y, on as b, r as x, t as S, u as C } from "./common-BnKC1tWB.js";
|
|
8
8
|
import { M as w } from "./select-C6plhmZr.js";
|
|
9
9
|
import { J as T } from "./dropdown-menu-CZgjYSAh.js";
|
|
10
10
|
import { t as E } from "./jsx-runtime-DgDPJV9S.js";
|
|
11
11
|
import { q as ee } from "./use-restore-focus-D5D9xEjZ.js";
|
|
12
12
|
import { A as D, C as O, b as k } from "./useTheme-DzXmYZ5V.js";
|
|
13
|
-
import { a as A, n as te, t as ne } from "./code-visibility-
|
|
13
|
+
import { a as A, n as te, t as ne } from "./code-visibility-Bsfqbe2z.js";
|
|
14
14
|
/* empty css */
|
|
15
15
|
var j = c("sticky-note", [["path", {
|
|
16
16
|
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
|
@@ -6,6 +6,7 @@ exports[`cell reducer > can initialize stdin > initial state 1`] = `
|
|
|
6
6
|
"config": {
|
|
7
7
|
"column": null,
|
|
8
8
|
"disabled": false,
|
|
9
|
+
"expand_output": false,
|
|
9
10
|
"hide_code": false,
|
|
10
11
|
},
|
|
11
12
|
"consoleOutputs": [],
|
|
@@ -35,6 +36,7 @@ exports[`cell reducer > can initialize stdin > prepared for run 1`] = `
|
|
|
35
36
|
"config": {
|
|
36
37
|
"column": null,
|
|
37
38
|
"disabled": false,
|
|
39
|
+
"expand_output": false,
|
|
38
40
|
"hide_code": false,
|
|
39
41
|
},
|
|
40
42
|
"consoleOutputs": [],
|
|
@@ -64,6 +66,7 @@ exports[`cell reducer > can initialize stdin > queued message received 1`] = `
|
|
|
64
66
|
"config": {
|
|
65
67
|
"column": null,
|
|
66
68
|
"disabled": false,
|
|
69
|
+
"expand_output": false,
|
|
67
70
|
"hide_code": false,
|
|
68
71
|
},
|
|
69
72
|
"consoleOutputs": [],
|
|
@@ -93,6 +96,7 @@ exports[`cell reducer > can initialize stdin > running message received 1`] = `
|
|
|
93
96
|
"config": {
|
|
94
97
|
"column": null,
|
|
95
98
|
"disabled": false,
|
|
99
|
+
"expand_output": false,
|
|
96
100
|
"hide_code": false,
|
|
97
101
|
},
|
|
98
102
|
"consoleOutputs": [],
|
|
@@ -122,6 +126,7 @@ exports[`cell reducer > can initialize stdin > second stdin requested 1`] = `
|
|
|
122
126
|
"config": {
|
|
123
127
|
"column": null,
|
|
124
128
|
"disabled": false,
|
|
129
|
+
"expand_output": false,
|
|
125
130
|
"hide_code": false,
|
|
126
131
|
},
|
|
127
132
|
"consoleOutputs": [
|
|
@@ -171,6 +176,7 @@ exports[`cell reducer > can initialize stdin > stdin answered 1`] = `
|
|
|
171
176
|
"config": {
|
|
172
177
|
"column": null,
|
|
173
178
|
"disabled": false,
|
|
179
|
+
"expand_output": false,
|
|
174
180
|
"hide_code": false,
|
|
175
181
|
},
|
|
176
182
|
"consoleOutputs": [
|
|
@@ -214,6 +220,7 @@ exports[`cell reducer > can initialize stdin > stdin requested 1`] = `
|
|
|
214
220
|
"config": {
|
|
215
221
|
"column": null,
|
|
216
222
|
"disabled": false,
|
|
223
|
+
"expand_output": false,
|
|
217
224
|
"hide_code": false,
|
|
218
225
|
},
|
|
219
226
|
"consoleOutputs": [
|
|
@@ -256,6 +263,7 @@ exports[`cell reducer > can initialize stdin > stdout received 1`] = `
|
|
|
256
263
|
"config": {
|
|
257
264
|
"column": null,
|
|
258
265
|
"disabled": false,
|
|
266
|
+
"expand_output": false,
|
|
259
267
|
"hide_code": false,
|
|
260
268
|
},
|
|
261
269
|
"consoleOutputs": [
|
|
@@ -292,6 +300,7 @@ exports[`cell reducer > can initialize stdin > stdout verified 1`] = `
|
|
|
292
300
|
"config": {
|
|
293
301
|
"column": null,
|
|
294
302
|
"disabled": false,
|
|
303
|
+
"expand_output": false,
|
|
295
304
|
"hide_code": false,
|
|
296
305
|
},
|
|
297
306
|
"consoleOutputs": [
|
|
@@ -328,6 +337,7 @@ exports[`cell reducer > can receive console when the cell is idle and will clear
|
|
|
328
337
|
"config": {
|
|
329
338
|
"column": null,
|
|
330
339
|
"disabled": false,
|
|
340
|
+
"expand_output": false,
|
|
331
341
|
"hide_code": false,
|
|
332
342
|
},
|
|
333
343
|
"consoleOutputs": [],
|
|
@@ -357,6 +367,7 @@ exports[`cell reducer > can receive console when the cell is idle and will clear
|
|
|
357
367
|
"config": {
|
|
358
368
|
"column": null,
|
|
359
369
|
"disabled": false,
|
|
370
|
+
"expand_output": false,
|
|
360
371
|
"hide_code": false,
|
|
361
372
|
},
|
|
362
373
|
"consoleOutputs": [
|
|
@@ -393,6 +404,7 @@ exports[`cell reducer > can receive console when the cell is idle and will clear
|
|
|
393
404
|
"config": {
|
|
394
405
|
"column": null,
|
|
395
406
|
"disabled": false,
|
|
407
|
+
"expand_output": false,
|
|
396
408
|
"hide_code": false,
|
|
397
409
|
},
|
|
398
410
|
"consoleOutputs": [],
|
|
@@ -422,6 +434,7 @@ exports[`cell reducer > can receive console when the cell is idle and will clear
|
|
|
422
434
|
"config": {
|
|
423
435
|
"column": null,
|
|
424
436
|
"disabled": false,
|
|
437
|
+
"expand_output": false,
|
|
425
438
|
"hide_code": false,
|
|
426
439
|
},
|
|
427
440
|
"consoleOutputs": [
|
|
@@ -458,6 +471,7 @@ exports[`cell reducer > can receive console when the cell is idle and will clear
|
|
|
458
471
|
"config": {
|
|
459
472
|
"column": null,
|
|
460
473
|
"disabled": false,
|
|
474
|
+
"expand_output": false,
|
|
461
475
|
"hide_code": false,
|
|
462
476
|
},
|
|
463
477
|
"consoleOutputs": [
|
|
@@ -494,6 +508,7 @@ exports[`cell reducer > can run a stale cell > queued message received 1`] = `
|
|
|
494
508
|
"config": {
|
|
495
509
|
"column": null,
|
|
496
510
|
"disabled": false,
|
|
511
|
+
"expand_output": false,
|
|
497
512
|
"hide_code": false,
|
|
498
513
|
},
|
|
499
514
|
"consoleOutputs": [],
|
|
@@ -523,6 +538,7 @@ exports[`cell reducer > can run a stale cell > stale inputs received 1`] = `
|
|
|
523
538
|
"config": {
|
|
524
539
|
"column": null,
|
|
525
540
|
"disabled": false,
|
|
541
|
+
"expand_output": false,
|
|
526
542
|
"hide_code": false,
|
|
527
543
|
},
|
|
528
544
|
"consoleOutputs": [],
|
|
@@ -552,6 +568,7 @@ exports[`cell reducer > can run a stopped cell > ancestor stopped 1`] = `
|
|
|
552
568
|
"config": {
|
|
553
569
|
"column": null,
|
|
554
570
|
"disabled": false,
|
|
571
|
+
"expand_output": false,
|
|
555
572
|
"hide_code": false,
|
|
556
573
|
},
|
|
557
574
|
"consoleOutputs": [],
|
|
@@ -592,6 +609,7 @@ exports[`cell reducer > can run a stopped cell > idle message received 1`] = `
|
|
|
592
609
|
"config": {
|
|
593
610
|
"column": null,
|
|
594
611
|
"disabled": false,
|
|
612
|
+
"expand_output": false,
|
|
595
613
|
"hide_code": false,
|
|
596
614
|
},
|
|
597
615
|
"consoleOutputs": [],
|
|
@@ -621,6 +639,7 @@ exports[`cell reducer > can run a stopped cell > queued after stop 1`] = `
|
|
|
621
639
|
"config": {
|
|
622
640
|
"column": null,
|
|
623
641
|
"disabled": false,
|
|
642
|
+
"expand_output": false,
|
|
624
643
|
"hide_code": false,
|
|
625
644
|
},
|
|
626
645
|
"consoleOutputs": [],
|
|
@@ -661,6 +680,7 @@ exports[`cell reducer > can run a stopped cell > queued message received 1`] = `
|
|
|
661
680
|
"config": {
|
|
662
681
|
"column": null,
|
|
663
682
|
"disabled": false,
|
|
683
|
+
"expand_output": false,
|
|
664
684
|
"hide_code": false,
|
|
665
685
|
},
|
|
666
686
|
"consoleOutputs": [],
|
|
@@ -690,6 +710,7 @@ exports[`cell reducer > can run a stopped cell > running after stop 1`] = `
|
|
|
690
710
|
"config": {
|
|
691
711
|
"column": null,
|
|
692
712
|
"disabled": false,
|
|
713
|
+
"expand_output": false,
|
|
693
714
|
"hide_code": false,
|
|
694
715
|
},
|
|
695
716
|
"consoleOutputs": [],
|
|
@@ -720,6 +741,7 @@ import numpy",
|
|
|
720
741
|
"config": {
|
|
721
742
|
"column": null,
|
|
722
743
|
"disabled": false,
|
|
744
|
+
"expand_output": false,
|
|
723
745
|
"hide_code": false,
|
|
724
746
|
},
|
|
725
747
|
"consoleOutputs": [
|
|
@@ -761,6 +783,7 @@ exports[`cell reducer > can run cell and receive cell messages > code edited 1`]
|
|
|
761
783
|
"config": {
|
|
762
784
|
"column": null,
|
|
763
785
|
"disabled": false,
|
|
786
|
+
"expand_output": false,
|
|
764
787
|
"hide_code": false,
|
|
765
788
|
},
|
|
766
789
|
"consoleOutputs": [],
|
|
@@ -791,6 +814,7 @@ import numpy",
|
|
|
791
814
|
"config": {
|
|
792
815
|
"column": null,
|
|
793
816
|
"disabled": false,
|
|
817
|
+
"expand_output": false,
|
|
794
818
|
"hide_code": false,
|
|
795
819
|
},
|
|
796
820
|
"consoleOutputs": [
|
|
@@ -832,6 +856,7 @@ exports[`cell reducer > can run cell and receive cell messages > code reverted 1
|
|
|
832
856
|
"config": {
|
|
833
857
|
"column": null,
|
|
834
858
|
"disabled": false,
|
|
859
|
+
"expand_output": false,
|
|
835
860
|
"hide_code": false,
|
|
836
861
|
},
|
|
837
862
|
"consoleOutputs": [
|
|
@@ -873,6 +898,7 @@ exports[`cell reducer > can run cell and receive cell messages > console message
|
|
|
873
898
|
"config": {
|
|
874
899
|
"column": null,
|
|
875
900
|
"disabled": false,
|
|
901
|
+
"expand_output": false,
|
|
876
902
|
"hide_code": false,
|
|
877
903
|
},
|
|
878
904
|
"consoleOutputs": [
|
|
@@ -910,6 +936,7 @@ import numpy",
|
|
|
910
936
|
"config": {
|
|
911
937
|
"column": null,
|
|
912
938
|
"disabled": false,
|
|
939
|
+
"expand_output": false,
|
|
913
940
|
"hide_code": false,
|
|
914
941
|
},
|
|
915
942
|
"consoleOutputs": [
|
|
@@ -958,6 +985,7 @@ exports[`cell reducer > can run cell and receive cell messages > initial state 1
|
|
|
958
985
|
"config": {
|
|
959
986
|
"column": null,
|
|
960
987
|
"disabled": false,
|
|
988
|
+
"expand_output": false,
|
|
961
989
|
"hide_code": false,
|
|
962
990
|
},
|
|
963
991
|
"consoleOutputs": [],
|
|
@@ -988,6 +1016,7 @@ import numpy",
|
|
|
988
1016
|
"config": {
|
|
989
1017
|
"column": null,
|
|
990
1018
|
"disabled": false,
|
|
1019
|
+
"expand_output": false,
|
|
991
1020
|
"hide_code": false,
|
|
992
1021
|
},
|
|
993
1022
|
"consoleOutputs": [
|
|
@@ -1034,6 +1063,7 @@ exports[`cell reducer > can run cell and receive cell messages > output received
|
|
|
1034
1063
|
"config": {
|
|
1035
1064
|
"column": null,
|
|
1036
1065
|
"disabled": false,
|
|
1066
|
+
"expand_output": false,
|
|
1037
1067
|
"hide_code": false,
|
|
1038
1068
|
},
|
|
1039
1069
|
"consoleOutputs": [
|
|
@@ -1075,6 +1105,7 @@ exports[`cell reducer > can run cell and receive cell messages > prepared for ru
|
|
|
1075
1105
|
"config": {
|
|
1076
1106
|
"column": null,
|
|
1077
1107
|
"disabled": false,
|
|
1108
|
+
"expand_output": false,
|
|
1078
1109
|
"hide_code": false,
|
|
1079
1110
|
},
|
|
1080
1111
|
"consoleOutputs": [],
|
|
@@ -1104,6 +1135,7 @@ exports[`cell reducer > can run cell and receive cell messages > queued message
|
|
|
1104
1135
|
"config": {
|
|
1105
1136
|
"column": null,
|
|
1106
1137
|
"disabled": false,
|
|
1138
|
+
"expand_output": false,
|
|
1107
1139
|
"hide_code": false,
|
|
1108
1140
|
},
|
|
1109
1141
|
"consoleOutputs": [],
|
|
@@ -1133,6 +1165,7 @@ exports[`cell reducer > can run cell and receive cell messages > running message
|
|
|
1133
1165
|
"config": {
|
|
1134
1166
|
"column": null,
|
|
1135
1167
|
"disabled": false,
|
|
1168
|
+
"expand_output": false,
|
|
1136
1169
|
"hide_code": false,
|
|
1137
1170
|
},
|
|
1138
1171
|
"consoleOutputs": [],
|
|
@@ -1162,6 +1195,7 @@ exports[`cell reducer > errors reset status to idle > code edited 1`] = `
|
|
|
1162
1195
|
"config": {
|
|
1163
1196
|
"column": null,
|
|
1164
1197
|
"disabled": false,
|
|
1198
|
+
"expand_output": false,
|
|
1165
1199
|
"hide_code": false,
|
|
1166
1200
|
},
|
|
1167
1201
|
"consoleOutputs": [],
|
|
@@ -1191,6 +1225,7 @@ exports[`cell reducer > errors reset status to idle > error response received 1`
|
|
|
1191
1225
|
"config": {
|
|
1192
1226
|
"column": null,
|
|
1193
1227
|
"disabled": false,
|
|
1228
|
+
"expand_output": false,
|
|
1194
1229
|
"hide_code": false,
|
|
1195
1230
|
},
|
|
1196
1231
|
"consoleOutputs": [],
|
|
@@ -1231,6 +1266,7 @@ exports[`cell reducer > errors reset status to idle > initial state 1`] = `
|
|
|
1231
1266
|
"config": {
|
|
1232
1267
|
"column": null,
|
|
1233
1268
|
"disabled": false,
|
|
1269
|
+
"expand_output": false,
|
|
1234
1270
|
"hide_code": false,
|
|
1235
1271
|
},
|
|
1236
1272
|
"consoleOutputs": [],
|
|
@@ -1260,6 +1296,7 @@ exports[`cell reducer > errors reset status to idle > prepared for run 1`] = `
|
|
|
1260
1296
|
"config": {
|
|
1261
1297
|
"column": null,
|
|
1262
1298
|
"disabled": false,
|
|
1299
|
+
"expand_output": false,
|
|
1263
1300
|
"hide_code": false,
|
|
1264
1301
|
},
|
|
1265
1302
|
"consoleOutputs": [],
|
|
@@ -380,6 +380,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
380
380
|
column: 0,
|
|
381
381
|
disabled: false,
|
|
382
382
|
hideCode: false,
|
|
383
|
+
expandOutput: false,
|
|
383
384
|
},
|
|
384
385
|
{
|
|
385
386
|
type: "set-config",
|
|
@@ -387,6 +388,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
387
388
|
column: 1,
|
|
388
389
|
disabled: false,
|
|
389
390
|
hideCode: false,
|
|
391
|
+
expandOutput: false,
|
|
390
392
|
},
|
|
391
393
|
]);
|
|
392
394
|
expect(prettyColumns(state)).toMatchInlineSnapshot(`
|
|
@@ -411,6 +413,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
411
413
|
column: 0,
|
|
412
414
|
disabled: false,
|
|
413
415
|
hideCode: false,
|
|
416
|
+
expandOutput: false,
|
|
414
417
|
},
|
|
415
418
|
{
|
|
416
419
|
type: "set-config",
|
|
@@ -418,6 +421,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
418
421
|
column: 1,
|
|
419
422
|
disabled: false,
|
|
420
423
|
hideCode: false,
|
|
424
|
+
expandOutput: false,
|
|
421
425
|
},
|
|
422
426
|
]);
|
|
423
427
|
expect(prettyColumns(state)).toMatchInlineSnapshot(`
|
|
@@ -439,6 +443,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
439
443
|
column: 0,
|
|
440
444
|
disabled: false,
|
|
441
445
|
hideCode: false,
|
|
446
|
+
expandOutput: false,
|
|
442
447
|
},
|
|
443
448
|
{
|
|
444
449
|
type: "set-config",
|
|
@@ -446,6 +451,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
446
451
|
column: 1,
|
|
447
452
|
disabled: false,
|
|
448
453
|
hideCode: false,
|
|
454
|
+
expandOutput: false,
|
|
449
455
|
},
|
|
450
456
|
{
|
|
451
457
|
type: "set-config",
|
|
@@ -453,6 +459,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
453
459
|
column: 2,
|
|
454
460
|
disabled: false,
|
|
455
461
|
hideCode: false,
|
|
462
|
+
expandOutput: false,
|
|
456
463
|
},
|
|
457
464
|
]);
|
|
458
465
|
expect(prettyColumns(state)).toMatchInlineSnapshot(`
|
|
@@ -475,6 +482,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
475
482
|
column: 0,
|
|
476
483
|
disabled: false,
|
|
477
484
|
hideCode: false,
|
|
485
|
+
expandOutput: false,
|
|
478
486
|
},
|
|
479
487
|
{
|
|
480
488
|
type: "set-config",
|
|
@@ -482,6 +490,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
482
490
|
column: 1,
|
|
483
491
|
disabled: false,
|
|
484
492
|
hideCode: false,
|
|
493
|
+
expandOutput: false,
|
|
485
494
|
},
|
|
486
495
|
{
|
|
487
496
|
type: "set-config",
|
|
@@ -489,6 +498,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
489
498
|
column: 0,
|
|
490
499
|
disabled: false,
|
|
491
500
|
hideCode: false,
|
|
501
|
+
expandOutput: false,
|
|
492
502
|
},
|
|
493
503
|
{
|
|
494
504
|
type: "set-config",
|
|
@@ -496,6 +506,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
496
506
|
column: 1,
|
|
497
507
|
disabled: false,
|
|
498
508
|
hideCode: false,
|
|
509
|
+
expandOutput: false,
|
|
499
510
|
},
|
|
500
511
|
]);
|
|
501
512
|
// a and c in col0; b and d in col1. Order within each column follows
|
|
@@ -518,6 +529,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
518
529
|
column: 1,
|
|
519
530
|
disabled: false,
|
|
520
531
|
hideCode: false,
|
|
532
|
+
expandOutput: false,
|
|
521
533
|
},
|
|
522
534
|
]);
|
|
523
535
|
// Without reorder-cells, the flat order comes from the current tree.
|
|
@@ -542,6 +554,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
542
554
|
column: null,
|
|
543
555
|
disabled: false,
|
|
544
556
|
hideCode: true,
|
|
557
|
+
expandOutput: false,
|
|
545
558
|
},
|
|
546
559
|
]);
|
|
547
560
|
// All three cells remain in a single column. No rebuild triggered.
|
|
@@ -571,6 +584,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
571
584
|
column: 0,
|
|
572
585
|
disabled: false,
|
|
573
586
|
hideCode: false,
|
|
587
|
+
expandOutput: false,
|
|
574
588
|
},
|
|
575
589
|
{
|
|
576
590
|
type: "set-config",
|
|
@@ -578,6 +592,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
578
592
|
column: 1,
|
|
579
593
|
disabled: false,
|
|
580
594
|
hideCode: false,
|
|
595
|
+
expandOutput: false,
|
|
581
596
|
},
|
|
582
597
|
]);
|
|
583
598
|
expect(prettyColumns(state)).toMatchInlineSnapshot(`
|
|
@@ -608,6 +623,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
608
623
|
column: 0,
|
|
609
624
|
disabled: false,
|
|
610
625
|
hideCode: false,
|
|
626
|
+
expandOutput: false,
|
|
611
627
|
},
|
|
612
628
|
{
|
|
613
629
|
type: "set-config",
|
|
@@ -615,6 +631,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
615
631
|
column: 1,
|
|
616
632
|
disabled: false,
|
|
617
633
|
hideCode: false,
|
|
634
|
+
expandOutput: false,
|
|
618
635
|
},
|
|
619
636
|
]);
|
|
620
637
|
expect(prettyColumns(state)).toMatchInlineSnapshot(`
|
|
@@ -632,6 +649,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
632
649
|
column: 0,
|
|
633
650
|
disabled: false,
|
|
634
651
|
hideCode: false,
|
|
652
|
+
expandOutput: false,
|
|
635
653
|
},
|
|
636
654
|
{
|
|
637
655
|
type: "set-config",
|
|
@@ -639,6 +657,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
639
657
|
column: 0,
|
|
640
658
|
disabled: false,
|
|
641
659
|
hideCode: false,
|
|
660
|
+
expandOutput: false,
|
|
642
661
|
},
|
|
643
662
|
]);
|
|
644
663
|
expect(prettyColumns(state)).toMatchInlineSnapshot(`
|
|
@@ -691,6 +710,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
691
710
|
column: 0,
|
|
692
711
|
disabled: false,
|
|
693
712
|
hideCode: false,
|
|
713
|
+
expandOutput: false,
|
|
694
714
|
},
|
|
695
715
|
{
|
|
696
716
|
type: "set-config",
|
|
@@ -698,6 +718,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
698
718
|
column: 1,
|
|
699
719
|
disabled: false,
|
|
700
720
|
hideCode: false,
|
|
721
|
+
expandOutput: false,
|
|
701
722
|
},
|
|
702
723
|
]);
|
|
703
724
|
expect(prettyColumns(state)).toMatchInlineSnapshot(`
|
|
@@ -752,6 +773,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
752
773
|
column: 0,
|
|
753
774
|
disabled: false,
|
|
754
775
|
hideCode: false,
|
|
776
|
+
expandOutput: false,
|
|
755
777
|
},
|
|
756
778
|
{
|
|
757
779
|
type: "set-config",
|
|
@@ -759,6 +781,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
759
781
|
column: 1,
|
|
760
782
|
disabled: false,
|
|
761
783
|
hideCode: false,
|
|
784
|
+
expandOutput: false,
|
|
762
785
|
},
|
|
763
786
|
]);
|
|
764
787
|
expect(prettyColumns(state)).toMatchInlineSnapshot(`
|
|
@@ -776,6 +799,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
776
799
|
column: 0,
|
|
777
800
|
disabled: false,
|
|
778
801
|
hideCode: false,
|
|
802
|
+
expandOutput: false,
|
|
779
803
|
},
|
|
780
804
|
]);
|
|
781
805
|
expect(prettyColumns(state)).toMatchInlineSnapshot(`
|
|
@@ -798,6 +822,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
798
822
|
column: 0,
|
|
799
823
|
disabled: false,
|
|
800
824
|
hideCode: false,
|
|
825
|
+
expandOutput: false,
|
|
801
826
|
},
|
|
802
827
|
{
|
|
803
828
|
type: "set-config",
|
|
@@ -805,6 +830,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
805
830
|
column: 1,
|
|
806
831
|
disabled: false,
|
|
807
832
|
hideCode: false,
|
|
833
|
+
expandOutput: false,
|
|
808
834
|
},
|
|
809
835
|
{
|
|
810
836
|
type: "set-config",
|
|
@@ -812,6 +838,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
812
838
|
column: 1,
|
|
813
839
|
disabled: false,
|
|
814
840
|
hideCode: false,
|
|
841
|
+
expandOutput: false,
|
|
815
842
|
},
|
|
816
843
|
]);
|
|
817
844
|
expect(prettyColumns(state)).toMatchInlineSnapshot(`
|
|
@@ -830,6 +857,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
830
857
|
column: 0,
|
|
831
858
|
disabled: false,
|
|
832
859
|
hideCode: false,
|
|
860
|
+
expandOutput: false,
|
|
833
861
|
},
|
|
834
862
|
]);
|
|
835
863
|
expect(prettyColumns(state)).toMatchInlineSnapshot(`
|
|
@@ -855,6 +883,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
855
883
|
column: 0,
|
|
856
884
|
disabled: false,
|
|
857
885
|
hideCode: false,
|
|
886
|
+
expandOutput: false,
|
|
858
887
|
},
|
|
859
888
|
{
|
|
860
889
|
type: "set-config",
|
|
@@ -862,6 +891,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
862
891
|
column: 1,
|
|
863
892
|
disabled: false,
|
|
864
893
|
hideCode: false,
|
|
894
|
+
expandOutput: false,
|
|
865
895
|
},
|
|
866
896
|
// reorder-cells comes afterwards.
|
|
867
897
|
{ type: "reorder-cells", cellIds: [a, b, c, d] },
|
|
@@ -889,6 +919,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
889
919
|
column: 0,
|
|
890
920
|
disabled: false,
|
|
891
921
|
hideCode: false,
|
|
922
|
+
expandOutput: false,
|
|
892
923
|
},
|
|
893
924
|
{ type: "set-code", cellId: a, code: "x = 1" },
|
|
894
925
|
{
|
|
@@ -897,6 +928,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
897
928
|
column: 1,
|
|
898
929
|
disabled: false,
|
|
899
930
|
hideCode: false,
|
|
931
|
+
expandOutput: false,
|
|
900
932
|
},
|
|
901
933
|
{ type: "reorder-cells", cellIds: [a, b, c, d] },
|
|
902
934
|
{ type: "set-name", cellId: d, name: "last" },
|
|
@@ -929,6 +961,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
929
961
|
column: 0,
|
|
930
962
|
disabled: false,
|
|
931
963
|
hideCode: false,
|
|
964
|
+
expandOutput: false,
|
|
932
965
|
},
|
|
933
966
|
{
|
|
934
967
|
type: "set-config",
|
|
@@ -936,6 +969,7 @@ describe("applyTransactionChanges column rebuild", () => {
|
|
|
936
969
|
column: 1,
|
|
937
970
|
disabled: false,
|
|
938
971
|
hideCode: false,
|
|
972
|
+
expandOutput: false,
|
|
939
973
|
},
|
|
940
974
|
]);
|
|
941
975
|
expect(prettyColumns(state)).toMatchInlineSnapshot(`
|