@marimo-team/islands 0.25.2-dev99 → 0.25.3-dev10
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-BZmqc_F0.js → ConnectedDataExplorerComponent-CNMliVzw.js} +15 -15
- package/dist/{ErrorBoundary-CXkr_IcB.js → ErrorBoundary-BsqSMK9Y.js} +12 -12
- package/dist/{ImageComparisonComponent-Cpfz30OZ.js → ImageComparisonComponent-uU8FSKZE.js} +3 -3
- package/dist/{Plot-CTyjbQDT.js → Plot-DdYOe1UK.js} +2 -2
- package/dist/{abnfDiagram-VCTEODGH-C_Lmaa2j.js → abnfDiagram-VCTEODGH-D-Ez91gV.js} +3 -3
- package/dist/{any-language-editor-BFzqhOBR.js → any-language-editor-DZ_YTVus.js} +7 -7
- package/dist/{architectureDiagram-5GKGNRK7-BKMataHB.js → architectureDiagram-5GKGNRK7-CTpcNtO8.js} +5 -5
- package/dist/assets/__vite-browser-external-BXYkiFsk.js +1 -0
- package/dist/assets/worker-HPY9fbhz.js +114 -0
- package/dist/{blockDiagram-I7D4REHJ-BeHOjyDk.js → blockDiagram-I7D4REHJ-Cg25UrxT.js} +9 -9
- package/dist/{button-BtsM2UqM.js → button-CvjkwdSk.js} +5 -5
- package/dist/{c4Diagram-7LVT6UL2-Bao10t_O.js → c4Diagram-7LVT6UL2-BxFgrnNV.js} +7 -7
- package/dist/{capabilities-A5jrzjCJ.js → capabilities-CQ5IjhzL.js} +1 -1
- package/dist/{channel-BxCkvUgE.js → channel-CPObtJXj.js} +1 -1
- package/dist/{chat-ui-CwOWzoSO.js → chat-ui-0lKdOoQ3.js} +1588 -1396
- package/dist/{check-CNP79M3A.js → check-EDwSwP89.js} +1 -1
- package/dist/{chunk-4HAMMTFA-CH7Gpamd.js → chunk-4HAMMTFA-D4eFPyFh.js} +5 -5
- package/dist/{chunk-75Z2AOVW-AI7CvgKn.js → chunk-75Z2AOVW-D7gxIs2Q.js} +1 -1
- package/dist/{chunk-DU6HZSFF-BSvuTkX4.js → chunk-DU6HZSFF-BwiyaNpg.js} +1 -1
- package/dist/{chunk-F27PBJKO-CLshwT9T.js → chunk-F27PBJKO-ufseIn5y.js} +1 -1
- package/dist/{chunk-GMAD6QVW-wnHcn-lH.js → chunk-GMAD6QVW-BhaJx0X3.js} +3 -3
- package/dist/{chunk-GVQU2GXP-7O2p8hut.js → chunk-GVQU2GXP-Cwbt-lF0.js} +2 -2
- package/dist/{chunk-IMKFNOWR-Bu0Vh_Yi.js → chunk-IMKFNOWR-DGxi-zeo.js} +5 -5
- package/dist/{chunk-L3NEJ4N5-B9_Alrxb.js → chunk-L3NEJ4N5-n-zgIVSy.js} +5 -5
- package/dist/{chunk-OSK3NFVY-PeQPH2fD.js → chunk-OSK3NFVY-DXa-Cxbn.js} +6 -6
- package/dist/{chunk-P2QGCYS3-D9twiFuU.js → chunk-P2QGCYS3-B_Zd3-X0.js} +1 -1
- package/dist/{chunk-POPQ4Y6H-BUiNs18s.js → chunk-POPQ4Y6H-hYOXbYH_.js} +1 -1
- package/dist/{chunk-PWAF6VOD-D8S9NPCy.js → chunk-PWAF6VOD-CQw5qATZ.js} +1 -1
- package/dist/{chunk-SHT3W25Y-B2dyNZ31.js → chunk-SHT3W25Y-CV9J3rAB.js} +7 -7
- package/dist/{chunk-SVP7TREG-D7UPvB10.js → chunk-SVP7TREG-BL-9Fqgg.js} +2 -2
- package/dist/{chunk-TICWLB2K-BNaGoadd.js → chunk-TICWLB2K-Cu_XMjDM.js} +5 -5
- package/dist/{chunk-YOKDWASO-DrWbKnxA.js → chunk-YOKDWASO-DPZk8vhS.js} +6 -6
- package/dist/classDiagram-ZZMXUADV-BXXV13Hq.js +30 -0
- package/dist/classDiagram-v2-VYDZK3BY-B7FXJ1Cp.js +30 -0
- package/dist/{code-visibility-pPjYsRTH.js → code-visibility-CXQvUXHT.js} +18 -18
- package/dist/{common-CkvBp0B4.js → common-CuD-CAC-.js} +6128 -7136
- package/dist/{compiler-runtime-Cj8ZWiNS.js → compiler-runtime-CldRdSsv.js} +2 -2
- package/dist/{copy-icon-BY7jgcaV.js → copy-icon-Ft7t9bqz.js} +6 -6
- package/dist/{cynefinDiagram-5FMLGOSQ-CCDn4Z9e.js → cynefinDiagram-5FMLGOSQ-CH96rwba.js} +3 -3
- package/dist/{dagre-GXQ25YYZ-BJiUO_SV.js → dagre-GXQ25YYZ-BD3PmpFY.js} +10 -10
- package/dist/{data-grid-overlay-editor-L6ELxFAh.js → data-grid-overlay-editor-DgeyYmC1.js} +7 -7
- package/dist/{data-grid-types-BucVmDDp.js → data-grid-types-BH_r7g7l.js} +1 -1
- package/dist/{diagram-S7CK7UJ4-BZfxFNRR.js → diagram-S7CK7UJ4-BsSJJldB.js} +4 -4
- package/dist/{diagram-UQ7AKVKN-1xcsiIMg.js → diagram-UQ7AKVKN-muQtNZc4.js} +3 -3
- package/dist/{diagram-VSXAHHWV-DPAWJ9Nw.js → diagram-VSXAHHWV-BJWcVVJY.js} +2 -2
- package/dist/{diagram-VX7I27RA-DmRsnHYY.js → diagram-VX7I27RA-CdhuZAqR.js} +5 -5
- package/dist/{diagram-Z3DM3KII--b49ryKx.js → diagram-Z3DM3KII-BD8mXjOj.js} +3 -3
- package/dist/{dialog-CmExhUDI.js → dialog-CEBFZNyc.js} +6 -6
- package/dist/{dist-CcyKTBTF.js → dist-DpBpA_n1.js} +2 -2
- package/dist/{dropdown-menu-Cz4TdOJh.js → dropdown-menu-CP_qCYHC.js} +139 -139
- package/dist/{ebnfDiagram-PWID7BFC-rSwVyh4y.js → ebnfDiagram-PWID7BFC-BIN1sweE.js} +3 -3
- package/dist/{erDiagram-RLTQ6QDP-Bfd3iAoC.js → erDiagram-RLTQ6QDP-Ctp5cfoN.js} +12 -12
- package/dist/{error-banner-D30nA9nE.js → error-banner-D-WCIiMt.js} +16 -11
- package/dist/{cells-DZi0ioak.js → error-entries-DSvFWT_M.js} +6171 -5075
- package/dist/{esm-DAVrGVKP.js → esm-AMFssoNp.js} +4 -4
- package/dist/{feedback-button-D-pV0Qji.js → feedback-button-DZMj9PF3.js} +119 -120
- package/dist/flowDiagram-HODETNUW-3EfLrlFb.js +16 -0
- package/dist/{formats-DhhbdyAH.js → formats-CeOmU1MU.js} +6 -6
- package/dist/{ganttDiagram-EL5Y4UJY-B4m_YsKa.js → ganttDiagram-EL5Y4UJY-BQT16JSc.js} +2 -2
- package/dist/{gitGraphDiagram-WWUBYQGX-QRBbvWXh.js → gitGraphDiagram-WWUBYQGX-D5nSIzdE.js} +2 -2
- package/dist/{glide-data-editor-D6CfYwdr.js → glide-data-editor-g_L8FLAC.js} +60 -60
- package/dist/{glide-utils-BVJ4fkxX.js → glide-utils-DJyqh0EM.js} +4 -4
- package/dist/{globals-BwK9YGrX.js → globals-CYGlmBXb.js} +3 -3
- package/dist/{highlighted-body-KPVGNVTW-Ad3MKZ18.js → highlighted-body-KPVGNVTW-zwjq21tf.js} +4 -4
- package/dist/{html-to-image-Cn1_16-x.js → html-to-image-B8s5SgGm.js} +37 -37
- package/dist/{infoDiagram-27XIBGKW-DVQFYvhg.js → infoDiagram-27XIBGKW-DipQoHxl.js} +2 -2
- package/dist/{ishikawaDiagram-5VMMS53U-viPND-nm.js → ishikawaDiagram-5VMMS53U-DgFMjSGz.js} +3 -3
- package/dist/{journeyDiagram-3NMN7TZE-BeeJdJo3.js → journeyDiagram-3NMN7TZE-BaLqn-dZ.js} +2 -2
- package/dist/{jsx-runtime-DgDPJV9S.js → jsx-runtime-3BD1kT0s.js} +1 -1
- package/dist/{kanban-definition-UXKFOSKX-Dcl_ECO9.js → kanban-definition-UXKFOSKX-w1ACVjgl.js} +9 -9
- package/dist/{katex-BNCmKUol.js → katex-BIdZGsyO.js} +141 -116
- package/dist/{label-DQO1jFjf.js → label-BDKF3Afc.js} +10 -10
- package/dist/{loader-Cm-ATtou.js → loader-BQOfjTIJ.js} +1 -1
- package/dist/main.js +623 -590
- package/dist/{mermaid-BfhcnSj-.js → mermaid-CHo49Yv-.js} +56 -56
- package/dist/mermaid-HWGCJPDP-ByCsZnYF.js +2 -0
- package/dist/{mhchem-BEc7A1or.js → mhchem-CdWPJK6g.js} +1 -1
- package/dist/{mindmap-definition-YA3MSWOX-BdxxhF-5.js → mindmap-definition-YA3MSWOX-CrT0KSfX.js} +11 -11
- package/dist/{number-overlay-editor-tMylyldi.js → number-overlay-editor-9VRv-pdj.js} +5 -5
- package/dist/{pegDiagram-XKGWAZYB-Du5p2s0w.js → pegDiagram-XKGWAZYB-BqvywNJA.js} +3 -3
- package/dist/{pieDiagram-E7YTZNPT-DJg-SOIq.js → pieDiagram-E7YTZNPT-BfxJ_XCc.js} +3 -3
- package/dist/{process-output-CUG57KRp.js → process-output-CKRXyszb.js} +5 -5
- package/dist/{quadrantDiagram-AXDQQJYC-keLfFx9f.js → quadrantDiagram-AXDQQJYC-Ccw0xMjN.js} +1 -1
- package/dist/{railroadDiagram-O6MQD6OU-C0ojm-6_.js → railroadDiagram-O6MQD6OU-8vFLVTPu.js} +3 -3
- package/dist/{react-dom-BUgJ-ab_.js → react-dom-DUmH0GXv.js} +29 -21
- package/dist/{react-ofJbxM4x.js → react-sHtZdjeP.js} +103 -94
- package/dist/{react-vega-ewj7q_U5.js → react-vega-BED0DjiB.js} +3 -3
- package/dist/{requirementDiagram-BXWQKSXE-CNwNBmI3.js → requirementDiagram-BXWQKSXE-a_MxGvxe.js} +11 -11
- package/dist/{reveal-component-LXUMcqWX.js → reveal-component-C87mv9Mn.js} +906 -878
- package/dist/{sankeyDiagram-P5KCCOFB-Bh4EsJox.js → sankeyDiagram-P5KCCOFB-ELvOcnZH.js} +1 -1
- package/dist/{select-Bs-nmvm6.js → select-BButFi-d.js} +11 -11
- package/dist/{sequenceDiagram-WJ2MYXX4-DQaW5qBG.js → sequenceDiagram-WJ2MYXX4-CXFMnxGh.js} +4 -4
- package/dist/{spec-DVsoMvYT.js → spec-BwarBpUJ.js} +4 -4
- package/dist/{stateDiagram-D77RDMKH-BDa515QC.js → stateDiagram-D77RDMKH-DQeA_CwI.js} +13 -13
- package/dist/stateDiagram-v2-MP3YSRHH-BxxQucm1.js +30 -0
- package/dist/style.css +1 -1
- package/dist/{swimlanes-42K2YHIH-M4IdGi8J.js → swimlanes-42K2YHIH-Do6L-cYg.js} +10 -10
- package/dist/swimlanesDiagram-VR7AAH4N-DUzPvSVU.js +30 -0
- package/dist/{swiper-component-CpN-hewZ.js → swiper-component-DKntyn8p.js} +5 -5
- package/dist/{timeline-definition-24CTP7MA-DH-kvakg.js → timeline-definition-24CTP7MA-D3c46WM5.js} +3 -3
- package/dist/{toDate-vEi5kTfY.js → toDate-vIXljnsr.js} +43 -42
- package/dist/{toast-DfEpJedt.js → toast-B9UMEi8u.js} +9 -9
- package/dist/{tooltip-CuNWg2ay.js → tooltip-BO1REbqs.js} +7 -7
- package/dist/{use-restore-focus-kmgwrL8q.js → use-restore-focus-BEM7sFWl.js} +2042 -1827
- package/dist/{use-vega-container-remeasure-4DwJbPWu.js → use-vega-container-remeasure-Bz4PZMtt.js} +2 -2
- package/dist/{useAsyncData-rkAlR_vh.js → useAsyncData-Deh5kszT.js} +3 -3
- package/dist/{useDateFormatter-C-tz65rD.js → useDateFormatter-D8XruNGG.js} +4 -4
- package/dist/{useDeepCompareMemoize-BlHFBj5_.js → useDeepCompareMemoize-DXwzRINI.js} +2 -2
- package/dist/{useIframeCapabilities-C1Bt04Iz.js → useIframeCapabilities-DBETvvPl.js} +2 -2
- package/dist/{useLifecycle-B68iY077.js → useLifecycle-j7D9uD1o.js} +6 -6
- package/dist/{useTheme-BwSgeAFb.js → useTheme-CRnjkku0.js} +7 -7
- package/dist/{vega-component-C-bPttRN.js → vega-component-DTG6zxaY.js} +14 -14
- package/dist/{vega-embed-container-sSR5hAsy.js → vega-embed-container-BNHE18G9.js} +5 -5
- package/dist/{vennDiagram-4TSXK5OY-d5g7XeiI.js → vennDiagram-4TSXK5OY-BSZD8JcZ.js} +3 -3
- package/dist/{wardleyDiagram-VM6X3IG4-BfX3bSzR.js → wardleyDiagram-VM6X3IG4-48cUWkfA.js} +3 -3
- package/dist/{xychartDiagram-S5SC5T6Z-C1QsLZg7.js → xychartDiagram-S5SC5T6Z-CswYgYeu.js} +5 -5
- package/package.json +25 -22
- package/src/__tests__/fixtures/{pair-preview.ts → pair-config.ts} +3 -2
- package/src/__tests__/host-imports.test.ts +100 -0
- package/src/__tests__/mount.test.ts +8 -8
- package/src/components/data-table/__tests__/column_formatting.test.ts +30 -0
- package/src/components/data-table/__tests__/columns.test.tsx +70 -0
- package/src/components/data-table/__tests__/context-menu.test.ts +176 -0
- package/src/components/data-table/__tests__/date-filter-inputs.test.tsx +24 -1
- package/src/components/data-table/__tests__/export-actions.test.tsx +329 -6
- package/src/components/data-table/column-formatting/feature.ts +20 -1
- package/src/components/data-table/columns.tsx +25 -18
- package/src/components/data-table/context-menu.tsx +125 -26
- package/src/components/data-table/date-filter-inputs.tsx +15 -42
- package/src/components/data-table/export-actions.tsx +192 -116
- package/src/components/data-table/schemas.ts +14 -36
- package/src/components/data-table/utils.ts +18 -0
- package/src/components/editor/Output.tsx +9 -2
- package/src/components/editor/actions/__tests__/pair-with-agent-commands.test.ts +80 -252
- package/src/components/editor/actions/__tests__/pair-with-agent-modal.test.tsx +186 -34
- package/src/components/editor/actions/pair-with-agent-commands.ts +42 -51
- package/src/components/editor/actions/pair-with-agent-modal.tsx +96 -36
- package/src/components/editor/chrome/panels/error-panel.tsx +1 -0
- package/src/components/editor/chrome/wrapper/__tests__/attachment-status.test.tsx +372 -0
- package/src/components/editor/chrome/wrapper/footer-item.tsx +32 -24
- package/src/components/editor/chrome/wrapper/footer-items/attachment-status.tsx +237 -0
- package/src/components/editor/chrome/wrapper/footer.tsx +2 -0
- package/src/components/editor/controls/__tests__/notebook-menu-dropdown.test.tsx +4 -3
- package/src/components/editor/errors/__tests__/send-error-report-button.test.tsx +548 -0
- package/src/components/editor/errors/send-error-report-button.tsx +69 -0
- package/src/components/editor/output/MarimoErrorOutput.tsx +21 -5
- package/src/components/editor/output/MarimoTracebackOutput.tsx +35 -20
- package/src/components/editor/output/__tests__/ansi-reduce.test.ts +18 -0
- package/src/components/editor/output/ansi-reduce.ts +6 -0
- package/src/components/editor/output/console/ConsoleOutput.tsx +5 -3
- package/src/components/editor/output/console/__tests__/ConsoleOutput.test.tsx +18 -0
- package/src/components/storage/__tests__/storage-file-viewer.test.tsx +2 -1
- package/src/core/attachments/__tests__/toast.test.tsx +58 -0
- package/src/core/attachments/state.ts +21 -0
- package/src/core/attachments/toast.ts +15 -0
- package/src/core/cells/__tests__/cells.test.ts +52 -0
- package/src/core/cells/__tests__/document-roundtrip.test.ts +16 -0
- package/src/core/cells/__tests__/error-report.test.ts +139 -0
- package/src/core/cells/__tests__/session.test.ts +50 -1
- package/src/core/cells/error-report.ts +63 -0
- package/src/core/cells/session.ts +28 -1
- package/src/core/codemirror/copilot/__tests__/completion-integration.test.ts +447 -0
- package/src/core/codemirror/copilot/__tests__/inline-completion.test.ts +395 -0
- package/src/core/codemirror/copilot/__tests__/language-server.test.ts +511 -2
- package/src/core/codemirror/copilot/__tests__/rpc-cancellation.test.ts +201 -0
- package/src/core/codemirror/copilot/extension.ts +22 -11
- package/src/core/codemirror/copilot/language-server.ts +109 -60
- package/src/core/codemirror/language/__tests__/sql.test.ts +4 -3
- package/src/core/codemirror/language/embedded/__tests__/embedded-python.test.ts +138 -26
- package/src/core/codemirror/language/embedded/embedded-python.ts +47 -13
- package/src/core/codemirror/language/embedded/latex.ts +20 -13
- package/src/core/config/pair.ts +5 -3
- package/src/core/datasets/__tests__/data-source-discovery.test.ts +18 -11
- package/src/core/host/AGENTS.md +6 -0
- package/src/core/host/__tests__/protocol.test.ts +214 -0
- package/src/core/host/protocol.ts +1943 -0
- package/src/core/islands/__tests__/bootstrap.test.ts +26 -0
- package/src/core/islands/bootstrap.ts +1 -0
- package/src/core/islands/bridge.ts +2 -2
- package/src/core/kernel/messages.ts +4 -7
- package/src/core/network/__tests__/api.test.ts +114 -1
- package/src/core/network/api.ts +3 -2
- package/src/core/wasm/bridge.ts +2 -2
- package/src/core/wasm/worker/types.ts +2 -2
- package/src/core/websocket/__tests__/useMarimoKernelConnection.hook.test.tsx +193 -0
- package/src/core/websocket/useMarimoKernelConnection.tsx +9 -0
- package/src/css/katex-css.test.ts +1 -1
- package/src/css/katex.min.css +6 -1
- package/src/hooks/__tests__/useEventListener.test.tsx +45 -1
- package/src/hooks/useEventListener.ts +6 -1
- package/src/mount.tsx +3 -3
- package/src/plugins/impl/NumberPlugin.tsx +20 -3
- package/src/plugins/impl/__tests__/DataTablePlugin.test.tsx +84 -0
- package/src/plugins/impl/__tests__/NumberPlugin.test.tsx +159 -1
- package/src/utils/__tests__/dates.test.ts +116 -0
- package/src/utils/dates.ts +94 -0
- package/dist/assets/__vite-browser-external-BqAtzd2P.js +0 -1
- package/dist/assets/worker-Bf8dt6S-.js +0 -109
- package/dist/classDiagram-ZZMXUADV-Bbo2n384.js +0 -30
- package/dist/classDiagram-v2-VYDZK3BY-xR8cGP0r.js +0 -30
- package/dist/error-entries-BovkFYNy.js +0 -56
- package/dist/flowDiagram-HODETNUW-D7IBKS12.js +0 -16
- package/dist/mermaid-HWGCJPDP-DYCzSILp.js +0 -2
- package/dist/stateDiagram-v2-MP3YSRHH-ChNddepZ.js +0 -30
- package/dist/swimlanesDiagram-VR7AAH4N-FUSwmzEp.js +0 -30
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { a as e, t } from "./rolldown-runtime-Cb76FRpK.js";
|
|
2
|
-
import { g as n, h as r, p as i, r as a, t as o, u as s } from "./button-
|
|
3
|
-
import { t as c } from "./react-
|
|
4
|
-
import { t as l } from "./compiler-runtime-
|
|
5
|
-
import { n as u, t as d } from "./copy-icon-
|
|
6
|
-
import { a as f, c as p, l as m, s as h, t as g } from "./chunk-YOKDWASO-
|
|
7
|
-
import { c as _, h as v, l as y, s as b, t as x, u as ee } from "./tooltip-
|
|
8
|
-
import {
|
|
9
|
-
import { M as Ce, O as we, k as Te } from "./select-
|
|
10
|
-
import { dt as Ee, q as De } from "./dropdown-menu-
|
|
11
|
-
import {
|
|
12
|
-
import { t as Ae } from "./jsx-runtime-
|
|
13
|
-
import { Ct as je, K as Me, Q as Ne, St as S, X as Pe, Y as Fe, bt as C, ct as Ie, dt as Le, ft as Re, ht as ze, lt as Be, pt as Ve, vt as He, wt as w, xt as Ue, yt as We } from "./use-restore-focus-
|
|
14
|
-
import { A as Ge, C as T, E as Ke, _ as E, c as qe, n as Je } from "./useTheme-
|
|
2
|
+
import { g as n, h as r, p as i, r as a, t as o, u as s } from "./button-CvjkwdSk.js";
|
|
3
|
+
import { t as c } from "./react-sHtZdjeP.js";
|
|
4
|
+
import { t as l } from "./compiler-runtime-CldRdSsv.js";
|
|
5
|
+
import { n as u, t as d } from "./copy-icon-Ft7t9bqz.js";
|
|
6
|
+
import { a as f, c as p, l as m, s as h, t as g } from "./chunk-YOKDWASO-DPZk8vhS.js";
|
|
7
|
+
import { c as _, h as v, l as y, s as b, t as x, u as ee } from "./tooltip-BO1REbqs.js";
|
|
8
|
+
import { $t as te, A as ne, Ct as re, Dt as ie, Et as ae, Ft as oe, H as se, M as ce, P as le, St as ue, U as de, X as fe, a as pe, at as me, bt as he, d as ge, mt as _e, nn as ve, nt as ye, wt as be, xt as xe, y as Se } from "./error-entries-DSvFWT_M.js";
|
|
9
|
+
import { M as Ce, O as we, k as Te } from "./select-BButFi-d.js";
|
|
10
|
+
import { dt as Ee, q as De } from "./dropdown-menu-CP_qCYHC.js";
|
|
11
|
+
import { m as Oe, y as ke } from "./toDate-vIXljnsr.js";
|
|
12
|
+
import { t as Ae } from "./jsx-runtime-3BD1kT0s.js";
|
|
13
|
+
import { Ct as je, K as Me, Q as Ne, St as S, X as Pe, Y as Fe, bt as C, ct as Ie, dt as Le, ft as Re, ht as ze, lt as Be, pt as Ve, vt as He, wt as w, xt as Ue, yt as We } from "./use-restore-focus-BEM7sFWl.js";
|
|
14
|
+
import { A as Ge, C as T, E as Ke, _ as E, c as qe, n as Je } from "./useTheme-CRnjkku0.js";
|
|
15
15
|
import { $ as Ye } from "./dist-DoE4XJBC.js";
|
|
16
|
-
import { t as Xe } from "./useAsyncData-
|
|
16
|
+
import { t as Xe } from "./useAsyncData-Deh5kszT.js";
|
|
17
17
|
//#region ../node_modules/.pnpm/domelementtype@2.3.0/node_modules/domelementtype/lib/index.js
|
|
18
18
|
var Ze = /* @__PURE__ */ t(((e) => {
|
|
19
19
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.Doctype = e.CDATA = e.Tag = e.Style = e.Script = e.Comment = e.Directive = e.Text = e.Root = e.isTag = e.ElementType = void 0;
|
|
@@ -1808,15 +1808,15 @@ Bn.displayName = Mn.displayName;
|
|
|
1808
1808
|
//#endregion
|
|
1809
1809
|
//#region src/core/documentation/doc-lookup.ts
|
|
1810
1810
|
async function Vn(e) {
|
|
1811
|
-
let t =
|
|
1811
|
+
let t = ge().inOrderIds.at(0);
|
|
1812
1812
|
if (t) try {
|
|
1813
|
-
let n = await
|
|
1813
|
+
let n = await ye.request({
|
|
1814
1814
|
document: e,
|
|
1815
1815
|
cellId: t
|
|
1816
1816
|
});
|
|
1817
1817
|
if (!n || n.options.length === 0) return;
|
|
1818
1818
|
let r = e.split(".").pop() ?? e, i = n.options[0], a = n.options.find((e) => e.name === r) ?? i;
|
|
1819
|
-
a?.completion_info && E.set(
|
|
1819
|
+
a?.completion_info && E.set(me, { documentation: a.completion_info });
|
|
1820
1820
|
} catch (t) {
|
|
1821
1821
|
n.debug(`Doc lookup failed for "${e}"`, t);
|
|
1822
1822
|
}
|
|
@@ -2066,7 +2066,7 @@ function xr(e) {
|
|
|
2066
2066
|
return (e.buffers ?? []).map(_r);
|
|
2067
2067
|
}
|
|
2068
2068
|
//#endregion
|
|
2069
|
-
//#region ../node_modules/.pnpm/@radix-ui+react-icons@1.3.2_react@19.
|
|
2069
|
+
//#region ../node_modules/.pnpm/@radix-ui+react-icons@1.3.2_react@19.3.0/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js
|
|
2070
2070
|
function W(e, t) {
|
|
2071
2071
|
if (e == null) return {};
|
|
2072
2072
|
var n = {}, r = Object.keys(e), i, a;
|
|
@@ -2301,7 +2301,7 @@ var Vr = D.forwardRef((e, t) => {
|
|
|
2301
2301
|
Vr.displayName = on.displayName;
|
|
2302
2302
|
//#endregion
|
|
2303
2303
|
//#region src/utils/multi-map.ts
|
|
2304
|
-
var Hr = /* @__PURE__ */ e(
|
|
2304
|
+
var Hr = /* @__PURE__ */ e(xe(), 1), Ur = class {
|
|
2305
2305
|
map = /* @__PURE__ */ new Map();
|
|
2306
2306
|
get(e) {
|
|
2307
2307
|
return this.map.get(e) ?? [];
|
|
@@ -2441,7 +2441,7 @@ var Gr = class {
|
|
|
2441
2441
|
return (await Promise.all(i)).flat();
|
|
2442
2442
|
}
|
|
2443
2443
|
};
|
|
2444
|
-
|
|
2444
|
+
oe([te()], Kr.prototype, "getAllItems", null);
|
|
2445
2445
|
//#endregion
|
|
2446
2446
|
//#region src/core/ai/context/utils.ts
|
|
2447
2447
|
function qr(e) {
|
|
@@ -2496,12 +2496,12 @@ var Yr = {
|
|
|
2496
2496
|
connectionsMap;
|
|
2497
2497
|
dataframes;
|
|
2498
2498
|
constructor(e, t) {
|
|
2499
|
-
super(), this.connectionsMap = e, this.dataframes = [...t.values()].filter((e) =>
|
|
2499
|
+
super(), this.connectionsMap = e, this.dataframes = [...t.values()].filter((e) => be(e) === "dataframe");
|
|
2500
2500
|
}
|
|
2501
2501
|
getItems() {
|
|
2502
2502
|
return [...this.connectionsMap.values()].map((e) => {
|
|
2503
2503
|
let t = "Database schema.", n = { connection: e };
|
|
2504
|
-
return
|
|
2504
|
+
return ae.has(e.name) && (n.tables = this.dataframes, t = "Database schema and the dataframes that can be queried"), e.databases.length === 0 && (n.tables?.length ?? 0) === 0 ? null : {
|
|
2505
2505
|
uri: this.asURI(e.name),
|
|
2506
2506
|
name: e.name,
|
|
2507
2507
|
description: t,
|
|
@@ -2512,7 +2512,7 @@ var Yr = {
|
|
|
2512
2512
|
}
|
|
2513
2513
|
formatContext(e) {
|
|
2514
2514
|
let t = e.data, { name: n, display_name: r, source: i, ...a } = t.connection, o = a;
|
|
2515
|
-
return
|
|
2515
|
+
return ae.has(n) || (o = {
|
|
2516
2516
|
...a,
|
|
2517
2517
|
engine_name: n
|
|
2518
2518
|
}), Jr({
|
|
@@ -2525,7 +2525,7 @@ var Yr = {
|
|
|
2525
2525
|
}
|
|
2526
2526
|
formatCompletion(e) {
|
|
2527
2527
|
let t = e.data, n = t.connection, r = t.tables, i = n.name;
|
|
2528
|
-
return
|
|
2528
|
+
return ae.has(n.name) && (i = "In-Memory"), {
|
|
2529
2529
|
label: `@${i}`,
|
|
2530
2530
|
displayLabel: i,
|
|
2531
2531
|
detail: he(n.dialect),
|
|
@@ -2534,29 +2534,29 @@ var Yr = {
|
|
|
2534
2534
|
section: Xr.DATA_SOURCES,
|
|
2535
2535
|
info: () => {
|
|
2536
2536
|
let e = document.createElement("div");
|
|
2537
|
-
return e.classList.add("mo-cm-tooltip", "docs-documentation"), (0, Hr.createRoot)(e).render(
|
|
2537
|
+
return e.classList.add("mo-cm-tooltip", "docs-documentation"), (0, Hr.createRoot)(e).render(_e(n, r)), e;
|
|
2538
2538
|
}
|
|
2539
2539
|
};
|
|
2540
2540
|
}
|
|
2541
2541
|
};
|
|
2542
2542
|
function $r(e, t) {
|
|
2543
|
-
let n = t.get(
|
|
2543
|
+
let n = t.get(pe(e))?.code;
|
|
2544
2544
|
if (!n || n.trim() === "") return null;
|
|
2545
|
-
let [r, i, a] =
|
|
2545
|
+
let [r, i, a] = se.sql.transformIn(n), o = t.get(re).connectionsMap.get(a.engine);
|
|
2546
2546
|
return o ? `@${Zr}://${o.name}` : null;
|
|
2547
2547
|
}
|
|
2548
2548
|
function ei(e, t) {
|
|
2549
2549
|
let n = $r(e, t);
|
|
2550
2550
|
if (!n) return null;
|
|
2551
|
-
let r = t.get(
|
|
2551
|
+
let r = t.get(re).connectionsMap, i = new Qr(r, t.get(ue)), a = n.slice(1), o = i.getItems().find((e) => e.uri === a);
|
|
2552
2552
|
return o ? i.formatContext(o) : null;
|
|
2553
2553
|
}
|
|
2554
2554
|
//#endregion
|
|
2555
2555
|
//#region src/core/cells/outputs.ts
|
|
2556
2556
|
var ti = {}, ni = {};
|
|
2557
2557
|
function ri(e) {
|
|
2558
|
-
let t = (0, O.c)(16), { mode: n } = T(ke), { updateCellConfig: r } =
|
|
2559
|
-
t[0] === e ? i = t[1] : (i =
|
|
2558
|
+
let t = (0, O.c)(16), { mode: n } = T(ke), { updateCellConfig: r } = Se(), i;
|
|
2559
|
+
t[0] === e ? i = t[1] : (i = ve(pe(e), ai, Object.is), t[0] = e, t[1] = i);
|
|
2560
2560
|
let a = T(i), o;
|
|
2561
2561
|
t[2] !== e || t[3] !== a ? (o = () => ti[e] ?? a, t[2] = e, t[3] = a, t[4] = o) : o = t[4];
|
|
2562
2562
|
let [s, c] = (0, D.useState)(o), l, u;
|
|
@@ -2570,7 +2570,7 @@ function ri(e) {
|
|
|
2570
2570
|
r({
|
|
2571
2571
|
cellId: e,
|
|
2572
2572
|
config: n
|
|
2573
|
-
}),
|
|
2573
|
+
}), ie().saveCellConfig({ configs: { [e]: n } }).catch(ii);
|
|
2574
2574
|
}, t[9] = e, t[10] = d, t[11] = r, t[12] = p) : p = t[12];
|
|
2575
2575
|
let m = Ge(p), h;
|
|
2576
2576
|
return t[13] !== f || t[14] !== m ? (h = [f, m], t[13] = f, t[14] = m, t[15] = h) : h = t[15], h;
|
|
@@ -2594,17 +2594,17 @@ function si(e) {
|
|
|
2594
2594
|
}
|
|
2595
2595
|
//#endregion
|
|
2596
2596
|
//#region src/plugins/impl/code/LazyAnyLanguageCodeMirror.tsx
|
|
2597
|
-
var ci = (0, D.lazy)(() => import("./any-language-editor-
|
|
2597
|
+
var ci = (0, D.lazy)(() => import("./any-language-editor-DZ_YTVus.js")), li = [Ye.lineWrapping];
|
|
2598
2598
|
function ui(e, t) {
|
|
2599
2599
|
return e ? e === "python" ? {
|
|
2600
2600
|
language: e,
|
|
2601
2601
|
code: t
|
|
2602
2602
|
} : e === "sql" ? {
|
|
2603
2603
|
language: "python",
|
|
2604
|
-
code:
|
|
2604
|
+
code: de.fromQuery(t)
|
|
2605
2605
|
} : e === "markdown" ? {
|
|
2606
2606
|
language: "python",
|
|
2607
|
-
code:
|
|
2607
|
+
code: fe.fromMarkdown(t)
|
|
2608
2608
|
} : e === "shell" || e === "bash" ? {
|
|
2609
2609
|
language: "python",
|
|
2610
2610
|
code: `import subprocess\nsubprocess.run("${t}")`
|
|
@@ -2617,10 +2617,10 @@ function ui(e, t) {
|
|
|
2617
2617
|
};
|
|
2618
2618
|
}
|
|
2619
2619
|
var di = (e) => {
|
|
2620
|
-
let t = (0, O.c)(9), { code: n, language: r } = e, { createNewCell: i } =
|
|
2620
|
+
let t = (0, O.c)(9), { code: n, language: r } = e, { createNewCell: i } = Se(), a = ce(), s = T(qe), c;
|
|
2621
2621
|
t[0] !== s || t[1] !== n || t[2] !== i || t[3] !== r || t[4] !== a ? (c = () => {
|
|
2622
2622
|
let e = ui(r, n);
|
|
2623
|
-
r === "sql" &&
|
|
2623
|
+
r === "sql" && le({
|
|
2624
2624
|
autoInstantiate: s,
|
|
2625
2625
|
createNewCell: i,
|
|
2626
2626
|
fromCellId: a
|
|
@@ -2717,7 +2717,7 @@ var di = (e) => {
|
|
|
2717
2717
|
children: e
|
|
2718
2718
|
});
|
|
2719
2719
|
} }, _i, vi = () => {
|
|
2720
|
-
let { data: e } = Xe(async () => _i || (_i = { math: (await import("./dist-
|
|
2720
|
+
let { data: e } = Xe(async () => _i || (_i = { math: (await import("./dist-DpBpA_n1.js")).math }, _i), []);
|
|
2721
2721
|
return e;
|
|
2722
2722
|
}, yi = (0, D.memo)((e) => {
|
|
2723
2723
|
let t = (0, O.c)(3), { content: n } = e, r = vi(), i;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as e } from "./src-CA_m4ONl.js";
|
|
2
2
|
import { n as t } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
3
|
-
import { c as n } from "./chunk-DU6HZSFF-
|
|
4
|
-
import { p as r } from "./mermaid-
|
|
3
|
+
import { c as n } from "./chunk-DU6HZSFF-BwiyaNpg.js";
|
|
4
|
+
import { p as r } from "./mermaid-CHo49Yv-.js";
|
|
5
5
|
import { n as i } from "./mermaid-parser.core-DxuSfYwJ.js";
|
|
6
6
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-27XIBGKW.mjs
|
|
7
7
|
var a = { parse: /* @__PURE__ */ t(async (t) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { p as e } from "./chunk-75Z2AOVW-
|
|
1
|
+
import { p as e } from "./chunk-75Z2AOVW-D7gxIs2Q.js";
|
|
2
2
|
import "./src-CA_m4ONl.js";
|
|
3
3
|
import { n as t } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
4
|
-
import { H as n, K as r, U as i, a, c as o, s, v as c, w as l, x as u, y as d } from "./chunk-DU6HZSFF-
|
|
4
|
+
import { H as n, K as r, U as i, a, c as o, s, v as c, w as l, x as u, y as d } from "./chunk-DU6HZSFF-BwiyaNpg.js";
|
|
5
5
|
import { t as f } from "./rough.esm-CtV9AnV1.js";
|
|
6
|
-
import { p } from "./mermaid-
|
|
6
|
+
import { p } from "./mermaid-CHo49Yv-.js";
|
|
7
7
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/ishikawaDiagram-5VMMS53U.mjs
|
|
8
8
|
var m = (function() {
|
|
9
9
|
var e = /* @__PURE__ */ t(function(e, t, n, r) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./arc-7ra3iNdN.js";
|
|
2
2
|
import { t } from "./src-CA_m4ONl.js";
|
|
3
3
|
import { n } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
4
|
-
import { H as r, K as i, U as a, a as o, c as s, v as c, w as l, x as u, y as d } from "./chunk-DU6HZSFF-
|
|
4
|
+
import { H as r, K as i, U as a, a as o, c as s, v as c, w as l, x as u, y as d } from "./chunk-DU6HZSFF-BwiyaNpg.js";
|
|
5
5
|
import { t as f } from "./chunk-5VM5RSS4-DKsmPCL6.js";
|
|
6
|
-
import { a as p, n as m, o as h, s as g } from "./chunk-F27PBJKO-
|
|
6
|
+
import { a as p, n as m, o as h, s as g } from "./chunk-F27PBJKO-ufseIn5y.js";
|
|
7
7
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-3NMN7TZE.mjs
|
|
8
8
|
var _ = (function() {
|
|
9
9
|
var e = /* @__PURE__ */ n(function(e, t, n, r) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
2
|
-
//#region ../node_modules/.pnpm/react@19.
|
|
2
|
+
//#region ../node_modules/.pnpm/react@19.3.0/node_modules/react/cjs/react-jsx-runtime.production.js
|
|
3
3
|
var t = /* @__PURE__ */ e(((e) => {
|
|
4
4
|
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
|
|
5
5
|
function r(e, n, r) {
|
package/dist/{kanban-definition-UXKFOSKX-Dcl_ECO9.js → kanban-definition-UXKFOSKX-w1ACVjgl.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "./chunk-75Z2AOVW-
|
|
1
|
+
import "./chunk-75Z2AOVW-D7gxIs2Q.js";
|
|
2
2
|
import { n as e } from "./src-CA_m4ONl.js";
|
|
3
3
|
import { n as t } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
4
|
-
import { $ as n, J as r, et as i, f as a, nt as o, x as s, z as c } from "./chunk-DU6HZSFF-
|
|
5
|
-
import "./chunk-P2QGCYS3-
|
|
6
|
-
import "./chunk-PWAF6VOD-
|
|
7
|
-
import "./chunk-GMAD6QVW-
|
|
8
|
-
import "./chunk-4HAMMTFA-
|
|
9
|
-
import { i as l, r as u } from "./chunk-GVQU2GXP-
|
|
10
|
-
import { n as d } from "./chunk-L3NEJ4N5-
|
|
11
|
-
import { a as f, i as p, p as m } from "./mermaid-
|
|
4
|
+
import { $ as n, J as r, et as i, f as a, nt as o, x as s, z as c } from "./chunk-DU6HZSFF-BwiyaNpg.js";
|
|
5
|
+
import "./chunk-P2QGCYS3-B_Zd3-X0.js";
|
|
6
|
+
import "./chunk-PWAF6VOD-CQw5qATZ.js";
|
|
7
|
+
import "./chunk-GMAD6QVW-BhaJx0X3.js";
|
|
8
|
+
import "./chunk-4HAMMTFA-D4eFPyFh.js";
|
|
9
|
+
import { i as l, r as u } from "./chunk-GVQU2GXP-Cwbt-lF0.js";
|
|
10
|
+
import { n as d } from "./chunk-L3NEJ4N5-n-zgIVSy.js";
|
|
11
|
+
import { a as f, i as p, p as m } from "./mermaid-CHo49Yv-.js";
|
|
12
12
|
import { t as h } from "./chunk-5VM5RSS4-DKsmPCL6.js";
|
|
13
13
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-UXKFOSKX.mjs
|
|
14
14
|
var g = (function() {
|