@marimo-team/islands 0.25.1-dev90 → 0.25.2-dev0
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-KVhjDMSe.js → ConnectedDataExplorerComponent-C2d9ysUI.js} +8 -9
- package/dist/{ErrorBoundary-D7_peFI9.js → ErrorBoundary-2usl042r.js} +1 -1
- package/dist/{ImageComparisonComponent-Dlm5aWnH.js → ImageComparisonComponent-Cpfz30OZ.js} +51 -52
- package/dist/{abnfDiagram-VCTEODGH-CpN0FRda.js → abnfDiagram-VCTEODGH-AFhOQTt8.js} +3 -3
- package/dist/{architectureDiagram-5GKGNRK7-DDyj5SRB.js → architectureDiagram-5GKGNRK7-BngksAAQ.js} +5 -5
- package/dist/{blockDiagram-I7D4REHJ-BbXEXJRu.js → blockDiagram-I7D4REHJ-CvBmppdy.js} +9 -9
- package/dist/{c4Diagram-7LVT6UL2-DcLsbQmR.js → c4Diagram-7LVT6UL2-EceL4_jH.js} +7 -7
- package/dist/{cells-DYIkSxs6.js → cells-Cv93oav_.js} +4124 -4151
- package/dist/{channel-B5XnTarr.js → channel-z7HZXHwv.js} +1 -1
- package/dist/{chat-ui-BXj3uYjy.js → chat-ui-fVyVOhYN.js} +47 -47
- package/dist/{chunk-4HAMMTFA-D2qv8E0X.js → chunk-4HAMMTFA-BPTTOOC5.js} +5 -5
- package/dist/{chunk-75Z2AOVW-5_HsvXwr.js → chunk-75Z2AOVW-C4AOleKf.js} +1 -1
- package/dist/{chunk-DU6HZSFF-BUgAHvnM.js → chunk-DU6HZSFF-1TwWR6gh.js} +1 -1
- package/dist/{chunk-F27PBJKO-DHmYWZXr.js → chunk-F27PBJKO-DMI1PBe4.js} +1 -1
- package/dist/{chunk-GMAD6QVW-Czynz8aA.js → chunk-GMAD6QVW-vStrMz2P.js} +3 -3
- package/dist/{chunk-GVQU2GXP-yQEdulRS.js → chunk-GVQU2GXP-2HwWgs4u.js} +2 -2
- package/dist/{chunk-IMKFNOWR-BfwTebD0.js → chunk-IMKFNOWR-UOVZuZVn.js} +5 -5
- package/dist/{chunk-L3NEJ4N5-DwRWnDDK.js → chunk-L3NEJ4N5-RhC7i0I2.js} +5 -5
- package/dist/{chunk-OSK3NFVY-BBKU_Ign.js → chunk-OSK3NFVY-CZV09N-U.js} +6 -6
- package/dist/{chunk-P2QGCYS3-C0iGU29N.js → chunk-P2QGCYS3-0TAWai9C.js} +1 -1
- package/dist/{chunk-POPQ4Y6H-BCbS3Ozc.js → chunk-POPQ4Y6H-Cc3_56GX.js} +1 -1
- package/dist/{chunk-PWAF6VOD-CTFCL0jI.js → chunk-PWAF6VOD-lNxB9k8z.js} +1 -1
- package/dist/{chunk-SHT3W25Y-BspJEJ5H.js → chunk-SHT3W25Y-CrEPyWy1.js} +7 -7
- package/dist/{chunk-SVP7TREG-DX3rFNTe.js → chunk-SVP7TREG-uIyyySp6.js} +2 -2
- package/dist/{chunk-TICWLB2K-fVF7Uujg.js → chunk-TICWLB2K-DdXM3eg6.js} +5 -5
- package/dist/classDiagram-ZZMXUADV-BiATbBE4.js +30 -0
- package/dist/classDiagram-v2-VYDZK3BY-JnH97GYw.js +30 -0
- package/dist/{code-visibility-Cv2cG11L.js → code-visibility-rUDTB2Ce.js} +17 -17
- package/dist/{common-DVOYsne0.js → common-BVErJKjc.js} +6726 -6430
- package/dist/{cynefinDiagram-5FMLGOSQ-CFQrqzSX.js → cynefinDiagram-5FMLGOSQ-zknaAsGy.js} +3 -3
- package/dist/{dagre-GXQ25YYZ-xHNAUTyG.js → dagre-GXQ25YYZ-BhMOoMGJ.js} +10 -10
- package/dist/{data-grid-overlay-editor--Egdzm1k.js → data-grid-overlay-editor-7ANmo9c-.js} +1 -1
- package/dist/{diagram-S7CK7UJ4-Bt1rPbAx.js → diagram-S7CK7UJ4-V5-Z-EDY.js} +4 -4
- package/dist/{diagram-UQ7AKVKN-D1sq5FoZ.js → diagram-UQ7AKVKN-qw8AjDal.js} +3 -3
- package/dist/{diagram-VSXAHHWV-BKpmG23x.js → diagram-VSXAHHWV-CR7BJygZ.js} +2 -2
- package/dist/{diagram-VX7I27RA-BMwGFVD6.js → diagram-VX7I27RA-DfuqFb1E.js} +5 -5
- package/dist/{diagram-Z3DM3KII--KLDR9Pl.js → diagram-Z3DM3KII-DpWwlYZB.js} +3 -3
- package/dist/{dist-BaHjhkpZ.js → dist-CcyKTBTF.js} +1 -1
- package/dist/{dropdown-menu-CZgjYSAh.js → dropdown-menu-CZy06LAq.js} +12 -12
- package/dist/{ebnfDiagram-PWID7BFC-WnG4cvSQ.js → ebnfDiagram-PWID7BFC-C20OnNMZ.js} +3 -3
- package/dist/{erDiagram-RLTQ6QDP-DhzKiYHc.js → erDiagram-RLTQ6QDP-DBXLWO9v.js} +12 -12
- package/dist/{error-entries-C0NsUqXl.js → error-entries-DLl0XqoW.js} +18 -18
- package/dist/{feedback-button-WVepiUsI.js → feedback-button-K1inEVfd.js} +19 -19
- package/dist/flowDiagram-HODETNUW-DL52nMkt.js +16 -0
- package/dist/{formats-BR5iGb4s.js → formats-Cl_67ghI.js} +2 -2
- package/dist/{ganttDiagram-EL5Y4UJY-DbzEBLbl.js → ganttDiagram-EL5Y4UJY-cRRaDt88.js} +2 -2
- package/dist/{gitGraphDiagram-WWUBYQGX-BMf0iKi1.js → gitGraphDiagram-WWUBYQGX-Pox5k9-Y.js} +2 -2
- package/dist/{glide-data-editor-S0WTUxUP.js → glide-data-editor-D2fDO5aG.js} +5 -5
- package/dist/{globals-B0NGznoE.js → globals-NylFP0CX.js} +1 -1
- package/dist/{html-to-image-CeYYvQNb.js → html-to-image-CmkwfNkf.js} +32 -31
- package/dist/{infoDiagram-27XIBGKW-BagtCX_5.js → infoDiagram-27XIBGKW-ntpxMfrq.js} +2 -2
- package/dist/{ishikawaDiagram-5VMMS53U-DByDehYy.js → ishikawaDiagram-5VMMS53U-BllIlHE5.js} +3 -3
- package/dist/{journeyDiagram-3NMN7TZE-D2LcKDUO.js → journeyDiagram-3NMN7TZE-EPJDPlt0.js} +2 -2
- package/dist/{kanban-definition-UXKFOSKX-BxwkbBI_.js → kanban-definition-UXKFOSKX-GYtNMjtS.js} +9 -9
- package/dist/{katex-C6D4cX_N.js → katex-BNCmKUol.js} +983 -1120
- package/dist/{useNumberFormatter-BfDpa21j.js → label-BslhXqL6.js} +108 -81
- package/dist/{loader-D2W4oM-3.js → loader-DEZSzvma.js} +253 -248
- package/dist/main.js +670 -661
- package/dist/{mermaid-DPNuhemn.js → mermaid-Dnzoxjt1.js} +49 -49
- package/dist/{mhchem-DWCF06w9.js → mhchem-BEc7A1or.js} +1 -1
- package/dist/{mindmap-definition-YA3MSWOX-Cgvojw3y.js → mindmap-definition-YA3MSWOX-Cth76xgH.js} +11 -11
- package/dist/{number-overlay-editor-5uyVnQ6u.js → number-overlay-editor-B4XyCoMu.js} +1 -1
- package/dist/{pegDiagram-XKGWAZYB-DahHhYyN.js → pegDiagram-XKGWAZYB-Cu4uOXii.js} +3 -3
- package/dist/{pieDiagram-E7YTZNPT-CCtX0oCK.js → pieDiagram-E7YTZNPT-Bh3eDa9s.js} +3 -3
- package/dist/{process-output-BCTjlyuH.js → process-output-CYN5E-iO.js} +2 -2
- package/dist/{quadrantDiagram-AXDQQJYC-DftINo6g.js → quadrantDiagram-AXDQQJYC--kqzFC3w.js} +1 -1
- package/dist/{railroadDiagram-O6MQD6OU-Du5NsPUb.js → railroadDiagram-O6MQD6OU-DG-M6Rnc.js} +3 -3
- package/dist/{react-vega-5AcMW8gG.js → react-vega-ewj7q_U5.js} +1 -1
- package/dist/{requirementDiagram-BXWQKSXE-0pmmxL6_.js → requirementDiagram-BXWQKSXE-DCwsThh0.js} +11 -11
- package/dist/{reveal-component-CKpvbtfe.js → reveal-component-Dtm5GH3p.js} +744 -743
- package/dist/{sankeyDiagram-P5KCCOFB-CDKR5TJH.js → sankeyDiagram-P5KCCOFB-BdzhT0BM.js} +1 -1
- package/dist/{sequenceDiagram-WJ2MYXX4-DB-ChWwU.js → sequenceDiagram-WJ2MYXX4-CbXB1_PU.js} +4 -4
- package/dist/{spec-CAYwFeV6.js → spec-DQBRQSba.js} +123 -102
- package/dist/{stateDiagram-D77RDMKH-orN6AwMx.js → stateDiagram-D77RDMKH-A-Zf3Sb2.js} +13 -13
- package/dist/stateDiagram-v2-MP3YSRHH-D9YMnUGx.js +30 -0
- package/dist/style.css +1 -1
- package/dist/{swimlanes-42K2YHIH-BkSDcqDT.js → swimlanes-42K2YHIH-B_pMf0J4.js} +10 -10
- package/dist/swimlanesDiagram-VR7AAH4N-Ctgy-yGP.js +30 -0
- package/dist/{timeline-definition-24CTP7MA-BuqJUIRZ.js → timeline-definition-24CTP7MA-DTXFjTTM.js} +3 -3
- package/dist/{toDate-WXg1yLcI.js → toDate-C67bxMWn.js} +139 -111
- package/dist/{useDateFormatter-BRTPsUK7.js → useDateFormatter-BXQGu86d.js} +28 -49
- package/dist/{vega-component-D0QXopU8.js → vega-component-tFOzgarw.js} +12 -12
- package/dist/{vega-embed-container-CbnTccZi.js → vega-embed-container-sSR5hAsy.js} +2 -2
- package/dist/{vega-loader.browser-D95WfUcj.js → vega-loader.browser-DNST6uVf.js} +2 -2
- package/dist/{vennDiagram-4TSXK5OY-CTUlJ2PK.js → vennDiagram-4TSXK5OY-BPHjZo0R.js} +3 -3
- package/dist/{wardleyDiagram-VM6X3IG4-3evLUb0M.js → wardleyDiagram-VM6X3IG4-6fTLYBuD.js} +3 -3
- package/dist/{xychartDiagram-S5SC5T6Z-DL2E3K8-.js → xychartDiagram-S5SC5T6Z-BYjwjrzE.js} +5 -5
- package/package.json +1 -2
- package/src/__mocks__/common.ts +3 -3
- package/src/__tests__/CellStatus.test.tsx +1 -1
- package/src/__tests__/setup.ts +7 -7
- package/src/components/app-config/ai-config.tsx +2 -0
- package/src/components/app-config/optional-features.tsx +1 -1
- package/src/components/chat/chat-panel.tsx +19 -8
- package/src/components/data-table/TableTopBar.tsx +2 -2
- package/src/components/data-table/__tests__/export-actions.test.tsx +662 -0
- package/src/components/data-table/charts/__tests__/chart-panel.test.tsx +286 -0
- package/src/components/data-table/charts/charts.tsx +26 -13
- package/src/components/data-table/column-summary/chart-spec-model.tsx +4 -4
- package/src/components/data-table/data-table.tsx +1 -1
- package/src/components/data-table/export-actions.tsx +642 -176
- package/src/components/data-table/schemas.ts +25 -3
- package/src/components/dependency-graph/elements.ts +2 -2
- package/src/components/editor/__tests__/package-alert.test.tsx +140 -0
- package/src/components/editor/actions/__tests__/pair-with-agent.test.tsx +107 -0
- package/src/components/editor/actions/pair-with-agent.tsx +119 -0
- package/src/components/editor/actions/useNotebookActions.tsx +2 -1
- package/src/components/editor/ai/add-cell-with-ai.tsx +2 -0
- package/src/components/editor/ai/staged-cell-submission.ts +2 -2
- package/src/components/editor/ai/transport/chat-transport.tsx +1 -1
- package/src/components/editor/chrome/components/contribute-snippet-button.tsx +6 -1
- package/src/components/editor/connections/database/as-code.ts +44 -44
- package/src/components/editor/connections/storage/as-code.ts +3 -3
- package/src/components/editor/file-tree/requesting-tree.tsx +16 -13
- package/src/components/editor/navigation/clipboard.ts +2 -2
- package/src/components/editor/notebook-cell.tsx +2 -2
- package/src/components/editor/output/MarimoTracebackOutput.tsx +1 -1
- package/src/components/editor/output/VideoOutput.tsx +1 -1
- package/src/components/editor/output/ansi-reduce.ts +21 -17
- package/src/components/editor/output/console/ConsoleOutput.tsx +3 -3
- package/src/components/editor/output/console/__tests__/ConsoleOutput.test.tsx +59 -0
- package/src/components/editor/output/console/text-rendering.tsx +3 -1
- package/src/components/editor/package-alert.tsx +20 -7
- package/src/components/home/components.tsx +1 -0
- package/src/components/markdown/markdown-renderer.css +1 -1
- package/src/components/pages/run-page.tsx +1 -0
- package/src/components/slides/__tests__/minimap-actions.test.tsx +7 -7
- package/src/components/slides/__tests__/minimap.test.ts +12 -12
- package/src/components/slides/__tests__/slide-scroll-hint.test.tsx +8 -8
- package/src/components/static-html/__tests__/share-modal.test.tsx +154 -0
- package/src/components/static-html/__tests__/stage-for-publish.test.ts +111 -0
- package/src/components/static-html/share-modal.tsx +114 -144
- package/src/components/static-html/stage-for-publish.ts +56 -0
- package/src/components/static-html/static-banner.tsx +2 -2
- package/src/components/ui/links.tsx +6 -1
- package/src/components/ui/typography.tsx +16 -8
- package/src/core/ai/context/__tests__/registry.test.ts +31 -28
- package/src/core/ai/context/providers/cell-output.ts +8 -8
- package/src/core/ai/context/providers/datasource.ts +10 -7
- package/src/core/ai/context/providers/error.ts +7 -7
- package/src/core/ai/context/providers/file.ts +8 -8
- package/src/core/ai/context/providers/tables.ts +7 -7
- package/src/core/ai/context/providers/variable.ts +7 -7
- package/src/core/ai/context/registry.ts +18 -18
- package/src/core/ai/ids/ids.ts +5 -5
- package/src/core/ai/model-registry.ts +12 -9
- package/src/core/ai/staged-cells.ts +6 -6
- package/src/core/ai/tools/base.ts +6 -6
- package/src/core/ai/tools/edit-notebook-tool.ts +6 -6
- package/src/core/ai/tools/registry.ts +4 -4
- package/src/core/ai/tools/run-cells-tool.ts +7 -7
- package/src/core/ai/tools/sample-tool.ts +6 -6
- package/src/core/cells/__tests__/cells.test.ts +27 -0
- package/src/core/cells/cells.ts +2 -1
- package/src/core/codemirror/cells/debugger-decorations.ts +13 -7
- package/src/core/codemirror/cells/line-timing-decorations.ts +9 -9
- package/src/core/codemirror/cells/traceback-decorations.ts +7 -4
- package/src/core/codemirror/code-lens/extension.ts +13 -13
- package/src/core/codemirror/copilot/__tests__/language-server.test.ts +6 -6
- package/src/core/codemirror/copilot/__tests__/transport.test.ts +12 -12
- package/src/core/codemirror/copilot/language-server.ts +13 -13
- package/src/core/codemirror/copilot/transport.ts +1 -1
- package/src/core/codemirror/find-replace/search-highlight.ts +5 -5
- package/src/core/codemirror/go-to-definition/underline.ts +3 -3
- package/src/core/codemirror/keymaps/vim.ts +3 -3
- package/src/core/codemirror/language/languages/markdown.ts +8 -8
- package/src/core/codemirror/language/languages/python.ts +7 -7
- package/src/core/codemirror/language/languages/sql/completion-builder.ts +5 -5
- package/src/core/codemirror/language/languages/sql/completion-store.ts +4 -4
- package/src/core/codemirror/language/languages/sql/sql.ts +21 -21
- package/src/core/codemirror/lsp/__tests__/transports.test.ts +10 -10
- package/src/core/codemirror/lsp/federated-lsp.ts +29 -27
- package/src/core/codemirror/lsp/notebook-lsp.ts +21 -21
- package/src/core/codemirror/misc/__tests__/dnd.test.ts +10 -10
- package/src/core/codemirror/misc/__tests__/paste.test.ts +7 -4
- package/src/core/codemirror/reactive-references/extension.ts +3 -3
- package/src/core/codemirror/rtc/loro/awareness.ts +12 -12
- package/src/core/codemirror/rtc/loro/sync.ts +5 -5
- package/src/core/codemirror/vim/cursor-visibility.ts +3 -3
- package/src/core/dom/ui-element.ts +5 -5
- package/src/core/dom/uiregistry.ts +10 -10
- package/src/core/hotkeys/hotkeys.ts +9 -9
- package/src/core/islands/__tests__/bridge.test.ts +4 -4
- package/src/core/islands/__tests__/test-utils.tsx +4 -4
- package/src/core/islands/bridge.ts +85 -82
- package/src/core/islands/components/web-components.tsx +7 -7
- package/src/core/islands/worker/__tests__/controller.test.ts +1 -1
- package/src/core/islands/worker/controller.ts +6 -3
- package/src/core/islands/worker-factory.ts +2 -2
- package/src/core/kernel/RuntimeState.ts +4 -4
- package/src/core/kernel/__tests__/session.test.ts +110 -1
- package/src/core/kernel/session.ts +46 -15
- package/src/core/lsp/__tests__/transport.test.ts +19 -19
- package/src/core/lsp/transport.ts +5 -5
- package/src/core/network/CachingRequestRegistry.ts +2 -2
- package/src/core/network/DeferredRequestRegistry.ts +4 -4
- package/src/core/network/__tests__/export-asset-url.test.ts +45 -0
- package/src/core/network/export-asset-url.ts +19 -0
- package/src/core/network/requests-network.ts +2 -7
- package/src/core/runtime/runtime.ts +25 -20
- package/src/core/static/virtual-file-tracker.ts +5 -5
- package/src/core/wasm/__tests__/bridge.test.ts +2 -2
- package/src/core/wasm/bridge.ts +132 -133
- package/src/core/wasm/router.ts +5 -5
- package/src/core/wasm/store.ts +4 -4
- package/src/core/wasm/worker/bootstrap.ts +8 -5
- package/src/core/wasm/worker/message-buffer.ts +3 -3
- package/src/core/websocket/transports/__tests__/ws.test.ts +8 -8
- package/src/core/websocket/transports/basic.ts +15 -8
- package/src/core/websocket/transports/sse.ts +7 -7
- package/src/core/websocket/transports/transport.ts +3 -3
- package/src/core/websocket/transports/ws.ts +9 -7
- package/src/css/globals.css +18 -21
- package/src/css/katex.min.css +260 -241
- package/src/hooks/__tests__/useOverflowDetection.test.tsx +5 -5
- package/src/hooks/__tests__/useResizeObserver.test.tsx +12 -12
- package/src/plugins/core/registerReactComponent.tsx +5 -5
- package/src/plugins/core/sidebar-element.tsx +2 -2
- package/src/plugins/impl/ButtonPlugin.tsx +3 -3
- package/src/plugins/impl/CheckboxPlugin.tsx +3 -3
- package/src/plugins/impl/CodeEditorPlugin.tsx +3 -3
- package/src/plugins/impl/DatePickerPlugin.tsx +3 -3
- package/src/plugins/impl/DateRangePlugin.tsx +3 -3
- package/src/plugins/impl/DateTimePickerPlugin.tsx +3 -3
- package/src/plugins/impl/DictPlugin.tsx +3 -3
- package/src/plugins/impl/DropdownPlugin.tsx +3 -3
- package/src/plugins/impl/FileUploadPlugin.tsx +3 -3
- package/src/plugins/impl/MatrixPlugin.tsx +4 -4
- package/src/plugins/impl/MicrophonePlugin.tsx +3 -3
- package/src/plugins/impl/MultiselectPlugin.tsx +3 -3
- package/src/plugins/impl/NumberPlugin.tsx +3 -3
- package/src/plugins/impl/RadioPlugin.tsx +9 -5
- package/src/plugins/impl/RangeSliderPlugin.tsx +3 -3
- package/src/plugins/impl/RefreshPlugin.tsx +3 -3
- package/src/plugins/impl/SliderPlugin.tsx +3 -3
- package/src/plugins/impl/SwitchPlugin.tsx +3 -3
- package/src/plugins/impl/TabsPlugin.tsx +3 -3
- package/src/plugins/impl/TextAreaPlugin.tsx +3 -3
- package/src/plugins/impl/TextInputPlugin.tsx +3 -3
- package/src/plugins/impl/__tests__/MatrixPlugin.test.tsx +2 -2
- package/src/plugins/impl/anywidget/model.ts +10 -10
- package/src/plugins/impl/anywidget/registry.ts +12 -9
- package/src/plugins/impl/anywidget/runtime.ts +11 -9
- package/src/plugins/impl/anywidget/widget-binding.ts +6 -6
- package/src/plugins/impl/image-comparison/ImageComparisonComponent.tsx +7 -6
- package/src/plugins/impl/matplotlib/MatplotlibPlugin.tsx +3 -3
- package/src/plugins/impl/matplotlib/__tests__/matplotlib-renderer.test.ts +2 -2
- package/src/plugins/impl/matplotlib/matplotlib-renderer.ts +2 -2
- package/src/plugins/impl/mpl-interactive/mpl-websocket-shim.ts +10 -10
- package/src/plugins/impl/panel/utils.ts +5 -5
- package/src/plugins/impl/plotly/PlotlyPlugin.tsx +3 -3
- package/src/plugins/impl/vega/VegaPlugin.tsx +3 -3
- package/src/plugins/impl/vega/__tests__/use-vega-container-remeasure.test.ts +7 -7
- package/src/plugins/impl/vega/__tests__/utils.test.ts +16 -1
- package/src/plugins/impl/vega/__tests__/vega.test.ts +37 -0
- package/src/plugins/impl/vega/loader.ts +23 -1
- package/src/plugins/impl/vega/utils.ts +5 -4
- package/src/plugins/layout/AccordionPlugin.tsx +3 -3
- package/src/plugins/layout/CalloutPlugin.tsx +3 -3
- package/src/plugins/layout/ImageComparisonPlugin.tsx +5 -3
- package/src/plugins/layout/JsonOutputPlugin.tsx +3 -3
- package/src/plugins/layout/MimeRenderPlugin.tsx +3 -3
- package/src/plugins/layout/NavigationMenuPlugin.tsx +3 -3
- package/src/plugins/layout/OutlinePlugin.tsx +3 -3
- package/src/plugins/layout/ProgressPlugin.tsx +3 -3
- package/src/plugins/layout/RoutesPlugin.tsx +6 -8
- package/src/plugins/layout/StatPlugin.tsx +3 -3
- package/src/plugins/layout/TexPlugin.tsx +3 -3
- package/src/plugins/layout/carousel/CarouselPlugin.tsx +4 -4
- package/src/plugins/layout/mermaid/MermaidPlugin.tsx +3 -3
- package/src/utils/Deferred.ts +6 -6
- package/src/utils/async-capture-tracker.ts +10 -7
- package/src/utils/errors.ts +5 -5
- package/src/utils/id-tree.tsx +83 -80
- package/src/utils/lru.ts +1 -1
- package/src/utils/multi-map.ts +14 -12
- package/src/utils/paths.ts +6 -6
- package/src/utils/pluralize.ts +3 -3
- package/src/utils/progress.ts +6 -6
- package/src/utils/python-poet/poet.ts +14 -14
- package/src/utils/routes.ts +4 -2
- package/src/utils/semaphore.ts +6 -6
- package/src/utils/storage/storage.ts +6 -6
- package/src/utils/storage/typed.ts +16 -12
- package/src/utils/time.ts +9 -9
- package/src/utils/timed-cache.ts +4 -4
- package/src/utils/tracer.ts +9 -6
- package/dist/classDiagram-ZZMXUADV-Fe-V14Sc.js +0 -30
- package/dist/classDiagram-v2-VYDZK3BY-xTDg7lOs.js +0 -30
- package/dist/flowDiagram-HODETNUW-6dMdB8pR.js +0 -16
- package/dist/katex-DFBiSucW.js +0 -21840
- package/dist/label-BJ49YTvk.js +0 -30
- package/dist/stateDiagram-v2-MP3YSRHH-o05_rJN8.js +0 -30
- package/dist/swimlanesDiagram-VR7AAH4N-D_nFQfRc.js +0 -30
|
@@ -3,21 +3,20 @@ import { g as a, h as o, t as s } from "./button-DdXAm8iz.js";
|
|
|
3
3
|
import { t as c } from "./react-ofJbxM4x.js";
|
|
4
4
|
import { t as l } from "./compiler-runtime-Cj8ZWiNS.js";
|
|
5
5
|
import { g as u, t as d } from "./tooltip-qB8NlSqV.js";
|
|
6
|
-
import { D as f, t as p } from "./spec-
|
|
6
|
+
import { D as f, t as p } from "./spec-DQBRQSba.js";
|
|
7
7
|
import { a as m, c as h, i as g, o as _, r as v, s as y, t as b } from "./useLifecycle-DPgiiwwU.js";
|
|
8
|
-
import {
|
|
8
|
+
import { i as x, t as S } from "./useDateFormatter-BXQGu86d.js";
|
|
9
9
|
import { a as C, b as w, c as T, i as E, n as D, o as O, r as ee, s as te, t as ne } from "./select-C6plhmZr.js";
|
|
10
10
|
import { t as k } from "./jsx-runtime-DgDPJV9S.js";
|
|
11
11
|
import { n as re } from "./error-banner-B94dcDmP.js";
|
|
12
|
-
import {
|
|
13
|
-
import { t as ae } from "./useNumberFormatter-BfDpa21j.js";
|
|
12
|
+
import { n as ie, t as ae } from "./label-BslhXqL6.js";
|
|
14
13
|
import { C as oe, D as se, E as ce, n as le, x as ue } from "./useTheme-DzXmYZ5V.js";
|
|
15
14
|
import { t as de } from "./invariant-DLmrl-hA.js";
|
|
16
15
|
import { t as fe } from "./objects-CzUgoMIF.js";
|
|
17
16
|
import { t as pe } from "./useAsyncData-BD6AStMt.js";
|
|
18
|
-
import { M as me } from "./vega-loader.browser-
|
|
19
|
-
import { n as he, r as ge } from "./react-vega-
|
|
20
|
-
import { a as _e, n as ve } from "./loader-
|
|
17
|
+
import { M as me } from "./vega-loader.browser-DNST6uVf.js";
|
|
18
|
+
import { n as he, r as ge } from "./react-vega-ewj7q_U5.js";
|
|
19
|
+
import { a as _e, n as ve } from "./loader-DEZSzvma.js";
|
|
21
20
|
var ye = u("chart-column-big", [
|
|
22
21
|
["path", {
|
|
23
22
|
d: "M3 3v16a2 2 0 0 0 2 2h16",
|
|
@@ -5518,7 +5517,7 @@ var kl = /* @__PURE__ */ e(c(), 1), $ = k(), Al = {
|
|
|
5518
5517
|
], Pl = (e) => {
|
|
5519
5518
|
let t = (0, xe.c)(8), { value: n } = e, r;
|
|
5520
5519
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (r = { maximumFractionDigits: 2 }, t[0] = r) : r = t[0];
|
|
5521
|
-
let i =
|
|
5520
|
+
let i = ie(r), a;
|
|
5522
5521
|
t[1] === Symbol.for("react.memo_cache_sentinel") ? (a = {
|
|
5523
5522
|
year: "numeric",
|
|
5524
5523
|
month: "short",
|
|
@@ -6008,7 +6007,7 @@ var yu = ce((e) => {
|
|
|
6008
6007
|
let u = l, d;
|
|
6009
6008
|
t[5] === i?.field ? d = t[6] : (d = i?.field.toString() ?? "", t[5] = i?.field, t[6] = d);
|
|
6010
6009
|
let f = d, p;
|
|
6011
|
-
t[7] === n ? p = t[8] : (p = /* @__PURE__ */ (0, $.jsx)(
|
|
6010
|
+
t[7] === n ? p = t[8] : (p = /* @__PURE__ */ (0, $.jsx)(ae, {
|
|
6012
6011
|
className: "text-(--slate-11) font-semibold",
|
|
6013
6012
|
children: n
|
|
6014
6013
|
}), t[7] = n, t[8] = p);
|
|
@@ -135,7 +135,7 @@ function F(e) {
|
|
|
135
135
|
}
|
|
136
136
|
//#endregion
|
|
137
137
|
//#region src/components/editor/boundary/ErrorBoundary.tsx
|
|
138
|
-
var I = (0, T.lazy)(() => import("./feedback-button-
|
|
138
|
+
var I = (0, T.lazy)(() => import("./feedback-button-K1inEVfd.js").then((e) => ({ default: e.FeedbackModal }))), L = (e) => {
|
|
139
139
|
let t = (0, w.c)(2), n;
|
|
140
140
|
return t[0] === e.children ? n = t[1] : (n = /* @__PURE__ */ (0, j.jsx)(O, {
|
|
141
141
|
FallbackComponent: R,
|
|
@@ -243,90 +243,89 @@ function d(e) {
|
|
|
243
243
|
return e.length > 100 ? `${e.slice(0, 100)}…` : e;
|
|
244
244
|
}
|
|
245
245
|
var f = (e) => {
|
|
246
|
-
let t = (0, s.c)(
|
|
247
|
-
t[0] === Symbol.for("react.memo_cache_sentinel") ? (g = () => {
|
|
248
|
-
|
|
246
|
+
let t = (0, s.c)(36), { beforeSrc: n, afterSrc: r, value: i, direction: a, width: o, height: d } = e, [f, p] = l.useState(m), g;
|
|
247
|
+
t[0] === Symbol.for("react.memo_cache_sentinel") ? (g = (e) => {
|
|
248
|
+
p((t) => new Set(t).add(e));
|
|
249
249
|
}, t[0] = g) : g = t[0];
|
|
250
|
-
let _;
|
|
251
|
-
t[1] !==
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
h((t) => new Set(t).add(e));
|
|
255
|
-
}, t[4] = v) : v = t[4];
|
|
256
|
-
let y = v, b = o || "100%", x = d || "auto", S;
|
|
257
|
-
t[5] !== b || t[6] !== x ? (S = {
|
|
258
|
-
width: b,
|
|
259
|
-
height: x,
|
|
250
|
+
let _ = g, v = o || "100%", y = d || "auto", b;
|
|
251
|
+
t[1] !== v || t[2] !== y ? (b = {
|
|
252
|
+
width: v,
|
|
253
|
+
height: y,
|
|
260
254
|
maxWidth: "100%",
|
|
261
255
|
minHeight: "2rem"
|
|
262
|
-
}, t[
|
|
263
|
-
let
|
|
264
|
-
t[
|
|
256
|
+
}, t[1] = v, t[2] = y, t[3] = b) : b = t[3];
|
|
257
|
+
let x = b, S;
|
|
258
|
+
t[4] !== d || t[5] !== o ? (S = o || d ? {
|
|
265
259
|
width: o || void 0,
|
|
266
260
|
height: d || void 0,
|
|
267
261
|
objectFit: "contain"
|
|
268
|
-
} : void 0, t[
|
|
269
|
-
let
|
|
262
|
+
} : void 0, t[4] = d, t[5] = o, t[6] = S) : S = t[6];
|
|
263
|
+
let C = S;
|
|
270
264
|
if (f.size > 0) {
|
|
271
265
|
let e = f.size > 1 ? "images" : "image", n;
|
|
272
|
-
t[
|
|
266
|
+
t[7] === f ? n = t[8] : (n = [...f].map(h), t[7] = f, t[8] = n);
|
|
273
267
|
let r = n.join(", "), i;
|
|
274
|
-
t[
|
|
268
|
+
t[9] !== e || t[10] !== r ? (i = /* @__PURE__ */ (0, u.jsxs)("span", { children: [
|
|
275
269
|
"Failed to load ",
|
|
276
270
|
e,
|
|
277
271
|
":",
|
|
278
272
|
" ",
|
|
279
273
|
r
|
|
280
|
-
] }), t[
|
|
274
|
+
] }), t[9] = e, t[10] = r, t[11] = i) : i = t[11];
|
|
281
275
|
let a;
|
|
282
|
-
return t[
|
|
283
|
-
style:
|
|
276
|
+
return t[12] !== x || t[13] !== i ? (a = /* @__PURE__ */ (0, u.jsx)("div", {
|
|
277
|
+
style: x,
|
|
284
278
|
className: "flex items-center justify-center rounded border border-destructive/40 bg-destructive/5 p-3 text-sm text-destructive",
|
|
285
279
|
children: i
|
|
286
|
-
}), t[
|
|
280
|
+
}), t[12] = x, t[13] = i, t[14] = a) : a = t[14], a;
|
|
287
281
|
}
|
|
282
|
+
let w;
|
|
283
|
+
t[15] === Symbol.for("react.memo_cache_sentinel") ? (w = { verticalAlign: "top" }, t[15] = w) : w = t[15];
|
|
284
|
+
let T;
|
|
285
|
+
t[16] === n ? T = t[17] : (T = () => _(n), t[16] = n, t[17] = T);
|
|
288
286
|
let E;
|
|
289
|
-
t[
|
|
290
|
-
let D;
|
|
291
|
-
t[20] === n ? D = t[21] : (D = () => y(n), t[20] = n, t[21] = D);
|
|
292
|
-
let O;
|
|
293
|
-
t[22] !== n || t[23] !== T || t[24] !== D ? (O = /* @__PURE__ */ (0, u.jsx)("img", {
|
|
287
|
+
t[18] !== n || t[19] !== C || t[20] !== T ? (E = /* @__PURE__ */ (0, u.jsx)("img", {
|
|
294
288
|
slot: "first",
|
|
295
289
|
src: n,
|
|
296
290
|
alt: "Before",
|
|
297
291
|
width: "100%",
|
|
298
|
-
style:
|
|
299
|
-
onError:
|
|
300
|
-
}), t[
|
|
301
|
-
let
|
|
302
|
-
t[
|
|
303
|
-
let
|
|
304
|
-
t[
|
|
292
|
+
style: C,
|
|
293
|
+
onError: T
|
|
294
|
+
}), t[18] = n, t[19] = C, t[20] = T, t[21] = E) : E = t[21];
|
|
295
|
+
let D;
|
|
296
|
+
t[22] === r ? D = t[23] : (D = () => _(r), t[22] = r, t[23] = D);
|
|
297
|
+
let O;
|
|
298
|
+
t[24] !== r || t[25] !== C || t[26] !== D ? (O = /* @__PURE__ */ (0, u.jsx)("img", {
|
|
305
299
|
slot: "second",
|
|
306
300
|
src: r,
|
|
307
301
|
alt: "After",
|
|
308
302
|
width: "100%",
|
|
309
|
-
style:
|
|
310
|
-
onError:
|
|
311
|
-
}), t[
|
|
312
|
-
let
|
|
313
|
-
t[
|
|
303
|
+
style: C,
|
|
304
|
+
onError: D
|
|
305
|
+
}), t[24] = r, t[25] = C, t[26] = D, t[27] = O) : O = t[27];
|
|
306
|
+
let k;
|
|
307
|
+
t[28] !== a || t[29] !== O || t[30] !== E || t[31] !== i ? (k = /* @__PURE__ */ (0, u.jsxs)(c.ImgComparisonSlider, {
|
|
314
308
|
value: i,
|
|
315
309
|
direction: a,
|
|
316
|
-
style:
|
|
317
|
-
children: [
|
|
318
|
-
}), t[
|
|
319
|
-
let
|
|
320
|
-
return t[
|
|
321
|
-
style:
|
|
322
|
-
children:
|
|
323
|
-
}), t[
|
|
310
|
+
style: w,
|
|
311
|
+
children: [E, O]
|
|
312
|
+
}), t[28] = a, t[29] = O, t[30] = E, t[31] = i, t[32] = k) : k = t[32];
|
|
313
|
+
let A;
|
|
314
|
+
return t[33] !== x || t[34] !== k ? (A = /* @__PURE__ */ (0, u.jsx)("div", {
|
|
315
|
+
style: x,
|
|
316
|
+
children: k
|
|
317
|
+
}), t[33] = x, t[34] = k, t[35] = A) : A = t[35], A;
|
|
318
|
+
}, p = (e) => {
|
|
319
|
+
let t = (0, s.c)(6), n;
|
|
320
|
+
t[0] !== e.afterSrc || t[1] !== e.beforeSrc ? (n = JSON.stringify([e.beforeSrc, e.afterSrc]), t[0] = e.afterSrc, t[1] = e.beforeSrc, t[2] = n) : n = t[2];
|
|
321
|
+
let r = n, i;
|
|
322
|
+
return t[3] !== e || t[4] !== r ? (i = /* @__PURE__ */ (0, u.jsx)(f, { ...e }, r), t[3] = e, t[4] = r, t[5] = i) : i = t[5], i;
|
|
324
323
|
};
|
|
325
|
-
function
|
|
324
|
+
function m() {
|
|
326
325
|
return /* @__PURE__ */ new Set();
|
|
327
326
|
}
|
|
328
|
-
function
|
|
327
|
+
function h(e) {
|
|
329
328
|
return `"${d(e)}"`;
|
|
330
329
|
}
|
|
331
330
|
//#endregion
|
|
332
|
-
export {
|
|
331
|
+
export { p as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as e } from "./src-CA_m4ONl.js";
|
|
2
2
|
import { n as t } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
3
|
-
import "./chunk-DU6HZSFF-
|
|
4
|
-
import "./mermaid-
|
|
3
|
+
import "./chunk-DU6HZSFF-1TwWR6gh.js";
|
|
4
|
+
import "./mermaid-Dnzoxjt1.js";
|
|
5
5
|
import { m as n, t as r } from "./mermaid-parser.core-DxuSfYwJ.js";
|
|
6
|
-
import { n as i, r as a, t as o } from "./chunk-SVP7TREG-
|
|
6
|
+
import { n as i, r as a, t as o } from "./chunk-SVP7TREG-uIyyySp6.js";
|
|
7
7
|
import { t as s } from "./chunk-JWPE2WC7-DJvv1t8U.js";
|
|
8
8
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/abnfDiagram-VCTEODGH.mjs
|
|
9
9
|
var c = n().RailroadAbnf.parser.LangiumParser, l = /* @__PURE__ */ t((e) => {
|
package/dist/{architectureDiagram-5GKGNRK7-DDyj5SRB.js → architectureDiagram-5GKGNRK7-BngksAAQ.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { a as e, t } from "./rolldown-runtime-Cb76FRpK.js";
|
|
2
|
-
import { c as n, i as r } from "./chunk-75Z2AOVW-
|
|
2
|
+
import { c as n, i as r } from "./chunk-75Z2AOVW-C4AOleKf.js";
|
|
3
3
|
import { n as i, t as a } from "./src-CA_m4ONl.js";
|
|
4
4
|
import { n as o } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
5
|
-
import { H as s, J as c, K as l, U as u, a as d, b as f, f as p, v as m, w as h, x as g, y as _, z as v } from "./chunk-DU6HZSFF-
|
|
6
|
-
import { i as y, r as b, t as x } from "./chunk-PWAF6VOD-
|
|
7
|
-
import { n as S } from "./chunk-GMAD6QVW-
|
|
8
|
-
import { p as C } from "./mermaid-
|
|
5
|
+
import { H as s, J as c, K as l, U as u, a as d, b as f, f as p, v as m, w as h, x as g, y as _, z as v } from "./chunk-DU6HZSFF-1TwWR6gh.js";
|
|
6
|
+
import { i as y, r as b, t as x } from "./chunk-PWAF6VOD-lNxB9k8z.js";
|
|
7
|
+
import { n as S } from "./chunk-GMAD6QVW-vStrMz2P.js";
|
|
8
|
+
import { p as C } from "./mermaid-Dnzoxjt1.js";
|
|
9
9
|
import { n as w } from "./mermaid-parser.core-DxuSfYwJ.js";
|
|
10
10
|
import { t as T } from "./chunk-JWPE2WC7-DJvv1t8U.js";
|
|
11
11
|
import { t as E } from "./cytoscape.esm-jJhXJpLB.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { t as e } from "./graphlib-BmY_CCV9.js";
|
|
2
|
-
import { A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, L as u, M as d, N as f, O as p, P as m, R as h, T as g, U as _, V as ee, W as te, b as v, j as y, k as b, l as x, v as S, w as C, z as w } from "./chunk-75Z2AOVW-
|
|
2
|
+
import { A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, L as u, M as d, N as f, O as p, P as m, R as h, T as g, U as _, V as ee, W as te, b as v, j as y, k as b, l as x, v as S, w as C, z as w } from "./chunk-75Z2AOVW-C4AOleKf.js";
|
|
3
3
|
import { n as T, t as E } from "./src-CA_m4ONl.js";
|
|
4
4
|
import { n as D } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
5
|
-
import { a as O, b as k, c as A, rt as ne, s as re, x as ie } from "./chunk-DU6HZSFF-
|
|
6
|
-
import { t as ae } from "./channel-
|
|
7
|
-
import "./chunk-P2QGCYS3-
|
|
8
|
-
import "./chunk-PWAF6VOD-
|
|
9
|
-
import "./chunk-GMAD6QVW-
|
|
10
|
-
import "./chunk-4HAMMTFA-
|
|
11
|
-
import { i as oe, r as se } from "./chunk-GVQU2GXP-
|
|
12
|
-
import { a as ce, c as le, i as ue, s as de } from "./chunk-OSK3NFVY-
|
|
5
|
+
import { a as O, b as k, c as A, rt as ne, s as re, x as ie } from "./chunk-DU6HZSFF-1TwWR6gh.js";
|
|
6
|
+
import { t as ae } from "./channel-z7HZXHwv.js";
|
|
7
|
+
import "./chunk-P2QGCYS3-0TAWai9C.js";
|
|
8
|
+
import "./chunk-PWAF6VOD-lNxB9k8z.js";
|
|
9
|
+
import "./chunk-GMAD6QVW-vStrMz2P.js";
|
|
10
|
+
import "./chunk-4HAMMTFA-BPTTOOC5.js";
|
|
11
|
+
import { i as oe, r as se } from "./chunk-GVQU2GXP-2HwWgs4u.js";
|
|
12
|
+
import { a as ce, c as le, i as ue, s as de } from "./chunk-OSK3NFVY-CZV09N-U.js";
|
|
13
13
|
import { t as fe } from "./chunk-5VM5RSS4-DKsmPCL6.js";
|
|
14
14
|
//#region ../node_modules/.pnpm/es-toolkit@1.50.0/node_modules/es-toolkit/dist/compat/predicate/isArray.mjs
|
|
15
15
|
function pe(e) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { _ as e, n as t, r as n } from "./chunk-75Z2AOVW-
|
|
1
|
+
import { _ as e, n as t, r as n } from "./chunk-75Z2AOVW-C4AOleKf.js";
|
|
2
2
|
import { n as r, t as i } from "./src-CA_m4ONl.js";
|
|
3
3
|
import { n as a } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
|
|
4
|
-
import { H as o, U as s, c as l, r as u, s as d, v as f, x as p, y as m, z as h } from "./chunk-DU6HZSFF-
|
|
5
|
-
import "./chunk-P2QGCYS3-
|
|
6
|
-
import "./chunk-PWAF6VOD-
|
|
7
|
-
import "./chunk-GMAD6QVW-
|
|
8
|
-
import { o as g } from "./chunk-4HAMMTFA-
|
|
9
|
-
import { a as _ } from "./chunk-F27PBJKO-
|
|
4
|
+
import { H as o, U as s, c as l, r as u, s as d, v as f, x as p, y as m, z as h } from "./chunk-DU6HZSFF-1TwWR6gh.js";
|
|
5
|
+
import "./chunk-P2QGCYS3-0TAWai9C.js";
|
|
6
|
+
import "./chunk-PWAF6VOD-lNxB9k8z.js";
|
|
7
|
+
import "./chunk-GMAD6QVW-vStrMz2P.js";
|
|
8
|
+
import { o as g } from "./chunk-4HAMMTFA-BPTTOOC5.js";
|
|
9
|
+
import { a as _ } from "./chunk-F27PBJKO-DMI1PBe4.js";
|
|
10
10
|
//#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-7LVT6UL2.mjs
|
|
11
11
|
var v = (function() {
|
|
12
12
|
var e = /* @__PURE__ */ a(function(e, t, n, r) {
|