@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,1396 @@
|
|
|
1
|
+
import { g as Zt } from "./chunk-55IACEB6-XfJuuv6Y.js";
|
|
2
|
+
import { s as te } from "./chunk-2J33WTMH-CGaAxoSO.js";
|
|
3
|
+
import { _ as f, l as _, c as w, r as ee, u as se, a as ie, b as re, g as ae, s as ne, q as oe, t as le, ae as ce, k as W, B as he } from "./mermaid-GHXKKRXX-C5Y3BZXR.js";
|
|
4
|
+
globalThis.process = globalThis.process || { env: {} };
|
|
5
|
+
globalThis.global = globalThis.global || globalThis;
|
|
6
|
+
var Dt = (function() {
|
|
7
|
+
var t = /* @__PURE__ */ f(function(Y, a, c, r) {
|
|
8
|
+
for (c = c || {}, r = Y.length; r--; c[Y[r]] = a) ;
|
|
9
|
+
return c;
|
|
10
|
+
}, "o"), e = [1, 2], l = [1, 3], s = [1, 4], u = [2, 4], d = [1, 9], S = [1, 11], g = [1, 16], n = [1, 17], T = [1, 18], m = [1, 19], N = [1, 33], A = [1, 20], k = [1, 21], h = [1, 22], x = [1, 23], D = [1, 24], $ = [1, 26], L = [1, 27], P = [1, 28], I = [1, 29], J = [1, 30], st = [1, 31], it = [1, 32], rt = [1, 35], at = [1, 36], nt = [1, 37], ot = [1, 38], j = [1, 34], p = [1, 4, 5, 16, 17, 19, 21, 22, 24, 25, 26, 27, 28, 29, 33, 35, 37, 38, 41, 45, 48, 51, 52, 53, 54, 57], lt = [1, 4, 5, 14, 15, 16, 17, 19, 21, 22, 24, 25, 26, 27, 28, 29, 33, 35, 37, 38, 39, 40, 41, 45, 48, 51, 52, 53, 54, 57], At = [4, 5, 16, 17, 19, 21, 22, 24, 25, 26, 27, 28, 29, 33, 35, 37, 38, 41, 45, 48, 51, 52, 53, 54, 57], yt = {
|
|
11
|
+
trace: /* @__PURE__ */ f(function() {
|
|
12
|
+
}, "trace"),
|
|
13
|
+
yy: {},
|
|
14
|
+
symbols_: { error: 2, start: 3, SPACE: 4, NL: 5, SD: 6, document: 7, line: 8, statement: 9, classDefStatement: 10, styleStatement: 11, cssClassStatement: 12, idStatement: 13, DESCR: 14, "-->": 15, HIDE_EMPTY: 16, scale: 17, WIDTH: 18, COMPOSIT_STATE: 19, STRUCT_START: 20, STRUCT_STOP: 21, STATE_DESCR: 22, AS: 23, ID: 24, FORK: 25, JOIN: 26, CHOICE: 27, CONCURRENT: 28, note: 29, notePosition: 30, NOTE_TEXT: 31, direction: 32, acc_title: 33, acc_title_value: 34, acc_descr: 35, acc_descr_value: 36, acc_descr_multiline_value: 37, CLICK: 38, STRING: 39, HREF: 40, classDef: 41, CLASSDEF_ID: 42, CLASSDEF_STYLEOPTS: 43, DEFAULT: 44, style: 45, STYLE_IDS: 46, STYLEDEF_STYLEOPTS: 47, class: 48, CLASSENTITY_IDS: 49, STYLECLASS: 50, direction_tb: 51, direction_bt: 52, direction_rl: 53, direction_lr: 54, eol: 55, ";": 56, EDGE_STATE: 57, STYLE_SEPARATOR: 58, left_of: 59, right_of: 60, $accept: 0, $end: 1 },
|
|
15
|
+
terminals_: { 2: "error", 4: "SPACE", 5: "NL", 6: "SD", 14: "DESCR", 15: "-->", 16: "HIDE_EMPTY", 17: "scale", 18: "WIDTH", 19: "COMPOSIT_STATE", 20: "STRUCT_START", 21: "STRUCT_STOP", 22: "STATE_DESCR", 23: "AS", 24: "ID", 25: "FORK", 26: "JOIN", 27: "CHOICE", 28: "CONCURRENT", 29: "note", 31: "NOTE_TEXT", 33: "acc_title", 34: "acc_title_value", 35: "acc_descr", 36: "acc_descr_value", 37: "acc_descr_multiline_value", 38: "CLICK", 39: "STRING", 40: "HREF", 41: "classDef", 42: "CLASSDEF_ID", 43: "CLASSDEF_STYLEOPTS", 44: "DEFAULT", 45: "style", 46: "STYLE_IDS", 47: "STYLEDEF_STYLEOPTS", 48: "class", 49: "CLASSENTITY_IDS", 50: "STYLECLASS", 51: "direction_tb", 52: "direction_bt", 53: "direction_rl", 54: "direction_lr", 56: ";", 57: "EDGE_STATE", 58: "STYLE_SEPARATOR", 59: "left_of", 60: "right_of" },
|
|
16
|
+
productions_: [0, [3, 2], [3, 2], [3, 2], [7, 0], [7, 2], [8, 2], [8, 1], [8, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 2], [9, 3], [9, 4], [9, 1], [9, 2], [9, 1], [9, 4], [9, 3], [9, 6], [9, 1], [9, 1], [9, 1], [9, 1], [9, 4], [9, 4], [9, 1], [9, 2], [9, 2], [9, 1], [9, 5], [9, 5], [10, 3], [10, 3], [11, 3], [12, 3], [32, 1], [32, 1], [32, 1], [32, 1], [55, 1], [55, 1], [13, 1], [13, 1], [13, 3], [13, 3], [30, 1], [30, 1]],
|
|
17
|
+
performAction: /* @__PURE__ */ f(function(a, c, r, y, E, i, F) {
|
|
18
|
+
var o = i.length - 1;
|
|
19
|
+
switch (E) {
|
|
20
|
+
case 3:
|
|
21
|
+
return y.setRootDoc(i[o]), i[o];
|
|
22
|
+
case 4:
|
|
23
|
+
this.$ = [];
|
|
24
|
+
break;
|
|
25
|
+
case 5:
|
|
26
|
+
i[o] != "nl" && (i[o - 1].push(i[o]), this.$ = i[o - 1]);
|
|
27
|
+
break;
|
|
28
|
+
case 6:
|
|
29
|
+
case 7:
|
|
30
|
+
this.$ = i[o];
|
|
31
|
+
break;
|
|
32
|
+
case 8:
|
|
33
|
+
this.$ = "nl";
|
|
34
|
+
break;
|
|
35
|
+
case 12:
|
|
36
|
+
this.$ = i[o];
|
|
37
|
+
break;
|
|
38
|
+
case 13:
|
|
39
|
+
const q = i[o - 1];
|
|
40
|
+
q.description = y.trimColon(i[o]), this.$ = q;
|
|
41
|
+
break;
|
|
42
|
+
case 14:
|
|
43
|
+
this.$ = { stmt: "relation", state1: i[o - 2], state2: i[o] };
|
|
44
|
+
break;
|
|
45
|
+
case 15:
|
|
46
|
+
const gt = y.trimColon(i[o]);
|
|
47
|
+
this.$ = { stmt: "relation", state1: i[o - 3], state2: i[o - 1], description: gt };
|
|
48
|
+
break;
|
|
49
|
+
case 19:
|
|
50
|
+
this.$ = { stmt: "state", id: i[o - 3], type: "default", description: "", doc: i[o - 1] };
|
|
51
|
+
break;
|
|
52
|
+
case 20:
|
|
53
|
+
var B = i[o], H = i[o - 2].trim();
|
|
54
|
+
if (i[o].match(":")) {
|
|
55
|
+
var ht = i[o].split(":");
|
|
56
|
+
B = ht[0], H = [H, ht[1]];
|
|
57
|
+
}
|
|
58
|
+
this.$ = { stmt: "state", id: B, type: "default", description: H };
|
|
59
|
+
break;
|
|
60
|
+
case 21:
|
|
61
|
+
this.$ = { stmt: "state", id: i[o - 3], type: "default", description: i[o - 5], doc: i[o - 1] };
|
|
62
|
+
break;
|
|
63
|
+
case 22:
|
|
64
|
+
this.$ = { stmt: "state", id: i[o], type: "fork" };
|
|
65
|
+
break;
|
|
66
|
+
case 23:
|
|
67
|
+
this.$ = { stmt: "state", id: i[o], type: "join" };
|
|
68
|
+
break;
|
|
69
|
+
case 24:
|
|
70
|
+
this.$ = { stmt: "state", id: i[o], type: "choice" };
|
|
71
|
+
break;
|
|
72
|
+
case 25:
|
|
73
|
+
this.$ = { stmt: "state", id: y.getDividerId(), type: "divider" };
|
|
74
|
+
break;
|
|
75
|
+
case 26:
|
|
76
|
+
this.$ = { stmt: "state", id: i[o - 1].trim(), note: { position: i[o - 2].trim(), text: i[o].trim() } };
|
|
77
|
+
break;
|
|
78
|
+
case 29:
|
|
79
|
+
this.$ = i[o].trim(), y.setAccTitle(this.$);
|
|
80
|
+
break;
|
|
81
|
+
case 30:
|
|
82
|
+
case 31:
|
|
83
|
+
this.$ = i[o].trim(), y.setAccDescription(this.$);
|
|
84
|
+
break;
|
|
85
|
+
case 32:
|
|
86
|
+
this.$ = {
|
|
87
|
+
stmt: "click",
|
|
88
|
+
id: i[o - 3],
|
|
89
|
+
url: i[o - 2],
|
|
90
|
+
tooltip: i[o - 1]
|
|
91
|
+
};
|
|
92
|
+
break;
|
|
93
|
+
case 33:
|
|
94
|
+
this.$ = {
|
|
95
|
+
stmt: "click",
|
|
96
|
+
id: i[o - 3],
|
|
97
|
+
url: i[o - 1],
|
|
98
|
+
tooltip: ""
|
|
99
|
+
};
|
|
100
|
+
break;
|
|
101
|
+
case 34:
|
|
102
|
+
case 35:
|
|
103
|
+
this.$ = { stmt: "classDef", id: i[o - 1].trim(), classes: i[o].trim() };
|
|
104
|
+
break;
|
|
105
|
+
case 36:
|
|
106
|
+
this.$ = { stmt: "style", id: i[o - 1].trim(), styleClass: i[o].trim() };
|
|
107
|
+
break;
|
|
108
|
+
case 37:
|
|
109
|
+
this.$ = { stmt: "applyClass", id: i[o - 1].trim(), styleClass: i[o].trim() };
|
|
110
|
+
break;
|
|
111
|
+
case 38:
|
|
112
|
+
y.setDirection("TB"), this.$ = { stmt: "dir", value: "TB" };
|
|
113
|
+
break;
|
|
114
|
+
case 39:
|
|
115
|
+
y.setDirection("BT"), this.$ = { stmt: "dir", value: "BT" };
|
|
116
|
+
break;
|
|
117
|
+
case 40:
|
|
118
|
+
y.setDirection("RL"), this.$ = { stmt: "dir", value: "RL" };
|
|
119
|
+
break;
|
|
120
|
+
case 41:
|
|
121
|
+
y.setDirection("LR"), this.$ = { stmt: "dir", value: "LR" };
|
|
122
|
+
break;
|
|
123
|
+
case 44:
|
|
124
|
+
case 45:
|
|
125
|
+
this.$ = { stmt: "state", id: i[o].trim(), type: "default", description: "" };
|
|
126
|
+
break;
|
|
127
|
+
case 46:
|
|
128
|
+
this.$ = { stmt: "state", id: i[o - 2].trim(), classes: [i[o].trim()], type: "default", description: "" };
|
|
129
|
+
break;
|
|
130
|
+
case 47:
|
|
131
|
+
this.$ = { stmt: "state", id: i[o - 2].trim(), classes: [i[o].trim()], type: "default", description: "" };
|
|
132
|
+
break;
|
|
133
|
+
}
|
|
134
|
+
}, "anonymous"),
|
|
135
|
+
table: [{ 3: 1, 4: e, 5: l, 6: s }, { 1: [3] }, { 3: 5, 4: e, 5: l, 6: s }, { 3: 6, 4: e, 5: l, 6: s }, t([1, 4, 5, 16, 17, 19, 22, 24, 25, 26, 27, 28, 29, 33, 35, 37, 38, 41, 45, 48, 51, 52, 53, 54, 57], u, { 7: 7 }), { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3], 4: d, 5: S, 8: 8, 9: 10, 10: 12, 11: 13, 12: 14, 13: 15, 16: g, 17: n, 19: T, 22: m, 24: N, 25: A, 26: k, 27: h, 28: x, 29: D, 32: 25, 33: $, 35: L, 37: P, 38: I, 41: J, 45: st, 48: it, 51: rt, 52: at, 53: nt, 54: ot, 57: j }, t(p, [2, 5]), { 9: 39, 10: 12, 11: 13, 12: 14, 13: 15, 16: g, 17: n, 19: T, 22: m, 24: N, 25: A, 26: k, 27: h, 28: x, 29: D, 32: 25, 33: $, 35: L, 37: P, 38: I, 41: J, 45: st, 48: it, 51: rt, 52: at, 53: nt, 54: ot, 57: j }, t(p, [2, 7]), t(p, [2, 8]), t(p, [2, 9]), t(p, [2, 10]), t(p, [2, 11]), t(p, [2, 12], { 14: [1, 40], 15: [1, 41] }), t(p, [2, 16]), { 18: [1, 42] }, t(p, [2, 18], { 20: [1, 43] }), { 23: [1, 44] }, t(p, [2, 22]), t(p, [2, 23]), t(p, [2, 24]), t(p, [2, 25]), { 30: 45, 31: [1, 46], 59: [1, 47], 60: [1, 48] }, t(p, [2, 28]), { 34: [1, 49] }, { 36: [1, 50] }, t(p, [2, 31]), { 13: 51, 24: N, 57: j }, { 42: [1, 52], 44: [1, 53] }, { 46: [1, 54] }, { 49: [1, 55] }, t(lt, [2, 44], { 58: [1, 56] }), t(lt, [2, 45], { 58: [1, 57] }), t(p, [2, 38]), t(p, [2, 39]), t(p, [2, 40]), t(p, [2, 41]), t(p, [2, 6]), t(p, [2, 13]), { 13: 58, 24: N, 57: j }, t(p, [2, 17]), t(At, u, { 7: 59 }), { 24: [1, 60] }, { 24: [1, 61] }, { 23: [1, 62] }, { 24: [2, 48] }, { 24: [2, 49] }, t(p, [2, 29]), t(p, [2, 30]), { 39: [1, 63], 40: [1, 64] }, { 43: [1, 65] }, { 43: [1, 66] }, { 47: [1, 67] }, { 50: [1, 68] }, { 24: [1, 69] }, { 24: [1, 70] }, t(p, [2, 14], { 14: [1, 71] }), { 4: d, 5: S, 8: 8, 9: 10, 10: 12, 11: 13, 12: 14, 13: 15, 16: g, 17: n, 19: T, 21: [1, 72], 22: m, 24: N, 25: A, 26: k, 27: h, 28: x, 29: D, 32: 25, 33: $, 35: L, 37: P, 38: I, 41: J, 45: st, 48: it, 51: rt, 52: at, 53: nt, 54: ot, 57: j }, t(p, [2, 20], { 20: [1, 73] }), { 31: [1, 74] }, { 24: [1, 75] }, { 39: [1, 76] }, { 39: [1, 77] }, t(p, [2, 34]), t(p, [2, 35]), t(p, [2, 36]), t(p, [2, 37]), t(lt, [2, 46]), t(lt, [2, 47]), t(p, [2, 15]), t(p, [2, 19]), t(At, u, { 7: 78 }), t(p, [2, 26]), t(p, [2, 27]), { 5: [1, 79] }, { 5: [1, 80] }, { 4: d, 5: S, 8: 8, 9: 10, 10: 12, 11: 13, 12: 14, 13: 15, 16: g, 17: n, 19: T, 21: [1, 81], 22: m, 24: N, 25: A, 26: k, 27: h, 28: x, 29: D, 32: 25, 33: $, 35: L, 37: P, 38: I, 41: J, 45: st, 48: it, 51: rt, 52: at, 53: nt, 54: ot, 57: j }, t(p, [2, 32]), t(p, [2, 33]), t(p, [2, 21])],
|
|
136
|
+
defaultActions: { 5: [2, 1], 6: [2, 2], 47: [2, 48], 48: [2, 49] },
|
|
137
|
+
parseError: /* @__PURE__ */ f(function(a, c) {
|
|
138
|
+
if (c.recoverable)
|
|
139
|
+
this.trace(a);
|
|
140
|
+
else {
|
|
141
|
+
var r = new Error(a);
|
|
142
|
+
throw r.hash = c, r;
|
|
143
|
+
}
|
|
144
|
+
}, "parseError"),
|
|
145
|
+
parse: /* @__PURE__ */ f(function(a) {
|
|
146
|
+
var c = this, r = [0], y = [], E = [null], i = [], F = this.table, o = "", B = 0, H = 0, ht = 2, q = 1, gt = i.slice.call(arguments, 1), b = Object.create(this.lexer), M = { yy: {} };
|
|
147
|
+
for (var Tt in this.yy)
|
|
148
|
+
Object.prototype.hasOwnProperty.call(this.yy, Tt) && (M.yy[Tt] = this.yy[Tt]);
|
|
149
|
+
b.setInput(a, M.yy), M.yy.lexer = b, M.yy.parser = this, typeof b.yylloc > "u" && (b.yylloc = {});
|
|
150
|
+
var Et = b.yylloc;
|
|
151
|
+
i.push(Et);
|
|
152
|
+
var qt = b.options && b.options.ranges;
|
|
153
|
+
typeof M.yy.parseError == "function" ? this.parseError = M.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
154
|
+
function Qt(O) {
|
|
155
|
+
r.length = r.length - 2 * O, E.length = E.length - O, i.length = i.length - O;
|
|
156
|
+
}
|
|
157
|
+
f(Qt, "popStack");
|
|
158
|
+
function xt() {
|
|
159
|
+
var O;
|
|
160
|
+
return O = y.pop() || b.lex() || q, typeof O != "number" && (O instanceof Array && (y = O, O = y.pop()), O = c.symbols_[O] || O), O;
|
|
161
|
+
}
|
|
162
|
+
f(xt, "lex");
|
|
163
|
+
for (var C, U, R, _t, z = {}, ut, G, Lt, dt; ; ) {
|
|
164
|
+
if (U = r[r.length - 1], this.defaultActions[U] ? R = this.defaultActions[U] : ((C === null || typeof C > "u") && (C = xt()), R = F[U] && F[U][C]), typeof R > "u" || !R.length || !R[0]) {
|
|
165
|
+
var mt = "";
|
|
166
|
+
dt = [];
|
|
167
|
+
for (ut in F[U])
|
|
168
|
+
this.terminals_[ut] && ut > ht && dt.push("'" + this.terminals_[ut] + "'");
|
|
169
|
+
b.showPosition ? mt = "Parse error on line " + (B + 1) + `:
|
|
170
|
+
` + b.showPosition() + `
|
|
171
|
+
Expecting ` + dt.join(", ") + ", got '" + (this.terminals_[C] || C) + "'" : mt = "Parse error on line " + (B + 1) + ": Unexpected " + (C == q ? "end of input" : "'" + (this.terminals_[C] || C) + "'"), this.parseError(mt, {
|
|
172
|
+
text: b.match,
|
|
173
|
+
token: this.terminals_[C] || C,
|
|
174
|
+
line: b.yylineno,
|
|
175
|
+
loc: Et,
|
|
176
|
+
expected: dt
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
if (R[0] instanceof Array && R.length > 1)
|
|
180
|
+
throw new Error("Parse Error: multiple actions possible at state: " + U + ", token: " + C);
|
|
181
|
+
switch (R[0]) {
|
|
182
|
+
case 1:
|
|
183
|
+
r.push(C), E.push(b.yytext), i.push(b.yylloc), r.push(R[1]), C = null, H = b.yyleng, o = b.yytext, B = b.yylineno, Et = b.yylloc;
|
|
184
|
+
break;
|
|
185
|
+
case 2:
|
|
186
|
+
if (G = this.productions_[R[1]][1], z.$ = E[E.length - G], z._$ = {
|
|
187
|
+
first_line: i[i.length - (G || 1)].first_line,
|
|
188
|
+
last_line: i[i.length - 1].last_line,
|
|
189
|
+
first_column: i[i.length - (G || 1)].first_column,
|
|
190
|
+
last_column: i[i.length - 1].last_column
|
|
191
|
+
}, qt && (z._$.range = [
|
|
192
|
+
i[i.length - (G || 1)].range[0],
|
|
193
|
+
i[i.length - 1].range[1]
|
|
194
|
+
]), _t = this.performAction.apply(z, [
|
|
195
|
+
o,
|
|
196
|
+
H,
|
|
197
|
+
B,
|
|
198
|
+
M.yy,
|
|
199
|
+
R[1],
|
|
200
|
+
E,
|
|
201
|
+
i
|
|
202
|
+
].concat(gt)), typeof _t < "u")
|
|
203
|
+
return _t;
|
|
204
|
+
G && (r = r.slice(0, -1 * G * 2), E = E.slice(0, -1 * G), i = i.slice(0, -1 * G)), r.push(this.productions_[R[1]][0]), E.push(z.$), i.push(z._$), Lt = F[r[r.length - 2]][r[r.length - 1]], r.push(Lt);
|
|
205
|
+
break;
|
|
206
|
+
case 3:
|
|
207
|
+
return !0;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
return !0;
|
|
211
|
+
}, "parse")
|
|
212
|
+
}, Jt = /* @__PURE__ */ (function() {
|
|
213
|
+
var Y = {
|
|
214
|
+
EOF: 1,
|
|
215
|
+
parseError: /* @__PURE__ */ f(function(c, r) {
|
|
216
|
+
if (this.yy.parser)
|
|
217
|
+
this.yy.parser.parseError(c, r);
|
|
218
|
+
else
|
|
219
|
+
throw new Error(c);
|
|
220
|
+
}, "parseError"),
|
|
221
|
+
// resets the lexer, sets new input
|
|
222
|
+
setInput: /* @__PURE__ */ f(function(a, c) {
|
|
223
|
+
return this.yy = c || this.yy || {}, this._input = a, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
224
|
+
first_line: 1,
|
|
225
|
+
first_column: 0,
|
|
226
|
+
last_line: 1,
|
|
227
|
+
last_column: 0
|
|
228
|
+
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
229
|
+
}, "setInput"),
|
|
230
|
+
// consumes and returns one char from the input
|
|
231
|
+
input: /* @__PURE__ */ f(function() {
|
|
232
|
+
var a = this._input[0];
|
|
233
|
+
this.yytext += a, this.yyleng++, this.offset++, this.match += a, this.matched += a;
|
|
234
|
+
var c = a.match(/(?:\r\n?|\n).*/g);
|
|
235
|
+
return c ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), a;
|
|
236
|
+
}, "input"),
|
|
237
|
+
// unshifts one char (or a string) into the input
|
|
238
|
+
unput: /* @__PURE__ */ f(function(a) {
|
|
239
|
+
var c = a.length, r = a.split(/(?:\r\n?|\n)/g);
|
|
240
|
+
this._input = a + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - c), this.offset -= c;
|
|
241
|
+
var y = this.match.split(/(?:\r\n?|\n)/g);
|
|
242
|
+
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), r.length - 1 && (this.yylineno -= r.length - 1);
|
|
243
|
+
var E = this.yylloc.range;
|
|
244
|
+
return this.yylloc = {
|
|
245
|
+
first_line: this.yylloc.first_line,
|
|
246
|
+
last_line: this.yylineno + 1,
|
|
247
|
+
first_column: this.yylloc.first_column,
|
|
248
|
+
last_column: r ? (r.length === y.length ? this.yylloc.first_column : 0) + y[y.length - r.length].length - r[0].length : this.yylloc.first_column - c
|
|
249
|
+
}, this.options.ranges && (this.yylloc.range = [E[0], E[0] + this.yyleng - c]), this.yyleng = this.yytext.length, this;
|
|
250
|
+
}, "unput"),
|
|
251
|
+
// When called from action, caches matched text and appends it on next action
|
|
252
|
+
more: /* @__PURE__ */ f(function() {
|
|
253
|
+
return this._more = !0, this;
|
|
254
|
+
}, "more"),
|
|
255
|
+
// 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.
|
|
256
|
+
reject: /* @__PURE__ */ f(function() {
|
|
257
|
+
if (this.options.backtrack_lexer)
|
|
258
|
+
this._backtrack = !0;
|
|
259
|
+
else
|
|
260
|
+
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).
|
|
261
|
+
` + this.showPosition(), {
|
|
262
|
+
text: "",
|
|
263
|
+
token: null,
|
|
264
|
+
line: this.yylineno
|
|
265
|
+
});
|
|
266
|
+
return this;
|
|
267
|
+
}, "reject"),
|
|
268
|
+
// retain first n characters of the match
|
|
269
|
+
less: /* @__PURE__ */ f(function(a) {
|
|
270
|
+
this.unput(this.match.slice(a));
|
|
271
|
+
}, "less"),
|
|
272
|
+
// displays already matched input, i.e. for error messages
|
|
273
|
+
pastInput: /* @__PURE__ */ f(function() {
|
|
274
|
+
var a = this.matched.substr(0, this.matched.length - this.match.length);
|
|
275
|
+
return (a.length > 20 ? "..." : "") + a.substr(-20).replace(/\n/g, "");
|
|
276
|
+
}, "pastInput"),
|
|
277
|
+
// displays upcoming input, i.e. for error messages
|
|
278
|
+
upcomingInput: /* @__PURE__ */ f(function() {
|
|
279
|
+
var a = this.match;
|
|
280
|
+
return a.length < 20 && (a += this._input.substr(0, 20 - a.length)), (a.substr(0, 20) + (a.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
281
|
+
}, "upcomingInput"),
|
|
282
|
+
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
283
|
+
showPosition: /* @__PURE__ */ f(function() {
|
|
284
|
+
var a = this.pastInput(), c = new Array(a.length + 1).join("-");
|
|
285
|
+
return a + this.upcomingInput() + `
|
|
286
|
+
` + c + "^";
|
|
287
|
+
}, "showPosition"),
|
|
288
|
+
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
289
|
+
test_match: /* @__PURE__ */ f(function(a, c) {
|
|
290
|
+
var r, y, E;
|
|
291
|
+
if (this.options.backtrack_lexer && (E = {
|
|
292
|
+
yylineno: this.yylineno,
|
|
293
|
+
yylloc: {
|
|
294
|
+
first_line: this.yylloc.first_line,
|
|
295
|
+
last_line: this.last_line,
|
|
296
|
+
first_column: this.yylloc.first_column,
|
|
297
|
+
last_column: this.yylloc.last_column
|
|
298
|
+
},
|
|
299
|
+
yytext: this.yytext,
|
|
300
|
+
match: this.match,
|
|
301
|
+
matches: this.matches,
|
|
302
|
+
matched: this.matched,
|
|
303
|
+
yyleng: this.yyleng,
|
|
304
|
+
offset: this.offset,
|
|
305
|
+
_more: this._more,
|
|
306
|
+
_input: this._input,
|
|
307
|
+
yy: this.yy,
|
|
308
|
+
conditionStack: this.conditionStack.slice(0),
|
|
309
|
+
done: this.done
|
|
310
|
+
}, this.options.ranges && (E.yylloc.range = this.yylloc.range.slice(0))), y = a[0].match(/(?:\r\n?|\n).*/g), y && (this.yylineno += y.length), this.yylloc = {
|
|
311
|
+
first_line: this.yylloc.last_line,
|
|
312
|
+
last_line: this.yylineno + 1,
|
|
313
|
+
first_column: this.yylloc.last_column,
|
|
314
|
+
last_column: y ? y[y.length - 1].length - y[y.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + a[0].length
|
|
315
|
+
}, this.yytext += a[0], this.match += a[0], this.matches = a, 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(a[0].length), this.matched += a[0], r = this.performAction.call(this, this.yy, this, c, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), r)
|
|
316
|
+
return r;
|
|
317
|
+
if (this._backtrack) {
|
|
318
|
+
for (var i in E)
|
|
319
|
+
this[i] = E[i];
|
|
320
|
+
return !1;
|
|
321
|
+
}
|
|
322
|
+
return !1;
|
|
323
|
+
}, "test_match"),
|
|
324
|
+
// return next match in input
|
|
325
|
+
next: /* @__PURE__ */ f(function() {
|
|
326
|
+
if (this.done)
|
|
327
|
+
return this.EOF;
|
|
328
|
+
this._input || (this.done = !0);
|
|
329
|
+
var a, c, r, y;
|
|
330
|
+
this._more || (this.yytext = "", this.match = "");
|
|
331
|
+
for (var E = this._currentRules(), i = 0; i < E.length; i++)
|
|
332
|
+
if (r = this._input.match(this.rules[E[i]]), r && (!c || r[0].length > c[0].length)) {
|
|
333
|
+
if (c = r, y = i, this.options.backtrack_lexer) {
|
|
334
|
+
if (a = this.test_match(r, E[i]), a !== !1)
|
|
335
|
+
return a;
|
|
336
|
+
if (this._backtrack) {
|
|
337
|
+
c = !1;
|
|
338
|
+
continue;
|
|
339
|
+
} else
|
|
340
|
+
return !1;
|
|
341
|
+
} else if (!this.options.flex)
|
|
342
|
+
break;
|
|
343
|
+
}
|
|
344
|
+
return c ? (a = this.test_match(c, E[y]), a !== !1 ? a : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
345
|
+
` + this.showPosition(), {
|
|
346
|
+
text: "",
|
|
347
|
+
token: null,
|
|
348
|
+
line: this.yylineno
|
|
349
|
+
});
|
|
350
|
+
}, "next"),
|
|
351
|
+
// return next match that has a token
|
|
352
|
+
lex: /* @__PURE__ */ f(function() {
|
|
353
|
+
var c = this.next();
|
|
354
|
+
return c || this.lex();
|
|
355
|
+
}, "lex"),
|
|
356
|
+
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
|
|
357
|
+
begin: /* @__PURE__ */ f(function(c) {
|
|
358
|
+
this.conditionStack.push(c);
|
|
359
|
+
}, "begin"),
|
|
360
|
+
// pop the previously active lexer condition state off the condition stack
|
|
361
|
+
popState: /* @__PURE__ */ f(function() {
|
|
362
|
+
var c = this.conditionStack.length - 1;
|
|
363
|
+
return c > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
364
|
+
}, "popState"),
|
|
365
|
+
// produce the lexer rule set which is active for the currently active lexer condition state
|
|
366
|
+
_currentRules: /* @__PURE__ */ f(function() {
|
|
367
|
+
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
368
|
+
}, "_currentRules"),
|
|
369
|
+
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
|
|
370
|
+
topState: /* @__PURE__ */ f(function(c) {
|
|
371
|
+
return c = this.conditionStack.length - 1 - Math.abs(c || 0), c >= 0 ? this.conditionStack[c] : "INITIAL";
|
|
372
|
+
}, "topState"),
|
|
373
|
+
// alias for begin(condition)
|
|
374
|
+
pushState: /* @__PURE__ */ f(function(c) {
|
|
375
|
+
this.begin(c);
|
|
376
|
+
}, "pushState"),
|
|
377
|
+
// return the number of states currently on the stack
|
|
378
|
+
stateStackSize: /* @__PURE__ */ f(function() {
|
|
379
|
+
return this.conditionStack.length;
|
|
380
|
+
}, "stateStackSize"),
|
|
381
|
+
options: { "case-insensitive": !0 },
|
|
382
|
+
performAction: /* @__PURE__ */ f(function(c, r, y, E) {
|
|
383
|
+
function i() {
|
|
384
|
+
const F = r.yytext.indexOf("%%");
|
|
385
|
+
if (F === 0)
|
|
386
|
+
return !1;
|
|
387
|
+
if (F > 0) {
|
|
388
|
+
const o = r.yytext.slice(0, F), B = r.yytext.slice(F);
|
|
389
|
+
B && c.lexer.unput(B), r.yytext = o;
|
|
390
|
+
}
|
|
391
|
+
return !0;
|
|
392
|
+
}
|
|
393
|
+
switch (f(i, "processId"), y) {
|
|
394
|
+
case 0:
|
|
395
|
+
return 38;
|
|
396
|
+
case 1:
|
|
397
|
+
return 40;
|
|
398
|
+
case 2:
|
|
399
|
+
return 39;
|
|
400
|
+
case 3:
|
|
401
|
+
return 44;
|
|
402
|
+
case 4:
|
|
403
|
+
return 51;
|
|
404
|
+
case 5:
|
|
405
|
+
return 52;
|
|
406
|
+
case 6:
|
|
407
|
+
return 53;
|
|
408
|
+
case 7:
|
|
409
|
+
return 54;
|
|
410
|
+
case 8:
|
|
411
|
+
return 5;
|
|
412
|
+
case 9:
|
|
413
|
+
break;
|
|
414
|
+
case 10:
|
|
415
|
+
break;
|
|
416
|
+
case 11:
|
|
417
|
+
break;
|
|
418
|
+
case 12:
|
|
419
|
+
break;
|
|
420
|
+
case 13:
|
|
421
|
+
return this.pushState("SCALE"), 17;
|
|
422
|
+
case 14:
|
|
423
|
+
return 18;
|
|
424
|
+
case 15:
|
|
425
|
+
this.popState();
|
|
426
|
+
break;
|
|
427
|
+
case 16:
|
|
428
|
+
return this.begin("acc_title"), 33;
|
|
429
|
+
case 17:
|
|
430
|
+
return this.popState(), "acc_title_value";
|
|
431
|
+
case 18:
|
|
432
|
+
return this.begin("acc_descr"), 35;
|
|
433
|
+
case 19:
|
|
434
|
+
return this.popState(), "acc_descr_value";
|
|
435
|
+
case 20:
|
|
436
|
+
this.begin("acc_descr_multiline");
|
|
437
|
+
break;
|
|
438
|
+
case 21:
|
|
439
|
+
this.popState();
|
|
440
|
+
break;
|
|
441
|
+
case 22:
|
|
442
|
+
return "acc_descr_multiline_value";
|
|
443
|
+
case 23:
|
|
444
|
+
return this.pushState("CLASSDEF"), 41;
|
|
445
|
+
case 24:
|
|
446
|
+
return this.popState(), this.pushState("CLASSDEFID"), "DEFAULT_CLASSDEF_ID";
|
|
447
|
+
case 25:
|
|
448
|
+
return this.popState(), this.pushState("CLASSDEFID"), 42;
|
|
449
|
+
case 26:
|
|
450
|
+
return this.popState(), 43;
|
|
451
|
+
case 27:
|
|
452
|
+
return this.pushState("CLASS"), 48;
|
|
453
|
+
case 28:
|
|
454
|
+
return this.popState(), this.pushState("CLASS_STYLE"), 49;
|
|
455
|
+
case 29:
|
|
456
|
+
return this.popState(), 50;
|
|
457
|
+
case 30:
|
|
458
|
+
return this.pushState("STYLE"), 45;
|
|
459
|
+
case 31:
|
|
460
|
+
return this.popState(), this.pushState("STYLEDEF_STYLES"), 46;
|
|
461
|
+
case 32:
|
|
462
|
+
return this.popState(), 47;
|
|
463
|
+
case 33:
|
|
464
|
+
return this.pushState("SCALE"), 17;
|
|
465
|
+
case 34:
|
|
466
|
+
return 18;
|
|
467
|
+
case 35:
|
|
468
|
+
this.popState();
|
|
469
|
+
break;
|
|
470
|
+
case 36:
|
|
471
|
+
this.pushState("STATE");
|
|
472
|
+
break;
|
|
473
|
+
case 37:
|
|
474
|
+
return this.popState(), r.yytext = r.yytext.slice(0, -8).trim(), 25;
|
|
475
|
+
case 38:
|
|
476
|
+
return this.popState(), r.yytext = r.yytext.slice(0, -8).trim(), 26;
|
|
477
|
+
case 39:
|
|
478
|
+
return this.popState(), r.yytext = r.yytext.slice(0, -10).trim(), 27;
|
|
479
|
+
case 40:
|
|
480
|
+
return this.popState(), r.yytext = r.yytext.slice(0, -8).trim(), 25;
|
|
481
|
+
case 41:
|
|
482
|
+
return this.popState(), r.yytext = r.yytext.slice(0, -8).trim(), 26;
|
|
483
|
+
case 42:
|
|
484
|
+
return this.popState(), r.yytext = r.yytext.slice(0, -10).trim(), 27;
|
|
485
|
+
case 43:
|
|
486
|
+
return 51;
|
|
487
|
+
case 44:
|
|
488
|
+
return 52;
|
|
489
|
+
case 45:
|
|
490
|
+
return 53;
|
|
491
|
+
case 46:
|
|
492
|
+
return 54;
|
|
493
|
+
case 47:
|
|
494
|
+
this.pushState("STATE_STRING");
|
|
495
|
+
break;
|
|
496
|
+
case 48:
|
|
497
|
+
return this.pushState("STATE_ID"), "AS";
|
|
498
|
+
case 49:
|
|
499
|
+
return i() ? (this.popState(), "ID") : void 0;
|
|
500
|
+
case 50:
|
|
501
|
+
this.popState();
|
|
502
|
+
break;
|
|
503
|
+
case 51:
|
|
504
|
+
return "STATE_DESCR";
|
|
505
|
+
case 52:
|
|
506
|
+
return 19;
|
|
507
|
+
case 53:
|
|
508
|
+
this.popState();
|
|
509
|
+
break;
|
|
510
|
+
case 54:
|
|
511
|
+
return this.popState(), this.pushState("struct"), 20;
|
|
512
|
+
case 55:
|
|
513
|
+
return this.popState(), 21;
|
|
514
|
+
case 56:
|
|
515
|
+
break;
|
|
516
|
+
case 57:
|
|
517
|
+
return this.begin("NOTE"), 29;
|
|
518
|
+
case 58:
|
|
519
|
+
return this.popState(), this.pushState("NOTE_ID"), 59;
|
|
520
|
+
case 59:
|
|
521
|
+
return this.popState(), this.pushState("NOTE_ID"), 60;
|
|
522
|
+
case 60:
|
|
523
|
+
this.popState(), this.pushState("FLOATING_NOTE");
|
|
524
|
+
break;
|
|
525
|
+
case 61:
|
|
526
|
+
return this.popState(), this.pushState("FLOATING_NOTE_ID"), "AS";
|
|
527
|
+
case 62:
|
|
528
|
+
break;
|
|
529
|
+
case 63:
|
|
530
|
+
return "NOTE_TEXT";
|
|
531
|
+
case 64:
|
|
532
|
+
return i() ? (this.popState(), "ID") : void 0;
|
|
533
|
+
case 65:
|
|
534
|
+
return i() ? (this.popState(), this.pushState("NOTE_TEXT"), 24) : void 0;
|
|
535
|
+
case 66:
|
|
536
|
+
return this.popState(), r.yytext = r.yytext.substr(2).trim(), 31;
|
|
537
|
+
case 67:
|
|
538
|
+
return this.popState(), r.yytext = r.yytext.slice(0, -8).trim(), 31;
|
|
539
|
+
case 68:
|
|
540
|
+
return 6;
|
|
541
|
+
case 69:
|
|
542
|
+
return 6;
|
|
543
|
+
case 70:
|
|
544
|
+
return 16;
|
|
545
|
+
case 71:
|
|
546
|
+
return 57;
|
|
547
|
+
case 72:
|
|
548
|
+
return i() ? 24 : void 0;
|
|
549
|
+
case 73:
|
|
550
|
+
return r.yytext = r.yytext.trim(), 14;
|
|
551
|
+
case 74:
|
|
552
|
+
return 15;
|
|
553
|
+
case 75:
|
|
554
|
+
return 28;
|
|
555
|
+
case 76:
|
|
556
|
+
return 58;
|
|
557
|
+
case 77:
|
|
558
|
+
return 5;
|
|
559
|
+
case 78:
|
|
560
|
+
return "INVALID";
|
|
561
|
+
}
|
|
562
|
+
}, "anonymous"),
|
|
563
|
+
rules: [/^(?:click\b)/i, /^(?:href\b)/i, /^(?:"[^"]*")/i, /^(?:default\b)/i, /^(?:.*direction\s+TB[^\n]*)/i, /^(?:.*direction\s+BT[^\n]*)/i, /^(?:.*direction\s+RL[^\n]*)/i, /^(?:.*direction\s+LR[^\n]*)/i, /^(?:[\n]+)/i, /^(?:[\s]+)/i, /^(?:((?!\n)\s)+)/i, /^(?:#[^\n]*)/i, /^(?:%%(?!\{)[^\n]*)/i, /^(?:scale\s+)/i, /^(?:\d+)/i, /^(?:\s+width\b)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:classDef\s+)/i, /^(?:DEFAULT\s+)/i, /^(?:\w+\s+)/i, /^(?:[^\n]*)/i, /^(?:class\s+)/i, /^(?:(\w+)+((,\s*\w+)*))/i, /^(?:[^\n]*)/i, /^(?:style\s+)/i, /^(?:[\w,]+\s+)/i, /^(?:[^\n]*)/i, /^(?:scale\s+)/i, /^(?:\d+)/i, /^(?:\s+width\b)/i, /^(?:state\s+)/i, /^(?:.*<<fork>>)/i, /^(?:.*<<join>>)/i, /^(?:.*<<choice>>)/i, /^(?:.*\[\[fork\]\])/i, /^(?:.*\[\[join\]\])/i, /^(?:.*\[\[choice\]\])/i, /^(?:.*direction\s+TB[^\n]*)/i, /^(?:.*direction\s+BT[^\n]*)/i, /^(?:.*direction\s+RL[^\n]*)/i, /^(?:.*direction\s+LR[^\n]*)/i, /^(?:["])/i, /^(?:\s*as\s+)/i, /^(?:[^\n\{]*)/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?:[^\n\s\{]+)/i, /^(?:\n)/i, /^(?:\{)/i, /^(?:\})/i, /^(?:[\n])/i, /^(?:note\s+)/i, /^(?:left of\b)/i, /^(?:right of\b)/i, /^(?:")/i, /^(?:\s*as\s*)/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?:[^\n]*)/i, /^(?:\s*[^:\n\s\-]+)/i, /^(?:\s*:[^:\n;]+)/i, /^(?:[\s\S]*?\n\s*end note\b)/i, /^(?:stateDiagram\s+)/i, /^(?:stateDiagram-v2\s+)/i, /^(?:hide empty description\b)/i, /^(?:\[\*\])/i, /^(?:[^:\n\s\-\{]+)/i, /^(?:\s*:(?:[^:\n;]|:[^:\n;])+)/i, /^(?:-->)/i, /^(?:--)/i, /^(?::::)/i, /^(?:$)/i, /^(?:.)/i],
|
|
564
|
+
conditions: { LINE: { rules: [10, 11, 12], inclusive: !1 }, struct: { rules: [10, 11, 12, 23, 27, 30, 36, 43, 44, 45, 46, 55, 56, 57, 71, 72, 73, 74, 75, 76], inclusive: !1 }, FLOATING_NOTE_ID: { rules: [64], inclusive: !1 }, FLOATING_NOTE: { rules: [61, 62, 63], inclusive: !1 }, NOTE_TEXT: { rules: [66, 67], inclusive: !1 }, NOTE_ID: { rules: [65], inclusive: !1 }, NOTE: { rules: [58, 59, 60], inclusive: !1 }, STYLEDEF_STYLEOPTS: { rules: [], inclusive: !1 }, STYLEDEF_STYLES: { rules: [32], inclusive: !1 }, STYLE_IDS: { rules: [], inclusive: !1 }, STYLE: { rules: [31], inclusive: !1 }, CLASS_STYLE: { rules: [29], inclusive: !1 }, CLASS: { rules: [28], inclusive: !1 }, CLASSDEFID: { rules: [26], inclusive: !1 }, CLASSDEF: { rules: [24, 25], inclusive: !1 }, acc_descr_multiline: { rules: [21, 22], inclusive: !1 }, acc_descr: { rules: [19], inclusive: !1 }, acc_title: { rules: [17], inclusive: !1 }, SCALE: { rules: [14, 15, 34, 35], inclusive: !1 }, ALIAS: { rules: [], inclusive: !1 }, STATE_ID: { rules: [49], inclusive: !1 }, STATE_STRING: { rules: [50, 51], inclusive: !1 }, FORK_STATE: { rules: [], inclusive: !1 }, STATE: { rules: [10, 11, 12, 37, 38, 39, 40, 41, 42, 47, 48, 52, 53, 54], inclusive: !1 }, ID: { rules: [10, 11, 12], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 16, 18, 20, 23, 27, 30, 33, 36, 54, 57, 68, 69, 70, 71, 72, 73, 74, 76, 77, 78], inclusive: !0 } }
|
|
565
|
+
};
|
|
566
|
+
return Y;
|
|
567
|
+
})();
|
|
568
|
+
yt.lexer = Jt;
|
|
569
|
+
function ct() {
|
|
570
|
+
this.yy = {};
|
|
571
|
+
}
|
|
572
|
+
return f(ct, "Parser"), ct.prototype = yt, yt.Parser = ct, new ct();
|
|
573
|
+
})();
|
|
574
|
+
Dt.parser = Dt;
|
|
575
|
+
var Ge = Dt, ue = "TB", Ft = "TB", It = "dir", X = "state", K = "root", vt = "relation", de = "classDef", fe = "style", pe = "applyClass", tt = "default", Bt = "divider", Gt = "fill:none", Yt = "fill: #333", Vt = "c", Mt = "markdown", Ut = "normal", bt = "rect", kt = "rectWithTitle", Se = "stateStart", ye = "stateEnd", Ot = "divider", Nt = "roundedWithTitle", ge = "note", Te = "noteGroup", et = "statediagram", Ee = "state", _e = `${et}-${Ee}`, Wt = "transition", me = "note", be = "note-edge", ke = `${Wt} ${be}`, De = `${et}-${me}`, ve = "cluster", Ce = `${et}-${ve}`, Ae = "cluster-alt", xe = `${et}-${Ae}`, jt = "parent", Ht = "note", Le = "state", Ct = "----", Ie = `${Ct}${Ht}`, Rt = `${Ct}${jt}`, zt = /* @__PURE__ */ f((t, e = Ft) => {
|
|
576
|
+
if (!t.doc)
|
|
577
|
+
return e;
|
|
578
|
+
let l = e;
|
|
579
|
+
for (const s of t.doc)
|
|
580
|
+
s.stmt === "dir" && (l = s.value);
|
|
581
|
+
return l;
|
|
582
|
+
}, "getDir"), Oe = /* @__PURE__ */ f(function(t, e) {
|
|
583
|
+
return e.db.getClasses();
|
|
584
|
+
}, "getClasses"), Ne = /* @__PURE__ */ f(async function(t, e, l, s) {
|
|
585
|
+
_.info("REF0:"), _.info("Drawing state diagram (v2)", e);
|
|
586
|
+
const { securityLevel: u, state: d, layout: S } = w();
|
|
587
|
+
s.db.extract(s.db.getRootDocV2());
|
|
588
|
+
const g = s.db.getData(), n = Zt(e, u);
|
|
589
|
+
g.type = s.type, g.layoutAlgorithm = S, g.nodeSpacing = d?.nodeSpacing || 50, g.rankSpacing = d?.rankSpacing || 50, w().look === "neo" ? g.markers = ["barbNeo"] : g.markers = ["barb"], g.diagramId = e, await ee(g, n);
|
|
590
|
+
const m = 8;
|
|
591
|
+
try {
|
|
592
|
+
(typeof s.db.getLinks == "function" ? s.db.getLinks() : /* @__PURE__ */ new Map()).forEach((A, k) => {
|
|
593
|
+
const h = typeof k == "string" ? k : typeof k?.id == "string" ? k.id : "";
|
|
594
|
+
if (!h) {
|
|
595
|
+
_.warn("⚠️ Invalid or missing stateId from key:", JSON.stringify(k));
|
|
596
|
+
return;
|
|
597
|
+
}
|
|
598
|
+
const x = n.node()?.querySelectorAll("g");
|
|
599
|
+
let D;
|
|
600
|
+
if (x?.forEach((I) => {
|
|
601
|
+
I.textContent?.trim() === h && (D = I);
|
|
602
|
+
}), !D) {
|
|
603
|
+
_.warn("⚠️ Could not find node matching text:", h);
|
|
604
|
+
return;
|
|
605
|
+
}
|
|
606
|
+
const $ = D.parentNode;
|
|
607
|
+
if (!$) {
|
|
608
|
+
_.warn("⚠️ Node has no parent, cannot wrap:", h);
|
|
609
|
+
return;
|
|
610
|
+
}
|
|
611
|
+
const L = document.createElementNS("http://www.w3.org/2000/svg", "a"), P = A.url.replace(/^"+|"+$/g, "");
|
|
612
|
+
if (L.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", P), L.setAttribute("target", "_blank"), A.tooltip) {
|
|
613
|
+
const I = A.tooltip.replace(/^"+|"+$/g, "");
|
|
614
|
+
L.setAttribute("title", I);
|
|
615
|
+
}
|
|
616
|
+
$.replaceChild(L, D), L.appendChild(D), _.info("🔗 Wrapped node in <a> tag for:", h, A.url);
|
|
617
|
+
});
|
|
618
|
+
} catch (N) {
|
|
619
|
+
_.error("❌ Error injecting clickable links:", N);
|
|
620
|
+
}
|
|
621
|
+
se.insertTitle(
|
|
622
|
+
n,
|
|
623
|
+
"statediagramTitleText",
|
|
624
|
+
d?.titleTopMargin ?? 25,
|
|
625
|
+
s.db.getDiagramTitle()
|
|
626
|
+
), te(n, m, et, d?.useMaxWidth ?? !0);
|
|
627
|
+
}, "draw"), Ye = {
|
|
628
|
+
getClasses: Oe,
|
|
629
|
+
draw: Ne,
|
|
630
|
+
getDir: zt
|
|
631
|
+
}, pt = /* @__PURE__ */ new Map(), V = 0;
|
|
632
|
+
function St(t = "", e = 0, l = "", s = Ct) {
|
|
633
|
+
const u = l !== null && l.length > 0 ? `${s}${l}` : "";
|
|
634
|
+
return `${Le}-${t}${u}-${e}`;
|
|
635
|
+
}
|
|
636
|
+
f(St, "stateDomId");
|
|
637
|
+
var Re = /* @__PURE__ */ f((t, e, l, s, u, d, S, g) => {
|
|
638
|
+
_.trace("items", e), e.forEach((n) => {
|
|
639
|
+
switch (n.stmt) {
|
|
640
|
+
case X:
|
|
641
|
+
Z(t, n, l, s, u, d, S, g);
|
|
642
|
+
break;
|
|
643
|
+
case tt:
|
|
644
|
+
Z(t, n, l, s, u, d, S, g);
|
|
645
|
+
break;
|
|
646
|
+
case vt:
|
|
647
|
+
{
|
|
648
|
+
Z(
|
|
649
|
+
t,
|
|
650
|
+
n.state1,
|
|
651
|
+
l,
|
|
652
|
+
s,
|
|
653
|
+
u,
|
|
654
|
+
d,
|
|
655
|
+
S,
|
|
656
|
+
g
|
|
657
|
+
), Z(
|
|
658
|
+
t,
|
|
659
|
+
n.state2,
|
|
660
|
+
l,
|
|
661
|
+
s,
|
|
662
|
+
u,
|
|
663
|
+
d,
|
|
664
|
+
S,
|
|
665
|
+
g
|
|
666
|
+
);
|
|
667
|
+
const T = S === "neo", m = {
|
|
668
|
+
id: "edge" + V,
|
|
669
|
+
start: n.state1.id,
|
|
670
|
+
end: n.state2.id,
|
|
671
|
+
arrowhead: "normal",
|
|
672
|
+
arrowTypeEnd: T ? "arrow_barb_neo" : "arrow_barb",
|
|
673
|
+
style: Gt,
|
|
674
|
+
labelStyle: "",
|
|
675
|
+
label: W.sanitizeText(n.description ?? "", w()),
|
|
676
|
+
arrowheadStyle: Yt,
|
|
677
|
+
labelpos: Vt,
|
|
678
|
+
labelType: Mt,
|
|
679
|
+
thickness: Ut,
|
|
680
|
+
classes: Wt,
|
|
681
|
+
look: S
|
|
682
|
+
};
|
|
683
|
+
u.push(m), V++;
|
|
684
|
+
}
|
|
685
|
+
break;
|
|
686
|
+
}
|
|
687
|
+
});
|
|
688
|
+
}, "setupDoc"), wt = /* @__PURE__ */ f((t, e = Ft) => {
|
|
689
|
+
let l = e;
|
|
690
|
+
if (t.doc)
|
|
691
|
+
for (const s of t.doc)
|
|
692
|
+
s.stmt === "dir" && (l = s.value);
|
|
693
|
+
return l;
|
|
694
|
+
}, "getDir");
|
|
695
|
+
function Q(t, e, l) {
|
|
696
|
+
if (!e.id || e.id === "</join></fork>" || e.id === "</choice>")
|
|
697
|
+
return;
|
|
698
|
+
e.cssClasses && (Array.isArray(e.cssCompiledStyles) || (e.cssCompiledStyles = []), e.cssClasses.split(" ").forEach((u) => {
|
|
699
|
+
const d = l.get(u);
|
|
700
|
+
d && (e.cssCompiledStyles = [...e.cssCompiledStyles ?? [], ...d.styles]);
|
|
701
|
+
}));
|
|
702
|
+
const s = t.find((u) => u.id === e.id);
|
|
703
|
+
s ? Object.assign(s, e) : t.push(e);
|
|
704
|
+
}
|
|
705
|
+
f(Q, "insertOrUpdateNode");
|
|
706
|
+
function Kt(t) {
|
|
707
|
+
return t?.classes?.join(" ") ?? "";
|
|
708
|
+
}
|
|
709
|
+
f(Kt, "getClassesFromDbInfo");
|
|
710
|
+
function Xt(t) {
|
|
711
|
+
return t?.styles ?? [];
|
|
712
|
+
}
|
|
713
|
+
f(Xt, "getStylesFromDbInfo");
|
|
714
|
+
var Z = /* @__PURE__ */ f((t, e, l, s, u, d, S, g) => {
|
|
715
|
+
const n = e.id, T = l.get(n), m = Kt(T), N = Xt(T), A = w();
|
|
716
|
+
if (_.info("dataFetcher parsedItem", e, T, N), n !== "root") {
|
|
717
|
+
let k = bt;
|
|
718
|
+
e.start === !0 ? k = Se : e.start === !1 && (k = ye), e.type !== tt && (k = e.type), pt.get(n) || pt.set(n, {
|
|
719
|
+
id: n,
|
|
720
|
+
shape: k,
|
|
721
|
+
description: W.sanitizeText(n, A),
|
|
722
|
+
cssClasses: `${m} ${_e}`,
|
|
723
|
+
cssStyles: N
|
|
724
|
+
});
|
|
725
|
+
const h = pt.get(n);
|
|
726
|
+
e.description && (Array.isArray(h.description) ? (h.shape = kt, h.description.push(e.description)) : h.description?.length && h.description.length > 0 ? (h.shape = kt, h.description === n ? h.description = [e.description] : h.description = [h.description, e.description]) : (h.shape = bt, h.description = e.description), h.description = W.sanitizeTextOrArray(h.description, A)), h.description?.length === 1 && h.shape === kt && (h.type === "group" ? h.shape = Nt : h.shape = bt), !h.type && e.doc && (_.info("Setting cluster for XCX", n, wt(e)), h.type = "group", h.isGroup = !0, h.dir = wt(e), h.shape = e.type === Bt ? Ot : Nt, h.cssClasses = `${h.cssClasses} ${Ce} ${d ? xe : ""}`);
|
|
727
|
+
const x = {
|
|
728
|
+
labelStyle: "",
|
|
729
|
+
shape: h.shape,
|
|
730
|
+
label: h.description,
|
|
731
|
+
cssClasses: h.cssClasses,
|
|
732
|
+
cssCompiledStyles: [],
|
|
733
|
+
cssStyles: h.cssStyles,
|
|
734
|
+
id: n,
|
|
735
|
+
dir: h.dir,
|
|
736
|
+
domId: St(n, V),
|
|
737
|
+
type: h.type,
|
|
738
|
+
isGroup: h.type === "group",
|
|
739
|
+
padding: 8,
|
|
740
|
+
rx: 10,
|
|
741
|
+
ry: 10,
|
|
742
|
+
look: S,
|
|
743
|
+
labelType: "markdown"
|
|
744
|
+
};
|
|
745
|
+
if (x.shape === Ot && (x.label = ""), t && t.id !== "root" && (_.trace("Setting node ", n, " to be child of its parent ", t.id), x.parentId = t.id), x.centerLabel = !0, e.note) {
|
|
746
|
+
const D = {
|
|
747
|
+
labelStyle: "",
|
|
748
|
+
shape: ge,
|
|
749
|
+
label: e.note.text,
|
|
750
|
+
labelType: "markdown",
|
|
751
|
+
cssClasses: De,
|
|
752
|
+
// useHtmlLabels: false,
|
|
753
|
+
cssStyles: [],
|
|
754
|
+
cssCompiledStyles: [],
|
|
755
|
+
id: n + Ie + "-" + V,
|
|
756
|
+
domId: St(n, V, Ht),
|
|
757
|
+
type: h.type,
|
|
758
|
+
isGroup: h.type === "group",
|
|
759
|
+
padding: A.flowchart?.padding,
|
|
760
|
+
look: S,
|
|
761
|
+
position: e.note.position
|
|
762
|
+
}, $ = n + Rt, L = {
|
|
763
|
+
labelStyle: "",
|
|
764
|
+
shape: Te,
|
|
765
|
+
label: e.note.text,
|
|
766
|
+
cssClasses: h.cssClasses,
|
|
767
|
+
cssStyles: [],
|
|
768
|
+
id: n + Rt,
|
|
769
|
+
domId: St(n, V, jt),
|
|
770
|
+
type: "group",
|
|
771
|
+
isGroup: !0,
|
|
772
|
+
padding: 16,
|
|
773
|
+
//getConfig().flowchart.padding
|
|
774
|
+
look: S,
|
|
775
|
+
position: e.note.position
|
|
776
|
+
};
|
|
777
|
+
V++, L.id = $, D.parentId = $, Q(s, L, g), Q(s, D, g), Q(s, x, g);
|
|
778
|
+
let P = n, I = D.id;
|
|
779
|
+
e.note.position === "left of" && (P = D.id, I = n), u.push({
|
|
780
|
+
id: P + "-" + I,
|
|
781
|
+
start: P,
|
|
782
|
+
end: I,
|
|
783
|
+
arrowhead: "none",
|
|
784
|
+
arrowTypeEnd: "",
|
|
785
|
+
style: Gt,
|
|
786
|
+
labelStyle: "",
|
|
787
|
+
classes: ke,
|
|
788
|
+
arrowheadStyle: Yt,
|
|
789
|
+
labelpos: Vt,
|
|
790
|
+
labelType: Mt,
|
|
791
|
+
thickness: Ut,
|
|
792
|
+
look: S
|
|
793
|
+
});
|
|
794
|
+
} else
|
|
795
|
+
Q(s, x, g);
|
|
796
|
+
}
|
|
797
|
+
e.doc && (_.trace("Adding nodes children "), Re(e, e.doc, l, s, u, !d, S, g));
|
|
798
|
+
}, "dataFetcher"), we = /* @__PURE__ */ f(() => {
|
|
799
|
+
pt.clear(), V = 0;
|
|
800
|
+
}, "reset"), v = {
|
|
801
|
+
START_NODE: "[*]",
|
|
802
|
+
START_TYPE: "start",
|
|
803
|
+
END_NODE: "[*]",
|
|
804
|
+
END_TYPE: "end",
|
|
805
|
+
COLOR_KEYWORD: "color",
|
|
806
|
+
FILL_KEYWORD: "fill",
|
|
807
|
+
BG_FILL: "bgFill",
|
|
808
|
+
STYLECLASS_SEP: ","
|
|
809
|
+
}, $t = /* @__PURE__ */ f(() => /* @__PURE__ */ new Map(), "newClassesList"), Pt = /* @__PURE__ */ f(() => ({
|
|
810
|
+
relations: [],
|
|
811
|
+
states: /* @__PURE__ */ new Map(),
|
|
812
|
+
documents: {}
|
|
813
|
+
}), "newDoc"), ft = /* @__PURE__ */ f((t) => JSON.parse(JSON.stringify(t)), "clone"), Ve = class {
|
|
814
|
+
constructor(t) {
|
|
815
|
+
this.version = t, this.nodes = [], this.edges = [], this.rootDoc = [], this.classes = $t(), this.documents = { root: Pt() }, this.currentDocument = this.documents.root, this.startEndCount = 0, this.dividerCnt = 0, this.links = /* @__PURE__ */ new Map(), this.getAccTitle = ie, this.setAccTitle = re, this.getAccDescription = ae, this.setAccDescription = ne, this.setDiagramTitle = oe, this.getDiagramTitle = le, this.clear(), this.setRootDoc = this.setRootDoc.bind(this), this.getDividerId = this.getDividerId.bind(this), this.setDirection = this.setDirection.bind(this), this.trimColon = this.trimColon.bind(this);
|
|
816
|
+
}
|
|
817
|
+
static {
|
|
818
|
+
f(this, "StateDB");
|
|
819
|
+
}
|
|
820
|
+
static {
|
|
821
|
+
this.relationType = {
|
|
822
|
+
AGGREGATION: 0,
|
|
823
|
+
EXTENSION: 1,
|
|
824
|
+
COMPOSITION: 2,
|
|
825
|
+
DEPENDENCY: 3
|
|
826
|
+
};
|
|
827
|
+
}
|
|
828
|
+
/**
|
|
829
|
+
* Convert all of the statements (stmts) that were parsed into states and relationships.
|
|
830
|
+
* This is done because a state diagram may have nested sections,
|
|
831
|
+
* where each section is a 'document' and has its own set of statements.
|
|
832
|
+
* Ex: the section within a fork has its own statements, and incoming and outgoing statements
|
|
833
|
+
* refer to the fork as a whole (document).
|
|
834
|
+
* See the parser grammar: the definition of a document is a document then a 'line', where a line can be a statement.
|
|
835
|
+
* This will push the statement into the list of statements for the current document.
|
|
836
|
+
*/
|
|
837
|
+
extract(t) {
|
|
838
|
+
this.clear(!0);
|
|
839
|
+
for (const s of Array.isArray(t) ? t : t.doc)
|
|
840
|
+
switch (s.stmt) {
|
|
841
|
+
case X:
|
|
842
|
+
this.addState(s.id.trim(), s.type, s.doc, s.description, s.note);
|
|
843
|
+
break;
|
|
844
|
+
case vt:
|
|
845
|
+
this.addRelation(s.state1, s.state2, s.description);
|
|
846
|
+
break;
|
|
847
|
+
case de:
|
|
848
|
+
this.addStyleClass(s.id.trim(), s.classes);
|
|
849
|
+
break;
|
|
850
|
+
case fe:
|
|
851
|
+
this.handleStyleDef(s);
|
|
852
|
+
break;
|
|
853
|
+
case pe:
|
|
854
|
+
this.setCssClass(s.id.trim(), s.styleClass);
|
|
855
|
+
break;
|
|
856
|
+
case "click":
|
|
857
|
+
this.addLink(s.id, s.url, s.tooltip);
|
|
858
|
+
break;
|
|
859
|
+
}
|
|
860
|
+
const e = this.getStates(), l = w();
|
|
861
|
+
we(), Z(
|
|
862
|
+
void 0,
|
|
863
|
+
this.getRootDocV2(),
|
|
864
|
+
e,
|
|
865
|
+
this.nodes,
|
|
866
|
+
this.edges,
|
|
867
|
+
!0,
|
|
868
|
+
l.look,
|
|
869
|
+
this.classes
|
|
870
|
+
);
|
|
871
|
+
for (const s of this.nodes)
|
|
872
|
+
if (Array.isArray(s.label)) {
|
|
873
|
+
if (s.description = s.label.slice(1), s.isGroup && s.description.length > 0)
|
|
874
|
+
throw new Error(
|
|
875
|
+
`Group nodes can only have label. Remove the additional description for node [${s.id}]`
|
|
876
|
+
);
|
|
877
|
+
s.label = s.label[0];
|
|
878
|
+
}
|
|
879
|
+
}
|
|
880
|
+
handleStyleDef(t) {
|
|
881
|
+
const e = t.id.trim().split(","), l = t.styleClass.split(",");
|
|
882
|
+
for (const s of e) {
|
|
883
|
+
let u = this.getState(s);
|
|
884
|
+
if (!u) {
|
|
885
|
+
const d = s.trim();
|
|
886
|
+
this.addState(d), u = this.getState(d);
|
|
887
|
+
}
|
|
888
|
+
u && (u.styles = l.map((d) => d.replace(/;/g, "")?.trim()));
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
setRootDoc(t) {
|
|
892
|
+
_.info("Setting root doc", t), this.rootDoc = t, this.version === 1 ? this.extract(t) : this.extract(this.getRootDocV2());
|
|
893
|
+
}
|
|
894
|
+
docTranslator(t, e, l) {
|
|
895
|
+
if (e.stmt === vt) {
|
|
896
|
+
this.docTranslator(t, e.state1, !0), this.docTranslator(t, e.state2, !1);
|
|
897
|
+
return;
|
|
898
|
+
}
|
|
899
|
+
if (e.stmt === X && (e.id === v.START_NODE ? (e.id = t.id + (l ? "_start" : "_end"), e.start = l) : e.id = e.id.trim()), e.stmt !== K && e.stmt !== X || !e.doc)
|
|
900
|
+
return;
|
|
901
|
+
const s = [];
|
|
902
|
+
let u = [];
|
|
903
|
+
for (const d of e.doc)
|
|
904
|
+
if (d.type === Bt) {
|
|
905
|
+
const S = ft(d);
|
|
906
|
+
S.doc = ft(u), s.push(S), u = [];
|
|
907
|
+
} else
|
|
908
|
+
u.push(d);
|
|
909
|
+
if (s.length > 0 && u.length > 0) {
|
|
910
|
+
const d = {
|
|
911
|
+
stmt: X,
|
|
912
|
+
id: ce(),
|
|
913
|
+
type: "divider",
|
|
914
|
+
doc: ft(u)
|
|
915
|
+
};
|
|
916
|
+
s.push(ft(d)), e.doc = s;
|
|
917
|
+
}
|
|
918
|
+
e.doc.forEach((d) => this.docTranslator(e, d, !0));
|
|
919
|
+
}
|
|
920
|
+
getRootDocV2() {
|
|
921
|
+
return this.docTranslator(
|
|
922
|
+
{ id: K, stmt: K },
|
|
923
|
+
{ id: K, stmt: K, doc: this.rootDoc },
|
|
924
|
+
!0
|
|
925
|
+
), { id: K, doc: this.rootDoc };
|
|
926
|
+
}
|
|
927
|
+
/**
|
|
928
|
+
* Function called by parser when a node definition has been found.
|
|
929
|
+
*
|
|
930
|
+
* @param descr - description for the state. Can be a string or a list or strings
|
|
931
|
+
* @param classes - class styles to apply to this state. Can be a string (1 style) or an array of styles. If it's just 1 class, convert it to an array of that 1 class.
|
|
932
|
+
* @param styles - styles to apply to this state. Can be a string (1 style) or an array of styles. If it's just 1 style, convert it to an array of that 1 style.
|
|
933
|
+
* @param textStyles - text styles to apply to this state. Can be a string (1 text test) or an array of text styles. If it's just 1 text style, convert it to an array of that 1 text style.
|
|
934
|
+
*/
|
|
935
|
+
addState(t, e = tt, l = void 0, s = void 0, u = void 0, d = void 0, S = void 0, g = void 0) {
|
|
936
|
+
const n = t?.trim();
|
|
937
|
+
if (!this.currentDocument.states.has(n))
|
|
938
|
+
_.info("Adding state ", n, s), this.currentDocument.states.set(n, {
|
|
939
|
+
stmt: X,
|
|
940
|
+
id: n,
|
|
941
|
+
descriptions: [],
|
|
942
|
+
type: e,
|
|
943
|
+
doc: l,
|
|
944
|
+
note: u,
|
|
945
|
+
classes: [],
|
|
946
|
+
styles: [],
|
|
947
|
+
textStyles: []
|
|
948
|
+
});
|
|
949
|
+
else {
|
|
950
|
+
const T = this.currentDocument.states.get(n);
|
|
951
|
+
if (!T)
|
|
952
|
+
throw new Error(`State not found: ${n}`);
|
|
953
|
+
T.doc || (T.doc = l), T.type || (T.type = e);
|
|
954
|
+
}
|
|
955
|
+
if (s && (_.info("Setting state description", n, s), (Array.isArray(s) ? s : [s]).forEach((m) => this.addDescription(n, m.trim()))), u) {
|
|
956
|
+
const T = this.currentDocument.states.get(n);
|
|
957
|
+
if (!T)
|
|
958
|
+
throw new Error(`State not found: ${n}`);
|
|
959
|
+
T.note = u, T.note.text = W.sanitizeText(T.note.text, w());
|
|
960
|
+
}
|
|
961
|
+
d && (_.info("Setting state classes", n, d), (Array.isArray(d) ? d : [d]).forEach((m) => this.setCssClass(n, m.trim()))), S && (_.info("Setting state styles", n, S), (Array.isArray(S) ? S : [S]).forEach((m) => this.setStyle(n, m.trim()))), g && (_.info("Setting state styles", n, S), (Array.isArray(g) ? g : [g]).forEach((m) => this.setTextStyle(n, m.trim())));
|
|
962
|
+
}
|
|
963
|
+
clear(t) {
|
|
964
|
+
this.nodes = [], this.edges = [], this.documents = { root: Pt() }, this.currentDocument = this.documents.root, this.startEndCount = 0, this.classes = $t(), t || (this.links = /* @__PURE__ */ new Map(), he());
|
|
965
|
+
}
|
|
966
|
+
getState(t) {
|
|
967
|
+
return this.currentDocument.states.get(t);
|
|
968
|
+
}
|
|
969
|
+
getStates() {
|
|
970
|
+
return this.currentDocument.states;
|
|
971
|
+
}
|
|
972
|
+
logDocuments() {
|
|
973
|
+
_.info("Documents = ", this.documents);
|
|
974
|
+
}
|
|
975
|
+
getRelations() {
|
|
976
|
+
return this.currentDocument.relations;
|
|
977
|
+
}
|
|
978
|
+
/**
|
|
979
|
+
* Adds a clickable link to a state.
|
|
980
|
+
*/
|
|
981
|
+
addLink(t, e, l) {
|
|
982
|
+
this.links.set(t, { url: e, tooltip: l }), _.warn("Adding link", t, e, l);
|
|
983
|
+
}
|
|
984
|
+
/**
|
|
985
|
+
* Get all registered links.
|
|
986
|
+
*/
|
|
987
|
+
getLinks() {
|
|
988
|
+
return this.links;
|
|
989
|
+
}
|
|
990
|
+
/**
|
|
991
|
+
* If the id is a start node ( [*] ), then return a new id constructed from
|
|
992
|
+
* the start node name and the current start node count.
|
|
993
|
+
* else return the given id
|
|
994
|
+
*/
|
|
995
|
+
startIdIfNeeded(t = "") {
|
|
996
|
+
return t === v.START_NODE ? (this.startEndCount++, `${v.START_TYPE}${this.startEndCount}`) : t;
|
|
997
|
+
}
|
|
998
|
+
/**
|
|
999
|
+
* If the id is a start node ( [*] ), then return the start type ('start')
|
|
1000
|
+
* else return the given type
|
|
1001
|
+
*/
|
|
1002
|
+
startTypeIfNeeded(t = "", e = tt) {
|
|
1003
|
+
return t === v.START_NODE ? v.START_TYPE : e;
|
|
1004
|
+
}
|
|
1005
|
+
/**
|
|
1006
|
+
* If the id is an end node ( [*] ), then return a new id constructed from
|
|
1007
|
+
* the end node name and the current start_end node count.
|
|
1008
|
+
* else return the given id
|
|
1009
|
+
*/
|
|
1010
|
+
endIdIfNeeded(t = "") {
|
|
1011
|
+
return t === v.END_NODE ? (this.startEndCount++, `${v.END_TYPE}${this.startEndCount}`) : t;
|
|
1012
|
+
}
|
|
1013
|
+
/**
|
|
1014
|
+
* If the id is an end node ( [*] ), then return the end type
|
|
1015
|
+
* else return the given type
|
|
1016
|
+
*
|
|
1017
|
+
*/
|
|
1018
|
+
endTypeIfNeeded(t = "", e = tt) {
|
|
1019
|
+
return t === v.END_NODE ? v.END_TYPE : e;
|
|
1020
|
+
}
|
|
1021
|
+
addRelationObjs(t, e, l = "") {
|
|
1022
|
+
const s = this.startIdIfNeeded(t.id.trim()), u = this.startTypeIfNeeded(t.id.trim(), t.type), d = this.startIdIfNeeded(e.id.trim()), S = this.startTypeIfNeeded(e.id.trim(), e.type);
|
|
1023
|
+
this.addState(
|
|
1024
|
+
s,
|
|
1025
|
+
u,
|
|
1026
|
+
t.doc,
|
|
1027
|
+
t.description,
|
|
1028
|
+
t.note,
|
|
1029
|
+
t.classes,
|
|
1030
|
+
t.styles,
|
|
1031
|
+
t.textStyles
|
|
1032
|
+
), this.addState(
|
|
1033
|
+
d,
|
|
1034
|
+
S,
|
|
1035
|
+
e.doc,
|
|
1036
|
+
e.description,
|
|
1037
|
+
e.note,
|
|
1038
|
+
e.classes,
|
|
1039
|
+
e.styles,
|
|
1040
|
+
e.textStyles
|
|
1041
|
+
), this.currentDocument.relations.push({
|
|
1042
|
+
id1: s,
|
|
1043
|
+
id2: d,
|
|
1044
|
+
relationTitle: W.sanitizeText(l, w())
|
|
1045
|
+
});
|
|
1046
|
+
}
|
|
1047
|
+
/**
|
|
1048
|
+
* Add a relation between two items. The items may be full objects or just the string id of a state.
|
|
1049
|
+
*/
|
|
1050
|
+
addRelation(t, e, l) {
|
|
1051
|
+
if (typeof t == "object" && typeof e == "object")
|
|
1052
|
+
this.addRelationObjs(t, e, l);
|
|
1053
|
+
else if (typeof t == "string" && typeof e == "string") {
|
|
1054
|
+
const s = this.startIdIfNeeded(t.trim()), u = this.startTypeIfNeeded(t), d = this.endIdIfNeeded(e.trim()), S = this.endTypeIfNeeded(e);
|
|
1055
|
+
this.addState(s, u), this.addState(d, S), this.currentDocument.relations.push({
|
|
1056
|
+
id1: s,
|
|
1057
|
+
id2: d,
|
|
1058
|
+
relationTitle: l ? W.sanitizeText(l, w()) : void 0
|
|
1059
|
+
});
|
|
1060
|
+
}
|
|
1061
|
+
}
|
|
1062
|
+
addDescription(t, e) {
|
|
1063
|
+
const l = this.currentDocument.states.get(t), s = e.startsWith(":") ? e.replace(":", "").trim() : e;
|
|
1064
|
+
l?.descriptions?.push(W.sanitizeText(s, w()));
|
|
1065
|
+
}
|
|
1066
|
+
cleanupLabel(t) {
|
|
1067
|
+
return t.startsWith(":") ? t.slice(2).trim() : t.trim();
|
|
1068
|
+
}
|
|
1069
|
+
getDividerId() {
|
|
1070
|
+
return this.dividerCnt++, `divider-id-${this.dividerCnt}`;
|
|
1071
|
+
}
|
|
1072
|
+
/**
|
|
1073
|
+
* Called when the parser comes across a (style) class definition
|
|
1074
|
+
* @example classDef my-style fill:#f96;
|
|
1075
|
+
*
|
|
1076
|
+
* @param id - the id of this (style) class
|
|
1077
|
+
* @param styleAttributes - the string with 1 or more style attributes (each separated by a comma)
|
|
1078
|
+
*/
|
|
1079
|
+
addStyleClass(t, e = "") {
|
|
1080
|
+
this.classes.has(t) || this.classes.set(t, { id: t, styles: [], textStyles: [] });
|
|
1081
|
+
const l = this.classes.get(t);
|
|
1082
|
+
e && l && e.split(v.STYLECLASS_SEP).forEach((s) => {
|
|
1083
|
+
const u = s.replace(/([^;]*);/, "$1").trim();
|
|
1084
|
+
if (RegExp(v.COLOR_KEYWORD).exec(s)) {
|
|
1085
|
+
const S = u.replace(v.FILL_KEYWORD, v.BG_FILL).replace(v.COLOR_KEYWORD, v.FILL_KEYWORD);
|
|
1086
|
+
l.textStyles.push(S);
|
|
1087
|
+
}
|
|
1088
|
+
l.styles.push(u);
|
|
1089
|
+
});
|
|
1090
|
+
}
|
|
1091
|
+
getClasses() {
|
|
1092
|
+
return this.classes;
|
|
1093
|
+
}
|
|
1094
|
+
/**
|
|
1095
|
+
* Add a (style) class or css class to a state with the given id.
|
|
1096
|
+
* If the state isn't already in the list of known states, add it.
|
|
1097
|
+
* Might be called by parser when a style class or CSS class should be applied to a state
|
|
1098
|
+
*
|
|
1099
|
+
* @param itemIds - The id or a list of ids of the item(s) to apply the css class to
|
|
1100
|
+
* @param cssClassName - CSS class name
|
|
1101
|
+
*/
|
|
1102
|
+
setCssClass(t, e) {
|
|
1103
|
+
t.split(",").forEach((l) => {
|
|
1104
|
+
let s = this.getState(l);
|
|
1105
|
+
if (!s) {
|
|
1106
|
+
const u = l.trim();
|
|
1107
|
+
this.addState(u), s = this.getState(u);
|
|
1108
|
+
}
|
|
1109
|
+
s?.classes?.push(e);
|
|
1110
|
+
});
|
|
1111
|
+
}
|
|
1112
|
+
/**
|
|
1113
|
+
* Add a style to a state with the given id.
|
|
1114
|
+
* @example style stateId fill:#f9f,stroke:#333,stroke-width:4px
|
|
1115
|
+
* where 'style' is the keyword
|
|
1116
|
+
* stateId is the id of a state
|
|
1117
|
+
* the rest of the string is the styleText (all of the attributes to be applied to the state)
|
|
1118
|
+
*
|
|
1119
|
+
* @param itemId - The id of item to apply the style to
|
|
1120
|
+
* @param styleText - the text of the attributes for the style
|
|
1121
|
+
*/
|
|
1122
|
+
setStyle(t, e) {
|
|
1123
|
+
this.getState(t)?.styles?.push(e);
|
|
1124
|
+
}
|
|
1125
|
+
/**
|
|
1126
|
+
* Add a text style to a state with the given id
|
|
1127
|
+
*
|
|
1128
|
+
* @param itemId - The id of item to apply the css class to
|
|
1129
|
+
* @param cssClassName - CSS class name
|
|
1130
|
+
*/
|
|
1131
|
+
setTextStyle(t, e) {
|
|
1132
|
+
this.getState(t)?.textStyles?.push(e);
|
|
1133
|
+
}
|
|
1134
|
+
/**
|
|
1135
|
+
* Finds the direction statement in the root document.
|
|
1136
|
+
* @returns the direction statement if present
|
|
1137
|
+
*/
|
|
1138
|
+
getDirectionStatement() {
|
|
1139
|
+
return this.rootDoc.find((t) => t.stmt === It);
|
|
1140
|
+
}
|
|
1141
|
+
getDirection() {
|
|
1142
|
+
return this.getDirectionStatement()?.value ?? ue;
|
|
1143
|
+
}
|
|
1144
|
+
setDirection(t) {
|
|
1145
|
+
const e = this.getDirectionStatement();
|
|
1146
|
+
e ? e.value = t : this.rootDoc.unshift({ stmt: It, value: t });
|
|
1147
|
+
}
|
|
1148
|
+
trimColon(t) {
|
|
1149
|
+
return t.startsWith(":") ? t.slice(1).trim() : t.trim();
|
|
1150
|
+
}
|
|
1151
|
+
getData() {
|
|
1152
|
+
const t = w();
|
|
1153
|
+
return {
|
|
1154
|
+
nodes: this.nodes,
|
|
1155
|
+
edges: this.edges,
|
|
1156
|
+
other: {},
|
|
1157
|
+
config: t,
|
|
1158
|
+
direction: zt(this.getRootDocV2())
|
|
1159
|
+
};
|
|
1160
|
+
}
|
|
1161
|
+
getConfig() {
|
|
1162
|
+
return w().state;
|
|
1163
|
+
}
|
|
1164
|
+
}, $e = /* @__PURE__ */ f((t) => `
|
|
1165
|
+
defs [id$="-barbEnd"] {
|
|
1166
|
+
fill: ${t.transitionColor};
|
|
1167
|
+
stroke: ${t.transitionColor};
|
|
1168
|
+
}
|
|
1169
|
+
g.stateGroup text {
|
|
1170
|
+
fill: ${t.nodeBorder};
|
|
1171
|
+
stroke: none;
|
|
1172
|
+
font-size: 10px;
|
|
1173
|
+
}
|
|
1174
|
+
g.stateGroup text {
|
|
1175
|
+
fill: ${t.textColor};
|
|
1176
|
+
stroke: none;
|
|
1177
|
+
font-size: 10px;
|
|
1178
|
+
|
|
1179
|
+
}
|
|
1180
|
+
g.stateGroup .state-title {
|
|
1181
|
+
font-weight: bolder;
|
|
1182
|
+
fill: ${t.stateLabelColor};
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
g.stateGroup rect {
|
|
1186
|
+
fill: ${t.mainBkg};
|
|
1187
|
+
stroke: ${t.nodeBorder};
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
g.stateGroup line {
|
|
1191
|
+
stroke: ${t.lineColor};
|
|
1192
|
+
stroke-width: ${t.strokeWidth || 1};
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
.transition {
|
|
1196
|
+
stroke: ${t.transitionColor};
|
|
1197
|
+
stroke-width: ${t.strokeWidth || 1};
|
|
1198
|
+
fill: none;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
.stateGroup .composit {
|
|
1202
|
+
fill: ${t.background};
|
|
1203
|
+
border-bottom: 1px
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
.stateGroup .alt-composit {
|
|
1207
|
+
fill: #e0e0e0;
|
|
1208
|
+
border-bottom: 1px
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
.state-note {
|
|
1212
|
+
stroke: ${t.noteBorderColor};
|
|
1213
|
+
fill: ${t.noteBkgColor};
|
|
1214
|
+
|
|
1215
|
+
text {
|
|
1216
|
+
fill: ${t.noteTextColor};
|
|
1217
|
+
stroke: none;
|
|
1218
|
+
font-size: 10px;
|
|
1219
|
+
}
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
.stateLabel .box {
|
|
1223
|
+
stroke: none;
|
|
1224
|
+
stroke-width: 0;
|
|
1225
|
+
fill: ${t.mainBkg};
|
|
1226
|
+
opacity: 0.5;
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
.edgeLabel .label rect {
|
|
1230
|
+
fill: ${t.labelBackgroundColor};
|
|
1231
|
+
opacity: 0.5;
|
|
1232
|
+
}
|
|
1233
|
+
.edgeLabel {
|
|
1234
|
+
background-color: ${t.edgeLabelBackground};
|
|
1235
|
+
p {
|
|
1236
|
+
background-color: ${t.edgeLabelBackground};
|
|
1237
|
+
}
|
|
1238
|
+
rect {
|
|
1239
|
+
opacity: 0.5;
|
|
1240
|
+
background-color: ${t.edgeLabelBackground};
|
|
1241
|
+
fill: ${t.edgeLabelBackground};
|
|
1242
|
+
}
|
|
1243
|
+
text-align: center;
|
|
1244
|
+
}
|
|
1245
|
+
.edgeLabel .label text {
|
|
1246
|
+
fill: ${t.transitionLabelColor || t.tertiaryTextColor};
|
|
1247
|
+
}
|
|
1248
|
+
.label div .edgeLabel {
|
|
1249
|
+
color: ${t.transitionLabelColor || t.tertiaryTextColor};
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
.stateLabel text {
|
|
1253
|
+
fill: ${t.stateLabelColor};
|
|
1254
|
+
font-size: 10px;
|
|
1255
|
+
font-weight: bold;
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
.node circle.state-start {
|
|
1259
|
+
fill: ${t.specialStateColor};
|
|
1260
|
+
stroke: ${t.specialStateColor};
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
.node .fork-join {
|
|
1264
|
+
fill: ${t.specialStateColor};
|
|
1265
|
+
stroke: ${t.specialStateColor};
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
.node circle.state-end {
|
|
1269
|
+
fill: ${t.innerEndBackground};
|
|
1270
|
+
stroke: ${t.background};
|
|
1271
|
+
stroke-width: 1.5
|
|
1272
|
+
}
|
|
1273
|
+
.end-state-inner {
|
|
1274
|
+
fill: ${t.compositeBackground || t.background};
|
|
1275
|
+
// stroke: ${t.background};
|
|
1276
|
+
stroke-width: 1.5
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
.node rect {
|
|
1280
|
+
fill: ${t.stateBkg || t.mainBkg};
|
|
1281
|
+
stroke: ${t.stateBorder || t.nodeBorder};
|
|
1282
|
+
stroke-width: ${t.strokeWidth || 1}px;
|
|
1283
|
+
}
|
|
1284
|
+
.node polygon {
|
|
1285
|
+
fill: ${t.mainBkg};
|
|
1286
|
+
stroke: ${t.stateBorder || t.nodeBorder};;
|
|
1287
|
+
stroke-width: ${t.strokeWidth || 1}px;
|
|
1288
|
+
}
|
|
1289
|
+
[id$="-barbEnd"] {
|
|
1290
|
+
fill: ${t.lineColor};
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
.statediagram-cluster rect {
|
|
1294
|
+
fill: ${t.compositeTitleBackground};
|
|
1295
|
+
stroke: ${t.stateBorder || t.nodeBorder};
|
|
1296
|
+
stroke-width: ${t.strokeWidth || 1}px;
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
.cluster-label, .nodeLabel {
|
|
1300
|
+
color: ${t.stateLabelColor};
|
|
1301
|
+
// line-height: 1;
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
.statediagram-cluster rect.outer {
|
|
1305
|
+
rx: 5px;
|
|
1306
|
+
ry: 5px;
|
|
1307
|
+
}
|
|
1308
|
+
.statediagram-state .divider {
|
|
1309
|
+
stroke: ${t.stateBorder || t.nodeBorder};
|
|
1310
|
+
}
|
|
1311
|
+
|
|
1312
|
+
.statediagram-state .title-state {
|
|
1313
|
+
rx: 5px;
|
|
1314
|
+
ry: 5px;
|
|
1315
|
+
}
|
|
1316
|
+
.statediagram-cluster.statediagram-cluster .inner {
|
|
1317
|
+
fill: ${t.compositeBackground || t.background};
|
|
1318
|
+
}
|
|
1319
|
+
.statediagram-cluster.statediagram-cluster-alt .inner {
|
|
1320
|
+
fill: ${t.altBackground ? t.altBackground : "#efefef"};
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
.statediagram-cluster .inner {
|
|
1324
|
+
rx:0;
|
|
1325
|
+
ry:0;
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1328
|
+
.statediagram-state rect.basic {
|
|
1329
|
+
rx: 5px;
|
|
1330
|
+
ry: 5px;
|
|
1331
|
+
}
|
|
1332
|
+
.statediagram-state rect.divider {
|
|
1333
|
+
stroke-dasharray: 10,10;
|
|
1334
|
+
fill: ${t.altBackground ? t.altBackground : "#efefef"};
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
.note-edge {
|
|
1338
|
+
stroke-dasharray: 5;
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1341
|
+
.statediagram-note rect {
|
|
1342
|
+
fill: ${t.noteBkgColor};
|
|
1343
|
+
stroke: ${t.noteBorderColor};
|
|
1344
|
+
stroke-width: 1px;
|
|
1345
|
+
rx: 0;
|
|
1346
|
+
ry: 0;
|
|
1347
|
+
}
|
|
1348
|
+
.statediagram-note rect {
|
|
1349
|
+
fill: ${t.noteBkgColor};
|
|
1350
|
+
stroke: ${t.noteBorderColor};
|
|
1351
|
+
stroke-width: 1px;
|
|
1352
|
+
rx: 0;
|
|
1353
|
+
ry: 0;
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1356
|
+
.statediagram-note text {
|
|
1357
|
+
fill: ${t.noteTextColor};
|
|
1358
|
+
}
|
|
1359
|
+
|
|
1360
|
+
.statediagram-note .nodeLabel {
|
|
1361
|
+
color: ${t.noteTextColor};
|
|
1362
|
+
}
|
|
1363
|
+
.statediagram .edgeLabel {
|
|
1364
|
+
color: red; // ${t.noteTextColor};
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
[id$="-dependencyStart"], [id$="-dependencyEnd"] {
|
|
1368
|
+
fill: ${t.lineColor};
|
|
1369
|
+
stroke: ${t.lineColor};
|
|
1370
|
+
stroke-width: ${t.strokeWidth || 1};
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1373
|
+
.statediagramTitleText {
|
|
1374
|
+
text-anchor: middle;
|
|
1375
|
+
font-size: 18px;
|
|
1376
|
+
fill: ${t.textColor};
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
[data-look="neo"].statediagram-cluster rect {
|
|
1380
|
+
fill: ${t.mainBkg};
|
|
1381
|
+
stroke: ${t.useGradient ? "url(" + t.svgId + "-gradient)" : t.stateBorder || t.nodeBorder};
|
|
1382
|
+
stroke-width: ${t.strokeWidth ?? 1};
|
|
1383
|
+
}
|
|
1384
|
+
[data-look="neo"].statediagram-cluster rect.outer {
|
|
1385
|
+
rx: ${t.radius}px;
|
|
1386
|
+
ry: ${t.radius}px;
|
|
1387
|
+
filter: ${t.dropShadow ? t.dropShadow.replace("url(#drop-shadow)", `url(${t.svgId}-drop-shadow)`) : "none"}
|
|
1388
|
+
}
|
|
1389
|
+
`, "getStyles"), Me = $e;
|
|
1390
|
+
export {
|
|
1391
|
+
Ve as S,
|
|
1392
|
+
Ge as a,
|
|
1393
|
+
Ye as b,
|
|
1394
|
+
Me as s
|
|
1395
|
+
};
|
|
1396
|
+
//# sourceMappingURL=chunk-AQP2D5EJ-CZHGw4se.js.map
|