@marimo-team/islands 0.22.1-dev24 → 0.22.1-dev28
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/_basePickBy-Sow3pJjS.js +41 -0
- package/dist/{_baseUniq--7il0Js0.js → _baseUniq-C87CckHL.js} +14 -53
- package/dist/{architecture-7HQA4BMR-CSK94-xM.js → architecture-7HQA4BMR-BHdkAMvZ.js} +2 -2
- package/dist/{architectureDiagram-VXUJARFQ-Cw5_EP5P.js → architectureDiagram-VXUJARFQ-B3YQo9At.js} +9 -9
- package/dist/{blockDiagram-VD42YOAC-BiuOHEQv.js → blockDiagram-VD42YOAC-CpQ3TKEN.js} +2 -2
- package/dist/{chat-ui-MFxd7AGf.js → chat-ui-Wi1Lm6y4.js} +3 -3
- package/dist/{chunk-4F5CHEZ2-B0Jbisw2.js → chunk-4F5CHEZ2-D5mClyDv.js} +1 -1
- package/dist/{chunk-B2363JML-mJ3Q9WfR.js → chunk-B2363JML-Br0eA2T3.js} +1 -1
- package/dist/{chunk-B4BG7PRW-C4MiRcFI.js → chunk-B4BG7PRW-4BjV11Br.js} +1 -1
- package/dist/{chunk-DI55MBZ5-CMx27S12.js → chunk-DI55MBZ5-DITY3EyP.js} +1 -1
- package/dist/{chunk-FRFDVMJY-IPSTV3Ua.js → chunk-FRFDVMJY-DnEvEFRR.js} +1 -1
- package/dist/{chunk-N4CR4FBY-DYub3dan.js → chunk-N4CR4FBY-CpZSuGSU.js} +1 -1
- package/dist/{chunk-PL6DKKU2-DZiAP4HM.js → chunk-PL6DKKU2-DnId6G-x.js} +1 -1
- package/dist/{chunk-SJTYNZTY-s-hMTFeC.js → chunk-SJTYNZTY-BsBZnJUj.js} +1 -1
- package/dist/{chunk-TCCFYFTB-D7iQP6Bp.js → chunk-TCCFYFTB-Clbl-fTg.js} +5 -4
- package/dist/{chunk-TQ3KTPDO-BmFTqg51.js → chunk-TQ3KTPDO-CFkSQ30e.js} +1 -1
- package/dist/{chunk-UMXZTB3W-AUirFhbD.js → chunk-UMXZTB3W-D-A834Bq.js} +1 -1
- package/dist/{classDiagram-2ON5EDUG-BJCfK6hn.js → classDiagram-2ON5EDUG-C8-zE3Zv.js} +2 -2
- package/dist/{classDiagram-v2-WZHVMYZB-aaIrLBHp.js → classDiagram-v2-WZHVMYZB-DrmbGANl.js} +2 -2
- package/dist/{clone-BsAy1q8B.js → clone-DZFQCtFJ.js} +1 -1
- package/dist/{constants-CMDkKrpC.js → constants-CvyfaCvs.js} +1 -1
- package/dist/{dagre-6UL2VRFP-CLYtUWgC.js → dagre-6UL2VRFP-OMItEBnY.js} +5 -5
- package/dist/{dagre-oeMGMQA0.js → dagre-QVd-lCXU.js} +10 -20
- package/dist/{diagram-PSM6KHXK-D_6t-W86.js → diagram-PSM6KHXK-CkKbohWI.js} +9 -9
- package/dist/{diagram-QEK2KX5R-DyPwbpot.js → diagram-QEK2KX5R-DjUMpVcx.js} +9 -9
- package/dist/{diagram-S2PKOQOG-nwsLe-2u.js → diagram-S2PKOQOG-b-c0d-wZ.js} +9 -9
- package/dist/{erDiagram-Q2GNP2WA-C3PXcCCI.js → erDiagram-Q2GNP2WA-CDhLaOZ1.js} +1 -1
- package/dist/{flowDiagram-NV44I4VS-DFDCBPb3.js → flowDiagram-NV44I4VS-BDi4O4CL.js} +1 -1
- package/dist/{gitGraph-G5XIXVHT-CuhmzmB1.js → gitGraph-G5XIXVHT-B_c6xFJv.js} +2 -2
- package/dist/{gitGraphDiagram-V2S2FVAM-B3inBgCa.js → gitGraphDiagram-V2S2FVAM-iQnXzbPM.js} +9 -9
- package/dist/{glide-data-editor-kjT1twjd.js → glide-data-editor-D8O9AS1C.js} +2 -2
- package/dist/{graphlib-B05vp8B3.js → graphlib-BV1_gi0C.js} +2 -1
- package/dist/hasIn-DnfJcYpY.js +108 -0
- package/dist/{info-VBDWY6EO-CHQo46SB.js → info-VBDWY6EO-BTyzxmhr.js} +2 -2
- package/dist/{infoDiagram-HS3SLOUP-WHNM1sDJ.js → infoDiagram-HS3SLOUP-OYrX6uO3.js} +9 -9
- package/dist/{input-DONWC1s4.js → input-BeQSGpld.js} +1 -1
- package/dist/main.js +97 -75
- package/dist/{mermaid-BdEvqBXn.js → mermaid-808LPVim.js} +19 -19
- package/dist/{mermaid-parser.core-C2Dti_2f.js → mermaid-parser.core-ntCgyx0x.js} +8 -8
- package/dist/min-Ds3gG0Ff.js +96 -0
- package/dist/{mindmap-definition-VGOIOE7T-B02Y_l4r.js → mindmap-definition-VGOIOE7T-CxEUZZvY.js} +1 -1
- package/dist/{packet-DYOGHKS2-DjPkocnd.js → packet-DYOGHKS2-BhvnpoGi.js} +2 -2
- package/dist/{pie-VRWISCQL-B9pA8cOD.js → pie-VRWISCQL-dILuA3iG.js} +2 -2
- package/dist/{pieDiagram-ADFJNKIX-Bzhvjry9.js → pieDiagram-ADFJNKIX-U3LrUqAS.js} +9 -9
- package/dist/{process-output-LVENbROu.js → process-output-BvZAAk1w.js} +3 -3
- package/dist/{radar-ZZBFDIW7-C2obWVPx.js → radar-ZZBFDIW7-DwFrOJDj.js} +2 -2
- package/dist/range-fJeId9Ri.js +30 -0
- package/dist/{requirementDiagram-UZGBJVZJ-B7RuV-90.js → requirementDiagram-UZGBJVZJ-D0zpQnKC.js} +1 -1
- package/dist/{stateDiagram-FKZM4ZOC-QeUJrF7u.js → stateDiagram-FKZM4ZOC-B1S8jGMn.js} +4 -4
- package/dist/{stateDiagram-v2-4FDKWEC3-eOW_mDCq.js → stateDiagram-v2-4FDKWEC3-BH5ozUbc.js} +2 -2
- package/dist/{toDate-CamIA0ND.js → toDate-O4H9dZVC.js} +1 -1
- package/dist/{treemap-GDKQZRPO-DWMsd3D8.js → treemap-GDKQZRPO-bx2ngsgN.js} +2 -2
- package/dist/{types-IIG7e4M2.js → types-D_ntCXg0.js} +1 -1
- package/dist/{useDeepCompareMemoize-DAfQftmI.js → useDeepCompareMemoize-B8DwRVrX.js} +1 -1
- package/dist/{vega-component-CuWVhTG9.js → vega-component-C-fsM9rL.js} +3 -3
- package/package.json +4 -5
- package/src/__tests__/main.test.tsx +12 -14
- package/src/components/ai/ai-provider-icon.tsx +1 -2
- package/src/components/data-table/cell-selection/types.ts +3 -2
- package/src/components/data-table/charts/charts.tsx +2 -2
- package/src/components/data-table/column-formatting/types.ts +3 -2
- package/src/components/data-table/column-header.tsx +4 -2
- package/src/components/data-table/column-wrapping/types.ts +3 -2
- package/src/components/data-table/copy-column/types.ts +3 -2
- package/src/components/data-table/focus-row/types.ts +3 -2
- package/src/components/data-table/range-focus/__tests__/atoms.test.ts +11 -11
- package/src/components/data-table/range-focus/__tests__/use-cell-range-selection.test.ts +9 -11
- package/src/components/editor/__tests__/data-attributes.test.tsx +93 -94
- package/src/components/editor/actions/name-cell-input.tsx +4 -2
- package/src/components/editor/actions/useCellActionButton.tsx +4 -2
- package/src/components/editor/cell/CellStatus.tsx +4 -5
- package/src/components/editor/cell/cell-context-menu.tsx +4 -2
- package/src/components/editor/cell/code/cell-editor.tsx +2 -1
- package/src/components/editor/cell/toolbar.tsx +2 -1
- package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +11 -12
- package/src/components/storage/__tests__/storage-snippets.test.ts +4 -6
- package/src/components/tracing/tracing.test.tsx +30 -30
- package/src/components/ui/badge.tsx +2 -1
- package/src/components/ui/button.tsx +2 -1
- package/src/components/ui/calendar.tsx +3 -2
- package/src/components/ui/combobox.tsx +2 -1
- package/src/components/ui/date-input.tsx +7 -6
- package/src/components/ui/date-picker.tsx +6 -4
- package/src/components/ui/field.tsx +1 -2
- package/src/components/ui/progress.tsx +3 -2
- package/src/components/ui/query-param-preserving-link.tsx +4 -2
- package/src/components/ui/sheet.tsx +2 -1
- package/src/components/ui/textarea.tsx +1 -2
- package/src/core/ai/context/providers/cell-output.ts +1 -2
- package/src/core/ai/tools/edit-notebook-tool.ts +4 -3
- package/src/core/ai/tools/run-cells-tool.ts +4 -3
- package/src/core/cells/__tests__/add-missing-import.test.ts +23 -22
- package/src/core/cells/__tests__/cell.test.ts +14 -13
- package/src/core/codemirror/cells/__tests__/extensions.test.ts +15 -17
- package/src/core/codemirror/language/languages/markdown.ts +1 -3
- package/src/core/codemirror/language/languages/python.ts +1 -1
- package/src/core/codemirror/language/languages/sql/completion-sources.tsx +4 -6
- package/src/core/codemirror/language/languages/sql/sql.ts +1 -3
- package/src/core/codemirror/reactive-references/__tests__/analyzer.test.ts +28 -42
- package/src/core/datasets/data-source-connections.ts +4 -2
- package/src/core/dom/__tests__/htmlUtils.test.ts +8 -14
- package/src/core/dom/__tests__/outline.test.ts +2 -3
- package/src/core/islands/__tests__/parse.test.ts +8 -7
- package/src/core/saving/__tests__/filename.test.ts +7 -6
- package/src/core/static/__tests__/download-html.test.ts +16 -15
- package/src/core/static/__tests__/files.test.ts +30 -28
- package/src/css/app/Cell.css +5 -2
- package/src/css/globals.css +40 -14
- package/src/plugins/impl/DataEditorPlugin.tsx +4 -2
- package/src/plugins/impl/FormPlugin.tsx +1 -2
- package/src/plugins/impl/__tests__/SliderPlugin.test.tsx +43 -15
- package/src/plugins/impl/data-frames/forms/__tests__/form.test.tsx +7 -9
- package/src/plugins/impl/plotly/PlotlyPlugin.tsx +12 -68
- package/src/plugins/impl/plotly/__tests__/selection.test.ts +237 -0
- package/src/plugins/impl/plotly/selection.ts +118 -0
- package/src/plugins/impl/vega/__tests__/make-selectable.test.ts +13 -14
- package/src/plugins/layout/ImageComparisonPlugin.tsx +1 -3
- package/src/plugins/stateless-plugin.ts +4 -2
- package/src/utils/__tests__/cell-urls.test.ts +24 -21
- package/src/utils/__tests__/filenames.test.ts +15 -14
- package/src/utils/__tests__/json-parser.test.ts +14 -21
- package/src/utils/__tests__/path.test.ts +34 -31
- package/src/utils/__tests__/urls.test.ts +19 -18
- package/dist/_basePickBy-CsPbmRlg.js +0 -110
- package/dist/_baseSet-Cs7YTRXk.js +0 -27
- package/dist/get-Wu1vTRhN.js +0 -68
- package/dist/range-CNXr10o1.js +0 -17
- /package/dist/{now-Dh_IQA36.js → now-nrrrOr01.js} +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { L as isFunction_default, N as constant_default, T as _baseRest_default, t as isArrayLikeObject_default } from "./isArrayLikeObject-LXbTYiBa.js";
|
|
2
|
+
import { r as _baseFlatten_default } from "./hasIn-DnfJcYpY.js";
|
|
2
3
|
import { t as isEmpty_default } from "./isEmpty-B7FX9wKt.js";
|
|
3
|
-
import {
|
|
4
|
+
import { a as filter_default, b as keys_default, i as values_default, n as reduce_default, r as isUndefined_default, s as forEach_default, t as _baseUniq_default } from "./_baseUniq-C87CckHL.js";
|
|
4
5
|
var union_default = _baseRest_default(function(e) {
|
|
5
6
|
return _baseUniq_default(_baseFlatten_default(e, 1, isArrayLikeObject_default, true));
|
|
6
7
|
}), DEFAULT_EDGE_NAME = "\0", GRAPH_NODE = "\0", EDGE_KEY_DELIM = "", Graph = class {
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { B as isArray_default, U as _Symbol_default, j as _isIndex_default, w as isLength_default, y as isArguments_default } from "./isArrayLikeObject-LXbTYiBa.js";
|
|
2
|
+
import { t as isSymbol_default } from "./isSymbol-DCbjQG_U.js";
|
|
3
|
+
import { t as memoize_default } from "./memoize-CSTI9eOX.js";
|
|
4
|
+
function arrayMap(f, R) {
|
|
5
|
+
for (var z = -1, B = f == null ? 0 : f.length, V = Array(B); ++z < B; ) V[z] = R(f[z], z, f);
|
|
6
|
+
return V;
|
|
7
|
+
}
|
|
8
|
+
var _arrayMap_default = arrayMap, INFINITY$1 = Infinity, symbolProto = _Symbol_default ? _Symbol_default.prototype : void 0, symbolToString = symbolProto ? symbolProto.toString : void 0;
|
|
9
|
+
function baseToString(R) {
|
|
10
|
+
if (typeof R == "string") return R;
|
|
11
|
+
if (isArray_default(R)) return _arrayMap_default(R, baseToString) + "";
|
|
12
|
+
if (isSymbol_default(R)) return symbolToString ? symbolToString.call(R) : "";
|
|
13
|
+
var z = R + "";
|
|
14
|
+
return z == "0" && 1 / R == -INFINITY$1 ? "-0" : z;
|
|
15
|
+
}
|
|
16
|
+
var _baseToString_default = baseToString, reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
|
|
17
|
+
function isKey(R, z) {
|
|
18
|
+
if (isArray_default(R)) return false;
|
|
19
|
+
var B = typeof R;
|
|
20
|
+
return B == "number" || B == "symbol" || B == "boolean" || R == null || isSymbol_default(R) ? true : reIsPlainProp.test(R) || !reIsDeepProp.test(R) || z != null && R in Object(z);
|
|
21
|
+
}
|
|
22
|
+
var _isKey_default = isKey, MAX_MEMOIZE_SIZE = 500;
|
|
23
|
+
function memoizeCapped(f) {
|
|
24
|
+
var R = memoize_default(f, function(f2) {
|
|
25
|
+
return z.size === MAX_MEMOIZE_SIZE && z.clear(), f2;
|
|
26
|
+
}), z = R.cache;
|
|
27
|
+
return R;
|
|
28
|
+
}
|
|
29
|
+
var _memoizeCapped_default = memoizeCapped, rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, reEscapeChar = /\\(\\)?/g, _stringToPath_default = _memoizeCapped_default(function(f) {
|
|
30
|
+
var R = [];
|
|
31
|
+
return f.charCodeAt(0) === 46 && R.push(""), f.replace(rePropName, function(f2, z, B, V) {
|
|
32
|
+
R.push(B ? V.replace(reEscapeChar, "$1") : z || f2);
|
|
33
|
+
}), R;
|
|
34
|
+
});
|
|
35
|
+
function toString(f) {
|
|
36
|
+
return f == null ? "" : _baseToString_default(f);
|
|
37
|
+
}
|
|
38
|
+
var toString_default = toString;
|
|
39
|
+
function castPath(R, z) {
|
|
40
|
+
return isArray_default(R) ? R : _isKey_default(R, z) ? [R] : _stringToPath_default(toString_default(R));
|
|
41
|
+
}
|
|
42
|
+
var _castPath_default = castPath, INFINITY = Infinity;
|
|
43
|
+
function toKey(f) {
|
|
44
|
+
if (typeof f == "string" || isSymbol_default(f)) return f;
|
|
45
|
+
var R = f + "";
|
|
46
|
+
return R == "0" && 1 / f == -INFINITY ? "-0" : R;
|
|
47
|
+
}
|
|
48
|
+
var _toKey_default = toKey;
|
|
49
|
+
function baseGet(f, R) {
|
|
50
|
+
R = _castPath_default(R, f);
|
|
51
|
+
for (var z = 0, B = R.length; f != null && z < B; ) f = f[_toKey_default(R[z++])];
|
|
52
|
+
return z && z == B ? f : void 0;
|
|
53
|
+
}
|
|
54
|
+
var _baseGet_default = baseGet;
|
|
55
|
+
function get(f, R, z) {
|
|
56
|
+
var B = f == null ? void 0 : _baseGet_default(f, R);
|
|
57
|
+
return B === void 0 ? z : B;
|
|
58
|
+
}
|
|
59
|
+
var get_default = get;
|
|
60
|
+
function arrayPush(f, R) {
|
|
61
|
+
for (var z = -1, B = R.length, V = f.length; ++z < B; ) f[V + z] = R[z];
|
|
62
|
+
return f;
|
|
63
|
+
}
|
|
64
|
+
var _arrayPush_default = arrayPush, spreadableSymbol = _Symbol_default ? _Symbol_default.isConcatSpreadable : void 0;
|
|
65
|
+
function isFlattenable(R) {
|
|
66
|
+
return isArray_default(R) || isArguments_default(R) || !!(spreadableSymbol && R && R[spreadableSymbol]);
|
|
67
|
+
}
|
|
68
|
+
var _isFlattenable_default = isFlattenable;
|
|
69
|
+
function baseFlatten(f, R, z, B, V) {
|
|
70
|
+
var H = -1, U = f.length;
|
|
71
|
+
for (z || (z = _isFlattenable_default), V || (V = []); ++H < U; ) {
|
|
72
|
+
var W = f[H];
|
|
73
|
+
R > 0 && z(W) ? R > 1 ? baseFlatten(W, R - 1, z, B, V) : _arrayPush_default(V, W) : B || (V[V.length] = W);
|
|
74
|
+
}
|
|
75
|
+
return V;
|
|
76
|
+
}
|
|
77
|
+
var _baseFlatten_default = baseFlatten;
|
|
78
|
+
function baseHasIn(f, R) {
|
|
79
|
+
return f != null && R in Object(f);
|
|
80
|
+
}
|
|
81
|
+
var _baseHasIn_default = baseHasIn;
|
|
82
|
+
function hasPath(R, H, U) {
|
|
83
|
+
H = _castPath_default(H, R);
|
|
84
|
+
for (var W = -1, G = H.length, K = false; ++W < G; ) {
|
|
85
|
+
var q = _toKey_default(H[W]);
|
|
86
|
+
if (!(K = R != null && U(R, q))) break;
|
|
87
|
+
R = R[q];
|
|
88
|
+
}
|
|
89
|
+
return K || ++W != G ? K : (G = R == null ? 0 : R.length, !!G && isLength_default(G) && _isIndex_default(q, G) && (isArray_default(R) || isArguments_default(R)));
|
|
90
|
+
}
|
|
91
|
+
var _hasPath_default = hasPath;
|
|
92
|
+
function hasIn(f, R) {
|
|
93
|
+
return f != null && _hasPath_default(f, R, _baseHasIn_default);
|
|
94
|
+
}
|
|
95
|
+
var hasIn_default = hasIn;
|
|
96
|
+
export {
|
|
97
|
+
get_default as a,
|
|
98
|
+
_castPath_default as c,
|
|
99
|
+
_arrayMap_default as d,
|
|
100
|
+
_arrayPush_default as i,
|
|
101
|
+
toString_default as l,
|
|
102
|
+
_hasPath_default as n,
|
|
103
|
+
_baseGet_default as o,
|
|
104
|
+
_baseFlatten_default as r,
|
|
105
|
+
_toKey_default as s,
|
|
106
|
+
hasIn_default as t,
|
|
107
|
+
_isKey_default as u
|
|
108
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./chunk-TCCFYFTB-
|
|
1
|
+
import "./chunk-TCCFYFTB-Clbl-fTg.js";
|
|
2
2
|
import "./main-XimWhSi_.js";
|
|
3
|
-
import { n as createInfoServices, t as InfoModule } from "./chunk-FRFDVMJY-
|
|
3
|
+
import { n as createInfoServices, t as InfoModule } from "./chunk-FRFDVMJY-DnEvEFRR.js";
|
|
4
4
|
export {
|
|
5
5
|
createInfoServices
|
|
6
6
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import "./chunk-TCCFYFTB-
|
|
1
|
+
import "./chunk-TCCFYFTB-Clbl-fTg.js";
|
|
2
2
|
import "./main-XimWhSi_.js";
|
|
3
3
|
import "./purify.es-hTCfRGdl.js";
|
|
4
4
|
import { i as log, r as __name } from "./src-DbP20yFZ.js";
|
|
5
5
|
import { t as package_default } from "./chunk-DR5Q36YT-C40cYcy5.js";
|
|
6
6
|
import { c as configureSvgSize } from "./chunk-ABZYJK2D-CZYCCtLy.js";
|
|
7
7
|
import { t as selectSvgElement } from "./chunk-EXTU4WIE-jUPSAk3i.js";
|
|
8
|
-
import "./chunk-UMXZTB3W-
|
|
9
|
-
import "./chunk-4F5CHEZ2-
|
|
10
|
-
import "./chunk-FRFDVMJY-
|
|
11
|
-
import "./chunk-SJTYNZTY-
|
|
12
|
-
import "./chunk-PL6DKKU2-
|
|
13
|
-
import "./chunk-TQ3KTPDO-
|
|
14
|
-
import "./chunk-B2363JML-
|
|
15
|
-
import { t as parse } from "./mermaid-parser.core-
|
|
8
|
+
import "./chunk-UMXZTB3W-D-A834Bq.js";
|
|
9
|
+
import "./chunk-4F5CHEZ2-D5mClyDv.js";
|
|
10
|
+
import "./chunk-FRFDVMJY-DnEvEFRR.js";
|
|
11
|
+
import "./chunk-SJTYNZTY-BsBZnJUj.js";
|
|
12
|
+
import "./chunk-PL6DKKU2-DnId6G-x.js";
|
|
13
|
+
import "./chunk-TQ3KTPDO-CFkSQ30e.js";
|
|
14
|
+
import "./chunk-B2363JML-Br0eA2T3.js";
|
|
15
|
+
import { t as parse } from "./mermaid-parser.core-ntCgyx0x.js";
|
|
16
16
|
var parser = { parse: /* @__PURE__ */ __name(async (a) => {
|
|
17
17
|
let o = await parse("info", a);
|
|
18
18
|
log.debug(o);
|
|
@@ -13,7 +13,7 @@ import { d as createSlot, g as Logger, h as Events, m as useComposedRefs, p as c
|
|
|
13
13
|
import { t as require_react_dom } from "./react-dom-BSUuJjCR.js";
|
|
14
14
|
import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
|
|
15
15
|
import { $ as StyleNamespace, X as withFullScreenAsRoot, Y as MAX_HEIGHT_OFFSET, Z as withSmartCollisionBoundary, at as FocusScope, ct as useId, et as hideOthers, ft as composeEventHandlers, gt as dispatchDiscreteCustomEvent, ht as Primitive, it as Portal, lt as Presence, mt as createContextScope, ot as DismissableLayer, rt as useFocusGuards, st as useCallbackRef, tt as Combination_default, ut as useControllableState } from "./zod-C6UGQ3fz.js";
|
|
16
|
-
import { i as debounce_default } from "./constants-
|
|
16
|
+
import { i as debounce_default } from "./constants-CvyfaCvs.js";
|
|
17
17
|
import { w as useEvent_default } from "./useTheme-Bu-jenEZ.js";
|
|
18
18
|
import { t as memoizeLastValue } from "./once-C_TIu-kR.js";
|
|
19
19
|
var ChevronRight = createLucideIcon("chevron-right", [["path", {
|
package/dist/main.js
CHANGED
|
@@ -21,16 +21,16 @@ import { a as __toCommonJS, n as __esmMin, r as __export, s as __toESM, t as __c
|
|
|
21
21
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
22
22
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
23
23
|
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-B7781WJ3.js";
|
|
24
|
-
import { $ as createActions, $t as elementContainsMarimoCellFile, A as MarimoIncomingMessageEvent, An as PaintRoller, B as DotFilledIcon, Bn as CircleX, Bt as PluralWords, Cn as Content2$1, Ct as normalizeName, D as AccordionContent, Dn as Wrench, E as Accordion, En as Trigger2, Et as MarkdownLanguageAdapter, F as BorderAllIcon, Fn as File, Ft as repl, G as base64ToDataView, H as PinRightIcon, Hn as Braces, Ht as getDataTypeColor, In as FileText, It as adaptForLocalStorage, J as extractBase64FromDataURL, Jt as getRequestClient, K as base64ToUint8Array, L as CheckIcon, Ln as Eye, Lt as jotaiJsonStorage, M as MarimoValueReadyEvent, Mn as LoaderCircle, Mt as DeferredRequestRegistry, N as MarimoValueUpdateEvent, Nn as Layers, Nt as generateUUID, O as AccordionItem, On as Trash2, Ot as PathBuilder, P as createInputEvent, Pn as Info, Pt as useChromeActions, R as ChevronDownIcon, Rn as Database, Sn as Close$1, St as isInternalCellName, Tn as Root2$4, Tt as customPythonLanguageSupport, U as deserializeBlob, Un as esm_default$1, Ut as require_client, V as PinLeftIcon, Vn as CircleAlert, Vt as DATA_TYPE_ICON, Wn as import_lib, X as safeExtractSetUIElementMessageBuffers, Xt as useRequestClient, Y as isDataURLString, Yt as requestClientAtom, Z as renderHTML, Zt as isUninstantiated, _ as useExpandedConsoleOutput, _n as jsonToTSV, _t as headingToIdentifier, a as toPng, an as parseAttrValue, at as useCellActions, b as getDatasourceContext, bn as selectAtom, bt as displayCellName, c as useCellFocusActions, cn as CellOutputId, ct as createCell, d as Spinner, dn as UIElementId, dt as initialModeAtom, en as extractAllTracebackInfo, et as getCellEditorView, f as Popover$1, fn as findCellId, ft as kioskModeAtom, g as isOutputEmpty, gn as jsonToMarkdown, gt as isErrorMime, h as PopoverTrigger, hn as jsonParseWithSpecialChar, ht as outputIsStale, i as PythonIcon, in as filenameAtom, it as reducer, j as MarimoValueInputEvent, jn as NotebookPen, jt as goToCellLine, k as AccordionTrigger, kn as Table2, kt as Paths, l as useLastFocusedCellId, ln as HTMLCellId, lt as AnsiUp, m as PopoverContent, mn as RANDOM_ID_ATTR, mt as outputIsLoading, n as blobToString, nn as NotebookScopedLocalStorage, nt as notebookAtom, o as MarkdownRenderer, on as parseDataset, ot as useCellIds, p as PopoverClose$1, pn as OBJECT_ID_ATTR, pt as viewStateAtom, q as dataViewToBase64, qt as convertStatsName, r as filesToBase64, rt as notebookOutline, s as LazyAnyLanguageCodeMirror, sn as parseInitialValue, st as useCellNames, t as processOutput, tn as getTracebackInfo, tt as getCellNames, u as maybeAddAltairImport, un as SCRATCH_CELL_ID, ut as getInitialAppMode, v as useExpandedOutput, vn as atomWithReducer, vt as DATA_CELL_ID, wn as Item$1, wt as Checkbox, xt as getValidName, yn as atomWithStorage, yt as getCellDomProps, z as ChevronRightIcon, zn as Columns2, zt as PluralWord, __tla as __tla_0 } from "./process-output-
|
|
24
|
+
import { $ as createActions, $t as elementContainsMarimoCellFile, A as MarimoIncomingMessageEvent, An as PaintRoller, B as DotFilledIcon, Bn as CircleX, Bt as PluralWords, Cn as Content2$1, Ct as normalizeName, D as AccordionContent, Dn as Wrench, E as Accordion, En as Trigger2, Et as MarkdownLanguageAdapter, F as BorderAllIcon, Fn as File, Ft as repl, G as base64ToDataView, H as PinRightIcon, Hn as Braces, Ht as getDataTypeColor, In as FileText, It as adaptForLocalStorage, J as extractBase64FromDataURL, Jt as getRequestClient, K as base64ToUint8Array, L as CheckIcon, Ln as Eye, Lt as jotaiJsonStorage, M as MarimoValueReadyEvent, Mn as LoaderCircle, Mt as DeferredRequestRegistry, N as MarimoValueUpdateEvent, Nn as Layers, Nt as generateUUID, O as AccordionItem, On as Trash2, Ot as PathBuilder, P as createInputEvent, Pn as Info, Pt as useChromeActions, R as ChevronDownIcon, Rn as Database, Sn as Close$1, St as isInternalCellName, Tn as Root2$4, Tt as customPythonLanguageSupport, U as deserializeBlob, Un as esm_default$1, Ut as require_client, V as PinLeftIcon, Vn as CircleAlert, Vt as DATA_TYPE_ICON, Wn as import_lib, X as safeExtractSetUIElementMessageBuffers, Xt as useRequestClient, Y as isDataURLString, Yt as requestClientAtom, Z as renderHTML, Zt as isUninstantiated, _ as useExpandedConsoleOutput, _n as jsonToTSV, _t as headingToIdentifier, a as toPng, an as parseAttrValue, at as useCellActions, b as getDatasourceContext, bn as selectAtom, bt as displayCellName, c as useCellFocusActions, cn as CellOutputId, ct as createCell, d as Spinner, dn as UIElementId, dt as initialModeAtom, en as extractAllTracebackInfo, et as getCellEditorView, f as Popover$1, fn as findCellId, ft as kioskModeAtom, g as isOutputEmpty, gn as jsonToMarkdown, gt as isErrorMime, h as PopoverTrigger, hn as jsonParseWithSpecialChar, ht as outputIsStale, i as PythonIcon, in as filenameAtom, it as reducer, j as MarimoValueInputEvent, jn as NotebookPen, jt as goToCellLine, k as AccordionTrigger, kn as Table2, kt as Paths, l as useLastFocusedCellId, ln as HTMLCellId, lt as AnsiUp, m as PopoverContent, mn as RANDOM_ID_ATTR, mt as outputIsLoading, n as blobToString, nn as NotebookScopedLocalStorage, nt as notebookAtom, o as MarkdownRenderer, on as parseDataset, ot as useCellIds, p as PopoverClose$1, pn as OBJECT_ID_ATTR, pt as viewStateAtom, q as dataViewToBase64, qt as convertStatsName, r as filesToBase64, rt as notebookOutline, s as LazyAnyLanguageCodeMirror, sn as parseInitialValue, st as useCellNames, t as processOutput, tn as getTracebackInfo, tt as getCellNames, u as maybeAddAltairImport, un as SCRATCH_CELL_ID, ut as getInitialAppMode, v as useExpandedOutput, vn as atomWithReducer, vt as DATA_CELL_ID, wn as Item$1, wt as Checkbox, xt as getValidName, yn as atomWithStorage, yt as getCellDomProps, z as ChevronRightIcon, zn as Columns2, zt as PluralWord, __tla as __tla_0 } from "./process-output-BvZAAk1w.js";
|
|
25
25
|
import { __tla as __tla_1 } from "./chunk-5FQGJX7Z-C428iZBW.js";
|
|
26
26
|
import { l as createLucideIcon, o as useSize, s as Root$4 } from "./dist-D_UjpfOY.js";
|
|
27
27
|
import { A as $896ba0a80a8f4d36$export$85fd5fdf27bacc79, C as DEFAULT_COLOR_SCHEME, D as SCALE_TYPE_DESCRIPTIONS, E as EMPTY_VALUE$1, F as ListFilter, I as ChartPie, L as ChartColumn, M as $5a387cc49350e6db$export$722debc0e56fea39, N as Table$1, O as TIME_UNIT_DESCRIPTIONS, P as SquareFunction, S as DEFAULT_AGGREGATION, T as DEFAULT_TIME_UNIT, _ as AGGREGATION_TYPE_DESCRIPTIONS, a as AGGREGATION_FNS$1, b as COLOR_SCHEMES, c as COLOR_BY_FIELDS, d as NONE_VALUE, f as SELECTABLE_DATA_TYPES, g as TIME_UNITS, h as STRING_AGGREGATION_FNS, i as convertDataTypeToSelectable, j as $fb18d541ea1ad717$export$ad991b66133851cf, k as escapeFieldName, l as COMBINED_TIME_UNITS, m as SORT_TYPES, n as createSpecWithoutData, o as BIN_AGGREGATION, p as SINGLE_TIME_UNITS, r as isFieldSet, s as CHART_TYPES, t as augmentSpecWithData, u as ChartType, v as AGGREGATION_TYPE_ICON, w as DEFAULT_MAX_BINS_FACET, x as COUNT_FIELD, y as CHART_TYPE_ICON } from "./spec-sgFxCEh3.js";
|
|
28
28
|
import { c as Calendar, i as createReducerAndAtoms, n as useOnUnmount, o as ToggleLeft, r as Badge, t as useOnMount } from "./useLifecycle-BlKjtYt4.js";
|
|
29
29
|
import { t as Check } from "./check-CWUkiHmb.js";
|
|
30
30
|
import { A as Icon, C as logNever, D as $18f2051aff69b9bf$export$a54013f0d02a8f82, E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, F as createCollection, I as X, M as clamp$3, N as usePrevious$1, O as $b5e257d569688ac6$export$535bd6ca7f90a273, P as useDirection, R as ChevronDown, S as assertNever, T as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, _ as menuControlVariants, a as SelectContent, b as menuSeparatorVariants, c as SelectLabel, d as SelectValue, f as NativeSelect, g as menuControlCheckVariants, h as menuContentCommon, i as Select, j as Trigger$3, l as SelectSeparator, m as MENU_ITEM_DISABLED, n as Strings, o as SelectGroup, p as selectStyles, r as capitalize, s as SelectItem, t as Label, u as SelectTrigger, v as menuItemVariants, w as $a916eb452884faea$export$b7a616150fdb9f44, x as menuSubTriggerVariants, y as menuLabelVariants } from "./label-DbZGAoCH.js";
|
|
31
|
-
import { $ as $e5be200c675c3b3a$export$aca958c65c314e6c, $t as Portal, A as $d2b4bc8c273e7be6$export$24d547caef80ccd1, At as $c87311424ea30a05$export$fedb369cb70207f1, B as $64fa3d84918910a7$export$c62b8e45d58ddad9, Bt as $431fbd86ca7dc216$export$f21a1ffae260145a, C as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Ct as $8ae05eaa5c114e9c$export$7f54fc3180508a52, D as $ee014567cb39d3f0$export$ff05c3ac10437e03, Dt as $c87311424ea30a05$export$78551043582a6a98, E as $ee014567cb39d3f0$export$f551688fc98f2e09, Et as $c87311424ea30a05$export$6446a186d09e379e, F as $64fa3d84918910a7$export$2881499e37b75b9a, Ft as $d4ee10de306f2510$export$b4f377a2b6254582, G as marked, Gt as Anchor2, H as $64fa3d84918910a7$export$ef03459518577ad4, Ht as $bdb11010cef70236$export$b4cc09c592e8fdb8, I as $64fa3d84918910a7$export$29f1550f4b0d4415, It as $d4ee10de306f2510$export$cd4e5573fbe2b576, J as $d2e8511e6f209edf$export$e908e06f4b8e3402, Jt as Content2$2, K as useDebounceControlledState, Kt as Arrow2, L as $64fa3d84918910a7$export$4d86445c2cf5e3, Lt as $d4ee10de306f2510$export$e58f029f0fbfdb29, M as $01b77f81d0f07f68$export$75b6ee27786ba447, Mt as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, N as $01b77f81d0f07f68$export$b04be29aa201d4f5, Nt as $3ef42575df84b30b$export$9d1611c77c2fe928, O as $514c0188e459b4c0$export$5f1af8db9871e1d6, Ot as $c87311424ea30a05$export$9ac100e40613ea10, P as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Pt as $d4ee10de306f2510$export$4282f70798064fe0, Q as $e5be200c675c3b3a$export$a763b9476acd3eb, Qt as Label$2, R as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, Rt as $f4e2df6bd15f8569$export$98658e8c59125e6a, S as $3985021b0ad6602f$export$f5b8910cec6cf069, St as $e9faafb641e167db$export$90fc3a17d93f704c, T as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Tt as $313b98861ee5dd6c$export$d6875122194c7b44, U as $64fa3d84918910a7$export$fabf2dc03a41866e, Ut as $bdb11010cef70236$export$f680877a34711e37, V as $64fa3d84918910a7$export$df3a06d6289f983e, Vt as $ff5963eb1fccf552$export$e08e3b67e392101e, Wt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, X as $e93e671b31057976$export$b8473d3665f3a75a, Xt as Item2$2, Y as $2baaea4c71418dea$export$294aa081a6c6f55d, Yt as Group$1, Z as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, Zt as ItemIndicator, _ as DropdownMenuSub, _t as $9446cca9a3875146$export$7d15b64cf5a3a4c4, a as NumberField, an as SubContent, at as $6c7bd7858deea686$export$cd11ab140839f11d, b as DropdownMenuTrigger, bt as $b4b717babfbb907b$export$bebd5a1431fec25d, c as prettyNumber, cn as Item$2, ct as $6db58dc88e78b024$export$2f817fcdc4b89ae0, d as DropdownMenuContent, dn as Search, dt as $9ab94262bd0047c7$export$420e68273165f4ec, en as RadioGroup$2, et as $e5be200c675c3b3a$export$dad6ae84456c676a, f as DropdownMenuGroup, fn as Circle, ft as $3ad3f6e1647bc98d$export$80f3e147d781571c, g as DropdownMenuSeparator, gt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, h as DropdownMenuPortal, ht as _class_private_field_init, i as OnBlurredInput, in as Sub, it as $701a24aa0da5b062$export$ea18c227d4417cc3, j as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, jt as $7215afc6de606d6b$export$de79e2c695e052f3, k as $514c0188e459b4c0$export$9afb8bc826b033ea, kt as $c87311424ea30a05$export$a11b0059900ceec8, l as prettyScientificNumber, ln as Root$5, lt as $5b160d28a433310d$export$c17fa47878dc55b6, m as DropdownMenuLabel, mt as $f6c31cce2adf654f$export$45712eceda6fad21, n as DebouncedNumberInput, nn as Root3, nt as $319e236875307eab$export$a9b970dcc4ae71a9, o as maxFractionalDigits, on as SubTrigger, ot as $fca6afa0e843324b$export$87b761675e8eaa10, p as DropdownMenuItem, pn as ChevronRight, pt as $507fabe10e71c6fb$export$630ff653c5ada6a9, q as useDebouncedCallback, qt as CheckboxItem, r as Input, rn as Separator, rt as $f7dceffc5ad7768b$export$4e328f61c538687f, s as prettyEngineeringNumber, sn as createMenuScope, st as $fca6afa0e843324b$export$f12b703ca79dfbb1, t as DebouncedInput, tn as RadioItem, tt as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, u as DropdownMenu, un as createRovingFocusGroupScope, ut as $6179b936705e76d3$export$ae780daf29e6d456, v as DropdownMenuSubContent, vt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, w as $a049562f99e7db0e$export$f9c6924e160136d1, wt as $df56164dff5785e2$export$4338b53315abf666, x as $3985021b0ad6602f$export$37fb8590cf2c088c, xt as $99facab73266f662$export$5add1d006293d136, y as DropdownMenuSubTrigger, yt as $b4b717babfbb907b$export$4c063cf1350e6fed, z as $64fa3d84918910a7$export$c245e6201fed2f75, zt as $431fbd86ca7dc216$export$b204af158042fbac } from "./input-
|
|
32
|
-
import { a as millisecondsInMinute, c as asRemoteURL, d as isUrl, f as require_cuid2, g as CircleQuestionMark, h as isWasm, i as millisecondsInHour, m as Deferred, n as constructFrom, o as millisecondsInSecond, r as millisecondsInDay, s as millisecondsInWeek, t as toDate, u as appendQueryParams } from "./toDate-
|
|
33
|
-
import { a as Plus, i as Trash, n as ErrorBoundary, o as Pencil, r as require_prop_types, t as BulkEdit } from "./types-
|
|
31
|
+
import { $ as $e5be200c675c3b3a$export$aca958c65c314e6c, $t as Portal, A as $d2b4bc8c273e7be6$export$24d547caef80ccd1, At as $c87311424ea30a05$export$fedb369cb70207f1, B as $64fa3d84918910a7$export$c62b8e45d58ddad9, Bt as $431fbd86ca7dc216$export$f21a1ffae260145a, C as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Ct as $8ae05eaa5c114e9c$export$7f54fc3180508a52, D as $ee014567cb39d3f0$export$ff05c3ac10437e03, Dt as $c87311424ea30a05$export$78551043582a6a98, E as $ee014567cb39d3f0$export$f551688fc98f2e09, Et as $c87311424ea30a05$export$6446a186d09e379e, F as $64fa3d84918910a7$export$2881499e37b75b9a, Ft as $d4ee10de306f2510$export$b4f377a2b6254582, G as marked, Gt as Anchor2, H as $64fa3d84918910a7$export$ef03459518577ad4, Ht as $bdb11010cef70236$export$b4cc09c592e8fdb8, I as $64fa3d84918910a7$export$29f1550f4b0d4415, It as $d4ee10de306f2510$export$cd4e5573fbe2b576, J as $d2e8511e6f209edf$export$e908e06f4b8e3402, Jt as Content2$2, K as useDebounceControlledState, Kt as Arrow2, L as $64fa3d84918910a7$export$4d86445c2cf5e3, Lt as $d4ee10de306f2510$export$e58f029f0fbfdb29, M as $01b77f81d0f07f68$export$75b6ee27786ba447, Mt as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, N as $01b77f81d0f07f68$export$b04be29aa201d4f5, Nt as $3ef42575df84b30b$export$9d1611c77c2fe928, O as $514c0188e459b4c0$export$5f1af8db9871e1d6, Ot as $c87311424ea30a05$export$9ac100e40613ea10, P as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Pt as $d4ee10de306f2510$export$4282f70798064fe0, Q as $e5be200c675c3b3a$export$a763b9476acd3eb, Qt as Label$2, R as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, Rt as $f4e2df6bd15f8569$export$98658e8c59125e6a, S as $3985021b0ad6602f$export$f5b8910cec6cf069, St as $e9faafb641e167db$export$90fc3a17d93f704c, T as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Tt as $313b98861ee5dd6c$export$d6875122194c7b44, U as $64fa3d84918910a7$export$fabf2dc03a41866e, Ut as $bdb11010cef70236$export$f680877a34711e37, V as $64fa3d84918910a7$export$df3a06d6289f983e, Vt as $ff5963eb1fccf552$export$e08e3b67e392101e, Wt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, X as $e93e671b31057976$export$b8473d3665f3a75a, Xt as Item2$2, Y as $2baaea4c71418dea$export$294aa081a6c6f55d, Yt as Group$1, Z as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, Zt as ItemIndicator, _ as DropdownMenuSub, _t as $9446cca9a3875146$export$7d15b64cf5a3a4c4, a as NumberField, an as SubContent, at as $6c7bd7858deea686$export$cd11ab140839f11d, b as DropdownMenuTrigger, bt as $b4b717babfbb907b$export$bebd5a1431fec25d, c as prettyNumber, cn as Item$2, ct as $6db58dc88e78b024$export$2f817fcdc4b89ae0, d as DropdownMenuContent, dn as Search, dt as $9ab94262bd0047c7$export$420e68273165f4ec, en as RadioGroup$2, et as $e5be200c675c3b3a$export$dad6ae84456c676a, f as DropdownMenuGroup, fn as Circle, ft as $3ad3f6e1647bc98d$export$80f3e147d781571c, g as DropdownMenuSeparator, gt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, h as DropdownMenuPortal, ht as _class_private_field_init, i as OnBlurredInput, in as Sub, it as $701a24aa0da5b062$export$ea18c227d4417cc3, j as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, jt as $7215afc6de606d6b$export$de79e2c695e052f3, k as $514c0188e459b4c0$export$9afb8bc826b033ea, kt as $c87311424ea30a05$export$a11b0059900ceec8, l as prettyScientificNumber, ln as Root$5, lt as $5b160d28a433310d$export$c17fa47878dc55b6, m as DropdownMenuLabel, mt as $f6c31cce2adf654f$export$45712eceda6fad21, n as DebouncedNumberInput, nn as Root3, nt as $319e236875307eab$export$a9b970dcc4ae71a9, o as maxFractionalDigits, on as SubTrigger, ot as $fca6afa0e843324b$export$87b761675e8eaa10, p as DropdownMenuItem, pn as ChevronRight, pt as $507fabe10e71c6fb$export$630ff653c5ada6a9, q as useDebouncedCallback, qt as CheckboxItem, r as Input, rn as Separator, rt as $f7dceffc5ad7768b$export$4e328f61c538687f, s as prettyEngineeringNumber, sn as createMenuScope, st as $fca6afa0e843324b$export$f12b703ca79dfbb1, t as DebouncedInput, tn as RadioItem, tt as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, u as DropdownMenu, un as createRovingFocusGroupScope, ut as $6179b936705e76d3$export$ae780daf29e6d456, v as DropdownMenuSubContent, vt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, w as $a049562f99e7db0e$export$f9c6924e160136d1, wt as $df56164dff5785e2$export$4338b53315abf666, x as $3985021b0ad6602f$export$37fb8590cf2c088c, xt as $99facab73266f662$export$5add1d006293d136, y as DropdownMenuSubTrigger, yt as $b4b717babfbb907b$export$4c063cf1350e6fed, z as $64fa3d84918910a7$export$c245e6201fed2f75, zt as $431fbd86ca7dc216$export$b204af158042fbac } from "./input-BeQSGpld.js";
|
|
32
|
+
import { a as millisecondsInMinute, c as asRemoteURL, d as isUrl, f as require_cuid2, g as CircleQuestionMark, h as isWasm, i as millisecondsInHour, m as Deferred, n as constructFrom, o as millisecondsInSecond, r as millisecondsInDay, s as millisecondsInWeek, t as toDate, u as appendQueryParams } from "./toDate-O4H9dZVC.js";
|
|
33
|
+
import { a as Plus, i as Trash, n as ErrorBoundary, o as Pencil, r as require_prop_types, t as BulkEdit } from "./types-D_ntCXg0.js";
|
|
34
34
|
import { n as clsx_default } from "./clsx-yW_RAw0K.js";
|
|
35
35
|
import { _ as Functions, c as Objects, g as Logger, h as Events, i as NOT_SET, l as useEventListener, m as useComposedRefs, n as buttonVariants, o as isPlatformMac, p as composeRefs, r as cva, t as Button, u as Slot$1, v as throwNotImplemented, y as cn } from "./button-DNlNlZY_.js";
|
|
36
36
|
import { t as require_react_dom } from "./react-dom-BSUuJjCR.js";
|
|
@@ -39,10 +39,10 @@ import { $ as StyleNamespace, A as looseObject, B as union, C as any, F as optio
|
|
|
39
39
|
import { a as Content$2, c as Root$6, i as prettyError, n as ErrorBanner, o as Overlay, r as CellNotInitializedError, s as Portal$1, t as Banner } from "./error-banner-Cjf0RU9I.js";
|
|
40
40
|
import { a as TooltipRoot, i as TooltipProvider, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, s as Provider$2, t as Tooltip } from "./tooltip-BXEpXV3R.js";
|
|
41
41
|
import { n as minimalSetup, r as _extends$5, t as esm_default, u as CopyClipboardIcon } from "./esm-4wmsH2lp.js";
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import { t as
|
|
42
|
+
import { a as get_default } from "./hasIn-DnfJcYpY.js";
|
|
43
|
+
import { n as _baseSet_default } from "./_basePickBy-Sow3pJjS.js";
|
|
44
|
+
import { n as pick_default, t as range_default } from "./range-fJeId9Ri.js";
|
|
45
|
+
import { i as debounce_default, r as KnownQueryParams, t as CSSClasses } from "./constants-CvyfaCvs.js";
|
|
46
46
|
import { C as dequal, S as getBuildingBlocks, _ as useSetAtom, c as AppConfigSchema, d as useJotaiEffect, g as useAtomValue, h as useAtom, i as autoInstantiateAtom, m as Provider, n as useTheme, o as localeAtom, r as aiEnabledAtom, s as useResolvedMarimoConfig, u as store, v as useStore, w as useEvent_default, x as buildStore, y as atom } from "./useTheme-Bu-jenEZ.js";
|
|
47
47
|
import { Z as EditorView } from "./dist-CxZvoNao.js";
|
|
48
48
|
import { t as invariant } from "./invariant-e8eBgdux.js";
|
|
@@ -56,7 +56,7 @@ import "./dist-Ci0CXEFt.js";
|
|
|
56
56
|
import "./dist-DJ9F1eHs.js";
|
|
57
57
|
import { a as parser, r as python } from "./dist-DAfcmt-d.js";
|
|
58
58
|
import "./purify.es-hTCfRGdl.js";
|
|
59
|
-
import { a as AlertTitle, i as AlertDescription, n as arrow, o as isValid, r as Alert, t as useDeepCompareMemoize } from "./useDeepCompareMemoize-
|
|
59
|
+
import { a as AlertTitle, i as AlertDescription, n as arrow, o as isValid, r as Alert, t as useDeepCompareMemoize } from "./useDeepCompareMemoize-B8DwRVrX.js";
|
|
60
60
|
import { n as memoize$1, t as isPropValid } from "./emotion-is-prop-valid.esm-CJVjyntJ.js";
|
|
61
61
|
import { n as formats } from "./vega-loader.browser-DqEcFOPD.js";
|
|
62
62
|
import { a as getContainerWidth, n as vegaLoadData, o as getVegaFieldTypes, r as createBatchedLoader, s as tooltipHandler, t as parseCsvData } from "./loader-Bd1kgLn7.js";
|
|
@@ -23755,13 +23755,13 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
|
|
|
23755
23755
|
else if (c.some(_temp5$7)) _ = "SQL error";
|
|
23756
23756
|
else {
|
|
23757
23757
|
let e2;
|
|
23758
|
-
r[0] === c ? e2 = r[1] : (e2 = c.find(_temp6$
|
|
23758
|
+
r[0] === c ? e2 = r[1] : (e2 = c.find(_temp6$5), r[0] = c, r[1] = e2);
|
|
23759
23759
|
let d2 = e2;
|
|
23760
23760
|
d2 && "exception_type" in d2 && (_ = d2.exception_type);
|
|
23761
23761
|
}
|
|
23762
23762
|
let S, w, E, O, M, I;
|
|
23763
23763
|
if (r[2] !== v || r[3] !== d || r[4] !== h || r[5] !== f || r[6] !== c || r[7] !== y || r[8] !== _) {
|
|
23764
|
-
let e2 = c.filter(_temp7$
|
|
23764
|
+
let e2 = c.filter(_temp7$2), z2 = c.filter(_temp8$1), G2 = c.filter(_temp9$1), q = c.filter(_temp0$1), Z7 = c.filter(_temp1$1), Q7 = c.filter(_temp10), $7 = c.filter(_temp11), e9 = c.filter(_temp12), t9 = c.filter(_temp13), n9 = c.filter(_temp14), r9 = c.filter(_temp15), i9 = c.filter(_temp16), a9 = c.filter(_temp17), o9;
|
|
23765
23765
|
r[15] === h ? o9 = r[16] : (o9 = () => {
|
|
23766
23766
|
h.openApplication("scratchpad");
|
|
23767
23767
|
}, r[15] = h, r[16] = o9);
|
|
@@ -24130,13 +24130,13 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
|
|
|
24130
24130
|
function _temp5$7(e) {
|
|
24131
24131
|
return e.type === "sql-error";
|
|
24132
24132
|
}
|
|
24133
|
-
function _temp6$
|
|
24133
|
+
function _temp6$5(e) {
|
|
24134
24134
|
return e.type === "exception";
|
|
24135
24135
|
}
|
|
24136
|
-
function _temp7$
|
|
24136
|
+
function _temp7$2(e) {
|
|
24137
24137
|
return e.type === "setup-refs";
|
|
24138
24138
|
}
|
|
24139
|
-
function _temp8$
|
|
24139
|
+
function _temp8$1(e) {
|
|
24140
24140
|
return e.type === "cycle";
|
|
24141
24141
|
}
|
|
24142
24142
|
function _temp9$1(e) {
|
|
@@ -37052,7 +37052,7 @@ ${E}`,
|
|
|
37052
37052
|
};
|
|
37053
37053
|
}
|
|
37054
37054
|
};
|
|
37055
|
-
var LazyChatbot = import_react.lazy(() => import("./chat-ui-
|
|
37055
|
+
var LazyChatbot = import_react.lazy(() => import("./chat-ui-Wi1Lm6y4.js").then((e) => ({
|
|
37056
37056
|
default: e.Chatbot
|
|
37057
37057
|
}))), messageSchema = array(object({
|
|
37058
37058
|
id: string(),
|
|
@@ -37198,7 +37198,7 @@ ${E}`,
|
|
|
37198
37198
|
"time",
|
|
37199
37199
|
"unknown"
|
|
37200
37200
|
];
|
|
37201
|
-
var import_compiler_runtime$84 = require_compiler_runtime(), TooltipProvider$2 = Provider$2, LazyDataEditor = import_react.lazy(() => import("./glide-data-editor-
|
|
37201
|
+
var import_compiler_runtime$84 = require_compiler_runtime(), TooltipProvider$2 = Provider$2, LazyDataEditor = import_react.lazy(() => import("./glide-data-editor-D8O9AS1C.js").then(async (m2) => {
|
|
37202
37202
|
await m2.__tla;
|
|
37203
37203
|
return m2;
|
|
37204
37204
|
}));
|
|
@@ -43163,7 +43163,7 @@ ${c}
|
|
|
43163
43163
|
render: S
|
|
43164
43164
|
}), r[5] = c, r[6] = y.control, r[7] = S, r[8] = w) : w = r[8], w;
|
|
43165
43165
|
}, AggregationSelect = (e) => {
|
|
43166
|
-
let r = (0, import_compiler_runtime$75.c)(12), { fieldName: c, selectedDataType: d, binFieldName: f, defaultAggregation: h } = e, _ = useFormContext(), v = d === "string" ? STRING_AGGREGATION_FNS : AGGREGATION_FNS$1, { chartType: y } = useChartFormContext(), S = y !== ChartType.HEATMAP, w = _temp6$
|
|
43166
|
+
let r = (0, import_compiler_runtime$75.c)(12), { fieldName: c, selectedDataType: d, binFieldName: f, defaultAggregation: h } = e, _ = useFormContext(), v = d === "string" ? STRING_AGGREGATION_FNS : AGGREGATION_FNS$1, { chartType: y } = useChartFormContext(), S = y !== ChartType.HEATMAP, w = _temp6$4, E = _temp7$1, O;
|
|
43167
43167
|
r[0] !== f || r[1] !== _ ? (O = (e2) => {
|
|
43168
43168
|
let { value: r2, previousValue: c2, onChange: d2 } = e2;
|
|
43169
43169
|
r2 === "bin" ? _.setValue(f, true) : c2 === "bin" && _.setValue(f, false), d2(r2);
|
|
@@ -43222,7 +43222,7 @@ ${c}
|
|
|
43222
43222
|
render: I
|
|
43223
43223
|
}), r[8] = c, r[9] = _.control, r[10] = I, r[11] = z) : z = r[11], z;
|
|
43224
43224
|
}, TooltipSelect = (e) => {
|
|
43225
|
-
let r = (0, import_compiler_runtime$75.c)(7), { fieldName: c, saveFunction: d } = e, f = useFormContext(), { fields: h } = useChartFormContext(), _ = _temp8
|
|
43225
|
+
let r = (0, import_compiler_runtime$75.c)(7), { fieldName: c, saveFunction: d } = e, f = useFormContext(), { fields: h } = useChartFormContext(), _ = _temp8, v;
|
|
43226
43226
|
r[0] !== h || r[1] !== d ? (v = (e2) => {
|
|
43227
43227
|
var _a3;
|
|
43228
43228
|
let { field: r2 } = e2, c2 = ((_a3 = r2.value) == null ? void 0 : _a3.map(_temp9)) ?? [];
|
|
@@ -43329,13 +43329,13 @@ ${c}
|
|
|
43329
43329
|
children: r
|
|
43330
43330
|
}, e);
|
|
43331
43331
|
}
|
|
43332
|
-
function _temp6$
|
|
43332
|
+
function _temp6$4(e) {
|
|
43333
43333
|
return (0, import_jsx_runtime.jsx)("span", {
|
|
43334
43334
|
className: "text-xs text-muted-foreground pr-10",
|
|
43335
43335
|
children: e
|
|
43336
43336
|
});
|
|
43337
43337
|
}
|
|
43338
|
-
function _temp7$
|
|
43338
|
+
function _temp7$1(e) {
|
|
43339
43339
|
let { value: r, Icon: c, subtitle: d } = e;
|
|
43340
43340
|
return (0, import_jsx_runtime.jsx)(SelectItem, {
|
|
43341
43341
|
value: r,
|
|
@@ -43352,7 +43352,7 @@ ${c}
|
|
|
43352
43352
|
})
|
|
43353
43353
|
}, r);
|
|
43354
43354
|
}
|
|
43355
|
-
function _temp8
|
|
43355
|
+
function _temp8(e, r) {
|
|
43356
43356
|
var _a3;
|
|
43357
43357
|
return {
|
|
43358
43358
|
field: e,
|
|
@@ -44365,7 +44365,7 @@ ${c}
|
|
|
44365
44365
|
}),
|
|
44366
44366
|
E.map((e2, d2) => (0, import_jsx_runtime.jsx)(TabsContent, {
|
|
44367
44367
|
value: e2.tabName,
|
|
44368
|
-
className: "h-[400px] mt-
|
|
44368
|
+
className: "h-[400px] mt-0",
|
|
44369
44369
|
children: (0, import_jsx_runtime.jsx)(ChartPanel, {
|
|
44370
44370
|
tableData: r,
|
|
44371
44371
|
chartConfig: e2.config,
|
|
@@ -44447,7 +44447,7 @@ ${c}
|
|
|
44447
44447
|
q
|
|
44448
44448
|
]);
|
|
44449
44449
|
return (0, import_jsx_runtime.jsxs)("div", {
|
|
44450
|
-
className: "flex flex-row gap-2 h-full rounded-md border pr-2",
|
|
44450
|
+
className: "flex flex-row gap-2 h-full rounded-md border-t pr-2",
|
|
44451
44451
|
children: [
|
|
44452
44452
|
(0, import_jsx_runtime.jsxs)("div", {
|
|
44453
44453
|
className: `relative flex flex-col gap-2 overflow-auto px-2 py-3 scrollbar-thin transition-width duration-200 ${O ? "w-8" : "w-[300px]"}`,
|
|
@@ -46123,7 +46123,7 @@ ${c}
|
|
|
46123
46123
|
}), r[48] = z, r[49] = f, r[50] = O, r[51] = v, r[52] = u9) : u9 = r[52];
|
|
46124
46124
|
let d9 = u9, f9;
|
|
46125
46125
|
r[53] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f9 = () => {
|
|
46126
|
-
E(_temp6$
|
|
46126
|
+
E(_temp6$3);
|
|
46127
46127
|
}, r[53] = f9) : f9 = r[53];
|
|
46128
46128
|
let p9 = o9 == null ? void 0 : o9.totalRows, m9;
|
|
46129
46129
|
r[54] === p9 ? m9 = r[55] : (m9 = [
|
|
@@ -46441,7 +46441,7 @@ ${c}
|
|
|
46441
46441
|
function _temp5$5(e) {
|
|
46442
46442
|
return filterToFilterCondition(e.id, e.value);
|
|
46443
46443
|
}
|
|
46444
|
-
function _temp6$
|
|
46444
|
+
function _temp6$3(e) {
|
|
46445
46445
|
return e.pageIndex === 0 ? e : {
|
|
46446
46446
|
...e,
|
|
46447
46447
|
pageIndex: 0
|
|
@@ -46608,7 +46608,7 @@ ${c}
|
|
|
46608
46608
|
children: _temp5$4
|
|
46609
46609
|
}),
|
|
46610
46610
|
(0, import_jsx_runtime.jsx)(CalendarGridBody, {
|
|
46611
|
-
children: _temp6$
|
|
46611
|
+
children: _temp6$2
|
|
46612
46612
|
})
|
|
46613
46613
|
]
|
|
46614
46614
|
}), r[7] = v) : v = r[7];
|
|
@@ -46650,7 +46650,7 @@ ${c}
|
|
|
46650
46650
|
children: e
|
|
46651
46651
|
});
|
|
46652
46652
|
}
|
|
46653
|
-
function _temp6$
|
|
46653
|
+
function _temp6$2(e) {
|
|
46654
46654
|
return (0, import_jsx_runtime.jsx)(CalendarCell, {
|
|
46655
46655
|
date: e
|
|
46656
46656
|
});
|
|
@@ -46908,10 +46908,10 @@ ${c}
|
|
|
46908
46908
|
(0, import_jsx_runtime.jsxs)(CalendarGrid, {
|
|
46909
46909
|
children: [
|
|
46910
46910
|
(0, import_jsx_runtime.jsx)(CalendarGridHeader, {
|
|
46911
|
-
children: _temp6$
|
|
46911
|
+
children: _temp6$1
|
|
46912
46912
|
}),
|
|
46913
46913
|
(0, import_jsx_runtime.jsx)(CalendarGridBody, {
|
|
46914
|
-
children: _temp7
|
|
46914
|
+
children: _temp7
|
|
46915
46915
|
})
|
|
46916
46916
|
]
|
|
46917
46917
|
})
|
|
@@ -46952,12 +46952,12 @@ ${c}
|
|
|
46952
46952
|
function _temp5$3(e) {
|
|
46953
46953
|
return cn("group flex flex-col gap-2", e);
|
|
46954
46954
|
}
|
|
46955
|
-
function _temp6$
|
|
46955
|
+
function _temp6$1(e) {
|
|
46956
46956
|
return (0, import_jsx_runtime.jsx)(CalendarHeaderCell, {
|
|
46957
46957
|
children: e
|
|
46958
46958
|
});
|
|
46959
46959
|
}
|
|
46960
|
-
function _temp7
|
|
46960
|
+
function _temp7(e) {
|
|
46961
46961
|
return (0, import_jsx_runtime.jsx)(CalendarCell, {
|
|
46962
46962
|
date: e
|
|
46963
46963
|
});
|
|
@@ -55445,7 +55445,7 @@ ${c}
|
|
|
55445
55445
|
onDrop: S
|
|
55446
55446
|
}, r[4] = d, r[5] = y, r[6] = _, r[7] = S, r[8] = w) : w = r[8];
|
|
55447
55447
|
let { getRootProps: E, getInputProps: O, isFocused: M, isDragAccept: I, isDragReject: z } = useDropzone(w), G;
|
|
55448
|
-
r[9] === v ? G = r[10] : (G = v.map(_temp6
|
|
55448
|
+
r[9] === v ? G = r[10] : (G = v.map(_temp6), r[9] = v, r[10] = G);
|
|
55449
55449
|
let q;
|
|
55450
55450
|
r[11] === G ? q = r[12] : (q = (0, import_jsx_runtime.jsx)("ul", {
|
|
55451
55451
|
children: G
|
|
@@ -55678,7 +55678,7 @@ ${c}
|
|
|
55678
55678
|
variant: "danger"
|
|
55679
55679
|
});
|
|
55680
55680
|
}
|
|
55681
|
-
function _temp6
|
|
55681
|
+
function _temp6(e) {
|
|
55682
55682
|
let [r] = e;
|
|
55683
55683
|
return (0, import_jsx_runtime.jsx)("li", {
|
|
55684
55684
|
children: r
|
|
@@ -57171,6 +57171,60 @@ ${c}
|
|
|
57171
57171
|
}
|
|
57172
57172
|
};
|
|
57173
57173
|
}
|
|
57174
|
+
var CLICK_SELECTABLE_TRACE_TYPES = /* @__PURE__ */ new Set([
|
|
57175
|
+
"heatmap",
|
|
57176
|
+
"histogram"
|
|
57177
|
+
]), STANDARD_POINT_KEYS = [
|
|
57178
|
+
"x",
|
|
57179
|
+
"y",
|
|
57180
|
+
"z",
|
|
57181
|
+
"lat",
|
|
57182
|
+
"lon",
|
|
57183
|
+
"curveNumber",
|
|
57184
|
+
"pointNumber",
|
|
57185
|
+
"pointNumbers",
|
|
57186
|
+
"pointIndex"
|
|
57187
|
+
];
|
|
57188
|
+
function getPointIndex(e) {
|
|
57189
|
+
if (typeof e.pointIndex == "number") return e.pointIndex;
|
|
57190
|
+
if (typeof e.pointNumber == "number") return e.pointNumber;
|
|
57191
|
+
}
|
|
57192
|
+
function isClickSelectablePoint(e) {
|
|
57193
|
+
var _a3;
|
|
57194
|
+
let r = (_a3 = e.data) == null ? void 0 : _a3.type;
|
|
57195
|
+
return typeof r == "string" ? CLICK_SELECTABLE_TRACE_TYPES.has(r) : false;
|
|
57196
|
+
}
|
|
57197
|
+
function extractIndices(e) {
|
|
57198
|
+
return e.flatMap((e2) => {
|
|
57199
|
+
let r = getPointIndex(e2);
|
|
57200
|
+
return typeof r == "number" ? [
|
|
57201
|
+
r
|
|
57202
|
+
] : [];
|
|
57203
|
+
});
|
|
57204
|
+
}
|
|
57205
|
+
function extractPoints(e) {
|
|
57206
|
+
if (!e) return [];
|
|
57207
|
+
let r;
|
|
57208
|
+
return e.map((e2) => {
|
|
57209
|
+
var _a3;
|
|
57210
|
+
let c = pick_default(e2, STANDARD_POINT_KEYS), d = Array.isArray(e2.data.hovertemplate) ? e2.data.hovertemplate[0] : e2.data.hovertemplate;
|
|
57211
|
+
return !d || ((_a3 = e2.data) == null ? void 0 : _a3.type) === "heatmap" ? c : (r = r ? r.update(d) : createParser(d), {
|
|
57212
|
+
...c,
|
|
57213
|
+
...r.parse(e2)
|
|
57214
|
+
});
|
|
57215
|
+
});
|
|
57216
|
+
}
|
|
57217
|
+
function extractClickSelection(e) {
|
|
57218
|
+
var _a3;
|
|
57219
|
+
if (!((_a3 = e.points) == null ? void 0 : _a3.length)) return;
|
|
57220
|
+
let r = e.points.filter(isClickSelectablePoint);
|
|
57221
|
+
if (r.length !== 0) return {
|
|
57222
|
+
selections: Arrays.EMPTY,
|
|
57223
|
+
points: extractPoints(r),
|
|
57224
|
+
indices: extractIndices(r),
|
|
57225
|
+
range: void 0
|
|
57226
|
+
};
|
|
57227
|
+
}
|
|
57174
57228
|
var import_compiler_runtime$32 = require_compiler_runtime();
|
|
57175
57229
|
const PERSISTED_LAYOUT_KEYS = [
|
|
57176
57230
|
"dragmode",
|
|
@@ -57345,10 +57399,11 @@ ${c}
|
|
|
57345
57399
|
}, r[19] = f, r[20] = n9);
|
|
57346
57400
|
let r9 = useEvent_default(n9), i9;
|
|
57347
57401
|
r[21] === f ? i9 = r[22] : (i9 = (e2) => {
|
|
57348
|
-
|
|
57349
|
-
|
|
57350
|
-
|
|
57351
|
-
|
|
57402
|
+
if (!e2) return;
|
|
57403
|
+
let r2 = extractClickSelection(e2);
|
|
57404
|
+
r2 && f((e3) => ({
|
|
57405
|
+
...e3,
|
|
57406
|
+
...r2
|
|
57352
57407
|
}));
|
|
57353
57408
|
}, r[21] = f, r[22] = i9);
|
|
57354
57409
|
let a9 = useEvent_default(i9), o9;
|
|
@@ -57357,11 +57412,11 @@ ${c}
|
|
|
57357
57412
|
...r2,
|
|
57358
57413
|
selections: "selections" in e2 ? e2.selections : [],
|
|
57359
57414
|
points: extractPoints(e2.points),
|
|
57360
|
-
indices: e2.points
|
|
57415
|
+
indices: extractIndices(e2.points),
|
|
57361
57416
|
range: e2.range
|
|
57362
57417
|
}));
|
|
57363
57418
|
}, r[23] = f, r[24] = o9);
|
|
57364
|
-
let s9 = useEvent_default(o9), c9 = y.frames ?? void 0, l9 = useEvent_default(
|
|
57419
|
+
let s9 = useEvent_default(o9), c9 = y.frames ?? void 0, l9 = useEvent_default(_temp5$1), u9;
|
|
57365
57420
|
return r[25] !== y || r[26] !== S || r[27] !== q || r[28] !== t9 || r[29] !== r9 || r[30] !== a9 || r[31] !== s9 || r[32] !== c9 || r[33] !== l9 || r[34] !== Z7 || r[35] !== $7 ? (u9 = (0, import_jsx_runtime.jsx)(LazyPlot, {
|
|
57366
57421
|
...y,
|
|
57367
57422
|
layout: S,
|
|
@@ -57379,29 +57434,6 @@ ${c}
|
|
|
57379
57434
|
}), r[25] = y, r[26] = S, r[27] = q, r[28] = t9, r[29] = r9, r[30] = a9, r[31] = s9, r[32] = c9, r[33] = l9, r[34] = Z7, r[35] = $7, r[36] = u9) : u9 = r[36], u9;
|
|
57380
57435
|
});
|
|
57381
57436
|
PlotlyComponent.displayName = "PlotlyComponent";
|
|
57382
|
-
var STANDARD_POINT_KEYS = [
|
|
57383
|
-
"x",
|
|
57384
|
-
"y",
|
|
57385
|
-
"z",
|
|
57386
|
-
"lat",
|
|
57387
|
-
"lon",
|
|
57388
|
-
"curveNumber",
|
|
57389
|
-
"pointNumber",
|
|
57390
|
-
"pointNumbers",
|
|
57391
|
-
"pointIndex"
|
|
57392
|
-
];
|
|
57393
|
-
function extractPoints(e) {
|
|
57394
|
-
if (!e) return [];
|
|
57395
|
-
let r;
|
|
57396
|
-
return e.map((e2) => {
|
|
57397
|
-
var _a3;
|
|
57398
|
-
let c = Objects.pick(e2, STANDARD_POINT_KEYS), d = Array.isArray(e2.data.hovertemplate) ? e2.data.hovertemplate[0] : e2.data.hovertemplate;
|
|
57399
|
-
return !d || ((_a3 = e2.data) == null ? void 0 : _a3.type) === "heatmap" ? c : (r = r ? r.update(d) : createParser(d), {
|
|
57400
|
-
...c,
|
|
57401
|
-
...r.parse(e2)
|
|
57402
|
-
});
|
|
57403
|
-
});
|
|
57404
|
-
}
|
|
57405
57437
|
function _temp$7(e) {
|
|
57406
57438
|
return e.includes("xaxis") || e.includes("yaxis");
|
|
57407
57439
|
}
|
|
@@ -57421,16 +57453,6 @@ ${c}
|
|
|
57421
57453
|
return Objects.pick(e, SUNBURST_DATA_KEYS);
|
|
57422
57454
|
}
|
|
57423
57455
|
function _temp5$1(e) {
|
|
57424
|
-
var _a3;
|
|
57425
|
-
return ((_a3 = e.data) == null ? void 0 : _a3.type) === "heatmap";
|
|
57426
|
-
}
|
|
57427
|
-
function _temp6(e) {
|
|
57428
|
-
return e.pointIndex;
|
|
57429
|
-
}
|
|
57430
|
-
function _temp7(e) {
|
|
57431
|
-
return e.pointIndex;
|
|
57432
|
-
}
|
|
57433
|
-
function _temp8(e) {
|
|
57434
57456
|
Logger.error("PlotlyPlugin: ", e);
|
|
57435
57457
|
}
|
|
57436
57458
|
var import_compiler_runtime$30 = require_compiler_runtime(), RadioPlugin = class {
|
|
@@ -58420,7 +58442,7 @@ ${c}
|
|
|
58420
58442
|
return true;
|
|
58421
58443
|
}
|
|
58422
58444
|
}
|
|
58423
|
-
var LazyVegaComponent = import_react.lazy(() => import("./vega-component-
|
|
58445
|
+
var LazyVegaComponent = import_react.lazy(() => import("./vega-component-C-fsM9rL.js")), VegaPlugin = class {
|
|
58424
58446
|
constructor() {
|
|
58425
58447
|
__publicField(this, "tagName", "marimo-vega");
|
|
58426
58448
|
__publicField(this, "validator", object({
|
|
@@ -58743,7 +58765,7 @@ ${c}
|
|
|
58743
58765
|
diagram: e.data.diagram
|
|
58744
58766
|
});
|
|
58745
58767
|
}
|
|
58746
|
-
}, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-
|
|
58768
|
+
}, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-808LPVim.js").then(async (m2) => {
|
|
58747
58769
|
await m2.__tla;
|
|
58748
58770
|
return m2;
|
|
58749
58771
|
})), import_compiler_runtime$18 = require_compiler_runtime();
|
|
@@ -65401,7 +65423,7 @@ ${c}
|
|
|
65401
65423
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
65402
65424
|
}
|
|
65403
65425
|
}
|
|
65404
|
-
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.22.1-
|
|
65426
|
+
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.22.1-dev28"), showCodeInRunModeAtom = atom(true);
|
|
65405
65427
|
atom(null);
|
|
65406
65428
|
var VIRTUAL_FILE_REGEX = /\/@file\/([^\s"&'/]+)\.([\dA-Za-z]+)/g, VirtualFileTracker = class e {
|
|
65407
65429
|
constructor() {
|