@kong-ui-public/documentation 0.7.83 → 0.7.84

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 (66) hide show
  1. package/dist/_basePickBy-CMfPif8e-CmRJF0Pz.js +151 -0
  2. package/dist/_baseUniq-CXqhI00C-BfnSCqya.js +615 -0
  3. package/dist/arc-JIMrD458-iE0qPqUL.js +83 -0
  4. package/dist/architecture-I3QFYML2-Bgw7-fJd-BmHcSoDq.js +5 -0
  5. package/dist/{architectureDiagram-V6B76FHG-CMXFnETI-RxxML1uW.js → architectureDiagram-AYX4OTIS-XPsSAXrN-CriQXfFm.js} +4 -4
  6. package/dist/blockDiagram-XN6IQ5JY-IfzOVP1S-DoilgKcQ.js +2247 -0
  7. package/dist/{c4Diagram-THADGKDP-BoXI_MdM-85LhjWUD.js → c4Diagram-GPMAACGM-RttNBnvg-DemUG3qf.js} +2 -2
  8. package/dist/{channel-BlAyqTfO-DcF7shsf.js → channel-DEiqvYYf-DqQTZyIM.js} +1 -1
  9. package/dist/{chunk-OQCM5LHU-BXp7HdZf-DAxyAqhb.js → chunk-BAOP5US2-D_mPkUfX-Dlqx79Tr.js} +1 -1
  10. package/dist/chunk-CXDZ2C6O-B6QVQzrJ-CdVn1xaX.js +1301 -0
  11. package/dist/{chunk-DUMQOTYW-BvseU82P-Cv9cgfHg.js → chunk-EICJXIV7-B3uVnKYK-BPFil4EM.js} +1 -1
  12. package/dist/{chunk-2JBRQKJ5-D-tjQIH--CX9PfGSj.js → chunk-JZAHL7AJ-B8L_7Xh_-C2ETRUtV.js} +21 -21
  13. package/dist/{chunk-2RYQ3QTB-CJAPCFIj-C6EEVa0L.js → chunk-RGXPSUNZ-PjQy3A3Y-BiDEi6k5.js} +1 -1
  14. package/dist/{chunk-XVOYOM2C-DSF8EQmO-CJoKjxiE.js → chunk-VCFP4HPQ-qZEjUbIz-7kfkUrsj.js} +1 -1
  15. package/dist/classDiagram-FEGYTUDG-Bu9qKgav-DF2ZcQyp.js +14 -0
  16. package/dist/classDiagram-v2-R65JCUOM-Bu9qKgav-DF2ZcQyp.js +14 -0
  17. package/dist/{clone-BxgFQWIV-C8w0qOf5.js → clone-elND5I63-U8WRvSPu.js} +1 -1
  18. package/dist/dagre-SWNTG5WE-CcKMLYcK-tREOd3Fb.js +447 -0
  19. package/dist/{diagram-QS5GVLUX-Ck_HO8gZ-CFWjkYXj.js → diagram-NZMEDLQF-vjbbgzvH-BDFE_-Eo.js} +6 -6
  20. package/dist/documentation.es.js +1 -1
  21. package/dist/documentation.umd.js +401 -273
  22. package/dist/{erDiagram-62CBQV5Y-CaO8CQzG-DYEXkRnA.js → erDiagram-WO52GFNT-N8TeMKSM-BojFH-Dn.js} +56 -56
  23. package/dist/flowDiagram-TSWR6T2D-DzECWIN--CnDMIIi-.js +1484 -0
  24. package/dist/{ganttDiagram-ASEIQ4P5-BiIuu6iJ-DXC89NBD.js → ganttDiagram-FAOCOTIY-DmxDGUpf-BGJLIQAo.js} +61 -61
  25. package/dist/gitGraph-YCYPL57B-BKlVjqGu-BRRTPERj.js +5 -0
  26. package/dist/{gitGraphDiagram-UL5UFKDR-C4dDL1m3-pGO-Nubf.js → gitGraphDiagram-5C7YHVU6-CfJ_hQ2h-C2aLT5AH.js} +21 -21
  27. package/dist/{graph-BDwITe7N-Dg4ZhErV.js → graph-C5siWsaJ-djbzUgq8.js} +52 -55
  28. package/dist/{index-D1jNpyAG.js → index-BXFfc1qh.js} +17314 -15496
  29. package/dist/info-46DW6VJ7-QBUrqpM0-D7DXfBfh.js +5 -0
  30. package/dist/{infoDiagram-7APDZ6AT-DQAU4aEA-ZuNKK8Q1.js → infoDiagram-P5D6MX3V-CthsN8fk-ju-grajk.js} +2 -2
  31. package/dist/{journeyDiagram-G5LC7W2K-BDjs8Ede-CBVXgKDg.js → journeyDiagram-UIGPPNLY-CB1xWSVF-CnOTIXjT.js} +3 -3
  32. package/dist/kanban-definition-KMT3NSR2-B76JZ_Kx-BuaYPyou.js +718 -0
  33. package/dist/layout-mwnMvyc4-B2PmGvWD.js +1321 -0
  34. package/dist/{linear-DJf2yjqH-Qa8JBmhC.js → linear-XztDb0hj-RsuwoFLQ.js} +46 -46
  35. package/dist/{mermaid-parser.core-DKcB0zTx-Cuc2e_U9.js → mermaid-parser.core-C4mt_cFi-BuaZi6gx.js} +9 -9
  36. package/dist/{mindmap-definition-FCEC46F3-Dfona71I-BMB5v8Sw.js → mindmap-definition-R7LC4OIY-Cg3Nsctr-BcCPx65V.js} +1 -1
  37. package/dist/packet-W2GHVCYJ-BJGXYVlB-DlnQVVmK.js +5 -0
  38. package/dist/pie-BEWT4RHE-XO1bTOj2-DEYSeXSg.js +5 -0
  39. package/dist/{pieDiagram-OZX6XH5M-CVVFrPaX-C40AWUnf.js → pieDiagram-BLWKPB35-Bs5Iyn_g-CnOiPji_.js} +27 -27
  40. package/dist/{quadrantDiagram-VG34DGKC-D_n6ouG0-B7tCVKZS.js → quadrantDiagram-QXWEEFXS-n8j7IqmF-CloVXY0U.js} +16 -16
  41. package/dist/{requirementDiagram-FPZB6IJI-DgzsPnSP-BdT6rZ42.js → requirementDiagram-XAUNFCZY-DI_Pyl2h-D8hqXle2.js} +20 -20
  42. package/dist/{sankeyDiagram-KMMQDL5K-slN_anzC-C8cSA1pn.js → sankeyDiagram-LVV36NHA-Bei7yBJl-DvbyWSci.js} +1 -1
  43. package/dist/{sequenceDiagram-PQT5PN7B-DmYxtSNe-kmiDoefU.js → sequenceDiagram-D25TJ2OB-NAPdhBbI-DQR1b0UZ.js} +21 -21
  44. package/dist/{stateDiagram-TQSDS2D4-DaGylNtS-DZvK22EK.js → stateDiagram-GNSP7T6Y-Dzq9j0YG-BgVCaCOx.js} +14 -15
  45. package/dist/{stateDiagram-v2-J5TZWJW5-CkpV3aOb-CRLcbMy9.js → stateDiagram-v2-HP6YRVRG-Jl4ubGlG-BeMvcZLQ.js} +2 -3
  46. package/dist/{timeline-definition-KYQAIZUX-BbQn7lRo-DdMJtCcZ.js → timeline-definition-27KQCCZ3-Dyj-cUhB-cBpLcB_z.js} +91 -91
  47. package/dist/{xychartDiagram-LESROZAQ-C5RGN8Yc-D1Q0T8zi.js → xychartDiagram-MYLB5AYS-Bc_nZcHL-YLCG5NJT.js} +2 -2
  48. package/package.json +2 -2
  49. package/dist/_basePickBy-C3_IHxiB-Bgb-nBpw.js +0 -143
  50. package/dist/_baseUniq-Cede_3wW-BVX848YU.js +0 -622
  51. package/dist/arc-CFIMKg_S-CJkN7pL8.js +0 -83
  52. package/dist/architecture-I3QFYML2-CsfpifL5-B7ba29Kf.js +0 -5
  53. package/dist/blockDiagram-EN3ZKWFM-CyddtNyi-BO48RJ5X.js +0 -1232
  54. package/dist/chunk-BAVOGKFW-DMR4mnUx-ZqKP-ubQ.js +0 -1092
  55. package/dist/chunk-UGV5ZQQN-DJ9JPuwX-CiNn-tmJ.js +0 -254
  56. package/dist/chunk-YWFND7JV-CJxpOF0s-CKv3TLz3.js +0 -786
  57. package/dist/classDiagram-4BHYIK4I-Bh2E4V_q-Bp1df6xf.js +0 -214
  58. package/dist/classDiagram-v2-FI7KE7WJ-zeS53lAE--zqW0wuN.js +0 -545
  59. package/dist/dagre-P3YPLUS5-DvPNKrZS-BqJ7-FR_.js +0 -421
  60. package/dist/flowDiagram-JSIZSE4D-C3p20RgK-76C6C_fU.js +0 -1380
  61. package/dist/gitGraph-YCYPL57B-BXHaWu1_-L6S_Q-ER.js +0 -5
  62. package/dist/info-46DW6VJ7-gLazUuGQ-CgME-TPe.js +0 -5
  63. package/dist/json-Dg9P6BhK-CcBa4IfV.js +0 -31
  64. package/dist/layout--tn8zpzB-CFuPSG6n.js +0 -1381
  65. package/dist/packet-W2GHVCYJ-Dn1-cCwP-_7hKzD3w.js +0 -5
  66. package/dist/pie-BEWT4RHE-DvPKCMtn-CWoQ7JX6.js +0 -5
