@kong-ui-public/documentation 0.4.13 → 0.4.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arc-COsOHw50-D7E-_XLT.js +86 -0
- package/dist/{astro-D4FIwVxr-CovDYZfT.js → astro-U6b0KI4d-Bfq8RcMV.js} +1 -1
- package/dist/{blockDiagram-6b2b5046-BabM1eIl-BiFw3WJ6.js → blockDiagram-91b80b7a-BKGTNNj9-DPDwkz4t.js} +24 -24
- package/dist/{c4Diagram-b947cdbb-BBGJ9ivn-BA4nSYfd.js → c4Diagram-b2a90758-BL_2KQjG-DaGASxNN.js} +133 -132
- package/dist/channel-ByAWxImn-f765KETj.js +5 -0
- package/dist/{classDiagram-35230388-CRYNduH8-CLsxllrW.js → classDiagram-30eddba6-k40qxgte-CyhC7xkz.js} +8 -7
- package/dist/{classDiagram-v2-412acd34-5HbyJrnL-DB1xO44x.js → classDiagram-v2-f2df5561-Bhszhjj1-C4F9RBij.js} +7 -7
- package/dist/{clone-BoeTe_OS-CQarmEZE.js → clone-B9jLUWz8-1hK-sDX-.js} +1 -1
- package/dist/{createText-423428c9-Q0HfccbL-Bwaom8lh.js → createText-6b48ae7d-CwDinsnJ-CAWP3GNM.js} +2 -1
- package/dist/documentation.es.js +5 -5
- package/dist/documentation.umd.js +991 -720
- package/dist/{edges-d417c7a0-DEJA2PwU-BX5bd8a1.js → edges-d32062c0-D81gGEnb-BSSWdCZc.js} +28 -27
- package/dist/{erDiagram-0ea73325-C3DQ6B1e-GwhT3lGQ.js → erDiagram-47591fe2-Ct0H1qRr-_AGdmUQQ.js} +38 -38
- package/dist/{flowDb-d35e309a-RvFFqjek-t_Dexseh.js → flowDb-4b19a42f-DUQIsrJ6-DCwHR8f-.js} +45 -45
- package/dist/{flowDiagram-d949d7c1-Boa20b_n-CJ3aILFD.js → flowDiagram-5540d9b9-lDK0hXfd-Bdkj8eFj.js} +317 -309
- package/dist/{flowDiagram-v2-49332944-BJtijxhz-Cgd4t08U.js → flowDiagram-v2-3b53844e-C-MZcHj1-D__kxFEB.js} +5 -5
- package/dist/{flowchart-elk-definition-27cc417a-BBD3LS9k-Bb9_HTfE.js → flowchart-elk-definition-5fe447d6-Cl1YzK8W-CId-TpNq.js} +10626 -10624
- package/dist/{ganttDiagram-5c869e3b-CRDFjzTp-lNK9bq-O.js → ganttDiagram-9a3bba1f-DgegevHg-DZ_QmRCe.js} +488 -477
- package/dist/{git-rebase-sR-yVH_J-D5M2oE9O.js → git-rebase-B7sc3yJp-BPxHM_r2.js} +1 -1
- package/dist/gitGraphDiagram-96e6b4ee-B544kZVD-qe2_EQ9q.js +1264 -0
- package/dist/{graph-BIq67vWs-Bc3nX8P0.js → graph-nSQNMZNt-mH_8BQHy.js} +64 -64
- package/dist/{haml-BT5dFrjs-CmYUmNQ_.js → haml-DsuMo-J7-DWhF2QrW.js} +1 -1
- package/dist/{http-DSIFYUfg-BZm1KGvb.js → http-ClrjZLFz-gNFfL9hE.js} +1 -1
- package/dist/{index-Bh6WVkCI.js → index-D5pPsg1E.js} +2826 -2744
- package/dist/{index-8fae9850-CaUboB89-B0nma_3r.js → index-fc10efb0-BQFKNTyl-JVOq35xY.js} +11 -11
- package/dist/{infoDiagram-db7b18fc-DKsewKnu-CWVarnHo.js → infoDiagram-bcd20f53-DA00HiLo-BGr4Dz2T.js} +12 -12
- package/dist/{journeyDiagram-d5636530-ClddNDmR-ywsNZNTr.js → journeyDiagram-4fe6b3dc-Dy2VexAM-NIeKHdta.js} +42 -42
- package/dist/katex-BQC_klMa-CaeA20wX.js +11636 -0
- package/dist/{latex-QX-FNvxY-DfqkUAVR.js → latex-9g43iAzl-B3VseW3K.js} +1 -1
- package/dist/{layout-Cz0dAJah-C3YaSszT.js → layout-CsrWmvDo-DTw5CAfp.js} +132 -132
- package/dist/{line-BCVITS7s-Du1xeoK-.js → line-_Hv2N8bu-DmtYY3xM.js} +1 -1
- package/dist/{linear-CLHAbj67-1tzRLAFO.js → linear-Bq62Qb31-CO-Jqi9k.js} +35 -35
- package/dist/{mindmap-definition-377f8f1f-BwEJ-DVg-DeBewnKQ.js → mindmap-definition-f354de21-6GdeE-da-DM2y_OOl.js} +6647 -6414
- package/dist/{pieDiagram-b0208e96-Cyz2Kcfu-B1Q8dscS.js → pieDiagram-79897490--sueuFsN-DtjjX42X.js} +68 -68
- package/dist/{quadrantDiagram-0332be45-CDMkEQj0-D0ioHd_P.js → quadrantDiagram-62f64e94-B45V10Ws-Ndfd04fG.js} +2 -2
- package/dist/{requirementDiagram-bf7890df-Jk3SQ-Q1-BB9UHuUh.js → requirementDiagram-05bf5f74-DKrzFj3--D6oca5bf.js} +30 -30
- package/dist/{rst-Bm1i8IkK-C9EaDq6g.js → rst-iTJmEY_6-AgWIzPqn.js} +2 -2
- package/dist/{ruby-CZZKXaz8-BxaDEkRP.js → ruby-3Bt2I2On--AixRnjJ.js} +1 -1
- package/dist/{sankeyDiagram-0acdec17-BJuIUJd_-Ce7q-NNk.js → sankeyDiagram-97764748-Cal39XvH-BOP-mysV.js} +22 -22
- package/dist/{sequenceDiagram-c18d009d-B4IxGCEM-DgvEmabG.js → sequenceDiagram-acc0e65c-C7SBKcFC-x6hQBmQa.js} +917 -884
- package/dist/shellscript-DQ1J75ow-DQ1J75ow.js +7 -0
- package/dist/{shellsession-BIPXtZci-D6avbCwN.js → shellsession-btSM7PAE-lMmUmCMx.js} +1 -1
- package/dist/{stateDiagram-43596fc0-0xEMkbt_-jFUk_xdU.js → stateDiagram-0ff1cf1a-CeTkJw-0-ClBBBO40.js} +5 -5
- package/dist/{stateDiagram-v2-2ead4f9c-DS4afpcC-jDCqPtGk.js → stateDiagram-v2-9a9d610d-B6v4YFRe-CKL2DHOu.js} +12 -12
- package/dist/{styles-7383a064-C7WyH3qz-B1ftH-y8.js → styles-3ed67cfa-BKhmbt4H-1C0K2oHO.js} +140 -137
- package/dist/{styles-6860f46c-ZdhsT5S9-Du_QdneE.js → styles-991ebdfc-D52vcIGN-z8Dw_NvD.js} +19 -19
- package/dist/{styles-b2c874b6-BFg-Nblp-B0z_umAE.js → styles-d20c7d72-0tQ-upPv-BfgJ1gvQ.js} +24 -24
- package/dist/{svgDrawCommon-0ee1b4e9-CpOZq9bS-BwyJFwu6.js → svgDrawCommon-5ccd53ef-CUtig_WQ-BXE0zXmR.js} +4 -4
- package/dist/{timeline-definition-d977decf-BqZwyTB6-qFhObMdA.js → timeline-definition-fea2a41d-DMC1sAGv-CgGK3eeA.js} +2 -2
- package/dist/{twig-B_Gr-ODl-Cl9Q0GWo.js → twig-Dcp9VbaI-FN48_KCA.js} +1 -1
- package/dist/{xychartDiagram-e50adddc-C1fuuOEQ-DHvZ99O1.js → xychartDiagram-ab372869-BsavOqc0-Cni7765l.js} +30 -30
- package/package.json +4 -4
- package/dist/arc-C2t0ExPw-DLpexKUK.js +0 -86
- package/dist/channel-DXyvEer2-Do9TwFFf.js +0 -5
- package/dist/gitGraphDiagram-b9d81de9-D1rNIGL0-DDkwKLsk.js +0 -1262
- package/dist/shellscript-CUUTQKn5-CUUTQKn5.js +0 -7
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { q as on, P as E } from "./path-Crsf9Nsj-SiSjwXsf.js";
|
|
2
|
+
import { aQ as an, aR as B, aS as q, aT as rn, aU as l, aP as un, aV as X, aW as I, aX as cn, aY as y, aZ as sn, a_ as yn, a$ as en } from "./index-D5pPsg1E.js";
|
|
3
|
+
function fn(o) {
|
|
4
|
+
return o.innerRadius;
|
|
5
|
+
}
|
|
6
|
+
function ln(o) {
|
|
7
|
+
return o.outerRadius;
|
|
8
|
+
}
|
|
9
|
+
function mn(o) {
|
|
10
|
+
return o.startAngle;
|
|
11
|
+
}
|
|
12
|
+
function pn(o) {
|
|
13
|
+
return o.endAngle;
|
|
14
|
+
}
|
|
15
|
+
function gn(o) {
|
|
16
|
+
return o && o.padAngle;
|
|
17
|
+
}
|
|
18
|
+
function xn(o, v, H, J, d, T, G, a) {
|
|
19
|
+
var S = H - o, i = J - v, n = G - d, p = a - T, r = p * S - n * i;
|
|
20
|
+
if (!(r * r < l))
|
|
21
|
+
return r = (n * (v - T) - p * (o - d)) / r, [o + r * S, v + r * i];
|
|
22
|
+
}
|
|
23
|
+
function U(o, v, H, J, d, T, G) {
|
|
24
|
+
var a = o - H, S = v - J, i = (G ? T : -T) / X(a * a + S * S), n = i * S, p = -i * a, r = o + n, s = v + p, e = H + n, f = J + p, K = (r + e) / 2, u = (s + f) / 2, g = e - r, m = f - s, A = g * g + m * m, R = d - T, z = r * f - e * s, _ = (m < 0 ? -1 : 1) * X(en(0, R * R * A - z * z)), $ = (z * m - g * _) / A, D = (-z * g - m * _) / A, P = (z * m + g * _) / A, x = (-z * g + m * _) / A, h = $ - K, t = D - u, c = P - K, b = x - u;
|
|
25
|
+
return h * h + t * t > c * c + b * b && ($ = P, D = x), {
|
|
26
|
+
cx: $,
|
|
27
|
+
cy: D,
|
|
28
|
+
x01: -n,
|
|
29
|
+
y01: -p,
|
|
30
|
+
x11: $ * (d / R - 1),
|
|
31
|
+
y11: D * (d / R - 1)
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
function dn() {
|
|
35
|
+
var o = fn, v = ln, H = E(0), J = null, d = mn, T = pn, G = gn, a = null, S = on(i);
|
|
36
|
+
function i() {
|
|
37
|
+
var n, p, r = +o.apply(this, arguments), s = +v.apply(this, arguments), e = d.apply(this, arguments) - rn, f = T.apply(this, arguments) - rn, K = cn(f - e), u = f > e;
|
|
38
|
+
if (a || (a = n = S()), s < r && (p = s, s = r, r = p), !(s > l))
|
|
39
|
+
a.moveTo(0, 0);
|
|
40
|
+
else if (K > un - l)
|
|
41
|
+
a.moveTo(s * B(e), s * q(e)), a.arc(0, 0, s, e, f, !u), r > l && (a.moveTo(r * B(f), r * q(f)), a.arc(0, 0, r, f, e, u));
|
|
42
|
+
else {
|
|
43
|
+
var g = e, m = f, A = e, R = f, z = K, _ = K, $ = G.apply(this, arguments) / 2, D = $ > l && (J ? +J.apply(this, arguments) : X(r * r + s * s)), P = I(cn(s - r) / 2, +H.apply(this, arguments)), x = P, h = P, t, c;
|
|
44
|
+
if (D > l) {
|
|
45
|
+
var b = sn(D / r * q($)), Y = sn(D / s * q($));
|
|
46
|
+
(z -= b * 2) > l ? (b *= u ? 1 : -1, A += b, R -= b) : (z = 0, A = R = (e + f) / 2), (_ -= Y * 2) > l ? (Y *= u ? 1 : -1, g += Y, m -= Y) : (_ = 0, g = m = (e + f) / 2);
|
|
47
|
+
}
|
|
48
|
+
var C = s * B(g), F = s * q(g), Z = r * B(R), k = r * q(R);
|
|
49
|
+
if (P > l) {
|
|
50
|
+
var O = s * B(m), Q = s * q(m), L = r * B(A), M = r * q(A), V;
|
|
51
|
+
if (K < an)
|
|
52
|
+
if (V = xn(C, F, L, M, O, Q, Z, k)) {
|
|
53
|
+
var N = C - V[0], W = F - V[1], j = O - V[0], w = Q - V[1], nn = 1 / q(yn((N * j + W * w) / (X(N * N + W * W) * X(j * j + w * w))) / 2), tn = X(V[0] * V[0] + V[1] * V[1]);
|
|
54
|
+
x = I(P, (r - tn) / (nn - 1)), h = I(P, (s - tn) / (nn + 1));
|
|
55
|
+
} else
|
|
56
|
+
x = h = 0;
|
|
57
|
+
}
|
|
58
|
+
_ > l ? h > l ? (t = U(L, M, C, F, s, h, u), c = U(O, Q, Z, k, s, h, u), a.moveTo(t.cx + t.x01, t.cy + t.y01), h < P ? a.arc(t.cx, t.cy, h, y(t.y01, t.x01), y(c.y01, c.x01), !u) : (a.arc(t.cx, t.cy, h, y(t.y01, t.x01), y(t.y11, t.x11), !u), a.arc(0, 0, s, y(t.cy + t.y11, t.cx + t.x11), y(c.cy + c.y11, c.cx + c.x11), !u), a.arc(c.cx, c.cy, h, y(c.y11, c.x11), y(c.y01, c.x01), !u))) : (a.moveTo(C, F), a.arc(0, 0, s, g, m, !u)) : a.moveTo(C, F), !(r > l) || !(z > l) ? a.lineTo(Z, k) : x > l ? (t = U(Z, k, O, Q, r, -x, u), c = U(C, F, L, M, r, -x, u), a.lineTo(t.cx + t.x01, t.cy + t.y01), x < P ? a.arc(t.cx, t.cy, x, y(t.y01, t.x01), y(c.y01, c.x01), !u) : (a.arc(t.cx, t.cy, x, y(t.y01, t.x01), y(t.y11, t.x11), !u), a.arc(0, 0, r, y(t.cy + t.y11, t.cx + t.x11), y(c.cy + c.y11, c.cx + c.x11), u), a.arc(c.cx, c.cy, x, y(c.y11, c.x11), y(c.y01, c.x01), !u))) : a.arc(0, 0, r, R, A, u);
|
|
59
|
+
}
|
|
60
|
+
if (a.closePath(), n)
|
|
61
|
+
return a = null, n + "" || null;
|
|
62
|
+
}
|
|
63
|
+
return i.centroid = function() {
|
|
64
|
+
var n = (+o.apply(this, arguments) + +v.apply(this, arguments)) / 2, p = (+d.apply(this, arguments) + +T.apply(this, arguments)) / 2 - an / 2;
|
|
65
|
+
return [B(p) * n, q(p) * n];
|
|
66
|
+
}, i.innerRadius = function(n) {
|
|
67
|
+
return arguments.length ? (o = typeof n == "function" ? n : E(+n), i) : o;
|
|
68
|
+
}, i.outerRadius = function(n) {
|
|
69
|
+
return arguments.length ? (v = typeof n == "function" ? n : E(+n), i) : v;
|
|
70
|
+
}, i.cornerRadius = function(n) {
|
|
71
|
+
return arguments.length ? (H = typeof n == "function" ? n : E(+n), i) : H;
|
|
72
|
+
}, i.padRadius = function(n) {
|
|
73
|
+
return arguments.length ? (J = n == null ? null : typeof n == "function" ? n : E(+n), i) : J;
|
|
74
|
+
}, i.startAngle = function(n) {
|
|
75
|
+
return arguments.length ? (d = typeof n == "function" ? n : E(+n), i) : d;
|
|
76
|
+
}, i.endAngle = function(n) {
|
|
77
|
+
return arguments.length ? (T = typeof n == "function" ? n : E(+n), i) : T;
|
|
78
|
+
}, i.padAngle = function(n) {
|
|
79
|
+
return arguments.length ? (G = typeof n == "function" ? n : E(+n), i) : G;
|
|
80
|
+
}, i.context = function(n) {
|
|
81
|
+
return arguments.length ? (a = n ?? null, i) : a;
|
|
82
|
+
}, i;
|
|
83
|
+
}
|
|
84
|
+
export {
|
|
85
|
+
dn as v
|
|
86
|
+
};
|
|
@@ -8,7 +8,7 @@ import o from "./scss-DjxgF7f7-DGTzny6p.js";
|
|
|
8
8
|
import i from "./less-CW2GmQHL-CW2GmQHL.js";
|
|
9
9
|
import c from "./postcss-Cz2vjx_4-Cz2vjx_4.js";
|
|
10
10
|
import l from "./tsx-BmwsDeeh-BmwsDeeh.js";
|
|
11
|
-
const u = Object.freeze({ displayName: "Astro", fileTypes: ["astro"], injections: { "L:(meta.script.astro) (meta.lang.js | meta.lang.javascript | meta.lang.partytown | meta.lang.node) - (meta source)": { patterns: [{ begin: "(?<=>)(?!</)", contentName: "source.js", end: "(?=</)", name: "meta.embedded.block.astro", patterns: [{ include: "source.js" }] }] }, "L:(meta.script.astro) (meta.lang.json) - (meta source)": { patterns: [{ begin: "(?<=>)(?!</)", contentName: "source.json", end: "(?=</)", name: "meta.embedded.block.astro", patterns: [{ include: "source.json" }] }] }, "L:(meta.script.astro) (meta.lang.ts | meta.lang.typescript) - (meta source)": { patterns: [{ begin: "(?<=>)(?!</)", contentName: "source.ts", end: "(?=</)", name: "meta.embedded.block.astro", patterns: [{ include: "source.ts" }] }] }, "L:meta.script.astro - meta.lang - (meta source)": { patterns: [{ begin: "(?<=>)(?!</)", contentName: "source.js", end: "(?=</)", name: "meta.embedded.block.astro", patterns: [{ include: "source.js" }] }] }, "L:meta.style.astro - meta.lang - (meta source)": { patterns: [{ begin: "(?<=>)(?!</)", contentName: "source.css", end: "(?=</)", name: "meta.embedded.block.astro", patterns: [{ include: "source.css" }] }] }, "L:meta.style.astro meta.lang.css - (meta source)": { patterns: [{ begin: "(?<=>)(?!</)", contentName: "source.css", end: "(?=</)", name: "meta.embedded.block.astro", patterns: [{ include: "source.css" }] }] }, "L:meta.style.astro meta.lang.less - (meta source)": { patterns: [{ begin: "(?<=>)(?!</)", contentName: "source.css.less", end: "(?=</)", name: "meta.embedded.block.astro", patterns: [{ include: "source.css.less" }] }] }, "L:meta.style.astro meta.lang.postcss - (meta source)": { patterns: [{ begin: "(?<=>)(?!</)", contentName: "source.css.postcss", end: "(?=</)", name: "meta.embedded.block.astro", patterns: [{ include: "source.css.postcss" }] }] }, "L:meta.style.astro meta.lang.sass - (meta source)": { patterns: [{ begin: "(?<=>)(?!</)", contentName: "source.sass", end: "(?=</)", name: "meta.embedded.block.astro", patterns: [{ include: "source.sass" }] }] }, "L:meta.style.astro meta.lang.scss - (meta source)": { patterns: [{ begin: "(?<=>)(?!</)", contentName: "source.css.scss", end: "(?=</)", name: "meta.embedded.block.astro", patterns: [{ include: "source.css.scss" }] }] }, "L:meta.style.astro meta.lang.stylus - (meta source)": { patterns: [{ begin: "(?<=>)(?!</)", contentName: "source.stylus", end: "(?=</)", name: "meta.embedded.block.astro", patterns: [{ include: "source.stylus" }] }] } }, name: "astro", patterns: [{ include: "#scope" }, { include: "#frontmatter" }, { include: "#text" }], repository: { attributes: { patterns: [{ include: "#attributes-events" }, { include: "#attributes-keyvalue" }, { include: "#attributes-interpolated" }] }, "attributes-events": { begin: "(on(s(croll|t(orage|alled)|u(spend|bmit)|e(curitypolicyviolation|ek(ing|ed)|lect))|hashchange|c(hange|o(ntextmenu|py)|u(t|echange)|l(ick|ose)|an(cel|play(through)?))|t(imeupdate|oggle)|in(put|valid)|o(nline|ffline)|d(urationchange|r(op|ag(start|over|e(n(ter|d)|xit)|leave)?)|blclick)|un(handledrejection|load)|p(opstate|lay(ing)?|a(ste|use|ge(show|hide))|rogress)|e(nded|rror|mptied)|volumechange|key(down|up|press)|focus|w(heel|aiting)|l(oad(start|e(nd|d(data|metadata)))?|anguagechange)|a(uxclick|fterprint|bort)|r(e(s(ize|et)|jectionhandled)|atechange)|m(ouse(o(ut|ver)|down|up|enter|leave|move)|essage(error)?)|b(efore(unload|print)|lur)))(?![\\\\w:-])", beginCaptures: { 0: { patterns: [{ match: ".*", name: "entity.other.attribute-name.astro" }] } }, end: "(?=\\s*+[^=\\s])", name: "meta.attribute.$1.astro", patterns: [{ begin: "=", beginCaptures: { 0: { name: "punctuation.separator.key-value.astro" } }, end: "(?<=[^\\s=])(?!\\s*=)|(?=/?>)", patterns: [{ begin: "(?=[^\\s=<>`/]|/(?!>))", end: "(?!\\G)", name: "meta.embedded.line.js", patterns: [{ captures: { 0: { name: "source.js" }, 1: { patterns: [{ include: "source.js" }] } }, match: "(([^\\s\\\"'=<>`/]|/(?!>))+)", name: "string.unquoted.astro" }, { begin: '(["])', beginCaptures: { 0: { name: "punctuation.definition.string.begin.astro" } }, end: "\\1", endCaptures: { 0: { name: "punctuation.definition.string.end.astro" } }, name: "string.quoted.astro", patterns: [{ captures: { 0: { patterns: [{ include: "source.js" }] } }, match: '([^\\n\\"/]|/(?![/*]))+' }, { begin: "//", beginCaptures: { 0: { name: "punctuation.definition.comment.js" } }, end: '(?=\\")|\\n', name: "comment.line.double-slash.js" }, { begin: "/\\*", beginCaptures: { 0: { name: "punctuation.definition.comment.begin.js" } }, end: '(?=\\")|\\*/', endCaptures: { 0: { name: "punctuation.definition.comment.end.js" } }, name: "comment.block.js" }] }, { begin: "(['])", beginCaptures: { 0: { name: "punctuation.definition.string.begin.astro" } }, end: "\\1", endCaptures: { 0: { name: "punctuation.definition.string.end.astro" } }, name: "string.quoted.astro", patterns: [{ captures: { 0: { patterns: [{ include: "source.js" }] } }, match: "([^\\n\\'/]|/(?![/*]))+" }, { begin: "//", beginCaptures: { 0: { name: "punctuation.definition.comment.js" } }, end: "(?=\\')|\\n", name: "comment.line.double-slash.js" }, { begin: "/\\*", beginCaptures: { 0: { name: "punctuation.definition.comment.begin.js" } }, end: "(?=\\')|\\*/", endCaptures: { 0: { name: "punctuation.definition.comment.end.js" } }, name: "comment.block.js" }] }] }] }] }, "attributes-interpolated": { begin: "(?<!:|=)\\s*({)", contentName: "meta.embedded.expression.astro source.tsx", end: "(\\})", patterns: [{ include: "source.tsx" }] }, "attributes-keyvalue": { begin: "([_@$[:alpha:]][:._\\-$[:alnum:]]*)", beginCaptures: { 0: { patterns: [{ match: ".*", name: "entity.other.attribute-name.astro" }] } }, end: "(?=\\s*+[^=\\s])", name: "meta.attribute.$1.astro", patterns: [{ begin: "=", beginCaptures: { 0: { name: "punctuation.separator.key-value.astro" } }, end: "(?<=[^\\s=])(?!\\s*=)|(?=/?>)", patterns: [{ include: "#attributes-value" }] }] }, "attributes-value": { patterns: [{ include: "#interpolation" }, { match: "([^\\s\"'=<>`/]|/(?!>))+", name: "string.unquoted.astro" }, { begin: `(['"])`, beginCaptures: { 0: { name: "punctuation.definition.string.begin.astro" } }, end: "\\1", endCaptures: { 0: { name: "punctuation.definition.string.end.astro" } }, name: "string.quoted.astro" }, {
|
|
11
|
+
const u = Object.freeze({ displayName: "Astro", fileTypes: ["astro"], injections: { "L:(meta.script.astro) (meta.lang.js | meta.lang.javascript | meta.lang.partytown | meta.lang.node) - (meta source)": { patterns: [{ begin: "(?<=>)(?!</)", contentName: "source.js", end: "(?=</)", name: "meta.embedded.block.astro", patterns: [{ include: "source.js" }] }] }, "L:(meta.script.astro) (meta.lang.json) - (meta source)": { patterns: [{ begin: "(?<=>)(?!</)", contentName: "source.json", end: "(?=</)", name: "meta.embedded.block.astro", patterns: [{ include: "source.json" }] }] }, "L:(meta.script.astro) (meta.lang.ts | meta.lang.typescript) - (meta source)": { patterns: [{ begin: "(?<=>)(?!</)", contentName: "source.ts", end: "(?=</)", name: "meta.embedded.block.astro", patterns: [{ include: "source.ts" }] }] }, "L:meta.script.astro - meta.lang - (meta source)": { patterns: [{ begin: "(?<=>)(?!</)", contentName: "source.js", end: "(?=</)", name: "meta.embedded.block.astro", patterns: [{ include: "source.js" }] }] }, "L:meta.style.astro - meta.lang - (meta source)": { patterns: [{ begin: "(?<=>)(?!</)", contentName: "source.css", end: "(?=</)", name: "meta.embedded.block.astro", patterns: [{ include: "source.css" }] }] }, "L:meta.style.astro meta.lang.css - (meta source)": { patterns: [{ begin: "(?<=>)(?!</)", contentName: "source.css", end: "(?=</)", name: "meta.embedded.block.astro", patterns: [{ include: "source.css" }] }] }, "L:meta.style.astro meta.lang.less - (meta source)": { patterns: [{ begin: "(?<=>)(?!</)", contentName: "source.css.less", end: "(?=</)", name: "meta.embedded.block.astro", patterns: [{ include: "source.css.less" }] }] }, "L:meta.style.astro meta.lang.postcss - (meta source)": { patterns: [{ begin: "(?<=>)(?!</)", contentName: "source.css.postcss", end: "(?=</)", name: "meta.embedded.block.astro", patterns: [{ include: "source.css.postcss" }] }] }, "L:meta.style.astro meta.lang.sass - (meta source)": { patterns: [{ begin: "(?<=>)(?!</)", contentName: "source.sass", end: "(?=</)", name: "meta.embedded.block.astro", patterns: [{ include: "source.sass" }] }] }, "L:meta.style.astro meta.lang.scss - (meta source)": { patterns: [{ begin: "(?<=>)(?!</)", contentName: "source.css.scss", end: "(?=</)", name: "meta.embedded.block.astro", patterns: [{ include: "source.css.scss" }] }] }, "L:meta.style.astro meta.lang.stylus - (meta source)": { patterns: [{ begin: "(?<=>)(?!</)", contentName: "source.stylus", end: "(?=</)", name: "meta.embedded.block.astro", patterns: [{ include: "source.stylus" }] }] } }, name: "astro", patterns: [{ include: "#scope" }, { include: "#frontmatter" }, { include: "#text" }], repository: { "attribute-literal": { begin: "(`)", end: "\\1", name: "string.template.astro", patterns: [{ include: "source.tsx#template-substitution-element" }, { include: "source.tsx#string-character-escape" }] }, attributes: { patterns: [{ include: "#attributes-events" }, { include: "#attributes-keyvalue" }, { include: "#attributes-interpolated" }] }, "attributes-events": { begin: "(on(s(croll|t(orage|alled)|u(spend|bmit)|e(curitypolicyviolation|ek(ing|ed)|lect))|hashchange|c(hange|o(ntextmenu|py)|u(t|echange)|l(ick|ose)|an(cel|play(through)?))|t(imeupdate|oggle)|in(put|valid)|o(nline|ffline)|d(urationchange|r(op|ag(start|over|e(n(ter|d)|xit)|leave)?)|blclick)|un(handledrejection|load)|p(opstate|lay(ing)?|a(ste|use|ge(show|hide))|rogress)|e(nded|rror|mptied)|volumechange|key(down|up|press)|focus|w(heel|aiting)|l(oad(start|e(nd|d(data|metadata)))?|anguagechange)|a(uxclick|fterprint|bort)|r(e(s(ize|et)|jectionhandled)|atechange)|m(ouse(o(ut|ver)|down|up|enter|leave|move)|essage(error)?)|b(efore(unload|print)|lur)))(?![\\\\w:-])", beginCaptures: { 0: { patterns: [{ match: ".*", name: "entity.other.attribute-name.astro" }] } }, end: "(?=\\s*+[^=\\s])", name: "meta.attribute.$1.astro", patterns: [{ begin: "=", beginCaptures: { 0: { name: "punctuation.separator.key-value.astro" } }, end: "(?<=[^\\s=])(?!\\s*=)|(?=/?>)", patterns: [{ include: "#interpolation" }, { include: "#attribute-literal" }, { begin: "(?=[^\\s=<>`/]|/(?!>))", end: "(?!\\G)", name: "meta.embedded.line.js", patterns: [{ captures: { 0: { name: "source.js" }, 1: { patterns: [{ include: "source.js" }] } }, match: "(([^\\s\\\"'=<>`/]|/(?!>))+)", name: "string.unquoted.astro" }, { begin: '(["])', beginCaptures: { 0: { name: "punctuation.definition.string.begin.astro" } }, end: "\\1", endCaptures: { 0: { name: "punctuation.definition.string.end.astro" } }, name: "string.quoted.astro", patterns: [{ captures: { 0: { patterns: [{ include: "source.js" }] } }, match: '([^\\n\\"/]|/(?![/*]))+' }, { begin: "//", beginCaptures: { 0: { name: "punctuation.definition.comment.js" } }, end: '(?=\\")|\\n', name: "comment.line.double-slash.js" }, { begin: "/\\*", beginCaptures: { 0: { name: "punctuation.definition.comment.begin.js" } }, end: '(?=\\")|\\*/', endCaptures: { 0: { name: "punctuation.definition.comment.end.js" } }, name: "comment.block.js" }] }, { begin: "(['])", beginCaptures: { 0: { name: "punctuation.definition.string.begin.astro" } }, end: "\\1", endCaptures: { 0: { name: "punctuation.definition.string.end.astro" } }, name: "string.quoted.astro", patterns: [{ captures: { 0: { patterns: [{ include: "source.js" }] } }, match: "([^\\n\\'/]|/(?![/*]))+" }, { begin: "//", beginCaptures: { 0: { name: "punctuation.definition.comment.js" } }, end: "(?=\\')|\\n", name: "comment.line.double-slash.js" }, { begin: "/\\*", beginCaptures: { 0: { name: "punctuation.definition.comment.begin.js" } }, end: "(?=\\')|\\*/", endCaptures: { 0: { name: "punctuation.definition.comment.end.js" } }, name: "comment.block.js" }] }] }] }] }, "attributes-interpolated": { begin: "(?<!:|=)\\s*({)", contentName: "meta.embedded.expression.astro source.tsx", end: "(\\})", patterns: [{ include: "source.tsx" }] }, "attributes-keyvalue": { begin: "([_@$[:alpha:]][:._\\-$[:alnum:]]*)", beginCaptures: { 0: { patterns: [{ match: ".*", name: "entity.other.attribute-name.astro" }] } }, end: "(?=\\s*+[^=\\s])", name: "meta.attribute.$1.astro", patterns: [{ begin: "=", beginCaptures: { 0: { name: "punctuation.separator.key-value.astro" } }, end: "(?<=[^\\s=])(?!\\s*=)|(?=/?>)", patterns: [{ include: "#attributes-value" }] }] }, "attributes-value": { patterns: [{ include: "#interpolation" }, { match: "([^\\s\"'=<>`/]|/(?!>))+", name: "string.unquoted.astro" }, { begin: `(['"])`, beginCaptures: { 0: { name: "punctuation.definition.string.begin.astro" } }, end: "\\1", endCaptures: { 0: { name: "punctuation.definition.string.end.astro" } }, name: "string.quoted.astro" }, { include: "#attribute-literal" }] }, comments: { begin: "<!--", captures: { 0: { name: "punctuation.definition.comment.astro" } }, end: "-->", name: "comment.block.astro", patterns: [{ match: "\\G-?>|<!--(?!>)|<!-(?=-->)|--!>", name: "invalid.illegal.characters-not-allowed-here.astro" }] }, entities: { patterns: [{ captures: { 1: { name: "punctuation.definition.entity.astro" }, 912: { name: "punctuation.definition.entity.astro" } }, match: `(?x)
|
|
12
12
|
(&) (?=[a-zA-Z])
|
|
13
13
|
(
|
|
14
14
|
(a(s(ymp(eq)?|cr|t)|n(d(slope|d|v|and)?|g(s(t|ph)|zarr|e|le|rt(vb(d)?)?|msd(a(h|c|d|e|f|a|g|b))?)?)|c(y|irc|d|ute|E)?|tilde|o(pf|gon)|uml|p(id|os|prox(eq)?|e|E|acir)?|elig|f(r)?|w(conint|int)|l(pha|e(ph|fsym))|acute|ring|grave|m(p|a(cr|lg))|breve)|A(s(sign|cr)|nd|MP|c(y|irc)|tilde|o(pf|gon)|uml|pplyFunction|fr|Elig|lpha|acute|ring|grave|macr|breve))
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as fe,
|
|
2
|
-
import { a as De } from "./clone-
|
|
3
|
-
import { h as we, u as ve, d as Ne, g as $e, o as ge, f as Te } from "./edges-
|
|
4
|
-
import { Z as Oe } from "./graph-
|
|
1
|
+
import { c as fe, b1 as ie, h as q, i as me, l as L, A as _e, ak as ke, o as Ee } from "./index-D5pPsg1E.js";
|
|
2
|
+
import { a as De } from "./clone-B9jLUWz8-1hK-sDX-.js";
|
|
3
|
+
import { h as we, u as ve, d as Ne, g as $e, o as ge, f as Te } from "./edges-d32062c0-D81gGEnb-BSSWdCZc.js";
|
|
4
|
+
import { Z as Oe } from "./graph-nSQNMZNt-mH_8BQHy.js";
|
|
5
5
|
import { h as Ie } from "./ordinal-MUacOSdK-B1MUT0BL.js";
|
|
6
|
-
import { t as Ae } from "./channel-
|
|
6
|
+
import { t as Ae } from "./channel-ByAWxImn-f765KETj.js";
|
|
7
7
|
import { r as Ce } from "./Tableau10-GLA_9iAD-BMurskAd.js";
|
|
8
8
|
var le, ae, ee = function() {
|
|
9
9
|
var e = function(m, i, r, o) {
|
|
@@ -14,20 +14,20 @@ var le, ae, ee = function() {
|
|
|
14
14
|
trace: function() {
|
|
15
15
|
},
|
|
16
16
|
yy: {},
|
|
17
|
-
symbols_: { error: 2, spaceLines: 3, SPACELINE: 4, NL: 5,
|
|
17
|
+
symbols_: { error: 2, spaceLines: 3, SPACELINE: 4, NL: 5, separator: 6, SPACE: 7, EOF: 8, start: 9, BLOCK_DIAGRAM_KEY: 10, document: 11, stop: 12, statement: 13, link: 14, LINK: 15, START_LINK: 16, LINK_LABEL: 17, STR: 18, nodeStatement: 19, columnsStatement: 20, SPACE_BLOCK: 21, blockStatement: 22, classDefStatement: 23, cssClassStatement: 24, styleStatement: 25, node: 26, SIZE: 27, COLUMNS: 28, "id-block": 29, end: 30, block: 31, NODE_ID: 32, nodeShapeNLabel: 33, dirList: 34, DIR: 35, NODE_DSTART: 36, NODE_DEND: 37, BLOCK_ARROW_START: 38, BLOCK_ARROW_END: 39, classDef: 40, CLASSDEF_ID: 41, CLASSDEF_STYLEOPTS: 42, DEFAULT: 43, class: 44, CLASSENTITY_IDS: 45, STYLECLASS: 46, style: 47, STYLE_ENTITY_IDS: 48, STYLE_DEFINITION_DATA: 49, $accept: 0, $end: 1 },
|
|
18
18
|
terminals_: { 2: "error", 4: "SPACELINE", 5: "NL", 7: "SPACE", 8: "EOF", 10: "BLOCK_DIAGRAM_KEY", 15: "LINK", 16: "START_LINK", 17: "LINK_LABEL", 18: "STR", 21: "SPACE_BLOCK", 27: "SIZE", 28: "COLUMNS", 29: "id-block", 30: "end", 31: "block", 32: "NODE_ID", 35: "DIR", 36: "NODE_DSTART", 37: "NODE_DEND", 38: "BLOCK_ARROW_START", 39: "BLOCK_ARROW_END", 40: "classDef", 41: "CLASSDEF_ID", 42: "CLASSDEF_STYLEOPTS", 43: "DEFAULT", 44: "class", 45: "CLASSENTITY_IDS", 46: "STYLECLASS", 47: "style", 48: "STYLE_ENTITY_IDS", 49: "STYLE_DEFINITION_DATA" },
|
|
19
19
|
productions_: [0, [3, 1], [3, 2], [3, 2], [6, 1], [6, 1], [6, 1], [9, 3], [12, 1], [12, 1], [12, 2], [12, 2], [11, 1], [11, 2], [14, 1], [14, 4], [13, 1], [13, 1], [13, 1], [13, 1], [13, 1], [13, 1], [13, 1], [19, 3], [19, 2], [19, 1], [20, 1], [22, 4], [22, 3], [26, 1], [26, 2], [34, 1], [34, 2], [33, 3], [33, 4], [23, 3], [23, 3], [24, 3], [25, 3]],
|
|
20
20
|
performAction: function(m, i, r, o, p, t, u) {
|
|
21
21
|
var s = t.length - 1;
|
|
22
22
|
switch (p) {
|
|
23
23
|
case 4:
|
|
24
|
-
o.getLogger().debug("Rule:
|
|
24
|
+
o.getLogger().debug("Rule: separator (NL) ");
|
|
25
25
|
break;
|
|
26
26
|
case 5:
|
|
27
|
-
o.getLogger().debug("Rule:
|
|
27
|
+
o.getLogger().debug("Rule: separator (Space) ");
|
|
28
28
|
break;
|
|
29
29
|
case 6:
|
|
30
|
-
o.getLogger().debug("Rule:
|
|
30
|
+
o.getLogger().debug("Rule: separator (EOF) ");
|
|
31
31
|
break;
|
|
32
32
|
case 7:
|
|
33
33
|
o.getLogger().debug("Rule: hierarchy: ", t[s - 1]), o.setHierarchy(t[s - 1]);
|
|
@@ -87,10 +87,10 @@ var le, ae, ee = function() {
|
|
|
87
87
|
this.$ = { id: C, type: "composite", label: "", children: t[s - 1] };
|
|
88
88
|
break;
|
|
89
89
|
case 29:
|
|
90
|
-
o.getLogger().debug("Rule: node (NODE_ID
|
|
90
|
+
o.getLogger().debug("Rule: node (NODE_ID separator): ", t[s]), this.$ = { id: t[s] };
|
|
91
91
|
break;
|
|
92
92
|
case 30:
|
|
93
|
-
o.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel
|
|
93
|
+
o.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ", t[s - 1], t[s]), this.$ = { id: t[s - 1], label: t[s].label, typeStr: t[s].typeStr, directions: t[s].directions };
|
|
94
94
|
break;
|
|
95
95
|
case 31:
|
|
96
96
|
o.getLogger().debug("Rule: dirList: ", t[s]), this.$ = [t[s]];
|
|
@@ -136,10 +136,10 @@ var le, ae, ee = function() {
|
|
|
136
136
|
var Le = E.options && E.options.ranges;
|
|
137
137
|
typeof P.yy.parseError == "function" ? this.parseError = P.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
138
138
|
function Se() {
|
|
139
|
-
var
|
|
140
|
-
return
|
|
139
|
+
var z;
|
|
140
|
+
return z = o.pop() || E.lex() || C, typeof z != "number" && (z instanceof Array && (o = z, z = o.pop()), z = i.symbols_[z] || z), z;
|
|
141
141
|
}
|
|
142
|
-
for (var N, Y, I, V, K = {}, j,
|
|
142
|
+
for (var N, Y, I, V, K = {}, j, R, oe, H; ; ) {
|
|
143
143
|
if (Y = r[r.length - 1], this.defaultActions[Y] ? I = this.defaultActions[Y] : ((N === null || typeof N > "u") && (N = Se()), I = u[Y] && u[Y][N]), typeof I > "u" || !I.length || !I[0]) {
|
|
144
144
|
var Q = "";
|
|
145
145
|
H = [];
|
|
@@ -162,13 +162,13 @@ Expecting ` + H.join(", ") + ", got '" + (this.terminals_[N] || N) + "'" : Q = "
|
|
|
162
162
|
r.push(N), p.push(E.yytext), t.push(E.yylloc), r.push(I[1]), N = null, B = E.yyleng, s = E.yytext, O = E.yylineno, Z = E.yylloc;
|
|
163
163
|
break;
|
|
164
164
|
case 2:
|
|
165
|
-
if (
|
|
166
|
-
first_line: t[t.length - (
|
|
165
|
+
if (R = this.productions_[I[1]][1], K.$ = p[p.length - R], K._$ = {
|
|
166
|
+
first_line: t[t.length - (R || 1)].first_line,
|
|
167
167
|
last_line: t[t.length - 1].last_line,
|
|
168
|
-
first_column: t[t.length - (
|
|
168
|
+
first_column: t[t.length - (R || 1)].first_column,
|
|
169
169
|
last_column: t[t.length - 1].last_column
|
|
170
170
|
}, Le && (K._$.range = [
|
|
171
|
-
t[t.length - (
|
|
171
|
+
t[t.length - (R || 1)].range[0],
|
|
172
172
|
t[t.length - 1].range[1]
|
|
173
173
|
]), V = this.performAction.apply(K, [
|
|
174
174
|
s,
|
|
@@ -180,7 +180,7 @@ Expecting ` + H.join(", ") + ", got '" + (this.terminals_[N] || N) + "'" : Q = "
|
|
|
180
180
|
t
|
|
181
181
|
].concat(F)), typeof V < "u")
|
|
182
182
|
return V;
|
|
183
|
-
|
|
183
|
+
R && (r = r.slice(0, -1 * R * 2), p = p.slice(0, -1 * R), t = t.slice(0, -1 * R)), r.push(this.productions_[I[1]][0]), p.push(K.$), t.push(K._$), oe = u[r[r.length - 2]][r[r.length - 1]], r.push(oe);
|
|
184
184
|
break;
|
|
185
185
|
case 3:
|
|
186
186
|
return !0;
|
|
@@ -602,9 +602,9 @@ Expecting ` + H.join(", ") + ", got '" + (this.terminals_[N] || N) + "'" : Q = "
|
|
|
602
602
|
return w.prototype = D, D.Parser = w, new w();
|
|
603
603
|
}();
|
|
604
604
|
ee.parser = ee;
|
|
605
|
-
const
|
|
605
|
+
const Re = ee;
|
|
606
606
|
let $ = {}, se = [], M = {};
|
|
607
|
-
const ce = "color", he = "fill",
|
|
607
|
+
const ce = "color", he = "fill", ze = "bgFill", de = ",";
|
|
608
608
|
let W = {};
|
|
609
609
|
const Be = function(e, l = "") {
|
|
610
610
|
W[e] === void 0 && (W[e] = { id: e, styles: [], textStyles: [] });
|
|
@@ -612,7 +612,7 @@ const Be = function(e, l = "") {
|
|
|
612
612
|
l != null && l.split(de).forEach((c) => {
|
|
613
613
|
const n = c.replace(/([^;]*);/, "$1").trim();
|
|
614
614
|
if (c.match(ce)) {
|
|
615
|
-
const g = n.replace(he,
|
|
615
|
+
const g = n.replace(he, ze).replace(ce, he);
|
|
616
616
|
h.textStyles.push(g);
|
|
617
617
|
}
|
|
618
618
|
h.styles.push(n);
|
|
@@ -1106,7 +1106,7 @@ function te(e, l, h = 0, c = 0) {
|
|
|
1106
1106
|
`Detected to small siebling: abc95 ${e.id} sieblingWidth ${h} sieblingHeight ${c} width ${o}`
|
|
1107
1107
|
), o = h, p = c;
|
|
1108
1108
|
const t = (h - i * f - f) / i, u = (c - r * f - f) / r;
|
|
1109
|
-
L.debug("Size indata abc88", e.id, "childWidth", t, "maxWidth", S), L.debug("Size indata abc88", e.id, "childHeight", u, "maxHeight", D), L.debug("Size indata abc88 xSize", i, "
|
|
1109
|
+
L.debug("Size indata abc88", e.id, "childWidth", t, "maxWidth", S), L.debug("Size indata abc88", e.id, "childHeight", u, "maxHeight", D), L.debug("Size indata abc88 xSize", i, "padding", f);
|
|
1110
1110
|
for (const s of e.children)
|
|
1111
1111
|
s.size && (s.size.width = t, s.size.height = u, s.size.x = 0, s.size.y = 0);
|
|
1112
1112
|
}
|
|
@@ -1214,7 +1214,7 @@ const gt = function(e, l) {
|
|
|
1214
1214
|
draw: dt,
|
|
1215
1215
|
getClasses: gt
|
|
1216
1216
|
}, _t = {
|
|
1217
|
-
parser:
|
|
1217
|
+
parser: Re,
|
|
1218
1218
|
db: tt,
|
|
1219
1219
|
renderer: yt,
|
|
1220
1220
|
styles: st
|