@linagora/linid-im-front-corelib 0.0.73 → 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 +159 -122
- package/dist/core-lib.umd.js +17 -17
- package/dist/package.json +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/dist/types/src/index.d.ts +1 -1
- package/dist/types/src/types/uiDesign.d.ts +19 -3
- package/package.json +1 -1
package/dist/core-lib.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as 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 pE() {
|
|
|
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 yE() {
|
|
|
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 wE(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 xE() {
|
|
|
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."
|
|
@@ -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,28 @@ const GC = [
|
|
|
28517
28531
|
"imgStyle",
|
|
28518
28532
|
"spinnerColor",
|
|
28519
28533
|
"spinnerSize"
|
|
28520
|
-
],
|
|
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 = [
|
|
28521
28556
|
"autofocus",
|
|
28522
28557
|
"stackLabel",
|
|
28523
28558
|
"hideHint",
|
|
@@ -28540,7 +28575,7 @@ const GC = [
|
|
|
28540
28575
|
"inputClass",
|
|
28541
28576
|
"inputStyle",
|
|
28542
28577
|
"noErrorIcon"
|
|
28543
|
-
],
|
|
28578
|
+
], pk = [
|
|
28544
28579
|
"virtualScrollHorizontal",
|
|
28545
28580
|
"clearable",
|
|
28546
28581
|
"autofocus",
|
|
@@ -28594,7 +28629,7 @@ const GC = [
|
|
|
28594
28629
|
"virtualScrollItemSize",
|
|
28595
28630
|
"virtualScrollStickySizeStart",
|
|
28596
28631
|
"virtualScrollStickySizeEnd"
|
|
28597
|
-
],
|
|
28632
|
+
], bk = [
|
|
28598
28633
|
"persistent",
|
|
28599
28634
|
"noEscDismiss",
|
|
28600
28635
|
"noBackdropDismiss",
|
|
@@ -28614,7 +28649,7 @@ const GC = [
|
|
|
28614
28649
|
"transitionShow",
|
|
28615
28650
|
"transitionHide",
|
|
28616
28651
|
"transitionDuration"
|
|
28617
|
-
],
|
|
28652
|
+
], yk = ["size", "color", "thickness"], _k = [
|
|
28618
28653
|
"split",
|
|
28619
28654
|
"disableMainBtn",
|
|
28620
28655
|
"disableDropdown",
|
|
@@ -28657,14 +28692,14 @@ const GC = [
|
|
|
28657
28692
|
"transitionShow",
|
|
28658
28693
|
"transitionHide",
|
|
28659
28694
|
"transitionDuration"
|
|
28660
|
-
],
|
|
28695
|
+
], Sk = ["view", "container"], wk = [
|
|
28661
28696
|
"separator",
|
|
28662
28697
|
"padding",
|
|
28663
28698
|
"tag",
|
|
28664
28699
|
"bordered",
|
|
28665
28700
|
"dense",
|
|
28666
28701
|
"dark"
|
|
28667
|
-
],
|
|
28702
|
+
], xk = [
|
|
28668
28703
|
"insetLevel",
|
|
28669
28704
|
"tag",
|
|
28670
28705
|
"activeClass",
|
|
@@ -28674,18 +28709,18 @@ const GC = [
|
|
|
28674
28709
|
"focused",
|
|
28675
28710
|
"dark",
|
|
28676
28711
|
"dense"
|
|
28677
|
-
],
|
|
28712
|
+
], Ck = [
|
|
28678
28713
|
"avatar",
|
|
28679
28714
|
"thumbnail",
|
|
28680
28715
|
"side",
|
|
28681
28716
|
"top",
|
|
28682
28717
|
"noWrap"
|
|
28683
|
-
],
|
|
28718
|
+
], kk = [
|
|
28684
28719
|
"autofocus",
|
|
28685
28720
|
"noErrorFocus",
|
|
28686
28721
|
"noResetFocus",
|
|
28687
28722
|
"greedy"
|
|
28688
|
-
],
|
|
28723
|
+
], Ek = ["lines", "overline", "caption", "header"], Tk = ["inlineActions", "dense", "rounded", "dark"], Ok = [
|
|
28689
28724
|
"contextMenu",
|
|
28690
28725
|
"touchPosition",
|
|
28691
28726
|
"persistent",
|
|
@@ -28707,7 +28742,7 @@ const GC = [
|
|
|
28707
28742
|
"transitionShow",
|
|
28708
28743
|
"transitionHide",
|
|
28709
28744
|
"transitionDuration"
|
|
28710
|
-
],
|
|
28745
|
+
], qk = [
|
|
28711
28746
|
"tickStrategy",
|
|
28712
28747
|
"noSelectionUnset",
|
|
28713
28748
|
"defaultExpandAll",
|
|
@@ -28721,7 +28756,7 @@ const GC = [
|
|
|
28721
28756
|
"dense",
|
|
28722
28757
|
"dark",
|
|
28723
28758
|
"duration"
|
|
28724
|
-
],
|
|
28759
|
+
], Mk = [
|
|
28725
28760
|
"horizontal",
|
|
28726
28761
|
"limits",
|
|
28727
28762
|
"modelValue",
|
|
@@ -28736,36 +28771,38 @@ const GC = [
|
|
|
28736
28771
|
], hv = {
|
|
28737
28772
|
"q-avatar": rk,
|
|
28738
28773
|
"q-badge": ak,
|
|
28739
|
-
"q-banner":
|
|
28774
|
+
"q-banner": Tk,
|
|
28740
28775
|
"q-btn": GC,
|
|
28741
|
-
"q-btn-dropdown":
|
|
28776
|
+
"q-btn-dropdown": _k,
|
|
28742
28777
|
"q-card": ik,
|
|
28743
28778
|
"q-card-actions": lk,
|
|
28744
|
-
"q-checkbox":
|
|
28745
|
-
"q-date":
|
|
28746
|
-
"q-dialog":
|
|
28747
|
-
"q-
|
|
28748
|
-
"q-
|
|
28779
|
+
"q-checkbox": dk,
|
|
28780
|
+
"q-date": vk,
|
|
28781
|
+
"q-dialog": bk,
|
|
28782
|
+
"q-field": hk,
|
|
28783
|
+
"q-file": gk,
|
|
28784
|
+
"q-form": kk,
|
|
28749
28785
|
"q-header": ek,
|
|
28750
28786
|
"q-icon": sk,
|
|
28751
|
-
"q-
|
|
28752
|
-
"q-
|
|
28753
|
-
"q-
|
|
28754
|
-
"q-item
|
|
28755
|
-
"q-item-
|
|
28756
|
-
"q-
|
|
28757
|
-
"q-
|
|
28758
|
-
"q-
|
|
28787
|
+
"q-chip": uk,
|
|
28788
|
+
"q-img": mk,
|
|
28789
|
+
"q-input": fk,
|
|
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,
|
|
28759
28796
|
"q-route-tab": ZC,
|
|
28760
|
-
"q-select":
|
|
28761
|
-
"q-spinner":
|
|
28797
|
+
"q-select": pk,
|
|
28798
|
+
"q-spinner": yk,
|
|
28762
28799
|
"q-table": ok,
|
|
28763
28800
|
"q-tabs": JC,
|
|
28764
|
-
"q-toggle":
|
|
28801
|
+
"q-toggle": ck,
|
|
28765
28802
|
"q-toolbar": tk,
|
|
28766
28803
|
"q-toolbar-title": nk,
|
|
28767
|
-
"q-tree":
|
|
28768
|
-
"q-splitter":
|
|
28804
|
+
"q-tree": qk,
|
|
28805
|
+
"q-splitter": Mk
|
|
28769
28806
|
};
|
|
28770
28807
|
function gv(e, t) {
|
|
28771
28808
|
return t.split(".").reduce((n, r) => {
|
|
@@ -28773,7 +28810,7 @@ function gv(e, t) {
|
|
|
28773
28810
|
return n[r];
|
|
28774
28811
|
}, e);
|
|
28775
28812
|
}
|
|
28776
|
-
function
|
|
28813
|
+
function Ak(e, t, n) {
|
|
28777
28814
|
let r = gv(e, `${t}.${n}`);
|
|
28778
28815
|
if (r === void 0 && (r = gv(e, `default.${n}`)), typeof r == "object")
|
|
28779
28816
|
throw new Error(
|
|
@@ -28781,26 +28818,26 @@ function qk(e, t, n) {
|
|
|
28781
28818
|
);
|
|
28782
28819
|
return r;
|
|
28783
28820
|
}
|
|
28784
|
-
function
|
|
28821
|
+
function Pk(e) {
|
|
28785
28822
|
if (!(e in hv))
|
|
28786
28823
|
throw new Error(
|
|
28787
28824
|
`[UiDesign] The component '${e}' is not supported for UI design retrieval.`
|
|
28788
28825
|
);
|
|
28789
28826
|
return hv[e];
|
|
28790
28827
|
}
|
|
28791
|
-
function
|
|
28828
|
+
function TE() {
|
|
28792
28829
|
const e = h(() => XC());
|
|
28793
28830
|
function t(n, r, a) {
|
|
28794
|
-
const o =
|
|
28831
|
+
const o = Pk(r), i = {};
|
|
28795
28832
|
for (const l of o) {
|
|
28796
|
-
const c = a?.[l] ??
|
|
28833
|
+
const c = a?.[l] ?? Ak(e.value, n, `${r}.${String(l)}`);
|
|
28797
28834
|
c !== void 0 && (i[l] = c);
|
|
28798
28835
|
}
|
|
28799
28836
|
return i;
|
|
28800
28837
|
}
|
|
28801
28838
|
return { ui: t };
|
|
28802
28839
|
}
|
|
28803
|
-
const pv = "|", Ms = "not_",
|
|
28840
|
+
const pv = "|", Ms = "not_", Lk = ["lk_", "gt_", "lt_"];
|
|
28804
28841
|
class gc {
|
|
28805
28842
|
/**
|
|
28806
28843
|
* Whether the comparison must be negated.
|
|
@@ -28831,7 +28868,7 @@ class gc {
|
|
|
28831
28868
|
static fromString(t) {
|
|
28832
28869
|
let n = t, r = !1;
|
|
28833
28870
|
n.startsWith(Ms) && (r = !0, n = n.slice(Ms.length));
|
|
28834
|
-
const a =
|
|
28871
|
+
const a = Lk.find((o) => n.startsWith(o)) ?? "";
|
|
28835
28872
|
return new gc(
|
|
28836
28873
|
r,
|
|
28837
28874
|
a,
|
|
@@ -28905,7 +28942,7 @@ class pc {
|
|
|
28905
28942
|
return this.values.map((t) => t.toString()).join(pv);
|
|
28906
28943
|
}
|
|
28907
28944
|
}
|
|
28908
|
-
function
|
|
28945
|
+
function OE(e, t) {
|
|
28909
28946
|
function n(a, o) {
|
|
28910
28947
|
const i = Object.fromEntries(
|
|
28911
28948
|
Object.entries(t.query).filter(([l]) => o.includes(l))
|
|
@@ -28932,20 +28969,20 @@ function EE(e, t) {
|
|
|
28932
28969
|
}
|
|
28933
28970
|
return { setFiltersInUrl: n, getFiltersFromUrl: r };
|
|
28934
28971
|
}
|
|
28935
|
-
async function
|
|
28972
|
+
async function Rk() {
|
|
28936
28973
|
return (await pr().get("/metadata/entities")).data;
|
|
28937
28974
|
}
|
|
28938
|
-
async function
|
|
28975
|
+
async function qE(e) {
|
|
28939
28976
|
return (await pr().get(
|
|
28940
28977
|
`/metadata/entities/${e}`
|
|
28941
28978
|
)).data;
|
|
28942
28979
|
}
|
|
28943
|
-
async function
|
|
28980
|
+
async function Nk() {
|
|
28944
28981
|
return (await pr().get(
|
|
28945
28982
|
"/metadata/routes"
|
|
28946
28983
|
)).data;
|
|
28947
28984
|
}
|
|
28948
|
-
const
|
|
28985
|
+
const ME = () => Dk(il()), Dk = /* @__PURE__ */ ol("LinidConfigurationStore", {
|
|
28949
28986
|
state: () => ({
|
|
28950
28987
|
entities: [],
|
|
28951
28988
|
apiEndpoints: [],
|
|
@@ -28976,8 +29013,8 @@ const OE = () => Rk(il()), Rk = /* @__PURE__ */ ol("LinidConfigurationStore", {
|
|
|
28976
29013
|
this.loading = !0, this.error = null;
|
|
28977
29014
|
try {
|
|
28978
29015
|
const [e, t] = await Promise.all([
|
|
28979
|
-
|
|
28980
|
-
|
|
29016
|
+
Rk(),
|
|
29017
|
+
Nk()
|
|
28981
29018
|
]);
|
|
28982
29019
|
this.entities = e, this.apiEndpoints = t;
|
|
28983
29020
|
} catch (e) {
|
|
@@ -28987,7 +29024,7 @@ const OE = () => Rk(il()), Rk = /* @__PURE__ */ ol("LinidConfigurationStore", {
|
|
|
28987
29024
|
}
|
|
28988
29025
|
}
|
|
28989
29026
|
}
|
|
28990
|
-
}),
|
|
29027
|
+
}), AE = () => Ik(il()), Ik = /* @__PURE__ */ ol("LinidUiStore", {
|
|
28991
29028
|
state: () => ({
|
|
28992
29029
|
mainNavigationItems: []
|
|
28993
29030
|
}),
|
|
@@ -29000,7 +29037,7 @@ const OE = () => Rk(il()), Rk = /* @__PURE__ */ ol("LinidConfigurationStore", {
|
|
|
29000
29037
|
this.mainNavigationItems.push(...e);
|
|
29001
29038
|
}
|
|
29002
29039
|
}
|
|
29003
|
-
}),
|
|
29040
|
+
}), PE = () => $k(il()), $k = /* @__PURE__ */ ol("LinidUserStore", {
|
|
29004
29041
|
/**
|
|
29005
29042
|
* State properties of the user store.
|
|
29006
29043
|
* @returns The initial state of the user store.
|
|
@@ -29027,8 +29064,8 @@ const OE = () => Rk(il()), Rk = /* @__PURE__ */ ol("LinidConfigurationStore", {
|
|
|
29027
29064
|
}
|
|
29028
29065
|
}
|
|
29029
29066
|
});
|
|
29030
|
-
var
|
|
29031
|
-
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 {
|
|
29032
29069
|
/**
|
|
29033
29070
|
* Unique identifier for the module.
|
|
29034
29071
|
*
|
|
@@ -29132,25 +29169,25 @@ class AE {
|
|
|
29132
29169
|
}
|
|
29133
29170
|
}
|
|
29134
29171
|
export {
|
|
29135
|
-
|
|
29172
|
+
LE as BasicRemoteModule,
|
|
29136
29173
|
Oa as DEFAULT_DATE_FORMAT,
|
|
29137
29174
|
Ms as LINID_FILTER_NEGATION_PREFIX,
|
|
29138
29175
|
pv as LINID_FILTER_OR_SEPARATOR,
|
|
29139
29176
|
pc as LinidFilter,
|
|
29140
29177
|
gc as LinidFilterValue,
|
|
29141
|
-
|
|
29142
|
-
|
|
29178
|
+
Hk as LinidZoneRenderer,
|
|
29179
|
+
Fk as ModuleLifecyclePhase,
|
|
29143
29180
|
Or as QDATE_DEFAULT_MASK,
|
|
29144
29181
|
Gv as deepEqual,
|
|
29145
29182
|
Ws as deepEqualUnordered,
|
|
29146
|
-
|
|
29147
|
-
|
|
29148
|
-
|
|
29183
|
+
gE as deleteEntityById,
|
|
29184
|
+
pE as fromDot,
|
|
29185
|
+
Nk as getApiEndpointsConfiguration,
|
|
29149
29186
|
ob as getDayjsInstance,
|
|
29150
|
-
|
|
29151
|
-
|
|
29152
|
-
|
|
29153
|
-
|
|
29187
|
+
mE as getEntities,
|
|
29188
|
+
Rk as getEntitiesConfiguration,
|
|
29189
|
+
hE as getEntityById,
|
|
29190
|
+
qE as getEntityConfiguration,
|
|
29154
29191
|
pr as getHttpClient,
|
|
29155
29192
|
uS as getI18nInstance,
|
|
29156
29193
|
Jp as getModuleFederation,
|
|
@@ -29161,33 +29198,33 @@ export {
|
|
|
29161
29198
|
Va as isObject,
|
|
29162
29199
|
Zp as loadAsyncComponent,
|
|
29163
29200
|
ny as merge,
|
|
29164
|
-
|
|
29201
|
+
dE as registerModuleHostConfiguration,
|
|
29165
29202
|
ry as renameKeys,
|
|
29166
|
-
|
|
29167
|
-
|
|
29168
|
-
|
|
29169
|
-
|
|
29170
|
-
|
|
29171
|
-
|
|
29172
|
-
|
|
29173
|
-
|
|
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,
|
|
29174
29211
|
Tv as uiEventSubject,
|
|
29175
|
-
|
|
29212
|
+
vE as updateEntity,
|
|
29176
29213
|
ib as useDayjs,
|
|
29177
|
-
|
|
29214
|
+
Uk as useDialog,
|
|
29178
29215
|
vS as useFieldValidation,
|
|
29179
|
-
|
|
29180
|
-
|
|
29181
|
-
|
|
29182
|
-
|
|
29216
|
+
ME as useLinidConfigurationStore,
|
|
29217
|
+
OE as useLinidFilterUrl,
|
|
29218
|
+
AE as useLinidUiStore,
|
|
29219
|
+
PE as useLinidUserStore,
|
|
29183
29220
|
rb as useLinidZoneStore,
|
|
29184
|
-
|
|
29185
|
-
|
|
29186
|
-
|
|
29187
|
-
|
|
29221
|
+
yE as useNotify,
|
|
29222
|
+
SE as useNunjucks,
|
|
29223
|
+
wE as usePagination,
|
|
29224
|
+
xE as useQuasarDate,
|
|
29188
29225
|
KC as useQuasarFieldValidation,
|
|
29189
|
-
|
|
29226
|
+
CE as useQuasarRules,
|
|
29190
29227
|
cS as useScopedI18n,
|
|
29191
|
-
|
|
29192
|
-
|
|
29228
|
+
kE as useTree,
|
|
29229
|
+
TE as useUiDesign
|
|
29193
29230
|
};
|