lowcoder-comps 2.4.14 → 2.4.16

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.
Files changed (51) hide show
  1. package/{fc3b7856.js → 1043ea14.js} +247 -258
  2. package/{52a11357.js → 14530b4e.js} +5 -5
  3. package/{029476f8.js → 145794bd.js} +4 -4
  4. package/248f3eba.js +797 -0
  5. package/{e6f7d4a7.js → 28364e9c.js} +411 -451
  6. package/{a3820fc3.js → 38ec0f55.js} +3 -3
  7. package/{6296008d.js → 40bee586.js} +55069 -55754
  8. package/{256b619e.js → 428ebac9.js} +14 -15
  9. package/{21e8a932.js → 4407a5f9.js} +1 -1
  10. package/{286121b3.js → 474d7e5f.js} +6 -6
  11. package/{32d11caf.js → 48ca2a1e.js} +2 -2
  12. package/5b2c9b5c.js +206 -0
  13. package/{b42bc0a6.js → 633f4ede.js} +919 -969
  14. package/{35b2542e.js → 668d3da2.js} +1 -1
  15. package/{005a58c0.js → 78321d1a.js} +4 -4
  16. package/{2ea4f729.js → 7c479abc.js} +8 -8
  17. package/{09ab5d81.js → 7c7200e7.js} +7 -7
  18. package/{d42741f5.js → 7e6d090c.js} +1067 -1085
  19. package/7e78c333.js +373 -0
  20. package/{abadf1f6.js → 88415712.js} +140 -141
  21. package/{43254cb0.js → 8ae1f7a4.js} +4 -5
  22. package/{af28f5d5.js → 8e6be41e.js} +4 -4
  23. package/{a73a7fb8.js → 8ffe69e1.js} +6 -6
  24. package/{14a0be5d.js → 9afbfdff.js} +1 -1
  25. package/{25f232c1.js → a8987699.js} +6 -6
  26. package/afdeb8e9.js +190 -0
  27. package/c0405acc.js +1083 -0
  28. package/{08ea4a8f.js → ca993649.js} +2 -2
  29. package/{bf684fc8.js → cc8ba9a3.js} +12713 -12735
  30. package/{bcd4bce3.js → d27497a0.js} +18 -18
  31. package/{c69763fa.js → dbeb2d17.js} +2 -2
  32. package/{6741b2b9.js → de3e61cd.js} +68 -69
  33. package/df15a543.js +817 -0
  34. package/{47848c42.js → e5b014a9.js} +5 -5
  35. package/e86c3e3a.js +1264 -0
  36. package/{0f43fe1e.js → eb52cd1a.js} +8 -8
  37. package/{0da7ca4d.js → ebbe2009.js} +92 -92
  38. package/{cb338c34.js → ecab0a38.js} +96 -99
  39. package/{268c902c.js → f3455869.js} +26 -27
  40. package/f701d7da.js +433 -0
  41. package/{6402852d.js → fc681b47.js} +12 -12
  42. package/index.js +2 -2
  43. package/package.json +1 -1
  44. package/04c7d898.js +0 -819
  45. package/078d4a18.js +0 -818
  46. package/18cd6b56.js +0 -391
  47. package/1a8f0a25.js +0 -455
  48. package/2b4f4275.js +0 -1276
  49. package/2efee7c6.js +0 -1102
  50. package/a6a69647.js +0 -237
  51. package/c2bb8612.js +0 -208
