@marimo-team/islands 0.23.10-dev23 → 0.23.10-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/{ConnectedDataExplorerComponent-DdeG-Hi-.js → ConnectedDataExplorerComponent-DmBropAy.js} +11 -11
- package/dist/{ErrorBoundary-rULOrC_p.js → ErrorBoundary-DpbaKVv7.js} +1 -1
- package/dist/{any-language-editor-CiES2a2h.js → any-language-editor-DNmoSiWL.js} +20 -20
- package/dist/{chat-ui-BTobdMRF.js → chat-ui-D6oraHT2.js} +22 -22
- package/dist/{check-DTbrK0zt.js → check-BCaJeT-J.js} +1 -1
- package/dist/{code-visibility-D4SjRKRB.js → code-visibility-CXkMXcdB.js} +20 -20
- package/dist/{copy-5jQ_kGE1.js → copy-UqRYxiOg.js} +1 -1
- package/dist/dist-7QfXoMdB.js +5 -0
- package/dist/{dist-DgnE8F-r.js → dist-A2846XWO.js} +1 -1
- package/dist/dist-BEXXyZig.js +5 -0
- package/dist/{dist-B3pZ0Ab6.js → dist-BR_gyG9L.js} +3 -3
- package/dist/{dist-CcXxepx6.js → dist-BSAt6RhH.js} +27 -27
- package/dist/{dist-Bde4a2kU.js → dist-BY018Paw.js} +8 -8
- package/dist/dist-BYj57OV4.js +5 -0
- package/dist/{dist-CUCNs1ja.js → dist-BaoDKvdy.js} +2 -2
- package/dist/{dist-Cy1WxgBD.js → dist-Bf7SHuNp.js} +5 -5
- package/dist/{dist-Bz_sYWbr.js → dist-Bk75fBZA.js} +2 -2
- package/dist/dist-BlSvQzNr.js +5 -0
- package/dist/{dist-C5VC_yzu.js → dist-BzEzfugY.js} +1 -1
- package/dist/dist-CCBlxAgS.js +8 -0
- package/dist/dist-CIDTVIUf.js +5 -0
- package/dist/{dist-CLUtPrdy.js → dist-CIYBwstr.js} +1 -1
- package/dist/{dist-BotSqB48.js → dist-C_Y3oV3C.js} +12 -12
- package/dist/{dist-BTfv03uy.js → dist-CcWX6tmx.js} +2 -2
- package/dist/{dist-BhM8gdSO.js → dist-CoXAujgg.js} +4 -4
- package/dist/{dist-4j4c7bjm.js → dist-CpxNdDkw.js} +3 -3
- package/dist/dist-CqQyhAM8.js +8 -0
- package/dist/dist-CwRu2Xzh.js +5 -0
- package/dist/{dist-BcuoonNH.js → dist-CxJDU6Bh.js} +9 -9
- package/dist/{dist-DxvORzUR.js → dist-D-W5ny5a.js} +8 -8
- package/dist/dist-D8CDTVgf.js +6 -0
- package/dist/dist-D8DNB0nO.js +8 -0
- package/dist/dist-DL6N_q-A.js +5 -0
- package/dist/{dist-BbbIBDiQ.js → dist-DMjWuVs8.js} +1 -1
- package/dist/dist-DOFbNV_b.js +8 -0
- package/dist/dist-DPrYzMY0.js +6 -0
- package/dist/{dist-h2c8sZvT.js → dist-DZORgqKY.js} +1 -1
- package/dist/{dist-B3P2fFpz.js → dist-DZo4nSS0.js} +14 -14
- package/dist/{dist-D4CewLk6.js → dist-Dax--nl9.js} +1 -1
- package/dist/{dist-DRfcqpxJ.js → dist-DgGbNavJ.js} +2 -2
- package/dist/{dist-C1BYNeCR.js → dist-Dk6PV_d3.js} +10 -10
- package/dist/{dist-fQ0ViXGs.js → dist-Dv_Y15yk.js} +107 -107
- package/dist/{dist-Bfwsv11D.js → dist-DyyjKEYf.js} +2 -2
- package/dist/{dist-p2qyWijU.js → dist-GZXUmt0b.js} +2 -2
- package/dist/{dist-CLJWPTX2.js → dist-LTU8Hdvn.js} +3 -3
- package/dist/{dist-DqAWR3CS.js → dist-M9Vag9Y0.js} +20 -20
- package/dist/{dist-DNdhYsgW.js → dist-U4F-tbMs.js} +79 -62
- package/dist/{dist-RqXTaiir.js → dist-abid3KgM.js} +11 -11
- package/dist/dist-cdmMjgsn.js +5 -0
- package/dist/dist-hT4QzYX-.js +1247 -0
- package/dist/{dist-luvabDEB.js → dist-t9Kf7xqC.js} +2 -2
- package/dist/{error-banner-5bz0L9hS.js → error-banner-Cc0I3C9e.js} +1 -1
- package/dist/esm-BaH2eg5-.js +1171 -0
- package/dist/{esm-Duie8iU-.js → esm-ga2Bf3O2.js} +43 -43
- package/dist/{extends-CkydH1Q5.js → extends-D_hDsj6R.js} +4 -4
- package/dist/{formats-DHxc-FdY.js → formats-C4wO47tk.js} +1 -1
- package/dist/{glide-data-editor-CRvL2R9l.js → glide-data-editor-Qhu8oCX-.js} +8 -8
- package/dist/{html-to-image-CjsdUYrb.js → html-to-image-UEH5lFDZ.js} +2173 -2150
- package/dist/{input-DVkbXbIX.js → input-CMYy4hzj.js} +5 -5
- package/dist/{label-LWtdw5i8.js → label-CC4ytI1X.js} +1 -1
- package/dist/main.js +46 -46
- package/dist/{mermaid-lXOw5Py9.js → mermaid-zuLgJ8J8.js} +4 -4
- package/dist/{process-output-CI8a-CUx.js → process-output-CyMLTogj.js} +3 -3
- package/dist/{reveal-component-CQUEth_r.js → reveal-component-dIolR_34.js} +567 -566
- package/dist/{spec-DMRQmLOc.js → spec-X7FwLJni.js} +4 -4
- package/dist/{strings-GCJA9n6d.js → strings-J57tzLr3.js} +22 -22
- package/dist/style.css +1 -1
- package/dist/{toDate-x-WRDCH7.js → toDate-d8RCRrRd.js} +2 -2
- package/dist/{tooltip-C5FYOpQc.js → tooltip-DpcyNkQ2.js} +2 -2
- package/dist/{types-CVvp1fKr.js → types-ChtMFmZ2.js} +1 -1
- package/dist/{useAsyncData-iRgKDT5s.js → useAsyncData-PonK__yh.js} +1 -1
- package/dist/{useDateFormatter-BRcO_TGJ.js → useDateFormatter-QB-3MpYr.js} +2 -2
- package/dist/{useDeepCompareMemoize-CkQ57VS2.js → useDeepCompareMemoize-D3NGWke6.js} +1 -1
- package/dist/{useLifecycle-BBO9PIph.js → useLifecycle-00mO3OSS.js} +2 -2
- package/dist/{useTheme-DHIrRQOe.js → useTheme-DEhDzATN.js} +1 -1
- package/dist/{vega-component-Dq-SH463.js → vega-component-9h1ACS78.js} +8 -8
- package/dist/{zod-CoBiJ5v4.js → zod-aLSua2NL.js} +24 -23
- package/package.json +1 -1
- package/src/components/editor/documentation.css +19 -0
- package/src/components/slides/reveal-component.tsx +4 -0
- package/src/core/codemirror/language/languages/python.ts +2 -0
- package/src/core/codemirror/lsp/__tests__/markdown-renderer.test.ts +41 -0
- package/src/core/codemirror/lsp/markdown-renderer.ts +59 -0
- package/dist/dist-0Fif7jnk.js +0 -5
- package/dist/dist-B5h_9sHB.js +0 -6
- package/dist/dist-B9M6R5ye.js +0 -5
- package/dist/dist-BCt3tnck.js +0 -8
- package/dist/dist-BUIJwMwn.js +0 -8
- package/dist/dist-BpquMd3k.js +0 -5
- package/dist/dist-BzJsqYfz.js +0 -5
- package/dist/dist-CA5ELXAf.js +0 -6
- package/dist/dist-CLBRs6Uv.js +0 -5
- package/dist/dist-CStVCMbq.js +0 -5
- package/dist/dist-CZRIEY3Y.js +0 -8
- package/dist/dist-CuUHbFD0.js +0 -5
- package/dist/dist-DV7Iabxb.js +0 -8
- package/dist/dist-DhHh0jLg.js +0 -1247
- package/dist/dist-DuEeHMvL.js +0 -5
- package/dist/esm-CCuYCd3R.js +0 -1171
|
@@ -2,25 +2,25 @@ import { a as __toCommonJS, n as __esmMin, r as __export, s as __toESM, t as __c
|
|
|
2
2
|
import { _ as Logger, c as Objects, g as cn, t as Button } from "./button-C5K9fIPF.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-
|
|
6
|
-
import { A as SquareFunction, t as augmentSpecWithData } from "./spec-
|
|
7
|
-
import { a as Type, c as Calendar, i as createReducerAndAtoms, o as ToggleLeft, r as Badge, s as Hash, t as useOnMount } from "./useLifecycle-
|
|
8
|
-
import { a as ListFilter, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-
|
|
9
|
-
import { 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, w as $a916eb452884faea$export$b7a616150fdb9f44 } from "./strings-
|
|
5
|
+
import { u as createLucideIcon } from "./dist-Dk6PV_d3.js";
|
|
6
|
+
import { A as SquareFunction, t as augmentSpecWithData } from "./spec-X7FwLJni.js";
|
|
7
|
+
import { a as Type, c as Calendar, i as createReducerAndAtoms, o as ToggleLeft, r as Badge, s as Hash, t as useOnMount } from "./useLifecycle-00mO3OSS.js";
|
|
8
|
+
import { a as ListFilter, t as $896ba0a80a8f4d36$export$85fd5fdf27bacc79 } from "./useDateFormatter-QB-3MpYr.js";
|
|
9
|
+
import { 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, w as $a916eb452884faea$export$b7a616150fdb9f44 } from "./strings-J57tzLr3.js";
|
|
10
10
|
import "./react-dom-BTJzcVJ9.js";
|
|
11
11
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
12
|
-
import "./zod-
|
|
13
|
-
import { n as ErrorBanner } from "./error-banner-
|
|
14
|
-
import { t as Label } from "./label-
|
|
15
|
-
import { t as Tooltip } from "./tooltip-
|
|
16
|
-
import { _ as useAtomValue, b as atom, h as Provider, n as useTheme, x as createStore } from "./useTheme-
|
|
12
|
+
import "./zod-aLSua2NL.js";
|
|
13
|
+
import { n as ErrorBanner } from "./error-banner-Cc0I3C9e.js";
|
|
14
|
+
import { t as Label } from "./label-CC4ytI1X.js";
|
|
15
|
+
import { t as Tooltip } from "./tooltip-DpcyNkQ2.js";
|
|
16
|
+
import { _ as useAtomValue, b as atom, h as Provider, n as useTheme, x as createStore } from "./useTheme-DEhDzATN.js";
|
|
17
17
|
import { t as invariant } from "./invariant-wRzNXIsJ.js";
|
|
18
18
|
import "./vega-loader.browser-CZ-J8Py3.js";
|
|
19
19
|
import { a as getContainerWidth, n as vegaLoadData, s as tooltipHandler } from "./loader-BWLPpjKK.js";
|
|
20
20
|
import { n as q, r as contains } from "./react-vega-B0sAlDTL.js";
|
|
21
21
|
import "./defaultLocale-u-3osm0P.js";
|
|
22
22
|
import "./defaultLocale-BoHTsDG6.js";
|
|
23
|
-
import { t as useAsyncData } from "./useAsyncData-
|
|
23
|
+
import { t as useAsyncData } from "./useAsyncData-PonK__yh.js";
|
|
24
24
|
var ChartColumnBig = createLucideIcon("chart-column-big", [
|
|
25
25
|
["path", {
|
|
26
26
|
d: "M3 3v16a2 2 0 0 0 2 2h16",
|
|
@@ -2,7 +2,7 @@ import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
|
|
|
2
2
|
import { t as Button } from "./button-C5K9fIPF.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-Dk6PV_d3.js";
|
|
6
6
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
7
7
|
import { n as Constants } from "./constants-T20xxyNf.js";
|
|
8
8
|
var Plus = createLucideIcon("plus", [["path", {
|
|
@@ -4,26 +4,26 @@ import { t as require_react } from "./react-DA-nE2FX.js";
|
|
|
4
4
|
import "./compiler-runtime-CEbnTgxf.js";
|
|
5
5
|
import "./react-dom-BTJzcVJ9.js";
|
|
6
6
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
7
|
-
import "./zod-
|
|
8
|
-
import { n as ErrorBanner } from "./error-banner-
|
|
9
|
-
import { f as CopyClipboardIcon } from "./extends-
|
|
10
|
-
import "./dist-
|
|
11
|
-
import "./dist-
|
|
12
|
-
import "./dist-
|
|
13
|
-
import "./dist-
|
|
14
|
-
import "./dist-
|
|
15
|
-
import "./dist-
|
|
16
|
-
import { t as esm_default } from "./esm-
|
|
17
|
-
import "./dist-
|
|
18
|
-
import "./dist-
|
|
19
|
-
import "./dist-
|
|
20
|
-
import "./dist-
|
|
21
|
-
import "./dist-
|
|
22
|
-
import "./dist-
|
|
23
|
-
import "./dist-
|
|
24
|
-
import "./dist-
|
|
25
|
-
import "./dist-
|
|
26
|
-
import { n as loadLanguage, t as langs } from "./esm-
|
|
7
|
+
import "./zod-aLSua2NL.js";
|
|
8
|
+
import { n as ErrorBanner } from "./error-banner-Cc0I3C9e.js";
|
|
9
|
+
import { f as CopyClipboardIcon } from "./extends-D_hDsj6R.js";
|
|
10
|
+
import "./dist-U4F-tbMs.js";
|
|
11
|
+
import "./dist-Dv_Y15yk.js";
|
|
12
|
+
import "./dist-BSAt6RhH.js";
|
|
13
|
+
import "./dist-D-W5ny5a.js";
|
|
14
|
+
import "./dist-M9Vag9Y0.js";
|
|
15
|
+
import "./dist-C_Y3oV3C.js";
|
|
16
|
+
import { t as esm_default } from "./esm-BaH2eg5-.js";
|
|
17
|
+
import "./dist-CIYBwstr.js";
|
|
18
|
+
import "./dist-abid3KgM.js";
|
|
19
|
+
import "./dist-A2846XWO.js";
|
|
20
|
+
import "./dist-DZORgqKY.js";
|
|
21
|
+
import "./dist-BY018Paw.js";
|
|
22
|
+
import "./dist-Dax--nl9.js";
|
|
23
|
+
import "./dist-DyyjKEYf.js";
|
|
24
|
+
import "./dist-DZo4nSS0.js";
|
|
25
|
+
import "./dist-BzEzfugY.js";
|
|
26
|
+
import { n as loadLanguage, t as langs } from "./esm-ga2Bf3O2.js";
|
|
27
27
|
var import_react = /* @__PURE__ */ __toESM(require_react(), 1), import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1);
|
|
28
28
|
const LANGUAGE_MAP = {
|
|
29
29
|
python: "py",
|
|
@@ -5,34 +5,34 @@ import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
|
|
|
5
5
|
import { _ as Logger, c as Objects, g as cn, l as useEventListener, t as Button } from "./button-C5K9fIPF.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 } from "./copy-
|
|
9
|
-
import { C as AccordionContent, D as ChatBubbleIcon, En as Trash2, Et as createVariableInfoElement, G as cellErrorsAtom, Gt as getTableType, In as ExternalLink, It as jotaiJsonStorage, Lt as variablesAtom, Mt as generateUUID, Nn as Info, P as base64ToDataURL, Pn as FileText, Rt as PluralWord, S as Accordion, T as AccordionTrigger, Tn as Wrench, Ut as allTablesAtom, V as renderHTML, Wt as dataSourceConnectionsAtom, X as notebookAtom, Zt as singleFacet, _ as Boosts, _n as atomWithStorage, b as AIContextProvider, c as Popover, d as PopoverTrigger, f as isOutputEmpty, h as DatasourceContextProvider, jn as LoaderCircle, kt as moveToEndOfEditor, n as Spinner, nn as ZodLocalStorage, qt as getRequestClient, r as MarkdownRenderer, sn as CellOutputId, t as toPng, u as PopoverContent, v as Sections, w as AccordionItem, x as AIContextRegistry, y as contextToXml, yn as Anchor2, yt as displayCellName, zn as CircleX } from "./html-to-image-
|
|
8
|
+
import { r as toast } from "./copy-UqRYxiOg.js";
|
|
9
|
+
import { C as AccordionContent, D as ChatBubbleIcon, En as Trash2, Et as createVariableInfoElement, G as cellErrorsAtom, Gt as getTableType, In as ExternalLink, It as jotaiJsonStorage, Lt as variablesAtom, Mt as generateUUID, Nn as Info, P as base64ToDataURL, Pn as FileText, Rt as PluralWord, S as Accordion, T as AccordionTrigger, Tn as Wrench, Ut as allTablesAtom, V as renderHTML, Wt as dataSourceConnectionsAtom, X as notebookAtom, Zt as singleFacet, _ as Boosts, _n as atomWithStorage, b as AIContextProvider, c as Popover, d as PopoverTrigger, f as isOutputEmpty, h as DatasourceContextProvider, jn as LoaderCircle, kt as moveToEndOfEditor, n as Spinner, nn as ZodLocalStorage, qt as getRequestClient, r as MarkdownRenderer, sn as CellOutputId, t as toPng, u as PopoverContent, v as Sections, w as AccordionItem, x as AIContextRegistry, y as contextToXml, yn as Anchor2, yt as displayCellName, zn as CircleX } from "./html-to-image-UEH5lFDZ.js";
|
|
10
10
|
import "./chunk-5FQGJX7Z-BNjes6Yx.js";
|
|
11
|
-
import { u as createLucideIcon } from "./dist-
|
|
12
|
-
import { C as logNever, I as X, R as ChevronDown, t as Strings } from "./strings-
|
|
13
|
-
import { a as NumberField, d as DropdownMenuContent, p as DropdownMenuItem, r as Input, u as DropdownMenu, x as DropdownMenuTrigger } from "./input-
|
|
14
|
-
import { p as isUrl, v as CircleQuestionMark } from "./toDate-
|
|
15
|
-
import { a as MarimoIncomingMessageEvent, d as Square, f as File$1, n as blobToString, t as processOutput, u as deserializeBlob } from "./process-output-
|
|
11
|
+
import { u as createLucideIcon } from "./dist-Dk6PV_d3.js";
|
|
12
|
+
import { C as logNever, I as X, R as ChevronDown, t as Strings } from "./strings-J57tzLr3.js";
|
|
13
|
+
import { a as NumberField, d as DropdownMenuContent, p as DropdownMenuItem, r as Input, u as DropdownMenu, x as DropdownMenuTrigger } from "./input-CMYy4hzj.js";
|
|
14
|
+
import { p as isUrl, v as CircleQuestionMark } from "./toDate-d8RCRrRd.js";
|
|
15
|
+
import { a as MarimoIncomingMessageEvent, d as Square, f as File$1, n as blobToString, t as processOutput, u as deserializeBlob } from "./process-output-CyMLTogj.js";
|
|
16
16
|
import "./react-dom-BTJzcVJ9.js";
|
|
17
17
|
import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
18
|
-
import { A as looseObject, B as union, C as any, D as discriminatedUnion, E as custom, H as safeParseAsync, I as record, L as strictObject, M as never, N as number, O as lazy, P as object$1, R as string, S as _null, T as boolean, V as unknown, W as toJSONSchema, b as _enum, k as literal, w as array$1, x as _instanceof } from "./zod-
|
|
19
|
-
import { n as ErrorBanner } from "./error-banner-
|
|
20
|
-
import { t as Label } from "./label-
|
|
21
|
-
import { t as Tooltip } from "./tooltip-
|
|
22
|
-
import { f as CopyClipboardIcon } from "./extends-
|
|
18
|
+
import { A as looseObject, B as union, C as any, D as discriminatedUnion, E as custom, H as safeParseAsync, I as record, L as strictObject, M as never, N as number, O as lazy, P as object$1, R as string, S as _null, T as boolean, V as unknown, W as toJSONSchema, b as _enum, k as literal, w as array$1, x as _instanceof } from "./zod-aLSua2NL.js";
|
|
19
|
+
import { n as ErrorBanner } from "./error-banner-Cc0I3C9e.js";
|
|
20
|
+
import { t as Label } from "./label-CC4ytI1X.js";
|
|
21
|
+
import { t as Tooltip } from "./tooltip-DpcyNkQ2.js";
|
|
22
|
+
import { f as CopyClipboardIcon } from "./extends-D_hDsj6R.js";
|
|
23
23
|
import { t as isEmpty_default } from "./isEmpty-CJJMn-QP.js";
|
|
24
|
-
import { T as useEvent_default, n as useTheme, y as useStore } from "./useTheme-
|
|
25
|
-
import { $ as
|
|
26
|
-
import { n as acceptCompletion, o as closeCompletion, r as autocompletion } from "./dist-
|
|
24
|
+
import { T as useEvent_default, n as useTheme, y as useStore } from "./useTheme-DEhDzATN.js";
|
|
25
|
+
import { $ as EditorView, At as Facet, It as StateEffect, Lt as StateField, Mt as Prec, Z as Decoration, ft as hoverTooltip, kt as EditorState, nt as WidgetType, pt as keymap, tt as ViewPlugin, zt as Transaction } from "./dist-U4F-tbMs.js";
|
|
26
|
+
import { n as acceptCompletion, o as closeCompletion, r as autocompletion } from "./dist-hT4QzYX-.js";
|
|
27
27
|
import "./main-Tj_-QTyF.js";
|
|
28
|
-
import { a as markdown } from "./dist-
|
|
29
|
-
import "./dist-
|
|
30
|
-
import "./dist-
|
|
31
|
-
import "./dist-
|
|
32
|
-
import "./dist-
|
|
33
|
-
import { n as minimalSetup, t as esm_default } from "./esm-
|
|
28
|
+
import { a as markdown } from "./dist-Dv_Y15yk.js";
|
|
29
|
+
import "./dist-BSAt6RhH.js";
|
|
30
|
+
import "./dist-D-W5ny5a.js";
|
|
31
|
+
import "./dist-M9Vag9Y0.js";
|
|
32
|
+
import "./dist-C_Y3oV3C.js";
|
|
33
|
+
import { n as minimalSetup, t as esm_default } from "./esm-BaH2eg5-.js";
|
|
34
34
|
import "./purify.es-H92eMd9-.js";
|
|
35
|
-
import { t as useAsyncData } from "./useAsyncData-
|
|
35
|
+
import { t as useAsyncData } from "./useAsyncData-PonK__yh.js";
|
|
36
36
|
var Ban = createLucideIcon("ban", [["path", {
|
|
37
37
|
d: "M4.929 4.929 19.07 19.071",
|
|
38
38
|
key: "196cmz"
|
|
@@ -5,36 +5,36 @@ import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
|
|
|
5
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-C5K9fIPF.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, 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, 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, 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 $e5be200c675c3b3a$export$a763b9476acd3eb, $t as Label$1, A as $514c0188e459b4c0$export$9afb8bc826b033ea, At as $c87311424ea30a05$export$a11b0059900ceec8, B as $64fa3d84918910a7$export$c245e6201fed2f75, Bt as $431fbd86ca7dc216$export$b204af158042fbac, C as $3985021b0ad6602f$export$f5b8910cec6cf069, Ct as $e9faafb641e167db$export$90fc3a17d93f704c, D as $ee014567cb39d3f0$export$f551688fc98f2e09, Dt as $c87311424ea30a05$export$6446a186d09e379e, E as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Et as $313b98861ee5dd6c$export$d6875122194c7b44, F as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Ft as $d4ee10de306f2510$export$4282f70798064fe0, Gt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, H as $64fa3d84918910a7$export$df3a06d6289f983e, Ht as $ff5963eb1fccf552$export$e08e3b67e392101e, I as $64fa3d84918910a7$export$2881499e37b75b9a, It as $d4ee10de306f2510$export$b4f377a2b6254582, Jt as CheckboxItem, K as marked, Kt as Anchor2, L as $64fa3d84918910a7$export$29f1550f4b0d4415, Lt as $d4ee10de306f2510$export$cd4e5573fbe2b576, M as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, Mt as $7215afc6de606d6b$export$de79e2c695e052f3, N as $01b77f81d0f07f68$export$75b6ee27786ba447, Nt as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, O as $ee014567cb39d3f0$export$ff05c3ac10437e03, Ot as $c87311424ea30a05$export$78551043582a6a98, P as $01b77f81d0f07f68$export$b04be29aa201d4f5, Pt as $3ef42575df84b30b$export$9d1611c77c2fe928, Q as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, Qt as ItemIndicator, R as $64fa3d84918910a7$export$4d86445c2cf5e3, Rt as $d4ee10de306f2510$export$e58f029f0fbfdb29, S as $3985021b0ad6602f$export$37fb8590cf2c088c, St as $99facab73266f662$export$5add1d006293d136, T as $a049562f99e7db0e$export$f9c6924e160136d1, Tt as $df56164dff5785e2$export$4338b53315abf666, U as $64fa3d84918910a7$export$ef03459518577ad4, Ut as $bdb11010cef70236$export$b4cc09c592e8fdb8, V as $64fa3d84918910a7$export$c62b8e45d58ddad9, Vt as $431fbd86ca7dc216$export$f21a1ffae260145a, W as $64fa3d84918910a7$export$fabf2dc03a41866e, Wt as $bdb11010cef70236$export$f680877a34711e37, X as $2baaea4c71418dea$export$294aa081a6c6f55d, Xt as Group, Y as $d2e8511e6f209edf$export$e908e06f4b8e3402, Yt as Content2$1, Z as $e93e671b31057976$export$b8473d3665f3a75a, Zt as Item2$2, _t as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, a as NumberField, an as Sub, b as DropdownMenuSubTrigger, bt as $b4b717babfbb907b$export$4c063cf1350e6fed, c as prettyNumber, cn as createMenuScope, ct as $fca6afa0e843324b$export$f12b703ca79dfbb1, d as DropdownMenuContent, dn as createRovingFocusGroupScope, dt as $6179b936705e76d3$export$ae780daf29e6d456, en as Portal, et as $e5be200c675c3b3a$export$aca958c65c314e6c, fn as Search, ft as $9ab94262bd0047c7$export$420e68273165f4ec, g as DropdownMenuSeparator, gt as _class_private_field_init, h as DropdownMenuPortal, ht as $f6c31cce2adf654f$export$45712eceda6fad21, in as Separator$1, it as $f7dceffc5ad7768b$export$4e328f61c538687f, j as $d2b4bc8c273e7be6$export$24d547caef80ccd1, jt as $c87311424ea30a05$export$fedb369cb70207f1, k as $514c0188e459b4c0$export$5f1af8db9871e1d6, kt as $c87311424ea30a05$export$9ac100e40613ea10, l as prettyScientificNumber, ln as Item, lt as $6db58dc88e78b024$export$2f817fcdc4b89ae0, m as DropdownMenuLabel, mn as ChevronRight, mt as $507fabe10e71c6fb$export$630ff653c5ada6a9, nn as RadioItem, nt as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, o as maxFractionalDigits, on as SubContent, ot as $6c7bd7858deea686$export$cd11ab140839f11d, p as DropdownMenuItem, pn as Circle, pt as $3ad3f6e1647bc98d$export$80f3e147d781571c, qt as Arrow2, r as Input, rn as Root3, rt as $319e236875307eab$export$a9b970dcc4ae71a9, s as prettyEngineeringNumber, sn as SubTrigger, st as $fca6afa0e843324b$export$87b761675e8eaa10, tn as RadioGroup$2, tt as $e5be200c675c3b3a$export$dad6ae84456c676a, u as DropdownMenu, un as Root$2, ut as $5b160d28a433310d$export$c17fa47878dc55b6, v as DropdownMenuSub, vt as $9446cca9a3875146$export$7d15b64cf5a3a4c4, w as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, wt as $8ae05eaa5c114e9c$export$7f54fc3180508a52, x as DropdownMenuTrigger, xt as $b4b717babfbb907b$export$bebd5a1431fec25d, y as DropdownMenuSubContent, yt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, z as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, zt as $f4e2df6bd15f8569$export$98658e8c59125e6a } 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-UqRYxiOg.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, 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, 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-UEH5lFDZ.js";
|
|
10
|
+
import { o as useSize, u as createLucideIcon } from "./dist-Dk6PV_d3.js";
|
|
11
|
+
import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLifecycle-00mO3OSS.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-QB-3MpYr.js";
|
|
13
|
+
import { t as Check } from "./check-BCaJeT-J.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, 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-J57tzLr3.js";
|
|
15
|
+
import { $ as $e5be200c675c3b3a$export$a763b9476acd3eb, $t as Label$1, A as $514c0188e459b4c0$export$9afb8bc826b033ea, At as $c87311424ea30a05$export$a11b0059900ceec8, B as $64fa3d84918910a7$export$c245e6201fed2f75, Bt as $431fbd86ca7dc216$export$b204af158042fbac, C as $3985021b0ad6602f$export$f5b8910cec6cf069, Ct as $e9faafb641e167db$export$90fc3a17d93f704c, D as $ee014567cb39d3f0$export$f551688fc98f2e09, Dt as $c87311424ea30a05$export$6446a186d09e379e, E as $d3e0e05bdfcf66bd$export$c24727297075ec6a, Et as $313b98861ee5dd6c$export$d6875122194c7b44, F as $f39a9eba43920ace$export$b5d7cc18bb8d2b59, Ft as $d4ee10de306f2510$export$4282f70798064fe0, Gt as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c, H as $64fa3d84918910a7$export$df3a06d6289f983e, Ht as $ff5963eb1fccf552$export$e08e3b67e392101e, I as $64fa3d84918910a7$export$2881499e37b75b9a, It as $d4ee10de306f2510$export$b4f377a2b6254582, Jt as CheckboxItem, K as marked, Kt as Anchor2, L as $64fa3d84918910a7$export$29f1550f4b0d4415, Lt as $d4ee10de306f2510$export$cd4e5573fbe2b576, M as $d2b4bc8c273e7be6$export$353f5b6fc5456de1, Mt as $7215afc6de606d6b$export$de79e2c695e052f3, N as $01b77f81d0f07f68$export$75b6ee27786ba447, Nt as $65484d02dcb7eb3e$export$457c3d6518dd4c6f, O as $ee014567cb39d3f0$export$ff05c3ac10437e03, Ot as $c87311424ea30a05$export$78551043582a6a98, P as $01b77f81d0f07f68$export$b04be29aa201d4f5, Pt as $3ef42575df84b30b$export$9d1611c77c2fe928, Q as $e5be200c675c3b3a$export$75ee7c75d68f5b0e, Qt as ItemIndicator, R as $64fa3d84918910a7$export$4d86445c2cf5e3, Rt as $d4ee10de306f2510$export$e58f029f0fbfdb29, S as $3985021b0ad6602f$export$37fb8590cf2c088c, St as $99facab73266f662$export$5add1d006293d136, T as $a049562f99e7db0e$export$f9c6924e160136d1, Tt as $df56164dff5785e2$export$4338b53315abf666, U as $64fa3d84918910a7$export$ef03459518577ad4, Ut as $bdb11010cef70236$export$b4cc09c592e8fdb8, V as $64fa3d84918910a7$export$c62b8e45d58ddad9, Vt as $431fbd86ca7dc216$export$f21a1ffae260145a, W as $64fa3d84918910a7$export$fabf2dc03a41866e, Wt as $bdb11010cef70236$export$f680877a34711e37, X as $2baaea4c71418dea$export$294aa081a6c6f55d, Xt as Group, Y as $d2e8511e6f209edf$export$e908e06f4b8e3402, Yt as Content2$1, Z as $e93e671b31057976$export$b8473d3665f3a75a, Zt as Item2$2, _t as $ae1eeba8b9eafd08$export$5165eccb35aaadb5, a as NumberField, an as Sub, b as DropdownMenuSubTrigger, bt as $b4b717babfbb907b$export$4c063cf1350e6fed, c as prettyNumber, cn as createMenuScope, ct as $fca6afa0e843324b$export$f12b703ca79dfbb1, d as DropdownMenuContent, dn as createRovingFocusGroupScope, dt as $6179b936705e76d3$export$ae780daf29e6d456, en as Portal, et as $e5be200c675c3b3a$export$aca958c65c314e6c, fn as Search, ft as $9ab94262bd0047c7$export$420e68273165f4ec, g as DropdownMenuSeparator, gt as _class_private_field_init, h as DropdownMenuPortal, ht as $f6c31cce2adf654f$export$45712eceda6fad21, in as Separator$1, it as $f7dceffc5ad7768b$export$4e328f61c538687f, j as $d2b4bc8c273e7be6$export$24d547caef80ccd1, jt as $c87311424ea30a05$export$fedb369cb70207f1, k as $514c0188e459b4c0$export$5f1af8db9871e1d6, kt as $c87311424ea30a05$export$9ac100e40613ea10, l as prettyScientificNumber, ln as Item, lt as $6db58dc88e78b024$export$2f817fcdc4b89ae0, m as DropdownMenuLabel, mn as ChevronRight, mt as $507fabe10e71c6fb$export$630ff653c5ada6a9, nn as RadioItem, nt as $e5be200c675c3b3a$export$fc1a364ae1f3ff10, o as maxFractionalDigits, on as SubContent, ot as $6c7bd7858deea686$export$cd11ab140839f11d, p as DropdownMenuItem, pn as Circle, pt as $3ad3f6e1647bc98d$export$80f3e147d781571c, qt as Arrow2, r as Input, rn as Root3, rt as $319e236875307eab$export$a9b970dcc4ae71a9, s as prettyEngineeringNumber, sn as SubTrigger, st as $fca6afa0e843324b$export$87b761675e8eaa10, tn as RadioGroup$2, tt as $e5be200c675c3b3a$export$dad6ae84456c676a, u as DropdownMenu, un as Root$2, ut as $5b160d28a433310d$export$c17fa47878dc55b6, v as DropdownMenuSub, vt as $9446cca9a3875146$export$7d15b64cf5a3a4c4, w as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, wt as $8ae05eaa5c114e9c$export$7f54fc3180508a52, x as DropdownMenuTrigger, xt as $b4b717babfbb907b$export$bebd5a1431fec25d, y as DropdownMenuSubContent, yt as $458b0a5536c1a7cf$export$40bfa8c7b0832715, z as $64fa3d84918910a7$export$9d4c57ee4c6ffdd8, zt as $f4e2df6bd15f8569$export$98658e8c59125e6a } from "./input-CMYy4hzj.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-d8RCRrRd.js";
|
|
17
|
+
import { r as Plus, t as ErrorBoundary } from "./ErrorBoundary-DpbaKVv7.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 {
|
|
22
|
-
import { a as Content$1, c as Root$3, i as prettyError, n as ErrorBanner, o as Overlay, s as Portal$1, 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-aLSua2NL.js";
|
|
22
|
+
import { a as Content$1, c as Root$3, i as prettyError, n as ErrorBanner, o as Overlay, s as Portal$1, t as Banner } from "./error-banner-Cc0I3C9e.js";
|
|
23
|
+
import { a as TooltipRoot, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, t as Tooltip } from "./tooltip-DpcyNkQ2.js";
|
|
24
|
+
import { f as CopyClipboardIcon, t as _extends } from "./extends-D_hDsj6R.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-
|
|
27
|
-
import {
|
|
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-DEhDzATN.js";
|
|
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
|
-
import { a as parser } from "./dist-
|
|
32
|
-
import { a as isValid, i as AlertTitle, n as Alert, t as arrow } from "./formats-
|
|
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-C4wO47tk.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
35
|
import { a as getContainerWidth, n as vegaLoadData, r as createBatchedLoader, s as tooltipHandler, t as parseCsvData } from "./loader-BWLPpjKK.js";
|
|
36
36
|
import { t as useIframeCapabilities } from "./useIframeCapabilities-C4JTXTIh.js";
|
|
37
|
-
import { t as useAsyncData } from "./useAsyncData-
|
|
37
|
+
import { t as useAsyncData } from "./useAsyncData-PonK__yh.js";
|
|
38
38
|
let PanelGroup, Code, ContextMenuTrigger, dateToLocalISOTime, CommandList, RenderTextWithLinks, prettifyRowColumnCount, TOO_MANY_ROWS, ContextMenuContent, Maps, ContextMenu, isNullishFilter, ComboboxItem, ChartErrorState, contextAwarePanelOpen, $fae977aafc393c5c$export$6b862160d295c8e, smartMatch, HtmlOutput, Command, ChartInfoState, isCellAwareAtom, Funnel, contextAwarePanelOwner, TextWrap, CommandEmpty, ChartLoadingState, DatePicker, TabsContent, DateRangePicker, TabsList, ContextMenuItem, dateToLocalISODate, Combobox, TabsTrigger, Panel, Download, CommandInput, LazyVegaEmbed, downloadSizeLimitAtom, SELECT_COLUMN_ID, getColumnCountForDisplay, getMimeValues, ContextAwarePanelItem, EmotionCacheProvider, CommandSeparator, Kbd, PANEL_TYPES, $fae977aafc393c5c$export$588937bcd60ade55, slotsController, Expand, SlotNames, EyeOff, Toggle, Ellipsis, downloadBlob, usePrevious, DEFAULT_SLIDE_TYPE, ArrowDownWideNarrow, TableCell, Progress, loadTableData, Slide, TableRow, JsonOutput, inferFieldTypes, ChevronsUpDown, PanelResizeHandle, OutputArea, renderCellValue, ADD_PRINTING_CLASS, useIntersectionObserver, InstallPackageButton, DelayMount, DEFAULT_DECK_TRANSITION, ChevronLeft, TableBody, useInternalStateWithSync, Tabs, ContextMenuSeparator, dateToLocalISODateTime, RadioGroup, NAMELESS_COLUMN_PREFIX, DataTable, ColumnChartSpecModel, marimoVersionAtom, ChevronsLeft, Provider$1, SLIDE_TYPE_OPTIONS_BY_VALUE, TableHead, OutputRenderer, ColumnChartContext, contextAwarePanelType, GripHorizontal, showCodeInRunModeAtom, ChevronsDownUp, Table, SlideSidebar, TableHeader, useNotebookCodeAvailable, ChevronsRight, Fill, RadioGroupItem, generateColumns, downloadByURL, getPageIndexForRow, prettifyRowCount, toFieldTypes, Filenames, INDEX_COLUMN_NAME, downloadHTMLAsImage, loadTableAndRawData, CommandItem, useOverflowDetection;
|
|
39
39
|
let __tla = Promise.all([
|
|
40
40
|
(() => {
|
|
@@ -35281,7 +35281,7 @@ ${d}`,
|
|
|
35281
35281
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
35282
35282
|
}
|
|
35283
35283
|
}
|
|
35284
|
-
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.10-
|
|
35284
|
+
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.10-dev25");
|
|
35285
35285
|
showCodeInRunModeAtom = atom(true);
|
|
35286
35286
|
atom(null);
|
|
35287
35287
|
var import_compiler_runtime = require_compiler_runtime();
|
|
@@ -2,7 +2,7 @@ import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
|
2
2
|
import { _ as Logger } from "./button-C5K9fIPF.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-Dk6PV_d3.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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, h as continuedIndent, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent } from "./dist-U4F-tbMs.js";
|
|
2
2
|
var javaHighlighting = styleTags({
|
|
3
3
|
null: tags.null,
|
|
4
4
|
instanceof: tags.operatorKeyword,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as html } from "./dist-
|
|
1
|
+
import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp, Ot as EditorSelection, V as styleTags, X as parseMixed, i as LocalTokenGroup, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-U4F-tbMs.js";
|
|
2
|
+
import { n as html } from "./dist-BSAt6RhH.js";
|
|
3
3
|
var interpolationStart = 1, commentTagStart = 2, tagStart = 3, text = 155, endrawTagStart = 4, rawText = 156;
|
|
4
4
|
function wordChar(h) {
|
|
5
5
|
return h >= 65 && h <= 90 || h >= 97 && h <= 122;
|
|
@@ -288,7 +288,7 @@ function jinjaCompletionSource(h = {}) {
|
|
|
288
288
|
} : null;
|
|
289
289
|
};
|
|
290
290
|
}
|
|
291
|
-
var closePercentBrace = /* @__PURE__ */ EditorView.inputHandler.of((h, z, B
|
|
291
|
+
var closePercentBrace = /* @__PURE__ */ EditorView.inputHandler.of((h, R, z, B) => B != "%" || R != z || h.state.doc.sliceString(R - 1, z + 1) != "{}" ? false : (h.dispatch(h.state.changeByRange((h2) => ({
|
|
292
292
|
changes: {
|
|
293
293
|
from: h2.from,
|
|
294
294
|
to: h2.to,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as cssLanguage, t as css } from "./dist-
|
|
3
|
-
import { c as typescriptLanguage, i as jsxLanguage, n as javascript, r as javascriptLanguage, s as tsxLanguage } from "./dist-
|
|
1
|
+
import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp, Ot as EditorSelection, V as styleTags, X as parseMixed, m as bracketMatchingHandle, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, w as foldNodeProp } from "./dist-U4F-tbMs.js";
|
|
2
|
+
import { r as cssLanguage, t as css } from "./dist-D-W5ny5a.js";
|
|
3
|
+
import { c as typescriptLanguage, i as jsxLanguage, n as javascript, r as javascriptLanguage, s as tsxLanguage } from "./dist-M9Vag9Y0.js";
|
|
4
4
|
var scriptText = 54, StartCloseScriptTag = 1, styleText = 55, StartCloseStyleTag = 2, textareaText = 56, StartCloseTextareaTag = 3, EndTag = 4, SelfClosingEndTag = 5, StartTag = 6, StartScriptTag = 7, StartStyleTag = 8, StartTextareaTag = 9, StartSelfClosingTag = 10, StartCloseTag = 11, NoMatchStartCloseTag = 12, MismatchedStartCloseTag = 13, missingCloseTag = 57, IncompleteCloseTag = 14, commentContent$1 = 58, Element = 20, TagName = 22, Attribute = 23, AttributeName = 24, AttributeValue = 26, UnquotedAttributeValue = 27, ScriptText = 28, StyleText = 31, TextareaText = 34, OpenTag = 36, CloseTag = 37, Dialect_noMatch = 0, Dialect_selfClosing = 1, selfClosers$1 = {
|
|
5
5
|
area: true,
|
|
6
6
|
base: true,
|
|
@@ -356,19 +356,19 @@ function maybeNest(g, G, K) {
|
|
|
356
356
|
return null;
|
|
357
357
|
}
|
|
358
358
|
function configureNesting(g = [], G = []) {
|
|
359
|
-
let K = [],
|
|
360
|
-
for (let G2 of g) (G2.tag == "script" ? K : G2.tag == "style" ?
|
|
359
|
+
let K = [], q = [], J = [], Y = [];
|
|
360
|
+
for (let G2 of g) (G2.tag == "script" ? K : G2.tag == "style" ? q : G2.tag == "textarea" ? J : Y).push(G2);
|
|
361
361
|
let Z = G.length ? /* @__PURE__ */ Object.create(null) : null;
|
|
362
362
|
for (let g2 of G) (Z[g2.name] || (Z[g2.name] = [])).push(g2);
|
|
363
363
|
return parseMixed((g2, G2) => {
|
|
364
|
-
let
|
|
365
|
-
if (
|
|
366
|
-
if (
|
|
367
|
-
if (
|
|
368
|
-
if (
|
|
369
|
-
let K2 = g2.node, q2 = K2.firstChild, J2 = q2 && findTagName(q2, G2),
|
|
364
|
+
let X = g2.type.id;
|
|
365
|
+
if (X == ScriptText) return maybeNest(g2, G2, K);
|
|
366
|
+
if (X == StyleText) return maybeNest(g2, G2, q);
|
|
367
|
+
if (X == TextareaText) return maybeNest(g2, G2, J);
|
|
368
|
+
if (X == Element && Y.length) {
|
|
369
|
+
let K2 = g2.node, q2 = K2.firstChild, J2 = q2 && findTagName(q2, G2), X2;
|
|
370
370
|
if (J2) {
|
|
371
|
-
for (let g3 of
|
|
371
|
+
for (let g3 of Y) if (g3.tag == J2 && (!g3.attrs || g3.attrs(X2 || (X2 = getAttrs(q2, G2))))) {
|
|
372
372
|
let G3 = K2.lastChild, J3 = G3.type.id == CloseTag ? G3.from : K2.to;
|
|
373
373
|
if (J3 > q2.to) return {
|
|
374
374
|
parser: g3.parser,
|
|
@@ -380,7 +380,7 @@ function configureNesting(g = [], G = []) {
|
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
|
-
if (Z &&
|
|
383
|
+
if (Z && X == Attribute) {
|
|
384
384
|
let K2 = g2.node, q2;
|
|
385
385
|
if (q2 = K2.firstChild) {
|
|
386
386
|
let g3 = Z[G2.read(q2.from, q2.to)];
|
|
@@ -1281,31 +1281,31 @@ function html(g = {}) {
|
|
|
1281
1281
|
css().support
|
|
1282
1282
|
]);
|
|
1283
1283
|
}
|
|
1284
|
-
var selfClosers = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")), autoCloseTags = /* @__PURE__ */ EditorView.inputHandler.of((g,
|
|
1285
|
-
if (g.composing || g.state.readOnly ||
|
|
1284
|
+
var selfClosers = /* @__PURE__ */ new Set(/* @__PURE__ */ "area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")), autoCloseTags = /* @__PURE__ */ EditorView.inputHandler.of((g, G, q, Y, X) => {
|
|
1285
|
+
if (g.composing || g.state.readOnly || G != q || Y != ">" && Y != "/" || !htmlLanguage.isActiveAt(g.state, G, -1)) return false;
|
|
1286
1286
|
let Z = X(), { state: Q } = Z, $ = Q.changeByRange((g2) => {
|
|
1287
1287
|
var _a, _b, _c;
|
|
1288
|
-
let
|
|
1289
|
-
if (
|
|
1290
|
-
let
|
|
1291
|
-
if (((_b = (_a =
|
|
1288
|
+
let G2 = Q.doc.sliceString(g2.from - 1, g2.to) == Y, { head: q2 } = g2, X2 = syntaxTree(Q).resolveInner(q2, -1), Z2;
|
|
1289
|
+
if (G2 && Y == ">" && X2.name == "EndTag") {
|
|
1290
|
+
let G3 = X2.parent;
|
|
1291
|
+
if (((_b = (_a = G3.parent) == null ? void 0 : _a.lastChild) == null ? void 0 : _b.name) != "CloseTag" && (Z2 = elementName(Q.doc, G3.parent, q2)) && !selfClosers.has(Z2)) return {
|
|
1292
1292
|
range: g2,
|
|
1293
1293
|
changes: {
|
|
1294
|
-
from:
|
|
1295
|
-
to:
|
|
1294
|
+
from: q2,
|
|
1295
|
+
to: q2 + (Q.doc.sliceString(q2, q2 + 1) === ">" ? 1 : 0),
|
|
1296
1296
|
insert: `</${Z2}>`
|
|
1297
1297
|
}
|
|
1298
1298
|
};
|
|
1299
|
-
} else if (
|
|
1299
|
+
} else if (G2 && Y == "/" && X2.name == "IncompleteCloseTag") {
|
|
1300
1300
|
let g3 = X2.parent;
|
|
1301
|
-
if (X2.from ==
|
|
1302
|
-
let g4 =
|
|
1301
|
+
if (X2.from == q2 - 2 && ((_c = g3.lastChild) == null ? void 0 : _c.name) != "CloseTag" && (Z2 = elementName(Q.doc, g3, q2)) && !selfClosers.has(Z2)) {
|
|
1302
|
+
let g4 = q2 + (Q.doc.sliceString(q2, q2 + 1) === ">" ? 1 : 0), G3 = `${Z2}>`;
|
|
1303
1303
|
return {
|
|
1304
|
-
range: EditorSelection.cursor(
|
|
1304
|
+
range: EditorSelection.cursor(q2 + G3.length, -1),
|
|
1305
1305
|
changes: {
|
|
1306
|
-
from:
|
|
1306
|
+
from: q2,
|
|
1307
1307
|
to: g4,
|
|
1308
|
-
insert:
|
|
1308
|
+
insert: G3
|
|
1309
1309
|
}
|
|
1310
1310
|
};
|
|
1311
1311
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as html } from "./dist-
|
|
1
|
+
import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, X as parseMixed, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-U4F-tbMs.js";
|
|
2
|
+
import { n as html } from "./dist-BSAt6RhH.js";
|
|
3
3
|
var castOpen = 1, HeredocString = 2, interpolatedStringContent = 263, EscapeSequence = 3, afterInterpolation = 264, automaticSemicolon = 265, eof = 266, abstract = 4, and = 5, array = 6, as = 7, Boolean = 8, _break = 9, _case = 10, _catch = 11, clone = 12, _const = 13, _continue = 14, _default = 15, declare = 16, _do = 17, echo = 18, _else = 19, elseif = 20, enddeclare = 21, endfor = 22, endforeach = 23, endif = 24, endswitch = 25, endwhile = 26, _enum = 27, _extends = 28, final = 29, _finally = 30, fn = 31, _for = 32, foreach = 33, from = 34, _function = 35, global = 36, goto = 37, _if = 38, _implements = 39, include = 40, include_once = 41, _instanceof = 42, insteadof = 43, _interface = 44, list = 45, match = 46, namespace = 47, _new = 48, _null = 49, or = 50, print = 51, _require = 52, require_once = 53, _return = 54, _switch = 55, _throw = 56, trait = 57, _try = 58, unset = 59, use = 60, _var = 61, Visibility = 62, keywordMap = {
|
|
4
4
|
abstract,
|
|
5
5
|
and,
|
|
@@ -407,19 +407,19 @@ var interpolated = new ExternalTokenizer((S, Z) => {
|
|
|
407
407
|
}
|
|
408
408
|
});
|
|
409
409
|
function php(S = {}) {
|
|
410
|
-
let
|
|
411
|
-
if (S.baseLanguage !== null) if (S.baseLanguage)
|
|
410
|
+
let Z = [], Q;
|
|
411
|
+
if (S.baseLanguage !== null) if (S.baseLanguage) Q = S.baseLanguage;
|
|
412
412
|
else {
|
|
413
413
|
let S2 = html({ matchClosingTags: false });
|
|
414
|
-
|
|
414
|
+
Z.push(S2.support), Q = S2.language;
|
|
415
415
|
}
|
|
416
416
|
return new LanguageSupport(phpLanguage.configure({
|
|
417
|
-
wrap:
|
|
418
|
-
parser:
|
|
417
|
+
wrap: Q && parseMixed((S2) => S2.type.isTop ? {
|
|
418
|
+
parser: Q.parser,
|
|
419
419
|
overlay: (S3) => S3.name == "Text"
|
|
420
420
|
} : null),
|
|
421
421
|
top: S.plain ? "Program" : "Template"
|
|
422
|
-
}),
|
|
422
|
+
}), Z);
|
|
423
423
|
}
|
|
424
424
|
export {
|
|
425
425
|
phpLanguage as n,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./dist-
|
|
2
|
-
import { i as snippets, n as goLanguage, r as localCompletionSource, t as go } from "./dist-
|
|
1
|
+
import "./dist-U4F-tbMs.js";
|
|
2
|
+
import { i as snippets, n as goLanguage, r as localCompletionSource, t as go } from "./dist-abid3KgM.js";
|
|
3
3
|
export {
|
|
4
4
|
go
|
|
5
5
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./dist-
|
|
2
|
-
import { a as markdown, c as pasteURLAsLink, i as insertNewlineContinueMarkupCommand, n as deleteMarkupBackward, o as markdownKeymap, r as insertNewlineContinueMarkup, s as markdownLanguage, t as commonmarkLanguage } from "./dist-
|
|
3
|
-
import "./dist-
|
|
4
|
-
import "./dist-
|
|
5
|
-
import "./dist-
|
|
1
|
+
import "./dist-U4F-tbMs.js";
|
|
2
|
+
import { a as markdown, c as pasteURLAsLink, i as insertNewlineContinueMarkupCommand, n as deleteMarkupBackward, o as markdownKeymap, r as insertNewlineContinueMarkup, s as markdownLanguage, t as commonmarkLanguage } from "./dist-Dv_Y15yk.js";
|
|
3
|
+
import "./dist-BSAt6RhH.js";
|
|
4
|
+
import "./dist-D-W5ny5a.js";
|
|
5
|
+
import "./dist-M9Vag9Y0.js";
|
|
6
6
|
export {
|
|
7
7
|
markdown
|
|
8
8
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./dist-
|
|
2
|
-
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-
|
|
1
|
+
import "./dist-U4F-tbMs.js";
|
|
2
|
+
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";
|
|
3
3
|
export {
|
|
4
4
|
Cassandra,
|
|
5
5
|
MSSQL,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-U4F-tbMs.js";
|
|
2
2
|
var blockEnd = 63, eof = 64, DirectiveEnd = 1, DocEnd = 2, sequenceStartMark = 3, sequenceContinueMark = 4, explicitMapStartMark = 5, explicitMapContinueMark = 6, flowMapMark = 7, mapStartMark = 65, mapContinueMark = 66, Literal = 8, QuotedLiteral = 9, Anchor = 10, Alias = 11, Tag = 12, BlockLiteralContent = 13, BracketL = 19, FlowSequence = 20, Colon = 29, BraceL = 33, FlowMapping = 34, BlockLiteralHeader = 47, type_Top = 0, type_Seq = 1, type_Map = 2, type_Flow = 3, type_Lit = 4, Context = class {
|
|
3
3
|
constructor(v, q, J) {
|
|
4
4
|
this.parent = v, this.depth = q, this.type = J, this.hash = (v ? v.hash + v.hash << 8 : 0) + q + (q << 4) + J;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent } from "./dist-U4F-tbMs.js";
|
|
2
2
|
var RawString = 1, templateArgsEndFallback = 2, MacroName = 3, R = 82, L = 76, u = 117, U = 85, a = 97, z = 122, A = 65, Z = 90, Underscore = 95, Zero = 48, Quote = 34, ParenL = 40, ParenR = 41, Space = 32, GreaterThan = 62, rawString = new ExternalTokenizer((y) => {
|
|
3
3
|
if (y.next == L || y.next == U ? y.advance() : y.next == u && (y.advance(), y.next == Zero + 8 && y.advance()), y.next != R || (y.advance(), y.next != Quote)) return;
|
|
4
4
|
y.advance();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { f as snippetCompletion, l as ifNotIn, s as completeFromList } from "./dist-
|
|
1
|
+
import { H as tags, I as syntaxTree, O as indentNodeProp, S as foldInside, U as IterMode, V as styleTags, n as ExternalTokenizer, q as NodeWeakMap, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-U4F-tbMs.js";
|
|
2
|
+
import { f as snippetCompletion, l as ifNotIn, s as completeFromList } from "./dist-hT4QzYX-.js";
|
|
3
3
|
var printKeyword = 1, indent = 194, dedent = 195, newline$1 = 196, blankLineStart = 197, newlineBracketed = 198, eof = 199, stringContent = 200, Escape = 2, replacementStart = 3, stringEnd = 201, ParenL = 24, ParenthesizedExpression = 25, TupleExpression = 49, ComprehensionExpression = 50, BracketL = 55, ArrayExpression = 56, ArrayComprehensionExpression = 57, BraceL = 59, DictionaryExpression = 60, DictionaryComprehensionExpression = 61, SetExpression = 62, SetComprehensionExpression = 63, ArgList = 65, subscript = 238, String$1 = 71, stringStart = 241, stringStartD = 242, stringStartL = 243, stringStartLD = 244, stringStartR = 245, stringStartRD = 246, stringStartRL = 247, stringStartRLD = 248, FormatString = 72, stringStartF = 249, stringStartFD = 250, stringStartFL = 251, stringStartFLD = 252, stringStartFR = 253, stringStartFRD = 254, stringStartFRL = 255, stringStartFRLD = 256, FormatReplacement = 73, nestedFormatReplacement = 77, importList = 263, TypeParamList = 112, ParamList = 130, SequencePattern = 151, MappingPattern = 152, PatternArgList = 155, newline = 10, carriageReturn = 13, space = 32, tab = 9, hash = 35, parenOpen = 40, dot = 46, braceOpen = 123, braceClose = 125, singleQuote = 39, doubleQuote = 34, backslash = 92, letter_o = 111, letter_x = 120, letter_N = 78, letter_u = 117, letter_U = 85, bracketed = /* @__PURE__ */ new Set([
|
|
4
4
|
ParenthesizedExpression,
|
|
5
5
|
TupleExpression,
|
|
@@ -388,19 +388,19 @@ var gatherCompletions = {
|
|
|
388
388
|
function getScope(v, q) {
|
|
389
389
|
let J = cache.get(q);
|
|
390
390
|
if (J) return J;
|
|
391
|
-
let Y = [],
|
|
391
|
+
let Y = [], Z = true;
|
|
392
392
|
function Q(q2, J2) {
|
|
393
|
-
let
|
|
393
|
+
let X = v.sliceString(q2.from, q2.to);
|
|
394
394
|
Y.push({
|
|
395
|
-
label:
|
|
395
|
+
label: X,
|
|
396
396
|
type: J2
|
|
397
397
|
});
|
|
398
398
|
}
|
|
399
399
|
return q.cursor(IterMode.IncludeAnonymous).iterate((q2) => {
|
|
400
400
|
if (q2.name) {
|
|
401
401
|
let v2 = gatherCompletions[q2.name];
|
|
402
|
-
if (v2 && v2(q2, Q,
|
|
403
|
-
|
|
402
|
+
if (v2 && v2(q2, Q, Z) || !Z && ScopeNodes.has(q2.name)) return false;
|
|
403
|
+
Z = false;
|
|
404
404
|
} else if (q2.to - q2.from > 8192) {
|
|
405
405
|
for (let J2 of getScope(v, q2.node)) Y.push(J2);
|
|
406
406
|
return false;
|
|
@@ -414,15 +414,15 @@ var Identifier = /^[\w\xa1-\uffff][\w\d\xa1-\uffff]*$/, dontComplete = [
|
|
|
414
414
|
"PropertyName"
|
|
415
415
|
];
|
|
416
416
|
function localCompletionSource(v) {
|
|
417
|
-
let
|
|
418
|
-
if (dontComplete.indexOf(
|
|
419
|
-
let Y =
|
|
417
|
+
let J = syntaxTree(v.state).resolveInner(v.pos, -1);
|
|
418
|
+
if (dontComplete.indexOf(J.name) > -1) return null;
|
|
419
|
+
let Y = J.name == "VariableName" || J.to - J.from < 20 && Identifier.test(v.state.sliceDoc(J.from, J.to));
|
|
420
420
|
if (!Y && !v.explicit) return null;
|
|
421
421
|
let X = [];
|
|
422
|
-
for (let
|
|
422
|
+
for (let q = J; q; q = q.parent) ScopeNodes.has(q.name) && (X = X.concat(getScope(v.state.doc, q)));
|
|
423
423
|
return {
|
|
424
424
|
options: X,
|
|
425
|
-
from: Y ?
|
|
425
|
+
from: Y ? J.from : v.pos,
|
|
426
426
|
validFor: Identifier
|
|
427
427
|
};
|
|
428
428
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { l as ifNotIn, s as completeFromList } from "./dist-
|
|
1
|
+
import { H as tags, I as syntaxTree, O as indentNodeProp, V as styleTags, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp } from "./dist-U4F-tbMs.js";
|
|
2
|
+
import { l as ifNotIn, s as completeFromList } from "./dist-hT4QzYX-.js";
|
|
3
3
|
var whitespace = 36, LineComment = 1, BlockComment = 2, String$1 = 3, Number = 4, Bool = 5, Null = 6, ParenL = 7, ParenR = 8, BraceL = 9, BraceR = 10, BracketL = 11, BracketR = 12, Semi = 13, Dot = 14, Operator = 15, Punctuation = 16, SpecialVar = 17, Identifier = 18, QuotedIdentifier = 19, Keyword = 20, Type = 21, Bits = 22, Bytes = 23, Builtin = 24;
|
|
4
4
|
function isAlpha(h3) {
|
|
5
5
|
return h3 >= 65 && h3 <= 90 || h3 >= 97 && h3 <= 122 || h3 >= 48 && h3 <= 57;
|