@marimo-team/islands 0.26.1-dev6 → 0.26.1-dev61
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-DtwVgVpX.js → ConnectedDataExplorerComponent-yQVBQBUW.js} +16 -16
- package/dist/{ErrorBoundary-CLLMEsVD.js → ErrorBoundary-C-fpcKoC.js} +19 -19
- package/dist/{abnfDiagram-VCTEODGH-BbZOIueZ.js → abnfDiagram-VCTEODGH-Ck_lXwQR.js} +2 -2
- package/dist/{any-language-editor-yG-YmLaK.js → any-language-editor-Cx4idbgX.js} +5 -5
- package/dist/{architectureDiagram-5GKGNRK7-qjLjxapm.js → architectureDiagram-5GKGNRK7-XeVhic7Z.js} +1 -1
- package/dist/{assertNever-DywGMo-S.js → assertNever-473SFxLt.js} +14 -14
- package/dist/{button-qQhINE7z.js → button-Z2R2272J.js} +34 -31
- package/dist/{capabilities-DKqMqBzm.js → capabilities-ba3Dyv8n.js} +1 -1
- package/dist/{chat-ui-D5YPIONI.js → chat-ui-D1mRz9h6.js} +113 -113
- package/dist/{check-jchHMCfs.js → check-DmTIavbZ.js} +1 -1
- package/dist/{chunk-IMKFNOWR-BzDY1_I7.js → chunk-IMKFNOWR-DdQni67K.js} +1 -1
- package/dist/{chunk-SHT3W25Y-DbHsMKdo.js → chunk-SHT3W25Y-BdK-vMct.js} +1 -1
- package/dist/{chunk-SVP7TREG-CtwnwAE6.js → chunk-SVP7TREG-cpFZk4Ca.js} +1 -1
- package/dist/{chunk-TICWLB2K-C5Z5QMbO.js → chunk-TICWLB2K-DDgQFRgT.js} +1 -1
- package/dist/{classDiagram-ZZMXUADV-B8E5Hn78.js → classDiagram-ZZMXUADV-DeojX9X4.js} +2 -2
- package/dist/{classDiagram-v2-VYDZK3BY-DeGsK9bT.js → classDiagram-v2-VYDZK3BY-DPfTAiQ6.js} +2 -2
- package/dist/{code-visibility-D8sNdSZw.js → code-visibility-D4FVcpUd.js} +28 -28
- package/dist/{common-C1vcGVta.js → common-c1RIAfFl.js} +5102 -5055
- package/dist/{config-qTaTHnpE.js → config-D-lhQq-h.js} +31 -32
- package/dist/{copy-icon-BI7vZHEW.js → copy-icon-DuxRkh7T.js} +3 -3
- package/dist/{createReducer-DdSLRfBT.js → createReducer-D3pBhIVD.js} +2 -2
- package/dist/{cynefinDiagram-5FMLGOSQ-NDedRwsw.js → cynefinDiagram-5FMLGOSQ-DyY9TvuI.js} +1 -1
- package/dist/{dagre-GXQ25YYZ-De0sSZO7.js → dagre-GXQ25YYZ-BPCOgtKg.js} +1 -1
- package/dist/{data-grid-overlay-editor-DbZ4Cn8Q.js → data-grid-overlay-editor-Dl1y1kTy.js} +1 -1
- package/dist/{diagram-S7CK7UJ4-wBtVl61y.js → diagram-S7CK7UJ4-KaF-C6kd.js} +1 -1
- package/dist/{diagram-UQ7AKVKN-CKWE3c1T.js → diagram-UQ7AKVKN-DkeqoSvK.js} +1 -1
- package/dist/{diagram-VX7I27RA-D2Ac5198.js → diagram-VX7I27RA-DExolTAf.js} +1 -1
- package/dist/{diagram-Z3DM3KII-CYaFOQcI.js → diagram-Z3DM3KII-BioFuBF3.js} +1 -1
- package/dist/{dialog-Ic6dh09m.js → dialog-CvyFEwby.js} +32 -32
- package/dist/{dist-BvZpdAuG.js → dist-6B1_Ttbh.js} +1 -1
- package/dist/{dist-D1D56-GS.js → dist-B28poF32.js} +2 -2
- package/dist/{dist-BozTF_gH.js → dist-BBZ7lnMw.js} +2 -2
- package/dist/{dist-BfrgytDR.js → dist-BD8ZKF5t.js} +3 -3
- package/dist/{dist-DNkrY12t.js → dist-BG-7Qpaj.js} +3 -3
- package/dist/{dist-D92tYjLc.js → dist-BIaGGUbU.js} +13 -11
- package/dist/{dist-BagHbFqG.js → dist-BR5PU2Ph.js} +3 -3
- package/dist/{dist-DpYpG8Yc.js → dist-BidYR5m4.js} +3 -3
- package/dist/{dist-D95Cd4xm.js → dist-BkGYCvFX.js} +3 -3
- package/dist/{dist-DneeBk3K.js → dist-BmEyXT7K.js} +2 -2
- package/dist/{dist-BdUitvVW.js → dist-Bt0Wt6m9.js} +2 -2
- package/dist/{dist-CEomphG1.js → dist-CG2Sl0D4.js} +2 -2
- package/dist/{dist-BMz__bo5.js → dist-CQfpgadU.js} +3 -3
- package/dist/{dist-BreKIQqQ.js → dist-CVOPvfzN.js} +3 -3
- package/dist/{dist-BEcpQbZa.js → dist-Cm0iCeQQ.js} +3 -3
- package/dist/{dist-CDVvitRS.js → dist-Cnc14jEq.js} +2 -2
- package/dist/{dist-ChcBm3jk.js → dist-D3KPC38e.js} +4 -4
- package/dist/{dist-B1qu3Bez.js → dist-D7BXk27E.js} +3 -3
- package/dist/{dist-BsE4gQHj.js → dist-D9Qhvxvg.js} +1 -1
- package/dist/{dist-OmeAz0fR.js → dist-DJKajXDB.js} +3 -3
- package/dist/{dist-ObeTgSmf.js → dist-DYbNRTYG.js} +4 -4
- package/dist/{dist-Cshl6jBw.js → dist-DhtDWnzK.js} +2 -2
- package/dist/{dist-BunZKA_9.js → dist-_x2Jks2R.js} +2 -2
- package/dist/{dist-MggMo7OR.js → dist-m0MWV-aw.js} +1 -1
- package/dist/{dist-TGSwzj8a.js → dist-pPbYNVjd.js} +4 -4
- package/dist/{dropdown-menu-Dhv4fcNl.js → dropdown-menu-BiXHfje7.js} +2568 -2568
- package/dist/{ebnfDiagram-PWID7BFC-Ds7f42dj.js → ebnfDiagram-PWID7BFC-BSb9k1ed.js} +2 -2
- package/dist/{erDiagram-RLTQ6QDP-b58Sz2Mc.js → erDiagram-RLTQ6QDP-PWA30a_r.js} +1 -1
- package/dist/{error-banner-CJVLr5_a.js → error-banner-B9HQMSaH.js} +35 -35
- package/dist/{error-entries-BKlEsuk4.js → error-entries-P6Qpq6wP.js} +1032 -867
- package/dist/{esm-B9n0caHs.js → esm-DY8dGAjJ.js} +23 -23
- package/dist/{esm-Bwp_FHP0.js → esm-Dw2ZydG_.js} +3 -3
- package/dist/{feedback-button-CjWyhzBQ.js → feedback-button-CZqI1P6j.js} +123 -123
- package/dist/{flowDiagram-HODETNUW-BH9U7VZK.js → flowDiagram-HODETNUW-BPtD__Zz.js} +2 -2
- package/dist/{formats-BLNFWWhV.js → formats-BF95BoCT.js} +3 -3
- package/dist/{glide-data-editor-B0vlSuQn.js → glide-data-editor-Y8kAtMHH.js} +43 -43
- package/dist/{glide-utils-Ze_7l_91.js → glide-utils-iHKKQPJ8.js} +3 -3
- package/dist/{globals-_GdM0yI_.js → globals-CZ6NhdB_.js} +3 -3
- package/dist/{html-to-image-CNM0ZSFD.js → html-to-image-DhrFZL7t.js} +24150 -24028
- package/dist/{infoDiagram-27XIBGKW-xbjwrcNi.js → infoDiagram-27XIBGKW-SJuilBEE.js} +1 -1
- package/dist/{ishikawaDiagram-5VMMS53U-DKtukhGS.js → ishikawaDiagram-5VMMS53U-DjzyxMr8.js} +1 -1
- package/dist/{kanban-definition-UXKFOSKX-BEhlkZBb.js → kanban-definition-UXKFOSKX-D2_qopGt.js} +1 -1
- package/dist/{loader-Bin_dutt.js → loader-qPmiRXZd.js} +1 -1
- package/dist/main.js +8860 -8741
- package/dist/{mermaid-D1CZDNoB.js → mermaid-DcowNmCx.js} +35 -35
- package/dist/{mindmap-definition-YA3MSWOX-DQcnJPcV.js → mindmap-definition-YA3MSWOX-pEra10M0.js} +1 -1
- package/dist/{number-overlay-editor-C9qcz20o.js → number-overlay-editor-MguZuT0h.js} +1 -1
- package/dist/{pegDiagram-XKGWAZYB-BFQuPYfI.js → pegDiagram-XKGWAZYB-CHOPKVOf.js} +2 -2
- package/dist/{pencil-DVYzq-iR.js → pencil-FAv6JUvp.js} +1 -1
- package/dist/{pieDiagram-E7YTZNPT-l7aqNrem.js → pieDiagram-E7YTZNPT-yGDhsyEN.js} +1 -1
- package/dist/{process-output-DthYR2Te.js → process-output-CBPqVQBu.js} +4 -4
- package/dist/{railroadDiagram-O6MQD6OU-6R3C1lwQ.js → railroadDiagram-O6MQD6OU-CeKEPdyc.js} +2 -2
- package/dist/{requirementDiagram-BXWQKSXE-DdWYu8fn.js → requirementDiagram-BXWQKSXE-DSAbAzKe.js} +1 -1
- package/dist/{reveal-component-CGGipwgt.js → reveal-component-BRVOTy71.js} +1018 -1018
- package/dist/{select-CDUxhHZg.js → select-BszV-bbI.js} +135 -135
- package/dist/{sequenceDiagram-WJ2MYXX4-Dzp0dgRc.js → sequenceDiagram-WJ2MYXX4-DVhWj_9H.js} +1 -1
- package/dist/{spec-ZAt4P01J.js → spec-CRfw-lOm.js} +4 -4
- package/dist/{stateDiagram-D77RDMKH-BGnTUhFJ.js → stateDiagram-D77RDMKH-CDQ2MltG.js} +2 -2
- package/dist/{stateDiagram-v2-MP3YSRHH-DsJbmDf1.js → stateDiagram-v2-MP3YSRHH-BQmvwBaz.js} +2 -2
- package/dist/{static-state-C4bAlKTU.js → static-state-BtDNJuc2.js} +7 -7
- package/dist/style.css +1 -1
- package/dist/{swimlanes-42K2YHIH-Bd4Bzh9r.js → swimlanes-42K2YHIH-DLOUTCEL.js} +1 -1
- package/dist/{swimlanesDiagram-VR7AAH4N-BlY12Jf6.js → swimlanesDiagram-VR7AAH4N-BVKrkNJ6.js} +2 -2
- package/dist/{swiper-component-DTdNB9wg.js → swiper-component-B2O8hF7b.js} +2 -2
- package/dist/{timeline-definition-24CTP7MA-m0LanyCH.js → timeline-definition-24CTP7MA-Cb2JoCSd.js} +1 -1
- package/dist/{toast-U3NpO2x3.js → toast-QsOAIPfq.js} +166 -166
- package/dist/{tooltip-UzJukb3F.js → tooltip-BQZ-Bm6h.js} +65 -65
- package/dist/{use-restore-focus-DaTVz6S6.js → use-restore-focus-DT1TZACX.js} +1885 -1877
- package/dist/{useDateFormatter-LQNtoXyh.js → useDateFormatter-D3gyMY-g.js} +2 -2
- package/dist/{useDeepCompareMemoize-CmNbQ9TT.js → useDeepCompareMemoize-CO6rO5Mq.js} +1 -1
- package/dist/{useIframeCapabilities-HTZiVlGV.js → useIframeCapabilities-_0KX0nu_.js} +1 -1
- package/dist/{useLifecycle-DTMczKkf.js → useLifecycle-C9UTzCY8.js} +2 -2
- package/dist/{vega-component-ZTdbCcwI.js → vega-component-i5lZ23n7.js} +19 -19
- package/dist/{vennDiagram-4TSXK5OY-BJ7vqDmn.js → vennDiagram-4TSXK5OY-Cm3EcCcP.js} +1 -1
- package/dist/{wardleyDiagram-VM6X3IG4-D5kWacsn.js → wardleyDiagram-VM6X3IG4-DjlUs2CC.js} +1 -1
- package/dist/{xychartDiagram-S5SC5T6Z-gr15Ws_z.js → xychartDiagram-S5SC5T6Z-DxNDul9l.js} +1 -1
- package/package.json +3 -3
- package/src/__mocks__/animation-frames.ts +31 -0
- package/src/__mocks__/executions.ts +51 -23
- package/src/__mocks__/intersection-observer.ts +45 -0
- package/src/__mocks__/notebook.ts +1 -1
- package/src/__tests__/branded.ts +4 -0
- package/src/__tests__/notebook-analysis.ts +48 -0
- package/src/__tests__/render-tracker.ts +15 -0
- package/src/__tests__/setup.ts +3 -0
- package/src/components/data-table/__tests__/export-actions.test.tsx +79 -0
- package/src/components/data-table/export-actions.tsx +64 -19
- package/src/components/data-table/schemas.ts +1 -0
- package/src/components/databases/engine-variable.tsx +2 -2
- package/src/components/dependency-graph/panels.tsx +2 -2
- package/src/components/editor/__tests__/cell-renders.test.tsx +116 -0
- package/src/components/editor/actions/__tests__/name-cell-input.test.tsx +1 -1
- package/src/components/editor/actions/useCellActionButton.tsx +2 -8
- package/src/components/editor/ai/__tests__/completion-utils.test.ts +28 -61
- package/src/components/editor/cell/CreateCellButton.tsx +69 -40
- package/src/components/editor/cell/__tests__/CreateCellButton.test.tsx +49 -0
- package/src/components/editor/cell/__tests__/cell-context-menu.test.tsx +126 -0
- package/src/components/editor/cell/__tests__/useRunCells.test.tsx +5 -5
- package/src/components/editor/cell/cell-context-menu.tsx +202 -111
- package/src/components/editor/cell/code/__tests__/code-placeholder.test.tsx +40 -0
- package/src/components/editor/cell/code/cell-editor.tsx +49 -108
- package/src/components/editor/cell/code/code-placeholder.css +61 -11
- package/src/components/editor/cell/code/code-placeholder.tsx +52 -27
- package/src/components/editor/cell/collapse.tsx +6 -3
- package/src/components/editor/cell/useSplitCell.tsx +2 -2
- package/src/components/editor/chrome/panels/__tests__/secrets-panel.test.tsx +57 -0
- package/src/components/editor/chrome/panels/secrets-panel.tsx +36 -9
- package/src/components/editor/chrome/panels/secrets-utils.ts +20 -0
- package/src/components/editor/chrome/wrapper/__tests__/document-sync-status.test.tsx +5 -2
- package/src/components/editor/chrome/wrapper/__tests__/pending-ai-cells.test.tsx +6 -10
- package/src/components/editor/errors/auto-fix.tsx +8 -7
- package/src/components/editor/header/status.tsx +5 -2
- package/src/components/editor/navigation/__tests__/navigation.test.ts +3 -16
- package/src/components/editor/navigation/focus-utils.ts +20 -8
- package/src/components/editor/navigation/multi-cell-action-toolbar.tsx +3 -11
- package/src/components/editor/navigation/navigation.ts +2 -2
- package/src/components/editor/notebook-cell.tsx +15 -24
- package/src/components/editor/output/MarimoTracebackOutput.tsx +2 -2
- package/src/components/editor/output/console/ConsoleOutput.tsx +77 -50
- package/src/components/editor/output/console/__tests__/ConsoleOutput.test.tsx +28 -0
- package/src/components/editor/renderers/cells-renderer.tsx +3 -2
- package/src/components/editor/renderers/vertical-layout/__tests__/useFocusFirstEditor.test.ts +6 -9
- package/src/components/editor/renderers/vertical-layout/useFocusFirstEditor.ts +2 -5
- package/src/components/find-replace/find-replace.tsx +3 -7
- package/src/components/icons/__tests__/large-spinner.test.tsx +5 -4
- package/src/components/scratchpad/scratchpad.tsx +2 -2
- package/src/components/tracing/tracing-keyboard.test.tsx +4 -3
- package/src/components/ui/__tests__/button-shortcut.test.tsx +22 -0
- package/src/components/ui/__tests__/fullscreen.test.tsx +83 -1
- package/src/components/ui/button.tsx +5 -1
- package/src/components/ui/fullscreen.tsx +43 -89
- package/src/components/variables/__tests__/variables-table.test.tsx +1 -2
- package/src/core/MarimoApp.tsx +1 -1
- package/src/core/__tests__/MarimoApp.test.tsx +147 -0
- package/src/core/ai/__tests__/staged-cells.test.ts +6 -39
- package/src/core/ai/context/providers/__tests__/error.test.ts +6 -3
- package/src/core/ai/staged-cells.ts +8 -35
- package/src/core/ai/tools/__tests__/edit-notebook-tool.test.ts +15 -13
- package/src/core/ai/tools/edit-notebook-tool.ts +13 -8
- package/src/core/cells/__tests__/actions.test.ts +2 -2
- package/src/core/cells/__tests__/add-missing-import.test.ts +14 -9
- package/src/core/cells/__tests__/arrange.test.ts +1 -1
- package/src/core/cells/__tests__/cell-editor-view.test.ts +44 -0
- package/src/core/cells/__tests__/cells.test.ts +0 -1
- package/src/core/cells/__tests__/focus.test.ts +1 -7
- package/src/core/cells/__tests__/harness.ts +9 -8
- package/src/core/cells/__tests__/layout.test.ts +1 -1
- package/src/core/cells/__tests__/pending-delete-service.test.tsx +121 -11
- package/src/core/cells/__tests__/runs.test.ts +14 -14
- package/src/core/cells/__tests__/utils.test.ts +3 -2
- package/src/core/cells/actions.ts +6 -6
- package/src/core/cells/add-missing-import.ts +2 -3
- package/src/core/cells/cells.ts +40 -27
- package/src/core/cells/document.ts +1 -2
- package/src/core/cells/execution-console.ts +10 -5
- package/src/core/cells/focus.ts +1 -1
- package/src/core/cells/ids.ts +2 -4
- package/src/core/cells/pending-delete-service.ts +97 -85
- package/src/core/cells/runs.ts +7 -5
- package/src/core/cells/scrollCellIntoView.ts +4 -14
- package/src/core/cells/session.ts +8 -5
- package/src/core/cells/utils.ts +0 -13
- package/src/core/codemirror/__tests__/cell-documents.test.ts +79 -0
- package/src/core/codemirror/__tests__/debounced-editor-update.test.ts +72 -0
- package/src/core/codemirror/__tests__/editor-mount-scheduler.test.ts +75 -105
- package/src/core/codemirror/__tests__/format.test.ts +85 -63
- package/src/core/codemirror/__tests__/setup.test.ts +61 -1
- package/src/core/codemirror/__tests__/use-lazy-editor-mount.test.tsx +198 -0
- package/src/core/codemirror/cell-documents.ts +132 -0
- package/src/core/codemirror/cells/debugger-decorations.ts +22 -18
- package/src/core/codemirror/cells/line-timing-decorations.ts +13 -11
- package/src/core/codemirror/cells/traceback-decorations.ts +10 -11
- package/src/core/codemirror/code-lens/__tests__/entities.test.ts +7 -11
- package/src/core/codemirror/code-lens/__tests__/extension.test.ts +38 -12
- package/src/core/codemirror/code-lens/__tests__/perf.test.ts +7 -9
- package/src/core/codemirror/code-lens/extension.ts +21 -13
- package/src/core/codemirror/copilot/__tests__/getCodes.test.ts +9 -14
- package/src/core/codemirror/copilot/getCodes.ts +3 -14
- package/src/core/codemirror/debounced-editor-update.ts +41 -0
- package/src/core/codemirror/editor-mount-scheduler.ts +41 -48
- package/src/core/codemirror/extensions.ts +2 -2
- package/src/core/codemirror/find-replace/__tests__/navigate.test.ts +42 -16
- package/src/core/codemirror/find-replace/__tests__/search-highlight.test.ts +30 -0
- package/src/core/codemirror/find-replace/__tests__/unmounted-cells.test.ts +145 -0
- package/src/core/codemirror/find-replace/navigate.ts +88 -129
- package/src/core/codemirror/find-replace/search-highlight.ts +3 -1
- package/src/core/codemirror/find-replace/state.ts +7 -2
- package/src/core/codemirror/format.ts +25 -31
- package/src/core/codemirror/go-to-definition/__tests__/underline.test.ts +58 -0
- package/src/core/codemirror/go-to-definition/__tests__/utils.test.ts +24 -44
- package/src/core/codemirror/go-to-definition/extension.ts +9 -7
- package/src/core/codemirror/go-to-definition/underline.ts +39 -48
- package/src/core/codemirror/language/__tests__/sql.test.ts +36 -0
- package/src/core/codemirror/language/cell-code.ts +7 -0
- package/src/core/codemirror/language/embedded/__tests__/embedded-python.test.ts +2 -18
- package/src/core/codemirror/language/languages/sql/sql.ts +3 -0
- package/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts +25 -0
- package/src/core/codemirror/lsp/notebook-lsp.ts +6 -16
- package/src/core/codemirror/placeholder/extensions.ts +26 -24
- package/src/core/codemirror/reactive-references/__tests__/extension.test.ts +54 -0
- package/src/core/codemirror/reactive-references/extension.ts +30 -21
- package/src/core/codemirror/use-lazy-editor-mount.ts +70 -0
- package/src/core/codemirror/utils.ts +2 -6
- package/src/core/datasets/__tests__/data-source.test.ts +15 -17
- package/src/core/datasets/data-source-connections.ts +8 -11
- package/src/core/datasets/state.ts +7 -12
- package/src/core/executions/__tests__/atoms.test.ts +211 -5
- package/src/core/executions/__tests__/freshness.test.ts +65 -56
- package/src/core/executions/__tests__/interrupt.test.ts +5 -3
- package/src/core/executions/__tests__/output-lifecycle.test.ts +95 -7
- package/src/core/executions/__tests__/output.test.ts +5 -3
- package/src/core/executions/__tests__/run.test.ts +4 -4
- package/src/core/executions/__tests__/select.test.ts +108 -69
- package/src/core/executions/atoms.ts +248 -83
- package/src/core/executions/freshness.ts +7 -7
- package/src/core/executions/hooks.ts +15 -59
- package/src/core/executions/index.ts +2 -0
- package/src/core/executions/output.ts +49 -35
- package/src/core/executions/select.ts +90 -37
- package/src/core/export/__tests__/hooks.test.ts +1 -1
- package/src/core/islands/__tests__/bridge.test.ts +1 -1
- package/src/core/islands/bootstrap.ts +7 -7
- package/src/core/islands/bridge.ts +1 -1
- package/src/core/meta/__tests__/code-visibility.test.tsx +3 -2
- package/src/core/notebook/document/__tests__/codemirror.test.ts +8 -6
- package/src/core/notebook/document/__tests__/draft.test.ts +56 -58
- package/src/core/notebook/document/__tests__/fixtures.ts +8 -7
- package/src/core/notebook/document/__tests__/hooks.test.tsx +39 -35
- package/src/core/notebook/document/__tests__/lifecycle-scenarios.test.ts +8 -5
- package/src/core/notebook/document/__tests__/model.test.ts +8 -5
- package/src/core/notebook/document/__tests__/protocol-fixtures.ts +2 -2
- package/src/core/notebook/document/__tests__/recovery-scenarios.test.ts +37 -32
- package/src/core/notebook/document/__tests__/scenarios.test.ts +49 -45
- package/src/core/notebook/document/__tests__/state.test.ts +59 -56
- package/src/core/notebook/document/__tests__/submission.test.ts +15 -12
- package/src/core/notebook/document/__tests__/test-host.ts +3 -2
- package/src/core/notebook/document/__tests__/user.ts +7 -3
- package/src/core/notebook/document/draft.ts +29 -11
- package/src/core/notebook/document/state.ts +7 -6
- package/src/core/notebook/replica/__tests__/document.test.ts +9 -5
- package/src/core/notebook/replica/__tests__/executions.test.ts +90 -25
- package/src/core/notebook/replica/__tests__/fixtures.ts +6 -2
- package/src/core/notebook/replica/__tests__/frame.test.ts +206 -0
- package/src/core/notebook/replica/__tests__/once-per-frame.test.ts +95 -0
- package/src/core/notebook/replica/__tests__/replica.test.ts +53 -9
- package/src/core/notebook/replica/__tests__/results.test.ts +27 -29
- package/src/core/notebook/replica/execution-state.ts +2 -2
- package/src/core/notebook/replica/frame.ts +54 -0
- package/src/core/notebook/replica/index.ts +1 -0
- package/src/core/notebook/replica/once-per-frame.ts +60 -0
- package/src/core/notebook/replica/replica.ts +27 -6
- package/src/core/notebook/replica/resources/analysis.ts +1 -1
- package/src/core/notebook/replica/resources/document.ts +9 -8
- package/src/core/notebook/replica/resources/executions.ts +197 -78
- package/src/core/notebook/replica/resources/results.ts +8 -14
- package/src/core/saving/__tests__/document.test.tsx +1 -1
- package/src/core/saving/__tests__/state.test.ts +2 -2
- package/src/core/session/__tests__/useNotebookReplica.hook.test.tsx +55 -9
- package/src/core/session/__tests__/useNotebookSession.hook.test.tsx +230 -12
- package/src/core/session/active-notebook.ts +4 -1
- package/src/core/session/useNotebookReplica.ts +15 -2
- package/src/core/session/useNotebookSession.tsx +38 -46
- package/src/core/state/__tests__/atom-with-selected-inputs.test.ts +48 -0
- package/src/core/state/__tests__/create-keyed-selector-hook.test.tsx +137 -0
- package/src/core/state/atom-with-selected-inputs.ts +24 -0
- package/src/core/state/create-keyed-atom-hook.ts +18 -0
- package/src/core/state/create-keyed-selector-hook.ts +22 -0
- package/src/core/storage/__tests__/state.test.ts +6 -9
- package/src/core/storage/state.ts +5 -8
- package/src/core/transports/__tests__/static.test.ts +3 -2
- package/src/core/transports/static.ts +2 -2
- package/src/core/variables/state.ts +73 -68
- package/src/core/variables/types.ts +2 -2
- package/src/core/vscode/__tests__/is-in-vscode.test.ts +36 -0
- package/src/core/vscode/is-in-vscode.ts +2 -2
- package/src/core/wasm/__tests__/bridge.test.ts +73 -1
- package/src/core/wasm/bridge.ts +5 -4
- package/src/plugins/impl/TextInputPlugin.tsx +2 -1
- package/src/plugins/impl/__test__/text-labels.test.tsx +46 -1
- package/src/utils/__tests__/lazy.test.tsx +33 -0
- package/src/utils/__tests__/shared-intersection-observer.test.ts +49 -0
- package/src/utils/__tests__/shared-resource.test.ts +107 -0
- package/src/utils/arrays.ts +4 -1
- package/src/utils/lazy.tsx +74 -0
- package/src/utils/shared-intersection-observer.ts +53 -0
- package/src/utils/shared-resource.ts +59 -0
- package/src/core/variables/__tests__/state.test.ts +0 -148
- package/src/utils/lazy.ts +0 -35
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { a as e, r as t, t as n } from "./rolldown-runtime-BPCzCO3I.js";
|
|
2
|
-
import { m as r, t as i } from "./button-
|
|
2
|
+
import { m as r, t as i } from "./button-Z2R2272J.js";
|
|
3
3
|
import { t as a } from "./react-Bgs_wQh3.js";
|
|
4
4
|
import { t as o } from "./compiler-runtime-C5KHtL5D.js";
|
|
5
|
-
import { i as s, n as c, r as l } from "./copy-icon-
|
|
6
|
-
import { d as u } from "./tooltip-
|
|
7
|
-
import { c as d, d as f, i as p, n as m, s as h, t as g } from "./select-
|
|
8
|
-
import {
|
|
9
|
-
import { t as O } from "./pencil-
|
|
10
|
-
import { c as k, f as A, l as ee, n as j, o as te, s as ne, t as re, u as ie } from "./glide-utils-
|
|
11
|
-
import { i as M, n as N } from "./assertNever-
|
|
5
|
+
import { i as s, n as c, r as l } from "./copy-icon-DuxRkh7T.js";
|
|
6
|
+
import { d as u } from "./tooltip-BQZ-Bm6h.js";
|
|
7
|
+
import { c as d, d as f, i as p, n as m, s as h, t as g } from "./select-BszV-bbI.js";
|
|
8
|
+
import { d as _, g as v, i as y, l as b, n as x, o as S, p as C, s as w, t as T, u as E, xn as D } from "./dropdown-menu-BiXHfje7.js";
|
|
9
|
+
import { t as O } from "./pencil-FAv6JUvp.js";
|
|
10
|
+
import { c as k, f as A, l as ee, n as j, o as te, s as ne, t as re, u as ie } from "./glide-utils-iHKKQPJ8.js";
|
|
11
|
+
import { i as M, n as N } from "./assertNever-473SFxLt.js";
|
|
12
12
|
import { t as P } from "./react-dom-DdqGVp5N.js";
|
|
13
13
|
import { t as F } from "./jsx-runtime-D8btoEHk.js";
|
|
14
|
-
import { d as ae, r as I } from "./use-restore-focus-
|
|
14
|
+
import { d as ae, r as I } from "./use-restore-focus-DT1TZACX.js";
|
|
15
15
|
import { t as oe } from "./useEvent-BoN7U38T.js";
|
|
16
16
|
import { n as L, t as se } from "./objectWithoutPropertiesLoose-BRDcTsfB.js";
|
|
17
|
-
import { t as ce } from "./ErrorBoundary-
|
|
17
|
+
import { t as ce } from "./ErrorBoundary-C-fpcKoC.js";
|
|
18
18
|
import { A as le, C as ue, D as de, E as fe, F as pe, I as me, L as he, M as ge, N as R, O as z, P as _e, R as ve, S as ye, T as be, _ as xe, a as Se, b as B, c as Ce, d as we, f as V, g as Te, h as Ee, i as De, j as H, k as Oe, l as ke, m as Ae, n as je, o as Me, p as Ne, r as U, s as Pe, t as Fe, u as Ie, v as Le, w as Re, x as ze, y as Be, z as Ve } from "./data-grid-types-DBNnjiYJ.js";
|
|
19
19
|
//#region ../node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
|
|
20
20
|
function He(e) {
|
|
@@ -1645,7 +1645,7 @@ var Rt = ft(), zt = (e) => {
|
|
|
1645
1645
|
renderMarkdownIntoDiv() {
|
|
1646
1646
|
let { targetElement: e, props: t } = this;
|
|
1647
1647
|
if (e === null) return;
|
|
1648
|
-
let { contents: n, createNode: r } = t, i =
|
|
1648
|
+
let { contents: n, createNode: r } = t, i = C(n), a = document.createRange();
|
|
1649
1649
|
a.selectNodeContents(e), a.deleteContents();
|
|
1650
1650
|
let o = r?.(i);
|
|
1651
1651
|
if (o === void 0) {
|
|
@@ -7061,7 +7061,7 @@ function ds(e, t, n, r, i) {
|
|
|
7061
7061
|
}
|
|
7062
7062
|
//#endregion
|
|
7063
7063
|
//#region ../node_modules/.pnpm/@glideapps+glide-data-grid@6.0.4-alpha24_lodash@4.18.1_marked@15.0.12_react-dom@19.3.1__a94b4518d090e84da26f3a68e82f2953/node_modules/@glideapps/glide-data-grid/dist/esm/data-editor/data-editor.js
|
|
7064
|
-
var fs = /* @__PURE__ */ e(Tr(), 1), ps = /* @__PURE__ */ e(kr(), 1), ms = W.lazy(async () => await import("./data-grid-overlay-editor-
|
|
7064
|
+
var fs = /* @__PURE__ */ e(Tr(), 1), ps = /* @__PURE__ */ e(kr(), 1), ms = W.lazy(async () => await import("./data-grid-overlay-editor-Dl1y1kTy.js")), hs = 0;
|
|
7065
7065
|
function gs(e) {
|
|
7066
7066
|
return (0, fs.default)((0, ps.default)((0, ps.default)(e).filter((e) => e.span !== void 0).map((e) => (0, ao.default)((e.span?.[0] ?? 0) + 1, (e.span?.[1] ?? 0) + 1))));
|
|
7067
7067
|
}
|
|
@@ -9284,7 +9284,7 @@ function Ys(e, t, n, r, i) {
|
|
|
9284
9284
|
}
|
|
9285
9285
|
//#endregion
|
|
9286
9286
|
//#region ../node_modules/.pnpm/@glideapps+glide-data-grid@6.0.4-alpha24_lodash@4.18.1_marked@15.0.12_react-dom@19.3.1__a94b4518d090e84da26f3a68e82f2953/node_modules/@glideapps/glide-data-grid/dist/esm/cells/number-cell.js
|
|
9287
|
-
var Xs = W.lazy(async () => await import("./number-overlay-editor-
|
|
9287
|
+
var Xs = W.lazy(async () => await import("./number-overlay-editor-MguZuT0h.js")), Zs = {
|
|
9288
9288
|
getAccessibilityString: (e) => e.data?.toString() ?? "",
|
|
9289
9289
|
kind: U.Number,
|
|
9290
9290
|
needsHover: (e) => e.hoverEffect === !0,
|
|
@@ -13415,7 +13415,7 @@ var $ = F(), Zp = (e) => {
|
|
|
13415
13415
|
e.key === "Enter" ? l() : e.key === "Escape" && a();
|
|
13416
13416
|
}, t[4] = l, t[5] = a, t[6] = u) : u = t[6];
|
|
13417
13417
|
let d = u, p;
|
|
13418
|
-
t[7] === Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ (0, $.jsxs)(
|
|
13418
|
+
t[7] === Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ (0, $.jsxs)(_, { children: [/* @__PURE__ */ (0, $.jsx)(O, { className: "mr-2 h-3.5 w-3.5" }), "Rename column"] }), t[7] = p) : p = t[7];
|
|
13419
13419
|
let m;
|
|
13420
13420
|
t[8] === Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ (0, $.jsx)(f, {
|
|
13421
13421
|
htmlFor: "rename-input",
|
|
@@ -13424,33 +13424,33 @@ var $ = F(), Zp = (e) => {
|
|
|
13424
13424
|
let h;
|
|
13425
13425
|
t[9] === Symbol.for("react.memo_cache_sentinel") ? (h = (e) => s(e.target.value), t[9] = h) : h = t[9];
|
|
13426
13426
|
let g;
|
|
13427
|
-
t[10] !== d || t[11] !== o ? (g = /* @__PURE__ */ (0, $.jsxs)("div", { children: [m, /* @__PURE__ */ (0, $.jsx)(
|
|
13427
|
+
t[10] !== d || t[11] !== o ? (g = /* @__PURE__ */ (0, $.jsxs)("div", { children: [m, /* @__PURE__ */ (0, $.jsx)(v, {
|
|
13428
13428
|
value: o,
|
|
13429
13429
|
onChange: h,
|
|
13430
13430
|
placeholder: "Enter new column name",
|
|
13431
13431
|
className: "mt-1",
|
|
13432
13432
|
onKeyDown: d
|
|
13433
13433
|
})] }), t[10] = d, t[11] = o, t[12] = g) : g = t[12];
|
|
13434
|
-
let
|
|
13435
|
-
t[13] === o ?
|
|
13436
|
-
let
|
|
13437
|
-
t[15] !== l || t[16] !==
|
|
13434
|
+
let y;
|
|
13435
|
+
t[13] === o ? y = t[14] : (y = o.trim(), t[13] = o, t[14] = y);
|
|
13436
|
+
let x = !y, C;
|
|
13437
|
+
t[15] !== l || t[16] !== x ? (C = /* @__PURE__ */ (0, $.jsx)(i, {
|
|
13438
13438
|
onClick: l,
|
|
13439
|
-
disabled:
|
|
13439
|
+
disabled: x,
|
|
13440
13440
|
size: "sm",
|
|
13441
13441
|
className: "w-full",
|
|
13442
13442
|
children: "Rename"
|
|
13443
|
-
}), t[15] = l, t[16] =
|
|
13443
|
+
}), t[15] = l, t[16] = x, t[17] = C) : C = t[17];
|
|
13444
13444
|
let w;
|
|
13445
|
-
return t[18] !== g || t[19] !==
|
|
13445
|
+
return t[18] !== g || t[19] !== C ? (w = /* @__PURE__ */ (0, $.jsxs)(b, { children: [p, /* @__PURE__ */ (0, $.jsx)(S, { children: /* @__PURE__ */ (0, $.jsx)(E, {
|
|
13446
13446
|
className: "w-64 p-4",
|
|
13447
13447
|
children: /* @__PURE__ */ (0, $.jsxs)("div", {
|
|
13448
13448
|
className: "space-y-3",
|
|
13449
|
-
children: [g,
|
|
13449
|
+
children: [g, C]
|
|
13450
13450
|
})
|
|
13451
|
-
}) })] }), t[18] = g, t[19] =
|
|
13451
|
+
}) })] }), t[18] = g, t[19] = C, t[20] = w) : w = t[20], w;
|
|
13452
13452
|
}, Qp = (e) => {
|
|
13453
|
-
let t = (0, Yp.c)(79), { direction: n, onAdd: r, onCancel: a } = e, [o, s] = (0, W.useState)(""), [c, l] = (0, W.useState)("string"), u, p,
|
|
13453
|
+
let t = (0, Yp.c)(79), { direction: n, onAdd: r, onCancel: a } = e, [o, s] = (0, W.useState)(""), [c, l] = (0, W.useState)("string"), u, p, y, x, C, w, T, O, k, A, ee, j, te, ne, re;
|
|
13454
13454
|
if (t[0] !== o || t[1] !== c || t[2] !== n || t[3] !== r || t[4] !== a) {
|
|
13455
13455
|
let e = [
|
|
13456
13456
|
"string",
|
|
@@ -13466,13 +13466,13 @@ var $ = F(), Zp = (e) => {
|
|
|
13466
13466
|
e.key === "Enter" ? w() : e.key === "Escape" && a();
|
|
13467
13467
|
}, t[24] = w, t[25] = a, t[26] = ie) : ie = t[26];
|
|
13468
13468
|
let M = ie;
|
|
13469
|
-
|
|
13469
|
+
C = b;
|
|
13470
13470
|
let N;
|
|
13471
|
-
t[27] === Symbol.for("react.memo_cache_sentinel") ? (N = /* @__PURE__ */ (0, $.jsx)(D, { className: "mr-2 h-3.5 w-3.5" }), t[27] = N) : N = t[27], t[28] === n ? re = t[29] : (re = /* @__PURE__ */ (0, $.jsxs)(
|
|
13471
|
+
t[27] === Symbol.for("react.memo_cache_sentinel") ? (N = /* @__PURE__ */ (0, $.jsx)(D, { className: "mr-2 h-3.5 w-3.5" }), t[27] = N) : N = t[27], t[28] === n ? re = t[29] : (re = /* @__PURE__ */ (0, $.jsxs)(_, { children: [
|
|
13472
13472
|
N,
|
|
13473
13473
|
"Add column to the ",
|
|
13474
13474
|
n
|
|
13475
|
-
] }), t[28] = n, t[29] = re),
|
|
13475
|
+
] }), t[28] = n, t[29] = re), x = S, y = E, ne = "w-64 p-4", j = "space-y-3";
|
|
13476
13476
|
let P = `add-column-input-${n}`, F;
|
|
13477
13477
|
t[30] === P ? F = t[31] : (F = /* @__PURE__ */ (0, $.jsx)(f, {
|
|
13478
13478
|
htmlFor: P,
|
|
@@ -13481,7 +13481,7 @@ var $ = F(), Zp = (e) => {
|
|
|
13481
13481
|
let ae = `add-column-input-${n}`, I;
|
|
13482
13482
|
t[32] === Symbol.for("react.memo_cache_sentinel") ? (I = (e) => s(e.target.value), t[32] = I) : I = t[32];
|
|
13483
13483
|
let oe;
|
|
13484
|
-
t[33] !== o || t[34] !== M || t[35] !== ae ? (oe = /* @__PURE__ */ (0, $.jsx)(
|
|
13484
|
+
t[33] !== o || t[34] !== M || t[35] !== ae ? (oe = /* @__PURE__ */ (0, $.jsx)(v, {
|
|
13485
13485
|
id: ae,
|
|
13486
13486
|
value: o,
|
|
13487
13487
|
onChange: I,
|
|
@@ -13499,8 +13499,8 @@ var $ = F(), Zp = (e) => {
|
|
|
13499
13499
|
id: se,
|
|
13500
13500
|
className: "mt-1",
|
|
13501
13501
|
children: ce
|
|
13502
|
-
}), t[44] = se, t[45] = A), u = m, T = e.map($p), t[0] = o, t[1] = c, t[2] = n, t[3] = r, t[4] = a, t[5] = u, t[6] = p, t[7] =
|
|
13503
|
-
} else u = t[5], p = t[6],
|
|
13502
|
+
}), t[44] = se, t[45] = A), u = m, T = e.map($p), t[0] = o, t[1] = c, t[2] = n, t[3] = r, t[4] = a, t[5] = u, t[6] = p, t[7] = y, t[8] = x, t[9] = C, t[10] = w, t[11] = T, t[12] = O, t[13] = k, t[14] = A, t[15] = ee, t[16] = j, t[17] = te, t[18] = ne, t[19] = re;
|
|
13503
|
+
} else u = t[5], p = t[6], y = t[7], x = t[8], C = t[9], w = t[10], T = t[11], O = t[12], k = t[13], A = t[14], ee = t[15], j = t[16], te = t[17], ne = t[18], re = t[19];
|
|
13504
13504
|
let ie;
|
|
13505
13505
|
t[46] !== u || t[47] !== T ? (ie = /* @__PURE__ */ (0, $.jsx)(u, { children: T }), t[46] = u, t[47] = T, t[48] = ie) : ie = t[48];
|
|
13506
13506
|
let M;
|
|
@@ -13531,14 +13531,14 @@ var $ = F(), Zp = (e) => {
|
|
|
13531
13531
|
]
|
|
13532
13532
|
}), t[63] = N, t[64] = ae, t[65] = j, t[66] = te, t[67] = I) : I = t[67];
|
|
13533
13533
|
let oe;
|
|
13534
|
-
t[68] !==
|
|
13534
|
+
t[68] !== y || t[69] !== I || t[70] !== ne ? (oe = /* @__PURE__ */ (0, $.jsx)(y, {
|
|
13535
13535
|
className: ne,
|
|
13536
13536
|
children: I
|
|
13537
|
-
}), t[68] =
|
|
13537
|
+
}), t[68] = y, t[69] = I, t[70] = ne, t[71] = oe) : oe = t[71];
|
|
13538
13538
|
let L;
|
|
13539
|
-
t[72] !==
|
|
13539
|
+
t[72] !== x || t[73] !== oe ? (L = /* @__PURE__ */ (0, $.jsx)(x, { children: oe }), t[72] = x, t[73] = oe, t[74] = L) : L = t[74];
|
|
13540
13540
|
let se;
|
|
13541
|
-
return t[75] !==
|
|
13541
|
+
return t[75] !== C || t[76] !== L || t[77] !== re ? (se = /* @__PURE__ */ (0, $.jsxs)(C, { children: [re, L] }), t[75] = C, t[76] = L, t[77] = re, t[78] = se) : se = t[78], se;
|
|
13542
13542
|
};
|
|
13543
13543
|
function $p(e) {
|
|
13544
13544
|
return /* @__PURE__ */ (0, $.jsx)(p, {
|
|
@@ -13615,7 +13615,7 @@ var om = (e) => {
|
|
|
13615
13615
|
onColumnResize: o
|
|
13616
13616
|
}, s), t[4] = r, t[5] = e, t[6] = s, t[7] = c) : c = t[7], c;
|
|
13617
13617
|
}, sm = (e) => {
|
|
13618
|
-
let t = (0, Yp.c)(93), { data: n, columnFields: a, columnTypes: o, editableColumns: u, onAddEdits: d, columnWidths: f, onColumnResize: p } = e, { theme: m } = ae(), h = (0, W.useRef)(null), g = (0, W.useRef)(null), [_, v] = (0, W.useState)(), [
|
|
13618
|
+
let t = (0, Yp.c)(93), { data: n, columnFields: a, columnTypes: o, editableColumns: u, onAddEdits: d, columnWidths: f, onColumnResize: p } = e, { theme: m } = ae(), h = (0, W.useRef)(null), g = (0, W.useRef)(null), [_, v] = (0, W.useState)(), [b, S] = (0, W.useState)(!1), C;
|
|
13619
13619
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (C = {
|
|
13620
13620
|
columns: Fe.empty(),
|
|
13621
13621
|
rows: Fe.empty()
|
|
@@ -13707,7 +13707,7 @@ var om = (e) => {
|
|
|
13707
13707
|
columns: N,
|
|
13708
13708
|
editableColumns: u,
|
|
13709
13709
|
onAddEdits: d
|
|
13710
|
-
}) : r.isMetaOrCtrl(e) && e.key === "f" ? (
|
|
13710
|
+
}) : r.isMetaOrCtrl(e) && e.key === "f" ? (S(cm), e.stopPropagation(), e.preventDefault()) : e.key === "Escape" && S(!1));
|
|
13711
13711
|
}, t[20] = N, t[21] = n, t[22] = u, t[23] = d, t[24] = E, t[25] = ue) : ue = t[25];
|
|
13712
13712
|
let de = ue, fe;
|
|
13713
13713
|
t[26] !== N || t[27] !== n.length || t[28] !== d ? (fe = () => {
|
|
@@ -13824,7 +13824,7 @@ var om = (e) => {
|
|
|
13824
13824
|
onCancel: () => v(void 0)
|
|
13825
13825
|
}),
|
|
13826
13826
|
/* @__PURE__ */ (0, $.jsx)(w, {}),
|
|
13827
|
-
!V && ke && /* @__PURE__ */ (0, $.jsxs)(
|
|
13827
|
+
!V && ke && /* @__PURE__ */ (0, $.jsxs)(y, {
|
|
13828
13828
|
onClick: B,
|
|
13829
13829
|
className: "text-destructive focus:text-destructive",
|
|
13830
13830
|
children: [/* @__PURE__ */ (0, $.jsx)(A, { className: "mr-2 h-3.5 w-3.5" }), "Delete column"]
|
|
@@ -13833,13 +13833,13 @@ var om = (e) => {
|
|
|
13833
13833
|
return /* @__PURE__ */ (0, $.jsx)(T, {
|
|
13834
13834
|
open: Te,
|
|
13835
13835
|
onOpenChange: (e) => !e && v(void 0),
|
|
13836
|
-
children: /* @__PURE__ */ (0, $.jsxs)(
|
|
13836
|
+
children: /* @__PURE__ */ (0, $.jsxs)(x, {
|
|
13837
13837
|
style: {
|
|
13838
13838
|
left: _?.bounds.x ?? 0,
|
|
13839
13839
|
top: (_?.bounds.y ?? 0) + (_?.bounds.height ?? 0)
|
|
13840
13840
|
},
|
|
13841
13841
|
className: "fixed w-52",
|
|
13842
|
-
children: [/* @__PURE__ */ (0, $.jsxs)(
|
|
13842
|
+
children: [/* @__PURE__ */ (0, $.jsxs)(y, {
|
|
13843
13843
|
onClick: _e,
|
|
13844
13844
|
children: [/* @__PURE__ */ (0, $.jsx)(l, { className: "mr-2 h-3.5 w-3.5" }), "Copy column name"]
|
|
13845
13845
|
}), !Oe && e]
|
|
@@ -13855,7 +13855,7 @@ var om = (e) => {
|
|
|
13855
13855
|
let Be;
|
|
13856
13856
|
t[65] === m ? Be = t[66] : (Be = Xp(m), t[65] = m, t[66] = Be);
|
|
13857
13857
|
let Ve;
|
|
13858
|
-
t[67] !== N || t[68] !== n.length || t[69] !== F || t[70] !== L || t[71] !== p || t[72] !== R || t[73] !== de || t[74] !== pe || t[75] !== E || t[76] !==
|
|
13858
|
+
t[67] !== N || t[68] !== n.length || t[69] !== F || t[70] !== L || t[71] !== p || t[72] !== R || t[73] !== de || t[74] !== pe || t[75] !== E || t[76] !== b || t[77] !== Ie || t[78] !== Le || t[79] !== Re || t[80] !== Be || t[81] !== le ? (Ve = /* @__PURE__ */ (0, $.jsx)(ce, { children: /* @__PURE__ */ (0, $.jsx)(uc, {
|
|
13859
13859
|
ref: h,
|
|
13860
13860
|
portalElementRef: g,
|
|
13861
13861
|
getCellContent: F,
|
|
@@ -13870,7 +13870,7 @@ var om = (e) => {
|
|
|
13870
13870
|
validateCell: le,
|
|
13871
13871
|
getCellsForSelection: !0,
|
|
13872
13872
|
onPaste: !0,
|
|
13873
|
-
showSearch:
|
|
13873
|
+
showSearch: b,
|
|
13874
13874
|
fillHandle: !0,
|
|
13875
13875
|
allowedFillDirections: "vertical",
|
|
13876
13876
|
onKeyDown: de,
|
|
@@ -13886,7 +13886,7 @@ var om = (e) => {
|
|
|
13886
13886
|
onRowAppended: pe,
|
|
13887
13887
|
maxColumnAutoWidth: 600,
|
|
13888
13888
|
maxColumnWidth: 600
|
|
13889
|
-
}) }), t[67] = N, t[68] = n.length, t[69] = F, t[70] = L, t[71] = p, t[72] = R, t[73] = de, t[74] = pe, t[75] = E, t[76] =
|
|
13889
|
+
}) }), t[67] = N, t[68] = n.length, t[69] = F, t[70] = L, t[71] = p, t[72] = R, t[73] = de, t[74] = pe, t[75] = E, t[76] = b, t[77] = Ie, t[78] = Le, t[79] = Re, t[80] = Be, t[81] = le, t[82] = Ve) : Ve = t[82];
|
|
13890
13890
|
let He;
|
|
13891
13891
|
t[83] === je ? He = t[84] : (He = je(), t[83] = je, t[84] = He);
|
|
13892
13892
|
let Ue = E.rows.length === 0, We = E.rows.length <= 1 ? "Delete row" : "Delete rows", Ge;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-BPCzCO3I.js";
|
|
2
|
-
import { g as t } from "./button-
|
|
3
|
-
import { h as n } from "./tooltip-
|
|
4
|
-
import { n as r } from "./assertNever-
|
|
2
|
+
import { g as t } from "./button-Z2R2272J.js";
|
|
3
|
+
import { h as n } from "./tooltip-BQZ-Bm6h.js";
|
|
4
|
+
import { n as r } from "./assertNever-473SFxLt.js";
|
|
5
5
|
import { i, r as a } from "./data-grid-types-DBNnjiYJ.js";
|
|
6
6
|
var o = n("trash", [
|
|
7
7
|
["path", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h as e } from "./tooltip-
|
|
2
|
-
import { Ct as t } from "./use-restore-focus-
|
|
3
|
-
import { r as n } from "./code-visibility-
|
|
1
|
+
import { h as e } from "./tooltip-BQZ-Bm6h.js";
|
|
2
|
+
import { Ct as t } from "./use-restore-focus-DT1TZACX.js";
|
|
3
|
+
import { r as n } from "./code-visibility-D4FVcpUd.js";
|
|
4
4
|
var r = e("triangle-alert", [
|
|
5
5
|
["path", {
|
|
6
6
|
d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
|