@marimo-team/islands 0.22.1-dev3 → 0.22.1-dev30
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-Dl1grr8z.js → ConnectedDataExplorerComponent-DTOsfq2x.js} +54 -54
- 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-eH46RYWT.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-VgPtWvhu.js} +63 -63
- 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-3c9hT4kT.js → loader-Bd1kgLn7.js} +19 -16
- package/dist/main.js +2602 -2594
- 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-BbUNe4iH.js} +3181 -3204
- 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-CiHus5Bb.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-BzYZtEK7.js} +4 -4
- 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-X7clcrcQ.js → useDeepCompareMemoize-iM1YNTEF.js} +4 -4
- package/dist/{useIframeCapabilities-BVQrlRBd.js → useIframeCapabilities-CqhrVue6.js} +1 -1
- package/dist/{useLifecycle-Dids8BPm.js → useLifecycle-DgDTfOLZ.js} +9 -9
- package/dist/{useTheme-Dm1WaAGy.js → useTheme-MWfxn4oz.js} +4 -5
- package/dist/{vega-component-A6unyUJS.js → vega-component-CkpTXaRx.js} +23 -23
- 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/__tests__/branded.ts +6 -0
- 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 +69 -22
- package/src/components/chat/acp/agent-selector.tsx +2 -11
- package/src/components/chat/acp/state.ts +14 -2
- package/src/components/chat/chat-panel.tsx +2 -1
- package/src/components/data-table/TableBottomBar.tsx +12 -1
- package/src/components/data-table/TableTopBar.tsx +31 -35
- package/src/components/data-table/cell-selection/types.ts +3 -2
- package/src/components/data-table/charts/charts.tsx +42 -13
- 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 +3 -2
- package/src/components/data-table/column-header.tsx +4 -2
- package/src/components/data-table/column-wrapping/types.ts +3 -2
- package/src/components/data-table/columns.tsx +4 -1
- package/src/components/data-table/copy-column/types.ts +3 -2
- package/src/components/data-table/data-table.tsx +6 -1
- package/src/components/data-table/focus-row/types.ts +3 -2
- package/src/components/data-table/loading-table.tsx +4 -1
- package/src/components/data-table/range-focus/__tests__/atoms.test.ts +11 -11
- package/src/components/data-table/range-focus/__tests__/use-cell-range-selection.test.ts +9 -11
- package/src/components/data-table/range-focus/cell-selection-stats.tsx +3 -1
- 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/editor/__tests__/data-attributes.test.tsx +93 -94
- package/src/components/editor/actions/name-cell-input.tsx +4 -2
- package/src/components/editor/actions/useCellActionButton.tsx +4 -2
- package/src/components/editor/ai/add-cell-with-ai.tsx +2 -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 +2 -1
- 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/file-explorer-panel.tsx +0 -10
- 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/header/filename-input.tsx +4 -1
- package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +11 -12
- package/src/components/storage/__tests__/storage-snippets.test.ts +4 -6
- 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 +4 -3
- 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 +4 -1
- 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/core/ai/context/providers/cell-output.ts +1 -2
- package/src/core/ai/tools/edit-notebook-tool.ts +4 -3
- 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__/apply-transaction.test.ts +12 -11
- package/src/core/cells/__tests__/cell.test.ts +14 -13
- package/src/core/cells/document-changes.ts +9 -9
- package/src/core/cells/logs.ts +1 -1
- package/src/core/codemirror/cells/__tests__/extensions.test.ts +15 -17
- package/src/core/codemirror/copilot/__tests__/transport.test.ts +128 -2
- package/src/core/codemirror/copilot/client.ts +9 -2
- package/src/core/codemirror/copilot/language-server.ts +11 -0
- package/src/core/codemirror/copilot/transport.ts +33 -8
- 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-sources.tsx +4 -6
- package/src/core/codemirror/language/languages/sql/sql.ts +1 -3
- package/src/core/codemirror/language/panel/sql.tsx +4 -1
- package/src/core/codemirror/reactive-references/__tests__/analyzer.test.ts +28 -42
- 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 +0 -2
- package/src/core/datasets/data-source-connections.ts +4 -2
- package/src/core/dom/__tests__/htmlUtils.test.ts +8 -14
- package/src/core/dom/__tests__/outline.test.ts +2 -3
- package/src/core/edit-app.tsx +4 -1
- package/src/core/islands/__tests__/bridge.test.ts +20 -10
- package/src/core/islands/__tests__/parse.test.ts +8 -7
- package/src/core/network/__tests__/requests-lazy.test.ts +30 -14
- 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/websocket/useMarimoKernelConnection.tsx +5 -11
- package/src/core/websocket/useWebSocket.tsx +3 -1
- package/src/css/app/Cell.css +25 -1
- package/src/css/globals.css +40 -14
- package/src/css/table.css +17 -0
- package/src/plugins/core/BadPlugin.tsx +7 -6
- package/src/plugins/impl/CheckboxPlugin.tsx +4 -1
- package/src/plugins/impl/DataEditorPlugin.tsx +8 -3
- package/src/plugins/impl/DataTablePlugin.tsx +5 -1
- package/src/plugins/impl/FormPlugin.tsx +1 -2
- package/src/plugins/impl/__tests__/DataTablePlugin.test.tsx +4 -1
- package/src/plugins/impl/__tests__/SliderPlugin.test.tsx +43 -15
- package/src/plugins/impl/anywidget/AnyWidgetPlugin.tsx +2 -11
- package/src/plugins/impl/chat/chat-ui.tsx +4 -1
- package/src/plugins/impl/data-frames/forms/__tests__/form.test.tsx +7 -9
- package/src/plugins/impl/plotly/PlotlyPlugin.tsx +12 -68
- package/src/plugins/impl/plotly/__tests__/selection.test.ts +237 -0
- package/src/plugins/impl/plotly/selection.ts +118 -0
- package/src/plugins/impl/vega/__tests__/make-selectable.test.ts +13 -14
- package/src/plugins/impl/vega/__tests__/utils.test.ts +68 -0
- package/src/plugins/impl/vega/utils.ts +14 -5
- package/src/plugins/impl/vega/vega.css +2 -1
- package/src/plugins/layout/ImageComparisonPlugin.tsx +1 -3
- package/src/plugins/stateless-plugin.ts +4 -2
- package/src/utils/__tests__/cell-urls.test.ts +24 -21
- package/src/utils/__tests__/filenames.test.ts +15 -14
- package/src/utils/__tests__/json-parser.test.ts +14 -21
- package/src/utils/__tests__/path.test.ts +34 -31
- package/src/utils/__tests__/urls.test.ts +19 -18
- package/src/utils/json/base64.ts +2 -5
- package/src/utils/time.ts +4 -2
- package/src/utils/tracer.ts +1 -0
- package/src/utils/typed.ts +2 -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/{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
|
@@ -184,9 +184,8 @@ it("can convert json to markdown - with URLs", () => {
|
|
|
184
184
|
`);
|
|
185
185
|
|
|
186
186
|
// Mixed content - URL and text in same cell
|
|
187
|
-
expect(
|
|
188
|
-
|
|
189
|
-
).toMatchInlineSnapshot(`
|
|
187
|
+
expect(jsonToMarkdown([{ info: "Visit https://example.com for more" }]))
|
|
188
|
+
.toMatchInlineSnapshot(`
|
|
190
189
|
"| info |
|
|
191
190
|
|---|
|
|
192
191
|
| Visit [https://example.com](https://example.com) for more |"
|
|
@@ -203,9 +202,8 @@ it("can convert json to markdown - with URLs", () => {
|
|
|
203
202
|
});
|
|
204
203
|
|
|
205
204
|
it("can convert json to markdown - handles nulls and undefined", () => {
|
|
206
|
-
expect(
|
|
207
|
-
|
|
208
|
-
).toMatchInlineSnapshot(`
|
|
205
|
+
expect(jsonToMarkdown([{ a: null, b: undefined, c: 1 }]))
|
|
206
|
+
.toMatchInlineSnapshot(`
|
|
209
207
|
"| a | b | c |
|
|
210
208
|
|---|---|---|
|
|
211
209
|
| | | 1 |"
|
|
@@ -226,18 +224,16 @@ it("can convert json to markdown - handles nulls and undefined", () => {
|
|
|
226
224
|
|
|
227
225
|
it("can convert json to markdown - handles special characters", () => {
|
|
228
226
|
// Pipes need to be escaped since they're markdown table delimiters
|
|
229
|
-
expect(
|
|
230
|
-
|
|
231
|
-
).toMatchInlineSnapshot(`
|
|
227
|
+
expect(jsonToMarkdown([{ a: "value|with|pipes", b: "normal" }]))
|
|
228
|
+
.toMatchInlineSnapshot(`
|
|
232
229
|
"| a | b |
|
|
233
230
|
|---|---|
|
|
234
231
|
| value\\|with\\|pipes | normal |"
|
|
235
232
|
`);
|
|
236
233
|
|
|
237
234
|
// Newlines should be replaced with spaces
|
|
238
|
-
expect(
|
|
239
|
-
|
|
240
|
-
).toMatchInlineSnapshot(`
|
|
235
|
+
expect(jsonToMarkdown([{ a: "line1\nline2", b: "normal" }]))
|
|
236
|
+
.toMatchInlineSnapshot(`
|
|
241
237
|
"| a | b |
|
|
242
238
|
|---|---|
|
|
243
239
|
| line1 line2 | normal |"
|
|
@@ -252,9 +248,8 @@ it("can convert json to markdown - handles special characters", () => {
|
|
|
252
248
|
});
|
|
253
249
|
|
|
254
250
|
it("can convert json to markdown - handles different data types", () => {
|
|
255
|
-
expect(
|
|
256
|
-
|
|
257
|
-
).toMatchInlineSnapshot(`
|
|
251
|
+
expect(jsonToMarkdown([{ str: "text", num: 42, bool: true, nil: null }]))
|
|
252
|
+
.toMatchInlineSnapshot(`
|
|
258
253
|
"| str | num | bool | nil |
|
|
259
254
|
|---|---|---|---|
|
|
260
255
|
| text | 42 | true | |"
|
|
@@ -282,9 +277,8 @@ it("can convert json to markdown - handles different data types", () => {
|
|
|
282
277
|
| [1,2,3] |"
|
|
283
278
|
`);
|
|
284
279
|
|
|
285
|
-
expect(
|
|
286
|
-
|
|
287
|
-
).toMatchInlineSnapshot(`
|
|
280
|
+
expect(jsonToMarkdown([{ data: { nested: "value" } }]))
|
|
281
|
+
.toMatchInlineSnapshot(`
|
|
288
282
|
"| data |
|
|
289
283
|
|---|
|
|
290
284
|
| {"nested":"value"} |"
|
|
@@ -293,9 +287,8 @@ it("can convert json to markdown - handles different data types", () => {
|
|
|
293
287
|
|
|
294
288
|
it("can convert json to markdown - handles existing markdown links", () => {
|
|
295
289
|
// When input already contains a markdown link, it should be preserved as-is
|
|
296
|
-
expect(
|
|
297
|
-
|
|
298
|
-
).toMatchInlineSnapshot(`
|
|
290
|
+
expect(jsonToMarkdown([{ link: "[Google](https://google.com)" }]))
|
|
291
|
+
.toMatchInlineSnapshot(`
|
|
299
292
|
"| link |
|
|
300
293
|
|---|
|
|
301
294
|
| [Google](https://google.com) |"
|
|
@@ -170,36 +170,39 @@ describe("PathBuilder", () => {
|
|
|
170
170
|
});
|
|
171
171
|
|
|
172
172
|
describe("edge case filenames", () => {
|
|
173
|
-
it.each(
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
)(
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
173
|
+
it.each(EDGE_CASE_FILENAMES)(
|
|
174
|
+
"should handle unicode and spaces in basename: %s",
|
|
175
|
+
(filename) => {
|
|
176
|
+
const basename = Paths.basename(filename);
|
|
177
|
+
expect(basename).toBe(filename);
|
|
178
|
+
expect(typeof basename).toBe("string");
|
|
179
|
+
expect(basename).not.toBe("");
|
|
180
|
+
},
|
|
181
|
+
);
|
|
182
|
+
|
|
183
|
+
it.each(EDGE_CASE_FILENAMES)(
|
|
184
|
+
"should handle unicode and spaces in dirname: %s",
|
|
185
|
+
(filename) => {
|
|
186
|
+
const fullPath = `/path/to/${filename}`;
|
|
187
|
+
const dirname = Paths.dirname(fullPath);
|
|
188
|
+
expect(dirname).toBe("/path/to");
|
|
189
|
+
},
|
|
190
|
+
);
|
|
191
|
+
|
|
192
|
+
it.each(EDGE_CASE_FILENAMES)(
|
|
193
|
+
"should handle unicode and spaces in path operations: %s",
|
|
194
|
+
(filename) => {
|
|
195
|
+
const baseName = Paths.basename(filename);
|
|
196
|
+
const extension = Paths.extension(filename);
|
|
197
|
+
|
|
198
|
+
// Should preserve unicode characters in basename
|
|
199
|
+
expect(baseName).toContain(filename.split(".")[0]);
|
|
200
|
+
|
|
201
|
+
// Should correctly extract extension
|
|
202
|
+
if (filename.includes(".")) {
|
|
203
|
+
expect(extension).toBe(filename.split(".").pop());
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
);
|
|
204
207
|
});
|
|
205
208
|
});
|
|
@@ -14,24 +14,25 @@ describe("isUrl", () => {
|
|
|
14
14
|
});
|
|
15
15
|
|
|
16
16
|
describe("URL parameter handling with edge case filenames", () => {
|
|
17
|
-
it.each(
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
17
|
+
it.each(EDGE_CASE_FILENAMES)(
|
|
18
|
+
"should handle unicode filenames in URL parameters: %s",
|
|
19
|
+
(filename) => {
|
|
20
|
+
// Test that updateQueryParams can handle unicode filenames
|
|
21
|
+
updateQueryParams((params) => {
|
|
22
|
+
params.set("file", filename);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
// Verify URL encoding/decoding works with unicode
|
|
26
|
+
const encoded = encodeURIComponent(filename);
|
|
27
|
+
const decoded = decodeURIComponent(encoded);
|
|
28
|
+
expect(decoded).toBe(filename);
|
|
29
|
+
|
|
30
|
+
// Verify filename can be safely added to URL parameters
|
|
31
|
+
const url = new URL("https://example.com");
|
|
32
|
+
url.searchParams.set("file", filename);
|
|
33
|
+
expect(url.searchParams.get("file")).toBe(filename);
|
|
34
|
+
},
|
|
35
|
+
);
|
|
35
36
|
|
|
36
37
|
it("should preserve unicode in query string round-trip", () => {
|
|
37
38
|
EDGE_CASE_FILENAMES.forEach((filename) => {
|
package/src/utils/json/base64.ts
CHANGED
|
@@ -71,7 +71,6 @@ function base64ToUint8ArrayFallback(bytes: string): Uint8Array {
|
|
|
71
71
|
* Uses native Uint8Array.fromBase64 if available, otherwise falls back to manual implementation.
|
|
72
72
|
*/
|
|
73
73
|
export const base64ToUint8Array: (bytes: Base64String) => Uint8Array =
|
|
74
|
-
// @ts-expect-error - Uint8Array.fromBase64 types coming in TypeScript 5.10+
|
|
75
74
|
Uint8Array.fromBase64 ?? base64ToUint8ArrayFallback;
|
|
76
75
|
|
|
77
76
|
/**
|
|
@@ -100,10 +99,8 @@ function uint8ArrayToBase64Fallback(binary: Uint8Array): Base64String {
|
|
|
100
99
|
* Uses native Uint8Array.prototype.toBase64 if available, otherwise falls back to manual implementation.
|
|
101
100
|
*/
|
|
102
101
|
export const uint8ArrayToBase64: (binary: Uint8Array) => Base64String =
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
? // @ts-expect-error - Uint8Array.prototype.toBase64 types coming in TypeScript 5.10+
|
|
106
|
-
(binary) => binary.toBase64()
|
|
102
|
+
"toBase64" in Uint8Array.prototype
|
|
103
|
+
? (binary) => binary.toBase64() as Base64String
|
|
107
104
|
: uint8ArrayToBase64Fallback;
|
|
108
105
|
|
|
109
106
|
/**
|
package/src/utils/time.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
/* Copyright 2026 Marimo. All rights reserved. */
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
import type { TypedNumber } from "./typed";
|
|
4
4
|
|
|
5
|
-
export type
|
|
5
|
+
export type Milliseconds = TypedNumber<"milliseconds">;
|
|
6
|
+
|
|
7
|
+
export type Seconds = TypedNumber<"seconds">;
|
|
6
8
|
|
|
7
9
|
export class Time {
|
|
8
10
|
private readonly ms: Milliseconds;
|
package/src/utils/tracer.ts
CHANGED
package/src/utils/typed.ts
CHANGED
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
* This is a compile-time type only and does not exist at runtime.
|
|
6
6
|
* It is used to distinguish between different types of numbers.
|
|
7
7
|
*/
|
|
8
|
-
export type TypedNumber<T> = number & {
|
|
8
|
+
export type TypedNumber<T> = number & { __brand: T };
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* A typed string.
|
|
12
12
|
* This is a compile-time type only and does not exist at runtime.
|
|
13
13
|
* It is used to distinguish between different types of strings.
|
|
14
14
|
*/
|
|
15
|
-
export type TypedString<T> = string & {
|
|
15
|
+
export type TypedString<T> = string & { __brand: T };
|
|
16
16
|
|
|
17
17
|
export type Identified<T> = { id: string } & T;
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { B as isArray_default, C as isArrayLike_default, H as _baseGetTag_default, R as identity_default, S as _isIterateeCall_default, T as _baseRest_default, V as isObjectLike_default, f as keysIn_default, k as eq_default } from "./isArrayLikeObject-C-hFPChh.js";
|
|
2
|
-
import { t as isSymbol_default } from "./isSymbol-DFp8040B.js";
|
|
3
|
-
import { i as _castPath_default, n as _baseGet_default, s as _arrayMap_default } from "./get-CqrzlV1v.js";
|
|
4
|
-
import { n as toFinite_default, t as _baseSet_default } from "./_baseSet-xgn1IbGV.js";
|
|
5
|
-
import { C as keys_default, E as _baseFindIndex_default, S as _baseFlatten_default, f as _baseIteratee_default, h as _hasPath_default, u as _baseEach_default } from "./_baseUniq-B4eL5sTC.js";
|
|
6
|
-
function toInteger(f) {
|
|
7
|
-
var V = toFinite_default(f), H = V % 1;
|
|
8
|
-
return V === V ? H ? V - H : V : 0;
|
|
9
|
-
}
|
|
10
|
-
var toInteger_default = toInteger;
|
|
11
|
-
function flatten(f) {
|
|
12
|
-
return f != null && f.length ? _baseFlatten_default(f, 1) : [];
|
|
13
|
-
}
|
|
14
|
-
var flatten_default = flatten, objectProto = Object.prototype, hasOwnProperty$1 = objectProto.hasOwnProperty, defaults_default = _baseRest_default(function(f, V) {
|
|
15
|
-
f = Object(f);
|
|
16
|
-
var H = -1, U = V.length, G = U > 2 ? V[2] : void 0;
|
|
17
|
-
for (G && _isIterateeCall_default(V[0], V[1], G) && (U = 1); ++H < U; ) for (var K = V[H], Y = keysIn_default(K), X = -1, Z = Y.length; ++X < Z; ) {
|
|
18
|
-
var Q = Y[X], $ = f[Q];
|
|
19
|
-
($ === void 0 || eq_default($, objectProto[Q]) && !hasOwnProperty$1.call(f, Q)) && (f[Q] = K[Q]);
|
|
20
|
-
}
|
|
21
|
-
return f;
|
|
22
|
-
});
|
|
23
|
-
function last(f) {
|
|
24
|
-
var V = f == null ? 0 : f.length;
|
|
25
|
-
return V ? f[V - 1] : void 0;
|
|
26
|
-
}
|
|
27
|
-
var last_default = last;
|
|
28
|
-
function createFind(f) {
|
|
29
|
-
return function(H, U, W) {
|
|
30
|
-
var G = Object(H);
|
|
31
|
-
if (!isArrayLike_default(H)) {
|
|
32
|
-
var K = _baseIteratee_default(U, 3);
|
|
33
|
-
H = keys_default(H), U = function(f2) {
|
|
34
|
-
return K(G[f2], f2, G);
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
var q = f(H, U, W);
|
|
38
|
-
return q > -1 ? G[K ? H[q] : q] : void 0;
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
var _createFind_default = createFind, nativeMax = Math.max;
|
|
42
|
-
function findIndex(f, V, H) {
|
|
43
|
-
var U = f == null ? 0 : f.length;
|
|
44
|
-
if (!U) return -1;
|
|
45
|
-
var W = H == null ? 0 : toInteger_default(H);
|
|
46
|
-
return W < 0 && (W = nativeMax(U + W, 0)), _baseFindIndex_default(f, _baseIteratee_default(V, 3), W);
|
|
47
|
-
}
|
|
48
|
-
var find_default = _createFind_default(findIndex);
|
|
49
|
-
function baseMap(f, H) {
|
|
50
|
-
var U = -1, W = isArrayLike_default(f) ? Array(f.length) : [];
|
|
51
|
-
return _baseEach_default(f, function(f2, V, G) {
|
|
52
|
-
W[++U] = H(f2, V, G);
|
|
53
|
-
}), W;
|
|
54
|
-
}
|
|
55
|
-
var _baseMap_default = baseMap;
|
|
56
|
-
function map(V, H) {
|
|
57
|
-
return (isArray_default(V) ? _arrayMap_default : _baseMap_default)(V, _baseIteratee_default(H, 3));
|
|
58
|
-
}
|
|
59
|
-
var map_default = map, hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
60
|
-
function baseHas(f, V) {
|
|
61
|
-
return f != null && hasOwnProperty.call(f, V);
|
|
62
|
-
}
|
|
63
|
-
var _baseHas_default = baseHas;
|
|
64
|
-
function has(f, V) {
|
|
65
|
-
return f != null && _hasPath_default(f, V, _baseHas_default);
|
|
66
|
-
}
|
|
67
|
-
var has_default = has, stringTag = "[object String]";
|
|
68
|
-
function isString(V) {
|
|
69
|
-
return typeof V == "string" || !isArray_default(V) && isObjectLike_default(V) && _baseGetTag_default(V) == stringTag;
|
|
70
|
-
}
|
|
71
|
-
var isString_default = isString;
|
|
72
|
-
function baseLt(f, V) {
|
|
73
|
-
return f < V;
|
|
74
|
-
}
|
|
75
|
-
var _baseLt_default = baseLt;
|
|
76
|
-
function baseExtremum(f, V, H) {
|
|
77
|
-
for (var U = -1, W = f.length; ++U < W; ) {
|
|
78
|
-
var G = f[U], K = V(G);
|
|
79
|
-
if (K != null && (q === void 0 ? K === K && !isSymbol_default(K) : H(K, q))) var q = K, J = G;
|
|
80
|
-
}
|
|
81
|
-
return J;
|
|
82
|
-
}
|
|
83
|
-
var _baseExtremum_default = baseExtremum;
|
|
84
|
-
function min(f) {
|
|
85
|
-
return f && f.length ? _baseExtremum_default(f, identity_default, _baseLt_default) : void 0;
|
|
86
|
-
}
|
|
87
|
-
var min_default = min;
|
|
88
|
-
function basePickBy(f, V, H) {
|
|
89
|
-
for (var U = -1, W = V.length, G = {}; ++U < W; ) {
|
|
90
|
-
var K = V[U], q = _baseGet_default(f, K);
|
|
91
|
-
H(q, K) && _baseSet_default(G, _castPath_default(K, f), q);
|
|
92
|
-
}
|
|
93
|
-
return G;
|
|
94
|
-
}
|
|
95
|
-
var _basePickBy_default = basePickBy;
|
|
96
|
-
export {
|
|
97
|
-
isString_default as a,
|
|
98
|
-
_baseMap_default as c,
|
|
99
|
-
defaults_default as d,
|
|
100
|
-
flatten_default as f,
|
|
101
|
-
_baseLt_default as i,
|
|
102
|
-
find_default as l,
|
|
103
|
-
min_default as n,
|
|
104
|
-
has_default as o,
|
|
105
|
-
toInteger_default as p,
|
|
106
|
-
_baseExtremum_default as r,
|
|
107
|
-
map_default as s,
|
|
108
|
-
_basePickBy_default as t,
|
|
109
|
-
last_default as u
|
|
110
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { O as _assignValue_default, j as _isIndex_default, z as isObject_default } from "./isArrayLikeObject-C-hFPChh.js";
|
|
2
|
-
import { i as _castPath_default, r as _toKey_default } from "./get-CqrzlV1v.js";
|
|
3
|
-
import { t as toNumber_default } from "./toNumber-xFPoy1OI.js";
|
|
4
|
-
var INFINITY = Infinity, MAX_INTEGER = 17976931348623157e292;
|
|
5
|
-
function toFinite(e) {
|
|
6
|
-
return e ? (e = toNumber_default(e), e === INFINITY || e === -INFINITY ? (e < 0 ? -1 : 1) * MAX_INTEGER : e === e ? e : 0) : e === 0 ? e : 0;
|
|
7
|
-
}
|
|
8
|
-
var toFinite_default = toFinite;
|
|
9
|
-
function baseSet(a, o, s, c) {
|
|
10
|
-
if (!isObject_default(a)) return a;
|
|
11
|
-
o = _castPath_default(o, a);
|
|
12
|
-
for (var l = -1, u = o.length, d = u - 1, f = a; f != null && ++l < u; ) {
|
|
13
|
-
var p = _toKey_default(o[l]), m = s;
|
|
14
|
-
if (p === "__proto__" || p === "constructor" || p === "prototype") return a;
|
|
15
|
-
if (l != d) {
|
|
16
|
-
var h = f[p];
|
|
17
|
-
m = c ? c(h, p, f) : void 0, m === void 0 && (m = isObject_default(h) ? h : _isIndex_default(o[l + 1]) ? [] : {});
|
|
18
|
-
}
|
|
19
|
-
_assignValue_default(f, p, m), f = f[p];
|
|
20
|
-
}
|
|
21
|
-
return a;
|
|
22
|
-
}
|
|
23
|
-
var _baseSet_default = baseSet;
|
|
24
|
-
export {
|
|
25
|
-
toFinite_default as n,
|
|
26
|
-
_baseSet_default as t
|
|
27
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./worker-D10K3OOz.js";var t=e(((e,t)=>{t.exports={}}));export default t();
|
package/dist/dist-B0R_ZM4-.js
DELETED
package/dist/dist-B4a9_9pj.js
DELETED
package/dist/dist-BCSUKEwO.js
DELETED
package/dist/dist-BONIDQq6.js
DELETED