@marimo-team/islands 0.23.17-dev54 → 0.23.17-dev55
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/dist/{ConnectedDataExplorerComponent-BBZRR1-C.js → ConnectedDataExplorerComponent-BUC1MrsF.js} +24 -24
- package/dist/{ErrorBoundary-CptUP1_t.js → ErrorBoundary-BniTEhHn.js} +7 -7
- package/dist/{ImageComparisonComponent-fdY0LUuf.js → ImageComparisonComponent-B7b8DcJI.js} +4 -4
- package/dist/{Plot-YQOuVIei.js → Plot-eTseCFf_.js} +4 -4
- package/dist/_initCloneObject-DNUst5Cg.js +91 -0
- package/dist/abnfDiagram-N423BO3Z-DA4j92-C.js +112 -0
- package/dist/{any-language-editor-BnIS9Mvg.js → any-language-editor-LHl8ZmVN.js} +26 -26
- package/dist/apl-Cwo7GIH7.js +4 -0
- package/dist/{arc-CTIpFoOn.js → arc-9nABupDE.js} +2 -2
- package/dist/architecture-TIHT7OUA-DxLlkuAK.js +5 -0
- package/dist/{architectureDiagram-VXUJARFQ-CfGr729i.js → architectureDiagram-T3A2C74G-BBlBK1Oh.js} +327 -214
- package/dist/{arrays-sEtDRoG4.js → arrays-C56grfjL.js} +1 -1
- package/dist/asciiarmor-jrfEZ3j_.js +4 -0
- package/dist/asn1-BNEiJ4nQ.js +4 -0
- package/dist/blockDiagram-VBNYF7ZC-Datz1WNn.js +3284 -0
- package/dist/brainfuck-BCunvTbd.js +4 -0
- package/dist/{button-8aS1QcHr.js → button-Dr2uAwhT.js} +5 -5
- package/dist/{c4Diagram-YG6GDRKO-C_3ITiA6.js → c4Diagram-5PPSVZJV-DTIsibpE.js} +165 -162
- package/dist/{capabilities-D23lgbH_.js → capabilities-BilXeZ7p.js} +2 -2
- package/dist/{channel-Bg4StoYP.js → channel-CuV_jmG4.js} +1 -1
- package/dist/{chat-ui-JS5FK7Ls.js → chat-ui-o-tATfmW.js} +32 -33
- package/dist/{check-D-BaEjEh.js → check-58HHfHKy.js} +1 -1
- package/dist/chunk-2GRJ4B5K-DRayWnnu.js +68 -0
- package/dist/{chunk-QZHKN3VN-Dym5BS7y.js → chunk-2Q5K7J3B-BSLyFOHa.js} +1 -1
- package/dist/chunk-3NCLNEKW-BPlp8K7N.js +11 -0
- package/dist/chunk-4I5QYGJK-CYJC3pkC.js +260 -0
- package/dist/chunk-5FCAYU7R-C3cMIeyz.js +24 -0
- package/dist/{chunk-5FQGJX7Z-B9WoXK1R.js → chunk-5FQGJX7Z-BRZ_XYUw.js} +6 -6
- package/dist/chunk-5HE753X5-D2jFCVXb.js +34 -0
- package/dist/chunk-5JV3BV7I-B7tzprBU.js +50 -0
- package/dist/{chunk-DI55MBZ5-CFmDWujZ.js → chunk-5RXB4S5H-DcCPfb0q.js} +373 -327
- package/dist/chunk-5TONJI2A-LRqbgPte.js +59 -0
- package/dist/{chunk-FMBD7UC4-quJmebXa.js → chunk-5VM5RSS4-ChXEBudA.js} +1 -1
- package/dist/chunk-6Q2QTUOP-zcnb3OaV.js +503 -0
- package/dist/{chunk-HN2XXSSU-Bv0QkeMr.js → chunk-7BUUIJ7U-CkIbJNZo.js} +32 -25
- package/dist/chunk-7Z6QIM7H-1j-x7ddW.js +606 -0
- package/dist/{chunk-FRFDVMJY-BHBqN-vD.js → chunk-BIQX33UG-B-BYk6sM.js} +3 -3
- package/dist/chunk-Bfp04NdC.js +25 -0
- package/dist/chunk-CQNSW5MT-DBXDKSOU.js +34 -0
- package/dist/{chunk-4F5CHEZ2-VlodlEGo.js → chunk-CYSBUYHQ-Cv-vKQV-.js} +1 -1
- package/dist/{chunk-SJTYNZTY-DnXoKWpW.js → chunk-EMLP6XTP-DCtMkXLF.js} +1 -1
- package/dist/{chunk-B4BG7PRW-C0gy-pwj.js → chunk-GF5L2VYU-esTxzELH.js} +878 -636
- package/dist/chunk-I66GZJ75-9xAsFrdW.js +3744 -0
- package/dist/chunk-J7OUQ5F2-CbNBTlFM.js +81 -0
- package/dist/chunk-JG7HCLWE-CZIm6axg.js +59 -0
- package/dist/{flowDiagram-NV44I4VS-C4JhRtt8.js → chunk-JQJVKLGR-ZALkKVji.js} +1019 -1001
- package/dist/{chunk-4BX2VUAB-iU5lQTDI.js → chunk-JWPE2WC7-C_Daz-Oc.js} +1 -1
- package/dist/{chunk-QN33PNHL-D3s0CL4V.js → chunk-KBJHAD2P-B7m9DztL.js} +3 -2
- package/dist/chunk-KEIR6QF5-aP6TmWQ-.js +21095 -0
- package/dist/{chunk-UMXZTB3W-D1uHz8MN.js → chunk-MOZMSUNE-BQi-ggQx.js} +7 -4
- package/dist/{chunk-S3R3BYOJ-eotljhmB.js → chunk-NSK5VX7P-BmmoJBbx.js} +320 -29
- package/dist/chunk-OSBZ3O6U-BcrmpSY_.js +22 -0
- package/dist/{chunk-TQ3KTPDO-CsDx6v37.js → chunk-QBLGF6JB-BACuPUWb.js} +3 -3
- package/dist/chunk-QR6OTTB3-C4L1dLRd.js +3762 -0
- package/dist/{chunk-B2363JML-zL3VngtH.js → chunk-R7FJI6CG-BYAXJpIb.js} +3 -3
- package/dist/chunk-RYQCIY6F-poA0Ugpr.js +243 -0
- package/dist/chunk-U6XO7XAA-I8tCjTeT.js +60 -0
- package/dist/chunk-UBXNYLIW-C8LueN5Q.js +34 -0
- package/dist/{chunk-ATLVNIR6-BPcuM5bj.js → chunk-W5SLKNZC-DK-_KuKT.js} +2 -2
- package/dist/{chunk-JA3XYJ7Z-Bpyllnke.js → chunk-WRU74C26-DLgw-V0j.js} +262 -451
- package/dist/chunk-XXDRQBXY-Dzcp3rUR.js +9 -0
- package/dist/chunk-Y2CYZVJY-DX3DSigL.js +13 -0
- package/dist/{chunk-PL6DKKU2-CAHKc95s.js → chunk-YOTPTUD7-C8qfgaz5.js} +5 -5
- package/dist/{chunk-MI3HLSF2-HGWI-8Pg.js → chunk-ZIRB5QZD-_JX1DzEJ.js} +12 -8
- package/dist/classDiagram-JCYQIIEL-D8A6ZyXv.js +32 -0
- package/dist/classDiagram-v2-OCEON4UE-DIdYl-t3.js +32 -0
- package/dist/{click-outside-container-BSIeYt4y.js → click-outside-container-BZNsAj09.js} +2 -2
- package/dist/{clike-7lgyEYRk.js → clike-CWndBX_M.js} +1 -1
- package/dist/clojure-2X0Rfij9.js +4 -0
- package/dist/cmake-DEwzCy9U.js +4 -0
- package/dist/cobol-Ck4eCoAB.js +4 -0
- package/dist/{code-block-37QAKDTI-MSxEjskJ.js → code-block-37QAKDTI-B4pWe5MI.js} +4 -4
- package/dist/coffeescript-bB1IDwhg.js +4 -0
- package/dist/{common-BlDVQnXS.js → common-D2ngWI-H.js} +36 -36
- package/dist/commonlisp-BDYrVBNC.js +4 -0
- package/dist/{compiler-runtime-CEbnTgxf.js → compiler-runtime-DsR6imPN.js} +2 -2
- package/dist/{copy-BkA3t7rJ.js → copy-C7ZKMKox.js} +5 -5
- package/dist/{cose-bilkent-S5V4N54A-BYj0aL7z.js → cose-bilkent-JH36ORCC-D6iQzSi6.js} +6 -5
- package/dist/crystal-BSoiVUiH.js +4 -0
- package/dist/css-w1h9i21f.js +4 -0
- package/dist/cynefin-VYW2F7L2-DnZOHyNF.js +5 -0
- package/dist/cynefinDiagram-MW4NZA55-B1GNPS2u.js +367 -0
- package/dist/cypher-B4xzuKGP.js +4 -0
- package/dist/{cytoscape.esm-Dr8XzXWK.js → cytoscape.esm-BPa26Dup.js} +393 -334
- package/dist/d-D50Bz34p.js +4 -0
- package/dist/{dagre-By_QsQgc.js → dagre-ThTNj8pe.js} +60 -45
- package/dist/dagre-VZM6K2ZE-DEs5dfXA.js +343 -0
- package/dist/{data-grid-overlay-editor-BWRG2b_o.js → data-grid-overlay-editor-Ci7TXVf5.js} +5 -5
- package/dist/{debounce-BOD3DbfP.js → debounce-D784bpms.js} +2 -2
- package/dist/diagram-7IWD3JNH-Bdk1_wJO.js +321 -0
- package/dist/diagram-B4RE2ZJO-Be9eYLJ0.js +464 -0
- package/dist/{diagram-S2PKOQOG-B1wW-oRg.js → diagram-LBJQPF4R-BNSnzxFw.js} +26 -18
- package/dist/{diagram-PSM6KHXK-DK8uv8Yo.js → diagram-Q27KOJAE-NPRzyGtd.js} +68 -63
- package/dist/diagram-UB23O5K3-Dogz4itg.js +236 -0
- package/dist/diff-BMdzfXq-.js +4 -0
- package/dist/{dist-DQj6A7SE.js → dist-72nb8Uag.js} +3 -3
- package/dist/{dist-CV79CsQ0.js → dist-9PC5KxMl.js} +2 -2
- package/dist/{dist-BNeJ8P-4.js → dist-Awj73yUw.js} +3 -3
- package/dist/{dist-v-kAJfMq.js → dist-B0Ctcrt9.js} +1 -1
- package/dist/{dist-DjQRRttD.js → dist-B1Donbpk.js} +2 -2
- package/dist/dist-BC6wzWNb.js +5 -0
- package/dist/dist-BMd_RcOy.js +5 -0
- package/dist/dist-BZEWjN6r.js +5 -0
- package/dist/{dist-B-upo54Y.js → dist-B_K4AAkc.js} +1 -1
- package/dist/dist-BeuGjR3n.js +6 -0
- package/dist/dist-BfDQCUe6.js +5 -0
- package/dist/dist-BhNblTOV.js +8 -0
- package/dist/{dist-DGQmYLkh.js → dist-C0ifRfXi.js} +1 -1
- package/dist/{dist-BxR-g1ig.js → dist-C3mEki35.js} +2 -2
- package/dist/{dist-BT96P4oR.js → dist-CNfV2vDI.js} +2 -2
- package/dist/{dist-CBraAJlT.js → dist-COcQ5Vyc.js} +4 -4
- package/dist/dist-CRCm4Fuo.js +5 -0
- package/dist/{dist-Slyx4vXr.js → dist-CSZpLb9d.js} +1 -1
- package/dist/{dist-BvvQUFUK.js → dist-CWswQBvu.js} +1 -1
- package/dist/{dist-DFQ91Mx1.js → dist-CXYro_Nw.js} +4 -4
- package/dist/{dist-BrKNRKC8.js → dist-Ckfsc8C3.js} +2 -2
- package/dist/{dist-CWYsUX_O.js → dist-Cyq6Pxtv.js} +1 -1
- package/dist/{dist-Ba1WFESi.js → dist-D-BWPyoX.js} +5 -5
- package/dist/{dist-BDwn6WIk.js → dist-D-YB6j-O.js} +2 -2
- package/dist/{dist-dJeh9ef4.js → dist-D1vYHETp.js} +2 -2
- package/dist/{dist-3F1XDSYc.js → dist-D9-ePb6D.js} +2 -2
- package/dist/dist-DBPEbGkd.js +8 -0
- package/dist/{dist-DK0pFEmc.js → dist-DC409ROm.js} +1 -1
- package/dist/{dist-B1W12VzQ.js → dist-DJRUd9aM.js} +2 -2
- package/dist/{dist-Ddb0VFS3.js → dist-DLvxZEAK.js} +2 -2
- package/dist/dist-DSsl8IAI.js +5 -0
- package/dist/{dist-B6au1PTB.js → dist-D_ulymry.js} +2 -2
- package/dist/{dist-DgkJegw4.js → dist-DgY27bJ4.js} +3 -3
- package/dist/{dist-CDBV8n0I.js → dist-DiwVZiK7.js} +1 -1
- package/dist/{dist-CdKRSqjo.js → dist-DnYHhW6c.js} +2 -2
- package/dist/dist-Dx0kkrek.js +5 -0
- package/dist/{dist-DsoKosxi.js → dist-HaLHv0k5.js} +2 -3
- package/dist/dist-NKA1TU8a.js +6 -0
- package/dist/dist-ZFcsIdHj.js +8 -0
- package/dist/{dist-D8SX5Qdg.js → dist-iZ8-rtUy.js} +2 -2
- package/dist/{dist-DarwE0ZO.js → dist-j30bBjjN.js} +6 -6
- package/dist/{dist-SXNmlE8A.js → dist-kOCFEa1U.js} +3 -3
- package/dist/{dist-BUzxp0Xf.js → dist-sxRUVPmt.js} +1 -1
- package/dist/dist-uA2RbGmY.js +5 -0
- package/dist/{dist-PQDZaPEo.js → dist-xVU82Nq7.js} +2 -2
- package/dist/dist-zSCo-xCB.js +8 -0
- package/dist/{dockerfile-B82Pkz_V.js → dockerfile-DImRFUlA.js} +1 -1
- package/dist/dtd-B9dCT0pu.js +4 -0
- package/dist/dylan-DLghDyuR.js +4 -0
- package/dist/ebnfDiagram-BXEA7PRR-CqRWkG7L.js +129 -0
- package/dist/ecl-w0qdPHDB.js +4 -0
- package/dist/eiffel-C5AWRCNP.js +4 -0
- package/dist/elm-CT8FZrOm.js +4 -0
- package/dist/{erDiagram-Q2GNP2WA-Cj186Id-.js → erDiagram-JOGREHBK-BZMJX-Au.js} +568 -436
- package/dist/erlang-DPD-9M5g.js +4 -0
- package/dist/{error-banner-dmkbm21G.js → error-banner-BwCLtmkH.js} +6 -6
- package/dist/{esm-CuQHjs36.js → esm-BJ4n0NUT.js} +1 -1
- package/dist/{esm-DEQU-LUO.js → esm-Dusmf6uu.js} +105 -105
- package/dist/{esm-D8vjxCyn.js → esm-QLUgkqzZ.js} +6 -6
- package/dist/eventmodeling-45OFAUF4-D8Kbnsr6.js +5 -0
- package/dist/{extends-DDOVg_b8.js → extends-iFBneQO_.js} +9 -9
- package/dist/{factor-Bq2mGIHt.js → factor-BonZgUGg.js} +1 -1
- package/dist/factor-rFfeJu3r.js +4 -0
- package/dist/flowDiagram-UKHOOZJN-DqIE8_b3.js +21 -0
- package/dist/{formats-xc-Msa0v.js → formats-HSfYlcA8.js} +7 -7
- package/dist/forth-C-3AyQx4.js +4 -0
- package/dist/fortran-BSN9TeT7.js +4 -0
- package/dist/ganttDiagram-PKOTCBZU-Bc9puoXb.js +2207 -0
- package/dist/gas-DwmuvQpB.js +4 -0
- package/dist/gherkin-gmCjL-Sn.js +4 -0
- package/dist/{gitGraph-G5XIXVHT-BjTx0kww.js → gitGraph-TEB2WS4Q-DVzLmQHc.js} +2 -3
- package/dist/gitGraphDiagram-DS77QQ5N-CqKr-Dfg.js +766 -0
- package/dist/{glide-data-editor-CyTNN635.js → glide-data-editor-BI2i_IEE.js} +18 -18
- package/dist/graphlib-DMVIRZap.js +614 -0
- package/dist/groovy-DCjvesOy.js +4 -0
- package/dist/hasIn-synBnXn4.js +119 -0
- package/dist/haskell-C1p0D9L8.js +4 -0
- package/dist/haxe-q-fgv0zr.js +5 -0
- package/dist/{html-to-image-BHmg0rCT.js → html-to-image-BOiFHx3u.js} +7464 -2995
- package/dist/idl-Bmg4bsnK.js +4 -0
- package/dist/{info-VBDWY6EO-CA67FznA.js → info-DKCQHKI2-BxOTqQHM.js} +2 -3
- package/dist/infoDiagram-6WML65LV-B869X2KY.js +37 -0
- package/dist/{input-B4ddy8Jy.js → input-BRE2a7Ay.js} +13 -13
- package/dist/{_baseFor-4jw-lnCC.js → isArrayLikeObject-CBUaLibE.js} +96 -29
- package/dist/{isEmpty-CJJMn-QP.js → isEmpty-CgME6WRV.js} +15 -15
- package/dist/{isSymbol-CoUCgMCM.js → isSymbol-Ch3GYg4S.js} +1 -1
- package/dist/ishikawaDiagram-WSZJBQD7-BrOMFBYy.js +731 -0
- package/dist/javascript-BY5QZ-eN.js +4 -0
- package/dist/{journeyDiagram-XKPGCS4Q-C2o4LTpc.js → journeyDiagram-NVQOT4AX-CTwHlsTm.js} +124 -123
- package/dist/{jsx-runtime-DebpN0FN.js → jsx-runtime-Dp_oQwaf.js} +1 -1
- package/dist/julia-DbR1YalK.js +4 -0
- package/dist/{kanban-definition-3W4ZIXB7-jhGlnPMR.js → kanban-definition-27J2QSJJ-CKowzO9_.js} +51 -45
- package/dist/{katex-C4t-BmrK.js → katex-Ci33kJVq.js} +1 -1
- package/dist/{katex-Bld7b-fk.js → katex-Dp22h6yO.js} +2871 -3002
- package/dist/{label-CzHncDvS.js → label-CMh2d8pJ.js} +6 -6
- package/dist/{line-C43FIPBd.js → line-Bc27KE1D.js} +3 -3
- package/dist/{linear-BOGUO8Cd.js → linear-6pDlrp1I.js} +4 -4
- package/dist/livescript-BDUooIeL.js +4 -0
- package/dist/{loader-C7SfUdOD.js → loader-DTnbNSVZ.js} +3 -3
- package/dist/lua-CswAWSkH.js +4 -0
- package/dist/main.js +70 -71
- package/dist/map-BQ_Xp80D.js +137 -0
- package/dist/mathematica-Bw7v11B5.js +4 -0
- package/dist/mbox-j35IMz1j.js +4 -0
- package/dist/merge-CDbSrd9f.js +69 -0
- package/dist/mermaid-4DMBBIKO-BZSpTmcx.js +6 -0
- package/dist/mermaid-DpAz2sTy.js +1265 -0
- package/dist/mermaid-parser.core-BQzz3_BI.js +87 -0
- package/dist/{mhchem-EGhUZR1V.js → mhchem-BDHjke3h.js} +1 -1
- package/dist/{micromark-factory-space-CwHmg6iz.js → micromark-factory-space-Cr4NxAt3.js} +1 -1
- package/dist/{mindmap-definition-VGOIOE7T-5xLUaD4Q.js → mindmap-definition-FAOFIHXS-CTsi-HFj.js} +126 -80
- package/dist/mirc-Ba_RHVXO.js +4 -0
- package/dist/mllike-DbTP2dPp.js +6 -0
- package/dist/modelica-lpT3V1X6.js +4 -0
- package/dist/mscgen-BN4ZSJMx.js +6 -0
- package/dist/mumps-uI5g1A0g.js +4 -0
- package/dist/{node-sql-parser-v1Vi-Fft.js → node-sql-parser-BaLGWQe1.js} +1 -1
- package/dist/{now-Ch98bJO_.js → now-sFWt-GLC.js} +2 -2
- package/dist/{nsis-i9_sgigf.js → nsis-C68fFq_o.js} +1 -1
- package/dist/nsis-Df56GiRg.js +4 -0
- package/dist/ntriples-B3LWuG7W.js +4 -0
- package/dist/{number-overlay-editor-Ck_mc_gT.js → number-overlay-editor-CeBHRJvI.js} +3 -3
- package/dist/octave-CovfQgOx.js +4 -0
- package/dist/{once-B60G2fuJ.js → once-Boutk_9X.js} +1 -1
- package/dist/{ordinal-Bkv2-veX.js → ordinal-Bdajf2BE.js} +1 -1
- package/dist/oz-DQQAvVFb.js +4 -0
- package/dist/{packet-DYOGHKS2-Bkgofxf3.js → packet-7NZHBO7P-BG8whXXH.js} +2 -3
- package/dist/pascal-xz94P9sf.js +4 -0
- package/dist/pegDiagram-VL7TDLO6-CNpT8Sqz.js +124 -0
- package/dist/perl-aEWKE-1n.js +4 -0
- package/dist/pick-CaEWivSF.js +47 -0
- package/dist/{pie-VRWISCQL-B1AMhN_7.js → pie-RZYD4A2V-Cc_QhFbT.js} +2 -3
- package/dist/pieDiagram-7S7Q4E2Y-Ct8jRpe_.js +219 -0
- package/dist/pig-DB6DOZl7.js +4 -0
- package/dist/powershell-DM5saUx1.js +4 -0
- package/dist/{precisionRound-Bq50n-bG.js → precisionRound-BOoJTbDj.js} +1 -1
- package/dist/{process-output-hGrYEMdn.js → process-output-HrsM52f8.js} +7 -7
- package/dist/properties-BGjYQuGo.js +4 -0
- package/dist/protobuf-BPpEyPud.js +4 -0
- package/dist/{pug-BhE2JRSg.js → pug-DFPPZ3LA.js} +1 -1
- package/dist/pug-uJzB88ft.js +4 -0
- package/dist/puppet-oIm2d_Lg.js +4 -0
- package/dist/python-WE57eUzD.js +4 -0
- package/dist/q-CR8xPodo.js +4 -0
- package/dist/{quadrantDiagram-AYHSOK5B-_dxtOvzG.js → quadrantDiagram-CIZ2JOQS-B5n_xFcF.js} +429 -401
- package/dist/r-CJdmQZNj.js +4 -0
- package/dist/{radar-ZZBFDIW7-C2b7A32s.js → radar-I7S5WNFK-OhUkecXA.js} +2 -3
- package/dist/railroad-3IZDKUUU-1CmOpo1B.js +5 -0
- package/dist/railroad-abnf-AHOZXSZD-DmH4lsDS.js +5 -0
- package/dist/railroad-ebnf-EBAXGLYW-CzK0md4e.js +5 -0
- package/dist/railroad-peg-LSFZ7HO6-DOklooKz.js +5 -0
- package/dist/railroadDiagram-AXF67PYL-BbUWbtf8.js +100 -0
- package/dist/{react-DA-nE2FX.js → react-DhGsCS90.js} +1 -1
- package/dist/{react-dom-BTJzcVJ9.js → react-dom-CmENFV8Q.js} +2 -2
- package/dist/{react-vega-Cg17A6rO.js → react-vega-zyfTF9SY.js} +26 -26
- package/dist/{requirementDiagram-UZGBJVZJ-D13iq26A.js → requirementDiagram-LRYGKXZP-CpoDmKSf.js} +137 -105
- package/dist/{reveal-component-C-bXmcGz.js → reveal-component-BnID65Ih.js} +27 -28
- package/dist/rough.esm-lGyFQ0B-.js +1363 -0
- package/dist/rpm-Cm5K4RH9.js +5 -0
- package/dist/ruby-ArsuTozQ.js +4 -0
- package/dist/sankeyDiagram-W5VNT64P-D82rYiAG.js +942 -0
- package/dist/sas-DShligrE.js +4 -0
- package/dist/scheme-kDLirQL7.js +4 -0
- package/dist/sequenceDiagram-SI44F4Z6-DgVKU1s5.js +4281 -0
- package/dist/shell-CVQuWP_N.js +4 -0
- package/dist/sieve-BW-ePwnq.js +4 -0
- package/dist/sizeCapture-X5ZJPWSS-BQgxHTji.js +48 -0
- package/dist/smalltalk-DI4aAXxY.js +4 -0
- package/dist/sparql-B2sp0oiz.js +4 -0
- package/dist/{spec-uMKNvMRZ.js → spec-BL1GSUUF.js} +4 -4
- package/dist/{src-DV3ha_nA.js → src-BwVZVGyf.js} +13 -22
- package/dist/{stateDiagram-FKZM4ZOC-D5HAk2nG.js → stateDiagram-OKZ733FA-Cc9BchXz.js} +61 -58
- package/dist/stateDiagram-v2-UEYNNEHI-Dd4Tuw6F.js +32 -0
- package/dist/{step-BqHnkgWE.js → step-BqVgkWtk.js} +1 -1
- package/dist/stex-D2rme5UG.js +4 -0
- package/dist/{strings-BUDhKc0s.js → strings-DMLVGXRo.js} +10 -10
- package/dist/stylus-xxO-85eO.js +4 -0
- package/dist/swift-Ctg533nZ.js +4 -0
- package/dist/swimlanes-SLNWSIFB-BHvhO5uv.js +5564 -0
- package/dist/swimlanesDiagram-ULZ7WXOC-aI_zgQ8O.js +33 -0
- package/dist/{swiper-component-dl1H9WIW.js → swiper-component-Cx0cRWLk.js} +6 -6
- package/dist/tcl-phm9c5Nd.js +4 -0
- package/dist/textile-CphjAg90.js +4 -0
- package/dist/{time-CQnohwNM.js → time-DAJu9fnj.js} +4 -4
- package/dist/timeline-definition-Z64GVDOM-BAHuDYyA.js +1107 -0
- package/dist/{timer-BpI_FKSA.js → timer-aIIabkbI.js} +1 -1
- package/dist/{toDate-BiyuFdnT.js → toDate-BGM7kFtQ.js} +6 -6
- package/dist/toml-BUuMK772.js +4 -0
- package/dist/{tooltip-CkCWlUOf.js → tooltip-BtUxZT5h.js} +7 -7
- package/dist/treeView-QDETBFTQ-DsLN_c8p.js +5 -0
- package/dist/{treemap-GDKQZRPO-SDux0AV8.js → treemap-6X3UGDF4-K1bi3LJm.js} +2 -3
- package/dist/troff-lCtc05A3.js +4 -0
- package/dist/ttcn-CcykzBcW.js +4 -0
- package/dist/ttcn-cfg-C-XYdqpE.js +4 -0
- package/dist/turtle-CpfVZs8G.js +4 -0
- package/dist/{types-uENjXsiC.js → types-DT8UHI5w.js} +1 -1
- package/dist/{use-vega-container-remeasure-DGNrIQSk.js → use-vega-container-remeasure-B7OD7yUY.js} +3 -3
- package/dist/{useAsyncData-DqJLysjC.js → useAsyncData-CDcbh-Qv.js} +5 -5
- package/dist/{useDateFormatter-BeN3fHMH.js → useDateFormatter-B_vTzxpm.js} +4 -4
- package/dist/{useDeepCompareMemoize-CvlmHAmy.js → useDeepCompareMemoize-Bj6QvwiG.js} +3 -3
- package/dist/{useIframeCapabilities-pLC-ceDP.js → useIframeCapabilities-CxuXXwjj.js} +4 -4
- package/dist/{useLifecycle-D4N02q82.js → useLifecycle-Bw4wRj_O.js} +7 -7
- package/dist/{useTheme-Dur2p3iC.js → useTheme-BzEXeAR5.js} +6 -6
- package/dist/vb-VOIzXwm9.js +4 -0
- package/dist/vbscript-D0WfcnVk.js +4 -0
- package/dist/{vega-component-Cft458Sr.js → vega-component-CJug-VdR.js} +24 -24
- package/dist/{vega-embed-container-S9gRu4TZ.js → vega-embed-container-BRjjqRGz.js} +9 -9
- package/dist/{vega-loader.browser-CmLRI3wk.js → vega-loader.browser-CGb-2Kwi.js} +4 -4
- package/dist/velocity-CCrc5n-0.js +4 -0
- package/dist/vennDiagram-T6HMQDX7-CTyzMewS.js +1913 -0
- package/dist/verilog-BLFhaDBH.js +4 -0
- package/dist/vhdl-DjuqPE9b.js +4 -0
- package/dist/wardley-OPB4EBWU-CP99MvU1.js +5 -0
- package/dist/wardleyDiagram-T6FBY63Y-vcno_rbk.js +669 -0
- package/dist/webidl-Cc7RrfeK.js +4 -0
- package/dist/xquery-BiCRLnNG.js +4 -0
- package/dist/{xychartDiagram-PRI3JC2R-BteofzPY.js → xychartDiagram-ELKLHX3M-DyFDERhM.js} +417 -353
- package/dist/yacas-CWcjav-O.js +4 -0
- package/dist/z80-DpYS2lE7.js +4 -0
- package/dist/{zod-yTHHzJiv.js → zod-BFY2SnzC.js} +6 -6
- package/package.json +1 -1
- package/dist/_baseUniq-B_2Hw7zG.js +0 -380
- package/dist/apl-e1B5LPEL.js +0 -4
- package/dist/architecture-7HQA4BMR-DHUrQjL4.js +0 -6
- package/dist/asciiarmor-B-gwgesP.js +0 -4
- package/dist/asn1-DF2ckRB4.js +0 -4
- package/dist/blockDiagram-VD42YOAC-hD9KGMwe.js +0 -3131
- package/dist/brainfuck-4G-7_gq_.js +0 -4
- package/dist/chunk-55IACEB6-7h71GwyW.js +0 -8
- package/dist/chunk-ABZYJK2D-BK1Rtvs7.js +0 -2438
- package/dist/chunk-BNovOVIE.js +0 -28
- package/dist/chunk-CVBHYZKI-CwazXVlJ.js +0 -13
- package/dist/chunk-DR5Q36YT-5Yp2GWwR.js +0 -137
- package/dist/chunk-EXTU4WIE-7ui7-6r0.js +0 -10
- package/dist/chunk-JZLCHNYA-B4cRqwyW.js +0 -4901
- package/dist/chunk-N4CR4FBY-B3gMBPd2.js +0 -65
- package/dist/chunk-QXUST7PY-Dd6bFvvl.js +0 -498
- package/dist/chunk-TCCFYFTB-DPWJa9zL.js +0 -13948
- package/dist/chunk-TZMSLE5B-CA_LyLfN.js +0 -63
- package/dist/classDiagram-2ON5EDUG-DX1IPeNG.js +0 -30
- package/dist/classDiagram-v2-WZHVMYZB-BOkyBkSn.js +0 -30
- package/dist/clojure-CUybM11R.js +0 -4
- package/dist/clone-Q4Fqwn6q.js +0 -9
- package/dist/cmake-BPjGcuDL.js +0 -4
- package/dist/cobol-BETk_nb6.js +0 -4
- package/dist/coffeescript-CManZxXL.js +0 -4
- package/dist/commonlisp-DWkn7GW8.js +0 -4
- package/dist/crystal-CCbg5EUH.js +0 -4
- package/dist/css-By8eo-XS.js +0 -4
- package/dist/cypher-DwfHg3nP.js +0 -4
- package/dist/d-Brs1wNbw.js +0 -4
- package/dist/dagre-6UL2VRFP-Dtksc2Ic.js +0 -296
- package/dist/diagram-QEK2KX5R-BiGjCFD8.js +0 -228
- package/dist/diff-DJIRmJ1g.js +0 -4
- package/dist/dist-BDzVdDo2.js +0 -8
- package/dist/dist-BH2Tq1S1.js +0 -5
- package/dist/dist-BIhBrzqg.js +0 -5
- package/dist/dist-BLCsvXTG.js +0 -6
- package/dist/dist-BNVtuFdd.js +0 -5
- package/dist/dist-CEJ6Lowi.js +0 -5
- package/dist/dist-CYoa69kj.js +0 -5
- package/dist/dist-CnZyXFq3.js +0 -8
- package/dist/dist-D-4HaJKc.js +0 -8
- package/dist/dist-DIGyvbg3.js +0 -5
- package/dist/dist-DIhaoCL4.js +0 -5
- package/dist/dist-DgQleHmb.js +0 -8
- package/dist/dist-JaoLzZmt.js +0 -5
- package/dist/dist-pEX0t8ZV.js +0 -6
- package/dist/dtd-Dyiazv4N.js +0 -4
- package/dist/dylan-D8Fcw7NA.js +0 -4
- package/dist/ecl-CjKp8Vii.js +0 -4
- package/dist/eiffel-K9ViOX5r.js +0 -4
- package/dist/elm-B5NVtRco.js +0 -4
- package/dist/erlang-BnLzgk7R.js +0 -4
- package/dist/factor-C7f9Jz5R.js +0 -4
- package/dist/flatten-Bbw7g6-K.js +0 -8
- package/dist/forth-rGM8jLao.js +0 -4
- package/dist/fortran-B3acSe0i.js +0 -4
- package/dist/ganttDiagram-JELNMOA3-BajNb0ER.js +0 -2170
- package/dist/gas-Bb1Vmv_N.js +0 -4
- package/dist/gherkin-C9Lyidgd.js +0 -4
- package/dist/gitGraphDiagram-V2S2FVAM-DOqdyiwH.js +0 -652
- package/dist/graphlib-Ns7y5crs.js +0 -359
- package/dist/groovy-DQk6XcGH.js +0 -4
- package/dist/hasIn-Deg7jl_j.js +0 -108
- package/dist/haskell-mV0Vw9gv.js +0 -4
- package/dist/haxe-DqxN89zH.js +0 -5
- package/dist/idl-ya8W561J.js +0 -4
- package/dist/infoDiagram-HS3SLOUP-BH1Wx7lK.js +0 -30
- package/dist/javascript-CgqgptVu.js +0 -4
- package/dist/julia-CFQ-HusI.js +0 -4
- package/dist/livescript-D__3TmDo.js +0 -4
- package/dist/lua-Bytcgj_W.js +0 -4
- package/dist/main-B1Jo_8pC.js +0 -4321
- package/dist/mathematica-DJhvVKvl.js +0 -4
- package/dist/mbox-IGHPCjfR.js +0 -4
- package/dist/memoize-BOtf2yFf.js +0 -17
- package/dist/merge-Be1CqGnU.js +0 -222
- package/dist/mermaid-4DMBBIKO-FXbOziy9.js +0 -6
- package/dist/mermaid-CcP2SLvE.js +0 -1100
- package/dist/mermaid-parser.core-DoivvxPd.js +0 -54
- package/dist/min-Dtgc8txR.js +0 -38
- package/dist/mirc-tcwvVugm.js +0 -4
- package/dist/mllike-Dx91i62r.js +0 -6
- package/dist/modelica-_SRt-yU5.js +0 -4
- package/dist/mscgen-GZrGS9gt.js +0 -6
- package/dist/mumps-Cv3ygyod.js +0 -4
- package/dist/nsis-BU7GeGbI.js +0 -4
- package/dist/ntriples-CL-FCYXb.js +0 -4
- package/dist/octave-Dc6_3DIu.js +0 -4
- package/dist/oz-DpUAJCXf.js +0 -4
- package/dist/pascal-B17mncXs.js +0 -4
- package/dist/perl-BTpK97q9.js +0 -4
- package/dist/pick-D1Qo8s2C.js +0 -43
- package/dist/pieDiagram-ADFJNKIX-QtR5ck48.js +0 -170
- package/dist/pig-CFb638Ap.js +0 -4
- package/dist/powershell-Cxo-_2A5.js +0 -4
- package/dist/properties-BPgT1xTB.js +0 -4
- package/dist/protobuf-BgHBaIIK.js +0 -4
- package/dist/pug-25-oS0SG.js +0 -4
- package/dist/puppet-DarIr20S.js +0 -4
- package/dist/python-BqmOsBsi.js +0 -4
- package/dist/q-D3QJCTup.js +0 -4
- package/dist/r-Cz_yBX4z.js +0 -4
- package/dist/rpm-DGOtYwAI.js +0 -5
- package/dist/ruby-DBZu4rPc.js +0 -4
- package/dist/sankeyDiagram-TZEHDZUN-DH-_Uzcr.js +0 -892
- package/dist/sas-Dd1D9qTq.js +0 -4
- package/dist/scheme-BmDjvTHX.js +0 -4
- package/dist/sequenceDiagram-WL72ISMW-DZrj5IJC.js +0 -3652
- package/dist/shell-BL8zFSaj.js +0 -4
- package/dist/sieve-BAx2WqUP.js +0 -4
- package/dist/smalltalk-CYRzF7VV.js +0 -4
- package/dist/sparql-YWaDRO4A.js +0 -4
- package/dist/stateDiagram-v2-4FDKWEC3-DAfwaV0Z.js +0 -29
- package/dist/stex-B5O-env2.js +0 -4
- package/dist/stylus-lYsyLFc1.js +0 -4
- package/dist/swift-ClQz9z1n.js +0 -4
- package/dist/tcl-B3jhsfqY.js +0 -4
- package/dist/textile-Cb1Dw7Aq.js +0 -4
- package/dist/timeline-definition-IT6M3QCI-O5etBvZb.js +0 -856
- package/dist/toml-nHZhetdO.js +0 -4
- package/dist/troff-DuJAGWKH.js +0 -4
- package/dist/ttcn-BxrcwP21.js +0 -4
- package/dist/ttcn-cfg-BAg_9dcc.js +0 -4
- package/dist/turtle-zCq949as.js +0 -4
- package/dist/vb-De5hElus.js +0 -4
- package/dist/vbscript-Cypcpv4F.js +0 -4
- package/dist/velocity-Di7l-yhe.js +0 -4
- package/dist/verilog-Bzi-S3g2.js +0 -4
- package/dist/vhdl-B0ZZITaW.js +0 -4
- package/dist/webidl-0sviiRcN.js +0 -4
- package/dist/xquery-B4qMVWaB.js +0 -4
- package/dist/yacas-Jt25Fuv8.js +0 -4
- package/dist/z80-CrcbYzmp.js +0 -4
- /package/dist/{apl-99A7dLQe.js → apl-CMUKiT2b.js} +0 -0
- /package/dist/{array-O78LT16Y.js → array-CEIRxyh3.js} +0 -0
- /package/dist/{asciiarmor-DLEhpFDx.js → asciiarmor-C_r6K6db.js} +0 -0
- /package/dist/{asn1-CMrcTsT4.js → asn1-DnlnCQTu.js} +0 -0
- /package/dist/{asterisk-CqykImq7.js → asterisk-DaVJJDnV.js} +0 -0
- /package/dist/{brainfuck-ChPt5yBe.js → brainfuck-CtQoQVkV.js} +0 -0
- /package/dist/{clike-CE0fXfM_.js → clike-CIAs0ABt.js} +0 -0
- /package/dist/{clojure-QkBEMU-g.js → clojure-C6tKQYjD.js} +0 -0
- /package/dist/{cmake-CU1jX7Mo.js → cmake-D-nfcg14.js} +0 -0
- /package/dist/{cobol-DMOKzzky.js → cobol-DYTC58p9.js} +0 -0
- /package/dist/{coffeescript-DjnjLyfk.js → coffeescript-DctDWA58.js} +0 -0
- /package/dist/{colors-DmiH1bIH.js → colors-DR_aHfmQ.js} +0 -0
- /package/dist/{common-keywords-D3nPJNQP.js → common-keywords-FBrXPTcz.js} +0 -0
- /package/dist/{commonlisp-CYd9iOSe.js → commonlisp-BmvTqU5y.js} +0 -0
- /package/dist/{crystal-Dy55yoYG.js → crystal-BPIK2UMa.js} +0 -0
- /package/dist/{css-CNU8w3HJ.js → css-CDo_Lwzn.js} +0 -0
- /package/dist/{cypher-q47DGzK7.js → cypher-KztbD63v.js} +0 -0
- /package/dist/{d-jEkaLvxX.js → d-HXBWOoe9.js} +0 -0
- /package/dist/{defaultLocale-BsfI21d_.js → defaultLocale-CMezyvMc.js} +0 -0
- /package/dist/{defaultLocale-DoeErsX2.js → defaultLocale-DMZFeDB8.js} +0 -0
- /package/dist/{diff-vb2-unFN.js → diff-B9rWZH0m.js} +0 -0
- /package/dist/{dist-Cds3J-EE.js → dist-BJ2IUa0l.js} +0 -0
- /package/dist/{dtd-C9kR-bXa.js → dtd-LtAMP5y8.js} +0 -0
- /package/dist/{duckdb-keywords-B6HYCMOT.js → duckdb-keywords-CvJhR_Yd.js} +0 -0
- /package/dist/{dylan-BLckrK-V.js → dylan-DXMK92pf.js} +0 -0
- /package/dist/{ebnf-Cnp3L9jg.js → ebnf-2D4Ctp3y.js} +0 -0
- /package/dist/{ecl-CEsf6XVg.js → ecl-Dqq8ser2.js} +0 -0
- /package/dist/{eiffel-2KGZNzx6.js → eiffel-ChExWBDx.js} +0 -0
- /package/dist/{elm-D2s3K5wF.js → elm-BMBz2xbZ.js} +0 -0
- /package/dist/{emotion-is-prop-valid.esm-DdVSF4FD.js → emotion-is-prop-valid.esm-_z-EwK5u.js} +0 -0
- /package/dist/{erlang-0PMFOndk.js → erlang-CGSDzg9P.js} +0 -0
- /package/dist/{fcl-D9nccAWI.js → fcl-Ccj8Z5Xd.js} +0 -0
- /package/dist/{forth-DG89iUsu.js → forth-vTkfR0aY.js} +0 -0
- /package/dist/{fortran-ytKsAVvu.js → fortran-CF4LAVFn.js} +0 -0
- /package/dist/{gas-Cg2Fm0N2.js → gas-mMFbQ2x4.js} +0 -0
- /package/dist/{gherkin-B87FEnZ-.js → gherkin-DLS1q0XM.js} +0 -0
- /package/dist/{groovy-Dcs08AWD.js → groovy-Zt6CNPxV.js} +0 -0
- /package/dist/{haskell-cwkOuhx6.js → haskell-kVOgzpVy.js} +0 -0
- /package/dist/{haxe-DWEo4q10.js → haxe-Bo21F6gc.js} +0 -0
- /package/dist/{http-B8jdG64J.js → http-_DVAYWoR.js} +0 -0
- /package/dist/{idl-WWQwDcRV.js → idl-B865GSM-.js} +0 -0
- /package/dist/{init-DNBbYZd_.js → init-TaqZJsBY.js} +0 -0
- /package/dist/{invariant-wRzNXIsJ.js → invariant-hOqqBz8A.js} +0 -0
- /package/dist/{javascript-BeR74dxD.js → javascript-CSLuHpxZ.js} +0 -0
- /package/dist/{julia-UlvCUYGL.js → julia-BCOLeQif.js} +0 -0
- /package/dist/{livescript-GPmFcmYV.js → livescript-DqUzLZFs.js} +0 -0
- /package/dist/{lua-DYoT_0zM.js → lua-D0ciLwkO.js} +0 -0
- /package/dist/{math-CBNc2Ib0.js → math-CTnb-N1W.js} +0 -0
- /package/dist/{mathematica-DSFIQlbG.js → mathematica-DujD1RDf.js} +0 -0
- /package/dist/{mbox-ej8lFMdL.js → mbox-8OkSQMDn.js} +0 -0
- /package/dist/{mirc-CAdIdvHQ.js → mirc-D47x8yRQ.js} +0 -0
- /package/dist/{mllike-CjTB1lHF.js → mllike-Dcfw-g6D.js} +0 -0
- /package/dist/{modelica-BB68FYMa.js → modelica-BHtr9gKR.js} +0 -0
- /package/dist/{mscgen-BkbzgGGI.js → mscgen-uZedQc_A.js} +0 -0
- /package/dist/{mumps-Cu-28E9F.js → mumps-Bc9QS1-K.js} +0 -0
- /package/dist/{nginx-C1ofKPst.js → nginx-DasThI7R.js} +0 -0
- /package/dist/{ntriples-D9cQiZxZ.js → ntriples-Clpn9Mrg.js} +0 -0
- /package/dist/{objects-De59twF-.js → objects-UzwQd5gx.js} +0 -0
- /package/dist/{octave-BvtAnPX0.js → octave-DA2esRWi.js} +0 -0
- /package/dist/{oz-COaVHk2E.js → oz-D8i-brWx.js} +0 -0
- /package/dist/{pascal-BFpqVD2x.js → pascal-Dt1a0CeN.js} +0 -0
- /package/dist/{path-DwWbhZFI.js → path-7gr7eZmp.js} +0 -0
- /package/dist/{perl-DaiORxHP.js → perl-CXy9EfRp.js} +0 -0
- /package/dist/{pig-DFzRhmsF.js → pig-DnXnrjQg.js} +0 -0
- /package/dist/{powershell-BG2LQNKN.js → powershell-BYE6u-Qk.js} +0 -0
- /package/dist/{properties-CqJJR5QY.js → properties-DlhyusaK.js} +0 -0
- /package/dist/{protobuf-WwDYV1yY.js → protobuf-DoMSrsPi.js} +0 -0
- /package/dist/{puppet-QNY3w_uN.js → puppet-DGi4idFA.js} +0 -0
- /package/dist/{purify.es-dp2utXxY.js → purify.es-DR5PNXwx.js} +0 -0
- /package/dist/{python-4QrQ3Ugi.js → python-CYhALYh0.js} +0 -0
- /package/dist/{q-DhwXuxE2.js → q-Cs_qWJkU.js} +0 -0
- /package/dist/{r-Df-nkR25.js → r-DWJSQl1c.js} +0 -0
- /package/dist/{range-BOiA8qqU.js → range-Bieq5MNc.js} +0 -0
- /package/dist/{rpm-Cokue07s.js → rpm-DIip1m0n.js} +0 -0
- /package/dist/{ruby-DrYcL3qF.js → ruby-NgZGoa7Q.js} +0 -0
- /package/dist/{sas-CoiPirA5.js → sas-DEKzCzM2.js} +0 -0
- /package/dist/{scheme-CwFLjzHv.js → scheme-CBrGar2n.js} +0 -0
- /package/dist/{semaphore-C8rmHdhj.js → semaphore-P832H4YT.js} +0 -0
- /package/dist/{shell-BFV-R24I.js → shell-D7XFPOM_.js} +0 -0
- /package/dist/{sieve-CxwXF5T9.js → sieve-BOxOVQ18.js} +0 -0
- /package/dist/{simple-mode-DTaJtKPt.js → simple-mode-D-FXBgPn.js} +0 -0
- /package/dist/{smalltalk-QivVOCtX.js → smalltalk-DYK-HkUK.js} +0 -0
- /package/dist/{solr-BLvysN-c.js → solr-RZ9uTl59.js} +0 -0
- /package/dist/{sparql-nKsFk8j7.js → sparql-CU1uk9Py.js} +0 -0
- /package/dist/{spreadsheet-BWc8C2FT.js → spreadsheet-BNNUNXA2.js} +0 -0
- /package/dist/{sql-CWfUjlV1.js → sql-B4x8IkwU.js} +0 -0
- /package/dist/{stex-DtMAhV4-.js → stex-DIvyJfNO.js} +0 -0
- /package/dist/{stylus-BLKQAycn.js → stylus-BokZhKWB.js} +0 -0
- /package/dist/{swift-CJoKqiKj.js → swift-TlA42tbT.js} +0 -0
- /package/dist/{tcl-YTeYFNUc.js → tcl-C-m7N_9k.js} +0 -0
- /package/dist/{textile-C6rKQqMQ.js → textile-BWOWG894.js} +0 -0
- /package/dist/{tiddlywiki-ZXwTHGNT.js → tiddlywiki-DI0mF2WJ.js} +0 -0
- /package/dist/{tiki-C628O_u4.js → tiki-2HU6XLLn.js} +0 -0
- /package/dist/{toml-DxlPGbRy.js → toml-GapOS-6U.js} +0 -0
- /package/dist/{treemap-DY3NBr79.js → treemap-CQJ0bIDy.js} +0 -0
- /package/dist/{troff-DFCfH7Ku.js → troff-ChPXSGgg.js} +0 -0
- /package/dist/{ttcn-DAW-ERVP.js → ttcn-CGf_ktUb.js} +0 -0
- /package/dist/{ttcn-cfg-CpJ8b7EN.js → ttcn-cfg-E0kw_vEm.js} +0 -0
- /package/dist/{turtle-BneV2f8L.js → turtle-DDIYttZr.js} +0 -0
- /package/dist/{vb-D973Vxxh.js → vb-DsGz8YA-.js} +0 -0
- /package/dist/{vbscript-Dckaq3YO.js → vbscript-BfQcpKZn.js} +0 -0
- /package/dist/{velocity-DKty-GUC.js → velocity-BMi53hPb.js} +0 -0
- /package/dist/{verilog-aNaK_biA.js → verilog-B_WDxmCB.js} +0 -0
- /package/dist/{vhdl-CQuehnQy.js → vhdl-C52-TT0z.js} +0 -0
- /package/dist/{webidl-Bhg8vaMr.js → webidl-Cnphjlul.js} +0 -0
- /package/dist/{xquery-D2q16GaM.js → xquery-X_kWyOft.js} +0 -0
- /package/dist/{yacas-DHGOHnNa.js → yacas-Dpp9zAZ5.js} +0 -0
- /package/dist/{z80-BPhTmO22.js → z80-BZLZAthF.js} +0 -0
|
@@ -0,0 +1,3744 @@
|
|
|
1
|
+
import { t as purify } from "./purify.es-DR5PNXwx.js";
|
|
2
|
+
import { n as log, r as setLogLevel } from "./src-BwVZVGyf.js";
|
|
3
|
+
import { n as __name, t as __export } from "./chunk-Y2CYZVJY-DX3DSigL.js";
|
|
4
|
+
let darken_default, hasKatex, sanitizeText3, getDiagramLoader, getThemeVariables3, getSiteConfig, renderKatexSanitized, setConfig2, setAccDescription, reset, setupGraphViewbox, setDiagramTitle, sanitizeCss, parseGenericTypes, registerDiagram, getUrl, registerLazyLoadedDiagrams, updateSiteConfig, sanitizeDirective, getDiagram, getEffectiveHtmlLabels, setAccTitle, saveConfigFromInitialize, setConfig, styles_default, setupGraphViewbox2, themes_default, frontMatterRegex, clear, utils_default, getConfig, configureSvgSize, defaultConfig2, lighten_default, defaultConfig_default, evaluate, directiveRegex, calculateMathMLDimensions, color_default, lineBreakRegex, getUserDefinedConfig, cssStyleSheetToString, detectors, addDirective, is_dark_default, commonDb_exports, detectType, setSiteConfig, assignWithDepth_default, rgba_default, common_default, UnknownDiagramError, adjust_channel_default, defaultConfig, getAccDescription, getDiagramTitle, getConfig2, getAccTitle, sanitizeText;
|
|
5
|
+
let __tla = (async () => {
|
|
6
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m;
|
|
7
|
+
let Channel, DEC2HEX;
|
|
8
|
+
Channel = {
|
|
9
|
+
min: {
|
|
10
|
+
r: 0,
|
|
11
|
+
g: 0,
|
|
12
|
+
b: 0,
|
|
13
|
+
s: 0,
|
|
14
|
+
l: 0,
|
|
15
|
+
a: 0
|
|
16
|
+
},
|
|
17
|
+
max: {
|
|
18
|
+
r: 255,
|
|
19
|
+
g: 255,
|
|
20
|
+
b: 255,
|
|
21
|
+
h: 360,
|
|
22
|
+
s: 100,
|
|
23
|
+
l: 100,
|
|
24
|
+
a: 1
|
|
25
|
+
},
|
|
26
|
+
clamp: {
|
|
27
|
+
r: (u) => u >= 255 ? 255 : u < 0 ? 0 : u,
|
|
28
|
+
g: (u) => u >= 255 ? 255 : u < 0 ? 0 : u,
|
|
29
|
+
b: (u) => u >= 255 ? 255 : u < 0 ? 0 : u,
|
|
30
|
+
h: (u) => u % 360,
|
|
31
|
+
s: (u) => u >= 100 ? 100 : u < 0 ? 0 : u,
|
|
32
|
+
l: (u) => u >= 100 ? 100 : u < 0 ? 0 : u,
|
|
33
|
+
a: (u) => u >= 1 ? 1 : u < 0 ? 0 : u
|
|
34
|
+
},
|
|
35
|
+
toLinear: (u) => {
|
|
36
|
+
let z = u / 255;
|
|
37
|
+
return u > 0.03928 ? ((z + 0.055) / 1.055) ** 2.4 : z / 12.92;
|
|
38
|
+
},
|
|
39
|
+
hue2rgb: (u, z, B) => (B < 0 && (B += 1), B > 1 && --B, B < 1 / 6 ? u + (z - u) * 6 * B : B < 1 / 2 ? z : B < 2 / 3 ? u + (z - u) * (2 / 3 - B) * 6 : u),
|
|
40
|
+
hsl2rgb: ({ h: u, s: z, l: B }, V) => {
|
|
41
|
+
if (!z) return B * 2.55;
|
|
42
|
+
u /= 360, z /= 100, B /= 100;
|
|
43
|
+
let H = B < 0.5 ? B * (1 + z) : B + z - B * z, W = 2 * B - H;
|
|
44
|
+
switch (V) {
|
|
45
|
+
case "r":
|
|
46
|
+
return Channel.hue2rgb(W, H, u + 1 / 3) * 255;
|
|
47
|
+
case "g":
|
|
48
|
+
return Channel.hue2rgb(W, H, u) * 255;
|
|
49
|
+
case "b":
|
|
50
|
+
return Channel.hue2rgb(W, H, u - 1 / 3) * 255;
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
rgb2hsl: ({ r: u, g: z, b: B }, V) => {
|
|
54
|
+
u /= 255, z /= 255, B /= 255;
|
|
55
|
+
let H = Math.max(u, z, B), U = Math.min(u, z, B), W = (H + U) / 2;
|
|
56
|
+
if (V === "l") return W * 100;
|
|
57
|
+
if (H === U) return 0;
|
|
58
|
+
let G = H - U, K = W > 0.5 ? G / (2 - H - U) : G / (H + U);
|
|
59
|
+
if (V === "s") return K * 100;
|
|
60
|
+
switch (H) {
|
|
61
|
+
case u:
|
|
62
|
+
return ((z - B) / G + (z < B ? 6 : 0)) * 60;
|
|
63
|
+
case z:
|
|
64
|
+
return ((B - u) / G + 2) * 60;
|
|
65
|
+
case B:
|
|
66
|
+
return ((u - z) / G + 4) * 60;
|
|
67
|
+
default:
|
|
68
|
+
return -1;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
utils_default = {
|
|
73
|
+
channel: Channel,
|
|
74
|
+
lang: {
|
|
75
|
+
clamp: (u, z, B) => z > B ? Math.min(z, Math.max(B, u)) : Math.min(B, Math.max(z, u)),
|
|
76
|
+
round: (u) => Math.round(u * 1e10) / 1e10
|
|
77
|
+
},
|
|
78
|
+
unit: {
|
|
79
|
+
dec2hex: (u) => {
|
|
80
|
+
let z = Math.round(u).toString(16);
|
|
81
|
+
return z.length > 1 ? z : `0${z}`;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
DEC2HEX = {};
|
|
86
|
+
for (let u = 0; u <= 255; u++) DEC2HEX[u] = utils_default.unit.dec2hex(u);
|
|
87
|
+
let TYPE, type_default, reusable_default, Hex, hex_default, HSL, hsl_default, Keyword, keyword_default, RGB, rgb_default, change_default, luminance_default, is_light_default, adjust_default, mix_default, invert_default, assignWithDepth, oldAttributeBackgroundColorOdd, oldAttributeBackgroundColorEven, mkBorder, Theme, getThemeVariables, Theme2, getThemeVariables2, Theme3, Theme4, getThemeVariables4, Theme5, getThemeVariables5, Theme6, getThemeVariables6, Theme7, getThemeVariables7, Theme8, getThemeVariables8, Theme9, getThemeVariables9, Theme10, getThemeVariables10, Theme11, getThemeVariables11, config_schema_default, config, keyify, configKeys, DICTIONARY_CONFIG_PATTERNS, sanitizeDictionaryConfig, siteConfig, configFromInitialize, directives, currentConfig, updateCurrentConfig, sanitize, ConfigWarning, issuedWarnings, issueWarning, checkConfig, anyCommentRegex, addDetector, getRows, setupDompurifyHooksIfNotSetup;
|
|
88
|
+
TYPE = {
|
|
89
|
+
ALL: 0,
|
|
90
|
+
RGB: 1,
|
|
91
|
+
HSL: 2
|
|
92
|
+
};
|
|
93
|
+
type_default = class {
|
|
94
|
+
constructor() {
|
|
95
|
+
this.type = TYPE.ALL;
|
|
96
|
+
}
|
|
97
|
+
get() {
|
|
98
|
+
return this.type;
|
|
99
|
+
}
|
|
100
|
+
set(u) {
|
|
101
|
+
if (this.type && this.type !== u) throw Error("Cannot change both RGB and HSL channels at the same time");
|
|
102
|
+
this.type = u;
|
|
103
|
+
}
|
|
104
|
+
reset() {
|
|
105
|
+
this.type = TYPE.ALL;
|
|
106
|
+
}
|
|
107
|
+
is(u) {
|
|
108
|
+
return this.type === u;
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
reusable_default = new class {
|
|
112
|
+
constructor(u, z) {
|
|
113
|
+
this.color = z, this.changed = false, this.data = u, this.type = new type_default();
|
|
114
|
+
}
|
|
115
|
+
set(u, z) {
|
|
116
|
+
return this.color = z, this.changed = false, this.data = u, this.type.type = TYPE.ALL, this;
|
|
117
|
+
}
|
|
118
|
+
_ensureHSL() {
|
|
119
|
+
let u = this.data, { h: z, s: B, l: V } = u;
|
|
120
|
+
z === void 0 && (u.h = utils_default.channel.rgb2hsl(u, "h")), B === void 0 && (u.s = utils_default.channel.rgb2hsl(u, "s")), V === void 0 && (u.l = utils_default.channel.rgb2hsl(u, "l"));
|
|
121
|
+
}
|
|
122
|
+
_ensureRGB() {
|
|
123
|
+
let u = this.data, { r: z, g: B, b: V } = u;
|
|
124
|
+
z === void 0 && (u.r = utils_default.channel.hsl2rgb(u, "r")), B === void 0 && (u.g = utils_default.channel.hsl2rgb(u, "g")), V === void 0 && (u.b = utils_default.channel.hsl2rgb(u, "b"));
|
|
125
|
+
}
|
|
126
|
+
get r() {
|
|
127
|
+
let u = this.data, z = u.r;
|
|
128
|
+
return !this.type.is(TYPE.HSL) && z !== void 0 ? z : (this._ensureHSL(), utils_default.channel.hsl2rgb(u, "r"));
|
|
129
|
+
}
|
|
130
|
+
get g() {
|
|
131
|
+
let u = this.data, z = u.g;
|
|
132
|
+
return !this.type.is(TYPE.HSL) && z !== void 0 ? z : (this._ensureHSL(), utils_default.channel.hsl2rgb(u, "g"));
|
|
133
|
+
}
|
|
134
|
+
get b() {
|
|
135
|
+
let u = this.data, z = u.b;
|
|
136
|
+
return !this.type.is(TYPE.HSL) && z !== void 0 ? z : (this._ensureHSL(), utils_default.channel.hsl2rgb(u, "b"));
|
|
137
|
+
}
|
|
138
|
+
get h() {
|
|
139
|
+
let u = this.data, z = u.h;
|
|
140
|
+
return !this.type.is(TYPE.RGB) && z !== void 0 ? z : (this._ensureRGB(), utils_default.channel.rgb2hsl(u, "h"));
|
|
141
|
+
}
|
|
142
|
+
get s() {
|
|
143
|
+
let u = this.data, z = u.s;
|
|
144
|
+
return !this.type.is(TYPE.RGB) && z !== void 0 ? z : (this._ensureRGB(), utils_default.channel.rgb2hsl(u, "s"));
|
|
145
|
+
}
|
|
146
|
+
get l() {
|
|
147
|
+
let u = this.data, z = u.l;
|
|
148
|
+
return !this.type.is(TYPE.RGB) && z !== void 0 ? z : (this._ensureRGB(), utils_default.channel.rgb2hsl(u, "l"));
|
|
149
|
+
}
|
|
150
|
+
get a() {
|
|
151
|
+
return this.data.a;
|
|
152
|
+
}
|
|
153
|
+
set r(u) {
|
|
154
|
+
this.type.set(TYPE.RGB), this.changed = true, this.data.r = u;
|
|
155
|
+
}
|
|
156
|
+
set g(u) {
|
|
157
|
+
this.type.set(TYPE.RGB), this.changed = true, this.data.g = u;
|
|
158
|
+
}
|
|
159
|
+
set b(u) {
|
|
160
|
+
this.type.set(TYPE.RGB), this.changed = true, this.data.b = u;
|
|
161
|
+
}
|
|
162
|
+
set h(u) {
|
|
163
|
+
this.type.set(TYPE.HSL), this.changed = true, this.data.h = u;
|
|
164
|
+
}
|
|
165
|
+
set s(u) {
|
|
166
|
+
this.type.set(TYPE.HSL), this.changed = true, this.data.s = u;
|
|
167
|
+
}
|
|
168
|
+
set l(u) {
|
|
169
|
+
this.type.set(TYPE.HSL), this.changed = true, this.data.l = u;
|
|
170
|
+
}
|
|
171
|
+
set a(u) {
|
|
172
|
+
this.changed = true, this.data.a = u;
|
|
173
|
+
}
|
|
174
|
+
}({
|
|
175
|
+
r: 0,
|
|
176
|
+
g: 0,
|
|
177
|
+
b: 0,
|
|
178
|
+
a: 0
|
|
179
|
+
}, "transparent");
|
|
180
|
+
Hex = {
|
|
181
|
+
re: /^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,
|
|
182
|
+
parse: (u) => {
|
|
183
|
+
if (u.charCodeAt(0) !== 35) return;
|
|
184
|
+
let z = u.match(Hex.re);
|
|
185
|
+
if (!z) return;
|
|
186
|
+
let B = z[1], V = parseInt(B, 16), H = B.length, U = H % 4 == 0, W = H > 4, G = W ? 1 : 17, K = W ? 8 : 4, q = U ? 0 : -1, X = W ? 255 : 15;
|
|
187
|
+
return reusable_default.set({
|
|
188
|
+
r: (V >> K * (q + 3) & X) * G,
|
|
189
|
+
g: (V >> K * (q + 2) & X) * G,
|
|
190
|
+
b: (V >> K * (q + 1) & X) * G,
|
|
191
|
+
a: U ? (V & X) * G / 255 : 1
|
|
192
|
+
}, u);
|
|
193
|
+
},
|
|
194
|
+
stringify: (u) => {
|
|
195
|
+
let { r: z, g: B, b: V, a: H } = u;
|
|
196
|
+
return H < 1 ? `#${DEC2HEX[Math.round(z)]}${DEC2HEX[Math.round(B)]}${DEC2HEX[Math.round(V)]}${DEC2HEX[Math.round(H * 255)]}` : `#${DEC2HEX[Math.round(z)]}${DEC2HEX[Math.round(B)]}${DEC2HEX[Math.round(V)]}`;
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
hex_default = Hex;
|
|
200
|
+
HSL = {
|
|
201
|
+
re: /^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,
|
|
202
|
+
hueRe: /^(.+?)(deg|grad|rad|turn)$/i,
|
|
203
|
+
_hue2deg: (u) => {
|
|
204
|
+
let z = u.match(HSL.hueRe);
|
|
205
|
+
if (z) {
|
|
206
|
+
let [, u2, B] = z;
|
|
207
|
+
switch (B) {
|
|
208
|
+
case "grad":
|
|
209
|
+
return utils_default.channel.clamp.h(parseFloat(u2) * 0.9);
|
|
210
|
+
case "rad":
|
|
211
|
+
return utils_default.channel.clamp.h(parseFloat(u2) * 180 / Math.PI);
|
|
212
|
+
case "turn":
|
|
213
|
+
return utils_default.channel.clamp.h(parseFloat(u2) * 360);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
return utils_default.channel.clamp.h(parseFloat(u));
|
|
217
|
+
},
|
|
218
|
+
parse: (u) => {
|
|
219
|
+
let z = u.charCodeAt(0);
|
|
220
|
+
if (z !== 104 && z !== 72) return;
|
|
221
|
+
let B = u.match(HSL.re);
|
|
222
|
+
if (!B) return;
|
|
223
|
+
let [, V, H, U, G, K] = B;
|
|
224
|
+
return reusable_default.set({
|
|
225
|
+
h: HSL._hue2deg(V),
|
|
226
|
+
s: utils_default.channel.clamp.s(parseFloat(H)),
|
|
227
|
+
l: utils_default.channel.clamp.l(parseFloat(U)),
|
|
228
|
+
a: G ? utils_default.channel.clamp.a(K ? parseFloat(G) / 100 : parseFloat(G)) : 1
|
|
229
|
+
}, u);
|
|
230
|
+
},
|
|
231
|
+
stringify: (u) => {
|
|
232
|
+
let { h: z, s: B, l: V, a: H } = u;
|
|
233
|
+
return H < 1 ? `hsla(${utils_default.lang.round(z)}, ${utils_default.lang.round(B)}%, ${utils_default.lang.round(V)}%, ${H})` : `hsl(${utils_default.lang.round(z)}, ${utils_default.lang.round(B)}%, ${utils_default.lang.round(V)}%)`;
|
|
234
|
+
}
|
|
235
|
+
};
|
|
236
|
+
hsl_default = HSL;
|
|
237
|
+
Keyword = {
|
|
238
|
+
colors: {
|
|
239
|
+
aliceblue: "#f0f8ff",
|
|
240
|
+
antiquewhite: "#faebd7",
|
|
241
|
+
aqua: "#00ffff",
|
|
242
|
+
aquamarine: "#7fffd4",
|
|
243
|
+
azure: "#f0ffff",
|
|
244
|
+
beige: "#f5f5dc",
|
|
245
|
+
bisque: "#ffe4c4",
|
|
246
|
+
black: "#000000",
|
|
247
|
+
blanchedalmond: "#ffebcd",
|
|
248
|
+
blue: "#0000ff",
|
|
249
|
+
blueviolet: "#8a2be2",
|
|
250
|
+
brown: "#a52a2a",
|
|
251
|
+
burlywood: "#deb887",
|
|
252
|
+
cadetblue: "#5f9ea0",
|
|
253
|
+
chartreuse: "#7fff00",
|
|
254
|
+
chocolate: "#d2691e",
|
|
255
|
+
coral: "#ff7f50",
|
|
256
|
+
cornflowerblue: "#6495ed",
|
|
257
|
+
cornsilk: "#fff8dc",
|
|
258
|
+
crimson: "#dc143c",
|
|
259
|
+
cyanaqua: "#00ffff",
|
|
260
|
+
darkblue: "#00008b",
|
|
261
|
+
darkcyan: "#008b8b",
|
|
262
|
+
darkgoldenrod: "#b8860b",
|
|
263
|
+
darkgray: "#a9a9a9",
|
|
264
|
+
darkgreen: "#006400",
|
|
265
|
+
darkgrey: "#a9a9a9",
|
|
266
|
+
darkkhaki: "#bdb76b",
|
|
267
|
+
darkmagenta: "#8b008b",
|
|
268
|
+
darkolivegreen: "#556b2f",
|
|
269
|
+
darkorange: "#ff8c00",
|
|
270
|
+
darkorchid: "#9932cc",
|
|
271
|
+
darkred: "#8b0000",
|
|
272
|
+
darksalmon: "#e9967a",
|
|
273
|
+
darkseagreen: "#8fbc8f",
|
|
274
|
+
darkslateblue: "#483d8b",
|
|
275
|
+
darkslategray: "#2f4f4f",
|
|
276
|
+
darkslategrey: "#2f4f4f",
|
|
277
|
+
darkturquoise: "#00ced1",
|
|
278
|
+
darkviolet: "#9400d3",
|
|
279
|
+
deeppink: "#ff1493",
|
|
280
|
+
deepskyblue: "#00bfff",
|
|
281
|
+
dimgray: "#696969",
|
|
282
|
+
dimgrey: "#696969",
|
|
283
|
+
dodgerblue: "#1e90ff",
|
|
284
|
+
firebrick: "#b22222",
|
|
285
|
+
floralwhite: "#fffaf0",
|
|
286
|
+
forestgreen: "#228b22",
|
|
287
|
+
fuchsia: "#ff00ff",
|
|
288
|
+
gainsboro: "#dcdcdc",
|
|
289
|
+
ghostwhite: "#f8f8ff",
|
|
290
|
+
gold: "#ffd700",
|
|
291
|
+
goldenrod: "#daa520",
|
|
292
|
+
gray: "#808080",
|
|
293
|
+
green: "#008000",
|
|
294
|
+
greenyellow: "#adff2f",
|
|
295
|
+
grey: "#808080",
|
|
296
|
+
honeydew: "#f0fff0",
|
|
297
|
+
hotpink: "#ff69b4",
|
|
298
|
+
indianred: "#cd5c5c",
|
|
299
|
+
indigo: "#4b0082",
|
|
300
|
+
ivory: "#fffff0",
|
|
301
|
+
khaki: "#f0e68c",
|
|
302
|
+
lavender: "#e6e6fa",
|
|
303
|
+
lavenderblush: "#fff0f5",
|
|
304
|
+
lawngreen: "#7cfc00",
|
|
305
|
+
lemonchiffon: "#fffacd",
|
|
306
|
+
lightblue: "#add8e6",
|
|
307
|
+
lightcoral: "#f08080",
|
|
308
|
+
lightcyan: "#e0ffff",
|
|
309
|
+
lightgoldenrodyellow: "#fafad2",
|
|
310
|
+
lightgray: "#d3d3d3",
|
|
311
|
+
lightgreen: "#90ee90",
|
|
312
|
+
lightgrey: "#d3d3d3",
|
|
313
|
+
lightpink: "#ffb6c1",
|
|
314
|
+
lightsalmon: "#ffa07a",
|
|
315
|
+
lightseagreen: "#20b2aa",
|
|
316
|
+
lightskyblue: "#87cefa",
|
|
317
|
+
lightslategray: "#778899",
|
|
318
|
+
lightslategrey: "#778899",
|
|
319
|
+
lightsteelblue: "#b0c4de",
|
|
320
|
+
lightyellow: "#ffffe0",
|
|
321
|
+
lime: "#00ff00",
|
|
322
|
+
limegreen: "#32cd32",
|
|
323
|
+
linen: "#faf0e6",
|
|
324
|
+
magenta: "#ff00ff",
|
|
325
|
+
maroon: "#800000",
|
|
326
|
+
mediumaquamarine: "#66cdaa",
|
|
327
|
+
mediumblue: "#0000cd",
|
|
328
|
+
mediumorchid: "#ba55d3",
|
|
329
|
+
mediumpurple: "#9370db",
|
|
330
|
+
mediumseagreen: "#3cb371",
|
|
331
|
+
mediumslateblue: "#7b68ee",
|
|
332
|
+
mediumspringgreen: "#00fa9a",
|
|
333
|
+
mediumturquoise: "#48d1cc",
|
|
334
|
+
mediumvioletred: "#c71585",
|
|
335
|
+
midnightblue: "#191970",
|
|
336
|
+
mintcream: "#f5fffa",
|
|
337
|
+
mistyrose: "#ffe4e1",
|
|
338
|
+
moccasin: "#ffe4b5",
|
|
339
|
+
navajowhite: "#ffdead",
|
|
340
|
+
navy: "#000080",
|
|
341
|
+
oldlace: "#fdf5e6",
|
|
342
|
+
olive: "#808000",
|
|
343
|
+
olivedrab: "#6b8e23",
|
|
344
|
+
orange: "#ffa500",
|
|
345
|
+
orangered: "#ff4500",
|
|
346
|
+
orchid: "#da70d6",
|
|
347
|
+
palegoldenrod: "#eee8aa",
|
|
348
|
+
palegreen: "#98fb98",
|
|
349
|
+
paleturquoise: "#afeeee",
|
|
350
|
+
palevioletred: "#db7093",
|
|
351
|
+
papayawhip: "#ffefd5",
|
|
352
|
+
peachpuff: "#ffdab9",
|
|
353
|
+
peru: "#cd853f",
|
|
354
|
+
pink: "#ffc0cb",
|
|
355
|
+
plum: "#dda0dd",
|
|
356
|
+
powderblue: "#b0e0e6",
|
|
357
|
+
purple: "#800080",
|
|
358
|
+
rebeccapurple: "#663399",
|
|
359
|
+
red: "#ff0000",
|
|
360
|
+
rosybrown: "#bc8f8f",
|
|
361
|
+
royalblue: "#4169e1",
|
|
362
|
+
saddlebrown: "#8b4513",
|
|
363
|
+
salmon: "#fa8072",
|
|
364
|
+
sandybrown: "#f4a460",
|
|
365
|
+
seagreen: "#2e8b57",
|
|
366
|
+
seashell: "#fff5ee",
|
|
367
|
+
sienna: "#a0522d",
|
|
368
|
+
silver: "#c0c0c0",
|
|
369
|
+
skyblue: "#87ceeb",
|
|
370
|
+
slateblue: "#6a5acd",
|
|
371
|
+
slategray: "#708090",
|
|
372
|
+
slategrey: "#708090",
|
|
373
|
+
snow: "#fffafa",
|
|
374
|
+
springgreen: "#00ff7f",
|
|
375
|
+
tan: "#d2b48c",
|
|
376
|
+
teal: "#008080",
|
|
377
|
+
thistle: "#d8bfd8",
|
|
378
|
+
transparent: "#00000000",
|
|
379
|
+
turquoise: "#40e0d0",
|
|
380
|
+
violet: "#ee82ee",
|
|
381
|
+
wheat: "#f5deb3",
|
|
382
|
+
white: "#ffffff",
|
|
383
|
+
whitesmoke: "#f5f5f5",
|
|
384
|
+
yellow: "#ffff00",
|
|
385
|
+
yellowgreen: "#9acd32"
|
|
386
|
+
},
|
|
387
|
+
parse: (u) => {
|
|
388
|
+
u = u.toLowerCase();
|
|
389
|
+
let z = Keyword.colors[u];
|
|
390
|
+
if (z) return hex_default.parse(z);
|
|
391
|
+
},
|
|
392
|
+
stringify: (u) => {
|
|
393
|
+
let z = hex_default.stringify(u);
|
|
394
|
+
for (let u2 in Keyword.colors) if (Keyword.colors[u2] === z) return u2;
|
|
395
|
+
}
|
|
396
|
+
};
|
|
397
|
+
keyword_default = Keyword;
|
|
398
|
+
RGB = {
|
|
399
|
+
re: /^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,
|
|
400
|
+
parse: (u) => {
|
|
401
|
+
let z = u.charCodeAt(0);
|
|
402
|
+
if (z !== 114 && z !== 82) return;
|
|
403
|
+
let B = u.match(RGB.re);
|
|
404
|
+
if (!B) return;
|
|
405
|
+
let [, V, H, U, G, K, q, Y, X] = B;
|
|
406
|
+
return reusable_default.set({
|
|
407
|
+
r: utils_default.channel.clamp.r(H ? parseFloat(V) * 2.55 : parseFloat(V)),
|
|
408
|
+
g: utils_default.channel.clamp.g(G ? parseFloat(U) * 2.55 : parseFloat(U)),
|
|
409
|
+
b: utils_default.channel.clamp.b(q ? parseFloat(K) * 2.55 : parseFloat(K)),
|
|
410
|
+
a: Y ? utils_default.channel.clamp.a(X ? parseFloat(Y) / 100 : parseFloat(Y)) : 1
|
|
411
|
+
}, u);
|
|
412
|
+
},
|
|
413
|
+
stringify: (u) => {
|
|
414
|
+
let { r: z, g: B, b: V, a: H } = u;
|
|
415
|
+
return H < 1 ? `rgba(${utils_default.lang.round(z)}, ${utils_default.lang.round(B)}, ${utils_default.lang.round(V)}, ${utils_default.lang.round(H)})` : `rgb(${utils_default.lang.round(z)}, ${utils_default.lang.round(B)}, ${utils_default.lang.round(V)})`;
|
|
416
|
+
}
|
|
417
|
+
};
|
|
418
|
+
rgb_default = RGB;
|
|
419
|
+
color_default = {
|
|
420
|
+
format: {
|
|
421
|
+
keyword: keyword_default,
|
|
422
|
+
hex: hex_default,
|
|
423
|
+
rgb: rgb_default,
|
|
424
|
+
rgba: rgb_default,
|
|
425
|
+
hsl: hsl_default,
|
|
426
|
+
hsla: hsl_default
|
|
427
|
+
},
|
|
428
|
+
parse: (u) => {
|
|
429
|
+
if (typeof u != "string") return u;
|
|
430
|
+
let z = hex_default.parse(u) || rgb_default.parse(u) || hsl_default.parse(u) || keyword_default.parse(u);
|
|
431
|
+
if (z) return z;
|
|
432
|
+
throw Error(`Unsupported color format: "${u}"`);
|
|
433
|
+
},
|
|
434
|
+
stringify: (u) => !u.changed && u.color ? u.color : u.type.is(TYPE.HSL) || u.data.r === void 0 ? hsl_default.stringify(u) : u.a < 1 || !Number.isInteger(u.r) || !Number.isInteger(u.g) || !Number.isInteger(u.b) ? rgb_default.stringify(u) : hex_default.stringify(u)
|
|
435
|
+
};
|
|
436
|
+
change_default = (u, z) => {
|
|
437
|
+
let B = color_default.parse(u);
|
|
438
|
+
for (let u2 in z) B[u2] = utils_default.channel.clamp[u2](z[u2]);
|
|
439
|
+
return color_default.stringify(B);
|
|
440
|
+
};
|
|
441
|
+
rgba_default = (u, z, B = 0, V = 1) => {
|
|
442
|
+
if (typeof u != "number") return change_default(u, {
|
|
443
|
+
a: z
|
|
444
|
+
});
|
|
445
|
+
let H = reusable_default.set({
|
|
446
|
+
r: utils_default.channel.clamp.r(u),
|
|
447
|
+
g: utils_default.channel.clamp.g(z),
|
|
448
|
+
b: utils_default.channel.clamp.b(B),
|
|
449
|
+
a: utils_default.channel.clamp.a(V)
|
|
450
|
+
});
|
|
451
|
+
return color_default.stringify(H);
|
|
452
|
+
};
|
|
453
|
+
luminance_default = (u) => {
|
|
454
|
+
let { r: z, g: B, b: V } = color_default.parse(u), H = 0.2126 * utils_default.channel.toLinear(z) + 0.7152 * utils_default.channel.toLinear(B) + 0.0722 * utils_default.channel.toLinear(V);
|
|
455
|
+
return utils_default.lang.round(H);
|
|
456
|
+
};
|
|
457
|
+
is_light_default = (u) => luminance_default(u) >= 0.5;
|
|
458
|
+
is_dark_default = (u) => !is_light_default(u);
|
|
459
|
+
adjust_channel_default = (u, z, B) => {
|
|
460
|
+
let V = color_default.parse(u), H = V[z], U = utils_default.channel.clamp[z](H + B);
|
|
461
|
+
return H !== U && (V[z] = U), color_default.stringify(V);
|
|
462
|
+
};
|
|
463
|
+
lighten_default = (u, z) => adjust_channel_default(u, "l", z);
|
|
464
|
+
darken_default = (u, z) => adjust_channel_default(u, "l", -z);
|
|
465
|
+
adjust_default = (u, z) => {
|
|
466
|
+
let B = color_default.parse(u), V = {};
|
|
467
|
+
for (let u2 in z) z[u2] && (V[u2] = B[u2] + z[u2]);
|
|
468
|
+
return change_default(u, V);
|
|
469
|
+
};
|
|
470
|
+
mix_default = (u, z, B = 50) => {
|
|
471
|
+
let { r: V, g: H, b: U, a: W } = color_default.parse(u), { r: G, g: K, b: q, a: J } = color_default.parse(z), Y = B / 100, X = Y * 2 - 1, Z = W - J, Q = ((X * Z === -1 ? X : (X + Z) / (1 + X * Z)) + 1) / 2, $ = 1 - Q;
|
|
472
|
+
return rgba_default(V * Q + G * $, H * Q + K * $, U * Q + q * $, W * Y + J * (1 - Y));
|
|
473
|
+
};
|
|
474
|
+
invert_default = (u, z = 100) => {
|
|
475
|
+
let B = color_default.parse(u);
|
|
476
|
+
return B.r = 255 - B.r, B.g = 255 - B.g, B.b = 255 - B.b, mix_default(B, u, z);
|
|
477
|
+
};
|
|
478
|
+
assignWithDepth = __name((u, z, { depth: B = 2 } = {}) => {
|
|
479
|
+
let V = {
|
|
480
|
+
depth: B
|
|
481
|
+
};
|
|
482
|
+
if (Array.isArray(z) && !Array.isArray(u)) return z.forEach((z2) => assignWithDepth(u, z2, V)), u;
|
|
483
|
+
if (Array.isArray(z) && Array.isArray(u)) return z.forEach((z2) => {
|
|
484
|
+
u.includes(z2) || u.push(z2);
|
|
485
|
+
}), u;
|
|
486
|
+
if (u == null || B <= 0) return typeof u == "object" && u && typeof z == "object" ? Object.assign(u, z) : z;
|
|
487
|
+
if (z != null && typeof u == "object" && typeof z == "object") {
|
|
488
|
+
let V2 = u;
|
|
489
|
+
Object.entries(z).forEach(([z2, H]) => {
|
|
490
|
+
if (typeof H == "object") {
|
|
491
|
+
if (H === null) return;
|
|
492
|
+
Object.hasOwn(u, z2) || Object.defineProperty(u, z2, {
|
|
493
|
+
value: void 0,
|
|
494
|
+
writable: true,
|
|
495
|
+
enumerable: true,
|
|
496
|
+
configurable: true
|
|
497
|
+
}), V2[z2] === void 0 && (V2[z2] = Array.isArray(H) ? [] : {}), typeof V2[z2] == "object" && (V2[z2] = assignWithDepth(V2[z2], H, {
|
|
498
|
+
depth: B - 1
|
|
499
|
+
}));
|
|
500
|
+
} else typeof V2[z2] != "object" && (Object.hasOwn(u, z2) ? V2[z2] = H : Object.defineProperty(u, z2, {
|
|
501
|
+
value: H,
|
|
502
|
+
writable: true,
|
|
503
|
+
enumerable: true,
|
|
504
|
+
configurable: true
|
|
505
|
+
}));
|
|
506
|
+
});
|
|
507
|
+
}
|
|
508
|
+
return u;
|
|
509
|
+
}, "assignWithDepth");
|
|
510
|
+
assignWithDepth_default = assignWithDepth;
|
|
511
|
+
oldAttributeBackgroundColorOdd = "#ffffff";
|
|
512
|
+
oldAttributeBackgroundColorEven = "#f2f2f2";
|
|
513
|
+
mkBorder = __name((u, z) => z ? adjust_default(u, {
|
|
514
|
+
s: -40,
|
|
515
|
+
l: 10
|
|
516
|
+
}) : adjust_default(u, {
|
|
517
|
+
s: -40,
|
|
518
|
+
l: -10
|
|
519
|
+
}), "mkBorder");
|
|
520
|
+
Theme = (_a = class {
|
|
521
|
+
constructor() {
|
|
522
|
+
this.background = "#f4f4f4", this.primaryColor = "#fff4dd", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.useGradient = true, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,1))";
|
|
523
|
+
}
|
|
524
|
+
updateColors() {
|
|
525
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2, _l2, _m2, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W;
|
|
526
|
+
if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || adjust_default(this.primaryColor, {
|
|
527
|
+
h: -120
|
|
528
|
+
}), this.tertiaryColor = this.tertiaryColor || adjust_default(this.primaryColor, {
|
|
529
|
+
h: 180,
|
|
530
|
+
l: 5
|
|
531
|
+
}), this.primaryBorderColor = this.primaryBorderColor || mkBorder(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || mkBorder(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || mkBorder(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || mkBorder(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || invert_default(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || invert_default(this.tertiaryColor), this.lineColor = this.lineColor || invert_default(this.background), this.arrowheadColor = this.arrowheadColor || invert_default(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? darken_default(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || darken_default(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || invert_default(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || lighten_default(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.vertLineColor = this.vertLineColor || "navy", this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.noteFontWeight = this.noteFontWeight || "normal", this.fontWeight = this.fontWeight || "normal", this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.darkMode ? (this.rowOdd = this.rowOdd || darken_default(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || darken_default(this.mainBkg, 10)) : (this.rowOdd = this.rowOdd || lighten_default(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || lighten_default(this.mainBkg, 5)), this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || this.tertiaryColor, this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || adjust_default(this.primaryColor, {
|
|
532
|
+
h: 30
|
|
533
|
+
}), this.cScale4 = this.cScale4 || adjust_default(this.primaryColor, {
|
|
534
|
+
h: 60
|
|
535
|
+
}), this.cScale5 = this.cScale5 || adjust_default(this.primaryColor, {
|
|
536
|
+
h: 90
|
|
537
|
+
}), this.cScale6 = this.cScale6 || adjust_default(this.primaryColor, {
|
|
538
|
+
h: 120
|
|
539
|
+
}), this.cScale7 = this.cScale7 || adjust_default(this.primaryColor, {
|
|
540
|
+
h: 150
|
|
541
|
+
}), this.cScale8 = this.cScale8 || adjust_default(this.primaryColor, {
|
|
542
|
+
h: 210,
|
|
543
|
+
l: 150
|
|
544
|
+
}), this.cScale9 = this.cScale9 || adjust_default(this.primaryColor, {
|
|
545
|
+
h: 270
|
|
546
|
+
}), this.cScale10 = this.cScale10 || adjust_default(this.primaryColor, {
|
|
547
|
+
h: 300
|
|
548
|
+
}), this.cScale11 = this.cScale11 || adjust_default(this.primaryColor, {
|
|
549
|
+
h: 330
|
|
550
|
+
}), this.darkMode) for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this["cScale" + u2] = darken_default(this["cScale" + u2], 75);
|
|
551
|
+
else for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this["cScale" + u2] = darken_default(this["cScale" + u2], 25);
|
|
552
|
+
for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this["cScaleInv" + u2] = this["cScaleInv" + u2] || invert_default(this["cScale" + u2]);
|
|
553
|
+
for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this.darkMode ? this["cScalePeer" + u2] = this["cScalePeer" + u2] || lighten_default(this["cScale" + u2], 10) : this["cScalePeer" + u2] = this["cScalePeer" + u2] || darken_default(this["cScale" + u2], 10);
|
|
554
|
+
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
555
|
+
for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this["cScaleLabel" + u2] = this["cScaleLabel" + u2] || this.scaleLabelColor;
|
|
556
|
+
let u = this.darkMode ? -4 : -1;
|
|
557
|
+
for (let z = 0; z < 5; z++) this["surface" + z] = this["surface" + z] || adjust_default(this.mainBkg, {
|
|
558
|
+
h: 180,
|
|
559
|
+
s: -15,
|
|
560
|
+
l: u * (5 + z * 3)
|
|
561
|
+
}), this["surfacePeer" + z] = this["surfacePeer" + z] || adjust_default(this.mainBkg, {
|
|
562
|
+
h: 180,
|
|
563
|
+
s: -15,
|
|
564
|
+
l: u * (8 + z * 3)
|
|
565
|
+
});
|
|
566
|
+
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || adjust_default(this.primaryColor, {
|
|
567
|
+
h: 64
|
|
568
|
+
}), this.fillType3 = this.fillType3 || adjust_default(this.secondaryColor, {
|
|
569
|
+
h: 64
|
|
570
|
+
}), this.fillType4 = this.fillType4 || adjust_default(this.primaryColor, {
|
|
571
|
+
h: -64
|
|
572
|
+
}), this.fillType5 = this.fillType5 || adjust_default(this.secondaryColor, {
|
|
573
|
+
h: -64
|
|
574
|
+
}), this.fillType6 = this.fillType6 || adjust_default(this.primaryColor, {
|
|
575
|
+
h: 128
|
|
576
|
+
}), this.fillType7 = this.fillType7 || adjust_default(this.secondaryColor, {
|
|
577
|
+
h: 128
|
|
578
|
+
}), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || adjust_default(this.primaryColor, {
|
|
579
|
+
l: -10
|
|
580
|
+
}), this.pie5 = this.pie5 || adjust_default(this.secondaryColor, {
|
|
581
|
+
l: -10
|
|
582
|
+
}), this.pie6 = this.pie6 || adjust_default(this.tertiaryColor, {
|
|
583
|
+
l: -10
|
|
584
|
+
}), this.pie7 = this.pie7 || adjust_default(this.primaryColor, {
|
|
585
|
+
h: 60,
|
|
586
|
+
l: -10
|
|
587
|
+
}), this.pie8 = this.pie8 || adjust_default(this.primaryColor, {
|
|
588
|
+
h: -60,
|
|
589
|
+
l: -10
|
|
590
|
+
}), this.pie9 = this.pie9 || adjust_default(this.primaryColor, {
|
|
591
|
+
h: 120,
|
|
592
|
+
l: 0
|
|
593
|
+
}), this.pie10 = this.pie10 || adjust_default(this.primaryColor, {
|
|
594
|
+
h: 60,
|
|
595
|
+
l: -20
|
|
596
|
+
}), this.pie11 = this.pie11 || adjust_default(this.primaryColor, {
|
|
597
|
+
h: -60,
|
|
598
|
+
l: -20
|
|
599
|
+
}), this.pie12 = this.pie12 || adjust_default(this.primaryColor, {
|
|
600
|
+
h: 120,
|
|
601
|
+
l: -10
|
|
602
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.venn1 = this.venn1 ?? adjust_default(this.primaryColor, {
|
|
603
|
+
l: -30
|
|
604
|
+
}), this.venn2 = this.venn2 ?? adjust_default(this.secondaryColor, {
|
|
605
|
+
l: -30
|
|
606
|
+
}), this.venn3 = this.venn3 ?? adjust_default(this.tertiaryColor, {
|
|
607
|
+
l: -30
|
|
608
|
+
}), this.venn4 = this.venn4 ?? adjust_default(this.primaryColor, {
|
|
609
|
+
h: 60,
|
|
610
|
+
l: -30
|
|
611
|
+
}), this.venn5 = this.venn5 ?? adjust_default(this.primaryColor, {
|
|
612
|
+
h: -60,
|
|
613
|
+
l: -30
|
|
614
|
+
}), this.venn6 = this.venn6 ?? adjust_default(this.secondaryColor, {
|
|
615
|
+
h: 60,
|
|
616
|
+
l: -30
|
|
617
|
+
}), this.venn7 = this.venn7 ?? adjust_default(this.primaryColor, {
|
|
618
|
+
h: 120,
|
|
619
|
+
l: -30
|
|
620
|
+
}), this.venn8 = this.venn8 ?? adjust_default(this.secondaryColor, {
|
|
621
|
+
h: 120,
|
|
622
|
+
l: -30
|
|
623
|
+
}), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.cynefin = {
|
|
624
|
+
domainFontSize: ((_a2 = this.cynefin) == null ? void 0 : _a2.domainFontSize) || 16,
|
|
625
|
+
itemFontSize: ((_b2 = this.cynefin) == null ? void 0 : _b2.itemFontSize) || 12,
|
|
626
|
+
boundaryColor: ((_c2 = this.cynefin) == null ? void 0 : _c2.boundaryColor) || this.lineColor,
|
|
627
|
+
boundaryWidth: ((_d2 = this.cynefin) == null ? void 0 : _d2.boundaryWidth) || 2,
|
|
628
|
+
cliffColor: ((_e2 = this.cynefin) == null ? void 0 : _e2.cliffColor) || "#8B0000",
|
|
629
|
+
cliffWidth: ((_f2 = this.cynefin) == null ? void 0 : _f2.cliffWidth) || 4,
|
|
630
|
+
arrowColor: ((_g2 = this.cynefin) == null ? void 0 : _g2.arrowColor) || this.lineColor,
|
|
631
|
+
arrowWidth: ((_h2 = this.cynefin) == null ? void 0 : _h2.arrowWidth) || 2,
|
|
632
|
+
complexBg: ((_i2 = this.cynefin) == null ? void 0 : _i2.complexBg) || "#E8F5E9",
|
|
633
|
+
complicatedBg: ((_j2 = this.cynefin) == null ? void 0 : _j2.complicatedBg) || "#E3F2FD",
|
|
634
|
+
chaoticBg: ((_k2 = this.cynefin) == null ? void 0 : _k2.chaoticBg) || "#FBE9E7",
|
|
635
|
+
clearBg: ((_l2 = this.cynefin) == null ? void 0 : _l2.clearBg) || "#FFF8E1",
|
|
636
|
+
confusionBg: ((_m2 = this.cynefin) == null ? void 0 : _m2.confusionBg) || "#F3E5F5",
|
|
637
|
+
textColor: ((_n = this.cynefin) == null ? void 0 : _n.textColor) || this.textColor,
|
|
638
|
+
labelColor: ((_o = this.cynefin) == null ? void 0 : _o.labelColor) || this.primaryTextColor
|
|
639
|
+
}, this.radar = {
|
|
640
|
+
axisColor: ((_p = this.radar) == null ? void 0 : _p.axisColor) || this.lineColor,
|
|
641
|
+
axisStrokeWidth: ((_q = this.radar) == null ? void 0 : _q.axisStrokeWidth) || 2,
|
|
642
|
+
axisLabelFontSize: ((_r = this.radar) == null ? void 0 : _r.axisLabelFontSize) || 12,
|
|
643
|
+
curveOpacity: ((_s = this.radar) == null ? void 0 : _s.curveOpacity) || 0.5,
|
|
644
|
+
curveStrokeWidth: ((_t = this.radar) == null ? void 0 : _t.curveStrokeWidth) || 2,
|
|
645
|
+
graticuleColor: ((_u = this.radar) == null ? void 0 : _u.graticuleColor) || "#DEDEDE",
|
|
646
|
+
graticuleStrokeWidth: ((_v = this.radar) == null ? void 0 : _v.graticuleStrokeWidth) || 1,
|
|
647
|
+
graticuleOpacity: ((_w = this.radar) == null ? void 0 : _w.graticuleOpacity) || 0.3,
|
|
648
|
+
legendBoxSize: ((_x = this.radar) == null ? void 0 : _x.legendBoxSize) || 12,
|
|
649
|
+
legendFontSize: ((_y = this.radar) == null ? void 0 : _y.legendFontSize) || 12
|
|
650
|
+
}, this.wardleyEvolutionColor = this.wardleyEvolutionColor || "#dc3545", this.wardley = {
|
|
651
|
+
backgroundColor: ((_z = this.wardley) == null ? void 0 : _z.backgroundColor) || this.background,
|
|
652
|
+
axisColor: ((_A = this.wardley) == null ? void 0 : _A.axisColor) || this.lineColor,
|
|
653
|
+
axisTextColor: ((_B = this.wardley) == null ? void 0 : _B.axisTextColor) || this.primaryTextColor,
|
|
654
|
+
gridColor: ((_C = this.wardley) == null ? void 0 : _C.gridColor) || this.gridColor,
|
|
655
|
+
componentFill: ((_D = this.wardley) == null ? void 0 : _D.componentFill) || this.background,
|
|
656
|
+
componentStroke: ((_E = this.wardley) == null ? void 0 : _E.componentStroke) || this.lineColor,
|
|
657
|
+
componentLabelColor: ((_F = this.wardley) == null ? void 0 : _F.componentLabelColor) || this.primaryTextColor,
|
|
658
|
+
linkStroke: ((_G = this.wardley) == null ? void 0 : _G.linkStroke) || this.lineColor,
|
|
659
|
+
evolutionStroke: ((_H = this.wardley) == null ? void 0 : _H.evolutionStroke) || this.wardleyEvolutionColor,
|
|
660
|
+
annotationStroke: ((_I = this.wardley) == null ? void 0 : _I.annotationStroke) || this.lineColor,
|
|
661
|
+
annotationTextColor: ((_J = this.wardley) == null ? void 0 : _J.annotationTextColor) || this.primaryTextColor,
|
|
662
|
+
annotationFill: ((_K = this.wardley) == null ? void 0 : _K.annotationFill) || this.background
|
|
663
|
+
}, this.archEdgeColor = this.archEdgeColor || "#777", this.archEdgeArrowColor = this.archEdgeArrowColor || "#777", this.archEdgeWidth = this.archEdgeWidth || "3", this.archGroupBorderColor = this.archGroupBorderColor || "#000", this.archGroupBorderWidth = this.archGroupBorderWidth || "2px", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || adjust_default(this.primaryColor, {
|
|
664
|
+
r: 5,
|
|
665
|
+
g: 5,
|
|
666
|
+
b: 5
|
|
667
|
+
}), this.quadrant3Fill = this.quadrant3Fill || adjust_default(this.primaryColor, {
|
|
668
|
+
r: 10,
|
|
669
|
+
g: 10,
|
|
670
|
+
b: 10
|
|
671
|
+
}), this.quadrant4Fill = this.quadrant4Fill || adjust_default(this.primaryColor, {
|
|
672
|
+
r: 15,
|
|
673
|
+
g: 15,
|
|
674
|
+
b: 15
|
|
675
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || adjust_default(this.primaryTextColor, {
|
|
676
|
+
r: -5,
|
|
677
|
+
g: -5,
|
|
678
|
+
b: -5
|
|
679
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || adjust_default(this.primaryTextColor, {
|
|
680
|
+
r: -10,
|
|
681
|
+
g: -10,
|
|
682
|
+
b: -10
|
|
683
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || adjust_default(this.primaryTextColor, {
|
|
684
|
+
r: -15,
|
|
685
|
+
g: -15,
|
|
686
|
+
b: -15
|
|
687
|
+
}), this.quadrantPointFill = this.quadrantPointFill || is_dark_default(this.quadrant1Fill) ? lighten_default(this.quadrant1Fill) : darken_default(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
688
|
+
backgroundColor: ((_L = this.xyChart) == null ? void 0 : _L.backgroundColor) || this.background,
|
|
689
|
+
titleColor: ((_M = this.xyChart) == null ? void 0 : _M.titleColor) || this.primaryTextColor,
|
|
690
|
+
dataLabelColor: ((_N = this.xyChart) == null ? void 0 : _N.dataLabelColor) || this.primaryTextColor,
|
|
691
|
+
xAxisTitleColor: ((_O = this.xyChart) == null ? void 0 : _O.xAxisTitleColor) || this.primaryTextColor,
|
|
692
|
+
xAxisLabelColor: ((_P = this.xyChart) == null ? void 0 : _P.xAxisLabelColor) || this.primaryTextColor,
|
|
693
|
+
xAxisTickColor: ((_Q = this.xyChart) == null ? void 0 : _Q.xAxisTickColor) || this.primaryTextColor,
|
|
694
|
+
xAxisLineColor: ((_R = this.xyChart) == null ? void 0 : _R.xAxisLineColor) || this.primaryTextColor,
|
|
695
|
+
yAxisTitleColor: ((_S = this.xyChart) == null ? void 0 : _S.yAxisTitleColor) || this.primaryTextColor,
|
|
696
|
+
yAxisLabelColor: ((_T = this.xyChart) == null ? void 0 : _T.yAxisLabelColor) || this.primaryTextColor,
|
|
697
|
+
yAxisTickColor: ((_U = this.xyChart) == null ? void 0 : _U.yAxisTickColor) || this.primaryTextColor,
|
|
698
|
+
yAxisLineColor: ((_V = this.xyChart) == null ? void 0 : _V.yAxisLineColor) || this.primaryTextColor,
|
|
699
|
+
plotColorPalette: ((_W = this.xyChart) == null ? void 0 : _W.plotColorPalette) || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
700
|
+
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? darken_default(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || adjust_default(this.primaryColor, {
|
|
701
|
+
h: -30
|
|
702
|
+
}), this.git4 = this.git4 || adjust_default(this.primaryColor, {
|
|
703
|
+
h: -60
|
|
704
|
+
}), this.git5 = this.git5 || adjust_default(this.primaryColor, {
|
|
705
|
+
h: -90
|
|
706
|
+
}), this.git6 = this.git6 || adjust_default(this.primaryColor, {
|
|
707
|
+
h: 60
|
|
708
|
+
}), this.git7 = this.git7 || adjust_default(this.primaryColor, {
|
|
709
|
+
h: 120
|
|
710
|
+
}), this.darkMode ? (this.git0 = lighten_default(this.git0, 25), this.git1 = lighten_default(this.git1, 25), this.git2 = lighten_default(this.git2, 25), this.git3 = lighten_default(this.git3, 25), this.git4 = lighten_default(this.git4, 25), this.git5 = lighten_default(this.git5, 25), this.git6 = lighten_default(this.git6, 25), this.git7 = lighten_default(this.git7, 25)) : (this.git0 = darken_default(this.git0, 25), this.git1 = darken_default(this.git1, 25), this.git2 = darken_default(this.git2, 25), this.git3 = darken_default(this.git3, 25), this.git4 = darken_default(this.git4, 25), this.git5 = darken_default(this.git5, 25), this.git6 = darken_default(this.git6, 25), this.git7 = darken_default(this.git7, 25)), this.gitInv0 = this.gitInv0 || invert_default(this.git0), this.gitInv1 = this.gitInv1 || invert_default(this.git1), this.gitInv2 = this.gitInv2 || invert_default(this.git2), this.gitInv3 = this.gitInv3 || invert_default(this.git3), this.gitInv4 = this.gitInv4 || invert_default(this.git4), this.gitInv5 = this.gitInv5 || invert_default(this.git5), this.gitInv6 = this.gitInv6 || invert_default(this.git6), this.gitInv7 = this.gitInv7 || invert_default(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.emUiFill = this.emUiFill || "white", this.emUiStroke = this.emUiStroke || "#dbdada", this.emProcessorFill = this.emProcessorFill || "#edb3f6", this.emProcessorStroke = this.emProcessorStroke || "#b88cbf", this.emReadModelFill = this.emReadModelFill || "#d3f1a2", this.emReadModelStroke = this.emReadModelStroke || "#a3b732", this.emCommandFill = this.emCommandFill || "#bcd6fe", this.emCommandStroke = this.emCommandStroke || "#679ac3", this.emEventFill = this.emEventFill || "#ffb778", this.emEventStroke = this.emEventStroke || "#c19a0f", this.emSwimlaneBackgroundOdd = this.emSwimlaneBackgroundOdd || "rgb(250,250,250)", this.emSwimlaneBackgroundStroke = this.emSwimlaneBackgroundStroke || "rgb(240,240,240)", this.emArrowhead = this.emArrowhead || this.lineColor, this.emRelationStroke = this.emRelationStroke || this.lineColor, this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || oldAttributeBackgroundColorOdd, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || oldAttributeBackgroundColorEven, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor;
|
|
711
|
+
}
|
|
712
|
+
calculate(u) {
|
|
713
|
+
if (typeof u != "object") {
|
|
714
|
+
this.updateColors();
|
|
715
|
+
return;
|
|
716
|
+
}
|
|
717
|
+
let z = Object.keys(u);
|
|
718
|
+
z.forEach((z2) => {
|
|
719
|
+
this[z2] = u[z2];
|
|
720
|
+
}), this.updateColors(), z.forEach((z2) => {
|
|
721
|
+
this[z2] = u[z2];
|
|
722
|
+
});
|
|
723
|
+
}
|
|
724
|
+
}, __name(_a, "Theme"), _a);
|
|
725
|
+
getThemeVariables = __name((u) => {
|
|
726
|
+
let z = new Theme();
|
|
727
|
+
return z.calculate(u), z;
|
|
728
|
+
}, "getThemeVariables");
|
|
729
|
+
Theme2 = (_b = class {
|
|
730
|
+
constructor() {
|
|
731
|
+
this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = lighten_default(this.primaryColor, 16), this.tertiaryColor = adjust_default(this.primaryColor, {
|
|
732
|
+
h: -160
|
|
733
|
+
}), this.primaryBorderColor = invert_default(this.background), this.secondaryBorderColor = mkBorder(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = mkBorder(this.tertiaryColor, this.darkMode), this.primaryTextColor = invert_default(this.primaryColor), this.secondaryTextColor = invert_default(this.secondaryColor), this.tertiaryTextColor = invert_default(this.tertiaryColor), this.lineColor = invert_default(this.background), this.textColor = invert_default(this.background), this.mainBkg = "#1f2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = lighten_default(invert_default("#323D47"), 10), this.lineColor = "calculated", this.border1 = "#ccc", this.border2 = rgba_default(255, 255, 255, 0.25), this.arrowheadColor = "calculated", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.labelBackground = "#181818", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#F9FFFE", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "calculated", this.activationBkgColor = "calculated", this.sequenceNumberColor = "black", this.clusterBkg = "#302F3D", this.sectionBkgColor = darken_default("#EAE8D9", 30), this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "#EAE8D9", this.excludeBkgColor = darken_default(this.sectionBkgColor, 10), this.taskBorderColor = rgba_default(255, 255, 255, 70), this.taskBkgColor = "calculated", this.taskTextColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = rgba_default(255, 255, 255, 50), this.activeTaskBkgColor = "#81B1DB", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "grey", this.critBorderColor = "#E83737", this.critBkgColor = "#E83737", this.taskTextDarkColor = "calculated", this.todayLineColor = "#DB5757", this.vertLineColor = "#00BFFF", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.rowOdd = this.rowOdd || lighten_default(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || darken_default(this.mainBkg, 10), this.labelColor = "calculated", this.errorBkgColor = "#a44141", this.errorTextColor = "#ddd", this.useGradient = true, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,1))", this.noteFontWeight = this.noteFontWeight || "normal", this.fontWeight = this.fontWeight || "normal";
|
|
734
|
+
}
|
|
735
|
+
updateColors() {
|
|
736
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2, _l2, _m2, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W;
|
|
737
|
+
this.secondBkg = lighten_default(this.mainBkg, 16), this.lineColor = this.mainContrastColor, this.arrowheadColor = this.mainContrastColor, this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.edgeLabelBackground = lighten_default(this.labelBackground, 25), this.actorBorder = this.border1, this.actorBkg = this.mainBkg, this.actorTextColor = this.mainContrastColor, this.actorLineColor = this.actorBorder, this.signalColor = this.mainContrastColor, this.signalTextColor = this.mainContrastColor, this.labelBoxBkgColor = this.actorBkg, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.mainContrastColor, this.loopTextColor = this.mainContrastColor, this.noteBorderColor = this.secondaryBorderColor, this.noteBkgColor = this.secondBkg, this.noteTextColor = this.secondaryTextColor, this.activationBorderColor = this.border1, this.activationBkgColor = this.secondBkg, this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.background, this.taskBkgColor = lighten_default(this.mainBkg, 23), this.taskTextColor = this.darkTextColor, this.taskTextLightColor = this.mainContrastColor, this.taskTextOutsideColor = this.taskTextLightColor, this.gridColor = this.mainContrastColor, this.doneTaskBkgColor = this.mainContrastColor, this.taskTextDarkColor = invert_default(this.doneTaskBkgColor), this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#555", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = "#f4f4f4", this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = adjust_default(this.primaryColor, {
|
|
738
|
+
h: 64
|
|
739
|
+
}), this.fillType3 = adjust_default(this.secondaryColor, {
|
|
740
|
+
h: 64
|
|
741
|
+
}), this.fillType4 = adjust_default(this.primaryColor, {
|
|
742
|
+
h: -64
|
|
743
|
+
}), this.fillType5 = adjust_default(this.secondaryColor, {
|
|
744
|
+
h: -64
|
|
745
|
+
}), this.fillType6 = adjust_default(this.primaryColor, {
|
|
746
|
+
h: 128
|
|
747
|
+
}), this.fillType7 = adjust_default(this.secondaryColor, {
|
|
748
|
+
h: 128
|
|
749
|
+
}), this.cScale1 = this.cScale1 || "#0b0000", this.cScale2 = this.cScale2 || "#4d1037", this.cScale3 = this.cScale3 || "#3f5258", this.cScale4 = this.cScale4 || "#4f2f1b", this.cScale5 = this.cScale5 || "#6e0a0a", this.cScale6 = this.cScale6 || "#3b0048", this.cScale7 = this.cScale7 || "#995a01", this.cScale8 = this.cScale8 || "#154706", this.cScale9 = this.cScale9 || "#161722", this.cScale10 = this.cScale10 || "#00296f", this.cScale11 = this.cScale11 || "#01629c", this.cScale12 = this.cScale12 || "#010029", this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || adjust_default(this.primaryColor, {
|
|
750
|
+
h: 30
|
|
751
|
+
}), this.cScale4 = this.cScale4 || adjust_default(this.primaryColor, {
|
|
752
|
+
h: 60
|
|
753
|
+
}), this.cScale5 = this.cScale5 || adjust_default(this.primaryColor, {
|
|
754
|
+
h: 90
|
|
755
|
+
}), this.cScale6 = this.cScale6 || adjust_default(this.primaryColor, {
|
|
756
|
+
h: 120
|
|
757
|
+
}), this.cScale7 = this.cScale7 || adjust_default(this.primaryColor, {
|
|
758
|
+
h: 150
|
|
759
|
+
}), this.cScale8 = this.cScale8 || adjust_default(this.primaryColor, {
|
|
760
|
+
h: 210
|
|
761
|
+
}), this.cScale9 = this.cScale9 || adjust_default(this.primaryColor, {
|
|
762
|
+
h: 270
|
|
763
|
+
}), this.cScale10 = this.cScale10 || adjust_default(this.primaryColor, {
|
|
764
|
+
h: 300
|
|
765
|
+
}), this.cScale11 = this.cScale11 || adjust_default(this.primaryColor, {
|
|
766
|
+
h: 330
|
|
767
|
+
});
|
|
768
|
+
for (let u = 0; u < this.THEME_COLOR_LIMIT; u++) this["cScaleInv" + u] = this["cScaleInv" + u] || invert_default(this["cScale" + u]);
|
|
769
|
+
for (let u = 0; u < this.THEME_COLOR_LIMIT; u++) this["cScalePeer" + u] = this["cScalePeer" + u] || lighten_default(this["cScale" + u], 10);
|
|
770
|
+
for (let u = 0; u < 5; u++) this["surface" + u] = this["surface" + u] || adjust_default(this.mainBkg, {
|
|
771
|
+
h: 30,
|
|
772
|
+
s: -30,
|
|
773
|
+
l: -(-10 + u * 4)
|
|
774
|
+
}), this["surfacePeer" + u] = this["surfacePeer" + u] || adjust_default(this.mainBkg, {
|
|
775
|
+
h: 30,
|
|
776
|
+
s: -30,
|
|
777
|
+
l: -(-7 + u * 4)
|
|
778
|
+
});
|
|
779
|
+
this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor);
|
|
780
|
+
for (let u = 0; u < this.THEME_COLOR_LIMIT; u++) this["cScaleLabel" + u] = this["cScaleLabel" + u] || this.scaleLabelColor;
|
|
781
|
+
for (let u = 0; u < this.THEME_COLOR_LIMIT; u++) this["pie" + u] = this["cScale" + u];
|
|
782
|
+
this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.mainContrastColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.mainContrastColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7";
|
|
783
|
+
for (let u = 0; u < 8; u++) this["venn" + (u + 1)] = this["venn" + (u + 1)] ?? lighten_default(this["cScale" + u], 30);
|
|
784
|
+
this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.cynefin = {
|
|
785
|
+
domainFontSize: ((_a2 = this.cynefin) == null ? void 0 : _a2.domainFontSize) || 16,
|
|
786
|
+
itemFontSize: ((_b2 = this.cynefin) == null ? void 0 : _b2.itemFontSize) || 12,
|
|
787
|
+
boundaryColor: ((_c2 = this.cynefin) == null ? void 0 : _c2.boundaryColor) || this.lineColor,
|
|
788
|
+
boundaryWidth: ((_d2 = this.cynefin) == null ? void 0 : _d2.boundaryWidth) || 2,
|
|
789
|
+
cliffColor: ((_e2 = this.cynefin) == null ? void 0 : _e2.cliffColor) || "#FF6B6B",
|
|
790
|
+
cliffWidth: ((_f2 = this.cynefin) == null ? void 0 : _f2.cliffWidth) || 4,
|
|
791
|
+
arrowColor: ((_g2 = this.cynefin) == null ? void 0 : _g2.arrowColor) || this.lineColor,
|
|
792
|
+
arrowWidth: ((_h2 = this.cynefin) == null ? void 0 : _h2.arrowWidth) || 2,
|
|
793
|
+
complexBg: ((_i2 = this.cynefin) == null ? void 0 : _i2.complexBg) || "#1B5E20",
|
|
794
|
+
complicatedBg: ((_j2 = this.cynefin) == null ? void 0 : _j2.complicatedBg) || "#0D47A1",
|
|
795
|
+
chaoticBg: ((_k2 = this.cynefin) == null ? void 0 : _k2.chaoticBg) || "#BF360C",
|
|
796
|
+
clearBg: ((_l2 = this.cynefin) == null ? void 0 : _l2.clearBg) || "#F57F17",
|
|
797
|
+
confusionBg: ((_m2 = this.cynefin) == null ? void 0 : _m2.confusionBg) || "#4A148C",
|
|
798
|
+
textColor: ((_n = this.cynefin) == null ? void 0 : _n.textColor) || this.textColor,
|
|
799
|
+
labelColor: ((_o = this.cynefin) == null ? void 0 : _o.labelColor) || this.primaryTextColor
|
|
800
|
+
}, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || adjust_default(this.primaryColor, {
|
|
801
|
+
r: 5,
|
|
802
|
+
g: 5,
|
|
803
|
+
b: 5
|
|
804
|
+
}), this.quadrant3Fill = this.quadrant3Fill || adjust_default(this.primaryColor, {
|
|
805
|
+
r: 10,
|
|
806
|
+
g: 10,
|
|
807
|
+
b: 10
|
|
808
|
+
}), this.quadrant4Fill = this.quadrant4Fill || adjust_default(this.primaryColor, {
|
|
809
|
+
r: 15,
|
|
810
|
+
g: 15,
|
|
811
|
+
b: 15
|
|
812
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || adjust_default(this.primaryTextColor, {
|
|
813
|
+
r: -5,
|
|
814
|
+
g: -5,
|
|
815
|
+
b: -5
|
|
816
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || adjust_default(this.primaryTextColor, {
|
|
817
|
+
r: -10,
|
|
818
|
+
g: -10,
|
|
819
|
+
b: -10
|
|
820
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || adjust_default(this.primaryTextColor, {
|
|
821
|
+
r: -15,
|
|
822
|
+
g: -15,
|
|
823
|
+
b: -15
|
|
824
|
+
}), this.quadrantPointFill = this.quadrantPointFill || is_dark_default(this.quadrant1Fill) ? lighten_default(this.quadrant1Fill) : darken_default(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
825
|
+
backgroundColor: ((_p = this.xyChart) == null ? void 0 : _p.backgroundColor) || this.background,
|
|
826
|
+
titleColor: ((_q = this.xyChart) == null ? void 0 : _q.titleColor) || this.primaryTextColor,
|
|
827
|
+
dataLabelColor: ((_r = this.xyChart) == null ? void 0 : _r.dataLabelColor) || this.primaryTextColor,
|
|
828
|
+
xAxisTitleColor: ((_s = this.xyChart) == null ? void 0 : _s.xAxisTitleColor) || this.primaryTextColor,
|
|
829
|
+
xAxisLabelColor: ((_t = this.xyChart) == null ? void 0 : _t.xAxisLabelColor) || this.primaryTextColor,
|
|
830
|
+
xAxisTickColor: ((_u = this.xyChart) == null ? void 0 : _u.xAxisTickColor) || this.primaryTextColor,
|
|
831
|
+
xAxisLineColor: ((_v = this.xyChart) == null ? void 0 : _v.xAxisLineColor) || this.primaryTextColor,
|
|
832
|
+
yAxisTitleColor: ((_w = this.xyChart) == null ? void 0 : _w.yAxisTitleColor) || this.primaryTextColor,
|
|
833
|
+
yAxisLabelColor: ((_x = this.xyChart) == null ? void 0 : _x.yAxisLabelColor) || this.primaryTextColor,
|
|
834
|
+
yAxisTickColor: ((_y = this.xyChart) == null ? void 0 : _y.yAxisTickColor) || this.primaryTextColor,
|
|
835
|
+
yAxisLineColor: ((_z = this.xyChart) == null ? void 0 : _z.yAxisLineColor) || this.primaryTextColor,
|
|
836
|
+
plotColorPalette: ((_A = this.xyChart) == null ? void 0 : _A.plotColorPalette) || "#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"
|
|
837
|
+
}, this.packet = {
|
|
838
|
+
startByteColor: this.primaryTextColor,
|
|
839
|
+
endByteColor: this.primaryTextColor,
|
|
840
|
+
labelColor: this.primaryTextColor,
|
|
841
|
+
titleColor: this.primaryTextColor,
|
|
842
|
+
blockStrokeColor: this.primaryTextColor,
|
|
843
|
+
blockFillColor: this.background
|
|
844
|
+
}, this.radar = {
|
|
845
|
+
axisColor: ((_B = this.radar) == null ? void 0 : _B.axisColor) || this.lineColor,
|
|
846
|
+
axisStrokeWidth: ((_C = this.radar) == null ? void 0 : _C.axisStrokeWidth) || 2,
|
|
847
|
+
axisLabelFontSize: ((_D = this.radar) == null ? void 0 : _D.axisLabelFontSize) || 12,
|
|
848
|
+
curveOpacity: ((_E = this.radar) == null ? void 0 : _E.curveOpacity) || 0.5,
|
|
849
|
+
curveStrokeWidth: ((_F = this.radar) == null ? void 0 : _F.curveStrokeWidth) || 2,
|
|
850
|
+
graticuleColor: ((_G = this.radar) == null ? void 0 : _G.graticuleColor) || "#DEDEDE",
|
|
851
|
+
graticuleStrokeWidth: ((_H = this.radar) == null ? void 0 : _H.graticuleStrokeWidth) || 1,
|
|
852
|
+
graticuleOpacity: ((_I = this.radar) == null ? void 0 : _I.graticuleOpacity) || 0.3,
|
|
853
|
+
legendBoxSize: ((_J = this.radar) == null ? void 0 : _J.legendBoxSize) || 12,
|
|
854
|
+
legendFontSize: ((_K = this.radar) == null ? void 0 : _K.legendFontSize) || 12
|
|
855
|
+
}, this.wardleyEvolutionColor = this.wardleyEvolutionColor || "#ff6b6b", this.wardley = {
|
|
856
|
+
backgroundColor: ((_L = this.wardley) == null ? void 0 : _L.backgroundColor) || this.background,
|
|
857
|
+
axisColor: ((_M = this.wardley) == null ? void 0 : _M.axisColor) || this.lineColor,
|
|
858
|
+
axisTextColor: ((_N = this.wardley) == null ? void 0 : _N.axisTextColor) || this.primaryTextColor,
|
|
859
|
+
gridColor: ((_O = this.wardley) == null ? void 0 : _O.gridColor) || this.gridColor,
|
|
860
|
+
componentFill: ((_P = this.wardley) == null ? void 0 : _P.componentFill) || this.mainBkg,
|
|
861
|
+
componentStroke: ((_Q = this.wardley) == null ? void 0 : _Q.componentStroke) || this.lineColor,
|
|
862
|
+
componentLabelColor: ((_R = this.wardley) == null ? void 0 : _R.componentLabelColor) || this.primaryTextColor,
|
|
863
|
+
linkStroke: ((_S = this.wardley) == null ? void 0 : _S.linkStroke) || this.lineColor,
|
|
864
|
+
evolutionStroke: ((_T = this.wardley) == null ? void 0 : _T.evolutionStroke) || this.wardleyEvolutionColor,
|
|
865
|
+
annotationStroke: ((_U = this.wardley) == null ? void 0 : _U.annotationStroke) || this.lineColor,
|
|
866
|
+
annotationTextColor: ((_V = this.wardley) == null ? void 0 : _V.annotationTextColor) || this.primaryTextColor,
|
|
867
|
+
annotationFill: ((_W = this.wardley) == null ? void 0 : _W.annotationFill) || this.mainBkg
|
|
868
|
+
}, this.classText = this.primaryTextColor, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? darken_default(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = lighten_default(this.secondaryColor, 20), this.git1 = lighten_default(this.pie2 || this.secondaryColor, 20), this.git2 = lighten_default(this.pie3 || this.tertiaryColor, 20), this.git3 = lighten_default(this.pie4 || adjust_default(this.primaryColor, {
|
|
869
|
+
h: -30
|
|
870
|
+
}), 20), this.git4 = lighten_default(this.pie5 || adjust_default(this.primaryColor, {
|
|
871
|
+
h: -60
|
|
872
|
+
}), 20), this.git5 = lighten_default(this.pie6 || adjust_default(this.primaryColor, {
|
|
873
|
+
h: -90
|
|
874
|
+
}), 10), this.git6 = lighten_default(this.pie7 || adjust_default(this.primaryColor, {
|
|
875
|
+
h: 60
|
|
876
|
+
}), 10), this.git7 = lighten_default(this.pie8 || adjust_default(this.primaryColor, {
|
|
877
|
+
h: 120
|
|
878
|
+
}), 20), this.gitInv0 = this.gitInv0 || invert_default(this.git0), this.gitInv1 = this.gitInv1 || invert_default(this.git1), this.gitInv2 = this.gitInv2 || invert_default(this.git2), this.gitInv3 = this.gitInv3 || invert_default(this.git3), this.gitInv4 = this.gitInv4 || invert_default(this.git4), this.gitInv5 = this.gitInv5 || invert_default(this.git5), this.gitInv6 = this.gitInv6 || invert_default(this.git6), this.gitInv7 = this.gitInv7 || invert_default(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || invert_default(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || invert_default(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.emUiFill = this.emUiFill || "#2d2d2d", this.emUiStroke = this.emUiStroke || "#555", this.emProcessorFill = this.emProcessorFill || lighten_default("#5a3d5c", 10), this.emProcessorStroke = this.emProcessorStroke || "#8a6d8c", this.emReadModelFill = this.emReadModelFill || lighten_default("#3d5a2d", 10), this.emReadModelStroke = this.emReadModelStroke || "#6d8c5c", this.emCommandFill = this.emCommandFill || lighten_default("#2d3d5a", 10), this.emCommandStroke = this.emCommandStroke || "#5c6d8c", this.emEventFill = this.emEventFill || lighten_default("#5a452d", 10), this.emEventStroke = this.emEventStroke || "#8c755c", this.emSwimlaneBackgroundOdd = this.emSwimlaneBackgroundOdd || lighten_default(this.background, 5), this.emSwimlaneBackgroundStroke = this.emSwimlaneBackgroundStroke || lighten_default(this.background, 12), this.emArrowhead = this.emArrowhead || this.lineColor, this.emRelationStroke = this.emRelationStroke || this.lineColor, this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || lighten_default(this.background, 12), this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || lighten_default(this.background, 2), this.nodeBorder = this.nodeBorder || "#999";
|
|
879
|
+
}
|
|
880
|
+
calculate(u) {
|
|
881
|
+
if (typeof u != "object") {
|
|
882
|
+
this.updateColors();
|
|
883
|
+
return;
|
|
884
|
+
}
|
|
885
|
+
let z = Object.keys(u);
|
|
886
|
+
z.forEach((z2) => {
|
|
887
|
+
this[z2] = u[z2];
|
|
888
|
+
}), this.updateColors(), z.forEach((z2) => {
|
|
889
|
+
this[z2] = u[z2];
|
|
890
|
+
});
|
|
891
|
+
}
|
|
892
|
+
}, __name(_b, "Theme"), _b);
|
|
893
|
+
getThemeVariables2 = __name((u) => {
|
|
894
|
+
let z = new Theme2();
|
|
895
|
+
return z.calculate(u), z;
|
|
896
|
+
}, "getThemeVariables");
|
|
897
|
+
Theme3 = (_c = class {
|
|
898
|
+
constructor() {
|
|
899
|
+
this.background = "#f4f4f4", this.primaryColor = "#ECECFF", this.secondaryColor = adjust_default(this.primaryColor, {
|
|
900
|
+
h: 120
|
|
901
|
+
}), this.secondaryColor = "#ffffde", this.tertiaryColor = adjust_default(this.primaryColor, {
|
|
902
|
+
h: -160
|
|
903
|
+
}), this.primaryBorderColor = mkBorder(this.primaryColor, this.darkMode), this.secondaryBorderColor = mkBorder(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = mkBorder(this.tertiaryColor, this.darkMode), this.primaryTextColor = invert_default(this.primaryColor), this.secondaryTextColor = invert_default(this.secondaryColor), this.tertiaryTextColor = invert_default(this.tertiaryColor), this.lineColor = invert_default(this.background), this.textColor = invert_default(this.background), this.background = "white", this.mainBkg = "#ECECFF", this.secondBkg = "#ffffde", this.lineColor = "#333333", this.border1 = "#9370DB", this.primaryBorderColor = mkBorder(this.primaryColor, this.darkMode), this.border2 = "#aaaa33", this.arrowheadColor = "#333333", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.labelBackground = "rgba(232,232,232, 0.8)", this.textColor = "#333", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.clusterBkg = "#FBFBFF", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextColor = this.taskTextLightColor, this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = this.taskTextDarkColor, this.taskTextClickableColor = "calculated", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBorderColor = "calculated", this.critBkgColor = "calculated", this.todayLineColor = "calculated", this.vertLineColor = "calculated", this.sectionBkgColor = rgba_default(102, 102, 255, 0.49), this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#fff400", this.taskBorderColor = "#534fbc", this.taskBkgColor = "#8a90dd", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "#534fbc", this.activeTaskBkgColor = "#bfc7ff", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.vertLineColor = "navy", this.noteFontWeight = this.noteFontWeight || "normal", this.fontWeight = this.fontWeight || "normal", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.rowOdd = "calculated", this.rowEven = "calculated", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.useGradient = false, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow(1px 2px 2px rgba(185, 185, 185, 1))", this.updateColors();
|
|
904
|
+
}
|
|
905
|
+
updateColors() {
|
|
906
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2, _l2, _m2, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W;
|
|
907
|
+
this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || adjust_default(this.primaryColor, {
|
|
908
|
+
h: 30
|
|
909
|
+
}), this.cScale4 = this.cScale4 || adjust_default(this.primaryColor, {
|
|
910
|
+
h: 60
|
|
911
|
+
}), this.cScale5 = this.cScale5 || adjust_default(this.primaryColor, {
|
|
912
|
+
h: 90
|
|
913
|
+
}), this.cScale6 = this.cScale6 || adjust_default(this.primaryColor, {
|
|
914
|
+
h: 120
|
|
915
|
+
}), this.cScale7 = this.cScale7 || adjust_default(this.primaryColor, {
|
|
916
|
+
h: 150
|
|
917
|
+
}), this.cScale8 = this.cScale8 || adjust_default(this.primaryColor, {
|
|
918
|
+
h: 210
|
|
919
|
+
}), this.cScale9 = this.cScale9 || adjust_default(this.primaryColor, {
|
|
920
|
+
h: 270
|
|
921
|
+
}), this.cScale10 = this.cScale10 || adjust_default(this.primaryColor, {
|
|
922
|
+
h: 300
|
|
923
|
+
}), this.cScale11 = this.cScale11 || adjust_default(this.primaryColor, {
|
|
924
|
+
h: 330
|
|
925
|
+
}), this.cScalePeer1 = this.cScalePeer1 || darken_default(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || darken_default(this.tertiaryColor, 40);
|
|
926
|
+
for (let u = 0; u < this.THEME_COLOR_LIMIT; u++) this["cScale" + u] = darken_default(this["cScale" + u], 10), this["cScalePeer" + u] = this["cScalePeer" + u] || darken_default(this["cScale" + u], 25);
|
|
927
|
+
for (let u = 0; u < this.THEME_COLOR_LIMIT; u++) this["cScaleInv" + u] = this["cScaleInv" + u] || adjust_default(this["cScale" + u], {
|
|
928
|
+
h: 180
|
|
929
|
+
});
|
|
930
|
+
for (let u = 0; u < 5; u++) this["surface" + u] = this["surface" + u] || adjust_default(this.mainBkg, {
|
|
931
|
+
h: 30,
|
|
932
|
+
l: -(5 + u * 5)
|
|
933
|
+
}), this["surfacePeer" + u] = this["surfacePeer" + u] || adjust_default(this.mainBkg, {
|
|
934
|
+
h: 30,
|
|
935
|
+
l: -(7 + u * 5)
|
|
936
|
+
});
|
|
937
|
+
if (this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor, this.labelTextColor !== "calculated") {
|
|
938
|
+
this.cScaleLabel0 = this.cScaleLabel0 || invert_default(this.labelTextColor), this.cScaleLabel3 = this.cScaleLabel3 || invert_default(this.labelTextColor);
|
|
939
|
+
for (let u = 0; u < this.THEME_COLOR_LIMIT; u++) this["cScaleLabel" + u] = this["cScaleLabel" + u] || this.labelTextColor;
|
|
940
|
+
}
|
|
941
|
+
this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.titleColor = this.textColor, this.edgeLabelBackground = this.labelBackground, this.actorBorder = this.border1, this.actorBkg = this.mainBkg, this.labelBoxBkgColor = this.actorBkg, this.signalColor = this.textColor, this.signalTextColor = this.textColor, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.actorTextColor, this.loopTextColor = this.actorTextColor, this.noteBorderColor = this.border2, this.noteTextColor = this.actorTextColor, this.actorLineColor = this.actorBorder, this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.taskTextColor = this.taskTextLightColor, this.taskTextOutsideColor = this.taskTextDarkColor, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.rowOdd = this.rowOdd || lighten_default(this.primaryColor, 75) || "#ffffff", this.rowEven = this.rowEven || lighten_default(this.primaryColor, 1), this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.specialStateColor = this.lineColor, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = adjust_default(this.primaryColor, {
|
|
942
|
+
h: 64
|
|
943
|
+
}), this.fillType3 = adjust_default(this.secondaryColor, {
|
|
944
|
+
h: 64
|
|
945
|
+
}), this.fillType4 = adjust_default(this.primaryColor, {
|
|
946
|
+
h: -64
|
|
947
|
+
}), this.fillType5 = adjust_default(this.secondaryColor, {
|
|
948
|
+
h: -64
|
|
949
|
+
}), this.fillType6 = adjust_default(this.primaryColor, {
|
|
950
|
+
h: 128
|
|
951
|
+
}), this.fillType7 = adjust_default(this.secondaryColor, {
|
|
952
|
+
h: 128
|
|
953
|
+
}), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || adjust_default(this.tertiaryColor, {
|
|
954
|
+
l: -40
|
|
955
|
+
}), this.pie4 = this.pie4 || adjust_default(this.primaryColor, {
|
|
956
|
+
l: -10
|
|
957
|
+
}), this.pie5 = this.pie5 || adjust_default(this.secondaryColor, {
|
|
958
|
+
l: -30
|
|
959
|
+
}), this.pie6 = this.pie6 || adjust_default(this.tertiaryColor, {
|
|
960
|
+
l: -20
|
|
961
|
+
}), this.pie7 = this.pie7 || adjust_default(this.primaryColor, {
|
|
962
|
+
h: 60,
|
|
963
|
+
l: -20
|
|
964
|
+
}), this.pie8 = this.pie8 || adjust_default(this.primaryColor, {
|
|
965
|
+
h: -60,
|
|
966
|
+
l: -40
|
|
967
|
+
}), this.pie9 = this.pie9 || adjust_default(this.primaryColor, {
|
|
968
|
+
h: 120,
|
|
969
|
+
l: -40
|
|
970
|
+
}), this.pie10 = this.pie10 || adjust_default(this.primaryColor, {
|
|
971
|
+
h: 60,
|
|
972
|
+
l: -40
|
|
973
|
+
}), this.pie11 = this.pie11 || adjust_default(this.primaryColor, {
|
|
974
|
+
h: -90,
|
|
975
|
+
l: -40
|
|
976
|
+
}), this.pie12 = this.pie12 || adjust_default(this.primaryColor, {
|
|
977
|
+
h: 120,
|
|
978
|
+
l: -30
|
|
979
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.venn1 = this.venn1 ?? adjust_default(this.primaryColor, {
|
|
980
|
+
l: -30
|
|
981
|
+
}), this.venn2 = this.venn2 ?? adjust_default(this.secondaryColor, {
|
|
982
|
+
l: -30
|
|
983
|
+
}), this.venn3 = this.venn3 ?? adjust_default(this.tertiaryColor, {
|
|
984
|
+
l: -40
|
|
985
|
+
}), this.venn4 = this.venn4 ?? adjust_default(this.primaryColor, {
|
|
986
|
+
h: 60,
|
|
987
|
+
l: -30
|
|
988
|
+
}), this.venn5 = this.venn5 ?? adjust_default(this.primaryColor, {
|
|
989
|
+
h: -60,
|
|
990
|
+
l: -30
|
|
991
|
+
}), this.venn6 = this.venn6 ?? adjust_default(this.secondaryColor, {
|
|
992
|
+
h: 60,
|
|
993
|
+
l: -30
|
|
994
|
+
}), this.venn7 = this.venn7 ?? adjust_default(this.primaryColor, {
|
|
995
|
+
h: 120,
|
|
996
|
+
l: -30
|
|
997
|
+
}), this.venn8 = this.venn8 ?? adjust_default(this.secondaryColor, {
|
|
998
|
+
h: 120,
|
|
999
|
+
l: -30
|
|
1000
|
+
}), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.cynefin = {
|
|
1001
|
+
domainFontSize: ((_a2 = this.cynefin) == null ? void 0 : _a2.domainFontSize) || 16,
|
|
1002
|
+
itemFontSize: ((_b2 = this.cynefin) == null ? void 0 : _b2.itemFontSize) || 12,
|
|
1003
|
+
boundaryColor: ((_c2 = this.cynefin) == null ? void 0 : _c2.boundaryColor) || this.lineColor,
|
|
1004
|
+
boundaryWidth: ((_d2 = this.cynefin) == null ? void 0 : _d2.boundaryWidth) || 2,
|
|
1005
|
+
cliffColor: ((_e2 = this.cynefin) == null ? void 0 : _e2.cliffColor) || "#8B0000",
|
|
1006
|
+
cliffWidth: ((_f2 = this.cynefin) == null ? void 0 : _f2.cliffWidth) || 4,
|
|
1007
|
+
arrowColor: ((_g2 = this.cynefin) == null ? void 0 : _g2.arrowColor) || this.lineColor,
|
|
1008
|
+
arrowWidth: ((_h2 = this.cynefin) == null ? void 0 : _h2.arrowWidth) || 2,
|
|
1009
|
+
complexBg: ((_i2 = this.cynefin) == null ? void 0 : _i2.complexBg) || "#E8F5E9",
|
|
1010
|
+
complicatedBg: ((_j2 = this.cynefin) == null ? void 0 : _j2.complicatedBg) || "#E3F2FD",
|
|
1011
|
+
chaoticBg: ((_k2 = this.cynefin) == null ? void 0 : _k2.chaoticBg) || "#FBE9E7",
|
|
1012
|
+
clearBg: ((_l2 = this.cynefin) == null ? void 0 : _l2.clearBg) || "#FFF8E1",
|
|
1013
|
+
confusionBg: ((_m2 = this.cynefin) == null ? void 0 : _m2.confusionBg) || "#F3E5F5",
|
|
1014
|
+
textColor: ((_n = this.cynefin) == null ? void 0 : _n.textColor) || this.textColor,
|
|
1015
|
+
labelColor: ((_o = this.cynefin) == null ? void 0 : _o.labelColor) || this.primaryTextColor
|
|
1016
|
+
}, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || adjust_default(this.primaryColor, {
|
|
1017
|
+
r: 5,
|
|
1018
|
+
g: 5,
|
|
1019
|
+
b: 5
|
|
1020
|
+
}), this.quadrant3Fill = this.quadrant3Fill || adjust_default(this.primaryColor, {
|
|
1021
|
+
r: 10,
|
|
1022
|
+
g: 10,
|
|
1023
|
+
b: 10
|
|
1024
|
+
}), this.quadrant4Fill = this.quadrant4Fill || adjust_default(this.primaryColor, {
|
|
1025
|
+
r: 15,
|
|
1026
|
+
g: 15,
|
|
1027
|
+
b: 15
|
|
1028
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || adjust_default(this.primaryTextColor, {
|
|
1029
|
+
r: -5,
|
|
1030
|
+
g: -5,
|
|
1031
|
+
b: -5
|
|
1032
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || adjust_default(this.primaryTextColor, {
|
|
1033
|
+
r: -10,
|
|
1034
|
+
g: -10,
|
|
1035
|
+
b: -10
|
|
1036
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || adjust_default(this.primaryTextColor, {
|
|
1037
|
+
r: -15,
|
|
1038
|
+
g: -15,
|
|
1039
|
+
b: -15
|
|
1040
|
+
}), this.quadrantPointFill = this.quadrantPointFill || is_dark_default(this.quadrant1Fill) ? lighten_default(this.quadrant1Fill) : darken_default(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.radar = {
|
|
1041
|
+
axisColor: ((_p = this.radar) == null ? void 0 : _p.axisColor) || this.lineColor,
|
|
1042
|
+
axisStrokeWidth: ((_q = this.radar) == null ? void 0 : _q.axisStrokeWidth) || 2,
|
|
1043
|
+
axisLabelFontSize: ((_r = this.radar) == null ? void 0 : _r.axisLabelFontSize) || 12,
|
|
1044
|
+
curveOpacity: ((_s = this.radar) == null ? void 0 : _s.curveOpacity) || 0.5,
|
|
1045
|
+
curveStrokeWidth: ((_t = this.radar) == null ? void 0 : _t.curveStrokeWidth) || 2,
|
|
1046
|
+
graticuleColor: ((_u = this.radar) == null ? void 0 : _u.graticuleColor) || "#DEDEDE",
|
|
1047
|
+
graticuleStrokeWidth: ((_v = this.radar) == null ? void 0 : _v.graticuleStrokeWidth) || 1,
|
|
1048
|
+
graticuleOpacity: ((_w = this.radar) == null ? void 0 : _w.graticuleOpacity) || 0.3,
|
|
1049
|
+
legendBoxSize: ((_x = this.radar) == null ? void 0 : _x.legendBoxSize) || 12,
|
|
1050
|
+
legendFontSize: ((_y = this.radar) == null ? void 0 : _y.legendFontSize) || 12
|
|
1051
|
+
}, this.wardleyEvolutionColor = this.wardleyEvolutionColor || "#dc3545", this.wardley = {
|
|
1052
|
+
backgroundColor: ((_z = this.wardley) == null ? void 0 : _z.backgroundColor) || this.background,
|
|
1053
|
+
axisColor: ((_A = this.wardley) == null ? void 0 : _A.axisColor) || this.lineColor,
|
|
1054
|
+
axisTextColor: ((_B = this.wardley) == null ? void 0 : _B.axisTextColor) || this.primaryTextColor,
|
|
1055
|
+
gridColor: ((_C = this.wardley) == null ? void 0 : _C.gridColor) || this.gridColor,
|
|
1056
|
+
componentFill: ((_D = this.wardley) == null ? void 0 : _D.componentFill) || this.background,
|
|
1057
|
+
componentStroke: ((_E = this.wardley) == null ? void 0 : _E.componentStroke) || this.lineColor,
|
|
1058
|
+
componentLabelColor: ((_F = this.wardley) == null ? void 0 : _F.componentLabelColor) || this.primaryTextColor,
|
|
1059
|
+
linkStroke: ((_G = this.wardley) == null ? void 0 : _G.linkStroke) || this.lineColor,
|
|
1060
|
+
evolutionStroke: ((_H = this.wardley) == null ? void 0 : _H.evolutionStroke) || this.wardleyEvolutionColor,
|
|
1061
|
+
annotationStroke: ((_I = this.wardley) == null ? void 0 : _I.annotationStroke) || this.lineColor,
|
|
1062
|
+
annotationTextColor: ((_J = this.wardley) == null ? void 0 : _J.annotationTextColor) || this.primaryTextColor,
|
|
1063
|
+
annotationFill: ((_K = this.wardley) == null ? void 0 : _K.annotationFill) || this.background
|
|
1064
|
+
}, this.xyChart = {
|
|
1065
|
+
backgroundColor: ((_L = this.xyChart) == null ? void 0 : _L.backgroundColor) || this.background,
|
|
1066
|
+
titleColor: ((_M = this.xyChart) == null ? void 0 : _M.titleColor) || this.primaryTextColor,
|
|
1067
|
+
dataLabelColor: ((_N = this.xyChart) == null ? void 0 : _N.dataLabelColor) || this.primaryTextColor,
|
|
1068
|
+
xAxisTitleColor: ((_O = this.xyChart) == null ? void 0 : _O.xAxisTitleColor) || this.primaryTextColor,
|
|
1069
|
+
xAxisLabelColor: ((_P = this.xyChart) == null ? void 0 : _P.xAxisLabelColor) || this.primaryTextColor,
|
|
1070
|
+
xAxisTickColor: ((_Q = this.xyChart) == null ? void 0 : _Q.xAxisTickColor) || this.primaryTextColor,
|
|
1071
|
+
xAxisLineColor: ((_R = this.xyChart) == null ? void 0 : _R.xAxisLineColor) || this.primaryTextColor,
|
|
1072
|
+
yAxisTitleColor: ((_S = this.xyChart) == null ? void 0 : _S.yAxisTitleColor) || this.primaryTextColor,
|
|
1073
|
+
yAxisLabelColor: ((_T = this.xyChart) == null ? void 0 : _T.yAxisLabelColor) || this.primaryTextColor,
|
|
1074
|
+
yAxisTickColor: ((_U = this.xyChart) == null ? void 0 : _U.yAxisTickColor) || this.primaryTextColor,
|
|
1075
|
+
yAxisLineColor: ((_V = this.xyChart) == null ? void 0 : _V.yAxisLineColor) || this.primaryTextColor,
|
|
1076
|
+
plotColorPalette: ((_W = this.xyChart) == null ? void 0 : _W.plotColorPalette) || "#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"
|
|
1077
|
+
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.labelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || adjust_default(this.primaryColor, {
|
|
1078
|
+
h: -30
|
|
1079
|
+
}), this.git4 = this.git4 || adjust_default(this.primaryColor, {
|
|
1080
|
+
h: -60
|
|
1081
|
+
}), this.git5 = this.git5 || adjust_default(this.primaryColor, {
|
|
1082
|
+
h: -90
|
|
1083
|
+
}), this.git6 = this.git6 || adjust_default(this.primaryColor, {
|
|
1084
|
+
h: 60
|
|
1085
|
+
}), this.git7 = this.git7 || adjust_default(this.primaryColor, {
|
|
1086
|
+
h: 120
|
|
1087
|
+
}), this.darkMode ? (this.git0 = lighten_default(this.git0, 25), this.git1 = lighten_default(this.git1, 25), this.git2 = lighten_default(this.git2, 25), this.git3 = lighten_default(this.git3, 25), this.git4 = lighten_default(this.git4, 25), this.git5 = lighten_default(this.git5, 25), this.git6 = lighten_default(this.git6, 25), this.git7 = lighten_default(this.git7, 25)) : (this.git0 = darken_default(this.git0, 25), this.git1 = darken_default(this.git1, 25), this.git2 = darken_default(this.git2, 25), this.git3 = darken_default(this.git3, 25), this.git4 = darken_default(this.git4, 25), this.git5 = darken_default(this.git5, 25), this.git6 = darken_default(this.git6, 25), this.git7 = darken_default(this.git7, 25)), this.gitInv0 = this.gitInv0 || darken_default(invert_default(this.git0), 25), this.gitInv1 = this.gitInv1 || invert_default(this.git1), this.gitInv2 = this.gitInv2 || invert_default(this.git2), this.gitInv3 = this.gitInv3 || invert_default(this.git3), this.gitInv4 = this.gitInv4 || invert_default(this.git4), this.gitInv5 = this.gitInv5 || invert_default(this.git5), this.gitInv6 = this.gitInv6 || invert_default(this.git6), this.gitInv7 = this.gitInv7 || invert_default(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || invert_default(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || invert_default(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.emUiFill = this.emUiFill || "white", this.emUiStroke = this.emUiStroke || "#dbdada", this.emProcessorFill = this.emProcessorFill || "#edb3f6", this.emProcessorStroke = this.emProcessorStroke || "#b88cbf", this.emReadModelFill = this.emReadModelFill || "#d3f1a2", this.emReadModelStroke = this.emReadModelStroke || "#a3b732", this.emCommandFill = this.emCommandFill || "#bcd6fe", this.emCommandStroke = this.emCommandStroke || "#679ac3", this.emEventFill = this.emEventFill || "#ffb778", this.emEventStroke = this.emEventStroke || "#c19a0f", this.emSwimlaneBackgroundOdd = this.emSwimlaneBackgroundOdd || "rgb(250,250,250)", this.emSwimlaneBackgroundStroke = this.emSwimlaneBackgroundStroke || "rgb(240,240,240)", this.emArrowhead = this.emArrowhead || this.lineColor, this.emRelationStroke = this.emRelationStroke || this.lineColor, this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || oldAttributeBackgroundColorOdd, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || oldAttributeBackgroundColorEven;
|
|
1088
|
+
}
|
|
1089
|
+
calculate(u) {
|
|
1090
|
+
if (Object.keys(this).forEach((u2) => {
|
|
1091
|
+
this[u2] === "calculated" && (this[u2] = void 0);
|
|
1092
|
+
}), typeof u != "object") {
|
|
1093
|
+
this.updateColors();
|
|
1094
|
+
return;
|
|
1095
|
+
}
|
|
1096
|
+
let z = Object.keys(u);
|
|
1097
|
+
z.forEach((z2) => {
|
|
1098
|
+
this[z2] = u[z2];
|
|
1099
|
+
}), this.updateColors(), z.forEach((z2) => {
|
|
1100
|
+
this[z2] = u[z2];
|
|
1101
|
+
});
|
|
1102
|
+
}
|
|
1103
|
+
}, __name(_c, "Theme"), _c);
|
|
1104
|
+
getThemeVariables3 = __name((u) => {
|
|
1105
|
+
let z = new Theme3();
|
|
1106
|
+
return z.calculate(u), z;
|
|
1107
|
+
}, "getThemeVariables");
|
|
1108
|
+
Theme4 = (_d = class {
|
|
1109
|
+
constructor() {
|
|
1110
|
+
this.background = "#f4f4f4", this.primaryColor = "#cde498", this.secondaryColor = "#cdffb2", this.background = "white", this.mainBkg = "#cde498", this.secondBkg = "#cdffb2", this.lineColor = "green", this.border1 = "#13540c", this.border2 = "#6eaa49", this.arrowheadColor = "green", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.tertiaryColor = lighten_default("#cde498", 10), this.primaryBorderColor = mkBorder(this.primaryColor, this.darkMode), this.secondaryBorderColor = mkBorder(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = mkBorder(this.tertiaryColor, this.darkMode), this.primaryTextColor = invert_default(this.primaryColor), this.secondaryTextColor = invert_default(this.secondaryColor), this.tertiaryTextColor = invert_default(this.primaryColor), this.lineColor = invert_default(this.background), this.textColor = invert_default(this.background), this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#333", this.edgeLabelBackground = "#e8e8e8", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "calculated", this.signalColor = "#333", this.signalTextColor = "#333", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "#326932", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "#6eaa49", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#6eaa49", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "#487e3a", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.vertLineColor = "#00BFFF", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.useGradient = true, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,0.5))";
|
|
1111
|
+
}
|
|
1112
|
+
updateColors() {
|
|
1113
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2, _l2, _m2, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W;
|
|
1114
|
+
this.actorBorder = darken_default(this.mainBkg, 20), this.actorBkg = this.mainBkg, this.labelBoxBkgColor = this.actorBkg, this.labelTextColor = this.actorTextColor, this.loopTextColor = this.actorTextColor, this.noteBorderColor = this.border2, this.noteTextColor = this.actorTextColor, this.actorLineColor = this.actorBorder, this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || adjust_default(this.primaryColor, {
|
|
1115
|
+
h: 30
|
|
1116
|
+
}), this.cScale4 = this.cScale4 || adjust_default(this.primaryColor, {
|
|
1117
|
+
h: 60
|
|
1118
|
+
}), this.cScale5 = this.cScale5 || adjust_default(this.primaryColor, {
|
|
1119
|
+
h: 90
|
|
1120
|
+
}), this.cScale6 = this.cScale6 || adjust_default(this.primaryColor, {
|
|
1121
|
+
h: 120
|
|
1122
|
+
}), this.cScale7 = this.cScale7 || adjust_default(this.primaryColor, {
|
|
1123
|
+
h: 150
|
|
1124
|
+
}), this.cScale8 = this.cScale8 || adjust_default(this.primaryColor, {
|
|
1125
|
+
h: 210
|
|
1126
|
+
}), this.cScale9 = this.cScale9 || adjust_default(this.primaryColor, {
|
|
1127
|
+
h: 270
|
|
1128
|
+
}), this.cScale10 = this.cScale10 || adjust_default(this.primaryColor, {
|
|
1129
|
+
h: 300
|
|
1130
|
+
}), this.cScale11 = this.cScale11 || adjust_default(this.primaryColor, {
|
|
1131
|
+
h: 330
|
|
1132
|
+
}), this.cScalePeer1 = this.cScalePeer1 || darken_default(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || darken_default(this.tertiaryColor, 40);
|
|
1133
|
+
for (let u = 0; u < this.THEME_COLOR_LIMIT; u++) this["cScale" + u] = darken_default(this["cScale" + u], 10), this["cScalePeer" + u] = this["cScalePeer" + u] || darken_default(this["cScale" + u], 25);
|
|
1134
|
+
for (let u = 0; u < this.THEME_COLOR_LIMIT; u++) this["cScaleInv" + u] = this["cScaleInv" + u] || adjust_default(this["cScale" + u], {
|
|
1135
|
+
h: 180
|
|
1136
|
+
});
|
|
1137
|
+
this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor;
|
|
1138
|
+
for (let u = 0; u < this.THEME_COLOR_LIMIT; u++) this["cScaleLabel" + u] = this["cScaleLabel" + u] || this.scaleLabelColor;
|
|
1139
|
+
for (let u = 0; u < 5; u++) this["surface" + u] = this["surface" + u] || adjust_default(this.mainBkg, {
|
|
1140
|
+
h: 30,
|
|
1141
|
+
s: -30,
|
|
1142
|
+
l: -(5 + u * 5)
|
|
1143
|
+
}), this["surfacePeer" + u] = this["surfacePeer" + u] || adjust_default(this.mainBkg, {
|
|
1144
|
+
h: 30,
|
|
1145
|
+
s: -30,
|
|
1146
|
+
l: -(8 + u * 5)
|
|
1147
|
+
});
|
|
1148
|
+
this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.taskBorderColor = this.border1, this.taskTextColor = this.taskTextLightColor, this.taskTextOutsideColor = this.taskTextDarkColor, this.activeTaskBorderColor = this.taskBorderColor, this.activeTaskBkgColor = this.mainBkg, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.rowOdd = this.rowOdd || lighten_default(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || lighten_default(this.mainBkg, 20), this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = this.lineColor, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = adjust_default(this.primaryColor, {
|
|
1149
|
+
h: 64
|
|
1150
|
+
}), this.fillType3 = adjust_default(this.secondaryColor, {
|
|
1151
|
+
h: 64
|
|
1152
|
+
}), this.fillType4 = adjust_default(this.primaryColor, {
|
|
1153
|
+
h: -64
|
|
1154
|
+
}), this.fillType5 = adjust_default(this.secondaryColor, {
|
|
1155
|
+
h: -64
|
|
1156
|
+
}), this.fillType6 = adjust_default(this.primaryColor, {
|
|
1157
|
+
h: 128
|
|
1158
|
+
}), this.fillType7 = adjust_default(this.secondaryColor, {
|
|
1159
|
+
h: 128
|
|
1160
|
+
}), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || adjust_default(this.primaryColor, {
|
|
1161
|
+
l: -30
|
|
1162
|
+
}), this.pie5 = this.pie5 || adjust_default(this.secondaryColor, {
|
|
1163
|
+
l: -30
|
|
1164
|
+
}), this.pie6 = this.pie6 || adjust_default(this.tertiaryColor, {
|
|
1165
|
+
h: 40,
|
|
1166
|
+
l: -40
|
|
1167
|
+
}), this.pie7 = this.pie7 || adjust_default(this.primaryColor, {
|
|
1168
|
+
h: 60,
|
|
1169
|
+
l: -10
|
|
1170
|
+
}), this.pie8 = this.pie8 || adjust_default(this.primaryColor, {
|
|
1171
|
+
h: -60,
|
|
1172
|
+
l: -10
|
|
1173
|
+
}), this.pie9 = this.pie9 || adjust_default(this.primaryColor, {
|
|
1174
|
+
h: 120,
|
|
1175
|
+
l: 0
|
|
1176
|
+
}), this.pie10 = this.pie10 || adjust_default(this.primaryColor, {
|
|
1177
|
+
h: 60,
|
|
1178
|
+
l: -50
|
|
1179
|
+
}), this.pie11 = this.pie11 || adjust_default(this.primaryColor, {
|
|
1180
|
+
h: -60,
|
|
1181
|
+
l: -50
|
|
1182
|
+
}), this.pie12 = this.pie12 || adjust_default(this.primaryColor, {
|
|
1183
|
+
h: 120,
|
|
1184
|
+
l: -50
|
|
1185
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.venn1 = this.venn1 ?? adjust_default(this.primaryColor, {
|
|
1186
|
+
l: -30
|
|
1187
|
+
}), this.venn2 = this.venn2 ?? adjust_default(this.secondaryColor, {
|
|
1188
|
+
l: -30
|
|
1189
|
+
}), this.venn3 = this.venn3 ?? adjust_default(this.tertiaryColor, {
|
|
1190
|
+
l: -30
|
|
1191
|
+
}), this.venn4 = this.venn4 ?? adjust_default(this.primaryColor, {
|
|
1192
|
+
h: 60,
|
|
1193
|
+
l: -30
|
|
1194
|
+
}), this.venn5 = this.venn5 ?? adjust_default(this.primaryColor, {
|
|
1195
|
+
h: -60,
|
|
1196
|
+
l: -30
|
|
1197
|
+
}), this.venn6 = this.venn6 ?? adjust_default(this.secondaryColor, {
|
|
1198
|
+
h: 60,
|
|
1199
|
+
l: -30
|
|
1200
|
+
}), this.venn7 = this.venn7 ?? adjust_default(this.primaryColor, {
|
|
1201
|
+
h: 120,
|
|
1202
|
+
l: -30
|
|
1203
|
+
}), this.venn8 = this.venn8 ?? adjust_default(this.secondaryColor, {
|
|
1204
|
+
h: 120,
|
|
1205
|
+
l: -30
|
|
1206
|
+
}), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.cynefin = {
|
|
1207
|
+
domainFontSize: ((_a2 = this.cynefin) == null ? void 0 : _a2.domainFontSize) || 16,
|
|
1208
|
+
itemFontSize: ((_b2 = this.cynefin) == null ? void 0 : _b2.itemFontSize) || 12,
|
|
1209
|
+
boundaryColor: ((_c2 = this.cynefin) == null ? void 0 : _c2.boundaryColor) || this.lineColor,
|
|
1210
|
+
boundaryWidth: ((_d2 = this.cynefin) == null ? void 0 : _d2.boundaryWidth) || 2,
|
|
1211
|
+
cliffColor: ((_e2 = this.cynefin) == null ? void 0 : _e2.cliffColor) || "#8B4513",
|
|
1212
|
+
cliffWidth: ((_f2 = this.cynefin) == null ? void 0 : _f2.cliffWidth) || 4,
|
|
1213
|
+
arrowColor: ((_g2 = this.cynefin) == null ? void 0 : _g2.arrowColor) || this.lineColor,
|
|
1214
|
+
arrowWidth: ((_h2 = this.cynefin) == null ? void 0 : _h2.arrowWidth) || 2,
|
|
1215
|
+
complexBg: ((_i2 = this.cynefin) == null ? void 0 : _i2.complexBg) || "#C8E6C9",
|
|
1216
|
+
complicatedBg: ((_j2 = this.cynefin) == null ? void 0 : _j2.complicatedBg) || "#DCEDC8",
|
|
1217
|
+
chaoticBg: ((_k2 = this.cynefin) == null ? void 0 : _k2.chaoticBg) || "#FFE0B2",
|
|
1218
|
+
clearBg: ((_l2 = this.cynefin) == null ? void 0 : _l2.clearBg) || "#FFF9C4",
|
|
1219
|
+
confusionBg: ((_m2 = this.cynefin) == null ? void 0 : _m2.confusionBg) || "#D7CCC8",
|
|
1220
|
+
textColor: ((_n = this.cynefin) == null ? void 0 : _n.textColor) || this.textColor,
|
|
1221
|
+
labelColor: ((_o = this.cynefin) == null ? void 0 : _o.labelColor) || this.primaryTextColor
|
|
1222
|
+
}, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || adjust_default(this.primaryColor, {
|
|
1223
|
+
r: 5,
|
|
1224
|
+
g: 5,
|
|
1225
|
+
b: 5
|
|
1226
|
+
}), this.quadrant3Fill = this.quadrant3Fill || adjust_default(this.primaryColor, {
|
|
1227
|
+
r: 10,
|
|
1228
|
+
g: 10,
|
|
1229
|
+
b: 10
|
|
1230
|
+
}), this.quadrant4Fill = this.quadrant4Fill || adjust_default(this.primaryColor, {
|
|
1231
|
+
r: 15,
|
|
1232
|
+
g: 15,
|
|
1233
|
+
b: 15
|
|
1234
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || adjust_default(this.primaryTextColor, {
|
|
1235
|
+
r: -5,
|
|
1236
|
+
g: -5,
|
|
1237
|
+
b: -5
|
|
1238
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || adjust_default(this.primaryTextColor, {
|
|
1239
|
+
r: -10,
|
|
1240
|
+
g: -10,
|
|
1241
|
+
b: -10
|
|
1242
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || adjust_default(this.primaryTextColor, {
|
|
1243
|
+
r: -15,
|
|
1244
|
+
g: -15,
|
|
1245
|
+
b: -15
|
|
1246
|
+
}), this.quadrantPointFill = this.quadrantPointFill || is_dark_default(this.quadrant1Fill) ? lighten_default(this.quadrant1Fill) : darken_default(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.packet = {
|
|
1247
|
+
startByteColor: this.primaryTextColor,
|
|
1248
|
+
endByteColor: this.primaryTextColor,
|
|
1249
|
+
labelColor: this.primaryTextColor,
|
|
1250
|
+
titleColor: this.primaryTextColor,
|
|
1251
|
+
blockStrokeColor: this.primaryTextColor,
|
|
1252
|
+
blockFillColor: this.mainBkg
|
|
1253
|
+
}, this.radar = {
|
|
1254
|
+
axisColor: ((_p = this.radar) == null ? void 0 : _p.axisColor) || this.lineColor,
|
|
1255
|
+
axisStrokeWidth: ((_q = this.radar) == null ? void 0 : _q.axisStrokeWidth) || 2,
|
|
1256
|
+
axisLabelFontSize: ((_r = this.radar) == null ? void 0 : _r.axisLabelFontSize) || 12,
|
|
1257
|
+
curveOpacity: ((_s = this.radar) == null ? void 0 : _s.curveOpacity) || 0.5,
|
|
1258
|
+
curveStrokeWidth: ((_t = this.radar) == null ? void 0 : _t.curveStrokeWidth) || 2,
|
|
1259
|
+
graticuleColor: ((_u = this.radar) == null ? void 0 : _u.graticuleColor) || "#DEDEDE",
|
|
1260
|
+
graticuleStrokeWidth: ((_v = this.radar) == null ? void 0 : _v.graticuleStrokeWidth) || 1,
|
|
1261
|
+
graticuleOpacity: ((_w = this.radar) == null ? void 0 : _w.graticuleOpacity) || 0.3,
|
|
1262
|
+
legendBoxSize: ((_x = this.radar) == null ? void 0 : _x.legendBoxSize) || 12,
|
|
1263
|
+
legendFontSize: ((_y = this.radar) == null ? void 0 : _y.legendFontSize) || 12
|
|
1264
|
+
}, this.wardleyEvolutionColor = this.wardleyEvolutionColor || "#dc3545", this.wardley = {
|
|
1265
|
+
backgroundColor: ((_z = this.wardley) == null ? void 0 : _z.backgroundColor) || this.background,
|
|
1266
|
+
axisColor: ((_A = this.wardley) == null ? void 0 : _A.axisColor) || this.lineColor,
|
|
1267
|
+
axisTextColor: ((_B = this.wardley) == null ? void 0 : _B.axisTextColor) || this.primaryTextColor,
|
|
1268
|
+
gridColor: ((_C = this.wardley) == null ? void 0 : _C.gridColor) || this.gridColor,
|
|
1269
|
+
componentFill: ((_D = this.wardley) == null ? void 0 : _D.componentFill) || this.background,
|
|
1270
|
+
componentStroke: ((_E = this.wardley) == null ? void 0 : _E.componentStroke) || this.lineColor,
|
|
1271
|
+
componentLabelColor: ((_F = this.wardley) == null ? void 0 : _F.componentLabelColor) || this.primaryTextColor,
|
|
1272
|
+
linkStroke: ((_G = this.wardley) == null ? void 0 : _G.linkStroke) || this.lineColor,
|
|
1273
|
+
evolutionStroke: ((_H = this.wardley) == null ? void 0 : _H.evolutionStroke) || this.wardleyEvolutionColor,
|
|
1274
|
+
annotationStroke: ((_I = this.wardley) == null ? void 0 : _I.annotationStroke) || this.lineColor,
|
|
1275
|
+
annotationTextColor: ((_J = this.wardley) == null ? void 0 : _J.annotationTextColor) || this.primaryTextColor,
|
|
1276
|
+
annotationFill: ((_K = this.wardley) == null ? void 0 : _K.annotationFill) || this.background
|
|
1277
|
+
}, this.xyChart = {
|
|
1278
|
+
backgroundColor: ((_L = this.xyChart) == null ? void 0 : _L.backgroundColor) || this.background,
|
|
1279
|
+
titleColor: ((_M = this.xyChart) == null ? void 0 : _M.titleColor) || this.primaryTextColor,
|
|
1280
|
+
dataLabelColor: ((_N = this.xyChart) == null ? void 0 : _N.dataLabelColor) || this.primaryTextColor,
|
|
1281
|
+
xAxisTitleColor: ((_O = this.xyChart) == null ? void 0 : _O.xAxisTitleColor) || this.primaryTextColor,
|
|
1282
|
+
xAxisLabelColor: ((_P = this.xyChart) == null ? void 0 : _P.xAxisLabelColor) || this.primaryTextColor,
|
|
1283
|
+
xAxisTickColor: ((_Q = this.xyChart) == null ? void 0 : _Q.xAxisTickColor) || this.primaryTextColor,
|
|
1284
|
+
xAxisLineColor: ((_R = this.xyChart) == null ? void 0 : _R.xAxisLineColor) || this.primaryTextColor,
|
|
1285
|
+
yAxisTitleColor: ((_S = this.xyChart) == null ? void 0 : _S.yAxisTitleColor) || this.primaryTextColor,
|
|
1286
|
+
yAxisLabelColor: ((_T = this.xyChart) == null ? void 0 : _T.yAxisLabelColor) || this.primaryTextColor,
|
|
1287
|
+
yAxisTickColor: ((_U = this.xyChart) == null ? void 0 : _U.yAxisTickColor) || this.primaryTextColor,
|
|
1288
|
+
yAxisLineColor: ((_V = this.xyChart) == null ? void 0 : _V.yAxisLineColor) || this.primaryTextColor,
|
|
1289
|
+
plotColorPalette: ((_W = this.xyChart) == null ? void 0 : _W.plotColorPalette) || "#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"
|
|
1290
|
+
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || adjust_default(this.primaryColor, {
|
|
1291
|
+
h: -30
|
|
1292
|
+
}), this.git4 = this.git4 || adjust_default(this.primaryColor, {
|
|
1293
|
+
h: -60
|
|
1294
|
+
}), this.git5 = this.git5 || adjust_default(this.primaryColor, {
|
|
1295
|
+
h: -90
|
|
1296
|
+
}), this.git6 = this.git6 || adjust_default(this.primaryColor, {
|
|
1297
|
+
h: 60
|
|
1298
|
+
}), this.git7 = this.git7 || adjust_default(this.primaryColor, {
|
|
1299
|
+
h: 120
|
|
1300
|
+
}), this.darkMode ? (this.git0 = lighten_default(this.git0, 25), this.git1 = lighten_default(this.git1, 25), this.git2 = lighten_default(this.git2, 25), this.git3 = lighten_default(this.git3, 25), this.git4 = lighten_default(this.git4, 25), this.git5 = lighten_default(this.git5, 25), this.git6 = lighten_default(this.git6, 25), this.git7 = lighten_default(this.git7, 25)) : (this.git0 = darken_default(this.git0, 25), this.git1 = darken_default(this.git1, 25), this.git2 = darken_default(this.git2, 25), this.git3 = darken_default(this.git3, 25), this.git4 = darken_default(this.git4, 25), this.git5 = darken_default(this.git5, 25), this.git6 = darken_default(this.git6, 25), this.git7 = darken_default(this.git7, 25)), this.gitInv0 = this.gitInv0 || invert_default(this.git0), this.gitInv1 = this.gitInv1 || invert_default(this.git1), this.gitInv2 = this.gitInv2 || invert_default(this.git2), this.gitInv3 = this.gitInv3 || invert_default(this.git3), this.gitInv4 = this.gitInv4 || invert_default(this.git4), this.gitInv5 = this.gitInv5 || invert_default(this.git5), this.gitInv6 = this.gitInv6 || invert_default(this.git6), this.gitInv7 = this.gitInv7 || invert_default(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || invert_default(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || invert_default(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.emUiFill = this.emUiFill || "white", this.emUiStroke = this.emUiStroke || "#dbdada", this.emProcessorFill = this.emProcessorFill || "#edb3f6", this.emProcessorStroke = this.emProcessorStroke || "#b88cbf", this.emReadModelFill = this.emReadModelFill || "#d3f1a2", this.emReadModelStroke = this.emReadModelStroke || "#a3b732", this.emCommandFill = this.emCommandFill || "#bcd6fe", this.emCommandStroke = this.emCommandStroke || "#679ac3", this.emEventFill = this.emEventFill || "#ffb778", this.emEventStroke = this.emEventStroke || "#c19a0f", this.emSwimlaneBackgroundOdd = this.emSwimlaneBackgroundOdd || "rgb(250,250,250)", this.emSwimlaneBackgroundStroke = this.emSwimlaneBackgroundStroke || "rgb(240,240,240)", this.emArrowhead = this.emArrowhead || this.lineColor, this.emRelationStroke = this.emRelationStroke || this.lineColor, this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || oldAttributeBackgroundColorOdd, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || oldAttributeBackgroundColorEven;
|
|
1301
|
+
}
|
|
1302
|
+
calculate(u) {
|
|
1303
|
+
if (typeof u != "object") {
|
|
1304
|
+
this.updateColors();
|
|
1305
|
+
return;
|
|
1306
|
+
}
|
|
1307
|
+
let z = Object.keys(u);
|
|
1308
|
+
z.forEach((z2) => {
|
|
1309
|
+
this[z2] = u[z2];
|
|
1310
|
+
}), this.updateColors(), z.forEach((z2) => {
|
|
1311
|
+
this[z2] = u[z2];
|
|
1312
|
+
});
|
|
1313
|
+
}
|
|
1314
|
+
}, __name(_d, "Theme"), _d);
|
|
1315
|
+
getThemeVariables4 = __name((u) => {
|
|
1316
|
+
let z = new Theme4();
|
|
1317
|
+
return z.calculate(u), z;
|
|
1318
|
+
}, "getThemeVariables");
|
|
1319
|
+
Theme5 = (_e = class {
|
|
1320
|
+
constructor() {
|
|
1321
|
+
this.primaryColor = "#eee", this.contrast = "#707070", this.secondaryColor = lighten_default(this.contrast, 55), this.background = "#ffffff", this.tertiaryColor = adjust_default(this.primaryColor, {
|
|
1322
|
+
h: -160
|
|
1323
|
+
}), this.primaryBorderColor = mkBorder(this.primaryColor, this.darkMode), this.secondaryBorderColor = mkBorder(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = mkBorder(this.tertiaryColor, this.darkMode), this.primaryTextColor = invert_default(this.primaryColor), this.secondaryTextColor = invert_default(this.secondaryColor), this.tertiaryTextColor = invert_default(this.tertiaryColor), this.lineColor = invert_default(this.background), this.textColor = invert_default(this.background), this.mainBkg = "#eee", this.secondBkg = "calculated", this.lineColor = "#666", this.border1 = "#999", this.border2 = "calculated", this.note = "#ffa", this.text = "#333", this.critical = "#d42", this.done = "#bbb", this.arrowheadColor = "#333333", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "white", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = this.actorBorder, this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "calculated", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBkgColor = "calculated", this.critBorderColor = "calculated", this.todayLineColor = "calculated", this.vertLineColor = "calculated", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal", this.rowOdd = this.rowOdd || lighten_default(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || "#f4f4f4", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.useGradient = true, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,1))";
|
|
1324
|
+
}
|
|
1325
|
+
updateColors() {
|
|
1326
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2, _l2, _m2, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G, _H, _I, _J, _K, _L, _M, _N, _O, _P, _Q, _R, _S, _T, _U, _V, _W;
|
|
1327
|
+
this.secondBkg = lighten_default(this.contrast, 55), this.border2 = this.contrast, this.actorBorder = lighten_default(this.border1, 23), this.actorBkg = this.mainBkg, this.actorTextColor = this.text, this.actorLineColor = this.actorBorder, this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.signalColor = this.text, this.signalTextColor = this.text, this.labelBoxBkgColor = this.actorBkg, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.text, this.loopTextColor = this.text, this.noteBorderColor = "#999", this.noteBkgColor = "#666", this.noteTextColor = "#fff", this.cScale0 = this.cScale0 || "#555", this.cScale1 = this.cScale1 || "#F4F4F4", this.cScale2 = this.cScale2 || "#555", this.cScale3 = this.cScale3 || "#BBB", this.cScale4 = this.cScale4 || "#777", this.cScale5 = this.cScale5 || "#999", this.cScale6 = this.cScale6 || "#DDD", this.cScale7 = this.cScale7 || "#FFF", this.cScale8 = this.cScale8 || "#DDD", this.cScale9 = this.cScale9 || "#BBB", this.cScale10 = this.cScale10 || "#999", this.cScale11 = this.cScale11 || "#777";
|
|
1328
|
+
for (let u = 0; u < this.THEME_COLOR_LIMIT; u++) this["cScaleInv" + u] = this["cScaleInv" + u] || invert_default(this["cScale" + u]);
|
|
1329
|
+
for (let u = 0; u < this.THEME_COLOR_LIMIT; u++) this.darkMode ? this["cScalePeer" + u] = this["cScalePeer" + u] || lighten_default(this["cScale" + u], 10) : this["cScalePeer" + u] = this["cScalePeer" + u] || darken_default(this["cScale" + u], 10);
|
|
1330
|
+
this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.cScaleLabel0 = this.cScaleLabel0 || this.cScale1, this.cScaleLabel2 = this.cScaleLabel2 || this.cScale1;
|
|
1331
|
+
for (let u = 0; u < this.THEME_COLOR_LIMIT; u++) this["cScaleLabel" + u] = this["cScaleLabel" + u] || this.scaleLabelColor;
|
|
1332
|
+
for (let u = 0; u < 5; u++) this["surface" + u] = this["surface" + u] || adjust_default(this.mainBkg, {
|
|
1333
|
+
l: -(5 + u * 5)
|
|
1334
|
+
}), this["surfacePeer" + u] = this["surfacePeer" + u] || adjust_default(this.mainBkg, {
|
|
1335
|
+
l: -(8 + u * 5)
|
|
1336
|
+
});
|
|
1337
|
+
this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.titleColor = this.text, this.sectionBkgColor = lighten_default(this.contrast, 30), this.sectionBkgColor2 = lighten_default(this.contrast, 30), this.taskBorderColor = darken_default(this.contrast, 10), this.taskBkgColor = this.contrast, this.taskTextColor = this.taskTextLightColor, this.taskTextDarkColor = this.text, this.taskTextOutsideColor = this.taskTextDarkColor, this.activeTaskBorderColor = this.taskBorderColor, this.activeTaskBkgColor = this.mainBkg, this.gridColor = lighten_default(this.border1, 30), this.doneTaskBkgColor = this.done, this.doneTaskBorderColor = this.lineColor, this.critBkgColor = this.critical, this.critBorderColor = darken_default(this.critBkgColor, 10), this.todayLineColor = this.critBkgColor, this.vertLineColor = this.critBkgColor, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.transitionColor = this.transitionColor || "#000", this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f4f4f4", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.stateBorder = this.stateBorder || "#000", this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = "#222", this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = adjust_default(this.primaryColor, {
|
|
1338
|
+
h: 64
|
|
1339
|
+
}), this.fillType3 = adjust_default(this.secondaryColor, {
|
|
1340
|
+
h: 64
|
|
1341
|
+
}), this.fillType4 = adjust_default(this.primaryColor, {
|
|
1342
|
+
h: -64
|
|
1343
|
+
}), this.fillType5 = adjust_default(this.secondaryColor, {
|
|
1344
|
+
h: -64
|
|
1345
|
+
}), this.fillType6 = adjust_default(this.primaryColor, {
|
|
1346
|
+
h: 128
|
|
1347
|
+
}), this.fillType7 = adjust_default(this.secondaryColor, {
|
|
1348
|
+
h: 128
|
|
1349
|
+
});
|
|
1350
|
+
for (let u = 0; u < this.THEME_COLOR_LIMIT; u++) this["pie" + u] = this["cScale" + u];
|
|
1351
|
+
this.pie12 = this.pie0, this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7";
|
|
1352
|
+
for (let u = 0; u < 8; u++) this["venn" + (u + 1)] = this["venn" + (u + 1)] ?? this["cScale" + u];
|
|
1353
|
+
this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.cynefin = {
|
|
1354
|
+
domainFontSize: ((_a2 = this.cynefin) == null ? void 0 : _a2.domainFontSize) || 16,
|
|
1355
|
+
itemFontSize: ((_b2 = this.cynefin) == null ? void 0 : _b2.itemFontSize) || 12,
|
|
1356
|
+
boundaryColor: ((_c2 = this.cynefin) == null ? void 0 : _c2.boundaryColor) || this.lineColor,
|
|
1357
|
+
boundaryWidth: ((_d2 = this.cynefin) == null ? void 0 : _d2.boundaryWidth) || 2,
|
|
1358
|
+
cliffColor: ((_e2 = this.cynefin) == null ? void 0 : _e2.cliffColor) || "#8B0000",
|
|
1359
|
+
cliffWidth: ((_f2 = this.cynefin) == null ? void 0 : _f2.cliffWidth) || 4,
|
|
1360
|
+
arrowColor: ((_g2 = this.cynefin) == null ? void 0 : _g2.arrowColor) || this.lineColor,
|
|
1361
|
+
arrowWidth: ((_h2 = this.cynefin) == null ? void 0 : _h2.arrowWidth) || 2,
|
|
1362
|
+
complexBg: ((_i2 = this.cynefin) == null ? void 0 : _i2.complexBg) || "#E8F5E9",
|
|
1363
|
+
complicatedBg: ((_j2 = this.cynefin) == null ? void 0 : _j2.complicatedBg) || "#E3F2FD",
|
|
1364
|
+
chaoticBg: ((_k2 = this.cynefin) == null ? void 0 : _k2.chaoticBg) || "#FBE9E7",
|
|
1365
|
+
clearBg: ((_l2 = this.cynefin) == null ? void 0 : _l2.clearBg) || "#FFF8E1",
|
|
1366
|
+
confusionBg: ((_m2 = this.cynefin) == null ? void 0 : _m2.confusionBg) || "#F3E5F5",
|
|
1367
|
+
textColor: ((_n = this.cynefin) == null ? void 0 : _n.textColor) || this.textColor,
|
|
1368
|
+
labelColor: ((_o = this.cynefin) == null ? void 0 : _o.labelColor) || this.primaryTextColor
|
|
1369
|
+
}, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || adjust_default(this.primaryColor, {
|
|
1370
|
+
r: 5,
|
|
1371
|
+
g: 5,
|
|
1372
|
+
b: 5
|
|
1373
|
+
}), this.quadrant3Fill = this.quadrant3Fill || adjust_default(this.primaryColor, {
|
|
1374
|
+
r: 10,
|
|
1375
|
+
g: 10,
|
|
1376
|
+
b: 10
|
|
1377
|
+
}), this.quadrant4Fill = this.quadrant4Fill || adjust_default(this.primaryColor, {
|
|
1378
|
+
r: 15,
|
|
1379
|
+
g: 15,
|
|
1380
|
+
b: 15
|
|
1381
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || adjust_default(this.primaryTextColor, {
|
|
1382
|
+
r: -5,
|
|
1383
|
+
g: -5,
|
|
1384
|
+
b: -5
|
|
1385
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || adjust_default(this.primaryTextColor, {
|
|
1386
|
+
r: -10,
|
|
1387
|
+
g: -10,
|
|
1388
|
+
b: -10
|
|
1389
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || adjust_default(this.primaryTextColor, {
|
|
1390
|
+
r: -15,
|
|
1391
|
+
g: -15,
|
|
1392
|
+
b: -15
|
|
1393
|
+
}), this.quadrantPointFill = this.quadrantPointFill || is_dark_default(this.quadrant1Fill) ? lighten_default(this.quadrant1Fill) : darken_default(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
1394
|
+
backgroundColor: ((_p = this.xyChart) == null ? void 0 : _p.backgroundColor) || this.background,
|
|
1395
|
+
titleColor: ((_q = this.xyChart) == null ? void 0 : _q.titleColor) || this.primaryTextColor,
|
|
1396
|
+
dataLabelColor: ((_r = this.xyChart) == null ? void 0 : _r.dataLabelColor) || this.primaryTextColor,
|
|
1397
|
+
xAxisTitleColor: ((_s = this.xyChart) == null ? void 0 : _s.xAxisTitleColor) || this.primaryTextColor,
|
|
1398
|
+
xAxisLabelColor: ((_t = this.xyChart) == null ? void 0 : _t.xAxisLabelColor) || this.primaryTextColor,
|
|
1399
|
+
xAxisTickColor: ((_u = this.xyChart) == null ? void 0 : _u.xAxisTickColor) || this.primaryTextColor,
|
|
1400
|
+
xAxisLineColor: ((_v = this.xyChart) == null ? void 0 : _v.xAxisLineColor) || this.primaryTextColor,
|
|
1401
|
+
yAxisTitleColor: ((_w = this.xyChart) == null ? void 0 : _w.yAxisTitleColor) || this.primaryTextColor,
|
|
1402
|
+
yAxisLabelColor: ((_x = this.xyChart) == null ? void 0 : _x.yAxisLabelColor) || this.primaryTextColor,
|
|
1403
|
+
yAxisTickColor: ((_y = this.xyChart) == null ? void 0 : _y.yAxisTickColor) || this.primaryTextColor,
|
|
1404
|
+
yAxisLineColor: ((_z = this.xyChart) == null ? void 0 : _z.yAxisLineColor) || this.primaryTextColor,
|
|
1405
|
+
plotColorPalette: ((_A = this.xyChart) == null ? void 0 : _A.plotColorPalette) || "#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"
|
|
1406
|
+
}, this.radar = {
|
|
1407
|
+
axisColor: ((_B = this.radar) == null ? void 0 : _B.axisColor) || this.lineColor,
|
|
1408
|
+
axisStrokeWidth: ((_C = this.radar) == null ? void 0 : _C.axisStrokeWidth) || 2,
|
|
1409
|
+
axisLabelFontSize: ((_D = this.radar) == null ? void 0 : _D.axisLabelFontSize) || 12,
|
|
1410
|
+
curveOpacity: ((_E = this.radar) == null ? void 0 : _E.curveOpacity) || 0.5,
|
|
1411
|
+
curveStrokeWidth: ((_F = this.radar) == null ? void 0 : _F.curveStrokeWidth) || 2,
|
|
1412
|
+
graticuleColor: ((_G = this.radar) == null ? void 0 : _G.graticuleColor) || "#DEDEDE",
|
|
1413
|
+
graticuleStrokeWidth: ((_H = this.radar) == null ? void 0 : _H.graticuleStrokeWidth) || 1,
|
|
1414
|
+
graticuleOpacity: ((_I = this.radar) == null ? void 0 : _I.graticuleOpacity) || 0.3,
|
|
1415
|
+
legendBoxSize: ((_J = this.radar) == null ? void 0 : _J.legendBoxSize) || 12,
|
|
1416
|
+
legendFontSize: ((_K = this.radar) == null ? void 0 : _K.legendFontSize) || 12
|
|
1417
|
+
}, this.wardleyEvolutionColor = this.wardleyEvolutionColor || "#dc3545", this.wardley = {
|
|
1418
|
+
backgroundColor: ((_L = this.wardley) == null ? void 0 : _L.backgroundColor) || this.background,
|
|
1419
|
+
axisColor: ((_M = this.wardley) == null ? void 0 : _M.axisColor) || this.lineColor,
|
|
1420
|
+
axisTextColor: ((_N = this.wardley) == null ? void 0 : _N.axisTextColor) || this.primaryTextColor,
|
|
1421
|
+
gridColor: ((_O = this.wardley) == null ? void 0 : _O.gridColor) || this.gridColor,
|
|
1422
|
+
componentFill: ((_P = this.wardley) == null ? void 0 : _P.componentFill) || this.background,
|
|
1423
|
+
componentStroke: ((_Q = this.wardley) == null ? void 0 : _Q.componentStroke) || this.lineColor,
|
|
1424
|
+
componentLabelColor: ((_R = this.wardley) == null ? void 0 : _R.componentLabelColor) || this.primaryTextColor,
|
|
1425
|
+
linkStroke: ((_S = this.wardley) == null ? void 0 : _S.linkStroke) || this.lineColor,
|
|
1426
|
+
evolutionStroke: ((_T = this.wardley) == null ? void 0 : _T.evolutionStroke) || this.wardleyEvolutionColor,
|
|
1427
|
+
annotationStroke: ((_U = this.wardley) == null ? void 0 : _U.annotationStroke) || this.lineColor,
|
|
1428
|
+
annotationTextColor: ((_V = this.wardley) == null ? void 0 : _V.annotationTextColor) || this.primaryTextColor,
|
|
1429
|
+
annotationFill: ((_W = this.wardley) == null ? void 0 : _W.annotationFill) || this.background
|
|
1430
|
+
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = darken_default(this.pie1, 25) || this.primaryColor, this.git1 = this.pie2 || this.secondaryColor, this.git2 = this.pie3 || this.tertiaryColor, this.git3 = this.pie4 || adjust_default(this.primaryColor, {
|
|
1431
|
+
h: -30
|
|
1432
|
+
}), this.git4 = this.pie5 || adjust_default(this.primaryColor, {
|
|
1433
|
+
h: -60
|
|
1434
|
+
}), this.git5 = this.pie6 || adjust_default(this.primaryColor, {
|
|
1435
|
+
h: -90
|
|
1436
|
+
}), this.git6 = this.pie7 || adjust_default(this.primaryColor, {
|
|
1437
|
+
h: 60
|
|
1438
|
+
}), this.git7 = this.pie8 || adjust_default(this.primaryColor, {
|
|
1439
|
+
h: 120
|
|
1440
|
+
}), this.gitInv0 = this.gitInv0 || invert_default(this.git0), this.gitInv1 = this.gitInv1 || invert_default(this.git1), this.gitInv2 = this.gitInv2 || invert_default(this.git2), this.gitInv3 = this.gitInv3 || invert_default(this.git3), this.gitInv4 = this.gitInv4 || invert_default(this.git4), this.gitInv5 = this.gitInv5 || invert_default(this.git5), this.gitInv6 = this.gitInv6 || invert_default(this.git6), this.gitInv7 = this.gitInv7 || invert_default(this.git7), this.branchLabelColor = this.branchLabelColor || this.labelTextColor, this.gitBranchLabel0 = this.branchLabelColor, this.gitBranchLabel1 = "white", this.gitBranchLabel2 = this.branchLabelColor, this.gitBranchLabel3 = "white", this.gitBranchLabel4 = this.branchLabelColor, this.gitBranchLabel5 = this.branchLabelColor, this.gitBranchLabel6 = this.branchLabelColor, this.gitBranchLabel7 = this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.emUiFill = this.emUiFill || "white", this.emUiStroke = this.emUiStroke || "#dbdada", this.emProcessorFill = this.emProcessorFill || "#edb3f6", this.emProcessorStroke = this.emProcessorStroke || "#b88cbf", this.emReadModelFill = this.emReadModelFill || "#d3f1a2", this.emReadModelStroke = this.emReadModelStroke || "#a3b732", this.emCommandFill = this.emCommandFill || "#bcd6fe", this.emCommandStroke = this.emCommandStroke || "#679ac3", this.emEventFill = this.emEventFill || "#ffb778", this.emEventStroke = this.emEventStroke || "#c19a0f", this.emSwimlaneBackgroundOdd = this.emSwimlaneBackgroundOdd || "rgb(250,250,250)", this.emSwimlaneBackgroundStroke = this.emSwimlaneBackgroundStroke || "rgb(240,240,240)", this.emArrowhead = this.emArrowhead || this.lineColor, this.emRelationStroke = this.emRelationStroke || this.lineColor, this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || oldAttributeBackgroundColorOdd, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || oldAttributeBackgroundColorEven;
|
|
1441
|
+
}
|
|
1442
|
+
calculate(u) {
|
|
1443
|
+
if (typeof u != "object") {
|
|
1444
|
+
this.updateColors();
|
|
1445
|
+
return;
|
|
1446
|
+
}
|
|
1447
|
+
let z = Object.keys(u);
|
|
1448
|
+
z.forEach((z2) => {
|
|
1449
|
+
this[z2] = u[z2];
|
|
1450
|
+
}), this.updateColors(), z.forEach((z2) => {
|
|
1451
|
+
this[z2] = u[z2];
|
|
1452
|
+
});
|
|
1453
|
+
}
|
|
1454
|
+
}, __name(_e, "Theme"), _e);
|
|
1455
|
+
getThemeVariables5 = __name((u) => {
|
|
1456
|
+
let z = new Theme5();
|
|
1457
|
+
return z.calculate(u), z;
|
|
1458
|
+
}, "getThemeVariables");
|
|
1459
|
+
Theme6 = (_f = class {
|
|
1460
|
+
constructor() {
|
|
1461
|
+
this.background = "#ffffff", this.primaryColor = "#cccccc", this.mainBkg = "#ffffff", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.radius = 3, this.strokeWidth = 2, this.primaryBorderColor = mkBorder(this.primaryColor, this.darkMode), this.fontFamily = "arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#000000", this.stateBorder = "#000000", this.useGradient = true, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "drop-shadow( 0px 1px 2px rgba(0, 0, 0, 0.25));", this.tertiaryColor = "#ffffff", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal";
|
|
1462
|
+
}
|
|
1463
|
+
updateColors() {
|
|
1464
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2;
|
|
1465
|
+
this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || adjust_default(this.primaryColor, {
|
|
1466
|
+
h: -120
|
|
1467
|
+
}), this.tertiaryColor = this.tertiaryColor || adjust_default(this.primaryColor, {
|
|
1468
|
+
h: 180,
|
|
1469
|
+
l: 5
|
|
1470
|
+
}), this.primaryBorderColor = this.primaryBorderColor || mkBorder(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || mkBorder(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || mkBorder(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || mkBorder(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || invert_default(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || invert_default(this.tertiaryColor), this.lineColor = this.lineColor || invert_default(this.background), this.arrowheadColor = this.arrowheadColor || invert_default(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? darken_default(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || darken_default(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || invert_default(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor;
|
|
1471
|
+
let u = "#ECECFE", z = "#E9E9F1", B = adjust_default(u, {
|
|
1472
|
+
h: 180,
|
|
1473
|
+
l: 5
|
|
1474
|
+
});
|
|
1475
|
+
if (this.sectionBkgColor = this.sectionBkgColor || B, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || z, this.sectionBkgColor2 = this.sectionBkgColor2 || u, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || u, this.activeTaskBorderColor = this.activeTaskBorderColor || u, this.activeTaskBkgColor = this.activeTaskBkgColor || lighten_default(u, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || u, this.cScale1 = this.cScale1 || z, this.cScale2 = this.cScale2 || B, this.cScale3 = this.cScale3 || adjust_default(u, {
|
|
1476
|
+
h: 30
|
|
1477
|
+
}), this.cScale4 = this.cScale4 || adjust_default(u, {
|
|
1478
|
+
h: 60
|
|
1479
|
+
}), this.cScale5 = this.cScale5 || adjust_default(u, {
|
|
1480
|
+
h: 90
|
|
1481
|
+
}), this.cScale6 = this.cScale6 || adjust_default(u, {
|
|
1482
|
+
h: 120
|
|
1483
|
+
}), this.cScale7 = this.cScale7 || adjust_default(u, {
|
|
1484
|
+
h: 150
|
|
1485
|
+
}), this.cScale8 = this.cScale8 || adjust_default(u, {
|
|
1486
|
+
h: 210,
|
|
1487
|
+
l: 150
|
|
1488
|
+
}), this.cScale9 = this.cScale9 || adjust_default(u, {
|
|
1489
|
+
h: 270
|
|
1490
|
+
}), this.cScale10 = this.cScale10 || adjust_default(u, {
|
|
1491
|
+
h: 300
|
|
1492
|
+
}), this.cScale11 = this.cScale11 || adjust_default(u, {
|
|
1493
|
+
h: 330
|
|
1494
|
+
}), this.darkMode) for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this["cScale" + u2] = darken_default(this["cScale" + u2], 75);
|
|
1495
|
+
else for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this["cScale" + u2] = darken_default(this["cScale" + u2], 25);
|
|
1496
|
+
for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this["cScaleInv" + u2] = this["cScaleInv" + u2] || invert_default(this["cScale" + u2]);
|
|
1497
|
+
for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this.darkMode ? this["cScalePeer" + u2] = this["cScalePeer" + u2] || lighten_default(this["cScale" + u2], 10) : this["cScalePeer" + u2] = this["cScalePeer" + u2] || darken_default(this["cScale" + u2], 10);
|
|
1498
|
+
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
1499
|
+
for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this["cScaleLabel" + u2] = this["cScaleLabel" + u2] || this.scaleLabelColor;
|
|
1500
|
+
let V = this.darkMode ? -4 : -1;
|
|
1501
|
+
for (let u2 = 0; u2 < 5; u2++) this["surface" + u2] = this["surface" + u2] || adjust_default(this.mainBkg, {
|
|
1502
|
+
h: 180,
|
|
1503
|
+
s: -15,
|
|
1504
|
+
l: V * (5 + u2 * 3)
|
|
1505
|
+
}), this["surfacePeer" + u2] = this["surfacePeer" + u2] || adjust_default(this.mainBkg, {
|
|
1506
|
+
h: 180,
|
|
1507
|
+
s: -15,
|
|
1508
|
+
l: V * (8 + u2 * 3)
|
|
1509
|
+
});
|
|
1510
|
+
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || u, this.fillType1 = this.fillType1 || z, this.fillType2 = this.fillType2 || adjust_default(u, {
|
|
1511
|
+
h: 64
|
|
1512
|
+
}), this.fillType3 = this.fillType3 || adjust_default(z, {
|
|
1513
|
+
h: 64
|
|
1514
|
+
}), this.fillType4 = this.fillType4 || adjust_default(u, {
|
|
1515
|
+
h: -64
|
|
1516
|
+
}), this.fillType5 = this.fillType5 || adjust_default(z, {
|
|
1517
|
+
h: -64
|
|
1518
|
+
}), this.fillType6 = this.fillType6 || adjust_default(u, {
|
|
1519
|
+
h: 128
|
|
1520
|
+
}), this.fillType7 = this.fillType7 || adjust_default(z, {
|
|
1521
|
+
h: 128
|
|
1522
|
+
}), this.pie1 = this.pie1 || u, this.pie2 = this.pie2 || z, this.pie3 = this.pie3 || B, this.pie4 = this.pie4 || adjust_default(u, {
|
|
1523
|
+
l: -10
|
|
1524
|
+
}), this.pie5 = this.pie5 || adjust_default(z, {
|
|
1525
|
+
l: -10
|
|
1526
|
+
}), this.pie6 = this.pie6 || adjust_default(B, {
|
|
1527
|
+
l: -10
|
|
1528
|
+
}), this.pie7 = this.pie7 || adjust_default(u, {
|
|
1529
|
+
h: 60,
|
|
1530
|
+
l: -10
|
|
1531
|
+
}), this.pie8 = this.pie8 || adjust_default(u, {
|
|
1532
|
+
h: -60,
|
|
1533
|
+
l: -10
|
|
1534
|
+
}), this.pie9 = this.pie9 || adjust_default(u, {
|
|
1535
|
+
h: 120,
|
|
1536
|
+
l: 0
|
|
1537
|
+
}), this.pie10 = this.pie10 || adjust_default(u, {
|
|
1538
|
+
h: 60,
|
|
1539
|
+
l: -20
|
|
1540
|
+
}), this.pie11 = this.pie11 || adjust_default(u, {
|
|
1541
|
+
h: -60,
|
|
1542
|
+
l: -20
|
|
1543
|
+
}), this.pie12 = this.pie12 || adjust_default(u, {
|
|
1544
|
+
h: 120,
|
|
1545
|
+
l: -10
|
|
1546
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || u, this.quadrant2Fill = this.quadrant2Fill || adjust_default(u, {
|
|
1547
|
+
r: 5,
|
|
1548
|
+
g: 5,
|
|
1549
|
+
b: 5
|
|
1550
|
+
}), this.quadrant3Fill = this.quadrant3Fill || adjust_default(u, {
|
|
1551
|
+
r: 10,
|
|
1552
|
+
g: 10,
|
|
1553
|
+
b: 10
|
|
1554
|
+
}), this.quadrant4Fill = this.quadrant4Fill || adjust_default(u, {
|
|
1555
|
+
r: 15,
|
|
1556
|
+
g: 15,
|
|
1557
|
+
b: 15
|
|
1558
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || adjust_default(this.primaryTextColor, {
|
|
1559
|
+
r: -5,
|
|
1560
|
+
g: -5,
|
|
1561
|
+
b: -5
|
|
1562
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || adjust_default(this.primaryTextColor, {
|
|
1563
|
+
r: -10,
|
|
1564
|
+
g: -10,
|
|
1565
|
+
b: -10
|
|
1566
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || adjust_default(this.primaryTextColor, {
|
|
1567
|
+
r: -15,
|
|
1568
|
+
g: -15,
|
|
1569
|
+
b: -15
|
|
1570
|
+
}), this.quadrantPointFill = this.quadrantPointFill || is_dark_default(this.quadrant1Fill) ? lighten_default(this.quadrant1Fill) : darken_default(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
1571
|
+
backgroundColor: ((_a2 = this.xyChart) == null ? void 0 : _a2.backgroundColor) || this.background,
|
|
1572
|
+
titleColor: ((_b2 = this.xyChart) == null ? void 0 : _b2.titleColor) || this.primaryTextColor,
|
|
1573
|
+
xAxisTitleColor: ((_c2 = this.xyChart) == null ? void 0 : _c2.xAxisTitleColor) || this.primaryTextColor,
|
|
1574
|
+
xAxisLabelColor: ((_d2 = this.xyChart) == null ? void 0 : _d2.xAxisLabelColor) || this.primaryTextColor,
|
|
1575
|
+
xAxisTickColor: ((_e2 = this.xyChart) == null ? void 0 : _e2.xAxisTickColor) || this.primaryTextColor,
|
|
1576
|
+
xAxisLineColor: ((_f2 = this.xyChart) == null ? void 0 : _f2.xAxisLineColor) || this.primaryTextColor,
|
|
1577
|
+
yAxisTitleColor: ((_g2 = this.xyChart) == null ? void 0 : _g2.yAxisTitleColor) || this.primaryTextColor,
|
|
1578
|
+
yAxisLabelColor: ((_h2 = this.xyChart) == null ? void 0 : _h2.yAxisLabelColor) || this.primaryTextColor,
|
|
1579
|
+
yAxisTickColor: ((_i2 = this.xyChart) == null ? void 0 : _i2.yAxisTickColor) || this.primaryTextColor,
|
|
1580
|
+
yAxisLineColor: ((_j2 = this.xyChart) == null ? void 0 : _j2.yAxisLineColor) || this.primaryTextColor,
|
|
1581
|
+
plotColorPalette: ((_k2 = this.xyChart) == null ? void 0 : _k2.plotColorPalette) || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
1582
|
+
}, this.requirementBackground = this.requirementBackground || u, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? darken_default(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || u, this.git1 = this.git1 || z, this.git2 = this.git2 || B, this.git3 = this.git3 || adjust_default(u, {
|
|
1583
|
+
h: -30
|
|
1584
|
+
}), this.git4 = this.git4 || adjust_default(u, {
|
|
1585
|
+
h: -60
|
|
1586
|
+
}), this.git5 = this.git5 || adjust_default(u, {
|
|
1587
|
+
h: -90
|
|
1588
|
+
}), this.git6 = this.git6 || adjust_default(u, {
|
|
1589
|
+
h: 60
|
|
1590
|
+
}), this.git7 = this.git7 || adjust_default(u, {
|
|
1591
|
+
h: 120
|
|
1592
|
+
}), this.darkMode ? (this.git0 = lighten_default(this.git0, 25), this.git1 = lighten_default(this.git1, 25), this.git2 = lighten_default(this.git2, 25), this.git3 = lighten_default(this.git3, 25), this.git4 = lighten_default(this.git4, 25), this.git5 = lighten_default(this.git5, 25), this.git6 = lighten_default(this.git6, 25), this.git7 = lighten_default(this.git7, 25)) : (this.git0 = darken_default(this.git0, 25), this.git1 = darken_default(this.git1, 25), this.git2 = darken_default(this.git2, 25), this.git3 = darken_default(this.git3, 25), this.git4 = darken_default(this.git4, 25), this.git5 = darken_default(this.git5, 25), this.git6 = darken_default(this.git6, 25), this.git7 = darken_default(this.git7, 25)), this.gitInv0 = this.gitInv0 || invert_default(this.git0), this.gitInv1 = this.gitInv1 || invert_default(this.git1), this.gitInv2 = this.gitInv2 || invert_default(this.git2), this.gitInv3 = this.gitInv3 || invert_default(this.git3), this.gitInv4 = this.gitInv4 || invert_default(this.git4), this.gitInv5 = this.gitInv5 || invert_default(this.git5), this.gitInv6 = this.gitInv6 || invert_default(this.git6), this.gitInv7 = this.gitInv7 || invert_default(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || oldAttributeBackgroundColorOdd, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || oldAttributeBackgroundColorEven;
|
|
1593
|
+
}
|
|
1594
|
+
calculate(u) {
|
|
1595
|
+
if (typeof u != "object") {
|
|
1596
|
+
this.updateColors();
|
|
1597
|
+
return;
|
|
1598
|
+
}
|
|
1599
|
+
let z = Object.keys(u);
|
|
1600
|
+
z.forEach((z2) => {
|
|
1601
|
+
this[z2] = u[z2];
|
|
1602
|
+
}), this.updateColors(), z.forEach((z2) => {
|
|
1603
|
+
this[z2] = u[z2];
|
|
1604
|
+
});
|
|
1605
|
+
}
|
|
1606
|
+
}, __name(_f, "Theme"), _f);
|
|
1607
|
+
getThemeVariables6 = __name((u) => {
|
|
1608
|
+
let z = new Theme6();
|
|
1609
|
+
return z.calculate(u), z;
|
|
1610
|
+
}, "getThemeVariables");
|
|
1611
|
+
Theme7 = (_g = class {
|
|
1612
|
+
constructor() {
|
|
1613
|
+
this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = lighten_default(this.primaryColor, 16), this.tertiaryColor = adjust_default(this.primaryColor, {
|
|
1614
|
+
h: -160
|
|
1615
|
+
}), this.primaryBorderColor = invert_default(this.background), this.secondaryBorderColor = mkBorder(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = mkBorder(this.tertiaryColor, this.darkMode), this.primaryTextColor = invert_default(this.primaryColor), this.secondaryTextColor = invert_default(this.secondaryColor), this.tertiaryTextColor = invert_default(this.tertiaryColor), this.mainBkg = "#2a2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = lighten_default(invert_default("#323D47"), 10), this.border1 = "#ccc", this.border2 = rgba_default(255, 255, 255, 0.25), this.arrowheadColor = invert_default(this.background), this.fontFamily = "arial, sans-serif", this.fontSize = "14px", this.labelBackground = "#181818", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 3, this.strokeWidth = 1, this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.fontFamily = "arial, sans-serif", this.fontSize = "14px", this.useGradient = true, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,0.2))", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal";
|
|
1616
|
+
}
|
|
1617
|
+
updateColors() {
|
|
1618
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2;
|
|
1619
|
+
if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || adjust_default(this.primaryColor, {
|
|
1620
|
+
h: -120
|
|
1621
|
+
}), this.tertiaryColor = this.tertiaryColor || adjust_default(this.primaryColor, {
|
|
1622
|
+
h: 180,
|
|
1623
|
+
l: 5
|
|
1624
|
+
}), this.primaryBorderColor = this.primaryBorderColor || mkBorder(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || mkBorder(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || mkBorder(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || mkBorder(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || invert_default(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || invert_default(this.tertiaryColor), this.lineColor = this.lineColor || invert_default(this.background), this.arrowheadColor = this.arrowheadColor || invert_default(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.border1, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? darken_default(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || darken_default(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || invert_default(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || lighten_default(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || adjust_default(this.primaryColor, {
|
|
1625
|
+
h: 30
|
|
1626
|
+
}), this.cScale4 = this.cScale4 || adjust_default(this.primaryColor, {
|
|
1627
|
+
h: 60
|
|
1628
|
+
}), this.cScale5 = this.cScale5 || adjust_default(this.primaryColor, {
|
|
1629
|
+
h: 90
|
|
1630
|
+
}), this.cScale6 = this.cScale6 || adjust_default(this.primaryColor, {
|
|
1631
|
+
h: 120
|
|
1632
|
+
}), this.cScale7 = this.cScale7 || adjust_default(this.primaryColor, {
|
|
1633
|
+
h: 150
|
|
1634
|
+
}), this.cScale8 = this.cScale8 || adjust_default(this.primaryColor, {
|
|
1635
|
+
h: 210,
|
|
1636
|
+
l: 150
|
|
1637
|
+
}), this.cScale9 = this.cScale9 || adjust_default(this.primaryColor, {
|
|
1638
|
+
h: 270
|
|
1639
|
+
}), this.cScale10 = this.cScale10 || adjust_default(this.primaryColor, {
|
|
1640
|
+
h: 300
|
|
1641
|
+
}), this.cScale11 = this.cScale11 || adjust_default(this.primaryColor, {
|
|
1642
|
+
h: 330
|
|
1643
|
+
}), this.darkMode) for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this["cScale" + u2] = darken_default(this["cScale" + u2], 75);
|
|
1644
|
+
else for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this["cScale" + u2] = darken_default(this["cScale" + u2], 25);
|
|
1645
|
+
for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this["cScaleInv" + u2] = this["cScaleInv" + u2] || invert_default(this["cScale" + u2]);
|
|
1646
|
+
for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this.darkMode ? this["cScalePeer" + u2] = this["cScalePeer" + u2] || lighten_default(this["cScale" + u2], 10) : this["cScalePeer" + u2] = this["cScalePeer" + u2] || darken_default(this["cScale" + u2], 10);
|
|
1647
|
+
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
1648
|
+
for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this["cScaleLabel" + u2] = this["cScaleLabel" + u2] || this.scaleLabelColor;
|
|
1649
|
+
let u = this.darkMode ? -4 : -1;
|
|
1650
|
+
for (let z = 0; z < 5; z++) this["surface" + z] = this["surface" + z] || adjust_default(this.mainBkg, {
|
|
1651
|
+
h: 180,
|
|
1652
|
+
s: -15,
|
|
1653
|
+
l: u * (5 + z * 3)
|
|
1654
|
+
}), this["surfacePeer" + z] = this["surfacePeer" + z] || adjust_default(this.mainBkg, {
|
|
1655
|
+
h: 180,
|
|
1656
|
+
s: -15,
|
|
1657
|
+
l: u * (8 + z * 3)
|
|
1658
|
+
});
|
|
1659
|
+
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || adjust_default(this.primaryColor, {
|
|
1660
|
+
h: 64
|
|
1661
|
+
}), this.fillType3 = this.fillType3 || adjust_default(this.secondaryColor, {
|
|
1662
|
+
h: 64
|
|
1663
|
+
}), this.fillType4 = this.fillType4 || adjust_default(this.primaryColor, {
|
|
1664
|
+
h: -64
|
|
1665
|
+
}), this.fillType5 = this.fillType5 || adjust_default(this.secondaryColor, {
|
|
1666
|
+
h: -64
|
|
1667
|
+
}), this.fillType6 = this.fillType6 || adjust_default(this.primaryColor, {
|
|
1668
|
+
h: 128
|
|
1669
|
+
}), this.fillType7 = this.fillType7 || adjust_default(this.secondaryColor, {
|
|
1670
|
+
h: 128
|
|
1671
|
+
}), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || adjust_default(this.primaryColor, {
|
|
1672
|
+
l: -10
|
|
1673
|
+
}), this.pie5 = this.pie5 || adjust_default(this.secondaryColor, {
|
|
1674
|
+
l: -10
|
|
1675
|
+
}), this.pie6 = this.pie6 || adjust_default(this.tertiaryColor, {
|
|
1676
|
+
l: -10
|
|
1677
|
+
}), this.pie7 = this.pie7 || adjust_default(this.primaryColor, {
|
|
1678
|
+
h: 60,
|
|
1679
|
+
l: -10
|
|
1680
|
+
}), this.pie8 = this.pie8 || adjust_default(this.primaryColor, {
|
|
1681
|
+
h: -60,
|
|
1682
|
+
l: -10
|
|
1683
|
+
}), this.pie9 = this.pie9 || adjust_default(this.primaryColor, {
|
|
1684
|
+
h: 120,
|
|
1685
|
+
l: 0
|
|
1686
|
+
}), this.pie10 = this.pie10 || adjust_default(this.primaryColor, {
|
|
1687
|
+
h: 60,
|
|
1688
|
+
l: -20
|
|
1689
|
+
}), this.pie11 = this.pie11 || adjust_default(this.primaryColor, {
|
|
1690
|
+
h: -60,
|
|
1691
|
+
l: -20
|
|
1692
|
+
}), this.pie12 = this.pie12 || adjust_default(this.primaryColor, {
|
|
1693
|
+
h: 120,
|
|
1694
|
+
l: -10
|
|
1695
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || adjust_default(this.primaryColor, {
|
|
1696
|
+
r: 5,
|
|
1697
|
+
g: 5,
|
|
1698
|
+
b: 5
|
|
1699
|
+
}), this.quadrant3Fill = this.quadrant3Fill || adjust_default(this.primaryColor, {
|
|
1700
|
+
r: 10,
|
|
1701
|
+
g: 10,
|
|
1702
|
+
b: 10
|
|
1703
|
+
}), this.quadrant4Fill = this.quadrant4Fill || adjust_default(this.primaryColor, {
|
|
1704
|
+
r: 15,
|
|
1705
|
+
g: 15,
|
|
1706
|
+
b: 15
|
|
1707
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || adjust_default(this.primaryTextColor, {
|
|
1708
|
+
r: -5,
|
|
1709
|
+
g: -5,
|
|
1710
|
+
b: -5
|
|
1711
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || adjust_default(this.primaryTextColor, {
|
|
1712
|
+
r: -10,
|
|
1713
|
+
g: -10,
|
|
1714
|
+
b: -10
|
|
1715
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || adjust_default(this.primaryTextColor, {
|
|
1716
|
+
r: -15,
|
|
1717
|
+
g: -15,
|
|
1718
|
+
b: -15
|
|
1719
|
+
}), this.quadrantPointFill = this.quadrantPointFill || is_dark_default(this.quadrant1Fill) ? lighten_default(this.quadrant1Fill) : darken_default(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
1720
|
+
backgroundColor: ((_a2 = this.xyChart) == null ? void 0 : _a2.backgroundColor) || this.background,
|
|
1721
|
+
titleColor: ((_b2 = this.xyChart) == null ? void 0 : _b2.titleColor) || this.primaryTextColor,
|
|
1722
|
+
xAxisTitleColor: ((_c2 = this.xyChart) == null ? void 0 : _c2.xAxisTitleColor) || this.primaryTextColor,
|
|
1723
|
+
xAxisLabelColor: ((_d2 = this.xyChart) == null ? void 0 : _d2.xAxisLabelColor) || this.primaryTextColor,
|
|
1724
|
+
xAxisTickColor: ((_e2 = this.xyChart) == null ? void 0 : _e2.xAxisTickColor) || this.primaryTextColor,
|
|
1725
|
+
xAxisLineColor: ((_f2 = this.xyChart) == null ? void 0 : _f2.xAxisLineColor) || this.primaryTextColor,
|
|
1726
|
+
yAxisTitleColor: ((_g2 = this.xyChart) == null ? void 0 : _g2.yAxisTitleColor) || this.primaryTextColor,
|
|
1727
|
+
yAxisLabelColor: ((_h2 = this.xyChart) == null ? void 0 : _h2.yAxisLabelColor) || this.primaryTextColor,
|
|
1728
|
+
yAxisTickColor: ((_i2 = this.xyChart) == null ? void 0 : _i2.yAxisTickColor) || this.primaryTextColor,
|
|
1729
|
+
yAxisLineColor: ((_j2 = this.xyChart) == null ? void 0 : _j2.yAxisLineColor) || this.primaryTextColor,
|
|
1730
|
+
plotColorPalette: ((_k2 = this.xyChart) == null ? void 0 : _k2.plotColorPalette) || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
1731
|
+
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? darken_default(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || "#0b0000", this.git1 = this.git1 || "#4d1037", this.git2 = this.git2 || "#3f5258", this.git3 = this.git3 || "#4f2f1b", this.git4 = this.git4 || "#6e0a0a", this.git5 = this.git5 || "#3b0048", this.git6 = this.git6 || "#995a01", this.git7 = this.git7 || "#154706", this.gitDarkMode = true, this.gitDarkMode ? (this.git0 = lighten_default(this.git0, 25), this.git1 = lighten_default(this.git1, 25), this.git2 = lighten_default(this.git2, 25), this.git3 = lighten_default(this.git3, 25), this.git4 = lighten_default(this.git4, 25), this.git5 = lighten_default(this.git5, 25), this.git6 = lighten_default(this.git6, 25), this.git7 = lighten_default(this.git7, 25)) : (this.git0 = darken_default(this.git0, 25), this.git1 = darken_default(this.git1, 25), this.git2 = darken_default(this.git2, 25), this.git3 = darken_default(this.git3, 25), this.git4 = darken_default(this.git4, 25), this.git5 = darken_default(this.git5, 25), this.git6 = darken_default(this.git6, 25), this.git7 = darken_default(this.git7, 25)), this.gitInv0 = this.gitInv0 || invert_default(this.git0), this.gitInv1 = this.gitInv1 || invert_default(this.git1), this.gitInv2 = this.gitInv2 || invert_default(this.git2), this.gitInv3 = this.gitInv3 || invert_default(this.git3), this.gitInv4 = this.gitInv4 || invert_default(this.git4), this.gitInv5 = this.gitInv5 || invert_default(this.git5), this.gitInv6 = this.gitInv6 || invert_default(this.git6), this.gitInv7 = this.gitInv7 || invert_default(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || oldAttributeBackgroundColorOdd, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || oldAttributeBackgroundColorEven;
|
|
1732
|
+
}
|
|
1733
|
+
calculate(u) {
|
|
1734
|
+
if (typeof u != "object") {
|
|
1735
|
+
this.updateColors();
|
|
1736
|
+
return;
|
|
1737
|
+
}
|
|
1738
|
+
let z = Object.keys(u);
|
|
1739
|
+
z.forEach((z2) => {
|
|
1740
|
+
this[z2] = u[z2];
|
|
1741
|
+
}), this.updateColors(), z.forEach((z2) => {
|
|
1742
|
+
this[z2] = u[z2];
|
|
1743
|
+
});
|
|
1744
|
+
}
|
|
1745
|
+
}, __name(_g, "Theme"), _g);
|
|
1746
|
+
getThemeVariables7 = __name((u) => {
|
|
1747
|
+
let z = new Theme7();
|
|
1748
|
+
return z.calculate(u), z;
|
|
1749
|
+
}, "getThemeVariables");
|
|
1750
|
+
Theme8 = (_h = class {
|
|
1751
|
+
constructor() {
|
|
1752
|
+
this.background = "#ffffff", this.primaryColor = "#cccccc", this.mainBkg = "#ffffff", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#28253D", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.primaryBorderColor = mkBorder("#28253D", this.darkMode), this.fontFamily = '"Recursive Variable", arial, sans-serif', this.fontSize = "14px", this.nodeBorder = "#28253D", this.stateBorder = "#28253D", this.useGradient = false, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = true, this.tertiaryColor = "#ffffff", this.clusterBkg = "#F9F9FB", this.clusterBorder = "#BDBCCC", this.noteBorderColor = "#FACC15", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.actorBorder = "#28253D", this.filterColor = "#000000";
|
|
1753
|
+
}
|
|
1754
|
+
updateColors() {
|
|
1755
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2;
|
|
1756
|
+
this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#28253D"), this.secondaryColor = this.secondaryColor || adjust_default(this.primaryColor, {
|
|
1757
|
+
h: -120
|
|
1758
|
+
}), this.tertiaryColor = this.tertiaryColor || adjust_default(this.primaryColor, {
|
|
1759
|
+
h: 180,
|
|
1760
|
+
l: 5
|
|
1761
|
+
}), this.primaryBorderColor = this.primaryBorderColor || mkBorder(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || mkBorder(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || mkBorder(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || mkBorder(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#FEF9C3", this.noteTextColor = this.noteTextColor || "#28253D", this.secondaryTextColor = this.secondaryTextColor || invert_default(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || invert_default(this.tertiaryColor), this.lineColor = this.lineColor || invert_default(this.background), this.arrowheadColor = this.arrowheadColor || invert_default(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? darken_default(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.noteFontWeight = 600, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || darken_default(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || invert_default(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor;
|
|
1762
|
+
let u = "#ECECFE", z = "#E9E9F1", B = adjust_default(u, {
|
|
1763
|
+
h: 180,
|
|
1764
|
+
l: 5
|
|
1765
|
+
});
|
|
1766
|
+
this.sectionBkgColor = this.sectionBkgColor || B, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || z, this.sectionBkgColor2 = this.sectionBkgColor2 || u, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || u, this.activeTaskBorderColor = this.activeTaskBorderColor || u, this.activeTaskBkgColor = this.activeTaskBkgColor || lighten_default(u, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.compositeTitleBackground = "#F9F9FB", this.altBackground = "#F9F9FB", this.stateEdgeLabelBackground = "#FFFFFF", this.fontWeight = 600, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor;
|
|
1767
|
+
for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this["cScale" + u2] = this.mainBkg;
|
|
1768
|
+
if (this.darkMode) for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this["cScale" + u2] = darken_default(this["cScale" + u2], 75);
|
|
1769
|
+
else for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this["cScale" + u2] = darken_default(this["cScale" + u2], 25);
|
|
1770
|
+
for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this["cScaleInv" + u2] = this["cScaleInv" + u2] || invert_default(this["cScale" + u2]);
|
|
1771
|
+
for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this.darkMode ? this["cScalePeer" + u2] = this["cScalePeer" + u2] || lighten_default(this["cScale" + u2], 10) : this["cScalePeer" + u2] = this["cScalePeer" + u2] || darken_default(this["cScale" + u2], 10);
|
|
1772
|
+
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
1773
|
+
for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this["cScaleLabel" + u2] = this["cScaleLabel" + u2] || this.scaleLabelColor;
|
|
1774
|
+
let V = this.darkMode ? -4 : -1;
|
|
1775
|
+
for (let u2 = 0; u2 < 5; u2++) this["surface" + u2] = this["surface" + u2] || adjust_default(this.mainBkg, {
|
|
1776
|
+
h: 180,
|
|
1777
|
+
s: -15,
|
|
1778
|
+
l: V * (5 + u2 * 3)
|
|
1779
|
+
}), this["surfacePeer" + u2] = this["surfacePeer" + u2] || adjust_default(this.mainBkg, {
|
|
1780
|
+
h: 180,
|
|
1781
|
+
s: -15,
|
|
1782
|
+
l: V * (8 + u2 * 3)
|
|
1783
|
+
});
|
|
1784
|
+
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || u, this.fillType1 = this.fillType1 || z, this.fillType2 = this.fillType2 || adjust_default(u, {
|
|
1785
|
+
h: 64
|
|
1786
|
+
}), this.fillType3 = this.fillType3 || adjust_default(z, {
|
|
1787
|
+
h: 64
|
|
1788
|
+
}), this.fillType4 = this.fillType4 || adjust_default(u, {
|
|
1789
|
+
h: -64
|
|
1790
|
+
}), this.fillType5 = this.fillType5 || adjust_default(z, {
|
|
1791
|
+
h: -64
|
|
1792
|
+
}), this.fillType6 = this.fillType6 || adjust_default(u, {
|
|
1793
|
+
h: 128
|
|
1794
|
+
}), this.fillType7 = this.fillType7 || adjust_default(z, {
|
|
1795
|
+
h: 128
|
|
1796
|
+
}), this.pie1 = this.pie1 || u, this.pie2 = this.pie2 || z, this.pie3 = this.pie3 || B, this.pie4 = this.pie4 || adjust_default(u, {
|
|
1797
|
+
l: -10
|
|
1798
|
+
}), this.pie5 = this.pie5 || adjust_default(z, {
|
|
1799
|
+
l: -10
|
|
1800
|
+
}), this.pie6 = this.pie6 || adjust_default(B, {
|
|
1801
|
+
l: -10
|
|
1802
|
+
}), this.pie7 = this.pie7 || adjust_default(u, {
|
|
1803
|
+
h: 60,
|
|
1804
|
+
l: -10
|
|
1805
|
+
}), this.pie8 = this.pie8 || adjust_default(u, {
|
|
1806
|
+
h: -60,
|
|
1807
|
+
l: -10
|
|
1808
|
+
}), this.pie9 = this.pie9 || adjust_default(u, {
|
|
1809
|
+
h: 120,
|
|
1810
|
+
l: 0
|
|
1811
|
+
}), this.pie10 = this.pie10 || adjust_default(u, {
|
|
1812
|
+
h: 60,
|
|
1813
|
+
l: -20
|
|
1814
|
+
}), this.pie11 = this.pie11 || adjust_default(u, {
|
|
1815
|
+
h: -60,
|
|
1816
|
+
l: -20
|
|
1817
|
+
}), this.pie12 = this.pie12 || adjust_default(u, {
|
|
1818
|
+
h: 120,
|
|
1819
|
+
l: -10
|
|
1820
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || u, this.quadrant2Fill = this.quadrant2Fill || adjust_default(u, {
|
|
1821
|
+
r: 5,
|
|
1822
|
+
g: 5,
|
|
1823
|
+
b: 5
|
|
1824
|
+
}), this.quadrant3Fill = this.quadrant3Fill || adjust_default(u, {
|
|
1825
|
+
r: 10,
|
|
1826
|
+
g: 10,
|
|
1827
|
+
b: 10
|
|
1828
|
+
}), this.quadrant4Fill = this.quadrant4Fill || adjust_default(u, {
|
|
1829
|
+
r: 15,
|
|
1830
|
+
g: 15,
|
|
1831
|
+
b: 15
|
|
1832
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || adjust_default(this.primaryTextColor, {
|
|
1833
|
+
r: -5,
|
|
1834
|
+
g: -5,
|
|
1835
|
+
b: -5
|
|
1836
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || adjust_default(this.primaryTextColor, {
|
|
1837
|
+
r: -10,
|
|
1838
|
+
g: -10,
|
|
1839
|
+
b: -10
|
|
1840
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || adjust_default(this.primaryTextColor, {
|
|
1841
|
+
r: -15,
|
|
1842
|
+
g: -15,
|
|
1843
|
+
b: -15
|
|
1844
|
+
}), this.quadrantPointFill = this.quadrantPointFill || is_dark_default(this.quadrant1Fill) ? lighten_default(this.quadrant1Fill) : darken_default(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
1845
|
+
backgroundColor: ((_a2 = this.xyChart) == null ? void 0 : _a2.backgroundColor) || this.background,
|
|
1846
|
+
titleColor: ((_b2 = this.xyChart) == null ? void 0 : _b2.titleColor) || this.primaryTextColor,
|
|
1847
|
+
xAxisTitleColor: ((_c2 = this.xyChart) == null ? void 0 : _c2.xAxisTitleColor) || this.primaryTextColor,
|
|
1848
|
+
xAxisLabelColor: ((_d2 = this.xyChart) == null ? void 0 : _d2.xAxisLabelColor) || this.primaryTextColor,
|
|
1849
|
+
xAxisTickColor: ((_e2 = this.xyChart) == null ? void 0 : _e2.xAxisTickColor) || this.primaryTextColor,
|
|
1850
|
+
xAxisLineColor: ((_f2 = this.xyChart) == null ? void 0 : _f2.xAxisLineColor) || this.primaryTextColor,
|
|
1851
|
+
yAxisTitleColor: ((_g2 = this.xyChart) == null ? void 0 : _g2.yAxisTitleColor) || this.primaryTextColor,
|
|
1852
|
+
yAxisLabelColor: ((_h2 = this.xyChart) == null ? void 0 : _h2.yAxisLabelColor) || this.primaryTextColor,
|
|
1853
|
+
yAxisTickColor: ((_i2 = this.xyChart) == null ? void 0 : _i2.yAxisTickColor) || this.primaryTextColor,
|
|
1854
|
+
yAxisLineColor: ((_j2 = this.xyChart) == null ? void 0 : _j2.yAxisLineColor) || this.primaryTextColor,
|
|
1855
|
+
plotColorPalette: ((_k2 = this.xyChart) == null ? void 0 : _k2.plotColorPalette) || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
1856
|
+
}, this.requirementBackground = this.requirementBackground || u, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? darken_default(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.requirementEdgeLabelBackground = "#FFFFFF", this.git0 = this.git0 || u, this.git1 = this.git1 || z, this.git2 = this.git2 || B, this.git3 = this.git3 || adjust_default(u, {
|
|
1857
|
+
h: -30
|
|
1858
|
+
}), this.git4 = this.git4 || adjust_default(u, {
|
|
1859
|
+
h: -60
|
|
1860
|
+
}), this.git5 = this.git5 || adjust_default(u, {
|
|
1861
|
+
h: -90
|
|
1862
|
+
}), this.git6 = this.git6 || adjust_default(u, {
|
|
1863
|
+
h: 60
|
|
1864
|
+
}), this.git7 = this.git7 || adjust_default(u, {
|
|
1865
|
+
h: 120
|
|
1866
|
+
}), this.darkMode ? (this.git0 = lighten_default(this.git0, 25), this.git1 = lighten_default(this.git1, 25), this.git2 = lighten_default(this.git2, 25), this.git3 = lighten_default(this.git3, 25), this.git4 = lighten_default(this.git4, 25), this.git5 = lighten_default(this.git5, 25), this.git6 = lighten_default(this.git6, 25), this.git7 = lighten_default(this.git7, 25)) : (this.git0 = darken_default(this.git0, 25), this.git1 = darken_default(this.git1, 25), this.git2 = darken_default(this.git2, 25), this.git3 = darken_default(this.git3, 25), this.git4 = darken_default(this.git4, 25), this.git5 = darken_default(this.git5, 25), this.git6 = darken_default(this.git6, 25), this.git7 = darken_default(this.git7, 25)), this.gitInv0 = this.gitInv0 || invert_default(this.git0), this.gitInv1 = this.gitInv1 || invert_default(this.git1), this.gitInv2 = this.gitInv2 || invert_default(this.git2), this.gitInv3 = this.gitInv3 || invert_default(this.git3), this.gitInv4 = this.gitInv4 || invert_default(this.git4), this.gitInv5 = this.gitInv5 || invert_default(this.git5), this.gitInv6 = this.gitInv6 || invert_default(this.git6), this.gitInv7 = this.gitInv7 || invert_default(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.commitLineColor = this.commitLineColor ?? "#BDBCCC", this.erEdgeLabelBackground = "#FFFFFF", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || oldAttributeBackgroundColorOdd, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || oldAttributeBackgroundColorEven;
|
|
1867
|
+
}
|
|
1868
|
+
calculate(u) {
|
|
1869
|
+
if (typeof u != "object") {
|
|
1870
|
+
this.updateColors();
|
|
1871
|
+
return;
|
|
1872
|
+
}
|
|
1873
|
+
let z = Object.keys(u);
|
|
1874
|
+
z.forEach((z2) => {
|
|
1875
|
+
this[z2] = u[z2];
|
|
1876
|
+
}), this.updateColors(), z.forEach((z2) => {
|
|
1877
|
+
this[z2] = u[z2];
|
|
1878
|
+
});
|
|
1879
|
+
}
|
|
1880
|
+
}, __name(_h, "Theme"), _h);
|
|
1881
|
+
getThemeVariables8 = __name((u) => {
|
|
1882
|
+
let z = new Theme8();
|
|
1883
|
+
return z.calculate(u), z;
|
|
1884
|
+
}, "getThemeVariables");
|
|
1885
|
+
Theme9 = (_i = class {
|
|
1886
|
+
constructor() {
|
|
1887
|
+
this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = lighten_default(this.primaryColor, 16), this.tertiaryColor = adjust_default(this.primaryColor, {
|
|
1888
|
+
h: -160
|
|
1889
|
+
}), this.primaryBorderColor = invert_default(this.background), this.secondaryBorderColor = mkBorder(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = mkBorder(this.tertiaryColor, this.darkMode), this.primaryTextColor = invert_default(this.primaryColor), this.secondaryTextColor = invert_default(this.secondaryColor), this.tertiaryTextColor = invert_default(this.tertiaryColor), this.mainBkg = "#111113", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = lighten_default(invert_default("#323D47"), 10), this.border1 = "#ccc", this.border2 = rgba_default(255, 255, 255, 0.25), this.arrowheadColor = invert_default(this.background), this.fontFamily = '"Recursive Variable", arial, sans-serif', this.fontSize = "14px", this.labelBackground = "#111113", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.noteBkgColor = this.noteBkgColor ?? "#FEF9C3", this.noteTextColor = this.noteTextColor ?? "#28253D", this.THEME_COLOR_LIMIT = 12, this.fontFamily = '"Recursive Variable", arial, sans-serif', this.fontSize = "14px", this.nodeBorder = "#FFFFFF", this.stateBorder = "#FFFFFF", this.useGradient = false, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = true, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.clusterBkg = "#1E1A2E", this.clusterBorder = "#BDBCCC", this.noteBorderColor = "#FACC15", this.noteFontWeight = 600, this.filterColor = "#FFFFFF";
|
|
1890
|
+
}
|
|
1891
|
+
updateColors() {
|
|
1892
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2;
|
|
1893
|
+
if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#FFFFFF"), this.secondaryColor = this.secondaryColor || adjust_default(this.primaryColor, {
|
|
1894
|
+
h: -120
|
|
1895
|
+
}), this.tertiaryColor = this.tertiaryColor || adjust_default(this.primaryColor, {
|
|
1896
|
+
h: 180,
|
|
1897
|
+
l: 5
|
|
1898
|
+
}), this.primaryBorderColor = this.primaryBorderColor || mkBorder(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || mkBorder(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || mkBorder(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || mkBorder(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#FFFFFF", this.secondaryTextColor = this.secondaryTextColor || invert_default(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || invert_default(this.tertiaryColor), this.lineColor = this.lineColor || invert_default(this.background), this.arrowheadColor = this.arrowheadColor || invert_default(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.border1, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? darken_default(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = "#FFFFFF", this.signalColor = "#FFFFFF", this.labelBoxBorderColor = "#BDBCCC", this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || darken_default(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || invert_default(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || lighten_default(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.compositeBackground = "#16141F", this.altBackground = "#16141F", this.compositeTitleBackground = "#16141F", this.stateEdgeLabelBackground = "#16141F", this.fontWeight = 600, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || adjust_default(this.primaryColor, {
|
|
1899
|
+
h: 30
|
|
1900
|
+
}), this.cScale4 = this.cScale4 || adjust_default(this.primaryColor, {
|
|
1901
|
+
h: 60
|
|
1902
|
+
}), this.cScale5 = this.cScale5 || adjust_default(this.primaryColor, {
|
|
1903
|
+
h: 90
|
|
1904
|
+
}), this.cScale6 = this.cScale6 || adjust_default(this.primaryColor, {
|
|
1905
|
+
h: 120
|
|
1906
|
+
}), this.cScale7 = this.cScale7 || adjust_default(this.primaryColor, {
|
|
1907
|
+
h: 150
|
|
1908
|
+
}), this.cScale8 = this.cScale8 || adjust_default(this.primaryColor, {
|
|
1909
|
+
h: 210,
|
|
1910
|
+
l: 150
|
|
1911
|
+
}), this.cScale9 = this.cScale9 || adjust_default(this.primaryColor, {
|
|
1912
|
+
h: 270
|
|
1913
|
+
}), this.cScale10 = this.cScale10 || adjust_default(this.primaryColor, {
|
|
1914
|
+
h: 300
|
|
1915
|
+
}), this.cScale11 = this.cScale11 || adjust_default(this.primaryColor, {
|
|
1916
|
+
h: 330
|
|
1917
|
+
}), this.darkMode) for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this["cScale" + u2] = darken_default(this["cScale" + u2], 75);
|
|
1918
|
+
else for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this["cScale" + u2] = darken_default(this["cScale" + u2], 25);
|
|
1919
|
+
for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this["cScaleInv" + u2] = this["cScaleInv" + u2] || invert_default(this["cScale" + u2]);
|
|
1920
|
+
for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this.darkMode ? this["cScalePeer" + u2] = this["cScalePeer" + u2] || lighten_default(this["cScale" + u2], 10) : this["cScalePeer" + u2] = this["cScalePeer" + u2] || darken_default(this["cScale" + u2], 10);
|
|
1921
|
+
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
1922
|
+
for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this["cScaleLabel" + u2] = this["cScaleLabel" + u2] || this.scaleLabelColor;
|
|
1923
|
+
let u = this.darkMode ? -4 : -1;
|
|
1924
|
+
for (let z = 0; z < 5; z++) this["surface" + z] = this["surface" + z] || adjust_default(this.mainBkg, {
|
|
1925
|
+
h: 180,
|
|
1926
|
+
s: -15,
|
|
1927
|
+
l: u * (5 + z * 3)
|
|
1928
|
+
}), this["surfacePeer" + z] = this["surfacePeer" + z] || adjust_default(this.mainBkg, {
|
|
1929
|
+
h: 180,
|
|
1930
|
+
s: -15,
|
|
1931
|
+
l: u * (8 + z * 3)
|
|
1932
|
+
});
|
|
1933
|
+
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || adjust_default(this.primaryColor, {
|
|
1934
|
+
h: 64
|
|
1935
|
+
}), this.fillType3 = this.fillType3 || adjust_default(this.secondaryColor, {
|
|
1936
|
+
h: 64
|
|
1937
|
+
}), this.fillType4 = this.fillType4 || adjust_default(this.primaryColor, {
|
|
1938
|
+
h: -64
|
|
1939
|
+
}), this.fillType5 = this.fillType5 || adjust_default(this.secondaryColor, {
|
|
1940
|
+
h: -64
|
|
1941
|
+
}), this.fillType6 = this.fillType6 || adjust_default(this.primaryColor, {
|
|
1942
|
+
h: 128
|
|
1943
|
+
}), this.fillType7 = this.fillType7 || adjust_default(this.secondaryColor, {
|
|
1944
|
+
h: 128
|
|
1945
|
+
}), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || adjust_default(this.primaryColor, {
|
|
1946
|
+
l: -10
|
|
1947
|
+
}), this.pie5 = this.pie5 || adjust_default(this.secondaryColor, {
|
|
1948
|
+
l: -10
|
|
1949
|
+
}), this.pie6 = this.pie6 || adjust_default(this.tertiaryColor, {
|
|
1950
|
+
l: -10
|
|
1951
|
+
}), this.pie7 = this.pie7 || adjust_default(this.primaryColor, {
|
|
1952
|
+
h: 60,
|
|
1953
|
+
l: -10
|
|
1954
|
+
}), this.pie8 = this.pie8 || adjust_default(this.primaryColor, {
|
|
1955
|
+
h: -60,
|
|
1956
|
+
l: -10
|
|
1957
|
+
}), this.pie9 = this.pie9 || adjust_default(this.primaryColor, {
|
|
1958
|
+
h: 120,
|
|
1959
|
+
l: 0
|
|
1960
|
+
}), this.pie10 = this.pie10 || adjust_default(this.primaryColor, {
|
|
1961
|
+
h: 60,
|
|
1962
|
+
l: -20
|
|
1963
|
+
}), this.pie11 = this.pie11 || adjust_default(this.primaryColor, {
|
|
1964
|
+
h: -60,
|
|
1965
|
+
l: -20
|
|
1966
|
+
}), this.pie12 = this.pie12 || adjust_default(this.primaryColor, {
|
|
1967
|
+
h: 120,
|
|
1968
|
+
l: -10
|
|
1969
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || adjust_default(this.primaryColor, {
|
|
1970
|
+
r: 5,
|
|
1971
|
+
g: 5,
|
|
1972
|
+
b: 5
|
|
1973
|
+
}), this.quadrant3Fill = this.quadrant3Fill || adjust_default(this.primaryColor, {
|
|
1974
|
+
r: 10,
|
|
1975
|
+
g: 10,
|
|
1976
|
+
b: 10
|
|
1977
|
+
}), this.quadrant4Fill = this.quadrant4Fill || adjust_default(this.primaryColor, {
|
|
1978
|
+
r: 15,
|
|
1979
|
+
g: 15,
|
|
1980
|
+
b: 15
|
|
1981
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || adjust_default(this.primaryTextColor, {
|
|
1982
|
+
r: -5,
|
|
1983
|
+
g: -5,
|
|
1984
|
+
b: -5
|
|
1985
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || adjust_default(this.primaryTextColor, {
|
|
1986
|
+
r: -10,
|
|
1987
|
+
g: -10,
|
|
1988
|
+
b: -10
|
|
1989
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || adjust_default(this.primaryTextColor, {
|
|
1990
|
+
r: -15,
|
|
1991
|
+
g: -15,
|
|
1992
|
+
b: -15
|
|
1993
|
+
}), this.quadrantPointFill = this.quadrantPointFill || is_dark_default(this.quadrant1Fill) ? lighten_default(this.quadrant1Fill) : darken_default(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
1994
|
+
backgroundColor: ((_a2 = this.xyChart) == null ? void 0 : _a2.backgroundColor) || this.background,
|
|
1995
|
+
titleColor: ((_b2 = this.xyChart) == null ? void 0 : _b2.titleColor) || this.primaryTextColor,
|
|
1996
|
+
xAxisTitleColor: ((_c2 = this.xyChart) == null ? void 0 : _c2.xAxisTitleColor) || this.primaryTextColor,
|
|
1997
|
+
xAxisLabelColor: ((_d2 = this.xyChart) == null ? void 0 : _d2.xAxisLabelColor) || this.primaryTextColor,
|
|
1998
|
+
xAxisTickColor: ((_e2 = this.xyChart) == null ? void 0 : _e2.xAxisTickColor) || this.primaryTextColor,
|
|
1999
|
+
xAxisLineColor: ((_f2 = this.xyChart) == null ? void 0 : _f2.xAxisLineColor) || this.primaryTextColor,
|
|
2000
|
+
yAxisTitleColor: ((_g2 = this.xyChart) == null ? void 0 : _g2.yAxisTitleColor) || this.primaryTextColor,
|
|
2001
|
+
yAxisLabelColor: ((_h2 = this.xyChart) == null ? void 0 : _h2.yAxisLabelColor) || this.primaryTextColor,
|
|
2002
|
+
yAxisTickColor: ((_i2 = this.xyChart) == null ? void 0 : _i2.yAxisTickColor) || this.primaryTextColor,
|
|
2003
|
+
yAxisLineColor: ((_j2 = this.xyChart) == null ? void 0 : _j2.yAxisLineColor) || this.primaryTextColor,
|
|
2004
|
+
plotColorPalette: ((_k2 = this.xyChart) == null ? void 0 : _k2.plotColorPalette) || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
2005
|
+
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? darken_default(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.requirementEdgeLabelBackground = "#16141F", this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || adjust_default(this.primaryColor, {
|
|
2006
|
+
h: -30
|
|
2007
|
+
}), this.git4 = this.git4 || adjust_default(this.primaryColor, {
|
|
2008
|
+
h: -60
|
|
2009
|
+
}), this.git5 = this.git5 || adjust_default(this.primaryColor, {
|
|
2010
|
+
h: -90
|
|
2011
|
+
}), this.git6 = this.git6 || adjust_default(this.primaryColor, {
|
|
2012
|
+
h: 60
|
|
2013
|
+
}), this.git7 = this.git7 || adjust_default(this.primaryColor, {
|
|
2014
|
+
h: 120
|
|
2015
|
+
}), this.darkMode ? (this.git0 = lighten_default(this.git0, 25), this.git1 = lighten_default(this.git1, 25), this.git2 = lighten_default(this.git2, 25), this.git3 = lighten_default(this.git3, 25), this.git4 = lighten_default(this.git4, 25), this.git5 = lighten_default(this.git5, 25), this.git6 = lighten_default(this.git6, 25), this.git7 = lighten_default(this.git7, 25)) : (this.git0 = darken_default(this.git0, 25), this.git1 = darken_default(this.git1, 25), this.git2 = darken_default(this.git2, 25), this.git3 = darken_default(this.git3, 25), this.git4 = darken_default(this.git4, 25), this.git5 = darken_default(this.git5, 25), this.git6 = darken_default(this.git6, 25), this.git7 = darken_default(this.git7, 25)), this.gitInv0 = this.gitInv0 || invert_default(this.git0), this.gitInv1 = this.gitInv1 || invert_default(this.git1), this.gitInv2 = this.gitInv2 || invert_default(this.git2), this.gitInv3 = this.gitInv3 || invert_default(this.git3), this.gitInv4 = this.gitInv4 || invert_default(this.git4), this.gitInv5 = this.gitInv5 || invert_default(this.git5), this.gitInv6 = this.gitInv6 || invert_default(this.git6), this.gitInv7 = this.gitInv7 || invert_default(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.commitLineColor = this.commitLineColor ?? "#BDBCCC", this.erEdgeLabelBackground = "#16141F", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || oldAttributeBackgroundColorOdd, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || oldAttributeBackgroundColorEven;
|
|
2016
|
+
}
|
|
2017
|
+
calculate(u) {
|
|
2018
|
+
if (typeof u != "object") {
|
|
2019
|
+
this.updateColors();
|
|
2020
|
+
return;
|
|
2021
|
+
}
|
|
2022
|
+
let z = Object.keys(u);
|
|
2023
|
+
z.forEach((z2) => {
|
|
2024
|
+
this[z2] = u[z2];
|
|
2025
|
+
}), this.updateColors(), z.forEach((z2) => {
|
|
2026
|
+
this[z2] = u[z2];
|
|
2027
|
+
});
|
|
2028
|
+
}
|
|
2029
|
+
}, __name(_i, "Theme"), _i);
|
|
2030
|
+
getThemeVariables9 = __name((u) => {
|
|
2031
|
+
let z = new Theme9();
|
|
2032
|
+
return z.calculate(u), z;
|
|
2033
|
+
}, "getThemeVariables");
|
|
2034
|
+
Theme10 = (_j = class {
|
|
2035
|
+
constructor() {
|
|
2036
|
+
this.background = "#ffffff", this.primaryColor = "#cccccc", this.mainBkg = "#ffffff", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#28253D", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.primaryBorderColor = mkBorder(this.primaryColor, this.darkMode), this.fontFamily = '"Recursive Variable", arial, sans-serif', this.fontSize = "14px", this.nodeBorder = "#28253D", this.stateBorder = "#28253D", this.useGradient = false, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = true, this.tertiaryColor = "#ffffff", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.actorBorder = "#28253D", this.noteBorderColor = "#FACC15", this.noteFontWeight = 600, this.borderColorArray = [
|
|
2037
|
+
"#E879F9",
|
|
2038
|
+
"#2DD4BF",
|
|
2039
|
+
"#FB923C",
|
|
2040
|
+
"#22D3EE",
|
|
2041
|
+
"#4ADE80",
|
|
2042
|
+
"#A78BFA",
|
|
2043
|
+
"#F87171",
|
|
2044
|
+
"#FACC15",
|
|
2045
|
+
"#818CF8",
|
|
2046
|
+
"#A3E635 ",
|
|
2047
|
+
"#38BDF8",
|
|
2048
|
+
"#FB7185"
|
|
2049
|
+
], this.bkgColorArray = [
|
|
2050
|
+
"#FDF4FF",
|
|
2051
|
+
"#F0FDFA",
|
|
2052
|
+
"#FFF7ED",
|
|
2053
|
+
"#ECFEFF",
|
|
2054
|
+
"#F0FDF4",
|
|
2055
|
+
"#F5F3FF",
|
|
2056
|
+
"#FEF2F2",
|
|
2057
|
+
"#FEFCE8",
|
|
2058
|
+
"#EEF2FF",
|
|
2059
|
+
"#F7FEE7",
|
|
2060
|
+
"#F0F9FF",
|
|
2061
|
+
"#FFF1F2"
|
|
2062
|
+
], this.filterColor = "#000000";
|
|
2063
|
+
}
|
|
2064
|
+
updateColors() {
|
|
2065
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2;
|
|
2066
|
+
this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#28253D"), this.secondaryColor = this.secondaryColor || adjust_default(this.primaryColor, {
|
|
2067
|
+
h: -120
|
|
2068
|
+
}), this.tertiaryColor = this.tertiaryColor || adjust_default(this.primaryColor, {
|
|
2069
|
+
h: 180,
|
|
2070
|
+
l: 5
|
|
2071
|
+
}), this.primaryBorderColor = this.primaryBorderColor || mkBorder(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || mkBorder(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || mkBorder(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || mkBorder(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#28253D", this.secondaryTextColor = this.secondaryTextColor || invert_default(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || invert_default(this.tertiaryColor), this.lineColor = this.lineColor || invert_default(this.background), this.arrowheadColor = this.arrowheadColor || invert_default(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? darken_default(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || darken_default(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || invert_default(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor;
|
|
2072
|
+
let u = "#ECECFE", z = "#E9E9F1", B = adjust_default(u, {
|
|
2073
|
+
h: 180,
|
|
2074
|
+
l: 5
|
|
2075
|
+
});
|
|
2076
|
+
this.sectionBkgColor = this.sectionBkgColor || B, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || z, this.sectionBkgColor2 = this.sectionBkgColor2 || u, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || u, this.activeTaskBorderColor = this.activeTaskBorderColor || u, this.activeTaskBkgColor = this.activeTaskBkgColor || lighten_default(u, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || "#f4a8ff", this.cScale1 = this.cScale1 || "#46ecd5", this.cScale2 = this.cScale2 || "#ffb86a", this.cScale3 = this.cScale3 || "#dab2ff", this.cScale4 = this.cScale4 || "#7bf1a8", this.cScale5 = this.cScale5 || "#c4b4ff", this.cScale6 = this.cScale6 || "#ffa2a2", this.cScale7 = this.cScale7 || "#ffdf20", this.cScale8 = this.cScale8 || "#a3b3ff", this.cScale9 = this.cScale9 || "#bbf451", this.cScale10 = this.cScale10 || "#74d4ff", this.cScale11 = this.cScale11 || "#ffa1ad";
|
|
2077
|
+
for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this["cScaleInv" + u2] = this["cScaleInv" + u2] || invert_default(this["cScale" + u2]);
|
|
2078
|
+
for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this.darkMode ? this["cScalePeer" + u2] = this["cScalePeer" + u2] || lighten_default(this["cScale" + u2], 10) : this["cScalePeer" + u2] = this["cScalePeer" + u2] || darken_default(this["cScale" + u2], 10);
|
|
2079
|
+
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
2080
|
+
for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this["cScaleLabel" + u2] = this["cScaleLabel" + u2] || this.scaleLabelColor;
|
|
2081
|
+
let V = this.darkMode ? -4 : -1;
|
|
2082
|
+
for (let u2 = 0; u2 < 5; u2++) this["surface" + u2] = this["surface" + u2] || adjust_default(this.mainBkg, {
|
|
2083
|
+
h: 180,
|
|
2084
|
+
s: -15,
|
|
2085
|
+
l: V * (5 + u2 * 3)
|
|
2086
|
+
}), this["surfacePeer" + u2] = this["surfacePeer" + u2] || adjust_default(this.mainBkg, {
|
|
2087
|
+
h: 180,
|
|
2088
|
+
s: -15,
|
|
2089
|
+
l: V * (8 + u2 * 3)
|
|
2090
|
+
});
|
|
2091
|
+
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || u, this.fillType1 = this.fillType1 || z, this.fillType2 = this.fillType2 || adjust_default(u, {
|
|
2092
|
+
h: 64
|
|
2093
|
+
}), this.fillType3 = this.fillType3 || adjust_default(z, {
|
|
2094
|
+
h: 64
|
|
2095
|
+
}), this.fillType4 = this.fillType4 || adjust_default(u, {
|
|
2096
|
+
h: -64
|
|
2097
|
+
}), this.fillType5 = this.fillType5 || adjust_default(z, {
|
|
2098
|
+
h: -64
|
|
2099
|
+
}), this.fillType6 = this.fillType6 || adjust_default(u, {
|
|
2100
|
+
h: 128
|
|
2101
|
+
}), this.fillType7 = this.fillType7 || adjust_default(z, {
|
|
2102
|
+
h: 128
|
|
2103
|
+
}), this.pie1 = this.pie1 || u, this.pie2 = this.pie2 || z, this.pie3 = this.pie3 || B, this.pie4 = this.pie4 || adjust_default(u, {
|
|
2104
|
+
l: -10
|
|
2105
|
+
}), this.pie5 = this.pie5 || adjust_default(z, {
|
|
2106
|
+
l: -10
|
|
2107
|
+
}), this.pie6 = this.pie6 || adjust_default(B, {
|
|
2108
|
+
l: -10
|
|
2109
|
+
}), this.pie7 = this.pie7 || adjust_default(u, {
|
|
2110
|
+
h: 60,
|
|
2111
|
+
l: -10
|
|
2112
|
+
}), this.pie8 = this.pie8 || adjust_default(u, {
|
|
2113
|
+
h: -60,
|
|
2114
|
+
l: -10
|
|
2115
|
+
}), this.pie9 = this.pie9 || adjust_default(u, {
|
|
2116
|
+
h: 120,
|
|
2117
|
+
l: 0
|
|
2118
|
+
}), this.pie10 = this.pie10 || adjust_default(u, {
|
|
2119
|
+
h: 60,
|
|
2120
|
+
l: -20
|
|
2121
|
+
}), this.pie11 = this.pie11 || adjust_default(u, {
|
|
2122
|
+
h: -60,
|
|
2123
|
+
l: -20
|
|
2124
|
+
}), this.pie12 = this.pie12 || adjust_default(u, {
|
|
2125
|
+
h: 120,
|
|
2126
|
+
l: -10
|
|
2127
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || u, this.quadrant2Fill = this.quadrant2Fill || adjust_default(u, {
|
|
2128
|
+
r: 5,
|
|
2129
|
+
g: 5,
|
|
2130
|
+
b: 5
|
|
2131
|
+
}), this.quadrant3Fill = this.quadrant3Fill || adjust_default(u, {
|
|
2132
|
+
r: 10,
|
|
2133
|
+
g: 10,
|
|
2134
|
+
b: 10
|
|
2135
|
+
}), this.quadrant4Fill = this.quadrant4Fill || adjust_default(u, {
|
|
2136
|
+
r: 15,
|
|
2137
|
+
g: 15,
|
|
2138
|
+
b: 15
|
|
2139
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || adjust_default(this.primaryTextColor, {
|
|
2140
|
+
r: -5,
|
|
2141
|
+
g: -5,
|
|
2142
|
+
b: -5
|
|
2143
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || adjust_default(this.primaryTextColor, {
|
|
2144
|
+
r: -10,
|
|
2145
|
+
g: -10,
|
|
2146
|
+
b: -10
|
|
2147
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || adjust_default(this.primaryTextColor, {
|
|
2148
|
+
r: -15,
|
|
2149
|
+
g: -15,
|
|
2150
|
+
b: -15
|
|
2151
|
+
}), this.quadrantPointFill = this.quadrantPointFill || is_dark_default(this.quadrant1Fill) ? lighten_default(this.quadrant1Fill) : darken_default(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
2152
|
+
backgroundColor: ((_a2 = this.xyChart) == null ? void 0 : _a2.backgroundColor) || this.background,
|
|
2153
|
+
titleColor: ((_b2 = this.xyChart) == null ? void 0 : _b2.titleColor) || this.primaryTextColor,
|
|
2154
|
+
xAxisTitleColor: ((_c2 = this.xyChart) == null ? void 0 : _c2.xAxisTitleColor) || this.primaryTextColor,
|
|
2155
|
+
xAxisLabelColor: ((_d2 = this.xyChart) == null ? void 0 : _d2.xAxisLabelColor) || this.primaryTextColor,
|
|
2156
|
+
xAxisTickColor: ((_e2 = this.xyChart) == null ? void 0 : _e2.xAxisTickColor) || this.primaryTextColor,
|
|
2157
|
+
xAxisLineColor: ((_f2 = this.xyChart) == null ? void 0 : _f2.xAxisLineColor) || this.primaryTextColor,
|
|
2158
|
+
yAxisTitleColor: ((_g2 = this.xyChart) == null ? void 0 : _g2.yAxisTitleColor) || this.primaryTextColor,
|
|
2159
|
+
yAxisLabelColor: ((_h2 = this.xyChart) == null ? void 0 : _h2.yAxisLabelColor) || this.primaryTextColor,
|
|
2160
|
+
yAxisTickColor: ((_i2 = this.xyChart) == null ? void 0 : _i2.yAxisTickColor) || this.primaryTextColor,
|
|
2161
|
+
yAxisLineColor: ((_j2 = this.xyChart) == null ? void 0 : _j2.yAxisLineColor) || this.primaryTextColor,
|
|
2162
|
+
plotColorPalette: ((_k2 = this.xyChart) == null ? void 0 : _k2.plotColorPalette) || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
2163
|
+
}, this.requirementBackground = this.requirementBackground || u, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? darken_default(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || u, this.git1 = this.git1 || z, this.git2 = this.git2 || B, this.git3 = this.git3 || adjust_default(u, {
|
|
2164
|
+
h: -30
|
|
2165
|
+
}), this.git4 = this.git4 || adjust_default(u, {
|
|
2166
|
+
h: -60
|
|
2167
|
+
}), this.git5 = this.git5 || adjust_default(u, {
|
|
2168
|
+
h: -90
|
|
2169
|
+
}), this.git6 = this.git6 || adjust_default(u, {
|
|
2170
|
+
h: 60
|
|
2171
|
+
}), this.git7 = this.git7 || adjust_default(u, {
|
|
2172
|
+
h: 120
|
|
2173
|
+
}), this.darkMode ? (this.git0 = lighten_default(this.git0, 25), this.git1 = lighten_default(this.git1, 25), this.git2 = lighten_default(this.git2, 25), this.git3 = lighten_default(this.git3, 25), this.git4 = lighten_default(this.git4, 25), this.git5 = lighten_default(this.git5, 25), this.git6 = lighten_default(this.git6, 25), this.git7 = lighten_default(this.git7, 25)) : (this.git0 = darken_default(this.git0, 25), this.git1 = darken_default(this.git1, 25), this.git2 = darken_default(this.git2, 25), this.git3 = darken_default(this.git3, 25), this.git4 = darken_default(this.git4, 25), this.git5 = darken_default(this.git5, 25), this.git6 = darken_default(this.git6, 25), this.git7 = darken_default(this.git7, 25)), this.gitInv0 = this.gitInv0 || invert_default(this.git0), this.gitInv1 = this.gitInv1 || invert_default(this.git1), this.gitInv2 = this.gitInv2 || invert_default(this.git2), this.gitInv3 = this.gitInv3 || invert_default(this.git3), this.gitInv4 = this.gitInv4 || invert_default(this.git4), this.gitInv5 = this.gitInv5 || invert_default(this.git5), this.gitInv6 = this.gitInv6 || invert_default(this.git6), this.gitInv7 = this.gitInv7 || invert_default(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLineColor = this.commitLineColor ?? "#BDBCCC", this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.fontWeight = 600, this.erEdgeLabelBackground = "#FFFFFF", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || oldAttributeBackgroundColorOdd, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || oldAttributeBackgroundColorEven;
|
|
2174
|
+
}
|
|
2175
|
+
calculate(u) {
|
|
2176
|
+
if (typeof u != "object") {
|
|
2177
|
+
this.updateColors();
|
|
2178
|
+
return;
|
|
2179
|
+
}
|
|
2180
|
+
let z = Object.keys(u);
|
|
2181
|
+
z.forEach((z2) => {
|
|
2182
|
+
this[z2] = u[z2];
|
|
2183
|
+
}), this.updateColors(), z.forEach((z2) => {
|
|
2184
|
+
this[z2] = u[z2];
|
|
2185
|
+
});
|
|
2186
|
+
}
|
|
2187
|
+
}, __name(_j, "Theme"), _j);
|
|
2188
|
+
getThemeVariables10 = __name((u) => {
|
|
2189
|
+
let z = new Theme10();
|
|
2190
|
+
return z.calculate(u), z;
|
|
2191
|
+
}, "getThemeVariables");
|
|
2192
|
+
Theme11 = (_k = class {
|
|
2193
|
+
constructor() {
|
|
2194
|
+
this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = lighten_default(this.primaryColor, 16), this.tertiaryColor = adjust_default(this.primaryColor, {
|
|
2195
|
+
h: -160
|
|
2196
|
+
}), this.primaryBorderColor = invert_default(this.background), this.secondaryBorderColor = mkBorder(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = mkBorder(this.tertiaryColor, this.darkMode), this.primaryTextColor = invert_default(this.primaryColor), this.secondaryTextColor = invert_default(this.secondaryColor), this.tertiaryTextColor = invert_default(this.tertiaryColor), this.mainBkg = "#111113", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = lighten_default(invert_default("#323D47"), 10), this.border1 = "#ccc", this.border2 = rgba_default(255, 255, 255, 0.25), this.arrowheadColor = invert_default(this.background), this.fontFamily = '"Recursive Variable", arial, sans-serif', this.fontSize = "14px", this.labelBackground = "#111113", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.noteBkgColor = this.noteBkgColor ?? "#FEF9C3", this.noteTextColor = this.noteTextColor ?? "#28253D", this.THEME_COLOR_LIMIT = 12, this.fontFamily = '"Recursive Variable", arial, sans-serif', this.fontSize = "14px", this.nodeBorder = "#FFFFFF", this.stateBorder = "#FFFFFF", this.useGradient = false, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = true, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.clusterBkg = "#1E1A2E", this.clusterBorder = "#BDBCCC", this.noteBorderColor = "#FACC15", this.noteFontWeight = 600, this.borderColorArray = [
|
|
2197
|
+
"#E879F9",
|
|
2198
|
+
"#2DD4BF",
|
|
2199
|
+
"#FB923C",
|
|
2200
|
+
"#22D3EE",
|
|
2201
|
+
"#4ADE80",
|
|
2202
|
+
"#A78BFA",
|
|
2203
|
+
"#F87171",
|
|
2204
|
+
"#FACC15",
|
|
2205
|
+
"#818CF8",
|
|
2206
|
+
"#A3E635 ",
|
|
2207
|
+
"#38BDF8",
|
|
2208
|
+
"#FB7185"
|
|
2209
|
+
], this.bkgColorArray = [], this.filterColor = "#FFFFFF";
|
|
2210
|
+
}
|
|
2211
|
+
updateColors() {
|
|
2212
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2;
|
|
2213
|
+
this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#FFFFFF"), this.secondaryColor = this.secondaryColor || adjust_default(this.primaryColor, {
|
|
2214
|
+
h: -120
|
|
2215
|
+
}), this.tertiaryColor = this.tertiaryColor || adjust_default(this.primaryColor, {
|
|
2216
|
+
h: 180,
|
|
2217
|
+
l: 5
|
|
2218
|
+
}), this.primaryBorderColor = this.primaryBorderColor || mkBorder(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || mkBorder(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || mkBorder(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || mkBorder(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#FFFFFF", this.secondaryTextColor = this.secondaryTextColor || invert_default(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || invert_default(this.tertiaryColor), this.lineColor = this.lineColor || invert_default(this.background), this.arrowheadColor = this.arrowheadColor || invert_default(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.border1, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? darken_default(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = "#FFFFFF", this.signalColor = "#FFFFFF", this.labelBoxBorderColor = "#BDBCCC", this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || darken_default(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || invert_default(this.lineColor), this.rectBkgColor = this.rectBkgColor || this.tertiaryColor, this.rootLabelColor = "#FFFFFF", this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || lighten_default(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || "#f4a8ff", this.cScale1 = this.cScale1 || "#46ecd5", this.cScale2 = this.cScale2 || "#ffb86a", this.cScale3 = this.cScale3 || "#dab2ff", this.cScale4 = this.cScale4 || "#7bf1a8", this.cScale5 = this.cScale5 || "#c4b4ff", this.cScale6 = this.cScale6 || "#ffa2a2", this.cScale7 = this.cScale7 || "#ffdf20", this.cScale8 = this.cScale8 || "#a3b3ff", this.cScale9 = this.cScale9 || "#bbf451", this.cScale10 = this.cScale10 || "#74d4ff", this.cScale11 = this.cScale11 || "#ffa1ad";
|
|
2219
|
+
for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this["cScaleInv" + u2] = this["cScaleInv" + u2] || invert_default(this["cScale" + u2]);
|
|
2220
|
+
for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this.darkMode ? this["cScalePeer" + u2] = this["cScalePeer" + u2] || lighten_default(this["cScale" + u2], 10) : this["cScalePeer" + u2] = this["cScalePeer" + u2] || darken_default(this["cScale" + u2], 10);
|
|
2221
|
+
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
2222
|
+
for (let u2 = 0; u2 < this.THEME_COLOR_LIMIT; u2++) this["cScaleLabel" + u2] = darken_default(this["cScale" + u2], 75);
|
|
2223
|
+
let u = this.darkMode ? -4 : -1;
|
|
2224
|
+
for (let z = 0; z < 5; z++) this["surface" + z] = this["surface" + z] || adjust_default(this.mainBkg, {
|
|
2225
|
+
h: 180,
|
|
2226
|
+
s: -15,
|
|
2227
|
+
l: u * (5 + z * 3)
|
|
2228
|
+
}), this["surfacePeer" + z] = this["surfacePeer" + z] || adjust_default(this.mainBkg, {
|
|
2229
|
+
h: 180,
|
|
2230
|
+
s: -15,
|
|
2231
|
+
l: u * (8 + z * 3)
|
|
2232
|
+
});
|
|
2233
|
+
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || adjust_default(this.primaryColor, {
|
|
2234
|
+
h: 64
|
|
2235
|
+
}), this.fillType3 = this.fillType3 || adjust_default(this.secondaryColor, {
|
|
2236
|
+
h: 64
|
|
2237
|
+
}), this.fillType4 = this.fillType4 || adjust_default(this.primaryColor, {
|
|
2238
|
+
h: -64
|
|
2239
|
+
}), this.fillType5 = this.fillType5 || adjust_default(this.secondaryColor, {
|
|
2240
|
+
h: -64
|
|
2241
|
+
}), this.fillType6 = this.fillType6 || adjust_default(this.primaryColor, {
|
|
2242
|
+
h: 128
|
|
2243
|
+
}), this.fillType7 = this.fillType7 || adjust_default(this.secondaryColor, {
|
|
2244
|
+
h: 128
|
|
2245
|
+
}), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || adjust_default(this.primaryColor, {
|
|
2246
|
+
l: -10
|
|
2247
|
+
}), this.pie5 = this.pie5 || adjust_default(this.secondaryColor, {
|
|
2248
|
+
l: -10
|
|
2249
|
+
}), this.pie6 = this.pie6 || adjust_default(this.tertiaryColor, {
|
|
2250
|
+
l: -10
|
|
2251
|
+
}), this.pie7 = this.pie7 || adjust_default(this.primaryColor, {
|
|
2252
|
+
h: 60,
|
|
2253
|
+
l: -10
|
|
2254
|
+
}), this.pie8 = this.pie8 || adjust_default(this.primaryColor, {
|
|
2255
|
+
h: -60,
|
|
2256
|
+
l: -10
|
|
2257
|
+
}), this.pie9 = this.pie9 || adjust_default(this.primaryColor, {
|
|
2258
|
+
h: 120,
|
|
2259
|
+
l: 0
|
|
2260
|
+
}), this.pie10 = this.pie10 || adjust_default(this.primaryColor, {
|
|
2261
|
+
h: 60,
|
|
2262
|
+
l: -20
|
|
2263
|
+
}), this.pie11 = this.pie11 || adjust_default(this.primaryColor, {
|
|
2264
|
+
h: -60,
|
|
2265
|
+
l: -20
|
|
2266
|
+
}), this.pie12 = this.pie12 || adjust_default(this.primaryColor, {
|
|
2267
|
+
h: 120,
|
|
2268
|
+
l: -10
|
|
2269
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || adjust_default(this.primaryColor, {
|
|
2270
|
+
r: 5,
|
|
2271
|
+
g: 5,
|
|
2272
|
+
b: 5
|
|
2273
|
+
}), this.quadrant3Fill = this.quadrant3Fill || adjust_default(this.primaryColor, {
|
|
2274
|
+
r: 10,
|
|
2275
|
+
g: 10,
|
|
2276
|
+
b: 10
|
|
2277
|
+
}), this.quadrant4Fill = this.quadrant4Fill || adjust_default(this.primaryColor, {
|
|
2278
|
+
r: 15,
|
|
2279
|
+
g: 15,
|
|
2280
|
+
b: 15
|
|
2281
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || adjust_default(this.primaryTextColor, {
|
|
2282
|
+
r: -5,
|
|
2283
|
+
g: -5,
|
|
2284
|
+
b: -5
|
|
2285
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || adjust_default(this.primaryTextColor, {
|
|
2286
|
+
r: -10,
|
|
2287
|
+
g: -10,
|
|
2288
|
+
b: -10
|
|
2289
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || adjust_default(this.primaryTextColor, {
|
|
2290
|
+
r: -15,
|
|
2291
|
+
g: -15,
|
|
2292
|
+
b: -15
|
|
2293
|
+
}), this.quadrantPointFill = this.quadrantPointFill || is_dark_default(this.quadrant1Fill) ? lighten_default(this.quadrant1Fill) : darken_default(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
2294
|
+
backgroundColor: ((_a2 = this.xyChart) == null ? void 0 : _a2.backgroundColor) || this.background,
|
|
2295
|
+
titleColor: ((_b2 = this.xyChart) == null ? void 0 : _b2.titleColor) || this.primaryTextColor,
|
|
2296
|
+
xAxisTitleColor: ((_c2 = this.xyChart) == null ? void 0 : _c2.xAxisTitleColor) || this.primaryTextColor,
|
|
2297
|
+
xAxisLabelColor: ((_d2 = this.xyChart) == null ? void 0 : _d2.xAxisLabelColor) || this.primaryTextColor,
|
|
2298
|
+
xAxisTickColor: ((_e2 = this.xyChart) == null ? void 0 : _e2.xAxisTickColor) || this.primaryTextColor,
|
|
2299
|
+
xAxisLineColor: ((_f2 = this.xyChart) == null ? void 0 : _f2.xAxisLineColor) || this.primaryTextColor,
|
|
2300
|
+
yAxisTitleColor: ((_g2 = this.xyChart) == null ? void 0 : _g2.yAxisTitleColor) || this.primaryTextColor,
|
|
2301
|
+
yAxisLabelColor: ((_h2 = this.xyChart) == null ? void 0 : _h2.yAxisLabelColor) || this.primaryTextColor,
|
|
2302
|
+
yAxisTickColor: ((_i2 = this.xyChart) == null ? void 0 : _i2.yAxisTickColor) || this.primaryTextColor,
|
|
2303
|
+
yAxisLineColor: ((_j2 = this.xyChart) == null ? void 0 : _j2.yAxisLineColor) || this.primaryTextColor,
|
|
2304
|
+
plotColorPalette: ((_k2 = this.xyChart) == null ? void 0 : _k2.plotColorPalette) || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
2305
|
+
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? darken_default(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || adjust_default(this.primaryColor, {
|
|
2306
|
+
h: -30
|
|
2307
|
+
}), this.git4 = this.git4 || adjust_default(this.primaryColor, {
|
|
2308
|
+
h: -60
|
|
2309
|
+
}), this.git5 = this.git5 || adjust_default(this.primaryColor, {
|
|
2310
|
+
h: -90
|
|
2311
|
+
}), this.git6 = this.git6 || adjust_default(this.primaryColor, {
|
|
2312
|
+
h: 60
|
|
2313
|
+
}), this.git7 = this.git7 || adjust_default(this.primaryColor, {
|
|
2314
|
+
h: 120
|
|
2315
|
+
}), this.darkMode ? (this.git0 = lighten_default(this.git0, 25), this.git1 = lighten_default(this.git1, 25), this.git2 = lighten_default(this.git2, 25), this.git3 = lighten_default(this.git3, 25), this.git4 = lighten_default(this.git4, 25), this.git5 = lighten_default(this.git5, 25), this.git6 = lighten_default(this.git6, 25), this.git7 = lighten_default(this.git7, 25)) : (this.git0 = darken_default(this.git0, 25), this.git1 = darken_default(this.git1, 25), this.git2 = darken_default(this.git2, 25), this.git3 = darken_default(this.git3, 25), this.git4 = darken_default(this.git4, 25), this.git5 = darken_default(this.git5, 25), this.git6 = darken_default(this.git6, 25), this.git7 = darken_default(this.git7, 25)), this.gitInv0 = this.gitInv0 || invert_default(this.git0), this.gitInv1 = this.gitInv1 || invert_default(this.git1), this.gitInv2 = this.gitInv2 || invert_default(this.git2), this.gitInv3 = this.gitInv3 || invert_default(this.git3), this.gitInv4 = this.gitInv4 || invert_default(this.git4), this.gitInv5 = this.gitInv5 || invert_default(this.git5), this.gitInv6 = this.gitInv6 || invert_default(this.git6), this.gitInv7 = this.gitInv7 || invert_default(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.commitLineColor = this.commitLineColor ?? "#BDBCCC", this.fontWeight = 600, this.erEdgeLabelBackground = "#16141F", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || oldAttributeBackgroundColorOdd, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || oldAttributeBackgroundColorEven;
|
|
2316
|
+
}
|
|
2317
|
+
calculate(u) {
|
|
2318
|
+
if (typeof u != "object") {
|
|
2319
|
+
this.updateColors();
|
|
2320
|
+
return;
|
|
2321
|
+
}
|
|
2322
|
+
let z = Object.keys(u);
|
|
2323
|
+
z.forEach((z2) => {
|
|
2324
|
+
this[z2] = u[z2];
|
|
2325
|
+
}), this.updateColors(), z.forEach((z2) => {
|
|
2326
|
+
this[z2] = u[z2];
|
|
2327
|
+
});
|
|
2328
|
+
}
|
|
2329
|
+
}, __name(_k, "Theme"), _k);
|
|
2330
|
+
getThemeVariables11 = __name((u) => {
|
|
2331
|
+
let z = new Theme11();
|
|
2332
|
+
return z.calculate(u), z;
|
|
2333
|
+
}, "getThemeVariables");
|
|
2334
|
+
themes_default = {
|
|
2335
|
+
base: {
|
|
2336
|
+
getThemeVariables
|
|
2337
|
+
},
|
|
2338
|
+
dark: {
|
|
2339
|
+
getThemeVariables: getThemeVariables2
|
|
2340
|
+
},
|
|
2341
|
+
default: {
|
|
2342
|
+
getThemeVariables: getThemeVariables3
|
|
2343
|
+
},
|
|
2344
|
+
forest: {
|
|
2345
|
+
getThemeVariables: getThemeVariables4
|
|
2346
|
+
},
|
|
2347
|
+
neutral: {
|
|
2348
|
+
getThemeVariables: getThemeVariables5
|
|
2349
|
+
},
|
|
2350
|
+
neo: {
|
|
2351
|
+
getThemeVariables: getThemeVariables6
|
|
2352
|
+
},
|
|
2353
|
+
"neo-dark": {
|
|
2354
|
+
getThemeVariables: getThemeVariables7
|
|
2355
|
+
},
|
|
2356
|
+
redux: {
|
|
2357
|
+
getThemeVariables: getThemeVariables8
|
|
2358
|
+
},
|
|
2359
|
+
"redux-dark": {
|
|
2360
|
+
getThemeVariables: getThemeVariables9
|
|
2361
|
+
},
|
|
2362
|
+
"redux-color": {
|
|
2363
|
+
getThemeVariables: getThemeVariables10
|
|
2364
|
+
},
|
|
2365
|
+
"redux-dark-color": {
|
|
2366
|
+
getThemeVariables: getThemeVariables11
|
|
2367
|
+
}
|
|
2368
|
+
};
|
|
2369
|
+
config_schema_default = {
|
|
2370
|
+
flowchart: {
|
|
2371
|
+
useMaxWidth: true,
|
|
2372
|
+
titleTopMargin: 25,
|
|
2373
|
+
subGraphTitleMargin: {
|
|
2374
|
+
top: 0,
|
|
2375
|
+
bottom: 0
|
|
2376
|
+
},
|
|
2377
|
+
diagramPadding: 8,
|
|
2378
|
+
htmlLabels: null,
|
|
2379
|
+
nodeSpacing: 50,
|
|
2380
|
+
rankSpacing: 50,
|
|
2381
|
+
curve: "basis",
|
|
2382
|
+
padding: 15,
|
|
2383
|
+
defaultRenderer: "dagre-wrapper",
|
|
2384
|
+
wrappingWidth: 200,
|
|
2385
|
+
inheritDir: false
|
|
2386
|
+
},
|
|
2387
|
+
swimlane: {
|
|
2388
|
+
useMaxWidth: true,
|
|
2389
|
+
lineHops: "arc",
|
|
2390
|
+
ignoreCrossLaneEdges: true,
|
|
2391
|
+
optimizeRanksByCrossings: true,
|
|
2392
|
+
automaticLaneOrdering: false
|
|
2393
|
+
},
|
|
2394
|
+
sequence: {
|
|
2395
|
+
useMaxWidth: true,
|
|
2396
|
+
hideUnusedParticipants: false,
|
|
2397
|
+
activationWidth: 10,
|
|
2398
|
+
diagramMarginX: 50,
|
|
2399
|
+
diagramMarginY: 10,
|
|
2400
|
+
actorMargin: 50,
|
|
2401
|
+
width: 150,
|
|
2402
|
+
height: 65,
|
|
2403
|
+
boxMargin: 10,
|
|
2404
|
+
boxTextMargin: 5,
|
|
2405
|
+
noteMargin: 10,
|
|
2406
|
+
messageMargin: 35,
|
|
2407
|
+
messageAlign: "center",
|
|
2408
|
+
mirrorActors: true,
|
|
2409
|
+
forceMenus: false,
|
|
2410
|
+
bottomMarginAdj: 1,
|
|
2411
|
+
rightAngles: false,
|
|
2412
|
+
showSequenceNumbers: false,
|
|
2413
|
+
actorFontSize: 14,
|
|
2414
|
+
actorFontFamily: '"Open Sans", sans-serif',
|
|
2415
|
+
actorFontWeight: 400,
|
|
2416
|
+
noteFontSize: 14,
|
|
2417
|
+
noteFontFamily: '"trebuchet ms", verdana, arial, sans-serif',
|
|
2418
|
+
noteFontWeight: 400,
|
|
2419
|
+
noteAlign: "center",
|
|
2420
|
+
messageFontSize: 16,
|
|
2421
|
+
messageFontFamily: '"trebuchet ms", verdana, arial, sans-serif',
|
|
2422
|
+
messageFontWeight: 400,
|
|
2423
|
+
wrap: false,
|
|
2424
|
+
wrapPadding: 10,
|
|
2425
|
+
labelBoxWidth: 50,
|
|
2426
|
+
labelBoxHeight: 20
|
|
2427
|
+
},
|
|
2428
|
+
gantt: {
|
|
2429
|
+
useMaxWidth: true,
|
|
2430
|
+
titleTopMargin: 25,
|
|
2431
|
+
barHeight: 20,
|
|
2432
|
+
barGap: 4,
|
|
2433
|
+
topPadding: 50,
|
|
2434
|
+
rightPadding: 75,
|
|
2435
|
+
leftPadding: 75,
|
|
2436
|
+
gridLineStartPadding: 35,
|
|
2437
|
+
fontSize: 11,
|
|
2438
|
+
sectionFontSize: 11,
|
|
2439
|
+
numberSectionStyles: 4,
|
|
2440
|
+
axisFormat: "%Y-%m-%d",
|
|
2441
|
+
topAxis: false,
|
|
2442
|
+
displayMode: "",
|
|
2443
|
+
weekday: "sunday"
|
|
2444
|
+
},
|
|
2445
|
+
journey: {
|
|
2446
|
+
useMaxWidth: true,
|
|
2447
|
+
diagramMarginX: 50,
|
|
2448
|
+
diagramMarginY: 10,
|
|
2449
|
+
leftMargin: 150,
|
|
2450
|
+
maxLabelWidth: 360,
|
|
2451
|
+
width: 150,
|
|
2452
|
+
height: 50,
|
|
2453
|
+
boxMargin: 10,
|
|
2454
|
+
boxTextMargin: 5,
|
|
2455
|
+
noteMargin: 10,
|
|
2456
|
+
messageMargin: 35,
|
|
2457
|
+
messageAlign: "center",
|
|
2458
|
+
bottomMarginAdj: 1,
|
|
2459
|
+
rightAngles: false,
|
|
2460
|
+
taskFontSize: 14,
|
|
2461
|
+
taskFontFamily: '"Open Sans", sans-serif',
|
|
2462
|
+
taskMargin: 50,
|
|
2463
|
+
activationWidth: 10,
|
|
2464
|
+
textPlacement: "fo",
|
|
2465
|
+
actorColours: [
|
|
2466
|
+
"#8FBC8F",
|
|
2467
|
+
"#7CFC00",
|
|
2468
|
+
"#00FFFF",
|
|
2469
|
+
"#20B2AA",
|
|
2470
|
+
"#B0E0E6",
|
|
2471
|
+
"#FFFFE0"
|
|
2472
|
+
],
|
|
2473
|
+
sectionFills: [
|
|
2474
|
+
"#191970",
|
|
2475
|
+
"#8B008B",
|
|
2476
|
+
"#4B0082",
|
|
2477
|
+
"#2F4F4F",
|
|
2478
|
+
"#800000",
|
|
2479
|
+
"#8B4513",
|
|
2480
|
+
"#00008B"
|
|
2481
|
+
],
|
|
2482
|
+
sectionColours: [
|
|
2483
|
+
"#fff"
|
|
2484
|
+
],
|
|
2485
|
+
titleColor: "",
|
|
2486
|
+
titleFontFamily: '"trebuchet ms", verdana, arial, sans-serif',
|
|
2487
|
+
titleFontSize: "4ex"
|
|
2488
|
+
},
|
|
2489
|
+
class: {
|
|
2490
|
+
useMaxWidth: true,
|
|
2491
|
+
titleTopMargin: 25,
|
|
2492
|
+
arrowMarkerAbsolute: false,
|
|
2493
|
+
dividerMargin: 10,
|
|
2494
|
+
padding: 5,
|
|
2495
|
+
textHeight: 10,
|
|
2496
|
+
defaultRenderer: "dagre-wrapper",
|
|
2497
|
+
htmlLabels: false,
|
|
2498
|
+
hideEmptyMembersBox: false,
|
|
2499
|
+
hierarchicalNamespaces: true
|
|
2500
|
+
},
|
|
2501
|
+
state: {
|
|
2502
|
+
useMaxWidth: true,
|
|
2503
|
+
titleTopMargin: 25,
|
|
2504
|
+
dividerMargin: 10,
|
|
2505
|
+
sizeUnit: 5,
|
|
2506
|
+
padding: 8,
|
|
2507
|
+
textHeight: 10,
|
|
2508
|
+
titleShift: -15,
|
|
2509
|
+
noteMargin: 10,
|
|
2510
|
+
forkWidth: 70,
|
|
2511
|
+
forkHeight: 7,
|
|
2512
|
+
miniPadding: 2,
|
|
2513
|
+
fontSizeFactor: 5.02,
|
|
2514
|
+
fontSize: 24,
|
|
2515
|
+
labelHeight: 16,
|
|
2516
|
+
edgeLengthFactor: "20",
|
|
2517
|
+
compositTitleSize: 35,
|
|
2518
|
+
radius: 5,
|
|
2519
|
+
defaultRenderer: "dagre-wrapper"
|
|
2520
|
+
},
|
|
2521
|
+
er: {
|
|
2522
|
+
useMaxWidth: true,
|
|
2523
|
+
titleTopMargin: 25,
|
|
2524
|
+
diagramPadding: 20,
|
|
2525
|
+
layoutDirection: "TB",
|
|
2526
|
+
minEntityWidth: 100,
|
|
2527
|
+
minEntityHeight: 75,
|
|
2528
|
+
entityPadding: 15,
|
|
2529
|
+
nodeSpacing: 140,
|
|
2530
|
+
rankSpacing: 80,
|
|
2531
|
+
stroke: "gray",
|
|
2532
|
+
fill: "honeydew",
|
|
2533
|
+
fontSize: 12
|
|
2534
|
+
},
|
|
2535
|
+
pie: {
|
|
2536
|
+
useMaxWidth: true,
|
|
2537
|
+
textPosition: 0.75,
|
|
2538
|
+
donutHole: 0,
|
|
2539
|
+
legendPosition: "right",
|
|
2540
|
+
highlightSlice: ""
|
|
2541
|
+
},
|
|
2542
|
+
quadrantChart: {
|
|
2543
|
+
useMaxWidth: true,
|
|
2544
|
+
chartWidth: 500,
|
|
2545
|
+
chartHeight: 500,
|
|
2546
|
+
titleFontSize: 20,
|
|
2547
|
+
titlePadding: 10,
|
|
2548
|
+
quadrantPadding: 5,
|
|
2549
|
+
xAxisLabelPadding: 5,
|
|
2550
|
+
yAxisLabelPadding: 5,
|
|
2551
|
+
xAxisLabelFontSize: 16,
|
|
2552
|
+
yAxisLabelFontSize: 16,
|
|
2553
|
+
quadrantLabelFontSize: 16,
|
|
2554
|
+
quadrantTextTopPadding: 5,
|
|
2555
|
+
pointTextPadding: 5,
|
|
2556
|
+
pointLabelFontSize: 12,
|
|
2557
|
+
pointRadius: 5,
|
|
2558
|
+
xAxisPosition: "top",
|
|
2559
|
+
yAxisPosition: "left",
|
|
2560
|
+
quadrantInternalBorderStrokeWidth: 1,
|
|
2561
|
+
quadrantExternalBorderStrokeWidth: 2
|
|
2562
|
+
},
|
|
2563
|
+
xyChart: {
|
|
2564
|
+
useMaxWidth: true,
|
|
2565
|
+
width: 700,
|
|
2566
|
+
height: 500,
|
|
2567
|
+
titleFontSize: 20,
|
|
2568
|
+
titlePadding: 10,
|
|
2569
|
+
showDataLabel: false,
|
|
2570
|
+
showDataLabelOutsideBar: false,
|
|
2571
|
+
showTitle: true,
|
|
2572
|
+
xAxis: {
|
|
2573
|
+
$ref: "#/$defs/XYChartAxisConfig",
|
|
2574
|
+
showLabel: true,
|
|
2575
|
+
labelFontSize: 14,
|
|
2576
|
+
labelPadding: 5,
|
|
2577
|
+
showTitle: true,
|
|
2578
|
+
titleFontSize: 16,
|
|
2579
|
+
titlePadding: 5,
|
|
2580
|
+
showTick: true,
|
|
2581
|
+
tickLength: 5,
|
|
2582
|
+
tickWidth: 2,
|
|
2583
|
+
showAxisLine: true,
|
|
2584
|
+
axisLineWidth: 2,
|
|
2585
|
+
labelRotation: 0
|
|
2586
|
+
},
|
|
2587
|
+
yAxis: {
|
|
2588
|
+
$ref: "#/$defs/XYChartAxisConfig",
|
|
2589
|
+
showLabel: true,
|
|
2590
|
+
labelFontSize: 14,
|
|
2591
|
+
labelPadding: 5,
|
|
2592
|
+
showTitle: true,
|
|
2593
|
+
titleFontSize: 16,
|
|
2594
|
+
titlePadding: 5,
|
|
2595
|
+
showTick: true,
|
|
2596
|
+
tickLength: 5,
|
|
2597
|
+
tickWidth: 2,
|
|
2598
|
+
showAxisLine: true,
|
|
2599
|
+
axisLineWidth: 2,
|
|
2600
|
+
labelRotation: 0
|
|
2601
|
+
},
|
|
2602
|
+
chartOrientation: "vertical",
|
|
2603
|
+
plotReservedSpacePercent: 50
|
|
2604
|
+
},
|
|
2605
|
+
requirement: {
|
|
2606
|
+
useMaxWidth: true,
|
|
2607
|
+
rect_fill: "#f9f9f9",
|
|
2608
|
+
text_color: "#333",
|
|
2609
|
+
rect_border_size: "0.5px",
|
|
2610
|
+
rect_border_color: "#bbb",
|
|
2611
|
+
rect_min_width: 200,
|
|
2612
|
+
rect_min_height: 200,
|
|
2613
|
+
fontSize: 14,
|
|
2614
|
+
rect_padding: 10,
|
|
2615
|
+
line_height: 20
|
|
2616
|
+
},
|
|
2617
|
+
mindmap: {
|
|
2618
|
+
useMaxWidth: true,
|
|
2619
|
+
padding: 10,
|
|
2620
|
+
maxNodeWidth: 200,
|
|
2621
|
+
layoutAlgorithm: "cose-bilkent"
|
|
2622
|
+
},
|
|
2623
|
+
ishikawa: {
|
|
2624
|
+
useMaxWidth: true,
|
|
2625
|
+
diagramPadding: 20
|
|
2626
|
+
},
|
|
2627
|
+
kanban: {
|
|
2628
|
+
useMaxWidth: true,
|
|
2629
|
+
padding: 8,
|
|
2630
|
+
sectionWidth: 200,
|
|
2631
|
+
ticketBaseUrl: ""
|
|
2632
|
+
},
|
|
2633
|
+
timeline: {
|
|
2634
|
+
useMaxWidth: true,
|
|
2635
|
+
diagramMarginX: 50,
|
|
2636
|
+
diagramMarginY: 10,
|
|
2637
|
+
leftMargin: 150,
|
|
2638
|
+
width: 150,
|
|
2639
|
+
height: 50,
|
|
2640
|
+
boxMargin: 10,
|
|
2641
|
+
boxTextMargin: 5,
|
|
2642
|
+
noteMargin: 10,
|
|
2643
|
+
messageMargin: 35,
|
|
2644
|
+
messageAlign: "center",
|
|
2645
|
+
bottomMarginAdj: 1,
|
|
2646
|
+
rightAngles: false,
|
|
2647
|
+
taskFontSize: 14,
|
|
2648
|
+
taskFontFamily: '"Open Sans", sans-serif',
|
|
2649
|
+
taskMargin: 50,
|
|
2650
|
+
activationWidth: 10,
|
|
2651
|
+
textPlacement: "fo",
|
|
2652
|
+
actorColours: [
|
|
2653
|
+
"#8FBC8F",
|
|
2654
|
+
"#7CFC00",
|
|
2655
|
+
"#00FFFF",
|
|
2656
|
+
"#20B2AA",
|
|
2657
|
+
"#B0E0E6",
|
|
2658
|
+
"#FFFFE0"
|
|
2659
|
+
],
|
|
2660
|
+
sectionFills: [
|
|
2661
|
+
"#191970",
|
|
2662
|
+
"#8B008B",
|
|
2663
|
+
"#4B0082",
|
|
2664
|
+
"#2F4F4F",
|
|
2665
|
+
"#800000",
|
|
2666
|
+
"#8B4513",
|
|
2667
|
+
"#00008B"
|
|
2668
|
+
],
|
|
2669
|
+
sectionColours: [
|
|
2670
|
+
"#fff"
|
|
2671
|
+
],
|
|
2672
|
+
disableMulticolor: false
|
|
2673
|
+
},
|
|
2674
|
+
gitGraph: {
|
|
2675
|
+
useMaxWidth: true,
|
|
2676
|
+
titleTopMargin: 25,
|
|
2677
|
+
diagramPadding: 8,
|
|
2678
|
+
nodeLabel: {
|
|
2679
|
+
width: 75,
|
|
2680
|
+
height: 100,
|
|
2681
|
+
x: -25,
|
|
2682
|
+
y: 0
|
|
2683
|
+
},
|
|
2684
|
+
mainBranchName: "main",
|
|
2685
|
+
mainBranchOrder: 0,
|
|
2686
|
+
showCommitLabel: true,
|
|
2687
|
+
showBranches: true,
|
|
2688
|
+
rotateCommitLabel: true,
|
|
2689
|
+
parallelCommits: false,
|
|
2690
|
+
arrowMarkerAbsolute: false
|
|
2691
|
+
},
|
|
2692
|
+
c4: {
|
|
2693
|
+
useMaxWidth: true,
|
|
2694
|
+
diagramMarginX: 50,
|
|
2695
|
+
diagramMarginY: 10,
|
|
2696
|
+
c4ShapeMargin: 50,
|
|
2697
|
+
c4ShapePadding: 20,
|
|
2698
|
+
width: 216,
|
|
2699
|
+
height: 60,
|
|
2700
|
+
boxMargin: 10,
|
|
2701
|
+
c4ShapeInRow: 4,
|
|
2702
|
+
nextLinePaddingX: 0,
|
|
2703
|
+
c4BoundaryInRow: 2,
|
|
2704
|
+
personFontSize: 14,
|
|
2705
|
+
personFontFamily: '"Open Sans", sans-serif',
|
|
2706
|
+
personFontWeight: "normal",
|
|
2707
|
+
external_personFontSize: 14,
|
|
2708
|
+
external_personFontFamily: '"Open Sans", sans-serif',
|
|
2709
|
+
external_personFontWeight: "normal",
|
|
2710
|
+
systemFontSize: 14,
|
|
2711
|
+
systemFontFamily: '"Open Sans", sans-serif',
|
|
2712
|
+
systemFontWeight: "normal",
|
|
2713
|
+
external_systemFontSize: 14,
|
|
2714
|
+
external_systemFontFamily: '"Open Sans", sans-serif',
|
|
2715
|
+
external_systemFontWeight: "normal",
|
|
2716
|
+
system_dbFontSize: 14,
|
|
2717
|
+
system_dbFontFamily: '"Open Sans", sans-serif',
|
|
2718
|
+
system_dbFontWeight: "normal",
|
|
2719
|
+
external_system_dbFontSize: 14,
|
|
2720
|
+
external_system_dbFontFamily: '"Open Sans", sans-serif',
|
|
2721
|
+
external_system_dbFontWeight: "normal",
|
|
2722
|
+
system_queueFontSize: 14,
|
|
2723
|
+
system_queueFontFamily: '"Open Sans", sans-serif',
|
|
2724
|
+
system_queueFontWeight: "normal",
|
|
2725
|
+
external_system_queueFontSize: 14,
|
|
2726
|
+
external_system_queueFontFamily: '"Open Sans", sans-serif',
|
|
2727
|
+
external_system_queueFontWeight: "normal",
|
|
2728
|
+
boundaryFontSize: 14,
|
|
2729
|
+
boundaryFontFamily: '"Open Sans", sans-serif',
|
|
2730
|
+
boundaryFontWeight: "normal",
|
|
2731
|
+
messageFontSize: 12,
|
|
2732
|
+
messageFontFamily: '"Open Sans", sans-serif',
|
|
2733
|
+
messageFontWeight: "normal",
|
|
2734
|
+
containerFontSize: 14,
|
|
2735
|
+
containerFontFamily: '"Open Sans", sans-serif',
|
|
2736
|
+
containerFontWeight: "normal",
|
|
2737
|
+
external_containerFontSize: 14,
|
|
2738
|
+
external_containerFontFamily: '"Open Sans", sans-serif',
|
|
2739
|
+
external_containerFontWeight: "normal",
|
|
2740
|
+
container_dbFontSize: 14,
|
|
2741
|
+
container_dbFontFamily: '"Open Sans", sans-serif',
|
|
2742
|
+
container_dbFontWeight: "normal",
|
|
2743
|
+
external_container_dbFontSize: 14,
|
|
2744
|
+
external_container_dbFontFamily: '"Open Sans", sans-serif',
|
|
2745
|
+
external_container_dbFontWeight: "normal",
|
|
2746
|
+
container_queueFontSize: 14,
|
|
2747
|
+
container_queueFontFamily: '"Open Sans", sans-serif',
|
|
2748
|
+
container_queueFontWeight: "normal",
|
|
2749
|
+
external_container_queueFontSize: 14,
|
|
2750
|
+
external_container_queueFontFamily: '"Open Sans", sans-serif',
|
|
2751
|
+
external_container_queueFontWeight: "normal",
|
|
2752
|
+
componentFontSize: 14,
|
|
2753
|
+
componentFontFamily: '"Open Sans", sans-serif',
|
|
2754
|
+
componentFontWeight: "normal",
|
|
2755
|
+
external_componentFontSize: 14,
|
|
2756
|
+
external_componentFontFamily: '"Open Sans", sans-serif',
|
|
2757
|
+
external_componentFontWeight: "normal",
|
|
2758
|
+
component_dbFontSize: 14,
|
|
2759
|
+
component_dbFontFamily: '"Open Sans", sans-serif',
|
|
2760
|
+
component_dbFontWeight: "normal",
|
|
2761
|
+
external_component_dbFontSize: 14,
|
|
2762
|
+
external_component_dbFontFamily: '"Open Sans", sans-serif',
|
|
2763
|
+
external_component_dbFontWeight: "normal",
|
|
2764
|
+
component_queueFontSize: 14,
|
|
2765
|
+
component_queueFontFamily: '"Open Sans", sans-serif',
|
|
2766
|
+
component_queueFontWeight: "normal",
|
|
2767
|
+
external_component_queueFontSize: 14,
|
|
2768
|
+
external_component_queueFontFamily: '"Open Sans", sans-serif',
|
|
2769
|
+
external_component_queueFontWeight: "normal",
|
|
2770
|
+
wrap: true,
|
|
2771
|
+
wrapPadding: 10,
|
|
2772
|
+
person_bg_color: "#08427B",
|
|
2773
|
+
person_border_color: "#073B6F",
|
|
2774
|
+
external_person_bg_color: "#686868",
|
|
2775
|
+
external_person_border_color: "#8A8A8A",
|
|
2776
|
+
system_bg_color: "#1168BD",
|
|
2777
|
+
system_border_color: "#3C7FC0",
|
|
2778
|
+
system_db_bg_color: "#1168BD",
|
|
2779
|
+
system_db_border_color: "#3C7FC0",
|
|
2780
|
+
system_queue_bg_color: "#1168BD",
|
|
2781
|
+
system_queue_border_color: "#3C7FC0",
|
|
2782
|
+
external_system_bg_color: "#999999",
|
|
2783
|
+
external_system_border_color: "#8A8A8A",
|
|
2784
|
+
external_system_db_bg_color: "#999999",
|
|
2785
|
+
external_system_db_border_color: "#8A8A8A",
|
|
2786
|
+
external_system_queue_bg_color: "#999999",
|
|
2787
|
+
external_system_queue_border_color: "#8A8A8A",
|
|
2788
|
+
container_bg_color: "#438DD5",
|
|
2789
|
+
container_border_color: "#3C7FC0",
|
|
2790
|
+
container_db_bg_color: "#438DD5",
|
|
2791
|
+
container_db_border_color: "#3C7FC0",
|
|
2792
|
+
container_queue_bg_color: "#438DD5",
|
|
2793
|
+
container_queue_border_color: "#3C7FC0",
|
|
2794
|
+
external_container_bg_color: "#B3B3B3",
|
|
2795
|
+
external_container_border_color: "#A6A6A6",
|
|
2796
|
+
external_container_db_bg_color: "#B3B3B3",
|
|
2797
|
+
external_container_db_border_color: "#A6A6A6",
|
|
2798
|
+
external_container_queue_bg_color: "#B3B3B3",
|
|
2799
|
+
external_container_queue_border_color: "#A6A6A6",
|
|
2800
|
+
component_bg_color: "#85BBF0",
|
|
2801
|
+
component_border_color: "#78A8D8",
|
|
2802
|
+
component_db_bg_color: "#85BBF0",
|
|
2803
|
+
component_db_border_color: "#78A8D8",
|
|
2804
|
+
component_queue_bg_color: "#85BBF0",
|
|
2805
|
+
component_queue_border_color: "#78A8D8",
|
|
2806
|
+
external_component_bg_color: "#CCCCCC",
|
|
2807
|
+
external_component_border_color: "#BFBFBF",
|
|
2808
|
+
external_component_db_bg_color: "#CCCCCC",
|
|
2809
|
+
external_component_db_border_color: "#BFBFBF",
|
|
2810
|
+
external_component_queue_bg_color: "#CCCCCC",
|
|
2811
|
+
external_component_queue_border_color: "#BFBFBF"
|
|
2812
|
+
},
|
|
2813
|
+
sankey: {
|
|
2814
|
+
useMaxWidth: true,
|
|
2815
|
+
width: 600,
|
|
2816
|
+
height: 400,
|
|
2817
|
+
linkColor: "gradient",
|
|
2818
|
+
nodeAlignment: "justify",
|
|
2819
|
+
showValues: true,
|
|
2820
|
+
prefix: "",
|
|
2821
|
+
suffix: "",
|
|
2822
|
+
nodeWidth: 10,
|
|
2823
|
+
nodePadding: 12,
|
|
2824
|
+
labelStyle: "legacy"
|
|
2825
|
+
},
|
|
2826
|
+
block: {
|
|
2827
|
+
useMaxWidth: true,
|
|
2828
|
+
padding: 8
|
|
2829
|
+
},
|
|
2830
|
+
packet: {
|
|
2831
|
+
useMaxWidth: true,
|
|
2832
|
+
rowHeight: 32,
|
|
2833
|
+
bitWidth: 32,
|
|
2834
|
+
bitsPerRow: 32,
|
|
2835
|
+
showBits: true,
|
|
2836
|
+
paddingX: 5,
|
|
2837
|
+
paddingY: 5
|
|
2838
|
+
},
|
|
2839
|
+
treeView: {
|
|
2840
|
+
useMaxWidth: true,
|
|
2841
|
+
rowIndent: 10,
|
|
2842
|
+
paddingX: 5,
|
|
2843
|
+
paddingY: 5,
|
|
2844
|
+
lineThickness: 1,
|
|
2845
|
+
showIcons: false,
|
|
2846
|
+
defaultIconPack: "",
|
|
2847
|
+
filenameIcons: {},
|
|
2848
|
+
extensionIcons: {}
|
|
2849
|
+
},
|
|
2850
|
+
architecture: {
|
|
2851
|
+
useMaxWidth: true,
|
|
2852
|
+
padding: 40,
|
|
2853
|
+
iconSize: 80,
|
|
2854
|
+
fontSize: 16,
|
|
2855
|
+
randomize: false,
|
|
2856
|
+
nodeSeparation: 75,
|
|
2857
|
+
idealEdgeLengthMultiplier: 1.5,
|
|
2858
|
+
edgeElasticity: 0.45,
|
|
2859
|
+
numIter: 2500,
|
|
2860
|
+
seed: 1
|
|
2861
|
+
},
|
|
2862
|
+
eventmodeling: {
|
|
2863
|
+
useMaxWidth: true,
|
|
2864
|
+
padding: 30,
|
|
2865
|
+
rowHeight: 32
|
|
2866
|
+
},
|
|
2867
|
+
radar: {
|
|
2868
|
+
useMaxWidth: true,
|
|
2869
|
+
width: 600,
|
|
2870
|
+
height: 600,
|
|
2871
|
+
marginTop: 50,
|
|
2872
|
+
marginRight: 50,
|
|
2873
|
+
marginBottom: 50,
|
|
2874
|
+
marginLeft: 50,
|
|
2875
|
+
axisScaleFactor: 1,
|
|
2876
|
+
axisLabelFactor: 1.05,
|
|
2877
|
+
curveTension: 0.17
|
|
2878
|
+
},
|
|
2879
|
+
venn: {
|
|
2880
|
+
useMaxWidth: true,
|
|
2881
|
+
width: 800,
|
|
2882
|
+
height: 450,
|
|
2883
|
+
padding: 8,
|
|
2884
|
+
useDebugLayout: false
|
|
2885
|
+
},
|
|
2886
|
+
cynefin: {
|
|
2887
|
+
useMaxWidth: true,
|
|
2888
|
+
width: 800,
|
|
2889
|
+
height: 600,
|
|
2890
|
+
padding: 40,
|
|
2891
|
+
showDomainDescriptions: true,
|
|
2892
|
+
boundaryAmplitude: 8,
|
|
2893
|
+
seed: 0
|
|
2894
|
+
},
|
|
2895
|
+
theme: "default",
|
|
2896
|
+
look: "classic",
|
|
2897
|
+
handDrawnSeed: 0,
|
|
2898
|
+
layout: "dagre",
|
|
2899
|
+
maxTextSize: 5e4,
|
|
2900
|
+
maxEdges: 500,
|
|
2901
|
+
darkMode: false,
|
|
2902
|
+
fontFamily: '"trebuchet ms", verdana, arial, sans-serif;',
|
|
2903
|
+
logLevel: 5,
|
|
2904
|
+
securityLevel: "strict",
|
|
2905
|
+
startOnLoad: true,
|
|
2906
|
+
arrowMarkerAbsolute: false,
|
|
2907
|
+
secure: [
|
|
2908
|
+
"secure",
|
|
2909
|
+
"securityLevel",
|
|
2910
|
+
"startOnLoad",
|
|
2911
|
+
"maxTextSize",
|
|
2912
|
+
"suppressErrorRendering",
|
|
2913
|
+
"maxEdges"
|
|
2914
|
+
],
|
|
2915
|
+
legacyMathML: false,
|
|
2916
|
+
forceLegacyMathML: false,
|
|
2917
|
+
deterministicIds: false,
|
|
2918
|
+
fontSize: 16,
|
|
2919
|
+
markdownAutoWrap: true,
|
|
2920
|
+
suppressErrorRendering: false
|
|
2921
|
+
};
|
|
2922
|
+
config = {
|
|
2923
|
+
...config_schema_default,
|
|
2924
|
+
deterministicIDSeed: void 0,
|
|
2925
|
+
elk: {
|
|
2926
|
+
mergeEdges: false,
|
|
2927
|
+
nodePlacementStrategy: "BRANDES_KOEPF",
|
|
2928
|
+
forceNodeModelOrder: false,
|
|
2929
|
+
considerModelOrder: "NODES_AND_EDGES"
|
|
2930
|
+
},
|
|
2931
|
+
themeCSS: void 0,
|
|
2932
|
+
themeVariables: themes_default.default.getThemeVariables(),
|
|
2933
|
+
sequence: {
|
|
2934
|
+
...config_schema_default.sequence,
|
|
2935
|
+
messageFont: __name(function() {
|
|
2936
|
+
return {
|
|
2937
|
+
fontFamily: this.messageFontFamily,
|
|
2938
|
+
fontSize: this.messageFontSize,
|
|
2939
|
+
fontWeight: this.messageFontWeight
|
|
2940
|
+
};
|
|
2941
|
+
}, "messageFont"),
|
|
2942
|
+
noteFont: __name(function() {
|
|
2943
|
+
return {
|
|
2944
|
+
fontFamily: this.noteFontFamily,
|
|
2945
|
+
fontSize: this.noteFontSize,
|
|
2946
|
+
fontWeight: this.noteFontWeight
|
|
2947
|
+
};
|
|
2948
|
+
}, "noteFont"),
|
|
2949
|
+
actorFont: __name(function() {
|
|
2950
|
+
return {
|
|
2951
|
+
fontFamily: this.actorFontFamily,
|
|
2952
|
+
fontSize: this.actorFontSize,
|
|
2953
|
+
fontWeight: this.actorFontWeight
|
|
2954
|
+
};
|
|
2955
|
+
}, "actorFont")
|
|
2956
|
+
},
|
|
2957
|
+
class: {
|
|
2958
|
+
hideEmptyMembersBox: false,
|
|
2959
|
+
hierarchicalNamespaces: true
|
|
2960
|
+
},
|
|
2961
|
+
gantt: {
|
|
2962
|
+
...config_schema_default.gantt,
|
|
2963
|
+
tickInterval: void 0,
|
|
2964
|
+
useWidth: void 0
|
|
2965
|
+
},
|
|
2966
|
+
c4: {
|
|
2967
|
+
...config_schema_default.c4,
|
|
2968
|
+
useWidth: void 0,
|
|
2969
|
+
personFont: __name(function() {
|
|
2970
|
+
return {
|
|
2971
|
+
fontFamily: this.personFontFamily,
|
|
2972
|
+
fontSize: this.personFontSize,
|
|
2973
|
+
fontWeight: this.personFontWeight
|
|
2974
|
+
};
|
|
2975
|
+
}, "personFont"),
|
|
2976
|
+
flowchart: {
|
|
2977
|
+
...config_schema_default.flowchart,
|
|
2978
|
+
inheritDir: false
|
|
2979
|
+
},
|
|
2980
|
+
external_personFont: __name(function() {
|
|
2981
|
+
return {
|
|
2982
|
+
fontFamily: this.external_personFontFamily,
|
|
2983
|
+
fontSize: this.external_personFontSize,
|
|
2984
|
+
fontWeight: this.external_personFontWeight
|
|
2985
|
+
};
|
|
2986
|
+
}, "external_personFont"),
|
|
2987
|
+
systemFont: __name(function() {
|
|
2988
|
+
return {
|
|
2989
|
+
fontFamily: this.systemFontFamily,
|
|
2990
|
+
fontSize: this.systemFontSize,
|
|
2991
|
+
fontWeight: this.systemFontWeight
|
|
2992
|
+
};
|
|
2993
|
+
}, "systemFont"),
|
|
2994
|
+
external_systemFont: __name(function() {
|
|
2995
|
+
return {
|
|
2996
|
+
fontFamily: this.external_systemFontFamily,
|
|
2997
|
+
fontSize: this.external_systemFontSize,
|
|
2998
|
+
fontWeight: this.external_systemFontWeight
|
|
2999
|
+
};
|
|
3000
|
+
}, "external_systemFont"),
|
|
3001
|
+
system_dbFont: __name(function() {
|
|
3002
|
+
return {
|
|
3003
|
+
fontFamily: this.system_dbFontFamily,
|
|
3004
|
+
fontSize: this.system_dbFontSize,
|
|
3005
|
+
fontWeight: this.system_dbFontWeight
|
|
3006
|
+
};
|
|
3007
|
+
}, "system_dbFont"),
|
|
3008
|
+
external_system_dbFont: __name(function() {
|
|
3009
|
+
return {
|
|
3010
|
+
fontFamily: this.external_system_dbFontFamily,
|
|
3011
|
+
fontSize: this.external_system_dbFontSize,
|
|
3012
|
+
fontWeight: this.external_system_dbFontWeight
|
|
3013
|
+
};
|
|
3014
|
+
}, "external_system_dbFont"),
|
|
3015
|
+
system_queueFont: __name(function() {
|
|
3016
|
+
return {
|
|
3017
|
+
fontFamily: this.system_queueFontFamily,
|
|
3018
|
+
fontSize: this.system_queueFontSize,
|
|
3019
|
+
fontWeight: this.system_queueFontWeight
|
|
3020
|
+
};
|
|
3021
|
+
}, "system_queueFont"),
|
|
3022
|
+
external_system_queueFont: __name(function() {
|
|
3023
|
+
return {
|
|
3024
|
+
fontFamily: this.external_system_queueFontFamily,
|
|
3025
|
+
fontSize: this.external_system_queueFontSize,
|
|
3026
|
+
fontWeight: this.external_system_queueFontWeight
|
|
3027
|
+
};
|
|
3028
|
+
}, "external_system_queueFont"),
|
|
3029
|
+
containerFont: __name(function() {
|
|
3030
|
+
return {
|
|
3031
|
+
fontFamily: this.containerFontFamily,
|
|
3032
|
+
fontSize: this.containerFontSize,
|
|
3033
|
+
fontWeight: this.containerFontWeight
|
|
3034
|
+
};
|
|
3035
|
+
}, "containerFont"),
|
|
3036
|
+
external_containerFont: __name(function() {
|
|
3037
|
+
return {
|
|
3038
|
+
fontFamily: this.external_containerFontFamily,
|
|
3039
|
+
fontSize: this.external_containerFontSize,
|
|
3040
|
+
fontWeight: this.external_containerFontWeight
|
|
3041
|
+
};
|
|
3042
|
+
}, "external_containerFont"),
|
|
3043
|
+
container_dbFont: __name(function() {
|
|
3044
|
+
return {
|
|
3045
|
+
fontFamily: this.container_dbFontFamily,
|
|
3046
|
+
fontSize: this.container_dbFontSize,
|
|
3047
|
+
fontWeight: this.container_dbFontWeight
|
|
3048
|
+
};
|
|
3049
|
+
}, "container_dbFont"),
|
|
3050
|
+
external_container_dbFont: __name(function() {
|
|
3051
|
+
return {
|
|
3052
|
+
fontFamily: this.external_container_dbFontFamily,
|
|
3053
|
+
fontSize: this.external_container_dbFontSize,
|
|
3054
|
+
fontWeight: this.external_container_dbFontWeight
|
|
3055
|
+
};
|
|
3056
|
+
}, "external_container_dbFont"),
|
|
3057
|
+
container_queueFont: __name(function() {
|
|
3058
|
+
return {
|
|
3059
|
+
fontFamily: this.container_queueFontFamily,
|
|
3060
|
+
fontSize: this.container_queueFontSize,
|
|
3061
|
+
fontWeight: this.container_queueFontWeight
|
|
3062
|
+
};
|
|
3063
|
+
}, "container_queueFont"),
|
|
3064
|
+
external_container_queueFont: __name(function() {
|
|
3065
|
+
return {
|
|
3066
|
+
fontFamily: this.external_container_queueFontFamily,
|
|
3067
|
+
fontSize: this.external_container_queueFontSize,
|
|
3068
|
+
fontWeight: this.external_container_queueFontWeight
|
|
3069
|
+
};
|
|
3070
|
+
}, "external_container_queueFont"),
|
|
3071
|
+
componentFont: __name(function() {
|
|
3072
|
+
return {
|
|
3073
|
+
fontFamily: this.componentFontFamily,
|
|
3074
|
+
fontSize: this.componentFontSize,
|
|
3075
|
+
fontWeight: this.componentFontWeight
|
|
3076
|
+
};
|
|
3077
|
+
}, "componentFont"),
|
|
3078
|
+
external_componentFont: __name(function() {
|
|
3079
|
+
return {
|
|
3080
|
+
fontFamily: this.external_componentFontFamily,
|
|
3081
|
+
fontSize: this.external_componentFontSize,
|
|
3082
|
+
fontWeight: this.external_componentFontWeight
|
|
3083
|
+
};
|
|
3084
|
+
}, "external_componentFont"),
|
|
3085
|
+
component_dbFont: __name(function() {
|
|
3086
|
+
return {
|
|
3087
|
+
fontFamily: this.component_dbFontFamily,
|
|
3088
|
+
fontSize: this.component_dbFontSize,
|
|
3089
|
+
fontWeight: this.component_dbFontWeight
|
|
3090
|
+
};
|
|
3091
|
+
}, "component_dbFont"),
|
|
3092
|
+
external_component_dbFont: __name(function() {
|
|
3093
|
+
return {
|
|
3094
|
+
fontFamily: this.external_component_dbFontFamily,
|
|
3095
|
+
fontSize: this.external_component_dbFontSize,
|
|
3096
|
+
fontWeight: this.external_component_dbFontWeight
|
|
3097
|
+
};
|
|
3098
|
+
}, "external_component_dbFont"),
|
|
3099
|
+
component_queueFont: __name(function() {
|
|
3100
|
+
return {
|
|
3101
|
+
fontFamily: this.component_queueFontFamily,
|
|
3102
|
+
fontSize: this.component_queueFontSize,
|
|
3103
|
+
fontWeight: this.component_queueFontWeight
|
|
3104
|
+
};
|
|
3105
|
+
}, "component_queueFont"),
|
|
3106
|
+
external_component_queueFont: __name(function() {
|
|
3107
|
+
return {
|
|
3108
|
+
fontFamily: this.external_component_queueFontFamily,
|
|
3109
|
+
fontSize: this.external_component_queueFontSize,
|
|
3110
|
+
fontWeight: this.external_component_queueFontWeight
|
|
3111
|
+
};
|
|
3112
|
+
}, "external_component_queueFont"),
|
|
3113
|
+
boundaryFont: __name(function() {
|
|
3114
|
+
return {
|
|
3115
|
+
fontFamily: this.boundaryFontFamily,
|
|
3116
|
+
fontSize: this.boundaryFontSize,
|
|
3117
|
+
fontWeight: this.boundaryFontWeight
|
|
3118
|
+
};
|
|
3119
|
+
}, "boundaryFont"),
|
|
3120
|
+
messageFont: __name(function() {
|
|
3121
|
+
return {
|
|
3122
|
+
fontFamily: this.messageFontFamily,
|
|
3123
|
+
fontSize: this.messageFontSize,
|
|
3124
|
+
fontWeight: this.messageFontWeight
|
|
3125
|
+
};
|
|
3126
|
+
}, "messageFont")
|
|
3127
|
+
},
|
|
3128
|
+
pie: {
|
|
3129
|
+
...config_schema_default.pie,
|
|
3130
|
+
useWidth: 984
|
|
3131
|
+
},
|
|
3132
|
+
xyChart: {
|
|
3133
|
+
...config_schema_default.xyChart,
|
|
3134
|
+
useWidth: void 0
|
|
3135
|
+
},
|
|
3136
|
+
requirement: {
|
|
3137
|
+
...config_schema_default.requirement,
|
|
3138
|
+
useWidth: void 0
|
|
3139
|
+
},
|
|
3140
|
+
packet: {
|
|
3141
|
+
...config_schema_default.packet
|
|
3142
|
+
},
|
|
3143
|
+
eventmodeling: {
|
|
3144
|
+
...config_schema_default.eventmodeling
|
|
3145
|
+
},
|
|
3146
|
+
treeView: {
|
|
3147
|
+
...config_schema_default.treeView,
|
|
3148
|
+
useWidth: void 0
|
|
3149
|
+
},
|
|
3150
|
+
radar: {
|
|
3151
|
+
...config_schema_default.radar
|
|
3152
|
+
},
|
|
3153
|
+
railroad: {
|
|
3154
|
+
...config_schema_default.railroad,
|
|
3155
|
+
fontSize: void 0,
|
|
3156
|
+
fontFamily: void 0,
|
|
3157
|
+
terminalFill: void 0,
|
|
3158
|
+
terminalStroke: void 0,
|
|
3159
|
+
terminalTextColor: void 0,
|
|
3160
|
+
nonTerminalFill: void 0,
|
|
3161
|
+
nonTerminalStroke: void 0,
|
|
3162
|
+
nonTerminalTextColor: void 0,
|
|
3163
|
+
lineColor: void 0,
|
|
3164
|
+
markerFill: void 0,
|
|
3165
|
+
commentFill: void 0,
|
|
3166
|
+
commentStroke: void 0,
|
|
3167
|
+
commentTextColor: void 0,
|
|
3168
|
+
specialFill: void 0,
|
|
3169
|
+
specialStroke: void 0,
|
|
3170
|
+
ruleNameColor: void 0
|
|
3171
|
+
},
|
|
3172
|
+
ishikawa: {
|
|
3173
|
+
...config_schema_default.ishikawa
|
|
3174
|
+
},
|
|
3175
|
+
sankey: {
|
|
3176
|
+
...config_schema_default.sankey,
|
|
3177
|
+
nodeColors: void 0
|
|
3178
|
+
},
|
|
3179
|
+
treemap: {
|
|
3180
|
+
useMaxWidth: true,
|
|
3181
|
+
padding: 10,
|
|
3182
|
+
diagramPadding: 8,
|
|
3183
|
+
showValues: true,
|
|
3184
|
+
nodeWidth: 100,
|
|
3185
|
+
nodeHeight: 40,
|
|
3186
|
+
borderWidth: 1,
|
|
3187
|
+
valueFontSize: 12,
|
|
3188
|
+
labelFontSize: 14,
|
|
3189
|
+
valueFormat: ","
|
|
3190
|
+
},
|
|
3191
|
+
venn: {
|
|
3192
|
+
...config_schema_default.venn
|
|
3193
|
+
},
|
|
3194
|
+
cynefin: {
|
|
3195
|
+
...config_schema_default.cynefin
|
|
3196
|
+
}
|
|
3197
|
+
};
|
|
3198
|
+
keyify = __name((u, z = "") => Object.keys(u).reduce((B, V) => Array.isArray(u[V]) ? B : typeof u[V] == "object" && u[V] !== null ? [
|
|
3199
|
+
...B,
|
|
3200
|
+
z + V,
|
|
3201
|
+
...keyify(u[V], "")
|
|
3202
|
+
] : [
|
|
3203
|
+
...B,
|
|
3204
|
+
z + V
|
|
3205
|
+
], []), "keyify");
|
|
3206
|
+
configKeys = new Set(keyify(config, ""));
|
|
3207
|
+
defaultConfig_default = config;
|
|
3208
|
+
DICTIONARY_CONFIG_PATTERNS = {
|
|
3209
|
+
nodeColors: /^#[\da-f]{3,8}$|^rgb\([\d\s%,.]+\)$|^hsl\([\d\s%,.]+\)$|^[a-z]+$/i,
|
|
3210
|
+
filenameIcons: /^[\w-]+(?::[\w-]+)?$/,
|
|
3211
|
+
extensionIcons: /^[\w-]+(?::[\w-]+)?$/
|
|
3212
|
+
};
|
|
3213
|
+
sanitizeDictionaryConfig = __name((u, B) => {
|
|
3214
|
+
for (let V of Object.keys(u)) {
|
|
3215
|
+
let H = u[V];
|
|
3216
|
+
(V.startsWith("__") || V.includes("proto") || V.includes("constr") || typeof H != "string" || !B.test(H)) && (log.debug("sanitize deleting dictionary entry:", V, H), delete u[V]);
|
|
3217
|
+
}
|
|
3218
|
+
}, "sanitizeDictionaryConfig");
|
|
3219
|
+
sanitizeDirective = __name((u) => {
|
|
3220
|
+
if (log.debug("sanitizeDirective called with", u), !(typeof u != "object" || !u)) {
|
|
3221
|
+
if (Array.isArray(u)) {
|
|
3222
|
+
u.forEach((u2) => sanitizeDirective(u2));
|
|
3223
|
+
return;
|
|
3224
|
+
}
|
|
3225
|
+
for (let B of Object.keys(u)) {
|
|
3226
|
+
if (log.debug("Checking key", B), B.startsWith("__") || B.includes("proto") || B.includes("constr") || !configKeys.has(B) || u[B] == null) {
|
|
3227
|
+
log.debug("sanitize deleting key: ", B), delete u[B];
|
|
3228
|
+
continue;
|
|
3229
|
+
}
|
|
3230
|
+
if (typeof u[B] == "object") {
|
|
3231
|
+
let V = DICTIONARY_CONFIG_PATTERNS[B];
|
|
3232
|
+
V ? sanitizeDictionaryConfig(u[B], V) : (log.debug("sanitizing object", B), sanitizeDirective(u[B]));
|
|
3233
|
+
continue;
|
|
3234
|
+
}
|
|
3235
|
+
for (let V of [
|
|
3236
|
+
"themeCSS",
|
|
3237
|
+
"fontFamily",
|
|
3238
|
+
"altFontFamily"
|
|
3239
|
+
]) B.includes(V) && (log.debug("sanitizing css option", B), u[B] = sanitizeCss(u[B]));
|
|
3240
|
+
}
|
|
3241
|
+
if (u.themeVariables) for (let z of Object.keys(u.themeVariables)) {
|
|
3242
|
+
let B = u.themeVariables[z];
|
|
3243
|
+
(B == null ? void 0 : B.match) && !B.match(/^[\d "#%(),.;A-Za-z]+$/) && (u.themeVariables[z] = "");
|
|
3244
|
+
}
|
|
3245
|
+
log.debug("After sanitization", u);
|
|
3246
|
+
}
|
|
3247
|
+
}, "sanitizeDirective");
|
|
3248
|
+
sanitizeCss = __name((u) => {
|
|
3249
|
+
let z = 0, B = 0;
|
|
3250
|
+
for (let V of u) {
|
|
3251
|
+
if (z < B) return "{ /* ERROR: Unbalanced CSS */ }";
|
|
3252
|
+
V === "{" ? z++ : V === "}" && B++;
|
|
3253
|
+
}
|
|
3254
|
+
return z === B ? u : "{ /* ERROR: Unbalanced CSS */ }";
|
|
3255
|
+
}, "sanitizeCss");
|
|
3256
|
+
defaultConfig = Object.freeze(defaultConfig_default);
|
|
3257
|
+
evaluate = __name((u) => !(u === false || [
|
|
3258
|
+
"false",
|
|
3259
|
+
"null",
|
|
3260
|
+
"0"
|
|
3261
|
+
].includes(String(u).trim().toLowerCase())), "evaluate");
|
|
3262
|
+
siteConfig = assignWithDepth_default({}, defaultConfig);
|
|
3263
|
+
directives = [];
|
|
3264
|
+
currentConfig = assignWithDepth_default({}, defaultConfig);
|
|
3265
|
+
updateCurrentConfig = __name((u, z) => {
|
|
3266
|
+
let B = assignWithDepth_default({}, u), V = {};
|
|
3267
|
+
for (let u2 of z) sanitize(u2), V = assignWithDepth_default(V, u2);
|
|
3268
|
+
if (B = assignWithDepth_default(B, V), V.theme && V.theme in themes_default) {
|
|
3269
|
+
let u2 = assignWithDepth_default(assignWithDepth_default({}, configFromInitialize).themeVariables || {}, V.themeVariables);
|
|
3270
|
+
B.theme && B.theme in themes_default && (B.themeVariables = themes_default[B.theme].getThemeVariables(u2));
|
|
3271
|
+
}
|
|
3272
|
+
return currentConfig = B, checkConfig(currentConfig), currentConfig;
|
|
3273
|
+
}, "updateCurrentConfig");
|
|
3274
|
+
setSiteConfig = __name((u) => (siteConfig = assignWithDepth_default({}, defaultConfig), siteConfig = assignWithDepth_default(siteConfig, u), u.theme && themes_default[u.theme] && (siteConfig.themeVariables = themes_default[u.theme].getThemeVariables(u.themeVariables)), updateCurrentConfig(siteConfig, directives), siteConfig), "setSiteConfig");
|
|
3275
|
+
saveConfigFromInitialize = __name((u) => {
|
|
3276
|
+
configFromInitialize = assignWithDepth_default({}, u);
|
|
3277
|
+
}, "saveConfigFromInitialize");
|
|
3278
|
+
updateSiteConfig = __name((u) => (siteConfig = assignWithDepth_default(siteConfig, u), updateCurrentConfig(siteConfig, directives), siteConfig), "updateSiteConfig");
|
|
3279
|
+
getSiteConfig = __name(() => assignWithDepth_default({}, siteConfig), "getSiteConfig");
|
|
3280
|
+
setConfig = __name((u) => (updateCurrentConfig(currentConfig, [
|
|
3281
|
+
u
|
|
3282
|
+
]), getConfig()), "setConfig");
|
|
3283
|
+
getConfig = __name(() => assignWithDepth_default({}, currentConfig), "getConfig");
|
|
3284
|
+
sanitize = __name((u) => {
|
|
3285
|
+
u && ([
|
|
3286
|
+
"secure",
|
|
3287
|
+
...siteConfig.secure ?? []
|
|
3288
|
+
].forEach((B) => {
|
|
3289
|
+
Object.hasOwn(u, B) && (log.debug(`Denied attempt to modify a secure key ${B}`, u[B]), delete u[B]);
|
|
3290
|
+
}), Object.keys(u).forEach((z) => {
|
|
3291
|
+
z.startsWith("__") && delete u[z];
|
|
3292
|
+
}), Object.keys(u).forEach((z) => {
|
|
3293
|
+
typeof u[z] == "string" && (u[z].includes("<") || u[z].includes(">") || u[z].includes("url(data:")) && delete u[z], typeof u[z] == "object" && sanitize(u[z]);
|
|
3294
|
+
}));
|
|
3295
|
+
}, "sanitize");
|
|
3296
|
+
addDirective = __name((u) => {
|
|
3297
|
+
var _a2;
|
|
3298
|
+
sanitizeDirective(u), u.fontFamily && !((_a2 = u.themeVariables) == null ? void 0 : _a2.fontFamily) && (u.themeVariables = {
|
|
3299
|
+
...u.themeVariables,
|
|
3300
|
+
fontFamily: u.fontFamily
|
|
3301
|
+
}), directives.push(u), updateCurrentConfig(siteConfig, directives);
|
|
3302
|
+
}, "addDirective");
|
|
3303
|
+
reset = __name((u = siteConfig) => {
|
|
3304
|
+
directives = [], updateCurrentConfig(u, directives);
|
|
3305
|
+
}, "reset");
|
|
3306
|
+
ConfigWarning = {
|
|
3307
|
+
LAZY_LOAD_DEPRECATED: "The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",
|
|
3308
|
+
FLOWCHART_HTML_LABELS_DEPRECATED: "flowchart.htmlLabels is deprecated. Please use global htmlLabels instead."
|
|
3309
|
+
};
|
|
3310
|
+
issuedWarnings = {};
|
|
3311
|
+
issueWarning = __name((u) => {
|
|
3312
|
+
issuedWarnings[u] || (log.warn(ConfigWarning[u]), issuedWarnings[u] = true);
|
|
3313
|
+
}, "issueWarning");
|
|
3314
|
+
checkConfig = __name((u) => {
|
|
3315
|
+
u && (u.lazyLoadedDiagrams || u.loadExternalDiagramsAtStartup) && issueWarning("LAZY_LOAD_DEPRECATED");
|
|
3316
|
+
}, "checkConfig");
|
|
3317
|
+
getUserDefinedConfig = __name(() => {
|
|
3318
|
+
let u = {};
|
|
3319
|
+
configFromInitialize && (u = assignWithDepth_default(u, configFromInitialize));
|
|
3320
|
+
for (let z of directives) u = assignWithDepth_default(u, z);
|
|
3321
|
+
return u;
|
|
3322
|
+
}, "getUserDefinedConfig");
|
|
3323
|
+
getEffectiveHtmlLabels = __name((u) => {
|
|
3324
|
+
var _a2, _b2;
|
|
3325
|
+
return ((_a2 = u.flowchart) == null ? void 0 : _a2.htmlLabels) != null && issueWarning("FLOWCHART_HTML_LABELS_DEPRECATED"), evaluate(u.htmlLabels ?? ((_b2 = u.flowchart) == null ? void 0 : _b2.htmlLabels) ?? true);
|
|
3326
|
+
}, "getEffectiveHtmlLabels");
|
|
3327
|
+
frontMatterRegex = /^([^\S\n\r]*)-{3}\s*[\n\r](.*?)[\n\r]\1-{3}\s*[\n\r]+/s;
|
|
3328
|
+
directiveRegex = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi;
|
|
3329
|
+
anyCommentRegex = /\s*%%.*\n/gm;
|
|
3330
|
+
UnknownDiagramError = (_l = class extends Error {
|
|
3331
|
+
constructor(u) {
|
|
3332
|
+
super(u), this.name = "UnknownDiagramError";
|
|
3333
|
+
}
|
|
3334
|
+
}, __name(_l, "UnknownDiagramError"), _l);
|
|
3335
|
+
detectors = {};
|
|
3336
|
+
detectType = __name(function(u, z) {
|
|
3337
|
+
u = u.replace(frontMatterRegex, "").replace(directiveRegex, "").replace(anyCommentRegex, "\n");
|
|
3338
|
+
for (let [B, { detector: V }] of Object.entries(detectors)) if (V(u, z)) return B;
|
|
3339
|
+
throw new UnknownDiagramError(`No diagram type detected matching given configuration for text: ${u}`);
|
|
3340
|
+
}, "detectType");
|
|
3341
|
+
registerLazyLoadedDiagrams = __name((...u) => {
|
|
3342
|
+
for (let { id: z, detector: B, loader: V } of u) addDetector(z, B, V);
|
|
3343
|
+
}, "registerLazyLoadedDiagrams");
|
|
3344
|
+
addDetector = __name((u, B, V) => {
|
|
3345
|
+
detectors[u] && log.warn(`Detector with key ${u} already exists. Overwriting.`), detectors[u] = {
|
|
3346
|
+
detector: B,
|
|
3347
|
+
loader: V
|
|
3348
|
+
}, log.debug(`Detector with key ${u} added${V ? " with loader" : ""}`);
|
|
3349
|
+
}, "addDetector");
|
|
3350
|
+
getDiagramLoader = __name((u) => detectors[u].loader, "getDiagramLoader");
|
|
3351
|
+
lineBreakRegex = /<br\s*\/?>/gi;
|
|
3352
|
+
getRows = __name((u) => u ? breakToPlaceholder(u).replace(/\\n/g, "#br#").split("#br#") : [
|
|
3353
|
+
""
|
|
3354
|
+
], "getRows");
|
|
3355
|
+
setupDompurifyHooksIfNotSetup = /* @__PURE__ */ (() => {
|
|
3356
|
+
let u = false;
|
|
3357
|
+
return () => {
|
|
3358
|
+
u || (u = (setupDompurifyHooks(), true));
|
|
3359
|
+
};
|
|
3360
|
+
})();
|
|
3361
|
+
function setupDompurifyHooks() {
|
|
3362
|
+
let z = "data-temp-href-target";
|
|
3363
|
+
purify.addHook("beforeSanitizeAttributes", (u) => {
|
|
3364
|
+
u.tagName === "A" && u.hasAttribute("target") && u.setAttribute(z, u.getAttribute("target") ?? "");
|
|
3365
|
+
}), purify.addHook("afterSanitizeAttributes", (u) => {
|
|
3366
|
+
u.tagName === "A" && u.hasAttribute(z) && (u.setAttribute("target", u.getAttribute(z) ?? ""), u.removeAttribute(z), u.getAttribute("target") === "_blank" && u.setAttribute("rel", "noopener"));
|
|
3367
|
+
});
|
|
3368
|
+
}
|
|
3369
|
+
__name(setupDompurifyHooks, "setupDompurifyHooks");
|
|
3370
|
+
let removeScript, sanitizeMore, sanitizeTextOrArray, hasBreaks, splitBreaks, placeholderToBreak, breakToPlaceholder, getMax, getMin, countOccurrence, shouldCombineSets, processSet, isMathMLSupported, katexRegex, renderKatexUnsanitized, d3Attrs, calculateSvgSizeAttrs, themes;
|
|
3371
|
+
removeScript = __name((z) => (setupDompurifyHooksIfNotSetup(), purify.sanitize(z)), "removeScript");
|
|
3372
|
+
sanitizeMore = __name((u, z) => {
|
|
3373
|
+
if (getEffectiveHtmlLabels(z)) {
|
|
3374
|
+
let B = z.securityLevel;
|
|
3375
|
+
B === "antiscript" || B === "strict" || B === "sandbox" ? u = removeScript(u) : B !== "loose" && (u = breakToPlaceholder(u), u = u.replace(/</g, "<").replace(/>/g, ">"), u = u.replace(/=/g, "="), u = placeholderToBreak(u));
|
|
3376
|
+
}
|
|
3377
|
+
return u;
|
|
3378
|
+
}, "sanitizeMore");
|
|
3379
|
+
sanitizeText = __name((z, B) => z && (z = B.dompurifyConfig ? purify.sanitize(sanitizeMore(z, B), B.dompurifyConfig).toString() : purify.sanitize(sanitizeMore(z, B), {
|
|
3380
|
+
FORBID_TAGS: [
|
|
3381
|
+
"style"
|
|
3382
|
+
]
|
|
3383
|
+
}).toString(), z), "sanitizeText");
|
|
3384
|
+
sanitizeTextOrArray = __name((u, z) => typeof u == "string" ? sanitizeText(u, z) : u.flat().map((u2) => sanitizeText(u2, z)), "sanitizeTextOrArray");
|
|
3385
|
+
hasBreaks = __name((u) => lineBreakRegex.test(u), "hasBreaks");
|
|
3386
|
+
splitBreaks = __name((u) => u.split(lineBreakRegex), "splitBreaks");
|
|
3387
|
+
placeholderToBreak = __name((u) => u.replace(/#br#/g, "<br/>"), "placeholderToBreak");
|
|
3388
|
+
breakToPlaceholder = __name((u) => u.replace(lineBreakRegex, "#br#"), "breakToPlaceholder");
|
|
3389
|
+
getUrl = __name((u) => {
|
|
3390
|
+
let z = "";
|
|
3391
|
+
return u && (z = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, z = CSS.escape(z)), z;
|
|
3392
|
+
}, "getUrl");
|
|
3393
|
+
getMax = __name(function(...u) {
|
|
3394
|
+
let z = u.filter((u2) => !isNaN(u2));
|
|
3395
|
+
return Math.max(...z);
|
|
3396
|
+
}, "getMax");
|
|
3397
|
+
getMin = __name(function(...u) {
|
|
3398
|
+
let z = u.filter((u2) => !isNaN(u2));
|
|
3399
|
+
return Math.min(...z);
|
|
3400
|
+
}, "getMin");
|
|
3401
|
+
parseGenericTypes = __name(function(u) {
|
|
3402
|
+
let z = u.split(/(,)/), B = [];
|
|
3403
|
+
for (let u2 = 0; u2 < z.length; u2++) {
|
|
3404
|
+
let V = z[u2];
|
|
3405
|
+
if (V === "," && u2 > 0 && u2 + 1 < z.length) {
|
|
3406
|
+
let H = z[u2 - 1], U = z[u2 + 1];
|
|
3407
|
+
shouldCombineSets(H, U) && (V = H + "," + U, u2++, B.pop());
|
|
3408
|
+
}
|
|
3409
|
+
B.push(processSet(V));
|
|
3410
|
+
}
|
|
3411
|
+
return B.join("");
|
|
3412
|
+
}, "parseGenericTypes");
|
|
3413
|
+
countOccurrence = __name((u, z) => Math.max(0, u.split(z).length - 1), "countOccurrence");
|
|
3414
|
+
shouldCombineSets = __name((u, z) => {
|
|
3415
|
+
let B = countOccurrence(u, "~"), V = countOccurrence(z, "~");
|
|
3416
|
+
return B === 1 && V === 1;
|
|
3417
|
+
}, "shouldCombineSets");
|
|
3418
|
+
processSet = __name((u) => {
|
|
3419
|
+
let z = countOccurrence(u, "~"), B = false;
|
|
3420
|
+
if (z <= 1) return u;
|
|
3421
|
+
z % 2 != 0 && u.startsWith("~") && (u = u.substring(1), B = true);
|
|
3422
|
+
let V = [
|
|
3423
|
+
...u
|
|
3424
|
+
], H = V.indexOf("~"), U = V.lastIndexOf("~");
|
|
3425
|
+
for (; H !== -1 && U !== -1 && H !== U; ) V[H] = "<", V[U] = ">", H = V.indexOf("~"), U = V.lastIndexOf("~");
|
|
3426
|
+
return B && V.unshift("~"), V.join("");
|
|
3427
|
+
}, "processSet");
|
|
3428
|
+
isMathMLSupported = __name(() => window.MathMLElement !== void 0, "isMathMLSupported");
|
|
3429
|
+
katexRegex = /\$\$(.*?)\$\$/g;
|
|
3430
|
+
hasKatex = __name((u) => {
|
|
3431
|
+
var _a2;
|
|
3432
|
+
return (((_a2 = u.match(katexRegex)) == null ? void 0 : _a2.length) ?? 0) > 0;
|
|
3433
|
+
}, "hasKatex");
|
|
3434
|
+
calculateMathMLDimensions = __name(async (u, z) => {
|
|
3435
|
+
var _a2;
|
|
3436
|
+
let B = document.createElement("div");
|
|
3437
|
+
B.innerHTML = await renderKatexSanitized(u, z), B.id = "katex-temp", B.style.visibility = "hidden", B.style.position = "absolute", B.style.top = "0", (_a2 = document.querySelector("body")) == null ? void 0 : _a2.insertAdjacentElement("beforeend", B);
|
|
3438
|
+
let V = {
|
|
3439
|
+
width: B.clientWidth,
|
|
3440
|
+
height: B.clientHeight
|
|
3441
|
+
};
|
|
3442
|
+
return B.remove(), V;
|
|
3443
|
+
}, "calculateMathMLDimensions");
|
|
3444
|
+
renderKatexUnsanitized = __name(async (u, z) => {
|
|
3445
|
+
if (!hasKatex(u)) return u;
|
|
3446
|
+
if (!(isMathMLSupported() || z.legacyMathML || z.forceLegacyMathML)) return u.replace(katexRegex, "MathML is unsupported in this environment.");
|
|
3447
|
+
{
|
|
3448
|
+
let { default: B } = await import("./katex-Ci33kJVq.js"), V = z.forceLegacyMathML || !isMathMLSupported() && z.legacyMathML ? "htmlAndMathml" : "mathml";
|
|
3449
|
+
return u.split(lineBreakRegex).map((u2) => hasKatex(u2) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${u2}</div>` : `<div>${u2}</div>`).join("").replace(katexRegex, (u2, z2) => B.renderToString(z2, {
|
|
3450
|
+
throwOnError: true,
|
|
3451
|
+
displayMode: true,
|
|
3452
|
+
output: V
|
|
3453
|
+
}).replace(/\n/g, " ").replace(/<annotation.*<\/annotation>/g, ""));
|
|
3454
|
+
}
|
|
3455
|
+
return u.replace(katexRegex, "Katex is not supported in @mermaid-js/tiny. Please use the full mermaid library.");
|
|
3456
|
+
}, "renderKatexUnsanitized");
|
|
3457
|
+
renderKatexSanitized = __name(async (u, z) => sanitizeText(await renderKatexUnsanitized(u, z), z), "renderKatexSanitized");
|
|
3458
|
+
common_default = {
|
|
3459
|
+
getRows,
|
|
3460
|
+
sanitizeText,
|
|
3461
|
+
sanitizeTextOrArray,
|
|
3462
|
+
hasBreaks,
|
|
3463
|
+
splitBreaks,
|
|
3464
|
+
lineBreakRegex,
|
|
3465
|
+
removeScript,
|
|
3466
|
+
getUrl,
|
|
3467
|
+
evaluate,
|
|
3468
|
+
getMax,
|
|
3469
|
+
getMin
|
|
3470
|
+
};
|
|
3471
|
+
d3Attrs = __name(function(u, z) {
|
|
3472
|
+
for (let B of z) u.attr(B[0], B[1]);
|
|
3473
|
+
}, "d3Attrs");
|
|
3474
|
+
calculateSvgSizeAttrs = __name(function(u, z, B) {
|
|
3475
|
+
let V = /* @__PURE__ */ new Map();
|
|
3476
|
+
return B ? (V.set("width", "100%"), V.set("style", `max-width: ${z}px;`)) : (V.set("height", u), V.set("width", z)), V;
|
|
3477
|
+
}, "calculateSvgSizeAttrs");
|
|
3478
|
+
configureSvgSize = __name(function(u, z, B, V) {
|
|
3479
|
+
d3Attrs(u, calculateSvgSizeAttrs(z, B, V));
|
|
3480
|
+
}, "configureSvgSize");
|
|
3481
|
+
setupGraphViewbox = __name(function(u, B, V, H) {
|
|
3482
|
+
let U = B.node().getBBox(), W = U.width, G = U.height;
|
|
3483
|
+
log.info(`SVG bounds: ${W}x${G}`, U);
|
|
3484
|
+
let K = 0, q = 0;
|
|
3485
|
+
log.info(`Graph bounds: ${K}x${q}`, u), K = W + V * 2, q = G + V * 2, log.info(`Calculated bounds: ${K}x${q}`), configureSvgSize(B, q, K, H);
|
|
3486
|
+
let J = `${U.x - V} ${U.y - V} ${U.width + 2 * V} ${U.height + 2 * V}`;
|
|
3487
|
+
B.attr("viewBox", J);
|
|
3488
|
+
}, "setupGraphViewbox");
|
|
3489
|
+
themes = {};
|
|
3490
|
+
cssStyleSheetToString = function(u) {
|
|
3491
|
+
return [
|
|
3492
|
+
...u.cssRules
|
|
3493
|
+
].map((u2) => u2.cssText).join("\n");
|
|
3494
|
+
};
|
|
3495
|
+
__name(cssStyleSheetToString, "cssStyleSheetToString");
|
|
3496
|
+
let getStyles, addStylesForDiagram;
|
|
3497
|
+
getStyles = __name((u, B, V, H) => {
|
|
3498
|
+
let U = "";
|
|
3499
|
+
return u in themes && themes[u] ? U = themes[u]({
|
|
3500
|
+
...V,
|
|
3501
|
+
svgId: H
|
|
3502
|
+
}) : log.warn(`No theme found for ${u}`), `& {
|
|
3503
|
+
font-family: ${V.fontFamily};
|
|
3504
|
+
font-size: ${V.fontSize};
|
|
3505
|
+
fill: ${V.textColor}
|
|
3506
|
+
}
|
|
3507
|
+
@keyframes edge-animation-frame {
|
|
3508
|
+
from {
|
|
3509
|
+
stroke-dashoffset: 0;
|
|
3510
|
+
}
|
|
3511
|
+
}
|
|
3512
|
+
@keyframes dash {
|
|
3513
|
+
to {
|
|
3514
|
+
stroke-dashoffset: 0;
|
|
3515
|
+
}
|
|
3516
|
+
}
|
|
3517
|
+
& .edge-animation-slow {
|
|
3518
|
+
stroke-dasharray: 9,5 !important;
|
|
3519
|
+
stroke-dashoffset: 900;
|
|
3520
|
+
animation: dash 50s linear infinite;
|
|
3521
|
+
stroke-linecap: round;
|
|
3522
|
+
}
|
|
3523
|
+
& .edge-animation-fast {
|
|
3524
|
+
stroke-dasharray: 9,5 !important;
|
|
3525
|
+
stroke-dashoffset: 900;
|
|
3526
|
+
animation: dash 20s linear infinite;
|
|
3527
|
+
stroke-linecap: round;
|
|
3528
|
+
}
|
|
3529
|
+
/* Classes common for multiple diagrams */
|
|
3530
|
+
|
|
3531
|
+
& .error-icon {
|
|
3532
|
+
fill: ${V.errorBkgColor};
|
|
3533
|
+
}
|
|
3534
|
+
& .error-text {
|
|
3535
|
+
fill: ${V.errorTextColor};
|
|
3536
|
+
stroke: ${V.errorTextColor};
|
|
3537
|
+
}
|
|
3538
|
+
|
|
3539
|
+
& .edge-thickness-normal {
|
|
3540
|
+
stroke-width: ${V.strokeWidth ?? 1}px;
|
|
3541
|
+
}
|
|
3542
|
+
& .edge-thickness-thick {
|
|
3543
|
+
stroke-width: 3.5px
|
|
3544
|
+
}
|
|
3545
|
+
& .edge-pattern-solid {
|
|
3546
|
+
stroke-dasharray: 0;
|
|
3547
|
+
}
|
|
3548
|
+
& .edge-thickness-invisible {
|
|
3549
|
+
stroke-width: 0;
|
|
3550
|
+
fill: none;
|
|
3551
|
+
}
|
|
3552
|
+
& .edge-pattern-dashed{
|
|
3553
|
+
stroke-dasharray: 3;
|
|
3554
|
+
}
|
|
3555
|
+
.edge-pattern-dotted {
|
|
3556
|
+
stroke-dasharray: 2;
|
|
3557
|
+
}
|
|
3558
|
+
|
|
3559
|
+
& .marker {
|
|
3560
|
+
fill: ${V.lineColor};
|
|
3561
|
+
stroke: ${V.lineColor};
|
|
3562
|
+
}
|
|
3563
|
+
& .marker.cross {
|
|
3564
|
+
stroke: ${V.lineColor};
|
|
3565
|
+
}
|
|
3566
|
+
|
|
3567
|
+
& svg {
|
|
3568
|
+
font-family: ${V.fontFamily};
|
|
3569
|
+
font-size: ${V.fontSize};
|
|
3570
|
+
}
|
|
3571
|
+
& p {
|
|
3572
|
+
margin: 0
|
|
3573
|
+
}
|
|
3574
|
+
|
|
3575
|
+
${U}
|
|
3576
|
+
.node .neo-node {
|
|
3577
|
+
stroke: ${V.nodeBorder};
|
|
3578
|
+
}
|
|
3579
|
+
|
|
3580
|
+
[data-look="neo"].node rect, [data-look="neo"].cluster rect, [data-look="neo"].node polygon {
|
|
3581
|
+
stroke: ${V.useGradient ? "url(" + H + "-gradient)" : V.nodeBorder};
|
|
3582
|
+
filter: ${V.dropShadow ? V.dropShadow.replace("url(#drop-shadow)", `url(${H}-drop-shadow)`) : "none"};
|
|
3583
|
+
}
|
|
3584
|
+
[data-look="neo"].swimlane.cluster rect {
|
|
3585
|
+
filter: none;
|
|
3586
|
+
}
|
|
3587
|
+
|
|
3588
|
+
|
|
3589
|
+
[data-look="neo"].node path {
|
|
3590
|
+
stroke: ${V.useGradient ? "url(" + H + "-gradient)" : V.nodeBorder};
|
|
3591
|
+
stroke-width: ${V.strokeWidth ?? 1}px;
|
|
3592
|
+
}
|
|
3593
|
+
|
|
3594
|
+
[data-look="neo"].node .outer-path {
|
|
3595
|
+
filter: ${V.dropShadow ? V.dropShadow.replace("url(#drop-shadow)", `url(${H}-drop-shadow)`) : "none"};
|
|
3596
|
+
}
|
|
3597
|
+
|
|
3598
|
+
[data-look="neo"].node .neo-line path {
|
|
3599
|
+
stroke: ${V.nodeBorder};
|
|
3600
|
+
filter: none;
|
|
3601
|
+
}
|
|
3602
|
+
|
|
3603
|
+
[data-look="neo"].node circle{
|
|
3604
|
+
stroke: ${V.useGradient ? "url(" + H + "-gradient)" : V.nodeBorder};
|
|
3605
|
+
filter: ${V.dropShadow ? V.dropShadow.replace("url(#drop-shadow)", `url(${H}-drop-shadow)`) : "none"};
|
|
3606
|
+
}
|
|
3607
|
+
|
|
3608
|
+
[data-look="neo"].node circle .state-start{
|
|
3609
|
+
fill: #000000;
|
|
3610
|
+
}
|
|
3611
|
+
|
|
3612
|
+
[data-look="neo"].icon-shape .icon {
|
|
3613
|
+
fill: ${V.useGradient ? "url(" + H + "-gradient)" : V.nodeBorder};
|
|
3614
|
+
filter: ${V.dropShadow ? V.dropShadow.replace("url(#drop-shadow)", `url(${H}-drop-shadow)`) : "none"};
|
|
3615
|
+
}
|
|
3616
|
+
|
|
3617
|
+
[data-look="neo"].icon-shape .icon-neo path {
|
|
3618
|
+
stroke: ${V.useGradient ? "url(" + H + "-gradient)" : V.nodeBorder};
|
|
3619
|
+
filter: ${V.dropShadow ? V.dropShadow.replace("url(#drop-shadow)", `url(${H}-drop-shadow)`) : "none"};
|
|
3620
|
+
}
|
|
3621
|
+
|
|
3622
|
+
${B}
|
|
3623
|
+
`;
|
|
3624
|
+
}, "getStyles");
|
|
3625
|
+
addStylesForDiagram = __name((u, z) => {
|
|
3626
|
+
z !== void 0 && (themes[u] = z);
|
|
3627
|
+
}, "addStylesForDiagram");
|
|
3628
|
+
styles_default = getStyles;
|
|
3629
|
+
commonDb_exports = {};
|
|
3630
|
+
__export(commonDb_exports, {
|
|
3631
|
+
clear: () => clear,
|
|
3632
|
+
getAccDescription: () => getAccDescription,
|
|
3633
|
+
getAccTitle: () => getAccTitle,
|
|
3634
|
+
getDiagramTitle: () => getDiagramTitle,
|
|
3635
|
+
setAccDescription: () => setAccDescription,
|
|
3636
|
+
setAccTitle: () => setAccTitle,
|
|
3637
|
+
setDiagramTitle: () => setDiagramTitle
|
|
3638
|
+
});
|
|
3639
|
+
let accTitle, diagramTitle, accDescription, sanitizeText2, log2, setLogLevel2, getCommonDb, diagrams, DiagramNotFoundError;
|
|
3640
|
+
accTitle = "";
|
|
3641
|
+
diagramTitle = "";
|
|
3642
|
+
accDescription = "";
|
|
3643
|
+
sanitizeText2 = __name((u) => sanitizeText(u, getConfig()), "sanitizeText");
|
|
3644
|
+
clear = __name(() => {
|
|
3645
|
+
accTitle = "", accDescription = "", diagramTitle = "";
|
|
3646
|
+
}, "clear");
|
|
3647
|
+
setAccTitle = __name((u) => {
|
|
3648
|
+
accTitle = sanitizeText2(u).replace(/^\s+/g, "");
|
|
3649
|
+
}, "setAccTitle");
|
|
3650
|
+
getAccTitle = __name(() => accTitle, "getAccTitle");
|
|
3651
|
+
setAccDescription = __name((u) => {
|
|
3652
|
+
accDescription = sanitizeText2(u).replace(/\n\s+/g, "\n");
|
|
3653
|
+
}, "setAccDescription");
|
|
3654
|
+
getAccDescription = __name(() => accDescription, "getAccDescription");
|
|
3655
|
+
setDiagramTitle = __name((u) => {
|
|
3656
|
+
diagramTitle = sanitizeText2(u);
|
|
3657
|
+
}, "setDiagramTitle");
|
|
3658
|
+
getDiagramTitle = __name(() => diagramTitle, "getDiagramTitle");
|
|
3659
|
+
log2 = log;
|
|
3660
|
+
setLogLevel2 = setLogLevel;
|
|
3661
|
+
getConfig2 = getConfig;
|
|
3662
|
+
setConfig2 = setConfig;
|
|
3663
|
+
defaultConfig2 = defaultConfig;
|
|
3664
|
+
sanitizeText3 = __name((u) => sanitizeText(u, getConfig2()), "sanitizeText");
|
|
3665
|
+
setupGraphViewbox2 = setupGraphViewbox;
|
|
3666
|
+
getCommonDb = __name(() => commonDb_exports, "getCommonDb");
|
|
3667
|
+
diagrams = {};
|
|
3668
|
+
registerDiagram = __name((u, z, B) => {
|
|
3669
|
+
var _a2;
|
|
3670
|
+
diagrams[u] && log2.warn(`Diagram with id ${u} already registered. Overwriting.`), diagrams[u] = z, B && addDetector(u, B), addStylesForDiagram(u, z.styles), (_a2 = z.injectUtils) == null ? void 0 : _a2.call(z, log2, setLogLevel2, getConfig2, sanitizeText3, setupGraphViewbox2, getCommonDb(), () => {
|
|
3671
|
+
});
|
|
3672
|
+
}, "registerDiagram");
|
|
3673
|
+
getDiagram = __name((u) => {
|
|
3674
|
+
if (u in diagrams) return diagrams[u];
|
|
3675
|
+
throw new DiagramNotFoundError(u);
|
|
3676
|
+
}, "getDiagram");
|
|
3677
|
+
DiagramNotFoundError = (_m = class extends Error {
|
|
3678
|
+
constructor(u) {
|
|
3679
|
+
super(`Diagram ${u} not found.`);
|
|
3680
|
+
}
|
|
3681
|
+
}, __name(_m, "DiagramNotFoundError"), _m);
|
|
3682
|
+
})();
|
|
3683
|
+
export {
|
|
3684
|
+
darken_default as $,
|
|
3685
|
+
hasKatex as A,
|
|
3686
|
+
sanitizeText3 as B,
|
|
3687
|
+
getDiagramLoader as C,
|
|
3688
|
+
getThemeVariables3 as D,
|
|
3689
|
+
getSiteConfig as E,
|
|
3690
|
+
renderKatexSanitized as F,
|
|
3691
|
+
setConfig2 as G,
|
|
3692
|
+
setAccDescription as H,
|
|
3693
|
+
reset as I,
|
|
3694
|
+
setupGraphViewbox as J,
|
|
3695
|
+
setDiagramTitle as K,
|
|
3696
|
+
sanitizeCss as L,
|
|
3697
|
+
parseGenericTypes as M,
|
|
3698
|
+
registerDiagram as N,
|
|
3699
|
+
getUrl as O,
|
|
3700
|
+
registerLazyLoadedDiagrams as P,
|
|
3701
|
+
updateSiteConfig as Q,
|
|
3702
|
+
sanitizeDirective as R,
|
|
3703
|
+
getDiagram as S,
|
|
3704
|
+
getEffectiveHtmlLabels as T,
|
|
3705
|
+
setAccTitle as U,
|
|
3706
|
+
saveConfigFromInitialize as V,
|
|
3707
|
+
setConfig as W,
|
|
3708
|
+
styles_default as X,
|
|
3709
|
+
setupGraphViewbox2 as Y,
|
|
3710
|
+
themes_default as Z,
|
|
3711
|
+
frontMatterRegex as _,
|
|
3712
|
+
__tla,
|
|
3713
|
+
clear as a,
|
|
3714
|
+
utils_default as at,
|
|
3715
|
+
getConfig as b,
|
|
3716
|
+
configureSvgSize as c,
|
|
3717
|
+
defaultConfig2 as d,
|
|
3718
|
+
lighten_default as et,
|
|
3719
|
+
defaultConfig_default as f,
|
|
3720
|
+
evaluate as g,
|
|
3721
|
+
directiveRegex as h,
|
|
3722
|
+
calculateMathMLDimensions as i,
|
|
3723
|
+
color_default as it,
|
|
3724
|
+
lineBreakRegex as j,
|
|
3725
|
+
getUserDefinedConfig as k,
|
|
3726
|
+
cssStyleSheetToString as l,
|
|
3727
|
+
detectors as m,
|
|
3728
|
+
addDirective as n,
|
|
3729
|
+
is_dark_default as nt,
|
|
3730
|
+
commonDb_exports as o,
|
|
3731
|
+
detectType as p,
|
|
3732
|
+
setSiteConfig as q,
|
|
3733
|
+
assignWithDepth_default as r,
|
|
3734
|
+
rgba_default as rt,
|
|
3735
|
+
common_default as s,
|
|
3736
|
+
UnknownDiagramError as t,
|
|
3737
|
+
adjust_channel_default as tt,
|
|
3738
|
+
defaultConfig as u,
|
|
3739
|
+
getAccDescription as v,
|
|
3740
|
+
getDiagramTitle as w,
|
|
3741
|
+
getConfig2 as x,
|
|
3742
|
+
getAccTitle as y,
|
|
3743
|
+
sanitizeText as z
|
|
3744
|
+
};
|