@pristy/pristy-libvue 0.18.0 → 0.18.2
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/pristy-libvue.mjs +420 -400
- package/dist/pristy-libvue.umd.js +13 -13
- package/package.json +1 -1
package/dist/pristy-libvue.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AlfrescoApi as Yc, ContentApi as Wc, UploadApi as wc, RenditionsApi as xc, NodesApi as Ec, SitesApi as Gc, SearchApi as hc, PeopleApi as Sc, FavoritesApi as kc, TrashcanApi as Xc, GroupsApi as Uc, SharedlinksApi as vc, VersionsApi as Rc, ActionsApi as Qc, CategoriesApi as Jc, CommentsApi as Fc, DownloadsApi as Bc, TagsApi as fc, AspectsApi as Vc, TypesApi as Hc, WebscriptApi as Pc } from "@alfresco/js-api";
|
|
2
|
-
import { h as _M, getCurrentInstance as Me, effectScope as KM, inject as $M, onMounted as _c, onUnmounted as Kc, shallowRef as $c, ref as Dt, computed as nt, onBeforeMount as qc, watch as
|
|
3
|
-
const B = new Yc(), St = new Wc(B), bN = new wc(B), re = new xc(B), at = new Ec(B), it = new Gc(B), aN = new hc(B),
|
|
2
|
+
import { h as _M, getCurrentInstance as Me, effectScope as KM, inject as $M, onMounted as _c, onUnmounted as Kc, shallowRef as $c, ref as Dt, computed as nt, onBeforeMount as qc, watch as Qe, Fragment as tN, isRef as ge, createVNode as eN, Text as IN, markRaw as Vt, reactive as MN, isReactive as UI, toRef as iI, toRaw as gN, nextTick as MM, getCurrentScope as cN, onScopeDispose as NN, toRefs as gM, openBlock as lN, createElementBlock as iN } from "vue";
|
|
3
|
+
const B = new Yc(), St = new Wc(B), bN = new wc(B), re = new xc(B), at = new Ec(B), it = new Gc(B), aN = new hc(B), pe = new Sc(B), bI = new kc(B), xa = new Xc(B), qM = new Uc(B), Ce = new vc(B), Ht = new Rc(B), Ea = new Qc(B), Ga = new Jc(B), ha = new Fc(B), Sa = new Bc(B), ka = new fc(B), Xa = new Vc(B), Ua = new Hc(B), uN = new Pc(B);
|
|
4
4
|
/*!
|
|
5
5
|
* shared v9.2.2
|
|
6
6
|
* (c) 2022 kazuya kawaguchi
|
|
@@ -15,24 +15,24 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
17
|
const sN = /\{([0-9a-zA-Z]+)\}/g;
|
|
18
|
-
function
|
|
18
|
+
function He(t, ...e) {
|
|
19
19
|
return e.length === 1 && f(e[0]) && (e = e[0]), (!e || !e.hasOwnProperty) && (e = {}), t.replace(sN, (I, M) => e.hasOwnProperty(M) ? e[M] : "");
|
|
20
20
|
}
|
|
21
|
-
const mN = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol", Lt = (t) => mN ? Symbol(t) : t, AN = (t, e, I) => DN({ l: t, k: e, s: I }), DN = (t) => JSON.stringify(t).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), q = (t) => typeof t == "number" && isFinite(t), nN = (t) =>
|
|
21
|
+
const mN = typeof Symbol == "function" && typeof Symbol.toStringTag == "symbol", Lt = (t) => mN ? Symbol(t) : t, AN = (t, e, I) => DN({ l: t, k: e, s: I }), DN = (t) => JSON.stringify(t).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), q = (t) => typeof t == "number" && isFinite(t), nN = (t) => RI(t) === "[object Date]", Ut = (t) => RI(t) === "[object RegExp]", Pe = (t) => h(t) && Object.keys(t).length === 0;
|
|
22
22
|
function ut(t, e) {
|
|
23
23
|
typeof console < "u" && (console.warn("[intlify] " + t), e && console.warn(e.stack));
|
|
24
24
|
}
|
|
25
25
|
const Mt = Object.assign;
|
|
26
26
|
let cM;
|
|
27
|
-
const
|
|
27
|
+
const ye = () => cM || (cM = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
|
|
28
28
|
function NM(t) {
|
|
29
29
|
return t.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
30
30
|
}
|
|
31
31
|
const jN = Object.prototype.hasOwnProperty;
|
|
32
|
-
function
|
|
32
|
+
function vI(t, e) {
|
|
33
33
|
return jN.call(t, e);
|
|
34
34
|
}
|
|
35
|
-
const V = Array.isArray, P = (t) => typeof t == "function", W = (t) => typeof t == "string",
|
|
35
|
+
const V = Array.isArray, P = (t) => typeof t == "function", W = (t) => typeof t == "string", R = (t) => typeof t == "boolean", f = (t) => t !== null && typeof t == "object", tg = Object.prototype.toString, RI = (t) => tg.call(t), h = (t) => RI(t) === "[object Object]", oN = (t) => t == null ? "" : V(t) || h(t) && t.toString === tg ? JSON.stringify(t, null, 2) : String(t), lM = 2;
|
|
36
36
|
function rN(t, e = 0, I = t.length) {
|
|
37
37
|
const M = t.split(/\r?\n/);
|
|
38
38
|
let g = 0;
|
|
@@ -61,7 +61,7 @@ function rN(t, e = 0, I = t.length) {
|
|
|
61
61
|
return c.join(`
|
|
62
62
|
`);
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function QI() {
|
|
65
65
|
const t = /* @__PURE__ */ new Map();
|
|
66
66
|
return {
|
|
67
67
|
events: t,
|
|
@@ -115,8 +115,8 @@ const G = {
|
|
|
115
115
|
[G.UNEXPECTED_EMPTY_LINKED_KEY]: "Unexpected empty linked key",
|
|
116
116
|
[G.UNEXPECTED_LEXICAL_ANALYSIS]: "Unexpected lexical analysis in token: '{0}'"
|
|
117
117
|
};
|
|
118
|
-
function
|
|
119
|
-
const { domain: M, messages: g, args: c } = I, N = process.env.NODE_ENV !== "production" ?
|
|
118
|
+
function _e(t, e, I = {}) {
|
|
119
|
+
const { domain: M, messages: g, args: c } = I, N = process.env.NODE_ENV !== "production" ? He((g || CN)[t] || "", ...c || []) : t, l = new SyntaxError(String(N));
|
|
120
120
|
return l.code = t, e && (l.location = e), l.domain = M, l;
|
|
121
121
|
}
|
|
122
122
|
function TN(t) {
|
|
@@ -125,7 +125,7 @@ function TN(t) {
|
|
|
125
125
|
function zN(t, e, I) {
|
|
126
126
|
return { line: t, column: e, offset: I };
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function TI(t, e, I) {
|
|
129
129
|
const M = { start: t, end: e };
|
|
130
130
|
return I != null && (M.source = I), M;
|
|
131
131
|
}
|
|
@@ -186,7 +186,7 @@ function LN(t, e = {}) {
|
|
|
186
186
|
function A(u, b, n, ...E) {
|
|
187
187
|
const S = a();
|
|
188
188
|
if (b.column += n, b.offset += n, s) {
|
|
189
|
-
const F =
|
|
189
|
+
const F = TI(S.startLoc, b), Tt = _e(u, F, {
|
|
190
190
|
domain: pN,
|
|
191
191
|
args: E
|
|
192
192
|
});
|
|
@@ -196,7 +196,7 @@ function LN(t, e = {}) {
|
|
|
196
196
|
function D(u, b, n) {
|
|
197
197
|
u.endLoc = c(), u.currentType = b;
|
|
198
198
|
const E = { type: b };
|
|
199
|
-
return I && (E.loc =
|
|
199
|
+
return I && (E.loc = TI(u.startLoc, u.endLoc)), n != null && (E.value = n), E;
|
|
200
200
|
}
|
|
201
201
|
const C = (u) => D(u, 14);
|
|
202
202
|
function O(u, b) {
|
|
@@ -528,7 +528,7 @@ function xN(t = {}) {
|
|
|
528
528
|
function M(m, j, Z, T, ...r) {
|
|
529
529
|
const x = m.currentPosition();
|
|
530
530
|
if (x.offset += T, x.column += T, I) {
|
|
531
|
-
const y =
|
|
531
|
+
const y = TI(Z, x), k = _e(j, y, {
|
|
532
532
|
domain: YN,
|
|
533
533
|
args: r
|
|
534
534
|
});
|
|
@@ -671,9 +671,9 @@ function EN(t, e = {}) {
|
|
|
671
671
|
}
|
|
672
672
|
function bM(t, e) {
|
|
673
673
|
for (let I = 0; I < t.length; I++)
|
|
674
|
-
|
|
674
|
+
JI(t[I], e);
|
|
675
675
|
}
|
|
676
|
-
function
|
|
676
|
+
function JI(t, e) {
|
|
677
677
|
switch (t.type) {
|
|
678
678
|
case 1:
|
|
679
679
|
bM(t.cases, e), e.helper("plural");
|
|
@@ -682,7 +682,7 @@ function QI(t, e) {
|
|
|
682
682
|
bM(t.items, e);
|
|
683
683
|
break;
|
|
684
684
|
case 6:
|
|
685
|
-
|
|
685
|
+
JI(t.key, e), e.helper("linked"), e.helper("type");
|
|
686
686
|
break;
|
|
687
687
|
case 5:
|
|
688
688
|
e.helper("interpolate"), e.helper("list");
|
|
@@ -694,7 +694,7 @@ function QI(t, e) {
|
|
|
694
694
|
}
|
|
695
695
|
function GN(t, e = {}) {
|
|
696
696
|
const I = EN(t);
|
|
697
|
-
I.helper("normalize"), t.body &&
|
|
697
|
+
I.helper("normalize"), t.body && JI(t.body, I);
|
|
698
698
|
const M = I.context();
|
|
699
699
|
t.helpers = Array.from(M.helpers);
|
|
700
700
|
}
|
|
@@ -1010,12 +1010,12 @@ function Ml(t = {}) {
|
|
|
1010
1010
|
};
|
|
1011
1011
|
return w;
|
|
1012
1012
|
}
|
|
1013
|
-
let
|
|
1013
|
+
let Le = null;
|
|
1014
1014
|
function gl(t) {
|
|
1015
|
-
|
|
1015
|
+
Le = t;
|
|
1016
1016
|
}
|
|
1017
1017
|
function cl(t, e, I) {
|
|
1018
|
-
|
|
1018
|
+
Le && Le.emit(eg.I18nInit, {
|
|
1019
1019
|
timestamp: Date.now(),
|
|
1020
1020
|
i18n: t,
|
|
1021
1021
|
version: e,
|
|
@@ -1024,7 +1024,7 @@ function cl(t, e, I) {
|
|
|
1024
1024
|
}
|
|
1025
1025
|
const Nl = /* @__PURE__ */ ll(eg.FunctionTranslate);
|
|
1026
1026
|
function ll(t) {
|
|
1027
|
-
return (e) =>
|
|
1027
|
+
return (e) => Le && Le.emit(t, e);
|
|
1028
1028
|
}
|
|
1029
1029
|
const st = {
|
|
1030
1030
|
NOT_FOUND_KEY: 1,
|
|
@@ -1043,7 +1043,7 @@ const st = {
|
|
|
1043
1043
|
[st.FALLBACK_TO_DATE_FORMAT]: "Fall back to datetime format '{key}' key with '{target}' locale."
|
|
1044
1044
|
};
|
|
1045
1045
|
function Ne(t, ...e) {
|
|
1046
|
-
return
|
|
1046
|
+
return He(il[t], ...e);
|
|
1047
1047
|
}
|
|
1048
1048
|
function bl(t, e, I) {
|
|
1049
1049
|
return [.../* @__PURE__ */ new Set([
|
|
@@ -1052,7 +1052,7 @@ function bl(t, e, I) {
|
|
|
1052
1052
|
])];
|
|
1053
1053
|
}
|
|
1054
1054
|
function Ig(t, e, I) {
|
|
1055
|
-
const M = W(I) ? I :
|
|
1055
|
+
const M = W(I) ? I : xe, g = t;
|
|
1056
1056
|
g.__localeChainCache || (g.__localeChainCache = /* @__PURE__ */ new Map());
|
|
1057
1057
|
let c = g.__localeChainCache.get(M);
|
|
1058
1058
|
if (!c) {
|
|
@@ -1067,7 +1067,7 @@ function Ig(t, e, I) {
|
|
|
1067
1067
|
}
|
|
1068
1068
|
function sM(t, e, I) {
|
|
1069
1069
|
let M = !0;
|
|
1070
|
-
for (let g = 0; g < e.length &&
|
|
1070
|
+
for (let g = 0; g < e.length && R(M); g++) {
|
|
1071
1071
|
const c = e[g];
|
|
1072
1072
|
W(c) && (M = al(t, e[g], I));
|
|
1073
1073
|
}
|
|
@@ -1091,7 +1091,7 @@ function ul(t, e, I) {
|
|
|
1091
1091
|
}
|
|
1092
1092
|
return M;
|
|
1093
1093
|
}
|
|
1094
|
-
const sl = "9.2.2",
|
|
1094
|
+
const sl = "9.2.2", Ke = -1, xe = "en-US", Je = "", mM = (t) => `${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;
|
|
1095
1095
|
function ml() {
|
|
1096
1096
|
return {
|
|
1097
1097
|
upper: (t, e) => e === "text" && W(t) ? t.toUpperCase() : e === "vnode" && f(t) && "__v_isVNode" in t ? t.children.toUpperCase() : t,
|
|
@@ -1121,7 +1121,7 @@ const DM = (t) => {
|
|
|
1121
1121
|
}, ol = () => lg;
|
|
1122
1122
|
let nM = 0;
|
|
1123
1123
|
function rl(t = {}) {
|
|
1124
|
-
const e = W(t.version) ? t.version : sl, I = W(t.locale) ? t.locale :
|
|
1124
|
+
const e = W(t.version) ? t.version : sl, I = W(t.locale) ? t.locale : xe, M = V(t.fallbackLocale) || h(t.fallbackLocale) || W(t.fallbackLocale) || t.fallbackLocale === !1 ? t.fallbackLocale : I, g = h(t.messages) ? t.messages : { [I]: {} }, c = h(t.datetimeFormats) ? t.datetimeFormats : { [I]: {} }, N = h(t.numberFormats) ? t.numberFormats : { [I]: {} }, l = Mt({}, t.modifiers || {}, ml()), i = t.pluralRules || {}, a = P(t.missing) ? t.missing : null, s = R(t.missingWarn) || Ut(t.missingWarn) ? t.missingWarn : !0, A = R(t.fallbackWarn) || Ut(t.fallbackWarn) ? t.fallbackWarn : !0, D = !!t.fallbackFormat, C = !!t.unresolving, O = P(t.postTranslation) ? t.postTranslation : null, d = h(t.processor) ? t.processor : null, w = R(t.warnHtmlMessage) ? t.warnHtmlMessage : !0, m = !!t.escapeParameter, j = P(t.messageCompiler) ? t.messageCompiler : Mg, Z = P(t.messageResolver) ? t.messageResolver : gg || HN, T = P(t.localeFallbacker) ? t.localeFallbacker : cg || bl, r = f(t.fallbackContext) ? t.fallbackContext : void 0, x = P(t.onWarn) ? t.onWarn : ut, y = t, k = f(y.__datetimeFormatters) ? y.__datetimeFormatters : /* @__PURE__ */ new Map(), p = f(y.__numberFormatters) ? y.__numberFormatters : /* @__PURE__ */ new Map(), Y = f(y.__meta) ? y.__meta : {};
|
|
1125
1125
|
nM++;
|
|
1126
1126
|
const X = {
|
|
1127
1127
|
version: e,
|
|
@@ -1149,13 +1149,13 @@ function rl(t = {}) {
|
|
|
1149
1149
|
};
|
|
1150
1150
|
return X.datetimeFormats = c, X.numberFormats = N, X.__datetimeFormatters = k, X.__numberFormatters = p, process.env.NODE_ENV !== "production" && (X.__v_emitter = y.__v_emitter != null ? y.__v_emitter : void 0), (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) && cl(X, e, Y), X;
|
|
1151
1151
|
}
|
|
1152
|
-
function
|
|
1152
|
+
function $e(t, e) {
|
|
1153
1153
|
return t instanceof RegExp ? t.test(e) : t;
|
|
1154
1154
|
}
|
|
1155
1155
|
function ig(t, e) {
|
|
1156
1156
|
return t instanceof RegExp ? t.test(e) : t;
|
|
1157
1157
|
}
|
|
1158
|
-
function
|
|
1158
|
+
function FI(t, e, I, M, g) {
|
|
1159
1159
|
const { missing: c, onWarn: N } = t;
|
|
1160
1160
|
if (process.env.NODE_ENV !== "production") {
|
|
1161
1161
|
const l = t.__v_emitter;
|
|
@@ -1172,13 +1172,13 @@ function JI(t, e, I, M, g) {
|
|
|
1172
1172
|
} else
|
|
1173
1173
|
return process.env.NODE_ENV !== "production" && ig(M, e) && N(Ne(st.NOT_FOUND_KEY, { key: e, locale: I })), e;
|
|
1174
1174
|
}
|
|
1175
|
-
function
|
|
1175
|
+
function Te(t, e, I) {
|
|
1176
1176
|
const M = t;
|
|
1177
1177
|
M.__localeChainCache = /* @__PURE__ */ new Map(), t.localeFallbacker(t, I, e);
|
|
1178
1178
|
}
|
|
1179
1179
|
const Cl = /<\/?[\w\s="/.':;#-\/]+>/, Tl = "Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";
|
|
1180
1180
|
function zl(t, e) {
|
|
1181
|
-
(
|
|
1181
|
+
(R(e.warnHtmlMessage) ? e.warnHtmlMessage : !0) && Cl.test(t) && ut(He(Tl, { source: t }));
|
|
1182
1182
|
}
|
|
1183
1183
|
const Ol = (t) => t;
|
|
1184
1184
|
let jM = /* @__PURE__ */ Object.create(null);
|
|
@@ -1198,14 +1198,14 @@ function yl(t, e = {}) {
|
|
|
1198
1198
|
}
|
|
1199
1199
|
}
|
|
1200
1200
|
let bg = G.__EXTEND_POINT__;
|
|
1201
|
-
const
|
|
1201
|
+
const aI = () => ++bg, xt = {
|
|
1202
1202
|
INVALID_ARGUMENT: bg,
|
|
1203
|
-
INVALID_DATE_ARGUMENT:
|
|
1204
|
-
INVALID_ISO_DATE_ARGUMENT:
|
|
1205
|
-
__EXTEND_POINT__:
|
|
1203
|
+
INVALID_DATE_ARGUMENT: aI(),
|
|
1204
|
+
INVALID_ISO_DATE_ARGUMENT: aI(),
|
|
1205
|
+
__EXTEND_POINT__: aI()
|
|
1206
1206
|
};
|
|
1207
1207
|
function Ie(t) {
|
|
1208
|
-
return
|
|
1208
|
+
return _e(t, null, process.env.NODE_ENV !== "production" ? { messages: dl } : void 0);
|
|
1209
1209
|
}
|
|
1210
1210
|
const dl = {
|
|
1211
1211
|
[xt.INVALID_ARGUMENT]: "Invalid arguments",
|
|
@@ -1213,7 +1213,7 @@ const dl = {
|
|
|
1213
1213
|
[xt.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string"
|
|
1214
1214
|
}, oM = () => "", yt = (t) => P(t);
|
|
1215
1215
|
function rM(t, ...e) {
|
|
1216
|
-
const { fallbackFormat: I, postTranslation: M, unresolving: g, messageCompiler: c, fallbackLocale: N, messages: l } = t, [i, a] =
|
|
1216
|
+
const { fallbackFormat: I, postTranslation: M, unresolving: g, messageCompiler: c, fallbackLocale: N, messages: l } = t, [i, a] = zI(...e), s = R(a.missingWarn) ? a.missingWarn : t.missingWarn, A = R(a.fallbackWarn) ? a.fallbackWarn : t.fallbackWarn, D = R(a.escapeParameter) ? a.escapeParameter : t.escapeParameter, C = !!a.resolvedMessage, O = W(a.default) || R(a.default) ? R(a.default) ? c ? i : () => i : a.default : I ? c ? i : () => i : "", d = I || O !== "", w = W(a.locale) ? a.locale : t.locale;
|
|
1217
1217
|
D && Zl(a);
|
|
1218
1218
|
let [m, j, Z] = C ? [
|
|
1219
1219
|
i,
|
|
@@ -1221,7 +1221,7 @@ function rM(t, ...e) {
|
|
|
1221
1221
|
l[w] || {}
|
|
1222
1222
|
] : ag(t, i, w, N, A, s), T = m, r = i;
|
|
1223
1223
|
if (!C && !(W(T) || yt(T)) && d && (T = O, r = T), !C && (!(W(T) || yt(T)) || !W(j)))
|
|
1224
|
-
return g ?
|
|
1224
|
+
return g ? Ke : i;
|
|
1225
1225
|
if (process.env.NODE_ENV !== "production" && W(T) && t.messageCompiler == null)
|
|
1226
1226
|
return ut(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${i}'.`), i;
|
|
1227
1227
|
let x = !1;
|
|
@@ -1253,7 +1253,7 @@ function ag(t, e, I, M, g, c) {
|
|
|
1253
1253
|
let A = {}, D, C = null, O = I, d = null;
|
|
1254
1254
|
const w = "translate";
|
|
1255
1255
|
for (let m = 0; m < s.length; m++) {
|
|
1256
|
-
if (D = d = s[m], process.env.NODE_ENV !== "production" && I !== D &&
|
|
1256
|
+
if (D = d = s[m], process.env.NODE_ENV !== "production" && I !== D && $e(g, e) && l(Ne(st.FALLBACK_TO_TRANSLATE, {
|
|
1257
1257
|
key: e,
|
|
1258
1258
|
target: D
|
|
1259
1259
|
})), process.env.NODE_ENV !== "production" && I !== D) {
|
|
@@ -1280,7 +1280,7 @@ function ag(t, e, I, M, g, c) {
|
|
|
1280
1280
|
}
|
|
1281
1281
|
if (W(C) || P(C))
|
|
1282
1282
|
break;
|
|
1283
|
-
const r =
|
|
1283
|
+
const r = FI(
|
|
1284
1284
|
t,
|
|
1285
1285
|
e,
|
|
1286
1286
|
D,
|
|
@@ -1330,12 +1330,12 @@ function pl(t, e, I) {
|
|
|
1330
1330
|
}
|
|
1331
1331
|
return N;
|
|
1332
1332
|
}
|
|
1333
|
-
function
|
|
1333
|
+
function zI(...t) {
|
|
1334
1334
|
const [e, I, M] = t, g = {};
|
|
1335
1335
|
if (!W(e) && !q(e) && !yt(e))
|
|
1336
1336
|
throw Ie(xt.INVALID_ARGUMENT);
|
|
1337
1337
|
const c = q(e) ? String(e) : (yt(e), e);
|
|
1338
|
-
return q(I) ? g.plural = I : W(I) ? g.default = I : h(I) && !
|
|
1338
|
+
return q(I) ? g.plural = I : W(I) ? g.default = I : h(I) && !Pe(I) ? g.named = I : V(I) && (g.list = I), q(M) ? g.plural = M : W(M) ? g.default = M : h(M) && Mt(g, M), [c, g];
|
|
1339
1339
|
}
|
|
1340
1340
|
function Ll(t, e, I, M, g, c) {
|
|
1341
1341
|
return {
|
|
@@ -1387,8 +1387,8 @@ const CM = typeof Intl < "u", sg = {
|
|
|
1387
1387
|
function TM(t, ...e) {
|
|
1388
1388
|
const { datetimeFormats: I, unresolving: M, fallbackLocale: g, onWarn: c, localeFallbacker: N } = t, { __datetimeFormatters: l } = t;
|
|
1389
1389
|
if (process.env.NODE_ENV !== "production" && !sg.dateTimeFormat)
|
|
1390
|
-
return c(Ne(st.CANNOT_FORMAT_DATE)),
|
|
1391
|
-
const [i, a, s, A] =
|
|
1390
|
+
return c(Ne(st.CANNOT_FORMAT_DATE)), Je;
|
|
1391
|
+
const [i, a, s, A] = OI(...e), D = R(s.missingWarn) ? s.missingWarn : t.missingWarn, C = R(s.fallbackWarn) ? s.fallbackWarn : t.fallbackWarn, O = !!s.part, d = W(s.locale) ? s.locale : t.locale, w = N(
|
|
1392
1392
|
t,
|
|
1393
1393
|
g,
|
|
1394
1394
|
d
|
|
@@ -1398,7 +1398,7 @@ function TM(t, ...e) {
|
|
|
1398
1398
|
let m = {}, j, Z = null, T = d, r = null;
|
|
1399
1399
|
const x = "datetime format";
|
|
1400
1400
|
for (let p = 0; p < w.length; p++) {
|
|
1401
|
-
if (j = r = w[p], process.env.NODE_ENV !== "production" && d !== j &&
|
|
1401
|
+
if (j = r = w[p], process.env.NODE_ENV !== "production" && d !== j && $e(C, i) && c(Ne(st.FALLBACK_TO_DATE_FORMAT, {
|
|
1402
1402
|
key: i,
|
|
1403
1403
|
target: j
|
|
1404
1404
|
})), process.env.NODE_ENV !== "production" && d !== j) {
|
|
@@ -1413,12 +1413,12 @@ function TM(t, ...e) {
|
|
|
1413
1413
|
}
|
|
1414
1414
|
if (m = I[j] || {}, Z = m[i], h(Z))
|
|
1415
1415
|
break;
|
|
1416
|
-
|
|
1416
|
+
FI(t, i, j, D, x), T = r;
|
|
1417
1417
|
}
|
|
1418
1418
|
if (!h(Z) || !W(j))
|
|
1419
|
-
return M ?
|
|
1419
|
+
return M ? Ke : i;
|
|
1420
1420
|
let y = `${j}__${i}`;
|
|
1421
|
-
|
|
1421
|
+
Pe(A) || (y = `${y}__${JSON.stringify(A)}`);
|
|
1422
1422
|
let k = l.get(y);
|
|
1423
1423
|
return k || (k = new Intl.DateTimeFormat(j, Mt({}, Z, A)), l.set(y, k)), O ? k.formatToParts(a) : k.format(a);
|
|
1424
1424
|
}
|
|
@@ -1444,7 +1444,7 @@ const mg = [
|
|
|
1444
1444
|
"hourCycle",
|
|
1445
1445
|
"fractionalSecondDigits"
|
|
1446
1446
|
];
|
|
1447
|
-
function
|
|
1447
|
+
function OI(...t) {
|
|
1448
1448
|
const [e, I, M, g] = t, c = {};
|
|
1449
1449
|
let N = {}, l;
|
|
1450
1450
|
if (W(e)) {
|
|
@@ -1480,8 +1480,8 @@ function zM(t, e, I) {
|
|
|
1480
1480
|
function OM(t, ...e) {
|
|
1481
1481
|
const { numberFormats: I, unresolving: M, fallbackLocale: g, onWarn: c, localeFallbacker: N } = t, { __numberFormatters: l } = t;
|
|
1482
1482
|
if (process.env.NODE_ENV !== "production" && !sg.numberFormat)
|
|
1483
|
-
return c(Ne(st.CANNOT_FORMAT_NUMBER)),
|
|
1484
|
-
const [i, a, s, A] =
|
|
1483
|
+
return c(Ne(st.CANNOT_FORMAT_NUMBER)), Je;
|
|
1484
|
+
const [i, a, s, A] = yI(...e), D = R(s.missingWarn) ? s.missingWarn : t.missingWarn, C = R(s.fallbackWarn) ? s.fallbackWarn : t.fallbackWarn, O = !!s.part, d = W(s.locale) ? s.locale : t.locale, w = N(
|
|
1485
1485
|
t,
|
|
1486
1486
|
g,
|
|
1487
1487
|
d
|
|
@@ -1491,7 +1491,7 @@ function OM(t, ...e) {
|
|
|
1491
1491
|
let m = {}, j, Z = null, T = d, r = null;
|
|
1492
1492
|
const x = "number format";
|
|
1493
1493
|
for (let p = 0; p < w.length; p++) {
|
|
1494
|
-
if (j = r = w[p], process.env.NODE_ENV !== "production" && d !== j &&
|
|
1494
|
+
if (j = r = w[p], process.env.NODE_ENV !== "production" && d !== j && $e(C, i) && c(Ne(st.FALLBACK_TO_NUMBER_FORMAT, {
|
|
1495
1495
|
key: i,
|
|
1496
1496
|
target: j
|
|
1497
1497
|
})), process.env.NODE_ENV !== "production" && d !== j) {
|
|
@@ -1506,12 +1506,12 @@ function OM(t, ...e) {
|
|
|
1506
1506
|
}
|
|
1507
1507
|
if (m = I[j] || {}, Z = m[i], h(Z))
|
|
1508
1508
|
break;
|
|
1509
|
-
|
|
1509
|
+
FI(t, i, j, D, x), T = r;
|
|
1510
1510
|
}
|
|
1511
1511
|
if (!h(Z) || !W(j))
|
|
1512
|
-
return M ?
|
|
1512
|
+
return M ? Ke : i;
|
|
1513
1513
|
let y = `${j}__${i}`;
|
|
1514
|
-
|
|
1514
|
+
Pe(A) || (y = `${y}__${JSON.stringify(A)}`);
|
|
1515
1515
|
let k = l.get(y);
|
|
1516
1516
|
return k || (k = new Intl.NumberFormat(j, Mt({}, Z, A)), l.set(y, k)), O ? k.formatToParts(a) : k.format(a);
|
|
1517
1517
|
}
|
|
@@ -1537,7 +1537,7 @@ const Ag = [
|
|
|
1537
1537
|
"roundingIncrement",
|
|
1538
1538
|
"trailingZeroDisplay"
|
|
1539
1539
|
];
|
|
1540
|
-
function
|
|
1540
|
+
function yI(...t) {
|
|
1541
1541
|
const [e, I, M, g] = t, c = {};
|
|
1542
1542
|
let N = {};
|
|
1543
1543
|
if (!q(e))
|
|
@@ -1554,7 +1554,7 @@ function yM(t, e, I) {
|
|
|
1554
1554
|
!M.__numberFormatters.has(c) || M.__numberFormatters.delete(c);
|
|
1555
1555
|
}
|
|
1556
1556
|
}
|
|
1557
|
-
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (
|
|
1557
|
+
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (ye().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
1558
1558
|
function Wl() {
|
|
1559
1559
|
return Dg().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
1560
1560
|
}
|
|
@@ -1562,13 +1562,13 @@ function Dg() {
|
|
|
1562
1562
|
return typeof navigator < "u" && typeof window < "u" ? window : typeof global < "u" ? global : {};
|
|
1563
1563
|
}
|
|
1564
1564
|
const wl = typeof Proxy == "function", xl = "devtools-plugin:setup", El = "plugin:settings:set";
|
|
1565
|
-
let qt,
|
|
1565
|
+
let qt, dI;
|
|
1566
1566
|
function Gl() {
|
|
1567
1567
|
var t;
|
|
1568
|
-
return qt !== void 0 || (typeof window < "u" && window.performance ? (qt = !0,
|
|
1568
|
+
return qt !== void 0 || (typeof window < "u" && window.performance ? (qt = !0, dI = window.performance) : typeof global < "u" && ((t = global.perf_hooks) === null || t === void 0 ? void 0 : t.performance) ? (qt = !0, dI = global.perf_hooks.performance) : qt = !1), qt;
|
|
1569
1569
|
}
|
|
1570
1570
|
function hl() {
|
|
1571
|
-
return Gl() ?
|
|
1571
|
+
return Gl() ? dI.now() : Date.now();
|
|
1572
1572
|
}
|
|
1573
1573
|
class Sl {
|
|
1574
1574
|
constructor(e, I) {
|
|
@@ -1650,7 +1650,7 @@ function kl(t, e) {
|
|
|
1650
1650
|
* (c) 2022 kazuya kawaguchi
|
|
1651
1651
|
* Released under the MIT License.
|
|
1652
1652
|
*/
|
|
1653
|
-
const
|
|
1653
|
+
const uI = {
|
|
1654
1654
|
["vue-devtools-plugin-vue-i18n"]: "Vue I18n devtools",
|
|
1655
1655
|
["vue-i18n-resource-inspector"]: "I18n Resources",
|
|
1656
1656
|
["vue-i18n-timeline"]: "Vue I18n"
|
|
@@ -1667,7 +1667,7 @@ const aI = {
|
|
|
1667
1667
|
const vl = "9.2.2";
|
|
1668
1668
|
function Rl() {
|
|
1669
1669
|
let t = !1;
|
|
1670
|
-
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (t = !0,
|
|
1670
|
+
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (t = !0, ye().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (t = !0, ye().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (ye().__INTLIFY_PROD_DEVTOOLS__ = !1), process.env.NODE_ENV !== "production" && t && console.warn("You are running the esm-bundler build of vue-i18n. It is recommended to configure your bundler to explicitly replace feature flag globals with boolean literals to get proper tree-shaking in the final bundle.");
|
|
1671
1671
|
}
|
|
1672
1672
|
let ng = st.__EXTEND_POINT__;
|
|
1673
1673
|
const te = () => ++ng, It = {
|
|
@@ -1688,7 +1688,7 @@ const te = () => ++ng, It = {
|
|
|
1688
1688
|
[It.NOT_FOUND_PARENT_SCOPE]: "Not found parent scope. use the global scope."
|
|
1689
1689
|
};
|
|
1690
1690
|
function rt(t, ...e) {
|
|
1691
|
-
return
|
|
1691
|
+
return He(Ql[t], ...e);
|
|
1692
1692
|
}
|
|
1693
1693
|
let jg = G.__EXTEND_POINT__;
|
|
1694
1694
|
const bt = () => ++jg, Q = {
|
|
@@ -1709,7 +1709,7 @@ const bt = () => ++jg, Q = {
|
|
|
1709
1709
|
__EXTEND_POINT__: bt()
|
|
1710
1710
|
};
|
|
1711
1711
|
function K(t, ...e) {
|
|
1712
|
-
return
|
|
1712
|
+
return _e(t, null, process.env.NODE_ENV !== "production" ? { messages: Jl, args: e } : void 0);
|
|
1713
1713
|
}
|
|
1714
1714
|
const Jl = {
|
|
1715
1715
|
[Q.UNEXPECTED_RETURN_TYPE]: "Unexpected return type in composer",
|
|
@@ -1726,51 +1726,51 @@ const Jl = {
|
|
|
1726
1726
|
[Q.BRIDGE_SUPPORT_VUE_2_ONLY]: "vue-i18n-bridge support Vue 2.x only",
|
|
1727
1727
|
[Q.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]: "Must define \u2018i18n\u2019 option or custom block in Composition API with using local scope in Legacy API mode",
|
|
1728
1728
|
[Q.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
|
|
1729
|
-
},
|
|
1729
|
+
}, ZI = /* @__PURE__ */ Lt("__transrateVNode"), pI = /* @__PURE__ */ Lt("__datetimeParts"), LI = /* @__PURE__ */ Lt("__numberParts"), _t = /* @__PURE__ */ Lt("__enableEmitter"), Ye = /* @__PURE__ */ Lt("__disableEmitter"), og = Lt("__setPluralRules");
|
|
1730
1730
|
Lt("__intlifyMeta");
|
|
1731
1731
|
const rg = /* @__PURE__ */ Lt("__injectWithOption");
|
|
1732
|
-
function
|
|
1732
|
+
function YI(t) {
|
|
1733
1733
|
if (!f(t))
|
|
1734
1734
|
return t;
|
|
1735
1735
|
for (const e in t)
|
|
1736
|
-
if (!!
|
|
1736
|
+
if (!!vI(t, e))
|
|
1737
1737
|
if (!e.includes("."))
|
|
1738
|
-
f(t[e]) &&
|
|
1738
|
+
f(t[e]) && YI(t[e]);
|
|
1739
1739
|
else {
|
|
1740
1740
|
const I = e.split("."), M = I.length - 1;
|
|
1741
1741
|
let g = t;
|
|
1742
1742
|
for (let c = 0; c < M; c++)
|
|
1743
1743
|
I[c] in g || (g[I[c]] = {}), g = g[I[c]];
|
|
1744
|
-
g[I[M]] = t[e], delete t[e], f(g[I[M]]) &&
|
|
1744
|
+
g[I[M]] = t[e], delete t[e], f(g[I[M]]) && YI(g[I[M]]);
|
|
1745
1745
|
}
|
|
1746
1746
|
return t;
|
|
1747
1747
|
}
|
|
1748
|
-
function
|
|
1748
|
+
function qe(t, e) {
|
|
1749
1749
|
const { messages: I, __i18n: M, messageResolver: g, flatJson: c } = e, N = h(I) ? I : V(M) ? {} : { [t]: {} };
|
|
1750
1750
|
if (V(M) && M.forEach((l) => {
|
|
1751
1751
|
if ("locale" in l && "resource" in l) {
|
|
1752
1752
|
const { locale: i, resource: a } = l;
|
|
1753
|
-
i ? (N[i] = N[i] || {},
|
|
1753
|
+
i ? (N[i] = N[i] || {}, de(a, N[i])) : de(a, N);
|
|
1754
1754
|
} else
|
|
1755
|
-
W(l) &&
|
|
1755
|
+
W(l) && de(JSON.parse(l), N);
|
|
1756
1756
|
}), g == null && c)
|
|
1757
1757
|
for (const l in N)
|
|
1758
|
-
|
|
1758
|
+
vI(N, l) && YI(N[l]);
|
|
1759
1759
|
return N;
|
|
1760
1760
|
}
|
|
1761
|
-
const
|
|
1762
|
-
function
|
|
1763
|
-
if (
|
|
1761
|
+
const Se = (t) => !f(t) || V(t);
|
|
1762
|
+
function de(t, e) {
|
|
1763
|
+
if (Se(t) || Se(e))
|
|
1764
1764
|
throw K(Q.INVALID_VALUE);
|
|
1765
1765
|
for (const I in t)
|
|
1766
|
-
|
|
1766
|
+
vI(t, I) && (Se(t[I]) || Se(e[I]) ? e[I] = t[I] : de(t[I], e[I]));
|
|
1767
1767
|
}
|
|
1768
1768
|
function Cg(t) {
|
|
1769
1769
|
return t.type;
|
|
1770
1770
|
}
|
|
1771
1771
|
function Tg(t, e, I) {
|
|
1772
1772
|
let M = f(e.messages) ? e.messages : {};
|
|
1773
|
-
"__i18nGlobal" in I && (M =
|
|
1773
|
+
"__i18nGlobal" in I && (M = qe(t.locale.value, {
|
|
1774
1774
|
messages: M,
|
|
1775
1775
|
__i18n: I.__i18nGlobal
|
|
1776
1776
|
}));
|
|
@@ -1806,15 +1806,15 @@ const Fl = () => {
|
|
|
1806
1806
|
let e = null;
|
|
1807
1807
|
return t && (e = Cg(t)[ZM]) ? { [ZM]: e } : null;
|
|
1808
1808
|
};
|
|
1809
|
-
function
|
|
1809
|
+
function BI(t = {}, e) {
|
|
1810
1810
|
const { __root: I } = t, M = I === void 0;
|
|
1811
|
-
let g =
|
|
1811
|
+
let g = R(t.inheritLocale) ? t.inheritLocale : !0;
|
|
1812
1812
|
const c = Dt(
|
|
1813
|
-
I && g ? I.locale.value : W(t.locale) ? t.locale :
|
|
1813
|
+
I && g ? I.locale.value : W(t.locale) ? t.locale : xe
|
|
1814
1814
|
), N = Dt(
|
|
1815
1815
|
I && g ? I.fallbackLocale.value : W(t.fallbackLocale) || V(t.fallbackLocale) || h(t.fallbackLocale) || t.fallbackLocale === !1 ? t.fallbackLocale : c.value
|
|
1816
|
-
), l = Dt(
|
|
1817
|
-
let s = I ? I.missingWarn :
|
|
1816
|
+
), l = Dt(qe(c.value, t)), i = Dt(h(t.datetimeFormats) ? t.datetimeFormats : { [c.value]: {} }), a = Dt(h(t.numberFormats) ? t.numberFormats : { [c.value]: {} });
|
|
1817
|
+
let s = I ? I.missingWarn : R(t.missingWarn) || Ut(t.missingWarn) ? t.missingWarn : !0, A = I ? I.fallbackWarn : R(t.fallbackWarn) || Ut(t.fallbackWarn) ? t.fallbackWarn : !0, D = I ? I.fallbackRoot : R(t.fallbackRoot) ? t.fallbackRoot : !0, C = !!t.fallbackFormat, O = P(t.missing) ? t.missing : null, d = P(t.missing) ? LM(t.missing) : null, w = P(t.postTranslation) ? t.postTranslation : null, m = I ? I.warnHtmlMessage : R(t.warnHtmlMessage) ? t.warnHtmlMessage : !0, j = !!t.escapeParameter;
|
|
1818
1818
|
const Z = I ? I.modifiers : h(t.modifiers) ? t.modifiers : {};
|
|
1819
1819
|
let T = t.pluralRules || I && I.pluralRules, r;
|
|
1820
1820
|
r = (() => {
|
|
@@ -1840,7 +1840,7 @@ function FI(t = {}, e) {
|
|
|
1840
1840
|
z.datetimeFormats = i.value, z.numberFormats = a.value, z.__datetimeFormatters = h(r) ? r.__datetimeFormatters : void 0, z.__numberFormatters = h(r) ? r.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (z.__v_emitter = h(r) ? r.__v_emitter : void 0);
|
|
1841
1841
|
const L = rl(z);
|
|
1842
1842
|
return M && DM(L), L;
|
|
1843
|
-
})(),
|
|
1843
|
+
})(), Te(r, c.value, N.value);
|
|
1844
1844
|
function y() {
|
|
1845
1845
|
return [
|
|
1846
1846
|
c.value,
|
|
@@ -1858,7 +1858,7 @@ function FI(t = {}, e) {
|
|
|
1858
1858
|
}), p = nt({
|
|
1859
1859
|
get: () => N.value,
|
|
1860
1860
|
set: (z) => {
|
|
1861
|
-
N.value = z, r.fallbackLocale = N.value,
|
|
1861
|
+
N.value = z, r.fallbackLocale = N.value, Te(r, c.value, z);
|
|
1862
1862
|
}
|
|
1863
1863
|
}), Y = nt(() => l.value), X = /* @__PURE__ */ nt(() => i.value), H = /* @__PURE__ */ nt(() => a.value);
|
|
1864
1864
|
function et() {
|
|
@@ -1876,7 +1876,7 @@ function FI(t = {}, e) {
|
|
|
1876
1876
|
function $(z, L) {
|
|
1877
1877
|
return z !== "translate" || !L.resolvedMessage;
|
|
1878
1878
|
}
|
|
1879
|
-
const Ct = (z, L, lt, ct,
|
|
1879
|
+
const Ct = (z, L, lt, ct, lI, he) => {
|
|
1880
1880
|
y();
|
|
1881
1881
|
let $t;
|
|
1882
1882
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__)
|
|
@@ -1887,29 +1887,29 @@ function FI(t = {}, e) {
|
|
|
1887
1887
|
}
|
|
1888
1888
|
else
|
|
1889
1889
|
$t = z(r);
|
|
1890
|
-
if (q($t) && $t ===
|
|
1890
|
+
if (q($t) && $t === Ke) {
|
|
1891
1891
|
const [ft, Lc] = L();
|
|
1892
|
-
if (process.env.NODE_ENV !== "production" && I && W(ft) && $(lt, Lc) && (D && (
|
|
1892
|
+
if (process.env.NODE_ENV !== "production" && I && W(ft) && $(lt, Lc) && (D && ($e(A, ft) || ig(s, ft)) && ut(rt(It.FALLBACK_TO_ROOT, {
|
|
1893
1893
|
key: ft,
|
|
1894
1894
|
type: lt
|
|
1895
1895
|
})), process.env.NODE_ENV !== "production")) {
|
|
1896
|
-
const { __v_emitter:
|
|
1897
|
-
|
|
1896
|
+
const { __v_emitter: IM } = r;
|
|
1897
|
+
IM && D && IM.emit("fallback", {
|
|
1898
1898
|
type: lt,
|
|
1899
1899
|
key: ft,
|
|
1900
1900
|
to: "global",
|
|
1901
1901
|
groupId: `${lt}:${ft}`
|
|
1902
1902
|
});
|
|
1903
1903
|
}
|
|
1904
|
-
return I && D ? ct(I) :
|
|
1904
|
+
return I && D ? ct(I) : lI(ft);
|
|
1905
1905
|
} else {
|
|
1906
|
-
if (
|
|
1906
|
+
if (he($t))
|
|
1907
1907
|
return $t;
|
|
1908
1908
|
throw K(Q.UNEXPECTED_RETURN_TYPE);
|
|
1909
1909
|
}
|
|
1910
1910
|
};
|
|
1911
1911
|
function Qt(...z) {
|
|
1912
|
-
return Ct((L) => Reflect.apply(rM, null, [L, ...z]), () =>
|
|
1912
|
+
return Ct((L) => Reflect.apply(rM, null, [L, ...z]), () => zI(...z), "translate", (L) => Reflect.apply(L.t, L, [...z]), (L) => L, (L) => W(L));
|
|
1913
1913
|
}
|
|
1914
1914
|
function ae(...z) {
|
|
1915
1915
|
const [L, lt, ct] = z;
|
|
@@ -1918,13 +1918,13 @@ function FI(t = {}, e) {
|
|
|
1918
1918
|
return Qt(L, lt, Mt({ resolvedMessage: !0 }, ct || {}));
|
|
1919
1919
|
}
|
|
1920
1920
|
function ue(...z) {
|
|
1921
|
-
return Ct((L) => Reflect.apply(TM, null, [L, ...z]), () =>
|
|
1921
|
+
return Ct((L) => Reflect.apply(TM, null, [L, ...z]), () => OI(...z), "datetime format", (L) => Reflect.apply(L.d, L, [...z]), () => Je, (L) => W(L));
|
|
1922
1922
|
}
|
|
1923
1923
|
function se(...z) {
|
|
1924
|
-
return Ct((L) => Reflect.apply(OM, null, [L, ...z]), () =>
|
|
1924
|
+
return Ct((L) => Reflect.apply(OM, null, [L, ...z]), () => yI(...z), "number format", (L) => Reflect.apply(L.n, L, [...z]), () => Je, (L) => W(L));
|
|
1925
1925
|
}
|
|
1926
1926
|
function me(z) {
|
|
1927
|
-
return z.map((L) => W(L) || q(L) ||
|
|
1927
|
+
return z.map((L) => W(L) || q(L) || R(L) ? dM(String(L)) : L);
|
|
1928
1928
|
}
|
|
1929
1929
|
const De = {
|
|
1930
1930
|
normalize: me,
|
|
@@ -1943,9 +1943,9 @@ function FI(t = {}, e) {
|
|
|
1943
1943
|
}
|
|
1944
1944
|
return lt;
|
|
1945
1945
|
},
|
|
1946
|
-
() =>
|
|
1946
|
+
() => zI(...z),
|
|
1947
1947
|
"translate",
|
|
1948
|
-
(L) => L[
|
|
1948
|
+
(L) => L[ZI](...z),
|
|
1949
1949
|
(L) => [dM(L)],
|
|
1950
1950
|
(L) => V(L)
|
|
1951
1951
|
);
|
|
@@ -1953,9 +1953,9 @@ function FI(t = {}, e) {
|
|
|
1953
1953
|
function je(...z) {
|
|
1954
1954
|
return Ct(
|
|
1955
1955
|
(L) => Reflect.apply(OM, null, [L, ...z]),
|
|
1956
|
-
() =>
|
|
1956
|
+
() => yI(...z),
|
|
1957
1957
|
"number format",
|
|
1958
|
-
(L) => L[
|
|
1958
|
+
(L) => L[LI](...z),
|
|
1959
1959
|
() => [],
|
|
1960
1960
|
(L) => W(L) || V(L)
|
|
1961
1961
|
);
|
|
@@ -1963,9 +1963,9 @@ function FI(t = {}, e) {
|
|
|
1963
1963
|
function Jt(...z) {
|
|
1964
1964
|
return Ct(
|
|
1965
1965
|
(L) => Reflect.apply(TM, null, [L, ...z]),
|
|
1966
|
-
() =>
|
|
1966
|
+
() => OI(...z),
|
|
1967
1967
|
"datetime format",
|
|
1968
|
-
(L) => L[
|
|
1968
|
+
(L) => L[pI](...z),
|
|
1969
1969
|
() => [],
|
|
1970
1970
|
(L) => W(L) || V(L)
|
|
1971
1971
|
);
|
|
@@ -1981,9 +1981,9 @@ function FI(t = {}, e) {
|
|
|
1981
1981
|
let L = null;
|
|
1982
1982
|
const lt = Ig(r, N.value, c.value);
|
|
1983
1983
|
for (let ct = 0; ct < lt.length; ct++) {
|
|
1984
|
-
const
|
|
1985
|
-
if (
|
|
1986
|
-
L =
|
|
1984
|
+
const lI = l.value[lt[ct]] || {}, he = r.messageResolver(lI, z);
|
|
1985
|
+
if (he != null) {
|
|
1986
|
+
L = he;
|
|
1987
1987
|
break;
|
|
1988
1988
|
}
|
|
1989
1989
|
}
|
|
@@ -2000,7 +2000,7 @@ function FI(t = {}, e) {
|
|
|
2000
2000
|
l.value[z] = L, r.messages = l.value;
|
|
2001
2001
|
}
|
|
2002
2002
|
function n(z, L) {
|
|
2003
|
-
l.value[z] = l.value[z] || {},
|
|
2003
|
+
l.value[z] = l.value[z] || {}, de(L, l.value[z]), r.messages = l.value;
|
|
2004
2004
|
}
|
|
2005
2005
|
function E(z) {
|
|
2006
2006
|
return i.value[z] || {};
|
|
@@ -2020,10 +2020,10 @@ function FI(t = {}, e) {
|
|
|
2020
2020
|
function pc(z, L) {
|
|
2021
2021
|
a.value[z] = Mt(a.value[z] || {}, L), r.numberFormats = a.value, yM(r, z, L);
|
|
2022
2022
|
}
|
|
2023
|
-
pM++, I && pt && (
|
|
2024
|
-
g && (c.value = z, r.locale = z,
|
|
2025
|
-
}),
|
|
2026
|
-
g && (N.value = z, r.fallbackLocale = z,
|
|
2023
|
+
pM++, I && pt && (Qe(I.locale, (z) => {
|
|
2024
|
+
g && (c.value = z, r.locale = z, Te(r, c.value, N.value));
|
|
2025
|
+
}), Qe(I.fallbackLocale, (z) => {
|
|
2026
|
+
g && (N.value = z, r.fallbackLocale = z, Te(r, c.value, N.value));
|
|
2027
2027
|
}));
|
|
2028
2028
|
const _ = {
|
|
2029
2029
|
id: pM,
|
|
@@ -2033,7 +2033,7 @@ function FI(t = {}, e) {
|
|
|
2033
2033
|
return g;
|
|
2034
2034
|
},
|
|
2035
2035
|
set inheritLocale(z) {
|
|
2036
|
-
g = z, z && I && (c.value = I.locale.value, N.value = I.fallbackLocale.value,
|
|
2036
|
+
g = z, z && I && (c.value = I.locale.value, N.value = I.fallbackLocale.value, Te(r, c.value, N.value));
|
|
2037
2037
|
},
|
|
2038
2038
|
get availableLocales() {
|
|
2039
2039
|
return Object.keys(l.value).sort();
|
|
@@ -2094,14 +2094,14 @@ function FI(t = {}, e) {
|
|
|
2094
2094
|
setMissingHandler: gt,
|
|
2095
2095
|
[og]: Ft
|
|
2096
2096
|
};
|
|
2097
|
-
return _.datetimeFormats = X, _.numberFormats = H, _.rt = ae, _.te = ht, _.tm = oe, _.d = ue, _.n = se, _.getDateTimeFormat = E, _.setDateTimeFormat = S, _.mergeDateTimeFormat = F, _.getNumberFormat = Tt, _.setNumberFormat = Wt, _.mergeNumberFormat = pc, _[rg] = t.__injectWithOption, _[
|
|
2097
|
+
return _.datetimeFormats = X, _.numberFormats = H, _.rt = ae, _.te = ht, _.tm = oe, _.d = ue, _.n = se, _.getDateTimeFormat = E, _.setDateTimeFormat = S, _.mergeDateTimeFormat = F, _.getNumberFormat = Tt, _.setNumberFormat = Wt, _.mergeNumberFormat = pc, _[rg] = t.__injectWithOption, _[ZI] = ne, _[pI] = Jt, _[LI] = je, process.env.NODE_ENV !== "production" && (_[_t] = (z) => {
|
|
2098
2098
|
r.__v_emitter = z;
|
|
2099
|
-
}, _[
|
|
2099
|
+
}, _[Ye] = () => {
|
|
2100
2100
|
r.__v_emitter = void 0;
|
|
2101
2101
|
}), _;
|
|
2102
2102
|
}
|
|
2103
2103
|
function Bl(t) {
|
|
2104
|
-
const e = W(t.locale) ? t.locale :
|
|
2104
|
+
const e = W(t.locale) ? t.locale : xe, I = W(t.fallbackLocale) || V(t.fallbackLocale) || h(t.fallbackLocale) || t.fallbackLocale === !1 ? t.fallbackLocale : e, M = P(t.missing) ? t.missing : void 0, g = R(t.silentTranslationWarn) || Ut(t.silentTranslationWarn) ? !t.silentTranslationWarn : !0, c = R(t.silentFallbackWarn) || Ut(t.silentFallbackWarn) ? !t.silentFallbackWarn : !0, N = R(t.fallbackRoot) ? t.fallbackRoot : !0, l = !!t.formatFallbackMessages, i = h(t.modifiers) ? t.modifiers : {}, a = t.pluralizationRules, s = P(t.postTranslation) ? t.postTranslation : void 0, A = W(t.warnHtmlInMessage) ? t.warnHtmlInMessage !== "off" : !0, D = !!t.escapeParameterHtml, C = R(t.sync) ? t.sync : !0;
|
|
2105
2105
|
process.env.NODE_ENV !== "production" && t.formatter && ut(rt(It.NOT_SUPPORTED_FORMATTER)), process.env.NODE_ENV !== "production" && t.preserveDirectiveContent && ut(rt(It.NOT_SUPPORTED_PRESERVE_DIRECTIVE));
|
|
2106
2106
|
let O = t.messages;
|
|
2107
2107
|
if (h(t.sharedMessages)) {
|
|
@@ -2136,9 +2136,9 @@ function Bl(t) {
|
|
|
2136
2136
|
__injectWithOption: m
|
|
2137
2137
|
};
|
|
2138
2138
|
}
|
|
2139
|
-
function
|
|
2139
|
+
function WI(t = {}, e) {
|
|
2140
2140
|
{
|
|
2141
|
-
const I =
|
|
2141
|
+
const I = BI(Bl(t)), M = {
|
|
2142
2142
|
id: I.id,
|
|
2143
2143
|
get locale() {
|
|
2144
2144
|
return I.locale.value;
|
|
@@ -2181,16 +2181,16 @@ function YI(t = {}, e) {
|
|
|
2181
2181
|
I.setMissingHandler(g);
|
|
2182
2182
|
},
|
|
2183
2183
|
get silentTranslationWarn() {
|
|
2184
|
-
return
|
|
2184
|
+
return R(I.missingWarn) ? !I.missingWarn : I.missingWarn;
|
|
2185
2185
|
},
|
|
2186
2186
|
set silentTranslationWarn(g) {
|
|
2187
|
-
I.missingWarn =
|
|
2187
|
+
I.missingWarn = R(g) ? !g : g;
|
|
2188
2188
|
},
|
|
2189
2189
|
get silentFallbackWarn() {
|
|
2190
|
-
return
|
|
2190
|
+
return R(I.fallbackWarn) ? !I.fallbackWarn : I.fallbackWarn;
|
|
2191
2191
|
},
|
|
2192
2192
|
set silentFallbackWarn(g) {
|
|
2193
|
-
I.fallbackWarn =
|
|
2193
|
+
I.fallbackWarn = R(g) ? !g : g;
|
|
2194
2194
|
},
|
|
2195
2195
|
get modifiers() {
|
|
2196
2196
|
return I.modifiers;
|
|
@@ -2314,11 +2314,11 @@ function YI(t = {}, e) {
|
|
|
2314
2314
|
c[_t] && c[_t](g);
|
|
2315
2315
|
}, M.__disableEmitter = () => {
|
|
2316
2316
|
const g = I;
|
|
2317
|
-
g[
|
|
2317
|
+
g[Ye] && g[Ye]();
|
|
2318
2318
|
}), M;
|
|
2319
2319
|
}
|
|
2320
2320
|
}
|
|
2321
|
-
const
|
|
2321
|
+
const fI = {
|
|
2322
2322
|
tag: {
|
|
2323
2323
|
type: [String, Object]
|
|
2324
2324
|
},
|
|
@@ -2346,7 +2346,7 @@ function fl({ slots: t }, e) {
|
|
|
2346
2346
|
function zg(t) {
|
|
2347
2347
|
return tN;
|
|
2348
2348
|
}
|
|
2349
|
-
const
|
|
2349
|
+
const sI = {
|
|
2350
2350
|
name: "i18n-t",
|
|
2351
2351
|
props: Mt({
|
|
2352
2352
|
keypath: {
|
|
@@ -2357,16 +2357,16 @@ const uI = {
|
|
|
2357
2357
|
type: [Number, String],
|
|
2358
2358
|
validator: (t) => q(t) || !isNaN(t)
|
|
2359
2359
|
}
|
|
2360
|
-
},
|
|
2360
|
+
}, fI),
|
|
2361
2361
|
setup(t, e) {
|
|
2362
|
-
const { slots: I, attrs: M } = e, g = t.i18n ||
|
|
2362
|
+
const { slots: I, attrs: M } = e, g = t.i18n || HI({
|
|
2363
2363
|
useScope: t.scope,
|
|
2364
2364
|
__useComponent: !0
|
|
2365
2365
|
});
|
|
2366
2366
|
return () => {
|
|
2367
2367
|
const c = Object.keys(I).filter((A) => A !== "_"), N = {};
|
|
2368
2368
|
t.locale && (N.locale = t.locale), t.plural !== void 0 && (N.plural = W(t.plural) ? +t.plural : t.plural);
|
|
2369
|
-
const l = fl(e, c), i = g[
|
|
2369
|
+
const l = fl(e, c), i = g[ZI](t.keypath, l, N), a = Mt({}, M), s = W(t.tag) || f(t.tag) ? t.tag : zg();
|
|
2370
2370
|
return _M(s, a, i);
|
|
2371
2371
|
};
|
|
2372
2372
|
}
|
|
@@ -2400,10 +2400,10 @@ const YM = {
|
|
|
2400
2400
|
format: {
|
|
2401
2401
|
type: [String, Object]
|
|
2402
2402
|
}
|
|
2403
|
-
},
|
|
2403
|
+
}, fI),
|
|
2404
2404
|
setup(t, e) {
|
|
2405
|
-
const I = t.i18n ||
|
|
2406
|
-
return Og(t, e, Ag, (...M) => I[
|
|
2405
|
+
const I = t.i18n || HI({ useScope: "parent", __useComponent: !0 });
|
|
2406
|
+
return Og(t, e, Ag, (...M) => I[LI](...M));
|
|
2407
2407
|
}
|
|
2408
2408
|
}, WM = {
|
|
2409
2409
|
name: "i18n-d",
|
|
@@ -2415,10 +2415,10 @@ const YM = {
|
|
|
2415
2415
|
format: {
|
|
2416
2416
|
type: [String, Object]
|
|
2417
2417
|
}
|
|
2418
|
-
},
|
|
2418
|
+
}, fI),
|
|
2419
2419
|
setup(t, e) {
|
|
2420
|
-
const I = t.i18n ||
|
|
2421
|
-
return Og(t, e, mg, (...M) => I[
|
|
2420
|
+
const I = t.i18n || HI({ useScope: "parent", __useComponent: !0 });
|
|
2421
|
+
return Og(t, e, mg, (...M) => I[pI](...M));
|
|
2422
2422
|
}
|
|
2423
2423
|
};
|
|
2424
2424
|
function Hl(t, e) {
|
|
@@ -2446,7 +2446,7 @@ function Pl(t) {
|
|
|
2446
2446
|
return {
|
|
2447
2447
|
created: (N, l) => {
|
|
2448
2448
|
const [i, a] = e(l);
|
|
2449
|
-
pt && t.global === a && (N.__i18nWatcher =
|
|
2449
|
+
pt && t.global === a && (N.__i18nWatcher = Qe(a.locale, () => {
|
|
2450
2450
|
l.instance && l.instance.$forceUpdate();
|
|
2451
2451
|
})), N.__composer = a, N.textContent = i;
|
|
2452
2452
|
},
|
|
@@ -2482,32 +2482,32 @@ function xM(t) {
|
|
|
2482
2482
|
return W(I) && (N.locale = I), q(g) && (N.plural = g), q(c) && (N.plural = c), [e, l, N];
|
|
2483
2483
|
}
|
|
2484
2484
|
function _l(t, e, ...I) {
|
|
2485
|
-
const M = h(I[0]) ? I[0] : {}, g = !!M.useI18nComponentName, c =
|
|
2485
|
+
const M = h(I[0]) ? I[0] : {}, g = !!M.useI18nComponentName, c = R(M.globalInstall) ? M.globalInstall : !0;
|
|
2486
2486
|
process.env.NODE_ENV !== "production" && c && g && ut(rt(It.COMPONENT_NAME_LEGACY_COMPATIBLE, {
|
|
2487
|
-
name:
|
|
2488
|
-
})), c && (t.component(g ? "i18n" :
|
|
2487
|
+
name: sI.name
|
|
2488
|
+
})), c && (t.component(g ? "i18n" : sI.name, sI), t.component(YM.name, YM), t.component(WM.name, WM)), t.directive("t", Pl(e));
|
|
2489
2489
|
}
|
|
2490
2490
|
const yg = "vue-i18n: composer properties";
|
|
2491
|
-
let
|
|
2491
|
+
let wI;
|
|
2492
2492
|
async function Kl(t, e) {
|
|
2493
2493
|
return new Promise((I, M) => {
|
|
2494
2494
|
try {
|
|
2495
2495
|
kl({
|
|
2496
2496
|
id: "vue-devtools-plugin-vue-i18n",
|
|
2497
|
-
label:
|
|
2497
|
+
label: uI["vue-devtools-plugin-vue-i18n"],
|
|
2498
2498
|
packageName: "vue-i18n",
|
|
2499
2499
|
homepage: "https://vue-i18n.intlify.dev",
|
|
2500
2500
|
logo: "https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",
|
|
2501
2501
|
componentStateTypes: [yg],
|
|
2502
2502
|
app: t
|
|
2503
2503
|
}, (g) => {
|
|
2504
|
-
|
|
2504
|
+
wI = g, g.on.visitComponentTree(({ componentInstance: N, treeNode: l }) => {
|
|
2505
2505
|
$l(N, l, e);
|
|
2506
2506
|
}), g.on.inspectComponent(({ componentInstance: N, instanceData: l }) => {
|
|
2507
2507
|
N.vnode.el && N.vnode.el.__VUE_I18N__ && l && (e.mode === "legacy" ? N.vnode.el.__VUE_I18N__ !== e.global.__composer && EM(l, N.vnode.el.__VUE_I18N__) : EM(l, N.vnode.el.__VUE_I18N__));
|
|
2508
2508
|
}), g.addInspector({
|
|
2509
2509
|
id: "vue-i18n-resource-inspector",
|
|
2510
|
-
label:
|
|
2510
|
+
label: uI["vue-i18n-resource-inspector"],
|
|
2511
2511
|
icon: "language",
|
|
2512
2512
|
treeFilterPlaceholder: Xl["vue-i18n-resource-inspector"]
|
|
2513
2513
|
}), g.on.getInspectorTree((N) => {
|
|
@@ -2530,7 +2530,7 @@ async function Kl(t, e) {
|
|
|
2530
2530
|
N.app === t && N.inspectorId === "vue-i18n-resource-inspector" && li(N, e);
|
|
2531
2531
|
}), g.addTimelineLayer({
|
|
2532
2532
|
id: "vue-i18n-timeline",
|
|
2533
|
-
label:
|
|
2533
|
+
label: uI["vue-i18n-timeline"],
|
|
2534
2534
|
color: Ul["vue-i18n-timeline"]
|
|
2535
2535
|
}), I(!0);
|
|
2536
2536
|
});
|
|
@@ -2579,7 +2579,7 @@ function EM(t, e) {
|
|
|
2579
2579
|
type: I,
|
|
2580
2580
|
key: "messages",
|
|
2581
2581
|
editable: !1,
|
|
2582
|
-
value:
|
|
2582
|
+
value: VI(e.messages.value)
|
|
2583
2583
|
}), t.state.push({
|
|
2584
2584
|
type: I,
|
|
2585
2585
|
key: "datetimeFormats",
|
|
@@ -2592,11 +2592,11 @@ function EM(t, e) {
|
|
|
2592
2592
|
value: e.numberFormats.value
|
|
2593
2593
|
});
|
|
2594
2594
|
}
|
|
2595
|
-
function
|
|
2595
|
+
function VI(t) {
|
|
2596
2596
|
const e = {};
|
|
2597
2597
|
return Object.keys(t).forEach((I) => {
|
|
2598
2598
|
const M = t[I];
|
|
2599
|
-
P(M) && "source" in M ? e[I] = Ii(M) : f(M) ? e[I] =
|
|
2599
|
+
P(M) && "source" in M ? e[I] = Ii(M) : f(M) ? e[I] = VI(M) : e[I] = M;
|
|
2600
2600
|
}), e;
|
|
2601
2601
|
}
|
|
2602
2602
|
const ql = {
|
|
@@ -2689,7 +2689,7 @@ function Ni(t) {
|
|
|
2689
2689
|
type: g,
|
|
2690
2690
|
key: "messages",
|
|
2691
2691
|
editable: !1,
|
|
2692
|
-
value:
|
|
2692
|
+
value: VI(t.messages.value)
|
|
2693
2693
|
}
|
|
2694
2694
|
];
|
|
2695
2695
|
e[g] = c;
|
|
@@ -2715,10 +2715,10 @@ function Ni(t) {
|
|
|
2715
2715
|
}
|
|
2716
2716
|
return e;
|
|
2717
2717
|
}
|
|
2718
|
-
function
|
|
2719
|
-
if (
|
|
2718
|
+
function We(t, e) {
|
|
2719
|
+
if (wI) {
|
|
2720
2720
|
let I;
|
|
2721
|
-
e && "groupId" in e && (I = e.groupId, delete e.groupId),
|
|
2721
|
+
e && "groupId" in e && (I = e.groupId, delete e.groupId), wI.addTimelineEvent({
|
|
2722
2722
|
layerId: "vue-i18n-timeline",
|
|
2723
2723
|
event: {
|
|
2724
2724
|
title: t,
|
|
@@ -2735,7 +2735,7 @@ function li(t, e) {
|
|
|
2735
2735
|
const I = Zg(t.nodeId, e);
|
|
2736
2736
|
if (I) {
|
|
2737
2737
|
const [M] = t.path;
|
|
2738
|
-
M === "locale" && W(t.state.value) ? I.locale.value = t.state.value : M === "fallbackLocale" && (W(t.state.value) || V(t.state.value) || f(t.state.value)) ? I.fallbackLocale.value = t.state.value : M === "inheritLocale" &&
|
|
2738
|
+
M === "locale" && W(t.state.value) ? I.locale.value = t.state.value : M === "fallbackLocale" && (W(t.state.value) || V(t.state.value) || f(t.state.value)) ? I.fallbackLocale.value = t.state.value : M === "inheritLocale" && R(t.state.value) && (I.inheritLocale = t.state.value);
|
|
2739
2739
|
}
|
|
2740
2740
|
}
|
|
2741
2741
|
function ii(t, e, I) {
|
|
@@ -2747,9 +2747,9 @@ function ii(t, e, I) {
|
|
|
2747
2747
|
const g = this.$options;
|
|
2748
2748
|
if (g.i18n) {
|
|
2749
2749
|
const c = g.i18n;
|
|
2750
|
-
g.__i18n && (c.__i18n = g.__i18n), c.__root = e, this === this.$root ? this.$i18n = GM(t, c) : (c.__injectWithOption = !0, this.$i18n =
|
|
2750
|
+
g.__i18n && (c.__i18n = g.__i18n), c.__root = e, this === this.$root ? this.$i18n = GM(t, c) : (c.__injectWithOption = !0, this.$i18n = WI(c));
|
|
2751
2751
|
} else
|
|
2752
|
-
g.__i18n ? this === this.$root ? this.$i18n = GM(t, g) : this.$i18n =
|
|
2752
|
+
g.__i18n ? this === this.$root ? this.$i18n = GM(t, g) : this.$i18n = WI({
|
|
2753
2753
|
__i18n: g.__i18n,
|
|
2754
2754
|
__injectWithOption: !0,
|
|
2755
2755
|
__root: e
|
|
@@ -2759,15 +2759,15 @@ function ii(t, e, I) {
|
|
|
2759
2759
|
mounted() {
|
|
2760
2760
|
if ((process.env.NODE_ENV !== "production" || !1) && !0 && this.$el && this.$i18n) {
|
|
2761
2761
|
this.$el.__VUE_I18N__ = this.$i18n.__composer;
|
|
2762
|
-
const M = this.__v_emitter =
|
|
2763
|
-
g.__enableEmitter && g.__enableEmitter(M), M.on("*",
|
|
2762
|
+
const M = this.__v_emitter = QI(), g = this.$i18n;
|
|
2763
|
+
g.__enableEmitter && g.__enableEmitter(M), M.on("*", We);
|
|
2764
2764
|
}
|
|
2765
2765
|
},
|
|
2766
2766
|
unmounted() {
|
|
2767
2767
|
const M = Me();
|
|
2768
2768
|
if (!M)
|
|
2769
2769
|
throw K(Q.UNEXPECTED_ERROR);
|
|
2770
|
-
if ((process.env.NODE_ENV !== "production" || !1) && !0 && this.$el && this.$el.__VUE_I18N__ && (this.__v_emitter && (this.__v_emitter.off("*",
|
|
2770
|
+
if ((process.env.NODE_ENV !== "production" || !1) && !0 && this.$el && this.$el.__VUE_I18N__ && (this.__v_emitter && (this.__v_emitter.off("*", We), delete this.__v_emitter), this.$i18n)) {
|
|
2771
2771
|
const g = this.$i18n;
|
|
2772
2772
|
g.__disableEmitter && g.__disableEmitter(), delete this.$el.__VUE_I18N__;
|
|
2773
2773
|
}
|
|
@@ -2777,7 +2777,7 @@ function ii(t, e, I) {
|
|
|
2777
2777
|
}
|
|
2778
2778
|
function GM(t, e) {
|
|
2779
2779
|
t.locale = e.locale || t.locale, t.fallbackLocale = e.fallbackLocale || t.fallbackLocale, t.missing = e.missing || t.missing, t.silentTranslationWarn = e.silentTranslationWarn || t.silentFallbackWarn, t.silentFallbackWarn = e.silentFallbackWarn || t.silentFallbackWarn, t.formatFallbackMessages = e.formatFallbackMessages || t.formatFallbackMessages, t.postTranslation = e.postTranslation || t.postTranslation, t.warnHtmlInMessage = e.warnHtmlInMessage || t.warnHtmlInMessage, t.escapeParameterHtml = e.escapeParameterHtml || t.escapeParameterHtml, t.sync = e.sync || t.sync, t.__composer[og](e.pluralizationRules || t.pluralizationRules);
|
|
2780
|
-
const I =
|
|
2780
|
+
const I = qe(t.locale, {
|
|
2781
2781
|
messages: e.messages,
|
|
2782
2782
|
__i18n: e.__i18n
|
|
2783
2783
|
});
|
|
@@ -2785,7 +2785,7 @@ function GM(t, e) {
|
|
|
2785
2785
|
}
|
|
2786
2786
|
const bi = /* @__PURE__ */ Lt("global-vue-i18n");
|
|
2787
2787
|
function ai(t = {}, e) {
|
|
2788
|
-
const I = __VUE_I18N_LEGACY_API__ &&
|
|
2788
|
+
const I = __VUE_I18N_LEGACY_API__ && R(t.legacy) ? t.legacy : __VUE_I18N_LEGACY_API__, M = R(t.globalInjection) ? t.globalInjection : !0, g = __VUE_I18N_LEGACY_API__ && I ? !!t.allowComposition : !0, c = /* @__PURE__ */ new Map(), [N, l] = ui(t, I), i = Lt(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
|
|
2789
2789
|
function a(D) {
|
|
2790
2790
|
return c.get(D) || null;
|
|
2791
2791
|
}
|
|
@@ -2811,7 +2811,7 @@ function ai(t = {}, e) {
|
|
|
2811
2811
|
}, process.env.NODE_ENV !== "production" || !1) {
|
|
2812
2812
|
if (!await Kl(C, D))
|
|
2813
2813
|
throw K(Q.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
|
|
2814
|
-
const m =
|
|
2814
|
+
const m = QI();
|
|
2815
2815
|
if (I) {
|
|
2816
2816
|
const j = l;
|
|
2817
2817
|
j.__enableEmitter && j.__enableEmitter(m);
|
|
@@ -2819,7 +2819,7 @@ function ai(t = {}, e) {
|
|
|
2819
2819
|
const j = l;
|
|
2820
2820
|
j[_t] && j[_t](m);
|
|
2821
2821
|
}
|
|
2822
|
-
m.on("*",
|
|
2822
|
+
m.on("*", We);
|
|
2823
2823
|
}
|
|
2824
2824
|
},
|
|
2825
2825
|
get global() {
|
|
@@ -2836,7 +2836,7 @@ function ai(t = {}, e) {
|
|
|
2836
2836
|
return D;
|
|
2837
2837
|
}
|
|
2838
2838
|
}
|
|
2839
|
-
function
|
|
2839
|
+
function HI(t = {}) {
|
|
2840
2840
|
const e = Me();
|
|
2841
2841
|
if (e == null)
|
|
2842
2842
|
throw K(Q.MUST_BE_CALL_SETUP_TOP);
|
|
@@ -2858,14 +2858,14 @@ function VI(t = {}) {
|
|
|
2858
2858
|
let l = N.__getInstance(e);
|
|
2859
2859
|
if (l == null) {
|
|
2860
2860
|
const i = Mt({}, t);
|
|
2861
|
-
"__i18n" in g && (i.__i18n = g.__i18n), M && (i.__root = M), l =
|
|
2861
|
+
"__i18n" in g && (i.__i18n = g.__i18n), M && (i.__root = M), l = BI(i), ni(N, e, l), N.__setInstance(e, l);
|
|
2862
2862
|
}
|
|
2863
2863
|
return l;
|
|
2864
2864
|
}
|
|
2865
2865
|
function ui(t, e, I) {
|
|
2866
2866
|
const M = KM();
|
|
2867
2867
|
{
|
|
2868
|
-
const g = __VUE_I18N_LEGACY_API__ && e ? M.run(() =>
|
|
2868
|
+
const g = __VUE_I18N_LEGACY_API__ && e ? M.run(() => WI(t)) : M.run(() => BI(t));
|
|
2869
2869
|
if (g == null)
|
|
2870
2870
|
throw K(Q.UNEXPECTED_ERROR);
|
|
2871
2871
|
return [M, g];
|
|
@@ -2880,7 +2880,7 @@ function si(t) {
|
|
|
2880
2880
|
}
|
|
2881
2881
|
}
|
|
2882
2882
|
function mi(t, e) {
|
|
2883
|
-
return
|
|
2883
|
+
return Pe(t) ? "__i18n" in e ? "local" : "global" : t.useScope ? t.useScope : "local";
|
|
2884
2884
|
}
|
|
2885
2885
|
function Ai(t) {
|
|
2886
2886
|
return t.mode === "composition" ? t.global : t.global.__composer;
|
|
@@ -2907,15 +2907,15 @@ function ni(t, e, I) {
|
|
|
2907
2907
|
let M = null;
|
|
2908
2908
|
_c(() => {
|
|
2909
2909
|
if ((process.env.NODE_ENV !== "production" || !1) && !0 && e.vnode.el) {
|
|
2910
|
-
e.vnode.el.__VUE_I18N__ = I, M =
|
|
2910
|
+
e.vnode.el.__VUE_I18N__ = I, M = QI();
|
|
2911
2911
|
const g = I;
|
|
2912
|
-
g[_t] && g[_t](M), M.on("*",
|
|
2912
|
+
g[_t] && g[_t](M), M.on("*", We);
|
|
2913
2913
|
}
|
|
2914
2914
|
}, e), Kc(() => {
|
|
2915
2915
|
if ((process.env.NODE_ENV !== "production" || !1) && !0 && e.vnode.el && e.vnode.el.__VUE_I18N__) {
|
|
2916
|
-
M && M.off("*",
|
|
2916
|
+
M && M.off("*", We);
|
|
2917
2917
|
const g = I;
|
|
2918
|
-
g[
|
|
2918
|
+
g[Ye] && g[Ye](), delete e.vnode.el.__VUE_I18N__;
|
|
2919
2919
|
}
|
|
2920
2920
|
t.__deleteInstance(e);
|
|
2921
2921
|
}, e);
|
|
@@ -2924,11 +2924,11 @@ function ji(t, e, I, M = {}) {
|
|
|
2924
2924
|
const g = e === "local", c = $c(null);
|
|
2925
2925
|
if (g && t.proxy && !(t.proxy.$options.i18n || t.proxy.$options.__i18n))
|
|
2926
2926
|
throw K(Q.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);
|
|
2927
|
-
const N =
|
|
2928
|
-
g && N ? I.locale.value : W(M.locale) ? M.locale :
|
|
2927
|
+
const N = R(M.inheritLocale) ? M.inheritLocale : !0, l = Dt(
|
|
2928
|
+
g && N ? I.locale.value : W(M.locale) ? M.locale : xe
|
|
2929
2929
|
), i = Dt(
|
|
2930
2930
|
g && N ? I.fallbackLocale.value : W(M.fallbackLocale) || V(M.fallbackLocale) || h(M.fallbackLocale) || M.fallbackLocale === !1 ? M.fallbackLocale : l.value
|
|
2931
|
-
), a = Dt(
|
|
2931
|
+
), a = Dt(qe(l.value, M)), s = Dt(h(M.datetimeFormats) ? M.datetimeFormats : { [l.value]: {} }), A = Dt(h(M.numberFormats) ? M.numberFormats : { [l.value]: {} }), D = g ? I.missingWarn : R(M.missingWarn) || Ut(M.missingWarn) ? M.missingWarn : !0, C = g ? I.fallbackWarn : R(M.fallbackWarn) || Ut(M.fallbackWarn) ? M.fallbackWarn : !0, O = g ? I.fallbackRoot : R(M.fallbackRoot) ? M.fallbackRoot : !0, d = !!M.fallbackFormat, w = P(M.missing) ? M.missing : null, m = P(M.postTranslation) ? M.postTranslation : null, j = g ? I.warnHtmlMessage : R(M.warnHtmlMessage) ? M.warnHtmlMessage : !0, Z = !!M.escapeParameter, T = g ? I.modifiers : h(M.modifiers) ? M.modifiers : {}, r = M.pluralRules || g && I.pluralRules;
|
|
2932
2932
|
function x() {
|
|
2933
2933
|
return [
|
|
2934
2934
|
l.value,
|
|
@@ -3144,7 +3144,7 @@ Dl(PN);
|
|
|
3144
3144
|
nl(Ig);
|
|
3145
3145
|
Rl();
|
|
3146
3146
|
if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
3147
|
-
const t =
|
|
3147
|
+
const t = ye();
|
|
3148
3148
|
t.__INTLIFY__ = !0, gl(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
3149
3149
|
}
|
|
3150
3150
|
process.env.NODE_ENV;
|
|
@@ -3612,12 +3612,12 @@ const pg = "fichier", Lg = "dossier", Yg = {
|
|
|
3612
3612
|
}, Symbol.toStringTag, { value: "Module" })), di = { en: yi, fr: zi };
|
|
3613
3613
|
var PM;
|
|
3614
3614
|
let Zi = (localStorage == null ? void 0 : localStorage.getItem("user.language")) || ((PM = window == null ? void 0 : window.navigator) == null ? void 0 : PM.language) || "fr";
|
|
3615
|
-
const
|
|
3615
|
+
const PI = ai({
|
|
3616
3616
|
locale: Zi,
|
|
3617
3617
|
messages: di,
|
|
3618
3618
|
fallbackLocale: "fr"
|
|
3619
|
-
}), dt =
|
|
3620
|
-
class
|
|
3619
|
+
}), dt = PI.global.t;
|
|
3620
|
+
class xI extends Error {
|
|
3621
3621
|
constructor(e, I, M) {
|
|
3622
3622
|
super(e), this.code = I, this.cause = M;
|
|
3623
3623
|
}
|
|
@@ -3628,7 +3628,7 @@ function pi(t, e) {
|
|
|
3628
3628
|
}
|
|
3629
3629
|
function U(t, e) {
|
|
3630
3630
|
let I = pi(t, e);
|
|
3631
|
-
return new
|
|
3631
|
+
return new xI(I, e.status, e);
|
|
3632
3632
|
}
|
|
3633
3633
|
class Li {
|
|
3634
3634
|
createSharedLinkError(e) {
|
|
@@ -3638,7 +3638,7 @@ class Li {
|
|
|
3638
3638
|
throw U("deleteSharedLink", e);
|
|
3639
3639
|
}
|
|
3640
3640
|
uploadFileError(e, I) {
|
|
3641
|
-
throw e.status === 409 ? new
|
|
3641
|
+
throw e.status === 409 ? new xI(
|
|
3642
3642
|
dt("error.uploadFile.409", { filename: I }),
|
|
3643
3643
|
e.status,
|
|
3644
3644
|
e
|
|
@@ -3655,7 +3655,7 @@ class Li {
|
|
|
3655
3655
|
case 403:
|
|
3656
3656
|
case 404:
|
|
3657
3657
|
case 409:
|
|
3658
|
-
throw new
|
|
3658
|
+
throw new xI(
|
|
3659
3659
|
dt(`error.deleteNode.${e.status}`, { type: dt(I) }),
|
|
3660
3660
|
e.status,
|
|
3661
3661
|
e
|
|
@@ -3757,7 +3757,7 @@ class Li {
|
|
|
3757
3757
|
throw U("getUser", e);
|
|
3758
3758
|
}
|
|
3759
3759
|
}
|
|
3760
|
-
function
|
|
3760
|
+
function mI(t) {
|
|
3761
3761
|
let e = t.error ? t.error.response : JSON.parse(t.message);
|
|
3762
3762
|
switch (e.statusCode === void 0 && (e = e.error), e.statusCode) {
|
|
3763
3763
|
case 400:
|
|
@@ -3795,7 +3795,7 @@ function Ei(t) {
|
|
|
3795
3795
|
function Gi(t) {
|
|
3796
3796
|
throw U("deleteFavorite", t);
|
|
3797
3797
|
}
|
|
3798
|
-
const
|
|
3798
|
+
const v = new Li();
|
|
3799
3799
|
var Mc = { exports: {} }, gc = {};
|
|
3800
3800
|
function ot(t, e) {
|
|
3801
3801
|
typeof e == "boolean" && (e = { forever: e }), this._originalTimeouts = JSON.parse(JSON.stringify(t)), this._timeouts = t, this._options = e || {}, this._maxRetryTime = e && e.maxRetryTime || 1 / 0, this._fn = null, this._errors = [], this._attempts = 1, this._operationTimeout = null, this._operationTimeoutCb = null, this._timeout = null, this._operationStart = null, this._timer = null, this._options.forever && (this._cachedTimeouts = this._timeouts.slice(0));
|
|
@@ -3958,7 +3958,7 @@ class Xi {
|
|
|
3958
3958
|
return bN.uploadFile(M, null, e, null, I).on("progress", (g) => {
|
|
3959
3959
|
console.log("Percent :" + g.percent);
|
|
3960
3960
|
}).then((g) => (this.createAllRendition(g.entry.id), g)).catch((g) => {
|
|
3961
|
-
|
|
3961
|
+
v.uploadFileError(g, M.name);
|
|
3962
3962
|
});
|
|
3963
3963
|
}
|
|
3964
3964
|
createRendition(e, I) {
|
|
@@ -4060,12 +4060,12 @@ class Ui {
|
|
|
4060
4060
|
attachment: I
|
|
4061
4061
|
};
|
|
4062
4062
|
return at.getNodeContent(e, M).catch((g) => {
|
|
4063
|
-
|
|
4063
|
+
v.getVersionContentError(g);
|
|
4064
4064
|
});
|
|
4065
4065
|
}
|
|
4066
4066
|
createNode(e, I) {
|
|
4067
4067
|
return at.createNode(e, I).catch((M) => {
|
|
4068
|
-
|
|
4068
|
+
v.createNodeError(M);
|
|
4069
4069
|
});
|
|
4070
4070
|
}
|
|
4071
4071
|
getChildren(e) {
|
|
@@ -4091,7 +4091,7 @@ class Ui {
|
|
|
4091
4091
|
}
|
|
4092
4092
|
updateNode(e, I) {
|
|
4093
4093
|
return at.updateNode(e, I).catch((M) => {
|
|
4094
|
-
|
|
4094
|
+
v.updateNodeError(M);
|
|
4095
4095
|
});
|
|
4096
4096
|
}
|
|
4097
4097
|
checkVersion(e) {
|
|
@@ -4099,7 +4099,7 @@ class Ui {
|
|
|
4099
4099
|
if (!I.aspectNames.find((M) => M === "cm:versionable")) {
|
|
4100
4100
|
const M = { aspectNames: [...I.aspectNames, "cm:versionable"] };
|
|
4101
4101
|
return at.updateNode(e, M).then(() => "1.0").catch((g) => {
|
|
4102
|
-
g.status === 403 ? console.warn("Can't add version - Fornidden") :
|
|
4102
|
+
g.status === 403 ? console.warn("Can't add version - Fornidden") : v.updateNodeError(g);
|
|
4103
4103
|
});
|
|
4104
4104
|
}
|
|
4105
4105
|
});
|
|
@@ -4107,7 +4107,7 @@ class Ui {
|
|
|
4107
4107
|
deleteNode(e, I) {
|
|
4108
4108
|
const M = {};
|
|
4109
4109
|
return at.deleteNode(e, M).catch((g) => {
|
|
4110
|
-
|
|
4110
|
+
v.deleteNodeError(g, I);
|
|
4111
4111
|
});
|
|
4112
4112
|
}
|
|
4113
4113
|
getParents(e) {
|
|
@@ -4139,7 +4139,7 @@ class Ui {
|
|
|
4139
4139
|
comment: g
|
|
4140
4140
|
};
|
|
4141
4141
|
return at.updateNodeContent(e, I, c).catch((N) => {
|
|
4142
|
-
|
|
4142
|
+
v.updateContentNodeError(N);
|
|
4143
4143
|
});
|
|
4144
4144
|
}
|
|
4145
4145
|
copyNode(e, I, M) {
|
|
@@ -4152,7 +4152,7 @@ class Ui {
|
|
|
4152
4152
|
include: ["path"]
|
|
4153
4153
|
};
|
|
4154
4154
|
return at.copyNode(e, g, c).catch((N) => {
|
|
4155
|
-
|
|
4155
|
+
v.copyNodeError(N);
|
|
4156
4156
|
});
|
|
4157
4157
|
}
|
|
4158
4158
|
moveNode(e, I, M) {
|
|
@@ -4165,7 +4165,7 @@ class Ui {
|
|
|
4165
4165
|
include: ["path"]
|
|
4166
4166
|
};
|
|
4167
4167
|
return at.moveNode(e, g, c).catch((N) => {
|
|
4168
|
-
|
|
4168
|
+
v.moveNodeError(N);
|
|
4169
4169
|
});
|
|
4170
4170
|
}
|
|
4171
4171
|
createSharedLink(e) {
|
|
@@ -4173,13 +4173,13 @@ class Ui {
|
|
|
4173
4173
|
nodeId: e.id,
|
|
4174
4174
|
expiresAt: null
|
|
4175
4175
|
};
|
|
4176
|
-
return
|
|
4177
|
-
|
|
4176
|
+
return Ce.createSharedLink(I).catch((M) => {
|
|
4177
|
+
v.createSharedLinkError(M);
|
|
4178
4178
|
});
|
|
4179
4179
|
}
|
|
4180
4180
|
deleteSharedLink(e) {
|
|
4181
|
-
return
|
|
4182
|
-
|
|
4181
|
+
return Ce.deleteSharedLink(e).catch((I) => {
|
|
4182
|
+
v.deleteSharedLinkError(I);
|
|
4183
4183
|
});
|
|
4184
4184
|
}
|
|
4185
4185
|
revertVersion(e, I) {
|
|
@@ -4190,7 +4190,7 @@ class Ui {
|
|
|
4190
4190
|
include: ["properties"]
|
|
4191
4191
|
};
|
|
4192
4192
|
return Ht.revertVersion(e, I, M, g).catch((c) => {
|
|
4193
|
-
|
|
4193
|
+
v.revertVersionError(c);
|
|
4194
4194
|
});
|
|
4195
4195
|
}
|
|
4196
4196
|
listNodeVersionHistory(e) {
|
|
@@ -4198,7 +4198,7 @@ class Ui {
|
|
|
4198
4198
|
include: ["properties"]
|
|
4199
4199
|
};
|
|
4200
4200
|
return Ht.listVersionHistory(e, I).catch((M) => {
|
|
4201
|
-
|
|
4201
|
+
v.listNodeVersionHistoryError(M);
|
|
4202
4202
|
});
|
|
4203
4203
|
}
|
|
4204
4204
|
getVersionContent(e, I, M) {
|
|
@@ -4206,7 +4206,25 @@ class Ui {
|
|
|
4206
4206
|
attachment: M
|
|
4207
4207
|
};
|
|
4208
4208
|
return Ht.getVersionContent(e, I, g).catch((c) => {
|
|
4209
|
-
|
|
4209
|
+
v.getVersionContentError(c);
|
|
4210
|
+
});
|
|
4211
|
+
}
|
|
4212
|
+
getSharedLink(e) {
|
|
4213
|
+
return Ce.getSharedLink(e).catch((I) => {
|
|
4214
|
+
v.getSharedLink(I);
|
|
4215
|
+
});
|
|
4216
|
+
}
|
|
4217
|
+
getSharedLinkContent(e) {
|
|
4218
|
+
const I = {
|
|
4219
|
+
attachment: !0
|
|
4220
|
+
};
|
|
4221
|
+
return Ce.getSharedLinkContent(e, I).catch((M) => {
|
|
4222
|
+
v.getSharedLinkContent(M);
|
|
4223
|
+
});
|
|
4224
|
+
}
|
|
4225
|
+
getSharedLinkRenditionContent(e) {
|
|
4226
|
+
return Ce.getSharedLinkRenditionContent(e, "imgpreview").catch((I) => {
|
|
4227
|
+
v.getSharedLinkRenditionContent(I);
|
|
4210
4228
|
});
|
|
4211
4229
|
}
|
|
4212
4230
|
}
|
|
@@ -4224,7 +4242,7 @@ class vi {
|
|
|
4224
4242
|
maxItems: 100
|
|
4225
4243
|
};
|
|
4226
4244
|
return it.listSites(e).then((I) => I.list.entries.map((M) => M.entry)).catch((I) => {
|
|
4227
|
-
|
|
4245
|
+
v.getWorkspacesError(I);
|
|
4228
4246
|
});
|
|
4229
4247
|
}
|
|
4230
4248
|
searchAllWorkspaces(e = "") {
|
|
@@ -4243,25 +4261,25 @@ class vi {
|
|
|
4243
4261
|
let c = g.entry;
|
|
4244
4262
|
return c.title = g.entry.properties["cm:title"], c.visibility = g.entry.properties["st:siteVisibility"], c.typeEspace = g.entry.properties["pm:typeEspace"], c;
|
|
4245
4263
|
})).catch((M) => {
|
|
4246
|
-
|
|
4264
|
+
v.searchAllWorkspacesError(M);
|
|
4247
4265
|
});
|
|
4248
4266
|
}
|
|
4249
4267
|
getWorkspace(e) {
|
|
4250
4268
|
const I = {};
|
|
4251
4269
|
return it.getSite(e, I).then((M) => M.entry).catch((M) => {
|
|
4252
|
-
|
|
4270
|
+
v.getWorkspaceError(M);
|
|
4253
4271
|
});
|
|
4254
4272
|
}
|
|
4255
4273
|
getWorkspaceMemberships(e) {
|
|
4256
4274
|
const I = {};
|
|
4257
4275
|
return it.listSiteMemberships(e, I).then((M) => M.list.entries.map((g) => g.entry)).catch((M) => {
|
|
4258
|
-
|
|
4276
|
+
v.getWorkspaceMembershipsError(M);
|
|
4259
4277
|
});
|
|
4260
4278
|
}
|
|
4261
4279
|
getWorkspaceGroups(e) {
|
|
4262
4280
|
const I = {};
|
|
4263
4281
|
return it.listSiteGroups(e, I).then((M) => M.list.entries.map((g) => g.entry)).catch((M) => {
|
|
4264
|
-
|
|
4282
|
+
v.getWorkspaceGroupsError(M);
|
|
4265
4283
|
});
|
|
4266
4284
|
}
|
|
4267
4285
|
createWorkspace(e, I, M, g) {
|
|
@@ -4272,7 +4290,7 @@ class vi {
|
|
|
4272
4290
|
visibility: g
|
|
4273
4291
|
};
|
|
4274
4292
|
return it.createSite(c).catch((N) => {
|
|
4275
|
-
|
|
4293
|
+
v.createWorkspaceError(N);
|
|
4276
4294
|
});
|
|
4277
4295
|
}
|
|
4278
4296
|
requestJoinWorkspace(e, I) {
|
|
@@ -4284,7 +4302,7 @@ class vi {
|
|
|
4284
4302
|
M,
|
|
4285
4303
|
g
|
|
4286
4304
|
).catch((c) => {
|
|
4287
|
-
|
|
4305
|
+
v.requestJoinWorkspaceError(c);
|
|
4288
4306
|
});
|
|
4289
4307
|
}
|
|
4290
4308
|
addWorkspaceUser(e, I, M) {
|
|
@@ -4293,7 +4311,7 @@ class vi {
|
|
|
4293
4311
|
id: I
|
|
4294
4312
|
}, c = {};
|
|
4295
4313
|
return it.createSiteMembership(e, g, c).catch((N) => {
|
|
4296
|
-
|
|
4314
|
+
v.addWorkspaceUserError(N);
|
|
4297
4315
|
});
|
|
4298
4316
|
}
|
|
4299
4317
|
addWorkspaceGroup(e, I, M) {
|
|
@@ -4302,7 +4320,7 @@ class vi {
|
|
|
4302
4320
|
id: I
|
|
4303
4321
|
}, c = {};
|
|
4304
4322
|
return it.createSiteGroupMembership(e, g, c).catch((N) => {
|
|
4305
|
-
|
|
4323
|
+
v.addWorkspaceGroupError(N);
|
|
4306
4324
|
});
|
|
4307
4325
|
}
|
|
4308
4326
|
updateWorkspaceUserRole(e, I, M) {
|
|
@@ -4310,7 +4328,7 @@ class vi {
|
|
|
4310
4328
|
role: M
|
|
4311
4329
|
}, c = {};
|
|
4312
4330
|
return it.updateSiteMembership(e, I, g, c).catch((N) => {
|
|
4313
|
-
|
|
4331
|
+
v.updateWorkspaceUserRoleError(N);
|
|
4314
4332
|
});
|
|
4315
4333
|
}
|
|
4316
4334
|
updateWorkspaceGroupRole(e, I, M) {
|
|
@@ -4318,17 +4336,17 @@ class vi {
|
|
|
4318
4336
|
role: M
|
|
4319
4337
|
}, c = {};
|
|
4320
4338
|
return it.updateSiteGroupMembership(e, I, g, c).catch((N) => {
|
|
4321
|
-
|
|
4339
|
+
v.updateWorkspaceGroupRoleError(N);
|
|
4322
4340
|
});
|
|
4323
4341
|
}
|
|
4324
4342
|
deleteWorkspaceUser(e, I) {
|
|
4325
4343
|
return it.deleteSiteMembership(e, I).catch((M) => {
|
|
4326
|
-
|
|
4344
|
+
v.deleteWorkspaceUserError(M);
|
|
4327
4345
|
});
|
|
4328
4346
|
}
|
|
4329
4347
|
deleteWorkspaceGroup(e, I) {
|
|
4330
4348
|
return it.deleteSiteGroupMembership(e, I).catch((M) => {
|
|
4331
|
-
|
|
4349
|
+
v.deleteWorkspaceGroupError(M);
|
|
4332
4350
|
});
|
|
4333
4351
|
}
|
|
4334
4352
|
updateWorkspaceType(e, I) {
|
|
@@ -4338,11 +4356,11 @@ class vi {
|
|
|
4338
4356
|
}
|
|
4339
4357
|
};
|
|
4340
4358
|
return at.updateNode(e, M).catch((g) => {
|
|
4341
|
-
|
|
4359
|
+
v.updateWorkspaceTypeError(g);
|
|
4342
4360
|
});
|
|
4343
4361
|
}
|
|
4344
4362
|
async getAllUsers() {
|
|
4345
|
-
return
|
|
4363
|
+
return pe.listPeople().then((e) => e.list.entries.map((I) => {
|
|
4346
4364
|
let M = I.entry;
|
|
4347
4365
|
return M.email = (M == null ? void 0 : M.email) || "", M.firstName = (M == null ? void 0 : M.firstName) || M.email, M.lastName = (M == null ? void 0 : M.lastName) || M.email, {
|
|
4348
4366
|
firstname: M.firstName,
|
|
@@ -4353,7 +4371,7 @@ class vi {
|
|
|
4353
4371
|
group: !1
|
|
4354
4372
|
};
|
|
4355
4373
|
})).catch((e) => {
|
|
4356
|
-
|
|
4374
|
+
v.getAllGroupsError(e);
|
|
4357
4375
|
});
|
|
4358
4376
|
}
|
|
4359
4377
|
async getAllGroups() {
|
|
@@ -4373,18 +4391,18 @@ class vi {
|
|
|
4373
4391
|
(M) => !I.some((g) => M.label.startsWith(g))
|
|
4374
4392
|
);
|
|
4375
4393
|
}).catch((e) => {
|
|
4376
|
-
|
|
4394
|
+
v.getAllUsersError(e);
|
|
4377
4395
|
});
|
|
4378
4396
|
}
|
|
4379
4397
|
deleteWorkspace(e) {
|
|
4380
4398
|
const I = {};
|
|
4381
4399
|
return it.deleteSite(e, I).catch((M) => {
|
|
4382
|
-
|
|
4400
|
+
v.deleteWorkspaceError(M);
|
|
4383
4401
|
});
|
|
4384
4402
|
}
|
|
4385
4403
|
updateWorkspace(e, I) {
|
|
4386
4404
|
return it.updateSite(e, I).catch((M) => {
|
|
4387
|
-
|
|
4405
|
+
v.updateWorkspaceError(M);
|
|
4388
4406
|
});
|
|
4389
4407
|
}
|
|
4390
4408
|
}
|
|
@@ -4394,28 +4412,28 @@ function Nc(t, e) {
|
|
|
4394
4412
|
return t.apply(e, arguments);
|
|
4395
4413
|
};
|
|
4396
4414
|
}
|
|
4397
|
-
const { toString: Ri } = Object.prototype, { getPrototypeOf:
|
|
4415
|
+
const { toString: Ri } = Object.prototype, { getPrototypeOf: _I } = Object, tI = ((t) => (e) => {
|
|
4398
4416
|
const I = Ri.call(e);
|
|
4399
4417
|
return t[I] || (t[I] = I.slice(8, -1).toLowerCase());
|
|
4400
|
-
})(/* @__PURE__ */ Object.create(null)), Yt = (t) => (t = t.toLowerCase(), (e) =>
|
|
4418
|
+
})(/* @__PURE__ */ Object.create(null)), Yt = (t) => (t = t.toLowerCase(), (e) => tI(e) === t), eI = (t) => (e) => typeof e === t, { isArray: be } = Array, we = eI("undefined");
|
|
4401
4419
|
function Qi(t) {
|
|
4402
|
-
return t !== null && !
|
|
4420
|
+
return t !== null && !we(t) && t.constructor !== null && !we(t.constructor) && jt(t.constructor.isBuffer) && t.constructor.isBuffer(t);
|
|
4403
4421
|
}
|
|
4404
4422
|
const lc = Yt("ArrayBuffer");
|
|
4405
4423
|
function Ji(t) {
|
|
4406
4424
|
let e;
|
|
4407
4425
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && lc(t.buffer), e;
|
|
4408
4426
|
}
|
|
4409
|
-
const Fi =
|
|
4410
|
-
if (
|
|
4427
|
+
const Fi = eI("string"), jt = eI("function"), ic = eI("number"), II = (t) => t !== null && typeof t == "object", Bi = (t) => t === !0 || t === !1, Xe = (t) => {
|
|
4428
|
+
if (tI(t) !== "object")
|
|
4411
4429
|
return !1;
|
|
4412
|
-
const e =
|
|
4430
|
+
const e = _I(t);
|
|
4413
4431
|
return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
|
|
4414
|
-
}, fi = Yt("Date"), Vi = Yt("File"), Hi = Yt("Blob"), Pi = Yt("FileList"), _i = (t) =>
|
|
4432
|
+
}, fi = Yt("Date"), Vi = Yt("File"), Hi = Yt("Blob"), Pi = Yt("FileList"), _i = (t) => II(t) && jt(t.pipe), Ki = (t) => {
|
|
4415
4433
|
let e;
|
|
4416
|
-
return t && (typeof FormData == "function" && t instanceof FormData || jt(t.append) && ((e =
|
|
4434
|
+
return t && (typeof FormData == "function" && t instanceof FormData || jt(t.append) && ((e = tI(t)) === "formdata" || e === "object" && jt(t.toString) && t.toString() === "[object FormData]"));
|
|
4417
4435
|
}, $i = Yt("URLSearchParams"), qi = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
4418
|
-
function
|
|
4436
|
+
function Ee(t, e, { allOwnKeys: I = !1 } = {}) {
|
|
4419
4437
|
if (t === null || typeof t > "u")
|
|
4420
4438
|
return;
|
|
4421
4439
|
let M, g;
|
|
@@ -4438,17 +4456,17 @@ function bc(t, e) {
|
|
|
4438
4456
|
return g;
|
|
4439
4457
|
return null;
|
|
4440
4458
|
}
|
|
4441
|
-
const ac = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), uc = (t) => !
|
|
4442
|
-
function
|
|
4459
|
+
const ac = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), uc = (t) => !we(t) && t !== ac;
|
|
4460
|
+
function EI() {
|
|
4443
4461
|
const { caseless: t } = uc(this) && this || {}, e = {}, I = (M, g) => {
|
|
4444
4462
|
const c = t && bc(e, g) || g;
|
|
4445
|
-
|
|
4463
|
+
Xe(e[c]) && Xe(M) ? e[c] = EI(e[c], M) : Xe(M) ? e[c] = EI({}, M) : be(M) ? e[c] = M.slice() : e[c] = M;
|
|
4446
4464
|
};
|
|
4447
4465
|
for (let M = 0, g = arguments.length; M < g; M++)
|
|
4448
|
-
arguments[M] &&
|
|
4466
|
+
arguments[M] && Ee(arguments[M], I);
|
|
4449
4467
|
return e;
|
|
4450
4468
|
}
|
|
4451
|
-
const tb = (t, e, I, { allOwnKeys: M } = {}) => (
|
|
4469
|
+
const tb = (t, e, I, { allOwnKeys: M } = {}) => (Ee(e, (g, c) => {
|
|
4452
4470
|
I && jt(g) ? t[c] = Nc(g, I) : t[c] = g;
|
|
4453
4471
|
}, { allOwnKeys: M }), t), eb = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), Ib = (t, e, I, M) => {
|
|
4454
4472
|
t.prototype = Object.create(e.prototype, M), t.prototype.constructor = t, Object.defineProperty(t, "super", {
|
|
@@ -4462,7 +4480,7 @@ const tb = (t, e, I, { allOwnKeys: M } = {}) => (xe(e, (g, c) => {
|
|
|
4462
4480
|
do {
|
|
4463
4481
|
for (g = Object.getOwnPropertyNames(t), c = g.length; c-- > 0; )
|
|
4464
4482
|
N = g[c], (!M || M(N, t, e)) && !l[N] && (e[N] = t[N], l[N] = !0);
|
|
4465
|
-
t = I !== !1 &&
|
|
4483
|
+
t = I !== !1 && _I(t);
|
|
4466
4484
|
} while (t && (!I || I(t, e)) && t !== Object.prototype);
|
|
4467
4485
|
return e;
|
|
4468
4486
|
}, gb = (t, e, I) => {
|
|
@@ -4481,7 +4499,7 @@ const tb = (t, e, I, { allOwnKeys: M } = {}) => (xe(e, (g, c) => {
|
|
|
4481
4499
|
for (; e-- > 0; )
|
|
4482
4500
|
I[e] = t[e];
|
|
4483
4501
|
return I;
|
|
4484
|
-
}, Nb = ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" &&
|
|
4502
|
+
}, Nb = ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && _I(Uint8Array)), lb = (t, e) => {
|
|
4485
4503
|
const M = (t && t[Symbol.iterator]).call(t);
|
|
4486
4504
|
let g;
|
|
4487
4505
|
for (; (g = M.next()) && !g.done; ) {
|
|
@@ -4501,7 +4519,7 @@ const tb = (t, e, I, { allOwnKeys: M } = {}) => (xe(e, (g, c) => {
|
|
|
4501
4519
|
}
|
|
4502
4520
|
), SM = (({ hasOwnProperty: t }) => (e, I) => t.call(e, I))(Object.prototype), ub = Yt("RegExp"), sc = (t, e) => {
|
|
4503
4521
|
const I = Object.getOwnPropertyDescriptors(t), M = {};
|
|
4504
|
-
|
|
4522
|
+
Ee(I, (g, c) => {
|
|
4505
4523
|
e(g, c, t) !== !1 && (M[c] = g);
|
|
4506
4524
|
}), Object.defineProperties(t, M);
|
|
4507
4525
|
}, sb = (t) => {
|
|
@@ -4527,10 +4545,10 @@ const tb = (t, e, I, { allOwnKeys: M } = {}) => (xe(e, (g, c) => {
|
|
|
4527
4545
|
};
|
|
4528
4546
|
return be(t) ? M(t) : M(String(t).split(e)), I;
|
|
4529
4547
|
}, Ab = () => {
|
|
4530
|
-
}, Db = (t, e) => (t = +t, Number.isFinite(t) ? t : e),
|
|
4548
|
+
}, Db = (t, e) => (t = +t, Number.isFinite(t) ? t : e), AI = "abcdefghijklmnopqrstuvwxyz", kM = "0123456789", mc = {
|
|
4531
4549
|
DIGIT: kM,
|
|
4532
|
-
ALPHA:
|
|
4533
|
-
ALPHA_DIGIT:
|
|
4550
|
+
ALPHA: AI,
|
|
4551
|
+
ALPHA_DIGIT: AI + AI.toUpperCase() + kM
|
|
4534
4552
|
}, nb = (t = 16, e = mc.ALPHA_DIGIT) => {
|
|
4535
4553
|
let I = "";
|
|
4536
4554
|
const { length: M } = e;
|
|
@@ -4543,22 +4561,22 @@ function jb(t) {
|
|
|
4543
4561
|
}
|
|
4544
4562
|
const ob = (t) => {
|
|
4545
4563
|
const e = new Array(10), I = (M, g) => {
|
|
4546
|
-
if (
|
|
4564
|
+
if (II(M)) {
|
|
4547
4565
|
if (e.indexOf(M) >= 0)
|
|
4548
4566
|
return;
|
|
4549
4567
|
if (!("toJSON" in M)) {
|
|
4550
4568
|
e[g] = M;
|
|
4551
4569
|
const c = be(M) ? [] : {};
|
|
4552
|
-
return
|
|
4570
|
+
return Ee(M, (N, l) => {
|
|
4553
4571
|
const i = I(N, g + 1);
|
|
4554
|
-
!
|
|
4572
|
+
!we(i) && (c[l] = i);
|
|
4555
4573
|
}), e[g] = void 0, c;
|
|
4556
4574
|
}
|
|
4557
4575
|
}
|
|
4558
4576
|
return M;
|
|
4559
4577
|
};
|
|
4560
4578
|
return I(t, 0);
|
|
4561
|
-
}, rb = Yt("AsyncFunction"), Cb = (t) => t && (
|
|
4579
|
+
}, rb = Yt("AsyncFunction"), Cb = (t) => t && (II(t) || jt(t)) && jt(t.then) && jt(t.catch), o = {
|
|
4562
4580
|
isArray: be,
|
|
4563
4581
|
isArrayBuffer: lc,
|
|
4564
4582
|
isBuffer: Qi,
|
|
@@ -4567,9 +4585,9 @@ const ob = (t) => {
|
|
|
4567
4585
|
isString: Fi,
|
|
4568
4586
|
isNumber: ic,
|
|
4569
4587
|
isBoolean: Bi,
|
|
4570
|
-
isObject:
|
|
4571
|
-
isPlainObject:
|
|
4572
|
-
isUndefined:
|
|
4588
|
+
isObject: II,
|
|
4589
|
+
isPlainObject: Xe,
|
|
4590
|
+
isUndefined: we,
|
|
4573
4591
|
isDate: fi,
|
|
4574
4592
|
isFile: Vi,
|
|
4575
4593
|
isBlob: Hi,
|
|
@@ -4579,14 +4597,14 @@ const ob = (t) => {
|
|
|
4579
4597
|
isURLSearchParams: $i,
|
|
4580
4598
|
isTypedArray: Nb,
|
|
4581
4599
|
isFileList: Pi,
|
|
4582
|
-
forEach:
|
|
4583
|
-
merge:
|
|
4600
|
+
forEach: Ee,
|
|
4601
|
+
merge: EI,
|
|
4584
4602
|
extend: tb,
|
|
4585
4603
|
trim: qi,
|
|
4586
4604
|
stripBOM: eb,
|
|
4587
4605
|
inherits: Ib,
|
|
4588
4606
|
toFlatObject: Mb,
|
|
4589
|
-
kindOf:
|
|
4607
|
+
kindOf: tI,
|
|
4590
4608
|
kindOfTest: Yt,
|
|
4591
4609
|
endsWith: gb,
|
|
4592
4610
|
toArray: cb,
|
|
@@ -4657,7 +4675,7 @@ J.from = (t, e, I, M, g, c) => {
|
|
|
4657
4675
|
}, (l) => l !== "isAxiosError"), J.call(N, t.message, e, I, M, g), N.cause = t, N.name = t.name, c && Object.assign(N, c), N;
|
|
4658
4676
|
};
|
|
4659
4677
|
const Tb = null;
|
|
4660
|
-
function
|
|
4678
|
+
function GI(t) {
|
|
4661
4679
|
return o.isPlainObject(t) || o.isArray(t);
|
|
4662
4680
|
}
|
|
4663
4681
|
function nc(t) {
|
|
@@ -4669,12 +4687,12 @@ function XM(t, e, I) {
|
|
|
4669
4687
|
}).join(I ? "." : "") : e;
|
|
4670
4688
|
}
|
|
4671
4689
|
function zb(t) {
|
|
4672
|
-
return o.isArray(t) && !t.some(
|
|
4690
|
+
return o.isArray(t) && !t.some(GI);
|
|
4673
4691
|
}
|
|
4674
4692
|
const Ob = o.toFlatObject(o, {}, null, function(e) {
|
|
4675
4693
|
return /^is[A-Z]/.test(e);
|
|
4676
4694
|
});
|
|
4677
|
-
function
|
|
4695
|
+
function MI(t, e, I) {
|
|
4678
4696
|
if (!o.isObject(t))
|
|
4679
4697
|
throw new TypeError("target must be an object");
|
|
4680
4698
|
e = e || new FormData(), I = o.toFlatObject(I, {
|
|
@@ -4709,12 +4727,12 @@ function II(t, e, I) {
|
|
|
4709
4727
|
);
|
|
4710
4728
|
}), !1;
|
|
4711
4729
|
}
|
|
4712
|
-
return
|
|
4730
|
+
return GI(O) ? !0 : (e.append(XM(w, d, c), a(O)), !1);
|
|
4713
4731
|
}
|
|
4714
4732
|
const A = [], D = Object.assign(Ob, {
|
|
4715
4733
|
defaultVisitor: s,
|
|
4716
4734
|
convertValue: a,
|
|
4717
|
-
isVisitable:
|
|
4735
|
+
isVisitable: GI
|
|
4718
4736
|
});
|
|
4719
4737
|
function C(O, d) {
|
|
4720
4738
|
if (!o.isUndefined(O)) {
|
|
@@ -4749,10 +4767,10 @@ function UM(t) {
|
|
|
4749
4767
|
return e[M];
|
|
4750
4768
|
});
|
|
4751
4769
|
}
|
|
4752
|
-
function
|
|
4753
|
-
this._pairs = [], t &&
|
|
4770
|
+
function KI(t, e) {
|
|
4771
|
+
this._pairs = [], t && MI(t, this, e);
|
|
4754
4772
|
}
|
|
4755
|
-
const jc =
|
|
4773
|
+
const jc = KI.prototype;
|
|
4756
4774
|
jc.append = function(e, I) {
|
|
4757
4775
|
this._pairs.push([e, I]);
|
|
4758
4776
|
};
|
|
@@ -4772,7 +4790,7 @@ function oc(t, e, I) {
|
|
|
4772
4790
|
return t;
|
|
4773
4791
|
const M = I && I.encode || yb, g = I && I.serialize;
|
|
4774
4792
|
let c;
|
|
4775
|
-
if (g ? c = g(e, I) : c = o.isURLSearchParams(e) ? e.toString() : new
|
|
4793
|
+
if (g ? c = g(e, I) : c = o.isURLSearchParams(e) ? e.toString() : new KI(e, I).toString(M), c) {
|
|
4776
4794
|
const N = t.indexOf("#");
|
|
4777
4795
|
N !== -1 && (t = t.slice(0, N)), t += (t.indexOf("?") === -1 ? "?" : "&") + c;
|
|
4778
4796
|
}
|
|
@@ -4806,7 +4824,7 @@ const vM = db, rc = {
|
|
|
4806
4824
|
silentJSONParsing: !0,
|
|
4807
4825
|
forcedJSONParsing: !0,
|
|
4808
4826
|
clarifyTimeoutError: !1
|
|
4809
|
-
}, Zb = typeof URLSearchParams < "u" ? URLSearchParams :
|
|
4827
|
+
}, Zb = typeof URLSearchParams < "u" ? URLSearchParams : KI, pb = typeof FormData < "u" ? FormData : null, Lb = typeof Blob < "u" ? Blob : null, Yb = (() => {
|
|
4810
4828
|
let t;
|
|
4811
4829
|
return typeof navigator < "u" && ((t = navigator.product) === "ReactNative" || t === "NativeScript" || t === "NS") ? !1 : typeof window < "u" && typeof document < "u";
|
|
4812
4830
|
})(), Wb = (() => typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), Zt = {
|
|
@@ -4821,7 +4839,7 @@ const vM = db, rc = {
|
|
|
4821
4839
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
4822
4840
|
};
|
|
4823
4841
|
function wb(t, e) {
|
|
4824
|
-
return
|
|
4842
|
+
return MI(t, new Zt.classes.URLSearchParams(), Object.assign({
|
|
4825
4843
|
visitor: function(I, M, g, c) {
|
|
4826
4844
|
return Zt.isNode && o.isBuffer(I) ? (this.append(M, I.toString("base64")), !1) : c.defaultVisitor.apply(this, arguments);
|
|
4827
4845
|
}
|
|
@@ -4866,7 +4884,7 @@ function hb(t, e, I) {
|
|
|
4866
4884
|
}
|
|
4867
4885
|
return (I || JSON.stringify)(t);
|
|
4868
4886
|
}
|
|
4869
|
-
const
|
|
4887
|
+
const gI = {
|
|
4870
4888
|
transitional: rc,
|
|
4871
4889
|
adapter: ["xhr", "http"],
|
|
4872
4890
|
transformRequest: [function(e, I) {
|
|
@@ -4885,7 +4903,7 @@ const MI = {
|
|
|
4885
4903
|
return wb(e, this.formSerializer).toString();
|
|
4886
4904
|
if ((l = o.isFileList(e)) || M.indexOf("multipart/form-data") > -1) {
|
|
4887
4905
|
const i = this.env && this.env.FormData;
|
|
4888
|
-
return
|
|
4906
|
+
return MI(
|
|
4889
4907
|
l ? { "files[]": e } : e,
|
|
4890
4908
|
i && new i(),
|
|
4891
4909
|
this.formSerializer
|
|
@@ -4895,7 +4913,7 @@ const MI = {
|
|
|
4895
4913
|
return c || g ? (I.setContentType("application/json", !1), hb(e)) : e;
|
|
4896
4914
|
}],
|
|
4897
4915
|
transformResponse: [function(e) {
|
|
4898
|
-
const I = this.transitional ||
|
|
4916
|
+
const I = this.transitional || gI.transitional, M = I && I.forcedJSONParsing, g = this.responseType === "json";
|
|
4899
4917
|
if (e && o.isString(e) && (M && !this.responseType || g)) {
|
|
4900
4918
|
const N = !(I && I.silentJSONParsing) && g;
|
|
4901
4919
|
try {
|
|
@@ -4926,12 +4944,12 @@ const MI = {
|
|
|
4926
4944
|
}
|
|
4927
4945
|
};
|
|
4928
4946
|
o.forEach(["delete", "get", "head"], function(e) {
|
|
4929
|
-
|
|
4947
|
+
gI.headers[e] = {};
|
|
4930
4948
|
});
|
|
4931
4949
|
o.forEach(["post", "put", "patch"], function(e) {
|
|
4932
|
-
|
|
4950
|
+
gI.headers[e] = o.merge(Gb);
|
|
4933
4951
|
});
|
|
4934
|
-
const
|
|
4952
|
+
const $I = gI, Sb = o.toObjectSet([
|
|
4935
4953
|
"age",
|
|
4936
4954
|
"authorization",
|
|
4937
4955
|
"content-length",
|
|
@@ -4957,11 +4975,11 @@ const KI = MI, Sb = o.toObjectSet([
|
|
|
4957
4975
|
g = N.indexOf(":"), I = N.substring(0, g).trim().toLowerCase(), M = N.substring(g + 1).trim(), !(!I || e[I] && Sb[I]) && (I === "set-cookie" ? e[I] ? e[I].push(M) : e[I] = [M] : e[I] = e[I] ? e[I] + ", " + M : M);
|
|
4958
4976
|
}), e;
|
|
4959
4977
|
}, RM = Symbol("internals");
|
|
4960
|
-
function
|
|
4978
|
+
function ze(t) {
|
|
4961
4979
|
return t && String(t).trim().toLowerCase();
|
|
4962
4980
|
}
|
|
4963
|
-
function
|
|
4964
|
-
return t === !1 || t == null ? t : o.isArray(t) ? t.map(
|
|
4981
|
+
function Ue(t) {
|
|
4982
|
+
return t === !1 || t == null ? t : o.isArray(t) ? t.map(Ue) : String(t);
|
|
4965
4983
|
}
|
|
4966
4984
|
function Xb(t) {
|
|
4967
4985
|
const e = /* @__PURE__ */ Object.create(null), I = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
@@ -4971,7 +4989,7 @@ function Xb(t) {
|
|
|
4971
4989
|
return e;
|
|
4972
4990
|
}
|
|
4973
4991
|
const Ub = (t) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());
|
|
4974
|
-
function
|
|
4992
|
+
function DI(t, e, I, M, g) {
|
|
4975
4993
|
if (o.isFunction(M))
|
|
4976
4994
|
return M.call(this, e, I);
|
|
4977
4995
|
if (g && (e = I), !!o.isString(e)) {
|
|
@@ -4995,24 +5013,24 @@ function Rb(t, e) {
|
|
|
4995
5013
|
});
|
|
4996
5014
|
});
|
|
4997
5015
|
}
|
|
4998
|
-
class
|
|
5016
|
+
class cI {
|
|
4999
5017
|
constructor(e) {
|
|
5000
5018
|
e && this.set(e);
|
|
5001
5019
|
}
|
|
5002
5020
|
set(e, I, M) {
|
|
5003
5021
|
const g = this;
|
|
5004
5022
|
function c(l, i, a) {
|
|
5005
|
-
const s =
|
|
5023
|
+
const s = ze(i);
|
|
5006
5024
|
if (!s)
|
|
5007
5025
|
throw new Error("header name must be a non-empty string");
|
|
5008
5026
|
const A = o.findKey(g, s);
|
|
5009
|
-
(!A || g[A] === void 0 || a === !0 || a === void 0 && g[A] !== !1) && (g[A || i] =
|
|
5027
|
+
(!A || g[A] === void 0 || a === !0 || a === void 0 && g[A] !== !1) && (g[A || i] = Ue(l));
|
|
5010
5028
|
}
|
|
5011
5029
|
const N = (l, i) => o.forEach(l, (a, s) => c(a, s, i));
|
|
5012
5030
|
return o.isPlainObject(e) || e instanceof this.constructor ? N(e, I) : o.isString(e) && (e = e.trim()) && !Ub(e) ? N(kb(e), I) : e != null && c(I, e, M), this;
|
|
5013
5031
|
}
|
|
5014
5032
|
get(e, I) {
|
|
5015
|
-
if (e =
|
|
5033
|
+
if (e = ze(e), e) {
|
|
5016
5034
|
const M = o.findKey(this, e);
|
|
5017
5035
|
if (M) {
|
|
5018
5036
|
const g = this[M];
|
|
@@ -5029,9 +5047,9 @@ class gI {
|
|
|
5029
5047
|
}
|
|
5030
5048
|
}
|
|
5031
5049
|
has(e, I) {
|
|
5032
|
-
if (e =
|
|
5050
|
+
if (e = ze(e), e) {
|
|
5033
5051
|
const M = o.findKey(this, e);
|
|
5034
|
-
return !!(M && this[M] !== void 0 && (!I ||
|
|
5052
|
+
return !!(M && this[M] !== void 0 && (!I || DI(this, this[M], M, I)));
|
|
5035
5053
|
}
|
|
5036
5054
|
return !1;
|
|
5037
5055
|
}
|
|
@@ -5039,9 +5057,9 @@ class gI {
|
|
|
5039
5057
|
const M = this;
|
|
5040
5058
|
let g = !1;
|
|
5041
5059
|
function c(N) {
|
|
5042
|
-
if (N =
|
|
5060
|
+
if (N = ze(N), N) {
|
|
5043
5061
|
const l = o.findKey(M, N);
|
|
5044
|
-
l && (!I ||
|
|
5062
|
+
l && (!I || DI(M, M[l], l, I)) && (delete M[l], g = !0);
|
|
5045
5063
|
}
|
|
5046
5064
|
}
|
|
5047
5065
|
return o.isArray(e) ? e.forEach(c) : c(e), g;
|
|
@@ -5051,7 +5069,7 @@ class gI {
|
|
|
5051
5069
|
let M = I.length, g = !1;
|
|
5052
5070
|
for (; M--; ) {
|
|
5053
5071
|
const c = I[M];
|
|
5054
|
-
(!e ||
|
|
5072
|
+
(!e || DI(this, this[c], c, e, !0)) && (delete this[c], g = !0);
|
|
5055
5073
|
}
|
|
5056
5074
|
return g;
|
|
5057
5075
|
}
|
|
@@ -5060,11 +5078,11 @@ class gI {
|
|
|
5060
5078
|
return o.forEach(this, (g, c) => {
|
|
5061
5079
|
const N = o.findKey(M, c);
|
|
5062
5080
|
if (N) {
|
|
5063
|
-
I[N] =
|
|
5081
|
+
I[N] = Ue(g), delete I[c];
|
|
5064
5082
|
return;
|
|
5065
5083
|
}
|
|
5066
5084
|
const l = e ? vb(c) : String(c).trim();
|
|
5067
|
-
l !== c && delete I[c], I[l] =
|
|
5085
|
+
l !== c && delete I[c], I[l] = Ue(g), M[l] = !0;
|
|
5068
5086
|
}), this;
|
|
5069
5087
|
}
|
|
5070
5088
|
concat(...e) {
|
|
@@ -5098,18 +5116,18 @@ class gI {
|
|
|
5098
5116
|
accessors: {}
|
|
5099
5117
|
}).accessors, g = this.prototype;
|
|
5100
5118
|
function c(N) {
|
|
5101
|
-
const l =
|
|
5119
|
+
const l = ze(N);
|
|
5102
5120
|
M[l] || (Rb(g, N), M[l] = !0);
|
|
5103
5121
|
}
|
|
5104
5122
|
return o.isArray(e) ? e.forEach(c) : c(e), this;
|
|
5105
5123
|
}
|
|
5106
5124
|
}
|
|
5107
|
-
|
|
5108
|
-
o.freezeMethods(
|
|
5109
|
-
o.freezeMethods(
|
|
5110
|
-
const Et =
|
|
5111
|
-
function
|
|
5112
|
-
const I = this ||
|
|
5125
|
+
cI.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
|
5126
|
+
o.freezeMethods(cI.prototype);
|
|
5127
|
+
o.freezeMethods(cI);
|
|
5128
|
+
const Et = cI;
|
|
5129
|
+
function nI(t, e) {
|
|
5130
|
+
const I = this || $I, M = e || I, g = Et.from(M.headers);
|
|
5113
5131
|
let c = M.data;
|
|
5114
5132
|
return o.forEach(t, function(l) {
|
|
5115
5133
|
c = l.call(I, c, g.normalize(), e ? e.status : void 0);
|
|
@@ -5118,10 +5136,10 @@ function DI(t, e) {
|
|
|
5118
5136
|
function Tc(t) {
|
|
5119
5137
|
return !!(t && t.__CANCEL__);
|
|
5120
5138
|
}
|
|
5121
|
-
function
|
|
5139
|
+
function Ge(t, e, I) {
|
|
5122
5140
|
J.call(this, t == null ? "canceled" : t, J.ERR_CANCELED, e, I), this.name = "CanceledError";
|
|
5123
5141
|
}
|
|
5124
|
-
o.inherits(
|
|
5142
|
+
o.inherits(Ge, J, {
|
|
5125
5143
|
__CANCEL__: !0
|
|
5126
5144
|
});
|
|
5127
5145
|
function Qb(t, e, I) {
|
|
@@ -5288,7 +5306,7 @@ const Pb = typeof XMLHttpRequest < "u", _b = Pb && function(t) {
|
|
|
5288
5306
|
g === void 0 && c.setContentType(null), "setRequestHeader" in a && o.forEach(c.toJSON(), function(O, d) {
|
|
5289
5307
|
a.setRequestHeader(d, O);
|
|
5290
5308
|
}), o.isUndefined(t.withCredentials) || (a.withCredentials = !!t.withCredentials), N && N !== "json" && (a.responseType = t.responseType), typeof t.onDownloadProgress == "function" && a.addEventListener("progress", QM(t.onDownloadProgress, !0)), typeof t.onUploadProgress == "function" && a.upload && a.upload.addEventListener("progress", QM(t.onUploadProgress)), (t.cancelToken || t.signal) && (l = (C) => {
|
|
5291
|
-
!a || (M(!C || C.type ? new
|
|
5309
|
+
!a || (M(!C || C.type ? new Ge(null, t, a) : C), a.abort(), a = null);
|
|
5292
5310
|
}, t.cancelToken && t.cancelToken.subscribe(l), t.signal && (t.signal.aborted ? l() : t.signal.addEventListener("abort", l)));
|
|
5293
5311
|
const D = Vb(s);
|
|
5294
5312
|
if (D && Zt.protocols.indexOf(D) === -1) {
|
|
@@ -5297,11 +5315,11 @@ const Pb = typeof XMLHttpRequest < "u", _b = Pb && function(t) {
|
|
|
5297
5315
|
}
|
|
5298
5316
|
a.send(g || null);
|
|
5299
5317
|
});
|
|
5300
|
-
},
|
|
5318
|
+
}, ve = {
|
|
5301
5319
|
http: Tb,
|
|
5302
5320
|
xhr: _b
|
|
5303
5321
|
};
|
|
5304
|
-
o.forEach(
|
|
5322
|
+
o.forEach(ve, (t, e) => {
|
|
5305
5323
|
if (t) {
|
|
5306
5324
|
try {
|
|
5307
5325
|
Object.defineProperty(t, "name", { value: e });
|
|
@@ -5315,37 +5333,37 @@ const Kb = {
|
|
|
5315
5333
|
t = o.isArray(t) ? t : [t];
|
|
5316
5334
|
const { length: e } = t;
|
|
5317
5335
|
let I, M;
|
|
5318
|
-
for (let g = 0; g < e && (I = t[g], !(M = o.isString(I) ?
|
|
5336
|
+
for (let g = 0; g < e && (I = t[g], !(M = o.isString(I) ? ve[I.toLowerCase()] : I)); g++)
|
|
5319
5337
|
;
|
|
5320
5338
|
if (!M)
|
|
5321
5339
|
throw M === !1 ? new J(
|
|
5322
5340
|
`Adapter ${I} is not supported by the environment`,
|
|
5323
5341
|
"ERR_NOT_SUPPORT"
|
|
5324
5342
|
) : new Error(
|
|
5325
|
-
o.hasOwnProp(
|
|
5343
|
+
o.hasOwnProp(ve, I) ? `Adapter '${I}' is not available in the build` : `Unknown adapter '${I}'`
|
|
5326
5344
|
);
|
|
5327
5345
|
if (!o.isFunction(M))
|
|
5328
5346
|
throw new TypeError("adapter is not a function");
|
|
5329
5347
|
return M;
|
|
5330
5348
|
},
|
|
5331
|
-
adapters:
|
|
5349
|
+
adapters: ve
|
|
5332
5350
|
};
|
|
5333
|
-
function
|
|
5351
|
+
function jI(t) {
|
|
5334
5352
|
if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
|
|
5335
|
-
throw new
|
|
5353
|
+
throw new Ge(null, t);
|
|
5336
5354
|
}
|
|
5337
5355
|
function JM(t) {
|
|
5338
|
-
return
|
|
5356
|
+
return jI(t), t.headers = Et.from(t.headers), t.data = nI.call(
|
|
5339
5357
|
t,
|
|
5340
5358
|
t.transformRequest
|
|
5341
|
-
), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), Kb.getAdapter(t.adapter ||
|
|
5342
|
-
return
|
|
5359
|
+
), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), Kb.getAdapter(t.adapter || $I.adapter)(t).then(function(M) {
|
|
5360
|
+
return jI(t), M.data = nI.call(
|
|
5343
5361
|
t,
|
|
5344
5362
|
t.transformResponse,
|
|
5345
5363
|
M
|
|
5346
5364
|
), M.headers = Et.from(M.headers), M;
|
|
5347
5365
|
}, function(M) {
|
|
5348
|
-
return Tc(M) || (
|
|
5366
|
+
return Tc(M) || (jI(t), M && M.response && (M.response.data = nI.call(
|
|
5349
5367
|
t,
|
|
5350
5368
|
t.transformResponse,
|
|
5351
5369
|
M.response
|
|
@@ -5418,14 +5436,14 @@ function le(t, e) {
|
|
|
5418
5436
|
o.isUndefined(D) && A !== l || (I[s] = D);
|
|
5419
5437
|
}), I;
|
|
5420
5438
|
}
|
|
5421
|
-
const Oc = "1.4.0",
|
|
5439
|
+
const Oc = "1.4.0", qI = {};
|
|
5422
5440
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((t, e) => {
|
|
5423
|
-
|
|
5441
|
+
qI[t] = function(M) {
|
|
5424
5442
|
return typeof M === t || "a" + (e < 1 ? "n " : " ") + t;
|
|
5425
5443
|
};
|
|
5426
5444
|
});
|
|
5427
5445
|
const BM = {};
|
|
5428
|
-
|
|
5446
|
+
qI.transitional = function(e, I, M) {
|
|
5429
5447
|
function g(c, N) {
|
|
5430
5448
|
return "[Axios v" + Oc + "] Transitional option '" + c + "'" + N + (M ? ". " + M : "");
|
|
5431
5449
|
}
|
|
@@ -5460,11 +5478,11 @@ function $b(t, e, I) {
|
|
|
5460
5478
|
throw new J("Unknown option " + c, J.ERR_BAD_OPTION);
|
|
5461
5479
|
}
|
|
5462
5480
|
}
|
|
5463
|
-
const
|
|
5481
|
+
const hI = {
|
|
5464
5482
|
assertOptions: $b,
|
|
5465
|
-
validators:
|
|
5466
|
-
}, Xt =
|
|
5467
|
-
class
|
|
5483
|
+
validators: qI
|
|
5484
|
+
}, Xt = hI.validators;
|
|
5485
|
+
class Fe {
|
|
5468
5486
|
constructor(e) {
|
|
5469
5487
|
this.defaults = e, this.interceptors = {
|
|
5470
5488
|
request: new vM(),
|
|
@@ -5474,13 +5492,13 @@ class Je {
|
|
|
5474
5492
|
request(e, I) {
|
|
5475
5493
|
typeof e == "string" ? (I = I || {}, I.url = e) : I = e || {}, I = le(this.defaults, I);
|
|
5476
5494
|
const { transitional: M, paramsSerializer: g, headers: c } = I;
|
|
5477
|
-
M !== void 0 &&
|
|
5495
|
+
M !== void 0 && hI.assertOptions(M, {
|
|
5478
5496
|
silentJSONParsing: Xt.transitional(Xt.boolean),
|
|
5479
5497
|
forcedJSONParsing: Xt.transitional(Xt.boolean),
|
|
5480
5498
|
clarifyTimeoutError: Xt.transitional(Xt.boolean)
|
|
5481
5499
|
}, !1), g != null && (o.isFunction(g) ? I.paramsSerializer = {
|
|
5482
5500
|
serialize: g
|
|
5483
|
-
} :
|
|
5501
|
+
} : hI.assertOptions(g, {
|
|
5484
5502
|
encode: Xt.function,
|
|
5485
5503
|
serialize: Xt.function
|
|
5486
5504
|
}, !0)), I.method = (I.method || this.defaults.method || "get").toLowerCase();
|
|
@@ -5537,7 +5555,7 @@ class Je {
|
|
|
5537
5555
|
}
|
|
5538
5556
|
}
|
|
5539
5557
|
o.forEach(["delete", "get", "head", "options"], function(e) {
|
|
5540
|
-
|
|
5558
|
+
Fe.prototype[e] = function(I, M) {
|
|
5541
5559
|
return this.request(le(M || {}, {
|
|
5542
5560
|
method: e,
|
|
5543
5561
|
url: I,
|
|
@@ -5558,10 +5576,10 @@ o.forEach(["post", "put", "patch"], function(e) {
|
|
|
5558
5576
|
}));
|
|
5559
5577
|
};
|
|
5560
5578
|
}
|
|
5561
|
-
|
|
5579
|
+
Fe.prototype[e] = I(), Fe.prototype[e + "Form"] = I(!0);
|
|
5562
5580
|
});
|
|
5563
|
-
const
|
|
5564
|
-
class
|
|
5581
|
+
const Re = Fe;
|
|
5582
|
+
class tM {
|
|
5565
5583
|
constructor(e) {
|
|
5566
5584
|
if (typeof e != "function")
|
|
5567
5585
|
throw new TypeError("executor must be a function.");
|
|
@@ -5586,7 +5604,7 @@ class qI {
|
|
|
5586
5604
|
M.unsubscribe(c);
|
|
5587
5605
|
}, N;
|
|
5588
5606
|
}, e(function(c, N, l) {
|
|
5589
|
-
M.reason || (M.reason = new
|
|
5607
|
+
M.reason || (M.reason = new Ge(c, N, l), I(M.reason));
|
|
5590
5608
|
});
|
|
5591
5609
|
}
|
|
5592
5610
|
throwIfRequested() {
|
|
@@ -5609,14 +5627,14 @@ class qI {
|
|
|
5609
5627
|
static source() {
|
|
5610
5628
|
let e;
|
|
5611
5629
|
return {
|
|
5612
|
-
token: new
|
|
5630
|
+
token: new tM(function(g) {
|
|
5613
5631
|
e = g;
|
|
5614
5632
|
}),
|
|
5615
5633
|
cancel: e
|
|
5616
5634
|
};
|
|
5617
5635
|
}
|
|
5618
5636
|
}
|
|
5619
|
-
const qb =
|
|
5637
|
+
const qb = tM;
|
|
5620
5638
|
function ta(t) {
|
|
5621
5639
|
return function(I) {
|
|
5622
5640
|
return t.apply(null, I);
|
|
@@ -5625,7 +5643,7 @@ function ta(t) {
|
|
|
5625
5643
|
function ea(t) {
|
|
5626
5644
|
return o.isObject(t) && t.isAxiosError === !0;
|
|
5627
5645
|
}
|
|
5628
|
-
const
|
|
5646
|
+
const SI = {
|
|
5629
5647
|
Continue: 100,
|
|
5630
5648
|
SwitchingProtocols: 101,
|
|
5631
5649
|
Processing: 102,
|
|
@@ -5690,23 +5708,23 @@ const hI = {
|
|
|
5690
5708
|
NotExtended: 510,
|
|
5691
5709
|
NetworkAuthenticationRequired: 511
|
|
5692
5710
|
};
|
|
5693
|
-
Object.entries(
|
|
5694
|
-
|
|
5711
|
+
Object.entries(SI).forEach(([t, e]) => {
|
|
5712
|
+
SI[e] = t;
|
|
5695
5713
|
});
|
|
5696
|
-
const Ia =
|
|
5714
|
+
const Ia = SI;
|
|
5697
5715
|
function yc(t) {
|
|
5698
|
-
const e = new
|
|
5699
|
-
return o.extend(I,
|
|
5716
|
+
const e = new Re(t), I = Nc(Re.prototype.request, e);
|
|
5717
|
+
return o.extend(I, Re.prototype, e, { allOwnKeys: !0 }), o.extend(I, e, null, { allOwnKeys: !0 }), I.create = function(g) {
|
|
5700
5718
|
return yc(le(t, g));
|
|
5701
5719
|
}, I;
|
|
5702
5720
|
}
|
|
5703
|
-
const tt = yc(
|
|
5704
|
-
tt.Axios =
|
|
5705
|
-
tt.CanceledError =
|
|
5721
|
+
const tt = yc($I);
|
|
5722
|
+
tt.Axios = Re;
|
|
5723
|
+
tt.CanceledError = Ge;
|
|
5706
5724
|
tt.CancelToken = qb;
|
|
5707
5725
|
tt.isCancel = Tc;
|
|
5708
5726
|
tt.VERSION = Oc;
|
|
5709
|
-
tt.toFormData =
|
|
5727
|
+
tt.toFormData = MI;
|
|
5710
5728
|
tt.AxiosError = J;
|
|
5711
5729
|
tt.Cancel = tt.CanceledError;
|
|
5712
5730
|
tt.all = function(e) {
|
|
@@ -5721,10 +5739,10 @@ tt.HttpStatusCode = Ia;
|
|
|
5721
5739
|
tt.default = tt;
|
|
5722
5740
|
const ie = tt;
|
|
5723
5741
|
var Ma = !1;
|
|
5724
|
-
function
|
|
5742
|
+
function ke(t, e, I) {
|
|
5725
5743
|
return Array.isArray(t) ? (t.length = Math.max(t.length, e), t.splice(e, 1, I), I) : (t[e] = I, I);
|
|
5726
5744
|
}
|
|
5727
|
-
function
|
|
5745
|
+
function oI(t, e) {
|
|
5728
5746
|
if (Array.isArray(t)) {
|
|
5729
5747
|
t.splice(e, 1);
|
|
5730
5748
|
return;
|
|
@@ -5736,23 +5754,23 @@ function jI(t, e) {
|
|
|
5736
5754
|
* (c) 2023 Eduardo San Martin Morote
|
|
5737
5755
|
* @license MIT
|
|
5738
5756
|
*/
|
|
5739
|
-
let
|
|
5740
|
-
const
|
|
5757
|
+
let Oe;
|
|
5758
|
+
const Be = (t) => Oe = t, ga = process.env.NODE_ENV !== "production" ? Symbol("pinia") : Symbol();
|
|
5741
5759
|
function Kt(t) {
|
|
5742
5760
|
return t && typeof t == "object" && Object.prototype.toString.call(t) === "[object Object]" && typeof t.toJSON != "function";
|
|
5743
5761
|
}
|
|
5744
|
-
var
|
|
5762
|
+
var Ze;
|
|
5745
5763
|
(function(t) {
|
|
5746
5764
|
t.direct = "direct", t.patchObject = "patch object", t.patchFunction = "patch function";
|
|
5747
|
-
})(
|
|
5748
|
-
const
|
|
5765
|
+
})(Ze || (Ze = {}));
|
|
5766
|
+
const eM = typeof window < "u", rI = (process.env.NODE_ENV !== "production" || !1) && process.env.NODE_ENV !== "test" && eM;
|
|
5749
5767
|
function dc(t, e) {
|
|
5750
5768
|
for (const I in e) {
|
|
5751
5769
|
const M = e[I];
|
|
5752
5770
|
if (!(I in t))
|
|
5753
5771
|
continue;
|
|
5754
5772
|
const g = t[I];
|
|
5755
|
-
Kt(g) && Kt(M) && !ge(M) && !
|
|
5773
|
+
Kt(g) && Kt(M) && !ge(M) && !UI(M) ? t[I] = dc(g, M) : t[I] = M;
|
|
5756
5774
|
}
|
|
5757
5775
|
return t;
|
|
5758
5776
|
}
|
|
@@ -5771,13 +5789,13 @@ function ee(t, ...e) {
|
|
|
5771
5789
|
I(...e);
|
|
5772
5790
|
});
|
|
5773
5791
|
}
|
|
5774
|
-
function
|
|
5792
|
+
function kI(t, e) {
|
|
5775
5793
|
t instanceof Map && e instanceof Map && e.forEach((I, M) => t.set(M, I)), t instanceof Set && e instanceof Set && e.forEach(t.add, t);
|
|
5776
5794
|
for (const I in e) {
|
|
5777
5795
|
if (!e.hasOwnProperty(I))
|
|
5778
5796
|
continue;
|
|
5779
5797
|
const M = e[I], g = t[I];
|
|
5780
|
-
Kt(g) && Kt(M) && t.hasOwnProperty(I) && !ge(M) && !
|
|
5798
|
+
Kt(g) && Kt(M) && t.hasOwnProperty(I) && !ge(M) && !UI(M) ? t[I] = kI(g, M) : t[I] = M;
|
|
5781
5799
|
}
|
|
5782
5800
|
return t;
|
|
5783
5801
|
}
|
|
@@ -5794,16 +5812,16 @@ function HM(t, e, I, M) {
|
|
|
5794
5812
|
let i;
|
|
5795
5813
|
function a() {
|
|
5796
5814
|
!l && (process.env.NODE_ENV === "production" || !M) && (I.state.value[t] = g ? g() : {});
|
|
5797
|
-
const s = process.env.NODE_ENV !== "production" && M ?
|
|
5815
|
+
const s = process.env.NODE_ENV !== "production" && M ? gM(Dt(g ? g() : {}).value) : gM(I.state.value[t]);
|
|
5798
5816
|
return At(s, c, Object.keys(N || {}).reduce((A, D) => (process.env.NODE_ENV !== "production" && D in s && console.warn(`[\u{1F34D}]: A getter cannot have the same name as another state property. Rename one of them. Found with "${D}" in store "${t}".`), A[D] = Vt(nt(() => {
|
|
5799
|
-
|
|
5817
|
+
Be(I);
|
|
5800
5818
|
const C = I._s.get(t);
|
|
5801
5819
|
return N[D].call(C, C);
|
|
5802
5820
|
})), A), {}));
|
|
5803
5821
|
}
|
|
5804
|
-
return i =
|
|
5822
|
+
return i = XI(t, a, e, I, M, !0), i;
|
|
5805
5823
|
}
|
|
5806
|
-
function
|
|
5824
|
+
function XI(t, e, I = {}, M, g, c) {
|
|
5807
5825
|
let N;
|
|
5808
5826
|
const l = At({ actions: {} }, I);
|
|
5809
5827
|
if (process.env.NODE_ENV !== "production" && !M._e.active)
|
|
@@ -5822,17 +5840,17 @@ function kI(t, e, I = {}, M, g, c) {
|
|
|
5822
5840
|
function m(p) {
|
|
5823
5841
|
let Y;
|
|
5824
5842
|
a = s = !1, process.env.NODE_ENV !== "production" && (C = []), typeof p == "function" ? (p(M.state.value[t]), Y = {
|
|
5825
|
-
type:
|
|
5843
|
+
type: Ze.patchFunction,
|
|
5826
5844
|
storeId: t,
|
|
5827
5845
|
events: C
|
|
5828
|
-
}) : (
|
|
5829
|
-
type:
|
|
5846
|
+
}) : (kI(M.state.value[t], p), Y = {
|
|
5847
|
+
type: Ze.patchObject,
|
|
5830
5848
|
payload: p,
|
|
5831
5849
|
storeId: t,
|
|
5832
5850
|
events: C
|
|
5833
5851
|
});
|
|
5834
5852
|
const X = w = Symbol();
|
|
5835
|
-
|
|
5853
|
+
MM().then(() => {
|
|
5836
5854
|
w === X && (a = !0);
|
|
5837
5855
|
}), s = !0, ee(A, Y, M.state.value[t]);
|
|
5838
5856
|
}
|
|
@@ -5849,7 +5867,7 @@ function kI(t, e, I = {}, M, g, c) {
|
|
|
5849
5867
|
}
|
|
5850
5868
|
function T(p, Y) {
|
|
5851
5869
|
return function() {
|
|
5852
|
-
|
|
5870
|
+
Be(M);
|
|
5853
5871
|
const X = Array.from(arguments), H = [], et = [];
|
|
5854
5872
|
function Gt($) {
|
|
5855
5873
|
H.push($);
|
|
@@ -5885,17 +5903,17 @@ function kI(t, e, I = {}, M, g, c) {
|
|
|
5885
5903
|
$patch: m,
|
|
5886
5904
|
$reset: j,
|
|
5887
5905
|
$subscribe(p, Y = {}) {
|
|
5888
|
-
const X = fM(A, p, Y.detached, () => H()), H = N.run(() =>
|
|
5906
|
+
const X = fM(A, p, Y.detached, () => H()), H = N.run(() => Qe(() => M.state.value[t], (et) => {
|
|
5889
5907
|
(Y.flush === "sync" ? s : a) && p({
|
|
5890
5908
|
storeId: t,
|
|
5891
|
-
type:
|
|
5909
|
+
type: Ze.direct,
|
|
5892
5910
|
events: C
|
|
5893
5911
|
}, et);
|
|
5894
5912
|
}, At({}, i, Y)));
|
|
5895
5913
|
return X;
|
|
5896
5914
|
},
|
|
5897
5915
|
$dispose: Z
|
|
5898
|
-
}, y = MN(process.env.NODE_ENV !== "production" ||
|
|
5916
|
+
}, y = MN(process.env.NODE_ENV !== "production" || rI ? At(
|
|
5899
5917
|
{
|
|
5900
5918
|
_hmrPayload: r,
|
|
5901
5919
|
_customProperties: Vt(/* @__PURE__ */ new Set())
|
|
@@ -5906,13 +5924,13 @@ function kI(t, e, I = {}, M, g, c) {
|
|
|
5906
5924
|
const k = M._e.run(() => (N = KM(), N.run(() => e())));
|
|
5907
5925
|
for (const p in k) {
|
|
5908
5926
|
const Y = k[p];
|
|
5909
|
-
if (ge(Y) && !VM(Y) ||
|
|
5910
|
-
process.env.NODE_ENV !== "production" && g ?
|
|
5927
|
+
if (ge(Y) && !VM(Y) || UI(Y))
|
|
5928
|
+
process.env.NODE_ENV !== "production" && g ? ke(d.value, p, iI(k, p)) : c || (O && Na(Y) && (ge(Y) ? Y.value = O[p] : kI(Y, O[p])), M.state.value[t][p] = Y), process.env.NODE_ENV !== "production" && r.state.push(p);
|
|
5911
5929
|
else if (typeof Y == "function") {
|
|
5912
5930
|
const X = process.env.NODE_ENV !== "production" && g ? Y : T(p, Y);
|
|
5913
5931
|
k[p] = X, process.env.NODE_ENV !== "production" && (r.actions[p] = Y), l.actions[p] = Y;
|
|
5914
5932
|
} else
|
|
5915
|
-
process.env.NODE_ENV !== "production" && VM(Y) && (r.getters[p] = c ? I.getters[p] : Y,
|
|
5933
|
+
process.env.NODE_ENV !== "production" && VM(Y) && (r.getters[p] = c ? I.getters[p] : Y, eM && (k._getters || (k._getters = Vt([]))).push(p));
|
|
5916
5934
|
}
|
|
5917
5935
|
if (At(y, k), At(gN(y), k), Object.defineProperty(y, "$state", {
|
|
5918
5936
|
get: () => process.env.NODE_ENV !== "production" && g ? d.value : M.state.value[t],
|
|
@@ -5929,26 +5947,26 @@ function kI(t, e, I = {}, M, g, c) {
|
|
|
5929
5947
|
const X = p.$state[Y], H = y.$state[Y];
|
|
5930
5948
|
typeof X == "object" && Kt(X) && Kt(H) ? dc(X, H) : p.$state[Y] = H;
|
|
5931
5949
|
}
|
|
5932
|
-
|
|
5950
|
+
ke(y, Y, iI(p.$state, Y));
|
|
5933
5951
|
}), Object.keys(y.$state).forEach((Y) => {
|
|
5934
|
-
Y in p.$state ||
|
|
5935
|
-
}), a = !1, s = !1, M.state.value[t] =
|
|
5952
|
+
Y in p.$state || oI(y, Y);
|
|
5953
|
+
}), a = !1, s = !1, M.state.value[t] = iI(p._hmrPayload, "hotState"), s = !0, MM().then(() => {
|
|
5936
5954
|
a = !0;
|
|
5937
5955
|
});
|
|
5938
5956
|
for (const Y in p._hmrPayload.actions) {
|
|
5939
5957
|
const X = p[Y];
|
|
5940
|
-
|
|
5958
|
+
ke(y, Y, T(Y, X));
|
|
5941
5959
|
}
|
|
5942
5960
|
for (const Y in p._hmrPayload.getters) {
|
|
5943
|
-
const X = p._hmrPayload.getters[Y], H = c ? nt(() => (
|
|
5944
|
-
|
|
5961
|
+
const X = p._hmrPayload.getters[Y], H = c ? nt(() => (Be(M), X.call(y, y))) : X;
|
|
5962
|
+
ke(y, Y, H);
|
|
5945
5963
|
}
|
|
5946
5964
|
Object.keys(y._hmrPayload.getters).forEach((Y) => {
|
|
5947
|
-
Y in p._hmrPayload.getters ||
|
|
5965
|
+
Y in p._hmrPayload.getters || oI(y, Y);
|
|
5948
5966
|
}), Object.keys(y._hmrPayload.actions).forEach((Y) => {
|
|
5949
|
-
Y in p._hmrPayload.actions ||
|
|
5967
|
+
Y in p._hmrPayload.actions || oI(y, Y);
|
|
5950
5968
|
}), y._hmrPayload = p._hmrPayload, y._getters = p._getters, y._hotUpdating = !1;
|
|
5951
|
-
})),
|
|
5969
|
+
})), rI) {
|
|
5952
5970
|
const p = {
|
|
5953
5971
|
writable: !0,
|
|
5954
5972
|
configurable: !0,
|
|
@@ -5959,7 +5977,7 @@ function kI(t, e, I = {}, M, g, c) {
|
|
|
5959
5977
|
});
|
|
5960
5978
|
}
|
|
5961
5979
|
return M._p.forEach((p) => {
|
|
5962
|
-
if (
|
|
5980
|
+
if (rI) {
|
|
5963
5981
|
const Y = N.run(() => p({
|
|
5964
5982
|
store: y,
|
|
5965
5983
|
app: M._a,
|
|
@@ -5978,7 +5996,7 @@ function kI(t, e, I = {}, M, g, c) {
|
|
|
5978
5996
|
state: () => new MyClass()
|
|
5979
5997
|
Found in store "${y.$id}".`), O && c && I.hydrate && I.hydrate(y.$state, O), a = !0, s = !0, y;
|
|
5980
5998
|
}
|
|
5981
|
-
function
|
|
5999
|
+
function NI(t, e, I) {
|
|
5982
6000
|
let M, g;
|
|
5983
6001
|
const c = typeof e == "function";
|
|
5984
6002
|
if (typeof t == "string")
|
|
@@ -5987,18 +6005,18 @@ function cI(t, e, I) {
|
|
|
5987
6005
|
throw new Error('[\u{1F34D}]: "defineStore()" must be passed a store id as its first argument.');
|
|
5988
6006
|
function N(l, i) {
|
|
5989
6007
|
const a = Me();
|
|
5990
|
-
if (l = (process.env.NODE_ENV === "test" &&
|
|
6008
|
+
if (l = (process.env.NODE_ENV === "test" && Oe && Oe._testing ? null : l) || a && $M(ga, null), l && Be(l), process.env.NODE_ENV !== "production" && !Oe)
|
|
5991
6009
|
throw new Error(`[\u{1F34D}]: "getActivePinia()" was called but there was no active Pinia. Did you forget to install pinia?
|
|
5992
6010
|
const pinia = createPinia()
|
|
5993
6011
|
app.use(pinia)
|
|
5994
6012
|
This will fail in production.`);
|
|
5995
|
-
l =
|
|
6013
|
+
l = Oe, l._s.has(M) || (c ? XI(M, e, g, l) : HM(M, g, l), process.env.NODE_ENV !== "production" && (N._pinia = l));
|
|
5996
6014
|
const s = l._s.get(M);
|
|
5997
6015
|
if (process.env.NODE_ENV !== "production" && i) {
|
|
5998
|
-
const A = "__hot:" + M, D = c ?
|
|
6016
|
+
const A = "__hot:" + M, D = c ? XI(A, e, g, l, !0) : HM(A, At({}, g), l, !0);
|
|
5999
6017
|
i._hotUpdate(D), delete l.state.value[A], l._s.delete(A);
|
|
6000
6018
|
}
|
|
6001
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
6019
|
+
if (process.env.NODE_ENV !== "production" && eM && a && a.proxy && !i) {
|
|
6002
6020
|
const A = a.proxy, D = "_pStores" in A ? A._pStores : A._pStores = {};
|
|
6003
6021
|
D[M] = s;
|
|
6004
6022
|
}
|
|
@@ -6006,7 +6024,7 @@ This will fail in production.`);
|
|
|
6006
6024
|
}
|
|
6007
6025
|
return N.$id = M, N;
|
|
6008
6026
|
}
|
|
6009
|
-
const
|
|
6027
|
+
const fe = NI({
|
|
6010
6028
|
id: "ConfigStore",
|
|
6011
6029
|
state: () => ({
|
|
6012
6030
|
APP_ROOT: "/",
|
|
@@ -6034,7 +6052,9 @@ const Be = cI({
|
|
|
6034
6052
|
OIDC_CUSTOM: {},
|
|
6035
6053
|
primeConfig: { ripple: !0, inputStyle: "outlined" },
|
|
6036
6054
|
ACA_LINK: "http://localhost:80/aca/",
|
|
6037
|
-
SHOW_ACA_LOGIN_LINK: !1
|
|
6055
|
+
SHOW_ACA_LOGIN_LINK: !1,
|
|
6056
|
+
SENTRY_ENABLE: !1,
|
|
6057
|
+
SENTRY_DSN: ""
|
|
6038
6058
|
}),
|
|
6039
6059
|
getters: {
|
|
6040
6060
|
oidc: (t) => t.AUTH === "keycloak" ? {
|
|
@@ -6045,7 +6065,7 @@ const Be = cI({
|
|
|
6045
6065
|
},
|
|
6046
6066
|
config: "keycloak.json",
|
|
6047
6067
|
onReady(e) {
|
|
6048
|
-
|
|
6068
|
+
Ve().keycloakReady(e);
|
|
6049
6069
|
}
|
|
6050
6070
|
} : t.AUTH === "lemonldap" ? {
|
|
6051
6071
|
init: {
|
|
@@ -6059,7 +6079,7 @@ const Be = cI({
|
|
|
6059
6079
|
oidcProvider: `${t.OIDC_PROVIDER}`
|
|
6060
6080
|
},
|
|
6061
6081
|
onReady(e) {
|
|
6062
|
-
|
|
6082
|
+
Ve().keycloakReady(e);
|
|
6063
6083
|
}
|
|
6064
6084
|
} : {}
|
|
6065
6085
|
},
|
|
@@ -6078,7 +6098,7 @@ const Be = cI({
|
|
|
6078
6098
|
});
|
|
6079
6099
|
}
|
|
6080
6100
|
}
|
|
6081
|
-
}),
|
|
6101
|
+
}), Ve = NI({
|
|
6082
6102
|
id: "UserStore",
|
|
6083
6103
|
state: () => ({
|
|
6084
6104
|
token: "",
|
|
@@ -6102,21 +6122,21 @@ const Be = cI({
|
|
|
6102
6122
|
person: null,
|
|
6103
6123
|
apiAlfresco: null
|
|
6104
6124
|
});
|
|
6105
|
-
const t =
|
|
6125
|
+
const t = fe();
|
|
6106
6126
|
if (t.AUTH === "keycloak")
|
|
6107
6127
|
return ie.get(`${t.ALFRESCO_HOST}/alfresco/logout`).then(() => {
|
|
6108
6128
|
localStorage.removeItem("ticket-ECM"), localStorage.removeItem("ACS_USERNAME"), this.keycloak.logout();
|
|
6109
6129
|
});
|
|
6110
6130
|
},
|
|
6111
6131
|
isLoggedIn() {
|
|
6112
|
-
return B.isLoggedIn() ?
|
|
6132
|
+
return B.isLoggedIn() ? pe.getPerson("-me-").then((t) => (this.$patch({
|
|
6113
6133
|
person: t.entry
|
|
6114
6134
|
}), !0)).catch((t) => {
|
|
6115
6135
|
throw console.error(t), t.error ? t.error : t;
|
|
6116
6136
|
}) : Promise.resolve(!1);
|
|
6117
6137
|
},
|
|
6118
6138
|
keycloakReady: function(t) {
|
|
6119
|
-
const e =
|
|
6139
|
+
const e = fe();
|
|
6120
6140
|
return ie.get(
|
|
6121
6141
|
`${e.ALFRESCO_HOST}/alfresco/api/-default-/public/authentication/versions/1/tickets/-me-`,
|
|
6122
6142
|
{
|
|
@@ -6134,7 +6154,7 @@ const Be = cI({
|
|
|
6134
6154
|
keycloak: t
|
|
6135
6155
|
});
|
|
6136
6156
|
}).catch((I) => {
|
|
6137
|
-
throw
|
|
6157
|
+
throw mI(I);
|
|
6138
6158
|
});
|
|
6139
6159
|
},
|
|
6140
6160
|
async login(t, e) {
|
|
@@ -6145,11 +6165,11 @@ const Be = cI({
|
|
|
6145
6165
|
person: I.entry
|
|
6146
6166
|
});
|
|
6147
6167
|
}).catch((I) => {
|
|
6148
|
-
throw
|
|
6168
|
+
throw mI(I);
|
|
6149
6169
|
});
|
|
6150
6170
|
},
|
|
6151
6171
|
apiLogin(t, e) {
|
|
6152
|
-
return B.login(t, e).then(() =>
|
|
6172
|
+
return B.login(t, e).then(() => pe.getPerson("-me-")).catch((I) => Promise.reject(I));
|
|
6153
6173
|
},
|
|
6154
6174
|
async publiclogoff() {
|
|
6155
6175
|
const t = localStorage.getItem("ACS_USERNAME");
|
|
@@ -6161,31 +6181,31 @@ const Be = cI({
|
|
|
6161
6181
|
"GET",
|
|
6162
6182
|
`fr/jeci/pristy/authentication/ticket/publication/site/${t}`
|
|
6163
6183
|
).then((I) => (B.setTicket(I.ticket, null), window.localStorage.setItem("ACS_USERNAME", I.login), I.ticket)).catch((I) => {
|
|
6164
|
-
throw
|
|
6184
|
+
throw mI(I);
|
|
6165
6185
|
});
|
|
6166
6186
|
}
|
|
6167
6187
|
}
|
|
6168
6188
|
});
|
|
6169
6189
|
class la {
|
|
6170
6190
|
getFavorites(e) {
|
|
6171
|
-
const I =
|
|
6191
|
+
const I = Ve(), M = {
|
|
6172
6192
|
skipCount: 0,
|
|
6173
6193
|
maxItems: 100,
|
|
6174
6194
|
include: ["properties", "path"]
|
|
6175
6195
|
};
|
|
6176
|
-
return e && (M.where = `(EXISTS(target/${e}))`),
|
|
6196
|
+
return e && (M.where = `(EXISTS(target/${e}))`), bI.listFavorites(I.person.id, M).then((g) => g.list.entries.map((c) => c.entry)).catch((g) => {
|
|
6177
6197
|
xi(g);
|
|
6178
6198
|
});
|
|
6179
6199
|
}
|
|
6180
6200
|
changeSingleFavorite(e) {
|
|
6181
|
-
const I =
|
|
6201
|
+
const I = Ve();
|
|
6182
6202
|
if (e.isFavorite)
|
|
6183
|
-
return
|
|
6203
|
+
return bI.deleteFavorite(I.person.id, e.id).then(() => (e.isFavorite = !1, e)).catch((M) => {
|
|
6184
6204
|
Gi(M);
|
|
6185
6205
|
});
|
|
6186
6206
|
{
|
|
6187
6207
|
let M = { target: {} }, g = { guid: e.id };
|
|
6188
|
-
return e.nodeType === "st:site" ? M.target = { site: g } : e.isFile ? M.target = { file: g } : M.target = { folder: g },
|
|
6208
|
+
return e.nodeType === "st:site" ? M.target = { site: g } : e.isFile ? M.target = { file: g } : M.target = { folder: g }, bI.createFavorite(I.person.id, M).then((c) => (e.isFavorite = c.entry.targetGuid === e.id, e)).catch((c) => {
|
|
6189
6209
|
Ei(c);
|
|
6190
6210
|
});
|
|
6191
6211
|
}
|
|
@@ -6238,7 +6258,7 @@ const Ja = new ba(), aa = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiB
|
|
|
6238
6258
|
function ya(t, e, I, M, g, c) {
|
|
6239
6259
|
return lN(), iN("img", { src: g.src }, null, 8, Oa);
|
|
6240
6260
|
}
|
|
6241
|
-
const Fa = /* @__PURE__ */ Ta(za, [["render", ya]]), Ot =
|
|
6261
|
+
const Fa = /* @__PURE__ */ Ta(za, [["render", ya]]), Ot = PI.global.t;
|
|
6242
6262
|
class da {
|
|
6243
6263
|
getIcon(e) {
|
|
6244
6264
|
let I;
|
|
@@ -6340,7 +6360,7 @@ class da {
|
|
|
6340
6360
|
const Ba = new da();
|
|
6341
6361
|
class Za {
|
|
6342
6362
|
loadBreadcrumbs(e, I) {
|
|
6343
|
-
const M =
|
|
6363
|
+
const M = fe();
|
|
6344
6364
|
let g = [];
|
|
6345
6365
|
if (I)
|
|
6346
6366
|
g.push({
|
|
@@ -6373,7 +6393,7 @@ class Za {
|
|
|
6373
6393
|
return g;
|
|
6374
6394
|
}
|
|
6375
6395
|
}
|
|
6376
|
-
const fa = new Za(), pa =
|
|
6396
|
+
const fa = new Za(), pa = NI({
|
|
6377
6397
|
id: "CollaboraStore",
|
|
6378
6398
|
state: () => ({
|
|
6379
6399
|
XMLExtensions: null,
|
|
@@ -6391,7 +6411,7 @@ const fa = new Za(), pa = cI({
|
|
|
6391
6411
|
});
|
|
6392
6412
|
},
|
|
6393
6413
|
loadExtensionsXML() {
|
|
6394
|
-
const t =
|
|
6414
|
+
const t = fe();
|
|
6395
6415
|
return console.log(
|
|
6396
6416
|
`Loading collabora extensions: ${t.COLLABORA_HOSTING_DISCOVERY}`
|
|
6397
6417
|
), ie.get(`${t.COLLABORA_HOSTING_DISCOVERY}`).then((e) => new DOMParser().parseFromString(e.data, "text/xml")).catch((e) => {
|
|
@@ -6409,7 +6429,7 @@ const fa = new Za(), pa = cI({
|
|
|
6409
6429
|
) : !!I;
|
|
6410
6430
|
}
|
|
6411
6431
|
}
|
|
6412
|
-
}),
|
|
6432
|
+
}), CI = PI.global.t;
|
|
6413
6433
|
class La {
|
|
6414
6434
|
async computeMenuEspaces() {
|
|
6415
6435
|
let e = [], I = await ia.getFavorites(), M = this.favoritesSiteToMenuItems(I), g = this.favoritesNodeToMenuItems(
|
|
@@ -6418,18 +6438,18 @@ class La {
|
|
|
6418
6438
|
)
|
|
6419
6439
|
);
|
|
6420
6440
|
return e.push({
|
|
6421
|
-
label:
|
|
6441
|
+
label: CI("menu.espaces"),
|
|
6422
6442
|
items: M,
|
|
6423
6443
|
key: "menuEspaces",
|
|
6424
6444
|
to: { name: "mes-espaces" },
|
|
6425
6445
|
class: "layout-menuitem-root-text"
|
|
6426
6446
|
}), e.push({
|
|
6427
|
-
label:
|
|
6447
|
+
label: CI("menu.favoris"),
|
|
6428
6448
|
key: "menuFavoris",
|
|
6429
6449
|
class: "layout-menuitem-root-text",
|
|
6430
6450
|
items: g
|
|
6431
6451
|
}), e.push({
|
|
6432
|
-
label:
|
|
6452
|
+
label: CI("menu.recherche"),
|
|
6433
6453
|
key: "menuRecherche",
|
|
6434
6454
|
class: "layout-menuitem-root-text",
|
|
6435
6455
|
to: {
|
|
@@ -6548,26 +6568,26 @@ class Ya {
|
|
|
6548
6568
|
const I = {
|
|
6549
6569
|
include: ["properties", "aspectNames", "capabilities"]
|
|
6550
6570
|
};
|
|
6551
|
-
return
|
|
6552
|
-
|
|
6571
|
+
return pe.getPerson(e, I).then((M) => M.entry).catch((M) => {
|
|
6572
|
+
v.getUserError(M);
|
|
6553
6573
|
});
|
|
6554
6574
|
}
|
|
6555
6575
|
listGroups(e) {
|
|
6556
6576
|
const I = {};
|
|
6557
6577
|
return qM.listGroupMembershipsForPerson(e, I).then((M) => M.list.entries).catch((M) => {
|
|
6558
|
-
|
|
6578
|
+
v.listGroupsError(M);
|
|
6559
6579
|
});
|
|
6560
6580
|
}
|
|
6561
6581
|
listUsers() {
|
|
6562
6582
|
const e = {
|
|
6563
6583
|
include: ["properties", "aspectNames", "capabilities"]
|
|
6564
6584
|
};
|
|
6565
|
-
return
|
|
6566
|
-
|
|
6585
|
+
return pe.listPeople(e).then((I) => I.list.entries.map((M) => M.entry)).catch((I) => {
|
|
6586
|
+
v.getAllUsersError(I);
|
|
6567
6587
|
});
|
|
6568
6588
|
}
|
|
6569
6589
|
}
|
|
6570
|
-
const Ha = new Ya(), Pa =
|
|
6590
|
+
const Ha = new Ya(), Pa = NI({
|
|
6571
6591
|
id: "MenuStore",
|
|
6572
6592
|
state: () => ({
|
|
6573
6593
|
menu: []
|
|
@@ -6598,28 +6618,28 @@ export {
|
|
|
6598
6618
|
ha as commentsApi,
|
|
6599
6619
|
St as contentApi,
|
|
6600
6620
|
Sa as downloadsApi,
|
|
6601
|
-
|
|
6621
|
+
v as errorService,
|
|
6602
6622
|
ia as favoriteService,
|
|
6603
|
-
|
|
6604
|
-
|
|
6623
|
+
bI as favoritesApi,
|
|
6624
|
+
PI as i18n,
|
|
6605
6625
|
Ba as iconeService,
|
|
6606
6626
|
Va as menuService,
|
|
6607
6627
|
di as messages,
|
|
6608
6628
|
at as nodesApi,
|
|
6609
|
-
|
|
6629
|
+
pe as peopleApi,
|
|
6610
6630
|
Ha as peopleService,
|
|
6611
6631
|
re as renditionsApi,
|
|
6612
6632
|
aN as searchApi,
|
|
6613
|
-
|
|
6633
|
+
Ce as sharedLinksApi,
|
|
6614
6634
|
it as sitesApi,
|
|
6615
6635
|
ka as tagsApi,
|
|
6616
6636
|
xa as trashcanApi,
|
|
6617
6637
|
Ua as typesApi,
|
|
6618
6638
|
bN as uploadApi,
|
|
6619
6639
|
pa as useCollaboraStore,
|
|
6620
|
-
|
|
6640
|
+
fe as useConfigStore,
|
|
6621
6641
|
Pa as useMenuStore,
|
|
6622
|
-
|
|
6642
|
+
Ve as useUserStore,
|
|
6623
6643
|
Ht as versionsApi,
|
|
6624
6644
|
uN as webscriptApi,
|
|
6625
6645
|
cc as workspaceService
|