@marimo-team/islands 0.19.12-dev1 → 0.20.0
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 +11897 -0
- package/dist/{ConnectedDataExplorerComponent-CkXO-pKy.js → ConnectedDataExplorerComponent-BMiGWK57.js} +19 -18
- package/dist/{_baseIsEqual-CBSjxu-D.js → _baseIsEqual-DN5YkPnl.js} +1 -1
- package/dist/{_baseProperty-BVGrW_NZ.js → _baseProperty-6juuyX7Z.js} +5 -5
- package/dist/{_baseUniq-4lqa8rDi.js → _baseUniq-BlF21ach.js} +1 -1
- package/dist/{any-language-editor-t_VsTNa-.js → any-language-editor-1OMbohwD.js} +19 -19
- package/dist/architecture-U656AL7Q-Jd2CvPgJ.js +6 -0
- package/dist/{architectureDiagram-VXUJARFQ-DmJQhcJb.js → architectureDiagram-VXUJARFQ-DhN0C3Xf.js} +15 -15
- package/dist/{blockDiagram-VD42YOAC-CRofISJs.js → blockDiagram-VD42YOAC-DrBkIcbV.js} +7 -7
- package/dist/{button-Cy0ElmIm.js → button-KYalaJYu.js} +783 -200
- package/dist/{c4Diagram-YG6GDRKO-Deqoag4I.js → c4Diagram-YG6GDRKO-pWt4zmu0.js} +4 -4
- package/dist/{channel-CMsnebrL.js → channel-C56Jz8EL.js} +1 -1
- package/dist/{check-DkNR52Mm.js → check-C50jsehH.js} +1 -1
- package/dist/{chunk-76Q3JFCE-jPuajZH_.js → chunk-76Q3JFCE-CQ6a2yGJ.js} +1 -1
- package/dist/{chunk-ABZYJK2D-BGWvKte3.js → chunk-ABZYJK2D-BwNsaa1P.js} +1 -1
- package/dist/{chunk-ATLVNIR6-BYZB6C5T.js → chunk-ATLVNIR6-DtFMAawc.js} +1 -1
- package/dist/{chunk-B4BG7PRW-CwYUp6Uj.js → chunk-B4BG7PRW-lfWcLlzS.js} +4 -4
- package/dist/{chunk-DI55MBZ5-Gyro6dvN.js → chunk-DI55MBZ5-RhhAimfG.js} +4 -4
- package/dist/{chunk-EXTU4WIE-BlA7aWEw.js → chunk-EXTU4WIE-Bmo660a9.js} +1 -1
- package/dist/{chunk-FPAJGGOC-CduL34ft.js → chunk-FPAJGGOC-quWdfNUB.js} +7 -7
- package/dist/{chunk-FWNWRKHM-C-2TI4gt.js → chunk-FWNWRKHM-DmrwhAQr.js} +1 -1
- package/dist/{chunk-JA3XYJ7Z-Cm-pccR-.js → chunk-JA3XYJ7Z-n8UTzfok.js} +2 -2
- package/dist/{chunk-JZLCHNYA-CoLqqXMe.js → chunk-JZLCHNYA-ChKqHUdB.js} +4 -4
- package/dist/{chunk-LBM3YZW2-DWgQiioW.js → chunk-LBM3YZW2-BkxsqkNK.js} +1 -1
- package/dist/{chunk-LHMN2FUI-Dj_AHSvI.js → chunk-LHMN2FUI-CgYPnxfN.js} +1 -1
- package/dist/{chunk-N4CR4FBY-ByLbY9L-.js → chunk-N4CR4FBY-BxOHGL3P.js} +5 -5
- package/dist/{chunk-O7ZBX7Z2-CRZ8i1rP.js → chunk-O7ZBX7Z2-CdpLwOP0.js} +1 -1
- package/dist/{chunk-QN33PNHL-eodIiY9F.js → chunk-QN33PNHL-Dda-55xY.js} +1 -1
- package/dist/{chunk-QXUST7PY-CuJlDW6A.js → chunk-QXUST7PY-ClIEpoCT.js} +5 -5
- package/dist/{chunk-S3R3BYOJ-CwDGYMVf.js → chunk-S3R3BYOJ-C_1SJcWo.js} +3 -3
- package/dist/{chunk-S6J4BHB3-DNVMr0_v.js → chunk-S6J4BHB3-zfWjyfUg.js} +1 -1
- package/dist/{chunk-T53DSG4Q-BFWkpOX5.js → chunk-T53DSG4Q-Bewz1tiU.js} +1 -1
- package/dist/{chunk-TZMSLE5B-DFDr5FCr.js → chunk-TZMSLE5B-XW3duOft.js} +1 -1
- package/dist/{classDiagram-2ON5EDUG-BDBX9etk.js → classDiagram-2ON5EDUG-CUJlS_eo.js} +10 -10
- package/dist/{classDiagram-v2-WZHVMYZB-Bzj_L_BF.js → classDiagram-v2-WZHVMYZB-BhSPpbkE.js} +10 -10
- package/dist/{clone-Cc_6PW77.js → clone-V9hndNcj.js} +1 -1
- package/dist/{constants-DrOu5vvd.js → constants-BGRTDzdW.js} +2 -2
- package/dist/{copy-DRaXIb_a.js → copy-oc-FcZzt.js} +2 -2
- package/dist/{dagre-6UL2VRFP-r2rSdJYL.js → dagre-6UL2VRFP-BArPH353.js} +11 -11
- package/dist/{dagre-D2F8UdM6.js → dagre-Dcgyn_Uy.js} +15 -15
- package/dist/{diagram-PSM6KHXK-BpxVUe9U.js → diagram-PSM6KHXK-B1xAkr9y.js} +16 -16
- package/dist/{diagram-QEK2KX5R-q3dHUcp6.js → diagram-QEK2KX5R-CaoqwzPb.js} +14 -14
- package/dist/{diagram-S2PKOQOG-MDBKrxSC.js → diagram-S2PKOQOG-NXCsFLvR.js} +14 -14
- package/dist/dist-B8Y11RWn.js +1381 -0
- package/dist/dist-BA-HK7pI.js +5 -0
- package/dist/dist-BD5GU948.js +5 -0
- package/dist/{dist-BfactX3G.js → dist-BGzkWRSl.js} +4 -4
- package/dist/dist-BIYmAsND.js +5 -0
- package/dist/{dist-CmZYrgd_.js → dist-BUEi7EKT.js} +1 -1
- package/dist/{dist-B94MxrQS.js → dist-B_i29Q6L.js} +2 -2
- package/dist/dist-BcKTJXJi.js +5 -0
- package/dist/dist-BgnrtcWg.js +8 -0
- package/dist/{dist-glA_fIK_.js → dist-BoagoQQw.js} +2 -2
- package/dist/{dist-C2-m5aEk.js → dist-BswsDM4k.js} +2 -2
- package/dist/dist-C1njTlBq.js +5 -0
- package/dist/{dist-B2-r9y-0.js → dist-C5QB1NtD.js} +3 -3
- package/dist/{dist-Crk9ejOy.js → dist-CD7uLx0M.js} +2 -2
- package/dist/{dist-B4tYJP_i.js → dist-CMOy93xY.js} +2 -2
- package/dist/dist-CSKHwJYH.js +5 -0
- package/dist/dist-CSKKyiIq.js +5 -0
- package/dist/{dist-iiugPhCC.js → dist-C_9IMrtt.js} +1 -1
- package/dist/{dist-CE43BRmt.js → dist-Cb3iqED3.js} +1 -1
- package/dist/{dist-Dit9tk8a.js → dist-CoZ8kKKW.js} +1 -1
- package/dist/{dist-B5ATpkxy.js → dist-CrAYcS_4.js} +2 -2
- package/dist/dist-CrQ_pOuK.js +6 -0
- package/dist/dist-Cskx1daf.js +5 -0
- package/dist/dist-D4i0Ef34.js +8 -0
- package/dist/{dist-T4g7Sr6e.js → dist-D8EhXZ4S.js} +3 -3
- package/dist/{dist-CJrHMxlI.js → dist-DOLQQtWK.js} +3 -3
- package/dist/dist-DOcn61TX.js +8 -0
- package/dist/{dist-DqJdzAYM.js → dist-Dmr_nXF6.js} +2 -2
- package/dist/{dist-yVJ4xE5n.js → dist-DpAbrLuF.js} +5 -5
- package/dist/{dist-CcOGT46m.js → dist-DrC0QKFK.js} +1 -1
- package/dist/{dist-BYmtF1W6.js → dist-Dv2Phbh5.js} +2 -2
- package/dist/dist-DwMejAPB.js +6 -0
- package/dist/dist-DzSe1wby.js +8 -0
- package/dist/{dist-BbBnU4tG.js → dist-EZFqUJhh.js} +1 -1
- package/dist/{dist-Cgf353Ki.js → dist-Ey9hP8-j.js} +1 -1
- package/dist/{dist-BLwfpZD-.js → dist-IlWGXVjO.js} +2 -2
- package/dist/{dist-DOil6y-3.js → dist-LNp8svLl.js} +4 -4
- package/dist/{dist-CPTE45iS.js → dist-W6TdeACj.js} +1 -1
- package/dist/{dist-Dc1SFk5I.js → dist-a6Obzr07.js} +2 -2
- package/dist/{dist-Bsv_ARko.js → dist-bz6WguLy.js} +2 -2
- package/dist/{dist-CC9VUnXd.js → dist-iDeoXzdN.js} +1 -1
- package/dist/{dist-BoAHOW2l.js → dist-iyBCcLRa.js} +2 -2
- package/dist/{dist-CkEUrAus.js → dist-xCB683Dh.js} +2 -2
- package/dist/{erDiagram-Q2GNP2WA-CX1XdqVD.js → erDiagram-Q2GNP2WA-DWCa11g5.js} +10 -10
- package/dist/error-banner-vCG-EbUQ.js +619 -0
- package/dist/{esm-BAS2d2Ad.js → esm-DZSk8vt3.js} +27 -27
- package/dist/{flatten-eGRGXrC3.js → flatten-CWZjF1fc.js} +1 -1
- package/dist/{flowDiagram-NV44I4VS-BCj-ONTw.js → flowDiagram-NV44I4VS-BQ5PQs4L.js} +10 -10
- package/dist/{ganttDiagram-JELNMOA3-D1l5ewiQ.js → ganttDiagram-JELNMOA3-NTOuNWeT.js} +3 -3
- package/dist/{gitGraph-F6HP7TQM-CDM3aU-T.js → gitGraph-F6HP7TQM-DfRNsaDw.js} +3 -3
- package/dist/{gitGraphDiagram-NY62KEGX-KdZh0iiW.js → gitGraphDiagram-NY62KEGX-CYke62Ot.js} +13 -13
- package/dist/{glide-data-editor-2RvcPqmc.js → glide-data-editor-DttqGjrT.js} +571 -572
- package/dist/{graphlib-7UgfJadv.js → graphlib-CwMnCnQ9.js} +8 -8
- package/dist/{info-NVLQJR56-CoL1x1Fy.js → info-NVLQJR56-CUaoPtis.js} +3 -3
- package/dist/{infoDiagram-WHAUD3N6-PSH7lQ0D.js → infoDiagram-WHAUD3N6-B42WjAPh.js} +13 -13
- package/dist/{isEmpty-DQXRKNtW.js → isEmpty-6z2uv6gM.js} +2 -2
- package/dist/{isString-Clqvtgmo.js → isString-D6abkXrl.js} +1 -1
- package/dist/{isSymbol-TWXhTa8k.js → isSymbol-hk7foJ70.js} +1 -1
- package/dist/{journeyDiagram-XKPGCS4Q-BrTAxQ1J.js → journeyDiagram-XKPGCS4Q-ahXD97kr.js} +3 -3
- package/dist/{kanban-definition-3W4ZIXB7-BoYCDp_9.js → kanban-definition-3W4ZIXB7-CiTIpnhy.js} +7 -7
- package/dist/{label-CxU5JNBW.js → label-Cc5tEavt.js} +250 -250
- package/dist/{loader-C0-eIoas.js → loader-Cob3XFOw.js} +2 -2
- package/dist/main.js +1791 -1056
- package/dist/{memoize-Bag7B41I.js → memoize-Ckyqzyu_.js} +1 -1
- package/dist/{merge-Dl1bfxsj.js → merge-Db4Uulx4.js} +1 -1
- package/dist/{mermaid-C2cSe5YL.js → mermaid-B5xl_2hx.js} +73 -62
- package/dist/{mermaid-parser.core-D20zFbMa.js → mermaid-parser.core-BXj7Il0J.js} +8 -8
- package/dist/{min-Bg4bqmiD.js → min-ypdVXicC.js} +4 -4
- package/dist/{mindmap-definition-VGOIOE7T-CmRjsKEt.js → mindmap-definition-VGOIOE7T-Mni766A_.js} +9 -9
- package/dist/{now-mivqkCIv.js → now-Dwu5ou19.js} +2 -2
- package/dist/{once-BqS42WgZ.js → once-C9dA9qgQ.js} +1 -1
- package/dist/{packet-BFZMPI3H-C6aZmgV-.js → packet-BFZMPI3H-DHtQCusE.js} +3 -3
- package/dist/{pie-7BOR55EZ-NB6xYwcB.js → pie-7BOR55EZ-2sVLYbpR.js} +3 -3
- package/dist/{pieDiagram-ADFJNKIX-CtxQlnsU.js → pieDiagram-ADFJNKIX-PbXpgT8_.js} +14 -14
- package/dist/{quadrantDiagram-AYHSOK5B-DllnB2Hl.js → quadrantDiagram-AYHSOK5B-BtXGnx8i.js} +2 -2
- package/dist/{radar-NHE76QYJ-RKhErikV.js → radar-NHE76QYJ-Be0pEUux.js} +3 -3
- package/dist/{range-LoQMRQIX.js → range-D9jxVFd_.js} +5 -5
- package/dist/{reduce-B9mZDxPo.js → reduce-C6NEPj6s.js} +4 -4
- package/dist/{requirementDiagram-UZGBJVZJ-D36MI1k0.js → requirementDiagram-UZGBJVZJ-DxzXQRgq.js} +9 -9
- package/dist/{sankeyDiagram-TZEHDZUN-D1mygNPC.js → sankeyDiagram-TZEHDZUN-D-I7dJ0_.js} +2 -2
- package/dist/{sequenceDiagram-WL72ISMW-CWdn91Rf.js → sequenceDiagram-WL72ISMW-VDme2ljw.js} +4 -4
- package/dist/{slides-component-DfwLApNr.js → slides-component-ql7-5GDI.js} +2 -2
- package/dist/{spec-HoYHAQo2.js → spec-GwhMEXwK.js} +8 -9
- package/dist/{stateDiagram-FKZM4ZOC-CPxroWXd.js → stateDiagram-FKZM4ZOC-g3GI1EcK.js} +12 -12
- package/dist/{stateDiagram-v2-4FDKWEC3-BpM9Q54b.js → stateDiagram-v2-4FDKWEC3-7i6jBXe6.js} +10 -10
- package/dist/stex-D2rme5UG.js +4 -0
- package/dist/style.css +1 -1
- package/dist/{timeline-definition-IT6M3QCI-CVnRHx_t.js → timeline-definition-IT6M3QCI-bhvLlX_b.js} +2 -2
- package/dist/{toString-C4TLO6FA.js → toString-BwTJvlyD.js} +2 -2
- package/dist/tooltip-CL8m4f9y.js +404 -0
- package/dist/{treemap-KMMF4GRG-B37ugcLd.js → treemap-KMMF4GRG-Ba9ifjpG.js} +3 -3
- package/dist/{types-Ckva8JJq.js → types-Dsh6yC4B.js} +412 -413
- package/dist/{useAsyncData-dr8GazGv.js → useAsyncData-BPpyKjTJ.js} +2 -2
- package/dist/{useDeepCompareMemoize-ChviuF5n.js → useDeepCompareMemoize-C8Ms87P-.js} +18 -19
- package/dist/{useIframeCapabilities-DurI5SJh.js → useIframeCapabilities-C7z8VrZ1.js} +2 -2
- package/dist/{useTheme-SlKl8MlS.js → useTheme-Cq-gIssy.js} +299 -300
- package/dist/{vega-component-CnG0vAjf.js → vega-component-B5sxdjMq.js} +10 -10
- package/dist/{xychartDiagram-PRI3JC2R-BltwMWKC.js → xychartDiagram-PRI3JC2R-CFxuifYY.js} +5 -5
- package/package.json +1 -1
- package/src/components/editor/Output.tsx +8 -6
- package/src/components/editor/__tests__/Output.test.tsx +59 -0
- package/src/components/editor/chrome/__tests__/state.test.ts +321 -0
- package/src/components/editor/chrome/state.ts +27 -2
- package/src/components/editor/file-tree/upload.tsx +46 -23
- package/src/components/editor/links/cell-link.tsx +3 -2
- package/src/components/editor/output/console/ConsoleOutput.tsx +13 -3
- package/src/components/pages/gallery-page.tsx +1 -1
- package/src/components/pages/home-page.tsx +5 -3
- package/src/components/tracing/tracing.tsx +50 -39
- package/src/core/documentation/DocHoverTarget.tsx +23 -0
- package/src/core/documentation/doc-lookup.ts +50 -0
- package/src/core/islands/main.ts +1 -0
- package/src/core/websocket/useMarimoKernelConnection.tsx +3 -0
- package/src/css/app/Cell.css +5 -0
- package/src/mount.tsx +2 -2
- package/src/plugins/core/RenderHTML.tsx +15 -0
- package/src/plugins/core/__test__/registerReactComponent.test.ts +204 -0
- package/src/plugins/core/registerReactComponent.tsx +33 -0
- package/src/plugins/impl/MatrixPlugin.tsx +275 -0
- package/src/plugins/impl/__tests__/MatrixPlugin.test.tsx +415 -0
- package/src/plugins/impl/anywidget/model.ts +1 -2
- package/src/plugins/impl/matplotlib/MatplotlibPlugin.tsx +70 -0
- package/src/plugins/impl/matplotlib/__tests__/matplotlib-renderer.test.ts +152 -0
- package/src/plugins/impl/matplotlib/matplotlib-renderer.ts +781 -0
- package/src/plugins/impl/matrix.css +45 -0
- package/src/plugins/layout/mermaid/mermaid.tsx +11 -3
- package/src/plugins/plugins.ts +4 -0
- package/src/utils/__tests__/download.test.tsx +47 -0
- package/src/utils/download.ts +13 -1
- package/src/utils/links.ts +1 -1
- package/src/utils/urls.ts +1 -1
- package/dist/Combination-BTMrlhzT.js +0 -2611
- package/dist/architecture-U656AL7Q-COfwZju8.js +0 -6
- package/dist/dist-4YNZxwMI.js +0 -8
- package/dist/dist-7nR3r2kG.js +0 -5
- package/dist/dist-B2gkyT3r.js +0 -5
- package/dist/dist-B8G3I6vJ.js +0 -8
- package/dist/dist-BJ96Ykfp.js +0 -8
- package/dist/dist-BKLIWGw4.js +0 -5
- package/dist/dist-Bf3ou00A.js +0 -6
- package/dist/dist-BvkKXuPm.js +0 -5
- package/dist/dist-C6NJ3n6r.js +0 -5
- package/dist/dist-CecLPYY5.js +0 -5
- package/dist/dist-Ch0SwRzK.js +0 -5
- package/dist/dist-D6eWHiFh.js +0 -6
- package/dist/dist-DCQ710Bv.js +0 -5
- package/dist/dist-P_pkS5f-.js +0 -8
- package/dist/error-banner-D2zjeN_a.js +0 -1015
- package/dist/hotkeys-B5WnGZXF.js +0 -587
- package/dist/stex-ChDHQs3R.js +0 -4
- package/dist/zod-bjADtMKr.js +0 -10663
- /package/dist/{_arrayReduce-DlK7U3Q6.js → _arrayReduce-REKcIEj3.js} +0 -0
- /package/dist/{_baseFor-DSVmVciX.js → _baseFor-B69PDbIz.js} +0 -0
- /package/dist/{_hasUnicode-Bz2x6u6r.js → _hasUnicode-DrSAc5A5.js} +0 -0
- /package/dist/{dist-r8ecBV-v.js → dist-CUOuFgHt.js} +0 -0
- /package/dist/{invariant-D9QLJ4SZ.js → invariant-D-K49MfV.js} +0 -0
- /package/dist/{main-DhFbkwoC.js → main-DmxVpB19.js} +0 -0
- /package/dist/{purify.es-Brw-U87Q.js → purify.es-D4vaFt5N.js} +0 -0
- /package/dist/{stex-DrxP7bb3.js → stex-DIvyJfNO.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as _MapCache_default } from "./_baseFor-
|
|
1
|
+
import { i as _MapCache_default } from "./_baseFor-B69PDbIz.js";
|
|
2
2
|
var FUNC_ERROR_TEXT = "Expected a function";
|
|
3
3
|
function memoize(r, i) {
|
|
4
4
|
if (typeof r != "function" || i != null && typeof i != "function") throw TypeError(FUNC_ERROR_TEXT);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as isObject_default, E as _baseGetTag_default, O as _root_default, S as identity_default, T as isObjectLike_default, _ as eq_default, c as isTypedArray_default, d as isBuffer_default, f as isArguments_default, h as isArrayLike_default, m as _isPrototype_default, n as _Uint8Array_default, o as _overArg_default, r as _Stack_default, s as _arrayLikeKeys_default, t as _baseFor_default, v as _isIndex_default, w as isArray_default, x as isFunction_default, y as _getNative_default } from "./_baseFor-
|
|
1
|
+
import { C as isObject_default, E as _baseGetTag_default, O as _root_default, S as identity_default, T as isObjectLike_default, _ as eq_default, c as isTypedArray_default, d as isBuffer_default, f as isArguments_default, h as isArrayLike_default, m as _isPrototype_default, n as _Uint8Array_default, o as _overArg_default, r as _Stack_default, s as _arrayLikeKeys_default, t as _baseFor_default, v as _isIndex_default, w as isArray_default, x as isFunction_default, y as _getNative_default } from "./_baseFor-B69PDbIz.js";
|
|
2
2
|
var objectCreate = Object.create, _baseCreate_default = /* @__PURE__ */ (function() {
|
|
3
3
|
function I() {
|
|
4
4
|
}
|
|
@@ -1,26 +1,29 @@
|
|
|
1
1
|
import { s as __toESM } from "./chunk-BNovOVIE.js";
|
|
2
2
|
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
3
3
|
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
4
|
-
import {
|
|
4
|
+
import { g as Logger } from "./button-KYalaJYu.js";
|
|
5
|
+
import "./Combination-Du-o_hC9.js";
|
|
5
6
|
import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { t as
|
|
10
|
-
import {
|
|
7
|
+
import "./react-dom-CqtLRVZP.js";
|
|
8
|
+
import { t as isEmpty_default } from "./isEmpty-6z2uv6gM.js";
|
|
9
|
+
import { n as useTheme } from "./useTheme-Cq-gIssy.js";
|
|
10
|
+
import { t as purify } from "./purify.es-D4vaFt5N.js";
|
|
11
|
+
import { n as ErrorBanner } from "./error-banner-vCG-EbUQ.js";
|
|
12
|
+
import { t as useAsyncData } from "./useAsyncData-BPpyKjTJ.js";
|
|
13
|
+
import { a as decodeEntities, f as isDetailedError, g as utils_default, h as removeDirectives, i as cleanAndMerge, o as encodeEntities } from "./chunk-S3R3BYOJ-C_1SJcWo.js";
|
|
11
14
|
import { a as setLogLevel, i as log, r as __name, t as select_default } from "./src-jICM_d2B.js";
|
|
12
15
|
import { t as package_default } from "./chunk-XAJISQIX-CZ8Bi1-x.js";
|
|
13
|
-
import { J as themes_default, M as registerLazyLoadedDiagrams, P as reset, R as saveConfigFromInitialize, S as getDiagramLoader, V as setConfig, W as setSiteConfig, Y as updateSiteConfig, c as configureSvgSize, f as detectType, g as frontMatterRegex, h as evaluate, j as registerDiagram, l as defaultConfig, n as addDirective, p as detectors, q as styles_default, r as assignWithDepth_default, t as UnknownDiagramError, w as getSiteConfig, x as getDiagram, y as getConfig, __tla as __tla_0 } from "./chunk-ABZYJK2D-
|
|
14
|
-
import { t as selectSvgElement } from "./chunk-EXTU4WIE-
|
|
16
|
+
import { J as themes_default, M as registerLazyLoadedDiagrams, P as reset, R as saveConfigFromInitialize, S as getDiagramLoader, V as setConfig, W as setSiteConfig, Y as updateSiteConfig, c as configureSvgSize, f as detectType, g as frontMatterRegex, h as evaluate, j as registerDiagram, l as defaultConfig, n as addDirective, p as detectors, q as styles_default, r as assignWithDepth_default, t as UnknownDiagramError, w as getSiteConfig, x as getDiagram, y as getConfig, __tla as __tla_0 } from "./chunk-ABZYJK2D-BwNsaa1P.js";
|
|
17
|
+
import { t as selectSvgElement } from "./chunk-EXTU4WIE-Bmo660a9.js";
|
|
15
18
|
import { n as load, t as JSON_SCHEMA } from "./chunk-MI3HLSF2-DeDZS-tQ.js";
|
|
16
19
|
import "./chunk-HN2XXSSU-BsB4dtgF.js";
|
|
17
20
|
import "./chunk-CVBHYZKI-Bb2XMuXJ.js";
|
|
18
|
-
import "./chunk-ATLVNIR6-
|
|
21
|
+
import "./chunk-ATLVNIR6-DtFMAawc.js";
|
|
19
22
|
import "./dist-BYznkC5E.js";
|
|
20
|
-
import { i as registerIconPacks, s as dedent } from "./chunk-JA3XYJ7Z-
|
|
21
|
-
import "./chunk-JZLCHNYA-
|
|
22
|
-
import "./chunk-QXUST7PY-
|
|
23
|
-
import { n as registerLayoutLoaders, __tla as __tla_1 } from "./chunk-N4CR4FBY-
|
|
23
|
+
import { i as registerIconPacks, s as dedent } from "./chunk-JA3XYJ7Z-n8UTzfok.js";
|
|
24
|
+
import "./chunk-JZLCHNYA-ChKqHUdB.js";
|
|
25
|
+
import "./chunk-QXUST7PY-ClIEpoCT.js";
|
|
26
|
+
import { n as registerLayoutLoaders, __tla as __tla_1 } from "./chunk-N4CR4FBY-BxOHGL3P.js";
|
|
24
27
|
let mermaid_default;
|
|
25
28
|
let __tla = Promise.all([
|
|
26
29
|
(() => {
|
|
@@ -303,7 +306,7 @@ let __tla = Promise.all([
|
|
|
303
306
|
id,
|
|
304
307
|
detector: __name((e) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e), "detector"),
|
|
305
308
|
loader: __name(async () => {
|
|
306
|
-
let { diagram: e } = await import("./c4Diagram-YG6GDRKO-
|
|
309
|
+
let { diagram: e } = await import("./c4Diagram-YG6GDRKO-pWt4zmu0.js");
|
|
307
310
|
return {
|
|
308
311
|
id,
|
|
309
312
|
diagram: e
|
|
@@ -316,7 +319,7 @@ let __tla = Promise.all([
|
|
|
316
319
|
return ((_a2 = S == null ? void 0 : S.flowchart) == null ? void 0 : _a2.defaultRenderer) === "dagre-wrapper" || ((_b = S == null ? void 0 : S.flowchart) == null ? void 0 : _b.defaultRenderer) === "elk" ? false : /^\s*graph/.test(e);
|
|
317
320
|
}, "detector"),
|
|
318
321
|
loader: __name(async () => {
|
|
319
|
-
let { diagram: e } = await import("./flowDiagram-NV44I4VS-
|
|
322
|
+
let { diagram: e } = await import("./flowDiagram-NV44I4VS-BQ5PQs4L.js");
|
|
320
323
|
return {
|
|
321
324
|
id: id2,
|
|
322
325
|
diagram: e
|
|
@@ -329,7 +332,7 @@ let __tla = Promise.all([
|
|
|
329
332
|
return ((_a2 = S == null ? void 0 : S.flowchart) == null ? void 0 : _a2.defaultRenderer) === "dagre-d3" ? false : (((_b = S == null ? void 0 : S.flowchart) == null ? void 0 : _b.defaultRenderer) === "elk" && (S.layout = "elk"), /^\s*graph/.test(e) && ((_c = S == null ? void 0 : S.flowchart) == null ? void 0 : _c.defaultRenderer) === "dagre-wrapper" ? true : /^\s*flowchart/.test(e));
|
|
330
333
|
}, "detector"),
|
|
331
334
|
loader: __name(async () => {
|
|
332
|
-
let { diagram: e } = await import("./flowDiagram-NV44I4VS-
|
|
335
|
+
let { diagram: e } = await import("./flowDiagram-NV44I4VS-BQ5PQs4L.js");
|
|
333
336
|
return {
|
|
334
337
|
id: id3,
|
|
335
338
|
diagram: e
|
|
@@ -339,7 +342,7 @@ let __tla = Promise.all([
|
|
|
339
342
|
id: id4,
|
|
340
343
|
detector: __name((e) => /^\s*erDiagram/.test(e), "detector"),
|
|
341
344
|
loader: __name(async () => {
|
|
342
|
-
let { diagram: e } = await import("./erDiagram-Q2GNP2WA-
|
|
345
|
+
let { diagram: e } = await import("./erDiagram-Q2GNP2WA-DWCa11g5.js");
|
|
343
346
|
return {
|
|
344
347
|
id: id4,
|
|
345
348
|
diagram: e
|
|
@@ -349,7 +352,7 @@ let __tla = Promise.all([
|
|
|
349
352
|
id: id5,
|
|
350
353
|
detector: __name((e) => /^\s*gitGraph/.test(e), "detector"),
|
|
351
354
|
loader: __name(async () => {
|
|
352
|
-
let { diagram: e } = await import("./gitGraphDiagram-NY62KEGX-
|
|
355
|
+
let { diagram: e } = await import("./gitGraphDiagram-NY62KEGX-CYke62Ot.js");
|
|
353
356
|
return {
|
|
354
357
|
id: id5,
|
|
355
358
|
diagram: e
|
|
@@ -359,7 +362,7 @@ let __tla = Promise.all([
|
|
|
359
362
|
id: id6,
|
|
360
363
|
detector: __name((e) => /^\s*gantt/.test(e), "detector"),
|
|
361
364
|
loader: __name(async () => {
|
|
362
|
-
let { diagram: e } = await import("./ganttDiagram-JELNMOA3-
|
|
365
|
+
let { diagram: e } = await import("./ganttDiagram-JELNMOA3-NTOuNWeT.js");
|
|
363
366
|
return {
|
|
364
367
|
id: id6,
|
|
365
368
|
diagram: e
|
|
@@ -369,7 +372,7 @@ let __tla = Promise.all([
|
|
|
369
372
|
id: id7,
|
|
370
373
|
detector: __name((e) => /^\s*info/.test(e), "detector"),
|
|
371
374
|
loader: __name(async () => {
|
|
372
|
-
let { diagram: e } = await import("./infoDiagram-WHAUD3N6-
|
|
375
|
+
let { diagram: e } = await import("./infoDiagram-WHAUD3N6-B42WjAPh.js");
|
|
373
376
|
return {
|
|
374
377
|
id: id7,
|
|
375
378
|
diagram: e
|
|
@@ -379,7 +382,7 @@ let __tla = Promise.all([
|
|
|
379
382
|
id: id8,
|
|
380
383
|
detector: __name((e) => /^\s*pie/.test(e), "detector"),
|
|
381
384
|
loader: __name(async () => {
|
|
382
|
-
let { diagram: e } = await import("./pieDiagram-ADFJNKIX-
|
|
385
|
+
let { diagram: e } = await import("./pieDiagram-ADFJNKIX-PbXpgT8_.js");
|
|
383
386
|
return {
|
|
384
387
|
id: id8,
|
|
385
388
|
diagram: e
|
|
@@ -389,7 +392,7 @@ let __tla = Promise.all([
|
|
|
389
392
|
id: id9,
|
|
390
393
|
detector: __name((e) => /^\s*quadrantChart/.test(e), "detector"),
|
|
391
394
|
loader: __name(async () => {
|
|
392
|
-
let { diagram: e } = await import("./quadrantDiagram-AYHSOK5B-
|
|
395
|
+
let { diagram: e } = await import("./quadrantDiagram-AYHSOK5B-BtXGnx8i.js");
|
|
393
396
|
return {
|
|
394
397
|
id: id9,
|
|
395
398
|
diagram: e
|
|
@@ -399,7 +402,7 @@ let __tla = Promise.all([
|
|
|
399
402
|
id: id10,
|
|
400
403
|
detector: __name((e) => /^\s*xychart(-beta)?/.test(e), "detector"),
|
|
401
404
|
loader: __name(async () => {
|
|
402
|
-
let { diagram: e } = await import("./xychartDiagram-PRI3JC2R-
|
|
405
|
+
let { diagram: e } = await import("./xychartDiagram-PRI3JC2R-CFxuifYY.js");
|
|
403
406
|
return {
|
|
404
407
|
id: id10,
|
|
405
408
|
diagram: e
|
|
@@ -409,7 +412,7 @@ let __tla = Promise.all([
|
|
|
409
412
|
id: id11,
|
|
410
413
|
detector: __name((e) => /^\s*requirement(Diagram)?/.test(e), "detector"),
|
|
411
414
|
loader: __name(async () => {
|
|
412
|
-
let { diagram: e } = await import("./requirementDiagram-UZGBJVZJ-
|
|
415
|
+
let { diagram: e } = await import("./requirementDiagram-UZGBJVZJ-DxzXQRgq.js");
|
|
413
416
|
return {
|
|
414
417
|
id: id11,
|
|
415
418
|
diagram: e
|
|
@@ -419,7 +422,7 @@ let __tla = Promise.all([
|
|
|
419
422
|
id: id12,
|
|
420
423
|
detector: __name((e) => /^\s*sequenceDiagram/.test(e), "detector"),
|
|
421
424
|
loader: __name(async () => {
|
|
422
|
-
let { diagram: e } = await import("./sequenceDiagram-WL72ISMW-
|
|
425
|
+
let { diagram: e } = await import("./sequenceDiagram-WL72ISMW-VDme2ljw.js");
|
|
423
426
|
return {
|
|
424
427
|
id: id12,
|
|
425
428
|
diagram: e
|
|
@@ -432,7 +435,7 @@ let __tla = Promise.all([
|
|
|
432
435
|
return ((_a2 = S == null ? void 0 : S.class) == null ? void 0 : _a2.defaultRenderer) === "dagre-wrapper" ? false : /^\s*classDiagram/.test(e);
|
|
433
436
|
}, "detector"),
|
|
434
437
|
loader: __name(async () => {
|
|
435
|
-
let { diagram: e } = await import("./classDiagram-2ON5EDUG-
|
|
438
|
+
let { diagram: e } = await import("./classDiagram-2ON5EDUG-CUJlS_eo.js");
|
|
436
439
|
return {
|
|
437
440
|
id: id13,
|
|
438
441
|
diagram: e
|
|
@@ -445,7 +448,7 @@ let __tla = Promise.all([
|
|
|
445
448
|
return /^\s*classDiagram/.test(e) && ((_a2 = S == null ? void 0 : S.class) == null ? void 0 : _a2.defaultRenderer) === "dagre-wrapper" ? true : /^\s*classDiagram-v2/.test(e);
|
|
446
449
|
}, "detector"),
|
|
447
450
|
loader: __name(async () => {
|
|
448
|
-
let { diagram: e } = await import("./classDiagram-v2-WZHVMYZB-
|
|
451
|
+
let { diagram: e } = await import("./classDiagram-v2-WZHVMYZB-BhSPpbkE.js");
|
|
449
452
|
return {
|
|
450
453
|
id: id14,
|
|
451
454
|
diagram: e
|
|
@@ -458,7 +461,7 @@ let __tla = Promise.all([
|
|
|
458
461
|
return ((_a2 = S == null ? void 0 : S.state) == null ? void 0 : _a2.defaultRenderer) === "dagre-wrapper" ? false : /^\s*stateDiagram/.test(e);
|
|
459
462
|
}, "detector"),
|
|
460
463
|
loader: __name(async () => {
|
|
461
|
-
let { diagram: e } = await import("./stateDiagram-FKZM4ZOC-
|
|
464
|
+
let { diagram: e } = await import("./stateDiagram-FKZM4ZOC-g3GI1EcK.js");
|
|
462
465
|
return {
|
|
463
466
|
id: id15,
|
|
464
467
|
diagram: e
|
|
@@ -471,7 +474,7 @@ let __tla = Promise.all([
|
|
|
471
474
|
return !!(/^\s*stateDiagram-v2/.test(e) || /^\s*stateDiagram/.test(e) && ((_a2 = S == null ? void 0 : S.state) == null ? void 0 : _a2.defaultRenderer) === "dagre-wrapper");
|
|
472
475
|
}, "detector"),
|
|
473
476
|
loader: __name(async () => {
|
|
474
|
-
let { diagram: e } = await import("./stateDiagram-v2-4FDKWEC3-
|
|
477
|
+
let { diagram: e } = await import("./stateDiagram-v2-4FDKWEC3-7i6jBXe6.js");
|
|
475
478
|
return {
|
|
476
479
|
id: id16,
|
|
477
480
|
diagram: e
|
|
@@ -481,7 +484,7 @@ let __tla = Promise.all([
|
|
|
481
484
|
id: id17,
|
|
482
485
|
detector: __name((e) => /^\s*journey/.test(e), "detector"),
|
|
483
486
|
loader: __name(async () => {
|
|
484
|
-
let { diagram: e } = await import("./journeyDiagram-XKPGCS4Q-
|
|
487
|
+
let { diagram: e } = await import("./journeyDiagram-XKPGCS4Q-ahXD97kr.js");
|
|
485
488
|
return {
|
|
486
489
|
id: id17,
|
|
487
490
|
diagram: e
|
|
@@ -507,7 +510,7 @@ let __tla = Promise.all([
|
|
|
507
510
|
return /^\s*flowchart-elk/.test(e) || /^\s*(flowchart|graph)/.test(e) && ((_a2 = S == null ? void 0 : S.flowchart) == null ? void 0 : _a2.defaultRenderer) === "elk" ? (S.layout = "elk", true) : false;
|
|
508
511
|
}, "detector"),
|
|
509
512
|
loader: __name(async () => {
|
|
510
|
-
let { diagram: e } = await import("./flowDiagram-NV44I4VS-
|
|
513
|
+
let { diagram: e } = await import("./flowDiagram-NV44I4VS-BQ5PQs4L.js");
|
|
511
514
|
return {
|
|
512
515
|
id: id18,
|
|
513
516
|
diagram: e
|
|
@@ -517,7 +520,7 @@ let __tla = Promise.all([
|
|
|
517
520
|
id: id19,
|
|
518
521
|
detector: __name((e) => /^\s*timeline/.test(e), "detector"),
|
|
519
522
|
loader: __name(async () => {
|
|
520
|
-
let { diagram: e } = await import("./timeline-definition-IT6M3QCI-
|
|
523
|
+
let { diagram: e } = await import("./timeline-definition-IT6M3QCI-bhvLlX_b.js");
|
|
521
524
|
return {
|
|
522
525
|
id: id19,
|
|
523
526
|
diagram: e
|
|
@@ -527,7 +530,7 @@ let __tla = Promise.all([
|
|
|
527
530
|
id: id20,
|
|
528
531
|
detector: __name((e) => /^\s*mindmap/.test(e), "detector"),
|
|
529
532
|
loader: __name(async () => {
|
|
530
|
-
let { diagram: e } = await import("./mindmap-definition-VGOIOE7T-
|
|
533
|
+
let { diagram: e } = await import("./mindmap-definition-VGOIOE7T-Mni766A_.js");
|
|
531
534
|
return {
|
|
532
535
|
id: id20,
|
|
533
536
|
diagram: e
|
|
@@ -537,7 +540,7 @@ let __tla = Promise.all([
|
|
|
537
540
|
id: id21,
|
|
538
541
|
detector: __name((e) => /^\s*kanban/.test(e), "detector"),
|
|
539
542
|
loader: __name(async () => {
|
|
540
|
-
let { diagram: e } = await import("./kanban-definition-3W4ZIXB7-
|
|
543
|
+
let { diagram: e } = await import("./kanban-definition-3W4ZIXB7-CiTIpnhy.js");
|
|
541
544
|
return {
|
|
542
545
|
id: id21,
|
|
543
546
|
diagram: e
|
|
@@ -547,7 +550,7 @@ let __tla = Promise.all([
|
|
|
547
550
|
id: id22,
|
|
548
551
|
detector: __name((e) => /^\s*sankey(-beta)?/.test(e), "detector"),
|
|
549
552
|
loader: __name(async () => {
|
|
550
|
-
let { diagram: e } = await import("./sankeyDiagram-TZEHDZUN-
|
|
553
|
+
let { diagram: e } = await import("./sankeyDiagram-TZEHDZUN-D-I7dJ0_.js");
|
|
551
554
|
return {
|
|
552
555
|
id: id22,
|
|
553
556
|
diagram: e
|
|
@@ -557,7 +560,7 @@ let __tla = Promise.all([
|
|
|
557
560
|
id: id23,
|
|
558
561
|
detector: __name((e) => /^\s*packet(-beta)?/.test(e), "detector"),
|
|
559
562
|
loader: __name(async () => {
|
|
560
|
-
let { diagram: e } = await import("./diagram-S2PKOQOG-
|
|
563
|
+
let { diagram: e } = await import("./diagram-S2PKOQOG-NXCsFLvR.js");
|
|
561
564
|
return {
|
|
562
565
|
id: id23,
|
|
563
566
|
diagram: e
|
|
@@ -567,7 +570,7 @@ let __tla = Promise.all([
|
|
|
567
570
|
id: id24,
|
|
568
571
|
detector: __name((e) => /^\s*radar-beta/.test(e), "detector"),
|
|
569
572
|
loader: __name(async () => {
|
|
570
|
-
let { diagram: e } = await import("./diagram-QEK2KX5R-
|
|
573
|
+
let { diagram: e } = await import("./diagram-QEK2KX5R-CaoqwzPb.js");
|
|
571
574
|
return {
|
|
572
575
|
id: id24,
|
|
573
576
|
diagram: e
|
|
@@ -577,7 +580,7 @@ let __tla = Promise.all([
|
|
|
577
580
|
id: id25,
|
|
578
581
|
detector: __name((e) => /^\s*block(-beta)?/.test(e), "detector"),
|
|
579
582
|
loader: __name(async () => {
|
|
580
|
-
let { diagram: e } = await import("./blockDiagram-VD42YOAC-
|
|
583
|
+
let { diagram: e } = await import("./blockDiagram-VD42YOAC-DrBkIcbV.js");
|
|
581
584
|
return {
|
|
582
585
|
id: id25,
|
|
583
586
|
diagram: e
|
|
@@ -587,7 +590,7 @@ let __tla = Promise.all([
|
|
|
587
590
|
id: id26,
|
|
588
591
|
detector: __name((e) => /^\s*architecture/.test(e), "detector"),
|
|
589
592
|
loader: __name(async () => {
|
|
590
|
-
let { diagram: e } = await import("./architectureDiagram-VXUJARFQ-
|
|
593
|
+
let { diagram: e } = await import("./architectureDiagram-VXUJARFQ-DhN0C3Xf.js");
|
|
591
594
|
return {
|
|
592
595
|
id: id26,
|
|
593
596
|
diagram: e
|
|
@@ -597,7 +600,7 @@ let __tla = Promise.all([
|
|
|
597
600
|
id: id27,
|
|
598
601
|
detector: __name((e) => /^\s*treemap/.test(e), "detector"),
|
|
599
602
|
loader: __name(async () => {
|
|
600
|
-
let { diagram: e } = await import("./diagram-PSM6KHXK-
|
|
603
|
+
let { diagram: e } = await import("./diagram-PSM6KHXK-B1xAkr9y.js");
|
|
601
604
|
return {
|
|
602
605
|
id: id27,
|
|
603
606
|
diagram: e
|
|
@@ -813,28 +816,28 @@ ${e.themeCSS}`), e.fontFamily !== void 0 && (C += `
|
|
|
813
816
|
S = w.code;
|
|
814
817
|
let T = getConfig();
|
|
815
818
|
log.debug(T), S.length > ((T == null ? void 0 : T.maxTextSize) ?? MAX_TEXTLENGTH) && (S = MAX_TEXTLENGTH_EXCEEDED_MSG);
|
|
816
|
-
let
|
|
819
|
+
let E = "#" + e, D = "i" + e, k = "#" + D, A = "d" + e, j = "#" + A, M = __name(() => {
|
|
817
820
|
let e2 = select_default(P ? k : j).node();
|
|
818
821
|
e2 && "remove" in e2 && e2.remove();
|
|
819
822
|
}, "removeTempElements"), N = select_default("body"), P = T.securityLevel === SECURITY_LVL_SANDBOX, F = T.securityLevel === SECURITY_LVL_LOOSE, I = T.fontFamily;
|
|
820
|
-
C === void 0 ? (removeExistingElements(document, e, A,
|
|
821
|
-
let
|
|
823
|
+
C === void 0 ? (removeExistingElements(document, e, A, D), P ? (N = select_default(sandboxedIframe(select_default("body"), D).nodes()[0].contentDocument.body), N.node().style.margin = 0) : N = select_default("body"), appendDivSvgG(N, e, A)) : (C && (C.innerHTML = ""), P ? (N = select_default(sandboxedIframe(select_default(C), D).nodes()[0].contentDocument.body), N.node().style.margin = 0) : N = select_default(C), appendDivSvgG(N, e, A, `font-family: ${I}`, XMLNS_XLINK_STD));
|
|
824
|
+
let L, H;
|
|
822
825
|
try {
|
|
823
|
-
|
|
826
|
+
L = await Diagram.fromText(S, {
|
|
824
827
|
title: w.title
|
|
825
828
|
});
|
|
826
829
|
} catch (e2) {
|
|
827
830
|
if (T.suppressErrorRendering) throw M(), e2;
|
|
828
|
-
|
|
831
|
+
L = await Diagram.fromText("error"), H = e2;
|
|
829
832
|
}
|
|
830
|
-
let U = N.select(j).node(), W =
|
|
833
|
+
let U = N.select(j).node(), W = L.type, G = U.firstChild, K = G.firstChild, q = (_b = (_a2 = L.renderer).getClasses) == null ? void 0 : _b.call(_a2, S, L), J = createUserStyles(T, W, q, E), Y = document.createElement("style");
|
|
831
834
|
Y.innerHTML = J, G.insertBefore(Y, K);
|
|
832
835
|
try {
|
|
833
|
-
await
|
|
836
|
+
await L.renderer.draw(S, e, package_default.version, L);
|
|
834
837
|
} catch (C2) {
|
|
835
838
|
throw T.suppressErrorRendering ? M() : errorRenderer_default.draw(S, e, package_default.version), C2;
|
|
836
839
|
}
|
|
837
|
-
let X = N.select(`${j} svg`), Z = (_d = (_c =
|
|
840
|
+
let X = N.select(`${j} svg`), Z = (_d = (_c = L.db).getAccTitle) == null ? void 0 : _d.call(_c), Q = (_f = (_e = L.db).getAccDescription) == null ? void 0 : _f.call(_e);
|
|
838
841
|
addA11yInfo(W, X, Z, Q), N.select(`[id="${e}"]`).selectAll("foreignobject > *").attr("xmlns", XMLNS_XHTML_STD);
|
|
839
842
|
let $ = N.select(j).node().innerHTML;
|
|
840
843
|
if (log.debug("config.arrowMarkerAbsolute", T.arrowMarkerAbsolute), $ = cleanUpSvgCode($, P, evaluate(T.arrowMarkerAbsolute)), P) {
|
|
@@ -851,7 +854,7 @@ ${e.themeCSS}`), e.fontFamily !== void 0 && (C += `
|
|
|
851
854
|
return M(), {
|
|
852
855
|
diagramType: W,
|
|
853
856
|
svg: $,
|
|
854
|
-
bindFunctions:
|
|
857
|
+
bindFunctions: L.db.bindFunctions
|
|
855
858
|
};
|
|
856
859
|
}, "render");
|
|
857
860
|
function initialize(e = {}) {
|
|
@@ -1050,31 +1053,39 @@ ${e.themeCSS}`), e.fontFamily !== void 0 && (C += `
|
|
|
1050
1053
|
}, () => "abcdefghijklmnopqrstuvwxyz"[Math.floor(Math.random() * 26)]).join("");
|
|
1051
1054
|
}
|
|
1052
1055
|
mermaid_default = (e) => {
|
|
1053
|
-
let S = (0, import_compiler_runtime.c)(
|
|
1056
|
+
let S = (0, import_compiler_runtime.c)(13), { diagram: C } = e, [T] = (0, import_react.useState)(_temp), E = useTheme().theme === "dark";
|
|
1054
1057
|
mermaid_default$1.initialize({
|
|
1055
1058
|
...DEFAULT_CONFIG,
|
|
1056
1059
|
theme: E ? "dark" : "forest",
|
|
1057
1060
|
darkMode: E
|
|
1058
1061
|
});
|
|
1059
1062
|
let O;
|
|
1060
|
-
S[0]
|
|
1063
|
+
S[0] === C ? O = S[1] : (O = C.trim(), S[0] = C, S[1] = O);
|
|
1064
|
+
let j = O, M;
|
|
1065
|
+
S[2] !== T || S[3] !== j ? (M = async () => (await mermaid_default$1.render(T, j, void 0).catch((e2) => {
|
|
1061
1066
|
var _a2;
|
|
1062
1067
|
throw (_a2 = document.getElementById(T)) == null ? void 0 : _a2.remove(), Logger.warn("Failed to render mermaid diagram", e2), e2;
|
|
1063
|
-
})).svg, S[
|
|
1064
|
-
let
|
|
1065
|
-
S[
|
|
1066
|
-
|
|
1068
|
+
})).svg, S[2] = T, S[3] = j, S[4] = M) : M = S[4];
|
|
1069
|
+
let N;
|
|
1070
|
+
S[5] !== E || S[6] !== T || S[7] !== j ? (N = [
|
|
1071
|
+
j,
|
|
1067
1072
|
T,
|
|
1068
1073
|
E
|
|
1069
|
-
], S[
|
|
1070
|
-
let { data:
|
|
1071
|
-
if (
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
+
], S[5] = E, S[6] = T, S[7] = j, S[8] = N) : N = S[8];
|
|
1075
|
+
let { data: P, error: F } = useAsyncData(M, N);
|
|
1076
|
+
if (F) {
|
|
1077
|
+
let e2;
|
|
1078
|
+
return S[9] === F ? e2 = S[10] : (e2 = (0, import_jsx_runtime.jsx)(ErrorBanner, {
|
|
1079
|
+
error: F
|
|
1080
|
+
}), S[9] = F, S[10] = e2), e2;
|
|
1081
|
+
}
|
|
1082
|
+
if (!P) return null;
|
|
1083
|
+
let I;
|
|
1084
|
+
return S[11] === P ? I = S[12] : (I = (0, import_jsx_runtime.jsx)("div", {
|
|
1074
1085
|
dangerouslySetInnerHTML: {
|
|
1075
|
-
__html:
|
|
1086
|
+
__html: P
|
|
1076
1087
|
}
|
|
1077
|
-
}), S[
|
|
1088
|
+
}), S[11] = P, S[12] = I), I;
|
|
1078
1089
|
};
|
|
1079
1090
|
function _temp() {
|
|
1080
1091
|
return randomAlpha();
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { f as __name } from "./chunk-FPAJGGOC-
|
|
1
|
+
import { f as __name } from "./chunk-FPAJGGOC-quWdfNUB.js";
|
|
2
2
|
let parse;
|
|
3
3
|
let __tla = (async () => {
|
|
4
4
|
var _a;
|
|
5
5
|
var parsers = {}, initializers = {
|
|
6
6
|
info: __name(async () => {
|
|
7
|
-
let { createInfoServices: e } = await import("./info-NVLQJR56-
|
|
7
|
+
let { createInfoServices: e } = await import("./info-NVLQJR56-CUaoPtis.js");
|
|
8
8
|
parsers.info = e().Info.parser.LangiumParser;
|
|
9
9
|
}, "info"),
|
|
10
10
|
packet: __name(async () => {
|
|
11
|
-
let { createPacketServices: e } = await import("./packet-BFZMPI3H-
|
|
11
|
+
let { createPacketServices: e } = await import("./packet-BFZMPI3H-DHtQCusE.js");
|
|
12
12
|
parsers.packet = e().Packet.parser.LangiumParser;
|
|
13
13
|
}, "packet"),
|
|
14
14
|
pie: __name(async () => {
|
|
15
|
-
let { createPieServices: e } = await import("./pie-7BOR55EZ-
|
|
15
|
+
let { createPieServices: e } = await import("./pie-7BOR55EZ-2sVLYbpR.js");
|
|
16
16
|
parsers.pie = e().Pie.parser.LangiumParser;
|
|
17
17
|
}, "pie"),
|
|
18
18
|
architecture: __name(async () => {
|
|
19
|
-
let { createArchitectureServices: e } = await import("./architecture-U656AL7Q-
|
|
19
|
+
let { createArchitectureServices: e } = await import("./architecture-U656AL7Q-Jd2CvPgJ.js");
|
|
20
20
|
parsers.architecture = e().Architecture.parser.LangiumParser;
|
|
21
21
|
}, "architecture"),
|
|
22
22
|
gitGraph: __name(async () => {
|
|
23
|
-
let { createGitGraphServices: e } = await import("./gitGraph-F6HP7TQM-
|
|
23
|
+
let { createGitGraphServices: e } = await import("./gitGraph-F6HP7TQM-DfRNsaDw.js");
|
|
24
24
|
parsers.gitGraph = e().GitGraph.parser.LangiumParser;
|
|
25
25
|
}, "gitGraph"),
|
|
26
26
|
radar: __name(async () => {
|
|
27
|
-
let { createRadarServices: e } = await import("./radar-NHE76QYJ-
|
|
27
|
+
let { createRadarServices: e } = await import("./radar-NHE76QYJ-Be0pEUux.js");
|
|
28
28
|
parsers.radar = e().Radar.parser.LangiumParser;
|
|
29
29
|
}, "radar"),
|
|
30
30
|
treemap: __name(async () => {
|
|
31
|
-
let { createTreemapServices: e } = await import("./treemap-KMMF4GRG-
|
|
31
|
+
let { createTreemapServices: e } = await import("./treemap-KMMF4GRG-Ba9ifjpG.js");
|
|
32
32
|
parsers.treemap = e().Treemap.parser.LangiumParser;
|
|
33
33
|
}, "treemap")
|
|
34
34
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as identity_default, h as isArrayLike_default, w as isArray_default } from "./_baseFor-
|
|
2
|
-
import { t as isSymbol_default } from "./isSymbol-
|
|
3
|
-
import { n as _arrayMap_default } from "./toString-
|
|
4
|
-
import { a as _baseEach_default, s as _baseIteratee_default } from "./reduce-
|
|
1
|
+
import { S as identity_default, h as isArrayLike_default, w as isArray_default } from "./_baseFor-B69PDbIz.js";
|
|
2
|
+
import { t as isSymbol_default } from "./isSymbol-hk7foJ70.js";
|
|
3
|
+
import { n as _arrayMap_default } from "./toString-BwTJvlyD.js";
|
|
4
|
+
import { a as _baseEach_default, s as _baseIteratee_default } from "./reduce-C6NEPj6s.js";
|
|
5
5
|
function baseMap(e, l) {
|
|
6
6
|
var u = -1, d = isArrayLike_default(e) ? Array(e.length) : [];
|
|
7
7
|
return _baseEach_default(e, function(e2, c, f) {
|
package/dist/{mindmap-definition-VGOIOE7T-CmRjsKEt.js → mindmap-definition-VGOIOE7T-Mni766A_.js}
RENAMED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
var _a;
|
|
2
|
-
import "./purify.es-
|
|
3
|
-
import "./chunk-S3R3BYOJ-
|
|
2
|
+
import "./purify.es-D4vaFt5N.js";
|
|
3
|
+
import "./chunk-S3R3BYOJ-C_1SJcWo.js";
|
|
4
4
|
import { i as log, r as __name } from "./src-jICM_d2B.js";
|
|
5
|
-
import { D as getUserDefinedConfig, 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 { D as getUserDefinedConfig, 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-BwNsaa1P.js";
|
|
6
6
|
import "./chunk-HN2XXSSU-BsB4dtgF.js";
|
|
7
7
|
import "./chunk-CVBHYZKI-Bb2XMuXJ.js";
|
|
8
|
-
import "./chunk-ATLVNIR6-
|
|
8
|
+
import "./chunk-ATLVNIR6-DtFMAawc.js";
|
|
9
9
|
import "./dist-BYznkC5E.js";
|
|
10
|
-
import "./chunk-JA3XYJ7Z-
|
|
11
|
-
import "./chunk-JZLCHNYA-
|
|
12
|
-
import "./chunk-QXUST7PY-
|
|
13
|
-
import { r as render, t as getRegisteredLayoutAlgorithm } from "./chunk-N4CR4FBY-
|
|
10
|
+
import "./chunk-JA3XYJ7Z-n8UTzfok.js";
|
|
11
|
+
import "./chunk-JZLCHNYA-ChKqHUdB.js";
|
|
12
|
+
import "./chunk-QXUST7PY-ClIEpoCT.js";
|
|
13
|
+
import { r as render, t as getRegisteredLayoutAlgorithm } from "./chunk-N4CR4FBY-BxOHGL3P.js";
|
|
14
14
|
import { t as getDiagramElement } from "./chunk-55IACEB6-irYMvHJu.js";
|
|
15
|
-
import { t as setupViewPortForSVG } from "./chunk-QN33PNHL-
|
|
15
|
+
import { t as setupViewPortForSVG } from "./chunk-QN33PNHL-Dda-55xY.js";
|
|
16
16
|
var byteToHex = [];
|
|
17
17
|
for (let e = 0; e < 256; ++e) byteToHex.push((e + 256).toString(16).slice(1));
|
|
18
18
|
function unsafeStringify(e, t = 0) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as isObject_default, O as _root_default } from "./_baseFor-
|
|
2
|
-
import { t as isSymbol_default } from "./isSymbol-
|
|
1
|
+
import { C as isObject_default, O as _root_default } from "./_baseFor-B69PDbIz.js";
|
|
2
|
+
import { t as isSymbol_default } from "./isSymbol-hk7foJ70.js";
|
|
3
3
|
var reWhitespace = /\s/;
|
|
4
4
|
function trimmedEndIndex(e) {
|
|
5
5
|
for (var m = e.length; m-- && reWhitespace.test(e.charAt(m)); ) ;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./chunk-FPAJGGOC-
|
|
2
|
-
import "./main-
|
|
3
|
-
import { n as createPacketServices, t as PacketModule } from "./chunk-76Q3JFCE-
|
|
1
|
+
import "./chunk-FPAJGGOC-quWdfNUB.js";
|
|
2
|
+
import "./main-DmxVpB19.js";
|
|
3
|
+
import { n as createPacketServices, t as PacketModule } from "./chunk-76Q3JFCE-CQ6a2yGJ.js";
|
|
4
4
|
export {
|
|
5
5
|
createPacketServices
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./chunk-FPAJGGOC-
|
|
2
|
-
import "./main-
|
|
3
|
-
import { n as createPieServices, t as PieModule } from "./chunk-T53DSG4Q-
|
|
1
|
+
import "./chunk-FPAJGGOC-quWdfNUB.js";
|
|
2
|
+
import "./main-DmxVpB19.js";
|
|
3
|
+
import { n as createPieServices, t as PieModule } from "./chunk-T53DSG4Q-Bewz1tiU.js";
|
|
4
4
|
export {
|
|
5
5
|
createPieServices
|
|
6
6
|
};
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import "./
|
|
1
|
+
import "./chunk-FPAJGGOC-quWdfNUB.js";
|
|
2
|
+
import "./main-DmxVpB19.js";
|
|
3
|
+
import "./purify.es-D4vaFt5N.js";
|
|
4
4
|
import { n as ordinal } from "./ordinal-DLLbwLkP.js";
|
|
5
5
|
import { r as constant_default } from "./path-7gr7eZmp.js";
|
|
6
6
|
import { p as tau } from "./math-CTnb-N1W.js";
|
|
7
7
|
import { t as arc_default } from "./arc-9nABupDE.js";
|
|
8
8
|
import { t as array_default } from "./array-CEIRxyh3.js";
|
|
9
|
-
import { i as cleanAndMerge, p as parseFontSize } from "./chunk-S3R3BYOJ-
|
|
9
|
+
import { i as cleanAndMerge, p as parseFontSize } from "./chunk-S3R3BYOJ-C_1SJcWo.js";
|
|
10
10
|
import { i as log, r as __name } from "./src-jICM_d2B.js";
|
|
11
|
-
import { B as setAccTitle, C as getDiagramTitle, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, c as configureSvgSize, d as defaultConfig_default, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-
|
|
12
|
-
import { t as selectSvgElement } from "./chunk-EXTU4WIE-
|
|
11
|
+
import { B as setAccTitle, C as getDiagramTitle, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, c as configureSvgSize, d as defaultConfig_default, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-BwNsaa1P.js";
|
|
12
|
+
import { t as selectSvgElement } from "./chunk-EXTU4WIE-Bmo660a9.js";
|
|
13
13
|
import "./dist-BYznkC5E.js";
|
|
14
|
-
import "./chunk-O7ZBX7Z2-
|
|
15
|
-
import "./chunk-S6J4BHB3-
|
|
16
|
-
import "./chunk-LBM3YZW2-
|
|
17
|
-
import "./chunk-76Q3JFCE-
|
|
18
|
-
import "./chunk-T53DSG4Q-
|
|
19
|
-
import "./chunk-LHMN2FUI-
|
|
20
|
-
import "./chunk-FWNWRKHM-
|
|
14
|
+
import "./chunk-O7ZBX7Z2-CdpLwOP0.js";
|
|
15
|
+
import "./chunk-S6J4BHB3-zfWjyfUg.js";
|
|
16
|
+
import "./chunk-LBM3YZW2-BkxsqkNK.js";
|
|
17
|
+
import "./chunk-76Q3JFCE-CQ6a2yGJ.js";
|
|
18
|
+
import "./chunk-T53DSG4Q-Bewz1tiU.js";
|
|
19
|
+
import "./chunk-LHMN2FUI-CgYPnxfN.js";
|
|
20
|
+
import "./chunk-FWNWRKHM-DmrwhAQr.js";
|
|
21
21
|
import { t as populateCommonDb } from "./chunk-4BX2VUAB-WmXmzRBr.js";
|
|
22
|
-
import { t as parse } from "./mermaid-parser.core-
|
|
22
|
+
import { t as parse } from "./mermaid-parser.core-BXj7Il0J.js";
|
|
23
23
|
function descending_default(t, o) {
|
|
24
24
|
return o < t ? -1 : o > t ? 1 : o >= t ? 0 : NaN;
|
|
25
25
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var _a, _b;
|
|
2
|
-
import "./purify.es-
|
|
2
|
+
import "./purify.es-D4vaFt5N.js";
|
|
3
3
|
import { t as linear } from "./linear-Bnc6E9kA.js";
|
|
4
4
|
import "./defaultLocale-DjFHq3Xk.js";
|
|
5
5
|
import { i as log, r as __name, t as select_default } from "./src-jICM_d2B.js";
|
|
6
|
-
import { B as setAccTitle, C as getDiagramTitle, I as sanitizeText, T as getThemeVariables3, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, c as configureSvgSize, d as defaultConfig_default, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-
|
|
6
|
+
import { B as setAccTitle, C as getDiagramTitle, I as sanitizeText, T as getThemeVariables3, U as setDiagramTitle, _ as getAccDescription, a as clear, b as getConfig2, c as configureSvgSize, d as defaultConfig_default, v as getAccTitle, z as setAccDescription } from "./chunk-ABZYJK2D-BwNsaa1P.js";
|
|
7
7
|
var parser = (function() {
|
|
8
8
|
var e = /* @__PURE__ */ __name(function(e2, t2, n, r2) {
|
|
9
9
|
for (n || (n = {}), r2 = e2.length; r2--; n[e2[r2]] = t2) ;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./chunk-FPAJGGOC-
|
|
2
|
-
import "./main-
|
|
3
|
-
import { n as createRadarServices, t as RadarModule } from "./chunk-LHMN2FUI-
|
|
1
|
+
import "./chunk-FPAJGGOC-quWdfNUB.js";
|
|
2
|
+
import "./main-DmxVpB19.js";
|
|
3
|
+
import { n as createRadarServices, t as RadarModule } from "./chunk-LHMN2FUI-CgYPnxfN.js";
|
|
4
4
|
export {
|
|
5
5
|
createRadarServices
|
|
6
6
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { C as isObject_default, v as _isIndex_default } from "./_baseFor-
|
|
2
|
-
import { n as toNumber_default } from "./now-
|
|
3
|
-
import { d as _overRest_default, h as _setToString_default, l as _isIterateeCall_default, p as _assignValue_default } from "./merge-
|
|
4
|
-
import { c as _castPath_default, n as hasIn_default, o as _baseGet_default, s as _toKey_default } from "./_baseProperty-
|
|
5
|
-
import { t as flatten_default } from "./flatten-
|
|
1
|
+
import { C as isObject_default, v as _isIndex_default } from "./_baseFor-B69PDbIz.js";
|
|
2
|
+
import { n as toNumber_default } from "./now-Dwu5ou19.js";
|
|
3
|
+
import { d as _overRest_default, h as _setToString_default, l as _isIterateeCall_default, p as _assignValue_default } from "./merge-Db4Uulx4.js";
|
|
4
|
+
import { c as _castPath_default, n as hasIn_default, o as _baseGet_default, s as _toKey_default } from "./_baseProperty-6juuyX7Z.js";
|
|
5
|
+
import { t as flatten_default } from "./flatten-CWZjF1fc.js";
|
|
6
6
|
var INFINITY = Infinity, MAX_INTEGER = 17976931348623157e292;
|
|
7
7
|
function toFinite(r) {
|
|
8
8
|
return r ? (r = toNumber_default(r), r === INFINITY || r === -INFINITY ? (r < 0 ? -1 : 1) * MAX_INTEGER : r === r ? r : 0) : r === 0 ? r : 0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { C as isObject_default, S as identity_default, h as isArrayLike_default, r as _Stack_default, t as _baseFor_default, w as isArray_default } from "./_baseFor-
|
|
2
|
-
import { d as _arrayFilter_default, p as keys_default, t as _baseIsEqual_default } from "./_baseIsEqual-
|
|
3
|
-
import { a as get_default, l as _isKey_default, n as hasIn_default, o as _baseGet_default, s as _toKey_default, t as _baseProperty_default } from "./_baseProperty-
|
|
4
|
-
import { t as _arrayReduce_default } from "./_arrayReduce-
|
|
1
|
+
import { C as isObject_default, S as identity_default, h as isArrayLike_default, r as _Stack_default, t as _baseFor_default, w as isArray_default } from "./_baseFor-B69PDbIz.js";
|
|
2
|
+
import { d as _arrayFilter_default, p as keys_default, t as _baseIsEqual_default } from "./_baseIsEqual-DN5YkPnl.js";
|
|
3
|
+
import { a as get_default, l as _isKey_default, n as hasIn_default, o as _baseGet_default, s as _toKey_default, t as _baseProperty_default } from "./_baseProperty-6juuyX7Z.js";
|
|
4
|
+
import { t as _arrayReduce_default } from "./_arrayReduce-REKcIEj3.js";
|
|
5
5
|
function arrayEach(f, V) {
|
|
6
6
|
for (var H = -1, U = f == null ? 0 : f.length; ++H < U && V(f[H], H, f) !== false; ) ;
|
|
7
7
|
return f;
|