@nxgt/material-vue 0.16.0 → 0.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/dist/_baseIsEqual-Cj6hHjs0.js +226 -0
- package/dist/abnfDiagram-O67JEVCF-Cl_I9xuI.js +89 -0
- package/dist/arc-DNNg1pxp.js +80 -0
- package/dist/architecture-7GRP2DOG-DDr0RGVC.js +3 -0
- package/dist/architectureDiagram-NJMV4G6O-CVS4UUCi.js +4146 -0
- package/dist/array-CApNbSU9.js +6 -0
- package/dist/blockDiagram-BEXU5L5S-Cq48yKiC.js +1946 -0
- package/dist/c4Diagram-YGBWAQC7-B6jKsl3h.js +2990 -0
- package/dist/{camera-Cbd1TWFd.js → camera-r2t4ssQW.js} +4 -4
- package/dist/channel-BA1GJyZ7.js +5 -0
- package/dist/chunk-2Q5K7J3B-kzxEEeTu.js +15 -0
- package/dist/chunk-3FUC2YCW-7zPp4vTf.js +364 -0
- package/dist/chunk-5DYCD2WN-B9vjeX2u.js +37 -0
- package/dist/chunk-5VM5RSS4-Cr17nBXp.js +5 -0
- package/dist/chunk-6AEJRKK7-D9IaQdwq.js +10 -0
- package/dist/chunk-742MDFTN-BIhVe9GR.js +275 -0
- package/dist/chunk-7INBJB4K-CwPgdc2G.js +4487 -0
- package/dist/chunk-7M6MHVWA-DtL5wGrr.js +4256 -0
- package/dist/chunk-7PRAP22T-CofnNOEr.js +67 -0
- package/dist/chunk-DUW6YSOI-BdOla2G8.js +10 -0
- package/dist/chunk-FOHPRMQF-Crq0JMf2.js +21388 -0
- package/dist/chunk-GNY47TPC-C8ID_LPk.js +75 -0
- package/dist/chunk-GTNCS2PH-BR0O70z_.js +490 -0
- package/dist/chunk-GWA4HPMP-DU9lUCZD.js +61 -0
- package/dist/chunk-J5ZVWO5B-CYzz6Pq8.js +12 -0
- package/dist/chunk-JWPE2WC7-Ccb0QaC8.js +8 -0
- package/dist/chunk-LNGE3PJU-CiGrDO_F.js +1513 -0
- package/dist/chunk-MBY4JIJT-HYVRUG_P.js +1847 -0
- package/dist/chunk-NETBCI7D-C8amwD_P.js +236 -0
- package/dist/chunk-O7XYJQB3-WMQqqzRb.js +3922 -0
- package/dist/chunk-UA2S7LBM-DtBatid7.js +363 -0
- package/dist/chunk-WEXAMYUT-Cc10h8ed.js +26 -0
- package/dist/chunk-XXDRQBXY-B2pGFcse.js +9 -0
- package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
- package/dist/chunk-Z7XXMR3K-CJmsOGTV.js +676 -0
- package/dist/chunk-ZIGJFQKS-DBdWb0bj.js +1366 -0
- package/dist/classDiagram-v2-NBCMYWYE-CnK-8Ca-.js +3397 -0
- package/dist/{components-DLtnz66n.js → components-BgtHYrAL.js} +43333 -18451
- package/dist/components.js +5 -5
- package/dist/{composables-BJ2GgDD0.js → composables-B8MtUoDh.js} +1 -1
- package/dist/composables.js +1 -1
- package/dist/cose-bilkent-JH36ORCC-DStMi-eo.js +2251 -0
- package/dist/cynefin-OW5HDTMX-B8HVdZhp.js +3 -0
- package/dist/cynefinDiagram-VND7K2PF-0Mq0e5NQ.js +349 -0
- package/dist/cytoscape.esm-_jXi1N4y.js +18151 -0
- package/dist/dagre-6A5THRUB-EvUiDV-m.js +2191 -0
- package/dist/defaultLocale-DnzPsei5.js +201 -0
- package/dist/diagram-22UHCM2B-BdDi8z2C.js +5084 -0
- package/dist/diagram-3UASUU5V-BznCZHss.js +525 -0
- package/dist/diagram-ATOU4E4O-DtIUxSAn.js +432 -0
- package/dist/diagram-CDSNMT55-DOjN3BR2.js +301 -0
- package/dist/diagram-MLGK6HIB-Dx2UboD6.js +134 -0
- package/dist/diagram-MPIPVDR6-DnPL3RV0.js +214 -0
- package/dist/dist-D9zvfe2i.js +59 -0
- package/dist/{dnd-Cmcrm28l.js → dnd-BEuHe7sH.js} +1 -1
- package/dist/dnd.js +1 -1
- package/dist/ebnfDiagram-ZINNZB2B-BNbxCL0b.js +100 -0
- package/dist/elk-276RUBZZ-Bonx9a6x.js +47597 -0
- package/dist/erDiagram-OPXOYQCR-BNsPfmoF.js +1970 -0
- package/dist/eventmodeling-NTZA5JFV-C1CEo-26.js +3 -0
- package/dist/flowDiagram-KWPJA3E3-ArqPu-Ye.js +17 -0
- package/dist/ganttDiagram-FUAMR5RP-64EZDDmC.js +3083 -0
- package/dist/gitGraph-4MIJSDKK-BTeCS_5q.js +3 -0
- package/dist/gitGraphDiagram-X574FWY7-DmMMrp5A.js +729 -0
- package/dist/graphlib-Eulj-quC.js +493 -0
- package/dist/{i18n-DmMS3ID3.js → i18n-B7nNF_hw.js} +237 -924
- package/dist/i18n.js +2 -2
- package/dist/info-A6RAGUB7-BvtuPd9C.js +3 -0
- package/dist/infoDiagram-VRGFBTTK-XlBUAu0t.js +20 -0
- package/dist/init-MwSGRDIl.js +15 -0
- package/dist/isArrayLikeObject-VG1KOJ3m.js +539 -0
- package/dist/isEmpty-DrJl_d3a.js +15 -0
- package/dist/ishikawaDiagram-OU5B5YK6-C9cMWMPO.js +719 -0
- package/dist/journeyDiagram-ZHPQQLJL-DXdfP9BW.js +884 -0
- package/dist/kanban-definition-PNTS6WVX-DhOBy3A0.js +976 -0
- package/dist/katex-BMQ6LGsM.js +21962 -0
- package/dist/lib/components/index.d.ts +4 -0
- package/dist/lib/components/ui/chat/chat-composer-mentions.vue.d.ts +13 -0
- package/dist/lib/components/ui/chat/chat-composer.vue.d.ts +6 -2
- package/dist/lib/components/ui/contacts/consts.d.ts +1 -1
- package/dist/lib/components/ui/emoji/emoji-list.vue.d.ts +11 -0
- package/dist/lib/components/ui/emoji/emoji-picker.vue.d.ts +12 -0
- package/dist/lib/components/ui/emoji/emoji.groups.d.ts +6 -0
- package/dist/lib/components/ui/emoji/emoji.stories.data.d.ts +2 -0
- package/dist/lib/components/ui/emoji/emoji.utils.d.ts +2 -0
- package/dist/lib/components/ui/emoji/index.d.ts +4 -0
- package/dist/lib/components/ui/emoji/types.d.ts +6 -0
- package/dist/lib/components/ui/markdown/index.d.ts +2 -0
- package/dist/lib/components/ui/markdown/markdown.utils.d.ts +10 -0
- package/dist/lib/components/ui/markdown/markdown.vue.d.ts +10 -0
- package/dist/lib/components/ui/markdown/mermaid.lazy.d.ts +12 -0
- package/dist/lib/components/ui/markdown/partials/mermaid-diagram.vue.d.ts +7 -0
- package/dist/lib/components/ui/mentions/index.d.ts +4 -0
- package/dist/lib/components/ui/mentions/mention-list.vue.d.ts +16 -0
- package/dist/lib/components/ui/mentions/mentions.stories.data.d.ts +2 -0
- package/dist/lib/components/ui/mentions/mentions.utils.d.ts +7 -0
- package/dist/lib/components/ui/mentions/types.d.ts +5 -0
- package/dist/lib/components/ui/terminal/index.d.ts +3 -0
- package/dist/lib/components/ui/terminal/terminal.utils.d.ts +5 -0
- package/dist/lib/components/ui/terminal/terminal.vue.d.ts +17 -0
- package/dist/lib/i18n/resources/en/index.d.ts +9 -0
- package/dist/lib/i18n/resources/en/material.json.d.ts +9 -0
- package/dist/lib/i18n/resources/fr/index.d.ts +9 -0
- package/dist/lib/i18n/resources/fr/material.json.d.ts +9 -0
- package/dist/lib/i18n/resources/index.d.ts +18 -0
- package/dist/lib/i18n/translator.d.ts +1 -1
- package/dist/lib/nuxt/component-names.d.ts +1 -1
- package/dist/lib-CoEqz3rh.js +389 -0
- package/dist/lib.js +1 -1
- package/dist/line-UP6dkL36.js +34 -0
- package/dist/linear-bD_QoED_.js +289 -0
- package/dist/main.js +9 -9
- package/dist/material-vue.css +1 -1
- package/dist/merge-Bec0-Q44.js +170 -0
- package/dist/mermaid-parser.core-Cz-MfB4Z.js +638 -0
- package/dist/mermaid.core-DrUePKpg.js +1096 -0
- package/dist/mindmap-definition-NLK3R4M7-DYE9uY2C.js +1008 -0
- package/dist/ordinal-D_ZgubzR.js +65 -0
- package/dist/packet-AYTQ26CC-CshIswP8.js +3 -0
- package/dist/path-DGNPZRdx.js +85 -0
- package/dist/{pdf-outline-sidebar-BBXJRwdt.js → pdf-outline-sidebar-CqpgJNJJ.js} +3 -2
- package/dist/{pdf-page-DZyTFukn.js → pdf-page-DtejoDj_.js} +1 -1
- package/dist/{pdf-page-list-C3GukJ3_.js → pdf-page-list-C7Lkr20Q.js} +3 -2
- package/dist/{pdf-reader-Ci4v2Ff9.js → pdf-reader-CE72v3Xw.js} +13 -13
- package/dist/{pdf-sidebar-Dl8fQStG.js → pdf-sidebar-D2NYQILw.js} +4 -4
- package/dist/{pdf-thumbnail-sidebar-GS_V0PGc.js → pdf-thumbnail-sidebar-B0pIto76.js} +4 -3
- package/dist/{pdf-toolbar-D37w-WIK.js → pdf-toolbar-CZWFrd3e.js} +22 -21
- package/dist/pegDiagram-GJSIUBJH-gvsGke9W.js +94 -0
- package/dist/pie-WAS4IAKB-CYs22y4X.js +3 -0
- package/dist/pieDiagram-5QR66LMP-DLBcErnI.js +205 -0
- package/dist/quadrantDiagram-O4NWA36T-Bn3CmGxM.js +2001 -0
- package/dist/radar-RG4KPBEZ-BOJKjbGv.js +3 -0
- package/dist/railroad-74A4TZTK-Dt1BmUkI.js +3 -0
- package/dist/railroad-abnf-HS5TGJTU-Cs9GMUMY.js +3 -0
- package/dist/railroad-ebnf-LZEXJU2U-D4y0fXoW.js +3 -0
- package/dist/railroad-peg-WCYAUIDC-D2f_ZNR5.js +3 -0
- package/dist/railroadDiagram-XR7U4H2S-DLeBxWbV.js +76 -0
- package/dist/requirementDiagram-PLB6GJNP-DGzAl0gf.js +2228 -0
- package/dist/rolldown-runtime-CWhphoD1.js +23 -0
- package/dist/rough.esm-rcMoXTJj.js +1352 -0
- package/dist/sankeyDiagram-IPEJSGJF-a4rFl5rR.js +970 -0
- package/dist/sequenceDiagram-PO4LG4MO-CjUigcL2.js +4200 -0
- package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
- package/dist/src-CNRY2AUH.js +2142 -0
- package/dist/stateDiagram-v2-GCMORJYK-YzzT-hC0.js +2143 -0
- package/dist/{stx-player-C0FOaRjU.js → stx-player-D8rme-GV.js} +17 -17
- package/dist/swimlanes-2SLR337P-C-T-gwvW.js +4763 -0
- package/dist/swimlanesDiagram-TC7HE7FX-DiNozXft.js +28 -0
- package/dist/timeline-definition-EJHVYXUP-C0aHlt9K.js +1073 -0
- package/dist/treeView-Q6P3EWNA-BrJylG9N.js +3 -0
- package/dist/treemap-WGGIJYW6-DpIZuqbj.js +3 -0
- package/dist/usecaseDiagram-POWQR4AR-V2WLBfYi.js +9932 -0
- package/dist/vennDiagram-UO4OBE2U-B22Jhju8.js +1880 -0
- package/dist/wardley-WFR3VGLG-CbwdAAbH.js +3 -0
- package/dist/wardleyDiagram-VNRHLVJA-Dw4YgRiQ.js +645 -0
- package/dist/xychartDiagram-PMCCYNJV-DtuDs9I7.js +2214 -0
- package/lib/nuxt/component-names.ts +2 -0
- package/package.json +5 -1
- package/dist/lib-CT0uRn8S.js +0 -611
|
@@ -0,0 +1,493 @@
|
|
|
1
|
+
import { B as e, C as t, E as n, F as r, I as i, M as a, N as o, P as s, S as c, a as l, c as u, f as d, i as f, k as p, n as ee, o as m, s as h, t as te, x as ne, y as g } from "./isArrayLikeObject-VG1KOJ3m.js";
|
|
2
|
+
import { d as _, f as re, i as ie, n as v, o as y, p as b, r as ae, t as x } from "./_baseIsEqual-Cj6hHjs0.js";
|
|
3
|
+
import { t as S } from "./isEmpty-DrJl_d3a.js";
|
|
4
|
+
//#region node_modules/lodash-es/noop.js
|
|
5
|
+
function C() {}
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region node_modules/lodash-es/_arrayEach.js
|
|
8
|
+
function w(e, t) {
|
|
9
|
+
for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1;);
|
|
10
|
+
return e;
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region node_modules/lodash-es/_baseFindIndex.js
|
|
14
|
+
function T(e, t, n, r) {
|
|
15
|
+
for (var i = e.length, a = n + (r ? 1 : -1); r ? a-- : ++a < i;) if (t(e[a], a, e)) return a;
|
|
16
|
+
return -1;
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region node_modules/lodash-es/_baseIsNaN.js
|
|
20
|
+
function oe(e) {
|
|
21
|
+
return e !== e;
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region node_modules/lodash-es/_strictIndexOf.js
|
|
25
|
+
function se(e, t, n) {
|
|
26
|
+
for (var r = n - 1, i = e.length; ++r < i;) if (e[r] === t) return r;
|
|
27
|
+
return -1;
|
|
28
|
+
}
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region node_modules/lodash-es/_baseIndexOf.js
|
|
31
|
+
function ce(e, t, n) {
|
|
32
|
+
return t === t ? se(e, t, n) : T(e, oe, n);
|
|
33
|
+
}
|
|
34
|
+
//#endregion
|
|
35
|
+
//#region node_modules/lodash-es/_arrayIncludes.js
|
|
36
|
+
function le(e, t) {
|
|
37
|
+
return !!(e != null && e.length) && ce(e, t, 0) > -1;
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
//#region node_modules/lodash-es/_isFlattenable.js
|
|
41
|
+
var E = e ? e.isConcatSpreadable : void 0;
|
|
42
|
+
function ue(e) {
|
|
43
|
+
return r(e) || g(e) || !!(E && e && e[E]);
|
|
44
|
+
}
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region node_modules/lodash-es/_baseFlatten.js
|
|
47
|
+
function D(e, t, n, r, i) {
|
|
48
|
+
var a = -1, o = e.length;
|
|
49
|
+
for (n ||= ue, i ||= []; ++a < o;) {
|
|
50
|
+
var s = e[a];
|
|
51
|
+
t > 0 && n(s) ? t > 1 ? D(s, t - 1, n, r, i) : re(i, s) : r || (i[i.length] = s);
|
|
52
|
+
}
|
|
53
|
+
return i;
|
|
54
|
+
}
|
|
55
|
+
//#endregion
|
|
56
|
+
//#region node_modules/lodash-es/_arrayReduce.js
|
|
57
|
+
function de(e, t, n, r) {
|
|
58
|
+
var i = -1, a = e == null ? 0 : e.length;
|
|
59
|
+
for (r && a && (n = e[++i]); ++i < a;) n = t(n, e[i], i, e);
|
|
60
|
+
return n;
|
|
61
|
+
}
|
|
62
|
+
//#endregion
|
|
63
|
+
//#region node_modules/lodash-es/_baseIsMatch.js
|
|
64
|
+
var fe = 1, pe = 2;
|
|
65
|
+
function me(e, t, n, r) {
|
|
66
|
+
var i = n.length, a = i, o = !r;
|
|
67
|
+
if (e == null) return !a;
|
|
68
|
+
for (e = Object(e); i--;) {
|
|
69
|
+
var s = n[i];
|
|
70
|
+
if (o && s[2] ? s[1] !== e[s[0]] : !(s[0] in e)) return !1;
|
|
71
|
+
}
|
|
72
|
+
for (; ++i < a;) {
|
|
73
|
+
s = n[i];
|
|
74
|
+
var c = s[0], l = e[c], u = s[1];
|
|
75
|
+
if (o && s[2]) {
|
|
76
|
+
if (l === void 0 && !(c in e)) return !1;
|
|
77
|
+
} else {
|
|
78
|
+
var d = new f();
|
|
79
|
+
if (r) var p = r(l, u, c, e, t, d);
|
|
80
|
+
if (!(p === void 0 ? x(u, l, fe | pe, r, d) : p)) return !1;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
return !0;
|
|
84
|
+
}
|
|
85
|
+
//#endregion
|
|
86
|
+
//#region node_modules/lodash-es/_isStrictComparable.js
|
|
87
|
+
function O(e) {
|
|
88
|
+
return e === e && !s(e);
|
|
89
|
+
}
|
|
90
|
+
//#endregion
|
|
91
|
+
//#region node_modules/lodash-es/_getMatchData.js
|
|
92
|
+
function he(e) {
|
|
93
|
+
for (var t = b(e), n = t.length; n--;) {
|
|
94
|
+
var r = t[n], i = e[r];
|
|
95
|
+
t[n] = [
|
|
96
|
+
r,
|
|
97
|
+
i,
|
|
98
|
+
O(i)
|
|
99
|
+
];
|
|
100
|
+
}
|
|
101
|
+
return t;
|
|
102
|
+
}
|
|
103
|
+
//#endregion
|
|
104
|
+
//#region node_modules/lodash-es/_matchesStrictComparable.js
|
|
105
|
+
function k(e, t) {
|
|
106
|
+
return function(n) {
|
|
107
|
+
return n != null && n[e] === t && (t !== void 0 || e in Object(n));
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
//#endregion
|
|
111
|
+
//#region node_modules/lodash-es/_baseMatches.js
|
|
112
|
+
function ge(e) {
|
|
113
|
+
var t = he(e);
|
|
114
|
+
return t.length == 1 && t[0][2] ? k(t[0][0], t[0][1]) : function(n) {
|
|
115
|
+
return n === e || me(n, e, t);
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
//#endregion
|
|
119
|
+
//#region node_modules/lodash-es/_baseHasIn.js
|
|
120
|
+
function _e(e, t) {
|
|
121
|
+
return e != null && t in Object(e);
|
|
122
|
+
}
|
|
123
|
+
//#endregion
|
|
124
|
+
//#region node_modules/lodash-es/_hasPath.js
|
|
125
|
+
function A(e, t, i) {
|
|
126
|
+
t = u(t, e);
|
|
127
|
+
for (var a = -1, o = t.length, s = !1; ++a < o;) {
|
|
128
|
+
var l = h(t[a]);
|
|
129
|
+
if (!(s = e != null && i(e, l))) break;
|
|
130
|
+
e = e[l];
|
|
131
|
+
}
|
|
132
|
+
return s || ++a != o ? s : (o = e == null ? 0 : e.length, !!o && c(o) && n(l, o) && (r(e) || g(e)));
|
|
133
|
+
}
|
|
134
|
+
//#endregion
|
|
135
|
+
//#region node_modules/lodash-es/hasIn.js
|
|
136
|
+
function j(e, t) {
|
|
137
|
+
return e != null && A(e, t, _e);
|
|
138
|
+
}
|
|
139
|
+
//#endregion
|
|
140
|
+
//#region node_modules/lodash-es/_baseMatchesProperty.js
|
|
141
|
+
var M = 1, N = 2;
|
|
142
|
+
function P(e, t) {
|
|
143
|
+
return d(e) && O(t) ? k(h(e), t) : function(n) {
|
|
144
|
+
var r = l(n, e);
|
|
145
|
+
return r === void 0 && r === t ? j(n, e) : x(t, r, M | N);
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
//#endregion
|
|
149
|
+
//#region node_modules/lodash-es/_baseProperty.js
|
|
150
|
+
function F(e) {
|
|
151
|
+
return function(t) {
|
|
152
|
+
return t?.[e];
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
//#endregion
|
|
156
|
+
//#region node_modules/lodash-es/_basePropertyDeep.js
|
|
157
|
+
function I(e) {
|
|
158
|
+
return function(t) {
|
|
159
|
+
return m(t, e);
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
//#endregion
|
|
163
|
+
//#region node_modules/lodash-es/property.js
|
|
164
|
+
function ve(e) {
|
|
165
|
+
return d(e) ? F(h(e)) : I(e);
|
|
166
|
+
}
|
|
167
|
+
//#endregion
|
|
168
|
+
//#region node_modules/lodash-es/_baseIteratee.js
|
|
169
|
+
function L(e) {
|
|
170
|
+
return typeof e == "function" ? e : e == null ? o : typeof e == "object" ? r(e) ? P(e[0], e[1]) : ge(e) : ve(e);
|
|
171
|
+
}
|
|
172
|
+
//#endregion
|
|
173
|
+
//#region node_modules/lodash-es/_baseForOwn.js
|
|
174
|
+
function R(e, t) {
|
|
175
|
+
return e && ee(e, t, b);
|
|
176
|
+
}
|
|
177
|
+
//#endregion
|
|
178
|
+
//#region node_modules/lodash-es/_createBaseEach.js
|
|
179
|
+
function ye(e, t) {
|
|
180
|
+
return function(n, r) {
|
|
181
|
+
if (n == null) return n;
|
|
182
|
+
if (!ne(n)) return e(n, r);
|
|
183
|
+
for (var i = n.length, a = t ? i : -1, o = Object(n); (t ? a-- : ++a < i) && r(o[a], a, o) !== !1;);
|
|
184
|
+
return n;
|
|
185
|
+
};
|
|
186
|
+
}
|
|
187
|
+
//#endregion
|
|
188
|
+
//#region node_modules/lodash-es/_baseEach.js
|
|
189
|
+
var z = ye(R);
|
|
190
|
+
//#endregion
|
|
191
|
+
//#region node_modules/lodash-es/_arrayIncludesWith.js
|
|
192
|
+
function be(e, t, n) {
|
|
193
|
+
for (var r = -1, i = e == null ? 0 : e.length; ++r < i;) if (n(t, e[r])) return !0;
|
|
194
|
+
return !1;
|
|
195
|
+
}
|
|
196
|
+
//#endregion
|
|
197
|
+
//#region node_modules/lodash-es/_castFunction.js
|
|
198
|
+
function B(e) {
|
|
199
|
+
return typeof e == "function" ? e : o;
|
|
200
|
+
}
|
|
201
|
+
//#endregion
|
|
202
|
+
//#region node_modules/lodash-es/forEach.js
|
|
203
|
+
function V(e, t) {
|
|
204
|
+
return (r(e) ? w : z)(e, B(t));
|
|
205
|
+
}
|
|
206
|
+
//#endregion
|
|
207
|
+
//#region node_modules/lodash-es/_baseFilter.js
|
|
208
|
+
function xe(e, t) {
|
|
209
|
+
var n = [];
|
|
210
|
+
return z(e, function(e, r, i) {
|
|
211
|
+
t(e, r, i) && n.push(e);
|
|
212
|
+
}), n;
|
|
213
|
+
}
|
|
214
|
+
//#endregion
|
|
215
|
+
//#region node_modules/lodash-es/filter.js
|
|
216
|
+
function H(e, t) {
|
|
217
|
+
return (r(e) ? _ : xe)(e, L(t, 3));
|
|
218
|
+
}
|
|
219
|
+
//#endregion
|
|
220
|
+
//#region node_modules/lodash-es/_baseValues.js
|
|
221
|
+
function Se(e, t) {
|
|
222
|
+
return i(t, function(t) {
|
|
223
|
+
return e[t];
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
//#endregion
|
|
227
|
+
//#region node_modules/lodash-es/values.js
|
|
228
|
+
function U(e) {
|
|
229
|
+
return e == null ? [] : Se(e, b(e));
|
|
230
|
+
}
|
|
231
|
+
//#endregion
|
|
232
|
+
//#region node_modules/lodash-es/isUndefined.js
|
|
233
|
+
function W(e) {
|
|
234
|
+
return e === void 0;
|
|
235
|
+
}
|
|
236
|
+
//#endregion
|
|
237
|
+
//#region node_modules/lodash-es/_baseReduce.js
|
|
238
|
+
function Ce(e, t, n, r, i) {
|
|
239
|
+
return i(e, function(e, i, a) {
|
|
240
|
+
n = r ? (r = !1, e) : t(n, e, i, a);
|
|
241
|
+
}), n;
|
|
242
|
+
}
|
|
243
|
+
//#endregion
|
|
244
|
+
//#region node_modules/lodash-es/reduce.js
|
|
245
|
+
function G(e, t, n) {
|
|
246
|
+
var i = r(e) ? de : Ce, a = arguments.length < 3;
|
|
247
|
+
return i(e, L(t, 4), n, a, z);
|
|
248
|
+
}
|
|
249
|
+
//#endregion
|
|
250
|
+
//#region node_modules/lodash-es/_createSet.js
|
|
251
|
+
var we = y && 1 / v(new y([, -0]))[1] == Infinity ? function(e) {
|
|
252
|
+
return new y(e);
|
|
253
|
+
} : C, Te = 200;
|
|
254
|
+
function Ee(e, t, n) {
|
|
255
|
+
var r = -1, i = le, a = e.length, o = !0, s = [], c = s;
|
|
256
|
+
if (n) o = !1, i = be;
|
|
257
|
+
else if (a >= Te) {
|
|
258
|
+
var l = t ? null : we(e);
|
|
259
|
+
if (l) return v(l);
|
|
260
|
+
o = !1, i = ae, c = new ie();
|
|
261
|
+
} else c = t ? [] : s;
|
|
262
|
+
outer: for (; ++r < a;) {
|
|
263
|
+
var u = e[r], d = t ? t(u) : u;
|
|
264
|
+
if (u = n || u !== 0 ? u : 0, o && d === d) {
|
|
265
|
+
for (var f = c.length; f--;) if (c[f] === d) continue outer;
|
|
266
|
+
t && c.push(d), s.push(u);
|
|
267
|
+
} else i(c, d, n) || (c !== s && c.push(d), s.push(u));
|
|
268
|
+
}
|
|
269
|
+
return s;
|
|
270
|
+
}
|
|
271
|
+
//#endregion
|
|
272
|
+
//#region node_modules/lodash-es/union.js
|
|
273
|
+
var De = t(function(e) {
|
|
274
|
+
return Ee(D(e, 1, te, !0));
|
|
275
|
+
}), K = "\0", q = "\0", J = "", Y = class {
|
|
276
|
+
constructor(e = {}) {
|
|
277
|
+
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 = p(void 0), this._defaultEdgeLabelFn = p(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 = {};
|
|
278
|
+
}
|
|
279
|
+
isDirected() {
|
|
280
|
+
return this._isDirected;
|
|
281
|
+
}
|
|
282
|
+
isMultigraph() {
|
|
283
|
+
return this._isMultigraph;
|
|
284
|
+
}
|
|
285
|
+
isCompound() {
|
|
286
|
+
return this._isCompound;
|
|
287
|
+
}
|
|
288
|
+
setGraph(e) {
|
|
289
|
+
return this._label = e, this;
|
|
290
|
+
}
|
|
291
|
+
graph() {
|
|
292
|
+
return this._label;
|
|
293
|
+
}
|
|
294
|
+
setDefaultNodeLabel(e) {
|
|
295
|
+
return a(e) || (e = p(e)), this._defaultNodeLabelFn = e, this;
|
|
296
|
+
}
|
|
297
|
+
nodeCount() {
|
|
298
|
+
return this._nodeCount;
|
|
299
|
+
}
|
|
300
|
+
nodes() {
|
|
301
|
+
return b(this._nodes);
|
|
302
|
+
}
|
|
303
|
+
sources() {
|
|
304
|
+
var e = this;
|
|
305
|
+
return H(this.nodes(), function(t) {
|
|
306
|
+
return S(e._in[t]);
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
sinks() {
|
|
310
|
+
var e = this;
|
|
311
|
+
return H(this.nodes(), function(t) {
|
|
312
|
+
return S(e._out[t]);
|
|
313
|
+
});
|
|
314
|
+
}
|
|
315
|
+
setNodes(e, t) {
|
|
316
|
+
var n = arguments, r = this;
|
|
317
|
+
return V(e, function(e) {
|
|
318
|
+
n.length > 1 ? r.setNode(e, t) : r.setNode(e);
|
|
319
|
+
}), this;
|
|
320
|
+
}
|
|
321
|
+
setNode(e, t) {
|
|
322
|
+
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);
|
|
323
|
+
}
|
|
324
|
+
node(e) {
|
|
325
|
+
return this._nodes[e];
|
|
326
|
+
}
|
|
327
|
+
hasNode(e) {
|
|
328
|
+
return Object.prototype.hasOwnProperty.call(this._nodes, e);
|
|
329
|
+
}
|
|
330
|
+
removeNode(e) {
|
|
331
|
+
if (Object.prototype.hasOwnProperty.call(this._nodes, e)) {
|
|
332
|
+
var t = (e) => this.removeEdge(this._edgeObjs[e]);
|
|
333
|
+
delete this._nodes[e], this._isCompound && (this._removeFromParentsChildList(e), delete this._parent[e], V(this.children(e), (e) => {
|
|
334
|
+
this.setParent(e);
|
|
335
|
+
}), delete this._children[e]), V(b(this._in[e]), t), delete this._in[e], delete this._preds[e], V(b(this._out[e]), t), delete this._out[e], delete this._sucs[e], --this._nodeCount;
|
|
336
|
+
}
|
|
337
|
+
return this;
|
|
338
|
+
}
|
|
339
|
+
setParent(e, t) {
|
|
340
|
+
if (!this._isCompound) throw Error("Cannot set parent in a non-compound graph");
|
|
341
|
+
if (W(t)) t = q;
|
|
342
|
+
else {
|
|
343
|
+
t += "";
|
|
344
|
+
for (var n = t; !W(n); n = this.parent(n)) if (n === e) throw Error("Setting " + t + " as parent of " + e + " would create a cycle");
|
|
345
|
+
this.setNode(t);
|
|
346
|
+
}
|
|
347
|
+
return this.setNode(e), this._removeFromParentsChildList(e), this._parent[e] = t, this._children[t][e] = !0, this;
|
|
348
|
+
}
|
|
349
|
+
_removeFromParentsChildList(e) {
|
|
350
|
+
delete this._children[this._parent[e]][e];
|
|
351
|
+
}
|
|
352
|
+
parent(e) {
|
|
353
|
+
if (this._isCompound) {
|
|
354
|
+
var t = this._parent[e];
|
|
355
|
+
if (t !== q) return t;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
children(e) {
|
|
359
|
+
if (W(e) && (e = q), this._isCompound) {
|
|
360
|
+
var t = this._children[e];
|
|
361
|
+
if (t) return b(t);
|
|
362
|
+
} else if (e === q) return this.nodes();
|
|
363
|
+
else if (this.hasNode(e)) return [];
|
|
364
|
+
}
|
|
365
|
+
predecessors(e) {
|
|
366
|
+
var t = this._preds[e];
|
|
367
|
+
if (t) return b(t);
|
|
368
|
+
}
|
|
369
|
+
successors(e) {
|
|
370
|
+
var t = this._sucs[e];
|
|
371
|
+
if (t) return b(t);
|
|
372
|
+
}
|
|
373
|
+
neighbors(e) {
|
|
374
|
+
var t = this.predecessors(e);
|
|
375
|
+
if (t) return De(t, this.successors(e));
|
|
376
|
+
}
|
|
377
|
+
isLeaf(e) {
|
|
378
|
+
return (this.isDirected() ? this.successors(e) : this.neighbors(e)).length === 0;
|
|
379
|
+
}
|
|
380
|
+
filterNodes(e) {
|
|
381
|
+
var t = new this.constructor({
|
|
382
|
+
directed: this._isDirected,
|
|
383
|
+
multigraph: this._isMultigraph,
|
|
384
|
+
compound: this._isCompound
|
|
385
|
+
});
|
|
386
|
+
t.setGraph(this.graph());
|
|
387
|
+
var n = this;
|
|
388
|
+
V(this._nodes, function(n, r) {
|
|
389
|
+
e(r) && t.setNode(r, n);
|
|
390
|
+
}), V(this._edgeObjs, function(e) {
|
|
391
|
+
t.hasNode(e.v) && t.hasNode(e.w) && t.setEdge(e, n.edge(e));
|
|
392
|
+
});
|
|
393
|
+
var r = {};
|
|
394
|
+
function i(e) {
|
|
395
|
+
var a = n.parent(e);
|
|
396
|
+
return a === void 0 || t.hasNode(a) ? (r[e] = a, a) : a in r ? r[a] : i(a);
|
|
397
|
+
}
|
|
398
|
+
return this._isCompound && V(t.nodes(), function(e) {
|
|
399
|
+
t.setParent(e, i(e));
|
|
400
|
+
}), t;
|
|
401
|
+
}
|
|
402
|
+
setDefaultEdgeLabel(e) {
|
|
403
|
+
return a(e) || (e = p(e)), this._defaultEdgeLabelFn = e, this;
|
|
404
|
+
}
|
|
405
|
+
edgeCount() {
|
|
406
|
+
return this._edgeCount;
|
|
407
|
+
}
|
|
408
|
+
edges() {
|
|
409
|
+
return U(this._edgeObjs);
|
|
410
|
+
}
|
|
411
|
+
setPath(e, t) {
|
|
412
|
+
var n = this, r = arguments;
|
|
413
|
+
return G(e, function(e, i) {
|
|
414
|
+
return r.length > 1 ? n.setEdge(e, i, t) : n.setEdge(e, i), i;
|
|
415
|
+
}), this;
|
|
416
|
+
}
|
|
417
|
+
setEdge() {
|
|
418
|
+
var e, t, n, r, i = !1, a = arguments[0];
|
|
419
|
+
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, W(n) || (n = "" + n);
|
|
420
|
+
var o = Q(this._isDirected, e, t, n);
|
|
421
|
+
if (Object.prototype.hasOwnProperty.call(this._edgeLabels, o)) return i && (this._edgeLabels[o] = r), this;
|
|
422
|
+
if (!W(n) && !this._isMultigraph) throw Error("Cannot set a named edge when isMultigraph = false");
|
|
423
|
+
this.setNode(e), this.setNode(t), this._edgeLabels[o] = i ? r : this._defaultEdgeLabelFn(e, t, n);
|
|
424
|
+
var s = Oe(this._isDirected, e, t, n);
|
|
425
|
+
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;
|
|
426
|
+
}
|
|
427
|
+
edge(e, t, n) {
|
|
428
|
+
var r = arguments.length === 1 ? $(this._isDirected, arguments[0]) : Q(this._isDirected, e, t, n);
|
|
429
|
+
return this._edgeLabels[r];
|
|
430
|
+
}
|
|
431
|
+
hasEdge(e, t, n) {
|
|
432
|
+
var r = arguments.length === 1 ? $(this._isDirected, arguments[0]) : Q(this._isDirected, e, t, n);
|
|
433
|
+
return Object.prototype.hasOwnProperty.call(this._edgeLabels, r);
|
|
434
|
+
}
|
|
435
|
+
removeEdge(e, t, n) {
|
|
436
|
+
var r = arguments.length === 1 ? $(this._isDirected, arguments[0]) : Q(this._isDirected, e, t, n), i = this._edgeObjs[r];
|
|
437
|
+
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;
|
|
438
|
+
}
|
|
439
|
+
inEdges(e, t) {
|
|
440
|
+
var n = this._in[e];
|
|
441
|
+
if (n) {
|
|
442
|
+
var r = U(n);
|
|
443
|
+
return t ? H(r, function(e) {
|
|
444
|
+
return e.v === t;
|
|
445
|
+
}) : r;
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
outEdges(e, t) {
|
|
449
|
+
var n = this._out[e];
|
|
450
|
+
if (n) {
|
|
451
|
+
var r = U(n);
|
|
452
|
+
return t ? H(r, function(e) {
|
|
453
|
+
return e.w === t;
|
|
454
|
+
}) : r;
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
nodeEdges(e, t) {
|
|
458
|
+
var n = this.inEdges(e, t);
|
|
459
|
+
if (n) return n.concat(this.outEdges(e, t));
|
|
460
|
+
}
|
|
461
|
+
};
|
|
462
|
+
Y.prototype._nodeCount = 0, Y.prototype._edgeCount = 0;
|
|
463
|
+
function X(e, t) {
|
|
464
|
+
e[t] ? e[t]++ : e[t] = 1;
|
|
465
|
+
}
|
|
466
|
+
function Z(e, t) {
|
|
467
|
+
--e[t] || delete e[t];
|
|
468
|
+
}
|
|
469
|
+
function Q(e, t, n, r) {
|
|
470
|
+
var i = "" + t, a = "" + n;
|
|
471
|
+
if (!e && i > a) {
|
|
472
|
+
var o = i;
|
|
473
|
+
i = a, a = o;
|
|
474
|
+
}
|
|
475
|
+
return i + J + a + J + (W(r) ? K : r);
|
|
476
|
+
}
|
|
477
|
+
function Oe(e, t, n, r) {
|
|
478
|
+
var i = "" + t, a = "" + n;
|
|
479
|
+
if (!e && i > a) {
|
|
480
|
+
var o = i;
|
|
481
|
+
i = a, a = o;
|
|
482
|
+
}
|
|
483
|
+
var s = {
|
|
484
|
+
v: i,
|
|
485
|
+
w: a
|
|
486
|
+
};
|
|
487
|
+
return r && (s.name = r), s;
|
|
488
|
+
}
|
|
489
|
+
function $(e, t) {
|
|
490
|
+
return Q(e, t.v, t.w, t.name);
|
|
491
|
+
}
|
|
492
|
+
//#endregion
|
|
493
|
+
export { H as a, z as c, F as d, j as f, w as g, T as h, U as i, R as l, D as m, G as n, V as o, A as p, W as r, B as s, Y as t, L as u };
|