@feedmepos/mf-hrm-portal 2.0.8-dev.6 → 2.0.8-dev.8
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-Bi--djNo.js → AuditLogList-DoCimVF7.js} +5 -5
- package/dist/{EmployeeList-DQ34Em1k.js → EmployeeList-DhpiRZAi.js} +5 -5
- package/dist/{Main-B6ILrjGv.js → Main-B8xakn-h.js} +6 -6
- package/dist/{Main-HFWa8_uW.js → Main-COyMEtDs.js} +4 -4
- package/dist/{Main-CL5HSLrz.js → Main-CwDBQpew.js} +9 -9
- package/dist/{PermissionSetList-Ci09rB-p.js → PermissionSetList-cV0_Cm_t.js} +5 -5
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Cmhe2tvI.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DvupBwzc.js} +324 -324
- package/dist/{RoleList-B_zQKYCH.js → RoleList-OOYlDtop.js} +7 -7
- package/dist/{TeamMemberList-DFCtu_c7.js → TeamMemberList-Cm2ywhpr.js} +8 -8
- package/dist/{TimesheetList-DHaqTrL0.js → TimesheetList-Do1TJK4R.js} +7 -7
- package/dist/{app-2XxqgDvK.js → app-Dz-5CT0i.js} +4 -4
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-Asc6YM-u.js → dayjs.min-SvmBPvPt.js} +1 -1
- package/dist/{employee-CmfuGEin.js → employee-G3UmFV_Y.js} +4 -4
- package/dist/{index-3FnU8yA-.js → index-BG9JXTDx.js} +2 -2
- package/dist/{index-DQ49uyb8.js → index-CyvkdrUd.js} +1 -1
- package/dist/{iteration-3TwyQk8f.js → iteration-DDo2wrVm.js} +1 -1
- package/dist/{lodash-BLoODBU6.js → lodash-BkQx8i3S.js} +1 -1
- package/dist/{team-CMljmy8s.js → team-BFkCJ_AJ.js} +1 -1
- package/dist/{timesheet-DLuq_W9t.js → timesheet-CylnGKb5.js} +3 -3
- package/dist/{useAppStore-C1nsK_PE.js → useAppStore-la8yuk1n.js} +1 -1
- package/dist/{useLoading-B1KB5VuL.js → useLoading-ClpZFGc9.js} +1 -1
- package/dist/{useReportPermissions-CkPrwNqW.js → useReportPermissions-BfxN1NHL.js} +3 -3
- package/package.json +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { getCurrentInstance as
|
|
1
|
+
import { getCurrentInstance as xt, inject as $n, ref as Ue, shallowRef as zn, computed as q, watch as St, onMounted as Xt, onUnmounted as An, defineComponent as Ne, h as Sn, createVNode as de, Text as Kn, Fragment as Ie, resolveComponent as Ye, createBlock as Se, openBlock as B, withCtx as he, createElementVNode as te, createElementBlock as ee, toDisplayString as Ae, unref as H, renderList as pe, renderSlot as be, createCommentVNode as Oe, createTextVNode as Qn, useSlots as qn, normalizeStyle as ct, normalizeClass as qe, toRef as Qt, createSlots as Fe, nextTick as es, mergeModels as qt, useModel as ts } from "vue";
|
|
2
2
|
import { useI18n as _t, useCoreStore as ns } from "@feedmepos/mf-common";
|
|
3
3
|
import "@vue/devtools-api";
|
|
4
|
-
import { p as Mt, j as ss, x as as, y as Nt, z as rs, l as ls, $ as kt } from "./index-
|
|
5
|
-
import { d as ut, g as os, b as is } from "./iteration-
|
|
6
|
-
import { u as cs, h as ce, $ as us, I as Tt } from "./app-
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
4
|
+
import { p as Mt, j as ss, x as as, y as Nt, z as rs, l as ls, $ as kt } from "./index-BG9JXTDx.js";
|
|
5
|
+
import { d as ut, g as os, b as is } from "./iteration-DDo2wrVm.js";
|
|
6
|
+
import { u as cs, h as ce, $ as us, I as Tt } from "./app-Dz-5CT0i.js";
|
|
7
|
+
import { u as ms } from "./index-CyvkdrUd.js";
|
|
8
|
+
import { u as ds } from "./useAppStore-la8yuk1n.js";
|
|
9
9
|
/*!
|
|
10
10
|
* shared v10.0.5
|
|
11
11
|
* (c) 2024 kazuya kawaguchi
|
|
12
12
|
* Released under the MIT License.
|
|
13
13
|
*/
|
|
14
|
-
const en = typeof window < "u", Ve = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), fs = (e, t, n) => _s({ l: e, k: t, s: n }), _s = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ue = (e) => typeof e == "number" && isFinite(e), ps = (e) => Yt(e) === "[object Date]",
|
|
14
|
+
const en = typeof window < "u", Ve = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), fs = (e, t, n) => _s({ l: e, k: t, s: n }), _s = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ue = (e) => typeof e == "number" && isFinite(e), ps = (e) => Yt(e) === "[object Date]", dt = (e) => Yt(e) === "[object RegExp]", pt = (e) => J(e) && Object.keys(e).length === 0, me = Object.assign, hs = Object.create, K = (e = null) => hs(e);
|
|
15
15
|
let tn;
|
|
16
16
|
const je = () => tn || (tn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : K());
|
|
17
17
|
function nn(e) {
|
|
@@ -29,7 +29,7 @@ function Es(e, t) {
|
|
|
29
29
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
30
30
|
}
|
|
31
31
|
const rt = (e) => !$(e) || ie(e);
|
|
32
|
-
function
|
|
32
|
+
function mt(e, t) {
|
|
33
33
|
if (rt(e) || rt(t))
|
|
34
34
|
throw new Error("Invalid value");
|
|
35
35
|
const n = [{ src: e, des: t }];
|
|
@@ -65,8 +65,8 @@ const z = {
|
|
|
65
65
|
UNEXPECTED_LEXICAL_ANALYSIS: 14
|
|
66
66
|
}, ys = 17;
|
|
67
67
|
function ht(e, t, n = {}) {
|
|
68
|
-
const { domain: s, messages: l, args: a } = n, c = e,
|
|
69
|
-
return
|
|
68
|
+
const { domain: s, messages: l, args: a } = n, c = e, d = new SyntaxError(String(c));
|
|
69
|
+
return d.code = e, t && (d.location = t), d.domain = s, d;
|
|
70
70
|
}
|
|
71
71
|
function Ns(e) {
|
|
72
72
|
throw e;
|
|
@@ -76,7 +76,7 @@ const Te = " ", ks = "\r", fe = `
|
|
|
76
76
|
function Ls(e) {
|
|
77
77
|
const t = e;
|
|
78
78
|
let n = 0, s = 1, l = 1, a = 0;
|
|
79
|
-
const c = (
|
|
79
|
+
const c = (m) => t[m] === ks && t[m + 1] === fe, d = (m) => t[m] === fe, u = (m) => t[m] === Os, b = (m) => t[m] === Ts, k = (m) => c(m) || d(m) || u(m) || b(m), T = () => n, I = () => s, w = () => l, W = () => a, N = (m) => c(m) || u(m) || b(m) ? fe : t[m], A = () => N(n), i = () => N(n + a);
|
|
80
80
|
function f() {
|
|
81
81
|
return a = 0, k(n) && (s++, l = 0), c(n) && n++, n++, l++, t[n];
|
|
82
82
|
}
|
|
@@ -86,12 +86,12 @@ function Ls(e) {
|
|
|
86
86
|
function h() {
|
|
87
87
|
n = 0, s = 1, l = 1, a = 0;
|
|
88
88
|
}
|
|
89
|
-
function S(
|
|
90
|
-
a =
|
|
89
|
+
function S(m = 0) {
|
|
90
|
+
a = m;
|
|
91
91
|
}
|
|
92
92
|
function R() {
|
|
93
|
-
const
|
|
94
|
-
for (;
|
|
93
|
+
const m = n + a;
|
|
94
|
+
for (; m !== n; )
|
|
95
95
|
f();
|
|
96
96
|
a = 0;
|
|
97
97
|
}
|
|
@@ -112,13 +112,13 @@ function Ls(e) {
|
|
|
112
112
|
}
|
|
113
113
|
const Re = void 0, Cs = ".", sn = "'", Rs = "tokenizer";
|
|
114
114
|
function As(e, t = {}) {
|
|
115
|
-
const n = t.location !== !1, s = Ls(e), l = () => s.index(), a = () => Is(s.line(), s.column(), s.index()), c = a(),
|
|
115
|
+
const n = t.location !== !1, s = Ls(e), l = () => s.index(), a = () => Is(s.line(), s.column(), s.index()), c = a(), d = l(), u = {
|
|
116
116
|
currentType: 13,
|
|
117
|
-
offset:
|
|
117
|
+
offset: d,
|
|
118
118
|
startLoc: c,
|
|
119
119
|
endLoc: c,
|
|
120
120
|
lastType: 13,
|
|
121
|
-
lastOffset:
|
|
121
|
+
lastOffset: d,
|
|
122
122
|
lastStartLoc: c,
|
|
123
123
|
lastEndLoc: c,
|
|
124
124
|
braceNest: 0,
|
|
@@ -204,7 +204,7 @@ function As(e, t = {}) {
|
|
|
204
204
|
const j = r.currentPeek() === ".";
|
|
205
205
|
return r.resetPeek(), j;
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function m(r, o) {
|
|
208
208
|
const { currentType: g } = o;
|
|
209
209
|
if (g !== 8)
|
|
210
210
|
return !1;
|
|
@@ -276,16 +276,16 @@ function As(e, t = {}) {
|
|
|
276
276
|
function Z(r) {
|
|
277
277
|
return F(r, C);
|
|
278
278
|
}
|
|
279
|
-
function
|
|
279
|
+
function x(r) {
|
|
280
280
|
const o = r.charCodeAt(0);
|
|
281
281
|
return o >= 48 && o <= 57 || // 0-9
|
|
282
282
|
o >= 65 && o <= 70 || // A-F
|
|
283
283
|
o >= 97 && o <= 102;
|
|
284
284
|
}
|
|
285
285
|
function U(r) {
|
|
286
|
-
return F(r,
|
|
286
|
+
return F(r, x);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function G(r) {
|
|
289
289
|
let o = "", g = "";
|
|
290
290
|
for (; o = Z(r); )
|
|
291
291
|
g += o;
|
|
@@ -320,7 +320,7 @@ function As(e, t = {}) {
|
|
|
320
320
|
function _e(r) {
|
|
321
321
|
A(r);
|
|
322
322
|
let o = "";
|
|
323
|
-
return r.currentChar() === "-" ? (r.next(), o += `-${
|
|
323
|
+
return r.currentChar() === "-" ? (r.next(), o += `-${G(r)}`) : o += G(r), r.currentChar() === Re && T(z.UNTERMINATED_CLOSING_BRACE, a(), 0), o;
|
|
324
324
|
}
|
|
325
325
|
function we(r) {
|
|
326
326
|
return r !== sn && r !== fe;
|
|
@@ -410,7 +410,7 @@ function As(e, t = {}) {
|
|
|
410
410
|
/* TokenChars.BraceRight */
|
|
411
411
|
), o.braceNest--, o.braceNest > 0 && A(r), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), g;
|
|
412
412
|
case "@":
|
|
413
|
-
return o.braceNest > 0 && T(z.UNTERMINATED_CLOSING_BRACE, a(), 0), g =
|
|
413
|
+
return o.braceNest > 0 && T(z.UNTERMINATED_CLOSING_BRACE, a(), 0), g = Ge(r, o) || w(o), o.braceNest = 0, g;
|
|
414
414
|
default: {
|
|
415
415
|
let re = !0, Y = !0, _ = !0;
|
|
416
416
|
if (p(r))
|
|
@@ -430,7 +430,7 @@ function As(e, t = {}) {
|
|
|
430
430
|
}
|
|
431
431
|
return g;
|
|
432
432
|
}
|
|
433
|
-
function
|
|
433
|
+
function Ge(r, o) {
|
|
434
434
|
const { currentType: g } = o;
|
|
435
435
|
let j = null;
|
|
436
436
|
const re = r.currentChar();
|
|
@@ -457,7 +457,7 @@ function As(e, t = {}) {
|
|
|
457
457
|
/* TokenChars.LinkedDelimiter */
|
|
458
458
|
);
|
|
459
459
|
default:
|
|
460
|
-
return p(r) ? (j = I(o, 1, ze(r)), o.braceNest = 0, o.inLinked = !1, j) : R(r, o) || L(r, o) ? (A(r),
|
|
460
|
+
return p(r) ? (j = I(o, 1, ze(r)), o.braceNest = 0, o.inLinked = !1, j) : R(r, o) || L(r, o) ? (A(r), Ge(r, o)) : m(r, o) ? (A(r), I(o, 11, Et(r))) : v(r, o) ? (A(r), re === "{" ? We(r, o) || j : I(o, 10, It(r))) : (g === 7 && T(z.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, Ke(r, o));
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
463
|
function Ke(r, o) {
|
|
@@ -468,7 +468,7 @@ function As(e, t = {}) {
|
|
|
468
468
|
if (o.braceNest > 0)
|
|
469
469
|
return We(r, o) || w(o);
|
|
470
470
|
if (o.inLinked)
|
|
471
|
-
return
|
|
471
|
+
return Ge(r, o) || w(o);
|
|
472
472
|
switch (r.currentChar()) {
|
|
473
473
|
case "{":
|
|
474
474
|
return We(r, o) || w(o);
|
|
@@ -480,7 +480,7 @@ function As(e, t = {}) {
|
|
|
480
480
|
/* TokenChars.BraceRight */
|
|
481
481
|
);
|
|
482
482
|
case "@":
|
|
483
|
-
return
|
|
483
|
+
return Ge(r, o) || w(o);
|
|
484
484
|
default: {
|
|
485
485
|
if (p(r))
|
|
486
486
|
return g = I(o, 1, ze(r)), o.braceNest = 0, o.inLinked = !1, g;
|
|
@@ -524,7 +524,7 @@ function ws(e = {}) {
|
|
|
524
524
|
function s(i, f, y, h, ...S) {
|
|
525
525
|
const R = i.currentPosition();
|
|
526
526
|
if (R.offset += h, R.column += h, n) {
|
|
527
|
-
const
|
|
527
|
+
const m = t ? Dt(y, R) : null, L = ht(f, m, {
|
|
528
528
|
domain: Ss,
|
|
529
529
|
args: S
|
|
530
530
|
});
|
|
@@ -542,7 +542,7 @@ function ws(e = {}) {
|
|
|
542
542
|
const y = i.context(), h = l(3, y.offset, y.startLoc);
|
|
543
543
|
return h.value = f, a(h, i.currentOffset(), i.currentPosition()), h;
|
|
544
544
|
}
|
|
545
|
-
function
|
|
545
|
+
function d(i, f) {
|
|
546
546
|
const y = i.context(), { lastOffset: h, lastStartLoc: S } = y, R = l(5, h, S);
|
|
547
547
|
return R.index = parseInt(f, 10), i.nextToken(), a(R, i.currentOffset(), i.currentPosition()), R;
|
|
548
548
|
}
|
|
@@ -582,7 +582,7 @@ function ws(e = {}) {
|
|
|
582
582
|
h.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(h)), y.key = u(i, h.value || "");
|
|
583
583
|
break;
|
|
584
584
|
case 5:
|
|
585
|
-
h.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(h)), y.key =
|
|
585
|
+
h.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(h)), y.key = d(i, h.value || "");
|
|
586
586
|
break;
|
|
587
587
|
case 6:
|
|
588
588
|
h.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(h)), y.key = b(i, h.value || "");
|
|
@@ -611,7 +611,7 @@ function ws(e = {}) {
|
|
|
611
611
|
v.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(v)), S.items.push(c(i, v.value || ""));
|
|
612
612
|
break;
|
|
613
613
|
case 5:
|
|
614
|
-
v.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(v)), S.items.push(
|
|
614
|
+
v.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(v)), S.items.push(d(i, v.value || ""));
|
|
615
615
|
break;
|
|
616
616
|
case 4:
|
|
617
617
|
v.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(v)), S.items.push(u(i, v.value || ""));
|
|
@@ -626,26 +626,26 @@ function ws(e = {}) {
|
|
|
626
626
|
}
|
|
627
627
|
}
|
|
628
628
|
} while (f.currentType !== 13 && f.currentType !== 1);
|
|
629
|
-
const
|
|
630
|
-
return a(S,
|
|
629
|
+
const m = f.currentType === 1 ? f.lastOffset : i.currentOffset(), L = f.currentType === 1 ? f.lastEndLoc : i.currentPosition();
|
|
630
|
+
return a(S, m, L), S;
|
|
631
631
|
}
|
|
632
632
|
function W(i, f, y, h) {
|
|
633
633
|
const S = i.context();
|
|
634
634
|
let R = h.items.length === 0;
|
|
635
|
-
const
|
|
636
|
-
|
|
635
|
+
const m = l(1, f, y);
|
|
636
|
+
m.cases = [], m.cases.push(h);
|
|
637
637
|
do {
|
|
638
638
|
const L = w(i);
|
|
639
|
-
R || (R = L.items.length === 0),
|
|
639
|
+
R || (R = L.items.length === 0), m.cases.push(L);
|
|
640
640
|
} while (S.currentType !== 13);
|
|
641
|
-
return R && s(i, z.MUST_HAVE_MESSAGES_IN_PLURAL, y, 0), a(
|
|
641
|
+
return R && s(i, z.MUST_HAVE_MESSAGES_IN_PLURAL, y, 0), a(m, i.currentOffset(), i.currentPosition()), m;
|
|
642
642
|
}
|
|
643
643
|
function N(i) {
|
|
644
644
|
const f = i.context(), { offset: y, startLoc: h } = f, S = w(i);
|
|
645
645
|
return f.currentType === 13 ? S : W(i, y, h, S);
|
|
646
646
|
}
|
|
647
647
|
function A(i) {
|
|
648
|
-
const f = As(i,
|
|
648
|
+
const f = As(i, me({}, e)), y = f.context(), h = l(0, y.offset, y.startLoc);
|
|
649
649
|
return t && h.loc && (h.loc.source = i), h.body = N(f), e.onCacheKey && (h.cacheKey = e.onCacheKey(i)), y.currentType !== 13 && s(f, z.UNEXPECTED_LEXICAL_ANALYSIS, y.lastStartLoc, 0, i[y.offset] || ""), a(h, f.currentOffset(), f.currentPosition()), h;
|
|
650
650
|
}
|
|
651
651
|
return { parse: A };
|
|
@@ -802,7 +802,7 @@ function Us(e, t) {
|
|
|
802
802
|
indentLevel: 0
|
|
803
803
|
};
|
|
804
804
|
a && e.loc && (c.source = e.loc.source);
|
|
805
|
-
const
|
|
805
|
+
const d = () => c;
|
|
806
806
|
function u(N, A) {
|
|
807
807
|
c.code += N;
|
|
808
808
|
}
|
|
@@ -822,7 +822,7 @@ function Us(e, t) {
|
|
|
822
822
|
b(c.indentLevel);
|
|
823
823
|
}
|
|
824
824
|
return {
|
|
825
|
-
context:
|
|
825
|
+
context: d,
|
|
826
826
|
push: u,
|
|
827
827
|
indent: k,
|
|
828
828
|
deindent: T,
|
|
@@ -849,7 +849,7 @@ function Ws(e, t) {
|
|
|
849
849
|
e.push(", ");
|
|
850
850
|
e.deindent(s()), e.push("])");
|
|
851
851
|
}
|
|
852
|
-
function
|
|
852
|
+
function Gs(e, t) {
|
|
853
853
|
const { helper: n, needIndent: s } = e;
|
|
854
854
|
if (t.cases.length > 1) {
|
|
855
855
|
e.push(`${n(
|
|
@@ -862,17 +862,17 @@ function xs(e, t) {
|
|
|
862
862
|
e.deindent(s()), e.push("])");
|
|
863
863
|
}
|
|
864
864
|
}
|
|
865
|
-
function
|
|
865
|
+
function xs(e, t) {
|
|
866
866
|
t.body ? Ze(e, t.body) : e.push("null");
|
|
867
867
|
}
|
|
868
868
|
function Ze(e, t) {
|
|
869
869
|
const { helper: n } = e;
|
|
870
870
|
switch (t.type) {
|
|
871
871
|
case 0:
|
|
872
|
-
|
|
872
|
+
xs(e, t);
|
|
873
873
|
break;
|
|
874
874
|
case 1:
|
|
875
|
-
|
|
875
|
+
Gs(e, t);
|
|
876
876
|
break;
|
|
877
877
|
case 2:
|
|
878
878
|
Ws(e, t);
|
|
@@ -916,13 +916,13 @@ const Xs = (e, t = {}) => {
|
|
|
916
916
|
const n = P(t.mode) ? t.mode : "normal", s = P(t.filename) ? t.filename : "message.intl";
|
|
917
917
|
t.sourceMap;
|
|
918
918
|
const l = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
|
|
919
|
-
`, a = t.needIndent ? t.needIndent : n !== "arrow", c = e.helpers || [],
|
|
919
|
+
`, a = t.needIndent ? t.needIndent : n !== "arrow", c = e.helpers || [], d = Us(e, {
|
|
920
920
|
filename: s,
|
|
921
921
|
breakLineCode: l,
|
|
922
922
|
needIndent: a
|
|
923
923
|
});
|
|
924
|
-
|
|
925
|
-
const { code: u, map: b } =
|
|
924
|
+
d.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), d.indent(a), c.length > 0 && (d.push(`const { ${Zt(c.map((k) => `${k}: _${k}`), ", ")} } = ctx`), d.newline()), d.push("return "), Ze(d, e), d.deindent(a), d.push("}"), delete e.helpers;
|
|
925
|
+
const { code: u, map: b } = d.context();
|
|
926
926
|
return {
|
|
927
927
|
ast: e,
|
|
928
928
|
code: u,
|
|
@@ -931,8 +931,8 @@ const Xs = (e, t = {}) => {
|
|
|
931
931
|
};
|
|
932
932
|
};
|
|
933
933
|
function Ys(e, t = {}) {
|
|
934
|
-
const n =
|
|
935
|
-
return s ? (a && js(
|
|
934
|
+
const n = me({}, t), s = !!n.jit, l = !!n.minify, a = n.optimize == null ? !0 : n.optimize, d = ws(n).parse(e);
|
|
935
|
+
return s ? (a && js(d), l && Xe(d), { ast: d, code: "" }) : (Fs(d, n), Xs(d, n));
|
|
936
936
|
}
|
|
937
937
|
var Zs = { env: { NODE_ENV: "production" } };
|
|
938
938
|
function Bs() {
|
|
@@ -950,9 +950,9 @@ function Hs(e, t) {
|
|
|
950
950
|
);
|
|
951
951
|
if (Ht(n) === 1) {
|
|
952
952
|
const a = Ks(n);
|
|
953
|
-
return e.plural(a.reduce((c,
|
|
953
|
+
return e.plural(a.reduce((c, d) => [
|
|
954
954
|
...c,
|
|
955
|
-
ln(e,
|
|
955
|
+
ln(e, d)
|
|
956
956
|
], []));
|
|
957
957
|
} else
|
|
958
958
|
return ln(e, n);
|
|
@@ -1076,8 +1076,8 @@ function ua(e, t) {
|
|
|
1076
1076
|
...t,
|
|
1077
1077
|
location: Zs.env.NODE_ENV !== "production",
|
|
1078
1078
|
jit: !0
|
|
1079
|
-
}),
|
|
1080
|
-
return c ?
|
|
1079
|
+
}), d = Ot(a);
|
|
1080
|
+
return c ? d : ot[s] = d;
|
|
1081
1081
|
} else {
|
|
1082
1082
|
const n = e.cacheKey;
|
|
1083
1083
|
if (n) {
|
|
@@ -1088,10 +1088,10 @@ function ua(e, t) {
|
|
|
1088
1088
|
}
|
|
1089
1089
|
}
|
|
1090
1090
|
let tt = null;
|
|
1091
|
-
function
|
|
1091
|
+
function ma(e) {
|
|
1092
1092
|
tt = e;
|
|
1093
1093
|
}
|
|
1094
|
-
function
|
|
1094
|
+
function da(e, t, n) {
|
|
1095
1095
|
tt && tt.emit("i18n:init", {
|
|
1096
1096
|
timestamp: Date.now(),
|
|
1097
1097
|
i18n: e,
|
|
@@ -1150,8 +1150,8 @@ function Dn(e, t, n) {
|
|
|
1150
1150
|
let c = [n];
|
|
1151
1151
|
for (; ie(c); )
|
|
1152
1152
|
c = cn(a, c, t);
|
|
1153
|
-
const
|
|
1154
|
-
c = P(
|
|
1153
|
+
const d = ie(t) || !J(t) ? t : t.default ? t.default : null;
|
|
1154
|
+
c = P(d) ? [d] : d, ie(c) && cn(a, c, !1), l.__localeChainCache.set(s, a);
|
|
1155
1155
|
}
|
|
1156
1156
|
return a;
|
|
1157
1157
|
}
|
|
@@ -1381,13 +1381,13 @@ function Na(e) {
|
|
|
1381
1381
|
}
|
|
1382
1382
|
function ka(e) {
|
|
1383
1383
|
const t = [];
|
|
1384
|
-
let n = -1, s = 0, l = 0, a, c,
|
|
1384
|
+
let n = -1, s = 0, l = 0, a, c, d, u, b, k, T;
|
|
1385
1385
|
const I = [];
|
|
1386
1386
|
I[
|
|
1387
1387
|
0
|
|
1388
1388
|
/* Actions.APPEND */
|
|
1389
1389
|
] = () => {
|
|
1390
|
-
c === void 0 ? c =
|
|
1390
|
+
c === void 0 ? c = d : c += d;
|
|
1391
1391
|
}, I[
|
|
1392
1392
|
1
|
|
1393
1393
|
/* Actions.PUSH */
|
|
@@ -1422,14 +1422,14 @@ function ka(e) {
|
|
|
1422
1422
|
function w() {
|
|
1423
1423
|
const W = e[n + 1];
|
|
1424
1424
|
if (s === 5 && W === "'" || s === 6 && W === '"')
|
|
1425
|
-
return n++,
|
|
1425
|
+
return n++, d = "\\" + W, I[
|
|
1426
1426
|
0
|
|
1427
1427
|
/* Actions.APPEND */
|
|
1428
1428
|
](), !0;
|
|
1429
1429
|
}
|
|
1430
1430
|
for (; s !== null; )
|
|
1431
1431
|
if (n++, a = e[n], !(a === "\\" && w())) {
|
|
1432
|
-
if (u = ya(a), T = De[s], b = T[u] || T.l || 8, b === 8 || (s = b[0], b[1] !== void 0 && (k = I[b[1]], k && (
|
|
1432
|
+
if (u = ya(a), T = De[s], b = T[u] || T.l || 8, b === 8 || (s = b[0], b[1] !== void 0 && (k = I[b[1]], k && (d = a, k() === !1))))
|
|
1433
1433
|
return;
|
|
1434
1434
|
if (s === 7)
|
|
1435
1435
|
return t;
|
|
@@ -1455,12 +1455,12 @@ function Oa(e, t) {
|
|
|
1455
1455
|
}
|
|
1456
1456
|
return l;
|
|
1457
1457
|
}
|
|
1458
|
-
const La = "10.0.5", bt = -1, ft = "en-US",
|
|
1458
|
+
const La = "10.0.5", bt = -1, ft = "en-US", mn = "", dn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1459
1459
|
function Ca() {
|
|
1460
1460
|
return {
|
|
1461
1461
|
upper: (e, t) => t === "text" && P(e) ? e.toUpperCase() : t === "vnode" && $(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1462
1462
|
lower: (e, t) => t === "text" && P(e) ? e.toLowerCase() : t === "vnode" && $(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
1463
|
-
capitalize: (e, t) => t === "text" && P(e) ?
|
|
1463
|
+
capitalize: (e, t) => t === "text" && P(e) ? dn(e) : t === "vnode" && $(e) && "__v_isVNode" in e ? dn(e.children) : e
|
|
1464
1464
|
};
|
|
1465
1465
|
}
|
|
1466
1466
|
let wn;
|
|
@@ -1485,7 +1485,7 @@ const fn = (e) => {
|
|
|
1485
1485
|
}, wa = () => Un;
|
|
1486
1486
|
let _n = 0;
|
|
1487
1487
|
function Pa(e = {}) {
|
|
1488
|
-
const t = se(e.onWarn) ? e.onWarn : Es, n = P(e.version) ? e.version : La, s = P(e.locale) || se(e.locale) ? e.locale : ft, l = se(s) ? ft : s, a = ie(e.fallbackLocale) || J(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = J(e.messages) ? e.messages : Ct(l),
|
|
1488
|
+
const t = se(e.onWarn) ? e.onWarn : Es, n = P(e.version) ? e.version : La, s = P(e.locale) || se(e.locale) ? e.locale : ft, l = se(s) ? ft : s, a = ie(e.fallbackLocale) || J(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = J(e.messages) ? e.messages : Ct(l), d = J(e.datetimeFormats) ? e.datetimeFormats : Ct(l), u = J(e.numberFormats) ? e.numberFormats : Ct(l), b = me(K(), e.modifiers, Ca()), k = e.pluralRules || K(), T = se(e.missing) ? e.missing : null, I = oe(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, w = oe(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, W = !!e.fallbackFormat, N = !!e.unresolving, A = se(e.postTranslation) ? e.postTranslation : null, i = J(e.processor) ? e.processor : null, f = oe(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter, h = se(e.messageCompiler) ? e.messageCompiler : wn, S = se(e.messageResolver) ? e.messageResolver : Pn || Ta, R = se(e.localeFallbacker) ? e.localeFallbacker : Fn || ha, m = $(e.fallbackContext) ? e.fallbackContext : void 0, L = e, v = $(L.__datetimeFormatters) ? L.__datetimeFormatters : /* @__PURE__ */ new Map(), p = $(L.__numberFormatters) ? L.__numberFormatters : /* @__PURE__ */ new Map(), D = $(L.__meta) ? L.__meta : {};
|
|
1489
1489
|
_n++;
|
|
1490
1490
|
const F = {
|
|
1491
1491
|
version: n,
|
|
@@ -1507,18 +1507,18 @@ function Pa(e = {}) {
|
|
|
1507
1507
|
messageCompiler: h,
|
|
1508
1508
|
messageResolver: S,
|
|
1509
1509
|
localeFallbacker: R,
|
|
1510
|
-
fallbackContext:
|
|
1510
|
+
fallbackContext: m,
|
|
1511
1511
|
onWarn: t,
|
|
1512
1512
|
__meta: D
|
|
1513
1513
|
};
|
|
1514
|
-
return F.datetimeFormats =
|
|
1514
|
+
return F.datetimeFormats = d, F.numberFormats = u, F.__datetimeFormatters = v, F.__numberFormatters = p, __INTLIFY_PROD_DEVTOOLS__ && da(F, n, D), F;
|
|
1515
1515
|
}
|
|
1516
1516
|
const Ct = (e) => ({ [e]: K() });
|
|
1517
1517
|
function $t(e, t, n, s, l) {
|
|
1518
1518
|
const { missing: a, onWarn: c } = e;
|
|
1519
1519
|
if (a !== null) {
|
|
1520
|
-
const
|
|
1521
|
-
return P(
|
|
1520
|
+
const d = a(e, n, t, l);
|
|
1521
|
+
return P(d) ? d : t;
|
|
1522
1522
|
} else
|
|
1523
1523
|
return t;
|
|
1524
1524
|
}
|
|
@@ -1539,7 +1539,7 @@ function ja(e, t) {
|
|
|
1539
1539
|
return !1;
|
|
1540
1540
|
}
|
|
1541
1541
|
function pn(e, ...t) {
|
|
1542
|
-
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __datetimeFormatters:
|
|
1542
|
+
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __datetimeFormatters: d } = e, [u, b, k, T] = Pt(...t), I = oe(k.missingWarn) ? k.missingWarn : e.missingWarn;
|
|
1543
1543
|
oe(k.fallbackWarn) ? k.fallbackWarn : e.fallbackWarn;
|
|
1544
1544
|
const w = !!k.part, W = Jt(e, k), N = c(
|
|
1545
1545
|
e,
|
|
@@ -1557,8 +1557,8 @@ function pn(e, ...t) {
|
|
|
1557
1557
|
return s ? bt : u;
|
|
1558
1558
|
let h = `${i}__${u}`;
|
|
1559
1559
|
pt(T) || (h = `${h}__${JSON.stringify(T)}`);
|
|
1560
|
-
let S =
|
|
1561
|
-
return S || (S = new Intl.DateTimeFormat(i,
|
|
1560
|
+
let S = d.get(h);
|
|
1561
|
+
return S || (S = new Intl.DateTimeFormat(i, me({}, f, T)), d.set(h, S)), w ? S.formatToParts(b) : S.format(b);
|
|
1562
1562
|
}
|
|
1563
1563
|
const Vn = [
|
|
1564
1564
|
"localeMatcher",
|
|
@@ -1584,29 +1584,29 @@ const Vn = [
|
|
|
1584
1584
|
];
|
|
1585
1585
|
function Pt(...e) {
|
|
1586
1586
|
const [t, n, s, l] = e, a = K();
|
|
1587
|
-
let c = K(),
|
|
1587
|
+
let c = K(), d;
|
|
1588
1588
|
if (P(t)) {
|
|
1589
1589
|
const u = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
1590
1590
|
if (!u)
|
|
1591
1591
|
throw Ce(Le.INVALID_ISO_DATE_ARGUMENT);
|
|
1592
1592
|
const b = u[3] ? u[3].trim().startsWith("T") ? `${u[1].trim()}${u[3].trim()}` : `${u[1].trim()}T${u[3].trim()}` : u[1].trim();
|
|
1593
|
-
|
|
1593
|
+
d = new Date(b);
|
|
1594
1594
|
try {
|
|
1595
|
-
|
|
1595
|
+
d.toISOString();
|
|
1596
1596
|
} catch {
|
|
1597
1597
|
throw Ce(Le.INVALID_ISO_DATE_ARGUMENT);
|
|
1598
1598
|
}
|
|
1599
1599
|
} else if (ps(t)) {
|
|
1600
1600
|
if (isNaN(t.getTime()))
|
|
1601
1601
|
throw Ce(Le.INVALID_DATE_ARGUMENT);
|
|
1602
|
-
|
|
1602
|
+
d = t;
|
|
1603
1603
|
} else if (ue(t))
|
|
1604
|
-
|
|
1604
|
+
d = t;
|
|
1605
1605
|
else
|
|
1606
1606
|
throw Ce(Le.INVALID_ARGUMENT);
|
|
1607
1607
|
return P(n) ? a.key = n : J(n) && Object.keys(n).forEach((u) => {
|
|
1608
1608
|
Vn.includes(u) ? c[u] = n[u] : a[u] = n[u];
|
|
1609
|
-
}), P(s) ? a.locale = s : J(s) && (c = s), J(l) && (c = l), [a.key || "",
|
|
1609
|
+
}), P(s) ? a.locale = s : J(s) && (c = s), J(l) && (c = l), [a.key || "", d, a, c];
|
|
1610
1610
|
}
|
|
1611
1611
|
function hn(e, t, n) {
|
|
1612
1612
|
const s = e;
|
|
@@ -1616,7 +1616,7 @@ function hn(e, t, n) {
|
|
|
1616
1616
|
}
|
|
1617
1617
|
}
|
|
1618
1618
|
function bn(e, ...t) {
|
|
1619
|
-
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __numberFormatters:
|
|
1619
|
+
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __numberFormatters: d } = e, [u, b, k, T] = Ft(...t), I = oe(k.missingWarn) ? k.missingWarn : e.missingWarn;
|
|
1620
1620
|
oe(k.fallbackWarn) ? k.fallbackWarn : e.fallbackWarn;
|
|
1621
1621
|
const w = !!k.part, W = Jt(e, k), N = c(
|
|
1622
1622
|
e,
|
|
@@ -1634,8 +1634,8 @@ function bn(e, ...t) {
|
|
|
1634
1634
|
return s ? bt : u;
|
|
1635
1635
|
let h = `${i}__${u}`;
|
|
1636
1636
|
pt(T) || (h = `${h}__${JSON.stringify(T)}`);
|
|
1637
|
-
let S =
|
|
1638
|
-
return S || (S = new Intl.NumberFormat(i,
|
|
1637
|
+
let S = d.get(h);
|
|
1638
|
+
return S || (S = new Intl.NumberFormat(i, me({}, f, T)), d.set(h, S)), w ? S.formatToParts(b) : S.format(b);
|
|
1639
1639
|
}
|
|
1640
1640
|
const Wn = [
|
|
1641
1641
|
"localeMatcher",
|
|
@@ -1664,10 +1664,10 @@ function Ft(...e) {
|
|
|
1664
1664
|
let c = K();
|
|
1665
1665
|
if (!ue(t))
|
|
1666
1666
|
throw Ce(Le.INVALID_ARGUMENT);
|
|
1667
|
-
const
|
|
1667
|
+
const d = t;
|
|
1668
1668
|
return P(n) ? a.key = n : J(n) && Object.keys(n).forEach((u) => {
|
|
1669
1669
|
Wn.includes(u) ? c[u] = n[u] : a[u] = n[u];
|
|
1670
|
-
}), P(s) ? a.locale = s : J(s) && (c = s), J(l) && (c = l), [a.key || "",
|
|
1670
|
+
}), P(s) ? a.locale = s : J(s) && (c = s), J(l) && (c = l), [a.key || "", d, a, c];
|
|
1671
1671
|
}
|
|
1672
1672
|
function gn(e, t, n) {
|
|
1673
1673
|
const s = e;
|
|
@@ -1676,7 +1676,7 @@ function gn(e, t, n) {
|
|
|
1676
1676
|
s.__numberFormatters.has(a) && s.__numberFormatters.delete(a);
|
|
1677
1677
|
}
|
|
1678
1678
|
}
|
|
1679
|
-
const Ua = (e) => e, Va = (e) => "", Wa = "text",
|
|
1679
|
+
const Ua = (e) => e, Va = (e) => "", Wa = "text", Ga = (e) => e.length === 0 ? "" : Zt(e), xa = vs;
|
|
1680
1680
|
function vn(e, t) {
|
|
1681
1681
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1682
1682
|
}
|
|
@@ -1688,24 +1688,24 @@ function Ya(e, t) {
|
|
|
1688
1688
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1689
1689
|
}
|
|
1690
1690
|
function Za(e = {}) {
|
|
1691
|
-
const t = e.locale, n = Xa(e), s = $(e.pluralRules) && P(t) && se(e.pluralRules[t]) ? e.pluralRules[t] : vn, l = $(e.pluralRules) && P(t) && se(e.pluralRules[t]) ? vn : void 0, a = (i) => i[s(n, i.length, l)], c = e.list || [],
|
|
1691
|
+
const t = e.locale, n = Xa(e), s = $(e.pluralRules) && P(t) && se(e.pluralRules[t]) ? e.pluralRules[t] : vn, l = $(e.pluralRules) && P(t) && se(e.pluralRules[t]) ? vn : void 0, a = (i) => i[s(n, i.length, l)], c = e.list || [], d = (i) => c[i], u = e.named || K();
|
|
1692
1692
|
ue(e.pluralIndex) && Ya(n, u);
|
|
1693
1693
|
const b = (i) => u[i];
|
|
1694
1694
|
function k(i, f) {
|
|
1695
1695
|
const y = se(e.messages) ? e.messages(i, !!f) : $(e.messages) ? e.messages[i] : !1;
|
|
1696
1696
|
return y || (e.parent ? e.parent.message(i) : Va);
|
|
1697
1697
|
}
|
|
1698
|
-
const T = (i) => e.modifiers ? e.modifiers[i] : Ua, I = J(e.processor) && se(e.processor.normalize) ? e.processor.normalize :
|
|
1699
|
-
list:
|
|
1698
|
+
const T = (i) => e.modifiers ? e.modifiers[i] : Ua, I = J(e.processor) && se(e.processor.normalize) ? e.processor.normalize : Ga, w = J(e.processor) && se(e.processor.interpolate) ? e.processor.interpolate : xa, W = J(e.processor) && P(e.processor.type) ? e.processor.type : Wa, A = {
|
|
1699
|
+
list: d,
|
|
1700
1700
|
named: b,
|
|
1701
1701
|
plural: a,
|
|
1702
1702
|
linked: (i, ...f) => {
|
|
1703
1703
|
const [y, h] = f;
|
|
1704
1704
|
let S = "text", R = "";
|
|
1705
1705
|
f.length === 1 ? $(y) ? (R = y.modifier || R, S = y.type || S) : P(y) && (R = y || R) : f.length === 2 && (P(y) && (R = y || R), P(h) && (S = h || S));
|
|
1706
|
-
const
|
|
1706
|
+
const m = k(i, !0)(A), L = (
|
|
1707
1707
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1708
|
-
S === "vnode" && ie(
|
|
1708
|
+
S === "vnode" && ie(m) && R ? m[0] : m
|
|
1709
1709
|
);
|
|
1710
1710
|
return R ? T(R)(L, S) : L;
|
|
1711
1711
|
},
|
|
@@ -1713,25 +1713,25 @@ function Za(e = {}) {
|
|
|
1713
1713
|
type: W,
|
|
1714
1714
|
interpolate: w,
|
|
1715
1715
|
normalize: I,
|
|
1716
|
-
values:
|
|
1716
|
+
values: me(K(), c, u)
|
|
1717
1717
|
};
|
|
1718
1718
|
return A;
|
|
1719
1719
|
}
|
|
1720
1720
|
const En = () => "", ge = (e) => se(e);
|
|
1721
1721
|
function In(e, ...t) {
|
|
1722
|
-
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages:
|
|
1722
|
+
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: d } = e, [u, b] = jt(...t), k = oe(b.missingWarn) ? b.missingWarn : e.missingWarn, T = oe(b.fallbackWarn) ? b.fallbackWarn : e.fallbackWarn, I = oe(b.escapeParameter) ? b.escapeParameter : e.escapeParameter, w = !!b.resolvedMessage, W = P(b.default) || oe(b.default) ? oe(b.default) ? a ? u : () => u : b.default : n ? a ? u : () => u : null, N = n || W != null && (P(W) || se(W)), A = Jt(e, b);
|
|
1723
1723
|
I && Ba(b);
|
|
1724
1724
|
let [i, f, y] = w ? [
|
|
1725
1725
|
u,
|
|
1726
1726
|
A,
|
|
1727
|
-
|
|
1728
|
-
] :
|
|
1727
|
+
d[A] || K()
|
|
1728
|
+
] : Gn(e, u, A, c, T, k), h = i, S = u;
|
|
1729
1729
|
if (!w && !(P(h) || Be(h) || ge(h)) && N && (h = W, S = h), !w && (!(P(h) || Be(h) || ge(h)) || !P(f)))
|
|
1730
1730
|
return l ? bt : u;
|
|
1731
1731
|
let R = !1;
|
|
1732
|
-
const
|
|
1732
|
+
const m = () => {
|
|
1733
1733
|
R = !0;
|
|
1734
|
-
}, L = ge(h) ? h :
|
|
1734
|
+
}, L = ge(h) ? h : xn(e, u, f, h, S, m);
|
|
1735
1735
|
if (R)
|
|
1736
1736
|
return h;
|
|
1737
1737
|
const v = $a(e, f, y, b), p = Za(v), D = Ha(e, L, p), F = s ? s(D, u) : D;
|
|
@@ -1743,7 +1743,7 @@ function In(e, ...t) {
|
|
|
1743
1743
|
format: P(h) ? h : ge(h) ? h.source : "",
|
|
1744
1744
|
message: F
|
|
1745
1745
|
};
|
|
1746
|
-
V.meta =
|
|
1746
|
+
V.meta = me({}, e.__meta, /* @__PURE__ */ Da() || {}), fa(V);
|
|
1747
1747
|
}
|
|
1748
1748
|
return F;
|
|
1749
1749
|
}
|
|
@@ -1752,8 +1752,8 @@ function Ba(e) {
|
|
|
1752
1752
|
P(e.named[t]) && (e.named[t] = nn(e.named[t]));
|
|
1753
1753
|
});
|
|
1754
1754
|
}
|
|
1755
|
-
function
|
|
1756
|
-
const { messages: c, onWarn:
|
|
1755
|
+
function Gn(e, t, n, s, l, a) {
|
|
1756
|
+
const { messages: c, onWarn: d, messageResolver: u, localeFallbacker: b } = e, k = b(e, s, n);
|
|
1757
1757
|
let T = K(), I, w = null;
|
|
1758
1758
|
const W = "translate";
|
|
1759
1759
|
for (let N = 0; N < k.length && (I = k[N], T = c[I] || K(), (w = u(T, t)) === null && (w = T[t]), !(P(w) || Be(w) || ge(w))); N++)
|
|
@@ -1770,8 +1770,8 @@ function xn(e, t, n, s, l, a) {
|
|
|
1770
1770
|
}
|
|
1771
1771
|
return [w, I, T];
|
|
1772
1772
|
}
|
|
1773
|
-
function
|
|
1774
|
-
const { messageCompiler: c, warnHtmlMessage:
|
|
1773
|
+
function xn(e, t, n, s, l, a) {
|
|
1774
|
+
const { messageCompiler: c, warnHtmlMessage: d } = e;
|
|
1775
1775
|
if (ge(s)) {
|
|
1776
1776
|
const b = s;
|
|
1777
1777
|
return b.locale = b.locale || n, b.key = b.key || t, b;
|
|
@@ -1780,7 +1780,7 @@ function Gn(e, t, n, s, l, a) {
|
|
|
1780
1780
|
const b = () => s;
|
|
1781
1781
|
return b.locale = n, b.key = t, b;
|
|
1782
1782
|
}
|
|
1783
|
-
const u = c(s, Ja(e, n, l, s,
|
|
1783
|
+
const u = c(s, Ja(e, n, l, s, d, a));
|
|
1784
1784
|
return u.locale = n, u.key = t, u.source = s, u;
|
|
1785
1785
|
}
|
|
1786
1786
|
function Ha(e, t, n) {
|
|
@@ -1791,7 +1791,7 @@ function jt(...e) {
|
|
|
1791
1791
|
if (!P(t) && !ue(t) && !ge(t) && !Be(t))
|
|
1792
1792
|
throw Ce(Le.INVALID_ARGUMENT);
|
|
1793
1793
|
const a = ue(t) ? String(t) : (ge(t), t);
|
|
1794
|
-
return ue(n) ? l.plural = n : P(n) ? l.default = n : J(n) && !pt(n) ? l.named = n : ie(n) && (l.list = n), ue(s) ? l.plural = s : P(s) ? l.default = s : J(s) &&
|
|
1794
|
+
return ue(n) ? l.plural = n : P(n) ? l.default = n : J(n) && !pt(n) ? l.named = n : ie(n) && (l.list = n), ue(s) ? l.plural = s : P(s) ? l.default = s : J(s) && me(l, s), [a, l];
|
|
1795
1795
|
}
|
|
1796
1796
|
function Ja(e, t, n, s, l, a) {
|
|
1797
1797
|
return {
|
|
@@ -1805,19 +1805,19 @@ function Ja(e, t, n, s, l, a) {
|
|
|
1805
1805
|
};
|
|
1806
1806
|
}
|
|
1807
1807
|
function $a(e, t, n, s) {
|
|
1808
|
-
const { modifiers: l, pluralRules: a, messageResolver: c, fallbackLocale:
|
|
1808
|
+
const { modifiers: l, pluralRules: a, messageResolver: c, fallbackLocale: d, fallbackWarn: u, missingWarn: b, fallbackContext: k } = e, I = {
|
|
1809
1809
|
locale: t,
|
|
1810
1810
|
modifiers: l,
|
|
1811
1811
|
pluralRules: a,
|
|
1812
1812
|
messages: (w, W) => {
|
|
1813
1813
|
let N = c(n, w);
|
|
1814
1814
|
if (N == null && (k || W)) {
|
|
1815
|
-
const [, , A] =
|
|
1815
|
+
const [, , A] = Gn(
|
|
1816
1816
|
k || e,
|
|
1817
1817
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1818
1818
|
w,
|
|
1819
1819
|
t,
|
|
1820
|
-
|
|
1820
|
+
d,
|
|
1821
1821
|
u,
|
|
1822
1822
|
b
|
|
1823
1823
|
);
|
|
@@ -1825,7 +1825,7 @@ function $a(e, t, n, s) {
|
|
|
1825
1825
|
}
|
|
1826
1826
|
if (P(N) || Be(N)) {
|
|
1827
1827
|
let A = !1;
|
|
1828
|
-
const f =
|
|
1828
|
+
const f = xn(e, w, t, N, w, () => {
|
|
1829
1829
|
A = !0;
|
|
1830
1830
|
});
|
|
1831
1831
|
return A ? En : f;
|
|
@@ -1835,7 +1835,7 @@ function $a(e, t, n, s) {
|
|
|
1835
1835
|
return e.processor && (I.processor = e.processor), s.list && (I.list = s.list), s.named && (I.named = s.named), ue(s.plural) && (I.pluralIndex = s.plural), I;
|
|
1836
1836
|
}
|
|
1837
1837
|
Bs();
|
|
1838
|
-
var za = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_953a4fda-1ade-4389-9d69-0a8741b353d1", 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_953a4fda-1ade-4389-9d69-0a8741b353d1", 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: "1853", ACTIONS_ORCHESTRATION_ID: "a30fac82-d171-488c-916c-61a3b27a369f.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: "20260413.86.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:13524", 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.9/x64", GITHUB_RUN_ID: "25309175104", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "8d26233f11f62d498f63d1da7c3e1bb174af150f", 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/permission-integrations", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L3Blcm1pc3Npb24taW50ZWdyYXRpb25zXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzc3OTA1ODY3LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3Nzc4ODM2NjcsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiIzNjYxZTIwZS0zMGY1LTU0OGYtODI2YS05M2VkZGM4OTUxYmIiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3Nzc4ODMzNjcsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwianVuLWxlZS1mZWVkbWVcIixcImFjdG9yX2lkXCI6XCIyMzkyODI4NjJcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiNzQxOTE4MjQ4NjlcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjJhZTNmNTljM2YxOTRhZDY1ZmQ5ZmQxODk0OTA2ODgyNDBkMTQxOWRcIixcInJlZlwiOlwicmVmcy9oZWFkcy9mZWF0L3Blcm1pc3Npb24taW50ZWdyYXRpb25zXCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjI1MzA5MTc1MTA0XCIsXCJydW5fbnVtYmVyXCI6XCI1OVwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcIjhkMjYyMzNmMTFmNjJkNDk4ZjYzZDFkYTdjM2UxYmIxNzRhZjE1MGZcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL2ZlYXQvcGVybWlzc2lvbi1pbnRlZ3JhdGlvbnNcIixcIndvcmtmbG93X3NoYVwiOlwiOGQyNjIzM2YxMWY2MmQ0OThmNjNkMWRhN2MzZTFiYjE3NGFmMTUwZlwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvaHJtLXNlcnZpY2U6cmVmOnJlZnMvaGVhZHMvZmVhdC9wZXJtaXNzaW9uLWludGVncmF0aW9ucyIsIm9yY2hfaWQiOiJhMzBmYWM4Mi1kMTcxLTQ4OGMtOTE2Yy02MWEzYjI3YTM2OWYucHVibGlzaC5wdWJsaXNoLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6ImEzMGZhYzgyLWQxNzEtNDg4Yy05MTZjLTYxYTNiMjdhMzY5ZiIsInJlcG9zaXRvcnlfaWQiOiIxMTI0NjcyMjM1IiwicnVuX2lkIjoiMjUzMDkxNzUxMDQiLCJydW5fbnVtYmVyIjoiNTkiLCJydW5fdHlwZSI6ImZ1bGwiLCJydW5uZXJfaWQiOiIxMDAwMDY1Mzk4IiwicnVubmVyX3R5cGUiOiJob3N0ZWQiLCJzY3AiOiJBY3Rpb25zLlJlc3VsdHM6YTMwZmFjODItZDE3MS00ODhjLTkxNmMtNjFhM2IyN2EzNjlmOjM2NjFlMjBlLTMwZjUtNTQ4Zi04MjZhLTkzZWRkYzg5NTFiYiBBY3Rpb25zLlJ1bm5lcjphMzBmYWM4Mi1kMTcxLTQ4OGMtOTE2Yy02MWEzYjI3YTM2OWY6MzY2MWUyMGUtMzBmNS01NDhmLTgyNmEtOTNlZGRjODk1MWJiIEFjdGlvbnMuVXBsb2FkQXJ0aWZhY3RzOmEzMGZhYzgyLWQxNzEtNDg4Yy05MTZjLTYxYTNiMjdhMzY5ZjozNjYxZTIwZS0zMGY1LTU0OGYtODI2YS05M2VkZGM4OTUxYmIgZ2VuZXJhdGVfaWRfdG9rZW46YTMwZmFjODItZDE3MS00ODhjLTkxNmMtNjFhM2IyN2EzNjlmOjM2NjFlMjBlLTMwZjUtNTQ4Zi04MjZhLTkzZWRkYzg5NTFiYiBBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInNoYSI6IjhkMjYyMzNmMTFmNjJkNDk4ZjYzZDFkYTdjM2UxYmIxNzRhZjE1MGYiLCJ0cnVzdF90aWVyIjoiMSJ9.llhOjTG42vNHyQX6OUmvnlDlu1dxYO2mDPKhzA3ZCM8yHByzfiQNQbBH7rgYXdbeGYIf_DglVLL_LjC4i1eq4jsTy6Rlrx_0fyqxT2VUbrsnc8J0qujLMPk-q7F3TET6iJBJYzPns4MghD5rmUbOihSTcelTfxTD0rYzxN6k4l7-kQo1VRgCoadFJZDFUdU5L3IWrxX36vBEJ055ASi4n6h-XTJHEK79fQ-F8f-iuRcKWXdXvXS2pJPA-fUbzxNzfTTs9vaXqWYnLcx75pvIKnO7BFsZFu8LjHltAzqfuc7WjuUKOzp-56JA5FH149Lrl7mWV9ysbGVBe_H0q5BnfQ", 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_0f9777e5-5b29-44a7-92a2-3ac71f20b545", INVOCATION_ID: "9014620e5dbc4212894df900d22fb010", 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_5", GITHUB_RUN_NUMBER: "59", GITHUB_TRIGGERING_ACTOR: "jun-lee-feedme", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag latest --no-git-checks", npm_package_scripts_publish_npm_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag beta --no-git-checks", npm_package_scripts_publish_github: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks", npm_package_scripts_publish_github_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks", npm_config_frozen_lockfile: "", npm_package_devDependencies__vitest_ui: "^1.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies_eslint: "^9.39.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000065398", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/permission-integrations", 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.6", 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: "8d26233f11f62d498f63d1da7c3e1bb174af150f", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/feat/permission-integrations", GITHUB_ACTOR: "jun-lee-feedme", 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_953a4fda-1ade-4389-9d69-0a8741b353d1", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "239282862", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-1-azure-eastus.actions.githubusercontent.com/54//idtoken/a30fac82-d171-488c-916c-61a3b27a369f/3661e20e-30f5-548f-826a-93eddc8951bb?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_953a4fda-1ade-4389-9d69-0a8741b353d1", 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_953a4fda-1ade-4389-9d69-0a8741b353d1", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1838
|
+
var za = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_032f7423-6a50-4570-8141-a1c5c9bde587", 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_032f7423-6a50-4570-8141-a1c5c9bde587", 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: "45245cd1-b2c4-47e2-bdde-c564e292a622.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: "20260413.86.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:15637", 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.9/x64", GITHUB_RUN_ID: "25355550973", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "33e32042ec773e2dfd8a0cedf2763b5a5bba1149", 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/permission-integrations", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L3Blcm1pc3Npb24taW50ZWdyYXRpb25zXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzc3OTcyMzcxLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3Nzc5NTAxNzEsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiI5YWYyNTg2Ni1iMjZlLTVmOTItOTBhOC02ZTg4YTcxNmUzMjYiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3Nzc5NDk4NzEsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwianVuLWxlZS1mZWVkbWVcIixcImFjdG9yX2lkXCI6XCIyMzkyODI4NjJcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiNzQzNDM5MTYyMTBcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcImM3YjAyM2Q2YjM4MTQxOWUzMmFkYzBjNzdiYmY4MmFmYzYzODEwOTlcIixcInJlZlwiOlwicmVmcy9oZWFkcy9mZWF0L3Blcm1pc3Npb24taW50ZWdyYXRpb25zXCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjI1MzU1NTUwOTczXCIsXCJydW5fbnVtYmVyXCI6XCI2MVwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcIjMzZTMyMDQyZWM3NzNlMmRmZDhhMGNlZGYyNzYzYjVhNWJiYTExNDlcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL2ZlYXQvcGVybWlzc2lvbi1pbnRlZ3JhdGlvbnNcIixcIndvcmtmbG93X3NoYVwiOlwiMzNlMzIwNDJlYzc3M2UyZGZkOGEwY2VkZjI3NjNiNWE1YmJhMTE0OVwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvaHJtLXNlcnZpY2U6cmVmOnJlZnMvaGVhZHMvZmVhdC9wZXJtaXNzaW9uLWludGVncmF0aW9ucyIsIm9yY2hfaWQiOiI0NTI0NWNkMS1iMmM0LTQ3ZTItYmRkZS1jNTY0ZTI5MmE2MjIucHVibGlzaC5wdWJsaXNoLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6IjQ1MjQ1Y2QxLWIyYzQtNDdlMi1iZGRlLWM1NjRlMjkyYTYyMiIsInJlcG9zaXRvcnlfaWQiOiIxMTI0NjcyMjM1IiwicnVuX2lkIjoiMjUzNTU1NTA5NzMiLCJydW5fbnVtYmVyIjoiNjEiLCJydW5fdHlwZSI6ImZ1bGwiLCJydW5uZXJfaWQiOiIxMDAwMDY1NjA2IiwicnVubmVyX3R5cGUiOiJob3N0ZWQiLCJzY3AiOiJBY3Rpb25zLlJlc3VsdHM6NDUyNDVjZDEtYjJjNC00N2UyLWJkZGUtYzU2NGUyOTJhNjIyOjlhZjI1ODY2LWIyNmUtNWY5Mi05MGE4LTZlODhhNzE2ZTMyNiBBY3Rpb25zLlJ1bm5lcjo0NTI0NWNkMS1iMmM0LTQ3ZTItYmRkZS1jNTY0ZTI5MmE2MjI6OWFmMjU4NjYtYjI2ZS01ZjkyLTkwYTgtNmU4OGE3MTZlMzI2IEFjdGlvbnMuVXBsb2FkQXJ0aWZhY3RzOjQ1MjQ1Y2QxLWIyYzQtNDdlMi1iZGRlLWM1NjRlMjkyYTYyMjo5YWYyNTg2Ni1iMjZlLTVmOTItOTBhOC02ZTg4YTcxNmUzMjYgZ2VuZXJhdGVfaWRfdG9rZW46NDUyNDVjZDEtYjJjNC00N2UyLWJkZGUtYzU2NGUyOTJhNjIyOjlhZjI1ODY2LWIyNmUtNWY5Mi05MGE4LTZlODhhNzE2ZTMyNiBBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInNoYSI6IjMzZTMyMDQyZWM3NzNlMmRmZDhhMGNlZGYyNzYzYjVhNWJiYTExNDkiLCJ0cnVzdF90aWVyIjoiMSJ9.ZFWMs4ckRb1w2pXhlteiZaBUpVgA_5MKE3cqLivbRQzU9n7NGeUvVinYjzsZYJlIuGrVS-PEj7auZh3qzxSRQOLw92EE6RhDifVF4iUr0hVVGXiW1RpA2_hH8qaxmbH8pco3-YwdbJerZUo1nAiewTCiC0Qm98ScE_Y0VMY3prm2kaTefQcgT_UNAi6XrrtSwDViSp92bhhNZjkyKbJMB-icggYO-XkHDtwg9P1snPE46HP5EcwUM9XeuuMxdlcrIDPUhVeWZBx3JT_k9EuxabavlAT4vWsxKIXJ0dFj1gPb7bM8rzr24UMRy1ICf9UJmHA79MVfKXaCMHMo0-Lnrw", 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_bf0e4034-7606-4ccb-8c2b-a7000377f41c", INVOCATION_ID: "7ec822ef39f6466abbfd1708a7946000", 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_5", GITHUB_RUN_NUMBER: "61", GITHUB_TRIGGERING_ACTOR: "jun-lee-feedme", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag latest --no-git-checks", npm_package_scripts_publish_npm_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag beta --no-git-checks", npm_package_scripts_publish_github: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks", npm_package_scripts_publish_github_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks", npm_config_frozen_lockfile: "", npm_package_devDependencies__vitest_ui: "^1.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies_eslint: "^9.39.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000065606", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/permission-integrations", 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.8", 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: "33e32042ec773e2dfd8a0cedf2763b5a5bba1149", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/feat/permission-integrations", GITHUB_ACTOR: "jun-lee-feedme", 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_032f7423-6a50-4570-8141-a1c5c9bde587", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "239282862", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-3-azure-eastus.actions.githubusercontent.com/203//idtoken/45245cd1-b2c4-47e2-bdde-c564e292a622/9af25866-b26e-5f92-90a8-6e88a716e326?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_032f7423-6a50-4570-8141-a1c5c9bde587", 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_032f7423-6a50-4570-8141-a1c5c9bde587", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1839
1839
|
const Ka = "10.0.5";
|
|
1840
1840
|
function Qa() {
|
|
1841
1841
|
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);
|
|
@@ -1856,7 +1856,7 @@ const He = {
|
|
|
1856
1856
|
function nt(e, ...t) {
|
|
1857
1857
|
return ht(e, null, void 0);
|
|
1858
1858
|
}
|
|
1859
|
-
const Ut = /* @__PURE__ */ Ve("__translateVNode"), Vt = /* @__PURE__ */ Ve("__datetimeParts"), Wt = /* @__PURE__ */ Ve("__numberParts"), qa = Ve("__setPluralRules"), Xn = /* @__PURE__ */ Ve("__injectWithOption"),
|
|
1859
|
+
const Ut = /* @__PURE__ */ Ve("__translateVNode"), Vt = /* @__PURE__ */ Ve("__datetimeParts"), Wt = /* @__PURE__ */ Ve("__numberParts"), qa = Ve("__setPluralRules"), Xn = /* @__PURE__ */ Ve("__injectWithOption"), Gt = /* @__PURE__ */ Ve("__dispose");
|
|
1860
1860
|
function st(e) {
|
|
1861
1861
|
if (!$(e))
|
|
1862
1862
|
return e;
|
|
@@ -1880,15 +1880,15 @@ function st(e) {
|
|
|
1880
1880
|
}
|
|
1881
1881
|
function Yn(e, t) {
|
|
1882
1882
|
const { messages: n, __i18n: s, messageResolver: l, flatJson: a } = t, c = J(n) ? n : ie(s) ? K() : { [e]: K() };
|
|
1883
|
-
if (ie(s) && s.forEach((
|
|
1884
|
-
if ("locale" in
|
|
1885
|
-
const { locale: u, resource: b } =
|
|
1886
|
-
u ? (c[u] = c[u] || K(),
|
|
1883
|
+
if (ie(s) && s.forEach((d) => {
|
|
1884
|
+
if ("locale" in d && "resource" in d) {
|
|
1885
|
+
const { locale: u, resource: b } = d;
|
|
1886
|
+
u ? (c[u] = c[u] || K(), mt(b, c[u])) : mt(b, c);
|
|
1887
1887
|
} else
|
|
1888
|
-
P(
|
|
1888
|
+
P(d) && mt(JSON.parse(d), c);
|
|
1889
1889
|
}), l == null && a)
|
|
1890
|
-
for (const
|
|
1891
|
-
ye(c,
|
|
1890
|
+
for (const d in c)
|
|
1891
|
+
ye(c, d) && st(c[d]);
|
|
1892
1892
|
return c;
|
|
1893
1893
|
}
|
|
1894
1894
|
function Zn(e) {
|
|
@@ -1920,36 +1920,36 @@ function er(e, t, n) {
|
|
|
1920
1920
|
}
|
|
1921
1921
|
}
|
|
1922
1922
|
function yn(e) {
|
|
1923
|
-
return
|
|
1923
|
+
return de(Kn, null, e, 0);
|
|
1924
1924
|
}
|
|
1925
1925
|
const Nn = "__INTLIFY_META__", kn = () => [], tr = () => !1;
|
|
1926
1926
|
let Tn = 0;
|
|
1927
1927
|
function On(e) {
|
|
1928
|
-
return (t, n, s, l) => e(n, s,
|
|
1928
|
+
return (t, n, s, l) => e(n, s, xt() || void 0, l);
|
|
1929
1929
|
}
|
|
1930
1930
|
const nr = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
1931
|
-
const e =
|
|
1931
|
+
const e = xt();
|
|
1932
1932
|
let t = null;
|
|
1933
1933
|
return e && (t = Zn(e)[Nn]) ? { [Nn]: t } : null;
|
|
1934
1934
|
};
|
|
1935
1935
|
function sr(e = {}) {
|
|
1936
1936
|
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = en ? Ue : zn;
|
|
1937
1937
|
let c = oe(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1938
|
-
const
|
|
1938
|
+
const d = a(
|
|
1939
1939
|
// prettier-ignore
|
|
1940
1940
|
t && c ? t.locale.value : P(e.locale) ? e.locale : ft
|
|
1941
1941
|
), u = a(
|
|
1942
1942
|
// prettier-ignore
|
|
1943
|
-
t && c ? t.fallbackLocale.value : P(e.fallbackLocale) || ie(e.fallbackLocale) || J(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale :
|
|
1944
|
-
), b = a(Yn(
|
|
1945
|
-
let I = t ? t.missingWarn : oe(e.missingWarn) ||
|
|
1943
|
+
t && c ? t.fallbackLocale.value : P(e.fallbackLocale) || ie(e.fallbackLocale) || J(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : d.value
|
|
1944
|
+
), b = a(Yn(d.value, e)), k = a(J(e.datetimeFormats) ? e.datetimeFormats : { [d.value]: {} }), T = a(J(e.numberFormats) ? e.numberFormats : { [d.value]: {} });
|
|
1945
|
+
let I = t ? t.missingWarn : oe(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, w = t ? t.fallbackWarn : oe(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, W = t ? t.fallbackRoot : oe(e.fallbackRoot) ? e.fallbackRoot : !0, N = !!e.fallbackFormat, A = se(e.missing) ? e.missing : null, i = se(e.missing) ? On(e.missing) : null, f = se(e.postTranslation) ? e.postTranslation : null, y = t ? t.warnHtmlMessage : oe(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, h = !!e.escapeParameter;
|
|
1946
1946
|
const S = t ? t.modifiers : J(e.modifiers) ? e.modifiers : {};
|
|
1947
|
-
let R = e.pluralRules || t && t.pluralRules,
|
|
1948
|
-
|
|
1947
|
+
let R = e.pluralRules || t && t.pluralRules, m;
|
|
1948
|
+
m = (() => {
|
|
1949
1949
|
s && fn(null);
|
|
1950
1950
|
const _ = {
|
|
1951
1951
|
version: Ka,
|
|
1952
|
-
locale:
|
|
1952
|
+
locale: d.value,
|
|
1953
1953
|
fallbackLocale: u.value,
|
|
1954
1954
|
messages: b.value,
|
|
1955
1955
|
modifiers: S,
|
|
@@ -1966,13 +1966,13 @@ function sr(e = {}) {
|
|
|
1966
1966
|
messageCompiler: e.messageCompiler,
|
|
1967
1967
|
__meta: { framework: "vue" }
|
|
1968
1968
|
};
|
|
1969
|
-
_.datetimeFormats = k.value, _.numberFormats = T.value, _.__datetimeFormatters = J(
|
|
1969
|
+
_.datetimeFormats = k.value, _.numberFormats = T.value, _.__datetimeFormatters = J(m) ? m.__datetimeFormatters : void 0, _.__numberFormatters = J(m) ? m.__numberFormatters : void 0;
|
|
1970
1970
|
const E = Pa(_);
|
|
1971
1971
|
return s && fn(E), E;
|
|
1972
|
-
})(), Qe(
|
|
1972
|
+
})(), Qe(m, d.value, u.value);
|
|
1973
1973
|
function v() {
|
|
1974
1974
|
return [
|
|
1975
|
-
|
|
1975
|
+
d.value,
|
|
1976
1976
|
u.value,
|
|
1977
1977
|
b.value,
|
|
1978
1978
|
k.value,
|
|
@@ -1980,60 +1980,60 @@ function sr(e = {}) {
|
|
|
1980
1980
|
];
|
|
1981
1981
|
}
|
|
1982
1982
|
const p = q({
|
|
1983
|
-
get: () =>
|
|
1983
|
+
get: () => d.value,
|
|
1984
1984
|
set: (_) => {
|
|
1985
|
-
|
|
1985
|
+
d.value = _, m.locale = d.value;
|
|
1986
1986
|
}
|
|
1987
1987
|
}), D = q({
|
|
1988
1988
|
get: () => u.value,
|
|
1989
1989
|
set: (_) => {
|
|
1990
|
-
u.value = _,
|
|
1990
|
+
u.value = _, m.fallbackLocale = u.value, Qe(m, d.value, _);
|
|
1991
1991
|
}
|
|
1992
1992
|
}), F = q(() => b.value), V = /* @__PURE__ */ q(() => k.value), ae = /* @__PURE__ */ q(() => T.value);
|
|
1993
1993
|
function O() {
|
|
1994
1994
|
return se(f) ? f : null;
|
|
1995
1995
|
}
|
|
1996
1996
|
function M(_) {
|
|
1997
|
-
f = _,
|
|
1997
|
+
f = _, m.postTranslation = _;
|
|
1998
1998
|
}
|
|
1999
1999
|
function C() {
|
|
2000
2000
|
return A;
|
|
2001
2001
|
}
|
|
2002
2002
|
function Z(_) {
|
|
2003
|
-
_ !== null && (i = On(_)), A = _,
|
|
2003
|
+
_ !== null && (i = On(_)), A = _, m.missing = i;
|
|
2004
2004
|
}
|
|
2005
|
-
const
|
|
2005
|
+
const x = (_, E, Q, le, Pe, at) => {
|
|
2006
2006
|
v();
|
|
2007
|
-
let
|
|
2007
|
+
let xe;
|
|
2008
2008
|
try {
|
|
2009
|
-
za.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (
|
|
2009
|
+
za.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (m.fallbackContext = t ? wa() : void 0), xe = _(m);
|
|
2010
2010
|
} finally {
|
|
2011
|
-
__INTLIFY_PROD_DEVTOOLS__, s || (
|
|
2011
|
+
__INTLIFY_PROD_DEVTOOLS__, s || (m.fallbackContext = void 0);
|
|
2012
2012
|
}
|
|
2013
2013
|
if (Q !== "translate exists" && // for not `te` (e.g `t`)
|
|
2014
|
-
ue(
|
|
2014
|
+
ue(xe) && xe === bt || Q === "translate exists" && !xe) {
|
|
2015
2015
|
const [Jn, Br] = E();
|
|
2016
2016
|
return t && W ? le(t) : Pe(Jn);
|
|
2017
2017
|
} else {
|
|
2018
|
-
if (at(
|
|
2019
|
-
return
|
|
2018
|
+
if (at(xe))
|
|
2019
|
+
return xe;
|
|
2020
2020
|
throw nt(He.UNEXPECTED_RETURN_TYPE);
|
|
2021
2021
|
}
|
|
2022
2022
|
};
|
|
2023
2023
|
function U(..._) {
|
|
2024
|
-
return
|
|
2024
|
+
return x((E) => Reflect.apply(In, null, [E, ..._]), () => jt(..._), "translate", (E) => Reflect.apply(E.t, E, [..._]), (E) => E, (E) => P(E));
|
|
2025
2025
|
}
|
|
2026
|
-
function
|
|
2026
|
+
function G(..._) {
|
|
2027
2027
|
const [E, Q, le] = _;
|
|
2028
2028
|
if (le && !$(le))
|
|
2029
2029
|
throw nt(He.INVALID_ARGUMENT);
|
|
2030
|
-
return U(E, Q,
|
|
2030
|
+
return U(E, Q, me({ resolvedMessage: !0 }, le || {}));
|
|
2031
2031
|
}
|
|
2032
2032
|
function X(..._) {
|
|
2033
|
-
return
|
|
2033
|
+
return x((E) => Reflect.apply(pn, null, [E, ..._]), () => Pt(..._), "datetime format", (E) => Reflect.apply(E.d, E, [..._]), () => mn, (E) => P(E));
|
|
2034
2034
|
}
|
|
2035
2035
|
function ve(..._) {
|
|
2036
|
-
return
|
|
2036
|
+
return x((E) => Reflect.apply(bn, null, [E, ..._]), () => Ft(..._), "number format", (E) => Reflect.apply(E.n, E, [..._]), () => mn, (E) => P(E));
|
|
2037
2037
|
}
|
|
2038
2038
|
function _e(_) {
|
|
2039
2039
|
return _.map((E) => P(E) || ue(E) || oe(E) ? yn(String(E)) : E);
|
|
@@ -2044,7 +2044,7 @@ function sr(e = {}) {
|
|
|
2044
2044
|
type: "vnode"
|
|
2045
2045
|
};
|
|
2046
2046
|
function Ee(..._) {
|
|
2047
|
-
return
|
|
2047
|
+
return x((E) => {
|
|
2048
2048
|
let Q;
|
|
2049
2049
|
const le = E;
|
|
2050
2050
|
try {
|
|
@@ -2056,27 +2056,27 @@ function sr(e = {}) {
|
|
|
2056
2056
|
}, () => jt(..._), "translate", (E) => E[Ut](..._), (E) => [yn(E)], (E) => ie(E));
|
|
2057
2057
|
}
|
|
2058
2058
|
function Je(..._) {
|
|
2059
|
-
return
|
|
2059
|
+
return x((E) => Reflect.apply(bn, null, [E, ..._]), () => Ft(..._), "number format", (E) => E[Wt](..._), kn, (E) => P(E) || ie(E));
|
|
2060
2060
|
}
|
|
2061
2061
|
function $e(..._) {
|
|
2062
|
-
return
|
|
2062
|
+
return x((E) => Reflect.apply(pn, null, [E, ..._]), () => Pt(..._), "datetime format", (E) => E[Vt](..._), kn, (E) => P(E) || ie(E));
|
|
2063
2063
|
}
|
|
2064
2064
|
function vt(_) {
|
|
2065
|
-
R = _,
|
|
2065
|
+
R = _, m.pluralRules = R;
|
|
2066
2066
|
}
|
|
2067
2067
|
function Et(_, E) {
|
|
2068
|
-
return
|
|
2068
|
+
return x(() => {
|
|
2069
2069
|
if (!_)
|
|
2070
2070
|
return !1;
|
|
2071
|
-
const Q = P(E) ? E :
|
|
2071
|
+
const Q = P(E) ? E : d.value, le = We(Q), Pe = m.messageResolver(le, _);
|
|
2072
2072
|
return Be(Pe) || ge(Pe) || P(Pe);
|
|
2073
2073
|
}, () => [_], "translate exists", (Q) => Reflect.apply(Q.te, Q, [_, E]), tr, (Q) => oe(Q));
|
|
2074
2074
|
}
|
|
2075
2075
|
function It(_) {
|
|
2076
2076
|
let E = null;
|
|
2077
|
-
const Q = Dn(
|
|
2077
|
+
const Q = Dn(m, u.value, d.value);
|
|
2078
2078
|
for (let le = 0; le < Q.length; le++) {
|
|
2079
|
-
const Pe = b.value[Q[le]] || {}, at =
|
|
2079
|
+
const Pe = b.value[Q[le]] || {}, at = m.messageResolver(Pe, _);
|
|
2080
2080
|
if (at != null) {
|
|
2081
2081
|
E = at;
|
|
2082
2082
|
break;
|
|
@@ -2091,14 +2091,14 @@ function sr(e = {}) {
|
|
|
2091
2091
|
function We(_) {
|
|
2092
2092
|
return b.value[_] || {};
|
|
2093
2093
|
}
|
|
2094
|
-
function
|
|
2094
|
+
function Ge(_, E) {
|
|
2095
2095
|
if (l) {
|
|
2096
2096
|
const Q = { [_]: E };
|
|
2097
2097
|
for (const le in Q)
|
|
2098
2098
|
ye(Q, le) && st(Q[le]);
|
|
2099
2099
|
E = Q[_];
|
|
2100
2100
|
}
|
|
2101
|
-
b.value[_] = E,
|
|
2101
|
+
b.value[_] = E, m.messages = b.value;
|
|
2102
2102
|
}
|
|
2103
2103
|
function Ke(_, E) {
|
|
2104
2104
|
b.value[_] = b.value[_] || {};
|
|
@@ -2106,30 +2106,30 @@ function sr(e = {}) {
|
|
|
2106
2106
|
if (l)
|
|
2107
2107
|
for (const le in Q)
|
|
2108
2108
|
ye(Q, le) && st(Q[le]);
|
|
2109
|
-
E = Q[_],
|
|
2109
|
+
E = Q[_], mt(E, b.value[_]), m.messages = b.value;
|
|
2110
2110
|
}
|
|
2111
2111
|
function yt(_) {
|
|
2112
2112
|
return k.value[_] || {};
|
|
2113
2113
|
}
|
|
2114
2114
|
function r(_, E) {
|
|
2115
|
-
k.value[_] = E,
|
|
2115
|
+
k.value[_] = E, m.datetimeFormats = k.value, hn(m, _, E);
|
|
2116
2116
|
}
|
|
2117
2117
|
function o(_, E) {
|
|
2118
|
-
k.value[_] =
|
|
2118
|
+
k.value[_] = me(k.value[_] || {}, E), m.datetimeFormats = k.value, hn(m, _, E);
|
|
2119
2119
|
}
|
|
2120
2120
|
function g(_) {
|
|
2121
2121
|
return T.value[_] || {};
|
|
2122
2122
|
}
|
|
2123
2123
|
function j(_, E) {
|
|
2124
|
-
T.value[_] = E,
|
|
2124
|
+
T.value[_] = E, m.numberFormats = T.value, gn(m, _, E);
|
|
2125
2125
|
}
|
|
2126
2126
|
function re(_, E) {
|
|
2127
|
-
T.value[_] =
|
|
2127
|
+
T.value[_] = me(T.value[_] || {}, E), m.numberFormats = T.value, gn(m, _, E);
|
|
2128
2128
|
}
|
|
2129
2129
|
Tn++, t && en && (St(t.locale, (_) => {
|
|
2130
|
-
c && (
|
|
2130
|
+
c && (d.value = _, m.locale = _, Qe(m, d.value, u.value));
|
|
2131
2131
|
}), St(t.fallbackLocale, (_) => {
|
|
2132
|
-
c && (u.value = _,
|
|
2132
|
+
c && (u.value = _, m.fallbackLocale = _, Qe(m, d.value, u.value));
|
|
2133
2133
|
}));
|
|
2134
2134
|
const Y = {
|
|
2135
2135
|
id: Tn,
|
|
@@ -2139,7 +2139,7 @@ function sr(e = {}) {
|
|
|
2139
2139
|
return c;
|
|
2140
2140
|
},
|
|
2141
2141
|
set inheritLocale(_) {
|
|
2142
|
-
c = _, _ && t && (
|
|
2142
|
+
c = _, _ && t && (d.value = t.locale.value, u.value = t.fallbackLocale.value, Qe(m, d.value, u.value));
|
|
2143
2143
|
},
|
|
2144
2144
|
get availableLocales() {
|
|
2145
2145
|
return Object.keys(b.value).sort();
|
|
@@ -2158,13 +2158,13 @@ function sr(e = {}) {
|
|
|
2158
2158
|
return I;
|
|
2159
2159
|
},
|
|
2160
2160
|
set missingWarn(_) {
|
|
2161
|
-
I = _,
|
|
2161
|
+
I = _, m.missingWarn = I;
|
|
2162
2162
|
},
|
|
2163
2163
|
get fallbackWarn() {
|
|
2164
2164
|
return w;
|
|
2165
2165
|
},
|
|
2166
2166
|
set fallbackWarn(_) {
|
|
2167
|
-
w = _,
|
|
2167
|
+
w = _, m.fallbackWarn = w;
|
|
2168
2168
|
},
|
|
2169
2169
|
get fallbackRoot() {
|
|
2170
2170
|
return W;
|
|
@@ -2176,23 +2176,23 @@ function sr(e = {}) {
|
|
|
2176
2176
|
return N;
|
|
2177
2177
|
},
|
|
2178
2178
|
set fallbackFormat(_) {
|
|
2179
|
-
N = _,
|
|
2179
|
+
N = _, m.fallbackFormat = N;
|
|
2180
2180
|
},
|
|
2181
2181
|
get warnHtmlMessage() {
|
|
2182
2182
|
return y;
|
|
2183
2183
|
},
|
|
2184
2184
|
set warnHtmlMessage(_) {
|
|
2185
|
-
y = _,
|
|
2185
|
+
y = _, m.warnHtmlMessage = _;
|
|
2186
2186
|
},
|
|
2187
2187
|
get escapeParameter() {
|
|
2188
2188
|
return h;
|
|
2189
2189
|
},
|
|
2190
2190
|
set escapeParameter(_) {
|
|
2191
|
-
h = _,
|
|
2191
|
+
h = _, m.escapeParameter = _;
|
|
2192
2192
|
},
|
|
2193
2193
|
t: U,
|
|
2194
2194
|
getLocaleMessage: We,
|
|
2195
|
-
setLocaleMessage:
|
|
2195
|
+
setLocaleMessage: Ge,
|
|
2196
2196
|
mergeLocaleMessage: Ke,
|
|
2197
2197
|
getPostTranslationHandler: O,
|
|
2198
2198
|
setPostTranslationHandler: M,
|
|
@@ -2200,7 +2200,7 @@ function sr(e = {}) {
|
|
|
2200
2200
|
setMissingHandler: Z,
|
|
2201
2201
|
[qa]: vt
|
|
2202
2202
|
};
|
|
2203
|
-
return Y.datetimeFormats = V, Y.numberFormats = ae, Y.rt =
|
|
2203
|
+
return Y.datetimeFormats = V, Y.numberFormats = ae, Y.rt = G, Y.te = Et, Y.tm = ze, Y.d = X, Y.n = ve, Y.getDateTimeFormat = yt, Y.setDateTimeFormat = r, Y.mergeDateTimeFormat = o, Y.getNumberFormat = g, Y.setNumberFormat = j, Y.mergeNumberFormat = re, Y[Xn] = n, Y[Ut] = Ee, Y[Vt] = $e, Y[Wt] = Je, Y;
|
|
2204
2204
|
}
|
|
2205
2205
|
const zt = {
|
|
2206
2206
|
tag: {
|
|
@@ -2233,7 +2233,7 @@ function ar({ slots: e }, t) {
|
|
|
2233
2233
|
function Bn() {
|
|
2234
2234
|
return Ie;
|
|
2235
2235
|
}
|
|
2236
|
-
|
|
2236
|
+
me({
|
|
2237
2237
|
keypath: {
|
|
2238
2238
|
type: String,
|
|
2239
2239
|
required: !0
|
|
@@ -2250,19 +2250,19 @@ function Hn(e, t, n, s) {
|
|
|
2250
2250
|
const { slots: l, attrs: a } = t;
|
|
2251
2251
|
return () => {
|
|
2252
2252
|
const c = { part: !0 };
|
|
2253
|
-
let
|
|
2254
|
-
e.locale && (c.locale = e.locale), P(e.format) ? c.key = e.format : $(e.format) && (P(e.format.key) && (c.key = e.format.key),
|
|
2255
|
-
const u = s(e.value, c,
|
|
2253
|
+
let d = K();
|
|
2254
|
+
e.locale && (c.locale = e.locale), P(e.format) ? c.key = e.format : $(e.format) && (P(e.format.key) && (c.key = e.format.key), d = Object.keys(e.format).reduce((I, w) => n.includes(w) ? me(K(), I, { [w]: e.format[w] }) : I, K()));
|
|
2255
|
+
const u = s(e.value, c, d);
|
|
2256
2256
|
let b = [c.key];
|
|
2257
2257
|
ie(u) ? b = u.map((I, w) => {
|
|
2258
2258
|
const W = l[I.type], N = W ? W({ [I.type]: I.value, index: w, parts: u }) : [I.value];
|
|
2259
2259
|
return rr(N) && (N[0].key = `${I.type}-${w}`), N;
|
|
2260
2260
|
}) : P(u) && (b = [u]);
|
|
2261
|
-
const k =
|
|
2261
|
+
const k = me(K(), a), T = P(e.tag) || $(e.tag) ? e.tag : Bn();
|
|
2262
2262
|
return Sn(T, k, b);
|
|
2263
2263
|
};
|
|
2264
2264
|
}
|
|
2265
|
-
|
|
2265
|
+
me({
|
|
2266
2266
|
value: {
|
|
2267
2267
|
type: Number,
|
|
2268
2268
|
required: !0
|
|
@@ -2271,7 +2271,7 @@ de({
|
|
|
2271
2271
|
type: [String, Object]
|
|
2272
2272
|
}
|
|
2273
2273
|
}, zt);
|
|
2274
|
-
|
|
2274
|
+
me({
|
|
2275
2275
|
value: {
|
|
2276
2276
|
type: [Number, Date],
|
|
2277
2277
|
required: !0
|
|
@@ -2282,7 +2282,7 @@ de({
|
|
|
2282
2282
|
}, zt);
|
|
2283
2283
|
const lr = /* @__PURE__ */ Ve("global-vue-i18n");
|
|
2284
2284
|
function gt(e = {}) {
|
|
2285
|
-
const t =
|
|
2285
|
+
const t = xt();
|
|
2286
2286
|
if (t == null)
|
|
2287
2287
|
throw nt(He.MUST_BE_CALL_SETUP_TOP);
|
|
2288
2288
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
@@ -2295,12 +2295,12 @@ function gt(e = {}) {
|
|
|
2295
2295
|
return u == null && (u = s), u;
|
|
2296
2296
|
}
|
|
2297
2297
|
const c = n;
|
|
2298
|
-
let
|
|
2299
|
-
if (
|
|
2300
|
-
const u =
|
|
2301
|
-
"__i18n" in l && (u.__i18n = l.__i18n), s && (u.__root = s),
|
|
2298
|
+
let d = c.__getInstance(t);
|
|
2299
|
+
if (d == null) {
|
|
2300
|
+
const u = me({}, e);
|
|
2301
|
+
"__i18n" in l && (u.__i18n = l.__i18n), s && (u.__root = s), d = sr(u), c.__composerExtend && (d[Gt] = c.__composerExtend(d)), dr(c, t, d), c.__setInstance(t, d);
|
|
2302
2302
|
}
|
|
2303
|
-
return
|
|
2303
|
+
return d;
|
|
2304
2304
|
}
|
|
2305
2305
|
function or(e) {
|
|
2306
2306
|
const t = $n(e.isCE ? lr : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
@@ -2317,14 +2317,14 @@ function cr(e) {
|
|
|
2317
2317
|
function ur(e, t, n = !1) {
|
|
2318
2318
|
let s = null;
|
|
2319
2319
|
const l = t.root;
|
|
2320
|
-
let a =
|
|
2320
|
+
let a = mr(t, n);
|
|
2321
2321
|
for (; a != null; ) {
|
|
2322
2322
|
const c = e;
|
|
2323
2323
|
if (e.mode === "composition")
|
|
2324
2324
|
s = c.__getInstance(a);
|
|
2325
2325
|
else if (__VUE_I18N_LEGACY_API__) {
|
|
2326
|
-
const
|
|
2327
|
-
|
|
2326
|
+
const d = c.__getInstance(a);
|
|
2327
|
+
d != null && (s = d.__composer, n && s && !s[Xn] && (s = null));
|
|
2328
2328
|
}
|
|
2329
2329
|
if (s != null || l === a)
|
|
2330
2330
|
break;
|
|
@@ -2332,16 +2332,16 @@ function ur(e, t, n = !1) {
|
|
|
2332
2332
|
}
|
|
2333
2333
|
return s;
|
|
2334
2334
|
}
|
|
2335
|
-
function
|
|
2335
|
+
function mr(e, t = !1) {
|
|
2336
2336
|
return e == null ? null : t && e.vnode.ctx || e.parent;
|
|
2337
2337
|
}
|
|
2338
|
-
function
|
|
2338
|
+
function dr(e, t, n) {
|
|
2339
2339
|
Xt(() => {
|
|
2340
2340
|
}, t), An(() => {
|
|
2341
2341
|
const s = n;
|
|
2342
2342
|
e.__deleteInstance(t);
|
|
2343
|
-
const l = s[
|
|
2344
|
-
l && (l(), delete s[
|
|
2343
|
+
const l = s[Gt];
|
|
2344
|
+
l && (l(), delete s[Gt]);
|
|
2345
2345
|
}, t);
|
|
2346
2346
|
}
|
|
2347
2347
|
Qa();
|
|
@@ -2350,7 +2350,7 @@ Aa(Oa);
|
|
|
2350
2350
|
Sa(Dn);
|
|
2351
2351
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
2352
2352
|
const e = je();
|
|
2353
|
-
e.__INTLIFY__ = !0,
|
|
2353
|
+
e.__INTLIFY__ = !0, ma(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
2354
2354
|
}
|
|
2355
2355
|
const it = /* @__PURE__ */ Ne({
|
|
2356
2356
|
__name: "InheritPermissionTooltip",
|
|
@@ -2376,7 +2376,7 @@ const it = /* @__PURE__ */ Ne({
|
|
|
2376
2376
|
]))), 128))
|
|
2377
2377
|
]),
|
|
2378
2378
|
default: he(() => [
|
|
2379
|
-
|
|
2379
|
+
de(l, {
|
|
2380
2380
|
name: "admin_panel_settings",
|
|
2381
2381
|
size: "sm",
|
|
2382
2382
|
class: "ml-1 text-fm-color-typo-info"
|
|
@@ -2494,7 +2494,7 @@ const vr = { class: "col flex items-center" }, Er = {
|
|
|
2494
2494
|
},
|
|
2495
2495
|
emits: ["update:model-value"],
|
|
2496
2496
|
setup(e, { emit: t }) {
|
|
2497
|
-
const n = e, s = t, { t: l } = _t(), a = Ue(!1), c = qn(),
|
|
2497
|
+
const n = e, s = t, { t: l } = _t(), a = Ue(!1), c = qn(), d = q(() => n.modelValue.length < n.min ? `Min selection ${n.min}` : n.max !== void 0 && n.modelValue.length > n.max ? `Max selection ${n.max}` : !0), u = `checkbox-${gr(6)}`, b = q(() => d.value !== !0), k = q(
|
|
2498
2498
|
() => n.modelValue.filter((N) => n.options.some((A) => A.value === N))
|
|
2499
2499
|
), T = q(
|
|
2500
2500
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
@@ -2543,7 +2543,7 @@ const vr = { class: "col flex items-center" }, Er = {
|
|
|
2543
2543
|
class: qe(["row justify-between", e.alignCenter ? "items-center" : "items-start"])
|
|
2544
2544
|
}, [
|
|
2545
2545
|
te("div", vr, [
|
|
2546
|
-
|
|
2546
|
+
de(i, {
|
|
2547
2547
|
"model-value": e.modelValue.includes(f.value),
|
|
2548
2548
|
disabled: e.disable || f.disabled,
|
|
2549
2549
|
size: "sm",
|
|
@@ -2579,7 +2579,7 @@ const vr = { class: "col flex items-center" }, Er = {
|
|
|
2579
2579
|
})
|
|
2580
2580
|
], 6)) : Oe("", !0)
|
|
2581
2581
|
], 6))), 128)),
|
|
2582
|
-
a.value && b.value ? (B(), ee("div", Er, Ae(
|
|
2582
|
+
a.value && b.value ? (B(), ee("div", Er, Ae(d.value), 1)) : Oe("", !0)
|
|
2583
2583
|
]),
|
|
2584
2584
|
_: 3
|
|
2585
2585
|
}, 8, ["title"]);
|
|
@@ -2587,11 +2587,11 @@ const vr = { class: "col flex items-center" }, Er = {
|
|
|
2587
2587
|
}
|
|
2588
2588
|
});
|
|
2589
2589
|
function Ln(e, t, n) {
|
|
2590
|
-
const s = n.filter((
|
|
2590
|
+
const s = n.filter((d) => d !== "manage");
|
|
2591
2591
|
if (s.length === 0) return;
|
|
2592
|
-
const l = e.findIndex((
|
|
2592
|
+
const l = e.findIndex((d) => d.subject === t && !d.inverted);
|
|
2593
2593
|
if (l < 0) return;
|
|
2594
|
-
const a = new Set(e[l].actions), c = s.every((
|
|
2594
|
+
const a = new Set(e[l].actions), c = s.every((d) => a.has(d));
|
|
2595
2595
|
c && !a.has("manage") ? (a.add("manage"), e[l] = {
|
|
2596
2596
|
...e[l],
|
|
2597
2597
|
actions: Array.from(a)
|
|
@@ -2602,37 +2602,37 @@ function Ln(e, t, n) {
|
|
|
2602
2602
|
}
|
|
2603
2603
|
const Cn = Object.values(cs);
|
|
2604
2604
|
function Ir(e, t, n, s) {
|
|
2605
|
-
const { getFlagValue: l } =
|
|
2606
|
-
const
|
|
2605
|
+
const { getFlagValue: l } = ms(), a = q(() => {
|
|
2606
|
+
const m = /* @__PURE__ */ new Map(), L = /* @__PURE__ */ new Map();
|
|
2607
2607
|
for (const p of t.value) {
|
|
2608
2608
|
const D = p.category;
|
|
2609
|
-
D && (n.value.includes(p.subject) || p.showByFeatureFlag && l(p.showByFeatureFlag) === "false" || (
|
|
2609
|
+
D && (n.value.includes(p.subject) || p.showByFeatureFlag && l(p.showByFeatureFlag) === "false" || (m.has(D) || m.set(D, []), m.get(D).push({ label: p.label, value: p.subject }), L.set(p.subject, p)));
|
|
2610
2610
|
}
|
|
2611
|
-
return [...
|
|
2611
|
+
return [...m.keys()].sort((p, D) => {
|
|
2612
2612
|
const F = Cn.indexOf(p), V = Cn.indexOf(D);
|
|
2613
2613
|
return F === -1 && V === -1 ? p.localeCompare(D) : F === -1 ? 1 : V === -1 ? -1 : F - V;
|
|
2614
2614
|
}).map((p) => {
|
|
2615
|
-
const D =
|
|
2616
|
-
for (const
|
|
2617
|
-
const X = L.get(
|
|
2618
|
-
X && F.set(
|
|
2615
|
+
const D = m.get(p), F = /* @__PURE__ */ new Map();
|
|
2616
|
+
for (const G of D) {
|
|
2617
|
+
const X = L.get(G.value);
|
|
2618
|
+
X && F.set(G.value, X.actions);
|
|
2619
2619
|
}
|
|
2620
|
-
const V = D.some((
|
|
2621
|
-
const X = F.get(
|
|
2620
|
+
const V = D.some((G) => {
|
|
2621
|
+
const X = F.get(G.value);
|
|
2622
2622
|
return X && X.length > 1;
|
|
2623
2623
|
}), ae = V ? [
|
|
2624
2624
|
...new Set(
|
|
2625
|
-
D.flatMap((
|
|
2625
|
+
D.flatMap((G) => F.get(G.value) ?? []).filter((G) => G !== "manage")
|
|
2626
2626
|
)
|
|
2627
2627
|
] : [], O = /* @__PURE__ */ new Map();
|
|
2628
|
-
for (const
|
|
2629
|
-
D.some((X) => X.value ===
|
|
2628
|
+
for (const G of e.value)
|
|
2629
|
+
D.some((X) => X.value === G.subject) && !G.inverted && O.set(G.subject, new Set(G.actions));
|
|
2630
2630
|
const M = V ? e.value.filter(
|
|
2631
|
-
(
|
|
2632
|
-
).map((
|
|
2631
|
+
(G) => D.some((X) => X.value === G.subject) && !G.inverted && G.actions.includes("manage")
|
|
2632
|
+
).map((G) => G.subject) : e.value.filter((G) => D.some((X) => X.value === G.subject) && !G.inverted).map((G) => G.subject), C = D.find((G) => {
|
|
2633
2633
|
var X;
|
|
2634
|
-
return (X = L.get(
|
|
2635
|
-
}), Z = (C == null ? void 0 : C.value) ?? null,
|
|
2634
|
+
return (X = L.get(G.value)) == null ? void 0 : X.isCategoryCover;
|
|
2635
|
+
}), Z = (C == null ? void 0 : C.value) ?? null, x = Z ? O.get(Z) ?? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set(), U = x.has("manage");
|
|
2636
2636
|
return {
|
|
2637
2637
|
category: p,
|
|
2638
2638
|
options: D,
|
|
@@ -2642,14 +2642,14 @@ function Ir(e, t, n, s) {
|
|
|
2642
2642
|
permissionActionsMap: F,
|
|
2643
2643
|
selectedActionsMap: O,
|
|
2644
2644
|
coverSubject: Z,
|
|
2645
|
-
coverSelectedActions:
|
|
2645
|
+
coverSelectedActions: x,
|
|
2646
2646
|
coverCoversAll: U
|
|
2647
2647
|
};
|
|
2648
2648
|
});
|
|
2649
2649
|
});
|
|
2650
|
-
function c(
|
|
2650
|
+
function c(m, L) {
|
|
2651
2651
|
var p;
|
|
2652
|
-
const v = ((p = a.value.find((D) => D.category ===
|
|
2652
|
+
const v = ((p = a.value.find((D) => D.category === m)) == null ? void 0 : p.options) ?? [];
|
|
2653
2653
|
s("update:model-value", [
|
|
2654
2654
|
...e.value.filter((D) => !v.some((F) => F.value === D.subject)),
|
|
2655
2655
|
...t.value.filter((D) => L.includes(D.subject)).map(
|
|
@@ -2657,37 +2657,37 @@ function Ir(e, t, n, s) {
|
|
|
2657
2657
|
)
|
|
2658
2658
|
]);
|
|
2659
2659
|
}
|
|
2660
|
-
function m
|
|
2661
|
-
return
|
|
2660
|
+
function d(m) {
|
|
2661
|
+
return m.options.length > 0 && m.options.every((L) => m.selectedSubjects.includes(L.value));
|
|
2662
2662
|
}
|
|
2663
|
-
function u(
|
|
2663
|
+
function u(m) {
|
|
2664
2664
|
const L = e.value.filter(
|
|
2665
|
-
(v) => !
|
|
2665
|
+
(v) => !m.options.some((p) => p.value === v.subject)
|
|
2666
2666
|
);
|
|
2667
|
-
if (m
|
|
2667
|
+
if (d(m))
|
|
2668
2668
|
s("update:model-value", L);
|
|
2669
2669
|
else {
|
|
2670
|
-
const v = t.value.filter((p) =>
|
|
2670
|
+
const v = t.value.filter((p) => m.options.some((D) => D.value === p.subject)).map(
|
|
2671
2671
|
({ category: p, showByFeatureFlag: D, isCategoryCover: F, ...V }) => V
|
|
2672
2672
|
);
|
|
2673
2673
|
s("update:model-value", [...L, ...v]);
|
|
2674
2674
|
}
|
|
2675
2675
|
}
|
|
2676
|
-
function b(
|
|
2677
|
-
const v =
|
|
2676
|
+
function b(m, L) {
|
|
2677
|
+
const v = m.selectedActionsMap.get(L);
|
|
2678
2678
|
return v ? v.has("manage") : !1;
|
|
2679
2679
|
}
|
|
2680
|
-
function k(
|
|
2681
|
-
const v =
|
|
2680
|
+
function k(m, L) {
|
|
2681
|
+
const v = m.permissionActionsMap.get(L);
|
|
2682
2682
|
if (!v) return !1;
|
|
2683
2683
|
const p = v.filter((V) => V !== "manage");
|
|
2684
2684
|
if (p.length === 0) return !1;
|
|
2685
|
-
const D =
|
|
2685
|
+
const D = m.selectedActionsMap.get(L);
|
|
2686
2686
|
if (!D) return !1;
|
|
2687
2687
|
const F = p.filter((V) => D.has(V));
|
|
2688
2688
|
return F.length > 0 && F.length < p.length;
|
|
2689
2689
|
}
|
|
2690
|
-
function T(
|
|
2690
|
+
function T(m, L, v) {
|
|
2691
2691
|
if (v) {
|
|
2692
2692
|
const p = t.value.find((M) => M.subject === L);
|
|
2693
2693
|
if (!p) return;
|
|
@@ -2704,32 +2704,32 @@ function Ir(e, t, n, s) {
|
|
|
2704
2704
|
e.value.filter((p) => p.subject !== L)
|
|
2705
2705
|
);
|
|
2706
2706
|
}
|
|
2707
|
-
function I(
|
|
2708
|
-
const v =
|
|
2707
|
+
function I(m, L) {
|
|
2708
|
+
const v = m.permissionActionsMap.get(L);
|
|
2709
2709
|
return v ? v.some((p) => p !== "manage") : !1;
|
|
2710
2710
|
}
|
|
2711
|
-
function w(
|
|
2712
|
-
const p =
|
|
2711
|
+
function w(m, L, v) {
|
|
2712
|
+
const p = m.selectedActionsMap.get(L);
|
|
2713
2713
|
return p ? p.has(v) : !1;
|
|
2714
2714
|
}
|
|
2715
|
-
function W(
|
|
2716
|
-
return !
|
|
2715
|
+
function W(m, L) {
|
|
2716
|
+
return !m.coverSubject || L === m.coverSubject ? !1 : m.coverCoversAll;
|
|
2717
2717
|
}
|
|
2718
|
-
function N(
|
|
2719
|
-
return !
|
|
2718
|
+
function N(m, L, v) {
|
|
2719
|
+
return !m.coverSubject || L === m.coverSubject ? !1 : m.coverCoversAll ? !0 : m.coverSelectedActions.has(v);
|
|
2720
2720
|
}
|
|
2721
|
-
function A(
|
|
2722
|
-
const p =
|
|
2721
|
+
function A(m, L, v) {
|
|
2722
|
+
const p = m.permissionActionsMap.get(L);
|
|
2723
2723
|
return p ? p.includes(v) : !1;
|
|
2724
2724
|
}
|
|
2725
|
-
function i(
|
|
2726
|
-
const p = [...e.value], D = p.findIndex((V) => V.subject ===
|
|
2725
|
+
function i(m, L, v) {
|
|
2726
|
+
const p = [...e.value], D = p.findIndex((V) => V.subject === m && !V.inverted);
|
|
2727
2727
|
if (v)
|
|
2728
2728
|
if (D >= 0) {
|
|
2729
2729
|
const V = { ...p[D] }, ae = new Set(V.actions);
|
|
2730
2730
|
ae.add(L), V.actions = Array.from(ae), p[D] = V;
|
|
2731
2731
|
} else {
|
|
2732
|
-
const V = t.value.find((Z) => Z.subject ===
|
|
2732
|
+
const V = t.value.find((Z) => Z.subject === m);
|
|
2733
2733
|
if (!V) return;
|
|
2734
2734
|
const {
|
|
2735
2735
|
category: ae,
|
|
@@ -2743,31 +2743,31 @@ function Ir(e, t, n, s) {
|
|
|
2743
2743
|
const V = { ...p[D] }, ae = V.actions.filter((O) => O !== L);
|
|
2744
2744
|
ae.length === 0 ? p.splice(D, 1) : (V.actions = ae, p[D] = V);
|
|
2745
2745
|
}
|
|
2746
|
-
const F = t.value.find((V) => V.subject ===
|
|
2747
|
-
F && Ln(p,
|
|
2746
|
+
const F = t.value.find((V) => V.subject === m);
|
|
2747
|
+
F && Ln(p, m, F.actions), s("update:model-value", p);
|
|
2748
2748
|
}
|
|
2749
|
-
function f(
|
|
2750
|
-
const v =
|
|
2751
|
-
(p) => A(
|
|
2749
|
+
function f(m, L) {
|
|
2750
|
+
const v = m.options.filter(
|
|
2751
|
+
(p) => A(m, p.value, L)
|
|
2752
2752
|
);
|
|
2753
2753
|
return v.length === 0 ? !1 : v.every(
|
|
2754
|
-
(p) => w(
|
|
2754
|
+
(p) => w(m, p.value, L) || N(m, p.value, L)
|
|
2755
2755
|
);
|
|
2756
2756
|
}
|
|
2757
|
-
function y(
|
|
2758
|
-
const v =
|
|
2759
|
-
(D) => A(
|
|
2757
|
+
function y(m, L) {
|
|
2758
|
+
const v = m.options.filter(
|
|
2759
|
+
(D) => A(m, D.value, L)
|
|
2760
2760
|
);
|
|
2761
2761
|
if (v.length === 0) return !1;
|
|
2762
2762
|
const p = v.filter(
|
|
2763
|
-
(D) => w(
|
|
2763
|
+
(D) => w(m, D.value, L) || N(m, D.value, L)
|
|
2764
2764
|
).length;
|
|
2765
2765
|
return p > 0 && p < v.length;
|
|
2766
2766
|
}
|
|
2767
|
-
function h(
|
|
2767
|
+
function h(m, L, v) {
|
|
2768
2768
|
const p = [...e.value];
|
|
2769
|
-
for (const D of
|
|
2770
|
-
if (!A(
|
|
2769
|
+
for (const D of m.options) {
|
|
2770
|
+
if (!A(m, D.value, L)) continue;
|
|
2771
2771
|
const F = D.value, V = p.findIndex(
|
|
2772
2772
|
(O) => O.subject === F && !O.inverted
|
|
2773
2773
|
);
|
|
@@ -2782,9 +2782,9 @@ function Ir(e, t, n, s) {
|
|
|
2782
2782
|
category: M,
|
|
2783
2783
|
showByFeatureFlag: C,
|
|
2784
2784
|
isCategoryCover: Z,
|
|
2785
|
-
...
|
|
2785
|
+
...x
|
|
2786
2786
|
} = O;
|
|
2787
|
-
p.push({ ...
|
|
2787
|
+
p.push({ ...x, actions: [L] });
|
|
2788
2788
|
}
|
|
2789
2789
|
else if (V >= 0) {
|
|
2790
2790
|
const O = { ...p[V] }, M = O.actions.filter((C) => C !== L);
|
|
@@ -2800,13 +2800,13 @@ function Ir(e, t, n, s) {
|
|
|
2800
2800
|
create: "Duplicate",
|
|
2801
2801
|
update: "Edit"
|
|
2802
2802
|
};
|
|
2803
|
-
function R(
|
|
2804
|
-
return S[
|
|
2803
|
+
function R(m) {
|
|
2804
|
+
return S[m] ?? m.charAt(0).toUpperCase() + m.slice(1);
|
|
2805
2805
|
}
|
|
2806
2806
|
return {
|
|
2807
2807
|
categoryGroups: a,
|
|
2808
2808
|
toggleCategory: c,
|
|
2809
|
-
isAllManageChecked:
|
|
2809
|
+
isAllManageChecked: d,
|
|
2810
2810
|
toggleAllManage: u,
|
|
2811
2811
|
isManageChecked: b,
|
|
2812
2812
|
isManageIndeterminate: k,
|
|
@@ -2854,7 +2854,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
2854
2854
|
const n = e, s = t, l = q(() => [...Mt, ...n.additionalPermissions]), {
|
|
2855
2855
|
categoryGroups: a,
|
|
2856
2856
|
toggleCategory: c,
|
|
2857
|
-
isAllManageChecked:
|
|
2857
|
+
isAllManageChecked: d,
|
|
2858
2858
|
toggleAllManage: u,
|
|
2859
2859
|
isManageChecked: b,
|
|
2860
2860
|
isManageIndeterminate: k,
|
|
@@ -2873,9 +2873,9 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
2873
2873
|
Qt(n, "modelValue"),
|
|
2874
2874
|
l,
|
|
2875
2875
|
Qt(n, "excludedSubjects"),
|
|
2876
|
-
(R,
|
|
2876
|
+
(R, m) => s("update:model-value", m)
|
|
2877
2877
|
);
|
|
2878
|
-
return (R,
|
|
2878
|
+
return (R, m) => {
|
|
2879
2879
|
const L = Ye("FmCheckbox");
|
|
2880
2880
|
return B(), ee("div", yr, [
|
|
2881
2881
|
(B(!0), ee(Ie, null, pe(H(a), (v) => (B(), ee(Ie, {
|
|
@@ -2893,8 +2893,8 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
2893
2893
|
]),
|
|
2894
2894
|
te("div", Lr, [
|
|
2895
2895
|
te("div", Cr, [
|
|
2896
|
-
|
|
2897
|
-
"model-value": H(
|
|
2896
|
+
de(L, {
|
|
2897
|
+
"model-value": H(d)(v),
|
|
2898
2898
|
value: !0,
|
|
2899
2899
|
disabled: e.disable,
|
|
2900
2900
|
label: "All",
|
|
@@ -2907,7 +2907,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
2907
2907
|
key: p,
|
|
2908
2908
|
class: "w-[56px] flex justify-center"
|
|
2909
2909
|
}, [
|
|
2910
|
-
|
|
2910
|
+
de(L, {
|
|
2911
2911
|
"model-value": H(f)(v, p),
|
|
2912
2912
|
indeterminate: H(y)(v, p),
|
|
2913
2913
|
value: p,
|
|
@@ -2925,7 +2925,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
2925
2925
|
}, [
|
|
2926
2926
|
te("div", Ar, [
|
|
2927
2927
|
te("div", Sr, [
|
|
2928
|
-
|
|
2928
|
+
de(L, {
|
|
2929
2929
|
"model-value": H(b)(v, p.value) || H(W)(v, p.value),
|
|
2930
2930
|
value: p.value,
|
|
2931
2931
|
disabled: e.disable || H(W)(v, p.value),
|
|
@@ -2990,12 +2990,12 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
2990
2990
|
function c() {
|
|
2991
2991
|
n.value = !n.value;
|
|
2992
2992
|
}
|
|
2993
|
-
function
|
|
2993
|
+
function d() {
|
|
2994
2994
|
s.value && (l.value = s.value.scrollHeight);
|
|
2995
2995
|
}
|
|
2996
2996
|
return Xt(async () => {
|
|
2997
2997
|
await es(), s.value && (a = new ResizeObserver(() => {
|
|
2998
|
-
|
|
2998
|
+
d();
|
|
2999
2999
|
}), a.observe(s.value));
|
|
3000
3000
|
}), An(() => {
|
|
3001
3001
|
a == null || a.disconnect();
|
|
@@ -3006,7 +3006,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3006
3006
|
te("div", Pr, [
|
|
3007
3007
|
be(u.$slots, "title"),
|
|
3008
3008
|
te("div", Fr, [
|
|
3009
|
-
|
|
3009
|
+
de(k, {
|
|
3010
3010
|
icon: n.value ? "keyboard_arrow_down" : "keyboard_arrow_up",
|
|
3011
3011
|
"text-color": "neutral-gray-400",
|
|
3012
3012
|
variant: "tertiary",
|
|
@@ -3059,7 +3059,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3059
3059
|
(b) => b.label.toLocaleLowerCase().includes(u.value.toLocaleLowerCase())
|
|
3060
3060
|
)
|
|
3061
3061
|
]), c = q(() => n.modelValue ? n.modelValue : [Rt, ...n.options.map((b) => b.value)]);
|
|
3062
|
-
function
|
|
3062
|
+
function d(b) {
|
|
3063
3063
|
const k = b.length === a.value.length;
|
|
3064
3064
|
s("update:model-value", k ? null : b.filter((T) => T !== Rt));
|
|
3065
3065
|
}
|
|
@@ -3078,7 +3078,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3078
3078
|
class: "mt-16",
|
|
3079
3079
|
placeholder: H(l)("team.memberForm.permissions.search", { context: e.context })
|
|
3080
3080
|
}, null, 8, ["modelValue", "placeholder"])) : Oe("", !0),
|
|
3081
|
-
|
|
3081
|
+
de(Kt, {
|
|
3082
3082
|
"model-value": c.value,
|
|
3083
3083
|
options: a.value,
|
|
3084
3084
|
"show-intermediate": !1,
|
|
@@ -3087,7 +3087,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3087
3087
|
"include-disabled-options-when-select-all": !0,
|
|
3088
3088
|
title: "",
|
|
3089
3089
|
class: "mt-16",
|
|
3090
|
-
"onUpdate:modelValue":
|
|
3090
|
+
"onUpdate:modelValue": d
|
|
3091
3091
|
}, Fe({ _: 2 }, [
|
|
3092
3092
|
pe(a.value, (I) => ({
|
|
3093
3093
|
name: `checkbox-${I.value}-append`,
|
|
@@ -3138,7 +3138,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3138
3138
|
}))
|
|
3139
3139
|
];
|
|
3140
3140
|
}), c = q(() => n.modelValue ? n.modelValue : [At, ...n.roles.map((u) => u._id)]);
|
|
3141
|
-
function
|
|
3141
|
+
function d(u) {
|
|
3142
3142
|
const b = u.length === a.value.length;
|
|
3143
3143
|
s("update:model-value", b ? null : u.filter((k) => k !== At));
|
|
3144
3144
|
}
|
|
@@ -3149,7 +3149,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3149
3149
|
"show-all-toggle": !1,
|
|
3150
3150
|
disable: e.disable,
|
|
3151
3151
|
title: H(l)("team.memberForm.permissions.roles"),
|
|
3152
|
-
"onUpdate:modelValue":
|
|
3152
|
+
"onUpdate:modelValue": d
|
|
3153
3153
|
}, Fe({ _: 2 }, [
|
|
3154
3154
|
pe(a.value, (k) => ({
|
|
3155
3155
|
name: `checkbox-${k.value}-append`,
|
|
@@ -3163,7 +3163,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3163
3163
|
async readWarehouses() {
|
|
3164
3164
|
return os(await is().get("/warehouses"));
|
|
3165
3165
|
}
|
|
3166
|
-
},
|
|
3166
|
+
}, Gr = { class: "flex flex-col gap-32" }, xr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Xr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Yr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Zr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, tl = /* @__PURE__ */ Ne({
|
|
3167
3167
|
__name: "PortalPermissionEditor",
|
|
3168
3168
|
props: /* @__PURE__ */ qt({
|
|
3169
3169
|
disable: {
|
|
@@ -3180,12 +3180,12 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3180
3180
|
}),
|
|
3181
3181
|
emits: /* @__PURE__ */ qt(["permissionChanged"], ["update:modelValue"]),
|
|
3182
3182
|
setup(e, { emit: t }) {
|
|
3183
|
-
const n = ts(e, "modelValue"), s = e, l = t, { t: a } = _t(), { fetchCustomReportPermissions: c, customReportPermissions:
|
|
3183
|
+
const n = ts(e, "modelValue"), s = e, l = t, { t: a } = _t(), { fetchCustomReportPermissions: c, customReportPermissions: d } = ss();
|
|
3184
3184
|
function u(O) {
|
|
3185
|
-
return Mt.find((M) => M.subject === O) ??
|
|
3185
|
+
return Mt.find((M) => M.subject === O) ?? d.value.find((M) => M.subject === O);
|
|
3186
3186
|
}
|
|
3187
3187
|
const b = q(() => {
|
|
3188
|
-
const O = [...Mt, ...
|
|
3188
|
+
const O = [...Mt, ...d.value].filter((C) => !w.includes(C.subject)).map((C) => C.subject);
|
|
3189
3189
|
return as(
|
|
3190
3190
|
s.inheritPermissions.map((C) => ({
|
|
3191
3191
|
...C,
|
|
@@ -3261,10 +3261,10 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3261
3261
|
}
|
|
3262
3262
|
return C;
|
|
3263
3263
|
}
|
|
3264
|
-
const { restaurants: y } = ns(), h =
|
|
3264
|
+
const { restaurants: y } = ns(), h = ds().roles, S = q(() => y.value.map((O) => ({
|
|
3265
3265
|
label: `${O.profile.code ? O.profile.code + "-" : ""}${O.profile.name}`,
|
|
3266
3266
|
value: O._id
|
|
3267
|
-
}))), R = q(() => y.value.reduce((O, M) => (O[M._id] = h.value.filter((C) => C.restaurants.some((Z) => Z.id === M._id)).map((C) => C._id), O), {})),
|
|
3267
|
+
}))), R = q(() => y.value.reduce((O, M) => (O[M._id] = h.value.filter((C) => C.restaurants.some((Z) => Z.id === M._id)).map((C) => C._id), O), {})), m = q(() => rs(n.value));
|
|
3268
3268
|
function L(O) {
|
|
3269
3269
|
const M = p(n.value, O);
|
|
3270
3270
|
n.value = M;
|
|
@@ -3274,16 +3274,16 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3274
3274
|
var Z;
|
|
3275
3275
|
let C = ut(
|
|
3276
3276
|
O.filter(
|
|
3277
|
-
(
|
|
3277
|
+
(x) => x.subject !== ce.Subject.Business.restaurant && x.subject !== ce.Subject.Restaurant.restaurant
|
|
3278
3278
|
)
|
|
3279
3279
|
);
|
|
3280
3280
|
if (!M || M.length > 0) {
|
|
3281
3281
|
const {
|
|
3282
|
-
category:
|
|
3282
|
+
category: x,
|
|
3283
3283
|
showByFeatureFlag: U,
|
|
3284
|
-
...
|
|
3284
|
+
...G
|
|
3285
3285
|
} = us.restaurant;
|
|
3286
|
-
C.push(
|
|
3286
|
+
C.push(G);
|
|
3287
3287
|
const X = {
|
|
3288
3288
|
actions: [ce.Action.manage],
|
|
3289
3289
|
subject: ce.Subject.Restaurant.restaurant
|
|
@@ -3291,12 +3291,12 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3291
3291
|
M && (X.conditions = JSON.stringify({ restaurantId: { $in: M } })), C.push(X);
|
|
3292
3292
|
}
|
|
3293
3293
|
if (M) {
|
|
3294
|
-
const
|
|
3295
|
-
...new Set(M.map((
|
|
3296
|
-
], U = h.value.map((
|
|
3297
|
-
|
|
3294
|
+
const x = [
|
|
3295
|
+
...new Set(M.map((G) => R.value[G]).flatMap((G) => G))
|
|
3296
|
+
], U = h.value.map((G) => G._id);
|
|
3297
|
+
x.length !== U.length && (C = F(
|
|
3298
3298
|
C,
|
|
3299
|
-
(Z = v.value || U) == null ? void 0 : Z.filter((
|
|
3299
|
+
(Z = v.value || U) == null ? void 0 : Z.filter((G) => x.includes(G))
|
|
3300
3300
|
));
|
|
3301
3301
|
}
|
|
3302
3302
|
return C;
|
|
@@ -3335,9 +3335,9 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3335
3335
|
if (C.inverted) return C;
|
|
3336
3336
|
const Z = C.actions;
|
|
3337
3337
|
if (!Z.includes("manage")) return C;
|
|
3338
|
-
const
|
|
3339
|
-
if (!
|
|
3340
|
-
const U =
|
|
3338
|
+
const x = u(C.subject);
|
|
3339
|
+
if (!x) return C;
|
|
3340
|
+
const U = x.actions;
|
|
3341
3341
|
return U.length <= 1 || U.filter((X) => !Z.includes(X)).length === 0 ? C : { ...C, actions: [...U] };
|
|
3342
3342
|
}));
|
|
3343
3343
|
function ae(O) {
|
|
@@ -3348,57 +3348,57 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3348
3348
|
), Z = new Set(
|
|
3349
3349
|
n.value.filter((U) => !U.inverted).map((U) => U.subject)
|
|
3350
3350
|
);
|
|
3351
|
-
let
|
|
3351
|
+
let x = [...n.value];
|
|
3352
3352
|
for (const U of M)
|
|
3353
|
-
C.has(U) || (Z.has(U) && (
|
|
3354
|
-
|
|
3353
|
+
C.has(U) || (Z.has(U) && (x = x.filter((X) => X.subject !== U)), (!Z.has(U) || kt(
|
|
3354
|
+
x,
|
|
3355
3355
|
Tt
|
|
3356
3356
|
).some(
|
|
3357
3357
|
(X) => X.subject === U && !X.inverted && X.actions.includes("manage")
|
|
3358
|
-
)) && !
|
|
3358
|
+
)) && !x.some((X) => X.subject === U && X.inverted) && x.push({ subject: U, actions: ["manage"], inverted: !0 }));
|
|
3359
3359
|
for (const U of C)
|
|
3360
3360
|
if (!M.has(U)) {
|
|
3361
|
-
const
|
|
3362
|
-
if (
|
|
3361
|
+
const G = x.some((X) => X.subject === U && X.inverted);
|
|
3362
|
+
if (x = x.filter((X) => !(X.subject === U && X.inverted)), !G && !Z.has(U)) {
|
|
3363
3363
|
const X = O.find(
|
|
3364
3364
|
(_e) => _e.subject === U && !_e.inverted
|
|
3365
3365
|
), ve = u(U);
|
|
3366
3366
|
if (ve && X) {
|
|
3367
3367
|
const { category: _e, showByFeatureFlag: we, ...ne } = ve;
|
|
3368
|
-
|
|
3368
|
+
x.push({ ...ne, actions: X.actions });
|
|
3369
3369
|
}
|
|
3370
3370
|
}
|
|
3371
3371
|
}
|
|
3372
3372
|
for (const U of C) {
|
|
3373
3373
|
if (!M.has(U)) continue;
|
|
3374
|
-
const
|
|
3374
|
+
const G = V.value.find(
|
|
3375
3375
|
(ne) => ne.subject === U && !ne.inverted
|
|
3376
3376
|
), X = O.find((ne) => ne.subject === U && !ne.inverted);
|
|
3377
|
-
if (!
|
|
3378
|
-
const ve = new Set(
|
|
3377
|
+
if (!G || !X) continue;
|
|
3378
|
+
const ve = new Set(G.actions), _e = new Set(X.actions);
|
|
3379
3379
|
if (ve.size === _e.size && [...ve].every((ne) => _e.has(ne)))
|
|
3380
3380
|
continue;
|
|
3381
|
-
const we =
|
|
3381
|
+
const we = x.findIndex((ne) => ne.subject === U && !ne.inverted);
|
|
3382
3382
|
if (we >= 0)
|
|
3383
|
-
|
|
3384
|
-
...
|
|
3383
|
+
x[we] = {
|
|
3384
|
+
...x[we],
|
|
3385
3385
|
actions: Array.from(_e)
|
|
3386
3386
|
};
|
|
3387
3387
|
else {
|
|
3388
3388
|
const ne = u(U);
|
|
3389
3389
|
if (ne) {
|
|
3390
3390
|
const { category: Ee, showByFeatureFlag: Je, ...$e } = ne;
|
|
3391
|
-
|
|
3391
|
+
x.push({ ...$e, actions: Array.from(_e) });
|
|
3392
3392
|
}
|
|
3393
3393
|
}
|
|
3394
3394
|
ve.has("manage") && !_e.has("manage") && kt(
|
|
3395
|
-
|
|
3395
|
+
x,
|
|
3396
3396
|
Tt
|
|
3397
3397
|
).some(
|
|
3398
3398
|
(Ee) => Ee.subject === U && !Ee.inverted && Ee.actions.includes("manage")
|
|
3399
|
-
) && !
|
|
3399
|
+
) && !x.some((Ee) => Ee.subject === U && Ee.inverted) && x.push({ subject: U, actions: ["manage"], inverted: !0 }), !ve.has("manage") && _e.has("manage") && (x = x.filter((ne) => !(ne.subject === U && ne.inverted)));
|
|
3400
3400
|
}
|
|
3401
|
-
n.value =
|
|
3401
|
+
n.value = x;
|
|
3402
3402
|
}
|
|
3403
3403
|
return St(
|
|
3404
3404
|
n,
|
|
@@ -3406,24 +3406,24 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3406
3406
|
l("permissionChanged", O);
|
|
3407
3407
|
},
|
|
3408
3408
|
{ deep: !0 }
|
|
3409
|
-
), (O, M) => (B(), ee("div",
|
|
3410
|
-
te("div",
|
|
3411
|
-
|
|
3409
|
+
), (O, M) => (B(), ee("div", Gr, [
|
|
3410
|
+
te("div", xr, [
|
|
3411
|
+
de(wr, {
|
|
3412
3412
|
"model-value": V.value,
|
|
3413
3413
|
"excluded-subjects": w,
|
|
3414
|
-
"additional-permissions": H(
|
|
3414
|
+
"additional-permissions": H(d),
|
|
3415
3415
|
"onUpdate:modelValue": ae
|
|
3416
3416
|
}, Fe({ _: 2 }, [
|
|
3417
3417
|
pe(b.value, (C) => ({
|
|
3418
3418
|
name: `checkbox-${C.id}-append`,
|
|
3419
3419
|
fn: he(() => [
|
|
3420
|
-
|
|
3420
|
+
de(it, { item: C }, null, 8, ["item"])
|
|
3421
3421
|
])
|
|
3422
3422
|
}))
|
|
3423
3423
|
]), 1032, ["model-value", "additional-permissions"])
|
|
3424
3424
|
]),
|
|
3425
3425
|
te("div", Xr, [
|
|
3426
|
-
|
|
3426
|
+
de(Rn, {
|
|
3427
3427
|
"model-value": W.value,
|
|
3428
3428
|
options: A.value,
|
|
3429
3429
|
context: H(a)("team.labels.warehouse"),
|
|
@@ -3432,14 +3432,14 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3432
3432
|
pe(k.value, (C) => ({
|
|
3433
3433
|
name: `checkbox-${C.id}-append`,
|
|
3434
3434
|
fn: he(() => [
|
|
3435
|
-
|
|
3435
|
+
de(it, { item: C }, null, 8, ["item"])
|
|
3436
3436
|
])
|
|
3437
3437
|
}))
|
|
3438
3438
|
]), 1032, ["model-value", "options", "context"])
|
|
3439
3439
|
]),
|
|
3440
3440
|
te("div", Yr, [
|
|
3441
|
-
|
|
3442
|
-
"model-value":
|
|
3441
|
+
de(Rn, {
|
|
3442
|
+
"model-value": m.value,
|
|
3443
3443
|
options: S.value,
|
|
3444
3444
|
context: H(a)("team.labels.restaurant"),
|
|
3445
3445
|
"onUpdate:modelValue": L
|
|
@@ -3447,22 +3447,22 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3447
3447
|
pe(T.value, (C) => ({
|
|
3448
3448
|
name: `checkbox-${C.id}-append`,
|
|
3449
3449
|
fn: he(() => [
|
|
3450
|
-
|
|
3450
|
+
de(it, { item: C }, null, 8, ["item"])
|
|
3451
3451
|
])
|
|
3452
3452
|
}))
|
|
3453
3453
|
]), 1032, ["model-value", "options", "context"])
|
|
3454
3454
|
]),
|
|
3455
3455
|
te("div", Zr, [
|
|
3456
|
-
|
|
3456
|
+
de(Vr, {
|
|
3457
3457
|
roles: H(h),
|
|
3458
3458
|
"model-value": v.value,
|
|
3459
|
-
"restaurant-ids":
|
|
3459
|
+
"restaurant-ids": m.value,
|
|
3460
3460
|
"onUpdate:modelValue": D
|
|
3461
3461
|
}, Fe({ _: 2 }, [
|
|
3462
3462
|
pe(I.value, (C) => ({
|
|
3463
3463
|
name: `checkbox-${C.id}-append`,
|
|
3464
3464
|
fn: he(() => [
|
|
3465
|
-
|
|
3465
|
+
de(it, { item: C }, null, 8, ["item"])
|
|
3466
3466
|
])
|
|
3467
3467
|
}))
|
|
3468
3468
|
]), 1032, ["roles", "model-value", "restaurant-ids"])
|