@nxgt/material-vue 0.15.3 → 0.19.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 (157) hide show
  1. package/README.md +5 -1
  2. package/dist/_baseIsEqual-Cj6hHjs0.js +226 -0
  3. package/dist/abnfDiagram-O67JEVCF-Cl_I9xuI.js +89 -0
  4. package/dist/arc-DNNg1pxp.js +80 -0
  5. package/dist/architecture-7GRP2DOG-DDr0RGVC.js +3 -0
  6. package/dist/architectureDiagram-NJMV4G6O-CVS4UUCi.js +4146 -0
  7. package/dist/array-CApNbSU9.js +6 -0
  8. package/dist/blockDiagram-BEXU5L5S-B5Z0jbc8.js +1946 -0
  9. package/dist/c4Diagram-YGBWAQC7-B6jKsl3h.js +2990 -0
  10. package/dist/{camera-DmcoWLY_.js → camera-oxz1xItP.js} +4 -4
  11. package/dist/channel-BA1GJyZ7.js +5 -0
  12. package/dist/chunk-2Q5K7J3B-kzxEEeTu.js +15 -0
  13. package/dist/chunk-3FUC2YCW-CX-v_TQz.js +364 -0
  14. package/dist/chunk-5DYCD2WN-B9vjeX2u.js +37 -0
  15. package/dist/chunk-5VM5RSS4-Cr17nBXp.js +5 -0
  16. package/dist/chunk-6AEJRKK7-D9IaQdwq.js +10 -0
  17. package/dist/chunk-742MDFTN-BIhVe9GR.js +275 -0
  18. package/dist/chunk-7INBJB4K-CwPgdc2G.js +4487 -0
  19. package/dist/chunk-7M6MHVWA-Deh_-m6x.js +4256 -0
  20. package/dist/chunk-7PRAP22T-CofnNOEr.js +67 -0
  21. package/dist/chunk-DUW6YSOI-BdOla2G8.js +10 -0
  22. package/dist/chunk-FOHPRMQF-Crq0JMf2.js +21388 -0
  23. package/dist/chunk-GNY47TPC-rS2K544k.js +75 -0
  24. package/dist/chunk-GTNCS2PH-BR0O70z_.js +490 -0
  25. package/dist/chunk-GWA4HPMP-DU9lUCZD.js +61 -0
  26. package/dist/chunk-J5ZVWO5B-CYzz6Pq8.js +12 -0
  27. package/dist/chunk-JWPE2WC7-Ccb0QaC8.js +8 -0
  28. package/dist/chunk-LNGE3PJU-CiGrDO_F.js +1513 -0
  29. package/dist/chunk-MBY4JIJT-HYVRUG_P.js +1847 -0
  30. package/dist/chunk-NETBCI7D-C8amwD_P.js +236 -0
  31. package/dist/chunk-O7XYJQB3-WMQqqzRb.js +3922 -0
  32. package/dist/chunk-UA2S7LBM-DtBatid7.js +363 -0
  33. package/dist/chunk-WEXAMYUT-Cc10h8ed.js +26 -0
  34. package/dist/chunk-XXDRQBXY-B2pGFcse.js +9 -0
  35. package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
  36. package/dist/chunk-Z7XXMR3K-CJmsOGTV.js +676 -0
  37. package/dist/chunk-ZIGJFQKS-DBdWb0bj.js +1366 -0
  38. package/dist/classDiagram-v2-NBCMYWYE-Caqw5P6A.js +3397 -0
  39. package/dist/{components-CzlSXpgn.js → components-IbdMALGv.js} +43231 -18341
  40. package/dist/components.js +5 -5
  41. package/dist/{composables-CJfjxkud.js → composables-6zV0t-y7.js} +1 -1
  42. package/dist/composables.js +1 -1
  43. package/dist/cose-bilkent-JH36ORCC-DStMi-eo.js +2251 -0
  44. package/dist/cynefin-OW5HDTMX-B8HVdZhp.js +3 -0
  45. package/dist/cynefinDiagram-VND7K2PF-0Mq0e5NQ.js +349 -0
  46. package/dist/cytoscape.esm-_jXi1N4y.js +18151 -0
  47. package/dist/dagre-6A5THRUB-EHXNn6Wq.js +2192 -0
  48. package/dist/defaultLocale-DnzPsei5.js +201 -0
  49. package/dist/diagram-22UHCM2B-B3RAQlqQ.js +5084 -0
  50. package/dist/diagram-3UASUU5V-BznCZHss.js +525 -0
  51. package/dist/diagram-ATOU4E4O-DtIUxSAn.js +432 -0
  52. package/dist/diagram-CDSNMT55-DOjN3BR2.js +301 -0
  53. package/dist/diagram-MLGK6HIB-Dx2UboD6.js +134 -0
  54. package/dist/diagram-MPIPVDR6-DnPL3RV0.js +214 -0
  55. package/dist/dist-D9zvfe2i.js +59 -0
  56. package/dist/{dnd-CnXShic8.js → dnd-CaDeYjQx.js} +1 -1
  57. package/dist/dnd.js +1 -1
  58. package/dist/ebnfDiagram-ZINNZB2B-BNbxCL0b.js +100 -0
  59. package/dist/elk-276RUBZZ-B9WeHolc.js +47597 -0
  60. package/dist/erDiagram-OPXOYQCR-DReZElBu.js +1970 -0
  61. package/dist/eventmodeling-NTZA5JFV-C1CEo-26.js +3 -0
  62. package/dist/flowDiagram-KWPJA3E3-DYss4vEI.js +17 -0
  63. package/dist/ganttDiagram-FUAMR5RP-64EZDDmC.js +3083 -0
  64. package/dist/gitGraph-4MIJSDKK-BTeCS_5q.js +3 -0
  65. package/dist/gitGraphDiagram-X574FWY7-DmMMrp5A.js +729 -0
  66. package/dist/graphlib-CrmIPC4m.js +372 -0
  67. package/dist/{i18n-weSTOoFJ.js → i18n-OBzfa-B7.js} +247 -926
  68. package/dist/i18n.js +2 -2
  69. package/dist/info-A6RAGUB7-BvtuPd9C.js +3 -0
  70. package/dist/infoDiagram-VRGFBTTK-XlBUAu0t.js +20 -0
  71. package/dist/init-MwSGRDIl.js +15 -0
  72. package/dist/isArrayLikeObject-VG1KOJ3m.js +539 -0
  73. package/dist/isEmpty-CMjyBU-a.js +136 -0
  74. package/dist/ishikawaDiagram-OU5B5YK6-C9cMWMPO.js +719 -0
  75. package/dist/journeyDiagram-ZHPQQLJL-DXdfP9BW.js +884 -0
  76. package/dist/kanban-definition-PNTS6WVX-DhOBy3A0.js +976 -0
  77. package/dist/katex-BMQ6LGsM.js +21962 -0
  78. package/dist/lib/components/index.d.ts +4 -0
  79. package/dist/lib/components/ui/chat/chat-composer-mentions.vue.d.ts +13 -0
  80. package/dist/lib/components/ui/chat/chat-composer.vue.d.ts +6 -2
  81. package/dist/lib/components/ui/contacts/consts.d.ts +1 -1
  82. package/dist/lib/components/ui/emoji/emoji-list.vue.d.ts +11 -0
  83. package/dist/lib/components/ui/emoji/emoji-picker.vue.d.ts +12 -0
  84. package/dist/lib/components/ui/emoji/emoji.utils.d.ts +2 -0
  85. package/dist/lib/components/ui/emoji/index.d.ts +4 -0
  86. package/dist/lib/components/ui/emoji/types.d.ts +6 -0
  87. package/dist/lib/components/ui/markdown/index.d.ts +2 -0
  88. package/dist/lib/components/ui/markdown/markdown.utils.d.ts +10 -0
  89. package/dist/lib/components/ui/markdown/markdown.vue.d.ts +10 -0
  90. package/dist/lib/components/ui/markdown/mermaid.lazy.d.ts +12 -0
  91. package/dist/lib/components/ui/markdown/partials/mermaid-diagram.vue.d.ts +7 -0
  92. package/dist/lib/components/ui/mentions/index.d.ts +4 -0
  93. package/dist/lib/components/ui/mentions/mention-list.vue.d.ts +16 -0
  94. package/dist/lib/components/ui/mentions/mentions.utils.d.ts +7 -0
  95. package/dist/lib/components/ui/mentions/types.d.ts +5 -0
  96. package/dist/lib/components/ui/terminal/index.d.ts +3 -0
  97. package/dist/lib/components/ui/terminal/terminal.utils.d.ts +5 -0
  98. package/dist/lib/components/ui/terminal/terminal.vue.d.ts +17 -0
  99. package/dist/lib/i18n/resources/en/index.d.ts +13 -0
  100. package/dist/lib/i18n/resources/en/material.json.d.ts +14 -1
  101. package/dist/lib/i18n/resources/fr/index.d.ts +13 -0
  102. package/dist/lib/i18n/resources/fr/material.json.d.ts +14 -1
  103. package/dist/lib/i18n/resources/index.d.ts +26 -0
  104. package/dist/lib/i18n/translator.d.ts +1 -1
  105. package/dist/lib/nuxt/component-names.d.ts +1 -1
  106. package/dist/lib-B9AHrvmh.js +389 -0
  107. package/dist/lib.js +1 -1
  108. package/dist/line-UP6dkL36.js +34 -0
  109. package/dist/linear-bD_QoED_.js +289 -0
  110. package/dist/main.js +9 -9
  111. package/dist/material-vue.css +1 -1
  112. package/dist/merge-B4IBXGaq.js +170 -0
  113. package/dist/mermaid-parser.core-Cz-MfB4Z.js +638 -0
  114. package/dist/mermaid.core-C_Rtflmc.js +1096 -0
  115. package/dist/mindmap-definition-NLK3R4M7-CO6s2Afv.js +1008 -0
  116. package/dist/ordinal-D_ZgubzR.js +65 -0
  117. package/dist/packet-AYTQ26CC-CshIswP8.js +3 -0
  118. package/dist/path-DGNPZRdx.js +85 -0
  119. package/dist/{pdf-outline-sidebar-iX41cMWg.js → pdf-outline-sidebar-D5VedBgk.js} +3 -2
  120. package/dist/{pdf-page-D_i3wZ_q.js → pdf-page-B1Ze518d.js} +1 -1
  121. package/dist/{pdf-page-list-bB0_8jk4.js → pdf-page-list-CBJziavm.js} +3 -2
  122. package/dist/{pdf-reader-CRipdUQO.js → pdf-reader-Cn1uxtJN.js} +13 -13
  123. package/dist/{pdf-sidebar-BLZLycW6.js → pdf-sidebar-PXfgGlmq.js} +4 -4
  124. package/dist/{pdf-thumbnail-sidebar-CStX_EPU.js → pdf-thumbnail-sidebar-7agqWsXT.js} +4 -3
  125. package/dist/{pdf-toolbar-Cp2i5Vhc.js → pdf-toolbar-Blm9CFvh.js} +22 -21
  126. package/dist/pegDiagram-GJSIUBJH-gvsGke9W.js +94 -0
  127. package/dist/pie-WAS4IAKB-CYs22y4X.js +3 -0
  128. package/dist/pieDiagram-5QR66LMP-DLBcErnI.js +205 -0
  129. package/dist/quadrantDiagram-O4NWA36T-Bn3CmGxM.js +2001 -0
  130. package/dist/radar-RG4KPBEZ-BOJKjbGv.js +3 -0
  131. package/dist/railroad-74A4TZTK-Dt1BmUkI.js +3 -0
  132. package/dist/railroad-abnf-HS5TGJTU-Cs9GMUMY.js +3 -0
  133. package/dist/railroad-ebnf-LZEXJU2U-D4y0fXoW.js +3 -0
  134. package/dist/railroad-peg-WCYAUIDC-D2f_ZNR5.js +3 -0
  135. package/dist/railroadDiagram-XR7U4H2S-DLeBxWbV.js +76 -0
  136. package/dist/requirementDiagram-PLB6GJNP-JpWB5sEv.js +2228 -0
  137. package/dist/rolldown-runtime-CWhphoD1.js +23 -0
  138. package/dist/rough.esm-rcMoXTJj.js +1352 -0
  139. package/dist/sankeyDiagram-IPEJSGJF-a4rFl5rR.js +970 -0
  140. package/dist/sequenceDiagram-PO4LG4MO-CjUigcL2.js +4200 -0
  141. package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
  142. package/dist/src-CNRY2AUH.js +2142 -0
  143. package/dist/stateDiagram-v2-GCMORJYK-DJkVDIb0.js +2143 -0
  144. package/dist/{stx-player-DNXToHKV.js → stx-player-rs3uH0iI.js} +17 -17
  145. package/dist/swimlanes-2SLR337P-D7Ff0hLr.js +4763 -0
  146. package/dist/swimlanesDiagram-TC7HE7FX-DZZ9d76C.js +28 -0
  147. package/dist/timeline-definition-EJHVYXUP-C0aHlt9K.js +1073 -0
  148. package/dist/treeView-Q6P3EWNA-BrJylG9N.js +3 -0
  149. package/dist/treemap-WGGIJYW6-DpIZuqbj.js +3 -0
  150. package/dist/usecaseDiagram-POWQR4AR-BrRAt7Wu.js +9932 -0
  151. package/dist/vennDiagram-UO4OBE2U-B22Jhju8.js +1880 -0
  152. package/dist/wardley-WFR3VGLG-CbwdAAbH.js +3 -0
  153. package/dist/wardleyDiagram-VNRHLVJA-Dw4YgRiQ.js +645 -0
  154. package/dist/xychartDiagram-PMCCYNJV-DtuDs9I7.js +2214 -0
  155. package/lib/nuxt/component-names.ts +2 -0
  156. package/package.json +5 -1
  157. package/dist/lib-DfpwxO6u.js +0 -611
