@hybridcore/ui 1.3.1 → 1.3.3
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/dist/{ButtonBase-DZH9mTSs.js → ButtonBase-DE8d_U2E.js} +9 -9
- package/dist/{CardContent-CUZ9jH0z.js → CardContent-Du2i427Y.js} +4 -4
- package/dist/{Checkbox-RTVyZJPK.js → Checkbox-BGNAqLl0.js} +7 -7
- package/dist/{Collapse-9zKUPtnk.js → Collapse-FRd0_2Pt.js} +7 -7
- package/dist/{DialogContent-ijWcBrtC.js → DialogContent-CKeAZ3Ts.js} +12 -12
- package/dist/{FormControl-C0mOl3mC.js → FormControl-ChTmxscy.js} +399 -545
- package/dist/{FormControlLabel-BK6N5zeb.js → FormControlLabel-Df7csguX.js} +12 -12
- package/dist/{IconButton-D7MS15zj.js → IconButton-Cu_XEJB2.js} +5 -5
- package/dist/{Input-CIRMXtVU.js → Input-DU22-Zbo.js} +6 -6
- package/dist/InputAdornment-6aeADcPO.js +155 -0
- package/dist/{List-D26ubZNL.js → List-nOXr-cFJ.js} +6 -6
- package/dist/{ListItem-B0ZWvhCF.js → ListItem-RJvRMwkZ.js} +6 -6
- package/dist/{MenuItem-CI7xGSGZ.js → MenuItem-DF45rx2m.js} +13 -13
- package/dist/{OutlinedInput-aT_qMbXR.js → OutlinedInput-DJCHjkR3.js} +6 -6
- package/dist/{Paper-DuVFfsLZ.js → Paper-CD_ma6NJ.js} +5 -5
- package/dist/{Select-B625rLnY.js → Select-C1jD_gBQ.js} +15 -15
- package/dist/{Source-CnCcu5UP.js → Source-Hf_SiWEW.js} +123 -123
- package/dist/{Text-BT5kPHOo.js → Text-D6oGbCdi.js} +41 -41
- package/dist/{Typography-CJu4IM_v.js → Typography-C2BkMNk-.js} +4 -4
- package/dist/{chainPropTypes-DHF53jrt.js → chainPropTypes-GRMJ22CO.js} +3 -3
- package/dist/components/card/index.js +6 -6
- package/dist/components/card/styled.js +1 -1
- package/dist/components/collapsible-card/style.js +10 -10
- package/dist/components/confirm/dialog.js +6 -6
- package/dist/components/container/index.js +7 -7
- package/dist/components/context-menu/index.js +10 -10
- package/dist/components/data-management/instance-form/components/composite-list/index.js +1 -1
- package/dist/components/data-management/instance-form/components/variable/index.js +6 -6
- package/dist/components/data-management/instance-form/components/variables/index.js +1 -1
- package/dist/components/data-security-selectors/dissemination-list/index.js +1 -1
- package/dist/components/date-time-picker/index.js +4 -4
- package/dist/components/geometry-picker/coordinate/index.js +1 -1
- package/dist/components/geometry-picker/edit/index.js +2 -2
- package/dist/components/geometry-picker/geometry/index.js +1 -1
- package/dist/components/geometry-picker/index.js +7 -6
- package/dist/components/geometry-picker/kml/index.js +1 -1
- package/dist/components/geometry-picker/map/logic.js +19 -19
- package/dist/components/geometry-picker/map/style.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/map/helpers/mapbox.js +3 -3
- package/dist/components/map/helpers/ol.js +3 -3
- package/dist/components/map/logic.js +2 -2
- package/dist/components/map/styled.js +2 -2
- package/dist/components/search-input/index.js +10 -9
- package/dist/components/template-property-filters/index.js +49 -481
- package/dist/components/template-property-filters/property.js +4 -4
- package/dist/components/tree-select/index.js +4 -4
- package/dist/components/treeview-filter/index.js +9 -9
- package/dist/components/treeview-filter/item/index.js +1 -1
- package/dist/components/treeview-filter/item-label/index.js +2 -2
- package/dist/createSvgIcon-6wv0RQr3.js +63 -0
- package/dist/{createSvgIcon-uzHr0c0Y.js → createSvgIcon-DPZ7UbxM.js} +4 -4
- package/dist/{createTheme-BynOz6vJ.js → createTheme-C3DKplhE.js} +22 -22
- package/dist/{exactProp-BgztuVaT.js → exactProp--3vlJ9a9.js} +3 -3
- package/dist/{extends-C3382pL0.js → extends-Cyw62AD_.js} +2 -2
- package/dist/{has-9_asnBxn.js → has-CjQtZJa9.js} +26 -26
- package/dist/{index-C5fnQULf.js → index-CtuBGOmk.js} +10 -10
- package/dist/{index-CEj0z7vR.js → index-DzFccwzL.js} +6 -6
- package/dist/{listItemTextClasses-Lb51gZ03.js → listItemTextClasses-2BAu-hye.js} +4 -4
- package/dist/main.d.ts +6 -0
- package/dist/main.js +402 -45
- package/dist/{ol-q6vTiF_t.js → ol-BUKJ1urU.js} +3 -3
- package/dist/property-BSufYw1E.js +6888 -0
- package/dist/requirePropFactory-BItwGLRQ.js +18 -0
- package/dist/{resolveComponentProps-D6QBz-nM.js → resolveComponentProps-DozbaB8e.js} +8 -8
- package/dist/{styled-C3GYAbYC.js → styled-CVWGE9ik.js} +22 -22
- package/dist/{styled-B02_UC50.js → styled-iyoioZCr.js} +20 -20
- package/dist/{useTheme-rmCSkfoY.js → useTheme--x3BjP9A.js} +3 -4
- package/dist/{useTheme-BYHXX22B.js → useTheme-pWltVFb2.js} +2 -2
- package/dist/{useThemeProps-DzfjJKh1.js → useThemeProps-C90JF0Qc.js} +3 -3
- package/dist/{useThemeProps-CR6NzUGU.js → useThemeProps-DNZoozBw.js} +4 -5
- package/dist/{utils-CIiFkdEJ.js → utils-qcu0RzdN.js} +8 -8
- package/package.json +2 -2
- package/dist/createSvgIcon-CpwgcuKn.js +0 -77
- package/dist/property-DyLBS7uO.js +0 -7020
|
@@ -1,510 +1,78 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { CollapsibleCard as
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var ot = { exports: {} };
|
|
10
|
-
(function(m, p) {
|
|
11
|
-
(function(l, u) {
|
|
12
|
-
m.exports = u();
|
|
13
|
-
})($, function() {
|
|
14
|
-
var l = "week", u = "year";
|
|
15
|
-
return function(f, t, e) {
|
|
16
|
-
var s = t.prototype;
|
|
17
|
-
s.week = function(n) {
|
|
18
|
-
if (n === void 0 && (n = null), n !== null) return this.add(7 * (n - this.week()), "day");
|
|
19
|
-
var a = this.$locale().yearStart || 1;
|
|
20
|
-
if (this.month() === 11 && this.date() > 25) {
|
|
21
|
-
var r = e(this).startOf(u).add(1, u).date(a), c = e(this).endOf(l);
|
|
22
|
-
if (r.isBefore(c)) return 1;
|
|
23
|
-
}
|
|
24
|
-
var M = e(this).startOf(u).date(a).startOf(l).subtract(1, "millisecond"), A = this.diff(M, l, !0);
|
|
25
|
-
return A < 0 ? e(this).startOf("week").week() : Math.ceil(A);
|
|
26
|
-
}, s.weeks = function(n) {
|
|
27
|
-
return n === void 0 && (n = null), this.week(n);
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
});
|
|
31
|
-
})(ot);
|
|
32
|
-
var Dt = ot.exports;
|
|
33
|
-
const Yt = /* @__PURE__ */ N(Dt);
|
|
34
|
-
var ht = { exports: {} };
|
|
35
|
-
(function(m, p) {
|
|
36
|
-
(function(l, u) {
|
|
37
|
-
m.exports = u();
|
|
38
|
-
})($, function() {
|
|
39
|
-
var l = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, u = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, f = /\d/, t = /\d\d/, e = /\d\d?/, s = /\d*[^-_:/,()\s\d]+/, n = {}, a = function(i) {
|
|
40
|
-
return (i = +i) + (i > 68 ? 1900 : 2e3);
|
|
41
|
-
}, r = function(i) {
|
|
42
|
-
return function(o) {
|
|
43
|
-
this[i] = +o;
|
|
44
|
-
};
|
|
45
|
-
}, c = [/[+-]\d\d:?(\d\d)?|Z/, function(i) {
|
|
46
|
-
(this.zone || (this.zone = {})).offset = function(o) {
|
|
47
|
-
if (!o || o === "Z") return 0;
|
|
48
|
-
var h = o.match(/([+-]|\d\d)/g), d = 60 * h[1] + (+h[2] || 0);
|
|
49
|
-
return d === 0 ? 0 : h[0] === "+" ? -d : d;
|
|
50
|
-
}(i);
|
|
51
|
-
}], M = function(i) {
|
|
52
|
-
var o = n[i];
|
|
53
|
-
return o && (o.indexOf ? o : o.s.concat(o.f));
|
|
54
|
-
}, A = function(i, o) {
|
|
55
|
-
var h, d = n.meridiem;
|
|
56
|
-
if (d) {
|
|
57
|
-
for (var Y = 1; Y <= 24; Y += 1) if (i.indexOf(d(Y, 0, o)) > -1) {
|
|
58
|
-
h = Y > 12;
|
|
59
|
-
break;
|
|
60
|
-
}
|
|
61
|
-
} else h = i === (o ? "pm" : "PM");
|
|
62
|
-
return h;
|
|
63
|
-
}, Z = { A: [s, function(i) {
|
|
64
|
-
this.afternoon = A(i, !1);
|
|
65
|
-
}], a: [s, function(i) {
|
|
66
|
-
this.afternoon = A(i, !0);
|
|
67
|
-
}], Q: [f, function(i) {
|
|
68
|
-
this.month = 3 * (i - 1) + 1;
|
|
69
|
-
}], S: [f, function(i) {
|
|
70
|
-
this.milliseconds = 100 * +i;
|
|
71
|
-
}], SS: [t, function(i) {
|
|
72
|
-
this.milliseconds = 10 * +i;
|
|
73
|
-
}], SSS: [/\d{3}/, function(i) {
|
|
74
|
-
this.milliseconds = +i;
|
|
75
|
-
}], s: [e, r("seconds")], ss: [e, r("seconds")], m: [e, r("minutes")], mm: [e, r("minutes")], H: [e, r("hours")], h: [e, r("hours")], HH: [e, r("hours")], hh: [e, r("hours")], D: [e, r("day")], DD: [t, r("day")], Do: [s, function(i) {
|
|
76
|
-
var o = n.ordinal, h = i.match(/\d+/);
|
|
77
|
-
if (this.day = h[0], o) for (var d = 1; d <= 31; d += 1) o(d).replace(/\[|\]/g, "") === i && (this.day = d);
|
|
78
|
-
}], w: [e, r("week")], ww: [t, r("week")], M: [e, r("month")], MM: [t, r("month")], MMM: [s, function(i) {
|
|
79
|
-
var o = M("months"), h = (M("monthsShort") || o.map(function(d) {
|
|
80
|
-
return d.slice(0, 3);
|
|
81
|
-
})).indexOf(i) + 1;
|
|
82
|
-
if (h < 1) throw new Error();
|
|
83
|
-
this.month = h % 12 || h;
|
|
84
|
-
}], MMMM: [s, function(i) {
|
|
85
|
-
var o = M("months").indexOf(i) + 1;
|
|
86
|
-
if (o < 1) throw new Error();
|
|
87
|
-
this.month = o % 12 || o;
|
|
88
|
-
}], Y: [/[+-]?\d+/, r("year")], YY: [t, function(i) {
|
|
89
|
-
this.year = a(i);
|
|
90
|
-
}], YYYY: [/\d{4}/, r("year")], Z: c, ZZ: c };
|
|
91
|
-
function P(i) {
|
|
92
|
-
var o, h;
|
|
93
|
-
o = i, h = n && n.formats;
|
|
94
|
-
for (var d = (i = o.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(b, x, D) {
|
|
95
|
-
var T = D && D.toUpperCase();
|
|
96
|
-
return x || h[D] || l[D] || h[T].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(k, j, C) {
|
|
97
|
-
return j || C.slice(1);
|
|
98
|
-
});
|
|
99
|
-
})).match(u), Y = d.length, w = 0; w < Y; w += 1) {
|
|
100
|
-
var I = d[w], S = Z[I], L = S && S[0], O = S && S[1];
|
|
101
|
-
d[w] = O ? { regex: L, parser: O } : I.replace(/^\[|\]$/g, "");
|
|
102
|
-
}
|
|
103
|
-
return function(b) {
|
|
104
|
-
for (var x = {}, D = 0, T = 0; D < Y; D += 1) {
|
|
105
|
-
var k = d[D];
|
|
106
|
-
if (typeof k == "string") T += k.length;
|
|
107
|
-
else {
|
|
108
|
-
var j = k.regex, C = k.parser, v = b.slice(T), U = j.exec(v)[0];
|
|
109
|
-
C.call(x, U), b = b.replace(U, "");
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
return function(z) {
|
|
113
|
-
var F = z.afternoon;
|
|
114
|
-
if (F !== void 0) {
|
|
115
|
-
var g = z.hours;
|
|
116
|
-
F ? g < 12 && (z.hours += 12) : g === 12 && (z.hours = 0), delete z.afternoon;
|
|
117
|
-
}
|
|
118
|
-
}(x), x;
|
|
119
|
-
};
|
|
120
|
-
}
|
|
121
|
-
return function(i, o, h) {
|
|
122
|
-
h.p.customParseFormat = !0, i && i.parseTwoDigitYear && (a = i.parseTwoDigitYear);
|
|
123
|
-
var d = o.prototype, Y = d.parse;
|
|
124
|
-
d.parse = function(w) {
|
|
125
|
-
var I = w.date, S = w.utc, L = w.args;
|
|
126
|
-
this.$u = S;
|
|
127
|
-
var O = L[1];
|
|
128
|
-
if (typeof O == "string") {
|
|
129
|
-
var b = L[2] === !0, x = L[3] === !0, D = b || x, T = L[2];
|
|
130
|
-
x && (T = L[2]), n = this.$locale(), !b && T && (n = h.Ls[T]), this.$d = function(v, U, z, F) {
|
|
131
|
-
try {
|
|
132
|
-
if (["x", "X"].indexOf(U) > -1) return new Date((U === "X" ? 1e3 : 1) * v);
|
|
133
|
-
var g = P(U)(v), _ = g.year, B = g.month, ft = g.day, ct = g.hours, lt = g.minutes, mt = g.seconds, yt = g.milliseconds, et = g.zone, st = g.week, V = /* @__PURE__ */ new Date(), J = ft || (_ || B ? 1 : V.getDate()), G = _ || V.getFullYear(), E = 0;
|
|
134
|
-
_ && !B || (E = B > 0 ? B - 1 : V.getMonth());
|
|
135
|
-
var W, K = ct || 0, Q = lt || 0, R = mt || 0, X = yt || 0;
|
|
136
|
-
return et ? new Date(Date.UTC(G, E, J, K, Q, R, X + 60 * et.offset * 1e3)) : z ? new Date(Date.UTC(G, E, J, K, Q, R, X)) : (W = new Date(G, E, J, K, Q, R, X), st && (W = F(W).week(st).toDate()), W);
|
|
137
|
-
} catch {
|
|
138
|
-
return /* @__PURE__ */ new Date("");
|
|
139
|
-
}
|
|
140
|
-
}(I, O, S, h), this.init(), T && T !== !0 && (this.$L = this.locale(T).$L), D && I != this.format(O) && (this.$d = /* @__PURE__ */ new Date("")), n = {};
|
|
141
|
-
} else if (O instanceof Array) for (var k = O.length, j = 1; j <= k; j += 1) {
|
|
142
|
-
L[1] = O[j - 1];
|
|
143
|
-
var C = h.apply(this, L);
|
|
144
|
-
if (C.isValid()) {
|
|
145
|
-
this.$d = C.$d, this.$L = C.$L, this.init();
|
|
146
|
-
break;
|
|
147
|
-
}
|
|
148
|
-
j === k && (this.$d = /* @__PURE__ */ new Date(""));
|
|
149
|
-
}
|
|
150
|
-
else Y.call(this, w);
|
|
151
|
-
};
|
|
152
|
-
};
|
|
153
|
-
});
|
|
154
|
-
})(ht);
|
|
155
|
-
var wt = ht.exports;
|
|
156
|
-
const Lt = /* @__PURE__ */ N(wt);
|
|
157
|
-
var dt = { exports: {} };
|
|
158
|
-
(function(m, p) {
|
|
159
|
-
(function(l, u) {
|
|
160
|
-
m.exports = u();
|
|
161
|
-
})($, function() {
|
|
162
|
-
var l = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" };
|
|
163
|
-
return function(u, f, t) {
|
|
164
|
-
var e = f.prototype, s = e.format;
|
|
165
|
-
t.en.formats = l, e.format = function(n) {
|
|
166
|
-
n === void 0 && (n = "YYYY-MM-DDTHH:mm:ssZ");
|
|
167
|
-
var a = this.$locale().formats, r = function(c, M) {
|
|
168
|
-
return c.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(A, Z, P) {
|
|
169
|
-
var i = P && P.toUpperCase();
|
|
170
|
-
return Z || M[P] || l[P] || M[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(o, h, d) {
|
|
171
|
-
return h || d.slice(1);
|
|
172
|
-
});
|
|
173
|
-
});
|
|
174
|
-
}(n, a === void 0 ? {} : a);
|
|
175
|
-
return s.call(this, r);
|
|
176
|
-
};
|
|
177
|
-
};
|
|
178
|
-
});
|
|
179
|
-
})(dt);
|
|
180
|
-
var Ot = dt.exports;
|
|
181
|
-
const xt = /* @__PURE__ */ N(Ot);
|
|
182
|
-
var ut = { exports: {} };
|
|
183
|
-
(function(m, p) {
|
|
184
|
-
(function(l, u) {
|
|
185
|
-
m.exports = u();
|
|
186
|
-
})($, function() {
|
|
187
|
-
return function(l, u, f) {
|
|
188
|
-
u.prototype.isBetween = function(t, e, s, n) {
|
|
189
|
-
var a = f(t), r = f(e), c = (n = n || "()")[0] === "(", M = n[1] === ")";
|
|
190
|
-
return (c ? this.isAfter(a, s) : !this.isBefore(a, s)) && (M ? this.isBefore(r, s) : !this.isAfter(r, s)) || (c ? this.isBefore(a, s) : !this.isAfter(a, s)) && (M ? this.isAfter(r, s) : !this.isBefore(r, s));
|
|
191
|
-
};
|
|
192
|
-
};
|
|
193
|
-
});
|
|
194
|
-
})(ut);
|
|
195
|
-
var kt = ut.exports;
|
|
196
|
-
const jt = /* @__PURE__ */ N(kt);
|
|
197
|
-
y.extend(Lt);
|
|
198
|
-
y.extend(xt);
|
|
199
|
-
y.extend(jt);
|
|
200
|
-
const St = gt(["Your locale has not been found.", "Either the locale key is not a supported one. Locales supported by dayjs are available here: https://github.com/iamkun/dayjs/tree/dev/src/locale", "Or you forget to import the locale from 'dayjs/locale/{localeUsed}'", "fallback on English locale"]), bt = {
|
|
201
|
-
// Year
|
|
202
|
-
YY: "year",
|
|
203
|
-
YYYY: {
|
|
204
|
-
sectionType: "year",
|
|
205
|
-
contentType: "digit",
|
|
206
|
-
maxLength: 4
|
|
207
|
-
},
|
|
208
|
-
// Month
|
|
209
|
-
M: {
|
|
210
|
-
sectionType: "month",
|
|
211
|
-
contentType: "digit",
|
|
212
|
-
maxLength: 2
|
|
213
|
-
},
|
|
214
|
-
MM: "month",
|
|
215
|
-
MMM: {
|
|
216
|
-
sectionType: "month",
|
|
217
|
-
contentType: "letter"
|
|
218
|
-
},
|
|
219
|
-
MMMM: {
|
|
220
|
-
sectionType: "month",
|
|
221
|
-
contentType: "letter"
|
|
222
|
-
},
|
|
223
|
-
// Day of the month
|
|
224
|
-
D: {
|
|
225
|
-
sectionType: "day",
|
|
226
|
-
contentType: "digit",
|
|
227
|
-
maxLength: 2
|
|
228
|
-
},
|
|
229
|
-
DD: "day",
|
|
230
|
-
Do: {
|
|
231
|
-
sectionType: "day",
|
|
232
|
-
contentType: "digit-with-letter"
|
|
233
|
-
},
|
|
234
|
-
// Day of the week
|
|
235
|
-
d: {
|
|
236
|
-
sectionType: "weekDay",
|
|
237
|
-
contentType: "digit",
|
|
238
|
-
maxLength: 2
|
|
239
|
-
},
|
|
240
|
-
dd: {
|
|
241
|
-
sectionType: "weekDay",
|
|
242
|
-
contentType: "letter"
|
|
243
|
-
},
|
|
244
|
-
ddd: {
|
|
245
|
-
sectionType: "weekDay",
|
|
246
|
-
contentType: "letter"
|
|
247
|
-
},
|
|
248
|
-
dddd: {
|
|
249
|
-
sectionType: "weekDay",
|
|
250
|
-
contentType: "letter"
|
|
251
|
-
},
|
|
252
|
-
// Meridiem
|
|
253
|
-
A: "meridiem",
|
|
254
|
-
a: "meridiem",
|
|
255
|
-
// Hours
|
|
256
|
-
H: {
|
|
257
|
-
sectionType: "hours",
|
|
258
|
-
contentType: "digit",
|
|
259
|
-
maxLength: 2
|
|
260
|
-
},
|
|
261
|
-
HH: "hours",
|
|
262
|
-
h: {
|
|
263
|
-
sectionType: "hours",
|
|
264
|
-
contentType: "digit",
|
|
265
|
-
maxLength: 2
|
|
266
|
-
},
|
|
267
|
-
hh: "hours",
|
|
268
|
-
// Minutes
|
|
269
|
-
m: {
|
|
270
|
-
sectionType: "minutes",
|
|
271
|
-
contentType: "digit",
|
|
272
|
-
maxLength: 2
|
|
273
|
-
},
|
|
274
|
-
mm: "minutes",
|
|
275
|
-
// Seconds
|
|
276
|
-
s: {
|
|
277
|
-
sectionType: "seconds",
|
|
278
|
-
contentType: "digit",
|
|
279
|
-
maxLength: 2
|
|
280
|
-
},
|
|
281
|
-
ss: "seconds"
|
|
282
|
-
}, Ct = {
|
|
283
|
-
year: "YYYY",
|
|
284
|
-
month: "MMMM",
|
|
285
|
-
monthShort: "MMM",
|
|
286
|
-
dayOfMonth: "D",
|
|
287
|
-
weekday: "dddd",
|
|
288
|
-
weekdayShort: "dd",
|
|
289
|
-
hours24h: "HH",
|
|
290
|
-
hours12h: "hh",
|
|
291
|
-
meridiem: "A",
|
|
292
|
-
minutes: "mm",
|
|
293
|
-
seconds: "ss",
|
|
294
|
-
fullDate: "ll",
|
|
295
|
-
fullDateWithWeekday: "dddd, LL",
|
|
296
|
-
keyboardDate: "L",
|
|
297
|
-
shortDate: "MMM D",
|
|
298
|
-
normalDate: "D MMMM",
|
|
299
|
-
normalDateWithWeekday: "ddd, MMM D",
|
|
300
|
-
monthAndYear: "MMMM YYYY",
|
|
301
|
-
monthAndDate: "MMMM D",
|
|
302
|
-
fullTime: "LT",
|
|
303
|
-
fullTime12h: "hh:mm A",
|
|
304
|
-
fullTime24h: "HH:mm",
|
|
305
|
-
fullDateTime: "lll",
|
|
306
|
-
fullDateTime12h: "ll hh:mm A",
|
|
307
|
-
fullDateTime24h: "ll HH:mm",
|
|
308
|
-
keyboardDateTime: "L LT",
|
|
309
|
-
keyboardDateTime12h: "L hh:mm A",
|
|
310
|
-
keyboardDateTime24h: "L HH:mm"
|
|
311
|
-
}, tt = ["Missing UTC plugin", "To be able to use UTC or timezones, you have to enable the `utc` plugin", "Find more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-utc"].join(`
|
|
312
|
-
`), it = ["Missing timezone plugin", "To be able to use timezones, you have to enable both the `utc` and the `timezone` plugin", "Find more information on https://mui.com/x/react-date-pickers/timezone/#day-js-and-timezone"].join(`
|
|
313
|
-
`), zt = (m, p) => p ? (...l) => m(...l).locale(p) : m;
|
|
314
|
-
class at {
|
|
315
|
-
constructor({
|
|
316
|
-
locale: p,
|
|
317
|
-
formats: l,
|
|
318
|
-
instance: u
|
|
319
|
-
} = {}) {
|
|
320
|
-
var f;
|
|
321
|
-
this.isMUIAdapter = !0, this.isTimezoneCompatible = !0, this.lib = "dayjs", this.rawDayJsInstance = void 0, this.dayjs = void 0, this.locale = void 0, this.formats = void 0, this.escapedCharacters = {
|
|
322
|
-
start: "[",
|
|
323
|
-
end: "]"
|
|
324
|
-
}, this.formatTokenMap = bt, this.setLocaleToValue = (t) => {
|
|
325
|
-
const e = this.getCurrentLocaleCode();
|
|
326
|
-
return e === t.locale() ? t : t.locale(e);
|
|
327
|
-
}, this.hasUTCPlugin = () => typeof y.utc < "u", this.hasTimezonePlugin = () => typeof y.tz < "u", this.isSame = (t, e, s) => {
|
|
328
|
-
const n = this.setTimezone(e, this.getTimezone(t));
|
|
329
|
-
return t.format(s) === n.format(s);
|
|
330
|
-
}, this.cleanTimezone = (t) => {
|
|
331
|
-
switch (t) {
|
|
332
|
-
case "default":
|
|
333
|
-
return;
|
|
334
|
-
case "system":
|
|
335
|
-
return y.tz.guess();
|
|
336
|
-
default:
|
|
337
|
-
return t;
|
|
338
|
-
}
|
|
339
|
-
}, this.createSystemDate = (t) => {
|
|
340
|
-
if (this.rawDayJsInstance)
|
|
341
|
-
return this.rawDayJsInstance(t);
|
|
342
|
-
if (this.hasUTCPlugin() && this.hasTimezonePlugin()) {
|
|
343
|
-
const e = y.tz.guess();
|
|
344
|
-
return e !== "UTC" ? y.tz(t, e) : y(t);
|
|
345
|
-
}
|
|
346
|
-
return y(t);
|
|
347
|
-
}, this.createUTCDate = (t) => {
|
|
348
|
-
if (!this.hasUTCPlugin())
|
|
349
|
-
throw new Error(tt);
|
|
350
|
-
return y.utc(t);
|
|
351
|
-
}, this.createTZDate = (t, e) => {
|
|
352
|
-
if (!this.hasUTCPlugin())
|
|
353
|
-
throw new Error(tt);
|
|
354
|
-
if (!this.hasTimezonePlugin())
|
|
355
|
-
throw new Error(it);
|
|
356
|
-
const s = t !== void 0 && !t.endsWith("Z");
|
|
357
|
-
return y(t).tz(this.cleanTimezone(e), s);
|
|
358
|
-
}, this.getLocaleFormats = () => {
|
|
359
|
-
const t = y.Ls, e = this.locale || "en";
|
|
360
|
-
let s = t[e];
|
|
361
|
-
return s === void 0 && (St(), s = t.en), s.formats;
|
|
362
|
-
}, this.adjustOffset = (t) => {
|
|
363
|
-
if (!this.hasTimezonePlugin())
|
|
364
|
-
return t;
|
|
365
|
-
const e = this.getTimezone(t);
|
|
366
|
-
if (e !== "UTC") {
|
|
367
|
-
var s, n;
|
|
368
|
-
const a = t.tz(this.cleanTimezone(e), !0);
|
|
369
|
-
if (((s = a.$offset) != null ? s : 0) === ((n = t.$offset) != null ? n : 0))
|
|
370
|
-
return t;
|
|
371
|
-
t.$offset = a.$offset;
|
|
372
|
-
}
|
|
373
|
-
return t;
|
|
374
|
-
}, this.date = (t) => t === null ? null : this.dayjs(t), this.dateWithTimezone = (t, e) => {
|
|
375
|
-
if (t === null)
|
|
376
|
-
return null;
|
|
377
|
-
let s;
|
|
378
|
-
return e === "UTC" ? s = this.createUTCDate(t) : e === "system" || e === "default" && !this.hasTimezonePlugin() ? s = this.createSystemDate(t) : s = this.createTZDate(t, e), this.locale === void 0 ? s : s.locale(this.locale);
|
|
379
|
-
}, this.getTimezone = (t) => {
|
|
380
|
-
if (this.hasTimezonePlugin()) {
|
|
381
|
-
var e;
|
|
382
|
-
const s = (e = t.$x) == null ? void 0 : e.$timezone;
|
|
383
|
-
if (s)
|
|
384
|
-
return s;
|
|
385
|
-
}
|
|
386
|
-
return this.hasUTCPlugin() && t.isUTC() ? "UTC" : "system";
|
|
387
|
-
}, this.setTimezone = (t, e) => {
|
|
388
|
-
if (this.getTimezone(t) === e)
|
|
389
|
-
return t;
|
|
390
|
-
if (e === "UTC") {
|
|
391
|
-
if (!this.hasUTCPlugin())
|
|
392
|
-
throw new Error(tt);
|
|
393
|
-
return t.utc();
|
|
394
|
-
}
|
|
395
|
-
if (e === "system")
|
|
396
|
-
return t.local();
|
|
397
|
-
if (!this.hasTimezonePlugin()) {
|
|
398
|
-
if (e === "default")
|
|
399
|
-
return t;
|
|
400
|
-
throw new Error(it);
|
|
401
|
-
}
|
|
402
|
-
return y.tz(t, this.cleanTimezone(e));
|
|
403
|
-
}, this.toJsDate = (t) => t.toDate(), this.parseISO = (t) => this.dayjs(t), this.toISO = (t) => t.toISOString(), this.parse = (t, e) => t === "" ? null : this.dayjs(t, e, this.locale, !0), this.getCurrentLocaleCode = () => this.locale || "en", this.is12HourCycleInCurrentLocale = () => /A|a/.test(this.getLocaleFormats().LT || ""), this.expandFormat = (t) => {
|
|
404
|
-
const e = this.getLocaleFormats(), s = (n) => n.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (a, r, c) => r || c.slice(1));
|
|
405
|
-
return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (n, a, r) => {
|
|
406
|
-
const c = r && r.toUpperCase();
|
|
407
|
-
return a || e[r] || s(e[c]);
|
|
408
|
-
});
|
|
409
|
-
}, this.getFormatHelperText = (t) => this.expandFormat(t).replace(/a/gi, "(a|p)m").toLocaleLowerCase(), this.isNull = (t) => t === null, this.isValid = (t) => this.dayjs(t).isValid(), this.format = (t, e) => this.formatByString(t, this.formats[e]), this.formatByString = (t, e) => this.dayjs(t).format(e), this.formatNumber = (t) => t, this.getDiff = (t, e, s) => t.diff(e, s), this.isEqual = (t, e) => t === null && e === null ? !0 : this.dayjs(t).toDate().getTime() === this.dayjs(e).toDate().getTime(), this.isSameYear = (t, e) => this.isSame(t, e, "YYYY"), this.isSameMonth = (t, e) => this.isSame(t, e, "YYYY-MM"), this.isSameDay = (t, e) => this.isSame(t, e, "YYYY-MM-DD"), this.isSameHour = (t, e) => t.isSame(e, "hour"), this.isAfter = (t, e) => t > e, this.isAfterYear = (t, e) => this.hasUTCPlugin() ? !this.isSameYear(t, e) && t.utc() > e.utc() : t.isAfter(e, "year"), this.isAfterDay = (t, e) => this.hasUTCPlugin() ? !this.isSameDay(t, e) && t.utc() > e.utc() : t.isAfter(e, "day"), this.isBefore = (t, e) => t < e, this.isBeforeYear = (t, e) => this.hasUTCPlugin() ? !this.isSameYear(t, e) && t.utc() < e.utc() : t.isBefore(e, "year"), this.isBeforeDay = (t, e) => this.hasUTCPlugin() ? !this.isSameDay(t, e) && t.utc() < e.utc() : t.isBefore(e, "day"), this.isWithinRange = (t, [e, s]) => t >= e && t <= s, this.startOfYear = (t) => this.adjustOffset(t.startOf("year")), this.startOfMonth = (t) => this.adjustOffset(t.startOf("month")), this.startOfWeek = (t) => this.adjustOffset(t.startOf("week")), this.startOfDay = (t) => this.adjustOffset(t.startOf("day")), this.endOfYear = (t) => this.adjustOffset(t.endOf("year")), this.endOfMonth = (t) => this.adjustOffset(t.endOf("month")), this.endOfWeek = (t) => this.adjustOffset(t.endOf("week")), this.endOfDay = (t) => this.adjustOffset(t.endOf("day")), this.addYears = (t, e) => this.adjustOffset(e < 0 ? t.subtract(Math.abs(e), "year") : t.add(e, "year")), this.addMonths = (t, e) => this.adjustOffset(e < 0 ? t.subtract(Math.abs(e), "month") : t.add(e, "month")), this.addWeeks = (t, e) => this.adjustOffset(e < 0 ? t.subtract(Math.abs(e), "week") : t.add(e, "week")), this.addDays = (t, e) => this.adjustOffset(e < 0 ? t.subtract(Math.abs(e), "day") : t.add(e, "day")), this.addHours = (t, e) => this.adjustOffset(e < 0 ? t.subtract(Math.abs(e), "hour") : t.add(e, "hour")), this.addMinutes = (t, e) => this.adjustOffset(e < 0 ? t.subtract(Math.abs(e), "minute") : t.add(e, "minute")), this.addSeconds = (t, e) => this.adjustOffset(e < 0 ? t.subtract(Math.abs(e), "second") : t.add(e, "second")), this.getYear = (t) => t.year(), this.getMonth = (t) => t.month(), this.getDate = (t) => t.date(), this.getHours = (t) => t.hour(), this.getMinutes = (t) => t.minute(), this.getSeconds = (t) => t.second(), this.getMilliseconds = (t) => t.millisecond(), this.setYear = (t, e) => this.adjustOffset(t.set("year", e)), this.setMonth = (t, e) => this.adjustOffset(t.set("month", e)), this.setDate = (t, e) => this.adjustOffset(t.set("date", e)), this.setHours = (t, e) => this.adjustOffset(t.set("hour", e)), this.setMinutes = (t, e) => this.adjustOffset(t.set("minute", e)), this.setSeconds = (t, e) => this.adjustOffset(t.set("second", e)), this.setMilliseconds = (t, e) => this.adjustOffset(t.set("millisecond", e)), this.getDaysInMonth = (t) => t.daysInMonth(), this.getNextMonth = (t) => this.addMonths(t, 1), this.getPreviousMonth = (t) => this.addMonths(t, -1), this.getMonthArray = (t) => {
|
|
410
|
-
const s = [t.startOf("year")];
|
|
411
|
-
for (; s.length < 12; ) {
|
|
412
|
-
const n = s[s.length - 1];
|
|
413
|
-
s.push(this.addMonths(n, 1));
|
|
414
|
-
}
|
|
415
|
-
return s;
|
|
416
|
-
}, this.mergeDateAndTime = (t, e) => t.hour(e.hour()).minute(e.minute()).second(e.second()), this.getWeekdays = () => {
|
|
417
|
-
const t = this.dayjs().startOf("week");
|
|
418
|
-
return [0, 1, 2, 3, 4, 5, 6].map((e) => this.formatByString(this.addDays(t, e), "dd"));
|
|
419
|
-
}, this.getWeekArray = (t) => {
|
|
420
|
-
const e = this.setLocaleToValue(t), s = e.startOf("month").startOf("week"), n = e.endOf("month").endOf("week");
|
|
421
|
-
let a = 0, r = s;
|
|
422
|
-
const c = [];
|
|
423
|
-
for (; r < n; ) {
|
|
424
|
-
const M = Math.floor(a / 7);
|
|
425
|
-
c[M] = c[M] || [], c[M].push(r), r = this.addDays(r, 1), a += 1;
|
|
426
|
-
}
|
|
427
|
-
return c;
|
|
428
|
-
}, this.getWeekNumber = (t) => t.week(), this.getYearRange = (t, e) => {
|
|
429
|
-
const s = t.startOf("year"), n = e.endOf("year"), a = [];
|
|
430
|
-
let r = s;
|
|
431
|
-
for (; r < n; )
|
|
432
|
-
a.push(r), r = this.addYears(r, 1);
|
|
433
|
-
return a;
|
|
434
|
-
}, this.getMeridiemText = (t) => t === "am" ? "AM" : "PM", this.rawDayJsInstance = u, this.dayjs = zt((f = this.rawDayJsInstance) != null ? f : y, p), this.locale = p, this.formats = Tt({}, Ct, l), y.extend(Yt);
|
|
435
|
-
}
|
|
436
|
-
}
|
|
437
|
-
const Wt = ({
|
|
438
|
-
values: m,
|
|
439
|
-
templates: p,
|
|
440
|
-
onChange: l
|
|
1
|
+
import { jsx as s, Fragment as c } from "react/jsx-runtime";
|
|
2
|
+
import a from "lodash";
|
|
3
|
+
import { CollapsibleCard as g } from "../collapsible-card/index.js";
|
|
4
|
+
import { P as p } from "../../property-BSufYw1E.js";
|
|
5
|
+
const K = ({
|
|
6
|
+
values: f,
|
|
7
|
+
templates: d,
|
|
8
|
+
onChange: u
|
|
441
9
|
}) => {
|
|
442
|
-
const
|
|
443
|
-
if (
|
|
444
|
-
let e =
|
|
10
|
+
const m = (t) => (r) => {
|
|
11
|
+
if (t) {
|
|
12
|
+
let e = f.find((l) => l.templateKey === t);
|
|
445
13
|
if (e) {
|
|
446
|
-
const
|
|
447
|
-
let
|
|
448
|
-
(
|
|
14
|
+
const l = a.keys(r)[0];
|
|
15
|
+
let i = e.filters.findIndex(
|
|
16
|
+
(o) => o.fieldName === l
|
|
449
17
|
);
|
|
450
|
-
const
|
|
451
|
-
|
|
452
|
-
fieldName:
|
|
453
|
-
value:
|
|
18
|
+
const n = a.get(r, l);
|
|
19
|
+
a.values(n).filter((o) => o !== "").length === 0 && i !== -1 ? e.filters.splice(i, 1) : i !== -1 ? e.filters[i] = {
|
|
20
|
+
fieldName: l,
|
|
21
|
+
value: n
|
|
454
22
|
} : e.filters.push({
|
|
455
|
-
fieldName:
|
|
456
|
-
value:
|
|
23
|
+
fieldName: l,
|
|
24
|
+
value: n
|
|
457
25
|
});
|
|
458
26
|
}
|
|
459
|
-
|
|
27
|
+
u(f);
|
|
460
28
|
} else console.warn("Template could not be found!");
|
|
461
29
|
};
|
|
462
|
-
if (
|
|
463
|
-
const
|
|
464
|
-
return /* @__PURE__ */
|
|
465
|
-
let
|
|
466
|
-
const
|
|
467
|
-
(
|
|
30
|
+
if (f.length === 1) {
|
|
31
|
+
const t = f[0], r = d.get(t.templateKey);
|
|
32
|
+
return /* @__PURE__ */ s(c, { children: r == null ? void 0 : r.properties.map((e, l) => {
|
|
33
|
+
let i = {};
|
|
34
|
+
const n = t.filters.find(
|
|
35
|
+
(o) => o.fieldName === e.propertyId
|
|
468
36
|
);
|
|
469
|
-
return
|
|
470
|
-
|
|
37
|
+
return n && (i = n.value), /* @__PURE__ */ s(
|
|
38
|
+
p,
|
|
471
39
|
{
|
|
472
40
|
property: e,
|
|
473
|
-
value:
|
|
41
|
+
value: i,
|
|
474
42
|
size: "small",
|
|
475
|
-
onChange:
|
|
43
|
+
onChange: m(r == null ? void 0 : r.templateKey)
|
|
476
44
|
},
|
|
477
|
-
|
|
45
|
+
l
|
|
478
46
|
);
|
|
479
47
|
}) });
|
|
480
48
|
}
|
|
481
|
-
return
|
|
482
|
-
const e =
|
|
483
|
-
return /* @__PURE__ */
|
|
484
|
-
|
|
49
|
+
return f.map((t, r) => {
|
|
50
|
+
const e = d.get(t.templateKey);
|
|
51
|
+
return /* @__PURE__ */ s(
|
|
52
|
+
g,
|
|
485
53
|
{
|
|
486
54
|
header: e == null ? void 0 : e.name,
|
|
487
|
-
content: /* @__PURE__ */
|
|
488
|
-
let
|
|
489
|
-
const
|
|
490
|
-
(
|
|
55
|
+
content: /* @__PURE__ */ s(c, { children: e == null ? void 0 : e.properties.map((l, i) => {
|
|
56
|
+
let n = {};
|
|
57
|
+
const o = t.filters.find(
|
|
58
|
+
(h) => h.fieldName === l.propertyId
|
|
491
59
|
);
|
|
492
|
-
return
|
|
493
|
-
|
|
60
|
+
return o && (n = o.value), /* @__PURE__ */ s(
|
|
61
|
+
p,
|
|
494
62
|
{
|
|
495
|
-
property:
|
|
496
|
-
value:
|
|
63
|
+
property: l,
|
|
64
|
+
value: n,
|
|
497
65
|
size: "small",
|
|
498
|
-
onChange:
|
|
66
|
+
onChange: m(e == null ? void 0 : e.templateKey)
|
|
499
67
|
},
|
|
500
|
-
|
|
68
|
+
i
|
|
501
69
|
);
|
|
502
70
|
}) })
|
|
503
71
|
},
|
|
504
|
-
|
|
505
|
-
)
|
|
72
|
+
r
|
|
73
|
+
);
|
|
506
74
|
});
|
|
507
75
|
};
|
|
508
76
|
export {
|
|
509
|
-
|
|
77
|
+
K as TemplatePropertyFilters
|
|
510
78
|
};
|
|
@@ -3,10 +3,10 @@ import "react";
|
|
|
3
3
|
import "dayjs";
|
|
4
4
|
import "@mui/icons-material";
|
|
5
5
|
import "@mui/material";
|
|
6
|
-
import "../../FormControlLabel-
|
|
7
|
-
import "../../Checkbox-
|
|
8
|
-
import { P as l } from "../../property-
|
|
9
|
-
import "../../FormControl-
|
|
6
|
+
import "../../FormControlLabel-Df7csguX.js";
|
|
7
|
+
import "../../Checkbox-BGNAqLl0.js";
|
|
8
|
+
import { P as l } from "../../property-BSufYw1E.js";
|
|
9
|
+
import "../../FormControl-ChTmxscy.js";
|
|
10
10
|
export {
|
|
11
11
|
l as default
|
|
12
12
|
};
|
|
@@ -3,10 +3,10 @@ import f from "react";
|
|
|
3
3
|
import { TreeViewFilter as _ } from "../treeview-filter/index.js";
|
|
4
4
|
import r from "lodash";
|
|
5
5
|
import { flattenNestedTemplates as b } from "../../utils/ontology.js";
|
|
6
|
-
import { F as A, I as E } from "../../FormControl-
|
|
7
|
-
import { S as M } from "../../Select-
|
|
8
|
-
import { M as j } from "../../MenuItem-
|
|
9
|
-
import { D as B, a as k, b as w, B as L } from "../../DialogContent-
|
|
6
|
+
import { F as A, I as E } from "../../FormControl-ChTmxscy.js";
|
|
7
|
+
import { S as M } from "../../Select-C1jD_gBQ.js";
|
|
8
|
+
import { M as j } from "../../MenuItem-DF45rx2m.js";
|
|
9
|
+
import { D as B, a as k, b as w, B as L } from "../../DialogContent-CKeAZ3Ts.js";
|
|
10
10
|
const P = ({
|
|
11
11
|
data: h,
|
|
12
12
|
label: s,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import Ne, { jsx as C, jsxs as it, Fragment as ut } from "react/jsx-runtime";
|
|
2
2
|
import * as f from "react";
|
|
3
3
|
import Se from "react";
|
|
4
|
-
import { g as dt, s as ft, i as Oe } from "../../styled-
|
|
5
|
-
import { r as Te } from "../../createSvgIcon-
|
|
6
|
-
import { T as pt, D as ht, c as mt, I as xt } from "../../index-
|
|
4
|
+
import { g as dt, s as ft, i as Oe } from "../../styled-iyoioZCr.js";
|
|
5
|
+
import { r as Te } from "../../createSvgIcon-6wv0RQr3.js";
|
|
6
|
+
import { T as pt, D as ht, c as mt, I as xt } from "../../index-DzFccwzL.js";
|
|
7
7
|
import we from "lodash";
|
|
8
8
|
import { Box as gt } from "@mui/material";
|
|
9
9
|
import { SearchInput as bt } from "../search-input/index.js";
|
|
10
10
|
import { flattenNestedTemplates as St } from "../../utils/ontology.js";
|
|
11
|
-
import { P as o } from "../../createTheme-
|
|
12
|
-
import { g as wt, a as yt } from "../../chainPropTypes-
|
|
13
|
-
import { u as It } from "../../useThemeProps-
|
|
14
|
-
import { u as Ct } from "../../useTheme-
|
|
11
|
+
import { P as o } from "../../createTheme-C3DKplhE.js";
|
|
12
|
+
import { g as wt, a as yt } from "../../chainPropTypes-GRMJ22CO.js";
|
|
13
|
+
import { u as It } from "../../useThemeProps-C90JF0Qc.js";
|
|
14
|
+
import { u as Ct } from "../../useTheme-pWltVFb2.js";
|
|
15
15
|
import { u as Nt } from "../../useId-BHG98T5I.js";
|
|
16
|
-
import {
|
|
17
|
-
import { u as ye } from "../../createSvgIcon-
|
|
16
|
+
import { u as Ot } from "../../ButtonBase-DE8d_U2E.js";
|
|
17
|
+
import { u as ye } from "../../createSvgIcon-DPZ7UbxM.js";
|
|
18
18
|
import { o as Tt } from "../../ownerDocument-CUrv0DIK.js";
|
|
19
19
|
function Rt(d) {
|
|
20
20
|
return dt("MuiTreeView", d);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as c, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { RadioButtonUnchecked as l, CheckCircle as s } from "@mui/icons-material";
|
|
3
|
-
import { B as p, C as h } from "../../../Checkbox-
|
|
4
|
-
import { T as d } from "../../../Typography-
|
|
3
|
+
import { B as p, C as h } from "../../../Checkbox-BGNAqLl0.js";
|
|
4
|
+
import { T as d } from "../../../Typography-C2BkMNk-.js";
|
|
5
5
|
function k({
|
|
6
6
|
id: t,
|
|
7
7
|
name: n,
|