@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,837 @@
|
|
|
1
|
+
import { g as gt } from "./chunk-FMBD7UC4-CyqtPCO0.js";
|
|
2
|
+
import { a as mt, g as lt, h as xt, d as kt } from "./chunk-ND2GUHAM-CzTviSBV.js";
|
|
3
|
+
import { g as _t, s as bt, a as vt, b as wt, t as Tt, q as St, _ as s, c as R, d as X, e as $t, B as Mt } from "./mermaid-GHXKKRXX-C5Y3BZXR.js";
|
|
4
|
+
import { d as it } from "./arc-DGQIe3ON.js";
|
|
5
|
+
globalThis.process = globalThis.process || { env: {} };
|
|
6
|
+
globalThis.global = globalThis.global || globalThis;
|
|
7
|
+
var U = (function() {
|
|
8
|
+
var t = /* @__PURE__ */ s(function(h, r, n, l) {
|
|
9
|
+
for (n = n || {}, l = h.length; l--; n[h[l]] = r) ;
|
|
10
|
+
return n;
|
|
11
|
+
}, "o"), e = [6, 8, 10, 11, 12, 14, 16, 17, 18], a = [1, 9], f = [1, 10], i = [1, 11], u = [1, 12], p = [1, 13], o = [1, 14], g = {
|
|
12
|
+
trace: /* @__PURE__ */ s(function() {
|
|
13
|
+
}, "trace"),
|
|
14
|
+
yy: {},
|
|
15
|
+
symbols_: { error: 2, start: 3, journey: 4, document: 5, EOF: 6, line: 7, SPACE: 8, statement: 9, NEWLINE: 10, title: 11, acc_title: 12, acc_title_value: 13, acc_descr: 14, acc_descr_value: 15, acc_descr_multiline_value: 16, section: 17, taskName: 18, taskData: 19, $accept: 0, $end: 1 },
|
|
16
|
+
terminals_: { 2: "error", 4: "journey", 6: "EOF", 8: "SPACE", 10: "NEWLINE", 11: "title", 12: "acc_title", 13: "acc_title_value", 14: "acc_descr", 15: "acc_descr_value", 16: "acc_descr_multiline_value", 17: "section", 18: "taskName", 19: "taskData" },
|
|
17
|
+
productions_: [0, [3, 3], [5, 0], [5, 2], [7, 2], [7, 1], [7, 1], [7, 1], [9, 1], [9, 2], [9, 2], [9, 1], [9, 1], [9, 2]],
|
|
18
|
+
performAction: /* @__PURE__ */ s(function(r, n, l, y, d, c, b) {
|
|
19
|
+
var k = c.length - 1;
|
|
20
|
+
switch (d) {
|
|
21
|
+
case 1:
|
|
22
|
+
return c[k - 1];
|
|
23
|
+
case 2:
|
|
24
|
+
this.$ = [];
|
|
25
|
+
break;
|
|
26
|
+
case 3:
|
|
27
|
+
c[k - 1].push(c[k]), this.$ = c[k - 1];
|
|
28
|
+
break;
|
|
29
|
+
case 4:
|
|
30
|
+
case 5:
|
|
31
|
+
this.$ = c[k];
|
|
32
|
+
break;
|
|
33
|
+
case 6:
|
|
34
|
+
case 7:
|
|
35
|
+
this.$ = [];
|
|
36
|
+
break;
|
|
37
|
+
case 8:
|
|
38
|
+
y.setDiagramTitle(c[k].substr(6)), this.$ = c[k].substr(6);
|
|
39
|
+
break;
|
|
40
|
+
case 9:
|
|
41
|
+
this.$ = c[k].trim(), y.setAccTitle(this.$);
|
|
42
|
+
break;
|
|
43
|
+
case 10:
|
|
44
|
+
case 11:
|
|
45
|
+
this.$ = c[k].trim(), y.setAccDescription(this.$);
|
|
46
|
+
break;
|
|
47
|
+
case 12:
|
|
48
|
+
y.addSection(c[k].substr(8)), this.$ = c[k].substr(8);
|
|
49
|
+
break;
|
|
50
|
+
case 13:
|
|
51
|
+
y.addTask(c[k - 1], c[k]), this.$ = "task";
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
}, "anonymous"),
|
|
55
|
+
table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, t(e, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: a, 12: f, 14: i, 16: u, 17: p, 18: o }, t(e, [2, 7], { 1: [2, 1] }), t(e, [2, 3]), { 9: 15, 11: a, 12: f, 14: i, 16: u, 17: p, 18: o }, t(e, [2, 5]), t(e, [2, 6]), t(e, [2, 8]), { 13: [1, 16] }, { 15: [1, 17] }, t(e, [2, 11]), t(e, [2, 12]), { 19: [1, 18] }, t(e, [2, 4]), t(e, [2, 9]), t(e, [2, 10]), t(e, [2, 13])],
|
|
56
|
+
defaultActions: {},
|
|
57
|
+
parseError: /* @__PURE__ */ s(function(r, n) {
|
|
58
|
+
if (n.recoverable)
|
|
59
|
+
this.trace(r);
|
|
60
|
+
else {
|
|
61
|
+
var l = new Error(r);
|
|
62
|
+
throw l.hash = n, l;
|
|
63
|
+
}
|
|
64
|
+
}, "parseError"),
|
|
65
|
+
parse: /* @__PURE__ */ s(function(r) {
|
|
66
|
+
var n = this, l = [0], y = [], d = [null], c = [], b = this.table, k = "", C = 0, Q = 0, yt = 2, D = 1, dt = c.slice.call(arguments, 1), _ = Object.create(this.lexer), I = { yy: {} };
|
|
67
|
+
for (var O in this.yy)
|
|
68
|
+
Object.prototype.hasOwnProperty.call(this.yy, O) && (I.yy[O] = this.yy[O]);
|
|
69
|
+
_.setInput(r, I.yy), I.yy.lexer = _, I.yy.parser = this, typeof _.yylloc > "u" && (_.yylloc = {});
|
|
70
|
+
var Y = _.yylloc;
|
|
71
|
+
c.push(Y);
|
|
72
|
+
var ft = _.options && _.options.ranges;
|
|
73
|
+
typeof I.yy.parseError == "function" ? this.parseError = I.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
74
|
+
function pt(w) {
|
|
75
|
+
l.length = l.length - 2 * w, d.length = d.length - w, c.length = c.length - w;
|
|
76
|
+
}
|
|
77
|
+
s(pt, "popStack");
|
|
78
|
+
function tt() {
|
|
79
|
+
var w;
|
|
80
|
+
return w = y.pop() || _.lex() || D, typeof w != "number" && (w instanceof Array && (y = w, w = y.pop()), w = n.symbols_[w] || w), w;
|
|
81
|
+
}
|
|
82
|
+
s(tt, "lex");
|
|
83
|
+
for (var v, A, T, q, F = {}, N, M, et, z; ; ) {
|
|
84
|
+
if (A = l[l.length - 1], this.defaultActions[A] ? T = this.defaultActions[A] : ((v === null || typeof v > "u") && (v = tt()), T = b[A] && b[A][v]), typeof T > "u" || !T.length || !T[0]) {
|
|
85
|
+
var H = "";
|
|
86
|
+
z = [];
|
|
87
|
+
for (N in b[A])
|
|
88
|
+
this.terminals_[N] && N > yt && z.push("'" + this.terminals_[N] + "'");
|
|
89
|
+
_.showPosition ? H = "Parse error on line " + (C + 1) + `:
|
|
90
|
+
` + _.showPosition() + `
|
|
91
|
+
Expecting ` + z.join(", ") + ", got '" + (this.terminals_[v] || v) + "'" : H = "Parse error on line " + (C + 1) + ": Unexpected " + (v == D ? "end of input" : "'" + (this.terminals_[v] || v) + "'"), this.parseError(H, {
|
|
92
|
+
text: _.match,
|
|
93
|
+
token: this.terminals_[v] || v,
|
|
94
|
+
line: _.yylineno,
|
|
95
|
+
loc: Y,
|
|
96
|
+
expected: z
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
if (T[0] instanceof Array && T.length > 1)
|
|
100
|
+
throw new Error("Parse Error: multiple actions possible at state: " + A + ", token: " + v);
|
|
101
|
+
switch (T[0]) {
|
|
102
|
+
case 1:
|
|
103
|
+
l.push(v), d.push(_.yytext), c.push(_.yylloc), l.push(T[1]), v = null, Q = _.yyleng, k = _.yytext, C = _.yylineno, Y = _.yylloc;
|
|
104
|
+
break;
|
|
105
|
+
case 2:
|
|
106
|
+
if (M = this.productions_[T[1]][1], F.$ = d[d.length - M], F._$ = {
|
|
107
|
+
first_line: c[c.length - (M || 1)].first_line,
|
|
108
|
+
last_line: c[c.length - 1].last_line,
|
|
109
|
+
first_column: c[c.length - (M || 1)].first_column,
|
|
110
|
+
last_column: c[c.length - 1].last_column
|
|
111
|
+
}, ft && (F._$.range = [
|
|
112
|
+
c[c.length - (M || 1)].range[0],
|
|
113
|
+
c[c.length - 1].range[1]
|
|
114
|
+
]), q = this.performAction.apply(F, [
|
|
115
|
+
k,
|
|
116
|
+
Q,
|
|
117
|
+
C,
|
|
118
|
+
I.yy,
|
|
119
|
+
T[1],
|
|
120
|
+
d,
|
|
121
|
+
c
|
|
122
|
+
].concat(dt)), typeof q < "u")
|
|
123
|
+
return q;
|
|
124
|
+
M && (l = l.slice(0, -1 * M * 2), d = d.slice(0, -1 * M), c = c.slice(0, -1 * M)), l.push(this.productions_[T[1]][0]), d.push(F.$), c.push(F._$), et = b[l[l.length - 2]][l[l.length - 1]], l.push(et);
|
|
125
|
+
break;
|
|
126
|
+
case 3:
|
|
127
|
+
return !0;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
return !0;
|
|
131
|
+
}, "parse")
|
|
132
|
+
}, m = /* @__PURE__ */ (function() {
|
|
133
|
+
var h = {
|
|
134
|
+
EOF: 1,
|
|
135
|
+
parseError: /* @__PURE__ */ s(function(n, l) {
|
|
136
|
+
if (this.yy.parser)
|
|
137
|
+
this.yy.parser.parseError(n, l);
|
|
138
|
+
else
|
|
139
|
+
throw new Error(n);
|
|
140
|
+
}, "parseError"),
|
|
141
|
+
// resets the lexer, sets new input
|
|
142
|
+
setInput: /* @__PURE__ */ s(function(r, n) {
|
|
143
|
+
return this.yy = n || this.yy || {}, this._input = r, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
144
|
+
first_line: 1,
|
|
145
|
+
first_column: 0,
|
|
146
|
+
last_line: 1,
|
|
147
|
+
last_column: 0
|
|
148
|
+
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
149
|
+
}, "setInput"),
|
|
150
|
+
// consumes and returns one char from the input
|
|
151
|
+
input: /* @__PURE__ */ s(function() {
|
|
152
|
+
var r = this._input[0];
|
|
153
|
+
this.yytext += r, this.yyleng++, this.offset++, this.match += r, this.matched += r;
|
|
154
|
+
var n = r.match(/(?:\r\n?|\n).*/g);
|
|
155
|
+
return n ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), r;
|
|
156
|
+
}, "input"),
|
|
157
|
+
// unshifts one char (or a string) into the input
|
|
158
|
+
unput: /* @__PURE__ */ s(function(r) {
|
|
159
|
+
var n = r.length, l = r.split(/(?:\r\n?|\n)/g);
|
|
160
|
+
this._input = r + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - n), this.offset -= n;
|
|
161
|
+
var y = this.match.split(/(?:\r\n?|\n)/g);
|
|
162
|
+
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), l.length - 1 && (this.yylineno -= l.length - 1);
|
|
163
|
+
var d = this.yylloc.range;
|
|
164
|
+
return this.yylloc = {
|
|
165
|
+
first_line: this.yylloc.first_line,
|
|
166
|
+
last_line: this.yylineno + 1,
|
|
167
|
+
first_column: this.yylloc.first_column,
|
|
168
|
+
last_column: l ? (l.length === y.length ? this.yylloc.first_column : 0) + y[y.length - l.length].length - l[0].length : this.yylloc.first_column - n
|
|
169
|
+
}, this.options.ranges && (this.yylloc.range = [d[0], d[0] + this.yyleng - n]), this.yyleng = this.yytext.length, this;
|
|
170
|
+
}, "unput"),
|
|
171
|
+
// When called from action, caches matched text and appends it on next action
|
|
172
|
+
more: /* @__PURE__ */ s(function() {
|
|
173
|
+
return this._more = !0, this;
|
|
174
|
+
}, "more"),
|
|
175
|
+
// 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.
|
|
176
|
+
reject: /* @__PURE__ */ s(function() {
|
|
177
|
+
if (this.options.backtrack_lexer)
|
|
178
|
+
this._backtrack = !0;
|
|
179
|
+
else
|
|
180
|
+
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).
|
|
181
|
+
` + this.showPosition(), {
|
|
182
|
+
text: "",
|
|
183
|
+
token: null,
|
|
184
|
+
line: this.yylineno
|
|
185
|
+
});
|
|
186
|
+
return this;
|
|
187
|
+
}, "reject"),
|
|
188
|
+
// retain first n characters of the match
|
|
189
|
+
less: /* @__PURE__ */ s(function(r) {
|
|
190
|
+
this.unput(this.match.slice(r));
|
|
191
|
+
}, "less"),
|
|
192
|
+
// displays already matched input, i.e. for error messages
|
|
193
|
+
pastInput: /* @__PURE__ */ s(function() {
|
|
194
|
+
var r = this.matched.substr(0, this.matched.length - this.match.length);
|
|
195
|
+
return (r.length > 20 ? "..." : "") + r.substr(-20).replace(/\n/g, "");
|
|
196
|
+
}, "pastInput"),
|
|
197
|
+
// displays upcoming input, i.e. for error messages
|
|
198
|
+
upcomingInput: /* @__PURE__ */ s(function() {
|
|
199
|
+
var r = this.match;
|
|
200
|
+
return r.length < 20 && (r += this._input.substr(0, 20 - r.length)), (r.substr(0, 20) + (r.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
201
|
+
}, "upcomingInput"),
|
|
202
|
+
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
203
|
+
showPosition: /* @__PURE__ */ s(function() {
|
|
204
|
+
var r = this.pastInput(), n = new Array(r.length + 1).join("-");
|
|
205
|
+
return r + this.upcomingInput() + `
|
|
206
|
+
` + n + "^";
|
|
207
|
+
}, "showPosition"),
|
|
208
|
+
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
209
|
+
test_match: /* @__PURE__ */ s(function(r, n) {
|
|
210
|
+
var l, y, d;
|
|
211
|
+
if (this.options.backtrack_lexer && (d = {
|
|
212
|
+
yylineno: this.yylineno,
|
|
213
|
+
yylloc: {
|
|
214
|
+
first_line: this.yylloc.first_line,
|
|
215
|
+
last_line: this.last_line,
|
|
216
|
+
first_column: this.yylloc.first_column,
|
|
217
|
+
last_column: this.yylloc.last_column
|
|
218
|
+
},
|
|
219
|
+
yytext: this.yytext,
|
|
220
|
+
match: this.match,
|
|
221
|
+
matches: this.matches,
|
|
222
|
+
matched: this.matched,
|
|
223
|
+
yyleng: this.yyleng,
|
|
224
|
+
offset: this.offset,
|
|
225
|
+
_more: this._more,
|
|
226
|
+
_input: this._input,
|
|
227
|
+
yy: this.yy,
|
|
228
|
+
conditionStack: this.conditionStack.slice(0),
|
|
229
|
+
done: this.done
|
|
230
|
+
}, this.options.ranges && (d.yylloc.range = this.yylloc.range.slice(0))), y = r[0].match(/(?:\r\n?|\n).*/g), y && (this.yylineno += y.length), this.yylloc = {
|
|
231
|
+
first_line: this.yylloc.last_line,
|
|
232
|
+
last_line: this.yylineno + 1,
|
|
233
|
+
first_column: this.yylloc.last_column,
|
|
234
|
+
last_column: y ? y[y.length - 1].length - y[y.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + r[0].length
|
|
235
|
+
}, this.yytext += r[0], this.match += r[0], this.matches = r, 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(r[0].length), this.matched += r[0], l = this.performAction.call(this, this.yy, this, n, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), l)
|
|
236
|
+
return l;
|
|
237
|
+
if (this._backtrack) {
|
|
238
|
+
for (var c in d)
|
|
239
|
+
this[c] = d[c];
|
|
240
|
+
return !1;
|
|
241
|
+
}
|
|
242
|
+
return !1;
|
|
243
|
+
}, "test_match"),
|
|
244
|
+
// return next match in input
|
|
245
|
+
next: /* @__PURE__ */ s(function() {
|
|
246
|
+
if (this.done)
|
|
247
|
+
return this.EOF;
|
|
248
|
+
this._input || (this.done = !0);
|
|
249
|
+
var r, n, l, y;
|
|
250
|
+
this._more || (this.yytext = "", this.match = "");
|
|
251
|
+
for (var d = this._currentRules(), c = 0; c < d.length; c++)
|
|
252
|
+
if (l = this._input.match(this.rules[d[c]]), l && (!n || l[0].length > n[0].length)) {
|
|
253
|
+
if (n = l, y = c, this.options.backtrack_lexer) {
|
|
254
|
+
if (r = this.test_match(l, d[c]), r !== !1)
|
|
255
|
+
return r;
|
|
256
|
+
if (this._backtrack) {
|
|
257
|
+
n = !1;
|
|
258
|
+
continue;
|
|
259
|
+
} else
|
|
260
|
+
return !1;
|
|
261
|
+
} else if (!this.options.flex)
|
|
262
|
+
break;
|
|
263
|
+
}
|
|
264
|
+
return n ? (r = this.test_match(n, d[y]), r !== !1 ? r : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
265
|
+
` + this.showPosition(), {
|
|
266
|
+
text: "",
|
|
267
|
+
token: null,
|
|
268
|
+
line: this.yylineno
|
|
269
|
+
});
|
|
270
|
+
}, "next"),
|
|
271
|
+
// return next match that has a token
|
|
272
|
+
lex: /* @__PURE__ */ s(function() {
|
|
273
|
+
var n = this.next();
|
|
274
|
+
return n || this.lex();
|
|
275
|
+
}, "lex"),
|
|
276
|
+
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
|
|
277
|
+
begin: /* @__PURE__ */ s(function(n) {
|
|
278
|
+
this.conditionStack.push(n);
|
|
279
|
+
}, "begin"),
|
|
280
|
+
// pop the previously active lexer condition state off the condition stack
|
|
281
|
+
popState: /* @__PURE__ */ s(function() {
|
|
282
|
+
var n = this.conditionStack.length - 1;
|
|
283
|
+
return n > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
284
|
+
}, "popState"),
|
|
285
|
+
// produce the lexer rule set which is active for the currently active lexer condition state
|
|
286
|
+
_currentRules: /* @__PURE__ */ s(function() {
|
|
287
|
+
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
288
|
+
}, "_currentRules"),
|
|
289
|
+
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
|
|
290
|
+
topState: /* @__PURE__ */ s(function(n) {
|
|
291
|
+
return n = this.conditionStack.length - 1 - Math.abs(n || 0), n >= 0 ? this.conditionStack[n] : "INITIAL";
|
|
292
|
+
}, "topState"),
|
|
293
|
+
// alias for begin(condition)
|
|
294
|
+
pushState: /* @__PURE__ */ s(function(n) {
|
|
295
|
+
this.begin(n);
|
|
296
|
+
}, "pushState"),
|
|
297
|
+
// return the number of states currently on the stack
|
|
298
|
+
stateStackSize: /* @__PURE__ */ s(function() {
|
|
299
|
+
return this.conditionStack.length;
|
|
300
|
+
}, "stateStackSize"),
|
|
301
|
+
options: { "case-insensitive": !0 },
|
|
302
|
+
performAction: /* @__PURE__ */ s(function(n, l, y, d) {
|
|
303
|
+
switch (y) {
|
|
304
|
+
case 0:
|
|
305
|
+
break;
|
|
306
|
+
case 1:
|
|
307
|
+
break;
|
|
308
|
+
case 2:
|
|
309
|
+
return 10;
|
|
310
|
+
case 3:
|
|
311
|
+
break;
|
|
312
|
+
case 4:
|
|
313
|
+
break;
|
|
314
|
+
case 5:
|
|
315
|
+
return 4;
|
|
316
|
+
case 6:
|
|
317
|
+
return 11;
|
|
318
|
+
case 7:
|
|
319
|
+
return this.begin("acc_title"), 12;
|
|
320
|
+
case 8:
|
|
321
|
+
return this.popState(), "acc_title_value";
|
|
322
|
+
case 9:
|
|
323
|
+
return this.begin("acc_descr"), 14;
|
|
324
|
+
case 10:
|
|
325
|
+
return this.popState(), "acc_descr_value";
|
|
326
|
+
case 11:
|
|
327
|
+
this.begin("acc_descr_multiline");
|
|
328
|
+
break;
|
|
329
|
+
case 12:
|
|
330
|
+
this.popState();
|
|
331
|
+
break;
|
|
332
|
+
case 13:
|
|
333
|
+
return "acc_descr_multiline_value";
|
|
334
|
+
case 14:
|
|
335
|
+
return 17;
|
|
336
|
+
case 15:
|
|
337
|
+
return 18;
|
|
338
|
+
case 16:
|
|
339
|
+
return 19;
|
|
340
|
+
case 17:
|
|
341
|
+
return ":";
|
|
342
|
+
case 18:
|
|
343
|
+
return 6;
|
|
344
|
+
case 19:
|
|
345
|
+
return "INVALID";
|
|
346
|
+
}
|
|
347
|
+
}, "anonymous"),
|
|
348
|
+
rules: [/^(?:%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?:#[^\n]*)/i, /^(?:journey\b)/i, /^(?:title\s[^#\n;]+)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:section\s[^#:\n;]+)/i, /^(?:[^#:\n;]+)/i, /^(?::[^#\n;]+)/i, /^(?::)/i, /^(?:$)/i, /^(?:.)/i],
|
|
349
|
+
conditions: { acc_descr_multiline: { rules: [12, 13], inclusive: !1 }, acc_descr: { rules: [10], inclusive: !1 }, acc_title: { rules: [8], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 19], inclusive: !0 } }
|
|
350
|
+
};
|
|
351
|
+
return h;
|
|
352
|
+
})();
|
|
353
|
+
g.lexer = m;
|
|
354
|
+
function x() {
|
|
355
|
+
this.yy = {};
|
|
356
|
+
}
|
|
357
|
+
return s(x, "Parser"), x.prototype = g, g.Parser = x, new x();
|
|
358
|
+
})();
|
|
359
|
+
U.parser = U;
|
|
360
|
+
var Et = U, V = "", J = [], L = [], B = [], Ct = /* @__PURE__ */ s(function() {
|
|
361
|
+
J.length = 0, L.length = 0, V = "", B.length = 0, Mt();
|
|
362
|
+
}, "clear"), Pt = /* @__PURE__ */ s(function(t) {
|
|
363
|
+
V = t, J.push(t);
|
|
364
|
+
}, "addSection"), It = /* @__PURE__ */ s(function() {
|
|
365
|
+
return J;
|
|
366
|
+
}, "getSections"), At = /* @__PURE__ */ s(function() {
|
|
367
|
+
let t = rt();
|
|
368
|
+
const e = 100;
|
|
369
|
+
let a = 0;
|
|
370
|
+
for (; !t && a < e; )
|
|
371
|
+
t = rt(), a++;
|
|
372
|
+
return L.push(...B), L;
|
|
373
|
+
}, "getTasks"), Ft = /* @__PURE__ */ s(function() {
|
|
374
|
+
const t = [];
|
|
375
|
+
return L.forEach((a) => {
|
|
376
|
+
a.people && t.push(...a.people);
|
|
377
|
+
}), [...new Set(t)].sort();
|
|
378
|
+
}, "updateActors"), Vt = /* @__PURE__ */ s(function(t, e) {
|
|
379
|
+
const a = e.substr(1).split(":");
|
|
380
|
+
let f = 0, i = [];
|
|
381
|
+
a.length === 1 ? (f = Number(a[0]), i = []) : (f = Number(a[0]), i = a[1].split(","));
|
|
382
|
+
const u = i.map((o) => o.trim()), p = {
|
|
383
|
+
section: V,
|
|
384
|
+
type: V,
|
|
385
|
+
people: u,
|
|
386
|
+
task: t,
|
|
387
|
+
score: f
|
|
388
|
+
};
|
|
389
|
+
B.push(p);
|
|
390
|
+
}, "addTask"), Rt = /* @__PURE__ */ s(function(t) {
|
|
391
|
+
const e = {
|
|
392
|
+
section: V,
|
|
393
|
+
type: V,
|
|
394
|
+
description: t,
|
|
395
|
+
task: t,
|
|
396
|
+
classes: []
|
|
397
|
+
};
|
|
398
|
+
L.push(e);
|
|
399
|
+
}, "addTaskOrg"), rt = /* @__PURE__ */ s(function() {
|
|
400
|
+
const t = /* @__PURE__ */ s(function(a) {
|
|
401
|
+
return B[a].processed;
|
|
402
|
+
}, "compileTask");
|
|
403
|
+
let e = !0;
|
|
404
|
+
for (const [a, f] of B.entries())
|
|
405
|
+
t(a), e = e && f.processed;
|
|
406
|
+
return e;
|
|
407
|
+
}, "compileTasks"), Lt = /* @__PURE__ */ s(function() {
|
|
408
|
+
return Ft();
|
|
409
|
+
}, "getActors"), nt = {
|
|
410
|
+
getConfig: /* @__PURE__ */ s(() => R().journey, "getConfig"),
|
|
411
|
+
clear: Ct,
|
|
412
|
+
setDiagramTitle: St,
|
|
413
|
+
getDiagramTitle: Tt,
|
|
414
|
+
setAccTitle: wt,
|
|
415
|
+
getAccTitle: vt,
|
|
416
|
+
setAccDescription: bt,
|
|
417
|
+
getAccDescription: _t,
|
|
418
|
+
addSection: Pt,
|
|
419
|
+
getSections: It,
|
|
420
|
+
getTasks: At,
|
|
421
|
+
addTask: Vt,
|
|
422
|
+
addTaskOrg: Rt,
|
|
423
|
+
getActors: Lt
|
|
424
|
+
}, Bt = /* @__PURE__ */ s((t) => `.label {
|
|
425
|
+
font-family: ${t.fontFamily};
|
|
426
|
+
color: ${t.textColor};
|
|
427
|
+
}
|
|
428
|
+
.mouth {
|
|
429
|
+
stroke: #666;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
line {
|
|
433
|
+
stroke: ${t.textColor}
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.legend {
|
|
437
|
+
fill: ${t.textColor};
|
|
438
|
+
font-family: ${t.fontFamily};
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.label text {
|
|
442
|
+
fill: #333;
|
|
443
|
+
}
|
|
444
|
+
.label {
|
|
445
|
+
color: ${t.textColor}
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.face {
|
|
449
|
+
${t.faceColor ? `fill: ${t.faceColor}` : "fill: #FFF8DC"};
|
|
450
|
+
stroke: #999;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.node rect,
|
|
454
|
+
.node circle,
|
|
455
|
+
.node ellipse,
|
|
456
|
+
.node polygon,
|
|
457
|
+
.node path {
|
|
458
|
+
fill: ${t.mainBkg};
|
|
459
|
+
stroke: ${t.nodeBorder};
|
|
460
|
+
stroke-width: 1px;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.node .label {
|
|
464
|
+
text-align: center;
|
|
465
|
+
}
|
|
466
|
+
.node.clickable {
|
|
467
|
+
cursor: pointer;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
.arrowheadPath {
|
|
471
|
+
fill: ${t.arrowheadColor};
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.edgePath .path {
|
|
475
|
+
stroke: ${t.lineColor};
|
|
476
|
+
stroke-width: 1.5px;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.flowchart-link {
|
|
480
|
+
stroke: ${t.lineColor};
|
|
481
|
+
fill: none;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.edgeLabel {
|
|
485
|
+
background-color: ${t.edgeLabelBackground};
|
|
486
|
+
rect {
|
|
487
|
+
opacity: 0.5;
|
|
488
|
+
}
|
|
489
|
+
text-align: center;
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
.cluster rect {
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
.cluster text {
|
|
496
|
+
fill: ${t.titleColor};
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
div.mermaidTooltip {
|
|
500
|
+
position: absolute;
|
|
501
|
+
text-align: center;
|
|
502
|
+
max-width: 200px;
|
|
503
|
+
padding: 2px;
|
|
504
|
+
font-family: ${t.fontFamily};
|
|
505
|
+
font-size: 12px;
|
|
506
|
+
background: ${t.tertiaryColor};
|
|
507
|
+
border: 1px solid ${t.border2};
|
|
508
|
+
border-radius: 2px;
|
|
509
|
+
pointer-events: none;
|
|
510
|
+
z-index: 100;
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.task-type-0, .section-type-0 {
|
|
514
|
+
${t.fillType0 ? `fill: ${t.fillType0}` : ""};
|
|
515
|
+
}
|
|
516
|
+
.task-type-1, .section-type-1 {
|
|
517
|
+
${t.fillType0 ? `fill: ${t.fillType1}` : ""};
|
|
518
|
+
}
|
|
519
|
+
.task-type-2, .section-type-2 {
|
|
520
|
+
${t.fillType0 ? `fill: ${t.fillType2}` : ""};
|
|
521
|
+
}
|
|
522
|
+
.task-type-3, .section-type-3 {
|
|
523
|
+
${t.fillType0 ? `fill: ${t.fillType3}` : ""};
|
|
524
|
+
}
|
|
525
|
+
.task-type-4, .section-type-4 {
|
|
526
|
+
${t.fillType0 ? `fill: ${t.fillType4}` : ""};
|
|
527
|
+
}
|
|
528
|
+
.task-type-5, .section-type-5 {
|
|
529
|
+
${t.fillType0 ? `fill: ${t.fillType5}` : ""};
|
|
530
|
+
}
|
|
531
|
+
.task-type-6, .section-type-6 {
|
|
532
|
+
${t.fillType0 ? `fill: ${t.fillType6}` : ""};
|
|
533
|
+
}
|
|
534
|
+
.task-type-7, .section-type-7 {
|
|
535
|
+
${t.fillType0 ? `fill: ${t.fillType7}` : ""};
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
.actor-0 {
|
|
539
|
+
${t.actor0 ? `fill: ${t.actor0}` : ""};
|
|
540
|
+
}
|
|
541
|
+
.actor-1 {
|
|
542
|
+
${t.actor1 ? `fill: ${t.actor1}` : ""};
|
|
543
|
+
}
|
|
544
|
+
.actor-2 {
|
|
545
|
+
${t.actor2 ? `fill: ${t.actor2}` : ""};
|
|
546
|
+
}
|
|
547
|
+
.actor-3 {
|
|
548
|
+
${t.actor3 ? `fill: ${t.actor3}` : ""};
|
|
549
|
+
}
|
|
550
|
+
.actor-4 {
|
|
551
|
+
${t.actor4 ? `fill: ${t.actor4}` : ""};
|
|
552
|
+
}
|
|
553
|
+
.actor-5 {
|
|
554
|
+
${t.actor5 ? `fill: ${t.actor5}` : ""};
|
|
555
|
+
}
|
|
556
|
+
${gt()}
|
|
557
|
+
`, "getStyles"), jt = Bt, K = /* @__PURE__ */ s(function(t, e) {
|
|
558
|
+
return kt(t, e);
|
|
559
|
+
}, "drawRect"), Nt = /* @__PURE__ */ s(function(t, e) {
|
|
560
|
+
const f = t.append("circle").attr("cx", e.cx).attr("cy", e.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), i = t.append("g");
|
|
561
|
+
i.append("circle").attr("cx", e.cx - 15 / 3).attr("cy", e.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666"), i.append("circle").attr("cx", e.cx + 15 / 3).attr("cy", e.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
|
|
562
|
+
function u(g) {
|
|
563
|
+
const m = it().startAngle(Math.PI / 2).endAngle(3 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
|
|
564
|
+
g.append("path").attr("class", "mouth").attr("d", m).attr("transform", "translate(" + e.cx + "," + (e.cy + 2) + ")");
|
|
565
|
+
}
|
|
566
|
+
s(u, "smile");
|
|
567
|
+
function p(g) {
|
|
568
|
+
const m = it().startAngle(3 * Math.PI / 2).endAngle(5 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
|
|
569
|
+
g.append("path").attr("class", "mouth").attr("d", m).attr("transform", "translate(" + e.cx + "," + (e.cy + 7) + ")");
|
|
570
|
+
}
|
|
571
|
+
s(p, "sad");
|
|
572
|
+
function o(g) {
|
|
573
|
+
g.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", e.cx - 5).attr("y1", e.cy + 7).attr("x2", e.cx + 5).attr("y2", e.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
|
|
574
|
+
}
|
|
575
|
+
return s(o, "ambivalent"), e.score > 3 ? u(i) : e.score < 3 ? p(i) : o(i), f;
|
|
576
|
+
}, "drawFace"), ot = /* @__PURE__ */ s(function(t, e) {
|
|
577
|
+
const a = t.append("circle");
|
|
578
|
+
return a.attr("cx", e.cx), a.attr("cy", e.cy), a.attr("class", "actor-" + e.pos), a.attr("fill", e.fill), a.attr("stroke", e.stroke), a.attr("r", e.r), a.class !== void 0 && a.attr("class", a.class), e.title !== void 0 && a.append("title").text(e.title), a;
|
|
579
|
+
}, "drawCircle"), ct = /* @__PURE__ */ s(function(t, e) {
|
|
580
|
+
return xt(t, e);
|
|
581
|
+
}, "drawText"), zt = /* @__PURE__ */ s(function(t, e) {
|
|
582
|
+
function a(i, u, p, o, g) {
|
|
583
|
+
return i + "," + u + " " + (i + p) + "," + u + " " + (i + p) + "," + (u + o - g) + " " + (i + p - g * 1.2) + "," + (u + o) + " " + i + "," + (u + o);
|
|
584
|
+
}
|
|
585
|
+
s(a, "genPoints");
|
|
586
|
+
const f = t.append("polygon");
|
|
587
|
+
f.attr("points", a(e.x, e.y, 50, 20, 7)), f.attr("class", "labelBox"), e.y = e.y + e.labelMargin, e.x = e.x + 0.5 * e.labelMargin, ct(t, e);
|
|
588
|
+
}, "drawLabel"), Wt = /* @__PURE__ */ s(function(t, e, a) {
|
|
589
|
+
const f = t.append("g"), i = lt();
|
|
590
|
+
i.x = e.x, i.y = e.y, i.fill = e.fill, i.width = a.width * e.taskCount + // width of the tasks
|
|
591
|
+
a.diagramMarginX * (e.taskCount - 1), i.height = a.height, i.class = "journey-section section-type-" + e.num, i.rx = 3, i.ry = 3, K(f, i), ht(a)(
|
|
592
|
+
e.text,
|
|
593
|
+
f,
|
|
594
|
+
i.x,
|
|
595
|
+
i.y,
|
|
596
|
+
i.width,
|
|
597
|
+
i.height,
|
|
598
|
+
{ class: "journey-section section-type-" + e.num },
|
|
599
|
+
a,
|
|
600
|
+
e.colour
|
|
601
|
+
);
|
|
602
|
+
}, "drawSection"), Z = -1, Ot = /* @__PURE__ */ s(function(t, e, a, f) {
|
|
603
|
+
const i = e.x + a.width / 2, u = t.append("g");
|
|
604
|
+
Z++, u.append("line").attr("id", f + "-task" + Z).attr("x1", i).attr("y1", e.y).attr("x2", i).attr("y2", 450).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), Nt(u, {
|
|
605
|
+
cx: i,
|
|
606
|
+
cy: 300 + (5 - e.score) * 30,
|
|
607
|
+
score: e.score
|
|
608
|
+
});
|
|
609
|
+
const o = lt();
|
|
610
|
+
o.x = e.x, o.y = e.y, o.fill = e.fill, o.width = a.width, o.height = a.height, o.class = "task task-type-" + e.num, o.rx = 3, o.ry = 3, K(u, o);
|
|
611
|
+
let g = e.x + 14;
|
|
612
|
+
e.people.forEach((m) => {
|
|
613
|
+
const x = e.actors[m].color, h = {
|
|
614
|
+
cx: g,
|
|
615
|
+
cy: e.y,
|
|
616
|
+
r: 7,
|
|
617
|
+
fill: x,
|
|
618
|
+
stroke: "#000",
|
|
619
|
+
title: m,
|
|
620
|
+
pos: e.actors[m].position
|
|
621
|
+
};
|
|
622
|
+
ot(u, h), g += 10;
|
|
623
|
+
}), ht(a)(
|
|
624
|
+
e.task,
|
|
625
|
+
u,
|
|
626
|
+
o.x,
|
|
627
|
+
o.y,
|
|
628
|
+
o.width,
|
|
629
|
+
o.height,
|
|
630
|
+
{ class: "task" },
|
|
631
|
+
a,
|
|
632
|
+
e.colour
|
|
633
|
+
);
|
|
634
|
+
}, "drawTask"), Yt = /* @__PURE__ */ s(function(t, e) {
|
|
635
|
+
mt(t, e);
|
|
636
|
+
}, "drawBackgroundRect"), ht = /* @__PURE__ */ (function() {
|
|
637
|
+
function t(i, u, p, o, g, m, x, h) {
|
|
638
|
+
const r = u.append("text").attr("x", p + g / 2).attr("y", o + m / 2 + 5).style("font-color", h).style("text-anchor", "middle").text(i);
|
|
639
|
+
f(r, x);
|
|
640
|
+
}
|
|
641
|
+
s(t, "byText");
|
|
642
|
+
function e(i, u, p, o, g, m, x, h, r) {
|
|
643
|
+
const { taskFontSize: n, taskFontFamily: l } = h, y = i.split(/<br\s*\/?>/gi);
|
|
644
|
+
for (let d = 0; d < y.length; d++) {
|
|
645
|
+
const c = d * n - n * (y.length - 1) / 2, b = u.append("text").attr("x", p + g / 2).attr("y", o).attr("fill", r).style("text-anchor", "middle").style("font-size", n).style("font-family", l);
|
|
646
|
+
b.append("tspan").attr("x", p + g / 2).attr("dy", c).text(y[d]), b.attr("y", o + m / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), f(b, x);
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
s(e, "byTspan");
|
|
650
|
+
function a(i, u, p, o, g, m, x, h) {
|
|
651
|
+
const r = u.append("switch"), l = r.append("foreignObject").attr("x", p).attr("y", o).attr("width", g).attr("height", m).attr("position", "fixed").append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
|
|
652
|
+
l.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(i), e(i, r, p, o, g, m, x, h), f(l, x);
|
|
653
|
+
}
|
|
654
|
+
s(a, "byFo");
|
|
655
|
+
function f(i, u) {
|
|
656
|
+
for (const p in u)
|
|
657
|
+
p in u && i.attr(p, u[p]);
|
|
658
|
+
}
|
|
659
|
+
return s(f, "_setTextAttrs"), function(i) {
|
|
660
|
+
return i.textPlacement === "fo" ? a : i.textPlacement === "old" ? t : e;
|
|
661
|
+
};
|
|
662
|
+
})(), qt = /* @__PURE__ */ s(function(t, e) {
|
|
663
|
+
Z = -1, t.append("defs").append("marker").attr("id", e + "-arrowhead").attr("refX", 5).attr("refY", 2).attr("markerWidth", 6).attr("markerHeight", 4).attr("orient", "auto").append("path").attr("d", "M 0,0 V 4 L6,2 Z");
|
|
664
|
+
}, "initGraphics"), j = {
|
|
665
|
+
drawRect: K,
|
|
666
|
+
drawCircle: ot,
|
|
667
|
+
drawSection: Wt,
|
|
668
|
+
drawText: ct,
|
|
669
|
+
drawLabel: zt,
|
|
670
|
+
drawTask: Ot,
|
|
671
|
+
drawBackgroundRect: Yt,
|
|
672
|
+
initGraphics: qt
|
|
673
|
+
}, Ht = /* @__PURE__ */ s(function(t) {
|
|
674
|
+
Object.keys(t).forEach(function(a) {
|
|
675
|
+
$[a] = t[a];
|
|
676
|
+
});
|
|
677
|
+
}, "setConf"), E = {}, W = 0;
|
|
678
|
+
function ut(t) {
|
|
679
|
+
const e = R().journey, a = e.maxLabelWidth;
|
|
680
|
+
W = 0;
|
|
681
|
+
let f = 60;
|
|
682
|
+
Object.keys(E).forEach((i) => {
|
|
683
|
+
const u = E[i].color, p = {
|
|
684
|
+
cx: 20,
|
|
685
|
+
cy: f,
|
|
686
|
+
r: 7,
|
|
687
|
+
fill: u,
|
|
688
|
+
stroke: "#000",
|
|
689
|
+
pos: E[i].position
|
|
690
|
+
};
|
|
691
|
+
j.drawCircle(t, p);
|
|
692
|
+
let o = t.append("text").attr("visibility", "hidden").text(i);
|
|
693
|
+
const g = o.node().getBoundingClientRect().width;
|
|
694
|
+
o.remove();
|
|
695
|
+
let m = [];
|
|
696
|
+
if (g <= a)
|
|
697
|
+
m = [i];
|
|
698
|
+
else {
|
|
699
|
+
const x = i.split(" ");
|
|
700
|
+
let h = "";
|
|
701
|
+
o = t.append("text").attr("visibility", "hidden"), x.forEach((r) => {
|
|
702
|
+
const n = h ? `${h} ${r}` : r;
|
|
703
|
+
if (o.text(n), o.node().getBoundingClientRect().width > a) {
|
|
704
|
+
if (h && m.push(h), h = r, o.text(r), o.node().getBoundingClientRect().width > a) {
|
|
705
|
+
let y = "";
|
|
706
|
+
for (const d of r)
|
|
707
|
+
y += d, o.text(y + "-"), o.node().getBoundingClientRect().width > a && (m.push(y.slice(0, -1) + "-"), y = d);
|
|
708
|
+
h = y;
|
|
709
|
+
}
|
|
710
|
+
} else
|
|
711
|
+
h = n;
|
|
712
|
+
}), h && m.push(h), o.remove();
|
|
713
|
+
}
|
|
714
|
+
m.forEach((x, h) => {
|
|
715
|
+
const r = {
|
|
716
|
+
x: 40,
|
|
717
|
+
y: f + 7 + h * 20,
|
|
718
|
+
fill: "#666",
|
|
719
|
+
text: x,
|
|
720
|
+
textMargin: e.boxTextMargin ?? 5
|
|
721
|
+
}, l = j.drawText(t, r).node().getBoundingClientRect().width;
|
|
722
|
+
l > W && l > e.leftMargin - l && (W = l);
|
|
723
|
+
}), f += Math.max(20, m.length * 20);
|
|
724
|
+
});
|
|
725
|
+
}
|
|
726
|
+
s(ut, "drawActorLegend");
|
|
727
|
+
var $ = R().journey, P = 0, Xt = /* @__PURE__ */ s(function(t, e, a, f) {
|
|
728
|
+
const i = R(), u = i.journey.titleColor, p = i.journey.titleFontSize, o = i.journey.titleFontFamily, g = i.securityLevel;
|
|
729
|
+
let m;
|
|
730
|
+
g === "sandbox" && (m = X("#i" + e));
|
|
731
|
+
const x = g === "sandbox" ? X(m.nodes()[0].contentDocument.body) : X("body");
|
|
732
|
+
S.init();
|
|
733
|
+
const h = x.select("#" + e);
|
|
734
|
+
j.initGraphics(h, e);
|
|
735
|
+
const r = f.db.getTasks(), n = f.db.getDiagramTitle(), l = f.db.getActors();
|
|
736
|
+
for (const C in E)
|
|
737
|
+
delete E[C];
|
|
738
|
+
let y = 0;
|
|
739
|
+
l.forEach((C) => {
|
|
740
|
+
E[C] = {
|
|
741
|
+
color: $.actorColours[y % $.actorColours.length],
|
|
742
|
+
position: y
|
|
743
|
+
}, y++;
|
|
744
|
+
}), ut(h), P = $.leftMargin + W, S.insert(0, 0, P, Object.keys(E).length * 50), Gt(h, r, 0, e);
|
|
745
|
+
const d = S.getBounds();
|
|
746
|
+
n && h.append("text").text(n).attr("x", P).attr("font-size", p).attr("font-weight", "bold").attr("y", 25).attr("fill", u).attr("font-family", o);
|
|
747
|
+
const c = d.stopy - d.starty + 2 * $.diagramMarginY, b = P + d.stopx + 2 * $.diagramMarginX;
|
|
748
|
+
$t(h, c, b, $.useMaxWidth), h.append("line").attr("x1", P).attr("y1", $.height * 4).attr("x2", b - P - 4).attr("y2", $.height * 4).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#" + e + "-arrowhead)");
|
|
749
|
+
const k = n ? 70 : 0;
|
|
750
|
+
h.attr("viewBox", `${d.startx} -25 ${b} ${c + k}`), h.attr("preserveAspectRatio", "xMinYMin meet"), h.attr("height", c + k + 25);
|
|
751
|
+
}, "draw"), S = {
|
|
752
|
+
data: {
|
|
753
|
+
startx: void 0,
|
|
754
|
+
stopx: void 0,
|
|
755
|
+
starty: void 0,
|
|
756
|
+
stopy: void 0
|
|
757
|
+
},
|
|
758
|
+
verticalPos: 0,
|
|
759
|
+
sequenceItems: [],
|
|
760
|
+
init: /* @__PURE__ */ s(function() {
|
|
761
|
+
this.sequenceItems = [], this.data = {
|
|
762
|
+
startx: void 0,
|
|
763
|
+
stopx: void 0,
|
|
764
|
+
starty: void 0,
|
|
765
|
+
stopy: void 0
|
|
766
|
+
}, this.verticalPos = 0;
|
|
767
|
+
}, "init"),
|
|
768
|
+
updateVal: /* @__PURE__ */ s(function(t, e, a, f) {
|
|
769
|
+
t[e] === void 0 ? t[e] = a : t[e] = f(a, t[e]);
|
|
770
|
+
}, "updateVal"),
|
|
771
|
+
updateBounds: /* @__PURE__ */ s(function(t, e, a, f) {
|
|
772
|
+
const i = R().journey, u = this;
|
|
773
|
+
let p = 0;
|
|
774
|
+
function o(g) {
|
|
775
|
+
return /* @__PURE__ */ s(function(x) {
|
|
776
|
+
p++;
|
|
777
|
+
const h = u.sequenceItems.length - p + 1;
|
|
778
|
+
u.updateVal(x, "starty", e - h * i.boxMargin, Math.min), u.updateVal(x, "stopy", f + h * i.boxMargin, Math.max), u.updateVal(S.data, "startx", t - h * i.boxMargin, Math.min), u.updateVal(S.data, "stopx", a + h * i.boxMargin, Math.max), g !== "activation" && (u.updateVal(x, "startx", t - h * i.boxMargin, Math.min), u.updateVal(x, "stopx", a + h * i.boxMargin, Math.max), u.updateVal(S.data, "starty", e - h * i.boxMargin, Math.min), u.updateVal(S.data, "stopy", f + h * i.boxMargin, Math.max));
|
|
779
|
+
}, "updateItemBounds");
|
|
780
|
+
}
|
|
781
|
+
s(o, "updateFn"), this.sequenceItems.forEach(o());
|
|
782
|
+
}, "updateBounds"),
|
|
783
|
+
insert: /* @__PURE__ */ s(function(t, e, a, f) {
|
|
784
|
+
const i = Math.min(t, a), u = Math.max(t, a), p = Math.min(e, f), o = Math.max(e, f);
|
|
785
|
+
this.updateVal(S.data, "startx", i, Math.min), this.updateVal(S.data, "starty", p, Math.min), this.updateVal(S.data, "stopx", u, Math.max), this.updateVal(S.data, "stopy", o, Math.max), this.updateBounds(i, p, u, o);
|
|
786
|
+
}, "insert"),
|
|
787
|
+
bumpVerticalPos: /* @__PURE__ */ s(function(t) {
|
|
788
|
+
this.verticalPos = this.verticalPos + t, this.data.stopy = this.verticalPos;
|
|
789
|
+
}, "bumpVerticalPos"),
|
|
790
|
+
getVerticalPos: /* @__PURE__ */ s(function() {
|
|
791
|
+
return this.verticalPos;
|
|
792
|
+
}, "getVerticalPos"),
|
|
793
|
+
getBounds: /* @__PURE__ */ s(function() {
|
|
794
|
+
return this.data;
|
|
795
|
+
}, "getBounds")
|
|
796
|
+
}, G = $.sectionFills, st = $.sectionColours, Gt = /* @__PURE__ */ s(function(t, e, a, f) {
|
|
797
|
+
const i = R().journey;
|
|
798
|
+
let u = "";
|
|
799
|
+
const p = i.height * 2 + i.diagramMarginY, o = a + p;
|
|
800
|
+
let g = 0, m = "#CCC", x = "black", h = 0;
|
|
801
|
+
for (const [r, n] of e.entries()) {
|
|
802
|
+
if (u !== n.section) {
|
|
803
|
+
m = G[g % G.length], h = g % G.length, x = st[g % st.length];
|
|
804
|
+
let y = 0;
|
|
805
|
+
const d = n.section;
|
|
806
|
+
for (let b = r; b < e.length && e[b].section == d; b++)
|
|
807
|
+
y = y + 1;
|
|
808
|
+
const c = {
|
|
809
|
+
x: r * i.taskMargin + r * i.width + P,
|
|
810
|
+
y: 50,
|
|
811
|
+
text: n.section,
|
|
812
|
+
fill: m,
|
|
813
|
+
num: h,
|
|
814
|
+
colour: x,
|
|
815
|
+
taskCount: y
|
|
816
|
+
};
|
|
817
|
+
j.drawSection(t, c, i), u = n.section, g++;
|
|
818
|
+
}
|
|
819
|
+
const l = n.people.reduce((y, d) => (E[d] && (y[d] = E[d]), y), {});
|
|
820
|
+
n.x = r * i.taskMargin + r * i.width + P, n.y = o, n.width = i.diagramMarginX, n.height = i.diagramMarginY, n.colour = x, n.fill = m, n.num = h, n.actors = l, j.drawTask(t, n, i, f), S.insert(n.x, n.y, n.x + n.width + i.taskMargin, 450);
|
|
821
|
+
}
|
|
822
|
+
}, "drawTasks"), at = {
|
|
823
|
+
setConf: Ht,
|
|
824
|
+
draw: Xt
|
|
825
|
+
}, Qt = {
|
|
826
|
+
parser: Et,
|
|
827
|
+
db: nt,
|
|
828
|
+
renderer: at,
|
|
829
|
+
styles: jt,
|
|
830
|
+
init: /* @__PURE__ */ s((t) => {
|
|
831
|
+
at.setConf(t.journey), nt.clear();
|
|
832
|
+
}, "init")
|
|
833
|
+
};
|
|
834
|
+
export {
|
|
835
|
+
Qt as diagram
|
|
836
|
+
};
|
|
837
|
+
//# sourceMappingURL=journeyDiagram-JHISSGLW-B9-CHfSv.js.map
|