@marimo-team/islands 0.22.1-dev9 → 0.22.1
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-iT7t3FxV.js → ConnectedDataExplorerComponent-DuD8BVl6.js} +54 -54
- package/dist/{Plot-WhbJAbBh.js → Plot-BxlSHo0G.js} +47 -38
- package/dist/_basePickBy-Sow3pJjS.js +41 -0
- package/dist/{_baseUniq-B4eL5sTC.js → _baseUniq-C87CckHL.js} +15 -54
- package/dist/{any-language-editor-CT_9yBde.js → any-language-editor-BHH_pQ6M.js} +21 -21
- package/dist/architecture-7HQA4BMR-BHdkAMvZ.js +6 -0
- package/dist/{architectureDiagram-VXUJARFQ-vxgYGIMP.js → architectureDiagram-VXUJARFQ-B3YQo9At.js} +15 -15
- package/dist/{arrays-Du-jRBAy.js → arrays-beUWo8RF.js} +1 -1
- package/dist/assets/__vite-browser-external-WSlCcXn_.js +1 -0
- package/dist/assets/{worker-D10K3OOz.js → worker-DUYMdbtA.js} +2 -2
- package/dist/{blockDiagram-VD42YOAC-C7x6YTH7.js → blockDiagram-VD42YOAC-CpQ3TKEN.js} +7 -7
- package/dist/{button-qsiIHncQ.js → button-DNlNlZY_.js} +82 -84
- package/dist/{c4Diagram-YG6GDRKO-Cx4oseGg.js → c4Diagram-YG6GDRKO-CZSU4uqU.js} +4 -4
- package/dist/{capabilities-26mwv03y.js → capabilities-Coe9eM9T.js} +2 -2
- package/dist/{channel-C_50jIAn.js → channel-X3JKk8gE.js} +1 -1
- package/dist/{chat-ui-CtqUthFR.js → chat-ui-Cel1kBfc.js} +147 -146
- package/dist/{check-D_YwHEgY.js → check-CWUkiHmb.js} +1 -1
- package/dist/{chunk-4F5CHEZ2-Dvo_CFnR.js → chunk-4F5CHEZ2-D5mClyDv.js} +1 -1
- package/dist/{chunk-ABZYJK2D-D5YIs71w.js → chunk-ABZYJK2D-CZYCCtLy.js} +1 -1
- package/dist/{chunk-ATLVNIR6-CyOjzOcf.js → chunk-ATLVNIR6-DaOzLLgN.js} +1 -1
- package/dist/{chunk-B2363JML-BzZqINRO.js → chunk-B2363JML-Br0eA2T3.js} +1 -1
- package/dist/{chunk-B4BG7PRW-ZJeV3KdD.js → chunk-B4BG7PRW-4BjV11Br.js} +4 -4
- package/dist/{chunk-DI55MBZ5-Dx_wwX6l.js → chunk-DI55MBZ5-DITY3EyP.js} +4 -4
- package/dist/{chunk-EXTU4WIE-CgefpSXQ.js → chunk-EXTU4WIE-jUPSAk3i.js} +1 -1
- package/dist/{chunk-FRFDVMJY-Derq8UzY.js → chunk-FRFDVMJY-DnEvEFRR.js} +1 -1
- package/dist/{chunk-JA3XYJ7Z-CcIOIFpc.js → chunk-JA3XYJ7Z-BcPEfxk_.js} +2 -2
- package/dist/{chunk-JZLCHNYA-CgO0GG1p.js → chunk-JZLCHNYA-2bnLL3xL.js} +4 -4
- package/dist/{chunk-N4CR4FBY-2qzGzAxT.js → chunk-N4CR4FBY-CpZSuGSU.js} +5 -5
- package/dist/{chunk-PL6DKKU2-KoG71Zin.js → chunk-PL6DKKU2-DnId6G-x.js} +1 -1
- package/dist/{chunk-QN33PNHL-Dp1qBo28.js → chunk-QN33PNHL-B9p5ojHB.js} +1 -1
- package/dist/{chunk-QXUST7PY-BxmmeIwf.js → chunk-QXUST7PY-Ch6F5Obl.js} +5 -5
- package/dist/{chunk-S3R3BYOJ-D3Rys9ZW.js → chunk-S3R3BYOJ-B0UOFJwq.js} +3 -3
- package/dist/{chunk-SJTYNZTY-Co-DhKAG.js → chunk-SJTYNZTY-BsBZnJUj.js} +1 -1
- package/dist/{chunk-TCCFYFTB-BAhzIqBO.js → chunk-TCCFYFTB-Clbl-fTg.js} +8 -7
- package/dist/{chunk-TQ3KTPDO-DxYI735Z.js → chunk-TQ3KTPDO-CFkSQ30e.js} +1 -1
- package/dist/{chunk-TZMSLE5B-Dxumt0wv.js → chunk-TZMSLE5B-D45397J2.js} +1 -1
- package/dist/{chunk-UMXZTB3W-CuahpKin.js → chunk-UMXZTB3W-D-A834Bq.js} +1 -1
- package/dist/{classDiagram-v2-WZHVMYZB-CYoFMQKE.js → classDiagram-2ON5EDUG-C8-zE3Zv.js} +10 -10
- package/dist/{classDiagram-2ON5EDUG-DkOvXRlx.js → classDiagram-v2-WZHVMYZB-DrmbGANl.js} +10 -10
- package/dist/{clone-DDndUqI0.js → clone-DZFQCtFJ.js} +1 -1
- package/dist/{constants-D1Am36hX.js → constants-CvyfaCvs.js} +3 -3
- package/dist/{copy-CBo9JcJW.js → copy-B7781WJ3.js} +2 -2
- package/dist/{dagre-6UL2VRFP-BXBaU8PB.js → dagre-6UL2VRFP-OMItEBnY.js} +12 -12
- package/dist/{dagre-D3dlYz-r.js → dagre-QVd-lCXU.js} +13 -23
- package/dist/{data-grid-overlay-editor-nZux6_d2.js → data-grid-overlay-editor-lKF301ME.js} +1 -1
- package/dist/{diagram-PSM6KHXK-CJxjk4LG.js → diagram-PSM6KHXK-CkKbohWI.js} +16 -16
- package/dist/{diagram-QEK2KX5R-IMILPh_p.js → diagram-QEK2KX5R-DjUMpVcx.js} +14 -14
- package/dist/{diagram-S2PKOQOG-6O0g6Boj.js → diagram-S2PKOQOG-b-c0d-wZ.js} +14 -14
- package/dist/{dist-BkXs8bw0.js → dist--6TSlp8H.js} +1 -1
- package/dist/dist-7K5doRvB.js +6 -0
- package/dist/{dist-CQidOwep.js → dist-B43sbpd0.js} +3 -3
- package/dist/dist-B6I_A2-E.js +8 -0
- package/dist/dist-BEQsmaZY.js +5 -0
- package/dist/dist-BasY2RHp.js +8 -0
- package/dist/{dist-BemtTYzN.js → dist-Bfp1XXWt.js} +5 -5
- package/dist/{dist-v-1kgqZ3.js → dist-BjDuO5JW.js} +1 -1
- package/dist/dist-Bosc00dY.js +5 -0
- package/dist/{dist-DLNKBPsk.js → dist-BrxqmS9Q.js} +4 -4
- package/dist/{dist-DBYL08Lu.js → dist-BvhGByxL.js} +4 -4
- package/dist/{dist-CVqlhD3M.js → dist-C4bq5Ioy.js} +2 -2
- package/dist/{dist-DwmxBUOe.js → dist-CFKdzOIu.js} +2 -2
- package/dist/{dist-5nTQE2yt.js → dist-CIB8w0Fl.js} +2 -2
- package/dist/{dist-C-EcLtO9.js → dist-CNF0QBLR.js} +1 -1
- package/dist/dist-CQMZOn-_.js +8 -0
- package/dist/dist-CViQhWZ8.js +5 -0
- package/dist/{dist-Dg65j0em.js → dist-CcMfr7jD.js} +1 -1
- package/dist/{dist-C0XYIHKJ.js → dist-Ci0CXEFt.js} +1 -1
- package/dist/dist-Cz6rLfwY.js +5 -0
- package/dist/dist-D8eq8st3.js +6 -0
- package/dist/{dist-qoCY8giM.js → dist-DAfcmt-d.js} +2 -2
- package/dist/{dist-B6Op2ogv.js → dist-DD_cYHOl.js} +2 -2
- package/dist/{dist-BUSLKXcu.js → dist-DFK94vuS.js} +2 -2
- package/dist/{dist-DBXPlQ0D.js → dist-DGNtjMZu.js} +1 -1
- package/dist/{dist-C9qF7MRB.js → dist-DJ9F1eHs.js} +2 -2
- package/dist/{dist-Ci_jEudG.js → dist-DJKubHDd.js} +1 -1
- package/dist/{dist-CnFp2Kcl.js → dist-DLafRu9s.js} +2 -2
- package/dist/dist-DM1UDXdl.js +5 -0
- package/dist/dist-DNrtWPgS.js +5 -0
- package/dist/dist-D_UjpfOY.js +1381 -0
- package/dist/{dist-DmFS6KZW.js → dist-DbnBiLNH.js} +3 -3
- package/dist/{dist-BiZZAo22.js → dist-DlSUOIm9.js} +1 -1
- package/dist/{dist-DStU8He1.js → dist-Doy0mQDg.js} +2 -2
- package/dist/{dist-CxAX99oC.js → dist-DpkJHKB8.js} +2 -2
- package/dist/{dist-DjaZNkZ7.js → dist-LhQNUe5A.js} +3 -3
- package/dist/dist-V7q2qnpA.js +5 -0
- package/dist/{dist-BJ3fhRYu.js → dist-VqF3W_ue.js} +2 -2
- package/dist/dist-a5_hPgu2.js +8 -0
- package/dist/{dist-B9KLrfoh.js → dist-ej6AQKaS.js} +1 -1
- package/dist/{dist-Brb6VNc4.js → dist-m9tsXsFf.js} +2 -2
- package/dist/{dist-CBwMSFDu.js → dist-tGk0aZ--.js} +2 -2
- package/dist/dist-uVyZcV1-.js +5 -0
- package/dist/{erDiagram-Q2GNP2WA-sho7Cl9f.js → erDiagram-Q2GNP2WA-CDhLaOZ1.js} +10 -10
- package/dist/{error-banner-Bx9kIgrs.js → error-banner-Cjf0RU9I.js} +79 -79
- package/dist/{esm-CMg2ABu6.js → esm-4wmsH2lp.js} +6 -6
- package/dist/{esm-cqK9POGH.js → esm-CD1iby2n.js} +23 -23
- package/dist/{flowDiagram-NV44I4VS-C4nY4Fbz.js → flowDiagram-NV44I4VS-BDi4O4CL.js} +10 -10
- package/dist/{ganttDiagram-JELNMOA3-CtxNcCM2.js → ganttDiagram-JELNMOA3-BpZE6kVp.js} +3 -3
- package/dist/{gitGraph-G5XIXVHT-SL6TDof6.js → gitGraph-G5XIXVHT-B_c6xFJv.js} +3 -3
- package/dist/{gitGraphDiagram-V2S2FVAM-D9885mxd.js → gitGraphDiagram-V2S2FVAM-iQnXzbPM.js} +13 -13
- package/dist/{glide-data-editor-CkVEV-Gk.js → glide-data-editor-BqnvTmDo.js} +1739 -1708
- package/dist/{graphlib-CxWdvYQt.js → graphlib-BV1_gi0C.js} +4 -3
- package/dist/hasIn-DnfJcYpY.js +108 -0
- package/dist/{info-VBDWY6EO-6MXPTSmi.js → info-VBDWY6EO-BTyzxmhr.js} +3 -3
- package/dist/{infoDiagram-HS3SLOUP-Bw2FlRwF.js → infoDiagram-HS3SLOUP-OYrX6uO3.js} +13 -13
- package/dist/{input-BSde8uV4.js → input-CFY9gApZ.js} +5055 -5055
- package/dist/{isEmpty-BQtUinxJ.js → isEmpty-B7FX9wKt.js} +1 -1
- package/dist/{isSymbol-DFp8040B.js → isSymbol-DCbjQG_U.js} +1 -1
- package/dist/{journeyDiagram-XKPGCS4Q-BXlCEth8.js → journeyDiagram-XKPGCS4Q-ClPC94aN.js} +3 -3
- package/dist/{kanban-definition-3W4ZIXB7-CorxzSYm.js → kanban-definition-3W4ZIXB7-DHEAKdZt.js} +7 -7
- package/dist/{label-DTNqw9tv.js → label-DbZGAoCH.js} +538 -569
- package/dist/{loader-CMMa6QVT.js → loader-Bd1kgLn7.js} +15 -15
- package/dist/main.js +35011 -34898
- package/dist/{memoize-CuHciEBb.js → memoize-CSTI9eOX.js} +1 -1
- package/dist/{merge-CA_buyY3.js → merge-CVhG7q_o.js} +1 -1
- package/dist/{mermaid-CEKslOkI.js → mermaid-B2HDLx2g.js} +54 -54
- package/dist/{mermaid-parser.core-cq4YDee-.js → mermaid-parser.core-ntCgyx0x.js} +8 -8
- package/dist/min-Ds3gG0Ff.js +96 -0
- package/dist/{mindmap-definition-VGOIOE7T-DRsT8UaN.js → mindmap-definition-VGOIOE7T-CxEUZZvY.js} +9 -9
- package/dist/{now-CXAdKY5k.js → now-nrrrOr01.js} +1 -1
- package/dist/{once-CZno0h-b.js → once-C_TIu-kR.js} +1 -1
- package/dist/{packet-DYOGHKS2-Dw08gMaZ.js → packet-DYOGHKS2-BhvnpoGi.js} +3 -3
- package/dist/{pie-VRWISCQL-C5SPSvT8.js → pie-VRWISCQL-dILuA3iG.js} +3 -3
- package/dist/{pieDiagram-ADFJNKIX-DhJ1Cx2O.js → pieDiagram-ADFJNKIX-U3LrUqAS.js} +14 -14
- package/dist/{process-output-KyzWazB-.js → process-output-DC1TOnIl.js} +3184 -3207
- package/dist/{quadrantDiagram-AYHSOK5B-DXUFIWlz.js → quadrantDiagram-AYHSOK5B-BVWuq-3R.js} +2 -2
- package/dist/{radar-ZZBFDIW7-BvY0bgSg.js → radar-ZZBFDIW7-DwFrOJDj.js} +3 -3
- package/dist/range-fJeId9Ri.js +30 -0
- package/dist/{requirementDiagram-UZGBJVZJ-DO_gtQIb.js → requirementDiagram-UZGBJVZJ-D0zpQnKC.js} +9 -9
- package/dist/{sankeyDiagram-TZEHDZUN-OZzXEkuG.js → sankeyDiagram-TZEHDZUN-CExy1joT.js} +2 -2
- package/dist/{sequenceDiagram-WL72ISMW-K7nZRifV.js → sequenceDiagram-WL72ISMW-D1BJxLjH.js} +4 -4
- package/dist/{slides-component-CIcSvFh7.js → slides-component-CX2JC-Ws.js} +2 -2
- package/dist/{spec-DYaR1rJh.js → spec-CD7QaCV-.js} +3 -3
- package/dist/{stateDiagram-FKZM4ZOC-DzXJZAq7.js → stateDiagram-FKZM4ZOC-B1S8jGMn.js} +12 -12
- package/dist/{stateDiagram-v2-4FDKWEC3-BZBPUmyF.js → stateDiagram-v2-4FDKWEC3-BH5ozUbc.js} +10 -10
- package/dist/stex-CQDv3aS8.js +4 -0
- package/dist/style.css +1 -1
- package/dist/{timeline-definition-IT6M3QCI-DNoLAh-i.js → timeline-definition-IT6M3QCI-BDT9JAmn.js} +2 -2
- package/dist/{toDate-D6VXexnV.js → toDate-CUqpEbBS.js} +5 -5
- package/dist/{toNumber-xFPoy1OI.js → toNumber-55tjPCWr.js} +2 -2
- package/dist/tooltip-BXEpXV3R.js +404 -0
- package/dist/{treemap-GDKQZRPO-C5OoxpmV.js → treemap-GDKQZRPO-bx2ngsgN.js} +3 -3
- package/dist/{types-CQ-RbYxp.js → types-D_ntCXg0.js} +3 -3
- package/dist/{useAsyncData-Cd4Urlww.js → useAsyncData-rN1nzPaS.js} +2 -2
- package/dist/{useDeepCompareMemoize-DOzKCTzc.js → useDeepCompareMemoize-Ch-7Rk2x.js} +4 -4
- package/dist/{useIframeCapabilities-BVQrlRBd.js → useIframeCapabilities-CqhrVue6.js} +1 -1
- package/dist/useLifecycle-4fA1pHoh.js +177 -0
- package/dist/{useTheme-Dm1WaAGy.js → useTheme-MWfxn4oz.js} +4 -5
- package/dist/{vega-component-BaDgUvQP.js → vega-component-CPhNLfZZ.js} +25 -25
- package/dist/{xychartDiagram-PRI3JC2R-ehVeySMW.js → xychartDiagram-PRI3JC2R-CuAZiqHS.js} +5 -5
- package/dist/{Combination-B--d1_LV.js → zod-C6UGQ3fz.js} +8085 -8151
- package/package.json +8 -41
- package/src/__mocks__/common.ts +4 -4
- package/src/__tests__/main.test.tsx +12 -14
- package/src/components/ai/ai-provider-icon.tsx +3 -2
- package/src/components/app-config/user-config-form.tsx +0 -27
- package/src/components/chat/acp/agent-docs.tsx +3 -3
- package/src/components/chat/acp/agent-panel.tsx +71 -24
- package/src/components/chat/acp/agent-selector.tsx +2 -11
- package/src/components/chat/acp/state.ts +15 -3
- package/src/components/chat/chat-history-popover.tsx +1 -1
- package/src/components/chat/chat-panel.tsx +2 -1
- package/src/components/data-table/TableBottomBar.tsx +7 -1
- package/src/components/data-table/TableTopBar.tsx +31 -35
- package/src/components/data-table/__tests__/columns.test.tsx +7 -7
- package/src/components/data-table/cell-hover-template/types.ts +1 -1
- package/src/components/data-table/cell-hover-text/types.ts +1 -1
- package/src/components/data-table/cell-selection/__tests__/feature.test.ts +1 -1
- package/src/components/data-table/cell-selection/types.ts +4 -3
- package/src/components/data-table/cell-styling/types.ts +1 -1
- package/src/components/data-table/charts/chart-spec/altair-generator.ts +2 -2
- package/src/components/data-table/charts/charts.tsx +2 -2
- package/src/components/data-table/charts/components/chart-items.tsx +1 -1
- package/src/components/data-table/column-explorer-panel/column-explorer.tsx +1 -1
- package/src/components/data-table/column-formatting/types.ts +5 -4
- package/src/components/data-table/column-header.tsx +4 -2
- package/src/components/data-table/column-summary/legacy-chart-spec.ts +1 -1
- package/src/components/data-table/column-wrapping/types.ts +4 -3
- package/src/components/data-table/columns.tsx +4 -1
- package/src/components/data-table/copy-column/types.ts +4 -3
- package/src/components/data-table/data-table.tsx +12 -11
- package/src/components/data-table/focus-row/types.ts +4 -3
- package/src/components/data-table/loading-table.tsx +1 -1
- package/src/components/data-table/pagination.tsx +1 -1
- package/src/components/data-table/range-focus/__tests__/atoms.test.ts +13 -13
- package/src/components/data-table/range-focus/__tests__/use-cell-range-selection.test.ts +9 -11
- package/src/components/data-table/range-focus/atoms.ts +2 -2
- package/src/components/data-table/range-focus/cell-selection-stats.tsx +3 -1
- package/src/components/data-table/renderers.tsx +18 -12
- package/src/components/data-table/row-viewer-panel/row-viewer.tsx +1 -1
- package/src/components/data-table/table-explorer-panel/table-explorer-panel.tsx +2 -2
- package/src/components/dependency-graph/dependency-graph-tree.tsx +1 -1
- package/src/components/editor/__tests__/data-attributes.test.tsx +93 -94
- package/src/components/editor/__tests__/dynamic-favicon.test.tsx +1 -1
- package/src/components/editor/actions/name-cell-input.tsx +4 -2
- package/src/components/editor/actions/pair-with-agent-modal.tsx +179 -0
- package/src/components/editor/actions/useCellActionButton.tsx +4 -2
- package/src/components/editor/actions/useNotebookActions.tsx +10 -0
- package/src/components/editor/ai/add-cell-with-ai.tsx +2 -1
- package/src/components/editor/ai/ai-completion-editor.tsx +1 -1
- package/src/components/editor/app-container.tsx +1 -1
- package/src/components/editor/cell/CellStatus.tsx +4 -5
- package/src/components/editor/cell/cell-context-menu.tsx +4 -2
- package/src/components/editor/cell/code/cell-editor.tsx +3 -2
- package/src/components/editor/cell/toolbar.tsx +2 -1
- package/src/components/editor/chrome/components/contribute-snippet-button.tsx +4 -1
- package/src/components/editor/chrome/components/feedback-button.tsx +4 -1
- package/src/components/editor/chrome/panels/context-aware-panel/context-aware-panel.tsx +1 -1
- package/src/components/editor/chrome/panels/empty-state.tsx +1 -0
- package/src/components/editor/chrome/panels/file-explorer-panel.tsx +0 -10
- package/src/components/editor/chrome/panels/snippets-panel.tsx +1 -1
- package/src/components/editor/chrome/panels/write-secret-modal.tsx +1 -1
- package/src/components/editor/chrome/wrapper/app-chrome.tsx +4 -1
- package/src/components/editor/chrome/wrapper/footer-items/lsp-status.tsx +2 -1
- package/src/components/editor/chrome/wrapper/storage.ts +2 -2
- package/src/components/editor/connections/database/as-code.ts +1 -1
- package/src/components/editor/connections/form-renderers.tsx +1 -1
- package/src/components/editor/connections/storage/as-code.ts +1 -1
- package/src/components/editor/controls/keyboard-shortcuts.tsx +1 -1
- package/src/components/editor/header/filename-input.tsx +4 -1
- package/src/components/editor/links/cell-link-list.tsx +1 -1
- package/src/components/editor/navigation/__tests__/navigation.test.ts +1 -1
- package/src/components/editor/navigation/clipboard.ts +1 -1
- package/src/components/editor/navigation/multi-cell-action-toolbar.tsx +2 -2
- package/src/components/editor/navigation/navigation.ts +3 -3
- package/src/components/editor/notebook-cell.tsx +1 -1
- package/src/components/editor/output/JsonOutput.tsx +6 -6
- package/src/components/editor/output/ansi-reduce.ts +2 -2
- package/src/components/editor/output/console/ConsoleOutput.tsx +2 -2
- package/src/components/editor/renderers/cells-renderer.tsx +1 -1
- package/src/components/editor/renderers/grid-layout/grid-layout.tsx +1 -1
- package/src/components/editor/renderers/plugins.ts +1 -1
- package/src/components/editor/renderers/slides-layout/types.ts +2 -2
- package/src/components/editor/renderers/vertical-layout/__tests__/useFocusFirstEditor.test.ts +2 -2
- package/src/components/editor/renderers/vertical-layout/__tests__/vertical-layout.test.ts +1 -1
- package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +12 -13
- package/src/components/find-replace/find-replace.tsx +3 -1
- package/src/components/forms/form.tsx +1 -1
- package/src/components/forms/options.ts +1 -1
- package/src/components/pages/gallery-page.tsx +1 -1
- package/src/components/static-html/static-banner.tsx +2 -2
- package/src/components/storage/__tests__/storage-snippets.test.ts +4 -6
- package/src/components/terminal/terminal.tsx +4 -4
- package/src/components/tracing/tracing.test.tsx +30 -30
- package/src/components/ui/accordion.tsx +1 -1
- package/src/components/ui/alert-dialog.tsx +1 -1
- package/src/components/ui/badge.tsx +2 -1
- package/src/components/ui/button.tsx +5 -4
- package/src/components/ui/calendar.tsx +3 -2
- package/src/components/ui/checkbox.tsx +1 -1
- package/src/components/ui/combobox.tsx +2 -1
- package/src/components/ui/command.tsx +5 -2
- package/src/components/ui/context-menu.tsx +1 -1
- package/src/components/ui/date-input.tsx +7 -6
- package/src/components/ui/date-picker.tsx +6 -4
- package/src/components/ui/dialog.tsx +1 -1
- package/src/components/ui/draggable-popover.tsx +1 -1
- package/src/components/ui/dropdown-menu.tsx +2 -1
- package/src/components/ui/field.tsx +1 -2
- package/src/components/ui/form.tsx +4 -5
- package/src/components/ui/fullscreen.tsx +4 -1
- package/src/components/ui/label.tsx +1 -1
- package/src/components/ui/navigation.tsx +1 -1
- package/src/components/ui/popover.tsx +1 -1
- package/src/components/ui/progress.tsx +4 -3
- package/src/components/ui/query-param-preserving-link.tsx +4 -2
- package/src/components/ui/radio-group.tsx +1 -1
- package/src/components/ui/range-slider.tsx +1 -1
- package/src/components/ui/scroll-area.tsx +1 -1
- package/src/components/ui/select.tsx +1 -1
- package/src/components/ui/sheet.tsx +3 -2
- package/src/components/ui/slider.tsx +1 -1
- package/src/components/ui/switch.tsx +1 -1
- package/src/components/ui/tabs.tsx +1 -1
- package/src/components/ui/textarea.tsx +1 -2
- package/src/components/ui/toast.tsx +1 -1
- package/src/components/ui/toggle.tsx +1 -1
- package/src/components/ui/tooltip.tsx +1 -1
- package/src/components/variables/variables-table.tsx +1 -1
- package/src/core/ai/context/providers/__tests__/datasource.test.ts +1 -1
- package/src/core/ai/context/providers/__tests__/error.test.ts +1 -1
- package/src/core/ai/context/providers/__tests__/variable.test.ts +1 -1
- package/src/core/ai/context/providers/cell-output.ts +1 -2
- package/src/core/ai/context/registry.ts +2 -2
- package/src/core/ai/tools/edit-notebook-tool.ts +4 -3
- package/src/core/ai/tools/registry.ts +1 -1
- package/src/core/ai/tools/run-cells-tool.ts +4 -3
- package/src/core/cells/__tests__/add-missing-import.test.ts +23 -22
- package/src/core/cells/__tests__/cell.test.ts +14 -13
- package/src/core/cells/__tests__/cells.test.ts +2 -2
- package/src/core/cells/__tests__/scrollCellIntoView.test.ts +1 -1
- package/src/core/cells/__tests__/session.test.ts +1 -1
- package/src/core/cells/__tests__/utils.test.ts +1 -1
- package/src/core/cells/cells.ts +2 -2
- package/src/core/cells/ids.ts +1 -1
- package/src/core/cells/logs.ts +1 -1
- package/src/core/codemirror/ai/request.ts +1 -1
- package/src/core/codemirror/cells/__tests__/extensions.test.ts +15 -17
- package/src/core/codemirror/cells/traceback-decorations.ts +1 -1
- package/src/core/codemirror/copilot/__tests__/language-server.test.ts +1 -1
- package/src/core/codemirror/copilot/__tests__/transport.test.ts +129 -3
- package/src/core/codemirror/copilot/client.ts +9 -2
- package/src/core/codemirror/copilot/getCodes.ts +1 -1
- package/src/core/codemirror/copilot/language-server.ts +12 -1
- package/src/core/codemirror/copilot/transport.ts +34 -8
- package/src/core/codemirror/copilot/types.ts +1 -1
- package/src/core/codemirror/facet.ts +1 -1
- package/src/core/codemirror/language/__tests__/sql.test.ts +4 -4
- package/src/core/codemirror/language/languages/markdown.ts +1 -3
- package/src/core/codemirror/language/languages/python.ts +4 -0
- package/src/core/codemirror/language/languages/sql/completion-builder.ts +1 -1
- package/src/core/codemirror/language/languages/sql/completion-sources.tsx +4 -6
- package/src/core/codemirror/language/languages/sql/sql.ts +1 -3
- package/src/core/codemirror/language/metadata.ts +1 -1
- package/src/core/codemirror/language/panel/sql.tsx +4 -1
- package/src/core/codemirror/language/types.ts +1 -1
- package/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts +1 -1
- package/src/core/codemirror/lsp/notebook-lsp.ts +1 -1
- package/src/core/codemirror/misc/__tests__/dnd.test.ts +1 -1
- package/src/core/codemirror/reactive-references/__tests__/analyzer.test.ts +28 -42
- package/src/core/codemirror/rtc/loro/awareness.ts +1 -1
- package/src/core/config/__tests__/config-schema.test.ts +2 -6
- package/src/core/config/config-schema.ts +0 -1
- package/src/core/config/feature-flag.tsx +1 -3
- package/src/core/datasets/data-source-connections.ts +4 -2
- package/src/core/datasets/state.ts +1 -1
- package/src/core/dom/__tests__/htmlUtils.test.ts +8 -14
- package/src/core/dom/__tests__/outline.test.ts +2 -3
- package/src/core/dom/outline.ts +1 -1
- package/src/core/dom/uiregistry.ts +42 -8
- package/src/core/edit-app.tsx +4 -1
- package/src/core/export/__tests__/hooks.test.ts +1 -1
- package/src/core/hotkeys/__tests__/hotkeys.test.ts +1 -1
- package/src/core/hotkeys/shortcuts.ts +1 -1
- package/src/core/islands/__tests__/bridge.test.ts +2 -2
- package/src/core/islands/__tests__/parse.test.ts +8 -7
- package/src/core/islands/bridge.ts +2 -2
- package/src/core/islands/components/output-wrapper.tsx +1 -1
- package/src/core/islands/parse.ts +1 -1
- package/src/core/lsp/__tests__/transport.test.ts +1 -1
- package/src/core/network/CachingRequestRegistry.ts +1 -1
- package/src/core/network/DeferredRequestRegistry.ts +1 -1
- package/src/core/network/__tests__/requests-network.test.ts +1 -1
- package/src/core/network/api.ts +2 -2
- package/src/core/network/requests-lazy.ts +1 -1
- package/src/core/network/requests-toasting.tsx +1 -1
- package/src/core/runtime/runtime.ts +1 -0
- package/src/core/saving/__tests__/filename.test.ts +7 -6
- package/src/core/static/__tests__/download-html.test.ts +16 -15
- package/src/core/static/__tests__/files.test.ts +30 -28
- package/src/core/static/files.ts +1 -1
- package/src/core/vscode/vscode-bindings.ts +1 -1
- package/src/core/wasm/bridge.ts +3 -3
- package/src/core/wasm/worker/tracer.ts +1 -1
- package/src/core/websocket/useWebSocket.tsx +5 -3
- package/src/css/app/Cell.css +5 -2
- package/src/css/globals.css +18 -16
- package/src/custom.d.ts +1 -1
- package/src/hooks/__tests__/useDuplicateShortcuts.test.ts +3 -3
- package/src/hooks/debug.ts +3 -3
- package/src/hooks/useDebounce.ts +1 -1
- package/src/hooks/useEventListener.ts +1 -1
- package/src/hooks/useHotkey.ts +1 -1
- package/src/hooks/useLifecycle.ts +2 -2
- package/src/hooks/useNonce.ts +1 -1
- package/src/hooks/useResizeObserver.ts +2 -2
- package/src/main.tsx +1 -1
- package/src/plugins/core/BadPlugin.tsx +7 -6
- package/src/plugins/core/RenderHTML.tsx +3 -3
- package/src/plugins/core/__test__/registerReactComponent.test.ts +1 -1
- package/src/plugins/core/registerReactComponent.tsx +4 -4
- package/src/plugins/core/rpc.ts +1 -1
- package/src/plugins/impl/CheckboxPlugin.tsx +4 -1
- package/src/plugins/impl/DataEditorPlugin.tsx +8 -3
- package/src/plugins/impl/DataTablePlugin.tsx +5 -2
- package/src/plugins/impl/FileBrowserPlugin.tsx +1 -1
- package/src/plugins/impl/FormPlugin.tsx +2 -3
- package/src/plugins/impl/__tests__/DataTablePlugin.test.tsx +4 -1
- package/src/plugins/impl/__tests__/MatrixPlugin.test.tsx +1 -1
- package/src/plugins/impl/__tests__/SliderPlugin.test.tsx +43 -15
- package/src/plugins/impl/anywidget/AnyWidgetPlugin.tsx +3 -12
- package/src/plugins/impl/anywidget/__tests__/model.test.ts +2 -2
- package/src/plugins/impl/anywidget/model.ts +1 -1
- package/src/plugins/impl/anywidget/types.ts +2 -2
- package/src/plugins/impl/anywidget/widget-binding.ts +1 -1
- package/src/plugins/impl/chat/ChatPlugin.tsx +1 -1
- package/src/plugins/impl/chat/chat-ui.tsx +5 -2
- package/src/plugins/impl/data-editor/glide-data-editor.tsx +2 -2
- package/src/plugins/impl/data-explorer/ConnectedDataExplorerComponent.tsx +2 -2
- package/src/plugins/impl/data-explorer/components/query-form.tsx +1 -1
- package/src/plugins/impl/data-explorer/functions/function.ts +1 -1
- package/src/plugins/impl/data-explorer/queries/types.ts +1 -1
- package/src/plugins/impl/data-frames/DataFramePlugin.tsx +1 -1
- package/src/plugins/impl/data-frames/forms/__tests__/form.test.tsx +7 -9
- package/src/plugins/impl/data-frames/forms/renderers.tsx +1 -1
- package/src/plugins/impl/data-frames/utils/operators.ts +1 -1
- package/src/plugins/impl/matplotlib/MatplotlibPlugin.tsx +1 -1
- package/src/plugins/impl/mpl-interactive/MplInteractivePlugin.tsx +1 -1
- package/src/plugins/impl/panel/PanelPlugin.tsx +2 -2
- package/src/plugins/impl/plotly/Plot.tsx +3 -3
- package/src/plugins/impl/plotly/PlotlyPlugin.tsx +65 -103
- package/src/plugins/impl/plotly/__tests__/PlotlyPlugin.test.tsx +114 -0
- package/src/plugins/impl/plotly/__tests__/selection.test.ts +199 -0
- package/src/plugins/impl/plotly/selection.ts +333 -0
- package/src/plugins/impl/vega/__tests__/make-selectable.test.ts +13 -14
- package/src/plugins/impl/vega/batched.ts +1 -1
- package/src/plugins/impl/vega/make-selectable.ts +3 -3
- package/src/plugins/impl/vega/types.ts +1 -1
- package/src/plugins/layout/DownloadPlugin.tsx +1 -1
- package/src/plugins/layout/ImageComparisonPlugin.tsx +1 -3
- package/src/plugins/layout/LazyPlugin.tsx +1 -1
- package/src/plugins/layout/RoutesPlugin.tsx +1 -1
- package/src/plugins/layout/mermaid/mermaid.tsx +1 -1
- package/src/plugins/plugins.ts +1 -1
- package/src/plugins/stateless-plugin.ts +4 -2
- package/src/stories/data-explorer.stories.tsx +1 -1
- package/src/stories/dataframe.stories.tsx +1 -1
- package/src/stories/editor.stories.tsx +1 -1
- package/src/stories/select.stories.tsx +1 -1
- package/src/stories/switchable-multi-select.stories.tsx +1 -1
- package/src/utils/Logger.ts +1 -1
- package/src/utils/__tests__/arrays.test.ts +1 -1
- package/src/utils/__tests__/blob.test.ts +1 -1
- package/src/utils/__tests__/cell-urls.test.ts +24 -21
- package/src/utils/__tests__/dates.test.ts +1 -1
- package/src/utils/__tests__/errors.test.ts +1 -1
- package/src/utils/__tests__/filenames.test.ts +15 -14
- package/src/utils/__tests__/json-parser.test.ts +14 -21
- package/src/utils/__tests__/multi-map.test.ts +3 -3
- package/src/utils/__tests__/objects.test.ts +3 -3
- package/src/utils/__tests__/path.test.ts +34 -31
- package/src/utils/__tests__/urls.test.ts +19 -18
- package/src/utils/__tests__/versions.test.ts +5 -5
- package/src/utils/__tests__/waitForWs.test.ts +1 -1
- package/src/utils/arrays.ts +2 -2
- package/src/utils/assertNever.ts +1 -1
- package/src/utils/batch-requests.ts +2 -2
- package/src/utils/createReducer.ts +2 -2
- package/src/utils/id-tree.tsx +2 -2
- package/src/utils/idle.ts +1 -1
- package/src/utils/invariant.ts +1 -2
- package/src/utils/json/base64.ts +2 -5
- package/src/utils/maps.ts +1 -1
- package/src/utils/math.ts +0 -1
- package/src/utils/mime-types.ts +1 -1
- package/src/utils/multi-map.ts +1 -1
- package/src/utils/objects.ts +1 -1
- package/src/utils/once.ts +2 -2
- package/src/utils/staticImplements.ts +1 -1
- package/src/utils/storage/jotai.ts +1 -1
- package/src/utils/tracer.ts +3 -2
- package/dist/_basePickBy-QjOmBDRE.js +0 -110
- package/dist/_baseSet-xgn1IbGV.js +0 -27
- package/dist/architecture-7HQA4BMR-BRyVh_Za.js +0 -6
- package/dist/assets/__vite-browser-external-Us1ds95c.js +0 -1
- package/dist/dist-B0R_ZM4-.js +0 -6
- package/dist/dist-B4a9_9pj.js +0 -5
- package/dist/dist-BCSUKEwO.js +0 -5
- package/dist/dist-BONIDQq6.js +0 -5
- package/dist/dist-BYeRx2hb.js +0 -5
- package/dist/dist-D2Rk1j4R.js +0 -1381
- package/dist/dist-DZjX5TYv.js +0 -5
- package/dist/dist-Dkw9x6kc.js +0 -5
- package/dist/dist-Ds6UaXGR.js +0 -6
- package/dist/dist-KuEJ1Q53.js +0 -8
- package/dist/dist-S72WNyTZ.js +0 -5
- package/dist/dist-bTG-yssT.js +0 -5
- package/dist/dist-diF0sguc.js +0 -8
- package/dist/dist-mJ84BIgu.js +0 -8
- package/dist/dist-wSIhFWQz.js +0 -8
- package/dist/get-CqrzlV1v.js +0 -68
- package/dist/range-CYz5jI--.js +0 -17
- package/dist/stex-CZyTRGVB.js +0 -4
- package/dist/tooltip-DGHTbHl5.js +0 -404
- package/dist/useLifecycle-Dids8BPm.js +0 -173
- /package/dist/{dist-KZI_BHqV.js → dist-CxZvoNao.js} +0 -0
- /package/dist/{invariant-D4hPsZFI.js → invariant-e8eBgdux.js} +0 -0
- /package/dist/{isArrayLikeObject-C-hFPChh.js → isArrayLikeObject-LXbTYiBa.js} +0 -0
- /package/dist/{main-CvkAPtaq.js → main-XimWhSi_.js} +0 -0
- /package/dist/{purify.es-ukiMXY-F.js → purify.es-hTCfRGdl.js} +0 -0
- /package/dist/{react-dom-BKwCWYPW.js → react-dom-BSUuJjCR.js} +0 -0
- /package/dist/{stex-Ze8D4R_5.js → stex-D887Ylhf.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { At as Prec, B as tags, Dt as EditorState, Et as EditorSelection, H as NodeProp, I as syntaxTree, J as parseMixed, K as Parser, M as languageDataProp, O as indentNodeProp, R as Tag, T as foldService, U as NodeSet, Vt as countColumn, W as NodeType, Z as EditorView, _ as defineLanguageFacet, c as Language, d as ParseContext, dt as keymap, j as indentUnit, l as LanguageDescription, q as Tree, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-
|
|
2
|
-
import { t as CompletionContext } from "./dist-
|
|
3
|
-
import { n as html, r as htmlCompletionSource } from "./dist-
|
|
1
|
+
import { At as Prec, B as tags, Dt as EditorState, Et as EditorSelection, H as NodeProp, I as syntaxTree, J as parseMixed, K as Parser, M as languageDataProp, O as indentNodeProp, R as Tag, T as foldService, U as NodeSet, Vt as countColumn, W as NodeType, Z as EditorView, _ as defineLanguageFacet, c as Language, d as ParseContext, dt as keymap, j as indentUnit, l as LanguageDescription, q as Tree, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-CxZvoNao.js";
|
|
2
|
+
import { t as CompletionContext } from "./dist-DGNtjMZu.js";
|
|
3
|
+
import { n as html, r as htmlCompletionSource } from "./dist-B43sbpd0.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, [], []);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as tags, O as indentNodeProp, S as foldInside, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, z as styleTags } from "./dist-
|
|
1
|
+
import { B as tags, O as indentNodeProp, S as foldInside, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, z as styleTags } from "./dist-CxZvoNao.js";
|
|
2
2
|
var spec_Keyword = {
|
|
3
3
|
__proto__: null,
|
|
4
4
|
anyref: 34,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./dist-
|
|
2
|
-
import { i as xmlLanguage, n as completeFromSchema, r as xml, t as autoCloseTags } from "./dist-
|
|
1
|
+
import "./dist-CxZvoNao.js";
|
|
2
|
+
import { i as xmlLanguage, n as completeFromSchema, r as xml, t as autoCloseTags } from "./dist-BjDuO5JW.js";
|
|
3
3
|
export {
|
|
4
4
|
xml
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as tags, I as syntaxTree, O as indentNodeProp, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-
|
|
2
|
-
import { l as ifNotIn, s as completeFromList } from "./dist-
|
|
1
|
+
import { B as tags, I as syntaxTree, O as indentNodeProp, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-CxZvoNao.js";
|
|
2
|
+
import { l as ifNotIn, s as completeFromList } from "./dist-DGNtjMZu.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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as tags, J as parseMixed, i as LocalTokenGroup, r as LRParser, s as LRLanguage, u as LanguageSupport, z as styleTags } from "./dist-
|
|
2
|
-
import { n as html } from "./dist-
|
|
3
|
-
import { r as javascriptLanguage } from "./dist-
|
|
1
|
+
import { B as tags, J as parseMixed, i as LocalTokenGroup, r as LRParser, s as LRLanguage, u as LanguageSupport, z as styleTags } from "./dist-CxZvoNao.js";
|
|
2
|
+
import { n as html } from "./dist-B43sbpd0.js";
|
|
3
|
+
import { r as javascriptLanguage } from "./dist-DJ9F1eHs.js";
|
|
4
4
|
var parser = /* @__PURE__ */ LRParser.deserialize({
|
|
5
5
|
version: 14,
|
|
6
6
|
states: "%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as tags, G as NodeWeakMap, I as syntaxTree, O as indentNodeProp, S as foldInside, V as IterMode, h as continuedIndent, i as LocalTokenGroup, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent, z as styleTags } from "./dist-
|
|
2
|
-
import { f as snippetCompletion, l as ifNotIn, s as completeFromList } from "./dist-
|
|
1
|
+
import { B as tags, G as NodeWeakMap, I as syntaxTree, O as indentNodeProp, S as foldInside, V as IterMode, h as continuedIndent, i as LocalTokenGroup, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent, z as styleTags } from "./dist-CxZvoNao.js";
|
|
2
|
+
import { f as snippetCompletion, l as ifNotIn, s as completeFromList } from "./dist-DGNtjMZu.js";
|
|
3
3
|
var insertedSemi = 177, space$1 = 179, identifier = 184, String = 12, closeParen$1 = 13, Number = 17, Rune = 20, closeBrace$1 = 25, closeBracket = 53, IncDecOp = 95, _return = 142, _break = 144, _continue = 145, fallthrough = 148, newline = 10, carriageReturn = 13, space = 32, tab = 9, slash = 47, closeParen = 41, closeBrace = 125, semicolon = new ExternalTokenizer((y, J) => {
|
|
4
4
|
for (let Y = 0, X = y.next; (J.context && (X < 0 || X == newline || X == carriageReturn || X == slash && y.peek(Y + 1) == slash) || X == closeParen || X == closeBrace) && y.acceptToken(insertedSemi), !(X != space && X != tab); ) X = y.peek(++Y);
|
|
5
5
|
}, { contextual: true }), trackedTokens = /* @__PURE__ */ new Set([
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as tags, O as indentNodeProp, S as foldInside, h as continuedIndent, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent, z as styleTags } from "./dist-
|
|
1
|
+
import { B as tags, O as indentNodeProp, S as foldInside, h as continuedIndent, r as LRParser, s as LRLanguage, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, y as flatIndent, z as styleTags } from "./dist-CxZvoNao.js";
|
|
2
2
|
var javaHighlighting = styleTags({
|
|
3
3
|
null: tags.null,
|
|
4
4
|
instanceof: tags.operatorKeyword,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as tags, O as indentNodeProp, S as foldInside, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-
|
|
2
|
-
import { i as defineCSSCompletionSource } from "./dist-
|
|
1
|
+
import { B as tags, O as indentNodeProp, S as foldInside, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, u as LanguageSupport, w as foldNodeProp, z as styleTags } from "./dist-CxZvoNao.js";
|
|
2
|
+
import { i as defineCSSCompletionSource } from "./dist-Ci0CXEFt.js";
|
|
3
3
|
var descendantOp = 110, Unit = 1, openArgList = 2, space = [
|
|
4
4
|
9,
|
|
5
5
|
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-CxZvoNao.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-DJ9F1eHs.js";
|
|
3
3
|
export {
|
|
4
4
|
javascript
|
|
5
5
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
var _a;
|
|
2
|
-
import "./purify.es-
|
|
3
|
-
import { c as getEdgeId, g as utils_default } from "./chunk-S3R3BYOJ-
|
|
2
|
+
import "./purify.es-hTCfRGdl.js";
|
|
3
|
+
import { c as getEdgeId, g as utils_default } from "./chunk-S3R3BYOJ-B0UOFJwq.js";
|
|
4
4
|
import { i as log, n as __export, r as __name, t as select_default } from "./src-DbP20yFZ.js";
|
|
5
|
-
import { $ as rgba_default, B as setAccTitle, C as getDiagramTitle, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-
|
|
6
|
-
import { t as channel_default } from "./channel-
|
|
5
|
+
import { $ as rgba_default, B as setAccTitle, C as getDiagramTitle, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-CZYCCtLy.js";
|
|
6
|
+
import { t as channel_default } from "./channel-X3JKk8gE.js";
|
|
7
7
|
import "./chunk-HN2XXSSU-DAhNp1ig.js";
|
|
8
8
|
import "./chunk-CVBHYZKI-BXHgce-x.js";
|
|
9
|
-
import "./chunk-ATLVNIR6-
|
|
9
|
+
import "./chunk-ATLVNIR6-DaOzLLgN.js";
|
|
10
10
|
import "./dist-BjWd_Ei9.js";
|
|
11
|
-
import "./chunk-JA3XYJ7Z-
|
|
12
|
-
import "./chunk-JZLCHNYA-
|
|
13
|
-
import "./chunk-QXUST7PY-
|
|
14
|
-
import { r as render, t as getRegisteredLayoutAlgorithm } from "./chunk-N4CR4FBY-
|
|
11
|
+
import "./chunk-JA3XYJ7Z-BcPEfxk_.js";
|
|
12
|
+
import "./chunk-JZLCHNYA-2bnLL3xL.js";
|
|
13
|
+
import "./chunk-QXUST7PY-Ch6F5Obl.js";
|
|
14
|
+
import { r as render, t as getRegisteredLayoutAlgorithm } from "./chunk-N4CR4FBY-CpZSuGSU.js";
|
|
15
15
|
import { t as getDiagramElement } from "./chunk-55IACEB6-DRsSqxbU.js";
|
|
16
|
-
import { t as setupViewPortForSVG } from "./chunk-QN33PNHL-
|
|
16
|
+
import { t as setupViewPortForSVG } from "./chunk-QN33PNHL-B9p5ojHB.js";
|
|
17
17
|
var parser = (function() {
|
|
18
18
|
var e = /* @__PURE__ */ __name(function(e2, t2, n2, r2) {
|
|
19
19
|
for (n2 || (n2 = {}), r2 = e2.length; r2--; n2[e2[r2]] = t2) ;
|
|
@@ -1,48 +1,10 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
3
3
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
4
|
-
import {
|
|
5
|
-
import { H as string, R as object, _t as createContextScope, at as useControllableState, ct as useId, ft as Primitive, gt as createContext2, ht as createSlottable, i as useFocusGuards, it as StyleNamespace, mt as createSlot, n as hideOthers, ot as Presence, r as FocusScope, st as Portal, t as Combination_default, tt as withFullScreenAsRoot, ut as DismissableLayer, vt as composeEventHandlers } from "./Combination-B--d1_LV.js";
|
|
4
|
+
import { d as createSlot, f as createSlottable, g as Logger, m as useComposedRefs, n as buttonVariants, r as cva, y as cn } from "./button-DNlNlZY_.js";
|
|
6
5
|
import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
if (!t) return "Unknown error";
|
|
10
|
-
if (t instanceof Error) {
|
|
11
|
-
let F = DetailsSchema.safeParse(t.cause);
|
|
12
|
-
return F.success ? F.data.detail : maybeExtractDetails(t.message);
|
|
13
|
-
}
|
|
14
|
-
if (typeof t == "object") {
|
|
15
|
-
let F = DetailsSchema.safeParse(t);
|
|
16
|
-
if (F.success) return F.data.detail;
|
|
17
|
-
let I = ErrorSchema.safeParse(t);
|
|
18
|
-
if (I.success) return I.data.error;
|
|
19
|
-
}
|
|
20
|
-
try {
|
|
21
|
-
return JSON.stringify(t);
|
|
22
|
-
} catch {
|
|
23
|
-
return String(t);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
function maybeExtractDetails(t) {
|
|
27
|
-
let F = safeJSONParse(t);
|
|
28
|
-
if (!F) return t;
|
|
29
|
-
let I = DetailsSchema.safeParse(F);
|
|
30
|
-
if (I.success) return I.data.detail;
|
|
31
|
-
let L = ErrorSchema.safeParse(F);
|
|
32
|
-
return L.success ? L.data.error : t;
|
|
33
|
-
}
|
|
34
|
-
function safeJSONParse(t) {
|
|
35
|
-
try {
|
|
36
|
-
return JSON.parse(t);
|
|
37
|
-
} catch {
|
|
38
|
-
return t;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
var CellNotInitializedError = class extends Error {
|
|
42
|
-
constructor(t = "The cell containing this UI element has not been run yet. Please run the cell first.") {
|
|
43
|
-
super(t), this.name = "CellNotInitializedError";
|
|
44
|
-
}
|
|
45
|
-
}, import_react = /* @__PURE__ */ __toESM(require_react(), 1), import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1), DIALOG_NAME = "Dialog", [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME), [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME), Dialog = (t) => {
|
|
6
|
+
import { $ as StyleNamespace, P as object, R as string, X as withFullScreenAsRoot, at as FocusScope, ct as useId, et as hideOthers, ft as composeEventHandlers, ht as Primitive, it as Portal, lt as Presence, mt as createContextScope, ot as DismissableLayer, pt as createContext2, rt as useFocusGuards, tt as Combination_default, ut as useControllableState } from "./zod-C6UGQ3fz.js";
|
|
7
|
+
var import_react = /* @__PURE__ */ __toESM(require_react(), 1), import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1), DIALOG_NAME = "Dialog", [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME), [DialogProvider, useDialogContext] = createDialogContext(DIALOG_NAME), Dialog = (t) => {
|
|
46
8
|
let { __scopeDialog: F, children: I, open: L, defaultOpen: R, onOpenChange: z, modal: B = true } = t, V = import_react.useRef(null), H = import_react.useRef(null), [U, W] = useControllableState({
|
|
47
9
|
prop: L,
|
|
48
10
|
defaultProp: R ?? false,
|
|
@@ -359,7 +321,45 @@ For more information, see https://radix-ui.com/primitives/docs/components/alert-
|
|
|
359
321
|
var _a;
|
|
360
322
|
document.getElementById((_a = t.current) == null ? void 0 : _a.getAttribute("aria-describedby")) || console.warn(F);
|
|
361
323
|
}, [F, t]), null;
|
|
362
|
-
}, Root2 = AlertDialog$1, Portal2 = AlertDialogPortal$1, Overlay2 = AlertDialogOverlay$1, Content2 = AlertDialogContent$1, Action = AlertDialogAction$1, Cancel = AlertDialogCancel$1, Title2 = AlertDialogTitle$1, Description2 = AlertDialogDescription$1,
|
|
324
|
+
}, Root2 = AlertDialog$1, Portal2 = AlertDialogPortal$1, Overlay2 = AlertDialogOverlay$1, Content2 = AlertDialogContent$1, Action = AlertDialogAction$1, Cancel = AlertDialogCancel$1, Title2 = AlertDialogTitle$1, Description2 = AlertDialogDescription$1, DetailsSchema = object({ detail: string() }), ErrorSchema = object({ error: string() });
|
|
325
|
+
function prettyError(t) {
|
|
326
|
+
if (!t) return "Unknown error";
|
|
327
|
+
if (t instanceof Error) {
|
|
328
|
+
let F = DetailsSchema.safeParse(t.cause);
|
|
329
|
+
return F.success ? F.data.detail : maybeExtractDetails(t.message);
|
|
330
|
+
}
|
|
331
|
+
if (typeof t == "object") {
|
|
332
|
+
let F = DetailsSchema.safeParse(t);
|
|
333
|
+
if (F.success) return F.data.detail;
|
|
334
|
+
let I = ErrorSchema.safeParse(t);
|
|
335
|
+
if (I.success) return I.data.error;
|
|
336
|
+
}
|
|
337
|
+
try {
|
|
338
|
+
return JSON.stringify(t);
|
|
339
|
+
} catch {
|
|
340
|
+
return String(t);
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
function maybeExtractDetails(t) {
|
|
344
|
+
let F = safeJSONParse(t);
|
|
345
|
+
if (!F) return t;
|
|
346
|
+
let I = DetailsSchema.safeParse(F);
|
|
347
|
+
if (I.success) return I.data.detail;
|
|
348
|
+
let L = ErrorSchema.safeParse(F);
|
|
349
|
+
return L.success ? L.data.error : t;
|
|
350
|
+
}
|
|
351
|
+
function safeJSONParse(t) {
|
|
352
|
+
try {
|
|
353
|
+
return JSON.parse(t);
|
|
354
|
+
} catch {
|
|
355
|
+
return t;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
var CellNotInitializedError = class extends Error {
|
|
359
|
+
constructor(t = "The cell containing this UI element has not been run yet. Please run the cell first.") {
|
|
360
|
+
super(t), this.name = "CellNotInitializedError";
|
|
361
|
+
}
|
|
362
|
+
}, import_compiler_runtime$2 = require_compiler_runtime();
|
|
363
363
|
function useRestoreFocus() {
|
|
364
364
|
let t = (0, import_compiler_runtime$2.c)(3), [F, I] = (0, import_react.useState)(null), L;
|
|
365
365
|
t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (L = () => {
|
|
@@ -402,15 +402,15 @@ var AlertDialogContent = import_react.forwardRef((t, F) => {
|
|
|
402
402
|
I[0] === t ? (L = I[1], R = I[2]) : ({ className: L, ...R } = t, I[0] = t, I[1] = L, I[2] = R);
|
|
403
403
|
let z = useRestoreFocus(), B;
|
|
404
404
|
I[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (B = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AlertDialogOverlay, {}), I[3] = B) : B = I[3];
|
|
405
|
+
let V;
|
|
406
|
+
I[4] === L ? V = I[5] : (V = cn("fixed z-50 grid w-full max-w-2xl scale-100 gap-4 border bg-background p-6 opacity-100 shadow-sm animate-in fade-in-90 slide-in-from-bottom-10 sm:rounded-lg sm:zoom-in-90 sm:slide-in-from-bottom-0 md:w-full", L), I[4] = L, I[5] = V);
|
|
405
407
|
let H;
|
|
406
|
-
I[
|
|
407
|
-
let U;
|
|
408
|
-
return I[6] !== R || I[7] !== F || I[8] !== z || I[9] !== H ? (U = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(AlertDialogPortal, { children: [B, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Content2, {
|
|
408
|
+
return I[6] !== R || I[7] !== F || I[8] !== z || I[9] !== V ? (H = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(AlertDialogPortal, { children: [B, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Content2, {
|
|
409
409
|
ref: F,
|
|
410
|
-
className:
|
|
410
|
+
className: V,
|
|
411
411
|
...z,
|
|
412
412
|
...R
|
|
413
|
-
})] }), I[6] = R, I[7] = F, I[8] = z, I[9] =
|
|
413
|
+
})] }), I[6] = R, I[7] = F, I[8] = z, I[9] = V, I[10] = H) : H = I[10], H;
|
|
414
414
|
});
|
|
415
415
|
AlertDialogContent.displayName = Content2.displayName;
|
|
416
416
|
var AlertDialogHeader = (t) => {
|
|
@@ -466,45 +466,45 @@ AlertDialogDescription.displayName = Description2.displayName;
|
|
|
466
466
|
var AlertDialogAction = import_react.forwardRef((t, F) => {
|
|
467
467
|
let I = (0, import_compiler_runtime$1.c)(9), L, R;
|
|
468
468
|
I[0] === t ? (L = I[1], R = I[2]) : ({ className: L, ...R } = t, I[0] = t, I[1] = L, I[2] = R);
|
|
469
|
+
let z;
|
|
470
|
+
I[3] === L ? z = I[4] : (z = cn(buttonVariants(), L), I[3] = L, I[4] = z);
|
|
469
471
|
let B;
|
|
470
|
-
I[
|
|
471
|
-
let H;
|
|
472
|
-
return I[5] !== R || I[6] !== F || I[7] !== B ? (H = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Action, {
|
|
472
|
+
return I[5] !== R || I[6] !== F || I[7] !== z ? (B = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Action, {
|
|
473
473
|
ref: F,
|
|
474
|
-
className:
|
|
474
|
+
className: z,
|
|
475
475
|
...R
|
|
476
|
-
}), I[5] = R, I[6] = F, I[7] =
|
|
476
|
+
}), I[5] = R, I[6] = F, I[7] = z, I[8] = B) : B = I[8], B;
|
|
477
477
|
});
|
|
478
478
|
AlertDialogAction.displayName = Action.displayName;
|
|
479
479
|
var AlertDialogDestructiveAction = import_react.forwardRef((t, F) => {
|
|
480
480
|
let I = (0, import_compiler_runtime$1.c)(9), L, R;
|
|
481
481
|
I[0] === t ? (L = I[1], R = I[2]) : ({ className: L, ...R } = t, I[0] = t, I[1] = L, I[2] = R);
|
|
482
|
+
let z;
|
|
483
|
+
I[3] === L ? z = I[4] : (z = cn(buttonVariants({ variant: "destructive" }), L), I[3] = L, I[4] = z);
|
|
482
484
|
let B;
|
|
483
|
-
I[
|
|
484
|
-
let H;
|
|
485
|
-
return I[5] !== R || I[6] !== F || I[7] !== B ? (H = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Action, {
|
|
485
|
+
return I[5] !== R || I[6] !== F || I[7] !== z ? (B = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Action, {
|
|
486
486
|
ref: F,
|
|
487
|
-
className:
|
|
487
|
+
className: z,
|
|
488
488
|
...R
|
|
489
|
-
}), I[5] = R, I[6] = F, I[7] =
|
|
489
|
+
}), I[5] = R, I[6] = F, I[7] = z, I[8] = B) : B = I[8], B;
|
|
490
490
|
});
|
|
491
491
|
AlertDialogDestructiveAction.displayName = "AlertDialogDestructiveAction";
|
|
492
492
|
var AlertDialogCancel = import_react.forwardRef((t, F) => {
|
|
493
493
|
let I = (0, import_compiler_runtime$1.c)(9), L, R;
|
|
494
494
|
I[0] === t ? (L = I[1], R = I[2]) : ({ className: L, ...R } = t, I[0] = t, I[1] = L, I[2] = R);
|
|
495
|
+
let z;
|
|
496
|
+
I[3] === L ? z = I[4] : (z = cn(buttonVariants({ variant: "secondary" }), "mt-2 sm:mt-0", L), I[3] = L, I[4] = z);
|
|
495
497
|
let B;
|
|
496
|
-
I[
|
|
497
|
-
let H;
|
|
498
|
-
return I[5] !== R || I[6] !== F || I[7] !== B ? (H = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Cancel, {
|
|
498
|
+
return I[5] !== R || I[6] !== F || I[7] !== z ? (B = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Cancel, {
|
|
499
499
|
ref: F,
|
|
500
|
-
className:
|
|
500
|
+
className: z,
|
|
501
501
|
...R
|
|
502
|
-
}), I[5] = R, I[6] = F, I[7] =
|
|
502
|
+
}), I[5] = R, I[6] = F, I[7] = z, I[8] = B) : B = I[8], B;
|
|
503
503
|
});
|
|
504
504
|
AlertDialogCancel.displayName = Cancel.displayName;
|
|
505
505
|
var import_compiler_runtime = require_compiler_runtime();
|
|
506
506
|
const ErrorBanner = (t) => {
|
|
507
|
-
let F = (0, import_compiler_runtime.c)(23), { error: I, className: L, action:
|
|
507
|
+
let F = (0, import_compiler_runtime.c)(23), { error: I, className: L, action: R } = t, [B, V] = (0, import_react.useState)(false);
|
|
508
508
|
if (!I) return null;
|
|
509
509
|
Logger.error(I);
|
|
510
510
|
let H;
|
|
@@ -517,10 +517,10 @@ const ErrorBanner = (t) => {
|
|
|
517
517
|
children: U
|
|
518
518
|
}), F[3] = U, F[4] = G);
|
|
519
519
|
let K;
|
|
520
|
-
F[5] ===
|
|
520
|
+
F[5] === R ? K = F[6] : (K = R && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
521
521
|
className: "flex justify-end",
|
|
522
|
-
children:
|
|
523
|
-
}), F[5] =
|
|
522
|
+
children: R
|
|
523
|
+
}), F[5] = R, F[6] = K);
|
|
524
524
|
let q;
|
|
525
525
|
F[7] !== L || F[8] !== G || F[9] !== K ? (q = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Banner, {
|
|
526
526
|
kind: "danger",
|
|
@@ -595,25 +595,25 @@ var bannerStyle = cva("text-sm p-2 border whitespace-pre-wrap overflow-hidden",
|
|
|
595
595
|
const Banner = (t) => {
|
|
596
596
|
let F = (0, import_compiler_runtime.c)(14), I, L, R, z, B;
|
|
597
597
|
F[0] === t ? (I = F[1], L = F[2], R = F[3], z = F[4], B = F[5]) : ({ kind: z, clickable: R, className: L, children: I, ...B } = t, F[0] = t, F[1] = I, F[2] = L, F[3] = R, F[4] = z, F[5] = B);
|
|
598
|
-
let
|
|
599
|
-
F[6] !== L || F[7] !== R || F[8] !== z ? (
|
|
598
|
+
let V;
|
|
599
|
+
F[6] !== L || F[7] !== R || F[8] !== z ? (V = cn(bannerStyle({
|
|
600
600
|
kind: z,
|
|
601
601
|
clickable: R
|
|
602
|
-
}), L), F[6] = L, F[7] = R, F[8] = z, F[9] =
|
|
603
|
-
let
|
|
604
|
-
return F[10] !== I || F[11] !== B || F[12] !==
|
|
605
|
-
className:
|
|
602
|
+
}), L), F[6] = L, F[7] = R, F[8] = z, F[9] = V) : V = F[9];
|
|
603
|
+
let H;
|
|
604
|
+
return F[10] !== I || F[11] !== B || F[12] !== V ? (H = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
605
|
+
className: V,
|
|
606
606
|
...B,
|
|
607
607
|
children: I
|
|
608
|
-
}), F[10] = I, F[11] = B, F[12] =
|
|
608
|
+
}), F[10] = I, F[11] = B, F[12] = V, F[13] = H) : H = F[13], H;
|
|
609
609
|
};
|
|
610
610
|
export {
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
611
|
+
Content as a,
|
|
612
|
+
Root as c,
|
|
613
|
+
prettyError as i,
|
|
614
614
|
ErrorBanner as n,
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
615
|
+
Overlay as o,
|
|
616
|
+
CellNotInitializedError as r,
|
|
617
|
+
Portal$1 as s,
|
|
618
618
|
Banner as t
|
|
619
619
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
3
3
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
4
|
-
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-
|
|
5
|
-
import { t as Check } from "./check-
|
|
6
|
-
import {
|
|
4
|
+
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-B7781WJ3.js";
|
|
5
|
+
import { t as Check } from "./check-CWUkiHmb.js";
|
|
6
|
+
import { h as Events, y as cn } from "./button-DNlNlZY_.js";
|
|
7
7
|
import { t as require_jsx_runtime } from "./jsx-runtime-9hcJiI23.js";
|
|
8
|
-
import { t as Tooltip } from "./tooltip-
|
|
9
|
-
import { $ as ViewPlugin, A as indentString, At as Prec, B as tags, Bt as combineConfig, C as foldKeymap, Ct as ChangeSet, D as getIndentation, Dt as EditorState, E as getIndentUnit, Et as EditorSelection, F as syntaxHighlighting, Ft as StateField, H as NodeProp, Ht as findClusterBreak, I as syntaxTree, It as Text, Lt as Transaction, Mt as RangeSetBuilder, N as matchBrackets, Ot as Facet, Pt as StateEffect, Rt as codePointAt, St as ChangeDesc, Ut as fromCodePoint, Vt as countColumn, X as Direction, Y as Decoration, Z as EditorView, _t as showDialog, a as HighlightStyle, bt as crelt, ct as highlightActiveLineGutter, dt as keymap, et as WidgetType, ft as lineNumbers, g as defaultHighlightStyle, gt as runScopeHandlers, ht as rectangularSelection, it as getPanel, j as indentUnit, jt as RangeSet, k as indentOnInput, lt as highlightSpecialChars, mt as placeholder, nt as drawSelection, o as IndentContext, p as bracketMatching, pt as logException, rt as dropCursor, st as highlightActiveLine, tt as crosshairCursor, ut as hoverTooltip, vt as showPanel, wt as CharCategory, x as foldGutter, xt as Annotation, zt as codePointSize } from "./dist-
|
|
10
|
-
import { a as closeBracketsKeymap, c as completionKeymap, i as closeBrackets, r as autocompletion } from "./dist-
|
|
8
|
+
import { t as Tooltip } from "./tooltip-BXEpXV3R.js";
|
|
9
|
+
import { $ as ViewPlugin, A as indentString, At as Prec, B as tags, Bt as combineConfig, C as foldKeymap, Ct as ChangeSet, D as getIndentation, Dt as EditorState, E as getIndentUnit, Et as EditorSelection, F as syntaxHighlighting, Ft as StateField, H as NodeProp, Ht as findClusterBreak, I as syntaxTree, It as Text, Lt as Transaction, Mt as RangeSetBuilder, N as matchBrackets, Ot as Facet, Pt as StateEffect, Rt as codePointAt, St as ChangeDesc, Ut as fromCodePoint, Vt as countColumn, X as Direction, Y as Decoration, Z as EditorView, _t as showDialog, a as HighlightStyle, bt as crelt, ct as highlightActiveLineGutter, dt as keymap, et as WidgetType, ft as lineNumbers, g as defaultHighlightStyle, gt as runScopeHandlers, ht as rectangularSelection, it as getPanel, j as indentUnit, jt as RangeSet, k as indentOnInput, lt as highlightSpecialChars, mt as placeholder, nt as drawSelection, o as IndentContext, p as bracketMatching, pt as logException, rt as dropCursor, st as highlightActiveLine, tt as crosshairCursor, ut as hoverTooltip, vt as showPanel, wt as CharCategory, x as foldGutter, xt as Annotation, zt as codePointSize } from "./dist-CxZvoNao.js";
|
|
10
|
+
import { a as closeBracketsKeymap, c as completionKeymap, i as closeBrackets, r as autocompletion } from "./dist-DGNtjMZu.js";
|
|
11
11
|
var import_compiler_runtime = require_compiler_runtime(), import_react = /* @__PURE__ */ __toESM(require_react(), 1), import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1);
|
|
12
12
|
const CopyClipboardIcon = (e6) => {
|
|
13
13
|
let x = (0, import_compiler_runtime.c)(14), { value: S, className: k, buttonClassName: j, tooltip: M, toastTitle: N, ariaLabel: P } = e6, [F, I] = (0, import_react.useState)(false), L;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { B as tags, Et as EditorSelection, I as syntaxTree, J as parseMixed, O as indentNodeProp, R as Tag, S as foldInside, Z as EditorView, f as StreamLanguage, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, z as styleTags } from "./dist-
|
|
2
|
-
import { f as snippetCompletion, l as ifNotIn, s as completeFromList } from "./dist-
|
|
3
|
-
import { a as PLSQL, f as sql, l as StandardSQL, t as Cassandra } from "./dist-
|
|
4
|
-
import { a as markdown } from "./dist-
|
|
5
|
-
import { n as html, r as htmlCompletionSource } from "./dist-
|
|
6
|
-
import { r as cssLanguage, t as css } from "./dist-
|
|
7
|
-
import { c as typescriptLanguage, n as javascript, r as javascriptLanguage, u as parser$1 } from "./dist-
|
|
8
|
-
import { r as python } from "./dist-
|
|
9
|
-
import { t as stex } from "./stex-
|
|
10
|
-
import { t as cpp } from "./dist-
|
|
11
|
-
import { t as go } from "./dist-
|
|
12
|
-
import { t as java } from "./dist-
|
|
13
|
-
import { n as jinja } from "./dist-
|
|
14
|
-
import { t as json } from "./dist-
|
|
15
|
-
import { t as less } from "./dist-
|
|
16
|
-
import { n as liquid } from "./dist-
|
|
17
|
-
import { t as php } from "./dist-
|
|
18
|
-
import { t as rust } from "./dist-
|
|
19
|
-
import { t as sass } from "./dist-
|
|
20
|
-
import { t as wast } from "./dist-
|
|
21
|
-
import { r as xml } from "./dist-
|
|
22
|
-
import { t as yaml } from "./dist
|
|
1
|
+
import { B as tags, Et as EditorSelection, I as syntaxTree, J as parseMixed, O as indentNodeProp, R as Tag, S as foldInside, Z as EditorView, f as StreamLanguage, h as continuedIndent, n as ExternalTokenizer, r as LRParser, s as LRLanguage, t as ContextTracker, u as LanguageSupport, v as delimitedIndent, w as foldNodeProp, z as styleTags } from "./dist-CxZvoNao.js";
|
|
2
|
+
import { f as snippetCompletion, l as ifNotIn, s as completeFromList } from "./dist-DGNtjMZu.js";
|
|
3
|
+
import { a as PLSQL, f as sql, l as StandardSQL, t as Cassandra } from "./dist-DpkJHKB8.js";
|
|
4
|
+
import { a as markdown } from "./dist-DbnBiLNH.js";
|
|
5
|
+
import { n as html, r as htmlCompletionSource } from "./dist-B43sbpd0.js";
|
|
6
|
+
import { r as cssLanguage, t as css } from "./dist-Ci0CXEFt.js";
|
|
7
|
+
import { c as typescriptLanguage, n as javascript, r as javascriptLanguage, u as parser$1 } from "./dist-DJ9F1eHs.js";
|
|
8
|
+
import { r as python } from "./dist-DAfcmt-d.js";
|
|
9
|
+
import { t as stex } from "./stex-D887Ylhf.js";
|
|
10
|
+
import { t as cpp } from "./dist-CcMfr7jD.js";
|
|
11
|
+
import { t as go } from "./dist-VqF3W_ue.js";
|
|
12
|
+
import { t as java } from "./dist-ej6AQKaS.js";
|
|
13
|
+
import { n as jinja } from "./dist-CIB8w0Fl.js";
|
|
14
|
+
import { t as json } from "./dist-DJKubHDd.js";
|
|
15
|
+
import { t as less } from "./dist-m9tsXsFf.js";
|
|
16
|
+
import { n as liquid } from "./dist-DFK94vuS.js";
|
|
17
|
+
import { t as php } from "./dist-DLafRu9s.js";
|
|
18
|
+
import { t as rust } from "./dist-CNF0QBLR.js";
|
|
19
|
+
import { t as sass } from "./dist-DD_cYHOl.js";
|
|
20
|
+
import { t as wast } from "./dist-DlSUOIm9.js";
|
|
21
|
+
import { r as xml } from "./dist-BjDuO5JW.js";
|
|
22
|
+
import { t as yaml } from "./dist--6TSlp8H.js";
|
|
23
23
|
import { t as apl } from "./apl-Oc3bL26_.js";
|
|
24
24
|
import { t as asciiArmor } from "./asciiarmor-DTbPh2VI.js";
|
|
25
25
|
import { t as asn1 } from "./asn1-CGhwu1Ri.js";
|
|
@@ -102,7 +102,7 @@ import { t as xQuery } from "./xquery-CJIPsC0g.js";
|
|
|
102
102
|
import { t as yacas } from "./yacas-8f2Vjiiz.js";
|
|
103
103
|
import { t as z80 } from "./z80-s5Xk2hCP.js";
|
|
104
104
|
import { n as msgenny, r as xu, t as mscgen } from "./mscgen-D8TF_Hei.js";
|
|
105
|
-
import { t as vue } from "./dist-
|
|
105
|
+
import { t as vue } from "./dist-LhQNUe5A.js";
|
|
106
106
|
var strContent = 63, strDollarBrace = 64, strEnd = 65, escapeSequence = 66, indStrContent = 67, indStrDollarBrace = 68, indStrEnd = 69, indEscapeSequence = 70, quote = 34, backslack = 92, braceL = 123, dollar = 36, apostrophe = 39, scanString = /* @__PURE__ */ new ExternalTokenizer((y) => {
|
|
107
107
|
for (let G = false, K = 0; ; K++) {
|
|
108
108
|
let { next: J } = y;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
var _a;
|
|
2
|
-
import "./purify.es-
|
|
3
|
-
import { c as getEdgeId, g as utils_default } from "./chunk-S3R3BYOJ-
|
|
2
|
+
import "./purify.es-hTCfRGdl.js";
|
|
3
|
+
import { c as getEdgeId, g as utils_default } from "./chunk-S3R3BYOJ-B0UOFJwq.js";
|
|
4
4
|
import { i as log, r as __name, t as select_default } from "./src-DbP20yFZ.js";
|
|
5
|
-
import { $ as rgba_default, B as setAccTitle, C as getDiagramTitle, H as setConfig2, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, s as common_default, u as defaultConfig2, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-
|
|
6
|
-
import { t as channel_default } from "./channel-
|
|
5
|
+
import { $ as rgba_default, B as setAccTitle, C as getDiagramTitle, H as setConfig2, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, s as common_default, u as defaultConfig2, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-CZYCCtLy.js";
|
|
6
|
+
import { t as channel_default } from "./channel-X3JKk8gE.js";
|
|
7
7
|
import { n as load, t as JSON_SCHEMA } from "./chunk-MI3HLSF2-AKwFNP3m.js";
|
|
8
8
|
import "./chunk-HN2XXSSU-DAhNp1ig.js";
|
|
9
9
|
import "./chunk-CVBHYZKI-BXHgce-x.js";
|
|
10
|
-
import "./chunk-ATLVNIR6-
|
|
10
|
+
import "./chunk-ATLVNIR6-DaOzLLgN.js";
|
|
11
11
|
import "./dist-BjWd_Ei9.js";
|
|
12
|
-
import "./chunk-JA3XYJ7Z-
|
|
13
|
-
import { o as isValidShape } from "./chunk-JZLCHNYA-
|
|
14
|
-
import "./chunk-QXUST7PY-
|
|
15
|
-
import { r as render, t as getRegisteredLayoutAlgorithm } from "./chunk-N4CR4FBY-
|
|
12
|
+
import "./chunk-JA3XYJ7Z-BcPEfxk_.js";
|
|
13
|
+
import { o as isValidShape } from "./chunk-JZLCHNYA-2bnLL3xL.js";
|
|
14
|
+
import "./chunk-QXUST7PY-Ch6F5Obl.js";
|
|
15
|
+
import { r as render, t as getRegisteredLayoutAlgorithm } from "./chunk-N4CR4FBY-CpZSuGSU.js";
|
|
16
16
|
import { t as getIconStyles } from "./chunk-FMBD7UC4-BjIaI-XO.js";
|
|
17
17
|
import { t as getDiagramElement } from "./chunk-55IACEB6-DRsSqxbU.js";
|
|
18
|
-
import { t as setupViewPortForSVG } from "./chunk-QN33PNHL-
|
|
18
|
+
import { t as setupViewPortForSVG } from "./chunk-QN33PNHL-B9p5ojHB.js";
|
|
19
19
|
var MERMAID_DOM_ID_PREFIX = "flowchart-", FlowDB = (_a = class {
|
|
20
20
|
constructor() {
|
|
21
21
|
this.vertexCounter = 0, this.config = getConfig2(), this.vertices = /* @__PURE__ */ new Map(), this.edges = [], this.classes = /* @__PURE__ */ new Map(), this.subGraphs = [], this.subGraphLookup = /* @__PURE__ */ new Map(), this.tooltips = /* @__PURE__ */ new Map(), this.subCount = 0, this.firstGraphFlag = true, this.secCount = -1, this.posCrossRef = [], this.funs = [], this.setAccTitle = setAccTitle, this.setAccDescription = setAccDescription, this.setDiagramTitle = setDiagramTitle, this.getAccTitle = getAccTitle, this.getAccDescription = getAccDescription, this.getDiagramTitle = getDiagramTitle, this.funs.push(this.setupToolTips.bind(this)), this.addVertex = this.addVertex.bind(this), this.firstGraph = this.firstGraph.bind(this), this.setDirection = this.setDirection.bind(this), this.addSubGraph = this.addSubGraph.bind(this), this.addLink = this.addLink.bind(this), this.setLink = this.setLink.bind(this), this.updateLink = this.updateLink.bind(this), this.addClass = this.addClass.bind(this), this.setClass = this.setClass.bind(this), this.destructLink = this.destructLink.bind(this), this.setClickEvent = this.setClickEvent.bind(this), this.setTooltip = this.setTooltip.bind(this), this.updateLinkInterpolate = this.updateLinkInterpolate.bind(this), this.setClickFun = this.setClickFun.bind(this), this.bindFunctions = this.bindFunctions.bind(this), this.lex = { firstGraph: this.firstGraph.bind(this) }, this.clear(), this.setGen("gen-2");
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
|
|
2
|
-
import "./purify.es-
|
|
2
|
+
import "./purify.es-hTCfRGdl.js";
|
|
3
3
|
import { t as linear } from "./linear-v57w-fIs.js";
|
|
4
4
|
import { n as time, o as min, s as max } from "./time-Bdnxi22U.js";
|
|
5
5
|
import "./defaultLocale-qS7DaAmi.js";
|
|
6
6
|
import { C as timeMinute, N as millisecond, T as second, c as timeMonth, d as timeMonday, f as timeSaturday, g as timeWednesday, h as timeTuesday, m as timeThursday, p as timeSunday, t as timeFormat, u as timeFriday, v as timeDay, x as timeHour } from "./defaultLocale-Bxoo2-30.js";
|
|
7
|
-
import { g as utils_default } from "./chunk-S3R3BYOJ-
|
|
7
|
+
import { g as utils_default } from "./chunk-S3R3BYOJ-B0UOFJwq.js";
|
|
8
8
|
import { s as hcl_default } from "./timer-BPKOAfmx.js";
|
|
9
9
|
import { i as log, o as require_dayjs_min, r as __name, t as select_default } from "./src-DbP20yFZ.js";
|
|
10
|
-
import { B as setAccTitle, C as getDiagramTitle, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, c as configureSvgSize, s as common_default, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-
|
|
10
|
+
import { B as setAccTitle, C as getDiagramTitle, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, c as configureSvgSize, s as common_default, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-CZYCCtLy.js";
|
|
11
11
|
import { t as require_dist } from "./dist-BjWd_Ei9.js";
|
|
12
12
|
function identity_default(e) {
|
|
13
13
|
return e;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./chunk-TCCFYFTB-
|
|
2
|
-
import "./main-
|
|
3
|
-
import { n as createGitGraphServices, t as GitGraphModule } from "./chunk-4F5CHEZ2-
|
|
1
|
+
import "./chunk-TCCFYFTB-Clbl-fTg.js";
|
|
2
|
+
import "./main-XimWhSi_.js";
|
|
3
|
+
import { n as createGitGraphServices, t as GitGraphModule } from "./chunk-4F5CHEZ2-D5mClyDv.js";
|
|
4
4
|
export {
|
|
5
5
|
createGitGraphServices
|
|
6
6
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
var _a;
|
|
2
|
-
import "./chunk-TCCFYFTB-
|
|
3
|
-
import "./main-
|
|
4
|
-
import "./purify.es-
|
|
5
|
-
import { g as utils_default, i as cleanAndMerge, m as random } from "./chunk-S3R3BYOJ-
|
|
2
|
+
import "./chunk-TCCFYFTB-Clbl-fTg.js";
|
|
3
|
+
import "./main-XimWhSi_.js";
|
|
4
|
+
import "./purify.es-hTCfRGdl.js";
|
|
5
|
+
import { g as utils_default, i as cleanAndMerge, m as random } from "./chunk-S3R3BYOJ-B0UOFJwq.js";
|
|
6
6
|
import { i as log, r as __name, t as select_default } from "./src-DbP20yFZ.js";
|
|
7
|
-
import { B as setAccTitle, C as getDiagramTitle, K as setupGraphViewbox2, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, d as defaultConfig_default, s as common_default, v as getAccTitle, y as getConfig, z as setAccDescription } from "./chunk-ABZYJK2D-
|
|
7
|
+
import { B as setAccTitle, C as getDiagramTitle, K as setupGraphViewbox2, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, d as defaultConfig_default, s as common_default, v as getAccTitle, y as getConfig, z as setAccDescription } from "./chunk-ABZYJK2D-CZYCCtLy.js";
|
|
8
8
|
import "./dist-BjWd_Ei9.js";
|
|
9
|
-
import "./chunk-UMXZTB3W-
|
|
10
|
-
import "./chunk-4F5CHEZ2-
|
|
11
|
-
import "./chunk-FRFDVMJY-
|
|
12
|
-
import "./chunk-SJTYNZTY-
|
|
13
|
-
import "./chunk-PL6DKKU2-
|
|
14
|
-
import "./chunk-TQ3KTPDO-
|
|
15
|
-
import "./chunk-B2363JML-
|
|
9
|
+
import "./chunk-UMXZTB3W-D-A834Bq.js";
|
|
10
|
+
import "./chunk-4F5CHEZ2-D5mClyDv.js";
|
|
11
|
+
import "./chunk-FRFDVMJY-DnEvEFRR.js";
|
|
12
|
+
import "./chunk-SJTYNZTY-BsBZnJUj.js";
|
|
13
|
+
import "./chunk-PL6DKKU2-DnId6G-x.js";
|
|
14
|
+
import "./chunk-TQ3KTPDO-CFkSQ30e.js";
|
|
15
|
+
import "./chunk-B2363JML-Br0eA2T3.js";
|
|
16
16
|
import { t as populateCommonDb } from "./chunk-4BX2VUAB-C2skOn1Z.js";
|
|
17
|
-
import { t as parse } from "./mermaid-parser.core-
|
|
17
|
+
import { t as parse } from "./mermaid-parser.core-ntCgyx0x.js";
|
|
18
18
|
import { t as ImperativeState } from "./chunk-QZHKN3VN-BK9tlbfw.js";
|
|
19
19
|
var commitType = {
|
|
20
20
|
NORMAL: 0,
|