@pristy/pristy-libvue 0.6.1 → 0.6.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/README.md +1 -2
- package/dist/pristy-libvue.mjs +222 -222
- package/dist/pristy-libvue.umd.js +1 -1
- package/package.json +1 -1
package/dist/pristy-libvue.mjs
CHANGED
|
@@ -13,7 +13,7 @@ function KI() {
|
|
|
13
13
|
return _I || (_I = new Nb(iM())), _I;
|
|
14
14
|
}
|
|
15
15
|
let $I = null;
|
|
16
|
-
function
|
|
16
|
+
function Zb() {
|
|
17
17
|
return $I || ($I = new lb(iM())), $I;
|
|
18
18
|
}
|
|
19
19
|
let qI = null;
|
|
@@ -25,11 +25,11 @@ function sM() {
|
|
|
25
25
|
return Mt || (Mt = new ab(iM())), Mt;
|
|
26
26
|
}
|
|
27
27
|
let It = null;
|
|
28
|
-
function
|
|
28
|
+
function dM() {
|
|
29
29
|
return It || (It = new ub(iM())), It;
|
|
30
30
|
}
|
|
31
31
|
let tt = null;
|
|
32
|
-
function
|
|
32
|
+
function db() {
|
|
33
33
|
return tt || (tt = new Db(iM())), tt;
|
|
34
34
|
}
|
|
35
35
|
let et = null;
|
|
@@ -177,7 +177,7 @@ const pM = " ", Xb = "\r", gM = `
|
|
|
177
177
|
function Qb(M) {
|
|
178
178
|
const I = M;
|
|
179
179
|
let t = 0, e = 1, g = 1, c = 0;
|
|
180
|
-
const N = (O) => I[O] === Xb && I[O + 1] === gM, l = (O) => I[O] === gM, a = (O) => I[O] === vb, u = (O) => I[O] === Ub, i = (O) => N(O) || l(O) || a(O) || u(O), n = () => t, m = () => e, o = () => g,
|
|
180
|
+
const N = (O) => I[O] === Xb && I[O + 1] === gM, l = (O) => I[O] === gM, a = (O) => I[O] === vb, u = (O) => I[O] === Ub, i = (O) => N(O) || l(O) || a(O) || u(O), n = () => t, m = () => e, o = () => g, Z = () => c, d = (O) => N(O) || a(O) || u(O) ? gM : I[O], W = () => d(t), A = () => d(t + c);
|
|
181
181
|
function r() {
|
|
182
182
|
return c = 0, i(t) && (e++, g = 0), N(t) && t++, t++, g++, I[t];
|
|
183
183
|
}
|
|
@@ -200,8 +200,8 @@ function Qb(M) {
|
|
|
200
200
|
index: n,
|
|
201
201
|
line: m,
|
|
202
202
|
column: o,
|
|
203
|
-
peekOffset:
|
|
204
|
-
charAt:
|
|
203
|
+
peekOffset: Z,
|
|
204
|
+
charAt: d,
|
|
205
205
|
currentChar: W,
|
|
206
206
|
currentPeek: A,
|
|
207
207
|
next: r,
|
|
@@ -242,17 +242,17 @@ function Jb(M, I = {}) {
|
|
|
242
242
|
return t && (G.loc = mt(D.startLoc, D.endLoc)), s != null && (G.value = s), G;
|
|
243
243
|
}
|
|
244
244
|
const o = (D) => m(D, 14);
|
|
245
|
-
function
|
|
245
|
+
function Z(D, b) {
|
|
246
246
|
return D.currentChar() === b ? (D.next(), b) : (n(S.EXPECTED_TOKEN, c(), 0, b), "");
|
|
247
247
|
}
|
|
248
|
-
function
|
|
248
|
+
function d(D) {
|
|
249
249
|
let b = "";
|
|
250
250
|
for (; D.currentPeek() === pM || D.currentPeek() === gM; )
|
|
251
251
|
b += D.currentPeek(), D.peek();
|
|
252
252
|
return b;
|
|
253
253
|
}
|
|
254
254
|
function W(D) {
|
|
255
|
-
const b =
|
|
255
|
+
const b = d(D);
|
|
256
256
|
return D.skipToPeek(), b;
|
|
257
257
|
}
|
|
258
258
|
function A(D) {
|
|
@@ -271,7 +271,7 @@ function Jb(M, I = {}) {
|
|
|
271
271
|
const { currentType: s } = b;
|
|
272
272
|
if (s !== 2)
|
|
273
273
|
return !1;
|
|
274
|
-
|
|
274
|
+
d(D);
|
|
275
275
|
const G = A(D.currentPeek());
|
|
276
276
|
return D.resetPeek(), G;
|
|
277
277
|
}
|
|
@@ -279,7 +279,7 @@ function Jb(M, I = {}) {
|
|
|
279
279
|
const { currentType: s } = b;
|
|
280
280
|
if (s !== 2)
|
|
281
281
|
return !1;
|
|
282
|
-
|
|
282
|
+
d(D);
|
|
283
283
|
const G = D.currentPeek() === "-" ? D.peek() : D.currentPeek(), X = r(G);
|
|
284
284
|
return D.resetPeek(), X;
|
|
285
285
|
}
|
|
@@ -287,7 +287,7 @@ function Jb(M, I = {}) {
|
|
|
287
287
|
const { currentType: s } = b;
|
|
288
288
|
if (s !== 2)
|
|
289
289
|
return !1;
|
|
290
|
-
|
|
290
|
+
d(D);
|
|
291
291
|
const G = D.currentPeek() === Me;
|
|
292
292
|
return D.resetPeek(), G;
|
|
293
293
|
}
|
|
@@ -295,7 +295,7 @@ function Jb(M, I = {}) {
|
|
|
295
295
|
const { currentType: s } = b;
|
|
296
296
|
if (s !== 8)
|
|
297
297
|
return !1;
|
|
298
|
-
|
|
298
|
+
d(D);
|
|
299
299
|
const G = D.currentPeek() === ".";
|
|
300
300
|
return D.resetPeek(), G;
|
|
301
301
|
}
|
|
@@ -303,7 +303,7 @@ function Jb(M, I = {}) {
|
|
|
303
303
|
const { currentType: s } = b;
|
|
304
304
|
if (s !== 9)
|
|
305
305
|
return !1;
|
|
306
|
-
|
|
306
|
+
d(D);
|
|
307
307
|
const G = A(D.currentPeek());
|
|
308
308
|
return D.resetPeek(), G;
|
|
309
309
|
}
|
|
@@ -311,7 +311,7 @@ function Jb(M, I = {}) {
|
|
|
311
311
|
const { currentType: s } = b;
|
|
312
312
|
if (!(s === 8 || s === 12))
|
|
313
313
|
return !1;
|
|
314
|
-
|
|
314
|
+
d(D);
|
|
315
315
|
const G = D.currentPeek() === ":";
|
|
316
316
|
return D.resetPeek(), G;
|
|
317
317
|
}
|
|
@@ -326,12 +326,12 @@ function Jb(M, I = {}) {
|
|
|
326
326
|
return D.resetPeek(), X;
|
|
327
327
|
}
|
|
328
328
|
function E(D) {
|
|
329
|
-
|
|
329
|
+
d(D);
|
|
330
330
|
const b = D.currentPeek() === "|";
|
|
331
331
|
return D.resetPeek(), b;
|
|
332
332
|
}
|
|
333
333
|
function h(D) {
|
|
334
|
-
const b =
|
|
334
|
+
const b = d(D), s = D.currentPeek() === "%" && D.peek() === "{";
|
|
335
335
|
return D.resetPeek(), {
|
|
336
336
|
isModulo: s,
|
|
337
337
|
hasSpace: b.length > 0
|
|
@@ -339,8 +339,8 @@ function Jb(M, I = {}) {
|
|
|
339
339
|
}
|
|
340
340
|
function f(D, b = !0) {
|
|
341
341
|
const s = (X = !1, J = "", oM = !1) => {
|
|
342
|
-
const
|
|
343
|
-
return
|
|
342
|
+
const ZM = D.currentPeek();
|
|
343
|
+
return ZM === "{" ? J === "%" ? !1 : X : ZM === "@" || !ZM ? J === "%" ? !0 : X : ZM === "%" ? (D.peek(), s(X, "%", !0)) : ZM === "|" ? J === "%" || oM ? !0 : !(J === pM || J === gM) : ZM === pM ? (D.peek(), s(!0, pM, oM)) : ZM === gM ? (D.peek(), s(!0, gM, oM)) : !0;
|
|
344
344
|
}, G = s();
|
|
345
345
|
return b && D.resetPeek(), G;
|
|
346
346
|
}
|
|
@@ -414,13 +414,13 @@ function Jb(M, I = {}) {
|
|
|
414
414
|
return D.currentChar() === "-" ? (D.next(), b += `-${K(D)}`) : b += K(D), D.currentChar() === xM && n(S.UNTERMINATED_CLOSING_BRACE, c(), 0), b;
|
|
415
415
|
}
|
|
416
416
|
function bI(D) {
|
|
417
|
-
W(D),
|
|
417
|
+
W(D), Z(D, "'");
|
|
418
418
|
let b = "", s = "";
|
|
419
419
|
const G = (J) => J !== Me && J !== gM;
|
|
420
420
|
for (; b = V(D, G); )
|
|
421
421
|
b === "\\" ? s += aI(D) : s += b;
|
|
422
422
|
const X = D.currentChar();
|
|
423
|
-
return X === gM || X === xM ? (n(S.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, c(), 0), X === gM && (D.next(),
|
|
423
|
+
return X === gM || X === xM ? (n(S.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, c(), 0), X === gM && (D.next(), Z(D, "'")), s) : (Z(D, "'"), s);
|
|
424
424
|
}
|
|
425
425
|
function aI(D) {
|
|
426
426
|
const b = D.currentChar();
|
|
@@ -437,7 +437,7 @@ function Jb(M, I = {}) {
|
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
439
|
function uI(D, b, s) {
|
|
440
|
-
|
|
440
|
+
Z(D, b);
|
|
441
441
|
let G = "";
|
|
442
442
|
for (let X = 0; X < s; X++) {
|
|
443
443
|
const J = IM(D);
|
|
@@ -472,7 +472,7 @@ function Jb(M, I = {}) {
|
|
|
472
472
|
}
|
|
473
473
|
function UM(D) {
|
|
474
474
|
W(D);
|
|
475
|
-
const b =
|
|
475
|
+
const b = Z(D, "|");
|
|
476
476
|
return W(D), b;
|
|
477
477
|
}
|
|
478
478
|
function vM(D, b) {
|
|
@@ -678,7 +678,7 @@ function Vb(M = {}) {
|
|
|
678
678
|
const O = r.currentType === 1 ? r.lastOffset : A.currentOffset(), U = r.currentType === 1 ? r.lastEndLoc : A.currentPosition();
|
|
679
679
|
return c(C, O, U), C;
|
|
680
680
|
}
|
|
681
|
-
function
|
|
681
|
+
function Z(A, r, p, T) {
|
|
682
682
|
const C = A.context();
|
|
683
683
|
let w = T.items.length === 0;
|
|
684
684
|
const O = g(1, r, p);
|
|
@@ -689,13 +689,13 @@ function Vb(M = {}) {
|
|
|
689
689
|
} while (C.currentType !== 14);
|
|
690
690
|
return w && e(A, S.MUST_HAVE_MESSAGES_IN_PLURAL, p, 0), c(O, A.currentOffset(), A.currentPosition()), O;
|
|
691
691
|
}
|
|
692
|
-
function
|
|
692
|
+
function d(A) {
|
|
693
693
|
const r = A.context(), { offset: p, startLoc: T } = r, C = o(A);
|
|
694
|
-
return r.currentType === 14 ? C :
|
|
694
|
+
return r.currentType === 14 ? C : Z(A, p, T, C);
|
|
695
695
|
}
|
|
696
696
|
function W(A) {
|
|
697
697
|
const r = Jb(A, MM({}, M)), p = r.context(), T = g(0, p.offset, p.startLoc);
|
|
698
|
-
return I && T.loc && (T.loc.source = A), T.body =
|
|
698
|
+
return I && T.loc && (T.loc.source = A), T.body = d(r), p.currentType !== 14 && e(r, S.UNEXPECTED_LEXICAL_ANALYSIS, p.lastStartLoc, 0, A[p.offset] || ""), c(T, r.currentOffset(), r.currentPosition()), T;
|
|
699
699
|
}
|
|
700
700
|
return { parse: W };
|
|
701
701
|
}
|
|
@@ -754,20 +754,20 @@ function _b(M, I) {
|
|
|
754
754
|
needIndent: c,
|
|
755
755
|
indentLevel: 0
|
|
756
756
|
}, l = () => N;
|
|
757
|
-
function a(
|
|
758
|
-
N.code +=
|
|
757
|
+
function a(d, W) {
|
|
758
|
+
N.code += d;
|
|
759
759
|
}
|
|
760
|
-
function u(
|
|
760
|
+
function u(d, W = !0) {
|
|
761
761
|
const A = W ? g : "";
|
|
762
|
-
a(c ? A + " ".repeat(
|
|
762
|
+
a(c ? A + " ".repeat(d) : A);
|
|
763
763
|
}
|
|
764
|
-
function i(
|
|
764
|
+
function i(d = !0) {
|
|
765
765
|
const W = ++N.indentLevel;
|
|
766
|
-
|
|
766
|
+
d && u(W);
|
|
767
767
|
}
|
|
768
|
-
function n(
|
|
768
|
+
function n(d = !0) {
|
|
769
769
|
const W = --N.indentLevel;
|
|
770
|
-
|
|
770
|
+
d && u(W);
|
|
771
771
|
}
|
|
772
772
|
function m() {
|
|
773
773
|
u(N.indentLevel);
|
|
@@ -778,7 +778,7 @@ function _b(M, I) {
|
|
|
778
778
|
indent: i,
|
|
779
779
|
deindent: n,
|
|
780
780
|
newline: m,
|
|
781
|
-
helper: (
|
|
781
|
+
helper: (d) => `_${d}`,
|
|
782
782
|
needIndent: () => N.needIndent
|
|
783
783
|
};
|
|
784
784
|
}
|
|
@@ -984,9 +984,9 @@ function ba(M) {
|
|
|
984
984
|
}
|
|
985
985
|
};
|
|
986
986
|
function o() {
|
|
987
|
-
const
|
|
988
|
-
if (e === 5 &&
|
|
989
|
-
return t++, l = "\\" +
|
|
987
|
+
const Z = M[t + 1];
|
|
988
|
+
if (e === 5 && Z === "'" || e === 6 && Z === '"')
|
|
989
|
+
return t++, l = "\\" + Z, m[0](), !0;
|
|
990
990
|
}
|
|
991
991
|
for (; e !== null; )
|
|
992
992
|
if (t++, c = M[t], !(c === "\\" && o())) {
|
|
@@ -1035,7 +1035,7 @@ function ja(M = {}) {
|
|
|
1035
1035
|
const r = H(M.messages) ? M.messages(A) : F(M.messages) ? M.messages[A] : !1;
|
|
1036
1036
|
return r || (M.parent ? M.parent.message(A) : Aa);
|
|
1037
1037
|
}
|
|
1038
|
-
const n = (A) => M.modifiers ? M.modifiers[A] : Da, m = k(M.processor) && H(M.processor.normalize) ? M.processor.normalize : ma, o = k(M.processor) && H(M.processor.interpolate) ? M.processor.interpolate : sa,
|
|
1038
|
+
const n = (A) => M.modifiers ? M.modifiers[A] : Da, m = k(M.processor) && H(M.processor.normalize) ? M.processor.normalize : ma, o = k(M.processor) && H(M.processor.interpolate) ? M.processor.interpolate : sa, Z = k(M.processor) && Y(M.processor.type) ? M.processor.type : ia, W = {
|
|
1039
1039
|
list: l,
|
|
1040
1040
|
named: u,
|
|
1041
1041
|
plural: c,
|
|
@@ -1047,7 +1047,7 @@ function ja(M = {}) {
|
|
|
1047
1047
|
return C === "vnode" && B(O) && w && (O = O[0]), w ? n(w)(O, C) : O;
|
|
1048
1048
|
},
|
|
1049
1049
|
message: i,
|
|
1050
|
-
type:
|
|
1050
|
+
type: Z,
|
|
1051
1051
|
interpolate: o,
|
|
1052
1052
|
normalize: m
|
|
1053
1053
|
};
|
|
@@ -1112,20 +1112,20 @@ function ge(M, I, t) {
|
|
|
1112
1112
|
let e = !0;
|
|
1113
1113
|
for (let g = 0; g < I.length && v(e); g++) {
|
|
1114
1114
|
const c = I[g];
|
|
1115
|
-
Y(c) && (e =
|
|
1115
|
+
Y(c) && (e = Za(M, I[g], t));
|
|
1116
1116
|
}
|
|
1117
1117
|
return e;
|
|
1118
1118
|
}
|
|
1119
|
-
function
|
|
1119
|
+
function Za(M, I, t) {
|
|
1120
1120
|
let e;
|
|
1121
1121
|
const g = I.split("-");
|
|
1122
1122
|
do {
|
|
1123
1123
|
const c = g.join("-");
|
|
1124
|
-
e =
|
|
1124
|
+
e = da(M, c, t), g.splice(-1, 1);
|
|
1125
1125
|
} while (g.length && e === !0);
|
|
1126
1126
|
return e;
|
|
1127
1127
|
}
|
|
1128
|
-
function
|
|
1128
|
+
function da(M, I, t) {
|
|
1129
1129
|
let e = !1;
|
|
1130
1130
|
if (!M.includes(I) && (e = !0, I)) {
|
|
1131
1131
|
e = I[I.length - 1] !== "!";
|
|
@@ -1164,7 +1164,7 @@ const le = (M) => {
|
|
|
1164
1164
|
}, xa = () => tg;
|
|
1165
1165
|
let be = 0;
|
|
1166
1166
|
function Ga(M = {}) {
|
|
1167
|
-
const I = Y(M.version) ? M.version : pa, t = Y(M.locale) ? M.locale : pI, e = B(M.fallbackLocale) || k(M.fallbackLocale) || Y(M.fallbackLocale) || M.fallbackLocale === !1 ? M.fallbackLocale : t, g = k(M.messages) ? M.messages : { [t]: {} }, c = k(M.datetimeFormats) ? M.datetimeFormats : { [t]: {} }, N = k(M.numberFormats) ? M.numberFormats : { [t]: {} }, l = MM({}, M.modifiers || {}, La()), a = M.pluralRules || {}, u = H(M.missing) ? M.missing : null, i = v(M.missingWarn) || hM(M.missingWarn) ? M.missingWarn : !0, n = v(M.fallbackWarn) || hM(M.fallbackWarn) ? M.fallbackWarn : !0, m = !!M.fallbackFormat, o = !!M.unresolving,
|
|
1167
|
+
const I = Y(M.version) ? M.version : pa, t = Y(M.locale) ? M.locale : pI, e = B(M.fallbackLocale) || k(M.fallbackLocale) || Y(M.fallbackLocale) || M.fallbackLocale === !1 ? M.fallbackLocale : t, g = k(M.messages) ? M.messages : { [t]: {} }, c = k(M.datetimeFormats) ? M.datetimeFormats : { [t]: {} }, N = k(M.numberFormats) ? M.numberFormats : { [t]: {} }, l = MM({}, M.modifiers || {}, La()), a = M.pluralRules || {}, u = H(M.missing) ? M.missing : null, i = v(M.missingWarn) || hM(M.missingWarn) ? M.missingWarn : !0, n = v(M.fallbackWarn) || hM(M.fallbackWarn) ? M.fallbackWarn : !0, m = !!M.fallbackFormat, o = !!M.unresolving, Z = H(M.postTranslation) ? M.postTranslation : null, d = k(M.processor) ? M.processor : null, W = v(M.warnHtmlMessage) ? M.warnHtmlMessage : !0, A = !!M.escapeParameter, r = H(M.messageCompiler) ? M.messageCompiler : $e, p = H(M.messageResolver) ? M.messageResolver : qe || aa, T = H(M.localeFallbacker) ? M.localeFallbacker : Mg || ya, C = F(M.fallbackContext) ? M.fallbackContext : void 0, w = H(M.onWarn) ? M.onWarn : lM, O = M, U = F(O.__datetimeFormatters) ? O.__datetimeFormatters : /* @__PURE__ */ new Map(), x = F(O.__numberFormatters) ? O.__numberFormatters : /* @__PURE__ */ new Map(), E = F(O.__meta) ? O.__meta : {};
|
|
1168
1168
|
be++;
|
|
1169
1169
|
const h = {
|
|
1170
1170
|
version: I,
|
|
@@ -1179,8 +1179,8 @@ function Ga(M = {}) {
|
|
|
1179
1179
|
fallbackWarn: n,
|
|
1180
1180
|
fallbackFormat: m,
|
|
1181
1181
|
unresolving: o,
|
|
1182
|
-
postTranslation:
|
|
1183
|
-
processor:
|
|
1182
|
+
postTranslation: Z,
|
|
1183
|
+
processor: d,
|
|
1184
1184
|
warnHtmlMessage: W,
|
|
1185
1185
|
escapeParameter: A,
|
|
1186
1186
|
messageCompiler: r,
|
|
@@ -1256,14 +1256,14 @@ const va = {
|
|
|
1256
1256
|
[LM.INVALID_ISO_DATE_ARGUMENT]: "The argument provided is not a valid ISO date string"
|
|
1257
1257
|
}, ue = () => "", zM = (M) => H(M);
|
|
1258
1258
|
function De(M, ...I) {
|
|
1259
|
-
const { fallbackFormat: t, postTranslation: e, unresolving: g, messageCompiler: c, fallbackLocale: N, messages: l } = M, [a, u] = st(...I), i = v(u.missingWarn) ? u.missingWarn : M.missingWarn, n = v(u.fallbackWarn) ? u.fallbackWarn : M.fallbackWarn, m = v(u.escapeParameter) ? u.escapeParameter : M.escapeParameter, o = !!u.resolvedMessage,
|
|
1259
|
+
const { fallbackFormat: t, postTranslation: e, unresolving: g, messageCompiler: c, fallbackLocale: N, messages: l } = M, [a, u] = st(...I), i = v(u.missingWarn) ? u.missingWarn : M.missingWarn, n = v(u.fallbackWarn) ? u.fallbackWarn : M.fallbackWarn, m = v(u.escapeParameter) ? u.escapeParameter : M.escapeParameter, o = !!u.resolvedMessage, Z = Y(u.default) || v(u.default) ? v(u.default) ? c ? a : () => a : u.default : t ? c ? a : () => a : "", d = t || Z !== "", W = Y(u.locale) ? u.locale : M.locale;
|
|
1260
1260
|
m && Qa(u);
|
|
1261
1261
|
let [A, r, p] = o ? [
|
|
1262
1262
|
a,
|
|
1263
1263
|
W,
|
|
1264
1264
|
l[W] || {}
|
|
1265
1265
|
] : cg(M, a, W, N, n, i), T = A, C = a;
|
|
1266
|
-
if (!o && !(Y(T) || zM(T)) &&
|
|
1266
|
+
if (!o && !(Y(T) || zM(T)) && d && (T = Z, C = T), !o && (!(Y(T) || zM(T)) || !Y(r)))
|
|
1267
1267
|
return g ? QI : a;
|
|
1268
1268
|
if (process.env.NODE_ENV !== "production" && Y(T) && M.messageCompiler == null)
|
|
1269
1269
|
return lM(`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 '${a}'.`), a;
|
|
@@ -1293,10 +1293,10 @@ function Qa(M) {
|
|
|
1293
1293
|
}
|
|
1294
1294
|
function cg(M, I, t, e, g, c) {
|
|
1295
1295
|
const { messages: N, onWarn: l, messageResolver: a, localeFallbacker: u } = M, i = u(M, e, t);
|
|
1296
|
-
let n = {}, m, o = null,
|
|
1296
|
+
let n = {}, m, o = null, Z = t, d = null;
|
|
1297
1297
|
const W = "translate";
|
|
1298
1298
|
for (let A = 0; A < i.length; A++) {
|
|
1299
|
-
if (m =
|
|
1299
|
+
if (m = d = i[A], process.env.NODE_ENV !== "production" && t !== m && RI(g, I) && l(eI(bM.FALLBACK_TO_TRANSLATE, {
|
|
1300
1300
|
key: I,
|
|
1301
1301
|
target: m
|
|
1302
1302
|
})), process.env.NODE_ENV !== "production" && t !== m) {
|
|
@@ -1304,8 +1304,8 @@ function cg(M, I, t, e, g, c) {
|
|
|
1304
1304
|
w && w.emit("fallback", {
|
|
1305
1305
|
type: W,
|
|
1306
1306
|
key: I,
|
|
1307
|
-
from:
|
|
1308
|
-
to:
|
|
1307
|
+
from: Z,
|
|
1308
|
+
to: d,
|
|
1309
1309
|
groupId: `${W}:${I}`
|
|
1310
1310
|
});
|
|
1311
1311
|
}
|
|
@@ -1330,7 +1330,7 @@ function cg(M, I, t, e, g, c) {
|
|
|
1330
1330
|
c,
|
|
1331
1331
|
W
|
|
1332
1332
|
);
|
|
1333
|
-
C !== I && (o = C),
|
|
1333
|
+
C !== I && (o = C), Z = d;
|
|
1334
1334
|
}
|
|
1335
1335
|
return [o, m, n];
|
|
1336
1336
|
}
|
|
@@ -1406,19 +1406,19 @@ function Fa(M, I, t, e) {
|
|
|
1406
1406
|
modifiers: g,
|
|
1407
1407
|
pluralRules: c,
|
|
1408
1408
|
messages: (o) => {
|
|
1409
|
-
let
|
|
1410
|
-
if (
|
|
1411
|
-
const [, ,
|
|
1412
|
-
|
|
1409
|
+
let Z = N(t, o);
|
|
1410
|
+
if (Z == null && i) {
|
|
1411
|
+
const [, , d] = cg(i, o, I, l, a, u);
|
|
1412
|
+
Z = N(d, o);
|
|
1413
1413
|
}
|
|
1414
|
-
if (Y(
|
|
1415
|
-
let
|
|
1416
|
-
const A = Ng(M, o, I,
|
|
1417
|
-
|
|
1414
|
+
if (Y(Z)) {
|
|
1415
|
+
let d = !1;
|
|
1416
|
+
const A = Ng(M, o, I, Z, o, () => {
|
|
1417
|
+
d = !0;
|
|
1418
1418
|
});
|
|
1419
|
-
return
|
|
1419
|
+
return d ? ue : A;
|
|
1420
1420
|
} else
|
|
1421
|
-
return zM(
|
|
1421
|
+
return zM(Z) ? Z : ue;
|
|
1422
1422
|
}
|
|
1423
1423
|
};
|
|
1424
1424
|
return M.processor && (m.processor = M.processor), e.list && (m.list = e.list), e.named && (m.named = e.named), $(e.plural) && (m.pluralIndex = e.plural), m;
|
|
@@ -1431,20 +1431,20 @@ function ie(M, ...I) {
|
|
|
1431
1431
|
const { datetimeFormats: t, unresolving: e, fallbackLocale: g, onWarn: c, localeFallbacker: N } = M, { __datetimeFormatters: l } = M;
|
|
1432
1432
|
if (process.env.NODE_ENV !== "production" && !lg.dateTimeFormat)
|
|
1433
1433
|
return c(eI(bM.CANNOT_FORMAT_DATE)), SI;
|
|
1434
|
-
const [a, u, i, n] = nt(...I), m = v(i.missingWarn) ? i.missingWarn : M.missingWarn, o = v(i.fallbackWarn) ? i.fallbackWarn : M.fallbackWarn,
|
|
1434
|
+
const [a, u, i, n] = nt(...I), m = v(i.missingWarn) ? i.missingWarn : M.missingWarn, o = v(i.fallbackWarn) ? i.fallbackWarn : M.fallbackWarn, Z = !!i.part, d = Y(i.locale) ? i.locale : M.locale, W = N(
|
|
1435
1435
|
M,
|
|
1436
1436
|
g,
|
|
1437
|
-
|
|
1437
|
+
d
|
|
1438
1438
|
);
|
|
1439
1439
|
if (!Y(a) || a === "")
|
|
1440
|
-
return new Intl.DateTimeFormat(
|
|
1441
|
-
let A = {}, r, p = null, T =
|
|
1440
|
+
return new Intl.DateTimeFormat(d, n).format(u);
|
|
1441
|
+
let A = {}, r, p = null, T = d, C = null;
|
|
1442
1442
|
const w = "datetime format";
|
|
1443
1443
|
for (let x = 0; x < W.length; x++) {
|
|
1444
|
-
if (r = C = W[x], process.env.NODE_ENV !== "production" &&
|
|
1444
|
+
if (r = C = W[x], process.env.NODE_ENV !== "production" && d !== r && RI(o, a) && c(eI(bM.FALLBACK_TO_DATE_FORMAT, {
|
|
1445
1445
|
key: a,
|
|
1446
1446
|
target: r
|
|
1447
|
-
})), process.env.NODE_ENV !== "production" &&
|
|
1447
|
+
})), process.env.NODE_ENV !== "production" && d !== r) {
|
|
1448
1448
|
const E = M.__v_emitter;
|
|
1449
1449
|
E && E.emit("fallback", {
|
|
1450
1450
|
type: w,
|
|
@@ -1463,7 +1463,7 @@ function ie(M, ...I) {
|
|
|
1463
1463
|
let O = `${r}__${a}`;
|
|
1464
1464
|
UI(n) || (O = `${O}__${JSON.stringify(n)}`);
|
|
1465
1465
|
let U = l.get(O);
|
|
1466
|
-
return U || (U = new Intl.DateTimeFormat(r, MM({}, p, n)), l.set(O, U)),
|
|
1466
|
+
return U || (U = new Intl.DateTimeFormat(r, MM({}, p, n)), l.set(O, U)), Z ? U.formatToParts(u) : U.format(u);
|
|
1467
1467
|
}
|
|
1468
1468
|
const bg = [
|
|
1469
1469
|
"localeMatcher",
|
|
@@ -1524,20 +1524,20 @@ function se(M, ...I) {
|
|
|
1524
1524
|
const { numberFormats: t, unresolving: e, fallbackLocale: g, onWarn: c, localeFallbacker: N } = M, { __numberFormatters: l } = M;
|
|
1525
1525
|
if (process.env.NODE_ENV !== "production" && !lg.numberFormat)
|
|
1526
1526
|
return c(eI(bM.CANNOT_FORMAT_NUMBER)), SI;
|
|
1527
|
-
const [a, u, i, n] = rt(...I), m = v(i.missingWarn) ? i.missingWarn : M.missingWarn, o = v(i.fallbackWarn) ? i.fallbackWarn : M.fallbackWarn,
|
|
1527
|
+
const [a, u, i, n] = rt(...I), m = v(i.missingWarn) ? i.missingWarn : M.missingWarn, o = v(i.fallbackWarn) ? i.fallbackWarn : M.fallbackWarn, Z = !!i.part, d = Y(i.locale) ? i.locale : M.locale, W = N(
|
|
1528
1528
|
M,
|
|
1529
1529
|
g,
|
|
1530
|
-
|
|
1530
|
+
d
|
|
1531
1531
|
);
|
|
1532
1532
|
if (!Y(a) || a === "")
|
|
1533
|
-
return new Intl.NumberFormat(
|
|
1534
|
-
let A = {}, r, p = null, T =
|
|
1533
|
+
return new Intl.NumberFormat(d, n).format(u);
|
|
1534
|
+
let A = {}, r, p = null, T = d, C = null;
|
|
1535
1535
|
const w = "number format";
|
|
1536
1536
|
for (let x = 0; x < W.length; x++) {
|
|
1537
|
-
if (r = C = W[x], process.env.NODE_ENV !== "production" &&
|
|
1537
|
+
if (r = C = W[x], process.env.NODE_ENV !== "production" && d !== r && RI(o, a) && c(eI(bM.FALLBACK_TO_NUMBER_FORMAT, {
|
|
1538
1538
|
key: a,
|
|
1539
1539
|
target: r
|
|
1540
|
-
})), process.env.NODE_ENV !== "production" &&
|
|
1540
|
+
})), process.env.NODE_ENV !== "production" && d !== r) {
|
|
1541
1541
|
const E = M.__v_emitter;
|
|
1542
1542
|
E && E.emit("fallback", {
|
|
1543
1543
|
type: w,
|
|
@@ -1556,7 +1556,7 @@ function se(M, ...I) {
|
|
|
1556
1556
|
let O = `${r}__${a}`;
|
|
1557
1557
|
UI(n) || (O = `${O}__${JSON.stringify(n)}`);
|
|
1558
1558
|
let U = l.get(O);
|
|
1559
|
-
return U || (U = new Intl.NumberFormat(r, MM({}, p, n)), l.set(O, U)),
|
|
1559
|
+
return U || (U = new Intl.NumberFormat(r, MM({}, p, n)), l.set(O, U)), Z ? U.formatToParts(u) : U.format(u);
|
|
1560
1560
|
}
|
|
1561
1561
|
const ag = [
|
|
1562
1562
|
"localeMatcher",
|
|
@@ -1857,7 +1857,7 @@ function kt(M = {}, I) {
|
|
|
1857
1857
|
), N = DM(
|
|
1858
1858
|
t && g ? t.fallbackLocale.value : Y(M.fallbackLocale) || B(M.fallbackLocale) || k(M.fallbackLocale) || M.fallbackLocale === !1 ? M.fallbackLocale : c.value
|
|
1859
1859
|
), l = DM(JI(c.value, M)), a = DM(k(M.datetimeFormats) ? M.datetimeFormats : { [c.value]: {} }), u = DM(k(M.numberFormats) ? M.numberFormats : { [c.value]: {} });
|
|
1860
|
-
let i = t ? t.missingWarn : v(M.missingWarn) || hM(M.missingWarn) ? M.missingWarn : !0, n = t ? t.fallbackWarn : v(M.fallbackWarn) || hM(M.fallbackWarn) ? M.fallbackWarn : !0, m = t ? t.fallbackRoot : v(M.fallbackRoot) ? M.fallbackRoot : !0, o = !!M.fallbackFormat,
|
|
1860
|
+
let i = t ? t.missingWarn : v(M.missingWarn) || hM(M.missingWarn) ? M.missingWarn : !0, n = t ? t.fallbackWarn : v(M.fallbackWarn) || hM(M.fallbackWarn) ? M.fallbackWarn : !0, m = t ? t.fallbackRoot : v(M.fallbackRoot) ? M.fallbackRoot : !0, o = !!M.fallbackFormat, Z = H(M.missing) ? M.missing : null, d = H(M.missing) ? Ce(M.missing) : null, W = H(M.postTranslation) ? M.postTranslation : null, A = t ? t.warnHtmlMessage : v(M.warnHtmlMessage) ? M.warnHtmlMessage : !0, r = !!M.escapeParameter;
|
|
1861
1861
|
const p = t ? t.modifiers : k(M.modifiers) ? M.modifiers : {};
|
|
1862
1862
|
let T = M.pluralRules || t && t.pluralRules, C;
|
|
1863
1863
|
C = (() => {
|
|
@@ -1869,7 +1869,7 @@ function kt(M = {}, I) {
|
|
|
1869
1869
|
messages: l.value,
|
|
1870
1870
|
modifiers: p,
|
|
1871
1871
|
pluralRules: T,
|
|
1872
|
-
missing:
|
|
1872
|
+
missing: d === null ? void 0 : d,
|
|
1873
1873
|
missingWarn: i,
|
|
1874
1874
|
fallbackWarn: n,
|
|
1875
1875
|
fallbackFormat: o,
|
|
@@ -1911,10 +1911,10 @@ function kt(M = {}, I) {
|
|
|
1911
1911
|
W = z, C.postTranslation = z;
|
|
1912
1912
|
}
|
|
1913
1913
|
function kM() {
|
|
1914
|
-
return
|
|
1914
|
+
return Z;
|
|
1915
1915
|
}
|
|
1916
1916
|
function IM(z) {
|
|
1917
|
-
z !== null && (
|
|
1917
|
+
z !== null && (d = Ce(z)), Z = z, C.missing = d;
|
|
1918
1918
|
}
|
|
1919
1919
|
function K(z, L) {
|
|
1920
1920
|
return z !== "translate" || !L.resolvedMessage;
|
|
@@ -2057,7 +2057,7 @@ function kt(M = {}, I) {
|
|
|
2057
2057
|
function oM(z) {
|
|
2058
2058
|
return u.value[z] || {};
|
|
2059
2059
|
}
|
|
2060
|
-
function
|
|
2060
|
+
function ZM(z, L) {
|
|
2061
2061
|
u.value[z] = L, C.numberFormats = u.value, ne(C, z, L);
|
|
2062
2062
|
}
|
|
2063
2063
|
function eb(z, L) {
|
|
@@ -2137,7 +2137,7 @@ function kt(M = {}, I) {
|
|
|
2137
2137
|
setMissingHandler: IM,
|
|
2138
2138
|
[ig]: vM
|
|
2139
2139
|
};
|
|
2140
|
-
return P.datetimeFormats = h, P.numberFormats = f, P.rt = NI, P.te = EM, P.tm = mI, P.d = lI, P.n = bI, P.getDateTimeFormat = G, P.setDateTimeFormat = X, P.mergeDateTimeFormat = J, P.getNumberFormat = oM, P.setNumberFormat =
|
|
2140
|
+
return P.datetimeFormats = h, P.numberFormats = f, P.rt = NI, P.te = EM, P.tm = mI, P.d = lI, P.n = bI, P.getDateTimeFormat = G, P.setDateTimeFormat = X, P.mergeDateTimeFormat = J, P.getNumberFormat = oM, P.setNumberFormat = ZM, P.mergeNumberFormat = eb, P[mg] = M.__injectWithOption, P[ot] = AI, P[Ct] = UM, P[Tt] = iI, process.env.NODE_ENV !== "production" && (P[VM] = (z) => {
|
|
2141
2141
|
C.__v_emitter = z;
|
|
2142
2142
|
}, P[yI] = () => {
|
|
2143
2143
|
C.__v_emitter = void 0;
|
|
@@ -2146,19 +2146,19 @@ function kt(M = {}, I) {
|
|
|
2146
2146
|
function Nu(M) {
|
|
2147
2147
|
const I = Y(M.locale) ? M.locale : pI, t = Y(M.fallbackLocale) || B(M.fallbackLocale) || k(M.fallbackLocale) || M.fallbackLocale === !1 ? M.fallbackLocale : I, e = H(M.missing) ? M.missing : void 0, g = v(M.silentTranslationWarn) || hM(M.silentTranslationWarn) ? !M.silentTranslationWarn : !0, c = v(M.silentFallbackWarn) || hM(M.silentFallbackWarn) ? !M.silentFallbackWarn : !0, N = v(M.fallbackRoot) ? M.fallbackRoot : !0, l = !!M.formatFallbackMessages, a = k(M.modifiers) ? M.modifiers : {}, u = M.pluralizationRules, i = H(M.postTranslation) ? M.postTranslation : void 0, n = Y(M.warnHtmlInMessage) ? M.warnHtmlInMessage !== "off" : !0, m = !!M.escapeParameterHtml, o = v(M.sync) ? M.sync : !0;
|
|
2148
2148
|
process.env.NODE_ENV !== "production" && M.formatter && lM(rM(q.NOT_SUPPORTED_FORMATTER)), process.env.NODE_ENV !== "production" && M.preserveDirectiveContent && lM(rM(q.NOT_SUPPORTED_PRESERVE_DIRECTIVE));
|
|
2149
|
-
let
|
|
2149
|
+
let Z = M.messages;
|
|
2150
2150
|
if (k(M.sharedMessages)) {
|
|
2151
2151
|
const C = M.sharedMessages;
|
|
2152
|
-
|
|
2152
|
+
Z = Object.keys(C).reduce((O, U) => {
|
|
2153
2153
|
const x = O[U] || (O[U] = {});
|
|
2154
2154
|
return MM(x, C[U]), O;
|
|
2155
|
-
},
|
|
2155
|
+
}, Z || {});
|
|
2156
2156
|
}
|
|
2157
|
-
const { __i18n:
|
|
2157
|
+
const { __i18n: d, __root: W, __injectWithOption: A } = M, r = M.datetimeFormats, p = M.numberFormats, T = M.flatJson;
|
|
2158
2158
|
return {
|
|
2159
2159
|
locale: I,
|
|
2160
2160
|
fallbackLocale: t,
|
|
2161
|
-
messages:
|
|
2161
|
+
messages: Z,
|
|
2162
2162
|
flatJson: T,
|
|
2163
2163
|
datetimeFormats: r,
|
|
2164
2164
|
numberFormats: p,
|
|
@@ -2174,7 +2174,7 @@ function Nu(M) {
|
|
|
2174
2174
|
escapeParameter: m,
|
|
2175
2175
|
messageResolver: M.messageResolver,
|
|
2176
2176
|
inheritLocale: o,
|
|
2177
|
-
__i18n:
|
|
2177
|
+
__i18n: d,
|
|
2178
2178
|
__root: W,
|
|
2179
2179
|
__injectWithOption: A
|
|
2180
2180
|
};
|
|
@@ -2426,8 +2426,8 @@ function jg(M, I, t, e) {
|
|
|
2426
2426
|
const a = e(M.value, N, l);
|
|
2427
2427
|
let u = [N.key];
|
|
2428
2428
|
B(a) ? u = a.map((m, o) => {
|
|
2429
|
-
const
|
|
2430
|
-
return bu(
|
|
2429
|
+
const Z = g[m.type], d = Z ? Z({ [m.type]: m.value, index: o, parts: a }) : [m.value];
|
|
2430
|
+
return bu(d) && (d[0].key = `${m.type}-${o}`), d;
|
|
2431
2431
|
}) : Y(a) && (u = [a]);
|
|
2432
2432
|
const i = MM({}, c), n = Y(M.tag) || F(M.tag) ? M.tag : rg();
|
|
2433
2433
|
return Be(n, i, u);
|
|
@@ -2547,7 +2547,7 @@ async function Au(M, I) {
|
|
|
2547
2547
|
yt = g, g.on.visitComponentTree(({ componentInstance: N, treeNode: l }) => {
|
|
2548
2548
|
iu(N, l, I);
|
|
2549
2549
|
}), g.on.inspectComponent(({ componentInstance: N, instanceData: l }) => {
|
|
2550
|
-
N.vnode.el && N.vnode.el.__VUE_I18N__ && l && (I.mode === "legacy" ? N.vnode.el.__VUE_I18N__ !== I.global.__composer &&
|
|
2550
|
+
N.vnode.el && N.vnode.el.__VUE_I18N__ && l && (I.mode === "legacy" ? N.vnode.el.__VUE_I18N__ !== I.global.__composer && Ze(l, N.vnode.el.__VUE_I18N__) : Ze(l, N.vnode.el.__VUE_I18N__));
|
|
2551
2551
|
}), g.addInspector({
|
|
2552
2552
|
id: "vue-i18n-resource-inspector",
|
|
2553
2553
|
label: bt["vue-i18n-resource-inspector"],
|
|
@@ -2596,7 +2596,7 @@ function iu(M, I, t) {
|
|
|
2596
2596
|
I.tags.push(g);
|
|
2597
2597
|
}
|
|
2598
2598
|
}
|
|
2599
|
-
function
|
|
2599
|
+
function Ze(M, I) {
|
|
2600
2600
|
const t = og;
|
|
2601
2601
|
M.state.push({
|
|
2602
2602
|
type: t,
|
|
@@ -2759,7 +2759,7 @@ function Tu(M) {
|
|
|
2759
2759
|
}
|
|
2760
2760
|
return I;
|
|
2761
2761
|
}
|
|
2762
|
-
function
|
|
2762
|
+
function ZI(M, I) {
|
|
2763
2763
|
if (yt) {
|
|
2764
2764
|
let t;
|
|
2765
2765
|
I && "groupId" in I && (t = I.groupId, delete I.groupId), yt.addTimelineEvent({
|
|
@@ -2791,9 +2791,9 @@ function Ou(M, I, t) {
|
|
|
2791
2791
|
const g = this.$options;
|
|
2792
2792
|
if (g.i18n) {
|
|
2793
2793
|
const c = g.i18n;
|
|
2794
|
-
g.__i18n && (c.__i18n = g.__i18n), c.__root = I, this === this.$root ? this.$i18n =
|
|
2794
|
+
g.__i18n && (c.__i18n = g.__i18n), c.__root = I, this === this.$root ? this.$i18n = de(M, c) : (c.__injectWithOption = !0, this.$i18n = Ot(c));
|
|
2795
2795
|
} else
|
|
2796
|
-
g.__i18n ? this === this.$root ? this.$i18n =
|
|
2796
|
+
g.__i18n ? this === this.$root ? this.$i18n = de(M, g) : this.$i18n = Ot({
|
|
2797
2797
|
__i18n: g.__i18n,
|
|
2798
2798
|
__injectWithOption: !0,
|
|
2799
2799
|
__root: I
|
|
@@ -2804,14 +2804,14 @@ function Ou(M, I, t) {
|
|
|
2804
2804
|
if ((process.env.NODE_ENV !== "production" || !1) && !0 && this.$el && this.$i18n) {
|
|
2805
2805
|
this.$el.__VUE_I18N__ = this.$i18n.__composer;
|
|
2806
2806
|
const e = this.__v_emitter = Gt(), g = this.$i18n;
|
|
2807
|
-
g.__enableEmitter && g.__enableEmitter(e), e.on("*",
|
|
2807
|
+
g.__enableEmitter && g.__enableEmitter(e), e.on("*", ZI);
|
|
2808
2808
|
}
|
|
2809
2809
|
},
|
|
2810
2810
|
unmounted() {
|
|
2811
2811
|
const e = BM();
|
|
2812
2812
|
if (!e)
|
|
2813
2813
|
throw _(Q.UNEXPECTED_ERROR);
|
|
2814
|
-
if ((process.env.NODE_ENV !== "production" || !1) && !0 && this.$el && this.$el.__VUE_I18N__ && (this.__v_emitter && (this.__v_emitter.off("*",
|
|
2814
|
+
if ((process.env.NODE_ENV !== "production" || !1) && !0 && this.$el && this.$el.__VUE_I18N__ && (this.__v_emitter && (this.__v_emitter.off("*", ZI), delete this.__v_emitter), this.$i18n)) {
|
|
2815
2815
|
const g = this.$i18n;
|
|
2816
2816
|
g.__disableEmitter && g.__disableEmitter(), delete this.$el.__VUE_I18N__;
|
|
2817
2817
|
}
|
|
@@ -2819,7 +2819,7 @@ function Ou(M, I, t) {
|
|
|
2819
2819
|
}
|
|
2820
2820
|
};
|
|
2821
2821
|
}
|
|
2822
|
-
function
|
|
2822
|
+
function de(M, I) {
|
|
2823
2823
|
M.locale = I.locale || M.locale, M.fallbackLocale = I.fallbackLocale || M.fallbackLocale, M.missing = I.missing || M.missing, M.silentTranslationWarn = I.silentTranslationWarn || M.silentFallbackWarn, M.silentFallbackWarn = I.silentFallbackWarn || M.silentFallbackWarn, M.formatFallbackMessages = I.formatFallbackMessages || M.formatFallbackMessages, M.postTranslation = I.postTranslation || M.postTranslation, M.warnHtmlInMessage = I.warnHtmlInMessage || M.warnHtmlInMessage, M.escapeParameterHtml = I.escapeParameterHtml || M.escapeParameterHtml, M.sync = I.sync || M.sync, M.__composer[ig](I.pluralizationRules || M.pluralizationRules);
|
|
2824
2824
|
const t = JI(M.locale, {
|
|
2825
2825
|
messages: I.messages,
|
|
@@ -2828,8 +2828,8 @@ function Ze(M, I) {
|
|
|
2828
2828
|
return Object.keys(t).forEach((e) => M.mergeLocaleMessage(e, t[e])), I.datetimeFormats && Object.keys(I.datetimeFormats).forEach((e) => M.mergeDateTimeFormat(e, I.datetimeFormats[e])), I.numberFormats && Object.keys(I.numberFormats).forEach((e) => M.mergeNumberFormat(e, I.numberFormats[e])), M;
|
|
2829
2829
|
}
|
|
2830
2830
|
const yu = /* @__PURE__ */ yM("global-vue-i18n");
|
|
2831
|
-
function
|
|
2832
|
-
const t = __VUE_I18N_LEGACY_API__ && v(M.legacy) ? M.legacy : __VUE_I18N_LEGACY_API__, e = v(M.globalInjection) ? M.globalInjection : !0, g = __VUE_I18N_LEGACY_API__ && t ? !!M.allowComposition : !0, c = /* @__PURE__ */ new Map(), [N, l] =
|
|
2831
|
+
function Zu(M = {}, I) {
|
|
2832
|
+
const t = __VUE_I18N_LEGACY_API__ && v(M.legacy) ? M.legacy : __VUE_I18N_LEGACY_API__, e = v(M.globalInjection) ? M.globalInjection : !0, g = __VUE_I18N_LEGACY_API__ && t ? !!M.allowComposition : !0, c = /* @__PURE__ */ new Map(), [N, l] = du(M, t), a = yM(process.env.NODE_ENV !== "production" ? "vue-i18n" : "");
|
|
2833
2833
|
function u(m) {
|
|
2834
2834
|
return c.get(m) || null;
|
|
2835
2835
|
}
|
|
@@ -2847,11 +2847,11 @@ function du(M = {}, I) {
|
|
|
2847
2847
|
get allowComposition() {
|
|
2848
2848
|
return g;
|
|
2849
2849
|
},
|
|
2850
|
-
async install(o, ...
|
|
2851
|
-
process.env.NODE_ENV !== "production" && (o.__VUE_I18N__ = m), o.__VUE_I18N_SYMBOL__ = a, o.provide(o.__VUE_I18N_SYMBOL__, m), !t && e && hu(o, m.global), __VUE_I18N_FULL_INSTALL__ && Du(o, m, ...
|
|
2852
|
-
const
|
|
2850
|
+
async install(o, ...Z) {
|
|
2851
|
+
process.env.NODE_ENV !== "production" && (o.__VUE_I18N__ = m), o.__VUE_I18N_SYMBOL__ = a, o.provide(o.__VUE_I18N_SYMBOL__, m), !t && e && hu(o, m.global), __VUE_I18N_FULL_INSTALL__ && Du(o, m, ...Z), __VUE_I18N_LEGACY_API__ && t && o.mixin(Ou(l, l.__composer, m));
|
|
2852
|
+
const d = o.unmount;
|
|
2853
2853
|
if (o.unmount = () => {
|
|
2854
|
-
m.dispose(),
|
|
2854
|
+
m.dispose(), d();
|
|
2855
2855
|
}, process.env.NODE_ENV !== "production" || !1) {
|
|
2856
2856
|
if (!await Au(o, m))
|
|
2857
2857
|
throw _(Q.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
|
|
@@ -2863,7 +2863,7 @@ function du(M = {}, I) {
|
|
|
2863
2863
|
const r = l;
|
|
2864
2864
|
r[VM] && r[VM](A);
|
|
2865
2865
|
}
|
|
2866
|
-
A.on("*",
|
|
2866
|
+
A.on("*", ZI);
|
|
2867
2867
|
}
|
|
2868
2868
|
},
|
|
2869
2869
|
get global() {
|
|
@@ -2906,7 +2906,7 @@ function vt(M = {}) {
|
|
|
2906
2906
|
}
|
|
2907
2907
|
return l;
|
|
2908
2908
|
}
|
|
2909
|
-
function
|
|
2909
|
+
function du(M, I, t) {
|
|
2910
2910
|
const e = fe();
|
|
2911
2911
|
{
|
|
2912
2912
|
const g = __VUE_I18N_LEGACY_API__ && I ? e.run(() => Ot(M)) : e.run(() => kt(M));
|
|
@@ -2953,11 +2953,11 @@ function wu(M, I, t) {
|
|
|
2953
2953
|
if ((process.env.NODE_ENV !== "production" || !1) && !0 && I.vnode.el) {
|
|
2954
2954
|
I.vnode.el.__VUE_I18N__ = t, e = Gt();
|
|
2955
2955
|
const g = t;
|
|
2956
|
-
g[VM] && g[VM](e), e.on("*",
|
|
2956
|
+
g[VM] && g[VM](e), e.on("*", ZI);
|
|
2957
2957
|
}
|
|
2958
2958
|
}, I), He(() => {
|
|
2959
2959
|
if ((process.env.NODE_ENV !== "production" || !1) && !0 && I.vnode.el && I.vnode.el.__VUE_I18N__) {
|
|
2960
|
-
e && e.off("*",
|
|
2960
|
+
e && e.off("*", ZI);
|
|
2961
2961
|
const g = t;
|
|
2962
2962
|
g[yI] && g[yI](), delete I.vnode.el.__VUE_I18N__;
|
|
2963
2963
|
}
|
|
@@ -2972,7 +2972,7 @@ function Eu(M, I, t, e = {}) {
|
|
|
2972
2972
|
g && N ? t.locale.value : Y(e.locale) ? e.locale : pI
|
|
2973
2973
|
), a = DM(
|
|
2974
2974
|
g && N ? t.fallbackLocale.value : Y(e.fallbackLocale) || B(e.fallbackLocale) || k(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l.value
|
|
2975
|
-
), u = DM(JI(l.value, e)), i = DM(k(e.datetimeFormats) ? e.datetimeFormats : { [l.value]: {} }), n = DM(k(e.numberFormats) ? e.numberFormats : { [l.value]: {} }), m = g ? t.missingWarn : v(e.missingWarn) || hM(e.missingWarn) ? e.missingWarn : !0, o = g ? t.fallbackWarn : v(e.fallbackWarn) || hM(e.fallbackWarn) ? e.fallbackWarn : !0,
|
|
2975
|
+
), u = DM(JI(l.value, e)), i = DM(k(e.datetimeFormats) ? e.datetimeFormats : { [l.value]: {} }), n = DM(k(e.numberFormats) ? e.numberFormats : { [l.value]: {} }), m = g ? t.missingWarn : v(e.missingWarn) || hM(e.missingWarn) ? e.missingWarn : !0, o = g ? t.fallbackWarn : v(e.fallbackWarn) || hM(e.fallbackWarn) ? e.fallbackWarn : !0, Z = g ? t.fallbackRoot : v(e.fallbackRoot) ? e.fallbackRoot : !0, d = !!e.fallbackFormat, W = H(e.missing) ? e.missing : null, A = H(e.postTranslation) ? e.postTranslation : null, r = g ? t.warnHtmlMessage : v(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, p = !!e.escapeParameter, T = g ? t.modifiers : k(e.modifiers) ? e.modifiers : {}, C = e.pluralRules || g && t.pluralRules;
|
|
2976
2976
|
function w() {
|
|
2977
2977
|
return [
|
|
2978
2978
|
l.value,
|
|
@@ -3093,13 +3093,13 @@ function Eu(M, I, t, e = {}) {
|
|
|
3093
3093
|
c.value && (c.value.missingWarn = b);
|
|
3094
3094
|
},
|
|
3095
3095
|
get fallbackRoot() {
|
|
3096
|
-
return c.value ? c.value.fallbackRoot :
|
|
3096
|
+
return c.value ? c.value.fallbackRoot : Z;
|
|
3097
3097
|
},
|
|
3098
3098
|
set fallbackRoot(b) {
|
|
3099
3099
|
c.value && (c.value.fallbackRoot = b);
|
|
3100
3100
|
},
|
|
3101
3101
|
get fallbackFormat() {
|
|
3102
|
-
return c.value ? c.value.fallbackFormat :
|
|
3102
|
+
return c.value ? c.value.fallbackFormat : d;
|
|
3103
3103
|
},
|
|
3104
3104
|
set fallbackFormat(b) {
|
|
3105
3105
|
c.value && (c.value.fallbackFormat = b);
|
|
@@ -3143,7 +3143,7 @@ function Eu(M, I, t, e = {}) {
|
|
|
3143
3143
|
b.mergeDateTimeFormat(s, i.value[s]);
|
|
3144
3144
|
}), Object.keys(n.value).forEach((s) => {
|
|
3145
3145
|
b.mergeNumberFormat(s, n.value[s]);
|
|
3146
|
-
}), b.escapeParameter = p, b.fallbackFormat =
|
|
3146
|
+
}), b.escapeParameter = p, b.fallbackFormat = d, b.fallbackRoot = Z, b.fallbackWarn = o, b.missingWarn = m, b.warnHtmlMessage = r;
|
|
3147
3147
|
}
|
|
3148
3148
|
return rb(() => {
|
|
3149
3149
|
if (M.proxy == null || M.proxy.$i18n == null)
|
|
@@ -3192,12 +3192,12 @@ if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
|
3192
3192
|
M.__INTLIFY__ = !0, oa(M.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
3193
3193
|
}
|
|
3194
3194
|
process.env.NODE_ENV;
|
|
3195
|
-
const zg = "fichier", Og = "dossier", yg = "Vous n'\xEAtes pas ou plus connect\xE9.",
|
|
3195
|
+
const zg = "fichier", Og = "dossier", yg = "Vous n'\xEAtes pas ou plus connect\xE9.", Zg = "La r\xE9ponse re\xE7ue est non valide.", dg = "Le d\xE9lai d'attente de la r\xE9ponse \xE0 \xE9t\xE9 d\xE9pass\xE9.", pg = "Le contenu d\xE9passe la limite de quota de stockage globale configur\xE9e pour le r\xE9seau ou le syst\xE8me.", Lg = "Les param\xE8tres de la requ\xEAte sont invalides.", Yg = "Vous n'avez pas les droits pour cr\xE9er un fichier.", Wg = "Impossible de trouver le dossier parent.", wg = "Le fichier {filename} existe d\xE9j\xE0.", Eg = "Le contenu d\xE9passe la limite de taille de fichier individuelle configur\xE9e pour le r\xE9seau ou le syst\xE8me.", xg = "Le type du contenu du noeud n'est pas support\xE9.", Gg = "Exception d'int\xE9grit\xE9 du mod\xE8le incluant un nom de fichier contenant des caract\xE8res non valides.", hg = "Le nom choisi est invalide.", Sg = "Le nom choisi est d\xE9j\xE0 existant.", kg = "Le nom choisi ne respecte pas le format requis.", Xg = "Le nom choisi est invalide.", Ug = "Le nom choisi est d\xE9j\xE0 existant.", vg = "Le nom choisi ne respecte pas le format requis.", Qg = "Vous n'avez pas la permission de supprimer ce {type}.", Rg = "Le {type} \xE0 supprimer n'existe pas.", Jg = "Vous ne pouvez pas supprimer ce {type}, ce dernier est verrouill\xE9.", Fg = "Le type du contenu du noeud n'est pas support\xE9.", Bg = "Vous n'avez pas la permission pour mettre \xE0 jour.", fg = "Impossible de mettre \xE0 jour un fichier inexistant.", Vg = "Le nom du fichier est d\xE9j\xE0 existant.", Hg = "Le contenu d\xE9passe la taille limite individuelle de fichier configur\xE9e pour le r\xE9seau ou le syst\xE8me.", Pg = "Exception d'int\xE9grit\xE9 du mod\xE8le incluant un nom de fichier contenant des caract\xE8res non valides.", _g = "Vous n'avez pas la permission pour copier cet \xE9l\xE9ment.", Kg = "Impossible de copier un \xE9l\xE9ment inexistant.", $g = "Le nom de l'\xE9l\xE9ment entre en conflit avec un \xE9l\xE9ment existant au m\xEAme endroit.", qg = "Exception d'int\xE9grit\xE9 du mod\xE8le incluant un nom d'\xE9l\xE9ment contenant des caract\xE8res non valides.", Mc = "Vous ne pouvez pas d\xE9placer l'\xE9l\xE9ment \xE0 l'endroit ou il se trouve.", Ic = "Vous n'avez pas la permission pour d\xE9placer cet \xE9l\xE9ment.", tc = "Impossible de d\xE9placer un \xE9l\xE9ment inexistant.", ec = "Le nom de l'\xE9l\xE9ment entre en conflit avec un \xE9l\xE9ment existant au m\xEAme endroit.", gc = "Exception d'int\xE9grit\xE9 du mod\xE8le incluant un nom d'\xE9l\xE9ment contenant des caract\xE8res non valides.", cc = "L'authentification a \xE9chou\xE9, veuillez vous reconnecter", Nc = "Nom d'utilisateur ou mot de passe incorrect.", lc = "Impossible de trouver le lool url.", bc = "Erreur du serveur Alfresco.", ac = "Impossible de trouver le token.", uc = "Erreur du serveur Alfresco.", Dc = "Impossible de trouver les extensions compatibles avec Collabora.", Ac = "Erreur du serveur Collabora.", ic = "Impossible de trouver si l'\xE9l\xE9ment peut \xEAtre ouvert avec Collabora.", mc = "Erreur du serveur Collabora", sc = "Impossible de trouver la liste des favoris.", nc = "L'authentification \xE0 \xE9chou\xE9, veuillez vous reconnecter.", rc = "Impossible de trouver l'\xE9l\xE9ment \xE0 ajouter aux favoris.", jc = "L'\xE9l\xE9ment est d\xE9j\xE0 favori.", oc = "Impossible de trouver l'\xE9l\xE9ment \xE0 supprimer des favoris.", Cc = "Param\xE8tres invalides lors de la recherche de sites.", Tc = "Param\xE8tres invalides lors de la recherche de tous les sites.", zc = "Param\xE8tre invalide lors de la recherche d'un site", Oc = "Le site recherch\xE9 n'existe pas ou plus.", yc = "Param\xE8tres invalides lors de la recherche de tous les membres d'un site.", Zc = "Le site dont les membres sont recherch\xE9s n'existe pas ou plus.", dc = "L'identifiant choisi ne respecte pas le format requis.", pc = "L'identifiant choisi est d\xE9j\xE0 existant.", Lc = "Param\xE8tres invalides lors de la mise \xE0 jour du r\xF4le d'un membre sur un site.", Yc = "L'identifiant entr\xE9 ne correspond \xE0 aucun utilisateur.", Wc = "Au moins un utilisateur doit \xEAtre Gestionnaire. Si ce n'est pas le cas, vous n'avez pas la permission de modifier le r\xF4le de cet utilisateur.", wc = "Impossible de supprimer le seul Gestionnaire de l'espace.", Ec = "Vous ne pouvez pas supprimer un utilisateur inexistant.", xc = "Vous n'avez pas la permission de supprimer l'acc\xE8s \xE0 cet utilisateur.", Gc = "Param\xE8tres invalides lors de l'ajout d'un membre sur un site.", hc = "Vous ne pouvez pas inviter sur ce site.", Sc = "Vous ne pouvez pas ajouter un utilisateur inexistant.", kc = "L'utilisateur a d\xE9j\xE0 acc\xE8s \xE0 cet espace.", Xc = "Param\xE8tres invalides lors de la mise \xE0 jour d'un site.", Uc = "Vous ne pouvez pas mettre \xE0 jour un espace inexistant.", vc = "Param\xE8tres invalides lors de la recherche de tous les utilisateurs.", Qc = "Param\xE8tres invalides lors de la suppression du site.", Rc = "Vous n'avez pas les permission pour supprimer ce site.", Jc = "Le site que vous essayez de supprimer n'existe pas ou plus.", Fc = "Param\xE8tres invalides lors de la mise \xE0 jour du site.", Bc = "Vous n'avez pas les permission pour mettre \xE0 jour ce site.", fc = "Le site que vous essayez de modifier n'existe pas ou plus.", Vc = "Fichier Image", Hc = "Fichier Video", Pc = "Fichier PDF", _c = "Fichier EML", Kc = "Fichier Texte", $c = "Fichier Tableur", qc = "Fichier Dessin", MN = "Fichier Pr\xE9sentation", IN = "Espace de travail", Su = {
|
|
3196
3196
|
fichier: zg,
|
|
3197
3197
|
dossier: Og,
|
|
3198
3198
|
Error401: yg,
|
|
3199
|
-
Error502:
|
|
3200
|
-
Error504:
|
|
3199
|
+
Error502: Zg,
|
|
3200
|
+
Error504: dg,
|
|
3201
3201
|
Error507: pg,
|
|
3202
3202
|
uploadFileError400: Lg,
|
|
3203
3203
|
uploadFileError403: Yg,
|
|
@@ -3250,8 +3250,8 @@ const zg = "fichier", Og = "dossier", yg = "Vous n'\xEAtes pas ou plus connect\x
|
|
|
3250
3250
|
getWorkspaceError400: zc,
|
|
3251
3251
|
getWorkspaceError404: Oc,
|
|
3252
3252
|
getWorkspaceMembershipsError400: yc,
|
|
3253
|
-
getWorkspaceMembershipsError404:
|
|
3254
|
-
createWorkspaceError400:
|
|
3253
|
+
getWorkspaceMembershipsError404: Zc,
|
|
3254
|
+
createWorkspaceError400: dc,
|
|
3255
3255
|
createWorkspaceError409: pc,
|
|
3256
3256
|
updateWorkspaceMemberRoleError400: Lc,
|
|
3257
3257
|
updateWorkspaceMemberRoleError404: Yc,
|
|
@@ -3286,8 +3286,8 @@ const zg = "fichier", Og = "dossier", yg = "Vous n'\xEAtes pas ou plus connect\x
|
|
|
3286
3286
|
fichier: zg,
|
|
3287
3287
|
dossier: Og,
|
|
3288
3288
|
Error401: yg,
|
|
3289
|
-
Error502:
|
|
3290
|
-
Error504:
|
|
3289
|
+
Error502: Zg,
|
|
3290
|
+
Error504: dg,
|
|
3291
3291
|
Error507: pg,
|
|
3292
3292
|
uploadFileError400: Lg,
|
|
3293
3293
|
uploadFileError403: Yg,
|
|
@@ -3340,8 +3340,8 @@ const zg = "fichier", Og = "dossier", yg = "Vous n'\xEAtes pas ou plus connect\x
|
|
|
3340
3340
|
getWorkspaceError400: zc,
|
|
3341
3341
|
getWorkspaceError404: Oc,
|
|
3342
3342
|
getWorkspaceMembershipsError400: yc,
|
|
3343
|
-
getWorkspaceMembershipsError404:
|
|
3344
|
-
createWorkspaceError400:
|
|
3343
|
+
getWorkspaceMembershipsError404: Zc,
|
|
3344
|
+
createWorkspaceError400: dc,
|
|
3345
3345
|
createWorkspaceError409: pc,
|
|
3346
3346
|
updateWorkspaceMemberRoleError400: Lc,
|
|
3347
3347
|
updateWorkspaceMemberRoleError404: Yc,
|
|
@@ -3372,7 +3372,7 @@ const zg = "fichier", Og = "dossier", yg = "Vous n'\xEAtes pas ou plus connect\x
|
|
|
3372
3372
|
fichier_presentation: MN,
|
|
3373
3373
|
espace: IN,
|
|
3374
3374
|
default: Su
|
|
3375
|
-
}, Symbol.toStringTag, { value: "Module" })), tN = "file", eN = "folder", gN = "You are not or no longer connected.", cN = "The received response is invalid.", NN = "The response waiting time has been exceeded.", lN = "Content exceeds the global storage quota limit configured for the network or system.", bN = "The query parameter are invalid.", aN = "You do not have the rights to create a file.", uN = "Unable to find parent folder.", DN = "The file {filename} already exists.", AN = "Content exceeds individual file size limit configured for network or system.", iN = "The content type of the node is not supported.", mN = "Model integrity exception including a file name containing invalid characters.", sN = "The chosen name is invalid.", nN = "The chosen name already exists.", rN = "The chosen name does not respect the required format.", jN = "The chosen name is invalid.", oN = "The chosen name already exists.", CN = "The chosen name does not respect the required format.", TN = "You do not have the permission to delete that {type}.", zN = "The {type} to delete does not exist.", ON = "You cannot delete this {type}, this one is locked.", yN = "The content type of the node is not supported.",
|
|
3375
|
+
}, Symbol.toStringTag, { value: "Module" })), tN = "file", eN = "folder", gN = "You are not or no longer connected.", cN = "The received response is invalid.", NN = "The response waiting time has been exceeded.", lN = "Content exceeds the global storage quota limit configured for the network or system.", bN = "The query parameter are invalid.", aN = "You do not have the rights to create a file.", uN = "Unable to find parent folder.", DN = "The file {filename} already exists.", AN = "Content exceeds individual file size limit configured for network or system.", iN = "The content type of the node is not supported.", mN = "Model integrity exception including a file name containing invalid characters.", sN = "The chosen name is invalid.", nN = "The chosen name already exists.", rN = "The chosen name does not respect the required format.", jN = "The chosen name is invalid.", oN = "The chosen name already exists.", CN = "The chosen name does not respect the required format.", TN = "You do not have the permission to delete that {type}.", zN = "The {type} to delete does not exist.", ON = "You cannot delete this {type}, this one is locked.", yN = "The content type of the node is not supported.", ZN = "You do not have the permission for updating.", dN = "You cannot update an non existent file.", pN = "The file name already exists.", LN = "Content exceeds individual file size limit configured for network or system.", YN = "Model integrity exception including a file name containing invalid characters.", WN = "You do not have the permission for copying.", wN = "You cannot copy an non existent element.", EN = "The element's name conflicts with an existing element in the same place.", xN = "Model integrity exception including a element name containing invalid characters.", GN = "You cannot move the item to where it is.", hN = "You do not have the permission for moving this element.", SN = "You cannot move an non existent element.", kN = "The element's name conflicts with an existing element in the same place.", XN = "Model integrity exception including a element name containing invalid characters.", UN = "The authentication failed, please reconnect.", vN = "Incorrect username or password.", QN = "Unable to find the lool url.", RN = "Alfresco server error.", JN = "Unable to find the token.", FN = "Alfresco server error.", BN = "Unable to find extensions that are compatible with Collabora.", fN = "Collabora server error.", VN = "Unable to find if the element can be open with Collabora.", HN = "Collabora server error.", PN = "Unable to find the favorites list.", _N = "Authentication failed, please reconnect.", KN = "Unable to find the element to add to the favorites list.", $N = "The element is already a favorite.", qN = "Unable to find the element to delete from the favorites list.", Ml = "Invalid parameters when searching for sites.", Il = "Invalid parameters when searching for all sites.", tl = "Invalid parameters when searching for all sites.", el = "The site you are looking for does not exist or no longer exists.", gl = "Invalid parameters when searching for all member of a site.", cl = "The site whose members are searched does not exist or no longer exists.", Nl = "The chosen id is invalid.", ll = "The chosen id already exists.", bl = "Invalid parameters when updating a member's role for a site.", al = "The entered id does not match any user.", ul = "At least one user must be SiteManager. If not, you do not have permission to change that user\u2019s role.", Dl = "Unable to delete the only SiteManager of the site.", Al = "You cannot delete a non existent user.", il = "You do not have permission to delete the access to this user.", ml = "Invalid parameters when adding a member to a site.", sl = "You cannot invite on this site", nl = "You cannot add a non existent user.", rl = "The user already has access to this site", jl = "Invalid parameters when updating a site.", ol = "You cannot update a non existent site.", Cl = "Invalid parameters when searching for all users.", Tl = "Invalid parameters when deleting a site.", zl = "You do not have permission for deleting this site.", Ol = "The site you are trying to delete does not exist or no longer exists.", yl = "Invalid parameters when updating a site.", Zl = "You do not have permission for updating this site.", dl = "The site you are trying to delete does not exist or no longer exists.", pl = "Image File", Ll = "Video File", Yl = "PDF File", Wl = "EML File", wl = "Text File", El = "Spreadsheet File", xl = "Draw File", Gl = "Slideshow File", hl = "Workspace", ku = {
|
|
3376
3376
|
fichier: tN,
|
|
3377
3377
|
dossier: eN,
|
|
3378
3378
|
Error401: gN,
|
|
@@ -3396,8 +3396,8 @@ const zg = "fichier", Og = "dossier", yg = "Vous n'\xEAtes pas ou plus connect\x
|
|
|
3396
3396
|
deleteNodeError404: zN,
|
|
3397
3397
|
deleteNodeError409: ON,
|
|
3398
3398
|
updateContentNodeError400: yN,
|
|
3399
|
-
updateContentNodeError403:
|
|
3400
|
-
updateContentNodeError404:
|
|
3399
|
+
updateContentNodeError403: ZN,
|
|
3400
|
+
updateContentNodeError404: dN,
|
|
3401
3401
|
updateContentNodeError409: pN,
|
|
3402
3402
|
updateContentNodeError413: LN,
|
|
3403
3403
|
updateContentNodeError422: YN,
|
|
@@ -3450,8 +3450,8 @@ const zg = "fichier", Og = "dossier", yg = "Vous n'\xEAtes pas ou plus connect\x
|
|
|
3450
3450
|
deleteWorkspaceError403: zl,
|
|
3451
3451
|
deleteWorkspaceError404: Ol,
|
|
3452
3452
|
updateWorkspaceError400: yl,
|
|
3453
|
-
updateWorkspaceError403:
|
|
3454
|
-
updateWorkspaceError404:
|
|
3453
|
+
updateWorkspaceError403: Zl,
|
|
3454
|
+
updateWorkspaceError404: dl,
|
|
3455
3455
|
fichier_image: pl,
|
|
3456
3456
|
fichier_video: Ll,
|
|
3457
3457
|
fichier_pdf: Yl,
|
|
@@ -3486,8 +3486,8 @@ const zg = "fichier", Og = "dossier", yg = "Vous n'\xEAtes pas ou plus connect\x
|
|
|
3486
3486
|
deleteNodeError404: zN,
|
|
3487
3487
|
deleteNodeError409: ON,
|
|
3488
3488
|
updateContentNodeError400: yN,
|
|
3489
|
-
updateContentNodeError403:
|
|
3490
|
-
updateContentNodeError404:
|
|
3489
|
+
updateContentNodeError403: ZN,
|
|
3490
|
+
updateContentNodeError404: dN,
|
|
3491
3491
|
updateContentNodeError409: pN,
|
|
3492
3492
|
updateContentNodeError413: LN,
|
|
3493
3493
|
updateContentNodeError422: YN,
|
|
@@ -3540,8 +3540,8 @@ const zg = "fichier", Og = "dossier", yg = "Vous n'\xEAtes pas ou plus connect\x
|
|
|
3540
3540
|
deleteWorkspaceError403: zl,
|
|
3541
3541
|
deleteWorkspaceError404: Ol,
|
|
3542
3542
|
updateWorkspaceError400: yl,
|
|
3543
|
-
updateWorkspaceError403:
|
|
3544
|
-
updateWorkspaceError404:
|
|
3543
|
+
updateWorkspaceError403: Zl,
|
|
3544
|
+
updateWorkspaceError404: dl,
|
|
3545
3545
|
fichier_image: pl,
|
|
3546
3546
|
fichier_video: Ll,
|
|
3547
3547
|
fichier_pdf: Yl,
|
|
@@ -3555,7 +3555,7 @@ const zg = "fichier", Og = "dossier", yg = "Vous n'\xEAtes pas ou plus connect\x
|
|
|
3555
3555
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3556
3556
|
var Fe;
|
|
3557
3557
|
let Uu = window && ((Fe = window == null ? void 0 : window.navigator) == null ? void 0 : Fe.language) ? window.navigator.language : "fr";
|
|
3558
|
-
const Sl =
|
|
3558
|
+
const Sl = Zu({
|
|
3559
3559
|
locale: Uu,
|
|
3560
3560
|
messages: {
|
|
3561
3561
|
en: Xu,
|
|
@@ -3577,7 +3577,7 @@ class Qt {
|
|
|
3577
3577
|
e = j("uploadFileError404");
|
|
3578
3578
|
break;
|
|
3579
3579
|
case 409:
|
|
3580
|
-
e = j("
|
|
3580
|
+
e = j("uploadFileError409", { filename: t });
|
|
3581
3581
|
break;
|
|
3582
3582
|
case 413:
|
|
3583
3583
|
e = j("uploadFileError413");
|
|
@@ -4152,7 +4152,7 @@ class zA {
|
|
|
4152
4152
|
return KI().getContentUrl(I);
|
|
4153
4153
|
}
|
|
4154
4154
|
uploadFile(I, t, e) {
|
|
4155
|
-
return
|
|
4155
|
+
return Zb().uploadFile(e, null, I, null, t).on("progress", (g) => {
|
|
4156
4156
|
console.log("Percent :" + g.percent);
|
|
4157
4157
|
}).then(
|
|
4158
4158
|
(g) => this.createAllRendition(g.entry.id).then(() => g).catch((c) => c),
|
|
@@ -4312,13 +4312,13 @@ class yA {
|
|
|
4312
4312
|
function uM() {
|
|
4313
4313
|
return new Qt();
|
|
4314
4314
|
}
|
|
4315
|
-
class
|
|
4315
|
+
class ZA {
|
|
4316
4316
|
getWorkspaces() {
|
|
4317
4317
|
const I = {
|
|
4318
4318
|
skipCount: 0,
|
|
4319
4319
|
maxItems: 100
|
|
4320
4320
|
};
|
|
4321
|
-
return
|
|
4321
|
+
return dM().listSites(I).then((t) => t.list.entries.map((e) => e.entry)).catch((t) => {
|
|
4322
4322
|
uM().getWorkspacesError(t);
|
|
4323
4323
|
});
|
|
4324
4324
|
}
|
|
@@ -4334,7 +4334,7 @@ class dA {
|
|
|
4334
4334
|
},
|
|
4335
4335
|
localization: { locales: ["fr_FR"] }
|
|
4336
4336
|
};
|
|
4337
|
-
return
|
|
4337
|
+
return db().search(t).then((e) => e.list.entries.map((g) => {
|
|
4338
4338
|
let c = g.entry;
|
|
4339
4339
|
return c.title = g.entry.properties["cm:title"], c.visibility = g.entry.properties["st:siteVisibility"], c.typeEspace = g.entry.properties["pm:typeEspace"], c;
|
|
4340
4340
|
})).catch((e) => {
|
|
@@ -4343,13 +4343,13 @@ class dA {
|
|
|
4343
4343
|
}
|
|
4344
4344
|
getWorkspace(I) {
|
|
4345
4345
|
const t = {};
|
|
4346
|
-
return
|
|
4346
|
+
return dM().getSite(I, t).then((e) => e.entry).catch((e) => {
|
|
4347
4347
|
uM().getWorkspaceError(e);
|
|
4348
4348
|
});
|
|
4349
4349
|
}
|
|
4350
4350
|
getWorkspaceMemberships(I) {
|
|
4351
4351
|
const t = {};
|
|
4352
|
-
return
|
|
4352
|
+
return dM().listSiteMemberships(I, t).then((e) => e.list.entries.map((g) => g.entry)).catch((e) => {
|
|
4353
4353
|
uM().getWorkspaceMembershipsError(e);
|
|
4354
4354
|
});
|
|
4355
4355
|
}
|
|
@@ -4360,7 +4360,7 @@ class dA {
|
|
|
4360
4360
|
description: e,
|
|
4361
4361
|
visibility: g
|
|
4362
4362
|
};
|
|
4363
|
-
return
|
|
4363
|
+
return dM().createSite(c).then((N) => N).catch((N) => {
|
|
4364
4364
|
uM().createWorkspaceError(N);
|
|
4365
4365
|
});
|
|
4366
4366
|
}
|
|
@@ -4368,12 +4368,12 @@ class dA {
|
|
|
4368
4368
|
const g = {
|
|
4369
4369
|
role: e
|
|
4370
4370
|
}, c = {};
|
|
4371
|
-
return
|
|
4371
|
+
return dM().updateSiteMembership(I, t, g, c).then((N) => N).catch((N) => {
|
|
4372
4372
|
uM().updateWorkspaceMemberRoleError(N);
|
|
4373
4373
|
});
|
|
4374
4374
|
}
|
|
4375
4375
|
deleteWorkspaceMember(I, t) {
|
|
4376
|
-
return
|
|
4376
|
+
return dM().deleteSiteMembership(I, t).then(() => t).catch((e) => {
|
|
4377
4377
|
uM().deleteWorkspaceMemberError(e);
|
|
4378
4378
|
});
|
|
4379
4379
|
}
|
|
@@ -4382,7 +4382,7 @@ class dA {
|
|
|
4382
4382
|
role: e,
|
|
4383
4383
|
id: t
|
|
4384
4384
|
}, c = {};
|
|
4385
|
-
return
|
|
4385
|
+
return dM().createSiteMembership(I, g, c).then((N) => N).catch((N) => {
|
|
4386
4386
|
uM().addWorkspaceMemberError(N);
|
|
4387
4387
|
});
|
|
4388
4388
|
}
|
|
@@ -4413,14 +4413,14 @@ class dA {
|
|
|
4413
4413
|
}
|
|
4414
4414
|
deleteWorkspace(I) {
|
|
4415
4415
|
const t = {};
|
|
4416
|
-
return
|
|
4416
|
+
return dM().deleteSite(I, t).then(() => {
|
|
4417
4417
|
console.log("Site deletion successful.");
|
|
4418
4418
|
}).catch((e) => {
|
|
4419
4419
|
uM().deleteWorkspaceError(e);
|
|
4420
4420
|
});
|
|
4421
4421
|
}
|
|
4422
4422
|
updateWorkspace(I, t) {
|
|
4423
|
-
return
|
|
4423
|
+
return dM().updateSite(I, t).then((e) => e).catch((e) => {
|
|
4424
4424
|
uM().updateWorkspaceError(e);
|
|
4425
4425
|
});
|
|
4426
4426
|
}
|
|
@@ -4476,12 +4476,12 @@ function qM(M, ...I) {
|
|
|
4476
4476
|
t(...I);
|
|
4477
4477
|
});
|
|
4478
4478
|
}
|
|
4479
|
-
function
|
|
4479
|
+
function Zt(M, I) {
|
|
4480
4480
|
for (const t in I) {
|
|
4481
4481
|
if (!I.hasOwnProperty(t))
|
|
4482
4482
|
continue;
|
|
4483
4483
|
const e = I[t], g = M[t];
|
|
4484
|
-
HM(g) && HM(e) && M.hasOwnProperty(t) && !II(e) && !wt(e) ? M[t] =
|
|
4484
|
+
HM(g) && HM(e) && M.hasOwnProperty(t) && !II(e) && !wt(e) ? M[t] = Zt(g, e) : M[t] = e;
|
|
4485
4485
|
}
|
|
4486
4486
|
return M;
|
|
4487
4487
|
}
|
|
@@ -4505,14 +4505,14 @@ function We(M, I, t, e) {
|
|
|
4505
4505
|
return N[m].call(o, o);
|
|
4506
4506
|
})), n), {}));
|
|
4507
4507
|
}
|
|
4508
|
-
return a =
|
|
4508
|
+
return a = dt(M, u, I, t, e, !0), a.$reset = function() {
|
|
4509
4509
|
const n = g ? g() : {};
|
|
4510
4510
|
this.$patch((m) => {
|
|
4511
4511
|
nM(m, n);
|
|
4512
4512
|
});
|
|
4513
4513
|
}, a;
|
|
4514
4514
|
}
|
|
4515
|
-
function
|
|
4515
|
+
function dt(M, I, t = {}, e, g, c) {
|
|
4516
4516
|
let N;
|
|
4517
4517
|
const l = nM({ actions: {} }, t);
|
|
4518
4518
|
if (process.env.NODE_ENV !== "production" && !e._e.active)
|
|
@@ -4524,9 +4524,9 @@ function Zt(M, I, t = {}, e, g, c) {
|
|
|
4524
4524
|
u ? o = x : u == !1 && !O._hotUpdating && (Array.isArray(o) ? o.push(x) : console.error("\u{1F34D} debuggerEvents should be an array. This is most likely an internal Pinia bug."));
|
|
4525
4525
|
});
|
|
4526
4526
|
let u, i, n = JM([]), m = JM([]), o;
|
|
4527
|
-
const
|
|
4528
|
-
!c && !
|
|
4529
|
-
const
|
|
4527
|
+
const Z = e.state.value[M];
|
|
4528
|
+
!c && !Z && (process.env.NODE_ENV === "production" || !g) && (e.state.value[M] = {});
|
|
4529
|
+
const d = DM({});
|
|
4530
4530
|
let W;
|
|
4531
4531
|
function A(x) {
|
|
4532
4532
|
let E;
|
|
@@ -4534,7 +4534,7 @@ function Zt(M, I, t = {}, e, g, c) {
|
|
|
4534
4534
|
type: zI.patchFunction,
|
|
4535
4535
|
storeId: M,
|
|
4536
4536
|
events: o
|
|
4537
|
-
}) : (
|
|
4537
|
+
}) : (Zt(e.state.value[M], x), E = {
|
|
4538
4538
|
type: zI.patchObject,
|
|
4539
4539
|
payload: x,
|
|
4540
4540
|
storeId: M,
|
|
@@ -4581,7 +4581,7 @@ function Zt(M, I, t = {}, e, g, c) {
|
|
|
4581
4581
|
actions: {},
|
|
4582
4582
|
getters: {},
|
|
4583
4583
|
state: [],
|
|
4584
|
-
hotState:
|
|
4584
|
+
hotState: d
|
|
4585
4585
|
}), w = {
|
|
4586
4586
|
_p: e,
|
|
4587
4587
|
$id: M,
|
|
@@ -4611,7 +4611,7 @@ function Zt(M, I, t = {}, e, g, c) {
|
|
|
4611
4611
|
for (const x in U) {
|
|
4612
4612
|
const E = U[x];
|
|
4613
4613
|
if (II(E) && !Ye(E) || wt(E))
|
|
4614
|
-
process.env.NODE_ENV !== "production" && g ? EI(
|
|
4614
|
+
process.env.NODE_ENV !== "production" && g ? EI(d.value, x, HI(U, x)) : c || (Z && $u(E) && (II(E) ? E.value = Z[x] : Zt(E, Z[x])), e.state.value[M][x] = E), process.env.NODE_ENV !== "production" && C.state.push(x);
|
|
4615
4615
|
else if (typeof E == "function") {
|
|
4616
4616
|
const h = process.env.NODE_ENV !== "production" && g ? E : T(x, E);
|
|
4617
4617
|
U[x] = h, process.env.NODE_ENV !== "production" && (C.actions[x] = E), l.actions[x] = E;
|
|
@@ -4619,7 +4619,7 @@ function Zt(M, I, t = {}, e, g, c) {
|
|
|
4619
4619
|
process.env.NODE_ENV !== "production" && Ye(E) && (C.getters[x] = c ? t.getters[x] : E, jI && (U._getters || (U._getters = JM([]))).push(x));
|
|
4620
4620
|
}
|
|
4621
4621
|
if (nM(O, U), nM(zb(O), U), Object.defineProperty(O, "$state", {
|
|
4622
|
-
get: () => process.env.NODE_ENV !== "production" && g ?
|
|
4622
|
+
get: () => process.env.NODE_ENV !== "production" && g ? d.value : e.state.value[M],
|
|
4623
4623
|
set: (x) => {
|
|
4624
4624
|
if (process.env.NODE_ENV !== "production" && g)
|
|
4625
4625
|
throw new Error("cannot set hotState");
|
|
@@ -4684,7 +4684,7 @@ function Zt(M, I, t = {}, e, g, c) {
|
|
|
4684
4684
|
})));
|
|
4685
4685
|
}), process.env.NODE_ENV !== "production" && O.$state && typeof O.$state == "object" && typeof O.$state.constructor == "function" && !O.$state.constructor.toString().includes("[native code]") && console.warn(`[\u{1F34D}]: The "state" must be a plain object. It cannot be
|
|
4686
4686
|
state: () => new MyClass()
|
|
4687
|
-
Found in store "${O.$id}".`),
|
|
4687
|
+
Found in store "${O.$id}".`), Z && c && t.hydrate && t.hydrate(O.$state, Z), u = !0, i = !0, O;
|
|
4688
4688
|
}
|
|
4689
4689
|
function qu(M, I, t) {
|
|
4690
4690
|
let e, g;
|
|
@@ -4697,10 +4697,10 @@ function qu(M, I, t) {
|
|
|
4697
4697
|
const pinia = createPinia()
|
|
4698
4698
|
app.use(pinia)
|
|
4699
4699
|
This will fail in production.`);
|
|
4700
|
-
l = rI, l._s.has(e) || (c ?
|
|
4700
|
+
l = rI, l._s.has(e) || (c ? dt(e, I, g, l) : We(e, g, l), process.env.NODE_ENV !== "production" && (N._pinia = l));
|
|
4701
4701
|
const i = l._s.get(e);
|
|
4702
4702
|
if (process.env.NODE_ENV !== "production" && a) {
|
|
4703
|
-
const n = "__hot:" + e, m = c ?
|
|
4703
|
+
const n = "__hot:" + e, m = c ? dt(n, I, g, l, !0) : We(n, nM({}, g), l, !0);
|
|
4704
4704
|
a._hotUpdate(m), delete l.state.value[n], l._s.delete(n);
|
|
4705
4705
|
}
|
|
4706
4706
|
if (process.env.NODE_ENV !== "production" && jI && u && u.proxy && !a) {
|
|
@@ -4787,7 +4787,7 @@ function MD(M) {
|
|
|
4787
4787
|
return !1;
|
|
4788
4788
|
throw new Error(M);
|
|
4789
4789
|
}
|
|
4790
|
-
class
|
|
4790
|
+
class dA {
|
|
4791
4791
|
getFavorites(I) {
|
|
4792
4792
|
const t = we(), e = {
|
|
4793
4793
|
skipCount: 0,
|
|
@@ -4916,7 +4916,7 @@ const iD = (M, I, t, { allOwnKeys: e } = {}) => (BI(I, (g, c) => {
|
|
|
4916
4916
|
BI(t, (g, c) => {
|
|
4917
4917
|
I(g, c, M) !== !1 && (e[c] = g);
|
|
4918
4918
|
}), Object.defineProperties(M, e);
|
|
4919
|
-
},
|
|
4919
|
+
}, ZD = (M) => {
|
|
4920
4920
|
Fl(M, (I, t) => {
|
|
4921
4921
|
const e = M[t];
|
|
4922
4922
|
if (!!gI(e)) {
|
|
@@ -4929,7 +4929,7 @@ const iD = (M, I, t, { allOwnKeys: e } = {}) => (BI(I, (g, c) => {
|
|
|
4929
4929
|
});
|
|
4930
4930
|
}
|
|
4931
4931
|
});
|
|
4932
|
-
},
|
|
4932
|
+
}, dD = (M, I) => {
|
|
4933
4933
|
const t = {}, e = (g) => {
|
|
4934
4934
|
g.forEach((c) => {
|
|
4935
4935
|
t[c] = !0;
|
|
@@ -4975,8 +4975,8 @@ const iD = (M, I, t, { allOwnKeys: e } = {}) => (BI(I, (g, c) => {
|
|
|
4975
4975
|
hasOwnProperty: Ee,
|
|
4976
4976
|
hasOwnProp: Ee,
|
|
4977
4977
|
reduceDescriptors: Fl,
|
|
4978
|
-
freezeMethods:
|
|
4979
|
-
toObjectSet:
|
|
4978
|
+
freezeMethods: ZD,
|
|
4979
|
+
toObjectSet: dD,
|
|
4980
4980
|
toCamelCase: OD,
|
|
4981
4981
|
noop: pD,
|
|
4982
4982
|
toFiniteNumber: LD
|
|
@@ -5054,53 +5054,53 @@ function fI(M, I, t) {
|
|
|
5054
5054
|
metaTokens: !0,
|
|
5055
5055
|
dots: !1,
|
|
5056
5056
|
indexes: !1
|
|
5057
|
-
}, !1, function(
|
|
5058
|
-
return !y.isUndefined(W[
|
|
5057
|
+
}, !1, function(d, W) {
|
|
5058
|
+
return !y.isUndefined(W[d]);
|
|
5059
5059
|
});
|
|
5060
5060
|
const e = t.metaTokens, g = t.visitor || i, c = t.dots, N = t.indexes, a = (t.Blob || typeof Blob < "u" && Blob) && ED(I);
|
|
5061
5061
|
if (!y.isFunction(g))
|
|
5062
5062
|
throw new TypeError("visitor must be a function");
|
|
5063
|
-
function u(
|
|
5064
|
-
if (
|
|
5063
|
+
function u(Z) {
|
|
5064
|
+
if (Z === null)
|
|
5065
5065
|
return "";
|
|
5066
|
-
if (y.isDate(
|
|
5067
|
-
return
|
|
5068
|
-
if (!a && y.isBlob(
|
|
5066
|
+
if (y.isDate(Z))
|
|
5067
|
+
return Z.toISOString();
|
|
5068
|
+
if (!a && y.isBlob(Z))
|
|
5069
5069
|
throw new R("Blob is not supported. Use a Buffer instead.");
|
|
5070
|
-
return y.isArrayBuffer(
|
|
5071
|
-
}
|
|
5072
|
-
function i(
|
|
5073
|
-
let A =
|
|
5074
|
-
if (
|
|
5075
|
-
if (y.endsWith(
|
|
5076
|
-
|
|
5077
|
-
else if (y.isArray(
|
|
5078
|
-
return
|
|
5070
|
+
return y.isArrayBuffer(Z) || y.isTypedArray(Z) ? a && typeof Blob == "function" ? new Blob([Z]) : Buffer.from(Z) : Z;
|
|
5071
|
+
}
|
|
5072
|
+
function i(Z, d, W) {
|
|
5073
|
+
let A = Z;
|
|
5074
|
+
if (Z && !W && typeof Z == "object") {
|
|
5075
|
+
if (y.endsWith(d, "{}"))
|
|
5076
|
+
d = e ? d : d.slice(0, -2), Z = JSON.stringify(Z);
|
|
5077
|
+
else if (y.isArray(Z) && WD(Z) || y.isFileList(Z) || y.endsWith(d, "[]") && (A = y.toArray(Z)))
|
|
5078
|
+
return d = Vl(d), A.forEach(function(p, T) {
|
|
5079
5079
|
!(y.isUndefined(p) || p === null) && I.append(
|
|
5080
|
-
N === !0 ? xe([
|
|
5080
|
+
N === !0 ? xe([d], T, c) : N === null ? d : d + "[]",
|
|
5081
5081
|
u(p)
|
|
5082
5082
|
);
|
|
5083
5083
|
}), !1;
|
|
5084
5084
|
}
|
|
5085
|
-
return Yt(
|
|
5085
|
+
return Yt(Z) ? !0 : (I.append(xe(W, d, c), u(Z)), !1);
|
|
5086
5086
|
}
|
|
5087
5087
|
const n = [], m = Object.assign(wD, {
|
|
5088
5088
|
defaultVisitor: i,
|
|
5089
5089
|
convertValue: u,
|
|
5090
5090
|
isVisitable: Yt
|
|
5091
5091
|
});
|
|
5092
|
-
function o(
|
|
5093
|
-
if (!y.isUndefined(
|
|
5094
|
-
if (n.indexOf(
|
|
5095
|
-
throw Error("Circular reference detected in " +
|
|
5096
|
-
n.push(
|
|
5092
|
+
function o(Z, d) {
|
|
5093
|
+
if (!y.isUndefined(Z)) {
|
|
5094
|
+
if (n.indexOf(Z) !== -1)
|
|
5095
|
+
throw Error("Circular reference detected in " + d.join("."));
|
|
5096
|
+
n.push(Z), y.forEach(Z, function(A, r) {
|
|
5097
5097
|
(!(y.isUndefined(A) || A === null) && g.call(
|
|
5098
5098
|
I,
|
|
5099
5099
|
A,
|
|
5100
5100
|
y.isString(r) ? r.trim() : r,
|
|
5101
|
-
|
|
5101
|
+
d,
|
|
5102
5102
|
m
|
|
5103
|
-
)) === !0 && o(A,
|
|
5103
|
+
)) === !0 && o(A, d ? d.concat(r) : [r]);
|
|
5104
5104
|
}), n.pop();
|
|
5105
5105
|
}
|
|
5106
5106
|
}
|
|
@@ -5515,8 +5515,8 @@ function Ue(M) {
|
|
|
5515
5515
|
y.isFormData(g) && YM.isStandardBrowserEnv && c.setContentType(!1);
|
|
5516
5516
|
let u = new XMLHttpRequest();
|
|
5517
5517
|
if (M.auth) {
|
|
5518
|
-
const o = M.auth.username || "",
|
|
5519
|
-
c.set("Authorization", "Basic " + btoa(o + ":" +
|
|
5518
|
+
const o = M.auth.username || "", Z = M.auth.password ? unescape(encodeURIComponent(M.auth.password)) : "";
|
|
5519
|
+
c.set("Authorization", "Basic " + btoa(o + ":" + Z));
|
|
5520
5520
|
}
|
|
5521
5521
|
const i = $l(M.baseURL, M.url);
|
|
5522
5522
|
u.open(M.method.toUpperCase(), Pl(i, M.params, M.paramsSerializer), !0), u.timeout = M.timeout;
|
|
@@ -5525,7 +5525,7 @@ function Ue(M) {
|
|
|
5525
5525
|
return;
|
|
5526
5526
|
const o = mM.from(
|
|
5527
5527
|
"getAllResponseHeaders" in u && u.getAllResponseHeaders()
|
|
5528
|
-
),
|
|
5528
|
+
), d = {
|
|
5529
5529
|
data: !N || N === "text" || N === "json" ? u.responseText : u.response,
|
|
5530
5530
|
status: u.status,
|
|
5531
5531
|
statusText: u.statusText,
|
|
@@ -5537,7 +5537,7 @@ function Ue(M) {
|
|
|
5537
5537
|
t(A), a();
|
|
5538
5538
|
}, function(A) {
|
|
5539
5539
|
e(A), a();
|
|
5540
|
-
},
|
|
5540
|
+
}, d), u = null;
|
|
5541
5541
|
}
|
|
5542
5542
|
if ("onloadend" in u ? u.onloadend = n : u.onreadystatechange = function() {
|
|
5543
5543
|
!u || u.readyState !== 4 || u.status === 0 && !(u.responseURL && u.responseURL.indexOf("file:") === 0) || setTimeout(n);
|
|
@@ -5546,11 +5546,11 @@ function Ue(M) {
|
|
|
5546
5546
|
}, u.onerror = function() {
|
|
5547
5547
|
e(new R("Network Error", R.ERR_NETWORK, M, u)), u = null;
|
|
5548
5548
|
}, u.ontimeout = function() {
|
|
5549
|
-
let
|
|
5550
|
-
const
|
|
5551
|
-
M.timeoutErrorMessage && (
|
|
5552
|
-
|
|
5553
|
-
|
|
5549
|
+
let Z = M.timeout ? "timeout of " + M.timeout + "ms exceeded" : "timeout exceeded";
|
|
5550
|
+
const d = M.transitional || _l;
|
|
5551
|
+
M.timeoutErrorMessage && (Z = M.timeoutErrorMessage), e(new R(
|
|
5552
|
+
Z,
|
|
5553
|
+
d.clarifyTimeoutError ? R.ETIMEDOUT : R.ECONNABORTED,
|
|
5554
5554
|
M,
|
|
5555
5555
|
u
|
|
5556
5556
|
)), u = null;
|
|
@@ -5558,8 +5558,8 @@ function Ue(M) {
|
|
|
5558
5558
|
const o = (M.withCredentials || FD(i)) && M.xsrfCookieName && QD.read(M.xsrfCookieName);
|
|
5559
5559
|
o && c.set(M.xsrfHeaderName, o);
|
|
5560
5560
|
}
|
|
5561
|
-
g === void 0 && c.setContentType(null), "setRequestHeader" in u && y.forEach(c.toJSON(), function(
|
|
5562
|
-
u.setRequestHeader(
|
|
5561
|
+
g === void 0 && c.setContentType(null), "setRequestHeader" in u && y.forEach(c.toJSON(), function(Z, d) {
|
|
5562
|
+
u.setRequestHeader(d, Z);
|
|
5563
5563
|
}), y.isUndefined(M.withCredentials) || (u.withCredentials = !!M.withCredentials), N && N !== "json" && (u.responseType = M.responseType), typeof M.onDownloadProgress == "function" && u.addEventListener("progress", Xe(M.onDownloadProgress, !0)), typeof M.onUploadProgress == "function" && u.upload && u.upload.addEventListener("progress", Xe(M.onUploadProgress)), (M.cancelToken || M.signal) && (l = (o) => {
|
|
5564
5564
|
!u || (e(!o || o.type ? new YI(null, M, u) : o), u.abort(), u = null);
|
|
5565
5565
|
}, M.cancelToken && M.cancelToken.subscribe(l), M.signal && (M.signal.aborted ? l() : M.signal.addEventListener("abort", l)));
|
|
@@ -5703,7 +5703,7 @@ function Re(M) {
|
|
|
5703
5703
|
), e.response.headers = mM.from(e.response.headers))), Promise.reject(e);
|
|
5704
5704
|
});
|
|
5705
5705
|
}
|
|
5706
|
-
function
|
|
5706
|
+
function dI(M, I) {
|
|
5707
5707
|
I = I || {};
|
|
5708
5708
|
const t = {};
|
|
5709
5709
|
function e(u, i) {
|
|
@@ -5821,7 +5821,7 @@ class FM {
|
|
|
5821
5821
|
};
|
|
5822
5822
|
}
|
|
5823
5823
|
request(I, t) {
|
|
5824
|
-
typeof I == "string" ? (t = t || {}, t.url = I) : t = I || {}, t =
|
|
5824
|
+
typeof I == "string" ? (t = t || {}, t.url = I) : t = I || {}, t = dI(this.defaults, t);
|
|
5825
5825
|
const { transitional: e, paramsSerializer: g } = t;
|
|
5826
5826
|
e !== void 0 && Wt.assertOptions(e, {
|
|
5827
5827
|
silentJSONParsing: GM.transitional(GM.boolean),
|
|
@@ -5837,18 +5837,18 @@ class FM {
|
|
|
5837
5837
|
);
|
|
5838
5838
|
c && y.forEach(
|
|
5839
5839
|
["delete", "get", "head", "post", "put", "patch", "common"],
|
|
5840
|
-
function(
|
|
5841
|
-
delete t.headers[
|
|
5840
|
+
function(Z) {
|
|
5841
|
+
delete t.headers[Z];
|
|
5842
5842
|
}
|
|
5843
5843
|
), t.headers = new mM(t.headers, c);
|
|
5844
5844
|
const N = [];
|
|
5845
5845
|
let l = !0;
|
|
5846
|
-
this.interceptors.request.forEach(function(
|
|
5847
|
-
typeof
|
|
5846
|
+
this.interceptors.request.forEach(function(Z) {
|
|
5847
|
+
typeof Z.runWhen == "function" && Z.runWhen(t) === !1 || (l = l && Z.synchronous, N.unshift(Z.fulfilled, Z.rejected));
|
|
5848
5848
|
});
|
|
5849
5849
|
const a = [];
|
|
5850
|
-
this.interceptors.response.forEach(function(
|
|
5851
|
-
a.push(
|
|
5850
|
+
this.interceptors.response.forEach(function(Z) {
|
|
5851
|
+
a.push(Z.fulfilled, Z.rejected);
|
|
5852
5852
|
});
|
|
5853
5853
|
let u, i = 0, n;
|
|
5854
5854
|
if (!l) {
|
|
@@ -5860,11 +5860,11 @@ class FM {
|
|
|
5860
5860
|
n = N.length;
|
|
5861
5861
|
let m = t;
|
|
5862
5862
|
for (i = 0; i < n; ) {
|
|
5863
|
-
const o = N[i++],
|
|
5863
|
+
const o = N[i++], Z = N[i++];
|
|
5864
5864
|
try {
|
|
5865
5865
|
m = o(m);
|
|
5866
|
-
} catch (
|
|
5867
|
-
|
|
5866
|
+
} catch (d) {
|
|
5867
|
+
Z.call(this, d);
|
|
5868
5868
|
break;
|
|
5869
5869
|
}
|
|
5870
5870
|
}
|
|
@@ -5878,14 +5878,14 @@ class FM {
|
|
|
5878
5878
|
return u;
|
|
5879
5879
|
}
|
|
5880
5880
|
getUri(I) {
|
|
5881
|
-
I =
|
|
5881
|
+
I = dI(this.defaults, I);
|
|
5882
5882
|
const t = $l(I.baseURL, I.url);
|
|
5883
5883
|
return Pl(t, I.params, I.paramsSerializer);
|
|
5884
5884
|
}
|
|
5885
5885
|
}
|
|
5886
5886
|
y.forEach(["delete", "get", "head", "options"], function(I) {
|
|
5887
5887
|
FM.prototype[I] = function(t, e) {
|
|
5888
|
-
return this.request(
|
|
5888
|
+
return this.request(dI(e || {}, {
|
|
5889
5889
|
method: I,
|
|
5890
5890
|
url: t,
|
|
5891
5891
|
data: (e || {}).data
|
|
@@ -5895,7 +5895,7 @@ y.forEach(["delete", "get", "head", "options"], function(I) {
|
|
|
5895
5895
|
y.forEach(["post", "put", "patch"], function(I) {
|
|
5896
5896
|
function t(e) {
|
|
5897
5897
|
return function(c, N, l) {
|
|
5898
|
-
return this.request(
|
|
5898
|
+
return this.request(dI(l || {}, {
|
|
5899
5899
|
method: I,
|
|
5900
5900
|
headers: e ? {
|
|
5901
5901
|
"Content-Type": "multipart/form-data"
|
|
@@ -5973,7 +5973,7 @@ function eA(M) {
|
|
|
5973
5973
|
function tb(M) {
|
|
5974
5974
|
const I = new FM(M), t = Ul(FM.prototype.request, I);
|
|
5975
5975
|
return y.extend(t, FM.prototype, I, { allOwnKeys: !0 }), y.extend(t, I, null, { allOwnKeys: !0 }), t.create = function(g) {
|
|
5976
|
-
return tb(
|
|
5976
|
+
return tb(dI(M, g));
|
|
5977
5977
|
}, t;
|
|
5978
5978
|
}
|
|
5979
5979
|
const tM = tb(cI);
|
|
@@ -6163,19 +6163,19 @@ export {
|
|
|
6163
6163
|
pA as CollaboraAccessService,
|
|
6164
6164
|
LA as CollaboraExtensionService,
|
|
6165
6165
|
Qt as ErrorService,
|
|
6166
|
-
|
|
6166
|
+
dA as FavoriteService,
|
|
6167
6167
|
WA as IconeService,
|
|
6168
6168
|
YA as PristyIcon,
|
|
6169
|
-
|
|
6169
|
+
ZA as WorkspaceService,
|
|
6170
6170
|
iM as alfrescoApi,
|
|
6171
6171
|
ct as favoritesApi,
|
|
6172
6172
|
Sl as i18n,
|
|
6173
6173
|
sM as nodesApi,
|
|
6174
6174
|
it as peopleApi,
|
|
6175
6175
|
_t as renditionsApi,
|
|
6176
|
-
|
|
6177
|
-
|
|
6176
|
+
db as searchApi,
|
|
6177
|
+
dM as sitesApi,
|
|
6178
6178
|
TA as trashcanApi,
|
|
6179
|
-
|
|
6179
|
+
Zb as uploadApi,
|
|
6180
6180
|
we as useUserStore
|
|
6181
6181
|
};
|