@feedmepos/mf-hrm-portal 1.1.3-dev.7 → 1.1.3-dev.9
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-n6xAYZGv.js → AuditLogList-FDOzktEG.js} +119 -109
- package/dist/{EmployeeList-D9rLxXo5.js → EmployeeList-BlULf09V.js} +5 -5
- package/dist/{Main-BCa8A1rV.js → Main-BEXtYa2u.js} +5 -5
- package/dist/{Main-zQF3GD9j.js → Main-r19cnUfU.js} +8 -8
- package/dist/PermissionSetList-CNfiMPnB.js +323 -0
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BA1LS-wd.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Bu-eBtus.js} +253 -253
- package/dist/{RoleList-Cfv9wKaN.js → RoleList-BGmWrKAP.js} +6 -6
- package/dist/TeamMemberList-_DLS33js.js +965 -0
- package/dist/{TimesheetList-B0e-Muws.js → TimesheetList-_iQScXAp.js} +6 -6
- package/dist/{app-DKSPx49S.js → app-BwF4Swnp.js} +24 -8
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-DZJQ_JpV.js → dayjs.min-DVWcfk3W.js} +1 -1
- package/dist/{employee-DKRqMph9.js → employee-09CJRs3Q.js} +3 -3
- package/dist/{index-D09s817L.js → index-BIzqz5Rs.js} +7 -5
- package/dist/{index-BwyUbhZj.js → index-C-0bzcOw.js} +1 -1
- package/dist/{lodash-CL6AaeJB.js → lodash-f-cIBAzV.js} +1 -1
- package/dist/{team-DEjtUFVl.js → team-doxRPLFp.js} +1 -1
- package/dist/{timesheet-B0usAfjL.js → timesheet-Dd_xXYAz.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-DfaKfSuR.js → useAppStore-CbDp946u.js} +1 -1
- package/dist/{useLoading-D2AX24ph.js → useLoading-s8etox00.js} +1 -1
- package/dist/{useReportPermissions-CwsHq61C.js → useReportPermissions-BphupOls.js} +2 -2
- package/dist/views/audit-log/locales/index.d.ts +8 -0
- package/dist/views/team/locales/index.d.ts +8 -0
- package/package.json +2 -2
- package/dist/PermissionSetList-EsoA_anf.js +0 -338
- package/dist/TeamMemberList-HkvCqzPj.js +0 -945
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { getCurrentInstance as Wt, inject as Bn, ref as Re, shallowRef as Hn, computed as X, watch as Ct, onMounted as
|
|
1
|
+
import { getCurrentInstance as Wt, inject as Bn, ref as Re, shallowRef as Hn, computed as X, watch as Ct, onMounted as jt, onUnmounted as Ln, defineComponent as _e, h as Rn, createVNode as ie, Text as Jn, Fragment as Ve, resolveComponent as xe, createBlock as Ce, openBlock as z, withCtx as ce, createElementVNode as ae, createElementBlock as le, toDisplayString as Ze, unref as Ee, renderList as pe, renderSlot as me, createCommentVNode as Oe, createTextVNode as $n, useSlots as zn, normalizeStyle as st, normalizeClass as Qe, createSlots as ye, nextTick as Kn, mergeModels as zt, useModel as Qn } from "vue";
|
|
2
2
|
import { useI18n as ct, useCoreStore as qn } from "@feedmepos/mf-common";
|
|
3
3
|
import "@vue/devtools-api";
|
|
4
|
-
import { l as rt, p as lt, g as es, b as ts,
|
|
5
|
-
import { p as as, a as q, w as ls, N as Qt } from "./app-
|
|
6
|
-
import { u as os } from "./index-
|
|
7
|
-
import { u as is } from "./useAppStore-
|
|
4
|
+
import { l as rt, p as lt, g as es, b as ts, B as ns, C as kt, D as ss, v as rs, $ as Kt } from "./index-BIzqz5Rs.js";
|
|
5
|
+
import { p as as, a as q, w as ls, N as Qt } from "./app-BwF4Swnp.js";
|
|
6
|
+
import { u as os } from "./index-C-0bzcOw.js";
|
|
7
|
+
import { u as is } from "./useAppStore-CbDp946u.js";
|
|
8
8
|
/*!
|
|
9
9
|
* shared v10.0.5
|
|
10
10
|
* (c) 2024 kazuya kawaguchi
|
|
11
11
|
* Released under the MIT License.
|
|
12
12
|
*/
|
|
13
|
-
const qt = typeof window < "u", Se = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), cs = (e, t, n) => us({ l: e, k: t, s: n }), us = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ee = (e) => typeof e == "number" && isFinite(e), ms = (e) =>
|
|
13
|
+
const qt = typeof window < "u", Se = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), cs = (e, t, n) => us({ l: e, k: t, s: n }), us = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ee = (e) => typeof e == "number" && isFinite(e), ms = (e) => Gt(e) === "[object Date]", ot = (e) => Gt(e) === "[object RegExp]", ut = (e) => F(e) && Object.keys(e).length === 0, te = Object.assign, ds = Object.create, j = (e = null) => ds(e);
|
|
14
14
|
let en;
|
|
15
|
-
const Le = () => en || (en = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global :
|
|
15
|
+
const Le = () => en || (en = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : j());
|
|
16
16
|
function tn(e) {
|
|
17
17
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
18
18
|
}
|
|
@@ -20,7 +20,7 @@ const _s = Object.prototype.hasOwnProperty;
|
|
|
20
20
|
function de(e, t) {
|
|
21
21
|
return _s.call(e, t);
|
|
22
22
|
}
|
|
23
|
-
const Q = Array.isArray, B = (e) => typeof e == "function", R = (e) => typeof e == "string", K = (e) => typeof e == "boolean", U = (e) => e !== null && typeof e == "object", fs = (e) => U(e) && B(e.then) && B(e.catch), Cn = Object.prototype.toString,
|
|
23
|
+
const Q = Array.isArray, B = (e) => typeof e == "function", R = (e) => typeof e == "string", K = (e) => typeof e == "boolean", U = (e) => e !== null && typeof e == "object", fs = (e) => U(e) && B(e.then) && B(e.catch), Cn = Object.prototype.toString, Gt = (e) => Cn.call(e), F = (e) => Gt(e) === "[object Object]", ps = (e) => e == null ? "" : Q(e) || F(e) && e.toString === Cn ? JSON.stringify(e, null, 2) : String(e);
|
|
24
24
|
function Xt(e, t = "") {
|
|
25
25
|
return e.reduce((n, s, l) => l === 0 ? n + s : n + t + s, "");
|
|
26
26
|
}
|
|
@@ -35,7 +35,7 @@ function at(e, t) {
|
|
|
35
35
|
for (; n.length; ) {
|
|
36
36
|
const { src: s, des: l } = n.pop();
|
|
37
37
|
Object.keys(s).forEach((r) => {
|
|
38
|
-
r !== "__proto__" && (U(s[r]) && !U(l[r]) && (l[r] = Array.isArray(s[r]) ? [] :
|
|
38
|
+
r !== "__proto__" && (U(s[r]) && !U(l[r]) && (l[r] = Array.isArray(s[r]) ? [] : j()), qe(l[r]) || qe(s[r]) ? l[r] = s[r] : n.push({ src: s[r], des: l[r] }));
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -72,10 +72,10 @@ function Es(e) {
|
|
|
72
72
|
}
|
|
73
73
|
const be = " ", Is = "\r", re = `
|
|
74
74
|
`, vs = "\u2028", Ns = "\u2029";
|
|
75
|
-
function
|
|
75
|
+
function ks(e) {
|
|
76
76
|
const t = e;
|
|
77
77
|
let n = 0, s = 1, l = 1, r = 0;
|
|
78
|
-
const u = (v) => t[v] === Is && t[v + 1] === re, m = (v) => t[v] === re, c = (v) => t[v] === Ns, f = (v) => t[v] === vs, b = (v) => u(v) || m(v) || c(v) || f(v), E = () => n, g = () => s,
|
|
78
|
+
const u = (v) => t[v] === Is && t[v + 1] === re, m = (v) => t[v] === re, c = (v) => t[v] === Ns, f = (v) => t[v] === vs, b = (v) => u(v) || m(v) || c(v) || f(v), E = () => n, g = () => s, T = () => l, M = () => r, k = (v) => u(v) || c(v) || f(v) ? re : t[v], y = () => k(n), i = () => k(n + r);
|
|
79
79
|
function d() {
|
|
80
80
|
return r = 0, b(n) && (s++, l = 0), u(n) && n++, n++, l++, t[n];
|
|
81
81
|
}
|
|
@@ -97,9 +97,9 @@ function Ts(e) {
|
|
|
97
97
|
return {
|
|
98
98
|
index: E,
|
|
99
99
|
line: g,
|
|
100
|
-
column:
|
|
100
|
+
column: T,
|
|
101
101
|
peekOffset: M,
|
|
102
|
-
charAt:
|
|
102
|
+
charAt: k,
|
|
103
103
|
currentChar: y,
|
|
104
104
|
currentPeek: i,
|
|
105
105
|
next: d,
|
|
@@ -109,9 +109,9 @@ function Ts(e) {
|
|
|
109
109
|
skipToPeek: O
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
|
-
const Ie = void 0,
|
|
112
|
+
const Ie = void 0, Ts = ".", nn = "'", Os = "tokenizer";
|
|
113
113
|
function ys(e, t = {}) {
|
|
114
|
-
const n = t.location !== !1, s =
|
|
114
|
+
const n = t.location !== !1, s = ks(e), l = () => s.index(), r = () => hs(s.line(), s.column(), s.index()), u = r(), m = l(), c = {
|
|
115
115
|
currentType: 13,
|
|
116
116
|
offset: m,
|
|
117
117
|
startLoc: u,
|
|
@@ -139,7 +139,7 @@ function ys(e, t = {}) {
|
|
|
139
139
|
const A = { type: o };
|
|
140
140
|
return n && (A.loc = St(a.startLoc, a.endLoc)), h != null && (A.value = h), A;
|
|
141
141
|
}
|
|
142
|
-
const
|
|
142
|
+
const T = (a) => g(
|
|
143
143
|
a,
|
|
144
144
|
13
|
|
145
145
|
/* TokenTypes.EOF */
|
|
@@ -147,14 +147,14 @@ function ys(e, t = {}) {
|
|
|
147
147
|
function M(a, o) {
|
|
148
148
|
return a.currentChar() === o ? (a.next(), o) : (E(W.EXPECTED_TOKEN, r(), 0, o), "");
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function k(a) {
|
|
151
151
|
let o = "";
|
|
152
152
|
for (; a.currentPeek() === be || a.currentPeek() === re; )
|
|
153
153
|
o += a.currentPeek(), a.peek();
|
|
154
154
|
return o;
|
|
155
155
|
}
|
|
156
156
|
function y(a) {
|
|
157
|
-
const o =
|
|
157
|
+
const o = k(a);
|
|
158
158
|
return a.skipToPeek(), o;
|
|
159
159
|
}
|
|
160
160
|
function i(a) {
|
|
@@ -175,7 +175,7 @@ function ys(e, t = {}) {
|
|
|
175
175
|
const { currentType: h } = o;
|
|
176
176
|
if (h !== 2)
|
|
177
177
|
return !1;
|
|
178
|
-
|
|
178
|
+
k(a);
|
|
179
179
|
const A = i(a.currentPeek());
|
|
180
180
|
return a.resetPeek(), A;
|
|
181
181
|
}
|
|
@@ -183,7 +183,7 @@ function ys(e, t = {}) {
|
|
|
183
183
|
const { currentType: h } = o;
|
|
184
184
|
if (h !== 2)
|
|
185
185
|
return !1;
|
|
186
|
-
|
|
186
|
+
k(a);
|
|
187
187
|
const A = a.currentPeek() === "-" ? a.peek() : a.currentPeek(), J = d(A);
|
|
188
188
|
return a.resetPeek(), J;
|
|
189
189
|
}
|
|
@@ -191,7 +191,7 @@ function ys(e, t = {}) {
|
|
|
191
191
|
const { currentType: h } = o;
|
|
192
192
|
if (h !== 2)
|
|
193
193
|
return !1;
|
|
194
|
-
|
|
194
|
+
k(a);
|
|
195
195
|
const A = a.currentPeek() === nn;
|
|
196
196
|
return a.resetPeek(), A;
|
|
197
197
|
}
|
|
@@ -199,7 +199,7 @@ function ys(e, t = {}) {
|
|
|
199
199
|
const { currentType: h } = o;
|
|
200
200
|
if (h !== 7)
|
|
201
201
|
return !1;
|
|
202
|
-
|
|
202
|
+
k(a);
|
|
203
203
|
const A = a.currentPeek() === ".";
|
|
204
204
|
return a.resetPeek(), A;
|
|
205
205
|
}
|
|
@@ -207,7 +207,7 @@ function ys(e, t = {}) {
|
|
|
207
207
|
const { currentType: h } = o;
|
|
208
208
|
if (h !== 8)
|
|
209
209
|
return !1;
|
|
210
|
-
|
|
210
|
+
k(a);
|
|
211
211
|
const A = i(a.currentPeek());
|
|
212
212
|
return a.resetPeek(), A;
|
|
213
213
|
}
|
|
@@ -215,11 +215,11 @@ function ys(e, t = {}) {
|
|
|
215
215
|
const { currentType: h } = o;
|
|
216
216
|
if (!(h === 7 || h === 11))
|
|
217
217
|
return !1;
|
|
218
|
-
|
|
218
|
+
k(a);
|
|
219
219
|
const A = a.currentPeek() === ":";
|
|
220
220
|
return a.resetPeek(), A;
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function Y(a, o) {
|
|
223
223
|
const { currentType: h } = o;
|
|
224
224
|
if (h !== 9)
|
|
225
225
|
return !1;
|
|
@@ -230,7 +230,7 @@ function ys(e, t = {}) {
|
|
|
230
230
|
return a.resetPeek(), J;
|
|
231
231
|
}
|
|
232
232
|
function ne(a) {
|
|
233
|
-
|
|
233
|
+
k(a);
|
|
234
234
|
const o = a.currentPeek() === "|";
|
|
235
235
|
return a.resetPeek(), o;
|
|
236
236
|
}
|
|
@@ -256,7 +256,7 @@ function ys(e, t = {}) {
|
|
|
256
256
|
function D(a) {
|
|
257
257
|
return C(a, S);
|
|
258
258
|
}
|
|
259
|
-
function
|
|
259
|
+
function Z(a) {
|
|
260
260
|
const o = a.charCodeAt(0);
|
|
261
261
|
return o >= 97 && o <= 122 || // a-z
|
|
262
262
|
o >= 65 && o <= 90 || // A-Z
|
|
@@ -266,7 +266,7 @@ function ys(e, t = {}) {
|
|
|
266
266
|
o === 45;
|
|
267
267
|
}
|
|
268
268
|
function H(a) {
|
|
269
|
-
return C(a,
|
|
269
|
+
return C(a, Z);
|
|
270
270
|
}
|
|
271
271
|
function w(a) {
|
|
272
272
|
const o = a.charCodeAt(0);
|
|
@@ -281,7 +281,7 @@ function ys(e, t = {}) {
|
|
|
281
281
|
o >= 65 && o <= 70 || // A-F
|
|
282
282
|
o >= 97 && o <= 102;
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function ke(a) {
|
|
285
285
|
return C(a, V);
|
|
286
286
|
}
|
|
287
287
|
function We(a) {
|
|
@@ -290,7 +290,7 @@ function ys(e, t = {}) {
|
|
|
290
290
|
h += o;
|
|
291
291
|
return h;
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function je(a) {
|
|
294
294
|
let o = "";
|
|
295
295
|
for (; ; ) {
|
|
296
296
|
const h = a.currentChar();
|
|
@@ -350,7 +350,7 @@ function ys(e, t = {}) {
|
|
|
350
350
|
M(a, o);
|
|
351
351
|
let A = "";
|
|
352
352
|
for (let J = 0; J < h; J++) {
|
|
353
|
-
const P =
|
|
353
|
+
const P = ke(a);
|
|
354
354
|
if (!P) {
|
|
355
355
|
E(W.INVALID_UNICODE_ESCAPE_SEQUENCE, r(), 0, `\\${o}${A}${a.currentChar()}`);
|
|
356
356
|
break;
|
|
@@ -382,7 +382,7 @@ function ys(e, t = {}) {
|
|
|
382
382
|
};
|
|
383
383
|
return o("");
|
|
384
384
|
}
|
|
385
|
-
function
|
|
385
|
+
function Ge(a) {
|
|
386
386
|
y(a);
|
|
387
387
|
const o = M(
|
|
388
388
|
a,
|
|
@@ -409,11 +409,11 @@ function ys(e, t = {}) {
|
|
|
409
409
|
/* TokenChars.BraceRight */
|
|
410
410
|
), o.braceNest--, o.braceNest > 0 && y(a), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), h;
|
|
411
411
|
case "@":
|
|
412
|
-
return o.braceNest > 0 && E(W.UNTERMINATED_CLOSING_BRACE, r(), 0), h = De(a, o) ||
|
|
412
|
+
return o.braceNest > 0 && E(W.UNTERMINATED_CLOSING_BRACE, r(), 0), h = De(a, o) || T(o), o.braceNest = 0, h;
|
|
413
413
|
default: {
|
|
414
414
|
let J = !0, P = !0, _ = !0;
|
|
415
415
|
if (ne(a))
|
|
416
|
-
return o.braceNest > 0 && E(W.UNTERMINATED_CLOSING_BRACE, r(), 0), h = g(o, 1,
|
|
416
|
+
return o.braceNest > 0 && E(W.UNTERMINATED_CLOSING_BRACE, r(), 0), h = g(o, 1, Ge(a)), o.braceNest = 0, o.inLinked = !1, h;
|
|
417
417
|
if (o.braceNest > 0 && (o.currentType === 4 || o.currentType === 5 || o.currentType === 6))
|
|
418
418
|
return E(W.UNTERMINATED_CLOSING_BRACE, r(), 0), o.braceNest = 0, Xe(a, o);
|
|
419
419
|
if (J = N(a, o))
|
|
@@ -456,7 +456,7 @@ function ys(e, t = {}) {
|
|
|
456
456
|
/* TokenChars.LinkedDelimiter */
|
|
457
457
|
);
|
|
458
458
|
default:
|
|
459
|
-
return ne(a) ? (A = g(o, 1,
|
|
459
|
+
return ne(a) ? (A = g(o, 1, Ge(a)), o.braceNest = 0, o.inLinked = !1, A) : O(a, o) || x(a, o) ? (y(a), De(a, o)) : v(a, o) ? (y(a), g(o, 11, It(a))) : Y(a, o) ? (y(a), J === "{" ? Ae(a, o) || A : g(o, 10, vt(a))) : (h === 7 && E(W.INVALID_LINKED_FORMAT, r(), 0), o.braceNest = 0, o.inLinked = !1, Xe(a, o));
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
462
|
function Xe(a, o) {
|
|
@@ -465,12 +465,12 @@ function ys(e, t = {}) {
|
|
|
465
465
|
/* TokenTypes.EOF */
|
|
466
466
|
};
|
|
467
467
|
if (o.braceNest > 0)
|
|
468
|
-
return Ae(a, o) ||
|
|
468
|
+
return Ae(a, o) || T(o);
|
|
469
469
|
if (o.inLinked)
|
|
470
|
-
return De(a, o) ||
|
|
470
|
+
return De(a, o) || T(o);
|
|
471
471
|
switch (a.currentChar()) {
|
|
472
472
|
case "{":
|
|
473
|
-
return Ae(a, o) ||
|
|
473
|
+
return Ae(a, o) || T(o);
|
|
474
474
|
case "}":
|
|
475
475
|
return E(W.UNBALANCED_CLOSING_BRACE, r(), 0), a.next(), g(
|
|
476
476
|
o,
|
|
@@ -479,12 +479,12 @@ function ys(e, t = {}) {
|
|
|
479
479
|
/* TokenChars.BraceRight */
|
|
480
480
|
);
|
|
481
481
|
case "@":
|
|
482
|
-
return De(a, o) ||
|
|
482
|
+
return De(a, o) || T(o);
|
|
483
483
|
default: {
|
|
484
484
|
if (ne(a))
|
|
485
|
-
return h = g(o, 1,
|
|
485
|
+
return h = g(o, 1, Ge(a)), o.braceNest = 0, o.inLinked = !1, h;
|
|
486
486
|
if (oe(a))
|
|
487
|
-
return g(o, 0,
|
|
487
|
+
return g(o, 0, je(a));
|
|
488
488
|
break;
|
|
489
489
|
}
|
|
490
490
|
}
|
|
@@ -599,24 +599,24 @@ function Ss(e = {}) {
|
|
|
599
599
|
node: N
|
|
600
600
|
};
|
|
601
601
|
}
|
|
602
|
-
function
|
|
602
|
+
function T(i) {
|
|
603
603
|
const d = i.context(), N = d.currentType === 1 ? i.currentOffset() : d.offset, p = d.currentType === 1 ? d.endLoc : d.startLoc, L = l(2, N, p);
|
|
604
604
|
L.items = [];
|
|
605
605
|
let O = null;
|
|
606
606
|
do {
|
|
607
|
-
const
|
|
608
|
-
switch (O = null,
|
|
607
|
+
const Y = O || i.nextToken();
|
|
608
|
+
switch (O = null, Y.type) {
|
|
609
609
|
case 0:
|
|
610
|
-
|
|
610
|
+
Y.value == null && s(i, W.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, fe(Y)), L.items.push(u(i, Y.value || ""));
|
|
611
611
|
break;
|
|
612
612
|
case 5:
|
|
613
|
-
|
|
613
|
+
Y.value == null && s(i, W.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, fe(Y)), L.items.push(m(i, Y.value || ""));
|
|
614
614
|
break;
|
|
615
615
|
case 4:
|
|
616
|
-
|
|
616
|
+
Y.value == null && s(i, W.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, fe(Y)), L.items.push(c(i, Y.value || ""));
|
|
617
617
|
break;
|
|
618
618
|
case 6:
|
|
619
|
-
|
|
619
|
+
Y.value == null && s(i, W.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, fe(Y)), L.items.push(f(i, Y.value || ""));
|
|
620
620
|
break;
|
|
621
621
|
case 7: {
|
|
622
622
|
const ne = g(i);
|
|
@@ -634,18 +634,18 @@ function Ss(e = {}) {
|
|
|
634
634
|
const v = l(1, d, N);
|
|
635
635
|
v.cases = [], v.cases.push(p);
|
|
636
636
|
do {
|
|
637
|
-
const x =
|
|
637
|
+
const x = T(i);
|
|
638
638
|
O || (O = x.items.length === 0), v.cases.push(x);
|
|
639
639
|
} while (L.currentType !== 13);
|
|
640
640
|
return O && s(i, W.MUST_HAVE_MESSAGES_IN_PLURAL, N, 0), r(v, i.currentOffset(), i.currentPosition()), v;
|
|
641
641
|
}
|
|
642
|
-
function
|
|
643
|
-
const d = i.context(), { offset: N, startLoc: p } = d, L =
|
|
642
|
+
function k(i) {
|
|
643
|
+
const d = i.context(), { offset: N, startLoc: p } = d, L = T(i);
|
|
644
644
|
return d.currentType === 13 ? L : M(i, N, p, L);
|
|
645
645
|
}
|
|
646
646
|
function y(i) {
|
|
647
647
|
const d = ys(i, te({}, e)), N = d.context(), p = l(0, N.offset, N.startLoc);
|
|
648
|
-
return t && p.loc && (p.loc.source = i), p.body =
|
|
648
|
+
return t && p.loc && (p.loc.source = i), p.body = k(d), e.onCacheKey && (p.cacheKey = e.onCacheKey(i)), N.currentType !== 13 && s(d, W.UNEXPECTED_LEXICAL_ANALYSIS, N.lastStartLoc, 0, i[N.offset] || ""), r(p, d.currentOffset(), d.currentPosition()), p;
|
|
649
649
|
}
|
|
650
650
|
return { parse: y };
|
|
651
651
|
}
|
|
@@ -664,9 +664,9 @@ function As(e, t = {}) {
|
|
|
664
664
|
}
|
|
665
665
|
function sn(e, t) {
|
|
666
666
|
for (let n = 0; n < e.length; n++)
|
|
667
|
-
|
|
667
|
+
Yt(e[n], t);
|
|
668
668
|
}
|
|
669
|
-
function
|
|
669
|
+
function Yt(e, t) {
|
|
670
670
|
switch (e.type) {
|
|
671
671
|
case 1:
|
|
672
672
|
sn(e.cases, t), t.helper(
|
|
@@ -678,7 +678,7 @@ function Zt(e, t) {
|
|
|
678
678
|
sn(e.items, t);
|
|
679
679
|
break;
|
|
680
680
|
case 6: {
|
|
681
|
-
|
|
681
|
+
Yt(e.key, t), t.helper(
|
|
682
682
|
"linked"
|
|
683
683
|
/* HelperNameMap.LINKED */
|
|
684
684
|
), t.helper(
|
|
@@ -712,7 +712,7 @@ function Ds(e, t = {}) {
|
|
|
712
712
|
n.helper(
|
|
713
713
|
"normalize"
|
|
714
714
|
/* HelperNameMap.NORMALIZE */
|
|
715
|
-
), e.body &&
|
|
715
|
+
), e.body && Yt(e.body, n);
|
|
716
716
|
const s = n.context();
|
|
717
717
|
e.helpers = Array.from(s.helpers);
|
|
718
718
|
}
|
|
@@ -802,20 +802,20 @@ function Ps(e, t) {
|
|
|
802
802
|
};
|
|
803
803
|
r && e.loc && (u.source = e.loc.source);
|
|
804
804
|
const m = () => u;
|
|
805
|
-
function c(
|
|
806
|
-
u.code +=
|
|
805
|
+
function c(k, y) {
|
|
806
|
+
u.code += k;
|
|
807
807
|
}
|
|
808
|
-
function f(
|
|
808
|
+
function f(k, y = !0) {
|
|
809
809
|
const i = y ? s : "";
|
|
810
|
-
c(l ? i + " ".repeat(
|
|
810
|
+
c(l ? i + " ".repeat(k) : i);
|
|
811
811
|
}
|
|
812
|
-
function b(
|
|
812
|
+
function b(k = !0) {
|
|
813
813
|
const y = ++u.indentLevel;
|
|
814
|
-
|
|
814
|
+
k && f(y);
|
|
815
815
|
}
|
|
816
|
-
function E(
|
|
816
|
+
function E(k = !0) {
|
|
817
817
|
const y = --u.indentLevel;
|
|
818
|
-
|
|
818
|
+
k && f(y);
|
|
819
819
|
}
|
|
820
820
|
function g() {
|
|
821
821
|
f(u.indentLevel);
|
|
@@ -826,7 +826,7 @@ function Ps(e, t) {
|
|
|
826
826
|
indent: b,
|
|
827
827
|
deindent: E,
|
|
828
828
|
newline: g,
|
|
829
|
-
helper: (
|
|
829
|
+
helper: (k) => `_${k}`,
|
|
830
830
|
needIndent: () => u.needIndent
|
|
831
831
|
};
|
|
832
832
|
}
|
|
@@ -929,19 +929,19 @@ const Ws = (e, t = {}) => {
|
|
|
929
929
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
930
930
|
};
|
|
931
931
|
};
|
|
932
|
-
function
|
|
932
|
+
function js(e, t = {}) {
|
|
933
933
|
const n = te({}, t), s = !!n.jit, l = !!n.minify, r = n.optimize == null ? !0 : n.optimize, m = Ss(n).parse(e);
|
|
934
934
|
return s ? (r && Ms(m), l && Pe(m), { ast: m, code: "" }) : (Ds(m, n), Ws(m, n));
|
|
935
935
|
}
|
|
936
|
-
var
|
|
936
|
+
var Gs = { env: { NODE_ENV: "production" } };
|
|
937
937
|
function Xs() {
|
|
938
938
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Le().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Le().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
939
939
|
}
|
|
940
|
-
function
|
|
941
|
-
return (n) =>
|
|
940
|
+
function Tt(e) {
|
|
941
|
+
return (n) => Ys(n, e);
|
|
942
942
|
}
|
|
943
|
-
function
|
|
944
|
-
const n =
|
|
943
|
+
function Ys(e, t) {
|
|
944
|
+
const n = Zs(t);
|
|
945
945
|
if (n == null)
|
|
946
946
|
throw Be(
|
|
947
947
|
0
|
|
@@ -957,7 +957,7 @@ function Zs(e, t) {
|
|
|
957
957
|
return an(e, n);
|
|
958
958
|
}
|
|
959
959
|
const xs = ["b", "body"];
|
|
960
|
-
function
|
|
960
|
+
function Zs(e) {
|
|
961
961
|
return ve(e, xs);
|
|
962
962
|
}
|
|
963
963
|
const Bs = ["c", "cases"];
|
|
@@ -1053,7 +1053,7 @@ function Be(e) {
|
|
|
1053
1053
|
return new Error(`unhandled node type: ${e}`);
|
|
1054
1054
|
}
|
|
1055
1055
|
const rr = (e) => e;
|
|
1056
|
-
let tt =
|
|
1056
|
+
let tt = j();
|
|
1057
1057
|
function Fe(e) {
|
|
1058
1058
|
return U(e) && xt(e) === 0 && (de(e, "b") || de(e, "body"));
|
|
1059
1059
|
}
|
|
@@ -1062,7 +1062,7 @@ function ar(e, t = {}) {
|
|
|
1062
1062
|
const s = t.onError || Es;
|
|
1063
1063
|
return t.onError = (l) => {
|
|
1064
1064
|
n = !0, s(l);
|
|
1065
|
-
}, { ...
|
|
1065
|
+
}, { ...js(e, t), detectError: n };
|
|
1066
1066
|
}
|
|
1067
1067
|
// @__NO_SIDE_EFFECTS__
|
|
1068
1068
|
function lr(e, t) {
|
|
@@ -1073,17 +1073,17 @@ function lr(e, t) {
|
|
|
1073
1073
|
return l;
|
|
1074
1074
|
const { ast: r, detectError: u } = ar(e, {
|
|
1075
1075
|
...t,
|
|
1076
|
-
location:
|
|
1076
|
+
location: Gs.env.NODE_ENV !== "production",
|
|
1077
1077
|
jit: !0
|
|
1078
|
-
}), m =
|
|
1078
|
+
}), m = Tt(r);
|
|
1079
1079
|
return u ? m : tt[s] = m;
|
|
1080
1080
|
} else {
|
|
1081
1081
|
const n = e.cacheKey;
|
|
1082
1082
|
if (n) {
|
|
1083
1083
|
const s = tt[n];
|
|
1084
|
-
return s || (tt[n] =
|
|
1084
|
+
return s || (tt[n] = Tt(e));
|
|
1085
1085
|
} else
|
|
1086
|
-
return
|
|
1086
|
+
return Tt(e);
|
|
1087
1087
|
}
|
|
1088
1088
|
}
|
|
1089
1089
|
let He = null;
|
|
@@ -1114,7 +1114,7 @@ const he = {
|
|
|
1114
1114
|
function ge(e) {
|
|
1115
1115
|
return mt(e, null, void 0);
|
|
1116
1116
|
}
|
|
1117
|
-
function
|
|
1117
|
+
function Zt(e, t) {
|
|
1118
1118
|
return t.locale != null ? ln(t.locale) : ln(e.locale);
|
|
1119
1119
|
}
|
|
1120
1120
|
let Ot;
|
|
@@ -1418,7 +1418,7 @@ function Ir(e) {
|
|
|
1418
1418
|
]();
|
|
1419
1419
|
}
|
|
1420
1420
|
};
|
|
1421
|
-
function
|
|
1421
|
+
function T() {
|
|
1422
1422
|
const M = e[n + 1];
|
|
1423
1423
|
if (s === 5 && M === "'" || s === 6 && M === '"')
|
|
1424
1424
|
return n++, m = "\\" + M, g[
|
|
@@ -1427,7 +1427,7 @@ function Ir(e) {
|
|
|
1427
1427
|
](), !0;
|
|
1428
1428
|
}
|
|
1429
1429
|
for (; s !== null; )
|
|
1430
|
-
if (n++, r = e[n], !(r === "\\" &&
|
|
1430
|
+
if (n++, r = e[n], !(r === "\\" && T())) {
|
|
1431
1431
|
if (c = gr(r), E = Ne[s], f = E[c] || E.l || 8, f === 8 || (s = f[0], f[1] !== void 0 && (b = g[f[1]], b && (m = r, b() === !1))))
|
|
1432
1432
|
return;
|
|
1433
1433
|
if (s === 7)
|
|
@@ -1454,8 +1454,8 @@ function Nr(e, t) {
|
|
|
1454
1454
|
}
|
|
1455
1455
|
return l;
|
|
1456
1456
|
}
|
|
1457
|
-
const
|
|
1458
|
-
function
|
|
1457
|
+
const kr = "10.0.5", dt = -1, it = "en-US", un = "", mn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1458
|
+
function Tr() {
|
|
1459
1459
|
return {
|
|
1460
1460
|
upper: (e, t) => t === "text" && R(e) ? e.toUpperCase() : t === "vnode" && U(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1461
1461
|
lower: (e, t) => t === "text" && R(e) ? e.toLowerCase() : t === "vnode" && U(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
@@ -1484,7 +1484,7 @@ const dn = (e) => {
|
|
|
1484
1484
|
}, Sr = () => wn;
|
|
1485
1485
|
let _n = 0;
|
|
1486
1486
|
function Ar(e = {}) {
|
|
1487
|
-
const t = B(e.onWarn) ? e.onWarn : bs, n = R(e.version) ? e.version :
|
|
1487
|
+
const t = B(e.onWarn) ? e.onWarn : bs, n = R(e.version) ? e.version : kr, s = R(e.locale) || B(e.locale) ? e.locale : it, l = B(s) ? it : s, r = Q(e.fallbackLocale) || F(e.fallbackLocale) || R(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, u = F(e.messages) ? e.messages : yt(l), m = F(e.datetimeFormats) ? e.datetimeFormats : yt(l), c = F(e.numberFormats) ? e.numberFormats : yt(l), f = te(j(), e.modifiers, Tr()), b = e.pluralRules || j(), E = B(e.missing) ? e.missing : null, g = K(e.missingWarn) || ot(e.missingWarn) ? e.missingWarn : !0, T = K(e.fallbackWarn) || ot(e.fallbackWarn) ? e.fallbackWarn : !0, M = !!e.fallbackFormat, k = !!e.unresolving, y = B(e.postTranslation) ? e.postTranslation : null, i = F(e.processor) ? e.processor : null, d = K(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, N = !!e.escapeParameter, p = B(e.messageCompiler) ? e.messageCompiler : An, L = B(e.messageResolver) ? e.messageResolver : Dn || vr, O = B(e.localeFallbacker) ? e.localeFallbacker : Mn || dr, v = U(e.fallbackContext) ? e.fallbackContext : void 0, x = e, Y = U(x.__datetimeFormatters) ? x.__datetimeFormatters : /* @__PURE__ */ new Map(), ne = U(x.__numberFormatters) ? x.__numberFormatters : /* @__PURE__ */ new Map(), oe = U(x.__meta) ? x.__meta : {};
|
|
1488
1488
|
_n++;
|
|
1489
1489
|
const C = {
|
|
1490
1490
|
version: n,
|
|
@@ -1496,9 +1496,9 @@ function Ar(e = {}) {
|
|
|
1496
1496
|
pluralRules: b,
|
|
1497
1497
|
missing: E,
|
|
1498
1498
|
missingWarn: g,
|
|
1499
|
-
fallbackWarn:
|
|
1499
|
+
fallbackWarn: T,
|
|
1500
1500
|
fallbackFormat: M,
|
|
1501
|
-
unresolving:
|
|
1501
|
+
unresolving: k,
|
|
1502
1502
|
postTranslation: y,
|
|
1503
1503
|
processor: i,
|
|
1504
1504
|
warnHtmlMessage: d,
|
|
@@ -1510,9 +1510,9 @@ function Ar(e = {}) {
|
|
|
1510
1510
|
onWarn: t,
|
|
1511
1511
|
__meta: oe
|
|
1512
1512
|
};
|
|
1513
|
-
return C.datetimeFormats = m, C.numberFormats = c, C.__datetimeFormatters =
|
|
1513
|
+
return C.datetimeFormats = m, C.numberFormats = c, C.__datetimeFormatters = Y, C.__numberFormatters = ne, __INTLIFY_PROD_DEVTOOLS__ && ir(C, n, oe), C;
|
|
1514
1514
|
}
|
|
1515
|
-
const yt = (e) => ({ [e]:
|
|
1515
|
+
const yt = (e) => ({ [e]: j() });
|
|
1516
1516
|
function Bt(e, t, n, s, l) {
|
|
1517
1517
|
const { missing: r, onWarn: u } = e;
|
|
1518
1518
|
if (r !== null) {
|
|
@@ -1521,7 +1521,7 @@ function Bt(e, t, n, s, l) {
|
|
|
1521
1521
|
} else
|
|
1522
1522
|
return t;
|
|
1523
1523
|
}
|
|
1524
|
-
function
|
|
1524
|
+
function Ye(e, t, n) {
|
|
1525
1525
|
const s = e;
|
|
1526
1526
|
s.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
|
|
1527
1527
|
}
|
|
@@ -1540,7 +1540,7 @@ function Mr(e, t) {
|
|
|
1540
1540
|
function fn(e, ...t) {
|
|
1541
1541
|
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: r, localeFallbacker: u } = e, { __datetimeFormatters: m } = e, [c, f, b, E] = Dt(...t), g = K(b.missingWarn) ? b.missingWarn : e.missingWarn;
|
|
1542
1542
|
K(b.fallbackWarn) ? b.fallbackWarn : e.fallbackWarn;
|
|
1543
|
-
const
|
|
1543
|
+
const T = !!b.part, M = Zt(e, b), k = u(
|
|
1544
1544
|
e,
|
|
1545
1545
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1546
1546
|
l,
|
|
@@ -1550,14 +1550,14 @@ function fn(e, ...t) {
|
|
|
1550
1550
|
return new Intl.DateTimeFormat(M, E).format(f);
|
|
1551
1551
|
let y = {}, i, d = null;
|
|
1552
1552
|
const N = "datetime format";
|
|
1553
|
-
for (let O = 0; O <
|
|
1553
|
+
for (let O = 0; O < k.length && (i = k[O], y = n[i] || {}, d = y[c], !F(d)); O++)
|
|
1554
1554
|
Bt(e, c, i, g, N);
|
|
1555
1555
|
if (!F(d) || !R(i))
|
|
1556
1556
|
return s ? dt : c;
|
|
1557
1557
|
let p = `${i}__${c}`;
|
|
1558
1558
|
ut(E) || (p = `${p}__${JSON.stringify(E)}`);
|
|
1559
1559
|
let L = m.get(p);
|
|
1560
|
-
return L || (L = new Intl.DateTimeFormat(i, te({}, d, E)), m.set(p, L)),
|
|
1560
|
+
return L || (L = new Intl.DateTimeFormat(i, te({}, d, E)), m.set(p, L)), T ? L.formatToParts(f) : L.format(f);
|
|
1561
1561
|
}
|
|
1562
1562
|
const Fn = [
|
|
1563
1563
|
"localeMatcher",
|
|
@@ -1582,8 +1582,8 @@ const Fn = [
|
|
|
1582
1582
|
"fractionalSecondDigits"
|
|
1583
1583
|
];
|
|
1584
1584
|
function Dt(...e) {
|
|
1585
|
-
const [t, n, s, l] = e, r =
|
|
1586
|
-
let u =
|
|
1585
|
+
const [t, n, s, l] = e, r = j();
|
|
1586
|
+
let u = j(), m;
|
|
1587
1587
|
if (R(t)) {
|
|
1588
1588
|
const c = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
1589
1589
|
if (!c)
|
|
@@ -1617,7 +1617,7 @@ function pn(e, t, n) {
|
|
|
1617
1617
|
function bn(e, ...t) {
|
|
1618
1618
|
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: r, localeFallbacker: u } = e, { __numberFormatters: m } = e, [c, f, b, E] = Mt(...t), g = K(b.missingWarn) ? b.missingWarn : e.missingWarn;
|
|
1619
1619
|
K(b.fallbackWarn) ? b.fallbackWarn : e.fallbackWarn;
|
|
1620
|
-
const
|
|
1620
|
+
const T = !!b.part, M = Zt(e, b), k = u(
|
|
1621
1621
|
e,
|
|
1622
1622
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1623
1623
|
l,
|
|
@@ -1627,14 +1627,14 @@ function bn(e, ...t) {
|
|
|
1627
1627
|
return new Intl.NumberFormat(M, E).format(f);
|
|
1628
1628
|
let y = {}, i, d = null;
|
|
1629
1629
|
const N = "number format";
|
|
1630
|
-
for (let O = 0; O <
|
|
1630
|
+
for (let O = 0; O < k.length && (i = k[O], y = n[i] || {}, d = y[c], !F(d)); O++)
|
|
1631
1631
|
Bt(e, c, i, g, N);
|
|
1632
1632
|
if (!F(d) || !R(i))
|
|
1633
1633
|
return s ? dt : c;
|
|
1634
1634
|
let p = `${i}__${c}`;
|
|
1635
1635
|
ut(E) || (p = `${p}__${JSON.stringify(E)}`);
|
|
1636
1636
|
let L = m.get(p);
|
|
1637
|
-
return L || (L = new Intl.NumberFormat(i, te({}, d, E)), m.set(p, L)),
|
|
1637
|
+
return L || (L = new Intl.NumberFormat(i, te({}, d, E)), m.set(p, L)), T ? L.formatToParts(f) : L.format(f);
|
|
1638
1638
|
}
|
|
1639
1639
|
const Un = [
|
|
1640
1640
|
"localeMatcher",
|
|
@@ -1659,8 +1659,8 @@ const Un = [
|
|
|
1659
1659
|
"trailingZeroDisplay"
|
|
1660
1660
|
];
|
|
1661
1661
|
function Mt(...e) {
|
|
1662
|
-
const [t, n, s, l] = e, r =
|
|
1663
|
-
let u =
|
|
1662
|
+
const [t, n, s, l] = e, r = j();
|
|
1663
|
+
let u = j();
|
|
1664
1664
|
if (!ee(t))
|
|
1665
1665
|
throw ge(he.INVALID_ARGUMENT);
|
|
1666
1666
|
const m = t;
|
|
@@ -1683,18 +1683,18 @@ function Wr(e) {
|
|
|
1683
1683
|
const t = ee(e.pluralIndex) ? e.pluralIndex : -1;
|
|
1684
1684
|
return e.named && (ee(e.named.count) || ee(e.named.n)) ? ee(e.named.count) ? e.named.count : ee(e.named.n) ? e.named.n : t : t;
|
|
1685
1685
|
}
|
|
1686
|
-
function
|
|
1686
|
+
function jr(e, t) {
|
|
1687
1687
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1688
1688
|
}
|
|
1689
|
-
function
|
|
1690
|
-
const t = e.locale, n = Wr(e), s = U(e.pluralRules) && R(t) && B(e.pluralRules[t]) ? e.pluralRules[t] : gn, l = U(e.pluralRules) && R(t) && B(e.pluralRules[t]) ? gn : void 0, r = (i) => i[s(n, i.length, l)], u = e.list || [], m = (i) => u[i], c = e.named ||
|
|
1691
|
-
ee(e.pluralIndex) &&
|
|
1689
|
+
function Gr(e = {}) {
|
|
1690
|
+
const t = e.locale, n = Wr(e), s = U(e.pluralRules) && R(t) && B(e.pluralRules[t]) ? e.pluralRules[t] : gn, l = U(e.pluralRules) && R(t) && B(e.pluralRules[t]) ? gn : void 0, r = (i) => i[s(n, i.length, l)], u = e.list || [], m = (i) => u[i], c = e.named || j();
|
|
1691
|
+
ee(e.pluralIndex) && jr(n, c);
|
|
1692
1692
|
const f = (i) => c[i];
|
|
1693
1693
|
function b(i, d) {
|
|
1694
1694
|
const N = B(e.messages) ? e.messages(i, !!d) : U(e.messages) ? e.messages[i] : !1;
|
|
1695
1695
|
return N || (e.parent ? e.parent.message(i) : wr);
|
|
1696
1696
|
}
|
|
1697
|
-
const E = (i) => e.modifiers ? e.modifiers[i] : Pr, g = F(e.processor) && B(e.processor.normalize) ? e.processor.normalize : Ur,
|
|
1697
|
+
const E = (i) => e.modifiers ? e.modifiers[i] : Pr, g = F(e.processor) && B(e.processor.normalize) ? e.processor.normalize : Ur, T = F(e.processor) && B(e.processor.interpolate) ? e.processor.interpolate : Vr, M = F(e.processor) && R(e.processor.type) ? e.processor.type : Fr, y = {
|
|
1698
1698
|
list: m,
|
|
1699
1699
|
named: f,
|
|
1700
1700
|
plural: r,
|
|
@@ -1710,22 +1710,22 @@ function jr(e = {}) {
|
|
|
1710
1710
|
},
|
|
1711
1711
|
message: b,
|
|
1712
1712
|
type: M,
|
|
1713
|
-
interpolate:
|
|
1713
|
+
interpolate: T,
|
|
1714
1714
|
normalize: g,
|
|
1715
|
-
values: te(
|
|
1715
|
+
values: te(j(), u, c)
|
|
1716
1716
|
};
|
|
1717
1717
|
return y;
|
|
1718
1718
|
}
|
|
1719
1719
|
const En = () => "", ue = (e) => B(e);
|
|
1720
1720
|
function In(e, ...t) {
|
|
1721
|
-
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: r, fallbackLocale: u, messages: m } = e, [c, f] = Pt(...t), b = K(f.missingWarn) ? f.missingWarn : e.missingWarn, E = K(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, g = K(f.escapeParameter) ? f.escapeParameter : e.escapeParameter,
|
|
1721
|
+
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: r, fallbackLocale: u, messages: m } = e, [c, f] = Pt(...t), b = K(f.missingWarn) ? f.missingWarn : e.missingWarn, E = K(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, g = K(f.escapeParameter) ? f.escapeParameter : e.escapeParameter, T = !!f.resolvedMessage, M = R(f.default) || K(f.default) ? K(f.default) ? r ? c : () => c : f.default : n ? r ? c : () => c : null, k = n || M != null && (R(M) || B(M)), y = Zt(e, f);
|
|
1722
1722
|
g && Xr(f);
|
|
1723
|
-
let [i, d, N] =
|
|
1723
|
+
let [i, d, N] = T ? [
|
|
1724
1724
|
c,
|
|
1725
1725
|
y,
|
|
1726
|
-
m[y] ||
|
|
1726
|
+
m[y] || j()
|
|
1727
1727
|
] : Vn(e, c, y, u, E, b), p = i, L = c;
|
|
1728
|
-
if (!
|
|
1728
|
+
if (!T && !(R(p) || Fe(p) || ue(p)) && k && (p = M, L = p), !T && (!(R(p) || Fe(p) || ue(p)) || !R(d)))
|
|
1729
1729
|
return l ? dt : c;
|
|
1730
1730
|
let O = !1;
|
|
1731
1731
|
const v = () => {
|
|
@@ -1733,7 +1733,7 @@ function In(e, ...t) {
|
|
|
1733
1733
|
}, x = ue(p) ? p : Wn(e, c, d, p, L, v);
|
|
1734
1734
|
if (O)
|
|
1735
1735
|
return p;
|
|
1736
|
-
const
|
|
1736
|
+
const Y = Zr(e, d, N, f), ne = Gr(Y), oe = Yr(e, x, ne), C = s ? s(oe, c) : oe;
|
|
1737
1737
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1738
1738
|
const S = {
|
|
1739
1739
|
timestamp: Date.now(),
|
|
@@ -1753,9 +1753,9 @@ function Xr(e) {
|
|
|
1753
1753
|
}
|
|
1754
1754
|
function Vn(e, t, n, s, l, r) {
|
|
1755
1755
|
const { messages: u, onWarn: m, messageResolver: c, localeFallbacker: f } = e, b = f(e, s, n);
|
|
1756
|
-
let E =
|
|
1756
|
+
let E = j(), g, T = null;
|
|
1757
1757
|
const M = "translate";
|
|
1758
|
-
for (let
|
|
1758
|
+
for (let k = 0; k < b.length && (g = b[k], E = u[g] || j(), (T = c(E, t)) === null && (T = E[t]), !(R(T) || Fe(T) || ue(T))); k++)
|
|
1759
1759
|
if (!Mr(g, b)) {
|
|
1760
1760
|
const y = Bt(
|
|
1761
1761
|
e,
|
|
@@ -1765,9 +1765,9 @@ function Vn(e, t, n, s, l, r) {
|
|
|
1765
1765
|
r,
|
|
1766
1766
|
M
|
|
1767
1767
|
);
|
|
1768
|
-
y !== t && (
|
|
1768
|
+
y !== t && (T = y);
|
|
1769
1769
|
}
|
|
1770
|
-
return [
|
|
1770
|
+
return [T, g, E];
|
|
1771
1771
|
}
|
|
1772
1772
|
function Wn(e, t, n, s, l, r) {
|
|
1773
1773
|
const { messageCompiler: u, warnHtmlMessage: m } = e;
|
|
@@ -1782,11 +1782,11 @@ function Wn(e, t, n, s, l, r) {
|
|
|
1782
1782
|
const c = u(s, xr(e, n, l, s, m, r));
|
|
1783
1783
|
return c.locale = n, c.key = t, c.source = s, c;
|
|
1784
1784
|
}
|
|
1785
|
-
function
|
|
1785
|
+
function Yr(e, t, n) {
|
|
1786
1786
|
return t(n);
|
|
1787
1787
|
}
|
|
1788
1788
|
function Pt(...e) {
|
|
1789
|
-
const [t, n, s] = e, l =
|
|
1789
|
+
const [t, n, s] = e, l = j();
|
|
1790
1790
|
if (!R(t) && !ee(t) && !ue(t) && !Fe(t))
|
|
1791
1791
|
throw ge(he.INVALID_ARGUMENT);
|
|
1792
1792
|
const r = ee(t) ? String(t) : (ue(t), t);
|
|
@@ -1803,38 +1803,38 @@ function xr(e, t, n, s, l, r) {
|
|
|
1803
1803
|
onCacheKey: (u) => cs(t, n, u)
|
|
1804
1804
|
};
|
|
1805
1805
|
}
|
|
1806
|
-
function
|
|
1806
|
+
function Zr(e, t, n, s) {
|
|
1807
1807
|
const { modifiers: l, pluralRules: r, messageResolver: u, fallbackLocale: m, fallbackWarn: c, missingWarn: f, fallbackContext: b } = e, g = {
|
|
1808
1808
|
locale: t,
|
|
1809
1809
|
modifiers: l,
|
|
1810
1810
|
pluralRules: r,
|
|
1811
|
-
messages: (
|
|
1812
|
-
let
|
|
1813
|
-
if (
|
|
1811
|
+
messages: (T, M) => {
|
|
1812
|
+
let k = u(n, T);
|
|
1813
|
+
if (k == null && (b || M)) {
|
|
1814
1814
|
const [, , y] = Vn(
|
|
1815
1815
|
b || e,
|
|
1816
1816
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1817
|
-
|
|
1817
|
+
T,
|
|
1818
1818
|
t,
|
|
1819
1819
|
m,
|
|
1820
1820
|
c,
|
|
1821
1821
|
f
|
|
1822
1822
|
);
|
|
1823
|
-
|
|
1823
|
+
k = u(y, T);
|
|
1824
1824
|
}
|
|
1825
|
-
if (R(
|
|
1825
|
+
if (R(k) || Fe(k)) {
|
|
1826
1826
|
let y = !1;
|
|
1827
|
-
const d = Wn(e,
|
|
1827
|
+
const d = Wn(e, T, t, k, T, () => {
|
|
1828
1828
|
y = !0;
|
|
1829
1829
|
});
|
|
1830
1830
|
return y ? En : d;
|
|
1831
|
-
} else return ue(
|
|
1831
|
+
} else return ue(k) ? k : En;
|
|
1832
1832
|
}
|
|
1833
1833
|
};
|
|
1834
1834
|
return e.processor && (g.processor = e.processor), s.list && (g.list = s.list), s.named && (g.named = s.named), ee(s.plural) && (g.pluralIndex = s.plural), g;
|
|
1835
1835
|
}
|
|
1836
1836
|
Xs();
|
|
1837
|
-
var Br = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_5835df23-9371-4c01-8add-b6d1493db4ad", 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_5835df23-9371-4c01-8add-b6d1493db4ad", 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", npm_config_save_workspace_protocol: "true", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.4.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: "1857", ACTIONS_ORCHESTRATION_ID: "6d1361b5-9278-4e56-8a6b-70e3ff9130ec.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", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260323.65.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:13496", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^8.52.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.8/x64", GITHUB_RUN_ID: "23640999539", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "ad9aa5bddd3513356fecd79856a1ad568e84e840", 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.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9LREktMzk2Ny1yb2xlLWJhc2VkLXBlcm1pc3Npb24tc2V0XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzc0NjI3OTM3LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3NzQ2MDU3MzcsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiJjMWVjNDViYi0xNDBkLTU1NzItYjg3OS0yOTlmMmM5ZTUwMDEiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3NzQ2MDU0MzcsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwianVuLWxlZS1mZWVkbWVcIixcImFjdG9yX2lkXCI6XCIyMzkyODI4NjJcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiNjg4NjEzOTY2MzZcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcImJiNTc5MDZkZDg2OTUzZmI1YmE5OTY1YWI5ZTJlZGZiMGRkNDFjNDZcIixcInJlZlwiOlwicmVmcy9oZWFkcy9LREktMzk2Ny1yb2xlLWJhc2VkLXBlcm1pc3Npb24tc2V0XCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjIzNjQwOTk5NTM5XCIsXCJydW5fbnVtYmVyXCI6XCIyMlwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcImFkOWFhNWJkZGQzNTEzMzU2ZmVjZDc5ODU2YTFhZDU2OGU4NGU4NDBcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL0tESS0zOTY3LXJvbGUtYmFzZWQtcGVybWlzc2lvbi1zZXRcIixcIndvcmtmbG93X3NoYVwiOlwiYWQ5YWE1YmRkZDM1MTMzNTZmZWNkNzk4NTZhMWFkNTY4ZTg0ZTg0MFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvaHJtLXNlcnZpY2U6cmVmOnJlZnMvaGVhZHMvS0RJLTM5Njctcm9sZS1iYXNlZC1wZXJtaXNzaW9uLXNldCIsIm9yY2hfaWQiOiI2ZDEzNjFiNS05Mjc4LTRlNTYtOGE2Yi03MGUzZmY5MTMwZWMucHVibGlzaC5wdWJsaXNoLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6IjZkMTM2MWI1LTkyNzgtNGU1Ni04YTZiLTcwZTNmZjkxMzBlYyIsInJlcG9zaXRvcnlfaWQiOiIxMTI0NjcyMjM1IiwicnVuX2lkIjoiMjM2NDA5OTk1MzkiLCJydW5fbnVtYmVyIjoiMjIiLCJydW5fdHlwZSI6ImZ1bGwiLCJydW5uZXJfaWQiOiIxMDAwMDU1NjUxIiwicnVubmVyX3R5cGUiOiJob3N0ZWQiLCJzY3AiOiJBY3Rpb25zLlJlc3VsdHM6NmQxMzYxYjUtOTI3OC00ZTU2LThhNmItNzBlM2ZmOTEzMGVjOmMxZWM0NWJiLTE0MGQtNTU3Mi1iODc5LTI5OWYyYzllNTAwMSBBY3Rpb25zLlJ1bm5lcjo2ZDEzNjFiNS05Mjc4LTRlNTYtOGE2Yi03MGUzZmY5MTMwZWM6YzFlYzQ1YmItMTQwZC01NTcyLWI4NzktMjk5ZjJjOWU1MDAxIEFjdGlvbnMuVXBsb2FkQXJ0aWZhY3RzOjZkMTM2MWI1LTkyNzgtNGU1Ni04YTZiLTcwZTNmZjkxMzBlYzpjMWVjNDViYi0xNDBkLTU1NzItYjg3OS0yOTlmMmM5ZTUwMDEgZ2VuZXJhdGVfaWRfdG9rZW46NmQxMzYxYjUtOTI3OC00ZTU2LThhNmItNzBlM2ZmOTEzMGVjOmMxZWM0NWJiLTE0MGQtNTU3Mi1iODc5LTI5OWYyYzllNTAwMSBBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInNoYSI6ImFkOWFhNWJkZGQzNTEzMzU2ZmVjZDc5ODU2YTFhZDU2OGU4NGU4NDAiLCJ0cnVzdF90aWVyIjoiMSJ9.Kx64CT8HVIlWLB464xoNbCbQufXaCGOxIundXyRwOgBBBfTx1VeuAm0reAwOQC2HZ2taC6G7lcWXDpfqtbyi0bXNOc5NUOiERzUDpx7mc0eXheZccPQ2kUFYtALYJ-oUgBDk2-XZwhQJMsebSj893UUHj_1dzQuheFKrXwXLdQndKXoEgW-rtha2p2LZ62W2zLq90lWCuwJooDySvWeTxezoOEQowb-XZuf3WawKltpzs4UwjZQHBa_UsdOX7j-hLrBKZ22Et7ZDHJm4iBrScSh3_XT2TrZ4VzYzqCpgmBTU8gke6QYgDYew7hTv0EOHeQFzRak_HrzJIR2Jca1FqA", 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_3bdb495d-3644-4b67-a276-0faac47b8f25", INVOCATION_ID: "f465b4ccdb2b48f6b4844e2d0dccbfb1", 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: "22", 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 1000055651", 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.7", 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: "ad9aa5bddd3513356fecd79856a1ad568e84e840", 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_5835df23-9371-4c01-8add-b6d1493db4ad", 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: "true", 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-1-azure-eastus.actions.githubusercontent.com/5//idtoken/6d1361b5-9278-4e56-8a6b-70e3ff9130ec/c1ec45bb-140d-5572-b879-299f2c9e5001?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_5835df23-9371-4c01-8add-b6d1493db4ad", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.33.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_5835df23-9371-4c01-8add-b6d1493db4ad", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1837
|
+
var Br = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_f09ad8aa-6958-4ea3-b2ea-cb56c3c8346b", 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_f09ad8aa-6958-4ea3-b2ea-cb56c3c8346b", 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", npm_config_save_workspace_protocol: "true", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.4.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: "9f904879-90be-4c05-8c45-2bbc72dbcd62.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", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260323.65.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:12775", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^8.52.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.8/x64", GITHUB_RUN_ID: "23751389701", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "a40981ddcb59d03aab9c266ed51d400900f3ffcc", 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.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9LREktMzk2Ny1yb2xlLWJhc2VkLXBlcm1pc3Npb24tc2V0XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzc0OTA0Nzk2LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3NzQ4ODI1OTYsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiI2ODUzODcwZC02YWRmLTU5NjgtYmM0YS01ODAzMjhjNTQ3YmEiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3NzQ4ODIyOTYsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwianVuLWxlZS1mZWVkbWVcIixcImFjdG9yX2lkXCI6XCIyMzkyODI4NjJcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiNjkxOTQxNjM3NzBcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcImJiNTc5MDZkZDg2OTUzZmI1YmE5OTY1YWI5ZTJlZGZiMGRkNDFjNDZcIixcInJlZlwiOlwicmVmcy9oZWFkcy9LREktMzk2Ny1yb2xlLWJhc2VkLXBlcm1pc3Npb24tc2V0XCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjIzNzUxMzg5NzAxXCIsXCJydW5fbnVtYmVyXCI6XCIyNFwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcImE0MDk4MWRkY2I1OWQwM2FhYjljMjY2ZWQ1MWQ0MDA5MDBmM2ZmY2NcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL0tESS0zOTY3LXJvbGUtYmFzZWQtcGVybWlzc2lvbi1zZXRcIixcIndvcmtmbG93X3NoYVwiOlwiYTQwOTgxZGRjYjU5ZDAzYWFiOWMyNjZlZDUxZDQwMDkwMGYzZmZjY1wifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvaHJtLXNlcnZpY2U6cmVmOnJlZnMvaGVhZHMvS0RJLTM5Njctcm9sZS1iYXNlZC1wZXJtaXNzaW9uLXNldCIsIm9yY2hfaWQiOiI5ZjkwNDg3OS05MGJlLTRjMDUtOGM0NS0yYmJjNzJkYmNkNjIucHVibGlzaC5wdWJsaXNoLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6IjlmOTA0ODc5LTkwYmUtNGMwNS04YzQ1LTJiYmM3MmRiY2Q2MiIsInJlcG9zaXRvcnlfaWQiOiIxMTI0NjcyMjM1IiwicnVuX2lkIjoiMjM3NTEzODk3MDEiLCJydW5fbnVtYmVyIjoiMjQiLCJydW5fdHlwZSI6ImZ1bGwiLCJydW5uZXJfaWQiOiIxMDAwMDU2MTQwIiwicnVubmVyX3R5cGUiOiJob3N0ZWQiLCJzY3AiOiJBY3Rpb25zLlJlc3VsdHM6OWY5MDQ4NzktOTBiZS00YzA1LThjNDUtMmJiYzcyZGJjZDYyOjY4NTM4NzBkLTZhZGYtNTk2OC1iYzRhLTU4MDMyOGM1NDdiYSBBY3Rpb25zLlJ1bm5lcjo5ZjkwNDg3OS05MGJlLTRjMDUtOGM0NS0yYmJjNzJkYmNkNjI6Njg1Mzg3MGQtNmFkZi01OTY4LWJjNGEtNTgwMzI4YzU0N2JhIEFjdGlvbnMuVXBsb2FkQXJ0aWZhY3RzOjlmOTA0ODc5LTkwYmUtNGMwNS04YzQ1LTJiYmM3MmRiY2Q2Mjo2ODUzODcwZC02YWRmLTU5NjgtYmM0YS01ODAzMjhjNTQ3YmEgZ2VuZXJhdGVfaWRfdG9rZW46OWY5MDQ4NzktOTBiZS00YzA1LThjNDUtMmJiYzcyZGJjZDYyOjY4NTM4NzBkLTZhZGYtNTk2OC1iYzRhLTU4MDMyOGM1NDdiYSBBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInNoYSI6ImE0MDk4MWRkY2I1OWQwM2FhYjljMjY2ZWQ1MWQ0MDA5MDBmM2ZmY2MiLCJ0cnVzdF90aWVyIjoiMSJ9.SMQBXgENlrgEzglvqdUTjuVH1ugNOM5bKxI1VlMsTL6rAeXtG9bbE52pMz4wGozGOkC4_Md1qh7g7T2hey1i-BApZ8QQGn90frqVEk_4MMkAwnMHlhu1F8JJ0RD-6C2Bkn3c0LJbprFU2U_JuYz_jPXzGf8L36m0X3nQgChM_LneS_XVhmnJqX1mkJbzhl5KqsOUarWvxltQqAB_ztXSrBiMVPu-Ic_UoepMLf6b31hRZkB1iewOlRljx5e0NUXzelZdyNk-724ZIAWHNYjmyToz9zpsHI9kVsYFl3xeXejiWUaYKM0OW8PMluOArskTuNsgj1gEJSmNg5vVi9AOWw", 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_2816a50e-f1e9-48cf-831e-65931cc65f13", INVOCATION_ID: "1d7c495431164c6797aaddef22be4ebd", 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: "24", 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 1000056140", 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.9", 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: "a40981ddcb59d03aab9c266ed51d400900f3ffcc", 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_f09ad8aa-6958-4ea3-b2ea-cb56c3c8346b", 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: "true", 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-1-azure-eastus.actions.githubusercontent.com/33//idtoken/9f904879-90be-4c05-8c45-2bbc72dbcd62/6853870d-6adf-5968-bc4a-580328c547ba?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_f09ad8aa-6958-4ea3-b2ea-cb56c3c8346b", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.33.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_f09ad8aa-6958-4ea3-b2ea-cb56c3c8346b", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1838
1838
|
const Hr = "10.0.5";
|
|
1839
1839
|
function Jr() {
|
|
1840
1840
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Le().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Le().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Le().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Le().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
@@ -1855,7 +1855,7 @@ const Ue = {
|
|
|
1855
1855
|
function Je(e, ...t) {
|
|
1856
1856
|
return mt(e, null, void 0);
|
|
1857
1857
|
}
|
|
1858
|
-
const wt = /* @__PURE__ */ Se("__translateVNode"), Ft = /* @__PURE__ */ Se("__datetimeParts"), Ut = /* @__PURE__ */ Se("__numberParts"), $r = Se("__setPluralRules"),
|
|
1858
|
+
const wt = /* @__PURE__ */ Se("__translateVNode"), Ft = /* @__PURE__ */ Se("__datetimeParts"), Ut = /* @__PURE__ */ Se("__numberParts"), $r = Se("__setPluralRules"), jn = /* @__PURE__ */ Se("__injectWithOption"), Vt = /* @__PURE__ */ Se("__dispose");
|
|
1859
1859
|
function $e(e) {
|
|
1860
1860
|
if (!U(e))
|
|
1861
1861
|
return e;
|
|
@@ -1867,7 +1867,7 @@ function $e(e) {
|
|
|
1867
1867
|
const n = t.split("."), s = n.length - 1;
|
|
1868
1868
|
let l = e, r = !1;
|
|
1869
1869
|
for (let u = 0; u < s; u++) {
|
|
1870
|
-
if (n[u] in l || (l[n[u]] =
|
|
1870
|
+
if (n[u] in l || (l[n[u]] = j()), !U(l[n[u]])) {
|
|
1871
1871
|
r = !0;
|
|
1872
1872
|
break;
|
|
1873
1873
|
}
|
|
@@ -1877,12 +1877,12 @@ function $e(e) {
|
|
|
1877
1877
|
}
|
|
1878
1878
|
return e;
|
|
1879
1879
|
}
|
|
1880
|
-
function
|
|
1881
|
-
const { messages: n, __i18n: s, messageResolver: l, flatJson: r } = t, u = F(n) ? n : Q(s) ?
|
|
1880
|
+
function Gn(e, t) {
|
|
1881
|
+
const { messages: n, __i18n: s, messageResolver: l, flatJson: r } = t, u = F(n) ? n : Q(s) ? j() : { [e]: j() };
|
|
1882
1882
|
if (Q(s) && s.forEach((m) => {
|
|
1883
1883
|
if ("locale" in m && "resource" in m) {
|
|
1884
1884
|
const { locale: c, resource: f } = m;
|
|
1885
|
-
c ? (u[c] = u[c] ||
|
|
1885
|
+
c ? (u[c] = u[c] || j(), at(f, u[c])) : at(f, u);
|
|
1886
1886
|
} else
|
|
1887
1887
|
R(m) && at(JSON.parse(m), u);
|
|
1888
1888
|
}), l == null && r)
|
|
@@ -1894,8 +1894,8 @@ function Xn(e) {
|
|
|
1894
1894
|
return e.type;
|
|
1895
1895
|
}
|
|
1896
1896
|
function zr(e, t, n) {
|
|
1897
|
-
let s = U(t.messages) ? t.messages :
|
|
1898
|
-
"__i18nGlobal" in n && (s =
|
|
1897
|
+
let s = U(t.messages) ? t.messages : j();
|
|
1898
|
+
"__i18nGlobal" in n && (s = Gn(e.locale.value, {
|
|
1899
1899
|
messages: s,
|
|
1900
1900
|
__i18n: n.__i18nGlobal
|
|
1901
1901
|
}));
|
|
@@ -1921,8 +1921,8 @@ function zr(e, t, n) {
|
|
|
1921
1921
|
function vn(e) {
|
|
1922
1922
|
return ie(Jn, null, e, 0);
|
|
1923
1923
|
}
|
|
1924
|
-
const Nn = "__INTLIFY_META__",
|
|
1925
|
-
let
|
|
1924
|
+
const Nn = "__INTLIFY_META__", kn = () => [], Kr = () => !1;
|
|
1925
|
+
let Tn = 0;
|
|
1926
1926
|
function On(e) {
|
|
1927
1927
|
return (t, n, s, l) => e(n, s, Wt() || void 0, l);
|
|
1928
1928
|
}
|
|
@@ -1940,8 +1940,8 @@ function qr(e = {}) {
|
|
|
1940
1940
|
), c = r(
|
|
1941
1941
|
// prettier-ignore
|
|
1942
1942
|
t && u ? t.fallbackLocale.value : R(e.fallbackLocale) || Q(e.fallbackLocale) || F(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : m.value
|
|
1943
|
-
), f = r(
|
|
1944
|
-
let g = t ? t.missingWarn : K(e.missingWarn) || ot(e.missingWarn) ? e.missingWarn : !0,
|
|
1943
|
+
), f = r(Gn(m.value, e)), b = r(F(e.datetimeFormats) ? e.datetimeFormats : { [m.value]: {} }), E = r(F(e.numberFormats) ? e.numberFormats : { [m.value]: {} });
|
|
1944
|
+
let g = t ? t.missingWarn : K(e.missingWarn) || ot(e.missingWarn) ? e.missingWarn : !0, T = t ? t.fallbackWarn : K(e.fallbackWarn) || ot(e.fallbackWarn) ? e.fallbackWarn : !0, M = t ? t.fallbackRoot : K(e.fallbackRoot) ? e.fallbackRoot : !0, k = !!e.fallbackFormat, y = B(e.missing) ? e.missing : null, i = B(e.missing) ? On(e.missing) : null, d = B(e.postTranslation) ? e.postTranslation : null, N = t ? t.warnHtmlMessage : K(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, p = !!e.escapeParameter;
|
|
1945
1945
|
const L = t ? t.modifiers : F(e.modifiers) ? e.modifiers : {};
|
|
1946
1946
|
let O = e.pluralRules || t && t.pluralRules, v;
|
|
1947
1947
|
v = (() => {
|
|
@@ -1955,8 +1955,8 @@ function qr(e = {}) {
|
|
|
1955
1955
|
pluralRules: O,
|
|
1956
1956
|
missing: i === null ? void 0 : i,
|
|
1957
1957
|
missingWarn: g,
|
|
1958
|
-
fallbackWarn:
|
|
1959
|
-
fallbackFormat:
|
|
1958
|
+
fallbackWarn: T,
|
|
1959
|
+
fallbackFormat: k,
|
|
1960
1960
|
unresolving: !0,
|
|
1961
1961
|
postTranslation: d === null ? void 0 : d,
|
|
1962
1962
|
warnHtmlMessage: N,
|
|
@@ -1968,8 +1968,8 @@ function qr(e = {}) {
|
|
|
1968
1968
|
_.datetimeFormats = b.value, _.numberFormats = E.value, _.__datetimeFormatters = F(v) ? v.__datetimeFormatters : void 0, _.__numberFormatters = F(v) ? v.__numberFormatters : void 0;
|
|
1969
1969
|
const I = Ar(_);
|
|
1970
1970
|
return s && dn(I), I;
|
|
1971
|
-
})(),
|
|
1972
|
-
function
|
|
1971
|
+
})(), Ye(v, m.value, c.value);
|
|
1972
|
+
function Y() {
|
|
1973
1973
|
return [
|
|
1974
1974
|
m.value,
|
|
1975
1975
|
c.value,
|
|
@@ -1986,10 +1986,10 @@ function qr(e = {}) {
|
|
|
1986
1986
|
}), oe = X({
|
|
1987
1987
|
get: () => c.value,
|
|
1988
1988
|
set: (_) => {
|
|
1989
|
-
c.value = _, v.fallbackLocale = c.value,
|
|
1989
|
+
c.value = _, v.fallbackLocale = c.value, Ye(v, m.value, _);
|
|
1990
1990
|
}
|
|
1991
1991
|
}), C = X(() => f.value), S = /* @__PURE__ */ X(() => b.value), D = /* @__PURE__ */ X(() => E.value);
|
|
1992
|
-
function
|
|
1992
|
+
function Z() {
|
|
1993
1993
|
return B(d) ? d : null;
|
|
1994
1994
|
}
|
|
1995
1995
|
function H(_) {
|
|
@@ -2001,34 +2001,34 @@ function qr(e = {}) {
|
|
|
2001
2001
|
function se(_) {
|
|
2002
2002
|
_ !== null && (i = On(_)), y = _, v.missing = i;
|
|
2003
2003
|
}
|
|
2004
|
-
const V = (_, I,
|
|
2005
|
-
|
|
2004
|
+
const V = (_, I, G, $, Te, Ke) => {
|
|
2005
|
+
Y();
|
|
2006
2006
|
let Me;
|
|
2007
2007
|
try {
|
|
2008
2008
|
Br.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (v.fallbackContext = t ? Sr() : void 0), Me = _(v);
|
|
2009
2009
|
} finally {
|
|
2010
2010
|
__INTLIFY_PROD_DEVTOOLS__, s || (v.fallbackContext = void 0);
|
|
2011
2011
|
}
|
|
2012
|
-
if (
|
|
2013
|
-
ee(Me) && Me === dt ||
|
|
2014
|
-
const [
|
|
2015
|
-
return t && M ? $(t) :
|
|
2012
|
+
if (G !== "translate exists" && // for not `te` (e.g `t`)
|
|
2013
|
+
ee(Me) && Me === dt || G === "translate exists" && !Me) {
|
|
2014
|
+
const [Zn, Sa] = I();
|
|
2015
|
+
return t && M ? $(t) : Te(Zn);
|
|
2016
2016
|
} else {
|
|
2017
2017
|
if (Ke(Me))
|
|
2018
2018
|
return Me;
|
|
2019
2019
|
throw Je(Ue.UNEXPECTED_RETURN_TYPE);
|
|
2020
2020
|
}
|
|
2021
2021
|
};
|
|
2022
|
-
function
|
|
2022
|
+
function ke(..._) {
|
|
2023
2023
|
return V((I) => Reflect.apply(In, null, [I, ..._]), () => Pt(..._), "translate", (I) => Reflect.apply(I.t, I, [..._]), (I) => I, (I) => R(I));
|
|
2024
2024
|
}
|
|
2025
2025
|
function We(..._) {
|
|
2026
|
-
const [I,
|
|
2026
|
+
const [I, G, $] = _;
|
|
2027
2027
|
if ($ && !U($))
|
|
2028
2028
|
throw Je(Ue.INVALID_ARGUMENT);
|
|
2029
|
-
return
|
|
2029
|
+
return ke(I, G, te({ resolvedMessage: !0 }, $ || {}));
|
|
2030
2030
|
}
|
|
2031
|
-
function
|
|
2031
|
+
function je(..._) {
|
|
2032
2032
|
return V((I) => Reflect.apply(fn, null, [I, ..._]), () => Dt(..._), "datetime format", (I) => Reflect.apply(I.d, I, [..._]), () => un, (I) => R(I));
|
|
2033
2033
|
}
|
|
2034
2034
|
function ft(..._) {
|
|
@@ -2044,21 +2044,21 @@ function qr(e = {}) {
|
|
|
2044
2044
|
};
|
|
2045
2045
|
function ht(..._) {
|
|
2046
2046
|
return V((I) => {
|
|
2047
|
-
let
|
|
2047
|
+
let G;
|
|
2048
2048
|
const $ = I;
|
|
2049
2049
|
try {
|
|
2050
|
-
$.processor = bt,
|
|
2050
|
+
$.processor = bt, G = Reflect.apply(In, null, [$, ..._]);
|
|
2051
2051
|
} finally {
|
|
2052
2052
|
$.processor = null;
|
|
2053
2053
|
}
|
|
2054
|
-
return
|
|
2054
|
+
return G;
|
|
2055
2055
|
}, () => Pt(..._), "translate", (I) => I[wt](..._), (I) => [vn(I)], (I) => Q(I));
|
|
2056
2056
|
}
|
|
2057
2057
|
function ze(..._) {
|
|
2058
|
-
return V((I) => Reflect.apply(bn, null, [I, ..._]), () => Mt(..._), "number format", (I) => I[Ut](..._),
|
|
2058
|
+
return V((I) => Reflect.apply(bn, null, [I, ..._]), () => Mt(..._), "number format", (I) => I[Ut](..._), kn, (I) => R(I) || Q(I));
|
|
2059
2059
|
}
|
|
2060
2060
|
function gt(..._) {
|
|
2061
|
-
return V((I) => Reflect.apply(fn, null, [I, ..._]), () => Dt(..._), "datetime format", (I) => I[Ft](..._),
|
|
2061
|
+
return V((I) => Reflect.apply(fn, null, [I, ..._]), () => Dt(..._), "datetime format", (I) => I[Ft](..._), kn, (I) => R(I) || Q(I));
|
|
2062
2062
|
}
|
|
2063
2063
|
function Et(_) {
|
|
2064
2064
|
O = _, v.pluralRules = O;
|
|
@@ -2067,15 +2067,15 @@ function qr(e = {}) {
|
|
|
2067
2067
|
return V(() => {
|
|
2068
2068
|
if (!_)
|
|
2069
2069
|
return !1;
|
|
2070
|
-
const
|
|
2071
|
-
return Fe(
|
|
2072
|
-
}, () => [_], "translate exists", (
|
|
2070
|
+
const G = R(I) ? I : m.value, $ = Ae(G), Te = v.messageResolver($, _);
|
|
2071
|
+
return Fe(Te) || ue(Te) || R(Te);
|
|
2072
|
+
}, () => [_], "translate exists", (G) => Reflect.apply(G.te, G, [_, I]), Kr, (G) => K(G));
|
|
2073
2073
|
}
|
|
2074
2074
|
function vt(_) {
|
|
2075
2075
|
let I = null;
|
|
2076
|
-
const
|
|
2077
|
-
for (let $ = 0; $ <
|
|
2078
|
-
const
|
|
2076
|
+
const G = Sn(v, c.value, m.value);
|
|
2077
|
+
for (let $ = 0; $ < G.length; $++) {
|
|
2078
|
+
const Te = f.value[G[$]] || {}, Ke = v.messageResolver(Te, _);
|
|
2079
2079
|
if (Ke != null) {
|
|
2080
2080
|
I = Ke;
|
|
2081
2081
|
break;
|
|
@@ -2083,7 +2083,7 @@ function qr(e = {}) {
|
|
|
2083
2083
|
}
|
|
2084
2084
|
return I;
|
|
2085
2085
|
}
|
|
2086
|
-
function
|
|
2086
|
+
function Ge(_) {
|
|
2087
2087
|
const I = vt(_);
|
|
2088
2088
|
return I ?? (t ? t.tm(_) || {} : {});
|
|
2089
2089
|
}
|
|
@@ -2092,20 +2092,20 @@ function qr(e = {}) {
|
|
|
2092
2092
|
}
|
|
2093
2093
|
function De(_, I) {
|
|
2094
2094
|
if (l) {
|
|
2095
|
-
const
|
|
2096
|
-
for (const $ in
|
|
2097
|
-
de(
|
|
2098
|
-
I =
|
|
2095
|
+
const G = { [_]: I };
|
|
2096
|
+
for (const $ in G)
|
|
2097
|
+
de(G, $) && $e(G[$]);
|
|
2098
|
+
I = G[_];
|
|
2099
2099
|
}
|
|
2100
2100
|
f.value[_] = I, v.messages = f.value;
|
|
2101
2101
|
}
|
|
2102
2102
|
function Xe(_, I) {
|
|
2103
2103
|
f.value[_] = f.value[_] || {};
|
|
2104
|
-
const
|
|
2104
|
+
const G = { [_]: I };
|
|
2105
2105
|
if (l)
|
|
2106
|
-
for (const $ in
|
|
2107
|
-
de(
|
|
2108
|
-
I =
|
|
2106
|
+
for (const $ in G)
|
|
2107
|
+
de(G, $) && $e(G[$]);
|
|
2108
|
+
I = G[_], at(I, f.value[_]), v.messages = f.value;
|
|
2109
2109
|
}
|
|
2110
2110
|
function Nt(_) {
|
|
2111
2111
|
return b.value[_] || {};
|
|
@@ -2125,20 +2125,20 @@ function qr(e = {}) {
|
|
|
2125
2125
|
function J(_, I) {
|
|
2126
2126
|
E.value[_] = te(E.value[_] || {}, I), v.numberFormats = E.value, hn(v, _, I);
|
|
2127
2127
|
}
|
|
2128
|
-
|
|
2129
|
-
u && (m.value = _, v.locale = _,
|
|
2128
|
+
Tn++, t && qt && (Ct(t.locale, (_) => {
|
|
2129
|
+
u && (m.value = _, v.locale = _, Ye(v, m.value, c.value));
|
|
2130
2130
|
}), Ct(t.fallbackLocale, (_) => {
|
|
2131
|
-
u && (c.value = _, v.fallbackLocale = _,
|
|
2131
|
+
u && (c.value = _, v.fallbackLocale = _, Ye(v, m.value, c.value));
|
|
2132
2132
|
}));
|
|
2133
2133
|
const P = {
|
|
2134
|
-
id:
|
|
2134
|
+
id: Tn,
|
|
2135
2135
|
locale: ne,
|
|
2136
2136
|
fallbackLocale: oe,
|
|
2137
2137
|
get inheritLocale() {
|
|
2138
2138
|
return u;
|
|
2139
2139
|
},
|
|
2140
2140
|
set inheritLocale(_) {
|
|
2141
|
-
u = _, _ && t && (m.value = t.locale.value, c.value = t.fallbackLocale.value,
|
|
2141
|
+
u = _, _ && t && (m.value = t.locale.value, c.value = t.fallbackLocale.value, Ye(v, m.value, c.value));
|
|
2142
2142
|
},
|
|
2143
2143
|
get availableLocales() {
|
|
2144
2144
|
return Object.keys(f.value).sort();
|
|
@@ -2160,10 +2160,10 @@ function qr(e = {}) {
|
|
|
2160
2160
|
g = _, v.missingWarn = g;
|
|
2161
2161
|
},
|
|
2162
2162
|
get fallbackWarn() {
|
|
2163
|
-
return
|
|
2163
|
+
return T;
|
|
2164
2164
|
},
|
|
2165
2165
|
set fallbackWarn(_) {
|
|
2166
|
-
|
|
2166
|
+
T = _, v.fallbackWarn = T;
|
|
2167
2167
|
},
|
|
2168
2168
|
get fallbackRoot() {
|
|
2169
2169
|
return M;
|
|
@@ -2172,10 +2172,10 @@ function qr(e = {}) {
|
|
|
2172
2172
|
M = _;
|
|
2173
2173
|
},
|
|
2174
2174
|
get fallbackFormat() {
|
|
2175
|
-
return
|
|
2175
|
+
return k;
|
|
2176
2176
|
},
|
|
2177
2177
|
set fallbackFormat(_) {
|
|
2178
|
-
|
|
2178
|
+
k = _, v.fallbackFormat = k;
|
|
2179
2179
|
},
|
|
2180
2180
|
get warnHtmlMessage() {
|
|
2181
2181
|
return N;
|
|
@@ -2189,17 +2189,17 @@ function qr(e = {}) {
|
|
|
2189
2189
|
set escapeParameter(_) {
|
|
2190
2190
|
p = _, v.escapeParameter = _;
|
|
2191
2191
|
},
|
|
2192
|
-
t:
|
|
2192
|
+
t: ke,
|
|
2193
2193
|
getLocaleMessage: Ae,
|
|
2194
2194
|
setLocaleMessage: De,
|
|
2195
2195
|
mergeLocaleMessage: Xe,
|
|
2196
|
-
getPostTranslationHandler:
|
|
2196
|
+
getPostTranslationHandler: Z,
|
|
2197
2197
|
setPostTranslationHandler: H,
|
|
2198
2198
|
getMissingHandler: w,
|
|
2199
2199
|
setMissingHandler: se,
|
|
2200
2200
|
[$r]: Et
|
|
2201
2201
|
};
|
|
2202
|
-
return P.datetimeFormats = S, P.numberFormats = D, P.rt = We, P.te = It, P.tm =
|
|
2202
|
+
return P.datetimeFormats = S, P.numberFormats = D, P.rt = We, P.te = It, P.tm = Ge, P.d = je, P.n = ft, P.getDateTimeFormat = Nt, P.setDateTimeFormat = a, P.mergeDateTimeFormat = o, P.getNumberFormat = h, P.setNumberFormat = A, P.mergeNumberFormat = J, P[jn] = n, P[wt] = ht, P[Ft] = gt, P[Ut] = ze, P;
|
|
2203
2203
|
}
|
|
2204
2204
|
const Ht = {
|
|
2205
2205
|
tag: {
|
|
@@ -2227,9 +2227,9 @@ function ea({ slots: e }, t) {
|
|
|
2227
2227
|
], []) : t.reduce((n, s) => {
|
|
2228
2228
|
const l = e[s];
|
|
2229
2229
|
return l && (n[s] = l()), n;
|
|
2230
|
-
},
|
|
2230
|
+
}, j());
|
|
2231
2231
|
}
|
|
2232
|
-
function
|
|
2232
|
+
function Yn() {
|
|
2233
2233
|
return Ve;
|
|
2234
2234
|
}
|
|
2235
2235
|
te({
|
|
@@ -2249,15 +2249,15 @@ function xn(e, t, n, s) {
|
|
|
2249
2249
|
const { slots: l, attrs: r } = t;
|
|
2250
2250
|
return () => {
|
|
2251
2251
|
const u = { part: !0 };
|
|
2252
|
-
let m =
|
|
2253
|
-
e.locale && (u.locale = e.locale), R(e.format) ? u.key = e.format : U(e.format) && (R(e.format.key) && (u.key = e.format.key), m = Object.keys(e.format).reduce((g,
|
|
2252
|
+
let m = j();
|
|
2253
|
+
e.locale && (u.locale = e.locale), R(e.format) ? u.key = e.format : U(e.format) && (R(e.format.key) && (u.key = e.format.key), m = Object.keys(e.format).reduce((g, T) => n.includes(T) ? te(j(), g, { [T]: e.format[T] }) : g, j()));
|
|
2254
2254
|
const c = s(e.value, u, m);
|
|
2255
2255
|
let f = [u.key];
|
|
2256
|
-
Q(c) ? f = c.map((g,
|
|
2257
|
-
const M = l[g.type],
|
|
2258
|
-
return ta(
|
|
2256
|
+
Q(c) ? f = c.map((g, T) => {
|
|
2257
|
+
const M = l[g.type], k = M ? M({ [g.type]: g.value, index: T, parts: c }) : [g.value];
|
|
2258
|
+
return ta(k) && (k[0].key = `${g.type}-${T}`), k;
|
|
2259
2259
|
}) : R(c) && (f = [c]);
|
|
2260
|
-
const b = te(
|
|
2260
|
+
const b = te(j(), r), E = R(e.tag) || U(e.tag) ? e.tag : Yn();
|
|
2261
2261
|
return Rn(E, b, f);
|
|
2262
2262
|
};
|
|
2263
2263
|
}
|
|
@@ -2323,7 +2323,7 @@ function la(e, t, n = !1) {
|
|
|
2323
2323
|
s = u.__getInstance(r);
|
|
2324
2324
|
else if (__VUE_I18N_LEGACY_API__) {
|
|
2325
2325
|
const m = u.__getInstance(r);
|
|
2326
|
-
m != null && (s = m.__composer, n && s && !s[
|
|
2326
|
+
m != null && (s = m.__composer, n && s && !s[jn] && (s = null));
|
|
2327
2327
|
}
|
|
2328
2328
|
if (s != null || l === r)
|
|
2329
2329
|
break;
|
|
@@ -2335,7 +2335,7 @@ function oa(e, t = !1) {
|
|
|
2335
2335
|
return e == null ? null : t && e.vnode.ctx || e.parent;
|
|
2336
2336
|
}
|
|
2337
2337
|
function ia(e, t, n) {
|
|
2338
|
-
|
|
2338
|
+
jt(() => {
|
|
2339
2339
|
}, t), Ln(() => {
|
|
2340
2340
|
const s = n;
|
|
2341
2341
|
e.__deleteInstance(t);
|
|
@@ -2369,9 +2369,9 @@ const nt = /* @__PURE__ */ _e({
|
|
|
2369
2369
|
"z-index": 50
|
|
2370
2370
|
}, {
|
|
2371
2371
|
content: ce(() => [
|
|
2372
|
-
ae("div", null,
|
|
2372
|
+
ae("div", null, Ze(Ee(t)("team.memberForm.permissions.inherited")), 1),
|
|
2373
2373
|
(z(!0), le(Ve, null, pe(e.item.setNames, (u) => (z(), le("div", { key: u }, [
|
|
2374
|
-
ae("div", null, "- " +
|
|
2374
|
+
ae("div", null, "- " + Ze(u), 1)
|
|
2375
2375
|
]))), 128))
|
|
2376
2376
|
]),
|
|
2377
2377
|
default: ce(() => [
|
|
@@ -2414,7 +2414,7 @@ const nt = /* @__PURE__ */ _e({
|
|
|
2414
2414
|
t.title ? (z(), le("div", ua, [
|
|
2415
2415
|
ae("div", null, [
|
|
2416
2416
|
t.required ? (z(), le("span", ma, "*")) : Oe("", !0),
|
|
2417
|
-
$n(
|
|
2417
|
+
$n(Ze(t.title), 1)
|
|
2418
2418
|
]),
|
|
2419
2419
|
me(n.$slots, "title-right")
|
|
2420
2420
|
])) : Oe("", !0)
|
|
@@ -2494,24 +2494,24 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2494
2494
|
emits: ["update:model-value"],
|
|
2495
2495
|
setup(e, { emit: t }) {
|
|
2496
2496
|
const n = e, s = t, { t: l } = ct(), r = Re(!1), u = zn(), m = X(() => n.modelValue.length < n.min ? `Min selection ${n.min}` : n.max !== void 0 && n.modelValue.length > n.max ? `Max selection ${n.max}` : !0), c = `checkbox-${fa(6)}`, f = X(() => m.value !== !0), b = X(
|
|
2497
|
-
() => n.modelValue.filter((
|
|
2497
|
+
() => n.modelValue.filter((k) => n.options.some((y) => y.value === k))
|
|
2498
2498
|
), E = X(
|
|
2499
2499
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
2500
2500
|
), g = X(() => n.options.length > 0 && n.options.length === b.value.length);
|
|
2501
|
-
function
|
|
2502
|
-
const
|
|
2501
|
+
function T() {
|
|
2502
|
+
const k = n.modelValue.filter((y) => !b.value.includes(y));
|
|
2503
2503
|
if (g.value === !0)
|
|
2504
|
-
s("update:model-value",
|
|
2504
|
+
s("update:model-value", k);
|
|
2505
2505
|
else {
|
|
2506
2506
|
const y = n.includeDisabledOptionsWhenSelectAll ? n.options.map((i) => i.value) : n.options.filter((i) => !i.disabled).map((i) => i.value);
|
|
2507
|
-
s("update:model-value", [...
|
|
2507
|
+
s("update:model-value", [...k, ...y]);
|
|
2508
2508
|
}
|
|
2509
2509
|
}
|
|
2510
|
-
function M(
|
|
2510
|
+
function M(k, y) {
|
|
2511
2511
|
let i = rt(n.modelValue);
|
|
2512
|
-
y ? i.every((d) => d !==
|
|
2512
|
+
y ? i.every((d) => d !== k) && i.push(k) : i = i.filter((d) => d !== k), s("update:model-value", i);
|
|
2513
2513
|
}
|
|
2514
|
-
return (
|
|
2514
|
+
return (k, y) => {
|
|
2515
2515
|
const i = xe("FmCheckbox");
|
|
2516
2516
|
return z(), Ce(_a, {
|
|
2517
2517
|
id: c,
|
|
@@ -2519,7 +2519,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2519
2519
|
required: !1
|
|
2520
2520
|
}, {
|
|
2521
2521
|
top: ce(() => [
|
|
2522
|
-
me(
|
|
2522
|
+
me(k.$slots, "top")
|
|
2523
2523
|
]),
|
|
2524
2524
|
default: ce(() => [
|
|
2525
2525
|
n.showAllToggle ? (z(), Ce(i, {
|
|
@@ -2531,7 +2531,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2531
2531
|
size: "sm",
|
|
2532
2532
|
dense: "",
|
|
2533
2533
|
value: E.value,
|
|
2534
|
-
"onUpdate:modelValue":
|
|
2534
|
+
"onUpdate:modelValue": T
|
|
2535
2535
|
}, null, 8, ["model-value", "disabled", "label", "style", "value"])) : Oe("", !0),
|
|
2536
2536
|
(z(!0), le(Ve, null, pe(e.options, (d, N) => (z(), le("div", {
|
|
2537
2537
|
key: d.value,
|
|
@@ -2550,7 +2550,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2550
2550
|
value: d.label,
|
|
2551
2551
|
"onUpdate:modelValue": (p) => M(d.value, p)
|
|
2552
2552
|
}, null, 8, ["model-value", "disabled", "label", "value", "onUpdate:modelValue"]),
|
|
2553
|
-
me(
|
|
2553
|
+
me(k.$slots, `checkbox-${d.key || d.value}-append`, {
|
|
2554
2554
|
option: d,
|
|
2555
2555
|
selected: e.modelValue.includes(d.value)
|
|
2556
2556
|
})
|
|
@@ -2559,7 +2559,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2559
2559
|
key: 0,
|
|
2560
2560
|
class: Qe([{ "q-checkbox disabled": e.disable || d.disabled }, "col"])
|
|
2561
2561
|
}, [
|
|
2562
|
-
me(
|
|
2562
|
+
me(k.$slots, `checkbox-${d.key || d.value}-end`, {
|
|
2563
2563
|
option: d,
|
|
2564
2564
|
value: e.modelValue.includes(d.value),
|
|
2565
2565
|
disable: e.disable || d.disabled
|
|
@@ -2571,14 +2571,14 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2571
2571
|
class: Qe(["q-mt-sm", { "q-checkbox disabled": e.disable || d.disabled }]),
|
|
2572
2572
|
style: st(`margin-left: ${e.bottomSlotIndent}`)
|
|
2573
2573
|
}, [
|
|
2574
|
-
me(
|
|
2574
|
+
me(k.$slots, `checkbox-${d.key || d.value}-bottom`, {
|
|
2575
2575
|
option: d,
|
|
2576
2576
|
disable: e.disable || d.disabled,
|
|
2577
2577
|
value: e.modelValue.includes(d.value)
|
|
2578
2578
|
})
|
|
2579
2579
|
], 6)) : Oe("", !0)
|
|
2580
2580
|
], 6))), 128)),
|
|
2581
|
-
r.value && f.value ? (z(), le("div", ba,
|
|
2581
|
+
r.value && f.value ? (z(), le("div", ba, Ze(m.value), 1)) : Oe("", !0)
|
|
2582
2582
|
]),
|
|
2583
2583
|
_: 3
|
|
2584
2584
|
}, 8, ["title"]);
|
|
@@ -2609,10 +2609,10 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2609
2609
|
E && (s.excludedSubjects.includes(b.subject) || b.showByFeatureFlag && n(b.showByFeatureFlag) === "false" || (c.has(E) || c.set(E, []), c.get(E).push({ label: b.label, value: b.subject })));
|
|
2610
2610
|
}
|
|
2611
2611
|
return [...c.keys()].sort((b, E) => {
|
|
2612
|
-
const g = r.indexOf(b),
|
|
2613
|
-
return g === -1 &&
|
|
2612
|
+
const g = r.indexOf(b), T = r.indexOf(E);
|
|
2613
|
+
return g === -1 && T === -1 ? b.localeCompare(E) : g === -1 ? 1 : T === -1 ? -1 : g - T;
|
|
2614
2614
|
}).map((b) => {
|
|
2615
|
-
const E = c.get(b), g = s.modelValue.filter((
|
|
2615
|
+
const E = c.get(b), g = s.modelValue.filter((T) => E.some((M) => M.value === T.subject) && !T.inverted).map((T) => T.subject);
|
|
2616
2616
|
return { category: b, options: E, selectedSubjects: g };
|
|
2617
2617
|
});
|
|
2618
2618
|
});
|
|
@@ -2621,9 +2621,9 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2621
2621
|
const b = ((E = u.value.find((g) => g.category === c)) == null ? void 0 : E.options) ?? [];
|
|
2622
2622
|
l("update:model-value", [
|
|
2623
2623
|
// Keep permissions from all other categories unchanged
|
|
2624
|
-
...s.modelValue.filter((g) => !b.some((
|
|
2624
|
+
...s.modelValue.filter((g) => !b.some((T) => T.value === g.subject)),
|
|
2625
2625
|
// Replace with the newly selected permissions for this category (strip UI-only fields)
|
|
2626
|
-
...lt.filter((g) => f.includes(g.subject)).map(({ category: g, showByFeatureFlag:
|
|
2626
|
+
...lt.filter((g) => f.includes(g.subject)).map(({ category: g, showByFeatureFlag: T, ...M }) => M)
|
|
2627
2627
|
]);
|
|
2628
2628
|
}
|
|
2629
2629
|
return (c, f) => (z(), le("div", ha, [
|
|
@@ -2659,7 +2659,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2659
2659
|
function m() {
|
|
2660
2660
|
s.value && (l.value = s.value.scrollHeight);
|
|
2661
2661
|
}
|
|
2662
|
-
return
|
|
2662
|
+
return jt(async () => {
|
|
2663
2663
|
await Kn(), s.value && (r = new ResizeObserver(() => {
|
|
2664
2664
|
m();
|
|
2665
2665
|
}), r.observe(s.value));
|
|
@@ -2734,7 +2734,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2734
2734
|
const E = xe("fm-search");
|
|
2735
2735
|
return z(), Ce(va, null, {
|
|
2736
2736
|
title: ce(() => [
|
|
2737
|
-
ae("p", Na,
|
|
2737
|
+
ae("p", Na, Ze(Ee(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
2738
2738
|
]),
|
|
2739
2739
|
default: ce(() => [
|
|
2740
2740
|
e.options.length > 1 ? (z(), Ce(E, {
|
|
@@ -2757,8 +2757,8 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2757
2757
|
}, ye({ _: 2 }, [
|
|
2758
2758
|
pe(r.value, (g) => ({
|
|
2759
2759
|
name: `checkbox-${g.value}-append`,
|
|
2760
|
-
fn: ce(({ option:
|
|
2761
|
-
me(f.$slots, `checkbox-${g.value}-append`, { option:
|
|
2760
|
+
fn: ce(({ option: T }) => [
|
|
2761
|
+
me(f.$slots, `checkbox-${g.value}-append`, { option: T })
|
|
2762
2762
|
])
|
|
2763
2763
|
}))
|
|
2764
2764
|
]), 1032, ["model-value", "options", "disable"])
|
|
@@ -2767,7 +2767,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2767
2767
|
});
|
|
2768
2768
|
};
|
|
2769
2769
|
}
|
|
2770
|
-
}), Rt = "includedNewRole",
|
|
2770
|
+
}), Rt = "includedNewRole", ka = /* @__PURE__ */ _e({
|
|
2771
2771
|
__name: "PosRolePermission",
|
|
2772
2772
|
props: {
|
|
2773
2773
|
modelValue: {
|
|
@@ -2825,7 +2825,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2825
2825
|
}))
|
|
2826
2826
|
]), 1032, ["model-value", "options", "disable", "title"]));
|
|
2827
2827
|
}
|
|
2828
|
-
}),
|
|
2828
|
+
}), Ta = {
|
|
2829
2829
|
async readWarehouses() {
|
|
2830
2830
|
return es(await ts().get("/warehouses"));
|
|
2831
2831
|
}
|
|
@@ -2851,7 +2851,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2851
2851
|
return ns(
|
|
2852
2852
|
s.inheritPermissions.map((D) => ({
|
|
2853
2853
|
...D,
|
|
2854
|
-
permissions: D.permissions.filter((
|
|
2854
|
+
permissions: D.permissions.filter((Z) => C.includes(Z.subject))
|
|
2855
2855
|
}))
|
|
2856
2856
|
).map((D) => ({
|
|
2857
2857
|
id: D.subject,
|
|
@@ -2864,7 +2864,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2864
2864
|
(D) => D.subject === q.Subject.Business.inventory_stock
|
|
2865
2865
|
)
|
|
2866
2866
|
}));
|
|
2867
|
-
return
|
|
2867
|
+
return kt(
|
|
2868
2868
|
C,
|
|
2869
2869
|
"warehouseId",
|
|
2870
2870
|
g.value.map((S) => S._id)
|
|
@@ -2876,7 +2876,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2876
2876
|
(D) => D.subject === q.Subject.Restaurant.restaurant
|
|
2877
2877
|
)
|
|
2878
2878
|
}));
|
|
2879
|
-
return
|
|
2879
|
+
return kt(
|
|
2880
2880
|
C,
|
|
2881
2881
|
"restaurantId",
|
|
2882
2882
|
y.value.map((S) => S._id)
|
|
@@ -2886,7 +2886,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2886
2886
|
...S,
|
|
2887
2887
|
permissions: S.permissions.filter((D) => D.subject === q.Subject.Business.role)
|
|
2888
2888
|
}));
|
|
2889
|
-
return
|
|
2889
|
+
return kt(
|
|
2890
2890
|
C,
|
|
2891
2891
|
"roleId",
|
|
2892
2892
|
i.value.map((S) => S._id)
|
|
@@ -2902,38 +2902,38 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2902
2902
|
(D) => D.subject === q.Subject.Business.inventory_stock
|
|
2903
2903
|
);
|
|
2904
2904
|
return C ? C.conditions ? JSON.parse(C.conditions).warehouseId.$in : null : [];
|
|
2905
|
-
}), g = Re([]),
|
|
2905
|
+
}), g = Re([]), T = X(() => g.value.map((C) => ({
|
|
2906
2906
|
label: C.profile.name,
|
|
2907
2907
|
value: C._id
|
|
2908
2908
|
})));
|
|
2909
2909
|
function M(C) {
|
|
2910
|
-
const S =
|
|
2910
|
+
const S = k(n.value, C);
|
|
2911
2911
|
n.value = S;
|
|
2912
2912
|
}
|
|
2913
|
-
function
|
|
2913
|
+
function k(C, S) {
|
|
2914
2914
|
let D = rt(
|
|
2915
|
-
C.filter((
|
|
2915
|
+
C.filter((Z) => Z.subject !== q.Subject.Business.inventory_stock)
|
|
2916
2916
|
);
|
|
2917
2917
|
if (!S || S.length > 0) {
|
|
2918
|
-
const
|
|
2918
|
+
const Z = {
|
|
2919
2919
|
actions: [q.Action.manage],
|
|
2920
2920
|
subject: q.Subject.Business.inventory_stock
|
|
2921
2921
|
};
|
|
2922
|
-
S && (
|
|
2922
|
+
S && (Z.conditions = JSON.stringify({ warehouseId: { $in: S } })), D.push(Z);
|
|
2923
2923
|
}
|
|
2924
2924
|
return D;
|
|
2925
2925
|
}
|
|
2926
2926
|
const { restaurants: y } = qn(), i = is().roles, d = X(() => y.value.map((C) => ({
|
|
2927
2927
|
label: `${C.profile.code ? C.profile.code + "-" : ""}${C.profile.name}`,
|
|
2928
2928
|
value: C._id
|
|
2929
|
-
}))), N = X(() => y.value.reduce((C, S) => (C[S._id] = i.value.filter((D) => D.restaurants.some((
|
|
2929
|
+
}))), N = X(() => y.value.reduce((C, S) => (C[S._id] = i.value.filter((D) => D.restaurants.some((Z) => Z.id === S._id)).map((D) => D._id), C), {})), p = X(() => ss(n.value));
|
|
2930
2930
|
function L(C) {
|
|
2931
2931
|
const S = v(n.value, C);
|
|
2932
2932
|
n.value = S;
|
|
2933
2933
|
}
|
|
2934
2934
|
const O = X(() => rs(n.value));
|
|
2935
2935
|
function v(C, S) {
|
|
2936
|
-
var
|
|
2936
|
+
var Z;
|
|
2937
2937
|
let D = rt(
|
|
2938
2938
|
C.filter(
|
|
2939
2939
|
(H) => H.subject !== q.Subject.Business.restaurant && H.subject !== q.Subject.Restaurant.restaurant
|
|
@@ -2956,33 +2956,33 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2956
2956
|
const H = [
|
|
2957
2957
|
...new Set(S.map((se) => N.value[se]).flatMap((se) => se))
|
|
2958
2958
|
], w = i.value.map((se) => se._id);
|
|
2959
|
-
H.length !== w.length && (D =
|
|
2959
|
+
H.length !== w.length && (D = Y(
|
|
2960
2960
|
D,
|
|
2961
|
-
(
|
|
2961
|
+
(Z = O.value || w) == null ? void 0 : Z.filter((se) => H.includes(se))
|
|
2962
2962
|
));
|
|
2963
2963
|
}
|
|
2964
2964
|
return D;
|
|
2965
2965
|
}
|
|
2966
2966
|
function x(C) {
|
|
2967
|
-
const S =
|
|
2967
|
+
const S = Y(n.value, C);
|
|
2968
2968
|
n.value = S;
|
|
2969
2969
|
}
|
|
2970
|
-
function
|
|
2970
|
+
function Y(C, S) {
|
|
2971
2971
|
let D = rt(
|
|
2972
|
-
C.filter((
|
|
2972
|
+
C.filter((Z) => Z.subject !== q.Subject.Business.role)
|
|
2973
2973
|
);
|
|
2974
2974
|
if (S && S.length > 0) {
|
|
2975
|
-
const
|
|
2975
|
+
const Z = {
|
|
2976
2976
|
actions: [q.Action.manage],
|
|
2977
2977
|
subject: q.Subject.Business.role,
|
|
2978
2978
|
conditions: JSON.stringify({ roleId: { $in: S } })
|
|
2979
2979
|
};
|
|
2980
|
-
D.push(
|
|
2980
|
+
D.push(Z);
|
|
2981
2981
|
}
|
|
2982
2982
|
return D;
|
|
2983
2983
|
}
|
|
2984
|
-
|
|
2985
|
-
g.value = await
|
|
2984
|
+
jt(async () => {
|
|
2985
|
+
g.value = await Ta.readWarehouses();
|
|
2986
2986
|
});
|
|
2987
2987
|
const ne = X(
|
|
2988
2988
|
() => Kt(
|
|
@@ -2995,23 +2995,23 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2995
2995
|
ne.value.filter((w) => !w.inverted).map((w) => w.subject)
|
|
2996
2996
|
), D = new Set(
|
|
2997
2997
|
C.filter((w) => !w.inverted).map((w) => w.subject)
|
|
2998
|
-
),
|
|
2998
|
+
), Z = new Set(
|
|
2999
2999
|
n.value.filter((w) => !w.inverted).map((w) => w.subject)
|
|
3000
3000
|
);
|
|
3001
3001
|
let H = [...n.value];
|
|
3002
3002
|
for (const w of S)
|
|
3003
|
-
D.has(w) || (
|
|
3003
|
+
D.has(w) || (Z.has(w) && (H = H.filter((V) => V.subject !== w)), (!Z.has(w) || Kt(
|
|
3004
3004
|
H,
|
|
3005
3005
|
Qt
|
|
3006
3006
|
).some((V) => V.subject === w && !V.inverted)) && !H.some((V) => V.subject === w && V.inverted) && H.push({ subject: w, actions: ["manage"], inverted: !0 }));
|
|
3007
3007
|
for (const w of D)
|
|
3008
3008
|
if (!S.has(w)) {
|
|
3009
3009
|
const se = H.some((V) => V.subject === w && V.inverted);
|
|
3010
|
-
if (H = H.filter((V) => !(V.subject === w && V.inverted)), !se && !
|
|
3011
|
-
const V = lt.find((
|
|
3010
|
+
if (H = H.filter((V) => !(V.subject === w && V.inverted)), !se && !Z.has(w)) {
|
|
3011
|
+
const V = lt.find((ke) => ke.subject === w);
|
|
3012
3012
|
if (V) {
|
|
3013
|
-
const { category:
|
|
3014
|
-
H.push(
|
|
3013
|
+
const { category: ke, showByFeatureFlag: We, ...je } = V;
|
|
3014
|
+
H.push(je);
|
|
3015
3015
|
}
|
|
3016
3016
|
}
|
|
3017
3017
|
}
|
|
@@ -3041,7 +3041,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
3041
3041
|
ae("div", La, [
|
|
3042
3042
|
ie(yn, {
|
|
3043
3043
|
"model-value": E.value,
|
|
3044
|
-
options:
|
|
3044
|
+
options: T.value,
|
|
3045
3045
|
context: Ee(r)("team.labels.warehouse"),
|
|
3046
3046
|
"onUpdate:modelValue": M
|
|
3047
3047
|
}, ye({ _: 2 }, [
|
|
@@ -3069,7 +3069,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
3069
3069
|
]), 1032, ["model-value", "options", "context"])
|
|
3070
3070
|
]),
|
|
3071
3071
|
ae("div", Ca, [
|
|
3072
|
-
ie(
|
|
3072
|
+
ie(ka, {
|
|
3073
3073
|
roles: Ee(i),
|
|
3074
3074
|
"model-value": O.value,
|
|
3075
3075
|
"restaurant-ids": p.value,
|