@belonguniverseai/react-sdk 0.1.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/README.md +47 -0
- package/dist/api/agent-grants.d.ts +61 -0
- package/dist/api/api-context.d.ts +9 -0
- package/dist/api/client.d.ts +2053 -0
- package/dist/api/mutations.d.ts +3 -0
- package/dist/api/queries.d.ts +21 -0
- package/dist/api/query-keys.d.ts +13 -0
- package/dist/api/report-client-error.d.ts +23 -0
- package/dist/api/skills.d.ts +23 -0
- package/dist/api/workspace-files.d.ts +9 -0
- package/dist/app/BelongDock.d.ts +29 -0
- package/dist/app/VoiceOverlay.d.ts +18 -0
- package/dist/app/providers.d.ts +12 -0
- package/dist/app/router.d.ts +2 -0
- package/dist/browser/control-channel.d.ts +29 -0
- package/dist/browser/dom-bridge.d.ts +6 -0
- package/dist/browser/spa-navigate.d.ts +87 -0
- package/dist/component/BelongWidget.d.ts +27 -0
- package/dist/component/abap-BqLfTM3_.js +9 -0
- package/dist/component/abap-Dosx9LfS.js +9 -0
- package/dist/component/actionscript-3-CFt6EqSB.js +9 -0
- package/dist/component/actionscript-3-CShGOdtT.js +9 -0
- package/dist/component/ada-8tCnwMXx.js +9 -0
- package/dist/component/ada-DaqFF2jd.js +9 -0
- package/dist/component/andromeeda-BxBtQ0rC.js +7 -0
- package/dist/component/andromeeda-Dx5fm3r-.js +7 -0
- package/dist/component/angular-html-CAoRrq6i.js +35 -0
- package/dist/component/angular-html-DG52iVg8.js +35 -0
- package/dist/component/angular-ts-BvOrReBc.js +24 -0
- package/dist/component/angular-ts-LQyiJZqb.js +24 -0
- package/dist/component/apache-HdVsAIQf.js +9 -0
- package/dist/component/apache-c3M5d5MN.js +9 -0
- package/dist/component/apex-B-y6HhVC.js +9 -0
- package/dist/component/apex-DXDfZUnb.js +9 -0
- package/dist/component/apl-BnXq3ZtQ.js +19 -0
- package/dist/component/apl-D7VFrOyT.js +19 -0
- package/dist/component/applescript-BZbrjHcY.js +9 -0
- package/dist/component/applescript-Bo1adDet.js +9 -0
- package/dist/component/ara-C1QNxHcU.js +9 -0
- package/dist/component/ara-ZjRpP-93.js +9 -0
- package/dist/component/arc-DGQIe3ON.js +86 -0
- package/dist/component/architectureDiagram-3BPJPVTR-C3uLEfb1.js +4697 -0
- package/dist/component/asciidoc-2fV_Cv2j.js +9 -0
- package/dist/component/asciidoc-D7PshqvO.js +9 -0
- package/dist/component/asm-ClEowkZP.js +9 -0
- package/dist/component/asm-DmyJawQj.js +9 -0
- package/dist/component/astro-9MHfKoOi.js +21 -0
- package/dist/component/astro-Bi3QRBCO.js +21 -0
- package/dist/component/aurora-x-BGO53J2I.js +7 -0
- package/dist/component/aurora-x-C98he-36.js +7 -0
- package/dist/component/awk-CIiDOfUC.js +9 -0
- package/dist/component/awk-DnzYQYUx.js +9 -0
- package/dist/component/ayu-dark-CK1VRikm.js +7 -0
- package/dist/component/ayu-dark-J6FX8oSr.js +7 -0
- package/dist/component/ayu-light-DIKBJiwH.js +7 -0
- package/dist/component/ayu-light-x4Q5N51d.js +7 -0
- package/dist/component/ayu-mirage-C5_fPLwf.js +7 -0
- package/dist/component/ayu-mirage-DhPHVcGJ.js +7 -0
- package/dist/component/ballerina-CeqVHW9D.js +9 -0
- package/dist/component/ballerina-epCf0_WV.js +9 -0
- package/dist/component/bat-Cuej7k1C.js +9 -0
- package/dist/component/bat-Dai7pznF.js +9 -0
- package/dist/component/beancount-CpREEZMl.js +9 -0
- package/dist/component/beancount-CwiYx9PE.js +9 -0
- package/dist/component/berry-BoYGiG42.js +9 -0
- package/dist/component/berry-DFo_i8CN.js +9 -0
- package/dist/component/bibtex-2bgmGv5w.js +9 -0
- package/dist/component/bibtex-BkTrlnvh.js +9 -0
- package/dist/component/bicep-C80YQkEm.js +9 -0
- package/dist/component/bicep-DYkQKpr8.js +9 -0
- package/dist/component/bird2-5AxdId5f.js +9 -0
- package/dist/component/bird2-CjcgWn0f.js +9 -0
- package/dist/component/blade-BdUlKesy.js +23 -0
- package/dist/component/blade-DNMMxdfa.js +23 -0
- package/dist/component/blockDiagram-GPEHLZMM-YerYvLm_.js +2421 -0
- package/dist/component/bsl-CYB_gPZn.js +11 -0
- package/dist/component/bsl-DJ4bR5oi.js +11 -0
- package/dist/component/c-C4AMyX3G.js +9 -0
- package/dist/component/c-C7DfT4H8.js +9 -0
- package/dist/component/c3-DDixCt0K.js +9 -0
- package/dist/component/c3-xeavH2G2.js +9 -0
- package/dist/component/c4Diagram-AAUBKEIU-p8UR34Zq.js +1586 -0
- package/dist/component/cadence-Cy8toSoU.js +9 -0
- package/dist/component/cadence-xq71MyIp.js +9 -0
- package/dist/component/cairo-B1qo5_uz.js +11 -0
- package/dist/component/cairo-CZSJv_Y_.js +11 -0
- package/dist/component/catppuccin-frappe-BGDzipYl.js +7 -0
- package/dist/component/catppuccin-frappe-DZ2VPnzg.js +7 -0
- package/dist/component/catppuccin-latte-9zQ0xneh.js +7 -0
- package/dist/component/catppuccin-latte-CK4XjBXq.js +7 -0
- package/dist/component/catppuccin-macchiato-CIKuiG5O.js +7 -0
- package/dist/component/catppuccin-macchiato-D1xBlgUI.js +7 -0
- package/dist/component/catppuccin-mocha-CQk3ku6b.js +7 -0
- package/dist/component/catppuccin-mocha-Dr22M_MR.js +7 -0
- package/dist/component/channel-ahmILYyG.js +8 -0
- package/dist/component/chunk-2J33WTMH-CGaAxoSO.js +22 -0
- package/dist/component/chunk-4BX2VUAB-gRTK7Di9.js +11 -0
- package/dist/component/chunk-55IACEB6-XfJuuv6Y.js +11 -0
- package/dist/component/chunk-727SXJPM-Cy0hXMuO.js +1537 -0
- package/dist/component/chunk-AQP2D5EJ-CZHGw4se.js +1396 -0
- package/dist/component/chunk-FMBD7UC4-CyqtPCO0.js +22 -0
- package/dist/component/chunk-ND2GUHAM-CzTviSBV.js +71 -0
- package/dist/component/chunk-QZHKN3VN-CHDEerWv.js +21 -0
- package/dist/component/clarity-Dmd3VcKv.js +9 -0
- package/dist/component/clarity-FR-MQPIo.js +9 -0
- package/dist/component/classDiagram-4FO5ZUOK-BDzl1OcC.js +19 -0
- package/dist/component/classDiagram-v2-Q7XG4LA2-BDzl1OcC.js +19 -0
- package/dist/component/clojure-CZ5pqCKI.js +9 -0
- package/dist/component/clojure-DUXXPerS.js +9 -0
- package/dist/component/cmake-DeSLuBit.js +9 -0
- package/dist/component/cmake-Dh5RXd_q.js +9 -0
- package/dist/component/cobol-B0R9veOS.js +13 -0
- package/dist/component/cobol-DayClXiO.js +13 -0
- package/dist/component/codeowners-C5Gg1qBb.js +9 -0
- package/dist/component/codeowners-RGJbf4XS.js +9 -0
- package/dist/component/codeql-1OtYEVEY.js +9 -0
- package/dist/component/codeql-CoCy8yp4.js +9 -0
- package/dist/component/coffee-kdLRO3eV.js +11 -0
- package/dist/component/coffee-tRjJZw7o.js +11 -0
- package/dist/component/common-lisp-BeJe0ab6.js +9 -0
- package/dist/component/common-lisp-GbfS1OBj.js +9 -0
- package/dist/component/coq-B0RJLsKz.js +9 -0
- package/dist/component/coq-DMlFNAl3.js +9 -0
- package/dist/component/cose-bilkent-S5V4N54A-4R0ErgrZ.js +2611 -0
- package/dist/component/cpp-BpiKH-9I.js +21 -0
- package/dist/component/cpp-BwGJQL2p.js +21 -0
- package/dist/component/crystal-Bb_LifhW.js +21 -0
- package/dist/component/crystal-D0cTXans.js +21 -0
- package/dist/component/csharp-5kMbpBNi.js +9 -0
- package/dist/component/csharp-UFMQzTVu.js +9 -0
- package/dist/component/css-B2ckPEoZ.js +9 -0
- package/dist/component/css-MDiv-Xmm.js +9 -0
- package/dist/component/csv-Ba1T94jM.js +9 -0
- package/dist/component/csv-DZ-mzuKa.js +9 -0
- package/dist/component/cue-CtGb6f31.js +9 -0
- package/dist/component/cue-DbYr629m.js +9 -0
- package/dist/component/cypher-7eGqJtNJ.js +9 -0
- package/dist/component/cypher-pD9MnYc_.js +9 -0
- package/dist/component/cytoscape.esm-C31R6JOv.js +18772 -0
- package/dist/component/d-BefBLeap.js +9 -0
- package/dist/component/d-Dij3nCx4.js +9 -0
- package/dist/component/dagre-BM42HDAG-BcJQXGn3.js +448 -0
- package/dist/component/dark-plus-C9nS7rhq.js +7 -0
- package/dist/component/dark-plus-L3JON0ir.js +7 -0
- package/dist/component/dart-BWNSliXX.js +9 -0
- package/dist/component/dart-DCRAsZQK.js +9 -0
- package/dist/component/dax-CWdGoxkM.js +9 -0
- package/dist/component/dax-pykceZLM.js +9 -0
- package/dist/component/defaultLocale-BXpxsZAK.js +174 -0
- package/dist/component/desktop-4j8jFU02.js +9 -0
- package/dist/component/desktop-B3AeStqn.js +9 -0
- package/dist/component/diagram-2AECGRRQ-Cld7-k7F.js +220 -0
- package/dist/component/diagram-5GNKFQAL-d7JtHVRK.js +126 -0
- package/dist/component/diagram-KO2AKTUF-Avxzz4xw.js +464 -0
- package/dist/component/diagram-LMA3HP47-Cy_E5-rU.js +148 -0
- package/dist/component/diagram-OG6HWLK6-DUsJK7Js.js +534 -0
- package/dist/component/diff-DuoPSmgL.js +9 -0
- package/dist/component/diff-IyCSM08A.js +9 -0
- package/dist/component/docker-BSrvy0o9.js +9 -0
- package/dist/component/docker-Ca4vT6OJ.js +9 -0
- package/dist/component/dotenv-CUP-PB19.js +9 -0
- package/dist/component/dotenv-aA3GGxJM.js +9 -0
- package/dist/component/dracula-2BaSCSav.js +7 -0
- package/dist/component/dracula-Lg7_DbOD.js +7 -0
- package/dist/component/dracula-soft-AsPqNBvZ.js +7 -0
- package/dist/component/dracula-soft-n6R-sBGM.js +7 -0
- package/dist/component/dream-maker-B2xERNvR.js +9 -0
- package/dist/component/dream-maker-Jadq_Ln7.js +9 -0
- package/dist/component/edge-B-amp2rn.js +15 -0
- package/dist/component/edge-Bol1lNG-.js +15 -0
- package/dist/component/elixir-DSzpv_bE.js +11 -0
- package/dist/component/elixir-t5YY_ese.js +11 -0
- package/dist/component/elm-DNaka8RZ.js +11 -0
- package/dist/component/elm-JLsvCHy1.js +11 -0
- package/dist/component/emacs-lisp-C6XZT609.js +9 -0
- package/dist/component/emacs-lisp-DWDtb5kD.js +9 -0
- package/dist/component/erDiagram-TEJ5UH35-DEdqrWqp.js +905 -0
- package/dist/component/erb-BJ95qgrJ.js +13 -0
- package/dist/component/erb-rGIYAeIa.js +13 -0
- package/dist/component/erlang-By5grfmz.js +11 -0
- package/dist/component/erlang-rAClsghX.js +11 -0
- package/dist/component/everforest-dark-DBhTz0Lt.js +7 -0
- package/dist/component/everforest-dark-_A43rkLf.js +7 -0
- package/dist/component/everforest-light-Bep_XOgu.js +7 -0
- package/dist/component/everforest-light-DHbrW2te.js +7 -0
- package/dist/component/fennel-CeQPNUU9.js +9 -0
- package/dist/component/fennel-QllfYze1.js +9 -0
- package/dist/component/fish-BXP1eRyz.js +9 -0
- package/dist/component/fish-DkfR0DRL.js +9 -0
- package/dist/component/flowDiagram-I6XJVG4X-BWzYDsjP.js +1634 -0
- package/dist/component/fluent-Ih0R99Ix.js +9 -0
- package/dist/component/fluent-RduSrzCZ.js +9 -0
- package/dist/component/fortran-fixed-form-C3I8YlEU.js +11 -0
- package/dist/component/fortran-fixed-form-D7OlW0lw.js +11 -0
- package/dist/component/fortran-free-form-CXj2ku4f.js +9 -0
- package/dist/component/fortran-free-form-DifCDW_P.js +9 -0
- package/dist/component/fsharp-65O4P3S5.js +11 -0
- package/dist/component/fsharp-CXzwUWsC.js +11 -0
- package/dist/component/ganttDiagram-6RSMTGT7-DzfeVIgF.js +2709 -0
- package/dist/component/gdresource-Bn5VhPaI.js +13 -0
- package/dist/component/gdresource-kUFIn9eK.js +13 -0
- package/dist/component/gdscript-BNGA6E65.js +9 -0
- package/dist/component/gdscript-LjKsfw3O.js +9 -0
- package/dist/component/gdshader-C-Gp5-Ot.js +9 -0
- package/dist/component/gdshader-C1lRZRQz.js +9 -0
- package/dist/component/genie-B8viIUNC.js +9 -0
- package/dist/component/genie-eR37RVXX.js +9 -0
- package/dist/component/gherkin-BVA-IOor.js +9 -0
- package/dist/component/gherkin-CuORnKvF.js +9 -0
- package/dist/component/git-commit-BNPqpLhi.js +11 -0
- package/dist/component/git-commit-Dh7BfmB9.js +11 -0
- package/dist/component/git-rebase-B5TXZutB.js +11 -0
- package/dist/component/git-rebase-DhwWS8MC.js +11 -0
- package/dist/component/gitGraphDiagram-PVQCEYII-CKzbGWcQ.js +818 -0
- package/dist/component/github-dark-5b4g_bOp.js +7 -0
- package/dist/component/github-dark-default-6zDGR7DJ.js +7 -0
- package/dist/component/github-dark-default-H56pGX_M.js +7 -0
- package/dist/component/github-dark-dimmed-B1iXBBmo.js +7 -0
- package/dist/component/github-dark-dimmed-DjYa1rhk.js +7 -0
- package/dist/component/github-dark-high-contrast-BuNi_Wj5.js +7 -0
- package/dist/component/github-dark-high-contrast-DvpYRI-4.js +7 -0
- package/dist/component/github-dark-mxHsWyJ4.js +7 -0
- package/dist/component/github-light-CTdjTVPf.js +7 -0
- package/dist/component/github-light-KqdY1rAV.js +7 -0
- package/dist/component/github-light-default-BlRYTBRQ.js +7 -0
- package/dist/component/github-light-default-Drw5Jl_p.js +7 -0
- package/dist/component/github-light-high-contrast-9d8ktz0h.js +7 -0
- package/dist/component/github-light-high-contrast-ColFVC7A.js +7 -0
- package/dist/component/gleam-BXQHq2ZT.js +9 -0
- package/dist/component/gleam-RfA2dpfH.js +9 -0
- package/dist/component/glimmer-js-BHZ1FuRp.js +17 -0
- package/dist/component/glimmer-js-Gdq_UYVf.js +17 -0
- package/dist/component/glimmer-ts-D6H7q5ls.js +17 -0
- package/dist/component/glimmer-ts-DdmgeZua.js +17 -0
- package/dist/component/glsl-D1RRylbk.js +11 -0
- package/dist/component/glsl-MDSU_3-y.js +11 -0
- package/dist/component/gn-D8VPrt1o.js +9 -0
- package/dist/component/gn-DJpTAp5e.js +9 -0
- package/dist/component/gnuplot-BNzwvBx5.js +9 -0
- package/dist/component/gnuplot-Iqvzplz-.js +9 -0
- package/dist/component/go-D-G7cxeA.js +9 -0
- package/dist/component/go-TNOI7pQc.js +9 -0
- package/dist/component/graph-BZLHvygk.js +1548 -0
- package/dist/component/graphql-CW6tYk7X.js +17 -0
- package/dist/component/graphql-DGugpl40.js +17 -0
- package/dist/component/groovy-5_UI-q3N.js +9 -0
- package/dist/component/groovy-D7GH48W8.js +9 -0
- package/dist/component/gruvbox-dark-hard-Ch2GYDcJ.js +7 -0
- package/dist/component/gruvbox-dark-hard-Dpxv_Il6.js +7 -0
- package/dist/component/gruvbox-dark-medium-DqoxKYPx.js +7 -0
- package/dist/component/gruvbox-dark-medium-eGVEUM8W.js +7 -0
- package/dist/component/gruvbox-dark-soft-BA9DdijB.js +7 -0
- package/dist/component/gruvbox-dark-soft-DRaJAZcW.js +7 -0
- package/dist/component/gruvbox-light-hard-BJXIrqpz.js +7 -0
- package/dist/component/gruvbox-light-hard-_qNpoYJy.js +7 -0
- package/dist/component/gruvbox-light-medium-39dkJwxv.js +7 -0
- package/dist/component/gruvbox-light-medium-IkDFQhcB.js +7 -0
- package/dist/component/gruvbox-light-soft-DWPQo7Dn.js +7 -0
- package/dist/component/gruvbox-light-soft-Dpz5D6wP.js +7 -0
- package/dist/component/hack-BSrzyV-l.js +13 -0
- package/dist/component/hack-CJNnfXZh.js +13 -0
- package/dist/component/haml-DL-NAYVg.js +13 -0
- package/dist/component/haml-DYkTKupK.js +13 -0
- package/dist/component/handlebars-B2Z6CWhc.js +17 -0
- package/dist/component/handlebars-Cwj0qzUo.js +17 -0
- package/dist/component/haskell-Cj3J4fKD.js +9 -0
- package/dist/component/haskell-h36TjJLk.js +9 -0
- package/dist/component/haxe-CcifGI6O.js +9 -0
- package/dist/component/haxe-Coqw0Tt8.js +9 -0
- package/dist/component/hcl-BPVqiZDb.js +9 -0
- package/dist/component/hcl-DaPl6lOC.js +9 -0
- package/dist/component/highlighted-body-OFNGDK62-BkGwwkHo.js +22 -0
- package/dist/component/hjson-CfcQXz3-.js +9 -0
- package/dist/component/hjson-DsTgWNxt.js +9 -0
- package/dist/component/hlsl-CLzjZIQL.js +9 -0
- package/dist/component/hlsl-DVyuzW8h.js +9 -0
- package/dist/component/horizon-DaNatiIz.js +7 -0
- package/dist/component/horizon-bright-CthJh1Qp.js +7 -0
- package/dist/component/horizon-bright-DMKA6ab6.js +7 -0
- package/dist/component/horizon-q20CuJTh.js +7 -0
- package/dist/component/houston-CjpgGYwZ.js +7 -0
- package/dist/component/houston-DnIZxOiF.js +7 -0
- package/dist/component/html-DSjghx6n.js +13 -0
- package/dist/component/html-derivative-CxizaS1Z.js +11 -0
- package/dist/component/html-derivative-DDrVhQXu.js +11 -0
- package/dist/component/html-tY6fNMOn.js +13 -0
- package/dist/component/http-CLvA54iU.js +17 -0
- package/dist/component/http-CPkD6MSf.js +17 -0
- package/dist/component/hurl-CuuCK9Id.js +15 -0
- package/dist/component/hurl-LcD0R7wh.js +15 -0
- package/dist/component/hxml-CJz9SfqN.js +11 -0
- package/dist/component/hxml-DLsAgg8X.js +11 -0
- package/dist/component/hy-CAEey4h7.js +9 -0
- package/dist/component/hy-Dm2IGIb-.js +9 -0
- package/dist/component/imba-5G9Fs_nr.js +9 -0
- package/dist/component/imba-CH2D1ce9.js +9 -0
- package/dist/component/index.d.ts +3 -0
- package/dist/component/index.js +8 -0
- package/dist/component/infoDiagram-5YYISTIA-D9xN-Pqc.js +27 -0
- package/dist/component/ini-Dt2l3RWi.js +9 -0
- package/dist/component/ini-kgvXisvj.js +9 -0
- package/dist/component/init-BOu0eQYQ.js +19 -0
- package/dist/component/ishikawaDiagram-YF4QCWOH--YDYWDwv.js +627 -0
- package/dist/component/java-BKLcvtEM.js +9 -0
- package/dist/component/java-oSN7P0Od.js +9 -0
- package/dist/component/javascript-CyaMmpOO.js +9 -0
- package/dist/component/javascript-DFm3DOoX.js +9 -0
- package/dist/component/jinja-Ch28RrFG.js +14 -0
- package/dist/component/jinja-CsTh8Ahj.js +14 -0
- package/dist/component/jison-Bu0o8a1Z.js +11 -0
- package/dist/component/jison-DLgrOJpy.js +11 -0
- package/dist/component/journeyDiagram-JHISSGLW-B9-CHfSv.js +837 -0
- package/dist/component/json-D-WsbO45.js +9 -0
- package/dist/component/json-rmrBoeO_.js +9 -0
- package/dist/component/json5-B1J6XVPd.js +9 -0
- package/dist/component/json5-B3-n7IrD.js +9 -0
- package/dist/component/jsonc-BgfI3zjg.js +9 -0
- package/dist/component/jsonc-HFvGREK8.js +9 -0
- package/dist/component/jsonl-DHttz8sH.js +9 -0
- package/dist/component/jsonl-l_eIcPip.js +9 -0
- package/dist/component/jsonnet-D6SNIhw0.js +9 -0
- package/dist/component/jsonnet-DO8Zfk6p.js +9 -0
- package/dist/component/jssm-CKRLojKZ.js +9 -0
- package/dist/component/jssm-Dy1zjXNg.js +9 -0
- package/dist/component/jsx-CpVvoVGp.js +9 -0
- package/dist/component/jsx-si2wS7pt.js +9 -0
- package/dist/component/julia-BPzvBJ4R.js +19 -0
- package/dist/component/julia-CfyFig21.js +19 -0
- package/dist/component/just-D5rIv9U4.js +21 -0
- package/dist/component/just-fRm_weEQ.js +21 -0
- package/dist/component/kanagawa-dragon-BOBo9JLg.js +7 -0
- package/dist/component/kanagawa-dragon-BWPCHB_7.js +7 -0
- package/dist/component/kanagawa-lotus-8m_3LhhF.js +7 -0
- package/dist/component/kanagawa-lotus-B5o1JCNj.js +7 -0
- package/dist/component/kanagawa-wave-BSP7z6KH.js +7 -0
- package/dist/component/kanagawa-wave-ClYLx7ql.js +7 -0
- package/dist/component/kanban-definition-UN3LZRKU-Cmh8twbq.js +727 -0
- package/dist/component/kdl-GafIF83C.js +9 -0
- package/dist/component/kdl-_X6wsgV0.js +9 -0
- package/dist/component/kotlin-B3jfEOcv.js +9 -0
- package/dist/component/kotlin-BWMoZeA3.js +9 -0
- package/dist/component/kusto-Bkz9eBch.js +9 -0
- package/dist/component/kusto-ohiqZ64l.js +9 -0
- package/dist/component/laserwave-BmajecBZ.js +7 -0
- package/dist/component/laserwave-Bp21zlIO.js +7 -0
- package/dist/component/latex-BYzveWoN.js +11 -0
- package/dist/component/latex-Bi4Lg68B.js +11 -0
- package/dist/component/layout-Bu6nRdWm.js +1731 -0
- package/dist/component/lean-BBkk0btj.js +9 -0
- package/dist/component/lean-DFmhzmny.js +9 -0
- package/dist/component/less-ChX34X5W.js +9 -0
- package/dist/component/less-kqPRXL1K.js +9 -0
- package/dist/component/light-plus-DFxAowZg.js +7 -0
- package/dist/component/light-plus-_t1yKirF.js +7 -0
- package/dist/component/linear-BDyEUcVD.js +262 -0
- package/dist/component/liquid-Bri_C9oi.js +17 -0
- package/dist/component/liquid-f2WMwCDi.js +17 -0
- package/dist/component/llvm-COuD10ql.js +9 -0
- package/dist/component/llvm-dub2631B.js +9 -0
- package/dist/component/log-A8St-vyh.js +9 -0
- package/dist/component/log-g58LFxM8.js +9 -0
- package/dist/component/logo-DZmThwvl.js +9 -0
- package/dist/component/logo-x6YxnKST.js +9 -0
- package/dist/component/lua-Bj2G8q-Z.js +11 -0
- package/dist/component/lua-CyXCKT0u.js +11 -0
- package/dist/component/luau-B8fyn01D.js +9 -0
- package/dist/component/luau-C5q2C4N6.js +9 -0
- package/dist/component/make-DOTJ8IeI.js +9 -0
- package/dist/component/make-DTiRnfNf.js +9 -0
- package/dist/component/markdown-D3u32LKS.js +9 -0
- package/dist/component/markdown-DHm1k_6p.js +9 -0
- package/dist/component/marko-CUgdvzuR.js +17 -0
- package/dist/component/marko-SwZmWzIv.js +17 -0
- package/dist/component/material-theme-BIfRQKI0.js +7 -0
- package/dist/component/material-theme-CxS7GniW.js +7 -0
- package/dist/component/material-theme-darker-DKP5DIOi.js +7 -0
- package/dist/component/material-theme-darker-DkNB3xjL.js +7 -0
- package/dist/component/material-theme-lighter-3I4JYnlq.js +7 -0
- package/dist/component/material-theme-lighter-D5xivCfx.js +7 -0
- package/dist/component/material-theme-ocean-B31yuEXO.js +7 -0
- package/dist/component/material-theme-ocean-rw0kJPZg.js +7 -0
- package/dist/component/material-theme-palenight-BfunK0Uo.js +7 -0
- package/dist/component/material-theme-palenight-COTbh91p.js +7 -0
- package/dist/component/matlab-CkKSQcnX.js +9 -0
- package/dist/component/matlab-DCF6d5YL.js +9 -0
- package/dist/component/mdc-D92XwdT9.js +15 -0
- package/dist/component/mdc-gb_v49HI.js +15 -0
- package/dist/component/mdx-C6kH9TSz.js +9 -0
- package/dist/component/mdx-Dqb5H0t-.js +9 -0
- package/dist/component/mermaid-0bkYzXfL.js +9 -0
- package/dist/component/mermaid-GHXKKRXX-C5Y3BZXR.js +107122 -0
- package/dist/component/mermaid-N7-yWHiu.js +9 -0
- package/dist/component/min-dark-CqEfelDe.js +7 -0
- package/dist/component/min-dark-FAglrjWz.js +7 -0
- package/dist/component/min-light-BmdYN58_.js +7 -0
- package/dist/component/min-light-CcJCxfWw.js +7 -0
- package/dist/component/mindmap-definition-RKZ34NQL-CnFpVFpl.js +833 -0
- package/dist/component/mipsasm-BYNReuUT.js +9 -0
- package/dist/component/mipsasm-CKzkMNWr.js +9 -0
- package/dist/component/mojo-0URGVph7.js +9 -0
- package/dist/component/mojo-C563AncR.js +9 -0
- package/dist/component/monokai-D3_c3OUm.js +7 -0
- package/dist/component/monokai-ugSJFofr.js +7 -0
- package/dist/component/moonbit-BkJk2kyS.js +9 -0
- package/dist/component/moonbit-DlIX78rk.js +9 -0
- package/dist/component/move-BQAHOJb2.js +9 -0
- package/dist/component/move-eiW4QYDW.js +9 -0
- package/dist/component/narrat-2oVindvn.js +9 -0
- package/dist/component/narrat-Dc4cTFeW.js +9 -0
- package/dist/component/nextflow-B4caLl5A.js +11 -0
- package/dist/component/nextflow-Bk0ryO1R.js +11 -0
- package/dist/component/nextflow-groovy-BnXf2WiC.js +9 -0
- package/dist/component/nextflow-groovy-DIMIAEOy.js +9 -0
- package/dist/component/nginx-BaGEfT9r.js +11 -0
- package/dist/component/nginx-Dprlne5J.js +11 -0
- package/dist/component/night-owl-B6L5FL5v.js +7 -0
- package/dist/component/night-owl-CB_IXuNH.js +7 -0
- package/dist/component/night-owl-light-BZxeyl5X.js +7 -0
- package/dist/component/night-owl-light-CoPr05P4.js +7 -0
- package/dist/component/nim-BKvvFCe_.js +23 -0
- package/dist/component/nim-CQZqLxeE.js +23 -0
- package/dist/component/nix-Cp8a0vy5.js +12 -0
- package/dist/component/nix-DEY1zukk.js +12 -0
- package/dist/component/nord-D3PAEvHH.js +7 -0
- package/dist/component/nord-DPPgRakM.js +7 -0
- package/dist/component/nushell-BdsblUId.js +9 -0
- package/dist/component/nushell-DUUbmBaO.js +9 -0
- package/dist/component/objective-c-CNN3tl1v.js +9 -0
- package/dist/component/objective-c-D_6I2dsG.js +9 -0
- package/dist/component/objective-cpp-BjicYcS7.js +9 -0
- package/dist/component/objective-cpp-z4LTaUcg.js +9 -0
- package/dist/component/ocaml-BnD9haV8.js +9 -0
- package/dist/component/ocaml-DZseEUty.js +9 -0
- package/dist/component/odin-CnsCKboc.js +9 -0
- package/dist/component/odin-P2WSXO4H.js +9 -0
- package/dist/component/one-dark-pro-C_eaQ16k.js +7 -0
- package/dist/component/one-dark-pro-OimEv0Ou.js +7 -0
- package/dist/component/one-light-B0ti6b9S.js +7 -0
- package/dist/component/one-light-j3UfPQB3.js +7 -0
- package/dist/component/openscad-2vaKslxR.js +9 -0
- package/dist/component/openscad-jE6oRbDv.js +9 -0
- package/dist/component/ordinal-D0x7izaa.js +64 -0
- package/dist/component/pascal-8jl8irAj.js +9 -0
- package/dist/component/pascal-d7SASCGO.js +9 -0
- package/dist/component/perl-DHC1BZ_5.js +19 -0
- package/dist/component/perl-DVm7Pq-D.js +19 -0
- package/dist/component/php-BF_l-EgM.js +21 -0
- package/dist/component/php-BtpW2-DO.js +21 -0
- package/dist/component/pieDiagram-4H26LBE5-u-blLkni.js +166 -0
- package/dist/component/pkl-CoBnC_8G.js +9 -0
- package/dist/component/pkl-DZdA2Trc.js +9 -0
- package/dist/component/plastic-3IjBbwNP.js +7 -0
- package/dist/component/plastic-CixB-AlW.js +7 -0
- package/dist/component/plsql-Cv-ZxhCL.js +9 -0
- package/dist/component/plsql-CzeGyK0m.js +9 -0
- package/dist/component/po-eb_Amfj2.js +9 -0
- package/dist/component/po-moSB12fi.js +9 -0
- package/dist/component/poimandres-C03Jy3KZ.js +7 -0
- package/dist/component/poimandres-CKZ3f48N.js +7 -0
- package/dist/component/polar-BKFAKBSA.js +9 -0
- package/dist/component/polar-CsPCUbKt.js +9 -0
- package/dist/component/postcss-CytNqPC0.js +9 -0
- package/dist/component/postcss-D3_LY2LH.js +9 -0
- package/dist/component/powerquery-CpTndMW_.js +9 -0
- package/dist/component/powerquery-f-cemdrG.js +9 -0
- package/dist/component/powershell-B-JkstDq.js +9 -0
- package/dist/component/powershell-BkDB3ZO9.js +9 -0
- package/dist/component/prisma-B4mlcaEB.js +9 -0
- package/dist/component/prisma-BX88wNNq.js +9 -0
- package/dist/component/prolog-ZYcjPjsY.js +9 -0
- package/dist/component/prolog-ftPRGVaT.js +9 -0
- package/dist/component/proto-B5SG7zCc.js +9 -0
- package/dist/component/proto-DpTcjJFH.js +9 -0
- package/dist/component/pug-BziTjzcZ.js +15 -0
- package/dist/component/pug-XUdLuJ2s.js +15 -0
- package/dist/component/puppet-BeyD5DhV.js +9 -0
- package/dist/component/puppet-DjFvC8zy.js +9 -0
- package/dist/component/purescript-BBRU0YyZ.js +9 -0
- package/dist/component/purescript-Bf3WPYAV.js +9 -0
- package/dist/component/python-C7yusFoO.js +9 -0
- package/dist/component/python-CuNbg5wx.js +9 -0
- package/dist/component/qml-Cu9RjXOs.js +11 -0
- package/dist/component/qml-Z-uvElxQ.js +11 -0
- package/dist/component/qmldir-BHp2usxt.js +9 -0
- package/dist/component/qmldir-C6P--W6X.js +9 -0
- package/dist/component/qss-CgcBaeYL.js +9 -0
- package/dist/component/qss-iWzt-Nzy.js +9 -0
- package/dist/component/quadrantDiagram-W4KKPZXB-Bpq-EoMM.js +1033 -0
- package/dist/component/r-8lH98zbN.js +9 -0
- package/dist/component/r-CyFkAlMF.js +9 -0
- package/dist/component/racket-DaWPCRlQ.js +9 -0
- package/dist/component/racket-effgGH8q.js +9 -0
- package/dist/component/raku-DXM7wT4g.js +9 -0
- package/dist/component/raku-GZVvT-nH.js +9 -0
- package/dist/component/razor-CYq4jbLW.js +13 -0
- package/dist/component/razor-DQFDiXM1.js +13 -0
- package/dist/component/red-B9TgEgRC.js +7 -0
- package/dist/component/red-BNC90Lxb.js +7 -0
- package/dist/component/reg-C62uOG3A.js +9 -0
- package/dist/component/reg-CQgRgzkw.js +9 -0
- package/dist/component/regexp-D8jeZrvm.js +9 -0
- package/dist/component/regexp-UNvxOND4.js +9 -0
- package/dist/component/rel-BRyuNjQD.js +9 -0
- package/dist/component/rel-Cyzm_Cno.js +9 -0
- package/dist/component/requirementDiagram-4Y6WPE33-B8V7mLRY.js +888 -0
- package/dist/component/riscv-BHdC-Wfh.js +9 -0
- package/dist/component/riscv-BZ9l50bA.js +9 -0
- package/dist/component/ron--0kZyCV0.js +9 -0
- package/dist/component/ron-CJx-eqt3.js +9 -0
- package/dist/component/rose-pine-XHcBRH-D.js +7 -0
- package/dist/component/rose-pine-dawn-Bz77Igqs.js +7 -0
- package/dist/component/rose-pine-dawn-RL42yTas.js +7 -0
- package/dist/component/rose-pine-ksWn8nuO.js +7 -0
- package/dist/component/rose-pine-moon-BtSW__9n.js +7 -0
- package/dist/component/rose-pine-moon-QJS0aJgR.js +7 -0
- package/dist/component/rosmsg-BPUqDEe2.js +9 -0
- package/dist/component/rosmsg-CM65NRE0.js +9 -0
- package/dist/component/rst-CqXkCW5F.js +25 -0
- package/dist/component/rst-DQATMrFw.js +25 -0
- package/dist/component/ruby-B09XKrLg.js +33 -0
- package/dist/component/ruby-BJtrPIFQ.js +33 -0
- package/dist/component/rust-3aEF0O7t.js +9 -0
- package/dist/component/rust-XKBJng8W.js +9 -0
- package/dist/component/sankeyDiagram-5OEKKPKP-C-TbMbsr.js +862 -0
- package/dist/component/sas-COkwgxe_.js +11 -0
- package/dist/component/sas-DDLczODn.js +11 -0
- package/dist/component/sass-BIT8Mghp.js +9 -0
- package/dist/component/sass-CbXM5obh.js +9 -0
- package/dist/component/scala-CWyCExvl.js +9 -0
- package/dist/component/scala-DmAjX8OM.js +9 -0
- package/dist/component/scheme-BLXiZF3M.js +9 -0
- package/dist/component/scheme-ERi8vGmO.js +9 -0
- package/dist/component/scss-BX4eQ0c3.js +11 -0
- package/dist/component/scss-Biq-xkEY.js +11 -0
- package/dist/component/sdbl-B4TEJKGi.js +9 -0
- package/dist/component/sdbl-tnLxE-ur.js +9 -0
- package/dist/component/sequenceDiagram-3UESZ5HK-UHhixLbD.js +2897 -0
- package/dist/component/shaderlab-DMYXUCqo.js +11 -0
- package/dist/component/shaderlab-DqcfJRqk.js +11 -0
- package/dist/component/shellscript-B533aeAq.js +9 -0
- package/dist/component/shellscript-B8M9FK6Q.js +9 -0
- package/dist/component/shellsession-CvrLJEnp.js +11 -0
- package/dist/component/shellsession-Cy0cdv3D.js +11 -0
- package/dist/component/slack-dark-9TBiD8mL.js +7 -0
- package/dist/component/slack-dark-DN-r2Kgp.js +7 -0
- package/dist/component/slack-ochin-9pgdwMdj.js +7 -0
- package/dist/component/slack-ochin-DoqPjNJD.js +7 -0
- package/dist/component/smalltalk-Bbm0pJzJ.js +9 -0
- package/dist/component/smalltalk-BgwWJ0LQ.js +9 -0
- package/dist/component/snazzy-light-CRiZMLw1.js +7 -0
- package/dist/component/snazzy-light-D2QxPpzI.js +7 -0
- package/dist/component/solarized-dark-CpiZBbF-.js +7 -0
- package/dist/component/solarized-dark-DrZ258Kz.js +7 -0
- package/dist/component/solarized-light-940Q0ET-.js +7 -0
- package/dist/component/solarized-light-CZjXGjG0.js +7 -0
- package/dist/component/solidity-BiVIJAyo.js +9 -0
- package/dist/component/solidity-DsGO0zKs.js +9 -0
- package/dist/component/soy-B8d9iNux.js +11 -0
- package/dist/component/soy-CrWxFFIL.js +11 -0
- package/dist/component/sparql-C9-sbVPb.js +11 -0
- package/dist/component/sparql-D4y9QLpW.js +11 -0
- package/dist/component/splunk-8ZGt17T1.js +9 -0
- package/dist/component/splunk-CoLR9YoS.js +9 -0
- package/dist/component/sql-kcHmCqqm.js +9 -0
- package/dist/component/sql-vg8sPfqQ.js +9 -0
- package/dist/component/ssh-config-CaXR5cZI.js +9 -0
- package/dist/component/ssh-config-DIPB8nWv.js +9 -0
- package/dist/component/stata-DTwlvRC-.js +11 -0
- package/dist/component/stata-wXDnjjLv.js +11 -0
- package/dist/component/stateDiagram-AJRCARHV-DBGVr_mf.js +266 -0
- package/dist/component/stateDiagram-v2-BHNVJYJU-BasSd11t.js +19 -0
- package/dist/component/stylus-BVi_fesw.js +9 -0
- package/dist/component/stylus-WAexVQ6f.js +9 -0
- package/dist/component/surrealql-BMPoOZ16.js +11 -0
- package/dist/component/surrealql-CoR3cmJl.js +11 -0
- package/dist/component/svelte-BXoajfvD.js +17 -0
- package/dist/component/svelte-CSNEH6tH.js +17 -0
- package/dist/component/swift-C1L5BrdG.js +9 -0
- package/dist/component/swift-DvqRLmJa.js +9 -0
- package/dist/component/synthwave-84-CjU0tbaA.js +7 -0
- package/dist/component/synthwave-84-D0HCetP1.js +7 -0
- package/dist/component/system-verilog-BlCQhLvC.js +9 -0
- package/dist/component/system-verilog-NfYSOS9X.js +9 -0
- package/dist/component/systemd-C-VULMOV.js +9 -0
- package/dist/component/systemd-DPQeba_a.js +9 -0
- package/dist/component/talonscript-0iKTliWA.js +9 -0
- package/dist/component/talonscript-Dcq0YJ69.js +9 -0
- package/dist/component/tasl-CBnjmw_u.js +9 -0
- package/dist/component/tasl-DPTcRLbU.js +9 -0
- package/dist/component/tcl-B8YZq0wg.js +9 -0
- package/dist/component/tcl-D3IfUIUn.js +9 -0
- package/dist/component/templ-BWrZoBOl.js +15 -0
- package/dist/component/templ-CNKcDxHw.js +15 -0
- package/dist/component/terraform-BBGJbbOd.js +9 -0
- package/dist/component/terraform-CpHfbII0.js +9 -0
- package/dist/component/tex-Do7cxq2n.js +11 -0
- package/dist/component/tex-DotwMf2L.js +11 -0
- package/dist/component/timeline-definition-PNZ67QCA-BTzUH3cf.js +1058 -0
- package/dist/component/tokyo-night-50KL4qXP.js +7 -0
- package/dist/component/tokyo-night-CFdInRHE.js +7 -0
- package/dist/component/toml-BgG8u2uy.js +9 -0
- package/dist/component/toml-Cdrl1XDU.js +9 -0
- package/dist/component/ts-tags-CZ_-X2Or.js +44 -0
- package/dist/component/ts-tags-JQGxDVZd.js +44 -0
- package/dist/component/tsv-CH-Gpfzn.js +9 -0
- package/dist/component/tsv-DXq61Z_y.js +9 -0
- package/dist/component/tsx-B6WYiHjH.js +9 -0
- package/dist/component/tsx-BI2vzHzF.js +9 -0
- package/dist/component/turtle-BLh3UAZ1.js +9 -0
- package/dist/component/turtle-DuS0HQ9p.js +9 -0
- package/dist/component/twig-BA9yPOhQ.js +21 -0
- package/dist/component/twig-F0j_PXgJ.js +21 -0
- package/dist/component/typescript-Bt_Em9TU.js +9 -0
- package/dist/component/typescript-BxspRrVw.js +9 -0
- package/dist/component/typespec-CBQfkfKg.js +9 -0
- package/dist/component/typespec-ChsG4DJP.js +9 -0
- package/dist/component/typst-CLNdxZpy.js +9 -0
- package/dist/component/typst-rCvFF3Ml.js +9 -0
- package/dist/component/v-Bc8b7HcA.js +9 -0
- package/dist/component/v-DkBTCxRz.js +9 -0
- package/dist/component/vala-Bf6duLsN.js +9 -0
- package/dist/component/vala-D3NFAJvZ.js +9 -0
- package/dist/component/vb-CbCKaE0V.js +9 -0
- package/dist/component/vb-DoG_86dU.js +9 -0
- package/dist/component/vennDiagram-CIIHVFJN-CVh3weJ2.js +1560 -0
- package/dist/component/verilog-BsnhA3AJ.js +9 -0
- package/dist/component/verilog-nZodAh2g.js +9 -0
- package/dist/component/vesper-C9xEuBGK.js +7 -0
- package/dist/component/vesper-DGjNIaCs.js +7 -0
- package/dist/component/vhdl-D19XVLHt.js +9 -0
- package/dist/component/vhdl-mXcQB2Fg.js +9 -0
- package/dist/component/viml-8k_5DKNK.js +9 -0
- package/dist/component/viml-COJbZm0U.js +9 -0
- package/dist/component/vitesse-black-Bct4R3m4.js +7 -0
- package/dist/component/vitesse-black-heVxAgDf.js +7 -0
- package/dist/component/vitesse-dark-DdWh6SFL.js +7 -0
- package/dist/component/vitesse-dark-DiXBkaTo.js +7 -0
- package/dist/component/vitesse-light-CerMU32A.js +7 -0
- package/dist/component/vitesse-light-Eee3KZAP.js +7 -0
- package/dist/component/vue-DjB6jmJ7.js +34 -0
- package/dist/component/vue-YqIdEku3.js +34 -0
- package/dist/component/vue-html-BkvRG1qx.js +11 -0
- package/dist/component/vue-html-CXFz0iVx.js +11 -0
- package/dist/component/vue-vine-CFD4nsF4.js +21 -0
- package/dist/component/vue-vine-lE-jUeB6.js +21 -0
- package/dist/component/vyper-DTCkLS2f.js +9 -0
- package/dist/component/vyper-_vSvOdCD.js +9 -0
- package/dist/component/wardley-L42UT6IY-HA1eSIS_.js +23141 -0
- package/dist/component/wardleyDiagram-YWT4CUSO-Uu5KXQum.js +681 -0
- package/dist/component/wasm-BEUtLzBq.js +10 -0
- package/dist/component/wasm-Bw9k5bmy.js +9 -0
- package/dist/component/wasm-NiufRxKC.js +9 -0
- package/dist/component/wasm-rA9i46L9.js +10 -0
- package/dist/component/wenyan-BAnK6VvJ.js +9 -0
- package/dist/component/wenyan-EBJbIPqf.js +9 -0
- package/dist/component/wgsl-B9MSpOv3.js +9 -0
- package/dist/component/wgsl-Dlg8zdV4.js +9 -0
- package/dist/component/wikitext-C8AvgBS7.js +9 -0
- package/dist/component/wikitext-sNd9wc1e.js +9 -0
- package/dist/component/wit-BM4EHoLb.js +9 -0
- package/dist/component/wit-BUXWAgVD.js +9 -0
- package/dist/component/wolfram-Ba-Qm5eW.js +9 -0
- package/dist/component/wolfram-CKRVXwGa.js +9 -0
- package/dist/component/xml-CE4MTCb-.js +11 -0
- package/dist/component/xml-DXvCmeFI.js +11 -0
- package/dist/component/xsl-BrFD-9o5.js +11 -0
- package/dist/component/xsl-CHBQO4kd.js +11 -0
- package/dist/component/xychartDiagram-2RQKCTM6-IkxwUbCF.js +1375 -0
- package/dist/component/yaml-CF4mYNnF.js +9 -0
- package/dist/component/yaml-XzfbPk1C.js +9 -0
- package/dist/component/zenscript-C0pvNsdh.js +9 -0
- package/dist/component/zenscript-xkkNgCqg.js +9 -0
- package/dist/component/zig-Bz6GLPWH.js +9 -0
- package/dist/component/zig-oixaTxav.js +9 -0
- package/dist/components/ai-elements/attachments.d.ts +54 -0
- package/dist/components/ai-elements/code-block.d.ts +46 -0
- package/dist/components/ai-elements/conversation.d.ts +23 -0
- package/dist/components/ai-elements/copy-button.d.ts +6 -0
- package/dist/components/ai-elements/file-tree.d.ts +26 -0
- package/dist/components/ai-elements/link-safety-modal.d.ts +8 -0
- package/dist/components/ai-elements/message.d.ts +38 -0
- package/dist/components/ai-elements/plan.d.ts +25 -0
- package/dist/components/ai-elements/prompt-input.d.ts +158 -0
- package/dist/components/ai-elements/reasoning.d.ts +26 -0
- package/dist/components/ai-elements/shell-highlight.d.ts +3 -0
- package/dist/components/ai-elements/shimmer.d.ts +9 -0
- package/dist/components/ai-elements/suggestion.d.ts +10 -0
- package/dist/components/ai-elements/task.d.ts +14 -0
- package/dist/components/ai-elements/terminal-task.d.ts +5 -0
- package/dist/components/ai-elements/tool.d.ts +31 -0
- package/dist/components/embed/AgentGrantCard.d.ts +25 -0
- package/dist/components/embed/AtMentionMenu.d.ts +13 -0
- package/dist/components/embed/BelongMark.d.ts +4 -0
- package/dist/components/embed/BrandMark.d.ts +11 -0
- package/dist/components/embed/CapabilityHints.d.ts +1 -0
- package/dist/components/embed/ComposerMenu.d.ts +36 -0
- package/dist/components/embed/CsvTable.d.ts +10 -0
- package/dist/components/embed/EmbedAvatar.d.ts +35 -0
- package/dist/components/embed/EmbedComposer.d.ts +31 -0
- package/dist/components/embed/EmbedConversation.d.ts +31 -0
- package/dist/components/embed/EmbedFiles.d.ts +28 -0
- package/dist/components/embed/EmbedHeader.d.ts +11 -0
- package/dist/components/embed/EmbedLogin.d.ts +11 -0
- package/dist/components/embed/EmbedRail.d.ts +49 -0
- package/dist/components/embed/EmbedSessions.d.ts +23 -0
- package/dist/components/embed/FilePreview.d.ts +12 -0
- package/dist/components/embed/FilePreviewDialog.d.ts +19 -0
- package/dist/components/embed/MentionInput.d.ts +23 -0
- package/dist/components/embed/MentionPill.d.ts +25 -0
- package/dist/components/embed/OnboardingOverlay.d.ts +21 -0
- package/dist/components/embed/OnboardingTour.d.ts +24 -0
- package/dist/components/embed/OnboardingWelcome.d.ts +23 -0
- package/dist/components/embed/PlanCue.d.ts +9 -0
- package/dist/components/embed/PlanPanel.d.ts +13 -0
- package/dist/components/embed/PlanView.d.ts +16 -0
- package/dist/components/embed/PoweredByBelong.d.ts +7 -0
- package/dist/components/embed/PreviewContent.d.ts +26 -0
- package/dist/components/embed/PreviewPanel.d.ts +17 -0
- package/dist/components/embed/ProgressRing.d.ts +13 -0
- package/dist/components/embed/SlashCommandMenu.d.ts +13 -0
- package/dist/components/embed/UploadedFiles.d.ts +9 -0
- package/dist/components/embed/UsageMeter.d.ts +9 -0
- package/dist/components/embed/WelcomeIntro.d.ts +10 -0
- package/dist/components/embed/WorkspaceTree.d.ts +22 -0
- package/dist/components/embed/__plan-test-utils__.d.ts +13 -0
- package/dist/components/embed/dev-runtime-bar.d.ts +21 -0
- package/dist/components/embed/embed-composer.fixtures.d.ts +3 -0
- package/dist/components/embed/embed-rail.fixtures.d.ts +3 -0
- package/dist/components/embed/file-preview-kind.d.ts +7 -0
- package/dist/components/embed/onboarding-story-dock.d.ts +20 -0
- package/dist/components/embed/onboarding.fixtures.d.ts +9 -0
- package/dist/components/embed/parse-csv.d.ts +10 -0
- package/dist/components/embed/preview-content-kind.d.ts +15 -0
- package/dist/components/embed/use-panel-resize.d.ts +4 -0
- package/dist/components/embed/use-preview-bytes.d.ts +39 -0
- package/dist/components/feedback/feedback-metadata.d.ts +37 -0
- package/dist/components/feedback/message-feedback.d.ts +9 -0
- package/dist/components/ui/accordion.d.ts +7 -0
- package/dist/components/ui/alert.d.ts +9 -0
- package/dist/components/ui/avatar.d.ts +11 -0
- package/dist/components/ui/badge.d.ts +9 -0
- package/dist/components/ui/button-group.d.ts +11 -0
- package/dist/components/ui/button.d.ts +10 -0
- package/dist/components/ui/card.d.ts +9 -0
- package/dist/components/ui/carousel.d.ts +19 -0
- package/dist/components/ui/checkbox.d.ts +4 -0
- package/dist/components/ui/collapsible.d.ts +5 -0
- package/dist/components/ui/command.d.ts +18 -0
- package/dist/components/ui/dialog.d.ts +17 -0
- package/dist/components/ui/dropdown-menu.d.ts +25 -0
- package/dist/components/ui/hover-card.d.ts +6 -0
- package/dist/components/ui/input-group.d.ts +16 -0
- package/dist/components/ui/input.d.ts +3 -0
- package/dist/components/ui/popover.d.ts +10 -0
- package/dist/components/ui/progress.d.ts +4 -0
- package/dist/components/ui/radio-group.d.ts +5 -0
- package/dist/components/ui/scroll-area.d.ts +5 -0
- package/dist/components/ui/select.d.ts +15 -0
- package/dist/components/ui/separator.d.ts +4 -0
- package/dist/components/ui/spinner.d.ts +2 -0
- package/dist/components/ui/switch.d.ts +6 -0
- package/dist/components/ui/tabs.d.ts +11 -0
- package/dist/components/ui/textarea.d.ts +3 -0
- package/dist/components/ui/tooltip.d.ts +7 -0
- package/dist/dev-main.d.ts +0 -0
- package/dist/embed/agent-grant-refresh.d.ts +37 -0
- package/dist/embed/at-mentions.d.ts +80 -0
- package/dist/embed/auth0-refresh.d.ts +78 -0
- package/dist/embed/auto-embed.d.ts +19 -0
- package/dist/embed/bootstrap.d.ts +10 -0
- package/dist/embed/brand-marks.d.ts +11 -0
- package/dist/embed/build-info.d.ts +30 -0
- package/dist/embed/build-version.d.ts +28 -0
- package/dist/embed/chat-mode.d.ts +46 -0
- package/dist/embed/composer-focus.d.ts +14 -0
- package/dist/embed/copy.d.ts +84 -0
- package/dist/embed/custom-css.d.ts +2 -0
- package/dist/embed/debug-overrides.d.ts +11 -0
- package/dist/embed/dev-mode.d.ts +56 -0
- package/dist/embed/dock-layout.d.ts +30 -0
- package/dist/embed/dock-state.d.ts +32 -0
- package/dist/embed/download-url.d.ts +9 -0
- package/dist/embed/file-type-icon.d.ts +29 -0
- package/dist/embed/format-bytes.d.ts +2 -0
- package/dist/embed/global.d.ts +79 -0
- package/dist/embed/locale.d.ts +18 -0
- package/dist/embed/logo.d.ts +1 -0
- package/dist/embed/mic-press.d.ts +27 -0
- package/dist/embed/onboarding-prefs.d.ts +52 -0
- package/dist/embed/onboarding-steps.d.ts +27 -0
- package/dist/embed/onboarding-store.d.ts +39 -0
- package/dist/embed/plan-auto-open.d.ts +8 -0
- package/dist/embed/plan-decision.d.ts +10 -0
- package/dist/embed/plan-intent.d.ts +17 -0
- package/dist/embed/portal-container.d.ts +23 -0
- package/dist/embed/presets.d.ts +29 -0
- package/dist/embed/session-record.d.ts +16 -0
- package/dist/embed/shadow-mount.d.ts +37 -0
- package/dist/embed/slash-commands.d.ts +49 -0
- package/dist/embed/theme.d.ts +40 -0
- package/dist/embed/universe-origin.d.ts +24 -0
- package/dist/embed/use-workspace-file-download.d.ts +16 -0
- package/dist/embed/voice/audio-forwarder.worklet.d.ts +22 -0
- package/dist/embed/voice/audio-utils.d.ts +38 -0
- package/dist/embed/voice/deepgram-stt.d.ts +69 -0
- package/dist/embed/voice/mic-capture.d.ts +34 -0
- package/dist/embed/voice/sentence-split.d.ts +11 -0
- package/dist/embed/voice/voice-http.d.ts +8 -0
- package/dist/embed/voice/voice-token.d.ts +40 -0
- package/dist/embed/voice-bus.d.ts +75 -0
- package/dist/embed/voice-config.d.ts +52 -0
- package/dist/embed/voice-fillers.d.ts +2 -0
- package/dist/embed/voice-prefs.d.ts +55 -0
- package/dist/embed/voice-tts.d.ts +101 -0
- package/dist/embed/workspace-paths.d.ts +9 -0
- package/dist/infrastructure/telemetry/session-span-processor.d.ts +11 -0
- package/dist/infrastructure/telemetry/web-sdk.d.ts +29 -0
- package/dist/lib/belong.d.ts +12 -0
- package/dist/lib/tab-leadership.d.ts +46 -0
- package/dist/lib/use-tab-leadership.d.ts +8 -0
- package/dist/lib/utils.d.ts +9 -0
- package/dist/public-api.d.ts +3 -0
- package/dist/routes/chat-attachment-chip.d.ts +9 -0
- package/dist/routes/chat.d.ts +29 -0
- package/dist/routes/documents.d.ts +16 -0
- package/dist/routes/files.d.ts +14 -0
- package/dist/routes/sample-artifact.d.ts +7 -0
- package/dist/routes/sessions.d.ts +4 -0
- package/dist/routes/static-chat-fixture.d.ts +26 -0
- package/dist/stream/ai-sdk-part-renderers.d.ts +66 -0
- package/dist/stream/belong-chat-transport.d.ts +679 -0
- package/dist/stream/belong-data-parts.d.ts +207 -0
- package/dist/stream/chat-upload.d.ts +35 -0
- package/dist/stream/plan-panel-store.d.ts +11 -0
- package/dist/stream/plan-progress-store.d.ts +4 -0
- package/dist/stream/plan-progress.d.ts +25 -0
- package/dist/stream/plan-store.d.ts +16 -0
- package/dist/stream/preview-panel-store.d.ts +50 -0
- package/dist/stream/sandbox-output.d.ts +32 -0
- package/dist/stream/select-latest-plan.d.ts +17 -0
- package/dist/stream/select-session-usage.d.ts +23 -0
- package/dist/stream/session-title.d.ts +15 -0
- package/dist/stream/stream-state-store.d.ts +67 -0
- package/dist/stream/tool-io.d.ts +7 -0
- package/dist/test/render.d.ts +23 -0
- package/dist/test-setup.d.ts +1 -0
- package/dist/types/public.d.ts +189 -0
- package/package.json +38 -0
|
@@ -0,0 +1,681 @@
|
|
|
1
|
+
import { s as St, g as Mt, t as Nt, q as Tt, a as zt, b as Lt, _ as u, a4 as At, G as Xt, I as U, l as K, N as Et, e as Yt, B as It, c as j } from "./mermaid-GHXKKRXX-C5Y3BZXR.js";
|
|
2
|
+
import { p as Bt } from "./chunk-4BX2VUAB-gRTK7Di9.js";
|
|
3
|
+
import { p as Ft } from "./wardley-L42UT6IY-HA1eSIS_.js";
|
|
4
|
+
globalThis.process = globalThis.process || { env: {} };
|
|
5
|
+
globalThis.global = globalThis.global || globalThis;
|
|
6
|
+
var D = /* @__PURE__ */ u((e, n) => {
|
|
7
|
+
const r = e <= 1 ? e * 100 : e;
|
|
8
|
+
if (r < 0 || r > 100)
|
|
9
|
+
throw new Error(
|
|
10
|
+
`${n} must be between 0-1 (decimal) or 0-100 (percentage). Received: ${e}`
|
|
11
|
+
);
|
|
12
|
+
return r;
|
|
13
|
+
}, "toPercent"), A = /* @__PURE__ */ u((e, n, r) => ({
|
|
14
|
+
x: D(n, `${r} evolution`),
|
|
15
|
+
y: D(e, `${r} visibility`)
|
|
16
|
+
}), "toCoordinates"), J = /* @__PURE__ */ u((e) => {
|
|
17
|
+
if (e) {
|
|
18
|
+
if (e === "+<>")
|
|
19
|
+
return "bidirectional";
|
|
20
|
+
if (e === "+<")
|
|
21
|
+
return "backward";
|
|
22
|
+
if (e === "+>")
|
|
23
|
+
return "forward";
|
|
24
|
+
}
|
|
25
|
+
}, "getFlowFromPort"), Rt = /* @__PURE__ */ u((e) => {
|
|
26
|
+
if (!e?.startsWith("+"))
|
|
27
|
+
return {};
|
|
28
|
+
const r = /^\+'([^']*)'/.exec(e)?.[1];
|
|
29
|
+
return e.includes("<>") ? { flow: "bidirectional", label: r } : e.includes("<") ? { flow: "backward", label: r } : e.includes(">") ? { flow: "forward", label: r } : { label: r };
|
|
30
|
+
}, "extractFlowFromArrow"), Ot = /* @__PURE__ */ u((e, n) => {
|
|
31
|
+
if (Bt(e, n), e.size && n.setSize(e.size.width, e.size.height), e.evolution) {
|
|
32
|
+
const r = e.evolution.stages.map((a) => a.secondName ? `${a.name.trim()} / ${a.secondName.trim()}` : a.name.trim()), x = e.evolution.stages.filter((a) => a.boundary !== void 0).map((a) => a.boundary);
|
|
33
|
+
n.updateAxes({ stages: r, stageBoundaries: x });
|
|
34
|
+
}
|
|
35
|
+
if (e.anchors.forEach((r) => {
|
|
36
|
+
const x = A(r.visibility, r.evolution, `Anchor "${r.name}"`);
|
|
37
|
+
n.addNode(r.name, r.name, x.x, x.y, "anchor");
|
|
38
|
+
}), e.components.forEach((r) => {
|
|
39
|
+
const x = A(
|
|
40
|
+
r.visibility,
|
|
41
|
+
r.evolution,
|
|
42
|
+
`Component "${r.name}"`
|
|
43
|
+
), a = r.label ? (r.label.negX ? -1 : 1) * r.label.offsetX : void 0, l = r.label ? (r.label.negY ? -1 : 1) * r.label.offsetY : void 0, w = r.decorator?.strategy;
|
|
44
|
+
n.addNode(
|
|
45
|
+
r.name,
|
|
46
|
+
r.name,
|
|
47
|
+
x.x,
|
|
48
|
+
x.y,
|
|
49
|
+
"component",
|
|
50
|
+
a,
|
|
51
|
+
l,
|
|
52
|
+
r.inertia,
|
|
53
|
+
w
|
|
54
|
+
);
|
|
55
|
+
}), e.notes.forEach((r) => {
|
|
56
|
+
const x = A(r.visibility, r.evolution, `Note "${r.text}"`);
|
|
57
|
+
n.addNote(r.text, x.x, x.y);
|
|
58
|
+
}), e.pipelines.forEach((r) => {
|
|
59
|
+
const x = n.getNode(r.parent);
|
|
60
|
+
if (!x || typeof x.y != "number")
|
|
61
|
+
throw new Error(
|
|
62
|
+
`Pipeline "${r.parent}" must reference an existing component with coordinates.`
|
|
63
|
+
);
|
|
64
|
+
const a = x.y;
|
|
65
|
+
n.startPipeline(r.parent), r.components.forEach((l) => {
|
|
66
|
+
const w = `${r.parent}_${l.name}`, C = l.label ? (l.label.negX ? -1 : 1) * l.label.offsetX : void 0, g = l.label ? (l.label.negY ? -1 : 1) * l.label.offsetY : void 0, F = D(l.evolution, `Pipeline component "${l.name}" evolution`);
|
|
67
|
+
n.addNode(
|
|
68
|
+
w,
|
|
69
|
+
l.name,
|
|
70
|
+
F,
|
|
71
|
+
a,
|
|
72
|
+
"pipeline-component",
|
|
73
|
+
C,
|
|
74
|
+
g
|
|
75
|
+
), n.addPipelineComponent(r.parent, w);
|
|
76
|
+
});
|
|
77
|
+
}), e.links.forEach((r) => {
|
|
78
|
+
const x = !!r.arrow && (r.arrow.includes("-.->") || r.arrow.includes(".-."));
|
|
79
|
+
let a = J(r.fromPort) ?? J(r.toPort);
|
|
80
|
+
const { flow: l, label: w } = Rt(r.arrow);
|
|
81
|
+
!a && l && (a = l);
|
|
82
|
+
const C = r.linkLabel, g = w ?? C;
|
|
83
|
+
n.addLink(n.resolveNodeId(r.from), n.resolveNodeId(r.to), x, g, a);
|
|
84
|
+
}), e.evolves.forEach((r) => {
|
|
85
|
+
const x = n.getNode(r.component);
|
|
86
|
+
if (x?.y !== void 0) {
|
|
87
|
+
const a = D(r.target, `Evolve target for "${r.component}"`);
|
|
88
|
+
n.addTrend(r.component, a, x.y);
|
|
89
|
+
}
|
|
90
|
+
}), e.annotations.length > 0) {
|
|
91
|
+
const r = e.annotations[0], x = A(r.x, r.y, "Annotations box");
|
|
92
|
+
n.setAnnotationsBox(x.x, x.y);
|
|
93
|
+
}
|
|
94
|
+
e.annotation.forEach((r) => {
|
|
95
|
+
const x = A(r.x, r.y, `Annotation ${r.number}`);
|
|
96
|
+
n.addAnnotation(r.number, [{ x: x.x, y: x.y }], r.text);
|
|
97
|
+
}), e.accelerators.forEach((r) => {
|
|
98
|
+
const x = A(r.x, r.y, `Accelerator "${r.name}"`);
|
|
99
|
+
n.addAccelerator(r.name, x.x, x.y);
|
|
100
|
+
}), e.deaccelerators.forEach((r) => {
|
|
101
|
+
const x = A(
|
|
102
|
+
r.x,
|
|
103
|
+
r.y,
|
|
104
|
+
`Deaccelerator "${r.name}"`
|
|
105
|
+
);
|
|
106
|
+
n.addDeaccelerator(r.name, x.x, x.y);
|
|
107
|
+
});
|
|
108
|
+
}, "populateDb"), Q = {
|
|
109
|
+
parser: {
|
|
110
|
+
// @ts-expect-error - WardleyDB is not assignable to DiagramDB
|
|
111
|
+
yy: void 0
|
|
112
|
+
},
|
|
113
|
+
parse: /* @__PURE__ */ u(async (e) => {
|
|
114
|
+
const n = await Ft("wardley", e);
|
|
115
|
+
K.debug(n);
|
|
116
|
+
const r = Q.parser?.yy;
|
|
117
|
+
if (!r || typeof r.addNode != "function")
|
|
118
|
+
throw new Error(
|
|
119
|
+
"parser.parser?.yy was not a WardleyDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues."
|
|
120
|
+
);
|
|
121
|
+
Ot(n, r);
|
|
122
|
+
}, "parse")
|
|
123
|
+
}, Wt = class {
|
|
124
|
+
constructor() {
|
|
125
|
+
this.nodes = /* @__PURE__ */ new Map(), this.links = [], this.trends = /* @__PURE__ */ new Map(), this.pipelines = /* @__PURE__ */ new Map(), this.annotations = [], this.notes = [], this.accelerators = [], this.deaccelerators = [], this.axes = {};
|
|
126
|
+
}
|
|
127
|
+
static {
|
|
128
|
+
u(this, "WardleyBuilder");
|
|
129
|
+
}
|
|
130
|
+
addNode(e) {
|
|
131
|
+
const n = this.nodes.get(e.id) ?? { id: e.id, label: e.label }, r = {
|
|
132
|
+
...n,
|
|
133
|
+
...e,
|
|
134
|
+
className: e.className ?? n.className,
|
|
135
|
+
labelOffsetX: e.labelOffsetX ?? n.labelOffsetX,
|
|
136
|
+
labelOffsetY: e.labelOffsetY ?? n.labelOffsetY
|
|
137
|
+
};
|
|
138
|
+
this.nodes.set(e.id, r);
|
|
139
|
+
}
|
|
140
|
+
addLink(e) {
|
|
141
|
+
this.links.push(e);
|
|
142
|
+
}
|
|
143
|
+
addTrend(e) {
|
|
144
|
+
this.trends.set(e.nodeId, e);
|
|
145
|
+
}
|
|
146
|
+
startPipeline(e) {
|
|
147
|
+
this.pipelines.set(e, { nodeId: e, componentIds: [] });
|
|
148
|
+
const n = this.nodes.get(e);
|
|
149
|
+
n && (n.isPipelineParent = !0);
|
|
150
|
+
}
|
|
151
|
+
addPipelineComponent(e, n) {
|
|
152
|
+
const r = this.pipelines.get(e);
|
|
153
|
+
r && r.componentIds.push(n);
|
|
154
|
+
const x = this.nodes.get(n);
|
|
155
|
+
x && (x.inPipeline = !0);
|
|
156
|
+
}
|
|
157
|
+
addAnnotation(e) {
|
|
158
|
+
this.annotations.push(e);
|
|
159
|
+
}
|
|
160
|
+
addNote(e) {
|
|
161
|
+
this.notes.push(e);
|
|
162
|
+
}
|
|
163
|
+
addAccelerator(e) {
|
|
164
|
+
this.accelerators.push(e);
|
|
165
|
+
}
|
|
166
|
+
addDeaccelerator(e) {
|
|
167
|
+
this.deaccelerators.push(e);
|
|
168
|
+
}
|
|
169
|
+
setAnnotationsBox(e, n) {
|
|
170
|
+
this.annotationsBox = { x: e, y: n };
|
|
171
|
+
}
|
|
172
|
+
setAxes(e) {
|
|
173
|
+
this.axes = {
|
|
174
|
+
...this.axes,
|
|
175
|
+
...e
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
setSize(e, n) {
|
|
179
|
+
this.size = { width: e, height: n };
|
|
180
|
+
}
|
|
181
|
+
getNode(e) {
|
|
182
|
+
return this.nodes.get(e);
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Resolve a name to a node ID. Tries exact ID match first,
|
|
186
|
+
* then falls back to finding a node whose label matches the name
|
|
187
|
+
* (handles pipeline components which have synthetic IDs like "Parent_Child").
|
|
188
|
+
*/
|
|
189
|
+
resolveNodeId(e) {
|
|
190
|
+
if (this.nodes.has(e))
|
|
191
|
+
return e;
|
|
192
|
+
for (const [n, r] of this.nodes)
|
|
193
|
+
if (r.label === e)
|
|
194
|
+
return n;
|
|
195
|
+
return e;
|
|
196
|
+
}
|
|
197
|
+
build() {
|
|
198
|
+
const e = [];
|
|
199
|
+
for (const n of this.nodes.values()) {
|
|
200
|
+
if (typeof n.x != "number" || typeof n.y != "number")
|
|
201
|
+
throw new Error(`Node "${n.label}" is missing coordinates`);
|
|
202
|
+
e.push(n);
|
|
203
|
+
}
|
|
204
|
+
return {
|
|
205
|
+
nodes: e,
|
|
206
|
+
links: [...this.links],
|
|
207
|
+
trends: [...this.trends.values()],
|
|
208
|
+
pipelines: [...this.pipelines.values()],
|
|
209
|
+
annotations: [...this.annotations],
|
|
210
|
+
notes: [...this.notes],
|
|
211
|
+
accelerators: [...this.accelerators],
|
|
212
|
+
deaccelerators: [...this.deaccelerators],
|
|
213
|
+
annotationsBox: this.annotationsBox,
|
|
214
|
+
axes: { ...this.axes },
|
|
215
|
+
size: this.size
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
clear() {
|
|
219
|
+
this.nodes.clear(), this.links = [], this.trends.clear(), this.pipelines.clear(), this.annotations = [], this.notes = [], this.accelerators = [], this.deaccelerators = [], this.annotationsBox = void 0, this.axes = {}, this.size = void 0;
|
|
220
|
+
}
|
|
221
|
+
}, b = new Wt();
|
|
222
|
+
function tt() {
|
|
223
|
+
return j()["wardley-beta"];
|
|
224
|
+
}
|
|
225
|
+
u(tt, "getConfig");
|
|
226
|
+
function et(e, n, r, x, a, l, w, C, g) {
|
|
227
|
+
b.addNode({
|
|
228
|
+
id: e,
|
|
229
|
+
label: n,
|
|
230
|
+
x: r,
|
|
231
|
+
y: x,
|
|
232
|
+
className: a,
|
|
233
|
+
labelOffsetX: l,
|
|
234
|
+
labelOffsetY: w,
|
|
235
|
+
inertia: C,
|
|
236
|
+
sourceStrategy: g
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
u(et, "addNode");
|
|
240
|
+
function at(e, n, r = !1, x, a) {
|
|
241
|
+
b.addLink({
|
|
242
|
+
source: e,
|
|
243
|
+
target: n,
|
|
244
|
+
dashed: r,
|
|
245
|
+
label: x,
|
|
246
|
+
flow: a
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
u(at, "addLink");
|
|
250
|
+
function rt(e, n, r) {
|
|
251
|
+
b.addTrend({ nodeId: e, targetX: n, targetY: r });
|
|
252
|
+
}
|
|
253
|
+
u(rt, "addTrend");
|
|
254
|
+
function ot(e, n, r) {
|
|
255
|
+
b.addAnnotation({
|
|
256
|
+
number: e,
|
|
257
|
+
coordinates: n,
|
|
258
|
+
text: r
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
u(ot, "addAnnotation");
|
|
262
|
+
function nt(e, n, r) {
|
|
263
|
+
b.addNote({
|
|
264
|
+
text: e,
|
|
265
|
+
x: n,
|
|
266
|
+
y: r
|
|
267
|
+
});
|
|
268
|
+
}
|
|
269
|
+
u(nt, "addNote");
|
|
270
|
+
function st(e, n, r) {
|
|
271
|
+
b.addAccelerator({
|
|
272
|
+
name: e,
|
|
273
|
+
x: n,
|
|
274
|
+
y: r
|
|
275
|
+
});
|
|
276
|
+
}
|
|
277
|
+
u(st, "addAccelerator");
|
|
278
|
+
function it(e, n, r) {
|
|
279
|
+
b.addDeaccelerator({
|
|
280
|
+
name: e,
|
|
281
|
+
x: n,
|
|
282
|
+
y: r
|
|
283
|
+
});
|
|
284
|
+
}
|
|
285
|
+
u(it, "addDeaccelerator");
|
|
286
|
+
function lt(e, n) {
|
|
287
|
+
b.setAnnotationsBox(e, n);
|
|
288
|
+
}
|
|
289
|
+
u(lt, "setAnnotationsBox");
|
|
290
|
+
function dt(e, n) {
|
|
291
|
+
b.setSize(e, n);
|
|
292
|
+
}
|
|
293
|
+
u(dt, "setSize");
|
|
294
|
+
function ct(e) {
|
|
295
|
+
b.startPipeline(e);
|
|
296
|
+
}
|
|
297
|
+
u(ct, "startPipeline");
|
|
298
|
+
function pt(e, n) {
|
|
299
|
+
b.addPipelineComponent(e, n);
|
|
300
|
+
}
|
|
301
|
+
u(pt, "addPipelineComponent");
|
|
302
|
+
function ht(e) {
|
|
303
|
+
b.setAxes(e);
|
|
304
|
+
}
|
|
305
|
+
u(ht, "updateAxes");
|
|
306
|
+
function ft(e) {
|
|
307
|
+
return b.getNode(e);
|
|
308
|
+
}
|
|
309
|
+
u(ft, "getNode");
|
|
310
|
+
function xt(e) {
|
|
311
|
+
return b.resolveNodeId(e);
|
|
312
|
+
}
|
|
313
|
+
u(xt, "resolveNodeId");
|
|
314
|
+
function gt() {
|
|
315
|
+
return b.build();
|
|
316
|
+
}
|
|
317
|
+
u(gt, "getWardleyData");
|
|
318
|
+
function yt() {
|
|
319
|
+
b.clear(), It();
|
|
320
|
+
}
|
|
321
|
+
u(yt, "clear");
|
|
322
|
+
var Dt = {
|
|
323
|
+
getConfig: tt,
|
|
324
|
+
addNode: et,
|
|
325
|
+
addLink: at,
|
|
326
|
+
addTrend: rt,
|
|
327
|
+
addAnnotation: ot,
|
|
328
|
+
addNote: nt,
|
|
329
|
+
addAccelerator: st,
|
|
330
|
+
addDeaccelerator: it,
|
|
331
|
+
setAnnotationsBox: lt,
|
|
332
|
+
setSize: dt,
|
|
333
|
+
startPipeline: ct,
|
|
334
|
+
addPipelineComponent: pt,
|
|
335
|
+
updateAxes: ht,
|
|
336
|
+
getNode: ft,
|
|
337
|
+
resolveNodeId: xt,
|
|
338
|
+
getWardleyData: gt,
|
|
339
|
+
clear: yt,
|
|
340
|
+
setAccTitle: Lt,
|
|
341
|
+
getAccTitle: zt,
|
|
342
|
+
setDiagramTitle: Tt,
|
|
343
|
+
getDiagramTitle: Nt,
|
|
344
|
+
getAccDescription: Mt,
|
|
345
|
+
setAccDescription: St
|
|
346
|
+
}, Gt = ["Genesis", "Custom Built", "Product", "Commodity"], qt = /* @__PURE__ */ u(() => {
|
|
347
|
+
const { themeVariables: e } = j();
|
|
348
|
+
return {
|
|
349
|
+
backgroundColor: e.wardley?.backgroundColor ?? e.background ?? "#fff",
|
|
350
|
+
axisColor: e.wardley?.axisColor ?? "#000",
|
|
351
|
+
axisTextColor: e.wardley?.axisTextColor ?? e.primaryTextColor ?? "#222",
|
|
352
|
+
gridColor: e.wardley?.gridColor ?? "rgba(100, 100, 100, 0.2)",
|
|
353
|
+
componentFill: e.wardley?.componentFill ?? "#fff",
|
|
354
|
+
componentStroke: e.wardley?.componentStroke ?? "#000",
|
|
355
|
+
componentLabelColor: e.wardley?.componentLabelColor ?? e.primaryTextColor ?? "#222",
|
|
356
|
+
linkStroke: e.wardley?.linkStroke ?? "#000",
|
|
357
|
+
evolutionStroke: e.wardley?.evolutionStroke ?? "#dc3545",
|
|
358
|
+
annotationStroke: e.wardley?.annotationStroke ?? "#000",
|
|
359
|
+
annotationTextColor: e.wardley?.annotationTextColor ?? e.primaryTextColor ?? "#222",
|
|
360
|
+
annotationFill: e.wardley?.annotationFill ?? e.background ?? "#fff"
|
|
361
|
+
};
|
|
362
|
+
}, "getTheme"), Ht = /* @__PURE__ */ u(() => {
|
|
363
|
+
const e = j()["wardley-beta"];
|
|
364
|
+
return {
|
|
365
|
+
width: e?.width ?? 900,
|
|
366
|
+
height: e?.height ?? 600,
|
|
367
|
+
padding: e?.padding ?? 48,
|
|
368
|
+
nodeRadius: e?.nodeRadius ?? 6,
|
|
369
|
+
nodeLabelOffset: e?.nodeLabelOffset ?? 8,
|
|
370
|
+
axisFontSize: e?.axisFontSize ?? 12,
|
|
371
|
+
labelFontSize: e?.labelFontSize ?? 10,
|
|
372
|
+
showGrid: e?.showGrid ?? !1,
|
|
373
|
+
useMaxWidth: e?.useMaxWidth ?? !0
|
|
374
|
+
};
|
|
375
|
+
}, "getConfigValues"), jt = /* @__PURE__ */ u((e, n, r, x) => {
|
|
376
|
+
K.debug(`Rendering Wardley map
|
|
377
|
+
` + e);
|
|
378
|
+
const a = Ht(), l = qt(), w = a.nodeRadius * 1.6, C = x.db, g = C.getWardleyData(), F = C.getDiagramTitle(), S = g.size?.width ?? a.width, k = g.size?.height ?? a.height, E = Et(n);
|
|
379
|
+
E.selectAll("*").remove(), Yt(E, k, S, a.useMaxWidth), E.attr("viewBox", `0 0 ${S} ${k}`);
|
|
380
|
+
const v = E.append("g").attr("class", "wardley-map"), G = E.append("defs");
|
|
381
|
+
G.append("marker").attr("id", `arrow-${n}`).attr("viewBox", "0 0 10 10").attr("refX", 9).attr("refY", 5).attr("markerWidth", 6).attr("markerHeight", 6).attr("orient", "auto-start-reverse").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z").attr("fill", l.evolutionStroke).attr("stroke", "none"), G.append("marker").attr("id", `link-arrow-end-${n}`).attr("viewBox", "0 0 10 10").attr("refX", 9).attr("refY", 5).attr("markerWidth", 5).attr("markerHeight", 5).attr("orient", "auto").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z").attr("fill", l.linkStroke).attr("stroke", "none"), G.append("marker").attr("id", `link-arrow-start-${n}`).attr("viewBox", "0 0 10 10").attr("refX", 1).attr("refY", 5).attr("markerWidth", 5).attr("markerHeight", 5).attr("orient", "auto").append("path").attr("d", "M 10 0 L 0 5 L 10 10 z").attr("fill", l.linkStroke).attr("stroke", "none"), v.append("rect").attr("class", "wardley-background").attr("width", S).attr("height", k).attr("fill", l.backgroundColor);
|
|
382
|
+
const Y = S - a.padding * 2, I = k - a.padding * 2;
|
|
383
|
+
F && v.append("text").attr("class", "wardley-title").attr("x", S / 2).attr("y", a.padding / 2).attr("fill", l.axisTextColor).attr("font-size", a.axisFontSize * 1.05).attr("font-weight", "bold").attr("text-anchor", "middle").attr("dominant-baseline", "middle").text(F);
|
|
384
|
+
const T = /* @__PURE__ */ u((t) => a.padding + t / 100 * Y, "projectX"), z = /* @__PURE__ */ u((t) => k - a.padding - t / 100 * I, "projectY"), R = v.append("g").attr("class", "wardley-axes");
|
|
385
|
+
R.append("line").attr("x1", a.padding).attr("x2", S - a.padding).attr("y1", k - a.padding).attr("y2", k - a.padding).attr("stroke", l.axisColor).attr("stroke-width", 1), R.append("line").attr("x1", a.padding).attr("x2", a.padding).attr("y1", a.padding).attr("y2", k - a.padding).attr("stroke", l.axisColor).attr("stroke-width", 1);
|
|
386
|
+
const ut = g.axes.xLabel ?? "Evolution", wt = g.axes.yLabel ?? "Visibility";
|
|
387
|
+
R.append("text").attr("class", "wardley-axis-label wardley-axis-label-x").attr("x", a.padding + Y / 2).attr("y", k - a.padding / 4).attr("fill", l.axisTextColor).attr("font-size", a.axisFontSize).attr("font-weight", "bold").attr("text-anchor", "middle").text(ut), R.append("text").attr("class", "wardley-axis-label wardley-axis-label-y").attr("x", a.padding / 3).attr("y", a.padding + I / 2).attr("fill", l.axisTextColor).attr("font-size", a.axisFontSize).attr("font-weight", "bold").attr("text-anchor", "middle").attr(
|
|
388
|
+
"transform",
|
|
389
|
+
`rotate(-90 ${a.padding / 3} ${a.padding + I / 2})`
|
|
390
|
+
).text(wt);
|
|
391
|
+
const B = g.axes.stages && g.axes.stages.length > 0 ? g.axes.stages : Gt;
|
|
392
|
+
if (B.length > 0) {
|
|
393
|
+
const t = v.append("g").attr("class", "wardley-stages"), s = g.axes.stageBoundaries, o = [];
|
|
394
|
+
if (s && s.length === B.length) {
|
|
395
|
+
let i = 0;
|
|
396
|
+
s.forEach((p) => {
|
|
397
|
+
o.push({ start: i, end: p }), i = p;
|
|
398
|
+
});
|
|
399
|
+
} else {
|
|
400
|
+
const i = 1 / B.length;
|
|
401
|
+
B.forEach((p, d) => {
|
|
402
|
+
o.push({
|
|
403
|
+
start: d * i,
|
|
404
|
+
end: (d + 1) * i
|
|
405
|
+
});
|
|
406
|
+
});
|
|
407
|
+
}
|
|
408
|
+
B.forEach((i, p) => {
|
|
409
|
+
const d = o[p], h = a.padding + d.start * Y, f = a.padding + d.end * Y, y = (h + f) / 2;
|
|
410
|
+
p > 0 && t.append("line").attr("x1", h).attr("x2", h).attr("y1", a.padding).attr("y2", k - a.padding).attr("stroke", "#000").attr("stroke-width", 1).attr("stroke-dasharray", "5 5").attr("opacity", 0.8), t.append("text").attr("class", "wardley-stage-label").attr("x", y).attr("y", k - a.padding / 1.5).attr("fill", l.axisTextColor).attr("font-size", a.axisFontSize - 2).attr("text-anchor", "middle").text(i);
|
|
411
|
+
});
|
|
412
|
+
}
|
|
413
|
+
if (a.showGrid) {
|
|
414
|
+
const t = v.append("g").attr("class", "wardley-grid");
|
|
415
|
+
for (let s = 1; s < 4; s++) {
|
|
416
|
+
const o = s / 4, i = a.padding + Y * o;
|
|
417
|
+
t.append("line").attr("x1", i).attr("x2", i).attr("y1", a.padding).attr("y2", k - a.padding).attr("stroke", l.gridColor).attr("stroke-dasharray", "2 6"), t.append("line").attr("x1", a.padding).attr("x2", S - a.padding).attr("y1", k - a.padding - I * o).attr("y2", k - a.padding - I * o).attr("stroke", l.gridColor).attr("stroke-dasharray", "2 6");
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
const c = /* @__PURE__ */ new Map();
|
|
421
|
+
if (g.nodes.forEach((t) => {
|
|
422
|
+
c.set(t.id, {
|
|
423
|
+
x: T(t.x),
|
|
424
|
+
y: z(t.y),
|
|
425
|
+
node: t
|
|
426
|
+
});
|
|
427
|
+
}), g.pipelines.length > 0) {
|
|
428
|
+
const t = v.append("g").attr("class", "wardley-pipelines"), s = v.append("g").attr("class", "wardley-pipeline-links");
|
|
429
|
+
g.pipelines.forEach((o) => {
|
|
430
|
+
if (o.componentIds.length === 0)
|
|
431
|
+
return;
|
|
432
|
+
const i = o.componentIds.map((f) => ({ id: f, pos: c.get(f), node: g.nodes.find((y) => y.id === f) })).filter((f) => f.pos && f.node).sort((f, y) => f.node.x - y.node.x);
|
|
433
|
+
for (let f = 0; f < i.length - 1; f++) {
|
|
434
|
+
const y = i[f], m = i[f + 1];
|
|
435
|
+
s.append("line").attr("class", "wardley-pipeline-evolution-link").attr("x1", y.pos.x).attr("y1", y.pos.y).attr("x2", m.pos.x).attr("y2", m.pos.y).attr("stroke", l.linkStroke).attr("stroke-width", 1).attr("stroke-dasharray", "4 4");
|
|
436
|
+
}
|
|
437
|
+
let p = 1 / 0, d = -1 / 0, h = 0;
|
|
438
|
+
if (o.componentIds.forEach((f) => {
|
|
439
|
+
const y = c.get(f);
|
|
440
|
+
y && (p = Math.min(p, y.x), d = Math.max(d, y.x), h = y.y);
|
|
441
|
+
}), p !== 1 / 0 && d !== -1 / 0) {
|
|
442
|
+
const y = a.nodeRadius * 4, m = h - y / 2, P = c.get(o.nodeId);
|
|
443
|
+
if (P) {
|
|
444
|
+
const N = (p + d) / 2;
|
|
445
|
+
P.x = N, P.y = m - w / 6;
|
|
446
|
+
}
|
|
447
|
+
t.append("rect").attr("class", "wardley-pipeline-box").attr("x", p - 15).attr("y", m).attr("width", d - p + 30).attr("height", y).attr("fill", "none").attr("stroke", l.axisColor).attr("stroke-width", 1.5).attr("rx", 4).attr("ry", 4);
|
|
448
|
+
}
|
|
449
|
+
});
|
|
450
|
+
}
|
|
451
|
+
const V = v.append("g").attr("class", "wardley-links"), _ = /* @__PURE__ */ new Map();
|
|
452
|
+
g.pipelines.forEach((t) => {
|
|
453
|
+
_.set(t.nodeId, new Set(t.componentIds));
|
|
454
|
+
});
|
|
455
|
+
const Z = g.links.filter((t) => !(!c.has(t.source) || !c.has(t.target) || _.get(t.target)?.has(t.source)));
|
|
456
|
+
V.selectAll("line").data(Z).enter().append("line").attr("class", (t) => `wardley-link${t.dashed ? " wardley-link--dashed" : ""}`).attr("x1", (t) => {
|
|
457
|
+
const s = c.get(t.source), o = c.get(t.target), p = g.nodes.find((y) => y.id === t.source).isPipelineParent ? w / Math.sqrt(2) : a.nodeRadius, d = o.x - s.x, h = o.y - s.y, f = Math.sqrt(d * d + h * h);
|
|
458
|
+
return s.x + d / f * p;
|
|
459
|
+
}).attr("y1", (t) => {
|
|
460
|
+
const s = c.get(t.source), o = c.get(t.target), p = g.nodes.find((y) => y.id === t.source).isPipelineParent ? w / Math.sqrt(2) : a.nodeRadius, d = o.x - s.x, h = o.y - s.y, f = Math.sqrt(d * d + h * h);
|
|
461
|
+
return s.y + h / f * p;
|
|
462
|
+
}).attr("x2", (t) => {
|
|
463
|
+
const s = c.get(t.source), o = c.get(t.target), p = g.nodes.find((y) => y.id === t.target).isPipelineParent ? w / Math.sqrt(2) : a.nodeRadius, d = s.x - o.x, h = s.y - o.y, f = Math.sqrt(d * d + h * h);
|
|
464
|
+
return o.x + d / f * p;
|
|
465
|
+
}).attr("y2", (t) => {
|
|
466
|
+
const s = c.get(t.source), o = c.get(t.target), p = g.nodes.find((y) => y.id === t.target).isPipelineParent ? w / Math.sqrt(2) : a.nodeRadius, d = s.x - o.x, h = s.y - o.y, f = Math.sqrt(d * d + h * h);
|
|
467
|
+
return o.y + h / f * p;
|
|
468
|
+
}).attr("stroke", l.linkStroke).attr("stroke-width", 1).attr("stroke-dasharray", (t) => t.dashed ? "6 6" : null).attr("marker-end", (t) => t.flow === "forward" || t.flow === "bidirectional" ? `url(#link-arrow-end-${n})` : null).attr("marker-start", (t) => t.flow === "backward" || t.flow === "bidirectional" ? `url(#link-arrow-start-${n})` : null), V.selectAll("text").data(Z.filter((t) => t.label)).enter().append("text").attr("class", "wardley-link-label").attr("x", (t) => {
|
|
469
|
+
const s = c.get(t.source), o = c.get(t.target), i = (s.x + o.x) / 2, p = o.y - s.y, d = o.x - s.x, h = Math.sqrt(d * d + p * p), f = 8, y = p / h;
|
|
470
|
+
return i + y * f;
|
|
471
|
+
}).attr("y", (t) => {
|
|
472
|
+
const s = c.get(t.source), o = c.get(t.target), i = (s.y + o.y) / 2, p = o.x - s.x, d = o.y - s.y, h = Math.sqrt(p * p + d * d), f = 8, y = -p / h;
|
|
473
|
+
return i + y * f;
|
|
474
|
+
}).attr("fill", l.axisTextColor).attr("font-size", a.labelFontSize).attr("text-anchor", "middle").attr("dominant-baseline", "middle").attr("transform", (t) => {
|
|
475
|
+
const s = c.get(t.source), o = c.get(t.target), i = (s.x + o.x) / 2, p = (s.y + o.y) / 2, d = o.x - s.x, h = o.y - s.y, f = Math.sqrt(d * d + h * h), y = 8, m = h / f, P = -d / f, N = i + m * y, O = p + P * y;
|
|
476
|
+
let X = Math.atan2(h, d) * 180 / Math.PI;
|
|
477
|
+
return (X > 90 || X < -90) && (X += 180), `rotate(${X} ${N} ${O})`;
|
|
478
|
+
}).text((t) => t.label);
|
|
479
|
+
const mt = v.append("g").attr("class", "wardley-trends"), bt = g.trends.map((t) => {
|
|
480
|
+
const s = c.get(t.nodeId);
|
|
481
|
+
if (!s)
|
|
482
|
+
return null;
|
|
483
|
+
const o = T(t.targetX), i = z(t.targetY), p = o - s.x, d = i - s.y, h = Math.sqrt(p * p + d * d), f = a.nodeRadius + 2, y = h > f ? o - p / h * f : o, m = h > f ? i - d / h * f : i;
|
|
484
|
+
return {
|
|
485
|
+
origin: s,
|
|
486
|
+
targetX: o,
|
|
487
|
+
targetY: i,
|
|
488
|
+
adjustedX2: y,
|
|
489
|
+
adjustedY2: m
|
|
490
|
+
};
|
|
491
|
+
}).filter((t) => t !== null);
|
|
492
|
+
mt.selectAll("line").data(bt).enter().append("line").attr("class", "wardley-trend").attr("x1", (t) => t.origin.x).attr("y1", (t) => t.origin.y).attr("x2", (t) => t.adjustedX2).attr("y2", (t) => t.adjustedY2).attr("stroke", l.evolutionStroke).attr("stroke-width", 1).attr("stroke-dasharray", "4 4").attr("marker-end", `url(#arrow-${n})`);
|
|
493
|
+
const M = v.append("g").attr("class", "wardley-nodes").selectAll("g").data(g.nodes).enter().append("g").attr(
|
|
494
|
+
"class",
|
|
495
|
+
(t) => ["wardley-node", t.className ? `wardley-node--${t.className}` : ""].filter(Boolean).join(" ")
|
|
496
|
+
);
|
|
497
|
+
M.filter((t) => t.sourceStrategy === "outsource").append("circle").attr("class", "wardley-outsource-overlay").attr("cx", (t) => c.get(t.id).x).attr("cy", (t) => c.get(t.id).y).attr("r", a.nodeRadius * 2).attr("fill", "#666").attr("stroke", l.componentStroke).attr("stroke-width", 1), M.filter((t) => t.sourceStrategy === "buy").append("circle").attr("class", "wardley-buy-overlay").attr("cx", (t) => c.get(t.id).x).attr("cy", (t) => c.get(t.id).y).attr("r", a.nodeRadius * 2).attr("fill", "#ccc").attr("stroke", l.componentStroke).attr("stroke-width", 1), M.filter((t) => t.sourceStrategy === "build").append("circle").attr("class", "wardley-build-overlay").attr("cx", (t) => c.get(t.id).x).attr("cy", (t) => c.get(t.id).y).attr("r", a.nodeRadius * 2).attr("fill", "#eee").attr("stroke", "#000").attr("stroke-width", 1);
|
|
498
|
+
const L = M.filter((t) => t.sourceStrategy === "market");
|
|
499
|
+
L.append("circle").attr("class", "wardley-market-overlay").attr("cx", (t) => c.get(t.id).x).attr("cy", (t) => c.get(t.id).y).attr("r", a.nodeRadius * 2).attr("fill", "white").attr("stroke", l.componentStroke).attr("stroke-width", 1), M.filter(
|
|
500
|
+
(t) => !t.isPipelineParent && t.sourceStrategy !== "market" && t.className !== "anchor"
|
|
501
|
+
).append("circle").attr("cx", (t) => c.get(t.id).x).attr("cy", (t) => c.get(t.id).y).attr("r", a.nodeRadius).attr("fill", l.componentFill).attr("stroke", l.componentStroke).attr("stroke-width", 1);
|
|
502
|
+
const q = a.nodeRadius * 0.7, $ = a.nodeRadius * 1.2;
|
|
503
|
+
if (L.append("line").attr("class", "wardley-market-line").attr("x1", (t) => c.get(t.id).x).attr("y1", (t) => c.get(t.id).y - $).attr("x2", (t) => c.get(t.id).x - $ * Math.cos(Math.PI / 6)).attr("y2", (t) => c.get(t.id).y + $ * Math.sin(Math.PI / 6)).attr("stroke", l.componentStroke).attr("stroke-width", 1), L.append("line").attr("class", "wardley-market-line").attr("x1", (t) => c.get(t.id).x - $ * Math.cos(Math.PI / 6)).attr("y1", (t) => c.get(t.id).y + $ * Math.sin(Math.PI / 6)).attr("x2", (t) => c.get(t.id).x + $ * Math.cos(Math.PI / 6)).attr("y2", (t) => c.get(t.id).y + $ * Math.sin(Math.PI / 6)).attr("stroke", l.componentStroke).attr("stroke-width", 1), L.append("line").attr("class", "wardley-market-line").attr("x1", (t) => c.get(t.id).x + $ * Math.cos(Math.PI / 6)).attr("y1", (t) => c.get(t.id).y + $ * Math.sin(Math.PI / 6)).attr("x2", (t) => c.get(t.id).x).attr("y2", (t) => c.get(t.id).y - $).attr("stroke", l.componentStroke).attr("stroke-width", 1), L.append("circle").attr("class", "wardley-market-dot").attr("cx", (t) => c.get(t.id).x).attr("cy", (t) => c.get(t.id).y - $).attr("r", q).attr("fill", "white").attr("stroke", l.componentStroke).attr("stroke-width", 2), L.append("circle").attr("class", "wardley-market-dot").attr("cx", (t) => c.get(t.id).x - $ * Math.cos(Math.PI / 6)).attr("cy", (t) => c.get(t.id).y + $ * Math.sin(Math.PI / 6)).attr("r", q).attr("fill", "white").attr("stroke", l.componentStroke).attr("stroke-width", 2), L.append("circle").attr("class", "wardley-market-dot").attr("cx", (t) => c.get(t.id).x + $ * Math.cos(Math.PI / 6)).attr("cy", (t) => c.get(t.id).y + $ * Math.sin(Math.PI / 6)).attr("r", q).attr("fill", "white").attr("stroke", l.componentStroke).attr("stroke-width", 2), M.filter((t) => t.isPipelineParent === !0).append("rect").attr("x", (t) => c.get(t.id).x - w / 2).attr("y", (t) => c.get(t.id).y - w / 2).attr("width", w).attr("height", w).attr("fill", l.componentFill).attr("stroke", l.componentStroke).attr("stroke-width", 1), M.filter((t) => t.inertia === !0).append("line").attr("class", "wardley-inertia").attr("x1", (t) => {
|
|
504
|
+
const s = c.get(t.id);
|
|
505
|
+
let o = t.isPipelineParent ? w / 2 + 15 : a.nodeRadius + 15;
|
|
506
|
+
return t.sourceStrategy && (o += a.nodeRadius + 10), s.x + o;
|
|
507
|
+
}).attr("y1", (t) => {
|
|
508
|
+
const s = c.get(t.id), o = t.isPipelineParent ? w : a.nodeRadius * 2;
|
|
509
|
+
return s.y - o / 2;
|
|
510
|
+
}).attr("x2", (t) => {
|
|
511
|
+
const s = c.get(t.id);
|
|
512
|
+
let o = t.isPipelineParent ? w / 2 + 15 : a.nodeRadius + 15;
|
|
513
|
+
return t.sourceStrategy && (o += a.nodeRadius + 10), s.x + o;
|
|
514
|
+
}).attr("y2", (t) => {
|
|
515
|
+
const s = c.get(t.id), o = t.isPipelineParent ? w : a.nodeRadius * 2;
|
|
516
|
+
return s.y + o / 2;
|
|
517
|
+
}).attr("stroke", l.componentStroke).attr("stroke-width", 6), M.append("text").attr("x", (t) => {
|
|
518
|
+
const s = c.get(t.id);
|
|
519
|
+
if (t.className === "anchor")
|
|
520
|
+
return t.labelOffsetX !== void 0 ? s.x + t.labelOffsetX : s.x;
|
|
521
|
+
let o = a.nodeLabelOffset;
|
|
522
|
+
t.sourceStrategy && t.labelOffsetX === void 0 && (o += 10);
|
|
523
|
+
const i = t.labelOffsetX ?? o;
|
|
524
|
+
return s.x + i;
|
|
525
|
+
}).attr("y", (t) => {
|
|
526
|
+
const s = c.get(t.id);
|
|
527
|
+
if (t.className === "anchor")
|
|
528
|
+
return t.labelOffsetY !== void 0 ? s.y + t.labelOffsetY : s.y - 3;
|
|
529
|
+
let o = -a.nodeLabelOffset;
|
|
530
|
+
t.sourceStrategy && t.labelOffsetY === void 0 && (o -= 10);
|
|
531
|
+
const i = t.labelOffsetY ?? o;
|
|
532
|
+
return s.y + i;
|
|
533
|
+
}).attr("class", "wardley-node-label").attr("fill", (t) => t.className === "evolved" ? l.evolutionStroke : t.className === "anchor" ? "#000" : l.componentLabelColor).attr("font-size", a.labelFontSize).attr("font-weight", (t) => t.className === "anchor" ? "bold" : "normal").attr("text-anchor", (t) => t.className === "anchor" ? "middle" : "start").attr("dominant-baseline", (t) => t.className === "anchor" ? "middle" : "auto").text((t) => t.label), g.annotations.length > 0) {
|
|
534
|
+
const t = v.append("g").attr("class", "wardley-annotations");
|
|
535
|
+
if (g.annotations.forEach((s) => {
|
|
536
|
+
const o = s.coordinates.map((i) => ({
|
|
537
|
+
x: T(i.x),
|
|
538
|
+
y: z(i.y)
|
|
539
|
+
}));
|
|
540
|
+
if (o.length > 1)
|
|
541
|
+
for (let i = 0; i < o.length - 1; i++)
|
|
542
|
+
t.append("line").attr("class", "wardley-annotation-line").attr("x1", o[i].x).attr("y1", o[i].y).attr("x2", o[i + 1].x).attr("y2", o[i + 1].y).attr("stroke", l.axisColor).attr("stroke-width", 1.5).attr("stroke-dasharray", "4 4");
|
|
543
|
+
o.forEach((i) => {
|
|
544
|
+
const p = t.append("g").attr("class", "wardley-annotation");
|
|
545
|
+
p.append("circle").attr("cx", i.x).attr("cy", i.y).attr("r", 10).attr("fill", "white").attr("stroke", l.axisColor).attr("stroke-width", 1.5), p.append("text").attr("x", i.x).attr("y", i.y).attr("text-anchor", "middle").attr("dominant-baseline", "central").attr("font-size", 10).attr("fill", l.axisTextColor).attr("font-weight", "bold").text(s.number);
|
|
546
|
+
});
|
|
547
|
+
}), g.annotationsBox) {
|
|
548
|
+
let s = T(g.annotationsBox.x), o = z(g.annotationsBox.y);
|
|
549
|
+
const i = 10, p = 16, d = 11, h = t.append("g").attr("class", "wardley-annotations-box"), f = [...g.annotations].filter((m) => m.text).sort((m, P) => m.number - P.number), y = [];
|
|
550
|
+
if (f.forEach((m, P) => {
|
|
551
|
+
const N = h.append("text").attr("x", s + i).attr("y", o + i + (P + 1) * p).attr("font-size", d).attr("fill", l.axisTextColor).attr("text-anchor", "start").attr("dominant-baseline", "middle").text(`${m.number}. ${m.text}`);
|
|
552
|
+
y.push(N);
|
|
553
|
+
}), y.length > 0) {
|
|
554
|
+
let m = 0, P = 0;
|
|
555
|
+
y.forEach((H) => {
|
|
556
|
+
const W = H.node(), Pt = W.getComputedTextLength();
|
|
557
|
+
m = Math.max(m, Pt);
|
|
558
|
+
const Ct = W.getBBox();
|
|
559
|
+
P = Math.max(P, Ct.height);
|
|
560
|
+
});
|
|
561
|
+
const N = m + i * 2 + 105, O = f.length * p + i * 2 + P / 2, X = a.padding, kt = S - a.padding - N, $t = a.padding, vt = k - a.padding - O;
|
|
562
|
+
s = Math.max(X, Math.min(s, kt)), o = Math.max($t, Math.min(o, vt)), y.forEach((H, W) => {
|
|
563
|
+
H.attr("x", s + i).attr("y", o + i + (W + 1) * p);
|
|
564
|
+
}), h.insert("rect", "text").attr("x", s).attr("y", o).attr("width", N).attr("height", O).attr("fill", "white").attr("stroke", l.axisColor).attr("stroke-width", 1.5).attr("rx", 4).attr("ry", 4);
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
if (g.notes.length > 0) {
|
|
569
|
+
const t = v.append("g").attr("class", "wardley-notes");
|
|
570
|
+
g.notes.forEach((s) => {
|
|
571
|
+
const o = T(s.x), i = z(s.y);
|
|
572
|
+
t.append("text").attr("x", o).attr("y", i).attr("text-anchor", "start").attr("font-size", 11).attr("fill", l.axisTextColor).attr("font-weight", "bold").text(s.text);
|
|
573
|
+
});
|
|
574
|
+
}
|
|
575
|
+
if (g.accelerators.length > 0) {
|
|
576
|
+
const t = v.append("g").attr("class", "wardley-accelerators");
|
|
577
|
+
g.accelerators.forEach((s) => {
|
|
578
|
+
const o = T(s.x), i = z(s.y), p = 60, d = 30, h = 20, f = `
|
|
579
|
+
M ${o} ${i - d / 2}
|
|
580
|
+
L ${o + p - h} ${i - d / 2}
|
|
581
|
+
L ${o + p - h} ${i - d / 2 - 8}
|
|
582
|
+
L ${o + p} ${i}
|
|
583
|
+
L ${o + p - h} ${i + d / 2 + 8}
|
|
584
|
+
L ${o + p - h} ${i + d / 2}
|
|
585
|
+
L ${o} ${i + d / 2}
|
|
586
|
+
Z
|
|
587
|
+
`;
|
|
588
|
+
t.append("path").attr("d", f).attr("fill", "white").attr("stroke", l.componentStroke).attr("stroke-width", 1), t.append("text").attr("x", o + p / 2).attr("y", i + d / 2 + 15).attr("text-anchor", "middle").attr("font-size", 10).attr("fill", l.axisTextColor).attr("font-weight", "bold").text(s.name);
|
|
589
|
+
});
|
|
590
|
+
}
|
|
591
|
+
if (g.deaccelerators.length > 0) {
|
|
592
|
+
const t = v.append("g").attr("class", "wardley-deaccelerators");
|
|
593
|
+
g.deaccelerators.forEach((s) => {
|
|
594
|
+
const o = T(s.x), i = z(s.y), p = 60, d = 30, h = 20, f = `
|
|
595
|
+
M ${o + p} ${i - d / 2}
|
|
596
|
+
L ${o + h} ${i - d / 2}
|
|
597
|
+
L ${o + h} ${i - d / 2 - 8}
|
|
598
|
+
L ${o} ${i}
|
|
599
|
+
L ${o + h} ${i + d / 2 + 8}
|
|
600
|
+
L ${o + h} ${i + d / 2}
|
|
601
|
+
L ${o + p} ${i + d / 2}
|
|
602
|
+
Z
|
|
603
|
+
`;
|
|
604
|
+
t.append("path").attr("d", f).attr("fill", "white").attr("stroke", l.componentStroke).attr("stroke-width", 1), t.append("text").attr("x", o + p / 2).attr("y", i + d / 2 + 15).attr("text-anchor", "middle").attr("font-size", 10).attr("fill", l.axisTextColor).attr("font-weight", "bold").text(s.name);
|
|
605
|
+
});
|
|
606
|
+
}
|
|
607
|
+
}, "draw"), Vt = {
|
|
608
|
+
draw: jt
|
|
609
|
+
}, _t = /* @__PURE__ */ u(({
|
|
610
|
+
wardley: e
|
|
611
|
+
} = {}) => {
|
|
612
|
+
const n = At(), r = Xt(), x = U(n, r.themeVariables), a = U(x.wardley, e);
|
|
613
|
+
return `
|
|
614
|
+
.wardley-background {
|
|
615
|
+
fill: ${a.backgroundColor};
|
|
616
|
+
}
|
|
617
|
+
.wardley-axes line, .wardley-axes path {
|
|
618
|
+
stroke: ${a.axisColor};
|
|
619
|
+
}
|
|
620
|
+
.wardley-axis-label {
|
|
621
|
+
fill: ${a.axisTextColor};
|
|
622
|
+
}
|
|
623
|
+
.wardley-stage-label {
|
|
624
|
+
fill: ${a.axisTextColor};
|
|
625
|
+
}
|
|
626
|
+
.wardley-grid line {
|
|
627
|
+
stroke: ${a.gridColor};
|
|
628
|
+
}
|
|
629
|
+
.wardley-node circle {
|
|
630
|
+
fill: ${a.componentFill};
|
|
631
|
+
stroke: ${a.componentStroke};
|
|
632
|
+
}
|
|
633
|
+
.wardley-node-label {
|
|
634
|
+
fill: ${a.componentLabelColor};
|
|
635
|
+
}
|
|
636
|
+
.wardley-link {
|
|
637
|
+
stroke: ${a.linkStroke};
|
|
638
|
+
}
|
|
639
|
+
.wardley-link--dashed {
|
|
640
|
+
stroke-dasharray: 4 4;
|
|
641
|
+
}
|
|
642
|
+
.wardley-link-label {
|
|
643
|
+
fill: ${a.axisTextColor};
|
|
644
|
+
}
|
|
645
|
+
.wardley-trend line {
|
|
646
|
+
stroke: ${a.evolutionStroke};
|
|
647
|
+
}
|
|
648
|
+
.wardley-annotation-line {
|
|
649
|
+
stroke: ${a.annotationStroke};
|
|
650
|
+
}
|
|
651
|
+
.wardley-annotation circle {
|
|
652
|
+
fill: ${a.annotationFill};
|
|
653
|
+
stroke: ${a.annotationStroke};
|
|
654
|
+
}
|
|
655
|
+
.wardley-annotation text {
|
|
656
|
+
fill: ${a.annotationTextColor};
|
|
657
|
+
}
|
|
658
|
+
.wardley-annotations-box rect {
|
|
659
|
+
fill: ${a.annotationFill};
|
|
660
|
+
stroke: ${a.annotationStroke};
|
|
661
|
+
}
|
|
662
|
+
.wardley-annotations-box text {
|
|
663
|
+
fill: ${a.annotationTextColor};
|
|
664
|
+
}
|
|
665
|
+
.wardley-pipeline-box {
|
|
666
|
+
stroke: ${a.componentStroke};
|
|
667
|
+
}
|
|
668
|
+
.wardley-notes text {
|
|
669
|
+
fill: ${a.axisTextColor};
|
|
670
|
+
}
|
|
671
|
+
`;
|
|
672
|
+
}, "styles"), Qt = {
|
|
673
|
+
parser: Q,
|
|
674
|
+
db: Dt,
|
|
675
|
+
renderer: Vt,
|
|
676
|
+
styles: _t
|
|
677
|
+
};
|
|
678
|
+
export {
|
|
679
|
+
Qt as diagram
|
|
680
|
+
};
|
|
681
|
+
//# sourceMappingURL=wardleyDiagram-YWT4CUSO-Uu5KXQum.js.map
|