@marimo-team/islands 0.22.5-dev16 → 0.22.5-dev19
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-mLj6D01z.js → ConnectedDataExplorerComponent-D08JKcQg.js} +1 -1
- package/dist/{chat-ui-X5KPeHrU.js → chat-ui-YuHt7jfw.js} +2 -2
- package/dist/main.js +8 -8
- package/dist/{mermaid-B93TKi2g.js → mermaid-BZ2YHhbi.js} +1 -1
- package/dist/{process-output-C0tmJosY.js → process-output-Dw_U2LSR.js} +2089 -2086
- package/dist/{useAsyncData-C9ez7Ilo.js → useAsyncData-BG3ULuDU.js} +1 -1
- package/dist/{vega-component-Bzzut3-P.js → vega-component-DCmC_rsk.js} +1 -1
- package/package.json +1 -1
- package/src/core/cells/document-changes.ts +12 -0
- package/src/hooks/useAsyncData.ts +1 -1
- package/src/plugins/impl/DataTablePlugin.tsx +1 -1
|
@@ -15,7 +15,7 @@ import { b as createStore, g as useAtomValue, m as Provider, n as useTheme, y as
|
|
|
15
15
|
import { t as invariant } from "./invariant-e8eBgdux.js";
|
|
16
16
|
import "./vega-loader.browser-DqEcFOPD.js";
|
|
17
17
|
import { a as getContainerWidth, n as vegaLoadData, s as tooltipHandler } from "./loader-Bd1kgLn7.js";
|
|
18
|
-
import { t as useAsyncData } from "./useAsyncData-
|
|
18
|
+
import { t as useAsyncData } from "./useAsyncData-BG3ULuDU.js";
|
|
19
19
|
import { n as q, r as contains } from "./react-vega-CzRAIHrv.js";
|
|
20
20
|
import "./defaultLocale-qS7DaAmi.js";
|
|
21
21
|
import "./defaultLocale-Bxoo2-30.js";
|
|
@@ -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-BRF7ryOP.js";
|
|
8
|
-
import { $t as singleFacet, A as MarimoIncomingMessageEvent, Bt as PluralWord, C as contextToXml, D as AccordionContent, E as Accordion, Fn as Info, Gt as allTablesAtom, I as ChatBubbleIcon, In as File$1, Kt as dataSourceConnectionsAtom, Nn as LoaderCircle, O as AccordionItem, On as Wrench, Ot as createVariableInfoElement, Q as cellErrorsAtom, Rt as jotaiJsonStorage, S as Sections, Sn as Anchor2, T as AIContextRegistry, U as deserializeBlob, Vn as CircleX, W as base64ToDataURL, Yt as getRequestClient, Z as renderHTML, a as toPng, bn as atomWithStorage, d as Spinner, f as Popover, g as isOutputEmpty, h as PopoverTrigger, in as ZodLocalStorage, jt as moveToEndOfEditor, k as AccordionTrigger, kn as Trash2, ln as CellOutputId, m as PopoverContent, n as blobToString, nt as notebookAtom, o as MarkdownRenderer, qt as getTableType, t as processOutput, w as AIContextProvider, x as Boosts, xt as displayCellName, y as DatasourceContextProvider, zt as variablesAtom } from "./process-output-
|
|
8
|
+
import { $t as singleFacet, A as MarimoIncomingMessageEvent, Bt as PluralWord, C as contextToXml, D as AccordionContent, E as Accordion, Fn as Info, Gt as allTablesAtom, I as ChatBubbleIcon, In as File$1, Kt as dataSourceConnectionsAtom, Nn as LoaderCircle, O as AccordionItem, On as Wrench, Ot as createVariableInfoElement, Q as cellErrorsAtom, Rt as jotaiJsonStorage, S as Sections, Sn as Anchor2, T as AIContextRegistry, U as deserializeBlob, Vn as CircleX, W as base64ToDataURL, Yt as getRequestClient, Z as renderHTML, a as toPng, bn as atomWithStorage, d as Spinner, f as Popover, g as isOutputEmpty, h as PopoverTrigger, in as ZodLocalStorage, jt as moveToEndOfEditor, k as AccordionTrigger, kn as Trash2, ln as CellOutputId, m as PopoverContent, n as blobToString, nt as notebookAtom, o as MarkdownRenderer, qt as getTableType, t as processOutput, w as AIContextProvider, x as Boosts, xt as displayCellName, y as DatasourceContextProvider, zt as variablesAtom } from "./process-output-Dw_U2LSR.js";
|
|
9
9
|
import "./chunk-5FQGJX7Z-C428iZBW.js";
|
|
10
10
|
import { u as createLucideIcon } from "./dist-D56NKWim.js";
|
|
11
11
|
import { C as logNever, I as X, n as Strings, t as Label } from "./label-CIR53v8V.js";
|
|
@@ -29,7 +29,7 @@ import "./dist-Ci0CXEFt.js";
|
|
|
29
29
|
import "./dist-DJ9F1eHs.js";
|
|
30
30
|
import "./dist-DAfcmt-d.js";
|
|
31
31
|
import "./purify.es-hTCfRGdl.js";
|
|
32
|
-
import { t as useAsyncData } from "./useAsyncData-
|
|
32
|
+
import { t as useAsyncData } from "./useAsyncData-BG3ULuDU.js";
|
|
33
33
|
var BotMessageSquare = createLucideIcon("bot-message-square", [
|
|
34
34
|
["path", {
|
|
35
35
|
d: "M12 6V2H8",
|
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-BRF7ryOP.js";
|
|
24
|
-
import { $ as createActions, A as MarimoIncomingMessageEvent, An as Table2, At as Paths, B as DotFilledIcon, Bn as Columns2, Bt as PluralWord, Cn as Close$1, Ct as isInternalCellName, D as AccordionContent, Dn as Trigger2, Dt as MarkdownLanguageAdapter, E as Accordion, En as Root2$4, Et as customPythonLanguageSupport, F as BorderAllIcon, Fn as Info, Ft as useChromeActions, G as base64ToDataView, Gn as import_lib, H as PinRightIcon, Hn as CircleAlert, Ht as DATA_TYPE_ICON, In as File, It as repl, J as extractBase64FromDataURL, Jt as convertStatsName, K as base64ToUint8Array, L as CheckIcon, Ln as FileText, Lt as adaptForLocalStorage, M as MarimoValueReadyEvent, Mn as NotebookPen, Mt as goToCellLine, N as MarimoValueUpdateEvent, Nn as LoaderCircle, Nt as DeferredRequestRegistry, O as AccordionItem, On as Wrench, P as createInputEvent, Pn as Layers, Pt as generateUUID, Qt as isUninstantiated, R as ChevronDownIcon, Rn as Eye, Rt as jotaiJsonStorage, St as getValidName, Tn as Item$1, Tt as Checkbox, U as deserializeBlob, Un as Braces, Ut as getDataTypeColor, V as PinLeftIcon, Vn as CircleX, Vt as PluralWords, Wn as esm_default$1, Wt as require_client, X as safeExtractSetUIElementMessageBuffers, Xt as requestClientAtom, Y as isDataURLString, Yt as getRequestClient, Z as renderHTML, Zt as useRequestClient, _ as useExpandedConsoleOutput, _n as jsonToMarkdown, _t as headingToIdentifier, a as toPng, an as filenameAtom, at as useCellActions, b as getDatasourceContext, bn as atomWithStorage, bt as getCellDomProps, c as useCellFocusActions, cn as parseInitialValue, ct as createCell, d as Spinner, dn as SCRATCH_CELL_ID, dt as initialModeAtom, en as elementContainsMarimoCellFile, et as getCellEditorView, f as Popover$1, fn as UIElementId, ft as kioskModeAtom, g as isOutputEmpty, gn as jsonParseWithSpecialChar, gt as isErrorMime, h as PopoverTrigger, hn as RANDOM_ID_ATTR, ht as outputIsStale, i as PythonIcon, it as reducer, j as MarimoValueInputEvent, jn as PaintRoller, k as AccordionTrigger, kn as Trash2, kt as PathBuilder, l as useLastFocusedCellId, ln as CellOutputId, lt as AnsiUp, m as PopoverContent, mn as OBJECT_ID_ATTR, mt as outputIsLoading, n as blobToString, nn as getTracebackInfo, nt as notebookAtom, o as MarkdownRenderer, on as parseAttrValue, ot as useCellIds, p as PopoverClose$1, pn as findCellId, pt as viewStateAtom, q as dataViewToBase64, r as filesToBase64, rn as NotebookScopedLocalStorage, rt as notebookOutline, s as LazyAnyLanguageCodeMirror, sn as parseDataset, st as useCellNames, t as processOutput, tn as extractAllTracebackInfo, tt as getCellNames, u as maybeAddAltairImport, un as HTMLCellId, ut as getInitialAppMode, v as useExpandedOutput, vn as jsonToTSV, vt as sanitizeHtml, wn as Content2$1, wt as normalizeName, xn as selectAtom, xt as displayCellName, yn as atomWithReducer, yt as DATA_CELL_ID, z as ChevronRightIcon, zn as Database, __tla as __tla_0 } from "./process-output-
|
|
24
|
+
import { $ as createActions, A as MarimoIncomingMessageEvent, An as Table2, At as Paths, B as DotFilledIcon, Bn as Columns2, Bt as PluralWord, Cn as Close$1, Ct as isInternalCellName, D as AccordionContent, Dn as Trigger2, Dt as MarkdownLanguageAdapter, E as Accordion, En as Root2$4, Et as customPythonLanguageSupport, F as BorderAllIcon, Fn as Info, Ft as useChromeActions, G as base64ToDataView, Gn as import_lib, H as PinRightIcon, Hn as CircleAlert, Ht as DATA_TYPE_ICON, In as File, It as repl, J as extractBase64FromDataURL, Jt as convertStatsName, K as base64ToUint8Array, L as CheckIcon, Ln as FileText, Lt as adaptForLocalStorage, M as MarimoValueReadyEvent, Mn as NotebookPen, Mt as goToCellLine, N as MarimoValueUpdateEvent, Nn as LoaderCircle, Nt as DeferredRequestRegistry, O as AccordionItem, On as Wrench, P as createInputEvent, Pn as Layers, Pt as generateUUID, Qt as isUninstantiated, R as ChevronDownIcon, Rn as Eye, Rt as jotaiJsonStorage, St as getValidName, Tn as Item$1, Tt as Checkbox, U as deserializeBlob, Un as Braces, Ut as getDataTypeColor, V as PinLeftIcon, Vn as CircleX, Vt as PluralWords, Wn as esm_default$1, Wt as require_client, X as safeExtractSetUIElementMessageBuffers, Xt as requestClientAtom, Y as isDataURLString, Yt as getRequestClient, Z as renderHTML, Zt as useRequestClient, _ as useExpandedConsoleOutput, _n as jsonToMarkdown, _t as headingToIdentifier, a as toPng, an as filenameAtom, at as useCellActions, b as getDatasourceContext, bn as atomWithStorage, bt as getCellDomProps, c as useCellFocusActions, cn as parseInitialValue, ct as createCell, d as Spinner, dn as SCRATCH_CELL_ID, dt as initialModeAtom, en as elementContainsMarimoCellFile, et as getCellEditorView, f as Popover$1, fn as UIElementId, ft as kioskModeAtom, g as isOutputEmpty, gn as jsonParseWithSpecialChar, gt as isErrorMime, h as PopoverTrigger, hn as RANDOM_ID_ATTR, ht as outputIsStale, i as PythonIcon, it as reducer, j as MarimoValueInputEvent, jn as PaintRoller, k as AccordionTrigger, kn as Trash2, kt as PathBuilder, l as useLastFocusedCellId, ln as CellOutputId, lt as AnsiUp, m as PopoverContent, mn as OBJECT_ID_ATTR, mt as outputIsLoading, n as blobToString, nn as getTracebackInfo, nt as notebookAtom, o as MarkdownRenderer, on as parseAttrValue, ot as useCellIds, p as PopoverClose$1, pn as findCellId, pt as viewStateAtom, q as dataViewToBase64, r as filesToBase64, rn as NotebookScopedLocalStorage, rt as notebookOutline, s as LazyAnyLanguageCodeMirror, sn as parseDataset, st as useCellNames, t as processOutput, tn as extractAllTracebackInfo, tt as getCellNames, u as maybeAddAltairImport, un as HTMLCellId, ut as getInitialAppMode, v as useExpandedOutput, vn as jsonToTSV, vt as sanitizeHtml, wn as Content2$1, wt as normalizeName, xn as selectAtom, xt as displayCellName, yn as atomWithReducer, yt as DATA_CELL_ID, z as ChevronRightIcon, zn as Database, __tla as __tla_0 } from "./process-output-Dw_U2LSR.js";
|
|
25
25
|
import { __tla as __tla_1 } from "./chunk-5FQGJX7Z-C428iZBW.js";
|
|
26
26
|
import { o as useSize, s as Root$4, u as createLucideIcon } from "./dist-D56NKWim.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-ByDEU1T3.js";
|
|
@@ -61,7 +61,7 @@ import { n as memoize$1, t as isPropValid } from "./emotion-is-prop-valid.esm-CJ
|
|
|
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-BG3ULuDU.js";
|
|
65
65
|
import "./defaultLocale-qS7DaAmi.js";
|
|
66
66
|
import "./defaultLocale-Bxoo2-30.js";
|
|
67
67
|
import "./dist-CcMfr7jD.js";
|
|
@@ -37125,7 +37125,7 @@ ${E}`,
|
|
|
37125
37125
|
};
|
|
37126
37126
|
}
|
|
37127
37127
|
};
|
|
37128
|
-
var LazyChatbot = import_react.lazy(() => import("./chat-ui-
|
|
37128
|
+
var LazyChatbot = import_react.lazy(() => import("./chat-ui-YuHt7jfw.js").then((e) => ({
|
|
37129
37129
|
default: e.Chatbot
|
|
37130
37130
|
}))), messageSchema = array(object({
|
|
37131
37131
|
id: string(),
|
|
@@ -46225,7 +46225,7 @@ ${c}
|
|
|
46225
46225
|
}, b9 = [
|
|
46226
46226
|
v9
|
|
46227
46227
|
], r[65] = v9, r[66] = y9, r[67] = b9), (0, import_react.useEffect)(y9, b9), c9) {
|
|
46228
|
-
let c2 = e.totalRows !== "too_many" && e.totalRows > 0 ? e.totalRows : e.pageSize, d2;
|
|
46228
|
+
let c2 = e.totalRows !== "too_many" && e.totalRows > 0 ? Math.min(e.totalRows, e.pageSize) : e.pageSize, d2;
|
|
46229
46229
|
return r[68] === c2 ? d2 = r[69] : (d2 = (0, import_jsx_runtime.jsx)(DelayMount, {
|
|
46230
46230
|
milliseconds: 200,
|
|
46231
46231
|
children: (0, import_jsx_runtime.jsx)(LoadingTable, {
|
|
@@ -47402,7 +47402,7 @@ ${c}
|
|
|
47402
47402
|
fullWidth: v,
|
|
47403
47403
|
children: z
|
|
47404
47404
|
}), r[19] = v, r[20] = y, r[21] = c, r[22] = z, r[23] = G) : G = r[23], G;
|
|
47405
|
-
}, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-
|
|
47405
|
+
}, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-D08JKcQg.js"));
|
|
47406
47406
|
const DataExplorerPlugin = createPlugin("marimo-data-explorer").withData(object({
|
|
47407
47407
|
label: string().nullish(),
|
|
47408
47408
|
data: string()
|
|
@@ -58611,7 +58611,7 @@ ${c}
|
|
|
58611
58611
|
return true;
|
|
58612
58612
|
}
|
|
58613
58613
|
}
|
|
58614
|
-
var LazyVegaComponent = import_react.lazy(() => import("./vega-component-
|
|
58614
|
+
var LazyVegaComponent = import_react.lazy(() => import("./vega-component-DCmC_rsk.js")), VegaPlugin = class {
|
|
58615
58615
|
constructor() {
|
|
58616
58616
|
__publicField(this, "tagName", "marimo-vega");
|
|
58617
58617
|
__publicField(this, "validator", object({
|
|
@@ -58934,7 +58934,7 @@ ${c}
|
|
|
58934
58934
|
diagram: e.data.diagram
|
|
58935
58935
|
});
|
|
58936
58936
|
}
|
|
58937
|
-
}, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-
|
|
58937
|
+
}, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-BZ2YHhbi.js").then(async (m2) => {
|
|
58938
58938
|
await m2.__tla;
|
|
58939
58939
|
return m2;
|
|
58940
58940
|
})), import_compiler_runtime$18 = require_compiler_runtime();
|
|
@@ -65633,7 +65633,7 @@ ${c}
|
|
|
65633
65633
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
65634
65634
|
}
|
|
65635
65635
|
}
|
|
65636
|
-
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.22.5-
|
|
65636
|
+
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.22.5-dev19"), showCodeInRunModeAtom = atom(true);
|
|
65637
65637
|
atom(null);
|
|
65638
65638
|
var VIRTUAL_FILE_REGEX = /\/@file\/([^\s"&'/]+)\.([\dA-Za-z]+)/g, VirtualFileTracker = class e {
|
|
65639
65639
|
constructor() {
|
|
@@ -9,7 +9,7 @@ import { n as ErrorBanner } from "./error-banner-DexD-5js.js";
|
|
|
9
9
|
import { t as isEmpty_default } from "./isEmpty-B7FX9wKt.js";
|
|
10
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-BG3ULuDU.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";
|