@linagora/linid-im-front-corelib 0.0.43 → 0.0.44
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 +241 -170
- package/dist/core-lib.umd.js +12 -12
- 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 +43 -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 ko, hasInjectionContext as An, inject as Ft, getCurrentInstance as Fo, ref as Xt, reactive as Uo, markRaw as ft, effectScope as Mo, isRef as pt, isReactive as
|
|
2
|
+
import { defineAsyncComponent as ko, hasInjectionContext as An, inject as Ft, getCurrentInstance as Fo, ref as Xt, reactive as Uo, markRaw as ft, effectScope as Mo, isRef as pt, isReactive as zn, toRef as hn, toRaw as xo, nextTick as _r, getCurrentScope as Vo, onScopeDispose as $o, watch as vn, computed as ke, toRefs as hr, defineComponent as Jt, openBlock as En, createElementBlock as Er, Fragment as Ut, renderList as Bo, unref as gr, createBlock as jo, resolveDynamicComponent as Ho, mergeProps as Wo, renderSlot as qo, createCommentVNode as Go, onMounted as Os, onUnmounted as Ss, shallowRef as Yo, h as Ts, createVNode as Ko, Text as Xo } from "vue";
|
|
3
3
|
let Mt = null;
|
|
4
|
-
function
|
|
4
|
+
function $u(e) {
|
|
5
5
|
if (Mt !== 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 Mt;
|
|
19
19
|
}
|
|
20
|
-
const
|
|
20
|
+
const Qo = (e) => ko(
|
|
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 Ls(e, t) {
|
|
|
45
45
|
if (!(n in e))
|
|
46
46
|
continue;
|
|
47
47
|
const s = e[n];
|
|
48
|
-
qe(s) && qe(r) && !pt(r) && !
|
|
48
|
+
qe(s) && qe(r) && !pt(r) && !zn(r) ? e[n] = Ls(s, r) : e[n] = r;
|
|
49
49
|
}
|
|
50
50
|
return e;
|
|
51
51
|
}
|
|
@@ -58,19 +58,19 @@ function br(e, t, n, r = As) {
|
|
|
58
58
|
};
|
|
59
59
|
return !n && Vo() && $o(s), s;
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function Qe(e, ...t) {
|
|
62
62
|
e.forEach((n) => {
|
|
63
63
|
n(...t);
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
|
-
const
|
|
66
|
+
const zo = (e) => e(), yr = 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) && !pt(r) && !
|
|
73
|
+
qe(s) && qe(r) && e.hasOwnProperty(n) && !pt(r) && !zn(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, Qe(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
|
xt(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(z) {
|
|
157
|
+
ne.add(z);
|
|
158
158
|
}
|
|
159
|
-
function we(
|
|
160
|
-
be.add(
|
|
159
|
+
function we(z) {
|
|
160
|
+
be.add(z);
|
|
161
161
|
}
|
|
162
|
-
|
|
162
|
+
Qe(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 (z) {
|
|
173
|
+
throw Qe(be, z), z;
|
|
174
174
|
}
|
|
175
|
-
return Z instanceof Promise ? Z.then((
|
|
175
|
+
return Z instanceof Promise ? Z.then((z) => (Qe(ne, z), z)).catch((z) => (Qe(be, z), Promise.reject(z))) : (Qe(ne, Z), Z);
|
|
176
176
|
};
|
|
177
177
|
return k[yr] = !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 || zo)(() => r._e.run(() => (i = Mo()).run(() => t({ action: y }))));
|
|
213
213
|
for (const I in U) {
|
|
214
214
|
const P = U[I];
|
|
215
|
-
if (pt(P) && !Nr(P) ||
|
|
215
|
+
if (pt(P) && !Nr(P) || zn(P))
|
|
216
216
|
process.env.NODE_ENV !== "production" && s ? b.value[I] = hn(U, I) : o || (E && ei(P) && (pt(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 Vt = null;
|
|
328
|
-
function
|
|
328
|
+
function Bu(e) {
|
|
329
329
|
if (Vt !== null) {
|
|
330
330
|
console.warn(
|
|
331
331
|
"[LinID CoreLib] Pinia store has already been initialized. Re-initialization is ignored."
|
|
@@ -364,7 +364,7 @@ const ti = () => ni(er()), ni = /* @__PURE__ */ Zn("linidZoneStore", {
|
|
|
364
364
|
this.zones[e]?.some(({ plugin: n }) => n === t.plugin) || this.register(e, t);
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
}),
|
|
367
|
+
}), ju = /* @__PURE__ */ Jt({
|
|
368
368
|
__name: "LinidZoneRenderer",
|
|
369
369
|
props: {
|
|
370
370
|
zone: {}
|
|
@@ -373,7 +373,7 @@ const ti = () => ni(er()), ni = /* @__PURE__ */ Zn("linidZoneStore", {
|
|
|
373
373
|
const t = e, r = (ti().zones[t.zone] || []).map(
|
|
374
374
|
(s) => ({
|
|
375
375
|
...s,
|
|
376
|
-
component:
|
|
376
|
+
component: Qo(s.plugin)
|
|
377
377
|
})
|
|
378
378
|
);
|
|
379
379
|
return (s, o) => (En(), Er(Ut, null, [
|
|
@@ -389,10 +389,10 @@ function vs(e, t) {
|
|
|
389
389
|
return e.apply(t, arguments);
|
|
390
390
|
};
|
|
391
391
|
}
|
|
392
|
-
const { toString: ri } = Object.prototype, { getPrototypeOf: tr } = Object, { iterator:
|
|
392
|
+
const { toString: ri } = Object.prototype, { getPrototypeOf: tr } = Object, { iterator: Qt, toStringTag: Cs } = Symbol, zt = /* @__PURE__ */ ((e) => (t) => {
|
|
393
393
|
const n = ri.call(t);
|
|
394
394
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
395
|
-
})(/* @__PURE__ */ Object.create(null)), ge = (e) => (e = e.toLowerCase(), (t) =>
|
|
395
|
+
})(/* @__PURE__ */ Object.create(null)), ge = (e) => (e = e.toLowerCase(), (t) => zt(t) === e), Zt = (e) => (t) => typeof t === e, { isArray: nt } = Array, et = Zt("undefined");
|
|
396
396
|
function gt(e) {
|
|
397
397
|
return e !== null && !et(e) && e.constructor !== null && !et(e.constructor) && ue(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
398
398
|
}
|
|
@@ -402,10 +402,10 @@ function si(e) {
|
|
|
402
402
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Rs(e.buffer), t;
|
|
403
403
|
}
|
|
404
404
|
const oi = Zt("string"), ue = Zt("function"), Is = Zt("number"), bt = (e) => e !== null && typeof e == "object", ii = (e) => e === !0 || e === !1, It = (e) => {
|
|
405
|
-
if (
|
|
405
|
+
if (zt(e) !== "object")
|
|
406
406
|
return !1;
|
|
407
407
|
const t = tr(e);
|
|
408
|
-
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Cs in e) && !(
|
|
408
|
+
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Cs in e) && !(Qt in e);
|
|
409
409
|
}, ai = (e) => {
|
|
410
410
|
if (!bt(e) || gt(e))
|
|
411
411
|
return !1;
|
|
@@ -416,7 +416,7 @@ const oi = Zt("string"), ue = Zt("function"), Is = Zt("number"), bt = (e) => e !
|
|
|
416
416
|
}
|
|
417
417
|
}, ci = ge("Date"), li = ge("File"), ui = ge("Blob"), fi = ge("FileList"), di = (e) => bt(e) && ue(e.pipe), pi = (e) => {
|
|
418
418
|
let t;
|
|
419
|
-
return e && (typeof FormData == "function" && e instanceof FormData || ue(e.append) && ((t =
|
|
419
|
+
return e && (typeof FormData == "function" && e instanceof FormData || ue(e.append) && ((t = zt(e)) === "formdata" || // detect form-data instance
|
|
420
420
|
t === "object" && ue(e.toString) && e.toString() === "[object FormData]"));
|
|
421
421
|
}, 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, "");
|
|
422
422
|
function yt(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
@@ -486,7 +486,7 @@ const yi = (e, t, n, { allOwnKeys: r } = {}) => (yt(t, (s, o) => {
|
|
|
486
486
|
n[t] = e[t];
|
|
487
487
|
return n;
|
|
488
488
|
}, Ai = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && tr(Uint8Array)), vi = (e, t) => {
|
|
489
|
-
const r = (e && e[
|
|
489
|
+
const r = (e && e[Qt]).call(e);
|
|
490
490
|
let s;
|
|
491
491
|
for (; (s = r.next()) && !s.done; ) {
|
|
492
492
|
const o = s.value;
|
|
@@ -534,7 +534,7 @@ const yi = (e, t, n, { allOwnKeys: r } = {}) => (yt(t, (s, o) => {
|
|
|
534
534
|
}, ki = () => {
|
|
535
535
|
}, Fi = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
536
536
|
function Ui(e) {
|
|
537
|
-
return !!(e && ue(e.append) && e[Cs] === "FormData" && e[
|
|
537
|
+
return !!(e && ue(e.append) && e[Cs] === "FormData" && e[Qt]);
|
|
538
538
|
}
|
|
539
539
|
const Mi = (e) => {
|
|
540
540
|
const t = new Array(10), n = (r, s) => {
|
|
@@ -562,7 +562,7 @@ const Mi = (e) => {
|
|
|
562
562
|
}))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
|
|
563
563
|
typeof setImmediate == "function",
|
|
564
564
|
ue(je.postMessage)
|
|
565
|
-
), $i = typeof queueMicrotask < "u" ? queueMicrotask.bind(je) : typeof process < "u" && process.nextTick || ks, Bi = (e) => e != null && ue(e[
|
|
565
|
+
), $i = typeof queueMicrotask < "u" ? queueMicrotask.bind(je) : typeof process < "u" && process.nextTick || ks, Bi = (e) => e != null && ue(e[Qt]), h = {
|
|
566
566
|
isArray: nt,
|
|
567
567
|
isArrayBuffer: Rs,
|
|
568
568
|
isBuffer: gt,
|
|
@@ -595,7 +595,7 @@ const Mi = (e) => {
|
|
|
595
595
|
stripBOM: Ni,
|
|
596
596
|
inherits: Oi,
|
|
597
597
|
toFlatObject: Si,
|
|
598
|
-
kindOf:
|
|
598
|
+
kindOf: zt,
|
|
599
599
|
kindOfTest: ge,
|
|
600
600
|
endsWith: Ti,
|
|
601
601
|
toArray: Li,
|
|
@@ -868,14 +868,14 @@ const $s = {
|
|
|
868
868
|
Blob: Ki
|
|
869
869
|
},
|
|
870
870
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
871
|
-
}, rr = typeof window < "u" && typeof document < "u", Dn = typeof navigator == "object" && navigator || void 0, Ji = rr && (!Dn || ["ReactNative", "NativeScript", "NS"].indexOf(Dn.product) < 0),
|
|
872
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function",
|
|
871
|
+
}, rr = typeof window < "u" && typeof document < "u", Dn = typeof navigator == "object" && navigator || void 0, Ji = rr && (!Dn || ["ReactNative", "NativeScript", "NS"].indexOf(Dn.product) < 0), Qi = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
872
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", zi = rr && window.location.href || "http://localhost", Zi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
873
873
|
__proto__: null,
|
|
874
874
|
hasBrowserEnv: rr,
|
|
875
875
|
hasStandardBrowserEnv: Ji,
|
|
876
|
-
hasStandardBrowserWebWorkerEnv:
|
|
876
|
+
hasStandardBrowserWebWorkerEnv: Qi,
|
|
877
877
|
navigator: Dn,
|
|
878
|
-
origin:
|
|
878
|
+
origin: zi
|
|
879
879
|
}, Symbol.toStringTag, { value: "Module" })), ae = {
|
|
880
880
|
...Zi,
|
|
881
881
|
...Xi
|
|
@@ -1651,8 +1651,8 @@ const qs = (e) => {
|
|
|
1651
1651
|
};
|
|
1652
1652
|
W = o && new n(b, we);
|
|
1653
1653
|
let Z = await (o ? P(W, I) : P(b, we));
|
|
1654
|
-
const
|
|
1655
|
-
if (l && (C ||
|
|
1654
|
+
const z = l && (_ === "stream" || _ === "response");
|
|
1655
|
+
if (l && (C || z && ne)) {
|
|
1656
1656
|
const ce = {};
|
|
1657
1657
|
["status", "statusText", "headers"].forEach((Xe) => {
|
|
1658
1658
|
ce[Xe] = Z[Xe];
|
|
@@ -1670,7 +1670,7 @@ const qs = (e) => {
|
|
|
1670
1670
|
}
|
|
1671
1671
|
_ = _ || "text";
|
|
1672
1672
|
let _e = await p[h.findKey(p, _) || "text"](Z, E);
|
|
1673
|
-
return !
|
|
1673
|
+
return !z && ne && ne(), await new Promise((ce, ye) => {
|
|
1674
1674
|
Hs(ce, ye, {
|
|
1675
1675
|
data: _e,
|
|
1676
1676
|
headers: fe.from(Z.headers),
|
|
@@ -2115,46 +2115,46 @@ function Js(e) {
|
|
|
2115
2115
|
return Js(Ge(e, s));
|
|
2116
2116
|
}, n;
|
|
2117
2117
|
}
|
|
2118
|
-
const
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2118
|
+
const Q = Js(Nt);
|
|
2119
|
+
Q.Axios = We;
|
|
2120
|
+
Q.CanceledError = rt;
|
|
2121
|
+
Q.CancelToken = Ra;
|
|
2122
|
+
Q.isCancel = js;
|
|
2123
|
+
Q.VERSION = Ks;
|
|
2124
|
+
Q.toFormData = en;
|
|
2125
|
+
Q.AxiosError = M;
|
|
2126
|
+
Q.Cancel = Q.CanceledError;
|
|
2127
|
+
Q.all = function(t) {
|
|
2128
2128
|
return Promise.all(t);
|
|
2129
2129
|
};
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2130
|
+
Q.spread = Ia;
|
|
2131
|
+
Q.isAxiosError = Pa;
|
|
2132
|
+
Q.mergeConfig = Ge;
|
|
2133
|
+
Q.AxiosHeaders = fe;
|
|
2134
|
+
Q.formToJSON = (e) => Bs(h.isHTMLForm(e) ? new FormData(e) : e);
|
|
2135
|
+
Q.getAdapter = Ys.getAdapter;
|
|
2136
|
+
Q.HttpStatusCode = kn;
|
|
2137
|
+
Q.default = Q;
|
|
2138
2138
|
const {
|
|
2139
|
-
Axios:
|
|
2140
|
-
AxiosError:
|
|
2141
|
-
CanceledError:
|
|
2142
|
-
isCancel:
|
|
2143
|
-
CancelToken:
|
|
2144
|
-
VERSION:
|
|
2145
|
-
all:
|
|
2146
|
-
Cancel:
|
|
2147
|
-
isAxiosError:
|
|
2148
|
-
spread:
|
|
2149
|
-
toFormData:
|
|
2150
|
-
AxiosHeaders:
|
|
2139
|
+
Axios: qu,
|
|
2140
|
+
AxiosError: Gu,
|
|
2141
|
+
CanceledError: Yu,
|
|
2142
|
+
isCancel: Ku,
|
|
2143
|
+
CancelToken: Xu,
|
|
2144
|
+
VERSION: Ju,
|
|
2145
|
+
all: Qu,
|
|
2146
|
+
Cancel: zu,
|
|
2147
|
+
isAxiosError: Zu,
|
|
2148
|
+
spread: ef,
|
|
2149
|
+
toFormData: tf,
|
|
2150
|
+
AxiosHeaders: nf,
|
|
2151
2151
|
HttpStatusCode: Vr,
|
|
2152
|
-
formToJSON:
|
|
2153
|
-
getAdapter:
|
|
2154
|
-
mergeConfig:
|
|
2155
|
-
} =
|
|
2152
|
+
formToJSON: rf,
|
|
2153
|
+
getAdapter: sf,
|
|
2154
|
+
mergeConfig: of
|
|
2155
|
+
} = Q;
|
|
2156
2156
|
let Bt = null;
|
|
2157
|
-
function
|
|
2157
|
+
function af(e) {
|
|
2158
2158
|
if (Bt !== null) {
|
|
2159
2159
|
console.warn(
|
|
2160
2160
|
"[LinID CoreLib] HTTP client has already been initialized. Re-initialization is ignored."
|
|
@@ -2170,37 +2170,37 @@ function Ie() {
|
|
|
2170
2170
|
);
|
|
2171
2171
|
return Bt;
|
|
2172
2172
|
}
|
|
2173
|
-
const
|
|
2174
|
-
function
|
|
2175
|
-
|
|
2173
|
+
const Qs = /* @__PURE__ */ new Map();
|
|
2174
|
+
function cf(e) {
|
|
2175
|
+
Qs.set(e.instanceId, e);
|
|
2176
2176
|
}
|
|
2177
2177
|
function st(e) {
|
|
2178
|
-
const t =
|
|
2178
|
+
const t = Qs.get(e);
|
|
2179
2179
|
if (!t)
|
|
2180
2180
|
throw new Error(
|
|
2181
2181
|
`[LinID CoreLib] No module host configuration found for instanceId: ${e}`
|
|
2182
2182
|
);
|
|
2183
2183
|
return t;
|
|
2184
2184
|
}
|
|
2185
|
-
async function
|
|
2185
|
+
async function lf(e, t) {
|
|
2186
2186
|
const n = st(e);
|
|
2187
2187
|
return Ie().post(`/${n.apiEndpoint}`, t).then(({ data: r }) => r);
|
|
2188
2188
|
}
|
|
2189
|
-
async function
|
|
2189
|
+
async function uf(e, t, n) {
|
|
2190
2190
|
const r = st(e);
|
|
2191
2191
|
return Ie().put(`/${r.apiEndpoint}/${t}`, n).then(({ data: s }) => s);
|
|
2192
2192
|
}
|
|
2193
|
-
async function
|
|
2193
|
+
async function ff(e, t, n) {
|
|
2194
2194
|
const r = st(e);
|
|
2195
2195
|
return Ie().get(`/${r.apiEndpoint}`, {
|
|
2196
2196
|
params: { ...t, ...n }
|
|
2197
2197
|
}).then(({ data: s }) => s);
|
|
2198
2198
|
}
|
|
2199
|
-
async function
|
|
2199
|
+
async function df(e, t) {
|
|
2200
2200
|
const n = st(e);
|
|
2201
2201
|
return Ie().get(`/${n.apiEndpoint}/${t}`).then(({ data: r }) => r);
|
|
2202
2202
|
}
|
|
2203
|
-
async function
|
|
2203
|
+
async function pf(e, t) {
|
|
2204
2204
|
const n = st(e);
|
|
2205
2205
|
return Ie().delete(`/${n.apiEndpoint}/${t}`);
|
|
2206
2206
|
}
|
|
@@ -2257,7 +2257,7 @@ const $a = Object.prototype.hasOwnProperty;
|
|
|
2257
2257
|
function he(e, t) {
|
|
2258
2258
|
return $a.call(e, t);
|
|
2259
2259
|
}
|
|
2260
|
-
const J = Array.isArray, G = (e) => typeof e == "function", w = (e) => typeof e == "string", X = (e) => typeof e == "boolean", B = (e) => e !== null && typeof e == "object", Ba = (e) => B(e) && G(e.then) && G(e.catch),
|
|
2260
|
+
const J = Array.isArray, G = (e) => typeof e == "function", w = (e) => typeof e == "string", X = (e) => typeof e == "boolean", B = (e) => e !== null && typeof e == "object", Ba = (e) => B(e) && G(e.then) && G(e.catch), zs = Object.prototype.toString, or = (e) => zs.call(e), $ = (e) => or(e) === "[object Object]", ja = (e) => e == null ? "" : J(e) || $(e) && e.toString === zs ? JSON.stringify(e, null, 2) : String(e);
|
|
2261
2261
|
function ir(e, t = "") {
|
|
2262
2262
|
return e.reduce((n, r, s) => s === 0 ? n + r : n + t + r, "");
|
|
2263
2263
|
}
|
|
@@ -2375,12 +2375,12 @@ function ot(e, t, n = {}) {
|
|
|
2375
2375
|
function Ka(e) {
|
|
2376
2376
|
throw e;
|
|
2377
2377
|
}
|
|
2378
|
-
const Xa = /<\/?[\w\s="/.':;#-\/]+>/, Ja = (e) => Xa.test(e), Oe = " ",
|
|
2379
|
-
`,
|
|
2378
|
+
const Xa = /<\/?[\w\s="/.':;#-\/]+>/, Ja = (e) => Xa.test(e), Oe = " ", Qa = "\r", oe = `
|
|
2379
|
+
`, za = "\u2028", Za = "\u2029";
|
|
2380
2380
|
function ec(e) {
|
|
2381
2381
|
const t = e;
|
|
2382
2382
|
let n = 0, r = 1, s = 1, o = 0;
|
|
2383
|
-
const i = (_) => t[_] ===
|
|
2383
|
+
const i = (_) => t[_] === Qa && t[_ + 1] === oe, a = (_) => t[_] === oe, c = (_) => t[_] === Za, u = (_) => t[_] === za, 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);
|
|
2384
2384
|
function N() {
|
|
2385
2385
|
return o = 0, l(n) && (r++, s = 0), i(n) && n++, n++, s++, t[n];
|
|
2386
2386
|
}
|
|
@@ -2580,14 +2580,14 @@ function rc(e, t = {}) {
|
|
|
2580
2580
|
function Z(f) {
|
|
2581
2581
|
return k(f, we);
|
|
2582
2582
|
}
|
|
2583
|
-
function
|
|
2583
|
+
function z(f) {
|
|
2584
2584
|
const d = f.charCodeAt(0);
|
|
2585
2585
|
return d >= 48 && d <= 57 || // 0-9
|
|
2586
2586
|
d >= 65 && d <= 70 || // A-F
|
|
2587
2587
|
d >= 97 && d <= 102;
|
|
2588
2588
|
}
|
|
2589
2589
|
function _e(f) {
|
|
2590
|
-
return k(f,
|
|
2590
|
+
return k(f, z);
|
|
2591
2591
|
}
|
|
2592
2592
|
function ce(f) {
|
|
2593
2593
|
let d = "", L = "";
|
|
@@ -3053,24 +3053,24 @@ function Yr(e) {
|
|
|
3053
3053
|
}
|
|
3054
3054
|
}
|
|
3055
3055
|
const fc = "minifier";
|
|
3056
|
-
function
|
|
3056
|
+
function ze(e) {
|
|
3057
3057
|
switch (e.t = e.type, e.type) {
|
|
3058
3058
|
case 0: {
|
|
3059
3059
|
const t = e;
|
|
3060
|
-
|
|
3060
|
+
ze(t.body), t.b = t.body, delete t.body;
|
|
3061
3061
|
break;
|
|
3062
3062
|
}
|
|
3063
3063
|
case 1: {
|
|
3064
3064
|
const t = e, n = t.cases;
|
|
3065
3065
|
for (let r = 0; r < n.length; r++)
|
|
3066
|
-
|
|
3066
|
+
ze(n[r]);
|
|
3067
3067
|
t.c = n, delete t.cases;
|
|
3068
3068
|
break;
|
|
3069
3069
|
}
|
|
3070
3070
|
case 2: {
|
|
3071
3071
|
const t = e, n = t.items;
|
|
3072
3072
|
for (let r = 0; r < n.length; r++)
|
|
3073
|
-
|
|
3073
|
+
ze(n[r]);
|
|
3074
3074
|
t.i = n, delete t.items, t.static && (t.s = t.static, delete t.static);
|
|
3075
3075
|
break;
|
|
3076
3076
|
}
|
|
@@ -3084,7 +3084,7 @@ function Qe(e) {
|
|
|
3084
3084
|
}
|
|
3085
3085
|
case 6: {
|
|
3086
3086
|
const t = e;
|
|
3087
|
-
|
|
3087
|
+
ze(t.key), t.k = t.key, delete t.key, t.modifier && (ze(t.modifier), t.m = t.modifier, delete t.modifier);
|
|
3088
3088
|
break;
|
|
3089
3089
|
}
|
|
3090
3090
|
case 5: {
|
|
@@ -3256,7 +3256,7 @@ const gc = (e, t = {}) => {
|
|
|
3256
3256
|
};
|
|
3257
3257
|
function bc(e, t = {}) {
|
|
3258
3258
|
const n = te({}, t), r = !!n.jit, s = !!n.minify, o = n.optimize == null ? !0 : n.optimize, a = ac(n).parse(e);
|
|
3259
|
-
return r ? (o && uc(a), s &&
|
|
3259
|
+
return r ? (o && uc(a), s && ze(a), { ast: a, code: "" }) : (lc(a, n), gc(a, n));
|
|
3260
3260
|
}
|
|
3261
3261
|
function yc() {
|
|
3262
3262
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (He().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (He().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
@@ -3797,15 +3797,15 @@ function Yc(e) {
|
|
|
3797
3797
|
return t;
|
|
3798
3798
|
}
|
|
3799
3799
|
}
|
|
3800
|
-
const
|
|
3800
|
+
const Qr = /* @__PURE__ */ new Map();
|
|
3801
3801
|
function Kc(e, t) {
|
|
3802
3802
|
return B(e) ? e[t] : null;
|
|
3803
3803
|
}
|
|
3804
3804
|
function Xc(e, t) {
|
|
3805
3805
|
if (!B(e))
|
|
3806
3806
|
return null;
|
|
3807
|
-
let n =
|
|
3808
|
-
if (n || (n = Yc(t), n &&
|
|
3807
|
+
let n = Qr.get(t);
|
|
3808
|
+
if (n || (n = Yc(t), n && Qr.set(t, n)), !n)
|
|
3809
3809
|
return null;
|
|
3810
3810
|
const r = n.length;
|
|
3811
3811
|
let s = e, o = 0;
|
|
@@ -3828,7 +3828,7 @@ const le = {
|
|
|
3828
3828
|
CANNOT_FORMAT_DATE: 5,
|
|
3829
3829
|
FALLBACK_TO_DATE_FORMAT: 6,
|
|
3830
3830
|
EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER: 7
|
|
3831
|
-
}, Jc = 8,
|
|
3831
|
+
}, Jc = 8, Qc = {
|
|
3832
3832
|
[le.NOT_FOUND_KEY]: "Not found '{key}' key in '{locale}' locale messages.",
|
|
3833
3833
|
[le.FALLBACK_TO_TRANSLATE]: "Fall back to translate '{key}' key with '{target}' locale.",
|
|
3834
3834
|
[le.CANNOT_FORMAT_NUMBER]: "Cannot format a number value due to not supported Intl.NumberFormat.",
|
|
@@ -3838,14 +3838,14 @@ const le = {
|
|
|
3838
3838
|
[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."
|
|
3839
3839
|
};
|
|
3840
3840
|
function Ke(e, ...t) {
|
|
3841
|
-
return nn(
|
|
3841
|
+
return nn(Qc[e], ...t);
|
|
3842
3842
|
}
|
|
3843
|
-
const
|
|
3843
|
+
const zc = "11.2.2", sn = -1, Ht = "en-US", Wt = "", zr = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
3844
3844
|
function Zc() {
|
|
3845
3845
|
return {
|
|
3846
3846
|
upper: (e, t) => t === "text" && w(e) ? e.toUpperCase() : t === "vnode" && B(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
3847
3847
|
lower: (e, t) => t === "text" && w(e) ? e.toLowerCase() : t === "vnode" && B(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
3848
|
-
capitalize: (e, t) => t === "text" && w(e) ?
|
|
3848
|
+
capitalize: (e, t) => t === "text" && w(e) ? zr(e) : t === "vnode" && B(e) && "__v_isVNode" in e ? zr(e.children) : e
|
|
3849
3849
|
};
|
|
3850
3850
|
}
|
|
3851
3851
|
let lo;
|
|
@@ -3870,7 +3870,7 @@ const Zr = (e) => {
|
|
|
3870
3870
|
}, ol = () => mo;
|
|
3871
3871
|
let es = 0;
|
|
3872
3872
|
function il(e = {}) {
|
|
3873
|
-
const t = G(e.onWarn) ? e.onWarn : Le, n = w(e.version) ? e.version :
|
|
3873
|
+
const t = G(e.onWarn) ? e.onWarn : Le, n = w(e.version) ? e.version : zc, r = w(e.locale) || G(e.locale) ? e.locale : Ht, s = G(r) ? Ht : 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) || jt(e.missingWarn) ? e.missingWarn : !0, A = X(e.fallbackWarn) || jt(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 : lo;
|
|
3874
3874
|
process.env.NODE_ENV !== "production" && G(e.messageCompiler) && Da(Ke(le.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
3875
3875
|
const C = G(e.messageResolver) ? e.messageResolver : uo || Kc, R = G(e.localeFallbacker) ? e.localeFallbacker : fo || Vc, _ = B(e.fallbackContext) ? e.fallbackContext : void 0, x = e, U = B(x.__datetimeFormatters) ? x.__datetimeFormatters : /* @__PURE__ */ new Map(), I = B(x.__numberFormatters) ? x.__numberFormatters : /* @__PURE__ */ new Map(), P = B(x.__meta) ? x.__meta : {};
|
|
3876
3876
|
es++;
|
|
@@ -4576,7 +4576,7 @@ function Rl(e = {}) {
|
|
|
4576
4576
|
function Z(O) {
|
|
4577
4577
|
O !== null && (m = ps(O)), S = O, _.missing = m;
|
|
4578
4578
|
}
|
|
4579
|
-
function
|
|
4579
|
+
function z(O, v) {
|
|
4580
4580
|
return O !== "translate" || !v.resolvedMessage;
|
|
4581
4581
|
}
|
|
4582
4582
|
const _e = (O, v, j, K, Ve, Tt) => {
|
|
@@ -4590,7 +4590,7 @@ function Rl(e = {}) {
|
|
|
4590
4590
|
if (j !== "translate exists" && // for not `te` (e.g `t`)
|
|
4591
4591
|
ee(Je) && Je === sn || j === "translate exists" && !Je) {
|
|
4592
4592
|
const [$e, Do] = v();
|
|
4593
|
-
if (process.env.NODE_ENV !== "production" && t && w($e) &&
|
|
4593
|
+
if (process.env.NODE_ENV !== "production" && t && w($e) && z(j, Do) && (E && (on(A, $e) || _o(g, $e)) && Le(qt(Te.FALLBACK_TO_ROOT, {
|
|
4594
4594
|
key: $e,
|
|
4595
4595
|
type: j
|
|
4596
4596
|
})), process.env.NODE_ENV !== "production")) {
|
|
@@ -4956,7 +4956,7 @@ if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
|
4956
4956
|
}
|
|
4957
4957
|
process.env.NODE_ENV;
|
|
4958
4958
|
let Gt = null;
|
|
4959
|
-
function
|
|
4959
|
+
function mf(e) {
|
|
4960
4960
|
if (Gt !== null) {
|
|
4961
4961
|
console.warn(
|
|
4962
4962
|
"[LinID CoreLib] I18n has already been initialized. Re-initialization is ignored."
|
|
@@ -5002,7 +5002,7 @@ const Bl = /* @__PURE__ */ new Set([
|
|
|
5002
5002
|
Vr.NotFound
|
|
5003
5003
|
]);
|
|
5004
5004
|
function jl(e) {
|
|
5005
|
-
return
|
|
5005
|
+
return Q.isAxiosError(e) && e.response?.status != null && Bl.has(e.response.status);
|
|
5006
5006
|
}
|
|
5007
5007
|
function Hl(e, t) {
|
|
5008
5008
|
const { t: n } = $l(`${e}.fields.${t}`);
|
|
@@ -5230,7 +5230,7 @@ var Io = (function(e) {
|
|
|
5230
5230
|
return r.isStopped = !1, n ? (r.destination = n, Ro(n) && n.add(r)) : r.destination = Xl, r;
|
|
5231
5231
|
}
|
|
5232
5232
|
return t.create = function(n, r, s) {
|
|
5233
|
-
return new
|
|
5233
|
+
return new Qn(n, r, s);
|
|
5234
5234
|
}, t.prototype.next = function(n) {
|
|
5235
5235
|
this.isStopped || this._next(n);
|
|
5236
5236
|
}, t.prototype.error = function(n) {
|
|
@@ -5285,7 +5285,7 @@ var Io = (function(e) {
|
|
|
5285
5285
|
Rt(n);
|
|
5286
5286
|
}
|
|
5287
5287
|
}, e;
|
|
5288
|
-
})(),
|
|
5288
|
+
})(), Qn = (function(e) {
|
|
5289
5289
|
cn(t, e);
|
|
5290
5290
|
function t(n, r, s) {
|
|
5291
5291
|
var o = e.call(this) || this, i;
|
|
@@ -5311,11 +5311,11 @@ var Xl = {
|
|
|
5311
5311
|
}, Jl = (function() {
|
|
5312
5312
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
5313
5313
|
})();
|
|
5314
|
-
function
|
|
5314
|
+
function Ql(e) {
|
|
5315
5315
|
return e;
|
|
5316
5316
|
}
|
|
5317
|
-
function
|
|
5318
|
-
return e.length === 0 ?
|
|
5317
|
+
function zl(e) {
|
|
5318
|
+
return e.length === 0 ? Ql : e.length === 1 ? e[0] : function(n) {
|
|
5319
5319
|
return e.reduce(function(r, s) {
|
|
5320
5320
|
return s(r);
|
|
5321
5321
|
}, n);
|
|
@@ -5329,7 +5329,7 @@ var Es = (function() {
|
|
|
5329
5329
|
var n = new e();
|
|
5330
5330
|
return n.source = this, n.operator = t, n;
|
|
5331
5331
|
}, e.prototype.subscribe = function(t, n, r) {
|
|
5332
|
-
var s = this, o = eu(t) ? t : new
|
|
5332
|
+
var s = this, o = eu(t) ? t : new Qn(t, n, r);
|
|
5333
5333
|
return kt(function() {
|
|
5334
5334
|
var i = s, a = i.operator, c = i.source;
|
|
5335
5335
|
o.add(a ? a.call(o, c) : c ? s._subscribe(o) : s._trySubscribe(o));
|
|
@@ -5343,7 +5343,7 @@ var Es = (function() {
|
|
|
5343
5343
|
}, e.prototype.forEach = function(t, n) {
|
|
5344
5344
|
var r = this;
|
|
5345
5345
|
return n = gs(n), new n(function(s, o) {
|
|
5346
|
-
var i = new
|
|
5346
|
+
var i = new Qn({
|
|
5347
5347
|
next: function(a) {
|
|
5348
5348
|
try {
|
|
5349
5349
|
t(a);
|
|
@@ -5364,7 +5364,7 @@ var Es = (function() {
|
|
|
5364
5364
|
}, e.prototype.pipe = function() {
|
|
5365
5365
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
5366
5366
|
t[n] = arguments[n];
|
|
5367
|
-
return
|
|
5367
|
+
return zl(t)(this);
|
|
5368
5368
|
}, e.prototype.toPromise = function(t) {
|
|
5369
5369
|
var n = this;
|
|
5370
5370
|
return t = gs(t), new t(function(r, s) {
|
|
@@ -5495,7 +5495,7 @@ var tu = vo(function(e) {
|
|
|
5495
5495
|
}, t;
|
|
5496
5496
|
})(Po);
|
|
5497
5497
|
const wo = new Po();
|
|
5498
|
-
function
|
|
5498
|
+
function _f() {
|
|
5499
5499
|
function e(t) {
|
|
5500
5500
|
wo.next({
|
|
5501
5501
|
key: "notify",
|
|
@@ -5504,7 +5504,7 @@ function uf() {
|
|
|
5504
5504
|
}
|
|
5505
5505
|
return { Notify: e };
|
|
5506
5506
|
}
|
|
5507
|
-
function
|
|
5507
|
+
function hf(e, t) {
|
|
5508
5508
|
const n = Xt(!1);
|
|
5509
5509
|
let r;
|
|
5510
5510
|
function s(o) {
|
|
@@ -5523,7 +5523,7 @@ function ff(e, t) {
|
|
|
5523
5523
|
r?.unsubscribe();
|
|
5524
5524
|
}), { show: n };
|
|
5525
5525
|
}
|
|
5526
|
-
function
|
|
5526
|
+
function Ef() {
|
|
5527
5527
|
function e(n) {
|
|
5528
5528
|
return {
|
|
5529
5529
|
page: (n.page || 1) - 1,
|
|
@@ -5556,7 +5556,7 @@ function nu(e, t) {
|
|
|
5556
5556
|
pattern: (u) => (l) => c(l, u)
|
|
5557
5557
|
};
|
|
5558
5558
|
}
|
|
5559
|
-
function
|
|
5559
|
+
function gf(e, t, n) {
|
|
5560
5560
|
if (!t.hasValidations)
|
|
5561
5561
|
return [];
|
|
5562
5562
|
const { required: r, validateFromApi: s, ...o } = nu(e, t.name), i = n.filter((a) => t.inputSettings?.[a] != null).map(
|
|
@@ -5571,7 +5571,7 @@ function pf(e, t, n) {
|
|
|
5571
5571
|
];
|
|
5572
5572
|
}
|
|
5573
5573
|
let Yt = null;
|
|
5574
|
-
function
|
|
5574
|
+
function bf(e) {
|
|
5575
5575
|
if (Yt !== null) {
|
|
5576
5576
|
console.warn(
|
|
5577
5577
|
"[LinID CoreLib] UI Design has already been initialized. Re-initialization is ignored."
|
|
@@ -5863,7 +5863,73 @@ const su = [
|
|
|
5863
5863
|
"transitionShow",
|
|
5864
5864
|
"transitionHide",
|
|
5865
5865
|
"transitionDuration"
|
|
5866
|
-
], Su = ["size", "color", "thickness"],
|
|
5866
|
+
], Su = ["size", "color", "thickness"], Tu = [
|
|
5867
|
+
"split",
|
|
5868
|
+
"disableMainBtn",
|
|
5869
|
+
"disableDropdown",
|
|
5870
|
+
"persistent",
|
|
5871
|
+
"noEscDismiss",
|
|
5872
|
+
"noRouteDismiss",
|
|
5873
|
+
"autoClose",
|
|
5874
|
+
"noRefocus",
|
|
5875
|
+
"noFocus",
|
|
5876
|
+
"icon",
|
|
5877
|
+
"iconRight",
|
|
5878
|
+
"noCaps",
|
|
5879
|
+
"noWrap",
|
|
5880
|
+
"align",
|
|
5881
|
+
"stack",
|
|
5882
|
+
"stretch",
|
|
5883
|
+
"dropdownIcon",
|
|
5884
|
+
"cover",
|
|
5885
|
+
"menuAnchor",
|
|
5886
|
+
"menuSelf",
|
|
5887
|
+
"menuOffset",
|
|
5888
|
+
"size",
|
|
5889
|
+
"outline",
|
|
5890
|
+
"flat",
|
|
5891
|
+
"unelevated",
|
|
5892
|
+
"rounded",
|
|
5893
|
+
"push",
|
|
5894
|
+
"square",
|
|
5895
|
+
"glossy",
|
|
5896
|
+
"fab",
|
|
5897
|
+
"fabMini",
|
|
5898
|
+
"padding",
|
|
5899
|
+
"color",
|
|
5900
|
+
"textColor",
|
|
5901
|
+
"dense",
|
|
5902
|
+
"ripple",
|
|
5903
|
+
"noIconAnimation",
|
|
5904
|
+
"contentStyle",
|
|
5905
|
+
"contentClass",
|
|
5906
|
+
"transitionShow",
|
|
5907
|
+
"transitionHide",
|
|
5908
|
+
"transitionDuration"
|
|
5909
|
+
], Lu = [
|
|
5910
|
+
"separator",
|
|
5911
|
+
"padding",
|
|
5912
|
+
"tag",
|
|
5913
|
+
"bordered",
|
|
5914
|
+
"dense",
|
|
5915
|
+
"dark"
|
|
5916
|
+
], Au = [
|
|
5917
|
+
"insetLevel",
|
|
5918
|
+
"tag",
|
|
5919
|
+
"activeClass",
|
|
5920
|
+
"exactActiveClass",
|
|
5921
|
+
"clickable",
|
|
5922
|
+
"manualFocus",
|
|
5923
|
+
"focused",
|
|
5924
|
+
"dark",
|
|
5925
|
+
"dense"
|
|
5926
|
+
], vu = [
|
|
5927
|
+
"avatar",
|
|
5928
|
+
"thumbnail",
|
|
5929
|
+
"side",
|
|
5930
|
+
"top",
|
|
5931
|
+
"noWrap"
|
|
5932
|
+
], Cu = ["lines", "overline", "caption", "header"], ys = {
|
|
5867
5933
|
"q-btn": su,
|
|
5868
5934
|
"q-tabs": ou,
|
|
5869
5935
|
"q-route-tab": iu,
|
|
@@ -5883,7 +5949,12 @@ const su = [
|
|
|
5883
5949
|
"q-file": yu,
|
|
5884
5950
|
"q-select": Nu,
|
|
5885
5951
|
"q-dialog": Ou,
|
|
5886
|
-
"q-spinner": Su
|
|
5952
|
+
"q-spinner": Su,
|
|
5953
|
+
"q-btn-dropdown": Tu,
|
|
5954
|
+
"q-list": Lu,
|
|
5955
|
+
"q-item": Au,
|
|
5956
|
+
"q-item-section": vu,
|
|
5957
|
+
"q-item-label": Cu
|
|
5887
5958
|
};
|
|
5888
5959
|
function Ns(e, t) {
|
|
5889
5960
|
return t.split(".").reduce((n, r) => {
|
|
@@ -5891,7 +5962,7 @@ function Ns(e, t) {
|
|
|
5891
5962
|
return n[r];
|
|
5892
5963
|
}, e);
|
|
5893
5964
|
}
|
|
5894
|
-
function
|
|
5965
|
+
function Ru(e, t, n) {
|
|
5895
5966
|
let r = Ns(e, `${t}.${n}`);
|
|
5896
5967
|
if (r === void 0 && (r = Ns(e, `default.${n}`)), typeof r == "object")
|
|
5897
5968
|
throw new Error(
|
|
@@ -5899,39 +5970,39 @@ function Tu(e, t, n) {
|
|
|
5899
5970
|
);
|
|
5900
5971
|
return r;
|
|
5901
5972
|
}
|
|
5902
|
-
function
|
|
5973
|
+
function Iu(e) {
|
|
5903
5974
|
if (!(e in ys))
|
|
5904
5975
|
throw new Error(
|
|
5905
5976
|
`[UiDesign] The component '${e}' is not supported for UI design retrieval.`
|
|
5906
5977
|
);
|
|
5907
5978
|
return ys[e];
|
|
5908
5979
|
}
|
|
5909
|
-
function
|
|
5980
|
+
function yf() {
|
|
5910
5981
|
const e = ke(() => ru());
|
|
5911
5982
|
function t(n, r, s) {
|
|
5912
|
-
const o =
|
|
5983
|
+
const o = Iu(r), i = {};
|
|
5913
5984
|
for (const a of o) {
|
|
5914
|
-
const c = s?.[a] ??
|
|
5985
|
+
const c = s?.[a] ?? Ru(e.value, n, `${r}.${String(a)}`);
|
|
5915
5986
|
c !== void 0 && (i[a] = c);
|
|
5916
5987
|
}
|
|
5917
5988
|
return i;
|
|
5918
5989
|
}
|
|
5919
5990
|
return { ui: t };
|
|
5920
5991
|
}
|
|
5921
|
-
async function
|
|
5992
|
+
async function Pu() {
|
|
5922
5993
|
return (await Ie().get("/metadata/entities")).data;
|
|
5923
5994
|
}
|
|
5924
|
-
async function
|
|
5995
|
+
async function Nf(e) {
|
|
5925
5996
|
return (await Ie().get(
|
|
5926
5997
|
`/metadata/entities/${e}`
|
|
5927
5998
|
)).data;
|
|
5928
5999
|
}
|
|
5929
|
-
async function
|
|
6000
|
+
async function wu() {
|
|
5930
6001
|
return (await Ie().get(
|
|
5931
6002
|
"/metadata/routes"
|
|
5932
6003
|
)).data;
|
|
5933
6004
|
}
|
|
5934
|
-
const
|
|
6005
|
+
const Of = () => Du(er()), Du = /* @__PURE__ */ Zn("LinidConfigurationStore", {
|
|
5935
6006
|
state: () => ({
|
|
5936
6007
|
entities: [],
|
|
5937
6008
|
apiEndpoints: [],
|
|
@@ -5962,8 +6033,8 @@ const Ef = () => Cu(er()), Cu = /* @__PURE__ */ Zn("LinidConfigurationStore", {
|
|
|
5962
6033
|
this.loading = !0, this.error = null;
|
|
5963
6034
|
try {
|
|
5964
6035
|
const [e, t] = await Promise.all([
|
|
5965
|
-
|
|
5966
|
-
|
|
6036
|
+
Pu(),
|
|
6037
|
+
wu()
|
|
5967
6038
|
]);
|
|
5968
6039
|
this.entities = e, this.apiEndpoints = t;
|
|
5969
6040
|
} catch (e) {
|
|
@@ -5973,7 +6044,7 @@ const Ef = () => Cu(er()), Cu = /* @__PURE__ */ Zn("LinidConfigurationStore", {
|
|
|
5973
6044
|
}
|
|
5974
6045
|
}
|
|
5975
6046
|
}
|
|
5976
|
-
}),
|
|
6047
|
+
}), Sf = () => ku(er()), ku = /* @__PURE__ */ Zn("LinidUiStore", {
|
|
5977
6048
|
state: () => ({
|
|
5978
6049
|
mainNavigationItems: []
|
|
5979
6050
|
}),
|
|
@@ -5987,15 +6058,15 @@ const Ef = () => Cu(er()), Cu = /* @__PURE__ */ Zn("LinidConfigurationStore", {
|
|
|
5987
6058
|
}
|
|
5988
6059
|
}
|
|
5989
6060
|
});
|
|
5990
|
-
function
|
|
6061
|
+
function Fu(e, t) {
|
|
5991
6062
|
if (!Kt(e) || !Kt(t))
|
|
5992
6063
|
return t;
|
|
5993
6064
|
const n = { ...e };
|
|
5994
6065
|
for (const r of Object.keys(t))
|
|
5995
|
-
n[r] =
|
|
6066
|
+
n[r] = Fu(e[r], t[r]);
|
|
5996
6067
|
return n;
|
|
5997
6068
|
}
|
|
5998
|
-
function
|
|
6069
|
+
function Tf(e) {
|
|
5999
6070
|
const t = {};
|
|
6000
6071
|
for (const [n, r] of Object.entries(e)) {
|
|
6001
6072
|
const s = n.split(".");
|
|
@@ -6009,15 +6080,15 @@ function bf(e) {
|
|
|
6009
6080
|
function Kt(e) {
|
|
6010
6081
|
return typeof e == "object" && e !== null && !Array.isArray(e);
|
|
6011
6082
|
}
|
|
6012
|
-
function
|
|
6083
|
+
function Uu(e, t) {
|
|
6013
6084
|
return typeof e != "object" || e === null ? e : Object.fromEntries(
|
|
6014
6085
|
Object.entries(e).map(([n, r]) => {
|
|
6015
|
-
const s = t(n), o = Kt(r) ?
|
|
6086
|
+
const s = t(n), o = Kt(r) ? Uu(r, t) : r;
|
|
6016
6087
|
return [s, o];
|
|
6017
6088
|
})
|
|
6018
6089
|
);
|
|
6019
6090
|
}
|
|
6020
|
-
function
|
|
6091
|
+
function Mu(e, t) {
|
|
6021
6092
|
if (e === t || typeof e == "number" && typeof t == "number" && Number.isNaN(e) && Number.isNaN(t))
|
|
6022
6093
|
return !0;
|
|
6023
6094
|
if (e == null || t == null || typeof e != "object" || typeof t != "object" || Array.isArray(e) !== Array.isArray(t))
|
|
@@ -6027,11 +6098,11 @@ function wu(e, t) {
|
|
|
6027
6098
|
return !1;
|
|
6028
6099
|
const s = e, o = t;
|
|
6029
6100
|
return n.every(
|
|
6030
|
-
(i) => Object.prototype.hasOwnProperty.call(o, i) &&
|
|
6101
|
+
(i) => Object.prototype.hasOwnProperty.call(o, i) && Mu(s[i], o[i])
|
|
6031
6102
|
);
|
|
6032
6103
|
}
|
|
6033
|
-
var
|
|
6034
|
-
class
|
|
6104
|
+
var xu = /* @__PURE__ */ ((e) => (e.SETUP = "setup", e.CONFIGURE = "configure", e.INITIALIZE = "initialize", e.READY = "ready", e.POST_INIT = "postInit", e))(xu || {});
|
|
6105
|
+
class Lf {
|
|
6035
6106
|
/**
|
|
6036
6107
|
* Unique identifier for the module.
|
|
6037
6108
|
*
|
|
@@ -6135,17 +6206,17 @@ class yf {
|
|
|
6135
6206
|
}
|
|
6136
6207
|
}
|
|
6137
6208
|
export {
|
|
6138
|
-
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
|
|
6144
|
-
|
|
6145
|
-
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
|
|
6209
|
+
Lf as BasicRemoteModule,
|
|
6210
|
+
ju as LinidZoneRenderer,
|
|
6211
|
+
xu as ModuleLifecyclePhase,
|
|
6212
|
+
Mu as deepEqual,
|
|
6213
|
+
pf as deleteEntityById,
|
|
6214
|
+
Tf as fromDot,
|
|
6215
|
+
wu as getApiEndpointsConfiguration,
|
|
6216
|
+
ff as getEntities,
|
|
6217
|
+
Pu as getEntitiesConfiguration,
|
|
6218
|
+
df as getEntityById,
|
|
6219
|
+
Nf as getEntityConfiguration,
|
|
6149
6220
|
Ie as getHttpClient,
|
|
6150
6221
|
Vl as getI18nInstance,
|
|
6151
6222
|
Jo as getModuleFederation,
|
|
@@ -6153,27 +6224,27 @@ export {
|
|
|
6153
6224
|
er as getPiniaStore,
|
|
6154
6225
|
ru as getUiDesign,
|
|
6155
6226
|
Kt as isObject,
|
|
6156
|
-
|
|
6157
|
-
|
|
6158
|
-
|
|
6159
|
-
|
|
6160
|
-
|
|
6161
|
-
|
|
6162
|
-
|
|
6163
|
-
|
|
6164
|
-
|
|
6165
|
-
|
|
6227
|
+
Qo as loadAsyncComponent,
|
|
6228
|
+
Fu as merge,
|
|
6229
|
+
cf as registerModuleHostConfiguration,
|
|
6230
|
+
Uu as renameKeys,
|
|
6231
|
+
lf as saveEntity,
|
|
6232
|
+
af as setHttpClient,
|
|
6233
|
+
mf as setI18nInstance,
|
|
6234
|
+
$u as setModuleFederation,
|
|
6235
|
+
Bu as setPiniaStore,
|
|
6236
|
+
bf as setUiDesign,
|
|
6166
6237
|
wo as uiEventSubject,
|
|
6167
|
-
|
|
6168
|
-
|
|
6238
|
+
uf as updateEntity,
|
|
6239
|
+
hf as useDialog,
|
|
6169
6240
|
Hl as useFieldValidation,
|
|
6170
|
-
|
|
6171
|
-
|
|
6241
|
+
Of as useLinidConfigurationStore,
|
|
6242
|
+
Sf as useLinidUiStore,
|
|
6172
6243
|
ti as useLinidZoneStore,
|
|
6173
|
-
|
|
6174
|
-
|
|
6244
|
+
_f as useNotify,
|
|
6245
|
+
Ef as usePagination,
|
|
6175
6246
|
nu as useQuasarFieldValidation,
|
|
6176
|
-
|
|
6247
|
+
gf as useQuasarRules,
|
|
6177
6248
|
$l as useScopedI18n,
|
|
6178
|
-
|
|
6249
|
+
yf as useUiDesign
|
|
6179
6250
|
};
|