@@ -1,163 +1,152 @@
1
- var zt = Object.defineProperty;
2
- var bt = Object.getOwnPropertySymbols;
3
- var Et = Object.prototype.hasOwnProperty, Dt = Object.prototype.propertyIsEnumerable;
4
- var At = (e, a, r) => a in e ? zt(e, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[a] = r, tt = (e, a) => {
5
- for (var r in a || (a = {}))
6
- Et.call(a, r) && At(e, r, a[r]);
7
- if (bt)
8
- for (var r of bt(a))
9
- Dt.call(a, r) && At(e, r, a[r]);
10
- return e;
11
- };
12
- import { Z as It, e as qt, W as D, l as ht, s as Bt, a as wt, F as Rt, G as kt, b as Vt, d as Wt, H as Nt, j as pt, k as Ut, f as Qt } from "./6296008d.js";
13
- import { l as St } from "./029476f8.js";
1
+ import { Z as vt, e as yt, W as D, l as ot, s as Lt, a as Ct, F as zt, G as bt, b as Et, d as Dt, H as It, j as gt, k as Bt, f as wt } from "./40bee586.js";
2
+ import { l as mt } from "./145794bd.js";
14
3
  import "./f9637058.js";
15
- var yt = function() {
16
- var e = function(K, s, l, o) {
17
- for (l = l || {}, o = K.length; o--; l[K[o]] = s)
4
+ var pt = function() {
5
+ var e = function(K, n, r, l) {
6
+ for (r = r || {}, l = K.length; l--; r[K[l]] = n)
18
7
  ;
19
- return l;
20
- }, a = [1, 3], r = [1, 4], x = [1, 5], f = [1, 6], d = [1, 7], c = [1, 5, 13, 15, 17, 19, 20, 25, 27, 28, 29, 30, 31, 32, 33, 34, 37, 38, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50], g = [1, 5, 6, 13, 15, 17, 19, 20, 25, 27, 28, 29, 30, 31, 32, 33, 34, 37, 38, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50], i = [32, 33, 34], y = [2, 7], p = [1, 13], B = [1, 17], N = [1, 18], V = [1, 19], I = [1, 20], b = [1, 21], M = [1, 22], X = [1, 23], C = [1, 24], at = [1, 25], nt = [1, 26], st = [1, 27], U = [1, 30], Q = [1, 31], T = [1, 32], m = [1, 33], _ = [1, 34], t = [1, 35], A = [1, 36], S = [1, 37], k = [1, 38], F = [1, 39], P = [1, 40], v = [1, 41], L = [1, 42], O = [1, 57], Y = [1, 58], z = [5, 22, 26, 32, 33, 34, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51], ct = {
8
+ return r;
9
+ }, s = [1, 3], h = [1, 4], x = [1, 5], f = [1, 6], d = [1, 7], c = [1, 5, 13, 15, 17, 19, 20, 25, 27, 28, 29, 30, 31, 32, 33, 34, 37, 38, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50], g = [1, 5, 6, 13, 15, 17, 19, 20, 25, 27, 28, 29, 30, 31, 32, 33, 34, 37, 38, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50], i = [32, 33, 34], y = [2, 7], p = [1, 13], B = [1, 17], N = [1, 18], V = [1, 19], I = [1, 20], b = [1, 21], M = [1, 22], X = [1, 23], C = [1, 24], it = [1, 25], at = [1, 26], nt = [1, 27], U = [1, 30], Q = [1, 31], T = [1, 32], m = [1, 33], _ = [1, 34], t = [1, 35], A = [1, 36], S = [1, 37], k = [1, 38], F = [1, 39], P = [1, 40], v = [1, 41], L = [1, 42], O = [1, 57], Y = [1, 58], z = [5, 22, 26, 32, 33, 34, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51], ht = {
21
10
  trace: function() {
22
11
  },
23
12
  yy: {},
24
13
  symbols_: { error: 2, start: 3, eol: 4, SPACE: 5, QUADRANT: 6, document: 7, line: 8, statement: 9, axisDetails: 10, quadrantDetails: 11, points: 12, title: 13, title_value: 14, acc_title: 15, acc_title_value: 16, acc_descr: 17, acc_descr_value: 18, acc_descr_multiline_value: 19, section: 20, text: 21, point_start: 22, point_x: 23, point_y: 24, "X-AXIS": 25, "AXIS-TEXT-DELIMITER": 26, "Y-AXIS": 27, QUADRANT_1: 28, QUADRANT_2: 29, QUADRANT_3: 30, QUADRANT_4: 31, NEWLINE: 32, SEMI: 33, EOF: 34, alphaNumToken: 35, textNoTagsToken: 36, STR: 37, MD_STR: 38, alphaNum: 39, PUNCTUATION: 40, AMP: 41, NUM: 42, ALPHA: 43, COMMA: 44, PLUS: 45, EQUALS: 46, MULT: 47, DOT: 48, BRKT: 49, UNDERSCORE: 50, MINUS: 51, $accept: 0, $end: 1 },
25
14
  terminals_: { 2: "error", 5: "SPACE", 6: "QUADRANT", 13: "title", 14: "title_value", 15: "acc_title", 16: "acc_title_value", 17: "acc_descr", 18: "acc_descr_value", 19: "acc_descr_multiline_value", 20: "section", 22: "point_start", 23: "point_x", 24: "point_y", 25: "X-AXIS", 26: "AXIS-TEXT-DELIMITER", 27: "Y-AXIS", 28: "QUADRANT_1", 29: "QUADRANT_2", 30: "QUADRANT_3", 31: "QUADRANT_4", 32: "NEWLINE", 33: "SEMI", 34: "EOF", 37: "STR", 38: "MD_STR", 40: "PUNCTUATION", 41: "AMP", 42: "NUM", 43: "ALPHA", 44: "COMMA", 45: "PLUS", 46: "EQUALS", 47: "MULT", 48: "DOT", 49: "BRKT", 50: "UNDERSCORE", 51: "MINUS" },
26
15
  productions_: [0, [3, 2], [3, 2], [3, 2], [7, 0], [7, 2], [8, 2], [9, 0], [9, 2], [9, 1], [9, 1], [9, 1], [9, 2], [9, 2], [9, 2], [9, 1], [9, 1], [12, 4], [10, 4], [10, 3], [10, 2], [10, 4], [10, 3], [10, 2], [11, 2], [11, 2], [11, 2], [11, 2], [4, 1], [4, 1], [4, 1], [21, 1], [21, 2], [21, 1], [21, 1], [39, 1], [39, 2], [35, 1], [35, 1], [35, 1], [35, 1], [35, 1], [35, 1], [35, 1], [35, 1], [35, 1], [35, 1], [35, 1], [36, 1], [36, 1], [36, 1]],
27
- performAction: function(s, l, o, h, q, n, it) {
28
- var u = n.length - 1;
16
+ performAction: function(n, r, l, o, q, a, et) {
17
+ var u = a.length - 1;
29
18
  switch (q) {
30
19
  case 12:
31
- this.$ = n[u].trim(), h.setDiagramTitle(this.$);
20
+ this.$ = a[u].trim(), o.setDiagramTitle(this.$);
32
21
  break;
33
22
  case 13:
34
- this.$ = n[u].trim(), h.setAccTitle(this.$);
23
+ this.$ = a[u].trim(), o.setAccTitle(this.$);
35
24
  break;
36
25
  case 14:
37
26
  case 15:
38
- this.$ = n[u].trim(), h.setAccDescription(this.$);
27
+ this.$ = a[u].trim(), o.setAccDescription(this.$);
39
28
  break;
40
29
  case 16:
41
- h.addSection(n[u].substr(8)), this.$ = n[u].substr(8);
30
+ o.addSection(a[u].substr(8)), this.$ = a[u].substr(8);
42
31
  break;
43
32
  case 17:
44
- h.addPoint(n[u - 3], n[u - 1], n[u]);
33
+ o.addPoint(a[u - 3], a[u - 1], a[u]);
45
34
  break;
46
35
  case 18:
47
- h.setXAxisLeftText(n[u - 2]), h.setXAxisRightText(n[u]);
36
+ o.setXAxisLeftText(a[u - 2]), o.setXAxisRightText(a[u]);
48
37
  break;
49
38
  case 19:
50
- n[u - 1].text += " ⟶ ", h.setXAxisLeftText(n[u - 1]);
39
+ a[u - 1].text += " ⟶ ", o.setXAxisLeftText(a[u - 1]);
51
40
  break;
52
41
  case 20:
53
- h.setXAxisLeftText(n[u]);
42
+ o.setXAxisLeftText(a[u]);
54
43
  break;
55
44
  case 21:
56
- h.setYAxisBottomText(n[u - 2]), h.setYAxisTopText(n[u]);
45
+ o.setYAxisBottomText(a[u - 2]), o.setYAxisTopText(a[u]);
57
46
  break;
58
47
  case 22:
59
- n[u - 1].text += " ⟶ ", h.setYAxisBottomText(n[u - 1]);
48
+ a[u - 1].text += " ⟶ ", o.setYAxisBottomText(a[u - 1]);
60
49
  break;
61
50
  case 23:
62
- h.setYAxisBottomText(n[u]);
51
+ o.setYAxisBottomText(a[u]);
63
52
  break;
64
53
  case 24:
65
- h.setQuadrant1Text(n[u]);
54
+ o.setQuadrant1Text(a[u]);
66
55
  break;
67
56
  case 25:
68
- h.setQuadrant2Text(n[u]);
57
+ o.setQuadrant2Text(a[u]);
69
58
  break;
70
59
  case 26:
71
- h.setQuadrant3Text(n[u]);
60
+ o.setQuadrant3Text(a[u]);
72
61
  break;
73
62
  case 27:
74
- h.setQuadrant4Text(n[u]);
63
+ o.setQuadrant4Text(a[u]);
75
64
  break;
76
65
  case 31:
77
- this.$ = { text: n[u], type: "text" };
66
+ this.$ = { text: a[u], type: "text" };
78
67
  break;
79
68
  case 32:
80
- this.$ = { text: n[u - 1].text + "" + n[u], type: n[u - 1].type };
69
+ this.$ = { text: a[u - 1].text + "" + a[u], type: a[u - 1].type };
81
70
  break;
82
71
  case 33:
83
- this.$ = { text: n[u], type: "text" };
72
+ this.$ = { text: a[u], type: "text" };
84
73
  break;
85
74
  case 34:
86
- this.$ = { text: n[u], type: "markdown" };
75
+ this.$ = { text: a[u], type: "markdown" };
87
76
  break;
88
77
  case 35:
89
- this.$ = n[u];
78
+ this.$ = a[u];
90
79
  break;
91
80
  case 36:
92
- this.$ = n[u - 1] + "" + n[u];
81
+ this.$ = a[u - 1] + "" + a[u];
93
82
  break;
94
83
  }
95
84
  },
96
- table: [{ 3: 1, 4: 2, 5: a, 6: r, 32: x, 33: f, 34: d }, { 1: [3] }, { 3: 8, 4: 2, 5: a, 6: r, 32: x, 33: f, 34: d }, { 3: 9, 4: 2, 5: a, 6: r, 32: x, 33: f, 34: d }, e(c, [2, 4], { 7: 10 }), e(g, [2, 28]), e(g, [2, 29]), e(g, [2, 30]), { 1: [2, 1] }, { 1: [2, 2] }, e(i, y, { 8: 11, 9: 12, 10: 14, 11: 15, 12: 16, 21: 28, 35: 29, 1: [2, 3], 5: p, 13: B, 15: N, 17: V, 19: I, 20: b, 25: M, 27: X, 28: C, 29: at, 30: nt, 31: st, 37: U, 38: Q, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L }), e(c, [2, 5]), { 4: 43, 32: x, 33: f, 34: d }, e(i, y, { 10: 14, 11: 15, 12: 16, 21: 28, 35: 29, 9: 44, 5: p, 13: B, 15: N, 17: V, 19: I, 20: b, 25: M, 27: X, 28: C, 29: at, 30: nt, 31: st, 37: U, 38: Q, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L }), e(i, [2, 9]), e(i, [2, 10]), e(i, [2, 11]), { 14: [1, 45] }, { 16: [1, 46] }, { 18: [1, 47] }, e(i, [2, 15]), e(i, [2, 16]), { 21: 48, 35: 29, 37: U, 38: Q, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L }, { 21: 49, 35: 29, 37: U, 38: Q, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L }, { 21: 50, 35: 29, 37: U, 38: Q, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L }, { 21: 51, 35: 29, 37: U, 38: Q, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L }, { 21: 52, 35: 29, 37: U, 38: Q, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L }, { 21: 53, 35: 29, 37: U, 38: Q, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L }, { 5: O, 22: [1, 54], 35: 56, 36: 55, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L, 51: Y }, e(z, [2, 31]), e(z, [2, 33]), e(z, [2, 34]), e(z, [2, 37]), e(z, [2, 38]), e(z, [2, 39]), e(z, [2, 40]), e(z, [2, 41]), e(z, [2, 42]), e(z, [2, 43]), e(z, [2, 44]), e(z, [2, 45]), e(z, [2, 46]), e(z, [2, 47]), e(c, [2, 6]), e(i, [2, 8]), e(i, [2, 12]), e(i, [2, 13]), e(i, [2, 14]), e(i, [2, 20], { 36: 55, 35: 56, 5: O, 26: [1, 59], 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L, 51: Y }), e(i, [2, 23], { 36: 55, 35: 56, 5: O, 26: [1, 60], 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L, 51: Y }), e(i, [2, 24], { 36: 55, 35: 56, 5: O, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L, 51: Y }), e(i, [2, 25], { 36: 55, 35: 56, 5: O, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L, 51: Y }), e(i, [2, 26], { 36: 55, 35: 56, 5: O, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L, 51: Y }), e(i, [2, 27], { 36: 55, 35: 56, 5: O, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L, 51: Y }), { 23: [1, 61] }, e(z, [2, 32]), e(z, [2, 48]), e(z, [2, 49]), e(z, [2, 50]), e(i, [2, 19], { 35: 29, 21: 62, 37: U, 38: Q, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L }), e(i, [2, 22], { 35: 29, 21: 63, 37: U, 38: Q, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L }), { 24: [1, 64] }, e(i, [2, 18], { 36: 55, 35: 56, 5: O, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L, 51: Y }), e(i, [2, 21], { 36: 55, 35: 56, 5: O, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L, 51: Y }), e(i, [2, 17])],
85
+ table: [{ 3: 1, 4: 2, 5: s, 6: h, 32: x, 33: f, 34: d }, { 1: [3] }, { 3: 8, 4: 2, 5: s, 6: h, 32: x, 33: f, 34: d }, { 3: 9, 4: 2, 5: s, 6: h, 32: x, 33: f, 34: d }, e(c, [2, 4], { 7: 10 }), e(g, [2, 28]), e(g, [2, 29]), e(g, [2, 30]), { 1: [2, 1] }, { 1: [2, 2] }, e(i, y, { 8: 11, 9: 12, 10: 14, 11: 15, 12: 16, 21: 28, 35: 29, 1: [2, 3], 5: p, 13: B, 15: N, 17: V, 19: I, 20: b, 25: M, 27: X, 28: C, 29: it, 30: at, 31: nt, 37: U, 38: Q, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L }), e(c, [2, 5]), { 4: 43, 32: x, 33: f, 34: d }, e(i, y, { 10: 14, 11: 15, 12: 16, 21: 28, 35: 29, 9: 44, 5: p, 13: B, 15: N, 17: V, 19: I, 20: b, 25: M, 27: X, 28: C, 29: it, 30: at, 31: nt, 37: U, 38: Q, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L }), e(i, [2, 9]), e(i, [2, 10]), e(i, [2, 11]), { 14: [1, 45] }, { 16: [1, 46] }, { 18: [1, 47] }, e(i, [2, 15]), e(i, [2, 16]), { 21: 48, 35: 29, 37: U, 38: Q, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L }, { 21: 49, 35: 29, 37: U, 38: Q, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L }, { 21: 50, 35: 29, 37: U, 38: Q, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L }, { 21: 51, 35: 29, 37: U, 38: Q, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L }, { 21: 52, 35: 29, 37: U, 38: Q, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L }, { 21: 53, 35: 29, 37: U, 38: Q, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L }, { 5: O, 22: [1, 54], 35: 56, 36: 55, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L, 51: Y }, e(z, [2, 31]), e(z, [2, 33]), e(z, [2, 34]), e(z, [2, 37]), e(z, [2, 38]), e(z, [2, 39]), e(z, [2, 40]), e(z, [2, 41]), e(z, [2, 42]), e(z, [2, 43]), e(z, [2, 44]), e(z, [2, 45]), e(z, [2, 46]), e(z, [2, 47]), e(c, [2, 6]), e(i, [2, 8]), e(i, [2, 12]), e(i, [2, 13]), e(i, [2, 14]), e(i, [2, 20], { 36: 55, 35: 56, 5: O, 26: [1, 59], 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L, 51: Y }), e(i, [2, 23], { 36: 55, 35: 56, 5: O, 26: [1, 60], 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L, 51: Y }), e(i, [2, 24], { 36: 55, 35: 56, 5: O, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L, 51: Y }), e(i, [2, 25], { 36: 55, 35: 56, 5: O, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L, 51: Y }), e(i, [2, 26], { 36: 55, 35: 56, 5: O, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L, 51: Y }), e(i, [2, 27], { 36: 55, 35: 56, 5: O, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L, 51: Y }), { 23: [1, 61] }, e(z, [2, 32]), e(z, [2, 48]), e(z, [2, 49]), e(z, [2, 50]), e(i, [2, 19], { 35: 29, 21: 62, 37: U, 38: Q, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L }), e(i, [2, 22], { 35: 29, 21: 63, 37: U, 38: Q, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L }), { 24: [1, 64] }, e(i, [2, 18], { 36: 55, 35: 56, 5: O, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L, 51: Y }), e(i, [2, 21], { 36: 55, 35: 56, 5: O, 40: T, 41: m, 42: _, 43: t, 44: A, 45: S, 46: k, 47: F, 48: P, 49: v, 50: L, 51: Y }), e(i, [2, 17])],
97
86
  defaultActions: { 8: [2, 1], 9: [2, 2] },
98
- parseError: function(s, l) {
99
- if (l.recoverable)
100
- this.trace(s);
87
+ parseError: function(n, r) {
88
+ if (r.recoverable)
89
+ this.trace(n);
101
90
  else {
102
- var o = new Error(s);
103
- throw o.hash = l, o;
91
+ var l = new Error(n);
92
+ throw l.hash = r, l;
104
93
  }
105
94
  },
106
- parse: function(s) {
107
- var l = this, o = [0], h = [], q = [null], n = [], it = this.table, u = "", rt = 0, Tt = 0, Pt = 2, _t = 1, vt = n.slice.call(arguments, 1), E = Object.create(this.lexer), Z = { yy: {} };
108
- for (var ut in this.yy)
109
- Object.prototype.hasOwnProperty.call(this.yy, ut) && (Z.yy[ut] = this.yy[ut]);
110
- E.setInput(s, Z.yy), Z.yy.lexer = E, Z.yy.parser = this, typeof E.yylloc == "undefined" && (E.yylloc = {});
111
- var xt = E.yylloc;
112
- n.push(xt);
113
- var Lt = E.options && E.options.ranges;
95
+ parse: function(n) {
96
+ var r = this, l = [0], o = [], q = [null], a = [], et = this.table, u = "", st = 0, qt = 0, St = 2, Tt = 1, kt = a.slice.call(arguments, 1), E = Object.create(this.lexer), Z = { yy: {} };
97
+ for (var dt in this.yy)
98
+ Object.prototype.hasOwnProperty.call(this.yy, dt) && (Z.yy[dt] = this.yy[dt]);
99
+ E.setInput(n, Z.yy), Z.yy.lexer = E, Z.yy.parser = this, typeof E.yylloc > "u" && (E.yylloc = {});
100
+ var ut = E.yylloc;
101
+ a.push(ut);
102
+ var Ft = E.options && E.options.ranges;
114
103
  typeof Z.yy.parseError == "function" ? this.parseError = Z.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
115
- function Ct() {
104
+ function Pt() {
116
105
  var j;
117
- return j = h.pop() || E.lex() || _t, typeof j != "number" && (j instanceof Array && (h = j, j = h.pop()), j = l.symbols_[j] || j), j;
106
+ return j = o.pop() || E.lex() || Tt, typeof j != "number" && (j instanceof Array && (o = j, j = o.pop()), j = r.symbols_[j] || j), j;
118
107
  }
119
- for (var W, J, H, ft, et = {}, lt, $, mt, ot; ; ) {
120
- if (J = o[o.length - 1], this.defaultActions[J] ? H = this.defaultActions[J] : ((W === null || typeof W == "undefined") && (W = Ct()), H = it[J] && it[J][W]), typeof H == "undefined" || !H.length || !H[0]) {
121
- var gt = "";
122
- ot = [];
123
- for (lt in it[J])
124
- this.terminals_[lt] && lt > Pt && ot.push("'" + this.terminals_[lt] + "'");
125
- E.showPosition ? gt = "Parse error on line " + (rt + 1) + `:
108
+ for (var W, J, H, xt, tt = {}, rt, $, _t, lt; ; ) {
109
+ if (J = l[l.length - 1], this.defaultActions[J] ? H = this.defaultActions[J] : ((W === null || typeof W > "u") && (W = Pt()), H = et[J] && et[J][W]), typeof H > "u" || !H.length || !H[0]) {
110
+ var ft = "";
111
+ lt = [];
112
+ for (rt in et[J])
113
+ this.terminals_[rt] && rt > St && lt.push("'" + this.terminals_[rt] + "'");
114
+ E.showPosition ? ft = "Parse error on line " + (st + 1) + `:
126
115
  ` + E.showPosition() + `
127
- Expecting ` + ot.join(", ") + ", got '" + (this.terminals_[W] || W) + "'" : gt = "Parse error on line " + (rt + 1) + ": Unexpected " + (W == _t ? "end of input" : "'" + (this.terminals_[W] || W) + "'"), this.parseError(gt, {
116
+ Expecting ` + lt.join(", ") + ", got '" + (this.terminals_[W] || W) + "'" : ft = "Parse error on line " + (st + 1) + ": Unexpected " + (W == Tt ? "end of input" : "'" + (this.terminals_[W] || W) + "'"), this.parseError(ft, {
128
117
  text: E.match,
129
118
  token: this.terminals_[W] || W,
130
119
  line: E.yylineno,
131
- loc: xt,
132
- expected: ot
120
+ loc: ut,
121
+ expected: lt
133
122
  });
134
123
  }
135
124
  if (H[0] instanceof Array && H.length > 1)
136
125
  throw new Error("Parse Error: multiple actions possible at state: " + J + ", token: " + W);
137
126
  switch (H[0]) {
138
127
  case 1:
139
- o.push(W), q.push(E.yytext), n.push(E.yylloc), o.push(H[1]), W = null, Tt = E.yyleng, u = E.yytext, rt = E.yylineno, xt = E.yylloc;
128
+ l.push(W), q.push(E.yytext), a.push(E.yylloc), l.push(H[1]), W = null, qt = E.yyleng, u = E.yytext, st = E.yylineno, ut = E.yylloc;
140
129
  break;
141
130
  case 2:
142
- if ($ = this.productions_[H[1]][1], et.$ = q[q.length - $], et._$ = {
143
- first_line: n[n.length - ($ || 1)].first_line,
144
- last_line: n[n.length - 1].last_line,
145
- first_column: n[n.length - ($ || 1)].first_column,
146
- last_column: n[n.length - 1].last_column
147
- }, Lt && (et._$.range = [
148
- n[n.length - ($ || 1)].range[0],
149
- n[n.length - 1].range[1]
150
- ]), ft = this.performAction.apply(et, [
131
+ if ($ = this.productions_[H[1]][1], tt.$ = q[q.length - $], tt._$ = {
132
+ first_line: a[a.length - ($ || 1)].first_line,
133
+ last_line: a[a.length - 1].last_line,
134
+ first_column: a[a.length - ($ || 1)].first_column,
135
+ last_column: a[a.length - 1].last_column
136
+ }, Ft && (tt._$.range = [
137
+ a[a.length - ($ || 1)].range[0],
138
+ a[a.length - 1].range[1]
139
+ ]), xt = this.performAction.apply(tt, [
151
140
  u,
152
- Tt,
153
- rt,
141
+ qt,
142
+ st,
154
143
  Z.yy,
155
144
  H[1],
156
145
  q,
157
- n
158
- ].concat(vt)), typeof ft != "undefined")
159
- return ft;
160
- $ && (o = o.slice(0, -1 * $ * 2), q = q.slice(0, -1 * $), n = n.slice(0, -1 * $)), o.push(this.productions_[H[1]][0]), q.push(et.$), n.push(et._$), mt = it[o[o.length - 2]][o[o.length - 1]], o.push(mt);
146
+ a
147
+ ].concat(kt)), typeof xt < "u")
148
+ return xt;
149
+ $ && (l = l.slice(0, -1 * $ * 2), q = q.slice(0, -1 * $), a = a.slice(0, -1 * $)), l.push(this.productions_[H[1]][0]), q.push(tt.$), a.push(tt._$), _t = et[l[l.length - 2]][l[l.length - 1]], l.push(_t);
161
150
  break;
162
151
  case 3:
163
152
  return !0;
@@ -165,18 +154,18 @@ Expecting ` + ot.join(", ") + ", got '" + (this.terminals_[W] || W) + "'" : gt =
165
154
  }
166
155
  return !0;
167
156
  }
168
- }, Ft = function() {
157
+ }, At = function() {
169
158
  var K = {
170
159
  EOF: 1,
171
- parseError: function(l, o) {
160
+ parseError: function(r, l) {
172
161
  if (this.yy.parser)
173
- this.yy.parser.parseError(l, o);
162
+ this.yy.parser.parseError(r, l);
174
163
  else
175
- throw new Error(l);
164
+ throw new Error(r);
176
165
  },
177
166
  // resets the lexer, sets new input
178
- setInput: function(s, l) {
179
- return this.yy = l || this.yy || {}, this._input = s, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
167
+ setInput: function(n, r) {
168
+ return this.yy = r || 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 = {
180
169
  first_line: 1,
181
170
  first_column: 0,
182
171
  last_line: 1,
@@ -185,24 +174,24 @@ Expecting ` + ot.join(", ") + ", got '" + (this.terminals_[W] || W) + "'" : gt =
185
174
  },
186
175
  // consumes and returns one char from the input
187
176
  input: function() {
188
- var s = this._input[0];
189
- this.yytext += s, this.yyleng++, this.offset++, this.match += s, this.matched += s;
190
- var l = s.match(/(?:\r\n?|\n).*/g);
191
- return l ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), s;
177
+ var n = this._input[0];
178
+ this.yytext += n, this.yyleng++, this.offset++, this.match += n, this.matched += n;
179
+ var r = n.match(/(?:\r\n?|\n).*/g);
180
+ return r ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), n;
192
181
  },
193
182
  // unshifts one char (or a string) into the input
194
- unput: function(s) {
195
- var l = s.length, o = s.split(/(?:\r\n?|\n)/g);
196
- this._input = s + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - l), this.offset -= l;
197
- var h = this.match.split(/(?:\r\n?|\n)/g);
198
- this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), o.length - 1 && (this.yylineno -= o.length - 1);
183
+ unput: function(n) {
184
+ var r = n.length, l = n.split(/(?:\r\n?|\n)/g);
185
+ this._input = n + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - r), this.offset -= r;
186
+ var o = this.match.split(/(?:\r\n?|\n)/g);
187
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), l.length - 1 && (this.yylineno -= l.length - 1);
199
188
  var q = this.yylloc.range;
200
189
  return this.yylloc = {
201
190
  first_line: this.yylloc.first_line,
202
191
  last_line: this.yylineno + 1,
203
192
  first_column: this.yylloc.first_column,
204
- last_column: o ? (o.length === h.length ? this.yylloc.first_column : 0) + h[h.length - o.length].length - o[0].length : this.yylloc.first_column - l
205
- }, this.options.ranges && (this.yylloc.range = [q[0], q[0] + this.yyleng - l]), this.yyleng = this.yytext.length, this;
193
+ last_column: l ? (l.length === o.length ? this.yylloc.first_column : 0) + o[o.length - l.length].length - l[0].length : this.yylloc.first_column - r
194
+ }, this.options.ranges && (this.yylloc.range = [q[0], q[0] + this.yyleng - r]), this.yyleng = this.yytext.length, this;
206
195
  },
207
196
  // When called from action, caches matched text and appends it on next action
208
197
  more: function() {
@@ -222,28 +211,28 @@ Expecting ` + ot.join(", ") + ", got '" + (this.terminals_[W] || W) + "'" : gt =
222
211
  return this;
223
212
  },
224
213
  // retain first n characters of the match
225
- less: function(s) {
226
- this.unput(this.match.slice(s));
214
+ less: function(n) {
215
+ this.unput(this.match.slice(n));
227
216
  },
228
217
  // displays already matched input, i.e. for error messages
229
218
  pastInput: function() {
230
- var s = this.matched.substr(0, this.matched.length - this.match.length);
231
- return (s.length > 20 ? "..." : "") + s.substr(-20).replace(/\n/g, "");
219
+ var n = this.matched.substr(0, this.matched.length - this.match.length);
220
+ return (n.length > 20 ? "..." : "") + n.substr(-20).replace(/\n/g, "");
232
221
  },
233
222
  // displays upcoming input, i.e. for error messages
234
223
  upcomingInput: function() {
235
- var s = this.match;
236
- return s.length < 20 && (s += this._input.substr(0, 20 - s.length)), (s.substr(0, 20) + (s.length > 20 ? "..." : "")).replace(/\n/g, "");
224
+ var n = this.match;
225
+ return n.length < 20 && (n += this._input.substr(0, 20 - n.length)), (n.substr(0, 20) + (n.length > 20 ? "..." : "")).replace(/\n/g, "");
237
226
  },
238
227
  // displays the character position where the lexing error occurred, i.e. for error messages
239
228
  showPosition: function() {
240
- var s = this.pastInput(), l = new Array(s.length + 1).join("-");
241
- return s + this.upcomingInput() + `
242
- ` + l + "^";
229
+ var n = this.pastInput(), r = new Array(n.length + 1).join("-");
230
+ return n + this.upcomingInput() + `
231
+ ` + r + "^";
243
232
  },
244
233
  // test the lexed token: return FALSE when not a match, otherwise return token
245
- test_match: function(s, l) {
246
- var o, h, q;
234
+ test_match: function(n, r) {
235
+ var l, o, q;
247
236
  if (this.options.backtrack_lexer && (q = {
248
237
  yylineno: this.yylineno,
249
238
  yylloc: {
@@ -263,16 +252,16 @@ Expecting ` + ot.join(", ") + ", got '" + (this.terminals_[W] || W) + "'" : gt =
263
252
  yy: this.yy,
264
253
  conditionStack: this.conditionStack.slice(0),
265
254
  done: this.done
266
- }, this.options.ranges && (q.yylloc.range = this.yylloc.range.slice(0))), h = s[0].match(/(?:\r\n?|\n).*/g), h && (this.yylineno += h.length), this.yylloc = {
255
+ }, this.options.ranges && (q.yylloc.range = this.yylloc.range.slice(0))), o = n[0].match(/(?:\r\n?|\n).*/g), o && (this.yylineno += o.length), this.yylloc = {
267
256
  first_line: this.yylloc.last_line,
268
257
  last_line: this.yylineno + 1,
269
258
  first_column: this.yylloc.last_column,
270
- last_column: h ? h[h.length - 1].length - h[h.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + s[0].length
271
- }, this.yytext += s[0], this.match += s[0], this.matches = s, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(s[0].length), this.matched += s[0], o = this.performAction.call(this, this.yy, this, l, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), o)
272
- return o;
259
+ last_column: o ? o[o.length - 1].length - o[o.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + n[0].length
260
+ }, this.yytext += n[0], this.match += n[0], this.matches = n, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(n[0].length), this.matched += n[0], l = this.performAction.call(this, this.yy, this, r, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), l)
261
+ return l;
273
262
  if (this._backtrack) {
274
- for (var n in q)
275
- this[n] = q[n];
263
+ for (var a in q)
264
+ this[a] = q[a];
276
265
  return !1;
277
266
  }
278
267
  return !1;
@@ -282,22 +271,22 @@ Expecting ` + ot.join(", ") + ", got '" + (this.terminals_[W] || W) + "'" : gt =
282
271
  if (this.done)
283
272
  return this.EOF;
284
273
  this._input || (this.done = !0);
285
- var s, l, o, h;
274
+ var n, r, l, o;
286
275
  this._more || (this.yytext = "", this.match = "");
287
- for (var q = this._currentRules(), n = 0; n < q.length; n++)
288
- if (o = this._input.match(this.rules[q[n]]), o && (!l || o[0].length > l[0].length)) {
289
- if (l = o, h = n, this.options.backtrack_lexer) {
290
- if (s = this.test_match(o, q[n]), s !== !1)
291
- return s;
276
+ for (var q = this._currentRules(), a = 0; a < q.length; a++)
277
+ if (l = this._input.match(this.rules[q[a]]), l && (!r || l[0].length > r[0].length)) {
278
+ if (r = l, o = a, this.options.backtrack_lexer) {
279
+ if (n = this.test_match(l, q[a]), n !== !1)
280
+ return n;
292
281
  if (this._backtrack) {
293
- l = !1;
282
+ r = !1;
294
283
  continue;
295
284
  } else
296
285
  return !1;
297
286
  } else if (!this.options.flex)
298
287
  break;
299
288
  }
300
- return l ? (s = this.test_match(l, q[h]), s !== !1 ? s : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
289
+ return r ? (n = this.test_match(r, q[o]), n !== !1 ? n : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
301
290
  ` + this.showPosition(), {
302
291
  text: "",
303
292
  token: null,
@@ -306,37 +295,37 @@ Expecting ` + ot.join(", ") + ", got '" + (this.terminals_[W] || W) + "'" : gt =
306
295
  },
307
296
  // return next match that has a token
308
297
  lex: function() {
309
- var l = this.next();
310
- return l || this.lex();
298
+ var r = this.next();
299
+ return r || this.lex();
311
300
  },
312
301
  // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
313
- begin: function(l) {
314
- this.conditionStack.push(l);
302
+ begin: function(r) {
303
+ this.conditionStack.push(r);
315
304
  },
316
305
  // pop the previously active lexer condition state off the condition stack
317
306
  popState: function() {
318
- var l = this.conditionStack.length - 1;
319
- return l > 0 ? this.conditionStack.pop() : this.conditionStack[0];
307
+ var r = this.conditionStack.length - 1;
308
+ return r > 0 ? this.conditionStack.pop() : this.conditionStack[0];
320
309
  },
321
310
  // produce the lexer rule set which is active for the currently active lexer condition state
322
311
  _currentRules: function() {
323
312
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
324
313
  },
325
314
  // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
326
- topState: function(l) {
327
- return l = this.conditionStack.length - 1 - Math.abs(l || 0), l >= 0 ? this.conditionStack[l] : "INITIAL";
315
+ topState: function(r) {
316
+ return r = this.conditionStack.length - 1 - Math.abs(r || 0), r >= 0 ? this.conditionStack[r] : "INITIAL";
328
317
  },
329
318
  // alias for begin(condition)
330
- pushState: function(l) {
331
- this.begin(l);
319
+ pushState: function(r) {
320
+ this.begin(r);
332
321
  },
333
322
  // return the number of states currently on the stack
334
323
  stateStackSize: function() {
335
324
  return this.conditionStack.length;
336
325
  },
337
326
  options: { "case-insensitive": !0 },
338
- performAction: function(l, o, h, q) {
339
- switch (h) {
327
+ performAction: function(r, l, o, q) {
328
+ switch (o) {
340
329
  case 0:
341
330
  break;
342
331
  case 1:
@@ -450,15 +439,15 @@ Expecting ` + ot.join(", ") + ", got '" + (this.terminals_[W] || W) + "'" : gt =
450
439
  };
451
440
  return K;
452
441
  }();
453
- ct.lexer = Ft;
454
- function dt() {
442
+ ht.lexer = At;
443
+ function ct() {
455
444
  this.yy = {};
456
445
  }
457
- return dt.prototype = ct, ct.Parser = dt, new dt();
446
+ return ct.prototype = ht, ht.Parser = ct, new ct();
458
447
  }();
459
- yt.parser = yt;
460
- const Ht = yt, R = It();
461
- class Mt {
448
+ pt.parser = pt;
449
+ const Rt = pt, R = vt();
450
+ class Vt {
462
451
  constructor() {
463
452
  this.config = this.getDefaultConfig(), this.themeConfig = this.getDefaultThemeConfig(), this.data = this.getDefaultData();
464
453
  }
@@ -477,13 +466,13 @@ class Mt {
477
466
  };
478
467
  }
479
468
  getDefaultConfig() {
480
- var a, r, x, f, d, c, g, i, y, p, B, N, V, I, b, M, X, C;
469
+ var s, h, x, f, d, c, g, i, y, p, B, N, V, I, b, M, X, C;
481
470
  return {
482
471
  showXAxis: !0,
483
472
  showYAxis: !0,
484
473
  showTitle: !0,
485
- chartHeight: ((a = D.quadrantChart) == null ? void 0 : a.chartWidth) || 500,
486
- chartWidth: ((r = D.quadrantChart) == null ? void 0 : r.chartHeight) || 500,
474
+ chartHeight: ((s = D.quadrantChart) == null ? void 0 : s.chartWidth) || 500,
475
+ chartWidth: ((h = D.quadrantChart) == null ? void 0 : h.chartHeight) || 500,
487
476
  titlePadding: ((x = D.quadrantChart) == null ? void 0 : x.titlePadding) || 10,
488
477
  titleFontSize: ((f = D.quadrantChart) == null ? void 0 : f.titleFontSize) || 20,
489
478
  quadrantPadding: ((d = D.quadrantChart) == null ? void 0 : d.quadrantPadding) || 5,
@@ -522,24 +511,24 @@ class Mt {
522
511
  };
523
512
  }
524
513
  clear() {
525
- this.config = this.getDefaultConfig(), this.themeConfig = this.getDefaultThemeConfig(), this.data = this.getDefaultData(), ht.info("clear called");
514
+ this.config = this.getDefaultConfig(), this.themeConfig = this.getDefaultThemeConfig(), this.data = this.getDefaultData(), ot.info("clear called");
526
515
  }
527
- setData(a) {
528
- this.data = tt(tt({}, this.data), a);
516
+ setData(s) {
517
+ this.data = { ...this.data, ...s };
529
518
  }
530
- addPoints(a) {
531
- this.data.points = [...a, ...this.data.points];
519
+ addPoints(s) {
520
+ this.data.points = [...s, ...this.data.points];
532
521
  }
533
- setConfig(a) {
534
- ht.trace("setConfig called with: ", a), this.config = tt(tt({}, this.config), a);
522
+ setConfig(s) {
523
+ ot.trace("setConfig called with: ", s), this.config = { ...this.config, ...s };
535
524
  }
536
- setThemeConfig(a) {
537
- ht.trace("setThemeConfig called with: ", a), this.themeConfig = tt(tt({}, this.themeConfig), a);
525
+ setThemeConfig(s) {
526
+ ot.trace("setThemeConfig called with: ", s), this.themeConfig = { ...this.themeConfig, ...s };
538
527
  }
539
- calculateSpace(a, r, x, f) {
528
+ calculateSpace(s, h, x, f) {
540
529
  const d = this.config.xAxisLabelPadding * 2 + this.config.xAxisLabelFontSize, c = {
541
- top: a === "top" && r ? d : 0,
542
- bottom: a === "bottom" && r ? d : 0
530
+ top: s === "top" && h ? d : 0,
531
+ bottom: s === "bottom" && h ? d : 0
543
532
  }, g = this.config.yAxisLabelPadding * 2 + this.config.yAxisLabelFontSize, i = {
544
533
  left: this.config.yAxisPosition === "left" && x ? g : 0,
545
534
  right: this.config.yAxisPosition === "right" && x ? g : 0
@@ -560,7 +549,7 @@ class Mt {
560
549
  }
561
550
  };
562
551
  }
563
- getAxisLabels(a, r, x, f) {
552
+ getAxisLabels(s, h, x, f) {
564
553
  const { quadrantSpace: d, titleSpace: c } = f, {
565
554
  quadrantHalfHeight: g,
566
555
  quadrantHeight: i,
@@ -569,20 +558,20 @@ class Mt {
569
558
  quadrantTop: B,
570
559
  quadrantWidth: N
571
560
  } = d, V = !!this.data.xAxisRightText, I = !!this.data.yAxisTopText, b = [];
572
- return this.data.xAxisLeftText && r && b.push({
561
+ return this.data.xAxisLeftText && h && b.push({
573
562
  text: this.data.xAxisLeftText,
574
563
  fill: this.themeConfig.quadrantXAxisTextFill,
575
564
  x: y + (V ? p / 2 : 0),
576
- y: a === "top" ? this.config.xAxisLabelPadding + c.top : this.config.xAxisLabelPadding + B + i + this.config.quadrantPadding,
565
+ y: s === "top" ? this.config.xAxisLabelPadding + c.top : this.config.xAxisLabelPadding + B + i + this.config.quadrantPadding,
577
566
  fontSize: this.config.xAxisLabelFontSize,
578
567
  verticalPos: V ? "center" : "left",
579
568
  horizontalPos: "top",
580
569
  rotation: 0
581
- }), this.data.xAxisRightText && r && b.push({
570
+ }), this.data.xAxisRightText && h && b.push({
582
571
  text: this.data.xAxisRightText,
583
572
  fill: this.themeConfig.quadrantXAxisTextFill,
584
573
  x: y + p + (V ? p / 2 : 0),
585
- y: a === "top" ? this.config.xAxisLabelPadding + c.top : this.config.xAxisLabelPadding + B + i + this.config.quadrantPadding,
574
+ y: s === "top" ? this.config.xAxisLabelPadding + c.top : this.config.xAxisLabelPadding + B + i + this.config.quadrantPadding,
586
575
  fontSize: this.config.xAxisLabelFontSize,
587
576
  verticalPos: V ? "center" : "left",
588
577
  horizontalPos: "top",
@@ -607,8 +596,8 @@ class Mt {
607
596
  rotation: -90
608
597
  }), b;
609
598
  }
610
- getQuadrants(a) {
611
- const { quadrantSpace: r } = a, { quadrantHalfHeight: x, quadrantLeft: f, quadrantHalfWidth: d, quadrantTop: c } = r, g = [
599
+ getQuadrants(s) {
600
+ const { quadrantSpace: h } = s, { quadrantHalfHeight: x, quadrantLeft: f, quadrantHalfWidth: d, quadrantTop: c } = h, g = [
612
601
  {
613
602
  text: {
614
603
  text: this.data.quadrant1Text,
@@ -682,8 +671,8 @@ class Mt {
682
671
  i.text.x = i.x + i.width / 2, this.data.points.length === 0 ? (i.text.y = i.y + i.height / 2, i.text.horizontalPos = "middle") : (i.text.y = i.y + this.config.quadrantTextTopPadding, i.text.horizontalPos = "top");
683
672
  return g;
684
673
  }
685
- getQuadrantPoints(a) {
686
- const { quadrantSpace: r } = a, { quadrantHeight: x, quadrantLeft: f, quadrantTop: d, quadrantWidth: c } = r, g = St().domain([0, 1]).range([f, c + f]), i = St().domain([0, 1]).range([x + d, d]);
674
+ getQuadrantPoints(s) {
675
+ const { quadrantSpace: h } = s, { quadrantHeight: x, quadrantLeft: f, quadrantTop: d, quadrantWidth: c } = h, g = mt().domain([0, 1]).range([f, c + f]), i = mt().domain([0, 1]).range([x + d, d]);
687
676
  return this.data.points.map((p) => ({
688
677
  x: g(p.x),
689
678
  y: i(p.y),
@@ -701,8 +690,8 @@ class Mt {
701
690
  }
702
691
  }));
703
692
  }
704
- getBorders(a) {
705
- const r = this.config.quadrantExternalBorderStrokeWidth / 2, { quadrantSpace: x } = a, {
693
+ getBorders(s) {
694
+ const h = this.config.quadrantExternalBorderStrokeWidth / 2, { quadrantSpace: x } = s, {
706
695
  quadrantHalfHeight: f,
707
696
  quadrantHeight: d,
708
697
  quadrantLeft: c,
@@ -715,9 +704,9 @@ class Mt {
715
704
  {
716
705
  strokeFill: this.themeConfig.quadrantExternalBorderStrokeFill,
717
706
  strokeWidth: this.config.quadrantExternalBorderStrokeWidth,
718
- x1: c - r,
707
+ x1: c - h,
719
708
  y1: i,
720
- x2: c + y + r,
709
+ x2: c + y + h,
721
710
  y2: i
722
711
  },
723
712
  // right border
@@ -725,17 +714,17 @@ class Mt {
725
714
  strokeFill: this.themeConfig.quadrantExternalBorderStrokeFill,
726
715
  strokeWidth: this.config.quadrantExternalBorderStrokeWidth,
727
716
  x1: c + y,
728
- y1: i + r,
717
+ y1: i + h,
729
718
  x2: c + y,
730
- y2: i + d - r
719
+ y2: i + d - h
731
720
  },
732
721
  // bottom border
733
722
  {
734
723
  strokeFill: this.themeConfig.quadrantExternalBorderStrokeFill,
735
724
  strokeWidth: this.config.quadrantExternalBorderStrokeWidth,
736
- x1: c - r,
725
+ x1: c - h,
737
726
  y1: i + d,
738
- x2: c + y + r,
727
+ x2: c + y + h,
739
728
  y2: i + d
740
729
  },
741
730
  // left border
@@ -743,32 +732,32 @@ class Mt {
743
732
  strokeFill: this.themeConfig.quadrantExternalBorderStrokeFill,
744
733
  strokeWidth: this.config.quadrantExternalBorderStrokeWidth,
745
734
  x1: c,
746
- y1: i + r,
735
+ y1: i + h,
747
736
  x2: c,
748
- y2: i + d - r
737
+ y2: i + d - h
749
738
  },
750
739
  // vertical inner border
751
740
  {
752
741
  strokeFill: this.themeConfig.quadrantInternalBorderStrokeFill,
753
742
  strokeWidth: this.config.quadrantInternalBorderStrokeWidth,
754
743
  x1: c + g,
755
- y1: i + r,
744
+ y1: i + h,
756
745
  x2: c + g,
757
- y2: i + d - r
746
+ y2: i + d - h
758
747
  },
759
748
  // horizontal inner border
760
749
  {
761
750
  strokeFill: this.themeConfig.quadrantInternalBorderStrokeFill,
762
751
  strokeWidth: this.config.quadrantInternalBorderStrokeWidth,
763
- x1: c + r,
752
+ x1: c + h,
764
753
  y1: i + f,
765
- x2: c + y - r,
754
+ x2: c + y - h,
766
755
  y2: i + f
767
756
  }
768
757
  ];
769
758
  }
770
- getTitle(a) {
771
- if (a)
759
+ getTitle(s) {
760
+ if (s)
772
761
  return {
773
762
  text: this.data.titleText,
774
763
  fill: this.themeConfig.quadrantTitleFill,
@@ -781,97 +770,97 @@ class Mt {
781
770
  };
782
771
  }
783
772
  build() {
784
- const a = this.config.showXAxis && !!(this.data.xAxisLeftText || this.data.xAxisRightText), r = this.config.showYAxis && !!(this.data.yAxisTopText || this.data.yAxisBottomText), x = this.config.showTitle && !!this.data.titleText, f = this.data.points.length > 0 ? "bottom" : this.config.xAxisPosition, d = this.calculateSpace(f, a, r, x);
773
+ const s = this.config.showXAxis && !!(this.data.xAxisLeftText || this.data.xAxisRightText), h = this.config.showYAxis && !!(this.data.yAxisTopText || this.data.yAxisBottomText), x = this.config.showTitle && !!this.data.titleText, f = this.data.points.length > 0 ? "bottom" : this.config.xAxisPosition, d = this.calculateSpace(f, s, h, x);
785
774
  return {
786
775
  points: this.getQuadrantPoints(d),
787
776
  quadrants: this.getQuadrants(d),
788
- axisLabels: this.getAxisLabels(f, a, r, d),
777
+ axisLabels: this.getAxisLabels(f, s, h, d),
789
778
  borderLines: this.getBorders(d),
790
779
  title: this.getTitle(x)
791
780
  };
792
781
  }
793
782
  }
794
- const Xt = qt();
783
+ const Wt = yt();
795
784
  function G(e) {
796
- return Qt(e.trim(), Xt);
785
+ return wt(e.trim(), Wt);
797
786
  }
798
- const w = new Mt();
799
- function Ot(e) {
787
+ const w = new Vt();
788
+ function Nt(e) {
800
789
  w.setData({ quadrant1Text: G(e.text) });
801
790
  }
802
- function Yt(e) {
791
+ function Ut(e) {
803
792
  w.setData({ quadrant2Text: G(e.text) });
804
793
  }
805
- function $t(e) {
794
+ function Qt(e) {
806
795
  w.setData({ quadrant3Text: G(e.text) });
807
796
  }
808
- function jt(e) {
797
+ function Ht(e) {
809
798
  w.setData({ quadrant4Text: G(e.text) });
810
799
  }
811
- function Gt(e) {
800
+ function Mt(e) {
812
801
  w.setData({ xAxisLeftText: G(e.text) });
813
802
  }
814
- function Kt(e) {
803
+ function Xt(e) {
815
804
  w.setData({ xAxisRightText: G(e.text) });
816
805
  }
817
- function Zt(e) {
806
+ function Ot(e) {
818
807
  w.setData({ yAxisTopText: G(e.text) });
819
808
  }
820
- function Jt(e) {
809
+ function Yt(e) {
821
810
  w.setData({ yAxisBottomText: G(e.text) });
822
811
  }
823
- function te(e, a, r) {
824
- w.addPoints([{ x: a, y: r, text: G(e.text) }]);
812
+ function $t(e, s, h) {
813
+ w.addPoints([{ x: s, y: h, text: G(e.text) }]);
825
814
  }
826
- function ee(e) {
815
+ function jt(e) {
827
816
  w.setConfig({ chartWidth: e });
828
817
  }
829
- function ie(e) {
818
+ function Gt(e) {
830
819
  w.setConfig({ chartHeight: e });
831
820
  }
832
- function ae() {
833
- const e = qt(), { themeVariables: a, quadrantChart: r } = e;
834
- return r && w.setConfig(r), w.setThemeConfig({
835
- quadrant1Fill: a.quadrant1Fill,
836
- quadrant2Fill: a.quadrant2Fill,
837
- quadrant3Fill: a.quadrant3Fill,
838
- quadrant4Fill: a.quadrant4Fill,
839
- quadrant1TextFill: a.quadrant1TextFill,
840
- quadrant2TextFill: a.quadrant2TextFill,
841
- quadrant3TextFill: a.quadrant3TextFill,
842
- quadrant4TextFill: a.quadrant4TextFill,
843
- quadrantPointFill: a.quadrantPointFill,
844
- quadrantPointTextFill: a.quadrantPointTextFill,
845
- quadrantXAxisTextFill: a.quadrantXAxisTextFill,
846
- quadrantYAxisTextFill: a.quadrantYAxisTextFill,
847
- quadrantExternalBorderStrokeFill: a.quadrantExternalBorderStrokeFill,
848
- quadrantInternalBorderStrokeFill: a.quadrantInternalBorderStrokeFill,
849
- quadrantTitleFill: a.quadrantTitleFill
850
- }), w.setData({ titleText: kt() }), w.build();
821
+ function Kt() {
822
+ const e = yt(), { themeVariables: s, quadrantChart: h } = e;
823
+ return h && w.setConfig(h), w.setThemeConfig({
824
+ quadrant1Fill: s.quadrant1Fill,
825
+ quadrant2Fill: s.quadrant2Fill,
826
+ quadrant3Fill: s.quadrant3Fill,
827
+ quadrant4Fill: s.quadrant4Fill,
828
+ quadrant1TextFill: s.quadrant1TextFill,
829
+ quadrant2TextFill: s.quadrant2TextFill,
830
+ quadrant3TextFill: s.quadrant3TextFill,
831
+ quadrant4TextFill: s.quadrant4TextFill,
832
+ quadrantPointFill: s.quadrantPointFill,
833
+ quadrantPointTextFill: s.quadrantPointTextFill,
834
+ quadrantXAxisTextFill: s.quadrantXAxisTextFill,
835
+ quadrantYAxisTextFill: s.quadrantYAxisTextFill,
836
+ quadrantExternalBorderStrokeFill: s.quadrantExternalBorderStrokeFill,
837
+ quadrantInternalBorderStrokeFill: s.quadrantInternalBorderStrokeFill,
838
+ quadrantTitleFill: s.quadrantTitleFill
839
+ }), w.setData({ titleText: bt() }), w.build();
851
840
  }
852
- const ne = function() {
853
- w.clear(), Nt();
854
- }, se = {
855
- setWidth: ee,
856
- setHeight: ie,
857
- setQuadrant1Text: Ot,
858
- setQuadrant2Text: Yt,
859
- setQuadrant3Text: $t,
860
- setQuadrant4Text: jt,
861
- setXAxisLeftText: Gt,
862
- setXAxisRightText: Kt,
863
- setYAxisTopText: Zt,
864
- setYAxisBottomText: Jt,
865
- addPoint: te,
866
- getQuadrantData: ae,
867
- clear: ne,
868
- setAccTitle: Bt,
869
- getAccTitle: wt,
870
- setDiagramTitle: Rt,
871
- getDiagramTitle: kt,
872
- getAccDescription: Vt,
873
- setAccDescription: Wt
874
- }, re = (e, a, r, x) => {
841
+ const Zt = function() {
842
+ w.clear(), It();
843
+ }, Jt = {
844
+ setWidth: jt,
845
+ setHeight: Gt,
846
+ setQuadrant1Text: Nt,
847
+ setQuadrant2Text: Ut,
848
+ setQuadrant3Text: Qt,
849
+ setQuadrant4Text: Ht,
850
+ setXAxisLeftText: Mt,
851
+ setXAxisRightText: Xt,
852
+ setYAxisTopText: Ot,
853
+ setYAxisBottomText: Yt,
854
+ addPoint: $t,
855
+ getQuadrantData: Kt,
856
+ clear: Zt,
857
+ setAccTitle: Lt,
858
+ getAccTitle: Ct,
859
+ setDiagramTitle: zt,
860
+ getDiagramTitle: bt,
861
+ getAccDescription: Et,
862
+ setAccDescription: Dt
863
+ }, te = (e, s, h, x) => {
875
864
  var f, d, c;
876
865
  function g(t) {
877
866
  return t === "top" ? "hanging" : "middle";
@@ -882,34 +871,34 @@ const ne = function() {
882
871
  function y(t) {
883
872
  return `translate(${t.x}, ${t.y}) rotate(${t.rotation || 0})`;
884
873
  }
885
- const p = qt();
886
- ht.debug(`Rendering quadrant chart
874
+ const p = yt();
875
+ ot.debug(`Rendering quadrant chart
887
876
  ` + e);
888
877
  const B = p.securityLevel;
889
878
  let N;
890
- B === "sandbox" && (N = pt("#i" + a));
891
- const I = (B === "sandbox" ? pt(N.nodes()[0].contentDocument.body) : pt("body")).select(`[id="${a}"]`), b = I.append("g").attr("class", "main"), M = ((f = p.quadrantChart) == null ? void 0 : f.chartWidth) || 500, X = ((d = p.quadrantChart) == null ? void 0 : d.chartHeight) || 500;
892
- Ut(I, X, M, ((c = p.quadrantChart) == null ? void 0 : c.useMaxWidth) || !0), I.attr("viewBox", "0 0 " + M + " " + X), x.db.setHeight(X), x.db.setWidth(M);
893
- const C = x.db.getQuadrantData(), at = b.append("g").attr("class", "quadrants"), nt = b.append("g").attr("class", "border"), st = b.append("g").attr("class", "data-points"), U = b.append("g").attr("class", "labels"), Q = b.append("g").attr("class", "title");
894
- C.title && Q.append("text").attr("x", 0).attr("y", 0).attr("fill", C.title.fill).attr("font-size", C.title.fontSize).attr("dominant-baseline", g(C.title.horizontalPos)).attr("text-anchor", i(C.title.verticalPos)).attr("transform", y(C.title)).text(C.title.text), C.borderLines && nt.selectAll("line").data(C.borderLines).enter().append("line").attr("x1", (t) => t.x1).attr("y1", (t) => t.y1).attr("x2", (t) => t.x2).attr("y2", (t) => t.y2).style("stroke", (t) => t.strokeFill).style("stroke-width", (t) => t.strokeWidth);
895
- const T = at.selectAll("g.quadrant").data(C.quadrants).enter().append("g").attr("class", "quadrant");
879
+ B === "sandbox" && (N = gt("#i" + s));
880
+ const I = (B === "sandbox" ? gt(N.nodes()[0].contentDocument.body) : gt("body")).select(`[id="${s}"]`), b = I.append("g").attr("class", "main"), M = ((f = p.quadrantChart) == null ? void 0 : f.chartWidth) || 500, X = ((d = p.quadrantChart) == null ? void 0 : d.chartHeight) || 500;
881
+ Bt(I, X, M, ((c = p.quadrantChart) == null ? void 0 : c.useMaxWidth) || !0), I.attr("viewBox", "0 0 " + M + " " + X), x.db.setHeight(X), x.db.setWidth(M);
882
+ const C = x.db.getQuadrantData(), it = b.append("g").attr("class", "quadrants"), at = b.append("g").attr("class", "border"), nt = b.append("g").attr("class", "data-points"), U = b.append("g").attr("class", "labels"), Q = b.append("g").attr("class", "title");
883
+ C.title && Q.append("text").attr("x", 0).attr("y", 0).attr("fill", C.title.fill).attr("font-size", C.title.fontSize).attr("dominant-baseline", g(C.title.horizontalPos)).attr("text-anchor", i(C.title.verticalPos)).attr("transform", y(C.title)).text(C.title.text), C.borderLines && at.selectAll("line").data(C.borderLines).enter().append("line").attr("x1", (t) => t.x1).attr("y1", (t) => t.y1).attr("x2", (t) => t.x2).attr("y2", (t) => t.y2).style("stroke", (t) => t.strokeFill).style("stroke-width", (t) => t.strokeWidth);
884
+ const T = it.selectAll("g.quadrant").data(C.quadrants).enter().append("g").attr("class", "quadrant");
896
885
  T.append("rect").attr("x", (t) => t.x).attr("y", (t) => t.y).attr("width", (t) => t.width).attr("height", (t) => t.height).attr("fill", (t) => t.fill), T.append("text").attr("x", 0).attr("y", 0).attr("fill", (t) => t.text.fill).attr("font-size", (t) => t.text.fontSize).attr(
897
886
  "dominant-baseline",
898
887
  (t) => g(t.text.horizontalPos)
899
888
  ).attr("text-anchor", (t) => i(t.text.verticalPos)).attr("transform", (t) => y(t.text)).text((t) => t.text.text), U.selectAll("g.label").data(C.axisLabels).enter().append("g").attr("class", "label").append("text").attr("x", 0).attr("y", 0).text((t) => t.text).attr("fill", (t) => t.fill).attr("font-size", (t) => t.fontSize).attr("dominant-baseline", (t) => g(t.horizontalPos)).attr("text-anchor", (t) => i(t.verticalPos)).attr("transform", (t) => y(t));
900
- const _ = st.selectAll("g.data-point").data(C.points).enter().append("g").attr("class", "data-point");
889
+ const _ = nt.selectAll("g.data-point").data(C.points).enter().append("g").attr("class", "data-point");
901
890
  _.append("circle").attr("cx", (t) => t.x).attr("cy", (t) => t.y).attr("r", (t) => t.radius).attr("fill", (t) => t.fill), _.append("text").attr("x", 0).attr("y", 0).text((t) => t.text.text).attr("fill", (t) => t.text.fill).attr("font-size", (t) => t.text.fontSize).attr(
902
891
  "dominant-baseline",
903
892
  (t) => g(t.text.horizontalPos)
904
893
  ).attr("text-anchor", (t) => i(t.text.verticalPos)).attr("transform", (t) => y(t.text));
905
- }, le = {
906
- draw: re
907
- }, ue = {
908
- parser: Ht,
909
- db: se,
910
- renderer: le,
894
+ }, ee = {
895
+ draw: te
896
+ }, se = {
897
+ parser: Rt,
898
+ db: Jt,
899
+ renderer: ee,
911
900
  styles: () => ""
912
901
  };
913
902
  export {
914
- ue as diagram
903
+ se as diagram
915
904
  };