@nxgt/material 1.13.0 → 1.16.0

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 (150) hide show
  1. package/README.md +4 -0
  2. package/dist/abnfDiagram-O67JEVCF-mm89LXw2.js +89 -0
  3. package/dist/architecture-7GRP2DOG-DDr0RGVC.js +3 -0
  4. package/dist/architectureDiagram-NJMV4G6O-CGoA5SIv.js +4146 -0
  5. package/dist/array-CApNbSU9.js +6 -0
  6. package/dist/blockDiagram-BEXU5L5S-Dq8gitB4.js +1946 -0
  7. package/dist/c4Diagram-YGBWAQC7-DO_alqIu.js +2990 -0
  8. package/dist/channel-1fT-W0NS.js +5 -0
  9. package/dist/chunk-2Q5K7J3B-kzxEEeTu.js +15 -0
  10. package/dist/chunk-3FUC2YCW-C3yD2fMw.js +364 -0
  11. package/dist/chunk-5DYCD2WN-Dn2jrYde.js +37 -0
  12. package/dist/chunk-5VM5RSS4-Cr17nBXp.js +5 -0
  13. package/dist/chunk-6AEJRKK7-JyfUnUEu.js +10 -0
  14. package/dist/chunk-742MDFTN-BbWkrtj2.js +275 -0
  15. package/dist/chunk-7INBJB4K-C3x7JNTG.js +4487 -0
  16. package/dist/chunk-7M6MHVWA-Cc7UTu4b.js +4256 -0
  17. package/dist/chunk-7PRAP22T-C8rsGRvH.js +67 -0
  18. package/dist/chunk-DUW6YSOI-BdOla2G8.js +10 -0
  19. package/dist/chunk-FOHPRMQF-Crq0JMf2.js +21388 -0
  20. package/dist/chunk-GNY47TPC-d-Bi8r0p.js +75 -0
  21. package/dist/chunk-GTNCS2PH-CTS015lZ.js +490 -0
  22. package/dist/chunk-GWA4HPMP-B4pgM-E1.js +61 -0
  23. package/dist/chunk-J5ZVWO5B-CYzz6Pq8.js +12 -0
  24. package/dist/chunk-JWPE2WC7-Ccb0QaC8.js +8 -0
  25. package/dist/chunk-LNGE3PJU-CiGrDO_F.js +1513 -0
  26. package/dist/chunk-MBY4JIJT-Dg6AeftH.js +1847 -0
  27. package/dist/chunk-NETBCI7D-TXZM0vKz.js +236 -0
  28. package/dist/chunk-O7XYJQB3-md6vjVm4.js +3922 -0
  29. package/dist/chunk-UA2S7LBM-DQTYPe9y.js +363 -0
  30. package/dist/chunk-WEXAMYUT-DmKWJz6y.js +26 -0
  31. package/dist/chunk-XXDRQBXY-C9XIYQdM.js +9 -0
  32. package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
  33. package/dist/chunk-Z7XXMR3K-BoDf6lxl.js +677 -0
  34. package/dist/chunk-ZIGJFQKS-CP5430fN.js +663 -0
  35. package/dist/classDiagram-v2-NBCMYWYE-6KoTmufe.js +3397 -0
  36. package/dist/components.js +3 -3
  37. package/dist/cose-bilkent-JH36ORCC-CejnZl_t.js +2251 -0
  38. package/dist/cynefin-OW5HDTMX-B8HVdZhp.js +3 -0
  39. package/dist/cynefinDiagram-VND7K2PF-DZnc0dlm.js +349 -0
  40. package/dist/cytoscape.esm-_jXi1N4y.js +18151 -0
  41. package/dist/dagre-6A5THRUB-cuS57NO5.js +2192 -0
  42. package/dist/diagram-22UHCM2B-zQSFmH0t.js +5084 -0
  43. package/dist/diagram-3UASUU5V-D45Fgu1j.js +724 -0
  44. package/dist/diagram-ATOU4E4O-YMtQnlqd.js +432 -0
  45. package/dist/diagram-CDSNMT55-DP7UmEW1.js +301 -0
  46. package/dist/diagram-MLGK6HIB-WvSqrTRC.js +134 -0
  47. package/dist/diagram-MPIPVDR6-C2F3__mt.js +214 -0
  48. package/dist/dist-1DdJvBEt.js +50 -0
  49. package/dist/{dist-BGGDEbJ3.js → dist-DppLdkXt.js} +2 -2
  50. package/dist/dnd.js +2 -2
  51. package/dist/ebnfDiagram-ZINNZB2B-BZC6cSiy.js +100 -0
  52. package/dist/elk-276RUBZZ-7DJf1MEV.js +47598 -0
  53. package/dist/erDiagram-OPXOYQCR-YKlEVEF0.js +1970 -0
  54. package/dist/eventmodeling-NTZA5JFV-C1CEo-26.js +3 -0
  55. package/dist/flowDiagram-KWPJA3E3-DyLvzIlg.js +17 -0
  56. package/dist/ganttDiagram-FUAMR5RP-KIaOrYOF.js +2928 -0
  57. package/dist/gitGraph-4MIJSDKK-BTeCS_5q.js +3 -0
  58. package/dist/gitGraphDiagram-X574FWY7-DpFW-7JE.js +729 -0
  59. package/dist/graphlib-DFaO_iIU.js +372 -0
  60. package/dist/{hooks-DReKyuyc.js → hooks-C5xy0u03.js} +1 -1
  61. package/dist/hooks.js +1 -1
  62. package/dist/{i18n-DtDrodl8.js → i18n-Cech9IAc.js} +314 -841
  63. package/dist/i18n.js +1 -1
  64. package/dist/info-A6RAGUB7-BvtuPd9C.js +3 -0
  65. package/dist/infoDiagram-VRGFBTTK-H3F-BCnu.js +20 -0
  66. package/dist/init-Buj1GKRa.js +27 -0
  67. package/dist/isArrayLikeObject-VG1KOJ3m.js +539 -0
  68. package/dist/ishikawaDiagram-OU5B5YK6-DgQDmcF3.js +719 -0
  69. package/dist/journeyDiagram-ZHPQQLJL-CanDOlfn.js +884 -0
  70. package/dist/kanban-definition-PNTS6WVX-DmnUgxgb.js +976 -0
  71. package/dist/katex-BMQ6LGsM.js +21962 -0
  72. package/dist/lib/components/index.d.ts +4 -0
  73. package/dist/lib/components/ui/chat/chat-composer-mentions.d.ts +8 -0
  74. package/dist/lib/components/ui/chat/chat-composer.d.ts +5 -1
  75. package/dist/lib/components/ui/chat/chat-markdown.d.ts +2 -2
  76. package/dist/lib/components/ui/emoji/emoji-list.d.ts +5 -0
  77. package/dist/lib/components/ui/emoji/emoji-picker.d.ts +7 -0
  78. package/dist/lib/components/ui/emoji/emoji.utils.d.ts +2 -0
  79. package/dist/lib/components/ui/emoji/emoji.utils.test.d.ts +1 -0
  80. package/dist/lib/components/ui/emoji/index.d.ts +4 -0
  81. package/dist/lib/components/ui/emoji/types.d.ts +6 -0
  82. package/dist/lib/components/ui/entity-header.stories.d.ts +1 -0
  83. package/dist/lib/components/ui/kanban/kanban.stories.d.ts +1 -0
  84. package/dist/lib/components/ui/markdown/index.d.ts +3 -0
  85. package/dist/lib/components/ui/markdown/markdown.d.ts +7 -0
  86. package/dist/lib/components/ui/markdown/markdown.stories.d.ts +14 -0
  87. package/dist/lib/components/ui/markdown/markdown.test.d.ts +1 -0
  88. package/dist/lib/components/ui/markdown/markdown.utils.d.ts +1 -0
  89. package/dist/lib/components/ui/markdown/mermaid.lazy.d.ts +12 -0
  90. package/dist/lib/components/ui/markdown/partials/markdown-code.d.ts +2 -0
  91. package/dist/lib/components/ui/markdown/partials/mermaid-diagram.d.ts +4 -0
  92. package/dist/lib/components/ui/mentions/index.d.ts +3 -0
  93. package/dist/lib/components/ui/mentions/mention-list.d.ts +8 -0
  94. package/dist/lib/components/ui/mentions/mentions.utils.d.ts +7 -0
  95. package/dist/lib/components/ui/mentions/mentions.utils.test.d.ts +1 -0
  96. package/dist/lib/components/ui/mentions/types.d.ts +7 -0
  97. package/dist/lib/components/ui/rich-text-editor/extensions/mention/mention-list.d.ts +12 -1
  98. package/dist/lib/components/ui/terminal/index.d.ts +2 -0
  99. package/dist/lib/components/ui/terminal/terminal.d.ts +11 -0
  100. package/dist/lib/components/ui/terminal/terminal.stories.d.ts +14 -0
  101. package/dist/lib/components/ui/terminal/terminal.utils.d.ts +5 -0
  102. package/dist/lib/components/ui/terminal/terminal.utils.test.d.ts +1 -0
  103. package/dist/lib/i18n/resources/en/index.d.ts +7 -0
  104. package/dist/lib/i18n/resources/en/material.json.d.ts +7 -0
  105. package/dist/lib/i18n/resources/fr/index.d.ts +7 -0
  106. package/dist/lib/i18n/resources/fr/material.json.d.ts +7 -0
  107. package/dist/lib/i18n/resources/index.d.ts +14 -0
  108. package/dist/lib/i18n/translator.d.ts +1 -1
  109. package/dist/{lib-CD3tyuc8.js → lib-Bbw5QPoj.js} +472 -471
  110. package/dist/lib.js +2 -2
  111. package/dist/{main-r84Yresa.js → main-BjDU9FDM.js} +59393 -30376
  112. package/dist/main.js +6 -6
  113. package/dist/material.css +1 -1
  114. package/dist/math-C5EhTgJw.js +10 -0
  115. package/dist/mermaid-parser.core-Cz-MfB4Z.js +638 -0
  116. package/dist/mermaid.core-BI1sunfX.js +1096 -0
  117. package/dist/mindmap-definition-NLK3R4M7-DW0BIU_q.js +1008 -0
  118. package/dist/ordinal-DuP05kVQ.js +65 -0
  119. package/dist/packet-AYTQ26CC-CshIswP8.js +3 -0
  120. package/dist/path-Cjou0lUh.js +85 -0
  121. package/dist/pegDiagram-GJSIUBJH-CJIx0u4M.js +94 -0
  122. package/dist/pie-WAS4IAKB-CYs22y4X.js +3 -0
  123. package/dist/pieDiagram-5QR66LMP-zAhv5fKz.js +157 -0
  124. package/dist/quadrantDiagram-O4NWA36T-CO4n_yQo.js +2001 -0
  125. package/dist/radar-RG4KPBEZ-BOJKjbGv.js +3 -0
  126. package/dist/railroad-74A4TZTK-Dt1BmUkI.js +3 -0
  127. package/dist/railroad-abnf-HS5TGJTU-Cs9GMUMY.js +3 -0
  128. package/dist/railroad-ebnf-LZEXJU2U-D4y0fXoW.js +3 -0
  129. package/dist/railroad-peg-WCYAUIDC-D2f_ZNR5.js +3 -0
  130. package/dist/railroadDiagram-XR7U4H2S-B8iV7mfe.js +76 -0
  131. package/dist/requirementDiagram-PLB6GJNP-CGoX1NrW.js +2228 -0
  132. package/dist/rough.esm-rcMoXTJj.js +1352 -0
  133. package/dist/sankeyDiagram-IPEJSGJF-DdSM2wiI.js +962 -0
  134. package/dist/sequenceDiagram-PO4LG4MO-CCRqF5XO.js +4200 -0
  135. package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
  136. package/dist/src-B4npqWNl.js +1775 -0
  137. package/dist/stateDiagram-v2-GCMORJYK-CQTX5ks8.js +2143 -0
  138. package/dist/step-B6KjpKgN.js +706 -0
  139. package/dist/string-B-ZWXCs2.js +392 -0
  140. package/dist/swimlanes-2SLR337P-C2NNOb5n.js +4763 -0
  141. package/dist/swimlanesDiagram-TC7HE7FX-CPsqPrbP.js +28 -0
  142. package/dist/timeline-definition-EJHVYXUP-DuxGHv-N.js +1073 -0
  143. package/dist/treeView-Q6P3EWNA-BrJylG9N.js +3 -0
  144. package/dist/treemap-WGGIJYW6-DpIZuqbj.js +3 -0
  145. package/dist/usecaseDiagram-POWQR4AR-cuAeIBW3.js +9932 -0
  146. package/dist/vennDiagram-UO4OBE2U-DLwBSAnC.js +1880 -0
  147. package/dist/wardley-WFR3VGLG-CbwdAAbH.js +3 -0
  148. package/dist/wardleyDiagram-VNRHLVJA-D7IZU6vu.js +645 -0
  149. package/dist/xychartDiagram-PMCCYNJV-BDOFv_xK.js +2167 -0
  150. package/package.json +7 -1
