@kong-ui-public/documentation 1.1.2 → 1.1.4
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/{_basePickBy-zlkqRmFy-CQP0PMRw.js → _basePickBy-zlkqRmFy-Dq-PK6tA.js} +27 -27
- package/dist/_baseUniq-SAfYgIkf-DhYxnvgt.js +614 -0
- package/dist/{arc-CK9P6CkJ-B3oiAYoG.js → arc-CK9P6CkJ-lihx_wEv.js} +31 -31
- package/dist/{architecture-I3QFYML2-DJzmbE4M-BYAx4I-4.js → architecture-I3QFYML2-DJzmbE4M-B5s0Q1wg.js} +1 -1
- package/dist/{architectureDiagram-UYN6MBPD-DkZdgpXi-BC7nb0IZ.js → architectureDiagram-UYN6MBPD-DkZdgpXi-CC-fAW7y.js} +850 -850
- package/dist/{blockDiagram-ZHA2E4KO-DnCMGCMN-CU7ARVHN.js → blockDiagram-ZHA2E4KO-DnCMGCMN-B9tod6Dk.js} +477 -477
- package/dist/{c4Diagram-6F5ED5ID-D5yqWyf0-DEuKG0sN.js → c4Diagram-6F5ED5ID-D5yqWyf0-B1iuFSQ1.js} +203 -203
- package/dist/{channel-bVcNKbrJ-C4S-4qV3.js → channel-bVcNKbrJ-DEGmvXXN.js} +1 -1
- package/dist/{chunk-5HRBRIJM-BjQ8go1b-733bxiZ-.js → chunk-5HRBRIJM-BjQ8go1b-BszOhLz8.js} +4 -4
- package/dist/{chunk-7U56Z5CX-awhAxjZ0-DpUJ4fo1.js → chunk-7U56Z5CX-awhAxjZ0-CHd4qyz3.js} +120 -120
- package/dist/{chunk-ASOPGD6M-B5bA_saK-C3yF9T7p.js → chunk-ASOPGD6M-B5bA_saK-RaS3hIfR.js} +1 -1
- package/dist/{chunk-KFBOBJHC-nixdujtH-B4639Jmi.js → chunk-KFBOBJHC-nixdujtH-DCajFn7e.js} +1 -1
- package/dist/{chunk-T2TOU4HS-DqOVhIzl-piSN2Cjl.js → chunk-T2TOU4HS-DqOVhIzl-1waDvYDY.js} +229 -229
- package/dist/{chunk-TMUBEWPD-BRIzn5gH-SlHeKBx9.js → chunk-TMUBEWPD-BRIzn5gH-Ch1SRQ7H.js} +1 -1
- package/dist/{classDiagram-LNE6IOMH-fQzyXfo--C9LjXboP.js → classDiagram-LNE6IOMH-fQzyXfo--BpuwdnmV.js} +4 -4
- package/dist/{classDiagram-v2-MQ7JQ4JX-fQzyXfo--C9LjXboP.js → classDiagram-v2-MQ7JQ4JX-fQzyXfo--BpuwdnmV.js} +4 -4
- package/dist/{clone-_5SW34SG-DtUOH1l1.js → clone-_5SW34SG-BWxdvZXA.js} +1 -1
- package/dist/{cytoscape.esm-DAyNQ0qu-B7WxGuVh.js → cytoscape.esm-DAyNQ0qu-i5PnoWfE.js} +976 -976
- package/dist/{dagre-4EVJKHTY-CcAruc30-DaOjmyb6.js → dagre-4EVJKHTY-CcAruc30-H9W22Yky.js} +85 -85
- package/dist/{diagram-QW4FP2JN-DZT_0aFO-YCKYx1k-.js → diagram-QW4FP2JN-DZT_0aFO-AmG94tp5.js} +21 -21
- package/dist/documentation.es.js +1 -1
- package/dist/{erDiagram-6RL3IURR-BfgUC5jv-CS9Q9iKF.js → erDiagram-6RL3IURR-BfgUC5jv-BNzxBFoY.js} +201 -201
- package/dist/{flowDiagram-7ASYPVHJ-Bo9CnsE7-CkM-DJdr.js → flowDiagram-7ASYPVHJ-Bo9CnsE7-CSLq7kw9.js} +222 -222
- package/dist/{ganttDiagram-NTVNEXSI-8E9hjd6N-iN-VNXrV.js → ganttDiagram-NTVNEXSI-8E9hjd6N-CjQQCbaM.js} +16 -16
- package/dist/{gitGraph-YCYPL57B-BnErPIwo-DWobPBzL.js → gitGraph-YCYPL57B-BnErPIwo-DxQPpoWq.js} +1 -1
- package/dist/{gitGraphDiagram-NRZ2UAAF-B-t90-9e-Co4q5oQK.js → gitGraphDiagram-NRZ2UAAF-B-t90-9e-B6JY8bWo.js} +17 -17
- package/dist/{graph-BYZMvqpu-BpeF1PUA.js → graph-BYZMvqpu-CWGqkYZM.js} +43 -43
- package/dist/{index-ZM4BlVwk.js → index-BXOX6oou.js} +3487 -3487
- package/dist/{info-46DW6VJ7-DPpbx_vA-CnDg11wg.js → info-46DW6VJ7-DPpbx_vA-BmAPar7H.js} +1 -1
- package/dist/{infoDiagram-A4XQUW5V-Bo9uoOcA-WvvF1295.js → infoDiagram-A4XQUW5V-Bo9uoOcA-CtFRRRot.js} +2 -2
- package/dist/{journeyDiagram-G5WM74LC-BE7U42Ad-BFF_wJwi.js → journeyDiagram-G5WM74LC-BE7U42Ad-of9fN5Vr.js} +173 -173
- package/dist/{kanban-definition-QRCXZQQD-C-5-UNRm-LjA3yK5r.js → kanban-definition-QRCXZQQD-C-5-UNRm-DecJsseT.js} +168 -168
- package/dist/{katex-Qk2jHgyB-CF_fuFJb.js → katex-Qk2jHgyB-_qyJ_37x.js} +1054 -1054
- package/dist/{layout-BHI4imdk-DgoNZaqw.js → layout-BHI4imdk-BlkmyDbe.js} +19 -19
- package/dist/{linear-C2PheBya-wGRbEA3e.js → linear-C2PheBya-DijeUNjP.js} +2 -2
- package/dist/{mermaid-parser.core-Ce96PX3Q-DPc-bPXG.js → mermaid-parser.core-Ce96PX3Q-DtNzRUJ7.js} +32 -32
- package/dist/{mindmap-definition-GWI6TPTV-C98Syvj2-DOvfo2r8.js → mindmap-definition-GWI6TPTV-C98Syvj2-Btvji3Oh.js} +421 -421
- package/dist/{packet-W2GHVCYJ-BLiQbm7T-DbS7CM6G.js → packet-W2GHVCYJ-BLiQbm7T-E8ztaW67.js} +1 -1
- package/dist/{pie-BEWT4RHE-D3Mbo3mT-DB-aeuYE.js → pie-BEWT4RHE-D3Mbo3mT-BGVGE8TE.js} +1 -1
- package/dist/{pieDiagram-YF2LJOPJ-BJV27s9B-DS-nBsbY.js → pieDiagram-YF2LJOPJ-BJV27s9B-DVrzAwZP.js} +20 -20
- package/dist/{quadrantDiagram-OS5C2QUG-M57vVPSx-DMjI1wdt.js → quadrantDiagram-OS5C2QUG-M57vVPSx-DrN-qVPg.js} +131 -131
- package/dist/{requirementDiagram-MIRIMTAZ-D0KDg7rf-DeEsJ26T.js → requirementDiagram-MIRIMTAZ-D0KDg7rf-FCJNuddX.js} +77 -77
- package/dist/{sankeyDiagram-Y46BX6SQ-D6EdYPdp-BA6cRE1h.js → sankeyDiagram-Y46BX6SQ-D6EdYPdp-ClC_w0Hg.js} +108 -108
- package/dist/{sequenceDiagram-G6AWOVSC-B171TAb1-DMtStdxJ.js → sequenceDiagram-G6AWOVSC-B171TAb1-B6jBix6L.js} +181 -181
- package/dist/{stateDiagram-MAYHULR4-D7FUnT9_-Du3mnoL2.js → stateDiagram-MAYHULR4-D7FUnT9_-B7dSTUAT.js} +81 -81
- package/dist/{stateDiagram-v2-4JROLMXI-Cyc74STT-DR1h52WB.js → stateDiagram-v2-4JROLMXI-Cyc74STT-BhUBvhmS.js} +4 -4
- package/dist/{timeline-definition-U7ZMHBDA-Bw-dp1yf-BO9wUMSJ.js → timeline-definition-U7ZMHBDA-Bw-dp1yf-DAx9hgzp.js} +126 -126
- package/dist/{xychartDiagram-6QU3TZC5-CqbTSF5W-CwiL6udJ.js → xychartDiagram-6QU3TZC5-CqbTSF5W-Dy5Ia8cd.js} +70 -70
- package/package.json +2 -2
- package/dist/_baseUniq-SAfYgIkf-BO_CV6Oz.js +0 -614
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { _ as
|
|
2
|
-
import { Z as te } from "./linear-C2PheBya-
|
|
1
|
+
import { _ as l, a5 as _e, a6 as be, aj as ee, ak as Se, a7 as ke, a8 as Fe, g as zt, l as qt, a9 as vt, aa as Pe, aq as ve, aE as D, bd as Ce, ad as Le } from "./index-BXOX6oou.js";
|
|
2
|
+
import { Z as te } from "./linear-C2PheBya-DijeUNjP.js";
|
|
3
3
|
var Et = function() {
|
|
4
|
-
var t = /* @__PURE__ */
|
|
4
|
+
var t = /* @__PURE__ */ l(function(Q, n, d, c) {
|
|
5
5
|
for (d = d || {}, c = Q.length; c--; d[Q[c]] = n) ;
|
|
6
6
|
return d;
|
|
7
|
-
}, "o"), a = [1, 3], g = [1, 4], u = [1, 5],
|
|
8
|
-
trace: /* @__PURE__ */
|
|
7
|
+
}, "o"), a = [1, 3], g = [1, 4], u = [1, 5], o = [1, 6], x = [1, 7], _ = [1, 4, 5, 10, 12, 13, 14, 18, 25, 35, 37, 39, 41, 42, 48, 50, 51, 52, 53, 54, 55, 56, 57, 60, 61, 63, 64, 65, 66, 67], h = [1, 4, 5, 10, 12, 13, 14, 18, 25, 28, 35, 37, 39, 41, 42, 48, 50, 51, 52, 53, 54, 55, 56, 57, 60, 61, 63, 64, 65, 66, 67], s = [55, 56, 57], b = [2, 36], p = [1, 37], m = [1, 36], T = [1, 38], y = [1, 35], f = [1, 43], q = [1, 41], H = [1, 14], C = [1, 23], ct = [1, 18], dt = [1, 19], ut = [1, 20], xt = [1, 21], gt = [1, 22], ot = [1, 24], ht = [1, 25], i = [1, 26], It = [1, 27], Wt = [1, 28], Rt = [1, 29], N = [1, 32], O = [1, 33], S = [1, 34], k = [1, 39], F = [1, 40], P = [1, 42], v = [1, 44], Y = [1, 62], M = [1, 61], L = [4, 5, 8, 10, 12, 13, 14, 18, 44, 47, 49, 55, 56, 57, 63, 64, 65, 66, 67], wt = [1, 65], Bt = [1, 66], $t = [1, 67], Ut = [1, 68], Nt = [1, 69], Ot = [1, 70], Qt = [1, 71], Xt = [1, 72], Ht = [1, 73], Yt = [1, 74], Mt = [1, 75], jt = [1, 76], W = [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18], K = [1, 90], J = [1, 91], Z = [1, 92], tt = [1, 99], et = [1, 93], it = [1, 96], at = [1, 94], nt = [1, 95], st = [1, 97], rt = [1, 98], _t = [1, 102], Gt = [10, 55, 56, 57], $ = [4, 5, 6, 8, 10, 11, 13, 17, 18, 19, 20, 55, 56, 57], bt = {
|
|
8
|
+
trace: /* @__PURE__ */ l(function() {
|
|
9
9
|
}, "trace"),
|
|
10
10
|
yy: {},
|
|
11
11
|
symbols_: { error: 2, idStringToken: 3, ALPHA: 4, NUM: 5, NODE_STRING: 6, DOWN: 7, MINUS: 8, DEFAULT: 9, COMMA: 10, COLON: 11, AMP: 12, BRKT: 13, MULT: 14, UNICODE_TEXT: 15, styleComponent: 16, UNIT: 17, SPACE: 18, STYLE: 19, PCT: 20, idString: 21, style: 22, stylesOpt: 23, classDefStatement: 24, CLASSDEF: 25, start: 26, eol: 27, QUADRANT: 28, document: 29, line: 30, statement: 31, axisDetails: 32, quadrantDetails: 33, points: 34, title: 35, title_value: 36, acc_title: 37, acc_title_value: 38, acc_descr: 39, acc_descr_value: 40, acc_descr_multiline_value: 41, section: 42, text: 43, point_start: 44, point_x: 45, point_y: 46, class_name: 47, "X-AXIS": 48, "AXIS-TEXT-DELIMITER": 49, "Y-AXIS": 50, QUADRANT_1: 51, QUADRANT_2: 52, QUADRANT_3: 53, QUADRANT_4: 54, NEWLINE: 55, SEMI: 56, EOF: 57, alphaNumToken: 58, textNoTagsToken: 59, STR: 60, MD_STR: 61, alphaNum: 62, PUNCTUATION: 63, PLUS: 64, EQUALS: 65, DOT: 66, UNDERSCORE: 67, $accept: 0, $end: 1 },
|
|
12
12
|
terminals_: { 2: "error", 4: "ALPHA", 5: "NUM", 6: "NODE_STRING", 7: "DOWN", 8: "MINUS", 9: "DEFAULT", 10: "COMMA", 11: "COLON", 12: "AMP", 13: "BRKT", 14: "MULT", 15: "UNICODE_TEXT", 17: "UNIT", 18: "SPACE", 19: "STYLE", 20: "PCT", 25: "CLASSDEF", 28: "QUADRANT", 35: "title", 36: "title_value", 37: "acc_title", 38: "acc_title_value", 39: "acc_descr", 40: "acc_descr_value", 41: "acc_descr_multiline_value", 42: "section", 44: "point_start", 45: "point_x", 46: "point_y", 47: "class_name", 48: "X-AXIS", 49: "AXIS-TEXT-DELIMITER", 50: "Y-AXIS", 51: "QUADRANT_1", 52: "QUADRANT_2", 53: "QUADRANT_3", 54: "QUADRANT_4", 55: "NEWLINE", 56: "SEMI", 57: "EOF", 60: "STR", 61: "MD_STR", 63: "PUNCTUATION", 64: "PLUS", 65: "EQUALS", 66: "DOT", 67: "UNDERSCORE" },
|
|
13
13
|
productions_: [0, [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [3, 1], [16, 1], [16, 1], [16, 1], [16, 1], [16, 1], [16, 1], [16, 1], [16, 1], [16, 1], [16, 1], [21, 1], [21, 2], [22, 1], [22, 2], [23, 1], [23, 3], [24, 5], [26, 2], [26, 2], [26, 2], [29, 0], [29, 2], [30, 2], [31, 0], [31, 1], [31, 2], [31, 1], [31, 1], [31, 1], [31, 2], [31, 2], [31, 2], [31, 1], [31, 1], [34, 4], [34, 5], [34, 5], [34, 6], [32, 4], [32, 3], [32, 2], [32, 4], [32, 3], [32, 2], [33, 2], [33, 2], [33, 2], [33, 2], [27, 1], [27, 1], [27, 1], [43, 1], [43, 2], [43, 1], [43, 1], [62, 1], [62, 2], [58, 1], [58, 1], [58, 1], [58, 1], [58, 1], [58, 1], [58, 1], [58, 1], [58, 1], [58, 1], [58, 1], [59, 1], [59, 1], [59, 1]],
|
|
14
|
-
performAction: /* @__PURE__ */
|
|
14
|
+
performAction: /* @__PURE__ */ l(function(Q, n, d, c, A, e, R) {
|
|
15
15
|
var r = e.length - 1;
|
|
16
16
|
switch (A) {
|
|
17
17
|
case 23:
|
|
@@ -110,9 +110,9 @@ var Et = function() {
|
|
|
110
110
|
break;
|
|
111
111
|
}
|
|
112
112
|
}, "anonymous"),
|
|
113
|
-
table: [{ 18: a, 26: 1, 27: 2, 28: g, 55: u, 56:
|
|
113
|
+
table: [{ 18: a, 26: 1, 27: 2, 28: g, 55: u, 56: o, 57: x }, { 1: [3] }, { 18: a, 26: 8, 27: 2, 28: g, 55: u, 56: o, 57: x }, { 18: a, 26: 9, 27: 2, 28: g, 55: u, 56: o, 57: x }, t(_, [2, 33], { 29: 10 }), t(h, [2, 61]), t(h, [2, 62]), t(h, [2, 63]), { 1: [2, 30] }, { 1: [2, 31] }, t(s, b, { 30: 11, 31: 12, 24: 13, 32: 15, 33: 16, 34: 17, 43: 30, 58: 31, 1: [2, 32], 4: p, 5: m, 10: T, 12: y, 13: f, 14: q, 18: H, 25: C, 35: ct, 37: dt, 39: ut, 41: xt, 42: gt, 48: ot, 50: ht, 51: i, 52: It, 53: Wt, 54: Rt, 60: N, 61: O, 63: S, 64: k, 65: F, 66: P, 67: v }), t(_, [2, 34]), { 27: 45, 55: u, 56: o, 57: x }, t(s, [2, 37]), t(s, b, { 24: 13, 32: 15, 33: 16, 34: 17, 43: 30, 58: 31, 31: 46, 4: p, 5: m, 10: T, 12: y, 13: f, 14: q, 18: H, 25: C, 35: ct, 37: dt, 39: ut, 41: xt, 42: gt, 48: ot, 50: ht, 51: i, 52: It, 53: Wt, 54: Rt, 60: N, 61: O, 63: S, 64: k, 65: F, 66: P, 67: v }), t(s, [2, 39]), t(s, [2, 40]), t(s, [2, 41]), { 36: [1, 47] }, { 38: [1, 48] }, { 40: [1, 49] }, t(s, [2, 45]), t(s, [2, 46]), { 18: [1, 50] }, { 4: p, 5: m, 10: T, 12: y, 13: f, 14: q, 43: 51, 58: 31, 60: N, 61: O, 63: S, 64: k, 65: F, 66: P, 67: v }, { 4: p, 5: m, 10: T, 12: y, 13: f, 14: q, 43: 52, 58: 31, 60: N, 61: O, 63: S, 64: k, 65: F, 66: P, 67: v }, { 4: p, 5: m, 10: T, 12: y, 13: f, 14: q, 43: 53, 58: 31, 60: N, 61: O, 63: S, 64: k, 65: F, 66: P, 67: v }, { 4: p, 5: m, 10: T, 12: y, 13: f, 14: q, 43: 54, 58: 31, 60: N, 61: O, 63: S, 64: k, 65: F, 66: P, 67: v }, { 4: p, 5: m, 10: T, 12: y, 13: f, 14: q, 43: 55, 58: 31, 60: N, 61: O, 63: S, 64: k, 65: F, 66: P, 67: v }, { 4: p, 5: m, 10: T, 12: y, 13: f, 14: q, 43: 56, 58: 31, 60: N, 61: O, 63: S, 64: k, 65: F, 66: P, 67: v }, { 4: p, 5: m, 8: Y, 10: T, 12: y, 13: f, 14: q, 18: M, 44: [1, 57], 47: [1, 58], 58: 60, 59: 59, 63: S, 64: k, 65: F, 66: P, 67: v }, t(L, [2, 64]), t(L, [2, 66]), t(L, [2, 67]), t(L, [2, 70]), t(L, [2, 71]), t(L, [2, 72]), t(L, [2, 73]), t(L, [2, 74]), t(L, [2, 75]), t(L, [2, 76]), t(L, [2, 77]), t(L, [2, 78]), t(L, [2, 79]), t(L, [2, 80]), t(_, [2, 35]), t(s, [2, 38]), t(s, [2, 42]), t(s, [2, 43]), t(s, [2, 44]), { 3: 64, 4: wt, 5: Bt, 6: $t, 7: Ut, 8: Nt, 9: Ot, 10: Qt, 11: Xt, 12: Ht, 13: Yt, 14: Mt, 15: jt, 21: 63 }, t(s, [2, 53], { 59: 59, 58: 60, 4: p, 5: m, 8: Y, 10: T, 12: y, 13: f, 14: q, 18: M, 49: [1, 77], 63: S, 64: k, 65: F, 66: P, 67: v }), t(s, [2, 56], { 59: 59, 58: 60, 4: p, 5: m, 8: Y, 10: T, 12: y, 13: f, 14: q, 18: M, 49: [1, 78], 63: S, 64: k, 65: F, 66: P, 67: v }), t(s, [2, 57], { 59: 59, 58: 60, 4: p, 5: m, 8: Y, 10: T, 12: y, 13: f, 14: q, 18: M, 63: S, 64: k, 65: F, 66: P, 67: v }), t(s, [2, 58], { 59: 59, 58: 60, 4: p, 5: m, 8: Y, 10: T, 12: y, 13: f, 14: q, 18: M, 63: S, 64: k, 65: F, 66: P, 67: v }), t(s, [2, 59], { 59: 59, 58: 60, 4: p, 5: m, 8: Y, 10: T, 12: y, 13: f, 14: q, 18: M, 63: S, 64: k, 65: F, 66: P, 67: v }), t(s, [2, 60], { 59: 59, 58: 60, 4: p, 5: m, 8: Y, 10: T, 12: y, 13: f, 14: q, 18: M, 63: S, 64: k, 65: F, 66: P, 67: v }), { 45: [1, 79] }, { 44: [1, 80] }, t(L, [2, 65]), t(L, [2, 81]), t(L, [2, 82]), t(L, [2, 83]), { 3: 82, 4: wt, 5: Bt, 6: $t, 7: Ut, 8: Nt, 9: Ot, 10: Qt, 11: Xt, 12: Ht, 13: Yt, 14: Mt, 15: jt, 18: [1, 81] }, t(W, [2, 23]), t(W, [2, 1]), t(W, [2, 2]), t(W, [2, 3]), t(W, [2, 4]), t(W, [2, 5]), t(W, [2, 6]), t(W, [2, 7]), t(W, [2, 8]), t(W, [2, 9]), t(W, [2, 10]), t(W, [2, 11]), t(W, [2, 12]), t(s, [2, 52], { 58: 31, 43: 83, 4: p, 5: m, 10: T, 12: y, 13: f, 14: q, 60: N, 61: O, 63: S, 64: k, 65: F, 66: P, 67: v }), t(s, [2, 55], { 58: 31, 43: 84, 4: p, 5: m, 10: T, 12: y, 13: f, 14: q, 60: N, 61: O, 63: S, 64: k, 65: F, 66: P, 67: v }), { 46: [1, 85] }, { 45: [1, 86] }, { 4: K, 5: J, 6: Z, 8: tt, 11: et, 13: it, 16: 89, 17: at, 18: nt, 19: st, 20: rt, 22: 88, 23: 87 }, t(W, [2, 24]), t(s, [2, 51], { 59: 59, 58: 60, 4: p, 5: m, 8: Y, 10: T, 12: y, 13: f, 14: q, 18: M, 63: S, 64: k, 65: F, 66: P, 67: v }), t(s, [2, 54], { 59: 59, 58: 60, 4: p, 5: m, 8: Y, 10: T, 12: y, 13: f, 14: q, 18: M, 63: S, 64: k, 65: F, 66: P, 67: v }), t(s, [2, 47], { 22: 88, 16: 89, 23: 100, 4: K, 5: J, 6: Z, 8: tt, 11: et, 13: it, 17: at, 18: nt, 19: st, 20: rt }), { 46: [1, 101] }, t(s, [2, 29], { 10: _t }), t(Gt, [2, 27], { 16: 103, 4: K, 5: J, 6: Z, 8: tt, 11: et, 13: it, 17: at, 18: nt, 19: st, 20: rt }), t($, [2, 25]), t($, [2, 13]), t($, [2, 14]), t($, [2, 15]), t($, [2, 16]), t($, [2, 17]), t($, [2, 18]), t($, [2, 19]), t($, [2, 20]), t($, [2, 21]), t($, [2, 22]), t(s, [2, 49], { 10: _t }), t(s, [2, 48], { 22: 88, 16: 89, 23: 104, 4: K, 5: J, 6: Z, 8: tt, 11: et, 13: it, 17: at, 18: nt, 19: st, 20: rt }), { 4: K, 5: J, 6: Z, 8: tt, 11: et, 13: it, 16: 89, 17: at, 18: nt, 19: st, 20: rt, 22: 105 }, t($, [2, 26]), t(s, [2, 50], { 10: _t }), t(Gt, [2, 28], { 16: 103, 4: K, 5: J, 6: Z, 8: tt, 11: et, 13: it, 17: at, 18: nt, 19: st, 20: rt })],
|
|
114
114
|
defaultActions: { 8: [2, 30], 9: [2, 31] },
|
|
115
|
-
parseError: /* @__PURE__ */
|
|
115
|
+
parseError: /* @__PURE__ */ l(function(Q, n) {
|
|
116
116
|
if (n.recoverable)
|
|
117
117
|
this.trace(Q);
|
|
118
118
|
else {
|
|
@@ -120,7 +120,7 @@ var Et = function() {
|
|
|
120
120
|
throw d.hash = n, d;
|
|
121
121
|
}
|
|
122
122
|
}, "parseError"),
|
|
123
|
-
parse: /* @__PURE__ */
|
|
123
|
+
parse: /* @__PURE__ */ l(function(Q) {
|
|
124
124
|
var n = this, d = [0], c = [], A = [null], e = [], R = this.table, r = "", pt = 0, Vt = 0, Te = 2, Kt = 1, me = e.slice.call(arguments, 1), E = Object.create(this.lexer), G = { yy: {} };
|
|
125
125
|
for (var St in this.yy)
|
|
126
126
|
Object.prototype.hasOwnProperty.call(this.yy, St) && (G.yy[St] = this.yy[St]);
|
|
@@ -129,47 +129,47 @@ var Et = function() {
|
|
|
129
129
|
e.push(kt);
|
|
130
130
|
var qe = E.options && E.options.ranges;
|
|
131
131
|
typeof G.yy.parseError == "function" ? this.parseError = G.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
132
|
-
function Ae(
|
|
133
|
-
d.length = d.length - 2 *
|
|
132
|
+
function Ae(B) {
|
|
133
|
+
d.length = d.length - 2 * B, A.length = A.length - B, e.length = e.length - B;
|
|
134
134
|
}
|
|
135
|
-
|
|
135
|
+
l(Ae, "popStack");
|
|
136
136
|
function Jt() {
|
|
137
|
-
var
|
|
138
|
-
return
|
|
137
|
+
var B;
|
|
138
|
+
return B = c.pop() || E.lex() || Kt, typeof B != "number" && (B instanceof Array && (c = B, B = c.pop()), B = n.symbols_[B] || B), B;
|
|
139
139
|
}
|
|
140
|
-
|
|
141
|
-
for (var
|
|
142
|
-
if (V = d[d.length - 1], this.defaultActions[V] ? U = this.defaultActions[V] : ((
|
|
140
|
+
l(Jt, "lex");
|
|
141
|
+
for (var w, V, U, Ft, lt = {}, yt, j, Zt, Tt; ; ) {
|
|
142
|
+
if (V = d[d.length - 1], this.defaultActions[V] ? U = this.defaultActions[V] : ((w === null || typeof w > "u") && (w = Jt()), U = R[V] && R[V][w]), typeof U > "u" || !U.length || !U[0]) {
|
|
143
143
|
var Pt = "";
|
|
144
144
|
Tt = [];
|
|
145
145
|
for (yt in R[V])
|
|
146
146
|
this.terminals_[yt] && yt > Te && Tt.push("'" + this.terminals_[yt] + "'");
|
|
147
147
|
E.showPosition ? Pt = "Parse error on line " + (pt + 1) + `:
|
|
148
148
|
` + E.showPosition() + `
|
|
149
|
-
Expecting ` + Tt.join(", ") + ", got '" + (this.terminals_[
|
|
149
|
+
Expecting ` + Tt.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : Pt = "Parse error on line " + (pt + 1) + ": Unexpected " + (w == Kt ? "end of input" : "'" + (this.terminals_[w] || w) + "'"), this.parseError(Pt, {
|
|
150
150
|
text: E.match,
|
|
151
|
-
token: this.terminals_[
|
|
151
|
+
token: this.terminals_[w] || w,
|
|
152
152
|
line: E.yylineno,
|
|
153
153
|
loc: kt,
|
|
154
154
|
expected: Tt
|
|
155
155
|
});
|
|
156
156
|
}
|
|
157
157
|
if (U[0] instanceof Array && U.length > 1)
|
|
158
|
-
throw new Error("Parse Error: multiple actions possible at state: " + V + ", token: " +
|
|
158
|
+
throw new Error("Parse Error: multiple actions possible at state: " + V + ", token: " + w);
|
|
159
159
|
switch (U[0]) {
|
|
160
160
|
case 1:
|
|
161
|
-
d.push(
|
|
161
|
+
d.push(w), A.push(E.yytext), e.push(E.yylloc), d.push(U[1]), w = null, Vt = E.yyleng, r = E.yytext, pt = E.yylineno, kt = E.yylloc;
|
|
162
162
|
break;
|
|
163
163
|
case 2:
|
|
164
|
-
if (j = this.productions_[U[1]][1],
|
|
164
|
+
if (j = this.productions_[U[1]][1], lt.$ = A[A.length - j], lt._$ = {
|
|
165
165
|
first_line: e[e.length - (j || 1)].first_line,
|
|
166
166
|
last_line: e[e.length - 1].last_line,
|
|
167
167
|
first_column: e[e.length - (j || 1)].first_column,
|
|
168
168
|
last_column: e[e.length - 1].last_column
|
|
169
|
-
}, qe && (
|
|
169
|
+
}, qe && (lt._$.range = [
|
|
170
170
|
e[e.length - (j || 1)].range[0],
|
|
171
171
|
e[e.length - 1].range[1]
|
|
172
|
-
]), Ft = this.performAction.apply(
|
|
172
|
+
]), Ft = this.performAction.apply(lt, [
|
|
173
173
|
r,
|
|
174
174
|
Vt,
|
|
175
175
|
pt,
|
|
@@ -179,7 +179,7 @@ Expecting ` + Tt.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Pt =
|
|
|
179
179
|
e
|
|
180
180
|
].concat(me)), typeof Ft < "u")
|
|
181
181
|
return Ft;
|
|
182
|
-
j && (d = d.slice(0, -1 * j * 2), A = A.slice(0, -1 * j), e = e.slice(0, -1 * j)), d.push(this.productions_[U[1]][0]), A.push(
|
|
182
|
+
j && (d = d.slice(0, -1 * j * 2), A = A.slice(0, -1 * j), e = e.slice(0, -1 * j)), d.push(this.productions_[U[1]][0]), A.push(lt.$), e.push(lt._$), Zt = R[d[d.length - 2]][d[d.length - 1]], d.push(Zt);
|
|
183
183
|
break;
|
|
184
184
|
case 3:
|
|
185
185
|
return !0;
|
|
@@ -190,14 +190,14 @@ Expecting ` + Tt.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Pt =
|
|
|
190
190
|
}, ye = /* @__PURE__ */ function() {
|
|
191
191
|
var Q = {
|
|
192
192
|
EOF: 1,
|
|
193
|
-
parseError: /* @__PURE__ */
|
|
193
|
+
parseError: /* @__PURE__ */ l(function(n, d) {
|
|
194
194
|
if (this.yy.parser)
|
|
195
195
|
this.yy.parser.parseError(n, d);
|
|
196
196
|
else
|
|
197
197
|
throw new Error(n);
|
|
198
198
|
}, "parseError"),
|
|
199
199
|
// resets the lexer, sets new input
|
|
200
|
-
setInput: /* @__PURE__ */
|
|
200
|
+
setInput: /* @__PURE__ */ l(function(n, d) {
|
|
201
201
|
return this.yy = d || this.yy || {}, this._input = n, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
202
202
|
first_line: 1,
|
|
203
203
|
first_column: 0,
|
|
@@ -206,14 +206,14 @@ Expecting ` + Tt.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Pt =
|
|
|
206
206
|
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
207
207
|
}, "setInput"),
|
|
208
208
|
// consumes and returns one char from the input
|
|
209
|
-
input: /* @__PURE__ */
|
|
209
|
+
input: /* @__PURE__ */ l(function() {
|
|
210
210
|
var n = this._input[0];
|
|
211
211
|
this.yytext += n, this.yyleng++, this.offset++, this.match += n, this.matched += n;
|
|
212
212
|
var d = n.match(/(?:\r\n?|\n).*/g);
|
|
213
213
|
return d ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), n;
|
|
214
214
|
}, "input"),
|
|
215
215
|
// unshifts one char (or a string) into the input
|
|
216
|
-
unput: /* @__PURE__ */
|
|
216
|
+
unput: /* @__PURE__ */ l(function(n) {
|
|
217
217
|
var d = n.length, c = n.split(/(?:\r\n?|\n)/g);
|
|
218
218
|
this._input = n + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - d), this.offset -= d;
|
|
219
219
|
var A = this.match.split(/(?:\r\n?|\n)/g);
|
|
@@ -227,11 +227,11 @@ Expecting ` + Tt.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Pt =
|
|
|
227
227
|
}, this.options.ranges && (this.yylloc.range = [e[0], e[0] + this.yyleng - d]), this.yyleng = this.yytext.length, this;
|
|
228
228
|
}, "unput"),
|
|
229
229
|
// When called from action, caches matched text and appends it on next action
|
|
230
|
-
more: /* @__PURE__ */
|
|
230
|
+
more: /* @__PURE__ */ l(function() {
|
|
231
231
|
return this._more = !0, this;
|
|
232
232
|
}, "more"),
|
|
233
233
|
// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
|
|
234
|
-
reject: /* @__PURE__ */
|
|
234
|
+
reject: /* @__PURE__ */ l(function() {
|
|
235
235
|
if (this.options.backtrack_lexer)
|
|
236
236
|
this._backtrack = !0;
|
|
237
237
|
else
|
|
@@ -244,27 +244,27 @@ Expecting ` + Tt.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Pt =
|
|
|
244
244
|
return this;
|
|
245
245
|
}, "reject"),
|
|
246
246
|
// retain first n characters of the match
|
|
247
|
-
less: /* @__PURE__ */
|
|
247
|
+
less: /* @__PURE__ */ l(function(n) {
|
|
248
248
|
this.unput(this.match.slice(n));
|
|
249
249
|
}, "less"),
|
|
250
250
|
// displays already matched input, i.e. for error messages
|
|
251
|
-
pastInput: /* @__PURE__ */
|
|
251
|
+
pastInput: /* @__PURE__ */ l(function() {
|
|
252
252
|
var n = this.matched.substr(0, this.matched.length - this.match.length);
|
|
253
253
|
return (n.length > 20 ? "..." : "") + n.substr(-20).replace(/\n/g, "");
|
|
254
254
|
}, "pastInput"),
|
|
255
255
|
// displays upcoming input, i.e. for error messages
|
|
256
|
-
upcomingInput: /* @__PURE__ */
|
|
256
|
+
upcomingInput: /* @__PURE__ */ l(function() {
|
|
257
257
|
var n = this.match;
|
|
258
258
|
return n.length < 20 && (n += this._input.substr(0, 20 - n.length)), (n.substr(0, 20) + (n.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
259
259
|
}, "upcomingInput"),
|
|
260
260
|
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
261
|
-
showPosition: /* @__PURE__ */
|
|
261
|
+
showPosition: /* @__PURE__ */ l(function() {
|
|
262
262
|
var n = this.pastInput(), d = new Array(n.length + 1).join("-");
|
|
263
263
|
return n + this.upcomingInput() + `
|
|
264
264
|
` + d + "^";
|
|
265
265
|
}, "showPosition"),
|
|
266
266
|
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
267
|
-
test_match: /* @__PURE__ */
|
|
267
|
+
test_match: /* @__PURE__ */ l(function(n, d) {
|
|
268
268
|
var c, A, e;
|
|
269
269
|
if (this.options.backtrack_lexer && (e = {
|
|
270
270
|
yylineno: this.yylineno,
|
|
@@ -300,7 +300,7 @@ Expecting ` + Tt.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Pt =
|
|
|
300
300
|
return !1;
|
|
301
301
|
}, "test_match"),
|
|
302
302
|
// return next match in input
|
|
303
|
-
next: /* @__PURE__ */
|
|
303
|
+
next: /* @__PURE__ */ l(function() {
|
|
304
304
|
if (this.done)
|
|
305
305
|
return this.EOF;
|
|
306
306
|
this._input || (this.done = !0);
|
|
@@ -327,37 +327,37 @@ Expecting ` + Tt.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Pt =
|
|
|
327
327
|
});
|
|
328
328
|
}, "next"),
|
|
329
329
|
// return next match that has a token
|
|
330
|
-
lex: /* @__PURE__ */
|
|
330
|
+
lex: /* @__PURE__ */ l(function() {
|
|
331
331
|
var n = this.next();
|
|
332
332
|
return n || this.lex();
|
|
333
333
|
}, "lex"),
|
|
334
334
|
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
|
|
335
|
-
begin: /* @__PURE__ */
|
|
335
|
+
begin: /* @__PURE__ */ l(function(n) {
|
|
336
336
|
this.conditionStack.push(n);
|
|
337
337
|
}, "begin"),
|
|
338
338
|
// pop the previously active lexer condition state off the condition stack
|
|
339
|
-
popState: /* @__PURE__ */
|
|
339
|
+
popState: /* @__PURE__ */ l(function() {
|
|
340
340
|
var n = this.conditionStack.length - 1;
|
|
341
341
|
return n > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
342
342
|
}, "popState"),
|
|
343
343
|
// produce the lexer rule set which is active for the currently active lexer condition state
|
|
344
|
-
_currentRules: /* @__PURE__ */
|
|
344
|
+
_currentRules: /* @__PURE__ */ l(function() {
|
|
345
345
|
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
346
346
|
}, "_currentRules"),
|
|
347
347
|
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
|
|
348
|
-
topState: /* @__PURE__ */
|
|
348
|
+
topState: /* @__PURE__ */ l(function(n) {
|
|
349
349
|
return n = this.conditionStack.length - 1 - Math.abs(n || 0), n >= 0 ? this.conditionStack[n] : "INITIAL";
|
|
350
350
|
}, "topState"),
|
|
351
351
|
// alias for begin(condition)
|
|
352
|
-
pushState: /* @__PURE__ */
|
|
352
|
+
pushState: /* @__PURE__ */ l(function(n) {
|
|
353
353
|
this.begin(n);
|
|
354
354
|
}, "pushState"),
|
|
355
355
|
// return the number of states currently on the stack
|
|
356
|
-
stateStackSize: /* @__PURE__ */
|
|
356
|
+
stateStackSize: /* @__PURE__ */ l(function() {
|
|
357
357
|
return this.conditionStack.length;
|
|
358
358
|
}, "stateStackSize"),
|
|
359
359
|
options: { "case-insensitive": !0 },
|
|
360
|
-
performAction: /* @__PURE__ */
|
|
360
|
+
performAction: /* @__PURE__ */ l(function(n, d, c, A) {
|
|
361
361
|
switch (c) {
|
|
362
362
|
case 0:
|
|
363
363
|
break;
|
|
@@ -483,10 +483,10 @@ Expecting ` + Tt.join(", ") + ", got '" + (this.terminals_[B] || B) + "'" : Pt =
|
|
|
483
483
|
function ft() {
|
|
484
484
|
this.yy = {};
|
|
485
485
|
}
|
|
486
|
-
return
|
|
486
|
+
return l(ft, "Parser"), ft.prototype = bt, bt.Parser = ft, new ft();
|
|
487
487
|
}();
|
|
488
488
|
Et.parser = Et;
|
|
489
|
-
var Ee = Et, I =
|
|
489
|
+
var Ee = Et, I = Ce(), Ct, De = (Ct = class {
|
|
490
490
|
constructor() {
|
|
491
491
|
this.classes = /* @__PURE__ */ new Map(), this.config = this.getDefaultConfig(), this.themeConfig = this.getDefaultThemeConfig(), this.data = this.getDefaultData();
|
|
492
492
|
}
|
|
@@ -505,7 +505,7 @@ var Ee = Et, I = _e(), Ct, De = (Ct = class {
|
|
|
505
505
|
};
|
|
506
506
|
}
|
|
507
507
|
getDefaultConfig() {
|
|
508
|
-
var t, a, g, u,
|
|
508
|
+
var t, a, g, u, o, x, _, h, s, b, p, m, T, y, f, q, H, C;
|
|
509
509
|
return {
|
|
510
510
|
showXAxis: !0,
|
|
511
511
|
showYAxis: !0,
|
|
@@ -514,7 +514,7 @@ var Ee = Et, I = _e(), Ct, De = (Ct = class {
|
|
|
514
514
|
chartWidth: ((a = D.quadrantChart) == null ? void 0 : a.chartHeight) || 500,
|
|
515
515
|
titlePadding: ((g = D.quadrantChart) == null ? void 0 : g.titlePadding) || 10,
|
|
516
516
|
titleFontSize: ((u = D.quadrantChart) == null ? void 0 : u.titleFontSize) || 20,
|
|
517
|
-
quadrantPadding: ((
|
|
517
|
+
quadrantPadding: ((o = D.quadrantChart) == null ? void 0 : o.quadrantPadding) || 5,
|
|
518
518
|
xAxisLabelPadding: ((x = D.quadrantChart) == null ? void 0 : x.xAxisLabelPadding) || 5,
|
|
519
519
|
yAxisLabelPadding: ((_ = D.quadrantChart) == null ? void 0 : _.yAxisLabelPadding) || 5,
|
|
520
520
|
xAxisLabelFontSize: ((h = D.quadrantChart) == null ? void 0 : h.xAxisLabelFontSize) || 16,
|
|
@@ -568,9 +568,9 @@ var Ee = Et, I = _e(), Ct, De = (Ct = class {
|
|
|
568
568
|
qt.trace("setThemeConfig called with: ", t), this.themeConfig = { ...this.themeConfig, ...t };
|
|
569
569
|
}
|
|
570
570
|
calculateSpace(t, a, g, u) {
|
|
571
|
-
const
|
|
572
|
-
top: t === "top" && a ?
|
|
573
|
-
bottom: t === "bottom" && a ?
|
|
571
|
+
const o = this.config.xAxisLabelPadding * 2 + this.config.xAxisLabelFontSize, x = {
|
|
572
|
+
top: t === "top" && a ? o : 0,
|
|
573
|
+
bottom: t === "bottom" && a ? o : 0
|
|
574
574
|
}, _ = this.config.yAxisLabelPadding * 2 + this.config.yAxisLabelFontSize, h = {
|
|
575
575
|
left: this.config.yAxisPosition === "left" && g ? _ : 0,
|
|
576
576
|
right: this.config.yAxisPosition === "right" && g ? _ : 0
|
|
@@ -592,14 +592,14 @@ var Ee = Et, I = _e(), Ct, De = (Ct = class {
|
|
|
592
592
|
};
|
|
593
593
|
}
|
|
594
594
|
getAxisLabels(t, a, g, u) {
|
|
595
|
-
const { quadrantSpace:
|
|
595
|
+
const { quadrantSpace: o, titleSpace: x } = u, {
|
|
596
596
|
quadrantHalfHeight: _,
|
|
597
597
|
quadrantHeight: h,
|
|
598
598
|
quadrantLeft: s,
|
|
599
599
|
quadrantHalfWidth: b,
|
|
600
600
|
quadrantTop: p,
|
|
601
601
|
quadrantWidth: m
|
|
602
|
-
} =
|
|
602
|
+
} = o, T = !!this.data.xAxisRightText, y = !!this.data.yAxisTopText, f = [];
|
|
603
603
|
return this.data.xAxisLeftText && a && f.push({
|
|
604
604
|
text: this.data.xAxisLeftText,
|
|
605
605
|
fill: this.themeConfig.quadrantXAxisTextFill,
|
|
@@ -639,7 +639,7 @@ var Ee = Et, I = _e(), Ct, De = (Ct = class {
|
|
|
639
639
|
}), f;
|
|
640
640
|
}
|
|
641
641
|
getQuadrants(t) {
|
|
642
|
-
const { quadrantSpace: a } = t, { quadrantHalfHeight: g, quadrantLeft: u, quadrantHalfWidth:
|
|
642
|
+
const { quadrantSpace: a } = t, { quadrantHalfHeight: g, quadrantLeft: u, quadrantHalfWidth: o, quadrantTop: x } = a, _ = [
|
|
643
643
|
{
|
|
644
644
|
text: {
|
|
645
645
|
text: this.data.quadrant1Text,
|
|
@@ -651,9 +651,9 @@ var Ee = Et, I = _e(), Ct, De = (Ct = class {
|
|
|
651
651
|
horizontalPos: "middle",
|
|
652
652
|
rotation: 0
|
|
653
653
|
},
|
|
654
|
-
x: u +
|
|
654
|
+
x: u + o,
|
|
655
655
|
y: x,
|
|
656
|
-
width:
|
|
656
|
+
width: o,
|
|
657
657
|
height: g,
|
|
658
658
|
fill: this.themeConfig.quadrant1Fill
|
|
659
659
|
},
|
|
@@ -670,7 +670,7 @@ var Ee = Et, I = _e(), Ct, De = (Ct = class {
|
|
|
670
670
|
},
|
|
671
671
|
x: u,
|
|
672
672
|
y: x,
|
|
673
|
-
width:
|
|
673
|
+
width: o,
|
|
674
674
|
height: g,
|
|
675
675
|
fill: this.themeConfig.quadrant2Fill
|
|
676
676
|
},
|
|
@@ -687,7 +687,7 @@ var Ee = Et, I = _e(), Ct, De = (Ct = class {
|
|
|
687
687
|
},
|
|
688
688
|
x: u,
|
|
689
689
|
y: x + g,
|
|
690
|
-
width:
|
|
690
|
+
width: o,
|
|
691
691
|
height: g,
|
|
692
692
|
fill: this.themeConfig.quadrant3Fill
|
|
693
693
|
},
|
|
@@ -702,9 +702,9 @@ var Ee = Et, I = _e(), Ct, De = (Ct = class {
|
|
|
702
702
|
horizontalPos: "middle",
|
|
703
703
|
rotation: 0
|
|
704
704
|
},
|
|
705
|
-
x: u +
|
|
705
|
+
x: u + o,
|
|
706
706
|
y: x + g,
|
|
707
|
-
width:
|
|
707
|
+
width: o,
|
|
708
708
|
height: g,
|
|
709
709
|
fill: this.themeConfig.quadrant4Fill
|
|
710
710
|
}
|
|
@@ -714,7 +714,7 @@ var Ee = Et, I = _e(), Ct, De = (Ct = class {
|
|
|
714
714
|
return _;
|
|
715
715
|
}
|
|
716
716
|
getQuadrantPoints(t) {
|
|
717
|
-
const { quadrantSpace: a } = t, { quadrantHeight: g, quadrantLeft: u, quadrantTop:
|
|
717
|
+
const { quadrantSpace: a } = t, { quadrantHeight: g, quadrantLeft: u, quadrantTop: o, quadrantWidth: x } = a, _ = te().domain([0, 1]).range([u, x + u]), h = te().domain([0, 1]).range([g + o, o]);
|
|
718
718
|
return this.data.points.map((s) => {
|
|
719
719
|
const b = this.classes.get(s.className);
|
|
720
720
|
return b && (s = { ...b, ...s }), {
|
|
@@ -740,7 +740,7 @@ var Ee = Et, I = _e(), Ct, De = (Ct = class {
|
|
|
740
740
|
getBorders(t) {
|
|
741
741
|
const a = this.config.quadrantExternalBorderStrokeWidth / 2, { quadrantSpace: g } = t, {
|
|
742
742
|
quadrantHalfHeight: u,
|
|
743
|
-
quadrantHeight:
|
|
743
|
+
quadrantHeight: o,
|
|
744
744
|
quadrantLeft: x,
|
|
745
745
|
quadrantHalfWidth: _,
|
|
746
746
|
quadrantTop: h,
|
|
@@ -763,16 +763,16 @@ var Ee = Et, I = _e(), Ct, De = (Ct = class {
|
|
|
763
763
|
x1: x + s,
|
|
764
764
|
y1: h + a,
|
|
765
765
|
x2: x + s,
|
|
766
|
-
y2: h +
|
|
766
|
+
y2: h + o - a
|
|
767
767
|
},
|
|
768
768
|
// bottom border
|
|
769
769
|
{
|
|
770
770
|
strokeFill: this.themeConfig.quadrantExternalBorderStrokeFill,
|
|
771
771
|
strokeWidth: this.config.quadrantExternalBorderStrokeWidth,
|
|
772
772
|
x1: x - a,
|
|
773
|
-
y1: h +
|
|
773
|
+
y1: h + o,
|
|
774
774
|
x2: x + s + a,
|
|
775
|
-
y2: h +
|
|
775
|
+
y2: h + o
|
|
776
776
|
},
|
|
777
777
|
// left border
|
|
778
778
|
{
|
|
@@ -781,7 +781,7 @@ var Ee = Et, I = _e(), Ct, De = (Ct = class {
|
|
|
781
781
|
x1: x,
|
|
782
782
|
y1: h + a,
|
|
783
783
|
x2: x,
|
|
784
|
-
y2: h +
|
|
784
|
+
y2: h + o - a
|
|
785
785
|
},
|
|
786
786
|
// vertical inner border
|
|
787
787
|
{
|
|
@@ -790,7 +790,7 @@ var Ee = Et, I = _e(), Ct, De = (Ct = class {
|
|
|
790
790
|
x1: x + _,
|
|
791
791
|
y1: h + a,
|
|
792
792
|
x2: x + _,
|
|
793
|
-
y2: h +
|
|
793
|
+
y2: h + o - a
|
|
794
794
|
},
|
|
795
795
|
// horizontal inner border
|
|
796
796
|
{
|
|
@@ -817,98 +817,98 @@ var Ee = Et, I = _e(), Ct, De = (Ct = class {
|
|
|
817
817
|
};
|
|
818
818
|
}
|
|
819
819
|
build() {
|
|
820
|
-
const t = this.config.showXAxis && !!(this.data.xAxisLeftText || this.data.xAxisRightText), a = this.config.showYAxis && !!(this.data.yAxisTopText || this.data.yAxisBottomText), g = this.config.showTitle && !!this.data.titleText, u = this.data.points.length > 0 ? "bottom" : this.config.xAxisPosition,
|
|
820
|
+
const t = this.config.showXAxis && !!(this.data.xAxisLeftText || this.data.xAxisRightText), a = this.config.showYAxis && !!(this.data.yAxisTopText || this.data.yAxisBottomText), g = this.config.showTitle && !!this.data.titleText, u = this.data.points.length > 0 ? "bottom" : this.config.xAxisPosition, o = this.calculateSpace(u, t, a, g);
|
|
821
821
|
return {
|
|
822
|
-
points: this.getQuadrantPoints(
|
|
823
|
-
quadrants: this.getQuadrants(
|
|
824
|
-
axisLabels: this.getAxisLabels(u, t, a,
|
|
825
|
-
borderLines: this.getBorders(
|
|
822
|
+
points: this.getQuadrantPoints(o),
|
|
823
|
+
quadrants: this.getQuadrants(o),
|
|
824
|
+
axisLabels: this.getAxisLabels(u, t, a, o),
|
|
825
|
+
borderLines: this.getBorders(o),
|
|
826
826
|
title: this.getTitle(g)
|
|
827
827
|
};
|
|
828
828
|
}
|
|
829
|
-
},
|
|
829
|
+
}, l(Ct, "QuadrantBuilder"), Ct), Lt, mt = (Lt = class extends Error {
|
|
830
830
|
constructor(t, a, g) {
|
|
831
831
|
super(`value for ${t} ${a} is invalid, please use a valid ${g}`), this.name = "InvalidStyleError";
|
|
832
832
|
}
|
|
833
|
-
},
|
|
833
|
+
}, l(Lt, "InvalidStyleError"), Lt);
|
|
834
834
|
function Dt(t) {
|
|
835
835
|
return !/^#?([\dA-Fa-f]{6}|[\dA-Fa-f]{3})$/.test(t);
|
|
836
836
|
}
|
|
837
|
-
|
|
837
|
+
l(Dt, "validateHexCode");
|
|
838
838
|
function ie(t) {
|
|
839
839
|
return !/^\d+$/.test(t);
|
|
840
840
|
}
|
|
841
|
-
|
|
841
|
+
l(ie, "validateNumber");
|
|
842
842
|
function ae(t) {
|
|
843
843
|
return !/^\d+px$/.test(t);
|
|
844
844
|
}
|
|
845
|
-
|
|
845
|
+
l(ae, "validateSizeInPixels");
|
|
846
846
|
var ze = zt();
|
|
847
847
|
function X(t) {
|
|
848
|
-
return
|
|
848
|
+
return Le(t.trim(), ze);
|
|
849
849
|
}
|
|
850
|
-
|
|
850
|
+
l(X, "textSanitizer");
|
|
851
851
|
var z = new De();
|
|
852
852
|
function ne(t) {
|
|
853
853
|
z.setData({ quadrant1Text: X(t.text) });
|
|
854
854
|
}
|
|
855
|
-
|
|
855
|
+
l(ne, "setQuadrant1Text");
|
|
856
856
|
function se(t) {
|
|
857
857
|
z.setData({ quadrant2Text: X(t.text) });
|
|
858
858
|
}
|
|
859
|
-
|
|
859
|
+
l(se, "setQuadrant2Text");
|
|
860
860
|
function re(t) {
|
|
861
861
|
z.setData({ quadrant3Text: X(t.text) });
|
|
862
862
|
}
|
|
863
|
-
|
|
864
|
-
function
|
|
863
|
+
l(re, "setQuadrant3Text");
|
|
864
|
+
function le(t) {
|
|
865
865
|
z.setData({ quadrant4Text: X(t.text) });
|
|
866
866
|
}
|
|
867
|
-
|
|
868
|
-
function
|
|
867
|
+
l(le, "setQuadrant4Text");
|
|
868
|
+
function oe(t) {
|
|
869
869
|
z.setData({ xAxisLeftText: X(t.text) });
|
|
870
870
|
}
|
|
871
|
-
|
|
871
|
+
l(oe, "setXAxisLeftText");
|
|
872
872
|
function he(t) {
|
|
873
873
|
z.setData({ xAxisRightText: X(t.text) });
|
|
874
874
|
}
|
|
875
|
-
|
|
875
|
+
l(he, "setXAxisRightText");
|
|
876
876
|
function ce(t) {
|
|
877
877
|
z.setData({ yAxisTopText: X(t.text) });
|
|
878
878
|
}
|
|
879
|
-
|
|
879
|
+
l(ce, "setYAxisTopText");
|
|
880
880
|
function de(t) {
|
|
881
881
|
z.setData({ yAxisBottomText: X(t.text) });
|
|
882
882
|
}
|
|
883
|
-
|
|
883
|
+
l(de, "setYAxisBottomText");
|
|
884
884
|
function At(t) {
|
|
885
885
|
const a = {};
|
|
886
886
|
for (const g of t) {
|
|
887
|
-
const [u,
|
|
887
|
+
const [u, o] = g.trim().split(/\s*:\s*/);
|
|
888
888
|
if (u === "radius") {
|
|
889
|
-
if (ie(
|
|
890
|
-
throw new mt(u,
|
|
891
|
-
a.radius = parseInt(
|
|
889
|
+
if (ie(o))
|
|
890
|
+
throw new mt(u, o, "number");
|
|
891
|
+
a.radius = parseInt(o);
|
|
892
892
|
} else if (u === "color") {
|
|
893
|
-
if (Dt(
|
|
894
|
-
throw new mt(u,
|
|
895
|
-
a.color =
|
|
893
|
+
if (Dt(o))
|
|
894
|
+
throw new mt(u, o, "hex code");
|
|
895
|
+
a.color = o;
|
|
896
896
|
} else if (u === "stroke-color") {
|
|
897
|
-
if (Dt(
|
|
898
|
-
throw new mt(u,
|
|
899
|
-
a.strokeColor =
|
|
897
|
+
if (Dt(o))
|
|
898
|
+
throw new mt(u, o, "hex code");
|
|
899
|
+
a.strokeColor = o;
|
|
900
900
|
} else if (u === "stroke-width") {
|
|
901
|
-
if (ae(
|
|
902
|
-
throw new mt(u,
|
|
903
|
-
a.strokeWidth =
|
|
901
|
+
if (ae(o))
|
|
902
|
+
throw new mt(u, o, "number of pixels (eg. 10px)");
|
|
903
|
+
a.strokeWidth = o;
|
|
904
904
|
} else
|
|
905
905
|
throw new Error(`style named ${u} is not supported.`);
|
|
906
906
|
}
|
|
907
907
|
return a;
|
|
908
908
|
}
|
|
909
|
-
|
|
910
|
-
function ue(t, a, g, u,
|
|
911
|
-
const x = At(
|
|
909
|
+
l(At, "parseStyles");
|
|
910
|
+
function ue(t, a, g, u, o) {
|
|
911
|
+
const x = At(o);
|
|
912
912
|
z.addPoints([
|
|
913
913
|
{
|
|
914
914
|
x: g,
|
|
@@ -919,19 +919,19 @@ function ue(t, a, g, u, l) {
|
|
|
919
919
|
}
|
|
920
920
|
]);
|
|
921
921
|
}
|
|
922
|
-
|
|
922
|
+
l(ue, "addPoint");
|
|
923
923
|
function xe(t, a) {
|
|
924
924
|
z.addClass(t, At(a));
|
|
925
925
|
}
|
|
926
|
-
|
|
926
|
+
l(xe, "addClass");
|
|
927
927
|
function ge(t) {
|
|
928
928
|
z.setConfig({ chartWidth: t });
|
|
929
929
|
}
|
|
930
|
-
|
|
930
|
+
l(ge, "setWidth");
|
|
931
931
|
function fe(t) {
|
|
932
932
|
z.setConfig({ chartHeight: t });
|
|
933
933
|
}
|
|
934
|
-
|
|
934
|
+
l(fe, "setHeight");
|
|
935
935
|
function pe() {
|
|
936
936
|
const t = zt(), { themeVariables: a, quadrantChart: g } = t;
|
|
937
937
|
return g && z.setConfig(g), z.setThemeConfig({
|
|
@@ -952,17 +952,17 @@ function pe() {
|
|
|
952
952
|
quadrantTitleFill: a.quadrantTitleFill
|
|
953
953
|
}), z.setData({ titleText: ee() }), z.build();
|
|
954
954
|
}
|
|
955
|
-
|
|
956
|
-
var Ie = /* @__PURE__ */
|
|
957
|
-
z.clear(),
|
|
955
|
+
l(pe, "getQuadrantData");
|
|
956
|
+
var Ie = /* @__PURE__ */ l(function() {
|
|
957
|
+
z.clear(), ve();
|
|
958
958
|
}, "clear"), We = {
|
|
959
959
|
setWidth: ge,
|
|
960
960
|
setHeight: fe,
|
|
961
961
|
setQuadrant1Text: ne,
|
|
962
962
|
setQuadrant2Text: se,
|
|
963
963
|
setQuadrant3Text: re,
|
|
964
|
-
setQuadrant4Text:
|
|
965
|
-
setXAxisLeftText:
|
|
964
|
+
setQuadrant4Text: le,
|
|
965
|
+
setXAxisLeftText: oe,
|
|
966
966
|
setXAxisRightText: he,
|
|
967
967
|
setYAxisTopText: ce,
|
|
968
968
|
setYAxisBottomText: de,
|
|
@@ -971,38 +971,38 @@ var Ie = /* @__PURE__ */ o(function() {
|
|
|
971
971
|
addClass: xe,
|
|
972
972
|
getQuadrantData: pe,
|
|
973
973
|
clear: Ie,
|
|
974
|
-
setAccTitle:
|
|
974
|
+
setAccTitle: Fe,
|
|
975
975
|
getAccTitle: ke,
|
|
976
|
-
setDiagramTitle:
|
|
976
|
+
setDiagramTitle: Se,
|
|
977
977
|
getDiagramTitle: ee,
|
|
978
|
-
getAccDescription:
|
|
979
|
-
setAccDescription:
|
|
980
|
-
}, Re = /* @__PURE__ */
|
|
981
|
-
var
|
|
978
|
+
getAccDescription: be,
|
|
979
|
+
setAccDescription: _e
|
|
980
|
+
}, Re = /* @__PURE__ */ l((t, a, g, u) => {
|
|
981
|
+
var o, x, _;
|
|
982
982
|
function h(i) {
|
|
983
983
|
return i === "top" ? "hanging" : "middle";
|
|
984
984
|
}
|
|
985
|
-
|
|
985
|
+
l(h, "getDominantBaseLine");
|
|
986
986
|
function s(i) {
|
|
987
987
|
return i === "left" ? "start" : "middle";
|
|
988
988
|
}
|
|
989
|
-
|
|
989
|
+
l(s, "getTextAnchor");
|
|
990
990
|
function b(i) {
|
|
991
991
|
return `translate(${i.x}, ${i.y}) rotate(${i.rotation || 0})`;
|
|
992
992
|
}
|
|
993
|
-
|
|
993
|
+
l(b, "getTransformation");
|
|
994
994
|
const p = zt();
|
|
995
995
|
qt.debug(`Rendering quadrant chart
|
|
996
996
|
` + t);
|
|
997
997
|
const m = p.securityLevel;
|
|
998
998
|
let T;
|
|
999
999
|
m === "sandbox" && (T = vt("#i" + a));
|
|
1000
|
-
const y = (m === "sandbox" ? vt(T.nodes()[0].contentDocument.body) : vt("body")).select(`[id="${a}"]`), f = y.append("g").attr("class", "main"), q = ((
|
|
1001
|
-
|
|
1000
|
+
const y = (m === "sandbox" ? vt(T.nodes()[0].contentDocument.body) : vt("body")).select(`[id="${a}"]`), f = y.append("g").attr("class", "main"), q = ((o = p.quadrantChart) == null ? void 0 : o.chartWidth) ?? 500, H = ((x = p.quadrantChart) == null ? void 0 : x.chartHeight) ?? 500;
|
|
1001
|
+
Pe(y, H, q, ((_ = p.quadrantChart) == null ? void 0 : _.useMaxWidth) ?? !0), y.attr("viewBox", "0 0 " + q + " " + H), u.db.setHeight(H), u.db.setWidth(q);
|
|
1002
1002
|
const C = u.db.getQuadrantData(), ct = f.append("g").attr("class", "quadrants"), dt = f.append("g").attr("class", "border"), ut = f.append("g").attr("class", "data-points"), xt = f.append("g").attr("class", "labels"), gt = f.append("g").attr("class", "title");
|
|
1003
1003
|
C.title && gt.append("text").attr("x", 0).attr("y", 0).attr("fill", C.title.fill).attr("font-size", C.title.fontSize).attr("dominant-baseline", h(C.title.horizontalPos)).attr("text-anchor", s(C.title.verticalPos)).attr("transform", b(C.title)).text(C.title.text), C.borderLines && dt.selectAll("line").data(C.borderLines).enter().append("line").attr("x1", (i) => i.x1).attr("y1", (i) => i.y1).attr("x2", (i) => i.x2).attr("y2", (i) => i.y2).style("stroke", (i) => i.strokeFill).style("stroke-width", (i) => i.strokeWidth);
|
|
1004
|
-
const
|
|
1005
|
-
|
|
1004
|
+
const ot = ct.selectAll("g.quadrant").data(C.quadrants).enter().append("g").attr("class", "quadrant");
|
|
1005
|
+
ot.append("rect").attr("x", (i) => i.x).attr("y", (i) => i.y).attr("width", (i) => i.width).attr("height", (i) => i.height).attr("fill", (i) => i.fill), ot.append("text").attr("x", 0).attr("y", 0).attr("fill", (i) => i.text.fill).attr("font-size", (i) => i.text.fontSize).attr(
|
|
1006
1006
|
"dominant-baseline",
|
|
1007
1007
|
(i) => h(i.text.horizontalPos)
|
|
1008
1008
|
).attr("text-anchor", (i) => s(i.text.verticalPos)).attr("transform", (i) => b(i.text)).text((i) => i.text.text), xt.selectAll("g.label").data(C.axisLabels).enter().append("g").attr("class", "label").append("text").attr("x", 0).attr("y", 0).text((i) => i.text).attr("fill", (i) => i.fill).attr("font-size", (i) => i.fontSize).attr("dominant-baseline", (i) => h(i.horizontalPos)).attr("text-anchor", (i) => s(i.verticalPos)).attr("transform", (i) => b(i));
|
|
@@ -1011,13 +1011,13 @@ var Ie = /* @__PURE__ */ o(function() {
|
|
|
1011
1011
|
"dominant-baseline",
|
|
1012
1012
|
(i) => h(i.text.horizontalPos)
|
|
1013
1013
|
).attr("text-anchor", (i) => s(i.text.verticalPos)).attr("transform", (i) => b(i.text));
|
|
1014
|
-
}, "draw"),
|
|
1014
|
+
}, "draw"), we = {
|
|
1015
1015
|
draw: Re
|
|
1016
1016
|
}, Ue = {
|
|
1017
1017
|
parser: Ee,
|
|
1018
1018
|
db: We,
|
|
1019
|
-
renderer:
|
|
1020
|
-
styles: /* @__PURE__ */
|
|
1019
|
+
renderer: we,
|
|
1020
|
+
styles: /* @__PURE__ */ l(() => "", "styles")
|
|
1021
1021
|
};
|
|
1022
1022
|
export {
|
|
1023
1023
|
Ue as diagram
|