jekyll-ham 1.0.4 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +11 -2
- data/_layouts/default.html +6 -0
- data/_layouts/page.html +1 -1
- data/assets/mermaid/Diagram.d.ts +33 -0
- data/assets/mermaid/Tableau10-31042135.js +10 -0
- data/assets/mermaid/Tableau10-558cc280.js +9 -0
- data/assets/mermaid/__mocks__/mermaidAPI.d.ts +13 -0
- data/assets/mermaid/accessibility.d.ts +27 -0
- data/assets/mermaid/accessibility.spec.d.ts +1 -0
- data/assets/mermaid/arc-c0f908ab.js +148 -0
- data/assets/mermaid/arc-d1f6357e.js +86 -0
- data/assets/mermaid/array-2ff2c7a6.js +6 -0
- data/assets/mermaid/array-b7dcf730.js +6 -0
- data/assets/mermaid/assignWithDepth.d.ts +30 -0
- data/assets/mermaid/blockDiagram-5dc23a45.js +1230 -0
- data/assets/mermaid/blockDiagram-9f4a6865.js +1822 -0
- data/assets/mermaid/blockDiagram-efe38566.js +1818 -0
- data/assets/mermaid/c4Diagram-1e775db3.js +1579 -0
- data/assets/mermaid/c4Diagram-ae766693.js +2473 -0
- data/assets/mermaid/c4Diagram-af207393.js +2463 -0
- data/assets/mermaid/channel-ebbc4130.js +5 -0
- data/assets/mermaid/channel-f9001828.js +8 -0
- data/assets/mermaid/classDiagram-72b9c71d.js +356 -0
- data/assets/mermaid/classDiagram-f52caa06.js +220 -0
- data/assets/mermaid/classDiagram-fb54d2a0.js +363 -0
- data/assets/mermaid/classDiagram-v2-640c694e.js +206 -0
- data/assets/mermaid/classDiagram-v2-a2b738ad.js +298 -0
- data/assets/mermaid/classDiagram-v2-fedb80f6.js +290 -0
- data/assets/mermaid/clone-9ea6bfeb.js +8 -0
- data/assets/mermaid/clone-afc2f047.js +8 -0
- data/assets/mermaid/config.d.ts +98 -0
- data/assets/mermaid/config.spec.d.ts +1 -0
- data/assets/mermaid/config.type.d.ts +1534 -0
- data/assets/mermaid/createText-03b82060.js +2966 -0
- data/assets/mermaid/createText-b70fe78a.js +4929 -0
- data/assets/mermaid/createText-ca0c5216.js +251 -0
- data/assets/mermaid/dagre-wrapper/blockArrowHelper.d.ts +8 -0
- data/assets/mermaid/dagre-wrapper/clusters.d.ts +4 -0
- data/assets/mermaid/dagre-wrapper/createLabel.d.ts +9 -0
- data/assets/mermaid/dagre-wrapper/edgeMarker.d.ts +12 -0
- data/assets/mermaid/dagre-wrapper/edgeMarker.spec.d.ts +1 -0
- data/assets/mermaid/dagre-wrapper/edges.d.ts +14 -0
- data/assets/mermaid/dagre-wrapper/index.d.ts +1 -0
- data/assets/mermaid/dagre-wrapper/intersect/index.d.ts +13 -0
- data/assets/mermaid/dagre-wrapper/intersect/intersect-circle.d.ts +10 -0
- data/assets/mermaid/dagre-wrapper/intersect/intersect-ellipse.d.ts +11 -0
- data/assets/mermaid/dagre-wrapper/intersect/intersect-line.d.ts +13 -0
- data/assets/mermaid/dagre-wrapper/intersect/intersect-node.d.ts +6 -0
- data/assets/mermaid/dagre-wrapper/intersect/intersect-polygon.d.ts +10 -0
- data/assets/mermaid/dagre-wrapper/intersect/intersect-rect.d.ts +5 -0
- data/assets/mermaid/dagre-wrapper/markers.d.ts +2 -0
- data/assets/mermaid/dagre-wrapper/mermaid-graphlib.d.ts +8 -0
- data/assets/mermaid/dagre-wrapper/nodes.d.ts +4 -0
- data/assets/mermaid/dagre-wrapper/shapes/note.d.ts +2 -0
- data/assets/mermaid/dagre-wrapper/shapes/util.d.ts +14 -0
- data/assets/mermaid/defaultConfig.d.ts +12 -0
- data/assets/mermaid/diagram-api/comments.d.ts +6 -0
- data/assets/mermaid/diagram-api/comments.spec.d.ts +1 -0
- data/assets/mermaid/diagram-api/detectType.d.ts +42 -0
- data/assets/mermaid/diagram-api/diagram-orchestration.d.ts +1 -0
- data/assets/mermaid/diagram-api/diagram-orchestration.spec.d.ts +1 -0
- data/assets/mermaid/diagram-api/diagramAPI.d.ts +31 -0
- data/assets/mermaid/diagram-api/diagramAPI.spec.d.ts +1 -0
- data/assets/mermaid/diagram-api/frontmatter.d.ts +18 -0
- data/assets/mermaid/diagram-api/frontmatter.spec.d.ts +1 -0
- data/assets/mermaid/diagram-api/loadDiagram.d.ts +1 -0
- data/assets/mermaid/diagram-api/regexes.d.ts +3 -0
- data/assets/mermaid/diagram-api/types.d.ts +84 -0
- data/assets/mermaid/diagram.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/block/blockDB.d.ts +54 -0
- data/assets/mermaid/diagrams/block/blockDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/block/blockDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/block/blockRenderer.d.ts +15 -0
- data/assets/mermaid/diagrams/block/blockTypes.d.ts +36 -0
- data/assets/mermaid/diagrams/block/blockUtils.d.ts +1 -0
- data/assets/mermaid/diagrams/block/layout.d.ts +13 -0
- data/assets/mermaid/diagrams/block/layout.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/block/parser/block.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/block/renderHelpers.d.ts +10 -0
- data/assets/mermaid/diagrams/block/styles.d.ts +18 -0
- data/assets/mermaid/diagrams/c4/c4Db.d.ts +127 -0
- data/assets/mermaid/diagrams/c4/c4Detector.d.ts +3 -0
- data/assets/mermaid/diagrams/c4/c4Diagram.d.ts +2 -0
- data/assets/mermaid/diagrams/c4/c4Renderer.d.ts +12 -0
- data/assets/mermaid/diagrams/c4/styles.d.ts +2 -0
- data/assets/mermaid/diagrams/c4/svgDraw.d.ts +36 -0
- data/assets/mermaid/diagrams/class/classDb.d.ts +144 -0
- data/assets/mermaid/diagrams/class/classDetector-V2.d.ts +3 -0
- data/assets/mermaid/diagrams/class/classDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/class/classDiagram-v2.d.ts +2 -0
- data/assets/mermaid/diagrams/class/classDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/class/classDiagram.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/class/classRenderer-v2.d.ts +57 -0
- data/assets/mermaid/diagrams/class/classRenderer.d.ts +5 -0
- data/assets/mermaid/diagrams/class/classTypes.d.ts +78 -0
- data/assets/mermaid/diagrams/class/classTypes.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/class/styles.d.ts +2 -0
- data/assets/mermaid/diagrams/class/svgDraw.d.ts +25 -0
- data/assets/mermaid/diagrams/common/common.d.ts +110 -0
- data/assets/mermaid/diagrams/common/common.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/common/commonDb.d.ts +7 -0
- data/assets/mermaid/diagrams/common/commonTypes.d.ts +51 -0
- data/assets/mermaid/diagrams/common/svgDrawCommon.d.ts +15 -0
- data/assets/mermaid/diagrams/er/erDb.d.ts +49 -0
- data/assets/mermaid/diagrams/er/erDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/er/erDiagram.d.ts +34 -0
- data/assets/mermaid/diagrams/er/erMarkers.d.ts +24 -0
- data/assets/mermaid/diagrams/er/erRenderer.d.ts +19 -0
- data/assets/mermaid/diagrams/er/erRenderer.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/er/styles.d.ts +2 -0
- data/assets/mermaid/diagrams/error/errorDiagram.d.ts +3 -0
- data/assets/mermaid/diagrams/error/errorRenderer.d.ts +12 -0
- data/assets/mermaid/diagrams/flowchart/elk/detector.d.ts +3 -0
- data/assets/mermaid/diagrams/flowchart/elk/detector.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/flowchart/elk/flowRenderer-elk.d.ts +10 -0
- data/assets/mermaid/diagrams/flowchart/elk/flowchart-elk-definition.d.ts +10 -0
- data/assets/mermaid/diagrams/flowchart/elk/render-utils.d.ts +5 -0
- data/assets/mermaid/diagrams/flowchart/elk/render-utils.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/flowchart/elk/styles.d.ts +19 -0
- data/assets/mermaid/diagrams/flowchart/flowChartShapes.d.ts +9 -0
- data/assets/mermaid/diagrams/flowchart/flowDb.d.ts +87 -0
- data/assets/mermaid/diagrams/flowchart/flowDetector-v2.d.ts +3 -0
- data/assets/mermaid/diagrams/flowchart/flowDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/flowchart/flowDiagram-v2.d.ts +57 -0
- data/assets/mermaid/diagrams/flowchart/flowDiagram.d.ts +57 -0
- data/assets/mermaid/diagrams/flowchart/flowRenderer-v2.d.ts +13 -0
- data/assets/mermaid/diagrams/flowchart/flowRenderer.d.ts +13 -0
- data/assets/mermaid/diagrams/flowchart/styles.d.ts +18 -0
- data/assets/mermaid/diagrams/gantt/ganttDb.d.ts +106 -0
- data/assets/mermaid/diagrams/gantt/ganttDb.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/gantt/ganttDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/gantt/ganttDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/gantt/ganttRenderer.d.ts +7 -0
- data/assets/mermaid/diagrams/gantt/styles.d.ts +2 -0
- data/assets/mermaid/diagrams/git/gitGraphAst.d.ts +61 -0
- data/assets/mermaid/diagrams/git/gitGraphDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/git/gitGraphDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/git/gitGraphRenderer.d.ts +5 -0
- data/assets/mermaid/diagrams/git/styles.d.ts +2 -0
- data/assets/mermaid/diagrams/info/info.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/info/infoDb.d.ts +5 -0
- data/assets/mermaid/diagrams/info/infoDetector.d.ts +2 -0
- data/assets/mermaid/diagrams/info/infoDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/info/infoRenderer.d.ts +4 -0
- data/assets/mermaid/diagrams/info/infoTypes.d.ts +9 -0
- data/assets/mermaid/diagrams/mindmap/detector.d.ts +3 -0
- data/assets/mermaid/diagrams/mindmap/mindmap-definition.d.ts +2 -0
- data/assets/mermaid/diagrams/mindmap/mindmap.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/mindmap/mindmapDb.d.ts +30 -0
- data/assets/mermaid/diagrams/mindmap/mindmapRenderer.d.ts +21 -0
- data/assets/mermaid/diagrams/mindmap/mindmapTypes.d.ts +20 -0
- data/assets/mermaid/diagrams/mindmap/styles.d.ts +3 -0
- data/assets/mermaid/diagrams/mindmap/svgDraw.d.ts +13 -0
- data/assets/mermaid/diagrams/pie/pie.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/pie/pieDb.d.ts +6 -0
- data/assets/mermaid/diagrams/pie/pieDetector.d.ts +2 -0
- data/assets/mermaid/diagrams/pie/pieDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/pie/pieRenderer.d.ts +13 -0
- data/assets/mermaid/diagrams/pie/pieStyles.d.ts +3 -0
- data/assets/mermaid/diagrams/pie/pieTypes.d.ts +53 -0
- data/assets/mermaid/diagrams/quadrant-chart/parser/quadrant.jison.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/quadrant-chart/quadrantBuilder.d.ts +118 -0
- data/assets/mermaid/diagrams/quadrant-chart/quadrantDb.d.ts +38 -0
- data/assets/mermaid/diagrams/quadrant-chart/quadrantDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/quadrant-chart/quadrantDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/quadrant-chart/quadrantRenderer.d.ts +6 -0
- data/assets/mermaid/diagrams/requirement/requirementDb.d.ts +70 -0
- data/assets/mermaid/diagrams/requirement/requirementDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/requirement/requirementDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/requirement/requirementMarkers.d.ts +10 -0
- data/assets/mermaid/diagrams/requirement/requirementRenderer.d.ts +7 -0
- data/assets/mermaid/diagrams/requirement/styles.d.ts +2 -0
- data/assets/mermaid/diagrams/sankey/parser/sankey.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/sankey/sankeyDB.d.ts +36 -0
- data/assets/mermaid/diagrams/sankey/sankeyDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/sankey/sankeyDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/sankey/sankeyRenderer.d.ts +14 -0
- data/assets/mermaid/diagrams/sankey/sankeyUtils.d.ts +1 -0
- data/assets/mermaid/diagrams/sequence/sequenceDb.d.ts +153 -0
- data/assets/mermaid/diagrams/sequence/sequenceDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/sequence/sequenceDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/sequence/sequenceRenderer.d.ts +202 -0
- data/assets/mermaid/diagrams/sequence/styles.d.ts +2 -0
- data/assets/mermaid/diagrams/sequence/svgDraw.d.ts +73 -0
- data/assets/mermaid/diagrams/state/id-cache.d.ts +11 -0
- data/assets/mermaid/diagrams/state/shapes.d.ts +14 -0
- data/assets/mermaid/diagrams/state/stateCommon.d.ts +22 -0
- data/assets/mermaid/diagrams/state/stateDb.d.ts +91 -0
- data/assets/mermaid/diagrams/state/stateDetector-V2.d.ts +3 -0
- data/assets/mermaid/diagrams/state/stateDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/state/stateDiagram-v2.d.ts +2 -0
- data/assets/mermaid/diagrams/state/stateDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/state/stateRenderer-v2.d.ts +20 -0
- data/assets/mermaid/diagrams/state/stateRenderer.d.ts +7 -0
- data/assets/mermaid/diagrams/state/styles.d.ts +2 -0
- data/assets/mermaid/diagrams/timeline/detector.d.ts +3 -0
- data/assets/mermaid/diagrams/timeline/styles.d.ts +2 -0
- data/assets/mermaid/diagrams/timeline/svgDraw.d.ts +46 -0
- data/assets/mermaid/diagrams/timeline/timeline-definition.d.ts +10 -0
- data/assets/mermaid/diagrams/timeline/timelineDb.d.ts +20 -0
- data/assets/mermaid/diagrams/timeline/timelineRenderer.d.ts +19 -0
- data/assets/mermaid/diagrams/user-journey/journeyDb.d.ts +30 -0
- data/assets/mermaid/diagrams/user-journey/journeyDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/user-journey/journeyDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/user-journey/journeyRenderer.d.ts +30 -0
- data/assets/mermaid/diagrams/user-journey/styles.d.ts +2 -0
- data/assets/mermaid/diagrams/user-journey/svgDraw.d.ts +20 -0
- data/assets/mermaid/diagrams/xychart/chartBuilder/components/axis/bandAxis.d.ts +12 -0
- data/assets/mermaid/diagrams/xychart/chartBuilder/components/axis/baseAxis.d.ts +38 -0
- data/assets/mermaid/diagrams/xychart/chartBuilder/components/axis/index.d.ts +12 -0
- data/assets/mermaid/diagrams/xychart/chartBuilder/components/axis/linearAxis.d.ts +11 -0
- data/assets/mermaid/diagrams/xychart/chartBuilder/components/chartTitle.d.ts +16 -0
- data/assets/mermaid/diagrams/xychart/chartBuilder/components/plot/barPlot.d.ts +12 -0
- data/assets/mermaid/diagrams/xychart/chartBuilder/components/plot/index.d.ts +20 -0
- data/assets/mermaid/diagrams/xychart/chartBuilder/components/plot/linePlot.d.ts +11 -0
- data/assets/mermaid/diagrams/xychart/chartBuilder/index.d.ts +5 -0
- data/assets/mermaid/diagrams/xychart/chartBuilder/interfaces.d.ts +132 -0
- data/assets/mermaid/diagrams/xychart/chartBuilder/orchestrator.d.ts +12 -0
- data/assets/mermaid/diagrams/xychart/chartBuilder/textDimensionCalculator.d.ts +10 -0
- data/assets/mermaid/diagrams/xychart/parser/xychart.jison.spec.d.ts +1 -0
- data/assets/mermaid/diagrams/xychart/xychartDb.d.ts +40 -0
- data/assets/mermaid/diagrams/xychart/xychartDetector.d.ts +3 -0
- data/assets/mermaid/diagrams/xychart/xychartDiagram.d.ts +2 -0
- data/assets/mermaid/diagrams/xychart/xychartRenderer.d.ts +6 -0
- data/assets/mermaid/docs/vite.config.d.ts +2 -0
- data/assets/mermaid/edges-066a5561.js +1840 -0
- data/assets/mermaid/edges-16357fde.js +1083 -0
- data/assets/mermaid/edges-ce5cfb7c.js +1840 -0
- data/assets/mermaid/erDiagram-09d1c15f.js +1176 -0
- data/assets/mermaid/erDiagram-543717f2.js +1321 -0
- data/assets/mermaid/erDiagram-c7ff1bec.js +931 -0
- data/assets/mermaid/errors.d.ts +3 -0
- data/assets/mermaid/flowDb-9a89ea33.js +1126 -0
- data/assets/mermaid/flowDb-ba9bd7fa.js +1713 -0
- data/assets/mermaid/flowDb-c1833063.js +1714 -0
- data/assets/mermaid/flowDiagram-aadb13b0.js +797 -0
- data/assets/mermaid/flowDiagram-b222e15a.js +614 -0
- data/assets/mermaid/flowDiagram-b5e7ba30.js +1278 -0
- data/assets/mermaid/flowDiagram-v2-13329dc7.js +40 -0
- data/assets/mermaid/flowDiagram-v2-54711e03.js +32 -0
- data/assets/mermaid/flowDiagram-v2-f2119625.js +25 -0
- data/assets/mermaid/flowchart-elk-definition-2d49707c.js +93397 -0
- data/assets/mermaid/flowchart-elk-definition-ae0efee6.js +814 -0
- data/assets/mermaid/flowchart-elk-definition-cf813a97.js +48407 -0
- data/assets/mermaid/ganttDiagram-12cf43db.js +3445 -0
- data/assets/mermaid/ganttDiagram-3c2fde2b.js +2501 -0
- data/assets/mermaid/ganttDiagram-b62c793e.js +2061 -0
- data/assets/mermaid/gitGraphDiagram-942e62fe.js +1800 -0
- data/assets/mermaid/gitGraphDiagram-b9392a12.js +1790 -0
- data/assets/mermaid/gitGraphDiagram-c3a0619c.js +1264 -0
- data/assets/mermaid/graph-0ee63739.js +881 -0
- data/assets/mermaid/graph-fe24fab6.js +1285 -0
- data/assets/mermaid/index-01f381cb.js +622 -0
- data/assets/mermaid/index-bb6d8841.js +373 -0
- data/assets/mermaid/index-fc479858.js +663 -0
- data/assets/mermaid/infoDiagram-2f5c50c0.js +319 -0
- data/assets/mermaid/infoDiagram-94cd232f.js +520 -0
- data/assets/mermaid/infoDiagram-d0d5c9bd.js +510 -0
- data/assets/mermaid/init-cc95ec8e.js +16 -0
- data/assets/mermaid/init-f9637058.js +16 -0
- data/assets/mermaid/interactionDb.d.ts +2 -0
- data/assets/mermaid/journeyDiagram-14fe341a.js +804 -0
- data/assets/mermaid/journeyDiagram-6625b456.js +1191 -0
- data/assets/mermaid/journeyDiagram-b56e6921.js +1183 -0
- data/assets/mermaid/katex-d90b6d29.js +11624 -0
- data/assets/mermaid/katex-ffb0e8f1.js +14432 -0
- data/assets/mermaid/layout-163b9689.js +2314 -0
- data/assets/mermaid/layout-fd473db2.js +1536 -0
- data/assets/mermaid/line-24d93f1b.js +34 -0
- data/assets/mermaid/line-87f517ef.js +50 -0
- data/assets/mermaid/linear-0ad15847.js +595 -0
- data/assets/mermaid/linear-9bcf74c4.js +447 -0
- data/assets/mermaid/logger.d.ts +9 -0
- data/assets/mermaid/mermaid-6dc72991.js +6461 -0
- data/assets/mermaid/mermaid-9f2aa176.js +8112 -0
- data/assets/mermaid/mermaid-dcacb631.js +12793 -0
- data/assets/mermaid/mermaid.core.mjs +14 -0
- data/assets/mermaid/mermaid.d.ts +146 -0
- data/assets/mermaid/mermaid.esm.min.mjs +4 -0
- data/assets/mermaid/mermaid.esm.mjs +4 -0
- data/assets/mermaid/mermaid.js +195755 -0
- data/assets/mermaid/mermaid.min.js +2029 -0
- data/assets/mermaid/mermaid.spec.d.ts +1 -0
- data/assets/mermaid/mermaidAPI.d.ts +170 -0
- data/assets/mermaid/mermaidAPI.spec.d.ts +1 -0
- data/assets/mermaid/mindmap-definition-307c710a.js +1177 -0
- data/assets/mermaid/mindmap-definition-696ddea4.js +32342 -0
- data/assets/mermaid/mindmap-definition-9399c7e6.js +18760 -0
- data/assets/mermaid/ordinal-475e0c0c.js +82 -0
- data/assets/mermaid/ordinal-5695958c.js +65 -0
- data/assets/mermaid/path-39bad7e2.js +118 -0
- data/assets/mermaid/path-428ebac9.js +91 -0
- data/assets/mermaid/pieDiagram-828dae43.js +502 -0
- data/assets/mermaid/pieDiagram-bb1d19e5.js +722 -0
- data/assets/mermaid/pieDiagram-e854eaf0.js +772 -0
- data/assets/mermaid/preprocess.d.ts +10 -0
- data/assets/mermaid/quadrantDiagram-25a9848b.js +1199 -0
- data/assets/mermaid/quadrantDiagram-5fa00455.js +904 -0
- data/assets/mermaid/quadrantDiagram-c759a472.js +1207 -0
- data/assets/mermaid/rendering-util/createText.d.ts +11 -0
- data/assets/mermaid/rendering-util/handle-markdown-text.d.ts +6 -0
- data/assets/mermaid/rendering-util/handle-markdown-text.spec.d.ts +1 -0
- data/assets/mermaid/rendering-util/selectSvgElement.d.ts +8 -0
- data/assets/mermaid/rendering-util/splitText.d.ts +24 -0
- data/assets/mermaid/rendering-util/splitText.spec.d.ts +1 -0
- data/assets/mermaid/rendering-util/uid.d.ts +8 -0
- data/assets/mermaid/requirementDiagram-03163dc4.js +769 -0
- data/assets/mermaid/requirementDiagram-87253d64.js +1098 -0
- data/assets/mermaid/requirementDiagram-a721e157.js +1091 -0
- data/assets/mermaid/sankeyDiagram-33525efb.js +1198 -0
- data/assets/mermaid/sankeyDiagram-52ec8976.js +818 -0
- data/assets/mermaid/sankeyDiagram-707fac0f.js +660 -0
- data/assets/mermaid/sequenceDiagram-6894f283.js +3346 -0
- data/assets/mermaid/sequenceDiagram-9813c129.js +3336 -0
- data/assets/mermaid/sequenceDiagram-b517d154.js +2234 -0
- data/assets/mermaid/setupGraphViewbox.d.ts +3 -0
- data/assets/mermaid/stateDiagram-5dee940d.js +474 -0
- data/assets/mermaid/stateDiagram-5ec31577.js +467 -0
- data/assets/mermaid/stateDiagram-fca82b5b.js +275 -0
- data/assets/mermaid/stateDiagram-v2-1992cada.js +333 -0
- data/assets/mermaid/stateDiagram-v2-992e82a1.js +325 -0
- data/assets/mermaid/stateDiagram-v2-ed04200a.js +190 -0
- data/assets/mermaid/styles-0784dbeb.js +1363 -0
- data/assets/mermaid/styles-11e81fdd.js +1089 -0
- data/assets/mermaid/styles-36a1a2e8.js +1483 -0
- data/assets/mermaid/styles-483fbfea.js +509 -0
- data/assets/mermaid/styles-727cdd61.js +571 -0
- data/assets/mermaid/styles-b83b31c9.js +1484 -0
- data/assets/mermaid/styles-cacbff60.js +960 -0
- data/assets/mermaid/styles-e75131e4.js +433 -0
- data/assets/mermaid/styles-f80da881.js +1363 -0
- data/assets/mermaid/styles.d.ts +12 -0
- data/assets/mermaid/styles.spec.d.ts +1 -0
- data/assets/mermaid/svgDrawCommon-5e1cfd1d.js +101 -0
- data/assets/mermaid/svgDrawCommon-d6ab583c.js +100 -0
- data/assets/mermaid/svgDrawCommon-ecc5f780.js +64 -0
- data/assets/mermaid/tests/MockedD3.d.ts +45 -0
- data/assets/mermaid/tests/setup.d.ts +1 -0
- data/assets/mermaid/tests/util.d.ts +3 -0
- data/assets/mermaid/themes/erDiagram-oldHardcodedValues.d.ts +7 -0
- data/assets/mermaid/themes/index.d.ts +24 -0
- data/assets/mermaid/themes/theme-base.d.ts +189 -0
- data/assets/mermaid/themes/theme-dark.d.ts +177 -0
- data/assets/mermaid/themes/theme-default.d.ts +188 -0
- data/assets/mermaid/themes/theme-forest.d.ts +185 -0
- data/assets/mermaid/themes/theme-helpers.d.ts +1 -0
- data/assets/mermaid/themes/theme-neutral.d.ts +182 -0
- data/assets/mermaid/timeline-definition-23ce0e2e.js +1211 -0
- data/assets/mermaid/timeline-definition-4ee9bff4.js +795 -0
- data/assets/mermaid/timeline-definition-bf702344.js +1219 -0
- data/assets/mermaid/types.d.ts +31 -0
- data/assets/mermaid/utils/imperativeState.d.ts +32 -0
- data/assets/mermaid/utils/imperativeState.spec.d.ts +1 -0
- data/assets/mermaid/utils/lineWithOffset.d.ts +5 -0
- data/assets/mermaid/utils/sanitizeDirective.d.ts +7 -0
- data/assets/mermaid/utils/subGraphTitleMargins.d.ts +8 -0
- data/assets/mermaid/utils/subGraphTitleMargins.spec.d.ts +1 -0
- data/assets/mermaid/utils.d.ts +286 -0
- data/assets/mermaid/utils.spec.d.ts +1 -0
- data/assets/mermaid/xychartDiagram-de2e5521.js +1800 -0
- data/assets/mermaid/xychartDiagram-e5e6b652.js +1284 -0
- data/assets/mermaid/xychartDiagram-f11f50a6.js +1745 -0
- data/assets/tables.css +23 -0
- data/assets/toURI.js +142 -0
- metadata +363 -2
@@ -0,0 +1,57 @@
|
|
1
|
+
import type { MermaidConfig } from '../../config.type.js';
|
2
|
+
export declare const diagram: {
|
3
|
+
parser: any;
|
4
|
+
db: {
|
5
|
+
defaultConfig: () => import("../../config.type.js").FlowchartDiagramConfig | undefined;
|
6
|
+
setAccTitle: (txt: string) => void;
|
7
|
+
getAccTitle: () => string;
|
8
|
+
getAccDescription: () => string;
|
9
|
+
setAccDescription: (txt: string) => void;
|
10
|
+
addVertex: (_id: any, textObj: any, type: any, style: any, classes: any, dir: any, props?: {}) => void;
|
11
|
+
lookUpDomId: (id: any) => any;
|
12
|
+
addLink: (_start: any, _end: any, type: any) => void;
|
13
|
+
updateLinkInterpolate: (positions: any, interp: any) => void;
|
14
|
+
updateLink: (positions: any, style: any) => void;
|
15
|
+
addClass: (ids: any, style: any) => void;
|
16
|
+
setDirection: (dir: any) => void;
|
17
|
+
setClass: (ids: any, className: any) => void;
|
18
|
+
setTooltip: (ids: any, tooltip: any) => void;
|
19
|
+
getTooltip: (id: any) => any;
|
20
|
+
setClickEvent: (ids: any, functionName: any, functionArgs: any) => void;
|
21
|
+
setLink: (ids: any, linkStr: any, target: any) => void;
|
22
|
+
bindFunctions: (element: any) => void;
|
23
|
+
getDirection: () => any;
|
24
|
+
getVertices: () => any;
|
25
|
+
getEdges: () => any;
|
26
|
+
getClasses: () => any;
|
27
|
+
clear: (ver?: string) => void;
|
28
|
+
setGen: (ver: any) => void;
|
29
|
+
defaultStyle: () => string;
|
30
|
+
addSubGraph: (_id: any, list: any, _title: any) => any;
|
31
|
+
getDepthFirstPos: (pos: any) => any;
|
32
|
+
indexNodes: () => void;
|
33
|
+
getSubGraphs: () => any[];
|
34
|
+
destructLink: (_str: any, _startStr: any) => {
|
35
|
+
type: string;
|
36
|
+
stroke: string;
|
37
|
+
};
|
38
|
+
lex: {
|
39
|
+
firstGraph: () => boolean;
|
40
|
+
};
|
41
|
+
exists: (allSgs: any, _id: any) => boolean;
|
42
|
+
makeUniq: (sg: any, allSubgraphs: any) => {
|
43
|
+
nodes: any[];
|
44
|
+
};
|
45
|
+
setDiagramTitle: (txt: string) => void;
|
46
|
+
getDiagramTitle: () => string;
|
47
|
+
};
|
48
|
+
renderer: {
|
49
|
+
setConf: (cnf: any) => void;
|
50
|
+
addVertices: (vert: any, g: any, svgId: any, root: any, doc: any, diagObj: any) => Promise<void>;
|
51
|
+
addEdges: (edges: object, g: object, diagObj: any) => Promise<void>;
|
52
|
+
getClasses: (text: any, diagObj: any) => Record<string, import("../../diagram-api/types.js").DiagramStyleClassDef>;
|
53
|
+
draw: (text: any, id: any, _version: any, diagObj: any) => Promise<void>;
|
54
|
+
};
|
55
|
+
styles: (options: import("./styles.js").FlowChartStyleOptions) => string;
|
56
|
+
init: (cnf: MermaidConfig) => void;
|
57
|
+
};
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export function setConf(cnf: any): void;
|
2
|
+
export function addVertices(vert: any, g: any, svgId: any, root: any, doc: any, diagObj: any): Promise<void>;
|
3
|
+
export function addEdges(edges: object, g: object, diagObj: any): Promise<void>;
|
4
|
+
export function getClasses(text: any, diagObj: any): Record<string, import('../../diagram-api/types.js').DiagramStyleClassDef>;
|
5
|
+
export function draw(text: any, id: any, _version: any, diagObj: any): Promise<void>;
|
6
|
+
declare namespace _default {
|
7
|
+
export { setConf };
|
8
|
+
export { addVertices };
|
9
|
+
export { addEdges };
|
10
|
+
export { getClasses };
|
11
|
+
export { draw };
|
12
|
+
}
|
13
|
+
export default _default;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export function setConf(cnf: any): void;
|
2
|
+
export function addVertices(vert: any, g: any, svgId: any, root: any, _doc: any, diagObj: any): Promise<void>;
|
3
|
+
export function addEdges(edges: object, g: object, diagObj: any): Promise<void>;
|
4
|
+
export function getClasses(text: any, diagObj: any): Record<string, import('../../diagram-api/types.js').DiagramStyleClassDef>;
|
5
|
+
export function draw(text: any, id: any, _version: any, diagObj: any): Promise<void>;
|
6
|
+
declare namespace _default {
|
7
|
+
export { setConf };
|
8
|
+
export { addVertices };
|
9
|
+
export { addEdges };
|
10
|
+
export { getClasses };
|
11
|
+
export { draw };
|
12
|
+
}
|
13
|
+
export default _default;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/** Returns the styles given options */
|
2
|
+
export interface FlowChartStyleOptions {
|
3
|
+
arrowheadColor: string;
|
4
|
+
border2: string;
|
5
|
+
clusterBkg: string;
|
6
|
+
clusterBorder: string;
|
7
|
+
edgeLabelBackground: string;
|
8
|
+
fontFamily: string;
|
9
|
+
lineColor: string;
|
10
|
+
mainBkg: string;
|
11
|
+
nodeBorder: string;
|
12
|
+
nodeTextColor: string;
|
13
|
+
tertiaryColor: string;
|
14
|
+
textColor: string;
|
15
|
+
titleColor: string;
|
16
|
+
}
|
17
|
+
declare const getStyles: (options: FlowChartStyleOptions) => string;
|
18
|
+
export default getStyles;
|
@@ -0,0 +1,106 @@
|
|
1
|
+
export function clear(): void;
|
2
|
+
export function setAxisFormat(txt: any): void;
|
3
|
+
export function getAxisFormat(): string;
|
4
|
+
export function setTickInterval(txt: any): void;
|
5
|
+
export function getTickInterval(): any;
|
6
|
+
export function setTodayMarker(txt: any): void;
|
7
|
+
export function getTodayMarker(): string;
|
8
|
+
export function setDateFormat(txt: any): void;
|
9
|
+
export function enableInclusiveEndDates(): void;
|
10
|
+
export function endDatesAreInclusive(): boolean;
|
11
|
+
export function enableTopAxis(): void;
|
12
|
+
export function topAxisEnabled(): boolean;
|
13
|
+
export function setDisplayMode(txt: any): void;
|
14
|
+
export function getDisplayMode(): string;
|
15
|
+
export function getDateFormat(): string;
|
16
|
+
export function setIncludes(txt: any): void;
|
17
|
+
export function getIncludes(): any[];
|
18
|
+
export function setExcludes(txt: any): void;
|
19
|
+
export function getExcludes(): any[];
|
20
|
+
export function getLinks(): {};
|
21
|
+
export function addSection(txt: any): void;
|
22
|
+
export function getSections(): any[];
|
23
|
+
export function getTasks(): any[];
|
24
|
+
export function isInvalidDate(date: any, dateFormat: any, excludes: any, includes: any): any;
|
25
|
+
export function setWeekday(txt: any): void;
|
26
|
+
export function getWeekday(): string;
|
27
|
+
export function addTask(descr: any, data: any): void;
|
28
|
+
export function findTaskById(id: any): any;
|
29
|
+
export function addTaskOrg(descr: any, data: any): void;
|
30
|
+
export function setLink(ids: any, _linkStr: any): void;
|
31
|
+
export function setClass(ids: any, className: any): void;
|
32
|
+
export function setClickEvent(ids: any, functionName: any, functionArgs: any): void;
|
33
|
+
export function bindFunctions(element: any): void;
|
34
|
+
declare namespace _default {
|
35
|
+
export function getConfig(): import("../../config.type.js").GanttDiagramConfig | undefined;
|
36
|
+
export { clear };
|
37
|
+
export { setDateFormat };
|
38
|
+
export { getDateFormat };
|
39
|
+
export { enableInclusiveEndDates };
|
40
|
+
export { endDatesAreInclusive };
|
41
|
+
export { enableTopAxis };
|
42
|
+
export { topAxisEnabled };
|
43
|
+
export { setAxisFormat };
|
44
|
+
export { getAxisFormat };
|
45
|
+
export { setTickInterval };
|
46
|
+
export { getTickInterval };
|
47
|
+
export { setTodayMarker };
|
48
|
+
export { getTodayMarker };
|
49
|
+
export { setAccTitle };
|
50
|
+
export { getAccTitle };
|
51
|
+
export { setDiagramTitle };
|
52
|
+
export { getDiagramTitle };
|
53
|
+
export { setDisplayMode };
|
54
|
+
export { getDisplayMode };
|
55
|
+
export { setAccDescription };
|
56
|
+
export { getAccDescription };
|
57
|
+
export { addSection };
|
58
|
+
export { getSections };
|
59
|
+
export { getTasks };
|
60
|
+
export { addTask };
|
61
|
+
export { findTaskById };
|
62
|
+
export { addTaskOrg };
|
63
|
+
export { setIncludes };
|
64
|
+
export { getIncludes };
|
65
|
+
export { setExcludes };
|
66
|
+
export { getExcludes };
|
67
|
+
export { setClickEvent };
|
68
|
+
export { setLink };
|
69
|
+
export { getLinks };
|
70
|
+
export { bindFunctions };
|
71
|
+
export { parseDuration };
|
72
|
+
export { isInvalidDate };
|
73
|
+
export { setWeekday };
|
74
|
+
export { getWeekday };
|
75
|
+
}
|
76
|
+
export default _default;
|
77
|
+
import { setAccTitle } from '../common/commonDb.js';
|
78
|
+
import { getAccTitle } from '../common/commonDb.js';
|
79
|
+
import { setDiagramTitle } from '../common/commonDb.js';
|
80
|
+
import { getDiagramTitle } from '../common/commonDb.js';
|
81
|
+
import { setAccDescription } from '../common/commonDb.js';
|
82
|
+
import { getAccDescription } from '../common/commonDb.js';
|
83
|
+
/**
|
84
|
+
* Parse a string into the args for `dayjs.add()`.
|
85
|
+
*
|
86
|
+
* The string have to be compound by a value and a shorthand duration unit. For example `5d`
|
87
|
+
* represents 5 days.
|
88
|
+
*
|
89
|
+
* Please be aware that 1 day may be 23 or 25 hours, if the user lives in an area
|
90
|
+
* that has daylight savings time (or even 23.5/24.5 hours in Lord Howe Island!)
|
91
|
+
*
|
92
|
+
* Shorthand unit supported are:
|
93
|
+
*
|
94
|
+
* - `y` for years
|
95
|
+
* - `M` for months
|
96
|
+
* - `w` for weeks
|
97
|
+
* - `d` for days
|
98
|
+
* - `h` for hours
|
99
|
+
* - `s` for seconds
|
100
|
+
* - `ms` for milliseconds
|
101
|
+
*
|
102
|
+
* @param {string} str - A string representing the duration.
|
103
|
+
* @returns {[value: number, unit: dayjs.ManipulateType]} Arguments to pass to `dayjs.add()`
|
104
|
+
*/
|
105
|
+
declare function parseDuration(str: string): [value: number, unit: dayjs.ManipulateType];
|
106
|
+
import dayjs from 'dayjs';
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,61 @@
|
|
1
|
+
export function setDirection(dir: any): void;
|
2
|
+
export function setOptions(rawOptString: any): void;
|
3
|
+
export function getOptions(): {};
|
4
|
+
export function commit(msg: any, id: any, type: any, tag: any): void;
|
5
|
+
export function branch(name: any, order: any): void;
|
6
|
+
export function merge(otherBranch: any, custom_id: any, override_type: any, custom_tag: any): void;
|
7
|
+
export function cherryPick(sourceId: any, targetId: any, tag: any, parentCommitId: any): void;
|
8
|
+
export function checkout(branch: any): void;
|
9
|
+
export function prettyPrint(): void;
|
10
|
+
export function clear(): void;
|
11
|
+
export function getBranchesAsObjArray(): {
|
12
|
+
name: any;
|
13
|
+
}[];
|
14
|
+
export function getBranches(): typeof branches;
|
15
|
+
export function getCommits(): {};
|
16
|
+
export function getCommitsArray(): any[];
|
17
|
+
export function getCurrentBranch(): string | undefined;
|
18
|
+
export function getDirection(): string;
|
19
|
+
export function getHead(): any;
|
20
|
+
export namespace commitType {
|
21
|
+
let NORMAL: number;
|
22
|
+
let REVERSE: number;
|
23
|
+
let HIGHLIGHT: number;
|
24
|
+
let MERGE: number;
|
25
|
+
let CHERRY_PICK: number;
|
26
|
+
}
|
27
|
+
declare namespace _default {
|
28
|
+
export function getConfig(): import("../../config.type.js").GitGraphDiagramConfig | undefined;
|
29
|
+
export { setDirection };
|
30
|
+
export { setOptions };
|
31
|
+
export { getOptions };
|
32
|
+
export { commit };
|
33
|
+
export { branch };
|
34
|
+
export { merge };
|
35
|
+
export { cherryPick };
|
36
|
+
export { checkout };
|
37
|
+
export { prettyPrint };
|
38
|
+
export { clear };
|
39
|
+
export { getBranchesAsObjArray };
|
40
|
+
export { getBranches };
|
41
|
+
export { getCommits };
|
42
|
+
export { getCommitsArray };
|
43
|
+
export { getCurrentBranch };
|
44
|
+
export { getDirection };
|
45
|
+
export { getHead };
|
46
|
+
export { setAccTitle };
|
47
|
+
export { getAccTitle };
|
48
|
+
export { getAccDescription };
|
49
|
+
export { setAccDescription };
|
50
|
+
export { setDiagramTitle };
|
51
|
+
export { getDiagramTitle };
|
52
|
+
export { commitType };
|
53
|
+
}
|
54
|
+
export default _default;
|
55
|
+
declare let branches: typeof branches;
|
56
|
+
import { setAccTitle } from '../common/commonDb.js';
|
57
|
+
import { getAccTitle } from '../common/commonDb.js';
|
58
|
+
import { getAccDescription } from '../common/commonDb.js';
|
59
|
+
import { setAccDescription } from '../common/commonDb.js';
|
60
|
+
import { setDiagramTitle } from '../common/commonDb.js';
|
61
|
+
import { getDiagramTitle } from '../common/commonDb.js';
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import type { D3Element } from '../../mermaidAPI.js';
|
2
|
+
import type { MindmapNode } from './mindmapTypes.js';
|
3
|
+
declare const db: {
|
4
|
+
readonly clear: () => void;
|
5
|
+
readonly addNode: (level: number, id: string, descr: string, type: number) => void;
|
6
|
+
readonly getMindmap: () => MindmapNode | null;
|
7
|
+
readonly nodeType: {
|
8
|
+
DEFAULT: number;
|
9
|
+
NO_BORDER: number;
|
10
|
+
ROUNDED_RECT: number;
|
11
|
+
RECT: number;
|
12
|
+
CIRCLE: number;
|
13
|
+
CLOUD: number;
|
14
|
+
BANG: number;
|
15
|
+
HEXAGON: number;
|
16
|
+
};
|
17
|
+
readonly getType: (startStr: string, endStr: string) => number;
|
18
|
+
readonly setElementForId: (id: number, element: D3Element) => void;
|
19
|
+
readonly decorateNode: (decoration?: {
|
20
|
+
class?: string;
|
21
|
+
icon?: string;
|
22
|
+
}) => void;
|
23
|
+
readonly type2Str: (type: number) => "rect" | "circle" | "no-border" | "rounded-rect" | "cloud" | "bang" | "hexgon";
|
24
|
+
readonly getLogger: () => Record<import("../../logger.js").LogLevel, {
|
25
|
+
(...data: any[]): void;
|
26
|
+
(message?: any, ...optionalParams: any[]): void;
|
27
|
+
}>;
|
28
|
+
readonly getElementById: (id: number) => any;
|
29
|
+
};
|
30
|
+
export default db;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import type { DrawDefinition } from '../../diagram-api/types.js';
|
2
|
+
declare module 'cytoscape' {
|
3
|
+
interface EdgeSingular {
|
4
|
+
_private: {
|
5
|
+
bodyBounds: unknown;
|
6
|
+
rscratch: {
|
7
|
+
startX: number;
|
8
|
+
startY: number;
|
9
|
+
midX: number;
|
10
|
+
midY: number;
|
11
|
+
endX: number;
|
12
|
+
endY: number;
|
13
|
+
};
|
14
|
+
};
|
15
|
+
}
|
16
|
+
}
|
17
|
+
export declare const draw: DrawDefinition;
|
18
|
+
declare const _default: {
|
19
|
+
draw: DrawDefinition;
|
20
|
+
};
|
21
|
+
export default _default;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import type { RequiredDeep } from 'type-fest';
|
2
|
+
import type mindmapDb from './mindmapDb.js';
|
3
|
+
export interface MindmapNode {
|
4
|
+
id: number;
|
5
|
+
nodeId: string;
|
6
|
+
level: number;
|
7
|
+
descr: string;
|
8
|
+
type: number;
|
9
|
+
children: MindmapNode[];
|
10
|
+
width: number;
|
11
|
+
padding: number;
|
12
|
+
section?: number;
|
13
|
+
height?: number;
|
14
|
+
class?: string;
|
15
|
+
icon?: string;
|
16
|
+
x?: number;
|
17
|
+
y?: number;
|
18
|
+
}
|
19
|
+
export type FilledMindMapNode = RequiredDeep<MindmapNode>;
|
20
|
+
export type MindmapDB = typeof mindmapDb;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import type { D3Element } from '../../mermaidAPI.js';
|
2
|
+
import type { FilledMindMapNode, MindmapDB } from './mindmapTypes.js';
|
3
|
+
import type { MermaidConfig } from '../../config.type.js';
|
4
|
+
/**
|
5
|
+
* @param db - The database
|
6
|
+
* @param elem - The D3 dom element in which the node is to be added
|
7
|
+
* @param node - The node to be added
|
8
|
+
* @param fullSection - ?
|
9
|
+
* @param conf - The configuration object
|
10
|
+
* @returns The height nodes dom element
|
11
|
+
*/
|
12
|
+
export declare const drawNode: (db: MindmapDB, elem: D3Element, node: FilledMindMapNode, fullSection: number, conf: MermaidConfig) => number;
|
13
|
+
export declare const positionNode: (db: MindmapDB, node: FilledMindMapNode) => void;
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import type { PieFields, PieDB } from './pieTypes.js';
|
2
|
+
import type { RequiredDeep } from 'type-fest';
|
3
|
+
import type { PieDiagramConfig } from '../../config.type.js';
|
4
|
+
export declare const DEFAULT_PIE_CONFIG: Required<PieDiagramConfig>;
|
5
|
+
export declare const DEFAULT_PIE_DB: RequiredDeep<PieFields>;
|
6
|
+
export declare const db: PieDB;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import type { DrawDefinition } from '../../diagram-api/types.js';
|
2
|
+
/**
|
3
|
+
* Draws a Pie Chart with the data given in text.
|
4
|
+
*
|
5
|
+
* @param text - pie chart code
|
6
|
+
* @param id - diagram id
|
7
|
+
* @param _version - MermaidJS version from package.json.
|
8
|
+
* @param diagObj - A standard diagram containing the DB and the text and type etc of the diagram.
|
9
|
+
*/
|
10
|
+
export declare const draw: DrawDefinition;
|
11
|
+
export declare const renderer: {
|
12
|
+
draw: DrawDefinition;
|
13
|
+
};
|
@@ -0,0 +1,53 @@
|
|
1
|
+
import type { PieDiagramConfig } from '../../config.type.js';
|
2
|
+
import type { DiagramDB } from '../../diagram-api/types.js';
|
3
|
+
export interface PieFields {
|
4
|
+
sections: Sections;
|
5
|
+
showData: boolean;
|
6
|
+
config: PieDiagramConfig;
|
7
|
+
}
|
8
|
+
export interface PieStyleOptions {
|
9
|
+
fontFamily: string;
|
10
|
+
pie1: string;
|
11
|
+
pie2: string;
|
12
|
+
pie3: string;
|
13
|
+
pie4: string;
|
14
|
+
pie5: string;
|
15
|
+
pie6: string;
|
16
|
+
pie7: string;
|
17
|
+
pie8: string;
|
18
|
+
pie9: string;
|
19
|
+
pie10: string;
|
20
|
+
pie11: string;
|
21
|
+
pie12: string;
|
22
|
+
pieTitleTextSize: string;
|
23
|
+
pieTitleTextColor: string;
|
24
|
+
pieSectionTextSize: string;
|
25
|
+
pieSectionTextColor: string;
|
26
|
+
pieLegendTextSize: string;
|
27
|
+
pieLegendTextColor: string;
|
28
|
+
pieStrokeColor: string;
|
29
|
+
pieStrokeWidth: string;
|
30
|
+
pieOuterStrokeWidth: string;
|
31
|
+
pieOuterStrokeColor: string;
|
32
|
+
pieOpacity: string;
|
33
|
+
}
|
34
|
+
export type Sections = Record<string, number>;
|
35
|
+
export interface D3Sections {
|
36
|
+
label: string;
|
37
|
+
value: number;
|
38
|
+
}
|
39
|
+
export interface PieDB extends DiagramDB {
|
40
|
+
getConfig: () => Required<PieDiagramConfig>;
|
41
|
+
clear: () => void;
|
42
|
+
setDiagramTitle: (title: string) => void;
|
43
|
+
getDiagramTitle: () => string;
|
44
|
+
setAccTitle: (title: string) => void;
|
45
|
+
getAccTitle: () => string;
|
46
|
+
setAccDescription: (description: string) => void;
|
47
|
+
getAccDescription: () => string;
|
48
|
+
addSection: (label: string, value: number) => void;
|
49
|
+
getSections: () => Sections;
|
50
|
+
cleanupValue: (value: string) => number;
|
51
|
+
setShowData: (toggle: boolean) => void;
|
52
|
+
getShowData: () => boolean;
|
53
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|