@@ -0,0 +1,372 @@
1
+ import { B as e, C as t, F as n, I as r, M as i, N as a, k as o, t as s, x as c, y as l } from "./isArrayLikeObject-VG1KOJ3m.js";
2
+ import { d as u, f as d, i as f, n as p, o as m, p as h, r as g } from "./_baseIsEqual-Cj6hHjs0.js";
3
+ import { n as _, r as v, s as y, t as b } from "./isEmpty-CMjyBU-a.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 ee(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 w(e, t, n) {
26
+ return t === t ? ee(e, t, n) : S(e, C, n);
27
+ }
28
+ //#endregion
29
+ //#region node_modules/lodash-es/_arrayIncludes.js
30
+ function T(e, t) {
31
+ return !!(e != null && e.length) && w(e, t, 0) > -1;
32
+ }
33
+ //#endregion
34
+ //#region node_modules/lodash-es/_isFlattenable.js
35
+ var E = e ? e.isConcatSpreadable : void 0;
36
+ function D(e) {
37
+ return n(e) || l(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 s = e[a];
45
+ t > 0 && n(s) ? t > 1 ? O(s, t - 1, n, r, i) : d(i, s) : r || (i[i.length] = s);
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 (!c(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(_);
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 : a;
79
+ }
80
+ //#endregion
81
+ //#region node_modules/lodash-es/forEach.js
82
+ function P(e, t) {
83
+ return (n(e) ? y : 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, t) {
96
+ return (n(e) ? u : F)(e, v(t, 3));
97
+ }
98
+ //#endregion
99
+ //#region node_modules/lodash-es/_baseValues.js
100
+ function L(e, t) {
101
+ return r(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, h(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, t, r) {
125
+ var i = n(e) ? k : B, a = arguments.length < 3;
126
+ return i(e, v(t, 4), r, a, j);
127
+ }
128
+ //#endregion
129
+ //#region node_modules/lodash-es/_createSet.js
130
+ var H = m && 1 / p(new m([, -0]))[1] == Infinity ? function(e) {
131
+ return new m(e);
132
+ } : x, U = 200;
133
+ function W(e, t, n) {
134
+ var r = -1, i = T, a = e.length, o = !0, s = [], c = s;
135
+ if (n) o = !1, i = M;
136
+ else if (a >= U) {
137
+ var l = t ? null : H(e);
138
+ if (l) return p(l);
139
+ o = !1, i = g, c = new f();
140
+ } else c = t ? [] : s;
141
+ outer: for (; ++r < a;) {
142
+ var u = e[r], d = t ? t(u) : u;
143
+ if (u = n || u !== 0 ? u : 0, o && d === d) {
144
+ for (var m = c.length; m--;) if (c[m] === d) continue outer;
145
+ t && c.push(d), s.push(u);
146
+ } else i(c, d, n) || (c !== s && c.push(d), s.push(u));
147
+ }
148
+ return s;
149
+ }
150
+ //#endregion
151
+ //#region node_modules/lodash-es/union.js
152
+ var G = t(function(e) {
153
+ return W(O(e, 1, s, !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 = o(void 0), this._defaultEdgeLabelFn = o(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 i(e) || (e = o(e)), this._defaultNodeLabelFn = e, this;
175
+ }
176
+ nodeCount() {
177
+ return this._nodeCount;
178
+ }
179
+ nodes() {
180
+ return h(this._nodes);
181
+ }
182
+ sources() {
183
+ var e = this;
184
+ return I(this.nodes(), function(t) {
185
+ return b(e._in[t]);
186
+ });
187
+ }
188
+ sinks() {
189
+ var e = this;
190
+ return I(this.nodes(), function(t) {
191
+ return b(e._out[t]);
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(h(this._in[e]), t), delete this._in[e], delete this._preds[e], P(h(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 h(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 h(t);
247
+ }
248
+ successors(e) {
249
+ var t = this._sucs[e];
250
+ if (t) return h(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 i(e) || (e = o(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 };