@marimo-team/islands 0.20.5-dev7 → 0.20.5-dev70
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/{Combination-Du-o_hC9.js → Combination-Dk6JxauT.js} +1 -1
- package/dist/{ConnectedDataExplorerComponent-DUS-zJoR.js → ConnectedDataExplorerComponent-DzTQ52Zs.js} +11 -11
- package/dist/{_baseIsEqual-5cAxzk6f.js → _baseIsEqual-CvgsjYoW.js} +38 -38
- package/dist/{_basePickBy-3JVb5wYm.js → _basePickBy-pTDW2_2A.js} +6 -6
- package/dist/{_baseUniq-DSSiFuIJ.js → _baseUniq-BUFhl85h.js} +1 -1
- package/dist/{any-language-editor-BL9o7y0_.js → any-language-editor-BIj11a2e.js} +19 -19
- package/dist/{architecture-7HQA4BMR-BxkNpYRp.js → architecture-7HQA4BMR-BmtmhGMc.js} +2 -2
- package/dist/{architectureDiagram-VXUJARFQ-DrJeyFHq.js → architectureDiagram-VXUJARFQ-Df0FNeBR.js} +14 -14
- package/dist/{blockDiagram-VD42YOAC-BJrP6qKc.js → blockDiagram-VD42YOAC-DszWqlLz.js} +7 -7
- package/dist/{button-KYalaJYu.js → button-DQpBib29.js} +24 -11
- package/dist/{c4Diagram-YG6GDRKO-Bo4gytQ5.js → c4Diagram-YG6GDRKO-Dyj8LoUX.js} +4 -4
- package/dist/{channel-IWLGkaBE.js → channel-CUFaIkTh.js} +1 -1
- package/dist/{check-C50jsehH.js → check-DpqPQmzz.js} +1 -1
- package/dist/{chunk-4F5CHEZ2-CxKDFd-t.js → chunk-4F5CHEZ2-CRwwZ2ED.js} +1 -1
- package/dist/{chunk-ABZYJK2D-CRwanrkd.js → chunk-ABZYJK2D-7QYXAAhe.js} +1 -1
- package/dist/{chunk-ATLVNIR6-CMMCMvOK.js → chunk-ATLVNIR6-pmHPAPSd.js} +1 -1
- package/dist/{chunk-B2363JML-e_W7KW1D.js → chunk-B2363JML-BuBMltZc.js} +1 -1
- package/dist/{chunk-B4BG7PRW-BNsHrGHG.js → chunk-B4BG7PRW-Dbta9cTX.js} +4 -4
- package/dist/{chunk-DI55MBZ5-DQeYbfMV.js → chunk-DI55MBZ5-DyKB35wC.js} +4 -4
- package/dist/{chunk-EXTU4WIE-CV_DQeaX.js → chunk-EXTU4WIE-BRFl4iNd.js} +1 -1
- package/dist/{chunk-FRFDVMJY-C7q09nvl.js → chunk-FRFDVMJY-Bk2LD5Te.js} +1 -1
- package/dist/{chunk-JA3XYJ7Z-Cmt--e0q.js → chunk-JA3XYJ7Z-BkrY9SdL.js} +2 -2
- package/dist/{chunk-JZLCHNYA-CkyMJnI9.js → chunk-JZLCHNYA-Bk_Lil-q.js} +4 -4
- package/dist/{chunk-N4CR4FBY-BJfHtJbD.js → chunk-N4CR4FBY-f5n6meOd.js} +5 -5
- package/dist/{chunk-PL6DKKU2-ChKBqnoD.js → chunk-PL6DKKU2-DiFkzMfM.js} +1 -1
- package/dist/{chunk-QN33PNHL-WOLIPUAJ.js → chunk-QN33PNHL-CXfJywHv.js} +1 -1
- package/dist/{chunk-QXUST7PY-DYuD50pU.js → chunk-QXUST7PY-D7-26sj3.js} +5 -5
- package/dist/{chunk-S3R3BYOJ-CsnX6RKs.js → chunk-S3R3BYOJ-BRT9vd1R.js} +3 -3
- package/dist/{chunk-SJTYNZTY-j6_1s5om.js → chunk-SJTYNZTY-BvVkbShU.js} +1 -1
- package/dist/{chunk-TCCFYFTB-DdLCbCTn.js → chunk-TCCFYFTB-DqxhgXG0.js} +31 -31
- package/dist/{chunk-TQ3KTPDO-CGsUIC73.js → chunk-TQ3KTPDO-CPkEruAA.js} +1 -1
- package/dist/{chunk-TZMSLE5B-B3eYTGCw.js → chunk-TZMSLE5B-DSfBOnzx.js} +1 -1
- package/dist/{chunk-UMXZTB3W--LdAK3Bv.js → chunk-UMXZTB3W-C4ypIY3V.js} +1 -1
- package/dist/{classDiagram-v2-WZHVMYZB-UTw37Gg8.js → classDiagram-2ON5EDUG-DphiMW3Y.js} +10 -10
- package/dist/{classDiagram-2ON5EDUG-C7C-oefv.js → classDiagram-v2-WZHVMYZB-BH1x5h4a.js} +10 -10
- package/dist/{clone-BJrS4PdE.js → clone-CEQ-pda1.js} +1 -1
- package/dist/{constants-D1Tbg_6B.js → constants-CytQ_3LM.js} +3 -3
- package/dist/{copy-oc-FcZzt.js → copy-BkBF0Xgk.js} +2 -2
- package/dist/{dagre-6UL2VRFP-BgsUhJrV.js → dagre-6UL2VRFP-DGEbtmgU.js} +12 -12
- package/dist/{dagre-CyZCGfV_.js → dagre-BVnNvbvD.js} +37 -37
- package/dist/{diagram-PSM6KHXK-BIUUOfKo.js → diagram-PSM6KHXK-CG_usglE.js} +15 -15
- package/dist/{diagram-QEK2KX5R-BFjolZQv.js → diagram-QEK2KX5R-CtGFEwzJ.js} +13 -13
- package/dist/{diagram-S2PKOQOG-4jfkWoZw.js → diagram-S2PKOQOG-ClKAGmbv.js} +13 -13
- package/dist/dist-B4MxkKHf.js +8 -0
- package/dist/{dist-De9X_Des.js → dist-B9EjSb9T.js} +1 -1
- package/dist/{dist-IW_ARJ3S.js → dist-BFxYppVR.js} +4 -4
- package/dist/{dist-D7ZGWV_9.js → dist-BGZ7TWS9.js} +3 -3
- package/dist/{dist-CwtEWuFb.js → dist-BSfYc7vq.js} +2 -2
- package/dist/{dist-DMS81OrU.js → dist-BUrWeMEP.js} +1 -1
- package/dist/dist-BYghZv6b.js +5 -0
- package/dist/dist-Be-uQhz5.js +6 -0
- package/dist/{dist-Ch_JuCvc.js → dist-BpMlUdNO.js} +3 -3
- package/dist/{dist-C6z8U-ms.js → dist-Bq5eYK43.js} +2 -2
- package/dist/{dist-BFL9TlzD.js → dist-Bq9zYwJs.js} +5 -5
- package/dist/{dist-7ZF--V_D.js → dist-C4K7pumm.js} +2 -2
- package/dist/{dist-Qjf6pcqK.js → dist-CAKwXCWI.js} +2 -2
- package/dist/dist-CB_xf0ju.js +5 -0
- package/dist/{dist-BwQHkjA9.js → dist-CDHl2i1x.js} +4 -4
- package/dist/dist-CK0qFAbF.js +8 -0
- package/dist/{dist-C4XMUaob.js → dist-CPlGUbk-.js} +2 -2
- package/dist/{dist-BT6_J2eq.js → dist-CSEWGuDq.js} +7 -2
- package/dist/dist-CYEk-qrr.js +8 -0
- package/dist/{dist-CYo3w-nC.js → dist-Cl5iM8xL.js} +3 -3
- package/dist/dist-CmKoWpMk.js +5 -0
- package/dist/{dist-I8MQW60_.js → dist-CseYuPtL.js} +2 -2
- package/dist/dist-D1nf4IQl.js +5 -0
- package/dist/{dist-CsqiXw7J.js → dist-D4gcY469.js} +2 -2
- package/dist/{dist-DUxS2paD.js → dist-D5NMgbbv.js} +2 -2
- package/dist/{dist-UYm1IE5s.js → dist-DERtJN02.js} +2 -2
- package/dist/{dist-CFToYDWO.js → dist-DEj2X26M.js} +2 -2
- package/dist/{dist-BuapEdlD.js → dist-DOoqn-VL.js} +70 -67
- package/dist/{dist-BLThQiU4.js → dist-DUretbKK.js} +2 -2
- package/dist/{dist-DEFZ7dnD.js → dist-D_-CGmlh.js} +2 -2
- package/dist/dist-Df3AcKpt.js +6 -0
- package/dist/dist-DgaFHt_I.js +5 -0
- package/dist/dist-Dk10C3ui.js +5 -0
- package/dist/{dist-D0f6Yrrb.js → dist-DodLQWPg.js} +1 -1
- package/dist/dist-DtyPVMHR.js +5 -0
- package/dist/{dist-Cb3cLT39.js → dist-HoZO6brh.js} +2 -2
- package/dist/{dist-Cqpjy6bK.js → dist-RNGn_-uD.js} +1 -1
- package/dist/{dist-BBcqvpvP.js → dist-Ux6dL_VB.js} +1 -1
- package/dist/{dist-B8Y11RWn.js → dist-WIWVvdBh.js} +2 -2
- package/dist/{dist-CB6qhQ8K.js → dist-gc9KgJuA.js} +1 -1
- package/dist/{dist-ovDpXuSB.js → dist-i-ud9aCA.js} +1 -1
- package/dist/dist-ko7WnHAO.js +5 -0
- package/dist/{dist-BTQbjEKU.js → dist-lNe4i1Nm.js} +1 -1
- package/dist/dist-of7gLRFK.js +8 -0
- package/dist/{erDiagram-Q2GNP2WA-Cq5Bz5lG.js → erDiagram-Q2GNP2WA-DPMseVVp.js} +10 -10
- package/dist/{error-banner-D0tXnwl4.js → error-banner-BctofTCP.js} +2 -2
- package/dist/{esm-BxMbHo0y.js → esm-BBkPJL8N.js} +29 -27
- package/dist/{flowDiagram-NV44I4VS-6WPJVFl7.js → flowDiagram-NV44I4VS-BpAIFwW7.js} +10 -10
- package/dist/{ganttDiagram-JELNMOA3-AfDhh9CI.js → ganttDiagram-JELNMOA3-DXYghZ9C.js} +3 -3
- package/dist/{gitGraph-G5XIXVHT-C0o6gecv.js → gitGraph-G5XIXVHT-ChHUSAop.js} +2 -2
- package/dist/{gitGraphDiagram-V2S2FVAM-BRSwuj0Q.js → gitGraphDiagram-V2S2FVAM-CBL-7g3_.js} +12 -12
- package/dist/{glide-data-editor-ByPNTNVG.js → glide-data-editor-DAqhWGKz.js} +63 -63
- package/dist/{graphlib-DZnBMcsX.js → graphlib-D18eZCT4.js} +10 -10
- package/dist/hasIn-B9AbGLj3.js +86 -0
- package/dist/{info-VBDWY6EO-Bzsods6X.js → info-VBDWY6EO-CwyXEo8E.js} +2 -2
- package/dist/{infoDiagram-HS3SLOUP-Cmxo6jKx.js → infoDiagram-HS3SLOUP-BXGbfBss.js} +12 -12
- package/dist/{isArrayLikeObject-Btu-i6_P.js → isArrayLikeObject-BrYl-ETg.js} +25 -26
- package/dist/{isEmpty-CZvUtYFp.js → isEmpty-C-xMag79.js} +2 -2
- package/dist/{isString-CBr7TEb7.js → isString-D-vNYDBA.js} +1 -1
- package/dist/{isSymbol-BuQsMXhk.js → isSymbol-Dyt2NSnN.js} +1 -1
- package/dist/{journeyDiagram-XKPGCS4Q-CKYr8cSR.js → journeyDiagram-XKPGCS4Q-D5BIjS4N.js} +3 -3
- package/dist/{kanban-definition-3W4ZIXB7-DVvAZzQD.js → kanban-definition-3W4ZIXB7-DhDkqxFB.js} +7 -7
- package/dist/{label-CV0KYhtH.js → label-BLDcDYdI.js} +6 -6
- package/dist/{loader-eJCvvApN.js → loader-DsE3MiYo.js} +2 -2
- package/dist/main.js +1587 -1108
- package/dist/{memoize-P1T1IGb9.js → memoize-Cs8aS5RW.js} +1 -1
- package/dist/merge-NuyC7LN7.js +51 -0
- package/dist/{mermaid-COOB_abB.js → mermaid-m5QS9ELR.js} +42 -42
- package/dist/{mermaid-parser.core-Cd-wu4tE.js → mermaid-parser.core-OkWZ8nr-.js} +8 -8
- package/dist/{min-CMDDtXJP.js → min-ECVRnCdn.js} +30 -30
- package/dist/{mindmap-definition-VGOIOE7T-1ExmnvYy.js → mindmap-definition-VGOIOE7T-BxQi78Vl.js} +9 -9
- package/dist/{now-BxlRp0OQ.js → now-BC2mX0ZT.js} +1 -1
- package/dist/{packet-DYOGHKS2-Bf1CvFco.js → packet-DYOGHKS2-C62XQjZh.js} +2 -2
- package/dist/{pie-VRWISCQL-LY_wbqji.js → pie-VRWISCQL-nfAKQJw3.js} +2 -2
- package/dist/{pieDiagram-ADFJNKIX-CJlIsdsU.js → pieDiagram-ADFJNKIX-DfSJXUHa.js} +13 -13
- package/dist/{purify.es-CyOIw8ru.js → purify.es-DGenX2XH.js} +67 -67
- package/dist/{quadrantDiagram-AYHSOK5B-BU78RiaH.js → quadrantDiagram-AYHSOK5B-CAcVWXc-.js} +2 -2
- package/dist/{radar-ZZBFDIW7-Ro3iXZCk.js → radar-ZZBFDIW7-lopS8_4j.js} +2 -2
- package/dist/{range-Dh0_-r8P.js → range-BKaWvVUE.js} +8 -8
- package/dist/reduce-CqQo8ppc.js +275 -0
- package/dist/{requirementDiagram-UZGBJVZJ-DACHtrFr.js → requirementDiagram-UZGBJVZJ-BU7dwzFM.js} +9 -9
- package/dist/{sankeyDiagram-TZEHDZUN-Bzg7_UWs.js → sankeyDiagram-TZEHDZUN-BVJnR4_b.js} +2 -2
- package/dist/{sequenceDiagram-WL72ISMW-agybEe9J.js → sequenceDiagram-WL72ISMW-CQcFQTwX.js} +4 -4
- package/dist/{slides-component-B0yK5GXP.js → slides-component-DwvL_HJi.js} +2 -2
- package/dist/{spec-Dq_reDGM.js → spec-DOGtAWuU.js} +5 -5
- package/dist/{stateDiagram-FKZM4ZOC-DehQAt8g.js → stateDiagram-FKZM4ZOC-Dx9AIGDe.js} +12 -12
- package/dist/{stateDiagram-v2-4FDKWEC3-8VzeREl9.js → stateDiagram-v2-4FDKWEC3-BIeUs-Ed.js} +10 -10
- package/dist/style.css +1 -1
- package/dist/{timeline-definition-IT6M3QCI-CdCfdaCF.js → timeline-definition-IT6M3QCI-D8B3p7ID.js} +2 -2
- package/dist/{toNumber-By7s5JC_.js → toNumber-CbZ70FdN.js} +2 -2
- package/dist/{toString-Ckpb50uw.js → toString-DbIAWQpF.js} +2 -2
- package/dist/{tooltip-CL8m4f9y.js → tooltip-SPkubVH3.js} +3 -3
- package/dist/{treemap-GDKQZRPO-DRxfDG65.js → treemap-GDKQZRPO-CkR-5ai2.js} +2 -2
- package/dist/{types-BwnzGcE4.js → types-Dzga1074.js} +519 -408
- package/dist/{uniq-cCc07Q8K.js → uniq-H2E5nMLq.js} +1 -1
- package/dist/{useAsyncData-B4hMFGnF.js → useAsyncData-BlSPOmJU.js} +1 -1
- package/dist/{useDeepCompareMemoize-DuPhOXzr.js → useDeepCompareMemoize-CpGehmfj.js} +5 -5
- package/dist/{useIframeCapabilities-CAt6D2EI.js → useIframeCapabilities-DFGZKWkO.js} +1 -1
- package/dist/{useTheme-BNYQnvu-.js → useTheme-BAtPEkUJ.js} +4 -4
- package/dist/{vega-component-DouPy8AI.js → vega-component-0KINBNtd.js} +10 -10
- package/dist/{xychartDiagram-PRI3JC2R-rEm_SIsC.js → xychartDiagram-PRI3JC2R-XO8FiQjU.js} +5 -5
- package/package.json +9 -9
- package/src/__mocks__/common.ts +41 -8
- package/src/__mocks__/requests.ts +1 -0
- package/src/components/app-config/ai-config.tsx +10 -0
- package/src/components/chat/__tests__/useFileState.test.tsx +2 -3
- package/src/components/chat/acp/__tests__/context-utils.test.ts +2 -6
- package/src/components/datasources/components.tsx +3 -6
- package/src/components/datasources/datasources.tsx +8 -21
- package/src/components/editor/__tests__/data-attributes.test.tsx +2 -11
- package/src/components/editor/actions/types.ts +6 -1
- package/src/components/editor/actions/useNotebookActions.tsx +50 -13
- package/src/components/editor/chrome/types.ts +17 -0
- package/src/components/editor/connections/add-connection-dialog.tsx +27 -2
- package/src/components/editor/connections/database/__tests__/__snapshots__/as-code.test.ts.snap +105 -6
- package/src/components/editor/connections/database/__tests__/as-code.test.ts +101 -8
- package/src/components/editor/connections/database/as-code.ts +115 -25
- package/src/components/editor/connections/database/schemas.ts +49 -2
- package/src/components/editor/controls/command-palette.tsx +7 -0
- package/src/components/editor/controls/keyboard-shortcuts.tsx +3 -1
- package/src/components/editor/file-tree/__tests__/requesting-tree.test.ts +2 -3
- package/src/components/editor/file-tree/file-explorer.tsx +48 -62
- package/src/components/editor/file-tree/file-icons.tsx +132 -0
- package/src/components/editor/file-tree/file-viewer.tsx +1 -1
- package/src/components/editor/file-tree/tree-actions.tsx +107 -0
- package/src/components/editor/file-tree/types.ts +2 -96
- package/src/components/editor/header/filename-input.tsx +4 -1
- package/src/components/editor/navigation/__tests__/clipboard.test.ts +2 -4
- package/src/components/editor/output/console/__tests__/ConsoleOutput.test.tsx +2 -12
- package/src/components/icons/marimo-icons.tsx +2 -2
- package/src/components/pages/home-page.tsx +5 -5
- package/src/components/storage/__tests__/storage-snippets.test.ts +253 -0
- package/src/components/storage/components.tsx +0 -38
- package/src/components/storage/storage-file-viewer.tsx +1 -1
- package/src/components/storage/storage-inspector.tsx +65 -50
- package/src/components/storage/storage-snippets.ts +67 -0
- package/src/components/ui/command.tsx +2 -0
- package/src/components/ui/links.tsx +1 -0
- package/src/core/ai/tools/__tests__/run-cells-tool.test.ts +206 -0
- package/src/core/ai/tools/run-cells-tool.ts +75 -40
- package/src/core/cells/__tests__/cells.test.ts +62 -0
- package/src/core/cells/__tests__/session.test.ts +2 -7
- package/src/core/cells/cells.ts +25 -3
- package/src/core/codemirror/compat/__tests__/jupyter.test.ts +2 -3
- package/src/core/codemirror/markdown/__tests__/commands.test.ts +2 -3
- package/src/core/export/__tests__/hooks.test.ts +3 -10
- package/src/core/hotkeys/__tests__/hotkeys.test.ts +64 -1
- package/src/core/hotkeys/hotkeys.ts +29 -3
- package/src/core/islands/bridge.ts +1 -0
- package/src/core/network/__tests__/requests-network.test.ts +17 -0
- package/src/core/network/requests-lazy.ts +1 -0
- package/src/core/network/requests-network.ts +9 -0
- package/src/core/network/requests-static.ts +1 -0
- package/src/core/network/requests-toasting.tsx +1 -0
- package/src/core/network/types.ts +1 -0
- package/src/core/runtime/__tests__/runtime.test.ts +2 -8
- package/src/core/storage/__tests__/state.test.ts +1 -0
- package/src/core/wasm/bridge.ts +1 -0
- package/src/core/websocket/useMarimoKernelConnection.tsx +2 -0
- package/src/plugins/impl/FileBrowserPlugin.tsx +4 -4
- package/src/plugins/impl/__tests__/DataTablePlugin.test.tsx +2 -11
- package/src/plugins/impl/__tests__/DropdownPlugin.test.tsx +2 -11
- package/src/plugins/impl/mpl-interactive/MplInteractivePlugin.tsx +309 -0
- package/src/plugins/impl/mpl-interactive/__tests__/mpl-websocket-shim.test.ts +110 -0
- package/src/plugins/impl/mpl-interactive/mpl-websocket-shim.ts +57 -0
- package/src/plugins/impl/plotly/PlotlyPlugin.tsx +8 -2
- package/src/plugins/plugins.ts +2 -0
- package/src/utils/__tests__/download.test.tsx +12 -14
- package/src/utils/__tests__/filenames.test.ts +7 -0
- package/src/utils/__tests__/smartMatch.test.ts +61 -0
- package/src/utils/filenames.ts +3 -0
- package/src/utils/smartMatch.ts +62 -0
- package/dist/_baseProperty-D1nWkRMz.js +0 -93
- package/dist/dist-BAeGo2rp.js +0 -5
- package/dist/dist-BqwCMSEa.js +0 -5
- package/dist/dist-Bum8FwTO.js +0 -6
- package/dist/dist-C0YiOwt_.js +0 -5
- package/dist/dist-C2uPv4iU.js +0 -5
- package/dist/dist-C5hOLsJN.js +0 -8
- package/dist/dist-C9NIAKMs.js +0 -8
- package/dist/dist-CCrzTtvk.js +0 -5
- package/dist/dist-CFS9i1rS.js +0 -8
- package/dist/dist-CyHZuhPH.js +0 -5
- package/dist/dist-CzcjWdIk.js +0 -6
- package/dist/dist-DaYyUSNC.js +0 -5
- package/dist/dist-DpDcJYNh.js +0 -8
- package/dist/dist-U_BfxcPn.js +0 -5
- package/dist/merge-CGQkMGzr.js +0 -51
- package/dist/reduce-BXFHs7IQ.js +0 -268
|
@@ -4,14 +4,14 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4
4
|
import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
|
|
5
5
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
6
6
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
7
|
-
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-
|
|
8
|
-
import { O as logNever, i as SelectContent, l as SelectTrigger, o as SelectItem, r as Select, t as Label, u as SelectValue } from "./label-
|
|
9
|
-
import { H as ErrorBoundary, U as require_prop_types, _ as DropdownMenuSeparator,
|
|
10
|
-
import { g as Logger, h as Events, t as Button } from "./button-
|
|
11
|
-
import "./Combination-
|
|
7
|
+
import { n as Copy, r as toast, t as copyToClipboard } from "./copy-BkBF0Xgk.js";
|
|
8
|
+
import { O as logNever, i as SelectContent, l as SelectTrigger, o as SelectItem, r as Select, t as Label, u as SelectValue } from "./label-BLDcDYdI.js";
|
|
9
|
+
import { H as ErrorBoundary, U as require_prop_types, _ as DropdownMenuSeparator, _n as Plus, _t as capitalize_default, b as DropdownMenuSubTrigger, d as DropdownMenu, f as DropdownMenuContent, g as DropdownMenuPortal, hn as Trash, i as Input, m as DropdownMenuItem, mt as marked, pt as useNonce, t as BulkEdit, v as DropdownMenuSub, vn as Pencil, y as DropdownMenuSubContent } from "./types-Dzga1074.js";
|
|
10
|
+
import { g as Logger, h as Events, t as Button } from "./button-DQpBib29.js";
|
|
11
|
+
import "./Combination-Dk6JxauT.js";
|
|
12
12
|
import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
|
|
13
13
|
import "./react-dom-CqtLRVZP.js";
|
|
14
|
-
import { C as useEvent_default, n as useTheme } from "./useTheme-
|
|
14
|
+
import { C as useEvent_default, n as useTheme } from "./useTheme-BAtPEkUJ.js";
|
|
15
15
|
import { A as require__Map, B as require__baseGetTag, C as require__hasPath, D as require_isArguments, E as require__isIndex, F as require_isFunction, G as assert, H as require__root, I as require_isObject, J as maybe, K as assertNever, L as require__isKey, M as require_eq, N as require__getNative, O as require__castPath, P as require__toSource, R as require_isSymbol, S as resolveCellsThunk, T as require_isLength, U as require__freeGlobal, V as require__Symbol, W as require_isArray, _ as isEditableGridCell, a as mergeAndRealizeTheme, b as isReadWriteCell, c as withAlpha, d as CompactSelection, f as GridCellKind, g as booleanCellIsEditable, h as InnerGridCellKind, i as makeCSSStyle, j as require__ListCache, k as require__MapCache, l as BooleanEmpty, m as GridColumnMenuIcon, n as ThemeContext, o as blend, p as GridColumnIcon, q as deepEqual, r as getDataEditorTheme, s as blendCache, t as ClickOutsideContainer, u as BooleanIndeterminate, v as isInnerOnlyCell, w as require__toKey, x as isSizedGridColumn, y as isObjectEditorCallbackResult, z as require_isObjectLike } from "./click-outside-container-CKfwEZqH.js";
|
|
16
16
|
import { t as styled_default } from "./dist-COpDrwi-.js";
|
|
17
17
|
let GlideDataEditor, glide_data_editor_default;
|
|
@@ -10416,16 +10416,16 @@ let __tla = (async () => {
|
|
|
10416
10416
|
})
|
|
10417
10417
|
]
|
|
10418
10418
|
}), t[10] = u, t[11] = a, t[12] = y) : y = t[12];
|
|
10419
|
-
let x = !a.trim(),
|
|
10420
|
-
t[13] !== c || t[14] !== x ? (
|
|
10419
|
+
let x = !a.trim(), S;
|
|
10420
|
+
t[13] !== c || t[14] !== x ? (S = (0, import_jsx_runtime.jsx)(Button, {
|
|
10421
10421
|
onClick: c,
|
|
10422
10422
|
disabled: x,
|
|
10423
10423
|
size: "sm",
|
|
10424
10424
|
className: "w-full",
|
|
10425
10425
|
children: "Rename"
|
|
10426
|
-
}), t[13] = c, t[14] = x, t[15] =
|
|
10427
|
-
let
|
|
10428
|
-
return t[16] !== y || t[17] !==
|
|
10426
|
+
}), t[13] = c, t[14] = x, t[15] = S) : S = t[15];
|
|
10427
|
+
let C;
|
|
10428
|
+
return t[16] !== y || t[17] !== S ? (C = (0, import_jsx_runtime.jsxs)(DropdownMenuSub, {
|
|
10429
10429
|
children: [
|
|
10430
10430
|
f,
|
|
10431
10431
|
(0, import_jsx_runtime.jsx)(DropdownMenuPortal, {
|
|
@@ -10435,15 +10435,15 @@ let __tla = (async () => {
|
|
|
10435
10435
|
className: "space-y-3",
|
|
10436
10436
|
children: [
|
|
10437
10437
|
y,
|
|
10438
|
-
|
|
10438
|
+
S
|
|
10439
10439
|
]
|
|
10440
10440
|
})
|
|
10441
10441
|
})
|
|
10442
10442
|
})
|
|
10443
10443
|
]
|
|
10444
|
-
}), t[16] = y, t[17] =
|
|
10444
|
+
}), t[16] = y, t[17] = S, t[18] = C) : C = t[18], C;
|
|
10445
10445
|
}, AddColumnSub = (e) => {
|
|
10446
|
-
let t = (0, import_compiler_runtime.c)(77), { direction: n, onAdd: r, onCancel: i } = e, [a, o] = (0, import_react.useState)(""), [s, u] = (0, import_react.useState)("string"), g, y, x, C,
|
|
10446
|
+
let t = (0, import_compiler_runtime.c)(77), { direction: n, onAdd: r, onCancel: i } = e, [a, o] = (0, import_react.useState)(""), [s, u] = (0, import_react.useState)("string"), g, y, x, C, D, O, A, M, N, P, F, L, B, Fr, V;
|
|
10447
10447
|
if (t[0] !== a || t[1] !== s || t[2] !== n || t[3] !== r || t[4] !== i) {
|
|
10448
10448
|
let e2 = [
|
|
10449
10449
|
"string",
|
|
@@ -10453,13 +10453,13 @@ let __tla = (async () => {
|
|
|
10453
10453
|
], Ir;
|
|
10454
10454
|
t[20] !== a || t[21] !== s || t[22] !== r ? (Ir = () => {
|
|
10455
10455
|
a.trim() && (r(a.trim(), s), o(""), u("string"));
|
|
10456
|
-
}, t[20] = a, t[21] = s, t[22] = r, t[23] = Ir) : Ir = t[23],
|
|
10456
|
+
}, t[20] = a, t[21] = s, t[22] = r, t[23] = Ir) : Ir = t[23], O = Ir;
|
|
10457
10457
|
let Lr2;
|
|
10458
|
-
t[24] !==
|
|
10459
|
-
e3.key === "Enter" ?
|
|
10460
|
-
}, t[24] =
|
|
10458
|
+
t[24] !== O || t[25] !== i ? (Lr2 = (e3) => {
|
|
10459
|
+
e3.key === "Enter" ? O() : e3.key === "Escape" && i();
|
|
10460
|
+
}, t[24] = O, t[25] = i, t[26] = Lr2) : Lr2 = t[26];
|
|
10461
10461
|
let H2 = Lr2;
|
|
10462
|
-
|
|
10462
|
+
D = DropdownMenuSub;
|
|
10463
10463
|
let Rr2;
|
|
10464
10464
|
t[27] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Rr2 = (0, import_jsx_runtime.jsx)(Plus, {
|
|
10465
10465
|
className: "mr-2 h-3.5 w-3.5"
|
|
@@ -10469,7 +10469,7 @@ let __tla = (async () => {
|
|
|
10469
10469
|
"Add column to the ",
|
|
10470
10470
|
n
|
|
10471
10471
|
]
|
|
10472
|
-
}), t[28] = n, t[29] = V), C = DropdownMenuPortal, x = DropdownMenuSubContent, Fr = "w-64 p-4",
|
|
10472
|
+
}), t[28] = n, t[29] = V), C = DropdownMenuPortal, x = DropdownMenuSubContent, Fr = "w-64 p-4", L = "space-y-3";
|
|
10473
10473
|
let U2 = `add-column-input-${n}`, W2;
|
|
10474
10474
|
t[30] === U2 ? W2 = t[31] : (W2 = (0, import_jsx_runtime.jsx)(Label, {
|
|
10475
10475
|
htmlFor: U2,
|
|
@@ -10495,27 +10495,27 @@ let __tla = (async () => {
|
|
|
10495
10495
|
t[40] === Br2 ? F = t[41] : (F = (0, import_jsx_runtime.jsx)(Label, {
|
|
10496
10496
|
htmlFor: Br2,
|
|
10497
10497
|
children: "Data type"
|
|
10498
|
-
}), t[40] = Br2, t[41] = F), y = Select,
|
|
10498
|
+
}), t[40] = Br2, t[41] = F), y = Select, M = s, t[42] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (N = (e3) => u(e3), t[42] = N) : N = t[42];
|
|
10499
10499
|
let Vr = `add-column-type-${n}`, Hr;
|
|
10500
10500
|
t[43] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Hr = (0, import_jsx_runtime.jsx)(SelectValue, {}), t[43] = Hr) : Hr = t[43], t[44] === Vr ? P = t[45] : (P = (0, import_jsx_runtime.jsx)(SelectTrigger, {
|
|
10501
10501
|
id: Vr,
|
|
10502
10502
|
className: "mt-1",
|
|
10503
10503
|
children: Hr
|
|
10504
|
-
}), t[44] = Vr, t[45] = P), g = SelectContent,
|
|
10505
|
-
} else g = t[5], y = t[6], x = t[7], C = t[8],
|
|
10504
|
+
}), t[44] = Vr, t[45] = P), g = SelectContent, A = e2.map(_temp), t[0] = a, t[1] = s, t[2] = n, t[3] = r, t[4] = i, t[5] = g, t[6] = y, t[7] = x, t[8] = C, t[9] = D, t[10] = O, t[11] = A, t[12] = M, t[13] = N, t[14] = P, t[15] = F, t[16] = L, t[17] = B, t[18] = Fr, t[19] = V;
|
|
10505
|
+
} else g = t[5], y = t[6], x = t[7], C = t[8], D = t[9], O = t[10], A = t[11], M = t[12], N = t[13], P = t[14], F = t[15], L = t[16], B = t[17], Fr = t[18], V = t[19];
|
|
10506
10506
|
let Lr;
|
|
10507
|
-
t[46] !== g || t[47] !==
|
|
10508
|
-
children:
|
|
10509
|
-
}), t[46] = g, t[47] =
|
|
10507
|
+
t[46] !== g || t[47] !== A ? (Lr = (0, import_jsx_runtime.jsx)(g, {
|
|
10508
|
+
children: A
|
|
10509
|
+
}), t[46] = g, t[47] = A, t[48] = Lr) : Lr = t[48];
|
|
10510
10510
|
let H;
|
|
10511
|
-
t[49] !== y || t[50] !== Lr || t[51] !==
|
|
10512
|
-
value:
|
|
10511
|
+
t[49] !== y || t[50] !== Lr || t[51] !== M || t[52] !== N || t[53] !== P ? (H = (0, import_jsx_runtime.jsxs)(y, {
|
|
10512
|
+
value: M,
|
|
10513
10513
|
onValueChange: N,
|
|
10514
10514
|
children: [
|
|
10515
10515
|
P,
|
|
10516
10516
|
Lr
|
|
10517
10517
|
]
|
|
10518
|
-
}), t[49] = y, t[50] = Lr, t[51] =
|
|
10518
|
+
}), t[49] = y, t[50] = Lr, t[51] = M, t[52] = N, t[53] = P, t[54] = H) : H = t[54];
|
|
10519
10519
|
let Rr;
|
|
10520
10520
|
t[55] !== H || t[56] !== F ? (Rr = (0, import_jsx_runtime.jsxs)("div", {
|
|
10521
10521
|
children: [
|
|
@@ -10524,22 +10524,22 @@ let __tla = (async () => {
|
|
|
10524
10524
|
]
|
|
10525
10525
|
}), t[55] = H, t[56] = F, t[57] = Rr) : Rr = t[57];
|
|
10526
10526
|
let U = !a.trim(), W;
|
|
10527
|
-
t[58] !==
|
|
10528
|
-
onClick:
|
|
10527
|
+
t[58] !== O || t[59] !== U ? (W = (0, import_jsx_runtime.jsx)(Button, {
|
|
10528
|
+
onClick: O,
|
|
10529
10529
|
disabled: U,
|
|
10530
10530
|
size: "sm",
|
|
10531
10531
|
className: "w-full",
|
|
10532
10532
|
children: "Add"
|
|
10533
|
-
}), t[58] =
|
|
10533
|
+
}), t[58] = O, t[59] = U, t[60] = W) : W = t[60];
|
|
10534
10534
|
let zr;
|
|
10535
|
-
t[61] !== Rr || t[62] !== W || t[63] !==
|
|
10536
|
-
className:
|
|
10535
|
+
t[61] !== Rr || t[62] !== W || t[63] !== L || t[64] !== B ? (zr = (0, import_jsx_runtime.jsxs)("div", {
|
|
10536
|
+
className: L,
|
|
10537
10537
|
children: [
|
|
10538
10538
|
B,
|
|
10539
10539
|
Rr,
|
|
10540
10540
|
W
|
|
10541
10541
|
]
|
|
10542
|
-
}), t[61] = Rr, t[62] = W, t[63] =
|
|
10542
|
+
}), t[61] = Rr, t[62] = W, t[63] = L, t[64] = B, t[65] = zr) : zr = t[65];
|
|
10543
10543
|
let G;
|
|
10544
10544
|
t[66] !== x || t[67] !== zr || t[68] !== Fr ? (G = (0, import_jsx_runtime.jsx)(x, {
|
|
10545
10545
|
className: Fr,
|
|
@@ -10550,12 +10550,12 @@ let __tla = (async () => {
|
|
|
10550
10550
|
children: G
|
|
10551
10551
|
}), t[70] = C, t[71] = G, t[72] = K) : K = t[72];
|
|
10552
10552
|
let Br;
|
|
10553
|
-
return t[73] !==
|
|
10553
|
+
return t[73] !== D || t[74] !== K || t[75] !== V ? (Br = (0, import_jsx_runtime.jsxs)(D, {
|
|
10554
10554
|
children: [
|
|
10555
10555
|
V,
|
|
10556
10556
|
K
|
|
10557
10557
|
]
|
|
10558
|
-
}), t[73] =
|
|
10558
|
+
}), t[73] = D, t[74] = K, t[75] = V, t[76] = Br) : Br = t[76], Br;
|
|
10559
10559
|
};
|
|
10560
10560
|
function _temp(e) {
|
|
10561
10561
|
return (0, import_jsx_runtime.jsx)(SelectItem, {
|
|
@@ -10627,7 +10627,7 @@ let __tla = (async () => {
|
|
|
10627
10627
|
}
|
|
10628
10628
|
}
|
|
10629
10629
|
GlideDataEditor = ({ data: e, setData: t, columnFields: n, setColumnFields: r, editableColumns: c, edits: l, onAddEdits: u, onAddRows: f, onDeleteRows: m, onRenameColumn: h, onDeleteColumn: y, onAddColumn: S }) => {
|
|
10630
|
-
let { theme:
|
|
10630
|
+
let { theme: C } = useTheme(), E = (0, import_react.useRef)(null), [k, j] = (0, import_react.useState)(), [N, I] = (0, import_react.useState)(false), [L, Pr] = import_react.useState({
|
|
10631
10631
|
columns: CompactSelection.empty(),
|
|
10632
10632
|
rows: CompactSelection.empty()
|
|
10633
10633
|
}), [B, V] = (0, import_react.useState)({}), Rr = useNonce(), U = (0, import_react.useRef)(false), W = (0, import_react.useMemo)(() => {
|
|
@@ -10644,7 +10644,7 @@ let __tla = (async () => {
|
|
|
10644
10644
|
dataType: r2,
|
|
10645
10645
|
hasMenu: true,
|
|
10646
10646
|
themeOverride: n2 ? void 0 : {
|
|
10647
|
-
bgCell:
|
|
10647
|
+
bgCell: C === "light" ? "#F9F9FA" : "#1e1e21"
|
|
10648
10648
|
}
|
|
10649
10649
|
});
|
|
10650
10650
|
}
|
|
@@ -10653,7 +10653,7 @@ let __tla = (async () => {
|
|
|
10653
10653
|
n,
|
|
10654
10654
|
B,
|
|
10655
10655
|
c,
|
|
10656
|
-
|
|
10656
|
+
C
|
|
10657
10657
|
]);
|
|
10658
10658
|
(0, import_react.useEffect)(() => {
|
|
10659
10659
|
if (U.current || e.length === 0 || (U.current = true, l.length === 0)) return;
|
|
@@ -10774,9 +10774,9 @@ let __tla = (async () => {
|
|
|
10774
10774
|
n,
|
|
10775
10775
|
W
|
|
10776
10776
|
]), Vr = (0, import_react.useCallback)((n2) => {
|
|
10777
|
-
if (
|
|
10777
|
+
if (E.current) {
|
|
10778
10778
|
if (Events.isMetaOrCtrl(n2) && n2.key === "c") {
|
|
10779
|
-
|
|
10779
|
+
E.current.emit("copy");
|
|
10780
10780
|
return;
|
|
10781
10781
|
}
|
|
10782
10782
|
if (Events.isMetaOrCtrl(n2) && n2.key === "v") {
|
|
@@ -10791,11 +10791,11 @@ let __tla = (async () => {
|
|
|
10791
10791
|
return;
|
|
10792
10792
|
}
|
|
10793
10793
|
if (Events.isMetaOrCtrl(n2) && n2.key === "f") {
|
|
10794
|
-
|
|
10794
|
+
I((e2) => !e2), n2.stopPropagation(), n2.preventDefault();
|
|
10795
10795
|
return;
|
|
10796
10796
|
}
|
|
10797
10797
|
if (n2.key === "Escape") {
|
|
10798
|
-
|
|
10798
|
+
I(false);
|
|
10799
10799
|
return;
|
|
10800
10800
|
}
|
|
10801
10801
|
}
|
|
@@ -10869,8 +10869,8 @@ let __tla = (async () => {
|
|
|
10869
10869
|
bounds: t2
|
|
10870
10870
|
});
|
|
10871
10871
|
}), Gr = async () => {
|
|
10872
|
-
if (
|
|
10873
|
-
let e2 = W[
|
|
10872
|
+
if (k) {
|
|
10873
|
+
let e2 = W[k.col].title;
|
|
10874
10874
|
await copyToClipboard(e2), j(void 0);
|
|
10875
10875
|
}
|
|
10876
10876
|
};
|
|
@@ -10882,31 +10882,31 @@ let __tla = (async () => {
|
|
|
10882
10882
|
});
|
|
10883
10883
|
}
|
|
10884
10884
|
let qr = (e2) => {
|
|
10885
|
-
if (
|
|
10886
|
-
let i = W[
|
|
10885
|
+
if (k) {
|
|
10886
|
+
let i = W[k.col].title;
|
|
10887
10887
|
if (n[e2]) {
|
|
10888
10888
|
Kr(e2);
|
|
10889
10889
|
return;
|
|
10890
10890
|
}
|
|
10891
|
-
let a = W[
|
|
10892
|
-
h(
|
|
10891
|
+
let a = W[k.col].dataType;
|
|
10892
|
+
h(k.col, e2), r((t2) => modifyColumnFields({
|
|
10893
10893
|
columnFields: t2,
|
|
10894
|
-
columnIdx:
|
|
10894
|
+
columnIdx: k.col,
|
|
10895
10895
|
type: "rename",
|
|
10896
10896
|
dataType: a,
|
|
10897
10897
|
newColumnName: e2
|
|
10898
10898
|
})), t((t2) => renameColumn(t2, i, e2)), j(void 0);
|
|
10899
10899
|
}
|
|
10900
10900
|
}, q = () => {
|
|
10901
|
-
|
|
10901
|
+
k && (y(k.col), r((e2) => modifyColumnFields({
|
|
10902
10902
|
columnFields: e2,
|
|
10903
|
-
columnIdx:
|
|
10903
|
+
columnIdx: k.col,
|
|
10904
10904
|
type: "remove"
|
|
10905
|
-
})), t((e2) => removeColumn(e2,
|
|
10905
|
+
})), t((e2) => removeColumn(e2, k.col)), j(void 0));
|
|
10906
10906
|
}, Jr = (e2) => {
|
|
10907
10907
|
let { direction: i, columnName: a, dataType: o } = e2;
|
|
10908
|
-
if (
|
|
10909
|
-
let e3 =
|
|
10908
|
+
if (k) {
|
|
10909
|
+
let e3 = k.col + (i === "left" ? 0 : 1), s = Math.max(0, Math.min(e3, W.length));
|
|
10910
10910
|
if (n[a]) {
|
|
10911
10911
|
Kr(a);
|
|
10912
10912
|
return;
|
|
@@ -10919,7 +10919,7 @@ let __tla = (async () => {
|
|
|
10919
10919
|
newColumnName: a
|
|
10920
10920
|
})), t((e4) => insertColumn(e4, a)), j(void 0);
|
|
10921
10921
|
}
|
|
10922
|
-
}, Yr = (
|
|
10922
|
+
}, Yr = (k == null ? void 0 : k.col) === W.length - 1, Xr = k !== void 0, J = "mr-2 h-3.5 w-3.5", Zr = {
|
|
10923
10923
|
hint: "New row",
|
|
10924
10924
|
sticky: true,
|
|
10925
10925
|
tint: true
|
|
@@ -10929,7 +10929,7 @@ let __tla = (async () => {
|
|
|
10929
10929
|
children: [
|
|
10930
10930
|
(0, import_jsx_runtime.jsx)(ErrorBoundary, {
|
|
10931
10931
|
children: (0, import_jsx_runtime.jsx)(DataEditorAll, {
|
|
10932
|
-
ref:
|
|
10932
|
+
ref: E,
|
|
10933
10933
|
getCellContent: zr,
|
|
10934
10934
|
columns: W,
|
|
10935
10935
|
gridSelection: L,
|
|
@@ -10941,7 +10941,7 @@ let __tla = (async () => {
|
|
|
10941
10941
|
validateCell: Br,
|
|
10942
10942
|
getCellsForSelection: true,
|
|
10943
10943
|
onPaste: true,
|
|
10944
|
-
showSearch:
|
|
10944
|
+
showSearch: N,
|
|
10945
10945
|
fillHandle: true,
|
|
10946
10946
|
allowedFillDirections: "vertical",
|
|
10947
10947
|
onKeyDown: Vr,
|
|
@@ -10954,7 +10954,7 @@ let __tla = (async () => {
|
|
|
10954
10954
|
onCellEdited: G,
|
|
10955
10955
|
onColumnResize: K,
|
|
10956
10956
|
onHeaderMenuClick: Wr,
|
|
10957
|
-
theme: getGlideTheme(
|
|
10957
|
+
theme: getGlideTheme(C),
|
|
10958
10958
|
trailingRowOptions: Zr,
|
|
10959
10959
|
onRowAppended: Hr,
|
|
10960
10960
|
maxColumnAutoWidth: 600,
|
|
@@ -10966,7 +10966,7 @@ let __tla = (async () => {
|
|
|
10966
10966
|
let e2 = (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
10967
10967
|
children: [
|
|
10968
10968
|
Qr && (0, import_jsx_runtime.jsx)(RenameColumnSub, {
|
|
10969
|
-
currentColumnName: W[
|
|
10969
|
+
currentColumnName: W[k.col].title,
|
|
10970
10970
|
onRename: qr,
|
|
10971
10971
|
onCancel: () => j(void 0)
|
|
10972
10972
|
}),
|
|
@@ -11007,8 +11007,8 @@ let __tla = (async () => {
|
|
|
11007
11007
|
onOpenChange: (e3) => !e3 && j(void 0),
|
|
11008
11008
|
children: (0, import_jsx_runtime.jsxs)(DropdownMenuContent, {
|
|
11009
11009
|
style: {
|
|
11010
|
-
left: (
|
|
11011
|
-
top: ((
|
|
11010
|
+
left: (k == null ? void 0 : k.bounds.x) ?? 0,
|
|
11011
|
+
top: ((k == null ? void 0 : k.bounds.y) ?? 0) + ((k == null ? void 0 : k.bounds.height) ?? 0)
|
|
11012
11012
|
},
|
|
11013
11013
|
className: "fixed w-52",
|
|
11014
11014
|
children: [
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { m as keys_default } from "./_baseIsEqual-
|
|
3
|
-
import { t as _baseUniq_default } from "./_baseUniq-
|
|
4
|
-
import { i as filter_default, n as isUndefined_default, o as forEach_default, r as values_default, t as reduce_default } from "./reduce-
|
|
5
|
-
import {
|
|
6
|
-
import { t as isEmpty_default } from "./isEmpty-
|
|
1
|
+
import { L as isFunction_default, N as constant_default, T as _baseRest_default, t as isArrayLikeObject_default } from "./isArrayLikeObject-BrYl-ETg.js";
|
|
2
|
+
import { m as keys_default } from "./_baseIsEqual-CvgsjYoW.js";
|
|
3
|
+
import { t as _baseUniq_default } from "./_baseUniq-BUFhl85h.js";
|
|
4
|
+
import { i as filter_default, n as isUndefined_default, o as forEach_default, r as values_default, t as reduce_default } from "./reduce-CqQo8ppc.js";
|
|
5
|
+
import { r as _baseFlatten_default } from "./hasIn-B9AbGLj3.js";
|
|
6
|
+
import { t as isEmpty_default } from "./isEmpty-C-xMag79.js";
|
|
7
7
|
var union_default = _baseRest_default(function(e) {
|
|
8
8
|
return _baseUniq_default(_baseFlatten_default(e, 1, isArrayLikeObject_default, true));
|
|
9
9
|
}), DEFAULT_EDGE_NAME = "\0", GRAPH_NODE = "\0", EDGE_KEY_DELIM = "", Graph = class {
|
|
@@ -25,8 +25,8 @@ var union_default = _baseRest_default(function(e) {
|
|
|
25
25
|
graph() {
|
|
26
26
|
return this._label;
|
|
27
27
|
}
|
|
28
|
-
setDefaultNodeLabel(
|
|
29
|
-
return isFunction_default(
|
|
28
|
+
setDefaultNodeLabel(g) {
|
|
29
|
+
return isFunction_default(g) || (g = constant_default(g)), this._defaultNodeLabelFn = g, this;
|
|
30
30
|
}
|
|
31
31
|
nodeCount() {
|
|
32
32
|
return this._nodeCount;
|
|
@@ -133,8 +133,8 @@ var union_default = _baseRest_default(function(e) {
|
|
|
133
133
|
h.setParent(e2, v(e2));
|
|
134
134
|
}), h;
|
|
135
135
|
}
|
|
136
|
-
setDefaultEdgeLabel(
|
|
137
|
-
return isFunction_default(
|
|
136
|
+
setDefaultEdgeLabel(g) {
|
|
137
|
+
return isFunction_default(g) || (g = constant_default(g)), this._defaultEdgeLabelFn = g, this;
|
|
138
138
|
}
|
|
139
139
|
edgeCount() {
|
|
140
140
|
return this._edgeCount;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { B as isArray_default, U as _Symbol_default, j as _isIndex_default, w as isLength_default, y as isArguments_default } from "./isArrayLikeObject-BrYl-ETg.js";
|
|
2
|
+
import { t as isSymbol_default } from "./isSymbol-Dyt2NSnN.js";
|
|
3
|
+
import { t as toString_default } from "./toString-DbIAWQpF.js";
|
|
4
|
+
import { p as _arrayPush_default } from "./_baseIsEqual-CvgsjYoW.js";
|
|
5
|
+
import { t as memoize_default } from "./memoize-Cs8aS5RW.js";
|
|
6
|
+
var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
|
|
7
|
+
function isKey(k, A) {
|
|
8
|
+
if (isArray_default(k)) return false;
|
|
9
|
+
var j = typeof k;
|
|
10
|
+
return j == "number" || j == "symbol" || j == "boolean" || k == null || isSymbol_default(k) ? true : reIsPlainProp.test(k) || !reIsDeepProp.test(k) || A != null && k in Object(A);
|
|
11
|
+
}
|
|
12
|
+
var _isKey_default = isKey, MAX_MEMOIZE_SIZE = 500;
|
|
13
|
+
function memoizeCapped(s) {
|
|
14
|
+
var k = memoize_default(s, function(s2) {
|
|
15
|
+
return A.size === MAX_MEMOIZE_SIZE && A.clear(), s2;
|
|
16
|
+
}), A = k.cache;
|
|
17
|
+
return k;
|
|
18
|
+
}
|
|
19
|
+
var _memoizeCapped_default = memoizeCapped, rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, reEscapeChar = /\\(\\)?/g, _stringToPath_default = _memoizeCapped_default(function(s) {
|
|
20
|
+
var k = [];
|
|
21
|
+
return s.charCodeAt(0) === 46 && k.push(""), s.replace(rePropName, function(s2, A, j, M) {
|
|
22
|
+
k.push(j ? M.replace(reEscapeChar, "$1") : A || s2);
|
|
23
|
+
}), k;
|
|
24
|
+
});
|
|
25
|
+
function castPath(k, A) {
|
|
26
|
+
return isArray_default(k) ? k : _isKey_default(k, A) ? [k] : _stringToPath_default(toString_default(k));
|
|
27
|
+
}
|
|
28
|
+
var _castPath_default = castPath, INFINITY = Infinity;
|
|
29
|
+
function toKey(s) {
|
|
30
|
+
if (typeof s == "string" || isSymbol_default(s)) return s;
|
|
31
|
+
var k = s + "";
|
|
32
|
+
return k == "0" && 1 / s == -INFINITY ? "-0" : k;
|
|
33
|
+
}
|
|
34
|
+
var _toKey_default = toKey;
|
|
35
|
+
function baseGet(s, k) {
|
|
36
|
+
k = _castPath_default(k, s);
|
|
37
|
+
for (var A = 0, j = k.length; s != null && A < j; ) s = s[_toKey_default(k[A++])];
|
|
38
|
+
return A && A == j ? s : void 0;
|
|
39
|
+
}
|
|
40
|
+
var _baseGet_default = baseGet;
|
|
41
|
+
function get(s, k, A) {
|
|
42
|
+
var j = s == null ? void 0 : _baseGet_default(s, k);
|
|
43
|
+
return j === void 0 ? A : j;
|
|
44
|
+
}
|
|
45
|
+
var get_default = get, spreadableSymbol = _Symbol_default ? _Symbol_default.isConcatSpreadable : void 0;
|
|
46
|
+
function isFlattenable(k) {
|
|
47
|
+
return isArray_default(k) || isArguments_default(k) || !!(spreadableSymbol && k && k[spreadableSymbol]);
|
|
48
|
+
}
|
|
49
|
+
var _isFlattenable_default = isFlattenable;
|
|
50
|
+
function baseFlatten(s, k, A, j, M) {
|
|
51
|
+
var N = -1, P = s.length;
|
|
52
|
+
for (A || (A = _isFlattenable_default), M || (M = []); ++N < P; ) {
|
|
53
|
+
var I = s[N];
|
|
54
|
+
k > 0 && A(I) ? k > 1 ? baseFlatten(I, k - 1, A, j, M) : _arrayPush_default(M, I) : j || (M[M.length] = I);
|
|
55
|
+
}
|
|
56
|
+
return M;
|
|
57
|
+
}
|
|
58
|
+
var _baseFlatten_default = baseFlatten;
|
|
59
|
+
function baseHasIn(s, k) {
|
|
60
|
+
return s != null && k in Object(s);
|
|
61
|
+
}
|
|
62
|
+
var _baseHasIn_default = baseHasIn;
|
|
63
|
+
function hasPath(k, N, P) {
|
|
64
|
+
N = _castPath_default(N, k);
|
|
65
|
+
for (var F = -1, I = N.length, L = false; ++F < I; ) {
|
|
66
|
+
var R = _toKey_default(N[F]);
|
|
67
|
+
if (!(L = k != null && P(k, R))) break;
|
|
68
|
+
k = k[R];
|
|
69
|
+
}
|
|
70
|
+
return L || ++F != I ? L : (I = k == null ? 0 : k.length, !!I && isLength_default(I) && _isIndex_default(R, I) && (isArray_default(k) || isArguments_default(k)));
|
|
71
|
+
}
|
|
72
|
+
var _hasPath_default = hasPath;
|
|
73
|
+
function hasIn(s, k) {
|
|
74
|
+
return s != null && _hasPath_default(s, k, _baseHasIn_default);
|
|
75
|
+
}
|
|
76
|
+
var hasIn_default = hasIn;
|
|
77
|
+
export {
|
|
78
|
+
_baseGet_default as a,
|
|
79
|
+
_isKey_default as c,
|
|
80
|
+
get_default as i,
|
|
81
|
+
_hasPath_default as n,
|
|
82
|
+
_toKey_default as o,
|
|
83
|
+
_baseFlatten_default as r,
|
|
84
|
+
_castPath_default as s,
|
|
85
|
+
hasIn_default as t
|
|
86
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./chunk-TCCFYFTB-
|
|
1
|
+
import "./chunk-TCCFYFTB-DqxhgXG0.js";
|
|
2
2
|
import "./main-Tj_-QTyF.js";
|
|
3
|
-
import { n as createInfoServices, t as InfoModule } from "./chunk-FRFDVMJY-
|
|
3
|
+
import { n as createInfoServices, t as InfoModule } from "./chunk-FRFDVMJY-Bk2LD5Te.js";
|
|
4
4
|
export {
|
|
5
5
|
createInfoServices
|
|
6
6
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import "./chunk-TCCFYFTB-
|
|
1
|
+
import "./chunk-TCCFYFTB-DqxhgXG0.js";
|
|
2
2
|
import "./main-Tj_-QTyF.js";
|
|
3
|
-
import "./purify.es-
|
|
3
|
+
import "./purify.es-DGenX2XH.js";
|
|
4
4
|
import { i as log, r as __name } from "./src-CHUphWwL.js";
|
|
5
5
|
import { t as package_default } from "./chunk-DR5Q36YT-D4q96vNV.js";
|
|
6
|
-
import { c as configureSvgSize } from "./chunk-ABZYJK2D-
|
|
7
|
-
import { t as selectSvgElement } from "./chunk-EXTU4WIE-
|
|
8
|
-
import "./chunk-UMXZTB3W
|
|
9
|
-
import "./chunk-4F5CHEZ2-
|
|
10
|
-
import "./chunk-FRFDVMJY-
|
|
11
|
-
import "./chunk-SJTYNZTY-
|
|
12
|
-
import "./chunk-PL6DKKU2-
|
|
13
|
-
import "./chunk-TQ3KTPDO-
|
|
14
|
-
import "./chunk-B2363JML-
|
|
15
|
-
import { t as parse } from "./mermaid-parser.core-
|
|
6
|
+
import { c as configureSvgSize } from "./chunk-ABZYJK2D-7QYXAAhe.js";
|
|
7
|
+
import { t as selectSvgElement } from "./chunk-EXTU4WIE-BRFl4iNd.js";
|
|
8
|
+
import "./chunk-UMXZTB3W-C4ypIY3V.js";
|
|
9
|
+
import "./chunk-4F5CHEZ2-CRwwZ2ED.js";
|
|
10
|
+
import "./chunk-FRFDVMJY-Bk2LD5Te.js";
|
|
11
|
+
import "./chunk-SJTYNZTY-BvVkbShU.js";
|
|
12
|
+
import "./chunk-PL6DKKU2-DiFkzMfM.js";
|
|
13
|
+
import "./chunk-TQ3KTPDO-CPkEruAA.js";
|
|
14
|
+
import "./chunk-B2363JML-BuBMltZc.js";
|
|
15
|
+
import { t as parse } from "./mermaid-parser.core-OkWZ8nr-.js";
|
|
16
16
|
var parser = { parse: /* @__PURE__ */ __name(async (a) => {
|
|
17
17
|
let o = await parse("info", a);
|
|
18
18
|
log.debug(o);
|
|
@@ -455,37 +455,36 @@ function isArrayLikeObject(g) {
|
|
|
455
455
|
}
|
|
456
456
|
var isArrayLikeObject_default = isArrayLikeObject;
|
|
457
457
|
export {
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
_Symbol_default as W,
|
|
458
|
+
_baseAssignValue_default as A,
|
|
459
|
+
isArray_default as B,
|
|
460
|
+
isArrayLike_default as C,
|
|
461
|
+
_copyObject_default as D,
|
|
462
|
+
_overRest_default as E,
|
|
463
|
+
_getNative_default as F,
|
|
464
|
+
_baseGetTag_default as H,
|
|
465
|
+
_toSource_default as I,
|
|
466
|
+
isFunction_default as L,
|
|
467
|
+
_setToString_default as M,
|
|
468
|
+
constant_default as N,
|
|
469
|
+
_assignValue_default as O,
|
|
470
|
+
_copyArray_default as P,
|
|
471
|
+
identity_default as R,
|
|
472
|
+
_isIterateeCall_default as S,
|
|
473
|
+
_baseRest_default as T,
|
|
474
|
+
_Symbol_default as U,
|
|
475
|
+
isObjectLike_default as V,
|
|
476
|
+
_root_default as W,
|
|
478
477
|
_baseUnary_default as _,
|
|
479
478
|
_cloneArrayBuffer_default as a,
|
|
480
|
-
|
|
479
|
+
_isPrototype_default as b,
|
|
481
480
|
_Stack_default as c,
|
|
482
481
|
_Map_default as d,
|
|
483
482
|
keysIn_default as f,
|
|
484
483
|
_nodeUtil_default as g,
|
|
485
484
|
isTypedArray_default as h,
|
|
486
485
|
_cloneTypedArray_default as i,
|
|
487
|
-
|
|
488
|
-
|
|
486
|
+
_isIndex_default as j,
|
|
487
|
+
eq_default as k,
|
|
489
488
|
_getPrototype_default as l,
|
|
490
489
|
_arrayLikeKeys_default as m,
|
|
491
490
|
_baseFor_default as n,
|
|
@@ -496,8 +495,8 @@ export {
|
|
|
496
495
|
isArrayLikeObject_default as t,
|
|
497
496
|
_MapCache_default as u,
|
|
498
497
|
isBuffer_default as v,
|
|
499
|
-
|
|
500
|
-
|
|
498
|
+
isLength_default as w,
|
|
499
|
+
_createAssigner_default as x,
|
|
501
500
|
isArguments_default as y,
|
|
502
|
-
|
|
501
|
+
isObject_default as z
|
|
503
502
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { h as _baseKeys_default, o as _getTag_default } from "./_baseIsEqual-
|
|
1
|
+
import { B as isArray_default, C as isArrayLike_default, b as _isPrototype_default, h as isTypedArray_default, v as isBuffer_default, y as isArguments_default } from "./isArrayLikeObject-BrYl-ETg.js";
|
|
2
|
+
import { h as _baseKeys_default, o as _getTag_default } from "./_baseIsEqual-CvgsjYoW.js";
|
|
3
3
|
var mapTag = "[object Map]", setTag = "[object Set]", hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
4
4
|
function isEmpty(d) {
|
|
5
5
|
if (d == null) return true;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { B as isArray_default, H as _baseGetTag_default, V as isObjectLike_default } from "./isArrayLikeObject-BrYl-ETg.js";
|
|
2
2
|
var stringTag = "[object String]";
|
|
3
3
|
function isString(a) {
|
|
4
4
|
return typeof a == "string" || !isArray_default(a) && isObjectLike_default(a) && _baseGetTag_default(a) == stringTag;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as
|
|
1
|
+
import { H as _baseGetTag_default, V as isObjectLike_default } from "./isArrayLikeObject-BrYl-ETg.js";
|
|
2
2
|
var symbolTag = "[object Symbol]";
|
|
3
3
|
function isSymbol(i) {
|
|
4
4
|
return typeof i == "symbol" || isObjectLike_default(i) && _baseGetTag_default(i) == symbolTag;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./purify.es-
|
|
1
|
+
import "./purify.es-DGenX2XH.js";
|
|
2
2
|
import { t as arc_default } from "./arc-DXxE-tFl.js";
|
|
3
3
|
import { r as __name, t as select_default } from "./src-CHUphWwL.js";
|
|
4
|
-
import { B as setAccTitle, C as getDiagramTitle, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, c as configureSvgSize, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-
|
|
4
|
+
import { B as setAccTitle, C as getDiagramTitle, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, c as configureSvgSize, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-7QYXAAhe.js";
|
|
5
5
|
import "./dist-Bymy0kEH.js";
|
|
6
6
|
import { t as getIconStyles } from "./chunk-FMBD7UC4-XTL4xAvH.js";
|
|
7
|
-
import { a as drawText, i as drawRect, o as getNoteRect, t as drawBackgroundRect } from "./chunk-TZMSLE5B-
|
|
7
|
+
import { a as drawText, i as drawRect, o as getNoteRect, t as drawBackgroundRect } from "./chunk-TZMSLE5B-DSfBOnzx.js";
|
|
8
8
|
var parser = (function() {
|
|
9
9
|
var e = /* @__PURE__ */ __name(function(e2, S, C2, w2) {
|
|
10
10
|
for (C2 || (C2 = {}), w2 = e2.length; w2--; C2[e2[w2]] = S) ;
|
package/dist/{kanban-definition-3W4ZIXB7-DVvAZzQD.js → kanban-definition-3W4ZIXB7-DhDkqxFB.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "./purify.es-
|
|
2
|
-
import "./chunk-S3R3BYOJ-
|
|
1
|
+
import "./purify.es-DGenX2XH.js";
|
|
2
|
+
import "./chunk-S3R3BYOJ-BRT9vd1R.js";
|
|
3
3
|
import { i as log, r as __name } from "./src-CHUphWwL.js";
|
|
4
|
-
import { G as setupGraphViewbox, I as sanitizeText, Q as is_dark_default, X as darken_default, Z as lighten_default, b as getConfig2, d as defaultConfig_default } from "./chunk-ABZYJK2D-
|
|
5
|
-
import { t as selectSvgElement } from "./chunk-EXTU4WIE-
|
|
4
|
+
import { G as setupGraphViewbox, I as sanitizeText, Q as is_dark_default, X as darken_default, Z as lighten_default, b as getConfig2, d as defaultConfig_default } from "./chunk-ABZYJK2D-7QYXAAhe.js";
|
|
5
|
+
import { t as selectSvgElement } from "./chunk-EXTU4WIE-BRFl4iNd.js";
|
|
6
6
|
import { n as load, t as JSON_SCHEMA } from "./chunk-MI3HLSF2-DvCKDmpi.js";
|
|
7
7
|
import "./chunk-CVBHYZKI-D8iwHsLF.js";
|
|
8
|
-
import "./chunk-ATLVNIR6-
|
|
8
|
+
import "./chunk-ATLVNIR6-pmHPAPSd.js";
|
|
9
9
|
import "./dist-Bymy0kEH.js";
|
|
10
|
-
import "./chunk-JA3XYJ7Z-
|
|
11
|
-
import { a as insertNode, c as positionNode, i as insertCluster } from "./chunk-JZLCHNYA-
|
|
10
|
+
import "./chunk-JA3XYJ7Z-BkrY9SdL.js";
|
|
11
|
+
import { a as insertNode, c as positionNode, i as insertCluster } from "./chunk-JZLCHNYA-Bk_Lil-q.js";
|
|
12
12
|
import { t as getIconStyles } from "./chunk-FMBD7UC4-XTL4xAvH.js";
|
|
13
13
|
var parser = (function() {
|
|
14
14
|
var e = /* @__PURE__ */ __name(function(e2, t, n2, r2) {
|