@marimo-team/islands 0.22.4-dev1 → 0.22.4-dev11
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-DuD8BVl6.js → ConnectedDataExplorerComponent-mLj6D01z.js} +9 -9
- package/dist/{any-language-editor-BHH_pQ6M.js → any-language-editor-BIGc8RUt.js} +3 -3
- package/dist/assets/__vite-browser-external-C4JkHbyY.js +1 -0
- package/dist/assets/{worker-DUYMdbtA.js → worker-D-EdLKct.js} +2 -2
- package/dist/{chat-ui-Cel1kBfc.js → chat-ui-DfR3sT9K.js} +12 -12
- package/dist/{check-CWUkiHmb.js → check-Cex3x9fD.js} +1 -1
- package/dist/{copy-B7781WJ3.js → copy-BRF7ryOP.js} +1 -1
- package/dist/{dist-D_UjpfOY.js → dist-D56NKWim.js} +12 -11
- package/dist/{error-banner-Cjf0RU9I.js → error-banner-DexD-5js.js} +1 -1
- package/dist/{esm-4wmsH2lp.js → esm-BGo_Mcdt.js} +3 -3
- package/dist/{glide-data-editor-BqnvTmDo.js → glide-data-editor-BmyQCm0U.js} +6 -6
- package/dist/{input-CFY9gApZ.js → input-SSWXiS6n.js} +9 -9
- package/dist/{label-DbZGAoCH.js → label-CIR53v8V.js} +24 -24
- package/dist/main.js +98 -82
- package/dist/{mermaid-B2HDLx2g.js → mermaid-B93TKi2g.js} +4 -4
- package/dist/{process-output-DC1TOnIl.js → process-output-BvkX_OeE.js} +2841 -2279
- package/dist/{spec-CD7QaCV-.js → spec-ByDEU1T3.js} +3 -3
- package/dist/style.css +1 -1
- package/dist/{toDate-CUqpEbBS.js → toDate-D1_ZulwM.js} +2 -2
- package/dist/{tooltip-BXEpXV3R.js → tooltip-B5EnNyok.js} +2 -2
- package/dist/{types-D_ntCXg0.js → types-D4-TD_m0.js} +1 -1
- package/dist/{useAsyncData-rN1nzPaS.js → useAsyncData-C9ez7Ilo.js} +1 -1
- package/dist/{useDeepCompareMemoize-Ch-7Rk2x.js → useDeepCompareMemoize-BvvMxigY.js} +2 -2
- package/dist/{useLifecycle-4fA1pHoh.js → useLifecycle-2Vh-WDv6.js} +2 -2
- package/dist/{useTheme-MWfxn4oz.js → useTheme-CxjbgkRc.js} +3 -2
- package/dist/{vega-component-CPhNLfZZ.js → vega-component-Bzzut3-P.js} +7 -7
- package/dist/{zod-C6UGQ3fz.js → zod-D18k8Z52.js} +14 -12
- package/package.json +1 -1
- package/src/components/editor/TracebackModalContainer.tsx +22 -0
- package/src/components/editor/errors/traceback-modal.tsx +87 -0
- package/src/components/editor/output/MarimoErrorOutput.tsx +23 -3
- package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +16 -2
- package/src/components/ui/toast.tsx +3 -1
- package/src/core/MarimoApp.tsx +2 -0
- package/src/core/cells/__tests__/apply-transaction.test.ts +28 -0
- package/src/core/cells/cells.ts +13 -1
- package/src/core/cells/logs.ts +48 -9
- package/src/core/config/__tests__/config-schema.test.ts +2 -0
- package/src/core/config/config-schema.ts +1 -0
- package/src/core/errors/traceback-atom.ts +9 -0
- package/src/plugins/impl/anywidget/AnyWidgetPlugin.tsx +8 -6
- package/src/plugins/impl/anywidget/__tests__/AnyWidgetPlugin.test.tsx +25 -0
- package/dist/assets/__vite-browser-external-WSlCcXn_.js +0 -1
package/dist/main.js
CHANGED
|
@@ -20,30 +20,30 @@ var __privateWrapper = (obj, member, setter, getter) => ({
|
|
|
20
20
|
import { a as __toCommonJS, n as __esmMin, r as __export, s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
|
|
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
|
-
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-
|
|
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-
|
|
23
|
+
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-BRF7ryOP.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-BvkX_OeE.js";
|
|
25
25
|
import { __tla as __tla_1 } from "./chunk-5FQGJX7Z-C428iZBW.js";
|
|
26
|
-
import {
|
|
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-
|
|
28
|
-
import { c as Calendar, i as createReducerAndAtoms, n as useOnUnmount, o as ToggleLeft, r as Badge, t as useOnMount } from "./useLifecycle-
|
|
29
|
-
import { t as Check } from "./check-
|
|
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-
|
|
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-
|
|
26
|
+
import { o as useSize, s as Root$4, u as createLucideIcon } from "./dist-D56NKWim.js";
|
|
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-ByDEU1T3.js";
|
|
28
|
+
import { c as Calendar, i as createReducerAndAtoms, n as useOnUnmount, o as ToggleLeft, r as Badge, t as useOnMount } from "./useLifecycle-2Vh-WDv6.js";
|
|
29
|
+
import { t as Check } from "./check-Cex3x9fD.js";
|
|
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-CIR53v8V.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-SSWXiS6n.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-D1_ZulwM.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-D4-TD_m0.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";
|
|
37
37
|
import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
|
|
38
|
-
import { $ as StyleNamespace, A as looseObject, B as union, C as any, F as optional, G as parse$3, I as record, J as prettifyError, K as parseAsync, N as number, P as object, Q as isInVscodeExtension, R as string, S as _null, T as boolean, U as ZodError, V as unknown, X as withFullScreenAsRoot, Y as MAX_HEIGHT_OFFSET, Z as withSmartCollisionBoundary, _ as ZodString, a as ZodIssueCode, b as _enum, c as ZodBoolean,
|
|
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-
|
|
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-
|
|
41
|
-
import { n as minimalSetup, r as _extends$5, t as esm_default, u as CopyClipboardIcon } from "./esm-
|
|
38
|
+
import { $ as StyleNamespace, A as looseObject, B as union, C as any, F as optional, G as parse$3, I as record, J as prettifyError, K as parseAsync, N as number, P as object, Q as isInVscodeExtension, R as string, S as _null, T as boolean, U as ZodError, V as unknown, X as withFullScreenAsRoot, Y as MAX_HEIGHT_OFFSET, Z as withSmartCollisionBoundary, _ as ZodString, _t as Primitive$1, a as ZodIssueCode, b as _enum, c as ZodBoolean, d as ZodDiscriminatedUnion, dt as Presence, f as ZodEnum, ft as useControllableState, g as ZodOptional, gt as createContextScope, h as ZodObject, i as string$1, j as nan, k as literal, l as ZodDate, lt as useCallbackRef, m as ZodNumber, mt as composeEventHandlers$1, n as date, nt as __awaiter, o as ZodAny, p as ZodLiteral, pt as useLayoutEffect2, q as $ZodError, r as number$1, s as ZodArray, st as DismissableLayer, t as zod_default, u as ZodDefault, ut as useId$12, v as ZodType, vt as dispatchDiscreteCustomEvent, w as array, x as _instanceof, y as ZodUnion, z as tuple } from "./zod-D18k8Z52.js";
|
|
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-DexD-5js.js";
|
|
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-B5EnNyok.js";
|
|
41
|
+
import { n as minimalSetup, r as _extends$5, t as esm_default, u as CopyClipboardIcon } from "./esm-BGo_Mcdt.js";
|
|
42
42
|
import { a as get_default } from "./hasIn-DnfJcYpY.js";
|
|
43
43
|
import { n as _baseSet_default } from "./_basePickBy-Sow3pJjS.js";
|
|
44
44
|
import { n as pick_default, t as range_default } from "./range-fJeId9Ri.js";
|
|
45
45
|
import { i as debounce_default, r as KnownQueryParams, t as CSSClasses } from "./constants-CvyfaCvs.js";
|
|
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-
|
|
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-CxjbgkRc.js";
|
|
47
47
|
import { Z as EditorView } from "./dist-CxZvoNao.js";
|
|
48
48
|
import { t as invariant } from "./invariant-e8eBgdux.js";
|
|
49
49
|
import { c as uniqueBy, l as clamp, o as arrayShallowEquals, t as Arrays } from "./arrays-beUWo8RF.js";
|
|
@@ -56,12 +56,12 @@ 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-BvvMxigY.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";
|
|
63
63
|
import { t as useIframeCapabilities } from "./useIframeCapabilities-CqhrVue6.js";
|
|
64
|
-
import { t as useAsyncData } from "./useAsyncData-
|
|
64
|
+
import { t as useAsyncData } from "./useAsyncData-C9ez7Ilo.js";
|
|
65
65
|
import "./defaultLocale-qS7DaAmi.js";
|
|
66
66
|
import "./defaultLocale-Bxoo2-30.js";
|
|
67
67
|
import "./dist-CcMfr7jD.js";
|
|
@@ -23776,7 +23776,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
|
|
|
23776
23776
|
else if (c.some(_temp5$6)) _ = "SQL error";
|
|
23777
23777
|
else {
|
|
23778
23778
|
let e2;
|
|
23779
|
-
r[0] === c ? e2 = r[1] : (e2 = c.find(_temp6$
|
|
23779
|
+
r[0] === c ? e2 = r[1] : (e2 = c.find(_temp6$6), r[0] = c, r[1] = e2);
|
|
23780
23780
|
let d2 = e2;
|
|
23781
23781
|
d2 && "exception_type" in d2 && (_ = d2.exception_type);
|
|
23782
23782
|
}
|
|
@@ -24151,7 +24151,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
|
|
|
24151
24151
|
function _temp5$6(e) {
|
|
24152
24152
|
return e.type === "sql-error";
|
|
24153
24153
|
}
|
|
24154
|
-
function _temp6$
|
|
24154
|
+
function _temp6$6(e) {
|
|
24155
24155
|
return e.type === "exception";
|
|
24156
24156
|
}
|
|
24157
24157
|
function _temp7$2(e) {
|
|
@@ -24346,7 +24346,12 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
|
|
|
24346
24346
|
className: "text-muted-foreground",
|
|
24347
24347
|
children: processTextForUrls(e.msg, `exception-${r}`)
|
|
24348
24348
|
}),
|
|
24349
|
-
(0, import_jsx_runtime.jsx)("div", {
|
|
24349
|
+
"traceback" in e && e.traceback ? (0, import_jsx_runtime.jsx)("div", {
|
|
24350
|
+
className: "font-code text-sm mt-2 p-3 bg-muted rounded border overflow-auto max-h-[50vh] cursor-text select-text",
|
|
24351
|
+
dangerouslySetInnerHTML: {
|
|
24352
|
+
__html: e.traceback
|
|
24353
|
+
}
|
|
24354
|
+
}) : (0, import_jsx_runtime.jsx)("div", {
|
|
24350
24355
|
className: "text-muted-foreground mt-2",
|
|
24351
24356
|
children: "See the console area for a traceback."
|
|
24352
24357
|
})
|
|
@@ -24356,6 +24361,12 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
|
|
|
24356
24361
|
processTextForUrls(e.msg, `exception-${r}`),
|
|
24357
24362
|
(0, import_jsx_runtime.jsx)(CellLinkError, {
|
|
24358
24363
|
cellId: e.raising_cell
|
|
24364
|
+
}),
|
|
24365
|
+
"traceback" in e && e.traceback && (0, import_jsx_runtime.jsx)("div", {
|
|
24366
|
+
className: "font-code text-sm mt-2 p-3 bg-muted rounded border overflow-auto max-h-[50vh] cursor-text select-text",
|
|
24367
|
+
dangerouslySetInnerHTML: {
|
|
24368
|
+
__html: e.traceback
|
|
24369
|
+
}
|
|
24359
24370
|
})
|
|
24360
24371
|
]
|
|
24361
24372
|
})
|
|
@@ -36594,12 +36605,13 @@ ${E}`,
|
|
|
36594
36605
|
}
|
|
36595
36606
|
const AnyWidgetPlugin = createPlugin("marimo-anywidget").withData(object({
|
|
36596
36607
|
jsUrl: string(),
|
|
36597
|
-
jsHash: string()
|
|
36608
|
+
jsHash: string(),
|
|
36609
|
+
modelId: string().transform((e) => e)
|
|
36598
36610
|
})).withFunctions({}).renderer((e) => (0, import_jsx_runtime.jsx)(AnyWidgetSlot, {
|
|
36599
36611
|
...e
|
|
36600
36612
|
}));
|
|
36601
36613
|
var AnyWidgetSlot = (e) => {
|
|
36602
|
-
let r = (0, import_compiler_runtime$91.c)(14), { jsUrl: c, jsHash: d
|
|
36614
|
+
let r = (0, import_compiler_runtime$91.c)(14), { jsUrl: c, jsHash: d, modelId: f } = e.data, h = e.host, _;
|
|
36603
36615
|
r[0] !== d || r[1] !== c ? (_ = {
|
|
36604
36616
|
jsUrl: c,
|
|
36605
36617
|
jsHash: d
|
|
@@ -37075,7 +37087,7 @@ ${E}`,
|
|
|
37075
37087
|
};
|
|
37076
37088
|
}
|
|
37077
37089
|
};
|
|
37078
|
-
var LazyChatbot = import_react.lazy(() => import("./chat-ui-
|
|
37090
|
+
var LazyChatbot = import_react.lazy(() => import("./chat-ui-DfR3sT9K.js").then((e) => ({
|
|
37079
37091
|
default: e.Chatbot
|
|
37080
37092
|
}))), messageSchema = array(object({
|
|
37081
37093
|
id: string(),
|
|
@@ -37221,7 +37233,7 @@ ${E}`,
|
|
|
37221
37233
|
"time",
|
|
37222
37234
|
"unknown"
|
|
37223
37235
|
];
|
|
37224
|
-
var import_compiler_runtime$85 = require_compiler_runtime(), TooltipProvider$2 = Provider$2, LazyDataEditor = import_react.lazy(() => import("./glide-data-editor-
|
|
37236
|
+
var import_compiler_runtime$85 = require_compiler_runtime(), TooltipProvider$2 = Provider$2, LazyDataEditor = import_react.lazy(() => import("./glide-data-editor-BmyQCm0U.js").then(async (m2) => {
|
|
37225
37237
|
await m2.__tla;
|
|
37226
37238
|
return m2;
|
|
37227
37239
|
}));
|
|
@@ -43186,7 +43198,7 @@ ${c}
|
|
|
43186
43198
|
render: S
|
|
43187
43199
|
}), r[5] = c, r[6] = y.control, r[7] = S, r[8] = w) : w = r[8], w;
|
|
43188
43200
|
}, AggregationSelect = (e) => {
|
|
43189
|
-
let r = (0, import_compiler_runtime$76.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$
|
|
43201
|
+
let r = (0, import_compiler_runtime$76.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$5, E = _temp7$1, O;
|
|
43190
43202
|
r[0] !== f || r[1] !== _ ? (O = (e2) => {
|
|
43191
43203
|
let { value: r2, previousValue: c2, onChange: d2 } = e2;
|
|
43192
43204
|
r2 === "bin" ? _.setValue(f, true) : c2 === "bin" && _.setValue(f, false), d2(r2);
|
|
@@ -43352,7 +43364,7 @@ ${c}
|
|
|
43352
43364
|
children: r
|
|
43353
43365
|
}, e);
|
|
43354
43366
|
}
|
|
43355
|
-
function _temp6$
|
|
43367
|
+
function _temp6$5(e) {
|
|
43356
43368
|
return (0, import_jsx_runtime.jsx)("span", {
|
|
43357
43369
|
className: "text-xs text-muted-foreground pr-10",
|
|
43358
43370
|
children: e
|
|
@@ -46146,7 +46158,7 @@ ${c}
|
|
|
46146
46158
|
}), r[48] = z, r[49] = f, r[50] = O, r[51] = v, r[52] = u9) : u9 = r[52];
|
|
46147
46159
|
let d9 = u9, f9;
|
|
46148
46160
|
r[53] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f9 = () => {
|
|
46149
|
-
E(_temp6$
|
|
46161
|
+
E(_temp6$4);
|
|
46150
46162
|
}, r[53] = f9) : f9 = r[53];
|
|
46151
46163
|
let p9 = o9 == null ? void 0 : o9.totalRows, m9;
|
|
46152
46164
|
r[54] === p9 ? m9 = r[55] : (m9 = [
|
|
@@ -46464,7 +46476,7 @@ ${c}
|
|
|
46464
46476
|
function _temp5$4(e) {
|
|
46465
46477
|
return filterToFilterCondition(e.id, e.value);
|
|
46466
46478
|
}
|
|
46467
|
-
function _temp6$
|
|
46479
|
+
function _temp6$4(e) {
|
|
46468
46480
|
return e.pageIndex === 0 ? e : {
|
|
46469
46481
|
...e,
|
|
46470
46482
|
pageIndex: 0
|
|
@@ -46631,7 +46643,7 @@ ${c}
|
|
|
46631
46643
|
children: _temp5$3
|
|
46632
46644
|
}),
|
|
46633
46645
|
(0, import_jsx_runtime.jsx)(CalendarGridBody, {
|
|
46634
|
-
children: _temp6$
|
|
46646
|
+
children: _temp6$3
|
|
46635
46647
|
})
|
|
46636
46648
|
]
|
|
46637
46649
|
}), r[7] = v) : v = r[7];
|
|
@@ -46673,7 +46685,7 @@ ${c}
|
|
|
46673
46685
|
children: e
|
|
46674
46686
|
});
|
|
46675
46687
|
}
|
|
46676
|
-
function _temp6$
|
|
46688
|
+
function _temp6$3(e) {
|
|
46677
46689
|
return (0, import_jsx_runtime.jsx)(CalendarCell, {
|
|
46678
46690
|
date: e
|
|
46679
46691
|
});
|
|
@@ -46931,7 +46943,7 @@ ${c}
|
|
|
46931
46943
|
(0, import_jsx_runtime.jsxs)(CalendarGrid, {
|
|
46932
46944
|
children: [
|
|
46933
46945
|
(0, import_jsx_runtime.jsx)(CalendarGridHeader, {
|
|
46934
|
-
children: _temp6$
|
|
46946
|
+
children: _temp6$2
|
|
46935
46947
|
}),
|
|
46936
46948
|
(0, import_jsx_runtime.jsx)(CalendarGridBody, {
|
|
46937
46949
|
children: _temp7
|
|
@@ -46975,7 +46987,7 @@ ${c}
|
|
|
46975
46987
|
function _temp5$2(e) {
|
|
46976
46988
|
return cn("group flex flex-col gap-2", e);
|
|
46977
46989
|
}
|
|
46978
|
-
function _temp6$
|
|
46990
|
+
function _temp6$2(e) {
|
|
46979
46991
|
return (0, import_jsx_runtime.jsx)(CalendarHeaderCell, {
|
|
46980
46992
|
children: e
|
|
46981
46993
|
});
|
|
@@ -47352,7 +47364,7 @@ ${c}
|
|
|
47352
47364
|
fullWidth: v,
|
|
47353
47365
|
children: z
|
|
47354
47366
|
}), r[19] = v, r[20] = y, r[21] = c, r[22] = z, r[23] = G) : G = r[23], G;
|
|
47355
|
-
}, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-
|
|
47367
|
+
}, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-mLj6D01z.js"));
|
|
47356
47368
|
const DataExplorerPlugin = createPlugin("marimo-data-explorer").withData(object({
|
|
47357
47369
|
label: string().nullish(),
|
|
47358
47370
|
data: string()
|
|
@@ -55468,7 +55480,7 @@ ${c}
|
|
|
55468
55480
|
onDrop: S
|
|
55469
55481
|
}, r[4] = d, r[5] = y, r[6] = _, r[7] = S, r[8] = w) : w = r[8];
|
|
55470
55482
|
let { getRootProps: E, getInputProps: O, isFocused: M, isDragAccept: I, isDragReject: z } = useDropzone(w), G;
|
|
55471
|
-
r[9] === v ? G = r[10] : (G = v.map(_temp6), r[9] = v, r[10] = G);
|
|
55483
|
+
r[9] === v ? G = r[10] : (G = v.map(_temp6$1), r[9] = v, r[10] = G);
|
|
55472
55484
|
let q;
|
|
55473
55485
|
r[11] === G ? q = r[12] : (q = (0, import_jsx_runtime.jsx)("ul", {
|
|
55474
55486
|
children: G
|
|
@@ -55701,7 +55713,7 @@ ${c}
|
|
|
55701
55713
|
variant: "danger"
|
|
55702
55714
|
});
|
|
55703
55715
|
}
|
|
55704
|
-
function _temp6(e) {
|
|
55716
|
+
function _temp6$1(e) {
|
|
55705
55717
|
let [r] = e;
|
|
55706
55718
|
return (0, import_jsx_runtime.jsx)("li", {
|
|
55707
55719
|
children: r
|
|
@@ -58561,7 +58573,7 @@ ${c}
|
|
|
58561
58573
|
return true;
|
|
58562
58574
|
}
|
|
58563
58575
|
}
|
|
58564
|
-
var LazyVegaComponent = import_react.lazy(() => import("./vega-component-
|
|
58576
|
+
var LazyVegaComponent = import_react.lazy(() => import("./vega-component-Bzzut3-P.js")), VegaPlugin = class {
|
|
58565
58577
|
constructor() {
|
|
58566
58578
|
__publicField(this, "tagName", "marimo-vega");
|
|
58567
58579
|
__publicField(this, "validator", object({
|
|
@@ -58884,7 +58896,7 @@ ${c}
|
|
|
58884
58896
|
diagram: e.data.diagram
|
|
58885
58897
|
});
|
|
58886
58898
|
}
|
|
58887
|
-
}, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-
|
|
58899
|
+
}, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-B93TKi2g.js").then(async (m2) => {
|
|
58888
58900
|
await m2.__tla;
|
|
58889
58901
|
return m2;
|
|
58890
58902
|
})), import_compiler_runtime$18 = require_compiler_runtime();
|
|
@@ -65540,7 +65552,7 @@ ${c}
|
|
|
65540
65552
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
65541
65553
|
}
|
|
65542
65554
|
}
|
|
65543
|
-
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.22.4-
|
|
65555
|
+
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.22.4-dev11"), showCodeInRunModeAtom = atom(true);
|
|
65544
65556
|
atom(null);
|
|
65545
65557
|
var VIRTUAL_FILE_REGEX = /\/@file\/([^\s"&'/]+)\.([\dA-Za-z]+)/g, VirtualFileTracker = class e {
|
|
65546
65558
|
constructor() {
|
|
@@ -65667,7 +65679,8 @@ ${c}
|
|
|
65667
65679
|
interrupted: e2.interrupted,
|
|
65668
65680
|
staleInputs: e2.staleInputs,
|
|
65669
65681
|
name: e2.name,
|
|
65670
|
-
kiosk: _
|
|
65682
|
+
kiosk: _,
|
|
65683
|
+
showErrorTracebacks: y.runtime.show_tracebacks ?? false
|
|
65671
65684
|
}, e2.id), r[8] = G, r[9] = _, r[10] = f, r[11] = M, r[12] = y, r[13] = q) : q = r[13];
|
|
65672
65685
|
let Z7 = q, Q7;
|
|
65673
65686
|
r[14] !== d.width || r[15] !== c || r[16] !== h || r[17] !== v || r[18] !== Z7 ? (Q7 = () => d.width === "columns" ? (0, import_jsx_runtime.jsx)("div", {
|
|
@@ -65847,37 +65860,37 @@ ${c}
|
|
|
65847
65860
|
})
|
|
65848
65861
|
}), r[24] = O, r[25] = z), z;
|
|
65849
65862
|
}, VerticalCell = (0, import_react.memo)((e) => {
|
|
65850
|
-
let r = (0, import_compiler_runtime$1.c)(55), { output: c, consoleOutputs: d, cellOutputArea: f, cellId: h, status: _, stopped: v, errored: y, config: S, interrupted: w, staleInputs: E, runStartTimestamp: O, code: M, showCode: I, mode: z, name: G, kiosk: q } = e,
|
|
65851
|
-
r[0] !== w || r[1] !== c || r[2] !== O || r[3] !== E || r[4] !== _ ? (
|
|
65863
|
+
let r = (0, import_compiler_runtime$1.c)(55), { output: c, consoleOutputs: d, cellOutputArea: f, cellId: h, status: _, stopped: v, errored: y, config: S, interrupted: w, staleInputs: E, runStartTimestamp: O, code: M, showCode: I, mode: z, name: G, kiosk: q, showErrorTracebacks: Z7 } = e, Q7 = (0, import_react.useRef)(null), $7;
|
|
65864
|
+
r[0] !== w || r[1] !== c || r[2] !== O || r[3] !== E || r[4] !== _ ? ($7 = outputIsStale({
|
|
65852
65865
|
status: _,
|
|
65853
65866
|
output: c,
|
|
65854
65867
|
interrupted: w,
|
|
65855
65868
|
runStartTimestamp: O,
|
|
65856
65869
|
staleInputs: E
|
|
65857
|
-
}, false), r[0] = w, r[1] = c, r[2] = O, r[3] = E, r[4] = _, r[5] =
|
|
65858
|
-
let
|
|
65859
|
-
r[6] === _ ?
|
|
65860
|
-
let
|
|
65861
|
-
if (r[8] !== M || r[9] !== y || r[10] !==
|
|
65862
|
-
let e2 = new MarkdownLanguageAdapter().isSupported(M), c2 = !I && !
|
|
65863
|
-
|
|
65870
|
+
}, false), r[0] = w, r[1] = c, r[2] = O, r[3] = E, r[4] = _, r[5] = $7) : $7 = r[5];
|
|
65871
|
+
let e9 = $7, t9;
|
|
65872
|
+
r[6] === _ ? t9 = r[7] : (t9 = outputIsLoading(_), r[6] = _, r[7] = t9);
|
|
65873
|
+
let r9 = t9, i9 = q && z !== "present", a9;
|
|
65874
|
+
if (r[8] !== M || r[9] !== y || r[10] !== i9 || r[11] !== I || r[12] !== v) {
|
|
65875
|
+
let e2 = new MarkdownLanguageAdapter().isSupported(M), c2 = !I && !i9;
|
|
65876
|
+
a9 = cn("marimo-cell", "hover-actions-parent empty:invisible", {
|
|
65864
65877
|
published: c2,
|
|
65865
65878
|
"has-error": y,
|
|
65866
65879
|
stopped: v,
|
|
65867
65880
|
borderless: e2 && !c2
|
|
65868
|
-
}), r[8] = M, r[9] = y, r[10] =
|
|
65869
|
-
} else
|
|
65870
|
-
let
|
|
65871
|
-
if (z === "read" && I ||
|
|
65881
|
+
}), r[8] = M, r[9] = y, r[10] = i9, r[11] = I, r[12] = v, r[13] = a9;
|
|
65882
|
+
} else a9 = r[13];
|
|
65883
|
+
let o9 = a9;
|
|
65884
|
+
if (z === "read" && I || i9) {
|
|
65872
65885
|
let e2;
|
|
65873
|
-
r[14] !== h || r[15] !==
|
|
65886
|
+
r[14] !== h || r[15] !== r9 || r[16] !== c || r[17] !== e9 ? (e2 = (0, import_jsx_runtime.jsx)(OutputArea, {
|
|
65874
65887
|
allowExpand: true,
|
|
65875
65888
|
output: c,
|
|
65876
65889
|
className: CSSClasses.outputArea,
|
|
65877
65890
|
cellId: h,
|
|
65878
|
-
stale:
|
|
65879
|
-
loading:
|
|
65880
|
-
}), r[14] = h, r[15] =
|
|
65891
|
+
stale: e9,
|
|
65892
|
+
loading: r9
|
|
65893
|
+
}), r[14] = h, r[15] = r9, r[16] = c, r[17] = e9, r[18] = e2) : e2 = r[18];
|
|
65881
65894
|
let _2 = e2, v2;
|
|
65882
65895
|
r[19] !== M || r[20] !== c ? (v2 = shouldHideCode(M, c), r[19] = M, r[20] = c, r[21] = v2) : v2 = r[21];
|
|
65883
65896
|
let y2 = v2, w2;
|
|
@@ -65891,19 +65904,19 @@ ${c}
|
|
|
65891
65904
|
})
|
|
65892
65905
|
}), r[25] = M, r[26] = S, r[27] = y2, r[28] = q, r[29] = O2) : O2 = r[29];
|
|
65893
65906
|
let I2 = f === "below" && _2, z2;
|
|
65894
|
-
r[30] !== h || r[31] !== d || r[32] !== G || r[33] !==
|
|
65907
|
+
r[30] !== h || r[31] !== d || r[32] !== G || r[33] !== e9 ? (z2 = (0, import_jsx_runtime.jsx)(ConsoleOutput, {
|
|
65895
65908
|
consoleOutputs: d,
|
|
65896
|
-
stale:
|
|
65909
|
+
stale: e9,
|
|
65897
65910
|
cellName: G,
|
|
65898
65911
|
onSubmitDebugger: _temp5,
|
|
65899
65912
|
cellId: h,
|
|
65900
65913
|
debuggerActive: false
|
|
65901
|
-
}), r[30] = h, r[31] = d, r[32] = G, r[33] =
|
|
65902
|
-
let
|
|
65903
|
-
return r[35] !==
|
|
65914
|
+
}), r[30] = h, r[31] = d, r[32] = G, r[33] = e9, r[34] = z2) : z2 = r[34];
|
|
65915
|
+
let Z72;
|
|
65916
|
+
return r[35] !== o9 || r[36] !== z2 || r[37] !== w2 || r[38] !== E2 || r[39] !== O2 || r[40] !== I2 ? (Z72 = (0, import_jsx_runtime.jsxs)("div", {
|
|
65904
65917
|
tabIndex: -1,
|
|
65905
|
-
ref:
|
|
65906
|
-
className:
|
|
65918
|
+
ref: Q7,
|
|
65919
|
+
className: o9,
|
|
65907
65920
|
...w2,
|
|
65908
65921
|
children: [
|
|
65909
65922
|
E2,
|
|
@@ -65911,29 +65924,29 @@ ${c}
|
|
|
65911
65924
|
I2,
|
|
65912
65925
|
z2
|
|
65913
65926
|
]
|
|
65914
|
-
}), r[35] =
|
|
65927
|
+
}), r[35] = o9, r[36] = z2, r[37] = w2, r[38] = E2, r[39] = O2, r[40] = I2, r[41] = Z72) : Z72 = r[41], Z72;
|
|
65915
65928
|
}
|
|
65916
|
-
let
|
|
65917
|
-
if (y || w || v ||
|
|
65918
|
-
let
|
|
65919
|
-
r[42] !== h || r[43] !== G ? (
|
|
65920
|
-
let
|
|
65921
|
-
r[45] !== h || r[46] !==
|
|
65922
|
-
allowExpand:
|
|
65929
|
+
let s9 = isErrorMime(c == null ? void 0 : c.mimetype), c9 = Z7 && s9 && Array.isArray(c == null ? void 0 : c.data) && c.data.some(_temp6);
|
|
65930
|
+
if ((y || w || v || s9) && !c9) return null;
|
|
65931
|
+
let l9;
|
|
65932
|
+
r[42] !== h || r[43] !== G ? (l9 = cellDomProps(h, G), r[42] = h, r[43] = G, r[44] = l9) : l9 = r[44];
|
|
65933
|
+
let u9 = z === "edit", d9;
|
|
65934
|
+
r[45] !== h || r[46] !== r9 || r[47] !== c || r[48] !== e9 || r[49] !== u9 ? (d9 = (0, import_jsx_runtime.jsx)(OutputArea, {
|
|
65935
|
+
allowExpand: u9,
|
|
65923
65936
|
output: c,
|
|
65924
65937
|
className: CSSClasses.outputArea,
|
|
65925
65938
|
cellId: h,
|
|
65926
|
-
stale:
|
|
65927
|
-
loading:
|
|
65928
|
-
}), r[45] = h, r[46] =
|
|
65929
|
-
let
|
|
65930
|
-
return r[51] !==
|
|
65939
|
+
stale: e9,
|
|
65940
|
+
loading: r9
|
|
65941
|
+
}), r[45] = h, r[46] = r9, r[47] = c, r[48] = e9, r[49] = u9, r[50] = d9) : d9 = r[50];
|
|
65942
|
+
let f9;
|
|
65943
|
+
return r[51] !== o9 || r[52] !== l9 || r[53] !== d9 ? (f9 = (0, import_jsx_runtime.jsx)("div", {
|
|
65931
65944
|
tabIndex: -1,
|
|
65932
|
-
ref:
|
|
65933
|
-
className:
|
|
65934
|
-
...
|
|
65935
|
-
children:
|
|
65936
|
-
}), r[51] =
|
|
65945
|
+
ref: Q7,
|
|
65946
|
+
className: o9,
|
|
65947
|
+
...l9,
|
|
65948
|
+
children: d9
|
|
65949
|
+
}), r[51] = o9, r[52] = l9, r[53] = d9, r[54] = f9) : f9 = r[54], f9;
|
|
65937
65950
|
});
|
|
65938
65951
|
VerticalCell.displayName = "VerticalCell";
|
|
65939
65952
|
const VerticalLayoutPlugin = {
|
|
@@ -65982,6 +65995,9 @@ ${c}
|
|
|
65982
65995
|
function _temp5() {
|
|
65983
65996
|
return null;
|
|
65984
65997
|
}
|
|
65998
|
+
function _temp6(e) {
|
|
65999
|
+
return e.type === "exception" && "traceback" in e && e.traceback;
|
|
66000
|
+
}
|
|
65985
66001
|
const cellRendererPlugins = [
|
|
65986
66002
|
GridLayoutPlugin,
|
|
65987
66003
|
SlidesLayoutPlugin,
|
|
@@ -66639,7 +66655,7 @@ ${r}
|
|
|
66639
66655
|
return c ? parseIslandEditor(c.dataset.initialValue) : "";
|
|
66640
66656
|
}
|
|
66641
66657
|
const islandsInitializedAtom = atom(false), userTriedToInteractWithIslandsAtom = atom(false), shouldShowIslandsWarningIndicatorAtom = atom((e) => e(userTriedToInteractWithIslandsAtom) && e(islandsInitializedAtom) === false);
|
|
66642
|
-
var worker_default = "/assets/worker-
|
|
66658
|
+
var worker_default = "/assets/worker-D-EdLKct.js", IslandsPyodideBridge = class e {
|
|
66643
66659
|
constructor() {
|
|
66644
66660
|
__publicField(this, "initialized", new Deferred());
|
|
66645
66661
|
__publicField(this, "sendComponentValues", async (e2) => (await this.putControlRequest({
|
|
@@ -4,12 +4,12 @@ import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
|
4
4
|
import { g as Logger } from "./button-DNlNlZY_.js";
|
|
5
5
|
import "./react-dom-BSUuJjCR.js";
|
|
6
6
|
import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
|
|
7
|
-
import "./zod-
|
|
8
|
-
import { n as ErrorBanner } from "./error-banner-
|
|
7
|
+
import "./zod-D18k8Z52.js";
|
|
8
|
+
import { n as ErrorBanner } from "./error-banner-DexD-5js.js";
|
|
9
9
|
import { t as isEmpty_default } from "./isEmpty-B7FX9wKt.js";
|
|
10
|
-
import { n as useTheme } from "./useTheme-
|
|
10
|
+
import { n as useTheme } from "./useTheme-CxjbgkRc.js";
|
|
11
11
|
import { t as purify } from "./purify.es-hTCfRGdl.js";
|
|
12
|
-
import { t as useAsyncData } from "./useAsyncData-
|
|
12
|
+
import { t as useAsyncData } from "./useAsyncData-C9ez7Ilo.js";
|
|
13
13
|
import { a as decodeEntities, f as isDetailedError, g as utils_default, h as removeDirectives, i as cleanAndMerge, o as encodeEntities } from "./chunk-S3R3BYOJ-B0UOFJwq.js";
|
|
14
14
|
import { a as setLogLevel, i as log, r as __name, t as select_default } from "./src-DbP20yFZ.js";
|
|
15
15
|
import { t as package_default } from "./chunk-DR5Q36YT-C40cYcy5.js";
|