@countermeasure-platform/web-components 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +92 -0
- package/README.md +185 -0
- package/dist/_basePickBy-BNGzgD3S.js +168 -0
- package/dist/_basePickBy-BNGzgD3S.js.map +1 -0
- package/dist/_baseUniq-CSCAMor9.js +684 -0
- package/dist/_baseUniq-CSCAMor9.js.map +1 -0
- package/dist/a11y-B5pN4M_a.js +173 -0
- package/dist/a11y-B5pN4M_a.js.map +1 -0
- package/dist/alert-dialog-x70JmbHN.js +202 -0
- package/dist/alert-dialog-x70JmbHN.js.map +1 -0
- package/dist/app-switcher/index.d.ts +38 -0
- package/dist/app-switcher/index.d.ts.map +1 -0
- package/dist/app-switcher/index.js +90 -0
- package/dist/app-switcher/index.js.map +1 -0
- package/dist/appearance/index.d.ts +34 -0
- package/dist/appearance/index.d.ts.map +1 -0
- package/dist/appearance/index.js +110 -0
- package/dist/appearance/index.js.map +1 -0
- package/dist/arc-Dd7Q8ESg.js +82 -0
- package/dist/arc-Dd7Q8ESg.js.map +1 -0
- package/dist/architecture-PBZL5I3N-ZJhv7ma8.js +3 -0
- package/dist/architectureDiagram-2XIMDMQ5-Du7QH2cn.js +4048 -0
- package/dist/architectureDiagram-2XIMDMQ5-Du7QH2cn.js.map +1 -0
- package/dist/array-BjkKHsZp.js +8 -0
- package/dist/array-BjkKHsZp.js.map +1 -0
- package/dist/arrow-up-gNaqffAh.js +35 -0
- package/dist/arrow-up-gNaqffAh.js.map +1 -0
- package/dist/auth/index.d.ts +103 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/index.js +113 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/avatar-Chu9WlV5.js +102 -0
- package/dist/avatar-Chu9WlV5.js.map +1 -0
- package/dist/badge-DIbZWeHZ.js +69 -0
- package/dist/badge-DIbZWeHZ.js.map +1 -0
- package/dist/base-CBgB0j_Y.js +2096 -0
- package/dist/base-CBgB0j_Y.js.map +1 -0
- package/dist/blockDiagram-WCTKOSBZ-JlYA7IvY.js +3028 -0
- package/dist/blockDiagram-WCTKOSBZ-JlYA7IvY.js.map +1 -0
- package/dist/button-DKuKl4vs.js +69 -0
- package/dist/button-DKuKl4vs.js.map +1 -0
- package/dist/c4Diagram-IC4MRINW-BhRMN0uU.js +2967 -0
- package/dist/c4Diagram-IC4MRINW-BhRMN0uU.js.map +1 -0
- package/dist/carousel-Bh3y14sN.js +139 -0
- package/dist/carousel-Bh3y14sN.js.map +1 -0
- package/dist/channel-mQoH3HVA.js +7 -0
- package/dist/channel-mQoH3HVA.js.map +1 -0
- package/dist/charts/annotations.d.ts +15 -0
- package/dist/charts/annotations.d.ts.map +1 -0
- package/dist/charts/annotations.js +24 -0
- package/dist/charts/annotations.js.map +1 -0
- package/dist/charts/area/index.d.ts +14 -0
- package/dist/charts/area/index.d.ts.map +1 -0
- package/dist/charts/area/index.js +104 -0
- package/dist/charts/area/index.js.map +1 -0
- package/dist/charts/area/types.d.ts +8 -0
- package/dist/charts/area/types.d.ts.map +1 -0
- package/dist/charts/axis.d.ts +8 -0
- package/dist/charts/axis.d.ts.map +1 -0
- package/dist/charts/axis.js +36 -0
- package/dist/charts/axis.js.map +1 -0
- package/dist/charts/bar/index.d.ts +19 -0
- package/dist/charts/bar/index.d.ts.map +1 -0
- package/dist/charts/bar/index.js +145 -0
- package/dist/charts/bar/index.js.map +1 -0
- package/dist/charts/bar/types.d.ts +8 -0
- package/dist/charts/bar/types.d.ts.map +1 -0
- package/dist/charts/base.d.ts +90 -0
- package/dist/charts/base.d.ts.map +1 -0
- package/dist/charts/base.js +203 -0
- package/dist/charts/base.js.map +1 -0
- package/dist/charts/candlestick/index.d.ts +25 -0
- package/dist/charts/candlestick/index.d.ts.map +1 -0
- package/dist/charts/candlestick/index.js +141 -0
- package/dist/charts/candlestick/index.js.map +1 -0
- package/dist/charts/candlestick/types.d.ts +19 -0
- package/dist/charts/candlestick/types.d.ts.map +1 -0
- package/dist/charts/funnel/index.d.ts +29 -0
- package/dist/charts/funnel/index.d.ts.map +1 -0
- package/dist/charts/funnel/index.js +126 -0
- package/dist/charts/funnel/index.js.map +1 -0
- package/dist/charts/funnel/types.d.ts +16 -0
- package/dist/charts/funnel/types.d.ts.map +1 -0
- package/dist/charts/gauge/index.d.ts +26 -0
- package/dist/charts/gauge/index.d.ts.map +1 -0
- package/dist/charts/gauge/index.js +70 -0
- package/dist/charts/gauge/index.js.map +1 -0
- package/dist/charts/gauge/types.d.ts +18 -0
- package/dist/charts/gauge/types.d.ts.map +1 -0
- package/dist/charts/heatmap/index.d.ts +29 -0
- package/dist/charts/heatmap/index.d.ts.map +1 -0
- package/dist/charts/heatmap/index.js +113 -0
- package/dist/charts/heatmap/index.js.map +1 -0
- package/dist/charts/heatmap/types.d.ts +17 -0
- package/dist/charts/heatmap/types.d.ts.map +1 -0
- package/dist/charts/index.d.ts +46 -0
- package/dist/charts/index.d.ts.map +1 -0
- package/dist/charts/index.js +24 -0
- package/dist/charts/interactive.d.ts +15 -0
- package/dist/charts/interactive.d.ts.map +1 -0
- package/dist/charts/legend.d.ts +16 -0
- package/dist/charts/legend.d.ts.map +1 -0
- package/dist/charts/legend.js +43 -0
- package/dist/charts/legend.js.map +1 -0
- package/dist/charts/line/index.d.ts +14 -0
- package/dist/charts/line/index.d.ts.map +1 -0
- package/dist/charts/line/index.js +85 -0
- package/dist/charts/line/index.js.map +1 -0
- package/dist/charts/line/types.d.ts +8 -0
- package/dist/charts/line/types.d.ts.map +1 -0
- package/dist/charts/pie/index.d.ts +24 -0
- package/dist/charts/pie/index.d.ts.map +1 -0
- package/dist/charts/pie/index.js +123 -0
- package/dist/charts/pie/index.js.map +1 -0
- package/dist/charts/pie/types.d.ts +15 -0
- package/dist/charts/pie/types.d.ts.map +1 -0
- package/dist/charts/radar/index.d.ts +27 -0
- package/dist/charts/radar/index.d.ts.map +1 -0
- package/dist/charts/radar/index.js +151 -0
- package/dist/charts/radar/index.js.map +1 -0
- package/dist/charts/radar/types.d.ts +16 -0
- package/dist/charts/radar/types.d.ts.map +1 -0
- package/dist/charts/sankey/index.d.ts +29 -0
- package/dist/charts/sankey/index.d.ts.map +1 -0
- package/dist/charts/sankey/index.js +192 -0
- package/dist/charts/sankey/index.js.map +1 -0
- package/dist/charts/sankey/types.d.ts +21 -0
- package/dist/charts/sankey/types.d.ts.map +1 -0
- package/dist/charts/scatter/index.d.ts +19 -0
- package/dist/charts/scatter/index.d.ts.map +1 -0
- package/dist/charts/scatter/index.js +106 -0
- package/dist/charts/scatter/index.js.map +1 -0
- package/dist/charts/scatter/types.d.ts +6 -0
- package/dist/charts/scatter/types.d.ts.map +1 -0
- package/dist/charts/series.d.ts +11 -0
- package/dist/charts/series.d.ts.map +1 -0
- package/dist/charts/sparkline/index.d.ts +20 -0
- package/dist/charts/sparkline/index.d.ts.map +1 -0
- package/dist/charts/sparkline/index.js +99 -0
- package/dist/charts/sparkline/index.js.map +1 -0
- package/dist/charts/sparkline/types.d.ts +11 -0
- package/dist/charts/sparkline/types.d.ts.map +1 -0
- package/dist/charts/tooltip.d.ts +28 -0
- package/dist/charts/tooltip.d.ts.map +1 -0
- package/dist/charts/tooltip.js +41 -0
- package/dist/charts/tooltip.js.map +1 -0
- package/dist/charts/treemap/index.d.ts +26 -0
- package/dist/charts/treemap/index.d.ts.map +1 -0
- package/dist/charts/treemap/index.js +132 -0
- package/dist/charts/treemap/index.js.map +1 -0
- package/dist/charts/treemap/types.d.ts +15 -0
- package/dist/charts/treemap/types.d.ts.map +1 -0
- package/dist/charts/types.d.ts +71 -0
- package/dist/charts/types.d.ts.map +1 -0
- package/dist/charts/utils.d.ts +75 -0
- package/dist/charts/utils.d.ts.map +1 -0
- package/dist/charts/utils.js +113 -0
- package/dist/charts/utils.js.map +1 -0
- package/dist/charts/waterfall/index.d.ts +19 -0
- package/dist/charts/waterfall/index.d.ts.map +1 -0
- package/dist/charts/waterfall/index.js +138 -0
- package/dist/charts/waterfall/index.js.map +1 -0
- package/dist/charts/waterfall/types.d.ts +19 -0
- package/dist/charts/waterfall/types.d.ts.map +1 -0
- package/dist/charts/zoom.d.ts +32 -0
- package/dist/charts/zoom.d.ts.map +1 -0
- package/dist/charts/zoom.js +62 -0
- package/dist/charts/zoom.js.map +1 -0
- package/dist/check-D2xnnLBE.js +9 -0
- package/dist/check-D2xnnLBE.js.map +1 -0
- package/dist/chevron-down-CsLpP_71.js +9 -0
- package/dist/chevron-down-CsLpP_71.js.map +1 -0
- package/dist/chevron-right-Cz5qRdmA.js +9 -0
- package/dist/chevron-right-Cz5qRdmA.js.map +1 -0
- package/dist/chevron-up-BhaePjuF.js +9 -0
- package/dist/chevron-up-BhaePjuF.js.map +1 -0
- package/dist/chunk-4BX2VUAB-hGnoekTd.js +10 -0
- package/dist/chunk-4BX2VUAB-hGnoekTd.js.map +1 -0
- package/dist/chunk-55IACEB6-BJN5TXvX.js +11 -0
- package/dist/chunk-55IACEB6-BJN5TXvX.js.map +1 -0
- package/dist/chunk-7E7YKBS2-D5sZlDQ3.js +25 -0
- package/dist/chunk-7E7YKBS2-D5sZlDQ3.js.map +1 -0
- package/dist/chunk-7R4GIKGN-9QecSWiR.js +2054 -0
- package/dist/chunk-7R4GIKGN-9QecSWiR.js.map +1 -0
- package/dist/chunk-C72U2L5F--DXr9EKz.js +25 -0
- package/dist/chunk-C72U2L5F--DXr9EKz.js.map +1 -0
- package/dist/chunk-EGIJ26TM-B0D9vEQz.js +25 -0
- package/dist/chunk-EGIJ26TM-B0D9vEQz.js.map +1 -0
- package/dist/chunk-FMBD7UC4-Ccq-i6vu.js +7 -0
- package/dist/chunk-FMBD7UC4-Ccq-i6vu.js.map +1 -0
- package/dist/chunk-GEFDOKGD-DpHiMpV6.js +1124 -0
- package/dist/chunk-GEFDOKGD-DpHiMpV6.js.map +1 -0
- package/dist/chunk-GLR3WWYH-HerLgrS-.js +43 -0
- package/dist/chunk-GLR3WWYH-HerLgrS-.js.map +1 -0
- package/dist/chunk-HHEYEP7N-Cjt1V-hl.js +12 -0
- package/dist/chunk-HHEYEP7N-Cjt1V-hl.js.map +1 -0
- package/dist/chunk-JSJVCQXG-DTdWcs9o.js +63 -0
- package/dist/chunk-JSJVCQXG-DTdWcs9o.js.map +1 -0
- package/dist/chunk-KX2RTZJC-DUcdo_W8.js +27 -0
- package/dist/chunk-KX2RTZJC-DUcdo_W8.js.map +1 -0
- package/dist/chunk-KYZI473N-DyL0ymcr.js +3437 -0
- package/dist/chunk-KYZI473N-DyL0ymcr.js.map +1 -0
- package/dist/chunk-L3YUKLVL-Cwsx-xzL.js +25 -0
- package/dist/chunk-L3YUKLVL-Cwsx-xzL.js.map +1 -0
- package/dist/chunk-MX3YWQON-BrC3_psH.js +82 -0
- package/dist/chunk-MX3YWQON-BrC3_psH.js.map +1 -0
- package/dist/chunk-NBPlniwU.js +23 -0
- package/dist/chunk-NQ4KR5QH-kaL7nywj.js +2004 -0
- package/dist/chunk-NQ4KR5QH-kaL7nywj.js.map +1 -0
- package/dist/chunk-O4XLMI2P-DPXU-owT.js +514 -0
- package/dist/chunk-O4XLMI2P-DPXU-owT.js.map +1 -0
- package/dist/chunk-OZEHJAEY-Ds1P6-z-.js +66 -0
- package/dist/chunk-OZEHJAEY-Ds1P6-z-.js.map +1 -0
- package/dist/chunk-PQ6SQG4A-DEjy9Dhi.js +69 -0
- package/dist/chunk-PQ6SQG4A-DEjy9Dhi.js.map +1 -0
- package/dist/chunk-PU5JKC2W-CfzbN3Mu.js +1888 -0
- package/dist/chunk-PU5JKC2W-CfzbN3Mu.js.map +1 -0
- package/dist/chunk-QZHKN3VN-DYJHpXRp.js +17 -0
- package/dist/chunk-QZHKN3VN-DYJHpXRp.js.map +1 -0
- package/dist/chunk-R5LLSJPH-BQuurwR-.js +37 -0
- package/dist/chunk-R5LLSJPH-BQuurwR-.js.map +1 -0
- package/dist/chunk-WL4C6EOR-DCGop7dE.js +3198 -0
- package/dist/chunk-WL4C6EOR-DCGop7dE.js.map +1 -0
- package/dist/chunk-XIRO2GV7-CS2_2Fdn.js +32 -0
- package/dist/chunk-XIRO2GV7-CS2_2Fdn.js.map +1 -0
- package/dist/chunk-XPW4576I-CfQenFiw.js +1148 -0
- package/dist/chunk-XPW4576I-CfQenFiw.js.map +1 -0
- package/dist/chunk-XZSTWKYB-DxHspq6G.js +15799 -0
- package/dist/chunk-XZSTWKYB-DxHspq6G.js.map +1 -0
- package/dist/chunk-YBOYWFTD-Dkc3kKkT.js +34 -0
- package/dist/chunk-YBOYWFTD-Dkc3kKkT.js.map +1 -0
- package/dist/classDiagram-VBA2DB6C-Ba1kbLE7.js +31 -0
- package/dist/classDiagram-VBA2DB6C-Ba1kbLE7.js.map +1 -0
- package/dist/classDiagram-v2-RAHNMMFH-BdFCvKXE.js +31 -0
- package/dist/classDiagram-v2-RAHNMMFH-BdFCvKXE.js.map +1 -0
- package/dist/clone-CzASr4DI.js +10 -0
- package/dist/clone-CzASr4DI.js.map +1 -0
- package/dist/components/context-menu/index.d.ts +31 -0
- package/dist/components/context-menu/index.d.ts.map +1 -0
- package/dist/components/context-menu/index.js +66 -0
- package/dist/components/context-menu/index.js.map +1 -0
- package/dist/components/copy-button/index.d.ts +27 -0
- package/dist/components/copy-button/index.d.ts.map +1 -0
- package/dist/components/copy-button/index.js +43 -0
- package/dist/components/copy-button/index.js.map +1 -0
- package/dist/components/data-table/export.d.ts +8 -0
- package/dist/components/data-table/export.d.ts.map +1 -0
- package/dist/components/data-table/index.d.ts +55 -0
- package/dist/components/data-table/index.d.ts.map +1 -0
- package/dist/components/data-table/index.js +2 -0
- package/dist/components/data-table/renderers.d.ts +9 -0
- package/dist/components/data-table/renderers.d.ts.map +1 -0
- package/dist/components/data-table/types.d.ts +36 -0
- package/dist/components/data-table/types.d.ts.map +1 -0
- package/dist/components/detail-header/index.d.ts +45 -0
- package/dist/components/detail-header/index.d.ts.map +1 -0
- package/dist/components/detail-header/index.js +88 -0
- package/dist/components/detail-header/index.js.map +1 -0
- package/dist/components/index.d.ts +28 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +15 -0
- package/dist/components/log-toolbar/index.d.ts +50 -0
- package/dist/components/log-toolbar/index.d.ts.map +1 -0
- package/dist/components/log-toolbar/index.js +74 -0
- package/dist/components/log-toolbar/index.js.map +1 -0
- package/dist/components/modal/index.d.ts +27 -0
- package/dist/components/modal/index.d.ts.map +1 -0
- package/dist/components/modal/index.js +103 -0
- package/dist/components/modal/index.js.map +1 -0
- package/dist/components/modal/types.d.ts +17 -0
- package/dist/components/modal/types.d.ts.map +1 -0
- package/dist/components/pagination/index.d.ts +29 -0
- package/dist/components/pagination/index.d.ts.map +1 -0
- package/dist/components/pagination/index.js +45 -0
- package/dist/components/pagination/index.js.map +1 -0
- package/dist/components/search/command-palette.d.ts +24 -0
- package/dist/components/search/command-palette.d.ts.map +1 -0
- package/dist/components/search/command-palette.js +96 -0
- package/dist/components/search/command-palette.js.map +1 -0
- package/dist/components/search/index.d.ts +37 -0
- package/dist/components/search/index.d.ts.map +1 -0
- package/dist/components/search/index.js +175 -0
- package/dist/components/search/index.js.map +1 -0
- package/dist/components/search/types.d.ts +34 -0
- package/dist/components/search/types.d.ts.map +1 -0
- package/dist/components/split-pane/index.d.ts +37 -0
- package/dist/components/split-pane/index.d.ts.map +1 -0
- package/dist/components/split-pane/index.js +129 -0
- package/dist/components/split-pane/index.js.map +1 -0
- package/dist/components/split-pane/types.d.ts +19 -0
- package/dist/components/split-pane/types.d.ts.map +1 -0
- package/dist/components/status-bar/index.d.ts +29 -0
- package/dist/components/status-bar/index.d.ts.map +1 -0
- package/dist/components/status-bar/index.js +41 -0
- package/dist/components/status-bar/index.js.map +1 -0
- package/dist/components/tabs/index.d.ts +39 -0
- package/dist/components/tabs/index.d.ts.map +1 -0
- package/dist/components/tabs/index.js +130 -0
- package/dist/components/tabs/index.js.map +1 -0
- package/dist/components/tabs/types.d.ts +19 -0
- package/dist/components/tabs/types.d.ts.map +1 -0
- package/dist/components/toast/index.d.ts +43 -0
- package/dist/components/toast/index.d.ts.map +1 -0
- package/dist/components/toast/index.js +161 -0
- package/dist/components/toast/index.js.map +1 -0
- package/dist/components/toast/types.d.ts +17 -0
- package/dist/components/toast/types.d.ts.map +1 -0
- package/dist/components/tree-view/index.d.ts +70 -0
- package/dist/components/tree-view/index.d.ts.map +1 -0
- package/dist/components/tree-view/index.js +2 -0
- package/dist/components/tree-view/lazy.d.ts +7 -0
- package/dist/components/tree-view/lazy.d.ts.map +1 -0
- package/dist/components/tree-view/types.d.ts +24 -0
- package/dist/components/tree-view/types.d.ts.map +1 -0
- package/dist/consent/index.d.ts +86 -0
- package/dist/consent/index.d.ts.map +1 -0
- package/dist/consent/index.js +116 -0
- package/dist/consent/index.js.map +1 -0
- package/dist/copy-DLbL2paJ.js +17 -0
- package/dist/copy-DLbL2paJ.js.map +1 -0
- package/dist/cose-bilkent-S5V4N54A-Brn9HMfH.js +2253 -0
- package/dist/cose-bilkent-S5V4N54A-Brn9HMfH.js.map +1 -0
- package/dist/createLucideIcon-BPb01goH.js +44 -0
- package/dist/createLucideIcon-BPb01goH.js.map +1 -0
- package/dist/crypto/encoding-helpers.d.ts +11 -0
- package/dist/crypto/encoding-helpers.d.ts.map +1 -0
- package/dist/crypto/encoding.d.ts +59 -0
- package/dist/crypto/encoding.d.ts.map +1 -0
- package/dist/crypto/hybrid.d.ts +65 -0
- package/dist/crypto/hybrid.d.ts.map +1 -0
- package/dist/crypto/index.d.ts +103 -0
- package/dist/crypto/index.d.ts.map +1 -0
- package/dist/crypto/index.js +438 -0
- package/dist/crypto/index.js.map +1 -0
- package/dist/crypto/keys.d.ts +50 -0
- package/dist/crypto/keys.d.ts.map +1 -0
- package/dist/crypto/symmetric.d.ts +68 -0
- package/dist/crypto/symmetric.d.ts.map +1 -0
- package/dist/crypto/types.d.ts +88 -0
- package/dist/crypto/types.d.ts.map +1 -0
- package/dist/cytoscape.esm-B-Qy-QZk.js +18102 -0
- package/dist/cytoscape.esm-B-Qy-QZk.js.map +1 -0
- package/dist/dagre-AUN8SXyC.js +1485 -0
- package/dist/dagre-AUN8SXyC.js.map +1 -0
- package/dist/dagre-KLK3FWXG-B5Anf0Pr.js +296 -0
- package/dist/dagre-KLK3FWXG-B5Anf0Pr.js.map +1 -0
- package/dist/data-table-TZ_fmzbD.js +325 -0
- package/dist/data-table-TZ_fmzbD.js.map +1 -0
- package/dist/date-Dup6T6tm.js +61 -0
- package/dist/date-Dup6T6tm.js.map +1 -0
- package/dist/defaultLocale-B55TNBEB.js +203 -0
- package/dist/defaultLocale-B55TNBEB.js.map +1 -0
- package/dist/diagram-E7M64L7V-CbV5nfqR.js +530 -0
- package/dist/diagram-E7M64L7V-CbV5nfqR.js.map +1 -0
- package/dist/diagram-IFDJBPK2-CcXyWvqm.js +215 -0
- package/dist/diagram-IFDJBPK2-CcXyWvqm.js.map +1 -0
- package/dist/diagram-P4PSJMXO-pxkEt2hf.js +135 -0
- package/dist/diagram-P4PSJMXO-pxkEt2hf.js.map +1 -0
- package/dist/display/alert/index.d.ts +20 -0
- package/dist/display/alert/index.d.ts.map +1 -0
- package/dist/display/alert/index.js +56 -0
- package/dist/display/alert/index.js.map +1 -0
- package/dist/display/alert/types.d.ts +16 -0
- package/dist/display/alert/types.d.ts.map +1 -0
- package/dist/display/aspect-ratio/index.d.ts +21 -0
- package/dist/display/aspect-ratio/index.d.ts.map +1 -0
- package/dist/display/aspect-ratio/index.js +23 -0
- package/dist/display/aspect-ratio/index.js.map +1 -0
- package/dist/display/avatar/avatar-group.d.ts +19 -0
- package/dist/display/avatar/avatar-group.d.ts.map +1 -0
- package/dist/display/avatar/index.d.ts +30 -0
- package/dist/display/avatar/index.d.ts.map +1 -0
- package/dist/display/avatar/index.js +2 -0
- package/dist/display/avatar/types.d.ts +26 -0
- package/dist/display/avatar/types.d.ts.map +1 -0
- package/dist/display/badge/index.d.ts +22 -0
- package/dist/display/badge/index.d.ts.map +1 -0
- package/dist/display/badge/index.js +2 -0
- package/dist/display/badge/presets.d.ts +7 -0
- package/dist/display/badge/presets.d.ts.map +1 -0
- package/dist/display/badge/types.d.ts +19 -0
- package/dist/display/badge/types.d.ts.map +1 -0
- package/dist/display/card/index.d.ts +24 -0
- package/dist/display/card/index.d.ts.map +1 -0
- package/dist/display/card/index.js +48 -0
- package/dist/display/card/index.js.map +1 -0
- package/dist/display/card/types.d.ts +16 -0
- package/dist/display/card/types.d.ts.map +1 -0
- package/dist/display/code-block/index.d.ts +23 -0
- package/dist/display/code-block/index.d.ts.map +1 -0
- package/dist/display/code-block/index.js +101 -0
- package/dist/display/code-block/index.js.map +1 -0
- package/dist/display/code-block/types.d.ts +14 -0
- package/dist/display/code-block/types.d.ts.map +1 -0
- package/dist/display/empty-state/index.d.ts +17 -0
- package/dist/display/empty-state/index.d.ts.map +1 -0
- package/dist/display/empty-state/index.js +42 -0
- package/dist/display/empty-state/index.js.map +1 -0
- package/dist/display/empty-state/types.d.ts +16 -0
- package/dist/display/empty-state/types.d.ts.map +1 -0
- package/dist/display/hover-card/index.d.ts +46 -0
- package/dist/display/hover-card/index.d.ts.map +1 -0
- package/dist/display/hover-card/index.js +112 -0
- package/dist/display/hover-card/index.js.map +1 -0
- package/dist/display/hover-card/types.d.ts +14 -0
- package/dist/display/hover-card/types.d.ts.map +1 -0
- package/dist/display/index.d.ts +41 -0
- package/dist/display/index.d.ts.map +1 -0
- package/dist/display/index.js +18 -0
- package/dist/display/markdown-viewer/index.d.ts +25 -0
- package/dist/display/markdown-viewer/index.d.ts.map +1 -0
- package/dist/display/markdown-viewer/index.js +2 -0
- package/dist/display/markdown-viewer/parser.d.ts +60 -0
- package/dist/display/markdown-viewer/parser.d.ts.map +1 -0
- package/dist/display/markdown-viewer/types.d.ts +12 -0
- package/dist/display/markdown-viewer/types.d.ts.map +1 -0
- package/dist/display/notification-center/index.d.ts +43 -0
- package/dist/display/notification-center/index.d.ts.map +1 -0
- package/dist/display/notification-center/index.js +145 -0
- package/dist/display/notification-center/index.js.map +1 -0
- package/dist/display/notification-center/types.d.ts +30 -0
- package/dist/display/notification-center/types.d.ts.map +1 -0
- package/dist/display/popover/index.d.ts +43 -0
- package/dist/display/popover/index.d.ts.map +1 -0
- package/dist/display/popover/index.js +113 -0
- package/dist/display/popover/index.js.map +1 -0
- package/dist/display/popover/types.d.ts +16 -0
- package/dist/display/popover/types.d.ts.map +1 -0
- package/dist/display/progress/index.d.ts +28 -0
- package/dist/display/progress/index.d.ts.map +1 -0
- package/dist/display/progress/index.js +81 -0
- package/dist/display/progress/index.js.map +1 -0
- package/dist/display/progress/types.d.ts +18 -0
- package/dist/display/progress/types.d.ts.map +1 -0
- package/dist/display/severity-indicator/index.d.ts +19 -0
- package/dist/display/severity-indicator/index.d.ts.map +1 -0
- package/dist/display/severity-indicator/index.js +36 -0
- package/dist/display/severity-indicator/index.js.map +1 -0
- package/dist/display/severity-indicator/types.d.ts +14 -0
- package/dist/display/severity-indicator/types.d.ts.map +1 -0
- package/dist/display/stat-card/index.d.ts +23 -0
- package/dist/display/stat-card/index.d.ts.map +1 -0
- package/dist/display/stat-card/index.js +54 -0
- package/dist/display/stat-card/index.js.map +1 -0
- package/dist/display/stat-card/types.d.ts +19 -0
- package/dist/display/stat-card/types.d.ts.map +1 -0
- package/dist/display/tooltip/index.d.ts +37 -0
- package/dist/display/tooltip/index.d.ts.map +1 -0
- package/dist/display/tooltip/index.js +98 -0
- package/dist/display/tooltip/index.js.map +1 -0
- package/dist/display/tooltip/types.d.ts +13 -0
- package/dist/display/tooltip/types.d.ts.map +1 -0
- package/dist/display/typography/index.d.ts +24 -0
- package/dist/display/typography/index.d.ts.map +1 -0
- package/dist/display/typography/index.js +53 -0
- package/dist/display/typography/index.js.map +1 -0
- package/dist/display/typography/types.d.ts +19 -0
- package/dist/display/typography/types.d.ts.map +1 -0
- package/dist/display/uptime-bar/index.d.ts +18 -0
- package/dist/display/uptime-bar/index.d.ts.map +1 -0
- package/dist/display/uptime-bar/index.js +44 -0
- package/dist/display/uptime-bar/index.js.map +1 -0
- package/dist/display/uptime-bar/types.d.ts +17 -0
- package/dist/display/uptime-bar/types.d.ts.map +1 -0
- package/dist/dist--GaXbmRw2.js +118 -0
- package/dist/dist--GaXbmRw2.js.map +1 -0
- package/dist/dist-Axk3-hcS.js +75 -0
- package/dist/dist-Axk3-hcS.js.map +1 -0
- package/dist/dist-B8N_HFUN.js +577 -0
- package/dist/dist-B8N_HFUN.js.map +1 -0
- package/dist/dist-BCCeHAQm.js +35 -0
- package/dist/dist-BCCeHAQm.js.map +1 -0
- package/dist/dist-BEs9dhua.js +1282 -0
- package/dist/dist-BEs9dhua.js.map +1 -0
- package/dist/dist-BHlnF6po.js +47 -0
- package/dist/dist-BHlnF6po.js.map +1 -0
- package/dist/dist-BOvRuqYp.js +27 -0
- package/dist/dist-BOvRuqYp.js.map +1 -0
- package/dist/dist-Bf2tA9xW.js +617 -0
- package/dist/dist-Bf2tA9xW.js.map +1 -0
- package/dist/dist-BmxbWOAj.js +8 -0
- package/dist/dist-BmxbWOAj.js.map +1 -0
- package/dist/dist-BqhkOSZ9.js +19 -0
- package/dist/dist-BqhkOSZ9.js.map +1 -0
- package/dist/dist-ByLgcn06.js +1236 -0
- package/dist/dist-ByLgcn06.js.map +1 -0
- package/dist/dist-CXvCjmkw.js +29 -0
- package/dist/dist-CXvCjmkw.js.map +1 -0
- package/dist/dist-CncQbcn0.js +52 -0
- package/dist/dist-CncQbcn0.js.map +1 -0
- package/dist/dist-CuA1lYwd.js +185 -0
- package/dist/dist-CuA1lYwd.js.map +1 -0
- package/dist/dist-CuEY-E_Y.js +12 -0
- package/dist/dist-CuEY-E_Y.js.map +1 -0
- package/dist/dist-D3GdPS_X.js +153 -0
- package/dist/dist-D3GdPS_X.js.map +1 -0
- package/dist/dist-D6Fo4Qkc.js +13 -0
- package/dist/dist-D6Fo4Qkc.js.map +1 -0
- package/dist/dist-DHddbHrS.js +14 -0
- package/dist/dist-DHddbHrS.js.map +1 -0
- package/dist/dist-DKK7ynDa.js +31 -0
- package/dist/dist-DKK7ynDa.js.map +1 -0
- package/dist/dist-DLCJ6BjJ.js +68 -0
- package/dist/dist-DLCJ6BjJ.js.map +1 -0
- package/dist/dist-Di-HnAlt.js +279 -0
- package/dist/dist-Di-HnAlt.js.map +1 -0
- package/dist/dist-DtNafQtQ2.js +122 -0
- package/dist/dist-DtNafQtQ2.js.map +1 -0
- package/dist/dist-Ltr12WCJ.js +11020 -0
- package/dist/dist-Ltr12WCJ.js.map +1 -0
- package/dist/dist-hG2PgpV-2.js +12 -0
- package/dist/dist-hG2PgpV-2.js.map +1 -0
- package/dist/dropdown-menu-gev7lxyE.js +248 -0
- package/dist/dropdown-menu-gev7lxyE.js.map +1 -0
- package/dist/editors/base.d.ts +45 -0
- package/dist/editors/base.d.ts.map +1 -0
- package/dist/editors/code-editor.d.ts +25 -0
- package/dist/editors/code-editor.d.ts.map +1 -0
- package/dist/editors/code-editor.js +173 -0
- package/dist/editors/code-editor.js.map +1 -0
- package/dist/editors/diff-viewer.d.ts +18 -0
- package/dist/editors/diff-viewer.d.ts.map +1 -0
- package/dist/editors/diff-viewer.js +105 -0
- package/dist/editors/diff-viewer.js.map +1 -0
- package/dist/editors/index.d.ts +23 -0
- package/dist/editors/index.d.ts.map +1 -0
- package/dist/editors/index.js +14 -0
- package/dist/editors/json-viewer.d.ts +19 -0
- package/dist/editors/json-viewer.d.ts.map +1 -0
- package/dist/editors/json-viewer.js +78 -0
- package/dist/editors/json-viewer.js.map +1 -0
- package/dist/editors/languages/fluxl.d.ts +9 -0
- package/dist/editors/languages/fluxl.d.ts.map +1 -0
- package/dist/editors/languages/fluxl.js +77 -0
- package/dist/editors/languages/fluxl.js.map +1 -0
- package/dist/editors/languages/javascript.d.ts +6 -0
- package/dist/editors/languages/javascript.d.ts.map +1 -0
- package/dist/editors/languages/json.d.ts +4 -0
- package/dist/editors/languages/json.d.ts.map +1 -0
- package/dist/editors/languages/markdown.d.ts +4 -0
- package/dist/editors/languages/markdown.d.ts.map +1 -0
- package/dist/editors/languages/python.d.ts +4 -0
- package/dist/editors/languages/python.d.ts.map +1 -0
- package/dist/editors/languages/rust.d.ts +4 -0
- package/dist/editors/languages/rust.d.ts.map +1 -0
- package/dist/editors/languages/shell.d.ts +4 -0
- package/dist/editors/languages/shell.d.ts.map +1 -0
- package/dist/editors/languages/sql.d.ts +8 -0
- package/dist/editors/languages/sql.d.ts.map +1 -0
- package/dist/editors/languages/yaml.d.ts +6 -0
- package/dist/editors/languages/yaml.d.ts.map +1 -0
- package/dist/editors/languages/yara.d.ts +9 -0
- package/dist/editors/languages/yara.d.ts.map +1 -0
- package/dist/editors/languages/yara.js +93 -0
- package/dist/editors/languages/yara.js.map +1 -0
- package/dist/editors/languages/yaral.d.ts +9 -0
- package/dist/editors/languages/yaral.d.ts.map +1 -0
- package/dist/editors/languages/yaral.js +52 -0
- package/dist/editors/languages/yaral.js.map +1 -0
- package/dist/editors/log-viewer.d.ts +23 -0
- package/dist/editors/log-viewer.d.ts.map +1 -0
- package/dist/editors/log-viewer.js +89 -0
- package/dist/editors/log-viewer.js.map +1 -0
- package/dist/editors/types.d.ts +123 -0
- package/dist/editors/types.d.ts.map +1 -0
- package/dist/editors/yaml-editor.d.ts +8 -0
- package/dist/editors/yaml-editor.d.ts.map +1 -0
- package/dist/editors/yaml-editor.js +22 -0
- package/dist/editors/yaml-editor.js.map +1 -0
- package/dist/ellipsis-g4z73tVE.js +25 -0
- package/dist/ellipsis-g4z73tVE.js.map +1 -0
- package/dist/erDiagram-INFDFZHY-DF8z82V9.js +1669 -0
- package/dist/erDiagram-INFDFZHY-DF8z82V9.js.map +1 -0
- package/dist/es2015-CoPv8Nx3.js +703 -0
- package/dist/es2015-CoPv8Nx3.js.map +1 -0
- package/dist/flowDiagram-PKNHOUZH--GnQiGTL.js +4165 -0
- package/dist/flowDiagram-PKNHOUZH--GnQiGTL.js.map +1 -0
- package/dist/form/calendar/index.d.ts +41 -0
- package/dist/form/calendar/index.d.ts.map +1 -0
- package/dist/form/calendar/index.js +172 -0
- package/dist/form/calendar/index.js.map +1 -0
- package/dist/form/calendar/types.d.ts +18 -0
- package/dist/form/calendar/types.d.ts.map +1 -0
- package/dist/form/color-picker/index.d.ts +78 -0
- package/dist/form/color-picker/index.d.ts.map +1 -0
- package/dist/form/color-picker/index.js +547 -0
- package/dist/form/color-picker/index.js.map +1 -0
- package/dist/form/color-picker/types.d.ts +14 -0
- package/dist/form/color-picker/types.d.ts.map +1 -0
- package/dist/form/cron-editor/index.d.ts +56 -0
- package/dist/form/cron-editor/index.d.ts.map +1 -0
- package/dist/form/cron-editor/index.js +312 -0
- package/dist/form/cron-editor/index.js.map +1 -0
- package/dist/form/cron-editor/parser.d.ts +12 -0
- package/dist/form/cron-editor/parser.d.ts.map +1 -0
- package/dist/form/cron-editor/parser.js +211 -0
- package/dist/form/cron-editor/parser.js.map +1 -0
- package/dist/form/cron-editor/types.d.ts +31 -0
- package/dist/form/cron-editor/types.d.ts.map +1 -0
- package/dist/form/date-picker/index.d.ts +28 -0
- package/dist/form/date-picker/index.d.ts.map +1 -0
- package/dist/form/date-picker/index.js +115 -0
- package/dist/form/date-picker/index.js.map +1 -0
- package/dist/form/date-picker/range.d.ts +34 -0
- package/dist/form/date-picker/range.d.ts.map +1 -0
- package/dist/form/date-picker/range.js +179 -0
- package/dist/form/date-picker/range.js.map +1 -0
- package/dist/form/date-picker/time.d.ts +41 -0
- package/dist/form/date-picker/time.d.ts.map +1 -0
- package/dist/form/date-picker/time.js +146 -0
- package/dist/form/date-picker/time.js.map +1 -0
- package/dist/form/date-picker/types.d.ts +52 -0
- package/dist/form/date-picker/types.d.ts.map +1 -0
- package/dist/form/direction/index.d.ts +25 -0
- package/dist/form/direction/index.d.ts.map +1 -0
- package/dist/form/direction/index.js +36 -0
- package/dist/form/direction/index.js.map +1 -0
- package/dist/form/index.d.ts +19 -0
- package/dist/form/index.d.ts.map +1 -0
- package/dist/form/index.js +10 -0
- package/dist/form/tag-input/index.d.ts +45 -0
- package/dist/form/tag-input/index.d.ts.map +1 -0
- package/dist/form/tag-input/index.js +208 -0
- package/dist/form/tag-input/index.js.map +1 -0
- package/dist/form/tag-input/types.d.ts +22 -0
- package/dist/form/tag-input/types.d.ts.map +1 -0
- package/dist/ganttDiagram-A5KZAMGK-C-ecgUuM.js +3075 -0
- package/dist/ganttDiagram-A5KZAMGK-C-ecgUuM.js.map +1 -0
- package/dist/gitGraph-HDMCJU4V-Bc1dZdnh.js +3 -0
- package/dist/gitGraphDiagram-K3NZZRJ6-B3SX2MOp.js +628 -0
- package/dist/gitGraphDiagram-K3NZZRJ6-B3SX2MOp.js.map +1 -0
- package/dist/graphlib-B9J5YQhs.js +227 -0
- package/dist/graphlib-B9J5YQhs.js.map +1 -0
- package/dist/icons/index.d.ts +16 -0
- package/dist/icons/index.d.ts.map +1 -0
- package/dist/icons/index.js +93 -0
- package/dist/icons/index.js.map +1 -0
- package/dist/index.d.ts +54 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +138 -0
- package/dist/info-3K5VOQVL-Bbwt2VhK.js +3 -0
- package/dist/infoDiagram-LFFYTUFH-C8h9fMHW.js +21 -0
- package/dist/infoDiagram-LFFYTUFH-C8h9fMHW.js.map +1 -0
- package/dist/init-w1fYmhFN.js +17 -0
- package/dist/init-w1fYmhFN.js.map +1 -0
- package/dist/input-6tYy57mp.js +311 -0
- package/dist/input-6tYy57mp.js.map +1 -0
- package/dist/interactive-9Ky-mbcb.js +24 -0
- package/dist/interactive-9Ky-mbcb.js.map +1 -0
- package/dist/isArrayLikeObject-Bdc4g39x.js +580 -0
- package/dist/isArrayLikeObject-Bdc4g39x.js.map +1 -0
- package/dist/isEmpty-CrXtQ9Zv.js +37 -0
- package/dist/isEmpty-CrXtQ9Zv.js.map +1 -0
- package/dist/ishikawaDiagram-PHBUUO56-Dzja5vrM.js +719 -0
- package/dist/ishikawaDiagram-PHBUUO56-Dzja5vrM.js.map +1 -0
- package/dist/journeyDiagram-4ABVD52K-CUzkcpCV.js +886 -0
- package/dist/journeyDiagram-4ABVD52K-CUzkcpCV.js.map +1 -0
- package/dist/json-CeyVGbpw.js +907 -0
- package/dist/json-CeyVGbpw.js.map +1 -0
- package/dist/kanban-definition-K7BYSVSG-DvIRVHW0.js +973 -0
- package/dist/kanban-definition-K7BYSVSG-DvIRVHW0.js.map +1 -0
- package/dist/katex-DWv23pJW.js +21981 -0
- package/dist/katex-DWv23pJW.js.map +1 -0
- package/dist/keyboard-BzL08saM.js +245 -0
- package/dist/keyboard-BzL08saM.js.map +1 -0
- package/dist/label-BObzQvEY.js +55 -0
- package/dist/label-BObzQvEY.js.map +1 -0
- package/dist/layout/index.d.ts +69 -0
- package/dist/layout/index.d.ts.map +1 -0
- package/dist/layout/index.js +240 -0
- package/dist/layout/index.js.map +1 -0
- package/dist/line-CmjYdUkH.js +36 -0
- package/dist/line-CmjYdUkH.js.map +1 -0
- package/dist/linear-DTQb0J_9.js +244 -0
- package/dist/linear-DTQb0J_9.js.map +1 -0
- package/dist/markdown-viewer-BLoPrrpk.js +211 -0
- package/dist/markdown-viewer-BLoPrrpk.js.map +1 -0
- package/dist/math-8tgL_lKq.js +12 -0
- package/dist/math-8tgL_lKq.js.map +1 -0
- package/dist/menubar-DnARRQDT.js +438 -0
- package/dist/menubar-DnARRQDT.js.map +1 -0
- package/dist/mermaid-parser.core-CuiIDpxY.js +61 -0
- package/dist/mermaid-parser.core-CuiIDpxY.js.map +1 -0
- package/dist/mermaid.core-DwgIyYMX.js +923 -0
- package/dist/mermaid.core-DwgIyYMX.js.map +1 -0
- package/dist/mindmap-definition-YRQLILUH-BOCS5UWn.js +966 -0
- package/dist/mindmap-definition-YRQLILUH-BOCS5UWn.js.map +1 -0
- package/dist/navigation/breadcrumb/index.d.ts +22 -0
- package/dist/navigation/breadcrumb/index.d.ts.map +1 -0
- package/dist/navigation/breadcrumb/index.js +74 -0
- package/dist/navigation/breadcrumb/index.js.map +1 -0
- package/dist/navigation/breadcrumb/types.d.ts +19 -0
- package/dist/navigation/breadcrumb/types.d.ts.map +1 -0
- package/dist/navigation/drawer/index.d.ts +40 -0
- package/dist/navigation/drawer/index.d.ts.map +1 -0
- package/dist/navigation/drawer/index.js +120 -0
- package/dist/navigation/drawer/index.js.map +1 -0
- package/dist/navigation/drawer/types.d.ts +19 -0
- package/dist/navigation/drawer/types.d.ts.map +1 -0
- package/dist/navigation/dropdown-menu/index.d.ts +57 -0
- package/dist/navigation/dropdown-menu/index.d.ts.map +1 -0
- package/dist/navigation/dropdown-menu/index.js +231 -0
- package/dist/navigation/dropdown-menu/index.js.map +1 -0
- package/dist/navigation/dropdown-menu/types.d.ts +38 -0
- package/dist/navigation/dropdown-menu/types.d.ts.map +1 -0
- package/dist/navigation/index.d.ts +17 -0
- package/dist/navigation/index.d.ts.map +1 -0
- package/dist/navigation/index.js +7 -0
- package/dist/navigation/menubar/index.d.ts +38 -0
- package/dist/navigation/menubar/index.d.ts.map +1 -0
- package/dist/navigation/menubar/index.js +166 -0
- package/dist/navigation/menubar/index.js.map +1 -0
- package/dist/navigation/menubar/types.d.ts +24 -0
- package/dist/navigation/menubar/types.d.ts.map +1 -0
- package/dist/navigation/navigation-menu/index.d.ts +49 -0
- package/dist/navigation/navigation-menu/index.d.ts.map +1 -0
- package/dist/navigation/navigation-menu/index.js +173 -0
- package/dist/navigation/navigation-menu/index.js.map +1 -0
- package/dist/navigation/navigation-menu/types.d.ts +24 -0
- package/dist/navigation/navigation-menu/types.d.ts.map +1 -0
- package/dist/navigation/stepper/index.d.ts +34 -0
- package/dist/navigation/stepper/index.d.ts.map +1 -0
- package/dist/navigation/stepper/index.js +91 -0
- package/dist/navigation/stepper/index.js.map +1 -0
- package/dist/navigation/stepper/types.d.ts +22 -0
- package/dist/navigation/stepper/types.d.ts.map +1 -0
- package/dist/navigation-menu-CR-D1doi.js +622 -0
- package/dist/navigation-menu-CR-D1doi.js.map +1 -0
- package/dist/ordinal-CYknuT-U.js +67 -0
- package/dist/ordinal-CYknuT-U.js.map +1 -0
- package/dist/overlays/alert-dialog/index.d.ts +35 -0
- package/dist/overlays/alert-dialog/index.d.ts.map +1 -0
- package/dist/overlays/alert-dialog/index.js +137 -0
- package/dist/overlays/alert-dialog/index.js.map +1 -0
- package/dist/overlays/alert-dialog/types.d.ts +17 -0
- package/dist/overlays/alert-dialog/types.d.ts.map +1 -0
- package/dist/overlays/carousel/index.d.ts +69 -0
- package/dist/overlays/carousel/index.d.ts.map +1 -0
- package/dist/overlays/carousel/index.js +154 -0
- package/dist/overlays/carousel/index.js.map +1 -0
- package/dist/overlays/carousel/types.d.ts +21 -0
- package/dist/overlays/carousel/types.d.ts.map +1 -0
- package/dist/overlays/index.d.ts +11 -0
- package/dist/overlays/index.d.ts.map +1 -0
- package/dist/overlays/index.js +4 -0
- package/dist/overlays/sheet/index.d.ts +37 -0
- package/dist/overlays/sheet/index.d.ts.map +1 -0
- package/dist/overlays/sheet/index.js +120 -0
- package/dist/overlays/sheet/index.js.map +1 -0
- package/dist/overlays/sheet/types.d.ts +20 -0
- package/dist/overlays/sheet/types.d.ts.map +1 -0
- package/dist/packet-RMMSAZCW-BJSH0V2C.js +3 -0
- package/dist/pagination-Co5Y-NPF.js +80 -0
- package/dist/pagination-Co5Y-NPF.js.map +1 -0
- package/dist/passkey/index.d.ts +77 -0
- package/dist/passkey/index.d.ts.map +1 -0
- package/dist/passkey/index.js +90 -0
- package/dist/passkey/index.js.map +1 -0
- package/dist/path-CmOMDdHx.js +87 -0
- package/dist/path-CmOMDdHx.js.map +1 -0
- package/dist/pie-UPGHQEXC-Bdq_H4Og.js +3 -0
- package/dist/pieDiagram-SKSYHLDU-CHElRUS-.js +167 -0
- package/dist/pieDiagram-SKSYHLDU-CHElRUS-.js.map +1 -0
- package/dist/primitives/button/button-group.d.ts +13 -0
- package/dist/primitives/button/button-group.d.ts.map +1 -0
- package/dist/primitives/button/index.d.ts +31 -0
- package/dist/primitives/button/index.d.ts.map +1 -0
- package/dist/primitives/button/index.js +2 -0
- package/dist/primitives/button/types.d.ts +22 -0
- package/dist/primitives/button/types.d.ts.map +1 -0
- package/dist/primitives/button/variants.d.ts +12 -0
- package/dist/primitives/button/variants.d.ts.map +1 -0
- package/dist/primitives/checkbox/group.d.ts +17 -0
- package/dist/primitives/checkbox/group.d.ts.map +1 -0
- package/dist/primitives/checkbox/group.js +58 -0
- package/dist/primitives/checkbox/group.js.map +1 -0
- package/dist/primitives/checkbox/index.d.ts +19 -0
- package/dist/primitives/checkbox/index.d.ts.map +1 -0
- package/dist/primitives/checkbox/index.js +38 -0
- package/dist/primitives/checkbox/index.js.map +1 -0
- package/dist/primitives/checkbox/types.d.ts +32 -0
- package/dist/primitives/checkbox/types.d.ts.map +1 -0
- package/dist/primitives/field/index.d.ts +44 -0
- package/dist/primitives/field/index.d.ts.map +1 -0
- package/dist/primitives/field/index.js +60 -0
- package/dist/primitives/field/index.js.map +1 -0
- package/dist/primitives/field/types.d.ts +14 -0
- package/dist/primitives/field/types.d.ts.map +1 -0
- package/dist/primitives/index.d.ts +38 -0
- package/dist/primitives/index.d.ts.map +1 -0
- package/dist/primitives/index.js +19 -0
- package/dist/primitives/input/index.d.ts +29 -0
- package/dist/primitives/input/index.d.ts.map +1 -0
- package/dist/primitives/input/index.js +2 -0
- package/dist/primitives/input/input-group.d.ts +17 -0
- package/dist/primitives/input/input-group.d.ts.map +1 -0
- package/dist/primitives/input/input-otp.d.ts +27 -0
- package/dist/primitives/input/input-otp.d.ts.map +1 -0
- package/dist/primitives/input/ip-input.d.ts +25 -0
- package/dist/primitives/input/ip-input.d.ts.map +1 -0
- package/dist/primitives/input/textarea.d.ts +24 -0
- package/dist/primitives/input/textarea.d.ts.map +1 -0
- package/dist/primitives/input/types.d.ts +67 -0
- package/dist/primitives/input/types.d.ts.map +1 -0
- package/dist/primitives/kbd/index.d.ts +19 -0
- package/dist/primitives/kbd/index.d.ts.map +1 -0
- package/dist/primitives/kbd/index.js +28 -0
- package/dist/primitives/kbd/index.js.map +1 -0
- package/dist/primitives/label/index.d.ts +27 -0
- package/dist/primitives/label/index.d.ts.map +1 -0
- package/dist/primitives/label/index.js +29 -0
- package/dist/primitives/label/index.js.map +1 -0
- package/dist/primitives/radio/index.d.ts +21 -0
- package/dist/primitives/radio/index.d.ts.map +1 -0
- package/dist/primitives/radio/index.js +78 -0
- package/dist/primitives/radio/index.js.map +1 -0
- package/dist/primitives/radio/types.d.ts +21 -0
- package/dist/primitives/radio/types.d.ts.map +1 -0
- package/dist/primitives/scroll-area/index.d.ts +27 -0
- package/dist/primitives/scroll-area/index.d.ts.map +1 -0
- package/dist/primitives/scroll-area/index.js +29 -0
- package/dist/primitives/scroll-area/index.js.map +1 -0
- package/dist/primitives/select/combobox.d.ts +42 -0
- package/dist/primitives/select/combobox.d.ts.map +1 -0
- package/dist/primitives/select/combobox.js +162 -0
- package/dist/primitives/select/combobox.js.map +1 -0
- package/dist/primitives/select/index.d.ts +47 -0
- package/dist/primitives/select/index.d.ts.map +1 -0
- package/dist/primitives/select/index.js +193 -0
- package/dist/primitives/select/index.js.map +1 -0
- package/dist/primitives/select/native.d.ts +19 -0
- package/dist/primitives/select/native.d.ts.map +1 -0
- package/dist/primitives/select/native.js +57 -0
- package/dist/primitives/select/native.js.map +1 -0
- package/dist/primitives/select/types.d.ts +49 -0
- package/dist/primitives/select/types.d.ts.map +1 -0
- package/dist/primitives/separator/index.d.ts +16 -0
- package/dist/primitives/separator/index.d.ts.map +1 -0
- package/dist/primitives/separator/index.js +16 -0
- package/dist/primitives/separator/index.js.map +1 -0
- package/dist/primitives/skeleton/index.d.ts +21 -0
- package/dist/primitives/skeleton/index.d.ts.map +1 -0
- package/dist/primitives/skeleton/index.js +19 -0
- package/dist/primitives/skeleton/index.js.map +1 -0
- package/dist/primitives/slider/index.d.ts +48 -0
- package/dist/primitives/slider/index.d.ts.map +1 -0
- package/dist/primitives/slider/index.js +118 -0
- package/dist/primitives/slider/index.js.map +1 -0
- package/dist/primitives/slider/types.d.ts +19 -0
- package/dist/primitives/slider/types.d.ts.map +1 -0
- package/dist/primitives/spinner/index.d.ts +20 -0
- package/dist/primitives/spinner/index.d.ts.map +1 -0
- package/dist/primitives/spinner/index.js +23 -0
- package/dist/primitives/spinner/index.js.map +1 -0
- package/dist/primitives/switch/index.d.ts +28 -0
- package/dist/primitives/switch/index.d.ts.map +1 -0
- package/dist/primitives/switch/index.js +44 -0
- package/dist/primitives/switch/index.js.map +1 -0
- package/dist/primitives/switch/types.d.ts +16 -0
- package/dist/primitives/switch/types.d.ts.map +1 -0
- package/dist/primitives/toggle/index.d.ts +25 -0
- package/dist/primitives/toggle/index.d.ts.map +1 -0
- package/dist/primitives/toggle/index.js +2 -0
- package/dist/primitives/toggle/toggle-group.d.ts +29 -0
- package/dist/primitives/toggle/toggle-group.d.ts.map +1 -0
- package/dist/primitives/toggle/types.d.ts +35 -0
- package/dist/primitives/toggle/types.d.ts.map +1 -0
- package/dist/primitives/utils.d.ts +9 -0
- package/dist/primitives/utils.d.ts.map +1 -0
- package/dist/purify.es-oNgIHWpC.js +551 -0
- package/dist/purify.es-oNgIHWpC.js.map +1 -0
- package/dist/quadrantDiagram-337W2JSQ-CCp6NZKq.js +1977 -0
- package/dist/quadrantDiagram-337W2JSQ-CCp6NZKq.js.map +1 -0
- package/dist/radar-KQ55EAFF-9Ge_dfwM.js +3 -0
- package/dist/radio-group-70BFGDbL.js +199 -0
- package/dist/radio-group-70BFGDbL.js.map +1 -0
- package/dist/react/brand/index.d.ts +36 -0
- package/dist/react/brand/index.d.ts.map +1 -0
- package/dist/react/brand.js +81 -0
- package/dist/react/brand.js.map +1 -0
- package/dist/react/index.d.ts +6 -0
- package/dist/react/index.d.ts.map +1 -0
- package/dist/react/primitives/alert-dialog.d.ts +15 -0
- package/dist/react/primitives/alert-dialog.d.ts.map +1 -0
- package/dist/react/primitives/alert-dialog.js +2 -0
- package/dist/react/primitives/alert.d.ts +16 -0
- package/dist/react/primitives/alert.d.ts.map +1 -0
- package/dist/react/primitives/alert.js +61 -0
- package/dist/react/primitives/alert.js.map +1 -0
- package/dist/react/primitives/animated-counter.d.ts +37 -0
- package/dist/react/primitives/animated-counter.d.ts.map +1 -0
- package/dist/react/primitives/animated-counter.js +86 -0
- package/dist/react/primitives/animated-counter.js.map +1 -0
- package/dist/react/primitives/aspect-ratio.d.ts +8 -0
- package/dist/react/primitives/aspect-ratio.d.ts.map +1 -0
- package/dist/react/primitives/aspect-ratio.js +23 -0
- package/dist/react/primitives/aspect-ratio.js.map +1 -0
- package/dist/react/primitives/attack-path.d.ts +34 -0
- package/dist/react/primitives/attack-path.d.ts.map +1 -0
- package/dist/react/primitives/attack-path.js +125 -0
- package/dist/react/primitives/attack-path.js.map +1 -0
- package/dist/react/primitives/avatar.d.ts +25 -0
- package/dist/react/primitives/avatar.d.ts.map +1 -0
- package/dist/react/primitives/avatar.js +95 -0
- package/dist/react/primitives/avatar.js.map +1 -0
- package/dist/react/primitives/badge.d.ts +11 -0
- package/dist/react/primitives/badge.d.ts.map +1 -0
- package/dist/react/primitives/badge.js +32 -0
- package/dist/react/primitives/badge.js.map +1 -0
- package/dist/react/primitives/breadcrumb.d.ts +12 -0
- package/dist/react/primitives/breadcrumb.d.ts.map +1 -0
- package/dist/react/primitives/breadcrumb.js +72 -0
- package/dist/react/primitives/breadcrumb.js.map +1 -0
- package/dist/react/primitives/button.d.ts +18 -0
- package/dist/react/primitives/button.d.ts.map +1 -0
- package/dist/react/primitives/button.js +82 -0
- package/dist/react/primitives/button.js.map +1 -0
- package/dist/react/primitives/calendar.d.ts +31 -0
- package/dist/react/primitives/calendar.d.ts.map +1 -0
- package/dist/react/primitives/calendar.js +139 -0
- package/dist/react/primitives/calendar.js.map +1 -0
- package/dist/react/primitives/card.d.ts +11 -0
- package/dist/react/primitives/card.d.ts.map +1 -0
- package/dist/react/primitives/card.js +32 -0
- package/dist/react/primitives/card.js.map +1 -0
- package/dist/react/primitives/carousel.d.ts +25 -0
- package/dist/react/primitives/carousel.d.ts.map +1 -0
- package/dist/react/primitives/carousel.js +2 -0
- package/dist/react/primitives/chart-area.d.ts +9 -0
- package/dist/react/primitives/chart-area.d.ts.map +1 -0
- package/dist/react/primitives/chart-area.js +26 -0
- package/dist/react/primitives/chart-area.js.map +1 -0
- package/dist/react/primitives/chart-bar.d.ts +9 -0
- package/dist/react/primitives/chart-bar.d.ts.map +1 -0
- package/dist/react/primitives/chart-bar.js +26 -0
- package/dist/react/primitives/chart-bar.js.map +1 -0
- package/dist/react/primitives/chart-candlestick.d.ts +8 -0
- package/dist/react/primitives/chart-candlestick.d.ts.map +1 -0
- package/dist/react/primitives/chart-candlestick.js +26 -0
- package/dist/react/primitives/chart-candlestick.js.map +1 -0
- package/dist/react/primitives/chart-funnel.d.ts +8 -0
- package/dist/react/primitives/chart-funnel.d.ts.map +1 -0
- package/dist/react/primitives/chart-funnel.js +26 -0
- package/dist/react/primitives/chart-funnel.js.map +1 -0
- package/dist/react/primitives/chart-gauge.d.ts +8 -0
- package/dist/react/primitives/chart-gauge.d.ts.map +1 -0
- package/dist/react/primitives/chart-gauge.js +37 -0
- package/dist/react/primitives/chart-gauge.js.map +1 -0
- package/dist/react/primitives/chart-heatmap.d.ts +8 -0
- package/dist/react/primitives/chart-heatmap.d.ts.map +1 -0
- package/dist/react/primitives/chart-heatmap.js +26 -0
- package/dist/react/primitives/chart-heatmap.js.map +1 -0
- package/dist/react/primitives/chart-line.d.ts +9 -0
- package/dist/react/primitives/chart-line.d.ts.map +1 -0
- package/dist/react/primitives/chart-line.js +26 -0
- package/dist/react/primitives/chart-line.js.map +1 -0
- package/dist/react/primitives/chart-pie.d.ts +8 -0
- package/dist/react/primitives/chart-pie.d.ts.map +1 -0
- package/dist/react/primitives/chart-pie.js +26 -0
- package/dist/react/primitives/chart-pie.js.map +1 -0
- package/dist/react/primitives/chart-radar.d.ts +8 -0
- package/dist/react/primitives/chart-radar.d.ts.map +1 -0
- package/dist/react/primitives/chart-radar.js +26 -0
- package/dist/react/primitives/chart-radar.js.map +1 -0
- package/dist/react/primitives/chart-sankey.d.ts +8 -0
- package/dist/react/primitives/chart-sankey.d.ts.map +1 -0
- package/dist/react/primitives/chart-sankey.js +26 -0
- package/dist/react/primitives/chart-sankey.js.map +1 -0
- package/dist/react/primitives/chart-scatter.d.ts +9 -0
- package/dist/react/primitives/chart-scatter.d.ts.map +1 -0
- package/dist/react/primitives/chart-scatter.js +26 -0
- package/dist/react/primitives/chart-scatter.js.map +1 -0
- package/dist/react/primitives/chart-sparkline.d.ts +7 -0
- package/dist/react/primitives/chart-sparkline.d.ts.map +1 -0
- package/dist/react/primitives/chart-sparkline.js +26 -0
- package/dist/react/primitives/chart-sparkline.js.map +1 -0
- package/dist/react/primitives/chart-treemap.d.ts +8 -0
- package/dist/react/primitives/chart-treemap.d.ts.map +1 -0
- package/dist/react/primitives/chart-treemap.js +26 -0
- package/dist/react/primitives/chart-treemap.js.map +1 -0
- package/dist/react/primitives/chart-waterfall.d.ts +8 -0
- package/dist/react/primitives/chart-waterfall.d.ts.map +1 -0
- package/dist/react/primitives/chart-waterfall.js +26 -0
- package/dist/react/primitives/chart-waterfall.js.map +1 -0
- package/dist/react/primitives/checkbox.d.ts +9 -0
- package/dist/react/primitives/checkbox.d.ts.map +1 -0
- package/dist/react/primitives/checkbox.js +28 -0
- package/dist/react/primitives/checkbox.js.map +1 -0
- package/dist/react/primitives/code-block.d.ts +16 -0
- package/dist/react/primitives/code-block.d.ts.map +1 -0
- package/dist/react/primitives/code-block.js +67 -0
- package/dist/react/primitives/code-block.js.map +1 -0
- package/dist/react/primitives/code-viewer.d.ts +23 -0
- package/dist/react/primitives/code-viewer.d.ts.map +1 -0
- package/dist/react/primitives/code-viewer.js +229 -0
- package/dist/react/primitives/code-viewer.js.map +1 -0
- package/dist/react/primitives/collapsible.d.ts +32 -0
- package/dist/react/primitives/collapsible.d.ts.map +1 -0
- package/dist/react/primitives/collapsible.js +51 -0
- package/dist/react/primitives/collapsible.js.map +1 -0
- package/dist/react/primitives/color-picker.d.ts +18 -0
- package/dist/react/primitives/color-picker.d.ts.map +1 -0
- package/dist/react/primitives/color-picker.js +287 -0
- package/dist/react/primitives/color-picker.js.map +1 -0
- package/dist/react/primitives/context-menu.d.ts +24 -0
- package/dist/react/primitives/context-menu.d.ts.map +1 -0
- package/dist/react/primitives/context-menu.js +127 -0
- package/dist/react/primitives/context-menu.js.map +1 -0
- package/dist/react/primitives/copy-button.d.ts +23 -0
- package/dist/react/primitives/copy-button.d.ts.map +1 -0
- package/dist/react/primitives/copy-button.js +59 -0
- package/dist/react/primitives/copy-button.js.map +1 -0
- package/dist/react/primitives/cron-editor.d.ts +39 -0
- package/dist/react/primitives/cron-editor.d.ts.map +1 -0
- package/dist/react/primitives/cron-editor.js +456 -0
- package/dist/react/primitives/cron-editor.js.map +1 -0
- package/dist/react/primitives/cvss-badge.d.ts +21 -0
- package/dist/react/primitives/cvss-badge.d.ts.map +1 -0
- package/dist/react/primitives/cvss-badge.js +70 -0
- package/dist/react/primitives/cvss-badge.js.map +1 -0
- package/dist/react/primitives/data-grid.d.ts +73 -0
- package/dist/react/primitives/data-grid.d.ts.map +1 -0
- package/dist/react/primitives/data-grid.js +775 -0
- package/dist/react/primitives/data-grid.js.map +1 -0
- package/dist/react/primitives/data-table.d.ts +49 -0
- package/dist/react/primitives/data-table.d.ts.map +1 -0
- package/dist/react/primitives/data-table.js +144 -0
- package/dist/react/primitives/data-table.js.map +1 -0
- package/dist/react/primitives/date-picker.d.ts +57 -0
- package/dist/react/primitives/date-picker.d.ts.map +1 -0
- package/dist/react/primitives/date-picker.js +394 -0
- package/dist/react/primitives/date-picker.js.map +1 -0
- package/dist/react/primitives/detection-status.d.ts +47 -0
- package/dist/react/primitives/detection-status.d.ts.map +1 -0
- package/dist/react/primitives/detection-status.js +284 -0
- package/dist/react/primitives/detection-status.js.map +1 -0
- package/dist/react/primitives/dialog.d.ts +16 -0
- package/dist/react/primitives/dialog.d.ts.map +1 -0
- package/dist/react/primitives/dialog.js +87 -0
- package/dist/react/primitives/dialog.js.map +1 -0
- package/dist/react/primitives/direction.d.ts +21 -0
- package/dist/react/primitives/direction.d.ts.map +1 -0
- package/dist/react/primitives/direction.js +43 -0
- package/dist/react/primitives/direction.js.map +1 -0
- package/dist/react/primitives/drawer.d.ts +16 -0
- package/dist/react/primitives/drawer.d.ts.map +1 -0
- package/dist/react/primitives/drawer.js +88 -0
- package/dist/react/primitives/drawer.js.map +1 -0
- package/dist/react/primitives/dropdown-menu.d.ts +10 -0
- package/dist/react/primitives/dropdown-menu.d.ts.map +1 -0
- package/dist/react/primitives/dropdown-menu.js +2 -0
- package/dist/react/primitives/empty-state.d.ts +17 -0
- package/dist/react/primitives/empty-state.d.ts.map +1 -0
- package/dist/react/primitives/empty-state.js +42 -0
- package/dist/react/primitives/empty-state.js.map +1 -0
- package/dist/react/primitives/error-boundary.d.ts +20 -0
- package/dist/react/primitives/error-boundary.d.ts.map +1 -0
- package/dist/react/primitives/error-boundary.js +30 -0
- package/dist/react/primitives/error-boundary.js.map +1 -0
- package/dist/react/primitives/field.d.ts +17 -0
- package/dist/react/primitives/field.d.ts.map +1 -0
- package/dist/react/primitives/field.js +41 -0
- package/dist/react/primitives/field.js.map +1 -0
- package/dist/react/primitives/file-tree.d.ts +28 -0
- package/dist/react/primitives/file-tree.d.ts.map +1 -0
- package/dist/react/primitives/file-tree.js +183 -0
- package/dist/react/primitives/file-tree.js.map +1 -0
- package/dist/react/primitives/flow-diagram.d.ts +18 -0
- package/dist/react/primitives/flow-diagram.d.ts.map +1 -0
- package/dist/react/primitives/flow-diagram.js +40 -0
- package/dist/react/primitives/flow-diagram.js.map +1 -0
- package/dist/react/primitives/heatmap-legend.d.ts +20 -0
- package/dist/react/primitives/heatmap-legend.d.ts.map +1 -0
- package/dist/react/primitives/heatmap-legend.js +29 -0
- package/dist/react/primitives/heatmap-legend.js.map +1 -0
- package/dist/react/primitives/heatmap-toolbar.d.ts +20 -0
- package/dist/react/primitives/heatmap-toolbar.d.ts.map +1 -0
- package/dist/react/primitives/heatmap-toolbar.js +34 -0
- package/dist/react/primitives/heatmap-toolbar.js.map +1 -0
- package/dist/react/primitives/hover-card.d.ts +23 -0
- package/dist/react/primitives/hover-card.d.ts.map +1 -0
- package/dist/react/primitives/hover-card.js +73 -0
- package/dist/react/primitives/hover-card.js.map +1 -0
- package/dist/react/primitives/index.d.ts +99 -0
- package/dist/react/primitives/index.d.ts.map +1 -0
- package/dist/react/primitives/index.js +99 -0
- package/dist/react/primitives/input.d.ts +10 -0
- package/dist/react/primitives/input.d.ts.map +1 -0
- package/dist/react/primitives/input.js +18 -0
- package/dist/react/primitives/input.js.map +1 -0
- package/dist/react/primitives/json-path-browser.d.ts +15 -0
- package/dist/react/primitives/json-path-browser.d.ts.map +1 -0
- package/dist/react/primitives/json-path-browser.js +191 -0
- package/dist/react/primitives/json-path-browser.js.map +1 -0
- package/dist/react/primitives/kanban.d.ts +73 -0
- package/dist/react/primitives/kanban.d.ts.map +1 -0
- package/dist/react/primitives/kanban.js +210 -0
- package/dist/react/primitives/kanban.js.map +1 -0
- package/dist/react/primitives/kbd.d.ts +9 -0
- package/dist/react/primitives/kbd.d.ts.map +1 -0
- package/dist/react/primitives/kbd.js +22 -0
- package/dist/react/primitives/kbd.js.map +1 -0
- package/dist/react/primitives/label.d.ts +12 -0
- package/dist/react/primitives/label.d.ts.map +1 -0
- package/dist/react/primitives/label.js +2 -0
- package/dist/react/primitives/map.d.ts +23 -0
- package/dist/react/primitives/map.d.ts.map +1 -0
- package/dist/react/primitives/map.js +39 -0
- package/dist/react/primitives/map.js.map +1 -0
- package/dist/react/primitives/markdown-viewer.d.ts +10 -0
- package/dist/react/primitives/markdown-viewer.d.ts.map +1 -0
- package/dist/react/primitives/markdown-viewer.js +0 -0
- package/dist/react/primitives/markdown-viewer.js.map +1 -0
- package/dist/react/primitives/menubar.d.ts +26 -0
- package/dist/react/primitives/menubar.d.ts.map +1 -0
- package/dist/react/primitives/menubar.js +2 -0
- package/dist/react/primitives/mermaid-diagram.d.ts +16 -0
- package/dist/react/primitives/mermaid-diagram.d.ts.map +1 -0
- package/dist/react/primitives/mermaid-diagram.js +38 -0
- package/dist/react/primitives/mermaid-diagram.js.map +1 -0
- package/dist/react/primitives/mitre-matrix.d.ts +28 -0
- package/dist/react/primitives/mitre-matrix.d.ts.map +1 -0
- package/dist/react/primitives/mitre-matrix.js +125 -0
- package/dist/react/primitives/mitre-matrix.js.map +1 -0
- package/dist/react/primitives/modal.d.ts +22 -0
- package/dist/react/primitives/modal.d.ts.map +1 -0
- package/dist/react/primitives/modal.js +85 -0
- package/dist/react/primitives/modal.js.map +1 -0
- package/dist/react/primitives/navigation-menu.d.ts +13 -0
- package/dist/react/primitives/navigation-menu.d.ts.map +1 -0
- package/dist/react/primitives/navigation-menu.js +2 -0
- package/dist/react/primitives/network-graph.d.ts +20 -0
- package/dist/react/primitives/network-graph.d.ts.map +1 -0
- package/dist/react/primitives/network-graph.js +46 -0
- package/dist/react/primitives/network-graph.js.map +1 -0
- package/dist/react/primitives/notification-center.d.ts +33 -0
- package/dist/react/primitives/notification-center.d.ts.map +1 -0
- package/dist/react/primitives/notification-center.js +132 -0
- package/dist/react/primitives/notification-center.js.map +1 -0
- package/dist/react/primitives/pagination.d.ts +13 -0
- package/dist/react/primitives/pagination.d.ts.map +1 -0
- package/dist/react/primitives/pagination.js +2 -0
- package/dist/react/primitives/popover.d.ts +19 -0
- package/dist/react/primitives/popover.d.ts.map +1 -0
- package/dist/react/primitives/popover.js +142 -0
- package/dist/react/primitives/popover.js.map +1 -0
- package/dist/react/primitives/progress.d.ts +29 -0
- package/dist/react/primitives/progress.d.ts.map +1 -0
- package/dist/react/primitives/progress.js +98 -0
- package/dist/react/primitives/progress.js.map +1 -0
- package/dist/react/primitives/radio-group.d.ts +6 -0
- package/dist/react/primitives/radio-group.d.ts.map +1 -0
- package/dist/react/primitives/radio-group.js +2 -0
- package/dist/react/primitives/ripple.d.ts +44 -0
- package/dist/react/primitives/ripple.d.ts.map +1 -0
- package/dist/react/primitives/ripple.js +63 -0
- package/dist/react/primitives/ripple.js.map +1 -0
- package/dist/react/primitives/rule-editor.d.ts +31 -0
- package/dist/react/primitives/rule-editor.d.ts.map +1 -0
- package/dist/react/primitives/rule-editor.js +261 -0
- package/dist/react/primitives/rule-editor.js.map +1 -0
- package/dist/react/primitives/scroll-area.d.ts +6 -0
- package/dist/react/primitives/scroll-area.d.ts.map +1 -0
- package/dist/react/primitives/scroll-area.js +2 -0
- package/dist/react/primitives/search.d.ts +45 -0
- package/dist/react/primitives/search.d.ts.map +1 -0
- package/dist/react/primitives/search.js +318 -0
- package/dist/react/primitives/search.js.map +1 -0
- package/dist/react/primitives/select.d.ts +16 -0
- package/dist/react/primitives/select.d.ts.map +1 -0
- package/dist/react/primitives/select.js +2 -0
- package/dist/react/primitives/separator.d.ts +5 -0
- package/dist/react/primitives/separator.d.ts.map +1 -0
- package/dist/react/primitives/separator.js +2 -0
- package/dist/react/primitives/severity-indicator.d.ts +18 -0
- package/dist/react/primitives/severity-indicator.d.ts.map +1 -0
- package/dist/react/primitives/severity-indicator.js +74 -0
- package/dist/react/primitives/severity-indicator.js.map +1 -0
- package/dist/react/primitives/sheet.d.ts +16 -0
- package/dist/react/primitives/sheet.d.ts.map +1 -0
- package/dist/react/primitives/sheet.js +84 -0
- package/dist/react/primitives/sheet.js.map +1 -0
- package/dist/react/primitives/skeleton.d.ts +4 -0
- package/dist/react/primitives/skeleton.d.ts.map +1 -0
- package/dist/react/primitives/skeleton.js +15 -0
- package/dist/react/primitives/skeleton.js.map +1 -0
- package/dist/react/primitives/slide-panel.d.ts +28 -0
- package/dist/react/primitives/slide-panel.d.ts.map +1 -0
- package/dist/react/primitives/slide-panel.js +59 -0
- package/dist/react/primitives/slide-panel.js.map +1 -0
- package/dist/react/primitives/slider.d.ts +5 -0
- package/dist/react/primitives/slider.d.ts.map +1 -0
- package/dist/react/primitives/slider.js +2 -0
- package/dist/react/primitives/spinner.d.ts +10 -0
- package/dist/react/primitives/spinner.d.ts.map +1 -0
- package/dist/react/primitives/spinner.js +28 -0
- package/dist/react/primitives/spinner.js.map +1 -0
- package/dist/react/primitives/split-pane.d.ts +19 -0
- package/dist/react/primitives/split-pane.d.ts.map +1 -0
- package/dist/react/primitives/split-pane.js +83 -0
- package/dist/react/primitives/split-pane.js.map +1 -0
- package/dist/react/primitives/stat-card.d.ts +19 -0
- package/dist/react/primitives/stat-card.d.ts.map +1 -0
- package/dist/react/primitives/stat-card.js +86 -0
- package/dist/react/primitives/stat-card.js.map +1 -0
- package/dist/react/primitives/status-bar.d.ts +11 -0
- package/dist/react/primitives/status-bar.d.ts.map +1 -0
- package/dist/react/primitives/status-bar.js +38 -0
- package/dist/react/primitives/status-bar.js.map +1 -0
- package/dist/react/primitives/stepper.d.ts +15 -0
- package/dist/react/primitives/stepper.d.ts.map +1 -0
- package/dist/react/primitives/stepper.js +68 -0
- package/dist/react/primitives/stepper.js.map +1 -0
- package/dist/react/primitives/switch.d.ts +16 -0
- package/dist/react/primitives/switch.d.ts.map +1 -0
- package/dist/react/primitives/switch.js +2 -0
- package/dist/react/primitives/table.d.ts +11 -0
- package/dist/react/primitives/table.d.ts.map +1 -0
- package/dist/react/primitives/table.js +68 -0
- package/dist/react/primitives/table.js.map +1 -0
- package/dist/react/primitives/tabs.d.ts +8 -0
- package/dist/react/primitives/tabs.d.ts.map +1 -0
- package/dist/react/primitives/tabs.js +2 -0
- package/dist/react/primitives/tag-input.d.ts +27 -0
- package/dist/react/primitives/tag-input.d.ts.map +1 -0
- package/dist/react/primitives/tag-input.js +206 -0
- package/dist/react/primitives/tag-input.js.map +1 -0
- package/dist/react/primitives/terminal.d.ts +16 -0
- package/dist/react/primitives/terminal.d.ts.map +1 -0
- package/dist/react/primitives/terminal.js +138 -0
- package/dist/react/primitives/terminal.js.map +1 -0
- package/dist/react/primitives/textarea.d.ts +4 -0
- package/dist/react/primitives/textarea.d.ts.map +1 -0
- package/dist/react/primitives/textarea.js +15 -0
- package/dist/react/primitives/textarea.js.map +1 -0
- package/dist/react/primitives/timeline.d.ts +31 -0
- package/dist/react/primitives/timeline.d.ts.map +1 -0
- package/dist/react/primitives/timeline.js +188 -0
- package/dist/react/primitives/timeline.js.map +1 -0
- package/dist/react/primitives/toast.d.ts +49 -0
- package/dist/react/primitives/toast.d.ts.map +1 -0
- package/dist/react/primitives/toast.js +2 -0
- package/dist/react/primitives/toggle.d.ts +13 -0
- package/dist/react/primitives/toggle.d.ts.map +1 -0
- package/dist/react/primitives/toggle.js +2 -0
- package/dist/react/primitives/tooltip.d.ts +15 -0
- package/dist/react/primitives/tooltip.d.ts.map +1 -0
- package/dist/react/primitives/tooltip.js +2 -0
- package/dist/react/primitives/tree-view.d.ts +51 -0
- package/dist/react/primitives/tree-view.d.ts.map +1 -0
- package/dist/react/primitives/tree-view.js +121 -0
- package/dist/react/primitives/tree-view.js.map +1 -0
- package/dist/react/primitives/typography.d.ts +14 -0
- package/dist/react/primitives/typography.d.ts.map +1 -0
- package/dist/react/primitives/typography.js +85 -0
- package/dist/react/primitives/typography.js.map +1 -0
- package/dist/react/primitives/uptime-bar.d.ts +16 -0
- package/dist/react/primitives/uptime-bar.d.ts.map +1 -0
- package/dist/react/primitives/uptime-bar.js +44 -0
- package/dist/react/primitives/uptime-bar.js.map +1 -0
- package/dist/react/primitives/utils.d.ts +3 -0
- package/dist/react/primitives/utils.d.ts.map +1 -0
- package/dist/react/primitives/vulnerability-card.d.ts +40 -0
- package/dist/react/primitives/vulnerability-card.d.ts.map +1 -0
- package/dist/react/primitives/vulnerability-card.js +163 -0
- package/dist/react/primitives/vulnerability-card.js.map +1 -0
- package/dist/react/theme-toggle/index.d.ts +45 -0
- package/dist/react/theme-toggle/index.d.ts.map +1 -0
- package/dist/react/theme-toggle.js +2 -0
- package/dist/react/threat-visuals/index.d.ts +45 -0
- package/dist/react/threat-visuals/index.d.ts.map +1 -0
- package/dist/react/threat-visuals.js +102 -0
- package/dist/react/threat-visuals.js.map +1 -0
- package/dist/react/topology/edges.d.ts +9 -0
- package/dist/react/topology/edges.d.ts.map +1 -0
- package/dist/react/topology/index.d.ts +9 -0
- package/dist/react/topology/index.d.ts.map +1 -0
- package/dist/react/topology/layouts.d.ts +41 -0
- package/dist/react/topology/layouts.d.ts.map +1 -0
- package/dist/react/topology/logos.d.ts +26 -0
- package/dist/react/topology/logos.d.ts.map +1 -0
- package/dist/react/topology/nodes.d.ts +49 -0
- package/dist/react/topology/nodes.d.ts.map +1 -0
- package/dist/react/topology/safe-handle.d.ts +7 -0
- package/dist/react/topology/safe-handle.d.ts.map +1 -0
- package/dist/react/topology/styles.d.ts +2 -0
- package/dist/react/topology/styles.d.ts.map +1 -0
- package/dist/react/topology.js +2 -0
- package/dist/react.js +104 -0
- package/dist/requirementDiagram-Z7DCOOCP-DKZkXWbf.js +2203 -0
- package/dist/requirementDiagram-Z7DCOOCP-DKZkXWbf.js.map +1 -0
- package/dist/rough.esm-CJL_eUW6.js +1354 -0
- package/dist/rough.esm-CJL_eUW6.js.map +1 -0
- package/dist/sanitize-tXExwlw-.js +16 -0
- package/dist/sanitize-tXExwlw-.js.map +1 -0
- package/dist/sankeyDiagram-WA2Y5GQK-DCrlTOfN.js +923 -0
- package/dist/sankeyDiagram-WA2Y5GQK-DCrlTOfN.js.map +1 -0
- package/dist/scroll-area-DSx2nCB7.js +528 -0
- package/dist/scroll-area-DSx2nCB7.js.map +1 -0
- package/dist/search-Ds_Rknvw.js +14 -0
- package/dist/search-Ds_Rknvw.js.map +1 -0
- package/dist/security/attack-path/index.d.ts +20 -0
- package/dist/security/attack-path/index.d.ts.map +1 -0
- package/dist/security/attack-path/index.js +101 -0
- package/dist/security/attack-path/index.js.map +1 -0
- package/dist/security/attack-path/types.d.ts +23 -0
- package/dist/security/attack-path/types.d.ts.map +1 -0
- package/dist/security/cvss-badge/index.d.ts +20 -0
- package/dist/security/cvss-badge/index.d.ts.map +1 -0
- package/dist/security/cvss-badge/index.js +50 -0
- package/dist/security/cvss-badge/index.js.map +1 -0
- package/dist/security/cvss-badge/types.d.ts +14 -0
- package/dist/security/cvss-badge/types.d.ts.map +1 -0
- package/dist/security/detection-status/index.d.ts +27 -0
- package/dist/security/detection-status/index.d.ts.map +1 -0
- package/dist/security/detection-status/index.js +230 -0
- package/dist/security/detection-status/index.js.map +1 -0
- package/dist/security/detection-status/types.d.ts +23 -0
- package/dist/security/detection-status/types.d.ts.map +1 -0
- package/dist/security/index.d.ts +15 -0
- package/dist/security/index.d.ts.map +1 -0
- package/dist/security/index.js +6 -0
- package/dist/security/mitre-matrix/index.d.ts +22 -0
- package/dist/security/mitre-matrix/index.d.ts.map +1 -0
- package/dist/security/mitre-matrix/index.js +104 -0
- package/dist/security/mitre-matrix/index.js.map +1 -0
- package/dist/security/mitre-matrix/types.d.ts +22 -0
- package/dist/security/mitre-matrix/types.d.ts.map +1 -0
- package/dist/security/vulnerability-card/index.d.ts +21 -0
- package/dist/security/vulnerability-card/index.d.ts.map +1 -0
- package/dist/security/vulnerability-card/index.js +152 -0
- package/dist/security/vulnerability-card/index.js.map +1 -0
- package/dist/security/vulnerability-card/types.d.ts +32 -0
- package/dist/security/vulnerability-card/types.d.ts.map +1 -0
- package/dist/select-DcJdLR2A.js +836 -0
- package/dist/select-DcJdLR2A.js.map +1 -0
- package/dist/selection-BisAH2tT.js +12 -0
- package/dist/selection-BisAH2tT.js.map +1 -0
- package/dist/separator-CW4ZX8wr.js +68 -0
- package/dist/separator-CW4ZX8wr.js.map +1 -0
- package/dist/sequenceDiagram-2WXFIKYE-CgAE3dlZ.js +4112 -0
- package/dist/sequenceDiagram-2WXFIKYE-CgAE3dlZ.js.map +1 -0
- package/dist/series-Cm9HrwZ5.js +44 -0
- package/dist/series-Cm9HrwZ5.js.map +1 -0
- package/dist/services/api.d.ts +30 -0
- package/dist/services/api.d.ts.map +1 -0
- package/dist/services/api.js +108 -0
- package/dist/services/api.js.map +1 -0
- package/dist/services/index.d.ts +15 -0
- package/dist/services/index.d.ts.map +1 -0
- package/dist/services/index.js +6 -0
- package/dist/services/keybindings.d.ts +28 -0
- package/dist/services/keybindings.d.ts.map +1 -0
- package/dist/services/keybindings.js +133 -0
- package/dist/services/keybindings.js.map +1 -0
- package/dist/services/router.d.ts +92 -0
- package/dist/services/router.d.ts.map +1 -0
- package/dist/services/router.js +221 -0
- package/dist/services/router.js.map +1 -0
- package/dist/services/sse.d.ts +29 -0
- package/dist/services/sse.d.ts.map +1 -0
- package/dist/services/sse.js +70 -0
- package/dist/services/sse.js.map +1 -0
- package/dist/services/storage.d.ts +22 -0
- package/dist/services/storage.d.ts.map +1 -0
- package/dist/services-BmIW7l7A.js +60 -0
- package/dist/services-BmIW7l7A.js.map +1 -0
- package/dist/shell-DgHAZOVJ.js +5095 -0
- package/dist/shell-DgHAZOVJ.js.map +1 -0
- package/dist/sidebar/badge.d.ts +19 -0
- package/dist/sidebar/badge.d.ts.map +1 -0
- package/dist/sidebar/component.d.ts +23 -0
- package/dist/sidebar/component.d.ts.map +1 -0
- package/dist/sidebar/enhance.d.ts +69 -0
- package/dist/sidebar/enhance.d.ts.map +1 -0
- package/dist/sidebar/index.d.ts +51 -0
- package/dist/sidebar/index.d.ts.map +1 -0
- package/dist/sidebar/index.js +199 -0
- package/dist/sidebar/index.js.map +1 -0
- package/dist/sidebar/types.d.ts +34 -0
- package/dist/sidebar/types.d.ts.map +1 -0
- package/dist/slider-Dwau2Ktq.js +383 -0
- package/dist/slider-Dwau2Ktq.js.map +1 -0
- package/dist/sorting-BZp0NpSF.js +28 -0
- package/dist/sorting-BZp0NpSF.js.map +1 -0
- package/dist/sql-BdONJBIG.js +636 -0
- package/dist/sql-BdONJBIG.js.map +1 -0
- package/dist/src-BUKqSJT6.js +2139 -0
- package/dist/src-BUKqSJT6.js.map +1 -0
- package/dist/src-iH-l56c_.js +340 -0
- package/dist/src-iH-l56c_.js.map +1 -0
- package/dist/stateDiagram-RAJIS63D-_La1YtlG.js +220 -0
- package/dist/stateDiagram-RAJIS63D-_La1YtlG.js.map +1 -0
- package/dist/stateDiagram-v2-FVOUBMTO-CA1nyIZB.js +29 -0
- package/dist/stateDiagram-v2-FVOUBMTO-CA1nyIZB.js.map +1 -0
- package/dist/styles/appearance.css +325 -0
- package/dist/styles/auth.css +318 -0
- package/dist/styles/breakpoints.css +346 -0
- package/dist/styles/charts/charts.css +140 -0
- package/dist/styles/components/context-menu.css +180 -0
- package/dist/styles/components/data-grid.css +635 -0
- package/dist/styles/components/data-table.css +276 -0
- package/dist/styles/components/editors.css +265 -0
- package/dist/styles/components/modal.css +246 -0
- package/dist/styles/components/pagination.css +158 -0
- package/dist/styles/components/search.css +369 -0
- package/dist/styles/components/split-pane.css +174 -0
- package/dist/styles/components/status-bar.css +198 -0
- package/dist/styles/components/tabs.css +201 -0
- package/dist/styles/components/toast.css +235 -0
- package/dist/styles/components/tree-view.css +225 -0
- package/dist/styles/consent.css +282 -0
- package/dist/styles/display/alert.css +136 -0
- package/dist/styles/display/aspect-ratio.css +15 -0
- package/dist/styles/display/avatar.css +190 -0
- package/dist/styles/display/badge.css +148 -0
- package/dist/styles/display/card.css +66 -0
- package/dist/styles/display/code-block.css +99 -0
- package/dist/styles/display/empty-state.css +37 -0
- package/dist/styles/display/hover-card.css +70 -0
- package/dist/styles/display/markdown-viewer.css +145 -0
- package/dist/styles/display/notification-center.css +272 -0
- package/dist/styles/display/popover.css +29 -0
- package/dist/styles/display/progress.css +129 -0
- package/dist/styles/display/severity-indicator.css +96 -0
- package/dist/styles/display/stat-card.css +90 -0
- package/dist/styles/display/tooltip.css +58 -0
- package/dist/styles/display/typography.css +129 -0
- package/dist/styles/display/uptime-bar.css +64 -0
- package/dist/styles/form/calendar.css +240 -0
- package/dist/styles/form/color-picker.css +239 -0
- package/dist/styles/form/cron-editor.css +333 -0
- package/dist/styles/form/date-picker.css +378 -0
- package/dist/styles/form/tag-input.css +219 -0
- package/dist/styles/index.css +110 -0
- package/dist/styles/layout.css +753 -0
- package/dist/styles/navigation/breadcrumb.css +100 -0
- package/dist/styles/navigation/drawer.css +143 -0
- package/dist/styles/navigation/dropdown-menu.css +193 -0
- package/dist/styles/navigation/menubar.css +208 -0
- package/dist/styles/navigation/navigation-menu.css +260 -0
- package/dist/styles/navigation/stepper.css +199 -0
- package/dist/styles/overlays/alert-dialog.css +205 -0
- package/dist/styles/overlays/carousel.css +147 -0
- package/dist/styles/overlays/sheet.css +206 -0
- package/dist/styles/primitives/button.css +277 -0
- package/dist/styles/primitives/checkbox.css +126 -0
- package/dist/styles/primitives/field.css +48 -0
- package/dist/styles/primitives/input.css +331 -0
- package/dist/styles/primitives/kbd.css +32 -0
- package/dist/styles/primitives/label.css +18 -0
- package/dist/styles/primitives/radio.css +109 -0
- package/dist/styles/primitives/scroll-area.css +54 -0
- package/dist/styles/primitives/select.css +354 -0
- package/dist/styles/primitives/separator.css +20 -0
- package/dist/styles/primitives/skeleton.css +35 -0
- package/dist/styles/primitives/slider.css +121 -0
- package/dist/styles/primitives/spinner.css +56 -0
- package/dist/styles/primitives/switch.css +131 -0
- package/dist/styles/primitives/toggle.css +157 -0
- package/dist/styles/react-threat-visuals.css +568 -0
- package/dist/styles/security/attack-path.css +192 -0
- package/dist/styles/security/cvss-badge.css +136 -0
- package/dist/styles/security/detection-status.css +217 -0
- package/dist/styles/security/mitre-matrix.css +203 -0
- package/dist/styles/security/vulnerability-card.css +294 -0
- package/dist/styles/sidebar.css +1194 -0
- package/dist/styles/tokens.css +392 -0
- package/dist/styles/ui.css +442 -0
- package/dist/styles/utilities.css +43 -0
- package/dist/styles/visualization/file-tree.css +179 -0
- package/dist/styles/visualization/flow-diagram.css +163 -0
- package/dist/styles/visualization/json-path-browser.css +275 -0
- package/dist/styles/visualization/kanban.css +614 -0
- package/dist/styles/visualization/map.css +205 -0
- package/dist/styles/visualization/mermaid-diagram.css +172 -0
- package/dist/styles/visualization/network-graph.css +169 -0
- package/dist/styles/visualization/rule-editor.css +280 -0
- package/dist/styles/visualization/terminal.css +133 -0
- package/dist/styles/visualization/timeline.css +246 -0
- package/dist/switch-dChlavwa.js +104 -0
- package/dist/switch-dChlavwa.js.map +1 -0
- package/dist/tabs-Bpcitl6-.js +150 -0
- package/dist/tabs-Bpcitl6-.js.map +1 -0
- package/dist/theme-toggle-CaCz_B5t.js +130 -0
- package/dist/theme-toggle-CaCz_B5t.js.map +1 -0
- package/dist/timeline-definition-YZTLITO2-CvoqOZkr.js +833 -0
- package/dist/timeline-definition-YZTLITO2-CvoqOZkr.js.map +1 -0
- package/dist/toast-Li-x6JyI.js +209 -0
- package/dist/toast-Li-x6JyI.js.map +1 -0
- package/dist/toggle-Cg5AEgfp.js +204 -0
- package/dist/toggle-Cg5AEgfp.js.map +1 -0
- package/dist/toggle-RVd6oZCL.js +122 -0
- package/dist/toggle-RVd6oZCL.js.map +1 -0
- package/dist/tooltip-BvkBQJvL.js +385 -0
- package/dist/tooltip-BvkBQJvL.js.map +1 -0
- package/dist/topology-DlBapVMn.js +6707 -0
- package/dist/topology-DlBapVMn.js.map +1 -0
- package/dist/tree-view-CQwOGwy0.js +276 -0
- package/dist/tree-view-CQwOGwy0.js.map +1 -0
- package/dist/treemap-KZPCXAKY-DP2ZtuXF.js +3 -0
- package/dist/triangle-alert-DWk6jJ_p.js +42 -0
- package/dist/triangle-alert-DWk6jJ_p.js.map +1 -0
- package/dist/ui/index.d.ts +111 -0
- package/dist/ui/index.d.ts.map +1 -0
- package/dist/ui/index.js +198 -0
- package/dist/ui/index.js.map +1 -0
- package/dist/utils/a11y.d.ts +113 -0
- package/dist/utils/a11y.d.ts.map +1 -0
- package/dist/utils/date.d.ts +26 -0
- package/dist/utils/date.d.ts.map +1 -0
- package/dist/utils/errors.d.ts +24 -0
- package/dist/utils/errors.d.ts.map +1 -0
- package/dist/utils/index.d.ts +15 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +9 -0
- package/dist/utils/keyboard.d.ts +135 -0
- package/dist/utils/keyboard.d.ts.map +1 -0
- package/dist/utils/registry.d.ts +14 -0
- package/dist/utils/registry.d.ts.map +1 -0
- package/dist/utils/registry.js +23 -0
- package/dist/utils/registry.js.map +1 -0
- package/dist/utils/sanitize.d.ts +11 -0
- package/dist/utils/sanitize.d.ts.map +1 -0
- package/dist/utils/selection.d.ts +15 -0
- package/dist/utils/selection.d.ts.map +1 -0
- package/dist/utils/sorting.d.ts +25 -0
- package/dist/utils/sorting.d.ts.map +1 -0
- package/dist/utils/touch.d.ts +137 -0
- package/dist/utils/touch.d.ts.map +1 -0
- package/dist/utils/validation.d.ts +30 -0
- package/dist/utils/validation.d.ts.map +1 -0
- package/dist/utils-B7XIe3qq.js +1694 -0
- package/dist/utils-B7XIe3qq.js.map +1 -0
- package/dist/utils-Cn_W3h3f.js +17 -0
- package/dist/utils-Cn_W3h3f.js.map +1 -0
- package/dist/utils-DAAwIwhm.js +250 -0
- package/dist/utils-DAAwIwhm.js.map +1 -0
- package/dist/value-B1V_kKf_.js +52 -0
- package/dist/value-B1V_kKf_.js.map +1 -0
- package/dist/vennDiagram-LZ73GAT5-Xu1ecpFt.js +1861 -0
- package/dist/vennDiagram-LZ73GAT5-Xu1ecpFt.js.map +1 -0
- package/dist/visualization/file-tree/index.d.ts +49 -0
- package/dist/visualization/file-tree/index.d.ts.map +1 -0
- package/dist/visualization/file-tree/index.js +154 -0
- package/dist/visualization/file-tree/index.js.map +1 -0
- package/dist/visualization/file-tree/types.d.ts +28 -0
- package/dist/visualization/file-tree/types.d.ts.map +1 -0
- package/dist/visualization/flow-diagram/index.d.ts +49 -0
- package/dist/visualization/flow-diagram/index.d.ts.map +1 -0
- package/dist/visualization/flow-diagram/index.js +314 -0
- package/dist/visualization/flow-diagram/index.js.map +1 -0
- package/dist/visualization/flow-diagram/types.d.ts +37 -0
- package/dist/visualization/flow-diagram/types.d.ts.map +1 -0
- package/dist/visualization/index.d.ts +25 -0
- package/dist/visualization/index.d.ts.map +1 -0
- package/dist/visualization/index.js +11 -0
- package/dist/visualization/json-path-browser/index.d.ts +48 -0
- package/dist/visualization/json-path-browser/index.d.ts.map +1 -0
- package/dist/visualization/json-path-browser/index.js +189 -0
- package/dist/visualization/json-path-browser/index.js.map +1 -0
- package/dist/visualization/json-path-browser/types.d.ts +15 -0
- package/dist/visualization/json-path-browser/types.d.ts.map +1 -0
- package/dist/visualization/kanban/index.d.ts +71 -0
- package/dist/visualization/kanban/index.d.ts.map +1 -0
- package/dist/visualization/kanban/index.js +301 -0
- package/dist/visualization/kanban/index.js.map +1 -0
- package/dist/visualization/kanban/types.d.ts +85 -0
- package/dist/visualization/kanban/types.d.ts.map +1 -0
- package/dist/visualization/map/index.d.ts +85 -0
- package/dist/visualization/map/index.d.ts.map +1 -0
- package/dist/visualization/map/index.js +219 -0
- package/dist/visualization/map/index.js.map +1 -0
- package/dist/visualization/map/types.d.ts +38 -0
- package/dist/visualization/map/types.d.ts.map +1 -0
- package/dist/visualization/mermaid-diagram/index.d.ts +45 -0
- package/dist/visualization/mermaid-diagram/index.d.ts.map +1 -0
- package/dist/visualization/mermaid-diagram/index.js +236 -0
- package/dist/visualization/mermaid-diagram/index.js.map +1 -0
- package/dist/visualization/mermaid-diagram/types.d.ts +32 -0
- package/dist/visualization/mermaid-diagram/types.d.ts.map +1 -0
- package/dist/visualization/network-graph/index.d.ts +57 -0
- package/dist/visualization/network-graph/index.d.ts.map +1 -0
- package/dist/visualization/network-graph/index.js +296 -0
- package/dist/visualization/network-graph/index.js.map +1 -0
- package/dist/visualization/network-graph/types.d.ts +37 -0
- package/dist/visualization/network-graph/types.d.ts.map +1 -0
- package/dist/visualization/rule-editor/index.d.ts +46 -0
- package/dist/visualization/rule-editor/index.d.ts.map +1 -0
- package/dist/visualization/rule-editor/index.js +262 -0
- package/dist/visualization/rule-editor/index.js.map +1 -0
- package/dist/visualization/rule-editor/types.d.ts +31 -0
- package/dist/visualization/rule-editor/types.d.ts.map +1 -0
- package/dist/visualization/terminal/index.d.ts +54 -0
- package/dist/visualization/terminal/index.d.ts.map +1 -0
- package/dist/visualization/terminal/index.js +154 -0
- package/dist/visualization/terminal/index.js.map +1 -0
- package/dist/visualization/terminal/types.d.ts +16 -0
- package/dist/visualization/terminal/types.d.ts.map +1 -0
- package/dist/visualization/timeline/index.d.ts +31 -0
- package/dist/visualization/timeline/index.d.ts.map +1 -0
- package/dist/visualization/timeline/index.js +174 -0
- package/dist/visualization/timeline/index.js.map +1 -0
- package/dist/visualization/timeline/types.d.ts +24 -0
- package/dist/visualization/timeline/types.d.ts.map +1 -0
- package/dist/x-DCVjAtEF.js +12 -0
- package/dist/x-DCVjAtEF.js.map +1 -0
- package/dist/xychartDiagram-JWTSCODW-BX9xqezB.js +2043 -0
- package/dist/xychartDiagram-JWTSCODW-BX9xqezB.js.map +1 -0
- package/dist/yaml-BruA1FUA.js +34 -0
- package/dist/yaml-BruA1FUA.js.map +1 -0
- package/package.json +1409 -0
- package/src/app-switcher/index.ts +322 -0
- package/src/appearance/appearance.test.ts +511 -0
- package/src/appearance/index.ts +193 -0
- package/src/auth/index.ts +242 -0
- package/src/charts/annotations.ts +116 -0
- package/src/charts/area/index.ts +260 -0
- package/src/charts/area/types.ts +13 -0
- package/src/charts/axis.ts +192 -0
- package/src/charts/bar/index.ts +354 -0
- package/src/charts/bar/types.ts +13 -0
- package/src/charts/base.ts +542 -0
- package/src/charts/candlestick/index.ts +317 -0
- package/src/charts/candlestick/types.ts +25 -0
- package/src/charts/funnel/index.ts +335 -0
- package/src/charts/funnel/types.ts +22 -0
- package/src/charts/gauge/index.ts +289 -0
- package/src/charts/gauge/types.ts +24 -0
- package/src/charts/heatmap/index.ts +257 -0
- package/src/charts/heatmap/types.ts +23 -0
- package/src/charts/index.ts +89 -0
- package/src/charts/interactive.ts +59 -0
- package/src/charts/legend.ts +104 -0
- package/src/charts/line/index.ts +223 -0
- package/src/charts/line/types.ts +13 -0
- package/src/charts/pie/index.ts +303 -0
- package/src/charts/pie/types.ts +21 -0
- package/src/charts/radar/index.ts +388 -0
- package/src/charts/radar/types.ts +22 -0
- package/src/charts/sankey/index.ts +497 -0
- package/src/charts/sankey/types.ts +28 -0
- package/src/charts/scatter/index.ts +284 -0
- package/src/charts/scatter/types.ts +11 -0
- package/src/charts/series.ts +63 -0
- package/src/charts/sparkline/index.ts +224 -0
- package/src/charts/sparkline/types.ts +16 -0
- package/src/charts/tooltip.ts +136 -0
- package/src/charts/treemap/index.ts +357 -0
- package/src/charts/treemap/types.ts +21 -0
- package/src/charts/types.ts +82 -0
- package/src/charts/utils.ts +309 -0
- package/src/charts/waterfall/index.ts +273 -0
- package/src/charts/waterfall/types.ts +25 -0
- package/src/charts/zoom.ts +115 -0
- package/src/components/context-menu/index.ts +183 -0
- package/src/components/copy-button/index.ts +97 -0
- package/src/components/data-table/export.ts +61 -0
- package/src/components/data-table/index.ts +647 -0
- package/src/components/data-table/renderers.ts +145 -0
- package/src/components/data-table/types.ts +41 -0
- package/src/components/detail-header/index.ts +201 -0
- package/src/components/index.ts +65 -0
- package/src/components/log-toolbar/index.ts +186 -0
- package/src/components/modal/index.ts +240 -0
- package/src/components/modal/types.ts +18 -0
- package/src/components/pagination/index.ts +130 -0
- package/src/components/search/command-palette.ts +242 -0
- package/src/components/search/index.ts +433 -0
- package/src/components/search/types.ts +37 -0
- package/src/components/split-pane/index.ts +370 -0
- package/src/components/split-pane/types.ts +21 -0
- package/src/components/status-bar/index.ts +112 -0
- package/src/components/tabs/index.ts +329 -0
- package/src/components/tabs/types.ts +20 -0
- package/src/components/toast/index.ts +412 -0
- package/src/components/toast/types.ts +20 -0
- package/src/components/tree-view/index.ts +692 -0
- package/src/components/tree-view/lazy.ts +24 -0
- package/src/components/tree-view/types.ts +25 -0
- package/src/consent/index.ts +218 -0
- package/src/crypto/crypto.test.ts +458 -0
- package/src/crypto/encoding-helpers.ts +44 -0
- package/src/crypto/encoding.ts +191 -0
- package/src/crypto/hybrid.ts +253 -0
- package/src/crypto/index.ts +292 -0
- package/src/crypto/keys.ts +299 -0
- package/src/crypto/symmetric.ts +227 -0
- package/src/crypto/types.ts +148 -0
- package/src/display/alert/index.ts +134 -0
- package/src/display/alert/types.ts +17 -0
- package/src/display/aspect-ratio/index.ts +57 -0
- package/src/display/avatar/avatar-group.ts +85 -0
- package/src/display/avatar/index.ts +187 -0
- package/src/display/avatar/types.ts +28 -0
- package/src/display/badge/index.ts +109 -0
- package/src/display/badge/presets.ts +46 -0
- package/src/display/badge/types.ts +20 -0
- package/src/display/card/index.ts +159 -0
- package/src/display/card/types.ts +16 -0
- package/src/display/code-block/index.ts +224 -0
- package/src/display/code-block/types.ts +14 -0
- package/src/display/empty-state/index.ts +111 -0
- package/src/display/empty-state/types.ts +16 -0
- package/src/display/hover-card/index.ts +317 -0
- package/src/display/hover-card/types.ts +15 -0
- package/src/display/index.ts +95 -0
- package/src/display/markdown-viewer/index.ts +137 -0
- package/src/display/markdown-viewer/parser.ts +423 -0
- package/src/display/markdown-viewer/types.ts +18 -0
- package/src/display/notification-center/index.ts +416 -0
- package/src/display/notification-center/types.ts +32 -0
- package/src/display/popover/index.ts +320 -0
- package/src/display/popover/types.ts +25 -0
- package/src/display/progress/index.ts +209 -0
- package/src/display/progress/types.ts +19 -0
- package/src/display/severity-indicator/index.ts +96 -0
- package/src/display/severity-indicator/types.ts +15 -0
- package/src/display/stat-card/index.ts +140 -0
- package/src/display/stat-card/types.ts +21 -0
- package/src/display/tooltip/index.ts +263 -0
- package/src/display/tooltip/types.ts +14 -0
- package/src/display/typography/index.ts +156 -0
- package/src/display/typography/types.ts +30 -0
- package/src/display/uptime-bar/index.ts +109 -0
- package/src/display/uptime-bar/types.ts +19 -0
- package/src/editors/base.ts +328 -0
- package/src/editors/code-editor.ts +350 -0
- package/src/editors/diff-viewer.ts +225 -0
- package/src/editors/index.ts +47 -0
- package/src/editors/json-viewer.ts +145 -0
- package/src/editors/languages/fluxl.ts +114 -0
- package/src/editors/languages/javascript.ts +17 -0
- package/src/editors/languages/json.ts +12 -0
- package/src/editors/languages/markdown.ts +12 -0
- package/src/editors/languages/python.ts +12 -0
- package/src/editors/languages/rust.ts +12 -0
- package/src/editors/languages/shell.ts +13 -0
- package/src/editors/languages/sql.ts +57 -0
- package/src/editors/languages/yaml.ts +120 -0
- package/src/editors/languages/yara.ts +154 -0
- package/src/editors/languages/yaral.ts +91 -0
- package/src/editors/log-viewer.ts +222 -0
- package/src/editors/types.ts +138 -0
- package/src/editors/yaml-editor.ts +36 -0
- package/src/form/calendar/index.ts +455 -0
- package/src/form/calendar/types.ts +24 -0
- package/src/form/color-picker/index.ts +1016 -0
- package/src/form/color-picker/types.ts +14 -0
- package/src/form/cron-editor/index.ts +583 -0
- package/src/form/cron-editor/parser.ts +411 -0
- package/src/form/cron-editor/types.ts +34 -0
- package/src/form/date-picker/index.ts +281 -0
- package/src/form/date-picker/range.ts +379 -0
- package/src/form/date-picker/time.ts +334 -0
- package/src/form/date-picker/types.ts +47 -0
- package/src/form/direction/index.ts +64 -0
- package/src/form/index.ts +48 -0
- package/src/form/tag-input/index.ts +458 -0
- package/src/form/tag-input/types.ts +23 -0
- package/src/icons/icons.test.ts +141 -0
- package/src/icons/index.ts +205 -0
- package/src/index.ts +211 -0
- package/src/layout/index.ts +662 -0
- package/src/navigation/breadcrumb/index.ts +175 -0
- package/src/navigation/breadcrumb/types.ts +20 -0
- package/src/navigation/drawer/index.ts +326 -0
- package/src/navigation/drawer/types.ts +21 -0
- package/src/navigation/dropdown-menu/index.ts +625 -0
- package/src/navigation/dropdown-menu/types.ts +43 -0
- package/src/navigation/index.ts +35 -0
- package/src/navigation/menubar/index.ts +412 -0
- package/src/navigation/menubar/types.ts +26 -0
- package/src/navigation/navigation-menu/index.ts +508 -0
- package/src/navigation/navigation-menu/types.ts +26 -0
- package/src/navigation/stepper/index.ts +270 -0
- package/src/navigation/stepper/types.ts +25 -0
- package/src/overlays/alert-dialog/index.ts +313 -0
- package/src/overlays/alert-dialog/types.ts +18 -0
- package/src/overlays/carousel/index.ts +452 -0
- package/src/overlays/carousel/types.ts +22 -0
- package/src/overlays/index.ts +16 -0
- package/src/overlays/sheet/index.ts +307 -0
- package/src/overlays/sheet/types.ts +21 -0
- package/src/passkey/index.ts +230 -0
- package/src/primitives/button/button-group.ts +47 -0
- package/src/primitives/button/index.ts +199 -0
- package/src/primitives/button/types.ts +29 -0
- package/src/primitives/button/variants.ts +24 -0
- package/src/primitives/checkbox/group.ts +113 -0
- package/src/primitives/checkbox/index.ts +127 -0
- package/src/primitives/checkbox/types.ts +34 -0
- package/src/primitives/field/index.ts +188 -0
- package/src/primitives/field/types.ts +14 -0
- package/src/primitives/index.ts +81 -0
- package/src/primitives/input/index.ts +175 -0
- package/src/primitives/input/input-group.ts +83 -0
- package/src/primitives/input/input-otp.ts +242 -0
- package/src/primitives/input/ip-input.ts +226 -0
- package/src/primitives/input/textarea.ts +179 -0
- package/src/primitives/input/types.ts +72 -0
- package/src/primitives/kbd/index.ts +62 -0
- package/src/primitives/label/index.ts +83 -0
- package/src/primitives/radio/index.ts +199 -0
- package/src/primitives/radio/types.ts +22 -0
- package/src/primitives/scroll-area/index.ts +77 -0
- package/src/primitives/select/combobox.ts +427 -0
- package/src/primitives/select/index.ts +526 -0
- package/src/primitives/select/native.ts +151 -0
- package/src/primitives/select/types.ts +52 -0
- package/src/primitives/separator/index.ts +41 -0
- package/src/primitives/skeleton/index.ts +58 -0
- package/src/primitives/slider/index.ts +333 -0
- package/src/primitives/slider/types.ts +19 -0
- package/src/primitives/spinner/index.ts +63 -0
- package/src/primitives/switch/index.ts +133 -0
- package/src/primitives/switch/types.ts +17 -0
- package/src/primitives/toggle/index.ts +129 -0
- package/src/primitives/toggle/toggle-group.ts +209 -0
- package/src/primitives/toggle/types.ts +39 -0
- package/src/primitives/utils.ts +24 -0
- package/src/react/brand/index.tsx +115 -0
- package/src/react/index.ts +5 -0
- package/src/react/primitives/alert-dialog.tsx +133 -0
- package/src/react/primitives/alert.tsx +96 -0
- package/src/react/primitives/animated-counter.tsx +199 -0
- package/src/react/primitives/aspect-ratio.tsx +23 -0
- package/src/react/primitives/attack-path.tsx +238 -0
- package/src/react/primitives/avatar.tsx +190 -0
- package/src/react/primitives/badge.tsx +41 -0
- package/src/react/primitives/breadcrumb.tsx +110 -0
- package/src/react/primitives/button.tsx +115 -0
- package/src/react/primitives/calendar.tsx +289 -0
- package/src/react/primitives/card.tsx +67 -0
- package/src/react/primitives/carousel.tsx +219 -0
- package/src/react/primitives/chart-area.tsx +34 -0
- package/src/react/primitives/chart-bar.tsx +34 -0
- package/src/react/primitives/chart-candlestick.tsx +35 -0
- package/src/react/primitives/chart-funnel.tsx +33 -0
- package/src/react/primitives/chart-gauge.tsx +44 -0
- package/src/react/primitives/chart-heatmap.tsx +33 -0
- package/src/react/primitives/chart-line.tsx +34 -0
- package/src/react/primitives/chart-pie.tsx +33 -0
- package/src/react/primitives/chart-radar.tsx +33 -0
- package/src/react/primitives/chart-sankey.tsx +33 -0
- package/src/react/primitives/chart-scatter.tsx +34 -0
- package/src/react/primitives/chart-sparkline.tsx +32 -0
- package/src/react/primitives/chart-treemap.tsx +33 -0
- package/src/react/primitives/chart-waterfall.tsx +33 -0
- package/src/react/primitives/checkbox.tsx +50 -0
- package/src/react/primitives/code-block.tsx +117 -0
- package/src/react/primitives/code-viewer.tsx +307 -0
- package/src/react/primitives/collapsible.tsx +118 -0
- package/src/react/primitives/color-picker.tsx +461 -0
- package/src/react/primitives/context-menu.tsx +261 -0
- package/src/react/primitives/copy-button.tsx +116 -0
- package/src/react/primitives/cron-editor.tsx +575 -0
- package/src/react/primitives/cvss-badge.tsx +112 -0
- package/src/react/primitives/data-grid.tsx +1269 -0
- package/src/react/primitives/data-table.tsx +300 -0
- package/src/react/primitives/date-picker.tsx +659 -0
- package/src/react/primitives/detection-status.tsx +400 -0
- package/src/react/primitives/dialog.tsx +127 -0
- package/src/react/primitives/direction.tsx +74 -0
- package/src/react/primitives/drawer.tsx +140 -0
- package/src/react/primitives/dropdown-menu.tsx +87 -0
- package/src/react/primitives/empty-state.tsx +64 -0
- package/src/react/primitives/error-boundary.tsx +40 -0
- package/src/react/primitives/field.tsx +59 -0
- package/src/react/primitives/file-tree.tsx +368 -0
- package/src/react/primitives/flow-diagram.tsx +78 -0
- package/src/react/primitives/heatmap-legend.tsx +51 -0
- package/src/react/primitives/heatmap-toolbar.tsx +78 -0
- package/src/react/primitives/hover-card.tsx +174 -0
- package/src/react/primitives/index.ts +294 -0
- package/src/react/primitives/input.tsx +35 -0
- package/src/react/primitives/json-path-browser.tsx +397 -0
- package/src/react/primitives/kanban.tsx +421 -0
- package/src/react/primitives/kbd.tsx +33 -0
- package/src/react/primitives/label.tsx +25 -0
- package/src/react/primitives/map.tsx +91 -0
- package/src/react/primitives/markdown-viewer.tsx +256 -0
- package/src/react/primitives/menubar.tsx +248 -0
- package/src/react/primitives/mermaid-diagram.tsx +76 -0
- package/src/react/primitives/mitre-matrix.tsx +203 -0
- package/src/react/primitives/modal.tsx +191 -0
- package/src/react/primitives/navigation-menu.tsx +144 -0
- package/src/react/primitives/network-graph.tsx +95 -0
- package/src/react/primitives/notification-center.tsx +229 -0
- package/src/react/primitives/pagination.tsx +147 -0
- package/src/react/primitives/popover.tsx +247 -0
- package/src/react/primitives/progress.tsx +187 -0
- package/src/react/primitives/radio-group.tsx +44 -0
- package/src/react/primitives/ripple.tsx +145 -0
- package/src/react/primitives/rule-editor.tsx +385 -0
- package/src/react/primitives/scroll-area.tsx +54 -0
- package/src/react/primitives/search.tsx +573 -0
- package/src/react/primitives/select.tsx +218 -0
- package/src/react/primitives/separator.tsx +27 -0
- package/src/react/primitives/severity-indicator.tsx +110 -0
- package/src/react/primitives/sheet.tsx +137 -0
- package/src/react/primitives/skeleton.tsx +15 -0
- package/src/react/primitives/slide-panel.tsx +137 -0
- package/src/react/primitives/slider.tsx +51 -0
- package/src/react/primitives/spinner.tsx +39 -0
- package/src/react/primitives/split-pane.tsx +160 -0
- package/src/react/primitives/stat-card.tsx +140 -0
- package/src/react/primitives/status-bar.tsx +81 -0
- package/src/react/primitives/stepper.tsx +162 -0
- package/src/react/primitives/switch.tsx +47 -0
- package/src/react/primitives/table.tsx +90 -0
- package/src/react/primitives/tabs.tsx +52 -0
- package/src/react/primitives/tag-input.tsx +371 -0
- package/src/react/primitives/terminal.tsx +228 -0
- package/src/react/primitives/textarea.tsx +18 -0
- package/src/react/primitives/timeline.tsx +316 -0
- package/src/react/primitives/toast.tsx +361 -0
- package/src/react/primitives/toggle.tsx +107 -0
- package/src/react/primitives/tooltip.tsx +64 -0
- package/src/react/primitives/tree-view.tsx +306 -0
- package/src/react/primitives/typography.tsx +171 -0
- package/src/react/primitives/uptime-bar.tsx +93 -0
- package/src/react/primitives/utils.ts +6 -0
- package/src/react/primitives/vulnerability-card.tsx +297 -0
- package/src/react/theme-toggle/index.tsx +123 -0
- package/src/react/threat-visuals/index.tsx +200 -0
- package/src/react/topology/__tests__/topology.test.tsx +716 -0
- package/src/react/topology/edges.tsx +77 -0
- package/src/react/topology/index.ts +34 -0
- package/src/react/topology/layouts.ts +473 -0
- package/src/react/topology/logos.tsx +328 -0
- package/src/react/topology/nodes.tsx +404 -0
- package/src/react/topology/safe-handle.tsx +35 -0
- package/src/react/topology/styles.ts +47 -0
- package/src/security/attack-path/index.ts +202 -0
- package/src/security/attack-path/types.ts +37 -0
- package/src/security/cvss-badge/index.ts +145 -0
- package/src/security/cvss-badge/types.ts +14 -0
- package/src/security/detection-status/index.ts +420 -0
- package/src/security/detection-status/types.ts +24 -0
- package/src/security/index.ts +24 -0
- package/src/security/mitre-matrix/index.ts +209 -0
- package/src/security/mitre-matrix/types.ts +23 -0
- package/src/security/vulnerability-card/index.ts +320 -0
- package/src/security/vulnerability-card/types.ts +34 -0
- package/src/services/api.ts +181 -0
- package/src/services/index.ts +23 -0
- package/src/services/keybindings.ts +271 -0
- package/src/services/router.ts +578 -0
- package/src/services/sse.ts +148 -0
- package/src/services/storage.ts +88 -0
- package/src/sidebar/badge.ts +72 -0
- package/src/sidebar/component.ts +223 -0
- package/src/sidebar/enhance.ts +289 -0
- package/src/sidebar/index.ts +253 -0
- package/src/sidebar/types.ts +43 -0
- package/src/styles/appearance.css +325 -0
- package/src/styles/auth.css +318 -0
- package/src/styles/breakpoints.css +346 -0
- package/src/styles/charts/charts.css +140 -0
- package/src/styles/components/context-menu.css +180 -0
- package/src/styles/components/data-grid.css +635 -0
- package/src/styles/components/data-table.css +276 -0
- package/src/styles/components/editors.css +265 -0
- package/src/styles/components/modal.css +246 -0
- package/src/styles/components/pagination.css +158 -0
- package/src/styles/components/search.css +369 -0
- package/src/styles/components/split-pane.css +174 -0
- package/src/styles/components/status-bar.css +198 -0
- package/src/styles/components/tabs.css +201 -0
- package/src/styles/components/toast.css +235 -0
- package/src/styles/components/tree-view.css +225 -0
- package/src/styles/consent.css +282 -0
- package/src/styles/display/alert.css +136 -0
- package/src/styles/display/aspect-ratio.css +15 -0
- package/src/styles/display/avatar.css +190 -0
- package/src/styles/display/badge.css +148 -0
- package/src/styles/display/card.css +66 -0
- package/src/styles/display/code-block.css +99 -0
- package/src/styles/display/empty-state.css +37 -0
- package/src/styles/display/hover-card.css +70 -0
- package/src/styles/display/markdown-viewer.css +145 -0
- package/src/styles/display/notification-center.css +272 -0
- package/src/styles/display/popover.css +29 -0
- package/src/styles/display/progress.css +129 -0
- package/src/styles/display/severity-indicator.css +96 -0
- package/src/styles/display/stat-card.css +90 -0
- package/src/styles/display/tooltip.css +58 -0
- package/src/styles/display/typography.css +129 -0
- package/src/styles/display/uptime-bar.css +64 -0
- package/src/styles/form/calendar.css +240 -0
- package/src/styles/form/color-picker.css +239 -0
- package/src/styles/form/cron-editor.css +333 -0
- package/src/styles/form/date-picker.css +378 -0
- package/src/styles/form/tag-input.css +219 -0
- package/src/styles/index.css +110 -0
- package/src/styles/layout.css +753 -0
- package/src/styles/navigation/breadcrumb.css +100 -0
- package/src/styles/navigation/drawer.css +143 -0
- package/src/styles/navigation/dropdown-menu.css +193 -0
- package/src/styles/navigation/menubar.css +208 -0
- package/src/styles/navigation/navigation-menu.css +260 -0
- package/src/styles/navigation/stepper.css +199 -0
- package/src/styles/overlays/alert-dialog.css +205 -0
- package/src/styles/overlays/carousel.css +147 -0
- package/src/styles/overlays/sheet.css +206 -0
- package/src/styles/primitives/button.css +277 -0
- package/src/styles/primitives/checkbox.css +126 -0
- package/src/styles/primitives/field.css +48 -0
- package/src/styles/primitives/input.css +331 -0
- package/src/styles/primitives/kbd.css +32 -0
- package/src/styles/primitives/label.css +18 -0
- package/src/styles/primitives/radio.css +109 -0
- package/src/styles/primitives/scroll-area.css +54 -0
- package/src/styles/primitives/select.css +354 -0
- package/src/styles/primitives/separator.css +20 -0
- package/src/styles/primitives/skeleton.css +35 -0
- package/src/styles/primitives/slider.css +121 -0
- package/src/styles/primitives/spinner.css +56 -0
- package/src/styles/primitives/switch.css +131 -0
- package/src/styles/primitives/toggle.css +157 -0
- package/src/styles/react-threat-visuals.css +568 -0
- package/src/styles/security/attack-path.css +192 -0
- package/src/styles/security/cvss-badge.css +136 -0
- package/src/styles/security/detection-status.css +217 -0
- package/src/styles/security/mitre-matrix.css +203 -0
- package/src/styles/security/vulnerability-card.css +294 -0
- package/src/styles/sidebar.css +1194 -0
- package/src/styles/tokens.css +392 -0
- package/src/styles/ui.css +442 -0
- package/src/styles/utilities.css +43 -0
- package/src/styles/visualization/file-tree.css +179 -0
- package/src/styles/visualization/flow-diagram.css +163 -0
- package/src/styles/visualization/json-path-browser.css +275 -0
- package/src/styles/visualization/kanban.css +614 -0
- package/src/styles/visualization/map.css +205 -0
- package/src/styles/visualization/mermaid-diagram.css +172 -0
- package/src/styles/visualization/network-graph.css +169 -0
- package/src/styles/visualization/rule-editor.css +280 -0
- package/src/styles/visualization/terminal.css +133 -0
- package/src/styles/visualization/timeline.css +246 -0
- package/src/ui/index.ts +414 -0
- package/src/ui/ui.test.ts +83 -0
- package/src/utils/a11y.ts +566 -0
- package/src/utils/date.ts +90 -0
- package/src/utils/errors.ts +44 -0
- package/src/utils/index.ts +154 -0
- package/src/utils/keyboard.ts +551 -0
- package/src/utils/registry.ts +41 -0
- package/src/utils/sanitize.ts +23 -0
- package/src/utils/selection.ts +29 -0
- package/src/utils/sorting.ts +73 -0
- package/src/utils/touch.ts +643 -0
- package/src/utils/validation.ts +66 -0
- package/src/visualization/file-tree/index.ts +500 -0
- package/src/visualization/file-tree/types.ts +29 -0
- package/src/visualization/flow-diagram/index.ts +693 -0
- package/src/visualization/flow-diagram/types.ts +39 -0
- package/src/visualization/index.ts +53 -0
- package/src/visualization/json-path-browser/index.ts +502 -0
- package/src/visualization/json-path-browser/types.ts +15 -0
- package/src/visualization/kanban/__tests__/kanban.test.ts +1440 -0
- package/src/visualization/kanban/index.ts +785 -0
- package/src/visualization/kanban/types.ts +93 -0
- package/src/visualization/map/index.ts +623 -0
- package/src/visualization/map/types.ts +37 -0
- package/src/visualization/mermaid-diagram/index.ts +404 -0
- package/src/visualization/mermaid-diagram/types.ts +50 -0
- package/src/visualization/network-graph/index.ts +690 -0
- package/src/visualization/network-graph/types.ts +39 -0
- package/src/visualization/rule-editor/index.ts +562 -0
- package/src/visualization/rule-editor/types.ts +34 -0
- package/src/visualization/terminal/index.ts +403 -0
- package/src/visualization/terminal/types.ts +16 -0
- package/src/visualization/timeline/index.ts +341 -0
- package/src/visualization/timeline/types.ts +25 -0
|
@@ -0,0 +1,2054 @@
|
|
|
1
|
+
import { t as e } from "./purify.es-oNgIHWpC.js";
|
|
2
|
+
import { i as t, n, r, t as i } from "./src-iH-l56c_.js";
|
|
3
|
+
//#region node_modules/khroma/dist/utils/channel.js
|
|
4
|
+
var a = {
|
|
5
|
+
min: {
|
|
6
|
+
r: 0,
|
|
7
|
+
g: 0,
|
|
8
|
+
b: 0,
|
|
9
|
+
s: 0,
|
|
10
|
+
l: 0,
|
|
11
|
+
a: 0
|
|
12
|
+
},
|
|
13
|
+
max: {
|
|
14
|
+
r: 255,
|
|
15
|
+
g: 255,
|
|
16
|
+
b: 255,
|
|
17
|
+
h: 360,
|
|
18
|
+
s: 100,
|
|
19
|
+
l: 100,
|
|
20
|
+
a: 1
|
|
21
|
+
},
|
|
22
|
+
clamp: {
|
|
23
|
+
r: (e) => e >= 255 ? 255 : e < 0 ? 0 : e,
|
|
24
|
+
g: (e) => e >= 255 ? 255 : e < 0 ? 0 : e,
|
|
25
|
+
b: (e) => e >= 255 ? 255 : e < 0 ? 0 : e,
|
|
26
|
+
h: (e) => e % 360,
|
|
27
|
+
s: (e) => e >= 100 ? 100 : e < 0 ? 0 : e,
|
|
28
|
+
l: (e) => e >= 100 ? 100 : e < 0 ? 0 : e,
|
|
29
|
+
a: (e) => e >= 1 ? 1 : e < 0 ? 0 : e
|
|
30
|
+
},
|
|
31
|
+
toLinear: (e) => {
|
|
32
|
+
let t = e / 255;
|
|
33
|
+
return e > .03928 ? ((t + .055) / 1.055) ** 2.4 : t / 12.92;
|
|
34
|
+
},
|
|
35
|
+
hue2rgb: (e, t, n) => (n < 0 && (n += 1), n > 1 && --n, n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e),
|
|
36
|
+
hsl2rgb: ({ h: e, s: t, l: n }, r) => {
|
|
37
|
+
if (!t) return n * 2.55;
|
|
38
|
+
e /= 360, t /= 100, n /= 100;
|
|
39
|
+
let i = n < .5 ? n * (1 + t) : n + t - n * t, o = 2 * n - i;
|
|
40
|
+
switch (r) {
|
|
41
|
+
case "r": return a.hue2rgb(o, i, e + 1 / 3) * 255;
|
|
42
|
+
case "g": return a.hue2rgb(o, i, e) * 255;
|
|
43
|
+
case "b": return a.hue2rgb(o, i, e - 1 / 3) * 255;
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
rgb2hsl: ({ r: e, g: t, b: n }, r) => {
|
|
47
|
+
e /= 255, t /= 255, n /= 255;
|
|
48
|
+
let i = Math.max(e, t, n), a = Math.min(e, t, n), o = (i + a) / 2;
|
|
49
|
+
if (r === "l") return o * 100;
|
|
50
|
+
if (i === a) return 0;
|
|
51
|
+
let s = i - a, c = o > .5 ? s / (2 - i - a) : s / (i + a);
|
|
52
|
+
if (r === "s") return c * 100;
|
|
53
|
+
switch (i) {
|
|
54
|
+
case e: return ((t - n) / s + (t < n ? 6 : 0)) * 60;
|
|
55
|
+
case t: return ((n - e) / s + 2) * 60;
|
|
56
|
+
case n: return ((e - t) / s + 4) * 60;
|
|
57
|
+
default: return -1;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}, o = {
|
|
61
|
+
channel: a,
|
|
62
|
+
lang: {
|
|
63
|
+
clamp: (e, t, n) => t > n ? Math.min(t, Math.max(n, e)) : Math.min(n, Math.max(t, e)),
|
|
64
|
+
round: (e) => Math.round(e * 1e10) / 1e10
|
|
65
|
+
},
|
|
66
|
+
unit: { dec2hex: (e) => {
|
|
67
|
+
let t = Math.round(e).toString(16);
|
|
68
|
+
return t.length > 1 ? t : `0${t}`;
|
|
69
|
+
} }
|
|
70
|
+
}, s = {};
|
|
71
|
+
for (let e = 0; e <= 255; e++) s[e] = o.unit.dec2hex(e);
|
|
72
|
+
var c = {
|
|
73
|
+
ALL: 0,
|
|
74
|
+
RGB: 1,
|
|
75
|
+
HSL: 2
|
|
76
|
+
}, l = class {
|
|
77
|
+
constructor() {
|
|
78
|
+
this.type = c.ALL;
|
|
79
|
+
}
|
|
80
|
+
get() {
|
|
81
|
+
return this.type;
|
|
82
|
+
}
|
|
83
|
+
set(e) {
|
|
84
|
+
if (this.type && this.type !== e) throw Error("Cannot change both RGB and HSL channels at the same time");
|
|
85
|
+
this.type = e;
|
|
86
|
+
}
|
|
87
|
+
reset() {
|
|
88
|
+
this.type = c.ALL;
|
|
89
|
+
}
|
|
90
|
+
is(e) {
|
|
91
|
+
return this.type === e;
|
|
92
|
+
}
|
|
93
|
+
}, u = new class {
|
|
94
|
+
constructor(e, t) {
|
|
95
|
+
this.color = t, this.changed = !1, this.data = e, this.type = new l();
|
|
96
|
+
}
|
|
97
|
+
set(e, t) {
|
|
98
|
+
return this.color = t, this.changed = !1, this.data = e, this.type.type = c.ALL, this;
|
|
99
|
+
}
|
|
100
|
+
_ensureHSL() {
|
|
101
|
+
let e = this.data, { h: t, s: n, l: r } = e;
|
|
102
|
+
t === void 0 && (e.h = o.channel.rgb2hsl(e, "h")), n === void 0 && (e.s = o.channel.rgb2hsl(e, "s")), r === void 0 && (e.l = o.channel.rgb2hsl(e, "l"));
|
|
103
|
+
}
|
|
104
|
+
_ensureRGB() {
|
|
105
|
+
let e = this.data, { r: t, g: n, b: r } = e;
|
|
106
|
+
t === void 0 && (e.r = o.channel.hsl2rgb(e, "r")), n === void 0 && (e.g = o.channel.hsl2rgb(e, "g")), r === void 0 && (e.b = o.channel.hsl2rgb(e, "b"));
|
|
107
|
+
}
|
|
108
|
+
get r() {
|
|
109
|
+
let e = this.data, t = e.r;
|
|
110
|
+
return !this.type.is(c.HSL) && t !== void 0 ? t : (this._ensureHSL(), o.channel.hsl2rgb(e, "r"));
|
|
111
|
+
}
|
|
112
|
+
get g() {
|
|
113
|
+
let e = this.data, t = e.g;
|
|
114
|
+
return !this.type.is(c.HSL) && t !== void 0 ? t : (this._ensureHSL(), o.channel.hsl2rgb(e, "g"));
|
|
115
|
+
}
|
|
116
|
+
get b() {
|
|
117
|
+
let e = this.data, t = e.b;
|
|
118
|
+
return !this.type.is(c.HSL) && t !== void 0 ? t : (this._ensureHSL(), o.channel.hsl2rgb(e, "b"));
|
|
119
|
+
}
|
|
120
|
+
get h() {
|
|
121
|
+
let e = this.data, t = e.h;
|
|
122
|
+
return !this.type.is(c.RGB) && t !== void 0 ? t : (this._ensureRGB(), o.channel.rgb2hsl(e, "h"));
|
|
123
|
+
}
|
|
124
|
+
get s() {
|
|
125
|
+
let e = this.data, t = e.s;
|
|
126
|
+
return !this.type.is(c.RGB) && t !== void 0 ? t : (this._ensureRGB(), o.channel.rgb2hsl(e, "s"));
|
|
127
|
+
}
|
|
128
|
+
get l() {
|
|
129
|
+
let e = this.data, t = e.l;
|
|
130
|
+
return !this.type.is(c.RGB) && t !== void 0 ? t : (this._ensureRGB(), o.channel.rgb2hsl(e, "l"));
|
|
131
|
+
}
|
|
132
|
+
get a() {
|
|
133
|
+
return this.data.a;
|
|
134
|
+
}
|
|
135
|
+
set r(e) {
|
|
136
|
+
this.type.set(c.RGB), this.changed = !0, this.data.r = e;
|
|
137
|
+
}
|
|
138
|
+
set g(e) {
|
|
139
|
+
this.type.set(c.RGB), this.changed = !0, this.data.g = e;
|
|
140
|
+
}
|
|
141
|
+
set b(e) {
|
|
142
|
+
this.type.set(c.RGB), this.changed = !0, this.data.b = e;
|
|
143
|
+
}
|
|
144
|
+
set h(e) {
|
|
145
|
+
this.type.set(c.HSL), this.changed = !0, this.data.h = e;
|
|
146
|
+
}
|
|
147
|
+
set s(e) {
|
|
148
|
+
this.type.set(c.HSL), this.changed = !0, this.data.s = e;
|
|
149
|
+
}
|
|
150
|
+
set l(e) {
|
|
151
|
+
this.type.set(c.HSL), this.changed = !0, this.data.l = e;
|
|
152
|
+
}
|
|
153
|
+
set a(e) {
|
|
154
|
+
this.changed = !0, this.data.a = e;
|
|
155
|
+
}
|
|
156
|
+
}({
|
|
157
|
+
r: 0,
|
|
158
|
+
g: 0,
|
|
159
|
+
b: 0,
|
|
160
|
+
a: 0
|
|
161
|
+
}, "transparent"), d = {
|
|
162
|
+
re: /^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,
|
|
163
|
+
parse: (e) => {
|
|
164
|
+
if (e.charCodeAt(0) !== 35) return;
|
|
165
|
+
let t = e.match(d.re);
|
|
166
|
+
if (!t) return;
|
|
167
|
+
let n = t[1], r = parseInt(n, 16), i = n.length, a = i % 4 == 0, o = i > 4, s = o ? 1 : 17, c = o ? 8 : 4, l = a ? 0 : -1, f = o ? 255 : 15;
|
|
168
|
+
return u.set({
|
|
169
|
+
r: (r >> c * (l + 3) & f) * s,
|
|
170
|
+
g: (r >> c * (l + 2) & f) * s,
|
|
171
|
+
b: (r >> c * (l + 1) & f) * s,
|
|
172
|
+
a: a ? (r & f) * s / 255 : 1
|
|
173
|
+
}, e);
|
|
174
|
+
},
|
|
175
|
+
stringify: (e) => {
|
|
176
|
+
let { r: t, g: n, b: r, a: i } = e;
|
|
177
|
+
return i < 1 ? `#${s[Math.round(t)]}${s[Math.round(n)]}${s[Math.round(r)]}${s[Math.round(i * 255)]}` : `#${s[Math.round(t)]}${s[Math.round(n)]}${s[Math.round(r)]}`;
|
|
178
|
+
}
|
|
179
|
+
}, f = {
|
|
180
|
+
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,
|
|
181
|
+
hueRe: /^(.+?)(deg|grad|rad|turn)$/i,
|
|
182
|
+
_hue2deg: (e) => {
|
|
183
|
+
let t = e.match(f.hueRe);
|
|
184
|
+
if (t) {
|
|
185
|
+
let [, e, n] = t;
|
|
186
|
+
switch (n) {
|
|
187
|
+
case "grad": return o.channel.clamp.h(parseFloat(e) * .9);
|
|
188
|
+
case "rad": return o.channel.clamp.h(parseFloat(e) * 180 / Math.PI);
|
|
189
|
+
case "turn": return o.channel.clamp.h(parseFloat(e) * 360);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
return o.channel.clamp.h(parseFloat(e));
|
|
193
|
+
},
|
|
194
|
+
parse: (e) => {
|
|
195
|
+
let t = e.charCodeAt(0);
|
|
196
|
+
if (t !== 104 && t !== 72) return;
|
|
197
|
+
let n = e.match(f.re);
|
|
198
|
+
if (!n) return;
|
|
199
|
+
let [, r, i, a, s, c] = n;
|
|
200
|
+
return u.set({
|
|
201
|
+
h: f._hue2deg(r),
|
|
202
|
+
s: o.channel.clamp.s(parseFloat(i)),
|
|
203
|
+
l: o.channel.clamp.l(parseFloat(a)),
|
|
204
|
+
a: s ? o.channel.clamp.a(c ? parseFloat(s) / 100 : parseFloat(s)) : 1
|
|
205
|
+
}, e);
|
|
206
|
+
},
|
|
207
|
+
stringify: (e) => {
|
|
208
|
+
let { h: t, s: n, l: r, a: i } = e;
|
|
209
|
+
return i < 1 ? `hsla(${o.lang.round(t)}, ${o.lang.round(n)}%, ${o.lang.round(r)}%, ${i})` : `hsl(${o.lang.round(t)}, ${o.lang.round(n)}%, ${o.lang.round(r)}%)`;
|
|
210
|
+
}
|
|
211
|
+
}, p = {
|
|
212
|
+
colors: {
|
|
213
|
+
aliceblue: "#f0f8ff",
|
|
214
|
+
antiquewhite: "#faebd7",
|
|
215
|
+
aqua: "#00ffff",
|
|
216
|
+
aquamarine: "#7fffd4",
|
|
217
|
+
azure: "#f0ffff",
|
|
218
|
+
beige: "#f5f5dc",
|
|
219
|
+
bisque: "#ffe4c4",
|
|
220
|
+
black: "#000000",
|
|
221
|
+
blanchedalmond: "#ffebcd",
|
|
222
|
+
blue: "#0000ff",
|
|
223
|
+
blueviolet: "#8a2be2",
|
|
224
|
+
brown: "#a52a2a",
|
|
225
|
+
burlywood: "#deb887",
|
|
226
|
+
cadetblue: "#5f9ea0",
|
|
227
|
+
chartreuse: "#7fff00",
|
|
228
|
+
chocolate: "#d2691e",
|
|
229
|
+
coral: "#ff7f50",
|
|
230
|
+
cornflowerblue: "#6495ed",
|
|
231
|
+
cornsilk: "#fff8dc",
|
|
232
|
+
crimson: "#dc143c",
|
|
233
|
+
cyanaqua: "#00ffff",
|
|
234
|
+
darkblue: "#00008b",
|
|
235
|
+
darkcyan: "#008b8b",
|
|
236
|
+
darkgoldenrod: "#b8860b",
|
|
237
|
+
darkgray: "#a9a9a9",
|
|
238
|
+
darkgreen: "#006400",
|
|
239
|
+
darkgrey: "#a9a9a9",
|
|
240
|
+
darkkhaki: "#bdb76b",
|
|
241
|
+
darkmagenta: "#8b008b",
|
|
242
|
+
darkolivegreen: "#556b2f",
|
|
243
|
+
darkorange: "#ff8c00",
|
|
244
|
+
darkorchid: "#9932cc",
|
|
245
|
+
darkred: "#8b0000",
|
|
246
|
+
darksalmon: "#e9967a",
|
|
247
|
+
darkseagreen: "#8fbc8f",
|
|
248
|
+
darkslateblue: "#483d8b",
|
|
249
|
+
darkslategray: "#2f4f4f",
|
|
250
|
+
darkslategrey: "#2f4f4f",
|
|
251
|
+
darkturquoise: "#00ced1",
|
|
252
|
+
darkviolet: "#9400d3",
|
|
253
|
+
deeppink: "#ff1493",
|
|
254
|
+
deepskyblue: "#00bfff",
|
|
255
|
+
dimgray: "#696969",
|
|
256
|
+
dimgrey: "#696969",
|
|
257
|
+
dodgerblue: "#1e90ff",
|
|
258
|
+
firebrick: "#b22222",
|
|
259
|
+
floralwhite: "#fffaf0",
|
|
260
|
+
forestgreen: "#228b22",
|
|
261
|
+
fuchsia: "#ff00ff",
|
|
262
|
+
gainsboro: "#dcdcdc",
|
|
263
|
+
ghostwhite: "#f8f8ff",
|
|
264
|
+
gold: "#ffd700",
|
|
265
|
+
goldenrod: "#daa520",
|
|
266
|
+
gray: "#808080",
|
|
267
|
+
green: "#008000",
|
|
268
|
+
greenyellow: "#adff2f",
|
|
269
|
+
grey: "#808080",
|
|
270
|
+
honeydew: "#f0fff0",
|
|
271
|
+
hotpink: "#ff69b4",
|
|
272
|
+
indianred: "#cd5c5c",
|
|
273
|
+
indigo: "#4b0082",
|
|
274
|
+
ivory: "#fffff0",
|
|
275
|
+
khaki: "#f0e68c",
|
|
276
|
+
lavender: "#e6e6fa",
|
|
277
|
+
lavenderblush: "#fff0f5",
|
|
278
|
+
lawngreen: "#7cfc00",
|
|
279
|
+
lemonchiffon: "#fffacd",
|
|
280
|
+
lightblue: "#add8e6",
|
|
281
|
+
lightcoral: "#f08080",
|
|
282
|
+
lightcyan: "#e0ffff",
|
|
283
|
+
lightgoldenrodyellow: "#fafad2",
|
|
284
|
+
lightgray: "#d3d3d3",
|
|
285
|
+
lightgreen: "#90ee90",
|
|
286
|
+
lightgrey: "#d3d3d3",
|
|
287
|
+
lightpink: "#ffb6c1",
|
|
288
|
+
lightsalmon: "#ffa07a",
|
|
289
|
+
lightseagreen: "#20b2aa",
|
|
290
|
+
lightskyblue: "#87cefa",
|
|
291
|
+
lightslategray: "#778899",
|
|
292
|
+
lightslategrey: "#778899",
|
|
293
|
+
lightsteelblue: "#b0c4de",
|
|
294
|
+
lightyellow: "#ffffe0",
|
|
295
|
+
lime: "#00ff00",
|
|
296
|
+
limegreen: "#32cd32",
|
|
297
|
+
linen: "#faf0e6",
|
|
298
|
+
magenta: "#ff00ff",
|
|
299
|
+
maroon: "#800000",
|
|
300
|
+
mediumaquamarine: "#66cdaa",
|
|
301
|
+
mediumblue: "#0000cd",
|
|
302
|
+
mediumorchid: "#ba55d3",
|
|
303
|
+
mediumpurple: "#9370db",
|
|
304
|
+
mediumseagreen: "#3cb371",
|
|
305
|
+
mediumslateblue: "#7b68ee",
|
|
306
|
+
mediumspringgreen: "#00fa9a",
|
|
307
|
+
mediumturquoise: "#48d1cc",
|
|
308
|
+
mediumvioletred: "#c71585",
|
|
309
|
+
midnightblue: "#191970",
|
|
310
|
+
mintcream: "#f5fffa",
|
|
311
|
+
mistyrose: "#ffe4e1",
|
|
312
|
+
moccasin: "#ffe4b5",
|
|
313
|
+
navajowhite: "#ffdead",
|
|
314
|
+
navy: "#000080",
|
|
315
|
+
oldlace: "#fdf5e6",
|
|
316
|
+
olive: "#808000",
|
|
317
|
+
olivedrab: "#6b8e23",
|
|
318
|
+
orange: "#ffa500",
|
|
319
|
+
orangered: "#ff4500",
|
|
320
|
+
orchid: "#da70d6",
|
|
321
|
+
palegoldenrod: "#eee8aa",
|
|
322
|
+
palegreen: "#98fb98",
|
|
323
|
+
paleturquoise: "#afeeee",
|
|
324
|
+
palevioletred: "#db7093",
|
|
325
|
+
papayawhip: "#ffefd5",
|
|
326
|
+
peachpuff: "#ffdab9",
|
|
327
|
+
peru: "#cd853f",
|
|
328
|
+
pink: "#ffc0cb",
|
|
329
|
+
plum: "#dda0dd",
|
|
330
|
+
powderblue: "#b0e0e6",
|
|
331
|
+
purple: "#800080",
|
|
332
|
+
rebeccapurple: "#663399",
|
|
333
|
+
red: "#ff0000",
|
|
334
|
+
rosybrown: "#bc8f8f",
|
|
335
|
+
royalblue: "#4169e1",
|
|
336
|
+
saddlebrown: "#8b4513",
|
|
337
|
+
salmon: "#fa8072",
|
|
338
|
+
sandybrown: "#f4a460",
|
|
339
|
+
seagreen: "#2e8b57",
|
|
340
|
+
seashell: "#fff5ee",
|
|
341
|
+
sienna: "#a0522d",
|
|
342
|
+
silver: "#c0c0c0",
|
|
343
|
+
skyblue: "#87ceeb",
|
|
344
|
+
slateblue: "#6a5acd",
|
|
345
|
+
slategray: "#708090",
|
|
346
|
+
slategrey: "#708090",
|
|
347
|
+
snow: "#fffafa",
|
|
348
|
+
springgreen: "#00ff7f",
|
|
349
|
+
tan: "#d2b48c",
|
|
350
|
+
teal: "#008080",
|
|
351
|
+
thistle: "#d8bfd8",
|
|
352
|
+
transparent: "#00000000",
|
|
353
|
+
turquoise: "#40e0d0",
|
|
354
|
+
violet: "#ee82ee",
|
|
355
|
+
wheat: "#f5deb3",
|
|
356
|
+
white: "#ffffff",
|
|
357
|
+
whitesmoke: "#f5f5f5",
|
|
358
|
+
yellow: "#ffff00",
|
|
359
|
+
yellowgreen: "#9acd32"
|
|
360
|
+
},
|
|
361
|
+
parse: (e) => {
|
|
362
|
+
e = e.toLowerCase();
|
|
363
|
+
let t = p.colors[e];
|
|
364
|
+
if (t) return d.parse(t);
|
|
365
|
+
},
|
|
366
|
+
stringify: (e) => {
|
|
367
|
+
let t = d.stringify(e);
|
|
368
|
+
for (let e in p.colors) if (p.colors[e] === t) return e;
|
|
369
|
+
}
|
|
370
|
+
}, m = {
|
|
371
|
+
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,
|
|
372
|
+
parse: (e) => {
|
|
373
|
+
let t = e.charCodeAt(0);
|
|
374
|
+
if (t !== 114 && t !== 82) return;
|
|
375
|
+
let n = e.match(m.re);
|
|
376
|
+
if (!n) return;
|
|
377
|
+
let [, r, i, a, s, c, l, d, f] = n;
|
|
378
|
+
return u.set({
|
|
379
|
+
r: o.channel.clamp.r(i ? parseFloat(r) * 2.55 : parseFloat(r)),
|
|
380
|
+
g: o.channel.clamp.g(s ? parseFloat(a) * 2.55 : parseFloat(a)),
|
|
381
|
+
b: o.channel.clamp.b(l ? parseFloat(c) * 2.55 : parseFloat(c)),
|
|
382
|
+
a: d ? o.channel.clamp.a(f ? parseFloat(d) / 100 : parseFloat(d)) : 1
|
|
383
|
+
}, e);
|
|
384
|
+
},
|
|
385
|
+
stringify: (e) => {
|
|
386
|
+
let { r: t, g: n, b: r, a: i } = e;
|
|
387
|
+
return i < 1 ? `rgba(${o.lang.round(t)}, ${o.lang.round(n)}, ${o.lang.round(r)}, ${o.lang.round(i)})` : `rgb(${o.lang.round(t)}, ${o.lang.round(n)}, ${o.lang.round(r)})`;
|
|
388
|
+
}
|
|
389
|
+
}, h = {
|
|
390
|
+
format: {
|
|
391
|
+
keyword: p,
|
|
392
|
+
hex: d,
|
|
393
|
+
rgb: m,
|
|
394
|
+
rgba: m,
|
|
395
|
+
hsl: f,
|
|
396
|
+
hsla: f
|
|
397
|
+
},
|
|
398
|
+
parse: (e) => {
|
|
399
|
+
if (typeof e != "string") return e;
|
|
400
|
+
let t = d.parse(e) || m.parse(e) || f.parse(e) || p.parse(e);
|
|
401
|
+
if (t) return t;
|
|
402
|
+
throw Error(`Unsupported color format: "${e}"`);
|
|
403
|
+
},
|
|
404
|
+
stringify: (e) => !e.changed && e.color ? e.color : e.type.is(c.HSL) || e.data.r === void 0 ? f.stringify(e) : e.a < 1 || !Number.isInteger(e.r) || !Number.isInteger(e.g) || !Number.isInteger(e.b) ? m.stringify(e) : d.stringify(e)
|
|
405
|
+
}, g = (e, t) => {
|
|
406
|
+
let n = h.parse(e);
|
|
407
|
+
for (let e in t) n[e] = o.channel.clamp[e](t[e]);
|
|
408
|
+
return h.stringify(n);
|
|
409
|
+
}, _ = (e, t, n = 0, r = 1) => {
|
|
410
|
+
if (typeof e != "number") return g(e, { a: t });
|
|
411
|
+
let i = u.set({
|
|
412
|
+
r: o.channel.clamp.r(e),
|
|
413
|
+
g: o.channel.clamp.g(t),
|
|
414
|
+
b: o.channel.clamp.b(n),
|
|
415
|
+
a: o.channel.clamp.a(r)
|
|
416
|
+
});
|
|
417
|
+
return h.stringify(i);
|
|
418
|
+
}, ee = (e) => {
|
|
419
|
+
let { r: t, g: n, b: r } = h.parse(e), i = .2126 * o.channel.toLinear(t) + .7152 * o.channel.toLinear(n) + .0722 * o.channel.toLinear(r);
|
|
420
|
+
return o.lang.round(i);
|
|
421
|
+
}, te = (e) => ee(e) >= .5, v = (e) => !te(e), y = (e, t, n) => {
|
|
422
|
+
let r = h.parse(e), i = r[t], a = o.channel.clamp[t](i + n);
|
|
423
|
+
return i !== a && (r[t] = a), h.stringify(r);
|
|
424
|
+
}, b = (e, t) => y(e, "l", t), x = (e, t) => y(e, "l", -t), S = (e, t) => {
|
|
425
|
+
let n = h.parse(e), r = {};
|
|
426
|
+
for (let e in t) t[e] && (r[e] = n[e] + t[e]);
|
|
427
|
+
return g(e, r);
|
|
428
|
+
}, ne = (e, t, n = 50) => {
|
|
429
|
+
let { r, g: i, b: a, a: o } = h.parse(e), { r: s, g: c, b: l, a: u } = h.parse(t), d = n / 100, f = d * 2 - 1, p = o - u, m = ((f * p === -1 ? f : (f + p) / (1 + f * p)) + 1) / 2, g = 1 - m;
|
|
430
|
+
return _(r * m + s * g, i * m + c * g, a * m + l * g, o * d + u * (1 - d));
|
|
431
|
+
}, C = (e, t = 100) => {
|
|
432
|
+
let n = h.parse(e);
|
|
433
|
+
return n.r = 255 - n.r, n.g = 255 - n.g, n.b = 255 - n.b, ne(n, e, t);
|
|
434
|
+
}, re = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, ie = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, ae = /\s*%%.*\n/gm, oe = class extends Error {
|
|
435
|
+
static {
|
|
436
|
+
n(this, "UnknownDiagramError");
|
|
437
|
+
}
|
|
438
|
+
constructor(e) {
|
|
439
|
+
super(e), this.name = "UnknownDiagramError";
|
|
440
|
+
}
|
|
441
|
+
}, w = {}, se = /* @__PURE__ */ n(function(e, t) {
|
|
442
|
+
e = e.replace(re, "").replace(ie, "").replace(ae, "\n");
|
|
443
|
+
for (let [n, { detector: r }] of Object.entries(w)) if (r(e, t)) return n;
|
|
444
|
+
throw new oe(`No diagram type detected matching given configuration for text: ${e}`);
|
|
445
|
+
}, "detectType"), ce = /* @__PURE__ */ n((...e) => {
|
|
446
|
+
for (let { id: t, detector: n, loader: r } of e) le(t, n, r);
|
|
447
|
+
}, "registerLazyLoadedDiagrams"), le = /* @__PURE__ */ n((e, t, n) => {
|
|
448
|
+
w[e] && r.warn(`Detector with key ${e} already exists. Overwriting.`), w[e] = {
|
|
449
|
+
detector: t,
|
|
450
|
+
loader: n
|
|
451
|
+
}, r.debug(`Detector with key ${e} added${n ? " with loader" : ""}`);
|
|
452
|
+
}, "addDetector"), ue = /* @__PURE__ */ n((e) => w[e].loader, "getDiagramLoader"), T = /* @__PURE__ */ n((e, t, { depth: n = 2, clobber: r = !1 } = {}) => {
|
|
453
|
+
let i = {
|
|
454
|
+
depth: n,
|
|
455
|
+
clobber: r
|
|
456
|
+
};
|
|
457
|
+
return Array.isArray(t) && !Array.isArray(e) ? (t.forEach((t) => T(e, t, i)), e) : Array.isArray(t) && Array.isArray(e) ? (t.forEach((t) => {
|
|
458
|
+
e.includes(t) || e.push(t);
|
|
459
|
+
}), e) : e === void 0 || n <= 0 ? typeof e == "object" && e && typeof t == "object" ? Object.assign(e, t) : t : (t !== void 0 && typeof e == "object" && typeof t == "object" && Object.keys(t).forEach((i) => {
|
|
460
|
+
typeof t[i] == "object" && t[i] !== null && (e[i] === void 0 || typeof e[i] == "object") ? (e[i] === void 0 && (e[i] = Array.isArray(t[i]) ? [] : {}), e[i] = T(e[i], t[i], {
|
|
461
|
+
depth: n - 1,
|
|
462
|
+
clobber: r
|
|
463
|
+
})) : (r || typeof e[i] != "object" && typeof t[i] != "object") && (e[i] = t[i]);
|
|
464
|
+
}), e);
|
|
465
|
+
}, "assignWithDepth"), E = T, D = "#ffffff", O = "#f2f2f2", k = /* @__PURE__ */ n((e, t) => t ? S(e, {
|
|
466
|
+
s: -40,
|
|
467
|
+
l: 10
|
|
468
|
+
}) : S(e, {
|
|
469
|
+
s: -40,
|
|
470
|
+
l: -10
|
|
471
|
+
}), "mkBorder"), de = class {
|
|
472
|
+
static {
|
|
473
|
+
n(this, "Theme");
|
|
474
|
+
}
|
|
475
|
+
constructor() {
|
|
476
|
+
this.background = "#f4f4f4", this.primaryColor = "#fff4dd", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px";
|
|
477
|
+
}
|
|
478
|
+
updateColors() {
|
|
479
|
+
if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || S(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || S(this.primaryColor, {
|
|
480
|
+
h: 180,
|
|
481
|
+
l: 5
|
|
482
|
+
}), this.primaryBorderColor = this.primaryBorderColor || k(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || k(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || k(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || k(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || C(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || C(this.tertiaryColor), this.lineColor = this.lineColor || C(this.background), this.arrowheadColor = this.arrowheadColor || C(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 ? x(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 || x(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || C(this.lineColor), 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 || b(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.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.darkMode ? (this.rowOdd = this.rowOdd || x(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || x(this.mainBkg, 10)) : (this.rowOdd = this.rowOdd || b(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || b(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 || S(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || S(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || S(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || S(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || S(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || S(this.primaryColor, {
|
|
483
|
+
h: 210,
|
|
484
|
+
l: 150
|
|
485
|
+
}), this.cScale9 = this.cScale9 || S(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || S(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || S(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = x(this["cScale" + e], 75);
|
|
486
|
+
else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = x(this["cScale" + e], 25);
|
|
487
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || C(this["cScale" + e]);
|
|
488
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || x(this["cScale" + e], 10);
|
|
489
|
+
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
490
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
491
|
+
let e = this.darkMode ? -4 : -1;
|
|
492
|
+
for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || S(this.mainBkg, {
|
|
493
|
+
h: 180,
|
|
494
|
+
s: -15,
|
|
495
|
+
l: e * (5 + t * 3)
|
|
496
|
+
}), this["surfacePeer" + t] = this["surfacePeer" + t] || S(this.mainBkg, {
|
|
497
|
+
h: 180,
|
|
498
|
+
s: -15,
|
|
499
|
+
l: e * (8 + t * 3)
|
|
500
|
+
});
|
|
501
|
+
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || S(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || S(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || S(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || S(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || S(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || S(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || S(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || S(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || S(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || S(this.primaryColor, {
|
|
502
|
+
h: 60,
|
|
503
|
+
l: -10
|
|
504
|
+
}), this.pie8 = this.pie8 || S(this.primaryColor, {
|
|
505
|
+
h: -60,
|
|
506
|
+
l: -10
|
|
507
|
+
}), this.pie9 = this.pie9 || S(this.primaryColor, {
|
|
508
|
+
h: 120,
|
|
509
|
+
l: 0
|
|
510
|
+
}), this.pie10 = this.pie10 || S(this.primaryColor, {
|
|
511
|
+
h: 60,
|
|
512
|
+
l: -20
|
|
513
|
+
}), this.pie11 = this.pie11 || S(this.primaryColor, {
|
|
514
|
+
h: -60,
|
|
515
|
+
l: -20
|
|
516
|
+
}), this.pie12 = this.pie12 || S(this.primaryColor, {
|
|
517
|
+
h: 120,
|
|
518
|
+
l: -10
|
|
519
|
+
}), 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 ?? S(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? S(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? S(this.tertiaryColor, { l: -30 }), this.venn4 = this.venn4 ?? S(this.primaryColor, {
|
|
520
|
+
h: 60,
|
|
521
|
+
l: -30
|
|
522
|
+
}), this.venn5 = this.venn5 ?? S(this.primaryColor, {
|
|
523
|
+
h: -60,
|
|
524
|
+
l: -30
|
|
525
|
+
}), this.venn6 = this.venn6 ?? S(this.secondaryColor, {
|
|
526
|
+
h: 60,
|
|
527
|
+
l: -30
|
|
528
|
+
}), this.venn7 = this.venn7 ?? S(this.primaryColor, {
|
|
529
|
+
h: 120,
|
|
530
|
+
l: -30
|
|
531
|
+
}), this.venn8 = this.venn8 ?? S(this.secondaryColor, {
|
|
532
|
+
h: 120,
|
|
533
|
+
l: -30
|
|
534
|
+
}), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.radar = {
|
|
535
|
+
axisColor: this.radar?.axisColor || this.lineColor,
|
|
536
|
+
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
537
|
+
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
538
|
+
curveOpacity: this.radar?.curveOpacity || .5,
|
|
539
|
+
curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
|
|
540
|
+
graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
|
|
541
|
+
graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
|
|
542
|
+
graticuleOpacity: this.radar?.graticuleOpacity || .3,
|
|
543
|
+
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
544
|
+
legendFontSize: this.radar?.legendFontSize || 12
|
|
545
|
+
}, 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 || S(this.primaryColor, {
|
|
546
|
+
r: 5,
|
|
547
|
+
g: 5,
|
|
548
|
+
b: 5
|
|
549
|
+
}), this.quadrant3Fill = this.quadrant3Fill || S(this.primaryColor, {
|
|
550
|
+
r: 10,
|
|
551
|
+
g: 10,
|
|
552
|
+
b: 10
|
|
553
|
+
}), this.quadrant4Fill = this.quadrant4Fill || S(this.primaryColor, {
|
|
554
|
+
r: 15,
|
|
555
|
+
g: 15,
|
|
556
|
+
b: 15
|
|
557
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, {
|
|
558
|
+
r: -5,
|
|
559
|
+
g: -5,
|
|
560
|
+
b: -5
|
|
561
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, {
|
|
562
|
+
r: -10,
|
|
563
|
+
g: -10,
|
|
564
|
+
b: -10
|
|
565
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, {
|
|
566
|
+
r: -15,
|
|
567
|
+
g: -15,
|
|
568
|
+
b: -15
|
|
569
|
+
}), this.quadrantPointFill = this.quadrantPointFill || v(this.quadrant1Fill) ? b(this.quadrant1Fill) : x(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 = {
|
|
570
|
+
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
571
|
+
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
572
|
+
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
573
|
+
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
574
|
+
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
575
|
+
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
576
|
+
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
577
|
+
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
578
|
+
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
579
|
+
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
580
|
+
plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
581
|
+
}, 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 ? x(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 || S(this.primaryColor, { h: -30 }), this.git4 = this.git4 || S(this.primaryColor, { h: -60 }), this.git5 = this.git5 || S(this.primaryColor, { h: -90 }), this.git6 = this.git6 || S(this.primaryColor, { h: 60 }), this.git7 = this.git7 || S(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)) : (this.git0 = x(this.git0, 25), this.git1 = x(this.git1, 25), this.git2 = x(this.git2, 25), this.git3 = x(this.git3, 25), this.git4 = x(this.git4, 25), this.git5 = x(this.git5, 25), this.git6 = x(this.git6, 25), this.git7 = x(this.git7, 25)), this.gitInv0 = this.gitInv0 || C(this.git0), this.gitInv1 = this.gitInv1 || C(this.git1), this.gitInv2 = this.gitInv2 || C(this.git2), this.gitInv3 = this.gitInv3 || C(this.git3), this.gitInv4 = this.gitInv4 || C(this.git4), this.gitInv5 = this.gitInv5 || C(this.git5), this.gitInv6 = this.gitInv6 || C(this.git6), this.gitInv7 = this.gitInv7 || C(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 || D, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || O;
|
|
582
|
+
}
|
|
583
|
+
calculate(e) {
|
|
584
|
+
if (typeof e != "object") {
|
|
585
|
+
this.updateColors();
|
|
586
|
+
return;
|
|
587
|
+
}
|
|
588
|
+
let t = Object.keys(e);
|
|
589
|
+
t.forEach((t) => {
|
|
590
|
+
this[t] = e[t];
|
|
591
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
592
|
+
this[t] = e[t];
|
|
593
|
+
});
|
|
594
|
+
}
|
|
595
|
+
}, fe = /* @__PURE__ */ n((e) => {
|
|
596
|
+
let t = new de();
|
|
597
|
+
return t.calculate(e), t;
|
|
598
|
+
}, "getThemeVariables"), pe = class {
|
|
599
|
+
static {
|
|
600
|
+
n(this, "Theme");
|
|
601
|
+
}
|
|
602
|
+
constructor() {
|
|
603
|
+
this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = b(this.primaryColor, 16), this.tertiaryColor = S(this.primaryColor, { h: -160 }), this.primaryBorderColor = C(this.background), this.secondaryBorderColor = k(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = k(this.tertiaryColor, this.darkMode), this.primaryTextColor = C(this.primaryColor), this.secondaryTextColor = C(this.secondaryColor), this.tertiaryTextColor = C(this.tertiaryColor), this.lineColor = C(this.background), this.textColor = C(this.background), this.mainBkg = "#1f2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = b(C("#323D47"), 10), this.lineColor = "calculated", this.border1 = "#ccc", this.border2 = _(255, 255, 255, .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.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.sectionBkgColor = x("#EAE8D9", 30), this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "#EAE8D9", this.excludeBkgColor = x(this.sectionBkgColor, 10), this.taskBorderColor = _(255, 255, 255, 70), this.taskBkgColor = "calculated", this.taskTextColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = _(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 || b(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || x(this.mainBkg, 10), this.labelColor = "calculated", this.errorBkgColor = "#a44141", this.errorTextColor = "#ddd";
|
|
604
|
+
}
|
|
605
|
+
updateColors() {
|
|
606
|
+
this.secondBkg = b(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 = b(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.altSectionBkgColor = this.background, this.taskBkgColor = b(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 = C(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 = S(this.primaryColor, { h: 64 }), this.fillType3 = S(this.secondaryColor, { h: 64 }), this.fillType4 = S(this.primaryColor, { h: -64 }), this.fillType5 = S(this.secondaryColor, { h: -64 }), this.fillType6 = S(this.primaryColor, { h: 128 }), this.fillType7 = S(this.secondaryColor, { h: 128 }), 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 || S(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || S(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || S(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || S(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || S(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || S(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || S(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || S(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || S(this.primaryColor, { h: 330 });
|
|
607
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || C(this["cScale" + e]);
|
|
608
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10);
|
|
609
|
+
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || S(this.mainBkg, {
|
|
610
|
+
h: 30,
|
|
611
|
+
s: -30,
|
|
612
|
+
l: -(-10 + e * 4)
|
|
613
|
+
}), this["surfacePeer" + e] = this["surfacePeer" + e] || S(this.mainBkg, {
|
|
614
|
+
h: 30,
|
|
615
|
+
s: -30,
|
|
616
|
+
l: -(-7 + e * 4)
|
|
617
|
+
});
|
|
618
|
+
this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor);
|
|
619
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
620
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["pie" + e] = this["cScale" + e];
|
|
621
|
+
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";
|
|
622
|
+
for (let e = 0; e < 8; e++) this["venn" + (e + 1)] = this["venn" + (e + 1)] ?? b(this["cScale" + e], 30);
|
|
623
|
+
this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || S(this.primaryColor, {
|
|
624
|
+
r: 5,
|
|
625
|
+
g: 5,
|
|
626
|
+
b: 5
|
|
627
|
+
}), this.quadrant3Fill = this.quadrant3Fill || S(this.primaryColor, {
|
|
628
|
+
r: 10,
|
|
629
|
+
g: 10,
|
|
630
|
+
b: 10
|
|
631
|
+
}), this.quadrant4Fill = this.quadrant4Fill || S(this.primaryColor, {
|
|
632
|
+
r: 15,
|
|
633
|
+
g: 15,
|
|
634
|
+
b: 15
|
|
635
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, {
|
|
636
|
+
r: -5,
|
|
637
|
+
g: -5,
|
|
638
|
+
b: -5
|
|
639
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, {
|
|
640
|
+
r: -10,
|
|
641
|
+
g: -10,
|
|
642
|
+
b: -10
|
|
643
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, {
|
|
644
|
+
r: -15,
|
|
645
|
+
g: -15,
|
|
646
|
+
b: -15
|
|
647
|
+
}), this.quadrantPointFill = this.quadrantPointFill || v(this.quadrant1Fill) ? b(this.quadrant1Fill) : x(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 = {
|
|
648
|
+
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
649
|
+
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
650
|
+
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
651
|
+
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
652
|
+
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
653
|
+
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
654
|
+
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
655
|
+
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
656
|
+
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
657
|
+
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
658
|
+
plotColorPalette: this.xyChart?.plotColorPalette || "#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"
|
|
659
|
+
}, this.packet = {
|
|
660
|
+
startByteColor: this.primaryTextColor,
|
|
661
|
+
endByteColor: this.primaryTextColor,
|
|
662
|
+
labelColor: this.primaryTextColor,
|
|
663
|
+
titleColor: this.primaryTextColor,
|
|
664
|
+
blockStrokeColor: this.primaryTextColor,
|
|
665
|
+
blockFillColor: this.background
|
|
666
|
+
}, this.radar = {
|
|
667
|
+
axisColor: this.radar?.axisColor || this.lineColor,
|
|
668
|
+
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
669
|
+
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
670
|
+
curveOpacity: this.radar?.curveOpacity || .5,
|
|
671
|
+
curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
|
|
672
|
+
graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
|
|
673
|
+
graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
|
|
674
|
+
graticuleOpacity: this.radar?.graticuleOpacity || .3,
|
|
675
|
+
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
676
|
+
legendFontSize: this.radar?.legendFontSize || 12
|
|
677
|
+
}, 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 ? x(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = b(this.secondaryColor, 20), this.git1 = b(this.pie2 || this.secondaryColor, 20), this.git2 = b(this.pie3 || this.tertiaryColor, 20), this.git3 = b(this.pie4 || S(this.primaryColor, { h: -30 }), 20), this.git4 = b(this.pie5 || S(this.primaryColor, { h: -60 }), 20), this.git5 = b(this.pie6 || S(this.primaryColor, { h: -90 }), 10), this.git6 = b(this.pie7 || S(this.primaryColor, { h: 60 }), 10), this.git7 = b(this.pie8 || S(this.primaryColor, { h: 120 }), 20), this.gitInv0 = this.gitInv0 || C(this.git0), this.gitInv1 = this.gitInv1 || C(this.git1), this.gitInv2 = this.gitInv2 || C(this.git2), this.gitInv3 = this.gitInv3 || C(this.git3), this.gitInv4 = this.gitInv4 || C(this.git4), this.gitInv5 = this.gitInv5 || C(this.git5), this.gitInv6 = this.gitInv6 || C(this.git6), this.gitInv7 = this.gitInv7 || C(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || C(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || C(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.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || b(this.background, 12), this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || b(this.background, 2), this.nodeBorder = this.nodeBorder || "#999";
|
|
678
|
+
}
|
|
679
|
+
calculate(e) {
|
|
680
|
+
if (typeof e != "object") {
|
|
681
|
+
this.updateColors();
|
|
682
|
+
return;
|
|
683
|
+
}
|
|
684
|
+
let t = Object.keys(e);
|
|
685
|
+
t.forEach((t) => {
|
|
686
|
+
this[t] = e[t];
|
|
687
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
688
|
+
this[t] = e[t];
|
|
689
|
+
});
|
|
690
|
+
}
|
|
691
|
+
}, me = /* @__PURE__ */ n((e) => {
|
|
692
|
+
let t = new pe();
|
|
693
|
+
return t.calculate(e), t;
|
|
694
|
+
}, "getThemeVariables"), he = class {
|
|
695
|
+
static {
|
|
696
|
+
n(this, "Theme");
|
|
697
|
+
}
|
|
698
|
+
constructor() {
|
|
699
|
+
this.background = "#f4f4f4", this.primaryColor = "#ECECFF", this.secondaryColor = S(this.primaryColor, { h: 120 }), this.secondaryColor = "#ffffde", this.tertiaryColor = S(this.primaryColor, { h: -160 }), this.primaryBorderColor = k(this.primaryColor, this.darkMode), this.secondaryBorderColor = k(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = k(this.tertiaryColor, this.darkMode), this.primaryTextColor = C(this.primaryColor), this.secondaryTextColor = C(this.secondaryColor), this.tertiaryTextColor = C(this.tertiaryColor), this.lineColor = C(this.background), this.textColor = C(this.background), this.background = "white", this.mainBkg = "#ECECFF", this.secondBkg = "#ffffde", this.lineColor = "#333333", this.border1 = "#9370DB", 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.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.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 = _(102, 102, 255, .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.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.updateColors();
|
|
700
|
+
}
|
|
701
|
+
updateColors() {
|
|
702
|
+
this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || S(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || S(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || S(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || S(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || S(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || S(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || S(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || S(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || S(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || x(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || x(this.tertiaryColor, 40);
|
|
703
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = x(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || x(this["cScale" + e], 25);
|
|
704
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || S(this["cScale" + e], { h: 180 });
|
|
705
|
+
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || S(this.mainBkg, {
|
|
706
|
+
h: 30,
|
|
707
|
+
l: -(5 + e * 5)
|
|
708
|
+
}), this["surfacePeer" + e] = this["surfacePeer" + e] || S(this.mainBkg, {
|
|
709
|
+
h: 30,
|
|
710
|
+
l: -(7 + e * 5)
|
|
711
|
+
});
|
|
712
|
+
if (this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor, this.labelTextColor !== "calculated") {
|
|
713
|
+
this.cScaleLabel0 = this.cScaleLabel0 || C(this.labelTextColor), this.cScaleLabel3 = this.cScaleLabel3 || C(this.labelTextColor);
|
|
714
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.labelTextColor;
|
|
715
|
+
}
|
|
716
|
+
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 = b(this.border1, 23), 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.taskTextColor = this.taskTextLightColor, this.taskTextOutsideColor = this.taskTextDarkColor, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.rowOdd = this.rowOdd || b(this.primaryColor, 75) || "#ffffff", this.rowEven = this.rowEven || b(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 = S(this.primaryColor, { h: 64 }), this.fillType3 = S(this.secondaryColor, { h: 64 }), this.fillType4 = S(this.primaryColor, { h: -64 }), this.fillType5 = S(this.secondaryColor, { h: -64 }), this.fillType6 = S(this.primaryColor, { h: 128 }), this.fillType7 = S(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || S(this.tertiaryColor, { l: -40 }), this.pie4 = this.pie4 || S(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || S(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || S(this.tertiaryColor, { l: -20 }), this.pie7 = this.pie7 || S(this.primaryColor, {
|
|
717
|
+
h: 60,
|
|
718
|
+
l: -20
|
|
719
|
+
}), this.pie8 = this.pie8 || S(this.primaryColor, {
|
|
720
|
+
h: -60,
|
|
721
|
+
l: -40
|
|
722
|
+
}), this.pie9 = this.pie9 || S(this.primaryColor, {
|
|
723
|
+
h: 120,
|
|
724
|
+
l: -40
|
|
725
|
+
}), this.pie10 = this.pie10 || S(this.primaryColor, {
|
|
726
|
+
h: 60,
|
|
727
|
+
l: -40
|
|
728
|
+
}), this.pie11 = this.pie11 || S(this.primaryColor, {
|
|
729
|
+
h: -90,
|
|
730
|
+
l: -40
|
|
731
|
+
}), this.pie12 = this.pie12 || S(this.primaryColor, {
|
|
732
|
+
h: 120,
|
|
733
|
+
l: -30
|
|
734
|
+
}), 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 ?? S(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? S(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? S(this.tertiaryColor, { l: -40 }), this.venn4 = this.venn4 ?? S(this.primaryColor, {
|
|
735
|
+
h: 60,
|
|
736
|
+
l: -30
|
|
737
|
+
}), this.venn5 = this.venn5 ?? S(this.primaryColor, {
|
|
738
|
+
h: -60,
|
|
739
|
+
l: -30
|
|
740
|
+
}), this.venn6 = this.venn6 ?? S(this.secondaryColor, {
|
|
741
|
+
h: 60,
|
|
742
|
+
l: -30
|
|
743
|
+
}), this.venn7 = this.venn7 ?? S(this.primaryColor, {
|
|
744
|
+
h: 120,
|
|
745
|
+
l: -30
|
|
746
|
+
}), this.venn8 = this.venn8 ?? S(this.secondaryColor, {
|
|
747
|
+
h: 120,
|
|
748
|
+
l: -30
|
|
749
|
+
}), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || S(this.primaryColor, {
|
|
750
|
+
r: 5,
|
|
751
|
+
g: 5,
|
|
752
|
+
b: 5
|
|
753
|
+
}), this.quadrant3Fill = this.quadrant3Fill || S(this.primaryColor, {
|
|
754
|
+
r: 10,
|
|
755
|
+
g: 10,
|
|
756
|
+
b: 10
|
|
757
|
+
}), this.quadrant4Fill = this.quadrant4Fill || S(this.primaryColor, {
|
|
758
|
+
r: 15,
|
|
759
|
+
g: 15,
|
|
760
|
+
b: 15
|
|
761
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, {
|
|
762
|
+
r: -5,
|
|
763
|
+
g: -5,
|
|
764
|
+
b: -5
|
|
765
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, {
|
|
766
|
+
r: -10,
|
|
767
|
+
g: -10,
|
|
768
|
+
b: -10
|
|
769
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, {
|
|
770
|
+
r: -15,
|
|
771
|
+
g: -15,
|
|
772
|
+
b: -15
|
|
773
|
+
}), this.quadrantPointFill = this.quadrantPointFill || v(this.quadrant1Fill) ? b(this.quadrant1Fill) : x(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 = {
|
|
774
|
+
axisColor: this.radar?.axisColor || this.lineColor,
|
|
775
|
+
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
776
|
+
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
777
|
+
curveOpacity: this.radar?.curveOpacity || .5,
|
|
778
|
+
curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
|
|
779
|
+
graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
|
|
780
|
+
graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
|
|
781
|
+
graticuleOpacity: this.radar?.graticuleOpacity || .3,
|
|
782
|
+
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
783
|
+
legendFontSize: this.radar?.legendFontSize || 12
|
|
784
|
+
}, this.xyChart = {
|
|
785
|
+
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
786
|
+
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
787
|
+
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
788
|
+
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
789
|
+
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
790
|
+
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
791
|
+
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
792
|
+
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
793
|
+
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
794
|
+
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
795
|
+
plotColorPalette: this.xyChart?.plotColorPalette || "#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"
|
|
796
|
+
}, 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 || S(this.primaryColor, { h: -30 }), this.git4 = this.git4 || S(this.primaryColor, { h: -60 }), this.git5 = this.git5 || S(this.primaryColor, { h: -90 }), this.git6 = this.git6 || S(this.primaryColor, { h: 60 }), this.git7 = this.git7 || S(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)) : (this.git0 = x(this.git0, 25), this.git1 = x(this.git1, 25), this.git2 = x(this.git2, 25), this.git3 = x(this.git3, 25), this.git4 = x(this.git4, 25), this.git5 = x(this.git5, 25), this.git6 = x(this.git6, 25), this.git7 = x(this.git7, 25)), this.gitInv0 = this.gitInv0 || x(C(this.git0), 25), this.gitInv1 = this.gitInv1 || C(this.git1), this.gitInv2 = this.gitInv2 || C(this.git2), this.gitInv3 = this.gitInv3 || C(this.git3), this.gitInv4 = this.gitInv4 || C(this.git4), this.gitInv5 = this.gitInv5 || C(this.git5), this.gitInv6 = this.gitInv6 || C(this.git6), this.gitInv7 = this.gitInv7 || C(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || C(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || C(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.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || D, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || O;
|
|
797
|
+
}
|
|
798
|
+
calculate(e) {
|
|
799
|
+
if (Object.keys(this).forEach((e) => {
|
|
800
|
+
this[e] === "calculated" && (this[e] = void 0);
|
|
801
|
+
}), typeof e != "object") {
|
|
802
|
+
this.updateColors();
|
|
803
|
+
return;
|
|
804
|
+
}
|
|
805
|
+
let t = Object.keys(e);
|
|
806
|
+
t.forEach((t) => {
|
|
807
|
+
this[t] = e[t];
|
|
808
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
809
|
+
this[t] = e[t];
|
|
810
|
+
});
|
|
811
|
+
}
|
|
812
|
+
}, ge = /* @__PURE__ */ n((e) => {
|
|
813
|
+
let t = new he();
|
|
814
|
+
return t.calculate(e), t;
|
|
815
|
+
}, "getThemeVariables"), _e = class {
|
|
816
|
+
static {
|
|
817
|
+
n(this, "Theme");
|
|
818
|
+
}
|
|
819
|
+
constructor() {
|
|
820
|
+
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 = b("#cde498", 10), this.primaryBorderColor = k(this.primaryColor, this.darkMode), this.secondaryBorderColor = k(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = k(this.tertiaryColor, this.darkMode), this.primaryTextColor = C(this.primaryColor), this.secondaryTextColor = C(this.secondaryColor), this.tertiaryTextColor = C(this.primaryColor), this.lineColor = C(this.background), this.textColor = C(this.background), this.THEME_COLOR_LIMIT = 12, 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.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222";
|
|
821
|
+
}
|
|
822
|
+
updateColors() {
|
|
823
|
+
this.actorBorder = x(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.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || S(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || S(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || S(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || S(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || S(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || S(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || S(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || S(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || S(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || x(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || x(this.tertiaryColor, 40);
|
|
824
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = x(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || x(this["cScale" + e], 25);
|
|
825
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || S(this["cScale" + e], { h: 180 });
|
|
826
|
+
this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor;
|
|
827
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
828
|
+
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || S(this.mainBkg, {
|
|
829
|
+
h: 30,
|
|
830
|
+
s: -30,
|
|
831
|
+
l: -(5 + e * 5)
|
|
832
|
+
}), this["surfacePeer" + e] = this["surfacePeer" + e] || S(this.mainBkg, {
|
|
833
|
+
h: 30,
|
|
834
|
+
s: -30,
|
|
835
|
+
l: -(8 + e * 5)
|
|
836
|
+
});
|
|
837
|
+
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 || b(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || b(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 = S(this.primaryColor, { h: 64 }), this.fillType3 = S(this.secondaryColor, { h: 64 }), this.fillType4 = S(this.primaryColor, { h: -64 }), this.fillType5 = S(this.secondaryColor, { h: -64 }), this.fillType6 = S(this.primaryColor, { h: 128 }), this.fillType7 = S(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || S(this.primaryColor, { l: -30 }), this.pie5 = this.pie5 || S(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || S(this.tertiaryColor, {
|
|
838
|
+
h: 40,
|
|
839
|
+
l: -40
|
|
840
|
+
}), this.pie7 = this.pie7 || S(this.primaryColor, {
|
|
841
|
+
h: 60,
|
|
842
|
+
l: -10
|
|
843
|
+
}), this.pie8 = this.pie8 || S(this.primaryColor, {
|
|
844
|
+
h: -60,
|
|
845
|
+
l: -10
|
|
846
|
+
}), this.pie9 = this.pie9 || S(this.primaryColor, {
|
|
847
|
+
h: 120,
|
|
848
|
+
l: 0
|
|
849
|
+
}), this.pie10 = this.pie10 || S(this.primaryColor, {
|
|
850
|
+
h: 60,
|
|
851
|
+
l: -50
|
|
852
|
+
}), this.pie11 = this.pie11 || S(this.primaryColor, {
|
|
853
|
+
h: -60,
|
|
854
|
+
l: -50
|
|
855
|
+
}), this.pie12 = this.pie12 || S(this.primaryColor, {
|
|
856
|
+
h: 120,
|
|
857
|
+
l: -50
|
|
858
|
+
}), 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 ?? S(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? S(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? S(this.tertiaryColor, { l: -30 }), this.venn4 = this.venn4 ?? S(this.primaryColor, {
|
|
859
|
+
h: 60,
|
|
860
|
+
l: -30
|
|
861
|
+
}), this.venn5 = this.venn5 ?? S(this.primaryColor, {
|
|
862
|
+
h: -60,
|
|
863
|
+
l: -30
|
|
864
|
+
}), this.venn6 = this.venn6 ?? S(this.secondaryColor, {
|
|
865
|
+
h: 60,
|
|
866
|
+
l: -30
|
|
867
|
+
}), this.venn7 = this.venn7 ?? S(this.primaryColor, {
|
|
868
|
+
h: 120,
|
|
869
|
+
l: -30
|
|
870
|
+
}), this.venn8 = this.venn8 ?? S(this.secondaryColor, {
|
|
871
|
+
h: 120,
|
|
872
|
+
l: -30
|
|
873
|
+
}), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || S(this.primaryColor, {
|
|
874
|
+
r: 5,
|
|
875
|
+
g: 5,
|
|
876
|
+
b: 5
|
|
877
|
+
}), this.quadrant3Fill = this.quadrant3Fill || S(this.primaryColor, {
|
|
878
|
+
r: 10,
|
|
879
|
+
g: 10,
|
|
880
|
+
b: 10
|
|
881
|
+
}), this.quadrant4Fill = this.quadrant4Fill || S(this.primaryColor, {
|
|
882
|
+
r: 15,
|
|
883
|
+
g: 15,
|
|
884
|
+
b: 15
|
|
885
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, {
|
|
886
|
+
r: -5,
|
|
887
|
+
g: -5,
|
|
888
|
+
b: -5
|
|
889
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, {
|
|
890
|
+
r: -10,
|
|
891
|
+
g: -10,
|
|
892
|
+
b: -10
|
|
893
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, {
|
|
894
|
+
r: -15,
|
|
895
|
+
g: -15,
|
|
896
|
+
b: -15
|
|
897
|
+
}), this.quadrantPointFill = this.quadrantPointFill || v(this.quadrant1Fill) ? b(this.quadrant1Fill) : x(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 = {
|
|
898
|
+
startByteColor: this.primaryTextColor,
|
|
899
|
+
endByteColor: this.primaryTextColor,
|
|
900
|
+
labelColor: this.primaryTextColor,
|
|
901
|
+
titleColor: this.primaryTextColor,
|
|
902
|
+
blockStrokeColor: this.primaryTextColor,
|
|
903
|
+
blockFillColor: this.mainBkg
|
|
904
|
+
}, this.radar = {
|
|
905
|
+
axisColor: this.radar?.axisColor || this.lineColor,
|
|
906
|
+
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
907
|
+
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
908
|
+
curveOpacity: this.radar?.curveOpacity || .5,
|
|
909
|
+
curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
|
|
910
|
+
graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
|
|
911
|
+
graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
|
|
912
|
+
graticuleOpacity: this.radar?.graticuleOpacity || .3,
|
|
913
|
+
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
914
|
+
legendFontSize: this.radar?.legendFontSize || 12
|
|
915
|
+
}, this.xyChart = {
|
|
916
|
+
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
917
|
+
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
918
|
+
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
919
|
+
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
920
|
+
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
921
|
+
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
922
|
+
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
923
|
+
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
924
|
+
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
925
|
+
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
926
|
+
plotColorPalette: this.xyChart?.plotColorPalette || "#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"
|
|
927
|
+
}, 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 || S(this.primaryColor, { h: -30 }), this.git4 = this.git4 || S(this.primaryColor, { h: -60 }), this.git5 = this.git5 || S(this.primaryColor, { h: -90 }), this.git6 = this.git6 || S(this.primaryColor, { h: 60 }), this.git7 = this.git7 || S(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = b(this.git0, 25), this.git1 = b(this.git1, 25), this.git2 = b(this.git2, 25), this.git3 = b(this.git3, 25), this.git4 = b(this.git4, 25), this.git5 = b(this.git5, 25), this.git6 = b(this.git6, 25), this.git7 = b(this.git7, 25)) : (this.git0 = x(this.git0, 25), this.git1 = x(this.git1, 25), this.git2 = x(this.git2, 25), this.git3 = x(this.git3, 25), this.git4 = x(this.git4, 25), this.git5 = x(this.git5, 25), this.git6 = x(this.git6, 25), this.git7 = x(this.git7, 25)), this.gitInv0 = this.gitInv0 || C(this.git0), this.gitInv1 = this.gitInv1 || C(this.git1), this.gitInv2 = this.gitInv2 || C(this.git2), this.gitInv3 = this.gitInv3 || C(this.git3), this.gitInv4 = this.gitInv4 || C(this.git4), this.gitInv5 = this.gitInv5 || C(this.git5), this.gitInv6 = this.gitInv6 || C(this.git6), this.gitInv7 = this.gitInv7 || C(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || C(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || C(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.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || D, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || O;
|
|
928
|
+
}
|
|
929
|
+
calculate(e) {
|
|
930
|
+
if (typeof e != "object") {
|
|
931
|
+
this.updateColors();
|
|
932
|
+
return;
|
|
933
|
+
}
|
|
934
|
+
let t = Object.keys(e);
|
|
935
|
+
t.forEach((t) => {
|
|
936
|
+
this[t] = e[t];
|
|
937
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
938
|
+
this[t] = e[t];
|
|
939
|
+
});
|
|
940
|
+
}
|
|
941
|
+
}, ve = /* @__PURE__ */ n((e) => {
|
|
942
|
+
let t = new _e();
|
|
943
|
+
return t.calculate(e), t;
|
|
944
|
+
}, "getThemeVariables"), ye = class {
|
|
945
|
+
static {
|
|
946
|
+
n(this, "Theme");
|
|
947
|
+
}
|
|
948
|
+
constructor() {
|
|
949
|
+
this.primaryColor = "#eee", this.contrast = "#707070", this.secondaryColor = b(this.contrast, 55), this.background = "#ffffff", this.tertiaryColor = S(this.primaryColor, { h: -160 }), this.primaryBorderColor = k(this.primaryColor, this.darkMode), this.secondaryBorderColor = k(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = k(this.tertiaryColor, this.darkMode), this.primaryTextColor = C(this.primaryColor), this.secondaryTextColor = C(this.secondaryColor), this.tertiaryTextColor = C(this.tertiaryColor), this.lineColor = C(this.background), this.textColor = C(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.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.rowOdd = this.rowOdd || b(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || "#f4f4f4", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222";
|
|
950
|
+
}
|
|
951
|
+
updateColors() {
|
|
952
|
+
this.secondBkg = b(this.contrast, 55), this.border2 = this.contrast, this.actorBorder = b(this.border1, 23), this.actorBkg = this.mainBkg, this.actorTextColor = this.text, this.actorLineColor = this.actorBorder, 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";
|
|
953
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || C(this["cScale" + e]);
|
|
954
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || b(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || x(this["cScale" + e], 10);
|
|
955
|
+
this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.cScaleLabel0 = this.cScaleLabel0 || this.cScale1, this.cScaleLabel2 = this.cScaleLabel2 || this.cScale1;
|
|
956
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
957
|
+
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || S(this.mainBkg, { l: -(5 + e * 5) }), this["surfacePeer" + e] = this["surfacePeer" + e] || S(this.mainBkg, { l: -(8 + e * 5) });
|
|
958
|
+
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 = b(this.contrast, 30), this.sectionBkgColor2 = b(this.contrast, 30), this.taskBorderColor = x(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 = b(this.border1, 30), this.doneTaskBkgColor = this.done, this.doneTaskBorderColor = this.lineColor, this.critBkgColor = this.critical, this.critBorderColor = x(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 = S(this.primaryColor, { h: 64 }), this.fillType3 = S(this.secondaryColor, { h: 64 }), this.fillType4 = S(this.primaryColor, { h: -64 }), this.fillType5 = S(this.secondaryColor, { h: -64 }), this.fillType6 = S(this.primaryColor, { h: 128 }), this.fillType7 = S(this.secondaryColor, { h: 128 });
|
|
959
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["pie" + e] = this["cScale" + e];
|
|
960
|
+
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";
|
|
961
|
+
for (let e = 0; e < 8; e++) this["venn" + (e + 1)] = this["venn" + (e + 1)] ?? this["cScale" + e];
|
|
962
|
+
this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || S(this.primaryColor, {
|
|
963
|
+
r: 5,
|
|
964
|
+
g: 5,
|
|
965
|
+
b: 5
|
|
966
|
+
}), this.quadrant3Fill = this.quadrant3Fill || S(this.primaryColor, {
|
|
967
|
+
r: 10,
|
|
968
|
+
g: 10,
|
|
969
|
+
b: 10
|
|
970
|
+
}), this.quadrant4Fill = this.quadrant4Fill || S(this.primaryColor, {
|
|
971
|
+
r: 15,
|
|
972
|
+
g: 15,
|
|
973
|
+
b: 15
|
|
974
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || S(this.primaryTextColor, {
|
|
975
|
+
r: -5,
|
|
976
|
+
g: -5,
|
|
977
|
+
b: -5
|
|
978
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || S(this.primaryTextColor, {
|
|
979
|
+
r: -10,
|
|
980
|
+
g: -10,
|
|
981
|
+
b: -10
|
|
982
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || S(this.primaryTextColor, {
|
|
983
|
+
r: -15,
|
|
984
|
+
g: -15,
|
|
985
|
+
b: -15
|
|
986
|
+
}), this.quadrantPointFill = this.quadrantPointFill || v(this.quadrant1Fill) ? b(this.quadrant1Fill) : x(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 = {
|
|
987
|
+
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
988
|
+
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
989
|
+
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
990
|
+
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
991
|
+
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
992
|
+
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
993
|
+
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
994
|
+
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
995
|
+
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
996
|
+
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
997
|
+
plotColorPalette: this.xyChart?.plotColorPalette || "#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"
|
|
998
|
+
}, this.radar = {
|
|
999
|
+
axisColor: this.radar?.axisColor || this.lineColor,
|
|
1000
|
+
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
1001
|
+
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
1002
|
+
curveOpacity: this.radar?.curveOpacity || .5,
|
|
1003
|
+
curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
|
|
1004
|
+
graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
|
|
1005
|
+
graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
|
|
1006
|
+
graticuleOpacity: this.radar?.graticuleOpacity || .3,
|
|
1007
|
+
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
1008
|
+
legendFontSize: this.radar?.legendFontSize || 12
|
|
1009
|
+
}, 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 = x(this.pie1, 25) || this.primaryColor, this.git1 = this.pie2 || this.secondaryColor, this.git2 = this.pie3 || this.tertiaryColor, this.git3 = this.pie4 || S(this.primaryColor, { h: -30 }), this.git4 = this.pie5 || S(this.primaryColor, { h: -60 }), this.git5 = this.pie6 || S(this.primaryColor, { h: -90 }), this.git6 = this.pie7 || S(this.primaryColor, { h: 60 }), this.git7 = this.pie8 || S(this.primaryColor, { h: 120 }), this.gitInv0 = this.gitInv0 || C(this.git0), this.gitInv1 = this.gitInv1 || C(this.git1), this.gitInv2 = this.gitInv2 || C(this.git2), this.gitInv3 = this.gitInv3 || C(this.git3), this.gitInv4 = this.gitInv4 || C(this.git4), this.gitInv5 = this.gitInv5 || C(this.git5), this.gitInv6 = this.gitInv6 || C(this.git6), this.gitInv7 = this.gitInv7 || C(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.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || D, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || O;
|
|
1010
|
+
}
|
|
1011
|
+
calculate(e) {
|
|
1012
|
+
if (typeof e != "object") {
|
|
1013
|
+
this.updateColors();
|
|
1014
|
+
return;
|
|
1015
|
+
}
|
|
1016
|
+
let t = Object.keys(e);
|
|
1017
|
+
t.forEach((t) => {
|
|
1018
|
+
this[t] = e[t];
|
|
1019
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
1020
|
+
this[t] = e[t];
|
|
1021
|
+
});
|
|
1022
|
+
}
|
|
1023
|
+
}, A = {
|
|
1024
|
+
base: { getThemeVariables: fe },
|
|
1025
|
+
dark: { getThemeVariables: me },
|
|
1026
|
+
default: { getThemeVariables: ge },
|
|
1027
|
+
forest: { getThemeVariables: ve },
|
|
1028
|
+
neutral: { getThemeVariables: /* @__PURE__ */ n((e) => {
|
|
1029
|
+
let t = new ye();
|
|
1030
|
+
return t.calculate(e), t;
|
|
1031
|
+
}, "getThemeVariables") }
|
|
1032
|
+
}, j = {
|
|
1033
|
+
flowchart: {
|
|
1034
|
+
useMaxWidth: !0,
|
|
1035
|
+
titleTopMargin: 25,
|
|
1036
|
+
subGraphTitleMargin: {
|
|
1037
|
+
top: 0,
|
|
1038
|
+
bottom: 0
|
|
1039
|
+
},
|
|
1040
|
+
diagramPadding: 8,
|
|
1041
|
+
htmlLabels: null,
|
|
1042
|
+
nodeSpacing: 50,
|
|
1043
|
+
rankSpacing: 50,
|
|
1044
|
+
curve: "basis",
|
|
1045
|
+
padding: 15,
|
|
1046
|
+
defaultRenderer: "dagre-wrapper",
|
|
1047
|
+
wrappingWidth: 200,
|
|
1048
|
+
inheritDir: !1
|
|
1049
|
+
},
|
|
1050
|
+
sequence: {
|
|
1051
|
+
useMaxWidth: !0,
|
|
1052
|
+
hideUnusedParticipants: !1,
|
|
1053
|
+
activationWidth: 10,
|
|
1054
|
+
diagramMarginX: 50,
|
|
1055
|
+
diagramMarginY: 10,
|
|
1056
|
+
actorMargin: 50,
|
|
1057
|
+
width: 150,
|
|
1058
|
+
height: 65,
|
|
1059
|
+
boxMargin: 10,
|
|
1060
|
+
boxTextMargin: 5,
|
|
1061
|
+
noteMargin: 10,
|
|
1062
|
+
messageMargin: 35,
|
|
1063
|
+
messageAlign: "center",
|
|
1064
|
+
mirrorActors: !0,
|
|
1065
|
+
forceMenus: !1,
|
|
1066
|
+
bottomMarginAdj: 1,
|
|
1067
|
+
rightAngles: !1,
|
|
1068
|
+
showSequenceNumbers: !1,
|
|
1069
|
+
actorFontSize: 14,
|
|
1070
|
+
actorFontFamily: "\"Open Sans\", sans-serif",
|
|
1071
|
+
actorFontWeight: 400,
|
|
1072
|
+
noteFontSize: 14,
|
|
1073
|
+
noteFontFamily: "\"trebuchet ms\", verdana, arial, sans-serif",
|
|
1074
|
+
noteFontWeight: 400,
|
|
1075
|
+
noteAlign: "center",
|
|
1076
|
+
messageFontSize: 16,
|
|
1077
|
+
messageFontFamily: "\"trebuchet ms\", verdana, arial, sans-serif",
|
|
1078
|
+
messageFontWeight: 400,
|
|
1079
|
+
wrap: !1,
|
|
1080
|
+
wrapPadding: 10,
|
|
1081
|
+
labelBoxWidth: 50,
|
|
1082
|
+
labelBoxHeight: 20
|
|
1083
|
+
},
|
|
1084
|
+
gantt: {
|
|
1085
|
+
useMaxWidth: !0,
|
|
1086
|
+
titleTopMargin: 25,
|
|
1087
|
+
barHeight: 20,
|
|
1088
|
+
barGap: 4,
|
|
1089
|
+
topPadding: 50,
|
|
1090
|
+
rightPadding: 75,
|
|
1091
|
+
leftPadding: 75,
|
|
1092
|
+
gridLineStartPadding: 35,
|
|
1093
|
+
fontSize: 11,
|
|
1094
|
+
sectionFontSize: 11,
|
|
1095
|
+
numberSectionStyles: 4,
|
|
1096
|
+
axisFormat: "%Y-%m-%d",
|
|
1097
|
+
topAxis: !1,
|
|
1098
|
+
displayMode: "",
|
|
1099
|
+
weekday: "sunday"
|
|
1100
|
+
},
|
|
1101
|
+
journey: {
|
|
1102
|
+
useMaxWidth: !0,
|
|
1103
|
+
diagramMarginX: 50,
|
|
1104
|
+
diagramMarginY: 10,
|
|
1105
|
+
leftMargin: 150,
|
|
1106
|
+
maxLabelWidth: 360,
|
|
1107
|
+
width: 150,
|
|
1108
|
+
height: 50,
|
|
1109
|
+
boxMargin: 10,
|
|
1110
|
+
boxTextMargin: 5,
|
|
1111
|
+
noteMargin: 10,
|
|
1112
|
+
messageMargin: 35,
|
|
1113
|
+
messageAlign: "center",
|
|
1114
|
+
bottomMarginAdj: 1,
|
|
1115
|
+
rightAngles: !1,
|
|
1116
|
+
taskFontSize: 14,
|
|
1117
|
+
taskFontFamily: "\"Open Sans\", sans-serif",
|
|
1118
|
+
taskMargin: 50,
|
|
1119
|
+
activationWidth: 10,
|
|
1120
|
+
textPlacement: "fo",
|
|
1121
|
+
actorColours: [
|
|
1122
|
+
"#8FBC8F",
|
|
1123
|
+
"#7CFC00",
|
|
1124
|
+
"#00FFFF",
|
|
1125
|
+
"#20B2AA",
|
|
1126
|
+
"#B0E0E6",
|
|
1127
|
+
"#FFFFE0"
|
|
1128
|
+
],
|
|
1129
|
+
sectionFills: [
|
|
1130
|
+
"#191970",
|
|
1131
|
+
"#8B008B",
|
|
1132
|
+
"#4B0082",
|
|
1133
|
+
"#2F4F4F",
|
|
1134
|
+
"#800000",
|
|
1135
|
+
"#8B4513",
|
|
1136
|
+
"#00008B"
|
|
1137
|
+
],
|
|
1138
|
+
sectionColours: ["#fff"],
|
|
1139
|
+
titleColor: "",
|
|
1140
|
+
titleFontFamily: "\"trebuchet ms\", verdana, arial, sans-serif",
|
|
1141
|
+
titleFontSize: "4ex"
|
|
1142
|
+
},
|
|
1143
|
+
class: {
|
|
1144
|
+
useMaxWidth: !0,
|
|
1145
|
+
titleTopMargin: 25,
|
|
1146
|
+
arrowMarkerAbsolute: !1,
|
|
1147
|
+
dividerMargin: 10,
|
|
1148
|
+
padding: 5,
|
|
1149
|
+
textHeight: 10,
|
|
1150
|
+
defaultRenderer: "dagre-wrapper",
|
|
1151
|
+
htmlLabels: !1,
|
|
1152
|
+
hideEmptyMembersBox: !1
|
|
1153
|
+
},
|
|
1154
|
+
state: {
|
|
1155
|
+
useMaxWidth: !0,
|
|
1156
|
+
titleTopMargin: 25,
|
|
1157
|
+
dividerMargin: 10,
|
|
1158
|
+
sizeUnit: 5,
|
|
1159
|
+
padding: 8,
|
|
1160
|
+
textHeight: 10,
|
|
1161
|
+
titleShift: -15,
|
|
1162
|
+
noteMargin: 10,
|
|
1163
|
+
forkWidth: 70,
|
|
1164
|
+
forkHeight: 7,
|
|
1165
|
+
miniPadding: 2,
|
|
1166
|
+
fontSizeFactor: 5.02,
|
|
1167
|
+
fontSize: 24,
|
|
1168
|
+
labelHeight: 16,
|
|
1169
|
+
edgeLengthFactor: "20",
|
|
1170
|
+
compositTitleSize: 35,
|
|
1171
|
+
radius: 5,
|
|
1172
|
+
defaultRenderer: "dagre-wrapper"
|
|
1173
|
+
},
|
|
1174
|
+
er: {
|
|
1175
|
+
useMaxWidth: !0,
|
|
1176
|
+
titleTopMargin: 25,
|
|
1177
|
+
diagramPadding: 20,
|
|
1178
|
+
layoutDirection: "TB",
|
|
1179
|
+
minEntityWidth: 100,
|
|
1180
|
+
minEntityHeight: 75,
|
|
1181
|
+
entityPadding: 15,
|
|
1182
|
+
nodeSpacing: 140,
|
|
1183
|
+
rankSpacing: 80,
|
|
1184
|
+
stroke: "gray",
|
|
1185
|
+
fill: "honeydew",
|
|
1186
|
+
fontSize: 12
|
|
1187
|
+
},
|
|
1188
|
+
pie: {
|
|
1189
|
+
useMaxWidth: !0,
|
|
1190
|
+
textPosition: .75
|
|
1191
|
+
},
|
|
1192
|
+
quadrantChart: {
|
|
1193
|
+
useMaxWidth: !0,
|
|
1194
|
+
chartWidth: 500,
|
|
1195
|
+
chartHeight: 500,
|
|
1196
|
+
titleFontSize: 20,
|
|
1197
|
+
titlePadding: 10,
|
|
1198
|
+
quadrantPadding: 5,
|
|
1199
|
+
xAxisLabelPadding: 5,
|
|
1200
|
+
yAxisLabelPadding: 5,
|
|
1201
|
+
xAxisLabelFontSize: 16,
|
|
1202
|
+
yAxisLabelFontSize: 16,
|
|
1203
|
+
quadrantLabelFontSize: 16,
|
|
1204
|
+
quadrantTextTopPadding: 5,
|
|
1205
|
+
pointTextPadding: 5,
|
|
1206
|
+
pointLabelFontSize: 12,
|
|
1207
|
+
pointRadius: 5,
|
|
1208
|
+
xAxisPosition: "top",
|
|
1209
|
+
yAxisPosition: "left",
|
|
1210
|
+
quadrantInternalBorderStrokeWidth: 1,
|
|
1211
|
+
quadrantExternalBorderStrokeWidth: 2
|
|
1212
|
+
},
|
|
1213
|
+
xyChart: {
|
|
1214
|
+
useMaxWidth: !0,
|
|
1215
|
+
width: 700,
|
|
1216
|
+
height: 500,
|
|
1217
|
+
titleFontSize: 20,
|
|
1218
|
+
titlePadding: 10,
|
|
1219
|
+
showDataLabel: !1,
|
|
1220
|
+
showTitle: !0,
|
|
1221
|
+
xAxis: {
|
|
1222
|
+
$ref: "#/$defs/XYChartAxisConfig",
|
|
1223
|
+
showLabel: !0,
|
|
1224
|
+
labelFontSize: 14,
|
|
1225
|
+
labelPadding: 5,
|
|
1226
|
+
showTitle: !0,
|
|
1227
|
+
titleFontSize: 16,
|
|
1228
|
+
titlePadding: 5,
|
|
1229
|
+
showTick: !0,
|
|
1230
|
+
tickLength: 5,
|
|
1231
|
+
tickWidth: 2,
|
|
1232
|
+
showAxisLine: !0,
|
|
1233
|
+
axisLineWidth: 2
|
|
1234
|
+
},
|
|
1235
|
+
yAxis: {
|
|
1236
|
+
$ref: "#/$defs/XYChartAxisConfig",
|
|
1237
|
+
showLabel: !0,
|
|
1238
|
+
labelFontSize: 14,
|
|
1239
|
+
labelPadding: 5,
|
|
1240
|
+
showTitle: !0,
|
|
1241
|
+
titleFontSize: 16,
|
|
1242
|
+
titlePadding: 5,
|
|
1243
|
+
showTick: !0,
|
|
1244
|
+
tickLength: 5,
|
|
1245
|
+
tickWidth: 2,
|
|
1246
|
+
showAxisLine: !0,
|
|
1247
|
+
axisLineWidth: 2
|
|
1248
|
+
},
|
|
1249
|
+
chartOrientation: "vertical",
|
|
1250
|
+
plotReservedSpacePercent: 50
|
|
1251
|
+
},
|
|
1252
|
+
requirement: {
|
|
1253
|
+
useMaxWidth: !0,
|
|
1254
|
+
rect_fill: "#f9f9f9",
|
|
1255
|
+
text_color: "#333",
|
|
1256
|
+
rect_border_size: "0.5px",
|
|
1257
|
+
rect_border_color: "#bbb",
|
|
1258
|
+
rect_min_width: 200,
|
|
1259
|
+
rect_min_height: 200,
|
|
1260
|
+
fontSize: 14,
|
|
1261
|
+
rect_padding: 10,
|
|
1262
|
+
line_height: 20
|
|
1263
|
+
},
|
|
1264
|
+
mindmap: {
|
|
1265
|
+
useMaxWidth: !0,
|
|
1266
|
+
padding: 10,
|
|
1267
|
+
maxNodeWidth: 200,
|
|
1268
|
+
layoutAlgorithm: "cose-bilkent"
|
|
1269
|
+
},
|
|
1270
|
+
ishikawa: {
|
|
1271
|
+
useMaxWidth: !0,
|
|
1272
|
+
diagramPadding: 20
|
|
1273
|
+
},
|
|
1274
|
+
kanban: {
|
|
1275
|
+
useMaxWidth: !0,
|
|
1276
|
+
padding: 8,
|
|
1277
|
+
sectionWidth: 200,
|
|
1278
|
+
ticketBaseUrl: ""
|
|
1279
|
+
},
|
|
1280
|
+
timeline: {
|
|
1281
|
+
useMaxWidth: !0,
|
|
1282
|
+
diagramMarginX: 50,
|
|
1283
|
+
diagramMarginY: 10,
|
|
1284
|
+
leftMargin: 150,
|
|
1285
|
+
width: 150,
|
|
1286
|
+
height: 50,
|
|
1287
|
+
boxMargin: 10,
|
|
1288
|
+
boxTextMargin: 5,
|
|
1289
|
+
noteMargin: 10,
|
|
1290
|
+
messageMargin: 35,
|
|
1291
|
+
messageAlign: "center",
|
|
1292
|
+
bottomMarginAdj: 1,
|
|
1293
|
+
rightAngles: !1,
|
|
1294
|
+
taskFontSize: 14,
|
|
1295
|
+
taskFontFamily: "\"Open Sans\", sans-serif",
|
|
1296
|
+
taskMargin: 50,
|
|
1297
|
+
activationWidth: 10,
|
|
1298
|
+
textPlacement: "fo",
|
|
1299
|
+
actorColours: [
|
|
1300
|
+
"#8FBC8F",
|
|
1301
|
+
"#7CFC00",
|
|
1302
|
+
"#00FFFF",
|
|
1303
|
+
"#20B2AA",
|
|
1304
|
+
"#B0E0E6",
|
|
1305
|
+
"#FFFFE0"
|
|
1306
|
+
],
|
|
1307
|
+
sectionFills: [
|
|
1308
|
+
"#191970",
|
|
1309
|
+
"#8B008B",
|
|
1310
|
+
"#4B0082",
|
|
1311
|
+
"#2F4F4F",
|
|
1312
|
+
"#800000",
|
|
1313
|
+
"#8B4513",
|
|
1314
|
+
"#00008B"
|
|
1315
|
+
],
|
|
1316
|
+
sectionColours: ["#fff"],
|
|
1317
|
+
disableMulticolor: !1
|
|
1318
|
+
},
|
|
1319
|
+
gitGraph: {
|
|
1320
|
+
useMaxWidth: !0,
|
|
1321
|
+
titleTopMargin: 25,
|
|
1322
|
+
diagramPadding: 8,
|
|
1323
|
+
nodeLabel: {
|
|
1324
|
+
width: 75,
|
|
1325
|
+
height: 100,
|
|
1326
|
+
x: -25,
|
|
1327
|
+
y: 0
|
|
1328
|
+
},
|
|
1329
|
+
mainBranchName: "main",
|
|
1330
|
+
mainBranchOrder: 0,
|
|
1331
|
+
showCommitLabel: !0,
|
|
1332
|
+
showBranches: !0,
|
|
1333
|
+
rotateCommitLabel: !0,
|
|
1334
|
+
parallelCommits: !1,
|
|
1335
|
+
arrowMarkerAbsolute: !1
|
|
1336
|
+
},
|
|
1337
|
+
c4: {
|
|
1338
|
+
useMaxWidth: !0,
|
|
1339
|
+
diagramMarginX: 50,
|
|
1340
|
+
diagramMarginY: 10,
|
|
1341
|
+
c4ShapeMargin: 50,
|
|
1342
|
+
c4ShapePadding: 20,
|
|
1343
|
+
width: 216,
|
|
1344
|
+
height: 60,
|
|
1345
|
+
boxMargin: 10,
|
|
1346
|
+
c4ShapeInRow: 4,
|
|
1347
|
+
nextLinePaddingX: 0,
|
|
1348
|
+
c4BoundaryInRow: 2,
|
|
1349
|
+
personFontSize: 14,
|
|
1350
|
+
personFontFamily: "\"Open Sans\", sans-serif",
|
|
1351
|
+
personFontWeight: "normal",
|
|
1352
|
+
external_personFontSize: 14,
|
|
1353
|
+
external_personFontFamily: "\"Open Sans\", sans-serif",
|
|
1354
|
+
external_personFontWeight: "normal",
|
|
1355
|
+
systemFontSize: 14,
|
|
1356
|
+
systemFontFamily: "\"Open Sans\", sans-serif",
|
|
1357
|
+
systemFontWeight: "normal",
|
|
1358
|
+
external_systemFontSize: 14,
|
|
1359
|
+
external_systemFontFamily: "\"Open Sans\", sans-serif",
|
|
1360
|
+
external_systemFontWeight: "normal",
|
|
1361
|
+
system_dbFontSize: 14,
|
|
1362
|
+
system_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
1363
|
+
system_dbFontWeight: "normal",
|
|
1364
|
+
external_system_dbFontSize: 14,
|
|
1365
|
+
external_system_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
1366
|
+
external_system_dbFontWeight: "normal",
|
|
1367
|
+
system_queueFontSize: 14,
|
|
1368
|
+
system_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
1369
|
+
system_queueFontWeight: "normal",
|
|
1370
|
+
external_system_queueFontSize: 14,
|
|
1371
|
+
external_system_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
1372
|
+
external_system_queueFontWeight: "normal",
|
|
1373
|
+
boundaryFontSize: 14,
|
|
1374
|
+
boundaryFontFamily: "\"Open Sans\", sans-serif",
|
|
1375
|
+
boundaryFontWeight: "normal",
|
|
1376
|
+
messageFontSize: 12,
|
|
1377
|
+
messageFontFamily: "\"Open Sans\", sans-serif",
|
|
1378
|
+
messageFontWeight: "normal",
|
|
1379
|
+
containerFontSize: 14,
|
|
1380
|
+
containerFontFamily: "\"Open Sans\", sans-serif",
|
|
1381
|
+
containerFontWeight: "normal",
|
|
1382
|
+
external_containerFontSize: 14,
|
|
1383
|
+
external_containerFontFamily: "\"Open Sans\", sans-serif",
|
|
1384
|
+
external_containerFontWeight: "normal",
|
|
1385
|
+
container_dbFontSize: 14,
|
|
1386
|
+
container_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
1387
|
+
container_dbFontWeight: "normal",
|
|
1388
|
+
external_container_dbFontSize: 14,
|
|
1389
|
+
external_container_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
1390
|
+
external_container_dbFontWeight: "normal",
|
|
1391
|
+
container_queueFontSize: 14,
|
|
1392
|
+
container_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
1393
|
+
container_queueFontWeight: "normal",
|
|
1394
|
+
external_container_queueFontSize: 14,
|
|
1395
|
+
external_container_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
1396
|
+
external_container_queueFontWeight: "normal",
|
|
1397
|
+
componentFontSize: 14,
|
|
1398
|
+
componentFontFamily: "\"Open Sans\", sans-serif",
|
|
1399
|
+
componentFontWeight: "normal",
|
|
1400
|
+
external_componentFontSize: 14,
|
|
1401
|
+
external_componentFontFamily: "\"Open Sans\", sans-serif",
|
|
1402
|
+
external_componentFontWeight: "normal",
|
|
1403
|
+
component_dbFontSize: 14,
|
|
1404
|
+
component_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
1405
|
+
component_dbFontWeight: "normal",
|
|
1406
|
+
external_component_dbFontSize: 14,
|
|
1407
|
+
external_component_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
1408
|
+
external_component_dbFontWeight: "normal",
|
|
1409
|
+
component_queueFontSize: 14,
|
|
1410
|
+
component_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
1411
|
+
component_queueFontWeight: "normal",
|
|
1412
|
+
external_component_queueFontSize: 14,
|
|
1413
|
+
external_component_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
1414
|
+
external_component_queueFontWeight: "normal",
|
|
1415
|
+
wrap: !0,
|
|
1416
|
+
wrapPadding: 10,
|
|
1417
|
+
person_bg_color: "#08427B",
|
|
1418
|
+
person_border_color: "#073B6F",
|
|
1419
|
+
external_person_bg_color: "#686868",
|
|
1420
|
+
external_person_border_color: "#8A8A8A",
|
|
1421
|
+
system_bg_color: "#1168BD",
|
|
1422
|
+
system_border_color: "#3C7FC0",
|
|
1423
|
+
system_db_bg_color: "#1168BD",
|
|
1424
|
+
system_db_border_color: "#3C7FC0",
|
|
1425
|
+
system_queue_bg_color: "#1168BD",
|
|
1426
|
+
system_queue_border_color: "#3C7FC0",
|
|
1427
|
+
external_system_bg_color: "#999999",
|
|
1428
|
+
external_system_border_color: "#8A8A8A",
|
|
1429
|
+
external_system_db_bg_color: "#999999",
|
|
1430
|
+
external_system_db_border_color: "#8A8A8A",
|
|
1431
|
+
external_system_queue_bg_color: "#999999",
|
|
1432
|
+
external_system_queue_border_color: "#8A8A8A",
|
|
1433
|
+
container_bg_color: "#438DD5",
|
|
1434
|
+
container_border_color: "#3C7FC0",
|
|
1435
|
+
container_db_bg_color: "#438DD5",
|
|
1436
|
+
container_db_border_color: "#3C7FC0",
|
|
1437
|
+
container_queue_bg_color: "#438DD5",
|
|
1438
|
+
container_queue_border_color: "#3C7FC0",
|
|
1439
|
+
external_container_bg_color: "#B3B3B3",
|
|
1440
|
+
external_container_border_color: "#A6A6A6",
|
|
1441
|
+
external_container_db_bg_color: "#B3B3B3",
|
|
1442
|
+
external_container_db_border_color: "#A6A6A6",
|
|
1443
|
+
external_container_queue_bg_color: "#B3B3B3",
|
|
1444
|
+
external_container_queue_border_color: "#A6A6A6",
|
|
1445
|
+
component_bg_color: "#85BBF0",
|
|
1446
|
+
component_border_color: "#78A8D8",
|
|
1447
|
+
component_db_bg_color: "#85BBF0",
|
|
1448
|
+
component_db_border_color: "#78A8D8",
|
|
1449
|
+
component_queue_bg_color: "#85BBF0",
|
|
1450
|
+
component_queue_border_color: "#78A8D8",
|
|
1451
|
+
external_component_bg_color: "#CCCCCC",
|
|
1452
|
+
external_component_border_color: "#BFBFBF",
|
|
1453
|
+
external_component_db_bg_color: "#CCCCCC",
|
|
1454
|
+
external_component_db_border_color: "#BFBFBF",
|
|
1455
|
+
external_component_queue_bg_color: "#CCCCCC",
|
|
1456
|
+
external_component_queue_border_color: "#BFBFBF"
|
|
1457
|
+
},
|
|
1458
|
+
sankey: {
|
|
1459
|
+
useMaxWidth: !0,
|
|
1460
|
+
width: 600,
|
|
1461
|
+
height: 400,
|
|
1462
|
+
linkColor: "gradient",
|
|
1463
|
+
nodeAlignment: "justify",
|
|
1464
|
+
showValues: !0,
|
|
1465
|
+
prefix: "",
|
|
1466
|
+
suffix: ""
|
|
1467
|
+
},
|
|
1468
|
+
block: {
|
|
1469
|
+
useMaxWidth: !0,
|
|
1470
|
+
padding: 8
|
|
1471
|
+
},
|
|
1472
|
+
packet: {
|
|
1473
|
+
useMaxWidth: !0,
|
|
1474
|
+
rowHeight: 32,
|
|
1475
|
+
bitWidth: 32,
|
|
1476
|
+
bitsPerRow: 32,
|
|
1477
|
+
showBits: !0,
|
|
1478
|
+
paddingX: 5,
|
|
1479
|
+
paddingY: 5
|
|
1480
|
+
},
|
|
1481
|
+
architecture: {
|
|
1482
|
+
useMaxWidth: !0,
|
|
1483
|
+
padding: 40,
|
|
1484
|
+
iconSize: 80,
|
|
1485
|
+
fontSize: 16
|
|
1486
|
+
},
|
|
1487
|
+
radar: {
|
|
1488
|
+
useMaxWidth: !0,
|
|
1489
|
+
width: 600,
|
|
1490
|
+
height: 600,
|
|
1491
|
+
marginTop: 50,
|
|
1492
|
+
marginRight: 50,
|
|
1493
|
+
marginBottom: 50,
|
|
1494
|
+
marginLeft: 50,
|
|
1495
|
+
axisScaleFactor: 1,
|
|
1496
|
+
axisLabelFactor: 1.05,
|
|
1497
|
+
curveTension: .17
|
|
1498
|
+
},
|
|
1499
|
+
venn: {
|
|
1500
|
+
useMaxWidth: !0,
|
|
1501
|
+
width: 800,
|
|
1502
|
+
height: 450,
|
|
1503
|
+
padding: 8,
|
|
1504
|
+
useDebugLayout: !1
|
|
1505
|
+
},
|
|
1506
|
+
theme: "default",
|
|
1507
|
+
look: "classic",
|
|
1508
|
+
handDrawnSeed: 0,
|
|
1509
|
+
layout: "dagre",
|
|
1510
|
+
maxTextSize: 5e4,
|
|
1511
|
+
maxEdges: 500,
|
|
1512
|
+
darkMode: !1,
|
|
1513
|
+
fontFamily: "\"trebuchet ms\", verdana, arial, sans-serif;",
|
|
1514
|
+
logLevel: 5,
|
|
1515
|
+
securityLevel: "strict",
|
|
1516
|
+
startOnLoad: !0,
|
|
1517
|
+
arrowMarkerAbsolute: !1,
|
|
1518
|
+
secure: [
|
|
1519
|
+
"secure",
|
|
1520
|
+
"securityLevel",
|
|
1521
|
+
"startOnLoad",
|
|
1522
|
+
"maxTextSize",
|
|
1523
|
+
"suppressErrorRendering",
|
|
1524
|
+
"maxEdges"
|
|
1525
|
+
],
|
|
1526
|
+
legacyMathML: !1,
|
|
1527
|
+
forceLegacyMathML: !1,
|
|
1528
|
+
deterministicIds: !1,
|
|
1529
|
+
fontSize: 16,
|
|
1530
|
+
markdownAutoWrap: !0,
|
|
1531
|
+
suppressErrorRendering: !1
|
|
1532
|
+
}, be = {
|
|
1533
|
+
...j,
|
|
1534
|
+
deterministicIDSeed: void 0,
|
|
1535
|
+
elk: {
|
|
1536
|
+
mergeEdges: !1,
|
|
1537
|
+
nodePlacementStrategy: "BRANDES_KOEPF",
|
|
1538
|
+
forceNodeModelOrder: !1,
|
|
1539
|
+
considerModelOrder: "NODES_AND_EDGES"
|
|
1540
|
+
},
|
|
1541
|
+
themeCSS: void 0,
|
|
1542
|
+
themeVariables: A.default.getThemeVariables(),
|
|
1543
|
+
sequence: {
|
|
1544
|
+
...j.sequence,
|
|
1545
|
+
messageFont: /* @__PURE__ */ n(function() {
|
|
1546
|
+
return {
|
|
1547
|
+
fontFamily: this.messageFontFamily,
|
|
1548
|
+
fontSize: this.messageFontSize,
|
|
1549
|
+
fontWeight: this.messageFontWeight
|
|
1550
|
+
};
|
|
1551
|
+
}, "messageFont"),
|
|
1552
|
+
noteFont: /* @__PURE__ */ n(function() {
|
|
1553
|
+
return {
|
|
1554
|
+
fontFamily: this.noteFontFamily,
|
|
1555
|
+
fontSize: this.noteFontSize,
|
|
1556
|
+
fontWeight: this.noteFontWeight
|
|
1557
|
+
};
|
|
1558
|
+
}, "noteFont"),
|
|
1559
|
+
actorFont: /* @__PURE__ */ n(function() {
|
|
1560
|
+
return {
|
|
1561
|
+
fontFamily: this.actorFontFamily,
|
|
1562
|
+
fontSize: this.actorFontSize,
|
|
1563
|
+
fontWeight: this.actorFontWeight
|
|
1564
|
+
};
|
|
1565
|
+
}, "actorFont")
|
|
1566
|
+
},
|
|
1567
|
+
class: { hideEmptyMembersBox: !1 },
|
|
1568
|
+
gantt: {
|
|
1569
|
+
...j.gantt,
|
|
1570
|
+
tickInterval: void 0,
|
|
1571
|
+
useWidth: void 0
|
|
1572
|
+
},
|
|
1573
|
+
c4: {
|
|
1574
|
+
...j.c4,
|
|
1575
|
+
useWidth: void 0,
|
|
1576
|
+
personFont: /* @__PURE__ */ n(function() {
|
|
1577
|
+
return {
|
|
1578
|
+
fontFamily: this.personFontFamily,
|
|
1579
|
+
fontSize: this.personFontSize,
|
|
1580
|
+
fontWeight: this.personFontWeight
|
|
1581
|
+
};
|
|
1582
|
+
}, "personFont"),
|
|
1583
|
+
flowchart: {
|
|
1584
|
+
...j.flowchart,
|
|
1585
|
+
inheritDir: !1
|
|
1586
|
+
},
|
|
1587
|
+
external_personFont: /* @__PURE__ */ n(function() {
|
|
1588
|
+
return {
|
|
1589
|
+
fontFamily: this.external_personFontFamily,
|
|
1590
|
+
fontSize: this.external_personFontSize,
|
|
1591
|
+
fontWeight: this.external_personFontWeight
|
|
1592
|
+
};
|
|
1593
|
+
}, "external_personFont"),
|
|
1594
|
+
systemFont: /* @__PURE__ */ n(function() {
|
|
1595
|
+
return {
|
|
1596
|
+
fontFamily: this.systemFontFamily,
|
|
1597
|
+
fontSize: this.systemFontSize,
|
|
1598
|
+
fontWeight: this.systemFontWeight
|
|
1599
|
+
};
|
|
1600
|
+
}, "systemFont"),
|
|
1601
|
+
external_systemFont: /* @__PURE__ */ n(function() {
|
|
1602
|
+
return {
|
|
1603
|
+
fontFamily: this.external_systemFontFamily,
|
|
1604
|
+
fontSize: this.external_systemFontSize,
|
|
1605
|
+
fontWeight: this.external_systemFontWeight
|
|
1606
|
+
};
|
|
1607
|
+
}, "external_systemFont"),
|
|
1608
|
+
system_dbFont: /* @__PURE__ */ n(function() {
|
|
1609
|
+
return {
|
|
1610
|
+
fontFamily: this.system_dbFontFamily,
|
|
1611
|
+
fontSize: this.system_dbFontSize,
|
|
1612
|
+
fontWeight: this.system_dbFontWeight
|
|
1613
|
+
};
|
|
1614
|
+
}, "system_dbFont"),
|
|
1615
|
+
external_system_dbFont: /* @__PURE__ */ n(function() {
|
|
1616
|
+
return {
|
|
1617
|
+
fontFamily: this.external_system_dbFontFamily,
|
|
1618
|
+
fontSize: this.external_system_dbFontSize,
|
|
1619
|
+
fontWeight: this.external_system_dbFontWeight
|
|
1620
|
+
};
|
|
1621
|
+
}, "external_system_dbFont"),
|
|
1622
|
+
system_queueFont: /* @__PURE__ */ n(function() {
|
|
1623
|
+
return {
|
|
1624
|
+
fontFamily: this.system_queueFontFamily,
|
|
1625
|
+
fontSize: this.system_queueFontSize,
|
|
1626
|
+
fontWeight: this.system_queueFontWeight
|
|
1627
|
+
};
|
|
1628
|
+
}, "system_queueFont"),
|
|
1629
|
+
external_system_queueFont: /* @__PURE__ */ n(function() {
|
|
1630
|
+
return {
|
|
1631
|
+
fontFamily: this.external_system_queueFontFamily,
|
|
1632
|
+
fontSize: this.external_system_queueFontSize,
|
|
1633
|
+
fontWeight: this.external_system_queueFontWeight
|
|
1634
|
+
};
|
|
1635
|
+
}, "external_system_queueFont"),
|
|
1636
|
+
containerFont: /* @__PURE__ */ n(function() {
|
|
1637
|
+
return {
|
|
1638
|
+
fontFamily: this.containerFontFamily,
|
|
1639
|
+
fontSize: this.containerFontSize,
|
|
1640
|
+
fontWeight: this.containerFontWeight
|
|
1641
|
+
};
|
|
1642
|
+
}, "containerFont"),
|
|
1643
|
+
external_containerFont: /* @__PURE__ */ n(function() {
|
|
1644
|
+
return {
|
|
1645
|
+
fontFamily: this.external_containerFontFamily,
|
|
1646
|
+
fontSize: this.external_containerFontSize,
|
|
1647
|
+
fontWeight: this.external_containerFontWeight
|
|
1648
|
+
};
|
|
1649
|
+
}, "external_containerFont"),
|
|
1650
|
+
container_dbFont: /* @__PURE__ */ n(function() {
|
|
1651
|
+
return {
|
|
1652
|
+
fontFamily: this.container_dbFontFamily,
|
|
1653
|
+
fontSize: this.container_dbFontSize,
|
|
1654
|
+
fontWeight: this.container_dbFontWeight
|
|
1655
|
+
};
|
|
1656
|
+
}, "container_dbFont"),
|
|
1657
|
+
external_container_dbFont: /* @__PURE__ */ n(function() {
|
|
1658
|
+
return {
|
|
1659
|
+
fontFamily: this.external_container_dbFontFamily,
|
|
1660
|
+
fontSize: this.external_container_dbFontSize,
|
|
1661
|
+
fontWeight: this.external_container_dbFontWeight
|
|
1662
|
+
};
|
|
1663
|
+
}, "external_container_dbFont"),
|
|
1664
|
+
container_queueFont: /* @__PURE__ */ n(function() {
|
|
1665
|
+
return {
|
|
1666
|
+
fontFamily: this.container_queueFontFamily,
|
|
1667
|
+
fontSize: this.container_queueFontSize,
|
|
1668
|
+
fontWeight: this.container_queueFontWeight
|
|
1669
|
+
};
|
|
1670
|
+
}, "container_queueFont"),
|
|
1671
|
+
external_container_queueFont: /* @__PURE__ */ n(function() {
|
|
1672
|
+
return {
|
|
1673
|
+
fontFamily: this.external_container_queueFontFamily,
|
|
1674
|
+
fontSize: this.external_container_queueFontSize,
|
|
1675
|
+
fontWeight: this.external_container_queueFontWeight
|
|
1676
|
+
};
|
|
1677
|
+
}, "external_container_queueFont"),
|
|
1678
|
+
componentFont: /* @__PURE__ */ n(function() {
|
|
1679
|
+
return {
|
|
1680
|
+
fontFamily: this.componentFontFamily,
|
|
1681
|
+
fontSize: this.componentFontSize,
|
|
1682
|
+
fontWeight: this.componentFontWeight
|
|
1683
|
+
};
|
|
1684
|
+
}, "componentFont"),
|
|
1685
|
+
external_componentFont: /* @__PURE__ */ n(function() {
|
|
1686
|
+
return {
|
|
1687
|
+
fontFamily: this.external_componentFontFamily,
|
|
1688
|
+
fontSize: this.external_componentFontSize,
|
|
1689
|
+
fontWeight: this.external_componentFontWeight
|
|
1690
|
+
};
|
|
1691
|
+
}, "external_componentFont"),
|
|
1692
|
+
component_dbFont: /* @__PURE__ */ n(function() {
|
|
1693
|
+
return {
|
|
1694
|
+
fontFamily: this.component_dbFontFamily,
|
|
1695
|
+
fontSize: this.component_dbFontSize,
|
|
1696
|
+
fontWeight: this.component_dbFontWeight
|
|
1697
|
+
};
|
|
1698
|
+
}, "component_dbFont"),
|
|
1699
|
+
external_component_dbFont: /* @__PURE__ */ n(function() {
|
|
1700
|
+
return {
|
|
1701
|
+
fontFamily: this.external_component_dbFontFamily,
|
|
1702
|
+
fontSize: this.external_component_dbFontSize,
|
|
1703
|
+
fontWeight: this.external_component_dbFontWeight
|
|
1704
|
+
};
|
|
1705
|
+
}, "external_component_dbFont"),
|
|
1706
|
+
component_queueFont: /* @__PURE__ */ n(function() {
|
|
1707
|
+
return {
|
|
1708
|
+
fontFamily: this.component_queueFontFamily,
|
|
1709
|
+
fontSize: this.component_queueFontSize,
|
|
1710
|
+
fontWeight: this.component_queueFontWeight
|
|
1711
|
+
};
|
|
1712
|
+
}, "component_queueFont"),
|
|
1713
|
+
external_component_queueFont: /* @__PURE__ */ n(function() {
|
|
1714
|
+
return {
|
|
1715
|
+
fontFamily: this.external_component_queueFontFamily,
|
|
1716
|
+
fontSize: this.external_component_queueFontSize,
|
|
1717
|
+
fontWeight: this.external_component_queueFontWeight
|
|
1718
|
+
};
|
|
1719
|
+
}, "external_component_queueFont"),
|
|
1720
|
+
boundaryFont: /* @__PURE__ */ n(function() {
|
|
1721
|
+
return {
|
|
1722
|
+
fontFamily: this.boundaryFontFamily,
|
|
1723
|
+
fontSize: this.boundaryFontSize,
|
|
1724
|
+
fontWeight: this.boundaryFontWeight
|
|
1725
|
+
};
|
|
1726
|
+
}, "boundaryFont"),
|
|
1727
|
+
messageFont: /* @__PURE__ */ n(function() {
|
|
1728
|
+
return {
|
|
1729
|
+
fontFamily: this.messageFontFamily,
|
|
1730
|
+
fontSize: this.messageFontSize,
|
|
1731
|
+
fontWeight: this.messageFontWeight
|
|
1732
|
+
};
|
|
1733
|
+
}, "messageFont")
|
|
1734
|
+
},
|
|
1735
|
+
pie: {
|
|
1736
|
+
...j.pie,
|
|
1737
|
+
useWidth: 984
|
|
1738
|
+
},
|
|
1739
|
+
xyChart: {
|
|
1740
|
+
...j.xyChart,
|
|
1741
|
+
useWidth: void 0
|
|
1742
|
+
},
|
|
1743
|
+
requirement: {
|
|
1744
|
+
...j.requirement,
|
|
1745
|
+
useWidth: void 0
|
|
1746
|
+
},
|
|
1747
|
+
packet: { ...j.packet },
|
|
1748
|
+
radar: { ...j.radar },
|
|
1749
|
+
ishikawa: { ...j.ishikawa },
|
|
1750
|
+
treemap: {
|
|
1751
|
+
useMaxWidth: !0,
|
|
1752
|
+
padding: 10,
|
|
1753
|
+
diagramPadding: 8,
|
|
1754
|
+
showValues: !0,
|
|
1755
|
+
nodeWidth: 100,
|
|
1756
|
+
nodeHeight: 40,
|
|
1757
|
+
borderWidth: 1,
|
|
1758
|
+
valueFontSize: 12,
|
|
1759
|
+
labelFontSize: 14,
|
|
1760
|
+
valueFormat: ","
|
|
1761
|
+
},
|
|
1762
|
+
venn: { ...j.venn }
|
|
1763
|
+
}, xe = /* @__PURE__ */ n((e, t = "") => Object.keys(e).reduce((n, r) => Array.isArray(e[r]) ? n : typeof e[r] == "object" && e[r] !== null ? [
|
|
1764
|
+
...n,
|
|
1765
|
+
t + r,
|
|
1766
|
+
...xe(e[r], "")
|
|
1767
|
+
] : [...n, t + r], []), "keyify"), Se = new Set(xe(be, "")), Ce = be, M = /* @__PURE__ */ n((e) => {
|
|
1768
|
+
if (r.debug("sanitizeDirective called with", e), !(typeof e != "object" || !e)) {
|
|
1769
|
+
if (Array.isArray(e)) {
|
|
1770
|
+
e.forEach((e) => M(e));
|
|
1771
|
+
return;
|
|
1772
|
+
}
|
|
1773
|
+
for (let t of Object.keys(e)) {
|
|
1774
|
+
if (r.debug("Checking key", t), t.startsWith("__") || t.includes("proto") || t.includes("constr") || !Se.has(t) || e[t] == null) {
|
|
1775
|
+
r.debug("sanitize deleting key: ", t), delete e[t];
|
|
1776
|
+
continue;
|
|
1777
|
+
}
|
|
1778
|
+
if (typeof e[t] == "object") {
|
|
1779
|
+
r.debug("sanitizing object", t), M(e[t]);
|
|
1780
|
+
continue;
|
|
1781
|
+
}
|
|
1782
|
+
for (let n of [
|
|
1783
|
+
"themeCSS",
|
|
1784
|
+
"fontFamily",
|
|
1785
|
+
"altFontFamily"
|
|
1786
|
+
]) t.includes(n) && (r.debug("sanitizing css option", t), e[t] = we(e[t]));
|
|
1787
|
+
}
|
|
1788
|
+
if (e.themeVariables) for (let t of Object.keys(e.themeVariables)) {
|
|
1789
|
+
let n = e.themeVariables[t];
|
|
1790
|
+
n?.match && !n.match(/^[\d "#%(),.;A-Za-z]+$/) && (e.themeVariables[t] = "");
|
|
1791
|
+
}
|
|
1792
|
+
r.debug("After sanitization", e);
|
|
1793
|
+
}
|
|
1794
|
+
}, "sanitizeDirective"), we = /* @__PURE__ */ n((e) => {
|
|
1795
|
+
let t = 0, n = 0;
|
|
1796
|
+
for (let r of e) {
|
|
1797
|
+
if (t < n) return "{ /* ERROR: Unbalanced CSS */ }";
|
|
1798
|
+
r === "{" ? t++ : r === "}" && n++;
|
|
1799
|
+
}
|
|
1800
|
+
return t === n ? e : "{ /* ERROR: Unbalanced CSS */ }";
|
|
1801
|
+
}, "sanitizeCss"), N = Object.freeze(Ce), P = /* @__PURE__ */ n((e) => !(e === !1 || [
|
|
1802
|
+
"false",
|
|
1803
|
+
"null",
|
|
1804
|
+
"0"
|
|
1805
|
+
].includes(String(e).trim().toLowerCase())), "evaluate"), F = E({}, N), I, L = [], R = E({}, N), z = /* @__PURE__ */ n((e, t) => {
|
|
1806
|
+
let n = E({}, e), r = {};
|
|
1807
|
+
for (let e of t) Ae(e), r = E(r, e);
|
|
1808
|
+
if (n = E(n, r), r.theme && r.theme in A) {
|
|
1809
|
+
let e = E(E({}, I).themeVariables || {}, r.themeVariables);
|
|
1810
|
+
n.theme && n.theme in A && (n.themeVariables = A[n.theme].getThemeVariables(e));
|
|
1811
|
+
}
|
|
1812
|
+
return R = n, Ie(R), R;
|
|
1813
|
+
}, "updateCurrentConfig"), Te = /* @__PURE__ */ n((e) => (F = E({}, N), F = E(F, e), e.theme && A[e.theme] && (F.themeVariables = A[e.theme].getThemeVariables(e.themeVariables)), z(F, L), F), "setSiteConfig"), Ee = /* @__PURE__ */ n((e) => {
|
|
1814
|
+
I = E({}, e);
|
|
1815
|
+
}, "saveConfigFromInitialize"), De = /* @__PURE__ */ n((e) => (F = E(F, e), z(F, L), F), "updateSiteConfig"), Oe = /* @__PURE__ */ n(() => E({}, F), "getSiteConfig"), ke = /* @__PURE__ */ n((e) => (Ie(e), E(R, e), B()), "setConfig"), B = /* @__PURE__ */ n(() => E({}, R), "getConfig"), Ae = /* @__PURE__ */ n((e) => {
|
|
1816
|
+
e && (["secure", ...F.secure ?? []].forEach((t) => {
|
|
1817
|
+
Object.hasOwn(e, t) && (r.debug(`Denied attempt to modify a secure key ${t}`, e[t]), delete e[t]);
|
|
1818
|
+
}), Object.keys(e).forEach((t) => {
|
|
1819
|
+
t.startsWith("__") && delete e[t];
|
|
1820
|
+
}), Object.keys(e).forEach((t) => {
|
|
1821
|
+
typeof e[t] == "string" && (e[t].includes("<") || e[t].includes(">") || e[t].includes("url(data:")) && delete e[t], typeof e[t] == "object" && Ae(e[t]);
|
|
1822
|
+
}));
|
|
1823
|
+
}, "sanitize"), je = /* @__PURE__ */ n((e) => {
|
|
1824
|
+
M(e), e.fontFamily && !e.themeVariables?.fontFamily && (e.themeVariables = {
|
|
1825
|
+
...e.themeVariables,
|
|
1826
|
+
fontFamily: e.fontFamily
|
|
1827
|
+
}), L.push(e), z(F, L);
|
|
1828
|
+
}, "addDirective"), Me = /* @__PURE__ */ n((e = F) => {
|
|
1829
|
+
L = [], z(e, L);
|
|
1830
|
+
}, "reset"), Ne = {
|
|
1831
|
+
LAZY_LOAD_DEPRECATED: "The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",
|
|
1832
|
+
FLOWCHART_HTML_LABELS_DEPRECATED: "flowchart.htmlLabels is deprecated. Please use global htmlLabels instead."
|
|
1833
|
+
}, Pe = {}, Fe = /* @__PURE__ */ n((e) => {
|
|
1834
|
+
Pe[e] || (r.warn(Ne[e]), Pe[e] = !0);
|
|
1835
|
+
}, "issueWarning"), Ie = /* @__PURE__ */ n((e) => {
|
|
1836
|
+
e && (e.lazyLoadedDiagrams || e.loadExternalDiagramsAtStartup) && Fe("LAZY_LOAD_DEPRECATED");
|
|
1837
|
+
}, "checkConfig"), Le = /* @__PURE__ */ n(() => {
|
|
1838
|
+
let e = {};
|
|
1839
|
+
I && (e = E(e, I));
|
|
1840
|
+
for (let t of L) e = E(e, t);
|
|
1841
|
+
return e;
|
|
1842
|
+
}, "getUserDefinedConfig"), Re = /* @__PURE__ */ n((e) => (e.flowchart?.htmlLabels != null && Fe("FLOWCHART_HTML_LABELS_DEPRECATED"), P(e.htmlLabels ?? e.flowchart?.htmlLabels ?? !0)), "getEffectiveHtmlLabels"), V = /<br\s*\/?>/gi, ze = /* @__PURE__ */ n((e) => e ? Je(e).replace(/\\n/g, "#br#").split("#br#") : [""], "getRows"), Be = /* @__PURE__ */ (() => {
|
|
1843
|
+
let e = !1;
|
|
1844
|
+
return () => {
|
|
1845
|
+
e ||= (Ve(), !0);
|
|
1846
|
+
};
|
|
1847
|
+
})();
|
|
1848
|
+
function Ve() {
|
|
1849
|
+
let t = "data-temp-href-target";
|
|
1850
|
+
e.addHook("beforeSanitizeAttributes", (e) => {
|
|
1851
|
+
e.tagName === "A" && e.hasAttribute("target") && e.setAttribute(t, e.getAttribute("target") ?? "");
|
|
1852
|
+
}), e.addHook("afterSanitizeAttributes", (e) => {
|
|
1853
|
+
e.tagName === "A" && e.hasAttribute(t) && (e.setAttribute("target", e.getAttribute(t) ?? ""), e.removeAttribute(t), e.getAttribute("target") === "_blank" && e.setAttribute("rel", "noopener"));
|
|
1854
|
+
});
|
|
1855
|
+
}
|
|
1856
|
+
n(Ve, "setupDompurifyHooks");
|
|
1857
|
+
var He = /* @__PURE__ */ n((t) => (Be(), e.sanitize(t)), "removeScript"), Ue = /* @__PURE__ */ n((e, t) => {
|
|
1858
|
+
if (Re(t)) {
|
|
1859
|
+
let n = t.securityLevel;
|
|
1860
|
+
n === "antiscript" || n === "strict" || n === "sandbox" ? e = He(e) : n !== "loose" && (e = Je(e), e = e.replace(/</g, "<").replace(/>/g, ">"), e = e.replace(/=/g, "="), e = qe(e));
|
|
1861
|
+
}
|
|
1862
|
+
return e;
|
|
1863
|
+
}, "sanitizeMore"), H = /* @__PURE__ */ n((t, n) => t && (t = n.dompurifyConfig ? e.sanitize(Ue(t, n), n.dompurifyConfig).toString() : e.sanitize(Ue(t, n), { FORBID_TAGS: ["style"] }).toString(), t), "sanitizeText"), We = /* @__PURE__ */ n((e, t) => typeof e == "string" ? H(e, t) : e.flat().map((e) => H(e, t)), "sanitizeTextOrArray"), Ge = /* @__PURE__ */ n((e) => V.test(e), "hasBreaks"), Ke = /* @__PURE__ */ n((e) => e.split(V), "splitBreaks"), qe = /* @__PURE__ */ n((e) => e.replace(/#br#/g, "<br/>"), "placeholderToBreak"), Je = /* @__PURE__ */ n((e) => e.replace(V, "#br#"), "breakToPlaceholder"), Ye = /* @__PURE__ */ n((e) => {
|
|
1864
|
+
let t = "";
|
|
1865
|
+
return e && (t = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, t = CSS.escape(t)), t;
|
|
1866
|
+
}, "getUrl"), Xe = /* @__PURE__ */ n(function(...e) {
|
|
1867
|
+
let t = e.filter((e) => !isNaN(e));
|
|
1868
|
+
return Math.max(...t);
|
|
1869
|
+
}, "getMax"), Ze = /* @__PURE__ */ n(function(...e) {
|
|
1870
|
+
let t = e.filter((e) => !isNaN(e));
|
|
1871
|
+
return Math.min(...t);
|
|
1872
|
+
}, "getMin"), Qe = /* @__PURE__ */ n(function(e) {
|
|
1873
|
+
let t = e.split(/(,)/), n = [];
|
|
1874
|
+
for (let e = 0; e < t.length; e++) {
|
|
1875
|
+
let r = t[e];
|
|
1876
|
+
if (r === "," && e > 0 && e + 1 < t.length) {
|
|
1877
|
+
let i = t[e - 1], a = t[e + 1];
|
|
1878
|
+
$e(i, a) && (r = i + "," + a, e++, n.pop());
|
|
1879
|
+
}
|
|
1880
|
+
n.push(et(r));
|
|
1881
|
+
}
|
|
1882
|
+
return n.join("");
|
|
1883
|
+
}, "parseGenericTypes"), U = /* @__PURE__ */ n((e, t) => Math.max(0, e.split(t).length - 1), "countOccurrence"), $e = /* @__PURE__ */ n((e, t) => {
|
|
1884
|
+
let n = U(e, "~"), r = U(t, "~");
|
|
1885
|
+
return n === 1 && r === 1;
|
|
1886
|
+
}, "shouldCombineSets"), et = /* @__PURE__ */ n((e) => {
|
|
1887
|
+
let t = U(e, "~"), n = !1;
|
|
1888
|
+
if (t <= 1) return e;
|
|
1889
|
+
t % 2 != 0 && e.startsWith("~") && (e = e.substring(1), n = !0);
|
|
1890
|
+
let r = [...e], i = r.indexOf("~"), a = r.lastIndexOf("~");
|
|
1891
|
+
for (; i !== -1 && a !== -1 && i !== a;) r[i] = "<", r[a] = ">", i = r.indexOf("~"), a = r.lastIndexOf("~");
|
|
1892
|
+
return n && r.unshift("~"), r.join("");
|
|
1893
|
+
}, "processSet"), tt = /* @__PURE__ */ n(() => window.MathMLElement !== void 0, "isMathMLSupported"), W = /\$\$(.*)\$\$/g, G = /* @__PURE__ */ n((e) => (e.match(W)?.length ?? 0) > 0, "hasKatex"), nt = /* @__PURE__ */ n(async (e, t) => {
|
|
1894
|
+
let n = document.createElement("div");
|
|
1895
|
+
n.innerHTML = await it(e, t), n.id = "katex-temp", n.style.visibility = "hidden", n.style.position = "absolute", n.style.top = "0", document.querySelector("body")?.insertAdjacentElement("beforeend", n);
|
|
1896
|
+
let r = {
|
|
1897
|
+
width: n.clientWidth,
|
|
1898
|
+
height: n.clientHeight
|
|
1899
|
+
};
|
|
1900
|
+
return n.remove(), r;
|
|
1901
|
+
}, "calculateMathMLDimensions"), rt = /* @__PURE__ */ n(async (e, t) => {
|
|
1902
|
+
if (!G(e)) return e;
|
|
1903
|
+
if (!(tt() || t.legacyMathML || t.forceLegacyMathML)) return e.replace(W, "MathML is unsupported in this environment.");
|
|
1904
|
+
{
|
|
1905
|
+
let { default: n } = await import("./katex-DWv23pJW.js"), r = t.forceLegacyMathML || !tt() && t.legacyMathML ? "htmlAndMathml" : "mathml";
|
|
1906
|
+
return e.split(V).map((e) => G(e) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${e}</div>` : `<div>${e}</div>`).join("").replace(W, (e, t) => n.renderToString(t, {
|
|
1907
|
+
throwOnError: !0,
|
|
1908
|
+
displayMode: !0,
|
|
1909
|
+
output: r
|
|
1910
|
+
}).replace(/\n/g, " ").replace(/<annotation.*<\/annotation>/g, ""));
|
|
1911
|
+
}
|
|
1912
|
+
return e.replace(W, "Katex is not supported in @mermaid-js/tiny. Please use the full mermaid library.");
|
|
1913
|
+
}, "renderKatexUnsanitized"), it = /* @__PURE__ */ n(async (e, t) => H(await rt(e, t), t), "renderKatexSanitized"), at = {
|
|
1914
|
+
getRows: ze,
|
|
1915
|
+
sanitizeText: H,
|
|
1916
|
+
sanitizeTextOrArray: We,
|
|
1917
|
+
hasBreaks: Ge,
|
|
1918
|
+
splitBreaks: Ke,
|
|
1919
|
+
lineBreakRegex: V,
|
|
1920
|
+
removeScript: He,
|
|
1921
|
+
getUrl: Ye,
|
|
1922
|
+
evaluate: P,
|
|
1923
|
+
getMax: Xe,
|
|
1924
|
+
getMin: Ze
|
|
1925
|
+
}, ot = /* @__PURE__ */ n(function(e, t) {
|
|
1926
|
+
for (let n of t) e.attr(n[0], n[1]);
|
|
1927
|
+
}, "d3Attrs"), st = /* @__PURE__ */ n(function(e, t, n) {
|
|
1928
|
+
let r = /* @__PURE__ */ new Map();
|
|
1929
|
+
return n ? (r.set("width", "100%"), r.set("style", `max-width: ${t}px;`)) : (r.set("height", e), r.set("width", t)), r;
|
|
1930
|
+
}, "calculateSvgSizeAttrs"), ct = /* @__PURE__ */ n(function(e, t, n, r) {
|
|
1931
|
+
ot(e, st(t, n, r));
|
|
1932
|
+
}, "configureSvgSize"), lt = /* @__PURE__ */ n(function(e, t, n, i) {
|
|
1933
|
+
let a = t.node().getBBox(), o = a.width, s = a.height;
|
|
1934
|
+
r.info(`SVG bounds: ${o}x${s}`, a);
|
|
1935
|
+
let c = 0, l = 0;
|
|
1936
|
+
r.info(`Graph bounds: ${c}x${l}`, e), c = o + n * 2, l = s + n * 2, r.info(`Calculated bounds: ${c}x${l}`), ct(t, l, c, i);
|
|
1937
|
+
let u = `${a.x - n} ${a.y - n} ${a.width + 2 * n} ${a.height + 2 * n}`;
|
|
1938
|
+
t.attr("viewBox", u);
|
|
1939
|
+
}, "setupGraphViewbox"), K = {}, ut = /* @__PURE__ */ n((e, t, n) => {
|
|
1940
|
+
let i = "";
|
|
1941
|
+
return e in K && K[e] ? i = K[e](n) : r.warn(`No theme found for ${e}`), ` & {
|
|
1942
|
+
font-family: ${n.fontFamily};
|
|
1943
|
+
font-size: ${n.fontSize};
|
|
1944
|
+
fill: ${n.textColor}
|
|
1945
|
+
}
|
|
1946
|
+
@keyframes edge-animation-frame {
|
|
1947
|
+
from {
|
|
1948
|
+
stroke-dashoffset: 0;
|
|
1949
|
+
}
|
|
1950
|
+
}
|
|
1951
|
+
@keyframes dash {
|
|
1952
|
+
to {
|
|
1953
|
+
stroke-dashoffset: 0;
|
|
1954
|
+
}
|
|
1955
|
+
}
|
|
1956
|
+
& .edge-animation-slow {
|
|
1957
|
+
stroke-dasharray: 9,5 !important;
|
|
1958
|
+
stroke-dashoffset: 900;
|
|
1959
|
+
animation: dash 50s linear infinite;
|
|
1960
|
+
stroke-linecap: round;
|
|
1961
|
+
}
|
|
1962
|
+
& .edge-animation-fast {
|
|
1963
|
+
stroke-dasharray: 9,5 !important;
|
|
1964
|
+
stroke-dashoffset: 900;
|
|
1965
|
+
animation: dash 20s linear infinite;
|
|
1966
|
+
stroke-linecap: round;
|
|
1967
|
+
}
|
|
1968
|
+
/* Classes common for multiple diagrams */
|
|
1969
|
+
|
|
1970
|
+
& .error-icon {
|
|
1971
|
+
fill: ${n.errorBkgColor};
|
|
1972
|
+
}
|
|
1973
|
+
& .error-text {
|
|
1974
|
+
fill: ${n.errorTextColor};
|
|
1975
|
+
stroke: ${n.errorTextColor};
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
& .edge-thickness-normal {
|
|
1979
|
+
stroke-width: 1px;
|
|
1980
|
+
}
|
|
1981
|
+
& .edge-thickness-thick {
|
|
1982
|
+
stroke-width: 3.5px
|
|
1983
|
+
}
|
|
1984
|
+
& .edge-pattern-solid {
|
|
1985
|
+
stroke-dasharray: 0;
|
|
1986
|
+
}
|
|
1987
|
+
& .edge-thickness-invisible {
|
|
1988
|
+
stroke-width: 0;
|
|
1989
|
+
fill: none;
|
|
1990
|
+
}
|
|
1991
|
+
& .edge-pattern-dashed{
|
|
1992
|
+
stroke-dasharray: 3;
|
|
1993
|
+
}
|
|
1994
|
+
.edge-pattern-dotted {
|
|
1995
|
+
stroke-dasharray: 2;
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1998
|
+
& .marker {
|
|
1999
|
+
fill: ${n.lineColor};
|
|
2000
|
+
stroke: ${n.lineColor};
|
|
2001
|
+
}
|
|
2002
|
+
& .marker.cross {
|
|
2003
|
+
stroke: ${n.lineColor};
|
|
2004
|
+
}
|
|
2005
|
+
|
|
2006
|
+
& svg {
|
|
2007
|
+
font-family: ${n.fontFamily};
|
|
2008
|
+
font-size: ${n.fontSize};
|
|
2009
|
+
}
|
|
2010
|
+
& p {
|
|
2011
|
+
margin: 0
|
|
2012
|
+
}
|
|
2013
|
+
|
|
2014
|
+
${i}
|
|
2015
|
+
|
|
2016
|
+
${t}
|
|
2017
|
+
`;
|
|
2018
|
+
}, "getStyles"), dt = /* @__PURE__ */ n((e, t) => {
|
|
2019
|
+
t !== void 0 && (K[e] = t);
|
|
2020
|
+
}, "addStylesForDiagram"), ft = ut, q = {};
|
|
2021
|
+
i(q, {
|
|
2022
|
+
clear: () => pt,
|
|
2023
|
+
getAccDescription: () => _t,
|
|
2024
|
+
getAccTitle: () => ht,
|
|
2025
|
+
getDiagramTitle: () => yt,
|
|
2026
|
+
setAccDescription: () => gt,
|
|
2027
|
+
setAccTitle: () => mt,
|
|
2028
|
+
setDiagramTitle: () => vt
|
|
2029
|
+
});
|
|
2030
|
+
var J = "", Y = "", X = "", Z = /* @__PURE__ */ n((e) => H(e, B()), "sanitizeText"), pt = /* @__PURE__ */ n(() => {
|
|
2031
|
+
J = "", X = "", Y = "";
|
|
2032
|
+
}, "clear"), mt = /* @__PURE__ */ n((e) => {
|
|
2033
|
+
J = Z(e).replace(/^\s+/g, "");
|
|
2034
|
+
}, "setAccTitle"), ht = /* @__PURE__ */ n(() => J, "getAccTitle"), gt = /* @__PURE__ */ n((e) => {
|
|
2035
|
+
X = Z(e).replace(/\n\s+/g, "\n");
|
|
2036
|
+
}, "setAccDescription"), _t = /* @__PURE__ */ n(() => X, "getAccDescription"), vt = /* @__PURE__ */ n((e) => {
|
|
2037
|
+
Y = Z(e);
|
|
2038
|
+
}, "setDiagramTitle"), yt = /* @__PURE__ */ n(() => Y, "getDiagramTitle"), bt = r, xt = t, Q = B, St = ke, Ct = N, wt = /* @__PURE__ */ n((e) => H(e, Q()), "sanitizeText"), Tt = lt, Et = /* @__PURE__ */ n(() => q, "getCommonDb"), $ = {}, Dt = /* @__PURE__ */ n((e, t, n) => {
|
|
2039
|
+
$[e] && bt.warn(`Diagram with id ${e} already registered. Overwriting.`), $[e] = t, n && le(e, n), dt(e, t.styles), t.injectUtils?.(bt, xt, Q, wt, Tt, Et(), () => {});
|
|
2040
|
+
}, "registerDiagram"), Ot = /* @__PURE__ */ n((e) => {
|
|
2041
|
+
if (e in $) return $[e];
|
|
2042
|
+
throw new kt(e);
|
|
2043
|
+
}, "getDiagram"), kt = class extends Error {
|
|
2044
|
+
static {
|
|
2045
|
+
n(this, "DiagramNotFoundError");
|
|
2046
|
+
}
|
|
2047
|
+
constructor(e) {
|
|
2048
|
+
super(`Diagram ${e} not found.`);
|
|
2049
|
+
}
|
|
2050
|
+
};
|
|
2051
|
+
//#endregion
|
|
2052
|
+
export { y as $, V as A, gt as B, yt as C, Ye as D, ge as E, Me as F, Te as G, ke as H, M as I, ft as J, lt as K, H as L, Dt as M, ce as N, Le as O, it as P, b as Q, wt as R, ue as S, Oe as T, St as U, mt as V, vt as W, De as X, A as Y, x as Z, _t as _, pt as a, Q as b, ct as c, Ce as d, v as et, se as f, re as g, P as h, nt as i, Qe as j, G as k, N as l, ie as m, je as n, h as nt, q as o, w as p, Tt as q, E as r, o as rt, at as s, oe as t, _ as tt, Ct as u, ht as v, Re as w, Ot as x, B as y, Ee as z };
|
|
2053
|
+
|
|
2054
|
+
//# sourceMappingURL=chunk-7R4GIKGN-9QecSWiR.js.map
|