@@ -1,11 +1,11 @@
1
- import { m as D, S as j, L as d, $ as l, E as p, v as u, x as g, R as m, M as F } from "./_baseUniq-Cede_3wW-BVX848YU.js";
2
- import { k as M, n as f, o as b, q as O, r as C } from "./index-D1jNpyAG.js";
3
- var P = M(function(o) {
4
- return D(j(o, 1, O, !0));
5
- }), y = "\0", a = "\0", L = "";
6
- class w {
1
+ import { k as L, n as g, o as v, q as E, r as b } from "./index-BXFfc1qh.js";
2
+ import { L as N, _ as j, $ as _, S as p, I as a, P as l, E as m, v as P } from "./_baseUniq-CXqhI00C-BfnSCqya.js";
3
+ var D = L(function(o) {
4
+ return N(j(o, 1, E, !0));
5
+ }), F = "\0", d = "\0", C = "";
6
+ class y {
7
7
  constructor(t = {}) {
8
- this._isDirected = d(t, "directed") ? t.directed : !0, this._isMultigraph = d(t, "multigraph") ? t.multigraph : !1, this._isCompound = d(t, "compound") ? t.compound : !1, this._label = void 0, this._defaultNodeLabelFn = f(void 0), this._defaultEdgeLabelFn = f(void 0), this._nodes = {}, this._isCompound && (this._parent = {}, this._children = {}, this._children[a] = {}), this._in = {}, this._preds = {}, this._out = {}, this._sucs = {}, this._edgeObjs = {}, this._edgeLabels = {};
8
+ this._isDirected = Object.prototype.hasOwnProperty.call(t, "directed") ? t.directed : !0, this._isMultigraph = Object.prototype.hasOwnProperty.call(t, "multigraph") ? t.multigraph : !1, this._isCompound = Object.prototype.hasOwnProperty.call(t, "compound") ? t.compound : !1, this._label = void 0, this._defaultNodeLabelFn = g(void 0), this._defaultEdgeLabelFn = g(void 0), this._nodes = {}, this._isCompound && (this._parent = {}, this._children = {}, this._children[d] = {}), this._in = {}, this._preds = {}, this._out = {}, this._sucs = {}, this._edgeObjs = {}, this._edgeLabels = {};
9
9
  }
10
10
  /* === Graph functions ========= */
11
11
  isDirected() {
@@ -25,61 +25,58 @@ class w {
25
25
  }
26
26
  /* === Node functions ========== */
27
27
  setDefaultNodeLabel(t) {
28
- return b(t) || (t = f(t)), this._defaultNodeLabelFn = t, this;
28
+ return v(t) || (t = g(t)), this._defaultNodeLabelFn = t, this;
29
29
  }
30
30
  nodeCount() {
31
31
  return this._nodeCount;
32
32
  }
33
33
  nodes() {
34
- return l(this._nodes);
34
+ return _(this._nodes);
35
35
  }
36
36
  sources() {
37
37
  var t = this;
38
38
  return p(this.nodes(), function(e) {
39
- return C(t._in[e]);
39
+ return b(t._in[e]);
40
40
  });
41
41
  }
42
42
  sinks() {
43
43
  var t = this;
44
44
  return p(this.nodes(), function(e) {
45
- return C(t._out[e]);
45
+ return b(t._out[e]);
46
46
  });
47
47
  }
48
48
  setNodes(t, e) {
49
49
  var s = arguments, i = this;
50
- return u(t, function(r) {
50
+ return a(t, function(r) {
51
51
  s.length > 1 ? i.setNode(r, e) : i.setNode(r);
52
52
  }), this;
53
53
  }
54
54
  setNode(t, e) {
55
- return d(this._nodes, t) ? (arguments.length > 1 && (this._nodes[t] = e), this) : (this._nodes[t] = arguments.length > 1 ? e : this._defaultNodeLabelFn(t), this._isCompound && (this._parent[t] = a, this._children[t] = {}, this._children[a][t] = !0), this._in[t] = {}, this._preds[t] = {}, this._out[t] = {}, this._sucs[t] = {}, ++this._nodeCount, this);
55
+ return Object.prototype.hasOwnProperty.call(this._nodes, t) ? (arguments.length > 1 && (this._nodes[t] = e), this) : (this._nodes[t] = arguments.length > 1 ? e : this._defaultNodeLabelFn(t), this._isCompound && (this._parent[t] = d, this._children[t] = {}, this._children[d][t] = !0), this._in[t] = {}, this._preds[t] = {}, this._out[t] = {}, this._sucs[t] = {}, ++this._nodeCount, this);
56
56
  }
57
57
  node(t) {
58
58
  return this._nodes[t];
59
59
  }
60
60
  hasNode(t) {
61
- return d(this._nodes, t);
61
+ return Object.prototype.hasOwnProperty.call(this._nodes, t);
62
62
  }
63
63
  removeNode(t) {
64
- var e = this;
65
- if (d(this._nodes, t)) {
66
- var s = function(i) {
67
- e.removeEdge(e._edgeObjs[i]);
68
- };
69
- delete this._nodes[t], this._isCompound && (this._removeFromParentsChildList(t), delete this._parent[t], u(this.children(t), function(i) {
70
- e.setParent(i);
71
- }), delete this._children[t]), u(l(this._in[t]), s), delete this._in[t], delete this._preds[t], u(l(this._out[t]), s), delete this._out[t], delete this._sucs[t], --this._nodeCount;
64
+ if (Object.prototype.hasOwnProperty.call(this._nodes, t)) {
65
+ var e = (s) => this.removeEdge(this._edgeObjs[s]);
66
+ delete this._nodes[t], this._isCompound && (this._removeFromParentsChildList(t), delete this._parent[t], a(this.children(t), (s) => {
67
+ this.setParent(s);
68
+ }), delete this._children[t]), a(_(this._in[t]), e), delete this._in[t], delete this._preds[t], a(_(this._out[t]), e), delete this._out[t], delete this._sucs[t], --this._nodeCount;
72
69
  }
73
70
  return this;
74
71
  }
75
72
  setParent(t, e) {
76
73
  if (!this._isCompound)
77
74
  throw new Error("Cannot set parent in a non-compound graph");
78
- if (g(e))
79
- e = a;
75
+ if (l(e))
76
+ e = d;
80
77
  else {
81
78
  e += "";
82
- for (var s = e; !g(s); s = this.parent(s))
79
+ for (var s = e; !l(s); s = this.parent(s))
83
80
  if (s === t)
84
81
  throw new Error("Setting " + e + " as parent of " + t + " would create a cycle");
85
82
  this.setNode(e);
@@ -92,17 +89,17 @@ class w {
92
89
  parent(t) {
93
90
  if (this._isCompound) {
94
91
  var e = this._parent[t];
95
- if (e !== a)
92
+ if (e !== d)
96
93
  return e;
97
94
  }
98
95
  }
99
96
  children(t) {
100
- if (g(t) && (t = a), this._isCompound) {
97
+ if (l(t) && (t = d), this._isCompound) {
101
98
  var e = this._children[t];
102
99
  if (e)
103
- return l(e);
100
+ return _(e);
104
101
  } else {
105
- if (t === a)
102
+ if (t === d)
106
103
  return this.nodes();
107
104
  if (this.hasNode(t))
108
105
  return [];
@@ -111,17 +108,17 @@ class w {
111
108
  predecessors(t) {
112
109
  var e = this._preds[t];
113
110
  if (e)
114
- return l(e);
111
+ return _(e);
115
112
  }
116
113
  successors(t) {
117
114
  var e = this._sucs[t];
118
115
  if (e)
119
- return l(e);
116
+ return _(e);
120
117
  }
121
118
  neighbors(t) {
122
119
  var e = this.predecessors(t);
123
120
  if (e)
124
- return P(e, this.successors(t));
121
+ return D(e, this.successors(t));
125
122
  }
126
123
  isLeaf(t) {
127
124
  var e;
@@ -135,9 +132,9 @@ class w {
135
132
  });
136
133
  e.setGraph(this.graph());
137
134
  var s = this;
138
- u(this._nodes, function(n, h) {
135
+ a(this._nodes, function(n, h) {
139
136
  t(h) && e.setNode(h, n);
140
- }), u(this._edgeObjs, function(n) {
137
+ }), a(this._edgeObjs, function(n) {
141
138
  e.hasNode(n.v) && e.hasNode(n.w) && e.setEdge(n, s.edge(n));
142
139
  });
143
140
  var i = {};
@@ -145,13 +142,13 @@ class w {
145
142
  var h = s.parent(n);
146
143
  return h === void 0 || e.hasNode(h) ? (i[n] = h, h) : h in i ? i[h] : r(h);
147
144
  }
148
- return this._isCompound && u(e.nodes(), function(n) {
145
+ return this._isCompound && a(e.nodes(), function(n) {
149
146
  e.setParent(n, r(n));
150
147
  }), e;
151
148
  }
152
149
  /* === Edge functions ========== */
153
150
  setDefaultEdgeLabel(t) {
154
- return b(t) || (t = f(t)), this._defaultEdgeLabelFn = t, this;
151
+ return v(t) || (t = g(t)), this._defaultEdgeLabelFn = t, this;
155
152
  }
156
153
  edgeCount() {
157
154
  return this._edgeCount;
@@ -161,7 +158,7 @@ class w {
161
158
  }
162
159
  setPath(t, e) {
163
160
  var s = this, i = arguments;
164
- return F(t, function(r, n) {
161
+ return P(t, function(r, n) {
165
162
  return i.length > 1 ? s.setEdge(r, n, e) : s.setEdge(r, n), n;
166
163
  }), this;
167
164
  }
@@ -171,27 +168,27 @@ class w {
171
168
  */
172
169
  setEdge() {
173
170
  var t, e, s, i, r = !1, n = arguments[0];
174
- typeof n == "object" && n !== null && "v" in n ? (t = n.v, e = n.w, s = n.name, arguments.length === 2 && (i = arguments[1], r = !0)) : (t = n, e = arguments[1], s = arguments[3], arguments.length > 2 && (i = arguments[2], r = !0)), t = "" + t, e = "" + e, g(s) || (s = "" + s);
171
+ typeof n == "object" && n !== null && "v" in n ? (t = n.v, e = n.w, s = n.name, arguments.length === 2 && (i = arguments[1], r = !0)) : (t = n, e = arguments[1], s = arguments[3], arguments.length > 2 && (i = arguments[2], r = !0)), t = "" + t, e = "" + e, l(s) || (s = "" + s);
175
172
  var h = c(this._isDirected, t, e, s);
176
- if (d(this._edgeLabels, h))
173
+ if (Object.prototype.hasOwnProperty.call(this._edgeLabels, h))
177
174
  return r && (this._edgeLabels[h] = i), this;
178
- if (!g(s) && !this._isMultigraph)
175
+ if (!l(s) && !this._isMultigraph)
179
176
  throw new Error("Cannot set a named edge when isMultigraph = false");
180
177
  this.setNode(t), this.setNode(e), this._edgeLabels[h] = r ? i : this._defaultEdgeLabelFn(t, e, s);
181
- var _ = k(this._isDirected, t, e, s);
182
- return t = _.v, e = _.w, Object.freeze(_), this._edgeObjs[h] = _, E(this._preds[e], t), E(this._sucs[t], e), this._in[e][h] = _, this._out[t][h] = _, this._edgeCount++, this;
178
+ var u = M(this._isDirected, t, e, s);
179
+ return t = u.v, e = u.w, Object.freeze(u), this._edgeObjs[h] = u, O(this._preds[e], t), O(this._sucs[t], e), this._in[e][h] = u, this._out[t][h] = u, this._edgeCount++, this;
183
180
  }
184
181
  edge(t, e, s) {
185
- var i = arguments.length === 1 ? v(this._isDirected, arguments[0]) : c(this._isDirected, t, e, s);
182
+ var i = arguments.length === 1 ? f(this._isDirected, arguments[0]) : c(this._isDirected, t, e, s);
186
183
  return this._edgeLabels[i];
187
184
  }
188
185
  hasEdge(t, e, s) {
189
- var i = arguments.length === 1 ? v(this._isDirected, arguments[0]) : c(this._isDirected, t, e, s);
190
- return d(this._edgeLabels, i);
186
+ var i = arguments.length === 1 ? f(this._isDirected, arguments[0]) : c(this._isDirected, t, e, s);
187
+ return Object.prototype.hasOwnProperty.call(this._edgeLabels, i);
191
188
  }
192
189
  removeEdge(t, e, s) {
193
- var i = arguments.length === 1 ? v(this._isDirected, arguments[0]) : c(this._isDirected, t, e, s), r = this._edgeObjs[i];
194
- return r && (t = r.v, e = r.w, delete this._edgeLabels[i], delete this._edgeObjs[i], N(this._preds[e], t), N(this._sucs[t], e), delete this._in[e][i], delete this._out[t][i], this._edgeCount--), this;
190
+ var i = arguments.length === 1 ? f(this._isDirected, arguments[0]) : c(this._isDirected, t, e, s), r = this._edgeObjs[i];
191
+ return r && (t = r.v, e = r.w, delete this._edgeLabels[i], delete this._edgeObjs[i], w(this._preds[e], t), w(this._sucs[t], e), delete this._in[e][i], delete this._out[t][i], this._edgeCount--), this;
195
192
  }
196
193
  inEdges(t, e) {
197
194
  var s = this._in[t];
@@ -217,12 +214,12 @@ class w {
217
214
  return s.concat(this.outEdges(t, e));
218
215
  }
219
216
  }
220
- w.prototype._nodeCount = 0;
221
- w.prototype._edgeCount = 0;
222
- function E(o, t) {
217
+ y.prototype._nodeCount = 0;
218
+ y.prototype._edgeCount = 0;
219
+ function O(o, t) {
223
220
  o[t] ? o[t]++ : o[t] = 1;
224
221
  }
225
- function N(o, t) {
222
+ function w(o, t) {
226
223
  --o[t] || delete o[t];
227
224
  }
228
225
  function c(o, t, e, s) {
@@ -231,9 +228,9 @@ function c(o, t, e, s) {
231
228
  var n = i;
232
229
  i = r, r = n;
233
230
  }
234
- return i + L + r + L + (g(s) ? y : s);
231
+ return i + C + r + C + (l(s) ? F : s);
235
232
  }
236
- function k(o, t, e, s) {
233
+ function M(o, t, e, s) {
237
234
  var i = "" + t, r = "" + e;
238
235
  if (!o && i > r) {
239
236
  var n = i;
@@ -242,9 +239,9 @@ function k(o, t, e, s) {
242
239
  var h = { v: i, w: r };
243
240
  return s && (h.name = s), h;
244
241
  }
245
- function v(o, t) {
242
+ function f(o, t) {
246
243
  return c(o, t.v, t.w, t.name);
247
244
  }
248
245
  export {
249
- w as D
246
+ y as L
250
247
  };