@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,1058 @@
|
|
|
1
|
+
import { _ as o, G as gt, af as Rt, ag as Ct, ah as Wt, c as pt, l as E, N as Pt, a7 as Bt, ai as ft, d as U, F as Vt, aj as Ft, B as zt } from "./mermaid-GHXKKRXX-C5Y3BZXR.js";
|
|
2
|
+
import { d as ot } from "./arc-DGQIe3ON.js";
|
|
3
|
+
globalThis.process = globalThis.process || { env: {} };
|
|
4
|
+
globalThis.global = globalThis.global || globalThis;
|
|
5
|
+
var tt = (function() {
|
|
6
|
+
var e = /* @__PURE__ */ o(function(k, s, d, c) {
|
|
7
|
+
for (d = d || {}, c = k.length; c--; d[k[c]] = s) ;
|
|
8
|
+
return d;
|
|
9
|
+
}, "o"), t = [6, 11, 13, 14, 15, 17, 19, 20, 23, 24], n = [1, 12], i = [1, 13], r = [1, 14], h = [1, 15], l = [1, 16], a = [1, 19], f = [1, 20], p = {
|
|
10
|
+
trace: /* @__PURE__ */ o(function() {
|
|
11
|
+
}, "trace"),
|
|
12
|
+
yy: {},
|
|
13
|
+
symbols_: { error: 2, start: 3, timeline_header: 4, document: 5, EOF: 6, timeline: 7, timeline_lr: 8, timeline_td: 9, line: 10, SPACE: 11, statement: 12, NEWLINE: 13, title: 14, acc_title: 15, acc_title_value: 16, acc_descr: 17, acc_descr_value: 18, acc_descr_multiline_value: 19, section: 20, period_statement: 21, event_statement: 22, period: 23, event: 24, $accept: 0, $end: 1 },
|
|
14
|
+
terminals_: { 2: "error", 6: "EOF", 7: "timeline", 8: "timeline_lr", 9: "timeline_td", 11: "SPACE", 13: "NEWLINE", 14: "title", 15: "acc_title", 16: "acc_title_value", 17: "acc_descr", 18: "acc_descr_value", 19: "acc_descr_multiline_value", 20: "section", 23: "period", 24: "event" },
|
|
15
|
+
productions_: [0, [3, 3], [4, 1], [4, 1], [4, 1], [5, 0], [5, 2], [10, 2], [10, 1], [10, 1], [10, 1], [12, 1], [12, 2], [12, 2], [12, 1], [12, 1], [12, 1], [12, 1], [21, 1], [22, 1]],
|
|
16
|
+
performAction: /* @__PURE__ */ o(function(s, d, c, g, x, u, S) {
|
|
17
|
+
var v = u.length - 1;
|
|
18
|
+
switch (x) {
|
|
19
|
+
case 1:
|
|
20
|
+
return u[v - 1];
|
|
21
|
+
case 3:
|
|
22
|
+
g.setDirection("LR");
|
|
23
|
+
break;
|
|
24
|
+
case 4:
|
|
25
|
+
g.setDirection("TD");
|
|
26
|
+
break;
|
|
27
|
+
case 5:
|
|
28
|
+
this.$ = [];
|
|
29
|
+
break;
|
|
30
|
+
case 6:
|
|
31
|
+
u[v - 1].push(u[v]), this.$ = u[v - 1];
|
|
32
|
+
break;
|
|
33
|
+
case 7:
|
|
34
|
+
case 8:
|
|
35
|
+
this.$ = u[v];
|
|
36
|
+
break;
|
|
37
|
+
case 9:
|
|
38
|
+
case 10:
|
|
39
|
+
this.$ = [];
|
|
40
|
+
break;
|
|
41
|
+
case 11:
|
|
42
|
+
g.getCommonDb().setDiagramTitle(u[v].substr(6)), this.$ = u[v].substr(6);
|
|
43
|
+
break;
|
|
44
|
+
case 12:
|
|
45
|
+
this.$ = u[v].trim(), g.getCommonDb().setAccTitle(this.$);
|
|
46
|
+
break;
|
|
47
|
+
case 13:
|
|
48
|
+
case 14:
|
|
49
|
+
this.$ = u[v].trim(), g.getCommonDb().setAccDescription(this.$);
|
|
50
|
+
break;
|
|
51
|
+
case 15:
|
|
52
|
+
g.addSection(u[v].substr(8)), this.$ = u[v].substr(8);
|
|
53
|
+
break;
|
|
54
|
+
case 18:
|
|
55
|
+
g.addTask(u[v], 0, ""), this.$ = u[v];
|
|
56
|
+
break;
|
|
57
|
+
case 19:
|
|
58
|
+
g.addEvent(u[v].substr(2)), this.$ = u[v];
|
|
59
|
+
break;
|
|
60
|
+
}
|
|
61
|
+
}, "anonymous"),
|
|
62
|
+
table: [{ 3: 1, 4: 2, 7: [1, 3], 8: [1, 4], 9: [1, 5] }, { 1: [3] }, e(t, [2, 5], { 5: 6 }), e(t, [2, 2]), e(t, [2, 3]), e(t, [2, 4]), { 6: [1, 7], 10: 8, 11: [1, 9], 12: 10, 13: [1, 11], 14: n, 15: i, 17: r, 19: h, 20: l, 21: 17, 22: 18, 23: a, 24: f }, e(t, [2, 10], { 1: [2, 1] }), e(t, [2, 6]), { 12: 21, 14: n, 15: i, 17: r, 19: h, 20: l, 21: 17, 22: 18, 23: a, 24: f }, e(t, [2, 8]), e(t, [2, 9]), e(t, [2, 11]), { 16: [1, 22] }, { 18: [1, 23] }, e(t, [2, 14]), e(t, [2, 15]), e(t, [2, 16]), e(t, [2, 17]), e(t, [2, 18]), e(t, [2, 19]), e(t, [2, 7]), e(t, [2, 12]), e(t, [2, 13])],
|
|
63
|
+
defaultActions: {},
|
|
64
|
+
parseError: /* @__PURE__ */ o(function(s, d) {
|
|
65
|
+
if (d.recoverable)
|
|
66
|
+
this.trace(s);
|
|
67
|
+
else {
|
|
68
|
+
var c = new Error(s);
|
|
69
|
+
throw c.hash = d, c;
|
|
70
|
+
}
|
|
71
|
+
}, "parseError"),
|
|
72
|
+
parse: /* @__PURE__ */ o(function(s) {
|
|
73
|
+
var d = this, c = [0], g = [], x = [null], u = [], S = this.table, v = "", I = 0, R = 0, W = 2, O = 1, L = u.slice.call(arguments, 1), w = Object.create(this.lexer), H = { yy: {} };
|
|
74
|
+
for (var V in this.yy)
|
|
75
|
+
Object.prototype.hasOwnProperty.call(this.yy, V) && (H.yy[V] = this.yy[V]);
|
|
76
|
+
w.setInput(s, H.yy), H.yy.lexer = w, H.yy.parser = this, typeof w.yylloc > "u" && (w.yylloc = {});
|
|
77
|
+
var F = w.yylloc;
|
|
78
|
+
u.push(F);
|
|
79
|
+
var K = w.options && w.options.ranges;
|
|
80
|
+
typeof H.yy.parseError == "function" ? this.parseError = H.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
81
|
+
function N(A) {
|
|
82
|
+
c.length = c.length - 2 * A, x.length = x.length - A, u.length = u.length - A;
|
|
83
|
+
}
|
|
84
|
+
o(N, "popStack");
|
|
85
|
+
function b() {
|
|
86
|
+
var A;
|
|
87
|
+
return A = g.pop() || w.lex() || O, typeof A != "number" && (A instanceof Array && (g = A, A = g.pop()), A = d.symbols_[A] || A), A;
|
|
88
|
+
}
|
|
89
|
+
o(b, "lex");
|
|
90
|
+
for (var _, $, T, P, C = {}, G, B, X, Z; ; ) {
|
|
91
|
+
if ($ = c[c.length - 1], this.defaultActions[$] ? T = this.defaultActions[$] : ((_ === null || typeof _ > "u") && (_ = b()), T = S[$] && S[$][_]), typeof T > "u" || !T.length || !T[0]) {
|
|
92
|
+
var Y = "";
|
|
93
|
+
Z = [];
|
|
94
|
+
for (G in S[$])
|
|
95
|
+
this.terminals_[G] && G > W && Z.push("'" + this.terminals_[G] + "'");
|
|
96
|
+
w.showPosition ? Y = "Parse error on line " + (I + 1) + `:
|
|
97
|
+
` + w.showPosition() + `
|
|
98
|
+
Expecting ` + Z.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : Y = "Parse error on line " + (I + 1) + ": Unexpected " + (_ == O ? "end of input" : "'" + (this.terminals_[_] || _) + "'"), this.parseError(Y, {
|
|
99
|
+
text: w.match,
|
|
100
|
+
token: this.terminals_[_] || _,
|
|
101
|
+
line: w.yylineno,
|
|
102
|
+
loc: F,
|
|
103
|
+
expected: Z
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
if (T[0] instanceof Array && T.length > 1)
|
|
107
|
+
throw new Error("Parse Error: multiple actions possible at state: " + $ + ", token: " + _);
|
|
108
|
+
switch (T[0]) {
|
|
109
|
+
case 1:
|
|
110
|
+
c.push(_), x.push(w.yytext), u.push(w.yylloc), c.push(T[1]), _ = null, R = w.yyleng, v = w.yytext, I = w.yylineno, F = w.yylloc;
|
|
111
|
+
break;
|
|
112
|
+
case 2:
|
|
113
|
+
if (B = this.productions_[T[1]][1], C.$ = x[x.length - B], C._$ = {
|
|
114
|
+
first_line: u[u.length - (B || 1)].first_line,
|
|
115
|
+
last_line: u[u.length - 1].last_line,
|
|
116
|
+
first_column: u[u.length - (B || 1)].first_column,
|
|
117
|
+
last_column: u[u.length - 1].last_column
|
|
118
|
+
}, K && (C._$.range = [
|
|
119
|
+
u[u.length - (B || 1)].range[0],
|
|
120
|
+
u[u.length - 1].range[1]
|
|
121
|
+
]), P = this.performAction.apply(C, [
|
|
122
|
+
v,
|
|
123
|
+
R,
|
|
124
|
+
I,
|
|
125
|
+
H.yy,
|
|
126
|
+
T[1],
|
|
127
|
+
x,
|
|
128
|
+
u
|
|
129
|
+
].concat(L)), typeof P < "u")
|
|
130
|
+
return P;
|
|
131
|
+
B && (c = c.slice(0, -1 * B * 2), x = x.slice(0, -1 * B), u = u.slice(0, -1 * B)), c.push(this.productions_[T[1]][0]), x.push(C.$), u.push(C._$), X = S[c[c.length - 2]][c[c.length - 1]], c.push(X);
|
|
132
|
+
break;
|
|
133
|
+
case 3:
|
|
134
|
+
return !0;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
return !0;
|
|
138
|
+
}, "parse")
|
|
139
|
+
}, m = /* @__PURE__ */ (function() {
|
|
140
|
+
var k = {
|
|
141
|
+
EOF: 1,
|
|
142
|
+
parseError: /* @__PURE__ */ o(function(d, c) {
|
|
143
|
+
if (this.yy.parser)
|
|
144
|
+
this.yy.parser.parseError(d, c);
|
|
145
|
+
else
|
|
146
|
+
throw new Error(d);
|
|
147
|
+
}, "parseError"),
|
|
148
|
+
// resets the lexer, sets new input
|
|
149
|
+
setInput: /* @__PURE__ */ o(function(s, d) {
|
|
150
|
+
return this.yy = d || this.yy || {}, this._input = s, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
151
|
+
first_line: 1,
|
|
152
|
+
first_column: 0,
|
|
153
|
+
last_line: 1,
|
|
154
|
+
last_column: 0
|
|
155
|
+
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
156
|
+
}, "setInput"),
|
|
157
|
+
// consumes and returns one char from the input
|
|
158
|
+
input: /* @__PURE__ */ o(function() {
|
|
159
|
+
var s = this._input[0];
|
|
160
|
+
this.yytext += s, this.yyleng++, this.offset++, this.match += s, this.matched += s;
|
|
161
|
+
var d = s.match(/(?:\r\n?|\n).*/g);
|
|
162
|
+
return d ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), s;
|
|
163
|
+
}, "input"),
|
|
164
|
+
// unshifts one char (or a string) into the input
|
|
165
|
+
unput: /* @__PURE__ */ o(function(s) {
|
|
166
|
+
var d = s.length, c = s.split(/(?:\r\n?|\n)/g);
|
|
167
|
+
this._input = s + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - d), this.offset -= d;
|
|
168
|
+
var g = this.match.split(/(?:\r\n?|\n)/g);
|
|
169
|
+
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), c.length - 1 && (this.yylineno -= c.length - 1);
|
|
170
|
+
var x = this.yylloc.range;
|
|
171
|
+
return this.yylloc = {
|
|
172
|
+
first_line: this.yylloc.first_line,
|
|
173
|
+
last_line: this.yylineno + 1,
|
|
174
|
+
first_column: this.yylloc.first_column,
|
|
175
|
+
last_column: c ? (c.length === g.length ? this.yylloc.first_column : 0) + g[g.length - c.length].length - c[0].length : this.yylloc.first_column - d
|
|
176
|
+
}, this.options.ranges && (this.yylloc.range = [x[0], x[0] + this.yyleng - d]), this.yyleng = this.yytext.length, this;
|
|
177
|
+
}, "unput"),
|
|
178
|
+
// When called from action, caches matched text and appends it on next action
|
|
179
|
+
more: /* @__PURE__ */ o(function() {
|
|
180
|
+
return this._more = !0, this;
|
|
181
|
+
}, "more"),
|
|
182
|
+
// 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.
|
|
183
|
+
reject: /* @__PURE__ */ o(function() {
|
|
184
|
+
if (this.options.backtrack_lexer)
|
|
185
|
+
this._backtrack = !0;
|
|
186
|
+
else
|
|
187
|
+
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).
|
|
188
|
+
` + this.showPosition(), {
|
|
189
|
+
text: "",
|
|
190
|
+
token: null,
|
|
191
|
+
line: this.yylineno
|
|
192
|
+
});
|
|
193
|
+
return this;
|
|
194
|
+
}, "reject"),
|
|
195
|
+
// retain first n characters of the match
|
|
196
|
+
less: /* @__PURE__ */ o(function(s) {
|
|
197
|
+
this.unput(this.match.slice(s));
|
|
198
|
+
}, "less"),
|
|
199
|
+
// displays already matched input, i.e. for error messages
|
|
200
|
+
pastInput: /* @__PURE__ */ o(function() {
|
|
201
|
+
var s = this.matched.substr(0, this.matched.length - this.match.length);
|
|
202
|
+
return (s.length > 20 ? "..." : "") + s.substr(-20).replace(/\n/g, "");
|
|
203
|
+
}, "pastInput"),
|
|
204
|
+
// displays upcoming input, i.e. for error messages
|
|
205
|
+
upcomingInput: /* @__PURE__ */ o(function() {
|
|
206
|
+
var s = this.match;
|
|
207
|
+
return s.length < 20 && (s += this._input.substr(0, 20 - s.length)), (s.substr(0, 20) + (s.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
208
|
+
}, "upcomingInput"),
|
|
209
|
+
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
210
|
+
showPosition: /* @__PURE__ */ o(function() {
|
|
211
|
+
var s = this.pastInput(), d = new Array(s.length + 1).join("-");
|
|
212
|
+
return s + this.upcomingInput() + `
|
|
213
|
+
` + d + "^";
|
|
214
|
+
}, "showPosition"),
|
|
215
|
+
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
216
|
+
test_match: /* @__PURE__ */ o(function(s, d) {
|
|
217
|
+
var c, g, x;
|
|
218
|
+
if (this.options.backtrack_lexer && (x = {
|
|
219
|
+
yylineno: this.yylineno,
|
|
220
|
+
yylloc: {
|
|
221
|
+
first_line: this.yylloc.first_line,
|
|
222
|
+
last_line: this.last_line,
|
|
223
|
+
first_column: this.yylloc.first_column,
|
|
224
|
+
last_column: this.yylloc.last_column
|
|
225
|
+
},
|
|
226
|
+
yytext: this.yytext,
|
|
227
|
+
match: this.match,
|
|
228
|
+
matches: this.matches,
|
|
229
|
+
matched: this.matched,
|
|
230
|
+
yyleng: this.yyleng,
|
|
231
|
+
offset: this.offset,
|
|
232
|
+
_more: this._more,
|
|
233
|
+
_input: this._input,
|
|
234
|
+
yy: this.yy,
|
|
235
|
+
conditionStack: this.conditionStack.slice(0),
|
|
236
|
+
done: this.done
|
|
237
|
+
}, this.options.ranges && (x.yylloc.range = this.yylloc.range.slice(0))), g = s[0].match(/(?:\r\n?|\n).*/g), g && (this.yylineno += g.length), this.yylloc = {
|
|
238
|
+
first_line: this.yylloc.last_line,
|
|
239
|
+
last_line: this.yylineno + 1,
|
|
240
|
+
first_column: this.yylloc.last_column,
|
|
241
|
+
last_column: g ? g[g.length - 1].length - g[g.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + s[0].length
|
|
242
|
+
}, this.yytext += s[0], this.match += s[0], this.matches = s, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(s[0].length), this.matched += s[0], c = this.performAction.call(this, this.yy, this, d, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), c)
|
|
243
|
+
return c;
|
|
244
|
+
if (this._backtrack) {
|
|
245
|
+
for (var u in x)
|
|
246
|
+
this[u] = x[u];
|
|
247
|
+
return !1;
|
|
248
|
+
}
|
|
249
|
+
return !1;
|
|
250
|
+
}, "test_match"),
|
|
251
|
+
// return next match in input
|
|
252
|
+
next: /* @__PURE__ */ o(function() {
|
|
253
|
+
if (this.done)
|
|
254
|
+
return this.EOF;
|
|
255
|
+
this._input || (this.done = !0);
|
|
256
|
+
var s, d, c, g;
|
|
257
|
+
this._more || (this.yytext = "", this.match = "");
|
|
258
|
+
for (var x = this._currentRules(), u = 0; u < x.length; u++)
|
|
259
|
+
if (c = this._input.match(this.rules[x[u]]), c && (!d || c[0].length > d[0].length)) {
|
|
260
|
+
if (d = c, g = u, this.options.backtrack_lexer) {
|
|
261
|
+
if (s = this.test_match(c, x[u]), s !== !1)
|
|
262
|
+
return s;
|
|
263
|
+
if (this._backtrack) {
|
|
264
|
+
d = !1;
|
|
265
|
+
continue;
|
|
266
|
+
} else
|
|
267
|
+
return !1;
|
|
268
|
+
} else if (!this.options.flex)
|
|
269
|
+
break;
|
|
270
|
+
}
|
|
271
|
+
return d ? (s = this.test_match(d, x[g]), s !== !1 ? s : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
272
|
+
` + this.showPosition(), {
|
|
273
|
+
text: "",
|
|
274
|
+
token: null,
|
|
275
|
+
line: this.yylineno
|
|
276
|
+
});
|
|
277
|
+
}, "next"),
|
|
278
|
+
// return next match that has a token
|
|
279
|
+
lex: /* @__PURE__ */ o(function() {
|
|
280
|
+
var d = this.next();
|
|
281
|
+
return d || this.lex();
|
|
282
|
+
}, "lex"),
|
|
283
|
+
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
|
|
284
|
+
begin: /* @__PURE__ */ o(function(d) {
|
|
285
|
+
this.conditionStack.push(d);
|
|
286
|
+
}, "begin"),
|
|
287
|
+
// pop the previously active lexer condition state off the condition stack
|
|
288
|
+
popState: /* @__PURE__ */ o(function() {
|
|
289
|
+
var d = this.conditionStack.length - 1;
|
|
290
|
+
return d > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
291
|
+
}, "popState"),
|
|
292
|
+
// produce the lexer rule set which is active for the currently active lexer condition state
|
|
293
|
+
_currentRules: /* @__PURE__ */ o(function() {
|
|
294
|
+
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
295
|
+
}, "_currentRules"),
|
|
296
|
+
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
|
|
297
|
+
topState: /* @__PURE__ */ o(function(d) {
|
|
298
|
+
return d = this.conditionStack.length - 1 - Math.abs(d || 0), d >= 0 ? this.conditionStack[d] : "INITIAL";
|
|
299
|
+
}, "topState"),
|
|
300
|
+
// alias for begin(condition)
|
|
301
|
+
pushState: /* @__PURE__ */ o(function(d) {
|
|
302
|
+
this.begin(d);
|
|
303
|
+
}, "pushState"),
|
|
304
|
+
// return the number of states currently on the stack
|
|
305
|
+
stateStackSize: /* @__PURE__ */ o(function() {
|
|
306
|
+
return this.conditionStack.length;
|
|
307
|
+
}, "stateStackSize"),
|
|
308
|
+
options: { "case-insensitive": !0 },
|
|
309
|
+
performAction: /* @__PURE__ */ o(function(d, c, g, x) {
|
|
310
|
+
switch (g) {
|
|
311
|
+
case 0:
|
|
312
|
+
break;
|
|
313
|
+
case 1:
|
|
314
|
+
break;
|
|
315
|
+
case 2:
|
|
316
|
+
return 13;
|
|
317
|
+
case 3:
|
|
318
|
+
break;
|
|
319
|
+
case 4:
|
|
320
|
+
break;
|
|
321
|
+
case 5:
|
|
322
|
+
return 8;
|
|
323
|
+
case 6:
|
|
324
|
+
return 9;
|
|
325
|
+
case 7:
|
|
326
|
+
return 7;
|
|
327
|
+
case 8:
|
|
328
|
+
return 14;
|
|
329
|
+
case 9:
|
|
330
|
+
return this.begin("acc_title"), 15;
|
|
331
|
+
case 10:
|
|
332
|
+
return this.popState(), "acc_title_value";
|
|
333
|
+
case 11:
|
|
334
|
+
return this.begin("acc_descr"), 17;
|
|
335
|
+
case 12:
|
|
336
|
+
return this.popState(), "acc_descr_value";
|
|
337
|
+
case 13:
|
|
338
|
+
this.begin("acc_descr_multiline");
|
|
339
|
+
break;
|
|
340
|
+
case 14:
|
|
341
|
+
this.popState();
|
|
342
|
+
break;
|
|
343
|
+
case 15:
|
|
344
|
+
return "acc_descr_multiline_value";
|
|
345
|
+
case 16:
|
|
346
|
+
return 20;
|
|
347
|
+
case 17:
|
|
348
|
+
return 24;
|
|
349
|
+
case 18:
|
|
350
|
+
return 23;
|
|
351
|
+
case 19:
|
|
352
|
+
return 6;
|
|
353
|
+
case 20:
|
|
354
|
+
return "INVALID";
|
|
355
|
+
}
|
|
356
|
+
}, "anonymous"),
|
|
357
|
+
rules: [/^(?:%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?:#[^\n]*)/i, /^(?:timeline[ \t]+LR\b)/i, /^(?:timeline[ \t]+TD\b)/i, /^(?:timeline\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, /^(?::\s(?:[^:\n]|:(?!\s))+)/i, /^(?:[^#:\n]+)/i, /^(?:$)/i, /^(?:.)/i],
|
|
358
|
+
conditions: { acc_descr_multiline: { rules: [14, 15], inclusive: !1 }, acc_descr: { rules: [12], inclusive: !1 }, acc_title: { rules: [10], inclusive: !1 }, INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 13, 16, 17, 18, 19, 20], inclusive: !0 } }
|
|
359
|
+
};
|
|
360
|
+
return k;
|
|
361
|
+
})();
|
|
362
|
+
p.lexer = m;
|
|
363
|
+
function y() {
|
|
364
|
+
this.yy = {};
|
|
365
|
+
}
|
|
366
|
+
return o(y, "Parser"), y.prototype = p, p.Parser = y, new y();
|
|
367
|
+
})();
|
|
368
|
+
tt.parser = tt;
|
|
369
|
+
var Ot = tt, yt = {};
|
|
370
|
+
Vt(yt, {
|
|
371
|
+
addEvent: () => Tt,
|
|
372
|
+
addSection: () => _t,
|
|
373
|
+
addTask: () => Et,
|
|
374
|
+
addTaskOrg: () => $t,
|
|
375
|
+
clear: () => kt,
|
|
376
|
+
default: () => Gt,
|
|
377
|
+
getCommonDb: () => xt,
|
|
378
|
+
getDirection: () => bt,
|
|
379
|
+
getSections: () => wt,
|
|
380
|
+
getTasks: () => St,
|
|
381
|
+
setDirection: () => vt
|
|
382
|
+
});
|
|
383
|
+
var D = "", mt = 0, nt = "LR", rt = [], q = [], j = [], xt = /* @__PURE__ */ o(() => Ft, "getCommonDb"), kt = /* @__PURE__ */ o(function() {
|
|
384
|
+
rt.length = 0, q.length = 0, D = "", j.length = 0, nt = "LR", zt();
|
|
385
|
+
}, "clear"), vt = /* @__PURE__ */ o(function(e) {
|
|
386
|
+
nt = e;
|
|
387
|
+
}, "setDirection"), bt = /* @__PURE__ */ o(function() {
|
|
388
|
+
return nt;
|
|
389
|
+
}, "getDirection"), _t = /* @__PURE__ */ o(function(e) {
|
|
390
|
+
D = e, rt.push(e);
|
|
391
|
+
}, "addSection"), wt = /* @__PURE__ */ o(function() {
|
|
392
|
+
return rt;
|
|
393
|
+
}, "getSections"), St = /* @__PURE__ */ o(function() {
|
|
394
|
+
let e = lt();
|
|
395
|
+
const t = 100;
|
|
396
|
+
let n = 0;
|
|
397
|
+
for (; !e && n < t; )
|
|
398
|
+
e = lt(), n++;
|
|
399
|
+
return q.push(...j), q;
|
|
400
|
+
}, "getTasks"), Et = /* @__PURE__ */ o(function(e, t, n) {
|
|
401
|
+
const i = {
|
|
402
|
+
id: mt++,
|
|
403
|
+
section: D,
|
|
404
|
+
type: D,
|
|
405
|
+
task: e,
|
|
406
|
+
score: t || 0,
|
|
407
|
+
//if event is defined, then add it the events array
|
|
408
|
+
events: n ? [n] : []
|
|
409
|
+
};
|
|
410
|
+
j.push(i);
|
|
411
|
+
}, "addTask"), Tt = /* @__PURE__ */ o(function(e) {
|
|
412
|
+
j.find((n) => n.id === mt - 1).events.push(e);
|
|
413
|
+
}, "addEvent"), $t = /* @__PURE__ */ o(function(e) {
|
|
414
|
+
const t = {
|
|
415
|
+
section: D,
|
|
416
|
+
type: D,
|
|
417
|
+
description: e,
|
|
418
|
+
task: e,
|
|
419
|
+
classes: []
|
|
420
|
+
};
|
|
421
|
+
q.push(t);
|
|
422
|
+
}, "addTaskOrg"), lt = /* @__PURE__ */ o(function() {
|
|
423
|
+
const e = /* @__PURE__ */ o(function(n) {
|
|
424
|
+
return j[n].processed;
|
|
425
|
+
}, "compileTask");
|
|
426
|
+
let t = !0;
|
|
427
|
+
for (const [n, i] of j.entries())
|
|
428
|
+
e(n), t = t && i.processed;
|
|
429
|
+
return t;
|
|
430
|
+
}, "compileTasks"), Gt = {
|
|
431
|
+
clear: kt,
|
|
432
|
+
getCommonDb: xt,
|
|
433
|
+
getDirection: bt,
|
|
434
|
+
setDirection: vt,
|
|
435
|
+
addSection: _t,
|
|
436
|
+
getSections: wt,
|
|
437
|
+
getTasks: St,
|
|
438
|
+
addTask: Et,
|
|
439
|
+
addTaskOrg: $t,
|
|
440
|
+
addEvent: Tt
|
|
441
|
+
}, Nt = 0, J = /* @__PURE__ */ o(function(e, t) {
|
|
442
|
+
const n = e.append("rect");
|
|
443
|
+
return n.attr("x", t.x), n.attr("y", t.y), n.attr("fill", t.fill), n.attr("stroke", t.stroke), n.attr("width", t.width), n.attr("height", t.height), n.attr("rx", t.rx), n.attr("ry", t.ry), t.class !== void 0 && n.attr("class", t.class), n;
|
|
444
|
+
}, "drawRect"), Dt = /* @__PURE__ */ o(function(e, t) {
|
|
445
|
+
const i = e.append("circle").attr("cx", t.cx).attr("cy", t.cy).attr("class", "face").attr("r", 15).attr("stroke-width", 2).attr("overflow", "visible"), r = e.append("g");
|
|
446
|
+
r.append("circle").attr("cx", t.cx - 15 / 3).attr("cy", t.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666"), r.append("circle").attr("cx", t.cx + 15 / 3).attr("cy", t.cy - 15 / 3).attr("r", 1.5).attr("stroke-width", 2).attr("fill", "#666").attr("stroke", "#666");
|
|
447
|
+
function h(f) {
|
|
448
|
+
const p = ot().startAngle(Math.PI / 2).endAngle(3 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
|
|
449
|
+
f.append("path").attr("class", "mouth").attr("d", p).attr("transform", "translate(" + t.cx + "," + (t.cy + 2) + ")");
|
|
450
|
+
}
|
|
451
|
+
o(h, "smile");
|
|
452
|
+
function l(f) {
|
|
453
|
+
const p = ot().startAngle(3 * Math.PI / 2).endAngle(5 * (Math.PI / 2)).innerRadius(7.5).outerRadius(6.8181818181818175);
|
|
454
|
+
f.append("path").attr("class", "mouth").attr("d", p).attr("transform", "translate(" + t.cx + "," + (t.cy + 7) + ")");
|
|
455
|
+
}
|
|
456
|
+
o(l, "sad");
|
|
457
|
+
function a(f) {
|
|
458
|
+
f.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", t.cx - 5).attr("y1", t.cy + 7).attr("x2", t.cx + 5).attr("y2", t.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
|
|
459
|
+
}
|
|
460
|
+
return o(a, "ambivalent"), t.score > 3 ? h(r) : t.score < 3 ? l(r) : a(r), i;
|
|
461
|
+
}, "drawFace"), jt = /* @__PURE__ */ o(function(e, t) {
|
|
462
|
+
const n = e.append("circle");
|
|
463
|
+
return n.attr("cx", t.cx), n.attr("cy", t.cy), n.attr("class", "actor-" + t.pos), n.attr("fill", t.fill), n.attr("stroke", t.stroke), n.attr("r", t.r), n.class !== void 0 && n.attr("class", n.class), t.title !== void 0 && n.append("title").text(t.title), n;
|
|
464
|
+
}, "drawCircle"), It = /* @__PURE__ */ o(function(e, t) {
|
|
465
|
+
const n = t.text.replace(/<br\s*\/?>/gi, " "), i = e.append("text");
|
|
466
|
+
i.attr("x", t.x), i.attr("y", t.y), i.attr("class", "legend"), i.style("text-anchor", t.anchor), t.class !== void 0 && i.attr("class", t.class);
|
|
467
|
+
const r = i.append("tspan");
|
|
468
|
+
return r.attr("x", t.x + t.textMargin * 2), r.text(n), i;
|
|
469
|
+
}, "drawText"), Kt = /* @__PURE__ */ o(function(e, t) {
|
|
470
|
+
function n(r, h, l, a, f) {
|
|
471
|
+
return r + "," + h + " " + (r + l) + "," + h + " " + (r + l) + "," + (h + a - f) + " " + (r + l - f * 1.2) + "," + (h + a) + " " + r + "," + (h + a);
|
|
472
|
+
}
|
|
473
|
+
o(n, "genPoints");
|
|
474
|
+
const i = e.append("polygon");
|
|
475
|
+
i.attr("points", n(t.x, t.y, 50, 20, 7)), i.attr("class", "labelBox"), t.y = t.y + t.labelMargin, t.x = t.x + 0.5 * t.labelMargin, It(e, t);
|
|
476
|
+
}, "drawLabel"), Ut = /* @__PURE__ */ o(function(e, t, n) {
|
|
477
|
+
const i = e.append("g"), r = st();
|
|
478
|
+
r.x = t.x, r.y = t.y, r.fill = t.fill, r.width = n.width, r.height = n.height, r.class = "journey-section section-type-" + t.num, r.rx = 3, r.ry = 3, J(i, r), Ht(n)(
|
|
479
|
+
t.text,
|
|
480
|
+
i,
|
|
481
|
+
r.x,
|
|
482
|
+
r.y,
|
|
483
|
+
r.width,
|
|
484
|
+
r.height,
|
|
485
|
+
{ class: "journey-section section-type-" + t.num },
|
|
486
|
+
n,
|
|
487
|
+
t.colour
|
|
488
|
+
);
|
|
489
|
+
}, "drawSection"), et = -1, Xt = /* @__PURE__ */ o(function(e, t, n, i) {
|
|
490
|
+
const r = t.x + n.width / 2, h = e.append("g");
|
|
491
|
+
et++, h.append("line").attr("id", i + "-task" + et).attr("x1", r).attr("y1", t.y).attr("x2", r).attr("y2", 450).attr("class", "task-line").attr("stroke-width", "1px").attr("stroke-dasharray", "4 2").attr("stroke", "#666"), Dt(h, {
|
|
492
|
+
cx: r,
|
|
493
|
+
cy: 300 + (5 - t.score) * 30,
|
|
494
|
+
score: t.score
|
|
495
|
+
});
|
|
496
|
+
const a = st();
|
|
497
|
+
a.x = t.x, a.y = t.y, a.fill = t.fill, a.width = n.width, a.height = n.height, a.class = "task task-type-" + t.num, a.rx = 3, a.ry = 3, J(h, a), Ht(n)(
|
|
498
|
+
t.task,
|
|
499
|
+
h,
|
|
500
|
+
a.x,
|
|
501
|
+
a.y,
|
|
502
|
+
a.width,
|
|
503
|
+
a.height,
|
|
504
|
+
{ class: "task" },
|
|
505
|
+
n,
|
|
506
|
+
t.colour
|
|
507
|
+
);
|
|
508
|
+
}, "drawTask"), Zt = /* @__PURE__ */ o(function(e, t) {
|
|
509
|
+
J(e, {
|
|
510
|
+
x: t.startx,
|
|
511
|
+
y: t.starty,
|
|
512
|
+
width: t.stopx - t.startx,
|
|
513
|
+
height: t.stopy - t.starty,
|
|
514
|
+
fill: t.fill,
|
|
515
|
+
class: "rect"
|
|
516
|
+
}).lower();
|
|
517
|
+
}, "drawBackgroundRect"), qt = /* @__PURE__ */ o(function() {
|
|
518
|
+
return {
|
|
519
|
+
x: 0,
|
|
520
|
+
y: 0,
|
|
521
|
+
fill: void 0,
|
|
522
|
+
"text-anchor": "start",
|
|
523
|
+
width: 100,
|
|
524
|
+
height: 100,
|
|
525
|
+
textMargin: 0,
|
|
526
|
+
rx: 0,
|
|
527
|
+
ry: 0
|
|
528
|
+
};
|
|
529
|
+
}, "getTextObj"), st = /* @__PURE__ */ o(function() {
|
|
530
|
+
return {
|
|
531
|
+
x: 0,
|
|
532
|
+
y: 0,
|
|
533
|
+
width: 100,
|
|
534
|
+
anchor: "start",
|
|
535
|
+
height: 100,
|
|
536
|
+
rx: 0,
|
|
537
|
+
ry: 0
|
|
538
|
+
};
|
|
539
|
+
}, "getNoteRect"), Ht = /* @__PURE__ */ (function() {
|
|
540
|
+
function e(r, h, l, a, f, p, m, y) {
|
|
541
|
+
const k = h.append("text").attr("x", l + f / 2).attr("y", a + p / 2 + 5).style("font-color", y).style("text-anchor", "middle").text(r);
|
|
542
|
+
i(k, m);
|
|
543
|
+
}
|
|
544
|
+
o(e, "byText");
|
|
545
|
+
function t(r, h, l, a, f, p, m, y, k) {
|
|
546
|
+
const { taskFontSize: s, taskFontFamily: d } = y, c = r.split(/<br\s*\/?>/gi);
|
|
547
|
+
for (let g = 0; g < c.length; g++) {
|
|
548
|
+
const x = g * s - s * (c.length - 1) / 2, u = h.append("text").attr("x", l + f / 2).attr("y", a).attr("fill", k).style("text-anchor", "middle").style("font-size", s).style("font-family", d);
|
|
549
|
+
u.append("tspan").attr("x", l + f / 2).attr("dy", x).text(c[g]), u.attr("y", a + p / 2).attr("dominant-baseline", "central").attr("alignment-baseline", "central"), i(u, m);
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
o(t, "byTspan");
|
|
553
|
+
function n(r, h, l, a, f, p, m, y) {
|
|
554
|
+
const k = h.append("switch"), d = k.append("foreignObject").attr("x", l).attr("y", a).attr("width", f).attr("height", p).attr("position", "fixed").append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
|
|
555
|
+
d.append("div").attr("class", "label").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(r), t(r, k, l, a, f, p, m, y), i(d, m);
|
|
556
|
+
}
|
|
557
|
+
o(n, "byFo");
|
|
558
|
+
function i(r, h) {
|
|
559
|
+
for (const l in h)
|
|
560
|
+
l in h && r.attr(l, h[l]);
|
|
561
|
+
}
|
|
562
|
+
return o(i, "_setTextAttrs"), function(r) {
|
|
563
|
+
return r.textPlacement === "fo" ? n : r.textPlacement === "old" ? e : t;
|
|
564
|
+
};
|
|
565
|
+
})(), Jt = /* @__PURE__ */ o(function(e, t) {
|
|
566
|
+
Nt = 0, et = -1, e.append("defs").append("marker").attr("id", t + "-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");
|
|
567
|
+
}, "initGraphics");
|
|
568
|
+
function it(e, t) {
|
|
569
|
+
e.each(function() {
|
|
570
|
+
var n = U(this), i = n.text().split(/(\s+|<br>)/).reverse(), r, h = [], l = 1.1, a = n.attr("y"), f = parseFloat(n.attr("dy")), p = n.text(null).append("tspan").attr("x", 0).attr("y", a).attr("dy", f + "em");
|
|
571
|
+
for (let m = 0; m < i.length; m++)
|
|
572
|
+
r = i[i.length - 1 - m], h.push(r), p.text(h.join(" ").trim()), (p.node().getComputedTextLength() > t || r === "<br>") && (h.pop(), p.text(h.join(" ").trim()), r === "<br>" ? h = [""] : h = [r], p = n.append("tspan").attr("x", 0).attr("y", a).attr("dy", l + "em").text(r));
|
|
573
|
+
});
|
|
574
|
+
}
|
|
575
|
+
o(it, "wrap");
|
|
576
|
+
var Qt = /* @__PURE__ */ o(function(e, t, n, i, r, h = !1) {
|
|
577
|
+
const { theme: l, look: a } = i, f = l?.includes("redux"), p = i?.themeVariables?.THEME_COLOR_LIMIT ?? 12, m = n % p - 1, y = e.append("g");
|
|
578
|
+
t.section = m, y.attr(
|
|
579
|
+
"class",
|
|
580
|
+
(t.class ? t.class + " " : "") + "timeline-node " + ("section-" + m)
|
|
581
|
+
);
|
|
582
|
+
const k = y.append("g"), s = y.append("g"), c = s.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(it, t.width).node().getBBox(), g = i.fontSize?.replace ? i.fontSize.replace("px", "") : i.fontSize;
|
|
583
|
+
if (t.height = c.height + g * 1.1 * 0.5 + t.padding, t.height = Math.max(t.height, t.maxHeight), t.width = t.width + 2 * t.padding, s.attr("transform", "translate(" + t.width / 2 + ", " + t.padding / 2 + ")"), f && s.attr(
|
|
584
|
+
"transform",
|
|
585
|
+
`translate(${t.width / 2}, ${h ? t.padding / 2 + 3 : t.padding})`
|
|
586
|
+
), te(k, t, m, r, i), a === "neo" && (y.attr("data-look", "neo"), f)) {
|
|
587
|
+
const x = l.includes("dark"), u = e.node()?.ownerSVGElement ?? e.node(), S = U(u), v = S.attr("id") ?? "", I = v ? `${v}-drop-shadow` : "drop-shadow";
|
|
588
|
+
if (S.select(`#${I}`).empty()) {
|
|
589
|
+
const R = S.select("defs");
|
|
590
|
+
(R.empty() ? S.append("defs") : R).append("filter").attr("id", I).attr("height", "130%").attr("width", "130%").append("feDropShadow").attr("dx", "4").attr("dy", "4").attr("stdDeviation", 0).attr("flood-opacity", x ? "0.2" : "0.06").attr("flood-color", x ? "#FFFFFF" : "#000000");
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
return t;
|
|
594
|
+
}, "drawNode"), Yt = /* @__PURE__ */ o(function(e, t, n) {
|
|
595
|
+
const i = e.append("g"), h = i.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(it, t.width).node().getBBox(), l = n.fontSize?.replace ? n.fontSize.replace("px", "") : n.fontSize;
|
|
596
|
+
return i.remove(), h.height + l * 1.1 * 0.5 + t.padding;
|
|
597
|
+
}, "getVirtualNodeHeight"), te = /* @__PURE__ */ o(function(e, t, n, i, r) {
|
|
598
|
+
const { theme: h } = r, l = h?.includes("redux") ? 0 : 5, a = 5, f = l > 0 ? `M0 ${t.height - a} v${-t.height + 2 * a} q0,-${l},${l},-${l} h${t.width - 2 * a} q${l},0,${l},${l} v${t.height - a} H0 Z` : `M0 ${t.height - a} v${-(t.height - a)} h${t.width} v${t.height} H0 Z`;
|
|
599
|
+
e.append("path").attr("id", i + "-node-" + Nt++).attr("class", "node-bkg node-" + t.type).attr("d", f), h?.includes("redux") || e.append("line").attr("class", "node-line-" + n).attr("x1", 0).attr("y1", t.height).attr("x2", t.width).attr("y2", t.height);
|
|
600
|
+
}, "defaultBkg"), M = {
|
|
601
|
+
drawRect: J,
|
|
602
|
+
drawCircle: jt,
|
|
603
|
+
drawSection: Ut,
|
|
604
|
+
drawText: It,
|
|
605
|
+
drawLabel: Kt,
|
|
606
|
+
drawTask: Xt,
|
|
607
|
+
drawBackgroundRect: Zt,
|
|
608
|
+
getTextObj: qt,
|
|
609
|
+
getNoteRect: st,
|
|
610
|
+
initGraphics: Jt,
|
|
611
|
+
drawNode: Qt,
|
|
612
|
+
getVirtualNodeHeight: Yt
|
|
613
|
+
}, ee = /* @__PURE__ */ o(function(e, t, n, i) {
|
|
614
|
+
const r = pt(), { look: h, theme: l, themeVariables: a } = r, { useGradient: f, gradientStart: p, gradientStop: m } = a, y = r.timeline?.leftMargin ?? 50;
|
|
615
|
+
E.debug("timeline", i.db);
|
|
616
|
+
const k = r.securityLevel;
|
|
617
|
+
let s;
|
|
618
|
+
k === "sandbox" && (s = U("#i" + t));
|
|
619
|
+
const c = (k === "sandbox" ? U(s.nodes()[0].contentDocument.body) : U("body")).select("#" + t);
|
|
620
|
+
c.append("g");
|
|
621
|
+
const g = i.db.getTasks(), x = i.db.getCommonDb().getDiagramTitle();
|
|
622
|
+
E.debug("task", g), M.initGraphics(c, t);
|
|
623
|
+
const u = i.db.getSections();
|
|
624
|
+
E.debug("sections", u);
|
|
625
|
+
let S = 0, v = 0, I = 0, R = 0, W = 50 + y, O = 50;
|
|
626
|
+
R = 50;
|
|
627
|
+
let L = 0, w = !0;
|
|
628
|
+
u.forEach(function(N) {
|
|
629
|
+
const b = {
|
|
630
|
+
number: L,
|
|
631
|
+
descr: N,
|
|
632
|
+
section: L,
|
|
633
|
+
width: 150,
|
|
634
|
+
padding: 20,
|
|
635
|
+
maxHeight: S
|
|
636
|
+
}, _ = M.getVirtualNodeHeight(c, b, r);
|
|
637
|
+
E.debug("sectionHeight before draw", _), S = Math.max(S, _ + 20);
|
|
638
|
+
});
|
|
639
|
+
let H = 0, V = 0;
|
|
640
|
+
E.debug("tasks.length", g.length);
|
|
641
|
+
for (const [N, b] of g.entries()) {
|
|
642
|
+
const _ = {
|
|
643
|
+
number: N,
|
|
644
|
+
descr: b,
|
|
645
|
+
section: b.section,
|
|
646
|
+
width: 150,
|
|
647
|
+
padding: 20,
|
|
648
|
+
maxHeight: v
|
|
649
|
+
}, $ = M.getVirtualNodeHeight(c, _, r);
|
|
650
|
+
E.debug("taskHeight before draw", $), v = Math.max(v, $ + 20), H = Math.max(H, b.events.length);
|
|
651
|
+
let T = 0;
|
|
652
|
+
for (const P of b.events) {
|
|
653
|
+
const C = {
|
|
654
|
+
descr: P,
|
|
655
|
+
section: b.section,
|
|
656
|
+
number: b.section,
|
|
657
|
+
width: 150,
|
|
658
|
+
padding: 20,
|
|
659
|
+
maxHeight: 50
|
|
660
|
+
};
|
|
661
|
+
T += M.getVirtualNodeHeight(c, C, r);
|
|
662
|
+
}
|
|
663
|
+
b.events.length > 0 && (T += (b.events.length - 1) * 10), V = Math.max(V, T);
|
|
664
|
+
}
|
|
665
|
+
E.debug("maxSectionHeight before draw", S), E.debug("maxTaskHeight before draw", v), u && u.length > 0 ? u.forEach((N) => {
|
|
666
|
+
const b = g.filter((P) => P.section === N), _ = {
|
|
667
|
+
number: L,
|
|
668
|
+
descr: N,
|
|
669
|
+
section: L,
|
|
670
|
+
width: 200 * Math.max(b.length, 1) - 50,
|
|
671
|
+
padding: 20,
|
|
672
|
+
maxHeight: S
|
|
673
|
+
};
|
|
674
|
+
E.debug("sectionNode", _);
|
|
675
|
+
const $ = c.append("g"), T = M.drawNode($, _, L, r, t);
|
|
676
|
+
E.debug("sectionNode output", T), $.attr("transform", `translate(${W}, ${R})`), O += S + 50, b.length > 0 && ct(
|
|
677
|
+
c,
|
|
678
|
+
b,
|
|
679
|
+
L,
|
|
680
|
+
W,
|
|
681
|
+
O,
|
|
682
|
+
v,
|
|
683
|
+
r,
|
|
684
|
+
H,
|
|
685
|
+
V,
|
|
686
|
+
S,
|
|
687
|
+
!1,
|
|
688
|
+
t
|
|
689
|
+
), W += 200 * Math.max(b.length, 1), O = R, L++;
|
|
690
|
+
}) : (w = !1, ct(
|
|
691
|
+
c,
|
|
692
|
+
g,
|
|
693
|
+
L,
|
|
694
|
+
W,
|
|
695
|
+
O,
|
|
696
|
+
v,
|
|
697
|
+
r,
|
|
698
|
+
H,
|
|
699
|
+
V,
|
|
700
|
+
S,
|
|
701
|
+
!0,
|
|
702
|
+
t
|
|
703
|
+
));
|
|
704
|
+
const F = c.node().getBBox();
|
|
705
|
+
if (E.debug("bounds", F), x && c.append("text").text(x).attr("x", h === "neo" ? F.x * 2 + y : F.width / 2 - y).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), I = w ? S + v + 150 : v + 100, c.append("g").attr("class", "lineWrapper").append("line").attr("x1", y).attr("y1", I).attr("x2", F.width + 3 * y).attr("y2", I).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", `url(#${t}-arrowhead)`), h === "neo" && f && l !== "neutral") {
|
|
706
|
+
const N = c.select("defs"), _ = (N.empty() ? c.append("defs") : N).append("linearGradient").attr("id", c.attr("id") + "-gradient").attr("gradientUnits", "objectBoundingBox").attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
|
|
707
|
+
_.append("stop").attr("offset", "0%").attr("stop-color", p).attr("stop-opacity", 1), _.append("stop").attr("offset", "100%").attr("stop-color", m).attr("stop-opacity", 1);
|
|
708
|
+
}
|
|
709
|
+
ft(
|
|
710
|
+
void 0,
|
|
711
|
+
c,
|
|
712
|
+
r.timeline?.padding ?? 50,
|
|
713
|
+
r.timeline?.useMaxWidth ?? !1
|
|
714
|
+
);
|
|
715
|
+
}, "draw"), ct = /* @__PURE__ */ o(function(e, t, n, i, r, h, l, a, f, p, m, y) {
|
|
716
|
+
for (const k of t) {
|
|
717
|
+
const s = {
|
|
718
|
+
descr: k.task,
|
|
719
|
+
section: n,
|
|
720
|
+
number: n,
|
|
721
|
+
width: 150,
|
|
722
|
+
padding: 20,
|
|
723
|
+
maxHeight: h
|
|
724
|
+
};
|
|
725
|
+
E.debug("taskNode", s);
|
|
726
|
+
const d = e.append("g").attr("class", "taskWrapper"), g = M.drawNode(d, s, n, l, y).height;
|
|
727
|
+
if (E.debug("taskHeight after draw", g), d.attr("transform", `translate(${i}, ${r})`), h = Math.max(h, g), k.events) {
|
|
728
|
+
const x = e.append("g").attr("class", "lineWrapper");
|
|
729
|
+
let u = h;
|
|
730
|
+
r += 100, u = u + ne(e, k.events, n, i, r, l, y), r -= 100, x.append("line").attr("x1", i + 190 / 2).attr("y1", r + h).attr("x2", i + 190 / 2).attr("y2", r + h + 100 + f + 100).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", `url(#${y}-arrowhead)`).attr("stroke-dasharray", "5,5");
|
|
731
|
+
}
|
|
732
|
+
i = i + 200, m && !l.timeline?.disableMulticolor && n++;
|
|
733
|
+
}
|
|
734
|
+
r = r - 10;
|
|
735
|
+
}, "drawTasks"), ne = /* @__PURE__ */ o(function(e, t, n, i, r, h, l) {
|
|
736
|
+
let a = 0;
|
|
737
|
+
const f = r;
|
|
738
|
+
r = r + 100;
|
|
739
|
+
for (const p of t) {
|
|
740
|
+
const m = {
|
|
741
|
+
descr: p,
|
|
742
|
+
section: n,
|
|
743
|
+
number: n,
|
|
744
|
+
width: 150,
|
|
745
|
+
padding: 20,
|
|
746
|
+
maxHeight: 50
|
|
747
|
+
};
|
|
748
|
+
E.debug("eventNode", m);
|
|
749
|
+
const y = e.append("g").attr("class", "eventWrapper"), s = M.drawNode(y, m, n, h, l, !0).height;
|
|
750
|
+
a = a + s, y.attr("transform", `translate(${i}, ${r})`), r = r + 10 + s;
|
|
751
|
+
}
|
|
752
|
+
return r = f, a;
|
|
753
|
+
}, "drawEvents"), re = {
|
|
754
|
+
setConf: /* @__PURE__ */ o(() => {
|
|
755
|
+
}, "setConf"),
|
|
756
|
+
draw: ee
|
|
757
|
+
}, Q = 200, z = 5, se = Q + z * 2, at = Q + 100, ie = at + z * 2, Lt = 10, ae = 0, ht = 20, Mt = 20, dt = 30, At = 50, oe = /* @__PURE__ */ o(function(e, t, n, i) {
|
|
758
|
+
const r = pt(), h = r.timeline?.leftMargin ?? 50;
|
|
759
|
+
E.debug("timeline", i.db);
|
|
760
|
+
const l = Pt(t);
|
|
761
|
+
l.append("g");
|
|
762
|
+
const a = i.db.getTasks(), f = i.db.getCommonDb().getDiagramTitle();
|
|
763
|
+
E.debug("task", a), M.initGraphics(l);
|
|
764
|
+
const p = i.db.getSections();
|
|
765
|
+
E.debug("sections", p);
|
|
766
|
+
let m = 0, y = 0;
|
|
767
|
+
const k = 50 + h;
|
|
768
|
+
let s = 50;
|
|
769
|
+
const d = s, c = k, g = se + Mt, x = ie + At, u = c + g;
|
|
770
|
+
let S = 0;
|
|
771
|
+
const v = p && p.length > 0, I = v ? u : k + g, R = Math.max(50, g + x - z * 2);
|
|
772
|
+
p.forEach(function(N) {
|
|
773
|
+
const b = {
|
|
774
|
+
number: S,
|
|
775
|
+
descr: N,
|
|
776
|
+
section: S,
|
|
777
|
+
width: R,
|
|
778
|
+
padding: z,
|
|
779
|
+
maxHeight: m
|
|
780
|
+
}, _ = M.getVirtualNodeHeight(l, b, r);
|
|
781
|
+
E.debug("sectionHeight before draw", _), m = Math.max(m, _);
|
|
782
|
+
});
|
|
783
|
+
let W = 0;
|
|
784
|
+
E.debug("tasks.length", a.length);
|
|
785
|
+
for (const [N, b] of a.entries()) {
|
|
786
|
+
const _ = {
|
|
787
|
+
number: N,
|
|
788
|
+
descr: b,
|
|
789
|
+
section: b.section,
|
|
790
|
+
width: Q,
|
|
791
|
+
padding: z,
|
|
792
|
+
maxHeight: y
|
|
793
|
+
}, $ = M.getVirtualNodeHeight(l, _, r);
|
|
794
|
+
E.debug("taskHeight before draw", $), y = Math.max(y, $);
|
|
795
|
+
let T = 0;
|
|
796
|
+
for (const P of b.events) {
|
|
797
|
+
const C = {
|
|
798
|
+
descr: P,
|
|
799
|
+
section: b.section,
|
|
800
|
+
number: b.section,
|
|
801
|
+
width: at,
|
|
802
|
+
padding: z,
|
|
803
|
+
maxHeight: 50
|
|
804
|
+
};
|
|
805
|
+
T += M.getVirtualNodeHeight(l, C, r);
|
|
806
|
+
}
|
|
807
|
+
b.events.length > 0 && (T += (b.events.length - 1) * Lt), W = Math.max(W, T) + ae;
|
|
808
|
+
}
|
|
809
|
+
E.debug("maxSectionHeight before draw", m), E.debug("maxTaskHeight before draw", y);
|
|
810
|
+
const L = Math.max(y, W) + dt;
|
|
811
|
+
v ? p.forEach((N) => {
|
|
812
|
+
const b = a.filter((X) => X.section === N), _ = {
|
|
813
|
+
number: S,
|
|
814
|
+
descr: N,
|
|
815
|
+
section: S,
|
|
816
|
+
width: R,
|
|
817
|
+
padding: z,
|
|
818
|
+
maxHeight: m
|
|
819
|
+
};
|
|
820
|
+
E.debug("sectionNode", _);
|
|
821
|
+
const $ = l.append("g"), T = M.drawNode($, _, S, r);
|
|
822
|
+
E.debug("sectionNode output", T);
|
|
823
|
+
const P = I - g;
|
|
824
|
+
$.attr("transform", `translate(${P}, ${s})`);
|
|
825
|
+
const C = s + T.height + ht;
|
|
826
|
+
b.length > 0 && ut(
|
|
827
|
+
l,
|
|
828
|
+
b,
|
|
829
|
+
S,
|
|
830
|
+
I,
|
|
831
|
+
C,
|
|
832
|
+
y,
|
|
833
|
+
r,
|
|
834
|
+
L,
|
|
835
|
+
!1
|
|
836
|
+
);
|
|
837
|
+
const G = b.length, B = T.height + ht + L * Math.max(G, 1) - (G > 0 ? dt * 2 : 0);
|
|
838
|
+
s += B, S++;
|
|
839
|
+
}) : ut(
|
|
840
|
+
l,
|
|
841
|
+
a,
|
|
842
|
+
S,
|
|
843
|
+
I,
|
|
844
|
+
s,
|
|
845
|
+
y,
|
|
846
|
+
r,
|
|
847
|
+
L,
|
|
848
|
+
!0
|
|
849
|
+
);
|
|
850
|
+
let w = l.node()?.getBBox();
|
|
851
|
+
if (!w)
|
|
852
|
+
throw new Error("bbox not found");
|
|
853
|
+
if (E.debug("bounds", w), f) {
|
|
854
|
+
if (l.append("text").text(f).attr("x", w.width / 2 - h).attr("font-size", "4ex").attr("font-weight", "bold").attr("y", 20), w = l.node()?.getBBox(), !w)
|
|
855
|
+
throw new Error("bbox not found");
|
|
856
|
+
E.debug("bounds after title", w);
|
|
857
|
+
}
|
|
858
|
+
const [H] = Bt(r.fontSize), V = (H ?? 16) * 2, F = (H ?? 16) * 0.5 + 20, K = l.append("g").attr("class", "lineWrapper");
|
|
859
|
+
K.append("line").attr("x1", I).attr("y1", d - V).attr("x2", I).attr("y2", w.y + w.height + F).attr("stroke-width", 4).attr("stroke", "black").attr("marker-end", "url(#arrowhead)"), K.lower(), ft(
|
|
860
|
+
void 0,
|
|
861
|
+
l,
|
|
862
|
+
r.timeline?.padding ?? 50,
|
|
863
|
+
r.timeline?.useMaxWidth ?? !1
|
|
864
|
+
);
|
|
865
|
+
}, "draw"), ut = /* @__PURE__ */ o(function(e, t, n, i, r, h, l, a, f) {
|
|
866
|
+
for (const p of t) {
|
|
867
|
+
const m = {
|
|
868
|
+
descr: p.task,
|
|
869
|
+
section: n,
|
|
870
|
+
number: n,
|
|
871
|
+
width: Q,
|
|
872
|
+
padding: z,
|
|
873
|
+
maxHeight: h
|
|
874
|
+
};
|
|
875
|
+
E.debug("taskNode", m);
|
|
876
|
+
const y = e.append("g").attr("class", "taskWrapper"), k = M.drawNode(y, m, n, l), s = k.height;
|
|
877
|
+
E.debug("taskHeight after draw", s);
|
|
878
|
+
const d = i - Mt - k.width;
|
|
879
|
+
if (y.attr("transform", `translate(${d}, ${r})`), h = Math.max(h, s), p.events && p.events.length > 0) {
|
|
880
|
+
const c = r, g = i + At;
|
|
881
|
+
le(e, p.events, n, i, g, c, l);
|
|
882
|
+
}
|
|
883
|
+
r = r + a, f && !l.timeline?.disableMulticolor && n++;
|
|
884
|
+
}
|
|
885
|
+
}, "drawTasks"), le = /* @__PURE__ */ o(function(e, t, n, i, r, h, l) {
|
|
886
|
+
let a = h;
|
|
887
|
+
for (const f of t) {
|
|
888
|
+
const p = {
|
|
889
|
+
descr: f,
|
|
890
|
+
section: n,
|
|
891
|
+
number: n,
|
|
892
|
+
width: at,
|
|
893
|
+
padding: z,
|
|
894
|
+
maxHeight: 0
|
|
895
|
+
};
|
|
896
|
+
E.debug("eventNode", p);
|
|
897
|
+
const m = e.append("g").attr("class", "eventWrapper"), k = M.drawNode(m, p, n, l).height;
|
|
898
|
+
m.attr("transform", `translate(${r}, ${a})`);
|
|
899
|
+
const s = e.append("g").attr("class", "lineWrapper"), d = a + k / 2;
|
|
900
|
+
s.append("line").attr("x1", i).attr("y1", d).attr("x2", r).attr("y2", d).attr("stroke-width", 2).attr("stroke", "black").attr("marker-end", "url(#arrowhead)").attr("stroke-dasharray", "5,5"), a = a + k + Lt;
|
|
901
|
+
}
|
|
902
|
+
return a - h;
|
|
903
|
+
}, "drawEvents"), ce = {
|
|
904
|
+
setConf: /* @__PURE__ */ o(() => {
|
|
905
|
+
}, "setConf"),
|
|
906
|
+
draw: oe
|
|
907
|
+
}, he = /* @__PURE__ */ o((e) => {
|
|
908
|
+
const { theme: t } = gt(), n = t?.includes("dark"), i = t?.includes("color"), r = e.svgId?.replace(/^#/, "") ?? "", h = r ? `url(#${r}-drop-shadow)` : e.dropShadow ?? "none";
|
|
909
|
+
let l = "";
|
|
910
|
+
for (let a = 0; a < e.THEME_COLOR_LIMIT; a++) {
|
|
911
|
+
const f = `${17 - 3 * a}`, p = i ? e.borderColorArray[a] : e.mainBkg, m = i ? e.borderColorArray[a] : e.nodeBorder;
|
|
912
|
+
l += `
|
|
913
|
+
.section-${a - 1} rect,
|
|
914
|
+
.section-${a - 1} path,
|
|
915
|
+
.section-${a - 1} circle {
|
|
916
|
+
fill: ${n && i ? e.mainBkg : p};
|
|
917
|
+
stroke: ${m};
|
|
918
|
+
stroke-width: ${e.strokeWidth};
|
|
919
|
+
filter: ${h};
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
.section-${a - 1} text {
|
|
923
|
+
fill: ${e.nodeBorder};
|
|
924
|
+
font-weight: ${e.fontWeight}
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
.node-icon-${a - 1} {
|
|
928
|
+
font-size: 40px;
|
|
929
|
+
color: ${e["cScaleLabel" + a]};
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
.section-edge-${a - 1} {
|
|
933
|
+
stroke: ${e["cScale" + a]};
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
.edge-depth-${a - 1} {
|
|
937
|
+
stroke-width: ${f};
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
.section-${a - 1} line {
|
|
941
|
+
stroke: ${e["cScaleInv" + a]};
|
|
942
|
+
stroke-width: 3;
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
.lineWrapper line {
|
|
946
|
+
stroke: ${e.nodeBorder};
|
|
947
|
+
stroke-width:${e.strokeWidth}
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
.disabled,
|
|
951
|
+
.disabled circle,
|
|
952
|
+
.disabled text {
|
|
953
|
+
fill: ${e.tertiaryColor ?? "lightgray"};
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
.disabled text {
|
|
957
|
+
fill: ${e.clusterBorder ?? "#efefef"};
|
|
958
|
+
}
|
|
959
|
+
`;
|
|
960
|
+
}
|
|
961
|
+
return l;
|
|
962
|
+
}, "genReduxSections"), de = /* @__PURE__ */ o((e) => {
|
|
963
|
+
let t = "";
|
|
964
|
+
for (let n = 0; n < e.THEME_COLOR_LIMIT; n++)
|
|
965
|
+
e["lineColor" + n] = e["lineColor" + n] || e["cScaleInv" + n], Rt(e["lineColor" + n]) ? e["lineColor" + n] = Ct(e["lineColor" + n], 20) : e["lineColor" + n] = Wt(e["lineColor" + n], 20);
|
|
966
|
+
for (let n = 0; n < e.THEME_COLOR_LIMIT; n++) {
|
|
967
|
+
const i = "" + (17 - 3 * n);
|
|
968
|
+
t += `
|
|
969
|
+
.section-${n - 1} rect, .section-${n - 1} path, .section-${n - 1} circle, .section-${n - 1} path {
|
|
970
|
+
fill: ${e["cScale" + n]};
|
|
971
|
+
}
|
|
972
|
+
.section-${n - 1} text {
|
|
973
|
+
fill: ${e["cScaleLabel" + n]};
|
|
974
|
+
}
|
|
975
|
+
.node-icon-${n - 1} {
|
|
976
|
+
font-size: 40px;
|
|
977
|
+
color: ${e["cScaleLabel" + n]};
|
|
978
|
+
}
|
|
979
|
+
.section-edge-${n - 1}{
|
|
980
|
+
stroke: ${e["cScale" + n]};
|
|
981
|
+
}
|
|
982
|
+
.edge-depth-${n - 1}{
|
|
983
|
+
stroke-width: ${i};
|
|
984
|
+
}
|
|
985
|
+
.section-${n - 1} line {
|
|
986
|
+
stroke: ${e["cScaleInv" + n]} ;
|
|
987
|
+
stroke-width: 3;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
.lineWrapper line{
|
|
991
|
+
stroke: ${e["cScaleLabel" + n]} ;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
.disabled, .disabled circle, .disabled text {
|
|
995
|
+
fill: ${e.tertiaryColor ?? "lightgray"};
|
|
996
|
+
}
|
|
997
|
+
.disabled text {
|
|
998
|
+
fill: ${e.clusterBorder ?? "#efefef"};
|
|
999
|
+
}
|
|
1000
|
+
`;
|
|
1001
|
+
}
|
|
1002
|
+
return t;
|
|
1003
|
+
}, "genSections"), ue = /* @__PURE__ */ o((e) => {
|
|
1004
|
+
const { theme: t } = gt(), n = t?.includes("redux"), i = t === "neutral", r = e.svgId?.replace(/^#/, "") ?? "";
|
|
1005
|
+
let h = "";
|
|
1006
|
+
if (e.useGradient && r && e.THEME_COLOR_LIMIT && !i)
|
|
1007
|
+
for (let l = 0; l < e.THEME_COLOR_LIMIT; l++)
|
|
1008
|
+
h += `
|
|
1009
|
+
.section-${l - 1}[data-look="neo"] rect,
|
|
1010
|
+
.section-${l - 1}[data-look="neo"] path,
|
|
1011
|
+
.section-${l - 1}[data-look="neo"] circle {
|
|
1012
|
+
fill: ${e.mainBkg};
|
|
1013
|
+
stroke: url(#${r}-gradient);
|
|
1014
|
+
stroke-width: 2;
|
|
1015
|
+
}
|
|
1016
|
+
.section-${l - 1}[data-look="neo"] line {
|
|
1017
|
+
stroke: url(#${r}-gradient);
|
|
1018
|
+
stroke-width: 2;
|
|
1019
|
+
}`;
|
|
1020
|
+
return `
|
|
1021
|
+
.edge {
|
|
1022
|
+
stroke-width: 3;
|
|
1023
|
+
}
|
|
1024
|
+
${n ? he(e) : de(e)}
|
|
1025
|
+
${h}
|
|
1026
|
+
.section-root rect, .section-root path, .section-root circle {
|
|
1027
|
+
fill: ${e.git0};
|
|
1028
|
+
}
|
|
1029
|
+
.section-root text {
|
|
1030
|
+
fill: ${e.gitBranchLabel0};
|
|
1031
|
+
}
|
|
1032
|
+
.icon-container {
|
|
1033
|
+
height:100%;
|
|
1034
|
+
display: flex;
|
|
1035
|
+
justify-content: center;
|
|
1036
|
+
align-items: center;
|
|
1037
|
+
}
|
|
1038
|
+
.edge {
|
|
1039
|
+
fill: none;
|
|
1040
|
+
}
|
|
1041
|
+
.eventWrapper {
|
|
1042
|
+
filter: brightness(120%);
|
|
1043
|
+
}
|
|
1044
|
+
`;
|
|
1045
|
+
}, "getStyles"), ge = ue, pe = {
|
|
1046
|
+
setConf: /* @__PURE__ */ o(() => {
|
|
1047
|
+
}, "setConf"),
|
|
1048
|
+
draw: /* @__PURE__ */ o((e, t, n, i) => (i?.db?.getDirection?.() ?? "LR") === "TD" ? ce.draw(e, t, n, i) : re.draw(e, t, n, i), "draw")
|
|
1049
|
+
}, me = {
|
|
1050
|
+
db: yt,
|
|
1051
|
+
renderer: pe,
|
|
1052
|
+
parser: Ot,
|
|
1053
|
+
styles: ge
|
|
1054
|
+
};
|
|
1055
|
+
export {
|
|
1056
|
+
me as diagram
|
|
1057
|
+
};
|
|
1058
|
+
//# sourceMappingURL=timeline-definition-PNZ67QCA-BTzUH3cf.js.map
|