@marimo-team/islands 0.14.11-dev2 → 0.14.11-dev21
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-Dl7Gx8nj.js → ConnectedDataExplorerComponent-B98UAJGl.js} +4 -4
- package/dist/{ImageComparisonComponent-IsA0pccG.js → ImageComparisonComponent-3rx-X1eA.js} +1 -1
- package/dist/{VegaLite-C3jfIIJl.js → VegaLite-bssctYsi.js} +6961 -7180
- package/dist/{_baseUniq-DXGCzwrs.js → _baseUniq-n5nuGCm-.js} +36 -36
- package/dist/{any-language-editor-BbtP_crK.js → any-language-editor-CTuUQiXP.js} +1 -1
- package/dist/{architectureDiagram-IEHRJDOE-B5UTatfK.js → architectureDiagram-NQ2NVSRB-Ghs-gTjF.js} +897 -894
- package/dist/assets/{worker-BcyuOSTi.js → save-worker-fI5ofStJ.js} +1076 -1649
- package/dist/assets/{save-worker-BIDtxCd1.js → worker-Bfk1FrzG.js} +1627 -1747
- package/dist/assets/worker-BldghCZh.js +3752 -0
- package/dist/{blockDiagram-JOT3LUYC-BsdaPVqe.js → blockDiagram-PHRCVELO-BJrdpvE8.js} +534 -522
- package/dist/{c4Diagram-VJAJSXHY-mAt84R4z.js → c4Diagram-6F6E4RAY-C3mvzJPu.js} +4 -4
- package/dist/{channel-BQIWHLpc.js → channel-Dv_KwBSx.js} +1 -1
- package/dist/{chunk-4BMEZGHF-CKIxJWxP.js → chunk-353BL4L5-DE1uUKLI.js} +1 -1
- package/dist/{chunk-D6G4REZN-CgGV16Ao.js → chunk-67H74DCK-BSe-uUSS.js} +1 -1
- package/dist/chunk-6OLS64BW-lmSfyWue.js +1383 -0
- package/dist/{chunk-XZIHB7SX-Bwue5JjE.js → chunk-AACKK3MU-DAmuROVD.js} +1 -1
- package/dist/chunk-BFAMUDN2-D9C6R9UM.js +8 -0
- package/dist/chunk-E2GYISFI-BzFDmP6o.js +19 -0
- package/dist/{chunk-A2AXSNBT-wMvlVMnZ.js → chunk-QEP2MXWD-BILXx23p.js} +30 -27
- package/dist/chunk-SKB7J2MH-CxMkQppY.js +20 -0
- package/dist/{classDiagram-GIVACNV2-DOmcKRwM.js → classDiagram-BGRH5UQR-BbYr5aD9.js} +2 -2
- package/dist/{classDiagram-v2-COTLJTTW-DOmcKRwM.js → classDiagram-v2-O24JOBDK-BbYr5aD9.js} +2 -2
- package/dist/{clone-PHSHUhb-.js → clone-DuBujAk0.js} +1 -1
- package/dist/{dagre-OKDRZEBW-D5HNBllU.js → dagre-FFZHY6LT-DO5nLpLx.js} +8 -8
- package/dist/{data-editor-Coz_zrsX.js → data-editor-C8yM5wyh.js} +213 -201
- package/dist/diagram-3EMPZRKU-B1rYMJMS.js +313 -0
- package/dist/diagram-5UYTHUR4-BUu8PsmE.js +137 -0
- package/dist/{diagram-SSKATNLV-BsO89QJN.js → diagram-ZTM2IBQH-lz_uZrYh.js} +3 -3
- package/dist/{erDiagram-Q7BY3M3F-DWIMKTfS.js → erDiagram-R3QVA2FD-D_A2jrJV.js} +6 -5
- package/dist/{flowDiagram-4HSFHLVR-CnO0wmaL.js → flowDiagram-PKI6S5ZS-Bv6D_bIf.js} +283 -278
- package/dist/{ganttDiagram-APWFNJXF-otclLFL4.js → ganttDiagram-EK5VF46D-CbkaARm4.js} +453 -439
- package/dist/{gitGraphDiagram-7IBYFJ6S-C7F3RAja.js → gitGraphDiagram-GW3U2K7C-B8ZGoOT-.js} +35 -35
- package/dist/{graph-Btsdly6D.js → graph-txVVq_De.js} +3 -3
- package/dist/{index-BreCkhLm.js → index-BI6tloBb.js} +3 -3
- package/dist/{index-CcRF-HlA.js → index-CFJazcU-.js} +4 -4
- package/dist/{index-BGmzdYRo.js → index-OiR0LgXX.js} +6 -3
- package/dist/{index-z8OyYHEh.js → index-fJDj-gSp.js} +1 -1
- package/dist/index-pBmAzQJl.js +235 -0
- package/dist/{infoDiagram-PH2N3AL5-BwcXDzwE.js → infoDiagram-RLU2ROGC-DJw6nWp0.js} +5 -3
- package/dist/journeyDiagram-EWQZEKCU-1oCDdLcB.js +836 -0
- package/dist/{kanban-definition-NDS4AKOZ-3NJYjnpz.js → kanban-definition-ILFWEQ3N-nKJ02Ox0.js} +41 -39
- package/dist/{layout-qfivsCI_.js → layout-CbUwX9d6.js} +49 -49
- package/dist/{linear-D_Kojy5s.js → linear-sn9_bxtB.js} +22 -22
- package/dist/{main-DLuap1gp.js → main-D9-48wlP.js} +45053 -45130
- package/dist/main.js +1 -1
- package/dist/{mermaid-DCIbF0Rd.js → mermaid-CRRCnedu.js} +4925 -4853
- package/dist/min-CYaGuxZ4.js +80 -0
- package/dist/{mindmap-definition-ALO5MXBD-BtSBR7-c.js → mindmap-definition-CZNETY7S-CV62GMPJ.js} +3 -3
- package/dist/{pieDiagram-IB7DONF6-TiB_3g9z.js → pieDiagram-NIOCPIFQ-Bcs4p6kX.js} +3 -3
- package/dist/{quadrantDiagram-7GDLP6J5-B0DPjp7Z.js → quadrantDiagram-2OG54O6I-BlY5yea6.js} +2 -2
- package/dist/{react-plotly-BXWB3UQ5.js → react-plotly-B1SKP2B-.js} +1 -1
- package/dist/{requirementDiagram-KVF5MWMF-D_IlbRr_.js → requirementDiagram-SO3GGRV7-rmiJc5mh.js} +5 -4
- package/dist/{sankeyDiagram-QLVOVGJD-BHm9uvp_.js → sankeyDiagram-4UZDY2LN-TVzOLFCA.js} +11 -11
- package/dist/{sequenceDiagram-X6HHIX6F-3wcWWNtl.js → sequenceDiagram-ZIKVLSP4-POBNIgPB.js} +151 -149
- package/dist/{slides-component-JEGZbKgL.js → slides-component-5Y9DQzeV.js} +969 -962
- package/dist/stateDiagram-XX37X6EN-lR-7TG5f.js +264 -0
- package/dist/{stateDiagram-v2-YXO3MK2T-DTdt4vFc.js → stateDiagram-v2-GD6S3NHB-CYV2YCSY.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{time-DyZM4tB4.js → time-BytuUgXk.js} +2 -2
- package/dist/{timeline-definition-BDJGKUSR-Of4cvbYH.js → timeline-definition-RI47OAVP-DOrNrVHk.js} +99 -102
- package/dist/{radar-MK3ICKWK-BMSp8zaN.js → treemap-FKARHQ26-BOli4yXg.js} +2469 -2330
- package/dist/{vega-component-Dwc_9OTG.js → vega-component-KZ-3GH6H.js} +21 -21
- package/dist/{xychartDiagram-VJFVF3MP-5Jc993Va.js → xychartDiagram-H2YORKM3-CUOFDcIy.js} +409 -375
- package/package.json +37 -37
- package/dist/assets/worker-Dz6PPEGc.js +0 -4115
- package/dist/chunk-AEK57VVT-BAi7QtEw.js +0 -1416
- package/dist/chunk-RZ5BOZE2-D7Ag0UF8.js +0 -24
- package/dist/diagram-VNBRO52H-CA8VTm7L.js +0 -126
- package/dist/journeyDiagram-U35MCT3I-Co4hTdu9.js +0 -809
- package/dist/min-CQBZldos.js +0 -80
- package/dist/stateDiagram-DGXRK772-DbH3Rdz4.js +0 -271
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { M as m, a as ee } from "./VegaLite-
|
|
1
|
+
import { U as T, V as F, c as H, W as z, X as R, Y as G, j as d, E as W, K as $, G as k, Z as O, _ as M, $ as U, L as x, a0 as S, a1 as B, a2 as Y, a3 as q, a4 as Q, a5 as X, a6 as J } from "./main-D9-48wlP.js";
|
|
2
|
+
import { M as m, a as ee } from "./VegaLite-bssctYsi.js";
|
|
3
3
|
function te(e) {
|
|
4
|
-
return e.data && "url" in e.data && (e.data.url =
|
|
4
|
+
return e.data && "url" in e.data && (e.data.url = T(e.data.url).href), e;
|
|
5
5
|
}
|
|
6
6
|
const L = /* @__PURE__ */ new Set(["boxplot", "errorband", "errorbar"]), v = {
|
|
7
7
|
getMarkType(e) {
|
|
@@ -108,7 +108,7 @@ const h = {
|
|
|
108
108
|
name: h.interval(t),
|
|
109
109
|
select: {
|
|
110
110
|
type: "interval",
|
|
111
|
-
encodings:
|
|
111
|
+
encodings: C(e),
|
|
112
112
|
mark: {
|
|
113
113
|
fill: "#669EFF",
|
|
114
114
|
fillOpacity: 0.07,
|
|
@@ -126,7 +126,7 @@ const h = {
|
|
|
126
126
|
name: h.point(t),
|
|
127
127
|
select: {
|
|
128
128
|
type: "point",
|
|
129
|
-
encodings:
|
|
129
|
+
encodings: C(e),
|
|
130
130
|
on: "click[!event.metaKey]"
|
|
131
131
|
}
|
|
132
132
|
};
|
|
@@ -154,7 +154,7 @@ const h = {
|
|
|
154
154
|
};
|
|
155
155
|
}
|
|
156
156
|
};
|
|
157
|
-
function
|
|
157
|
+
function C(e) {
|
|
158
158
|
switch (v.getMarkType(e.mark)) {
|
|
159
159
|
case m.image:
|
|
160
160
|
case m.trail:
|
|
@@ -220,7 +220,7 @@ function ie(e, t) {
|
|
|
220
220
|
if (!("mark" in l))
|
|
221
221
|
return l;
|
|
222
222
|
let u = l;
|
|
223
|
-
return u =
|
|
223
|
+
return u = I(u, n, f), u = P(u), f === 0 && (u = N(u)), u;
|
|
224
224
|
});
|
|
225
225
|
return {
|
|
226
226
|
...e,
|
|
@@ -230,7 +230,7 @@ function ie(e, t) {
|
|
|
230
230
|
if (!("mark" in e) || !v.isInteractive(e.mark))
|
|
231
231
|
return e;
|
|
232
232
|
let s = e;
|
|
233
|
-
return s = se(s, o), s =
|
|
233
|
+
return s = se(s, o), s = I(s, n, void 0), s = P(s), s = N(s), s;
|
|
234
234
|
}
|
|
235
235
|
function se(e, t) {
|
|
236
236
|
if (t === false)
|
|
@@ -243,7 +243,7 @@ function se(e, t) {
|
|
|
243
243
|
params: r
|
|
244
244
|
};
|
|
245
245
|
}
|
|
246
|
-
function
|
|
246
|
+
function I(e, t, n) {
|
|
247
247
|
if (t === false)
|
|
248
248
|
return e;
|
|
249
249
|
let o;
|
|
@@ -263,7 +263,7 @@ function C(e, t, n) {
|
|
|
263
263
|
params: s
|
|
264
264
|
};
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function N(e) {
|
|
267
267
|
let t;
|
|
268
268
|
try {
|
|
269
269
|
t = v.getMarkType(e.mark);
|
|
@@ -336,11 +336,11 @@ async function ce(e) {
|
|
|
336
336
|
return r;
|
|
337
337
|
let a;
|
|
338
338
|
try {
|
|
339
|
-
a =
|
|
339
|
+
a = T(r.data.url);
|
|
340
340
|
} catch {
|
|
341
341
|
return r;
|
|
342
342
|
}
|
|
343
|
-
const s = await
|
|
343
|
+
const s = await F(a.href, r.data.format);
|
|
344
344
|
return t[a.pathname] = s, {
|
|
345
345
|
...r,
|
|
346
346
|
data: {
|
|
@@ -353,9 +353,9 @@ async function ce(e) {
|
|
|
353
353
|
datasets: t
|
|
354
354
|
};
|
|
355
355
|
}
|
|
356
|
-
R("arrow",
|
|
356
|
+
R("arrow", G);
|
|
357
357
|
const ye = (e) => {
|
|
358
|
-
const t =
|
|
358
|
+
const t = H.c(11), {
|
|
359
359
|
value: n,
|
|
360
360
|
setValue: o,
|
|
361
361
|
chartSelection: r,
|
|
@@ -370,7 +370,7 @@ const ye = (e) => {
|
|
|
370
370
|
} = z(i, l);
|
|
371
371
|
if (u) {
|
|
372
372
|
let y;
|
|
373
|
-
return t[3] !== u ? (y = /* @__PURE__ */ d.jsx(
|
|
373
|
+
return t[3] !== u ? (y = /* @__PURE__ */ d.jsx(W, { error: u }), t[3] = u, t[4] = y) : y = t[4], y;
|
|
374
374
|
}
|
|
375
375
|
if (!f)
|
|
376
376
|
return null;
|
|
@@ -401,9 +401,9 @@ const ye = (e) => {
|
|
|
401
401
|
});
|
|
402
402
|
}, 100)), c), {}), [_, y]), D = M((c) => {
|
|
403
403
|
x.error(c), x.debug(u), l(c);
|
|
404
|
-
}),
|
|
404
|
+
}), K = M((c) => {
|
|
405
405
|
x.debug("[Vega view] created", c), s.current = c, l(void 0);
|
|
406
|
-
}),
|
|
406
|
+
}), Z = () => {
|
|
407
407
|
const c = [];
|
|
408
408
|
return h.hasPoint(g) && c.push(["Point selection", "click to select a point; hold shift for multi-select"]), h.hasInterval(g) && c.push(["Interval selection", "click and drag to select an interval"]), h.hasLegend(g) && c.push(["Legend selection", "click to select a legend item; hold shift for multi-select"]), h.hasPanZoom(g) && c.push(["Pan", "hold the meta key and drag"], ["Zoom", "hold the meta key and scroll"]), c.length === 0 ? null : /* @__PURE__ */ d.jsx(X, { delayDuration: 300, side: "left", content: /* @__PURE__ */ d.jsx("div", { className: "text-xs flex flex-col", children: c.map((p, w) => /* @__PURE__ */ d.jsxs("div", { children: [
|
|
409
409
|
/* @__PURE__ */ d.jsxs("span", { className: "font-bold tracking-wide", children: [
|
|
@@ -412,7 +412,7 @@ const ye = (e) => {
|
|
|
412
412
|
] }),
|
|
413
413
|
" ",
|
|
414
414
|
p[1]
|
|
415
|
-
] }, w)) }), children: /* @__PURE__ */ d.jsx(
|
|
415
|
+
] }, w)) }), children: /* @__PURE__ */ d.jsx(J, { className: "absolute bottom-1 right-0 m-2 h-4 w-4 cursor-help text-muted-foreground hover:text-foreground" }) });
|
|
416
416
|
};
|
|
417
417
|
return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
|
|
418
418
|
i && /* @__PURE__ */ d.jsxs(B, { variant: "destructive", children: [
|
|
@@ -425,8 +425,8 @@ const ye = (e) => {
|
|
|
425
425
|
className: "relative",
|
|
426
426
|
onPointerDown: q.stopPropagation(),
|
|
427
427
|
children: [
|
|
428
|
-
/* @__PURE__ */ d.jsx(ee, { spec: u, theme: a === "dark" ? "dark" : void 0, actions: me, signalListeners: A, onError: D, onNewView:
|
|
429
|
-
|
|
428
|
+
/* @__PURE__ */ d.jsx(ee, { spec: u, theme: a === "dark" ? "dark" : void 0, actions: me, signalListeners: A, onError: D, onNewView: K }),
|
|
429
|
+
Z()
|
|
430
430
|
]
|
|
431
431
|
}
|
|
432
432
|
)
|
|
@@ -439,7 +439,7 @@ function de(e) {
|
|
|
439
439
|
return e instanceof Set ? [...e] : e;
|
|
440
440
|
}
|
|
441
441
|
function fe(e) {
|
|
442
|
-
return Array.isArray(e) ? e.map((t) => t instanceof Date &&
|
|
442
|
+
return Array.isArray(e) ? e.map((t) => t instanceof Date && Q(t) ? new Date(t).getTime() : t) : e;
|
|
443
443
|
}
|
|
444
444
|
export {
|
|
445
445
|
ye as default
|