@marimo-team/islands 0.20.5-dev23 → 0.20.5-dev25
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/{Combination-DPrRlMyq.js → Combination-Dk6JxauT.js} +1 -1
- package/dist/{ConnectedDataExplorerComponent-Bp9TusI-.js → ConnectedDataExplorerComponent-jj3D9AQT.js} +10 -10
- package/dist/{any-language-editor-BGcQxkAL.js → any-language-editor-BIj11a2e.js} +4 -4
- package/dist/{button-BJaX_M34.js → button-DQpBib29.js} +17 -9
- package/dist/{check-C9c-GtvX.js → check-DpqPQmzz.js} +1 -1
- package/dist/{copy-DhB8Zxuz.js → copy-BkBF0Xgk.js} +2 -2
- package/dist/{dist-DpeHj-vP.js → dist-WIWVvdBh.js} +2 -2
- package/dist/{error-banner-CJWv_j2x.js → error-banner-BctofTCP.js} +2 -2
- package/dist/{esm-DxAOF89q.js → esm-BBkPJL8N.js} +4 -4
- package/dist/{glide-data-editor-C2dhh3XY.js → glide-data-editor-B03jwvVe.js} +6 -6
- package/dist/{label-kL_UbziI.js → label-D036zdVU.js} +4 -4
- package/dist/{loader-C6xHQhFz.js → loader-C62dRCuy.js} +1 -1
- package/dist/main.js +128 -40
- package/dist/{mermaid-CzRLRASw.js → mermaid-BgeZPIms.js} +5 -5
- package/dist/{slides-component-D9AVSv2B.js → slides-component-DwvL_HJi.js} +2 -2
- package/dist/{spec-CXpiliig.js → spec-BI4Eyctn.js} +4 -4
- package/dist/{tooltip-CRsmtPeF.js → tooltip-SPkubVH3.js} +3 -3
- package/dist/{types-ChPKdlru.js → types-DqFw5XXR.js} +6 -6
- package/dist/{useAsyncData-CHYjZCox.js → useAsyncData-Ioeh75f8.js} +1 -1
- package/dist/{useDeepCompareMemoize-C1YH9SDF.js → useDeepCompareMemoize-DtbTAJq3.js} +4 -4
- package/dist/{useIframeCapabilities-Cc4UBysp.js → useIframeCapabilities-DFGZKWkO.js} +1 -1
- package/dist/{useTheme-B-ZI3PUl.js → useTheme-OvBNH9t3.js} +2 -2
- package/dist/{vega-component-BX_oDKB3.js → vega-component-B_4Lp3hK.js} +8 -8
- package/package.json +1 -1
- package/src/components/editor/actions/types.ts +6 -1
- package/src/components/editor/actions/useNotebookActions.tsx +16 -11
- package/src/components/editor/chrome/types.ts +17 -0
- package/src/components/editor/controls/command-palette.tsx +7 -0
- package/src/components/ui/command.tsx +2 -0
- package/src/core/hotkeys/hotkeys.ts +11 -1
- package/src/utils/__tests__/smartMatch.test.ts +61 -0
- package/src/utils/smartMatch.ts +62 -0
package/dist/main.js
CHANGED
|
@@ -20,21 +20,21 @@ var __privateWrapper = (obj, member, setter, getter) => ({
|
|
|
20
20
|
import { a as __toCommonJS, n as __esmMin, o as __toDynamicImportESM, r as __export$1, 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-
|
|
23
|
+
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-BkBF0Xgk.js";
|
|
24
24
|
import { _ as require_cjs$1, c as markdownLineEnding, d as SKIP, f as visitParents, g as s$2, h as h$1, l as longestStreak, m as webNamespaces, o as xn$1, p as convert$1, s as factorySpace, u as ok, __tla as __tla_0 } from "./chunk-5FQGJX7Z-BkzUmppO.js";
|
|
25
|
-
import { a as Content$3, c as useSize, i as Arrow, l as createLucideIcon, o as Root2$6, r as Anchor, s as createPopperScope, t as Root$5 } from "./dist-
|
|
26
|
-
import { A as useOnMount, B as Table$1, C as DEFAULT_COLOR_SCHEME, D as SCALE_TYPE_DESCRIPTIONS, E as EMPTY_VALUE$1, F as $896ba0a80a8f4d36$export$85fd5fdf27bacc79, G as ChartColumn, H as ListFilter, I as $fb18d541ea1ad717$export$ad991b66133851cf, K as Calendar, L as $5a387cc49350e6db$export$722debc0e56fea39, M as Badge, N as createReducerAndAtoms, O as TIME_UNIT_DESCRIPTIONS, P as startCase_default, R as Type, S as DEFAULT_AGGREGATION, T as DEFAULT_TIME_UNIT, U as Hash, V as SquareFunction, W as ChartPie, _ 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 useOnUnmount, 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, z as ToggleLeft } from "./spec-
|
|
27
|
-
import { t as Check } from "./check-
|
|
28
|
-
import { A as $a916eb452884faea$export$b7a616150fdb9f44, C as useDirection, D as assertNever, E as usePrevious$1, I as X, M as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, N as $18f2051aff69b9bf$export$a54013f0d02a8f82, O as logNever, P as $b5e257d569688ac6$export$535bd6ca7f90a273, R as ChevronDown, S as Trigger$5, T as clamp$2, _ as menuItemVariants, a as SelectGroup, b as menuSubTriggerVariants, c as SelectSeparator, d as NativeSelect, f as selectStyles, g as menuControlVariants, h as menuControlCheckVariants, i as SelectContent, l as SelectTrigger, m as menuContentCommon, n as Primitive$1, o as SelectItem, p as MENU_ITEM_DISABLED, r as Select, s as SelectLabel, t as Label, u as SelectValue, v as menuLabelVariants, w as createCollection, x as Icon, y as menuSeparatorVariants } from "./label-
|
|
29
|
-
import { $ as $d2b4bc8c273e7be6$export$24d547caef80ccd1, $t as $7215afc6de606d6b$export$de79e2c695e052f3, A as Portal$2, At as $fca6afa0e843324b$export$f12b703ca79dfbb1, B as Root$6, Bt as $9446cca9a3875146$export$7d15b64cf5a3a4c4, C as Arrow2, Ct as $e5be200c675c3b3a$export$dad6ae84456c676a, D as Item2$2, Dt as $701a24aa0da5b062$export$ea18c227d4417cc3, E as Group$1, Et as $f7dceffc5ad7768b$export$4e328f61c538687f, F as Sub, Ft as $3ad3f6e1647bc98d$export$80f3e147d781571c, G as $3985021b0ad6602f$export$f5b8910cec6cf069, Gt as $e9faafb641e167db$export$90fc3a17d93f704c, H as ErrorBoundary, Ht as $b4b717babfbb907b$export$4c063cf1350e6fed, I as SubContent, It as $507fabe10e71c6fb$export$630ff653c5ada6a9, J as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Jt as $c87311424ea30a05$export$6446a186d09e379e, K as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Kt as $df56164dff5785e2$export$4338b53315abf666, L as SubTrigger, Lt as $f6c31cce2adf654f$export$45712eceda6fad21, M as RadioItem, Mt as $5b160d28a433310d$export$c17fa47878dc55b6, N as Root3, Nt as $6179b936705e76d3$export$ae780daf29e6d456, O as ItemIndicator, Ot as $6c7bd7858deea686$export$cd11ab140839f11d, P as Separator, Pt as $9ab94262bd0047c7$export$420e68273165f4ec, Q as $514c0188e459b4c0$export$9afb8bc826b033ea, Qt as $c87311424ea30a05$export$fedb369cb70207f1, R as createMenuScope, Rt as _class_private_field_init, S as Anchor2, St as $e5be200c675c3b3a$export$aca958c65c314e6c, T as Content2$3, Tt as $319e236875307eab$export$a9b970dcc4ae71a9, U as require_prop_types, Ut as $b4b717babfbb907b$export$bebd5a1431fec25d, V as createRovingFocusGroupScope, Vt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, W as $3985021b0ad6602f$export$37fb8590cf2c088c, Wt as $99facab73266f662$export$5add1d006293d136, X as $ee014567cb39d3f0$export$ff05c3ac10437e03, Xt as $c87311424ea30a05$export$9ac100e40613ea10, Y as $ee014567cb39d3f0$export$f551688fc98f2e09, Yt as $c87311424ea30a05$export$78551043582a6a98, Z as $514c0188e459b4c0$export$5f1af8db9871e1d6, Zt as $c87311424ea30a05$export$a11b0059900ceec8, _ as DropdownMenuSeparator, _n as Circle, _t as $d2e8511e6f209edf$export$e908e06f4b8e3402, a as OnBlurredInput, an as $f4e2df6bd15f8569$export$98658e8c59125e6a, at as $64fa3d84918910a7$export$29f1550f4b0d4415, b as DropdownMenuSubTrigger, bt as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, c as prettyEngineeringNumber, cn as $ff5963eb1fccf552$export$e08e3b67e392101e, ct as $64fa3d84918910a7$export$c245e6201fed2f75, d as DropdownMenu, dn as $8ae05eaa5c114e9c$export$7f54fc3180508a52, dt as $64fa3d84918910a7$export$fabf2dc03a41866e, en as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, et as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, f as DropdownMenuContent, fn as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, ft as useNonce, g as DropdownMenuPortal, gn as Pencil, gt as capitalize_default, h as DropdownMenuLabel, hn as Plus, ht as useDebouncedCallback, i as Input, in as $d4ee10de306f2510$export$e58f029f0fbfdb29, it as $64fa3d84918910a7$export$2881499e37b75b9a, j as RadioGroup$2, jt as $6db58dc88e78b024$export$2f817fcdc4b89ae0, k as Label$2, kt as $fca6afa0e843324b$export$87b761675e8eaa10, l as prettyNumber, ln as $bdb11010cef70236$export$b4cc09c592e8fdb8, lt as $64fa3d84918910a7$export$c62b8e45d58ddad9, m as DropdownMenuItem, mn as Search, mt as useDebounceControlledState, n as DebouncedInput, nn as $d4ee10de306f2510$export$4282f70798064fe0, nt as $01b77f81d0f07f68$export$b04be29aa201d4f5, o as NumberField, on as $431fbd86ca7dc216$export$b204af158042fbac, ot as $64fa3d84918910a7$export$4d86445c2cf5e3, p as DropdownMenuGroup, pn as Trash, pt as marked, q as $a049562f99e7db0e$export$f9c6924e160136d1, qt as $313b98861ee5dd6c$export$d6875122194c7b44, r as DebouncedNumberInput, rn as $d4ee10de306f2510$export$cd4e5573fbe2b576, rt as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, s as maxFractionalDigits, sn as $431fbd86ca7dc216$export$f21a1ffae260145a, st as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, t as BulkEdit, tn as $3ef42575df84b30b$export$9d1611c77c2fe928, tt as $01b77f81d0f07f68$export$75b6ee27786ba447, u as prettyScientificNumber, un as $bdb11010cef70236$export$f680877a34711e37, ut as $64fa3d84918910a7$export$ef03459518577ad4, v as DropdownMenuSub, vn as ChevronRight, vt as $2baaea4c71418dea$export$294aa081a6c6f55d, w as CheckboxItem, wt as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, x as DropdownMenuTrigger, xt as $e5be200c675c3b3a$export$a763b9476acd3eb, y as DropdownMenuSubContent, yt as $e93e671b31057976$export$b8473d3665f3a75a, z as Item$2, zt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5 } from "./types-
|
|
30
|
-
import { S as CircleQuestionMark, _ as isUrl, a as AlertTitle, b as Deferred, c as constructFrom, d as millisecondsInMinute, f as millisecondsInSecond, g as appendQueryParams, h as getRuntimeManager, i as AlertDescription, l as millisecondsInDay, m as asRemoteURL, n as arrow, o as isValid$1, p as millisecondsInWeek, r as Alert, s as toDate, t as useDeepCompareMemoize, u as millisecondsInHour, v as require_cuid2, x as isWasm, y as waitForConnectionOpen } from "./useDeepCompareMemoize-
|
|
25
|
+
import { a as Content$3, c as useSize, i as Arrow, l as createLucideIcon, o as Root2$6, r as Anchor, s as createPopperScope, t as Root$5 } from "./dist-WIWVvdBh.js";
|
|
26
|
+
import { A as useOnMount, B as Table$1, C as DEFAULT_COLOR_SCHEME, D as SCALE_TYPE_DESCRIPTIONS, E as EMPTY_VALUE$1, F as $896ba0a80a8f4d36$export$85fd5fdf27bacc79, G as ChartColumn, H as ListFilter, I as $fb18d541ea1ad717$export$ad991b66133851cf, K as Calendar, L as $5a387cc49350e6db$export$722debc0e56fea39, M as Badge, N as createReducerAndAtoms, O as TIME_UNIT_DESCRIPTIONS, P as startCase_default, R as Type, S as DEFAULT_AGGREGATION, T as DEFAULT_TIME_UNIT, U as Hash, V as SquareFunction, W as ChartPie, _ 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 useOnUnmount, 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, z as ToggleLeft } from "./spec-BI4Eyctn.js";
|
|
27
|
+
import { t as Check } from "./check-DpqPQmzz.js";
|
|
28
|
+
import { A as $a916eb452884faea$export$b7a616150fdb9f44, C as useDirection, D as assertNever, E as usePrevious$1, I as X, M as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, N as $18f2051aff69b9bf$export$a54013f0d02a8f82, O as logNever, P as $b5e257d569688ac6$export$535bd6ca7f90a273, R as ChevronDown, S as Trigger$5, T as clamp$2, _ as menuItemVariants, a as SelectGroup, b as menuSubTriggerVariants, c as SelectSeparator, d as NativeSelect, f as selectStyles, g as menuControlVariants, h as menuControlCheckVariants, i as SelectContent, l as SelectTrigger, m as menuContentCommon, n as Primitive$1, o as SelectItem, p as MENU_ITEM_DISABLED, r as Select, s as SelectLabel, t as Label, u as SelectValue, v as menuLabelVariants, w as createCollection, x as Icon, y as menuSeparatorVariants } from "./label-D036zdVU.js";
|
|
29
|
+
import { $ as $d2b4bc8c273e7be6$export$24d547caef80ccd1, $t as $7215afc6de606d6b$export$de79e2c695e052f3, A as Portal$2, At as $fca6afa0e843324b$export$f12b703ca79dfbb1, B as Root$6, Bt as $9446cca9a3875146$export$7d15b64cf5a3a4c4, C as Arrow2, Ct as $e5be200c675c3b3a$export$dad6ae84456c676a, D as Item2$2, Dt as $701a24aa0da5b062$export$ea18c227d4417cc3, E as Group$1, Et as $f7dceffc5ad7768b$export$4e328f61c538687f, F as Sub, Ft as $3ad3f6e1647bc98d$export$80f3e147d781571c, G as $3985021b0ad6602f$export$f5b8910cec6cf069, Gt as $e9faafb641e167db$export$90fc3a17d93f704c, H as ErrorBoundary, Ht as $b4b717babfbb907b$export$4c063cf1350e6fed, I as SubContent, It as $507fabe10e71c6fb$export$630ff653c5ada6a9, J as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Jt as $c87311424ea30a05$export$6446a186d09e379e, K as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Kt as $df56164dff5785e2$export$4338b53315abf666, L as SubTrigger, Lt as $f6c31cce2adf654f$export$45712eceda6fad21, M as RadioItem, Mt as $5b160d28a433310d$export$c17fa47878dc55b6, N as Root3, Nt as $6179b936705e76d3$export$ae780daf29e6d456, O as ItemIndicator, Ot as $6c7bd7858deea686$export$cd11ab140839f11d, P as Separator, Pt as $9ab94262bd0047c7$export$420e68273165f4ec, Q as $514c0188e459b4c0$export$9afb8bc826b033ea, Qt as $c87311424ea30a05$export$fedb369cb70207f1, R as createMenuScope, Rt as _class_private_field_init, S as Anchor2, St as $e5be200c675c3b3a$export$aca958c65c314e6c, T as Content2$3, Tt as $319e236875307eab$export$a9b970dcc4ae71a9, U as require_prop_types, Ut as $b4b717babfbb907b$export$bebd5a1431fec25d, V as createRovingFocusGroupScope, Vt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, W as $3985021b0ad6602f$export$37fb8590cf2c088c, Wt as $99facab73266f662$export$5add1d006293d136, X as $ee014567cb39d3f0$export$ff05c3ac10437e03, Xt as $c87311424ea30a05$export$9ac100e40613ea10, Y as $ee014567cb39d3f0$export$f551688fc98f2e09, Yt as $c87311424ea30a05$export$78551043582a6a98, Z as $514c0188e459b4c0$export$5f1af8db9871e1d6, Zt as $c87311424ea30a05$export$a11b0059900ceec8, _ as DropdownMenuSeparator, _n as Circle, _t as $d2e8511e6f209edf$export$e908e06f4b8e3402, a as OnBlurredInput, an as $f4e2df6bd15f8569$export$98658e8c59125e6a, at as $64fa3d84918910a7$export$29f1550f4b0d4415, b as DropdownMenuSubTrigger, bt as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, c as prettyEngineeringNumber, cn as $ff5963eb1fccf552$export$e08e3b67e392101e, ct as $64fa3d84918910a7$export$c245e6201fed2f75, d as DropdownMenu, dn as $8ae05eaa5c114e9c$export$7f54fc3180508a52, dt as $64fa3d84918910a7$export$fabf2dc03a41866e, en as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, et as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, f as DropdownMenuContent, fn as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, ft as useNonce, g as DropdownMenuPortal, gn as Pencil, gt as capitalize_default, h as DropdownMenuLabel, hn as Plus, ht as useDebouncedCallback, i as Input, in as $d4ee10de306f2510$export$e58f029f0fbfdb29, it as $64fa3d84918910a7$export$2881499e37b75b9a, j as RadioGroup$2, jt as $6db58dc88e78b024$export$2f817fcdc4b89ae0, k as Label$2, kt as $fca6afa0e843324b$export$87b761675e8eaa10, l as prettyNumber, ln as $bdb11010cef70236$export$b4cc09c592e8fdb8, lt as $64fa3d84918910a7$export$c62b8e45d58ddad9, m as DropdownMenuItem, mn as Search, mt as useDebounceControlledState, n as DebouncedInput, nn as $d4ee10de306f2510$export$4282f70798064fe0, nt as $01b77f81d0f07f68$export$b04be29aa201d4f5, o as NumberField, on as $431fbd86ca7dc216$export$b204af158042fbac, ot as $64fa3d84918910a7$export$4d86445c2cf5e3, p as DropdownMenuGroup, pn as Trash, pt as marked, q as $a049562f99e7db0e$export$f9c6924e160136d1, qt as $313b98861ee5dd6c$export$d6875122194c7b44, r as DebouncedNumberInput, rn as $d4ee10de306f2510$export$cd4e5573fbe2b576, rt as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, s as maxFractionalDigits, sn as $431fbd86ca7dc216$export$f21a1ffae260145a, st as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, t as BulkEdit, tn as $3ef42575df84b30b$export$9d1611c77c2fe928, tt as $01b77f81d0f07f68$export$75b6ee27786ba447, u as prettyScientificNumber, un as $bdb11010cef70236$export$f680877a34711e37, ut as $64fa3d84918910a7$export$ef03459518577ad4, v as DropdownMenuSub, vn as ChevronRight, vt as $2baaea4c71418dea$export$294aa081a6c6f55d, w as CheckboxItem, wt as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, x as DropdownMenuTrigger, xt as $e5be200c675c3b3a$export$a763b9476acd3eb, y as DropdownMenuSubContent, yt as $e93e671b31057976$export$b8473d3665f3a75a, z as Item$2, zt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5 } from "./types-DqFw5XXR.js";
|
|
30
|
+
import { S as CircleQuestionMark, _ as isUrl, a as AlertTitle, b as Deferred, c as constructFrom, d as millisecondsInMinute, f as millisecondsInSecond, g as appendQueryParams, h as getRuntimeManager, i as AlertDescription, l as millisecondsInDay, m as asRemoteURL, n as arrow, o as isValid$1, p as millisecondsInWeek, r as Alert, s as toDate, t as useDeepCompareMemoize, u as millisecondsInHour, v as require_cuid2, x as isWasm, y as waitForConnectionOpen } from "./useDeepCompareMemoize-DtbTAJq3.js";
|
|
31
31
|
import { n as clsx_default } from "./clsx-D2KVTYnW.js";
|
|
32
|
-
import { _ as Functions, a as cva, c as isPlatformMac, d as Objects, f as useEventListener, g as Logger, h as Events, l as parseShortcut, m as useComposedRefs, n as buttonVariants, o as NOT_SET, p as composeRefs, r as Slot$1, t as Button, v as throwNotImplemented, y as cn } from "./button-
|
|
33
|
-
import { $ as __awaiter, A as custom, B as record, C as ZodUnion$1, D as any, E as _null, F as nan, G as unknown, H as string, I as never, J as toJSONSchema, K as safeParseAsync, L as number, M as lazy$4, N as literal, O as array, P as looseObject, Q as prettifyError, R as object$1, S as ZodType$1, T as _instanceof, U as tuple, V as strictObject, W as union, X as parseAsync, Y as parse$3, Z as $ZodError, _ as ZodLiteral$1, _t as createContextScope, a as zod_default, at as useControllableState, b as ZodOptional$1, c as string$1, ct as useId$12, d as ZodArray$1, dt as useCallbackRef, et as MAX_HEIGHT_OFFSET, f as ZodBoolean$1, ft as Primitive, g as ZodEnum$1, h as ZodDiscriminatedUnion$1, i as useFocusGuards, it as StyleNamespace, j as discriminatedUnion, k as boolean, l as ZodIssueCode$1, lt as useLayoutEffect2, m as ZodDefault$1, mt as createSlot, n as hideOthers, nt as withSmartCollisionBoundary, o as date, ot as Presence, p as ZodDate$1, pt as dispatchDiscreteCustomEvent, q as ZodError$1, r as FocusScope, rt as isInVscodeExtension, s as number$1, st as Portal, t as Combination_default, tt as withFullScreenAsRoot, u as ZodAny$1, ut as DismissableLayer, v as ZodNumber$1, vt as composeEventHandlers$1, w as _enum, x as ZodString$1, y as ZodObject$1, z as optional } from "./Combination-
|
|
32
|
+
import { _ as Functions, a as cva, c as isPlatformMac, d as Objects, f as useEventListener, g as Logger, h as Events, l as parseShortcut, m as useComposedRefs, n as buttonVariants, o as NOT_SET, p as composeRefs, r as Slot$1, t as Button, v as throwNotImplemented, y as cn } from "./button-DQpBib29.js";
|
|
33
|
+
import { $ as __awaiter, A as custom, B as record, C as ZodUnion$1, D as any, E as _null, F as nan, G as unknown, H as string, I as never, J as toJSONSchema, K as safeParseAsync, L as number, M as lazy$4, N as literal, O as array, P as looseObject, Q as prettifyError, R as object$1, S as ZodType$1, T as _instanceof, U as tuple, V as strictObject, W as union, X as parseAsync, Y as parse$3, Z as $ZodError, _ as ZodLiteral$1, _t as createContextScope, a as zod_default, at as useControllableState, b as ZodOptional$1, c as string$1, ct as useId$12, d as ZodArray$1, dt as useCallbackRef, et as MAX_HEIGHT_OFFSET, f as ZodBoolean$1, ft as Primitive, g as ZodEnum$1, h as ZodDiscriminatedUnion$1, i as useFocusGuards, it as StyleNamespace, j as discriminatedUnion, k as boolean, l as ZodIssueCode$1, lt as useLayoutEffect2, m as ZodDefault$1, mt as createSlot, n as hideOthers, nt as withSmartCollisionBoundary, o as date, ot as Presence, p as ZodDate$1, pt as dispatchDiscreteCustomEvent, q as ZodError$1, r as FocusScope, rt as isInVscodeExtension, s as number$1, st as Portal, t as Combination_default, tt as withFullScreenAsRoot, u as ZodAny$1, ut as DismissableLayer, v as ZodNumber$1, vt as composeEventHandlers$1, w as _enum, x as ZodString$1, y as ZodObject$1, z as optional } from "./Combination-Dk6JxauT.js";
|
|
34
34
|
import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
|
|
35
35
|
import { t as require_react_dom } from "./react-dom-CqtLRVZP.js";
|
|
36
|
-
import { a as TooltipRoot, i as TooltipProvider, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, s as TooltipProvider$1, t as Tooltip } from "./tooltip-
|
|
37
|
-
import { a as _extends$5, c as setDiagnostics, d as CopyClipboardIcon, i as minimalSetup, l as historyField, o as forEachDiagnostic, r as esm_default, s as linter, t as langs, u as insertTab } from "./esm-
|
|
36
|
+
import { a as TooltipRoot, i as TooltipProvider, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, s as TooltipProvider$1, t as Tooltip } from "./tooltip-SPkubVH3.js";
|
|
37
|
+
import { a as _extends$5, c as setDiagnostics, d as CopyClipboardIcon, i as minimalSetup, l as historyField, o as forEachDiagnostic, r as esm_default, s as linter, t as langs, u as insertTab } from "./esm-BBkPJL8N.js";
|
|
38
38
|
import { E as _baseRest_default, b as _baseTimes_default, t as isArrayLikeObject_default } from "./isArrayLikeObject-Btu-i6_P.js";
|
|
39
39
|
import { n as _arrayMap_default } from "./toString-Ckpb50uw.js";
|
|
40
40
|
import { i as toInteger_default, n as _baseSet_default } from "./_basePickBy-3JVb5wYm.js";
|
|
@@ -43,12 +43,12 @@ import { a as get_default, t as _baseProperty_default } from "./_baseProperty-D1
|
|
|
43
43
|
import { n as pick_default, t as range_default } from "./range-Dh0_-r8P.js";
|
|
44
44
|
import { i as debounce_default, r as KnownQueryParams, t as CSSClasses } from "./constants-D1Tbg_6B.js";
|
|
45
45
|
import { t as isEmpty_default } from "./isEmpty-CZvUtYFp.js";
|
|
46
|
-
import { C as useEvent_default, S as getBuildingBlocks, _ as useSetAtom, a as getResolvedMarimoConfig, c as AppConfigSchema, d as useJotaiEffect, g as useAtomValue, h as useAtom, i as autoInstantiateAtom, l as createDeepEqualAtom, m as Provider, n as useTheme, o as localeAtom, p as isIslands, r as aiEnabledAtom, s as useResolvedMarimoConfig, t as resolvedThemeAtom, u as store, v as useStore, w as isEqual_default, x as buildStore, y as atom } from "./useTheme-
|
|
47
|
-
import { a as tooltipHandler, n as vegaLoadData, r as createBatchedLoader, t as parseCsvData } from "./loader-
|
|
46
|
+
import { C as useEvent_default, S as getBuildingBlocks, _ as useSetAtom, a as getResolvedMarimoConfig, c as AppConfigSchema, d as useJotaiEffect, g as useAtomValue, h as useAtom, i as autoInstantiateAtom, l as createDeepEqualAtom, m as Provider, n as useTheme, o as localeAtom, p as isIslands, r as aiEnabledAtom, s as useResolvedMarimoConfig, t as resolvedThemeAtom, u as store, v as useStore, w as isEqual_default, x as buildStore, y as atom } from "./useTheme-OvBNH9t3.js";
|
|
47
|
+
import { a as tooltipHandler, n as vegaLoadData, r as createBatchedLoader, t as parseCsvData } from "./loader-C62dRCuy.js";
|
|
48
48
|
import { $ as ViewPlugin, At as Prec, B as tags$1, Dt as EditorState, E as getIndentUnit, Et as EditorSelection, Ft as StateField, I as syntaxTree, It as Text$2, J as parseMixed, L as unfoldAll, Lt as Transaction, Ot as Facet$1, Pt as StateEffect, Q as GutterMarker, S as foldInside, Tt as Compartment, Y as Decoration, Z as EditorView, b as foldAll, dt as keymap, et as WidgetType, f as StreamLanguage, jt as RangeSet, l as LanguageDescription, mt as placeholder, ot as gutter, u as LanguageSupport, ut as hoverTooltip, vt as showPanel, w as foldNodeProp, xt as Annotation, yt as showTooltip } from "./dist-DOoqn-VL.js";
|
|
49
49
|
import { t as invariant } from "./invariant-D9QLJ4SZ.js";
|
|
50
50
|
import { a as arrayInsert, c as arrayShallowEquals, i as arrayDelete, l as uniqueBy, n as once, o as arrayInsertMany, r as Arrays, s as arrayMove, t as memoizeLastValue, u as clamp } from "./once-BqS42WgZ.js";
|
|
51
|
-
import { n as getIframeCapabilities, t as useIframeCapabilities } from "./useIframeCapabilities-
|
|
51
|
+
import { n as getIframeCapabilities, t as useIframeCapabilities } from "./useIframeCapabilities-DFGZKWkO.js";
|
|
52
52
|
import { d as snippet, n as acceptCompletion, o as closeCompletion, r as autocompletion, u as insertCompletionText } from "./dist-CSEWGuDq.js";
|
|
53
53
|
import { t as require_main } from "./main-Tj_-QTyF.js";
|
|
54
54
|
import { a as PLSQL, c as SQLite, d as schemaCompletionSource, f as sql, i as MySQL, l as StandardSQL, n as MSSQL, o as PostgreSQL, r as MariaSQL, s as SQLDialect, t as Cassandra, u as keywordCompletionSource } from "./dist-Bq5eYK43.js";
|
|
@@ -59,10 +59,10 @@ import "./dist-D4gcY469.js";
|
|
|
59
59
|
import { a as parser$1, i as pythonLanguage, n as localCompletionSource, r as python, t as globalCompletion } from "./dist-C4K7pumm.js";
|
|
60
60
|
import { n as stexMath } from "./stex-BIsgBmK4.js";
|
|
61
61
|
import { t as purify } from "./purify.es-DGenX2XH.js";
|
|
62
|
-
import { a as Portal$3, c as prettyError, i as Overlay, n as ErrorBanner, o as Root$7, r as Content$4, s as CellNotInitializedError, t as Banner } from "./error-banner-
|
|
62
|
+
import { a as Portal$3, c as prettyError, i as Overlay, n as ErrorBanner, o as Root$7, r as Content$4, s as CellNotInitializedError, t as Banner } from "./error-banner-BctofTCP.js";
|
|
63
63
|
import { n as memoize$1, t as isPropValid } from "./emotion-is-prop-valid.esm-DtW2o230.js";
|
|
64
64
|
import { n as formats } from "./vega-loader.browser-CQ-lnUkI.js";
|
|
65
|
-
import { t as useAsyncData } from "./useAsyncData-
|
|
65
|
+
import { t as useAsyncData } from "./useAsyncData-Ioeh75f8.js";
|
|
66
66
|
import "./defaultLocale-Bklbu-Tp.js";
|
|
67
67
|
import "./defaultLocale-CfQ4kBaV.js";
|
|
68
68
|
import { c as katex } from "./katex-Bk_FvVSR.js";
|
|
@@ -27030,70 +27030,117 @@ ${c.sqlString}
|
|
|
27030
27030
|
Icon: FolderTree,
|
|
27031
27031
|
label: "Files",
|
|
27032
27032
|
tooltip: "View files",
|
|
27033
|
-
defaultSection: "sidebar"
|
|
27033
|
+
defaultSection: "sidebar",
|
|
27034
|
+
additionalKeywords: [
|
|
27035
|
+
"explorer",
|
|
27036
|
+
"browser",
|
|
27037
|
+
"directory"
|
|
27038
|
+
]
|
|
27034
27039
|
},
|
|
27035
27040
|
{
|
|
27036
27041
|
type: "variables",
|
|
27037
27042
|
Icon: Variable$1,
|
|
27038
27043
|
label: "Variables",
|
|
27039
27044
|
tooltip: "Explore variables and data sources",
|
|
27040
|
-
defaultSection: "sidebar"
|
|
27045
|
+
defaultSection: "sidebar",
|
|
27046
|
+
additionalKeywords: [
|
|
27047
|
+
"state",
|
|
27048
|
+
"scope",
|
|
27049
|
+
"inspector"
|
|
27050
|
+
]
|
|
27041
27051
|
},
|
|
27042
27052
|
{
|
|
27043
27053
|
type: "packages",
|
|
27044
27054
|
Icon: Box$1,
|
|
27045
27055
|
label: "Packages",
|
|
27046
27056
|
tooltip: "Manage packages",
|
|
27047
|
-
defaultSection: "sidebar"
|
|
27057
|
+
defaultSection: "sidebar",
|
|
27058
|
+
additionalKeywords: [
|
|
27059
|
+
"dependencies",
|
|
27060
|
+
"pip",
|
|
27061
|
+
"install"
|
|
27062
|
+
]
|
|
27048
27063
|
},
|
|
27049
27064
|
{
|
|
27050
27065
|
type: "ai",
|
|
27051
27066
|
Icon: Bot,
|
|
27052
27067
|
label: "AI",
|
|
27053
27068
|
tooltip: "Chat & Agents",
|
|
27054
|
-
defaultSection: "sidebar"
|
|
27069
|
+
defaultSection: "sidebar",
|
|
27070
|
+
additionalKeywords: [
|
|
27071
|
+
"chat",
|
|
27072
|
+
"copilot",
|
|
27073
|
+
"assistant"
|
|
27074
|
+
]
|
|
27055
27075
|
},
|
|
27056
27076
|
{
|
|
27057
27077
|
type: "outline",
|
|
27058
27078
|
Icon: ScrollText,
|
|
27059
27079
|
label: "Outline",
|
|
27060
27080
|
tooltip: "View outline",
|
|
27061
|
-
defaultSection: "sidebar"
|
|
27081
|
+
defaultSection: "sidebar",
|
|
27082
|
+
additionalKeywords: [
|
|
27083
|
+
"toc",
|
|
27084
|
+
"structure",
|
|
27085
|
+
"headings"
|
|
27086
|
+
]
|
|
27062
27087
|
},
|
|
27063
27088
|
{
|
|
27064
27089
|
type: "documentation",
|
|
27065
27090
|
Icon: TextSearch,
|
|
27066
27091
|
label: "Docs",
|
|
27067
27092
|
tooltip: "View live docs",
|
|
27068
|
-
defaultSection: "sidebar"
|
|
27093
|
+
defaultSection: "sidebar",
|
|
27094
|
+
additionalKeywords: [
|
|
27095
|
+
"reference",
|
|
27096
|
+
"api"
|
|
27097
|
+
]
|
|
27069
27098
|
},
|
|
27070
27099
|
{
|
|
27071
27100
|
type: "dependencies",
|
|
27072
27101
|
Icon: Network,
|
|
27073
27102
|
label: "Dependencies",
|
|
27074
27103
|
tooltip: "Explore dependencies",
|
|
27075
|
-
defaultSection: "sidebar"
|
|
27104
|
+
defaultSection: "sidebar",
|
|
27105
|
+
additionalKeywords: [
|
|
27106
|
+
"graph",
|
|
27107
|
+
"imports"
|
|
27108
|
+
]
|
|
27076
27109
|
},
|
|
27077
27110
|
{
|
|
27078
27111
|
type: "errors",
|
|
27079
27112
|
Icon: CircleX,
|
|
27080
27113
|
label: "Errors",
|
|
27081
27114
|
tooltip: "View errors",
|
|
27082
|
-
defaultSection: "developer-panel"
|
|
27115
|
+
defaultSection: "developer-panel",
|
|
27116
|
+
additionalKeywords: [
|
|
27117
|
+
"exceptions",
|
|
27118
|
+
"problems",
|
|
27119
|
+
"diagnostics"
|
|
27120
|
+
]
|
|
27083
27121
|
},
|
|
27084
27122
|
{
|
|
27085
27123
|
type: "scratchpad",
|
|
27086
27124
|
Icon: NotebookPen,
|
|
27087
27125
|
label: "Scratchpad",
|
|
27088
27126
|
tooltip: "Scratchpad",
|
|
27089
|
-
defaultSection: "developer-panel"
|
|
27127
|
+
defaultSection: "developer-panel",
|
|
27128
|
+
additionalKeywords: [
|
|
27129
|
+
"scratch",
|
|
27130
|
+
"draft",
|
|
27131
|
+
"playground"
|
|
27132
|
+
]
|
|
27090
27133
|
},
|
|
27091
27134
|
{
|
|
27092
27135
|
type: "tracing",
|
|
27093
27136
|
Icon: Activity,
|
|
27094
27137
|
label: "Tracing",
|
|
27095
27138
|
tooltip: "View tracing",
|
|
27096
|
-
defaultSection: "developer-panel"
|
|
27139
|
+
defaultSection: "developer-panel",
|
|
27140
|
+
additionalKeywords: [
|
|
27141
|
+
"profiling",
|
|
27142
|
+
"performance"
|
|
27143
|
+
]
|
|
27097
27144
|
},
|
|
27098
27145
|
{
|
|
27099
27146
|
type: "secrets",
|
|
@@ -27101,14 +27148,24 @@ ${c.sqlString}
|
|
|
27101
27148
|
label: "Secrets",
|
|
27102
27149
|
tooltip: "Manage secrets",
|
|
27103
27150
|
defaultSection: "developer-panel",
|
|
27104
|
-
hidden: isWasm()
|
|
27151
|
+
hidden: isWasm(),
|
|
27152
|
+
additionalKeywords: [
|
|
27153
|
+
"env",
|
|
27154
|
+
"environment",
|
|
27155
|
+
"keys",
|
|
27156
|
+
"credentials"
|
|
27157
|
+
]
|
|
27105
27158
|
},
|
|
27106
27159
|
{
|
|
27107
27160
|
type: "logs",
|
|
27108
27161
|
Icon: FileText,
|
|
27109
27162
|
label: "Logs",
|
|
27110
27163
|
tooltip: "View logs",
|
|
27111
|
-
defaultSection: "developer-panel"
|
|
27164
|
+
defaultSection: "developer-panel",
|
|
27165
|
+
additionalKeywords: [
|
|
27166
|
+
"console",
|
|
27167
|
+
"stdout"
|
|
27168
|
+
]
|
|
27112
27169
|
},
|
|
27113
27170
|
{
|
|
27114
27171
|
type: "terminal",
|
|
@@ -27117,14 +27174,24 @@ ${c.sqlString}
|
|
|
27117
27174
|
tooltip: "Terminal",
|
|
27118
27175
|
hidden: isWasm(),
|
|
27119
27176
|
defaultSection: "developer-panel",
|
|
27120
|
-
requiredCapability: "terminal"
|
|
27177
|
+
requiredCapability: "terminal",
|
|
27178
|
+
additionalKeywords: [
|
|
27179
|
+
"shell",
|
|
27180
|
+
"console",
|
|
27181
|
+
"bash",
|
|
27182
|
+
"command"
|
|
27183
|
+
]
|
|
27121
27184
|
},
|
|
27122
27185
|
{
|
|
27123
27186
|
type: "snippets",
|
|
27124
27187
|
Icon: SquareDashedBottomCode,
|
|
27125
27188
|
label: "Snippets",
|
|
27126
27189
|
tooltip: "Snippets",
|
|
27127
|
-
defaultSection: "developer-panel"
|
|
27190
|
+
defaultSection: "developer-panel",
|
|
27191
|
+
additionalKeywords: [
|
|
27192
|
+
"templates",
|
|
27193
|
+
"examples"
|
|
27194
|
+
]
|
|
27128
27195
|
},
|
|
27129
27196
|
{
|
|
27130
27197
|
type: "cache",
|
|
@@ -27132,7 +27199,11 @@ ${c.sqlString}
|
|
|
27132
27199
|
label: "Cache",
|
|
27133
27200
|
tooltip: "View cache",
|
|
27134
27201
|
defaultSection: "developer-panel",
|
|
27135
|
-
hidden: !getFeatureFlag("cache_panel")
|
|
27202
|
+
hidden: !getFeatureFlag("cache_panel"),
|
|
27203
|
+
additionalKeywords: [
|
|
27204
|
+
"memory",
|
|
27205
|
+
"memoize"
|
|
27206
|
+
]
|
|
27136
27207
|
}
|
|
27137
27208
|
];
|
|
27138
27209
|
new Map(PANELS.map((e) => [
|
|
@@ -50748,7 +50819,23 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
|
|
|
50748
50819
|
clip: "rect(0, 0, 0, 0)",
|
|
50749
50820
|
whiteSpace: "nowrap",
|
|
50750
50821
|
borderWidth: "0"
|
|
50751
|
-
}
|
|
50822
|
+
};
|
|
50823
|
+
function words(e) {
|
|
50824
|
+
return e.toLowerCase().match(/[\da-z]+/g) || [];
|
|
50825
|
+
}
|
|
50826
|
+
function smartMatch(e, r) {
|
|
50827
|
+
let c = words(e);
|
|
50828
|
+
if (c.length === 0) return true;
|
|
50829
|
+
let d = Array.isArray(r) ? r : [
|
|
50830
|
+
r
|
|
50831
|
+
], f = [];
|
|
50832
|
+
for (let e2 of d) e2 && f.push(...words(e2));
|
|
50833
|
+
return c.every((e2) => f.some((r2) => r2.startsWith(e2)));
|
|
50834
|
+
}
|
|
50835
|
+
function smartMatchFilter(e, r, c) {
|
|
50836
|
+
return smartMatch(r, e) ? 1 : c && smartMatch(r, c) ? 0.8 : 0;
|
|
50837
|
+
}
|
|
50838
|
+
var import_compiler_runtime$124 = require_compiler_runtime(), Command = import_react.forwardRef((e, r) => {
|
|
50752
50839
|
let c = (0, import_compiler_runtime$124.c)(9), d, f;
|
|
50753
50840
|
c[0] === e ? (d = c[1], f = c[2]) : ({ className: d, ...f } = e, c[0] = e, c[1] = d, c[2] = f);
|
|
50754
50841
|
let _;
|
|
@@ -50756,6 +50843,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
|
|
|
50756
50843
|
let v;
|
|
50757
50844
|
return c[5] !== f || c[6] !== r || c[7] !== _ ? (v = (0, import_jsx_runtime.jsx)(_e$1, {
|
|
50758
50845
|
ref: r,
|
|
50846
|
+
filter: smartMatchFilter,
|
|
50759
50847
|
className: _,
|
|
50760
50848
|
...f
|
|
50761
50849
|
}), c[5] = f, c[6] = r, c[7] = _, c[8] = v) : v = c[8], v;
|
|
@@ -56041,7 +56129,7 @@ Database schema: ${c}`), (_a4 = r2.aiFix) == null ? void 0 : _a4.setAiCompletion
|
|
|
56041
56129
|
hasConsoleOutput: (v == null ? void 0 : v.consoleOutputs) != null
|
|
56042
56130
|
};
|
|
56043
56131
|
}
|
|
56044
|
-
const LazyAnyLanguageCodeMirror = (0, import_react.lazy)(() => import("./any-language-editor-
|
|
56132
|
+
const LazyAnyLanguageCodeMirror = (0, import_react.lazy)(() => import("./any-language-editor-BIj11a2e.js"));
|
|
56045
56133
|
var import_compiler_runtime$116 = require_compiler_runtime(), extensions = [
|
|
56046
56134
|
EditorView.lineWrapping
|
|
56047
56135
|
];
|
|
@@ -70404,7 +70492,7 @@ Image URL: ${r.imageUrl}`)), contextToXml({
|
|
|
70404
70492
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
70405
70493
|
}
|
|
70406
70494
|
}
|
|
70407
|
-
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.20.5-
|
|
70495
|
+
const marimoVersionAtom = atom(getVersionFromMountConfig() || "0.20.5-dev25"), showCodeInRunModeAtom = atom(true);
|
|
70408
70496
|
atom(null);
|
|
70409
70497
|
var import_compiler_runtime$88 = require_compiler_runtime();
|
|
70410
70498
|
function useKeydownOnElement(e, r) {
|
|
@@ -71966,7 +72054,7 @@ Image URL: ${r.imageUrl}`)), contextToXml({
|
|
|
71966
72054
|
function getVegaFieldTypes(e) {
|
|
71967
72055
|
return !e || Object.keys(e).length === 0 ? "auto" : Objects.mapValues(e, (e2) => e2 === "date" || e2 === "time" ? "string" : e2 === "datetime" ? "date" : e2);
|
|
71968
72056
|
}
|
|
71969
|
-
var import_compiler_runtime$81 = require_compiler_runtime(), LazyDataEditor = import_react.lazy(() => import("./glide-data-editor-
|
|
72057
|
+
var import_compiler_runtime$81 = require_compiler_runtime(), LazyDataEditor = import_react.lazy(() => import("./glide-data-editor-B03jwvVe.js").then(async (m2) => {
|
|
71970
72058
|
await m2.__tla;
|
|
71971
72059
|
return m2;
|
|
71972
72060
|
}));
|
|
@@ -82039,7 +82127,7 @@ ${c}
|
|
|
82039
82127
|
fullWidth: y,
|
|
82040
82128
|
children: G
|
|
82041
82129
|
}), r[19] = y, r[20] = S, r[21] = c, r[22] = G, r[23] = q) : q = r[23], q;
|
|
82042
|
-
}, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-
|
|
82130
|
+
}, LazyDataExplorerComponent = import_react.lazy(() => import("./ConnectedDataExplorerComponent-jj3D9AQT.js"));
|
|
82043
82131
|
const DataExplorerPlugin = createPlugin("marimo-data-explorer").withData(object$1({
|
|
82044
82132
|
label: string().nullish(),
|
|
82045
82133
|
data: string()
|
|
@@ -92962,7 +93050,7 @@ ${c}
|
|
|
92962
93050
|
return true;
|
|
92963
93051
|
}
|
|
92964
93052
|
}
|
|
92965
|
-
var LazyVegaComponent = import_react.lazy(() => import("./vega-component-
|
|
93053
|
+
var LazyVegaComponent = import_react.lazy(() => import("./vega-component-B_4Lp3hK.js")), VegaPlugin = class {
|
|
92966
93054
|
constructor() {
|
|
92967
93055
|
__publicField(this, "tagName", "marimo-vega");
|
|
92968
93056
|
__publicField(this, "validator", object$1({
|
|
@@ -93103,7 +93191,7 @@ ${c}
|
|
|
93103
93191
|
children: e.children
|
|
93104
93192
|
});
|
|
93105
93193
|
}
|
|
93106
|
-
}, LazySlidesComponent$1 = import_react.lazy(() => import("./slides-component-
|
|
93194
|
+
}, LazySlidesComponent$1 = import_react.lazy(() => import("./slides-component-DwvL_HJi.js"));
|
|
93107
93195
|
const DownloadPlugin = createPlugin("marimo-download").withData(object$1({
|
|
93108
93196
|
data: string(),
|
|
93109
93197
|
disabled: boolean().default(false),
|
|
@@ -93285,7 +93373,7 @@ ${c}
|
|
|
93285
93373
|
diagram: e.data.diagram
|
|
93286
93374
|
});
|
|
93287
93375
|
}
|
|
93288
|
-
}, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-
|
|
93376
|
+
}, LazyMermaid = (0, import_react.lazy)(() => import("./mermaid-BgeZPIms.js").then(async (m2) => {
|
|
93289
93377
|
await m2.__tla;
|
|
93290
93378
|
return m2;
|
|
93291
93379
|
})), import_compiler_runtime$18 = require_compiler_runtime();
|
|
@@ -99402,7 +99490,7 @@ ${c}
|
|
|
99402
99490
|
cells: []
|
|
99403
99491
|
})
|
|
99404
99492
|
};
|
|
99405
|
-
var import_compiler_runtime$8 = require_compiler_runtime(), LazySlidesComponent = import_react.lazy(() => import("./slides-component-
|
|
99493
|
+
var import_compiler_runtime$8 = require_compiler_runtime(), LazySlidesComponent = import_react.lazy(() => import("./slides-component-DwvL_HJi.js"));
|
|
99406
99494
|
const SlidesLayoutRenderer = (e) => {
|
|
99407
99495
|
let r = (0, import_compiler_runtime$8.c)(11), { cells: c, mode: d } = e, f = d === "read", _;
|
|
99408
99496
|
if (r[0] !== c || r[1] !== d) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
3
3
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
4
|
-
import { g as Logger } from "./button-
|
|
5
|
-
import "./Combination-
|
|
4
|
+
import { g as Logger } from "./button-DQpBib29.js";
|
|
5
|
+
import "./Combination-Dk6JxauT.js";
|
|
6
6
|
import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
|
|
7
7
|
import "./react-dom-CqtLRVZP.js";
|
|
8
8
|
import { t as isEmpty_default } from "./isEmpty-CZvUtYFp.js";
|
|
9
|
-
import { n as useTheme } from "./useTheme-
|
|
9
|
+
import { n as useTheme } from "./useTheme-OvBNH9t3.js";
|
|
10
10
|
import { t as purify } from "./purify.es-DGenX2XH.js";
|
|
11
|
-
import { n as ErrorBanner } from "./error-banner-
|
|
12
|
-
import { t as useAsyncData } from "./useAsyncData-
|
|
11
|
+
import { n as ErrorBanner } from "./error-banner-BctofTCP.js";
|
|
12
|
+
import { t as useAsyncData } from "./useAsyncData-Ioeh75f8.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-DgI4FlvW.js";
|
|
14
14
|
import { a as setLogLevel, i as log, r as __name, t as select_default } from "./src-CHUphWwL.js";
|
|
15
15
|
import { t as package_default } from "./chunk-DR5Q36YT-D4q96vNV.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
3
3
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
4
|
-
import { f as useEventListener, t as Button, y as cn } from "./button-
|
|
4
|
+
import { f as useEventListener, t as Button, y as cn } from "./button-DQpBib29.js";
|
|
5
5
|
import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
|
|
6
|
-
import { t as useIframeCapabilities } from "./useIframeCapabilities-
|
|
6
|
+
import { t as useIframeCapabilities } from "./useIframeCapabilities-DFGZKWkO.js";
|
|
7
7
|
var import_compiler_runtime = require_compiler_runtime(), import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
8
8
|
function isObject$2(t2) {
|
|
9
9
|
return typeof t2 == "object" && !!t2 && "constructor" in t2 && t2.constructor === Object;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
3
3
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
4
|
-
import { l as createLucideIcon } from "./dist-
|
|
5
|
-
import { M as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, O as logNever, k as upperFirst_default } from "./label-
|
|
6
|
-
import { a as cva, g as Logger, y as cn } from "./button-
|
|
4
|
+
import { l as createLucideIcon } from "./dist-WIWVvdBh.js";
|
|
5
|
+
import { M as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, O as logNever, k as upperFirst_default } from "./label-D036zdVU.js";
|
|
6
|
+
import { a as cva, g as Logger, y as cn } from "./button-DQpBib29.js";
|
|
7
7
|
import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
|
|
8
8
|
import { t as toString_default } from "./toString-Ckpb50uw.js";
|
|
9
9
|
import { t as _arrayReduce_default } from "./_arrayReduce-BfFy684W.js";
|
|
10
|
-
import { _ as useSetAtom, y as atom } from "./useTheme-
|
|
10
|
+
import { _ as useSetAtom, y as atom } from "./useTheme-OvBNH9t3.js";
|
|
11
11
|
var AlignCenterVertical = createLucideIcon("align-center-vertical", [
|
|
12
12
|
["path", {
|
|
13
13
|
d: "M12 2v20",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
3
3
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
4
|
-
import { a as Content, i as Arrow, o as Root2, r as Anchor, s as createPopperScope, t as Root } from "./dist-
|
|
5
|
-
import { m as useComposedRefs, y as cn } from "./button-
|
|
6
|
-
import { _t as createContextScope, at as useControllableState, ct as useId, ft as Primitive, ht as createSlottable, it as StyleNamespace, nt as withSmartCollisionBoundary, ot as Presence, st as Portal, tt as withFullScreenAsRoot, ut as DismissableLayer, vt as composeEventHandlers } from "./Combination-
|
|
4
|
+
import { a as Content, i as Arrow, o as Root2, r as Anchor, s as createPopperScope, t as Root } from "./dist-WIWVvdBh.js";
|
|
5
|
+
import { m as useComposedRefs, y as cn } from "./button-DQpBib29.js";
|
|
6
|
+
import { _t as createContextScope, at as useControllableState, ct as useId, ft as Primitive, ht as createSlottable, it as StyleNamespace, nt as withSmartCollisionBoundary, ot as Presence, st as Portal, tt as withFullScreenAsRoot, ut as DismissableLayer, vt as composeEventHandlers } from "./Combination-Dk6JxauT.js";
|
|
7
7
|
import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
|
|
8
8
|
var import_react = /* @__PURE__ */ __toESM(require_react(), 1), import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1), [createTooltipContext, createTooltipScope] = createContextScope("Tooltip", [createPopperScope]), usePopperScope = createPopperScope(), PROVIDER_NAME = "TooltipProvider", DEFAULT_DELAY_DURATION = 700, TOOLTIP_OPEN = "tooltip.open", [TooltipProviderContextProvider, useTooltipProviderContext] = createTooltipContext(PROVIDER_NAME), TooltipProvider$1 = (t) => {
|
|
9
9
|
let { __scopeTooltip: k, delayDuration: A = DEFAULT_DELAY_DURATION, skipDelayDuration: j = 300, disableHoverableContent: M = false, children: N } = t, P = import_react.useRef(true), F = import_react.useRef(false), I = import_react.useRef(0);
|
|
@@ -5,17 +5,17 @@ var _a;
|
|
|
5
5
|
import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
|
|
6
6
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
7
7
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
8
|
-
import { a as Content, i as Arrow, l as createLucideIcon, o as Root2$1, r as Anchor, s as createPopperScope } from "./dist-
|
|
9
|
-
import { t as Check } from "./check-
|
|
10
|
-
import { A as $a916eb452884faea$export$b7a616150fdb9f44, C as useDirection, F as $b5e257d569688ac6$export$619500959fc48b26, I as X, L as ChevronUp, M as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, R as ChevronDown, _ as menuItemVariants, b as menuSubTriggerVariants, g as menuControlVariants, h as menuControlCheckVariants, j as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, k as upperFirst_default, m as menuContentCommon, v as menuLabelVariants, w as createCollection, y as menuSeparatorVariants } from "./label-
|
|
8
|
+
import { a as Content, i as Arrow, l as createLucideIcon, o as Root2$1, r as Anchor, s as createPopperScope } from "./dist-WIWVvdBh.js";
|
|
9
|
+
import { t as Check } from "./check-DpqPQmzz.js";
|
|
10
|
+
import { A as $a916eb452884faea$export$b7a616150fdb9f44, C as useDirection, F as $b5e257d569688ac6$export$619500959fc48b26, I as X, L as ChevronUp, M as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, R as ChevronDown, _ as menuItemVariants, b as menuSubTriggerVariants, g as menuControlVariants, h as menuControlCheckVariants, j as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, k as upperFirst_default, m as menuContentCommon, v as menuLabelVariants, w as createCollection, y as menuSeparatorVariants } from "./label-D036zdVU.js";
|
|
11
11
|
import { n as clsx_default } from "./clsx-D2KVTYnW.js";
|
|
12
|
-
import { g as Logger, h as Events, m as useComposedRefs, p as composeRefs, t as Button, y as cn } from "./button-
|
|
13
|
-
import { _t as createContextScope, at as useControllableState, ct as useId, dt as useCallbackRef, et as MAX_HEIGHT_OFFSET, ft as Primitive, i as useFocusGuards, it as StyleNamespace, mt as createSlot, n as hideOthers, nt as withSmartCollisionBoundary, ot as Presence, pt as dispatchDiscreteCustomEvent, r as FocusScope, st as Portal, t as Combination_default, tt as withFullScreenAsRoot, ut as DismissableLayer, vt as composeEventHandlers } from "./Combination-
|
|
12
|
+
import { g as Logger, h as Events, m as useComposedRefs, p as composeRefs, t as Button, y as cn } from "./button-DQpBib29.js";
|
|
13
|
+
import { _t as createContextScope, at as useControllableState, ct as useId, dt as useCallbackRef, et as MAX_HEIGHT_OFFSET, ft as Primitive, i as useFocusGuards, it as StyleNamespace, mt as createSlot, n as hideOthers, nt as withSmartCollisionBoundary, ot as Presence, pt as dispatchDiscreteCustomEvent, r as FocusScope, st as Portal, t as Combination_default, tt as withFullScreenAsRoot, ut as DismissableLayer, vt as composeEventHandlers } from "./Combination-Dk6JxauT.js";
|
|
14
14
|
import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
|
|
15
15
|
import { t as require_react_dom } from "./react-dom-CqtLRVZP.js";
|
|
16
16
|
import { t as toString_default } from "./toString-Ckpb50uw.js";
|
|
17
17
|
import { i as debounce_default, n as Constants } from "./constants-D1Tbg_6B.js";
|
|
18
|
-
import { C as useEvent_default } from "./useTheme-
|
|
18
|
+
import { C as useEvent_default } from "./useTheme-OvBNH9t3.js";
|
|
19
19
|
import { t as memoizeLastValue } from "./once-BqS42WgZ.js";
|
|
20
20
|
var ChevronRight = createLucideIcon("chevron-right", [["path", {
|
|
21
21
|
d: "m9 18 6-6-6-6",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
3
3
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
4
|
-
import { C as useEvent_default } from "./useTheme-
|
|
4
|
+
import { C as useEvent_default } from "./useTheme-OvBNH9t3.js";
|
|
5
5
|
import { t as invariant } from "./invariant-D9QLJ4SZ.js";
|
|
6
6
|
var import_compiler_runtime = require_compiler_runtime(), import_react = /* @__PURE__ */ __toESM(require_react(), 1), Result = {
|
|
7
7
|
error(e, s) {
|
|
@@ -4,12 +4,12 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4
4
|
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
|
-
import { l as createLucideIcon } from "./dist-
|
|
8
|
-
import { a as cva, g as Logger, y as cn } from "./button-
|
|
7
|
+
import { l as createLucideIcon } from "./dist-WIWVvdBh.js";
|
|
8
|
+
import { a as cva, g as Logger, y as cn } from "./button-DQpBib29.js";
|
|
9
9
|
import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
|
|
10
10
|
import { r as KnownQueryParams } from "./constants-D1Tbg_6B.js";
|
|
11
|
-
import { f as waitFor, p as isIslands, u as store, y as atom } from "./useTheme-
|
|
12
|
-
import { i as tableFromIPC } from "./loader-
|
|
11
|
+
import { f as waitFor, p as isIslands, u as store, y as atom } from "./useTheme-OvBNH9t3.js";
|
|
12
|
+
import { i as tableFromIPC } from "./loader-C62dRCuy.js";
|
|
13
13
|
var CircleQuestionMark = createLucideIcon("circle-question-mark", [
|
|
14
14
|
["circle", {
|
|
15
15
|
cx: "12",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
3
3
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
4
|
-
import { g as Logger } from "./button-
|
|
4
|
+
import { g as Logger } from "./button-DQpBib29.js";
|
|
5
5
|
import { n as once } from "./once-BqS42WgZ.js";
|
|
6
6
|
function testStorage(e) {
|
|
7
7
|
try {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
3
3
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
4
|
-
import { g as Logger, s as OverridingHotkeyProvider, u as resolvePlatform } from "./button-
|
|
5
|
-
import { B as record, H as string, L as number, O as array, P as looseObject, R as object, W as union, k as boolean, w as _enum } from "./Combination-
|
|
4
|
+
import { g as Logger, s as OverridingHotkeyProvider, u as resolvePlatform } from "./button-DQpBib29.js";
|
|
5
|
+
import { B as record, H as string, L as number, O as array, P as looseObject, R as object, W as union, k as boolean, w as _enum } from "./Combination-Dk6JxauT.js";
|
|
6
6
|
import { t as _baseIsEqual_default } from "./_baseIsEqual-5cAxzk6f.js";
|
|
7
7
|
import { t as merge_default } from "./merge-CGQkMGzr.js";
|
|
8
8
|
function isEqual(e, A) {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
3
3
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
4
|
-
import { S as CircleQuestionMark, a as AlertTitle, m as asRemoteURL, n as arrow, o as isValid, r as Alert, t as useDeepCompareMemoize } from "./useDeepCompareMemoize-
|
|
5
|
-
import { d as Objects, g as Logger, h as Events } from "./button-
|
|
6
|
-
import "./Combination-
|
|
4
|
+
import { S as CircleQuestionMark, a as AlertTitle, m as asRemoteURL, n as arrow, o as isValid, r as Alert, t as useDeepCompareMemoize } from "./useDeepCompareMemoize-DtbTAJq3.js";
|
|
5
|
+
import { d as Objects, g as Logger, h as Events } from "./button-DQpBib29.js";
|
|
6
|
+
import "./Combination-Dk6JxauT.js";
|
|
7
7
|
import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
|
|
8
8
|
import "./react-dom-CqtLRVZP.js";
|
|
9
|
-
import { t as Tooltip } from "./tooltip-
|
|
9
|
+
import { t as Tooltip } from "./tooltip-SPkubVH3.js";
|
|
10
10
|
import { i as debounce_default } from "./constants-D1Tbg_6B.js";
|
|
11
|
-
import { C as useEvent_default, n as useTheme } from "./useTheme-
|
|
12
|
-
import { a as tooltipHandler, n as vegaLoadData } from "./loader-
|
|
11
|
+
import { C as useEvent_default, n as useTheme } from "./useTheme-OvBNH9t3.js";
|
|
12
|
+
import { a as tooltipHandler, n as vegaLoadData } from "./loader-C62dRCuy.js";
|
|
13
13
|
import { t as uniq_default } from "./uniq-cCc07Q8K.js";
|
|
14
|
-
import { n as ErrorBanner } from "./error-banner-
|
|
14
|
+
import { n as ErrorBanner } from "./error-banner-BctofTCP.js";
|
|
15
15
|
import { n as formats } from "./vega-loader.browser-CQ-lnUkI.js";
|
|
16
|
-
import { t as useAsyncData } from "./useAsyncData-
|
|
16
|
+
import { t as useAsyncData } from "./useAsyncData-Ioeh75f8.js";
|
|
17
17
|
import { t as j } from "./react-vega-C6kwcd86.js";
|
|
18
18
|
import "./defaultLocale-Bklbu-Tp.js";
|
|
19
19
|
import "./defaultLocale-CfQ4kBaV.js";
|
package/package.json
CHANGED
|
@@ -27,6 +27,7 @@ export interface ActionButton {
|
|
|
27
27
|
handleHeadless?: (event?: Event) => void;
|
|
28
28
|
divider?: boolean;
|
|
29
29
|
dropdown?: ActionButton[];
|
|
30
|
+
additionalKeywords?: string[];
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
export function isParentAction(
|
|
@@ -51,6 +52,10 @@ export function flattenActions(
|
|
|
51
52
|
if (isParentAction(action)) {
|
|
52
53
|
return flattenActions(action.dropdown, `${prevLabel + action.label} > `);
|
|
53
54
|
}
|
|
54
|
-
return {
|
|
55
|
+
return {
|
|
56
|
+
...action,
|
|
57
|
+
label: prevLabel + action.label,
|
|
58
|
+
additionalKeywords: action.additionalKeywords,
|
|
59
|
+
};
|
|
55
60
|
});
|
|
56
61
|
}
|