@feedmepos/mf-hrm-portal 2.0.7-dev → 2.0.8-dev
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-COq6WH3T.js → AuditLogList-Dp5B1jR-.js} +4 -4
- package/dist/{EmployeeList-CtosIPFL.js → EmployeeList-O6XTYBcz.js} +5 -5
- package/dist/{Main-B4YdcrGe.js → Main--bRTC1IR.js} +5 -5
- package/dist/{Main-CdsqeB2G.js → Main-XEb1ECXG.js} +8 -8
- package/dist/{PermissionSetList-BUORArci.js → PermissionSetList-DAwnZ-Gu.js} +3 -3
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-ChqCTn1L.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Bx7A0p-f.js} +341 -341
- package/dist/{RoleList-D1NGE2IC.js → RoleList-BeB1etH6.js} +6 -6
- package/dist/{TeamMemberList-auSjZRNz.js → TeamMemberList-BKCsNEuQ.js} +7 -7
- package/dist/{TimesheetList-B8yCkaxb.js → TimesheetList-DNzuykEu.js} +6 -6
- package/dist/{app-CB3ye-CT.js → app-BovCLczm.js} +5 -5
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-DOxEzdpe.js → dayjs.min-dxVeOXk_.js} +1 -1
- package/dist/{employee-G0pQg8_6.js → employee-DGiDGhcK.js} +3 -3
- package/dist/{index-Beu6IuhT.js → index-C0yiZ_7g.js} +3 -3
- package/dist/{index-DQArLkVB.js → index-CQ26ps7Z.js} +1 -1
- package/dist/{lodash-COjtwv4w.js → lodash-CBlFHm6b.js} +1 -1
- package/dist/src/api/permission-assignment/index.d.ts +1 -1
- package/dist/{team-CEtKQK6n.js → team-BqxJ-gNb.js} +1 -1
- package/dist/{timesheet-DZF9D3QQ.js → timesheet-BVR_FxsT.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-9lbKMy_9.js → useAppStore-gvdZApLV.js} +1 -1
- package/dist/{useLoading-BIIvuJcM.js → useLoading-CCzb5k4G.js} +1 -1
- package/dist/{useReportPermissions-BXQ0-WwK.js → useReportPermissions-9TaHhs9I.js} +2 -2
- package/package.json +1 -1
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { getCurrentInstance as xt, inject as Hn, ref as Ve, shallowRef as Bn, computed as J, watch as St, onMounted as
|
|
1
|
+
import { getCurrentInstance as xt, inject as Hn, ref as Ve, shallowRef as Bn, computed as J, watch as St, onMounted as Xt, onUnmounted as On, defineComponent as Ee, h as Rn, createVNode as de, Text as $n, Fragment as ye, resolveComponent as Ze, createBlock as Se, openBlock as x, withCtx as pe, createElementVNode as te, createElementBlock as ee, toDisplayString as Ae, unref as ke, renderList as _e, renderSlot as be, createCommentVNode as Le, createTextVNode as Jn, useSlots as Kn, normalizeStyle as ct, normalizeClass as qe, createSlots as Fe, nextTick as zn, mergeModels as Qt, useModel as Qn } from "vue";
|
|
2
2
|
import { useI18n as _t, useCoreStore as qn } from "@feedmepos/mf-common";
|
|
3
3
|
import "@vue/devtools-api";
|
|
4
|
-
import { l as ut, p as
|
|
5
|
-
import { a as ls, i as ie, U as os, w as Tt } from "./app-
|
|
6
|
-
import { u as is } from "./index-
|
|
7
|
-
import { u as cs } from "./useAppStore-
|
|
4
|
+
import { l as ut, p as Dt, g as es, b as ts, q as ns, C as ss, D as yt, E as as, v as rs, $ as kt } from "./index-C0yiZ_7g.js";
|
|
5
|
+
import { a as ls, i as ie, U as os, w as Tt } from "./app-BovCLczm.js";
|
|
6
|
+
import { u as is } from "./index-CQ26ps7Z.js";
|
|
7
|
+
import { u as cs } from "./useAppStore-gvdZApLV.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", Ue = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), us = (e, t, n) => ms({ l: e, k: t, s: n }), ms = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ce = (e) => typeof e == "number" && isFinite(e), ds = (e) =>
|
|
13
|
+
const qt = typeof window < "u", Ue = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), us = (e, t, n) => ms({ l: e, k: t, s: n }), ms = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ce = (e) => typeof e == "number" && isFinite(e), ds = (e) => Zt(e) === "[object Date]", dt = (e) => Zt(e) === "[object RegExp]", pt = (e) => X(e) && Object.keys(e).length === 0, ue = Object.assign, fs = Object.create, B = (e = null) => fs(e);
|
|
14
14
|
let en;
|
|
15
15
|
const je = () => en || (en = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : B());
|
|
16
16
|
function tn(e) {
|
|
17
17
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
18
18
|
}
|
|
19
19
|
const _s = Object.prototype.hasOwnProperty;
|
|
20
|
-
function
|
|
20
|
+
function Ie(e, t) {
|
|
21
21
|
return _s.call(e, t);
|
|
22
22
|
}
|
|
23
|
-
const oe = Array.isArray, ne = (e) => typeof e == "function", A = (e) => typeof e == "string", le = (e) => typeof e == "boolean",
|
|
24
|
-
function
|
|
23
|
+
const oe = Array.isArray, ne = (e) => typeof e == "function", A = (e) => typeof e == "string", le = (e) => typeof e == "boolean", Z = (e) => e !== null && typeof e == "object", ps = (e) => Z(e) && ne(e.then) && ne(e.catch), Cn = Object.prototype.toString, Zt = (e) => Cn.call(e), X = (e) => Zt(e) === "[object Object]", bs = (e) => e == null ? "" : oe(e) || X(e) && e.toString === Cn ? JSON.stringify(e, null, 2) : String(e);
|
|
24
|
+
function Yt(e, t = "") {
|
|
25
25
|
return e.reduce((n, s, l) => l === 0 ? n + s : n + t + s, "");
|
|
26
26
|
}
|
|
27
27
|
function hs(e, t) {
|
|
28
28
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
29
29
|
}
|
|
30
|
-
const rt = (e) => !
|
|
30
|
+
const rt = (e) => !Z(e) || oe(e);
|
|
31
31
|
function mt(e, t) {
|
|
32
32
|
if (rt(e) || rt(t))
|
|
33
33
|
throw new Error("Invalid value");
|
|
@@ -35,14 +35,14 @@ function mt(e, t) {
|
|
|
35
35
|
for (; n.length; ) {
|
|
36
36
|
const { src: s, des: l } = n.pop();
|
|
37
37
|
Object.keys(s).forEach((a) => {
|
|
38
|
-
a !== "__proto__" && (
|
|
38
|
+
a !== "__proto__" && (Z(s[a]) && !Z(l[a]) && (l[a] = Array.isArray(s[a]) ? [] : B()), rt(l[a]) || rt(s[a]) ? l[a] = s[a] : n.push({ src: s[a], des: l[a] }));
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
function gs(e, t, n) {
|
|
43
43
|
return { line: e, column: t, offset: n };
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Mt(e, t, n) {
|
|
46
46
|
return { start: e, end: t };
|
|
47
47
|
}
|
|
48
48
|
const H = {
|
|
@@ -67,15 +67,15 @@ function bt(e, t, n = {}) {
|
|
|
67
67
|
const { domain: s, messages: l, args: a } = n, m = e, f = new SyntaxError(String(m));
|
|
68
68
|
return f.code = e, t && (f.location = t), f.domain = s, f;
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function Is(e) {
|
|
71
71
|
throw e;
|
|
72
72
|
}
|
|
73
|
-
const Te = " ",
|
|
73
|
+
const Te = " ", Es = "\r", me = `
|
|
74
74
|
`, Ns = "\u2028", ys = "\u2029";
|
|
75
75
|
function ks(e) {
|
|
76
76
|
const t = e;
|
|
77
77
|
let n = 0, s = 1, l = 1, a = 0;
|
|
78
|
-
const m = (i) => t[i] ===
|
|
78
|
+
const m = (i) => t[i] === Es && t[i + 1] === me, f = (i) => t[i] === me, d = (i) => t[i] === ys, b = (i) => t[i] === Ns, k = (i) => m(i) || f(i) || d(i) || b(i), L = () => n, N = () => s, S = () => l, F = () => a, T = (i) => m(i) || d(i) || b(i) ? me : t[i], O = () => T(n), c = () => T(n + a);
|
|
79
79
|
function _() {
|
|
80
80
|
return a = 0, k(n) && (s++, l = 0), m(n) && n++, n++, l++, t[n];
|
|
81
81
|
}
|
|
@@ -127,7 +127,7 @@ function Os(e, t = {}) {
|
|
|
127
127
|
function L(r, o, h, ...w) {
|
|
128
128
|
const ae = b();
|
|
129
129
|
if (o.column += h, o.offset += h, k) {
|
|
130
|
-
const G = n ?
|
|
130
|
+
const G = n ? Mt(ae.startLoc, o) : null, p = bt(r, G, {
|
|
131
131
|
domain: Ls,
|
|
132
132
|
args: w
|
|
133
133
|
});
|
|
@@ -137,7 +137,7 @@ function Os(e, t = {}) {
|
|
|
137
137
|
function N(r, o, h) {
|
|
138
138
|
r.endLoc = a(), r.currentType = o;
|
|
139
139
|
const w = { type: o };
|
|
140
|
-
return n && (w.loc =
|
|
140
|
+
return n && (w.loc = Mt(r.startLoc, r.endLoc)), h != null && (w.value = h), w;
|
|
141
141
|
}
|
|
142
142
|
const S = (r) => N(
|
|
143
143
|
r,
|
|
@@ -211,7 +211,7 @@ function Os(e, t = {}) {
|
|
|
211
211
|
const w = c(r.currentPeek());
|
|
212
212
|
return r.resetPeek(), w;
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function E(r, o) {
|
|
215
215
|
const { currentType: h } = o;
|
|
216
216
|
if (!(h === 7 || h === 11))
|
|
217
217
|
return !1;
|
|
@@ -225,16 +225,16 @@ function Os(e, t = {}) {
|
|
|
225
225
|
return !1;
|
|
226
226
|
const w = () => {
|
|
227
227
|
const G = r.currentPeek();
|
|
228
|
-
return G === "{" ? c(r.peek()) : G === "@" || G === "|" || G === ":" || G === "." || G === Te || !G ? !1 : G === me ? (r.peek(), w()) :
|
|
228
|
+
return G === "{" ? c(r.peek()) : G === "@" || G === "|" || G === ":" || G === "." || G === Te || !G ? !1 : G === me ? (r.peek(), w()) : Y(r, !1);
|
|
229
229
|
}, ae = w();
|
|
230
230
|
return r.resetPeek(), ae;
|
|
231
231
|
}
|
|
232
|
-
function
|
|
232
|
+
function D(r) {
|
|
233
233
|
T(r);
|
|
234
234
|
const o = r.currentPeek() === "|";
|
|
235
235
|
return r.resetPeek(), o;
|
|
236
236
|
}
|
|
237
|
-
function
|
|
237
|
+
function Y(r, o = !0) {
|
|
238
238
|
const h = (ae = !1, G = "") => {
|
|
239
239
|
const p = r.currentPeek();
|
|
240
240
|
return p === "{" || p === "@" || !p ? ae : p === "|" ? !(G === Te || G === me) : p === Te ? (r.peek(), h(!0, Te)) : p === me ? (r.peek(), h(!0, me)) : !0;
|
|
@@ -268,12 +268,12 @@ function Os(e, t = {}) {
|
|
|
268
268
|
function R(r) {
|
|
269
269
|
return V(r, C);
|
|
270
270
|
}
|
|
271
|
-
function
|
|
271
|
+
function M(r) {
|
|
272
272
|
const o = r.charCodeAt(0);
|
|
273
273
|
return o >= 48 && o <= 57;
|
|
274
274
|
}
|
|
275
275
|
function z(r) {
|
|
276
|
-
return V(r,
|
|
276
|
+
return V(r, M);
|
|
277
277
|
}
|
|
278
278
|
function U(r) {
|
|
279
279
|
const o = r.charCodeAt(0);
|
|
@@ -297,10 +297,10 @@ function Os(e, t = {}) {
|
|
|
297
297
|
if (h === "{" || h === "}" || h === "@" || h === "|" || !h)
|
|
298
298
|
break;
|
|
299
299
|
if (h === Te || h === me)
|
|
300
|
-
if (
|
|
300
|
+
if (Y(r))
|
|
301
301
|
o += h, r.next();
|
|
302
302
|
else {
|
|
303
|
-
if (
|
|
303
|
+
if (D(r))
|
|
304
304
|
break;
|
|
305
305
|
o += h, r.next();
|
|
306
306
|
}
|
|
@@ -369,13 +369,13 @@ function Os(e, t = {}) {
|
|
|
369
369
|
h += o;
|
|
370
370
|
return h;
|
|
371
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function It(r) {
|
|
373
373
|
let o = "", h = "";
|
|
374
374
|
for (; o = W(r); )
|
|
375
375
|
h += o;
|
|
376
376
|
return h;
|
|
377
377
|
}
|
|
378
|
-
function
|
|
378
|
+
function Et(r) {
|
|
379
379
|
const o = (h) => {
|
|
380
380
|
const w = r.currentChar();
|
|
381
381
|
return w === "{" || w === "@" || w === "|" || w === "(" || w === ")" || !w || w === Te ? h : (h += w, r.next(), o(h));
|
|
@@ -412,7 +412,7 @@ function Os(e, t = {}) {
|
|
|
412
412
|
return o.braceNest > 0 && L(H.UNTERMINATED_CLOSING_BRACE, a(), 0), h = We(r, o) || S(o), o.braceNest = 0, h;
|
|
413
413
|
default: {
|
|
414
414
|
let ae = !0, G = !0, p = !0;
|
|
415
|
-
if (
|
|
415
|
+
if (D(r))
|
|
416
416
|
return o.braceNest > 0 && L(H.UNTERMINATED_CLOSING_BRACE, a(), 0), h = N(o, 1, Ke(r)), 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 L(H.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0, ze(r, o);
|
|
@@ -456,7 +456,7 @@ function Os(e, t = {}) {
|
|
|
456
456
|
/* TokenChars.LinkedDelimiter */
|
|
457
457
|
);
|
|
458
458
|
default:
|
|
459
|
-
return
|
|
459
|
+
return D(r) ? (w = N(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, w) : v(r, o) || E(r, o) ? (O(r), We(r, o)) : i(r, o) ? (O(r), N(o, 11, It(r))) : P(r, o) ? (O(r), ae === "{" ? Ge(r, o) || w : N(o, 10, Et(r))) : (h === 7 && L(H.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, ze(r, o));
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
462
|
function ze(r, o) {
|
|
@@ -481,9 +481,9 @@ function Os(e, t = {}) {
|
|
|
481
481
|
case "@":
|
|
482
482
|
return We(r, o) || S(o);
|
|
483
483
|
default: {
|
|
484
|
-
if (
|
|
484
|
+
if (D(r))
|
|
485
485
|
return h = N(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, h;
|
|
486
|
-
if (
|
|
486
|
+
if (Y(r))
|
|
487
487
|
return N(o, 0, Q(r));
|
|
488
488
|
break;
|
|
489
489
|
}
|
|
@@ -523,11 +523,11 @@ function Ss(e = {}) {
|
|
|
523
523
|
function s(c, _, y, u, ...g) {
|
|
524
524
|
const v = c.currentPosition();
|
|
525
525
|
if (v.offset += u, v.column += u, n) {
|
|
526
|
-
const i = t ?
|
|
526
|
+
const i = t ? Mt(y, v) : null, E = bt(_, i, {
|
|
527
527
|
domain: Rs,
|
|
528
528
|
args: g
|
|
529
529
|
});
|
|
530
|
-
n(
|
|
530
|
+
n(E);
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
function l(c, _, y) {
|
|
@@ -619,14 +619,14 @@ function Ss(e = {}) {
|
|
|
619
619
|
P.value == null && s(c, H.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, Ne(P)), g.items.push(b(c, P.value || ""));
|
|
620
620
|
break;
|
|
621
621
|
case 7: {
|
|
622
|
-
const
|
|
623
|
-
g.items.push(
|
|
622
|
+
const D = N(c);
|
|
623
|
+
g.items.push(D.node), v = D.nextConsumeToken || null;
|
|
624
624
|
break;
|
|
625
625
|
}
|
|
626
626
|
}
|
|
627
627
|
} while (_.currentType !== 13 && _.currentType !== 1);
|
|
628
|
-
const i = _.currentType === 1 ? _.lastOffset : c.currentOffset(),
|
|
629
|
-
return a(g, i,
|
|
628
|
+
const i = _.currentType === 1 ? _.lastOffset : c.currentOffset(), E = _.currentType === 1 ? _.lastEndLoc : c.currentPosition();
|
|
629
|
+
return a(g, i, E), g;
|
|
630
630
|
}
|
|
631
631
|
function F(c, _, y, u) {
|
|
632
632
|
const g = c.context();
|
|
@@ -634,8 +634,8 @@ function Ss(e = {}) {
|
|
|
634
634
|
const i = l(1, _, y);
|
|
635
635
|
i.cases = [], i.cases.push(u);
|
|
636
636
|
do {
|
|
637
|
-
const
|
|
638
|
-
v || (v =
|
|
637
|
+
const E = S(c);
|
|
638
|
+
v || (v = E.items.length === 0), i.cases.push(E);
|
|
639
639
|
} while (g.currentType !== 13);
|
|
640
640
|
return v && s(c, H.MUST_HAVE_MESSAGES_IN_PLURAL, y, 0), a(i, c.currentOffset(), c.currentPosition()), i;
|
|
641
641
|
}
|
|
@@ -655,7 +655,7 @@ function Ne(e) {
|
|
|
655
655
|
const t = (e.value || "").replace(/\r?\n/gu, "\\n");
|
|
656
656
|
return t.length > 10 ? t.slice(0, 9) + "…" : t;
|
|
657
657
|
}
|
|
658
|
-
function
|
|
658
|
+
function Ds(e, t = {}) {
|
|
659
659
|
const n = {
|
|
660
660
|
ast: e,
|
|
661
661
|
helpers: /* @__PURE__ */ new Set()
|
|
@@ -707,8 +707,8 @@ function Ht(e, t) {
|
|
|
707
707
|
break;
|
|
708
708
|
}
|
|
709
709
|
}
|
|
710
|
-
function
|
|
711
|
-
const n =
|
|
710
|
+
function Ms(e, t = {}) {
|
|
711
|
+
const n = Ds(e);
|
|
712
712
|
n.helper(
|
|
713
713
|
"normalize"
|
|
714
714
|
/* HelperNameMap.NORMALIZE */
|
|
@@ -733,7 +733,7 @@ function an(e) {
|
|
|
733
733
|
t.push(s.value);
|
|
734
734
|
}
|
|
735
735
|
if (t.length === e.items.length) {
|
|
736
|
-
e.static =
|
|
736
|
+
e.static = Yt(t);
|
|
737
737
|
for (let n = 0; n < e.items.length; n++) {
|
|
738
738
|
const s = e.items[n];
|
|
739
739
|
(s.type === 3 || s.type === 9) && delete s.value;
|
|
@@ -741,24 +741,24 @@ function an(e) {
|
|
|
741
741
|
}
|
|
742
742
|
}
|
|
743
743
|
}
|
|
744
|
-
function
|
|
744
|
+
function Xe(e) {
|
|
745
745
|
switch (e.t = e.type, e.type) {
|
|
746
746
|
case 0: {
|
|
747
747
|
const t = e;
|
|
748
|
-
|
|
748
|
+
Xe(t.body), t.b = t.body, delete t.body;
|
|
749
749
|
break;
|
|
750
750
|
}
|
|
751
751
|
case 1: {
|
|
752
752
|
const t = e, n = t.cases;
|
|
753
753
|
for (let s = 0; s < n.length; s++)
|
|
754
|
-
|
|
754
|
+
Xe(n[s]);
|
|
755
755
|
t.c = n, delete t.cases;
|
|
756
756
|
break;
|
|
757
757
|
}
|
|
758
758
|
case 2: {
|
|
759
759
|
const t = e, n = t.items;
|
|
760
760
|
for (let s = 0; s < n.length; s++)
|
|
761
|
-
|
|
761
|
+
Xe(n[s]);
|
|
762
762
|
t.i = n, delete t.items, t.static && (t.s = t.static, delete t.static);
|
|
763
763
|
break;
|
|
764
764
|
}
|
|
@@ -772,7 +772,7 @@ function Ze(e) {
|
|
|
772
772
|
}
|
|
773
773
|
case 6: {
|
|
774
774
|
const t = e;
|
|
775
|
-
|
|
775
|
+
Xe(t.key), t.k = t.key, delete t.key, t.modifier && (Xe(t.modifier), t.m = t.modifier, delete t.modifier);
|
|
776
776
|
break;
|
|
777
777
|
}
|
|
778
778
|
case 5: {
|
|
@@ -835,7 +835,7 @@ function Fs(e, t) {
|
|
|
835
835
|
e.push(`${n(
|
|
836
836
|
"linked"
|
|
837
837
|
/* HelperNameMap.LINKED */
|
|
838
|
-
)}(`),
|
|
838
|
+
)}(`), Ye(e, t.key), t.modifier ? (e.push(", "), Ye(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
|
|
839
839
|
}
|
|
840
840
|
function js(e, t) {
|
|
841
841
|
const { helper: n, needIndent: s } = e;
|
|
@@ -844,7 +844,7 @@ function js(e, t) {
|
|
|
844
844
|
/* HelperNameMap.NORMALIZE */
|
|
845
845
|
)}([`), e.indent(s());
|
|
846
846
|
const l = t.items.length;
|
|
847
|
-
for (let a = 0; a < l && (
|
|
847
|
+
for (let a = 0; a < l && (Ye(e, t.items[a]), a !== l - 1); a++)
|
|
848
848
|
e.push(", ");
|
|
849
849
|
e.deindent(s()), e.push("])");
|
|
850
850
|
}
|
|
@@ -856,15 +856,15 @@ function Vs(e, t) {
|
|
|
856
856
|
/* HelperNameMap.PLURAL */
|
|
857
857
|
)}([`), e.indent(s());
|
|
858
858
|
const l = t.cases.length;
|
|
859
|
-
for (let a = 0; a < l && (
|
|
859
|
+
for (let a = 0; a < l && (Ye(e, t.cases[a]), a !== l - 1); a++)
|
|
860
860
|
e.push(", ");
|
|
861
861
|
e.deindent(s()), e.push("])");
|
|
862
862
|
}
|
|
863
863
|
}
|
|
864
864
|
function Us(e, t) {
|
|
865
|
-
t.body ?
|
|
865
|
+
t.body ? Ye(e, t.body) : e.push("null");
|
|
866
866
|
}
|
|
867
|
-
function
|
|
867
|
+
function Ye(e, t) {
|
|
868
868
|
const { helper: n } = e;
|
|
869
869
|
switch (t.type) {
|
|
870
870
|
case 0:
|
|
@@ -920,7 +920,7 @@ const Gs = (e, t = {}) => {
|
|
|
920
920
|
breakLineCode: l,
|
|
921
921
|
needIndent: a
|
|
922
922
|
});
|
|
923
|
-
f.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), f.indent(a), m.length > 0 && (f.push(`const { ${
|
|
923
|
+
f.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), f.indent(a), m.length > 0 && (f.push(`const { ${Yt(m.map((k) => `${k}: _${k}`), ", ")} } = ctx`), f.newline()), f.push("return "), Ye(f, e), f.deindent(a), f.push("}"), delete e.helpers;
|
|
924
924
|
const { code: d, map: b } = f.context();
|
|
925
925
|
return {
|
|
926
926
|
ast: e,
|
|
@@ -931,16 +931,16 @@ const Gs = (e, t = {}) => {
|
|
|
931
931
|
};
|
|
932
932
|
function Ws(e, t = {}) {
|
|
933
933
|
const n = ue({}, t), s = !!n.jit, l = !!n.minify, a = n.optimize == null ? !0 : n.optimize, f = Ss(n).parse(e);
|
|
934
|
-
return s ? (a && ws(f), l &&
|
|
934
|
+
return s ? (a && ws(f), l && Xe(f), { ast: f, code: "" }) : (Ms(f, n), Gs(f, n));
|
|
935
935
|
}
|
|
936
936
|
var xs = { env: { NODE_ENV: "production" } };
|
|
937
|
-
function
|
|
937
|
+
function Xs() {
|
|
938
938
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (je().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (je().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
939
939
|
}
|
|
940
940
|
function Lt(e) {
|
|
941
|
-
return (n) =>
|
|
941
|
+
return (n) => Zs(n, e);
|
|
942
942
|
}
|
|
943
|
-
function
|
|
943
|
+
function Zs(e, t) {
|
|
944
944
|
const n = Hs(t);
|
|
945
945
|
if (n == null)
|
|
946
946
|
throw et(
|
|
@@ -956,13 +956,13 @@ function Ys(e, t) {
|
|
|
956
956
|
} else
|
|
957
957
|
return rn(e, n);
|
|
958
958
|
}
|
|
959
|
-
const
|
|
959
|
+
const Ys = ["b", "body"];
|
|
960
960
|
function Hs(e) {
|
|
961
|
-
return
|
|
961
|
+
return De(e, Ys);
|
|
962
962
|
}
|
|
963
963
|
const Bs = ["c", "cases"];
|
|
964
964
|
function $s(e) {
|
|
965
|
-
return
|
|
965
|
+
return De(e, Bs, []);
|
|
966
966
|
}
|
|
967
967
|
function rn(e, t) {
|
|
968
968
|
const n = Ks(t);
|
|
@@ -975,11 +975,11 @@ function rn(e, t) {
|
|
|
975
975
|
}
|
|
976
976
|
const Js = ["s", "static"];
|
|
977
977
|
function Ks(e) {
|
|
978
|
-
return
|
|
978
|
+
return De(e, Js);
|
|
979
979
|
}
|
|
980
980
|
const zs = ["i", "items"];
|
|
981
981
|
function Qs(e) {
|
|
982
|
-
return
|
|
982
|
+
return De(e, zs, []);
|
|
983
983
|
}
|
|
984
984
|
function wt(e, t) {
|
|
985
985
|
const n = Bt(t);
|
|
@@ -990,17 +990,17 @@ function wt(e, t) {
|
|
|
990
990
|
return lt(t, n);
|
|
991
991
|
case 4: {
|
|
992
992
|
const s = t;
|
|
993
|
-
if (
|
|
993
|
+
if (Ie(s, "k") && s.k)
|
|
994
994
|
return e.interpolate(e.named(s.k));
|
|
995
|
-
if (
|
|
995
|
+
if (Ie(s, "key") && s.key)
|
|
996
996
|
return e.interpolate(e.named(s.key));
|
|
997
997
|
throw et(n);
|
|
998
998
|
}
|
|
999
999
|
case 5: {
|
|
1000
1000
|
const s = t;
|
|
1001
|
-
if (
|
|
1001
|
+
if (Ie(s, "i") && ce(s.i))
|
|
1002
1002
|
return e.interpolate(e.list(s.i));
|
|
1003
|
-
if (
|
|
1003
|
+
if (Ie(s, "index") && ce(s.index))
|
|
1004
1004
|
return e.interpolate(e.list(s.index));
|
|
1005
1005
|
throw et(n);
|
|
1006
1006
|
}
|
|
@@ -1018,22 +1018,22 @@ function wt(e, t) {
|
|
|
1018
1018
|
}
|
|
1019
1019
|
const qs = ["t", "type"];
|
|
1020
1020
|
function Bt(e) {
|
|
1021
|
-
return
|
|
1021
|
+
return De(e, qs);
|
|
1022
1022
|
}
|
|
1023
1023
|
const ea = ["v", "value"];
|
|
1024
1024
|
function lt(e, t) {
|
|
1025
|
-
const n =
|
|
1025
|
+
const n = De(e, ea);
|
|
1026
1026
|
if (n)
|
|
1027
1027
|
return n;
|
|
1028
1028
|
throw et(t);
|
|
1029
1029
|
}
|
|
1030
1030
|
const ta = ["m", "modifier"];
|
|
1031
1031
|
function na(e) {
|
|
1032
|
-
return
|
|
1032
|
+
return De(e, ta);
|
|
1033
1033
|
}
|
|
1034
1034
|
const sa = ["k", "key"];
|
|
1035
1035
|
function aa(e) {
|
|
1036
|
-
const t =
|
|
1036
|
+
const t = De(e, sa);
|
|
1037
1037
|
if (t)
|
|
1038
1038
|
return t;
|
|
1039
1039
|
throw et(
|
|
@@ -1041,10 +1041,10 @@ function aa(e) {
|
|
|
1041
1041
|
/* NodeTypes.Linked */
|
|
1042
1042
|
);
|
|
1043
1043
|
}
|
|
1044
|
-
function
|
|
1044
|
+
function De(e, t, n) {
|
|
1045
1045
|
for (let s = 0; s < t.length; s++) {
|
|
1046
1046
|
const l = t[s];
|
|
1047
|
-
if (
|
|
1047
|
+
if (Ie(e, l) && e[l] != null)
|
|
1048
1048
|
return e[l];
|
|
1049
1049
|
}
|
|
1050
1050
|
return n;
|
|
@@ -1055,11 +1055,11 @@ function et(e) {
|
|
|
1055
1055
|
const ra = (e) => e;
|
|
1056
1056
|
let ot = B();
|
|
1057
1057
|
function He(e) {
|
|
1058
|
-
return
|
|
1058
|
+
return Z(e) && Bt(e) === 0 && (Ie(e, "b") || Ie(e, "body"));
|
|
1059
1059
|
}
|
|
1060
1060
|
function la(e, t = {}) {
|
|
1061
1061
|
let n = !1;
|
|
1062
|
-
const s = t.onError ||
|
|
1062
|
+
const s = t.onError || Is;
|
|
1063
1063
|
return t.onError = (l) => {
|
|
1064
1064
|
n = !0, s(l);
|
|
1065
1065
|
}, { ...Ws(e, t), detectError: n };
|
|
@@ -1137,7 +1137,7 @@ function ln(e) {
|
|
|
1137
1137
|
function fa(e, t, n) {
|
|
1138
1138
|
return [.../* @__PURE__ */ new Set([
|
|
1139
1139
|
n,
|
|
1140
|
-
...oe(t) ? t :
|
|
1140
|
+
...oe(t) ? t : Z(t) ? Object.keys(t) : A(t) ? [t] : [n]
|
|
1141
1141
|
])];
|
|
1142
1142
|
}
|
|
1143
1143
|
function An(e, t, n) {
|
|
@@ -1149,7 +1149,7 @@ function An(e, t, n) {
|
|
|
1149
1149
|
let m = [n];
|
|
1150
1150
|
for (; oe(m); )
|
|
1151
1151
|
m = on(a, m, t);
|
|
1152
|
-
const f = oe(t) || !
|
|
1152
|
+
const f = oe(t) || !X(t) ? t : t.default ? t.default : null;
|
|
1153
1153
|
m = A(f) ? [f] : f, oe(m) && on(a, m, !1), l.__localeChainCache.set(s, a);
|
|
1154
1154
|
}
|
|
1155
1155
|
return a;
|
|
@@ -1176,12 +1176,12 @@ function pa(e, t, n) {
|
|
|
1176
1176
|
if (!e.includes(t) && (s = !0, t)) {
|
|
1177
1177
|
s = t[t.length - 1] !== "!";
|
|
1178
1178
|
const l = t.replace(/!/g, "");
|
|
1179
|
-
e.push(l), (oe(n) ||
|
|
1179
|
+
e.push(l), (oe(n) || X(n)) && n[l] && (s = n[l]);
|
|
1180
1180
|
}
|
|
1181
1181
|
return s;
|
|
1182
1182
|
}
|
|
1183
|
-
const
|
|
1184
|
-
|
|
1183
|
+
const Me = [];
|
|
1184
|
+
Me[
|
|
1185
1185
|
0
|
|
1186
1186
|
/* States.BEFORE_PATH */
|
|
1187
1187
|
] = {
|
|
@@ -1203,7 +1203,7 @@ De[
|
|
|
1203
1203
|
/* States.AFTER_PATH */
|
|
1204
1204
|
]
|
|
1205
1205
|
};
|
|
1206
|
-
|
|
1206
|
+
Me[
|
|
1207
1207
|
1
|
|
1208
1208
|
/* States.IN_PATH */
|
|
1209
1209
|
] = {
|
|
@@ -1224,7 +1224,7 @@ De[
|
|
|
1224
1224
|
/* States.AFTER_PATH */
|
|
1225
1225
|
]
|
|
1226
1226
|
};
|
|
1227
|
-
|
|
1227
|
+
Me[
|
|
1228
1228
|
2
|
|
1229
1229
|
/* States.BEFORE_IDENT */
|
|
1230
1230
|
] = {
|
|
@@ -1243,7 +1243,7 @@ De[
|
|
|
1243
1243
|
/* Actions.APPEND */
|
|
1244
1244
|
]
|
|
1245
1245
|
};
|
|
1246
|
-
|
|
1246
|
+
Me[
|
|
1247
1247
|
3
|
|
1248
1248
|
/* States.IN_IDENT */
|
|
1249
1249
|
] = {
|
|
@@ -1278,7 +1278,7 @@ De[
|
|
|
1278
1278
|
/* Actions.PUSH */
|
|
1279
1279
|
]
|
|
1280
1280
|
};
|
|
1281
|
-
|
|
1281
|
+
Me[
|
|
1282
1282
|
4
|
|
1283
1283
|
/* States.IN_SUB_PATH */
|
|
1284
1284
|
] = {
|
|
@@ -1309,7 +1309,7 @@ De[
|
|
|
1309
1309
|
/* Actions.APPEND */
|
|
1310
1310
|
]
|
|
1311
1311
|
};
|
|
1312
|
-
|
|
1312
|
+
Me[
|
|
1313
1313
|
5
|
|
1314
1314
|
/* States.IN_SINGLE_QUOTE */
|
|
1315
1315
|
] = {
|
|
@@ -1325,7 +1325,7 @@ De[
|
|
|
1325
1325
|
/* Actions.APPEND */
|
|
1326
1326
|
]
|
|
1327
1327
|
};
|
|
1328
|
-
|
|
1328
|
+
Me[
|
|
1329
1329
|
6
|
|
1330
1330
|
/* States.IN_DOUBLE_QUOTE */
|
|
1331
1331
|
] = {
|
|
@@ -1374,11 +1374,11 @@ function va(e) {
|
|
|
1374
1374
|
}
|
|
1375
1375
|
return "i";
|
|
1376
1376
|
}
|
|
1377
|
-
function
|
|
1377
|
+
function Ia(e) {
|
|
1378
1378
|
const t = e.trim();
|
|
1379
1379
|
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : ha(t) ? ga(t) : "*" + t;
|
|
1380
1380
|
}
|
|
1381
|
-
function
|
|
1381
|
+
function Ea(e) {
|
|
1382
1382
|
const t = [];
|
|
1383
1383
|
let n = -1, s = 0, l = 0, a, m, f, d, b, k, L;
|
|
1384
1384
|
const N = [];
|
|
@@ -1410,7 +1410,7 @@ function Ia(e) {
|
|
|
1410
1410
|
/* Actions.APPEND */
|
|
1411
1411
|
]();
|
|
1412
1412
|
else {
|
|
1413
|
-
if (l = 0, m === void 0 || (m =
|
|
1413
|
+
if (l = 0, m === void 0 || (m = Ia(m), m === !1))
|
|
1414
1414
|
return !1;
|
|
1415
1415
|
N[
|
|
1416
1416
|
1
|
|
@@ -1428,7 +1428,7 @@ function Ia(e) {
|
|
|
1428
1428
|
}
|
|
1429
1429
|
for (; s !== null; )
|
|
1430
1430
|
if (n++, a = e[n], !(a === "\\" && S())) {
|
|
1431
|
-
if (d = va(a), L =
|
|
1431
|
+
if (d = va(a), L = Me[s], b = L[d] || L.l || 8, b === 8 || (s = b[0], b[1] !== void 0 && (k = N[b[1]], k && (f = a, k() === !1))))
|
|
1432
1432
|
return;
|
|
1433
1433
|
if (s === 7)
|
|
1434
1434
|
return t;
|
|
@@ -1436,13 +1436,13 @@ function Ia(e) {
|
|
|
1436
1436
|
}
|
|
1437
1437
|
const cn = /* @__PURE__ */ new Map();
|
|
1438
1438
|
function Na(e, t) {
|
|
1439
|
-
return
|
|
1439
|
+
return Z(e) ? e[t] : null;
|
|
1440
1440
|
}
|
|
1441
1441
|
function ya(e, t) {
|
|
1442
|
-
if (!
|
|
1442
|
+
if (!Z(e))
|
|
1443
1443
|
return null;
|
|
1444
1444
|
let n = cn.get(t);
|
|
1445
|
-
if (n || (n =
|
|
1445
|
+
if (n || (n = Ea(t), n && cn.set(t, n)), !n)
|
|
1446
1446
|
return null;
|
|
1447
1447
|
const s = n.length;
|
|
1448
1448
|
let l = e, a = 0;
|
|
@@ -1457,22 +1457,22 @@ function ya(e, t) {
|
|
|
1457
1457
|
const ka = "10.0.5", ht = -1, ft = "en-US", un = "", mn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1458
1458
|
function Ta() {
|
|
1459
1459
|
return {
|
|
1460
|
-
upper: (e, t) => t === "text" && A(e) ? e.toUpperCase() : t === "vnode" &&
|
|
1461
|
-
lower: (e, t) => t === "text" && A(e) ? e.toLowerCase() : t === "vnode" &&
|
|
1462
|
-
capitalize: (e, t) => t === "text" && A(e) ? mn(e) : t === "vnode" &&
|
|
1460
|
+
upper: (e, t) => t === "text" && A(e) ? e.toUpperCase() : t === "vnode" && Z(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1461
|
+
lower: (e, t) => t === "text" && A(e) ? e.toLowerCase() : t === "vnode" && Z(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
1462
|
+
capitalize: (e, t) => t === "text" && A(e) ? mn(e) : t === "vnode" && Z(e) && "__v_isVNode" in e ? mn(e.children) : e
|
|
1463
1463
|
};
|
|
1464
1464
|
}
|
|
1465
1465
|
let Sn;
|
|
1466
1466
|
function La(e) {
|
|
1467
1467
|
Sn = e;
|
|
1468
1468
|
}
|
|
1469
|
-
let
|
|
1469
|
+
let Dn;
|
|
1470
1470
|
function Oa(e) {
|
|
1471
|
-
|
|
1471
|
+
Dn = e;
|
|
1472
1472
|
}
|
|
1473
|
-
let
|
|
1473
|
+
let Mn;
|
|
1474
1474
|
function Ra(e) {
|
|
1475
|
-
|
|
1475
|
+
Mn = e;
|
|
1476
1476
|
}
|
|
1477
1477
|
let wn = null;
|
|
1478
1478
|
const Ca = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
@@ -1483,8 +1483,8 @@ const dn = (e) => {
|
|
|
1483
1483
|
Pn = e;
|
|
1484
1484
|
}, Sa = () => Pn;
|
|
1485
1485
|
let fn = 0;
|
|
1486
|
-
function
|
|
1487
|
-
const t = ne(e.onWarn) ? e.onWarn : hs, n = A(e.version) ? e.version : ka, s = A(e.locale) || ne(e.locale) ? e.locale : ft, l = ne(s) ? ft : s, a = oe(e.fallbackLocale) ||
|
|
1486
|
+
function Da(e = {}) {
|
|
1487
|
+
const t = ne(e.onWarn) ? e.onWarn : hs, n = A(e.version) ? e.version : ka, s = A(e.locale) || ne(e.locale) ? e.locale : ft, l = ne(s) ? ft : s, a = oe(e.fallbackLocale) || X(e.fallbackLocale) || A(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, m = X(e.messages) ? e.messages : Rt(l), f = X(e.datetimeFormats) ? e.datetimeFormats : Rt(l), d = X(e.numberFormats) ? e.numberFormats : Rt(l), b = ue(B(), e.modifiers, Ta()), k = e.pluralRules || B(), L = ne(e.missing) ? e.missing : null, N = le(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, S = le(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, F = !!e.fallbackFormat, T = !!e.unresolving, O = ne(e.postTranslation) ? e.postTranslation : null, c = X(e.processor) ? e.processor : null, _ = le(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter, u = ne(e.messageCompiler) ? e.messageCompiler : Sn, g = ne(e.messageResolver) ? e.messageResolver : Dn || Na, v = ne(e.localeFallbacker) ? e.localeFallbacker : Mn || fa, i = Z(e.fallbackContext) ? e.fallbackContext : void 0, E = e, P = Z(E.__datetimeFormatters) ? E.__datetimeFormatters : /* @__PURE__ */ new Map(), D = Z(E.__numberFormatters) ? E.__numberFormatters : /* @__PURE__ */ new Map(), Y = Z(E.__meta) ? E.__meta : {};
|
|
1488
1488
|
fn++;
|
|
1489
1489
|
const V = {
|
|
1490
1490
|
version: n,
|
|
@@ -1508,9 +1508,9 @@ function Ma(e = {}) {
|
|
|
1508
1508
|
localeFallbacker: v,
|
|
1509
1509
|
fallbackContext: i,
|
|
1510
1510
|
onWarn: t,
|
|
1511
|
-
__meta:
|
|
1511
|
+
__meta: Y
|
|
1512
1512
|
};
|
|
1513
|
-
return V.datetimeFormats = f, V.numberFormats = d, V.__datetimeFormatters = P, V.__numberFormatters =
|
|
1513
|
+
return V.datetimeFormats = f, V.numberFormats = d, V.__datetimeFormatters = P, V.__numberFormatters = D, __INTLIFY_PROD_DEVTOOLS__ && ca(V, n, Y), V;
|
|
1514
1514
|
}
|
|
1515
1515
|
const Rt = (e) => ({ [e]: B() });
|
|
1516
1516
|
function Jt(e, t, n, s, l) {
|
|
@@ -1525,7 +1525,7 @@ function Qe(e, t, n) {
|
|
|
1525
1525
|
const s = e;
|
|
1526
1526
|
s.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
|
|
1527
1527
|
}
|
|
1528
|
-
function
|
|
1528
|
+
function Ma(e, t) {
|
|
1529
1529
|
return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
|
|
1530
1530
|
}
|
|
1531
1531
|
function wa(e, t) {
|
|
@@ -1533,7 +1533,7 @@ function wa(e, t) {
|
|
|
1533
1533
|
if (n === -1)
|
|
1534
1534
|
return !1;
|
|
1535
1535
|
for (let s = n + 1; s < t.length; s++)
|
|
1536
|
-
if (
|
|
1536
|
+
if (Ma(e, t[s]))
|
|
1537
1537
|
return !0;
|
|
1538
1538
|
return !1;
|
|
1539
1539
|
}
|
|
@@ -1550,9 +1550,9 @@ function _n(e, ...t) {
|
|
|
1550
1550
|
return new Intl.DateTimeFormat(F, L).format(b);
|
|
1551
1551
|
let O = {}, c, _ = null;
|
|
1552
1552
|
const y = "datetime format";
|
|
1553
|
-
for (let v = 0; v < T.length && (c = T[v], O = n[c] || {}, _ = O[d], !
|
|
1553
|
+
for (let v = 0; v < T.length && (c = T[v], O = n[c] || {}, _ = O[d], !X(_)); v++)
|
|
1554
1554
|
Jt(e, d, c, N, y);
|
|
1555
|
-
if (!
|
|
1555
|
+
if (!X(_) || !A(c))
|
|
1556
1556
|
return s ? ht : d;
|
|
1557
1557
|
let u = `${c}__${d}`;
|
|
1558
1558
|
pt(L) || (u = `${u}__${JSON.stringify(L)}`);
|
|
@@ -1603,9 +1603,9 @@ function Pt(...e) {
|
|
|
1603
1603
|
f = t;
|
|
1604
1604
|
else
|
|
1605
1605
|
throw Re(Oe.INVALID_ARGUMENT);
|
|
1606
|
-
return A(n) ? a.key = n :
|
|
1606
|
+
return A(n) ? a.key = n : X(n) && Object.keys(n).forEach((d) => {
|
|
1607
1607
|
Fn.includes(d) ? m[d] = n[d] : a[d] = n[d];
|
|
1608
|
-
}), A(s) ? a.locale = s :
|
|
1608
|
+
}), A(s) ? a.locale = s : X(s) && (m = s), X(l) && (m = l), [a.key || "", f, a, m];
|
|
1609
1609
|
}
|
|
1610
1610
|
function pn(e, t, n) {
|
|
1611
1611
|
const s = e;
|
|
@@ -1627,9 +1627,9 @@ function bn(e, ...t) {
|
|
|
1627
1627
|
return new Intl.NumberFormat(F, L).format(b);
|
|
1628
1628
|
let O = {}, c, _ = null;
|
|
1629
1629
|
const y = "number format";
|
|
1630
|
-
for (let v = 0; v < T.length && (c = T[v], O = n[c] || {}, _ = O[d], !
|
|
1630
|
+
for (let v = 0; v < T.length && (c = T[v], O = n[c] || {}, _ = O[d], !X(_)); v++)
|
|
1631
1631
|
Jt(e, d, c, N, y);
|
|
1632
|
-
if (!
|
|
1632
|
+
if (!X(_) || !A(c))
|
|
1633
1633
|
return s ? ht : d;
|
|
1634
1634
|
let u = `${c}__${d}`;
|
|
1635
1635
|
pt(L) || (u = `${u}__${JSON.stringify(L)}`);
|
|
@@ -1664,9 +1664,9 @@ function Ft(...e) {
|
|
|
1664
1664
|
if (!ce(t))
|
|
1665
1665
|
throw Re(Oe.INVALID_ARGUMENT);
|
|
1666
1666
|
const f = t;
|
|
1667
|
-
return A(n) ? a.key = n :
|
|
1667
|
+
return A(n) ? a.key = n : X(n) && Object.keys(n).forEach((d) => {
|
|
1668
1668
|
jn.includes(d) ? m[d] = n[d] : a[d] = n[d];
|
|
1669
|
-
}), A(s) ? a.locale = s :
|
|
1669
|
+
}), A(s) ? a.locale = s : X(s) && (m = s), X(l) && (m = l), [a.key || "", f, a, m];
|
|
1670
1670
|
}
|
|
1671
1671
|
function hn(e, t, n) {
|
|
1672
1672
|
const s = e;
|
|
@@ -1675,7 +1675,7 @@ function hn(e, t, n) {
|
|
|
1675
1675
|
s.__numberFormatters.has(a) && s.__numberFormatters.delete(a);
|
|
1676
1676
|
}
|
|
1677
1677
|
}
|
|
1678
|
-
const Pa = (e) => e, Fa = (e) => "", ja = "text", Va = (e) => e.length === 0 ? "" :
|
|
1678
|
+
const Pa = (e) => e, Fa = (e) => "", ja = "text", Va = (e) => e.length === 0 ? "" : Yt(e), Ua = bs;
|
|
1679
1679
|
function gn(e, t) {
|
|
1680
1680
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1681
1681
|
}
|
|
@@ -1687,26 +1687,26 @@ function Wa(e, t) {
|
|
|
1687
1687
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1688
1688
|
}
|
|
1689
1689
|
function xa(e = {}) {
|
|
1690
|
-
const t = e.locale, n = Ga(e), s =
|
|
1690
|
+
const t = e.locale, n = Ga(e), s = Z(e.pluralRules) && A(t) && ne(e.pluralRules[t]) ? e.pluralRules[t] : gn, l = Z(e.pluralRules) && A(t) && ne(e.pluralRules[t]) ? gn : void 0, a = (c) => c[s(n, c.length, l)], m = e.list || [], f = (c) => m[c], d = e.named || B();
|
|
1691
1691
|
ce(e.pluralIndex) && Wa(n, d);
|
|
1692
1692
|
const b = (c) => d[c];
|
|
1693
1693
|
function k(c, _) {
|
|
1694
|
-
const y = ne(e.messages) ? e.messages(c, !!_) :
|
|
1694
|
+
const y = ne(e.messages) ? e.messages(c, !!_) : Z(e.messages) ? e.messages[c] : !1;
|
|
1695
1695
|
return y || (e.parent ? e.parent.message(c) : Fa);
|
|
1696
1696
|
}
|
|
1697
|
-
const L = (c) => e.modifiers ? e.modifiers[c] : Pa, N =
|
|
1697
|
+
const L = (c) => e.modifiers ? e.modifiers[c] : Pa, N = X(e.processor) && ne(e.processor.normalize) ? e.processor.normalize : Va, S = X(e.processor) && ne(e.processor.interpolate) ? e.processor.interpolate : Ua, F = X(e.processor) && A(e.processor.type) ? e.processor.type : ja, O = {
|
|
1698
1698
|
list: f,
|
|
1699
1699
|
named: b,
|
|
1700
1700
|
plural: a,
|
|
1701
1701
|
linked: (c, ..._) => {
|
|
1702
1702
|
const [y, u] = _;
|
|
1703
1703
|
let g = "text", v = "";
|
|
1704
|
-
_.length === 1 ?
|
|
1705
|
-
const i = k(c, !0)(O),
|
|
1704
|
+
_.length === 1 ? Z(y) ? (v = y.modifier || v, g = y.type || g) : A(y) && (v = y || v) : _.length === 2 && (A(y) && (v = y || v), A(u) && (g = u || g));
|
|
1705
|
+
const i = k(c, !0)(O), E = (
|
|
1706
1706
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1707
1707
|
g === "vnode" && oe(i) && v ? i[0] : i
|
|
1708
1708
|
);
|
|
1709
|
-
return v ? L(v)(
|
|
1709
|
+
return v ? L(v)(E, g) : E;
|
|
1710
1710
|
},
|
|
1711
1711
|
message: k,
|
|
1712
1712
|
type: F,
|
|
@@ -1717,9 +1717,9 @@ function xa(e = {}) {
|
|
|
1717
1717
|
return O;
|
|
1718
1718
|
}
|
|
1719
1719
|
const vn = () => "", he = (e) => ne(e);
|
|
1720
|
-
function
|
|
1720
|
+
function In(e, ...t) {
|
|
1721
1721
|
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: m, messages: f } = e, [d, b] = jt(...t), k = le(b.missingWarn) ? b.missingWarn : e.missingWarn, L = le(b.fallbackWarn) ? b.fallbackWarn : e.fallbackWarn, N = le(b.escapeParameter) ? b.escapeParameter : e.escapeParameter, S = !!b.resolvedMessage, F = A(b.default) || le(b.default) ? le(b.default) ? a ? d : () => d : b.default : n ? a ? d : () => d : null, T = n || F != null && (A(F) || ne(F)), O = $t(e, b);
|
|
1722
|
-
N &&
|
|
1722
|
+
N && Xa(b);
|
|
1723
1723
|
let [c, _, y] = S ? [
|
|
1724
1724
|
d,
|
|
1725
1725
|
O,
|
|
@@ -1730,10 +1730,10 @@ function En(e, ...t) {
|
|
|
1730
1730
|
let v = !1;
|
|
1731
1731
|
const i = () => {
|
|
1732
1732
|
v = !0;
|
|
1733
|
-
},
|
|
1733
|
+
}, E = he(u) ? u : Un(e, d, _, u, g, i);
|
|
1734
1734
|
if (v)
|
|
1735
1735
|
return u;
|
|
1736
|
-
const P = Ha(e, _, y, b),
|
|
1736
|
+
const P = Ha(e, _, y, b), D = xa(P), Y = Za(e, E, D), V = s ? s(Y, d) : Y;
|
|
1737
1737
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1738
1738
|
const K = {
|
|
1739
1739
|
timestamp: Date.now(),
|
|
@@ -1746,8 +1746,8 @@ function En(e, ...t) {
|
|
|
1746
1746
|
}
|
|
1747
1747
|
return V;
|
|
1748
1748
|
}
|
|
1749
|
-
function
|
|
1750
|
-
oe(e.list) ? e.list = e.list.map((t) => A(t) ? tn(t) : t) :
|
|
1749
|
+
function Xa(e) {
|
|
1750
|
+
oe(e.list) ? e.list = e.list.map((t) => A(t) ? tn(t) : t) : Z(e.named) && Object.keys(e.named).forEach((t) => {
|
|
1751
1751
|
A(e.named[t]) && (e.named[t] = tn(e.named[t]));
|
|
1752
1752
|
});
|
|
1753
1753
|
}
|
|
@@ -1779,10 +1779,10 @@ function Un(e, t, n, s, l, a) {
|
|
|
1779
1779
|
const b = () => s;
|
|
1780
1780
|
return b.locale = n, b.key = t, b;
|
|
1781
1781
|
}
|
|
1782
|
-
const d = m(s,
|
|
1782
|
+
const d = m(s, Ya(e, n, l, s, f, a));
|
|
1783
1783
|
return d.locale = n, d.key = t, d.source = s, d;
|
|
1784
1784
|
}
|
|
1785
|
-
function
|
|
1785
|
+
function Za(e, t, n) {
|
|
1786
1786
|
return t(n);
|
|
1787
1787
|
}
|
|
1788
1788
|
function jt(...e) {
|
|
@@ -1790,9 +1790,9 @@ function jt(...e) {
|
|
|
1790
1790
|
if (!A(t) && !ce(t) && !he(t) && !He(t))
|
|
1791
1791
|
throw Re(Oe.INVALID_ARGUMENT);
|
|
1792
1792
|
const a = ce(t) ? String(t) : (he(t), t);
|
|
1793
|
-
return ce(n) ? l.plural = n : A(n) ? l.default = n :
|
|
1793
|
+
return ce(n) ? l.plural = n : A(n) ? l.default = n : X(n) && !pt(n) ? l.named = n : oe(n) && (l.list = n), ce(s) ? l.plural = s : A(s) ? l.default = s : X(s) && ue(l, s), [a, l];
|
|
1794
1794
|
}
|
|
1795
|
-
function
|
|
1795
|
+
function Ya(e, t, n, s, l, a) {
|
|
1796
1796
|
return {
|
|
1797
1797
|
locale: t,
|
|
1798
1798
|
key: n,
|
|
@@ -1833,8 +1833,8 @@ function Ha(e, t, n, s) {
|
|
|
1833
1833
|
};
|
|
1834
1834
|
return e.processor && (N.processor = e.processor), s.list && (N.list = s.list), s.named && (N.named = s.named), ce(s.plural) && (N.pluralIndex = s.plural), N;
|
|
1835
1835
|
}
|
|
1836
|
-
|
|
1837
|
-
var Ba = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_31c6ed70-8e89-4954-9c3a-0ef36b161982", 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_31c6ed70-8e89-4954-9c3a-0ef36b161982", 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: "1876", ACTIONS_ORCHESTRATION_ID: "b12bda2f-21d1-40f6-b4b4-a4fb97dd79e3.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_scripts_build_only_dev: "VITE_TARGET_ENV=dev pnpm build:mf && pnpm build:dts", 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: "20260329.72.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:15588", 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: "24116742033", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "e4397f4f27d37ef4de14391daf925b5efc9bfeee", 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/feat/portal-reports-permissions-new", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L3BvcnRhbC1yZXBvcnRzLXBlcm1pc3Npb25zLW5ld1wiLFwiUGVybWlzc2lvblwiOjN9LHtcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL21haW5cIixcIlBlcm1pc3Npb25cIjoxfV0iLCJhY3NsIjoiMTAiLCJhdWQiOiJ2c286NmY5NmZhODktYjdiZi00ODc4LWJhZDMtODk4MDA2NTY2YjZlIiwiYmlsbGluZ19vd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsImV4cCI6MTc3NTY0MjU2OCwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaWF0IjoxNzc1NjIwMzY4LCJpc3MiOiJodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwiam9iX2lkIjoiODhkYzZiNDEtMDM5NS01Y2U2LWEwMzYtNTQwZTM2YmNmNTZjIiwibmFtZWlkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwibmJmIjoxNzc1NjIwMDY4LCJvaWRjX2V4dHJhIjoie1wiYWN0b3JcIjpcIkNhc3RhLW1lcmVcIixcImFjdG9yX2lkXCI6XCI4MjI5ODAxN1wiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCI3MDM2MjIyNDUyNFwiLFwiZXZlbnRfbmFtZVwiOlwid29ya2Zsb3dfZGlzcGF0Y2hcIixcImhlYWRfcmVmXCI6XCJcIixcImpvYl93b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9hY3Rpb25zLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtbnBtLWdpdGh1Yi55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwiam9iX3dvcmtmbG93X3NoYVwiOlwiM2YzNTQ0ODAwYmFhM2I4YmM0YWFhZTk0ZWU4NGMwMTJiZDY0OGZmZVwiLFwicmVmXCI6XCJyZWZzL2hlYWRzL2ZlYXQvcG9ydGFsLXJlcG9ydHMtcGVybWlzc2lvbnMtbmV3XCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjI0MTE2NzQyMDMzXCIsXCJydW5fbnVtYmVyXCI6XCIzN1wiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcImU0Mzk3ZjRmMjdkMzdlZjRkZTE0MzkxZGFmOTI1YjVlZmM5YmZlZWVcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL2ZlYXQvcG9ydGFsLXJlcG9ydHMtcGVybWlzc2lvbnMtbmV3XCIsXCJ3b3JrZmxvd19zaGFcIjpcImU0Mzk3ZjRmMjdkMzdlZjRkZTE0MzkxZGFmOTI1YjVlZmM5YmZlZWVcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL2hybS1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL2ZlYXQvcG9ydGFsLXJlcG9ydHMtcGVybWlzc2lvbnMtbmV3Iiwib3JjaF9pZCI6ImIxMmJkYTJmLTIxZDEtNDBmNi1iNGI0LWE0ZmI5N2RkNzllMy5wdWJsaXNoLnB1Ymxpc2guX19kZWZhdWx0Iiwib3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJwbGFuX2lkIjoiYjEyYmRhMmYtMjFkMS00MGY2LWI0YjQtYTRmYjk3ZGQ3OWUzIiwicmVwb3NpdG9yeV9pZCI6IjExMjQ2NzIyMzUiLCJydW5faWQiOiIyNDExNjc0MjAzMyIsInJ1bl9udW1iZXIiOiIzNyIsInJ1bl90eXBlIjoiZnVsbCIsInJ1bm5lcl9pZCI6IjEwMDAwNTg0NTUiLCJydW5uZXJfdHlwZSI6Imhvc3RlZCIsInNjcCI6IkFjdGlvbnMuUmVzdWx0czpiMTJiZGEyZi0yMWQxLTQwZjYtYjRiNC1hNGZiOTdkZDc5ZTM6ODhkYzZiNDEtMDM5NS01Y2U2LWEwMzYtNTQwZTM2YmNmNTZjIEFjdGlvbnMuUnVubmVyOmIxMmJkYTJmLTIxZDEtNDBmNi1iNGI0LWE0ZmI5N2RkNzllMzo4OGRjNmI0MS0wMzk1LTVjZTYtYTAzNi01NDBlMzZiY2Y1NmMgQWN0aW9ucy5VcGxvYWRBcnRpZmFjdHM6YjEyYmRhMmYtMjFkMS00MGY2LWI0YjQtYTRmYjk3ZGQ3OWUzOjg4ZGM2YjQxLTAzOTUtNWNlNi1hMDM2LTU0MGUzNmJjZjU2YyBnZW5lcmF0ZV9pZF90b2tlbjpiMTJiZGEyZi0yMWQxLTQwZjYtYjRiNC1hNGZiOTdkZDc5ZTM6ODhkYzZiNDEtMDM5NS01Y2U2LWEwMzYtNTQwZTM2YmNmNTZjIEFjdGlvbnMuR2VuZXJpY1JlYWQ6MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIiwic2hhIjoiZTQzOTdmNGYyN2QzN2VmNGRlMTQzOTFkYWY5MjViNWVmYzliZmVlZSIsInRydXN0X3RpZXIiOiIxIn0.XHuce6YGsBMTlYG4b6JXS6w8Jd9gjSI0VZ67a1pFr7YYn9rf_rPkFhxYM9tsqTvkgXaHVTCVnnLUrGHOFmUrsKMwOHbzHnGKpmJVCOig2DPjMMYJXGhK642HIyoCbn36vx7G9lSNjkGYPGRK875qEqDulfHv5Z3iCV9OPxmtWmJQRglNd-7Rw6EpeQGyfZZ77jznetcoQSHhx_MF1CIW9wu41u6y0cOO9UKuX-D6QPoRdobTudNKmNcQYsGZh3E9MUAOM_hIPWFcfKTKPKFObo4cEUH66vdHk50sLMBd10KYWjyCHJ62_c-57toSi44Scakuj0UMTT08VDogSA_F0A", 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_e84f6c33-0c9a-496d-94fe-5889691f6aa3", INVOCATION_ID: "f0039de2154241c68db81fafe547adef", 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: "37", GITHUB_TRIGGERING_ACTOR: "Casta-mere", 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 1000058455", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/portal-reports-permissions-new", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./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: "2.0.7-dev", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_hrm_permission: "workspace:*", npm_package_devDependencies__rushstack_eslint_patch: "^1.3.3", npm_package_devDependencies_eslint_plugin_unused_imports: "^4.3.0", npm_package_devDependencies_jsdom: "^24.0.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "e4397f4f27d37ef4de14391daf925b5efc9bfeee", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/feat/portal-reports-permissions-new", GITHUB_ACTOR: "Casta-mere", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", 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_31c6ed70-8e89-4954-9c3a-0ef36b161982", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "82298017", 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-3-azure-eastus.actions.githubusercontent.com/68//idtoken/b12bda2f-21d1-40f6-b4b4-a4fb97dd79e3/88dc6b41-0395-5ce6-a036-540e36bcf56c?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_31c6ed70-8e89-4954-9c3a-0ef36b161982", 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_31c6ed70-8e89-4954-9c3a-0ef36b161982", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1836
|
+
Xs();
|
|
1837
|
+
var Ba = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_73606a10-8858-49ac-804f-6b406177a011", 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_73606a10-8858-49ac-804f-6b406177a011", 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: "1882", ACTIONS_ORCHESTRATION_ID: "37add283-082b-4d1d-93d9-b275b1e652cd.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_scripts_build_only_dev: "VITE_TARGET_ENV=dev pnpm build:mf && pnpm build:dts", 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: "20260406.80.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:14119", 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: "24138024451", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "dcf042f1425f1b19db4f9bd5a6269575863b0ed4", 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/feat/portal-reports-permissions-new", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L3BvcnRhbC1yZXBvcnRzLXBlcm1pc3Npb25zLW5ld1wiLFwiUGVybWlzc2lvblwiOjN9LHtcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL21haW5cIixcIlBlcm1pc3Npb25cIjoxfV0iLCJhY3NsIjoiMTAiLCJhdWQiOiJ2c286NmY5NmZhODktYjdiZi00ODc4LWJhZDMtODk4MDA2NTY2YjZlIiwiYmlsbGluZ19vd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsImV4cCI6MTc3NTY3NzIxNiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaWF0IjoxNzc1NjU1MDE2LCJpc3MiOiJodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwiam9iX2lkIjoiNmI1Yzk5ZTYtZGQzZS01NGViLWFkNmMtMDAwYzI2NTE2Njc2IiwibmFtZWlkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwibmJmIjoxNzc1NjU0NzE2LCJvaWRjX2V4dHJhIjoie1wiYWN0b3JcIjpcIkNhc3RhLW1lcmVcIixcImFjdG9yX2lkXCI6XCI4MjI5ODAxN1wiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCI3MDQzMTI4NTg4N1wiLFwiZXZlbnRfbmFtZVwiOlwid29ya2Zsb3dfZGlzcGF0Y2hcIixcImhlYWRfcmVmXCI6XCJcIixcImpvYl93b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9hY3Rpb25zLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtbnBtLWdpdGh1Yi55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwiam9iX3dvcmtmbG93X3NoYVwiOlwiM2YzNTQ0ODAwYmFhM2I4YmM0YWFhZTk0ZWU4NGMwMTJiZDY0OGZmZVwiLFwicmVmXCI6XCJyZWZzL2hlYWRzL2ZlYXQvcG9ydGFsLXJlcG9ydHMtcGVybWlzc2lvbnMtbmV3XCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjI0MTM4MDI0NDUxXCIsXCJydW5fbnVtYmVyXCI6XCIzOFwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcImRjZjA0MmYxNDI1ZjFiMTlkYjRmOWJkNWE2MjY5NTc1ODYzYjBlZDRcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL2ZlYXQvcG9ydGFsLXJlcG9ydHMtcGVybWlzc2lvbnMtbmV3XCIsXCJ3b3JrZmxvd19zaGFcIjpcImRjZjA0MmYxNDI1ZjFiMTlkYjRmOWJkNWE2MjY5NTc1ODYzYjBlZDRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL2hybS1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL2ZlYXQvcG9ydGFsLXJlcG9ydHMtcGVybWlzc2lvbnMtbmV3Iiwib3JjaF9pZCI6IjM3YWRkMjgzLTA4MmItNGQxZC05M2Q5LWIyNzViMWU2NTJjZC5wdWJsaXNoLnB1Ymxpc2guX19kZWZhdWx0Iiwib3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJwbGFuX2lkIjoiMzdhZGQyODMtMDgyYi00ZDFkLTkzZDktYjI3NWIxZTY1MmNkIiwicmVwb3NpdG9yeV9pZCI6IjExMjQ2NzIyMzUiLCJydW5faWQiOiIyNDEzODAyNDQ1MSIsInJ1bl9udW1iZXIiOiIzOCIsInJ1bl90eXBlIjoiZnVsbCIsInJ1bm5lcl9pZCI6IjEwMDAwNTg3MjciLCJydW5uZXJfdHlwZSI6Imhvc3RlZCIsInNjcCI6IkFjdGlvbnMuUmVzdWx0czozN2FkZDI4My0wODJiLTRkMWQtOTNkOS1iMjc1YjFlNjUyY2Q6NmI1Yzk5ZTYtZGQzZS01NGViLWFkNmMtMDAwYzI2NTE2Njc2IEFjdGlvbnMuUnVubmVyOjM3YWRkMjgzLTA4MmItNGQxZC05M2Q5LWIyNzViMWU2NTJjZDo2YjVjOTllNi1kZDNlLTU0ZWItYWQ2Yy0wMDBjMjY1MTY2NzYgQWN0aW9ucy5VcGxvYWRBcnRpZmFjdHM6MzdhZGQyODMtMDgyYi00ZDFkLTkzZDktYjI3NWIxZTY1MmNkOjZiNWM5OWU2LWRkM2UtNTRlYi1hZDZjLTAwMGMyNjUxNjY3NiBnZW5lcmF0ZV9pZF90b2tlbjozN2FkZDI4My0wODJiLTRkMWQtOTNkOS1iMjc1YjFlNjUyY2Q6NmI1Yzk5ZTYtZGQzZS01NGViLWFkNmMtMDAwYzI2NTE2Njc2IEFjdGlvbnMuR2VuZXJpY1JlYWQ6MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIiwic2hhIjoiZGNmMDQyZjE0MjVmMWIxOWRiNGY5YmQ1YTYyNjk1NzU4NjNiMGVkNCIsInRydXN0X3RpZXIiOiIxIn0.48MOx8jzO5b3_MfQDU0jpwrUcd0ctUDGPXzJPAdWvKYo9ty-eky6j3htnrNciFj0dAOuPWN4swv0aJ8nWk8i7nykw6HJWGdVi-saSQX9GcmmlKkkcGaFuo0epvO1slVQx5TJmulciYHeV7eExZJF_fgO-NzL-X7c-FxwFQ6CVY2AzDWVfQjjrIXdYN5azD19TBuIHqq1V9UlE8x-w76m2-O6_LM2vK6woGxpXqc81KhDyY4D_Laf29riyLQ6c4396G56QZYbi-NlujzD6oOD6DFnNy89s-vOrdCrVD9BxlEzSDJ-BeL55d9lpPmT-hUvvqkbNzbmc3CRDDSt9OrlKQ", 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_e9426c9b-28d6-4c5c-8425-39788f8115b7", INVOCATION_ID: "eb26a58bf3844802958ff28b4b8f3a24", 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: "38", GITHUB_TRIGGERING_ACTOR: "Casta-mere", 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 1000058727", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/portal-reports-permissions-new", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./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: "2.0.8-dev", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_hrm_permission: "workspace:*", npm_package_devDependencies__rushstack_eslint_patch: "^1.3.3", npm_package_devDependencies_eslint_plugin_unused_imports: "^4.3.0", npm_package_devDependencies_jsdom: "^24.0.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "dcf042f1425f1b19db4f9bd5a6269575863b0ed4", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/feat/portal-reports-permissions-new", GITHUB_ACTOR: "Casta-mere", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", 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_73606a10-8858-49ac-804f-6b406177a011", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "82298017", 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/52//idtoken/37add283-082b-4d1d-93d9-b275b1e652cd/6b5c99e6-dd3e-54eb-ad6c-000c26516676?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_73606a10-8858-49ac-804f-6b406177a011", 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_73606a10-8858-49ac-804f-6b406177a011", 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 $a = "10.0.5";
|
|
1839
1839
|
function Ja() {
|
|
1840
1840
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (je().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (je().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (je().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (je().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
@@ -1857,28 +1857,28 @@ function nt(e, ...t) {
|
|
|
1857
1857
|
}
|
|
1858
1858
|
const Vt = /* @__PURE__ */ Ue("__translateVNode"), Ut = /* @__PURE__ */ Ue("__datetimeParts"), Gt = /* @__PURE__ */ Ue("__numberParts"), Ka = Ue("__setPluralRules"), Gn = /* @__PURE__ */ Ue("__injectWithOption"), Wt = /* @__PURE__ */ Ue("__dispose");
|
|
1859
1859
|
function st(e) {
|
|
1860
|
-
if (!
|
|
1860
|
+
if (!Z(e))
|
|
1861
1861
|
return e;
|
|
1862
1862
|
for (const t in e)
|
|
1863
|
-
if (
|
|
1863
|
+
if (Ie(e, t))
|
|
1864
1864
|
if (!t.includes("."))
|
|
1865
|
-
|
|
1865
|
+
Z(e[t]) && st(e[t]);
|
|
1866
1866
|
else {
|
|
1867
1867
|
const n = t.split("."), s = n.length - 1;
|
|
1868
1868
|
let l = e, a = !1;
|
|
1869
1869
|
for (let m = 0; m < s; m++) {
|
|
1870
|
-
if (n[m] in l || (l[n[m]] = B()), !
|
|
1870
|
+
if (n[m] in l || (l[n[m]] = B()), !Z(l[n[m]])) {
|
|
1871
1871
|
a = !0;
|
|
1872
1872
|
break;
|
|
1873
1873
|
}
|
|
1874
1874
|
l = l[n[m]];
|
|
1875
1875
|
}
|
|
1876
|
-
a || (l[n[s]] = e[t], delete e[t]),
|
|
1876
|
+
a || (l[n[s]] = e[t], delete e[t]), Z(l[n[s]]) && st(l[n[s]]);
|
|
1877
1877
|
}
|
|
1878
1878
|
return e;
|
|
1879
1879
|
}
|
|
1880
1880
|
function Wn(e, t) {
|
|
1881
|
-
const { messages: n, __i18n: s, messageResolver: l, flatJson: a } = t, m =
|
|
1881
|
+
const { messages: n, __i18n: s, messageResolver: l, flatJson: a } = t, m = X(n) ? n : oe(s) ? B() : { [e]: B() };
|
|
1882
1882
|
if (oe(s) && s.forEach((f) => {
|
|
1883
1883
|
if ("locale" in f && "resource" in f) {
|
|
1884
1884
|
const { locale: d, resource: b } = f;
|
|
@@ -1887,14 +1887,14 @@ function Wn(e, t) {
|
|
|
1887
1887
|
A(f) && mt(JSON.parse(f), m);
|
|
1888
1888
|
}), l == null && a)
|
|
1889
1889
|
for (const f in m)
|
|
1890
|
-
|
|
1890
|
+
Ie(m, f) && st(m[f]);
|
|
1891
1891
|
return m;
|
|
1892
1892
|
}
|
|
1893
1893
|
function xn(e) {
|
|
1894
1894
|
return e.type;
|
|
1895
1895
|
}
|
|
1896
1896
|
function za(e, t, n) {
|
|
1897
|
-
let s =
|
|
1897
|
+
let s = Z(t.messages) ? t.messages : B();
|
|
1898
1898
|
"__i18nGlobal" in n && (s = Wn(e.locale.value, {
|
|
1899
1899
|
messages: s,
|
|
1900
1900
|
__i18n: n.__i18nGlobal
|
|
@@ -1904,13 +1904,13 @@ function za(e, t, n) {
|
|
|
1904
1904
|
e.mergeLocaleMessage(a, s[a]);
|
|
1905
1905
|
});
|
|
1906
1906
|
{
|
|
1907
|
-
if (
|
|
1907
|
+
if (Z(t.datetimeFormats)) {
|
|
1908
1908
|
const a = Object.keys(t.datetimeFormats);
|
|
1909
1909
|
a.length && a.forEach((m) => {
|
|
1910
1910
|
e.mergeDateTimeFormat(m, t.datetimeFormats[m]);
|
|
1911
1911
|
});
|
|
1912
1912
|
}
|
|
1913
|
-
if (
|
|
1913
|
+
if (Z(t.numberFormats)) {
|
|
1914
1914
|
const a = Object.keys(t.numberFormats);
|
|
1915
1915
|
a.length && a.forEach((m) => {
|
|
1916
1916
|
e.mergeNumberFormat(m, t.numberFormats[m]);
|
|
@@ -1918,7 +1918,7 @@ function za(e, t, n) {
|
|
|
1918
1918
|
}
|
|
1919
1919
|
}
|
|
1920
1920
|
}
|
|
1921
|
-
function
|
|
1921
|
+
function En(e) {
|
|
1922
1922
|
return de($n, null, e, 0);
|
|
1923
1923
|
}
|
|
1924
1924
|
const Nn = "__INTLIFY_META__", yn = () => [], Qa = () => !1;
|
|
@@ -1939,10 +1939,10 @@ function er(e = {}) {
|
|
|
1939
1939
|
t && m ? t.locale.value : A(e.locale) ? e.locale : ft
|
|
1940
1940
|
), d = a(
|
|
1941
1941
|
// prettier-ignore
|
|
1942
|
-
t && m ? t.fallbackLocale.value : A(e.fallbackLocale) || oe(e.fallbackLocale) ||
|
|
1943
|
-
), b = a(Wn(f.value, e)), k = a(
|
|
1942
|
+
t && m ? t.fallbackLocale.value : A(e.fallbackLocale) || oe(e.fallbackLocale) || X(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : f.value
|
|
1943
|
+
), b = a(Wn(f.value, e)), k = a(X(e.datetimeFormats) ? e.datetimeFormats : { [f.value]: {} }), L = a(X(e.numberFormats) ? e.numberFormats : { [f.value]: {} });
|
|
1944
1944
|
let N = t ? t.missingWarn : le(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, S = t ? t.fallbackWarn : le(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, F = t ? t.fallbackRoot : le(e.fallbackRoot) ? e.fallbackRoot : !0, T = !!e.fallbackFormat, O = ne(e.missing) ? e.missing : null, c = ne(e.missing) ? Tn(e.missing) : null, _ = ne(e.postTranslation) ? e.postTranslation : null, y = t ? t.warnHtmlMessage : le(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, u = !!e.escapeParameter;
|
|
1945
|
-
const g = t ? t.modifiers :
|
|
1945
|
+
const g = t ? t.modifiers : X(e.modifiers) ? e.modifiers : {};
|
|
1946
1946
|
let v = e.pluralRules || t && t.pluralRules, i;
|
|
1947
1947
|
i = (() => {
|
|
1948
1948
|
s && dn(null);
|
|
@@ -1965,9 +1965,9 @@ function er(e = {}) {
|
|
|
1965
1965
|
messageCompiler: e.messageCompiler,
|
|
1966
1966
|
__meta: { framework: "vue" }
|
|
1967
1967
|
};
|
|
1968
|
-
p.datetimeFormats = k.value, p.numberFormats = L.value, p.__datetimeFormatters =
|
|
1969
|
-
const
|
|
1970
|
-
return s && dn(
|
|
1968
|
+
p.datetimeFormats = k.value, p.numberFormats = L.value, p.__datetimeFormatters = X(i) ? i.__datetimeFormatters : void 0, p.__numberFormatters = X(i) ? i.__numberFormatters : void 0;
|
|
1969
|
+
const I = Da(p);
|
|
1970
|
+
return s && dn(I), I;
|
|
1971
1971
|
})(), Qe(i, f.value, d.value);
|
|
1972
1972
|
function P() {
|
|
1973
1973
|
return [
|
|
@@ -1978,12 +1978,12 @@ function er(e = {}) {
|
|
|
1978
1978
|
L.value
|
|
1979
1979
|
];
|
|
1980
1980
|
}
|
|
1981
|
-
const
|
|
1981
|
+
const D = J({
|
|
1982
1982
|
get: () => f.value,
|
|
1983
1983
|
set: (p) => {
|
|
1984
1984
|
f.value = p, i.locale = f.value;
|
|
1985
1985
|
}
|
|
1986
|
-
}),
|
|
1986
|
+
}), Y = J({
|
|
1987
1987
|
get: () => d.value,
|
|
1988
1988
|
set: (p) => {
|
|
1989
1989
|
d.value = p, i.fallbackLocale = d.value, Qe(i, f.value, p);
|
|
@@ -1995,13 +1995,13 @@ function er(e = {}) {
|
|
|
1995
1995
|
function R(p) {
|
|
1996
1996
|
_ = p, i.postTranslation = p;
|
|
1997
1997
|
}
|
|
1998
|
-
function
|
|
1998
|
+
function M() {
|
|
1999
1999
|
return O;
|
|
2000
2000
|
}
|
|
2001
2001
|
function z(p) {
|
|
2002
2002
|
p !== null && (c = Tn(p)), O = p, i.missing = c;
|
|
2003
2003
|
}
|
|
2004
|
-
const U = (p,
|
|
2004
|
+
const U = (p, I, $, re, Pe, at) => {
|
|
2005
2005
|
P();
|
|
2006
2006
|
let xe;
|
|
2007
2007
|
try {
|
|
@@ -2011,8 +2011,8 @@ function er(e = {}) {
|
|
|
2011
2011
|
}
|
|
2012
2012
|
if ($ !== "translate exists" && // for not `te` (e.g `t`)
|
|
2013
2013
|
ce(xe) && xe === ht || $ === "translate exists" && !xe) {
|
|
2014
|
-
const [
|
|
2015
|
-
return t && F ? re(t) : Pe(
|
|
2014
|
+
const [Yn, Wr] = I();
|
|
2015
|
+
return t && F ? re(t) : Pe(Yn);
|
|
2016
2016
|
} else {
|
|
2017
2017
|
if (at(xe))
|
|
2018
2018
|
return xe;
|
|
@@ -2020,22 +2020,22 @@ function er(e = {}) {
|
|
|
2020
2020
|
}
|
|
2021
2021
|
};
|
|
2022
2022
|
function j(...p) {
|
|
2023
|
-
return U((
|
|
2023
|
+
return U((I) => Reflect.apply(In, null, [I, ...p]), () => jt(...p), "translate", (I) => Reflect.apply(I.t, I, [...p]), (I) => I, (I) => A(I));
|
|
2024
2024
|
}
|
|
2025
2025
|
function se(...p) {
|
|
2026
|
-
const [
|
|
2027
|
-
if (re && !
|
|
2026
|
+
const [I, $, re] = p;
|
|
2027
|
+
if (re && !Z(re))
|
|
2028
2028
|
throw nt(Be.INVALID_ARGUMENT);
|
|
2029
|
-
return j(
|
|
2029
|
+
return j(I, $, ue({ resolvedMessage: !0 }, re || {}));
|
|
2030
2030
|
}
|
|
2031
2031
|
function Q(...p) {
|
|
2032
|
-
return U((
|
|
2032
|
+
return U((I) => Reflect.apply(_n, null, [I, ...p]), () => Pt(...p), "datetime format", (I) => Reflect.apply(I.d, I, [...p]), () => un, (I) => A(I));
|
|
2033
2033
|
}
|
|
2034
2034
|
function ge(...p) {
|
|
2035
|
-
return U((
|
|
2035
|
+
return U((I) => Reflect.apply(bn, null, [I, ...p]), () => Ft(...p), "number format", (I) => Reflect.apply(I.n, I, [...p]), () => un, (I) => A(I));
|
|
2036
2036
|
}
|
|
2037
2037
|
function fe(p) {
|
|
2038
|
-
return p.map((
|
|
2038
|
+
return p.map((I) => A(I) || ce(I) || le(I) ? En(String(I)) : I);
|
|
2039
2039
|
}
|
|
2040
2040
|
const q = {
|
|
2041
2041
|
normalize: fe,
|
|
@@ -2043,87 +2043,87 @@ function er(e = {}) {
|
|
|
2043
2043
|
type: "vnode"
|
|
2044
2044
|
};
|
|
2045
2045
|
function ve(...p) {
|
|
2046
|
-
return U((
|
|
2046
|
+
return U((I) => {
|
|
2047
2047
|
let $;
|
|
2048
|
-
const re =
|
|
2048
|
+
const re = I;
|
|
2049
2049
|
try {
|
|
2050
|
-
re.processor = q, $ = Reflect.apply(
|
|
2050
|
+
re.processor = q, $ = Reflect.apply(In, null, [re, ...p]);
|
|
2051
2051
|
} finally {
|
|
2052
2052
|
re.processor = null;
|
|
2053
2053
|
}
|
|
2054
2054
|
return $;
|
|
2055
|
-
}, () => jt(...p), "translate", (
|
|
2055
|
+
}, () => jt(...p), "translate", (I) => I[Vt](...p), (I) => [En(I)], (I) => oe(I));
|
|
2056
2056
|
}
|
|
2057
2057
|
function $e(...p) {
|
|
2058
|
-
return U((
|
|
2058
|
+
return U((I) => Reflect.apply(bn, null, [I, ...p]), () => Ft(...p), "number format", (I) => I[Gt](...p), yn, (I) => A(I) || oe(I));
|
|
2059
2059
|
}
|
|
2060
2060
|
function Je(...p) {
|
|
2061
|
-
return U((
|
|
2061
|
+
return U((I) => Reflect.apply(_n, null, [I, ...p]), () => Pt(...p), "datetime format", (I) => I[Ut](...p), yn, (I) => A(I) || oe(I));
|
|
2062
2062
|
}
|
|
2063
2063
|
function vt(p) {
|
|
2064
2064
|
v = p, i.pluralRules = v;
|
|
2065
2065
|
}
|
|
2066
|
-
function
|
|
2066
|
+
function It(p, I) {
|
|
2067
2067
|
return U(() => {
|
|
2068
2068
|
if (!p)
|
|
2069
2069
|
return !1;
|
|
2070
|
-
const $ = A(
|
|
2070
|
+
const $ = A(I) ? I : f.value, re = Ge($), Pe = i.messageResolver(re, p);
|
|
2071
2071
|
return He(Pe) || he(Pe) || A(Pe);
|
|
2072
|
-
}, () => [p], "translate exists", ($) => Reflect.apply($.te, $, [p,
|
|
2072
|
+
}, () => [p], "translate exists", ($) => Reflect.apply($.te, $, [p, I]), Qa, ($) => le($));
|
|
2073
2073
|
}
|
|
2074
|
-
function
|
|
2075
|
-
let
|
|
2074
|
+
function Et(p) {
|
|
2075
|
+
let I = null;
|
|
2076
2076
|
const $ = An(i, d.value, f.value);
|
|
2077
2077
|
for (let re = 0; re < $.length; re++) {
|
|
2078
2078
|
const Pe = b.value[$[re]] || {}, at = i.messageResolver(Pe, p);
|
|
2079
2079
|
if (at != null) {
|
|
2080
|
-
|
|
2080
|
+
I = at;
|
|
2081
2081
|
break;
|
|
2082
2082
|
}
|
|
2083
2083
|
}
|
|
2084
|
-
return
|
|
2084
|
+
return I;
|
|
2085
2085
|
}
|
|
2086
2086
|
function Ke(p) {
|
|
2087
|
-
const
|
|
2088
|
-
return
|
|
2087
|
+
const I = Et(p);
|
|
2088
|
+
return I ?? (t ? t.tm(p) || {} : {});
|
|
2089
2089
|
}
|
|
2090
2090
|
function Ge(p) {
|
|
2091
2091
|
return b.value[p] || {};
|
|
2092
2092
|
}
|
|
2093
|
-
function We(p,
|
|
2093
|
+
function We(p, I) {
|
|
2094
2094
|
if (l) {
|
|
2095
|
-
const $ = { [p]:
|
|
2095
|
+
const $ = { [p]: I };
|
|
2096
2096
|
for (const re in $)
|
|
2097
|
-
|
|
2098
|
-
|
|
2097
|
+
Ie($, re) && st($[re]);
|
|
2098
|
+
I = $[p];
|
|
2099
2099
|
}
|
|
2100
|
-
b.value[p] =
|
|
2100
|
+
b.value[p] = I, i.messages = b.value;
|
|
2101
2101
|
}
|
|
2102
|
-
function ze(p,
|
|
2102
|
+
function ze(p, I) {
|
|
2103
2103
|
b.value[p] = b.value[p] || {};
|
|
2104
|
-
const $ = { [p]:
|
|
2104
|
+
const $ = { [p]: I };
|
|
2105
2105
|
if (l)
|
|
2106
2106
|
for (const re in $)
|
|
2107
|
-
|
|
2108
|
-
|
|
2107
|
+
Ie($, re) && st($[re]);
|
|
2108
|
+
I = $[p], mt(I, b.value[p]), i.messages = b.value;
|
|
2109
2109
|
}
|
|
2110
2110
|
function Nt(p) {
|
|
2111
2111
|
return k.value[p] || {};
|
|
2112
2112
|
}
|
|
2113
|
-
function r(p,
|
|
2114
|
-
k.value[p] =
|
|
2113
|
+
function r(p, I) {
|
|
2114
|
+
k.value[p] = I, i.datetimeFormats = k.value, pn(i, p, I);
|
|
2115
2115
|
}
|
|
2116
|
-
function o(p,
|
|
2117
|
-
k.value[p] = ue(k.value[p] || {},
|
|
2116
|
+
function o(p, I) {
|
|
2117
|
+
k.value[p] = ue(k.value[p] || {}, I), i.datetimeFormats = k.value, pn(i, p, I);
|
|
2118
2118
|
}
|
|
2119
2119
|
function h(p) {
|
|
2120
2120
|
return L.value[p] || {};
|
|
2121
2121
|
}
|
|
2122
|
-
function w(p,
|
|
2123
|
-
L.value[p] =
|
|
2122
|
+
function w(p, I) {
|
|
2123
|
+
L.value[p] = I, i.numberFormats = L.value, hn(i, p, I);
|
|
2124
2124
|
}
|
|
2125
|
-
function ae(p,
|
|
2126
|
-
L.value[p] = ue(L.value[p] || {},
|
|
2125
|
+
function ae(p, I) {
|
|
2126
|
+
L.value[p] = ue(L.value[p] || {}, I), i.numberFormats = L.value, hn(i, p, I);
|
|
2127
2127
|
}
|
|
2128
2128
|
kn++, t && qt && (St(t.locale, (p) => {
|
|
2129
2129
|
m && (f.value = p, i.locale = p, Qe(i, f.value, d.value));
|
|
@@ -2132,8 +2132,8 @@ function er(e = {}) {
|
|
|
2132
2132
|
}));
|
|
2133
2133
|
const G = {
|
|
2134
2134
|
id: kn,
|
|
2135
|
-
locale:
|
|
2136
|
-
fallbackLocale:
|
|
2135
|
+
locale: D,
|
|
2136
|
+
fallbackLocale: Y,
|
|
2137
2137
|
get inheritLocale() {
|
|
2138
2138
|
return m;
|
|
2139
2139
|
},
|
|
@@ -2195,11 +2195,11 @@ function er(e = {}) {
|
|
|
2195
2195
|
mergeLocaleMessage: ze,
|
|
2196
2196
|
getPostTranslationHandler: C,
|
|
2197
2197
|
setPostTranslationHandler: R,
|
|
2198
|
-
getMissingHandler:
|
|
2198
|
+
getMissingHandler: M,
|
|
2199
2199
|
setMissingHandler: z,
|
|
2200
2200
|
[Ka]: vt
|
|
2201
2201
|
};
|
|
2202
|
-
return G.datetimeFormats = K, G.numberFormats = W, G.rt = se, G.te =
|
|
2202
|
+
return G.datetimeFormats = K, G.numberFormats = W, G.rt = se, G.te = It, G.tm = Ke, G.d = Q, G.n = ge, G.getDateTimeFormat = Nt, G.setDateTimeFormat = r, G.mergeDateTimeFormat = o, G.getNumberFormat = h, G.setNumberFormat = w, G.mergeNumberFormat = ae, G[Gn] = n, G[Vt] = ve, G[Ut] = Je, G[Gt] = $e, G;
|
|
2203
2203
|
}
|
|
2204
2204
|
const Kt = {
|
|
2205
2205
|
tag: {
|
|
@@ -2229,7 +2229,7 @@ function tr({ slots: e }, t) {
|
|
|
2229
2229
|
return l && (n[s] = l()), n;
|
|
2230
2230
|
}, B());
|
|
2231
2231
|
}
|
|
2232
|
-
function
|
|
2232
|
+
function Xn() {
|
|
2233
2233
|
return ye;
|
|
2234
2234
|
}
|
|
2235
2235
|
ue({
|
|
@@ -2245,19 +2245,19 @@ ue({
|
|
|
2245
2245
|
function nr(e) {
|
|
2246
2246
|
return oe(e) && !A(e[0]);
|
|
2247
2247
|
}
|
|
2248
|
-
function
|
|
2248
|
+
function Zn(e, t, n, s) {
|
|
2249
2249
|
const { slots: l, attrs: a } = t;
|
|
2250
2250
|
return () => {
|
|
2251
2251
|
const m = { part: !0 };
|
|
2252
2252
|
let f = B();
|
|
2253
|
-
e.locale && (m.locale = e.locale), A(e.format) ? m.key = e.format :
|
|
2253
|
+
e.locale && (m.locale = e.locale), A(e.format) ? m.key = e.format : Z(e.format) && (A(e.format.key) && (m.key = e.format.key), f = Object.keys(e.format).reduce((N, S) => n.includes(S) ? ue(B(), N, { [S]: e.format[S] }) : N, B()));
|
|
2254
2254
|
const d = s(e.value, m, f);
|
|
2255
2255
|
let b = [m.key];
|
|
2256
2256
|
oe(d) ? b = d.map((N, S) => {
|
|
2257
2257
|
const F = l[N.type], T = F ? F({ [N.type]: N.value, index: S, parts: d }) : [N.value];
|
|
2258
2258
|
return nr(T) && (T[0].key = `${N.type}-${S}`), T;
|
|
2259
2259
|
}) : A(d) && (b = [d]);
|
|
2260
|
-
const k = ue(B(), a), L = A(e.tag) ||
|
|
2260
|
+
const k = ue(B(), a), L = A(e.tag) || Z(e.tag) ? e.tag : Xn();
|
|
2261
2261
|
return Rn(L, k, b);
|
|
2262
2262
|
};
|
|
2263
2263
|
}
|
|
@@ -2335,7 +2335,7 @@ function ir(e, t = !1) {
|
|
|
2335
2335
|
return e == null ? null : t && e.vnode.ctx || e.parent;
|
|
2336
2336
|
}
|
|
2337
2337
|
function cr(e, t, n) {
|
|
2338
|
-
|
|
2338
|
+
Xt(() => {
|
|
2339
2339
|
}, t), On(() => {
|
|
2340
2340
|
const s = n;
|
|
2341
2341
|
e.__deleteInstance(t);
|
|
@@ -2351,7 +2351,7 @@ if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
|
2351
2351
|
const e = je();
|
|
2352
2352
|
e.__INTLIFY__ = !0, ia(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
2353
2353
|
}
|
|
2354
|
-
const it = /* @__PURE__ */
|
|
2354
|
+
const it = /* @__PURE__ */ Ee({
|
|
2355
2355
|
__name: "InheritPermissionTooltip",
|
|
2356
2356
|
props: {
|
|
2357
2357
|
item: {
|
|
@@ -2362,7 +2362,7 @@ const it = /* @__PURE__ */ Ie({
|
|
|
2362
2362
|
setup(e) {
|
|
2363
2363
|
const { t } = gt();
|
|
2364
2364
|
return (n, s) => {
|
|
2365
|
-
const l =
|
|
2365
|
+
const l = Ze("FmIcon"), a = Ze("FmTooltip");
|
|
2366
2366
|
return x(), Se(a, {
|
|
2367
2367
|
variant: "plain",
|
|
2368
2368
|
placement: "right",
|
|
@@ -2391,7 +2391,7 @@ const it = /* @__PURE__ */ Ie({
|
|
|
2391
2391
|
}, dr = {
|
|
2392
2392
|
key: 0,
|
|
2393
2393
|
class: "q-mr-xs text-red col"
|
|
2394
|
-
}, fr = { class: "form-input" }, _r = /* @__PURE__ */
|
|
2394
|
+
}, fr = { class: "form-input" }, _r = /* @__PURE__ */ Ee({
|
|
2395
2395
|
__name: "AppForm",
|
|
2396
2396
|
props: {
|
|
2397
2397
|
title: {
|
|
@@ -2435,7 +2435,7 @@ function pr(e, t) {
|
|
|
2435
2435
|
const br = { class: "col flex items-center" }, hr = {
|
|
2436
2436
|
key: 1,
|
|
2437
2437
|
class: "q-pa-sm form-error-message text-error"
|
|
2438
|
-
}, zt = /* @__PURE__ */
|
|
2438
|
+
}, zt = /* @__PURE__ */ Ee({
|
|
2439
2439
|
__name: "CheckboxInput",
|
|
2440
2440
|
props: {
|
|
2441
2441
|
options: {
|
|
@@ -2512,7 +2512,7 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2512
2512
|
O ? c.every((_) => _ !== T) && c.push(T) : c = c.filter((_) => _ !== T), s("update:model-value", c);
|
|
2513
2513
|
}
|
|
2514
2514
|
return (T, O) => {
|
|
2515
|
-
const c =
|
|
2515
|
+
const c = Ze("FmCheckbox");
|
|
2516
2516
|
return x(), Se(_r, {
|
|
2517
2517
|
id: d,
|
|
2518
2518
|
title: e.title,
|
|
@@ -2587,10 +2587,10 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2587
2587
|
}), gr = { class: "flex flex-col gap-16" }, vr = {
|
|
2588
2588
|
key: 1,
|
|
2589
2589
|
class: "space-y-16"
|
|
2590
|
-
},
|
|
2590
|
+
}, Ir = { class: "flex items-end justify-between" }, Er = { class: "fm-typo-en-title-sm-600" }, Nr = { class: "flex" }, yr = { class: "form-input" }, kr = { class: "flex items-center justify-between q-mb-xs" }, Tr = { class: "flex items-center justify-between gap-4" }, Lr = { class: "flex items-center min-w-0 flex-1" }, Or = ["title", "onClick"], Rr = {
|
|
2591
2591
|
key: 0,
|
|
2592
2592
|
class: "flex shrink-0"
|
|
2593
|
-
}, Cr = /* @__PURE__ */
|
|
2593
|
+
}, Cr = /* @__PURE__ */ Ee({
|
|
2594
2594
|
__name: "BasePermission",
|
|
2595
2595
|
props: {
|
|
2596
2596
|
modelValue: {
|
|
@@ -2612,40 +2612,40 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2612
2612
|
},
|
|
2613
2613
|
emits: ["update:model-value"],
|
|
2614
2614
|
setup(e, { emit: t }) {
|
|
2615
|
-
const { getFlagValue: n } = is(), s = e, l = J(() => [...
|
|
2615
|
+
const { getFlagValue: n } = is(), s = e, l = J(() => [...Dt, ...s.additionalPermissions]), a = t, m = Object.values(ls), f = J(() => {
|
|
2616
2616
|
const u = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map();
|
|
2617
2617
|
for (const i of l.value) {
|
|
2618
|
-
const
|
|
2619
|
-
|
|
2618
|
+
const E = i.category;
|
|
2619
|
+
E && (s.excludedSubjects.includes(i.subject) || i.showByFeatureFlag && n(i.showByFeatureFlag) === "false" || (u.has(E) || u.set(E, []), u.get(E).push({ label: i.label, value: i.subject }), g.set(i.subject, i)));
|
|
2620
2620
|
}
|
|
2621
|
-
return [...u.keys()].sort((i,
|
|
2622
|
-
const P = m.indexOf(i),
|
|
2623
|
-
return P === -1 &&
|
|
2621
|
+
return [...u.keys()].sort((i, E) => {
|
|
2622
|
+
const P = m.indexOf(i), D = m.indexOf(E);
|
|
2623
|
+
return P === -1 && D === -1 ? i.localeCompare(E) : P === -1 ? 1 : D === -1 ? -1 : P - D;
|
|
2624
2624
|
}).map((i) => {
|
|
2625
|
-
const
|
|
2626
|
-
for (const W of
|
|
2625
|
+
const E = u.get(i), P = /* @__PURE__ */ new Map();
|
|
2626
|
+
for (const W of E) {
|
|
2627
2627
|
const C = g.get(W.value);
|
|
2628
2628
|
C && P.set(W.value, C.actions);
|
|
2629
2629
|
}
|
|
2630
|
-
const
|
|
2630
|
+
const D = E.some((W) => {
|
|
2631
2631
|
const C = P.get(W.value);
|
|
2632
2632
|
return C && C.length > 1;
|
|
2633
|
-
}),
|
|
2633
|
+
}), Y = D ? [
|
|
2634
2634
|
...new Set(
|
|
2635
|
-
|
|
2635
|
+
E.flatMap((W) => P.get(W.value) ?? []).filter((W) => W !== "manage")
|
|
2636
2636
|
)
|
|
2637
2637
|
] : [], V = /* @__PURE__ */ new Map();
|
|
2638
2638
|
for (const W of s.modelValue)
|
|
2639
|
-
|
|
2640
|
-
const K =
|
|
2641
|
-
(W) =>
|
|
2642
|
-
).map((W) => W.subject) : s.modelValue.filter((W) =>
|
|
2639
|
+
E.some((C) => C.value === W.subject) && !W.inverted && V.set(W.subject, new Set(W.actions));
|
|
2640
|
+
const K = D ? s.modelValue.filter(
|
|
2641
|
+
(W) => E.some((C) => C.value === W.subject) && !W.inverted && W.actions.includes("manage")
|
|
2642
|
+
).map((W) => W.subject) : s.modelValue.filter((W) => E.some((C) => C.value === W.subject) && !W.inverted).map((W) => W.subject);
|
|
2643
2643
|
return {
|
|
2644
2644
|
category: i,
|
|
2645
|
-
options:
|
|
2645
|
+
options: E,
|
|
2646
2646
|
selectedSubjects: K,
|
|
2647
|
-
isMultiAction:
|
|
2648
|
-
actionColumns:
|
|
2647
|
+
isMultiAction: D,
|
|
2648
|
+
actionColumns: Y,
|
|
2649
2649
|
permissionActionsMap: P,
|
|
2650
2650
|
selectedActionsMap: V
|
|
2651
2651
|
};
|
|
@@ -2653,10 +2653,10 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2653
2653
|
});
|
|
2654
2654
|
function d(u, g) {
|
|
2655
2655
|
var i;
|
|
2656
|
-
const v = ((i = f.value.find((
|
|
2656
|
+
const v = ((i = f.value.find((E) => E.category === u)) == null ? void 0 : i.options) ?? [];
|
|
2657
2657
|
a("update:model-value", [
|
|
2658
|
-
...s.modelValue.filter((
|
|
2659
|
-
...l.value.filter((
|
|
2658
|
+
...s.modelValue.filter((E) => !v.some((P) => P.value === E.subject)),
|
|
2659
|
+
...l.value.filter((E) => g.includes(E.subject)).map(({ category: E, showByFeatureFlag: P, ...D }) => D)
|
|
2660
2660
|
]);
|
|
2661
2661
|
}
|
|
2662
2662
|
function b(u) {
|
|
@@ -2669,7 +2669,7 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2669
2669
|
if (b(u))
|
|
2670
2670
|
a("update:model-value", g);
|
|
2671
2671
|
else {
|
|
2672
|
-
const v = l.value.filter((i) => u.options.some((
|
|
2672
|
+
const v = l.value.filter((i) => u.options.some((E) => E.value === i.subject)).map(({ category: i, showByFeatureFlag: E, ...P }) => P);
|
|
2673
2673
|
a("update:model-value", [...g, ...v]);
|
|
2674
2674
|
}
|
|
2675
2675
|
}
|
|
@@ -2680,19 +2680,19 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2680
2680
|
function N(u, g) {
|
|
2681
2681
|
const v = u.permissionActionsMap.get(g);
|
|
2682
2682
|
if (!v) return !1;
|
|
2683
|
-
const i = v.filter((
|
|
2683
|
+
const i = v.filter((D) => D !== "manage");
|
|
2684
2684
|
if (i.length === 0) return !1;
|
|
2685
|
-
const
|
|
2686
|
-
if (!
|
|
2687
|
-
const P = i.filter((
|
|
2685
|
+
const E = u.selectedActionsMap.get(g);
|
|
2686
|
+
if (!E) return !1;
|
|
2687
|
+
const P = i.filter((D) => E.has(D));
|
|
2688
2688
|
return P.length > 0 && P.length < i.length;
|
|
2689
2689
|
}
|
|
2690
2690
|
function S(u, g, v) {
|
|
2691
2691
|
if (v) {
|
|
2692
2692
|
const i = l.value.find((V) => V.subject === g);
|
|
2693
2693
|
if (!i) return;
|
|
2694
|
-
const { category:
|
|
2695
|
-
|
|
2694
|
+
const { category: E, showByFeatureFlag: P, ...D } = i, Y = s.modelValue.filter((V) => V.subject !== g);
|
|
2695
|
+
Y.push(D), a("update:model-value", Y);
|
|
2696
2696
|
} else
|
|
2697
2697
|
a(
|
|
2698
2698
|
"update:model-value",
|
|
@@ -2712,28 +2712,28 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2712
2712
|
return i ? i.includes(v) : !1;
|
|
2713
2713
|
}
|
|
2714
2714
|
function c(u, g, v) {
|
|
2715
|
-
const i = [...s.modelValue],
|
|
2715
|
+
const i = [...s.modelValue], E = i.findIndex((D) => D.subject === u && !D.inverted);
|
|
2716
2716
|
if (v)
|
|
2717
|
-
if (
|
|
2718
|
-
const
|
|
2719
|
-
|
|
2717
|
+
if (E >= 0) {
|
|
2718
|
+
const D = { ...i[E] }, Y = new Set(D.actions);
|
|
2719
|
+
Y.add(g), D.actions = Array.from(Y), i[E] = D;
|
|
2720
2720
|
} else {
|
|
2721
|
-
const
|
|
2722
|
-
if (!
|
|
2723
|
-
const { category:
|
|
2721
|
+
const D = l.value.find((W) => W.subject === u);
|
|
2722
|
+
if (!D) return;
|
|
2723
|
+
const { category: Y, showByFeatureFlag: V, ...K } = D;
|
|
2724
2724
|
i.push({ ...K, actions: [g] });
|
|
2725
2725
|
}
|
|
2726
|
-
else if (
|
|
2727
|
-
const
|
|
2728
|
-
|
|
2726
|
+
else if (E >= 0) {
|
|
2727
|
+
const D = { ...i[E] }, Y = D.actions.filter((V) => V !== g);
|
|
2728
|
+
Y.length === 0 ? i.splice(E, 1) : (D.actions = Y, i[E] = D);
|
|
2729
2729
|
}
|
|
2730
|
-
const P = l.value.find((
|
|
2730
|
+
const P = l.value.find((D) => D.subject === u);
|
|
2731
2731
|
if (P) {
|
|
2732
|
-
const
|
|
2733
|
-
if (
|
|
2732
|
+
const Y = P.actions.filter((V) => V !== "manage");
|
|
2733
|
+
if (Y.length > 0) {
|
|
2734
2734
|
const V = i.findIndex((K) => K.subject === u && !K.inverted);
|
|
2735
2735
|
if (V >= 0) {
|
|
2736
|
-
const K = new Set(i[V].actions), W =
|
|
2736
|
+
const K = new Set(i[V].actions), W = Y.every((C) => K.has(C));
|
|
2737
2737
|
W && !K.has("manage") ? (K.add("manage"), i[V] = {
|
|
2738
2738
|
...i[V],
|
|
2739
2739
|
actions: Array.from(K)
|
|
@@ -2754,19 +2754,19 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2754
2754
|
return _[u] ?? u.charAt(0).toUpperCase() + u.slice(1);
|
|
2755
2755
|
}
|
|
2756
2756
|
return (u, g) => {
|
|
2757
|
-
const v =
|
|
2757
|
+
const v = Ze("FmCheckbox");
|
|
2758
2758
|
return x(), ee("div", gr, [
|
|
2759
2759
|
(x(!0), ee(ye, null, _e(f.value, (i) => (x(), ee(ye, {
|
|
2760
2760
|
key: i.category
|
|
2761
2761
|
}, [
|
|
2762
2762
|
i.isMultiAction ? (x(), ee("div", vr, [
|
|
2763
|
-
te("div",
|
|
2764
|
-
te("div",
|
|
2763
|
+
te("div", Ir, [
|
|
2764
|
+
te("div", Er, Ae(i.category), 1),
|
|
2765
2765
|
te("div", Nr, [
|
|
2766
|
-
(x(!0), ee(ye, null, _e(i.actionColumns, (
|
|
2767
|
-
key:
|
|
2766
|
+
(x(!0), ee(ye, null, _e(i.actionColumns, (E) => (x(), ee("span", {
|
|
2767
|
+
key: E,
|
|
2768
2768
|
class: "w-[56px] text-center fm-typo-en-body-sm-400 text-fm-color-neutral-gray-600"
|
|
2769
|
-
}, Ae(y(
|
|
2769
|
+
}, Ae(y(E)), 1))), 128))
|
|
2770
2770
|
])
|
|
2771
2771
|
]),
|
|
2772
2772
|
te("div", yr, [
|
|
@@ -2778,43 +2778,43 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2778
2778
|
label: "All",
|
|
2779
2779
|
size: "sm",
|
|
2780
2780
|
dense: "",
|
|
2781
|
-
"onUpdate:modelValue": (
|
|
2781
|
+
"onUpdate:modelValue": (E) => k(i)
|
|
2782
2782
|
}, null, 8, ["model-value", "disabled", "onUpdate:modelValue"])
|
|
2783
2783
|
]),
|
|
2784
|
-
(x(!0), ee(ye, null, _e(i.options, (
|
|
2785
|
-
key:
|
|
2784
|
+
(x(!0), ee(ye, null, _e(i.options, (E, P) => (x(), ee("div", {
|
|
2785
|
+
key: E.value,
|
|
2786
2786
|
class: qe(P < i.options.length - 1 ? "q-mb-xs" : "")
|
|
2787
2787
|
}, [
|
|
2788
2788
|
te("div", Tr, [
|
|
2789
2789
|
te("div", Lr, [
|
|
2790
2790
|
de(v, {
|
|
2791
|
-
"model-value": L(i,
|
|
2792
|
-
value:
|
|
2791
|
+
"model-value": L(i, E.value),
|
|
2792
|
+
value: E.value,
|
|
2793
2793
|
disabled: e.disable,
|
|
2794
|
-
indeterminate: N(i,
|
|
2794
|
+
indeterminate: N(i, E.value),
|
|
2795
2795
|
size: "sm",
|
|
2796
2796
|
class: "shrink-0",
|
|
2797
|
-
"onUpdate:modelValue": (
|
|
2797
|
+
"onUpdate:modelValue": (D) => S(i, E.value, D)
|
|
2798
2798
|
}, null, 8, ["model-value", "value", "disabled", "indeterminate", "onUpdate:modelValue"]),
|
|
2799
2799
|
te("span", {
|
|
2800
2800
|
class: "block truncate cursor-pointer",
|
|
2801
|
-
title:
|
|
2802
|
-
onClick: (
|
|
2803
|
-
}, Ae(
|
|
2804
|
-
be(u.$slots, `checkbox-${
|
|
2801
|
+
title: E.label,
|
|
2802
|
+
onClick: (D) => !e.disable && S(i, E.value, !L(i, E.value))
|
|
2803
|
+
}, Ae(E.label), 9, Or),
|
|
2804
|
+
be(u.$slots, `checkbox-${E.value}-append`, { option: E })
|
|
2805
2805
|
]),
|
|
2806
|
-
F(i,
|
|
2807
|
-
(x(!0), ee(ye, null, _e(i.actionColumns, (
|
|
2808
|
-
key:
|
|
2806
|
+
F(i, E.value) ? (x(), ee("div", Rr, [
|
|
2807
|
+
(x(!0), ee(ye, null, _e(i.actionColumns, (D) => (x(), ee("div", {
|
|
2808
|
+
key: D,
|
|
2809
2809
|
class: "w-[56px] flex justify-center"
|
|
2810
2810
|
}, [
|
|
2811
|
-
O(i,
|
|
2811
|
+
O(i, E.value, D) ? (x(), Se(v, {
|
|
2812
2812
|
key: 0,
|
|
2813
|
-
"model-value": T(i,
|
|
2814
|
-
value:
|
|
2813
|
+
"model-value": T(i, E.value, D),
|
|
2814
|
+
value: D,
|
|
2815
2815
|
disabled: e.disable,
|
|
2816
2816
|
size: "sm",
|
|
2817
|
-
"onUpdate:modelValue": (
|
|
2817
|
+
"onUpdate:modelValue": (Y) => c(E.value, D, Y)
|
|
2818
2818
|
}, null, 8, ["model-value", "value", "disabled", "onUpdate:modelValue"])) : Le("", !0)
|
|
2819
2819
|
]))), 128))
|
|
2820
2820
|
])) : Le("", !0)
|
|
@@ -2827,12 +2827,12 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2827
2827
|
options: i.options,
|
|
2828
2828
|
disable: e.disable,
|
|
2829
2829
|
title: i.category,
|
|
2830
|
-
"onUpdate:modelValue": (
|
|
2830
|
+
"onUpdate:modelValue": (E) => d(i.category, E)
|
|
2831
2831
|
}, Fe({ _: 2 }, [
|
|
2832
|
-
_e(i.options, (
|
|
2833
|
-
name: `checkbox-${
|
|
2832
|
+
_e(i.options, (E) => ({
|
|
2833
|
+
name: `checkbox-${E.value}-append`,
|
|
2834
2834
|
fn: pe(({ option: P }) => [
|
|
2835
|
-
be(u.$slots, `checkbox-${
|
|
2835
|
+
be(u.$slots, `checkbox-${E.value}-append`, { option: P })
|
|
2836
2836
|
])
|
|
2837
2837
|
}))
|
|
2838
2838
|
]), 1032, ["model-value", "options", "disable", "title", "onUpdate:modelValue"]))
|
|
@@ -2840,7 +2840,7 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2840
2840
|
]);
|
|
2841
2841
|
};
|
|
2842
2842
|
}
|
|
2843
|
-
}), Ar = { class: "flex items-center" }, Sr = { class: "ml-auto" },
|
|
2843
|
+
}), Ar = { class: "flex items-center" }, Sr = { class: "ml-auto" }, Dr = /* @__PURE__ */ Ee({
|
|
2844
2844
|
__name: "CollapsibleWrapper",
|
|
2845
2845
|
props: {
|
|
2846
2846
|
title: { default: "" },
|
|
@@ -2855,14 +2855,14 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2855
2855
|
function f() {
|
|
2856
2856
|
s.value && (l.value = s.value.scrollHeight);
|
|
2857
2857
|
}
|
|
2858
|
-
return
|
|
2858
|
+
return Xt(async () => {
|
|
2859
2859
|
await zn(), s.value && (a = new ResizeObserver(() => {
|
|
2860
2860
|
f();
|
|
2861
2861
|
}), a.observe(s.value));
|
|
2862
2862
|
}), On(() => {
|
|
2863
2863
|
a == null || a.disconnect();
|
|
2864
2864
|
}), (d, b) => {
|
|
2865
|
-
const k =
|
|
2865
|
+
const k = Ze("FmButton");
|
|
2866
2866
|
return x(), ee(ye, null, [
|
|
2867
2867
|
te("div", { onClick: m }, [
|
|
2868
2868
|
te("div", Ar, [
|
|
@@ -2888,7 +2888,7 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2888
2888
|
], 64);
|
|
2889
2889
|
};
|
|
2890
2890
|
}
|
|
2891
|
-
}),
|
|
2891
|
+
}), Mr = { class: "fm-typo-en-title-sm-600" }, Ct = "includedFuture", Ln = /* @__PURE__ */ Ee({
|
|
2892
2892
|
__name: "ConditionPermission",
|
|
2893
2893
|
props: {
|
|
2894
2894
|
modelValue: {
|
|
@@ -2927,10 +2927,10 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2927
2927
|
}
|
|
2928
2928
|
const d = Ve("");
|
|
2929
2929
|
return (b, k) => {
|
|
2930
|
-
const L =
|
|
2931
|
-
return x(), Se(
|
|
2930
|
+
const L = Ze("fm-search");
|
|
2931
|
+
return x(), Se(Dr, null, {
|
|
2932
2932
|
title: pe(() => [
|
|
2933
|
-
te("p",
|
|
2933
|
+
te("p", Mr, Ae(ke(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
2934
2934
|
]),
|
|
2935
2935
|
default: pe(() => [
|
|
2936
2936
|
e.options.length > 1 ? (x(), Se(L, {
|
|
@@ -2963,7 +2963,7 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2963
2963
|
});
|
|
2964
2964
|
};
|
|
2965
2965
|
}
|
|
2966
|
-
}), At = "includedNewRole", wr = /* @__PURE__ */
|
|
2966
|
+
}), At = "includedNewRole", wr = /* @__PURE__ */ Ee({
|
|
2967
2967
|
__name: "PosRolePermission",
|
|
2968
2968
|
props: {
|
|
2969
2969
|
modelValue: {
|
|
@@ -3025,7 +3025,7 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
3025
3025
|
async readWarehouses() {
|
|
3026
3026
|
return es(await ts().get("/warehouses"));
|
|
3027
3027
|
}
|
|
3028
|
-
}, Fr = { class: "flex flex-col gap-32" }, jr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Vr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Ur = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Gr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Jr = /* @__PURE__ */
|
|
3028
|
+
}, Fr = { class: "flex flex-col gap-32" }, jr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Vr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Ur = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Gr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Jr = /* @__PURE__ */ Ee({
|
|
3029
3029
|
__name: "PortalPermissionEditor",
|
|
3030
3030
|
props: /* @__PURE__ */ Qt({
|
|
3031
3031
|
disable: {
|
|
@@ -3044,24 +3044,24 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
3044
3044
|
setup(e, { emit: t }) {
|
|
3045
3045
|
const n = Qn(e, "modelValue"), s = e, l = t, { t: a } = _t(), { fetchCustomReportPermissions: m, customReportPermissions: f } = ns();
|
|
3046
3046
|
function d(C) {
|
|
3047
|
-
return
|
|
3047
|
+
return Dt.find((R) => R.subject === C) ?? f.value.find((R) => R.subject === C);
|
|
3048
3048
|
}
|
|
3049
3049
|
const b = J(() => {
|
|
3050
|
-
const C =
|
|
3050
|
+
const C = Dt.filter((M) => !S.includes(M.subject)).map((M) => M.subject);
|
|
3051
3051
|
return ss(
|
|
3052
|
-
s.inheritPermissions.map((
|
|
3053
|
-
...
|
|
3054
|
-
permissions:
|
|
3052
|
+
s.inheritPermissions.map((M) => ({
|
|
3053
|
+
...M,
|
|
3054
|
+
permissions: M.permissions.filter((z) => C.includes(z.subject))
|
|
3055
3055
|
}))
|
|
3056
|
-
).map((
|
|
3057
|
-
id:
|
|
3058
|
-
setNames:
|
|
3056
|
+
).map((M) => ({
|
|
3057
|
+
id: M.subject,
|
|
3058
|
+
setNames: M.setNames
|
|
3059
3059
|
}));
|
|
3060
3060
|
}), k = J(() => {
|
|
3061
3061
|
const C = s.inheritPermissions.map((R) => ({
|
|
3062
3062
|
...R,
|
|
3063
3063
|
permissions: R.permissions.filter(
|
|
3064
|
-
(
|
|
3064
|
+
(M) => M.subject === ie.Subject.Business.inventory_stock
|
|
3065
3065
|
)
|
|
3066
3066
|
}));
|
|
3067
3067
|
return yt(
|
|
@@ -3073,7 +3073,7 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
3073
3073
|
const C = s.inheritPermissions.map((R) => ({
|
|
3074
3074
|
...R,
|
|
3075
3075
|
permissions: R.permissions.filter(
|
|
3076
|
-
(
|
|
3076
|
+
(M) => M.subject === ie.Subject.Restaurant.restaurant
|
|
3077
3077
|
)
|
|
3078
3078
|
}));
|
|
3079
3079
|
return yt(
|
|
@@ -3084,7 +3084,7 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
3084
3084
|
}), N = J(() => {
|
|
3085
3085
|
const C = s.inheritPermissions.map((R) => ({
|
|
3086
3086
|
...R,
|
|
3087
|
-
permissions: R.permissions.filter((
|
|
3087
|
+
permissions: R.permissions.filter((M) => M.subject === ie.Subject.Business.role)
|
|
3088
3088
|
}));
|
|
3089
3089
|
return yt(
|
|
3090
3090
|
C,
|
|
@@ -3099,7 +3099,7 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
3099
3099
|
], F = J(() => {
|
|
3100
3100
|
var R;
|
|
3101
3101
|
const C = (R = n.value) == null ? void 0 : R.find(
|
|
3102
|
-
(
|
|
3102
|
+
(M) => M.subject === ie.Subject.Business.inventory_stock
|
|
3103
3103
|
);
|
|
3104
3104
|
return C ? C.conditions ? JSON.parse(C.conditions).warehouseId.$in : null : [];
|
|
3105
3105
|
}), T = Ve([]), O = J(() => T.value.map((C) => ({
|
|
@@ -3111,7 +3111,7 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
3111
3111
|
n.value = R;
|
|
3112
3112
|
}
|
|
3113
3113
|
function _(C, R) {
|
|
3114
|
-
let
|
|
3114
|
+
let M = ut(
|
|
3115
3115
|
C.filter((z) => z.subject !== ie.Subject.Business.inventory_stock)
|
|
3116
3116
|
);
|
|
3117
3117
|
if (!R || R.length > 0) {
|
|
@@ -3119,22 +3119,22 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
3119
3119
|
actions: [ie.Action.manage],
|
|
3120
3120
|
subject: ie.Subject.Business.inventory_stock
|
|
3121
3121
|
};
|
|
3122
|
-
R && (z.conditions = JSON.stringify({ warehouseId: { $in: R } })),
|
|
3122
|
+
R && (z.conditions = JSON.stringify({ warehouseId: { $in: R } })), M.push(z);
|
|
3123
3123
|
}
|
|
3124
|
-
return
|
|
3124
|
+
return M;
|
|
3125
3125
|
}
|
|
3126
3126
|
const { restaurants: y } = qn(), u = cs().roles, g = J(() => y.value.map((C) => ({
|
|
3127
3127
|
label: `${C.profile.code ? C.profile.code + "-" : ""}${C.profile.name}`,
|
|
3128
3128
|
value: C._id
|
|
3129
|
-
}))), v = J(() => y.value.reduce((C, R) => (C[R._id] = u.value.filter((
|
|
3130
|
-
function
|
|
3131
|
-
const R =
|
|
3129
|
+
}))), v = J(() => y.value.reduce((C, R) => (C[R._id] = u.value.filter((M) => M.restaurants.some((z) => z.id === R._id)).map((M) => M._id), C), {})), i = J(() => as(n.value));
|
|
3130
|
+
function E(C) {
|
|
3131
|
+
const R = D(n.value, C);
|
|
3132
3132
|
n.value = R;
|
|
3133
3133
|
}
|
|
3134
3134
|
const P = J(() => rs(n.value));
|
|
3135
|
-
function
|
|
3135
|
+
function D(C, R) {
|
|
3136
3136
|
var z;
|
|
3137
|
-
let
|
|
3137
|
+
let M = ut(
|
|
3138
3138
|
C.filter(
|
|
3139
3139
|
(U) => U.subject !== ie.Subject.Business.restaurant && U.subject !== ie.Subject.Restaurant.restaurant
|
|
3140
3140
|
)
|
|
@@ -3145,30 +3145,30 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
3145
3145
|
showByFeatureFlag: j,
|
|
3146
3146
|
...se
|
|
3147
3147
|
} = os.restaurant;
|
|
3148
|
-
|
|
3148
|
+
M.push(se);
|
|
3149
3149
|
const Q = {
|
|
3150
3150
|
actions: [ie.Action.manage],
|
|
3151
3151
|
subject: ie.Subject.Restaurant.restaurant
|
|
3152
3152
|
};
|
|
3153
|
-
R && (Q.conditions = JSON.stringify({ restaurantId: { $in: R } })),
|
|
3153
|
+
R && (Q.conditions = JSON.stringify({ restaurantId: { $in: R } })), M.push(Q);
|
|
3154
3154
|
}
|
|
3155
3155
|
if (R) {
|
|
3156
3156
|
const U = [
|
|
3157
3157
|
...new Set(R.map((se) => v.value[se]).flatMap((se) => se))
|
|
3158
3158
|
], j = u.value.map((se) => se._id);
|
|
3159
|
-
U.length !== j.length && (
|
|
3160
|
-
|
|
3159
|
+
U.length !== j.length && (M = V(
|
|
3160
|
+
M,
|
|
3161
3161
|
(z = P.value || j) == null ? void 0 : z.filter((se) => U.includes(se))
|
|
3162
3162
|
));
|
|
3163
3163
|
}
|
|
3164
|
-
return
|
|
3164
|
+
return M;
|
|
3165
3165
|
}
|
|
3166
|
-
function
|
|
3166
|
+
function Y(C) {
|
|
3167
3167
|
const R = V(n.value, C);
|
|
3168
3168
|
n.value = R;
|
|
3169
3169
|
}
|
|
3170
3170
|
function V(C, R) {
|
|
3171
|
-
let
|
|
3171
|
+
let M = ut(
|
|
3172
3172
|
C.filter((z) => z.subject !== ie.Subject.Business.role)
|
|
3173
3173
|
);
|
|
3174
3174
|
if (R && R.length > 0) {
|
|
@@ -3177,11 +3177,11 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
3177
3177
|
subject: ie.Subject.Business.role,
|
|
3178
3178
|
conditions: JSON.stringify({ roleId: { $in: R } })
|
|
3179
3179
|
};
|
|
3180
|
-
|
|
3180
|
+
M.push(z);
|
|
3181
3181
|
}
|
|
3182
|
-
return
|
|
3182
|
+
return M;
|
|
3183
3183
|
}
|
|
3184
|
-
|
|
3184
|
+
Xt(async () => {
|
|
3185
3185
|
await Promise.all([
|
|
3186
3186
|
Pr.readWarehouses().then((C) => T.value = C),
|
|
3187
3187
|
m()
|
|
@@ -3192,28 +3192,28 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
3192
3192
|
Tt
|
|
3193
3193
|
).map((R) => {
|
|
3194
3194
|
if (R.inverted) return R;
|
|
3195
|
-
const
|
|
3196
|
-
if (!
|
|
3195
|
+
const M = R.actions;
|
|
3196
|
+
if (!M.includes("manage")) return R;
|
|
3197
3197
|
const z = d(R.subject);
|
|
3198
3198
|
if (!z) return R;
|
|
3199
3199
|
const U = z.actions;
|
|
3200
|
-
return U.length <= 1 || U.filter((se) => !
|
|
3200
|
+
return U.length <= 1 || U.filter((se) => !M.includes(se)).length === 0 ? R : { ...R, actions: [...U] };
|
|
3201
3201
|
}));
|
|
3202
3202
|
function W(C) {
|
|
3203
3203
|
const R = new Set(
|
|
3204
3204
|
K.value.filter((j) => !j.inverted).map((j) => j.subject)
|
|
3205
|
-
),
|
|
3205
|
+
), M = new Set(
|
|
3206
3206
|
C.filter((j) => !j.inverted).map((j) => j.subject)
|
|
3207
3207
|
), z = new Set(
|
|
3208
3208
|
n.value.filter((j) => !j.inverted).map((j) => j.subject)
|
|
3209
3209
|
);
|
|
3210
3210
|
let U = [...n.value];
|
|
3211
3211
|
for (const j of R)
|
|
3212
|
-
|
|
3212
|
+
M.has(j) || (z.has(j) && (U = U.filter((Q) => Q.subject !== j)), (!z.has(j) || kt(
|
|
3213
3213
|
U,
|
|
3214
3214
|
Tt
|
|
3215
3215
|
).some((Q) => Q.subject === j && !Q.inverted)) && !U.some((Q) => Q.subject === j && Q.inverted) && U.push({ subject: j, actions: ["manage"], inverted: !0 }));
|
|
3216
|
-
for (const j of
|
|
3216
|
+
for (const j of M)
|
|
3217
3217
|
if (!R.has(j)) {
|
|
3218
3218
|
const se = U.some((Q) => Q.subject === j && Q.inverted);
|
|
3219
3219
|
if (U = U.filter((Q) => !(Q.subject === j && Q.inverted)), !se && !z.has(j)) {
|
|
@@ -3226,7 +3226,7 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
3226
3226
|
}
|
|
3227
3227
|
}
|
|
3228
3228
|
}
|
|
3229
|
-
for (const j of
|
|
3229
|
+
for (const j of M) {
|
|
3230
3230
|
if (!R.has(j)) continue;
|
|
3231
3231
|
const se = K.value.find(
|
|
3232
3232
|
(q) => q.subject === j && !q.inverted
|
|
@@ -3271,10 +3271,10 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
3271
3271
|
"additional-permissions": ke(f),
|
|
3272
3272
|
"onUpdate:modelValue": W
|
|
3273
3273
|
}, Fe({ _: 2 }, [
|
|
3274
|
-
_e(b.value, (
|
|
3275
|
-
name: `checkbox-${
|
|
3274
|
+
_e(b.value, (M) => ({
|
|
3275
|
+
name: `checkbox-${M.id}-append`,
|
|
3276
3276
|
fn: pe(() => [
|
|
3277
|
-
de(it, { item:
|
|
3277
|
+
de(it, { item: M }, null, 8, ["item"])
|
|
3278
3278
|
])
|
|
3279
3279
|
}))
|
|
3280
3280
|
]), 1032, ["model-value", "additional-permissions"])
|
|
@@ -3286,10 +3286,10 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
3286
3286
|
context: ke(a)("team.labels.warehouse"),
|
|
3287
3287
|
"onUpdate:modelValue": c
|
|
3288
3288
|
}, Fe({ _: 2 }, [
|
|
3289
|
-
_e(k.value, (
|
|
3290
|
-
name: `checkbox-${
|
|
3289
|
+
_e(k.value, (M) => ({
|
|
3290
|
+
name: `checkbox-${M.id}-append`,
|
|
3291
3291
|
fn: pe(() => [
|
|
3292
|
-
de(it, { item:
|
|
3292
|
+
de(it, { item: M }, null, 8, ["item"])
|
|
3293
3293
|
])
|
|
3294
3294
|
}))
|
|
3295
3295
|
]), 1032, ["model-value", "options", "context"])
|
|
@@ -3299,12 +3299,12 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
3299
3299
|
"model-value": i.value,
|
|
3300
3300
|
options: g.value,
|
|
3301
3301
|
context: ke(a)("team.labels.restaurant"),
|
|
3302
|
-
"onUpdate:modelValue":
|
|
3302
|
+
"onUpdate:modelValue": E
|
|
3303
3303
|
}, Fe({ _: 2 }, [
|
|
3304
|
-
_e(L.value, (
|
|
3305
|
-
name: `checkbox-${
|
|
3304
|
+
_e(L.value, (M) => ({
|
|
3305
|
+
name: `checkbox-${M.id}-append`,
|
|
3306
3306
|
fn: pe(() => [
|
|
3307
|
-
de(it, { item:
|
|
3307
|
+
de(it, { item: M }, null, 8, ["item"])
|
|
3308
3308
|
])
|
|
3309
3309
|
}))
|
|
3310
3310
|
]), 1032, ["model-value", "options", "context"])
|
|
@@ -3314,12 +3314,12 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
3314
3314
|
roles: ke(u),
|
|
3315
3315
|
"model-value": P.value,
|
|
3316
3316
|
"restaurant-ids": i.value,
|
|
3317
|
-
"onUpdate:modelValue":
|
|
3317
|
+
"onUpdate:modelValue": Y
|
|
3318
3318
|
}, Fe({ _: 2 }, [
|
|
3319
|
-
_e(N.value, (
|
|
3320
|
-
name: `checkbox-${
|
|
3319
|
+
_e(N.value, (M) => ({
|
|
3320
|
+
name: `checkbox-${M.id}-append`,
|
|
3321
3321
|
fn: pe(() => [
|
|
3322
|
-
de(it, { item:
|
|
3322
|
+
de(it, { item: M }, null, 8, ["item"])
|
|
3323
3323
|
])
|
|
3324
3324
|
}))
|
|
3325
3325
|
]), 1032, ["roles", "model-value", "restaurant-ids"])
|