@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,833 @@
|
|
|
1
|
+
import { g as oe } from "./chunk-55IACEB6-XfJuuv6Y.js";
|
|
2
|
+
import { s as ae } from "./chunk-2J33WTMH-CGaAxoSO.js";
|
|
3
|
+
import { _ as l, l as C, p as ce, r as le, G as he, K as G, c as B, i as F, b6 as de, af as ge, ag as ue, ah as pe } from "./mermaid-GHXKKRXX-C5Y3BZXR.js";
|
|
4
|
+
globalThis.process = globalThis.process || { env: {} };
|
|
5
|
+
globalThis.global = globalThis.global || globalThis;
|
|
6
|
+
const b = [];
|
|
7
|
+
for (let e = 0; e < 256; ++e)
|
|
8
|
+
b.push((e + 256).toString(16).slice(1));
|
|
9
|
+
function fe(e, n = 0) {
|
|
10
|
+
return (b[e[n + 0]] + b[e[n + 1]] + b[e[n + 2]] + b[e[n + 3]] + "-" + b[e[n + 4]] + b[e[n + 5]] + "-" + b[e[n + 6]] + b[e[n + 7]] + "-" + b[e[n + 8]] + b[e[n + 9]] + "-" + b[e[n + 10]] + b[e[n + 11]] + b[e[n + 12]] + b[e[n + 13]] + b[e[n + 14]] + b[e[n + 15]]).toLowerCase();
|
|
11
|
+
}
|
|
12
|
+
const me = new Uint8Array(16);
|
|
13
|
+
function ye() {
|
|
14
|
+
return crypto.getRandomValues(me);
|
|
15
|
+
}
|
|
16
|
+
function be(e, n, g) {
|
|
17
|
+
return crypto.randomUUID ? crypto.randomUUID() : Ee(e);
|
|
18
|
+
}
|
|
19
|
+
function Ee(e, n, g) {
|
|
20
|
+
e = e || {};
|
|
21
|
+
const a = e.random ?? e.rng?.() ?? ye();
|
|
22
|
+
if (a.length < 16)
|
|
23
|
+
throw new Error("Random bytes length must be >= 16");
|
|
24
|
+
return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, fe(a);
|
|
25
|
+
}
|
|
26
|
+
var Y = (function() {
|
|
27
|
+
var e = /* @__PURE__ */ l(function(D, s, i, o) {
|
|
28
|
+
for (i = i || {}, o = D.length; o--; i[D[o]] = s) ;
|
|
29
|
+
return i;
|
|
30
|
+
}, "o"), n = [1, 4], g = [1, 13], a = [1, 12], t = [1, 15], h = [1, 16], f = [1, 20], m = [1, 19], E = [6, 7, 8], v = [1, 26], I = [1, 24], w = [1, 25], d = [6, 7, 11], R = [1, 6, 13, 15, 16, 19, 22], K = [1, 33], q = [1, 34], A = [1, 6, 7, 11, 13, 15, 16, 19, 22], j = {
|
|
31
|
+
trace: /* @__PURE__ */ l(function() {
|
|
32
|
+
}, "trace"),
|
|
33
|
+
yy: {},
|
|
34
|
+
symbols_: { error: 2, start: 3, mindMap: 4, spaceLines: 5, SPACELINE: 6, NL: 7, MINDMAP: 8, document: 9, stop: 10, EOF: 11, statement: 12, SPACELIST: 13, node: 14, ICON: 15, CLASS: 16, nodeWithId: 17, nodeWithoutId: 18, NODE_DSTART: 19, NODE_DESCR: 20, NODE_DEND: 21, NODE_ID: 22, $accept: 0, $end: 1 },
|
|
35
|
+
terminals_: { 2: "error", 6: "SPACELINE", 7: "NL", 8: "MINDMAP", 11: "EOF", 13: "SPACELIST", 15: "ICON", 16: "CLASS", 19: "NODE_DSTART", 20: "NODE_DESCR", 21: "NODE_DEND", 22: "NODE_ID" },
|
|
36
|
+
productions_: [0, [3, 1], [3, 2], [5, 1], [5, 2], [5, 2], [4, 2], [4, 3], [10, 1], [10, 1], [10, 1], [10, 2], [10, 2], [9, 3], [9, 2], [12, 2], [12, 2], [12, 2], [12, 1], [12, 1], [12, 1], [12, 1], [12, 1], [14, 1], [14, 1], [18, 3], [17, 1], [17, 4]],
|
|
37
|
+
performAction: /* @__PURE__ */ l(function(s, i, o, c, p, r, $) {
|
|
38
|
+
var u = r.length - 1;
|
|
39
|
+
switch (p) {
|
|
40
|
+
case 6:
|
|
41
|
+
case 7:
|
|
42
|
+
return c;
|
|
43
|
+
case 8:
|
|
44
|
+
c.getLogger().trace("Stop NL ");
|
|
45
|
+
break;
|
|
46
|
+
case 9:
|
|
47
|
+
c.getLogger().trace("Stop EOF ");
|
|
48
|
+
break;
|
|
49
|
+
case 11:
|
|
50
|
+
c.getLogger().trace("Stop NL2 ");
|
|
51
|
+
break;
|
|
52
|
+
case 12:
|
|
53
|
+
c.getLogger().trace("Stop EOF2 ");
|
|
54
|
+
break;
|
|
55
|
+
case 15:
|
|
56
|
+
c.getLogger().info("Node: ", r[u].id), c.addNode(r[u - 1].length, r[u].id, r[u].descr, r[u].type);
|
|
57
|
+
break;
|
|
58
|
+
case 16:
|
|
59
|
+
c.getLogger().trace("Icon: ", r[u]), c.decorateNode({ icon: r[u] });
|
|
60
|
+
break;
|
|
61
|
+
case 17:
|
|
62
|
+
case 21:
|
|
63
|
+
c.decorateNode({ class: r[u] });
|
|
64
|
+
break;
|
|
65
|
+
case 18:
|
|
66
|
+
c.getLogger().trace("SPACELIST");
|
|
67
|
+
break;
|
|
68
|
+
case 19:
|
|
69
|
+
c.getLogger().trace("Node: ", r[u].id), c.addNode(0, r[u].id, r[u].descr, r[u].type);
|
|
70
|
+
break;
|
|
71
|
+
case 20:
|
|
72
|
+
c.decorateNode({ icon: r[u] });
|
|
73
|
+
break;
|
|
74
|
+
case 25:
|
|
75
|
+
c.getLogger().trace("node found ..", r[u - 2]), this.$ = { id: r[u - 1], descr: r[u - 1], type: c.getType(r[u - 2], r[u]) };
|
|
76
|
+
break;
|
|
77
|
+
case 26:
|
|
78
|
+
this.$ = { id: r[u], descr: r[u], type: c.nodeType.DEFAULT };
|
|
79
|
+
break;
|
|
80
|
+
case 27:
|
|
81
|
+
c.getLogger().trace("node found ..", r[u - 3]), this.$ = { id: r[u - 3], descr: r[u - 1], type: c.getType(r[u - 2], r[u]) };
|
|
82
|
+
break;
|
|
83
|
+
}
|
|
84
|
+
}, "anonymous"),
|
|
85
|
+
table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: n }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: n }, { 6: g, 7: [1, 10], 9: 9, 12: 11, 13: a, 14: 14, 15: t, 16: h, 17: 17, 18: 18, 19: f, 22: m }, e(E, [2, 3]), { 1: [2, 2] }, e(E, [2, 4]), e(E, [2, 5]), { 1: [2, 6], 6: g, 12: 21, 13: a, 14: 14, 15: t, 16: h, 17: 17, 18: 18, 19: f, 22: m }, { 6: g, 9: 22, 12: 11, 13: a, 14: 14, 15: t, 16: h, 17: 17, 18: 18, 19: f, 22: m }, { 6: v, 7: I, 10: 23, 11: w }, e(d, [2, 22], { 17: 17, 18: 18, 14: 27, 15: [1, 28], 16: [1, 29], 19: f, 22: m }), e(d, [2, 18]), e(d, [2, 19]), e(d, [2, 20]), e(d, [2, 21]), e(d, [2, 23]), e(d, [2, 24]), e(d, [2, 26], { 19: [1, 30] }), { 20: [1, 31] }, { 6: v, 7: I, 10: 32, 11: w }, { 1: [2, 7], 6: g, 12: 21, 13: a, 14: 14, 15: t, 16: h, 17: 17, 18: 18, 19: f, 22: m }, e(R, [2, 14], { 7: K, 11: q }), e(A, [2, 8]), e(A, [2, 9]), e(A, [2, 10]), e(d, [2, 15]), e(d, [2, 16]), e(d, [2, 17]), { 20: [1, 35] }, { 21: [1, 36] }, e(R, [2, 13], { 7: K, 11: q }), e(A, [2, 11]), e(A, [2, 12]), { 21: [1, 37] }, e(d, [2, 25]), e(d, [2, 27])],
|
|
86
|
+
defaultActions: { 2: [2, 1], 6: [2, 2] },
|
|
87
|
+
parseError: /* @__PURE__ */ l(function(s, i) {
|
|
88
|
+
if (i.recoverable)
|
|
89
|
+
this.trace(s);
|
|
90
|
+
else {
|
|
91
|
+
var o = new Error(s);
|
|
92
|
+
throw o.hash = i, o;
|
|
93
|
+
}
|
|
94
|
+
}, "parseError"),
|
|
95
|
+
parse: /* @__PURE__ */ l(function(s) {
|
|
96
|
+
var i = this, o = [0], c = [], p = [null], r = [], $ = this.table, u = "", M = 0, J = 0, ne = 2, Q = 1, ie = r.slice.call(arguments, 1), y = Object.create(this.lexer), L = { yy: {} };
|
|
97
|
+
for (var H in this.yy)
|
|
98
|
+
Object.prototype.hasOwnProperty.call(this.yy, H) && (L.yy[H] = this.yy[H]);
|
|
99
|
+
y.setInput(s, L.yy), L.yy.lexer = y, L.yy.parser = this, typeof y.yylloc > "u" && (y.yylloc = {});
|
|
100
|
+
var W = y.yylloc;
|
|
101
|
+
r.push(W);
|
|
102
|
+
var se = y.options && y.options.ranges;
|
|
103
|
+
typeof L.yy.parseError == "function" ? this.parseError = L.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
104
|
+
function re(k) {
|
|
105
|
+
o.length = o.length - 2 * k, p.length = p.length - k, r.length = r.length - k;
|
|
106
|
+
}
|
|
107
|
+
l(re, "popStack");
|
|
108
|
+
function Z() {
|
|
109
|
+
var k;
|
|
110
|
+
return k = c.pop() || y.lex() || Q, typeof k != "number" && (k instanceof Array && (c = k, k = c.pop()), k = i.symbols_[k] || k), k;
|
|
111
|
+
}
|
|
112
|
+
l(Z, "lex");
|
|
113
|
+
for (var _, T, S, z, O = {}, U, x, ee, V; ; ) {
|
|
114
|
+
if (T = o[o.length - 1], this.defaultActions[T] ? S = this.defaultActions[T] : ((_ === null || typeof _ > "u") && (_ = Z()), S = $[T] && $[T][_]), typeof S > "u" || !S.length || !S[0]) {
|
|
115
|
+
var X = "";
|
|
116
|
+
V = [];
|
|
117
|
+
for (U in $[T])
|
|
118
|
+
this.terminals_[U] && U > ne && V.push("'" + this.terminals_[U] + "'");
|
|
119
|
+
y.showPosition ? X = "Parse error on line " + (M + 1) + `:
|
|
120
|
+
` + y.showPosition() + `
|
|
121
|
+
Expecting ` + V.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : X = "Parse error on line " + (M + 1) + ": Unexpected " + (_ == Q ? "end of input" : "'" + (this.terminals_[_] || _) + "'"), this.parseError(X, {
|
|
122
|
+
text: y.match,
|
|
123
|
+
token: this.terminals_[_] || _,
|
|
124
|
+
line: y.yylineno,
|
|
125
|
+
loc: W,
|
|
126
|
+
expected: V
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
if (S[0] instanceof Array && S.length > 1)
|
|
130
|
+
throw new Error("Parse Error: multiple actions possible at state: " + T + ", token: " + _);
|
|
131
|
+
switch (S[0]) {
|
|
132
|
+
case 1:
|
|
133
|
+
o.push(_), p.push(y.yytext), r.push(y.yylloc), o.push(S[1]), _ = null, J = y.yyleng, u = y.yytext, M = y.yylineno, W = y.yylloc;
|
|
134
|
+
break;
|
|
135
|
+
case 2:
|
|
136
|
+
if (x = this.productions_[S[1]][1], O.$ = p[p.length - x], O._$ = {
|
|
137
|
+
first_line: r[r.length - (x || 1)].first_line,
|
|
138
|
+
last_line: r[r.length - 1].last_line,
|
|
139
|
+
first_column: r[r.length - (x || 1)].first_column,
|
|
140
|
+
last_column: r[r.length - 1].last_column
|
|
141
|
+
}, se && (O._$.range = [
|
|
142
|
+
r[r.length - (x || 1)].range[0],
|
|
143
|
+
r[r.length - 1].range[1]
|
|
144
|
+
]), z = this.performAction.apply(O, [
|
|
145
|
+
u,
|
|
146
|
+
J,
|
|
147
|
+
M,
|
|
148
|
+
L.yy,
|
|
149
|
+
S[1],
|
|
150
|
+
p,
|
|
151
|
+
r
|
|
152
|
+
].concat(ie)), typeof z < "u")
|
|
153
|
+
return z;
|
|
154
|
+
x && (o = o.slice(0, -1 * x * 2), p = p.slice(0, -1 * x), r = r.slice(0, -1 * x)), o.push(this.productions_[S[1]][0]), p.push(O.$), r.push(O._$), ee = $[o[o.length - 2]][o[o.length - 1]], o.push(ee);
|
|
155
|
+
break;
|
|
156
|
+
case 3:
|
|
157
|
+
return !0;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
return !0;
|
|
161
|
+
}, "parse")
|
|
162
|
+
}, te = /* @__PURE__ */ (function() {
|
|
163
|
+
var D = {
|
|
164
|
+
EOF: 1,
|
|
165
|
+
parseError: /* @__PURE__ */ l(function(i, o) {
|
|
166
|
+
if (this.yy.parser)
|
|
167
|
+
this.yy.parser.parseError(i, o);
|
|
168
|
+
else
|
|
169
|
+
throw new Error(i);
|
|
170
|
+
}, "parseError"),
|
|
171
|
+
// resets the lexer, sets new input
|
|
172
|
+
setInput: /* @__PURE__ */ l(function(s, i) {
|
|
173
|
+
return this.yy = i || this.yy || {}, this._input = s, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
174
|
+
first_line: 1,
|
|
175
|
+
first_column: 0,
|
|
176
|
+
last_line: 1,
|
|
177
|
+
last_column: 0
|
|
178
|
+
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
179
|
+
}, "setInput"),
|
|
180
|
+
// consumes and returns one char from the input
|
|
181
|
+
input: /* @__PURE__ */ l(function() {
|
|
182
|
+
var s = this._input[0];
|
|
183
|
+
this.yytext += s, this.yyleng++, this.offset++, this.match += s, this.matched += s;
|
|
184
|
+
var i = s.match(/(?:\r\n?|\n).*/g);
|
|
185
|
+
return i ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), s;
|
|
186
|
+
}, "input"),
|
|
187
|
+
// unshifts one char (or a string) into the input
|
|
188
|
+
unput: /* @__PURE__ */ l(function(s) {
|
|
189
|
+
var i = s.length, o = s.split(/(?:\r\n?|\n)/g);
|
|
190
|
+
this._input = s + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - i), this.offset -= i;
|
|
191
|
+
var c = this.match.split(/(?:\r\n?|\n)/g);
|
|
192
|
+
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), o.length - 1 && (this.yylineno -= o.length - 1);
|
|
193
|
+
var p = this.yylloc.range;
|
|
194
|
+
return this.yylloc = {
|
|
195
|
+
first_line: this.yylloc.first_line,
|
|
196
|
+
last_line: this.yylineno + 1,
|
|
197
|
+
first_column: this.yylloc.first_column,
|
|
198
|
+
last_column: o ? (o.length === c.length ? this.yylloc.first_column : 0) + c[c.length - o.length].length - o[0].length : this.yylloc.first_column - i
|
|
199
|
+
}, this.options.ranges && (this.yylloc.range = [p[0], p[0] + this.yyleng - i]), this.yyleng = this.yytext.length, this;
|
|
200
|
+
}, "unput"),
|
|
201
|
+
// When called from action, caches matched text and appends it on next action
|
|
202
|
+
more: /* @__PURE__ */ l(function() {
|
|
203
|
+
return this._more = !0, this;
|
|
204
|
+
}, "more"),
|
|
205
|
+
// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
|
|
206
|
+
reject: /* @__PURE__ */ l(function() {
|
|
207
|
+
if (this.options.backtrack_lexer)
|
|
208
|
+
this._backtrack = !0;
|
|
209
|
+
else
|
|
210
|
+
return this.parseError("Lexical error on line " + (this.yylineno + 1) + `. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
211
|
+
` + this.showPosition(), {
|
|
212
|
+
text: "",
|
|
213
|
+
token: null,
|
|
214
|
+
line: this.yylineno
|
|
215
|
+
});
|
|
216
|
+
return this;
|
|
217
|
+
}, "reject"),
|
|
218
|
+
// retain first n characters of the match
|
|
219
|
+
less: /* @__PURE__ */ l(function(s) {
|
|
220
|
+
this.unput(this.match.slice(s));
|
|
221
|
+
}, "less"),
|
|
222
|
+
// displays already matched input, i.e. for error messages
|
|
223
|
+
pastInput: /* @__PURE__ */ l(function() {
|
|
224
|
+
var s = this.matched.substr(0, this.matched.length - this.match.length);
|
|
225
|
+
return (s.length > 20 ? "..." : "") + s.substr(-20).replace(/\n/g, "");
|
|
226
|
+
}, "pastInput"),
|
|
227
|
+
// displays upcoming input, i.e. for error messages
|
|
228
|
+
upcomingInput: /* @__PURE__ */ l(function() {
|
|
229
|
+
var s = this.match;
|
|
230
|
+
return s.length < 20 && (s += this._input.substr(0, 20 - s.length)), (s.substr(0, 20) + (s.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
231
|
+
}, "upcomingInput"),
|
|
232
|
+
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
233
|
+
showPosition: /* @__PURE__ */ l(function() {
|
|
234
|
+
var s = this.pastInput(), i = new Array(s.length + 1).join("-");
|
|
235
|
+
return s + this.upcomingInput() + `
|
|
236
|
+
` + i + "^";
|
|
237
|
+
}, "showPosition"),
|
|
238
|
+
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
239
|
+
test_match: /* @__PURE__ */ l(function(s, i) {
|
|
240
|
+
var o, c, p;
|
|
241
|
+
if (this.options.backtrack_lexer && (p = {
|
|
242
|
+
yylineno: this.yylineno,
|
|
243
|
+
yylloc: {
|
|
244
|
+
first_line: this.yylloc.first_line,
|
|
245
|
+
last_line: this.last_line,
|
|
246
|
+
first_column: this.yylloc.first_column,
|
|
247
|
+
last_column: this.yylloc.last_column
|
|
248
|
+
},
|
|
249
|
+
yytext: this.yytext,
|
|
250
|
+
match: this.match,
|
|
251
|
+
matches: this.matches,
|
|
252
|
+
matched: this.matched,
|
|
253
|
+
yyleng: this.yyleng,
|
|
254
|
+
offset: this.offset,
|
|
255
|
+
_more: this._more,
|
|
256
|
+
_input: this._input,
|
|
257
|
+
yy: this.yy,
|
|
258
|
+
conditionStack: this.conditionStack.slice(0),
|
|
259
|
+
done: this.done
|
|
260
|
+
}, this.options.ranges && (p.yylloc.range = this.yylloc.range.slice(0))), c = s[0].match(/(?:\r\n?|\n).*/g), c && (this.yylineno += c.length), this.yylloc = {
|
|
261
|
+
first_line: this.yylloc.last_line,
|
|
262
|
+
last_line: this.yylineno + 1,
|
|
263
|
+
first_column: this.yylloc.last_column,
|
|
264
|
+
last_column: c ? c[c.length - 1].length - c[c.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + s[0].length
|
|
265
|
+
}, this.yytext += s[0], this.match += s[0], this.matches = s, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(s[0].length), this.matched += s[0], o = this.performAction.call(this, this.yy, this, i, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), o)
|
|
266
|
+
return o;
|
|
267
|
+
if (this._backtrack) {
|
|
268
|
+
for (var r in p)
|
|
269
|
+
this[r] = p[r];
|
|
270
|
+
return !1;
|
|
271
|
+
}
|
|
272
|
+
return !1;
|
|
273
|
+
}, "test_match"),
|
|
274
|
+
// return next match in input
|
|
275
|
+
next: /* @__PURE__ */ l(function() {
|
|
276
|
+
if (this.done)
|
|
277
|
+
return this.EOF;
|
|
278
|
+
this._input || (this.done = !0);
|
|
279
|
+
var s, i, o, c;
|
|
280
|
+
this._more || (this.yytext = "", this.match = "");
|
|
281
|
+
for (var p = this._currentRules(), r = 0; r < p.length; r++)
|
|
282
|
+
if (o = this._input.match(this.rules[p[r]]), o && (!i || o[0].length > i[0].length)) {
|
|
283
|
+
if (i = o, c = r, this.options.backtrack_lexer) {
|
|
284
|
+
if (s = this.test_match(o, p[r]), s !== !1)
|
|
285
|
+
return s;
|
|
286
|
+
if (this._backtrack) {
|
|
287
|
+
i = !1;
|
|
288
|
+
continue;
|
|
289
|
+
} else
|
|
290
|
+
return !1;
|
|
291
|
+
} else if (!this.options.flex)
|
|
292
|
+
break;
|
|
293
|
+
}
|
|
294
|
+
return i ? (s = this.test_match(i, p[c]), s !== !1 ? s : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
295
|
+
` + this.showPosition(), {
|
|
296
|
+
text: "",
|
|
297
|
+
token: null,
|
|
298
|
+
line: this.yylineno
|
|
299
|
+
});
|
|
300
|
+
}, "next"),
|
|
301
|
+
// return next match that has a token
|
|
302
|
+
lex: /* @__PURE__ */ l(function() {
|
|
303
|
+
var i = this.next();
|
|
304
|
+
return i || this.lex();
|
|
305
|
+
}, "lex"),
|
|
306
|
+
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
|
|
307
|
+
begin: /* @__PURE__ */ l(function(i) {
|
|
308
|
+
this.conditionStack.push(i);
|
|
309
|
+
}, "begin"),
|
|
310
|
+
// pop the previously active lexer condition state off the condition stack
|
|
311
|
+
popState: /* @__PURE__ */ l(function() {
|
|
312
|
+
var i = this.conditionStack.length - 1;
|
|
313
|
+
return i > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
314
|
+
}, "popState"),
|
|
315
|
+
// produce the lexer rule set which is active for the currently active lexer condition state
|
|
316
|
+
_currentRules: /* @__PURE__ */ l(function() {
|
|
317
|
+
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
318
|
+
}, "_currentRules"),
|
|
319
|
+
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
|
|
320
|
+
topState: /* @__PURE__ */ l(function(i) {
|
|
321
|
+
return i = this.conditionStack.length - 1 - Math.abs(i || 0), i >= 0 ? this.conditionStack[i] : "INITIAL";
|
|
322
|
+
}, "topState"),
|
|
323
|
+
// alias for begin(condition)
|
|
324
|
+
pushState: /* @__PURE__ */ l(function(i) {
|
|
325
|
+
this.begin(i);
|
|
326
|
+
}, "pushState"),
|
|
327
|
+
// return the number of states currently on the stack
|
|
328
|
+
stateStackSize: /* @__PURE__ */ l(function() {
|
|
329
|
+
return this.conditionStack.length;
|
|
330
|
+
}, "stateStackSize"),
|
|
331
|
+
options: { "case-insensitive": !0 },
|
|
332
|
+
performAction: /* @__PURE__ */ l(function(i, o, c, p) {
|
|
333
|
+
switch (c) {
|
|
334
|
+
case 0:
|
|
335
|
+
return i.getLogger().trace("Found comment", o.yytext), 6;
|
|
336
|
+
case 1:
|
|
337
|
+
return 8;
|
|
338
|
+
case 2:
|
|
339
|
+
this.begin("CLASS");
|
|
340
|
+
break;
|
|
341
|
+
case 3:
|
|
342
|
+
return this.popState(), 16;
|
|
343
|
+
case 4:
|
|
344
|
+
this.popState();
|
|
345
|
+
break;
|
|
346
|
+
case 5:
|
|
347
|
+
i.getLogger().trace("Begin icon"), this.begin("ICON");
|
|
348
|
+
break;
|
|
349
|
+
case 6:
|
|
350
|
+
return i.getLogger().trace("SPACELINE"), 6;
|
|
351
|
+
case 7:
|
|
352
|
+
return 7;
|
|
353
|
+
case 8:
|
|
354
|
+
return 15;
|
|
355
|
+
case 9:
|
|
356
|
+
i.getLogger().trace("end icon"), this.popState();
|
|
357
|
+
break;
|
|
358
|
+
case 10:
|
|
359
|
+
return i.getLogger().trace("Exploding node"), this.begin("NODE"), 19;
|
|
360
|
+
case 11:
|
|
361
|
+
return i.getLogger().trace("Cloud"), this.begin("NODE"), 19;
|
|
362
|
+
case 12:
|
|
363
|
+
return i.getLogger().trace("Explosion Bang"), this.begin("NODE"), 19;
|
|
364
|
+
case 13:
|
|
365
|
+
return i.getLogger().trace("Cloud Bang"), this.begin("NODE"), 19;
|
|
366
|
+
case 14:
|
|
367
|
+
return this.begin("NODE"), 19;
|
|
368
|
+
case 15:
|
|
369
|
+
return this.begin("NODE"), 19;
|
|
370
|
+
case 16:
|
|
371
|
+
return this.begin("NODE"), 19;
|
|
372
|
+
case 17:
|
|
373
|
+
return this.begin("NODE"), 19;
|
|
374
|
+
case 18:
|
|
375
|
+
return 13;
|
|
376
|
+
case 19:
|
|
377
|
+
return 22;
|
|
378
|
+
case 20:
|
|
379
|
+
return 11;
|
|
380
|
+
case 21:
|
|
381
|
+
this.begin("NSTR2");
|
|
382
|
+
break;
|
|
383
|
+
case 22:
|
|
384
|
+
return "NODE_DESCR";
|
|
385
|
+
case 23:
|
|
386
|
+
this.popState();
|
|
387
|
+
break;
|
|
388
|
+
case 24:
|
|
389
|
+
i.getLogger().trace("Starting NSTR"), this.begin("NSTR");
|
|
390
|
+
break;
|
|
391
|
+
case 25:
|
|
392
|
+
return i.getLogger().trace("description:", o.yytext), "NODE_DESCR";
|
|
393
|
+
case 26:
|
|
394
|
+
this.popState();
|
|
395
|
+
break;
|
|
396
|
+
case 27:
|
|
397
|
+
return this.popState(), i.getLogger().trace("node end ))"), "NODE_DEND";
|
|
398
|
+
case 28:
|
|
399
|
+
return this.popState(), i.getLogger().trace("node end )"), "NODE_DEND";
|
|
400
|
+
case 29:
|
|
401
|
+
return this.popState(), i.getLogger().trace("node end ...", o.yytext), "NODE_DEND";
|
|
402
|
+
case 30:
|
|
403
|
+
return this.popState(), i.getLogger().trace("node end (("), "NODE_DEND";
|
|
404
|
+
case 31:
|
|
405
|
+
return this.popState(), i.getLogger().trace("node end (-"), "NODE_DEND";
|
|
406
|
+
case 32:
|
|
407
|
+
return this.popState(), i.getLogger().trace("node end (-"), "NODE_DEND";
|
|
408
|
+
case 33:
|
|
409
|
+
return this.popState(), i.getLogger().trace("node end (("), "NODE_DEND";
|
|
410
|
+
case 34:
|
|
411
|
+
return this.popState(), i.getLogger().trace("node end (("), "NODE_DEND";
|
|
412
|
+
case 35:
|
|
413
|
+
return i.getLogger().trace("Long description:", o.yytext), 20;
|
|
414
|
+
case 36:
|
|
415
|
+
return i.getLogger().trace("Long description:", o.yytext), 20;
|
|
416
|
+
}
|
|
417
|
+
}, "anonymous"),
|
|
418
|
+
rules: [/^(?:\s*%%.*)/i, /^(?:mindmap\b)/i, /^(?::::)/i, /^(?:.+)/i, /^(?:\n)/i, /^(?:::icon\()/i, /^(?:[\s]+[\n])/i, /^(?:[\n]+)/i, /^(?:[^\)]+)/i, /^(?:\))/i, /^(?:-\))/i, /^(?:\(-)/i, /^(?:\)\))/i, /^(?:\))/i, /^(?:\(\()/i, /^(?:\{\{)/i, /^(?:\()/i, /^(?:\[)/i, /^(?:[\s]+)/i, /^(?:[^\(\[\n\)\{\}]+)/i, /^(?:$)/i, /^(?:["][`])/i, /^(?:[^`"]+)/i, /^(?:[`]["])/i, /^(?:["])/i, /^(?:[^"]+)/i, /^(?:["])/i, /^(?:[\)]\))/i, /^(?:[\)])/i, /^(?:[\]])/i, /^(?:\}\})/i, /^(?:\(-)/i, /^(?:-\))/i, /^(?:\(\()/i, /^(?:\()/i, /^(?:[^\)\]\(\}]+)/i, /^(?:.+(?!\(\())/i],
|
|
419
|
+
conditions: { CLASS: { rules: [3, 4], inclusive: !1 }, ICON: { rules: [8, 9], inclusive: !1 }, NSTR2: { rules: [22, 23], inclusive: !1 }, NSTR: { rules: [25, 26], inclusive: !1 }, NODE: { rules: [21, 24, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 5, 6, 7, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], inclusive: !0 } }
|
|
420
|
+
};
|
|
421
|
+
return D;
|
|
422
|
+
})();
|
|
423
|
+
j.lexer = te;
|
|
424
|
+
function P() {
|
|
425
|
+
this.yy = {};
|
|
426
|
+
}
|
|
427
|
+
return l(P, "Parser"), P.prototype = j, j.Parser = P, new P();
|
|
428
|
+
})();
|
|
429
|
+
Y.parser = Y;
|
|
430
|
+
var _e = Y, ke = 12, N = {
|
|
431
|
+
DEFAULT: 0,
|
|
432
|
+
NO_BORDER: 0,
|
|
433
|
+
ROUNDED_RECT: 1,
|
|
434
|
+
RECT: 2,
|
|
435
|
+
CIRCLE: 3,
|
|
436
|
+
CLOUD: 4,
|
|
437
|
+
BANG: 5,
|
|
438
|
+
HEXAGON: 6
|
|
439
|
+
}, Se = class {
|
|
440
|
+
constructor() {
|
|
441
|
+
this.nodes = [], this.count = 0, this.elements = {}, this.getLogger = this.getLogger.bind(this), this.nodeType = N, this.clear(), this.getType = this.getType.bind(this), this.getElementById = this.getElementById.bind(this), this.getParent = this.getParent.bind(this), this.getMindmap = this.getMindmap.bind(this), this.addNode = this.addNode.bind(this), this.decorateNode = this.decorateNode.bind(this);
|
|
442
|
+
}
|
|
443
|
+
static {
|
|
444
|
+
l(this, "MindmapDB");
|
|
445
|
+
}
|
|
446
|
+
clear() {
|
|
447
|
+
this.nodes = [], this.count = 0, this.elements = {}, this.baseLevel = void 0;
|
|
448
|
+
}
|
|
449
|
+
getParent(e) {
|
|
450
|
+
for (let n = this.nodes.length - 1; n >= 0; n--)
|
|
451
|
+
if (this.nodes[n].level < e)
|
|
452
|
+
return this.nodes[n];
|
|
453
|
+
return null;
|
|
454
|
+
}
|
|
455
|
+
getMindmap() {
|
|
456
|
+
return this.nodes.length > 0 ? this.nodes[0] : null;
|
|
457
|
+
}
|
|
458
|
+
addNode(e, n, g, a) {
|
|
459
|
+
C.info("addNode", e, n, g, a);
|
|
460
|
+
let t = !1;
|
|
461
|
+
this.nodes.length === 0 ? (this.baseLevel = e, e = 0, t = !0) : this.baseLevel !== void 0 && (e = e - this.baseLevel, t = !1);
|
|
462
|
+
const h = B();
|
|
463
|
+
let f = h.mindmap?.padding ?? G.mindmap.padding;
|
|
464
|
+
switch (a) {
|
|
465
|
+
case this.nodeType.ROUNDED_RECT:
|
|
466
|
+
case this.nodeType.RECT:
|
|
467
|
+
case this.nodeType.HEXAGON:
|
|
468
|
+
f *= 2;
|
|
469
|
+
break;
|
|
470
|
+
}
|
|
471
|
+
const m = {
|
|
472
|
+
id: this.count++,
|
|
473
|
+
nodeId: F(n, h),
|
|
474
|
+
level: e,
|
|
475
|
+
descr: F(g, h),
|
|
476
|
+
type: a,
|
|
477
|
+
children: [],
|
|
478
|
+
width: h.mindmap?.maxNodeWidth ?? G.mindmap.maxNodeWidth,
|
|
479
|
+
padding: f,
|
|
480
|
+
isRoot: t
|
|
481
|
+
}, E = this.getParent(e);
|
|
482
|
+
if (E)
|
|
483
|
+
E.children.push(m), this.nodes.push(m);
|
|
484
|
+
else if (t)
|
|
485
|
+
this.nodes.push(m);
|
|
486
|
+
else
|
|
487
|
+
throw new Error(
|
|
488
|
+
`There can be only one root. No parent could be found for ("${m.descr}")`
|
|
489
|
+
);
|
|
490
|
+
}
|
|
491
|
+
getType(e, n) {
|
|
492
|
+
switch (C.debug("In get type", e, n), e) {
|
|
493
|
+
case "[":
|
|
494
|
+
return this.nodeType.RECT;
|
|
495
|
+
case "(":
|
|
496
|
+
return n === ")" ? this.nodeType.ROUNDED_RECT : this.nodeType.CLOUD;
|
|
497
|
+
case "((":
|
|
498
|
+
return this.nodeType.CIRCLE;
|
|
499
|
+
case ")":
|
|
500
|
+
return this.nodeType.CLOUD;
|
|
501
|
+
case "))":
|
|
502
|
+
return this.nodeType.BANG;
|
|
503
|
+
case "{{":
|
|
504
|
+
return this.nodeType.HEXAGON;
|
|
505
|
+
default:
|
|
506
|
+
return this.nodeType.DEFAULT;
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
setElementForId(e, n) {
|
|
510
|
+
this.elements[e] = n;
|
|
511
|
+
}
|
|
512
|
+
getElementById(e) {
|
|
513
|
+
return this.elements[e];
|
|
514
|
+
}
|
|
515
|
+
decorateNode(e) {
|
|
516
|
+
if (!e)
|
|
517
|
+
return;
|
|
518
|
+
const n = B(), g = this.nodes[this.nodes.length - 1];
|
|
519
|
+
e.icon && (g.icon = F(e.icon, n)), e.class && (g.class = F(e.class, n));
|
|
520
|
+
}
|
|
521
|
+
type2Str(e) {
|
|
522
|
+
switch (e) {
|
|
523
|
+
case this.nodeType.DEFAULT:
|
|
524
|
+
return "no-border";
|
|
525
|
+
case this.nodeType.RECT:
|
|
526
|
+
return "rect";
|
|
527
|
+
case this.nodeType.ROUNDED_RECT:
|
|
528
|
+
return "rounded-rect";
|
|
529
|
+
case this.nodeType.CIRCLE:
|
|
530
|
+
return "circle";
|
|
531
|
+
case this.nodeType.CLOUD:
|
|
532
|
+
return "cloud";
|
|
533
|
+
case this.nodeType.BANG:
|
|
534
|
+
return "bang";
|
|
535
|
+
case this.nodeType.HEXAGON:
|
|
536
|
+
return "hexgon";
|
|
537
|
+
// cspell: disable-line
|
|
538
|
+
default:
|
|
539
|
+
return "no-border";
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
/**
|
|
543
|
+
* Assign section numbers to nodes based on their position relative to root
|
|
544
|
+
* @param node - The mindmap node to process
|
|
545
|
+
* @param sectionNumber - The section number to assign (undefined for root)
|
|
546
|
+
*/
|
|
547
|
+
assignSections(e, n) {
|
|
548
|
+
if (e.level === 0 ? e.section = void 0 : e.section = n, e.children)
|
|
549
|
+
for (const [g, a] of e.children.entries()) {
|
|
550
|
+
const t = e.level === 0 ? g % (ke - 1) : n;
|
|
551
|
+
this.assignSections(a, t);
|
|
552
|
+
}
|
|
553
|
+
}
|
|
554
|
+
/**
|
|
555
|
+
* Convert mindmap tree structure to flat array of nodes
|
|
556
|
+
* @param node - The mindmap node to process
|
|
557
|
+
* @param processedNodes - Array to collect processed nodes
|
|
558
|
+
*/
|
|
559
|
+
flattenNodes(e, n) {
|
|
560
|
+
const g = B(), a = ["mindmap-node"];
|
|
561
|
+
e.isRoot === !0 ? a.push("section-root", "section--1") : e.section !== void 0 && a.push(`section-${e.section}`), e.class && a.push(e.class);
|
|
562
|
+
const t = a.join(" "), h = /* @__PURE__ */ l((m) => {
|
|
563
|
+
const v = (g.theme?.toLowerCase() ?? "").includes("redux");
|
|
564
|
+
switch (m) {
|
|
565
|
+
case N.CIRCLE:
|
|
566
|
+
return "mindmapCircle";
|
|
567
|
+
case N.RECT:
|
|
568
|
+
return "rect";
|
|
569
|
+
case N.ROUNDED_RECT:
|
|
570
|
+
return "rounded";
|
|
571
|
+
case N.CLOUD:
|
|
572
|
+
return "cloud";
|
|
573
|
+
case N.BANG:
|
|
574
|
+
return "bang";
|
|
575
|
+
case N.HEXAGON:
|
|
576
|
+
return "hexagon";
|
|
577
|
+
case N.DEFAULT:
|
|
578
|
+
return v ? "rounded" : "defaultMindmapNode";
|
|
579
|
+
case N.NO_BORDER:
|
|
580
|
+
default:
|
|
581
|
+
return "rect";
|
|
582
|
+
}
|
|
583
|
+
}, "getShapeFromType"), f = {
|
|
584
|
+
id: e.id.toString(),
|
|
585
|
+
domId: "node_" + e.id.toString(),
|
|
586
|
+
label: e.descr,
|
|
587
|
+
labelType: "markdown",
|
|
588
|
+
isGroup: !1,
|
|
589
|
+
shape: h(e.type),
|
|
590
|
+
width: e.width,
|
|
591
|
+
height: e.height ?? 0,
|
|
592
|
+
padding: e.padding,
|
|
593
|
+
cssClasses: t,
|
|
594
|
+
cssStyles: [],
|
|
595
|
+
look: g.look,
|
|
596
|
+
icon: e.icon,
|
|
597
|
+
x: e.x,
|
|
598
|
+
y: e.y,
|
|
599
|
+
// Mindmap-specific properties
|
|
600
|
+
level: e.level,
|
|
601
|
+
nodeId: e.nodeId,
|
|
602
|
+
type: e.type,
|
|
603
|
+
section: e.section
|
|
604
|
+
};
|
|
605
|
+
if (n.push(f), e.children)
|
|
606
|
+
for (const m of e.children)
|
|
607
|
+
this.flattenNodes(m, n);
|
|
608
|
+
}
|
|
609
|
+
/**
|
|
610
|
+
* Generate edges from parent-child relationships in mindmap tree
|
|
611
|
+
* @param node - The mindmap node to process
|
|
612
|
+
* @param edges - Array to collect edges
|
|
613
|
+
*/
|
|
614
|
+
generateEdges(e, n) {
|
|
615
|
+
if (!e.children)
|
|
616
|
+
return;
|
|
617
|
+
const g = B();
|
|
618
|
+
for (const a of e.children) {
|
|
619
|
+
let t = "edge";
|
|
620
|
+
a.section !== void 0 && (t += ` section-edge-${a.section}`);
|
|
621
|
+
const h = e.level + 1;
|
|
622
|
+
t += ` edge-depth-${h}`;
|
|
623
|
+
const f = {
|
|
624
|
+
id: `edge_${e.id}_${a.id}`,
|
|
625
|
+
start: e.id.toString(),
|
|
626
|
+
end: a.id.toString(),
|
|
627
|
+
type: "normal",
|
|
628
|
+
curve: "basis",
|
|
629
|
+
thickness: "normal",
|
|
630
|
+
look: g.look,
|
|
631
|
+
classes: t,
|
|
632
|
+
// Store mindmap-specific data
|
|
633
|
+
depth: e.level,
|
|
634
|
+
section: a.section
|
|
635
|
+
};
|
|
636
|
+
n.push(f), this.generateEdges(a, n);
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
/**
|
|
640
|
+
* Get structured data for layout algorithms
|
|
641
|
+
* Following the pattern established by ER diagrams
|
|
642
|
+
* @returns Structured data containing nodes, edges, and config
|
|
643
|
+
*/
|
|
644
|
+
getData() {
|
|
645
|
+
const e = this.getMindmap(), n = B(), a = de().layout !== void 0, t = n;
|
|
646
|
+
if (a || (t.layout = "cose-bilkent"), !e)
|
|
647
|
+
return {
|
|
648
|
+
nodes: [],
|
|
649
|
+
edges: [],
|
|
650
|
+
config: t
|
|
651
|
+
};
|
|
652
|
+
C.debug("getData: mindmapRoot", e, n), this.assignSections(e);
|
|
653
|
+
const h = [], f = [];
|
|
654
|
+
this.flattenNodes(e, h), this.generateEdges(e, f), C.debug(
|
|
655
|
+
`getData: processed ${h.length} nodes and ${f.length} edges`
|
|
656
|
+
);
|
|
657
|
+
const m = /* @__PURE__ */ new Map();
|
|
658
|
+
for (const E of h)
|
|
659
|
+
m.set(E.id, {
|
|
660
|
+
shape: E.shape,
|
|
661
|
+
width: E.width,
|
|
662
|
+
height: E.height,
|
|
663
|
+
padding: E.padding
|
|
664
|
+
});
|
|
665
|
+
return {
|
|
666
|
+
nodes: h,
|
|
667
|
+
edges: f,
|
|
668
|
+
config: t,
|
|
669
|
+
// Store the root node for mindmap-specific layout algorithms
|
|
670
|
+
rootNode: e,
|
|
671
|
+
// Properties required by dagre layout algorithm
|
|
672
|
+
markers: ["point"],
|
|
673
|
+
// Mindmaps don't use markers
|
|
674
|
+
direction: "TB",
|
|
675
|
+
// Top-to-bottom direction for mindmaps
|
|
676
|
+
nodeSpacing: 50,
|
|
677
|
+
// Default spacing between nodes
|
|
678
|
+
rankSpacing: 50,
|
|
679
|
+
// Default spacing between ranks
|
|
680
|
+
// Add shapes for ELK compatibility
|
|
681
|
+
shapes: Object.fromEntries(m),
|
|
682
|
+
// Additional properties that layout algorithms might expect
|
|
683
|
+
type: "mindmap",
|
|
684
|
+
diagramId: "mindmap-" + be()
|
|
685
|
+
};
|
|
686
|
+
}
|
|
687
|
+
// Expose logger to grammar
|
|
688
|
+
getLogger() {
|
|
689
|
+
return C;
|
|
690
|
+
}
|
|
691
|
+
}, xe = /* @__PURE__ */ l(async (e, n, g, a) => {
|
|
692
|
+
C.debug(`Rendering mindmap diagram
|
|
693
|
+
` + e);
|
|
694
|
+
const t = a.db, h = t.getData(), f = oe(n, h.config.securityLevel);
|
|
695
|
+
if (h.type = a.type, h.layoutAlgorithm = ce(h.config.layout, {
|
|
696
|
+
fallback: "cose-bilkent"
|
|
697
|
+
}), h.diagramId = n, !t.getMindmap())
|
|
698
|
+
return;
|
|
699
|
+
h.nodes.forEach((d) => {
|
|
700
|
+
d.shape === "rounded" ? (d.radius = 15, d.taper = 15, d.stroke = "none", d.width = 0, d.padding = 15) : d.shape === "circle" ? d.padding = 10 : d.shape === "rect" ? (d.width = 0, d.padding = 10) : d.shape === "hexagon" && (d.width = 0, d.height = 0);
|
|
701
|
+
}), await le(h, f);
|
|
702
|
+
const { themeVariables: E } = he(), { useGradient: v, gradientStart: I, gradientStop: w } = E;
|
|
703
|
+
if (v && I && w) {
|
|
704
|
+
const d = f.attr("id"), R = f.append("defs").append("linearGradient").attr("id", `${d}-gradient`).attr("gradientUnits", "objectBoundingBox").attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
|
|
705
|
+
R.append("stop").attr("offset", "0%").attr("stop-color", I).attr("stop-opacity", 1), R.append("stop").attr("offset", "100%").attr("stop-color", w).attr("stop-opacity", 1);
|
|
706
|
+
}
|
|
707
|
+
ae(
|
|
708
|
+
f,
|
|
709
|
+
h.config.mindmap?.padding ?? G.mindmap.padding,
|
|
710
|
+
"mindmapDiagram",
|
|
711
|
+
h.config.mindmap?.useMaxWidth ?? G.mindmap.useMaxWidth
|
|
712
|
+
);
|
|
713
|
+
}, "draw"), Ne = {
|
|
714
|
+
draw: xe
|
|
715
|
+
}, De = /* @__PURE__ */ l((e) => {
|
|
716
|
+
const { theme: n, look: g } = e;
|
|
717
|
+
let a = "";
|
|
718
|
+
for (let t = 0; t < e.THEME_COLOR_LIMIT; t++)
|
|
719
|
+
e["lineColor" + t] = e["lineColor" + t] || e["cScaleInv" + t], ge(e["lineColor" + t]) ? e["lineColor" + t] = ue(e["lineColor" + t], 20) : e["lineColor" + t] = pe(e["lineColor" + t], 20);
|
|
720
|
+
for (let t = 0; t < e.THEME_COLOR_LIMIT; t++) {
|
|
721
|
+
const h = "" + (g === "neo" ? Math.max(10 - (t - 1) * 2, 2) : 17 - 3 * t);
|
|
722
|
+
a += `
|
|
723
|
+
.section-${t - 1} rect, .section-${t - 1} path, .section-${t - 1} circle, .section-${t - 1} polygon, .section-${t - 1} path {
|
|
724
|
+
fill: ${e["cScale" + t]};
|
|
725
|
+
}
|
|
726
|
+
.section-${t - 1} text {
|
|
727
|
+
fill: ${e["cScaleLabel" + t]};
|
|
728
|
+
}
|
|
729
|
+
.section-${t - 1} span {
|
|
730
|
+
color: ${e["cScaleLabel" + t]};
|
|
731
|
+
}
|
|
732
|
+
.node-icon-${t - 1} {
|
|
733
|
+
font-size: 40px;
|
|
734
|
+
color: ${e["cScaleLabel" + t]};
|
|
735
|
+
}
|
|
736
|
+
.section-edge-${t - 1}{
|
|
737
|
+
stroke: ${e["cScale" + t]};
|
|
738
|
+
}
|
|
739
|
+
.edge-depth-${t - 1}{
|
|
740
|
+
stroke-width: ${h};
|
|
741
|
+
}
|
|
742
|
+
.section-${t - 1} line {
|
|
743
|
+
stroke: ${e["cScaleInv" + t]} ;
|
|
744
|
+
stroke-width: 3;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
.disabled, .disabled circle, .disabled text {
|
|
748
|
+
fill: lightgray;
|
|
749
|
+
}
|
|
750
|
+
.disabled text {
|
|
751
|
+
fill: #efefef;
|
|
752
|
+
}
|
|
753
|
+
[data-look="neo"].mindmap-node.section-${t - 1} rect, [data-look="neo"].mindmap-node.section-${t - 1} path, [data-look="neo"].mindmap-node.section-${t - 1} circle, [data-look="neo"].mindmap-node.section-${t - 1} polygon {
|
|
754
|
+
fill: ${n === "redux" || n === "redux-dark" || n === "neutral" ? e.mainBkg : e["cScale" + t]};
|
|
755
|
+
stroke: ${n === "redux" || n === "redux-dark" ? e.nodeBorder : e["cScale" + t]};
|
|
756
|
+
stroke-width: ${e.strokeWidth ?? 2}px;
|
|
757
|
+
}
|
|
758
|
+
[data-look="neo"].section-edge-${t - 1}{
|
|
759
|
+
stroke: ${n?.includes("redux") || n === "neo-dark" ? e.nodeBorder : e["cScale" + t]};
|
|
760
|
+
}
|
|
761
|
+
[data-look="neo"].mindmap-node.section-${t - 1} text {
|
|
762
|
+
fill: ${n === "redux" || n === "redux-dark" ? e.nodeBorder : e["cScaleLabel" + (n === "neutral" ? 1 : t)]};
|
|
763
|
+
}
|
|
764
|
+
`;
|
|
765
|
+
}
|
|
766
|
+
return a;
|
|
767
|
+
}, "genSections"), Le = /* @__PURE__ */ l((e, n, g) => {
|
|
768
|
+
let a = "";
|
|
769
|
+
for (let t = 0; t < e; t++)
|
|
770
|
+
a += `
|
|
771
|
+
[data-look="neo"].mindmap-node.section-${t - 1} rect, [data-look="neo"].mindmap-node.section-${t - 1} path, [data-look="neo"].mindmap-node.section-${t - 1} circle, [data-look="neo"].mindmap-node.section-${t - 1} polygon {
|
|
772
|
+
stroke: url(${n}-gradient);
|
|
773
|
+
fill: ${g};
|
|
774
|
+
}
|
|
775
|
+
.section-${t - 1} line {
|
|
776
|
+
stroke-width: 0;
|
|
777
|
+
}`;
|
|
778
|
+
return a;
|
|
779
|
+
}, "genGradient"), Te = /* @__PURE__ */ l((e) => {
|
|
780
|
+
const { theme: n } = e, g = e.svgId, a = e.dropShadow ? e.dropShadow.replace("url(#drop-shadow)", `url(${g}-drop-shadow)`) : "none";
|
|
781
|
+
return `
|
|
782
|
+
.edge {
|
|
783
|
+
stroke-width: 3;
|
|
784
|
+
}
|
|
785
|
+
${De(e)}
|
|
786
|
+
.section-root rect, .section-root path, .section-root circle, .section-root polygon {
|
|
787
|
+
fill: ${e.git0};
|
|
788
|
+
}
|
|
789
|
+
.section-root text {
|
|
790
|
+
fill: ${e.gitBranchLabel0};
|
|
791
|
+
}
|
|
792
|
+
.section-root span {
|
|
793
|
+
color: ${n?.includes("redux") ? e.nodeBorder : e.gitBranchLabel0};
|
|
794
|
+
}
|
|
795
|
+
.icon-container {
|
|
796
|
+
height:100%;
|
|
797
|
+
display: flex;
|
|
798
|
+
justify-content: center;
|
|
799
|
+
align-items: center;
|
|
800
|
+
}
|
|
801
|
+
.edge {
|
|
802
|
+
fill: none;
|
|
803
|
+
}
|
|
804
|
+
.mindmap-node-label {
|
|
805
|
+
dy: 1em;
|
|
806
|
+
alignment-baseline: middle;
|
|
807
|
+
text-anchor: middle;
|
|
808
|
+
dominant-baseline: middle;
|
|
809
|
+
text-align: center;
|
|
810
|
+
}
|
|
811
|
+
[data-look="neo"].mindmap-node {
|
|
812
|
+
filter: ${a};
|
|
813
|
+
}
|
|
814
|
+
[data-look="neo"].mindmap-node.section-root rect, [data-look="neo"].mindmap-node.section-root path, [data-look="neo"].mindmap-node.section-root circle, [data-look="neo"].mindmap-node.section-root polygon {
|
|
815
|
+
fill: ${n?.includes("redux") ? e.mainBkg : e.git0};
|
|
816
|
+
}
|
|
817
|
+
[data-look="neo"].mindmap-node.section-root .text-inner-tspan {
|
|
818
|
+
fill: ${n?.includes("redux") ? e.nodeBorder : e["cScaleLabel" + (n === "neutral" ? 1 : 0)]};
|
|
819
|
+
}
|
|
820
|
+
${e.useGradient && g && e.mainBkg ? Le(e.THEME_COLOR_LIMIT, g, e.mainBkg) : ""}
|
|
821
|
+
`;
|
|
822
|
+
}, "getStyles"), ve = Te, we = {
|
|
823
|
+
get db() {
|
|
824
|
+
return new Se();
|
|
825
|
+
},
|
|
826
|
+
renderer: Ne,
|
|
827
|
+
parser: _e,
|
|
828
|
+
styles: ve
|
|
829
|
+
};
|
|
830
|
+
export {
|
|
831
|
+
we as diagram
|
|
832
|
+
};
|
|
833
|
+
//# sourceMappingURL=mindmap-definition-RKZ34NQL-CnFpVFpl.js.map
|