@marimo-team/islands 0.23.14-dev56 → 0.23.14-dev59
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/{code-visibility-D7wWXyyp.js → code-visibility-ChrxMIRR.js} +28 -28
- package/dist/main.js +1920 -1619
- package/dist/{reveal-component-bWXDKgVc.js → reveal-component-BLijd8xt.js} +1 -1
- package/package.json +2 -2
- package/src/core/islands/bootstrap.ts +3 -3
- package/src/core/websocket/useMarimoKernelConnection.tsx +3 -3
- package/src/mount.tsx +3 -3
- package/src/plugins/impl/anywidget/AnyWidgetPlugin.tsx +33 -305
- package/src/plugins/impl/anywidget/__tests__/AnyWidgetPlugin.test.tsx +121 -229
- package/src/plugins/impl/anywidget/__tests__/host.test.ts +313 -0
- package/src/plugins/impl/anywidget/__tests__/model-proxy.test.ts +158 -0
- package/src/plugins/impl/anywidget/__tests__/model.test.ts +8 -177
- package/src/plugins/impl/anywidget/__tests__/registry.test.ts +708 -0
- package/src/plugins/impl/anywidget/__tests__/resolve-widget.test.ts +132 -0
- package/src/plugins/impl/anywidget/__tests__/widget-binding.test.ts +305 -133
- package/src/plugins/impl/anywidget/__tests__/widget-ref.test.ts +28 -0
- package/src/plugins/impl/anywidget/host.ts +54 -0
- package/src/plugins/impl/anywidget/model-proxy.ts +70 -0
- package/src/plugins/impl/anywidget/model.ts +59 -239
- package/src/plugins/impl/anywidget/registry.ts +268 -0
- package/src/plugins/impl/anywidget/resolve-widget.ts +138 -0
- package/src/plugins/impl/anywidget/runtime.ts +408 -0
- package/src/plugins/impl/anywidget/types.ts +14 -0
- package/src/plugins/impl/anywidget/widget-binding.ts +280 -119
- package/src/plugins/impl/anywidget/widget-ref.ts +29 -0
- package/src/plugins/impl/mpl-interactive/MplInteractivePlugin.tsx +3 -2
- package/src/plugins/impl/mpl-interactive/__tests__/MplInteractivePlugin.test.tsx +16 -13
- package/src/plugins/impl/mpl-interactive/mpl-websocket-shim.ts +1 -1
- package/src/plugins/impl/anywidget/schemas.ts +0 -32
|
@@ -35,7 +35,7 @@ import { n as formats } from "./vega-loader.browser-CZ-J8Py3.js";
|
|
|
35
35
|
import { a as getContainerWidth, n as vegaLoadData, r as createBatchedLoader, s as tooltipHandler, t as parseCsvData } from "./loader-Boph2xIS.js";
|
|
36
36
|
import { t as useIframeCapabilities } from "./useIframeCapabilities-DWIYvDh7.js";
|
|
37
37
|
import { t as useAsyncData } from "./useAsyncData-KfHB8wQR.js";
|
|
38
|
-
let PANEL_TYPES,
|
|
38
|
+
let PANEL_TYPES, hasFunctionProperty, prettifyRowCount, INDEX_COLUMN_NAME, CompactChipRow, Tabs, downloadSizeLimitAtom, ColumnChartSpecModel, ErrorState, getPageIndexForRow, EmptyState, usePrevious, ContextMenuItem, isNullishFilter, Command, ChartInfoState, DateRangePicker, TabsList, ContextMenuSeparator, Maps, CommandItem, useOverflowDetection, CommandEmpty, ChartLoadingState, ContextMenuTrigger, dateToLocalISODate, getUserColumnVisibilityCounts, TOO_MANY_ROWS, ContextMenu, toFieldTypes, LoadingState, loadTableAndRawData, ContextMenuContent, getMimeValues, ContextAwarePanelItem, EmotionCacheProvider, useInternalStateWithSync, dateToLocalISODateTime, Filenames, ColumnChartContext, ColumnPreviewContainer, useIntersectionObserver, Combobox, TabsTrigger, DatePicker, TabsContent, ComboboxItem, ChartErrorState, CommandSeparator, Kbd, CommandList, RenderTextWithLinks, smartMatch, HtmlOutput, ADD_PRINTING_CLASS, TableRow, DEFAULT_SLIDE_TYPE, Funnel, slotsController, downloadHTMLAsImage, inferFieldTypes, Slide, Ellipsis, PanelGroup, RadioGroupItem, ChevronsUpDown, Provider$1, isRecord, contextAwarePanelOpen, JsonOutput, ChevronsRight, Table, InstallPackageButton, ArrowDownWideNarrow, TableHeader, DataTable, ChevronLeft, TableHead, DEFAULT_DECK_TRANSITION, GripHorizontal, SlotNames, getColumnCountForDisplay, SELECT_COLUMN_ID, prettifyRowColumnCount, loadTableData, Switch, Download, PanelResizeHandle, OutputRenderer, ChevronsDownUp, TableCell, marimoVersionAtom, $fae977aafc393c5c$export$6b862160d295c8e, contextAwarePanelType, SLIDE_TYPE_OPTIONS_BY_VALUE, EyeOff, Toggle, OutputArea, ChevronsLeft, TableBody, CommandInput, LazyVegaEmbed, showCodeInRunModeAtom, TextWrap, isCellAwareAtom, SlideSidebar, Expand, Panel, useNotebookCodeAvailable, $fae977aafc393c5c$export$588937bcd60ade55, contextAwarePanelOwner, RadioGroup, Code, Fill, downloadBlob, NAMELESS_COLUMN_PREFIX, ColumnName, DelayMount, Progress, renderCellValue, downloadByURL, generateColumns, useSelectList, dateToLocalISOTime;
|
|
39
39
|
let __tla = Promise.all([
|
|
40
40
|
(() => {
|
|
41
41
|
try {
|
|
@@ -10227,6 +10227,12 @@ Defaulting to \`null\`.`;
|
|
|
10227
10227
|
function isMatch(e, t, n) {
|
|
10228
10228
|
return isValid(parse$1(e, t, /* @__PURE__ */ new Date(), n));
|
|
10229
10229
|
}
|
|
10230
|
+
isRecord = function(e) {
|
|
10231
|
+
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
10232
|
+
};
|
|
10233
|
+
hasFunctionProperty = function(e, t) {
|
|
10234
|
+
return typeof e[t] == "function";
|
|
10235
|
+
};
|
|
10230
10236
|
(0, import_react.createContext)(null), (0, import_react.createContext)(null), (0, import_react.createContext)(null), (0, import_react.createContext)(null), (0, import_react.createContext)(null);
|
|
10231
10237
|
var $4e85f108e88277b8$export$d688439359537581 = (0, import_react.createContext)({});
|
|
10232
10238
|
(0, import_react.createContext)(null), (0, import_react.createContext)(null);
|
|
@@ -21406,12 +21412,6 @@ ${n}` : "Please fix this error.";
|
|
|
21406
21412
|
is_null: "Is null",
|
|
21407
21413
|
is_not_null: "Is not null"
|
|
21408
21414
|
};
|
|
21409
|
-
isRecord = function(e) {
|
|
21410
|
-
return typeof e == "object" && !!e && !Array.isArray(e);
|
|
21411
|
-
};
|
|
21412
|
-
hasFunctionProperty = function(e, t) {
|
|
21413
|
-
return typeof e[t] == "function";
|
|
21414
|
-
};
|
|
21415
21415
|
var import_compiler_runtime$47 = require_compiler_runtime();
|
|
21416
21416
|
const MimeCell = (e) => {
|
|
21417
21417
|
let t = (0, import_compiler_runtime$47.c)(6), { value: n } = e, i;
|
|
@@ -36209,7 +36209,7 @@ ${d}`,
|
|
|
36209
36209
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
36210
36210
|
}
|
|
36211
36211
|
}
|
|
36212
|
-
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.14-
|
|
36212
|
+
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.14-dev59");
|
|
36213
36213
|
showCodeInRunModeAtom = atom(true);
|
|
36214
36214
|
atom(null);
|
|
36215
36215
|
var import_compiler_runtime = require_compiler_runtime();
|
|
@@ -36238,11 +36238,11 @@ ${d}`,
|
|
|
36238
36238
|
});
|
|
36239
36239
|
export {
|
|
36240
36240
|
PANEL_TYPES as $,
|
|
36241
|
-
|
|
36241
|
+
hasFunctionProperty as $t,
|
|
36242
36242
|
prettifyRowCount as A,
|
|
36243
36243
|
INDEX_COLUMN_NAME as At,
|
|
36244
36244
|
CompactChipRow as B,
|
|
36245
|
-
|
|
36245
|
+
Tabs as Bt,
|
|
36246
36246
|
downloadSizeLimitAtom as C,
|
|
36247
36247
|
ColumnChartSpecModel as Ct,
|
|
36248
36248
|
ErrorState as D,
|
|
@@ -36250,19 +36250,19 @@ export {
|
|
|
36250
36250
|
EmptyState as E,
|
|
36251
36251
|
usePrevious as Et,
|
|
36252
36252
|
ContextMenuItem as F,
|
|
36253
|
-
|
|
36253
|
+
isNullishFilter as Ft,
|
|
36254
36254
|
Command as G,
|
|
36255
|
-
|
|
36255
|
+
ChartInfoState as Gt,
|
|
36256
36256
|
DateRangePicker as H,
|
|
36257
|
-
|
|
36257
|
+
TabsList as Ht,
|
|
36258
36258
|
ContextMenuSeparator as I,
|
|
36259
|
-
|
|
36259
|
+
Maps as It,
|
|
36260
36260
|
CommandItem as J,
|
|
36261
|
-
|
|
36261
|
+
useOverflowDetection as Jt,
|
|
36262
36262
|
CommandEmpty as K,
|
|
36263
|
-
|
|
36263
|
+
ChartLoadingState as Kt,
|
|
36264
36264
|
ContextMenuTrigger as L,
|
|
36265
|
-
|
|
36265
|
+
dateToLocalISODate as Lt,
|
|
36266
36266
|
getUserColumnVisibilityCounts as M,
|
|
36267
36267
|
TOO_MANY_ROWS as Mt,
|
|
36268
36268
|
ContextMenu as N,
|
|
@@ -36272,25 +36272,25 @@ export {
|
|
|
36272
36272
|
ContextMenuContent as P,
|
|
36273
36273
|
getMimeValues as Pt,
|
|
36274
36274
|
ContextAwarePanelItem as Q,
|
|
36275
|
-
|
|
36275
|
+
EmotionCacheProvider as Qt,
|
|
36276
36276
|
useInternalStateWithSync as R,
|
|
36277
|
-
|
|
36277
|
+
dateToLocalISODateTime as Rt,
|
|
36278
36278
|
Filenames as S,
|
|
36279
36279
|
ColumnChartContext as St,
|
|
36280
36280
|
ColumnPreviewContainer as T,
|
|
36281
36281
|
useIntersectionObserver as Tt,
|
|
36282
36282
|
Combobox as U,
|
|
36283
|
-
|
|
36283
|
+
TabsTrigger as Ut,
|
|
36284
36284
|
DatePicker as V,
|
|
36285
|
-
|
|
36285
|
+
TabsContent as Vt,
|
|
36286
36286
|
ComboboxItem as W,
|
|
36287
|
-
|
|
36287
|
+
ChartErrorState as Wt,
|
|
36288
36288
|
CommandSeparator as X,
|
|
36289
|
-
|
|
36289
|
+
Kbd as Xt,
|
|
36290
36290
|
CommandList as Y,
|
|
36291
|
-
|
|
36291
|
+
RenderTextWithLinks as Yt,
|
|
36292
36292
|
smartMatch as Z,
|
|
36293
|
-
|
|
36293
|
+
HtmlOutput as Zt,
|
|
36294
36294
|
ADD_PRINTING_CLASS as _,
|
|
36295
36295
|
__tla,
|
|
36296
36296
|
TableRow as _t,
|
|
@@ -36305,7 +36305,7 @@ export {
|
|
|
36305
36305
|
RadioGroupItem as d,
|
|
36306
36306
|
ChevronsUpDown as dn,
|
|
36307
36307
|
Provider$1 as dt,
|
|
36308
|
-
|
|
36308
|
+
isRecord as en,
|
|
36309
36309
|
contextAwarePanelOpen as et,
|
|
36310
36310
|
JsonOutput as f,
|
|
36311
36311
|
ChevronsRight as fn,
|
|
@@ -36339,7 +36339,7 @@ export {
|
|
|
36339
36339
|
ChevronsLeft as pn,
|
|
36340
36340
|
TableBody as pt,
|
|
36341
36341
|
CommandInput as q,
|
|
36342
|
-
|
|
36342
|
+
LazyVegaEmbed as qt,
|
|
36343
36343
|
showCodeInRunModeAtom as r,
|
|
36344
36344
|
TextWrap as rn,
|
|
36345
36345
|
isCellAwareAtom as rt,
|
|
@@ -36361,5 +36361,5 @@ export {
|
|
|
36361
36361
|
downloadByURL as y,
|
|
36362
36362
|
generateColumns as yt,
|
|
36363
36363
|
useSelectList as z,
|
|
36364
|
-
|
|
36364
|
+
dateToLocalISOTime as zt
|
|
36365
36365
|
};
|