@linagora/linid-im-front-corelib 0.0.73 → 0.0.74
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 +137 -122
- package/dist/core-lib.umd.js +15 -15
- 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 Bk(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 Vk(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
|
+
}), zk = /* @__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 Hk(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 jk(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: Yk,
|
|
5099
|
+
AxiosError: Kk,
|
|
5100
|
+
CanceledError: Xk,
|
|
5101
|
+
isCancel: Gk,
|
|
5102
|
+
CancelToken: Jk,
|
|
5103
|
+
VERSION: Zk,
|
|
5104
|
+
all: eE,
|
|
5105
|
+
Cancel: tE,
|
|
5106
|
+
isAxiosError: nE,
|
|
5107
|
+
spread: rE,
|
|
5108
|
+
toFormData: aE,
|
|
5109
|
+
AxiosHeaders: oE,
|
|
5110
5110
|
HttpStatusCode: pd,
|
|
5111
|
-
formToJSON:
|
|
5112
|
-
getAdapter:
|
|
5113
|
-
mergeConfig:
|
|
5111
|
+
formToJSON: iE,
|
|
5112
|
+
getAdapter: lE,
|
|
5113
|
+
mergeConfig: sE
|
|
5114
5114
|
} = en;
|
|
5115
5115
|
let Ni = null;
|
|
5116
|
-
function
|
|
5116
|
+
function uE(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 cE(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 dE(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 fE(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 vE(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 mE(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 hE(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 gE(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 pE(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 bE() {
|
|
8143
8143
|
function e(t) {
|
|
8144
8144
|
Tv.next({
|
|
8145
8145
|
key: "notify",
|
|
@@ -8149,7 +8149,7 @@ function pE() {
|
|
|
8149
8149
|
return { Notify: e };
|
|
8150
8150
|
}
|
|
8151
8151
|
let Bi = null;
|
|
8152
|
-
function
|
|
8152
|
+
function yE(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 _E() {
|
|
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 yE() {
|
|
|
8179
8179
|
render: t
|
|
8180
8180
|
};
|
|
8181
8181
|
}
|
|
8182
|
-
function
|
|
8182
|
+
function SE() {
|
|
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 wE() {
|
|
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 xE(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 wE(e, t, n, r) {
|
|
|
28297
28297
|
}
|
|
28298
28298
|
}), t.hasValidations && c.push(i(e, t.name)), c;
|
|
28299
28299
|
}
|
|
28300
|
-
function
|
|
28300
|
+
function CE() {
|
|
28301
28301
|
function e(t) {
|
|
28302
28302
|
return t.map((n) => ({
|
|
28303
28303
|
type: n.type,
|
|
@@ -28311,7 +28311,7 @@ function xE() {
|
|
|
28311
28311
|
};
|
|
28312
28312
|
}
|
|
28313
28313
|
let rl = null;
|
|
28314
|
-
function
|
|
28314
|
+
function kE(e) {
|
|
28315
28315
|
if (rl !== null) {
|
|
28316
28316
|
console.warn(
|
|
28317
28317
|
"[LinID CoreLib] UI Design has already been initialized. Re-initialization is ignored."
|
|
@@ -28433,6 +28433,20 @@ const GC = [
|
|
|
28433
28433
|
"cardClass",
|
|
28434
28434
|
"titleClass"
|
|
28435
28435
|
], ik = ["dark", "square", "flat", "bordered"], lk = ["align", "vertical"], sk = ["left", "right", "name", "size", "color"], uk = [
|
|
28436
|
+
"removeAriaLabel",
|
|
28437
|
+
"icon",
|
|
28438
|
+
"iconRight",
|
|
28439
|
+
"iconRemove",
|
|
28440
|
+
"iconSelected",
|
|
28441
|
+
"dense",
|
|
28442
|
+
"size",
|
|
28443
|
+
"dark",
|
|
28444
|
+
"color",
|
|
28445
|
+
"textColor",
|
|
28446
|
+
"square",
|
|
28447
|
+
"outline",
|
|
28448
|
+
"ripple"
|
|
28449
|
+
], ck = [
|
|
28436
28450
|
"toggleOrder",
|
|
28437
28451
|
"toggleIndeterminate",
|
|
28438
28452
|
"keepColor",
|
|
@@ -28446,7 +28460,7 @@ const GC = [
|
|
|
28446
28460
|
"dark",
|
|
28447
28461
|
"dense",
|
|
28448
28462
|
"iconColor"
|
|
28449
|
-
],
|
|
28463
|
+
], dk = [
|
|
28450
28464
|
"toggleOrder",
|
|
28451
28465
|
"toggleIndeterminate",
|
|
28452
28466
|
"keepColor",
|
|
@@ -28457,7 +28471,7 @@ const GC = [
|
|
|
28457
28471
|
"color",
|
|
28458
28472
|
"dark",
|
|
28459
28473
|
"dense"
|
|
28460
|
-
],
|
|
28474
|
+
], fk = [
|
|
28461
28475
|
"autofocus",
|
|
28462
28476
|
"stackLabel",
|
|
28463
28477
|
"hideHint",
|
|
@@ -28483,7 +28497,7 @@ const GC = [
|
|
|
28483
28497
|
"dense",
|
|
28484
28498
|
"itemAligned",
|
|
28485
28499
|
"noErrorIcon"
|
|
28486
|
-
],
|
|
28500
|
+
], vk = [
|
|
28487
28501
|
"landscape",
|
|
28488
28502
|
"yearsInMonthView",
|
|
28489
28503
|
"todayBtn",
|
|
@@ -28495,7 +28509,7 @@ const GC = [
|
|
|
28495
28509
|
"square",
|
|
28496
28510
|
"flat",
|
|
28497
28511
|
"bordered"
|
|
28498
|
-
],
|
|
28512
|
+
], mk = [
|
|
28499
28513
|
"loading",
|
|
28500
28514
|
"loadingShowDelay",
|
|
28501
28515
|
"noSpinner",
|
|
@@ -28517,7 +28531,7 @@ const GC = [
|
|
|
28517
28531
|
"imgStyle",
|
|
28518
28532
|
"spinnerColor",
|
|
28519
28533
|
"spinnerSize"
|
|
28520
|
-
],
|
|
28534
|
+
], hk = [
|
|
28521
28535
|
"autofocus",
|
|
28522
28536
|
"stackLabel",
|
|
28523
28537
|
"hideHint",
|
|
@@ -28540,7 +28554,7 @@ const GC = [
|
|
|
28540
28554
|
"inputClass",
|
|
28541
28555
|
"inputStyle",
|
|
28542
28556
|
"noErrorIcon"
|
|
28543
|
-
],
|
|
28557
|
+
], gk = [
|
|
28544
28558
|
"virtualScrollHorizontal",
|
|
28545
28559
|
"clearable",
|
|
28546
28560
|
"autofocus",
|
|
@@ -28594,7 +28608,7 @@ const GC = [
|
|
|
28594
28608
|
"virtualScrollItemSize",
|
|
28595
28609
|
"virtualScrollStickySizeStart",
|
|
28596
28610
|
"virtualScrollStickySizeEnd"
|
|
28597
|
-
],
|
|
28611
|
+
], pk = [
|
|
28598
28612
|
"persistent",
|
|
28599
28613
|
"noEscDismiss",
|
|
28600
28614
|
"noBackdropDismiss",
|
|
@@ -28614,7 +28628,7 @@ const GC = [
|
|
|
28614
28628
|
"transitionShow",
|
|
28615
28629
|
"transitionHide",
|
|
28616
28630
|
"transitionDuration"
|
|
28617
|
-
],
|
|
28631
|
+
], bk = ["size", "color", "thickness"], yk = [
|
|
28618
28632
|
"split",
|
|
28619
28633
|
"disableMainBtn",
|
|
28620
28634
|
"disableDropdown",
|
|
@@ -28657,14 +28671,14 @@ const GC = [
|
|
|
28657
28671
|
"transitionShow",
|
|
28658
28672
|
"transitionHide",
|
|
28659
28673
|
"transitionDuration"
|
|
28660
|
-
],
|
|
28674
|
+
], _k = ["view", "container"], Sk = [
|
|
28661
28675
|
"separator",
|
|
28662
28676
|
"padding",
|
|
28663
28677
|
"tag",
|
|
28664
28678
|
"bordered",
|
|
28665
28679
|
"dense",
|
|
28666
28680
|
"dark"
|
|
28667
|
-
],
|
|
28681
|
+
], wk = [
|
|
28668
28682
|
"insetLevel",
|
|
28669
28683
|
"tag",
|
|
28670
28684
|
"activeClass",
|
|
@@ -28674,18 +28688,18 @@ const GC = [
|
|
|
28674
28688
|
"focused",
|
|
28675
28689
|
"dark",
|
|
28676
28690
|
"dense"
|
|
28677
|
-
],
|
|
28691
|
+
], xk = [
|
|
28678
28692
|
"avatar",
|
|
28679
28693
|
"thumbnail",
|
|
28680
28694
|
"side",
|
|
28681
28695
|
"top",
|
|
28682
28696
|
"noWrap"
|
|
28683
|
-
],
|
|
28697
|
+
], Ck = [
|
|
28684
28698
|
"autofocus",
|
|
28685
28699
|
"noErrorFocus",
|
|
28686
28700
|
"noResetFocus",
|
|
28687
28701
|
"greedy"
|
|
28688
|
-
],
|
|
28702
|
+
], kk = ["lines", "overline", "caption", "header"], Ek = ["inlineActions", "dense", "rounded", "dark"], Tk = [
|
|
28689
28703
|
"contextMenu",
|
|
28690
28704
|
"touchPosition",
|
|
28691
28705
|
"persistent",
|
|
@@ -28707,7 +28721,7 @@ const GC = [
|
|
|
28707
28721
|
"transitionShow",
|
|
28708
28722
|
"transitionHide",
|
|
28709
28723
|
"transitionDuration"
|
|
28710
|
-
],
|
|
28724
|
+
], Ok = [
|
|
28711
28725
|
"tickStrategy",
|
|
28712
28726
|
"noSelectionUnset",
|
|
28713
28727
|
"defaultExpandAll",
|
|
@@ -28721,7 +28735,7 @@ const GC = [
|
|
|
28721
28735
|
"dense",
|
|
28722
28736
|
"dark",
|
|
28723
28737
|
"duration"
|
|
28724
|
-
],
|
|
28738
|
+
], qk = [
|
|
28725
28739
|
"horizontal",
|
|
28726
28740
|
"limits",
|
|
28727
28741
|
"modelValue",
|
|
@@ -28736,36 +28750,37 @@ const GC = [
|
|
|
28736
28750
|
], hv = {
|
|
28737
28751
|
"q-avatar": rk,
|
|
28738
28752
|
"q-badge": ak,
|
|
28739
|
-
"q-banner":
|
|
28753
|
+
"q-banner": Ek,
|
|
28740
28754
|
"q-btn": GC,
|
|
28741
|
-
"q-btn-dropdown":
|
|
28755
|
+
"q-btn-dropdown": yk,
|
|
28742
28756
|
"q-card": ik,
|
|
28743
28757
|
"q-card-actions": lk,
|
|
28744
|
-
"q-checkbox":
|
|
28745
|
-
"q-date":
|
|
28746
|
-
"q-dialog":
|
|
28747
|
-
"q-file":
|
|
28748
|
-
"q-form":
|
|
28758
|
+
"q-checkbox": dk,
|
|
28759
|
+
"q-date": vk,
|
|
28760
|
+
"q-dialog": pk,
|
|
28761
|
+
"q-file": hk,
|
|
28762
|
+
"q-form": Ck,
|
|
28749
28763
|
"q-header": ek,
|
|
28750
28764
|
"q-icon": sk,
|
|
28751
|
-
"q-
|
|
28752
|
-
"q-
|
|
28753
|
-
"q-
|
|
28754
|
-
"q-item
|
|
28755
|
-
"q-item-
|
|
28756
|
-
"q-
|
|
28757
|
-
"q-
|
|
28758
|
-
"q-
|
|
28765
|
+
"q-chip": uk,
|
|
28766
|
+
"q-img": mk,
|
|
28767
|
+
"q-input": fk,
|
|
28768
|
+
"q-item": wk,
|
|
28769
|
+
"q-item-label": kk,
|
|
28770
|
+
"q-item-section": xk,
|
|
28771
|
+
"q-layout": _k,
|
|
28772
|
+
"q-list": Sk,
|
|
28773
|
+
"q-menu": Tk,
|
|
28759
28774
|
"q-route-tab": ZC,
|
|
28760
|
-
"q-select":
|
|
28761
|
-
"q-spinner":
|
|
28775
|
+
"q-select": gk,
|
|
28776
|
+
"q-spinner": bk,
|
|
28762
28777
|
"q-table": ok,
|
|
28763
28778
|
"q-tabs": JC,
|
|
28764
|
-
"q-toggle":
|
|
28779
|
+
"q-toggle": ck,
|
|
28765
28780
|
"q-toolbar": tk,
|
|
28766
28781
|
"q-toolbar-title": nk,
|
|
28767
|
-
"q-tree":
|
|
28768
|
-
"q-splitter":
|
|
28782
|
+
"q-tree": Ok,
|
|
28783
|
+
"q-splitter": qk
|
|
28769
28784
|
};
|
|
28770
28785
|
function gv(e, t) {
|
|
28771
28786
|
return t.split(".").reduce((n, r) => {
|
|
@@ -28773,7 +28788,7 @@ function gv(e, t) {
|
|
|
28773
28788
|
return n[r];
|
|
28774
28789
|
}, e);
|
|
28775
28790
|
}
|
|
28776
|
-
function
|
|
28791
|
+
function Mk(e, t, n) {
|
|
28777
28792
|
let r = gv(e, `${t}.${n}`);
|
|
28778
28793
|
if (r === void 0 && (r = gv(e, `default.${n}`)), typeof r == "object")
|
|
28779
28794
|
throw new Error(
|
|
@@ -28781,26 +28796,26 @@ function qk(e, t, n) {
|
|
|
28781
28796
|
);
|
|
28782
28797
|
return r;
|
|
28783
28798
|
}
|
|
28784
|
-
function
|
|
28799
|
+
function Ak(e) {
|
|
28785
28800
|
if (!(e in hv))
|
|
28786
28801
|
throw new Error(
|
|
28787
28802
|
`[UiDesign] The component '${e}' is not supported for UI design retrieval.`
|
|
28788
28803
|
);
|
|
28789
28804
|
return hv[e];
|
|
28790
28805
|
}
|
|
28791
|
-
function
|
|
28806
|
+
function EE() {
|
|
28792
28807
|
const e = h(() => XC());
|
|
28793
28808
|
function t(n, r, a) {
|
|
28794
|
-
const o =
|
|
28809
|
+
const o = Ak(r), i = {};
|
|
28795
28810
|
for (const l of o) {
|
|
28796
|
-
const c = a?.[l] ??
|
|
28811
|
+
const c = a?.[l] ?? Mk(e.value, n, `${r}.${String(l)}`);
|
|
28797
28812
|
c !== void 0 && (i[l] = c);
|
|
28798
28813
|
}
|
|
28799
28814
|
return i;
|
|
28800
28815
|
}
|
|
28801
28816
|
return { ui: t };
|
|
28802
28817
|
}
|
|
28803
|
-
const pv = "|", Ms = "not_",
|
|
28818
|
+
const pv = "|", Ms = "not_", Pk = ["lk_", "gt_", "lt_"];
|
|
28804
28819
|
class gc {
|
|
28805
28820
|
/**
|
|
28806
28821
|
* Whether the comparison must be negated.
|
|
@@ -28831,7 +28846,7 @@ class gc {
|
|
|
28831
28846
|
static fromString(t) {
|
|
28832
28847
|
let n = t, r = !1;
|
|
28833
28848
|
n.startsWith(Ms) && (r = !0, n = n.slice(Ms.length));
|
|
28834
|
-
const a =
|
|
28849
|
+
const a = Pk.find((o) => n.startsWith(o)) ?? "";
|
|
28835
28850
|
return new gc(
|
|
28836
28851
|
r,
|
|
28837
28852
|
a,
|
|
@@ -28905,7 +28920,7 @@ class pc {
|
|
|
28905
28920
|
return this.values.map((t) => t.toString()).join(pv);
|
|
28906
28921
|
}
|
|
28907
28922
|
}
|
|
28908
|
-
function
|
|
28923
|
+
function TE(e, t) {
|
|
28909
28924
|
function n(a, o) {
|
|
28910
28925
|
const i = Object.fromEntries(
|
|
28911
28926
|
Object.entries(t.query).filter(([l]) => o.includes(l))
|
|
@@ -28932,20 +28947,20 @@ function EE(e, t) {
|
|
|
28932
28947
|
}
|
|
28933
28948
|
return { setFiltersInUrl: n, getFiltersFromUrl: r };
|
|
28934
28949
|
}
|
|
28935
|
-
async function
|
|
28950
|
+
async function Lk() {
|
|
28936
28951
|
return (await pr().get("/metadata/entities")).data;
|
|
28937
28952
|
}
|
|
28938
|
-
async function
|
|
28953
|
+
async function OE(e) {
|
|
28939
28954
|
return (await pr().get(
|
|
28940
28955
|
`/metadata/entities/${e}`
|
|
28941
28956
|
)).data;
|
|
28942
28957
|
}
|
|
28943
|
-
async function
|
|
28958
|
+
async function Rk() {
|
|
28944
28959
|
return (await pr().get(
|
|
28945
28960
|
"/metadata/routes"
|
|
28946
28961
|
)).data;
|
|
28947
28962
|
}
|
|
28948
|
-
const
|
|
28963
|
+
const qE = () => Nk(il()), Nk = /* @__PURE__ */ ol("LinidConfigurationStore", {
|
|
28949
28964
|
state: () => ({
|
|
28950
28965
|
entities: [],
|
|
28951
28966
|
apiEndpoints: [],
|
|
@@ -28976,8 +28991,8 @@ const OE = () => Rk(il()), Rk = /* @__PURE__ */ ol("LinidConfigurationStore", {
|
|
|
28976
28991
|
this.loading = !0, this.error = null;
|
|
28977
28992
|
try {
|
|
28978
28993
|
const [e, t] = await Promise.all([
|
|
28979
|
-
|
|
28980
|
-
|
|
28994
|
+
Lk(),
|
|
28995
|
+
Rk()
|
|
28981
28996
|
]);
|
|
28982
28997
|
this.entities = e, this.apiEndpoints = t;
|
|
28983
28998
|
} catch (e) {
|
|
@@ -28987,7 +29002,7 @@ const OE = () => Rk(il()), Rk = /* @__PURE__ */ ol("LinidConfigurationStore", {
|
|
|
28987
29002
|
}
|
|
28988
29003
|
}
|
|
28989
29004
|
}
|
|
28990
|
-
}),
|
|
29005
|
+
}), ME = () => Dk(il()), Dk = /* @__PURE__ */ ol("LinidUiStore", {
|
|
28991
29006
|
state: () => ({
|
|
28992
29007
|
mainNavigationItems: []
|
|
28993
29008
|
}),
|
|
@@ -29000,7 +29015,7 @@ const OE = () => Rk(il()), Rk = /* @__PURE__ */ ol("LinidConfigurationStore", {
|
|
|
29000
29015
|
this.mainNavigationItems.push(...e);
|
|
29001
29016
|
}
|
|
29002
29017
|
}
|
|
29003
|
-
}),
|
|
29018
|
+
}), AE = () => Ik(il()), Ik = /* @__PURE__ */ ol("LinidUserStore", {
|
|
29004
29019
|
/**
|
|
29005
29020
|
* State properties of the user store.
|
|
29006
29021
|
* @returns The initial state of the user store.
|
|
@@ -29027,8 +29042,8 @@ const OE = () => Rk(il()), Rk = /* @__PURE__ */ ol("LinidConfigurationStore", {
|
|
|
29027
29042
|
}
|
|
29028
29043
|
}
|
|
29029
29044
|
});
|
|
29030
|
-
var
|
|
29031
|
-
class
|
|
29045
|
+
var $k = /* @__PURE__ */ ((e) => (e.SETUP = "setup", e.CONFIGURE = "configure", e.INITIALIZE = "initialize", e.READY = "ready", e.POST_INIT = "postInit", e))($k || {});
|
|
29046
|
+
class PE {
|
|
29032
29047
|
/**
|
|
29033
29048
|
* Unique identifier for the module.
|
|
29034
29049
|
*
|
|
@@ -29132,25 +29147,25 @@ class AE {
|
|
|
29132
29147
|
}
|
|
29133
29148
|
}
|
|
29134
29149
|
export {
|
|
29135
|
-
|
|
29150
|
+
PE as BasicRemoteModule,
|
|
29136
29151
|
Oa as DEFAULT_DATE_FORMAT,
|
|
29137
29152
|
Ms as LINID_FILTER_NEGATION_PREFIX,
|
|
29138
29153
|
pv as LINID_FILTER_OR_SEPARATOR,
|
|
29139
29154
|
pc as LinidFilter,
|
|
29140
29155
|
gc as LinidFilterValue,
|
|
29141
|
-
|
|
29142
|
-
|
|
29156
|
+
zk as LinidZoneRenderer,
|
|
29157
|
+
$k as ModuleLifecyclePhase,
|
|
29143
29158
|
Or as QDATE_DEFAULT_MASK,
|
|
29144
29159
|
Gv as deepEqual,
|
|
29145
29160
|
Ws as deepEqualUnordered,
|
|
29146
|
-
|
|
29147
|
-
|
|
29148
|
-
|
|
29161
|
+
hE as deleteEntityById,
|
|
29162
|
+
gE as fromDot,
|
|
29163
|
+
Rk as getApiEndpointsConfiguration,
|
|
29149
29164
|
ob as getDayjsInstance,
|
|
29150
|
-
|
|
29151
|
-
|
|
29152
|
-
|
|
29153
|
-
|
|
29165
|
+
vE as getEntities,
|
|
29166
|
+
Lk as getEntitiesConfiguration,
|
|
29167
|
+
mE as getEntityById,
|
|
29168
|
+
OE as getEntityConfiguration,
|
|
29154
29169
|
pr as getHttpClient,
|
|
29155
29170
|
uS as getI18nInstance,
|
|
29156
29171
|
Jp as getModuleFederation,
|
|
@@ -29161,33 +29176,33 @@ export {
|
|
|
29161
29176
|
Va as isObject,
|
|
29162
29177
|
Zp as loadAsyncComponent,
|
|
29163
29178
|
ny as merge,
|
|
29164
|
-
|
|
29179
|
+
cE as registerModuleHostConfiguration,
|
|
29165
29180
|
ry as renameKeys,
|
|
29166
|
-
|
|
29167
|
-
|
|
29168
|
-
|
|
29169
|
-
|
|
29170
|
-
|
|
29171
|
-
|
|
29172
|
-
|
|
29173
|
-
|
|
29181
|
+
dE as saveEntity,
|
|
29182
|
+
Hk as setDayjsInstance,
|
|
29183
|
+
uE as setHttpClient,
|
|
29184
|
+
pE as setI18nInstance,
|
|
29185
|
+
Bk as setModuleFederation,
|
|
29186
|
+
yE as setNunjucksEnv,
|
|
29187
|
+
Vk as setPiniaStore,
|
|
29188
|
+
kE as setUiDesign,
|
|
29174
29189
|
Tv as uiEventSubject,
|
|
29175
|
-
|
|
29190
|
+
fE as updateEntity,
|
|
29176
29191
|
ib as useDayjs,
|
|
29177
|
-
|
|
29192
|
+
jk as useDialog,
|
|
29178
29193
|
vS as useFieldValidation,
|
|
29179
|
-
|
|
29180
|
-
|
|
29181
|
-
|
|
29182
|
-
|
|
29194
|
+
qE as useLinidConfigurationStore,
|
|
29195
|
+
TE as useLinidFilterUrl,
|
|
29196
|
+
ME as useLinidUiStore,
|
|
29197
|
+
AE as useLinidUserStore,
|
|
29183
29198
|
rb as useLinidZoneStore,
|
|
29184
|
-
|
|
29185
|
-
|
|
29186
|
-
|
|
29187
|
-
|
|
29199
|
+
bE as useNotify,
|
|
29200
|
+
_E as useNunjucks,
|
|
29201
|
+
SE as usePagination,
|
|
29202
|
+
wE as useQuasarDate,
|
|
29188
29203
|
KC as useQuasarFieldValidation,
|
|
29189
|
-
|
|
29204
|
+
xE as useQuasarRules,
|
|
29190
29205
|
cS as useScopedI18n,
|
|
29191
|
-
|
|
29192
|
-
|
|
29206
|
+
CE as useTree,
|
|
29207
|
+
EE as useUiDesign
|
|
29193
29208
|
};
|