@marimo-team/islands 0.25.2-dev52 → 0.25.2-dev56
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-BDizDY3_.js → ConnectedDataExplorerComponent-DOJyF3tw.js} +3 -3
- package/dist/{ErrorBoundary-X8GFe4RJ.js → ErrorBoundary-CVCDTnQn.js} +1 -1
- package/dist/{chat-ui-DMu_DFfr.js → chat-ui-Da2o4rps.js} +4 -4
- package/dist/{code-visibility-Db9IUBeA.js → code-visibility-ChSJl-tu.js} +1 -1
- package/dist/{common-DfYa1H1W.js → common-BBMXVTgG.js} +11167 -11073
- package/dist/{data-grid-overlay-editor-BOE2bY0x.js → data-grid-overlay-editor-DtZ07a7D.js} +1 -1
- package/dist/dropdown-menu-Cz4TdOJh.js +4678 -0
- package/dist/{feedback-button-DqUX9myT.js → feedback-button-Dau56tFg.js} +2 -2
- package/dist/{glide-data-editor-C0K8Mz09.js → glide-data-editor-BIEsSrta.js} +5 -5
- package/dist/{globals-DFyPvjXG.js → globals-Dp8BcGgy.js} +1 -1
- package/dist/{html-to-image-CFSoonFo.js → html-to-image-C-XXpUFD.js} +3 -3
- package/dist/{label-DPWAFACU.js → label-DQO1jFjf.js} +8 -8
- package/dist/main.js +84 -84
- package/dist/{number-overlay-editor-C7Vo-tJJ.js → number-overlay-editor-CHlrf9f-.js} +1 -1
- package/dist/{process-output-D8io8maY.js → process-output-CdDN3Pdp.js} +1 -1
- package/dist/{reveal-component-Bg4oO5Fb.js → reveal-component-VEyGCQcx.js} +3 -3
- package/dist/{spec-rSPz3O6Q.js → spec-V5IXIHz1.js} +1 -1
- package/dist/{useDateFormatter-BTtPAD2R.js → useDateFormatter-DnT8h5fL.js} +3 -3
- package/package.json +3 -3
- package/src/components/editor/navigation/__tests__/navigation.test.ts +8 -8
- package/dist/dropdown-menu-R7yCbshA.js +0 -4472
package/dist/main.js
CHANGED
|
@@ -3,25 +3,25 @@ import { _ as a, c as o, g as s, h as c, i as l, l as u, m as d, n as f, o as p,
|
|
|
3
3
|
import { t as v } from "./react-ofJbxM4x.js";
|
|
4
4
|
import { t as y } from "./compiler-runtime-Cj8ZWiNS.js";
|
|
5
5
|
import { i as b, n as x, r as S, t as C } from "./copy-icon-BY7jgcaV.js";
|
|
6
|
-
import { C as w, F as T, G as E, I as D, J as O, K as k, L as A, P as j, R as M, X as N, Z as P, _ as F, a as I, b as L, g as R, i as ee, j as z, k as te, n as ne, o as re, q as ie, v as ae, y as oe } from "./html-to-image-
|
|
6
|
+
import { C as w, F as T, G as E, I as D, J as O, K as k, L as A, P as j, R as M, X as N, Z as P, _ as F, a as I, b as L, g as R, i as ee, j as z, k as te, n as ne, o as re, q as ie, v as ae, y as oe } from "./html-to-image-C-XXpUFD.js";
|
|
7
7
|
import { a as se, d as ce, f as le, h as B, i as ue, n as de, o as fe, r as pe, t as V } from "./tooltip-CuNWg2ay.js";
|
|
8
8
|
import { $ as me, $t as he, B as ge, Bt as _e, C as ve, Ct as ye, D as be, Dt as xe, Et as Se, F as Ce, G as we, Gt as Te, Ht as Ee, I as De, J as Oe, Jt as ke, Kt as Ae, L as je, O as Me, Ot as Ne, P as Pe, Pt as Fe, Q as Ie, Qt as Le, Rt as Re, S as ze, St as Be, T as Ve, Tt as He, U as Ue, W as We, Wt as Ge, bt as Ke, c as qe, cn as Je, ct as Ye, d as Xe, dn as Ze, dt as Qe, en as $e, f as et, fn as tt, ft as nt, g as rt, gt as it, h as at, hn as ot, k as st, l as ct, ln as lt, m as ut, mn as dt, n as ft, o as pt, on as mt, ot as ht, p as gt, q as _t, qt as vt, r as yt, rn as bt, rt as xt, sn as St, st as Ct, tn as wt, u as Tt, v as Et, w as Dt, wt as Ot, zt as kt } from "./cells-DzqPprAQ.js";
|
|
9
|
-
import { D as At, E as jt, O as Mt, S as Nt, T as Pt, _ as Ft, a as It, c as Lt, d as Rt, f as zt, g as Bt, h as Vt, i as Ht, l as Ut, m as Wt, n as Gt, o as Kt, p as qt, r as Jt, s as Yt, t as Xt, u as Zt, v as Qt, w as $t, x as en, y as tn } from "./spec-
|
|
10
|
-
import { $t as nn, A as rn, At as an, B as on, Bt as sn, C as cn, Ct as ln, D as un, Dt as dn, E as fn, Et as pn, F as mn, Ft as hn, G as gn, Gt as _n, H as vn, Ht as yn, I as bn, It as xn, J as Sn, Jt as Cn, K as wn, Kt as Tn, L as En, Lt as Dn, M as On, Mt as kn, N as An, Nt as jn, O as Mn, Ot as Nn, P as Pn, Pt as Fn, Qt as In, R as Ln, Rt as Rn, S as zn, St as Bn, T as Vn, Tt as Hn, U as Un, Ut as Wn, V as Gn, Vt as Kn, W as qn, Wt as Jn, X as Yn, Xt as Xn, Y as Zn, Yt as Qn, Zt as $n, _ as er, _t as tr, an as nr, at as rr, b as ir, c as ar, cn as or, ct as sr, d as cr, dn as lr, dt as ur, en as dr, et as fr, f as pr, fn as mr, ft as hr, g as gr, gt as _r, h as vr, hn as yr, ht as br, in as xr, it as Sr, j as Cr, jt as wr, k as Tr, kt as Er, ln as Dr, lt as Or, m as kr, mn as Ar, mt as jr, nn as Mr, nt as Nr, ot as Pr, p as Fr, pn as Ir, pt as Lr, q as Rr, qt as zr, r as Br, rn as Vr, rt as Hr, sn as Ur, st as Wr, t as Gr, tn as Kr, tt as qr, u as Jr, un as Yr, ut as Xr, v as Zr, vt as Qr, w as $r, wt as ei, x as ti, y as ni, yt as ri, z as ii, zt as ai } from "./common-
|
|
9
|
+
import { D as At, E as jt, O as Mt, S as Nt, T as Pt, _ as Ft, a as It, c as Lt, d as Rt, f as zt, g as Bt, h as Vt, i as Ht, l as Ut, m as Wt, n as Gt, o as Kt, p as qt, r as Jt, s as Yt, t as Xt, u as Zt, v as Qt, w as $t, x as en, y as tn } from "./spec-V5IXIHz1.js";
|
|
10
|
+
import { $t as nn, A as rn, At as an, B as on, Bt as sn, C as cn, Ct as ln, D as un, Dt as dn, E as fn, Et as pn, F as mn, Ft as hn, G as gn, Gt as _n, H as vn, Ht as yn, I as bn, It as xn, J as Sn, Jt as Cn, K as wn, Kt as Tn, L as En, Lt as Dn, M as On, Mt as kn, N as An, Nt as jn, O as Mn, Ot as Nn, P as Pn, Pt as Fn, Qt as In, R as Ln, Rt as Rn, S as zn, St as Bn, T as Vn, Tt as Hn, U as Un, Ut as Wn, V as Gn, Vt as Kn, W as qn, Wt as Jn, X as Yn, Xt as Xn, Y as Zn, Yt as Qn, Zt as $n, _ as er, _t as tr, an as nr, at as rr, b as ir, c as ar, cn as or, ct as sr, d as cr, dn as lr, dt as ur, en as dr, et as fr, f as pr, fn as mr, ft as hr, g as gr, gt as _r, h as vr, hn as yr, ht as br, in as xr, it as Sr, j as Cr, jt as wr, k as Tr, kt as Er, ln as Dr, lt as Or, m as kr, mn as Ar, mt as jr, nn as Mr, nt as Nr, ot as Pr, p as Fr, pn as Ir, pt as Lr, q as Rr, qt as zr, r as Br, rn as Vr, rt as Hr, sn as Ur, st as Wr, t as Gr, tn as Kr, tt as qr, u as Jr, un as Yr, ut as Xr, v as Zr, vt as Qr, w as $r, wt as ei, x as ti, y as ni, yt as ri, z as ii, zt as ai } from "./common-BBMXVTgG.js";
|
|
11
11
|
import { c as oi, i as si, n as ci, o as li, t as ui } from "./useLifecycle-B68iY077.js";
|
|
12
12
|
import { t as di } from "./check-CNP79M3A.js";
|
|
13
13
|
import { A as fi, C as pi, D as mi, E as hi, M as gi, O as _i, S as vi, T as yi, a as bi, b as xi, c as Si, i as Ci, k as wi, l as Ti, n as Ei, o as Di, r as Oi, s as ki, t as Ai, w as ji, x as Mi } from "./select-Bs-nmvm6.js";
|
|
14
|
-
import {
|
|
14
|
+
import { $ as Ni, C as Pi, Et as Fi, J as Ii, K as Li, R as Ri, S as zi, U as Bi, Y as Vi, _ as Hi, _n as Ui, a as Wi, c as Gi, f as Ki, g as qi, h as Ji, i as Yi, kt as Xi, m as Zi, mt as Qi, n as $i, p as ea, q as ta, r as na, s as ra, t as ia, ut as aa, v as oa, vn as sa, x as ca, z as la } from "./dropdown-menu-Cz4TdOJh.js";
|
|
15
15
|
import { C as ua, S as da, T as fa, _ as pa, c as ma, d as ha, f as ga, g as _a, h as va, m as ya, u as ba, x as xa, y as Sa } from "./toDate-vEi5kTfY.js";
|
|
16
|
-
import { a as Ca, c as wa, d as Ta, f as Ea, i as Da, l as Oa, n as ka, o as Aa, r as ja, s as Ma, t as Na } from "./process-output-
|
|
16
|
+
import { a as Ca, c as wa, d as Ta, f as Ea, i as Da, l as Oa, n as ka, o as Aa, r as ja, s as Ma, t as Na } from "./process-output-CdDN3Pdp.js";
|
|
17
17
|
import { a as Pa, c as Fa, d as Ia, i as La, l as Ra, r as za, u as Ba } from "./glide-utils-BVJ4fkxX.js";
|
|
18
|
-
import { n as Va, t as Ha } from "./ErrorBoundary-
|
|
19
|
-
import { n as Ua, t as Wa } from "./globals-
|
|
18
|
+
import { n as Va, t as Ha } from "./ErrorBoundary-CVCDTnQn.js";
|
|
19
|
+
import { n as Ua, t as Wa } from "./globals-Dp8BcGgy.js";
|
|
20
20
|
import { t as Ga } from "./react-dom-BUgJ-ab_.js";
|
|
21
21
|
import { t as Ka } from "./jsx-runtime-DgDPJV9S.js";
|
|
22
22
|
import { B as qa, C as H, Ct as Ja, D as Ya, E as Xa, F as U, G as Za, H as Qa, I as $a, L as eo, M as W, N as to, O as no, P as ro, Q as io, R as ao, S as G, St as oo, Tt as so, U as co, W as lo, Y as uo, Z as fo, _ as po, _t as mo, a as ho, b as go, bt as _o, c as vo, d as yo, f as bo, g as xo, h as So, ht as Co, i as wo, j as K, k as To, l as Eo, m as Do, n as Oo, o as ko, p as Ao, r as jo, s as Mo, u as No, ut as Po, v as Fo, vt as Io, w as Lo, wt as Ro, x as zo, xt as Bo, y as Vo, yt as Ho } from "./use-restore-focus-kmgwrL8q.js";
|
|
23
23
|
import { i as Uo, n as Wo, r as Go, t as Ko } from "./error-banner-D30nA9nE.js";
|
|
24
|
-
import { a as qo, i as Jo, n as Yo, t as Xo } from "./label-
|
|
24
|
+
import { a as qo, i as Jo, n as Yo, t as Xo } from "./label-DQO1jFjf.js";
|
|
25
25
|
import { a as Zo } from "./hasIn-o2Us0uVx.js";
|
|
26
26
|
import { n as Qo, t as $o } from "./pick-CJeoxYOS.js";
|
|
27
27
|
import { t as es } from "./debounce-C3jyATpc.js";
|
|
@@ -39,7 +39,7 @@ import { t as Ms } from "./useAsyncData-rkAlR_vh.js";
|
|
|
39
39
|
import { i as Ns, n as Ps, r as Fs } from "./formats-DhhbdyAH.js";
|
|
40
40
|
import { M as Is, N as Ls } from "./vega-loader.browser-DNST6uVf.js";
|
|
41
41
|
import { a as Rs, n as zs } from "./loader-Cm-ATtou.js";
|
|
42
|
-
import { c as Bs, d as Vs, i as Hs, l as Us, o as Ws, s as Gs, t as Ks, u as qs } from "./code-visibility-
|
|
42
|
+
import { c as Bs, d as Vs, i as Hs, l as Us, o as Ws, s as Gs, t as Ks, u as qs } from "./code-visibility-ChSJl-tu.js";
|
|
43
43
|
import { t as Js } from "./useDeepCompareMemoize-BlHFBj5_.js";
|
|
44
44
|
import { t as Ys } from "./esm-D2gTsXEV.js";
|
|
45
45
|
//#region ../node_modules/.pnpm/iconify-icon@2.3.0/node_modules/iconify-icon/dist/iconify-icon.mjs
|
|
@@ -2815,21 +2815,21 @@ var rp = Object.defineProperty, ip = (e, t) => rp(e, "name", {
|
|
|
2815
2815
|
});
|
|
2816
2816
|
}, "Toggle"));
|
|
2817
2817
|
//#endregion
|
|
2818
|
-
//#region ../node_modules/.pnpm
|
|
2818
|
+
//#region ../node_modules/.pnpm/react-aria@3.52.1_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/react-aria/dist/private/button/useToggleButton.mjs
|
|
2819
2819
|
function sp(e, t, n) {
|
|
2820
|
-
let { isSelected: r } = t, { isPressed: i, buttonProps: a } =
|
|
2820
|
+
let { isSelected: r } = t, { isPressed: i, buttonProps: a } = aa({
|
|
2821
2821
|
...e,
|
|
2822
|
-
onPress:
|
|
2822
|
+
onPress: Xi(t.toggle, e.onPress)
|
|
2823
2823
|
}, n);
|
|
2824
2824
|
return {
|
|
2825
2825
|
isPressed: i,
|
|
2826
2826
|
isSelected: r,
|
|
2827
2827
|
isDisabled: e.isDisabled || !1,
|
|
2828
|
-
buttonProps:
|
|
2828
|
+
buttonProps: Fi(a, { "aria-pressed": r })
|
|
2829
2829
|
};
|
|
2830
2830
|
}
|
|
2831
2831
|
//#endregion
|
|
2832
|
-
//#region ../node_modules/.pnpm
|
|
2832
|
+
//#region ../node_modules/.pnpm/react-aria@3.52.1_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/react-aria/dist/private/button/useToggleButtonGroup.mjs
|
|
2833
2833
|
function cp(e, t, n) {
|
|
2834
2834
|
let r = {
|
|
2835
2835
|
isSelected: t.selectedKeys.has(e.id),
|
|
@@ -2853,9 +2853,9 @@ function cp(e, t, n) {
|
|
|
2853
2853
|
};
|
|
2854
2854
|
}
|
|
2855
2855
|
//#endregion
|
|
2856
|
-
//#region ../node_modules/.pnpm
|
|
2856
|
+
//#region ../node_modules/.pnpm/react-stately@3.50.0_react@19.2.8/node_modules/react-stately/dist/private/toggle/useToggleState.mjs
|
|
2857
2857
|
function lp(e = {}) {
|
|
2858
|
-
let { isReadOnly: t } = e, [n, r] =
|
|
2858
|
+
let { isReadOnly: t } = e, [n, r] = Ni(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, J.useState)(n);
|
|
2859
2859
|
function a(e) {
|
|
2860
2860
|
t || r(e);
|
|
2861
2861
|
}
|
|
@@ -4330,9 +4330,9 @@ var Dh = (e) => {
|
|
|
4330
4330
|
};
|
|
4331
4331
|
Dh.displayName = "FormMessageTooltip";
|
|
4332
4332
|
//#endregion
|
|
4333
|
-
//#region ../node_modules/.pnpm/react-aria-components@1.
|
|
4333
|
+
//#region ../node_modules/.pnpm/react-aria-components@1.21.1_react-dom@19.2.8_react@19.2.8__react@19.2.8/node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
|
|
4334
4334
|
var Oh = /*#__PURE__*/ (0, J.createContext)({ isSelected: !1 }), kh = /*#__PURE__*/ (0, J.createContext)(null), Ah = /*#__PURE__*/ (0, J.createContext)({}), jh = /*#__PURE__*/ (0, J.forwardRef)(function(e, t) {
|
|
4335
|
-
[e, t] =
|
|
4335
|
+
[e, t] = Ri(e, t, Ah);
|
|
4336
4336
|
let n = (0, J.useContext)(kh), r = lp(n && e.id != null ? {
|
|
4337
4337
|
isSelected: n.selectedKeys.has(e.id),
|
|
4338
4338
|
onChange(t) {
|
|
@@ -4344,10 +4344,10 @@ var Oh = /*#__PURE__*/ (0, J.createContext)({ isSelected: !1 }), kh = /*#__PURE_
|
|
|
4344
4344
|
}, n, t) : sp({
|
|
4345
4345
|
...e,
|
|
4346
4346
|
id: e.id == null ? void 0 : String(e.id)
|
|
4347
|
-
}, r, t), { focusProps: c, isFocused: l, isFocusVisible: u } =
|
|
4347
|
+
}, r, t), { focusProps: c, isFocused: l, isFocusVisible: u } = Vi(e), { hoverProps: d, isHovered: f } = Ii({
|
|
4348
4348
|
...e,
|
|
4349
4349
|
isDisabled: s
|
|
4350
|
-
}), p =
|
|
4350
|
+
}), p = la({
|
|
4351
4351
|
...e,
|
|
4352
4352
|
id: void 0,
|
|
4353
4353
|
values: {
|
|
@@ -4360,9 +4360,9 @@ var Oh = /*#__PURE__*/ (0, J.createContext)({ isSelected: !1 }), kh = /*#__PURE_
|
|
|
4360
4360
|
state: r
|
|
4361
4361
|
},
|
|
4362
4362
|
defaultClassName: "react-aria-ToggleButton"
|
|
4363
|
-
}), m =
|
|
4363
|
+
}), m = Qi(e, { global: !0 });
|
|
4364
4364
|
return delete m.id, delete m.onClick, /*#__PURE__*/ J.createElement(Bi.button, {
|
|
4365
|
-
...
|
|
4365
|
+
...Fi(m, p, i, c, d),
|
|
4366
4366
|
ref: t,
|
|
4367
4367
|
slot: e.slot || void 0,
|
|
4368
4368
|
"data-focused": l || void 0,
|
|
@@ -4407,7 +4407,7 @@ var Nh = J.forwardRef((e, t) => {
|
|
|
4407
4407
|
delay: a.delay,
|
|
4408
4408
|
onChange: i
|
|
4409
4409
|
}, n[4] = i, n[5] = a.delay, n[6] = a.value, n[7] = o) : o = n[7];
|
|
4410
|
-
let { value: s, onChange: c } =
|
|
4410
|
+
let { value: s, onChange: c } = Li(o), l;
|
|
4411
4411
|
n[8] === c ? l = n[9] : (l = (e) => c(e.target.value), n[8] = c, n[9] = l);
|
|
4412
4412
|
let u;
|
|
4413
4413
|
return n[10] !== r || n[11] !== a || n[12] !== t || n[13] !== l || n[14] !== s ? (u = /* @__PURE__ */ (0, Y.jsx)(Mh, {
|
|
@@ -4666,7 +4666,7 @@ function Yh({ schema: e, form: t, path: n, renderers: r }) {
|
|
|
4666
4666
|
render: ({ field: e }) => /* @__PURE__ */ (0, Y.jsxs)(Sh, { children: [
|
|
4667
4667
|
/* @__PURE__ */ (0, Y.jsx)(Ch, { children: i }),
|
|
4668
4668
|
/* @__PURE__ */ (0, Y.jsx)(Th, { children: a }),
|
|
4669
|
-
/* @__PURE__ */ (0, Y.jsx)(wh, { children: /* @__PURE__ */ (0, Y.jsx)(
|
|
4669
|
+
/* @__PURE__ */ (0, Y.jsx)(wh, { children: /* @__PURE__ */ (0, Y.jsx)(ea, {
|
|
4670
4670
|
...e,
|
|
4671
4671
|
onValueChange: e.onChange,
|
|
4672
4672
|
type: "time",
|
|
@@ -4713,7 +4713,7 @@ function Yh({ schema: e, form: t, path: n, renderers: r }) {
|
|
|
4713
4713
|
render: ({ field: e }) => /* @__PURE__ */ (0, Y.jsxs)(Sh, { children: [
|
|
4714
4714
|
/* @__PURE__ */ (0, Y.jsx)(Ch, { children: i }),
|
|
4715
4715
|
/* @__PURE__ */ (0, Y.jsx)(Th, { children: a }),
|
|
4716
|
-
/* @__PURE__ */ (0, Y.jsx)(wh, { children: /* @__PURE__ */ (0, Y.jsx)(
|
|
4716
|
+
/* @__PURE__ */ (0, Y.jsx)(wh, { children: /* @__PURE__ */ (0, Y.jsx)(Zi, {
|
|
4717
4717
|
...e,
|
|
4718
4718
|
className: "my-0",
|
|
4719
4719
|
onValueChange: e.onChange
|
|
@@ -4729,7 +4729,7 @@ function Yh({ schema: e, form: t, path: n, renderers: r }) {
|
|
|
4729
4729
|
render: ({ field: t }) => /* @__PURE__ */ (0, Y.jsxs)(Sh, { children: [
|
|
4730
4730
|
/* @__PURE__ */ (0, Y.jsx)(Ch, { children: i }),
|
|
4731
4731
|
/* @__PURE__ */ (0, Y.jsx)(Th, { children: a }),
|
|
4732
|
-
/* @__PURE__ */ (0, Y.jsx)(wh, { children: /* @__PURE__ */ (0, Y.jsx)(
|
|
4732
|
+
/* @__PURE__ */ (0, Y.jsx)(wh, { children: /* @__PURE__ */ (0, Y.jsx)(ea, {
|
|
4733
4733
|
...t,
|
|
4734
4734
|
onValueChange: t.onChange,
|
|
4735
4735
|
type: e,
|
|
@@ -4974,7 +4974,7 @@ var Xh = (e) => {
|
|
|
4974
4974
|
return /* @__PURE__ */ (0, Y.jsxs)(Sh, { children: [
|
|
4975
4975
|
/* @__PURE__ */ (0, Y.jsx)(Ch, { children: o }),
|
|
4976
4976
|
/* @__PURE__ */ (0, Y.jsx)(Th, { children: s }),
|
|
4977
|
-
/* @__PURE__ */ (0, Y.jsx)(wh, { children: /* @__PURE__ */ (0, Y.jsx)(
|
|
4977
|
+
/* @__PURE__ */ (0, Y.jsx)(wh, { children: /* @__PURE__ */ (0, Y.jsx)(ea, {
|
|
4978
4978
|
...t,
|
|
4979
4979
|
type: u,
|
|
4980
4980
|
value: t.value,
|
|
@@ -9688,7 +9688,7 @@ var TS = wS("marimo-anywidget").withData(W({ modelId: Lo(og, { message: "Expecte
|
|
|
9688
9688
|
let i, a, o;
|
|
9689
9689
|
if (t[1] !== r || t[2] !== n) {
|
|
9690
9690
|
let e = n.split("-");
|
|
9691
|
-
i =
|
|
9691
|
+
i = Gi, t[6] === r ? a = t[7] : (a = c("flex gap-1 items-center", r), t[6] = r, t[7] = a), o = e.map(kS).map(NS), t[1] = r, t[2] = n, t[3] = i, t[4] = a, t[5] = o;
|
|
9692
9692
|
} else i = t[3], a = t[4], o = t[5];
|
|
9693
9693
|
let s;
|
|
9694
9694
|
return t[8] !== i || t[9] !== a || t[10] !== o ? (s = /* @__PURE__ */ (0, Y.jsx)(i, {
|
|
@@ -9996,7 +9996,7 @@ var LS = (e) => {
|
|
|
9996
9996
|
onChange: u,
|
|
9997
9997
|
disabled: f
|
|
9998
9998
|
}, t[2] = e.setValue, t[3] = e.value, t[4] = l, t[5] = f, t[6] = p) : p = t[6];
|
|
9999
|
-
let { onChange: m } =
|
|
9999
|
+
let { onChange: m } = Li(p), h;
|
|
10000
10000
|
t[7] !== e || t[8] !== m ? (h = (t) => {
|
|
10001
10001
|
s((e) => t), typeof e.debounce == "number" ? m(t) : e.debounce || e.setValue(t);
|
|
10002
10002
|
}, t[7] = e, t[8] = m, t[9] = h) : h = t[9];
|
|
@@ -10048,7 +10048,7 @@ var LS = (e) => {
|
|
|
10048
10048
|
output: t
|
|
10049
10049
|
};
|
|
10050
10050
|
} };
|
|
10051
|
-
} }, US = J.lazy(() => import("./chat-ui-
|
|
10051
|
+
} }, US = J.lazy(() => import("./chat-ui-Da2o4rps.js").then((e) => ({ default: e.Chatbot }))), WS = G(W({
|
|
10052
10052
|
id: U(),
|
|
10053
10053
|
role: Fo([
|
|
10054
10054
|
"system",
|
|
@@ -10514,7 +10514,7 @@ function VC(e, t) {
|
|
|
10514
10514
|
}
|
|
10515
10515
|
//#endregion
|
|
10516
10516
|
//#region src/plugins/impl/DataEditorPlugin.tsx
|
|
10517
|
-
var HC = J.lazy(() => import("./glide-data-editor-
|
|
10517
|
+
var HC = J.lazy(() => import("./glide-data-editor-BIEsSrta.js").then((e) => e.t)), UC = wS("marimo-data-editor", { cssStyles: [qS] }).withData(W({
|
|
10518
10518
|
initialValue: W({ edits: G(W({
|
|
10519
10519
|
rowIdx: K(),
|
|
10520
10520
|
columnId: U(),
|
|
@@ -10875,7 +10875,7 @@ var fw = J.forwardRef((e, t) => {
|
|
|
10875
10875
|
})
|
|
10876
10876
|
}), n[8] = s.setFalse, n[9] = s.setTrue, n[10] = p) : p = n[10];
|
|
10877
10877
|
let m;
|
|
10878
|
-
n[11] !== l || n[12] !== i.value || n[13] !== a ? (m = i.value != null && i.value.length === 1 && /* @__PURE__ */ (0, Y.jsx)(de, { children:
|
|
10878
|
+
n[11] !== l || n[12] !== i.value || n[13] !== a ? (m = i.value != null && i.value.length === 1 && /* @__PURE__ */ (0, Y.jsx)(de, { children: zi(a(i.value[0]), { locale: l }) }, i.value[0]), n[11] = l, n[12] = i.value, n[13] = a, n[14] = m) : m = n[14];
|
|
10879
10879
|
let h;
|
|
10880
10880
|
n[15] === m ? h = n[16] : (h = /* @__PURE__ */ (0, Y.jsx)(pe, { children: m }), n[15] = m, n[16] = h);
|
|
10881
10881
|
let g;
|
|
@@ -12516,7 +12516,7 @@ var kw = (e) => {
|
|
|
12516
12516
|
let { field: t } = e;
|
|
12517
12517
|
return /* @__PURE__ */ (0, Y.jsxs)(Sh, {
|
|
12518
12518
|
className: "flex flex-row gap-2 items-center",
|
|
12519
|
-
children: [/* @__PURE__ */ (0, Y.jsx)(Ch, { children: r }), /* @__PURE__ */ (0, Y.jsx)(wh, { children: /* @__PURE__ */ (0, Y.jsx)(
|
|
12519
|
+
children: [/* @__PURE__ */ (0, Y.jsx)(Ch, { children: r }), /* @__PURE__ */ (0, Y.jsx)(wh, { children: /* @__PURE__ */ (0, Y.jsx)(ea, {
|
|
12520
12520
|
...t,
|
|
12521
12521
|
value: t.value ?? "",
|
|
12522
12522
|
onValueChange: t.onChange,
|
|
@@ -12541,7 +12541,7 @@ var kw = (e) => {
|
|
|
12541
12541
|
children: [/* @__PURE__ */ (0, Y.jsx)(Ch, {
|
|
12542
12542
|
className: "whitespace-nowrap",
|
|
12543
12543
|
children: o
|
|
12544
|
-
}), /* @__PURE__ */ (0, Y.jsx)(wh, { children: /* @__PURE__ */ (0, Y.jsx)(
|
|
12544
|
+
}), /* @__PURE__ */ (0, Y.jsx)(wh, { children: /* @__PURE__ */ (0, Y.jsx)(Zi, {
|
|
12545
12545
|
...t,
|
|
12546
12546
|
value: t.value,
|
|
12547
12547
|
onValueChange: t.onChange,
|
|
@@ -13791,7 +13791,7 @@ var eE = ({ cellId: e, data: t, dataTable: n, totalRows: r, columns: i, getDataU
|
|
|
13791
13791
|
className: "border-border ml-auto",
|
|
13792
13792
|
onClick: () => m((e) => !e),
|
|
13793
13793
|
title: p ? "Expand sidebar" : "Collapse sidebar",
|
|
13794
|
-
children: p ? /* @__PURE__ */ (0, Y.jsx)(
|
|
13794
|
+
children: p ? /* @__PURE__ */ (0, Y.jsx)(sa, { className: "w-4 h-5" }) : /* @__PURE__ */ (0, Y.jsx)(Ar, { className: "w-4 h-5" })
|
|
13795
13795
|
})]
|
|
13796
13796
|
}), /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
13797
13797
|
className: "flex-1 overflow-auto h-full w-full mt-3",
|
|
@@ -13848,7 +13848,7 @@ var eE = ({ cellId: e, data: t, dataTable: n, totalRows: r, columns: i, getDataU
|
|
|
13848
13848
|
let e = n.getValues();
|
|
13849
13849
|
r(e);
|
|
13850
13850
|
}, t[3] = n, t[4] = r, t[5] = c) : c = t[5];
|
|
13851
|
-
let l =
|
|
13851
|
+
let l = ta(c, 300), u = CT;
|
|
13852
13852
|
a === Ut.PIE ? u = kT : a === Ut.HEATMAP && (u = OT);
|
|
13853
13853
|
let d;
|
|
13854
13854
|
t[6] !== a || t[7] !== l || t[8] !== s ? (d = {
|
|
@@ -14140,7 +14140,7 @@ function gE({ columnName: e, column: t, dataType: n, externalType: r, previewCol
|
|
|
14140
14140
|
onSelect: () => u(!l),
|
|
14141
14141
|
className: "flex flex-row items-center gap-1.5 group w-full cursor-pointer",
|
|
14142
14142
|
children: [
|
|
14143
|
-
l ? /* @__PURE__ */ (0, Y.jsx)(gi, { className: "w-3 h-3 shrink-0 text-muted-foreground" }) : /* @__PURE__ */ (0, Y.jsx)(
|
|
14143
|
+
l ? /* @__PURE__ */ (0, Y.jsx)(gi, { className: "w-3 h-3 shrink-0 text-muted-foreground" }) : /* @__PURE__ */ (0, Y.jsx)(sa, { className: "w-3 h-3 shrink-0 text-muted-foreground" }),
|
|
14144
14144
|
/* @__PURE__ */ (0, Y.jsx)(fn, {
|
|
14145
14145
|
columnName: /* @__PURE__ */ (0, Y.jsx)("span", {
|
|
14146
14146
|
className: l ? "font-semibold" : "",
|
|
@@ -14311,7 +14311,7 @@ var _E = ({ previewColumn: e, columnName: t, dataType: n }) => {
|
|
|
14311
14311
|
onClick: () => _(e + 1),
|
|
14312
14312
|
disabled: !p && e === n - 1,
|
|
14313
14313
|
"aria-label": "Next row",
|
|
14314
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
14314
|
+
children: /* @__PURE__ */ (0, Y.jsx)(sa, {})
|
|
14315
14315
|
}),
|
|
14316
14316
|
/* @__PURE__ */ (0, Y.jsx)(g, {
|
|
14317
14317
|
variant: "outline",
|
|
@@ -15472,7 +15472,7 @@ var nD = class {
|
|
|
15472
15472
|
fullWidth: s,
|
|
15473
15473
|
children: _
|
|
15474
15474
|
}), t[20] = s, t[21] = u, t[22] = n, t[23] = _, t[24] = v) : v = t[24], v;
|
|
15475
|
-
}, aD = J.lazy(() => import("./ConnectedDataExplorerComponent-
|
|
15475
|
+
}, aD = J.lazy(() => import("./ConnectedDataExplorerComponent-DOJyF3tw.js")), oD = wS("marimo-data-explorer").withData(W({
|
|
15476
15476
|
label: U().nullish(),
|
|
15477
15477
|
data: U()
|
|
15478
15478
|
})).renderer((e) => /* @__PURE__ */ (0, Y.jsx)(aD, {
|
|
@@ -15611,7 +15611,7 @@ var nD = class {
|
|
|
15611
15611
|
render: ({ field: e }) => /* @__PURE__ */ (0, Y.jsxs)(Sh, { children: [
|
|
15612
15612
|
/* @__PURE__ */ (0, Y.jsx)(Ch, { children: r }),
|
|
15613
15613
|
/* @__PURE__ */ (0, Y.jsx)(Th, { children: i }),
|
|
15614
|
-
/* @__PURE__ */ (0, Y.jsx)(wh, { children: /* @__PURE__ */ (0, Y.jsx)(
|
|
15614
|
+
/* @__PURE__ */ (0, Y.jsx)(wh, { children: /* @__PURE__ */ (0, Y.jsx)(ea, {
|
|
15615
15615
|
...e,
|
|
15616
15616
|
value: e.value,
|
|
15617
15617
|
onValueChange: e.onChange,
|
|
@@ -16017,16 +16017,16 @@ var wD = ({ initialValue: e, columns: t, onChange: n, onInvalidChange: r, getCol
|
|
|
16017
16017
|
}), t[14] = l, t[15] = d, t[16] = f) : f = t[16], f;
|
|
16018
16018
|
}, ED = (e) => {
|
|
16019
16019
|
let t = (0, X.c)(12), { onAdd: n, children: r } = e, i;
|
|
16020
|
-
t[0] === r ? i = t[1] : (i = /* @__PURE__ */ (0, Y.jsx)(
|
|
16020
|
+
t[0] === r ? i = t[1] : (i = /* @__PURE__ */ (0, Y.jsx)(Ki, {
|
|
16021
16021
|
asChild: !0,
|
|
16022
16022
|
children: r
|
|
16023
16023
|
}), t[0] = r, t[1] = i);
|
|
16024
16024
|
let a, o;
|
|
16025
|
-
t[2] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ (0, Y.jsx)(
|
|
16025
|
+
t[2] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ (0, Y.jsx)(Wi, { children: "Add Transform" }), o = /* @__PURE__ */ (0, Y.jsx)(ra, {}), t[2] = a, t[3] = o) : (a = t[2], o = t[3]);
|
|
16026
16026
|
let s;
|
|
16027
16027
|
t[4] === n ? s = t[5] : (s = Object.values(PC.options).map((e) => {
|
|
16028
16028
|
let t = Lh(e), r = DD[t.value];
|
|
16029
|
-
return /* @__PURE__ */ (0, Y.jsxs)(
|
|
16029
|
+
return /* @__PURE__ */ (0, Y.jsxs)(Yi, {
|
|
16030
16030
|
onSelect: (t) => {
|
|
16031
16031
|
t.stopPropagation(), n(e);
|
|
16032
16032
|
},
|
|
@@ -16034,7 +16034,7 @@ var wD = ({ initialValue: e, columns: t, onChange: n, onInvalidChange: r, getCol
|
|
|
16034
16034
|
}, t.value);
|
|
16035
16035
|
}), t[4] = n, t[5] = s);
|
|
16036
16036
|
let c;
|
|
16037
|
-
t[6] === Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ (0, Y.jsx)(
|
|
16037
|
+
t[6] === Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ (0, Y.jsx)(Yi, {
|
|
16038
16038
|
onSelect: OD,
|
|
16039
16039
|
children: /* @__PURE__ */ (0, Y.jsx)("span", {
|
|
16040
16040
|
className: "underline text-primary text-xs cursor-pointer",
|
|
@@ -16042,16 +16042,16 @@ var wD = ({ initialValue: e, columns: t, onChange: n, onInvalidChange: r, getCol
|
|
|
16042
16042
|
})
|
|
16043
16043
|
}, "_request_"), t[6] = c) : c = t[6];
|
|
16044
16044
|
let l;
|
|
16045
|
-
t[7] === s ? l = t[8] : (l = /* @__PURE__ */ (0, Y.jsxs)(
|
|
16045
|
+
t[7] === s ? l = t[8] : (l = /* @__PURE__ */ (0, Y.jsxs)($i, {
|
|
16046
16046
|
className: "w-56",
|
|
16047
16047
|
children: [
|
|
16048
16048
|
a,
|
|
16049
16049
|
o,
|
|
16050
|
-
/* @__PURE__ */ (0, Y.jsxs)(
|
|
16050
|
+
/* @__PURE__ */ (0, Y.jsxs)(na, { children: [s, c] })
|
|
16051
16051
|
]
|
|
16052
16052
|
}), t[7] = s, t[8] = l);
|
|
16053
16053
|
let u;
|
|
16054
|
-
return t[9] !== i || t[10] !== l ? (u = /* @__PURE__ */ (0, Y.jsxs)(
|
|
16054
|
+
return t[9] !== i || t[10] !== l ? (u = /* @__PURE__ */ (0, Y.jsxs)(ia, {
|
|
16055
16055
|
modal: !1,
|
|
16056
16056
|
children: [i, l]
|
|
16057
16057
|
}), t[9] = i, t[10] = l, t[11] = u) : u = t[11], u;
|
|
@@ -16609,7 +16609,7 @@ var BD = ({ value: e, setValue: t, initialPath: n, selectionMode: r, multiple: i
|
|
|
16609
16609
|
let n = t === B.length - 1;
|
|
16610
16610
|
return /* @__PURE__ */ (0, Y.jsxs)("li", {
|
|
16611
16611
|
className: "flex items-center gap-0.5",
|
|
16612
|
-
children: [t > 0 && /* @__PURE__ */ (0, Y.jsx)(
|
|
16612
|
+
children: [t > 0 && /* @__PURE__ */ (0, Y.jsx)(sa, {
|
|
16613
16613
|
size: 14,
|
|
16614
16614
|
className: "text-muted-foreground shrink-0",
|
|
16615
16615
|
"aria-hidden": !0
|
|
@@ -19374,7 +19374,7 @@ var qk = (e) => {
|
|
|
19374
19374
|
variant: "secondary",
|
|
19375
19375
|
onClick: n,
|
|
19376
19376
|
className: "w-[50px]",
|
|
19377
|
-
children: /* @__PURE__ */ (0, Y.jsx)(
|
|
19377
|
+
children: /* @__PURE__ */ (0, Y.jsx)(Ui, {
|
|
19378
19378
|
className: c("w-6 h-6 border border-input rounded-full"),
|
|
19379
19379
|
strokeWidth: 1.5,
|
|
19380
19380
|
fill: "var(--red-9)"
|
|
@@ -19390,7 +19390,7 @@ var qk = (e) => {
|
|
|
19390
19390
|
className: "w-5 h-5 rounded-sm",
|
|
19391
19391
|
fill: "var(--red-9)",
|
|
19392
19392
|
strokeWidth: 1.5
|
|
19393
|
-
}), /* @__PURE__ */ (0, Y.jsx)(
|
|
19393
|
+
}), /* @__PURE__ */ (0, Y.jsx)(Ui, {
|
|
19394
19394
|
className: c("w-6 h-6 absolute opacity-20 animate-ping"),
|
|
19395
19395
|
fill: "var(--red-9)",
|
|
19396
19396
|
style: { animationDuration: "1.5s" },
|
|
@@ -20199,14 +20199,14 @@ var SA = (e) => {
|
|
|
20199
20199
|
disabled: a,
|
|
20200
20200
|
onChange: e.setValue
|
|
20201
20201
|
}, t[2] = i, t[3] = e.setValue, t[4] = a, t[5] = o) : o = t[5];
|
|
20202
|
-
let { value: s, onChange: l } =
|
|
20202
|
+
let { value: s, onChange: l } = Li(o), u;
|
|
20203
20203
|
t[6] === l ? u = t[7] : (u = (e) => {
|
|
20204
20204
|
l(TA(e));
|
|
20205
20205
|
}, t[6] = l, t[7] = u);
|
|
20206
20206
|
let d = u, f = e.label, p = n, m = e.fullWidth, h = e.fullWidth && "w-full", g;
|
|
20207
20207
|
t[8] === h ? g = t[9] : (g = c("min-w-[3em]", h), t[8] = h, t[9] = g);
|
|
20208
20208
|
let _ = e.start ?? void 0, v = e.stop ?? void 0, y = s ?? NaN, b = e.label || "Number input", x;
|
|
20209
|
-
t[10] !== d || t[11] !== n || t[12] !== e.disabled || t[13] !== e.step || t[14] !== v || t[15] !== y || t[16] !== b || t[17] !== g || t[18] !== _ ? (x = /* @__PURE__ */ (0, Y.jsx)(
|
|
20209
|
+
t[10] !== d || t[11] !== n || t[12] !== e.disabled || t[13] !== e.step || t[14] !== v || t[15] !== y || t[16] !== b || t[17] !== g || t[18] !== _ ? (x = /* @__PURE__ */ (0, Y.jsx)(Hi, {
|
|
20210
20210
|
"data-testid": "marimo-plugin-number-input",
|
|
20211
20211
|
className: g,
|
|
20212
20212
|
minValue: _,
|
|
@@ -20963,7 +20963,7 @@ var Sj = class {
|
|
|
20963
20963
|
})
|
|
20964
20964
|
}), n[23] = s.setFalse, n[24] = s.setTrue, n[25] = M) : M = n[25];
|
|
20965
20965
|
let N;
|
|
20966
|
-
n[26] !== l || n[27] !== i.value || n[28] !== a ? (N = i.value != null && i.value.length === 2 && /* @__PURE__ */ (0, Y.jsx)(de, { children:
|
|
20966
|
+
n[26] !== l || n[27] !== i.value || n[28] !== a ? (N = i.value != null && i.value.length === 2 && /* @__PURE__ */ (0, Y.jsx)(de, { children: zi(a(i.value[0]), { locale: l }) }, i.value[0]), n[26] = l, n[27] = i.value, n[28] = a, n[29] = N) : N = n[29];
|
|
20967
20967
|
let P;
|
|
20968
20968
|
n[30] === N ? P = n[31] : (P = /* @__PURE__ */ (0, Y.jsx)(pe, { children: N }), n[30] = N, n[31] = P);
|
|
20969
20969
|
let F;
|
|
@@ -20985,7 +20985,7 @@ var Sj = class {
|
|
|
20985
20985
|
})
|
|
20986
20986
|
}), n[36] = s.setFalse, n[37] = s.setTrue, n[38] = I) : I = n[38];
|
|
20987
20987
|
let L;
|
|
20988
|
-
n[39] !== l || n[40] !== i.value || n[41] !== a ? (L = i.value != null && i.value.length === 2 && /* @__PURE__ */ (0, Y.jsx)(de, { children:
|
|
20988
|
+
n[39] !== l || n[40] !== i.value || n[41] !== a ? (L = i.value != null && i.value.length === 2 && /* @__PURE__ */ (0, Y.jsx)(de, { children: zi(a(i.value[1]), { locale: l }) }, i.value[1]), n[39] = l, n[40] = i.value, n[41] = a, n[42] = L) : L = n[42];
|
|
20989
20989
|
let R;
|
|
20990
20990
|
n[43] === L ? R = n[44] : (R = /* @__PURE__ */ (0, Y.jsx)(pe, { children: L }), n[43] = L, n[44] = R);
|
|
20991
20991
|
let ee;
|
|
@@ -21075,7 +21075,7 @@ var Tj = class {
|
|
|
21075
21075
|
let P;
|
|
21076
21076
|
t[34] !== _ || t[35] !== g || t[36] !== d || t[37] !== m ? (P = d && /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
21077
21077
|
className: "text-xs text-muted-foreground min-w-[16px]",
|
|
21078
|
-
children: `${
|
|
21078
|
+
children: `${zi(m(_[0]), { locale: g })}, ${zi(m(_[1]), { locale: g })}`
|
|
21079
21079
|
}), t[34] = _, t[35] = g, t[36] = d, t[37] = m, t[38] = P) : P = t[38];
|
|
21080
21080
|
let F;
|
|
21081
21081
|
t[39] !== N || t[40] !== P || t[41] !== E ? (F = /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
@@ -21374,10 +21374,10 @@ var Lj = (e) => {
|
|
|
21374
21374
|
let z;
|
|
21375
21375
|
t[41] !== y || t[42] !== v || t[43] !== f || t[44] !== m ? (z = f && /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
21376
21376
|
className: "text-xs text-muted-foreground min-w-[16px]",
|
|
21377
|
-
children:
|
|
21377
|
+
children: zi(m(y), { locale: v })
|
|
21378
21378
|
}), t[41] = y, t[42] = v, t[43] = f, t[44] = m, t[45] = z) : z = t[45];
|
|
21379
21379
|
let te;
|
|
21380
|
-
t[46] !== g || t[47] !== E || t[48] !== h || t[49] !== O || t[50] !== n ? (te = h && /* @__PURE__ */ (0, Y.jsx)(
|
|
21380
|
+
t[46] !== g || t[47] !== E || t[48] !== h || t[49] !== O || t[50] !== n ? (te = h && /* @__PURE__ */ (0, Y.jsx)(Hi, {
|
|
21381
21381
|
...O,
|
|
21382
21382
|
onChange: E,
|
|
21383
21383
|
className: "w-24",
|
|
@@ -21674,7 +21674,7 @@ var Uj = class {
|
|
|
21674
21674
|
let w = C, T;
|
|
21675
21675
|
if (e.debounce === !0) {
|
|
21676
21676
|
let n = y[e.kind], r = e.minLength != null && e.minLength > 0, i;
|
|
21677
|
-
t[15] !== x || t[16] !== w || t[17] !== f || t[18] !== s || t[19] !== e.disabled || t[20] !== e.kind || t[21] !== e.maxLength || t[22] !== e.minLength || t[23] !== u || t[24] !== n || t[25] !== r || t[26] !== o ? (i = /* @__PURE__ */ (0, Y.jsx)(
|
|
21677
|
+
t[15] !== x || t[16] !== w || t[17] !== f || t[18] !== s || t[19] !== e.disabled || t[20] !== e.kind || t[21] !== e.maxLength || t[22] !== e.minLength || t[23] !== u || t[24] !== n || t[25] !== r || t[26] !== o ? (i = /* @__PURE__ */ (0, Y.jsx)(qi, {
|
|
21678
21678
|
"data-testid": "marimo-plugin-text-input",
|
|
21679
21679
|
type: e.kind,
|
|
21680
21680
|
icon: n,
|
|
@@ -21693,7 +21693,7 @@ var Uj = class {
|
|
|
21693
21693
|
let n = y[e.kind], r = e.minLength != null && e.minLength > 0, i;
|
|
21694
21694
|
t[28] === Symbol.for("react.memo_cache_sentinel") ? (i = (e) => m(e.currentTarget.value), t[28] = i) : i = t[28];
|
|
21695
21695
|
let a;
|
|
21696
|
-
t[29] !== x || t[30] !== w || t[31] !== f || t[32] !== s || t[33] !== e.debounce || t[34] !== e.disabled || t[35] !== e.kind || t[36] !== e.maxLength || t[37] !== e.minLength || t[38] !== u || t[39] !== n || t[40] !== r || t[41] !== o ? (a = /* @__PURE__ */ (0, Y.jsx)(
|
|
21696
|
+
t[29] !== x || t[30] !== w || t[31] !== f || t[32] !== s || t[33] !== e.debounce || t[34] !== e.disabled || t[35] !== e.kind || t[36] !== e.maxLength || t[37] !== e.minLength || t[38] !== u || t[39] !== n || t[40] !== r || t[41] !== o ? (a = /* @__PURE__ */ (0, Y.jsx)(ea, {
|
|
21697
21697
|
"data-testid": "marimo-plugin-text-input",
|
|
21698
21698
|
type: e.kind,
|
|
21699
21699
|
icon: n,
|
|
@@ -21716,7 +21716,7 @@ var Uj = class {
|
|
|
21716
21716
|
let a;
|
|
21717
21717
|
t[45] === Symbol.for("react.memo_cache_sentinel") ? (a = (e) => m(e.currentTarget.value), t[45] = a) : a = t[45];
|
|
21718
21718
|
let c;
|
|
21719
|
-
t[46] !== x || t[47] !== w || t[48] !== f || t[49] !== s || t[50] !== e.disabled || t[51] !== e.kind || t[52] !== e.maxLength || t[53] !== e.minLength || t[54] !== n || t[55] !== r || t[56] !== i || t[57] !== o ? (c = /* @__PURE__ */ (0, Y.jsx)(
|
|
21719
|
+
t[46] !== x || t[47] !== w || t[48] !== f || t[49] !== s || t[50] !== e.disabled || t[51] !== e.kind || t[52] !== e.maxLength || t[53] !== e.minLength || t[54] !== n || t[55] !== r || t[56] !== i || t[57] !== o ? (c = /* @__PURE__ */ (0, Y.jsx)(Ji, {
|
|
21720
21720
|
"data-testid": "marimo-plugin-text-input",
|
|
21721
21721
|
type: e.kind,
|
|
21722
21722
|
icon: n,
|
|
@@ -26764,7 +26764,7 @@ var uP = (e) => {
|
|
|
26764
26764
|
let c;
|
|
26765
26765
|
t[4] !== n.columns || t[5] !== s ? (c = /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
26766
26766
|
className: "flex flex-row items-center gap-2",
|
|
26767
|
-
children: [o, /* @__PURE__ */ (0, Y.jsx)(
|
|
26767
|
+
children: [o, /* @__PURE__ */ (0, Y.jsx)(Hi, {
|
|
26768
26768
|
"data-testid": "grid-columns-input",
|
|
26769
26769
|
id: "columns",
|
|
26770
26770
|
value: n.columns,
|
|
@@ -26789,7 +26789,7 @@ var uP = (e) => {
|
|
|
26789
26789
|
let d;
|
|
26790
26790
|
t[11] !== n.rowHeight || t[12] !== u ? (d = /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
26791
26791
|
className: "flex flex-row items-center gap-2",
|
|
26792
|
-
children: [l, /* @__PURE__ */ (0, Y.jsx)(
|
|
26792
|
+
children: [l, /* @__PURE__ */ (0, Y.jsx)(Hi, {
|
|
26793
26793
|
"data-testid": "grid-row-height-input",
|
|
26794
26794
|
id: "rowHeight",
|
|
26795
26795
|
value: n.rowHeight,
|
|
@@ -26814,7 +26814,7 @@ var uP = (e) => {
|
|
|
26814
26814
|
let m;
|
|
26815
26815
|
t[18] !== n.maxWidth || t[19] !== p ? (m = /* @__PURE__ */ (0, Y.jsxs)("div", {
|
|
26816
26816
|
className: "flex flex-row items-center gap-2",
|
|
26817
|
-
children: [f, /* @__PURE__ */ (0, Y.jsx)(
|
|
26817
|
+
children: [f, /* @__PURE__ */ (0, Y.jsx)(Hi, {
|
|
26818
26818
|
"data-testid": "grid-max-width-input",
|
|
26819
26819
|
id: "maxWidth",
|
|
26820
26820
|
value: n.maxWidth,
|
|
@@ -26907,14 +26907,14 @@ var fP = (e) => {
|
|
|
26907
26907
|
let g = l === "side", _;
|
|
26908
26908
|
t[4] === u ? _ = t[5] : (_ = (e) => u(e ? "side" : void 0), t[4] = u, t[5] = _);
|
|
26909
26909
|
let v;
|
|
26910
|
-
t[6] === d ? v = t[7] : (v = /* @__PURE__ */ (0, Y.jsx)(
|
|
26910
|
+
t[6] === d ? v = t[7] : (v = /* @__PURE__ */ (0, Y.jsx)(Ki, {
|
|
26911
26911
|
asChild: !0,
|
|
26912
26912
|
children: d ? /* @__PURE__ */ (0, Y.jsx)(d, { className: "h-4 w-4 opacity-60 hover:opacity-100" }) : /* @__PURE__ */ (0, Y.jsx)(wu, { className: "h-4 w-4 opacity-60 hover:opacity-100" })
|
|
26913
26913
|
}), t[6] = d, t[7] = v);
|
|
26914
26914
|
let y;
|
|
26915
26915
|
t[8] !== a || t[9] !== i ? (y = Ts.entries(mP).map((e) => {
|
|
26916
26916
|
let [t, n] = e;
|
|
26917
|
-
return /* @__PURE__ */ (0, Y.jsxs)(
|
|
26917
|
+
return /* @__PURE__ */ (0, Y.jsxs)(Yi, {
|
|
26918
26918
|
onSelect: () => a(t),
|
|
26919
26919
|
children: [
|
|
26920
26920
|
/* @__PURE__ */ (0, Y.jsx)(n, { className: "h-4 w-3 mr-2" }),
|
|
@@ -26927,12 +26927,12 @@ var fP = (e) => {
|
|
|
26927
26927
|
}, t);
|
|
26928
26928
|
}), t[8] = a, t[9] = i, t[10] = y) : y = t[10];
|
|
26929
26929
|
let b;
|
|
26930
|
-
t[11] === y ? b = t[12] : (b = /* @__PURE__ */ (0, Y.jsx)(
|
|
26930
|
+
t[11] === y ? b = t[12] : (b = /* @__PURE__ */ (0, Y.jsx)($i, {
|
|
26931
26931
|
side: "bottom",
|
|
26932
26932
|
children: y
|
|
26933
26933
|
}), t[11] = y, t[12] = b);
|
|
26934
26934
|
let x;
|
|
26935
|
-
t[13] !== g || t[14] !== _ || t[15] !== v || t[16] !== b ? (x = /* @__PURE__ */ (0, Y.jsxs)(
|
|
26935
|
+
t[13] !== g || t[14] !== _ || t[15] !== v || t[16] !== b ? (x = /* @__PURE__ */ (0, Y.jsxs)(ia, {
|
|
26936
26936
|
open: g,
|
|
26937
26937
|
onOpenChange: _,
|
|
26938
26938
|
children: [v, b]
|
|
@@ -26940,7 +26940,7 @@ var fP = (e) => {
|
|
|
26940
26940
|
let S = l === "scroll", C;
|
|
26941
26941
|
t[18] === u ? C = t[19] : (C = (e) => u(e ? "scroll" : void 0), t[18] = u, t[19] = C);
|
|
26942
26942
|
let w;
|
|
26943
|
-
t[20] === Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ (0, Y.jsx)(
|
|
26943
|
+
t[20] === Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ (0, Y.jsx)(Ki, {
|
|
26944
26944
|
asChild: !0,
|
|
26945
26945
|
children: /* @__PURE__ */ (0, Y.jsx)(Zu, { className: "h-4 w-4 opacity-60 hover:opacity-100" })
|
|
26946
26946
|
}), t[20] = w) : w = t[20];
|
|
@@ -26959,15 +26959,15 @@ var fP = (e) => {
|
|
|
26959
26959
|
onCheckedChange: s
|
|
26960
26960
|
}), t[25] = o, t[26] = s, t[27] = D) : D = t[27];
|
|
26961
26961
|
let O;
|
|
26962
|
-
t[28] !== T || t[29] !== D ? (O = /* @__PURE__ */ (0, Y.jsx)(
|
|
26962
|
+
t[28] !== T || t[29] !== D ? (O = /* @__PURE__ */ (0, Y.jsx)($i, {
|
|
26963
26963
|
side: "bottom",
|
|
26964
|
-
children: /* @__PURE__ */ (0, Y.jsxs)(
|
|
26964
|
+
children: /* @__PURE__ */ (0, Y.jsxs)(Yi, {
|
|
26965
26965
|
onSelect: T,
|
|
26966
26966
|
children: [E, D]
|
|
26967
26967
|
})
|
|
26968
26968
|
}), t[28] = T, t[29] = D, t[30] = O) : O = t[30];
|
|
26969
26969
|
let k;
|
|
26970
|
-
t[31] !== S || t[32] !== C || t[33] !== O ? (k = /* @__PURE__ */ (0, Y.jsxs)(
|
|
26970
|
+
t[31] !== S || t[32] !== C || t[33] !== O ? (k = /* @__PURE__ */ (0, Y.jsxs)(ia, {
|
|
26971
26971
|
open: S,
|
|
26972
26972
|
onOpenChange: C,
|
|
26973
26973
|
children: [w, O]
|
|
@@ -30024,7 +30024,7 @@ function CR(e) {
|
|
|
30024
30024
|
}
|
|
30025
30025
|
//#endregion
|
|
30026
30026
|
//#region src/components/editor/renderers/slides-layout/slides-layout.tsx
|
|
30027
|
-
var wR = J.lazy(() => import("./reveal-component-
|
|
30027
|
+
var wR = J.lazy(() => import("./reveal-component-VEyGCQcx.js")), TR = (e) => {
|
|
30028
30028
|
let t = (0, X.c)(33), { layout: n, setLayout: r, cells: i, mode: a } = e, o = ns(Sa), s = a === "read" || o, c = ns(gt) > 1, [l, u] = (0, J.useState)(null), d;
|
|
30029
30029
|
t[0] !== i || t[1] !== n ? (d = xP(i, n), t[0] = i, t[1] = n, t[2] = d) : d = t[2];
|
|
30030
30030
|
let { slideCells: f, skippedIds: p, noOutputIds: m, slideTypes: h, startCellIndex: g } = d, _;
|
|
@@ -30511,7 +30511,7 @@ var HR = (e) => {
|
|
|
30511
30511
|
let m = o ? "password" : "text", h;
|
|
30512
30512
|
t[2] === r ? h = t[3] : (h = (e) => r(e.target.value), t[2] = r, t[3] = h);
|
|
30513
30513
|
let g;
|
|
30514
|
-
t[4] === Symbol.for("react.memo_cache_sentinel") ? (g = /* @__PURE__ */ (0, Y.jsx)(
|
|
30514
|
+
t[4] === Symbol.for("react.memo_cache_sentinel") ? (g = /* @__PURE__ */ (0, Y.jsx)(sa, { className: "w-5 h-5" }), t[4] = g) : g = t[4];
|
|
30515
30515
|
let _;
|
|
30516
30516
|
t[5] !== f || t[6] !== o || t[7] !== d || t[8] !== u || t[9] !== c || t[10] !== r || t[11] !== n ? (_ = (e) => {
|
|
30517
30517
|
if (!o && e.key === "ArrowUp") {
|
|
@@ -30525,7 +30525,7 @@ var HR = (e) => {
|
|
|
30525
30525
|
e.key === "Enter" && !e.shiftKey && (n && !o && f(n), c(n), r(""), e.preventDefault(), e.stopPropagation()), e.key === "Enter" && e.metaKey && (e.preventDefault(), e.stopPropagation());
|
|
30526
30526
|
}, t[5] = f, t[6] = o, t[7] = d, t[8] = u, t[9] = c, t[10] = r, t[11] = n, t[12] = _) : _ = t[12];
|
|
30527
30527
|
let v;
|
|
30528
|
-
t[13] !== m || t[14] !== h || t[15] !== _ || t[16] !== n ? (v = /* @__PURE__ */ (0, Y.jsx)(
|
|
30528
|
+
t[13] !== m || t[14] !== h || t[15] !== _ || t[16] !== n ? (v = /* @__PURE__ */ (0, Y.jsx)(Ji, {
|
|
30529
30529
|
"data-testid": "console-input",
|
|
30530
30530
|
"data-stdin-blocking": !0,
|
|
30531
30531
|
type: m,
|
|
@@ -30559,7 +30559,7 @@ var HR = (e) => {
|
|
|
30559
30559
|
t[2] !== o || t[3] !== i || t[4] !== r || t[5] !== s ? (l = !i && !s && /* @__PURE__ */ (0, Y.jsxs)("span", {
|
|
30560
30560
|
className: "inline-flex items-center gap-1 text-(--sky-11)",
|
|
30561
30561
|
"aria-label": "stdin response",
|
|
30562
|
-
children: [/* @__PURE__ */ (0, Y.jsx)(
|
|
30562
|
+
children: [/* @__PURE__ */ (0, Y.jsx)(sa, { className: "w-4 h-4 shrink-0 opacity-70" }), o ? r : /* @__PURE__ */ (0, Y.jsx)("span", {
|
|
30563
30563
|
className: "italic opacity-70",
|
|
30564
30564
|
children: "(empty)"
|
|
30565
30565
|
})]
|
|
@@ -30817,7 +30817,7 @@ var dz = (e) => {
|
|
|
30817
30817
|
let a;
|
|
30818
30818
|
t[10] === r ? a = t[11] : (a = r && /* @__PURE__ */ (0, Y.jsx)(di, { className: "h-4 w-4" }), t[10] = r, t[11] = a);
|
|
30819
30819
|
let o;
|
|
30820
|
-
t[12] !== i || t[13] !== a ? (o = /* @__PURE__ */ (0, Y.jsxs)(
|
|
30820
|
+
t[12] !== i || t[13] !== a ? (o = /* @__PURE__ */ (0, Y.jsxs)(Yi, {
|
|
30821
30821
|
onSelect: i,
|
|
30822
30822
|
"data-testid": "notebook-action-show-code",
|
|
30823
30823
|
children: [
|
|
@@ -30827,11 +30827,11 @@ var dz = (e) => {
|
|
|
30827
30827
|
]
|
|
30828
30828
|
}, "show-code"), t[12] = i, t[13] = a, t[14] = o) : o = t[14];
|
|
30829
30829
|
let s;
|
|
30830
|
-
t[15] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ (0, Y.jsx)(
|
|
30830
|
+
t[15] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ (0, Y.jsx)(ra, {}, "show-code-separator"), t[15] = s) : s = t[15], p.push(o, s);
|
|
30831
30831
|
}
|
|
30832
30832
|
if (!f) {
|
|
30833
30833
|
let e;
|
|
30834
|
-
if (t[16] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ (0, Y.jsxs)(
|
|
30834
|
+
if (t[16] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ (0, Y.jsxs)(Yi, {
|
|
30835
30835
|
onSelect: s,
|
|
30836
30836
|
"data-testid": "notebook-action-download-html",
|
|
30837
30837
|
children: [/* @__PURE__ */ (0, Y.jsx)(Hu, {
|
|
@@ -30847,16 +30847,16 @@ var dz = (e) => {
|
|
|
30847
30847
|
strokeWidth: 1.5
|
|
30848
30848
|
}), t[17] = e) : e = t[17];
|
|
30849
30849
|
let n;
|
|
30850
|
-
t[18] === u ? n = t[19] : (n = /* @__PURE__ */ (0, Y.jsxs)(
|
|
30850
|
+
t[18] === u ? n = t[19] : (n = /* @__PURE__ */ (0, Y.jsxs)(Yi, {
|
|
30851
30851
|
onSelect: u,
|
|
30852
30852
|
"data-testid": "notebook-action-download-python",
|
|
30853
30853
|
children: [e, "Download notebook source"]
|
|
30854
30854
|
}, "download-python"), t[18] = u, t[19] = n), p.push(n);
|
|
30855
30855
|
}
|
|
30856
30856
|
let r;
|
|
30857
|
-
t[20] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ (0, Y.jsx)(
|
|
30857
|
+
t[20] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ (0, Y.jsx)(ra, {}, "download-separator"), t[20] = r) : r = t[20];
|
|
30858
30858
|
let i;
|
|
30859
|
-
t[21] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ (0, Y.jsxs)(
|
|
30859
|
+
t[21] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ (0, Y.jsxs)(Yi, {
|
|
30860
30860
|
onSelect: o,
|
|
30861
30861
|
"data-testid": "notebook-action-download-png",
|
|
30862
30862
|
children: [/* @__PURE__ */ (0, Y.jsx)(Ku, {
|
|
@@ -30872,7 +30872,7 @@ var dz = (e) => {
|
|
|
30872
30872
|
let m;
|
|
30873
30873
|
t[22] === Symbol.for("react.memo_cache_sentinel") ? (m = c("right-0 top-0 z-50 m-4 print:hidden flex gap-2", ha() ? "absolute" : "fixed"), t[22] = m) : m = t[22];
|
|
30874
30874
|
let h;
|
|
30875
|
-
t[23] === Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ (0, Y.jsx)(
|
|
30875
|
+
t[23] === Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ (0, Y.jsx)(Ki, {
|
|
30876
30876
|
asChild: !0,
|
|
30877
30877
|
children: /* @__PURE__ */ (0, Y.jsx)(g, {
|
|
30878
30878
|
variant: "secondary",
|
|
@@ -30884,9 +30884,9 @@ var dz = (e) => {
|
|
|
30884
30884
|
return t[24] === p ? _ = t[25] : (_ = /* @__PURE__ */ (0, Y.jsx)("div", {
|
|
30885
30885
|
"data-testid": "notebook-actions-dropdown",
|
|
30886
30886
|
className: m,
|
|
30887
|
-
children: /* @__PURE__ */ (0, Y.jsxs)(
|
|
30887
|
+
children: /* @__PURE__ */ (0, Y.jsxs)(ia, {
|
|
30888
30888
|
modal: !1,
|
|
30889
|
-
children: [h, /* @__PURE__ */ (0, Y.jsx)(
|
|
30889
|
+
children: [h, /* @__PURE__ */ (0, Y.jsx)($i, {
|
|
30890
30890
|
align: "end",
|
|
30891
30891
|
className: "print:hidden w-[220px]",
|
|
30892
30892
|
children: p
|
|
@@ -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-BIEsSrta.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",
|