@marimo-team/islands 0.21.2-dev89 → 0.21.2-dev90
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.
|
@@ -5,7 +5,7 @@ import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
|
|
|
5
5
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
6
6
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
7
7
|
import { r as toast } from "./copy-B7XqFjF_.js";
|
|
8
|
-
import { $t as getTableType, A as AccordionItem, C as Boosts, D as AIContextRegistry, Dt as displayCellName, E as AIContextProvider, En as atomWithStorage, Fn as Info, Gt as variablesAtom, H as ChatBubbleIcon, I as MarimoIncomingMessageEvent, In as File$1, Kt as PluralWord, Lt as moveToEndOfEditor, Nn as LoaderCircle, O as Accordion, On as Wrench, Pt as createVariableInfoElement, Qt as dataSourceConnectionsAtom, T as contextToXml, Vn as CircleX, Wt as jotaiJsonStorage, X as base64ToDataURL, Y as deserializeBlob, Zt as allTablesAtom, a as toPng, an as singleFacet, ct as notebookAtom, d as Spinner, f as Popover, g as PopoverAnchor, h as PopoverTrigger, hn as CellOutputId, it as cellErrorsAtom, j as AccordionTrigger, k as AccordionContent, kn as Trash2, m as PopoverContent, n as blobToString, o as MarkdownRenderer, rt as renderHTML, t as processOutput, tn as getRequestClient, un as ZodLocalStorage, v as isOutputEmpty, w as Sections, x as DatasourceContextProvider } from "./process-output-
|
|
8
|
+
import { $t as getTableType, A as AccordionItem, C as Boosts, D as AIContextRegistry, Dt as displayCellName, E as AIContextProvider, En as atomWithStorage, Fn as Info, Gt as variablesAtom, H as ChatBubbleIcon, I as MarimoIncomingMessageEvent, In as File$1, Kt as PluralWord, Lt as moveToEndOfEditor, Nn as LoaderCircle, O as Accordion, On as Wrench, Pt as createVariableInfoElement, Qt as dataSourceConnectionsAtom, T as contextToXml, Vn as CircleX, Wt as jotaiJsonStorage, X as base64ToDataURL, Y as deserializeBlob, Zt as allTablesAtom, a as toPng, an as singleFacet, ct as notebookAtom, d as Spinner, f as Popover, g as PopoverAnchor, h as PopoverTrigger, hn as CellOutputId, it as cellErrorsAtom, j as AccordionTrigger, k as AccordionContent, kn as Trash2, m as PopoverContent, n as blobToString, o as MarkdownRenderer, rt as renderHTML, t as processOutput, tn as getRequestClient, un as ZodLocalStorage, v as isOutputEmpty, w as Sections, x as DatasourceContextProvider } from "./process-output-BfgNdve9.js";
|
|
9
9
|
import "./chunk-5FQGJX7Z-Cz2QbNIw.js";
|
|
10
10
|
import { l as createLucideIcon } from "./dist-BiNtCiQ9.js";
|
|
11
11
|
import { a as startCase_default } from "./useLifecycle-Be1LUuEg.js";
|
package/dist/main.js
CHANGED
|
@@ -21,7 +21,7 @@ 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-B7XqFjF_.js";
|
|
24
|
-
import { $ as dataViewToBase64, A as AccordionItem, An as Table2, At as normalizeName, B as createInputEvent, Bn as Columns2, Bt as generateUUID, Cn as jsonToMarkdown, Ct as isErrorMime, Dn as selectAtom, Dt as displayCellName, En as atomWithStorage, Et as getCellDomProps, F as AccordionTrigger$1, Fn as Info, Ft as PathBuilder, G as ChevronRightIcon, Gn as import_lib, Hn as CircleAlert, Ht as repl, I as MarimoIncomingMessageEvent, In as File, It as Paths, J as PinRightIcon, Jt as DATA_TYPE_ICON, K as DotFilledIcon, Kt as PluralWord, L as MarimoValueInputEvent, Ln as FileText, M as Accordion$1, Mn as NotebookPen, Mt as customPythonLanguageSupport, N as AccordionContent$1, Nn as LoaderCircle, Nt as MarkdownLanguageAdapter, O as Accordion, On as Wrench, Ot as getValidName, P as AccordionItem$1, Pn as Layers, Q as base64ToUint8Array, R as MarimoValueReadyEvent, Rn as Eye, Rt as goToCellLine, S as getDatasourceContext, Sn as jsonParseWithSpecialChar, St as outputIsStale, Tn as atomWithReducer, Tt as DATA_CELL_ID, U as CheckIcon, Un as Braces, Ut as adaptForLocalStorage, V as BorderAllIcon, Vn as CircleX, Vt as useChromeActions, W as ChevronDownIcon, Wn as esm_default$1, Wt as jotaiJsonStorage, Xt as require_client, Y as deserializeBlob, Yt as getDataTypeColor, Z as base64ToDataView, _ as PopoverClose, _n as SCRATCH_CELL_ID, _t as getInitialAppMode, a as toPng, at as createActions, b as useExpandedOutput, bn as OBJECT_ID_ATTR, bt as viewStateAtom, c as useCellFocusActions, cn as getTracebackInfo, ct as notebookAtom, d as Spinner, dn as filenameAtom, dt as useCellActions, en as convertStatsName, et as extractBase64FromDataURL, f as Popover$1, fn as parseAttrValue, ft as useCellIds, gn as HTMLCellId, gt as AnsiUp, h as PopoverTrigger, hn as CellOutputId, ht as Strings, i as PythonIcon, in as isUninstantiated, j as AccordionTrigger, jn as PaintRoller, jt as Checkbox, k as AccordionContent, kn as Trash2, kt as isInternalCellName, l as useLastFocusedCellId, ln as NotebookScopedLocalStorage, lt as notebookOutline, m as PopoverContent, mn as parseInitialValue, mt as createCell, n as blobToString, nn as requestClientAtom, nt as safeExtractSetUIElementMessageBuffers, o as MarkdownRenderer, on as elementContainsMarimoCellFile, ot as getCellEditorView, p as PopoverClose$1, pn as parseDataset, pt as useCellNames, q as PinLeftIcon, qt as PluralWords, r as filesToBase64, rn as useRequestClient, rt as renderHTML, s as LazyAnyLanguageCodeMirror, sn as extractAllTracebackInfo, st as getCellNames, t as processOutput, tn as getRequestClient, tt as isDataURLString, u as maybeAddAltairImport, ut as reducer, v as isOutputEmpty, vn as UIElementId, vt as initialModeAtom, wn as jsonToTSV, wt as headingToIdentifier, xn as RANDOM_ID_ATTR, xt as outputIsLoading, y as useExpandedConsoleOutput, yn as findCellId, yt as kioskModeAtom, z as MarimoValueUpdateEvent, zn as Database, zt as DeferredRequestRegistry, __tla as __tla_0 } from "./process-output-
|
|
24
|
+
import { $ as dataViewToBase64, A as AccordionItem, An as Table2, At as normalizeName, B as createInputEvent, Bn as Columns2, Bt as generateUUID, Cn as jsonToMarkdown, Ct as isErrorMime, Dn as selectAtom, Dt as displayCellName, En as atomWithStorage, Et as getCellDomProps, F as AccordionTrigger$1, Fn as Info, Ft as PathBuilder, G as ChevronRightIcon, Gn as import_lib, Hn as CircleAlert, Ht as repl, I as MarimoIncomingMessageEvent, In as File, It as Paths, J as PinRightIcon, Jt as DATA_TYPE_ICON, K as DotFilledIcon, Kt as PluralWord, L as MarimoValueInputEvent, Ln as FileText, M as Accordion$1, Mn as NotebookPen, Mt as customPythonLanguageSupport, N as AccordionContent$1, Nn as LoaderCircle, Nt as MarkdownLanguageAdapter, O as Accordion, On as Wrench, Ot as getValidName, P as AccordionItem$1, Pn as Layers, Q as base64ToUint8Array, R as MarimoValueReadyEvent, Rn as Eye, Rt as goToCellLine, S as getDatasourceContext, Sn as jsonParseWithSpecialChar, St as outputIsStale, Tn as atomWithReducer, Tt as DATA_CELL_ID, U as CheckIcon, Un as Braces, Ut as adaptForLocalStorage, V as BorderAllIcon, Vn as CircleX, Vt as useChromeActions, W as ChevronDownIcon, Wn as esm_default$1, Wt as jotaiJsonStorage, Xt as require_client, Y as deserializeBlob, Yt as getDataTypeColor, Z as base64ToDataView, _ as PopoverClose, _n as SCRATCH_CELL_ID, _t as getInitialAppMode, a as toPng, at as createActions, b as useExpandedOutput, bn as OBJECT_ID_ATTR, bt as viewStateAtom, c as useCellFocusActions, cn as getTracebackInfo, ct as notebookAtom, d as Spinner, dn as filenameAtom, dt as useCellActions, en as convertStatsName, et as extractBase64FromDataURL, f as Popover$1, fn as parseAttrValue, ft as useCellIds, gn as HTMLCellId, gt as AnsiUp, h as PopoverTrigger, hn as CellOutputId, ht as Strings, i as PythonIcon, in as isUninstantiated, j as AccordionTrigger, jn as PaintRoller, jt as Checkbox, k as AccordionContent, kn as Trash2, kt as isInternalCellName, l as useLastFocusedCellId, ln as NotebookScopedLocalStorage, lt as notebookOutline, m as PopoverContent, mn as parseInitialValue, mt as createCell, n as blobToString, nn as requestClientAtom, nt as safeExtractSetUIElementMessageBuffers, o as MarkdownRenderer, on as elementContainsMarimoCellFile, ot as getCellEditorView, p as PopoverClose$1, pn as parseDataset, pt as useCellNames, q as PinLeftIcon, qt as PluralWords, r as filesToBase64, rn as useRequestClient, rt as renderHTML, s as LazyAnyLanguageCodeMirror, sn as extractAllTracebackInfo, st as getCellNames, t as processOutput, tn as getRequestClient, tt as isDataURLString, u as maybeAddAltairImport, ut as reducer, v as isOutputEmpty, vn as UIElementId, vt as initialModeAtom, wn as jsonToTSV, wt as headingToIdentifier, xn as RANDOM_ID_ATTR, xt as outputIsLoading, y as useExpandedConsoleOutput, yn as findCellId, yt as kioskModeAtom, z as MarimoValueUpdateEvent, zn as Database, zt as DeferredRequestRegistry, __tla as __tla_0 } from "./process-output-BfgNdve9.js";
|
|
25
25
|
import { __tla as __tla_1 } from "./chunk-5FQGJX7Z-Cz2QbNIw.js";
|
|
26
26
|
import { c as useSize, l as createLucideIcon, t as Root$4 } from "./dist-BiNtCiQ9.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-UGFYIDJb.js";
|
|
@@ -35175,7 +35175,7 @@ ${O}`,
|
|
|
35175
35175
|
};
|
|
35176
35176
|
}
|
|
35177
35177
|
};
|
|
35178
|
-
var LazyChatbot = import_react.lazy(() => import("./chat-ui-
|
|
35178
|
+
var LazyChatbot = import_react.lazy(() => import("./chat-ui-CN_DUtLR.js").then((e) => ({
|
|
35179
35179
|
default: e.Chatbot
|
|
35180
35180
|
}))), messageSchema = array(object({
|
|
35181
35181
|
id: string(),
|
|
@@ -65424,7 +65424,7 @@ ${c}
|
|
|
65424
65424
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
65425
65425
|
}
|
|
65426
65426
|
}
|
|
65427
|
-
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.21.2-
|
|
65427
|
+
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.21.2-dev90"), showCodeInRunModeAtom = atom(true);
|
|
65428
65428
|
atom(null);
|
|
65429
65429
|
var VIRTUAL_FILE_REGEX = /\/@file\/([^\s"&'/]+)\.([\dA-Za-z]+)/g, VirtualFileTracker = class e {
|
|
65430
65430
|
constructor() {
|
|
@@ -24800,7 +24800,7 @@ ${n.sqlString}
|
|
|
24800
24800
|
[f]: (0, import_react.createRef)()
|
|
24801
24801
|
},
|
|
24802
24802
|
scrollKey: s ? f : null,
|
|
24803
|
-
untouchedNewCells: l ? /* @__PURE__ */ new Set([
|
|
24803
|
+
untouchedNewCells: l && !i ? /* @__PURE__ */ new Set([
|
|
24804
24804
|
...e.untouchedNewCells,
|
|
24805
24805
|
f
|
|
24806
24806
|
]) : e.untouchedNewCells
|
package/package.json
CHANGED
package/src/core/cells/cells.ts
CHANGED
|
@@ -247,9 +247,10 @@ const {
|
|
|
247
247
|
[newCellId]: createRef(),
|
|
248
248
|
},
|
|
249
249
|
scrollKey: autoFocus ? newCellId : null,
|
|
250
|
-
untouchedNewCells:
|
|
251
|
-
|
|
252
|
-
|
|
250
|
+
untouchedNewCells:
|
|
251
|
+
hideCode && !code
|
|
252
|
+
? new Set([...state.untouchedNewCells, newCellId])
|
|
253
|
+
: state.untouchedNewCells,
|
|
253
254
|
};
|
|
254
255
|
},
|
|
255
256
|
moveCell: (
|