@linagora/linid-im-front-corelib 0.0.74 → 0.0.75
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 +134 -112
- package/dist/core-lib.umd.js +16 -16
- 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 +11 -3
- package/package.json +1 -1
package/dist/core-lib.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as jl from "vue";
|
|
2
2
|
import { defineAsyncComponent as Np, hasInjectionContext as As, inject as mn, getCurrentInstance as Ve, ref as te, reactive as Ur, markRaw as Wr, effectScope as Dp, isRef as Fa, isReactive as wu, toRef as Ul, toRaw as nr, nextTick as St, getCurrentScope as Ip, onScopeDispose as $p, watch as xe, computed as h, toRefs as Vc, defineComponent as Mo, openBlock as Wl, createElementBlock as zc, Fragment as qi, renderList as Fp, unref as Ps, createBlock as Bp, resolveDynamicComponent as Vp, mergeProps as zp, renderSlot as Hp, createCommentVNode as jp, onMounted as zt, onUnmounted as al, shallowRef as Up, h as m, createVNode as Wp, Text as Qp, shallowReactive as Yp, provide as Lr, onBeforeUnmount as wt, Transition as an, withDirectives as Yn, onDeactivated as gr, onActivated as ua, onBeforeUpdate as Ao, onUpdated as Kp, KeepAlive as bv, onBeforeMount as xu, vShow as yv, Teleport as Xp, createApp as Gp } from "vue";
|
|
3
3
|
let Mi = null;
|
|
4
|
-
function
|
|
4
|
+
function Vk(e) {
|
|
5
5
|
if (Mi !== null) {
|
|
6
6
|
console.warn(
|
|
7
7
|
"[LinID CoreLib] Module Federation has already been initialized. Re-initialization is ignored."
|
|
@@ -325,7 +325,7 @@ This will fail in production.`);
|
|
|
325
325
|
return o.$id = e, o;
|
|
326
326
|
}
|
|
327
327
|
let Pi = null;
|
|
328
|
-
function
|
|
328
|
+
function zk(e) {
|
|
329
329
|
if (Pi !== null) {
|
|
330
330
|
console.warn(
|
|
331
331
|
"[LinID CoreLib] Pinia store has already been initialized. Re-initialization is ignored."
|
|
@@ -364,7 +364,7 @@ const rb = () => ab(il()), ab = /* @__PURE__ */ ol("linidZoneStore", {
|
|
|
364
364
|
this.zones[e]?.some(({ plugin: n }) => n === t.plugin) || this.register(e, t);
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
}),
|
|
367
|
+
}), Hk = /* @__PURE__ */ Mo({
|
|
368
368
|
inheritAttrs: !1,
|
|
369
369
|
__name: "LinidZoneRenderer",
|
|
370
370
|
props: {
|
|
@@ -386,7 +386,7 @@ const rb = () => ab(il()), ab = /* @__PURE__ */ ol("linidZoneStore", {
|
|
|
386
386
|
}
|
|
387
387
|
});
|
|
388
388
|
let Li = null;
|
|
389
|
-
function
|
|
389
|
+
function jk(e) {
|
|
390
390
|
if (Li !== null) {
|
|
391
391
|
console.warn(
|
|
392
392
|
"[LinID CoreLib] Dayjs instance has already been initialized. Re-initialization is ignored."
|
|
@@ -3176,7 +3176,7 @@ var wb = wv(function(e) {
|
|
|
3176
3176
|
}, t;
|
|
3177
3177
|
})(Ev);
|
|
3178
3178
|
const Tv = new Ev();
|
|
3179
|
-
function
|
|
3179
|
+
function Uk(e, t) {
|
|
3180
3180
|
const n = te(!1), r = te(null);
|
|
3181
3181
|
let a, o = null;
|
|
3182
3182
|
function i(f) {
|
|
@@ -5095,25 +5095,25 @@ en.getAdapter = Wv.getAdapter;
|
|
|
5095
5095
|
en.HttpStatusCode = Us;
|
|
5096
5096
|
en.default = en;
|
|
5097
5097
|
const {
|
|
5098
|
-
Axios:
|
|
5099
|
-
AxiosError:
|
|
5100
|
-
CanceledError:
|
|
5101
|
-
isCancel:
|
|
5102
|
-
CancelToken:
|
|
5103
|
-
VERSION:
|
|
5104
|
-
all:
|
|
5105
|
-
Cancel:
|
|
5106
|
-
isAxiosError:
|
|
5107
|
-
spread:
|
|
5108
|
-
toFormData:
|
|
5109
|
-
AxiosHeaders:
|
|
5098
|
+
Axios: Kk,
|
|
5099
|
+
AxiosError: Xk,
|
|
5100
|
+
CanceledError: Gk,
|
|
5101
|
+
isCancel: Jk,
|
|
5102
|
+
CancelToken: Zk,
|
|
5103
|
+
VERSION: eE,
|
|
5104
|
+
all: tE,
|
|
5105
|
+
Cancel: nE,
|
|
5106
|
+
isAxiosError: rE,
|
|
5107
|
+
spread: aE,
|
|
5108
|
+
toFormData: oE,
|
|
5109
|
+
AxiosHeaders: iE,
|
|
5110
5110
|
HttpStatusCode: pd,
|
|
5111
|
-
formToJSON:
|
|
5112
|
-
getAdapter:
|
|
5113
|
-
mergeConfig:
|
|
5111
|
+
formToJSON: lE,
|
|
5112
|
+
getAdapter: sE,
|
|
5113
|
+
mergeConfig: uE
|
|
5114
5114
|
} = en;
|
|
5115
5115
|
let Ni = null;
|
|
5116
|
-
function
|
|
5116
|
+
function cE(e) {
|
|
5117
5117
|
if (Ni !== null) {
|
|
5118
5118
|
console.warn(
|
|
5119
5119
|
"[LinID CoreLib] HTTP client has already been initialized. Re-initialization is ignored."
|
|
@@ -5130,7 +5130,7 @@ function pr() {
|
|
|
5130
5130
|
return Ni;
|
|
5131
5131
|
}
|
|
5132
5132
|
const Xv = /* @__PURE__ */ new Map();
|
|
5133
|
-
function
|
|
5133
|
+
function dE(e) {
|
|
5134
5134
|
Xv.set(e.instanceId, e);
|
|
5135
5135
|
}
|
|
5136
5136
|
function Qa(e) {
|
|
@@ -5141,25 +5141,25 @@ function Qa(e) {
|
|
|
5141
5141
|
);
|
|
5142
5142
|
return t;
|
|
5143
5143
|
}
|
|
5144
|
-
async function
|
|
5144
|
+
async function fE(e, t) {
|
|
5145
5145
|
const n = Qa(e);
|
|
5146
5146
|
return pr().post(`/${n.apiEndpoint}`, t).then(({ data: r }) => r);
|
|
5147
5147
|
}
|
|
5148
|
-
async function
|
|
5148
|
+
async function vE(e, t, n) {
|
|
5149
5149
|
const r = Qa(e);
|
|
5150
5150
|
return pr().put(`/${r.apiEndpoint}/${t}`, n).then(({ data: a }) => a);
|
|
5151
5151
|
}
|
|
5152
|
-
async function
|
|
5152
|
+
async function mE(e, t, n) {
|
|
5153
5153
|
const r = Qa(e);
|
|
5154
5154
|
return pr().get(`/${r.apiEndpoint}`, {
|
|
5155
5155
|
params: { ...t, ...n }
|
|
5156
5156
|
}).then(({ data: a }) => a);
|
|
5157
5157
|
}
|
|
5158
|
-
async function
|
|
5158
|
+
async function hE(e, t) {
|
|
5159
5159
|
const n = Qa(e);
|
|
5160
5160
|
return pr().get(`/${n.apiEndpoint}/${t}`).then(({ data: r }) => r);
|
|
5161
5161
|
}
|
|
5162
|
-
async function
|
|
5162
|
+
async function gE(e, t) {
|
|
5163
5163
|
const n = Qa(e);
|
|
5164
5164
|
return pr().delete(`/${n.apiEndpoint}/${t}`);
|
|
5165
5165
|
}
|
|
@@ -5179,7 +5179,7 @@ function ny(e, t) {
|
|
|
5179
5179
|
n[r] = ny(e[r], t[r]);
|
|
5180
5180
|
return n;
|
|
5181
5181
|
}
|
|
5182
|
-
function
|
|
5182
|
+
function pE(e) {
|
|
5183
5183
|
const t = {};
|
|
5184
5184
|
for (const [n, r] of Object.entries(e)) {
|
|
5185
5185
|
const a = n.split(".");
|
|
@@ -8004,7 +8004,7 @@ if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
|
8004
8004
|
}
|
|
8005
8005
|
process.env.NODE_ENV;
|
|
8006
8006
|
let Fi = null;
|
|
8007
|
-
function
|
|
8007
|
+
function bE(e) {
|
|
8008
8008
|
if (Fi !== null) {
|
|
8009
8009
|
console.warn(
|
|
8010
8010
|
"[LinID CoreLib] I18n has already been initialized. Re-initialization is ignored."
|
|
@@ -8139,7 +8139,7 @@ function vS(e) {
|
|
|
8139
8139
|
upToDate: C
|
|
8140
8140
|
};
|
|
8141
8141
|
}
|
|
8142
|
-
function
|
|
8142
|
+
function yE() {
|
|
8143
8143
|
function e(t) {
|
|
8144
8144
|
Tv.next({
|
|
8145
8145
|
key: "notify",
|
|
@@ -8149,7 +8149,7 @@ function bE() {
|
|
|
8149
8149
|
return { Notify: e };
|
|
8150
8150
|
}
|
|
8151
8151
|
let Bi = null;
|
|
8152
|
-
function
|
|
8152
|
+
function _E(e) {
|
|
8153
8153
|
if (Bi !== null) {
|
|
8154
8154
|
console.warn(
|
|
8155
8155
|
"[LinID CoreLib] Nunjucks environment has already been initialized. Re-initialization is ignored."
|
|
@@ -8165,7 +8165,7 @@ function mS() {
|
|
|
8165
8165
|
);
|
|
8166
8166
|
return Bi;
|
|
8167
8167
|
}
|
|
8168
|
-
function
|
|
8168
|
+
function SE() {
|
|
8169
8169
|
const e = mS();
|
|
8170
8170
|
function t(n, r) {
|
|
8171
8171
|
return typeof n == "string" ? e.renderString(n, r) : Array.isArray(n) ? n.map((a) => t(a, r)) : n !== null && typeof n == "object" && Object.getPrototypeOf(n) === Object.prototype ? Object.fromEntries(
|
|
@@ -8179,7 +8179,7 @@ function _E() {
|
|
|
8179
8179
|
render: t
|
|
8180
8180
|
};
|
|
8181
8181
|
}
|
|
8182
|
-
function
|
|
8182
|
+
function wE() {
|
|
8183
8183
|
function e(n) {
|
|
8184
8184
|
return {
|
|
8185
8185
|
page: (n.page || 1) - 1,
|
|
@@ -28234,7 +28234,7 @@ Object.assign(QC, Rg);
|
|
|
28234
28234
|
var YC = ["ok", "hide"];
|
|
28235
28235
|
gg(YC);
|
|
28236
28236
|
const Or = "YYYY/MM/DD";
|
|
28237
|
-
function
|
|
28237
|
+
function xE() {
|
|
28238
28238
|
function e(n, r) {
|
|
28239
28239
|
return hs.formatDate(
|
|
28240
28240
|
hs.extractDate(n, r || Or),
|
|
@@ -28286,7 +28286,7 @@ function KC(e) {
|
|
|
28286
28286
|
upToDate: (T, C) => (x) => p(x, T, C || Or)
|
|
28287
28287
|
};
|
|
28288
28288
|
}
|
|
28289
|
-
function
|
|
28289
|
+
function CE(e, t, n, r) {
|
|
28290
28290
|
const { required: a, email: o, validateFromApi: i, ...l } = KC(r), c = t.required ? [a] : [];
|
|
28291
28291
|
return n.forEach((v) => {
|
|
28292
28292
|
if (v === "email")
|
|
@@ -28297,7 +28297,7 @@ function xE(e, t, n, r) {
|
|
|
28297
28297
|
}
|
|
28298
28298
|
}), t.hasValidations && c.push(i(e, t.name)), c;
|
|
28299
28299
|
}
|
|
28300
|
-
function
|
|
28300
|
+
function kE() {
|
|
28301
28301
|
function e(t) {
|
|
28302
28302
|
return t.map((n) => ({
|
|
28303
28303
|
type: n.type,
|
|
@@ -28311,7 +28311,7 @@ function CE() {
|
|
|
28311
28311
|
};
|
|
28312
28312
|
}
|
|
28313
28313
|
let rl = null;
|
|
28314
|
-
function
|
|
28314
|
+
function EE(e) {
|
|
28315
28315
|
if (rl !== null) {
|
|
28316
28316
|
console.warn(
|
|
28317
28317
|
"[LinID CoreLib] UI Design has already been initialized. Re-initialization is ignored."
|
|
@@ -28532,6 +28532,27 @@ const GC = [
|
|
|
28532
28532
|
"spinnerColor",
|
|
28533
28533
|
"spinnerSize"
|
|
28534
28534
|
], hk = [
|
|
28535
|
+
"clearable",
|
|
28536
|
+
"autofocus",
|
|
28537
|
+
"stackLabel",
|
|
28538
|
+
"hideHint",
|
|
28539
|
+
"clearIcon",
|
|
28540
|
+
"counter",
|
|
28541
|
+
"labelColor",
|
|
28542
|
+
"color",
|
|
28543
|
+
"bgColor",
|
|
28544
|
+
"dark",
|
|
28545
|
+
"filled",
|
|
28546
|
+
"outlined",
|
|
28547
|
+
"borderless",
|
|
28548
|
+
"standout",
|
|
28549
|
+
"hideBottomSpace",
|
|
28550
|
+
"rounded",
|
|
28551
|
+
"square",
|
|
28552
|
+
"dense",
|
|
28553
|
+
"itemAligned",
|
|
28554
|
+
"noErrorIcon"
|
|
28555
|
+
], gk = [
|
|
28535
28556
|
"autofocus",
|
|
28536
28557
|
"stackLabel",
|
|
28537
28558
|
"hideHint",
|
|
@@ -28554,7 +28575,7 @@ const GC = [
|
|
|
28554
28575
|
"inputClass",
|
|
28555
28576
|
"inputStyle",
|
|
28556
28577
|
"noErrorIcon"
|
|
28557
|
-
],
|
|
28578
|
+
], pk = [
|
|
28558
28579
|
"virtualScrollHorizontal",
|
|
28559
28580
|
"clearable",
|
|
28560
28581
|
"autofocus",
|
|
@@ -28608,7 +28629,7 @@ const GC = [
|
|
|
28608
28629
|
"virtualScrollItemSize",
|
|
28609
28630
|
"virtualScrollStickySizeStart",
|
|
28610
28631
|
"virtualScrollStickySizeEnd"
|
|
28611
|
-
],
|
|
28632
|
+
], bk = [
|
|
28612
28633
|
"persistent",
|
|
28613
28634
|
"noEscDismiss",
|
|
28614
28635
|
"noBackdropDismiss",
|
|
@@ -28628,7 +28649,7 @@ const GC = [
|
|
|
28628
28649
|
"transitionShow",
|
|
28629
28650
|
"transitionHide",
|
|
28630
28651
|
"transitionDuration"
|
|
28631
|
-
],
|
|
28652
|
+
], yk = ["size", "color", "thickness"], _k = [
|
|
28632
28653
|
"split",
|
|
28633
28654
|
"disableMainBtn",
|
|
28634
28655
|
"disableDropdown",
|
|
@@ -28671,14 +28692,14 @@ const GC = [
|
|
|
28671
28692
|
"transitionShow",
|
|
28672
28693
|
"transitionHide",
|
|
28673
28694
|
"transitionDuration"
|
|
28674
|
-
],
|
|
28695
|
+
], Sk = ["view", "container"], wk = [
|
|
28675
28696
|
"separator",
|
|
28676
28697
|
"padding",
|
|
28677
28698
|
"tag",
|
|
28678
28699
|
"bordered",
|
|
28679
28700
|
"dense",
|
|
28680
28701
|
"dark"
|
|
28681
|
-
],
|
|
28702
|
+
], xk = [
|
|
28682
28703
|
"insetLevel",
|
|
28683
28704
|
"tag",
|
|
28684
28705
|
"activeClass",
|
|
@@ -28688,18 +28709,18 @@ const GC = [
|
|
|
28688
28709
|
"focused",
|
|
28689
28710
|
"dark",
|
|
28690
28711
|
"dense"
|
|
28691
|
-
],
|
|
28712
|
+
], Ck = [
|
|
28692
28713
|
"avatar",
|
|
28693
28714
|
"thumbnail",
|
|
28694
28715
|
"side",
|
|
28695
28716
|
"top",
|
|
28696
28717
|
"noWrap"
|
|
28697
|
-
],
|
|
28718
|
+
], kk = [
|
|
28698
28719
|
"autofocus",
|
|
28699
28720
|
"noErrorFocus",
|
|
28700
28721
|
"noResetFocus",
|
|
28701
28722
|
"greedy"
|
|
28702
|
-
],
|
|
28723
|
+
], Ek = ["lines", "overline", "caption", "header"], Tk = ["inlineActions", "dense", "rounded", "dark"], Ok = [
|
|
28703
28724
|
"contextMenu",
|
|
28704
28725
|
"touchPosition",
|
|
28705
28726
|
"persistent",
|
|
@@ -28721,7 +28742,7 @@ const GC = [
|
|
|
28721
28742
|
"transitionShow",
|
|
28722
28743
|
"transitionHide",
|
|
28723
28744
|
"transitionDuration"
|
|
28724
|
-
],
|
|
28745
|
+
], qk = [
|
|
28725
28746
|
"tickStrategy",
|
|
28726
28747
|
"noSelectionUnset",
|
|
28727
28748
|
"defaultExpandAll",
|
|
@@ -28735,7 +28756,7 @@ const GC = [
|
|
|
28735
28756
|
"dense",
|
|
28736
28757
|
"dark",
|
|
28737
28758
|
"duration"
|
|
28738
|
-
],
|
|
28759
|
+
], Mk = [
|
|
28739
28760
|
"horizontal",
|
|
28740
28761
|
"limits",
|
|
28741
28762
|
"modelValue",
|
|
@@ -28750,37 +28771,38 @@ const GC = [
|
|
|
28750
28771
|
], hv = {
|
|
28751
28772
|
"q-avatar": rk,
|
|
28752
28773
|
"q-badge": ak,
|
|
28753
|
-
"q-banner":
|
|
28774
|
+
"q-banner": Tk,
|
|
28754
28775
|
"q-btn": GC,
|
|
28755
|
-
"q-btn-dropdown":
|
|
28776
|
+
"q-btn-dropdown": _k,
|
|
28756
28777
|
"q-card": ik,
|
|
28757
28778
|
"q-card-actions": lk,
|
|
28758
28779
|
"q-checkbox": dk,
|
|
28759
28780
|
"q-date": vk,
|
|
28760
|
-
"q-dialog":
|
|
28761
|
-
"q-
|
|
28762
|
-
"q-
|
|
28781
|
+
"q-dialog": bk,
|
|
28782
|
+
"q-field": hk,
|
|
28783
|
+
"q-file": gk,
|
|
28784
|
+
"q-form": kk,
|
|
28763
28785
|
"q-header": ek,
|
|
28764
28786
|
"q-icon": sk,
|
|
28765
28787
|
"q-chip": uk,
|
|
28766
28788
|
"q-img": mk,
|
|
28767
28789
|
"q-input": fk,
|
|
28768
|
-
"q-item":
|
|
28769
|
-
"q-item-label":
|
|
28770
|
-
"q-item-section":
|
|
28771
|
-
"q-layout":
|
|
28772
|
-
"q-list":
|
|
28773
|
-
"q-menu":
|
|
28790
|
+
"q-item": xk,
|
|
28791
|
+
"q-item-label": Ek,
|
|
28792
|
+
"q-item-section": Ck,
|
|
28793
|
+
"q-layout": Sk,
|
|
28794
|
+
"q-list": wk,
|
|
28795
|
+
"q-menu": Ok,
|
|
28774
28796
|
"q-route-tab": ZC,
|
|
28775
|
-
"q-select":
|
|
28776
|
-
"q-spinner":
|
|
28797
|
+
"q-select": pk,
|
|
28798
|
+
"q-spinner": yk,
|
|
28777
28799
|
"q-table": ok,
|
|
28778
28800
|
"q-tabs": JC,
|
|
28779
28801
|
"q-toggle": ck,
|
|
28780
28802
|
"q-toolbar": tk,
|
|
28781
28803
|
"q-toolbar-title": nk,
|
|
28782
|
-
"q-tree":
|
|
28783
|
-
"q-splitter":
|
|
28804
|
+
"q-tree": qk,
|
|
28805
|
+
"q-splitter": Mk
|
|
28784
28806
|
};
|
|
28785
28807
|
function gv(e, t) {
|
|
28786
28808
|
return t.split(".").reduce((n, r) => {
|
|
@@ -28788,7 +28810,7 @@ function gv(e, t) {
|
|
|
28788
28810
|
return n[r];
|
|
28789
28811
|
}, e);
|
|
28790
28812
|
}
|
|
28791
|
-
function
|
|
28813
|
+
function Ak(e, t, n) {
|
|
28792
28814
|
let r = gv(e, `${t}.${n}`);
|
|
28793
28815
|
if (r === void 0 && (r = gv(e, `default.${n}`)), typeof r == "object")
|
|
28794
28816
|
throw new Error(
|
|
@@ -28796,26 +28818,26 @@ function Mk(e, t, n) {
|
|
|
28796
28818
|
);
|
|
28797
28819
|
return r;
|
|
28798
28820
|
}
|
|
28799
|
-
function
|
|
28821
|
+
function Pk(e) {
|
|
28800
28822
|
if (!(e in hv))
|
|
28801
28823
|
throw new Error(
|
|
28802
28824
|
`[UiDesign] The component '${e}' is not supported for UI design retrieval.`
|
|
28803
28825
|
);
|
|
28804
28826
|
return hv[e];
|
|
28805
28827
|
}
|
|
28806
|
-
function
|
|
28828
|
+
function TE() {
|
|
28807
28829
|
const e = h(() => XC());
|
|
28808
28830
|
function t(n, r, a) {
|
|
28809
|
-
const o =
|
|
28831
|
+
const o = Pk(r), i = {};
|
|
28810
28832
|
for (const l of o) {
|
|
28811
|
-
const c = a?.[l] ??
|
|
28833
|
+
const c = a?.[l] ?? Ak(e.value, n, `${r}.${String(l)}`);
|
|
28812
28834
|
c !== void 0 && (i[l] = c);
|
|
28813
28835
|
}
|
|
28814
28836
|
return i;
|
|
28815
28837
|
}
|
|
28816
28838
|
return { ui: t };
|
|
28817
28839
|
}
|
|
28818
|
-
const pv = "|", Ms = "not_",
|
|
28840
|
+
const pv = "|", Ms = "not_", Lk = ["lk_", "gt_", "lt_"];
|
|
28819
28841
|
class gc {
|
|
28820
28842
|
/**
|
|
28821
28843
|
* Whether the comparison must be negated.
|
|
@@ -28846,7 +28868,7 @@ class gc {
|
|
|
28846
28868
|
static fromString(t) {
|
|
28847
28869
|
let n = t, r = !1;
|
|
28848
28870
|
n.startsWith(Ms) && (r = !0, n = n.slice(Ms.length));
|
|
28849
|
-
const a =
|
|
28871
|
+
const a = Lk.find((o) => n.startsWith(o)) ?? "";
|
|
28850
28872
|
return new gc(
|
|
28851
28873
|
r,
|
|
28852
28874
|
a,
|
|
@@ -28920,7 +28942,7 @@ class pc {
|
|
|
28920
28942
|
return this.values.map((t) => t.toString()).join(pv);
|
|
28921
28943
|
}
|
|
28922
28944
|
}
|
|
28923
|
-
function
|
|
28945
|
+
function OE(e, t) {
|
|
28924
28946
|
function n(a, o) {
|
|
28925
28947
|
const i = Object.fromEntries(
|
|
28926
28948
|
Object.entries(t.query).filter(([l]) => o.includes(l))
|
|
@@ -28947,20 +28969,20 @@ function TE(e, t) {
|
|
|
28947
28969
|
}
|
|
28948
28970
|
return { setFiltersInUrl: n, getFiltersFromUrl: r };
|
|
28949
28971
|
}
|
|
28950
|
-
async function
|
|
28972
|
+
async function Rk() {
|
|
28951
28973
|
return (await pr().get("/metadata/entities")).data;
|
|
28952
28974
|
}
|
|
28953
|
-
async function
|
|
28975
|
+
async function qE(e) {
|
|
28954
28976
|
return (await pr().get(
|
|
28955
28977
|
`/metadata/entities/${e}`
|
|
28956
28978
|
)).data;
|
|
28957
28979
|
}
|
|
28958
|
-
async function
|
|
28980
|
+
async function Nk() {
|
|
28959
28981
|
return (await pr().get(
|
|
28960
28982
|
"/metadata/routes"
|
|
28961
28983
|
)).data;
|
|
28962
28984
|
}
|
|
28963
|
-
const
|
|
28985
|
+
const ME = () => Dk(il()), Dk = /* @__PURE__ */ ol("LinidConfigurationStore", {
|
|
28964
28986
|
state: () => ({
|
|
28965
28987
|
entities: [],
|
|
28966
28988
|
apiEndpoints: [],
|
|
@@ -28991,8 +29013,8 @@ const qE = () => Nk(il()), Nk = /* @__PURE__ */ ol("LinidConfigurationStore", {
|
|
|
28991
29013
|
this.loading = !0, this.error = null;
|
|
28992
29014
|
try {
|
|
28993
29015
|
const [e, t] = await Promise.all([
|
|
28994
|
-
|
|
28995
|
-
|
|
29016
|
+
Rk(),
|
|
29017
|
+
Nk()
|
|
28996
29018
|
]);
|
|
28997
29019
|
this.entities = e, this.apiEndpoints = t;
|
|
28998
29020
|
} catch (e) {
|
|
@@ -29002,7 +29024,7 @@ const qE = () => Nk(il()), Nk = /* @__PURE__ */ ol("LinidConfigurationStore", {
|
|
|
29002
29024
|
}
|
|
29003
29025
|
}
|
|
29004
29026
|
}
|
|
29005
|
-
}),
|
|
29027
|
+
}), AE = () => Ik(il()), Ik = /* @__PURE__ */ ol("LinidUiStore", {
|
|
29006
29028
|
state: () => ({
|
|
29007
29029
|
mainNavigationItems: []
|
|
29008
29030
|
}),
|
|
@@ -29015,7 +29037,7 @@ const qE = () => Nk(il()), Nk = /* @__PURE__ */ ol("LinidConfigurationStore", {
|
|
|
29015
29037
|
this.mainNavigationItems.push(...e);
|
|
29016
29038
|
}
|
|
29017
29039
|
}
|
|
29018
|
-
}),
|
|
29040
|
+
}), PE = () => $k(il()), $k = /* @__PURE__ */ ol("LinidUserStore", {
|
|
29019
29041
|
/**
|
|
29020
29042
|
* State properties of the user store.
|
|
29021
29043
|
* @returns The initial state of the user store.
|
|
@@ -29042,8 +29064,8 @@ const qE = () => Nk(il()), Nk = /* @__PURE__ */ ol("LinidConfigurationStore", {
|
|
|
29042
29064
|
}
|
|
29043
29065
|
}
|
|
29044
29066
|
});
|
|
29045
|
-
var
|
|
29046
|
-
class
|
|
29067
|
+
var Fk = /* @__PURE__ */ ((e) => (e.SETUP = "setup", e.CONFIGURE = "configure", e.INITIALIZE = "initialize", e.READY = "ready", e.POST_INIT = "postInit", e))(Fk || {});
|
|
29068
|
+
class LE {
|
|
29047
29069
|
/**
|
|
29048
29070
|
* Unique identifier for the module.
|
|
29049
29071
|
*
|
|
@@ -29147,25 +29169,25 @@ class PE {
|
|
|
29147
29169
|
}
|
|
29148
29170
|
}
|
|
29149
29171
|
export {
|
|
29150
|
-
|
|
29172
|
+
LE as BasicRemoteModule,
|
|
29151
29173
|
Oa as DEFAULT_DATE_FORMAT,
|
|
29152
29174
|
Ms as LINID_FILTER_NEGATION_PREFIX,
|
|
29153
29175
|
pv as LINID_FILTER_OR_SEPARATOR,
|
|
29154
29176
|
pc as LinidFilter,
|
|
29155
29177
|
gc as LinidFilterValue,
|
|
29156
|
-
|
|
29157
|
-
|
|
29178
|
+
Hk as LinidZoneRenderer,
|
|
29179
|
+
Fk as ModuleLifecyclePhase,
|
|
29158
29180
|
Or as QDATE_DEFAULT_MASK,
|
|
29159
29181
|
Gv as deepEqual,
|
|
29160
29182
|
Ws as deepEqualUnordered,
|
|
29161
|
-
|
|
29162
|
-
|
|
29163
|
-
|
|
29183
|
+
gE as deleteEntityById,
|
|
29184
|
+
pE as fromDot,
|
|
29185
|
+
Nk as getApiEndpointsConfiguration,
|
|
29164
29186
|
ob as getDayjsInstance,
|
|
29165
|
-
|
|
29166
|
-
|
|
29167
|
-
|
|
29168
|
-
|
|
29187
|
+
mE as getEntities,
|
|
29188
|
+
Rk as getEntitiesConfiguration,
|
|
29189
|
+
hE as getEntityById,
|
|
29190
|
+
qE as getEntityConfiguration,
|
|
29169
29191
|
pr as getHttpClient,
|
|
29170
29192
|
uS as getI18nInstance,
|
|
29171
29193
|
Jp as getModuleFederation,
|
|
@@ -29176,33 +29198,33 @@ export {
|
|
|
29176
29198
|
Va as isObject,
|
|
29177
29199
|
Zp as loadAsyncComponent,
|
|
29178
29200
|
ny as merge,
|
|
29179
|
-
|
|
29201
|
+
dE as registerModuleHostConfiguration,
|
|
29180
29202
|
ry as renameKeys,
|
|
29181
|
-
|
|
29182
|
-
|
|
29183
|
-
|
|
29184
|
-
|
|
29185
|
-
|
|
29186
|
-
|
|
29187
|
-
|
|
29188
|
-
|
|
29203
|
+
fE as saveEntity,
|
|
29204
|
+
jk as setDayjsInstance,
|
|
29205
|
+
cE as setHttpClient,
|
|
29206
|
+
bE as setI18nInstance,
|
|
29207
|
+
Vk as setModuleFederation,
|
|
29208
|
+
_E as setNunjucksEnv,
|
|
29209
|
+
zk as setPiniaStore,
|
|
29210
|
+
EE as setUiDesign,
|
|
29189
29211
|
Tv as uiEventSubject,
|
|
29190
|
-
|
|
29212
|
+
vE as updateEntity,
|
|
29191
29213
|
ib as useDayjs,
|
|
29192
|
-
|
|
29214
|
+
Uk as useDialog,
|
|
29193
29215
|
vS as useFieldValidation,
|
|
29194
|
-
|
|
29195
|
-
|
|
29196
|
-
|
|
29197
|
-
|
|
29216
|
+
ME as useLinidConfigurationStore,
|
|
29217
|
+
OE as useLinidFilterUrl,
|
|
29218
|
+
AE as useLinidUiStore,
|
|
29219
|
+
PE as useLinidUserStore,
|
|
29198
29220
|
rb as useLinidZoneStore,
|
|
29199
|
-
|
|
29200
|
-
|
|
29201
|
-
|
|
29202
|
-
|
|
29221
|
+
yE as useNotify,
|
|
29222
|
+
SE as useNunjucks,
|
|
29223
|
+
wE as usePagination,
|
|
29224
|
+
xE as useQuasarDate,
|
|
29203
29225
|
KC as useQuasarFieldValidation,
|
|
29204
|
-
|
|
29226
|
+
CE as useQuasarRules,
|
|
29205
29227
|
cS as useScopedI18n,
|
|
29206
|
-
|
|
29207
|
-
|
|
29228
|
+
kE as useTree,
|
|
29229
|
+
TE as useUiDesign
|
|
29208
29230
|
};
|