@linagora/linid-im-front-corelib 0.0.37 → 0.0.39
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/core-lib.es.js +247 -168
- package/dist/core-lib.umd.js +14 -14
- package/dist/package.json +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/types/src/index.d.ts +1 -1
- package/dist/types/src/types/uiDesign.d.ts +19 -3
- package/package.json +1 -1
package/dist/core-lib.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _n from "vue";
|
|
2
|
-
import { defineAsyncComponent as Io, hasInjectionContext as An, inject as Ut, getCurrentInstance as Po, ref as pt, reactive as wo, markRaw as ft, effectScope as Do, isRef as mt, isReactive as
|
|
2
|
+
import { defineAsyncComponent as Io, hasInjectionContext as An, inject as Ut, getCurrentInstance as Po, ref as pt, reactive as wo, markRaw as ft, effectScope as Do, isRef as mt, isReactive as Qn, toRef as hn, toRaw as ko, nextTick as _r, getCurrentScope as Fo, onScopeDispose as Uo, watch as vn, computed as ke, toRefs as hr, defineComponent as Jt, watchEffect as Mo, openBlock as En, createElementBlock as Er, Fragment as Mt, renderList as xo, createBlock as Vo, resolveDynamicComponent as $o, mergeProps as jo, renderSlot as Bo, createElementVNode as Ho, createCommentVNode as Wo, onMounted as qo, onUnmounted as Go, shallowRef as Yo, h as Ns, createVNode as Ko, Text as Xo } from "vue";
|
|
3
3
|
let xt = null;
|
|
4
|
-
function
|
|
4
|
+
function ku(e) {
|
|
5
5
|
if (xt !== null) {
|
|
6
6
|
console.warn(
|
|
7
7
|
"[LinID CoreLib] Module Federation has already been initialized. Re-initialization is ignored."
|
|
@@ -17,7 +17,7 @@ function Jo() {
|
|
|
17
17
|
);
|
|
18
18
|
return xt;
|
|
19
19
|
}
|
|
20
|
-
const
|
|
20
|
+
const zo = (e) => Io(
|
|
21
21
|
() => Jo().loadRemote(e).then((t) => {
|
|
22
22
|
if (!t?.default)
|
|
23
23
|
throw new Error(`Failed to load component from ${e}`);
|
|
@@ -45,7 +45,7 @@ function Os(e, t) {
|
|
|
45
45
|
if (!(n in e))
|
|
46
46
|
continue;
|
|
47
47
|
const s = e[n];
|
|
48
|
-
qe(s) && qe(r) && !mt(r) && !
|
|
48
|
+
qe(s) && qe(r) && !mt(r) && !Qn(r) ? e[n] = Os(s, r) : e[n] = r;
|
|
49
49
|
}
|
|
50
50
|
return e;
|
|
51
51
|
}
|
|
@@ -58,19 +58,19 @@ function gr(e, t, n, r = Ss) {
|
|
|
58
58
|
};
|
|
59
59
|
return !n && Fo() && Uo(s), s;
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function ze(e, ...t) {
|
|
62
62
|
e.forEach((n) => {
|
|
63
63
|
n(...t);
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
|
-
const
|
|
66
|
+
const Qo = (e) => e(), br = Symbol(), gn = Symbol();
|
|
67
67
|
function Rn(e, t) {
|
|
68
68
|
e instanceof Map && t instanceof Map ? t.forEach((n, r) => e.set(r, n)) : e instanceof Set && t instanceof Set && t.forEach(e.add, e);
|
|
69
69
|
for (const n in t) {
|
|
70
70
|
if (!t.hasOwnProperty(n))
|
|
71
71
|
continue;
|
|
72
72
|
const r = t[n], s = e[n];
|
|
73
|
-
qe(s) && qe(r) && e.hasOwnProperty(n) && !mt(r) && !
|
|
73
|
+
qe(s) && qe(r) && e.hasOwnProperty(n) && !mt(r) && !Qn(r) ? e[n] = Rn(s, r) : e[n] = r;
|
|
74
74
|
}
|
|
75
75
|
return e;
|
|
76
76
|
}
|
|
@@ -131,7 +131,7 @@ function In(e, t, n = {}, r, s, o) {
|
|
|
131
131
|
const k = S = Symbol();
|
|
132
132
|
_r().then(() => {
|
|
133
133
|
S === k && (u = !0);
|
|
134
|
-
}), l = !0,
|
|
134
|
+
}), l = !0, ze(p, P, r.state.value[e]);
|
|
135
135
|
}
|
|
136
136
|
const N = o ? function() {
|
|
137
137
|
const { state: P } = n, k = P ? P() : {};
|
|
@@ -153,13 +153,13 @@ function In(e, t, n = {}, r, s, o) {
|
|
|
153
153
|
const k = function() {
|
|
154
154
|
Vt(r);
|
|
155
155
|
const W = Array.from(arguments), ne = /* @__PURE__ */ new Set(), be = /* @__PURE__ */ new Set();
|
|
156
|
-
function se(
|
|
157
|
-
ne.add(
|
|
156
|
+
function se(Q) {
|
|
157
|
+
ne.add(Q);
|
|
158
158
|
}
|
|
159
|
-
function we(
|
|
160
|
-
be.add(
|
|
159
|
+
function we(Q) {
|
|
160
|
+
be.add(Q);
|
|
161
161
|
}
|
|
162
|
-
|
|
162
|
+
ze(g, {
|
|
163
163
|
args: W,
|
|
164
164
|
name: k[gn],
|
|
165
165
|
store: _,
|
|
@@ -169,10 +169,10 @@ function In(e, t, n = {}, r, s, o) {
|
|
|
169
169
|
let Z;
|
|
170
170
|
try {
|
|
171
171
|
Z = I.apply(this && this.$id === e ? this : _, W);
|
|
172
|
-
} catch (
|
|
173
|
-
throw
|
|
172
|
+
} catch (Q) {
|
|
173
|
+
throw ze(be, Q), Q;
|
|
174
174
|
}
|
|
175
|
-
return Z instanceof Promise ? Z.then((
|
|
175
|
+
return Z instanceof Promise ? Z.then((Q) => (ze(ne, Q), Q)).catch((Q) => (ze(be, Q), Promise.reject(Q))) : (ze(ne, Z), Z);
|
|
176
176
|
};
|
|
177
177
|
return k[br] = !0, k[gn] = P, k;
|
|
178
178
|
}, C = /* @__PURE__ */ ft({
|
|
@@ -209,10 +209,10 @@ function In(e, t, n = {}, r, s, o) {
|
|
|
209
209
|
// setupStore
|
|
210
210
|
) : R);
|
|
211
211
|
r._s.set(e, _);
|
|
212
|
-
const U = (r._a && r._a.runWithContext ||
|
|
212
|
+
const U = (r._a && r._a.runWithContext || Qo)(() => r._e.run(() => (i = Do()).run(() => t({ action: y }))));
|
|
213
213
|
for (const I in U) {
|
|
214
214
|
const P = U[I];
|
|
215
|
-
if (mt(P) && !yr(P) ||
|
|
215
|
+
if (mt(P) && !yr(P) || Qn(P))
|
|
216
216
|
process.env.NODE_ENV !== "production" && s ? b.value[I] = hn(U, I) : o || (E && ei(P) && (mt(P) ? P.value = E[I] : Rn(P, E[I])), r.state.value[e][I] = P), process.env.NODE_ENV !== "production" && C.state.push(I);
|
|
217
217
|
else if (typeof P == "function") {
|
|
218
218
|
const k = process.env.NODE_ENV !== "production" && s ? P : y(P, I);
|
|
@@ -325,7 +325,7 @@ This will fail in production.`);
|
|
|
325
325
|
return o.$id = e, o;
|
|
326
326
|
}
|
|
327
327
|
let $t = null;
|
|
328
|
-
function
|
|
328
|
+
function Fu(e) {
|
|
329
329
|
if ($t !== null) {
|
|
330
330
|
console.warn(
|
|
331
331
|
"[LinID CoreLib] Pinia store has already been initialized. Re-initialization is ignored."
|
|
@@ -355,7 +355,7 @@ const ti = () => ni(er()), ni = /* @__PURE__ */ Zn("linidZoneStore", {
|
|
|
355
355
|
this.zones[e] || (this.zones[e] = []), this.zones[e].push(t);
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
}),
|
|
358
|
+
}), Uu = /* @__PURE__ */ Jt({
|
|
359
359
|
__name: "LinidZoneRenderer",
|
|
360
360
|
props: {
|
|
361
361
|
zone: {}
|
|
@@ -367,7 +367,7 @@ const ti = () => ni(er()), ni = /* @__PURE__ */ Zn("linidZoneStore", {
|
|
|
367
367
|
const o = n.zones[t.zone] || [];
|
|
368
368
|
r.value = o.map((i) => ({
|
|
369
369
|
...i,
|
|
370
|
-
component:
|
|
370
|
+
component: zo(i.plugin)
|
|
371
371
|
})), Promise.resolve().then(() => {
|
|
372
372
|
s.value = !0;
|
|
373
373
|
});
|
|
@@ -386,10 +386,10 @@ function Ts(e, t) {
|
|
|
386
386
|
return e.apply(t, arguments);
|
|
387
387
|
};
|
|
388
388
|
}
|
|
389
|
-
const { toString: ri } = Object.prototype, { getPrototypeOf: tr } = Object, { iterator:
|
|
389
|
+
const { toString: ri } = Object.prototype, { getPrototypeOf: tr } = Object, { iterator: zt, toStringTag: Ls } = Symbol, Qt = /* @__PURE__ */ ((e) => (t) => {
|
|
390
390
|
const n = ri.call(t);
|
|
391
391
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
392
|
-
})(/* @__PURE__ */ Object.create(null)), ge = (e) => (e = e.toLowerCase(), (t) =>
|
|
392
|
+
})(/* @__PURE__ */ Object.create(null)), ge = (e) => (e = e.toLowerCase(), (t) => Qt(t) === e), Zt = (e) => (t) => typeof t === e, { isArray: nt } = Array, et = Zt("undefined");
|
|
393
393
|
function bt(e) {
|
|
394
394
|
return e !== null && !et(e) && e.constructor !== null && !et(e.constructor) && ue(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
395
395
|
}
|
|
@@ -399,10 +399,10 @@ function si(e) {
|
|
|
399
399
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && As(e.buffer), t;
|
|
400
400
|
}
|
|
401
401
|
const oi = Zt("string"), ue = Zt("function"), vs = Zt("number"), yt = (e) => e !== null && typeof e == "object", ii = (e) => e === !0 || e === !1, Pt = (e) => {
|
|
402
|
-
if (
|
|
402
|
+
if (Qt(e) !== "object")
|
|
403
403
|
return !1;
|
|
404
404
|
const t = tr(e);
|
|
405
|
-
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Ls in e) && !(
|
|
405
|
+
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Ls in e) && !(zt in e);
|
|
406
406
|
}, ai = (e) => {
|
|
407
407
|
if (!yt(e) || bt(e))
|
|
408
408
|
return !1;
|
|
@@ -413,7 +413,7 @@ const oi = Zt("string"), ue = Zt("function"), vs = Zt("number"), yt = (e) => e !
|
|
|
413
413
|
}
|
|
414
414
|
}, ci = ge("Date"), li = ge("File"), ui = ge("Blob"), fi = ge("FileList"), di = (e) => yt(e) && ue(e.pipe), pi = (e) => {
|
|
415
415
|
let t;
|
|
416
|
-
return e && (typeof FormData == "function" && e instanceof FormData || ue(e.append) && ((t =
|
|
416
|
+
return e && (typeof FormData == "function" && e instanceof FormData || ue(e.append) && ((t = Qt(e)) === "formdata" || // detect form-data instance
|
|
417
417
|
t === "object" && ue(e.toString) && e.toString() === "[object FormData]"));
|
|
418
418
|
}, mi = ge("URLSearchParams"), [_i, hi, Ei, gi] = ["ReadableStream", "Request", "Response", "Headers"].map(ge), bi = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
419
419
|
function Nt(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
@@ -483,7 +483,7 @@ const yi = (e, t, n, { allOwnKeys: r } = {}) => (Nt(t, (s, o) => {
|
|
|
483
483
|
n[t] = e[t];
|
|
484
484
|
return n;
|
|
485
485
|
}, Ai = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && tr(Uint8Array)), vi = (e, t) => {
|
|
486
|
-
const r = (e && e[
|
|
486
|
+
const r = (e && e[zt]).call(e);
|
|
487
487
|
let s;
|
|
488
488
|
for (; (s = r.next()) && !s.done; ) {
|
|
489
489
|
const o = s.value;
|
|
@@ -531,7 +531,7 @@ const yi = (e, t, n, { allOwnKeys: r } = {}) => (Nt(t, (s, o) => {
|
|
|
531
531
|
}, ki = () => {
|
|
532
532
|
}, Fi = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
533
533
|
function Ui(e) {
|
|
534
|
-
return !!(e && ue(e.append) && e[Ls] === "FormData" && e[
|
|
534
|
+
return !!(e && ue(e.append) && e[Ls] === "FormData" && e[zt]);
|
|
535
535
|
}
|
|
536
536
|
const Mi = (e) => {
|
|
537
537
|
const t = new Array(10), n = (r, s) => {
|
|
@@ -559,7 +559,7 @@ const Mi = (e) => {
|
|
|
559
559
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
560
560
|
typeof setImmediate == "function",
|
|
561
561
|
ue(Be.postMessage)
|
|
562
|
-
), $i = typeof queueMicrotask < "u" ? queueMicrotask.bind(Be) : typeof process < "u" && process.nextTick || Ps, ji = (e) => e != null && ue(e[
|
|
562
|
+
), $i = typeof queueMicrotask < "u" ? queueMicrotask.bind(Be) : typeof process < "u" && process.nextTick || Ps, ji = (e) => e != null && ue(e[zt]), h = {
|
|
563
563
|
isArray: nt,
|
|
564
564
|
isArrayBuffer: As,
|
|
565
565
|
isBuffer: bt,
|
|
@@ -592,7 +592,7 @@ const Mi = (e) => {
|
|
|
592
592
|
stripBOM: Ni,
|
|
593
593
|
inherits: Oi,
|
|
594
594
|
toFlatObject: Si,
|
|
595
|
-
kindOf:
|
|
595
|
+
kindOf: Qt,
|
|
596
596
|
kindOfTest: ge,
|
|
597
597
|
endsWith: Ti,
|
|
598
598
|
toArray: Li,
|
|
@@ -865,14 +865,14 @@ const Ms = {
|
|
|
865
865
|
Blob: Ki
|
|
866
866
|
},
|
|
867
867
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
868
|
-
}, rr = typeof window < "u" && typeof document < "u", Dn = typeof navigator == "object" && navigator || void 0, Ji = rr && (!Dn || ["ReactNative", "NativeScript", "NS"].indexOf(Dn.product) < 0),
|
|
869
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function",
|
|
868
|
+
}, rr = typeof window < "u" && typeof document < "u", Dn = typeof navigator == "object" && navigator || void 0, Ji = rr && (!Dn || ["ReactNative", "NativeScript", "NS"].indexOf(Dn.product) < 0), zi = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
869
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Qi = rr && window.location.href || "http://localhost", Zi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
870
870
|
__proto__: null,
|
|
871
871
|
hasBrowserEnv: rr,
|
|
872
872
|
hasStandardBrowserEnv: Ji,
|
|
873
|
-
hasStandardBrowserWebWorkerEnv:
|
|
873
|
+
hasStandardBrowserWebWorkerEnv: zi,
|
|
874
874
|
navigator: Dn,
|
|
875
|
-
origin:
|
|
875
|
+
origin: Qi
|
|
876
876
|
}, Symbol.toStringTag, { value: "Module" })), ae = {
|
|
877
877
|
...Zi,
|
|
878
878
|
...Xi
|
|
@@ -1648,8 +1648,8 @@ const Bs = (e) => {
|
|
|
1648
1648
|
};
|
|
1649
1649
|
W = o && new n(b, we);
|
|
1650
1650
|
let Z = await (o ? P(W, I) : P(b, we));
|
|
1651
|
-
const
|
|
1652
|
-
if (l && (C ||
|
|
1651
|
+
const Q = l && (_ === "stream" || _ === "response");
|
|
1652
|
+
if (l && (C || Q && ne)) {
|
|
1653
1653
|
const ce = {};
|
|
1654
1654
|
["status", "statusText", "headers"].forEach((Xe) => {
|
|
1655
1655
|
ce[Xe] = Z[Xe];
|
|
@@ -1667,7 +1667,7 @@ const Bs = (e) => {
|
|
|
1667
1667
|
}
|
|
1668
1668
|
_ = _ || "text";
|
|
1669
1669
|
let _e = await p[h.findKey(p, _) || "text"](Z, E);
|
|
1670
|
-
return !
|
|
1670
|
+
return !Q && ne && ne(), await new Promise((ce, ye) => {
|
|
1671
1671
|
$s(ce, ye, {
|
|
1672
1672
|
data: _e,
|
|
1673
1673
|
headers: fe.from(Z.headers),
|
|
@@ -2112,46 +2112,46 @@ function Ys(e) {
|
|
|
2112
2112
|
return Ys(Ge(e, s));
|
|
2113
2113
|
}, n;
|
|
2114
2114
|
}
|
|
2115
|
-
const
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2115
|
+
const z = Ys(Ot);
|
|
2116
|
+
z.Axios = We;
|
|
2117
|
+
z.CanceledError = rt;
|
|
2118
|
+
z.CancelToken = Ra;
|
|
2119
|
+
z.isCancel = Vs;
|
|
2120
|
+
z.VERSION = qs;
|
|
2121
|
+
z.toFormData = en;
|
|
2122
|
+
z.AxiosError = M;
|
|
2123
|
+
z.Cancel = z.CanceledError;
|
|
2124
|
+
z.all = function(t) {
|
|
2125
2125
|
return Promise.all(t);
|
|
2126
2126
|
};
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2127
|
+
z.spread = Ia;
|
|
2128
|
+
z.isAxiosError = Pa;
|
|
2129
|
+
z.mergeConfig = Ge;
|
|
2130
|
+
z.AxiosHeaders = fe;
|
|
2131
|
+
z.formToJSON = (e) => xs(h.isHTMLForm(e) ? new FormData(e) : e);
|
|
2132
|
+
z.getAdapter = Ws.getAdapter;
|
|
2133
|
+
z.HttpStatusCode = kn;
|
|
2134
|
+
z.default = z;
|
|
2135
2135
|
const {
|
|
2136
|
-
Axios:
|
|
2137
|
-
AxiosError:
|
|
2138
|
-
CanceledError:
|
|
2139
|
-
isCancel:
|
|
2140
|
-
CancelToken:
|
|
2141
|
-
VERSION:
|
|
2142
|
-
all:
|
|
2143
|
-
Cancel:
|
|
2144
|
-
isAxiosError:
|
|
2145
|
-
spread:
|
|
2146
|
-
toFormData:
|
|
2147
|
-
AxiosHeaders:
|
|
2136
|
+
Axios: Vu,
|
|
2137
|
+
AxiosError: $u,
|
|
2138
|
+
CanceledError: ju,
|
|
2139
|
+
isCancel: Bu,
|
|
2140
|
+
CancelToken: Hu,
|
|
2141
|
+
VERSION: Wu,
|
|
2142
|
+
all: qu,
|
|
2143
|
+
Cancel: Gu,
|
|
2144
|
+
isAxiosError: Yu,
|
|
2145
|
+
spread: Ku,
|
|
2146
|
+
toFormData: Xu,
|
|
2147
|
+
AxiosHeaders: Ju,
|
|
2148
2148
|
HttpStatusCode: xr,
|
|
2149
|
-
formToJSON:
|
|
2150
|
-
getAdapter:
|
|
2151
|
-
mergeConfig:
|
|
2152
|
-
} =
|
|
2149
|
+
formToJSON: zu,
|
|
2150
|
+
getAdapter: Qu,
|
|
2151
|
+
mergeConfig: Zu
|
|
2152
|
+
} = z;
|
|
2153
2153
|
let Bt = null;
|
|
2154
|
-
function
|
|
2154
|
+
function ef(e) {
|
|
2155
2155
|
if (Bt !== null) {
|
|
2156
2156
|
console.warn(
|
|
2157
2157
|
"[LinID CoreLib] HTTP client has already been initialized. Re-initialization is ignored."
|
|
@@ -2168,7 +2168,7 @@ function Ie() {
|
|
|
2168
2168
|
return Bt;
|
|
2169
2169
|
}
|
|
2170
2170
|
const Ks = /* @__PURE__ */ new Map();
|
|
2171
|
-
function
|
|
2171
|
+
function tf(e) {
|
|
2172
2172
|
Ks.set(e.instanceId, e);
|
|
2173
2173
|
}
|
|
2174
2174
|
function st(e) {
|
|
@@ -2179,25 +2179,25 @@ function st(e) {
|
|
|
2179
2179
|
);
|
|
2180
2180
|
return t;
|
|
2181
2181
|
}
|
|
2182
|
-
async function
|
|
2182
|
+
async function nf(e, t) {
|
|
2183
2183
|
const n = st(e);
|
|
2184
2184
|
return Ie().post(`/${n.apiEndpoint}`, t).then(({ data: r }) => r);
|
|
2185
2185
|
}
|
|
2186
|
-
async function
|
|
2186
|
+
async function rf(e, t, n) {
|
|
2187
2187
|
const r = st(e);
|
|
2188
2188
|
return Ie().put(`/${r.apiEndpoint}/${t}`, n).then(({ data: s }) => s);
|
|
2189
2189
|
}
|
|
2190
|
-
async function
|
|
2190
|
+
async function sf(e, t, n) {
|
|
2191
2191
|
const r = st(e);
|
|
2192
2192
|
return Ie().get(`/${r.apiEndpoint}`, {
|
|
2193
2193
|
params: { ...t, ...n }
|
|
2194
2194
|
}).then(({ data: s }) => s);
|
|
2195
2195
|
}
|
|
2196
|
-
async function
|
|
2196
|
+
async function of(e, t) {
|
|
2197
2197
|
const n = st(e);
|
|
2198
2198
|
return Ie().get(`/${n.apiEndpoint}/${t}`).then(({ data: r }) => r);
|
|
2199
2199
|
}
|
|
2200
|
-
async function
|
|
2200
|
+
async function af(e, t) {
|
|
2201
2201
|
const n = st(e);
|
|
2202
2202
|
return Ie().delete(`/${n.apiEndpoint}/${t}`);
|
|
2203
2203
|
}
|
|
@@ -2372,12 +2372,12 @@ function ot(e, t, n = {}) {
|
|
|
2372
2372
|
function Ka(e) {
|
|
2373
2373
|
throw e;
|
|
2374
2374
|
}
|
|
2375
|
-
const Xa = /<\/?[\w\s="/.':;#-\/]+>/, Ja = (e) => Xa.test(e), Oe = " ",
|
|
2376
|
-
`,
|
|
2375
|
+
const Xa = /<\/?[\w\s="/.':;#-\/]+>/, Ja = (e) => Xa.test(e), Oe = " ", za = "\r", oe = `
|
|
2376
|
+
`, Qa = "\u2028", Za = "\u2029";
|
|
2377
2377
|
function ec(e) {
|
|
2378
2378
|
const t = e;
|
|
2379
2379
|
let n = 0, r = 1, s = 1, o = 0;
|
|
2380
|
-
const i = (_) => t[_] ===
|
|
2380
|
+
const i = (_) => t[_] === za && t[_ + 1] === oe, a = (_) => t[_] === oe, c = (_) => t[_] === Za, u = (_) => t[_] === Qa, l = (_) => i(_) || a(_) || c(_) || u(_), p = () => n, g = () => r, A = () => s, E = () => o, b = (_) => i(_) || c(_) || u(_) ? oe : t[_], S = () => b(n), m = () => b(n + o);
|
|
2381
2381
|
function N() {
|
|
2382
2382
|
return o = 0, l(n) && (r++, s = 0), i(n) && n++, n++, s++, t[n];
|
|
2383
2383
|
}
|
|
@@ -2577,14 +2577,14 @@ function rc(e, t = {}) {
|
|
|
2577
2577
|
function Z(f) {
|
|
2578
2578
|
return k(f, we);
|
|
2579
2579
|
}
|
|
2580
|
-
function
|
|
2580
|
+
function Q(f) {
|
|
2581
2581
|
const d = f.charCodeAt(0);
|
|
2582
2582
|
return d >= 48 && d <= 57 || // 0-9
|
|
2583
2583
|
d >= 65 && d <= 70 || // A-F
|
|
2584
2584
|
d >= 97 && d <= 102;
|
|
2585
2585
|
}
|
|
2586
2586
|
function _e(f) {
|
|
2587
|
-
return k(f,
|
|
2587
|
+
return k(f, Q);
|
|
2588
2588
|
}
|
|
2589
2589
|
function ce(f) {
|
|
2590
2590
|
let d = "", L = "";
|
|
@@ -3050,24 +3050,24 @@ function Gr(e) {
|
|
|
3050
3050
|
}
|
|
3051
3051
|
}
|
|
3052
3052
|
const fc = "minifier";
|
|
3053
|
-
function
|
|
3053
|
+
function Qe(e) {
|
|
3054
3054
|
switch (e.t = e.type, e.type) {
|
|
3055
3055
|
case 0: {
|
|
3056
3056
|
const t = e;
|
|
3057
|
-
|
|
3057
|
+
Qe(t.body), t.b = t.body, delete t.body;
|
|
3058
3058
|
break;
|
|
3059
3059
|
}
|
|
3060
3060
|
case 1: {
|
|
3061
3061
|
const t = e, n = t.cases;
|
|
3062
3062
|
for (let r = 0; r < n.length; r++)
|
|
3063
|
-
|
|
3063
|
+
Qe(n[r]);
|
|
3064
3064
|
t.c = n, delete t.cases;
|
|
3065
3065
|
break;
|
|
3066
3066
|
}
|
|
3067
3067
|
case 2: {
|
|
3068
3068
|
const t = e, n = t.items;
|
|
3069
3069
|
for (let r = 0; r < n.length; r++)
|
|
3070
|
-
|
|
3070
|
+
Qe(n[r]);
|
|
3071
3071
|
t.i = n, delete t.items, t.static && (t.s = t.static, delete t.static);
|
|
3072
3072
|
break;
|
|
3073
3073
|
}
|
|
@@ -3081,7 +3081,7 @@ function ze(e) {
|
|
|
3081
3081
|
}
|
|
3082
3082
|
case 6: {
|
|
3083
3083
|
const t = e;
|
|
3084
|
-
|
|
3084
|
+
Qe(t.key), t.k = t.key, delete t.key, t.modifier && (Qe(t.modifier), t.m = t.modifier, delete t.modifier);
|
|
3085
3085
|
break;
|
|
3086
3086
|
}
|
|
3087
3087
|
case 5: {
|
|
@@ -3253,7 +3253,7 @@ const gc = (e, t = {}) => {
|
|
|
3253
3253
|
};
|
|
3254
3254
|
function bc(e, t = {}) {
|
|
3255
3255
|
const n = te({}, t), r = !!n.jit, s = !!n.minify, o = n.optimize == null ? !0 : n.optimize, a = ac(n).parse(e);
|
|
3256
|
-
return r ? (o && uc(a), s &&
|
|
3256
|
+
return r ? (o && uc(a), s && Qe(a), { ast: a, code: "" }) : (lc(a, n), gc(a, n));
|
|
3257
3257
|
}
|
|
3258
3258
|
function yc() {
|
|
3259
3259
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (He().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (He().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
@@ -3265,13 +3265,13 @@ const Js = ["b", "body"];
|
|
|
3265
3265
|
function Nc(e) {
|
|
3266
3266
|
return Fe(e, Js);
|
|
3267
3267
|
}
|
|
3268
|
-
const
|
|
3268
|
+
const zs = ["c", "cases"];
|
|
3269
3269
|
function Oc(e) {
|
|
3270
|
-
return Fe(e,
|
|
3270
|
+
return Fe(e, zs, []);
|
|
3271
3271
|
}
|
|
3272
|
-
const
|
|
3272
|
+
const Qs = ["s", "static"];
|
|
3273
3273
|
function Sc(e) {
|
|
3274
|
-
return Fe(e,
|
|
3274
|
+
return Fe(e, Qs);
|
|
3275
3275
|
}
|
|
3276
3276
|
const Zs = ["i", "items"];
|
|
3277
3277
|
function Tc(e) {
|
|
@@ -3312,8 +3312,8 @@ function Fe(e, t, n) {
|
|
|
3312
3312
|
}
|
|
3313
3313
|
const so = [
|
|
3314
3314
|
...Js,
|
|
3315
|
-
...Qs,
|
|
3316
3315
|
...zs,
|
|
3316
|
+
...Qs,
|
|
3317
3317
|
...Zs,
|
|
3318
3318
|
...ro,
|
|
3319
3319
|
...no,
|
|
@@ -3825,7 +3825,7 @@ const le = {
|
|
|
3825
3825
|
CANNOT_FORMAT_DATE: 5,
|
|
3826
3826
|
FALLBACK_TO_DATE_FORMAT: 6,
|
|
3827
3827
|
EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7
|
|
3828
|
-
}, Jc = 8,
|
|
3828
|
+
}, Jc = 8, zc = {
|
|
3829
3829
|
[le.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
|
|
3830
3830
|
[le.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
|
|
3831
3831
|
[le.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
|
|
@@ -3835,14 +3835,14 @@ const le = {
|
|
|
3835
3835
|
[le.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]: "This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."
|
|
3836
3836
|
};
|
|
3837
3837
|
function Ke(e, ...t) {
|
|
3838
|
-
return nn(
|
|
3838
|
+
return nn(zc[e], ...t);
|
|
3839
3839
|
}
|
|
3840
|
-
const
|
|
3840
|
+
const Qc = "11.2.2", sn = -1, Wt = "en-US", qt = "", zr = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
3841
3841
|
function Zc() {
|
|
3842
3842
|
return {
|
|
3843
3843
|
upper: (e, t) => t === "text" && w(e) ? e.toUpperCase() : t === "vnode" && j(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
3844
3844
|
lower: (e, t) => t === "text" && w(e) ? e.toLowerCase() : t === "vnode" && j(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
3845
|
-
capitalize: (e, t) => t === "text" && w(e) ?
|
|
3845
|
+
capitalize: (e, t) => t === "text" && w(e) ? zr(e) : t === "vnode" && j(e) && "__v_isVNode" in e ? zr(e.children) : e
|
|
3846
3846
|
};
|
|
3847
3847
|
}
|
|
3848
3848
|
let io;
|
|
@@ -3862,12 +3862,12 @@ const rl = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
|
3862
3862
|
lo = e;
|
|
3863
3863
|
}, sl = /* @__NO_SIDE_EFFECTS__ */ () => lo;
|
|
3864
3864
|
let uo = null;
|
|
3865
|
-
const
|
|
3865
|
+
const Qr = (e) => {
|
|
3866
3866
|
uo = e;
|
|
3867
3867
|
}, ol = () => uo;
|
|
3868
3868
|
let Zr = 0;
|
|
3869
3869
|
function il(e = {}) {
|
|
3870
|
-
const t = G(e.onWarn) ? e.onWarn : Le, n = w(e.version) ? e.version :
|
|
3870
|
+
const t = G(e.onWarn) ? e.onWarn : Le, n = w(e.version) ? e.version : Qc, r = w(e.locale) || G(e.locale) ? e.locale : Wt, s = G(r) ? Wt : r, o = J(e.fallbackLocale) || $(e.fallbackLocale) || w(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, i = $(e.messages) ? e.messages : Tn(s), a = $(e.datetimeFormats) ? e.datetimeFormats : Tn(s), c = $(e.numberFormats) ? e.numberFormats : Tn(s), u = te(H(), e.modifiers, Zc()), l = e.pluralRules || H(), p = G(e.missing) ? e.missing : null, g = X(e.missingWarn) || Ht(e.missingWarn) ? e.missingWarn : !0, A = X(e.fallbackWarn) || Ht(e.fallbackWarn) ? e.fallbackWarn : !0, E = !!e.fallbackFormat, b = !!e.unresolving, S = G(e.postTranslation) ? e.postTranslation : null, m = $(e.processor) ? e.processor : null, N = X(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, T = !!e.escapeParameter, y = G(e.messageCompiler) ? e.messageCompiler : io;
|
|
3871
3871
|
process.env.NODE_ENV !== "production" && G(e.messageCompiler) && Da(Ke(le.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
3872
3872
|
const C = G(e.messageResolver) ? e.messageResolver : ao || Kc, R = G(e.localeFallbacker) ? e.localeFallbacker : co || Vc, _ = j(e.fallbackContext) ? e.fallbackContext : void 0, x = e, U = j(x.__datetimeFormatters) ? x.__datetimeFormatters : /* @__PURE__ */ new Map(), I = j(x.__numberFormatters) ? x.__numberFormatters : /* @__PURE__ */ new Map(), P = j(x.__meta) ? x.__meta : {};
|
|
3873
3873
|
Zr++;
|
|
@@ -4517,7 +4517,7 @@ function Rl(e = {}) {
|
|
|
4517
4517
|
const C = t ? t.modifiers : $(e.modifiers) ? e.modifiers : {};
|
|
4518
4518
|
let R = e.pluralRules || t && t.pluralRules, _;
|
|
4519
4519
|
_ = (() => {
|
|
4520
|
-
r &&
|
|
4520
|
+
r && Qr(null);
|
|
4521
4521
|
const O = {
|
|
4522
4522
|
version: Nl,
|
|
4523
4523
|
locale: a.value,
|
|
@@ -4539,7 +4539,7 @@ function Rl(e = {}) {
|
|
|
4539
4539
|
};
|
|
4540
4540
|
O.datetimeFormats = l.value, O.numberFormats = p.value, O.__datetimeFormatters = $(_) ? _.__datetimeFormatters : void 0, O.__numberFormatters = $(_) ? _.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (O.__v_emitter = $(_) ? _.__v_emitter : void 0);
|
|
4541
4541
|
const v = il(O);
|
|
4542
|
-
return r &&
|
|
4542
|
+
return r && Qr(v), v;
|
|
4543
4543
|
})(), ut(_, a.value, c.value);
|
|
4544
4544
|
function U() {
|
|
4545
4545
|
return [
|
|
@@ -4573,7 +4573,7 @@ function Rl(e = {}) {
|
|
|
4573
4573
|
function Z(O) {
|
|
4574
4574
|
O !== null && (m = ds(O)), S = O, _.missing = m;
|
|
4575
4575
|
}
|
|
4576
|
-
function
|
|
4576
|
+
function Q(O, v) {
|
|
4577
4577
|
return O !== "translate" || !v.resolvedMessage;
|
|
4578
4578
|
}
|
|
4579
4579
|
const _e = (O, v, B, K, Ve, Lt) => {
|
|
@@ -4587,7 +4587,7 @@ function Rl(e = {}) {
|
|
|
4587
4587
|
if (B !== "translate exists" && // for not `te` (e.g `t`)
|
|
4588
4588
|
ee(Je) && Je === sn || B === "translate exists" && !Je) {
|
|
4589
4589
|
const [$e, Ro] = v();
|
|
4590
|
-
if (process.env.NODE_ENV !== "production" && t && w($e) &&
|
|
4590
|
+
if (process.env.NODE_ENV !== "production" && t && w($e) && Q(B, Ro) && (E && (on(A, $e) || fo(g, $e)) && Le(Gt(Te.FALLBACK_TO_ROOT, {
|
|
4591
4591
|
key: $e,
|
|
4592
4592
|
type: B
|
|
4593
4593
|
})), process.env.NODE_ENV !== "production")) {
|
|
@@ -4953,7 +4953,7 @@ if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
|
4953
4953
|
}
|
|
4954
4954
|
process.env.NODE_ENV;
|
|
4955
4955
|
let Yt = null;
|
|
4956
|
-
function
|
|
4956
|
+
function cf(e) {
|
|
4957
4957
|
if (Yt !== null) {
|
|
4958
4958
|
console.warn(
|
|
4959
4959
|
"[LinID CoreLib] I18n has already been initialized. Re-initialization is ignored."
|
|
@@ -4999,7 +4999,7 @@ const jl = /* @__PURE__ */ new Set([
|
|
|
4999
4999
|
xr.NotFound
|
|
5000
5000
|
]);
|
|
5001
5001
|
function Bl(e) {
|
|
5002
|
-
return
|
|
5002
|
+
return z.isAxiosError(e) && e.response?.status != null && jl.has(e.response.status);
|
|
5003
5003
|
}
|
|
5004
5004
|
function Hl(e, t) {
|
|
5005
5005
|
const { t: n } = $l(`${e}.fields.${t}`);
|
|
@@ -5227,7 +5227,7 @@ var vo = (function(e) {
|
|
|
5227
5227
|
return r.isStopped = !1, n ? (r.destination = n, Ao(n) && n.add(r)) : r.destination = Xl, r;
|
|
5228
5228
|
}
|
|
5229
5229
|
return t.create = function(n, r, s) {
|
|
5230
|
-
return new
|
|
5230
|
+
return new zn(n, r, s);
|
|
5231
5231
|
}, t.prototype.next = function(n) {
|
|
5232
5232
|
this.isStopped || this._next(n);
|
|
5233
5233
|
}, t.prototype.error = function(n) {
|
|
@@ -5282,7 +5282,7 @@ var vo = (function(e) {
|
|
|
5282
5282
|
It(n);
|
|
5283
5283
|
}
|
|
5284
5284
|
}, e;
|
|
5285
|
-
})(),
|
|
5285
|
+
})(), zn = (function(e) {
|
|
5286
5286
|
cn(t, e);
|
|
5287
5287
|
function t(n, r, s) {
|
|
5288
5288
|
var o = e.call(this) || this, i;
|
|
@@ -5308,11 +5308,11 @@ var Xl = {
|
|
|
5308
5308
|
}, Jl = (function() {
|
|
5309
5309
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
5310
5310
|
})();
|
|
5311
|
-
function
|
|
5311
|
+
function zl(e) {
|
|
5312
5312
|
return e;
|
|
5313
5313
|
}
|
|
5314
|
-
function
|
|
5315
|
-
return e.length === 0 ?
|
|
5314
|
+
function Ql(e) {
|
|
5315
|
+
return e.length === 0 ? zl : e.length === 1 ? e[0] : function(n) {
|
|
5316
5316
|
return e.reduce(function(r, s) {
|
|
5317
5317
|
return s(r);
|
|
5318
5318
|
}, n);
|
|
@@ -5326,7 +5326,7 @@ var hs = (function() {
|
|
|
5326
5326
|
var n = new e();
|
|
5327
5327
|
return n.source = this, n.operator = t, n;
|
|
5328
5328
|
}, e.prototype.subscribe = function(t, n, r) {
|
|
5329
|
-
var s = this, o = eu(t) ? t : new
|
|
5329
|
+
var s = this, o = eu(t) ? t : new zn(t, n, r);
|
|
5330
5330
|
return Ft(function() {
|
|
5331
5331
|
var i = s, a = i.operator, c = i.source;
|
|
5332
5332
|
o.add(a ? a.call(o, c) : c ? s._subscribe(o) : s._trySubscribe(o));
|
|
@@ -5340,7 +5340,7 @@ var hs = (function() {
|
|
|
5340
5340
|
}, e.prototype.forEach = function(t, n) {
|
|
5341
5341
|
var r = this;
|
|
5342
5342
|
return n = Es(n), new n(function(s, o) {
|
|
5343
|
-
var i = new
|
|
5343
|
+
var i = new zn({
|
|
5344
5344
|
next: function(a) {
|
|
5345
5345
|
try {
|
|
5346
5346
|
t(a);
|
|
@@ -5361,7 +5361,7 @@ var hs = (function() {
|
|
|
5361
5361
|
}, e.prototype.pipe = function() {
|
|
5362
5362
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
5363
5363
|
t[n] = arguments[n];
|
|
5364
|
-
return
|
|
5364
|
+
return Ql(t)(this);
|
|
5365
5365
|
}, e.prototype.toPromise = function(t) {
|
|
5366
5366
|
var n = this;
|
|
5367
5367
|
return t = Es(t), new t(function(r, s) {
|
|
@@ -5492,7 +5492,7 @@ var tu = To(function(e) {
|
|
|
5492
5492
|
}, t;
|
|
5493
5493
|
})(Co);
|
|
5494
5494
|
const nu = new Co();
|
|
5495
|
-
function
|
|
5495
|
+
function lf() {
|
|
5496
5496
|
function e(t) {
|
|
5497
5497
|
nu.next({
|
|
5498
5498
|
key: "notify",
|
|
@@ -5501,7 +5501,7 @@ function af() {
|
|
|
5501
5501
|
}
|
|
5502
5502
|
return { Notify: e };
|
|
5503
5503
|
}
|
|
5504
|
-
function
|
|
5504
|
+
function uf() {
|
|
5505
5505
|
function e(n) {
|
|
5506
5506
|
return {
|
|
5507
5507
|
page: (n.page || 1) - 1,
|
|
@@ -5534,7 +5534,7 @@ function ru(e, t) {
|
|
|
5534
5534
|
pattern: (u) => (l) => c(l, u)
|
|
5535
5535
|
};
|
|
5536
5536
|
}
|
|
5537
|
-
function
|
|
5537
|
+
function ff(e, t, n) {
|
|
5538
5538
|
if (!t.hasValidations)
|
|
5539
5539
|
return [];
|
|
5540
5540
|
const { required: r, validateFromApi: s, ...o } = ru(e, t.name), i = n.filter((a) => t.inputSettings?.[a] != null).map(
|
|
@@ -5549,7 +5549,7 @@ function lf(e, t, n) {
|
|
|
5549
5549
|
];
|
|
5550
5550
|
}
|
|
5551
5551
|
let Kt = null;
|
|
5552
|
-
function
|
|
5552
|
+
function df(e) {
|
|
5553
5553
|
if (Kt !== null) {
|
|
5554
5554
|
console.warn(
|
|
5555
5555
|
"[LinID CoreLib] UI Design has already been initialized. Re-initialization is ignored."
|
|
@@ -5744,6 +5744,83 @@ const ou = [
|
|
|
5744
5744
|
"imgStyle",
|
|
5745
5745
|
"spinnerColor",
|
|
5746
5746
|
"spinnerSize"
|
|
5747
|
+
], Nu = [
|
|
5748
|
+
"autofocus",
|
|
5749
|
+
"stackLabel",
|
|
5750
|
+
"hideHint",
|
|
5751
|
+
"clearable",
|
|
5752
|
+
"clearIcon",
|
|
5753
|
+
"useChips",
|
|
5754
|
+
"labelColor",
|
|
5755
|
+
"color",
|
|
5756
|
+
"bgColor",
|
|
5757
|
+
"dark",
|
|
5758
|
+
"filled",
|
|
5759
|
+
"outlined",
|
|
5760
|
+
"borderless",
|
|
5761
|
+
"standout",
|
|
5762
|
+
"hideBottomSpace",
|
|
5763
|
+
"rounded",
|
|
5764
|
+
"square",
|
|
5765
|
+
"dense",
|
|
5766
|
+
"itemAligned",
|
|
5767
|
+
"inputClass",
|
|
5768
|
+
"inputStyle",
|
|
5769
|
+
"noErrorIcon"
|
|
5770
|
+
], Ou = [
|
|
5771
|
+
"virtualScrollHorizontal",
|
|
5772
|
+
"clearable",
|
|
5773
|
+
"autofocus",
|
|
5774
|
+
"hideDropdownIcon",
|
|
5775
|
+
"popupNoRouteDismiss",
|
|
5776
|
+
"fillInput",
|
|
5777
|
+
"transitionShow",
|
|
5778
|
+
"transitionHide",
|
|
5779
|
+
"transitionDuration",
|
|
5780
|
+
"behavior",
|
|
5781
|
+
"stackLabel",
|
|
5782
|
+
"hideHint",
|
|
5783
|
+
"clearIcon",
|
|
5784
|
+
"counter",
|
|
5785
|
+
"dropdownIcon",
|
|
5786
|
+
"useInput",
|
|
5787
|
+
"inputDebounce",
|
|
5788
|
+
"optionsDense",
|
|
5789
|
+
"optionsDark",
|
|
5790
|
+
"optionsSelectedClass",
|
|
5791
|
+
"optionsCover",
|
|
5792
|
+
"menuShrink",
|
|
5793
|
+
"disableTabSelection",
|
|
5794
|
+
"menuAnchor",
|
|
5795
|
+
"menuSelf",
|
|
5796
|
+
"menuOffset",
|
|
5797
|
+
"displayValueHtml",
|
|
5798
|
+
"hideSelected",
|
|
5799
|
+
"useChips",
|
|
5800
|
+
"labelColor",
|
|
5801
|
+
"color",
|
|
5802
|
+
"bgColor",
|
|
5803
|
+
"dark",
|
|
5804
|
+
"filled",
|
|
5805
|
+
"outlined",
|
|
5806
|
+
"borderless",
|
|
5807
|
+
"standout",
|
|
5808
|
+
"hideBottomSpace",
|
|
5809
|
+
"rounded",
|
|
5810
|
+
"square",
|
|
5811
|
+
"dense",
|
|
5812
|
+
"itemAligned",
|
|
5813
|
+
"popupContentClass",
|
|
5814
|
+
"popupContentStyle",
|
|
5815
|
+
"inputClass",
|
|
5816
|
+
"inputStyle",
|
|
5817
|
+
"noErrorIcon",
|
|
5818
|
+
"virtualScrollSliceSize",
|
|
5819
|
+
"virtualScrollSliceRatioBefore",
|
|
5820
|
+
"virtualScrollSliceRatioAfter",
|
|
5821
|
+
"virtualScrollItemSize",
|
|
5822
|
+
"virtualScrollStickySizeStart",
|
|
5823
|
+
"virtualScrollStickySizeEnd"
|
|
5747
5824
|
], bs = {
|
|
5748
5825
|
"q-btn": ou,
|
|
5749
5826
|
"q-tabs": iu,
|
|
@@ -5760,7 +5837,9 @@ const ou = [
|
|
|
5760
5837
|
"q-toggle": Eu,
|
|
5761
5838
|
"q-input": gu,
|
|
5762
5839
|
"q-date": bu,
|
|
5763
|
-
"q-img": yu
|
|
5840
|
+
"q-img": yu,
|
|
5841
|
+
"q-file": Nu,
|
|
5842
|
+
"q-select": Ou
|
|
5764
5843
|
};
|
|
5765
5844
|
function ys(e, t) {
|
|
5766
5845
|
return t.split(".").reduce((n, r) => {
|
|
@@ -5768,7 +5847,7 @@ function ys(e, t) {
|
|
|
5768
5847
|
return n[r];
|
|
5769
5848
|
}, e);
|
|
5770
5849
|
}
|
|
5771
|
-
function
|
|
5850
|
+
function Su(e, t, n) {
|
|
5772
5851
|
let r = ys(e, `${t}.${n}`);
|
|
5773
5852
|
if (r === void 0 && (r = ys(e, `default.${n}`)), typeof r == "object")
|
|
5774
5853
|
throw new Error(
|
|
@@ -5776,39 +5855,39 @@ function Nu(e, t, n) {
|
|
|
5776
5855
|
);
|
|
5777
5856
|
return r;
|
|
5778
5857
|
}
|
|
5779
|
-
function
|
|
5858
|
+
function Tu(e) {
|
|
5780
5859
|
if (!(e in bs))
|
|
5781
5860
|
throw new Error(
|
|
5782
5861
|
`[UiDesign] The component '${e}' is not supported for UI design retrieval.`
|
|
5783
5862
|
);
|
|
5784
5863
|
return bs[e];
|
|
5785
5864
|
}
|
|
5786
|
-
function
|
|
5865
|
+
function pf() {
|
|
5787
5866
|
const e = ke(() => su());
|
|
5788
5867
|
function t(n, r, s) {
|
|
5789
|
-
const o =
|
|
5868
|
+
const o = Tu(r), i = {};
|
|
5790
5869
|
for (const a of o) {
|
|
5791
|
-
const c = s?.[a] ??
|
|
5870
|
+
const c = s?.[a] ?? Su(e.value, n, `${r}.${String(a)}`);
|
|
5792
5871
|
c !== void 0 && (i[a] = c);
|
|
5793
5872
|
}
|
|
5794
5873
|
return i;
|
|
5795
5874
|
}
|
|
5796
5875
|
return { ui: t };
|
|
5797
5876
|
}
|
|
5798
|
-
async function
|
|
5877
|
+
async function Lu() {
|
|
5799
5878
|
return (await Ie().get("/metadata/entities")).data;
|
|
5800
5879
|
}
|
|
5801
|
-
async function
|
|
5880
|
+
async function mf(e) {
|
|
5802
5881
|
return (await Ie().get(
|
|
5803
5882
|
`/metadata/entities/${e}`
|
|
5804
5883
|
)).data;
|
|
5805
5884
|
}
|
|
5806
|
-
async function
|
|
5885
|
+
async function Au() {
|
|
5807
5886
|
return (await Ie().get(
|
|
5808
5887
|
"/metadata/routes"
|
|
5809
5888
|
)).data;
|
|
5810
5889
|
}
|
|
5811
|
-
const
|
|
5890
|
+
const _f = () => vu(er()), vu = /* @__PURE__ */ Zn("LinidConfigurationStore", {
|
|
5812
5891
|
state: () => ({
|
|
5813
5892
|
entities: [],
|
|
5814
5893
|
apiEndpoints: [],
|
|
@@ -5839,8 +5918,8 @@ const pf = () => Lu(er()), Lu = /* @__PURE__ */ Zn("LinidConfigurationStore", {
|
|
|
5839
5918
|
this.loading = !0, this.error = null;
|
|
5840
5919
|
try {
|
|
5841
5920
|
const [e, t] = await Promise.all([
|
|
5842
|
-
|
|
5843
|
-
|
|
5921
|
+
Lu(),
|
|
5922
|
+
Au()
|
|
5844
5923
|
]);
|
|
5845
5924
|
this.entities = e, this.apiEndpoints = t;
|
|
5846
5925
|
} catch (e) {
|
|
@@ -5850,7 +5929,7 @@ const pf = () => Lu(er()), Lu = /* @__PURE__ */ Zn("LinidConfigurationStore", {
|
|
|
5850
5929
|
}
|
|
5851
5930
|
}
|
|
5852
5931
|
}
|
|
5853
|
-
}),
|
|
5932
|
+
}), hf = () => Cu(er()), Cu = /* @__PURE__ */ Zn("LinidUiStore", {
|
|
5854
5933
|
state: () => ({
|
|
5855
5934
|
mainNavigationItems: []
|
|
5856
5935
|
}),
|
|
@@ -5864,15 +5943,15 @@ const pf = () => Lu(er()), Lu = /* @__PURE__ */ Zn("LinidConfigurationStore", {
|
|
|
5864
5943
|
}
|
|
5865
5944
|
}
|
|
5866
5945
|
});
|
|
5867
|
-
function
|
|
5946
|
+
function Ru(e, t) {
|
|
5868
5947
|
if (!Xt(e) || !Xt(t))
|
|
5869
5948
|
return t;
|
|
5870
5949
|
const n = { ...e };
|
|
5871
5950
|
for (const r of Object.keys(t))
|
|
5872
|
-
n[r] =
|
|
5951
|
+
n[r] = Ru(e[r], t[r]);
|
|
5873
5952
|
return n;
|
|
5874
5953
|
}
|
|
5875
|
-
function
|
|
5954
|
+
function Ef(e) {
|
|
5876
5955
|
const t = {};
|
|
5877
5956
|
for (const [n, r] of Object.entries(e)) {
|
|
5878
5957
|
const s = n.split(".");
|
|
@@ -5886,15 +5965,15 @@ function _f(e) {
|
|
|
5886
5965
|
function Xt(e) {
|
|
5887
5966
|
return typeof e == "object" && e !== null && !Array.isArray(e);
|
|
5888
5967
|
}
|
|
5889
|
-
function
|
|
5968
|
+
function Iu(e, t) {
|
|
5890
5969
|
return typeof e != "object" || e === null ? e : Object.fromEntries(
|
|
5891
5970
|
Object.entries(e).map(([n, r]) => {
|
|
5892
|
-
const s = t(n), o = Xt(r) ?
|
|
5971
|
+
const s = t(n), o = Xt(r) ? Iu(r, t) : r;
|
|
5893
5972
|
return [s, o];
|
|
5894
5973
|
})
|
|
5895
5974
|
);
|
|
5896
5975
|
}
|
|
5897
|
-
function
|
|
5976
|
+
function Pu(e, t) {
|
|
5898
5977
|
if (e === t || typeof e == "number" && typeof t == "number" && Number.isNaN(e) && Number.isNaN(t))
|
|
5899
5978
|
return !0;
|
|
5900
5979
|
if (e == null || t == null || typeof e != "object" || typeof t != "object" || Array.isArray(e) !== Array.isArray(t))
|
|
@@ -5904,11 +5983,11 @@ function Ru(e, t) {
|
|
|
5904
5983
|
return !1;
|
|
5905
5984
|
const s = e, o = t;
|
|
5906
5985
|
return n.every(
|
|
5907
|
-
(i) => Object.prototype.hasOwnProperty.call(o, i) &&
|
|
5986
|
+
(i) => Object.prototype.hasOwnProperty.call(o, i) && Pu(s[i], o[i])
|
|
5908
5987
|
);
|
|
5909
5988
|
}
|
|
5910
|
-
var
|
|
5911
|
-
class
|
|
5989
|
+
var wu = /* @__PURE__ */ ((e) => (e.SETUP = "setup", e.CONFIGURE = "configure", e.INITIALIZE = "initialize", e.READY = "ready", e.POST_INIT = "postInit", e))(wu || {});
|
|
5990
|
+
class gf {
|
|
5912
5991
|
/**
|
|
5913
5992
|
* Unique identifier for the module.
|
|
5914
5993
|
*
|
|
@@ -6012,17 +6091,17 @@ class hf {
|
|
|
6012
6091
|
}
|
|
6013
6092
|
}
|
|
6014
6093
|
export {
|
|
6015
|
-
|
|
6016
|
-
|
|
6017
|
-
|
|
6018
|
-
|
|
6019
|
-
|
|
6020
|
-
|
|
6021
|
-
|
|
6022
|
-
|
|
6023
|
-
|
|
6024
|
-
|
|
6025
|
-
|
|
6094
|
+
gf as BasicRemoteModule,
|
|
6095
|
+
Uu as LinidZoneRenderer,
|
|
6096
|
+
wu as ModuleLifecyclePhase,
|
|
6097
|
+
Pu as deepEqual,
|
|
6098
|
+
af as deleteEntityById,
|
|
6099
|
+
Ef as fromDot,
|
|
6100
|
+
Au as getApiEndpointsConfiguration,
|
|
6101
|
+
sf as getEntities,
|
|
6102
|
+
Lu as getEntitiesConfiguration,
|
|
6103
|
+
of as getEntityById,
|
|
6104
|
+
mf as getEntityConfiguration,
|
|
6026
6105
|
Ie as getHttpClient,
|
|
6027
6106
|
Vl as getI18nInstance,
|
|
6028
6107
|
Jo as getModuleFederation,
|
|
@@ -6030,26 +6109,26 @@ export {
|
|
|
6030
6109
|
er as getPiniaStore,
|
|
6031
6110
|
su as getUiDesign,
|
|
6032
6111
|
Xt as isObject,
|
|
6033
|
-
|
|
6034
|
-
|
|
6035
|
-
|
|
6036
|
-
|
|
6037
|
-
|
|
6038
|
-
|
|
6039
|
-
|
|
6040
|
-
|
|
6041
|
-
|
|
6042
|
-
|
|
6112
|
+
zo as loadAsyncComponent,
|
|
6113
|
+
Ru as merge,
|
|
6114
|
+
tf as registerModuleHostConfiguration,
|
|
6115
|
+
Iu as renameKeys,
|
|
6116
|
+
nf as saveEntity,
|
|
6117
|
+
ef as setHttpClient,
|
|
6118
|
+
cf as setI18nInstance,
|
|
6119
|
+
ku as setModuleFederation,
|
|
6120
|
+
Fu as setPiniaStore,
|
|
6121
|
+
df as setUiDesign,
|
|
6043
6122
|
nu as uiEventSubject,
|
|
6044
|
-
|
|
6123
|
+
rf as updateEntity,
|
|
6045
6124
|
Hl as useFieldValidation,
|
|
6046
|
-
|
|
6047
|
-
|
|
6125
|
+
_f as useLinidConfigurationStore,
|
|
6126
|
+
hf as useLinidUiStore,
|
|
6048
6127
|
ti as useLinidZoneStore,
|
|
6049
|
-
|
|
6050
|
-
|
|
6128
|
+
lf as useNotify,
|
|
6129
|
+
uf as usePagination,
|
|
6051
6130
|
ru as useQuasarFieldValidation,
|
|
6052
|
-
|
|
6131
|
+
ff as useQuasarRules,
|
|
6053
6132
|
$l as useScopedI18n,
|
|
6054
|
-
|
|
6133
|
+
pf as useUiDesign
|
|
6055
6134
|
};
|