@@ -0,0 +1,372 @@
1
+ import { Cm as e, Tm as t, km as n, wm as r } from "./main-BjDU9FDM.js";
2
+ import { J as i, K as a, X as o, nt as s, q as c, rt as l, tt as u } from "./lib-Bbw5QPoj.js";
3
+ import { B as d, C as f, F as p, I as m, M as h, N as g, k as _, t as v, x as y, y as b } from "./isArrayLikeObject-VG1KOJ3m.js";
4
+ //#region node_modules/lodash-es/noop.js
5
+ function x() {}
6
+ //#endregion
7
+ //#region node_modules/lodash-es/_baseFindIndex.js
8
+ function S(e, t, n, r) {
9
+ for (var i = e.length, a = n + (r ? 1 : -1); r ? a-- : ++a < i;) if (t(e[a], a, e)) return a;
10
+ return -1;
11
+ }
12
+ //#endregion
13
+ //#region node_modules/lodash-es/_baseIsNaN.js
14
+ function C(e) {
15
+ return e !== e;
16
+ }
17
+ //#endregion
18
+ //#region node_modules/lodash-es/_strictIndexOf.js
19
+ function w(e, t, n) {
20
+ for (var r = n - 1, i = e.length; ++r < i;) if (e[r] === t) return r;
21
+ return -1;
22
+ }
23
+ //#endregion
24
+ //#region node_modules/lodash-es/_baseIndexOf.js
25
+ function T(e, t, n) {
26
+ return t === t ? w(e, t, n) : S(e, C, n);
27
+ }
28
+ //#endregion
29
+ //#region node_modules/lodash-es/_arrayIncludes.js
30
+ function ee(e, t) {
31
+ return !!(e != null && e.length) && T(e, t, 0) > -1;
32
+ }
33
+ //#endregion
34
+ //#region node_modules/lodash-es/_isFlattenable.js
35
+ var E = d ? d.isConcatSpreadable : void 0;
36
+ function D(e) {
37
+ return p(e) || b(e) || !!(E && e && e[E]);
38
+ }
39
+ //#endregion
40
+ //#region node_modules/lodash-es/_baseFlatten.js
41
+ function O(e, t, n, r, i) {
42
+ var a = -1, o = e.length;
43
+ for (n ||= D, i ||= []; ++a < o;) {
44
+ var c = e[a];
45
+ t > 0 && n(c) ? t > 1 ? O(c, t - 1, n, r, i) : s(i, c) : r || (i[i.length] = c);
46
+ }
47
+ return i;
48
+ }
49
+ //#endregion
50
+ //#region node_modules/lodash-es/_arrayReduce.js
51
+ function k(e, t, n, r) {
52
+ var i = -1, a = e == null ? 0 : e.length;
53
+ for (r && a && (n = e[++i]); ++i < a;) n = t(n, e[i], i, e);
54
+ return n;
55
+ }
56
+ //#endregion
57
+ //#region node_modules/lodash-es/_createBaseEach.js
58
+ function A(e, t) {
59
+ return function(n, r) {
60
+ if (n == null) return n;
61
+ if (!y(n)) return e(n, r);
62
+ for (var i = n.length, a = t ? i : -1, o = Object(n); (t ? a-- : ++a < i) && r(o[a], a, o) !== !1;);
63
+ return n;
64
+ };
65
+ }
66
+ //#endregion
67
+ //#region node_modules/lodash-es/_baseEach.js
68
+ var j = A(r);
69
+ //#endregion
70
+ //#region node_modules/lodash-es/_arrayIncludesWith.js
71
+ function M(e, t, n) {
72
+ for (var r = -1, i = e == null ? 0 : e.length; ++r < i;) if (n(t, e[r])) return !0;
73
+ return !1;
74
+ }
75
+ //#endregion
76
+ //#region node_modules/lodash-es/_castFunction.js
77
+ function N(e) {
78
+ return typeof e == "function" ? e : g;
79
+ }
80
+ //#endregion
81
+ //#region node_modules/lodash-es/forEach.js
82
+ function P(e, t) {
83
+ return (p(e) ? n : j)(e, N(t));
84
+ }
85
+ //#endregion
86
+ //#region node_modules/lodash-es/_baseFilter.js
87
+ function F(e, t) {
88
+ var n = [];
89
+ return j(e, function(e, r, i) {
90
+ t(e, r, i) && n.push(e);
91
+ }), n;
92
+ }
93
+ //#endregion
94
+ //#region node_modules/lodash-es/filter.js
95
+ function I(e, n) {
96
+ return (p(e) ? u : F)(e, t(n, 3));
97
+ }
98
+ //#endregion
99
+ //#region node_modules/lodash-es/_baseValues.js
100
+ function L(e, t) {
101
+ return m(t, function(t) {
102
+ return e[t];
103
+ });
104
+ }
105
+ //#endregion
106
+ //#region node_modules/lodash-es/values.js
107
+ function R(e) {
108
+ return e == null ? [] : L(e, l(e));
109
+ }
110
+ //#endregion
111
+ //#region node_modules/lodash-es/isUndefined.js
112
+ function z(e) {
113
+ return e === void 0;
114
+ }
115
+ //#endregion
116
+ //#region node_modules/lodash-es/_baseReduce.js
117
+ function B(e, t, n, r, i) {
118
+ return i(e, function(e, i, a) {
119
+ n = r ? (r = !1, e) : t(n, e, i, a);
120
+ }), n;
121
+ }
122
+ //#endregion
123
+ //#region node_modules/lodash-es/reduce.js
124
+ function V(e, n, r) {
125
+ var i = p(e) ? k : B, a = arguments.length < 3;
126
+ return i(e, t(n, 4), r, a, j);
127
+ }
128
+ //#endregion
129
+ //#region node_modules/lodash-es/_createSet.js
130
+ var H = o && 1 / a(new o([, -0]))[1] == Infinity ? function(e) {
131
+ return new o(e);
132
+ } : x, U = 200;
133
+ function W(e, t, n) {
134
+ var r = -1, o = ee, s = e.length, l = !0, u = [], d = u;
135
+ if (n) l = !1, o = M;
136
+ else if (s >= U) {
137
+ var f = t ? null : H(e);
138
+ if (f) return a(f);
139
+ l = !1, o = c, d = new i();
140
+ } else d = t ? [] : u;
141
+ outer: for (; ++r < s;) {
142
+ var p = e[r], m = t ? t(p) : p;
143
+ if (p = n || p !== 0 ? p : 0, l && m === m) {
144
+ for (var h = d.length; h--;) if (d[h] === m) continue outer;
145
+ t && d.push(m), u.push(p);
146
+ } else o(d, m, n) || (d !== u && d.push(m), u.push(p));
147
+ }
148
+ return u;
149
+ }
150
+ //#endregion
151
+ //#region node_modules/lodash-es/union.js
152
+ var G = f(function(e) {
153
+ return W(O(e, 1, v, !0));
154
+ }), K = "\0", q = "\0", J = "", Y = class {
155
+ constructor(e = {}) {
156
+ this._isDirected = !Object.prototype.hasOwnProperty.call(e, "directed") || e.directed, this._isMultigraph = Object.prototype.hasOwnProperty.call(e, "multigraph") ? e.multigraph : !1, this._isCompound = Object.prototype.hasOwnProperty.call(e, "compound") ? e.compound : !1, this._label = void 0, this._defaultNodeLabelFn = _(void 0), this._defaultEdgeLabelFn = _(void 0), this._nodes = {}, this._isCompound && (this._parent = {}, this._children = {}, this._children[q] = {}), this._in = {}, this._preds = {}, this._out = {}, this._sucs = {}, this._edgeObjs = {}, this._edgeLabels = {};
157
+ }
158
+ isDirected() {
159
+ return this._isDirected;
160
+ }
161
+ isMultigraph() {
162
+ return this._isMultigraph;
163
+ }
164
+ isCompound() {
165
+ return this._isCompound;
166
+ }
167
+ setGraph(e) {
168
+ return this._label = e, this;
169
+ }
170
+ graph() {
171
+ return this._label;
172
+ }
173
+ setDefaultNodeLabel(e) {
174
+ return h(e) || (e = _(e)), this._defaultNodeLabelFn = e, this;
175
+ }
176
+ nodeCount() {
177
+ return this._nodeCount;
178
+ }
179
+ nodes() {
180
+ return l(this._nodes);
181
+ }
182
+ sources() {
183
+ var t = this;
184
+ return I(this.nodes(), function(n) {
185
+ return e(t._in[n]);
186
+ });
187
+ }
188
+ sinks() {
189
+ var t = this;
190
+ return I(this.nodes(), function(n) {
191
+ return e(t._out[n]);
192
+ });
193
+ }
194
+ setNodes(e, t) {
195
+ var n = arguments, r = this;
196
+ return P(e, function(e) {
197
+ n.length > 1 ? r.setNode(e, t) : r.setNode(e);
198
+ }), this;
199
+ }
200
+ setNode(e, t) {
201
+ return Object.prototype.hasOwnProperty.call(this._nodes, e) ? (arguments.length > 1 && (this._nodes[e] = t), this) : (this._nodes[e] = arguments.length > 1 ? t : this._defaultNodeLabelFn(e), this._isCompound && (this._parent[e] = q, this._children[e] = {}, this._children[q][e] = !0), this._in[e] = {}, this._preds[e] = {}, this._out[e] = {}, this._sucs[e] = {}, ++this._nodeCount, this);
202
+ }
203
+ node(e) {
204
+ return this._nodes[e];
205
+ }
206
+ hasNode(e) {
207
+ return Object.prototype.hasOwnProperty.call(this._nodes, e);
208
+ }
209
+ removeNode(e) {
210
+ if (Object.prototype.hasOwnProperty.call(this._nodes, e)) {
211
+ var t = (e) => this.removeEdge(this._edgeObjs[e]);
212
+ delete this._nodes[e], this._isCompound && (this._removeFromParentsChildList(e), delete this._parent[e], P(this.children(e), (e) => {
213
+ this.setParent(e);
214
+ }), delete this._children[e]), P(l(this._in[e]), t), delete this._in[e], delete this._preds[e], P(l(this._out[e]), t), delete this._out[e], delete this._sucs[e], --this._nodeCount;
215
+ }
216
+ return this;
217
+ }
218
+ setParent(e, t) {
219
+ if (!this._isCompound) throw Error("Cannot set parent in a non-compound graph");
220
+ if (z(t)) t = q;
221
+ else {
222
+ t += "";
223
+ for (var n = t; !z(n); n = this.parent(n)) if (n === e) throw Error("Setting " + t + " as parent of " + e + " would create a cycle");
224
+ this.setNode(t);
225
+ }
226
+ return this.setNode(e), this._removeFromParentsChildList(e), this._parent[e] = t, this._children[t][e] = !0, this;
227
+ }
228
+ _removeFromParentsChildList(e) {
229
+ delete this._children[this._parent[e]][e];
230
+ }
231
+ parent(e) {
232
+ if (this._isCompound) {
233
+ var t = this._parent[e];
234
+ if (t !== q) return t;
235
+ }
236
+ }
237
+ children(e) {
238
+ if (z(e) && (e = q), this._isCompound) {
239
+ var t = this._children[e];
240
+ if (t) return l(t);
241
+ } else if (e === q) return this.nodes();
242
+ else if (this.hasNode(e)) return [];
243
+ }
244
+ predecessors(e) {
245
+ var t = this._preds[e];
246
+ if (t) return l(t);
247
+ }
248
+ successors(e) {
249
+ var t = this._sucs[e];
250
+ if (t) return l(t);
251
+ }
252
+ neighbors(e) {
253
+ var t = this.predecessors(e);
254
+ if (t) return G(t, this.successors(e));
255
+ }
256
+ isLeaf(e) {
257
+ return (this.isDirected() ? this.successors(e) : this.neighbors(e)).length === 0;
258
+ }
259
+ filterNodes(e) {
260
+ var t = new this.constructor({
261
+ directed: this._isDirected,
262
+ multigraph: this._isMultigraph,
263
+ compound: this._isCompound
264
+ });
265
+ t.setGraph(this.graph());
266
+ var n = this;
267
+ P(this._nodes, function(n, r) {
268
+ e(r) && t.setNode(r, n);
269
+ }), P(this._edgeObjs, function(e) {
270
+ t.hasNode(e.v) && t.hasNode(e.w) && t.setEdge(e, n.edge(e));
271
+ });
272
+ var r = {};
273
+ function i(e) {
274
+ var a = n.parent(e);
275
+ return a === void 0 || t.hasNode(a) ? (r[e] = a, a) : a in r ? r[a] : i(a);
276
+ }
277
+ return this._isCompound && P(t.nodes(), function(e) {
278
+ t.setParent(e, i(e));
279
+ }), t;
280
+ }
281
+ setDefaultEdgeLabel(e) {
282
+ return h(e) || (e = _(e)), this._defaultEdgeLabelFn = e, this;
283
+ }
284
+ edgeCount() {
285
+ return this._edgeCount;
286
+ }
287
+ edges() {
288
+ return R(this._edgeObjs);
289
+ }
290
+ setPath(e, t) {
291
+ var n = this, r = arguments;
292
+ return V(e, function(e, i) {
293
+ return r.length > 1 ? n.setEdge(e, i, t) : n.setEdge(e, i), i;
294
+ }), this;
295
+ }
296
+ setEdge() {
297
+ var e, t, n, r, i = !1, a = arguments[0];
298
+ typeof a == "object" && a && "v" in a ? (e = a.v, t = a.w, n = a.name, arguments.length === 2 && (r = arguments[1], i = !0)) : (e = a, t = arguments[1], n = arguments[3], arguments.length > 2 && (r = arguments[2], i = !0)), e = "" + e, t = "" + t, z(n) || (n = "" + n);
299
+ var o = Q(this._isDirected, e, t, n);
300
+ if (Object.prototype.hasOwnProperty.call(this._edgeLabels, o)) return i && (this._edgeLabels[o] = r), this;
301
+ if (!z(n) && !this._isMultigraph) throw Error("Cannot set a named edge when isMultigraph = false");
302
+ this.setNode(e), this.setNode(t), this._edgeLabels[o] = i ? r : this._defaultEdgeLabelFn(e, t, n);
303
+ var s = te(this._isDirected, e, t, n);
304
+ return e = s.v, t = s.w, Object.freeze(s), this._edgeObjs[o] = s, X(this._preds[t], e), X(this._sucs[e], t), this._in[t][o] = s, this._out[e][o] = s, this._edgeCount++, this;
305
+ }
306
+ edge(e, t, n) {
307
+ var r = arguments.length === 1 ? $(this._isDirected, arguments[0]) : Q(this._isDirected, e, t, n);
308
+ return this._edgeLabels[r];
309
+ }
310
+ hasEdge(e, t, n) {
311
+ var r = arguments.length === 1 ? $(this._isDirected, arguments[0]) : Q(this._isDirected, e, t, n);
312
+ return Object.prototype.hasOwnProperty.call(this._edgeLabels, r);
313
+ }
314
+ removeEdge(e, t, n) {
315
+ var r = arguments.length === 1 ? $(this._isDirected, arguments[0]) : Q(this._isDirected, e, t, n), i = this._edgeObjs[r];
316
+ return i && (e = i.v, t = i.w, delete this._edgeLabels[r], delete this._edgeObjs[r], Z(this._preds[t], e), Z(this._sucs[e], t), delete this._in[t][r], delete this._out[e][r], this._edgeCount--), this;
317
+ }
318
+ inEdges(e, t) {
319
+ var n = this._in[e];
320
+ if (n) {
321
+ var r = R(n);
322
+ return t ? I(r, function(e) {
323
+ return e.v === t;
324
+ }) : r;
325
+ }
326
+ }
327
+ outEdges(e, t) {
328
+ var n = this._out[e];
329
+ if (n) {
330
+ var r = R(n);
331
+ return t ? I(r, function(e) {
332
+ return e.w === t;
333
+ }) : r;
334
+ }
335
+ }
336
+ nodeEdges(e, t) {
337
+ var n = this.inEdges(e, t);
338
+ if (n) return n.concat(this.outEdges(e, t));
339
+ }
340
+ };
341
+ Y.prototype._nodeCount = 0, Y.prototype._edgeCount = 0;
342
+ function X(e, t) {
343
+ e[t] ? e[t]++ : e[t] = 1;
344
+ }
345
+ function Z(e, t) {
346
+ --e[t] || delete e[t];
347
+ }
348
+ function Q(e, t, n, r) {
349
+ var i = "" + t, a = "" + n;
350
+ if (!e && i > a) {
351
+ var o = i;
352
+ i = a, a = o;
353
+ }
354
+ return i + J + a + J + (z(r) ? K : r);
355
+ }
356
+ function te(e, t, n, r) {
357
+ var i = "" + t, a = "" + n;
358
+ if (!e && i > a) {
359
+ var o = i;
360
+ i = a, a = o;
361
+ }
362
+ var s = {
363
+ v: i,
364
+ w: a
365
+ };
366
+ return r && (s.name = r), s;
367
+ }
368
+ function $(e, t) {
369
+ return Q(e, t.v, t.w, t.name);
370
+ }
371
+ //#endregion
372
+ export { I as a, j as c, R as i, O as l, V as n, P as o, z as r, N as s, Y as t, S as u };
@@ -1,4 +1,4 @@
1
- import { l as e } from "./i18n-DtDrodl8.js";
1
+ import { l as e } from "./i18n-Cech9IAc.js";
2
2
  import { F as t, I as n, N as r, P as i, n as a, t as o, w as s } from "./number.utils-BR3XO6me.js";
3
3
  import { useCallback as c, useEffect as l, useLayoutEffect as u, useMemo as d, useRef as f, useState as p } from "react";
4
4
  import { useNavigate as m, useSearchParams as h } from "react-router";
package/dist/hooks.js CHANGED
@@ -1,3 +1,3 @@
1
- import { _ as e, a as t, c as n, g as r, h as i, i as a, l as o, n as s, o as c, r as l, s as u, t as d, v as f, y as p } from "./hooks-DReKyuyc.js";
1
+ import { _ as e, a as t, c as n, g as r, h as i, i as a, l as o, n as s, o as c, r as l, s as u, t as d, v as f, y as p } from "./hooks-C5xy0u03.js";
2
2
  import { L as m } from "./number.utils-BR3XO6me.js";
3
3
  export { f as applyResolvedTheme, l as buildOptions, a as extractNode, p as resolveTheme, e as useAllowedTransitions, r as useHeadingSpy, m as useIsClient, o as useIsMobile, i as useLocalizedDate, u as useNavigationHandler, n as useNavigationHandlers, c as useNumberFormatter, t as useOptions, s as useSearchParam, d as useTheme };