@feedmepos/mf-hrm-portal 2.0.6-dev.2 → 2.0.6
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-vHCIpof0.js → AuditLogList-mk1RbMXf.js} +4 -4
- package/dist/{EmployeeList-CBhHexQI.js → EmployeeList-BLzCroKt.js} +5 -5
- package/dist/{Main-CEwaF3N8.js → Main-Iq4fp839.js} +5 -5
- package/dist/{Main-C5Bpd6bc.js → Main-LIt4hYn8.js} +8 -8
- package/dist/{PermissionSetList-Df-Ymw2O.js → PermissionSetList-CNvdnZEw.js} +4 -4
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-zJrXXaE5.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DCT_Y6Am.js} +463 -463
- package/dist/{RoleList-CNdSo3ML.js → RoleList-AMggFB4w.js} +6 -6
- package/dist/{TeamMemberList-D_RxHSyg.js → TeamMemberList-DaWjvODe.js} +7 -7
- package/dist/{TimesheetList-Bq6sBnDH.js → TimesheetList-Dp_1EjAA.js} +6 -6
- package/dist/{app-CoFcOv4s.js → app-CCkFz3PM.js} +13 -13
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-DYhmwGAk.js → dayjs.min-DVRxgWXl.js} +1 -1
- package/dist/{employee-BuQUeatq.js → employee-8mSXAzs-.js} +3 -3
- package/dist/{index-CJbevkE_.js → index-C_69XbrV.js} +1 -1
- package/dist/{index-CmgH764t.js → index-Cq17YHgg.js} +2 -2
- package/dist/{lodash-goefl10e.js → lodash-J0KOvkWp.js} +1 -1
- package/dist/{team-Dy2uK8pr.js → team-CRqSHpKv.js} +1 -1
- package/dist/{timesheet-knvCGlOx.js → timesheet-XhZUvI_q.js} +2 -2
- package/dist/{useAppStore-C3SLn6_I.js → useAppStore-CI8j71j-.js} +1 -1
- package/dist/{useLoading-BZMc7JLo.js → useLoading-DynadGXC.js} +1 -1
- package/dist/{useReportPermissions-l-Ltg4HG.js → useReportPermissions-BqGXho47.js} +2 -2
- package/package.json +2 -2
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { getCurrentInstance as
|
|
1
|
+
import { getCurrentInstance as Yt, inject as Hn, ref as Ve, shallowRef as Bn, computed as z, watch as St, onMounted as xt, onUnmounted as On, defineComponent as Ie, h as Rn, createVNode as de, Text as $n, Fragment as ke, resolveComponent as Ze, createBlock as Se, openBlock as x, withCtx as pe, createElementVNode as ne, createElementBlock as te, toDisplayString as Ae, unref as ye, renderList as _e, renderSlot as he, createCommentVNode as Le, createTextVNode as Jn, useSlots as Kn, normalizeStyle as ct, normalizeClass as qe, createSlots as Fe, nextTick as zn, mergeModels as Qt, useModel as Qn } from "vue";
|
|
2
2
|
import { useI18n as _t, useCoreStore as qn } from "@feedmepos/mf-common";
|
|
3
3
|
import "@vue/devtools-api";
|
|
4
|
-
import { l as ut, p as Dt, g as es, b as ts, q as ns, E as ss, F as
|
|
5
|
-
import { i as ls, d as ie, N as os, a as Tt } from "./app-
|
|
6
|
-
import { u as is } from "./index-
|
|
7
|
-
import { u as cs } from "./useAppStore-
|
|
4
|
+
import { l as ut, p as Dt, g as es, b as ts, q as ns, E as ss, F as kt, G as as, w as rs, $ as yt } from "./index-Cq17YHgg.js";
|
|
5
|
+
import { i as ls, d as ie, N as os, a as Tt } from "./app-CCkFz3PM.js";
|
|
6
|
+
import { u as is } from "./index-C_69XbrV.js";
|
|
7
|
+
import { u as cs } from "./useAppStore-CI8j71j-.js";
|
|
8
8
|
/*!
|
|
9
9
|
* shared v10.0.5
|
|
10
10
|
* (c) 2024 kazuya kawaguchi
|
|
11
11
|
* Released under the MIT License.
|
|
12
12
|
*/
|
|
13
|
-
const qt = typeof window < "u",
|
|
13
|
+
const qt = typeof window < "u", je = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), us = (e, t, n) => ms({ l: e, k: t, s: n }), ms = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ce = (e) => typeof e == "number" && isFinite(e), ds = (e) => Zt(e) === "[object Date]", dt = (e) => Zt(e) === "[object RegExp]", pt = (e) => Z(e) && Object.keys(e).length === 0, ue = Object.assign, fs = Object.create, J = (e = null) => fs(e);
|
|
14
14
|
let en;
|
|
15
|
-
const
|
|
15
|
+
const Ue = () => en || (en = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : J());
|
|
16
16
|
function tn(e) {
|
|
17
17
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
18
18
|
}
|
|
@@ -20,7 +20,7 @@ const _s = Object.prototype.hasOwnProperty;
|
|
|
20
20
|
function Ee(e, t) {
|
|
21
21
|
return _s.call(e, t);
|
|
22
22
|
}
|
|
23
|
-
const oe = Array.isArray, se = (e) => typeof e == "function",
|
|
23
|
+
const oe = Array.isArray, se = (e) => typeof e == "function", M = (e) => typeof e == "string", le = (e) => typeof e == "boolean", X = (e) => e !== null && typeof e == "object", ps = (e) => X(e) && se(e.then) && se(e.catch), Cn = Object.prototype.toString, Zt = (e) => Cn.call(e), Z = (e) => Zt(e) === "[object Object]", hs = (e) => e == null ? "" : oe(e) || Z(e) && e.toString === Cn ? JSON.stringify(e, null, 2) : String(e);
|
|
24
24
|
function Xt(e, t = "") {
|
|
25
25
|
return e.reduce((n, s, l) => l === 0 ? n + s : n + t + s, "");
|
|
26
26
|
}
|
|
@@ -42,7 +42,7 @@ function mt(e, t) {
|
|
|
42
42
|
function gs(e, t, n) {
|
|
43
43
|
return { line: e, column: t, offset: n };
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function wt(e, t, n) {
|
|
46
46
|
return { start: e, end: t };
|
|
47
47
|
}
|
|
48
48
|
const B = {
|
|
@@ -71,15 +71,15 @@ function Es(e) {
|
|
|
71
71
|
throw e;
|
|
72
72
|
}
|
|
73
73
|
const Te = " ", Is = "\r", me = `
|
|
74
|
-
`, Ns = "\u2028",
|
|
75
|
-
function
|
|
74
|
+
`, Ns = "\u2028", ks = "\u2029";
|
|
75
|
+
function ys(e) {
|
|
76
76
|
const t = e;
|
|
77
77
|
let n = 0, s = 1, l = 1, a = 0;
|
|
78
|
-
const c = (_) => t[_] === Is && t[_ + 1] === me, m = (_) => t[_] === me, u = (_) => t[_] ===
|
|
78
|
+
const c = (_) => t[_] === Is && t[_ + 1] === me, m = (_) => t[_] === me, u = (_) => t[_] === ks, b = (_) => t[_] === Ns, y = (_) => c(_) || m(_) || u(_) || b(_), L = () => n, N = () => s, P = () => l, V = () => a, T = (_) => c(_) || u(_) || b(_) ? me : t[_], A = () => T(n), i = () => T(n + a);
|
|
79
79
|
function d() {
|
|
80
|
-
return a = 0,
|
|
80
|
+
return a = 0, y(n) && (s++, l = 0), c(n) && n++, n++, l++, t[n];
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function k() {
|
|
83
83
|
return c(n + a) && a++, a++, t[n + a];
|
|
84
84
|
}
|
|
85
85
|
function h() {
|
|
@@ -98,12 +98,12 @@ function ks(e) {
|
|
|
98
98
|
index: L,
|
|
99
99
|
line: N,
|
|
100
100
|
column: P,
|
|
101
|
-
peekOffset:
|
|
101
|
+
peekOffset: V,
|
|
102
102
|
charAt: T,
|
|
103
103
|
currentChar: A,
|
|
104
104
|
currentPeek: i,
|
|
105
105
|
next: d,
|
|
106
|
-
peek:
|
|
106
|
+
peek: k,
|
|
107
107
|
reset: h,
|
|
108
108
|
resetPeek: S,
|
|
109
109
|
skipToPeek: p
|
|
@@ -111,7 +111,7 @@ function ks(e) {
|
|
|
111
111
|
}
|
|
112
112
|
const Ce = void 0, Ts = ".", nn = "'", Ls = "tokenizer";
|
|
113
113
|
function Os(e, t = {}) {
|
|
114
|
-
const n = t.location !== !1, s =
|
|
114
|
+
const n = t.location !== !1, s = ys(e), l = () => s.index(), a = () => gs(s.line(), s.column(), s.index()), c = a(), m = l(), u = {
|
|
115
115
|
currentType: 13,
|
|
116
116
|
offset: m,
|
|
117
117
|
startLoc: c,
|
|
@@ -123,28 +123,28 @@ function Os(e, t = {}) {
|
|
|
123
123
|
braceNest: 0,
|
|
124
124
|
inLinked: !1,
|
|
125
125
|
text: ""
|
|
126
|
-
}, b = () => u, { onError:
|
|
126
|
+
}, b = () => u, { onError: y } = t;
|
|
127
127
|
function L(r, o, v, ...F) {
|
|
128
128
|
const ae = b();
|
|
129
|
-
if (o.column += v, o.offset += v,
|
|
130
|
-
const W = n ?
|
|
129
|
+
if (o.column += v, o.offset += v, y) {
|
|
130
|
+
const W = n ? wt(ae.startLoc, o) : null, f = ht(r, W, {
|
|
131
131
|
domain: Ls,
|
|
132
132
|
args: F
|
|
133
133
|
});
|
|
134
|
-
|
|
134
|
+
y(f);
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
function N(r, o, v) {
|
|
138
138
|
r.endLoc = a(), r.currentType = o;
|
|
139
139
|
const F = { type: o };
|
|
140
|
-
return n && (F.loc =
|
|
140
|
+
return n && (F.loc = wt(r.startLoc, r.endLoc)), v != null && (F.value = v), F;
|
|
141
141
|
}
|
|
142
142
|
const P = (r) => N(
|
|
143
143
|
r,
|
|
144
144
|
13
|
|
145
145
|
/* TokenTypes.EOF */
|
|
146
146
|
);
|
|
147
|
-
function
|
|
147
|
+
function V(r, o) {
|
|
148
148
|
return r.currentChar() === o ? (r.next(), o) : (L(B.EXPECTED_TOKEN, a(), 0, o), "");
|
|
149
149
|
}
|
|
150
150
|
function T(r) {
|
|
@@ -171,7 +171,7 @@ function Os(e, t = {}) {
|
|
|
171
171
|
const o = r.charCodeAt(0);
|
|
172
172
|
return o >= 48 && o <= 57;
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function k(r, o) {
|
|
175
175
|
const { currentType: v } = o;
|
|
176
176
|
if (v !== 2)
|
|
177
177
|
return !1;
|
|
@@ -211,7 +211,7 @@ function Os(e, t = {}) {
|
|
|
211
211
|
const F = i(r.currentPeek());
|
|
212
212
|
return r.resetPeek(), F;
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function U(r, o) {
|
|
215
215
|
const { currentType: v } = o;
|
|
216
216
|
if (!(v === 7 || v === 11))
|
|
217
217
|
return !1;
|
|
@@ -268,23 +268,23 @@ function Os(e, t = {}) {
|
|
|
268
268
|
function O(r) {
|
|
269
269
|
return D(r, C);
|
|
270
270
|
}
|
|
271
|
-
function
|
|
271
|
+
function w(r) {
|
|
272
272
|
const o = r.charCodeAt(0);
|
|
273
273
|
return o >= 48 && o <= 57;
|
|
274
274
|
}
|
|
275
275
|
function H(r) {
|
|
276
|
-
return D(r,
|
|
276
|
+
return D(r, w);
|
|
277
277
|
}
|
|
278
|
-
function
|
|
278
|
+
function j(r) {
|
|
279
279
|
const o = r.charCodeAt(0);
|
|
280
280
|
return o >= 48 && o <= 57 || // 0-9
|
|
281
281
|
o >= 65 && o <= 70 || // A-F
|
|
282
282
|
o >= 97 && o <= 102;
|
|
283
283
|
}
|
|
284
284
|
function R(r) {
|
|
285
|
-
return D(r,
|
|
285
|
+
return D(r, j);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function Y(r) {
|
|
288
288
|
let o = "", v = "";
|
|
289
289
|
for (; o = H(r); )
|
|
290
290
|
v += o;
|
|
@@ -319,18 +319,18 @@ function Os(e, t = {}) {
|
|
|
319
319
|
function fe(r) {
|
|
320
320
|
A(r);
|
|
321
321
|
let o = "";
|
|
322
|
-
return r.currentChar() === "-" ? (r.next(), o += `-${
|
|
322
|
+
return r.currentChar() === "-" ? (r.next(), o += `-${Y(r)}`) : o += Y(r), r.currentChar() === Ce && L(B.UNTERMINATED_CLOSING_BRACE, a(), 0), o;
|
|
323
323
|
}
|
|
324
|
-
function
|
|
324
|
+
function Me(r) {
|
|
325
325
|
return r !== nn && r !== me;
|
|
326
326
|
}
|
|
327
327
|
function ee(r) {
|
|
328
|
-
A(r),
|
|
328
|
+
A(r), V(r, "'");
|
|
329
329
|
let o = "", v = "";
|
|
330
|
-
for (; o = D(r,
|
|
330
|
+
for (; o = D(r, Me); )
|
|
331
331
|
o === "\\" ? v += ve(r) : v += o;
|
|
332
332
|
const F = r.currentChar();
|
|
333
|
-
return F === me || F === Ce ? (L(B.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), F === me && (r.next(),
|
|
333
|
+
return F === me || F === Ce ? (L(B.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), F === me && (r.next(), V(r, "'")), v) : (V(r, "'"), v);
|
|
334
334
|
}
|
|
335
335
|
function ve(r) {
|
|
336
336
|
const o = r.currentChar();
|
|
@@ -347,7 +347,7 @@ function Os(e, t = {}) {
|
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
349
|
function $e(r, o, v) {
|
|
350
|
-
|
|
350
|
+
V(r, o);
|
|
351
351
|
let F = "";
|
|
352
352
|
for (let ae = 0; ae < v; ae++) {
|
|
353
353
|
const W = R(r);
|
|
@@ -384,7 +384,7 @@ function Os(e, t = {}) {
|
|
|
384
384
|
}
|
|
385
385
|
function Ke(r) {
|
|
386
386
|
A(r);
|
|
387
|
-
const o =
|
|
387
|
+
const o = V(
|
|
388
388
|
r,
|
|
389
389
|
"|"
|
|
390
390
|
/* TokenChars.Pipe */
|
|
@@ -416,7 +416,7 @@ function Os(e, t = {}) {
|
|
|
416
416
|
return o.braceNest > 0 && L(B.UNTERMINATED_CLOSING_BRACE, a(), 0), v = N(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, v;
|
|
417
417
|
if (o.braceNest > 0 && (o.currentType === 4 || o.currentType === 5 || o.currentType === 6))
|
|
418
418
|
return L(B.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0, ze(r, o);
|
|
419
|
-
if (ae =
|
|
419
|
+
if (ae = k(r, o))
|
|
420
420
|
return v = N(o, 4, ge(r)), A(r), v;
|
|
421
421
|
if (W = h(r, o))
|
|
422
422
|
return v = N(o, 5, fe(r)), A(r), v;
|
|
@@ -456,7 +456,7 @@ function Os(e, t = {}) {
|
|
|
456
456
|
/* TokenChars.LinkedDelimiter */
|
|
457
457
|
);
|
|
458
458
|
default:
|
|
459
|
-
return I(r) ? (F = N(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, F) : p(r, o) ||
|
|
459
|
+
return I(r) ? (F = N(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, F) : p(r, o) || U(r, o) ? (A(r), Ge(r, o)) : _(r, o) ? (A(r), N(o, 11, Et(r))) : g(r, o) ? (A(r), ae === "{" ? We(r, o) || F : N(o, 10, It(r))) : (v === 7 && L(B.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, ze(r, o));
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
462
|
function ze(r, o) {
|
|
@@ -520,87 +520,87 @@ function As(e, t, n) {
|
|
|
520
520
|
}
|
|
521
521
|
function Ss(e = {}) {
|
|
522
522
|
const t = e.location !== !1, { onError: n } = e;
|
|
523
|
-
function s(i, d,
|
|
523
|
+
function s(i, d, k, h, ...S) {
|
|
524
524
|
const p = i.currentPosition();
|
|
525
525
|
if (p.offset += h, p.column += h, n) {
|
|
526
|
-
const _ = t ?
|
|
526
|
+
const _ = t ? wt(k, p) : null, U = ht(d, _, {
|
|
527
527
|
domain: Rs,
|
|
528
528
|
args: S
|
|
529
529
|
});
|
|
530
|
-
n(
|
|
530
|
+
n(U);
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
|
-
function l(i, d,
|
|
533
|
+
function l(i, d, k) {
|
|
534
534
|
const h = { type: i };
|
|
535
|
-
return t && (h.start = d, h.end = d, h.loc = { start:
|
|
535
|
+
return t && (h.start = d, h.end = d, h.loc = { start: k, end: k }), h;
|
|
536
536
|
}
|
|
537
|
-
function a(i, d,
|
|
538
|
-
t && (i.end = d, i.loc && (i.loc.end =
|
|
537
|
+
function a(i, d, k, h) {
|
|
538
|
+
t && (i.end = d, i.loc && (i.loc.end = k));
|
|
539
539
|
}
|
|
540
540
|
function c(i, d) {
|
|
541
|
-
const
|
|
541
|
+
const k = i.context(), h = l(3, k.offset, k.startLoc);
|
|
542
542
|
return h.value = d, a(h, i.currentOffset(), i.currentPosition()), h;
|
|
543
543
|
}
|
|
544
544
|
function m(i, d) {
|
|
545
|
-
const
|
|
545
|
+
const k = i.context(), { lastOffset: h, lastStartLoc: S } = k, p = l(5, h, S);
|
|
546
546
|
return p.index = parseInt(d, 10), i.nextToken(), a(p, i.currentOffset(), i.currentPosition()), p;
|
|
547
547
|
}
|
|
548
548
|
function u(i, d) {
|
|
549
|
-
const
|
|
549
|
+
const k = i.context(), { lastOffset: h, lastStartLoc: S } = k, p = l(4, h, S);
|
|
550
550
|
return p.key = d, i.nextToken(), a(p, i.currentOffset(), i.currentPosition()), p;
|
|
551
551
|
}
|
|
552
552
|
function b(i, d) {
|
|
553
|
-
const
|
|
553
|
+
const k = i.context(), { lastOffset: h, lastStartLoc: S } = k, p = l(9, h, S);
|
|
554
554
|
return p.value = d.replace(Cs, As), i.nextToken(), a(p, i.currentOffset(), i.currentPosition()), p;
|
|
555
555
|
}
|
|
556
|
-
function
|
|
557
|
-
const d = i.nextToken(),
|
|
558
|
-
return d.type !== 11 ? (s(i, B.UNEXPECTED_EMPTY_LINKED_MODIFIER,
|
|
556
|
+
function y(i) {
|
|
557
|
+
const d = i.nextToken(), k = i.context(), { lastOffset: h, lastStartLoc: S } = k, p = l(8, h, S);
|
|
558
|
+
return d.type !== 11 ? (s(i, B.UNEXPECTED_EMPTY_LINKED_MODIFIER, k.lastStartLoc, 0), p.value = "", a(p, h, S), {
|
|
559
559
|
nextConsumeToken: d,
|
|
560
560
|
node: p
|
|
561
|
-
}) : (d.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
561
|
+
}) : (d.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, Ne(d)), p.value = d.value || "", a(p, i.currentOffset(), i.currentPosition()), {
|
|
562
562
|
node: p
|
|
563
563
|
});
|
|
564
564
|
}
|
|
565
565
|
function L(i, d) {
|
|
566
|
-
const
|
|
566
|
+
const k = i.context(), h = l(7, k.offset, k.startLoc);
|
|
567
567
|
return h.value = d, a(h, i.currentOffset(), i.currentPosition()), h;
|
|
568
568
|
}
|
|
569
569
|
function N(i) {
|
|
570
|
-
const d = i.context(),
|
|
570
|
+
const d = i.context(), k = l(6, d.offset, d.startLoc);
|
|
571
571
|
let h = i.nextToken();
|
|
572
572
|
if (h.type === 8) {
|
|
573
|
-
const S =
|
|
574
|
-
|
|
573
|
+
const S = y(i);
|
|
574
|
+
k.modifier = S.node, h = S.nextConsumeToken || i.nextToken();
|
|
575
575
|
}
|
|
576
576
|
switch (h.type !== 9 && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(h)), h = i.nextToken(), h.type === 2 && (h = i.nextToken()), h.type) {
|
|
577
577
|
case 10:
|
|
578
|
-
h.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(h)),
|
|
578
|
+
h.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(h)), k.key = L(i, h.value || "");
|
|
579
579
|
break;
|
|
580
580
|
case 4:
|
|
581
|
-
h.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(h)),
|
|
581
|
+
h.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(h)), k.key = u(i, h.value || "");
|
|
582
582
|
break;
|
|
583
583
|
case 5:
|
|
584
|
-
h.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(h)),
|
|
584
|
+
h.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(h)), k.key = m(i, h.value || "");
|
|
585
585
|
break;
|
|
586
586
|
case 6:
|
|
587
|
-
h.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(h)),
|
|
587
|
+
h.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(h)), k.key = b(i, h.value || "");
|
|
588
588
|
break;
|
|
589
589
|
default: {
|
|
590
590
|
s(i, B.UNEXPECTED_EMPTY_LINKED_KEY, d.lastStartLoc, 0);
|
|
591
591
|
const S = i.context(), p = l(7, S.offset, S.startLoc);
|
|
592
|
-
return p.value = "", a(p, S.offset, S.startLoc),
|
|
592
|
+
return p.value = "", a(p, S.offset, S.startLoc), k.key = p, a(k, S.offset, S.startLoc), {
|
|
593
593
|
nextConsumeToken: h,
|
|
594
|
-
node:
|
|
594
|
+
node: k
|
|
595
595
|
};
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
|
-
return a(
|
|
599
|
-
node:
|
|
598
|
+
return a(k, i.currentOffset(), i.currentPosition()), {
|
|
599
|
+
node: k
|
|
600
600
|
};
|
|
601
601
|
}
|
|
602
602
|
function P(i) {
|
|
603
|
-
const d = i.context(),
|
|
603
|
+
const d = i.context(), k = d.currentType === 1 ? i.currentOffset() : d.offset, h = d.currentType === 1 ? d.endLoc : d.startLoc, S = l(2, k, h);
|
|
604
604
|
S.items = [];
|
|
605
605
|
let p = null;
|
|
606
606
|
do {
|
|
@@ -625,27 +625,27 @@ function Ss(e = {}) {
|
|
|
625
625
|
}
|
|
626
626
|
}
|
|
627
627
|
} while (d.currentType !== 13 && d.currentType !== 1);
|
|
628
|
-
const _ = d.currentType === 1 ? d.lastOffset : i.currentOffset(),
|
|
629
|
-
return a(S, _,
|
|
628
|
+
const _ = d.currentType === 1 ? d.lastOffset : i.currentOffset(), U = d.currentType === 1 ? d.lastEndLoc : i.currentPosition();
|
|
629
|
+
return a(S, _, U), S;
|
|
630
630
|
}
|
|
631
|
-
function
|
|
631
|
+
function V(i, d, k, h) {
|
|
632
632
|
const S = i.context();
|
|
633
633
|
let p = h.items.length === 0;
|
|
634
|
-
const _ = l(1, d,
|
|
634
|
+
const _ = l(1, d, k);
|
|
635
635
|
_.cases = [], _.cases.push(h);
|
|
636
636
|
do {
|
|
637
|
-
const
|
|
638
|
-
p || (p =
|
|
637
|
+
const U = P(i);
|
|
638
|
+
p || (p = U.items.length === 0), _.cases.push(U);
|
|
639
639
|
} while (S.currentType !== 13);
|
|
640
|
-
return p && s(i, B.MUST_HAVE_MESSAGES_IN_PLURAL,
|
|
640
|
+
return p && s(i, B.MUST_HAVE_MESSAGES_IN_PLURAL, k, 0), a(_, i.currentOffset(), i.currentPosition()), _;
|
|
641
641
|
}
|
|
642
642
|
function T(i) {
|
|
643
|
-
const d = i.context(), { offset:
|
|
644
|
-
return d.currentType === 13 ? S :
|
|
643
|
+
const d = i.context(), { offset: k, startLoc: h } = d, S = P(i);
|
|
644
|
+
return d.currentType === 13 ? S : V(i, k, h, S);
|
|
645
645
|
}
|
|
646
646
|
function A(i) {
|
|
647
|
-
const d = Os(i, ue({}, e)),
|
|
648
|
-
return t && h.loc && (h.loc.source = i), h.body = T(d), e.onCacheKey && (h.cacheKey = e.onCacheKey(i)),
|
|
647
|
+
const d = Os(i, ue({}, e)), k = d.context(), h = l(0, k.offset, k.startLoc);
|
|
648
|
+
return t && h.loc && (h.loc.source = i), h.body = T(d), e.onCacheKey && (h.cacheKey = e.onCacheKey(i)), k.currentType !== 13 && s(d, B.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, i[k.offset] || ""), a(h, d.currentOffset(), d.currentPosition()), h;
|
|
649
649
|
}
|
|
650
650
|
return { parse: A };
|
|
651
651
|
}
|
|
@@ -707,7 +707,7 @@ function Ht(e, t) {
|
|
|
707
707
|
break;
|
|
708
708
|
}
|
|
709
709
|
}
|
|
710
|
-
function
|
|
710
|
+
function ws(e, t = {}) {
|
|
711
711
|
const n = Ds(e);
|
|
712
712
|
n.helper(
|
|
713
713
|
"normalize"
|
|
@@ -716,7 +716,7 @@ function Ms(e, t = {}) {
|
|
|
716
716
|
const s = n.context();
|
|
717
717
|
e.helpers = Array.from(s.helpers);
|
|
718
718
|
}
|
|
719
|
-
function
|
|
719
|
+
function Ms(e) {
|
|
720
720
|
const t = e.body;
|
|
721
721
|
return t.type === 2 ? an(t) : t.cases.forEach((n) => an(n)), e;
|
|
722
722
|
}
|
|
@@ -741,24 +741,24 @@ function an(e) {
|
|
|
741
741
|
}
|
|
742
742
|
}
|
|
743
743
|
}
|
|
744
|
-
function
|
|
744
|
+
function xe(e) {
|
|
745
745
|
switch (e.t = e.type, e.type) {
|
|
746
746
|
case 0: {
|
|
747
747
|
const t = e;
|
|
748
|
-
|
|
748
|
+
xe(t.body), t.b = t.body, delete t.body;
|
|
749
749
|
break;
|
|
750
750
|
}
|
|
751
751
|
case 1: {
|
|
752
752
|
const t = e, n = t.cases;
|
|
753
753
|
for (let s = 0; s < n.length; s++)
|
|
754
|
-
|
|
754
|
+
xe(n[s]);
|
|
755
755
|
t.c = n, delete t.cases;
|
|
756
756
|
break;
|
|
757
757
|
}
|
|
758
758
|
case 2: {
|
|
759
759
|
const t = e, n = t.items;
|
|
760
760
|
for (let s = 0; s < n.length; s++)
|
|
761
|
-
|
|
761
|
+
xe(n[s]);
|
|
762
762
|
t.i = n, delete t.items, t.static && (t.s = t.static, delete t.static);
|
|
763
763
|
break;
|
|
764
764
|
}
|
|
@@ -772,7 +772,7 @@ function Ye(e) {
|
|
|
772
772
|
}
|
|
773
773
|
case 6: {
|
|
774
774
|
const t = e;
|
|
775
|
-
|
|
775
|
+
xe(t.key), t.k = t.key, delete t.key, t.modifier && (xe(t.modifier), t.m = t.modifier, delete t.modifier);
|
|
776
776
|
break;
|
|
777
777
|
}
|
|
778
778
|
case 5: {
|
|
@@ -809,7 +809,7 @@ function Ps(e, t) {
|
|
|
809
809
|
const i = A ? s : "";
|
|
810
810
|
u(l ? i + " ".repeat(T) : i);
|
|
811
811
|
}
|
|
812
|
-
function
|
|
812
|
+
function y(T = !0) {
|
|
813
813
|
const A = ++c.indentLevel;
|
|
814
814
|
T && b(A);
|
|
815
815
|
}
|
|
@@ -823,7 +823,7 @@ function Ps(e, t) {
|
|
|
823
823
|
return {
|
|
824
824
|
context: m,
|
|
825
825
|
push: u,
|
|
826
|
-
indent:
|
|
826
|
+
indent: y,
|
|
827
827
|
deindent: L,
|
|
828
828
|
newline: N,
|
|
829
829
|
helper: (T) => `_${T}`,
|
|
@@ -837,7 +837,7 @@ function Fs(e, t) {
|
|
|
837
837
|
/* HelperNameMap.LINKED */
|
|
838
838
|
)}(`), Xe(e, t.key), t.modifier ? (e.push(", "), Xe(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
|
|
839
839
|
}
|
|
840
|
-
function
|
|
840
|
+
function Us(e, t) {
|
|
841
841
|
const { helper: n, needIndent: s } = e;
|
|
842
842
|
e.push(`${n(
|
|
843
843
|
"normalize"
|
|
@@ -848,7 +848,7 @@ function js(e, t) {
|
|
|
848
848
|
e.push(", ");
|
|
849
849
|
e.deindent(s()), e.push("])");
|
|
850
850
|
}
|
|
851
|
-
function
|
|
851
|
+
function Vs(e, t) {
|
|
852
852
|
const { helper: n, needIndent: s } = e;
|
|
853
853
|
if (t.cases.length > 1) {
|
|
854
854
|
e.push(`${n(
|
|
@@ -861,20 +861,20 @@ function Us(e, t) {
|
|
|
861
861
|
e.deindent(s()), e.push("])");
|
|
862
862
|
}
|
|
863
863
|
}
|
|
864
|
-
function
|
|
864
|
+
function js(e, t) {
|
|
865
865
|
t.body ? Xe(e, t.body) : e.push("null");
|
|
866
866
|
}
|
|
867
867
|
function Xe(e, t) {
|
|
868
868
|
const { helper: n } = e;
|
|
869
869
|
switch (t.type) {
|
|
870
870
|
case 0:
|
|
871
|
-
|
|
871
|
+
js(e, t);
|
|
872
872
|
break;
|
|
873
873
|
case 1:
|
|
874
|
-
|
|
874
|
+
Vs(e, t);
|
|
875
875
|
break;
|
|
876
876
|
case 2:
|
|
877
|
-
|
|
877
|
+
Us(e, t);
|
|
878
878
|
break;
|
|
879
879
|
case 6:
|
|
880
880
|
Fs(e, t);
|
|
@@ -912,7 +912,7 @@ function Xe(e, t) {
|
|
|
912
912
|
}
|
|
913
913
|
}
|
|
914
914
|
const Ws = (e, t = {}) => {
|
|
915
|
-
const n =
|
|
915
|
+
const n = M(t.mode) ? t.mode : "normal", s = M(t.filename) ? t.filename : "message.intl";
|
|
916
916
|
t.sourceMap;
|
|
917
917
|
const l = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
|
|
918
918
|
`, a = t.needIndent ? t.needIndent : n !== "arrow", c = e.helpers || [], m = Ps(e, {
|
|
@@ -920,7 +920,7 @@ const Ws = (e, t = {}) => {
|
|
|
920
920
|
breakLineCode: l,
|
|
921
921
|
needIndent: a
|
|
922
922
|
});
|
|
923
|
-
m.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), m.indent(a), c.length > 0 && (m.push(`const { ${Xt(c.map((
|
|
923
|
+
m.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), m.indent(a), c.length > 0 && (m.push(`const { ${Xt(c.map((y) => `${y}: _${y}`), ", ")} } = ctx`), m.newline()), m.push("return "), Xe(m, e), m.deindent(a), m.push("}"), delete e.helpers;
|
|
924
924
|
const { code: u, map: b } = m.context();
|
|
925
925
|
return {
|
|
926
926
|
ast: e,
|
|
@@ -931,11 +931,11 @@ const Ws = (e, t = {}) => {
|
|
|
931
931
|
};
|
|
932
932
|
function Gs(e, t = {}) {
|
|
933
933
|
const n = ue({}, t), s = !!n.jit, l = !!n.minify, a = n.optimize == null ? !0 : n.optimize, m = Ss(n).parse(e);
|
|
934
|
-
return s ? (a &&
|
|
934
|
+
return s ? (a && Ms(m), l && xe(m), { ast: m, code: "" }) : (ws(m, n), Ws(m, n));
|
|
935
935
|
}
|
|
936
|
-
var
|
|
937
|
-
function
|
|
938
|
-
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (
|
|
936
|
+
var Ys = { env: { NODE_ENV: "production" } };
|
|
937
|
+
function xs() {
|
|
938
|
+
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ue().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ue().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
939
939
|
}
|
|
940
940
|
function Lt(e) {
|
|
941
941
|
return (n) => Zs(n, e);
|
|
@@ -969,7 +969,7 @@ function rn(e, t) {
|
|
|
969
969
|
if (n != null)
|
|
970
970
|
return e.type === "text" ? n : e.normalize([n]);
|
|
971
971
|
{
|
|
972
|
-
const s = Qs(t).reduce((l, a) => [...l,
|
|
972
|
+
const s = Qs(t).reduce((l, a) => [...l, Mt(e, a)], []);
|
|
973
973
|
return e.normalize(s);
|
|
974
974
|
}
|
|
975
975
|
}
|
|
@@ -981,7 +981,7 @@ const zs = ["i", "items"];
|
|
|
981
981
|
function Qs(e) {
|
|
982
982
|
return De(e, zs, []);
|
|
983
983
|
}
|
|
984
|
-
function
|
|
984
|
+
function Mt(e, t) {
|
|
985
985
|
const n = Bt(t);
|
|
986
986
|
switch (n) {
|
|
987
987
|
case 3:
|
|
@@ -1006,7 +1006,7 @@ function wt(e, t) {
|
|
|
1006
1006
|
}
|
|
1007
1007
|
case 6: {
|
|
1008
1008
|
const s = t, l = na(s), a = aa(s);
|
|
1009
|
-
return e.linked(
|
|
1009
|
+
return e.linked(Mt(e, a), l ? Mt(e, l) : void 0, e.type);
|
|
1010
1010
|
}
|
|
1011
1011
|
case 7:
|
|
1012
1012
|
return lt(t, n);
|
|
@@ -1066,14 +1066,14 @@ function la(e, t = {}) {
|
|
|
1066
1066
|
}
|
|
1067
1067
|
// @__NO_SIDE_EFFECTS__
|
|
1068
1068
|
function oa(e, t) {
|
|
1069
|
-
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ &&
|
|
1069
|
+
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && M(e)) {
|
|
1070
1070
|
le(t.warnHtmlMessage) && t.warnHtmlMessage;
|
|
1071
1071
|
const s = (t.onCacheKey || ra)(e), l = ot[s];
|
|
1072
1072
|
if (l)
|
|
1073
1073
|
return l;
|
|
1074
1074
|
const { ast: a, detectError: c } = la(e, {
|
|
1075
1075
|
...t,
|
|
1076
|
-
location:
|
|
1076
|
+
location: Ys.env.NODE_ENV !== "production",
|
|
1077
1077
|
jit: !0
|
|
1078
1078
|
}), m = Lt(a);
|
|
1079
1079
|
return c ? m : ot[s] = m;
|
|
@@ -1119,7 +1119,7 @@ function $t(e, t) {
|
|
|
1119
1119
|
}
|
|
1120
1120
|
let Ot;
|
|
1121
1121
|
function ln(e) {
|
|
1122
|
-
if (
|
|
1122
|
+
if (M(e))
|
|
1123
1123
|
return e;
|
|
1124
1124
|
if (se(e)) {
|
|
1125
1125
|
if (e.resolvedOnce && Ot != null)
|
|
@@ -1137,11 +1137,11 @@ function ln(e) {
|
|
|
1137
1137
|
function fa(e, t, n) {
|
|
1138
1138
|
return [.../* @__PURE__ */ new Set([
|
|
1139
1139
|
n,
|
|
1140
|
-
...oe(t) ? t : X(t) ? Object.keys(t) :
|
|
1140
|
+
...oe(t) ? t : X(t) ? Object.keys(t) : M(t) ? [t] : [n]
|
|
1141
1141
|
])];
|
|
1142
1142
|
}
|
|
1143
1143
|
function An(e, t, n) {
|
|
1144
|
-
const s =
|
|
1144
|
+
const s = M(n) ? n : ft, l = e;
|
|
1145
1145
|
l.__localeChainCache || (l.__localeChainCache = /* @__PURE__ */ new Map());
|
|
1146
1146
|
let a = l.__localeChainCache.get(s);
|
|
1147
1147
|
if (!a) {
|
|
@@ -1150,7 +1150,7 @@ function An(e, t, n) {
|
|
|
1150
1150
|
for (; oe(c); )
|
|
1151
1151
|
c = on(a, c, t);
|
|
1152
1152
|
const m = oe(t) || !Z(t) ? t : t.default ? t.default : null;
|
|
1153
|
-
c =
|
|
1153
|
+
c = M(m) ? [m] : m, oe(c) && on(a, c, !1), l.__localeChainCache.set(s, a);
|
|
1154
1154
|
}
|
|
1155
1155
|
return a;
|
|
1156
1156
|
}
|
|
@@ -1158,7 +1158,7 @@ function on(e, t, n) {
|
|
|
1158
1158
|
let s = !0;
|
|
1159
1159
|
for (let l = 0; l < t.length && le(s); l++) {
|
|
1160
1160
|
const a = t[l];
|
|
1161
|
-
|
|
1161
|
+
M(a) && (s = _a(e, t[l], n));
|
|
1162
1162
|
}
|
|
1163
1163
|
return s;
|
|
1164
1164
|
}
|
|
@@ -1180,8 +1180,8 @@ function pa(e, t, n) {
|
|
|
1180
1180
|
}
|
|
1181
1181
|
return s;
|
|
1182
1182
|
}
|
|
1183
|
-
const
|
|
1184
|
-
|
|
1183
|
+
const we = [];
|
|
1184
|
+
we[
|
|
1185
1185
|
0
|
|
1186
1186
|
/* States.BEFORE_PATH */
|
|
1187
1187
|
] = {
|
|
@@ -1203,7 +1203,7 @@ Me[
|
|
|
1203
1203
|
/* States.AFTER_PATH */
|
|
1204
1204
|
]
|
|
1205
1205
|
};
|
|
1206
|
-
|
|
1206
|
+
we[
|
|
1207
1207
|
1
|
|
1208
1208
|
/* States.IN_PATH */
|
|
1209
1209
|
] = {
|
|
@@ -1224,7 +1224,7 @@ Me[
|
|
|
1224
1224
|
/* States.AFTER_PATH */
|
|
1225
1225
|
]
|
|
1226
1226
|
};
|
|
1227
|
-
|
|
1227
|
+
we[
|
|
1228
1228
|
2
|
|
1229
1229
|
/* States.BEFORE_IDENT */
|
|
1230
1230
|
] = {
|
|
@@ -1243,7 +1243,7 @@ Me[
|
|
|
1243
1243
|
/* Actions.APPEND */
|
|
1244
1244
|
]
|
|
1245
1245
|
};
|
|
1246
|
-
|
|
1246
|
+
we[
|
|
1247
1247
|
3
|
|
1248
1248
|
/* States.IN_IDENT */
|
|
1249
1249
|
] = {
|
|
@@ -1278,7 +1278,7 @@ Me[
|
|
|
1278
1278
|
/* Actions.PUSH */
|
|
1279
1279
|
]
|
|
1280
1280
|
};
|
|
1281
|
-
|
|
1281
|
+
we[
|
|
1282
1282
|
4
|
|
1283
1283
|
/* States.IN_SUB_PATH */
|
|
1284
1284
|
] = {
|
|
@@ -1309,7 +1309,7 @@ Me[
|
|
|
1309
1309
|
/* Actions.APPEND */
|
|
1310
1310
|
]
|
|
1311
1311
|
};
|
|
1312
|
-
|
|
1312
|
+
we[
|
|
1313
1313
|
5
|
|
1314
1314
|
/* States.IN_SINGLE_QUOTE */
|
|
1315
1315
|
] = {
|
|
@@ -1325,7 +1325,7 @@ Me[
|
|
|
1325
1325
|
/* Actions.APPEND */
|
|
1326
1326
|
]
|
|
1327
1327
|
};
|
|
1328
|
-
|
|
1328
|
+
we[
|
|
1329
1329
|
6
|
|
1330
1330
|
/* States.IN_DOUBLE_QUOTE */
|
|
1331
1331
|
] = {
|
|
@@ -1380,7 +1380,7 @@ function Ea(e) {
|
|
|
1380
1380
|
}
|
|
1381
1381
|
function Ia(e) {
|
|
1382
1382
|
const t = [];
|
|
1383
|
-
let n = -1, s = 0, l = 0, a, c, m, u, b,
|
|
1383
|
+
let n = -1, s = 0, l = 0, a, c, m, u, b, y, L;
|
|
1384
1384
|
const N = [];
|
|
1385
1385
|
N[
|
|
1386
1386
|
0
|
|
@@ -1419,16 +1419,16 @@ function Ia(e) {
|
|
|
1419
1419
|
}
|
|
1420
1420
|
};
|
|
1421
1421
|
function P() {
|
|
1422
|
-
const
|
|
1423
|
-
if (s === 5 &&
|
|
1424
|
-
return n++, m = "\\" +
|
|
1422
|
+
const V = e[n + 1];
|
|
1423
|
+
if (s === 5 && V === "'" || s === 6 && V === '"')
|
|
1424
|
+
return n++, m = "\\" + V, N[
|
|
1425
1425
|
0
|
|
1426
1426
|
/* Actions.APPEND */
|
|
1427
1427
|
](), !0;
|
|
1428
1428
|
}
|
|
1429
1429
|
for (; s !== null; )
|
|
1430
1430
|
if (n++, a = e[n], !(a === "\\" && P())) {
|
|
1431
|
-
if (u = va(a), L =
|
|
1431
|
+
if (u = va(a), L = we[s], b = L[u] || L.l || 8, b === 8 || (s = b[0], b[1] !== void 0 && (y = N[b[1]], y && (m = a, y() === !1))))
|
|
1432
1432
|
return;
|
|
1433
1433
|
if (s === 7)
|
|
1434
1434
|
return t;
|
|
@@ -1438,7 +1438,7 @@ const cn = /* @__PURE__ */ new Map();
|
|
|
1438
1438
|
function Na(e, t) {
|
|
1439
1439
|
return X(e) ? e[t] : null;
|
|
1440
1440
|
}
|
|
1441
|
-
function
|
|
1441
|
+
function ka(e, t) {
|
|
1442
1442
|
if (!X(e))
|
|
1443
1443
|
return null;
|
|
1444
1444
|
let n = cn.get(t);
|
|
@@ -1454,12 +1454,12 @@ function ya(e, t) {
|
|
|
1454
1454
|
}
|
|
1455
1455
|
return l;
|
|
1456
1456
|
}
|
|
1457
|
-
const
|
|
1457
|
+
const ya = "10.0.5", bt = -1, ft = "en-US", un = "", mn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1458
1458
|
function Ta() {
|
|
1459
1459
|
return {
|
|
1460
|
-
upper: (e, t) => t === "text" &&
|
|
1461
|
-
lower: (e, t) => t === "text" &&
|
|
1462
|
-
capitalize: (e, t) => t === "text" &&
|
|
1460
|
+
upper: (e, t) => t === "text" && M(e) ? e.toUpperCase() : t === "vnode" && X(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1461
|
+
lower: (e, t) => t === "text" && M(e) ? e.toLowerCase() : t === "vnode" && X(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
1462
|
+
capitalize: (e, t) => t === "text" && M(e) ? mn(e) : t === "vnode" && X(e) && "__v_isVNode" in e ? mn(e.children) : e
|
|
1463
1463
|
};
|
|
1464
1464
|
}
|
|
1465
1465
|
let Sn;
|
|
@@ -1470,21 +1470,21 @@ let Dn;
|
|
|
1470
1470
|
function Oa(e) {
|
|
1471
1471
|
Dn = e;
|
|
1472
1472
|
}
|
|
1473
|
-
let
|
|
1473
|
+
let wn;
|
|
1474
1474
|
function Ra(e) {
|
|
1475
|
-
|
|
1475
|
+
wn = e;
|
|
1476
1476
|
}
|
|
1477
|
-
let
|
|
1477
|
+
let Mn = null;
|
|
1478
1478
|
const Ca = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
1479
|
-
|
|
1480
|
-
}, Aa = /* @__NO_SIDE_EFFECTS__ */ () =>
|
|
1479
|
+
Mn = e;
|
|
1480
|
+
}, Aa = /* @__NO_SIDE_EFFECTS__ */ () => Mn;
|
|
1481
1481
|
let Pn = null;
|
|
1482
1482
|
const dn = (e) => {
|
|
1483
1483
|
Pn = e;
|
|
1484
1484
|
}, Sa = () => Pn;
|
|
1485
1485
|
let fn = 0;
|
|
1486
1486
|
function Da(e = {}) {
|
|
1487
|
-
const t = se(e.onWarn) ? e.onWarn : bs, n =
|
|
1487
|
+
const t = se(e.onWarn) ? e.onWarn : bs, n = M(e.version) ? e.version : ya, s = M(e.locale) || se(e.locale) ? e.locale : ft, l = se(s) ? ft : s, a = oe(e.fallbackLocale) || Z(e.fallbackLocale) || M(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = Z(e.messages) ? e.messages : Rt(l), m = Z(e.datetimeFormats) ? e.datetimeFormats : Rt(l), u = Z(e.numberFormats) ? e.numberFormats : Rt(l), b = ue(J(), e.modifiers, Ta()), y = e.pluralRules || J(), L = se(e.missing) ? e.missing : null, N = le(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, P = le(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, V = !!e.fallbackFormat, T = !!e.unresolving, A = se(e.postTranslation) ? e.postTranslation : null, i = Z(e.processor) ? e.processor : null, d = le(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, k = !!e.escapeParameter, h = se(e.messageCompiler) ? e.messageCompiler : Sn, S = se(e.messageResolver) ? e.messageResolver : Dn || Na, p = se(e.localeFallbacker) ? e.localeFallbacker : wn || fa, _ = X(e.fallbackContext) ? e.fallbackContext : void 0, U = e, g = X(U.__datetimeFormatters) ? U.__datetimeFormatters : /* @__PURE__ */ new Map(), I = X(U.__numberFormatters) ? U.__numberFormatters : /* @__PURE__ */ new Map(), G = X(U.__meta) ? U.__meta : {};
|
|
1488
1488
|
fn++;
|
|
1489
1489
|
const D = {
|
|
1490
1490
|
version: n,
|
|
@@ -1493,16 +1493,16 @@ function Da(e = {}) {
|
|
|
1493
1493
|
fallbackLocale: a,
|
|
1494
1494
|
messages: c,
|
|
1495
1495
|
modifiers: b,
|
|
1496
|
-
pluralRules:
|
|
1496
|
+
pluralRules: y,
|
|
1497
1497
|
missing: L,
|
|
1498
1498
|
missingWarn: N,
|
|
1499
1499
|
fallbackWarn: P,
|
|
1500
|
-
fallbackFormat:
|
|
1500
|
+
fallbackFormat: V,
|
|
1501
1501
|
unresolving: T,
|
|
1502
1502
|
postTranslation: A,
|
|
1503
1503
|
processor: i,
|
|
1504
1504
|
warnHtmlMessage: d,
|
|
1505
|
-
escapeParameter:
|
|
1505
|
+
escapeParameter: k,
|
|
1506
1506
|
messageCompiler: h,
|
|
1507
1507
|
messageResolver: S,
|
|
1508
1508
|
localeFallbacker: p,
|
|
@@ -1517,7 +1517,7 @@ function Jt(e, t, n, s, l) {
|
|
|
1517
1517
|
const { missing: a, onWarn: c } = e;
|
|
1518
1518
|
if (a !== null) {
|
|
1519
1519
|
const m = a(e, n, t, l);
|
|
1520
|
-
return
|
|
1520
|
+
return M(m) ? m : t;
|
|
1521
1521
|
} else
|
|
1522
1522
|
return t;
|
|
1523
1523
|
}
|
|
@@ -1525,34 +1525,34 @@ function Qe(e, t, n) {
|
|
|
1525
1525
|
const s = e;
|
|
1526
1526
|
s.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
|
|
1527
1527
|
}
|
|
1528
|
-
function
|
|
1528
|
+
function wa(e, t) {
|
|
1529
1529
|
return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
|
|
1530
1530
|
}
|
|
1531
|
-
function
|
|
1531
|
+
function Ma(e, t) {
|
|
1532
1532
|
const n = t.indexOf(e);
|
|
1533
1533
|
if (n === -1)
|
|
1534
1534
|
return !1;
|
|
1535
1535
|
for (let s = n + 1; s < t.length; s++)
|
|
1536
|
-
if (
|
|
1536
|
+
if (wa(e, t[s]))
|
|
1537
1537
|
return !0;
|
|
1538
1538
|
return !1;
|
|
1539
1539
|
}
|
|
1540
1540
|
function _n(e, ...t) {
|
|
1541
|
-
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __datetimeFormatters: m } = e, [u, b,
|
|
1542
|
-
le(
|
|
1543
|
-
const P = !!
|
|
1541
|
+
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __datetimeFormatters: m } = e, [u, b, y, L] = Pt(...t), N = le(y.missingWarn) ? y.missingWarn : e.missingWarn;
|
|
1542
|
+
le(y.fallbackWarn) ? y.fallbackWarn : e.fallbackWarn;
|
|
1543
|
+
const P = !!y.part, V = $t(e, y), T = c(
|
|
1544
1544
|
e,
|
|
1545
1545
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1546
1546
|
l,
|
|
1547
|
-
|
|
1547
|
+
V
|
|
1548
1548
|
);
|
|
1549
|
-
if (!
|
|
1550
|
-
return new Intl.DateTimeFormat(
|
|
1549
|
+
if (!M(u) || u === "")
|
|
1550
|
+
return new Intl.DateTimeFormat(V, L).format(b);
|
|
1551
1551
|
let A = {}, i, d = null;
|
|
1552
|
-
const
|
|
1552
|
+
const k = "datetime format";
|
|
1553
1553
|
for (let p = 0; p < T.length && (i = T[p], A = n[i] || {}, d = A[u], !Z(d)); p++)
|
|
1554
|
-
Jt(e, u, i, N,
|
|
1555
|
-
if (!Z(d) || !
|
|
1554
|
+
Jt(e, u, i, N, k);
|
|
1555
|
+
if (!Z(d) || !M(i))
|
|
1556
1556
|
return s ? bt : u;
|
|
1557
1557
|
let h = `${i}__${u}`;
|
|
1558
1558
|
pt(L) || (h = `${h}__${JSON.stringify(L)}`);
|
|
@@ -1584,7 +1584,7 @@ const Fn = [
|
|
|
1584
1584
|
function Pt(...e) {
|
|
1585
1585
|
const [t, n, s, l] = e, a = J();
|
|
1586
1586
|
let c = J(), m;
|
|
1587
|
-
if (
|
|
1587
|
+
if (M(t)) {
|
|
1588
1588
|
const u = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
1589
1589
|
if (!u)
|
|
1590
1590
|
throw Re(Oe.INVALID_ISO_DATE_ARGUMENT);
|
|
@@ -1603,9 +1603,9 @@ function Pt(...e) {
|
|
|
1603
1603
|
m = t;
|
|
1604
1604
|
else
|
|
1605
1605
|
throw Re(Oe.INVALID_ARGUMENT);
|
|
1606
|
-
return
|
|
1606
|
+
return M(n) ? a.key = n : Z(n) && Object.keys(n).forEach((u) => {
|
|
1607
1607
|
Fn.includes(u) ? c[u] = n[u] : a[u] = n[u];
|
|
1608
|
-
}),
|
|
1608
|
+
}), M(s) ? a.locale = s : Z(s) && (c = s), Z(l) && (c = l), [a.key || "", m, a, c];
|
|
1609
1609
|
}
|
|
1610
1610
|
function pn(e, t, n) {
|
|
1611
1611
|
const s = e;
|
|
@@ -1615,28 +1615,28 @@ function pn(e, t, n) {
|
|
|
1615
1615
|
}
|
|
1616
1616
|
}
|
|
1617
1617
|
function hn(e, ...t) {
|
|
1618
|
-
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __numberFormatters: m } = e, [u, b,
|
|
1619
|
-
le(
|
|
1620
|
-
const P = !!
|
|
1618
|
+
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __numberFormatters: m } = e, [u, b, y, L] = Ft(...t), N = le(y.missingWarn) ? y.missingWarn : e.missingWarn;
|
|
1619
|
+
le(y.fallbackWarn) ? y.fallbackWarn : e.fallbackWarn;
|
|
1620
|
+
const P = !!y.part, V = $t(e, y), T = c(
|
|
1621
1621
|
e,
|
|
1622
1622
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1623
1623
|
l,
|
|
1624
|
-
|
|
1624
|
+
V
|
|
1625
1625
|
);
|
|
1626
|
-
if (!
|
|
1627
|
-
return new Intl.NumberFormat(
|
|
1626
|
+
if (!M(u) || u === "")
|
|
1627
|
+
return new Intl.NumberFormat(V, L).format(b);
|
|
1628
1628
|
let A = {}, i, d = null;
|
|
1629
|
-
const
|
|
1629
|
+
const k = "number format";
|
|
1630
1630
|
for (let p = 0; p < T.length && (i = T[p], A = n[i] || {}, d = A[u], !Z(d)); p++)
|
|
1631
|
-
Jt(e, u, i, N,
|
|
1632
|
-
if (!Z(d) || !
|
|
1631
|
+
Jt(e, u, i, N, k);
|
|
1632
|
+
if (!Z(d) || !M(i))
|
|
1633
1633
|
return s ? bt : u;
|
|
1634
1634
|
let h = `${i}__${u}`;
|
|
1635
1635
|
pt(L) || (h = `${h}__${JSON.stringify(L)}`);
|
|
1636
1636
|
let S = m.get(h);
|
|
1637
1637
|
return S || (S = new Intl.NumberFormat(i, ue({}, d, L)), m.set(h, S)), P ? S.formatToParts(b) : S.format(b);
|
|
1638
1638
|
}
|
|
1639
|
-
const
|
|
1639
|
+
const Un = [
|
|
1640
1640
|
"localeMatcher",
|
|
1641
1641
|
"style",
|
|
1642
1642
|
"currency",
|
|
@@ -1664,9 +1664,9 @@ function Ft(...e) {
|
|
|
1664
1664
|
if (!ce(t))
|
|
1665
1665
|
throw Re(Oe.INVALID_ARGUMENT);
|
|
1666
1666
|
const m = t;
|
|
1667
|
-
return
|
|
1668
|
-
|
|
1669
|
-
}),
|
|
1667
|
+
return M(n) ? a.key = n : Z(n) && Object.keys(n).forEach((u) => {
|
|
1668
|
+
Un.includes(u) ? c[u] = n[u] : a[u] = n[u];
|
|
1669
|
+
}), M(s) ? a.locale = s : Z(s) && (c = s), Z(l) && (c = l), [a.key || "", m, a, c];
|
|
1670
1670
|
}
|
|
1671
1671
|
function bn(e, t, n) {
|
|
1672
1672
|
const s = e;
|
|
@@ -1675,7 +1675,7 @@ function bn(e, t, n) {
|
|
|
1675
1675
|
s.__numberFormatters.has(a) && s.__numberFormatters.delete(a);
|
|
1676
1676
|
}
|
|
1677
1677
|
}
|
|
1678
|
-
const Pa = (e) => e, Fa = (e) => "",
|
|
1678
|
+
const Pa = (e) => e, Fa = (e) => "", Ua = "text", Va = (e) => e.length === 0 ? "" : Xt(e), ja = hs;
|
|
1679
1679
|
function gn(e, t) {
|
|
1680
1680
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1681
1681
|
}
|
|
@@ -1686,30 +1686,30 @@ function Wa(e) {
|
|
|
1686
1686
|
function Ga(e, t) {
|
|
1687
1687
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1688
1688
|
}
|
|
1689
|
-
function
|
|
1690
|
-
const t = e.locale, n = Wa(e), s = X(e.pluralRules) &&
|
|
1689
|
+
function Ya(e = {}) {
|
|
1690
|
+
const t = e.locale, n = Wa(e), s = X(e.pluralRules) && M(t) && se(e.pluralRules[t]) ? e.pluralRules[t] : gn, l = X(e.pluralRules) && M(t) && se(e.pluralRules[t]) ? gn : void 0, a = (i) => i[s(n, i.length, l)], c = e.list || [], m = (i) => c[i], u = e.named || J();
|
|
1691
1691
|
ce(e.pluralIndex) && Ga(n, u);
|
|
1692
1692
|
const b = (i) => u[i];
|
|
1693
|
-
function
|
|
1694
|
-
const
|
|
1695
|
-
return
|
|
1693
|
+
function y(i, d) {
|
|
1694
|
+
const k = se(e.messages) ? e.messages(i, !!d) : X(e.messages) ? e.messages[i] : !1;
|
|
1695
|
+
return k || (e.parent ? e.parent.message(i) : Fa);
|
|
1696
1696
|
}
|
|
1697
|
-
const L = (i) => e.modifiers ? e.modifiers[i] : Pa, N = Z(e.processor) && se(e.processor.normalize) ? e.processor.normalize :
|
|
1697
|
+
const L = (i) => e.modifiers ? e.modifiers[i] : Pa, N = Z(e.processor) && se(e.processor.normalize) ? e.processor.normalize : Va, P = Z(e.processor) && se(e.processor.interpolate) ? e.processor.interpolate : ja, V = Z(e.processor) && M(e.processor.type) ? e.processor.type : Ua, A = {
|
|
1698
1698
|
list: m,
|
|
1699
1699
|
named: b,
|
|
1700
1700
|
plural: a,
|
|
1701
1701
|
linked: (i, ...d) => {
|
|
1702
|
-
const [
|
|
1702
|
+
const [k, h] = d;
|
|
1703
1703
|
let S = "text", p = "";
|
|
1704
|
-
d.length === 1 ? X(
|
|
1705
|
-
const _ =
|
|
1704
|
+
d.length === 1 ? X(k) ? (p = k.modifier || p, S = k.type || S) : M(k) && (p = k || p) : d.length === 2 && (M(k) && (p = k || p), M(h) && (S = h || S));
|
|
1705
|
+
const _ = y(i, !0)(A), U = (
|
|
1706
1706
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1707
1707
|
S === "vnode" && oe(_) && p ? _[0] : _
|
|
1708
1708
|
);
|
|
1709
|
-
return p ? L(p)(
|
|
1709
|
+
return p ? L(p)(U, S) : U;
|
|
1710
1710
|
},
|
|
1711
|
-
message:
|
|
1712
|
-
type:
|
|
1711
|
+
message: y,
|
|
1712
|
+
type: V,
|
|
1713
1713
|
interpolate: P,
|
|
1714
1714
|
normalize: N,
|
|
1715
1715
|
values: ue(J(), c, u)
|
|
@@ -1718,58 +1718,58 @@ function xa(e = {}) {
|
|
|
1718
1718
|
}
|
|
1719
1719
|
const vn = () => "", be = (e) => se(e);
|
|
1720
1720
|
function En(e, ...t) {
|
|
1721
|
-
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: m } = e, [u, b] =
|
|
1722
|
-
N &&
|
|
1723
|
-
let [i, d,
|
|
1721
|
+
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: m } = e, [u, b] = Ut(...t), y = le(b.missingWarn) ? b.missingWarn : e.missingWarn, L = le(b.fallbackWarn) ? b.fallbackWarn : e.fallbackWarn, N = le(b.escapeParameter) ? b.escapeParameter : e.escapeParameter, P = !!b.resolvedMessage, V = M(b.default) || le(b.default) ? le(b.default) ? a ? u : () => u : b.default : n ? a ? u : () => u : null, T = n || V != null && (M(V) || se(V)), A = $t(e, b);
|
|
1722
|
+
N && xa(b);
|
|
1723
|
+
let [i, d, k] = P ? [
|
|
1724
1724
|
u,
|
|
1725
1725
|
A,
|
|
1726
1726
|
m[A] || J()
|
|
1727
|
-
] :
|
|
1728
|
-
if (!P && !(
|
|
1727
|
+
] : Vn(e, u, A, c, L, y), h = i, S = u;
|
|
1728
|
+
if (!P && !(M(h) || He(h) || be(h)) && T && (h = V, S = h), !P && (!(M(h) || He(h) || be(h)) || !M(d)))
|
|
1729
1729
|
return l ? bt : u;
|
|
1730
1730
|
let p = !1;
|
|
1731
1731
|
const _ = () => {
|
|
1732
1732
|
p = !0;
|
|
1733
|
-
},
|
|
1733
|
+
}, U = be(h) ? h : jn(e, u, d, h, S, _);
|
|
1734
1734
|
if (p)
|
|
1735
1735
|
return h;
|
|
1736
|
-
const g = Ha(e, d,
|
|
1736
|
+
const g = Ha(e, d, k, b), I = Ya(g), G = Za(e, U, I), D = s ? s(G, u) : G;
|
|
1737
1737
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1738
1738
|
const $ = {
|
|
1739
1739
|
timestamp: Date.now(),
|
|
1740
|
-
key:
|
|
1740
|
+
key: M(u) ? u : be(h) ? h.key : "",
|
|
1741
1741
|
locale: d || (be(h) ? h.locale : ""),
|
|
1742
|
-
format:
|
|
1742
|
+
format: M(h) ? h : be(h) ? h.source : "",
|
|
1743
1743
|
message: D
|
|
1744
1744
|
};
|
|
1745
1745
|
$.meta = ue({}, e.__meta, /* @__PURE__ */ Aa() || {}), ua($);
|
|
1746
1746
|
}
|
|
1747
1747
|
return D;
|
|
1748
1748
|
}
|
|
1749
|
-
function
|
|
1750
|
-
oe(e.list) ? e.list = e.list.map((t) =>
|
|
1751
|
-
|
|
1749
|
+
function xa(e) {
|
|
1750
|
+
oe(e.list) ? e.list = e.list.map((t) => M(t) ? tn(t) : t) : X(e.named) && Object.keys(e.named).forEach((t) => {
|
|
1751
|
+
M(e.named[t]) && (e.named[t] = tn(e.named[t]));
|
|
1752
1752
|
});
|
|
1753
1753
|
}
|
|
1754
|
-
function
|
|
1755
|
-
const { messages: c, onWarn: m, messageResolver: u, localeFallbacker: b } = e,
|
|
1754
|
+
function Vn(e, t, n, s, l, a) {
|
|
1755
|
+
const { messages: c, onWarn: m, messageResolver: u, localeFallbacker: b } = e, y = b(e, s, n);
|
|
1756
1756
|
let L = J(), N, P = null;
|
|
1757
|
-
const
|
|
1758
|
-
for (let T = 0; T <
|
|
1759
|
-
if (!
|
|
1757
|
+
const V = "translate";
|
|
1758
|
+
for (let T = 0; T < y.length && (N = y[T], L = c[N] || J(), (P = u(L, t)) === null && (P = L[t]), !(M(P) || He(P) || be(P))); T++)
|
|
1759
|
+
if (!Ma(N, y)) {
|
|
1760
1760
|
const A = Jt(
|
|
1761
1761
|
e,
|
|
1762
1762
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1763
1763
|
t,
|
|
1764
1764
|
N,
|
|
1765
1765
|
a,
|
|
1766
|
-
|
|
1766
|
+
V
|
|
1767
1767
|
);
|
|
1768
1768
|
A !== t && (P = A);
|
|
1769
1769
|
}
|
|
1770
1770
|
return [P, N, L];
|
|
1771
1771
|
}
|
|
1772
|
-
function
|
|
1772
|
+
function jn(e, t, n, s, l, a) {
|
|
1773
1773
|
const { messageCompiler: c, warnHtmlMessage: m } = e;
|
|
1774
1774
|
if (be(s)) {
|
|
1775
1775
|
const b = s;
|
|
@@ -1785,12 +1785,12 @@ function Vn(e, t, n, s, l, a) {
|
|
|
1785
1785
|
function Za(e, t, n) {
|
|
1786
1786
|
return t(n);
|
|
1787
1787
|
}
|
|
1788
|
-
function
|
|
1788
|
+
function Ut(...e) {
|
|
1789
1789
|
const [t, n, s] = e, l = J();
|
|
1790
|
-
if (!
|
|
1790
|
+
if (!M(t) && !ce(t) && !be(t) && !He(t))
|
|
1791
1791
|
throw Re(Oe.INVALID_ARGUMENT);
|
|
1792
1792
|
const a = ce(t) ? String(t) : (be(t), t);
|
|
1793
|
-
return ce(n) ? l.plural = n :
|
|
1793
|
+
return ce(n) ? l.plural = n : M(n) ? l.default = n : Z(n) && !pt(n) ? l.named = n : oe(n) && (l.list = n), ce(s) ? l.plural = s : M(s) ? l.default = s : Z(s) && ue(l, s), [a, l];
|
|
1794
1794
|
}
|
|
1795
1795
|
function Xa(e, t, n, s, l, a) {
|
|
1796
1796
|
return {
|
|
@@ -1804,15 +1804,15 @@ function Xa(e, t, n, s, l, a) {
|
|
|
1804
1804
|
};
|
|
1805
1805
|
}
|
|
1806
1806
|
function Ha(e, t, n, s) {
|
|
1807
|
-
const { modifiers: l, pluralRules: a, messageResolver: c, fallbackLocale: m, fallbackWarn: u, missingWarn: b, fallbackContext:
|
|
1807
|
+
const { modifiers: l, pluralRules: a, messageResolver: c, fallbackLocale: m, fallbackWarn: u, missingWarn: b, fallbackContext: y } = e, N = {
|
|
1808
1808
|
locale: t,
|
|
1809
1809
|
modifiers: l,
|
|
1810
1810
|
pluralRules: a,
|
|
1811
|
-
messages: (P,
|
|
1811
|
+
messages: (P, V) => {
|
|
1812
1812
|
let T = c(n, P);
|
|
1813
|
-
if (T == null && (
|
|
1814
|
-
const [, , A] =
|
|
1815
|
-
|
|
1813
|
+
if (T == null && (y || V)) {
|
|
1814
|
+
const [, , A] = Vn(
|
|
1815
|
+
y || e,
|
|
1816
1816
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1817
1817
|
P,
|
|
1818
1818
|
t,
|
|
@@ -1822,9 +1822,9 @@ function Ha(e, t, n, s) {
|
|
|
1822
1822
|
);
|
|
1823
1823
|
T = c(A, P);
|
|
1824
1824
|
}
|
|
1825
|
-
if (
|
|
1825
|
+
if (M(T) || He(T)) {
|
|
1826
1826
|
let A = !1;
|
|
1827
|
-
const d =
|
|
1827
|
+
const d = jn(e, P, t, T, P, () => {
|
|
1828
1828
|
A = !0;
|
|
1829
1829
|
});
|
|
1830
1830
|
return A ? vn : d;
|
|
@@ -1833,11 +1833,11 @@ function Ha(e, t, n, s) {
|
|
|
1833
1833
|
};
|
|
1834
1834
|
return e.processor && (N.processor = e.processor), s.list && (N.list = s.list), s.named && (N.named = s.named), ce(s.plural) && (N.pluralIndex = s.plural), N;
|
|
1835
1835
|
}
|
|
1836
|
-
|
|
1837
|
-
var Ba = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_eddc28c4-5953-4183-85e0-c5fba1271f1c", 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_eddc28c4-5953-4183-85e0-c5fba1271f1c", 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: "1870", ACTIONS_ORCHESTRATION_ID: "a67e888a-2516-4e49-9f26-d5df9b6f9c65.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:15431", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^8.52.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.9/x64", GITHUB_RUN_ID: "24647239491", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "5192aaff133b2781a52deb19f3e3b7d676321d36", 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/add-accessOverview", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L2FkZC1hY2Nlc3NPdmVydmlld1wiLFwiUGVybWlzc2lvblwiOjN9LHtcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL21haW5cIixcIlBlcm1pc3Npb25cIjoxfV0iLCJhY3NsIjoiMTAiLCJhdWQiOiJ2c286NmY5NmZhODktYjdiZi00ODc4LWJhZDMtODk4MDA2NTY2YjZlIiwiYmlsbGluZ19vd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsImV4cCI6MTc3NjY3ODQ0MywiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaWF0IjoxNzc2NjU2MjQzLCJpc3MiOiJodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwiam9iX2lkIjoiMzIzNGRhNDctY2UwNy01NDBhLWE2MjQtNjI4ZDAxY2YyNzEyIiwibmFtZWlkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwibmJmIjoxNzc2NjU1OTQzLCJvaWRjX2V4dHJhIjoie1wiYWN0b3JcIjpcIkNhc3RhLW1lcmVcIixcImFjdG9yX2lkXCI6XCI4MjI5ODAxN1wiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCI3MjA2MjM2MjAyOFwiLFwiZXZlbnRfbmFtZVwiOlwid29ya2Zsb3dfZGlzcGF0Y2hcIixcImhlYWRfcmVmXCI6XCJcIixcImpvYl93b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9hY3Rpb25zLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtbnBtLWdpdGh1Yi55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwiam9iX3dvcmtmbG93X3NoYVwiOlwiM2YzNTQ0ODAwYmFhM2I4YmM0YWFhZTk0ZWU4NGMwMTJiZDY0OGZmZVwiLFwicmVmXCI6XCJyZWZzL2hlYWRzL2ZlYXQvYWRkLWFjY2Vzc092ZXJ2aWV3XCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjI0NjQ3MjM5NDkxXCIsXCJydW5fbnVtYmVyXCI6XCI1MVwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcIjUxOTJhYWZmMTMzYjI3ODFhNTJkZWIxOWYzZTNiN2Q2NzYzMjFkMzZcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL2ZlYXQvYWRkLWFjY2Vzc092ZXJ2aWV3XCIsXCJ3b3JrZmxvd19zaGFcIjpcIjUxOTJhYWZmMTMzYjI3ODFhNTJkZWIxOWYzZTNiN2Q2NzYzMjFkMzZcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL2hybS1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL2ZlYXQvYWRkLWFjY2Vzc092ZXJ2aWV3Iiwib3JjaF9pZCI6ImE2N2U4ODhhLTI1MTYtNGU0OS05ZjI2LWQ1ZGY5YjZmOWM2NS5wdWJsaXNoLnB1Ymxpc2guX19kZWZhdWx0Iiwib3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJwbGFuX2lkIjoiYTY3ZTg4OGEtMjUxNi00ZTQ5LTlmMjYtZDVkZjliNmY5YzY1IiwicmVwb3NpdG9yeV9pZCI6IjExMjQ2NzIyMzUiLCJydW5faWQiOiIyNDY0NzIzOTQ5MSIsInJ1bl9udW1iZXIiOiI1MSIsInJ1bl90eXBlIjoiZnVsbCIsInJ1bm5lcl9pZCI6IjEwMDAwNjEyNzgiLCJydW5uZXJfdHlwZSI6Imhvc3RlZCIsInNjcCI6IkFjdGlvbnMuUmVzdWx0czphNjdlODg4YS0yNTE2LTRlNDktOWYyNi1kNWRmOWI2ZjljNjU6MzIzNGRhNDctY2UwNy01NDBhLWE2MjQtNjI4ZDAxY2YyNzEyIEFjdGlvbnMuUnVubmVyOmE2N2U4ODhhLTI1MTYtNGU0OS05ZjI2LWQ1ZGY5YjZmOWM2NTozMjM0ZGE0Ny1jZTA3LTU0MGEtYTYyNC02MjhkMDFjZjI3MTIgQWN0aW9ucy5VcGxvYWRBcnRpZmFjdHM6YTY3ZTg4OGEtMjUxNi00ZTQ5LTlmMjYtZDVkZjliNmY5YzY1OjMyMzRkYTQ3LWNlMDctNTQwYS1hNjI0LTYyOGQwMWNmMjcxMiBnZW5lcmF0ZV9pZF90b2tlbjphNjdlODg4YS0yNTE2LTRlNDktOWYyNi1kNWRmOWI2ZjljNjU6MzIzNGRhNDctY2UwNy01NDBhLWE2MjQtNjI4ZDAxY2YyNzEyIEFjdGlvbnMuR2VuZXJpY1JlYWQ6MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIiwic2hhIjoiNTE5MmFhZmYxMzNiMjc4MWE1MmRlYjE5ZjNlM2I3ZDY3NjMyMWQzNiIsInRydXN0X3RpZXIiOiIxIn0.rL7jXquQZVNxF5NUIZN3Fv5lr9T-ami3MkNoDhv_ndHcj11M7nGE_bp-NHyJe1vn1YGuzumyhGs4P6NJ24Xff1W1JKDeTtbHQs2NmtYt93ILup0ANnTPDtAWjlSKpvhqPJEcWTVZM2RaH5XgC8FOdUmxeGwue8qCu6ETEmcVNmkbWVnYLsHZYHLol_KmMazPKQDkWMuU8GTfkjivjZy82uwz48HPsVGdFWR-Uh1yXg1-kj1Kx5fMFnY-lrt5bc1lBU0lvdO6oBOG2fg_1MTma5y3kOLWRS4ZqjRGhP4lw8SdobjcpFT0mhj8O4urlMBjE3o5fq7wLH-FBH8vLZslpw", 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_9435609d-6956-4cf8-91ed-7d5f66026472", INVOCATION_ID: "4b4fac4b904545ecb371b85a4a7030c0", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", npm_package_name: "@feedmepos/mf-hrm-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "51", GITHUB_TRIGGERING_ACTOR: "Casta-mere", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag latest --no-git-checks", npm_package_scripts_publish_npm_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag beta --no-git-checks", npm_package_scripts_publish_github: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks", npm_package_scripts_publish_github_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks", npm_config_frozen_lockfile: "", npm_package_devDependencies__vitest_ui: "^1.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies_eslint: "^9.39.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000061278", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/add-accessOverview", 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.6-dev.2", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_hrm_permission: "workspace:*", npm_package_devDependencies__rushstack_eslint_patch: "^1.3.3", npm_package_devDependencies_eslint_plugin_unused_imports: "^4.3.0", npm_package_devDependencies_jsdom: "^24.0.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "5192aaff133b2781a52deb19f3e3b7d676321d36", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/feat/add-accessOverview", GITHUB_ACTOR: "Casta-mere", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", npm_package_devDependencies_globals: "^16.5.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_eddc28c4-5953-4183-85e0-c5fba1271f1c", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "82298017", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-3-azure-eastus.actions.githubusercontent.com/168//idtoken/a67e888a-2516-4e49-9f26-d5df9b6f9c65/3234da47-ce07-540a-a624-628d01cf2712?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_eddc28c4-5953-4183-85e0-c5fba1271f1c", 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_eddc28c4-5953-4183-85e0-c5fba1271f1c", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1836
|
+
xs();
|
|
1837
|
+
var Ba = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_80e3b4f7-20b3-4890-b30d-6acf9184db4b", 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_80e3b4f7-20b3-4890-b30d-6acf9184db4b", 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: "1849", ACTIONS_ORCHESTRATION_ID: "c9572360-aa4d-4daf-a148-4a2f719d8206.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:13008", 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: "24653251346", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "a07463c4ed11d99a0d71db897baa0ba445bf6a99", 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/main", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6M31dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjZmOTZmYTg5LWI3YmYtNDg3OC1iYWQzLTg5ODAwNjU2NmI2ZSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3NzY2OTExMTUsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc3NjY2ODkxNSwiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6IjRjNWU1YjNkLTQyZGEtNTQ3ZS1hODlkLTZmZWY1ZmYxYWE3OSIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc3NjY2ODYxNSwib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJqdW4tbGVlLWZlZWRtZVwiLFwiYWN0b3JfaWRcIjpcIjIzOTI4Mjg2MlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCI3MjA4MDU4Mjk2NFwiLFwiZXZlbnRfbmFtZVwiOlwid29ya2Zsb3dfZGlzcGF0Y2hcIixcImhlYWRfcmVmXCI6XCJcIixcImpvYl93b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9hY3Rpb25zLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtbnBtLWdpdGh1Yi55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwiam9iX3dvcmtmbG93X3NoYVwiOlwiYTg0NzUwOGVmMWRhNmJkYWU4ZDBiZjdkOWIxY2E3YzVlYTczMGYzYVwiLFwicmVmXCI6XCJyZWZzL2hlYWRzL21haW5cIixcInJlZl9wcm90ZWN0ZWRcIjpcInRydWVcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiMTEyNDY3MjIzNVwiLFwicmVwb3NpdG9yeV9vd25lclwiOlwiZmVlZG1lcG9zXCIsXCJyZXBvc2l0b3J5X293bmVyX2lkXCI6XCI1NDgzMTUxNVwiLFwicmVwb3NpdG9yeV92aXNpYmlsaXR5XCI6XCJwcml2YXRlXCIsXCJydW5fYXR0ZW1wdFwiOlwiMVwiLFwicnVuX2lkXCI6XCIyNDY1MzI1MTM0NlwiLFwicnVuX251bWJlclwiOlwiNTJcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCJhMDc0NjNjNGVkMTFkOTlhMGQ3MWRiODk3YmFhMGJhNDQ1YmY2YTk5XCIsXCJ3b3JrZmxvd1wiOlwiUHVibGlzaCBocm0tcG9ydGFsXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLWhybS1wb3J0YWwtdHJ1c3RlZC55bWxAcmVmcy9oZWFkcy9tYWluXCIsXCJ3b3JrZmxvd19zaGFcIjpcImEwNzQ2M2M0ZWQxMWQ5OWEwZDcxZGI4OTdiYWEwYmE0NDViZjZhOTlcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL2hybS1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL21haW4iLCJvcmNoX2lkIjoiYzk1NzIzNjAtYWE0ZC00ZGFmLWExNDgtNGEyZjcxOWQ4MjA2LnB1Ymxpc2gucHVibGlzaC5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiJjOTU3MjM2MC1hYTRkLTRkYWYtYTE0OC00YTJmNzE5ZDgyMDYiLCJyZXBvc2l0b3J5X2lkIjoiMTEyNDY3MjIzNSIsInJ1bl9pZCI6IjI0NjUzMjUxMzQ2IiwicnVuX251bWJlciI6IjUyIiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDA2MTQ2MSIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOmM5NTcyMzYwLWFhNGQtNGRhZi1hMTQ4LTRhMmY3MTlkODIwNjo0YzVlNWIzZC00MmRhLTU0N2UtYTg5ZC02ZmVmNWZmMWFhNzkgQWN0aW9ucy5SdW5uZXI6Yzk1NzIzNjAtYWE0ZC00ZGFmLWExNDgtNGEyZjcxOWQ4MjA2OjRjNWU1YjNkLTQyZGEtNTQ3ZS1hODlkLTZmZWY1ZmYxYWE3OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czpjOTU3MjM2MC1hYTRkLTRkYWYtYTE0OC00YTJmNzE5ZDgyMDY6NGM1ZTViM2QtNDJkYS01NDdlLWE4OWQtNmZlZjVmZjFhYTc5IGdlbmVyYXRlX2lkX3Rva2VuOmM5NTcyMzYwLWFhNGQtNGRhZi1hMTQ4LTRhMmY3MTlkODIwNjo0YzVlNWIzZC00MmRhLTU0N2UtYTg5ZC02ZmVmNWZmMWFhNzkgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiJhMDc0NjNjNGVkMTFkOTlhMGQ3MWRiODk3YmFhMGJhNDQ1YmY2YTk5IiwidHJ1c3RfdGllciI6IjEifQ.cgI4Wo0gfhIX60IHMzbhO_gF2ouvIi6uPk26UsMpXbFSgAti9c5P86eowHFe09Od0xi1drHvCXO66pxoEv6fqoCB3D4ucadUdB_2FjLKtM1FBYi0pN1DKjxUwTBlY3UF2r2JY35FbhmqCyCtxRsQvl-vN4-KRKeRUTIv_vhHKpk-uZkX7bkRRXe09eFA6bqII6I1U7w4choEdVhjmYf4kGgcZV09VqXM0KOMFdXiEfczJvQkzJ0hPEUCpYQJch-2gdb3aLTzLabFHiL8ALSiYGWJqoIhn63yMS8sIBMCNwzfZ4vVAa2CBZmTSQtYU-JcC9t2p9DG1v79WME_eJvk1g", 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_483957b3-d530-4171-ad1e-2aecd4e6714b", INVOCATION_ID: "3fbe55e9935c45f6904f0baee9ed7468", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", npm_package_name: "@feedmepos/mf-hrm-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "52", 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 1000061461", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", 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.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: "true", 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: "a07463c4ed11d99a0d71db897baa0ba445bf6a99", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "jun-lee-feedme", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_devDependencies_globals: "^16.5.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_80e3b4f7-20b3-4890-b30d-6acf9184db4b", 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/77//idtoken/c9572360-aa4d-4daf-a148-4a2f719d8206/4c5e5b3d-42da-547e-a89d-6fef5ff1aa79?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_80e3b4f7-20b3-4890-b30d-6acf9184db4b", 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_80e3b4f7-20b3-4890-b30d-6acf9184db4b", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1838
1838
|
const $a = "10.0.5";
|
|
1839
1839
|
function Ja() {
|
|
1840
|
-
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (
|
|
1840
|
+
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Ue().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Ue().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ue().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ue().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
1841
1841
|
}
|
|
1842
1842
|
const Be = {
|
|
1843
1843
|
// composer module errors
|
|
@@ -1855,7 +1855,7 @@ const Be = {
|
|
|
1855
1855
|
function nt(e, ...t) {
|
|
1856
1856
|
return ht(e, null, void 0);
|
|
1857
1857
|
}
|
|
1858
|
-
const
|
|
1858
|
+
const Vt = /* @__PURE__ */ je("__translateVNode"), jt = /* @__PURE__ */ je("__datetimeParts"), Wt = /* @__PURE__ */ je("__numberParts"), Ka = je("__setPluralRules"), Wn = /* @__PURE__ */ je("__injectWithOption"), Gt = /* @__PURE__ */ je("__dispose");
|
|
1859
1859
|
function st(e) {
|
|
1860
1860
|
if (!X(e))
|
|
1861
1861
|
return e;
|
|
@@ -1884,13 +1884,13 @@ function Gn(e, t) {
|
|
|
1884
1884
|
const { locale: u, resource: b } = m;
|
|
1885
1885
|
u ? (c[u] = c[u] || J(), mt(b, c[u])) : mt(b, c);
|
|
1886
1886
|
} else
|
|
1887
|
-
|
|
1887
|
+
M(m) && mt(JSON.parse(m), c);
|
|
1888
1888
|
}), l == null && a)
|
|
1889
1889
|
for (const m in c)
|
|
1890
1890
|
Ee(c, m) && st(c[m]);
|
|
1891
1891
|
return c;
|
|
1892
1892
|
}
|
|
1893
|
-
function
|
|
1893
|
+
function Yn(e) {
|
|
1894
1894
|
return e.type;
|
|
1895
1895
|
}
|
|
1896
1896
|
function za(e, t, n) {
|
|
@@ -1921,27 +1921,27 @@ function za(e, t, n) {
|
|
|
1921
1921
|
function In(e) {
|
|
1922
1922
|
return de($n, null, e, 0);
|
|
1923
1923
|
}
|
|
1924
|
-
const Nn = "__INTLIFY_META__",
|
|
1925
|
-
let
|
|
1924
|
+
const Nn = "__INTLIFY_META__", kn = () => [], Qa = () => !1;
|
|
1925
|
+
let yn = 0;
|
|
1926
1926
|
function Tn(e) {
|
|
1927
|
-
return (t, n, s, l) => e(n, s,
|
|
1927
|
+
return (t, n, s, l) => e(n, s, Yt() || void 0, l);
|
|
1928
1928
|
}
|
|
1929
1929
|
const qa = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
1930
|
-
const e =
|
|
1930
|
+
const e = Yt();
|
|
1931
1931
|
let t = null;
|
|
1932
|
-
return e && (t =
|
|
1932
|
+
return e && (t = Yn(e)[Nn]) ? { [Nn]: t } : null;
|
|
1933
1933
|
};
|
|
1934
1934
|
function er(e = {}) {
|
|
1935
|
-
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = qt ?
|
|
1935
|
+
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = qt ? Ve : Bn;
|
|
1936
1936
|
let c = le(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1937
1937
|
const m = a(
|
|
1938
1938
|
// prettier-ignore
|
|
1939
|
-
t && c ? t.locale.value :
|
|
1939
|
+
t && c ? t.locale.value : M(e.locale) ? e.locale : ft
|
|
1940
1940
|
), u = a(
|
|
1941
1941
|
// prettier-ignore
|
|
1942
|
-
t && c ? t.fallbackLocale.value :
|
|
1943
|
-
), b = a(Gn(m.value, e)),
|
|
1944
|
-
let N = t ? t.missingWarn : le(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, P = t ? t.fallbackWarn : le(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0,
|
|
1942
|
+
t && c ? t.fallbackLocale.value : M(e.fallbackLocale) || oe(e.fallbackLocale) || Z(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : m.value
|
|
1943
|
+
), b = a(Gn(m.value, e)), y = a(Z(e.datetimeFormats) ? e.datetimeFormats : { [m.value]: {} }), L = a(Z(e.numberFormats) ? e.numberFormats : { [m.value]: {} });
|
|
1944
|
+
let N = t ? t.missingWarn : le(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, P = t ? t.fallbackWarn : le(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, V = t ? t.fallbackRoot : le(e.fallbackRoot) ? e.fallbackRoot : !0, T = !!e.fallbackFormat, A = se(e.missing) ? e.missing : null, i = se(e.missing) ? Tn(e.missing) : null, d = se(e.postTranslation) ? e.postTranslation : null, k = t ? t.warnHtmlMessage : le(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, h = !!e.escapeParameter;
|
|
1945
1945
|
const S = t ? t.modifiers : Z(e.modifiers) ? e.modifiers : {};
|
|
1946
1946
|
let p = e.pluralRules || t && t.pluralRules, _;
|
|
1947
1947
|
_ = (() => {
|
|
@@ -1959,13 +1959,13 @@ function er(e = {}) {
|
|
|
1959
1959
|
fallbackFormat: T,
|
|
1960
1960
|
unresolving: !0,
|
|
1961
1961
|
postTranslation: d === null ? void 0 : d,
|
|
1962
|
-
warnHtmlMessage:
|
|
1962
|
+
warnHtmlMessage: k,
|
|
1963
1963
|
escapeParameter: h,
|
|
1964
1964
|
messageResolver: e.messageResolver,
|
|
1965
1965
|
messageCompiler: e.messageCompiler,
|
|
1966
1966
|
__meta: { framework: "vue" }
|
|
1967
1967
|
};
|
|
1968
|
-
f.datetimeFormats =
|
|
1968
|
+
f.datetimeFormats = y.value, f.numberFormats = L.value, f.__datetimeFormatters = Z(_) ? _.__datetimeFormatters : void 0, f.__numberFormatters = Z(_) ? _.__numberFormatters : void 0;
|
|
1969
1969
|
const E = Da(f);
|
|
1970
1970
|
return s && dn(E), E;
|
|
1971
1971
|
})(), Qe(_, m.value, u.value);
|
|
@@ -1974,7 +1974,7 @@ function er(e = {}) {
|
|
|
1974
1974
|
m.value,
|
|
1975
1975
|
u.value,
|
|
1976
1976
|
b.value,
|
|
1977
|
-
|
|
1977
|
+
y.value,
|
|
1978
1978
|
L.value
|
|
1979
1979
|
];
|
|
1980
1980
|
}
|
|
@@ -1988,54 +1988,54 @@ function er(e = {}) {
|
|
|
1988
1988
|
set: (f) => {
|
|
1989
1989
|
u.value = f, _.fallbackLocale = u.value, Qe(_, m.value, f);
|
|
1990
1990
|
}
|
|
1991
|
-
}), D = z(() => b.value), $ = /* @__PURE__ */ z(() =>
|
|
1991
|
+
}), D = z(() => b.value), $ = /* @__PURE__ */ z(() => y.value), q = /* @__PURE__ */ z(() => L.value);
|
|
1992
1992
|
function C() {
|
|
1993
1993
|
return se(d) ? d : null;
|
|
1994
1994
|
}
|
|
1995
1995
|
function O(f) {
|
|
1996
1996
|
d = f, _.postTranslation = f;
|
|
1997
1997
|
}
|
|
1998
|
-
function
|
|
1998
|
+
function w() {
|
|
1999
1999
|
return A;
|
|
2000
2000
|
}
|
|
2001
2001
|
function H(f) {
|
|
2002
2002
|
f !== null && (i = Tn(f)), A = f, _.missing = i;
|
|
2003
2003
|
}
|
|
2004
|
-
const
|
|
2004
|
+
const j = (f, E, K, re, Pe, at) => {
|
|
2005
2005
|
g();
|
|
2006
|
-
let
|
|
2006
|
+
let Ye;
|
|
2007
2007
|
try {
|
|
2008
|
-
Ba.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (_.fallbackContext = t ? Sa() : void 0),
|
|
2008
|
+
Ba.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (_.fallbackContext = t ? Sa() : void 0), Ye = f(_);
|
|
2009
2009
|
} finally {
|
|
2010
2010
|
__INTLIFY_PROD_DEVTOOLS__, s || (_.fallbackContext = void 0);
|
|
2011
2011
|
}
|
|
2012
2012
|
if (K !== "translate exists" && // for not `te` (e.g `t`)
|
|
2013
|
-
ce(
|
|
2013
|
+
ce(Ye) && Ye === bt || K === "translate exists" && !Ye) {
|
|
2014
2014
|
const [Xn, Gr] = E();
|
|
2015
|
-
return t &&
|
|
2015
|
+
return t && V ? re(t) : Pe(Xn);
|
|
2016
2016
|
} else {
|
|
2017
|
-
if (at(
|
|
2018
|
-
return
|
|
2017
|
+
if (at(Ye))
|
|
2018
|
+
return Ye;
|
|
2019
2019
|
throw nt(Be.UNEXPECTED_RETURN_TYPE);
|
|
2020
2020
|
}
|
|
2021
2021
|
};
|
|
2022
2022
|
function R(...f) {
|
|
2023
|
-
return
|
|
2023
|
+
return j((E) => Reflect.apply(En, null, [E, ...f]), () => Ut(...f), "translate", (E) => Reflect.apply(E.t, E, [...f]), (E) => E, (E) => M(E));
|
|
2024
2024
|
}
|
|
2025
|
-
function
|
|
2025
|
+
function Y(...f) {
|
|
2026
2026
|
const [E, K, re] = f;
|
|
2027
2027
|
if (re && !X(re))
|
|
2028
2028
|
throw nt(Be.INVALID_ARGUMENT);
|
|
2029
2029
|
return R(E, K, ue({ resolvedMessage: !0 }, re || {}));
|
|
2030
2030
|
}
|
|
2031
2031
|
function Q(...f) {
|
|
2032
|
-
return
|
|
2032
|
+
return j((E) => Reflect.apply(_n, null, [E, ...f]), () => Pt(...f), "datetime format", (E) => Reflect.apply(E.d, E, [...f]), () => un, (E) => M(E));
|
|
2033
2033
|
}
|
|
2034
2034
|
function ge(...f) {
|
|
2035
|
-
return
|
|
2035
|
+
return j((E) => Reflect.apply(hn, null, [E, ...f]), () => Ft(...f), "number format", (E) => Reflect.apply(E.n, E, [...f]), () => un, (E) => M(E));
|
|
2036
2036
|
}
|
|
2037
2037
|
function fe(f) {
|
|
2038
|
-
return f.map((E) =>
|
|
2038
|
+
return f.map((E) => M(E) || ce(E) || le(E) ? In(String(E)) : E);
|
|
2039
2039
|
}
|
|
2040
2040
|
const ee = {
|
|
2041
2041
|
normalize: fe,
|
|
@@ -2043,7 +2043,7 @@ function er(e = {}) {
|
|
|
2043
2043
|
type: "vnode"
|
|
2044
2044
|
};
|
|
2045
2045
|
function ve(...f) {
|
|
2046
|
-
return
|
|
2046
|
+
return j((E) => {
|
|
2047
2047
|
let K;
|
|
2048
2048
|
const re = E;
|
|
2049
2049
|
try {
|
|
@@ -2052,23 +2052,23 @@ function er(e = {}) {
|
|
|
2052
2052
|
re.processor = null;
|
|
2053
2053
|
}
|
|
2054
2054
|
return K;
|
|
2055
|
-
}, () =>
|
|
2055
|
+
}, () => Ut(...f), "translate", (E) => E[Vt](...f), (E) => [In(E)], (E) => oe(E));
|
|
2056
2056
|
}
|
|
2057
2057
|
function $e(...f) {
|
|
2058
|
-
return
|
|
2058
|
+
return j((E) => Reflect.apply(hn, null, [E, ...f]), () => Ft(...f), "number format", (E) => E[Wt](...f), kn, (E) => M(E) || oe(E));
|
|
2059
2059
|
}
|
|
2060
2060
|
function Je(...f) {
|
|
2061
|
-
return
|
|
2061
|
+
return j((E) => Reflect.apply(_n, null, [E, ...f]), () => Pt(...f), "datetime format", (E) => E[jt](...f), kn, (E) => M(E) || oe(E));
|
|
2062
2062
|
}
|
|
2063
2063
|
function vt(f) {
|
|
2064
2064
|
p = f, _.pluralRules = p;
|
|
2065
2065
|
}
|
|
2066
2066
|
function Et(f, E) {
|
|
2067
|
-
return
|
|
2067
|
+
return j(() => {
|
|
2068
2068
|
if (!f)
|
|
2069
2069
|
return !1;
|
|
2070
|
-
const K =
|
|
2071
|
-
return He(Pe) || be(Pe) ||
|
|
2070
|
+
const K = M(E) ? E : m.value, re = We(K), Pe = _.messageResolver(re, f);
|
|
2071
|
+
return He(Pe) || be(Pe) || M(Pe);
|
|
2072
2072
|
}, () => [f], "translate exists", (K) => Reflect.apply(K.te, K, [f, E]), Qa, (K) => le(K));
|
|
2073
2073
|
}
|
|
2074
2074
|
function It(f) {
|
|
@@ -2108,13 +2108,13 @@ function er(e = {}) {
|
|
|
2108
2108
|
E = K[f], mt(E, b.value[f]), _.messages = b.value;
|
|
2109
2109
|
}
|
|
2110
2110
|
function Nt(f) {
|
|
2111
|
-
return
|
|
2111
|
+
return y.value[f] || {};
|
|
2112
2112
|
}
|
|
2113
2113
|
function r(f, E) {
|
|
2114
|
-
|
|
2114
|
+
y.value[f] = E, _.datetimeFormats = y.value, pn(_, f, E);
|
|
2115
2115
|
}
|
|
2116
2116
|
function o(f, E) {
|
|
2117
|
-
|
|
2117
|
+
y.value[f] = ue(y.value[f] || {}, E), _.datetimeFormats = y.value, pn(_, f, E);
|
|
2118
2118
|
}
|
|
2119
2119
|
function v(f) {
|
|
2120
2120
|
return L.value[f] || {};
|
|
@@ -2125,13 +2125,13 @@ function er(e = {}) {
|
|
|
2125
2125
|
function ae(f, E) {
|
|
2126
2126
|
L.value[f] = ue(L.value[f] || {}, E), _.numberFormats = L.value, bn(_, f, E);
|
|
2127
2127
|
}
|
|
2128
|
-
|
|
2128
|
+
yn++, t && qt && (St(t.locale, (f) => {
|
|
2129
2129
|
c && (m.value = f, _.locale = f, Qe(_, m.value, u.value));
|
|
2130
2130
|
}), St(t.fallbackLocale, (f) => {
|
|
2131
2131
|
c && (u.value = f, _.fallbackLocale = f, Qe(_, m.value, u.value));
|
|
2132
2132
|
}));
|
|
2133
2133
|
const W = {
|
|
2134
|
-
id:
|
|
2134
|
+
id: yn,
|
|
2135
2135
|
locale: I,
|
|
2136
2136
|
fallbackLocale: G,
|
|
2137
2137
|
get inheritLocale() {
|
|
@@ -2166,10 +2166,10 @@ function er(e = {}) {
|
|
|
2166
2166
|
P = f, _.fallbackWarn = P;
|
|
2167
2167
|
},
|
|
2168
2168
|
get fallbackRoot() {
|
|
2169
|
-
return
|
|
2169
|
+
return V;
|
|
2170
2170
|
},
|
|
2171
2171
|
set fallbackRoot(f) {
|
|
2172
|
-
|
|
2172
|
+
V = f;
|
|
2173
2173
|
},
|
|
2174
2174
|
get fallbackFormat() {
|
|
2175
2175
|
return T;
|
|
@@ -2178,10 +2178,10 @@ function er(e = {}) {
|
|
|
2178
2178
|
T = f, _.fallbackFormat = T;
|
|
2179
2179
|
},
|
|
2180
2180
|
get warnHtmlMessage() {
|
|
2181
|
-
return
|
|
2181
|
+
return k;
|
|
2182
2182
|
},
|
|
2183
2183
|
set warnHtmlMessage(f) {
|
|
2184
|
-
|
|
2184
|
+
k = f, _.warnHtmlMessage = f;
|
|
2185
2185
|
},
|
|
2186
2186
|
get escapeParameter() {
|
|
2187
2187
|
return h;
|
|
@@ -2195,11 +2195,11 @@ function er(e = {}) {
|
|
|
2195
2195
|
mergeLocaleMessage: ze,
|
|
2196
2196
|
getPostTranslationHandler: C,
|
|
2197
2197
|
setPostTranslationHandler: O,
|
|
2198
|
-
getMissingHandler:
|
|
2198
|
+
getMissingHandler: w,
|
|
2199
2199
|
setMissingHandler: H,
|
|
2200
2200
|
[Ka]: vt
|
|
2201
2201
|
};
|
|
2202
|
-
return W.datetimeFormats = $, W.numberFormats = q, W.rt =
|
|
2202
|
+
return W.datetimeFormats = $, W.numberFormats = q, W.rt = Y, W.te = Et, W.tm = Ke, W.d = Q, W.n = ge, W.getDateTimeFormat = Nt, W.setDateTimeFormat = r, W.mergeDateTimeFormat = o, W.getNumberFormat = v, W.setNumberFormat = F, W.mergeNumberFormat = ae, W[Wn] = n, W[Vt] = ve, W[jt] = Je, W[Wt] = $e, W;
|
|
2203
2203
|
}
|
|
2204
2204
|
const Kt = {
|
|
2205
2205
|
tag: {
|
|
@@ -2223,14 +2223,14 @@ function tr({ slots: e }, t) {
|
|
|
2223
2223
|
return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((s, l) => [
|
|
2224
2224
|
...s,
|
|
2225
2225
|
// prettier-ignore
|
|
2226
|
-
...l.type ===
|
|
2226
|
+
...l.type === ke ? l.children : [l]
|
|
2227
2227
|
], []) : t.reduce((n, s) => {
|
|
2228
2228
|
const l = e[s];
|
|
2229
2229
|
return l && (n[s] = l()), n;
|
|
2230
2230
|
}, J());
|
|
2231
2231
|
}
|
|
2232
|
-
function
|
|
2233
|
-
return
|
|
2232
|
+
function xn() {
|
|
2233
|
+
return ke;
|
|
2234
2234
|
}
|
|
2235
2235
|
ue({
|
|
2236
2236
|
keypath: {
|
|
@@ -2243,22 +2243,22 @@ ue({
|
|
|
2243
2243
|
}
|
|
2244
2244
|
}, Kt);
|
|
2245
2245
|
function nr(e) {
|
|
2246
|
-
return oe(e) && !
|
|
2246
|
+
return oe(e) && !M(e[0]);
|
|
2247
2247
|
}
|
|
2248
2248
|
function Zn(e, t, n, s) {
|
|
2249
2249
|
const { slots: l, attrs: a } = t;
|
|
2250
2250
|
return () => {
|
|
2251
2251
|
const c = { part: !0 };
|
|
2252
2252
|
let m = J();
|
|
2253
|
-
e.locale && (c.locale = e.locale),
|
|
2253
|
+
e.locale && (c.locale = e.locale), M(e.format) ? c.key = e.format : X(e.format) && (M(e.format.key) && (c.key = e.format.key), m = Object.keys(e.format).reduce((N, P) => n.includes(P) ? ue(J(), N, { [P]: e.format[P] }) : N, J()));
|
|
2254
2254
|
const u = s(e.value, c, m);
|
|
2255
2255
|
let b = [c.key];
|
|
2256
2256
|
oe(u) ? b = u.map((N, P) => {
|
|
2257
|
-
const
|
|
2257
|
+
const V = l[N.type], T = V ? V({ [N.type]: N.value, index: P, parts: u }) : [N.value];
|
|
2258
2258
|
return nr(T) && (T[0].key = `${N.type}-${P}`), T;
|
|
2259
|
-
}) :
|
|
2260
|
-
const
|
|
2261
|
-
return Rn(L,
|
|
2259
|
+
}) : M(u) && (b = [u]);
|
|
2260
|
+
const y = ue(J(), a), L = M(e.tag) || X(e.tag) ? e.tag : xn();
|
|
2261
|
+
return Rn(L, y, b);
|
|
2262
2262
|
};
|
|
2263
2263
|
}
|
|
2264
2264
|
ue({
|
|
@@ -2279,14 +2279,14 @@ ue({
|
|
|
2279
2279
|
type: [String, Object]
|
|
2280
2280
|
}
|
|
2281
2281
|
}, Kt);
|
|
2282
|
-
const sr = /* @__PURE__ */
|
|
2282
|
+
const sr = /* @__PURE__ */ je("global-vue-i18n");
|
|
2283
2283
|
function gt(e = {}) {
|
|
2284
|
-
const t =
|
|
2284
|
+
const t = Yt();
|
|
2285
2285
|
if (t == null)
|
|
2286
2286
|
throw nt(Be.MUST_BE_CALL_SETUP_TOP);
|
|
2287
2287
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
2288
2288
|
throw nt(Be.NOT_INSTALLED);
|
|
2289
|
-
const n = ar(t), s = lr(n), l =
|
|
2289
|
+
const n = ar(t), s = lr(n), l = Yn(t), a = rr(e, l);
|
|
2290
2290
|
if (a === "global")
|
|
2291
2291
|
return za(s, e, l), s;
|
|
2292
2292
|
if (a === "parent") {
|
|
@@ -2335,7 +2335,7 @@ function ir(e, t = !1) {
|
|
|
2335
2335
|
return e == null ? null : t && e.vnode.ctx || e.parent;
|
|
2336
2336
|
}
|
|
2337
2337
|
function cr(e, t, n) {
|
|
2338
|
-
|
|
2338
|
+
xt(() => {
|
|
2339
2339
|
}, t), On(() => {
|
|
2340
2340
|
const s = n;
|
|
2341
2341
|
e.__deleteInstance(t);
|
|
@@ -2345,10 +2345,10 @@ function cr(e, t, n) {
|
|
|
2345
2345
|
}
|
|
2346
2346
|
Ja();
|
|
2347
2347
|
La(oa);
|
|
2348
|
-
Oa(
|
|
2348
|
+
Oa(ka);
|
|
2349
2349
|
Ra(An);
|
|
2350
2350
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
2351
|
-
const e =
|
|
2351
|
+
const e = Ue();
|
|
2352
2352
|
e.__INTLIFY__ = !0, ia(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
2353
2353
|
}
|
|
2354
2354
|
const it = /* @__PURE__ */ Ie({
|
|
@@ -2363,14 +2363,14 @@ const it = /* @__PURE__ */ Ie({
|
|
|
2363
2363
|
const { t } = gt();
|
|
2364
2364
|
return (n, s) => {
|
|
2365
2365
|
const l = Ze("FmIcon"), a = Ze("FmTooltip");
|
|
2366
|
-
return
|
|
2366
|
+
return x(), Se(a, {
|
|
2367
2367
|
variant: "plain",
|
|
2368
2368
|
placement: "right",
|
|
2369
2369
|
"z-index": 50
|
|
2370
2370
|
}, {
|
|
2371
2371
|
content: pe(() => [
|
|
2372
|
-
ne("div", null, Ae(
|
|
2373
|
-
(
|
|
2372
|
+
ne("div", null, Ae(ye(t)("team.memberForm.permissions.inherited")), 1),
|
|
2373
|
+
(x(!0), te(ke, null, _e(e.item.setNames, (c) => (x(), te("div", { key: c }, [
|
|
2374
2374
|
ne("div", null, "- " + Ae(c), 1)
|
|
2375
2375
|
]))), 128))
|
|
2376
2376
|
]),
|
|
@@ -2409,11 +2409,11 @@ const it = /* @__PURE__ */ Ie({
|
|
|
2409
2409
|
},
|
|
2410
2410
|
setup(e) {
|
|
2411
2411
|
const t = e;
|
|
2412
|
-
return (n, s) => (
|
|
2412
|
+
return (n, s) => (x(), te("div", ur, [
|
|
2413
2413
|
he(n.$slots, "top", {}, () => [
|
|
2414
|
-
t.title ? (
|
|
2414
|
+
t.title ? (x(), te("div", mr, [
|
|
2415
2415
|
ne("div", null, [
|
|
2416
|
-
t.required ? (
|
|
2416
|
+
t.required ? (x(), te("span", dr, "*")) : Le("", !0),
|
|
2417
2417
|
Jn(Ae(t.title), 1)
|
|
2418
2418
|
]),
|
|
2419
2419
|
he(n.$slots, "title-right")
|
|
@@ -2493,13 +2493,13 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2493
2493
|
},
|
|
2494
2494
|
emits: ["update:model-value"],
|
|
2495
2495
|
setup(e, { emit: t }) {
|
|
2496
|
-
const n = e, s = t, { t: l } = _t(), a =
|
|
2496
|
+
const n = e, s = t, { t: l } = _t(), a = Ve(!1), c = Kn(), m = z(() => 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-${pr(6)}`, b = z(() => m.value !== !0), y = z(
|
|
2497
2497
|
() => n.modelValue.filter((T) => n.options.some((A) => A.value === T))
|
|
2498
2498
|
), L = z(
|
|
2499
2499
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
2500
|
-
), N = z(() => n.options.length > 0 && n.options.length ===
|
|
2500
|
+
), N = z(() => n.options.length > 0 && n.options.length === y.value.length);
|
|
2501
2501
|
function P() {
|
|
2502
|
-
const T = n.modelValue.filter((A) => !
|
|
2502
|
+
const T = n.modelValue.filter((A) => !y.value.includes(A));
|
|
2503
2503
|
if (N.value === !0)
|
|
2504
2504
|
s("update:model-value", T);
|
|
2505
2505
|
else {
|
|
@@ -2507,13 +2507,13 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2507
2507
|
s("update:model-value", [...T, ...A]);
|
|
2508
2508
|
}
|
|
2509
2509
|
}
|
|
2510
|
-
function
|
|
2510
|
+
function V(T, A) {
|
|
2511
2511
|
let i = ut(n.modelValue);
|
|
2512
2512
|
A ? i.every((d) => d !== T) && i.push(T) : i = i.filter((d) => d !== T), s("update:model-value", i);
|
|
2513
2513
|
}
|
|
2514
2514
|
return (T, A) => {
|
|
2515
2515
|
const i = Ze("FmCheckbox");
|
|
2516
|
-
return
|
|
2516
|
+
return x(), Se(_r, {
|
|
2517
2517
|
id: u,
|
|
2518
2518
|
title: e.title,
|
|
2519
2519
|
required: !1
|
|
@@ -2522,7 +2522,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2522
2522
|
he(T.$slots, "top")
|
|
2523
2523
|
]),
|
|
2524
2524
|
default: pe(() => [
|
|
2525
|
-
n.showAllToggle ? (
|
|
2525
|
+
n.showAllToggle ? (x(), Se(i, {
|
|
2526
2526
|
key: 0,
|
|
2527
2527
|
"model-value": N.value,
|
|
2528
2528
|
disabled: e.disable,
|
|
@@ -2533,10 +2533,10 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2533
2533
|
value: L.value,
|
|
2534
2534
|
"onUpdate:modelValue": P
|
|
2535
2535
|
}, null, 8, ["model-value", "disabled", "label", "style", "value"])) : Le("", !0),
|
|
2536
|
-
(
|
|
2536
|
+
(x(!0), te(ke, null, _e(e.options, (d, k) => (x(), te("div", {
|
|
2537
2537
|
key: d.value,
|
|
2538
|
-
style: ct(`margin-bottom: ${
|
|
2539
|
-
class: qe(
|
|
2538
|
+
style: ct(`margin-bottom: ${k < e.options.length - 1 ? n.gutter : 0}px`),
|
|
2539
|
+
class: qe(k < e.options.length - 1 ? "q-mb-sm" : "")
|
|
2540
2540
|
}, [
|
|
2541
2541
|
ne("div", {
|
|
2542
2542
|
class: qe(["row justify-between", e.alignCenter ? "items-center" : "items-start"])
|
|
@@ -2548,14 +2548,14 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2548
2548
|
size: "sm",
|
|
2549
2549
|
label: d.label,
|
|
2550
2550
|
value: d.label,
|
|
2551
|
-
"onUpdate:modelValue": (h) =>
|
|
2551
|
+
"onUpdate:modelValue": (h) => V(d.value, h)
|
|
2552
2552
|
}, null, 8, ["model-value", "disabled", "label", "value", "onUpdate:modelValue"]),
|
|
2553
2553
|
he(T.$slots, `checkbox-${d.key || d.value}-append`, {
|
|
2554
2554
|
option: d,
|
|
2555
2555
|
selected: e.modelValue.includes(d.value)
|
|
2556
2556
|
})
|
|
2557
2557
|
]),
|
|
2558
|
-
|
|
2558
|
+
ye(c)[`checkbox-${d.key || d.value}-end`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (x(), te("div", {
|
|
2559
2559
|
key: 0,
|
|
2560
2560
|
class: qe([{ "q-checkbox disabled": e.disable || d.disabled }, "col"])
|
|
2561
2561
|
}, [
|
|
@@ -2566,7 +2566,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2566
2566
|
})
|
|
2567
2567
|
], 2)) : Le("", !0)
|
|
2568
2568
|
], 2),
|
|
2569
|
-
|
|
2569
|
+
ye(c)[`checkbox-${d.key || d.value}-bottom`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (x(), te("div", {
|
|
2570
2570
|
key: 0,
|
|
2571
2571
|
class: qe(["q-mt-sm", { "q-checkbox disabled": e.disable || d.disabled }]),
|
|
2572
2572
|
style: ct(`margin-left: ${e.bottomSlotIndent}`)
|
|
@@ -2578,7 +2578,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2578
2578
|
})
|
|
2579
2579
|
], 6)) : Le("", !0)
|
|
2580
2580
|
], 6))), 128)),
|
|
2581
|
-
a.value && b.value ? (
|
|
2581
|
+
a.value && b.value ? (x(), te("div", br, Ae(m.value), 1)) : Le("", !0)
|
|
2582
2582
|
]),
|
|
2583
2583
|
_: 3
|
|
2584
2584
|
}, 8, ["title"]);
|
|
@@ -2587,7 +2587,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2587
2587
|
}), gr = { class: "flex flex-col gap-16" }, vr = {
|
|
2588
2588
|
key: 1,
|
|
2589
2589
|
class: "space-y-16"
|
|
2590
|
-
}, Er = { class: "flex items-end justify-between" }, Ir = { class: "fm-typo-en-title-sm-600" }, Nr = { class: "flex" },
|
|
2590
|
+
}, Er = { class: "flex items-end justify-between" }, Ir = { class: "fm-typo-en-title-sm-600" }, Nr = { class: "flex" }, kr = { class: "form-input" }, yr = { class: "flex items-center justify-between q-mb-xs" }, Tr = { class: "flex items-center justify-between gap-4" }, Lr = { class: "flex items-center min-w-0 flex-1 gap-8" }, Or = ["title", "onClick"], Rr = {
|
|
2591
2591
|
key: 0,
|
|
2592
2592
|
class: "flex shrink-0"
|
|
2593
2593
|
}, Cr = /* @__PURE__ */ Ie({
|
|
@@ -2624,25 +2624,25 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2624
2624
|
}).map((g) => {
|
|
2625
2625
|
const I = p.get(g), G = /* @__PURE__ */ new Map();
|
|
2626
2626
|
for (const R of I) {
|
|
2627
|
-
const
|
|
2628
|
-
|
|
2627
|
+
const Y = _.get(R.value);
|
|
2628
|
+
Y && G.set(R.value, Y.actions);
|
|
2629
2629
|
}
|
|
2630
2630
|
const D = I.some((R) => {
|
|
2631
|
-
const
|
|
2632
|
-
return
|
|
2631
|
+
const Y = G.get(R.value);
|
|
2632
|
+
return Y && Y.length > 1;
|
|
2633
2633
|
}), $ = D ? [
|
|
2634
2634
|
...new Set(
|
|
2635
2635
|
I.flatMap((R) => G.get(R.value) ?? []).filter((R) => R !== "manage")
|
|
2636
2636
|
)
|
|
2637
2637
|
] : [], q = /* @__PURE__ */ new Map();
|
|
2638
2638
|
for (const R of s.modelValue)
|
|
2639
|
-
I.some((
|
|
2639
|
+
I.some((Y) => Y.value === R.subject) && !R.inverted && q.set(R.subject, new Set(R.actions));
|
|
2640
2640
|
const C = D ? s.modelValue.filter(
|
|
2641
|
-
(R) => I.some((
|
|
2642
|
-
).map((R) => R.subject) : s.modelValue.filter((R) => I.some((
|
|
2643
|
-
var
|
|
2644
|
-
return (
|
|
2645
|
-
}),
|
|
2641
|
+
(R) => I.some((Y) => Y.value === R.subject) && !R.inverted && R.actions.includes("manage")
|
|
2642
|
+
).map((R) => R.subject) : s.modelValue.filter((R) => I.some((Y) => Y.value === R.subject) && !R.inverted).map((R) => R.subject), O = I.find((R) => {
|
|
2643
|
+
var Y;
|
|
2644
|
+
return (Y = _.get(R.value)) == null ? void 0 : Y.isCategoryCover;
|
|
2645
|
+
}), w = (O == null ? void 0 : O.value) ?? null, H = w ? q.get(w) ?? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set(), j = H.has("manage");
|
|
2646
2646
|
return {
|
|
2647
2647
|
category: g,
|
|
2648
2648
|
options: I,
|
|
@@ -2651,17 +2651,17 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2651
2651
|
actionColumns: $,
|
|
2652
2652
|
permissionActionsMap: G,
|
|
2653
2653
|
selectedActionsMap: q,
|
|
2654
|
-
coverSubject:
|
|
2654
|
+
coverSubject: w,
|
|
2655
2655
|
coverSelectedActions: H,
|
|
2656
|
-
coverCoversAll:
|
|
2656
|
+
coverCoversAll: j
|
|
2657
2657
|
};
|
|
2658
2658
|
});
|
|
2659
2659
|
});
|
|
2660
2660
|
function u(p, _) {
|
|
2661
2661
|
var g;
|
|
2662
|
-
const
|
|
2662
|
+
const U = ((g = m.value.find((I) => I.category === p)) == null ? void 0 : g.options) ?? [];
|
|
2663
2663
|
a("update:model-value", [
|
|
2664
|
-
...s.modelValue.filter((I) => !
|
|
2664
|
+
...s.modelValue.filter((I) => !U.some((G) => G.value === I.subject)),
|
|
2665
2665
|
...l.value.filter((I) => _.includes(I.subject)).map(
|
|
2666
2666
|
({ category: I, showByFeatureFlag: G, isCategoryCover: D, ...$ }) => $
|
|
2667
2667
|
)
|
|
@@ -2670,35 +2670,35 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2670
2670
|
function b(p) {
|
|
2671
2671
|
return p.options.length > 0 && p.options.every((_) => p.selectedSubjects.includes(_.value));
|
|
2672
2672
|
}
|
|
2673
|
-
function
|
|
2673
|
+
function y(p) {
|
|
2674
2674
|
const _ = s.modelValue.filter(
|
|
2675
|
-
(
|
|
2675
|
+
(U) => !p.options.some((g) => g.value === U.subject)
|
|
2676
2676
|
);
|
|
2677
2677
|
if (b(p))
|
|
2678
2678
|
a("update:model-value", _);
|
|
2679
2679
|
else {
|
|
2680
|
-
const
|
|
2680
|
+
const U = l.value.filter((g) => p.options.some((I) => I.value === g.subject)).map(
|
|
2681
2681
|
({ category: g, showByFeatureFlag: I, isCategoryCover: G, ...D }) => D
|
|
2682
2682
|
);
|
|
2683
|
-
a("update:model-value", [..._, ...
|
|
2683
|
+
a("update:model-value", [..._, ...U]);
|
|
2684
2684
|
}
|
|
2685
2685
|
}
|
|
2686
2686
|
function L(p, _) {
|
|
2687
|
-
const
|
|
2688
|
-
return
|
|
2687
|
+
const U = p.selectedActionsMap.get(_);
|
|
2688
|
+
return U ? U.has("manage") : !1;
|
|
2689
2689
|
}
|
|
2690
2690
|
function N(p, _) {
|
|
2691
|
-
const
|
|
2692
|
-
if (!
|
|
2693
|
-
const g =
|
|
2691
|
+
const U = p.permissionActionsMap.get(_);
|
|
2692
|
+
if (!U) return !1;
|
|
2693
|
+
const g = U.filter((D) => D !== "manage");
|
|
2694
2694
|
if (g.length === 0) return !1;
|
|
2695
2695
|
const I = p.selectedActionsMap.get(_);
|
|
2696
2696
|
if (!I) return !1;
|
|
2697
2697
|
const G = g.filter((D) => I.has(D));
|
|
2698
2698
|
return G.length > 0 && G.length < g.length;
|
|
2699
2699
|
}
|
|
2700
|
-
function P(p, _,
|
|
2701
|
-
if (
|
|
2700
|
+
function P(p, _, U) {
|
|
2701
|
+
if (U) {
|
|
2702
2702
|
const g = l.value.find((C) => C.subject === _);
|
|
2703
2703
|
if (!g) return;
|
|
2704
2704
|
const { category: I, showByFeatureFlag: G, isCategoryCover: D, ...$ } = g, q = s.modelValue.filter((C) => C.subject !== _);
|
|
@@ -2709,32 +2709,32 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2709
2709
|
s.modelValue.filter((g) => g.subject !== _)
|
|
2710
2710
|
);
|
|
2711
2711
|
}
|
|
2712
|
-
function
|
|
2713
|
-
const
|
|
2714
|
-
return
|
|
2712
|
+
function V(p, _) {
|
|
2713
|
+
const U = p.permissionActionsMap.get(_);
|
|
2714
|
+
return U ? U.some((g) => g !== "manage") : !1;
|
|
2715
2715
|
}
|
|
2716
|
-
function T(p, _,
|
|
2716
|
+
function T(p, _, U) {
|
|
2717
2717
|
const g = p.selectedActionsMap.get(_);
|
|
2718
|
-
return g ? g.has(
|
|
2718
|
+
return g ? g.has(U) : !1;
|
|
2719
2719
|
}
|
|
2720
2720
|
function A(p, _) {
|
|
2721
2721
|
return !p.coverSubject || _ === p.coverSubject ? !1 : p.coverCoversAll;
|
|
2722
2722
|
}
|
|
2723
|
-
function i(p, _,
|
|
2724
|
-
return !p.coverSubject || _ === p.coverSubject ? !1 : p.coverCoversAll ? !0 : p.coverSelectedActions.has(
|
|
2723
|
+
function i(p, _, U) {
|
|
2724
|
+
return !p.coverSubject || _ === p.coverSubject ? !1 : p.coverCoversAll ? !0 : p.coverSelectedActions.has(U);
|
|
2725
2725
|
}
|
|
2726
|
-
function d(p, _,
|
|
2726
|
+
function d(p, _, U) {
|
|
2727
2727
|
const g = p.permissionActionsMap.get(_);
|
|
2728
|
-
return g ? g.includes(
|
|
2728
|
+
return g ? g.includes(U) : !1;
|
|
2729
2729
|
}
|
|
2730
|
-
function
|
|
2730
|
+
function k(p, _, U) {
|
|
2731
2731
|
const g = [...s.modelValue], I = g.findIndex((D) => D.subject === p && !D.inverted);
|
|
2732
|
-
if (
|
|
2732
|
+
if (U)
|
|
2733
2733
|
if (I >= 0) {
|
|
2734
2734
|
const D = { ...g[I] }, $ = new Set(D.actions);
|
|
2735
2735
|
$.add(_), D.actions = Array.from($), g[I] = D;
|
|
2736
2736
|
} else {
|
|
2737
|
-
const D = l.value.find((
|
|
2737
|
+
const D = l.value.find((w) => w.subject === p);
|
|
2738
2738
|
if (!D) return;
|
|
2739
2739
|
const {
|
|
2740
2740
|
category: $,
|
|
@@ -2754,7 +2754,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2754
2754
|
if ($.length > 0) {
|
|
2755
2755
|
const q = g.findIndex((C) => C.subject === p && !C.inverted);
|
|
2756
2756
|
if (q >= 0) {
|
|
2757
|
-
const C = new Set(g[q].actions), O = $.every((
|
|
2757
|
+
const C = new Set(g[q].actions), O = $.every((w) => C.has(w));
|
|
2758
2758
|
O && !C.has("manage") ? (C.add("manage"), g[q] = {
|
|
2759
2759
|
...g[q],
|
|
2760
2760
|
actions: Array.from(C)
|
|
@@ -2776,40 +2776,40 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2776
2776
|
return h[p] ?? p.charAt(0).toUpperCase() + p.slice(1);
|
|
2777
2777
|
}
|
|
2778
2778
|
return (p, _) => {
|
|
2779
|
-
const
|
|
2780
|
-
return
|
|
2781
|
-
(
|
|
2779
|
+
const U = Ze("FmCheckbox");
|
|
2780
|
+
return x(), te("div", gr, [
|
|
2781
|
+
(x(!0), te(ke, null, _e(m.value, (g) => (x(), te(ke, {
|
|
2782
2782
|
key: g.category
|
|
2783
2783
|
}, [
|
|
2784
|
-
g.isMultiAction ? (
|
|
2784
|
+
g.isMultiAction ? (x(), te("div", vr, [
|
|
2785
2785
|
ne("div", Er, [
|
|
2786
2786
|
ne("div", Ir, Ae(g.category), 1),
|
|
2787
2787
|
ne("div", Nr, [
|
|
2788
|
-
(
|
|
2788
|
+
(x(!0), te(ke, null, _e(g.actionColumns, (I) => (x(), te("span", {
|
|
2789
2789
|
key: I,
|
|
2790
2790
|
class: "w-[56px] text-center fm-typo-en-body-sm-400 text-fm-color-neutral-gray-600"
|
|
2791
2791
|
}, Ae(S(I)), 1))), 128))
|
|
2792
2792
|
])
|
|
2793
2793
|
]),
|
|
2794
|
-
ne("div",
|
|
2795
|
-
ne("div",
|
|
2796
|
-
de(
|
|
2794
|
+
ne("div", kr, [
|
|
2795
|
+
ne("div", yr, [
|
|
2796
|
+
de(U, {
|
|
2797
2797
|
"model-value": b(g),
|
|
2798
2798
|
value: !0,
|
|
2799
2799
|
disabled: e.disable,
|
|
2800
2800
|
label: "All",
|
|
2801
2801
|
size: "sm",
|
|
2802
2802
|
dense: "",
|
|
2803
|
-
"onUpdate:modelValue": (I) =>
|
|
2803
|
+
"onUpdate:modelValue": (I) => y(g)
|
|
2804
2804
|
}, null, 8, ["model-value", "disabled", "onUpdate:modelValue"])
|
|
2805
2805
|
]),
|
|
2806
|
-
(
|
|
2806
|
+
(x(!0), te(ke, null, _e(g.options, (I, G) => (x(), te("div", {
|
|
2807
2807
|
key: I.value,
|
|
2808
2808
|
class: qe(G < g.options.length - 1 ? "q-mb-xs" : "")
|
|
2809
2809
|
}, [
|
|
2810
2810
|
ne("div", Tr, [
|
|
2811
2811
|
ne("div", Lr, [
|
|
2812
|
-
de(
|
|
2812
|
+
de(U, {
|
|
2813
2813
|
"model-value": L(g, I.value) || A(g, I.value),
|
|
2814
2814
|
value: I.value,
|
|
2815
2815
|
disabled: e.disable || A(g, I.value),
|
|
@@ -2825,25 +2825,25 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2825
2825
|
}, Ae(I.label), 9, Or),
|
|
2826
2826
|
he(p.$slots, `checkbox-${I.value}-append`, { option: I })
|
|
2827
2827
|
]),
|
|
2828
|
-
|
|
2829
|
-
(
|
|
2828
|
+
V(g, I.value) ? (x(), te("div", Rr, [
|
|
2829
|
+
(x(!0), te(ke, null, _e(g.actionColumns, (D) => (x(), te("div", {
|
|
2830
2830
|
key: D,
|
|
2831
2831
|
class: "w-[56px] flex justify-center"
|
|
2832
2832
|
}, [
|
|
2833
|
-
d(g, I.value, D) ? (
|
|
2833
|
+
d(g, I.value, D) ? (x(), Se(U, {
|
|
2834
2834
|
key: 0,
|
|
2835
2835
|
"model-value": T(g, I.value, D) || i(g, I.value, D),
|
|
2836
2836
|
value: D,
|
|
2837
2837
|
disabled: e.disable || i(g, I.value, D),
|
|
2838
2838
|
size: "sm",
|
|
2839
|
-
"onUpdate:modelValue": ($) =>
|
|
2839
|
+
"onUpdate:modelValue": ($) => k(I.value, D, $)
|
|
2840
2840
|
}, null, 8, ["model-value", "value", "disabled", "onUpdate:modelValue"])) : Le("", !0)
|
|
2841
2841
|
]))), 128))
|
|
2842
2842
|
])) : Le("", !0)
|
|
2843
2843
|
])
|
|
2844
2844
|
], 2))), 128))
|
|
2845
2845
|
])
|
|
2846
|
-
])) : (
|
|
2846
|
+
])) : (x(), Se(zt, {
|
|
2847
2847
|
key: 0,
|
|
2848
2848
|
"model-value": g.selectedSubjects,
|
|
2849
2849
|
options: g.options,
|
|
@@ -2869,7 +2869,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2869
2869
|
initiallyCollapsed: { type: Boolean, default: !1 }
|
|
2870
2870
|
},
|
|
2871
2871
|
setup(e) {
|
|
2872
|
-
const n =
|
|
2872
|
+
const n = Ve(e.initiallyCollapsed), s = Ve(), l = Ve(0);
|
|
2873
2873
|
let a;
|
|
2874
2874
|
function c() {
|
|
2875
2875
|
n.value = !n.value;
|
|
@@ -2877,20 +2877,20 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2877
2877
|
function m() {
|
|
2878
2878
|
s.value && (l.value = s.value.scrollHeight);
|
|
2879
2879
|
}
|
|
2880
|
-
return
|
|
2880
|
+
return xt(async () => {
|
|
2881
2881
|
await zn(), s.value && (a = new ResizeObserver(() => {
|
|
2882
2882
|
m();
|
|
2883
2883
|
}), a.observe(s.value));
|
|
2884
2884
|
}), On(() => {
|
|
2885
2885
|
a == null || a.disconnect();
|
|
2886
2886
|
}), (u, b) => {
|
|
2887
|
-
const
|
|
2888
|
-
return
|
|
2887
|
+
const y = Ze("FmButton");
|
|
2888
|
+
return x(), te(ke, null, [
|
|
2889
2889
|
ne("div", { onClick: c }, [
|
|
2890
2890
|
ne("div", Ar, [
|
|
2891
2891
|
he(u.$slots, "title"),
|
|
2892
2892
|
ne("div", Sr, [
|
|
2893
|
-
de(
|
|
2893
|
+
de(y, {
|
|
2894
2894
|
icon: n.value ? "keyboard_arrow_down" : "keyboard_arrow_up",
|
|
2895
2895
|
"text-color": "neutral-gray-400",
|
|
2896
2896
|
variant: "tertiary",
|
|
@@ -2910,7 +2910,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2910
2910
|
], 64);
|
|
2911
2911
|
};
|
|
2912
2912
|
}
|
|
2913
|
-
}),
|
|
2913
|
+
}), wr = { class: "fm-typo-en-title-sm-600" }, Ct = "includedFuture", Ln = /* @__PURE__ */ Ie({
|
|
2914
2914
|
__name: "ConditionPermission",
|
|
2915
2915
|
props: {
|
|
2916
2916
|
modelValue: {
|
|
@@ -2944,23 +2944,23 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2944
2944
|
)
|
|
2945
2945
|
]), c = z(() => n.modelValue ? n.modelValue : [Ct, ...n.options.map((b) => b.value)]);
|
|
2946
2946
|
function m(b) {
|
|
2947
|
-
const
|
|
2948
|
-
s("update:model-value",
|
|
2947
|
+
const y = b.length === a.value.length;
|
|
2948
|
+
s("update:model-value", y ? null : b.filter((L) => L !== Ct));
|
|
2949
2949
|
}
|
|
2950
|
-
const u =
|
|
2951
|
-
return (b,
|
|
2950
|
+
const u = Ve("");
|
|
2951
|
+
return (b, y) => {
|
|
2952
2952
|
const L = Ze("fm-search");
|
|
2953
|
-
return
|
|
2953
|
+
return x(), Se(Dr, null, {
|
|
2954
2954
|
title: pe(() => [
|
|
2955
|
-
ne("p",
|
|
2955
|
+
ne("p", wr, Ae(ye(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
2956
2956
|
]),
|
|
2957
2957
|
default: pe(() => [
|
|
2958
|
-
e.options.length > 1 ? (
|
|
2958
|
+
e.options.length > 1 ? (x(), Se(L, {
|
|
2959
2959
|
key: 0,
|
|
2960
2960
|
modelValue: u.value,
|
|
2961
|
-
"onUpdate:modelValue":
|
|
2961
|
+
"onUpdate:modelValue": y[0] || (y[0] = (N) => u.value = N),
|
|
2962
2962
|
class: "mt-16",
|
|
2963
|
-
placeholder:
|
|
2963
|
+
placeholder: ye(l)("team.memberForm.permissions.search", { context: e.context })
|
|
2964
2964
|
}, null, 8, ["modelValue", "placeholder"])) : Le("", !0),
|
|
2965
2965
|
de(zt, {
|
|
2966
2966
|
"model-value": c.value,
|
|
@@ -2985,7 +2985,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2985
2985
|
});
|
|
2986
2986
|
};
|
|
2987
2987
|
}
|
|
2988
|
-
}), At = "includedNewRole",
|
|
2988
|
+
}), At = "includedNewRole", Mr = /* @__PURE__ */ Ie({
|
|
2989
2989
|
__name: "PosRolePermission",
|
|
2990
2990
|
props: {
|
|
2991
2991
|
modelValue: {
|
|
@@ -3018,27 +3018,27 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3018
3018
|
...n.roles.map((b) => ({
|
|
3019
3019
|
label: b.name,
|
|
3020
3020
|
value: b._id,
|
|
3021
|
-
disable: !!u && b.restaurants.every(({ id:
|
|
3021
|
+
disable: !!u && b.restaurants.every(({ id: y }) => !u.includes(y))
|
|
3022
3022
|
}))
|
|
3023
3023
|
];
|
|
3024
3024
|
}), c = z(() => n.modelValue ? n.modelValue : [At, ...n.roles.map((u) => u._id)]);
|
|
3025
3025
|
function m(u) {
|
|
3026
3026
|
const b = u.length === a.value.length;
|
|
3027
|
-
s("update:model-value", b ? null : u.filter((
|
|
3027
|
+
s("update:model-value", b ? null : u.filter((y) => y !== At));
|
|
3028
3028
|
}
|
|
3029
|
-
return (u, b) => (
|
|
3029
|
+
return (u, b) => (x(), Se(zt, {
|
|
3030
3030
|
"model-value": c.value,
|
|
3031
3031
|
options: a.value,
|
|
3032
3032
|
"show-intermediate": !1,
|
|
3033
3033
|
"show-all-toggle": !1,
|
|
3034
3034
|
disable: e.disable,
|
|
3035
|
-
title:
|
|
3035
|
+
title: ye(l)("team.memberForm.permissions.roles"),
|
|
3036
3036
|
"onUpdate:modelValue": m
|
|
3037
3037
|
}, Fe({ _: 2 }, [
|
|
3038
|
-
_e(a.value, (
|
|
3039
|
-
name: `checkbox-${
|
|
3038
|
+
_e(a.value, (y) => ({
|
|
3039
|
+
name: `checkbox-${y.value}-append`,
|
|
3040
3040
|
fn: pe(({ option: L }) => [
|
|
3041
|
-
he(u.$slots, `checkbox-${
|
|
3041
|
+
he(u.$slots, `checkbox-${y.value}-append`, { option: L })
|
|
3042
3042
|
])
|
|
3043
3043
|
}))
|
|
3044
3044
|
]), 1032, ["model-value", "options", "disable", "title"]));
|
|
@@ -3047,7 +3047,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3047
3047
|
async readWarehouses() {
|
|
3048
3048
|
return es(await ts().get("/warehouses"));
|
|
3049
3049
|
}
|
|
3050
|
-
}, Fr = { class: "flex flex-col gap-32" },
|
|
3050
|
+
}, Fr = { class: "flex flex-col gap-32" }, Ur = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Vr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, jr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Wr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Jr = /* @__PURE__ */ Ie({
|
|
3051
3051
|
__name: "PortalPermissionEditor",
|
|
3052
3052
|
props: /* @__PURE__ */ Qt({
|
|
3053
3053
|
disable: {
|
|
@@ -3069,24 +3069,24 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3069
3069
|
return Dt.find((O) => O.subject === C) ?? m.value.find((O) => O.subject === C);
|
|
3070
3070
|
}
|
|
3071
3071
|
const b = z(() => {
|
|
3072
|
-
const C = [...Dt, ...m.value].filter((
|
|
3072
|
+
const C = [...Dt, ...m.value].filter((w) => !P.includes(w.subject)).map((w) => w.subject);
|
|
3073
3073
|
return ss(
|
|
3074
|
-
s.inheritPermissions.map((
|
|
3075
|
-
...
|
|
3076
|
-
permissions:
|
|
3074
|
+
s.inheritPermissions.map((w) => ({
|
|
3075
|
+
...w,
|
|
3076
|
+
permissions: w.permissions.filter((H) => C.includes(H.subject))
|
|
3077
3077
|
}))
|
|
3078
|
-
).map((
|
|
3079
|
-
id:
|
|
3080
|
-
setNames:
|
|
3078
|
+
).map((w) => ({
|
|
3079
|
+
id: w.subject,
|
|
3080
|
+
setNames: w.setNames
|
|
3081
3081
|
}));
|
|
3082
|
-
}),
|
|
3082
|
+
}), y = z(() => {
|
|
3083
3083
|
const C = s.inheritPermissions.map((O) => ({
|
|
3084
3084
|
...O,
|
|
3085
3085
|
permissions: O.permissions.filter(
|
|
3086
|
-
(
|
|
3086
|
+
(w) => w.subject === ie.Subject.Business.inventory_stock
|
|
3087
3087
|
)
|
|
3088
3088
|
}));
|
|
3089
|
-
return
|
|
3089
|
+
return kt(
|
|
3090
3090
|
C,
|
|
3091
3091
|
"warehouseId",
|
|
3092
3092
|
T.value.map((O) => O._id)
|
|
@@ -3095,20 +3095,20 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3095
3095
|
const C = s.inheritPermissions.map((O) => ({
|
|
3096
3096
|
...O,
|
|
3097
3097
|
permissions: O.permissions.filter(
|
|
3098
|
-
(
|
|
3098
|
+
(w) => w.subject === ie.Subject.Restaurant.restaurant
|
|
3099
3099
|
)
|
|
3100
3100
|
}));
|
|
3101
|
-
return
|
|
3101
|
+
return kt(
|
|
3102
3102
|
C,
|
|
3103
3103
|
"restaurantId",
|
|
3104
|
-
|
|
3104
|
+
k.value.map((O) => O._id)
|
|
3105
3105
|
);
|
|
3106
3106
|
}), N = z(() => {
|
|
3107
3107
|
const C = s.inheritPermissions.map((O) => ({
|
|
3108
3108
|
...O,
|
|
3109
|
-
permissions: O.permissions.filter((
|
|
3109
|
+
permissions: O.permissions.filter((w) => w.subject === ie.Subject.Business.role)
|
|
3110
3110
|
}));
|
|
3111
|
-
return
|
|
3111
|
+
return kt(
|
|
3112
3112
|
C,
|
|
3113
3113
|
"roleId",
|
|
3114
3114
|
h.value.map((O) => O._id)
|
|
@@ -3118,13 +3118,13 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3118
3118
|
ie.Subject.Business.role,
|
|
3119
3119
|
ie.Subject.Restaurant.restaurant,
|
|
3120
3120
|
ie.Subject.Business.inventory_stock
|
|
3121
|
-
],
|
|
3121
|
+
], V = z(() => {
|
|
3122
3122
|
var O;
|
|
3123
3123
|
const C = (O = n.value) == null ? void 0 : O.find(
|
|
3124
|
-
(
|
|
3124
|
+
(w) => w.subject === ie.Subject.Business.inventory_stock
|
|
3125
3125
|
);
|
|
3126
3126
|
return C ? C.conditions ? JSON.parse(C.conditions).warehouseId.$in : null : [];
|
|
3127
|
-
}), T =
|
|
3127
|
+
}), T = Ve([]), A = z(() => T.value.map((C) => ({
|
|
3128
3128
|
label: C.profile.name,
|
|
3129
3129
|
value: C._id
|
|
3130
3130
|
})));
|
|
@@ -3133,7 +3133,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3133
3133
|
n.value = O;
|
|
3134
3134
|
}
|
|
3135
3135
|
function d(C, O) {
|
|
3136
|
-
let
|
|
3136
|
+
let w = ut(
|
|
3137
3137
|
C.filter((H) => H.subject !== ie.Subject.Business.inventory_stock)
|
|
3138
3138
|
);
|
|
3139
3139
|
if (!O || O.length > 0) {
|
|
@@ -3141,56 +3141,56 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3141
3141
|
actions: [ie.Action.manage],
|
|
3142
3142
|
subject: ie.Subject.Business.inventory_stock
|
|
3143
3143
|
};
|
|
3144
|
-
O && (H.conditions = JSON.stringify({ warehouseId: { $in: O } })),
|
|
3144
|
+
O && (H.conditions = JSON.stringify({ warehouseId: { $in: O } })), w.push(H);
|
|
3145
3145
|
}
|
|
3146
|
-
return
|
|
3146
|
+
return w;
|
|
3147
3147
|
}
|
|
3148
|
-
const { restaurants:
|
|
3148
|
+
const { restaurants: k } = qn(), h = cs().roles, S = z(() => k.value.map((C) => ({
|
|
3149
3149
|
label: `${C.profile.code ? C.profile.code + "-" : ""}${C.profile.name}`,
|
|
3150
3150
|
value: C._id
|
|
3151
|
-
}))), p = z(() =>
|
|
3152
|
-
function
|
|
3151
|
+
}))), p = z(() => k.value.reduce((C, O) => (C[O._id] = h.value.filter((w) => w.restaurants.some((H) => H.id === O._id)).map((w) => w._id), C), {})), _ = z(() => as(n.value));
|
|
3152
|
+
function U(C) {
|
|
3153
3153
|
const O = I(n.value, C);
|
|
3154
3154
|
n.value = O;
|
|
3155
3155
|
}
|
|
3156
3156
|
const g = z(() => rs(n.value));
|
|
3157
3157
|
function I(C, O) {
|
|
3158
3158
|
var H;
|
|
3159
|
-
let
|
|
3159
|
+
let w = ut(
|
|
3160
3160
|
C.filter(
|
|
3161
|
-
(
|
|
3161
|
+
(j) => j.subject !== ie.Subject.Business.restaurant && j.subject !== ie.Subject.Restaurant.restaurant
|
|
3162
3162
|
)
|
|
3163
3163
|
);
|
|
3164
3164
|
if (!O || O.length > 0) {
|
|
3165
3165
|
const {
|
|
3166
|
-
category:
|
|
3166
|
+
category: j,
|
|
3167
3167
|
showByFeatureFlag: R,
|
|
3168
|
-
...
|
|
3168
|
+
...Y
|
|
3169
3169
|
} = os.restaurant;
|
|
3170
|
-
|
|
3170
|
+
w.push(Y);
|
|
3171
3171
|
const Q = {
|
|
3172
3172
|
actions: [ie.Action.manage],
|
|
3173
3173
|
subject: ie.Subject.Restaurant.restaurant
|
|
3174
3174
|
};
|
|
3175
|
-
O && (Q.conditions = JSON.stringify({ restaurantId: { $in: O } })),
|
|
3175
|
+
O && (Q.conditions = JSON.stringify({ restaurantId: { $in: O } })), w.push(Q);
|
|
3176
3176
|
}
|
|
3177
3177
|
if (O) {
|
|
3178
|
-
const
|
|
3179
|
-
...new Set(O.map((
|
|
3180
|
-
], R = h.value.map((
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
(H = g.value || R) == null ? void 0 : H.filter((
|
|
3178
|
+
const j = [
|
|
3179
|
+
...new Set(O.map((Y) => p.value[Y]).flatMap((Y) => Y))
|
|
3180
|
+
], R = h.value.map((Y) => Y._id);
|
|
3181
|
+
j.length !== R.length && (w = D(
|
|
3182
|
+
w,
|
|
3183
|
+
(H = g.value || R) == null ? void 0 : H.filter((Y) => j.includes(Y))
|
|
3184
3184
|
));
|
|
3185
3185
|
}
|
|
3186
|
-
return
|
|
3186
|
+
return w;
|
|
3187
3187
|
}
|
|
3188
3188
|
function G(C) {
|
|
3189
3189
|
const O = D(n.value, C);
|
|
3190
3190
|
n.value = O;
|
|
3191
3191
|
}
|
|
3192
3192
|
function D(C, O) {
|
|
3193
|
-
let
|
|
3193
|
+
let w = ut(
|
|
3194
3194
|
C.filter((H) => H.subject !== ie.Subject.Business.role)
|
|
3195
3195
|
);
|
|
3196
3196
|
if (O && O.length > 0) {
|
|
@@ -3199,85 +3199,85 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3199
3199
|
subject: ie.Subject.Business.role,
|
|
3200
3200
|
conditions: JSON.stringify({ roleId: { $in: O } })
|
|
3201
3201
|
};
|
|
3202
|
-
|
|
3202
|
+
w.push(H);
|
|
3203
3203
|
}
|
|
3204
|
-
return
|
|
3204
|
+
return w;
|
|
3205
3205
|
}
|
|
3206
|
-
|
|
3206
|
+
xt(async () => {
|
|
3207
3207
|
await Promise.all([
|
|
3208
3208
|
Pr.readWarehouses().then((C) => T.value = C),
|
|
3209
3209
|
c()
|
|
3210
3210
|
]);
|
|
3211
3211
|
});
|
|
3212
|
-
const $ = z(() =>
|
|
3212
|
+
const $ = z(() => yt(
|
|
3213
3213
|
n.value,
|
|
3214
3214
|
Tt
|
|
3215
3215
|
).map((O) => {
|
|
3216
3216
|
if (O.inverted) return O;
|
|
3217
|
-
const
|
|
3218
|
-
if (!
|
|
3217
|
+
const w = O.actions;
|
|
3218
|
+
if (!w.includes("manage")) return O;
|
|
3219
3219
|
const H = u(O.subject);
|
|
3220
3220
|
if (!H) return O;
|
|
3221
|
-
const
|
|
3222
|
-
return
|
|
3221
|
+
const j = H.actions;
|
|
3222
|
+
return j.length <= 1 || j.filter((Y) => !w.includes(Y)).length === 0 ? O : { ...O, actions: [...j] };
|
|
3223
3223
|
}));
|
|
3224
3224
|
function q(C) {
|
|
3225
3225
|
const O = new Set(
|
|
3226
3226
|
$.value.filter((R) => !R.inverted).map((R) => R.subject)
|
|
3227
|
-
),
|
|
3227
|
+
), w = new Set(
|
|
3228
3228
|
C.filter((R) => !R.inverted).map((R) => R.subject)
|
|
3229
3229
|
), H = new Set(
|
|
3230
3230
|
n.value.filter((R) => !R.inverted).map((R) => R.subject)
|
|
3231
3231
|
);
|
|
3232
|
-
let
|
|
3232
|
+
let j = [...n.value];
|
|
3233
3233
|
for (const R of O)
|
|
3234
|
-
|
|
3235
|
-
|
|
3234
|
+
w.has(R) || (H.has(R) && (j = j.filter((Q) => Q.subject !== R)), (!H.has(R) || yt(
|
|
3235
|
+
j,
|
|
3236
3236
|
Tt
|
|
3237
|
-
).some((Q) => Q.subject === R && !Q.inverted)) && !
|
|
3238
|
-
for (const R of
|
|
3237
|
+
).some((Q) => Q.subject === R && !Q.inverted)) && !j.some((Q) => Q.subject === R && Q.inverted) && j.push({ subject: R, actions: ["manage"], inverted: !0 }));
|
|
3238
|
+
for (const R of w)
|
|
3239
3239
|
if (!O.has(R)) {
|
|
3240
|
-
const
|
|
3241
|
-
if (
|
|
3240
|
+
const Y = j.some((Q) => Q.subject === R && Q.inverted);
|
|
3241
|
+
if (j = j.filter((Q) => !(Q.subject === R && Q.inverted)), !Y && !H.has(R)) {
|
|
3242
3242
|
const Q = C.find(
|
|
3243
3243
|
(fe) => fe.subject === R && !fe.inverted
|
|
3244
3244
|
), ge = u(R);
|
|
3245
3245
|
if (ge && Q) {
|
|
3246
|
-
const { category: fe, showByFeatureFlag:
|
|
3247
|
-
|
|
3246
|
+
const { category: fe, showByFeatureFlag: Me, ...ee } = ge;
|
|
3247
|
+
j.push({ ...ee, actions: Q.actions });
|
|
3248
3248
|
}
|
|
3249
3249
|
}
|
|
3250
3250
|
}
|
|
3251
|
-
for (const R of
|
|
3251
|
+
for (const R of w) {
|
|
3252
3252
|
if (!O.has(R)) continue;
|
|
3253
|
-
const
|
|
3253
|
+
const Y = $.value.find(
|
|
3254
3254
|
(ee) => ee.subject === R && !ee.inverted
|
|
3255
3255
|
), Q = C.find((ee) => ee.subject === R && !ee.inverted);
|
|
3256
|
-
if (!
|
|
3257
|
-
const ge = new Set(
|
|
3256
|
+
if (!Y || !Q) continue;
|
|
3257
|
+
const ge = new Set(Y.actions), fe = new Set(Q.actions);
|
|
3258
3258
|
if (ge.size === fe.size && [...ge].every((ee) => fe.has(ee)))
|
|
3259
3259
|
continue;
|
|
3260
|
-
const
|
|
3261
|
-
if (
|
|
3262
|
-
|
|
3263
|
-
...
|
|
3260
|
+
const Me = j.findIndex((ee) => ee.subject === R && !ee.inverted);
|
|
3261
|
+
if (Me >= 0)
|
|
3262
|
+
j[Me] = {
|
|
3263
|
+
...j[Me],
|
|
3264
3264
|
actions: Array.from(fe)
|
|
3265
3265
|
};
|
|
3266
3266
|
else {
|
|
3267
3267
|
const ee = u(R);
|
|
3268
3268
|
if (ee) {
|
|
3269
3269
|
const { category: ve, showByFeatureFlag: $e, ...Je } = ee;
|
|
3270
|
-
|
|
3270
|
+
j.push({ ...Je, actions: Array.from(fe) });
|
|
3271
3271
|
}
|
|
3272
3272
|
}
|
|
3273
|
-
ge.has("manage") && !fe.has("manage") &&
|
|
3274
|
-
|
|
3273
|
+
ge.has("manage") && !fe.has("manage") && yt(
|
|
3274
|
+
j,
|
|
3275
3275
|
Tt
|
|
3276
3276
|
).some(
|
|
3277
3277
|
(ve) => ve.subject === R && !ve.inverted && ve.actions.includes("manage")
|
|
3278
|
-
) && !
|
|
3278
|
+
) && !j.some((ve) => ve.subject === R && ve.inverted) && j.push({ subject: R, actions: ["manage"], inverted: !0 }), !ge.has("manage") && fe.has("manage") && (j = j.filter((ee) => !(ee.subject === R && ee.inverted)));
|
|
3279
3279
|
}
|
|
3280
|
-
n.value =
|
|
3280
|
+
n.value = j;
|
|
3281
3281
|
}
|
|
3282
3282
|
return St(
|
|
3283
3283
|
n,
|
|
@@ -3285,63 +3285,63 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3285
3285
|
l("permissionChanged", C);
|
|
3286
3286
|
},
|
|
3287
3287
|
{ deep: !0 }
|
|
3288
|
-
), (C, O) => (
|
|
3289
|
-
ne("div",
|
|
3288
|
+
), (C, O) => (x(), te("div", Fr, [
|
|
3289
|
+
ne("div", Ur, [
|
|
3290
3290
|
de(Cr, {
|
|
3291
3291
|
"model-value": $.value,
|
|
3292
3292
|
"excluded-subjects": P,
|
|
3293
|
-
"additional-permissions":
|
|
3293
|
+
"additional-permissions": ye(m),
|
|
3294
3294
|
"onUpdate:modelValue": q
|
|
3295
3295
|
}, Fe({ _: 2 }, [
|
|
3296
|
-
_e(b.value, (
|
|
3297
|
-
name: `checkbox-${
|
|
3296
|
+
_e(b.value, (w) => ({
|
|
3297
|
+
name: `checkbox-${w.id}-append`,
|
|
3298
3298
|
fn: pe(() => [
|
|
3299
|
-
de(it, { item:
|
|
3299
|
+
de(it, { item: w }, null, 8, ["item"])
|
|
3300
3300
|
])
|
|
3301
3301
|
}))
|
|
3302
3302
|
]), 1032, ["model-value", "additional-permissions"])
|
|
3303
3303
|
]),
|
|
3304
|
-
ne("div",
|
|
3304
|
+
ne("div", Vr, [
|
|
3305
3305
|
de(Ln, {
|
|
3306
|
-
"model-value":
|
|
3306
|
+
"model-value": V.value,
|
|
3307
3307
|
options: A.value,
|
|
3308
|
-
context:
|
|
3308
|
+
context: ye(a)("team.labels.warehouse"),
|
|
3309
3309
|
"onUpdate:modelValue": i
|
|
3310
3310
|
}, Fe({ _: 2 }, [
|
|
3311
|
-
_e(
|
|
3312
|
-
name: `checkbox-${
|
|
3311
|
+
_e(y.value, (w) => ({
|
|
3312
|
+
name: `checkbox-${w.id}-append`,
|
|
3313
3313
|
fn: pe(() => [
|
|
3314
|
-
de(it, { item:
|
|
3314
|
+
de(it, { item: w }, null, 8, ["item"])
|
|
3315
3315
|
])
|
|
3316
3316
|
}))
|
|
3317
3317
|
]), 1032, ["model-value", "options", "context"])
|
|
3318
3318
|
]),
|
|
3319
|
-
ne("div",
|
|
3319
|
+
ne("div", jr, [
|
|
3320
3320
|
de(Ln, {
|
|
3321
3321
|
"model-value": _.value,
|
|
3322
3322
|
options: S.value,
|
|
3323
|
-
context:
|
|
3324
|
-
"onUpdate:modelValue":
|
|
3323
|
+
context: ye(a)("team.labels.restaurant"),
|
|
3324
|
+
"onUpdate:modelValue": U
|
|
3325
3325
|
}, Fe({ _: 2 }, [
|
|
3326
|
-
_e(L.value, (
|
|
3327
|
-
name: `checkbox-${
|
|
3326
|
+
_e(L.value, (w) => ({
|
|
3327
|
+
name: `checkbox-${w.id}-append`,
|
|
3328
3328
|
fn: pe(() => [
|
|
3329
|
-
de(it, { item:
|
|
3329
|
+
de(it, { item: w }, null, 8, ["item"])
|
|
3330
3330
|
])
|
|
3331
3331
|
}))
|
|
3332
3332
|
]), 1032, ["model-value", "options", "context"])
|
|
3333
3333
|
]),
|
|
3334
3334
|
ne("div", Wr, [
|
|
3335
|
-
de(
|
|
3336
|
-
roles:
|
|
3335
|
+
de(Mr, {
|
|
3336
|
+
roles: ye(h),
|
|
3337
3337
|
"model-value": g.value,
|
|
3338
3338
|
"restaurant-ids": _.value,
|
|
3339
3339
|
"onUpdate:modelValue": G
|
|
3340
3340
|
}, Fe({ _: 2 }, [
|
|
3341
|
-
_e(N.value, (
|
|
3342
|
-
name: `checkbox-${
|
|
3341
|
+
_e(N.value, (w) => ({
|
|
3342
|
+
name: `checkbox-${w.id}-append`,
|
|
3343
3343
|
fn: pe(() => [
|
|
3344
|
-
de(it, { item:
|
|
3344
|
+
de(it, { item: w }, null, 8, ["item"])
|
|
3345
3345
|
])
|
|
3346
3346
|
}))
|
|
3347
3347
|
]), 1032, ["roles", "model-value", "restaurant-ids"])
|