@feedmepos/mf-hrm-portal 1.1.2-dev → 1.1.3-dev.1
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-qGKeg-cd.js +384 -0
- package/dist/{EmployeeList-CKHgrdAO.js → EmployeeList-BWDsSFoY.js} +5 -5
- package/dist/{Main-YQ5f-v03.js → Main-D5YEKOpl.js} +7 -7
- package/dist/{Main-HzplGv-e.js → Main-VjhiuuHr.js} +4 -4
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-xQ4fjIxa.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-yghfcQRF.js} +331 -331
- package/dist/{RoleList-Bef-7IhW.js → RoleList-CfPD_Gk_.js} +5 -5
- package/dist/{RolePermissionList-BzwpQFeO.js → RolePermissionList-Cu1KTuuI.js} +3 -3
- package/dist/{TeamMemberList-D2Xey_w9.js → TeamMemberList-DEYo6_pS.js} +6 -6
- package/dist/{TimesheetList-DVIk0Tis.js → TimesheetList-BTTBjTrO.js} +6 -6
- package/dist/{app-DUs516v0.js → app-CfIHEA52.js} +389 -339
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-DVb8OkTL.js → dayjs.min-C8cBXLt-.js} +1 -1
- package/dist/{employee-jH7EJnhi.js → employee-ChJpkvUF.js} +3 -3
- package/dist/{index-CicR1-Jp.js → index-CgbDOn3W.js} +5 -5
- package/dist/{lodash-DpoPPi_j.js → lodash-0EOIqOEG.js} +1 -1
- package/dist/{team-CiZSNUQW.js → team-C2muObo8.js} +1 -1
- package/dist/{timesheet-BRQvljNj.js → timesheet-DTI6G4DD.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/types/audit-log.d.ts +1 -19
- package/dist/{useAppStore-RzLLN5d9.js → useAppStore-DCpMNDxE.js} +1 -1
- package/dist/{useLoading-1OqFn86y.js → useLoading-ChLCiMQj.js} +1 -1
- package/dist/views/audit-log/locales/index.d.ts +44 -0
- package/package.json +2 -2
- package/dist/AuditLogList-CjrocQS2.js +0 -316
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { getCurrentInstance as Wt, inject as
|
|
2
|
-
import { useI18n as at, useCoreStore as
|
|
1
|
+
import { getCurrentInstance as Wt, inject as Zn, ref as ye, shallowRef as Hn, computed as G, watch as Rt, onMounted as Gt, onUnmounted as On, defineComponent as ce, h as Ln, createVNode as ne, Text as Bn, Fragment as we, resolveComponent as Ge, createBlock as ke, openBlock as B, withCtx as se, createElementVNode as ee, createElementBlock as te, toDisplayString as je, unref as be, renderList as me, renderSlot as le, createCommentVNode as Ne, createTextVNode as Jn, useSlots as $n, normalizeStyle as tt, normalizeClass as ze, createSlots as ve, nextTick as zn, mergeModels as zt, useModel as Kn } from "vue";
|
|
2
|
+
import { useI18n as at, useCoreStore as Qn } from "@feedmepos/mf-common";
|
|
3
3
|
import "@vue/devtools-api";
|
|
4
|
-
import { l as We,
|
|
5
|
-
import { a as rs, h as
|
|
6
|
-
import { u as as } from "./useAppStore-
|
|
4
|
+
import { l as We, p as Ct, g as qn, b as es, n as ts, x as vt, y as ns, m as ss } from "./index-CgbDOn3W.js";
|
|
5
|
+
import { a as rs, h as Q, o as Kt } from "./app-CfIHEA52.js";
|
|
6
|
+
import { u as as } from "./useAppStore-DCpMNDxE.js";
|
|
7
7
|
/*!
|
|
8
8
|
* shared v10.0.5
|
|
9
9
|
* (c) 2024 kazuya kawaguchi
|
|
10
10
|
* Released under the MIT License.
|
|
11
11
|
*/
|
|
12
|
-
const
|
|
12
|
+
const Qt = typeof window < "u", Oe = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), ls = (e, t, n) => os({ l: e, k: t, s: n }), os = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), z = (e) => typeof e == "number" && isFinite(e), is = (e) => jt(e) === "[object Date]", st = (e) => jt(e) === "[object RegExp]", lt = (e) => w(e) && Object.keys(e).length === 0, K = Object.assign, cs = Object.create, V = (e = null) => cs(e);
|
|
13
13
|
let qt;
|
|
14
14
|
const Te = () => qt || (qt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : V());
|
|
15
15
|
function en(e) {
|
|
@@ -19,22 +19,22 @@ const us = Object.prototype.hasOwnProperty;
|
|
|
19
19
|
function ie(e, t) {
|
|
20
20
|
return us.call(e, t);
|
|
21
21
|
}
|
|
22
|
-
const $ = Array.isArray,
|
|
23
|
-
function
|
|
22
|
+
const $ = Array.isArray, Y = (e) => typeof e == "function", R = (e) => typeof e == "string", J = (e) => typeof e == "boolean", F = (e) => e !== null && typeof e == "object", ms = (e) => F(e) && Y(e.then) && Y(e.catch), Rn = Object.prototype.toString, jt = (e) => Rn.call(e), w = (e) => jt(e) === "[object Object]", ds = (e) => e == null ? "" : $(e) || w(e) && e.toString === Rn ? JSON.stringify(e, null, 2) : String(e);
|
|
23
|
+
function Xt(e, t = "") {
|
|
24
24
|
return e.reduce((n, s, l) => l === 0 ? n + s : n + t + s, "");
|
|
25
25
|
}
|
|
26
26
|
function _s(e, t) {
|
|
27
27
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
28
28
|
}
|
|
29
|
-
const
|
|
29
|
+
const Ke = (e) => !F(e) || $(e);
|
|
30
30
|
function nt(e, t) {
|
|
31
|
-
if (
|
|
31
|
+
if (Ke(e) || Ke(t))
|
|
32
32
|
throw new Error("Invalid value");
|
|
33
33
|
const n = [{ src: e, des: t }];
|
|
34
34
|
for (; n.length; ) {
|
|
35
35
|
const { src: s, des: l } = n.pop();
|
|
36
36
|
Object.keys(s).forEach((r) => {
|
|
37
|
-
r !== "__proto__" && (F(s[r]) && !F(l[r]) && (l[r] = Array.isArray(s[r]) ? [] : V()),
|
|
37
|
+
r !== "__proto__" && (F(s[r]) && !F(l[r]) && (l[r] = Array.isArray(s[r]) ? [] : V()), Ke(l[r]) || Ke(s[r]) ? l[r] = s[r] : n.push({ src: s[r], des: l[r] }));
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
40
|
}
|
|
@@ -74,7 +74,7 @@ const _e = " ", hs = "\r", q = `
|
|
|
74
74
|
function Is(e) {
|
|
75
75
|
const t = e;
|
|
76
76
|
let n = 0, s = 1, l = 1, r = 0;
|
|
77
|
-
const c = (N) => t[N] === hs && t[N + 1] === q, m = (N) => t[N] === q, u = (N) => t[N] === Es, _ = (N) => t[N] === gs, h = (N) => c(N) || m(N) || u(N) || _(N), E = () => n, g = () => s, C = () => l,
|
|
77
|
+
const c = (N) => t[N] === hs && t[N + 1] === q, m = (N) => t[N] === q, u = (N) => t[N] === Es, _ = (N) => t[N] === gs, h = (N) => c(N) || m(N) || u(N) || _(N), E = () => n, g = () => s, C = () => l, D = () => r, T = (N) => c(N) || u(N) || _(N) ? q : t[N], k = () => T(n), i = () => T(n + r);
|
|
78
78
|
function d() {
|
|
79
79
|
return r = 0, h(n) && (s++, l = 0), c(n) && n++, n++, l++, t[n];
|
|
80
80
|
}
|
|
@@ -97,7 +97,7 @@ function Is(e) {
|
|
|
97
97
|
index: E,
|
|
98
98
|
line: g,
|
|
99
99
|
column: C,
|
|
100
|
-
peekOffset:
|
|
100
|
+
peekOffset: D,
|
|
101
101
|
charAt: T,
|
|
102
102
|
currentChar: k,
|
|
103
103
|
currentPeek: i,
|
|
@@ -124,9 +124,9 @@ function Ts(e, t = {}) {
|
|
|
124
124
|
text: ""
|
|
125
125
|
}, _ = () => u, { onError: h } = t;
|
|
126
126
|
function E(a, o, b, ...A) {
|
|
127
|
-
const
|
|
127
|
+
const Z = _();
|
|
128
128
|
if (o.column += b, o.offset += b, h) {
|
|
129
|
-
const P = n ? St(
|
|
129
|
+
const P = n ? St(Z.startLoc, o) : null, f = ot(a, P, {
|
|
130
130
|
domain: vs,
|
|
131
131
|
args: A
|
|
132
132
|
});
|
|
@@ -143,7 +143,7 @@ function Ts(e, t = {}) {
|
|
|
143
143
|
13
|
|
144
144
|
/* TokenTypes.EOF */
|
|
145
145
|
);
|
|
146
|
-
function
|
|
146
|
+
function D(a, o) {
|
|
147
147
|
return a.currentChar() === o ? (a.next(), o) : (E(U.EXPECTED_TOKEN, r(), 0, o), "");
|
|
148
148
|
}
|
|
149
149
|
function T(a) {
|
|
@@ -183,8 +183,8 @@ function Ts(e, t = {}) {
|
|
|
183
183
|
if (b !== 2)
|
|
184
184
|
return !1;
|
|
185
185
|
T(a);
|
|
186
|
-
const A = a.currentPeek() === "-" ? a.peek() : a.currentPeek(),
|
|
187
|
-
return a.resetPeek(),
|
|
186
|
+
const A = a.currentPeek() === "-" ? a.peek() : a.currentPeek(), Z = d(A);
|
|
187
|
+
return a.resetPeek(), Z;
|
|
188
188
|
}
|
|
189
189
|
function O(a, o) {
|
|
190
190
|
const { currentType: b } = o;
|
|
@@ -210,7 +210,7 @@ function Ts(e, t = {}) {
|
|
|
210
210
|
const A = i(a.currentPeek());
|
|
211
211
|
return a.resetPeek(), A;
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function X(a, o) {
|
|
214
214
|
const { currentType: b } = o;
|
|
215
215
|
if (!(b === 7 || b === 11))
|
|
216
216
|
return !1;
|
|
@@ -218,25 +218,25 @@ function Ts(e, t = {}) {
|
|
|
218
218
|
const A = a.currentPeek() === ":";
|
|
219
219
|
return a.resetPeek(), A;
|
|
220
220
|
}
|
|
221
|
-
function
|
|
221
|
+
function j(a, o) {
|
|
222
222
|
const { currentType: b } = o;
|
|
223
223
|
if (b !== 9)
|
|
224
224
|
return !1;
|
|
225
225
|
const A = () => {
|
|
226
226
|
const P = a.currentPeek();
|
|
227
227
|
return P === "{" ? i(a.peek()) : P === "@" || P === "|" || P === ":" || P === "." || P === _e || !P ? !1 : P === q ? (a.peek(), A()) : S(a, !1);
|
|
228
|
-
},
|
|
229
|
-
return a.resetPeek(),
|
|
228
|
+
}, Z = A();
|
|
229
|
+
return a.resetPeek(), Z;
|
|
230
230
|
}
|
|
231
|
-
function
|
|
231
|
+
function M(a) {
|
|
232
232
|
T(a);
|
|
233
233
|
const o = a.currentPeek() === "|";
|
|
234
234
|
return a.resetPeek(), o;
|
|
235
235
|
}
|
|
236
236
|
function S(a, o = !0) {
|
|
237
|
-
const b = (
|
|
237
|
+
const b = (Z = !1, P = "") => {
|
|
238
238
|
const f = a.currentPeek();
|
|
239
|
-
return f === "{" || f === "@" || !f ?
|
|
239
|
+
return f === "{" || f === "@" || !f ? Z : f === "|" ? !(P === _e || P === q) : f === _e ? (a.peek(), b(!0, _e)) : f === q ? (a.peek(), b(!0, q)) : !0;
|
|
240
240
|
}, A = b();
|
|
241
241
|
return o && a.resetPeek(), A;
|
|
242
242
|
}
|
|
@@ -244,7 +244,7 @@ function Ts(e, t = {}) {
|
|
|
244
244
|
const b = a.currentChar();
|
|
245
245
|
return b === he ? he : o(b) ? (a.next(), b) : null;
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function x(a) {
|
|
248
248
|
const o = a.charCodeAt(0);
|
|
249
249
|
return o >= 97 && o <= 122 || // a-z
|
|
250
250
|
o >= 65 && o <= 90 || // A-Z
|
|
@@ -253,7 +253,7 @@ function Ts(e, t = {}) {
|
|
|
253
253
|
o === 36;
|
|
254
254
|
}
|
|
255
255
|
function re(a) {
|
|
256
|
-
return L(a,
|
|
256
|
+
return L(a, x);
|
|
257
257
|
}
|
|
258
258
|
function Le(a) {
|
|
259
259
|
const o = a.charCodeAt(0);
|
|
@@ -299,7 +299,7 @@ function Ts(e, t = {}) {
|
|
|
299
299
|
if (S(a))
|
|
300
300
|
o += b, a.next();
|
|
301
301
|
else {
|
|
302
|
-
if (
|
|
302
|
+
if (M(a))
|
|
303
303
|
break;
|
|
304
304
|
o += b, a.next();
|
|
305
305
|
}
|
|
@@ -324,12 +324,12 @@ function Ts(e, t = {}) {
|
|
|
324
324
|
return a !== tn && a !== q;
|
|
325
325
|
}
|
|
326
326
|
function pt(a) {
|
|
327
|
-
k(a),
|
|
327
|
+
k(a), D(a, "'");
|
|
328
328
|
let o = "", b = "";
|
|
329
329
|
for (; o = L(a, $t); )
|
|
330
330
|
o === "\\" ? b += bt(a) : b += o;
|
|
331
331
|
const A = a.currentChar();
|
|
332
|
-
return A === q || A === he ? (E(U.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, r(), 0), A === q && (a.next(),
|
|
332
|
+
return A === q || A === he ? (E(U.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, r(), 0), A === q && (a.next(), D(a, "'")), b) : (D(a, "'"), b);
|
|
333
333
|
}
|
|
334
334
|
function bt(a) {
|
|
335
335
|
const o = a.currentChar();
|
|
@@ -346,9 +346,9 @@ function Ts(e, t = {}) {
|
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
function Je(a, o, b) {
|
|
349
|
-
|
|
349
|
+
D(a, o);
|
|
350
350
|
let A = "";
|
|
351
|
-
for (let
|
|
351
|
+
for (let Z = 0; Z < b; Z++) {
|
|
352
352
|
const P = He(a);
|
|
353
353
|
if (!P) {
|
|
354
354
|
E(U.INVALID_UNICODE_ESCAPE_SEQUENCE, r(), 0, `\\${o}${A}${a.currentChar()}`);
|
|
@@ -383,7 +383,7 @@ function Ts(e, t = {}) {
|
|
|
383
383
|
}
|
|
384
384
|
function Fe(a) {
|
|
385
385
|
k(a);
|
|
386
|
-
const o =
|
|
386
|
+
const o = D(
|
|
387
387
|
a,
|
|
388
388
|
"|"
|
|
389
389
|
/* TokenChars.Pipe */
|
|
@@ -410,18 +410,18 @@ function Ts(e, t = {}) {
|
|
|
410
410
|
case "@":
|
|
411
411
|
return o.braceNest > 0 && E(U.UNTERMINATED_CLOSING_BRACE, r(), 0), b = Ce(a, o) || C(o), o.braceNest = 0, b;
|
|
412
412
|
default: {
|
|
413
|
-
let
|
|
414
|
-
if (
|
|
413
|
+
let Z = !0, P = !0, f = !0;
|
|
414
|
+
if (M(a))
|
|
415
415
|
return o.braceNest > 0 && E(U.UNTERMINATED_CLOSING_BRACE, r(), 0), b = g(o, 1, Fe(a)), o.braceNest = 0, o.inLinked = !1, b;
|
|
416
416
|
if (o.braceNest > 0 && (o.currentType === 4 || o.currentType === 5 || o.currentType === 6))
|
|
417
417
|
return E(U.UNTERMINATED_CLOSING_BRACE, r(), 0), o.braceNest = 0, Ue(a, o);
|
|
418
|
-
if (
|
|
418
|
+
if (Z = v(a, o))
|
|
419
419
|
return b = g(o, 4, _t(a)), k(a), b;
|
|
420
420
|
if (P = p(a, o))
|
|
421
421
|
return b = g(o, 5, ft(a)), k(a), b;
|
|
422
422
|
if (f = O(a, o))
|
|
423
423
|
return b = g(o, 6, pt(a)), k(a), b;
|
|
424
|
-
if (!
|
|
424
|
+
if (!Z && !P && !f)
|
|
425
425
|
return b = g(o, 12, gt(a)), E(U.INVALID_TOKEN_IN_PLACEHOLDER, r(), 0, b.value), k(a), b;
|
|
426
426
|
break;
|
|
427
427
|
}
|
|
@@ -431,8 +431,8 @@ function Ts(e, t = {}) {
|
|
|
431
431
|
function Ce(a, o) {
|
|
432
432
|
const { currentType: b } = o;
|
|
433
433
|
let A = null;
|
|
434
|
-
const
|
|
435
|
-
switch ((b === 7 || b === 8 || b === 11 || b === 9) && (
|
|
434
|
+
const Z = a.currentChar();
|
|
435
|
+
switch ((b === 7 || b === 8 || b === 11 || b === 9) && (Z === q || Z === _e) && E(U.INVALID_LINKED_FORMAT, r(), 0), Z) {
|
|
436
436
|
case "@":
|
|
437
437
|
return a.next(), A = g(
|
|
438
438
|
o,
|
|
@@ -455,7 +455,7 @@ function Ts(e, t = {}) {
|
|
|
455
455
|
/* TokenChars.LinkedDelimiter */
|
|
456
456
|
);
|
|
457
457
|
default:
|
|
458
|
-
return
|
|
458
|
+
return M(a) ? (A = g(o, 1, Fe(a)), o.braceNest = 0, o.inLinked = !1, A) : y(a, o) || X(a, o) ? (k(a), Ce(a, o)) : N(a, o) ? (k(a), g(o, 11, Et(a))) : j(a, o) ? (k(a), Z === "{" ? Re(a, o) || A : g(o, 10, It(a))) : (b === 7 && E(U.INVALID_LINKED_FORMAT, r(), 0), o.braceNest = 0, o.inLinked = !1, Ue(a, o));
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
461
|
function Ue(a, o) {
|
|
@@ -480,7 +480,7 @@ function Ts(e, t = {}) {
|
|
|
480
480
|
case "@":
|
|
481
481
|
return Ce(a, o) || C(o);
|
|
482
482
|
default: {
|
|
483
|
-
if (
|
|
483
|
+
if (M(a))
|
|
484
484
|
return b = g(o, 1, Fe(a)), o.braceNest = 0, o.inLinked = !1, b;
|
|
485
485
|
if (S(a))
|
|
486
486
|
return g(o, 0, dt(a));
|
|
@@ -522,11 +522,11 @@ function Ls(e = {}) {
|
|
|
522
522
|
function s(i, d, v, p, ...O) {
|
|
523
523
|
const y = i.currentPosition();
|
|
524
524
|
if (y.offset += p, y.column += p, n) {
|
|
525
|
-
const N = t ? St(v, y) : null,
|
|
525
|
+
const N = t ? St(v, y) : null, X = ot(d, N, {
|
|
526
526
|
domain: ys,
|
|
527
527
|
args: O
|
|
528
528
|
});
|
|
529
|
-
n(
|
|
529
|
+
n(X);
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
532
|
function l(i, d, v) {
|
|
@@ -603,47 +603,47 @@ function Ls(e = {}) {
|
|
|
603
603
|
O.items = [];
|
|
604
604
|
let y = null;
|
|
605
605
|
do {
|
|
606
|
-
const
|
|
607
|
-
switch (y = null,
|
|
606
|
+
const j = y || i.nextToken();
|
|
607
|
+
switch (y = null, j.type) {
|
|
608
608
|
case 0:
|
|
609
|
-
|
|
609
|
+
j.value == null && s(i, U.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ue(j)), O.items.push(c(i, j.value || ""));
|
|
610
610
|
break;
|
|
611
611
|
case 5:
|
|
612
|
-
|
|
612
|
+
j.value == null && s(i, U.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ue(j)), O.items.push(m(i, j.value || ""));
|
|
613
613
|
break;
|
|
614
614
|
case 4:
|
|
615
|
-
|
|
615
|
+
j.value == null && s(i, U.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ue(j)), O.items.push(u(i, j.value || ""));
|
|
616
616
|
break;
|
|
617
617
|
case 6:
|
|
618
|
-
|
|
618
|
+
j.value == null && s(i, U.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ue(j)), O.items.push(_(i, j.value || ""));
|
|
619
619
|
break;
|
|
620
620
|
case 7: {
|
|
621
|
-
const
|
|
622
|
-
O.items.push(
|
|
621
|
+
const M = g(i);
|
|
622
|
+
O.items.push(M.node), y = M.nextConsumeToken || null;
|
|
623
623
|
break;
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
626
|
} while (d.currentType !== 13 && d.currentType !== 1);
|
|
627
|
-
const N = d.currentType === 1 ? d.lastOffset : i.currentOffset(),
|
|
628
|
-
return r(O, N,
|
|
627
|
+
const N = d.currentType === 1 ? d.lastOffset : i.currentOffset(), X = d.currentType === 1 ? d.lastEndLoc : i.currentPosition();
|
|
628
|
+
return r(O, N, X), O;
|
|
629
629
|
}
|
|
630
|
-
function
|
|
630
|
+
function D(i, d, v, p) {
|
|
631
631
|
const O = i.context();
|
|
632
632
|
let y = p.items.length === 0;
|
|
633
633
|
const N = l(1, d, v);
|
|
634
634
|
N.cases = [], N.cases.push(p);
|
|
635
635
|
do {
|
|
636
|
-
const
|
|
637
|
-
y || (y =
|
|
636
|
+
const X = C(i);
|
|
637
|
+
y || (y = X.items.length === 0), N.cases.push(X);
|
|
638
638
|
} while (O.currentType !== 13);
|
|
639
639
|
return y && s(i, U.MUST_HAVE_MESSAGES_IN_PLURAL, v, 0), r(N, i.currentOffset(), i.currentPosition()), N;
|
|
640
640
|
}
|
|
641
641
|
function T(i) {
|
|
642
642
|
const d = i.context(), { offset: v, startLoc: p } = d, O = C(i);
|
|
643
|
-
return d.currentType === 13 ? O :
|
|
643
|
+
return d.currentType === 13 ? O : D(i, v, p, O);
|
|
644
644
|
}
|
|
645
645
|
function k(i) {
|
|
646
|
-
const d = Ts(i,
|
|
646
|
+
const d = Ts(i, K({}, e)), v = d.context(), p = l(0, v.offset, v.startLoc);
|
|
647
647
|
return t && p.loc && (p.loc.source = i), p.body = T(d), e.onCacheKey && (p.cacheKey = e.onCacheKey(i)), v.currentType !== 13 && s(d, U.UNEXPECTED_LEXICAL_ANALYSIS, v.lastStartLoc, 0, i[v.offset] || ""), r(p, d.currentOffset(), d.currentPosition()), p;
|
|
648
648
|
}
|
|
649
649
|
return { parse: k };
|
|
@@ -663,9 +663,9 @@ function Rs(e, t = {}) {
|
|
|
663
663
|
}
|
|
664
664
|
function nn(e, t) {
|
|
665
665
|
for (let n = 0; n < e.length; n++)
|
|
666
|
-
|
|
666
|
+
xt(e[n], t);
|
|
667
667
|
}
|
|
668
|
-
function
|
|
668
|
+
function xt(e, t) {
|
|
669
669
|
switch (e.type) {
|
|
670
670
|
case 1:
|
|
671
671
|
nn(e.cases, t), t.helper(
|
|
@@ -677,7 +677,7 @@ function Xt(e, t) {
|
|
|
677
677
|
nn(e.items, t);
|
|
678
678
|
break;
|
|
679
679
|
case 6: {
|
|
680
|
-
|
|
680
|
+
xt(e.key, t), t.helper(
|
|
681
681
|
"linked"
|
|
682
682
|
/* HelperNameMap.LINKED */
|
|
683
683
|
), t.helper(
|
|
@@ -711,7 +711,7 @@ function Cs(e, t = {}) {
|
|
|
711
711
|
n.helper(
|
|
712
712
|
"normalize"
|
|
713
713
|
/* HelperNameMap.NORMALIZE */
|
|
714
|
-
), e.body &&
|
|
714
|
+
), e.body && xt(e.body, n);
|
|
715
715
|
const s = n.context();
|
|
716
716
|
e.helpers = Array.from(s.helpers);
|
|
717
717
|
}
|
|
@@ -732,7 +732,7 @@ function sn(e) {
|
|
|
732
732
|
t.push(s.value);
|
|
733
733
|
}
|
|
734
734
|
if (t.length === e.items.length) {
|
|
735
|
-
e.static =
|
|
735
|
+
e.static = Xt(t);
|
|
736
736
|
for (let n = 0; n < e.items.length; n++) {
|
|
737
737
|
const s = e.items[n];
|
|
738
738
|
(s.type === 3 || s.type === 9) && delete s.value;
|
|
@@ -829,21 +829,21 @@ function As(e, t) {
|
|
|
829
829
|
needIndent: () => c.needIndent
|
|
830
830
|
};
|
|
831
831
|
}
|
|
832
|
-
function
|
|
832
|
+
function Ms(e, t) {
|
|
833
833
|
const { helper: n } = e;
|
|
834
834
|
e.push(`${n(
|
|
835
835
|
"linked"
|
|
836
836
|
/* HelperNameMap.LINKED */
|
|
837
|
-
)}(`),
|
|
837
|
+
)}(`), Me(e, t.key), t.modifier ? (e.push(", "), Me(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
|
|
838
838
|
}
|
|
839
|
-
function
|
|
839
|
+
function Ds(e, t) {
|
|
840
840
|
const { helper: n, needIndent: s } = e;
|
|
841
841
|
e.push(`${n(
|
|
842
842
|
"normalize"
|
|
843
843
|
/* HelperNameMap.NORMALIZE */
|
|
844
844
|
)}([`), e.indent(s());
|
|
845
845
|
const l = t.items.length;
|
|
846
|
-
for (let r = 0; r < l && (
|
|
846
|
+
for (let r = 0; r < l && (Me(e, t.items[r]), r !== l - 1); r++)
|
|
847
847
|
e.push(", ");
|
|
848
848
|
e.deindent(s()), e.push("])");
|
|
849
849
|
}
|
|
@@ -855,15 +855,15 @@ function Ps(e, t) {
|
|
|
855
855
|
/* HelperNameMap.PLURAL */
|
|
856
856
|
)}([`), e.indent(s());
|
|
857
857
|
const l = t.cases.length;
|
|
858
|
-
for (let r = 0; r < l && (
|
|
858
|
+
for (let r = 0; r < l && (Me(e, t.cases[r]), r !== l - 1); r++)
|
|
859
859
|
e.push(", ");
|
|
860
860
|
e.deindent(s()), e.push("])");
|
|
861
861
|
}
|
|
862
862
|
}
|
|
863
863
|
function ws(e, t) {
|
|
864
|
-
t.body ?
|
|
864
|
+
t.body ? Me(e, t.body) : e.push("null");
|
|
865
865
|
}
|
|
866
|
-
function
|
|
866
|
+
function Me(e, t) {
|
|
867
867
|
const { helper: n } = e;
|
|
868
868
|
switch (t.type) {
|
|
869
869
|
case 0:
|
|
@@ -873,10 +873,10 @@ function De(e, t) {
|
|
|
873
873
|
Ps(e, t);
|
|
874
874
|
break;
|
|
875
875
|
case 2:
|
|
876
|
-
|
|
876
|
+
Ds(e, t);
|
|
877
877
|
break;
|
|
878
878
|
case 6:
|
|
879
|
-
|
|
879
|
+
Ms(e, t);
|
|
880
880
|
break;
|
|
881
881
|
case 8:
|
|
882
882
|
e.push(JSON.stringify(t.value), t);
|
|
@@ -919,7 +919,7 @@ const Fs = (e, t = {}) => {
|
|
|
919
919
|
breakLineCode: l,
|
|
920
920
|
needIndent: r
|
|
921
921
|
});
|
|
922
|
-
m.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), m.indent(r), c.length > 0 && (m.push(`const { ${
|
|
922
|
+
m.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), m.indent(r), c.length > 0 && (m.push(`const { ${Xt(c.map((h) => `${h}: _${h}`), ", ")} } = ctx`), m.newline()), m.push("return "), Me(m, e), m.deindent(r), m.push("}"), delete e.helpers;
|
|
923
923
|
const { code: u, map: _ } = m.context();
|
|
924
924
|
return {
|
|
925
925
|
ast: e,
|
|
@@ -929,7 +929,7 @@ const Fs = (e, t = {}) => {
|
|
|
929
929
|
};
|
|
930
930
|
};
|
|
931
931
|
function Us(e, t = {}) {
|
|
932
|
-
const n =
|
|
932
|
+
const n = K({}, t), s = !!n.jit, l = !!n.minify, r = n.optimize == null ? !0 : n.optimize, m = Ls(n).parse(e);
|
|
933
933
|
return s ? (r && Ss(m), l && Ae(m), { ast: m, code: "" }) : (Cs(m, n), Fs(m, n));
|
|
934
934
|
}
|
|
935
935
|
var Vs = { env: { NODE_ENV: "production" } };
|
|
@@ -937,17 +937,17 @@ function Ws() {
|
|
|
937
937
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Te().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Te().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
938
938
|
}
|
|
939
939
|
function Tt(e) {
|
|
940
|
-
return (n) =>
|
|
940
|
+
return (n) => Gs(n, e);
|
|
941
941
|
}
|
|
942
|
-
function
|
|
943
|
-
const n =
|
|
942
|
+
function Gs(e, t) {
|
|
943
|
+
const n = Xs(t);
|
|
944
944
|
if (n == null)
|
|
945
|
-
throw
|
|
945
|
+
throw Xe(
|
|
946
946
|
0
|
|
947
947
|
/* NodeTypes.Resource */
|
|
948
948
|
);
|
|
949
|
-
if (
|
|
950
|
-
const r =
|
|
949
|
+
if (Yt(n) === 1) {
|
|
950
|
+
const r = Ys(n);
|
|
951
951
|
return e.plural(r.reduce((c, m) => [
|
|
952
952
|
...c,
|
|
953
953
|
rn(e, m)
|
|
@@ -955,13 +955,13 @@ function js(e, t) {
|
|
|
955
955
|
} else
|
|
956
956
|
return rn(e, n);
|
|
957
957
|
}
|
|
958
|
-
const
|
|
959
|
-
function
|
|
960
|
-
return ge(e,
|
|
958
|
+
const js = ["b", "body"];
|
|
959
|
+
function Xs(e) {
|
|
960
|
+
return ge(e, js);
|
|
961
961
|
}
|
|
962
|
-
const
|
|
963
|
-
function
|
|
964
|
-
return ge(e,
|
|
962
|
+
const xs = ["c", "cases"];
|
|
963
|
+
function Ys(e) {
|
|
964
|
+
return ge(e, xs, []);
|
|
965
965
|
}
|
|
966
966
|
function rn(e, t) {
|
|
967
967
|
const n = Hs(t);
|
|
@@ -972,70 +972,70 @@ function rn(e, t) {
|
|
|
972
972
|
return e.normalize(s);
|
|
973
973
|
}
|
|
974
974
|
}
|
|
975
|
-
const
|
|
975
|
+
const Zs = ["s", "static"];
|
|
976
976
|
function Hs(e) {
|
|
977
|
-
return ge(e,
|
|
977
|
+
return ge(e, Zs);
|
|
978
978
|
}
|
|
979
979
|
const Bs = ["i", "items"];
|
|
980
980
|
function Js(e) {
|
|
981
981
|
return ge(e, Bs, []);
|
|
982
982
|
}
|
|
983
983
|
function At(e, t) {
|
|
984
|
-
const n =
|
|
984
|
+
const n = Yt(t);
|
|
985
985
|
switch (n) {
|
|
986
986
|
case 3:
|
|
987
|
-
return
|
|
987
|
+
return Qe(t, n);
|
|
988
988
|
case 9:
|
|
989
|
-
return
|
|
989
|
+
return Qe(t, n);
|
|
990
990
|
case 4: {
|
|
991
991
|
const s = t;
|
|
992
992
|
if (ie(s, "k") && s.k)
|
|
993
993
|
return e.interpolate(e.named(s.k));
|
|
994
994
|
if (ie(s, "key") && s.key)
|
|
995
995
|
return e.interpolate(e.named(s.key));
|
|
996
|
-
throw
|
|
996
|
+
throw Xe(n);
|
|
997
997
|
}
|
|
998
998
|
case 5: {
|
|
999
999
|
const s = t;
|
|
1000
|
-
if (ie(s, "i") &&
|
|
1000
|
+
if (ie(s, "i") && z(s.i))
|
|
1001
1001
|
return e.interpolate(e.list(s.i));
|
|
1002
|
-
if (ie(s, "index") &&
|
|
1002
|
+
if (ie(s, "index") && z(s.index))
|
|
1003
1003
|
return e.interpolate(e.list(s.index));
|
|
1004
|
-
throw
|
|
1004
|
+
throw Xe(n);
|
|
1005
1005
|
}
|
|
1006
1006
|
case 6: {
|
|
1007
|
-
const s = t, l =
|
|
1007
|
+
const s = t, l = Qs(s), r = er(s);
|
|
1008
1008
|
return e.linked(At(e, r), l ? At(e, l) : void 0, e.type);
|
|
1009
1009
|
}
|
|
1010
1010
|
case 7:
|
|
1011
|
-
return
|
|
1011
|
+
return Qe(t, n);
|
|
1012
1012
|
case 8:
|
|
1013
|
-
return
|
|
1013
|
+
return Qe(t, n);
|
|
1014
1014
|
default:
|
|
1015
1015
|
throw new Error(`unhandled node on format message part: ${n}`);
|
|
1016
1016
|
}
|
|
1017
1017
|
}
|
|
1018
1018
|
const $s = ["t", "type"];
|
|
1019
|
-
function
|
|
1019
|
+
function Yt(e) {
|
|
1020
1020
|
return ge(e, $s);
|
|
1021
1021
|
}
|
|
1022
|
-
const
|
|
1023
|
-
function
|
|
1024
|
-
const n = ge(e,
|
|
1022
|
+
const zs = ["v", "value"];
|
|
1023
|
+
function Qe(e, t) {
|
|
1024
|
+
const n = ge(e, zs);
|
|
1025
1025
|
if (n)
|
|
1026
1026
|
return n;
|
|
1027
|
-
throw
|
|
1027
|
+
throw Xe(t);
|
|
1028
1028
|
}
|
|
1029
|
-
const
|
|
1030
|
-
function
|
|
1031
|
-
return ge(e,
|
|
1029
|
+
const Ks = ["m", "modifier"];
|
|
1030
|
+
function Qs(e) {
|
|
1031
|
+
return ge(e, Ks);
|
|
1032
1032
|
}
|
|
1033
1033
|
const qs = ["k", "key"];
|
|
1034
1034
|
function er(e) {
|
|
1035
1035
|
const t = ge(e, qs);
|
|
1036
1036
|
if (t)
|
|
1037
1037
|
return t;
|
|
1038
|
-
throw
|
|
1038
|
+
throw Xe(
|
|
1039
1039
|
6
|
|
1040
1040
|
/* NodeTypes.Linked */
|
|
1041
1041
|
);
|
|
@@ -1048,13 +1048,13 @@ function ge(e, t, n) {
|
|
|
1048
1048
|
}
|
|
1049
1049
|
return n;
|
|
1050
1050
|
}
|
|
1051
|
-
function
|
|
1051
|
+
function Xe(e) {
|
|
1052
1052
|
return new Error(`unhandled node type: ${e}`);
|
|
1053
1053
|
}
|
|
1054
1054
|
const tr = (e) => e;
|
|
1055
1055
|
let qe = V();
|
|
1056
|
-
function
|
|
1057
|
-
return F(e) &&
|
|
1056
|
+
function De(e) {
|
|
1057
|
+
return F(e) && Yt(e) === 0 && (ie(e, "b") || ie(e, "body"));
|
|
1058
1058
|
}
|
|
1059
1059
|
function nr(e, t = {}) {
|
|
1060
1060
|
let n = !1;
|
|
@@ -1085,12 +1085,12 @@ function sr(e, t) {
|
|
|
1085
1085
|
return Tt(e);
|
|
1086
1086
|
}
|
|
1087
1087
|
}
|
|
1088
|
-
let
|
|
1088
|
+
let xe = null;
|
|
1089
1089
|
function rr(e) {
|
|
1090
|
-
|
|
1090
|
+
xe = e;
|
|
1091
1091
|
}
|
|
1092
1092
|
function ar(e, t, n) {
|
|
1093
|
-
|
|
1093
|
+
xe && xe.emit("i18n:init", {
|
|
1094
1094
|
timestamp: Date.now(),
|
|
1095
1095
|
i18n: e,
|
|
1096
1096
|
version: t,
|
|
@@ -1099,7 +1099,7 @@ function ar(e, t, n) {
|
|
|
1099
1099
|
}
|
|
1100
1100
|
const lr = /* @__PURE__ */ or("function:translate");
|
|
1101
1101
|
function or(e) {
|
|
1102
|
-
return (t) =>
|
|
1102
|
+
return (t) => xe && xe.emit(e, t);
|
|
1103
1103
|
}
|
|
1104
1104
|
const fe = {
|
|
1105
1105
|
INVALID_ARGUMENT: ps,
|
|
@@ -1113,14 +1113,14 @@ const fe = {
|
|
|
1113
1113
|
function pe(e) {
|
|
1114
1114
|
return ot(e, null, void 0);
|
|
1115
1115
|
}
|
|
1116
|
-
function
|
|
1116
|
+
function Zt(e, t) {
|
|
1117
1117
|
return t.locale != null ? an(t.locale) : an(e.locale);
|
|
1118
1118
|
}
|
|
1119
1119
|
let yt;
|
|
1120
1120
|
function an(e) {
|
|
1121
1121
|
if (R(e))
|
|
1122
1122
|
return e;
|
|
1123
|
-
if (
|
|
1123
|
+
if (Y(e)) {
|
|
1124
1124
|
if (e.resolvedOnce && yt != null)
|
|
1125
1125
|
return yt;
|
|
1126
1126
|
if (e.constructor.name === "Function") {
|
|
@@ -1418,9 +1418,9 @@ function hr(e) {
|
|
|
1418
1418
|
}
|
|
1419
1419
|
};
|
|
1420
1420
|
function C() {
|
|
1421
|
-
const
|
|
1422
|
-
if (s === 5 &&
|
|
1423
|
-
return n++, m = "\\" +
|
|
1421
|
+
const D = e[n + 1];
|
|
1422
|
+
if (s === 5 && D === "'" || s === 6 && D === '"')
|
|
1423
|
+
return n++, m = "\\" + D, g[
|
|
1424
1424
|
0
|
|
1425
1425
|
/* Actions.APPEND */
|
|
1426
1426
|
](), !0;
|
|
@@ -1447,7 +1447,7 @@ function Er(e, t) {
|
|
|
1447
1447
|
let l = e, r = 0;
|
|
1448
1448
|
for (; r < s; ) {
|
|
1449
1449
|
const c = l[n[r]];
|
|
1450
|
-
if (c === void 0 ||
|
|
1450
|
+
if (c === void 0 || Y(l))
|
|
1451
1451
|
return null;
|
|
1452
1452
|
l = c, r++;
|
|
1453
1453
|
}
|
|
@@ -1469,21 +1469,21 @@ let An;
|
|
|
1469
1469
|
function Tr(e) {
|
|
1470
1470
|
An = e;
|
|
1471
1471
|
}
|
|
1472
|
-
let
|
|
1472
|
+
let Mn;
|
|
1473
1473
|
function yr(e) {
|
|
1474
|
-
|
|
1474
|
+
Mn = e;
|
|
1475
1475
|
}
|
|
1476
|
-
let
|
|
1476
|
+
let Dn = null;
|
|
1477
1477
|
const kr = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
1478
|
-
|
|
1479
|
-
}, Or = /* @__NO_SIDE_EFFECTS__ */ () =>
|
|
1478
|
+
Dn = e;
|
|
1479
|
+
}, Or = /* @__NO_SIDE_EFFECTS__ */ () => Dn;
|
|
1480
1480
|
let Pn = null;
|
|
1481
1481
|
const mn = (e) => {
|
|
1482
1482
|
Pn = e;
|
|
1483
1483
|
}, Lr = () => Pn;
|
|
1484
1484
|
let dn = 0;
|
|
1485
1485
|
function Rr(e = {}) {
|
|
1486
|
-
const t =
|
|
1486
|
+
const t = Y(e.onWarn) ? e.onWarn : _s, n = R(e.version) ? e.version : Ir, s = R(e.locale) || Y(e.locale) ? e.locale : rt, l = Y(s) ? rt : s, r = $(e.fallbackLocale) || w(e.fallbackLocale) || R(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = w(e.messages) ? e.messages : kt(l), m = w(e.datetimeFormats) ? e.datetimeFormats : kt(l), u = w(e.numberFormats) ? e.numberFormats : kt(l), _ = K(V(), e.modifiers, Nr()), h = e.pluralRules || V(), E = Y(e.missing) ? e.missing : null, g = J(e.missingWarn) || st(e.missingWarn) ? e.missingWarn : !0, C = J(e.fallbackWarn) || st(e.fallbackWarn) ? e.fallbackWarn : !0, D = !!e.fallbackFormat, T = !!e.unresolving, k = Y(e.postTranslation) ? e.postTranslation : null, i = w(e.processor) ? e.processor : null, d = J(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, v = !!e.escapeParameter, p = Y(e.messageCompiler) ? e.messageCompiler : Sn, O = Y(e.messageResolver) ? e.messageResolver : An || gr, y = Y(e.localeFallbacker) ? e.localeFallbacker : Mn || cr, N = F(e.fallbackContext) ? e.fallbackContext : void 0, X = e, j = F(X.__datetimeFormatters) ? X.__datetimeFormatters : /* @__PURE__ */ new Map(), M = F(X.__numberFormatters) ? X.__numberFormatters : /* @__PURE__ */ new Map(), S = F(X.__meta) ? X.__meta : {};
|
|
1487
1487
|
dn++;
|
|
1488
1488
|
const L = {
|
|
1489
1489
|
version: n,
|
|
@@ -1496,7 +1496,7 @@ function Rr(e = {}) {
|
|
|
1496
1496
|
missing: E,
|
|
1497
1497
|
missingWarn: g,
|
|
1498
1498
|
fallbackWarn: C,
|
|
1499
|
-
fallbackFormat:
|
|
1499
|
+
fallbackFormat: D,
|
|
1500
1500
|
unresolving: T,
|
|
1501
1501
|
postTranslation: k,
|
|
1502
1502
|
processor: i,
|
|
@@ -1509,7 +1509,7 @@ function Rr(e = {}) {
|
|
|
1509
1509
|
onWarn: t,
|
|
1510
1510
|
__meta: S
|
|
1511
1511
|
};
|
|
1512
|
-
return L.datetimeFormats = m, L.numberFormats = u, L.__datetimeFormatters =
|
|
1512
|
+
return L.datetimeFormats = m, L.numberFormats = u, L.__datetimeFormatters = j, L.__numberFormatters = M, __INTLIFY_PROD_DEVTOOLS__ && ar(L, n, S), L;
|
|
1513
1513
|
}
|
|
1514
1514
|
const kt = (e) => ({ [e]: V() });
|
|
1515
1515
|
function Ht(e, t, n, s, l) {
|
|
@@ -1537,16 +1537,16 @@ function Sr(e, t) {
|
|
|
1537
1537
|
return !1;
|
|
1538
1538
|
}
|
|
1539
1539
|
function _n(e, ...t) {
|
|
1540
|
-
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: r, localeFallbacker: c } = e, { __datetimeFormatters: m } = e, [u, _, h, E] =
|
|
1540
|
+
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: r, localeFallbacker: c } = e, { __datetimeFormatters: m } = e, [u, _, h, E] = Mt(...t), g = J(h.missingWarn) ? h.missingWarn : e.missingWarn;
|
|
1541
1541
|
J(h.fallbackWarn) ? h.fallbackWarn : e.fallbackWarn;
|
|
1542
|
-
const C = !!h.part,
|
|
1542
|
+
const C = !!h.part, D = Zt(e, h), T = c(
|
|
1543
1543
|
e,
|
|
1544
1544
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1545
1545
|
l,
|
|
1546
|
-
|
|
1546
|
+
D
|
|
1547
1547
|
);
|
|
1548
1548
|
if (!R(u) || u === "")
|
|
1549
|
-
return new Intl.DateTimeFormat(
|
|
1549
|
+
return new Intl.DateTimeFormat(D, E).format(_);
|
|
1550
1550
|
let k = {}, i, d = null;
|
|
1551
1551
|
const v = "datetime format";
|
|
1552
1552
|
for (let y = 0; y < T.length && (i = T[y], k = n[i] || {}, d = k[u], !w(d)); y++)
|
|
@@ -1556,7 +1556,7 @@ function _n(e, ...t) {
|
|
|
1556
1556
|
let p = `${i}__${u}`;
|
|
1557
1557
|
lt(E) || (p = `${p}__${JSON.stringify(E)}`);
|
|
1558
1558
|
let O = m.get(p);
|
|
1559
|
-
return O || (O = new Intl.DateTimeFormat(i,
|
|
1559
|
+
return O || (O = new Intl.DateTimeFormat(i, K({}, d, E)), m.set(p, O)), C ? O.formatToParts(_) : O.format(_);
|
|
1560
1560
|
}
|
|
1561
1561
|
const wn = [
|
|
1562
1562
|
"localeMatcher",
|
|
@@ -1580,7 +1580,7 @@ const wn = [
|
|
|
1580
1580
|
"hourCycle",
|
|
1581
1581
|
"fractionalSecondDigits"
|
|
1582
1582
|
];
|
|
1583
|
-
function
|
|
1583
|
+
function Mt(...e) {
|
|
1584
1584
|
const [t, n, s, l] = e, r = V();
|
|
1585
1585
|
let c = V(), m;
|
|
1586
1586
|
if (R(t)) {
|
|
@@ -1598,7 +1598,7 @@ function Dt(...e) {
|
|
|
1598
1598
|
if (isNaN(t.getTime()))
|
|
1599
1599
|
throw pe(fe.INVALID_DATE_ARGUMENT);
|
|
1600
1600
|
m = t;
|
|
1601
|
-
} else if (
|
|
1601
|
+
} else if (z(t))
|
|
1602
1602
|
m = t;
|
|
1603
1603
|
else
|
|
1604
1604
|
throw pe(fe.INVALID_ARGUMENT);
|
|
@@ -1614,16 +1614,16 @@ function fn(e, t, n) {
|
|
|
1614
1614
|
}
|
|
1615
1615
|
}
|
|
1616
1616
|
function pn(e, ...t) {
|
|
1617
|
-
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: r, localeFallbacker: c } = e, { __numberFormatters: m } = e, [u, _, h, E] =
|
|
1617
|
+
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: r, localeFallbacker: c } = e, { __numberFormatters: m } = e, [u, _, h, E] = Dt(...t), g = J(h.missingWarn) ? h.missingWarn : e.missingWarn;
|
|
1618
1618
|
J(h.fallbackWarn) ? h.fallbackWarn : e.fallbackWarn;
|
|
1619
|
-
const C = !!h.part,
|
|
1619
|
+
const C = !!h.part, D = Zt(e, h), T = c(
|
|
1620
1620
|
e,
|
|
1621
1621
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1622
1622
|
l,
|
|
1623
|
-
|
|
1623
|
+
D
|
|
1624
1624
|
);
|
|
1625
1625
|
if (!R(u) || u === "")
|
|
1626
|
-
return new Intl.NumberFormat(
|
|
1626
|
+
return new Intl.NumberFormat(D, E).format(_);
|
|
1627
1627
|
let k = {}, i, d = null;
|
|
1628
1628
|
const v = "number format";
|
|
1629
1629
|
for (let y = 0; y < T.length && (i = T[y], k = n[i] || {}, d = k[u], !w(d)); y++)
|
|
@@ -1633,7 +1633,7 @@ function pn(e, ...t) {
|
|
|
1633
1633
|
let p = `${i}__${u}`;
|
|
1634
1634
|
lt(E) || (p = `${p}__${JSON.stringify(E)}`);
|
|
1635
1635
|
let O = m.get(p);
|
|
1636
|
-
return O || (O = new Intl.NumberFormat(i,
|
|
1636
|
+
return O || (O = new Intl.NumberFormat(i, K({}, d, E)), m.set(p, O)), C ? O.formatToParts(_) : O.format(_);
|
|
1637
1637
|
}
|
|
1638
1638
|
const Fn = [
|
|
1639
1639
|
"localeMatcher",
|
|
@@ -1657,10 +1657,10 @@ const Fn = [
|
|
|
1657
1657
|
"roundingIncrement",
|
|
1658
1658
|
"trailingZeroDisplay"
|
|
1659
1659
|
];
|
|
1660
|
-
function
|
|
1660
|
+
function Dt(...e) {
|
|
1661
1661
|
const [t, n, s, l] = e, r = V();
|
|
1662
1662
|
let c = V();
|
|
1663
|
-
if (!
|
|
1663
|
+
if (!z(t))
|
|
1664
1664
|
throw pe(fe.INVALID_ARGUMENT);
|
|
1665
1665
|
const m = t;
|
|
1666
1666
|
return R(n) ? r.key = n : w(n) && Object.keys(n).forEach((u) => {
|
|
@@ -1674,26 +1674,26 @@ function bn(e, t, n) {
|
|
|
1674
1674
|
s.__numberFormatters.has(r) && s.__numberFormatters.delete(r);
|
|
1675
1675
|
}
|
|
1676
1676
|
}
|
|
1677
|
-
const Ar = (e) => e,
|
|
1677
|
+
const Ar = (e) => e, Mr = (e) => "", Dr = "text", Pr = (e) => e.length === 0 ? "" : Xt(e), wr = ds;
|
|
1678
1678
|
function hn(e, t) {
|
|
1679
1679
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1680
1680
|
}
|
|
1681
1681
|
function Fr(e) {
|
|
1682
|
-
const t =
|
|
1683
|
-
return e.named && (
|
|
1682
|
+
const t = z(e.pluralIndex) ? e.pluralIndex : -1;
|
|
1683
|
+
return e.named && (z(e.named.count) || z(e.named.n)) ? z(e.named.count) ? e.named.count : z(e.named.n) ? e.named.n : t : t;
|
|
1684
1684
|
}
|
|
1685
1685
|
function Ur(e, t) {
|
|
1686
1686
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1687
1687
|
}
|
|
1688
1688
|
function Vr(e = {}) {
|
|
1689
|
-
const t = e.locale, n = Fr(e), s = F(e.pluralRules) && R(t) &&
|
|
1690
|
-
|
|
1689
|
+
const t = e.locale, n = Fr(e), s = F(e.pluralRules) && R(t) && Y(e.pluralRules[t]) ? e.pluralRules[t] : hn, l = F(e.pluralRules) && R(t) && Y(e.pluralRules[t]) ? hn : void 0, r = (i) => i[s(n, i.length, l)], c = e.list || [], m = (i) => c[i], u = e.named || V();
|
|
1690
|
+
z(e.pluralIndex) && Ur(n, u);
|
|
1691
1691
|
const _ = (i) => u[i];
|
|
1692
1692
|
function h(i, d) {
|
|
1693
|
-
const v =
|
|
1694
|
-
return v || (e.parent ? e.parent.message(i) :
|
|
1693
|
+
const v = Y(e.messages) ? e.messages(i, !!d) : F(e.messages) ? e.messages[i] : !1;
|
|
1694
|
+
return v || (e.parent ? e.parent.message(i) : Mr);
|
|
1695
1695
|
}
|
|
1696
|
-
const E = (i) => e.modifiers ? e.modifiers[i] : Ar, g = w(e.processor) &&
|
|
1696
|
+
const E = (i) => e.modifiers ? e.modifiers[i] : Ar, g = w(e.processor) && Y(e.processor.normalize) ? e.processor.normalize : Pr, C = w(e.processor) && Y(e.processor.interpolate) ? e.processor.interpolate : wr, D = w(e.processor) && R(e.processor.type) ? e.processor.type : Dr, k = {
|
|
1697
1697
|
list: m,
|
|
1698
1698
|
named: _,
|
|
1699
1699
|
plural: r,
|
|
@@ -1701,47 +1701,47 @@ function Vr(e = {}) {
|
|
|
1701
1701
|
const [v, p] = d;
|
|
1702
1702
|
let O = "text", y = "";
|
|
1703
1703
|
d.length === 1 ? F(v) ? (y = v.modifier || y, O = v.type || O) : R(v) && (y = v || y) : d.length === 2 && (R(v) && (y = v || y), R(p) && (O = p || O));
|
|
1704
|
-
const N = h(i, !0)(k),
|
|
1704
|
+
const N = h(i, !0)(k), X = (
|
|
1705
1705
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1706
1706
|
O === "vnode" && $(N) && y ? N[0] : N
|
|
1707
1707
|
);
|
|
1708
|
-
return y ? E(y)(
|
|
1708
|
+
return y ? E(y)(X, O) : X;
|
|
1709
1709
|
},
|
|
1710
1710
|
message: h,
|
|
1711
|
-
type:
|
|
1711
|
+
type: D,
|
|
1712
1712
|
interpolate: C,
|
|
1713
1713
|
normalize: g,
|
|
1714
|
-
values:
|
|
1714
|
+
values: K(V(), c, u)
|
|
1715
1715
|
};
|
|
1716
1716
|
return k;
|
|
1717
1717
|
}
|
|
1718
|
-
const gn = () => "", ae = (e) =>
|
|
1718
|
+
const gn = () => "", ae = (e) => Y(e);
|
|
1719
1719
|
function En(e, ...t) {
|
|
1720
|
-
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: r, fallbackLocale: c, messages: m } = e, [u, _] = Pt(...t), h = J(_.missingWarn) ? _.missingWarn : e.missingWarn, E = J(_.fallbackWarn) ? _.fallbackWarn : e.fallbackWarn, g = J(_.escapeParameter) ? _.escapeParameter : e.escapeParameter, C = !!_.resolvedMessage,
|
|
1720
|
+
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: r, fallbackLocale: c, messages: m } = e, [u, _] = Pt(...t), h = J(_.missingWarn) ? _.missingWarn : e.missingWarn, E = J(_.fallbackWarn) ? _.fallbackWarn : e.fallbackWarn, g = J(_.escapeParameter) ? _.escapeParameter : e.escapeParameter, C = !!_.resolvedMessage, D = R(_.default) || J(_.default) ? J(_.default) ? r ? u : () => u : _.default : n ? r ? u : () => u : null, T = n || D != null && (R(D) || Y(D)), k = Zt(e, _);
|
|
1721
1721
|
g && Wr(_);
|
|
1722
1722
|
let [i, d, v] = C ? [
|
|
1723
1723
|
u,
|
|
1724
1724
|
k,
|
|
1725
1725
|
m[k] || V()
|
|
1726
1726
|
] : Un(e, u, k, c, E, h), p = i, O = u;
|
|
1727
|
-
if (!C && !(R(p) ||
|
|
1727
|
+
if (!C && !(R(p) || De(p) || ae(p)) && T && (p = D, O = p), !C && (!(R(p) || De(p) || ae(p)) || !R(d)))
|
|
1728
1728
|
return l ? it : u;
|
|
1729
1729
|
let y = !1;
|
|
1730
1730
|
const N = () => {
|
|
1731
1731
|
y = !0;
|
|
1732
|
-
},
|
|
1732
|
+
}, X = ae(p) ? p : Vn(e, u, d, p, O, N);
|
|
1733
1733
|
if (y)
|
|
1734
1734
|
return p;
|
|
1735
|
-
const
|
|
1735
|
+
const j = Xr(e, d, v, _), M = Vr(j), S = Gr(e, X, M), L = s ? s(S, u) : S;
|
|
1736
1736
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1737
|
-
const
|
|
1737
|
+
const x = {
|
|
1738
1738
|
timestamp: Date.now(),
|
|
1739
1739
|
key: R(u) ? u : ae(p) ? p.key : "",
|
|
1740
1740
|
locale: d || (ae(p) ? p.locale : ""),
|
|
1741
1741
|
format: R(p) ? p : ae(p) ? p.source : "",
|
|
1742
1742
|
message: L
|
|
1743
1743
|
};
|
|
1744
|
-
|
|
1744
|
+
x.meta = K({}, e.__meta, /* @__PURE__ */ Or() || {}), lr(x);
|
|
1745
1745
|
}
|
|
1746
1746
|
return L;
|
|
1747
1747
|
}
|
|
@@ -1753,8 +1753,8 @@ function Wr(e) {
|
|
|
1753
1753
|
function Un(e, t, n, s, l, r) {
|
|
1754
1754
|
const { messages: c, onWarn: m, messageResolver: u, localeFallbacker: _ } = e, h = _(e, s, n);
|
|
1755
1755
|
let E = V(), g, C = null;
|
|
1756
|
-
const
|
|
1757
|
-
for (let T = 0; T < h.length && (g = h[T], E = c[g] || V(), (C = u(E, t)) === null && (C = E[t]), !(R(C) ||
|
|
1756
|
+
const D = "translate";
|
|
1757
|
+
for (let T = 0; T < h.length && (g = h[T], E = c[g] || V(), (C = u(E, t)) === null && (C = E[t]), !(R(C) || De(C) || ae(C))); T++)
|
|
1758
1758
|
if (!Sr(g, h)) {
|
|
1759
1759
|
const k = Ht(
|
|
1760
1760
|
e,
|
|
@@ -1762,7 +1762,7 @@ function Un(e, t, n, s, l, r) {
|
|
|
1762
1762
|
t,
|
|
1763
1763
|
g,
|
|
1764
1764
|
r,
|
|
1765
|
-
|
|
1765
|
+
D
|
|
1766
1766
|
);
|
|
1767
1767
|
k !== t && (C = k);
|
|
1768
1768
|
}
|
|
@@ -1778,20 +1778,20 @@ function Vn(e, t, n, s, l, r) {
|
|
|
1778
1778
|
const _ = () => s;
|
|
1779
1779
|
return _.locale = n, _.key = t, _;
|
|
1780
1780
|
}
|
|
1781
|
-
const u = c(s,
|
|
1781
|
+
const u = c(s, jr(e, n, l, s, m, r));
|
|
1782
1782
|
return u.locale = n, u.key = t, u.source = s, u;
|
|
1783
1783
|
}
|
|
1784
|
-
function
|
|
1784
|
+
function Gr(e, t, n) {
|
|
1785
1785
|
return t(n);
|
|
1786
1786
|
}
|
|
1787
1787
|
function Pt(...e) {
|
|
1788
1788
|
const [t, n, s] = e, l = V();
|
|
1789
|
-
if (!R(t) && !
|
|
1789
|
+
if (!R(t) && !z(t) && !ae(t) && !De(t))
|
|
1790
1790
|
throw pe(fe.INVALID_ARGUMENT);
|
|
1791
|
-
const r =
|
|
1792
|
-
return
|
|
1791
|
+
const r = z(t) ? String(t) : (ae(t), t);
|
|
1792
|
+
return z(n) ? l.plural = n : R(n) ? l.default = n : w(n) && !lt(n) ? l.named = n : $(n) && (l.list = n), z(s) ? l.plural = s : R(s) ? l.default = s : w(s) && K(l, s), [r, l];
|
|
1793
1793
|
}
|
|
1794
|
-
function
|
|
1794
|
+
function jr(e, t, n, s, l, r) {
|
|
1795
1795
|
return {
|
|
1796
1796
|
locale: t,
|
|
1797
1797
|
key: n,
|
|
@@ -1802,14 +1802,14 @@ function Gr(e, t, n, s, l, r) {
|
|
|
1802
1802
|
onCacheKey: (c) => ls(t, n, c)
|
|
1803
1803
|
};
|
|
1804
1804
|
}
|
|
1805
|
-
function
|
|
1805
|
+
function Xr(e, t, n, s) {
|
|
1806
1806
|
const { modifiers: l, pluralRules: r, messageResolver: c, fallbackLocale: m, fallbackWarn: u, missingWarn: _, fallbackContext: h } = e, g = {
|
|
1807
1807
|
locale: t,
|
|
1808
1808
|
modifiers: l,
|
|
1809
1809
|
pluralRules: r,
|
|
1810
|
-
messages: (C,
|
|
1810
|
+
messages: (C, D) => {
|
|
1811
1811
|
let T = c(n, C);
|
|
1812
|
-
if (T == null && (h ||
|
|
1812
|
+
if (T == null && (h || D)) {
|
|
1813
1813
|
const [, , k] = Un(
|
|
1814
1814
|
h || e,
|
|
1815
1815
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
@@ -1821,7 +1821,7 @@ function xr(e, t, n, s) {
|
|
|
1821
1821
|
);
|
|
1822
1822
|
T = c(k, C);
|
|
1823
1823
|
}
|
|
1824
|
-
if (R(T) ||
|
|
1824
|
+
if (R(T) || De(T)) {
|
|
1825
1825
|
let k = !1;
|
|
1826
1826
|
const d = Vn(e, C, t, T, C, () => {
|
|
1827
1827
|
k = !0;
|
|
@@ -1830,12 +1830,12 @@ function xr(e, t, n, s) {
|
|
|
1830
1830
|
} else return ae(T) ? T : gn;
|
|
1831
1831
|
}
|
|
1832
1832
|
};
|
|
1833
|
-
return e.processor && (g.processor = e.processor), s.list && (g.list = s.list), s.named && (g.named = s.named),
|
|
1833
|
+
return e.processor && (g.processor = e.processor), s.list && (g.list = s.list), s.named && (g.named = s.named), z(s.plural) && (g.pluralIndex = s.plural), g;
|
|
1834
1834
|
}
|
|
1835
1835
|
Ws();
|
|
1836
|
-
var Xr = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_916ce878-bb96-4fa1-b58c-e901ea5cde5e", 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_916ce878-bb96-4fa1-b58c-e901ea5cde5e", 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.3.1", 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: "1893", ACTIONS_ORCHESTRATION_ID: "8c3257ea-a23c-46cf-a96f-5d9cc8c61911.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: "20260302.42.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:15431", 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.7/x64", GITHUB_RUN_ID: "22706547258", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "36c07992094c1bb8d107416587327d632efbfe7e", 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.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9LREktMzk2Ny1yb2xlLWJhc2VkLXBlcm1pc3Npb24tc2V0XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzcyNzE2NzAzLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3NzI2OTQ1MDQsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiIwMGRmNzA3Yy1hMmE5LTUxZDEtYjU1Yy0xNjE4MDU2YWVmNGIiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3NzI2OTQyMDQsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwianVuLWxlZS1mZWVkbWVcIixcImFjdG9yX2lkXCI6XCIyMzkyODI4NjJcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiNjU4MzQ2MjIxMTFcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcImYwOTg2ZThlOGRmZjQ1YmQ1N2M0NjYzNWJiZDYyMjc1ZmExOWU3MzFcIixcInJlZlwiOlwicmVmcy9oZWFkcy9LREktMzk2Ny1yb2xlLWJhc2VkLXBlcm1pc3Npb24tc2V0XCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjIyNzA2NTQ3MjU4XCIsXCJydW5fbnVtYmVyXCI6XCI0XCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIixcInNoYVwiOlwiMzZjMDc5OTIwOTRjMWJiOGQxMDc0MTY1ODczMjdkNjMyZWZiZmU3ZVwiLFwid29ya2Zsb3dcIjpcIlB1Ymxpc2ggaHJtLXBvcnRhbFwiLFwid29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ocm0tcG9ydGFsLXRydXN0ZWQueW1sQHJlZnMvaGVhZHMvS0RJLTM5Njctcm9sZS1iYXNlZC1wZXJtaXNzaW9uLXNldFwiLFwid29ya2Zsb3dfc2hhXCI6XCIzNmMwNzk5MjA5NGMxYmI4ZDEwNzQxNjU4NzMyN2Q2MzJlZmJmZTdlXCJ9Iiwib2lkY19zdWIiOiJyZXBvOmZlZWRtZXBvcy9ocm0tc2VydmljZTpyZWY6cmVmcy9oZWFkcy9LREktMzk2Ny1yb2xlLWJhc2VkLXBlcm1pc3Npb24tc2V0Iiwib3JjaF9pZCI6IjhjMzI1N2VhLWEyM2MtNDZjZi1hOTZmLTVkOWNjOGM2MTkxMS5wdWJsaXNoLnB1Ymxpc2guX19kZWZhdWx0Iiwib3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJwbGFuX2lkIjoiOGMzMjU3ZWEtYTIzYy00NmNmLWE5NmYtNWQ5Y2M4YzYxOTExIiwicmVwb3NpdG9yeV9pZCI6IjExMjQ2NzIyMzUiLCJydW5faWQiOiIyMjcwNjU0NzI1OCIsInJ1bl9udW1iZXIiOiI0IiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDA1MDk4MyIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOjhjMzI1N2VhLWEyM2MtNDZjZi1hOTZmLTVkOWNjOGM2MTkxMTowMGRmNzA3Yy1hMmE5LTUxZDEtYjU1Yy0xNjE4MDU2YWVmNGIgQWN0aW9ucy5SdW5uZXI6OGMzMjU3ZWEtYTIzYy00NmNmLWE5NmYtNWQ5Y2M4YzYxOTExOjAwZGY3MDdjLWEyYTktNTFkMS1iNTVjLTE2MTgwNTZhZWY0YiBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czo4YzMyNTdlYS1hMjNjLTQ2Y2YtYTk2Zi01ZDljYzhjNjE5MTE6MDBkZjcwN2MtYTJhOS01MWQxLWI1NWMtMTYxODA1NmFlZjRiIGdlbmVyYXRlX2lkX3Rva2VuOjhjMzI1N2VhLWEyM2MtNDZjZi1hOTZmLTVkOWNjOGM2MTkxMTowMGRmNzA3Yy1hMmE5LTUxZDEtYjU1Yy0xNjE4MDU2YWVmNGIgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiIzNmMwNzk5MjA5NGMxYmI4ZDEwNzQxNjU4NzMyN2Q2MzJlZmJmZTdlIiwidHJ1c3RfdGllciI6IjEifQ.G0ihkp905her38BlJHJnfK6gx7BxRdBTJXewLfek_g89tLvbS0NL2EdO3W8DaC2CMh9e9OXQTX1_EBHH-VINQwuEYeqJjhHGz-4M_lMx3T1N19GwFbHPnZ-zmcy_8FYWrXIe0vmRm7MGMRnRx91Q5W4YU6DgF1MDhFx7qVuLLSC0sGkJsrIFOf-YZUgX7mJUz_jCfQ60jLxDdoV1DfrhcxFvDaxEbLxZqG3k431gdY3fyOD7cPzajP6LYVrr0hMkggRy2c26hay5rENbsVq9IXtv4PbJzkWS6Yoyv4_GJtT09jgU-ResswMro1gtQP01qwQh9snHVja68TiM9tKVdw", 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_b9d6a796-b38e-4266-b74f-afd55ea87c59", INVOCATION_ID: "c532e4ebf6214b619e1ebd2b2f5b8254", 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: "4", 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 1000050983", 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.2-dev", 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: "36c07992094c1bb8d107416587327d632efbfe7e", 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_916ce878-bb96-4fa1-b58c-e901ea5cde5e", 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-3-azure-eastus.actions.githubusercontent.com/89//idtoken/8c3257ea-a23c-46cf-a96f-5d9cc8c61911/00df707c-a2a9-51d1-b55c-1618056aef4b?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_916ce878-bb96-4fa1-b58c-e901ea5cde5e", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", 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_916ce878-bb96-4fa1-b58c-e901ea5cde5e", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1837
|
-
const
|
|
1838
|
-
function
|
|
1836
|
+
var xr = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_2bbf9f3a-61df-422d-8bd1-9bd7917476c0", 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_2bbf9f3a-61df-422d-8bd1-9bd7917476c0", 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.3.1", 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: "1865", ACTIONS_ORCHESTRATION_ID: "b84366a6-3852-4576-a9d7-6046d610c6f7.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: "20260302.42.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:13508", 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.7/x64", GITHUB_RUN_ID: "22948853199", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "af28d13206f2353876560ade29e8a0b39418a658", 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.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9LREktMzk2Ny1yb2xlLWJhc2VkLXBlcm1pc3Npb24tc2V0XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzczMjQ4Mjk5LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3NzMyMjYwOTksImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiIzMjNhMTI4YS1iNTc1LTUxMzYtYTIxMS02MzIzMzVmMjYwNmUiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3NzMyMjU3OTksIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwianVuLWxlZS1mZWVkbWVcIixcImFjdG9yX2lkXCI6XCIyMzkyODI4NjJcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiNjY2MDgxMTAwMDZcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcImYwOTg2ZThlOGRmZjQ1YmQ1N2M0NjYzNWJiZDYyMjc1ZmExOWU3MzFcIixcInJlZlwiOlwicmVmcy9oZWFkcy9LREktMzk2Ny1yb2xlLWJhc2VkLXBlcm1pc3Npb24tc2V0XCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjIyOTQ4ODUzMTk5XCIsXCJydW5fbnVtYmVyXCI6XCIxNVwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcImFmMjhkMTMyMDZmMjM1Mzg3NjU2MGFkZTI5ZThhMGIzOTQxOGE2NThcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL0tESS0zOTY3LXJvbGUtYmFzZWQtcGVybWlzc2lvbi1zZXRcIixcIndvcmtmbG93X3NoYVwiOlwiYWYyOGQxMzIwNmYyMzUzODc2NTYwYWRlMjllOGEwYjM5NDE4YTY1OFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvaHJtLXNlcnZpY2U6cmVmOnJlZnMvaGVhZHMvS0RJLTM5Njctcm9sZS1iYXNlZC1wZXJtaXNzaW9uLXNldCIsIm9yY2hfaWQiOiJiODQzNjZhNi0zODUyLTQ1NzYtYTlkNy02MDQ2ZDYxMGM2ZjcucHVibGlzaC5wdWJsaXNoLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6ImI4NDM2NmE2LTM4NTItNDU3Ni1hOWQ3LTYwNDZkNjEwYzZmNyIsInJlcG9zaXRvcnlfaWQiOiIxMTI0NjcyMjM1IiwicnVuX2lkIjoiMjI5NDg4NTMxOTkiLCJydW5fbnVtYmVyIjoiMTUiLCJydW5fdHlwZSI6ImZ1bGwiLCJydW5uZXJfaWQiOiIxMDAwMDUyNjUyIiwicnVubmVyX3R5cGUiOiJob3N0ZWQiLCJzY3AiOiJBY3Rpb25zLlJlc3VsdHM6Yjg0MzY2YTYtMzg1Mi00NTc2LWE5ZDctNjA0NmQ2MTBjNmY3OjMyM2ExMjhhLWI1NzUtNTEzNi1hMjExLTYzMjMzNWYyNjA2ZSBBY3Rpb25zLlJ1bm5lcjpiODQzNjZhNi0zODUyLTQ1NzYtYTlkNy02MDQ2ZDYxMGM2Zjc6MzIzYTEyOGEtYjU3NS01MTM2LWEyMTEtNjMyMzM1ZjI2MDZlIEFjdGlvbnMuVXBsb2FkQXJ0aWZhY3RzOmI4NDM2NmE2LTM4NTItNDU3Ni1hOWQ3LTYwNDZkNjEwYzZmNzozMjNhMTI4YS1iNTc1LTUxMzYtYTIxMS02MzIzMzVmMjYwNmUgZ2VuZXJhdGVfaWRfdG9rZW46Yjg0MzY2YTYtMzg1Mi00NTc2LWE5ZDctNjA0NmQ2MTBjNmY3OjMyM2ExMjhhLWI1NzUtNTEzNi1hMjExLTYzMjMzNWYyNjA2ZSBBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInNoYSI6ImFmMjhkMTMyMDZmMjM1Mzg3NjU2MGFkZTI5ZThhMGIzOTQxOGE2NTgiLCJ0cnVzdF90aWVyIjoiMSJ9.zE9BmmynvqtRwlGeKtxvErS_u87xGHWrErZyl16tKth8i_jpJqiFgsZp-DvsnAMAHZA9tFfgMECGhWoes9IjVGxCfPIqmQ4GOMVixzUn2eOjYko5HU5UWU9lxLUc3p_P8u1QmAGgy1eKI3hWGiOMhovIieP_YbftZzh0U6E0tsIVvpGKcebY1uMDSf9D9pH8Sivyi5tN2AFr76TU0AJ26VHi4VfyFVvKRVZAXzkCr5o0kjz7gW27RO_YX5bzUaNqAn3hg4PpjXSyTFyh5zMA9j0tF6fPzzx0IZ0eCrC6MQWlTNfAvTMgzshko_lCnLESiM3ttd_ojY3DGdq21ep6IA", 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_ec88dc8b-5b63-4eb3-b4ff-4dfeb4f7f996", INVOCATION_ID: "bfd8e7a56ccf4b5d92fc7828bd802435", 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: "15", 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 1000052652", 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.1", 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: "af28d13206f2353876560ade29e8a0b39418a658", 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_2bbf9f3a-61df-422d-8bd1-9bd7917476c0", 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/186//idtoken/b84366a6-3852-4576-a9d7-6046d610c6f7/323a128a-b575-5136-a211-632335f2606e?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_2bbf9f3a-61df-422d-8bd1-9bd7917476c0", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", 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_2bbf9f3a-61df-422d-8bd1-9bd7917476c0", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1837
|
+
const Yr = "10.0.5";
|
|
1838
|
+
function Zr() {
|
|
1839
1839
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Te().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Te().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Te().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Te().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
1840
1840
|
}
|
|
1841
1841
|
const Pe = {
|
|
@@ -1851,17 +1851,17 @@ const Pe = {
|
|
|
1851
1851
|
// unexpected error
|
|
1852
1852
|
UNEXPECTED_ERROR: 32
|
|
1853
1853
|
};
|
|
1854
|
-
function
|
|
1854
|
+
function Ye(e, ...t) {
|
|
1855
1855
|
return ot(e, null, void 0);
|
|
1856
1856
|
}
|
|
1857
1857
|
const wt = /* @__PURE__ */ Oe("__translateVNode"), Ft = /* @__PURE__ */ Oe("__datetimeParts"), Ut = /* @__PURE__ */ Oe("__numberParts"), Hr = Oe("__setPluralRules"), Wn = /* @__PURE__ */ Oe("__injectWithOption"), Vt = /* @__PURE__ */ Oe("__dispose");
|
|
1858
|
-
function
|
|
1858
|
+
function Ze(e) {
|
|
1859
1859
|
if (!F(e))
|
|
1860
1860
|
return e;
|
|
1861
1861
|
for (const t in e)
|
|
1862
1862
|
if (ie(e, t))
|
|
1863
1863
|
if (!t.includes("."))
|
|
1864
|
-
F(e[t]) &&
|
|
1864
|
+
F(e[t]) && Ze(e[t]);
|
|
1865
1865
|
else {
|
|
1866
1866
|
const n = t.split("."), s = n.length - 1;
|
|
1867
1867
|
let l = e, r = !1;
|
|
@@ -1872,11 +1872,11 @@ function Ye(e) {
|
|
|
1872
1872
|
}
|
|
1873
1873
|
l = l[n[c]];
|
|
1874
1874
|
}
|
|
1875
|
-
r || (l[n[s]] = e[t], delete e[t]), F(l[n[s]]) &&
|
|
1875
|
+
r || (l[n[s]] = e[t], delete e[t]), F(l[n[s]]) && Ze(l[n[s]]);
|
|
1876
1876
|
}
|
|
1877
1877
|
return e;
|
|
1878
1878
|
}
|
|
1879
|
-
function
|
|
1879
|
+
function Gn(e, t) {
|
|
1880
1880
|
const { messages: n, __i18n: s, messageResolver: l, flatJson: r } = t, c = w(n) ? n : $(s) ? V() : { [e]: V() };
|
|
1881
1881
|
if ($(s) && s.forEach((m) => {
|
|
1882
1882
|
if ("locale" in m && "resource" in m) {
|
|
@@ -1886,15 +1886,15 @@ function jn(e, t) {
|
|
|
1886
1886
|
R(m) && nt(JSON.parse(m), c);
|
|
1887
1887
|
}), l == null && r)
|
|
1888
1888
|
for (const m in c)
|
|
1889
|
-
ie(c, m) &&
|
|
1889
|
+
ie(c, m) && Ze(c[m]);
|
|
1890
1890
|
return c;
|
|
1891
1891
|
}
|
|
1892
|
-
function
|
|
1892
|
+
function jn(e) {
|
|
1893
1893
|
return e.type;
|
|
1894
1894
|
}
|
|
1895
1895
|
function Br(e, t, n) {
|
|
1896
1896
|
let s = F(t.messages) ? t.messages : V();
|
|
1897
|
-
"__i18nGlobal" in n && (s =
|
|
1897
|
+
"__i18nGlobal" in n && (s = Gn(e.locale.value, {
|
|
1898
1898
|
messages: s,
|
|
1899
1899
|
__i18n: n.__i18nGlobal
|
|
1900
1900
|
}));
|
|
@@ -1928,10 +1928,10 @@ function yn(e) {
|
|
|
1928
1928
|
const $r = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
1929
1929
|
const e = Wt();
|
|
1930
1930
|
let t = null;
|
|
1931
|
-
return e && (t =
|
|
1931
|
+
return e && (t = jn(e)[Nn]) ? { [Nn]: t } : null;
|
|
1932
1932
|
};
|
|
1933
|
-
function
|
|
1934
|
-
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, r =
|
|
1933
|
+
function zr(e = {}) {
|
|
1934
|
+
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, r = Qt ? ye : Hn;
|
|
1935
1935
|
let c = J(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1936
1936
|
const m = r(
|
|
1937
1937
|
// prettier-ignore
|
|
@@ -1939,14 +1939,14 @@ function Kr(e = {}) {
|
|
|
1939
1939
|
), u = r(
|
|
1940
1940
|
// prettier-ignore
|
|
1941
1941
|
t && c ? t.fallbackLocale.value : R(e.fallbackLocale) || $(e.fallbackLocale) || w(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : m.value
|
|
1942
|
-
), _ = r(
|
|
1943
|
-
let g = t ? t.missingWarn : J(e.missingWarn) || st(e.missingWarn) ? e.missingWarn : !0, C = t ? t.fallbackWarn : J(e.fallbackWarn) || st(e.fallbackWarn) ? e.fallbackWarn : !0,
|
|
1942
|
+
), _ = r(Gn(m.value, e)), h = r(w(e.datetimeFormats) ? e.datetimeFormats : { [m.value]: {} }), E = r(w(e.numberFormats) ? e.numberFormats : { [m.value]: {} });
|
|
1943
|
+
let g = t ? t.missingWarn : J(e.missingWarn) || st(e.missingWarn) ? e.missingWarn : !0, C = t ? t.fallbackWarn : J(e.fallbackWarn) || st(e.fallbackWarn) ? e.fallbackWarn : !0, D = t ? t.fallbackRoot : J(e.fallbackRoot) ? e.fallbackRoot : !0, T = !!e.fallbackFormat, k = Y(e.missing) ? e.missing : null, i = Y(e.missing) ? yn(e.missing) : null, d = Y(e.postTranslation) ? e.postTranslation : null, v = t ? t.warnHtmlMessage : J(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, p = !!e.escapeParameter;
|
|
1944
1944
|
const O = t ? t.modifiers : w(e.modifiers) ? e.modifiers : {};
|
|
1945
1945
|
let y = e.pluralRules || t && t.pluralRules, N;
|
|
1946
1946
|
N = (() => {
|
|
1947
1947
|
s && mn(null);
|
|
1948
1948
|
const f = {
|
|
1949
|
-
version:
|
|
1949
|
+
version: Yr,
|
|
1950
1950
|
locale: m.value,
|
|
1951
1951
|
fallbackLocale: u.value,
|
|
1952
1952
|
messages: _.value,
|
|
@@ -1968,7 +1968,7 @@ function Kr(e = {}) {
|
|
|
1968
1968
|
const I = Rr(f);
|
|
1969
1969
|
return s && mn(I), I;
|
|
1970
1970
|
})(), Ve(N, m.value, u.value);
|
|
1971
|
-
function
|
|
1971
|
+
function j() {
|
|
1972
1972
|
return [
|
|
1973
1973
|
m.value,
|
|
1974
1974
|
u.value,
|
|
@@ -1977,19 +1977,19 @@ function Kr(e = {}) {
|
|
|
1977
1977
|
E.value
|
|
1978
1978
|
];
|
|
1979
1979
|
}
|
|
1980
|
-
const
|
|
1980
|
+
const M = G({
|
|
1981
1981
|
get: () => m.value,
|
|
1982
1982
|
set: (f) => {
|
|
1983
1983
|
m.value = f, N.locale = m.value;
|
|
1984
1984
|
}
|
|
1985
|
-
}), S =
|
|
1985
|
+
}), S = G({
|
|
1986
1986
|
get: () => u.value,
|
|
1987
1987
|
set: (f) => {
|
|
1988
1988
|
u.value = f, N.fallbackLocale = u.value, Ve(N, m.value, f);
|
|
1989
1989
|
}
|
|
1990
|
-
}), L =
|
|
1990
|
+
}), L = G(() => _.value), x = /* @__PURE__ */ G(() => h.value), re = /* @__PURE__ */ G(() => E.value);
|
|
1991
1991
|
function Le() {
|
|
1992
|
-
return
|
|
1992
|
+
return Y(d) ? d : null;
|
|
1993
1993
|
}
|
|
1994
1994
|
function oe(f) {
|
|
1995
1995
|
d = f, N.postTranslation = f;
|
|
@@ -2001,21 +2001,21 @@ function Kr(e = {}) {
|
|
|
2001
2001
|
f !== null && (i = yn(f)), k = f, N.missing = i;
|
|
2002
2002
|
}
|
|
2003
2003
|
const de = (f, I, W, H, Ie, $e) => {
|
|
2004
|
-
|
|
2004
|
+
j();
|
|
2005
2005
|
let Se;
|
|
2006
2006
|
try {
|
|
2007
|
-
|
|
2007
|
+
xr.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (N.fallbackContext = t ? Lr() : void 0), Se = f(N);
|
|
2008
2008
|
} finally {
|
|
2009
2009
|
__INTLIFY_PROD_DEVTOOLS__, s || (N.fallbackContext = void 0);
|
|
2010
2010
|
}
|
|
2011
2011
|
if (W !== "translate exists" && // for not `te` (e.g `t`)
|
|
2012
|
-
|
|
2013
|
-
const [
|
|
2014
|
-
return t &&
|
|
2012
|
+
z(Se) && Se === it || W === "translate exists" && !Se) {
|
|
2013
|
+
const [Yn, La] = I();
|
|
2014
|
+
return t && D ? H(t) : Ie(Yn);
|
|
2015
2015
|
} else {
|
|
2016
2016
|
if ($e(Se))
|
|
2017
2017
|
return Se;
|
|
2018
|
-
throw
|
|
2018
|
+
throw Ye(Pe.UNEXPECTED_RETURN_TYPE);
|
|
2019
2019
|
}
|
|
2020
2020
|
};
|
|
2021
2021
|
function He(...f) {
|
|
@@ -2024,17 +2024,17 @@ function Kr(e = {}) {
|
|
|
2024
2024
|
function Be(...f) {
|
|
2025
2025
|
const [I, W, H] = f;
|
|
2026
2026
|
if (H && !F(H))
|
|
2027
|
-
throw
|
|
2028
|
-
return He(I, W,
|
|
2027
|
+
throw Ye(Pe.INVALID_ARGUMENT);
|
|
2028
|
+
return He(I, W, K({ resolvedMessage: !0 }, H || {}));
|
|
2029
2029
|
}
|
|
2030
2030
|
function dt(...f) {
|
|
2031
|
-
return de((I) => Reflect.apply(_n, null, [I, ...f]), () =>
|
|
2031
|
+
return de((I) => Reflect.apply(_n, null, [I, ...f]), () => Mt(...f), "datetime format", (I) => Reflect.apply(I.d, I, [...f]), () => cn, (I) => R(I));
|
|
2032
2032
|
}
|
|
2033
2033
|
function _t(...f) {
|
|
2034
|
-
return de((I) => Reflect.apply(pn, null, [I, ...f]), () =>
|
|
2034
|
+
return de((I) => Reflect.apply(pn, null, [I, ...f]), () => Dt(...f), "number format", (I) => Reflect.apply(I.n, I, [...f]), () => cn, (I) => R(I));
|
|
2035
2035
|
}
|
|
2036
2036
|
function ft(f) {
|
|
2037
|
-
return f.map((I) => R(I) ||
|
|
2037
|
+
return f.map((I) => R(I) || z(I) || J(I) ? In(String(I)) : I);
|
|
2038
2038
|
}
|
|
2039
2039
|
const pt = {
|
|
2040
2040
|
normalize: ft,
|
|
@@ -2054,10 +2054,10 @@ function Kr(e = {}) {
|
|
|
2054
2054
|
}, () => Pt(...f), "translate", (I) => I[wt](...f), (I) => [In(I)], (I) => $(I));
|
|
2055
2055
|
}
|
|
2056
2056
|
function Je(...f) {
|
|
2057
|
-
return de((I) => Reflect.apply(pn, null, [I, ...f]), () =>
|
|
2057
|
+
return de((I) => Reflect.apply(pn, null, [I, ...f]), () => Dt(...f), "number format", (I) => I[Ut](...f), vn, (I) => R(I) || $(I));
|
|
2058
2058
|
}
|
|
2059
2059
|
function ht(...f) {
|
|
2060
|
-
return de((I) => Reflect.apply(_n, null, [I, ...f]), () =>
|
|
2060
|
+
return de((I) => Reflect.apply(_n, null, [I, ...f]), () => Mt(...f), "datetime format", (I) => I[Ft](...f), vn, (I) => R(I) || $(I));
|
|
2061
2061
|
}
|
|
2062
2062
|
function gt(f) {
|
|
2063
2063
|
y = f, N.pluralRules = y;
|
|
@@ -2067,7 +2067,7 @@ function Kr(e = {}) {
|
|
|
2067
2067
|
if (!f)
|
|
2068
2068
|
return !1;
|
|
2069
2069
|
const W = R(I) ? I : m.value, H = Re(W), Ie = N.messageResolver(H, f);
|
|
2070
|
-
return
|
|
2070
|
+
return De(Ie) || ae(Ie) || R(Ie);
|
|
2071
2071
|
}, () => [f], "translate exists", (W) => Reflect.apply(W.te, W, [f, I]), Jr, (W) => J(W));
|
|
2072
2072
|
}
|
|
2073
2073
|
function It(f) {
|
|
@@ -2093,7 +2093,7 @@ function Kr(e = {}) {
|
|
|
2093
2093
|
if (l) {
|
|
2094
2094
|
const W = { [f]: I };
|
|
2095
2095
|
for (const H in W)
|
|
2096
|
-
ie(W, H) &&
|
|
2096
|
+
ie(W, H) && Ze(W[H]);
|
|
2097
2097
|
I = W[f];
|
|
2098
2098
|
}
|
|
2099
2099
|
_.value[f] = I, N.messages = _.value;
|
|
@@ -2103,7 +2103,7 @@ function Kr(e = {}) {
|
|
|
2103
2103
|
const W = { [f]: I };
|
|
2104
2104
|
if (l)
|
|
2105
2105
|
for (const H in W)
|
|
2106
|
-
ie(W, H) &&
|
|
2106
|
+
ie(W, H) && Ze(W[H]);
|
|
2107
2107
|
I = W[f], nt(I, _.value[f]), N.messages = _.value;
|
|
2108
2108
|
}
|
|
2109
2109
|
function Nt(f) {
|
|
@@ -2113,7 +2113,7 @@ function Kr(e = {}) {
|
|
|
2113
2113
|
h.value[f] = I, N.datetimeFormats = h.value, fn(N, f, I);
|
|
2114
2114
|
}
|
|
2115
2115
|
function o(f, I) {
|
|
2116
|
-
h.value[f] =
|
|
2116
|
+
h.value[f] = K(h.value[f] || {}, I), N.datetimeFormats = h.value, fn(N, f, I);
|
|
2117
2117
|
}
|
|
2118
2118
|
function b(f) {
|
|
2119
2119
|
return E.value[f] || {};
|
|
@@ -2121,17 +2121,17 @@ function Kr(e = {}) {
|
|
|
2121
2121
|
function A(f, I) {
|
|
2122
2122
|
E.value[f] = I, N.numberFormats = E.value, bn(N, f, I);
|
|
2123
2123
|
}
|
|
2124
|
-
function
|
|
2125
|
-
E.value[f] =
|
|
2124
|
+
function Z(f, I) {
|
|
2125
|
+
E.value[f] = K(E.value[f] || {}, I), N.numberFormats = E.value, bn(N, f, I);
|
|
2126
2126
|
}
|
|
2127
|
-
Tn++, t &&
|
|
2127
|
+
Tn++, t && Qt && (Rt(t.locale, (f) => {
|
|
2128
2128
|
c && (m.value = f, N.locale = f, Ve(N, m.value, u.value));
|
|
2129
2129
|
}), Rt(t.fallbackLocale, (f) => {
|
|
2130
2130
|
c && (u.value = f, N.fallbackLocale = f, Ve(N, m.value, u.value));
|
|
2131
2131
|
}));
|
|
2132
2132
|
const P = {
|
|
2133
2133
|
id: Tn,
|
|
2134
|
-
locale:
|
|
2134
|
+
locale: M,
|
|
2135
2135
|
fallbackLocale: S,
|
|
2136
2136
|
get inheritLocale() {
|
|
2137
2137
|
return c;
|
|
@@ -2165,10 +2165,10 @@ function Kr(e = {}) {
|
|
|
2165
2165
|
C = f, N.fallbackWarn = C;
|
|
2166
2166
|
},
|
|
2167
2167
|
get fallbackRoot() {
|
|
2168
|
-
return
|
|
2168
|
+
return D;
|
|
2169
2169
|
},
|
|
2170
2170
|
set fallbackRoot(f) {
|
|
2171
|
-
|
|
2171
|
+
D = f;
|
|
2172
2172
|
},
|
|
2173
2173
|
get fallbackFormat() {
|
|
2174
2174
|
return T;
|
|
@@ -2198,7 +2198,7 @@ function Kr(e = {}) {
|
|
|
2198
2198
|
setMissingHandler: mt,
|
|
2199
2199
|
[Hr]: gt
|
|
2200
2200
|
};
|
|
2201
|
-
return P.datetimeFormats =
|
|
2201
|
+
return P.datetimeFormats = x, P.numberFormats = re, P.rt = Be, P.te = Et, P.tm = Fe, P.d = dt, P.n = _t, P.getDateTimeFormat = Nt, P.setDateTimeFormat = a, P.mergeDateTimeFormat = o, P.getNumberFormat = b, P.setNumberFormat = A, P.mergeNumberFormat = Z, P[Wn] = n, P[wt] = bt, P[Ft] = ht, P[Ut] = Je, P;
|
|
2202
2202
|
}
|
|
2203
2203
|
const Bt = {
|
|
2204
2204
|
tag: {
|
|
@@ -2218,7 +2218,7 @@ const Bt = {
|
|
|
2218
2218
|
type: Object
|
|
2219
2219
|
}
|
|
2220
2220
|
};
|
|
2221
|
-
function
|
|
2221
|
+
function Kr({ slots: e }, t) {
|
|
2222
2222
|
return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((s, l) => [
|
|
2223
2223
|
...s,
|
|
2224
2224
|
// prettier-ignore
|
|
@@ -2228,39 +2228,39 @@ function Qr({ slots: e }, t) {
|
|
|
2228
2228
|
return l && (n[s] = l()), n;
|
|
2229
2229
|
}, V());
|
|
2230
2230
|
}
|
|
2231
|
-
function
|
|
2231
|
+
function Xn() {
|
|
2232
2232
|
return we;
|
|
2233
2233
|
}
|
|
2234
|
-
|
|
2234
|
+
K({
|
|
2235
2235
|
keypath: {
|
|
2236
2236
|
type: String,
|
|
2237
2237
|
required: !0
|
|
2238
2238
|
},
|
|
2239
2239
|
plural: {
|
|
2240
2240
|
type: [Number, String],
|
|
2241
|
-
validator: (e) =>
|
|
2241
|
+
validator: (e) => z(e) || !isNaN(e)
|
|
2242
2242
|
}
|
|
2243
2243
|
}, Bt);
|
|
2244
|
-
function
|
|
2244
|
+
function Qr(e) {
|
|
2245
2245
|
return $(e) && !R(e[0]);
|
|
2246
2246
|
}
|
|
2247
|
-
function
|
|
2247
|
+
function xn(e, t, n, s) {
|
|
2248
2248
|
const { slots: l, attrs: r } = t;
|
|
2249
2249
|
return () => {
|
|
2250
2250
|
const c = { part: !0 };
|
|
2251
2251
|
let m = V();
|
|
2252
|
-
e.locale && (c.locale = e.locale), R(e.format) ? c.key = e.format : F(e.format) && (R(e.format.key) && (c.key = e.format.key), m = Object.keys(e.format).reduce((g, C) => n.includes(C) ?
|
|
2252
|
+
e.locale && (c.locale = e.locale), R(e.format) ? c.key = e.format : F(e.format) && (R(e.format.key) && (c.key = e.format.key), m = Object.keys(e.format).reduce((g, C) => n.includes(C) ? K(V(), g, { [C]: e.format[C] }) : g, V()));
|
|
2253
2253
|
const u = s(e.value, c, m);
|
|
2254
2254
|
let _ = [c.key];
|
|
2255
2255
|
$(u) ? _ = u.map((g, C) => {
|
|
2256
|
-
const
|
|
2257
|
-
return
|
|
2256
|
+
const D = l[g.type], T = D ? D({ [g.type]: g.value, index: C, parts: u }) : [g.value];
|
|
2257
|
+
return Qr(T) && (T[0].key = `${g.type}-${C}`), T;
|
|
2258
2258
|
}) : R(u) && (_ = [u]);
|
|
2259
|
-
const h =
|
|
2259
|
+
const h = K(V(), r), E = R(e.tag) || F(e.tag) ? e.tag : Xn();
|
|
2260
2260
|
return Ln(E, h, _);
|
|
2261
2261
|
};
|
|
2262
2262
|
}
|
|
2263
|
-
|
|
2263
|
+
K({
|
|
2264
2264
|
value: {
|
|
2265
2265
|
type: Number,
|
|
2266
2266
|
required: !0
|
|
@@ -2269,7 +2269,7 @@ Q({
|
|
|
2269
2269
|
type: [String, Object]
|
|
2270
2270
|
}
|
|
2271
2271
|
}, Bt);
|
|
2272
|
-
|
|
2272
|
+
K({
|
|
2273
2273
|
value: {
|
|
2274
2274
|
type: [Number, Date],
|
|
2275
2275
|
required: !0
|
|
@@ -2282,10 +2282,10 @@ const qr = /* @__PURE__ */ Oe("global-vue-i18n");
|
|
|
2282
2282
|
function ct(e = {}) {
|
|
2283
2283
|
const t = Wt();
|
|
2284
2284
|
if (t == null)
|
|
2285
|
-
throw
|
|
2285
|
+
throw Ye(Pe.MUST_BE_CALL_SETUP_TOP);
|
|
2286
2286
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
2287
|
-
throw
|
|
2288
|
-
const n = ea(t), s = na(n), l =
|
|
2287
|
+
throw Ye(Pe.NOT_INSTALLED);
|
|
2288
|
+
const n = ea(t), s = na(n), l = jn(t), r = ta(e, l);
|
|
2289
2289
|
if (r === "global")
|
|
2290
2290
|
return Br(s, e, l), s;
|
|
2291
2291
|
if (r === "parent") {
|
|
@@ -2295,15 +2295,15 @@ function ct(e = {}) {
|
|
|
2295
2295
|
const c = n;
|
|
2296
2296
|
let m = c.__getInstance(t);
|
|
2297
2297
|
if (m == null) {
|
|
2298
|
-
const u =
|
|
2299
|
-
"__i18n" in l && (u.__i18n = l.__i18n), s && (u.__root = s), m =
|
|
2298
|
+
const u = K({}, e);
|
|
2299
|
+
"__i18n" in l && (u.__i18n = l.__i18n), s && (u.__root = s), m = zr(u), c.__composerExtend && (m[Vt] = c.__composerExtend(m)), aa(c, t, m), c.__setInstance(t, m);
|
|
2300
2300
|
}
|
|
2301
2301
|
return m;
|
|
2302
2302
|
}
|
|
2303
2303
|
function ea(e) {
|
|
2304
|
-
const t =
|
|
2304
|
+
const t = Zn(e.isCE ? qr : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
2305
2305
|
if (!t)
|
|
2306
|
-
throw
|
|
2306
|
+
throw Ye(e.isCE ? Pe.NOT_INSTALLED_WITH_PROVIDE : Pe.UNEXPECTED_ERROR);
|
|
2307
2307
|
return t;
|
|
2308
2308
|
}
|
|
2309
2309
|
function ta(e, t) {
|
|
@@ -2334,7 +2334,7 @@ function ra(e, t = !1) {
|
|
|
2334
2334
|
return e == null ? null : t && e.vnode.ctx || e.parent;
|
|
2335
2335
|
}
|
|
2336
2336
|
function aa(e, t, n) {
|
|
2337
|
-
|
|
2337
|
+
Gt(() => {
|
|
2338
2338
|
}, t), On(() => {
|
|
2339
2339
|
const s = n;
|
|
2340
2340
|
e.__deleteInstance(t);
|
|
@@ -2342,7 +2342,7 @@ function aa(e, t, n) {
|
|
|
2342
2342
|
l && (l(), delete s[Vt]);
|
|
2343
2343
|
}, t);
|
|
2344
2344
|
}
|
|
2345
|
-
|
|
2345
|
+
Zr();
|
|
2346
2346
|
vr(sr);
|
|
2347
2347
|
Tr(Er);
|
|
2348
2348
|
yr(Cn);
|
|
@@ -2361,16 +2361,16 @@ const et = /* @__PURE__ */ ce({
|
|
|
2361
2361
|
setup(e) {
|
|
2362
2362
|
const { t } = ct();
|
|
2363
2363
|
return (n, s) => {
|
|
2364
|
-
const l =
|
|
2364
|
+
const l = Ge("FmIcon"), r = Ge("FmTooltip");
|
|
2365
2365
|
return B(), ke(r, {
|
|
2366
2366
|
variant: "plain",
|
|
2367
2367
|
placement: "right",
|
|
2368
2368
|
"z-index": 50
|
|
2369
2369
|
}, {
|
|
2370
2370
|
content: se(() => [
|
|
2371
|
-
ee("div", null,
|
|
2371
|
+
ee("div", null, je(be(t)("team.memberForm.permissions.inherited")), 1),
|
|
2372
2372
|
(B(!0), te(we, null, me(e.item.setNames, (c) => (B(), te("div", { key: c }, [
|
|
2373
|
-
ee("div", null, "- " +
|
|
2373
|
+
ee("div", null, "- " + je(c), 1)
|
|
2374
2374
|
]))), 128))
|
|
2375
2375
|
]),
|
|
2376
2376
|
default: se(() => [
|
|
@@ -2413,7 +2413,7 @@ const et = /* @__PURE__ */ ce({
|
|
|
2413
2413
|
t.title ? (B(), te("div", oa, [
|
|
2414
2414
|
ee("div", null, [
|
|
2415
2415
|
t.required ? (B(), te("span", ia, "*")) : Ne("", !0),
|
|
2416
|
-
Jn(
|
|
2416
|
+
Jn(je(t.title), 1)
|
|
2417
2417
|
]),
|
|
2418
2418
|
le(n.$slots, "title-right")
|
|
2419
2419
|
])) : Ne("", !0)
|
|
@@ -2492,11 +2492,11 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2492
2492
|
},
|
|
2493
2493
|
emits: ["update:model-value"],
|
|
2494
2494
|
setup(e, { emit: t }) {
|
|
2495
|
-
const n = e, s = t, { t: l } = at(), r = ye(!1), c = $n(), m =
|
|
2495
|
+
const n = e, s = t, { t: l } = at(), r = ye(!1), c = $n(), m = G(() => n.modelValue.length < n.min ? `Min selection ${n.min}` : n.max !== void 0 && n.modelValue.length > n.max ? `Max selection ${n.max}` : !0), u = `checkbox-${ma(6)}`, _ = G(() => m.value !== !0), h = G(
|
|
2496
2496
|
() => n.modelValue.filter((T) => n.options.some((k) => k.value === T))
|
|
2497
|
-
), E =
|
|
2497
|
+
), E = G(
|
|
2498
2498
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
2499
|
-
), g =
|
|
2499
|
+
), g = G(() => n.options.length > 0 && n.options.length === h.value.length);
|
|
2500
2500
|
function C() {
|
|
2501
2501
|
const T = n.modelValue.filter((k) => !h.value.includes(k));
|
|
2502
2502
|
if (g.value === !0)
|
|
@@ -2506,12 +2506,12 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2506
2506
|
s("update:model-value", [...T, ...k]);
|
|
2507
2507
|
}
|
|
2508
2508
|
}
|
|
2509
|
-
function
|
|
2509
|
+
function D(T, k) {
|
|
2510
2510
|
let i = We(n.modelValue);
|
|
2511
2511
|
k ? i.every((d) => d !== T) && i.push(T) : i = i.filter((d) => d !== T), s("update:model-value", i);
|
|
2512
2512
|
}
|
|
2513
2513
|
return (T, k) => {
|
|
2514
|
-
const i =
|
|
2514
|
+
const i = Ge("FmCheckbox");
|
|
2515
2515
|
return B(), ke(ua, {
|
|
2516
2516
|
id: u,
|
|
2517
2517
|
title: e.title,
|
|
@@ -2535,10 +2535,10 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2535
2535
|
(B(!0), te(we, null, me(e.options, (d, v) => (B(), te("div", {
|
|
2536
2536
|
key: d.value,
|
|
2537
2537
|
style: tt(`margin-bottom: ${v < e.options.length - 1 ? n.gutter : 0}px`),
|
|
2538
|
-
class:
|
|
2538
|
+
class: ze(v < e.options.length - 1 ? "q-mb-sm" : "")
|
|
2539
2539
|
}, [
|
|
2540
2540
|
ee("div", {
|
|
2541
|
-
class:
|
|
2541
|
+
class: ze(["row justify-between", e.alignCenter ? "items-center" : "items-start"])
|
|
2542
2542
|
}, [
|
|
2543
2543
|
ee("div", da, [
|
|
2544
2544
|
ne(i, {
|
|
@@ -2547,7 +2547,7 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2547
2547
|
size: "sm",
|
|
2548
2548
|
label: d.label,
|
|
2549
2549
|
value: d.label,
|
|
2550
|
-
"onUpdate:modelValue": (p) =>
|
|
2550
|
+
"onUpdate:modelValue": (p) => D(d.value, p)
|
|
2551
2551
|
}, null, 8, ["model-value", "disabled", "label", "value", "onUpdate:modelValue"]),
|
|
2552
2552
|
le(T.$slots, `checkbox-${d.key || d.value}-append`, {
|
|
2553
2553
|
option: d,
|
|
@@ -2556,7 +2556,7 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2556
2556
|
]),
|
|
2557
2557
|
be(c)[`checkbox-${d.key || d.value}-end`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (B(), te("div", {
|
|
2558
2558
|
key: 0,
|
|
2559
|
-
class:
|
|
2559
|
+
class: ze([{ "q-checkbox disabled": e.disable || d.disabled }, "col"])
|
|
2560
2560
|
}, [
|
|
2561
2561
|
le(T.$slots, `checkbox-${d.key || d.value}-end`, {
|
|
2562
2562
|
option: d,
|
|
@@ -2567,7 +2567,7 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2567
2567
|
], 2),
|
|
2568
2568
|
be(c)[`checkbox-${d.key || d.value}-bottom`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (B(), te("div", {
|
|
2569
2569
|
key: 0,
|
|
2570
|
-
class:
|
|
2570
|
+
class: ze(["q-mt-sm", { "q-checkbox disabled": e.disable || d.disabled }]),
|
|
2571
2571
|
style: tt(`margin-left: ${e.bottomSlotIndent}`)
|
|
2572
2572
|
}, [
|
|
2573
2573
|
le(T.$slots, `checkbox-${d.key || d.value}-bottom`, {
|
|
@@ -2577,7 +2577,7 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2577
2577
|
})
|
|
2578
2578
|
], 6)) : Ne("", !0)
|
|
2579
2579
|
], 6))), 128)),
|
|
2580
|
-
r.value && _.value ? (B(), te("div", _a,
|
|
2580
|
+
r.value && _.value ? (B(), te("div", _a, je(m.value), 1)) : Ne("", !0)
|
|
2581
2581
|
]),
|
|
2582
2582
|
_: 3
|
|
2583
2583
|
}, 8, ["title"]);
|
|
@@ -2601,7 +2601,7 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2601
2601
|
},
|
|
2602
2602
|
emits: ["update:model-value"],
|
|
2603
2603
|
setup(e, { emit: t }) {
|
|
2604
|
-
const n = e, s = t, l = Object.values(rs), r =
|
|
2604
|
+
const n = e, s = t, l = Object.values(rs), r = G(() => {
|
|
2605
2605
|
const m = /* @__PURE__ */ new Map();
|
|
2606
2606
|
for (const _ of Ct) {
|
|
2607
2607
|
const h = _.category;
|
|
@@ -2658,14 +2658,14 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2658
2658
|
function m() {
|
|
2659
2659
|
s.value && (l.value = s.value.scrollHeight);
|
|
2660
2660
|
}
|
|
2661
|
-
return
|
|
2662
|
-
await
|
|
2661
|
+
return Gt(async () => {
|
|
2662
|
+
await zn(), s.value && (r = new ResizeObserver(() => {
|
|
2663
2663
|
m();
|
|
2664
2664
|
}), r.observe(s.value));
|
|
2665
2665
|
}), On(() => {
|
|
2666
2666
|
r == null || r.disconnect();
|
|
2667
2667
|
}), (u, _) => {
|
|
2668
|
-
const h =
|
|
2668
|
+
const h = Ge("FmButton");
|
|
2669
2669
|
return B(), te(we, null, [
|
|
2670
2670
|
ee("div", { onClick: c }, [
|
|
2671
2671
|
ee("div", ba, [
|
|
@@ -2713,7 +2713,7 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2713
2713
|
},
|
|
2714
2714
|
emits: ["update:model-value"],
|
|
2715
2715
|
setup(e, { emit: t }) {
|
|
2716
|
-
const n = e, s = t, { t: l } = at(), r =
|
|
2716
|
+
const n = e, s = t, { t: l } = at(), r = G(() => [
|
|
2717
2717
|
{
|
|
2718
2718
|
label: l("team.memberForm.permissions.includedFuture", { context: n.context }),
|
|
2719
2719
|
value: Ot,
|
|
@@ -2723,17 +2723,17 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2723
2723
|
...n.options.filter(
|
|
2724
2724
|
(_) => _.label.toLocaleLowerCase().includes(u.value.toLocaleLowerCase())
|
|
2725
2725
|
)
|
|
2726
|
-
]), c =
|
|
2726
|
+
]), c = G(() => n.modelValue ? n.modelValue : [Ot, ...n.options.map((_) => _.value)]);
|
|
2727
2727
|
function m(_) {
|
|
2728
2728
|
const h = _.length === r.value.length;
|
|
2729
2729
|
s("update:model-value", h ? null : _.filter((E) => E !== Ot));
|
|
2730
2730
|
}
|
|
2731
2731
|
const u = ye("");
|
|
2732
2732
|
return (_, h) => {
|
|
2733
|
-
const E =
|
|
2733
|
+
const E = Ge("fm-search");
|
|
2734
2734
|
return B(), ke(ga, null, {
|
|
2735
2735
|
title: se(() => [
|
|
2736
|
-
ee("p", Ea,
|
|
2736
|
+
ee("p", Ea, je(be(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
2737
2737
|
]),
|
|
2738
2738
|
default: se(() => [
|
|
2739
2739
|
e.options.length > 1 ? (B(), ke(E, {
|
|
@@ -2788,7 +2788,7 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2788
2788
|
},
|
|
2789
2789
|
emits: ["update:model-value"],
|
|
2790
2790
|
setup(e, { emit: t }) {
|
|
2791
|
-
const n = e, s = t, { t: l } = at(), r =
|
|
2791
|
+
const n = e, s = t, { t: l } = at(), r = G(() => {
|
|
2792
2792
|
const u = n.restaurantIds;
|
|
2793
2793
|
return [
|
|
2794
2794
|
{
|
|
@@ -2802,7 +2802,7 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2802
2802
|
disable: !!u && _.restaurants.every(({ id: h }) => !u.includes(h))
|
|
2803
2803
|
}))
|
|
2804
2804
|
];
|
|
2805
|
-
}), c =
|
|
2805
|
+
}), c = G(() => n.modelValue ? n.modelValue : [Lt, ...n.roles.map((u) => u._id)]);
|
|
2806
2806
|
function m(u) {
|
|
2807
2807
|
const _ = u.length === r.value.length;
|
|
2808
2808
|
s("update:model-value", _ ? null : u.filter((h) => h !== Lt));
|
|
@@ -2830,7 +2830,7 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2830
2830
|
}
|
|
2831
2831
|
}, va = { class: "flex flex-col gap-32" }, Ta = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, ya = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, ka = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Oa = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Pa = /* @__PURE__ */ ce({
|
|
2832
2832
|
__name: "PortalPermissionEditor",
|
|
2833
|
-
props: /* @__PURE__ */
|
|
2833
|
+
props: /* @__PURE__ */ zt({
|
|
2834
2834
|
disable: {
|
|
2835
2835
|
type: Boolean,
|
|
2836
2836
|
default: !1
|
|
@@ -2843,108 +2843,108 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2843
2843
|
modelValue: { default: () => [] },
|
|
2844
2844
|
modelModifiers: {}
|
|
2845
2845
|
}),
|
|
2846
|
-
emits: /* @__PURE__ */
|
|
2846
|
+
emits: /* @__PURE__ */ zt(["permissionChanged"], ["update:modelValue"]),
|
|
2847
2847
|
setup(e, { emit: t }) {
|
|
2848
|
-
const n =
|
|
2849
|
-
const
|
|
2848
|
+
const n = Kn(e, "modelValue"), s = e, l = t, { t: r } = at(), c = G(() => {
|
|
2849
|
+
const M = Ct.filter((L) => !h.includes(L.subject)).map((L) => L.subject);
|
|
2850
2850
|
return ts(
|
|
2851
2851
|
s.inheritPermissions.map((L) => ({
|
|
2852
2852
|
...L,
|
|
2853
|
-
permissions: L.permissions.filter((
|
|
2853
|
+
permissions: L.permissions.filter((x) => M.includes(x.subject))
|
|
2854
2854
|
}))
|
|
2855
2855
|
).map((L) => ({
|
|
2856
2856
|
id: L.subject,
|
|
2857
2857
|
setNames: L.setNames
|
|
2858
2858
|
}));
|
|
2859
|
-
}), m =
|
|
2860
|
-
const
|
|
2859
|
+
}), m = G(() => {
|
|
2860
|
+
const M = s.inheritPermissions.map((S) => ({
|
|
2861
2861
|
...S,
|
|
2862
2862
|
permissions: S.permissions.filter(
|
|
2863
|
-
(L) => L.subject ===
|
|
2863
|
+
(L) => L.subject === Q.Subject.Business.inventory_stock
|
|
2864
2864
|
)
|
|
2865
2865
|
}));
|
|
2866
2866
|
return vt(
|
|
2867
|
-
|
|
2867
|
+
M,
|
|
2868
2868
|
"warehouseId",
|
|
2869
2869
|
g.value.map((S) => S._id)
|
|
2870
2870
|
);
|
|
2871
|
-
}), u =
|
|
2872
|
-
const
|
|
2871
|
+
}), u = G(() => {
|
|
2872
|
+
const M = s.inheritPermissions.map((S) => ({
|
|
2873
2873
|
...S,
|
|
2874
2874
|
permissions: S.permissions.filter(
|
|
2875
|
-
(L) => L.subject ===
|
|
2875
|
+
(L) => L.subject === Q.Subject.Restaurant.restaurant
|
|
2876
2876
|
)
|
|
2877
2877
|
}));
|
|
2878
2878
|
return vt(
|
|
2879
|
-
|
|
2879
|
+
M,
|
|
2880
2880
|
"restaurantId",
|
|
2881
2881
|
k.value.map((S) => S._id)
|
|
2882
2882
|
);
|
|
2883
|
-
}), _ =
|
|
2884
|
-
const
|
|
2883
|
+
}), _ = G(() => {
|
|
2884
|
+
const M = s.inheritPermissions.map((S) => ({
|
|
2885
2885
|
...S,
|
|
2886
2886
|
permissions: S.permissions.filter(
|
|
2887
|
-
(L) => L.subject ===
|
|
2887
|
+
(L) => L.subject === Q.Subject.Business.hrm_employee_role
|
|
2888
2888
|
)
|
|
2889
2889
|
}));
|
|
2890
2890
|
return vt(
|
|
2891
|
-
|
|
2891
|
+
M,
|
|
2892
2892
|
"roleId",
|
|
2893
2893
|
i.value.map((S) => S._id)
|
|
2894
2894
|
);
|
|
2895
2895
|
}), h = [
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
], E =
|
|
2896
|
+
Q.Subject.Business.restaurant,
|
|
2897
|
+
Q.Subject.Business.hrm_employee_role,
|
|
2898
|
+
Q.Subject.Business.inventory_stock,
|
|
2899
|
+
Q.Subject.Restaurant.restaurant
|
|
2900
|
+
], E = G(() => {
|
|
2901
2901
|
var S;
|
|
2902
|
-
const
|
|
2903
|
-
(L) => L.subject ===
|
|
2902
|
+
const M = (S = n.value) == null ? void 0 : S.find(
|
|
2903
|
+
(L) => L.subject === Q.Subject.Business.inventory_stock
|
|
2904
2904
|
);
|
|
2905
|
-
return
|
|
2906
|
-
}), g = ye([]), C =
|
|
2907
|
-
label:
|
|
2908
|
-
value:
|
|
2905
|
+
return M ? M.conditions ? JSON.parse(M.conditions).warehouseId.$in : null : [];
|
|
2906
|
+
}), g = ye([]), C = G(() => g.value.map((M) => ({
|
|
2907
|
+
label: M.profile.name,
|
|
2908
|
+
value: M._id
|
|
2909
2909
|
})));
|
|
2910
|
-
function M
|
|
2911
|
-
const S = T(n.value,
|
|
2910
|
+
function D(M) {
|
|
2911
|
+
const S = T(n.value, M);
|
|
2912
2912
|
n.value = S;
|
|
2913
2913
|
}
|
|
2914
|
-
function T(
|
|
2914
|
+
function T(M, S) {
|
|
2915
2915
|
let L = We(
|
|
2916
|
-
|
|
2916
|
+
M.filter((x) => x.subject !== Q.Subject.Business.inventory_stock)
|
|
2917
2917
|
);
|
|
2918
2918
|
if (!S || S.length > 0) {
|
|
2919
|
-
const
|
|
2920
|
-
actions: [
|
|
2921
|
-
subject:
|
|
2919
|
+
const x = {
|
|
2920
|
+
actions: [Q.Action.manage],
|
|
2921
|
+
subject: Q.Subject.Business.inventory_stock
|
|
2922
2922
|
};
|
|
2923
|
-
S && (
|
|
2923
|
+
S && (x.conditions = JSON.stringify({ warehouseId: { $in: S } })), L.push(x);
|
|
2924
2924
|
}
|
|
2925
2925
|
return L;
|
|
2926
2926
|
}
|
|
2927
|
-
const { restaurants: k } =
|
|
2928
|
-
label: `${
|
|
2929
|
-
value:
|
|
2930
|
-
}))), v =
|
|
2931
|
-
function O(
|
|
2932
|
-
const S = N(n.value,
|
|
2927
|
+
const { restaurants: k } = Qn(), i = as().roles, d = G(() => k.value.map((M) => ({
|
|
2928
|
+
label: `${M.profile.code ? M.profile.code + "-" : ""}${M.profile.name}`,
|
|
2929
|
+
value: M._id
|
|
2930
|
+
}))), v = G(() => k.value.reduce((M, S) => (M[S._id] = i.value.filter((L) => L.restaurants.some((x) => x.id === S._id)).map((L) => L._id), M), {})), p = G(() => ns(n.value));
|
|
2931
|
+
function O(M) {
|
|
2932
|
+
const S = N(n.value, M);
|
|
2933
2933
|
n.value = S;
|
|
2934
2934
|
}
|
|
2935
|
-
const y =
|
|
2936
|
-
function N(
|
|
2937
|
-
var
|
|
2935
|
+
const y = G(() => ss(n.value));
|
|
2936
|
+
function N(M, S) {
|
|
2937
|
+
var x;
|
|
2938
2938
|
let L = We(
|
|
2939
|
-
|
|
2940
|
-
(re) => re.subject !==
|
|
2939
|
+
M.filter(
|
|
2940
|
+
(re) => re.subject !== Q.Subject.Business.restaurant && re.subject !== Q.Subject.Restaurant.restaurant
|
|
2941
2941
|
)
|
|
2942
2942
|
);
|
|
2943
2943
|
if (!S || S.length > 0) {
|
|
2944
|
-
L.push(
|
|
2944
|
+
L.push(Kt.restaurant);
|
|
2945
2945
|
const re = {
|
|
2946
|
-
actions: [
|
|
2947
|
-
subject:
|
|
2946
|
+
actions: [Q.Action.manage],
|
|
2947
|
+
subject: Q.Subject.Restaurant.restaurant
|
|
2948
2948
|
};
|
|
2949
2949
|
S && (re.conditions = JSON.stringify({ restaurantId: { $in: S } })), L.push(re);
|
|
2950
2950
|
}
|
|
@@ -2952,36 +2952,36 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2952
2952
|
const re = [
|
|
2953
2953
|
...new Set(S.map((oe) => v.value[oe]).flatMap((oe) => oe))
|
|
2954
2954
|
], Le = i.value.map((oe) => oe._id);
|
|
2955
|
-
re.length !== Le.length && (L =
|
|
2955
|
+
re.length !== Le.length && (L = j(
|
|
2956
2956
|
L,
|
|
2957
|
-
(
|
|
2957
|
+
(x = y.value || Le) == null ? void 0 : x.filter((oe) => re.includes(oe))
|
|
2958
2958
|
));
|
|
2959
2959
|
}
|
|
2960
2960
|
return L;
|
|
2961
2961
|
}
|
|
2962
|
-
function
|
|
2963
|
-
const S =
|
|
2962
|
+
function X(M) {
|
|
2963
|
+
const S = j(n.value, M);
|
|
2964
2964
|
n.value = S;
|
|
2965
2965
|
}
|
|
2966
|
-
function
|
|
2966
|
+
function j(M, S) {
|
|
2967
2967
|
let L = We(
|
|
2968
|
-
|
|
2968
|
+
M.filter((x) => x.subject !== Q.Subject.Business.hrm_employee_role)
|
|
2969
2969
|
);
|
|
2970
2970
|
if (S && S.length > 0) {
|
|
2971
|
-
const
|
|
2972
|
-
|
|
2971
|
+
const x = We(Kt.role);
|
|
2972
|
+
x.conditions = JSON.stringify({ roleId: { $in: S } }), L.push(x);
|
|
2973
2973
|
}
|
|
2974
2974
|
return L;
|
|
2975
2975
|
}
|
|
2976
|
-
return
|
|
2976
|
+
return Gt(async () => {
|
|
2977
2977
|
g.value = await Na.readWarehouses();
|
|
2978
2978
|
}), Rt(
|
|
2979
2979
|
n,
|
|
2980
|
-
(
|
|
2981
|
-
l("permissionChanged",
|
|
2980
|
+
(M) => {
|
|
2981
|
+
l("permissionChanged", M);
|
|
2982
2982
|
},
|
|
2983
2983
|
{ deep: !0 }
|
|
2984
|
-
), (
|
|
2984
|
+
), (M, S) => (B(), te("div", va, [
|
|
2985
2985
|
ee("div", Ta, [
|
|
2986
2986
|
ne(pa, {
|
|
2987
2987
|
modelValue: n.value,
|
|
@@ -3001,7 +3001,7 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
3001
3001
|
"model-value": E.value,
|
|
3002
3002
|
options: C.value,
|
|
3003
3003
|
context: be(r)("team.labels.warehouse"),
|
|
3004
|
-
"onUpdate:modelValue":
|
|
3004
|
+
"onUpdate:modelValue": D
|
|
3005
3005
|
}, ve({ _: 2 }, [
|
|
3006
3006
|
me(m.value, (L) => ({
|
|
3007
3007
|
name: `checkbox-${L.id}-append`,
|
|
@@ -3031,7 +3031,7 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
3031
3031
|
roles: be(i),
|
|
3032
3032
|
"model-value": y.value,
|
|
3033
3033
|
"restaurant-ids": p.value,
|
|
3034
|
-
"onUpdate:modelValue":
|
|
3034
|
+
"onUpdate:modelValue": X
|
|
3035
3035
|
}, ve({ _: 2 }, [
|
|
3036
3036
|
me(_.value, (L) => ({
|
|
3037
3037
|
name: `checkbox-${L.id}-append`,
|