@kong-ui-public/documentation 0.4.13 → 0.4.14
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-DI9wV-Mn-_GgJI37p.js +86 -0
- package/dist/{astro-D4FIwVxr-CovDYZfT.js → astro-U6b0KI4d-Bfq8RcMV.js} +1 -1
- package/dist/{blockDiagram-6b2b5046-BabM1eIl-BiFw3WJ6.js → blockDiagram-91b80b7a-D3OZBNEF-BXra-uP1.js} +24 -24
- package/dist/{c4Diagram-b947cdbb-BBGJ9ivn-BA4nSYfd.js → c4Diagram-b2a90758-wyqGQ69Q-3S5U0W2q.js} +133 -132
- package/dist/channel-Brhzsu_o-C42tcZPD.js +5 -0
- package/dist/{classDiagram-35230388-CRYNduH8-CLsxllrW.js → classDiagram-30eddba6-0OAjss5X-DDloSHap.js} +8 -7
- package/dist/{classDiagram-v2-412acd34-5HbyJrnL-DB1xO44x.js → classDiagram-v2-f2df5561-Dn89kA5N-W6p27IrP.js} +7 -7
- package/dist/{clone-BoeTe_OS-CQarmEZE.js → clone-Bsggwgls-BzwAVRKa.js} +1 -1
- package/dist/{createText-423428c9-Q0HfccbL-Bwaom8lh.js → createText-6b48ae7d-c5hzPIcj-DS42dDY6.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-CGbRbizB-BNCq9bff.js} +28 -27
- package/dist/{erDiagram-0ea73325-C3DQ6B1e-GwhT3lGQ.js → erDiagram-47591fe2-CyCEEu9x-BoCVITkJ.js} +38 -38
- package/dist/{flowDb-d35e309a-RvFFqjek-t_Dexseh.js → flowDb-4b19a42f-wIq43fe7-D6eWU8wc.js} +45 -45
- package/dist/{flowDiagram-d949d7c1-Boa20b_n-CJ3aILFD.js → flowDiagram-5540d9b9-D8Ak_JQc-66jM_qDv.js} +317 -309
- package/dist/{flowDiagram-v2-49332944-BJtijxhz-Cgd4t08U.js → flowDiagram-v2-3b53844e-DxkVnD_T-DVByZPqp.js} +5 -5
- package/dist/{flowchart-elk-definition-27cc417a-BBD3LS9k-Bb9_HTfE.js → flowchart-elk-definition-5fe447d6-CUIdb-2U-rw1sP1Nb.js} +10626 -10624
- package/dist/{ganttDiagram-5c869e3b-CRDFjzTp-lNK9bq-O.js → ganttDiagram-9a3bba1f-U28Z8glu-okJ1HHdc.js} +488 -477
- package/dist/{git-rebase-sR-yVH_J-D5M2oE9O.js → git-rebase-B7sc3yJp-BPxHM_r2.js} +1 -1
- package/dist/gitGraphDiagram-96e6b4ee-DTO3lH8N-1qRg2G2i.js +1264 -0
- package/dist/{graph-BIq67vWs-Bc3nX8P0.js → graph-Bc1n6qSP-D5FVfre_.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-3vhKKQrV.js} +2775 -2693
- package/dist/{index-8fae9850-CaUboB89-B0nma_3r.js → index-fc10efb0-B2L-sBu4-xOwI5vt1.js} +11 -11
- package/dist/{infoDiagram-db7b18fc-DKsewKnu-CWVarnHo.js → infoDiagram-bcd20f53-DTO3TTbR-DxLIdeSc.js} +12 -12
- package/dist/{journeyDiagram-d5636530-ClddNDmR-ywsNZNTr.js → journeyDiagram-4fe6b3dc-qVhc1UAl-_d--6Ls9.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-DcWyZN_J-vui7Gviz.js} +132 -132
- package/dist/{line-BCVITS7s-Du1xeoK-.js → line-BeML9Stu-Dy9lL6FR.js} +1 -1
- package/dist/{linear-CLHAbj67-1tzRLAFO.js → linear-S-ccJMdE-6xfCU5AQ.js} +35 -35
- package/dist/{mindmap-definition-377f8f1f-BwEJ-DVg-DeBewnKQ.js → mindmap-definition-f354de21-DH1Q4t1U-DzFbmWqo.js} +6647 -6414
- package/dist/{pieDiagram-b0208e96-Cyz2Kcfu-B1Q8dscS.js → pieDiagram-79897490-BNP6ubu_-6WJB20-7.js} +68 -68
- package/dist/{quadrantDiagram-0332be45-CDMkEQj0-D0ioHd_P.js → quadrantDiagram-62f64e94-BwUp7akV-DvMoXd98.js} +2 -2
- package/dist/{requirementDiagram-bf7890df-Jk3SQ-Q1-BB9UHuUh.js → requirementDiagram-05bf5f74-N_qzJROT-CrkeOa_P.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-bwaduY7g-VneUYt0y.js} +22 -22
- package/dist/{sequenceDiagram-c18d009d-B4IxGCEM-DgvEmabG.js → sequenceDiagram-acc0e65c-Bk-fBLta-CsMH0Cqo.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-Bi3BTd4c-qFbxEDNM.js} +5 -5
- package/dist/{stateDiagram-v2-2ead4f9c-DS4afpcC-jDCqPtGk.js → stateDiagram-v2-9a9d610d-IejNE6-r-bIvS4iK_.js} +12 -12
- package/dist/{styles-7383a064-C7WyH3qz-B1ftH-y8.js → styles-3ed67cfa-BaFO0Ztt-yz8KrlaH.js} +140 -137
- package/dist/{styles-6860f46c-ZdhsT5S9-Du_QdneE.js → styles-991ebdfc-D4EpkGAf-B-Xwx8uG.js} +19 -19
- package/dist/{styles-b2c874b6-BFg-Nblp-B0z_umAE.js → styles-d20c7d72-DqCTX9VL-CceYqMjq.js} +24 -24
- package/dist/{svgDrawCommon-0ee1b4e9-CpOZq9bS-BwyJFwu6.js → svgDrawCommon-5ccd53ef-C-vBitUh-C3LZR4L9.js} +4 -4
- package/dist/{timeline-definition-d977decf-BqZwyTB6-qFhObMdA.js → timeline-definition-fea2a41d-Bd7A9rUe-DzZgbnY-.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-3O-Pt-l7-P2dDKl4d.js} +30 -30
- package/package.json +2 -2
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as ut, g as nt, a as rt, b as at, c as F,
|
|
1
|
+
import { s as ut, g as nt, a as rt, b as at, c as F, x as ot, y as ct, j as L, A as lt, l as ht, z as He, h as M, d as At, at as ve } from "./index-3vhKKQrV.js";
|
|
2
2
|
var Ie = function() {
|
|
3
3
|
var e = function(S, n, c, i) {
|
|
4
4
|
for (c = c || {}, i = S.length; i--; c[S[i]] = n)
|
|
@@ -223,27 +223,27 @@ var Ie = function() {
|
|
|
223
223
|
}
|
|
224
224
|
},
|
|
225
225
|
parse: function(S) {
|
|
226
|
-
var n = this, c = [0], i = [], h = [null], t = [], g = this.table, s = "", re = 0, ze = 0, et = 2, Ke = 1, tt = t.slice.call(arguments, 1), m = Object.create(this.lexer),
|
|
226
|
+
var n = this, c = [0], i = [], h = [null], t = [], g = this.table, s = "", re = 0, ze = 0, et = 2, Ke = 1, tt = t.slice.call(arguments, 1), m = Object.create(this.lexer), x = { yy: {} };
|
|
227
227
|
for (var $e in this.yy)
|
|
228
|
-
Object.prototype.hasOwnProperty.call(this.yy, $e) && (
|
|
229
|
-
m.setInput(S,
|
|
228
|
+
Object.prototype.hasOwnProperty.call(this.yy, $e) && (x.yy[$e] = this.yy[$e]);
|
|
229
|
+
m.setInput(S, x.yy), x.yy.lexer = m, x.yy.parser = this, typeof m.yylloc > "u" && (m.yylloc = {});
|
|
230
230
|
var Le = m.yylloc;
|
|
231
231
|
t.push(Le);
|
|
232
232
|
var st = m.options && m.options.ranges;
|
|
233
|
-
typeof
|
|
233
|
+
typeof x.yy.parseError == "function" ? this.parseError = x.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
234
234
|
function it() {
|
|
235
235
|
var $;
|
|
236
236
|
return $ = i.pop() || m.lex() || Ke, typeof $ != "number" && ($ instanceof Array && (i = $, $ = i.pop()), $ = n.symbols_[$] || $), $;
|
|
237
237
|
}
|
|
238
|
-
for (var k,
|
|
239
|
-
if (
|
|
240
|
-
var
|
|
238
|
+
for (var k, v, T, Oe, w = {}, ae, N, Ye, oe; ; ) {
|
|
239
|
+
if (v = c[c.length - 1], this.defaultActions[v] ? T = this.defaultActions[v] : ((k === null || typeof k > "u") && (k = it()), T = g[v] && g[v][k]), typeof T > "u" || !T.length || !T[0]) {
|
|
240
|
+
var xe = "";
|
|
241
241
|
oe = [];
|
|
242
|
-
for (ae in g[
|
|
242
|
+
for (ae in g[v])
|
|
243
243
|
this.terminals_[ae] && ae > et && oe.push("'" + this.terminals_[ae] + "'");
|
|
244
|
-
m.showPosition ?
|
|
244
|
+
m.showPosition ? xe = "Parse error on line " + (re + 1) + `:
|
|
245
245
|
` + m.showPosition() + `
|
|
246
|
-
Expecting ` + oe.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" :
|
|
246
|
+
Expecting ` + oe.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : xe = "Parse error on line " + (re + 1) + ": Unexpected " + (k == Ke ? "end of input" : "'" + (this.terminals_[k] || k) + "'"), this.parseError(xe, {
|
|
247
247
|
text: m.match,
|
|
248
248
|
token: this.terminals_[k] || k,
|
|
249
249
|
line: m.yylineno,
|
|
@@ -252,7 +252,7 @@ Expecting ` + oe.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : ve =
|
|
|
252
252
|
});
|
|
253
253
|
}
|
|
254
254
|
if (T[0] instanceof Array && T.length > 1)
|
|
255
|
-
throw new Error("Parse Error: multiple actions possible at state: " +
|
|
255
|
+
throw new Error("Parse Error: multiple actions possible at state: " + v + ", token: " + k);
|
|
256
256
|
switch (T[0]) {
|
|
257
257
|
case 1:
|
|
258
258
|
c.push(k), h.push(m.yytext), t.push(m.yylloc), c.push(T[1]), k = null, ze = m.yyleng, s = m.yytext, re = m.yylineno, Le = m.yylloc;
|
|
@@ -270,7 +270,7 @@ Expecting ` + oe.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : ve =
|
|
|
270
270
|
s,
|
|
271
271
|
ze,
|
|
272
272
|
re,
|
|
273
|
-
|
|
273
|
+
x.yy,
|
|
274
274
|
T[1],
|
|
275
275
|
h,
|
|
276
276
|
t
|
|
@@ -684,8 +684,8 @@ class je {
|
|
|
684
684
|
this.parseMember(a);
|
|
685
685
|
}
|
|
686
686
|
getDisplayDetails() {
|
|
687
|
-
let u = this.visibility +
|
|
688
|
-
this.memberType === "method" && (u += `(${
|
|
687
|
+
let u = this.visibility + ve(this.id);
|
|
688
|
+
this.memberType === "method" && (u += `(${ve(this.parameters.trim())})`, this.returnType && (u += " : " + ve(this.returnType))), u = u.trim();
|
|
689
689
|
const r = this.parseClassifier();
|
|
690
690
|
return {
|
|
691
691
|
displayText: u,
|
|
@@ -866,9 +866,9 @@ const I = (e) => L.sanitizeText(e, F()), R = function(e) {
|
|
|
866
866
|
};
|
|
867
867
|
U.push(Je);
|
|
868
868
|
let Ve = "TB";
|
|
869
|
-
const Ot = () => Ve,
|
|
869
|
+
const Ot = () => Ve, xt = (e) => {
|
|
870
870
|
Ve = e;
|
|
871
|
-
},
|
|
871
|
+
}, vt = function(e) {
|
|
872
872
|
O[e] === void 0 && (O[e] = {
|
|
873
873
|
id: e,
|
|
874
874
|
classes: {},
|
|
@@ -907,7 +907,7 @@ const Ot = () => Ve, vt = (e) => {
|
|
|
907
907
|
getRelations: Ct,
|
|
908
908
|
addRelation: bt,
|
|
909
909
|
getDirection: Ot,
|
|
910
|
-
setDirection:
|
|
910
|
+
setDirection: xt,
|
|
911
911
|
addMember: qe,
|
|
912
912
|
addMembers: gt,
|
|
913
913
|
cleanupLabel: Ft,
|
|
@@ -922,7 +922,7 @@ const Ot = () => Ve, vt = (e) => {
|
|
|
922
922
|
setDiagramTitle: ot,
|
|
923
923
|
getDiagramTitle: ct,
|
|
924
924
|
setClassLabel: pt,
|
|
925
|
-
addNamespace:
|
|
925
|
+
addNamespace: vt,
|
|
926
926
|
addClassesToNamespace: wt,
|
|
927
927
|
getNamespace: It,
|
|
928
928
|
getNamespaces: Rt,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as F, g as
|
|
1
|
+
import { c as F, g as Ut, s as zt, a as Ht, b as Mt, x as Xt, y as Jt, l as $, j as ct, A as Kt, b5 as Vt } from "./index-3vhKKQrV.js";
|
|
2
2
|
var gt = function() {
|
|
3
3
|
var t = function(T, i, r, o) {
|
|
4
4
|
for (r = r || {}, o = T.length; o--; r[T[o]] = i)
|
|
5
5
|
;
|
|
6
6
|
return r;
|
|
7
|
-
}, s = [1, 2], n = [1, 3], l = [1, 4], p = [2, 4], d = [1, 9], y = [1, 11], b = [1, 15], u = [1, 16], _ = [1, 17], G = [1, 18], O = [1, 30], j = [1, 19], Y = [1, 20],
|
|
7
|
+
}, s = [1, 2], n = [1, 3], l = [1, 4], p = [2, 4], d = [1, 9], y = [1, 11], b = [1, 15], u = [1, 16], _ = [1, 17], G = [1, 18], O = [1, 30], j = [1, 19], Y = [1, 20], U = [1, 21], z = [1, 22], H = [1, 23], M = [1, 25], X = [1, 26], J = [1, 27], K = [1, 28], V = [1, 29], W = [1, 32], q = [1, 33], Q = [1, 34], Z = [1, 35], R = [1, 31], c = [1, 4, 5, 15, 16, 18, 20, 21, 23, 24, 25, 26, 27, 28, 32, 34, 36, 37, 41, 44, 45, 46, 47, 50], tt = [1, 4, 5, 13, 14, 15, 16, 18, 20, 21, 23, 24, 25, 26, 27, 28, 32, 34, 36, 37, 41, 44, 45, 46, 47, 50], xt = [4, 5, 15, 16, 18, 20, 21, 23, 24, 25, 26, 27, 28, 32, 34, 36, 37, 41, 44, 45, 46, 47, 50], lt = {
|
|
8
8
|
trace: function() {
|
|
9
9
|
},
|
|
10
10
|
yy: {},
|
|
@@ -47,12 +47,12 @@ var gt = function() {
|
|
|
47
47
|
this.$ = { stmt: "state", id: e[a - 3], type: "default", description: "", doc: e[a - 1] };
|
|
48
48
|
break;
|
|
49
49
|
case 19:
|
|
50
|
-
var
|
|
50
|
+
var A = e[a], I = e[a - 2].trim();
|
|
51
51
|
if (e[a].match(":")) {
|
|
52
52
|
var et = e[a].split(":");
|
|
53
|
-
|
|
53
|
+
A = et[0], I = [I, et[1]];
|
|
54
54
|
}
|
|
55
|
-
this.$ = { stmt: "state", id:
|
|
55
|
+
this.$ = { stmt: "state", id: A, type: "default", description: I };
|
|
56
56
|
break;
|
|
57
57
|
case 20:
|
|
58
58
|
this.$ = { stmt: "state", id: e[a - 3], type: "default", description: e[a - 5], doc: e[a - 1] };
|
|
@@ -110,7 +110,7 @@ var gt = function() {
|
|
|
110
110
|
break;
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
|
-
table: [{ 3: 1, 4: s, 5: n, 6: l }, { 1: [3] }, { 3: 5, 4: s, 5: n, 6: l }, { 3: 6, 4: s, 5: n, 6: l }, t([1, 4, 5, 15, 16, 18, 21, 23, 24, 25, 26, 27, 28, 32, 34, 36, 37, 41, 44, 45, 46, 47, 50], p, { 7: 7 }), { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3], 4: d, 5: y, 8: 8, 9: 10, 10: 12, 11: 13, 12: 14, 15: b, 16: u, 18: _, 21: G, 23: O, 24: j, 25: Y, 26:
|
|
113
|
+
table: [{ 3: 1, 4: s, 5: n, 6: l }, { 1: [3] }, { 3: 5, 4: s, 5: n, 6: l }, { 3: 6, 4: s, 5: n, 6: l }, t([1, 4, 5, 15, 16, 18, 21, 23, 24, 25, 26, 27, 28, 32, 34, 36, 37, 41, 44, 45, 46, 47, 50], p, { 7: 7 }), { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3], 4: d, 5: y, 8: 8, 9: 10, 10: 12, 11: 13, 12: 14, 15: b, 16: u, 18: _, 21: G, 23: O, 24: j, 25: Y, 26: U, 27: z, 28: H, 31: 24, 32: M, 34: X, 36: J, 37: K, 41: V, 44: W, 45: q, 46: Q, 47: Z, 50: R }, t(c, [2, 5]), { 9: 36, 10: 12, 11: 13, 12: 14, 15: b, 16: u, 18: _, 21: G, 23: O, 24: j, 25: Y, 26: U, 27: z, 28: H, 31: 24, 32: M, 34: X, 36: J, 37: K, 41: V, 44: W, 45: q, 46: Q, 47: Z, 50: R }, t(c, [2, 7]), t(c, [2, 8]), t(c, [2, 9]), t(c, [2, 10]), t(c, [2, 11], { 13: [1, 37], 14: [1, 38] }), t(c, [2, 15]), { 17: [1, 39] }, t(c, [2, 17], { 19: [1, 40] }), { 22: [1, 41] }, t(c, [2, 21]), t(c, [2, 22]), t(c, [2, 23]), t(c, [2, 24]), { 29: 42, 30: [1, 43], 52: [1, 44], 53: [1, 45] }, t(c, [2, 27]), { 33: [1, 46] }, { 35: [1, 47] }, t(c, [2, 30]), { 38: [1, 48], 40: [1, 49] }, { 42: [1, 50] }, t(tt, [2, 40], { 51: [1, 51] }), t(tt, [2, 41], { 51: [1, 52] }), t(c, [2, 34]), t(c, [2, 35]), t(c, [2, 36]), t(c, [2, 37]), t(c, [2, 6]), t(c, [2, 12]), { 12: 53, 23: O, 50: R }, t(c, [2, 16]), t(xt, p, { 7: 54 }), { 23: [1, 55] }, { 23: [1, 56] }, { 22: [1, 57] }, { 23: [2, 44] }, { 23: [2, 45] }, t(c, [2, 28]), t(c, [2, 29]), { 39: [1, 58] }, { 39: [1, 59] }, { 43: [1, 60] }, { 23: [1, 61] }, { 23: [1, 62] }, t(c, [2, 13], { 13: [1, 63] }), { 4: d, 5: y, 8: 8, 9: 10, 10: 12, 11: 13, 12: 14, 15: b, 16: u, 18: _, 20: [1, 64], 21: G, 23: O, 24: j, 25: Y, 26: U, 27: z, 28: H, 31: 24, 32: M, 34: X, 36: J, 37: K, 41: V, 44: W, 45: q, 46: Q, 47: Z, 50: R }, t(c, [2, 19], { 19: [1, 65] }), { 30: [1, 66] }, { 23: [1, 67] }, t(c, [2, 31]), t(c, [2, 32]), t(c, [2, 33]), t(tt, [2, 42]), t(tt, [2, 43]), t(c, [2, 14]), t(c, [2, 18]), t(xt, p, { 7: 68 }), t(c, [2, 25]), t(c, [2, 26]), { 4: d, 5: y, 8: 8, 9: 10, 10: 12, 11: 13, 12: 14, 15: b, 16: u, 18: _, 20: [1, 69], 21: G, 23: O, 24: j, 25: Y, 26: U, 27: z, 28: H, 31: 24, 32: M, 34: X, 36: J, 37: K, 41: V, 44: W, 45: q, 46: Q, 47: Z, 50: R }, t(c, [2, 20])],
|
|
114
114
|
defaultActions: { 5: [2, 1], 6: [2, 2], 44: [2, 44], 45: [2, 45] },
|
|
115
115
|
parseError: function(T, i) {
|
|
116
116
|
if (i.recoverable)
|
|
@@ -121,14 +121,14 @@ var gt = function() {
|
|
|
121
121
|
}
|
|
122
122
|
},
|
|
123
123
|
parse: function(T) {
|
|
124
|
-
var i = this, r = [0], o = [], h = [null], e = [], m = this.table, a = "",
|
|
124
|
+
var i = this, r = [0], o = [], h = [null], e = [], m = this.table, a = "", A = 0, I = 0, et = 2, B = 1, ut = e.slice.call(arguments, 1), f = Object.create(this.lexer), C = { yy: {} };
|
|
125
125
|
for (var dt in this.yy)
|
|
126
|
-
Object.prototype.hasOwnProperty.call(this.yy, dt) && (
|
|
127
|
-
f.setInput(T,
|
|
126
|
+
Object.prototype.hasOwnProperty.call(this.yy, dt) && (C.yy[dt] = this.yy[dt]);
|
|
127
|
+
f.setInput(T, C.yy), C.yy.lexer = f, C.yy.parser = this, typeof f.yylloc > "u" && (f.yylloc = {});
|
|
128
128
|
var pt = f.yylloc;
|
|
129
129
|
e.push(pt);
|
|
130
130
|
var jt = f.options && f.options.ranges;
|
|
131
|
-
typeof
|
|
131
|
+
typeof C.yy.parseError == "function" ? this.parseError = C.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
132
132
|
function Yt() {
|
|
133
133
|
var x;
|
|
134
134
|
return x = o.pop() || f.lex() || B, typeof x != "number" && (x instanceof Array && (o = x, x = o.pop()), x = i.symbols_[x] || x), x;
|
|
@@ -139,9 +139,9 @@ var gt = function() {
|
|
|
139
139
|
it = [];
|
|
140
140
|
for (st in m[D])
|
|
141
141
|
this.terminals_[st] && st > et && it.push("'" + this.terminals_[st] + "'");
|
|
142
|
-
f.showPosition ? ft = "Parse error on line " + (
|
|
142
|
+
f.showPosition ? ft = "Parse error on line " + (A + 1) + `:
|
|
143
143
|
` + f.showPosition() + `
|
|
144
|
-
Expecting ` + it.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : ft = "Parse error on line " + (
|
|
144
|
+
Expecting ` + it.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : ft = "Parse error on line " + (A + 1) + ": Unexpected " + (S == B ? "end of input" : "'" + (this.terminals_[S] || S) + "'"), this.parseError(ft, {
|
|
145
145
|
text: f.match,
|
|
146
146
|
token: this.terminals_[S] || S,
|
|
147
147
|
line: f.yylineno,
|
|
@@ -153,7 +153,7 @@ Expecting ` + it.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : ft =
|
|
|
153
153
|
throw new Error("Parse Error: multiple actions possible at state: " + D + ", token: " + S);
|
|
154
154
|
switch (k[0]) {
|
|
155
155
|
case 1:
|
|
156
|
-
r.push(S), h.push(f.yytext), e.push(f.yylloc), r.push(k[1]), S = null, I = f.yyleng, a = f.yytext,
|
|
156
|
+
r.push(S), h.push(f.yytext), e.push(f.yylloc), r.push(k[1]), S = null, I = f.yyleng, a = f.yytext, A = f.yylineno, pt = f.yylloc;
|
|
157
157
|
break;
|
|
158
158
|
case 2:
|
|
159
159
|
if (E = this.productions_[k[1]][1], L.$ = h[h.length - E], L._$ = {
|
|
@@ -167,8 +167,8 @@ Expecting ` + it.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : ft =
|
|
|
167
167
|
]), yt = this.performAction.apply(L, [
|
|
168
168
|
a,
|
|
169
169
|
I,
|
|
170
|
-
|
|
171
|
-
|
|
170
|
+
A,
|
|
171
|
+
C.yy,
|
|
172
172
|
k[1],
|
|
173
173
|
h,
|
|
174
174
|
e
|
|
@@ -529,7 +529,7 @@ Expecting ` + it.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : ft =
|
|
|
529
529
|
return ht.prototype = lt, lt.Parser = ht, new ht();
|
|
530
530
|
}();
|
|
531
531
|
gt.parser = gt;
|
|
532
|
-
const xe = gt, Wt = "LR", $e = "TB", mt = "state", vt = "relation", qt = "classDef", Qt = "applyClass", Tt = "default", Zt = "divider", bt = "[*]", It = "start", Lt = bt, Ot = "end",
|
|
532
|
+
const xe = gt, Wt = "LR", $e = "TB", mt = "state", vt = "relation", qt = "classDef", Qt = "applyClass", Tt = "default", Zt = "divider", bt = "[*]", It = "start", Lt = bt, Ot = "end", At = "color", Ct = "fill", te = "bgFill", ee = ",";
|
|
533
533
|
function Rt() {
|
|
534
534
|
return {};
|
|
535
535
|
}
|
|
@@ -691,8 +691,8 @@ const Pt = function(t, s, n) {
|
|
|
691
691
|
const n = N[t];
|
|
692
692
|
s != null && s.split(ee).forEach((l) => {
|
|
693
693
|
const p = l.replace(/([^;]*);/, "$1").trim();
|
|
694
|
-
if (l.match(
|
|
695
|
-
const d = p.replace(
|
|
694
|
+
if (l.match(At)) {
|
|
695
|
+
const d = p.replace(Ct, te).replace(At, Ct);
|
|
696
696
|
n.textStyles.push(d);
|
|
697
697
|
}
|
|
698
698
|
n.styles.push(p);
|
|
@@ -716,7 +716,7 @@ const Pt = function(t, s, n) {
|
|
|
716
716
|
n !== void 0 && n.textStyles.push(s);
|
|
717
717
|
}, _e = () => Bt, ke = (t) => {
|
|
718
718
|
Bt = t;
|
|
719
|
-
}, Te = (t) => t && t[0] === ":" ? t.substr(1).trim() : t.trim(),
|
|
719
|
+
}, Te = (t) => t && t[0] === ":" ? t.substr(1).trim() : t.trim(), Ae = {
|
|
720
720
|
getConfig: () => F().state,
|
|
721
721
|
addState: v,
|
|
722
722
|
clear: wt,
|
|
@@ -737,8 +737,8 @@ const Pt = function(t, s, n) {
|
|
|
737
737
|
getRootDocV2: ae,
|
|
738
738
|
extract: oe,
|
|
739
739
|
trimColon: Te,
|
|
740
|
-
getAccTitle:
|
|
741
|
-
setAccTitle:
|
|
740
|
+
getAccTitle: Ut,
|
|
741
|
+
setAccTitle: zt,
|
|
742
742
|
getAccDescription: Ht,
|
|
743
743
|
setAccDescription: Mt,
|
|
744
744
|
addStyleClass: Ft,
|
|
@@ -947,14 +947,14 @@ g.stateGroup line {
|
|
|
947
947
|
font-size: 18px;
|
|
948
948
|
fill: ${t.textColor};
|
|
949
949
|
}
|
|
950
|
-
`,
|
|
950
|
+
`, Ce = be;
|
|
951
951
|
export {
|
|
952
|
-
|
|
952
|
+
Ce as A,
|
|
953
953
|
$e as C,
|
|
954
954
|
xe as D,
|
|
955
955
|
Tt as E,
|
|
956
956
|
vt as I,
|
|
957
957
|
mt as _,
|
|
958
958
|
Zt as t,
|
|
959
|
-
|
|
959
|
+
Ae as v
|
|
960
960
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { m as i, n as o } from "./index-
|
|
1
|
+
import { m as i, n as o } from "./index-3vhKKQrV.js";
|
|
2
2
|
const x = (e, t) => {
|
|
3
3
|
const r = e.append("rect");
|
|
4
|
-
if (r.attr("x", t.x), r.attr("y", t.y), r.attr("fill", t.fill), r.attr("stroke", t.stroke), r.attr("width", t.width), r.attr("height", t.height), t.rx !== void 0 && r.attr("rx", t.rx), t.ry !== void 0 && r.attr("ry", t.ry), t.attrs !== void 0)
|
|
4
|
+
if (r.attr("x", t.x), r.attr("y", t.y), r.attr("fill", t.fill), r.attr("stroke", t.stroke), r.attr("width", t.width), r.attr("height", t.height), t.name && r.attr("name", t.name), t.rx !== void 0 && r.attr("rx", t.rx), t.ry !== void 0 && r.attr("ry", t.ry), t.attrs !== void 0)
|
|
5
5
|
for (const a in t.attrs)
|
|
6
6
|
r.attr(a, t.attrs[a]);
|
|
7
7
|
return t.class !== void 0 && r.attr("class", t.class), r;
|
|
@@ -54,11 +54,11 @@ const x = (e, t) => {
|
|
|
54
54
|
tspan: !0
|
|
55
55
|
});
|
|
56
56
|
export {
|
|
57
|
-
x as c,
|
|
58
57
|
h as d,
|
|
59
58
|
p as g,
|
|
60
59
|
y as h,
|
|
61
|
-
|
|
60
|
+
x as l,
|
|
61
|
+
g as m,
|
|
62
62
|
c as x,
|
|
63
63
|
d as y
|
|
64
64
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { v as Z } from "./arc-
|
|
1
|
+
import { b7 as yt, A as gt, c as ft, l as w, h as V, u as mt, b8 as xt, b9 as _t, ba as bt } from "./index-3vhKKQrV.js";
|
|
2
|
+
import { v as Z } from "./arc-DI9wV-Mn-_GgJI37p.js";
|
|
3
3
|
var X = function() {
|
|
4
4
|
var n = function(m, i, a, l) {
|
|
5
5
|
for (a = a || {}, l = m.length; l--; a[m[l]] = i)
|
|
@@ -3,7 +3,7 @@ import e from "./javascript-DqVBMyXe-DqVBMyXe.js";
|
|
|
3
3
|
import n from "./scss-DjxgF7f7-DGTzny6p.js";
|
|
4
4
|
import i from "./php-D7Tl-iS7-BtPFrDEt.js";
|
|
5
5
|
import a from "./python-BQXev0_W-BQXev0_W.js";
|
|
6
|
-
import s from "./ruby-
|
|
6
|
+
import s from "./ruby-3Bt2I2On--AixRnjJ.js";
|
|
7
7
|
const r = Object.freeze({ displayName: "Twig", fileTypes: ["twig", "html.twig"], firstLineMatch: "<!(?i:DOCTYPE)|<(?i:html)|<\\?(?i:php)|\\{\\{|\\{%|\\{#", foldingStartMarker: `(?x)
|
|
8
8
|
(<(?i:body|div|dl|fieldset|form|head|li|ol|script|select|style|table|tbody|tfoot|thead|tr|ul)\\b.*?>
|
|
9
9
|
|<!--(?!.*--\\s*>)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Q as jt } from "./createText-
|
|
3
|
-
import { t as
|
|
4
|
-
import { h as
|
|
5
|
-
import { Z as dt } from "./linear-
|
|
6
|
-
import { P as pt } from "./line-
|
|
1
|
+
import { b0 as Ft, b1 as at, aN as At, aM as Nt, s as Ot, g as Vt, x as Wt, y as St, a as Xt, b as Yt, A as Ut, l as wt, aL as Ht, i as Qt, d as Gt } from "./index-3vhKKQrV.js";
|
|
2
|
+
import { Q as jt } from "./createText-6b48ae7d-c5hzPIcj-DS42dDY6.js";
|
|
3
|
+
import { t as Zt } from "./init-DjUOC4st-C8Nwz6AJ.js";
|
|
4
|
+
import { h as Kt } from "./ordinal-MUacOSdK-B1MUT0BL.js";
|
|
5
|
+
import { Z as dt } from "./linear-S-ccJMdE-6xfCU5AQ.js";
|
|
6
|
+
import { P as pt } from "./line-BeML9Stu-Dy9lL6FR.js";
|
|
7
7
|
function Jt(e, t, i) {
|
|
8
8
|
e = +e, t = +t, i = (n = arguments.length) < 2 ? (t = e, e = 0, 1) : n < 3 ? 1 : +i;
|
|
9
9
|
for (var s = -1, n = Math.max(0, Math.ceil((t - e) / i)) | 0, o = new Array(n); ++s < n; )
|
|
@@ -11,7 +11,7 @@ function Jt(e, t, i) {
|
|
|
11
11
|
return o;
|
|
12
12
|
}
|
|
13
13
|
function et() {
|
|
14
|
-
var e =
|
|
14
|
+
var e = Kt().unknown(void 0), t = e.domain, i = e.range, s = 0, n = 1, o, u, d = !1, x = 0, _ = 0, k = 0.5;
|
|
15
15
|
delete e.unknown;
|
|
16
16
|
function b() {
|
|
17
17
|
var f = t().length, T = n < s, S = T ? n : s, D = T ? s : n;
|
|
@@ -43,14 +43,14 @@ function et() {
|
|
|
43
43
|
return arguments.length ? (k = Math.max(0, Math.min(1, f)), b()) : k;
|
|
44
44
|
}, e.copy = function() {
|
|
45
45
|
return et(t(), [s, n]).round(d).paddingInner(x).paddingOuter(_).align(k);
|
|
46
|
-
},
|
|
46
|
+
}, Zt.apply(b(), arguments);
|
|
47
47
|
}
|
|
48
48
|
var st = function() {
|
|
49
49
|
var e = function($, h, l, c) {
|
|
50
50
|
for (l = l || {}, c = $.length; c--; l[$[c]] = h)
|
|
51
51
|
;
|
|
52
52
|
return l;
|
|
53
|
-
}, t = [1, 10, 12, 14, 16, 18, 19, 21, 23], i = [2, 6], s = [1, 3], n = [1, 5], o = [1, 6], u = [1, 7], d = [1, 5, 10, 12, 14, 16, 18, 19, 21, 23, 34, 35, 36], x = [1, 25], _ = [1, 26], k = [1, 28], b = [1, 29], f = [1, 30], T = [1, 31], S = [1, 32], D = [1, 33], p = [1, 34], w = [1, 35], r = [1, 36], P = [1, 37], N = [1, 43], rt = [1, 42], lt = [1, 47], Y = [1, 50], A = [1, 10, 12, 14, 16, 18, 19, 21, 23, 34, 35, 36], j = [1, 10, 12, 14, 16, 18, 19, 21, 23, 24, 26, 27, 28, 34, 35, 36], E = [1, 10, 12, 14, 16, 18, 19, 21, 23, 24, 26, 27, 28, 34, 35, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50], ct = [1, 64],
|
|
53
|
+
}, t = [1, 10, 12, 14, 16, 18, 19, 21, 23], i = [2, 6], s = [1, 3], n = [1, 5], o = [1, 6], u = [1, 7], d = [1, 5, 10, 12, 14, 16, 18, 19, 21, 23, 34, 35, 36], x = [1, 25], _ = [1, 26], k = [1, 28], b = [1, 29], f = [1, 30], T = [1, 31], S = [1, 32], D = [1, 33], p = [1, 34], w = [1, 35], r = [1, 36], P = [1, 37], N = [1, 43], rt = [1, 42], lt = [1, 47], Y = [1, 50], A = [1, 10, 12, 14, 16, 18, 19, 21, 23, 34, 35, 36], j = [1, 10, 12, 14, 16, 18, 19, 21, 23, 24, 26, 27, 28, 34, 35, 36], E = [1, 10, 12, 14, 16, 18, 19, 21, 23, 24, 26, 27, 28, 34, 35, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50], ct = [1, 64], Z = {
|
|
54
54
|
trace: function() {
|
|
55
55
|
},
|
|
56
56
|
yy: {},
|
|
@@ -166,15 +166,15 @@ var st = function() {
|
|
|
166
166
|
a.push(q);
|
|
167
167
|
var zt = C.options && C.options.ranges;
|
|
168
168
|
typeof z.yy.parseError == "function" ? this.parseError = z.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
169
|
-
function
|
|
169
|
+
function Bt() {
|
|
170
170
|
var I;
|
|
171
171
|
return I = c.pop() || C.lex() || gt, typeof I != "number" && (I instanceof Array && (c = I, I = c.pop()), I = h.symbols_[I] || I), I;
|
|
172
172
|
}
|
|
173
|
-
for (var L,
|
|
174
|
-
if (
|
|
173
|
+
for (var L, B, v, tt, F = {}, H, M, xt, Q; ; ) {
|
|
174
|
+
if (B = l[l.length - 1], this.defaultActions[B] ? v = this.defaultActions[B] : ((L === null || typeof L > "u") && (L = Bt()), v = R[B] && R[B][L]), typeof v > "u" || !v.length || !v[0]) {
|
|
175
175
|
var it = "";
|
|
176
176
|
Q = [];
|
|
177
|
-
for (H in R[
|
|
177
|
+
for (H in R[B])
|
|
178
178
|
this.terminals_[H] && H > Mt && Q.push("'" + this.terminals_[H] + "'");
|
|
179
179
|
C.showPosition ? it = "Parse error on line " + (U + 1) + `:
|
|
180
180
|
` + C.showPosition() + `
|
|
@@ -187,7 +187,7 @@ Expecting ` + Q.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : it =
|
|
|
187
187
|
});
|
|
188
188
|
}
|
|
189
189
|
if (v[0] instanceof Array && v.length > 1)
|
|
190
|
-
throw new Error("Parse Error: multiple actions possible at state: " +
|
|
190
|
+
throw new Error("Parse Error: multiple actions possible at state: " + B + ", token: " + L);
|
|
191
191
|
switch (v[0]) {
|
|
192
192
|
case 1:
|
|
193
193
|
l.push(L), m.push(C.yytext), a.push(C.yylloc), l.push(v[1]), L = null, ut = C.yyleng, g = C.yytext, U = C.yylineno, q = C.yylloc;
|
|
@@ -495,11 +495,11 @@ Expecting ` + Q.join(", ") + ", got '" + (this.terminals_[L] || L) + "'" : it =
|
|
|
495
495
|
};
|
|
496
496
|
return $;
|
|
497
497
|
}();
|
|
498
|
-
|
|
499
|
-
function
|
|
498
|
+
Z.lexer = $t;
|
|
499
|
+
function K() {
|
|
500
500
|
this.yy = {};
|
|
501
501
|
}
|
|
502
|
-
return
|
|
502
|
+
return K.prototype = Z, Z.Parser = K, new K();
|
|
503
503
|
}();
|
|
504
504
|
st.parser = st;
|
|
505
505
|
const qt = st;
|
|
@@ -1056,7 +1056,7 @@ class ri {
|
|
|
1056
1056
|
height: u
|
|
1057
1057
|
}), this.componentStore.plot.setBoundingBoxXY({ x: s, y: n }), this.componentStore.xAxis.setRange([s, s + o]), this.componentStore.xAxis.setBoundingBoxXY({ x: s, y: n + u }), this.componentStore.yAxis.setRange([n, n + u]), this.componentStore.yAxis.setBoundingBoxXY({ x: 0, y: n }), this.chartData.plots.some((x) => ft(x)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
|
|
1058
1058
|
}
|
|
1059
|
-
|
|
1059
|
+
calculateHorizontalSpace() {
|
|
1060
1060
|
let t = this.chartConfig.width, i = this.chartConfig.height, s = 0, n = 0, o = 0, u = Math.floor(t * this.chartConfig.plotReservedSpacePercent / 100), d = Math.floor(
|
|
1061
1061
|
i * this.chartConfig.plotReservedSpacePercent / 100
|
|
1062
1062
|
), x = this.componentStore.plot.calculateSpace({
|
|
@@ -1078,7 +1078,7 @@ class ri {
|
|
|
1078
1078
|
}), this.componentStore.plot.setBoundingBoxXY({ x: n, y: o }), this.componentStore.yAxis.setRange([n, n + u]), this.componentStore.yAxis.setBoundingBoxXY({ x: n, y: s }), this.componentStore.xAxis.setRange([o, o + d]), this.componentStore.xAxis.setBoundingBoxXY({ x: 0, y: o }), this.chartData.plots.some((_) => ft(_)) && this.componentStore.xAxis.recalculateOuterPaddingToDrawBar();
|
|
1079
1079
|
}
|
|
1080
1080
|
calculateSpace() {
|
|
1081
|
-
this.chartConfig.chartOrientation === "horizontal" ? this.
|
|
1081
|
+
this.chartConfig.chartOrientation === "horizontal" ? this.calculateHorizontalSpace() : this.calculateVerticalSpace();
|
|
1082
1082
|
}
|
|
1083
1083
|
getDrawableElement() {
|
|
1084
1084
|
this.calculateSpace();
|
|
@@ -1094,7 +1094,7 @@ class li {
|
|
|
1094
1094
|
return new ri(t, i, s, n).getDrawableElement();
|
|
1095
1095
|
}
|
|
1096
1096
|
}
|
|
1097
|
-
let
|
|
1097
|
+
let V = 0, Tt, W = Lt(), X = Rt(), y = Dt(), nt = X.plotColorPalette.split(",").map((e) => e.trim()), G = !1, ht = !1;
|
|
1098
1098
|
function Rt() {
|
|
1099
1099
|
const e = Ft(), t = at();
|
|
1100
1100
|
return At(e.xyChart, t.themeVariables.xyChart);
|
|
@@ -1131,7 +1131,7 @@ function ci(e) {
|
|
|
1131
1131
|
Tt = e;
|
|
1132
1132
|
}
|
|
1133
1133
|
function ui(e) {
|
|
1134
|
-
e === "horizontal" ?
|
|
1134
|
+
e === "horizontal" ? W.chartOrientation = "horizontal" : W.chartOrientation = "vertical";
|
|
1135
1135
|
}
|
|
1136
1136
|
function gi(e) {
|
|
1137
1137
|
y.xAxis.title = ot(e.text);
|
|
@@ -1184,38 +1184,38 @@ function yi(e, t) {
|
|
|
1184
1184
|
const i = Et(t);
|
|
1185
1185
|
y.plots.push({
|
|
1186
1186
|
type: "line",
|
|
1187
|
-
strokeFill: vt(
|
|
1187
|
+
strokeFill: vt(V),
|
|
1188
1188
|
strokeWidth: 2,
|
|
1189
1189
|
data: i
|
|
1190
|
-
}),
|
|
1190
|
+
}), V++;
|
|
1191
1191
|
}
|
|
1192
1192
|
function mi(e, t) {
|
|
1193
1193
|
const i = Et(t);
|
|
1194
1194
|
y.plots.push({
|
|
1195
1195
|
type: "bar",
|
|
1196
|
-
fill: vt(
|
|
1196
|
+
fill: vt(V),
|
|
1197
1197
|
data: i
|
|
1198
|
-
}),
|
|
1198
|
+
}), V++;
|
|
1199
1199
|
}
|
|
1200
1200
|
function bi() {
|
|
1201
1201
|
if (y.plots.length === 0)
|
|
1202
1202
|
throw Error("No Plot to render, please provide a plot with some data");
|
|
1203
|
-
return y.title = St(), li.build(
|
|
1203
|
+
return y.title = St(), li.build(W, y, X, Tt);
|
|
1204
1204
|
}
|
|
1205
1205
|
function Ai() {
|
|
1206
1206
|
return X;
|
|
1207
1207
|
}
|
|
1208
1208
|
function Si() {
|
|
1209
|
-
return
|
|
1209
|
+
return W;
|
|
1210
1210
|
}
|
|
1211
1211
|
const wi = function() {
|
|
1212
|
-
Ut(),
|
|
1212
|
+
Ut(), V = 0, W = Lt(), y = Dt(), X = Rt(), nt = X.plotColorPalette.split(",").map((e) => e.trim()), G = !1, ht = !1;
|
|
1213
1213
|
}, ki = {
|
|
1214
1214
|
getDrawableElem: bi,
|
|
1215
1215
|
clear: wi,
|
|
1216
1216
|
setAccTitle: Ot,
|
|
1217
|
-
getAccTitle:
|
|
1218
|
-
setDiagramTitle:
|
|
1217
|
+
getAccTitle: Vt,
|
|
1218
|
+
setDiagramTitle: Wt,
|
|
1219
1219
|
getDiagramTitle: St,
|
|
1220
1220
|
getAccDescription: Xt,
|
|
1221
1221
|
setAccDescription: Yt,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kong-ui-public/documentation",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.14",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/documentation.umd.js",
|
|
6
6
|
"module": "./dist/documentation.es.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@kong/icons": "^1.9.0",
|
|
25
|
-
"@kong/markdown": "1.3.
|
|
25
|
+
"@kong/markdown": "1.3.5",
|
|
26
26
|
"@kong-ui-public/entities-shared": "^3.1.0"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { q as on, P as K } from "./path-Crsf9Nsj-SiSjwXsf.js";
|
|
2
|
-
import { aP as an, aQ as F, aR as O, aS as rn, aT as l, aO as un, aU as V, aV as q, aW as cn, aX as y, aY as sn, aZ as yn, a_ as en } from "./index-Bh6WVkCI.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, j, W, T, d, b, a) {
|
|
19
|
-
var z = j - o, i = W - v, n = b - T, p = a - d, r = p * z - n * i;
|
|
20
|
-
if (!(r * r < l))
|
|
21
|
-
return r = (n * (v - d) - p * (o - T)) / r, [o + r * z, v + r * i];
|
|
22
|
-
}
|
|
23
|
-
function Q(o, v, j, W, T, d, b) {
|
|
24
|
-
var a = o - j, z = v - W, i = (b ? d : -d) / V(a * a + z * z), n = i * z, p = -i * a, r = o + n, s = v + p, e = j + n, f = W + p, w = (r + e) / 2, u = (s + f) / 2, g = e - r, m = f - s, A = g * g + m * m, R = T - d, B = r * f - e * s, D = (m < 0 ? -1 : 1) * V(en(0, R * R * A - B * B)), E = (B * m - g * D) / A, I = (-B * g - m * D) / A, S = (B * m + g * D) / A, x = (-B * g + m * D) / A, h = E - w, t = I - u, c = S - w, C = x - u;
|
|
25
|
-
return h * h + t * t > c * c + C * C && (E = S, I = x), {
|
|
26
|
-
cx: E,
|
|
27
|
-
cy: I,
|
|
28
|
-
x01: -n,
|
|
29
|
-
y01: -p,
|
|
30
|
-
x11: E * (T / R - 1),
|
|
31
|
-
y11: I * (T / R - 1)
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
function Tn() {
|
|
35
|
-
var o = fn, v = ln, j = K(0), W = null, T = mn, d = pn, b = gn, a = null, z = on(i);
|
|
36
|
-
function i() {
|
|
37
|
-
var n, p, r = +o.apply(this, arguments), s = +v.apply(this, arguments), e = T.apply(this, arguments) - rn, f = d.apply(this, arguments) - rn, w = cn(f - e), u = f > e;
|
|
38
|
-
if (a || (a = n = z()), s < r && (p = s, s = r, r = p), !(s > l))
|
|
39
|
-
a.moveTo(0, 0);
|
|
40
|
-
else if (w > un - l)
|
|
41
|
-
a.moveTo(s * F(e), s * O(e)), a.arc(0, 0, s, e, f, !u), r > l && (a.moveTo(r * F(f), r * O(f)), a.arc(0, 0, r, f, e, u));
|
|
42
|
-
else {
|
|
43
|
-
var g = e, m = f, A = e, R = f, B = w, D = w, E = b.apply(this, arguments) / 2, I = E > l && (W ? +W.apply(this, arguments) : V(r * r + s * s)), S = q(cn(s - r) / 2, +j.apply(this, arguments)), x = S, h = S, t, c;
|
|
44
|
-
if (I > l) {
|
|
45
|
-
var C = sn(I / r * O(E)), X = sn(I / s * O(E));
|
|
46
|
-
(B -= C * 2) > l ? (C *= u ? 1 : -1, A += C, R -= C) : (B = 0, A = R = (e + f) / 2), (D -= X * 2) > l ? (X *= u ? 1 : -1, g += X, m -= X) : (D = 0, g = m = (e + f) / 2);
|
|
47
|
-
}
|
|
48
|
-
var G = s * F(g), P = s * O(g), Y = r * F(R), Z = r * O(R);
|
|
49
|
-
if (S > l) {
|
|
50
|
-
var $ = s * F(m), k = s * O(m), U = r * F(A), L = r * O(A), _;
|
|
51
|
-
if (w < an)
|
|
52
|
-
if (_ = xn(G, P, U, L, $, k, Y, Z)) {
|
|
53
|
-
var M = G - _[0], N = P - _[1], H = $ - _[0], J = k - _[1], nn = 1 / O(yn((M * H + N * J) / (V(M * M + N * N) * V(H * H + J * J))) / 2), tn = V(_[0] * _[0] + _[1] * _[1]);
|
|
54
|
-
x = q(S, (r - tn) / (nn - 1)), h = q(S, (s - tn) / (nn + 1));
|
|
55
|
-
} else
|
|
56
|
-
x = h = 0;
|
|
57
|
-
}
|
|
58
|
-
D > l ? h > l ? (t = Q(U, L, G, P, s, h, u), c = Q($, k, Y, Z, s, h, u), a.moveTo(t.cx + t.x01, t.cy + t.y01), h < S ? 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(G, P), a.arc(0, 0, s, g, m, !u)) : a.moveTo(G, P), !(r > l) || !(B > l) ? a.lineTo(Y, Z) : x > l ? (t = Q(Y, Z, $, k, r, -x, u), c = Q(G, P, U, L, r, -x, u), a.lineTo(t.cx + t.x01, t.cy + t.y01), x < S ? 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 = (+T.apply(this, arguments) + +d.apply(this, arguments)) / 2 - an / 2;
|
|
65
|
-
return [F(p) * n, O(p) * n];
|
|
66
|
-
}, i.innerRadius = function(n) {
|
|
67
|
-
return arguments.length ? (o = typeof n == "function" ? n : K(+n), i) : o;
|
|
68
|
-
}, i.outerRadius = function(n) {
|
|
69
|
-
return arguments.length ? (v = typeof n == "function" ? n : K(+n), i) : v;
|
|
70
|
-
}, i.cornerRadius = function(n) {
|
|
71
|
-
return arguments.length ? (j = typeof n == "function" ? n : K(+n), i) : j;
|
|
72
|
-
}, i.padRadius = function(n) {
|
|
73
|
-
return arguments.length ? (W = n == null ? null : typeof n == "function" ? n : K(+n), i) : W;
|
|
74
|
-
}, i.startAngle = function(n) {
|
|
75
|
-
return arguments.length ? (T = typeof n == "function" ? n : K(+n), i) : T;
|
|
76
|
-
}, i.endAngle = function(n) {
|
|
77
|
-
return arguments.length ? (d = typeof n == "function" ? n : K(+n), i) : d;
|
|
78
|
-
}, i.padAngle = function(n) {
|
|
79
|
-
return arguments.length ? (b = typeof n == "function" ? n : K(+n), i) : b;
|
|
80
|
-
}, i.context = function(n) {
|
|
81
|
-
return arguments.length ? (a = n ?? null, i) : a;
|
|
82
|
-
}, i;
|
|
83
|
-
}
|
|
84
|
-
export {
|
|
85
|
-
Tn as v
|
|
86
|
-
};
|