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,202 @@
|
|
1
|
+
import type { Diagram } from '../../Diagram.js';
|
2
|
+
export declare const bounds: {
|
3
|
+
data: {
|
4
|
+
startx: undefined;
|
5
|
+
stopx: undefined;
|
6
|
+
starty: undefined;
|
7
|
+
stopy: undefined;
|
8
|
+
};
|
9
|
+
verticalPos: number;
|
10
|
+
sequenceItems: never[];
|
11
|
+
activations: never[];
|
12
|
+
models: {
|
13
|
+
getHeight: () => any;
|
14
|
+
clear: () => void;
|
15
|
+
addBox: (boxModel: any) => void;
|
16
|
+
addActor: (actorModel: any) => void;
|
17
|
+
addLoop: (loopModel: any) => void;
|
18
|
+
addMessage: (msgModel: any) => void;
|
19
|
+
addNote: (noteModel: any) => void;
|
20
|
+
lastActor: () => never;
|
21
|
+
lastLoop: () => never;
|
22
|
+
lastMessage: () => never;
|
23
|
+
lastNote: () => never;
|
24
|
+
actors: never[];
|
25
|
+
boxes: never[];
|
26
|
+
loops: never[];
|
27
|
+
messages: never[];
|
28
|
+
notes: never[];
|
29
|
+
};
|
30
|
+
init: () => void;
|
31
|
+
updateVal: (obj: any, key: any, val: any, fun: any) => void;
|
32
|
+
updateBounds: (startx: any, starty: any, stopx: any, stopy: any) => void;
|
33
|
+
insert: (startx: any, starty: any, stopx: any, stopy: any) => void;
|
34
|
+
newActivation: (message: any, diagram: any, actors: any) => void;
|
35
|
+
endActivation: (message: any) => never;
|
36
|
+
createLoop: (title: {
|
37
|
+
message: undefined;
|
38
|
+
wrap: boolean;
|
39
|
+
width: undefined;
|
40
|
+
} | undefined, fill: any) => {
|
41
|
+
startx: undefined;
|
42
|
+
starty: number;
|
43
|
+
stopx: undefined;
|
44
|
+
stopy: undefined;
|
45
|
+
title: undefined;
|
46
|
+
wrap: boolean;
|
47
|
+
width: undefined;
|
48
|
+
height: number;
|
49
|
+
fill: any;
|
50
|
+
};
|
51
|
+
newLoop: (title: {
|
52
|
+
message: undefined;
|
53
|
+
wrap: boolean;
|
54
|
+
width: undefined;
|
55
|
+
} | undefined, fill: any) => void;
|
56
|
+
endLoop: () => undefined;
|
57
|
+
isLoopOverlap: () => any;
|
58
|
+
addSectionToLoop: (message: any) => void;
|
59
|
+
saveVerticalPos: () => void;
|
60
|
+
resetVerticalPos: () => void;
|
61
|
+
bumpVerticalPos: (bump: any) => void;
|
62
|
+
getVerticalPos: () => number;
|
63
|
+
getBounds: () => {
|
64
|
+
bounds: {
|
65
|
+
startx: undefined;
|
66
|
+
stopx: undefined;
|
67
|
+
starty: undefined;
|
68
|
+
stopy: undefined;
|
69
|
+
};
|
70
|
+
models: {
|
71
|
+
getHeight: () => any;
|
72
|
+
clear: () => void;
|
73
|
+
addBox: (boxModel: any) => void;
|
74
|
+
addActor: (actorModel: any) => void;
|
75
|
+
addLoop: (loopModel: any) => void;
|
76
|
+
addMessage: (msgModel: any) => void;
|
77
|
+
addNote: (noteModel: any) => void;
|
78
|
+
lastActor: () => never;
|
79
|
+
lastLoop: () => never;
|
80
|
+
lastMessage: () => never;
|
81
|
+
lastNote: () => never;
|
82
|
+
actors: never[];
|
83
|
+
boxes: never[];
|
84
|
+
loops: never[];
|
85
|
+
messages: never[];
|
86
|
+
notes: never[];
|
87
|
+
};
|
88
|
+
};
|
89
|
+
};
|
90
|
+
export declare const drawActors: (diagram: any, actors: any, actorKeys: any, isFooter: any) => Promise<void>;
|
91
|
+
export declare const drawActorsPopup: (diagram: any, actors: any, actorKeys: any, doc: any) => {
|
92
|
+
maxHeight: number;
|
93
|
+
maxWidth: number;
|
94
|
+
};
|
95
|
+
export declare const setConf: (cnf: any) => void;
|
96
|
+
/**
|
97
|
+
* Draws a sequenceDiagram in the tag with id: id based on the graph definition in text.
|
98
|
+
*
|
99
|
+
* @param _text - The text of the diagram
|
100
|
+
* @param id - The id of the diagram which will be used as a DOM element id¨
|
101
|
+
* @param _version - Mermaid version from package.json
|
102
|
+
* @param diagObj - A standard diagram containing the db and the text and type etc of the diagram
|
103
|
+
*/
|
104
|
+
export declare const draw: (_text: string, id: string, _version: string, diagObj: Diagram) => Promise<void>;
|
105
|
+
declare const _default: {
|
106
|
+
bounds: {
|
107
|
+
data: {
|
108
|
+
startx: undefined;
|
109
|
+
stopx: undefined;
|
110
|
+
starty: undefined;
|
111
|
+
stopy: undefined;
|
112
|
+
};
|
113
|
+
verticalPos: number;
|
114
|
+
sequenceItems: never[];
|
115
|
+
activations: never[];
|
116
|
+
models: {
|
117
|
+
getHeight: () => any;
|
118
|
+
clear: () => void;
|
119
|
+
addBox: (boxModel: any) => void;
|
120
|
+
addActor: (actorModel: any) => void;
|
121
|
+
addLoop: (loopModel: any) => void;
|
122
|
+
addMessage: (msgModel: any) => void;
|
123
|
+
addNote: (noteModel: any) => void;
|
124
|
+
lastActor: () => never;
|
125
|
+
lastLoop: () => never;
|
126
|
+
lastMessage: () => never;
|
127
|
+
lastNote: () => never;
|
128
|
+
actors: never[];
|
129
|
+
boxes: never[];
|
130
|
+
loops: never[];
|
131
|
+
messages: never[];
|
132
|
+
notes: never[];
|
133
|
+
};
|
134
|
+
init: () => void;
|
135
|
+
updateVal: (obj: any, key: any, val: any, fun: any) => void;
|
136
|
+
updateBounds: (startx: any, starty: any, stopx: any, stopy: any) => void;
|
137
|
+
insert: (startx: any, starty: any, stopx: any, stopy: any) => void;
|
138
|
+
newActivation: (message: any, diagram: any, actors: any) => void;
|
139
|
+
endActivation: (message: any) => never;
|
140
|
+
createLoop: (title: {
|
141
|
+
message: undefined;
|
142
|
+
wrap: boolean;
|
143
|
+
width: undefined;
|
144
|
+
} | undefined, fill: any) => {
|
145
|
+
startx: undefined;
|
146
|
+
starty: number;
|
147
|
+
stopx: undefined;
|
148
|
+
stopy: undefined;
|
149
|
+
title: undefined;
|
150
|
+
wrap: boolean;
|
151
|
+
width: undefined;
|
152
|
+
height: number;
|
153
|
+
fill: any;
|
154
|
+
};
|
155
|
+
newLoop: (title: {
|
156
|
+
message: undefined;
|
157
|
+
wrap: boolean;
|
158
|
+
width: undefined;
|
159
|
+
} | undefined, fill: any) => void;
|
160
|
+
endLoop: () => undefined;
|
161
|
+
isLoopOverlap: () => any;
|
162
|
+
addSectionToLoop: (message: any) => void;
|
163
|
+
saveVerticalPos: () => void;
|
164
|
+
resetVerticalPos: () => void;
|
165
|
+
bumpVerticalPos: (bump: any) => void;
|
166
|
+
getVerticalPos: () => number;
|
167
|
+
getBounds: () => {
|
168
|
+
bounds: {
|
169
|
+
startx: undefined;
|
170
|
+
stopx: undefined;
|
171
|
+
starty: undefined;
|
172
|
+
stopy: undefined;
|
173
|
+
};
|
174
|
+
models: {
|
175
|
+
getHeight: () => any;
|
176
|
+
clear: () => void;
|
177
|
+
addBox: (boxModel: any) => void;
|
178
|
+
addActor: (actorModel: any) => void;
|
179
|
+
addLoop: (loopModel: any) => void;
|
180
|
+
addMessage: (msgModel: any) => void;
|
181
|
+
addNote: (noteModel: any) => void;
|
182
|
+
lastActor: () => never;
|
183
|
+
lastLoop: () => never;
|
184
|
+
lastMessage: () => never;
|
185
|
+
lastNote: () => never;
|
186
|
+
actors: never[];
|
187
|
+
boxes: never[];
|
188
|
+
loops: never[];
|
189
|
+
messages: never[];
|
190
|
+
notes: never[];
|
191
|
+
};
|
192
|
+
};
|
193
|
+
};
|
194
|
+
drawActors: (diagram: any, actors: any, actorKeys: any, isFooter: any) => Promise<void>;
|
195
|
+
drawActorsPopup: (diagram: any, actors: any, actorKeys: any, doc: any) => {
|
196
|
+
maxHeight: number;
|
197
|
+
maxWidth: number;
|
198
|
+
};
|
199
|
+
setConf: (cnf: any) => void;
|
200
|
+
draw: (_text: string, id: string, _version: string, diagObj: Diagram) => Promise<void>;
|
201
|
+
};
|
202
|
+
export default _default;
|
@@ -0,0 +1,73 @@
|
|
1
|
+
export const ACTOR_TYPE_WIDTH: number;
|
2
|
+
export function drawRect(elem: any, rectData: any): import("../common/commonTypes.js").D3RectElement;
|
3
|
+
export function drawPopup(elem: any, actor: any, minMenuWidth: any, textAttrs: any, forceMenus: any): {
|
4
|
+
height: any;
|
5
|
+
width: any;
|
6
|
+
};
|
7
|
+
export function drawKatex(elem: any, textData: any, msgModel?: null): Promise<any[]>;
|
8
|
+
export function drawText(elem: any, textData: any): any[];
|
9
|
+
export function drawLabel(elem: any, txtObject: any): any;
|
10
|
+
export function fixLifeLineHeights(diagram: any, actors: any, actorKeys: any, conf: any): void;
|
11
|
+
export function drawActor(elem: any, actor: any, conf: any, isFooter: any): Promise<any>;
|
12
|
+
export function drawBox(elem: any, box: any, conf: any): Promise<void>;
|
13
|
+
export function anchorElement(elem: any): any;
|
14
|
+
export function drawActivation(elem: any, bounds: any, verticalPos: any, conf: any, actorActivations: any): void;
|
15
|
+
export function drawLoop(elem: any, loopModel: any, labelText: any, conf: any): any;
|
16
|
+
export function drawBackgroundRect(elem: any, bounds: any): void;
|
17
|
+
export function insertDatabaseIcon(elem: any): void;
|
18
|
+
export function insertComputerIcon(elem: any): void;
|
19
|
+
export function insertClockIcon(elem: any): void;
|
20
|
+
export function insertArrowHead(elem: any): void;
|
21
|
+
export function insertArrowFilledHead(elem: any): void;
|
22
|
+
export function insertSequenceNumber(elem: any): void;
|
23
|
+
export function insertArrowCrossHead(elem: any): void;
|
24
|
+
export function getTextObj(): {
|
25
|
+
x: number;
|
26
|
+
y: number;
|
27
|
+
fill: undefined;
|
28
|
+
anchor: undefined;
|
29
|
+
style: string;
|
30
|
+
width: undefined;
|
31
|
+
height: undefined;
|
32
|
+
textMargin: number;
|
33
|
+
rx: number;
|
34
|
+
ry: number;
|
35
|
+
tspan: boolean;
|
36
|
+
valign: undefined;
|
37
|
+
};
|
38
|
+
export function getNoteRect(): {
|
39
|
+
x: number;
|
40
|
+
y: number;
|
41
|
+
fill: string;
|
42
|
+
stroke: string;
|
43
|
+
width: number;
|
44
|
+
anchor: string;
|
45
|
+
height: number;
|
46
|
+
rx: number;
|
47
|
+
ry: number;
|
48
|
+
};
|
49
|
+
declare namespace _default {
|
50
|
+
export { drawRect };
|
51
|
+
export { drawText };
|
52
|
+
export { drawLabel };
|
53
|
+
export { drawActor };
|
54
|
+
export { drawBox };
|
55
|
+
export { drawPopup };
|
56
|
+
export { anchorElement };
|
57
|
+
export { drawActivation };
|
58
|
+
export { drawLoop };
|
59
|
+
export { drawBackgroundRect };
|
60
|
+
export { insertArrowHead };
|
61
|
+
export { insertArrowFilledHead };
|
62
|
+
export { insertSequenceNumber };
|
63
|
+
export { insertArrowCrossHead };
|
64
|
+
export { insertDatabaseIcon };
|
65
|
+
export { insertComputerIcon };
|
66
|
+
export { insertClockIcon };
|
67
|
+
export { getTextObj };
|
68
|
+
export { getNoteRect };
|
69
|
+
export { fixLifeLineHeights };
|
70
|
+
export { sanitizeUrl };
|
71
|
+
}
|
72
|
+
export default _default;
|
73
|
+
import { sanitizeUrl } from '@braintree/sanitize-url';
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export function set(key: any, val: any): void;
|
2
|
+
export function get(k: any): any;
|
3
|
+
export function keys(): string[];
|
4
|
+
export function size(): number;
|
5
|
+
declare namespace _default {
|
6
|
+
export { get };
|
7
|
+
export { set };
|
8
|
+
export { keys };
|
9
|
+
export { size };
|
10
|
+
}
|
11
|
+
export default _default;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
export function drawStartState(g: any): any;
|
2
|
+
export function drawDivider(g: any): any;
|
3
|
+
export function drawSimpleState(g: any, stateDef: any): any;
|
4
|
+
export function drawDescrState(g: any, stateDef: any): any;
|
5
|
+
export function addTitleAndBox(g: any, stateDef: any, altBkg: any): any;
|
6
|
+
export function drawText(elem: any, textData: any): any;
|
7
|
+
export function drawNote(text: any, g: any): any;
|
8
|
+
export function drawState(elem: any, stateDef: any): {
|
9
|
+
id: any;
|
10
|
+
label: any;
|
11
|
+
width: number;
|
12
|
+
height: number;
|
13
|
+
};
|
14
|
+
export function drawEdge(elem: any, path: any, relation: any): void;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
/**
|
2
|
+
* Constants common to all State Diagram code
|
3
|
+
*/
|
4
|
+
export declare const DEFAULT_DIAGRAM_DIRECTION = "LR";
|
5
|
+
export declare const DEFAULT_NESTED_DOC_DIR = "TB";
|
6
|
+
export declare const STMT_STATE = "state";
|
7
|
+
export declare const STMT_RELATION = "relation";
|
8
|
+
export declare const STMT_CLASSDEF = "classDef";
|
9
|
+
export declare const STMT_APPLYCLASS = "applyClass";
|
10
|
+
export declare const DEFAULT_STATE_TYPE = "default";
|
11
|
+
export declare const DIVIDER_TYPE = "divider";
|
12
|
+
declare const _default: {
|
13
|
+
DEFAULT_DIAGRAM_DIRECTION: string;
|
14
|
+
DEFAULT_NESTED_DOC_DIR: string;
|
15
|
+
STMT_STATE: string;
|
16
|
+
STMT_RELATION: string;
|
17
|
+
STMT_CLASSDEF: string;
|
18
|
+
STMT_APPLYCLASS: string;
|
19
|
+
DEFAULT_STATE_TYPE: string;
|
20
|
+
DIVIDER_TYPE: string;
|
21
|
+
};
|
22
|
+
export default _default;
|
@@ -0,0 +1,91 @@
|
|
1
|
+
/**
|
2
|
+
*
|
3
|
+
* @param item1
|
4
|
+
* @param item2
|
5
|
+
* @param relationTitle
|
6
|
+
*/
|
7
|
+
export function addRelationObjs(item1: any, item2: any, relationTitle: any): void;
|
8
|
+
export namespace lineType {
|
9
|
+
let LINE: number;
|
10
|
+
let DOTTED_LINE: number;
|
11
|
+
}
|
12
|
+
export namespace relationType {
|
13
|
+
let AGGREGATION: number;
|
14
|
+
let EXTENSION: number;
|
15
|
+
let COMPOSITION: number;
|
16
|
+
let DEPENDENCY: number;
|
17
|
+
}
|
18
|
+
export function addState(id: null | string, type?: null | string, doc?: null | string, descr?: null | string | string[], note?: null | string, classes?: null | string | string[], styles?: null | string | string[], textStyles?: null | string | string[]): void;
|
19
|
+
export function clear(saveCommon: any): void;
|
20
|
+
export function getState(id: any): any;
|
21
|
+
export function getStates(): {};
|
22
|
+
export function logDocuments(): void;
|
23
|
+
export function getRelations(): never[];
|
24
|
+
export function addRelation(item1: string | object, item2: string | object, title: string): void;
|
25
|
+
export function addDescription(id: any, descr: any): void;
|
26
|
+
export function cleanupLabel(label: any): any;
|
27
|
+
export function addStyleClass(id: string, styleAttributes?: string | null): void;
|
28
|
+
export function getClasses(): {} | any | {};
|
29
|
+
export function setCssClass(itemIds: string | string[], cssClassName: string): void;
|
30
|
+
export function setStyle(itemId: any, styleText: any): void;
|
31
|
+
export function setTextStyle(itemId: any, cssClassName: any): void;
|
32
|
+
declare namespace _default {
|
33
|
+
export function getConfig(): import("../../config.type.js").StateDiagramConfig | undefined;
|
34
|
+
export { addState };
|
35
|
+
export { clear };
|
36
|
+
export { getState };
|
37
|
+
export { getStates };
|
38
|
+
export { getRelations };
|
39
|
+
export { getClasses };
|
40
|
+
export { getDirection };
|
41
|
+
export { addRelation };
|
42
|
+
export { getDividerId };
|
43
|
+
export { setDirection };
|
44
|
+
export { cleanupLabel };
|
45
|
+
export { lineType };
|
46
|
+
export { relationType };
|
47
|
+
export { logDocuments };
|
48
|
+
export { getRootDoc };
|
49
|
+
export { setRootDoc };
|
50
|
+
export { getRootDocV2 };
|
51
|
+
export { extract };
|
52
|
+
export { trimColon };
|
53
|
+
export { getAccTitle };
|
54
|
+
export { setAccTitle };
|
55
|
+
export { getAccDescription };
|
56
|
+
export { setAccDescription };
|
57
|
+
export { addStyleClass };
|
58
|
+
export { setCssClass };
|
59
|
+
export { addDescription };
|
60
|
+
export { setDiagramTitle };
|
61
|
+
export { getDiagramTitle };
|
62
|
+
}
|
63
|
+
export default _default;
|
64
|
+
declare function getDirection(): string;
|
65
|
+
declare function getDividerId(): string;
|
66
|
+
declare function setDirection(dir: any): void;
|
67
|
+
declare function getRootDoc(): any[];
|
68
|
+
declare function setRootDoc(o: any): void;
|
69
|
+
declare function getRootDocV2(): {
|
70
|
+
id: string;
|
71
|
+
doc: any[];
|
72
|
+
};
|
73
|
+
/**
|
74
|
+
* Convert all of the statements (stmts) that were parsed into states and relationships.
|
75
|
+
* This is done because a state diagram may have nested sections,
|
76
|
+
* where each section is a 'document' and has its own set of statements.
|
77
|
+
* Ex: the section within a fork has its own statements, and incoming and outgoing statements
|
78
|
+
* refer to the fork as a whole (document).
|
79
|
+
* See the parser grammar: the definition of a document is a document then a 'line', where a line can be a statement.
|
80
|
+
* This will push the statement into the the list of statements for the current document.
|
81
|
+
*
|
82
|
+
* @param _doc
|
83
|
+
*/
|
84
|
+
declare function extract(_doc: any): void;
|
85
|
+
declare function trimColon(str: any): any;
|
86
|
+
import { getAccTitle } from '../common/commonDb.js';
|
87
|
+
import { setAccTitle } from '../common/commonDb.js';
|
88
|
+
import { getAccDescription } from '../common/commonDb.js';
|
89
|
+
import { setAccDescription } from '../common/commonDb.js';
|
90
|
+
import { setDiagramTitle } from '../common/commonDb.js';
|
91
|
+
import { getDiagramTitle } from '../common/commonDb.js';
|
@@ -0,0 +1,20 @@
|
|
1
|
+
/**
|
2
|
+
* Create a standard string for the dom ID of an item.
|
3
|
+
* If a type is given, insert that before the counter, preceded by the type spacer
|
4
|
+
*
|
5
|
+
* @param itemId
|
6
|
+
* @param counter
|
7
|
+
* @param {string | null} type
|
8
|
+
* @param typeSpacer
|
9
|
+
* @returns {string}
|
10
|
+
*/
|
11
|
+
export function stateDomId(itemId?: string, counter?: number, type?: string | null, typeSpacer?: string): string;
|
12
|
+
export function setConf(cnf: any): void;
|
13
|
+
export function getClasses(text: string, diagramObj: any): Record<string, import('../../diagram-api/types.js').DiagramStyleClassDef>;
|
14
|
+
export function draw(text: any, id: any, _version: any, diag: any): Promise<void>;
|
15
|
+
declare namespace _default {
|
16
|
+
export { setConf };
|
17
|
+
export { getClasses };
|
18
|
+
export { draw };
|
19
|
+
}
|
20
|
+
export default _default;
|
@@ -0,0 +1,46 @@
|
|
1
|
+
export function drawRect(elem: any, rectData: any): any;
|
2
|
+
export function drawFace(element: any, faceData: any): any;
|
3
|
+
export function drawCircle(element: any, circleData: any): any;
|
4
|
+
export function drawText(elem: any, textData: any): any;
|
5
|
+
export function drawLabel(elem: any, txtObject: any): void;
|
6
|
+
export function drawSection(elem: any, section: any, conf: any): void;
|
7
|
+
export function drawTask(elem: any, task: any, conf: any): void;
|
8
|
+
export function drawBackgroundRect(elem: any, bounds: any): void;
|
9
|
+
export function getTextObj(): {
|
10
|
+
x: number;
|
11
|
+
y: number;
|
12
|
+
fill: undefined;
|
13
|
+
'text-anchor': string;
|
14
|
+
width: number;
|
15
|
+
height: number;
|
16
|
+
textMargin: number;
|
17
|
+
rx: number;
|
18
|
+
ry: number;
|
19
|
+
};
|
20
|
+
export function getNoteRect(): {
|
21
|
+
x: number;
|
22
|
+
y: number;
|
23
|
+
width: number;
|
24
|
+
anchor: string;
|
25
|
+
height: number;
|
26
|
+
rx: number;
|
27
|
+
ry: number;
|
28
|
+
};
|
29
|
+
export function drawNode(elem: any, node: any, fullSection: any, conf: any): any;
|
30
|
+
export function getVirtualNodeHeight(elem: any, node: any, conf: any): any;
|
31
|
+
declare namespace _default {
|
32
|
+
export { drawRect };
|
33
|
+
export { drawCircle };
|
34
|
+
export { drawSection };
|
35
|
+
export { drawText };
|
36
|
+
export { drawLabel };
|
37
|
+
export { drawTask };
|
38
|
+
export { drawBackgroundRect };
|
39
|
+
export { getTextObj };
|
40
|
+
export { getNoteRect };
|
41
|
+
export { initGraphics };
|
42
|
+
export { drawNode };
|
43
|
+
export { getVirtualNodeHeight };
|
44
|
+
}
|
45
|
+
export default _default;
|
46
|
+
declare function initGraphics(graphics: any): void;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import * as db from './timelineDb.js';
|
2
|
+
export declare const diagram: {
|
3
|
+
db: typeof db;
|
4
|
+
renderer: {
|
5
|
+
setConf: () => void;
|
6
|
+
draw: (text: string, id: string, version: string, diagObj: import("../../Diagram.js").Diagram) => void;
|
7
|
+
};
|
8
|
+
parser: any;
|
9
|
+
styles: (options: any) => string;
|
10
|
+
};
|
@@ -0,0 +1,20 @@
|
|
1
|
+
export function getCommonDb(): typeof commonDb;
|
2
|
+
export function clear(): void;
|
3
|
+
export function addSection(txt: any): void;
|
4
|
+
export function getSections(): any[];
|
5
|
+
export function getTasks(): any[];
|
6
|
+
export function addTask(period: any, length: any, event: any): void;
|
7
|
+
export function addEvent(event: any): void;
|
8
|
+
export function addTaskOrg(descr: any): void;
|
9
|
+
declare namespace _default {
|
10
|
+
export { clear };
|
11
|
+
export { getCommonDb };
|
12
|
+
export { addSection };
|
13
|
+
export { getSections };
|
14
|
+
export { getTasks };
|
15
|
+
export { addTask };
|
16
|
+
export { addTaskOrg };
|
17
|
+
export { addEvent };
|
18
|
+
}
|
19
|
+
export default _default;
|
20
|
+
import * as commonDb from '../common/commonDb.js';
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import type { Selection } from 'd3';
|
2
|
+
import type { Diagram } from '../../Diagram.js';
|
3
|
+
import type { MermaidConfig } from '../../config.type.js';
|
4
|
+
interface TimelineTask {
|
5
|
+
id: number;
|
6
|
+
section: string;
|
7
|
+
type: string;
|
8
|
+
task: string;
|
9
|
+
score: number;
|
10
|
+
events: string[];
|
11
|
+
}
|
12
|
+
export declare const draw: (text: string, id: string, version: string, diagObj: Diagram) => void;
|
13
|
+
export declare const drawTasks: (diagram: Selection<SVGElement, unknown, null, undefined>, tasks: TimelineTask[], sectionColor: number, masterX: number, masterY: number, maxTaskHeight: number, conf: MermaidConfig, maxEventCount: number, maxEventLineLength: number, maxSectionHeight: number, isWithoutSections: boolean) => void;
|
14
|
+
export declare const drawEvents: (diagram: Selection<SVGElement, unknown, null, undefined>, events: string[], sectionColor: number, masterX: number, masterY: number, conf: MermaidConfig) => number;
|
15
|
+
declare const _default: {
|
16
|
+
setConf: () => void;
|
17
|
+
draw: (text: string, id: string, version: string, diagObj: Diagram) => void;
|
18
|
+
};
|
19
|
+
export default _default;
|
@@ -0,0 +1,30 @@
|
|
1
|
+
export function clear(): void;
|
2
|
+
export function addSection(txt: any): void;
|
3
|
+
export function getSections(): any[];
|
4
|
+
export function getTasks(): any[];
|
5
|
+
export function addTask(descr: any, taskData: any): void;
|
6
|
+
export function addTaskOrg(descr: any): void;
|
7
|
+
declare namespace _default {
|
8
|
+
export function getConfig(): import("../../config.type.js").JourneyDiagramConfig | undefined;
|
9
|
+
export { clear };
|
10
|
+
export { setDiagramTitle };
|
11
|
+
export { getDiagramTitle };
|
12
|
+
export { setAccTitle };
|
13
|
+
export { getAccTitle };
|
14
|
+
export { setAccDescription };
|
15
|
+
export { getAccDescription };
|
16
|
+
export { addSection };
|
17
|
+
export { getSections };
|
18
|
+
export { getTasks };
|
19
|
+
export { addTask };
|
20
|
+
export { addTaskOrg };
|
21
|
+
export { getActors };
|
22
|
+
}
|
23
|
+
export default _default;
|
24
|
+
import { setDiagramTitle } from '../common/commonDb.js';
|
25
|
+
import { getDiagramTitle } from '../common/commonDb.js';
|
26
|
+
import { setAccTitle } from '../common/commonDb.js';
|
27
|
+
import { getAccTitle } from '../common/commonDb.js';
|
28
|
+
import { setAccDescription } from '../common/commonDb.js';
|
29
|
+
import { getAccDescription } from '../common/commonDb.js';
|
30
|
+
declare function getActors(): any[];
|
@@ -0,0 +1,30 @@
|
|
1
|
+
export declare const setConf: (cnf: any) => void;
|
2
|
+
export declare const draw: (text: any, id: any, version: any, diagObj: any) => void;
|
3
|
+
export declare const bounds: {
|
4
|
+
data: {
|
5
|
+
startx: undefined;
|
6
|
+
stopx: undefined;
|
7
|
+
starty: undefined;
|
8
|
+
stopy: undefined;
|
9
|
+
};
|
10
|
+
verticalPos: number;
|
11
|
+
sequenceItems: never[];
|
12
|
+
init: () => void;
|
13
|
+
updateVal: (obj: any, key: any, val: any, fun: any) => void;
|
14
|
+
updateBounds: (startx: any, starty: any, stopx: any, stopy: any) => void;
|
15
|
+
insert: (startx: any, starty: any, stopx: any, stopy: any) => void;
|
16
|
+
bumpVerticalPos: (bump: any) => void;
|
17
|
+
getVerticalPos: () => number;
|
18
|
+
getBounds: () => {
|
19
|
+
startx: undefined;
|
20
|
+
stopx: undefined;
|
21
|
+
starty: undefined;
|
22
|
+
stopy: undefined;
|
23
|
+
};
|
24
|
+
};
|
25
|
+
export declare const drawTasks: (diagram: any, tasks: any, verticalPos: any) => void;
|
26
|
+
declare const _default: {
|
27
|
+
setConf: (cnf: any) => void;
|
28
|
+
draw: (text: any, id: any, version: any, diagObj: any) => void;
|
29
|
+
};
|
30
|
+
export default _default;
|