azs-markdown 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +36 -0
- package/README.md +39 -0
- package/dist/_basePickBy-DjPeYAOj.js +151 -0
- package/dist/_baseUniq-Cbb7mysM.js +614 -0
- package/dist/arc-Bn6Alo2g.js +83 -0
- package/dist/architecture-O4VJ6CD3-BHN7g-2W.js +5 -0
- package/dist/architectureDiagram-W76B3OCA-BFPasfQ9.js +4664 -0
- package/dist/azs-markdown.es.js +4 -0
- package/dist/azs-markdown.umd.js +2801 -0
- package/dist/blockDiagram-QIGZ2CNN-CCiv1h3G.js +2265 -0
- package/dist/c4Diagram-FPNF74CW--GeMhuxl.js +1581 -0
- package/dist/channel-pJBKfyR5.js +5 -0
- package/dist/chunk-4BX2VUAB-BhsyR2tA.js +9 -0
- package/dist/chunk-55IACEB6-CpxGzG7i.js +8 -0
- package/dist/chunk-FMBD7UC4-CSgFSgO1.js +19 -0
- package/dist/chunk-K7UQS3LO-AlhLVktY.js +1376 -0
- package/dist/chunk-QN33PNHL-CSc1NEE9.js +20 -0
- package/dist/chunk-QZHKN3VN-DPftrMRl.js +15 -0
- package/dist/chunk-TVAH2DTR-DPsIoQiW.js +1382 -0
- package/dist/chunk-TZMSLE5B-Dt-jkS_2.js +64 -0
- package/dist/classDiagram-KNZD7YFC-gcA5Ncmn.js +16 -0
- package/dist/classDiagram-v2-RKCZMP56-gcA5Ncmn.js +16 -0
- package/dist/clone-D6Iiaiqs.js +8 -0
- package/dist/cose-bilkent-S5V4N54A-BN35nGOy.js +2605 -0
- package/dist/cytoscape.esm-ZmItrg9y.js +18731 -0
- package/dist/dagre-5GWH7T2D-1e21gdtX.js +447 -0
- package/dist/defaultLocale-D7EN2tov.js +171 -0
- package/dist/diagram-N5W7TBWH-DiV77aoy.js +534 -0
- package/dist/diagram-QEK2KX5R-CWNqqht5.js +221 -0
- package/dist/diagram-S2PKOQOG-D1xaBogc.js +143 -0
- package/dist/erDiagram-AWTI2OKA-BXXE2d-L.js +842 -0
- package/dist/flowDiagram-PVAE7QVJ-DkPNPF8O.js +1627 -0
- package/dist/ganttDiagram-OWAHRB6G-Cu5LXDhu.js +2498 -0
- package/dist/gitGraph-ZV4HHKMB-DSEbhMgr.js +5 -0
- package/dist/gitGraphDiagram-NY62KEGX-BxOXYKuv.js +712 -0
- package/dist/graph-GD3Esuds.js +247 -0
- package/dist/index-DRursjyi.js +42003 -0
- package/dist/info-63CPKGFF-DAWzHRDb.js +5 -0
- package/dist/infoDiagram-STP46IZ2-Cf70rL_w.js +24 -0
- package/dist/init-DjUOC4st.js +16 -0
- package/dist/journeyDiagram-BIP6EPQ6-DoCeL-xS.js +836 -0
- package/dist/kanban-definition-6OIFK2YF-DIKRnHl9.js +720 -0
- package/dist/layout-_mj7J9CL.js +1324 -0
- package/dist/linear-BPT4Wp0A.js +259 -0
- package/dist/mermaid-parser.core-CcQSz1Ic.js +12921 -0
- package/dist/mindmap-definition-Q6HEUPPD-C2gtgHlK.js +783 -0
- package/dist/ordinal-DfAQgscy.js +61 -0
- package/dist/packet-HUATNLJX-Bb3J_dPx.js +5 -0
- package/dist/pie-WTHONI2E-Cs_KOqQS.js +5 -0
- package/dist/pieDiagram-ADFJNKIX-B3nba9oA.js +161 -0
- package/dist/quadrantDiagram-LMRXKWRM-2wvLFJoV.js +1024 -0
- package/dist/radar-NJJJXTRR-DoYGDBdR.js +5 -0
- package/dist/requirementDiagram-4UW4RH46-BIZl5822.js +852 -0
- package/dist/sankeyDiagram-GR3RE2ED-DfYknNGS.js +810 -0
- package/dist/sequenceDiagram-C3RYC4MD-D04lbayJ.js +2518 -0
- package/dist/stateDiagram-KXAO66HF-DsQmarPC.js +263 -0
- package/dist/stateDiagram-v2-UMBNRL4Z-DFZTM-kb.js +16 -0
- package/dist/timeline-definition-XQNQX7LJ-Dw9YlHXJ.js +801 -0
- package/dist/treemap-75Q7IDZK-iFewXvrK.js +5 -0
- package/dist/xychartDiagram-6GGTOJPD-2ogwTg3g.js +1340 -0
- package/package.json +41 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { _ as n, U as c, j as l } from "./index-DRursjyi.js";
|
|
2
|
+
var o = /* @__PURE__ */ n((a, t) => {
|
|
3
|
+
const e = a.append("rect");
|
|
4
|
+
if (e.attr("x", t.x), e.attr("y", t.y), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("width", t.width), e.attr("height", t.height), t.name && e.attr("name", t.name), t.rx && e.attr("rx", t.rx), t.ry && e.attr("ry", t.ry), t.attrs !== void 0)
|
|
5
|
+
for (const r in t.attrs)
|
|
6
|
+
e.attr(r, t.attrs[r]);
|
|
7
|
+
return t.class && e.attr("class", t.class), e;
|
|
8
|
+
}, "drawRect"), d = /* @__PURE__ */ n((a, t) => {
|
|
9
|
+
const e = {
|
|
10
|
+
x: t.startx,
|
|
11
|
+
y: t.starty,
|
|
12
|
+
width: t.stopx - t.startx,
|
|
13
|
+
height: t.stopy - t.starty,
|
|
14
|
+
fill: t.fill,
|
|
15
|
+
stroke: t.stroke,
|
|
16
|
+
class: "rect"
|
|
17
|
+
};
|
|
18
|
+
o(a, e).lower();
|
|
19
|
+
}, "drawBackgroundRect"), g = /* @__PURE__ */ n((a, t) => {
|
|
20
|
+
const e = t.text.replace(c, " "), r = a.append("text");
|
|
21
|
+
r.attr("x", t.x), r.attr("y", t.y), r.attr("class", "legend"), r.style("text-anchor", t.anchor), t.class && r.attr("class", t.class);
|
|
22
|
+
const s = r.append("tspan");
|
|
23
|
+
return s.attr("x", t.x + t.textMargin * 2), s.text(e), r;
|
|
24
|
+
}, "drawText"), h = /* @__PURE__ */ n((a, t, e, r) => {
|
|
25
|
+
const s = a.append("image");
|
|
26
|
+
s.attr("x", t), s.attr("y", e);
|
|
27
|
+
const i = l(r);
|
|
28
|
+
s.attr("xlink:href", i);
|
|
29
|
+
}, "drawImage"), m = /* @__PURE__ */ n((a, t, e, r) => {
|
|
30
|
+
const s = a.append("use");
|
|
31
|
+
s.attr("x", t), s.attr("y", e);
|
|
32
|
+
const i = l(r);
|
|
33
|
+
s.attr("xlink:href", `#${i}`);
|
|
34
|
+
}, "drawEmbeddedImage"), y = /* @__PURE__ */ n(() => ({
|
|
35
|
+
x: 0,
|
|
36
|
+
y: 0,
|
|
37
|
+
width: 100,
|
|
38
|
+
height: 100,
|
|
39
|
+
fill: "#EDF2AE",
|
|
40
|
+
stroke: "#666",
|
|
41
|
+
anchor: "start",
|
|
42
|
+
rx: 0,
|
|
43
|
+
ry: 0
|
|
44
|
+
}), "getNoteRect"), p = /* @__PURE__ */ n(() => ({
|
|
45
|
+
x: 0,
|
|
46
|
+
y: 0,
|
|
47
|
+
width: 100,
|
|
48
|
+
height: 100,
|
|
49
|
+
"text-anchor": "start",
|
|
50
|
+
style: "#666",
|
|
51
|
+
textMargin: 0,
|
|
52
|
+
rx: 0,
|
|
53
|
+
ry: 0,
|
|
54
|
+
tspan: !0
|
|
55
|
+
}), "getTextObj");
|
|
56
|
+
export {
|
|
57
|
+
d as a,
|
|
58
|
+
p as b,
|
|
59
|
+
m as c,
|
|
60
|
+
o as d,
|
|
61
|
+
h as e,
|
|
62
|
+
g as f,
|
|
63
|
+
y as g
|
|
64
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { s as r, c as s, a as e, C as t } from "./chunk-K7UQS3LO-AlhLVktY.js";
|
|
2
|
+
import { _ as l } from "./index-DRursjyi.js";
|
|
3
|
+
var d = {
|
|
4
|
+
parser: e,
|
|
5
|
+
get db() {
|
|
6
|
+
return new t();
|
|
7
|
+
},
|
|
8
|
+
renderer: s,
|
|
9
|
+
styles: r,
|
|
10
|
+
init: /* @__PURE__ */ l((a) => {
|
|
11
|
+
a.class || (a.class = {}), a.class.arrowMarkerAbsolute = a.arrowMarkerAbsolute;
|
|
12
|
+
}, "init")
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
d as diagram
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { s as r, c as s, a as e, C as t } from "./chunk-K7UQS3LO-AlhLVktY.js";
|
|
2
|
+
import { _ as l } from "./index-DRursjyi.js";
|
|
3
|
+
var d = {
|
|
4
|
+
parser: e,
|
|
5
|
+
get db() {
|
|
6
|
+
return new t();
|
|
7
|
+
},
|
|
8
|
+
renderer: s,
|
|
9
|
+
styles: r,
|
|
10
|
+
init: /* @__PURE__ */ l((a) => {
|
|
11
|
+
a.class || (a.class = {}), a.class.arrowMarkerAbsolute = a.arrowMarkerAbsolute;
|
|
12
|
+
}, "init")
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
d as diagram
|
|
16
|
+
};
|