@marimo-team/islands 0.24.1-dev3 → 0.24.1-dev31
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-BUC1MrsF.js → ConnectedDataExplorerComponent-yEsovh7C.js} +4 -4
- package/dist/arrays-Ct6XviUd.js +59 -0
- package/dist/{capabilities-BilXeZ7p.js → capabilities-DNKeBoT5.js} +1 -1
- package/dist/{chat-ui-ChBRy1iT.js → chat-ui-ChbH2I73.js} +3 -3
- package/dist/{common-BvTQu-LJ.js → common-ZoATHjIZ.js} +17 -11
- package/dist/{formats-Dz0QNUEa.js → formats-BZtMpeQe.js} +1 -1
- package/dist/{glide-data-editor-BI2i_IEE.js → glide-data-editor-aimC_hok.js} +3 -1
- package/dist/{html-to-image-BtNr4zrO.js → html-to-image-BzT-fb14.js} +2357 -2325
- package/dist/{input-BRE2a7Ay.js → input-CqV2ZPgL.js} +1 -1
- package/dist/{loader-DTnbNSVZ.js → loader-Chm6nOqy.js} +1 -1
- package/dist/main.js +1196 -1088
- package/dist/{once-Boutk_9X.js → once-D1_qYl2e.js} +1 -1
- package/dist/{process-output-Dch8KCi8.js → process-output-C8Q8G6-g.js} +1 -1
- package/dist/{react-vega-zyfTF9SY.js → react-vega-BE2Uv1cq.js} +1 -1
- package/dist/{reveal-component-qNkzuPp3.js → reveal-component-CBpmFHpU.js} +5 -5
- package/dist/{spec-BL1GSUUF.js → spec-DR1CyTOo.js} +2 -0
- package/dist/style.css +1 -1
- package/dist/{swiper-component-Cx0cRWLk.js → swiper-component-UYicacis.js} +1 -1
- package/dist/{useIframeCapabilities-CxuXXwjj.js → useIframeCapabilities-BbnoLKxG.js} +1 -1
- package/dist/{vega-component-CioKuDut.js → vega-component-xrHju6oo.js} +5 -5
- package/dist/{vega-embed-container-BRjjqRGz.js → vega-embed-container-B1tc-DoN.js} +2 -2
- package/dist/{vega-loader.browser-CGb-2Kwi.js → vega-loader.browser-VFQfHaoV.js} +1 -1
- package/package.json +1 -1
- package/src/components/app-config/optional-features.test.ts +78 -0
- package/src/components/app-config/optional-features.tsx +33 -6
- package/src/components/data-table/__tests__/column_formatting.test.ts +7 -0
- package/src/components/data-table/charts/__tests__/schemas.test.ts +17 -2
- package/src/components/data-table/charts/chart-spec/types.ts +2 -0
- package/src/components/data-table/column-formatting/feature.ts +1 -0
- package/src/components/data-table/column-formatting/types.ts +1 -0
- package/src/components/data-table/column-summary/chart-spec-model.tsx +1 -0
- package/src/components/data-table/column-summary/column-summary.tsx +1 -0
- package/src/components/data-table/columns.tsx +4 -3
- package/src/components/datasets/__tests__/icons.test.ts +10 -2
- package/src/components/datasets/icons.tsx +4 -0
- package/src/components/datasources/__tests__/components.test.tsx +14 -1
- package/src/components/datasources/datasources.tsx +2 -40
- package/src/components/editor/chrome/panels/components.tsx +35 -0
- package/src/components/editor/chrome/panels/file-explorer-panel.tsx +10 -0
- package/src/components/editor/chrome/panels/session-panel.tsx +12 -4
- package/src/components/editor/connections/__tests__/quick-add-data-sources.test.tsx +2 -0
- package/src/components/editor/connections/add-connection-dialog.tsx +5 -1
- package/src/components/editor/connections/quick-add-data-sources.tsx +11 -7
- package/src/components/editor/connections/storage/__tests__/__snapshots__/as-code.test.ts.snap +43 -0
- package/src/components/editor/connections/storage/__tests__/as-code.test.ts +127 -0
- package/src/components/editor/connections/storage/add-storage-form.tsx +11 -1
- package/src/components/editor/connections/storage/as-code.ts +30 -1
- package/src/components/editor/connections/storage/schemas.ts +63 -0
- package/src/core/codemirror/code-lens/__tests__/popover.test.ts +13 -0
- package/src/core/codemirror/code-lens/popover.tsx +11 -5
- package/src/core/codemirror/language/languages/sql/__tests__/renderers.test.tsx +15 -4
- package/src/core/codemirror/language/languages/sql/renderers.tsx +1 -0
- package/src/core/datasets/__tests__/data-source-discovery.test.ts +277 -0
- package/src/core/datasets/data-source-connections.ts +36 -0
- package/src/core/datasets/data-source-discovery.ts +92 -0
- package/src/core/kernel/messages.ts +1 -0
- package/src/core/websocket/useMarimoKernelConnection.tsx +11 -3
- package/src/hooks/useDataSourceDiscovery.ts +50 -9
- package/src/plugins/impl/MatrixPlugin.tsx +256 -35
- package/src/plugins/impl/__tests__/DataEditorPlugin.test.ts +13 -1
- package/src/plugins/impl/__tests__/MatrixPlugin.test.tsx +540 -3
- package/src/plugins/impl/data-editor/glide-data-editor.tsx +1 -0
- package/src/plugins/impl/data-editor/glide-utils.ts +1 -0
- package/src/plugins/impl/data-frames/__tests__/schema.test.ts +9 -1
- package/src/plugins/impl/data-frames/utils/__tests__/operators.test.ts +8 -0
- package/src/plugins/impl/data-frames/utils/operators.ts +1 -1
- package/src/plugins/impl/matplotlib/__tests__/matplotlib-renderer.test.ts +184 -24
- package/src/plugins/impl/matplotlib/matplotlib-renderer.ts +40 -7
- package/src/plugins/impl/vega/__tests__/vega.test.ts +22 -4
- package/src/plugins/impl/vega/utils.ts +3 -0
- package/dist/arrays-C56grfjL.js +0 -55
- package/src/hooks/__tests__/useDataSourceDiscovery.test.ts +0 -80
|
@@ -3,7 +3,7 @@ import { g as Logger, h as cn, t as Button } from "./button-Dr2uAwhT.js";
|
|
|
3
3
|
import { t as require_react } from "./react-DhGsCS90.js";
|
|
4
4
|
import { t as require_compiler_runtime } from "./compiler-runtime-DsR6imPN.js";
|
|
5
5
|
import { u as createLucideIcon } from "./dist-j30bBjjN.js";
|
|
6
|
-
import { A as SquareFunction, t as augmentSpecWithData } from "./spec-
|
|
6
|
+
import { A as SquareFunction, t as augmentSpecWithData } from "./spec-DR1CyTOo.js";
|
|
7
7
|
import { a as Type, c as Calendar, i as createReducerAndAtoms, o as ToggleLeft, r as Badge, s as Hash, t as useOnMount } from "./useLifecycle-Bw4wRj_O.js";
|
|
8
8
|
import { a as ListFilter, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-B_vTzxpm.js";
|
|
9
9
|
import { a as SelectGroup, c as SelectSeparator, i as SelectContent, l as SelectTrigger, o as SelectItem, r as Select, s as SelectLabel, t as Strings, u as SelectValue, w as $a916eb452884faea$export$b7a616150fdb9f44 } from "./strings-DMLVGXRo.js";
|
|
@@ -16,9 +16,9 @@ import { t as Tooltip } from "./tooltip-BtUxZT5h.js";
|
|
|
16
16
|
import { E as createStore, S as useAtomValue, T as atom, b as Provider, n as useTheme } from "./useTheme-BzEXeAR5.js";
|
|
17
17
|
import { t as invariant } from "./invariant-hOqqBz8A.js";
|
|
18
18
|
import { t as Objects } from "./objects-UzwQd5gx.js";
|
|
19
|
-
import { A as getContainerWidth } from "./vega-loader.browser-
|
|
20
|
-
import { a as tooltipHandler, n as vegaLoadData } from "./loader-
|
|
21
|
-
import { n as q, r as contains } from "./react-vega-
|
|
19
|
+
import { A as getContainerWidth } from "./vega-loader.browser-VFQfHaoV.js";
|
|
20
|
+
import { a as tooltipHandler, n as vegaLoadData } from "./loader-Chm6nOqy.js";
|
|
21
|
+
import { n as q, r as contains } from "./react-vega-BE2Uv1cq.js";
|
|
22
22
|
import "./defaultLocale-CMezyvMc.js";
|
|
23
23
|
import "./defaultLocale-DMZFeDB8.js";
|
|
24
24
|
import { t as useAsyncData } from "./useAsyncData-CDcbh-Qv.js";
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { t as invariant } from "./invariant-hOqqBz8A.js";
|
|
2
|
+
function clamp(e, s, c) {
|
|
3
|
+
return Math.min(Math.max(e, s), c);
|
|
4
|
+
}
|
|
5
|
+
function arrayDelete(e, s) {
|
|
6
|
+
let c = [...e];
|
|
7
|
+
return c.splice(s, 1), c;
|
|
8
|
+
}
|
|
9
|
+
function arrayInsert(e, c, l) {
|
|
10
|
+
c = clamp(c, 0, e.length);
|
|
11
|
+
let u = [...e];
|
|
12
|
+
return u.splice(c, 0, l), u;
|
|
13
|
+
}
|
|
14
|
+
function arrayMove(e, s, c) {
|
|
15
|
+
let l = [...e], [u] = l.splice(s, 1);
|
|
16
|
+
return l.splice(c, 0, u), l;
|
|
17
|
+
}
|
|
18
|
+
function arrayInsertMany(e, c, l) {
|
|
19
|
+
if (e.length === 0) return l;
|
|
20
|
+
c = clamp(c, 0, e.length);
|
|
21
|
+
let u = [...e];
|
|
22
|
+
return u.splice(c, 0, ...l), u;
|
|
23
|
+
}
|
|
24
|
+
function arrayShallowEquals(e, s) {
|
|
25
|
+
if (e === s) return true;
|
|
26
|
+
if (e.length !== s.length) return false;
|
|
27
|
+
for (let c = 0, l = e.length; c < l; c++) if (e[c] !== s[c]) return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
const Arrays = {
|
|
31
|
+
EMPTY: [],
|
|
32
|
+
zip: (s, c) => (invariant(s.length === c.length, "Arrays must be the same length"), s.map((e, s2) => [e, c[s2]]))
|
|
33
|
+
};
|
|
34
|
+
function uniq(e) {
|
|
35
|
+
return [...new Set(e)];
|
|
36
|
+
}
|
|
37
|
+
function sortBy(e, s) {
|
|
38
|
+
return e.map((e2) => [s(e2), e2]).toSorted(([e2], [s2]) => e2 == null && s2 == null ? 0 : e2 == null ? 1 : s2 == null || e2 < s2 ? -1 : e2 > s2 ? 1 : 0).map(([, e2]) => e2);
|
|
39
|
+
}
|
|
40
|
+
function uniqueBy(e, s) {
|
|
41
|
+
let c = [], l = /* @__PURE__ */ new Set();
|
|
42
|
+
for (let u of e) {
|
|
43
|
+
let e2 = s(u);
|
|
44
|
+
l.has(e2) || (l.add(e2), c.push(u));
|
|
45
|
+
}
|
|
46
|
+
return c;
|
|
47
|
+
}
|
|
48
|
+
export {
|
|
49
|
+
arrayMove as a,
|
|
50
|
+
uniq as c,
|
|
51
|
+
arrayInsertMany as i,
|
|
52
|
+
uniqueBy as l,
|
|
53
|
+
arrayDelete as n,
|
|
54
|
+
arrayShallowEquals as o,
|
|
55
|
+
arrayInsert as r,
|
|
56
|
+
sortBy as s,
|
|
57
|
+
Arrays as t,
|
|
58
|
+
clamp as u
|
|
59
|
+
};
|
|
@@ -6,13 +6,13 @@ import { c as useEventListener, g as Logger, h as cn, t as Button } from "./butt
|
|
|
6
6
|
import { t as require_react } from "./react-DhGsCS90.js";
|
|
7
7
|
import { t as require_compiler_runtime } from "./compiler-runtime-DsR6imPN.js";
|
|
8
8
|
import { r as toast } from "./copy-C7ZKMKox.js";
|
|
9
|
-
import { Bt as PluralWord, C as Accordion, Dn as Anchor2, E as AccordionTrigger, Ft as variablesAtom, H as renderHTML, Hn as FileText, Jt as getTableType, Kt as allTablesAtom, Nn as Wrench, O as ChatBubbleIcon, Pn as Trash2, Pt as jotaiJsonStorage, Q as notebookAtom, S as AIContextRegistry, T as AccordionItem, Tn as atomWithStorage, Vn as Info, Wn as ExternalLink, Xt as getRequestClient, an as singleFacet, b as contextToXml, c as Popover, d as PopoverTrigger, f as isOutputEmpty, g as formatDatasourceContextForCell, h as DatasourceContextProvider, hn as CellOutputId, ht as displayCellName, in as isTracebackMime, jt as generateUUID, kt as moveToEndOfEditor, n as Spinner, nn as isErrorMime, qn as CircleX, qt as dataSourceConnectionsAtom, r as MarkdownRenderer, rn as isMarimoErrorsMime, st as parseHtmlContent, t as toPng, u as PopoverContent, un as ZodLocalStorage, v as Boosts, w as AccordionContent, wt as createVariableInfoElement, x as AIContextProvider, y as Sections, zn as LoaderCircle } from "./html-to-image-
|
|
9
|
+
import { Bt as PluralWord, C as Accordion, Dn as Anchor2, E as AccordionTrigger, Ft as variablesAtom, H as renderHTML, Hn as FileText, Jt as getTableType, Kt as allTablesAtom, Nn as Wrench, O as ChatBubbleIcon, Pn as Trash2, Pt as jotaiJsonStorage, Q as notebookAtom, S as AIContextRegistry, T as AccordionItem, Tn as atomWithStorage, Vn as Info, Wn as ExternalLink, Xt as getRequestClient, an as singleFacet, b as contextToXml, c as Popover, d as PopoverTrigger, f as isOutputEmpty, g as formatDatasourceContextForCell, h as DatasourceContextProvider, hn as CellOutputId, ht as displayCellName, in as isTracebackMime, jt as generateUUID, kt as moveToEndOfEditor, n as Spinner, nn as isErrorMime, qn as CircleX, qt as dataSourceConnectionsAtom, r as MarkdownRenderer, rn as isMarimoErrorsMime, st as parseHtmlContent, t as toPng, u as PopoverContent, un as ZodLocalStorage, v as Boosts, w as AccordionContent, wt as createVariableInfoElement, x as AIContextProvider, y as Sections, zn as LoaderCircle } from "./html-to-image-BzT-fb14.js";
|
|
10
10
|
import "./chunk-5FQGJX7Z-BRZ_XYUw.js";
|
|
11
11
|
import { u as createLucideIcon } from "./dist-j30bBjjN.js";
|
|
12
12
|
import { C as logNever, I as X, R as ChevronDown, t as Strings } from "./strings-DMLVGXRo.js";
|
|
13
|
-
import { C as DropdownMenuTrigger, a as NumberField, f as DropdownMenu, h as DropdownMenuItem, p as DropdownMenuContent, r as Input } from "./input-
|
|
13
|
+
import { C as DropdownMenuTrigger, a as NumberField, f as DropdownMenu, h as DropdownMenuItem, p as DropdownMenuContent, r as Input } from "./input-CqV2ZPgL.js";
|
|
14
14
|
import { p as isUrl, w as CircleQuestionMark } from "./toDate-CjUYDkFI.js";
|
|
15
|
-
import { a as MarimoIncomingMessageEvent, d as fileDetailsToBlob, f as Square, n as blobToString, p as File$1, t as processOutput } from "./process-output-
|
|
15
|
+
import { a as MarimoIncomingMessageEvent, d as fileDetailsToBlob, f as Square, n as blobToString, p as File$1, t as processOutput } from "./process-output-C8Q8G6-g.js";
|
|
16
16
|
import "./react-dom-CmENFV8Q.js";
|
|
17
17
|
import { t as require_jsx_runtime } from "./jsx-runtime-Dp_oQwaf.js";
|
|
18
18
|
import { A as looseObject, B as unknown, C as any, D as discriminatedUnion, E as custom, I as record, L as string, M as never, N as number, O as lazy, P as object$1, S as _null, T as boolean, U as toJSONSchema, V as safeParseAsync, b as _enum, k as literal, w as array$1, x as _instanceof, z as union } from "./zod-BFY2SnzC.js";
|
|
@@ -6,13 +6,13 @@ import { _ as Functions, f as composeRefs, g as Logger, h as cn, m as Events, n
|
|
|
6
6
|
import { t as require_react } from "./react-DhGsCS90.js";
|
|
7
7
|
import { t as require_compiler_runtime } from "./compiler-runtime-DsR6imPN.js";
|
|
8
8
|
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-C7ZKMKox.js";
|
|
9
|
-
import { B as isDataURLString, Bt as PluralWord, C as Accordion, Cn as jsonToMarkdown, Dt as toggleBreakpoint, E as AccordionTrigger, H as renderHTML, Hn as FileText, Ht as DATA_TYPE_ICON, It as getFeatureFlag, J as getCellEditorView, L as base64ToUint8Array, Ln as NotebookPen, M as DotFilledIcon, Mt as useChromeActions, N as PinLeftIcon, Nn as Wrench, Nt as adaptForLocalStorage, On as Close$1, Ot as goToCellLine, P as PinRightIcon, Pn as Trash2, Pt as jotaiJsonStorage, Q as notebookAtom, Qt as useRequestClient, Rn as Minus, Sn as jsonParseWithSpecialChar, St as isRecord, T as AccordionItem, Tn as atomWithStorage, Un as Eye, Ut as getDataTypeColor, Vn as Info, Wn as ExternalLink, Wt as resolveDataType, Xn as esm_default, Xt as getRequestClient, Yn as Braces, Zn as import_lib, _ as getDatasourceContext, _n as SCRATCH_CELL_ID, c as Popover, cn as getTracebackInfo, ct as AnsiUp, d as PopoverTrigger, dn as filenameAtom, ft as sanitizeHtml, gn as HTMLCellId, hn as CellOutputId, ht as displayCellName, it as useCellNames, j as ChevronRightIcon, k as CheckIcon, l as PopoverClose, lt as outputIsLoading, m as useExpandedOutput, mt as getCellDomProps, n as Spinner, nt as useCellActions, on as elementContainsMarimoCellFile, pt as DATA_CELL_ID, qn as CircleX, r as MarkdownRenderer, rt as useCellIds, sn as extractAllTracebackInfo, t as toPng, u as PopoverContent, w as AccordionContent, yt as Checkbox, z as extractBase64FromDataURL, zn as LoaderCircle, __tla as __tla_0 } from "./html-to-image-
|
|
9
|
+
import { B as isDataURLString, Bt as PluralWord, C as Accordion, Cn as jsonToMarkdown, Dt as toggleBreakpoint, E as AccordionTrigger, H as renderHTML, Hn as FileText, Ht as DATA_TYPE_ICON, It as getFeatureFlag, J as getCellEditorView, L as base64ToUint8Array, Ln as NotebookPen, M as DotFilledIcon, Mt as useChromeActions, N as PinLeftIcon, Nn as Wrench, Nt as adaptForLocalStorage, On as Close$1, Ot as goToCellLine, P as PinRightIcon, Pn as Trash2, Pt as jotaiJsonStorage, Q as notebookAtom, Qt as useRequestClient, Rn as Minus, Sn as jsonParseWithSpecialChar, St as isRecord, T as AccordionItem, Tn as atomWithStorage, Un as Eye, Ut as getDataTypeColor, Vn as Info, Wn as ExternalLink, Wt as resolveDataType, Xn as esm_default, Xt as getRequestClient, Yn as Braces, Zn as import_lib, _ as getDatasourceContext, _n as SCRATCH_CELL_ID, c as Popover, cn as getTracebackInfo, ct as AnsiUp, d as PopoverTrigger, dn as filenameAtom, ft as sanitizeHtml, gn as HTMLCellId, hn as CellOutputId, ht as displayCellName, it as useCellNames, j as ChevronRightIcon, k as CheckIcon, l as PopoverClose, lt as outputIsLoading, m as useExpandedOutput, mt as getCellDomProps, n as Spinner, nt as useCellActions, on as elementContainsMarimoCellFile, pt as DATA_CELL_ID, qn as CircleX, r as MarkdownRenderer, rt as useCellIds, sn as extractAllTracebackInfo, t as toPng, u as PopoverContent, w as AccordionContent, yt as Checkbox, z as extractBase64FromDataURL, zn as LoaderCircle, __tla as __tla_0 } from "./html-to-image-BzT-fb14.js";
|
|
10
10
|
import { o as useSize, u as createLucideIcon } from "./dist-j30bBjjN.js";
|
|
11
11
|
import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLifecycle-Bw4wRj_O.js";
|
|
12
12
|
import { a as ListFilter, i as Table$1, n as $fb18d541ea1ad717$export$ad991b66133851cf, o as ChartPie, r as $5a387cc49350e6db$export$722debc0e56fea39, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-B_vTzxpm.js";
|
|
13
13
|
import { t as Check } from "./check-58HHfHKy.js";
|
|
14
14
|
import { C as logNever, E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, I as X, 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, b as menuSeparatorVariants, f as selectStyles, g as menuControlCheckVariants, h as menuContentCommon, i as SelectContent, l as SelectTrigger, o as SelectItem, p as MENU_ITEM_DISABLED, r as Select, t as Strings, u as SelectValue, v as menuItemVariants, w as $a916eb452884faea$export$b7a616150fdb9f44, x as menuSubTriggerVariants, y as menuLabelVariants } from "./strings-DMLVGXRo.js";
|
|
15
|
-
import { $ as $e93e671b31057976$export$b8473d3665f3a75a, $t as Item2$2, A as $ee014567cb39d3f0$export$ff05c3ac10437e03, At as $c87311424ea30a05$export$78551043582a6a98, B as $64fa3d84918910a7$export$4d86445c2cf5e3, Bt as $d4ee10de306f2510$export$e58f029f0fbfdb29, C as DropdownMenuTrigger, Ct as $b4b717babfbb907b$export$bebd5a1431fec25d, D as $a049562f99e7db0e$export$f9c6924e160136d1, Dt as $df56164dff5785e2$export$4338b53315abf666, E as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Et as $8ae05eaa5c114e9c$export$7f54fc3180508a52, F as $01b77f81d0f07f68$export$75b6ee27786ba447, Ft as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, G as $64fa3d84918910a7$export$ef03459518577ad4, Gt as $bdb11010cef70236$export$b4cc09c592e8fdb8, H as $64fa3d84918910a7$export$c245e6201fed2f75, Ht as $431fbd86ca7dc216$export$b204af158042fbac, I as $01b77f81d0f07f68$export$b04be29aa201d4f5, It as $3ef42575df84b30b$export$9d1611c77c2fe928, J as marked, Jt as Anchor2, K as $64fa3d84918910a7$export$fabf2dc03a41866e, Kt as $bdb11010cef70236$export$f680877a34711e37, L as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Lt as $d4ee10de306f2510$export$4282f70798064fe0, M as $514c0188e459b4c0$export$9afb8bc826b033ea, Mt as $c87311424ea30a05$export$a11b0059900ceec8, N as $d2b4bc8c273e7be6$export$24d547caef80ccd1, Nt as $c87311424ea30a05$export$fedb369cb70207f1, O as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Ot as $313b98861ee5dd6c$export$d6875122194c7b44, P as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, Pt as $7215afc6de606d6b$export$de79e2c695e052f3, Q as $2baaea4c71418dea$export$294aa081a6c6f55d, Qt as Group, R as $64fa3d84918910a7$export$2881499e37b75b9a, Rt as $d4ee10de306f2510$export$b4f377a2b6254582, S as DropdownMenuSubTrigger, St as $b4b717babfbb907b$export$4c063cf1350e6fed, T as $3985021b0ad6602f$export$f5b8910cec6cf069, Tt as $e9faafb641e167db$export$90fc3a17d93f704c, U as $64fa3d84918910a7$export$c62b8e45d58ddad9, Ut as $431fbd86ca7dc216$export$f21a1ffae260145a, V as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, Vt as $f4e2df6bd15f8569$export$98658e8c59125e6a, W as $64fa3d84918910a7$export$df3a06d6289f983e, Wt as $ff5963eb1fccf552$export$e08e3b67e392101e, Xt as CheckboxItem, Yt as Arrow2, Z as $d2e8511e6f209edf$export$e908e06f4b8e3402, Zt as Content2$1, _ as DropdownMenuPortal, _t as $f6c31cce2adf654f$export$45712eceda6fad21, a as NumberField, an as Root3, at as $319e236875307eab$export$a9b970dcc4ae71a9, b as DropdownMenuSub, bt as $9446cca9a3875146$export$7d15b64cf5a3a4c4, c as prettyEngineeringNumber, cn as SubContent, ct as $6c7bd7858deea686$export$cd11ab140839f11d, dn as Item, dt as $6db58dc88e78b024$export$2f817fcdc4b89ae0, en as ItemIndicator, et as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, f as DropdownMenu, fn as Root$3, ft as $5b160d28a433310d$export$c17fa47878dc55b6, g as DropdownMenuLabel, gn as ChevronRight, gt as $507fabe10e71c6fb$export$630ff653c5ada6a9, h as DropdownMenuItem, hn as Circle, ht as $3ad3f6e1647bc98d$export$80f3e147d781571c, in as RadioItem, it as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, j as $514c0188e459b4c0$export$5f1af8db9871e1d6, jt as $c87311424ea30a05$export$9ac100e40613ea10, k as $ee014567cb39d3f0$export$f551688fc98f2e09, kt as $c87311424ea30a05$export$6446a186d09e379e, l as prettyNumber, ln as SubTrigger, lt as $fca6afa0e843324b$export$87b761675e8eaa10, mn as Search, mt as $9ab94262bd0047c7$export$420e68273165f4ec, nn as Portal, nt as $e5be200c675c3b3a$export$aca958c65c314e6c, on as Separator$1, ot as $f7dceffc5ad7768b$export$4e328f61c538687f, p as DropdownMenuContent, pn as createRovingFocusGroupScope, pt as $6179b936705e76d3$export$ae780daf29e6d456, qt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, r as Input, rn as RadioGroup$2, rt as $e5be200c675c3b3a$export$dad6ae84456c676a, s as maxFractionalDigits, sn as Sub, tn as Label$1, tt as $e5be200c675c3b3a$export$a763b9476acd3eb, u as prettyScientificNumber, un as createMenuScope, ut as $fca6afa0e843324b$export$f12b703ca79dfbb1, v as DropdownMenuSeparator, vt as _class_private_field_init, w as $3985021b0ad6602f$export$37fb8590cf2c088c, wt as $99facab73266f662$export$5add1d006293d136, x as DropdownMenuSubContent, xt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, yt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, z as $64fa3d84918910a7$export$29f1550f4b0d4415, zt as $d4ee10de306f2510$export$cd4e5573fbe2b576 } from "./input-
|
|
15
|
+
import { $ as $e93e671b31057976$export$b8473d3665f3a75a, $t as Item2$2, A as $ee014567cb39d3f0$export$ff05c3ac10437e03, At as $c87311424ea30a05$export$78551043582a6a98, B as $64fa3d84918910a7$export$4d86445c2cf5e3, Bt as $d4ee10de306f2510$export$e58f029f0fbfdb29, C as DropdownMenuTrigger, Ct as $b4b717babfbb907b$export$bebd5a1431fec25d, D as $a049562f99e7db0e$export$f9c6924e160136d1, Dt as $df56164dff5785e2$export$4338b53315abf666, E as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Et as $8ae05eaa5c114e9c$export$7f54fc3180508a52, F as $01b77f81d0f07f68$export$75b6ee27786ba447, Ft as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, G as $64fa3d84918910a7$export$ef03459518577ad4, Gt as $bdb11010cef70236$export$b4cc09c592e8fdb8, H as $64fa3d84918910a7$export$c245e6201fed2f75, Ht as $431fbd86ca7dc216$export$b204af158042fbac, I as $01b77f81d0f07f68$export$b04be29aa201d4f5, It as $3ef42575df84b30b$export$9d1611c77c2fe928, J as marked, Jt as Anchor2, K as $64fa3d84918910a7$export$fabf2dc03a41866e, Kt as $bdb11010cef70236$export$f680877a34711e37, L as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Lt as $d4ee10de306f2510$export$4282f70798064fe0, M as $514c0188e459b4c0$export$9afb8bc826b033ea, Mt as $c87311424ea30a05$export$a11b0059900ceec8, N as $d2b4bc8c273e7be6$export$24d547caef80ccd1, Nt as $c87311424ea30a05$export$fedb369cb70207f1, O as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Ot as $313b98861ee5dd6c$export$d6875122194c7b44, P as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, Pt as $7215afc6de606d6b$export$de79e2c695e052f3, Q as $2baaea4c71418dea$export$294aa081a6c6f55d, Qt as Group, R as $64fa3d84918910a7$export$2881499e37b75b9a, Rt as $d4ee10de306f2510$export$b4f377a2b6254582, S as DropdownMenuSubTrigger, St as $b4b717babfbb907b$export$4c063cf1350e6fed, T as $3985021b0ad6602f$export$f5b8910cec6cf069, Tt as $e9faafb641e167db$export$90fc3a17d93f704c, U as $64fa3d84918910a7$export$c62b8e45d58ddad9, Ut as $431fbd86ca7dc216$export$f21a1ffae260145a, V as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, Vt as $f4e2df6bd15f8569$export$98658e8c59125e6a, W as $64fa3d84918910a7$export$df3a06d6289f983e, Wt as $ff5963eb1fccf552$export$e08e3b67e392101e, Xt as CheckboxItem, Yt as Arrow2, Z as $d2e8511e6f209edf$export$e908e06f4b8e3402, Zt as Content2$1, _ as DropdownMenuPortal, _t as $f6c31cce2adf654f$export$45712eceda6fad21, a as NumberField, an as Root3, at as $319e236875307eab$export$a9b970dcc4ae71a9, b as DropdownMenuSub, bt as $9446cca9a3875146$export$7d15b64cf5a3a4c4, c as prettyEngineeringNumber, cn as SubContent, ct as $6c7bd7858deea686$export$cd11ab140839f11d, dn as Item, dt as $6db58dc88e78b024$export$2f817fcdc4b89ae0, en as ItemIndicator, et as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, f as DropdownMenu, fn as Root$3, ft as $5b160d28a433310d$export$c17fa47878dc55b6, g as DropdownMenuLabel, gn as ChevronRight, gt as $507fabe10e71c6fb$export$630ff653c5ada6a9, h as DropdownMenuItem, hn as Circle, ht as $3ad3f6e1647bc98d$export$80f3e147d781571c, in as RadioItem, it as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, j as $514c0188e459b4c0$export$5f1af8db9871e1d6, jt as $c87311424ea30a05$export$9ac100e40613ea10, k as $ee014567cb39d3f0$export$f551688fc98f2e09, kt as $c87311424ea30a05$export$6446a186d09e379e, l as prettyNumber, ln as SubTrigger, lt as $fca6afa0e843324b$export$87b761675e8eaa10, mn as Search, mt as $9ab94262bd0047c7$export$420e68273165f4ec, nn as Portal, nt as $e5be200c675c3b3a$export$aca958c65c314e6c, on as Separator$1, ot as $f7dceffc5ad7768b$export$4e328f61c538687f, p as DropdownMenuContent, pn as createRovingFocusGroupScope, pt as $6179b936705e76d3$export$ae780daf29e6d456, qt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, r as Input, rn as RadioGroup$2, rt as $e5be200c675c3b3a$export$dad6ae84456c676a, s as maxFractionalDigits, sn as Sub, tn as Label$1, tt as $e5be200c675c3b3a$export$a763b9476acd3eb, u as prettyScientificNumber, un as createMenuScope, ut as $fca6afa0e843324b$export$f12b703ca79dfbb1, v as DropdownMenuSeparator, vt as _class_private_field_init, w as $3985021b0ad6602f$export$37fb8590cf2c088c, wt as $99facab73266f662$export$5add1d006293d136, x as DropdownMenuSubContent, xt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, yt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, z as $64fa3d84918910a7$export$29f1550f4b0d4415, zt as $d4ee10de306f2510$export$cd4e5573fbe2b576 } from "./input-CqV2ZPgL.js";
|
|
16
16
|
import { S as isWasm, a as millisecondsInMinute, b as viewStateAtom, c as asRemoteURL, d as isStaticNotebook, i as millisecondsInHour, n as constructFrom, o as millisecondsInSecond, p as isUrl, r as millisecondsInDay, s as millisecondsInWeek, t as toDate, v as kioskModeAtom, y as useInstallAllowed } from "./toDate-CjUYDkFI.js";
|
|
17
17
|
import { r as Plus, t as ErrorBoundary } from "./ErrorBoundary-BniTEhHn.js";
|
|
18
18
|
import { n as clsx_default } from "./clsx-CIWA5tNO.js";
|
|
@@ -26,15 +26,15 @@ import { t as merge_default } from "./merge-CDbSrd9f.js";
|
|
|
26
26
|
import { A as useEvent_default, C as useSetAtom, D as buildStore, O as getBuildingBlocks, S as useAtomValue, T as atom, _ as useJotaiEffect, a as KnownQueryParams, b as Provider, d as resolvedMarimoConfigAtom, g as store, k as dequal, n as useTheme, o as aiFeaturesEnabledAtom, p as userConfigAtom, s as aiModelConfiguredAtom, w as useStore, x as useAtom } from "./useTheme-BzEXeAR5.js";
|
|
27
27
|
import { $ as EditorView } from "./dist-BJ2IUa0l.js";
|
|
28
28
|
import { t as invariant } from "./invariant-hOqqBz8A.js";
|
|
29
|
-
import {
|
|
29
|
+
import { l as uniqueBy, t as Arrays } from "./arrays-Ct6XviUd.js";
|
|
30
30
|
import { t as Objects } from "./objects-UzwQd5gx.js";
|
|
31
|
-
import { n as once, t as memoizeLastValue } from "./once-
|
|
31
|
+
import { n as once, t as memoizeLastValue } from "./once-D1_qYl2e.js";
|
|
32
32
|
import { a as parser } from "./dist-Ckfsc8C3.js";
|
|
33
|
-
import { a as isValid, i as AlertTitle, n as Alert, t as arrow } from "./formats-
|
|
33
|
+
import { a as isValid, i as AlertTitle, n as Alert, t as arrow } from "./formats-BZtMpeQe.js";
|
|
34
34
|
import { n as memoize$1, t as isPropValid } from "./emotion-is-prop-valid.esm-_z-EwK5u.js";
|
|
35
|
-
import { A as getContainerWidth, n as formats } from "./vega-loader.browser-
|
|
36
|
-
import { a as tooltipHandler, n as vegaLoadData, r as createBatchedLoader, t as parseCsvData } from "./loader-
|
|
37
|
-
import { t as useIframeCapabilities } from "./useIframeCapabilities-
|
|
35
|
+
import { A as getContainerWidth, n as formats } from "./vega-loader.browser-VFQfHaoV.js";
|
|
36
|
+
import { a as tooltipHandler, n as vegaLoadData, r as createBatchedLoader, t as parseCsvData } from "./loader-Chm6nOqy.js";
|
|
37
|
+
import { t as useIframeCapabilities } from "./useIframeCapabilities-BbnoLKxG.js";
|
|
38
38
|
import { t as useAsyncData } from "./useAsyncData-CDcbh-Qv.js";
|
|
39
39
|
let CommandSeparator, Kbd, ErrorState, getPageIndexForRow, ContextMenuTrigger, dateToLocalISODate, downloadHTMLAsImage, inferFieldTypes, ColumnName, DelayMount, downloadSizeLimitAtom, ColumnChartSpecModel, getUserColumnVisibilityCounts, TOO_MANY_ROWS, DateRangePicker, TabsList, useSelectList, dateToLocalISOTime, ContextMenu, toFieldTypes, Command, ChartInfoState, Combobox, TabsTrigger, ContextMenuContent, getMimeValues, prettifyRowColumnCount, loadTableData, prettifyRowCount, INDEX_COLUMN_NAME, ColumnPreviewContainer, useIntersectionObserver, getColumnCountForDisplay, SELECT_COLUMN_ID, CommandList, RenderTextWithLinks, ContextMenuItem, isNullishFilter, downloadExportedFile, generateColumns, Filenames, ColumnChartContext, CompactChipRow, Tabs, useInternalStateWithSync, dateToLocalISODateTime, DatePicker, TabsContent, CommandInput, LazyVegaEmbed, CommandEmpty, ChartLoadingState, CommandItem, useOverflowDetection, DataTable, ChevronLeft, TableCell, DEFAULT_DECK_TRANSITION, TextWrap, contextAwarePanelType, downloadBlob, TableRow, SLIDE_TYPE_OPTIONS_BY_VALUE, EyeOff, slotsController, Switch, Download, PanelGroup, HtmlOutput, smartMatch, RadioGroup, Code, PanelResizeHandle, OutputRenderer, ChevronsDownUp, TableBody, OutputArea, ChevronsLeft, Table, showCodeInRunModeAtom, $fae977aafc393c5c$export$6b862160d295c8e, contextAwarePanelOwner, LoadingState, loadTableAndRawData, EmptyState, usePrevious, SlideSidebar, Expand, Toggle, JsonOutput, ChevronsRight, Provider$1, useNotebookCodeAvailable, safeLocale, PANEL_TYPES, DEFAULT_DECK_VERTICAL_ALIGN, GripHorizontal, isCellAwareAtom, RadioGroupItem, ChevronsUpDown, Fill, ComboboxItem, ChartErrorState, marimoVersionAtom, $fae977aafc393c5c$export$588937bcd60ade55, contextAwarePanelOpen, DEFAULT_SLIDE_TYPE, Funnel, SlotNames, cellDomProps, EmotionCacheProvider, ContextAwarePanelItem, Slide, Ellipsis, Panel, InstallPackageButton, ArrowDownWideNarrow, TableHead, Progress, renderCellValue, downloadByURL, NAMELESS_COLUMN_PREFIX, ADD_PRINTING_CLASS, TableHeader, ContextMenuSeparator, Maps;
|
|
40
40
|
let __tla = Promise.all([
|
|
@@ -20932,7 +20932,7 @@ ${n}` : "Please fix this error.";
|
|
|
20932
20932
|
]
|
|
20933
20933
|
};
|
|
20934
20934
|
}
|
|
20935
|
-
LazyVegaEmbed = import_react.lazy(() => import("./vega-embed-container-
|
|
20935
|
+
LazyVegaEmbed = import_react.lazy(() => import("./vega-embed-container-B1tc-DoN.js").then((e) => ({
|
|
20936
20936
|
default: e.VegaEmbedContainer
|
|
20937
20937
|
})));
|
|
20938
20938
|
var import_compiler_runtime$50 = require_compiler_runtime();
|
|
@@ -23639,6 +23639,7 @@ ${n}` : "Please fix this error.";
|
|
|
23639
23639
|
return e;
|
|
23640
23640
|
}
|
|
23641
23641
|
case void 0:
|
|
23642
|
+
case "geometry":
|
|
23642
23643
|
case "unknown":
|
|
23643
23644
|
return e;
|
|
23644
23645
|
default:
|
|
@@ -23735,6 +23736,7 @@ ${n}` : "Please fix this error.";
|
|
|
23735
23736
|
"Yes/No",
|
|
23736
23737
|
"On/Off"
|
|
23737
23738
|
],
|
|
23739
|
+
geometry: [],
|
|
23738
23740
|
unknown: []
|
|
23739
23741
|
};
|
|
23740
23742
|
var import_compiler_runtime$46 = require_compiler_runtime();
|
|
@@ -25508,6 +25510,7 @@ ${n}` : "Please fix this error.";
|
|
|
25508
25510
|
transform: f2
|
|
25509
25511
|
};
|
|
25510
25512
|
}
|
|
25513
|
+
case "geometry":
|
|
25511
25514
|
case "unknown":
|
|
25512
25515
|
return null;
|
|
25513
25516
|
default:
|
|
@@ -25674,6 +25677,7 @@ ${n}` : "Please fix this error.";
|
|
|
25674
25677
|
]
|
|
25675
25678
|
})
|
|
25676
25679
|
});
|
|
25680
|
+
case "geometry":
|
|
25677
25681
|
case "unknown":
|
|
25678
25682
|
return (0, import_jsx_runtime.jsx)("div", {
|
|
25679
25683
|
className: "flex flex-col whitespace-pre",
|
|
@@ -26075,7 +26079,7 @@ ${n}` : "Please fix this error.";
|
|
|
26075
26079
|
}) : S2;
|
|
26076
26080
|
},
|
|
26077
26081
|
filterFn: void 0,
|
|
26078
|
-
enableSorting: !!e2,
|
|
26082
|
+
enableSorting: !!e2 && w(e2).dataType !== "geometry",
|
|
26079
26083
|
meta: {
|
|
26080
26084
|
...w(e2),
|
|
26081
26085
|
width: v == null ? void 0 : v[e2]
|
|
@@ -26184,6 +26188,8 @@ ${n}` : "Please fix this error.";
|
|
|
26184
26188
|
return "time";
|
|
26185
26189
|
case "boolean":
|
|
26186
26190
|
return "boolean";
|
|
26191
|
+
case "geometry":
|
|
26192
|
+
return;
|
|
26187
26193
|
default:
|
|
26188
26194
|
return;
|
|
26189
26195
|
}
|
|
@@ -36331,7 +36337,7 @@ ${d}`,
|
|
|
36331
36337
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
36332
36338
|
}
|
|
36333
36339
|
}
|
|
36334
|
-
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.24.1-
|
|
36340
|
+
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.24.1-dev31");
|
|
36335
36341
|
showCodeInRunModeAtom = atom(true);
|
|
36336
36342
|
atom(null);
|
|
36337
36343
|
var import_compiler_runtime = require_compiler_runtime();
|
|
@@ -4,7 +4,7 @@ import { t as require_react } from "./react-DhGsCS90.js";
|
|
|
4
4
|
import { t as require_compiler_runtime } from "./compiler-runtime-DsR6imPN.js";
|
|
5
5
|
import { t as toDate } from "./toDate-CjUYDkFI.js";
|
|
6
6
|
import { t as require_jsx_runtime } from "./jsx-runtime-Dp_oQwaf.js";
|
|
7
|
-
import { i as tableFromIPC } from "./loader-
|
|
7
|
+
import { i as tableFromIPC } from "./loader-Chm6nOqy.js";
|
|
8
8
|
function isDate(e) {
|
|
9
9
|
return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
|
|
10
10
|
}
|
|
@@ -7,7 +7,7 @@ import { t as require_react } from "./react-DhGsCS90.js";
|
|
|
7
7
|
import { t as require_compiler_runtime } from "./compiler-runtime-DsR6imPN.js";
|
|
8
8
|
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-C7ZKMKox.js";
|
|
9
9
|
import { C as logNever, i as SelectContent, l as SelectTrigger, n as capitalize, o as SelectItem, r as Select, u as SelectValue } from "./strings-DMLVGXRo.js";
|
|
10
|
-
import { J as marked, S as DropdownMenuSubTrigger, _ as DropdownMenuPortal, b as DropdownMenuSub, f as DropdownMenu, h as DropdownMenuItem, p as DropdownMenuContent, q as useNonce, r as Input, v as DropdownMenuSeparator, x as DropdownMenuSubContent } from "./input-
|
|
10
|
+
import { J as marked, S as DropdownMenuSubTrigger, _ as DropdownMenuPortal, b as DropdownMenuSub, f as DropdownMenu, h as DropdownMenuItem, p as DropdownMenuContent, q as useNonce, r as Input, v as DropdownMenuSeparator, x as DropdownMenuSubContent } from "./input-CqV2ZPgL.js";
|
|
11
11
|
import { n as Trash, r as Pencil, t as BulkEdit } from "./types-DT8UHI5w.js";
|
|
12
12
|
import { n as require_prop_types, r as Plus, t as ErrorBoundary } from "./ErrorBoundary-BniTEhHn.js";
|
|
13
13
|
import { t as require_react_dom } from "./react-dom-CmENFV8Q.js";
|
|
@@ -10423,6 +10423,7 @@ let __tla = (async () => {
|
|
|
10423
10423
|
return GridColumnIcon.HeaderDate;
|
|
10424
10424
|
case "time":
|
|
10425
10425
|
return GridColumnIcon.HeaderTime;
|
|
10426
|
+
case "geometry":
|
|
10426
10427
|
case "unknown":
|
|
10427
10428
|
return GridColumnIcon.HeaderString;
|
|
10428
10429
|
default:
|
|
@@ -11264,6 +11265,7 @@ let __tla = (async () => {
|
|
|
11264
11265
|
/* @__PURE__ */ new Date()
|
|
11265
11266
|
];
|
|
11266
11267
|
case "string":
|
|
11268
|
+
case "geometry":
|
|
11267
11269
|
case "unknown":
|
|
11268
11270
|
return [
|
|
11269
11271
|
e.title,
|