@marimo-team/islands 0.23.15-dev55 → 0.23.15-dev58
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-DMcymmpc.js → ConnectedDataExplorerComponent-CJaUI-S-.js} +3 -3
- package/dist/{any-language-editor-BfTj3PPF.js → any-language-editor-P9tjkj4n.js} +18 -18
- package/dist/{architectureDiagram-VXUJARFQ-B3jN8fkV.js → architectureDiagram-VXUJARFQ-DXwkyAaM.js} +5 -5
- package/dist/{blockDiagram-VD42YOAC-Dq_8lAbz.js → blockDiagram-VD42YOAC-CIOjvxeD.js} +5 -5
- package/dist/{c4Diagram-YG6GDRKO-BPzX9a9A.js → c4Diagram-YG6GDRKO-B6dZC_oU.js} +4 -4
- package/dist/{channel-D_qwSlm9.js → channel-BN070S0F.js} +1 -1
- package/dist/{chat-ui-CYGIiYqI.js → chat-ui-BdSDiVjk.js} +79 -74
- package/dist/{chunk-ABZYJK2D-CDSMdLBr.js → chunk-ABZYJK2D-BxBDji1u.js} +1 -1
- package/dist/{chunk-ATLVNIR6-BAW0e_d_.js → chunk-ATLVNIR6-qFiszptQ.js} +1 -1
- package/dist/{chunk-B4BG7PRW-CfEI05WL.js → chunk-B4BG7PRW-B_z2FEHm.js} +4 -4
- package/dist/{chunk-DI55MBZ5-CZS7hhjV.js → chunk-DI55MBZ5-D4Y8yV8B.js} +4 -4
- package/dist/{chunk-EXTU4WIE-DHwKB8ls.js → chunk-EXTU4WIE-BQPBhApE.js} +1 -1
- package/dist/{chunk-JA3XYJ7Z-Cy80gDpz.js → chunk-JA3XYJ7Z-CY4CRbV5.js} +2 -2
- package/dist/{chunk-JZLCHNYA-yfXq27Zq.js → chunk-JZLCHNYA-DWIR9m5O.js} +4 -4
- package/dist/{chunk-N4CR4FBY-C9D3Wsot.js → chunk-N4CR4FBY-Bw2HcMNc.js} +5 -5
- package/dist/{chunk-QN33PNHL-Bh2YDyg7.js → chunk-QN33PNHL-DPBNNzpR.js} +1 -1
- package/dist/{chunk-QXUST7PY-kDpsCDoY.js → chunk-QXUST7PY-DtC2t9Mk.js} +5 -5
- package/dist/{chunk-S3R3BYOJ-DkY8Kz3y.js → chunk-S3R3BYOJ-BdgLc8AM.js} +1 -1
- package/dist/{chunk-TZMSLE5B-CMZoW3vd.js → chunk-TZMSLE5B-BzSHcq-K.js} +1 -1
- package/dist/{classDiagram-2ON5EDUG-b2d3ZqfR.js → classDiagram-2ON5EDUG-BiQPjMNY.js} +10 -10
- package/dist/{classDiagram-v2-WZHVMYZB-RvnJbJ5M.js → classDiagram-v2-WZHVMYZB-YHdR8fqM.js} +10 -10
- package/dist/{code-visibility-6VwDeiPl.js → code-visibility-BwRCU9D5.js} +9 -9
- package/dist/{dagre-6UL2VRFP--ruFWg_S.js → dagre-6UL2VRFP-DpYjBqQs.js} +7 -7
- package/dist/{diagram-PSM6KHXK-CGakapLj.js → diagram-PSM6KHXK-D4ftnaua.js} +6 -6
- package/dist/{diagram-QEK2KX5R-CtqD8u_P.js → diagram-QEK2KX5R-DVlUOgs1.js} +4 -4
- package/dist/{diagram-S2PKOQOG-BS1wa35J.js → diagram-S2PKOQOG-CGh4OMEV.js} +4 -4
- package/dist/{dist-BGLXXYL4.js → dist-3NCqaWjt.js} +2 -2
- package/dist/{dist-95kpvRSY.js → dist-4lVIWUT3.js} +1 -1
- package/dist/dist-5o9uz19x.js +5 -0
- package/dist/{dist-B1k1NmGB.js → dist-B2jmQKKx.js} +2 -2
- package/dist/{dist-kcg3gjx6.js → dist-BCX980mU.js} +2 -2
- package/dist/{dist-c6wTyIhD.js → dist-BIEt-mlF.js} +1 -1
- package/dist/{dist-tJic1rC-.js → dist-BO5HRiTf.js} +2 -2
- package/dist/{dist-3MT9i_N5.js → dist-BOMbzyb3.js} +85 -85
- package/dist/{dist-Dx3eDsHX.js → dist-BP39XM8u.js} +1 -1
- package/dist/{dist-DijFs2Lk.js → dist-BPF0gTRZ.js} +6 -6
- package/dist/{dist-BvCrjp81.js → dist-BTdrwBWP.js} +22 -22
- package/dist/{dist-CLBjD8zw.js → dist-BdqCKQ1O.js} +2 -2
- package/dist/dist-BpDH0DEP.js +5 -0
- package/dist/dist-BpXhbQXO.js +8 -0
- package/dist/{dist-DgZczohI.js → dist-BpeiYpG2.js} +2 -2
- package/dist/{dist-Db1W16d-.js → dist-BwhXBwMd.js} +1 -1
- package/dist/dist-ByadAk_L.js +5 -0
- package/dist/{dist-B69xyr_D.js → dist-C18MUWTj.js} +2 -2
- package/dist/{dist-DPdzbDlL.js → dist-C2_4pjuS.js} +1 -1
- package/dist/{dist-B56Dml3A.js → dist-CFSb_Frm.js} +1 -1
- package/dist/dist-CK0g7JvP.js +8 -0
- package/dist/{dist-CNXNPADS.js → dist-CRmSjkLP.js} +2 -2
- package/dist/{dist-D3T8fCFo.js → dist-CSlJrrAw.js} +86 -81
- package/dist/dist-CfzCtiq2.js +5 -0
- package/dist/{dist-4-bJUNMb.js → dist-D3bdsa1d.js} +4 -4
- package/dist/dist-D8JtVFrW.js +8 -0
- package/dist/dist-DK2Oocpu.js +6 -0
- package/dist/{dist-DBN2w27P.js → dist-DZwp8lro.js} +3 -3
- package/dist/{dist-BFgLBSJb.js → dist-DaXJPX8F.js} +2 -2
- package/dist/{dist-U4F-tbMs.js → dist-De-GlSAs.js} +246 -184
- package/dist/{dist-DPH6RMhL.js → dist-DgjbnqTg.js} +125 -125
- package/dist/dist-DnSu977r.js +5 -0
- package/dist/{dist-e29IFSI0.js → dist-DviUBLUp.js} +4 -4
- package/dist/{dist-BIdzGb3O.js → dist-DwqBJ014.js} +2 -2
- package/dist/{dist-BGj6VvC-.js → dist-JGehap7K.js} +5 -5
- package/dist/{dist-BGtkYshf.js → dist-LpLXa9Lb.js} +2 -2
- package/dist/dist-UmxJm6sW.js +8 -0
- package/dist/dist-aYSBQSyM.js +5 -0
- package/dist/dist-kkZ1Ztlh.js +6 -0
- package/dist/dist-ngPczwNi.js +5 -0
- package/dist/{dist-C-RLuUaE.js → dist-pqIwD8VD.js} +2 -2
- package/dist/dist-wQRyxyTV.js +5 -0
- package/dist/{dist-DvOfvWFi.js → dist-w_gWE5Wf.js} +1 -1
- package/dist/{erDiagram-Q2GNP2WA-DmtIJBsT.js → erDiagram-Q2GNP2WA-BcKAHFqF.js} +10 -10
- package/dist/{esm-D6_uCZ4z.js → esm-DKOv6P2M.js} +341 -341
- package/dist/esm-k8PIvuZW.js +1180 -0
- package/dist/{extends-B88Yrunj.js → extends-Cq2JYHKy.js} +32 -16
- package/dist/{flowDiagram-NV44I4VS-DZsgBUcQ.js → flowDiagram-NV44I4VS-BRhSg-ro.js} +10 -10
- package/dist/{formats-DSfNdJLH.js → formats-BFhkZJwd.js} +1 -1
- package/dist/{ganttDiagram-JELNMOA3-CgFhg_6K.js → ganttDiagram-JELNMOA3-CXXCN7LN.js} +3 -3
- package/dist/{gitGraphDiagram-V2S2FVAM-DPInyn1F.js → gitGraphDiagram-V2S2FVAM-BOlkMSqK.js} +3 -3
- package/dist/{html-to-image-BoXPmWps.js → html-to-image-DDENewl2.js} +34 -34
- package/dist/{infoDiagram-HS3SLOUP-ETAzKIiE.js → infoDiagram-HS3SLOUP-D3TyKnL_.js} +3 -3
- package/dist/{journeyDiagram-XKPGCS4Q-Bc94zDj1.js → journeyDiagram-XKPGCS4Q-DEal0aT1.js} +3 -3
- package/dist/{kanban-definition-3W4ZIXB7-DSk8Ebci.js → kanban-definition-3W4ZIXB7-Dl90wENN.js} +7 -7
- package/dist/{loader-BUGT0KbC.js → loader-CTHCI-qe.js} +7 -7
- package/dist/main.js +31 -31
- package/dist/{mermaid-CYkbfJHW.js → mermaid-CdSvixW2.js} +36 -36
- package/dist/{mindmap-definition-VGOIOE7T-BYoCqVAJ.js → mindmap-definition-VGOIOE7T-CCDupjWW.js} +9 -9
- package/dist/{pieDiagram-ADFJNKIX-BaAU79Vb.js → pieDiagram-ADFJNKIX-JvXG_6hk.js} +4 -4
- package/dist/{process-output-CbRRhwQo.js → process-output-2QPcgBQg.js} +1 -1
- package/dist/purify.es-EnR5yhgI.js +783 -0
- package/dist/{quadrantDiagram-AYHSOK5B-BmTWJxzo.js → quadrantDiagram-AYHSOK5B-BqDB9tUC.js} +2 -2
- package/dist/{react-vega-DfJOSnj6.js → react-vega-BazDALhI.js} +633 -633
- package/dist/{requirementDiagram-UZGBJVZJ-Jrs04ua1.js → requirementDiagram-UZGBJVZJ-KbVt8SPH.js} +9 -9
- package/dist/{reveal-component-BF9bUh1w.js → reveal-component-y1Kk4Glg.js} +11 -11
- package/dist/{sankeyDiagram-TZEHDZUN-YJnhmG4N.js → sankeyDiagram-TZEHDZUN-DgkF38jx.js} +2 -2
- package/dist/{sequenceDiagram-WL72ISMW-D30L51Bn.js → sequenceDiagram-WL72ISMW-BDmx9n95.js} +4 -4
- package/dist/{stateDiagram-FKZM4ZOC-C0nZuUP8.js → stateDiagram-FKZM4ZOC-ByOvQf2n.js} +10 -10
- package/dist/{stateDiagram-v2-4FDKWEC3-BmovmS-G.js → stateDiagram-v2-4FDKWEC3-C3xqeavR.js} +10 -10
- package/dist/style.css +1 -1
- package/dist/{timeline-definition-IT6M3QCI-DEoIEWAl.js → timeline-definition-IT6M3QCI-CkD_trIn.js} +2 -2
- package/dist/{vega-component-uL9ZaXcH.js → vega-component-CrFoZT1S.js} +4 -4
- package/dist/{vega-embed-container-DgZMMVL3.js → vega-embed-container-DAQAMjiO.js} +2 -2
- package/dist/vega-loader.browser-DmpxCJqx.js +1353 -0
- package/dist/{xychartDiagram-PRI3JC2R-iwKXEnYZ.js → xychartDiagram-PRI3JC2R-BSkNxYNw.js} +5 -5
- package/package.json +1 -1
- package/src/components/editor/chrome/panels/write-secret-modal.tsx +3 -2
- package/src/components/editor/connections/__tests__/secret-combobox.test.ts +134 -0
- package/src/components/editor/connections/database/schemas.ts +35 -27
- package/src/components/editor/connections/form-renderers.tsx +42 -110
- package/src/components/editor/connections/secret-combobox.tsx +253 -0
- package/src/components/editor/connections/storage/schemas.ts +12 -6
- package/dist/dist-9yiSURLw.js +0 -6
- package/dist/dist-9zfbSqew.js +0 -8
- package/dist/dist-BZ_VEpg8.js +0 -8
- package/dist/dist-BdYVjH1C.js +0 -5
- package/dist/dist-BiIoKp92.js +0 -6
- package/dist/dist-Bow9AUXt.js +0 -5
- package/dist/dist-C8odMDp5.js +0 -8
- package/dist/dist-CLgjZx38.js +0 -5
- package/dist/dist-CnMOJtGP.js +0 -5
- package/dist/dist-D-5m1nDT.js +0 -5
- package/dist/dist-D8AXqiCV.js +0 -5
- package/dist/dist-DMuf8sZd.js +0 -5
- package/dist/dist-DszXOVSb.js +0 -5
- package/dist/dist-GW0m0q65.js +0 -8
- package/dist/esm-BxhNWHqh.js +0 -1171
- package/dist/purify.es-C-fIGuQm.js +0 -557
- package/dist/vega-loader.browser-IU8eTDwM.js +0 -1333
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import "./purify.es-
|
|
2
|
-
import "./chunk-S3R3BYOJ-
|
|
1
|
+
import "./purify.es-EnR5yhgI.js";
|
|
2
|
+
import "./chunk-S3R3BYOJ-BdgLc8AM.js";
|
|
3
3
|
import { r as __name } from "./src-DV3ha_nA.js";
|
|
4
|
-
import "./chunk-ABZYJK2D-
|
|
4
|
+
import "./chunk-ABZYJK2D-BxBDji1u.js";
|
|
5
5
|
import "./chunk-HN2XXSSU-Bv0QkeMr.js";
|
|
6
6
|
import "./chunk-CVBHYZKI-CwazXVlJ.js";
|
|
7
|
-
import "./chunk-ATLVNIR6-
|
|
7
|
+
import "./chunk-ATLVNIR6-qFiszptQ.js";
|
|
8
8
|
import "./dist-DsoKosxi.js";
|
|
9
|
-
import "./chunk-JA3XYJ7Z-
|
|
10
|
-
import "./chunk-JZLCHNYA-
|
|
11
|
-
import "./chunk-QXUST7PY-
|
|
12
|
-
import "./chunk-N4CR4FBY-
|
|
9
|
+
import "./chunk-JA3XYJ7Z-CY4CRbV5.js";
|
|
10
|
+
import "./chunk-JZLCHNYA-DWIR9m5O.js";
|
|
11
|
+
import "./chunk-QXUST7PY-DtC2t9Mk.js";
|
|
12
|
+
import "./chunk-N4CR4FBY-Bw2HcMNc.js";
|
|
13
13
|
import "./chunk-FMBD7UC4-quJmebXa.js";
|
|
14
14
|
import "./chunk-55IACEB6-7h71GwyW.js";
|
|
15
|
-
import "./chunk-QN33PNHL-
|
|
16
|
-
import { i as styles_default, n as classDiagram_default, r as classRenderer_v3_unified_default, t as ClassDB } from "./chunk-B4BG7PRW-
|
|
15
|
+
import "./chunk-QN33PNHL-DPBNNzpR.js";
|
|
16
|
+
import { i as styles_default, n as classDiagram_default, r as classRenderer_v3_unified_default, t as ClassDB } from "./chunk-B4BG7PRW-B_z2FEHm.js";
|
|
17
17
|
var diagram = {
|
|
18
18
|
parser: classDiagram_default,
|
|
19
19
|
get db() {
|
|
@@ -6,7 +6,7 @@ import { _ as Functions, f as composeRefs, g as Logger, h as cn, m as Events, n
|
|
|
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
8
|
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-Cs3yt6Vt.js";
|
|
9
|
-
import { $n as import_lib, An as Close$1, At as toggleBreakpoint, B as isDataURLString, Bn as Minus, C as Accordion, Dn as atomWithStorage, E as AccordionTrigger, Fn as Wrench, Ft as useChromeActions, Gn as Eye, Gt as DATA_TYPE_ICON, H as renderHTML, In as Trash2, It as adaptForLocalStorage, J as getCellEditorView, Kn as ExternalLink, Kt as getDataTypeColor, L as base64ToUint8Array, Lt as jotaiJsonStorage, M as DotFilledIcon, Mt as goToCellLine, N as PinLeftIcon, P as PinRightIcon, Q as notebookAtom, Qn as esm_default, Qt as getRequestClient, T as AccordionItem, Tn as jsonToMarkdown, Un as Info, Ut as PluralWord, Vn as LoaderCircle, Wn as FileText, Yn as CircleX, Zn as Braces, _ as getDatasourceContext, _n as CellOutputId, _t as sanitizeHtml, bt as displayCellName, c as Popover, cn as elementContainsMarimoCellFile, ct as AnsiUp, d as PopoverTrigger, dt as kioskModeAtom, en as useRequestClient, ft as useInstallAllowed, it as useCellNames, j as ChevronRightIcon, k as CheckIcon, l as PopoverClose, ln as extractAllTracebackInfo, m as useExpandedOutput, mt as outputIsLoading, n as Spinner, nt as useCellActions, pn as filenameAtom, pt as viewStateAtom, r as MarkdownRenderer, rt as useCellIds, t as toPng, u as PopoverContent, un as getTracebackInfo, vn as HTMLCellId, vt as DATA_CELL_ID, w as AccordionContent, wn as jsonParseWithSpecialChar, wt as Checkbox, yn as SCRATCH_CELL_ID, yt as getCellDomProps, z as extractBase64FromDataURL, zn as NotebookPen, zt as getFeatureFlag, __tla as __tla_0 } from "./html-to-image-
|
|
9
|
+
import { $n as import_lib, An as Close$1, At as toggleBreakpoint, B as isDataURLString, Bn as Minus, C as Accordion, Dn as atomWithStorage, E as AccordionTrigger, Fn as Wrench, Ft as useChromeActions, Gn as Eye, Gt as DATA_TYPE_ICON, H as renderHTML, In as Trash2, It as adaptForLocalStorage, J as getCellEditorView, Kn as ExternalLink, Kt as getDataTypeColor, L as base64ToUint8Array, Lt as jotaiJsonStorage, M as DotFilledIcon, Mt as goToCellLine, N as PinLeftIcon, P as PinRightIcon, Q as notebookAtom, Qn as esm_default, Qt as getRequestClient, T as AccordionItem, Tn as jsonToMarkdown, Un as Info, Ut as PluralWord, Vn as LoaderCircle, Wn as FileText, Yn as CircleX, Zn as Braces, _ as getDatasourceContext, _n as CellOutputId, _t as sanitizeHtml, bt as displayCellName, c as Popover, cn as elementContainsMarimoCellFile, ct as AnsiUp, d as PopoverTrigger, dt as kioskModeAtom, en as useRequestClient, ft as useInstallAllowed, it as useCellNames, j as ChevronRightIcon, k as CheckIcon, l as PopoverClose, ln as extractAllTracebackInfo, m as useExpandedOutput, mt as outputIsLoading, n as Spinner, nt as useCellActions, pn as filenameAtom, pt as viewStateAtom, r as MarkdownRenderer, rt as useCellIds, t as toPng, u as PopoverContent, un as getTracebackInfo, vn as HTMLCellId, vt as DATA_CELL_ID, w as AccordionContent, wn as jsonParseWithSpecialChar, wt as Checkbox, yn as SCRATCH_CELL_ID, yt as getCellDomProps, z as extractBase64FromDataURL, zn as NotebookPen, zt as getFeatureFlag, __tla as __tla_0 } from "./html-to-image-DDENewl2.js";
|
|
10
10
|
import { o as useSize, u as createLucideIcon } from "./dist-B96tMAst.js";
|
|
11
11
|
import { c as Calendar, i as createReducerAndAtoms, r as Badge } from "./useLifecycle-DqPxHgAN.js";
|
|
12
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-BSoGim-G.js";
|
|
@@ -21,18 +21,18 @@ import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
|
|
|
21
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-D0yOqoGe.js";
|
|
22
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-DR7o3CbX.js";
|
|
23
23
|
import { a as TooltipRoot, n as TooltipContent, o as TooltipTrigger, r as TooltipPortal, t as Tooltip } from "./tooltip-B-qh7UPB.js";
|
|
24
|
-
import { f as CopyClipboardIcon, t as _extends } from "./extends-
|
|
24
|
+
import { f as CopyClipboardIcon, t as _extends } from "./extends-Cq2JYHKy.js";
|
|
25
25
|
import { A as useEvent_default, C as useSetAtom, D as buildStore, O as getBuildingBlocks, S as useAtomValue, T as atom, _ as useJotaiEffect, a as KnownQueryParams, b as Provider, d as resolvedMarimoConfigAtom, g as store, k as dequal, n as useTheme, o as aiFeaturesEnabledAtom, p as userConfigAtom, s as aiModelConfiguredAtom, w as useStore, x as useAtom } from "./useTheme-XMq9mNf_.js";
|
|
26
|
-
import { $ as EditorView } from "./dist-
|
|
26
|
+
import { $ as EditorView } from "./dist-De-GlSAs.js";
|
|
27
27
|
import { t as invariant } from "./invariant-wRzNXIsJ.js";
|
|
28
28
|
import { c as uniqueBy, t as Arrays } from "./arrays-sEtDRoG4.js";
|
|
29
29
|
import { t as Objects } from "./objects-De59twF-.js";
|
|
30
30
|
import { n as once, t as memoizeLastValue } from "./once-B60G2fuJ.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-CRmSjkLP.js";
|
|
32
|
+
import { a as isValid, i as AlertTitle, n as Alert, t as arrow } from "./formats-BFhkZJwd.js";
|
|
33
33
|
import { n as memoize$1, t as isPropValid } from "./emotion-is-prop-valid.esm-DdVSF4FD.js";
|
|
34
|
-
import { V as getContainerWidth, n as formats } from "./vega-loader.browser-
|
|
35
|
-
import { a as tooltipHandler, n as vegaLoadData, r as createBatchedLoader, t as parseCsvData } from "./loader-
|
|
34
|
+
import { V as getContainerWidth, n as formats } from "./vega-loader.browser-DmpxCJqx.js";
|
|
35
|
+
import { a as tooltipHandler, n as vegaLoadData, r as createBatchedLoader, t as parseCsvData } from "./loader-CTHCI-qe.js";
|
|
36
36
|
import { t as useIframeCapabilities } from "./useIframeCapabilities-POcFXHbw.js";
|
|
37
37
|
import { t as useAsyncData } from "./useAsyncData-CvO8WUy3.js";
|
|
38
38
|
let ContextAwarePanelItem, EmotionCacheProvider, prettifyRowColumnCount, loadTableData, useSelectList, dateToLocalISOTime, Filenames, ColumnChartContext, EmptyState, usePrevious, ColumnPreviewContainer, useIntersectionObserver, ContextMenuContent, getMimeValues, ComboboxItem, ChartErrorState, DatePicker, TabsContent, ContextMenuItem, isNullishFilter, CommandInput, LazyVegaEmbed, Command, ChartInfoState, ContextMenuSeparator, Maps, getColumnCountForDisplay, SELECT_COLUMN_ID, getUserColumnVisibilityCounts, TOO_MANY_ROWS, ErrorState, getPageIndexForRow, ContextMenu, toFieldTypes, smartMatch, HtmlOutput, ContextMenuTrigger, dateToLocalISODate, Progress, renderCellValue, ColumnName, DelayMount, DateRangePicker, TabsList, CompactChipRow, Tabs, Combobox, TabsTrigger, CommandList, RenderTextWithLinks, CommandItem, useOverflowDetection, CommandSeparator, Kbd, InstallPackageButton, ArrowDownWideNarrow, TableHeader, DEFAULT_DECK_VERTICAL_ALIGN, GripHorizontal, SlotNames, downloadByURL, generateColumns, SlideSidebar, Expand, Panel, RadioGroup, Code, Fill, hasFunctionProperty, PANEL_TYPES, RadioGroupItem, ChevronsUpDown, Provider$1, DataTable, ChevronLeft, TableHead, OutputRenderer, ChevronsDownUp, TableCell, DEFAULT_DECK_TRANSITION, TextWrap, isCellAwareAtom, prettifyRowCount, INDEX_COLUMN_NAME, LoadingState, loadTableAndRawData, Slide, Ellipsis, PanelGroup, OutputArea, ChevronsLeft, TableBody, marimoVersionAtom, $fae977aafc393c5c$export$588937bcd60ade55, contextAwarePanelOwner, DEFAULT_SLIDE_TYPE, Funnel, slotsController, JsonOutput, ChevronsRight, Table, CommandEmpty, ChartLoadingState, showCodeInRunModeAtom, $fae977aafc393c5c$export$6b862160d295c8e, contextAwarePanelType, SLIDE_TYPE_OPTIONS_BY_VALUE, EyeOff, Toggle, useNotebookCodeAvailable, isRecord, contextAwarePanelOpen, Switch, Download, PanelResizeHandle, ADD_PRINTING_CLASS, TableRow, downloadSizeLimitAtom, ColumnChartSpecModel, downloadHTMLAsImage, inferFieldTypes, downloadBlob, NAMELESS_COLUMN_PREFIX, useInternalStateWithSync, dateToLocalISODateTime;
|
|
@@ -20923,7 +20923,7 @@ ${n}` : "Please fix this error.";
|
|
|
20923
20923
|
]
|
|
20924
20924
|
};
|
|
20925
20925
|
}
|
|
20926
|
-
LazyVegaEmbed = import_react.lazy(() => import("./vega-embed-container-
|
|
20926
|
+
LazyVegaEmbed = import_react.lazy(() => import("./vega-embed-container-DAQAMjiO.js").then((e) => ({
|
|
20927
20927
|
default: e.VegaEmbedContainer
|
|
20928
20928
|
})));
|
|
20929
20929
|
var import_compiler_runtime$50 = require_compiler_runtime();
|
|
@@ -36291,7 +36291,7 @@ ${d}`,
|
|
|
36291
36291
|
return Logger.warn("Failed to get version from mount config"), null;
|
|
36292
36292
|
}
|
|
36293
36293
|
}
|
|
36294
|
-
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.15-
|
|
36294
|
+
marimoVersionAtom = atom(getVersionFromMountConfig() || "0.23.15-dev58");
|
|
36295
36295
|
showCodeInRunModeAtom = atom(true);
|
|
36296
36296
|
atom(null);
|
|
36297
36297
|
var import_compiler_runtime = require_compiler_runtime();
|
|
@@ -2,17 +2,17 @@ import { t as layout } from "./dagre-By_QsQgc.js";
|
|
|
2
2
|
import { n as isUndefined_default, t as Graph } from "./graphlib-Ns7y5crs.js";
|
|
3
3
|
import { t as clone_default } from "./clone-Q4Fqwn6q.js";
|
|
4
4
|
import { i as map_default } from "./min-Dtgc8txR.js";
|
|
5
|
-
import "./purify.es-
|
|
6
|
-
import "./chunk-S3R3BYOJ-
|
|
5
|
+
import "./purify.es-EnR5yhgI.js";
|
|
6
|
+
import "./chunk-S3R3BYOJ-BdgLc8AM.js";
|
|
7
7
|
import { i as log, r as __name } from "./src-DV3ha_nA.js";
|
|
8
|
-
import { b as getConfig2 } from "./chunk-ABZYJK2D-
|
|
8
|
+
import { b as getConfig2 } from "./chunk-ABZYJK2D-BxBDji1u.js";
|
|
9
9
|
import "./chunk-HN2XXSSU-Bv0QkeMr.js";
|
|
10
10
|
import { t as getSubGraphTitleMargins } from "./chunk-CVBHYZKI-CwazXVlJ.js";
|
|
11
|
-
import "./chunk-ATLVNIR6-
|
|
11
|
+
import "./chunk-ATLVNIR6-qFiszptQ.js";
|
|
12
12
|
import "./dist-DsoKosxi.js";
|
|
13
|
-
import "./chunk-JA3XYJ7Z-
|
|
14
|
-
import { a as insertNode, c as positionNode, i as insertCluster, l as setNodeElem, n as clear2, t as clear$1, u as updateNodeBounds } from "./chunk-JZLCHNYA-
|
|
15
|
-
import { a as positionEdgeLabel, i as markers_default, n as insertEdge, r as insertEdgeLabel, t as clear } from "./chunk-QXUST7PY-
|
|
13
|
+
import "./chunk-JA3XYJ7Z-CY4CRbV5.js";
|
|
14
|
+
import { a as insertNode, c as positionNode, i as insertCluster, l as setNodeElem, n as clear2, t as clear$1, u as updateNodeBounds } from "./chunk-JZLCHNYA-DWIR9m5O.js";
|
|
15
|
+
import { a as positionEdgeLabel, i as markers_default, n as insertEdge, r as insertEdgeLabel, t as clear } from "./chunk-QXUST7PY-DtC2t9Mk.js";
|
|
16
16
|
function write(r) {
|
|
17
17
|
var w = {
|
|
18
18
|
options: {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
var _a;
|
|
2
2
|
import "./chunk-TCCFYFTB-DPWJa9zL.js";
|
|
3
3
|
import "./main-B1Jo_8pC.js";
|
|
4
|
-
import "./purify.es-
|
|
4
|
+
import "./purify.es-EnR5yhgI.js";
|
|
5
5
|
import { n as ordinal } from "./ordinal-Bkv2-veX.js";
|
|
6
6
|
import { t as format } from "./defaultLocale-BpsHxBd7.js";
|
|
7
|
-
import { i as cleanAndMerge } from "./chunk-S3R3BYOJ-
|
|
7
|
+
import { i as cleanAndMerge } from "./chunk-S3R3BYOJ-BdgLc8AM.js";
|
|
8
8
|
import { i as log, r as __name, t as select_default } from "./src-DV3ha_nA.js";
|
|
9
9
|
import { p as hierarchy, t as treemap_default } from "./treemap-DY3NBr79.js";
|
|
10
|
-
import { B as setAccTitle, C as getDiagramTitle, U as setDiagramTitle, _ as getAccDescription, a as clear, c as configureSvgSize, d as defaultConfig_default, v as getAccTitle, y as getConfig, z as setAccDescription } from "./chunk-ABZYJK2D-
|
|
11
|
-
import { t as selectSvgElement } from "./chunk-EXTU4WIE-
|
|
12
|
-
import { i as styles2String, n as isLabelStyle } from "./chunk-ATLVNIR6-
|
|
10
|
+
import { B as setAccTitle, C as getDiagramTitle, U as setDiagramTitle, _ as getAccDescription, a as clear, c as configureSvgSize, d as defaultConfig_default, v as getAccTitle, y as getConfig, z as setAccDescription } from "./chunk-ABZYJK2D-BxBDji1u.js";
|
|
11
|
+
import { t as selectSvgElement } from "./chunk-EXTU4WIE-BQPBhApE.js";
|
|
12
|
+
import { i as styles2String, n as isLabelStyle } from "./chunk-ATLVNIR6-qFiszptQ.js";
|
|
13
13
|
import "./dist-DsoKosxi.js";
|
|
14
14
|
import "./chunk-UMXZTB3W-D1uHz8MN.js";
|
|
15
15
|
import "./chunk-4F5CHEZ2-VlodlEGo.js";
|
|
@@ -20,7 +20,7 @@ import "./chunk-TQ3KTPDO-CsDx6v37.js";
|
|
|
20
20
|
import "./chunk-B2363JML-zL3VngtH.js";
|
|
21
21
|
import { t as populateCommonDb } from "./chunk-4BX2VUAB-iU5lQTDI.js";
|
|
22
22
|
import { t as parse } from "./mermaid-parser.core-DoivvxPd.js";
|
|
23
|
-
import { t as setupViewPortForSVG } from "./chunk-QN33PNHL-
|
|
23
|
+
import { t as setupViewPortForSVG } from "./chunk-QN33PNHL-DPBNNzpR.js";
|
|
24
24
|
var TreeMapDB = (_a = class {
|
|
25
25
|
constructor() {
|
|
26
26
|
this.nodes = [], this.levels = /* @__PURE__ */ new Map(), this.outerNodes = [], this.classes = /* @__PURE__ */ new Map(), this.setAccTitle = setAccTitle, this.getAccTitle = getAccTitle, this.setDiagramTitle = setDiagramTitle, this.getDiagramTitle = getDiagramTitle, this.getAccDescription = getAccDescription, this.setAccDescription = setAccDescription;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./chunk-TCCFYFTB-DPWJa9zL.js";
|
|
2
2
|
import "./main-B1Jo_8pC.js";
|
|
3
|
-
import "./purify.es-
|
|
4
|
-
import { i as cleanAndMerge } from "./chunk-S3R3BYOJ-
|
|
3
|
+
import "./purify.es-EnR5yhgI.js";
|
|
4
|
+
import { i as cleanAndMerge } from "./chunk-S3R3BYOJ-BdgLc8AM.js";
|
|
5
5
|
import { i as log, r as __name } from "./src-DV3ha_nA.js";
|
|
6
|
-
import { B as setAccTitle, C as getDiagramTitle, T as getThemeVariables3, U as setDiagramTitle, _ as getAccDescription, a as clear, d as defaultConfig_default, v as getAccTitle, y as getConfig, z as setAccDescription } from "./chunk-ABZYJK2D-
|
|
7
|
-
import { t as selectSvgElement } from "./chunk-EXTU4WIE-
|
|
6
|
+
import { B as setAccTitle, C as getDiagramTitle, T as getThemeVariables3, U as setDiagramTitle, _ as getAccDescription, a as clear, d as defaultConfig_default, v as getAccTitle, y as getConfig, z as setAccDescription } from "./chunk-ABZYJK2D-BxBDji1u.js";
|
|
7
|
+
import { t as selectSvgElement } from "./chunk-EXTU4WIE-BQPBhApE.js";
|
|
8
8
|
import "./dist-DsoKosxi.js";
|
|
9
9
|
import "./chunk-UMXZTB3W-D1uHz8MN.js";
|
|
10
10
|
import "./chunk-4F5CHEZ2-VlodlEGo.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var _a;
|
|
2
2
|
import "./chunk-TCCFYFTB-DPWJa9zL.js";
|
|
3
3
|
import "./main-B1Jo_8pC.js";
|
|
4
|
-
import "./purify.es-
|
|
5
|
-
import { i as cleanAndMerge } from "./chunk-S3R3BYOJ-
|
|
4
|
+
import "./purify.es-EnR5yhgI.js";
|
|
5
|
+
import { i as cleanAndMerge } from "./chunk-S3R3BYOJ-BdgLc8AM.js";
|
|
6
6
|
import { i as log, r as __name } from "./src-DV3ha_nA.js";
|
|
7
|
-
import { B as setAccTitle, C as getDiagramTitle, U as setDiagramTitle, _ as getAccDescription, a as clear, c as configureSvgSize, d as defaultConfig_default, v as getAccTitle, y as getConfig, z as setAccDescription } from "./chunk-ABZYJK2D-
|
|
8
|
-
import { t as selectSvgElement } from "./chunk-EXTU4WIE-
|
|
7
|
+
import { B as setAccTitle, C as getDiagramTitle, U as setDiagramTitle, _ as getAccDescription, a as clear, c as configureSvgSize, d as defaultConfig_default, v as getAccTitle, y as getConfig, z as setAccDescription } from "./chunk-ABZYJK2D-BxBDji1u.js";
|
|
8
|
+
import { t as selectSvgElement } from "./chunk-EXTU4WIE-BQPBhApE.js";
|
|
9
9
|
import "./dist-DsoKosxi.js";
|
|
10
10
|
import "./chunk-UMXZTB3W-D1uHz8MN.js";
|
|
11
11
|
import "./chunk-4F5CHEZ2-VlodlEGo.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
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, t as ContextTracker, u as LanguageSupport, w as foldNodeProp } from "./dist-
|
|
2
|
-
import { i as defineCSSCompletionSource } from "./dist-
|
|
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, t as ContextTracker, u as LanguageSupport, w as foldNodeProp } from "./dist-De-GlSAs.js";
|
|
2
|
+
import { i as defineCSSCompletionSource } from "./dist-4lVIWUT3.js";
|
|
3
3
|
var indent = 168, dedent = 169, descendantOp = 170, InterpolationEnd = 1, InterpolationContinue = 2, Unit = 3, callee = 171, identifier = 172, VariableName = 4, queryIdentifier = 173, InterpolationStart = 5, newline = 174, blankLineStart = 175, eof = 176, whitespace = 177, LineComment = 6, Comment = 7, IndentedMixin = 8, IndentedInclude = 9, Dialect_indented = 0, space = [
|
|
4
4
|
9,
|
|
5
5
|
10,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as tags$1, I as syntaxTree, O as indentNodeProp, S as foldInside, U as IterMode, V as styleTags, h as continuedIndent, i as LocalTokenGroup, n as ExternalTokenizer, q as NodeWeakMap, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp } from "./dist-
|
|
1
|
+
import { H as tags$1, I as syntaxTree, O as indentNodeProp, S as foldInside, U as IterMode, V as styleTags, h as continuedIndent, i as LocalTokenGroup, n as ExternalTokenizer, q as NodeWeakMap, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp } from "./dist-De-GlSAs.js";
|
|
2
2
|
var descendantOp = 122, Unit = 1, identifier$1 = 123, callee = 124, VariableName = 2, queryIdentifier = 125, queryVariableName = 3, QueryCallee = 4, space = [
|
|
3
3
|
9,
|
|
4
4
|
10,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./dist-
|
|
2
|
-
import { a as localCompletionSource, c as typescriptLanguage, i as jsxLanguage, l as typescriptSnippets, n as javascript, o as snippets, r as javascriptLanguage, s as tsxLanguage, t as autoCloseTags } from "./dist-
|
|
1
|
+
import "./dist-De-GlSAs.js";
|
|
2
|
+
import { a as localCompletionSource, c as typescriptLanguage, i as jsxLanguage, l as typescriptSnippets, n as javascript, o as snippets, r as javascriptLanguage, s as tsxLanguage, t as autoCloseTags } from "./dist-DgjbnqTg.js";
|
|
3
3
|
export {
|
|
4
4
|
javascript
|
|
5
5
|
};
|
|
@@ -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-De-GlSAs.js";
|
|
2
|
+
import { i as snippets, n as goLanguage, r as localCompletionSource, t as go } from "./dist-C18MUWTj.js";
|
|
3
3
|
export {
|
|
4
4
|
go
|
|
5
5
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-
|
|
1
|
+
import { H as tags, O as indentNodeProp, S as foldInside, V as styleTags, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-De-GlSAs.js";
|
|
2
2
|
var spec_Keyword = {
|
|
3
3
|
__proto__: null,
|
|
4
4
|
anyref: 34,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp,
|
|
2
|
-
import { n as html } from "./dist-
|
|
1
|
+
import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp, V as styleTags, X as parseMixed, i as LocalTokenGroup, kt as EditorSelection, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp } from "./dist-De-GlSAs.js";
|
|
2
|
+
import { n as html } from "./dist-BTdrwBWP.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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as EditorView, G as NodeSet, H as tags, I as syntaxTree, J as Parser, K as NodeType, M as languageDataProp,
|
|
2
|
-
import { t as CompletionContext } from "./dist-
|
|
3
|
-
import { n as html, r as htmlCompletionSource } from "./dist-
|
|
1
|
+
import { $ as EditorView, At as EditorState, G as NodeSet, H as tags, I as syntaxTree, J as Parser, K as NodeType, M as languageDataProp, Nt as Prec, O as indentNodeProp, R as Tag, T as foldService, V as styleTags, W as NodeProp, Wt as countColumn, X as parseMixed, Y as Tree, _ as defineLanguageFacet, c as Language, d as ParseContext, j as indentUnit, kt as EditorSelection, l as LanguageDescription, mt as keymap, u as LanguageSupport, w as foldNodeProp } from "./dist-De-GlSAs.js";
|
|
2
|
+
import { t as CompletionContext } from "./dist-CSlJrrAw.js";
|
|
3
|
+
import { n as html, r as htmlCompletionSource } from "./dist-BTdrwBWP.js";
|
|
4
4
|
var CompositeBlock = class l {
|
|
5
5
|
static create(R, z, B, V, H) {
|
|
6
6
|
return new l(R, z, B, V + (V << 8) + R + (z << 4) | 0, H, [], []);
|
|
@@ -516,17 +516,17 @@ var MarkdownParser = class l2 extends Parser {
|
|
|
516
516
|
for (let V of this.wrappers) B = V(B, l3, R, z);
|
|
517
517
|
return B;
|
|
518
518
|
}
|
|
519
|
-
configure(
|
|
520
|
-
let B = resolveConfig(
|
|
519
|
+
configure(R) {
|
|
520
|
+
let B = resolveConfig(R);
|
|
521
521
|
if (!B) return this;
|
|
522
|
-
let { nodeSet: V, skipContextMarkup:
|
|
522
|
+
let { nodeSet: V, skipContextMarkup: H } = this, W = this.blockParsers.slice(), G = this.leafBlockParsers.slice(), K = this.blockNames.slice(), J = this.inlineParsers.slice(), Z = this.inlineNames.slice(), Q = this.endLeafBlock.slice(), $ = this.wrappers;
|
|
523
523
|
if (nonEmpty(B.defineNodes)) {
|
|
524
|
-
|
|
525
|
-
let l3 = V.types.slice(),
|
|
526
|
-
for (let
|
|
527
|
-
let { name: B2, block: V2, composite: W2, style: G2 } = typeof
|
|
524
|
+
H = Object.assign({}, H);
|
|
525
|
+
let l3 = V.types.slice(), R2;
|
|
526
|
+
for (let z of B.defineNodes) {
|
|
527
|
+
let { name: B2, block: V2, composite: W2, style: G2 } = typeof z == "string" ? { name: z } : z;
|
|
528
528
|
if (l3.some((l4) => l4.name == B2)) continue;
|
|
529
|
-
W2 && (
|
|
529
|
+
W2 && (H[l3.length] = (l4, R3, z2) => W2(R3, z2, l4.value));
|
|
530
530
|
let K2 = l3.length, J2 = W2 ? ["Block", "BlockContext"] : V2 ? K2 >= Type.ATXHeading1 && K2 <= Type.SetextHeading2 ? [
|
|
531
531
|
"Block",
|
|
532
532
|
"LeafBlock",
|
|
@@ -536,32 +536,32 @@ var MarkdownParser = class l2 extends Parser {
|
|
|
536
536
|
id: K2,
|
|
537
537
|
name: B2,
|
|
538
538
|
props: J2 && [[NodeProp.group, J2]]
|
|
539
|
-
})), G2 && (
|
|
539
|
+
})), G2 && (R2 || (R2 = {}), Array.isArray(G2) || G2 instanceof Tag ? R2[B2] = G2 : Object.assign(R2, G2));
|
|
540
540
|
}
|
|
541
|
-
V = new NodeSet(l3),
|
|
541
|
+
V = new NodeSet(l3), R2 && (V = V.extend(styleTags(R2)));
|
|
542
542
|
}
|
|
543
543
|
if (nonEmpty(B.props) && (V = V.extend(...B.props)), nonEmpty(B.remove)) for (let l3 of B.remove) {
|
|
544
|
-
let
|
|
545
|
-
|
|
544
|
+
let R2 = this.blockNames.indexOf(l3), z = this.inlineNames.indexOf(l3);
|
|
545
|
+
R2 > -1 && (W[R2] = G[R2] = void 0), z > -1 && (J[z] = void 0);
|
|
546
546
|
}
|
|
547
547
|
if (nonEmpty(B.parseBlock)) for (let l3 of B.parseBlock) {
|
|
548
|
-
let
|
|
549
|
-
if (
|
|
548
|
+
let R2 = K.indexOf(l3.name);
|
|
549
|
+
if (R2 > -1) W[R2] = l3.parse, G[R2] = l3.leaf;
|
|
550
550
|
else {
|
|
551
|
-
let
|
|
552
|
-
W.splice(
|
|
551
|
+
let R3 = l3.before ? findName(K, l3.before) : l3.after ? findName(K, l3.after) + 1 : K.length - 1;
|
|
552
|
+
W.splice(R3, 0, l3.parse), G.splice(R3, 0, l3.leaf), K.splice(R3, 0, l3.name);
|
|
553
553
|
}
|
|
554
554
|
l3.endLeaf && Q.push(l3.endLeaf);
|
|
555
555
|
}
|
|
556
556
|
if (nonEmpty(B.parseInline)) for (let l3 of B.parseInline) {
|
|
557
|
-
let
|
|
558
|
-
if (
|
|
557
|
+
let R2 = Z.indexOf(l3.name);
|
|
558
|
+
if (R2 > -1) J[R2] = l3.parse;
|
|
559
559
|
else {
|
|
560
|
-
let
|
|
561
|
-
J.splice(
|
|
560
|
+
let R3 = l3.before ? findName(Z, l3.before) : l3.after ? findName(Z, l3.after) + 1 : Z.length - 1;
|
|
561
|
+
J.splice(R3, 0, l3.parse), Z.splice(R3, 0, l3.name);
|
|
562
562
|
}
|
|
563
563
|
}
|
|
564
|
-
return B.wrap && ($ = $.concat(B.wrap)), new l2(V, W, G, K, Q,
|
|
564
|
+
return B.wrap && ($ = $.concat(B.wrap)), new l2(V, W, G, K, Q, H, J, Z, $);
|
|
565
565
|
}
|
|
566
566
|
getNodeType(l3) {
|
|
567
567
|
let R = this.nodeTypes[l3];
|
|
@@ -1267,10 +1267,10 @@ function findSectionEnd(l3, R) {
|
|
|
1267
1267
|
return z.to;
|
|
1268
1268
|
}
|
|
1269
1269
|
var headerIndent = /* @__PURE__ */ foldService.of((l3, R, z) => {
|
|
1270
|
-
for (let
|
|
1271
|
-
let l4 =
|
|
1270
|
+
for (let B = syntaxTree(l3).resolveInner(z, -1); B && !(B.from < R); B = B.parent) {
|
|
1271
|
+
let l4 = B.type.prop(headingProp);
|
|
1272
1272
|
if (l4 == null) continue;
|
|
1273
|
-
let R2 = findSectionEnd(
|
|
1273
|
+
let R2 = findSectionEnd(B, l4);
|
|
1274
1274
|
if (R2 > z) return {
|
|
1275
1275
|
from: z,
|
|
1276
1276
|
to: R2
|
|
@@ -1371,32 +1371,32 @@ function normalizeIndent(l3, R) {
|
|
|
1371
1371
|
return V + l3.slice(z);
|
|
1372
1372
|
}
|
|
1373
1373
|
var insertNewlineContinueMarkupCommand = (l3 = {}) => ({ state: R, dispatch: z }) => {
|
|
1374
|
-
let
|
|
1374
|
+
let B = syntaxTree(R), { doc: H } = R, U = null, W = R.changeByRange((z2) => {
|
|
1375
1375
|
if (!z2.empty || !markdownLanguage.isActiveAt(R, z2.from, -1) && !markdownLanguage.isActiveAt(R, z2.from, 1)) return U = { range: z2 };
|
|
1376
|
-
let
|
|
1377
|
-
for (; G.length && G[G.length - 1].from >
|
|
1376
|
+
let V = z2.from, W2 = H.lineAt(V), G = getContext(B.resolveInner(V, -1), H);
|
|
1377
|
+
for (; G.length && G[G.length - 1].from > V - W2.from; ) G.pop();
|
|
1378
1378
|
if (!G.length) return U = { range: z2 };
|
|
1379
|
-
let
|
|
1380
|
-
if (
|
|
1381
|
-
let
|
|
1382
|
-
if (
|
|
1383
|
-
let z3 =
|
|
1384
|
-
if (z3.to >=
|
|
1379
|
+
let K = G[G.length - 1];
|
|
1380
|
+
if (K.to - K.spaceAfter.length > V - W2.from) return U = { range: z2 };
|
|
1381
|
+
let q = V >= K.to - K.spaceAfter.length && !/\S/.test(W2.text.slice(K.to));
|
|
1382
|
+
if (K.item && q) {
|
|
1383
|
+
let z3 = K.node.firstChild, B2 = K.node.getChild("ListItem", "ListItem");
|
|
1384
|
+
if (z3.to >= V || B2 && B2.to < V || W2.from > 0 && !/[^\s>]/.test(H.lineAt(W2.from - 1).text) || l3.nonTightLists === false) {
|
|
1385
1385
|
let l4 = G.length > 1 ? G[G.length - 2] : null, R2, z4 = "";
|
|
1386
1386
|
l4 && l4.item ? (R2 = W2.from + l4.from, z4 = l4.marker(H, 1)) : R2 = W2.from + (l4 ? l4.to : 0);
|
|
1387
|
-
let
|
|
1387
|
+
let B3 = [{
|
|
1388
1388
|
from: R2,
|
|
1389
|
-
to:
|
|
1389
|
+
to: V,
|
|
1390
1390
|
insert: z4
|
|
1391
1391
|
}];
|
|
1392
|
-
return
|
|
1392
|
+
return K.node.name == "OrderedList" && renumberList(K.item, H, B3, -2), l4 && l4.node.name == "OrderedList" && renumberList(l4.item, H, B3), {
|
|
1393
1393
|
range: EditorSelection.cursor(R2 + z4.length),
|
|
1394
|
-
changes:
|
|
1394
|
+
changes: B3
|
|
1395
1395
|
};
|
|
1396
1396
|
} else {
|
|
1397
1397
|
let l4 = blankLine(G, R, W2);
|
|
1398
1398
|
return {
|
|
1399
|
-
range: EditorSelection.cursor(
|
|
1399
|
+
range: EditorSelection.cursor(V + l4.length + 1),
|
|
1400
1400
|
changes: {
|
|
1401
1401
|
from: W2.from,
|
|
1402
1402
|
insert: l4 + R.lineBreak
|
|
@@ -1404,14 +1404,14 @@ var insertNewlineContinueMarkupCommand = (l3 = {}) => ({ state: R, dispatch: z }
|
|
|
1404
1404
|
};
|
|
1405
1405
|
}
|
|
1406
1406
|
}
|
|
1407
|
-
if (
|
|
1407
|
+
if (K.node.name == "Blockquote" && q && W2.from) {
|
|
1408
1408
|
let l4 = H.lineAt(W2.from - 1), B2 = />\s*$/.exec(l4.text);
|
|
1409
|
-
if (B2 && B2.index ==
|
|
1409
|
+
if (B2 && B2.index == K.from) {
|
|
1410
1410
|
let V2 = R.changes([{
|
|
1411
1411
|
from: l4.from + B2.index,
|
|
1412
1412
|
to: l4.to
|
|
1413
1413
|
}, {
|
|
1414
|
-
from: W2.from +
|
|
1414
|
+
from: W2.from + K.from,
|
|
1415
1415
|
to: W2.to
|
|
1416
1416
|
}]);
|
|
1417
1417
|
return {
|
|
@@ -1420,19 +1420,19 @@ var insertNewlineContinueMarkupCommand = (l3 = {}) => ({ state: R, dispatch: z }
|
|
|
1420
1420
|
};
|
|
1421
1421
|
}
|
|
1422
1422
|
}
|
|
1423
|
-
let
|
|
1424
|
-
|
|
1425
|
-
let
|
|
1426
|
-
if (!
|
|
1427
|
-
let
|
|
1428
|
-
for (;
|
|
1429
|
-
return
|
|
1430
|
-
from:
|
|
1431
|
-
to:
|
|
1432
|
-
insert: R.lineBreak +
|
|
1423
|
+
let J = [];
|
|
1424
|
+
K.node.name == "OrderedList" && renumberList(K.item, H, J);
|
|
1425
|
+
let Y = K.item && K.item.from < W2.from, X = "";
|
|
1426
|
+
if (!Y || /^[\s\d.)\-+*>]*/.exec(W2.text)[0].length >= K.to) for (let l4 = 0, R2 = G.length - 1; l4 <= R2; l4++) X += l4 == R2 && !Y ? G[l4].marker(H, 1) : G[l4].blank(l4 < R2 ? countColumn(W2.text, 4, G[l4 + 1].from) - X.length : null);
|
|
1427
|
+
let Q = V;
|
|
1428
|
+
for (; Q > W2.from && /\s/.test(W2.text.charAt(Q - W2.from - 1)); ) Q--;
|
|
1429
|
+
return X = normalizeIndent(X, R), nonTightList(K.node, R.doc) && (X = blankLine(G, R, W2) + R.lineBreak + X), J.push({
|
|
1430
|
+
from: Q,
|
|
1431
|
+
to: V,
|
|
1432
|
+
insert: R.lineBreak + X
|
|
1433
1433
|
}), {
|
|
1434
|
-
range: EditorSelection.cursor(
|
|
1435
|
-
changes:
|
|
1434
|
+
range: EditorSelection.cursor(Q + X.length + 1),
|
|
1435
|
+
changes: J
|
|
1436
1436
|
};
|
|
1437
1437
|
});
|
|
1438
1438
|
return U ? false : (z(R.update(W, {
|
|
@@ -1464,45 +1464,45 @@ function contextNodeForDelete(l3, R) {
|
|
|
1464
1464
|
return z;
|
|
1465
1465
|
}
|
|
1466
1466
|
var deleteMarkupBackward = ({ state: l3, dispatch: R }) => {
|
|
1467
|
-
let z = syntaxTree(l3),
|
|
1468
|
-
let
|
|
1467
|
+
let z = syntaxTree(l3), B = null, H = l3.changeByRange((R2) => {
|
|
1468
|
+
let V = R2.from, { doc: H2 } = l3;
|
|
1469
1469
|
if (R2.empty && markdownLanguage.isActiveAt(l3, R2.from)) {
|
|
1470
|
-
let R3 = H2.lineAt(
|
|
1471
|
-
if (
|
|
1472
|
-
let z2 =
|
|
1473
|
-
if (
|
|
1470
|
+
let R3 = H2.lineAt(V), B2 = getContext(contextNodeForDelete(z, V), H2);
|
|
1471
|
+
if (B2.length) {
|
|
1472
|
+
let z2 = B2[B2.length - 1], H3 = z2.to - z2.spaceAfter.length + (z2.spaceAfter ? 1 : 0);
|
|
1473
|
+
if (V - R3.from > H3 && !/\S/.test(R3.text.slice(H3, V - R3.from))) return {
|
|
1474
1474
|
range: EditorSelection.cursor(R3.from + H3),
|
|
1475
1475
|
changes: {
|
|
1476
1476
|
from: R3.from + H3,
|
|
1477
|
-
to:
|
|
1477
|
+
to: V
|
|
1478
1478
|
}
|
|
1479
1479
|
};
|
|
1480
|
-
if (
|
|
1481
|
-
let
|
|
1480
|
+
if (V - R3.from == H3 && (!z2.item || R3.from <= z2.item.from || !/\S/.test(R3.text.slice(0, z2.to)))) {
|
|
1481
|
+
let B3 = R3.from + z2.from;
|
|
1482
1482
|
if (z2.item && z2.node.from < z2.item.from && /\S/.test(R3.text.slice(z2.from, z2.to))) {
|
|
1483
|
-
let
|
|
1484
|
-
return
|
|
1485
|
-
range: EditorSelection.cursor(
|
|
1483
|
+
let V2 = z2.blank(countColumn(R3.text, 4, z2.to) - countColumn(R3.text, 4, z2.from));
|
|
1484
|
+
return B3 == R3.from && (V2 = normalizeIndent(V2, l3)), {
|
|
1485
|
+
range: EditorSelection.cursor(B3 + V2.length),
|
|
1486
1486
|
changes: {
|
|
1487
|
-
from:
|
|
1487
|
+
from: B3,
|
|
1488
1488
|
to: R3.from + z2.to,
|
|
1489
|
-
insert:
|
|
1489
|
+
insert: V2
|
|
1490
1490
|
}
|
|
1491
1491
|
};
|
|
1492
1492
|
}
|
|
1493
|
-
if (
|
|
1494
|
-
range: EditorSelection.cursor(
|
|
1493
|
+
if (B3 < V) return {
|
|
1494
|
+
range: EditorSelection.cursor(B3),
|
|
1495
1495
|
changes: {
|
|
1496
|
-
from:
|
|
1497
|
-
to:
|
|
1496
|
+
from: B3,
|
|
1497
|
+
to: V
|
|
1498
1498
|
}
|
|
1499
1499
|
};
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
1503
|
-
return
|
|
1503
|
+
return B = { range: R2 };
|
|
1504
1504
|
});
|
|
1505
|
-
return
|
|
1505
|
+
return B ? false : (R(l3.update(H, {
|
|
1506
1506
|
scrollIntoView: true,
|
|
1507
1507
|
userEvent: "delete"
|
|
1508
1508
|
})), true);
|
|
@@ -1514,28 +1514,28 @@ var deleteMarkupBackward = ({ state: l3, dispatch: R }) => {
|
|
|
1514
1514
|
run: deleteMarkupBackward
|
|
1515
1515
|
}], htmlNoMatch = /* @__PURE__ */ html({ matchClosingTags: false });
|
|
1516
1516
|
function markdown(l3 = {}) {
|
|
1517
|
-
let { codeLanguages: R, defaultCodeLanguage: z, addKeymap: B = true, base: { parser: V } = commonmarkLanguage, completeHTMLTags: H = true, pasteURLAsLink: U = true, htmlTagLanguage:
|
|
1517
|
+
let { codeLanguages: R, defaultCodeLanguage: z, addKeymap: B = true, base: { parser: V } = commonmarkLanguage, completeHTMLTags: H = true, pasteURLAsLink: U = true, htmlTagLanguage: W = htmlNoMatch } = l3;
|
|
1518
1518
|
if (!(V instanceof MarkdownParser)) throw RangeError("Base parser provided to `markdown` should be a Markdown parser");
|
|
1519
|
-
let K = l3.extensions ? [l3.extensions] : [], q = [
|
|
1519
|
+
let K = l3.extensions ? [l3.extensions] : [], q = [W.support, headerIndent], J;
|
|
1520
1520
|
U && q.push(pasteURLAsLink), z instanceof LanguageSupport ? (q.push(z.support), J = z.language) : z && (J = z);
|
|
1521
1521
|
let Y = R || J ? getCodeParser(R, J) : void 0;
|
|
1522
1522
|
K.push(parseCode({
|
|
1523
1523
|
codeParser: Y,
|
|
1524
|
-
htmlParser:
|
|
1524
|
+
htmlParser: W.language.parser
|
|
1525
1525
|
})), B && q.push(Prec.high(keymap.of(markdownKeymap)));
|
|
1526
1526
|
let X = mkLang(V.configure(K));
|
|
1527
1527
|
return H && q.push(X.data.of({ autocomplete: htmlTagCompletion })), new LanguageSupport(X, q);
|
|
1528
1528
|
}
|
|
1529
1529
|
function htmlTagCompletion(l3) {
|
|
1530
|
-
let { state: R, pos: z } = l3,
|
|
1531
|
-
if (!
|
|
1530
|
+
let { state: R, pos: z } = l3, B = /<[:\-\.\w\u00b7-\uffff]*$/.exec(R.sliceDoc(z - 25, z));
|
|
1531
|
+
if (!B) return null;
|
|
1532
1532
|
let H = syntaxTree(R).resolveInner(z, -1);
|
|
1533
1533
|
for (; H && !H.type.isTop; ) {
|
|
1534
1534
|
if (H.name == "CodeBlock" || H.name == "FencedCode" || H.name == "ProcessingInstructionBlock" || H.name == "CommentBlock" || H.name == "Link" || H.name == "Image") return null;
|
|
1535
1535
|
H = H.parent;
|
|
1536
1536
|
}
|
|
1537
1537
|
return {
|
|
1538
|
-
from: z -
|
|
1538
|
+
from: z - B[0].length,
|
|
1539
1539
|
to: z,
|
|
1540
1540
|
options: htmlTagCompletions(),
|
|
1541
1541
|
validFor: /^<[:\-\.\w\u00b7-\uffff]*$/
|
|
@@ -1551,8 +1551,8 @@ var nonPlainText = /code|horizontalrule|html|link|comment|processing|escape|enti
|
|
|
1551
1551
|
var _a;
|
|
1552
1552
|
let { main: z } = R.state.selection;
|
|
1553
1553
|
if (z.empty) return false;
|
|
1554
|
-
let
|
|
1555
|
-
if (!
|
|
1554
|
+
let B = (_a = l3.clipboardData) == null ? void 0 : _a.getData("text/plain");
|
|
1555
|
+
if (!B || !/^(https?:\/\/|mailto:|xmpp:|www\.)/.test(B) || (/^www\./.test(B) && (B = "https://" + B), !markdownLanguage.isActiveAt(R.state, z.from, 1))) return false;
|
|
1556
1556
|
let H = syntaxTree(R.state), U = false;
|
|
1557
1557
|
return H.iterate({
|
|
1558
1558
|
from: z.from,
|
|
@@ -1569,7 +1569,7 @@ var nonPlainText = /code|horizontalrule|html|link|comment|processing|escape|enti
|
|
|
1569
1569
|
insert: "["
|
|
1570
1570
|
}, {
|
|
1571
1571
|
from: z.to,
|
|
1572
|
-
insert: `](${
|
|
1572
|
+
insert: `](${B})`
|
|
1573
1573
|
}],
|
|
1574
1574
|
userEvent: "input.paste",
|
|
1575
1575
|
scrollIntoView: true
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-De-GlSAs.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,4 +1,4 @@
|
|
|
1
|
-
import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp,
|
|
1
|
+
import { $ as EditorView, H as tags, I as syntaxTree, O as indentNodeProp, V as styleTags, kt as EditorSelection, m as bracketMatchingHandle, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, w as foldNodeProp } from "./dist-De-GlSAs.js";
|
|
2
2
|
var StartTag = 1, StartCloseTag = 2, MissingCloseTag = 3, mismatchedStartCloseTag = 4, incompleteStartCloseTag = 5, commentContent$1 = 36, piContent$1 = 37, cdataContent$1 = 38, Element$1 = 11, OpenTag = 13;
|
|
3
3
|
function nameChar(m) {
|
|
4
4
|
return m == 45 || m == 46 || m == 58 || m >= 65 && m <= 90 || m == 95 || m >= 97 && m <= 122 || m >= 161;
|
|
@@ -334,12 +334,12 @@ function elementName(m, V, H = m.length) {
|
|
|
334
334
|
let U = V.firstChild, W = U && U.getChild("TagName");
|
|
335
335
|
return W ? m.sliceString(W.from, Math.min(W.to, H)) : "";
|
|
336
336
|
}
|
|
337
|
-
var autoCloseTags = /* @__PURE__ */ EditorView.inputHandler.of((m, V, U,
|
|
338
|
-
if (m.composing || m.state.readOnly || V != U ||
|
|
337
|
+
var autoCloseTags = /* @__PURE__ */ EditorView.inputHandler.of((m, V, U, W, K) => {
|
|
338
|
+
if (m.composing || m.state.readOnly || V != U || W != ">" && W != "/" || !xmlLanguage.isActiveAt(m.state, V, -1)) return false;
|
|
339
339
|
let q = K(), { state: J } = q, Y = J.changeByRange((m2) => {
|
|
340
340
|
var _a, _b, _c;
|
|
341
|
-
let { head: V2 } = m2, U2 = J.doc.sliceString(V2 - 1, V2) ==
|
|
342
|
-
if (U2 &&
|
|
341
|
+
let { head: V2 } = m2, U2 = J.doc.sliceString(V2 - 1, V2) == W, K2 = syntaxTree(J).resolveInner(V2, -1), q2;
|
|
342
|
+
if (U2 && W == ">" && K2.name == "EndTag") {
|
|
343
343
|
let H = K2.parent;
|
|
344
344
|
if (((_b = (_a = H.parent) == null ? void 0 : _a.lastChild) == null ? void 0 : _b.name) != "CloseTag" && (q2 = elementName(J.doc, H.parent, V2))) return {
|
|
345
345
|
range: m2,
|
|
@@ -349,7 +349,7 @@ var autoCloseTags = /* @__PURE__ */ EditorView.inputHandler.of((m, V, U, G, K) =
|
|
|
349
349
|
insert: `</${q2}>`
|
|
350
350
|
}
|
|
351
351
|
};
|
|
352
|
-
} else if (U2 &&
|
|
352
|
+
} else if (U2 && W == "/" && K2.name == "StartCloseTag") {
|
|
353
353
|
let m3 = K2.parent;
|
|
354
354
|
if (K2.from == V2 - 2 && ((_c = m3.lastChild) == null ? void 0 : _c.name) != "CloseTag" && (q2 = elementName(J.doc, m3, V2))) {
|
|
355
355
|
let m4 = V2 + (J.doc.sliceString(V2, V2 + 1) === ">" ? 1 : 0), H = `${q2}>`;
|