@marimo-team/islands 0.23.11-dev9 → 0.23.11
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-Z3RP7Vmm.js → ConnectedDataExplorerComponent-WqG-xX4l.js} +13 -13
- package/dist/{ErrorBoundary-DpbaKVv7.js → ErrorBoundary-BNx_OSVo.js} +2 -2
- package/dist/{any-language-editor-CAgFD4Kd.js → any-language-editor-rPSlOll9.js} +5 -5
- package/dist/assets/__vite-browser-external-DAm_YW43.js +1 -0
- package/dist/assets/{worker-CC0Oul9k.js → worker-DEDLIQQV.js} +2 -2
- package/dist/{button-C5K9fIPF.js → button-vQhauTmO.js} +20 -0
- package/dist/{capabilities-BceAxrAW.js → capabilities-BEHzIS99.js} +1 -1
- package/dist/{chat-ui-c1FdlK-C.js → chat-ui-k2kqhCv5.js} +135 -106
- package/dist/{check-BCaJeT-J.js → check-nrzHDi45.js} +1 -1
- package/dist/{code-visibility-0vPSjYnM.js → code-visibility-CFUW5L3i.js} +81 -68
- package/dist/{copy-UqRYxiOg.js → copy-UhDed7D4.js} +2 -2
- package/dist/{dist-Dk6PV_d3.js → dist-DYGLrbYQ.js} +2 -2
- package/dist/{error-banner-CJXYJ6Sb.js → error-banner-BHAkVFc2.js} +2 -2
- package/dist/{esm-BaH2eg5-.js → esm-Bqu9AE2K.js} +1 -1
- package/dist/{extends-D_hDsj6R.js → extends-9Yl5BEcg.js} +4 -4
- package/dist/{formats-C4wO47tk.js → formats-BV4bOfMI.js} +3 -3
- package/dist/{glide-data-editor-BPkCPs7L.js → glide-data-editor-BDTq6YUb.js} +9 -9
- package/dist/{html-to-image-D5-EpALB.js → html-to-image-C86pQALH.js} +16 -16
- package/dist/{input-OdWHkobi.js → input-AKkGXdyV.js} +6 -6
- package/dist/{label-CC4ytI1X.js → label-E3ZJXHu8.js} +2 -2
- package/dist/{loader-BWLPpjKK.js → loader-YPuQvn1Y.js} +1 -1
- package/dist/main.js +981 -978
- package/dist/{mermaid-BotvIKg9.js → mermaid-QFAR9YgY.js} +5 -5
- package/dist/{process-output-WDZE0cyS.js → process-output-nNw4OpSj.js} +3 -3
- package/dist/{reveal-component-BZpDHGsk.js → reveal-component-0u6v5UUq.js} +10 -10
- package/dist/{spec-X7FwLJni.js → spec-B45_YCNI.js} +4 -4
- package/dist/{strings-J57tzLr3.js → strings-Cq2s9_EQ.js} +4 -4
- package/dist/style.css +1 -1
- package/dist/{swiper-component-B2t5sN1q.js → swiper-component-BNa_4kh2.js} +2 -2
- package/dist/{toDate-d8RCRrRd.js → toDate-Do1xRzAo.js} +3 -3
- package/dist/{tooltip-DpcyNkQ2.js → tooltip-Bz3OAwrU.js} +3 -3
- package/dist/{types-ChtMFmZ2.js → types-D8gEGs4R.js} +1 -1
- package/dist/{useAsyncData-PonK__yh.js → useAsyncData-CL3o2p4i.js} +1 -1
- package/dist/{useDateFormatter-QB-3MpYr.js → useDateFormatter-BC6iSz9g.js} +2 -2
- package/dist/{useDeepCompareMemoize-D3NGWke6.js → useDeepCompareMemoize-BPx2MuOK.js} +1 -1
- package/dist/{useIframeCapabilities-C4JTXTIh.js → useIframeCapabilities-C6Ta3EyP.js} +1 -1
- package/dist/{useLifecycle-00mO3OSS.js → useLifecycle-C3Ec71q0.js} +3 -3
- package/dist/{useTheme-DEhDzATN.js → useTheme-ZhT6uIu3.js} +4 -3
- package/dist/{vega-component-DGPUhbDs.js → vega-component-C3AWYGAL.js} +10 -10
- package/dist/{zod-aLSua2NL.js → zod-DXqkaI_w.js} +1 -1
- package/package.json +1 -1
- package/src/components/ai/ai-model-dropdown.tsx +6 -0
- package/src/components/app-config/ai-config.tsx +73 -55
- package/src/components/app-config/data-form.tsx +33 -43
- package/src/components/app-config/is-overridden.tsx +125 -58
- package/src/components/app-config/user-config-form.tsx +178 -227
- package/src/components/chat/chat-display.tsx +5 -0
- package/src/components/chat/chat-panel.tsx +21 -8
- package/src/components/chat/tool-call/tool-call-view.tsx +4 -0
- package/src/components/chat/tool-call/tool-history-row.tsx +26 -5
- package/src/components/data-table/TableTopBar.tsx +4 -4
- package/src/components/data-table/__tests__/columns.test.tsx +20 -0
- package/src/components/data-table/__tests__/data-table.test.tsx +28 -0
- package/src/components/data-table/columns.tsx +16 -1
- package/src/components/data-table/data-table.tsx +3 -3
- package/src/components/data-table/filters/types.ts +1 -0
- package/src/components/data-table/renderers.tsx +5 -1
- package/src/components/datasources/__tests__/install-package-button.test.tsx +11 -0
- package/src/components/datasources/__tests__/utils.test.ts +127 -2
- package/src/components/datasources/datasources.tsx +44 -17
- package/src/components/datasources/install-package-button.tsx +3 -1
- package/src/components/datasources/utils.ts +45 -0
- package/src/components/editor/actions/useNotebookActions.tsx +62 -21
- package/src/components/editor/actions/useSetCodeVisibility.ts +57 -0
- package/src/components/editor/header/__tests__/status.test.tsx +0 -4
- package/src/components/editor/header/status.tsx +2 -3
- package/src/core/cells/__tests__/cells.test.ts +33 -0
- package/src/core/cells/cells.ts +1 -1
- package/src/core/config/config-schema.ts +6 -1
- package/src/core/edit-app.tsx +14 -0
- package/src/core/hotkeys/hotkeys.ts +20 -0
- package/src/core/websocket/__tests__/useMarimoKernelConnection.test.ts +0 -13
- package/src/core/websocket/types.ts +0 -1
- package/src/core/websocket/useMarimoKernelConnection.tsx +0 -14
- package/src/css/app/print.css +8 -0
- package/src/css/md.css +12 -0
- package/src/plugins/impl/DataTablePlugin.tsx +12 -5
- package/src/plugins/impl/__tests__/DataTablePlugin.test.tsx +1 -1
- package/src/plugins/impl/chat/chat-ui.tsx +1 -0
- package/src/plugins/impl/data-frames/DataFramePlugin.tsx +1 -1
- package/dist/assets/__vite-browser-external-eshhtsgZ.js +0 -1
- package/src/components/editor/actions/useHideAllMarkdownCode.ts +0 -53
|
@@ -2,39 +2,39 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
|
|
5
|
-
import { _ as Logger, c as Objects, g as cn, h as Events, m as useComposedRefs, n as buttonVariants, p as composeRefs, r as cva, t as Button, v as Functions } from "./button-
|
|
5
|
+
import { _ as Logger, c as Objects, g as cn, h as Events, m as useComposedRefs, n as buttonVariants, p as composeRefs, r as cva, t as Button, v as Functions } from "./button-vQhauTmO.js";
|
|
6
6
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
7
7
|
import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
8
|
-
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-
|
|
9
|
-
import { $t as extractAllTracebackInfo, A as ChevronRightIcon, An as Minus, At as goToCellLine, Bt as DATA_TYPE_ICON, C as AccordionContent, Ct as Checkbox, En as Trash2, Fn as Eye, Ft as adaptForLocalStorage, Hn as esm_default, I as base64ToUint8Array, In as ExternalLink, It as jotaiJsonStorage, M as PinLeftIcon, N as PinRightIcon, Nn as Info, Nt as useChromeActions, O as CheckIcon, Pn as FileText, Qt as elementContainsMarimoCellFile, R as extractBase64FromDataURL, Rt as PluralWord, S as Accordion, T as AccordionTrigger, Tn as Wrench, Un as import_lib, V as renderHTML, Vn as Braces, Vt as getDataTypeColor, X as notebookAtom, Yt as useRequestClient, _n as atomWithStorage, _t as DATA_CELL_ID, bn as Close$1, c as Popover, cn as HTMLCellId, d as PopoverTrigger, dt as viewStateAtom, en as getTracebackInfo, et as useCellActions, ft as outputIsLoading, g as getDatasourceContext, gt as sanitizeHtml, hn as jsonToMarkdown, j as DotFilledIcon, jn as LoaderCircle, kn as NotebookPen, l as PopoverClose, ln as SCRATCH_CELL_ID, lt as kioskModeAtom, m as useExpandedOutput, mn as jsonParseWithSpecialChar, n as Spinner, nt as useCellNames, ot as AnsiUp, q as getCellEditorView, qt as getRequestClient, r as MarkdownRenderer, rn as filenameAtom, sn as CellOutputId, t as toPng, tt as useCellIds, u as PopoverContent, ut as useInstallAllowed, vt as getCellDomProps, w as AccordionItem, yt as displayCellName, z as isDataURLString, zn as CircleX, __tla as __tla_0 } from "./html-to-image-
|
|
10
|
-
import { o as useSize, u as createLucideIcon } from "./dist-
|
|
11
|
-
import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLifecycle-
|
|
12
|
-
import { a as ListFilter, i as Table$1, n as $fb18d541ea1ad717$export$ad991b66133851cf, o as ChartPie, r as $5a387cc49350e6db$export$722debc0e56fea39, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-
|
|
13
|
-
import { t as Check } from "./check-
|
|
14
|
-
import { C as logNever, E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, I as X, N as usePrevious$1, O as $b5e257d569688ac6$export$535bd6ca7f90a273, P as useDirection, R as ChevronDown, S as assertNever, T as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, _ as menuControlVariants, b as menuSeparatorVariants, f as selectStyles, g as menuControlCheckVariants, h as menuContentCommon, i as SelectContent, l as SelectTrigger, o as SelectItem, p as MENU_ITEM_DISABLED, r as Select, t as Strings, u as SelectValue, v as menuItemVariants, w as $a916eb452884faea$export$b7a616150fdb9f44, x as menuSubTriggerVariants, y as menuLabelVariants } from "./strings-
|
|
15
|
-
import { $ as $e93e671b31057976$export$b8473d3665f3a75a, $t as Item2$2, A as $ee014567cb39d3f0$export$ff05c3ac10437e03, At as $c87311424ea30a05$export$78551043582a6a98, B as $64fa3d84918910a7$export$4d86445c2cf5e3, Bt as $d4ee10de306f2510$export$e58f029f0fbfdb29, C as DropdownMenuTrigger, Ct as $b4b717babfbb907b$export$bebd5a1431fec25d, D as $a049562f99e7db0e$export$f9c6924e160136d1, Dt as $df56164dff5785e2$export$4338b53315abf666, E as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Et as $8ae05eaa5c114e9c$export$7f54fc3180508a52, F as $01b77f81d0f07f68$export$75b6ee27786ba447, Ft as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, G as $64fa3d84918910a7$export$ef03459518577ad4, Gt as $bdb11010cef70236$export$b4cc09c592e8fdb8, H as $64fa3d84918910a7$export$c245e6201fed2f75, Ht as $431fbd86ca7dc216$export$b204af158042fbac, I as $01b77f81d0f07f68$export$b04be29aa201d4f5, It as $3ef42575df84b30b$export$9d1611c77c2fe928, J as marked, Jt as Anchor2, K as $64fa3d84918910a7$export$fabf2dc03a41866e, Kt as $bdb11010cef70236$export$f680877a34711e37, L as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Lt as $d4ee10de306f2510$export$4282f70798064fe0, M as $514c0188e459b4c0$export$9afb8bc826b033ea, Mt as $c87311424ea30a05$export$a11b0059900ceec8, N as $d2b4bc8c273e7be6$export$24d547caef80ccd1, Nt as $c87311424ea30a05$export$fedb369cb70207f1, O as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Ot as $313b98861ee5dd6c$export$d6875122194c7b44, P as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, Pt as $7215afc6de606d6b$export$de79e2c695e052f3, Q as $2baaea4c71418dea$export$294aa081a6c6f55d, Qt as Group, R as $64fa3d84918910a7$export$2881499e37b75b9a, Rt as $d4ee10de306f2510$export$b4f377a2b6254582, S as DropdownMenuSubTrigger, St as $b4b717babfbb907b$export$4c063cf1350e6fed, T as $3985021b0ad6602f$export$f5b8910cec6cf069, Tt as $e9faafb641e167db$export$90fc3a17d93f704c, U as $64fa3d84918910a7$export$c62b8e45d58ddad9, Ut as $431fbd86ca7dc216$export$f21a1ffae260145a, V as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, Vt as $f4e2df6bd15f8569$export$98658e8c59125e6a, W as $64fa3d84918910a7$export$df3a06d6289f983e, Wt as $ff5963eb1fccf552$export$e08e3b67e392101e, Xt as CheckboxItem, Yt as Arrow2, Z as $d2e8511e6f209edf$export$e908e06f4b8e3402, Zt as Content2$1, _ as DropdownMenuPortal, _t as $f6c31cce2adf654f$export$45712eceda6fad21, a as NumberField, an as Root3, at as $319e236875307eab$export$a9b970dcc4ae71a9, b as DropdownMenuSub, bt as $9446cca9a3875146$export$7d15b64cf5a3a4c4, c as prettyEngineeringNumber, cn as SubContent, ct as $6c7bd7858deea686$export$cd11ab140839f11d, dn as Item, dt as $6db58dc88e78b024$export$2f817fcdc4b89ae0, en as ItemIndicator, et as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, f as DropdownMenu, fn as Root$3, ft as $5b160d28a433310d$export$c17fa47878dc55b6, g as DropdownMenuLabel, gn as ChevronRight, gt as $507fabe10e71c6fb$export$630ff653c5ada6a9, h as DropdownMenuItem, hn as Circle, ht as $3ad3f6e1647bc98d$export$80f3e147d781571c, in as RadioItem, it as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, j as $514c0188e459b4c0$export$5f1af8db9871e1d6, jt as $c87311424ea30a05$export$9ac100e40613ea10, k as $ee014567cb39d3f0$export$f551688fc98f2e09, kt as $c87311424ea30a05$export$6446a186d09e379e, l as prettyNumber, ln as SubTrigger, lt as $fca6afa0e843324b$export$87b761675e8eaa10, mn as Search, mt as $9ab94262bd0047c7$export$420e68273165f4ec, nn as Portal, nt as $e5be200c675c3b3a$export$aca958c65c314e6c, on as Separator$1, ot as $f7dceffc5ad7768b$export$4e328f61c538687f, p as DropdownMenuContent, pn as createRovingFocusGroupScope, pt as $6179b936705e76d3$export$ae780daf29e6d456, qt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, r as Input, rn as RadioGroup$2, rt as $e5be200c675c3b3a$export$dad6ae84456c676a, s as maxFractionalDigits, sn as Sub, tn as Label$1, tt as $e5be200c675c3b3a$export$a763b9476acd3eb, u as prettyScientificNumber, un as createMenuScope, ut as $fca6afa0e843324b$export$f12b703ca79dfbb1, v as DropdownMenuSeparator, vt as _class_private_field_init, w as $3985021b0ad6602f$export$37fb8590cf2c088c, wt as $99facab73266f662$export$5add1d006293d136, x as DropdownMenuSubContent, xt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, yt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, z as $64fa3d84918910a7$export$29f1550f4b0d4415, zt as $d4ee10de306f2510$export$cd4e5573fbe2b576 } from "./input-
|
|
16
|
-
import { _ as isWasm, a as millisecondsInMinute, c as asRemoteURL, d as isStaticNotebook, i as millisecondsInHour, n as constructFrom, o as millisecondsInSecond, p as isUrl, r as millisecondsInDay, s as millisecondsInWeek, t as toDate } from "./toDate-
|
|
17
|
-
import { r as Plus, t as ErrorBoundary } from "./ErrorBoundary-
|
|
8
|
+
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-UhDed7D4.js";
|
|
9
|
+
import { $t as extractAllTracebackInfo, A as ChevronRightIcon, An as Minus, At as goToCellLine, Bt as DATA_TYPE_ICON, C as AccordionContent, Ct as Checkbox, En as Trash2, Fn as Eye, Ft as adaptForLocalStorage, Hn as esm_default, I as base64ToUint8Array, In as ExternalLink, It as jotaiJsonStorage, M as PinLeftIcon, N as PinRightIcon, Nn as Info, Nt as useChromeActions, O as CheckIcon, Pn as FileText, Qt as elementContainsMarimoCellFile, R as extractBase64FromDataURL, Rt as PluralWord, S as Accordion, T as AccordionTrigger, Tn as Wrench, Un as import_lib, V as renderHTML, Vn as Braces, Vt as getDataTypeColor, X as notebookAtom, Yt as useRequestClient, _n as atomWithStorage, _t as DATA_CELL_ID, bn as Close$1, c as Popover, cn as HTMLCellId, d as PopoverTrigger, dt as viewStateAtom, en as getTracebackInfo, et as useCellActions, ft as outputIsLoading, g as getDatasourceContext, gt as sanitizeHtml, hn as jsonToMarkdown, j as DotFilledIcon, jn as LoaderCircle, kn as NotebookPen, l as PopoverClose, ln as SCRATCH_CELL_ID, lt as kioskModeAtom, m as useExpandedOutput, mn as jsonParseWithSpecialChar, n as Spinner, nt as useCellNames, ot as AnsiUp, q as getCellEditorView, qt as getRequestClient, r as MarkdownRenderer, rn as filenameAtom, sn as CellOutputId, t as toPng, tt as useCellIds, u as PopoverContent, ut as useInstallAllowed, vt as getCellDomProps, w as AccordionItem, yt as displayCellName, z as isDataURLString, zn as CircleX, __tla as __tla_0 } from "./html-to-image-C86pQALH.js";
|
|
10
|
+
import { o as useSize, u as createLucideIcon } from "./dist-DYGLrbYQ.js";
|
|
11
|
+
import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLifecycle-C3Ec71q0.js";
|
|
12
|
+
import { a as ListFilter, i as Table$1, n as $fb18d541ea1ad717$export$ad991b66133851cf, o as ChartPie, r as $5a387cc49350e6db$export$722debc0e56fea39, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-BC6iSz9g.js";
|
|
13
|
+
import { t as Check } from "./check-nrzHDi45.js";
|
|
14
|
+
import { C as logNever, E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, I as X, N as usePrevious$1, O as $b5e257d569688ac6$export$535bd6ca7f90a273, P as useDirection, R as ChevronDown, S as assertNever, T as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, _ as menuControlVariants, b as menuSeparatorVariants, f as selectStyles, g as menuControlCheckVariants, h as menuContentCommon, i as SelectContent, l as SelectTrigger, o as SelectItem, p as MENU_ITEM_DISABLED, r as Select, t as Strings, u as SelectValue, v as menuItemVariants, w as $a916eb452884faea$export$b7a616150fdb9f44, x as menuSubTriggerVariants, y as menuLabelVariants } from "./strings-Cq2s9_EQ.js";
|
|
15
|
+
import { $ as $e93e671b31057976$export$b8473d3665f3a75a, $t as Item2$2, A as $ee014567cb39d3f0$export$ff05c3ac10437e03, At as $c87311424ea30a05$export$78551043582a6a98, B as $64fa3d84918910a7$export$4d86445c2cf5e3, Bt as $d4ee10de306f2510$export$e58f029f0fbfdb29, C as DropdownMenuTrigger, Ct as $b4b717babfbb907b$export$bebd5a1431fec25d, D as $a049562f99e7db0e$export$f9c6924e160136d1, Dt as $df56164dff5785e2$export$4338b53315abf666, E as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, Et as $8ae05eaa5c114e9c$export$7f54fc3180508a52, F as $01b77f81d0f07f68$export$75b6ee27786ba447, Ft as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, G as $64fa3d84918910a7$export$ef03459518577ad4, Gt as $bdb11010cef70236$export$b4cc09c592e8fdb8, H as $64fa3d84918910a7$export$c245e6201fed2f75, Ht as $431fbd86ca7dc216$export$b204af158042fbac, I as $01b77f81d0f07f68$export$b04be29aa201d4f5, It as $3ef42575df84b30b$export$9d1611c77c2fe928, J as marked, Jt as Anchor2, K as $64fa3d84918910a7$export$fabf2dc03a41866e, Kt as $bdb11010cef70236$export$f680877a34711e37, L as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Lt as $d4ee10de306f2510$export$4282f70798064fe0, M as $514c0188e459b4c0$export$9afb8bc826b033ea, Mt as $c87311424ea30a05$export$a11b0059900ceec8, N as $d2b4bc8c273e7be6$export$24d547caef80ccd1, Nt as $c87311424ea30a05$export$fedb369cb70207f1, O as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Ot as $313b98861ee5dd6c$export$d6875122194c7b44, P as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, Pt as $7215afc6de606d6b$export$de79e2c695e052f3, Q as $2baaea4c71418dea$export$294aa081a6c6f55d, Qt as Group, R as $64fa3d84918910a7$export$2881499e37b75b9a, Rt as $d4ee10de306f2510$export$b4f377a2b6254582, S as DropdownMenuSubTrigger, St as $b4b717babfbb907b$export$4c063cf1350e6fed, T as $3985021b0ad6602f$export$f5b8910cec6cf069, Tt as $e9faafb641e167db$export$90fc3a17d93f704c, U as $64fa3d84918910a7$export$c62b8e45d58ddad9, Ut as $431fbd86ca7dc216$export$f21a1ffae260145a, V as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, Vt as $f4e2df6bd15f8569$export$98658e8c59125e6a, W as $64fa3d84918910a7$export$df3a06d6289f983e, Wt as $ff5963eb1fccf552$export$e08e3b67e392101e, Xt as CheckboxItem, Yt as Arrow2, Z as $d2e8511e6f209edf$export$e908e06f4b8e3402, Zt as Content2$1, _ as DropdownMenuPortal, _t as $f6c31cce2adf654f$export$45712eceda6fad21, a as NumberField, an as Root3, at as $319e236875307eab$export$a9b970dcc4ae71a9, b as DropdownMenuSub, bt as $9446cca9a3875146$export$7d15b64cf5a3a4c4, c as prettyEngineeringNumber, cn as SubContent, ct as $6c7bd7858deea686$export$cd11ab140839f11d, dn as Item, dt as $6db58dc88e78b024$export$2f817fcdc4b89ae0, en as ItemIndicator, et as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, f as DropdownMenu, fn as Root$3, ft as $5b160d28a433310d$export$c17fa47878dc55b6, g as DropdownMenuLabel, gn as ChevronRight, gt as $507fabe10e71c6fb$export$630ff653c5ada6a9, h as DropdownMenuItem, hn as Circle, ht as $3ad3f6e1647bc98d$export$80f3e147d781571c, in as RadioItem, it as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, j as $514c0188e459b4c0$export$5f1af8db9871e1d6, jt as $c87311424ea30a05$export$9ac100e40613ea10, k as $ee014567cb39d3f0$export$f551688fc98f2e09, kt as $c87311424ea30a05$export$6446a186d09e379e, l as prettyNumber, ln as SubTrigger, lt as $fca6afa0e843324b$export$87b761675e8eaa10, mn as Search, mt as $9ab94262bd0047c7$export$420e68273165f4ec, nn as Portal, nt as $e5be200c675c3b3a$export$aca958c65c314e6c, on as Separator$1, ot as $f7dceffc5ad7768b$export$4e328f61c538687f, p as DropdownMenuContent, pn as createRovingFocusGroupScope, pt as $6179b936705e76d3$export$ae780daf29e6d456, qt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, r as Input, rn as RadioGroup$2, rt as $e5be200c675c3b3a$export$dad6ae84456c676a, s as maxFractionalDigits, sn as Sub, tn as Label$1, tt as $e5be200c675c3b3a$export$a763b9476acd3eb, u as prettyScientificNumber, un as createMenuScope, ut as $fca6afa0e843324b$export$f12b703ca79dfbb1, v as DropdownMenuSeparator, vt as _class_private_field_init, w as $3985021b0ad6602f$export$37fb8590cf2c088c, wt as $99facab73266f662$export$5add1d006293d136, x as DropdownMenuSubContent, xt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, yt as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, z as $64fa3d84918910a7$export$29f1550f4b0d4415, zt as $d4ee10de306f2510$export$cd4e5573fbe2b576 } from "./input-AKkGXdyV.js";
|
|
16
|
+
import { _ as isWasm, a as millisecondsInMinute, c as asRemoteURL, d as isStaticNotebook, i as millisecondsInHour, n as constructFrom, o as millisecondsInSecond, p as isUrl, r as millisecondsInDay, s as millisecondsInWeek, t as toDate } from "./toDate-Do1xRzAo.js";
|
|
17
|
+
import { r as Plus, t as ErrorBoundary } from "./ErrorBoundary-BNx_OSVo.js";
|
|
18
18
|
import { n as clsx_default } from "./clsx-CIWA5tNO.js";
|
|
19
19
|
import { t as require_react_dom } from "./react-dom-BTJzcVJ9.js";
|
|
20
20
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
21
|
-
import { Q as withSmartCollisionBoundary, Y as MAX_HEIGHT_OFFSET, Z as withFullScreenAsRoot, _t as createContextScope, dt as useId$2, et as StyleNamespace, ft as Presence, ht as composeEventHandlers, pt as useControllableState, ut as useCallbackRef, vt as Primitive$1 } from "./zod-
|
|
22
|
-
import { a as prettyError, c as Portal$1, l as Root$4, n as ErrorBanner, o as Content$1, s as Overlay, t as Banner } from "./error-banner-
|
|
23
|
-
import { a as TooltipRoot, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, t as Tooltip } from "./tooltip-
|
|
24
|
-
import { f as CopyClipboardIcon, t as _extends } from "./extends-
|
|
21
|
+
import { Q as withSmartCollisionBoundary, Y as MAX_HEIGHT_OFFSET, Z as withFullScreenAsRoot, _t as createContextScope, dt as useId$2, et as StyleNamespace, ft as Presence, ht as composeEventHandlers, pt as useControllableState, ut as useCallbackRef, vt as Primitive$1 } from "./zod-DXqkaI_w.js";
|
|
22
|
+
import { a as prettyError, c as Portal$1, l as Root$4, n as ErrorBanner, o as Content$1, s as Overlay, t as Banner } from "./error-banner-BHAkVFc2.js";
|
|
23
|
+
import { a as TooltipRoot, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, t as Tooltip } from "./tooltip-Bz3OAwrU.js";
|
|
24
|
+
import { f as CopyClipboardIcon, t as _extends } from "./extends-9Yl5BEcg.js";
|
|
25
25
|
import { r as KnownQueryParams } from "./constants-T20xxyNf.js";
|
|
26
|
-
import { C as getBuildingBlocks, S as buildStore, T as useEvent_default, _ as useAtomValue, b as atom, f as useJotaiEffect, g as useAtom, h as Provider, n as useTheme, r as aiFeaturesEnabledAtom, s as resolvedMarimoConfigAtom, v as useSetAtom, w as dequal, y as useStore } from "./useTheme-
|
|
26
|
+
import { C as getBuildingBlocks, S as buildStore, T as useEvent_default, _ as useAtomValue, b as atom, f as useJotaiEffect, g as useAtom, h as Provider, n as useTheme, r as aiFeaturesEnabledAtom, s as resolvedMarimoConfigAtom, v as useSetAtom, w as dequal, y as useStore } from "./useTheme-ZhT6uIu3.js";
|
|
27
27
|
import { $ as EditorView } from "./dist-U4F-tbMs.js";
|
|
28
28
|
import { t as invariant } from "./invariant-wRzNXIsJ.js";
|
|
29
29
|
import { c as uniqueBy, t as Arrays } from "./arrays-sEtDRoG4.js";
|
|
30
30
|
import { n as once, t as memoizeLastValue } from "./once-DPuqGUeo.js";
|
|
31
31
|
import { a as parser } from "./dist-C_Y3oV3C.js";
|
|
32
|
-
import { a as isValid, i as AlertTitle, n as Alert, t as arrow } from "./formats-
|
|
32
|
+
import { a as isValid, i as AlertTitle, n as Alert, t as arrow } from "./formats-BV4bOfMI.js";
|
|
33
33
|
import { n as memoize$1, t as isPropValid } from "./emotion-is-prop-valid.esm-DzSb5hsH.js";
|
|
34
34
|
import { n as formats } from "./vega-loader.browser-CZ-J8Py3.js";
|
|
35
|
-
import { a as getContainerWidth, n as vegaLoadData, r as createBatchedLoader, s as tooltipHandler, t as parseCsvData } from "./loader-
|
|
36
|
-
import { t as useIframeCapabilities } from "./useIframeCapabilities-
|
|
37
|
-
import { t as useAsyncData } from "./useAsyncData-
|
|
35
|
+
import { a as getContainerWidth, n as vegaLoadData, r as createBatchedLoader, s as tooltipHandler, t as parseCsvData } from "./loader-YPuQvn1Y.js";
|
|
36
|
+
import { t as useIframeCapabilities } from "./useIframeCapabilities-C6Ta3EyP.js";
|
|
37
|
+
import { t as useAsyncData } from "./useAsyncData-CL3o2p4i.js";
|
|
38
38
|
let contextAwarePanelOpen, $fae977aafc393c5c$export$6b862160d295c8e, prettifyRowCount, SELECT_COLUMN_ID, DatePicker, TabsContent, downloadSizeLimitAtom, DelayMount, ErrorState, loadTableAndRawData, EmptyState, getPageIndexForRow, ContextMenuSeparator, Maps, CommandEmpty, ChartLoadingState, Combobox, TabsTrigger, ContextMenuTrigger, dateToLocalISODate, CommandList, RenderTextWithLinks, CommandInput, LazyVegaEmbed, useInternalStateWithSync, dateToLocalISODateTime, ContextMenu, toFieldTypes, ContextMenuContent, getMimeValues, LoadingState, loadTableData, ContextMenuItem, isNullishFilter, PANEL_TYPES, $fae977aafc393c5c$export$588937bcd60ade55, useSelectList, dateToLocalISOTime, Filenames, ColumnChartSpecModel, ColumnPreviewContainer, usePrevious, ComboboxItem, ChartErrorState, DateRangePicker, TabsList, Command, ChartInfoState, smartMatch, HtmlOutput, CommandSeparator, Kbd, ContextAwarePanelItem, EmotionCacheProvider, ADD_PRINTING_CLASS, NAMELESS_COLUMN_PREFIX, DEFAULT_SLIDE_TYPE, Ellipsis, Toggle, downloadHTMLAsImage, renderCellValue, Slide, ChevronsUpDown, PanelResizeHandle, RadioGroupItem, ChevronsDownUp, Table, TextWrap, contextAwarePanelOwner, JsonOutput, ChevronLeft, TableBody, InstallPackageButton, TableRow, DataTable, TableHeader, DEFAULT_DECK_TRANSITION, Expand, slotsController, getColumnCountForDisplay, TOO_MANY_ROWS, prettifyRowColumnCount, INDEX_COLUMN_NAME, Switch, ChevronsRight, Fill, OutputRenderer, TableHead, marimoVersionAtom, Funnel, isCellAwareAtom, SLIDE_TYPE_OPTIONS_BY_VALUE, Download, Panel, OutputArea, ArrowDownWideNarrow, TableCell, CommandItem, useOverflowDetection, showCodeInRunModeAtom, EyeOff, SlotNames, SlideSidebar, Code, PanelGroup, useNotebookCodeAvailable, GripHorizontal, contextAwarePanelType, RadioGroup, ChevronsLeft, Provider$1, downloadBlob, generateColumns, ColumnName, useIntersectionObserver, Progress, ColumnChartContext, downloadByURL, inferFieldTypes, CompactChipRow, Tabs;
|
|
39
39
|
let __tla = Promise.all([
|
|
40
40
|
(() => {
|
|
@@ -25758,10 +25758,10 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
25758
25758
|
});
|
|
25759
25759
|
}), Objects.entries(t);
|
|
25760
25760
|
};
|
|
25761
|
-
generateColumns = function({ rowHeaders: e, selection: t, fieldTypes: n, chartSpecModel: i, textJustifyColumns: o, wrappedColumns: s, headerTooltip: c, showDataTypes: d, calculateTopKRows: f, fractionDigitsByColumn: h }) {
|
|
25762
|
-
let
|
|
25761
|
+
generateColumns = function({ rowHeaders: e, selection: t, fieldTypes: n, chartSpecModel: i, textJustifyColumns: o, wrappedColumns: s, headerTooltip: c, showDataTypes: d, calculateTopKRows: f, fractionDigitsByColumn: h, columnWidths: _ }) {
|
|
25762
|
+
let v = new Set(e.map(([e2]) => e2)), y = Maps.keyBy(n, (e2) => e2[0]), S = (t2) => {
|
|
25763
25763
|
var _a2, _b;
|
|
25764
|
-
let n2 = (_a2 =
|
|
25764
|
+
let n2 = (_a2 = y.get(t2)) == null ? void 0 : _a2[1], i2 = v.has(t2);
|
|
25765
25765
|
if (i2 || !n2) {
|
|
25766
25766
|
let n3 = (_b = e.find(([e2]) => e2 === t2)) == null ? void 0 : _b[1];
|
|
25767
25767
|
return {
|
|
@@ -25778,22 +25778,22 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
25778
25778
|
dataType: n2[0],
|
|
25779
25779
|
minFractionDigits: h == null ? void 0 : h[t2]
|
|
25780
25780
|
};
|
|
25781
|
-
},
|
|
25781
|
+
}, w = (e2) => {
|
|
25782
25782
|
if (o == null ? void 0 : o[e2]) return o[e2];
|
|
25783
|
-
let t2 =
|
|
25783
|
+
let t2 = S(e2).dataType;
|
|
25784
25784
|
if (isNumericType(t2)) return "right";
|
|
25785
|
-
},
|
|
25786
|
-
...
|
|
25785
|
+
}, E = [
|
|
25786
|
+
...v,
|
|
25787
25787
|
...n.map(([e2]) => e2)
|
|
25788
|
-
],
|
|
25789
|
-
|
|
25790
|
-
let
|
|
25788
|
+
], O = E.indexOf(INDEX_COLUMN_NAME);
|
|
25789
|
+
O !== -1 && E.splice(O, 1);
|
|
25790
|
+
let A = E.map((e2, n2) => ({
|
|
25791
25791
|
id: e2 || `__m_column__${n2}`,
|
|
25792
25792
|
accessorFn: (t2) => t2[e2],
|
|
25793
|
-
enableHiding: !
|
|
25793
|
+
enableHiding: !v.has(e2) && e2 !== "",
|
|
25794
25794
|
header: ({ column: t2, table: n3 }) => {
|
|
25795
25795
|
var _a2;
|
|
25796
|
-
let s2 = i == null ? void 0 : i.getColumnStats(e2), h2 = (_a2 = t2.columnDef.meta) == null ? void 0 : _a2.dtype,
|
|
25796
|
+
let s2 = i == null ? void 0 : i.getColumnStats(e2), h2 = (_a2 = t2.columnDef.meta) == null ? void 0 : _a2.dtype, _2 = c == null ? void 0 : c[e2], y2 = o == null ? void 0 : o[e2], S2 = d && h2 ? (0, import_jsx_runtime.jsxs)("div", {
|
|
25797
25797
|
className: cn("flex flex-row gap-1", y2 === "center" && "justify-center", y2 === "right" && "justify-end"),
|
|
25798
25798
|
children: [
|
|
25799
25799
|
(0, import_jsx_runtime.jsx)("span", {
|
|
@@ -25810,11 +25810,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
25810
25810
|
})
|
|
25811
25811
|
]
|
|
25812
25812
|
}) : null, w2 = (0, import_jsx_runtime.jsx)("span", {
|
|
25813
|
-
className: cn("font-bold",
|
|
25813
|
+
className: cn("font-bold", _2 && "underline decoration-dotted"),
|
|
25814
25814
|
children: e2 === "" ? " " : e2
|
|
25815
25815
|
}), E2 = (0, import_jsx_runtime.jsx)(DataTableColumnHeader, {
|
|
25816
|
-
header:
|
|
25817
|
-
content:
|
|
25816
|
+
header: _2 ? (0, import_jsx_runtime.jsx)(Tooltip, {
|
|
25817
|
+
content: _2,
|
|
25818
25818
|
delayDuration: 300,
|
|
25819
25819
|
children: w2
|
|
25820
25820
|
}) : w2,
|
|
@@ -25824,7 +25824,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
25824
25824
|
calculateTopKRows: f,
|
|
25825
25825
|
table: n3
|
|
25826
25826
|
});
|
|
25827
|
-
return
|
|
25827
|
+
return v.has(e2) ? E2 : (0, import_jsx_runtime.jsxs)("div", {
|
|
25828
25828
|
className: cn("flex flex-col h-full pt-0.5 pb-3 justify-between items-start", y2 === "center" && "items-center", y2 === "right" && "items-end"),
|
|
25829
25829
|
children: [
|
|
25830
25830
|
E2,
|
|
@@ -25840,7 +25840,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
25840
25840
|
var _a3;
|
|
25841
25841
|
t !== "single-cell" && t !== "multi-cell" || ((_a3 = o2.toggleSelected) == null ? void 0 : _a3.call(o2));
|
|
25842
25842
|
}
|
|
25843
|
-
let d2 =
|
|
25843
|
+
let d2 = w(e2), f2 = s == null ? void 0 : s.includes(e2), h2 = ((_a2 = o2 == null ? void 0 : o2.getIsSelected) == null ? void 0 : _a2.call(o2)) || false, _2 = (t === "single-cell" || t === "multi-cell") && !h2, y2 = (_b = n3.columnDef.meta) == null ? void 0 : _b.dataType, S2 = renderCellValue({
|
|
25844
25844
|
column: n3,
|
|
25845
25845
|
renderValue: i2,
|
|
25846
25846
|
getValue: a,
|
|
@@ -25848,20 +25848,28 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
25848
25848
|
cellStyles: getCellStyleClass({
|
|
25849
25849
|
justify: d2,
|
|
25850
25850
|
wrapped: f2,
|
|
25851
|
-
canSelectCell:
|
|
25851
|
+
canSelectCell: _2,
|
|
25852
25852
|
isSelected: h2,
|
|
25853
25853
|
isNumeric: isNumericType(y2)
|
|
25854
25854
|
})
|
|
25855
25855
|
});
|
|
25856
|
-
return
|
|
25857
|
-
children:
|
|
25858
|
-
}) :
|
|
25856
|
+
return v.has(e2) ? (0, import_jsx_runtime.jsx)("b", {
|
|
25857
|
+
children: S2
|
|
25858
|
+
}) : S2;
|
|
25859
25859
|
},
|
|
25860
25860
|
filterFn: void 0,
|
|
25861
25861
|
enableSorting: !!e2,
|
|
25862
|
-
meta:
|
|
25862
|
+
meta: {
|
|
25863
|
+
...S(e2),
|
|
25864
|
+
width: _ == null ? void 0 : _[e2]
|
|
25865
|
+
},
|
|
25866
|
+
...(_ == null ? void 0 : _[e2]) === void 0 ? {} : {
|
|
25867
|
+
size: _[e2],
|
|
25868
|
+
minSize: _[e2],
|
|
25869
|
+
maxSize: _[e2]
|
|
25870
|
+
}
|
|
25863
25871
|
}));
|
|
25864
|
-
return (t === "single" || t === "multi") &&
|
|
25872
|
+
return (t === "single" || t === "multi") && A.unshift({
|
|
25865
25873
|
id: "__select__",
|
|
25866
25874
|
maxSize: 40,
|
|
25867
25875
|
header: ({ table: e2 }) => t === "multi" ? (0, import_jsx_runtime.jsx)(Checkbox, {
|
|
@@ -25883,7 +25891,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
25883
25891
|
}),
|
|
25884
25892
|
enableSorting: false,
|
|
25885
25893
|
enableHiding: false
|
|
25886
|
-
}),
|
|
25894
|
+
}), A;
|
|
25887
25895
|
};
|
|
25888
25896
|
var PopoutColumn = ({ cellStyles: e, selectCell: t, rawStringValue: n, edges: i, contentClassName: o, buttonText: s, wrapped: c, children: d }) => {
|
|
25889
25897
|
let f = i !== void 0 && (i.leading.length > 0 || i.trailing.length > 0) ? n.slice(i.leading.length, n.length - i.trailing.length) : n;
|
|
@@ -32633,14 +32641,14 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
32633
32641
|
}), M = useTableHoverTooltip({
|
|
32634
32642
|
table: e
|
|
32635
32643
|
}), I = (e2) => e2.map((e3) => {
|
|
32636
|
-
var _a2, _b, _c;
|
|
32637
|
-
let { className: t2, style: n2 } = getPinningStyles(e3.column), i2 = Object.assign({}, ((
|
|
32644
|
+
var _a2, _b, _c, _d;
|
|
32645
|
+
let { className: t2, style: n2 } = getPinningStyles(e3.column), i2 = (_a2 = e3.column.columnDef.meta) == null ? void 0 : _a2.width, o2 = Object.assign({}, ((_b = e3.getUserStyling) == null ? void 0 : _b.call(e3)) || {}, n2);
|
|
32638
32646
|
return (0, import_react.createElement)(TableCell, {
|
|
32639
32647
|
tabIndex: 0,
|
|
32640
32648
|
...getCellDomProps(e3.id),
|
|
32641
32649
|
key: e3.id,
|
|
32642
|
-
className: cn("whitespace-pre truncate
|
|
32643
|
-
style:
|
|
32650
|
+
className: cn("whitespace-pre truncate outline-hidden border-r border-r-border/75", !i2 && "max-w-[300px]", e3.column.getColumnWrapping && ((_d = (_c = e3.column).getColumnWrapping) == null ? void 0 : _d.call(_c)) === "wrap" && "whitespace-pre-wrap min-w-[200px]", "px-1.5 py-[0.18rem]", t2),
|
|
32651
|
+
style: o2,
|
|
32644
32652
|
onMouseDown: (t3) => {
|
|
32645
32653
|
v(t3, e3), M.hideTooltip();
|
|
32646
32654
|
},
|
|
@@ -32739,7 +32747,8 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
32739
32747
|
});
|
|
32740
32748
|
};
|
|
32741
32749
|
function getPinningStyles(e) {
|
|
32742
|
-
|
|
32750
|
+
var _a2;
|
|
32751
|
+
let t = e.getIsPinned(), n = t === "left" && e.getIsLastColumn("left"), i = t === "right" && e.getIsFirstColumn("right"), o = (_a2 = e.columnDef.meta) == null ? void 0 : _a2.width;
|
|
32743
32752
|
return {
|
|
32744
32753
|
className: cn(t && "bg-inherit", "shadow-r z-10"),
|
|
32745
32754
|
style: {
|
|
@@ -32749,7 +32758,11 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
32749
32758
|
opacity: 1,
|
|
32750
32759
|
position: t ? "sticky" : "relative",
|
|
32751
32760
|
zIndex: t ? 1 : 0,
|
|
32752
|
-
width: e.getSize()
|
|
32761
|
+
width: e.getSize(),
|
|
32762
|
+
...o ? {
|
|
32763
|
+
minWidth: o,
|
|
32764
|
+
maxWidth: o
|
|
32765
|
+
} : {}
|
|
32753
32766
|
}
|
|
32754
32767
|
};
|
|
32755
32768
|
}
|
|
@@ -33696,28 +33709,28 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
33696
33709
|
};
|
|
33697
33710
|
var import_compiler_runtime$11 = require_compiler_runtime();
|
|
33698
33711
|
InstallPackageButton = (e) => {
|
|
33699
|
-
let t = (0, import_compiler_runtime$11.c)(13), { packages: n, showMaxPackages: i, className: o, onInstall: s } = e, { handleInstallPackages: c } = useInstallPackages();
|
|
33700
|
-
if (!n || n.length === 0) return null;
|
|
33701
|
-
let d;
|
|
33702
|
-
t[0] !== c || t[1] !== s || t[2] !== n ? (d = () => {
|
|
33703
|
-
c(n, s);
|
|
33704
|
-
}, t[0] = c, t[1] = s, t[2] = n, t[3] = d) : d = t[3];
|
|
33712
|
+
let t = (0, import_compiler_runtime$11.c)(13), { packages: n, showMaxPackages: i, className: o, onInstall: s } = e, { handleInstallPackages: c } = useInstallPackages(), d = useInstallAllowed();
|
|
33713
|
+
if (!n || n.length === 0 || !d) return null;
|
|
33705
33714
|
let f;
|
|
33706
|
-
t[
|
|
33715
|
+
t[0] !== c || t[1] !== s || t[2] !== n ? (f = () => {
|
|
33716
|
+
c(n, s);
|
|
33717
|
+
}, t[0] = c, t[1] = s, t[2] = n, t[3] = f) : f = t[3];
|
|
33707
33718
|
let _;
|
|
33708
|
-
t[
|
|
33719
|
+
t[4] === o ? _ = t[5] : (_ = cn("ml-2", o), t[4] = o, t[5] = _);
|
|
33709
33720
|
let v;
|
|
33710
|
-
|
|
33721
|
+
t[6] !== n || t[7] !== i ? (v = i ? n.slice(0, i).join(", ") : n.join(", "), t[6] = n, t[7] = i, t[8] = v) : v = t[8];
|
|
33722
|
+
let y;
|
|
33723
|
+
return t[9] !== f || t[10] !== _ || t[11] !== v ? (y = (0, import_jsx_runtime.jsxs)(Button, {
|
|
33711
33724
|
variant: "outline",
|
|
33712
33725
|
size: "xs",
|
|
33713
|
-
onClick:
|
|
33714
|
-
className:
|
|
33726
|
+
onClick: f,
|
|
33727
|
+
className: _,
|
|
33715
33728
|
children: [
|
|
33716
33729
|
"Install",
|
|
33717
33730
|
" ",
|
|
33718
|
-
|
|
33731
|
+
v
|
|
33719
33732
|
]
|
|
33720
|
-
}), t[9] =
|
|
33733
|
+
}), t[9] = f, t[10] = _, t[11] = v, t[12] = y) : y = t[12], y;
|
|
33721
33734
|
};
|
|
33722
33735
|
var import_compiler_runtime$10 = require_compiler_runtime();
|
|
33723
33736
|
const MissingPackagePrompt = (e) => {
|
|
@@ -34014,7 +34027,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
34014
34027
|
var NOOP_ON_SEARCH = () => {
|
|
34015
34028
|
};
|
|
34016
34029
|
let TableTopBar;
|
|
34017
|
-
TableTopBar = ({ table: e,
|
|
34030
|
+
TableTopBar = ({ table: e, showSearch: t, searchQuery: n, onSearchQueryChange: i, reloading: o, showChartBuilder: s, isChartBuilderOpen: c, toggleDisplayHeader: d, showTableExplorer: f, togglePanel: _, isAnyPanelOpen: v, downloadAs: y, sizeBytes: S, sizeBytesIsLoading: w }) => {
|
|
34018
34031
|
let [E, O] = (0, import_react.useState)(n || ""), A = useDebounce(E, 500), M = useEvent_default(i ?? NOOP_ON_SEARCH), I = import_react.useRef(null);
|
|
34019
34032
|
return (0, import_react.useEffect)(() => {
|
|
34020
34033
|
M(A);
|
|
@@ -34057,7 +34070,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
34057
34070
|
]
|
|
34058
34071
|
}),
|
|
34059
34072
|
(0, import_jsx_runtime.jsxs)("div", {
|
|
34060
|
-
className: "flex items-center shrink-0",
|
|
34073
|
+
className: "flex items-center shrink-0 ml-auto",
|
|
34061
34074
|
children: [
|
|
34062
34075
|
(0, import_jsx_runtime.jsx)(ColumnVisibilityDropdown, {
|
|
34063
34076
|
table: e
|
|
@@ -34096,7 +34109,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
34096
34109
|
]
|
|
34097
34110
|
});
|
|
34098
34111
|
};
|
|
34099
|
-
DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: _, sizeBytesIsLoading: v, manualSorting: y = false, sorting: S, setSorting: w, rowSelection: E, cellSelection: O, cellStyling: A, hoverTemplate: M, cellHoverTexts: I, paginationState: z, setPaginationState: U, downloadAs: K, manualPagination: q = false, pagination: J = false, onRowSelectionChange: Q, onCellSelectionChange: $, getRowIds: Iq,
|
|
34112
|
+
DataTable = (0, import_react.memo)(({ wrapperClassName: e, className: t, maxHeight: n, columns: i, data: o, rawData: s, selection: c, totalColumns: d, totalRows: f, sizeBytes: _, sizeBytesIsLoading: v, manualSorting: y = false, sorting: S, setSorting: w, rowSelection: E, cellSelection: O, cellStyling: A, hoverTemplate: M, cellHoverTexts: I, paginationState: z, setPaginationState: U, downloadAs: K, manualPagination: q = false, pagination: J = false, onRowSelectionChange: Q, onCellSelectionChange: $, getRowIds: Iq, showSearch: Lq = false, searchQuery: Rq, onSearchQueryChange: zq, showFilters: Bq = false, filters: Vq, onFiltersChange: Hq, calculateTopKRows: Uq, reloading: Wq, freezeColumnsLeft: Gq, freezeColumnsRight: Kq, hiddenColumns: qq, toggleDisplayHeader: Jq, showChartBuilder: Yq, isChartBuilderOpen: Xq, showPageSizeSelector: Zq, showTableExplorer: Qq, togglePanel: $q, isPanelOpen: eJ, isAnyPanelOpen: tJ, viewedRowIdx: nJ, onViewedRowChange: rJ, renderTableExplorerPanel: iJ }) => {
|
|
34100
34113
|
let [aJ, oJ] = import_react.useState(false), { locale: sJ } = $18f2051aff69b9bf$export$43bb16f9c6d9e3f7(), { columnPinning: cJ, setColumnPinning: lJ } = useColumnPinning(Gq, Kq), { columnVisibility: uJ, setColumnVisibility: dJ } = useColumnVisibility(qq);
|
|
34101
34114
|
import_react.useEffect(() => {
|
|
34102
34115
|
let e2;
|
|
@@ -34214,7 +34227,7 @@ Database schema: ${n}`), (_a3 = t2.aiFix) == null ? void 0 : _a3.setAiCompletion
|
|
|
34214
34227
|
children: [
|
|
34215
34228
|
(0, import_jsx_runtime.jsx)(TableTopBar, {
|
|
34216
34229
|
table: pJ,
|
|
34217
|
-
|
|
34230
|
+
showSearch: Lq,
|
|
34218
34231
|
searchQuery: Rq,
|
|
34219
34232
|
onSearchQueryChange: zq,
|
|
34220
34233
|
reloading: Wq,
|
|
@@ -35983,7 +35996,7 @@ ${d}`,
|
|
|
35983
35996
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
35984
35997
|
}
|
|
35985
35998
|
}
|
|
35986
|
-
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.11
|
|
35999
|
+
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.11");
|
|
35987
36000
|
showCodeInRunModeAtom = atom(true);
|
|
35988
36001
|
atom(null);
|
|
35989
36002
|
var import_compiler_runtime = require_compiler_runtime();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
|
-
import { _ as Logger } from "./button-
|
|
2
|
+
import { _ as Logger } from "./button-vQhauTmO.js";
|
|
3
3
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
4
4
|
import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
5
|
-
import { u as createLucideIcon } from "./dist-
|
|
5
|
+
import { u as createLucideIcon } from "./dist-DYGLrbYQ.js";
|
|
6
6
|
require_compiler_runtime(), require_react();
|
|
7
7
|
var TOAST_LIMIT = 1, TOAST_REMOVE_DELAY = 1e4, count = 0;
|
|
8
8
|
function genId() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
|
-
import { m as useComposedRefs } from "./button-
|
|
2
|
+
import { m as useComposedRefs } from "./button-vQhauTmO.js";
|
|
3
3
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
4
4
|
import { t as require_react_dom } from "./react-dom-BTJzcVJ9.js";
|
|
5
5
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
6
|
-
import { _t as createContextScope, mt as useLayoutEffect2, ut as useCallbackRef, vt as Primitive } from "./zod-
|
|
6
|
+
import { _t as createContextScope, mt as useLayoutEffect2, ut as useCallbackRef, vt as Primitive } from "./zod-DXqkaI_w.js";
|
|
7
7
|
/**
|
|
8
8
|
* @license lucide-react v0.563.0 - ISC
|
|
9
9
|
*
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
|
-
import { _ as Logger, d as createSlot, f as createSlottable, g as cn, m as useComposedRefs, n as buttonVariants, r as cva } from "./button-
|
|
2
|
+
import { _ as Logger, d as createSlot, f as createSlottable, g as cn, m as useComposedRefs, n as buttonVariants, r as cva } from "./button-vQhauTmO.js";
|
|
3
3
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
4
4
|
import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
5
5
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
6
|
-
import { P as object, R as string, Z as withFullScreenAsRoot, _t as createContextScope, at as Portal, ct as DismissableLayer, dt as useId, et as StyleNamespace, ft as Presence, gt as createContext2, ht as composeEventHandlers, it as useFocusGuards, nt as Combination_default, ot as FocusScope, pt as useControllableState, tt as hideOthers, vt as Primitive } from "./zod-
|
|
6
|
+
import { P as object, R as string, Z as withFullScreenAsRoot, _t as createContextScope, at as Portal, ct as DismissableLayer, dt as useId, et as StyleNamespace, ft as Presence, gt as createContext2, ht as composeEventHandlers, it as useFocusGuards, nt as Combination_default, ot as FocusScope, pt as useControllableState, tt as hideOthers, vt as Primitive } from "./zod-DXqkaI_w.js";
|
|
7
7
|
var import_react = /* @__PURE__ */ __toESM(require_react(), 1), import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1), DIALOG_NAME = "Dialog", [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME), [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME), Dialog = (t) => {
|
|
8
8
|
let { __scopeDialog: F, children: I, open: L, defaultOpen: R, onOpenChange: z, modal: B = true } = t, V = import_react.useRef(null), H = import_react.useRef(null), [U, W] = useControllableState({
|
|
9
9
|
prop: L,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
3
3
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
4
|
-
import { l as historyKeymap, o as defaultKeymap, r as lintKeymap, s as history, t as _extends, u as indentWithTab } from "./extends-
|
|
4
|
+
import { l as historyKeymap, o as defaultKeymap, r as lintKeymap, s as history, t as _extends, u as indentWithTab } from "./extends-9Yl5BEcg.js";
|
|
5
5
|
import { $ as EditorView, At as Facet, Bt as codePointAt, C as foldKeymap, Ct as Annotation, Et as CharCategory, F as syntaxHighlighting, Gt as fromCodePoint, H as tags, Ht as combineConfig, It as StateEffect, Lt as StateField, Mt as Prec, Ot as EditorSelection, Pt as RangeSetBuilder, St as crelt, Vt as codePointSize, Wt as findClusterBreak, Z as Decoration, _t as rectangularSelection, a as HighlightStyle, at as dropCursor, bt as showPanel, dt as highlightSpecialChars, g as defaultHighlightStyle, gt as placeholder, it as drawSelection, j as indentUnit, k as indentOnInput, kt as EditorState, lt as highlightActiveLine, mt as lineNumbers, ot as getPanel, p as bracketMatching, pt as keymap, rt as crosshairCursor, tt as ViewPlugin, ut as highlightActiveLineGutter, vt as runScopeHandlers, x as foldGutter, yt as showDialog } from "./dist-U4F-tbMs.js";
|
|
6
6
|
import { a as closeBracketsKeymap, c as completionKeymap, i as closeBrackets, r as autocompletion } from "./dist-hT4QzYX-.js";
|
|
7
7
|
var basicNormalize = typeof String.prototype.normalize == "function" ? (e2) => e2.normalize("NFKD") : (e2) => e2, SearchCursor = class {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
|
-
import { g as cn, h as Events } from "./button-
|
|
2
|
+
import { g as cn, h as Events } from "./button-vQhauTmO.js";
|
|
3
3
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
4
4
|
import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
5
|
-
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-
|
|
6
|
-
import { t as Check } from "./check-
|
|
5
|
+
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-UhDed7D4.js";
|
|
6
|
+
import { t as Check } from "./check-nrzHDi45.js";
|
|
7
7
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
8
|
-
import { t as Tooltip } from "./tooltip-
|
|
8
|
+
import { t as Tooltip } from "./tooltip-Bz3OAwrU.js";
|
|
9
9
|
import { $ as EditorView, A as indentString, At as Facet, Ct as Annotation, D as getIndentation, E as getIndentUnit, Ht as combineConfig, I as syntaxTree, It as StateEffect, Lt as StateField, N as matchBrackets, Nt as RangeSet, Ot as EditorSelection, Pt as RangeSetBuilder, Q as Direction, Rt as Text, St as crelt, Tt as ChangeSet, Ut as countColumn, W as NodeProp, Wt as findClusterBreak, Z as Decoration, bt as showPanel, ft as hoverTooltip, ht as logException, j as indentUnit, nt as WidgetType, o as IndentContext, ot as getPanel, tt as ViewPlugin, wt as ChangeDesc, zt as Transaction } from "./dist-U4F-tbMs.js";
|
|
10
10
|
var import_compiler_runtime = require_compiler_runtime(), import_react = /* @__PURE__ */ __toESM(require_react(), 1), import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1);
|
|
11
11
|
const CopyClipboardIcon = (e5) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
|
-
import { g as cn, r as cva } from "./button-
|
|
2
|
+
import { g as cn, r as cva } from "./button-vQhauTmO.js";
|
|
3
3
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
4
4
|
import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
5
|
-
import { t as toDate } from "./toDate-
|
|
5
|
+
import { t as toDate } from "./toDate-Do1xRzAo.js";
|
|
6
6
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
7
|
-
import { i as tableFromIPC } from "./loader-
|
|
7
|
+
import { i as tableFromIPC } from "./loader-YPuQvn1Y.js";
|
|
8
8
|
function isDate(e) {
|
|
9
9
|
return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
|
|
10
10
|
}
|
|
@@ -2,19 +2,19 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
|
|
5
|
-
import { _ as Logger, h as Events, t as Button } from "./button-
|
|
5
|
+
import { _ as Logger, h as Events, t as Button } from "./button-vQhauTmO.js";
|
|
6
6
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
7
7
|
import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
8
|
-
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-
|
|
9
|
-
import { C as logNever, i as SelectContent, l as SelectTrigger, n as capitalize, o as SelectItem, r as Select, u as SelectValue } from "./strings-
|
|
10
|
-
import { J as marked, S as DropdownMenuSubTrigger, _ as DropdownMenuPortal, b as DropdownMenuSub, f as DropdownMenu, h as DropdownMenuItem, p as DropdownMenuContent, q as useNonce, r as Input, v as DropdownMenuSeparator, x as DropdownMenuSubContent } from "./input-
|
|
11
|
-
import { n as Trash, r as Pencil, t as BulkEdit } from "./types-
|
|
12
|
-
import { n as require_prop_types, r as Plus, t as ErrorBoundary } from "./ErrorBoundary-
|
|
8
|
+
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-UhDed7D4.js";
|
|
9
|
+
import { C as logNever, i as SelectContent, l as SelectTrigger, n as capitalize, o as SelectItem, r as Select, u as SelectValue } from "./strings-Cq2s9_EQ.js";
|
|
10
|
+
import { J as marked, S as DropdownMenuSubTrigger, _ as DropdownMenuPortal, b as DropdownMenuSub, f as DropdownMenu, h as DropdownMenuItem, p as DropdownMenuContent, q as useNonce, r as Input, v as DropdownMenuSeparator, x as DropdownMenuSubContent } from "./input-AKkGXdyV.js";
|
|
11
|
+
import { n as Trash, r as Pencil, t as BulkEdit } from "./types-D8gEGs4R.js";
|
|
12
|
+
import { n as require_prop_types, r as Plus, t as ErrorBoundary } from "./ErrorBoundary-BNx_OSVo.js";
|
|
13
13
|
import "./react-dom-BTJzcVJ9.js";
|
|
14
14
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
15
|
-
import "./zod-
|
|
16
|
-
import { t as Label } from "./label-
|
|
17
|
-
import { T as useEvent_default, n as useTheme } from "./useTheme-
|
|
15
|
+
import "./zod-DXqkaI_w.js";
|
|
16
|
+
import { t as Label } from "./label-E3ZJXHu8.js";
|
|
17
|
+
import { T as useEvent_default, n as useTheme } from "./useTheme-ZhT6uIu3.js";
|
|
18
18
|
import { A as require__Map, B as require__baseGetTag, C as require__hasPath, D as require_isArguments, E as require__isIndex, F as require_isFunction, G as assert, H as require__root, I as require_isObject, J as maybe, K as assertNever, L as require__isKey, M as require_eq, N as require__getNative, O as require__castPath, P as require__toSource, R as require_isSymbol, S as resolveCellsThunk, T as require_isLength, U as require__freeGlobal, V as require__Symbol, W as require_isArray, _ as isEditableGridCell, a as mergeAndRealizeTheme, b as isReadWriteCell, c as withAlpha, d as CompactSelection, f as GridCellKind, g as booleanCellIsEditable, h as InnerGridCellKind, i as makeCSSStyle, j as require__ListCache, k as require__MapCache, l as BooleanEmpty, m as GridColumnMenuIcon, n as ThemeContext, o as blend, p as GridColumnIcon, q as deepEqual, r as getDataEditorTheme, s as blendCache, t as ClickOutsideContainer, u as BooleanIndeterminate, v as isInnerOnlyCell, w as require__toKey, x as isSizedGridColumn, y as isObjectEditorCallbackResult, z as require_isObjectLike } from "./click-outside-container-BDd67_1U.js";
|
|
19
19
|
import { t as styled_default } from "./dist-D_bzzWBm.js";
|
|
20
20
|
let GlideDataEditor, glide_data_editor_default;
|
|
@@ -2,29 +2,29 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
import { a as __toCommonJS, n as __esmMin, o as __toDynamicImportESM, r as __export, s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
|
|
5
|
-
import { _ as Logger, c as Objects, d as createSlot, g as cn, m as useComposedRefs, o as isPlatformMac, r as cva, t as Button } from "./button-
|
|
5
|
+
import { _ as Logger, c as Objects, d as createSlot, g as cn, m as useComposedRefs, o as isPlatformMac, r as cva, t as Button } from "./button-vQhauTmO.js";
|
|
6
6
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
7
7
|
import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
8
|
-
import { r as toast, t as copyToClipboard } from "./copy-
|
|
8
|
+
import { r as toast, t as copyToClipboard } from "./copy-UhDed7D4.js";
|
|
9
9
|
import { a as gn, c as rehypeSanitize, l as defaultSchema, s as xn, u as require_cjs, __tla as __tla_0 } from "./chunk-5FQGJX7Z-BbqSm5gU.js";
|
|
10
|
-
import { a as createPopperScope, i as Root2$3, l as VisuallyHidden, n as Arrow, o as useSize, r as Content$1, t as Anchor, u as createLucideIcon } from "./dist-
|
|
11
|
-
import { a as Type, c as Calendar, i as createReducerAndAtoms, o as ToggleLeft, r as Badge, s as Hash, t as useOnMount } from "./useLifecycle-
|
|
12
|
-
import { t as Check } from "./check-
|
|
13
|
-
import { C as logNever, F as createCollection, I as X, N as usePrevious, P as useDirection, R as ChevronDown, S as assertNever, a as SelectGroup, c as SelectSeparator, i as SelectContent, l as SelectTrigger, o as SelectItem, r as Select, s as SelectLabel, t as Strings, u as SelectValue } from "./strings-
|
|
14
|
-
import { J as marked, X as useDebouncedCallback, _t as $f6c31cce2adf654f$export$45712eceda6fad21, q as useNonce } from "./input-
|
|
15
|
-
import { _ as isWasm, g as Deferred, h as waitForConnectionOpen, l as getRuntimeManager, t as toDate, v as CircleQuestionMark } from "./toDate-
|
|
10
|
+
import { a as createPopperScope, i as Root2$3, l as VisuallyHidden, n as Arrow, o as useSize, r as Content$1, t as Anchor, u as createLucideIcon } from "./dist-DYGLrbYQ.js";
|
|
11
|
+
import { a as Type, c as Calendar, i as createReducerAndAtoms, o as ToggleLeft, r as Badge, s as Hash, t as useOnMount } from "./useLifecycle-C3Ec71q0.js";
|
|
12
|
+
import { t as Check } from "./check-nrzHDi45.js";
|
|
13
|
+
import { C as logNever, F as createCollection, I as X, N as usePrevious, P as useDirection, R as ChevronDown, S as assertNever, a as SelectGroup, c as SelectSeparator, i as SelectContent, l as SelectTrigger, o as SelectItem, r as Select, s as SelectLabel, t as Strings, u as SelectValue } from "./strings-Cq2s9_EQ.js";
|
|
14
|
+
import { J as marked, X as useDebouncedCallback, _t as $f6c31cce2adf654f$export$45712eceda6fad21, q as useNonce } from "./input-AKkGXdyV.js";
|
|
15
|
+
import { _ as isWasm, g as Deferred, h as waitForConnectionOpen, l as getRuntimeManager, t as toDate, v as CircleQuestionMark } from "./toDate-Do1xRzAo.js";
|
|
16
16
|
import { t as require_react_dom } from "./react-dom-BTJzcVJ9.js";
|
|
17
17
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
18
|
-
import { B as union, N as number, P as object, Q as withSmartCollisionBoundary, R as string, T as boolean, Y as MAX_HEIGHT_OFFSET, Z as withFullScreenAsRoot, _t as createContextScope, at as Portal, ct as DismissableLayer, dt as useId, et as StyleNamespace, ft as Presence, ht as composeEventHandlers, it as useFocusGuards, k as literal, lt as Root$1, mt as useLayoutEffect2, nt as Combination_default, ot as FocusScope, pt as useControllableState, st as Branch, tt as hideOthers, ut as useCallbackRef, vt as Primitive, w as array, yt as dispatchDiscreteCustomEvent } from "./zod-
|
|
19
|
-
import { i as TooltipProvider, t as Tooltip } from "./tooltip-
|
|
20
|
-
import { a as setDiagnostics, c as historyField, d as insertTab, f as CopyClipboardIcon, i as linter, n as forEachDiagnostic, s as history } from "./extends-
|
|
18
|
+
import { B as union, N as number, P as object, Q as withSmartCollisionBoundary, R as string, T as boolean, Y as MAX_HEIGHT_OFFSET, Z as withFullScreenAsRoot, _t as createContextScope, at as Portal, ct as DismissableLayer, dt as useId, et as StyleNamespace, ft as Presence, ht as composeEventHandlers, it as useFocusGuards, k as literal, lt as Root$1, mt as useLayoutEffect2, nt as Combination_default, ot as FocusScope, pt as useControllableState, st as Branch, tt as hideOthers, ut as useCallbackRef, vt as Primitive, w as array, yt as dispatchDiscreteCustomEvent } from "./zod-DXqkaI_w.js";
|
|
19
|
+
import { i as TooltipProvider, t as Tooltip } from "./tooltip-Bz3OAwrU.js";
|
|
20
|
+
import { a as setDiagnostics, c as historyField, d as insertTab, f as CopyClipboardIcon, i as linter, n as forEachDiagnostic, s as history } from "./extends-9Yl5BEcg.js";
|
|
21
21
|
import { i as debounce_default } from "./constants-T20xxyNf.js";
|
|
22
|
-
import { _ as useAtomValue, a as getResolvedMarimoConfig, b as atom, d as store, g as useAtom, h as Provider, i as autoInstantiateAtom, m as isIslands, n as useTheme, t as resolvedThemeAtom, u as createDeepEqualAtom, w as dequal } from "./useTheme-
|
|
22
|
+
import { _ as useAtomValue, a as getResolvedMarimoConfig, b as atom, d as store, g as useAtom, h as Provider, i as autoInstantiateAtom, m as isIslands, n as useTheme, t as resolvedThemeAtom, u as createDeepEqualAtom, w as dequal } from "./useTheme-ZhT6uIu3.js";
|
|
23
23
|
import { $ as EditorView, At as Facet, B as highlightCode, Ct as Annotation, Dt as Compartment, E as getIndentUnit, H as tags, I as syntaxTree, It as StateEffect, L as unfoldAll, Lt as StateField, Mt as Prec, Nt as RangeSet, Ot as EditorSelection, Rt as Text, S as foldInside, X as parseMixed, Z as Decoration, b as foldAll, bt as showPanel, ct as gutter, et as GutterMarker, f as StreamLanguage, ft as hoverTooltip, gt as placeholder, kt as EditorState, l as LanguageDescription, pt as keymap, tt as ViewPlugin, u as LanguageSupport, w as foldNodeProp, xt as showTooltip, z as classHighlighter, zt as Transaction } from "./dist-U4F-tbMs.js";
|
|
24
24
|
import { t as invariant } from "./invariant-wRzNXIsJ.js";
|
|
25
25
|
import { a as arrayMove, i as arrayInsertMany, l as clamp, n as arrayDelete, r as arrayInsert } from "./arrays-sEtDRoG4.js";
|
|
26
26
|
import { n as once } from "./once-DPuqGUeo.js";
|
|
27
|
-
import { t as getIframeCapabilities } from "./capabilities-
|
|
27
|
+
import { t as getIframeCapabilities } from "./capabilities-BEHzIS99.js";
|
|
28
28
|
import { d as snippet, n as acceptCompletion, r as autocompletion, u as insertCompletionText } from "./dist-hT4QzYX-.js";
|
|
29
29
|
import { t as require_main } from "./main-Tj_-QTyF.js";
|
|
30
30
|
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-CcWX6tmx.js";
|
|
@@ -32,7 +32,7 @@ import { a as markdown, s as markdownLanguage } from "./dist-Dv_Y15yk.js";
|
|
|
32
32
|
import { a as parser, i as pythonLanguage, n as localCompletionSource, r as python, t as globalCompletion } from "./dist-C_Y3oV3C.js";
|
|
33
33
|
import { n as stexMath } from "./stex-BIsgBmK4.js";
|
|
34
34
|
import { t as purify } from "./purify.es-H92eMd9-.js";
|
|
35
|
-
import { t as useAsyncData } from "./useAsyncData-
|
|
35
|
+
import { t as useAsyncData } from "./useAsyncData-CL3o2p4i.js";
|
|
36
36
|
let reducer$1, extractAllTracebackInfo, ChevronRightIcon, Minus, goToCellLine, safeExtractSetUIElementMessageBuffers, CircleAlert, DATA_TYPE_ICON, AccordionContent, Root2$2, Checkbox, ChatBubbleIcon, Table2, PathBuilder, BorderAllIcon, Trash2, createVariableInfoElement, base64ToDataView, Eye, adaptForLocalStorage, cellErrorsAtom, getTableType, getMarimoExportContext, esm_default, require_client, base64ToUint8Array, ExternalLink, jotaiJsonStorage, getCellNames, requestClientAtom, createActions$1, convertStatsName, dataViewToBase64, Database, variablesAtom, PinLeftIcon, Layers, generateUUID, PinRightIcon, Info, useChromeActions, CheckIcon, PaintRoller, Paths, base64ToDataURL, FileText, repl, numColumnsAtom, elementContainsMarimoCellFile, extractBase64FromDataURL, Columns2, PluralWord, Accordion, Item, normalizeName, AccordionTrigger, Wrench, MarkdownLanguageAdapter, hasTrustedExportContext, import_lib$1, allTablesAtom, renderHTML, Braces, getDataTypeColor, hasRunAnyCellAtom, dataSourceConnectionsAtom, notebookAtom, isUninstantiated, hasOnlyOneCellAtom, useRequestClient, notebookOutline, singleFacet, Boosts, atomWithStorage, DATA_CELL_ID, useCellFocusActions, parseDataset, parseHtmlContent, AIContextProvider, Close$1, getValidName, Popover, HTMLCellId, initialModeAtom, PopoverTrigger, findCellId, viewStateAtom, getTracebackInfo, useCellActions, isOutputEmpty, OBJECT_ID_ATTR, outputIsLoading, getDatasourceContext, atomWithReducer, sanitizeHtml, DatasourceContextProvider, jsonToMarkdown, headingToIdentifier, LazyAnyLanguageCodeMirror, parseAttrValue, ansiToPlainText, DotFilledIcon, LoaderCircle, DeferredRequestRegistry, ChevronDownIcon, NotebookPen, moveToEndOfEditor, PopoverClose, SCRATCH_CELL_ID, kioskModeAtom, useExpandedOutput, jsonParseWithSpecialChar, isErrorMime, Spinner, ZodLocalStorage, useCellNames, useLastFocusedCellId, parseInitialValue, AnsiUp, useExpandedConsoleOutput, RANDOM_ID_ATTR, outputIsStale, getCellEditorView, getRequestClient, MarkdownRenderer, filenameAtom, createCell, maybeAddAltairImport, CellOutputId, getInitialAppMode, toPng$1, NotebookScopedLocalStorage, useCellIds, PopoverContent, UIElementId, useInstallAllowed, Sections, selectAtom, getCellDomProps, AccordionItem, Trigger2, customPythonLanguageSupport, AIContextRegistry, Content2$1, isInternalCellName, contextToXml, Anchor2, displayCellName, isDataURLString, CircleX, PluralWords;
|
|
37
37
|
let __tla = Promise.all([
|
|
38
38
|
(() => {
|
|
@@ -26211,7 +26211,7 @@ ${n.sqlString}
|
|
|
26211
26211
|
[m]: (0, import_react.createRef)()
|
|
26212
26212
|
},
|
|
26213
26213
|
scrollKey: l ? m : null,
|
|
26214
|
-
untouchedNewCells: d &&
|
|
26214
|
+
untouchedNewCells: d && l ? /* @__PURE__ */ new Set([
|
|
26215
26215
|
...e.untouchedNewCells,
|
|
26216
26216
|
m
|
|
26217
26217
|
]) : e.untouchedNewCells
|
|
@@ -28128,7 +28128,7 @@ ${n.sqlString}
|
|
|
28128
28128
|
hasConsoleOutput: (o == null ? void 0 : o.consoleOutputs) != null
|
|
28129
28129
|
};
|
|
28130
28130
|
}
|
|
28131
|
-
LazyAnyLanguageCodeMirror = (0, import_react.lazy)(() => import("./any-language-editor-
|
|
28131
|
+
LazyAnyLanguageCodeMirror = (0, import_react.lazy)(() => import("./any-language-editor-rPSlOll9.js"));
|
|
28132
28132
|
var import_compiler_runtime$1 = require_compiler_runtime(), extensions = [
|
|
28133
28133
|
EditorView.lineWrapping
|
|
28134
28134
|
];
|
|
@@ -3,18 +3,18 @@ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { en
|
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
var _a;
|
|
5
5
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
6
|
-
import { _ as Logger, d as createSlot, g as cn, h as Events, m as useComposedRefs, p as composeRefs } from "./button-
|
|
6
|
+
import { _ as Logger, d as createSlot, g as cn, h as Events, m as useComposedRefs, p as composeRefs } from "./button-vQhauTmO.js";
|
|
7
7
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
8
8
|
import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
9
|
-
import { a as createPopperScope, i as Root2$1, n as Arrow, r as Content, t as Anchor, u as createLucideIcon } from "./dist-
|
|
10
|
-
import { t as Check } from "./check-
|
|
11
|
-
import { E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, F as createCollection, I as X, L as ChevronUp, P as useDirection, R as ChevronDown, T as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, _ as menuControlVariants, b as menuSeparatorVariants, g as menuControlCheckVariants, h as menuContentCommon, k as $b5e257d569688ac6$export$619500959fc48b26, m as MenuShortcut, v as menuItemVariants, w as $a916eb452884faea$export$b7a616150fdb9f44, x as menuSubTriggerVariants, y as menuLabelVariants } from "./strings-
|
|
9
|
+
import { a as createPopperScope, i as Root2$1, n as Arrow, r as Content, t as Anchor, u as createLucideIcon } from "./dist-DYGLrbYQ.js";
|
|
10
|
+
import { t as Check } from "./check-nrzHDi45.js";
|
|
11
|
+
import { E as $18f2051aff69b9bf$export$43bb16f9c6d9e3f7, F as createCollection, I as X, L as ChevronUp, P as useDirection, R as ChevronDown, T as $488c6ddbf4ef74c2$export$cc77c4ff7e8673c5, _ as menuControlVariants, b as menuSeparatorVariants, g as menuControlCheckVariants, h as menuContentCommon, k as $b5e257d569688ac6$export$619500959fc48b26, m as MenuShortcut, v as menuItemVariants, w as $a916eb452884faea$export$b7a616150fdb9f44, x as menuSubTriggerVariants, y as menuLabelVariants } from "./strings-Cq2s9_EQ.js";
|
|
12
12
|
import { n as clsx_default } from "./clsx-CIWA5tNO.js";
|
|
13
13
|
import { t as require_react_dom } from "./react-dom-BTJzcVJ9.js";
|
|
14
14
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
15
|
-
import { Q as withSmartCollisionBoundary, Y as MAX_HEIGHT_OFFSET, Z as withFullScreenAsRoot, _t as createContextScope, at as Portal, ct as DismissableLayer, dt as useId, et as StyleNamespace, ft as Presence, ht as composeEventHandlers, it as useFocusGuards, nt as Combination_default, ot as FocusScope, pt as useControllableState, tt as hideOthers, ut as useCallbackRef, vt as Primitive, yt as dispatchDiscreteCustomEvent } from "./zod-
|
|
15
|
+
import { Q as withSmartCollisionBoundary, Y as MAX_HEIGHT_OFFSET, Z as withFullScreenAsRoot, _t as createContextScope, at as Portal, ct as DismissableLayer, dt as useId, et as StyleNamespace, ft as Presence, ht as composeEventHandlers, it as useFocusGuards, nt as Combination_default, ot as FocusScope, pt as useControllableState, tt as hideOthers, ut as useCallbackRef, vt as Primitive, yt as dispatchDiscreteCustomEvent } from "./zod-DXqkaI_w.js";
|
|
16
16
|
import { i as debounce_default } from "./constants-T20xxyNf.js";
|
|
17
|
-
import { T as useEvent_default } from "./useTheme-
|
|
17
|
+
import { T as useEvent_default } from "./useTheme-ZhT6uIu3.js";
|
|
18
18
|
import { t as memoizeLastValue } from "./once-DPuqGUeo.js";
|
|
19
19
|
var ChevronRight = createLucideIcon("chevron-right", [["path", {
|
|
20
20
|
d: "m9 18 6-6-6-6",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
|
-
import { g as cn, r as cva } from "./button-
|
|
2
|
+
import { g as cn, r as cva } from "./button-vQhauTmO.js";
|
|
3
3
|
import { t as require_react } from "./react-DA-nE2FX.js";
|
|
4
4
|
import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
|
|
5
5
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
6
|
-
import { vt as Primitive } from "./zod-
|
|
6
|
+
import { vt as Primitive } from "./zod-DXqkaI_w.js";
|
|
7
7
|
var import_react = /* @__PURE__ */ __toESM(require_react(), 1), import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1), NAME = "Label", Label$1 = import_react.forwardRef((e, c) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Primitive.label, {
|
|
8
8
|
...e,
|
|
9
9
|
ref: c,
|
|
@@ -2,7 +2,7 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
var _a, _b, _c, _d, _e;
|
|
5
|
-
import { _ as Logger, c as Objects } from "./button-
|
|
5
|
+
import { _ as Logger, c as Objects } from "./button-vQhauTmO.js";
|
|
6
6
|
import { St as isObject, a as loader, c as typeParsers$1, gt as isArray, o as read$1, wt as isString } from "./vega-loader.browser-CZ-J8Py3.js";
|
|
7
7
|
var pkg = { version: "1.1.0" };
|
|
8
8
|
function formatValue(m2, U, G, K) {
|