@nxgt/material 1.13.0 → 1.16.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/abnfDiagram-O67JEVCF-DRS4L9OH.js +89 -0
- package/dist/architecture-7GRP2DOG-DDr0RGVC.js +3 -0
- package/dist/architectureDiagram-NJMV4G6O-VGRhFFje.js +4146 -0
- package/dist/array-CApNbSU9.js +6 -0
- package/dist/blockDiagram-BEXU5L5S-Ckr4_Gme.js +1946 -0
- package/dist/c4Diagram-YGBWAQC7-BNFKIZ7i.js +2990 -0
- package/dist/channel-BZIrvK3Y.js +5 -0
- package/dist/chunk-2Q5K7J3B-kzxEEeTu.js +15 -0
- package/dist/chunk-3FUC2YCW-DsYiD_Ru.js +364 -0
- package/dist/chunk-5DYCD2WN-u4OP1FZj.js +37 -0
- package/dist/chunk-5VM5RSS4-Cr17nBXp.js +5 -0
- package/dist/chunk-6AEJRKK7-C2UTNfTD.js +10 -0
- package/dist/chunk-742MDFTN-BR_179wJ.js +275 -0
- package/dist/chunk-7INBJB4K-Dms03MJ4.js +4487 -0
- package/dist/chunk-7M6MHVWA-V8XIFDkw.js +4256 -0
- package/dist/chunk-7PRAP22T-DQlLe8Jt.js +67 -0
- package/dist/chunk-DUW6YSOI-BdOla2G8.js +10 -0
- package/dist/chunk-FOHPRMQF-Crq0JMf2.js +21388 -0
- package/dist/chunk-GNY47TPC-CICl0rS3.js +75 -0
- package/dist/chunk-GTNCS2PH-D64Ed3fE.js +490 -0
- package/dist/chunk-GWA4HPMP-CrPRyiQa.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-KGDG5aUm.js +1847 -0
- package/dist/chunk-NETBCI7D-Br9hhLDt.js +236 -0
- package/dist/chunk-O7XYJQB3-4Tb1P1Rk.js +3922 -0
- package/dist/chunk-UA2S7LBM-CnUazuaq.js +363 -0
- package/dist/chunk-WEXAMYUT-cV0qedY-.js +26 -0
- package/dist/chunk-XXDRQBXY-CHefSy8v.js +9 -0
- package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
- package/dist/chunk-Z7XXMR3K-D1JUlANw.js +677 -0
- package/dist/chunk-ZIGJFQKS-CLqNoRQ8.js +663 -0
- package/dist/classDiagram-v2-NBCMYWYE--yhvSrAx.js +3397 -0
- package/dist/components.js +3 -3
- package/dist/cose-bilkent-JH36ORCC-U3pVshu1.js +2251 -0
- package/dist/cynefin-OW5HDTMX-B8HVdZhp.js +3 -0
- package/dist/cynefinDiagram-VND7K2PF-8EU7peH9.js +349 -0
- package/dist/cytoscape.esm-_jXi1N4y.js +18151 -0
- package/dist/dagre-6A5THRUB-CRWID1o4.js +2191 -0
- package/dist/diagram-22UHCM2B-DvMzR7QT.js +5084 -0
- package/dist/diagram-3UASUU5V-BOh6i2bR.js +724 -0
- package/dist/diagram-ATOU4E4O-CLfLQpr3.js +432 -0
- package/dist/diagram-CDSNMT55-DUok5n2p.js +301 -0
- package/dist/diagram-MLGK6HIB-BkhZzQxx.js +134 -0
- package/dist/diagram-MPIPVDR6-CvbxQEpp.js +214 -0
- package/dist/dist-BZkGZldu.js +50 -0
- package/dist/{dist-BGGDEbJ3.js → dist-MMKLWKx3.js} +4 -4
- package/dist/dnd.js +2 -2
- package/dist/ebnfDiagram-ZINNZB2B-BlNN1w7y.js +100 -0
- package/dist/elk-276RUBZZ-BhR9_PQd.js +47598 -0
- package/dist/erDiagram-OPXOYQCR-BmZUypFU.js +1970 -0
- package/dist/eventmodeling-NTZA5JFV-C1CEo-26.js +3 -0
- package/dist/flowDiagram-KWPJA3E3-BT7EONSO.js +17 -0
- package/dist/ganttDiagram-FUAMR5RP-CkH1mW4J.js +2928 -0
- package/dist/gitGraph-4MIJSDKK-BTeCS_5q.js +3 -0
- package/dist/gitGraphDiagram-X574FWY7-Bo8CoUvJ.js +729 -0
- package/dist/graphlib-BzZgFilE.js +493 -0
- package/dist/{hooks-DReKyuyc.js → hooks-tbav1b16.js} +1 -1
- package/dist/hooks.js +1 -1
- package/dist/{i18n-DtDrodl8.js → i18n-CGol3PGw.js} +318 -841
- package/dist/i18n.js +1 -1
- package/dist/info-A6RAGUB7-BvtuPd9C.js +3 -0
- package/dist/infoDiagram-VRGFBTTK-BRf2JUA9.js +20 -0
- package/dist/init-Buj1GKRa.js +27 -0
- package/dist/isArrayLikeObject-VG1KOJ3m.js +539 -0
- package/dist/ishikawaDiagram-OU5B5YK6-BhMcuAjK.js +719 -0
- package/dist/journeyDiagram-ZHPQQLJL-B9bImAku.js +884 -0
- package/dist/kanban-definition-PNTS6WVX-BBgbpulA.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-advanced.stories.d.ts +1 -0
- package/dist/lib/components/ui/chat/chat-composer-mentions.d.ts +8 -0
- package/dist/lib/components/ui/chat/chat-composer.d.ts +5 -1
- package/dist/lib/components/ui/chat/chat-markdown.d.ts +2 -2
- package/dist/lib/components/ui/emoji/emoji-list.d.ts +5 -0
- package/dist/lib/components/ui/emoji/emoji-picker.d.ts +7 -0
- package/dist/lib/components/ui/emoji/emoji.groups.d.ts +6 -0
- package/dist/lib/components/ui/emoji/emoji.groups.test.d.ts +1 -0
- package/dist/lib/components/ui/emoji/emoji.stories.d.ts +13 -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/emoji.utils.test.d.ts +1 -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/entity-header.stories.d.ts +1 -0
- package/dist/lib/components/ui/kanban/kanban.stories.d.ts +1 -0
- package/dist/lib/components/ui/markdown/index.d.ts +3 -0
- package/dist/lib/components/ui/markdown/markdown.d.ts +7 -0
- package/dist/lib/components/ui/markdown/markdown.stories.d.ts +15 -0
- package/dist/lib/components/ui/markdown/markdown.test.d.ts +1 -0
- package/dist/lib/components/ui/markdown/markdown.utils.d.ts +1 -0
- package/dist/lib/components/ui/markdown/mermaid.lazy.d.ts +12 -0
- package/dist/lib/components/ui/markdown/partials/markdown-code.d.ts +2 -0
- package/dist/lib/components/ui/markdown/partials/mermaid-diagram.d.ts +4 -0
- package/dist/lib/components/ui/mentions/index.d.ts +3 -0
- package/dist/lib/components/ui/mentions/mention-list.d.ts +8 -0
- package/dist/lib/components/ui/mentions/mentions.stories.d.ts +13 -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/mentions.utils.test.d.ts +1 -0
- package/dist/lib/components/ui/mentions/types.d.ts +7 -0
- package/dist/lib/components/ui/rich-text-editor/extensions/mention/mention-list.d.ts +12 -1
- package/dist/lib/components/ui/rich-text-editor/rich-text-editor.stories.d.ts +1 -0
- package/dist/lib/components/ui/terminal/index.d.ts +2 -0
- package/dist/lib/components/ui/terminal/terminal.d.ts +11 -0
- package/dist/lib/components/ui/terminal/terminal.stories.d.ts +14 -0
- package/dist/lib/components/ui/terminal/terminal.utils.d.ts +5 -0
- package/dist/lib/components/ui/terminal/terminal.utils.test.d.ts +1 -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-CD3tyuc8.js → lib-CuGr3v8i.js} +472 -471
- package/dist/lib.js +2 -2
- package/dist/{main-r84Yresa.js → main-rnuPG-xT.js} +59805 -30893
- package/dist/main.js +6 -6
- package/dist/material.css +1 -1
- package/dist/math-C5EhTgJw.js +10 -0
- package/dist/mermaid-parser.core-Cz-MfB4Z.js +638 -0
- package/dist/mermaid.core-nKi3q1Cv.js +1096 -0
- package/dist/mindmap-definition-NLK3R4M7-C9HBPgMT.js +1008 -0
- package/dist/ordinal-DuP05kVQ.js +65 -0
- package/dist/packet-AYTQ26CC-CshIswP8.js +3 -0
- package/dist/path-Cjou0lUh.js +85 -0
- package/dist/pegDiagram-GJSIUBJH-frNVv2eE.js +94 -0
- package/dist/pie-WAS4IAKB-CYs22y4X.js +3 -0
- package/dist/pieDiagram-5QR66LMP-BeFrf3dj.js +157 -0
- package/dist/quadrantDiagram-O4NWA36T-Vcs0fk17.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-DtdOPWxt.js +76 -0
- package/dist/requirementDiagram-PLB6GJNP-Cjxo5EUP.js +2228 -0
- package/dist/rough.esm-rcMoXTJj.js +1352 -0
- package/dist/sankeyDiagram-IPEJSGJF-Djus1joE.js +962 -0
- package/dist/sequenceDiagram-PO4LG4MO-C8efx1Ag.js +4200 -0
- package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
- package/dist/src-BRGQnZL5.js +1775 -0
- package/dist/stateDiagram-v2-GCMORJYK-DK057gZ8.js +2143 -0
- package/dist/step-B6KjpKgN.js +706 -0
- package/dist/string-B-ZWXCs2.js +392 -0
- package/dist/swimlanes-2SLR337P-DOqmoAYm.js +4763 -0
- package/dist/swimlanesDiagram-TC7HE7FX-hdfF7RXP.js +28 -0
- package/dist/timeline-definition-EJHVYXUP-B0X6rPM2.js +1073 -0
- package/dist/treeView-Q6P3EWNA-BrJylG9N.js +3 -0
- package/dist/treemap-WGGIJYW6-DpIZuqbj.js +3 -0
- package/dist/usecaseDiagram-POWQR4AR-BIJ_7CPg.js +9932 -0
- package/dist/vennDiagram-UO4OBE2U-BbJCU0Nv.js +1880 -0
- package/dist/wardley-WFR3VGLG-CbwdAAbH.js +3 -0
- package/dist/wardleyDiagram-VNRHLVJA-B6UccUoQ.js +645 -0
- package/dist/xychartDiagram-PMCCYNJV-BrMcLVjw.js +2167 -0
- package/package.json +7 -1
|
@@ -0,0 +1,493 @@
|
|
|
1
|
+
import { Cm as e } from "./main-rnuPG-xT.js";
|
|
2
|
+
import { G as t, J as n, K as r, X as i, nt as a, q as o, rt as s, tt as c } from "./lib-CuGr3v8i.js";
|
|
3
|
+
import { B as l, C as u, E as d, F as f, I as p, M as m, N as h, P as ee, S as te, a as ne, c as g, f as _, i as re, k as v, n as ie, o as ae, s as y, t as b, x, y as S } from "./isArrayLikeObject-VG1KOJ3m.js";
|
|
4
|
+
//#region node_modules/lodash-es/noop.js
|
|
5
|
+
function oe() {}
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region node_modules/lodash-es/_arrayEach.js
|
|
8
|
+
function C(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 w(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 se(e) {
|
|
21
|
+
return e !== e;
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region node_modules/lodash-es/_strictIndexOf.js
|
|
25
|
+
function ce(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 le(e, t, n) {
|
|
32
|
+
return t === t ? ce(e, t, n) : w(e, se, n);
|
|
33
|
+
}
|
|
34
|
+
//#endregion
|
|
35
|
+
//#region node_modules/lodash-es/_arrayIncludes.js
|
|
36
|
+
function ue(e, t) {
|
|
37
|
+
return !!(e != null && e.length) && le(e, t, 0) > -1;
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
//#region node_modules/lodash-es/_isFlattenable.js
|
|
41
|
+
var T = l ? l.isConcatSpreadable : void 0;
|
|
42
|
+
function de(e) {
|
|
43
|
+
return f(e) || S(e) || !!(T && e && e[T]);
|
|
44
|
+
}
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region node_modules/lodash-es/_baseFlatten.js
|
|
47
|
+
function E(e, t, n, r, i) {
|
|
48
|
+
var o = -1, s = e.length;
|
|
49
|
+
for (n ||= de, i ||= []; ++o < s;) {
|
|
50
|
+
var c = e[o];
|
|
51
|
+
t > 0 && n(c) ? t > 1 ? E(c, t - 1, n, r, i) : a(i, c) : r || (i[i.length] = c);
|
|
52
|
+
}
|
|
53
|
+
return i;
|
|
54
|
+
}
|
|
55
|
+
//#endregion
|
|
56
|
+
//#region node_modules/lodash-es/_arrayReduce.js
|
|
57
|
+
function fe(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 pe = 1, me = 2;
|
|
65
|
+
function he(e, n, r, i) {
|
|
66
|
+
var a = r.length, o = a, s = !i;
|
|
67
|
+
if (e == null) return !o;
|
|
68
|
+
for (e = Object(e); a--;) {
|
|
69
|
+
var c = r[a];
|
|
70
|
+
if (s && c[2] ? c[1] !== e[c[0]] : !(c[0] in e)) return !1;
|
|
71
|
+
}
|
|
72
|
+
for (; ++a < o;) {
|
|
73
|
+
c = r[a];
|
|
74
|
+
var l = c[0], u = e[l], d = c[1];
|
|
75
|
+
if (s && c[2]) {
|
|
76
|
+
if (u === void 0 && !(l in e)) return !1;
|
|
77
|
+
} else {
|
|
78
|
+
var f = new re();
|
|
79
|
+
if (i) var p = i(u, d, l, e, n, f);
|
|
80
|
+
if (!(p === void 0 ? t(d, u, pe | me, i, f) : p)) return !1;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
return !0;
|
|
84
|
+
}
|
|
85
|
+
//#endregion
|
|
86
|
+
//#region node_modules/lodash-es/_isStrictComparable.js
|
|
87
|
+
function D(e) {
|
|
88
|
+
return e === e && !ee(e);
|
|
89
|
+
}
|
|
90
|
+
//#endregion
|
|
91
|
+
//#region node_modules/lodash-es/_getMatchData.js
|
|
92
|
+
function ge(e) {
|
|
93
|
+
for (var t = s(e), n = t.length; n--;) {
|
|
94
|
+
var r = t[n], i = e[r];
|
|
95
|
+
t[n] = [
|
|
96
|
+
r,
|
|
97
|
+
i,
|
|
98
|
+
D(i)
|
|
99
|
+
];
|
|
100
|
+
}
|
|
101
|
+
return t;
|
|
102
|
+
}
|
|
103
|
+
//#endregion
|
|
104
|
+
//#region node_modules/lodash-es/_matchesStrictComparable.js
|
|
105
|
+
function O(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 _e(e) {
|
|
113
|
+
var t = ge(e);
|
|
114
|
+
return t.length == 1 && t[0][2] ? O(t[0][0], t[0][1]) : function(n) {
|
|
115
|
+
return n === e || he(n, e, t);
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
//#endregion
|
|
119
|
+
//#region node_modules/lodash-es/_baseHasIn.js
|
|
120
|
+
function k(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, n) {
|
|
126
|
+
t = g(t, e);
|
|
127
|
+
for (var r = -1, i = t.length, a = !1; ++r < i;) {
|
|
128
|
+
var o = y(t[r]);
|
|
129
|
+
if (!(a = e != null && n(e, o))) break;
|
|
130
|
+
e = e[o];
|
|
131
|
+
}
|
|
132
|
+
return a || ++r != i ? a : (i = e == null ? 0 : e.length, !!i && te(i) && d(o, i) && (f(e) || S(e)));
|
|
133
|
+
}
|
|
134
|
+
//#endregion
|
|
135
|
+
//#region node_modules/lodash-es/hasIn.js
|
|
136
|
+
function j(e, t) {
|
|
137
|
+
return e != null && A(e, t, k);
|
|
138
|
+
}
|
|
139
|
+
//#endregion
|
|
140
|
+
//#region node_modules/lodash-es/_baseMatchesProperty.js
|
|
141
|
+
var M = 1, N = 2;
|
|
142
|
+
function P(e, n) {
|
|
143
|
+
return _(e) && D(n) ? O(y(e), n) : function(r) {
|
|
144
|
+
var i = ne(r, e);
|
|
145
|
+
return i === void 0 && i === n ? j(r, e) : t(n, i, 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 ae(t, e);
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
//#endregion
|
|
163
|
+
//#region node_modules/lodash-es/property.js
|
|
164
|
+
function ve(e) {
|
|
165
|
+
return _(e) ? F(y(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 ? h : typeof e == "object" ? f(e) ? P(e[0], e[1]) : _e(e) : ve(e);
|
|
171
|
+
}
|
|
172
|
+
//#endregion
|
|
173
|
+
//#region node_modules/lodash-es/_baseForOwn.js
|
|
174
|
+
function R(e, t) {
|
|
175
|
+
return e && ie(e, t, s);
|
|
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 (!x(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 : h;
|
|
200
|
+
}
|
|
201
|
+
//#endregion
|
|
202
|
+
//#region node_modules/lodash-es/forEach.js
|
|
203
|
+
function V(e, t) {
|
|
204
|
+
return (f(e) ? C : 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 (f(e) ? c : xe)(e, L(t, 3));
|
|
218
|
+
}
|
|
219
|
+
//#endregion
|
|
220
|
+
//#region node_modules/lodash-es/_baseValues.js
|
|
221
|
+
function Se(e, t) {
|
|
222
|
+
return p(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, s(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 r = f(e) ? fe : Ce, i = arguments.length < 3;
|
|
247
|
+
return r(e, L(t, 4), n, i, z);
|
|
248
|
+
}
|
|
249
|
+
//#endregion
|
|
250
|
+
//#region node_modules/lodash-es/_createSet.js
|
|
251
|
+
var we = i && 1 / r(new i([, -0]))[1] == Infinity ? function(e) {
|
|
252
|
+
return new i(e);
|
|
253
|
+
} : oe, Te = 200;
|
|
254
|
+
function Ee(e, t, i) {
|
|
255
|
+
var a = -1, s = ue, c = e.length, l = !0, u = [], d = u;
|
|
256
|
+
if (i) l = !1, s = be;
|
|
257
|
+
else if (c >= Te) {
|
|
258
|
+
var f = t ? null : we(e);
|
|
259
|
+
if (f) return r(f);
|
|
260
|
+
l = !1, s = o, d = new n();
|
|
261
|
+
} else d = t ? [] : u;
|
|
262
|
+
outer: for (; ++a < c;) {
|
|
263
|
+
var p = e[a], m = t ? t(p) : p;
|
|
264
|
+
if (p = i || p !== 0 ? p : 0, l && m === m) {
|
|
265
|
+
for (var h = d.length; h--;) if (d[h] === m) continue outer;
|
|
266
|
+
t && d.push(m), u.push(p);
|
|
267
|
+
} else s(d, m, i) || (d !== u && d.push(m), u.push(p));
|
|
268
|
+
}
|
|
269
|
+
return u;
|
|
270
|
+
}
|
|
271
|
+
//#endregion
|
|
272
|
+
//#region node_modules/lodash-es/union.js
|
|
273
|
+
var De = u(function(e) {
|
|
274
|
+
return Ee(E(e, 1, b, !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 = v(void 0), this._defaultEdgeLabelFn = v(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 m(e) || (e = v(e)), this._defaultNodeLabelFn = e, this;
|
|
296
|
+
}
|
|
297
|
+
nodeCount() {
|
|
298
|
+
return this._nodeCount;
|
|
299
|
+
}
|
|
300
|
+
nodes() {
|
|
301
|
+
return s(this._nodes);
|
|
302
|
+
}
|
|
303
|
+
sources() {
|
|
304
|
+
var t = this;
|
|
305
|
+
return H(this.nodes(), function(n) {
|
|
306
|
+
return e(t._in[n]);
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
sinks() {
|
|
310
|
+
var t = this;
|
|
311
|
+
return H(this.nodes(), function(n) {
|
|
312
|
+
return e(t._out[n]);
|
|
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(s(this._in[e]), t), delete this._in[e], delete this._preds[e], V(s(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 s(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 s(t);
|
|
368
|
+
}
|
|
369
|
+
successors(e) {
|
|
370
|
+
var t = this._sucs[e];
|
|
371
|
+
if (t) return s(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 m(e) || (e = v(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, C as g, w as h, U as i, R as l, E as m, G as n, V as o, A as p, W as r, B as s, Y as t, L as u };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as e } from "./i18n-
|
|
1
|
+
import { l as e } from "./i18n-CGol3PGw.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-
|
|
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-tbav1b16.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 };
|