@linagora/linid-im-front-corelib 0.0.74 → 0.0.76
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 +142 -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 +16 -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 zk(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 Hk(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
|
+
}), jk = /* @__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 Uk(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 Wk(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: Xk,
|
|
5099
|
+
AxiosError: Gk,
|
|
5100
|
+
CanceledError: Jk,
|
|
5101
|
+
isCancel: Zk,
|
|
5102
|
+
CancelToken: eE,
|
|
5103
|
+
VERSION: tE,
|
|
5104
|
+
all: nE,
|
|
5105
|
+
Cancel: rE,
|
|
5106
|
+
isAxiosError: aE,
|
|
5107
|
+
spread: oE,
|
|
5108
|
+
toFormData: iE,
|
|
5109
|
+
AxiosHeaders: lE,
|
|
5110
5110
|
HttpStatusCode: pd,
|
|
5111
|
-
formToJSON:
|
|
5112
|
-
getAdapter:
|
|
5113
|
-
mergeConfig:
|
|
5111
|
+
formToJSON: sE,
|
|
5112
|
+
getAdapter: uE,
|
|
5113
|
+
mergeConfig: cE
|
|
5114
5114
|
} = en;
|
|
5115
5115
|
let Ni = null;
|
|
5116
|
-
function
|
|
5116
|
+
function dE(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 fE(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 vE(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 mE(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 hE(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 gE(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 pE(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 bE(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 yE(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 _E() {
|
|
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 SE(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 wE() {
|
|
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 xE() {
|
|
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 CE() {
|
|
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 kE(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 EE() {
|
|
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 TE(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",
|
|
@@ -28747,40 +28768,49 @@ const GC = [
|
|
|
28747
28768
|
"separatorClass",
|
|
28748
28769
|
"separatorStyle",
|
|
28749
28770
|
"dark"
|
|
28771
|
+
], Ak = [
|
|
28772
|
+
"spaced",
|
|
28773
|
+
"inset",
|
|
28774
|
+
"vertical",
|
|
28775
|
+
"dark",
|
|
28776
|
+
"size",
|
|
28777
|
+
"color"
|
|
28750
28778
|
], hv = {
|
|
28751
28779
|
"q-avatar": rk,
|
|
28752
28780
|
"q-badge": ak,
|
|
28753
|
-
"q-banner":
|
|
28781
|
+
"q-banner": Tk,
|
|
28754
28782
|
"q-btn": GC,
|
|
28755
|
-
"q-btn-dropdown":
|
|
28783
|
+
"q-btn-dropdown": _k,
|
|
28756
28784
|
"q-card": ik,
|
|
28757
28785
|
"q-card-actions": lk,
|
|
28758
28786
|
"q-checkbox": dk,
|
|
28759
28787
|
"q-date": vk,
|
|
28760
|
-
"q-dialog":
|
|
28761
|
-
"q-
|
|
28762
|
-
"q-
|
|
28788
|
+
"q-dialog": bk,
|
|
28789
|
+
"q-field": hk,
|
|
28790
|
+
"q-file": gk,
|
|
28791
|
+
"q-form": kk,
|
|
28763
28792
|
"q-header": ek,
|
|
28764
28793
|
"q-icon": sk,
|
|
28765
28794
|
"q-chip": uk,
|
|
28766
28795
|
"q-img": mk,
|
|
28767
28796
|
"q-input": fk,
|
|
28768
|
-
"q-item":
|
|
28769
|
-
"q-item-label":
|
|
28770
|
-
"q-item-section":
|
|
28771
|
-
"q-layout":
|
|
28772
|
-
"q-list":
|
|
28773
|
-
"q-menu":
|
|
28797
|
+
"q-item": xk,
|
|
28798
|
+
"q-item-label": Ek,
|
|
28799
|
+
"q-item-section": Ck,
|
|
28800
|
+
"q-layout": Sk,
|
|
28801
|
+
"q-list": wk,
|
|
28802
|
+
"q-menu": Ok,
|
|
28774
28803
|
"q-route-tab": ZC,
|
|
28775
|
-
"q-select":
|
|
28776
|
-
"q-
|
|
28804
|
+
"q-select": pk,
|
|
28805
|
+
"q-separator": Ak,
|
|
28806
|
+
"q-spinner": yk,
|
|
28807
|
+
"q-splitter": Mk,
|
|
28777
28808
|
"q-table": ok,
|
|
28778
28809
|
"q-tabs": JC,
|
|
28779
28810
|
"q-toggle": ck,
|
|
28780
28811
|
"q-toolbar": tk,
|
|
28781
28812
|
"q-toolbar-title": nk,
|
|
28782
|
-
"q-tree":
|
|
28783
|
-
"q-splitter": qk
|
|
28813
|
+
"q-tree": qk
|
|
28784
28814
|
};
|
|
28785
28815
|
function gv(e, t) {
|
|
28786
28816
|
return t.split(".").reduce((n, r) => {
|
|
@@ -28788,7 +28818,7 @@ function gv(e, t) {
|
|
|
28788
28818
|
return n[r];
|
|
28789
28819
|
}, e);
|
|
28790
28820
|
}
|
|
28791
|
-
function
|
|
28821
|
+
function Pk(e, t, n) {
|
|
28792
28822
|
let r = gv(e, `${t}.${n}`);
|
|
28793
28823
|
if (r === void 0 && (r = gv(e, `default.${n}`)), typeof r == "object")
|
|
28794
28824
|
throw new Error(
|
|
@@ -28796,26 +28826,26 @@ function Mk(e, t, n) {
|
|
|
28796
28826
|
);
|
|
28797
28827
|
return r;
|
|
28798
28828
|
}
|
|
28799
|
-
function
|
|
28829
|
+
function Lk(e) {
|
|
28800
28830
|
if (!(e in hv))
|
|
28801
28831
|
throw new Error(
|
|
28802
28832
|
`[UiDesign] The component '${e}' is not supported for UI design retrieval.`
|
|
28803
28833
|
);
|
|
28804
28834
|
return hv[e];
|
|
28805
28835
|
}
|
|
28806
|
-
function
|
|
28836
|
+
function OE() {
|
|
28807
28837
|
const e = h(() => XC());
|
|
28808
28838
|
function t(n, r, a) {
|
|
28809
|
-
const o =
|
|
28839
|
+
const o = Lk(r), i = {};
|
|
28810
28840
|
for (const l of o) {
|
|
28811
|
-
const c = a?.[l] ??
|
|
28841
|
+
const c = a?.[l] ?? Pk(e.value, n, `${r}.${String(l)}`);
|
|
28812
28842
|
c !== void 0 && (i[l] = c);
|
|
28813
28843
|
}
|
|
28814
28844
|
return i;
|
|
28815
28845
|
}
|
|
28816
28846
|
return { ui: t };
|
|
28817
28847
|
}
|
|
28818
|
-
const pv = "|", Ms = "not_",
|
|
28848
|
+
const pv = "|", Ms = "not_", Rk = ["lk_", "gt_", "lt_"];
|
|
28819
28849
|
class gc {
|
|
28820
28850
|
/**
|
|
28821
28851
|
* Whether the comparison must be negated.
|
|
@@ -28846,7 +28876,7 @@ class gc {
|
|
|
28846
28876
|
static fromString(t) {
|
|
28847
28877
|
let n = t, r = !1;
|
|
28848
28878
|
n.startsWith(Ms) && (r = !0, n = n.slice(Ms.length));
|
|
28849
|
-
const a =
|
|
28879
|
+
const a = Rk.find((o) => n.startsWith(o)) ?? "";
|
|
28850
28880
|
return new gc(
|
|
28851
28881
|
r,
|
|
28852
28882
|
a,
|
|
@@ -28920,7 +28950,7 @@ class pc {
|
|
|
28920
28950
|
return this.values.map((t) => t.toString()).join(pv);
|
|
28921
28951
|
}
|
|
28922
28952
|
}
|
|
28923
|
-
function
|
|
28953
|
+
function qE(e, t) {
|
|
28924
28954
|
function n(a, o) {
|
|
28925
28955
|
const i = Object.fromEntries(
|
|
28926
28956
|
Object.entries(t.query).filter(([l]) => o.includes(l))
|
|
@@ -28947,20 +28977,20 @@ function TE(e, t) {
|
|
|
28947
28977
|
}
|
|
28948
28978
|
return { setFiltersInUrl: n, getFiltersFromUrl: r };
|
|
28949
28979
|
}
|
|
28950
|
-
async function
|
|
28980
|
+
async function Nk() {
|
|
28951
28981
|
return (await pr().get("/metadata/entities")).data;
|
|
28952
28982
|
}
|
|
28953
|
-
async function
|
|
28983
|
+
async function ME(e) {
|
|
28954
28984
|
return (await pr().get(
|
|
28955
28985
|
`/metadata/entities/${e}`
|
|
28956
28986
|
)).data;
|
|
28957
28987
|
}
|
|
28958
|
-
async function
|
|
28988
|
+
async function Dk() {
|
|
28959
28989
|
return (await pr().get(
|
|
28960
28990
|
"/metadata/routes"
|
|
28961
28991
|
)).data;
|
|
28962
28992
|
}
|
|
28963
|
-
const
|
|
28993
|
+
const AE = () => Ik(il()), Ik = /* @__PURE__ */ ol("LinidConfigurationStore", {
|
|
28964
28994
|
state: () => ({
|
|
28965
28995
|
entities: [],
|
|
28966
28996
|
apiEndpoints: [],
|
|
@@ -28991,8 +29021,8 @@ const qE = () => Nk(il()), Nk = /* @__PURE__ */ ol("LinidConfigurationStore", {
|
|
|
28991
29021
|
this.loading = !0, this.error = null;
|
|
28992
29022
|
try {
|
|
28993
29023
|
const [e, t] = await Promise.all([
|
|
28994
|
-
|
|
28995
|
-
|
|
29024
|
+
Nk(),
|
|
29025
|
+
Dk()
|
|
28996
29026
|
]);
|
|
28997
29027
|
this.entities = e, this.apiEndpoints = t;
|
|
28998
29028
|
} catch (e) {
|
|
@@ -29002,7 +29032,7 @@ const qE = () => Nk(il()), Nk = /* @__PURE__ */ ol("LinidConfigurationStore", {
|
|
|
29002
29032
|
}
|
|
29003
29033
|
}
|
|
29004
29034
|
}
|
|
29005
|
-
}),
|
|
29035
|
+
}), PE = () => $k(il()), $k = /* @__PURE__ */ ol("LinidUiStore", {
|
|
29006
29036
|
state: () => ({
|
|
29007
29037
|
mainNavigationItems: []
|
|
29008
29038
|
}),
|
|
@@ -29015,7 +29045,7 @@ const qE = () => Nk(il()), Nk = /* @__PURE__ */ ol("LinidConfigurationStore", {
|
|
|
29015
29045
|
this.mainNavigationItems.push(...e);
|
|
29016
29046
|
}
|
|
29017
29047
|
}
|
|
29018
|
-
}),
|
|
29048
|
+
}), LE = () => Fk(il()), Fk = /* @__PURE__ */ ol("LinidUserStore", {
|
|
29019
29049
|
/**
|
|
29020
29050
|
* State properties of the user store.
|
|
29021
29051
|
* @returns The initial state of the user store.
|
|
@@ -29042,8 +29072,8 @@ const qE = () => Nk(il()), Nk = /* @__PURE__ */ ol("LinidConfigurationStore", {
|
|
|
29042
29072
|
}
|
|
29043
29073
|
}
|
|
29044
29074
|
});
|
|
29045
|
-
var
|
|
29046
|
-
class
|
|
29075
|
+
var Bk = /* @__PURE__ */ ((e) => (e.SETUP = "setup", e.CONFIGURE = "configure", e.INITIALIZE = "initialize", e.READY = "ready", e.POST_INIT = "postInit", e))(Bk || {});
|
|
29076
|
+
class RE {
|
|
29047
29077
|
/**
|
|
29048
29078
|
* Unique identifier for the module.
|
|
29049
29079
|
*
|
|
@@ -29147,25 +29177,25 @@ class PE {
|
|
|
29147
29177
|
}
|
|
29148
29178
|
}
|
|
29149
29179
|
export {
|
|
29150
|
-
|
|
29180
|
+
RE as BasicRemoteModule,
|
|
29151
29181
|
Oa as DEFAULT_DATE_FORMAT,
|
|
29152
29182
|
Ms as LINID_FILTER_NEGATION_PREFIX,
|
|
29153
29183
|
pv as LINID_FILTER_OR_SEPARATOR,
|
|
29154
29184
|
pc as LinidFilter,
|
|
29155
29185
|
gc as LinidFilterValue,
|
|
29156
|
-
|
|
29157
|
-
|
|
29186
|
+
jk as LinidZoneRenderer,
|
|
29187
|
+
Bk as ModuleLifecyclePhase,
|
|
29158
29188
|
Or as QDATE_DEFAULT_MASK,
|
|
29159
29189
|
Gv as deepEqual,
|
|
29160
29190
|
Ws as deepEqualUnordered,
|
|
29161
|
-
|
|
29162
|
-
|
|
29163
|
-
|
|
29191
|
+
pE as deleteEntityById,
|
|
29192
|
+
bE as fromDot,
|
|
29193
|
+
Dk as getApiEndpointsConfiguration,
|
|
29164
29194
|
ob as getDayjsInstance,
|
|
29165
|
-
|
|
29166
|
-
|
|
29167
|
-
|
|
29168
|
-
|
|
29195
|
+
hE as getEntities,
|
|
29196
|
+
Nk as getEntitiesConfiguration,
|
|
29197
|
+
gE as getEntityById,
|
|
29198
|
+
ME as getEntityConfiguration,
|
|
29169
29199
|
pr as getHttpClient,
|
|
29170
29200
|
uS as getI18nInstance,
|
|
29171
29201
|
Jp as getModuleFederation,
|
|
@@ -29176,33 +29206,33 @@ export {
|
|
|
29176
29206
|
Va as isObject,
|
|
29177
29207
|
Zp as loadAsyncComponent,
|
|
29178
29208
|
ny as merge,
|
|
29179
|
-
|
|
29209
|
+
fE as registerModuleHostConfiguration,
|
|
29180
29210
|
ry as renameKeys,
|
|
29181
|
-
|
|
29182
|
-
|
|
29183
|
-
|
|
29184
|
-
|
|
29185
|
-
|
|
29186
|
-
|
|
29187
|
-
|
|
29188
|
-
|
|
29211
|
+
vE as saveEntity,
|
|
29212
|
+
Uk as setDayjsInstance,
|
|
29213
|
+
dE as setHttpClient,
|
|
29214
|
+
yE as setI18nInstance,
|
|
29215
|
+
zk as setModuleFederation,
|
|
29216
|
+
SE as setNunjucksEnv,
|
|
29217
|
+
Hk as setPiniaStore,
|
|
29218
|
+
TE as setUiDesign,
|
|
29189
29219
|
Tv as uiEventSubject,
|
|
29190
|
-
|
|
29220
|
+
mE as updateEntity,
|
|
29191
29221
|
ib as useDayjs,
|
|
29192
|
-
|
|
29222
|
+
Wk as useDialog,
|
|
29193
29223
|
vS as useFieldValidation,
|
|
29194
|
-
|
|
29195
|
-
|
|
29196
|
-
|
|
29197
|
-
|
|
29224
|
+
AE as useLinidConfigurationStore,
|
|
29225
|
+
qE as useLinidFilterUrl,
|
|
29226
|
+
PE as useLinidUiStore,
|
|
29227
|
+
LE as useLinidUserStore,
|
|
29198
29228
|
rb as useLinidZoneStore,
|
|
29199
|
-
|
|
29200
|
-
|
|
29201
|
-
|
|
29202
|
-
|
|
29229
|
+
_E as useNotify,
|
|
29230
|
+
wE as useNunjucks,
|
|
29231
|
+
xE as usePagination,
|
|
29232
|
+
CE as useQuasarDate,
|
|
29203
29233
|
KC as useQuasarFieldValidation,
|
|
29204
|
-
|
|
29234
|
+
kE as useQuasarRules,
|
|
29205
29235
|
cS as useScopedI18n,
|
|
29206
|
-
|
|
29207
|
-
|
|
29236
|
+
EE as useTree,
|
|
29237
|
+
OE as useUiDesign
|
|
29208
29238
|
};
|