@feedmepos/mf-hrm-portal 1.1.3-dev.2 → 1.1.3-dev.4
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/{AuditLogList-kZBi77lv.js → AuditLogList-BeigpKv1.js} +23 -23
- package/dist/{EmployeeList-Cg-mhdLv.js → EmployeeList-pCs8sKuU.js} +5 -5
- package/dist/{Main-CC9_bKTG.js → Main-DWnVJGpe.js} +7 -7
- package/dist/{Main-BHF7vXlD.js → Main-iC9TGp41.js} +5 -5
- package/dist/{PermissionSetList-C0FOYrQ6.js → PermissionSetList-BLmeu-lo.js} +3 -3
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CS4B-7AU.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DqWrIJPe.js} +378 -377
- package/dist/{RoleList-D2NTVZa_.js → RoleList-DyOF2uRf.js} +5 -5
- package/dist/{TeamMemberList-DC0Gxjin.js → TeamMemberList-Ck2gpjCC.js} +7 -7
- package/dist/{TimesheetList-CksRCsTc.js → TimesheetList-C4_i17S7.js} +6 -6
- package/dist/api/team/index.d.ts +1 -4
- package/dist/{app-kKq54h9D.js → app-BRpUSeEf.js} +228 -284
- package/dist/app.js +2 -2
- package/dist/{dayjs.min-CGTR0SS0.js → dayjs.min-Dfq8fN9X.js} +1 -1
- package/dist/{employee-CRKx3zN0.js → employee-BZxYvY4n.js} +3 -3
- package/dist/{index-TP4vQCyq.js → index-CvpJyEnB.js} +1 -1
- package/dist/{index-DRoNwfyW.js → index-nVxD4_on.js} +186 -189
- package/dist/{lodash-CeWi5dyp.js → lodash-Cbt71kLf.js} +1 -1
- package/dist/{team-CuLNHjGN.js → team-CZZo-waE.js} +1 -1
- package/dist/{timesheet-V636ISlI.js → timesheet-DuYLbiJ_.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-DoX0IUFz.js → useAppStore-Dt1nUJ4t.js} +1 -1
- package/dist/{useLoading-1yy1KHsE.js → useLoading-CjyXOp7A.js} +1 -1
- package/package.json +1 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { getCurrentInstance as
|
|
2
|
-
import { useI18n as
|
|
1
|
+
import { getCurrentInstance as Wt, inject as Bn, ref as Re, shallowRef as Jn, computed as X, watch as Ct, onMounted as Gt, onUnmounted as Rn, defineComponent as _e, h as Cn, createVNode as ie, Text as $n, Fragment as Ue, resolveComponent as Ye, createBlock as Ce, openBlock as z, withCtx as ce, createElementVNode as ae, createElementBlock as le, toDisplayString as He, unref as Ee, renderList as pe, renderSlot as me, createCommentVNode as ye, createTextVNode as zn, useSlots as Kn, normalizeStyle as rt, normalizeClass as qe, createSlots as Oe, nextTick as Qn, mergeModels as zt, useModel as qn } from "vue";
|
|
2
|
+
import { useI18n as ct, useCoreStore as es } from "@feedmepos/mf-common";
|
|
3
3
|
import "@vue/devtools-api";
|
|
4
|
-
import { l as xe, p as
|
|
5
|
-
import {
|
|
6
|
-
import { u as os } from "./index-
|
|
7
|
-
import { u as is } from "./useAppStore-
|
|
4
|
+
import { l as xe, p as lt, g as ts, b as ns, n as ss, y as Tt, z as rs, m as as, $ as Kt } from "./index-nVxD4_on.js";
|
|
5
|
+
import { p as ls, h as se, m as Qt, b as qt } from "./app-BRpUSeEf.js";
|
|
6
|
+
import { u as os } from "./index-CvpJyEnB.js";
|
|
7
|
+
import { u as is } from "./useAppStore-Dt1nUJ4t.js";
|
|
8
8
|
/*!
|
|
9
9
|
* shared v10.0.5
|
|
10
10
|
* (c) 2024 kazuya kawaguchi
|
|
11
11
|
* Released under the MIT License.
|
|
12
12
|
*/
|
|
13
|
-
const en = typeof window < "u", Se = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), cs = (e, t, n) => us({ l: e, k: t, s: n }), us = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), q = (e) => typeof e == "number" && isFinite(e), ms = (e) =>
|
|
13
|
+
const en = typeof window < "u", Se = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), cs = (e, t, n) => us({ l: e, k: t, s: n }), us = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), q = (e) => typeof e == "number" && isFinite(e), ms = (e) => jt(e) === "[object Date]", ot = (e) => jt(e) === "[object RegExp]", ut = (e) => F(e) && Object.keys(e).length === 0, ee = Object.assign, ds = Object.create, G = (e = null) => ds(e);
|
|
14
14
|
let tn;
|
|
15
|
-
const Le = () => tn || (tn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global :
|
|
15
|
+
const Le = () => tn || (tn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : G());
|
|
16
16
|
function nn(e) {
|
|
17
17
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
18
18
|
}
|
|
@@ -20,22 +20,22 @@ const _s = Object.prototype.hasOwnProperty;
|
|
|
20
20
|
function de(e, t) {
|
|
21
21
|
return _s.call(e, t);
|
|
22
22
|
}
|
|
23
|
-
const Q = Array.isArray,
|
|
23
|
+
const Q = Array.isArray, Y = (e) => typeof e == "function", R = (e) => typeof e == "string", K = (e) => typeof e == "boolean", V = (e) => e !== null && typeof e == "object", fs = (e) => V(e) && Y(e.then) && Y(e.catch), Sn = Object.prototype.toString, jt = (e) => Sn.call(e), F = (e) => jt(e) === "[object Object]", ps = (e) => e == null ? "" : Q(e) || F(e) && e.toString === Sn ? JSON.stringify(e, null, 2) : String(e);
|
|
24
24
|
function Xt(e, t = "") {
|
|
25
25
|
return e.reduce((n, s, l) => l === 0 ? n + s : n + t + s, "");
|
|
26
26
|
}
|
|
27
27
|
function bs(e, t) {
|
|
28
28
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
29
29
|
}
|
|
30
|
-
const
|
|
31
|
-
function
|
|
32
|
-
if (
|
|
30
|
+
const et = (e) => !V(e) || Q(e);
|
|
31
|
+
function at(e, t) {
|
|
32
|
+
if (et(e) || et(t))
|
|
33
33
|
throw new Error("Invalid value");
|
|
34
34
|
const n = [{ src: e, des: t }];
|
|
35
35
|
for (; n.length; ) {
|
|
36
36
|
const { src: s, des: l } = n.pop();
|
|
37
37
|
Object.keys(s).forEach((r) => {
|
|
38
|
-
r !== "__proto__" && (V(s[r]) && !V(l[r]) && (l[r] = Array.isArray(s[r]) ? [] :
|
|
38
|
+
r !== "__proto__" && (V(s[r]) && !V(l[r]) && (l[r] = Array.isArray(s[r]) ? [] : G()), et(l[r]) || et(s[r]) ? l[r] = s[r] : n.push({ src: s[r], des: l[r] }));
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -63,19 +63,19 @@ const W = {
|
|
|
63
63
|
UNEXPECTED_EMPTY_LINKED_KEY: 13,
|
|
64
64
|
UNEXPECTED_LEXICAL_ANALYSIS: 14
|
|
65
65
|
}, gs = 17;
|
|
66
|
-
function
|
|
66
|
+
function mt(e, t, n = {}) {
|
|
67
67
|
const { domain: s, messages: l, args: r } = n, u = e, m = new SyntaxError(String(u));
|
|
68
68
|
return m.code = e, t && (m.location = t), m.domain = s, m;
|
|
69
69
|
}
|
|
70
70
|
function Es(e) {
|
|
71
71
|
throw e;
|
|
72
72
|
}
|
|
73
|
-
const be = " ", Is = "\r",
|
|
73
|
+
const be = " ", Is = "\r", re = `
|
|
74
74
|
`, vs = "\u2028", Ns = "\u2029";
|
|
75
75
|
function Ts(e) {
|
|
76
76
|
const t = e;
|
|
77
77
|
let n = 0, s = 1, l = 1, r = 0;
|
|
78
|
-
const u = (v) => t[v] === Is && t[v + 1] ===
|
|
78
|
+
const u = (v) => t[v] === Is && t[v + 1] === re, m = (v) => t[v] === re, c = (v) => t[v] === Ns, f = (v) => t[v] === vs, b = (v) => u(v) || m(v) || c(v) || f(v), E = () => n, g = () => s, k = () => l, M = () => r, T = (v) => u(v) || c(v) || f(v) ? re : t[v], O = () => T(n), i = () => T(n + r);
|
|
79
79
|
function d() {
|
|
80
80
|
return r = 0, b(n) && (s++, l = 0), u(n) && n++, n++, l++, t[n];
|
|
81
81
|
}
|
|
@@ -127,7 +127,7 @@ function Os(e, t = {}) {
|
|
|
127
127
|
function E(a, o, h, ...A) {
|
|
128
128
|
const J = f();
|
|
129
129
|
if (o.column += h, o.offset += h, b) {
|
|
130
|
-
const P = n ? St(J.startLoc, o) : null, _ =
|
|
130
|
+
const P = n ? St(J.startLoc, o) : null, _ = mt(a, P, {
|
|
131
131
|
domain: ys,
|
|
132
132
|
args: A
|
|
133
133
|
});
|
|
@@ -149,7 +149,7 @@ function Os(e, t = {}) {
|
|
|
149
149
|
}
|
|
150
150
|
function T(a) {
|
|
151
151
|
let o = "";
|
|
152
|
-
for (; a.currentPeek() === be || a.currentPeek() ===
|
|
152
|
+
for (; a.currentPeek() === be || a.currentPeek() === re; )
|
|
153
153
|
o += a.currentPeek(), a.peek();
|
|
154
154
|
return o;
|
|
155
155
|
}
|
|
@@ -211,7 +211,7 @@ function Os(e, t = {}) {
|
|
|
211
211
|
const A = i(a.currentPeek());
|
|
212
212
|
return a.resetPeek(), A;
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function x(a, o) {
|
|
215
215
|
const { currentType: h } = o;
|
|
216
216
|
if (!(h === 7 || h === 11))
|
|
217
217
|
return !1;
|
|
@@ -219,13 +219,13 @@ function Os(e, t = {}) {
|
|
|
219
219
|
const A = a.currentPeek() === ":";
|
|
220
220
|
return a.resetPeek(), A;
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function Z(a, o) {
|
|
223
223
|
const { currentType: h } = o;
|
|
224
224
|
if (h !== 9)
|
|
225
225
|
return !1;
|
|
226
226
|
const A = () => {
|
|
227
227
|
const P = a.currentPeek();
|
|
228
|
-
return P === "{" ? i(a.peek()) : P === "@" || P === "|" || P === ":" || P === "." || P === be || !P ? !1 : P ===
|
|
228
|
+
return P === "{" ? i(a.peek()) : P === "@" || P === "|" || P === ":" || P === "." || P === be || !P ? !1 : P === re ? (a.peek(), A()) : oe(a, !1);
|
|
229
229
|
}, J = A();
|
|
230
230
|
return a.resetPeek(), J;
|
|
231
231
|
}
|
|
@@ -237,7 +237,7 @@ function Os(e, t = {}) {
|
|
|
237
237
|
function oe(a, o = !0) {
|
|
238
238
|
const h = (J = !1, P = "") => {
|
|
239
239
|
const _ = a.currentPeek();
|
|
240
|
-
return _ === "{" || _ === "@" || !_ ? J : _ === "|" ? !(P === be || P ===
|
|
240
|
+
return _ === "{" || _ === "@" || !_ ? J : _ === "|" ? !(P === be || P === re) : _ === be ? (a.peek(), h(!0, be)) : _ === re ? (a.peek(), h(!0, re)) : !0;
|
|
241
241
|
}, A = h();
|
|
242
242
|
return o && a.resetPeek(), A;
|
|
243
243
|
}
|
|
@@ -256,7 +256,7 @@ function Os(e, t = {}) {
|
|
|
256
256
|
function D(a) {
|
|
257
257
|
return C(a, S);
|
|
258
258
|
}
|
|
259
|
-
function
|
|
259
|
+
function H(a) {
|
|
260
260
|
const o = a.charCodeAt(0);
|
|
261
261
|
return o >= 97 && o <= 122 || // a-z
|
|
262
262
|
o >= 65 && o <= 90 || // A-Z
|
|
@@ -265,38 +265,38 @@ function Os(e, t = {}) {
|
|
|
265
265
|
o === 36 || // $
|
|
266
266
|
o === 45;
|
|
267
267
|
}
|
|
268
|
-
function
|
|
269
|
-
return C(a,
|
|
268
|
+
function B(a) {
|
|
269
|
+
return C(a, H);
|
|
270
270
|
}
|
|
271
271
|
function w(a) {
|
|
272
272
|
const o = a.charCodeAt(0);
|
|
273
273
|
return o >= 48 && o <= 57;
|
|
274
274
|
}
|
|
275
|
-
function
|
|
275
|
+
function ne(a) {
|
|
276
276
|
return C(a, w);
|
|
277
277
|
}
|
|
278
|
-
function
|
|
278
|
+
function U(a) {
|
|
279
279
|
const o = a.charCodeAt(0);
|
|
280
280
|
return o >= 48 && o <= 57 || // 0-9
|
|
281
281
|
o >= 65 && o <= 70 || // A-F
|
|
282
282
|
o >= 97 && o <= 102;
|
|
283
283
|
}
|
|
284
284
|
function Te(a) {
|
|
285
|
-
return C(a,
|
|
285
|
+
return C(a, U);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function We(a) {
|
|
288
288
|
let o = "", h = "";
|
|
289
|
-
for (; o =
|
|
289
|
+
for (; o = ne(a); )
|
|
290
290
|
h += o;
|
|
291
291
|
return h;
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function Ge(a) {
|
|
294
294
|
let o = "";
|
|
295
295
|
for (; ; ) {
|
|
296
296
|
const h = a.currentChar();
|
|
297
297
|
if (h === "{" || h === "}" || h === "@" || h === "|" || !h)
|
|
298
298
|
break;
|
|
299
|
-
if (h === be || h ===
|
|
299
|
+
if (h === be || h === re)
|
|
300
300
|
if (oe(a))
|
|
301
301
|
o += h, a.next();
|
|
302
302
|
else {
|
|
@@ -312,17 +312,17 @@ function Os(e, t = {}) {
|
|
|
312
312
|
function ft(a) {
|
|
313
313
|
O(a);
|
|
314
314
|
let o = "", h = "";
|
|
315
|
-
for (; o =
|
|
315
|
+
for (; o = B(a); )
|
|
316
316
|
h += o;
|
|
317
317
|
return a.currentChar() === Ie && E(W.UNTERMINATED_CLOSING_BRACE, r(), 0), h;
|
|
318
318
|
}
|
|
319
319
|
function pt(a) {
|
|
320
320
|
O(a);
|
|
321
321
|
let o = "";
|
|
322
|
-
return a.currentChar() === "-" ? (a.next(), o += `-${
|
|
322
|
+
return a.currentChar() === "-" ? (a.next(), o += `-${We(a)}`) : o += We(a), a.currentChar() === Ie && E(W.UNTERMINATED_CLOSING_BRACE, r(), 0), o;
|
|
323
323
|
}
|
|
324
324
|
function $t(a) {
|
|
325
|
-
return a !== sn && a !==
|
|
325
|
+
return a !== sn && a !== re;
|
|
326
326
|
}
|
|
327
327
|
function bt(a) {
|
|
328
328
|
O(a), M(a, "'");
|
|
@@ -330,7 +330,7 @@ function Os(e, t = {}) {
|
|
|
330
330
|
for (; o = C(a, $t); )
|
|
331
331
|
o === "\\" ? h += ht(a) : h += o;
|
|
332
332
|
const A = a.currentChar();
|
|
333
|
-
return A ===
|
|
333
|
+
return A === re || A === Ie ? (E(W.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, r(), 0), A === re && (a.next(), M(a, "'")), h) : (M(a, "'"), h);
|
|
334
334
|
}
|
|
335
335
|
function ht(a) {
|
|
336
336
|
const o = a.currentChar();
|
|
@@ -360,7 +360,7 @@ function Os(e, t = {}) {
|
|
|
360
360
|
return `\\${o}${A}`;
|
|
361
361
|
}
|
|
362
362
|
function gt(a) {
|
|
363
|
-
return a !== "{" && a !== "}" && a !== be && a !==
|
|
363
|
+
return a !== "{" && a !== "}" && a !== be && a !== re;
|
|
364
364
|
}
|
|
365
365
|
function Et(a) {
|
|
366
366
|
O(a);
|
|
@@ -391,7 +391,7 @@ function Os(e, t = {}) {
|
|
|
391
391
|
);
|
|
392
392
|
return O(a), o;
|
|
393
393
|
}
|
|
394
|
-
function
|
|
394
|
+
function Ae(a, o) {
|
|
395
395
|
let h = null;
|
|
396
396
|
switch (a.currentChar()) {
|
|
397
397
|
case "{":
|
|
@@ -409,13 +409,13 @@ function Os(e, t = {}) {
|
|
|
409
409
|
/* TokenChars.BraceRight */
|
|
410
410
|
), o.braceNest--, o.braceNest > 0 && O(a), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), h;
|
|
411
411
|
case "@":
|
|
412
|
-
return o.braceNest > 0 && E(W.UNTERMINATED_CLOSING_BRACE, r(), 0), h =
|
|
412
|
+
return o.braceNest > 0 && E(W.UNTERMINATED_CLOSING_BRACE, r(), 0), h = De(a, o) || k(o), o.braceNest = 0, h;
|
|
413
413
|
default: {
|
|
414
414
|
let J = !0, P = !0, _ = !0;
|
|
415
415
|
if (te(a))
|
|
416
416
|
return o.braceNest > 0 && E(W.UNTERMINATED_CLOSING_BRACE, r(), 0), h = g(o, 1, je(a)), o.braceNest = 0, o.inLinked = !1, h;
|
|
417
417
|
if (o.braceNest > 0 && (o.currentType === 4 || o.currentType === 5 || o.currentType === 6))
|
|
418
|
-
return E(W.UNTERMINATED_CLOSING_BRACE, r(), 0), o.braceNest = 0,
|
|
418
|
+
return E(W.UNTERMINATED_CLOSING_BRACE, r(), 0), o.braceNest = 0, Xe(a, o);
|
|
419
419
|
if (J = N(a, o))
|
|
420
420
|
return h = g(o, 4, ft(a)), O(a), h;
|
|
421
421
|
if (P = p(a, o))
|
|
@@ -429,11 +429,11 @@ function Os(e, t = {}) {
|
|
|
429
429
|
}
|
|
430
430
|
return h;
|
|
431
431
|
}
|
|
432
|
-
function
|
|
432
|
+
function De(a, o) {
|
|
433
433
|
const { currentType: h } = o;
|
|
434
434
|
let A = null;
|
|
435
435
|
const J = a.currentChar();
|
|
436
|
-
switch ((h === 7 || h === 8 || h === 11 || h === 9) && (J ===
|
|
436
|
+
switch ((h === 7 || h === 8 || h === 11 || h === 9) && (J === re || J === be) && E(W.INVALID_LINKED_FORMAT, r(), 0), J) {
|
|
437
437
|
case "@":
|
|
438
438
|
return a.next(), A = g(
|
|
439
439
|
o,
|
|
@@ -456,21 +456,21 @@ function Os(e, t = {}) {
|
|
|
456
456
|
/* TokenChars.LinkedDelimiter */
|
|
457
457
|
);
|
|
458
458
|
default:
|
|
459
|
-
return te(a) ? (A = g(o, 1, je(a)), o.braceNest = 0, o.inLinked = !1, A) : y(a, o) ||
|
|
459
|
+
return te(a) ? (A = g(o, 1, je(a)), o.braceNest = 0, o.inLinked = !1, A) : y(a, o) || x(a, o) ? (O(a), De(a, o)) : v(a, o) ? (O(a), g(o, 11, It(a))) : Z(a, o) ? (O(a), J === "{" ? Ae(a, o) || A : g(o, 10, vt(a))) : (h === 7 && E(W.INVALID_LINKED_FORMAT, r(), 0), o.braceNest = 0, o.inLinked = !1, Xe(a, o));
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
-
function
|
|
462
|
+
function Xe(a, o) {
|
|
463
463
|
let h = {
|
|
464
464
|
type: 13
|
|
465
465
|
/* TokenTypes.EOF */
|
|
466
466
|
};
|
|
467
467
|
if (o.braceNest > 0)
|
|
468
|
-
return
|
|
468
|
+
return Ae(a, o) || k(o);
|
|
469
469
|
if (o.inLinked)
|
|
470
|
-
return
|
|
470
|
+
return De(a, o) || k(o);
|
|
471
471
|
switch (a.currentChar()) {
|
|
472
472
|
case "{":
|
|
473
|
-
return
|
|
473
|
+
return Ae(a, o) || k(o);
|
|
474
474
|
case "}":
|
|
475
475
|
return E(W.UNBALANCED_CLOSING_BRACE, r(), 0), a.next(), g(
|
|
476
476
|
o,
|
|
@@ -479,12 +479,12 @@ function Os(e, t = {}) {
|
|
|
479
479
|
/* TokenChars.BraceRight */
|
|
480
480
|
);
|
|
481
481
|
case "@":
|
|
482
|
-
return
|
|
482
|
+
return De(a, o) || k(o);
|
|
483
483
|
default: {
|
|
484
484
|
if (te(a))
|
|
485
485
|
return h = g(o, 1, je(a)), o.braceNest = 0, o.inLinked = !1, h;
|
|
486
486
|
if (oe(a))
|
|
487
|
-
return g(o, 0,
|
|
487
|
+
return g(o, 0, Ge(a));
|
|
488
488
|
break;
|
|
489
489
|
}
|
|
490
490
|
}
|
|
@@ -496,7 +496,7 @@ function Os(e, t = {}) {
|
|
|
496
496
|
c,
|
|
497
497
|
13
|
|
498
498
|
/* TokenTypes.EOF */
|
|
499
|
-
) :
|
|
499
|
+
) : Xe(s, c);
|
|
500
500
|
}
|
|
501
501
|
return {
|
|
502
502
|
nextToken: Nt,
|
|
@@ -523,11 +523,11 @@ function Ss(e = {}) {
|
|
|
523
523
|
function s(i, d, N, p, ...L) {
|
|
524
524
|
const y = i.currentPosition();
|
|
525
525
|
if (y.offset += p, y.column += p, n) {
|
|
526
|
-
const v = t ? St(N, y) : null,
|
|
526
|
+
const v = t ? St(N, y) : null, x = mt(d, v, {
|
|
527
527
|
domain: Ls,
|
|
528
528
|
args: L
|
|
529
529
|
});
|
|
530
|
-
n(
|
|
530
|
+
n(x);
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
function l(i, d, N) {
|
|
@@ -604,19 +604,19 @@ function Ss(e = {}) {
|
|
|
604
604
|
L.items = [];
|
|
605
605
|
let y = null;
|
|
606
606
|
do {
|
|
607
|
-
const
|
|
608
|
-
switch (y = null,
|
|
607
|
+
const Z = y || i.nextToken();
|
|
608
|
+
switch (y = null, Z.type) {
|
|
609
609
|
case 0:
|
|
610
|
-
|
|
610
|
+
Z.value == null && s(i, W.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, fe(Z)), L.items.push(u(i, Z.value || ""));
|
|
611
611
|
break;
|
|
612
612
|
case 5:
|
|
613
|
-
|
|
613
|
+
Z.value == null && s(i, W.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, fe(Z)), L.items.push(m(i, Z.value || ""));
|
|
614
614
|
break;
|
|
615
615
|
case 4:
|
|
616
|
-
|
|
616
|
+
Z.value == null && s(i, W.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, fe(Z)), L.items.push(c(i, Z.value || ""));
|
|
617
617
|
break;
|
|
618
618
|
case 6:
|
|
619
|
-
|
|
619
|
+
Z.value == null && s(i, W.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, fe(Z)), L.items.push(f(i, Z.value || ""));
|
|
620
620
|
break;
|
|
621
621
|
case 7: {
|
|
622
622
|
const te = g(i);
|
|
@@ -625,8 +625,8 @@ function Ss(e = {}) {
|
|
|
625
625
|
}
|
|
626
626
|
}
|
|
627
627
|
} while (d.currentType !== 13 && d.currentType !== 1);
|
|
628
|
-
const v = d.currentType === 1 ? d.lastOffset : i.currentOffset(),
|
|
629
|
-
return r(L, v,
|
|
628
|
+
const v = d.currentType === 1 ? d.lastOffset : i.currentOffset(), x = d.currentType === 1 ? d.lastEndLoc : i.currentPosition();
|
|
629
|
+
return r(L, v, x), L;
|
|
630
630
|
}
|
|
631
631
|
function M(i, d, N, p) {
|
|
632
632
|
const L = i.context();
|
|
@@ -634,8 +634,8 @@ function Ss(e = {}) {
|
|
|
634
634
|
const v = l(1, d, N);
|
|
635
635
|
v.cases = [], v.cases.push(p);
|
|
636
636
|
do {
|
|
637
|
-
const
|
|
638
|
-
y || (y =
|
|
637
|
+
const x = k(i);
|
|
638
|
+
y || (y = x.items.length === 0), v.cases.push(x);
|
|
639
639
|
} while (L.currentType !== 13);
|
|
640
640
|
return y && s(i, W.MUST_HAVE_MESSAGES_IN_PLURAL, N, 0), r(v, i.currentOffset(), i.currentPosition()), v;
|
|
641
641
|
}
|
|
@@ -664,9 +664,9 @@ function As(e, t = {}) {
|
|
|
664
664
|
}
|
|
665
665
|
function rn(e, t) {
|
|
666
666
|
for (let n = 0; n < e.length; n++)
|
|
667
|
-
|
|
667
|
+
Zt(e[n], t);
|
|
668
668
|
}
|
|
669
|
-
function
|
|
669
|
+
function Zt(e, t) {
|
|
670
670
|
switch (e.type) {
|
|
671
671
|
case 1:
|
|
672
672
|
rn(e.cases, t), t.helper(
|
|
@@ -678,7 +678,7 @@ function xt(e, t) {
|
|
|
678
678
|
rn(e.items, t);
|
|
679
679
|
break;
|
|
680
680
|
case 6: {
|
|
681
|
-
|
|
681
|
+
Zt(e.key, t), t.helper(
|
|
682
682
|
"linked"
|
|
683
683
|
/* HelperNameMap.LINKED */
|
|
684
684
|
), t.helper(
|
|
@@ -712,7 +712,7 @@ function Ds(e, t = {}) {
|
|
|
712
712
|
n.helper(
|
|
713
713
|
"normalize"
|
|
714
714
|
/* HelperNameMap.NORMALIZE */
|
|
715
|
-
), e.body &&
|
|
715
|
+
), e.body && Zt(e.body, n);
|
|
716
716
|
const s = n.context();
|
|
717
717
|
e.helpers = Array.from(s.helpers);
|
|
718
718
|
}
|
|
@@ -741,24 +741,24 @@ function an(e) {
|
|
|
741
741
|
}
|
|
742
742
|
}
|
|
743
743
|
}
|
|
744
|
-
function
|
|
744
|
+
function Pe(e) {
|
|
745
745
|
switch (e.t = e.type, e.type) {
|
|
746
746
|
case 0: {
|
|
747
747
|
const t = e;
|
|
748
|
-
|
|
748
|
+
Pe(t.body), t.b = t.body, delete t.body;
|
|
749
749
|
break;
|
|
750
750
|
}
|
|
751
751
|
case 1: {
|
|
752
752
|
const t = e, n = t.cases;
|
|
753
753
|
for (let s = 0; s < n.length; s++)
|
|
754
|
-
|
|
754
|
+
Pe(n[s]);
|
|
755
755
|
t.c = n, delete t.cases;
|
|
756
756
|
break;
|
|
757
757
|
}
|
|
758
758
|
case 2: {
|
|
759
759
|
const t = e, n = t.items;
|
|
760
760
|
for (let s = 0; s < n.length; s++)
|
|
761
|
-
|
|
761
|
+
Pe(n[s]);
|
|
762
762
|
t.i = n, delete t.items, t.static && (t.s = t.static, delete t.static);
|
|
763
763
|
break;
|
|
764
764
|
}
|
|
@@ -772,7 +772,7 @@ function we(e) {
|
|
|
772
772
|
}
|
|
773
773
|
case 6: {
|
|
774
774
|
const t = e;
|
|
775
|
-
|
|
775
|
+
Pe(t.key), t.k = t.key, delete t.key, t.modifier && (Pe(t.modifier), t.m = t.modifier, delete t.modifier);
|
|
776
776
|
break;
|
|
777
777
|
}
|
|
778
778
|
case 5: {
|
|
@@ -835,7 +835,7 @@ function ws(e, t) {
|
|
|
835
835
|
e.push(`${n(
|
|
836
836
|
"linked"
|
|
837
837
|
/* HelperNameMap.LINKED */
|
|
838
|
-
)}(`),
|
|
838
|
+
)}(`), we(e, t.key), t.modifier ? (e.push(", "), we(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
|
|
839
839
|
}
|
|
840
840
|
function Fs(e, t) {
|
|
841
841
|
const { helper: n, needIndent: s } = e;
|
|
@@ -844,7 +844,7 @@ function Fs(e, t) {
|
|
|
844
844
|
/* HelperNameMap.NORMALIZE */
|
|
845
845
|
)}([`), e.indent(s());
|
|
846
846
|
const l = t.items.length;
|
|
847
|
-
for (let r = 0; r < l && (
|
|
847
|
+
for (let r = 0; r < l && (we(e, t.items[r]), r !== l - 1); r++)
|
|
848
848
|
e.push(", ");
|
|
849
849
|
e.deindent(s()), e.push("])");
|
|
850
850
|
}
|
|
@@ -856,19 +856,19 @@ function Vs(e, t) {
|
|
|
856
856
|
/* HelperNameMap.PLURAL */
|
|
857
857
|
)}([`), e.indent(s());
|
|
858
858
|
const l = t.cases.length;
|
|
859
|
-
for (let r = 0; r < l && (
|
|
859
|
+
for (let r = 0; r < l && (we(e, t.cases[r]), r !== l - 1); r++)
|
|
860
860
|
e.push(", ");
|
|
861
861
|
e.deindent(s()), e.push("])");
|
|
862
862
|
}
|
|
863
863
|
}
|
|
864
|
-
function
|
|
865
|
-
t.body ?
|
|
864
|
+
function Us(e, t) {
|
|
865
|
+
t.body ? we(e, t.body) : e.push("null");
|
|
866
866
|
}
|
|
867
|
-
function
|
|
867
|
+
function we(e, t) {
|
|
868
868
|
const { helper: n } = e;
|
|
869
869
|
switch (t.type) {
|
|
870
870
|
case 0:
|
|
871
|
-
|
|
871
|
+
Us(e, t);
|
|
872
872
|
break;
|
|
873
873
|
case 1:
|
|
874
874
|
Vs(e, t);
|
|
@@ -911,7 +911,7 @@ function Fe(e, t) {
|
|
|
911
911
|
break;
|
|
912
912
|
}
|
|
913
913
|
}
|
|
914
|
-
const
|
|
914
|
+
const Ws = (e, t = {}) => {
|
|
915
915
|
const n = R(t.mode) ? t.mode : "normal", s = R(t.filename) ? t.filename : "message.intl";
|
|
916
916
|
t.sourceMap;
|
|
917
917
|
const l = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
|
|
@@ -920,7 +920,7 @@ const Us = (e, t = {}) => {
|
|
|
920
920
|
breakLineCode: l,
|
|
921
921
|
needIndent: r
|
|
922
922
|
});
|
|
923
|
-
m.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), m.indent(r), u.length > 0 && (m.push(`const { ${Xt(u.map((b) => `${b}: _${b}`), ", ")} } = ctx`), m.newline()), m.push("return "),
|
|
923
|
+
m.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), m.indent(r), u.length > 0 && (m.push(`const { ${Xt(u.map((b) => `${b}: _${b}`), ", ")} } = ctx`), m.newline()), m.push("return "), we(m, e), m.deindent(r), m.push("}"), delete e.helpers;
|
|
924
924
|
const { code: c, map: f } = m.context();
|
|
925
925
|
return {
|
|
926
926
|
ast: e,
|
|
@@ -929,25 +929,25 @@ const Us = (e, t = {}) => {
|
|
|
929
929
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
930
930
|
};
|
|
931
931
|
};
|
|
932
|
-
function
|
|
932
|
+
function Gs(e, t = {}) {
|
|
933
933
|
const n = ee({}, t), s = !!n.jit, l = !!n.minify, r = n.optimize == null ? !0 : n.optimize, m = Ss(n).parse(e);
|
|
934
|
-
return s ? (r && Ms(m), l &&
|
|
934
|
+
return s ? (r && Ms(m), l && Pe(m), { ast: m, code: "" }) : (Ds(m, n), Ws(m, n));
|
|
935
935
|
}
|
|
936
|
-
var
|
|
936
|
+
var js = { env: { NODE_ENV: "production" } };
|
|
937
937
|
function Xs() {
|
|
938
938
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Le().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Le().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
939
939
|
}
|
|
940
940
|
function kt(e) {
|
|
941
|
-
return (n) =>
|
|
941
|
+
return (n) => Zs(n, e);
|
|
942
942
|
}
|
|
943
|
-
function
|
|
943
|
+
function Zs(e, t) {
|
|
944
944
|
const n = Ys(t);
|
|
945
945
|
if (n == null)
|
|
946
|
-
throw
|
|
946
|
+
throw Be(
|
|
947
947
|
0
|
|
948
948
|
/* NodeTypes.Resource */
|
|
949
949
|
);
|
|
950
|
-
if (
|
|
950
|
+
if (xt(n) === 1) {
|
|
951
951
|
const r = Bs(n);
|
|
952
952
|
return e.plural(r.reduce((u, m) => [
|
|
953
953
|
...u,
|
|
@@ -956,9 +956,9 @@ function xs(e, t) {
|
|
|
956
956
|
} else
|
|
957
957
|
return ln(e, n);
|
|
958
958
|
}
|
|
959
|
-
const
|
|
959
|
+
const xs = ["b", "body"];
|
|
960
960
|
function Ys(e) {
|
|
961
|
-
return ve(e,
|
|
961
|
+
return ve(e, xs);
|
|
962
962
|
}
|
|
963
963
|
const Hs = ["c", "cases"];
|
|
964
964
|
function Bs(e) {
|
|
@@ -969,7 +969,7 @@ function ln(e, t) {
|
|
|
969
969
|
if (n != null)
|
|
970
970
|
return e.type === "text" ? n : e.normalize([n]);
|
|
971
971
|
{
|
|
972
|
-
const s =
|
|
972
|
+
const s = Ks(t).reduce((l, r) => [...l, At(e, r)], []);
|
|
973
973
|
return e.normalize(s);
|
|
974
974
|
}
|
|
975
975
|
}
|
|
@@ -977,24 +977,24 @@ const Js = ["s", "static"];
|
|
|
977
977
|
function $s(e) {
|
|
978
978
|
return ve(e, Js);
|
|
979
979
|
}
|
|
980
|
-
const
|
|
981
|
-
function
|
|
982
|
-
return ve(e,
|
|
980
|
+
const zs = ["i", "items"];
|
|
981
|
+
function Ks(e) {
|
|
982
|
+
return ve(e, zs, []);
|
|
983
983
|
}
|
|
984
984
|
function At(e, t) {
|
|
985
|
-
const n =
|
|
985
|
+
const n = xt(t);
|
|
986
986
|
switch (n) {
|
|
987
987
|
case 3:
|
|
988
|
-
return
|
|
988
|
+
return tt(t, n);
|
|
989
989
|
case 9:
|
|
990
|
-
return
|
|
990
|
+
return tt(t, n);
|
|
991
991
|
case 4: {
|
|
992
992
|
const s = t;
|
|
993
993
|
if (de(s, "k") && s.k)
|
|
994
994
|
return e.interpolate(e.named(s.k));
|
|
995
995
|
if (de(s, "key") && s.key)
|
|
996
996
|
return e.interpolate(e.named(s.key));
|
|
997
|
-
throw
|
|
997
|
+
throw Be(n);
|
|
998
998
|
}
|
|
999
999
|
case 5: {
|
|
1000
1000
|
const s = t;
|
|
@@ -1002,30 +1002,30 @@ function At(e, t) {
|
|
|
1002
1002
|
return e.interpolate(e.list(s.i));
|
|
1003
1003
|
if (de(s, "index") && q(s.index))
|
|
1004
1004
|
return e.interpolate(e.list(s.index));
|
|
1005
|
-
throw
|
|
1005
|
+
throw Be(n);
|
|
1006
1006
|
}
|
|
1007
1007
|
case 6: {
|
|
1008
1008
|
const s = t, l = tr(s), r = sr(s);
|
|
1009
1009
|
return e.linked(At(e, r), l ? At(e, l) : void 0, e.type);
|
|
1010
1010
|
}
|
|
1011
1011
|
case 7:
|
|
1012
|
-
return
|
|
1012
|
+
return tt(t, n);
|
|
1013
1013
|
case 8:
|
|
1014
|
-
return
|
|
1014
|
+
return tt(t, n);
|
|
1015
1015
|
default:
|
|
1016
1016
|
throw new Error(`unhandled node on format message part: ${n}`);
|
|
1017
1017
|
}
|
|
1018
1018
|
}
|
|
1019
1019
|
const Qs = ["t", "type"];
|
|
1020
|
-
function
|
|
1020
|
+
function xt(e) {
|
|
1021
1021
|
return ve(e, Qs);
|
|
1022
1022
|
}
|
|
1023
1023
|
const qs = ["v", "value"];
|
|
1024
|
-
function
|
|
1024
|
+
function tt(e, t) {
|
|
1025
1025
|
const n = ve(e, qs);
|
|
1026
1026
|
if (n)
|
|
1027
1027
|
return n;
|
|
1028
|
-
throw
|
|
1028
|
+
throw Be(t);
|
|
1029
1029
|
}
|
|
1030
1030
|
const er = ["m", "modifier"];
|
|
1031
1031
|
function tr(e) {
|
|
@@ -1036,7 +1036,7 @@ function sr(e) {
|
|
|
1036
1036
|
const t = ve(e, nr);
|
|
1037
1037
|
if (t)
|
|
1038
1038
|
return t;
|
|
1039
|
-
throw
|
|
1039
|
+
throw Be(
|
|
1040
1040
|
6
|
|
1041
1041
|
/* NodeTypes.Linked */
|
|
1042
1042
|
);
|
|
@@ -1049,49 +1049,49 @@ function ve(e, t, n) {
|
|
|
1049
1049
|
}
|
|
1050
1050
|
return n;
|
|
1051
1051
|
}
|
|
1052
|
-
function
|
|
1052
|
+
function Be(e) {
|
|
1053
1053
|
return new Error(`unhandled node type: ${e}`);
|
|
1054
1054
|
}
|
|
1055
1055
|
const rr = (e) => e;
|
|
1056
|
-
let
|
|
1057
|
-
function
|
|
1058
|
-
return V(e) &&
|
|
1056
|
+
let nt = G();
|
|
1057
|
+
function Fe(e) {
|
|
1058
|
+
return V(e) && xt(e) === 0 && (de(e, "b") || de(e, "body"));
|
|
1059
1059
|
}
|
|
1060
1060
|
function ar(e, t = {}) {
|
|
1061
1061
|
let n = !1;
|
|
1062
1062
|
const s = t.onError || Es;
|
|
1063
1063
|
return t.onError = (l) => {
|
|
1064
1064
|
n = !0, s(l);
|
|
1065
|
-
}, { ...
|
|
1065
|
+
}, { ...Gs(e, t), detectError: n };
|
|
1066
1066
|
}
|
|
1067
1067
|
// @__NO_SIDE_EFFECTS__
|
|
1068
1068
|
function lr(e, t) {
|
|
1069
1069
|
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && R(e)) {
|
|
1070
|
-
|
|
1071
|
-
const s = (t.onCacheKey || rr)(e), l =
|
|
1070
|
+
K(t.warnHtmlMessage) && t.warnHtmlMessage;
|
|
1071
|
+
const s = (t.onCacheKey || rr)(e), l = nt[s];
|
|
1072
1072
|
if (l)
|
|
1073
1073
|
return l;
|
|
1074
1074
|
const { ast: r, detectError: u } = ar(e, {
|
|
1075
1075
|
...t,
|
|
1076
|
-
location:
|
|
1076
|
+
location: js.env.NODE_ENV !== "production",
|
|
1077
1077
|
jit: !0
|
|
1078
1078
|
}), m = kt(r);
|
|
1079
|
-
return u ? m :
|
|
1079
|
+
return u ? m : nt[s] = m;
|
|
1080
1080
|
} else {
|
|
1081
1081
|
const n = e.cacheKey;
|
|
1082
1082
|
if (n) {
|
|
1083
|
-
const s =
|
|
1084
|
-
return s || (
|
|
1083
|
+
const s = nt[n];
|
|
1084
|
+
return s || (nt[n] = kt(e));
|
|
1085
1085
|
} else
|
|
1086
1086
|
return kt(e);
|
|
1087
1087
|
}
|
|
1088
1088
|
}
|
|
1089
|
-
let
|
|
1089
|
+
let Je = null;
|
|
1090
1090
|
function or(e) {
|
|
1091
|
-
|
|
1091
|
+
Je = e;
|
|
1092
1092
|
}
|
|
1093
1093
|
function ir(e, t, n) {
|
|
1094
|
-
|
|
1094
|
+
Je && Je.emit("i18n:init", {
|
|
1095
1095
|
timestamp: Date.now(),
|
|
1096
1096
|
i18n: e,
|
|
1097
1097
|
version: t,
|
|
@@ -1100,7 +1100,7 @@ function ir(e, t, n) {
|
|
|
1100
1100
|
}
|
|
1101
1101
|
const cr = /* @__PURE__ */ ur("function:translate");
|
|
1102
1102
|
function ur(e) {
|
|
1103
|
-
return (t) =>
|
|
1103
|
+
return (t) => Je && Je.emit(e, t);
|
|
1104
1104
|
}
|
|
1105
1105
|
const he = {
|
|
1106
1106
|
INVALID_ARGUMENT: gs,
|
|
@@ -1112,7 +1112,7 @@ const he = {
|
|
|
1112
1112
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
1113
1113
|
}, mr = 24;
|
|
1114
1114
|
function ge(e) {
|
|
1115
|
-
return
|
|
1115
|
+
return mt(e, null, void 0);
|
|
1116
1116
|
}
|
|
1117
1117
|
function Yt(e, t) {
|
|
1118
1118
|
return t.locale != null ? on(t.locale) : on(e.locale);
|
|
@@ -1121,7 +1121,7 @@ let yt;
|
|
|
1121
1121
|
function on(e) {
|
|
1122
1122
|
if (R(e))
|
|
1123
1123
|
return e;
|
|
1124
|
-
if (
|
|
1124
|
+
if (Y(e)) {
|
|
1125
1125
|
if (e.resolvedOnce && yt != null)
|
|
1126
1126
|
return yt;
|
|
1127
1127
|
if (e.constructor.name === "Function") {
|
|
@@ -1141,7 +1141,7 @@ function dr(e, t, n) {
|
|
|
1141
1141
|
])];
|
|
1142
1142
|
}
|
|
1143
1143
|
function An(e, t, n) {
|
|
1144
|
-
const s = R(n) ? n :
|
|
1144
|
+
const s = R(n) ? n : it, l = e;
|
|
1145
1145
|
l.__localeChainCache || (l.__localeChainCache = /* @__PURE__ */ new Map());
|
|
1146
1146
|
let r = l.__localeChainCache.get(s);
|
|
1147
1147
|
if (!r) {
|
|
@@ -1156,7 +1156,7 @@ function An(e, t, n) {
|
|
|
1156
1156
|
}
|
|
1157
1157
|
function cn(e, t, n) {
|
|
1158
1158
|
let s = !0;
|
|
1159
|
-
for (let l = 0; l < t.length &&
|
|
1159
|
+
for (let l = 0; l < t.length && K(s); l++) {
|
|
1160
1160
|
const r = t[l];
|
|
1161
1161
|
R(r) && (s = _r(e, t[l], n));
|
|
1162
1162
|
}
|
|
@@ -1448,13 +1448,13 @@ function Nr(e, t) {
|
|
|
1448
1448
|
let l = e, r = 0;
|
|
1449
1449
|
for (; r < s; ) {
|
|
1450
1450
|
const u = l[n[r]];
|
|
1451
|
-
if (u === void 0 ||
|
|
1451
|
+
if (u === void 0 || Y(l))
|
|
1452
1452
|
return null;
|
|
1453
1453
|
l = u, r++;
|
|
1454
1454
|
}
|
|
1455
1455
|
return l;
|
|
1456
1456
|
}
|
|
1457
|
-
const Tr = "10.0.5",
|
|
1457
|
+
const Tr = "10.0.5", dt = -1, it = "en-US", mn = "", dn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1458
1458
|
function kr() {
|
|
1459
1459
|
return {
|
|
1460
1460
|
upper: (e, t) => t === "text" && R(e) ? e.toUpperCase() : t === "vnode" && V(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
@@ -1484,7 +1484,7 @@ const _n = (e) => {
|
|
|
1484
1484
|
}, Sr = () => Fn;
|
|
1485
1485
|
let fn = 0;
|
|
1486
1486
|
function Ar(e = {}) {
|
|
1487
|
-
const t =
|
|
1487
|
+
const t = Y(e.onWarn) ? e.onWarn : bs, n = R(e.version) ? e.version : Tr, s = R(e.locale) || Y(e.locale) ? e.locale : it, l = Y(s) ? it : s, r = Q(e.fallbackLocale) || F(e.fallbackLocale) || R(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, u = F(e.messages) ? e.messages : Ot(l), m = F(e.datetimeFormats) ? e.datetimeFormats : Ot(l), c = F(e.numberFormats) ? e.numberFormats : Ot(l), f = ee(G(), e.modifiers, kr()), b = e.pluralRules || G(), E = Y(e.missing) ? e.missing : null, g = K(e.missingWarn) || ot(e.missingWarn) ? e.missingWarn : !0, k = K(e.fallbackWarn) || ot(e.fallbackWarn) ? e.fallbackWarn : !0, M = !!e.fallbackFormat, T = !!e.unresolving, O = Y(e.postTranslation) ? e.postTranslation : null, i = F(e.processor) ? e.processor : null, d = K(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, N = !!e.escapeParameter, p = Y(e.messageCompiler) ? e.messageCompiler : Dn, L = Y(e.messageResolver) ? e.messageResolver : Mn || vr, y = Y(e.localeFallbacker) ? e.localeFallbacker : Pn || dr, v = V(e.fallbackContext) ? e.fallbackContext : void 0, x = e, Z = V(x.__datetimeFormatters) ? x.__datetimeFormatters : /* @__PURE__ */ new Map(), te = V(x.__numberFormatters) ? x.__numberFormatters : /* @__PURE__ */ new Map(), oe = V(x.__meta) ? x.__meta : {};
|
|
1488
1488
|
fn++;
|
|
1489
1489
|
const C = {
|
|
1490
1490
|
version: n,
|
|
@@ -1510,9 +1510,9 @@ function Ar(e = {}) {
|
|
|
1510
1510
|
onWarn: t,
|
|
1511
1511
|
__meta: oe
|
|
1512
1512
|
};
|
|
1513
|
-
return C.datetimeFormats = m, C.numberFormats = c, C.__datetimeFormatters =
|
|
1513
|
+
return C.datetimeFormats = m, C.numberFormats = c, C.__datetimeFormatters = Z, C.__numberFormatters = te, __INTLIFY_PROD_DEVTOOLS__ && ir(C, n, oe), C;
|
|
1514
1514
|
}
|
|
1515
|
-
const Ot = (e) => ({ [e]:
|
|
1515
|
+
const Ot = (e) => ({ [e]: G() });
|
|
1516
1516
|
function Ht(e, t, n, s, l) {
|
|
1517
1517
|
const { missing: r, onWarn: u } = e;
|
|
1518
1518
|
if (r !== null) {
|
|
@@ -1521,7 +1521,7 @@ function Ht(e, t, n, s, l) {
|
|
|
1521
1521
|
} else
|
|
1522
1522
|
return t;
|
|
1523
1523
|
}
|
|
1524
|
-
function
|
|
1524
|
+
function Ze(e, t, n) {
|
|
1525
1525
|
const s = e;
|
|
1526
1526
|
s.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
|
|
1527
1527
|
}
|
|
@@ -1538,8 +1538,8 @@ function Mr(e, t) {
|
|
|
1538
1538
|
return !1;
|
|
1539
1539
|
}
|
|
1540
1540
|
function pn(e, ...t) {
|
|
1541
|
-
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: r, localeFallbacker: u } = e, { __datetimeFormatters: m } = e, [c, f, b, E] = Dt(...t), g =
|
|
1542
|
-
|
|
1541
|
+
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: r, localeFallbacker: u } = e, { __datetimeFormatters: m } = e, [c, f, b, E] = Dt(...t), g = K(b.missingWarn) ? b.missingWarn : e.missingWarn;
|
|
1542
|
+
K(b.fallbackWarn) ? b.fallbackWarn : e.fallbackWarn;
|
|
1543
1543
|
const k = !!b.part, M = Yt(e, b), T = u(
|
|
1544
1544
|
e,
|
|
1545
1545
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
@@ -1553,9 +1553,9 @@ function pn(e, ...t) {
|
|
|
1553
1553
|
for (let y = 0; y < T.length && (i = T[y], O = n[i] || {}, d = O[c], !F(d)); y++)
|
|
1554
1554
|
Ht(e, c, i, g, N);
|
|
1555
1555
|
if (!F(d) || !R(i))
|
|
1556
|
-
return s ?
|
|
1556
|
+
return s ? dt : c;
|
|
1557
1557
|
let p = `${i}__${c}`;
|
|
1558
|
-
|
|
1558
|
+
ut(E) || (p = `${p}__${JSON.stringify(E)}`);
|
|
1559
1559
|
let L = m.get(p);
|
|
1560
1560
|
return L || (L = new Intl.DateTimeFormat(i, ee({}, d, E)), m.set(p, L)), k ? L.formatToParts(f) : L.format(f);
|
|
1561
1561
|
}
|
|
@@ -1582,8 +1582,8 @@ const Vn = [
|
|
|
1582
1582
|
"fractionalSecondDigits"
|
|
1583
1583
|
];
|
|
1584
1584
|
function Dt(...e) {
|
|
1585
|
-
const [t, n, s, l] = e, r =
|
|
1586
|
-
let u =
|
|
1585
|
+
const [t, n, s, l] = e, r = G();
|
|
1586
|
+
let u = G(), m;
|
|
1587
1587
|
if (R(t)) {
|
|
1588
1588
|
const c = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
1589
1589
|
if (!c)
|
|
@@ -1615,8 +1615,8 @@ function bn(e, t, n) {
|
|
|
1615
1615
|
}
|
|
1616
1616
|
}
|
|
1617
1617
|
function hn(e, ...t) {
|
|
1618
|
-
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: r, localeFallbacker: u } = e, { __numberFormatters: m } = e, [c, f, b, E] = Mt(...t), g =
|
|
1619
|
-
|
|
1618
|
+
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: r, localeFallbacker: u } = e, { __numberFormatters: m } = e, [c, f, b, E] = Mt(...t), g = K(b.missingWarn) ? b.missingWarn : e.missingWarn;
|
|
1619
|
+
K(b.fallbackWarn) ? b.fallbackWarn : e.fallbackWarn;
|
|
1620
1620
|
const k = !!b.part, M = Yt(e, b), T = u(
|
|
1621
1621
|
e,
|
|
1622
1622
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
@@ -1630,13 +1630,13 @@ function hn(e, ...t) {
|
|
|
1630
1630
|
for (let y = 0; y < T.length && (i = T[y], O = n[i] || {}, d = O[c], !F(d)); y++)
|
|
1631
1631
|
Ht(e, c, i, g, N);
|
|
1632
1632
|
if (!F(d) || !R(i))
|
|
1633
|
-
return s ?
|
|
1633
|
+
return s ? dt : c;
|
|
1634
1634
|
let p = `${i}__${c}`;
|
|
1635
|
-
|
|
1635
|
+
ut(E) || (p = `${p}__${JSON.stringify(E)}`);
|
|
1636
1636
|
let L = m.get(p);
|
|
1637
1637
|
return L || (L = new Intl.NumberFormat(i, ee({}, d, E)), m.set(p, L)), k ? L.formatToParts(f) : L.format(f);
|
|
1638
1638
|
}
|
|
1639
|
-
const
|
|
1639
|
+
const Un = [
|
|
1640
1640
|
"localeMatcher",
|
|
1641
1641
|
"style",
|
|
1642
1642
|
"currency",
|
|
@@ -1659,13 +1659,13 @@ const Wn = [
|
|
|
1659
1659
|
"trailingZeroDisplay"
|
|
1660
1660
|
];
|
|
1661
1661
|
function Mt(...e) {
|
|
1662
|
-
const [t, n, s, l] = e, r =
|
|
1663
|
-
let u =
|
|
1662
|
+
const [t, n, s, l] = e, r = G();
|
|
1663
|
+
let u = G();
|
|
1664
1664
|
if (!q(t))
|
|
1665
1665
|
throw ge(he.INVALID_ARGUMENT);
|
|
1666
1666
|
const m = t;
|
|
1667
1667
|
return R(n) ? r.key = n : F(n) && Object.keys(n).forEach((c) => {
|
|
1668
|
-
|
|
1668
|
+
Un.includes(c) ? u[c] = n[c] : r[c] = n[c];
|
|
1669
1669
|
}), R(s) ? r.locale = s : F(s) && (u = s), F(l) && (u = l), [r.key || "", m, r, u];
|
|
1670
1670
|
}
|
|
1671
1671
|
function gn(e, t, n) {
|
|
@@ -1675,26 +1675,26 @@ function gn(e, t, n) {
|
|
|
1675
1675
|
s.__numberFormatters.has(r) && s.__numberFormatters.delete(r);
|
|
1676
1676
|
}
|
|
1677
1677
|
}
|
|
1678
|
-
const Pr = (e) => e, wr = (e) => "", Fr = "text", Vr = (e) => e.length === 0 ? "" : Xt(e),
|
|
1678
|
+
const Pr = (e) => e, wr = (e) => "", Fr = "text", Vr = (e) => e.length === 0 ? "" : Xt(e), Ur = ps;
|
|
1679
1679
|
function En(e, t) {
|
|
1680
1680
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1681
1681
|
}
|
|
1682
|
-
function
|
|
1682
|
+
function Wr(e) {
|
|
1683
1683
|
const t = q(e.pluralIndex) ? e.pluralIndex : -1;
|
|
1684
1684
|
return e.named && (q(e.named.count) || q(e.named.n)) ? q(e.named.count) ? e.named.count : q(e.named.n) ? e.named.n : t : t;
|
|
1685
1685
|
}
|
|
1686
|
-
function
|
|
1686
|
+
function Gr(e, t) {
|
|
1687
1687
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1688
1688
|
}
|
|
1689
|
-
function
|
|
1690
|
-
const t = e.locale, n =
|
|
1691
|
-
q(e.pluralIndex) &&
|
|
1689
|
+
function jr(e = {}) {
|
|
1690
|
+
const t = e.locale, n = Wr(e), s = V(e.pluralRules) && R(t) && Y(e.pluralRules[t]) ? e.pluralRules[t] : En, l = V(e.pluralRules) && R(t) && Y(e.pluralRules[t]) ? En : void 0, r = (i) => i[s(n, i.length, l)], u = e.list || [], m = (i) => u[i], c = e.named || G();
|
|
1691
|
+
q(e.pluralIndex) && Gr(n, c);
|
|
1692
1692
|
const f = (i) => c[i];
|
|
1693
1693
|
function b(i, d) {
|
|
1694
|
-
const N =
|
|
1694
|
+
const N = Y(e.messages) ? e.messages(i, !!d) : V(e.messages) ? e.messages[i] : !1;
|
|
1695
1695
|
return N || (e.parent ? e.parent.message(i) : wr);
|
|
1696
1696
|
}
|
|
1697
|
-
const E = (i) => e.modifiers ? e.modifiers[i] : Pr, g = F(e.processor) &&
|
|
1697
|
+
const E = (i) => e.modifiers ? e.modifiers[i] : Pr, g = F(e.processor) && Y(e.processor.normalize) ? e.processor.normalize : Vr, k = F(e.processor) && Y(e.processor.interpolate) ? e.processor.interpolate : Ur, M = F(e.processor) && R(e.processor.type) ? e.processor.type : Fr, O = {
|
|
1698
1698
|
list: m,
|
|
1699
1699
|
named: f,
|
|
1700
1700
|
plural: r,
|
|
@@ -1702,38 +1702,38 @@ function Gr(e = {}) {
|
|
|
1702
1702
|
const [N, p] = d;
|
|
1703
1703
|
let L = "text", y = "";
|
|
1704
1704
|
d.length === 1 ? V(N) ? (y = N.modifier || y, L = N.type || L) : R(N) && (y = N || y) : d.length === 2 && (R(N) && (y = N || y), R(p) && (L = p || L));
|
|
1705
|
-
const v = b(i, !0)(O),
|
|
1705
|
+
const v = b(i, !0)(O), x = (
|
|
1706
1706
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1707
1707
|
L === "vnode" && Q(v) && y ? v[0] : v
|
|
1708
1708
|
);
|
|
1709
|
-
return y ? E(y)(
|
|
1709
|
+
return y ? E(y)(x, L) : x;
|
|
1710
1710
|
},
|
|
1711
1711
|
message: b,
|
|
1712
1712
|
type: M,
|
|
1713
1713
|
interpolate: k,
|
|
1714
1714
|
normalize: g,
|
|
1715
|
-
values: ee(
|
|
1715
|
+
values: ee(G(), u, c)
|
|
1716
1716
|
};
|
|
1717
1717
|
return O;
|
|
1718
1718
|
}
|
|
1719
|
-
const In = () => "", ue = (e) =>
|
|
1719
|
+
const In = () => "", ue = (e) => Y(e);
|
|
1720
1720
|
function vn(e, ...t) {
|
|
1721
|
-
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: r, fallbackLocale: u, messages: m } = e, [c, f] = Pt(...t), b =
|
|
1721
|
+
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: r, fallbackLocale: u, messages: m } = e, [c, f] = Pt(...t), b = K(f.missingWarn) ? f.missingWarn : e.missingWarn, E = K(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, g = K(f.escapeParameter) ? f.escapeParameter : e.escapeParameter, k = !!f.resolvedMessage, M = R(f.default) || K(f.default) ? K(f.default) ? r ? c : () => c : f.default : n ? r ? c : () => c : null, T = n || M != null && (R(M) || Y(M)), O = Yt(e, f);
|
|
1722
1722
|
g && Xr(f);
|
|
1723
1723
|
let [i, d, N] = k ? [
|
|
1724
1724
|
c,
|
|
1725
1725
|
O,
|
|
1726
|
-
m[O] ||
|
|
1727
|
-
] :
|
|
1728
|
-
if (!k && !(R(p) ||
|
|
1729
|
-
return l ?
|
|
1726
|
+
m[O] || G()
|
|
1727
|
+
] : Wn(e, c, O, u, E, b), p = i, L = c;
|
|
1728
|
+
if (!k && !(R(p) || Fe(p) || ue(p)) && T && (p = M, L = p), !k && (!(R(p) || Fe(p) || ue(p)) || !R(d)))
|
|
1729
|
+
return l ? dt : c;
|
|
1730
1730
|
let y = !1;
|
|
1731
1731
|
const v = () => {
|
|
1732
1732
|
y = !0;
|
|
1733
|
-
},
|
|
1733
|
+
}, x = ue(p) ? p : Gn(e, c, d, p, L, v);
|
|
1734
1734
|
if (y)
|
|
1735
1735
|
return p;
|
|
1736
|
-
const
|
|
1736
|
+
const Z = Yr(e, d, N, f), te = jr(Z), oe = Zr(e, x, te), C = s ? s(oe, c) : oe;
|
|
1737
1737
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1738
1738
|
const S = {
|
|
1739
1739
|
timestamp: Date.now(),
|
|
@@ -1751,11 +1751,11 @@ function Xr(e) {
|
|
|
1751
1751
|
R(e.named[t]) && (e.named[t] = nn(e.named[t]));
|
|
1752
1752
|
});
|
|
1753
1753
|
}
|
|
1754
|
-
function
|
|
1754
|
+
function Wn(e, t, n, s, l, r) {
|
|
1755
1755
|
const { messages: u, onWarn: m, messageResolver: c, localeFallbacker: f } = e, b = f(e, s, n);
|
|
1756
|
-
let E =
|
|
1756
|
+
let E = G(), g, k = null;
|
|
1757
1757
|
const M = "translate";
|
|
1758
|
-
for (let T = 0; T < b.length && (g = b[T], E = u[g] ||
|
|
1758
|
+
for (let T = 0; T < b.length && (g = b[T], E = u[g] || G(), (k = c(E, t)) === null && (k = E[t]), !(R(k) || Fe(k) || ue(k))); T++)
|
|
1759
1759
|
if (!Mr(g, b)) {
|
|
1760
1760
|
const O = Ht(
|
|
1761
1761
|
e,
|
|
@@ -1769,7 +1769,7 @@ function Un(e, t, n, s, l, r) {
|
|
|
1769
1769
|
}
|
|
1770
1770
|
return [k, g, E];
|
|
1771
1771
|
}
|
|
1772
|
-
function
|
|
1772
|
+
function Gn(e, t, n, s, l, r) {
|
|
1773
1773
|
const { messageCompiler: u, warnHtmlMessage: m } = e;
|
|
1774
1774
|
if (ue(s)) {
|
|
1775
1775
|
const f = s;
|
|
@@ -1779,20 +1779,20 @@ function jn(e, t, n, s, l, r) {
|
|
|
1779
1779
|
const f = () => s;
|
|
1780
1780
|
return f.locale = n, f.key = t, f;
|
|
1781
1781
|
}
|
|
1782
|
-
const c = u(s,
|
|
1782
|
+
const c = u(s, xr(e, n, l, s, m, r));
|
|
1783
1783
|
return c.locale = n, c.key = t, c.source = s, c;
|
|
1784
1784
|
}
|
|
1785
|
-
function
|
|
1785
|
+
function Zr(e, t, n) {
|
|
1786
1786
|
return t(n);
|
|
1787
1787
|
}
|
|
1788
1788
|
function Pt(...e) {
|
|
1789
|
-
const [t, n, s] = e, l =
|
|
1790
|
-
if (!R(t) && !q(t) && !ue(t) && !
|
|
1789
|
+
const [t, n, s] = e, l = G();
|
|
1790
|
+
if (!R(t) && !q(t) && !ue(t) && !Fe(t))
|
|
1791
1791
|
throw ge(he.INVALID_ARGUMENT);
|
|
1792
1792
|
const r = q(t) ? String(t) : (ue(t), t);
|
|
1793
|
-
return q(n) ? l.plural = n : R(n) ? l.default = n : F(n) && !
|
|
1793
|
+
return q(n) ? l.plural = n : R(n) ? l.default = n : F(n) && !ut(n) ? l.named = n : Q(n) && (l.list = n), q(s) ? l.plural = s : R(s) ? l.default = s : F(s) && ee(l, s), [r, l];
|
|
1794
1794
|
}
|
|
1795
|
-
function
|
|
1795
|
+
function xr(e, t, n, s, l, r) {
|
|
1796
1796
|
return {
|
|
1797
1797
|
locale: t,
|
|
1798
1798
|
key: n,
|
|
@@ -1811,7 +1811,7 @@ function Yr(e, t, n, s) {
|
|
|
1811
1811
|
messages: (k, M) => {
|
|
1812
1812
|
let T = u(n, k);
|
|
1813
1813
|
if (T == null && (b || M)) {
|
|
1814
|
-
const [, , O] =
|
|
1814
|
+
const [, , O] = Wn(
|
|
1815
1815
|
b || e,
|
|
1816
1816
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1817
1817
|
k,
|
|
@@ -1822,9 +1822,9 @@ function Yr(e, t, n, s) {
|
|
|
1822
1822
|
);
|
|
1823
1823
|
T = u(O, k);
|
|
1824
1824
|
}
|
|
1825
|
-
if (R(T) ||
|
|
1825
|
+
if (R(T) || Fe(T)) {
|
|
1826
1826
|
let O = !1;
|
|
1827
|
-
const d =
|
|
1827
|
+
const d = Gn(e, k, t, T, k, () => {
|
|
1828
1828
|
O = !0;
|
|
1829
1829
|
});
|
|
1830
1830
|
return O ? In : d;
|
|
@@ -1834,12 +1834,12 @@ function Yr(e, t, n, s) {
|
|
|
1834
1834
|
return e.processor && (g.processor = e.processor), s.list && (g.list = s.list), s.named && (g.named = s.named), q(s.plural) && (g.pluralIndex = s.plural), g;
|
|
1835
1835
|
}
|
|
1836
1836
|
Xs();
|
|
1837
|
-
var Hr = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_ad84cfb6-251f-4702-be94-a6b66bde1d60", npm_package_devDependencies__types_node: "^18.17.17", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^1.2.0", USER: "runner", npm_config_always_auth: "", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v24.5.0 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", npm_package_devDependencies_vue_i18n: "10.0.5", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_ad84cfb6-251f-4702-be94-a6b66bde1d60", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.2.0", npm_node_execpath: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_files_0: "dist", npm_package_devDependencies_eslint_import_resolver_typescript: "^4.4.4", HOME: "/home/runner", npm_package_devDependencies__eslint_js: "^9.39.2", npm_package_devDependencies__typescript_eslint_parser: "^8.52.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_devDependencies_eslint_config_prettier: "^10.1.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.4.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "^1.29.10", npm_package_devDependencies_code_inspector_plugin: "^0.20.16", npm_package_devDependencies_npm_run_all2: "^6.0.6", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1891", ACTIONS_ORCHESTRATION_ID: "3424703b-0e68-4609-ac67-db61ecea35ea.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.7.0", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.9.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.6", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260309.50.1", npm_package_scripts_dev: "vite", npm_package_devDependencies_prettier: "^3.7.4", npm_package_devDependencies_sass_embedded: "^1.93.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_devDependencies__vue_tsconfig: "^0.4.0", npm_package_devDependencies_eslint_plugin_import: "^2.32.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:14978", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^8.52.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.8/x64", GITHUB_RUN_ID: "23292641427", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "d305628db29d0fec1cd3e1f0a88acb7e67e569a0", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/KDI-3967-role-based-permission-set", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9LREktMzk2Ny1yb2xlLWJhc2VkLXBlcm1pc3Npb24tc2V0XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzczOTQxNzc3LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3NzM5MTk1NzcsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiIwZGJlN2Q4Ni04ZDc4LTU0ZWYtOTIzZS1kYjkxZWJhNTkwZjYiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3NzM5MTkyNzcsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwianVuLWxlZS1mZWVkbWVcIixcImFjdG9yX2lkXCI6XCIyMzkyODI4NjJcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiNjc3MzE5MDAzMjRcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcImYwOTg2ZThlOGRmZjQ1YmQ1N2M0NjYzNWJiZDYyMjc1ZmExOWU3MzFcIixcInJlZlwiOlwicmVmcy9oZWFkcy9LREktMzk2Ny1yb2xlLWJhc2VkLXBlcm1pc3Npb24tc2V0XCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjIzMjkyNjQxNDI3XCIsXCJydW5fbnVtYmVyXCI6XCIxNlwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcImQzMDU2MjhkYjI5ZDBmZWMxY2QzZTFmMGE4OGFjYjdlNjdlNTY5YTBcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL0tESS0zOTY3LXJvbGUtYmFzZWQtcGVybWlzc2lvbi1zZXRcIixcIndvcmtmbG93X3NoYVwiOlwiZDMwNTYyOGRiMjlkMGZlYzFjZDNlMWYwYTg4YWNiN2U2N2U1NjlhMFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvaHJtLXNlcnZpY2U6cmVmOnJlZnMvaGVhZHMvS0RJLTM5Njctcm9sZS1iYXNlZC1wZXJtaXNzaW9uLXNldCIsIm9yY2hfaWQiOiIzNDI0NzAzYi0wZTY4LTQ2MDktYWM2Ny1kYjYxZWNlYTM1ZWEucHVibGlzaC5wdWJsaXNoLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6IjM0MjQ3MDNiLTBlNjgtNDYwOS1hYzY3LWRiNjFlY2VhMzVlYSIsInJlcG9zaXRvcnlfaWQiOiIxMTI0NjcyMjM1IiwicnVuX2lkIjoiMjMyOTI2NDE0MjciLCJydW5fbnVtYmVyIjoiMTYiLCJydW5fdHlwZSI6ImZ1bGwiLCJydW5uZXJfaWQiOiIxMDAwMDU0NDQ1IiwicnVubmVyX3R5cGUiOiJob3N0ZWQiLCJzY3AiOiJBY3Rpb25zLlJlc3VsdHM6MzQyNDcwM2ItMGU2OC00NjA5LWFjNjctZGI2MWVjZWEzNWVhOjBkYmU3ZDg2LThkNzgtNTRlZi05MjNlLWRiOTFlYmE1OTBmNiBBY3Rpb25zLlJ1bm5lcjozNDI0NzAzYi0wZTY4LTQ2MDktYWM2Ny1kYjYxZWNlYTM1ZWE6MGRiZTdkODYtOGQ3OC01NGVmLTkyM2UtZGI5MWViYTU5MGY2IEFjdGlvbnMuVXBsb2FkQXJ0aWZhY3RzOjM0MjQ3MDNiLTBlNjgtNDYwOS1hYzY3LWRiNjFlY2VhMzVlYTowZGJlN2Q4Ni04ZDc4LTU0ZWYtOTIzZS1kYjkxZWJhNTkwZjYgZ2VuZXJhdGVfaWRfdG9rZW46MzQyNDcwM2ItMGU2OC00NjA5LWFjNjctZGI2MWVjZWEzNWVhOjBkYmU3ZDg2LThkNzgtNTRlZi05MjNlLWRiOTFlYmE1OTBmNiBBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInNoYSI6ImQzMDU2MjhkYjI5ZDBmZWMxY2QzZTFmMGE4OGFjYjdlNjdlNTY5YTAiLCJ0cnVzdF90aWVyIjoiMSJ9.ModjIKzH3iuxb5Rcd-yMgW0CkhvXRWfONekPqMIzyuuclNv-QaFbUxZ9NXTlAy24HI1oFgAKH7psIATLAvxuR5iMnz131adl1K5COVotd8KVKZR13T8b5vpmvbtVsyiyS5EEdXk7Uo_0nPU-FO5S_Eg8kx1SuWECiT4MatvjrA_jpxxZ-A_aiOX47Q5xNosgjDsBZxZwNJ_qZJOvAtjAc6zYCpjVQRwwLGsBWC6lF-DoZnprhnow33TJh__yCVT3c5GaSzRzHcBFR33Qz1IrsTQ_tBOGP4ATUFEOwSudRSO9YR3WqeLPmm779o_XLjEqslYrs1GiMAoy1ScjhG3eeg", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.7", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/24.5.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_68dd7f3c-ac8c-4a65-a95c-3f888e512752", INVOCATION_ID: "7d92587bed464022a15bd41b72a9eefb", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", npm_package_name: "@feedmepos/mf-hrm-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "16", GITHUB_TRIGGERING_ACTOR: "jun-lee-feedme", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag latest --no-git-checks", npm_package_scripts_publish_npm_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag beta --no-git-checks", npm_package_scripts_publish_github: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks", npm_package_scripts_publish_github_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks", npm_config_frozen_lockfile: "", npm_package_devDependencies__vitest_ui: "^1.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies_eslint: "^9.39.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000054445", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "KDI-3967-role-based-permission-set", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", npm_package_dependencies__feedmepos_core: "^2.14.36", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__casl_ability: "^3.4.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^4.0.0", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "1124672235", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/bin/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "1.1.3-dev.2", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_hrm_permission: "workspace:^", npm_package_devDependencies__rushstack_eslint_patch: "^1.3.3", npm_package_devDependencies_eslint_plugin_unused_imports: "^4.3.0", npm_package_devDependencies_jsdom: "^24.0.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "d305628db29d0fec1cd3e1f0a88acb7e67e569a0", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/KDI-3967-role-based-permission-set", GITHUB_ACTOR: "jun-lee-feedme", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_devDependencies_globals: "^16.5.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_ad84cfb6-251f-4702-be94-a6b66bde1d60", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "239282862", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-2-azure-eastus.actions.githubusercontent.com/91//idtoken/3424703b-0e68-4609-ac67-db61ecea35ea/0dbe7d86-8d78-54ef-923e-db91eba590f6?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_ad84cfb6-251f-4702-be94-a6b66bde1d60", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.33.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_ad84cfb6-251f-4702-be94-a6b66bde1d60", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1837
|
+
var Hr = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_9824c500-dc70-421e-b03b-ba7c4f14b70e", npm_package_devDependencies__types_node: "^18.17.17", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^1.2.0", USER: "runner", npm_config_always_auth: "", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v24.5.0 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", npm_package_devDependencies_vue_i18n: "10.0.5", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_9824c500-dc70-421e-b03b-ba7c4f14b70e", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.2.0", npm_node_execpath: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_files_0: "dist", npm_package_devDependencies_eslint_import_resolver_typescript: "^4.4.4", HOME: "/home/runner", npm_package_devDependencies__eslint_js: "^9.39.2", npm_package_devDependencies__typescript_eslint_parser: "^8.52.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_devDependencies_eslint_config_prettier: "^10.1.8", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.4.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "^1.29.10", npm_package_devDependencies_code_inspector_plugin: "^0.20.16", npm_package_devDependencies_npm_run_all2: "^6.0.6", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1886", ACTIONS_ORCHESTRATION_ID: "e6e19efd-1cad-4233-a81d-433affdccbc6.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.7.0", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.9.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.6", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260309.50.1", npm_package_scripts_dev: "vite", npm_package_devDependencies_prettier: "^3.7.4", npm_package_devDependencies_sass_embedded: "^1.93.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_devDependencies__vue_tsconfig: "^0.4.0", npm_package_devDependencies_eslint_plugin_import: "^2.32.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:12980", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^8.52.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.8/x64", GITHUB_RUN_ID: "23478746584", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "ba6a4561214878a343cac6337b74608089796d4a", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/KDI-3967-role-based-permission-set", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9LREktMzk2Ny1yb2xlLWJhc2VkLXBlcm1pc3Npb24tc2V0XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzc0MzYwODQxLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3NzQzMzg2NDEsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiJlY2FhNTM1ZC04YjJjLTU5ODctOTY5ZC01NDVjZGYxZjA0ZDciLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3NzQzMzgzNDEsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwianVuLWxlZS1mZWVkbWVcIixcImFjdG9yX2lkXCI6XCIyMzkyODI4NjJcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiNjgzMTcxMzE0OTNcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjhhZGUxNGM0ZGYwNGVmMTRmMzQwZTI2YjdlOGI2ZjhjYTNlYmUxOTFcIixcInJlZlwiOlwicmVmcy9oZWFkcy9LREktMzk2Ny1yb2xlLWJhc2VkLXBlcm1pc3Npb24tc2V0XCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjIzNDc4NzQ2NTg0XCIsXCJydW5fbnVtYmVyXCI6XCIxOFwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcImJhNmE0NTYxMjE0ODc4YTM0M2NhYzYzMzdiNzQ2MDgwODk3OTZkNGFcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL0tESS0zOTY3LXJvbGUtYmFzZWQtcGVybWlzc2lvbi1zZXRcIixcIndvcmtmbG93X3NoYVwiOlwiYmE2YTQ1NjEyMTQ4NzhhMzQzY2FjNjMzN2I3NDYwODA4OTc5NmQ0YVwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvaHJtLXNlcnZpY2U6cmVmOnJlZnMvaGVhZHMvS0RJLTM5Njctcm9sZS1iYXNlZC1wZXJtaXNzaW9uLXNldCIsIm9yY2hfaWQiOiJlNmUxOWVmZC0xY2FkLTQyMzMtYTgxZC00MzNhZmZkY2NiYzYucHVibGlzaC5wdWJsaXNoLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6ImU2ZTE5ZWZkLTFjYWQtNDIzMy1hODFkLTQzM2FmZmRjY2JjNiIsInJlcG9zaXRvcnlfaWQiOiIxMTI0NjcyMjM1IiwicnVuX2lkIjoiMjM0Nzg3NDY1ODQiLCJydW5fbnVtYmVyIjoiMTgiLCJydW5fdHlwZSI6ImZ1bGwiLCJydW5uZXJfaWQiOiIxMDAwMDU0Nzg1IiwicnVubmVyX3R5cGUiOiJob3N0ZWQiLCJzY3AiOiJBY3Rpb25zLlJlc3VsdHM6ZTZlMTllZmQtMWNhZC00MjMzLWE4MWQtNDMzYWZmZGNjYmM2OmVjYWE1MzVkLThiMmMtNTk4Ny05NjlkLTU0NWNkZjFmMDRkNyBBY3Rpb25zLlJ1bm5lcjplNmUxOWVmZC0xY2FkLTQyMzMtYTgxZC00MzNhZmZkY2NiYzY6ZWNhYTUzNWQtOGIyYy01OTg3LTk2OWQtNTQ1Y2RmMWYwNGQ3IEFjdGlvbnMuVXBsb2FkQXJ0aWZhY3RzOmU2ZTE5ZWZkLTFjYWQtNDIzMy1hODFkLTQzM2FmZmRjY2JjNjplY2FhNTM1ZC04YjJjLTU5ODctOTY5ZC01NDVjZGYxZjA0ZDcgZ2VuZXJhdGVfaWRfdG9rZW46ZTZlMTllZmQtMWNhZC00MjMzLWE4MWQtNDMzYWZmZGNjYmM2OmVjYWE1MzVkLThiMmMtNTk4Ny05NjlkLTU0NWNkZjFmMDRkNyBBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInNoYSI6ImJhNmE0NTYxMjE0ODc4YTM0M2NhYzYzMzdiNzQ2MDgwODk3OTZkNGEiLCJ0cnVzdF90aWVyIjoiMSJ9.NRTYD9f2IDtlBzVqzBF0EQICTWb9fgh0gsIzxgr-BWlzj-E8yBVbmaD-6COnIq31qZZHvBYVgIXG65NSlU4JfzztKNHsmTMdUpGqI_7LlylMr2UMJXjqMgA5QiYTkuGRWYF6KYrc45o-1te_77TdIXil4dj0ocmvFnIIXn_XYvubifmVQQGCCW6GaYe2DfMtYdv-7qe9Pejt-FyXC_xGp54hR6dxTRAcP8DstAzZK4vl4-RXzIgFdGUruh1lKaIGbDCJB4COCezOIQbXcbfGO5anbIIkcYpzDoRVme2PTX05tDk_HO5rWfqq94nYgJ7IImOc_KvYZLI72bcTxcZonA", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.7", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/24.5.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_e63dbb93-9f48-49aa-8763-e0e67ae20262", INVOCATION_ID: "aa5249241b2243659c6ffd180b22fd46", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", npm_package_name: "@feedmepos/mf-hrm-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "18", GITHUB_TRIGGERING_ACTOR: "jun-lee-feedme", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag latest --no-git-checks", npm_package_scripts_publish_npm_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag beta --no-git-checks", npm_package_scripts_publish_github: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks", npm_package_scripts_publish_github_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks", npm_config_frozen_lockfile: "", npm_package_devDependencies__vitest_ui: "^1.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies_eslint: "^9.39.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000054785", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "KDI-3967-role-based-permission-set", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", npm_package_dependencies__feedmepos_core: "^2.14.36", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__casl_ability: "^3.4.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^4.0.0", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "1124672235", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/bin/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "1.1.3-dev.4", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_hrm_permission: "workspace:^", npm_package_devDependencies__rushstack_eslint_patch: "^1.3.3", npm_package_devDependencies_eslint_plugin_unused_imports: "^4.3.0", npm_package_devDependencies_jsdom: "^24.0.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "ba6a4561214878a343cac6337b74608089796d4a", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/KDI-3967-role-based-permission-set", GITHUB_ACTOR: "jun-lee-feedme", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_devDependencies_globals: "^16.5.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_9824c500-dc70-421e-b03b-ba7c4f14b70e", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "239282862", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-2-azure-eastus.actions.githubusercontent.com/123//idtoken/e6e19efd-1cad-4233-a81d-433affdccbc6/ecaa535d-8b2c-5987-969d-545cdf1f04d7?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_9824c500-dc70-421e-b03b-ba7c4f14b70e", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.33.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_9824c500-dc70-421e-b03b-ba7c4f14b70e", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1838
1838
|
const Br = "10.0.5";
|
|
1839
1839
|
function Jr() {
|
|
1840
1840
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Le().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Le().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Le().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Le().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
1841
1841
|
}
|
|
1842
|
-
const
|
|
1842
|
+
const Ve = {
|
|
1843
1843
|
// composer module errors
|
|
1844
1844
|
UNEXPECTED_RETURN_TYPE: mr,
|
|
1845
1845
|
// 24
|
|
@@ -1852,49 +1852,49 @@ const We = {
|
|
|
1852
1852
|
// unexpected error
|
|
1853
1853
|
UNEXPECTED_ERROR: 32
|
|
1854
1854
|
};
|
|
1855
|
-
function
|
|
1856
|
-
return
|
|
1855
|
+
function $e(e, ...t) {
|
|
1856
|
+
return mt(e, null, void 0);
|
|
1857
1857
|
}
|
|
1858
|
-
const wt = /* @__PURE__ */ Se("__translateVNode"), Ft = /* @__PURE__ */ Se("__datetimeParts"), Vt = /* @__PURE__ */ Se("__numberParts"), $r = Se("__setPluralRules"),
|
|
1859
|
-
function
|
|
1858
|
+
const wt = /* @__PURE__ */ Se("__translateVNode"), Ft = /* @__PURE__ */ Se("__datetimeParts"), Vt = /* @__PURE__ */ Se("__numberParts"), $r = Se("__setPluralRules"), jn = /* @__PURE__ */ Se("__injectWithOption"), Ut = /* @__PURE__ */ Se("__dispose");
|
|
1859
|
+
function ze(e) {
|
|
1860
1860
|
if (!V(e))
|
|
1861
1861
|
return e;
|
|
1862
1862
|
for (const t in e)
|
|
1863
1863
|
if (de(e, t))
|
|
1864
1864
|
if (!t.includes("."))
|
|
1865
|
-
V(e[t]) &&
|
|
1865
|
+
V(e[t]) && ze(e[t]);
|
|
1866
1866
|
else {
|
|
1867
1867
|
const n = t.split("."), s = n.length - 1;
|
|
1868
1868
|
let l = e, r = !1;
|
|
1869
1869
|
for (let u = 0; u < s; u++) {
|
|
1870
|
-
if (n[u] in l || (l[n[u]] =
|
|
1870
|
+
if (n[u] in l || (l[n[u]] = G()), !V(l[n[u]])) {
|
|
1871
1871
|
r = !0;
|
|
1872
1872
|
break;
|
|
1873
1873
|
}
|
|
1874
1874
|
l = l[n[u]];
|
|
1875
1875
|
}
|
|
1876
|
-
r || (l[n[s]] = e[t], delete e[t]), V(l[n[s]]) &&
|
|
1876
|
+
r || (l[n[s]] = e[t], delete e[t]), V(l[n[s]]) && ze(l[n[s]]);
|
|
1877
1877
|
}
|
|
1878
1878
|
return e;
|
|
1879
1879
|
}
|
|
1880
1880
|
function Xn(e, t) {
|
|
1881
|
-
const { messages: n, __i18n: s, messageResolver: l, flatJson: r } = t, u = F(n) ? n : Q(s) ?
|
|
1881
|
+
const { messages: n, __i18n: s, messageResolver: l, flatJson: r } = t, u = F(n) ? n : Q(s) ? G() : { [e]: G() };
|
|
1882
1882
|
if (Q(s) && s.forEach((m) => {
|
|
1883
1883
|
if ("locale" in m && "resource" in m) {
|
|
1884
1884
|
const { locale: c, resource: f } = m;
|
|
1885
|
-
c ? (u[c] = u[c] ||
|
|
1885
|
+
c ? (u[c] = u[c] || G(), at(f, u[c])) : at(f, u);
|
|
1886
1886
|
} else
|
|
1887
|
-
R(m) &&
|
|
1887
|
+
R(m) && at(JSON.parse(m), u);
|
|
1888
1888
|
}), l == null && r)
|
|
1889
1889
|
for (const m in u)
|
|
1890
|
-
de(u, m) &&
|
|
1890
|
+
de(u, m) && ze(u[m]);
|
|
1891
1891
|
return u;
|
|
1892
1892
|
}
|
|
1893
|
-
function
|
|
1893
|
+
function Zn(e) {
|
|
1894
1894
|
return e.type;
|
|
1895
1895
|
}
|
|
1896
|
-
function
|
|
1897
|
-
let s = V(t.messages) ? t.messages :
|
|
1896
|
+
function zr(e, t, n) {
|
|
1897
|
+
let s = V(t.messages) ? t.messages : G();
|
|
1898
1898
|
"__i18nGlobal" in n && (s = Xn(e.locale.value, {
|
|
1899
1899
|
messages: s,
|
|
1900
1900
|
__i18n: n.__i18nGlobal
|
|
@@ -1921,27 +1921,27 @@ function Kr(e, t, n) {
|
|
|
1921
1921
|
function Nn(e) {
|
|
1922
1922
|
return ie($n, null, e, 0);
|
|
1923
1923
|
}
|
|
1924
|
-
const Tn = "__INTLIFY_META__", kn = () => [],
|
|
1924
|
+
const Tn = "__INTLIFY_META__", kn = () => [], Kr = () => !1;
|
|
1925
1925
|
let yn = 0;
|
|
1926
1926
|
function On(e) {
|
|
1927
|
-
return (t, n, s, l) => e(n, s,
|
|
1927
|
+
return (t, n, s, l) => e(n, s, Wt() || void 0, l);
|
|
1928
1928
|
}
|
|
1929
1929
|
const Qr = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
1930
|
-
const e =
|
|
1930
|
+
const e = Wt();
|
|
1931
1931
|
let t = null;
|
|
1932
|
-
return e && (t =
|
|
1932
|
+
return e && (t = Zn(e)[Tn]) ? { [Tn]: t } : null;
|
|
1933
1933
|
};
|
|
1934
1934
|
function qr(e = {}) {
|
|
1935
1935
|
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, r = en ? Re : Jn;
|
|
1936
|
-
let u =
|
|
1936
|
+
let u = K(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1937
1937
|
const m = r(
|
|
1938
1938
|
// prettier-ignore
|
|
1939
|
-
t && u ? t.locale.value : R(e.locale) ? e.locale :
|
|
1939
|
+
t && u ? t.locale.value : R(e.locale) ? e.locale : it
|
|
1940
1940
|
), c = r(
|
|
1941
1941
|
// prettier-ignore
|
|
1942
1942
|
t && u ? t.fallbackLocale.value : R(e.fallbackLocale) || Q(e.fallbackLocale) || F(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : m.value
|
|
1943
1943
|
), f = r(Xn(m.value, e)), b = r(F(e.datetimeFormats) ? e.datetimeFormats : { [m.value]: {} }), E = r(F(e.numberFormats) ? e.numberFormats : { [m.value]: {} });
|
|
1944
|
-
let g = t ? t.missingWarn :
|
|
1944
|
+
let g = t ? t.missingWarn : K(e.missingWarn) || ot(e.missingWarn) ? e.missingWarn : !0, k = t ? t.fallbackWarn : K(e.fallbackWarn) || ot(e.fallbackWarn) ? e.fallbackWarn : !0, M = t ? t.fallbackRoot : K(e.fallbackRoot) ? e.fallbackRoot : !0, T = !!e.fallbackFormat, O = Y(e.missing) ? e.missing : null, i = Y(e.missing) ? On(e.missing) : null, d = Y(e.postTranslation) ? e.postTranslation : null, N = t ? t.warnHtmlMessage : K(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, p = !!e.escapeParameter;
|
|
1945
1945
|
const L = t ? t.modifiers : F(e.modifiers) ? e.modifiers : {};
|
|
1946
1946
|
let y = e.pluralRules || t && t.pluralRules, v;
|
|
1947
1947
|
v = (() => {
|
|
@@ -1968,8 +1968,8 @@ function qr(e = {}) {
|
|
|
1968
1968
|
_.datetimeFormats = b.value, _.numberFormats = E.value, _.__datetimeFormatters = F(v) ? v.__datetimeFormatters : void 0, _.__numberFormatters = F(v) ? v.__numberFormatters : void 0;
|
|
1969
1969
|
const I = Ar(_);
|
|
1970
1970
|
return s && _n(I), I;
|
|
1971
|
-
})(),
|
|
1972
|
-
function
|
|
1971
|
+
})(), Ze(v, m.value, c.value);
|
|
1972
|
+
function Z() {
|
|
1973
1973
|
return [
|
|
1974
1974
|
m.value,
|
|
1975
1975
|
c.value,
|
|
@@ -1986,56 +1986,56 @@ function qr(e = {}) {
|
|
|
1986
1986
|
}), oe = X({
|
|
1987
1987
|
get: () => c.value,
|
|
1988
1988
|
set: (_) => {
|
|
1989
|
-
c.value = _, v.fallbackLocale = c.value,
|
|
1989
|
+
c.value = _, v.fallbackLocale = c.value, Ze(v, m.value, _);
|
|
1990
1990
|
}
|
|
1991
1991
|
}), C = X(() => f.value), S = /* @__PURE__ */ X(() => b.value), D = /* @__PURE__ */ X(() => E.value);
|
|
1992
|
-
function
|
|
1993
|
-
return
|
|
1992
|
+
function H() {
|
|
1993
|
+
return Y(d) ? d : null;
|
|
1994
1994
|
}
|
|
1995
|
-
function
|
|
1995
|
+
function B(_) {
|
|
1996
1996
|
d = _, v.postTranslation = _;
|
|
1997
1997
|
}
|
|
1998
1998
|
function w() {
|
|
1999
1999
|
return O;
|
|
2000
2000
|
}
|
|
2001
|
-
function
|
|
2001
|
+
function ne(_) {
|
|
2002
2002
|
_ !== null && (i = On(_)), O = _, v.missing = i;
|
|
2003
2003
|
}
|
|
2004
|
-
const
|
|
2005
|
-
|
|
2006
|
-
let
|
|
2004
|
+
const U = (_, I, j, $, ke, Qe) => {
|
|
2005
|
+
Z();
|
|
2006
|
+
let Me;
|
|
2007
2007
|
try {
|
|
2008
|
-
Hr.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (v.fallbackContext = t ? Sr() : void 0),
|
|
2008
|
+
Hr.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (v.fallbackContext = t ? Sr() : void 0), Me = _(v);
|
|
2009
2009
|
} finally {
|
|
2010
2010
|
__INTLIFY_PROD_DEVTOOLS__, s || (v.fallbackContext = void 0);
|
|
2011
2011
|
}
|
|
2012
2012
|
if (j !== "translate exists" && // for not `te` (e.g `t`)
|
|
2013
|
-
q(
|
|
2013
|
+
q(Me) && Me === dt || j === "translate exists" && !Me) {
|
|
2014
2014
|
const [Hn, Sa] = I();
|
|
2015
2015
|
return t && M ? $(t) : ke(Hn);
|
|
2016
2016
|
} else {
|
|
2017
|
-
if (
|
|
2018
|
-
return
|
|
2019
|
-
throw
|
|
2017
|
+
if (Qe(Me))
|
|
2018
|
+
return Me;
|
|
2019
|
+
throw $e(Ve.UNEXPECTED_RETURN_TYPE);
|
|
2020
2020
|
}
|
|
2021
2021
|
};
|
|
2022
2022
|
function Te(..._) {
|
|
2023
|
-
return
|
|
2023
|
+
return U((I) => Reflect.apply(vn, null, [I, ..._]), () => Pt(..._), "translate", (I) => Reflect.apply(I.t, I, [..._]), (I) => I, (I) => R(I));
|
|
2024
2024
|
}
|
|
2025
|
-
function
|
|
2025
|
+
function We(..._) {
|
|
2026
2026
|
const [I, j, $] = _;
|
|
2027
2027
|
if ($ && !V($))
|
|
2028
|
-
throw
|
|
2028
|
+
throw $e(Ve.INVALID_ARGUMENT);
|
|
2029
2029
|
return Te(I, j, ee({ resolvedMessage: !0 }, $ || {}));
|
|
2030
2030
|
}
|
|
2031
|
-
function
|
|
2032
|
-
return
|
|
2031
|
+
function Ge(..._) {
|
|
2032
|
+
return U((I) => Reflect.apply(pn, null, [I, ..._]), () => Dt(..._), "datetime format", (I) => Reflect.apply(I.d, I, [..._]), () => mn, (I) => R(I));
|
|
2033
2033
|
}
|
|
2034
2034
|
function ft(..._) {
|
|
2035
|
-
return
|
|
2035
|
+
return U((I) => Reflect.apply(hn, null, [I, ..._]), () => Mt(..._), "number format", (I) => Reflect.apply(I.n, I, [..._]), () => mn, (I) => R(I));
|
|
2036
2036
|
}
|
|
2037
2037
|
function pt(_) {
|
|
2038
|
-
return _.map((I) => R(I) || q(I) ||
|
|
2038
|
+
return _.map((I) => R(I) || q(I) || K(I) ? Nn(String(I)) : I);
|
|
2039
2039
|
}
|
|
2040
2040
|
const bt = {
|
|
2041
2041
|
normalize: pt,
|
|
@@ -2043,7 +2043,7 @@ function qr(e = {}) {
|
|
|
2043
2043
|
type: "vnode"
|
|
2044
2044
|
};
|
|
2045
2045
|
function ht(..._) {
|
|
2046
|
-
return
|
|
2046
|
+
return U((I) => {
|
|
2047
2047
|
let j;
|
|
2048
2048
|
const $ = I;
|
|
2049
2049
|
try {
|
|
@@ -2055,29 +2055,29 @@ function qr(e = {}) {
|
|
|
2055
2055
|
}, () => Pt(..._), "translate", (I) => I[wt](..._), (I) => [Nn(I)], (I) => Q(I));
|
|
2056
2056
|
}
|
|
2057
2057
|
function Ke(..._) {
|
|
2058
|
-
return
|
|
2058
|
+
return U((I) => Reflect.apply(hn, null, [I, ..._]), () => Mt(..._), "number format", (I) => I[Vt](..._), kn, (I) => R(I) || Q(I));
|
|
2059
2059
|
}
|
|
2060
2060
|
function gt(..._) {
|
|
2061
|
-
return
|
|
2061
|
+
return U((I) => Reflect.apply(pn, null, [I, ..._]), () => Dt(..._), "datetime format", (I) => I[Ft](..._), kn, (I) => R(I) || Q(I));
|
|
2062
2062
|
}
|
|
2063
2063
|
function Et(_) {
|
|
2064
2064
|
y = _, v.pluralRules = y;
|
|
2065
2065
|
}
|
|
2066
2066
|
function It(_, I) {
|
|
2067
|
-
return
|
|
2067
|
+
return U(() => {
|
|
2068
2068
|
if (!_)
|
|
2069
2069
|
return !1;
|
|
2070
|
-
const j = R(I) ? I : m.value, $ =
|
|
2071
|
-
return
|
|
2072
|
-
}, () => [_], "translate exists", (j) => Reflect.apply(j.te, j, [_, I]),
|
|
2070
|
+
const j = R(I) ? I : m.value, $ = Ae(j), ke = v.messageResolver($, _);
|
|
2071
|
+
return Fe(ke) || ue(ke) || R(ke);
|
|
2072
|
+
}, () => [_], "translate exists", (j) => Reflect.apply(j.te, j, [_, I]), Kr, (j) => K(j));
|
|
2073
2073
|
}
|
|
2074
2074
|
function vt(_) {
|
|
2075
2075
|
let I = null;
|
|
2076
2076
|
const j = An(v, c.value, m.value);
|
|
2077
2077
|
for (let $ = 0; $ < j.length; $++) {
|
|
2078
|
-
const ke = f.value[j[$]] || {},
|
|
2079
|
-
if (
|
|
2080
|
-
I =
|
|
2078
|
+
const ke = f.value[j[$]] || {}, Qe = v.messageResolver(ke, _);
|
|
2079
|
+
if (Qe != null) {
|
|
2080
|
+
I = Qe;
|
|
2081
2081
|
break;
|
|
2082
2082
|
}
|
|
2083
2083
|
}
|
|
@@ -2087,25 +2087,25 @@ function qr(e = {}) {
|
|
|
2087
2087
|
const I = vt(_);
|
|
2088
2088
|
return I ?? (t ? t.tm(_) || {} : {});
|
|
2089
2089
|
}
|
|
2090
|
-
function
|
|
2090
|
+
function Ae(_) {
|
|
2091
2091
|
return f.value[_] || {};
|
|
2092
2092
|
}
|
|
2093
|
-
function
|
|
2093
|
+
function De(_, I) {
|
|
2094
2094
|
if (l) {
|
|
2095
2095
|
const j = { [_]: I };
|
|
2096
2096
|
for (const $ in j)
|
|
2097
|
-
de(j, $) &&
|
|
2097
|
+
de(j, $) && ze(j[$]);
|
|
2098
2098
|
I = j[_];
|
|
2099
2099
|
}
|
|
2100
2100
|
f.value[_] = I, v.messages = f.value;
|
|
2101
2101
|
}
|
|
2102
|
-
function
|
|
2102
|
+
function Xe(_, I) {
|
|
2103
2103
|
f.value[_] = f.value[_] || {};
|
|
2104
2104
|
const j = { [_]: I };
|
|
2105
2105
|
if (l)
|
|
2106
2106
|
for (const $ in j)
|
|
2107
|
-
de(j, $) &&
|
|
2108
|
-
I = j[_],
|
|
2107
|
+
de(j, $) && ze(j[$]);
|
|
2108
|
+
I = j[_], at(I, f.value[_]), v.messages = f.value;
|
|
2109
2109
|
}
|
|
2110
2110
|
function Nt(_) {
|
|
2111
2111
|
return b.value[_] || {};
|
|
@@ -2126,9 +2126,9 @@ function qr(e = {}) {
|
|
|
2126
2126
|
E.value[_] = ee(E.value[_] || {}, I), v.numberFormats = E.value, gn(v, _, I);
|
|
2127
2127
|
}
|
|
2128
2128
|
yn++, t && en && (Ct(t.locale, (_) => {
|
|
2129
|
-
u && (m.value = _, v.locale = _,
|
|
2129
|
+
u && (m.value = _, v.locale = _, Ze(v, m.value, c.value));
|
|
2130
2130
|
}), Ct(t.fallbackLocale, (_) => {
|
|
2131
|
-
u && (c.value = _, v.fallbackLocale = _,
|
|
2131
|
+
u && (c.value = _, v.fallbackLocale = _, Ze(v, m.value, c.value));
|
|
2132
2132
|
}));
|
|
2133
2133
|
const P = {
|
|
2134
2134
|
id: yn,
|
|
@@ -2138,7 +2138,7 @@ function qr(e = {}) {
|
|
|
2138
2138
|
return u;
|
|
2139
2139
|
},
|
|
2140
2140
|
set inheritLocale(_) {
|
|
2141
|
-
u = _, _ && t && (m.value = t.locale.value, c.value = t.fallbackLocale.value,
|
|
2141
|
+
u = _, _ && t && (m.value = t.locale.value, c.value = t.fallbackLocale.value, Ze(v, m.value, c.value));
|
|
2142
2142
|
},
|
|
2143
2143
|
get availableLocales() {
|
|
2144
2144
|
return Object.keys(f.value).sort();
|
|
@@ -2190,16 +2190,16 @@ function qr(e = {}) {
|
|
|
2190
2190
|
p = _, v.escapeParameter = _;
|
|
2191
2191
|
},
|
|
2192
2192
|
t: Te,
|
|
2193
|
-
getLocaleMessage:
|
|
2194
|
-
setLocaleMessage:
|
|
2195
|
-
mergeLocaleMessage:
|
|
2196
|
-
getPostTranslationHandler:
|
|
2197
|
-
setPostTranslationHandler:
|
|
2193
|
+
getLocaleMessage: Ae,
|
|
2194
|
+
setLocaleMessage: De,
|
|
2195
|
+
mergeLocaleMessage: Xe,
|
|
2196
|
+
getPostTranslationHandler: H,
|
|
2197
|
+
setPostTranslationHandler: B,
|
|
2198
2198
|
getMissingHandler: w,
|
|
2199
|
-
setMissingHandler:
|
|
2199
|
+
setMissingHandler: ne,
|
|
2200
2200
|
[$r]: Et
|
|
2201
2201
|
};
|
|
2202
|
-
return P.datetimeFormats = S, P.numberFormats = D, P.rt =
|
|
2202
|
+
return P.datetimeFormats = S, P.numberFormats = D, P.rt = We, P.te = It, P.tm = je, P.d = Ge, P.n = ft, P.getDateTimeFormat = Nt, P.setDateTimeFormat = a, P.mergeDateTimeFormat = o, P.getNumberFormat = h, P.setNumberFormat = A, P.mergeNumberFormat = J, P[jn] = n, P[wt] = ht, P[Ft] = gt, P[Vt] = Ke, P;
|
|
2203
2203
|
}
|
|
2204
2204
|
const Bt = {
|
|
2205
2205
|
tag: {
|
|
@@ -2227,9 +2227,9 @@ function ea({ slots: e }, t) {
|
|
|
2227
2227
|
], []) : t.reduce((n, s) => {
|
|
2228
2228
|
const l = e[s];
|
|
2229
2229
|
return l && (n[s] = l()), n;
|
|
2230
|
-
},
|
|
2230
|
+
}, G());
|
|
2231
2231
|
}
|
|
2232
|
-
function
|
|
2232
|
+
function xn() {
|
|
2233
2233
|
return Ue;
|
|
2234
2234
|
}
|
|
2235
2235
|
ee({
|
|
@@ -2249,15 +2249,15 @@ function Yn(e, t, n, s) {
|
|
|
2249
2249
|
const { slots: l, attrs: r } = t;
|
|
2250
2250
|
return () => {
|
|
2251
2251
|
const u = { part: !0 };
|
|
2252
|
-
let m =
|
|
2253
|
-
e.locale && (u.locale = e.locale), R(e.format) ? u.key = e.format : V(e.format) && (R(e.format.key) && (u.key = e.format.key), m = Object.keys(e.format).reduce((g, k) => n.includes(k) ? ee(
|
|
2252
|
+
let m = G();
|
|
2253
|
+
e.locale && (u.locale = e.locale), R(e.format) ? u.key = e.format : V(e.format) && (R(e.format.key) && (u.key = e.format.key), m = Object.keys(e.format).reduce((g, k) => n.includes(k) ? ee(G(), g, { [k]: e.format[k] }) : g, G()));
|
|
2254
2254
|
const c = s(e.value, u, m);
|
|
2255
2255
|
let f = [u.key];
|
|
2256
2256
|
Q(c) ? f = c.map((g, k) => {
|
|
2257
2257
|
const M = l[g.type], T = M ? M({ [g.type]: g.value, index: k, parts: c }) : [g.value];
|
|
2258
2258
|
return ta(T) && (T[0].key = `${g.type}-${k}`), T;
|
|
2259
2259
|
}) : R(c) && (f = [c]);
|
|
2260
|
-
const b = ee(
|
|
2260
|
+
const b = ee(G(), r), E = R(e.tag) || V(e.tag) ? e.tag : xn();
|
|
2261
2261
|
return Cn(E, b, f);
|
|
2262
2262
|
};
|
|
2263
2263
|
}
|
|
@@ -2280,15 +2280,15 @@ ee({
|
|
|
2280
2280
|
}
|
|
2281
2281
|
}, Bt);
|
|
2282
2282
|
const na = /* @__PURE__ */ Se("global-vue-i18n");
|
|
2283
|
-
function
|
|
2284
|
-
const t =
|
|
2283
|
+
function _t(e = {}) {
|
|
2284
|
+
const t = Wt();
|
|
2285
2285
|
if (t == null)
|
|
2286
|
-
throw
|
|
2286
|
+
throw $e(Ve.MUST_BE_CALL_SETUP_TOP);
|
|
2287
2287
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
2288
|
-
throw
|
|
2289
|
-
const n = sa(t), s = aa(n), l =
|
|
2288
|
+
throw $e(Ve.NOT_INSTALLED);
|
|
2289
|
+
const n = sa(t), s = aa(n), l = Zn(t), r = ra(e, l);
|
|
2290
2290
|
if (r === "global")
|
|
2291
|
-
return
|
|
2291
|
+
return zr(s, e, l), s;
|
|
2292
2292
|
if (r === "parent") {
|
|
2293
2293
|
let c = la(n, t, e.__useComponent);
|
|
2294
2294
|
return c == null && (c = s), c;
|
|
@@ -2297,18 +2297,18 @@ function dt(e = {}) {
|
|
|
2297
2297
|
let m = u.__getInstance(t);
|
|
2298
2298
|
if (m == null) {
|
|
2299
2299
|
const c = ee({}, e);
|
|
2300
|
-
"__i18n" in l && (c.__i18n = l.__i18n), s && (c.__root = s), m = qr(c), u.__composerExtend && (m[
|
|
2300
|
+
"__i18n" in l && (c.__i18n = l.__i18n), s && (c.__root = s), m = qr(c), u.__composerExtend && (m[Ut] = u.__composerExtend(m)), ia(u, t, m), u.__setInstance(t, m);
|
|
2301
2301
|
}
|
|
2302
2302
|
return m;
|
|
2303
2303
|
}
|
|
2304
2304
|
function sa(e) {
|
|
2305
2305
|
const t = Bn(e.isCE ? na : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
2306
2306
|
if (!t)
|
|
2307
|
-
throw
|
|
2307
|
+
throw $e(e.isCE ? Ve.NOT_INSTALLED_WITH_PROVIDE : Ve.UNEXPECTED_ERROR);
|
|
2308
2308
|
return t;
|
|
2309
2309
|
}
|
|
2310
2310
|
function ra(e, t) {
|
|
2311
|
-
return
|
|
2311
|
+
return ut(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
|
|
2312
2312
|
}
|
|
2313
2313
|
function aa(e) {
|
|
2314
2314
|
return e.mode === "composition" ? e.global : e.global.__composer;
|
|
@@ -2323,7 +2323,7 @@ function la(e, t, n = !1) {
|
|
|
2323
2323
|
s = u.__getInstance(r);
|
|
2324
2324
|
else if (__VUE_I18N_LEGACY_API__) {
|
|
2325
2325
|
const m = u.__getInstance(r);
|
|
2326
|
-
m != null && (s = m.__composer, n && s && !s[
|
|
2326
|
+
m != null && (s = m.__composer, n && s && !s[jn] && (s = null));
|
|
2327
2327
|
}
|
|
2328
2328
|
if (s != null || l === r)
|
|
2329
2329
|
break;
|
|
@@ -2335,12 +2335,12 @@ function oa(e, t = !1) {
|
|
|
2335
2335
|
return e == null ? null : t && e.vnode.ctx || e.parent;
|
|
2336
2336
|
}
|
|
2337
2337
|
function ia(e, t, n) {
|
|
2338
|
-
|
|
2338
|
+
Gt(() => {
|
|
2339
2339
|
}, t), Rn(() => {
|
|
2340
2340
|
const s = n;
|
|
2341
2341
|
e.__deleteInstance(t);
|
|
2342
|
-
const l = s[
|
|
2343
|
-
l && (l(), delete s[
|
|
2342
|
+
const l = s[Ut];
|
|
2343
|
+
l && (l(), delete s[Ut]);
|
|
2344
2344
|
}, t);
|
|
2345
2345
|
}
|
|
2346
2346
|
Jr();
|
|
@@ -2351,7 +2351,7 @@ if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
|
2351
2351
|
const e = Le();
|
|
2352
2352
|
e.__INTLIFY__ = !0, or(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
2353
2353
|
}
|
|
2354
|
-
const
|
|
2354
|
+
const st = /* @__PURE__ */ _e({
|
|
2355
2355
|
__name: "InheritPermissionTooltip",
|
|
2356
2356
|
props: {
|
|
2357
2357
|
item: {
|
|
@@ -2360,18 +2360,18 @@ const nt = /* @__PURE__ */ _e({
|
|
|
2360
2360
|
}
|
|
2361
2361
|
},
|
|
2362
2362
|
setup(e) {
|
|
2363
|
-
const { t } =
|
|
2363
|
+
const { t } = _t();
|
|
2364
2364
|
return (n, s) => {
|
|
2365
|
-
const l =
|
|
2366
|
-
return
|
|
2365
|
+
const l = Ye("FmIcon"), r = Ye("FmTooltip");
|
|
2366
|
+
return z(), Ce(r, {
|
|
2367
2367
|
variant: "plain",
|
|
2368
2368
|
placement: "right",
|
|
2369
2369
|
"z-index": 50
|
|
2370
2370
|
}, {
|
|
2371
2371
|
content: ce(() => [
|
|
2372
|
-
|
|
2373
|
-
(
|
|
2374
|
-
|
|
2372
|
+
ae("div", null, He(Ee(t)("team.memberForm.permissions.inherited")), 1),
|
|
2373
|
+
(z(!0), le(Ue, null, pe(e.item.setNames, (u) => (z(), le("div", { key: u }, [
|
|
2374
|
+
ae("div", null, "- " + He(u), 1)
|
|
2375
2375
|
]))), 128))
|
|
2376
2376
|
]),
|
|
2377
2377
|
default: ce(() => [
|
|
@@ -2409,17 +2409,17 @@ const nt = /* @__PURE__ */ _e({
|
|
|
2409
2409
|
},
|
|
2410
2410
|
setup(e) {
|
|
2411
2411
|
const t = e;
|
|
2412
|
-
return (n, s) => (
|
|
2412
|
+
return (n, s) => (z(), le("div", ca, [
|
|
2413
2413
|
me(n.$slots, "top", {}, () => [
|
|
2414
|
-
t.title ? (
|
|
2415
|
-
|
|
2416
|
-
t.required ? (
|
|
2417
|
-
|
|
2414
|
+
t.title ? (z(), le("div", ua, [
|
|
2415
|
+
ae("div", null, [
|
|
2416
|
+
t.required ? (z(), le("span", ma, "*")) : ye("", !0),
|
|
2417
|
+
zn(He(t.title), 1)
|
|
2418
2418
|
]),
|
|
2419
2419
|
me(n.$slots, "title-right")
|
|
2420
2420
|
])) : ye("", !0)
|
|
2421
2421
|
]),
|
|
2422
|
-
|
|
2422
|
+
ae("div", da, [
|
|
2423
2423
|
me(n.$slots, "default")
|
|
2424
2424
|
])
|
|
2425
2425
|
]));
|
|
@@ -2493,7 +2493,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2493
2493
|
},
|
|
2494
2494
|
emits: ["update:model-value"],
|
|
2495
2495
|
setup(e, { emit: t }) {
|
|
2496
|
-
const n = e, s = t, { t: l } =
|
|
2496
|
+
const n = e, s = t, { t: l } = ct(), r = Re(!1), u = Kn(), m = X(() => n.modelValue.length < n.min ? `Min selection ${n.min}` : n.max !== void 0 && n.modelValue.length > n.max ? `Max selection ${n.max}` : !0), c = `checkbox-${fa(6)}`, f = X(() => m.value !== !0), b = X(
|
|
2497
2497
|
() => n.modelValue.filter((T) => n.options.some((O) => O.value === T))
|
|
2498
2498
|
), E = X(
|
|
2499
2499
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
@@ -2512,8 +2512,8 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2512
2512
|
O ? i.every((d) => d !== T) && i.push(T) : i = i.filter((d) => d !== T), s("update:model-value", i);
|
|
2513
2513
|
}
|
|
2514
2514
|
return (T, O) => {
|
|
2515
|
-
const i =
|
|
2516
|
-
return
|
|
2515
|
+
const i = Ye("FmCheckbox");
|
|
2516
|
+
return z(), Ce(_a, {
|
|
2517
2517
|
id: c,
|
|
2518
2518
|
title: e.title,
|
|
2519
2519
|
required: !1
|
|
@@ -2522,26 +2522,26 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2522
2522
|
me(T.$slots, "top")
|
|
2523
2523
|
]),
|
|
2524
2524
|
default: ce(() => [
|
|
2525
|
-
n.showAllToggle ? (
|
|
2525
|
+
n.showAllToggle ? (z(), Ce(i, {
|
|
2526
2526
|
key: 0,
|
|
2527
2527
|
"model-value": g.value,
|
|
2528
2528
|
disabled: e.disable,
|
|
2529
2529
|
label: E.value,
|
|
2530
|
-
style:
|
|
2530
|
+
style: rt(`margin-bottom: ${n.gutter}px`),
|
|
2531
2531
|
size: "sm",
|
|
2532
2532
|
dense: "",
|
|
2533
2533
|
value: E.value,
|
|
2534
2534
|
"onUpdate:modelValue": k
|
|
2535
2535
|
}, null, 8, ["model-value", "disabled", "label", "style", "value"])) : ye("", !0),
|
|
2536
|
-
(
|
|
2536
|
+
(z(!0), le(Ue, null, pe(e.options, (d, N) => (z(), le("div", {
|
|
2537
2537
|
key: d.value,
|
|
2538
|
-
style:
|
|
2539
|
-
class:
|
|
2538
|
+
style: rt(`margin-bottom: ${N < e.options.length - 1 ? n.gutter : 0}px`),
|
|
2539
|
+
class: qe(N < e.options.length - 1 ? "q-mb-sm" : "")
|
|
2540
2540
|
}, [
|
|
2541
|
-
|
|
2542
|
-
class:
|
|
2541
|
+
ae("div", {
|
|
2542
|
+
class: qe(["row justify-between", e.alignCenter ? "items-center" : "items-start"])
|
|
2543
2543
|
}, [
|
|
2544
|
-
|
|
2544
|
+
ae("div", pa, [
|
|
2545
2545
|
ie(i, {
|
|
2546
2546
|
"model-value": e.modelValue.includes(d.value),
|
|
2547
2547
|
disabled: e.disable || d.disabled,
|
|
@@ -2555,9 +2555,9 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2555
2555
|
selected: e.modelValue.includes(d.value)
|
|
2556
2556
|
})
|
|
2557
2557
|
]),
|
|
2558
|
-
Ee(u)[`checkbox-${d.key || d.value}-end`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (
|
|
2558
|
+
Ee(u)[`checkbox-${d.key || d.value}-end`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (z(), le("div", {
|
|
2559
2559
|
key: 0,
|
|
2560
|
-
class:
|
|
2560
|
+
class: qe([{ "q-checkbox disabled": e.disable || d.disabled }, "col"])
|
|
2561
2561
|
}, [
|
|
2562
2562
|
me(T.$slots, `checkbox-${d.key || d.value}-end`, {
|
|
2563
2563
|
option: d,
|
|
@@ -2566,10 +2566,10 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2566
2566
|
})
|
|
2567
2567
|
], 2)) : ye("", !0)
|
|
2568
2568
|
], 2),
|
|
2569
|
-
Ee(u)[`checkbox-${d.key || d.value}-bottom`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (
|
|
2569
|
+
Ee(u)[`checkbox-${d.key || d.value}-bottom`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (z(), le("div", {
|
|
2570
2570
|
key: 0,
|
|
2571
|
-
class:
|
|
2572
|
-
style:
|
|
2571
|
+
class: qe(["q-mt-sm", { "q-checkbox disabled": e.disable || d.disabled }]),
|
|
2572
|
+
style: rt(`margin-left: ${e.bottomSlotIndent}`)
|
|
2573
2573
|
}, [
|
|
2574
2574
|
me(T.$slots, `checkbox-${d.key || d.value}-bottom`, {
|
|
2575
2575
|
option: d,
|
|
@@ -2578,7 +2578,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2578
2578
|
})
|
|
2579
2579
|
], 6)) : ye("", !0)
|
|
2580
2580
|
], 6))), 128)),
|
|
2581
|
-
r.value && f.value ? (
|
|
2581
|
+
r.value && f.value ? (z(), le("div", ba, He(m.value), 1)) : ye("", !0)
|
|
2582
2582
|
]),
|
|
2583
2583
|
_: 3
|
|
2584
2584
|
}, 8, ["title"]);
|
|
@@ -2604,7 +2604,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2604
2604
|
setup(e, { emit: t }) {
|
|
2605
2605
|
const { getFlagValue: n } = os(), s = e, l = t, r = Object.values(ls), u = X(() => {
|
|
2606
2606
|
const c = /* @__PURE__ */ new Map();
|
|
2607
|
-
for (const b of
|
|
2607
|
+
for (const b of lt) {
|
|
2608
2608
|
const E = b.category;
|
|
2609
2609
|
E && (s.excludedSubjects.includes(b.subject) || b.showByFeatureFlag && !n(b.showByFeatureFlag) || (c.has(E) || c.set(E, []), c.get(E).push({ label: b.label, value: b.subject })));
|
|
2610
2610
|
}
|
|
@@ -2622,12 +2622,12 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2622
2622
|
l("update:model-value", [
|
|
2623
2623
|
// Keep permissions from all other categories unchanged
|
|
2624
2624
|
...s.modelValue.filter((g) => !b.some((k) => k.value === g.subject)),
|
|
2625
|
-
// Replace with the newly selected permissions for this category (strip UI-only
|
|
2626
|
-
...
|
|
2625
|
+
// Replace with the newly selected permissions for this category (strip UI-only fields)
|
|
2626
|
+
...lt.filter((g) => f.includes(g.subject)).map(({ category: g, showByFeatureFlag: k, ...M }) => M)
|
|
2627
2627
|
]);
|
|
2628
2628
|
}
|
|
2629
|
-
return (c, f) => (
|
|
2630
|
-
(
|
|
2629
|
+
return (c, f) => (z(), le("div", ha, [
|
|
2630
|
+
(z(!0), le(Ue, null, pe(u.value, (b) => (z(), Ce(Jt, {
|
|
2631
2631
|
key: b.category,
|
|
2632
2632
|
"model-value": b.selectedSubjects,
|
|
2633
2633
|
options: b.options,
|
|
@@ -2659,19 +2659,19 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2659
2659
|
function m() {
|
|
2660
2660
|
s.value && (l.value = s.value.scrollHeight);
|
|
2661
2661
|
}
|
|
2662
|
-
return
|
|
2662
|
+
return Gt(async () => {
|
|
2663
2663
|
await Qn(), s.value && (r = new ResizeObserver(() => {
|
|
2664
2664
|
m();
|
|
2665
2665
|
}), r.observe(s.value));
|
|
2666
2666
|
}), Rn(() => {
|
|
2667
2667
|
r == null || r.disconnect();
|
|
2668
2668
|
}), (c, f) => {
|
|
2669
|
-
const b =
|
|
2670
|
-
return
|
|
2671
|
-
|
|
2672
|
-
|
|
2669
|
+
const b = Ye("FmButton");
|
|
2670
|
+
return z(), le(Ue, null, [
|
|
2671
|
+
ae("div", { onClick: u }, [
|
|
2672
|
+
ae("div", Ea, [
|
|
2673
2673
|
me(c.$slots, "title"),
|
|
2674
|
-
|
|
2674
|
+
ae("div", Ia, [
|
|
2675
2675
|
ie(b, {
|
|
2676
2676
|
icon: n.value ? "keyboard_arrow_down" : "keyboard_arrow_up",
|
|
2677
2677
|
"text-color": "neutral-gray-400",
|
|
@@ -2681,11 +2681,11 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2681
2681
|
])
|
|
2682
2682
|
])
|
|
2683
2683
|
]),
|
|
2684
|
-
|
|
2684
|
+
ae("div", {
|
|
2685
2685
|
ref_key: "contentRef",
|
|
2686
2686
|
ref: s,
|
|
2687
2687
|
class: "transition-all duration-300 ease-in-out overflow-hidden",
|
|
2688
|
-
style:
|
|
2688
|
+
style: rt({ maxHeight: n.value ? "0" : l.value + "px" })
|
|
2689
2689
|
}, [
|
|
2690
2690
|
me(c.$slots, "default")
|
|
2691
2691
|
], 4)
|
|
@@ -2714,7 +2714,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2714
2714
|
},
|
|
2715
2715
|
emits: ["update:model-value"],
|
|
2716
2716
|
setup(e, { emit: t }) {
|
|
2717
|
-
const n = e, s = t, { t: l } =
|
|
2717
|
+
const n = e, s = t, { t: l } = ct(), r = X(() => [
|
|
2718
2718
|
{
|
|
2719
2719
|
label: l("team.memberForm.permissions.includedFuture", { context: n.context }),
|
|
2720
2720
|
value: Lt,
|
|
@@ -2731,13 +2731,13 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2731
2731
|
}
|
|
2732
2732
|
const c = Re("");
|
|
2733
2733
|
return (f, b) => {
|
|
2734
|
-
const E =
|
|
2735
|
-
return
|
|
2734
|
+
const E = Ye("fm-search");
|
|
2735
|
+
return z(), Ce(va, null, {
|
|
2736
2736
|
title: ce(() => [
|
|
2737
|
-
|
|
2737
|
+
ae("p", Na, He(Ee(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
2738
2738
|
]),
|
|
2739
2739
|
default: ce(() => [
|
|
2740
|
-
e.options.length > 1 ? (
|
|
2740
|
+
e.options.length > 1 ? (z(), Ce(E, {
|
|
2741
2741
|
key: 0,
|
|
2742
2742
|
modelValue: c.value,
|
|
2743
2743
|
"onUpdate:modelValue": b[0] || (b[0] = (g) => c.value = g),
|
|
@@ -2789,7 +2789,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2789
2789
|
},
|
|
2790
2790
|
emits: ["update:model-value"],
|
|
2791
2791
|
setup(e, { emit: t }) {
|
|
2792
|
-
const n = e, s = t, { t: l } =
|
|
2792
|
+
const n = e, s = t, { t: l } = ct(), r = X(() => {
|
|
2793
2793
|
const c = n.restaurantIds;
|
|
2794
2794
|
return [
|
|
2795
2795
|
{
|
|
@@ -2808,7 +2808,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2808
2808
|
const f = c.length === r.value.length;
|
|
2809
2809
|
s("update:model-value", f ? null : c.filter((b) => b !== Rt));
|
|
2810
2810
|
}
|
|
2811
|
-
return (c, f) => (
|
|
2811
|
+
return (c, f) => (z(), Ce(Jt, {
|
|
2812
2812
|
"model-value": u.value,
|
|
2813
2813
|
options: r.value,
|
|
2814
2814
|
"show-intermediate": !1,
|
|
@@ -2829,9 +2829,9 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2829
2829
|
async readWarehouses() {
|
|
2830
2830
|
return ts(await ns().get("/warehouses"));
|
|
2831
2831
|
}
|
|
2832
|
-
}, ya = { class: "flex flex-col gap-32" }, Oa = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, La = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Ra = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Ca = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" },
|
|
2832
|
+
}, ya = { class: "flex flex-col gap-32" }, Oa = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, La = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Ra = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Ca = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Ua = /* @__PURE__ */ _e({
|
|
2833
2833
|
__name: "PortalPermissionEditor",
|
|
2834
|
-
props: /* @__PURE__ */
|
|
2834
|
+
props: /* @__PURE__ */ zt({
|
|
2835
2835
|
disable: {
|
|
2836
2836
|
type: Boolean,
|
|
2837
2837
|
default: !1
|
|
@@ -2844,14 +2844,14 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2844
2844
|
modelValue: { default: () => [] },
|
|
2845
2845
|
modelModifiers: {}
|
|
2846
2846
|
}),
|
|
2847
|
-
emits: /* @__PURE__ */
|
|
2847
|
+
emits: /* @__PURE__ */ zt(["permissionChanged"], ["update:modelValue"]),
|
|
2848
2848
|
setup(e, { emit: t }) {
|
|
2849
|
-
const n = qn(e, "modelValue"), s = e, l = t, { t: r } =
|
|
2850
|
-
const C =
|
|
2849
|
+
const n = qn(e, "modelValue"), s = e, l = t, { t: r } = ct(), u = X(() => {
|
|
2850
|
+
const C = lt.filter((D) => !b.includes(D.subject)).map((D) => D.subject);
|
|
2851
2851
|
return ss(
|
|
2852
2852
|
s.inheritPermissions.map((D) => ({
|
|
2853
2853
|
...D,
|
|
2854
|
-
permissions: D.permissions.filter((
|
|
2854
|
+
permissions: D.permissions.filter((H) => C.includes(H.subject))
|
|
2855
2855
|
}))
|
|
2856
2856
|
).map((D) => ({
|
|
2857
2857
|
id: D.subject,
|
|
@@ -2861,7 +2861,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2861
2861
|
const C = s.inheritPermissions.map((S) => ({
|
|
2862
2862
|
...S,
|
|
2863
2863
|
permissions: S.permissions.filter(
|
|
2864
|
-
(D) => D.subject ===
|
|
2864
|
+
(D) => D.subject === se.Subject.Business.inventory_stock
|
|
2865
2865
|
)
|
|
2866
2866
|
}));
|
|
2867
2867
|
return Tt(
|
|
@@ -2873,7 +2873,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2873
2873
|
const C = s.inheritPermissions.map((S) => ({
|
|
2874
2874
|
...S,
|
|
2875
2875
|
permissions: S.permissions.filter(
|
|
2876
|
-
(D) => D.subject ===
|
|
2876
|
+
(D) => D.subject === se.Subject.Restaurant.restaurant
|
|
2877
2877
|
)
|
|
2878
2878
|
}));
|
|
2879
2879
|
return Tt(
|
|
@@ -2885,7 +2885,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2885
2885
|
const C = s.inheritPermissions.map((S) => ({
|
|
2886
2886
|
...S,
|
|
2887
2887
|
permissions: S.permissions.filter(
|
|
2888
|
-
(D) => D.subject ===
|
|
2888
|
+
(D) => D.subject === se.Subject.Business.hrm_employee_role
|
|
2889
2889
|
)
|
|
2890
2890
|
}));
|
|
2891
2891
|
return Tt(
|
|
@@ -2894,14 +2894,14 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2894
2894
|
i.value.map((S) => S._id)
|
|
2895
2895
|
);
|
|
2896
2896
|
}), b = [
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2897
|
+
se.Subject.Business.restaurant,
|
|
2898
|
+
se.Subject.Business.hrm_employee_role,
|
|
2899
|
+
se.Subject.Business.inventory_stock,
|
|
2900
|
+
se.Subject.Restaurant.restaurant
|
|
2901
2901
|
], E = X(() => {
|
|
2902
2902
|
var S;
|
|
2903
2903
|
const C = (S = n.value) == null ? void 0 : S.find(
|
|
2904
|
-
(D) => D.subject ===
|
|
2904
|
+
(D) => D.subject === se.Subject.Business.inventory_stock
|
|
2905
2905
|
);
|
|
2906
2906
|
return C ? C.conditions ? JSON.parse(C.conditions).warehouseId.$in : null : [];
|
|
2907
2907
|
}), g = Re([]), k = X(() => g.value.map((C) => ({
|
|
@@ -2914,71 +2914,72 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2914
2914
|
}
|
|
2915
2915
|
function T(C, S) {
|
|
2916
2916
|
let D = xe(
|
|
2917
|
-
C.filter((
|
|
2917
|
+
C.filter((H) => H.subject !== se.Subject.Business.inventory_stock)
|
|
2918
2918
|
);
|
|
2919
2919
|
if (!S || S.length > 0) {
|
|
2920
|
-
const
|
|
2921
|
-
actions: [
|
|
2922
|
-
subject:
|
|
2920
|
+
const H = {
|
|
2921
|
+
actions: [se.Action.manage],
|
|
2922
|
+
subject: se.Subject.Business.inventory_stock
|
|
2923
2923
|
};
|
|
2924
|
-
S && (
|
|
2924
|
+
S && (H.conditions = JSON.stringify({ warehouseId: { $in: S } })), D.push(H);
|
|
2925
2925
|
}
|
|
2926
2926
|
return D;
|
|
2927
2927
|
}
|
|
2928
2928
|
const { restaurants: O } = es(), i = is().roles, d = X(() => O.value.map((C) => ({
|
|
2929
2929
|
label: `${C.profile.code ? C.profile.code + "-" : ""}${C.profile.name}`,
|
|
2930
2930
|
value: C._id
|
|
2931
|
-
}))), N = X(() => O.value.reduce((C, S) => (C[S._id] = i.value.filter((D) => D.restaurants.some((
|
|
2931
|
+
}))), N = X(() => O.value.reduce((C, S) => (C[S._id] = i.value.filter((D) => D.restaurants.some((H) => H.id === S._id)).map((D) => D._id), C), {})), p = X(() => rs(n.value));
|
|
2932
2932
|
function L(C) {
|
|
2933
2933
|
const S = v(n.value, C);
|
|
2934
2934
|
n.value = S;
|
|
2935
2935
|
}
|
|
2936
2936
|
const y = X(() => as(n.value));
|
|
2937
2937
|
function v(C, S) {
|
|
2938
|
-
var
|
|
2938
|
+
var H;
|
|
2939
2939
|
let D = xe(
|
|
2940
2940
|
C.filter(
|
|
2941
|
-
(
|
|
2941
|
+
(B) => B.subject !== se.Subject.Business.restaurant && B.subject !== se.Subject.Restaurant.restaurant
|
|
2942
2942
|
)
|
|
2943
2943
|
);
|
|
2944
2944
|
if (!S || S.length > 0) {
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2945
|
+
const { category: B, showByFeatureFlag: w, ...ne } = Qt.restaurant;
|
|
2946
|
+
D.push(ne);
|
|
2947
|
+
const U = {
|
|
2948
|
+
actions: [se.Action.manage],
|
|
2949
|
+
subject: se.Subject.Restaurant.restaurant
|
|
2949
2950
|
};
|
|
2950
|
-
S && (
|
|
2951
|
+
S && (U.conditions = JSON.stringify({ restaurantId: { $in: S } })), D.push(U);
|
|
2951
2952
|
}
|
|
2952
2953
|
if (S) {
|
|
2953
|
-
const
|
|
2954
|
-
...new Set(S.map((
|
|
2955
|
-
], w = i.value.map((
|
|
2956
|
-
|
|
2954
|
+
const B = [
|
|
2955
|
+
...new Set(S.map((ne) => N.value[ne]).flatMap((ne) => ne))
|
|
2956
|
+
], w = i.value.map((ne) => ne._id);
|
|
2957
|
+
B.length !== w.length && (D = Z(
|
|
2957
2958
|
D,
|
|
2958
|
-
(
|
|
2959
|
+
(H = y.value || w) == null ? void 0 : H.filter((ne) => B.includes(ne))
|
|
2959
2960
|
));
|
|
2960
2961
|
}
|
|
2961
2962
|
return D;
|
|
2962
2963
|
}
|
|
2963
|
-
function
|
|
2964
|
-
const S =
|
|
2964
|
+
function x(C) {
|
|
2965
|
+
const S = Z(n.value, C);
|
|
2965
2966
|
n.value = S;
|
|
2966
2967
|
}
|
|
2967
|
-
function
|
|
2968
|
+
function Z(C, S) {
|
|
2968
2969
|
let D = xe(
|
|
2969
|
-
C.filter((
|
|
2970
|
+
C.filter((H) => H.subject !== se.Subject.Business.hrm_employee_role)
|
|
2970
2971
|
);
|
|
2971
2972
|
if (S && S.length > 0) {
|
|
2972
|
-
const
|
|
2973
|
-
|
|
2973
|
+
const { category: H, showByFeatureFlag: B, ...w } = xe(Qt.role);
|
|
2974
|
+
w.conditions = JSON.stringify({ roleId: { $in: S } }), D.push(w);
|
|
2974
2975
|
}
|
|
2975
2976
|
return D;
|
|
2976
2977
|
}
|
|
2977
|
-
|
|
2978
|
+
Gt(async () => {
|
|
2978
2979
|
g.value = await ka.readWarehouses();
|
|
2979
2980
|
});
|
|
2980
2981
|
const te = X(
|
|
2981
|
-
() =>
|
|
2982
|
+
() => Kt(
|
|
2982
2983
|
n.value,
|
|
2983
2984
|
qt
|
|
2984
2985
|
)
|
|
@@ -2988,26 +2989,26 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2988
2989
|
te.value.filter((w) => !w.inverted).map((w) => w.subject)
|
|
2989
2990
|
), D = new Set(
|
|
2990
2991
|
C.filter((w) => !w.inverted).map((w) => w.subject)
|
|
2991
|
-
),
|
|
2992
|
+
), H = new Set(
|
|
2992
2993
|
n.value.filter((w) => !w.inverted).map((w) => w.subject)
|
|
2993
2994
|
);
|
|
2994
|
-
let
|
|
2995
|
+
let B = [...n.value];
|
|
2995
2996
|
for (const w of S)
|
|
2996
|
-
D.has(w) || (
|
|
2997
|
-
(
|
|
2998
|
-
)) && !
|
|
2997
|
+
D.has(w) || (H.has(w) && (B = B.filter((U) => U.subject !== w)), (!H.has(w) || Kt(B, qt).some(
|
|
2998
|
+
(U) => U.subject === w && !U.inverted
|
|
2999
|
+
)) && !B.some((U) => U.subject === w && U.inverted) && B.push({ subject: w, actions: ["manage"], inverted: !0 }));
|
|
2999
3000
|
for (const w of D)
|
|
3000
3001
|
if (!S.has(w)) {
|
|
3001
|
-
const
|
|
3002
|
-
if (
|
|
3003
|
-
const
|
|
3004
|
-
if (
|
|
3005
|
-
const { category: Te, ...
|
|
3006
|
-
|
|
3002
|
+
const ne = B.some((U) => U.subject === w && U.inverted);
|
|
3003
|
+
if (B = B.filter((U) => !(U.subject === w && U.inverted)), !ne && !H.has(w)) {
|
|
3004
|
+
const U = lt.find((Te) => Te.subject === w);
|
|
3005
|
+
if (U) {
|
|
3006
|
+
const { category: Te, showByFeatureFlag: We, ...Ge } = U;
|
|
3007
|
+
B.push(Ge);
|
|
3007
3008
|
}
|
|
3008
3009
|
}
|
|
3009
3010
|
}
|
|
3010
|
-
n.value =
|
|
3011
|
+
n.value = B;
|
|
3011
3012
|
}
|
|
3012
3013
|
return Ct(
|
|
3013
3014
|
n,
|
|
@@ -3015,8 +3016,8 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
3015
3016
|
l("permissionChanged", C);
|
|
3016
3017
|
},
|
|
3017
3018
|
{ deep: !0 }
|
|
3018
|
-
), (C, S) => (
|
|
3019
|
-
|
|
3019
|
+
), (C, S) => (z(), le("div", ya, [
|
|
3020
|
+
ae("div", Oa, [
|
|
3020
3021
|
ie(ga, {
|
|
3021
3022
|
"model-value": te.value,
|
|
3022
3023
|
"excluded-subjects": b,
|
|
@@ -3025,12 +3026,12 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
3025
3026
|
pe(u.value, (D) => ({
|
|
3026
3027
|
name: `checkbox-${D.id}-append`,
|
|
3027
3028
|
fn: ce(() => [
|
|
3028
|
-
ie(
|
|
3029
|
+
ie(st, { item: D }, null, 8, ["item"])
|
|
3029
3030
|
])
|
|
3030
3031
|
}))
|
|
3031
3032
|
]), 1032, ["model-value"])
|
|
3032
3033
|
]),
|
|
3033
|
-
|
|
3034
|
+
ae("div", La, [
|
|
3034
3035
|
ie(Ln, {
|
|
3035
3036
|
"model-value": E.value,
|
|
3036
3037
|
options: k.value,
|
|
@@ -3040,12 +3041,12 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
3040
3041
|
pe(m.value, (D) => ({
|
|
3041
3042
|
name: `checkbox-${D.id}-append`,
|
|
3042
3043
|
fn: ce(() => [
|
|
3043
|
-
ie(
|
|
3044
|
+
ie(st, { item: D }, null, 8, ["item"])
|
|
3044
3045
|
])
|
|
3045
3046
|
}))
|
|
3046
3047
|
]), 1032, ["model-value", "options", "context"])
|
|
3047
3048
|
]),
|
|
3048
|
-
|
|
3049
|
+
ae("div", Ra, [
|
|
3049
3050
|
ie(Ln, {
|
|
3050
3051
|
"model-value": p.value,
|
|
3051
3052
|
options: d.value,
|
|
@@ -3055,22 +3056,22 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
3055
3056
|
pe(c.value, (D) => ({
|
|
3056
3057
|
name: `checkbox-${D.id}-append`,
|
|
3057
3058
|
fn: ce(() => [
|
|
3058
|
-
ie(
|
|
3059
|
+
ie(st, { item: D }, null, 8, ["item"])
|
|
3059
3060
|
])
|
|
3060
3061
|
}))
|
|
3061
3062
|
]), 1032, ["model-value", "options", "context"])
|
|
3062
3063
|
]),
|
|
3063
|
-
|
|
3064
|
+
ae("div", Ca, [
|
|
3064
3065
|
ie(Ta, {
|
|
3065
3066
|
roles: Ee(i),
|
|
3066
3067
|
"model-value": y.value,
|
|
3067
3068
|
"restaurant-ids": p.value,
|
|
3068
|
-
"onUpdate:modelValue":
|
|
3069
|
+
"onUpdate:modelValue": x
|
|
3069
3070
|
}, Oe({ _: 2 }, [
|
|
3070
3071
|
pe(f.value, (D) => ({
|
|
3071
3072
|
name: `checkbox-${D.id}-append`,
|
|
3072
3073
|
fn: ce(() => [
|
|
3073
|
-
ie(
|
|
3074
|
+
ie(st, { item: D }, null, 8, ["item"])
|
|
3074
3075
|
])
|
|
3075
3076
|
}))
|
|
3076
3077
|
]), 1032, ["roles", "model-value", "restaurant-ids"])
|
|
@@ -3080,5 +3081,5 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
3080
3081
|
});
|
|
3081
3082
|
export {
|
|
3082
3083
|
Jt as _,
|
|
3083
|
-
|
|
3084
|
+
Ua as a
|
|
3084
3085
|
};
|