@feedmepos/mf-hrm-portal 2.0.4 → 2.0.5-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AuditLogList-DW_Hwj5L.js → AuditLogList-CaMaagUM.js} +4 -4
- package/dist/{EmployeeList-CUxH69Ag.js → EmployeeList-C9pIVeSG.js} +5 -5
- package/dist/{Main-DSv0IWAU.js → Main-BgbHBtBZ.js} +5 -5
- package/dist/{Main-DZK2YFtw.js → Main-zIQtSWpc.js} +8 -8
- package/dist/{PermissionSetList-CC9gP936.js → PermissionSetList-unladGMw.js} +4 -4
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BI2Tn8ng.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Do75k5Jy.js} +433 -433
- package/dist/{RoleList-DQ8a3ZCC.js → RoleList-Dhn8UB6y.js} +6 -6
- package/dist/{TeamMemberList-B3V-fAl2.js → TeamMemberList-yzSP_OsE.js} +7 -7
- package/dist/{TimesheetList-CHLssTVy.js → TimesheetList-B6HuGWMJ.js} +6 -6
- package/dist/{app-ly_KiwZc.js → app-CvHmqSO9.js} +528 -473
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-Crr-V_3H.js → dayjs.min-DhirdZam.js} +1 -1
- package/dist/{employee-sZvG2RSh.js → employee-BGdFPpKk.js} +3 -3
- package/dist/{index-CMvL_pI0.js → index-BklTntjK.js} +1 -1
- package/dist/{index-DFXv_ycr.js → index-DJo6yxqf.js} +2 -2
- package/dist/{lodash-B92xXdz8.js → lodash-BIjLASLP.js} +1 -1
- package/dist/{team-fmVzQtAB.js → team-153QiR4c.js} +1 -1
- package/dist/{timesheet-DQs-vhqA.js → timesheet-CIvrhKiF.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-CWvj95h9.js → useAppStore-3R48y6kR.js} +1 -1
- package/dist/{useLoading-CGT-AqBC.js → useLoading-Di0VgLEy.js} +1 -1
- package/dist/{useReportPermissions-CB8nOPI1.js → useReportPermissions-DqEPoBRU.js} +2 -2
- package/package.json +2 -2
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { getCurrentInstance as xt, inject as Hn, ref as
|
|
1
|
+
import { getCurrentInstance as xt, inject as Hn, ref as Ve, shallowRef as Bn, computed as z, watch as St, onMounted as Yt, onUnmounted as On, defineComponent as Ie, h as Rn, createVNode as de, Text as $n, Fragment as ye, resolveComponent as Ze, createBlock as Se, openBlock as Y, withCtx as pe, createElementVNode as ne, createElementBlock as te, toDisplayString as Ae, unref as Te, renderList as _e, renderSlot as be, createCommentVNode as Le, createTextVNode as Jn, useSlots as Kn, normalizeStyle as ct, normalizeClass as qe, createSlots as Fe, nextTick as zn, mergeModels as Qt, useModel as Qn } from "vue";
|
|
2
2
|
import { useI18n as _t, useCoreStore as qn } from "@feedmepos/mf-common";
|
|
3
3
|
import "@vue/devtools-api";
|
|
4
|
-
import { l as ut, p as Dt, g as es, b as ts, q as ns, E as ss, F as yt, G as as, w as rs, $ as Tt } from "./index-
|
|
5
|
-
import { i as ls, d as ie, U as os, a as kt } 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 yt, G as as, w as rs, $ as Tt } from "./index-DJo6yxqf.js";
|
|
5
|
+
import { i as ls, d as ie, U as os, a as kt } from "./app-CvHmqSO9.js";
|
|
6
|
+
import { u as is } from "./index-BklTntjK.js";
|
|
7
|
+
import { u as cs } from "./useAppStore-3R48y6kR.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
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) {
|
|
@@ -20,11 +20,11 @@ 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]", bs = (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
|
}
|
|
27
|
-
function
|
|
27
|
+
function hs(e, t) {
|
|
28
28
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
29
29
|
}
|
|
30
30
|
const rt = (e) => !X(e) || oe(e);
|
|
@@ -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 = {
|
|
@@ -63,7 +63,7 @@ const B = {
|
|
|
63
63
|
UNEXPECTED_EMPTY_LINKED_KEY: 13,
|
|
64
64
|
UNEXPECTED_LEXICAL_ANALYSIS: 14
|
|
65
65
|
}, vs = 17;
|
|
66
|
-
function
|
|
66
|
+
function bt(e, t, n = {}) {
|
|
67
67
|
const { domain: s, messages: l, args: a } = n, c = e, m = new SyntaxError(String(c));
|
|
68
68
|
return m.code = e, t && (m.location = t), m.domain = s, m;
|
|
69
69
|
}
|
|
@@ -75,14 +75,14 @@ const ke = " ", Is = "\r", me = `
|
|
|
75
75
|
function Ts(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[_] === ys,
|
|
78
|
+
const c = (_) => t[_] === Is && t[_ + 1] === me, m = (_) => t[_] === me, u = (_) => t[_] === ys, h = (_) => t[_] === Ns, T = (_) => c(_) || m(_) || u(_) || h(_), L = () => n, N = () => s, P = () => l, V = () => a, k = (_) => c(_) || u(_) || h(_) ? me : t[_], A = () => k(n), i = () => k(n + a);
|
|
79
79
|
function d() {
|
|
80
80
|
return a = 0, T(n) && (s++, l = 0), c(n) && n++, n++, l++, t[n];
|
|
81
81
|
}
|
|
82
82
|
function y() {
|
|
83
83
|
return c(n + a) && a++, a++, t[n + a];
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function b() {
|
|
86
86
|
n = 0, s = 1, l = 1, a = 0;
|
|
87
87
|
}
|
|
88
88
|
function S(_ = 0) {
|
|
@@ -98,13 +98,13 @@ function Ts(e) {
|
|
|
98
98
|
index: L,
|
|
99
99
|
line: N,
|
|
100
100
|
column: P,
|
|
101
|
-
peekOffset:
|
|
101
|
+
peekOffset: V,
|
|
102
102
|
charAt: k,
|
|
103
103
|
currentChar: A,
|
|
104
104
|
currentPeek: i,
|
|
105
105
|
next: d,
|
|
106
106
|
peek: y,
|
|
107
|
-
reset:
|
|
107
|
+
reset: b,
|
|
108
108
|
resetPeek: S,
|
|
109
109
|
skipToPeek: p
|
|
110
110
|
};
|
|
@@ -123,11 +123,11 @@ function Os(e, t = {}) {
|
|
|
123
123
|
braceNest: 0,
|
|
124
124
|
inLinked: !1,
|
|
125
125
|
text: ""
|
|
126
|
-
},
|
|
126
|
+
}, h = () => u, { onError: T } = t;
|
|
127
127
|
function L(r, o, v, ...F) {
|
|
128
|
-
const ae =
|
|
128
|
+
const ae = h();
|
|
129
129
|
if (o.column += v, o.offset += v, T) {
|
|
130
|
-
const W = n ?
|
|
130
|
+
const W = n ? wt(ae.startLoc, o) : null, f = bt(r, W, {
|
|
131
131
|
domain: Ls,
|
|
132
132
|
args: F
|
|
133
133
|
});
|
|
@@ -137,14 +137,14 @@ function Os(e, t = {}) {
|
|
|
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 k(r) {
|
|
@@ -179,7 +179,7 @@ function Os(e, t = {}) {
|
|
|
179
179
|
const F = i(r.currentPeek());
|
|
180
180
|
return r.resetPeek(), F;
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function b(r, o) {
|
|
183
183
|
const { currentType: v } = o;
|
|
184
184
|
if (v !== 2)
|
|
185
185
|
return !1;
|
|
@@ -268,21 +268,21 @@ 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
287
|
function x(r) {
|
|
288
288
|
let o = "", v = "";
|
|
@@ -321,16 +321,16 @@ function Os(e, t = {}) {
|
|
|
321
321
|
let o = "";
|
|
322
322
|
return r.currentChar() === "-" ? (r.next(), o += `-${x(r)}`) : o += x(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);
|
|
@@ -382,9 +382,9 @@ function Os(e, t = {}) {
|
|
|
382
382
|
};
|
|
383
383
|
return o("");
|
|
384
384
|
}
|
|
385
|
-
function
|
|
385
|
+
function Ke(r) {
|
|
386
386
|
A(r);
|
|
387
|
-
const o =
|
|
387
|
+
const o = V(
|
|
388
388
|
r,
|
|
389
389
|
"|"
|
|
390
390
|
/* TokenChars.Pipe */
|
|
@@ -413,12 +413,12 @@ function Os(e, t = {}) {
|
|
|
413
413
|
default: {
|
|
414
414
|
let ae = !0, W = !0, f = !0;
|
|
415
415
|
if (I(r))
|
|
416
|
-
return o.braceNest > 0 && L(B.UNTERMINATED_CLOSING_BRACE, a(), 0), v = N(o, 1,
|
|
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
|
-
return L(B.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0,
|
|
418
|
+
return L(B.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0, ze(r, o);
|
|
419
419
|
if (ae = y(r, o))
|
|
420
420
|
return v = N(o, 4, ge(r)), A(r), v;
|
|
421
|
-
if (W =
|
|
421
|
+
if (W = b(r, o))
|
|
422
422
|
return v = N(o, 5, fe(r)), A(r), v;
|
|
423
423
|
if (f = S(r, o))
|
|
424
424
|
return v = N(o, 6, ee(r)), A(r), v;
|
|
@@ -456,10 +456,10 @@ function Os(e, t = {}) {
|
|
|
456
456
|
/* TokenChars.LinkedDelimiter */
|
|
457
457
|
);
|
|
458
458
|
default:
|
|
459
|
-
return I(r) ? (F = N(o, 1,
|
|
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
|
-
function
|
|
462
|
+
function ze(r, o) {
|
|
463
463
|
let v = {
|
|
464
464
|
type: 13
|
|
465
465
|
/* TokenTypes.EOF */
|
|
@@ -482,7 +482,7 @@ function Os(e, t = {}) {
|
|
|
482
482
|
return Ge(r, o) || P(o);
|
|
483
483
|
default: {
|
|
484
484
|
if (I(r))
|
|
485
|
-
return v = N(o, 1,
|
|
485
|
+
return v = N(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, v;
|
|
486
486
|
if (G(r))
|
|
487
487
|
return N(o, 0, Q(r));
|
|
488
488
|
break;
|
|
@@ -496,13 +496,13 @@ function Os(e, t = {}) {
|
|
|
496
496
|
u,
|
|
497
497
|
13
|
|
498
498
|
/* TokenTypes.EOF */
|
|
499
|
-
) :
|
|
499
|
+
) : ze(s, u);
|
|
500
500
|
}
|
|
501
501
|
return {
|
|
502
502
|
nextToken: Nt,
|
|
503
503
|
currentOffset: l,
|
|
504
504
|
currentPosition: a,
|
|
505
|
-
context:
|
|
505
|
+
context: h
|
|
506
506
|
};
|
|
507
507
|
}
|
|
508
508
|
const Rs = "parser", Cs = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
|
|
@@ -520,10 +520,10 @@ 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, y,
|
|
523
|
+
function s(i, d, y, b, ...S) {
|
|
524
524
|
const p = i.currentPosition();
|
|
525
|
-
if (p.offset +=
|
|
526
|
-
const _ = t ?
|
|
525
|
+
if (p.offset += b, p.column += b, n) {
|
|
526
|
+
const _ = t ? wt(y, p) : null, U = bt(d, _, {
|
|
527
527
|
domain: Rs,
|
|
528
528
|
args: S
|
|
529
529
|
});
|
|
@@ -531,31 +531,31 @@ function Ss(e = {}) {
|
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
function l(i, d, y) {
|
|
534
|
-
const
|
|
535
|
-
return t && (
|
|
534
|
+
const b = { type: i };
|
|
535
|
+
return t && (b.start = d, b.end = d, b.loc = { start: y, end: y }), b;
|
|
536
536
|
}
|
|
537
|
-
function a(i, d, y,
|
|
537
|
+
function a(i, d, y, b) {
|
|
538
538
|
t && (i.end = d, i.loc && (i.loc.end = y));
|
|
539
539
|
}
|
|
540
540
|
function c(i, d) {
|
|
541
|
-
const y = i.context(),
|
|
542
|
-
return
|
|
541
|
+
const y = i.context(), b = l(3, y.offset, y.startLoc);
|
|
542
|
+
return b.value = d, a(b, i.currentOffset(), i.currentPosition()), b;
|
|
543
543
|
}
|
|
544
544
|
function m(i, d) {
|
|
545
|
-
const y = i.context(), { lastOffset:
|
|
545
|
+
const y = i.context(), { lastOffset: b, lastStartLoc: S } = y, p = l(5, b, 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 y = i.context(), { lastOffset:
|
|
549
|
+
const y = i.context(), { lastOffset: b, lastStartLoc: S } = y, p = l(4, b, S);
|
|
550
550
|
return p.key = d, i.nextToken(), a(p, i.currentOffset(), i.currentPosition()), p;
|
|
551
551
|
}
|
|
552
|
-
function
|
|
553
|
-
const y = i.context(), { lastOffset:
|
|
552
|
+
function h(i, d) {
|
|
553
|
+
const y = i.context(), { lastOffset: b, lastStartLoc: S } = y, p = l(9, b, S);
|
|
554
554
|
return p.value = d.replace(Cs, As), i.nextToken(), a(p, i.currentOffset(), i.currentPosition()), p;
|
|
555
555
|
}
|
|
556
556
|
function T(i) {
|
|
557
|
-
const d = i.nextToken(), y = i.context(), { lastOffset:
|
|
558
|
-
return d.type !== 11 ? (s(i, B.UNEXPECTED_EMPTY_LINKED_MODIFIER, y.lastStartLoc, 0), p.value = "", a(p,
|
|
557
|
+
const d = i.nextToken(), y = i.context(), { lastOffset: b, lastStartLoc: S } = y, p = l(8, b, S);
|
|
558
|
+
return d.type !== 11 ? (s(i, B.UNEXPECTED_EMPTY_LINKED_MODIFIER, y.lastStartLoc, 0), p.value = "", a(p, b, S), {
|
|
559
559
|
nextConsumeToken: d,
|
|
560
560
|
node: p
|
|
561
561
|
}) : (d.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, y.lastStartLoc, 0, Ne(d)), p.value = d.value || "", a(p, i.currentOffset(), i.currentPosition()), {
|
|
@@ -563,34 +563,34 @@ function Ss(e = {}) {
|
|
|
563
563
|
});
|
|
564
564
|
}
|
|
565
565
|
function L(i, d) {
|
|
566
|
-
const y = i.context(),
|
|
567
|
-
return
|
|
566
|
+
const y = i.context(), b = l(7, y.offset, y.startLoc);
|
|
567
|
+
return b.value = d, a(b, i.currentOffset(), i.currentPosition()), b;
|
|
568
568
|
}
|
|
569
569
|
function N(i) {
|
|
570
570
|
const d = i.context(), y = l(6, d.offset, d.startLoc);
|
|
571
|
-
let
|
|
572
|
-
if (
|
|
571
|
+
let b = i.nextToken();
|
|
572
|
+
if (b.type === 8) {
|
|
573
573
|
const S = T(i);
|
|
574
|
-
y.modifier = S.node,
|
|
574
|
+
y.modifier = S.node, b = S.nextConsumeToken || i.nextToken();
|
|
575
575
|
}
|
|
576
|
-
switch (
|
|
576
|
+
switch (b.type !== 9 && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(b)), b = i.nextToken(), b.type === 2 && (b = i.nextToken()), b.type) {
|
|
577
577
|
case 10:
|
|
578
|
-
|
|
578
|
+
b.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(b)), y.key = L(i, b.value || "");
|
|
579
579
|
break;
|
|
580
580
|
case 4:
|
|
581
|
-
|
|
581
|
+
b.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(b)), y.key = u(i, b.value || "");
|
|
582
582
|
break;
|
|
583
583
|
case 5:
|
|
584
|
-
|
|
584
|
+
b.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(b)), y.key = m(i, b.value || "");
|
|
585
585
|
break;
|
|
586
586
|
case 6:
|
|
587
|
-
|
|
587
|
+
b.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(b)), y.key = h(i, b.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
592
|
return p.value = "", a(p, S.offset, S.startLoc), y.key = p, a(y, S.offset, S.startLoc), {
|
|
593
|
-
nextConsumeToken:
|
|
593
|
+
nextConsumeToken: b,
|
|
594
594
|
node: y
|
|
595
595
|
};
|
|
596
596
|
}
|
|
@@ -600,7 +600,7 @@ function Ss(e = {}) {
|
|
|
600
600
|
};
|
|
601
601
|
}
|
|
602
602
|
function P(i) {
|
|
603
|
-
const d = i.context(), y = d.currentType === 1 ? i.currentOffset() : d.offset,
|
|
603
|
+
const d = i.context(), y = d.currentType === 1 ? i.currentOffset() : d.offset, b = d.currentType === 1 ? d.endLoc : d.startLoc, S = l(2, y, b);
|
|
604
604
|
S.items = [];
|
|
605
605
|
let p = null;
|
|
606
606
|
do {
|
|
@@ -616,7 +616,7 @@ function Ss(e = {}) {
|
|
|
616
616
|
g.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(g)), S.items.push(u(i, g.value || ""));
|
|
617
617
|
break;
|
|
618
618
|
case 6:
|
|
619
|
-
g.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(g)), S.items.push(
|
|
619
|
+
g.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(g)), S.items.push(h(i, g.value || ""));
|
|
620
620
|
break;
|
|
621
621
|
case 7: {
|
|
622
622
|
const I = N(i);
|
|
@@ -628,11 +628,11 @@ function Ss(e = {}) {
|
|
|
628
628
|
const _ = d.currentType === 1 ? d.lastOffset : i.currentOffset(), U = d.currentType === 1 ? d.lastEndLoc : i.currentPosition();
|
|
629
629
|
return a(S, _, U), S;
|
|
630
630
|
}
|
|
631
|
-
function
|
|
631
|
+
function V(i, d, y, b) {
|
|
632
632
|
const S = i.context();
|
|
633
|
-
let p =
|
|
633
|
+
let p = b.items.length === 0;
|
|
634
634
|
const _ = l(1, d, y);
|
|
635
|
-
_.cases = [], _.cases.push(
|
|
635
|
+
_.cases = [], _.cases.push(b);
|
|
636
636
|
do {
|
|
637
637
|
const U = P(i);
|
|
638
638
|
p || (p = U.items.length === 0), _.cases.push(U);
|
|
@@ -640,12 +640,12 @@ function Ss(e = {}) {
|
|
|
640
640
|
return p && s(i, B.MUST_HAVE_MESSAGES_IN_PLURAL, y, 0), a(_, i.currentOffset(), i.currentPosition()), _;
|
|
641
641
|
}
|
|
642
642
|
function k(i) {
|
|
643
|
-
const d = i.context(), { offset: y, startLoc:
|
|
644
|
-
return d.currentType === 13 ? S :
|
|
643
|
+
const d = i.context(), { offset: y, startLoc: b } = d, S = P(i);
|
|
644
|
+
return d.currentType === 13 ? S : V(i, y, b, S);
|
|
645
645
|
}
|
|
646
646
|
function A(i) {
|
|
647
|
-
const d = Os(i, ue({}, e)), y = d.context(),
|
|
648
|
-
return t &&
|
|
647
|
+
const d = Os(i, ue({}, e)), y = d.context(), b = l(0, y.offset, y.startLoc);
|
|
648
|
+
return t && b.loc && (b.loc.source = i), b.body = k(d), e.onCacheKey && (b.cacheKey = e.onCacheKey(i)), y.currentType !== 13 && s(d, B.UNEXPECTED_LEXICAL_ANALYSIS, y.lastStartLoc, 0, i[y.offset] || ""), a(b, d.currentOffset(), d.currentPosition()), b;
|
|
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
|
}
|
|
@@ -805,20 +805,20 @@ function Ps(e, t) {
|
|
|
805
805
|
function u(k, A) {
|
|
806
806
|
c.code += k;
|
|
807
807
|
}
|
|
808
|
-
function
|
|
808
|
+
function h(k, A = !0) {
|
|
809
809
|
const i = A ? s : "";
|
|
810
810
|
u(l ? i + " ".repeat(k) : i);
|
|
811
811
|
}
|
|
812
812
|
function T(k = !0) {
|
|
813
813
|
const A = ++c.indentLevel;
|
|
814
|
-
k &&
|
|
814
|
+
k && h(A);
|
|
815
815
|
}
|
|
816
816
|
function L(k = !0) {
|
|
817
817
|
const A = --c.indentLevel;
|
|
818
|
-
k &&
|
|
818
|
+
k && h(A);
|
|
819
819
|
}
|
|
820
820
|
function N() {
|
|
821
|
-
|
|
821
|
+
h(c.indentLevel);
|
|
822
822
|
}
|
|
823
823
|
return {
|
|
824
824
|
context: m,
|
|
@@ -848,7 +848,7 @@ function Us(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,17 +861,17 @@ function js(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);
|
|
@@ -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, {
|
|
@@ -921,17 +921,17 @@ const Ws = (e, t = {}) => {
|
|
|
921
921
|
needIndent: a
|
|
922
922
|
});
|
|
923
923
|
m.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), m.indent(a), c.length > 0 && (m.push(`const { ${Xt(c.map((T) => `${T}: _${T}`), ", ")} } = ctx`), m.newline()), m.push("return "), Xe(m, e), m.deindent(a), m.push("}"), delete e.helpers;
|
|
924
|
-
const { code: u, map:
|
|
924
|
+
const { code: u, map: h } = m.context();
|
|
925
925
|
return {
|
|
926
926
|
ast: e,
|
|
927
927
|
code: u,
|
|
928
|
-
map:
|
|
928
|
+
map: h ? h.toJSON() : void 0
|
|
929
929
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
930
930
|
};
|
|
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 && Ye(m), { ast: m, code: "" }) : (ws(m, n), Ws(m, n));
|
|
935
935
|
}
|
|
936
936
|
var xs = { env: { NODE_ENV: "production" } };
|
|
937
937
|
function Ys() {
|
|
@@ -965,23 +965,23 @@ function $s(e) {
|
|
|
965
965
|
return De(e, Bs, []);
|
|
966
966
|
}
|
|
967
967
|
function rn(e, t) {
|
|
968
|
-
const n =
|
|
968
|
+
const n = Ks(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
|
}
|
|
976
976
|
const Js = ["s", "static"];
|
|
977
|
-
function
|
|
977
|
+
function Ks(e) {
|
|
978
978
|
return De(e, Js);
|
|
979
979
|
}
|
|
980
|
-
const
|
|
980
|
+
const zs = ["i", "items"];
|
|
981
981
|
function Qs(e) {
|
|
982
|
-
return De(e,
|
|
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,7 +1066,7 @@ 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)
|
|
@@ -1112,14 +1112,14 @@ const Oe = {
|
|
|
1112
1112
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
1113
1113
|
}, da = 24;
|
|
1114
1114
|
function Re(e) {
|
|
1115
|
-
return
|
|
1115
|
+
return bt(e, null, void 0);
|
|
1116
1116
|
}
|
|
1117
1117
|
function $t(e, t) {
|
|
1118
1118
|
return t.locale != null ? ln(t.locale) : ln(e.locale);
|
|
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
|
] = {
|
|
@@ -1341,9 +1341,9 @@ Me[
|
|
|
1341
1341
|
/* Actions.APPEND */
|
|
1342
1342
|
]
|
|
1343
1343
|
};
|
|
1344
|
-
const
|
|
1345
|
-
function
|
|
1346
|
-
return
|
|
1344
|
+
const ba = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
|
1345
|
+
function ha(e) {
|
|
1346
|
+
return ba.test(e);
|
|
1347
1347
|
}
|
|
1348
1348
|
function ga(e) {
|
|
1349
1349
|
const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
|
|
@@ -1376,11 +1376,11 @@ function va(e) {
|
|
|
1376
1376
|
}
|
|
1377
1377
|
function Ea(e) {
|
|
1378
1378
|
const t = e.trim();
|
|
1379
|
-
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 :
|
|
1379
|
+
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : ha(t) ? ga(t) : "*" + t;
|
|
1380
1380
|
}
|
|
1381
1381
|
function Ia(e) {
|
|
1382
1382
|
const t = [];
|
|
1383
|
-
let n = -1, s = 0, l = 0, a, c, m, u,
|
|
1383
|
+
let n = -1, s = 0, l = 0, a, c, m, u, h, T, 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], h = L[u] || L.l || 8, h === 8 || (s = h[0], h[1] !== void 0 && (T = N[h[1]], T && (m = a, T() === !1))))
|
|
1432
1432
|
return;
|
|
1433
1433
|
if (s === 7)
|
|
1434
1434
|
return t;
|
|
@@ -1454,12 +1454,12 @@ function ya(e, t) {
|
|
|
1454
1454
|
}
|
|
1455
1455
|
return l;
|
|
1456
1456
|
}
|
|
1457
|
-
const Ta = "10.0.5",
|
|
1457
|
+
const Ta = "10.0.5", ht = -1, ft = "en-US", un = "", mn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1458
1458
|
function ka() {
|
|
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 :
|
|
1487
|
+
const t = se(e.onWarn) ? e.onWarn : hs, n = M(e.version) ? e.version : Ta, 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), h = ue(J(), e.modifiers, ka()), T = 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, k = !!e.unresolving, A = se(e.postTranslation) ? e.postTranslation : null, i = Z(e.processor) ? e.processor : null, d = le(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter, b = 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,
|
|
@@ -1492,18 +1492,18 @@ function Da(e = {}) {
|
|
|
1492
1492
|
locale: s,
|
|
1493
1493
|
fallbackLocale: a,
|
|
1494
1494
|
messages: c,
|
|
1495
|
-
modifiers:
|
|
1495
|
+
modifiers: h,
|
|
1496
1496
|
pluralRules: T,
|
|
1497
1497
|
missing: L,
|
|
1498
1498
|
missingWarn: N,
|
|
1499
1499
|
fallbackWarn: P,
|
|
1500
|
-
fallbackFormat:
|
|
1500
|
+
fallbackFormat: V,
|
|
1501
1501
|
unresolving: k,
|
|
1502
1502
|
postTranslation: A,
|
|
1503
1503
|
processor: i,
|
|
1504
1504
|
warnHtmlMessage: d,
|
|
1505
1505
|
escapeParameter: y,
|
|
1506
|
-
messageCompiler:
|
|
1506
|
+
messageCompiler: b,
|
|
1507
1507
|
messageResolver: S,
|
|
1508
1508
|
localeFallbacker: p,
|
|
1509
1509
|
fallbackContext: _,
|
|
@@ -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,39 +1525,39 @@ 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,
|
|
1541
|
+
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __datetimeFormatters: m } = e, [u, h, T, L] = Pt(...t), N = le(T.missingWarn) ? T.missingWarn : e.missingWarn;
|
|
1542
1542
|
le(T.fallbackWarn) ? T.fallbackWarn : e.fallbackWarn;
|
|
1543
|
-
const P = !!T.part,
|
|
1543
|
+
const P = !!T.part, V = $t(e, T), k = 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(h);
|
|
1551
1551
|
let A = {}, i, d = null;
|
|
1552
1552
|
const y = "datetime format";
|
|
1553
1553
|
for (let p = 0; p < k.length && (i = k[p], A = n[i] || {}, d = A[u], !Z(d)); p++)
|
|
1554
1554
|
Jt(e, u, i, N, y);
|
|
1555
|
-
if (!Z(d) || !
|
|
1556
|
-
return s ?
|
|
1557
|
-
let
|
|
1558
|
-
pt(L) || (
|
|
1559
|
-
let S = m.get(
|
|
1560
|
-
return S || (S = new Intl.DateTimeFormat(i, ue({}, d, L)), m.set(
|
|
1555
|
+
if (!Z(d) || !M(i))
|
|
1556
|
+
return s ? ht : u;
|
|
1557
|
+
let b = `${i}__${u}`;
|
|
1558
|
+
pt(L) || (b = `${b}__${JSON.stringify(L)}`);
|
|
1559
|
+
let S = m.get(b);
|
|
1560
|
+
return S || (S = new Intl.DateTimeFormat(i, ue({}, d, L)), m.set(b, S)), P ? S.formatToParts(h) : S.format(h);
|
|
1561
1561
|
}
|
|
1562
1562
|
const Fn = [
|
|
1563
1563
|
"localeMatcher",
|
|
@@ -1584,12 +1584,12 @@ 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);
|
|
1591
|
-
const
|
|
1592
|
-
m = new Date(
|
|
1591
|
+
const h = u[3] ? u[3].trim().startsWith("T") ? `${u[1].trim()}${u[3].trim()}` : `${u[1].trim()}T${u[3].trim()}` : u[1].trim();
|
|
1592
|
+
m = new Date(h);
|
|
1593
1593
|
try {
|
|
1594
1594
|
m.toISOString();
|
|
1595
1595
|
} catch {
|
|
@@ -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;
|
|
@@ -1614,27 +1614,27 @@ function pn(e, t, n) {
|
|
|
1614
1614
|
s.__datetimeFormatters.has(a) && s.__datetimeFormatters.delete(a);
|
|
1615
1615
|
}
|
|
1616
1616
|
}
|
|
1617
|
-
function
|
|
1618
|
-
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __numberFormatters: m } = e, [u,
|
|
1617
|
+
function bn(e, ...t) {
|
|
1618
|
+
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __numberFormatters: m } = e, [u, h, T, L] = Ft(...t), N = le(T.missingWarn) ? T.missingWarn : e.missingWarn;
|
|
1619
1619
|
le(T.fallbackWarn) ? T.fallbackWarn : e.fallbackWarn;
|
|
1620
|
-
const P = !!T.part,
|
|
1620
|
+
const P = !!T.part, V = $t(e, T), k = 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(h);
|
|
1628
1628
|
let A = {}, i, d = null;
|
|
1629
1629
|
const y = "number format";
|
|
1630
1630
|
for (let p = 0; p < k.length && (i = k[p], A = n[i] || {}, d = A[u], !Z(d)); p++)
|
|
1631
1631
|
Jt(e, u, i, N, y);
|
|
1632
|
-
if (!Z(d) || !
|
|
1633
|
-
return s ?
|
|
1634
|
-
let
|
|
1635
|
-
pt(L) || (
|
|
1636
|
-
let S = m.get(
|
|
1637
|
-
return S || (S = new Intl.NumberFormat(i, ue({}, d, L)), m.set(
|
|
1632
|
+
if (!Z(d) || !M(i))
|
|
1633
|
+
return s ? ht : u;
|
|
1634
|
+
let b = `${i}__${u}`;
|
|
1635
|
+
pt(L) || (b = `${b}__${JSON.stringify(L)}`);
|
|
1636
|
+
let S = m.get(b);
|
|
1637
|
+
return S || (S = new Intl.NumberFormat(i, ue({}, d, L)), m.set(b, S)), P ? S.formatToParts(h) : S.format(h);
|
|
1638
1638
|
}
|
|
1639
1639
|
const Un = [
|
|
1640
1640
|
"localeMatcher",
|
|
@@ -1664,18 +1664,18 @@ function Ft(...e) {
|
|
|
1664
1664
|
if (!ce(t))
|
|
1665
1665
|
throw Re(Oe.INVALID_ARGUMENT);
|
|
1666
1666
|
const m = t;
|
|
1667
|
-
return
|
|
1667
|
+
return M(n) ? a.key = n : Z(n) && Object.keys(n).forEach((u) => {
|
|
1668
1668
|
Un.includes(u) ? c[u] = n[u] : a[u] = n[u];
|
|
1669
|
-
}),
|
|
1669
|
+
}), M(s) ? a.locale = s : Z(s) && (c = s), Z(l) && (c = l), [a.key || "", m, a, c];
|
|
1670
1670
|
}
|
|
1671
|
-
function
|
|
1671
|
+
function hn(e, t, n) {
|
|
1672
1672
|
const s = e;
|
|
1673
1673
|
for (const l in n) {
|
|
1674
1674
|
const a = `${t}__${l}`;
|
|
1675
1675
|
s.__numberFormatters.has(a) && s.__numberFormatters.delete(a);
|
|
1676
1676
|
}
|
|
1677
1677
|
}
|
|
1678
|
-
const Pa = (e) => e, Fa = (e) => "", Ua = "text",
|
|
1678
|
+
const Pa = (e) => e, Fa = (e) => "", Ua = "text", Va = (e) => e.length === 0 ? "" : Xt(e), ja = bs;
|
|
1679
1679
|
function gn(e, t) {
|
|
1680
1680
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1681
1681
|
}
|
|
@@ -1687,21 +1687,21 @@ function Ga(e, t) {
|
|
|
1687
1687
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1688
1688
|
}
|
|
1689
1689
|
function xa(e = {}) {
|
|
1690
|
-
const t = e.locale, n = Wa(e), s = X(e.pluralRules) &&
|
|
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
|
-
const
|
|
1692
|
+
const h = (i) => u[i];
|
|
1693
1693
|
function T(i, d) {
|
|
1694
1694
|
const y = se(e.messages) ? e.messages(i, !!d) : X(e.messages) ? e.messages[i] : !1;
|
|
1695
1695
|
return y || (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
|
-
named:
|
|
1699
|
+
named: h,
|
|
1700
1700
|
plural: a,
|
|
1701
1701
|
linked: (i, ...d) => {
|
|
1702
|
-
const [y,
|
|
1702
|
+
const [y, b] = d;
|
|
1703
1703
|
let S = "text", p = "";
|
|
1704
|
-
d.length === 1 ? X(y) ? (p = y.modifier || p, S = y.type || S) :
|
|
1704
|
+
d.length === 1 ? X(y) ? (p = y.modifier || p, S = y.type || S) : M(y) && (p = y || p) : d.length === 2 && (M(y) && (p = y || p), M(b) && (S = b || S));
|
|
1705
1705
|
const _ = T(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] : _
|
|
@@ -1709,37 +1709,37 @@ function xa(e = {}) {
|
|
|
1709
1709
|
return p ? L(p)(U, S) : U;
|
|
1710
1710
|
},
|
|
1711
1711
|
message: T,
|
|
1712
|
-
type:
|
|
1712
|
+
type: V,
|
|
1713
1713
|
interpolate: P,
|
|
1714
1714
|
normalize: N,
|
|
1715
1715
|
values: ue(J(), c, u)
|
|
1716
1716
|
};
|
|
1717
1717
|
return A;
|
|
1718
1718
|
}
|
|
1719
|
-
const vn = () => "",
|
|
1719
|
+
const vn = () => "", he = (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,
|
|
1722
|
-
N && Ya(
|
|
1721
|
+
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: m } = e, [u, h] = Ut(...t), T = le(h.missingWarn) ? h.missingWarn : e.missingWarn, L = le(h.fallbackWarn) ? h.fallbackWarn : e.fallbackWarn, N = le(h.escapeParameter) ? h.escapeParameter : e.escapeParameter, P = !!h.resolvedMessage, V = M(h.default) || le(h.default) ? le(h.default) ? a ? u : () => u : h.default : n ? a ? u : () => u : null, k = n || V != null && (M(V) || se(V)), A = $t(e, h);
|
|
1722
|
+
N && Ya(h);
|
|
1723
1723
|
let [i, d, y] = P ? [
|
|
1724
1724
|
u,
|
|
1725
1725
|
A,
|
|
1726
1726
|
m[A] || J()
|
|
1727
|
-
] :
|
|
1728
|
-
if (!P && !(
|
|
1729
|
-
return l ?
|
|
1727
|
+
] : Vn(e, u, A, c, L, T), b = i, S = u;
|
|
1728
|
+
if (!P && !(M(b) || He(b) || he(b)) && k && (b = V, S = b), !P && (!(M(b) || He(b) || he(b)) || !M(d)))
|
|
1729
|
+
return l ? ht : u;
|
|
1730
1730
|
let p = !1;
|
|
1731
1731
|
const _ = () => {
|
|
1732
1732
|
p = !0;
|
|
1733
|
-
}, U =
|
|
1733
|
+
}, U = he(b) ? b : jn(e, u, d, b, S, _);
|
|
1734
1734
|
if (p)
|
|
1735
|
-
return
|
|
1736
|
-
const g = Ha(e, d, y,
|
|
1735
|
+
return b;
|
|
1736
|
+
const g = Ha(e, d, y, h), I = xa(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:
|
|
1741
|
-
locale: d || (
|
|
1742
|
-
format:
|
|
1740
|
+
key: M(u) ? u : he(b) ? b.key : "",
|
|
1741
|
+
locale: d || (he(b) ? b.locale : ""),
|
|
1742
|
+
format: M(b) ? b : he(b) ? b.source : "",
|
|
1743
1743
|
message: D
|
|
1744
1744
|
};
|
|
1745
1745
|
$.meta = ue({}, e.__meta, /* @__PURE__ */ Aa() || {}), ua($);
|
|
@@ -1747,37 +1747,37 @@ function En(e, ...t) {
|
|
|
1747
1747
|
return D;
|
|
1748
1748
|
}
|
|
1749
1749
|
function Ya(e) {
|
|
1750
|
-
oe(e.list) ? e.list = e.list.map((t) =>
|
|
1751
|
-
|
|
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:
|
|
1754
|
+
function Vn(e, t, n, s, l, a) {
|
|
1755
|
+
const { messages: c, onWarn: m, messageResolver: u, localeFallbacker: h } = e, T = h(e, s, n);
|
|
1756
1756
|
let L = J(), N, P = null;
|
|
1757
|
-
const
|
|
1758
|
-
for (let k = 0; k < T.length && (N = T[k], L = c[N] || J(), (P = u(L, t)) === null && (P = L[t]), !(
|
|
1759
|
-
if (!
|
|
1757
|
+
const V = "translate";
|
|
1758
|
+
for (let k = 0; k < T.length && (N = T[k], L = c[N] || J(), (P = u(L, t)) === null && (P = L[t]), !(M(P) || He(P) || he(P))); k++)
|
|
1759
|
+
if (!Ma(N, T)) {
|
|
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
|
-
if (
|
|
1775
|
-
const
|
|
1776
|
-
return
|
|
1774
|
+
if (he(s)) {
|
|
1775
|
+
const h = s;
|
|
1776
|
+
return h.locale = h.locale || n, h.key = h.key || t, h;
|
|
1777
1777
|
}
|
|
1778
1778
|
if (c == null) {
|
|
1779
|
-
const
|
|
1780
|
-
return
|
|
1779
|
+
const h = () => s;
|
|
1780
|
+
return h.locale = n, h.key = t, h;
|
|
1781
1781
|
}
|
|
1782
1782
|
const u = c(s, Xa(e, n, l, s, m, a));
|
|
1783
1783
|
return u.locale = n, u.key = t, u.source = s, u;
|
|
@@ -1787,10 +1787,10 @@ function Za(e, t, n) {
|
|
|
1787
1787
|
}
|
|
1788
1788
|
function Ut(...e) {
|
|
1789
1789
|
const [t, n, s] = e, l = J();
|
|
1790
|
-
if (!
|
|
1790
|
+
if (!M(t) && !ce(t) && !he(t) && !He(t))
|
|
1791
1791
|
throw Re(Oe.INVALID_ARGUMENT);
|
|
1792
|
-
const a = ce(t) ? String(t) : (
|
|
1793
|
-
return ce(n) ? l.plural = n :
|
|
1792
|
+
const a = ce(t) ? String(t) : (he(t), t);
|
|
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,37 +1804,37 @@ 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:
|
|
1807
|
+
const { modifiers: l, pluralRules: a, messageResolver: c, fallbackLocale: m, fallbackWarn: u, missingWarn: h, fallbackContext: T } = e, N = {
|
|
1808
1808
|
locale: t,
|
|
1809
1809
|
modifiers: l,
|
|
1810
1810
|
pluralRules: a,
|
|
1811
|
-
messages: (P,
|
|
1811
|
+
messages: (P, V) => {
|
|
1812
1812
|
let k = c(n, P);
|
|
1813
|
-
if (k == null && (T ||
|
|
1814
|
-
const [, , A] =
|
|
1813
|
+
if (k == null && (T || V)) {
|
|
1814
|
+
const [, , A] = Vn(
|
|
1815
1815
|
T || e,
|
|
1816
1816
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1817
1817
|
P,
|
|
1818
1818
|
t,
|
|
1819
1819
|
m,
|
|
1820
1820
|
u,
|
|
1821
|
-
|
|
1821
|
+
h
|
|
1822
1822
|
);
|
|
1823
1823
|
k = c(A, P);
|
|
1824
1824
|
}
|
|
1825
|
-
if (
|
|
1825
|
+
if (M(k) || He(k)) {
|
|
1826
1826
|
let A = !1;
|
|
1827
|
-
const d =
|
|
1827
|
+
const d = jn(e, P, t, k, P, () => {
|
|
1828
1828
|
A = !0;
|
|
1829
1829
|
});
|
|
1830
1830
|
return A ? vn : d;
|
|
1831
|
-
} else return
|
|
1831
|
+
} else return he(k) ? k : vn;
|
|
1832
1832
|
}
|
|
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
1836
|
Ys();
|
|
1837
|
-
var Ba = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_677650ad-946a-4652-9ec0-54df3e26c704", 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_677650ad-946a-4652-9ec0-54df3e26c704", 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: "1877", ACTIONS_ORCHESTRATION_ID: "915d3d98-9434-4fc2-aa7c-f043b6b977ad.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.7.0", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "VITE_TARGET_ENV=dev pnpm build:mf && pnpm build:dts", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.9.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.6", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260406.80.1", npm_package_scripts_dev: "vite", npm_package_devDependencies_prettier: "^3.7.4", npm_package_devDependencies_sass_embedded: "^1.93.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_devDependencies__vue_tsconfig: "^0.4.0", npm_package_devDependencies_eslint_plugin_import: "^2.32.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:14938", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^8.52.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.8/x64", GITHUB_RUN_ID: "24495739065", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "a80f01d25575928cd23e3a2001c37df4bcdc6b9e", 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.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6M31dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjZmOTZmYTg5LWI3YmYtNDg3OC1iYWQzLTg5ODAwNjU2NmI2ZSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3NzYzNDMyOTEsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc3NjMyMTA5MSwiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6ImIwMWNmMTZiLWQzMjctNTQ0OC04MGI0LWM0NGUwOTMxMTIxMyIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc3NjMyMDc5MSwib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJqdW4tbGVlLWZlZWRtZVwiLFwiYWN0b3JfaWRcIjpcIjIzOTI4Mjg2MlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCI3MTU5MDEyODgzNlwiLFwiZXZlbnRfbmFtZVwiOlwid29ya2Zsb3dfZGlzcGF0Y2hcIixcImhlYWRfcmVmXCI6XCJcIixcImpvYl93b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9hY3Rpb25zLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtbnBtLWdpdGh1Yi55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwiam9iX3dvcmtmbG93X3NoYVwiOlwiM2YzNTQ0ODAwYmFhM2I4YmM0YWFhZTk0ZWU4NGMwMTJiZDY0OGZmZVwiLFwicmVmXCI6XCJyZWZzL2hlYWRzL21haW5cIixcInJlZl9wcm90ZWN0ZWRcIjpcInRydWVcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiMTEyNDY3MjIzNVwiLFwicmVwb3NpdG9yeV9vd25lclwiOlwiZmVlZG1lcG9zXCIsXCJyZXBvc2l0b3J5X293bmVyX2lkXCI6XCI1NDgzMTUxNVwiLFwicmVwb3NpdG9yeV92aXNpYmlsaXR5XCI6XCJwcml2YXRlXCIsXCJydW5fYXR0ZW1wdFwiOlwiMVwiLFwicnVuX2lkXCI6XCIyNDQ5NTczOTA2NVwiLFwicnVuX251bWJlclwiOlwiNDZcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCJhODBmMDFkMjU1NzU5MjhjZDIzZTNhMjAwMWMzN2RmNGJjZGM2YjllXCIsXCJ3b3JrZmxvd1wiOlwiUHVibGlzaCBocm0tcG9ydGFsXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLWhybS1wb3J0YWwtdHJ1c3RlZC55bWxAcmVmcy9oZWFkcy9tYWluXCIsXCJ3b3JrZmxvd19zaGFcIjpcImE4MGYwMWQyNTU3NTkyOGNkMjNlM2EyMDAxYzM3ZGY0YmNkYzZiOWVcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL2hybS1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL21haW4iLCJvcmNoX2lkIjoiOTE1ZDNkOTgtOTQzNC00ZmMyLWFhN2MtZjA0M2I2Yjk3N2FkLnB1Ymxpc2gucHVibGlzaC5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiI5MTVkM2Q5OC05NDM0LTRmYzItYWE3Yy1mMDQzYjZiOTc3YWQiLCJyZXBvc2l0b3J5X2lkIjoiMTEyNDY3MjIzNSIsInJ1bl9pZCI6IjI0NDk1NzM5MDY1IiwicnVuX251bWJlciI6IjQ2IiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDA2MDU2MSIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOjkxNWQzZDk4LTk0MzQtNGZjMi1hYTdjLWYwNDNiNmI5NzdhZDpiMDFjZjE2Yi1kMzI3LTU0NDgtODBiNC1jNDRlMDkzMTEyMTMgQWN0aW9ucy5SdW5uZXI6OTE1ZDNkOTgtOTQzNC00ZmMyLWFhN2MtZjA0M2I2Yjk3N2FkOmIwMWNmMTZiLWQzMjctNTQ0OC04MGI0LWM0NGUwOTMxMTIxMyBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czo5MTVkM2Q5OC05NDM0LTRmYzItYWE3Yy1mMDQzYjZiOTc3YWQ6YjAxY2YxNmItZDMyNy01NDQ4LTgwYjQtYzQ0ZTA5MzExMjEzIGdlbmVyYXRlX2lkX3Rva2VuOjkxNWQzZDk4LTk0MzQtNGZjMi1hYTdjLWYwNDNiNmI5NzdhZDpiMDFjZjE2Yi1kMzI3LTU0NDgtODBiNC1jNDRlMDkzMTEyMTMgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiJhODBmMDFkMjU1NzU5MjhjZDIzZTNhMjAwMWMzN2RmNGJjZGM2YjllIiwidHJ1c3RfdGllciI6IjEifQ.UgD97Hv6TVBPrwI-8nZfOAogWMM4E5xbbVozIQr9icLWESFJzsOnnMZG-GRniN2N1QS44gLCGlB7_kSU5-53Zl7kFj9QHUdnTapBcs_C6qyTHlF0FWzxWXXvXQn8TgU0-UXFQNBKerVlzAtrPlxxIIrRt7e_phLDNt_MPMShW-uEwORuXTWQLsngR0MBCTE92JFeJHb2EuPkXP9lYs44t9HnIetW88lQA9Oa2IbU67blx7904N-4LSzo5h7zVV1zoC5JgqpmVBPuEVYgJDnOwqcy1bLy15JIsadDm2ivbUS9k3AwLNTvQIyTl5wfRrrLLr8u5PPExkCbNS_z6J-BDw", 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_1977a8b0-cb7a-47ce-8245-99fbfd97792d", INVOCATION_ID: "6a136275fa894f4580beda933c64da47", 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: "46", 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 1000060561", 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.4", 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: "a80f01d25575928cd23e3a2001c37df4bcdc6b9e", 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_677650ad-946a-4652-9ec0-54df3e26c704", 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/161//idtoken/915d3d98-9434-4fc2-aa7c-f043b6b977ad/b01cf16b-d327-5448-80b4-c44e09311213?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_677650ad-946a-4652-9ec0-54df3e26c704", 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_677650ad-946a-4652-9ec0-54df3e26c704", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1837
|
+
var Ba = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_c3cd1a5a-fe71-44ae-ad05-b772d1884a89", 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_c3cd1a5a-fe71-44ae-ad05-b772d1884a89", 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: "1855", ACTIONS_ORCHESTRATION_ID: "1ab030a1-5064-4efb-8611-2badd5d3840d.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:13035", 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: "24555268554", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "18d9b06198c18ceeb7ffff1801cbd015f50e34a2", 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.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6M31dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjZmOTZmYTg5LWI3YmYtNDg3OC1iYWQzLTg5ODAwNjU2NmI2ZSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3NzY0MzYxMzAsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc3NjQxMzkzMCwiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6IjRkMDVmNmJlLWJmYWUtNTg5Ny1iZTg3LWEzNTc1NjdlODkzOCIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc3NjQxMzYzMCwib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJqdW4tbGVlLWZlZWRtZVwiLFwiYWN0b3JfaWRcIjpcIjIzOTI4Mjg2MlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCI3MTc5MDA3MTA1NlwiLFwiZXZlbnRfbmFtZVwiOlwid29ya2Zsb3dfZGlzcGF0Y2hcIixcImhlYWRfcmVmXCI6XCJcIixcImpvYl93b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9hY3Rpb25zLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtbnBtLWdpdGh1Yi55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwiam9iX3dvcmtmbG93X3NoYVwiOlwiM2YzNTQ0ODAwYmFhM2I4YmM0YWFhZTk0ZWU4NGMwMTJiZDY0OGZmZVwiLFwicmVmXCI6XCJyZWZzL2hlYWRzL21haW5cIixcInJlZl9wcm90ZWN0ZWRcIjpcInRydWVcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiMTEyNDY3MjIzNVwiLFwicmVwb3NpdG9yeV9vd25lclwiOlwiZmVlZG1lcG9zXCIsXCJyZXBvc2l0b3J5X293bmVyX2lkXCI6XCI1NDgzMTUxNVwiLFwicmVwb3NpdG9yeV92aXNpYmlsaXR5XCI6XCJwcml2YXRlXCIsXCJydW5fYXR0ZW1wdFwiOlwiMVwiLFwicnVuX2lkXCI6XCIyNDU1NTI2ODU1NFwiLFwicnVuX251bWJlclwiOlwiNDlcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCIxOGQ5YjA2MTk4YzE4Y2VlYjdmZmZmMTgwMWNiZDAxNWY1MGUzNGEyXCIsXCJ3b3JrZmxvd1wiOlwiUHVibGlzaCBocm0tcG9ydGFsXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLWhybS1wb3J0YWwtdHJ1c3RlZC55bWxAcmVmcy9oZWFkcy9tYWluXCIsXCJ3b3JrZmxvd19zaGFcIjpcIjE4ZDliMDYxOThjMThjZWViN2ZmZmYxODAxY2JkMDE1ZjUwZTM0YTJcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL2hybS1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL21haW4iLCJvcmNoX2lkIjoiMWFiMDMwYTEtNTA2NC00ZWZiLTg2MTEtMmJhZGQ1ZDM4NDBkLnB1Ymxpc2gucHVibGlzaC5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiIxYWIwMzBhMS01MDY0LTRlZmItODYxMS0yYmFkZDVkMzg0MGQiLCJyZXBvc2l0b3J5X2lkIjoiMTEyNDY3MjIzNSIsInJ1bl9pZCI6IjI0NTU1MjY4NTU0IiwicnVuX251bWJlciI6IjQ5IiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDA2MDk5OCIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOjFhYjAzMGExLTUwNjQtNGVmYi04NjExLTJiYWRkNWQzODQwZDo0ZDA1ZjZiZS1iZmFlLTU4OTctYmU4Ny1hMzU3NTY3ZTg5MzggQWN0aW9ucy5SdW5uZXI6MWFiMDMwYTEtNTA2NC00ZWZiLTg2MTEtMmJhZGQ1ZDM4NDBkOjRkMDVmNmJlLWJmYWUtNTg5Ny1iZTg3LWEzNTc1NjdlODkzOCBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czoxYWIwMzBhMS01MDY0LTRlZmItODYxMS0yYmFkZDVkMzg0MGQ6NGQwNWY2YmUtYmZhZS01ODk3LWJlODctYTM1NzU2N2U4OTM4IGdlbmVyYXRlX2lkX3Rva2VuOjFhYjAzMGExLTUwNjQtNGVmYi04NjExLTJiYWRkNWQzODQwZDo0ZDA1ZjZiZS1iZmFlLTU4OTctYmU4Ny1hMzU3NTY3ZTg5MzggQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiIxOGQ5YjA2MTk4YzE4Y2VlYjdmZmZmMTgwMWNiZDAxNWY1MGUzNGEyIiwidHJ1c3RfdGllciI6IjEifQ.ERW4j4jg9hSSI1EVBjpOxCyw4BwnyH_vTE_xFiuk9owCtPI5jOCLAC0P86Gsp-qFCuHVyINyjJLw135PQb9ME-uq42IbSf1QWboXWnoxxCgvCKeS0TRBAxuhx0Ox_K1I_vEWgHr82_B_bUWpX10L7-yIvCHnkDVLi6SU_uT5ItTfZ7bjItDHMNfJiXpsF45uvsoK2SQ85pIgzFx6zjqm1k26wBqSrmcbbCTLVuJtzdVLi24_MLD9f7-z3P2yNiUfj4FhipaLeke078gGlwJ0MYdrt56vSjm7fm2qcgxv9IxMH0ov2pCJRkErRNbA1Xyrg69AGvUj9BLMzmXghzw1wg", 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_4d6b0fa9-4cc5-423b-b550-c9b473be8d9d", INVOCATION_ID: "b131008ab3f341e09149c983655474c6", 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: "49", 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 1000060998", 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.5-dev.1", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_hrm_permission: "workspace:*", npm_package_devDependencies__rushstack_eslint_patch: "^1.3.3", npm_package_devDependencies_eslint_plugin_unused_imports: "^4.3.0", npm_package_devDependencies_jsdom: "^24.0.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "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: "18d9b06198c18ceeb7ffff1801cbd015f50e34a2", 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", 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_c3cd1a5a-fe71-44ae-ad05-b772d1884a89", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "239282862", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-1-azure-eastus.actions.githubusercontent.com/47//idtoken/1ab030a1-5064-4efb-8611-2badd5d3840d/4d05f6be-bfae-5897-be87-a357567e8938?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_c3cd1a5a-fe71-44ae-ad05-b772d1884a89", 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_c3cd1a5a-fe71-44ae-ad05-b772d1884a89", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1838
1838
|
const $a = "10.0.5";
|
|
1839
1839
|
function Ja() {
|
|
1840
1840
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (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);
|
|
@@ -1853,9 +1853,9 @@ const Be = {
|
|
|
1853
1853
|
UNEXPECTED_ERROR: 32
|
|
1854
1854
|
};
|
|
1855
1855
|
function nt(e, ...t) {
|
|
1856
|
-
return
|
|
1856
|
+
return bt(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;
|
|
@@ -1881,10 +1881,10 @@ function Gn(e, t) {
|
|
|
1881
1881
|
const { messages: n, __i18n: s, messageResolver: l, flatJson: a } = t, c = Z(n) ? n : oe(s) ? J() : { [e]: J() };
|
|
1882
1882
|
if (oe(s) && s.forEach((m) => {
|
|
1883
1883
|
if ("locale" in m && "resource" in m) {
|
|
1884
|
-
const { locale: u, resource:
|
|
1885
|
-
u ? (c[u] = c[u] || J(), mt(
|
|
1884
|
+
const { locale: u, resource: h } = m;
|
|
1885
|
+
u ? (c[u] = c[u] || J(), mt(h, c[u])) : mt(h, 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]);
|
|
@@ -1893,7 +1893,7 @@ function Gn(e, t) {
|
|
|
1893
1893
|
function xn(e) {
|
|
1894
1894
|
return e.type;
|
|
1895
1895
|
}
|
|
1896
|
-
function
|
|
1896
|
+
function za(e, t, n) {
|
|
1897
1897
|
let s = X(t.messages) ? t.messages : J();
|
|
1898
1898
|
"__i18nGlobal" in n && (s = Gn(e.locale.value, {
|
|
1899
1899
|
messages: s,
|
|
@@ -1932,16 +1932,16 @@ const qa = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
|
1932
1932
|
return e && (t = xn(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
|
-
),
|
|
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
|
+
), h = a(Gn(m.value, e)), T = 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, k = !!e.fallbackFormat, A = se(e.missing) ? e.missing : null, i = se(e.missing) ? kn(e.missing) : null, d = se(e.postTranslation) ? e.postTranslation : null, y = t ? t.warnHtmlMessage : le(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, b = !!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
|
_ = (() => {
|
|
@@ -1950,7 +1950,7 @@ function er(e = {}) {
|
|
|
1950
1950
|
version: $a,
|
|
1951
1951
|
locale: m.value,
|
|
1952
1952
|
fallbackLocale: u.value,
|
|
1953
|
-
messages:
|
|
1953
|
+
messages: h.value,
|
|
1954
1954
|
modifiers: S,
|
|
1955
1955
|
pluralRules: p,
|
|
1956
1956
|
missing: i === null ? void 0 : i,
|
|
@@ -1960,7 +1960,7 @@ function er(e = {}) {
|
|
|
1960
1960
|
unresolving: !0,
|
|
1961
1961
|
postTranslation: d === null ? void 0 : d,
|
|
1962
1962
|
warnHtmlMessage: y,
|
|
1963
|
-
escapeParameter:
|
|
1963
|
+
escapeParameter: b,
|
|
1964
1964
|
messageResolver: e.messageResolver,
|
|
1965
1965
|
messageCompiler: e.messageCompiler,
|
|
1966
1966
|
__meta: { framework: "vue" }
|
|
@@ -1973,35 +1973,35 @@ function er(e = {}) {
|
|
|
1973
1973
|
return [
|
|
1974
1974
|
m.value,
|
|
1975
1975
|
u.value,
|
|
1976
|
-
|
|
1976
|
+
h.value,
|
|
1977
1977
|
T.value,
|
|
1978
1978
|
L.value
|
|
1979
1979
|
];
|
|
1980
1980
|
}
|
|
1981
|
-
const I =
|
|
1981
|
+
const I = z({
|
|
1982
1982
|
get: () => m.value,
|
|
1983
1983
|
set: (f) => {
|
|
1984
1984
|
m.value = f, _.locale = m.value;
|
|
1985
1985
|
}
|
|
1986
|
-
}), G =
|
|
1986
|
+
}), G = z({
|
|
1987
1987
|
get: () => u.value,
|
|
1988
1988
|
set: (f) => {
|
|
1989
1989
|
u.value = f, _.fallbackLocale = u.value, Qe(_, m.value, f);
|
|
1990
1990
|
}
|
|
1991
|
-
}), D =
|
|
1991
|
+
}), D = z(() => h.value), $ = /* @__PURE__ */ z(() => T.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 = kn(f)), A = f, _.missing = i;
|
|
2003
2003
|
}
|
|
2004
|
-
const
|
|
2004
|
+
const j = (f, E, K, re, Pe, at) => {
|
|
2005
2005
|
g();
|
|
2006
2006
|
let xe;
|
|
2007
2007
|
try {
|
|
@@ -2009,10 +2009,10 @@ function er(e = {}) {
|
|
|
2009
2009
|
} finally {
|
|
2010
2010
|
__INTLIFY_PROD_DEVTOOLS__, s || (_.fallbackContext = void 0);
|
|
2011
2011
|
}
|
|
2012
|
-
if (
|
|
2013
|
-
ce(xe) && xe ===
|
|
2012
|
+
if (K !== "translate exists" && // for not `te` (e.g `t`)
|
|
2013
|
+
ce(xe) && xe === ht || K === "translate exists" && !xe) {
|
|
2014
2014
|
const [Xn, Gr] = E();
|
|
2015
|
-
return t &&
|
|
2015
|
+
return t && V ? re(t) : Pe(Xn);
|
|
2016
2016
|
} else {
|
|
2017
2017
|
if (at(xe))
|
|
2018
2018
|
return xe;
|
|
@@ -2020,22 +2020,22 @@ function er(e = {}) {
|
|
|
2020
2020
|
}
|
|
2021
2021
|
};
|
|
2022
2022
|
function 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
2025
|
function x(...f) {
|
|
2026
|
-
const [E,
|
|
2026
|
+
const [E, K, re] = f;
|
|
2027
2027
|
if (re && !X(re))
|
|
2028
2028
|
throw nt(Be.INVALID_ARGUMENT);
|
|
2029
|
-
return R(E,
|
|
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(bn, 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,39 +2043,39 @@ function er(e = {}) {
|
|
|
2043
2043
|
type: "vnode"
|
|
2044
2044
|
};
|
|
2045
2045
|
function ve(...f) {
|
|
2046
|
-
return
|
|
2047
|
-
let
|
|
2046
|
+
return j((E) => {
|
|
2047
|
+
let K;
|
|
2048
2048
|
const re = E;
|
|
2049
2049
|
try {
|
|
2050
|
-
re.processor = ee,
|
|
2050
|
+
re.processor = ee, K = Reflect.apply(En, null, [re, ...f]);
|
|
2051
2051
|
} finally {
|
|
2052
2052
|
re.processor = null;
|
|
2053
2053
|
}
|
|
2054
|
-
return
|
|
2055
|
-
}, () => Ut(...f), "translate", (E) => E[
|
|
2054
|
+
return K;
|
|
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(bn, null, [E, ...f]), () => Ft(...f), "number format", (E) => E[Wt](...f), yn, (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), yn, (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
|
|
2071
|
-
return He(Pe) ||
|
|
2072
|
-
}, () => [f], "translate exists", (
|
|
2070
|
+
const K = M(E) ? E : m.value, re = We(K), Pe = _.messageResolver(re, f);
|
|
2071
|
+
return He(Pe) || he(Pe) || M(Pe);
|
|
2072
|
+
}, () => [f], "translate exists", (K) => Reflect.apply(K.te, K, [f, E]), Qa, (K) => le(K));
|
|
2073
2073
|
}
|
|
2074
2074
|
function It(f) {
|
|
2075
2075
|
let E = null;
|
|
2076
|
-
const
|
|
2077
|
-
for (let re = 0; re <
|
|
2078
|
-
const Pe =
|
|
2076
|
+
const K = An(_, u.value, m.value);
|
|
2077
|
+
for (let re = 0; re < K.length; re++) {
|
|
2078
|
+
const Pe = h.value[K[re]] || {}, at = _.messageResolver(Pe, f);
|
|
2079
2079
|
if (at != null) {
|
|
2080
2080
|
E = at;
|
|
2081
2081
|
break;
|
|
@@ -2083,29 +2083,29 @@ function er(e = {}) {
|
|
|
2083
2083
|
}
|
|
2084
2084
|
return E;
|
|
2085
2085
|
}
|
|
2086
|
-
function
|
|
2086
|
+
function Ke(f) {
|
|
2087
2087
|
const E = It(f);
|
|
2088
2088
|
return E ?? (t ? t.tm(f) || {} : {});
|
|
2089
2089
|
}
|
|
2090
2090
|
function We(f) {
|
|
2091
|
-
return
|
|
2091
|
+
return h.value[f] || {};
|
|
2092
2092
|
}
|
|
2093
2093
|
function Ge(f, E) {
|
|
2094
2094
|
if (l) {
|
|
2095
|
-
const
|
|
2096
|
-
for (const re in
|
|
2097
|
-
Ee(
|
|
2098
|
-
E =
|
|
2095
|
+
const K = { [f]: E };
|
|
2096
|
+
for (const re in K)
|
|
2097
|
+
Ee(K, re) && st(K[re]);
|
|
2098
|
+
E = K[f];
|
|
2099
2099
|
}
|
|
2100
|
-
|
|
2100
|
+
h.value[f] = E, _.messages = h.value;
|
|
2101
2101
|
}
|
|
2102
|
-
function
|
|
2103
|
-
|
|
2104
|
-
const
|
|
2102
|
+
function ze(f, E) {
|
|
2103
|
+
h.value[f] = h.value[f] || {};
|
|
2104
|
+
const K = { [f]: E };
|
|
2105
2105
|
if (l)
|
|
2106
|
-
for (const re in
|
|
2107
|
-
Ee(
|
|
2108
|
-
E =
|
|
2106
|
+
for (const re in K)
|
|
2107
|
+
Ee(K, re) && st(K[re]);
|
|
2108
|
+
E = K[f], mt(E, h.value[f]), _.messages = h.value;
|
|
2109
2109
|
}
|
|
2110
2110
|
function Nt(f) {
|
|
2111
2111
|
return T.value[f] || {};
|
|
@@ -2120,10 +2120,10 @@ function er(e = {}) {
|
|
|
2120
2120
|
return L.value[f] || {};
|
|
2121
2121
|
}
|
|
2122
2122
|
function F(f, E) {
|
|
2123
|
-
L.value[f] = E, _.numberFormats = L.value,
|
|
2123
|
+
L.value[f] = E, _.numberFormats = L.value, hn(_, f, E);
|
|
2124
2124
|
}
|
|
2125
2125
|
function ae(f, E) {
|
|
2126
|
-
L.value[f] = ue(L.value[f] || {}, E), _.numberFormats = L.value,
|
|
2126
|
+
L.value[f] = ue(L.value[f] || {}, E), _.numberFormats = L.value, hn(_, f, E);
|
|
2127
2127
|
}
|
|
2128
2128
|
Tn++, t && qt && (St(t.locale, (f) => {
|
|
2129
2129
|
c && (m.value = f, _.locale = f, Qe(_, m.value, u.value));
|
|
@@ -2141,7 +2141,7 @@ function er(e = {}) {
|
|
|
2141
2141
|
c = f, f && t && (m.value = t.locale.value, u.value = t.fallbackLocale.value, Qe(_, m.value, u.value));
|
|
2142
2142
|
},
|
|
2143
2143
|
get availableLocales() {
|
|
2144
|
-
return Object.keys(
|
|
2144
|
+
return Object.keys(h.value).sort();
|
|
2145
2145
|
},
|
|
2146
2146
|
messages: D,
|
|
2147
2147
|
get modifiers() {
|
|
@@ -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 k;
|
|
@@ -2184,24 +2184,24 @@ function er(e = {}) {
|
|
|
2184
2184
|
y = f, _.warnHtmlMessage = f;
|
|
2185
2185
|
},
|
|
2186
2186
|
get escapeParameter() {
|
|
2187
|
-
return
|
|
2187
|
+
return b;
|
|
2188
2188
|
},
|
|
2189
2189
|
set escapeParameter(f) {
|
|
2190
|
-
|
|
2190
|
+
b = f, _.escapeParameter = f;
|
|
2191
2191
|
},
|
|
2192
2192
|
t: R,
|
|
2193
2193
|
getLocaleMessage: We,
|
|
2194
2194
|
setLocaleMessage: Ge,
|
|
2195
|
-
mergeLocaleMessage:
|
|
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 = x, W.te = Et, W.tm =
|
|
2202
|
+
return W.datetimeFormats = $, W.numberFormats = q, W.rt = x, 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
|
-
const
|
|
2204
|
+
const Kt = {
|
|
2205
2205
|
tag: {
|
|
2206
2206
|
type: [String, Object]
|
|
2207
2207
|
},
|
|
@@ -2241,24 +2241,24 @@ ue({
|
|
|
2241
2241
|
type: [Number, String],
|
|
2242
2242
|
validator: (e) => ce(e) || !isNaN(e)
|
|
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
|
-
let
|
|
2256
|
-
oe(u) ?
|
|
2257
|
-
const
|
|
2255
|
+
let h = [c.key];
|
|
2256
|
+
oe(u) ? h = u.map((N, P) => {
|
|
2257
|
+
const V = l[N.type], k = V ? V({ [N.type]: N.value, index: P, parts: u }) : [N.value];
|
|
2258
2258
|
return nr(k) && (k[0].key = `${N.type}-${P}`), k;
|
|
2259
|
-
}) :
|
|
2260
|
-
const T = ue(J(), a), L =
|
|
2261
|
-
return Rn(L, T,
|
|
2259
|
+
}) : M(u) && (h = [u]);
|
|
2260
|
+
const T = ue(J(), a), L = M(e.tag) || X(e.tag) ? e.tag : Yn();
|
|
2261
|
+
return Rn(L, T, h);
|
|
2262
2262
|
};
|
|
2263
2263
|
}
|
|
2264
2264
|
ue({
|
|
@@ -2269,7 +2269,7 @@ ue({
|
|
|
2269
2269
|
format: {
|
|
2270
2270
|
type: [String, Object]
|
|
2271
2271
|
}
|
|
2272
|
-
},
|
|
2272
|
+
}, Kt);
|
|
2273
2273
|
ue({
|
|
2274
2274
|
value: {
|
|
2275
2275
|
type: [Number, Date],
|
|
@@ -2278,8 +2278,8 @@ ue({
|
|
|
2278
2278
|
format: {
|
|
2279
2279
|
type: [String, Object]
|
|
2280
2280
|
}
|
|
2281
|
-
},
|
|
2282
|
-
const sr = /* @__PURE__ */
|
|
2281
|
+
}, Kt);
|
|
2282
|
+
const sr = /* @__PURE__ */ je("global-vue-i18n");
|
|
2283
2283
|
function gt(e = {}) {
|
|
2284
2284
|
const t = xt();
|
|
2285
2285
|
if (t == null)
|
|
@@ -2288,7 +2288,7 @@ function gt(e = {}) {
|
|
|
2288
2288
|
throw nt(Be.NOT_INSTALLED);
|
|
2289
2289
|
const n = ar(t), s = lr(n), l = xn(t), a = rr(e, l);
|
|
2290
2290
|
if (a === "global")
|
|
2291
|
-
return
|
|
2291
|
+
return za(s, e, l), s;
|
|
2292
2292
|
if (a === "parent") {
|
|
2293
2293
|
let u = or(n, t, e.__useComponent);
|
|
2294
2294
|
return u == null && (u = s), u;
|
|
@@ -2410,17 +2410,17 @@ const it = /* @__PURE__ */ Ie({
|
|
|
2410
2410
|
setup(e) {
|
|
2411
2411
|
const t = e;
|
|
2412
2412
|
return (n, s) => (Y(), te("div", ur, [
|
|
2413
|
-
|
|
2413
|
+
be(n.$slots, "top", {}, () => [
|
|
2414
2414
|
t.title ? (Y(), te("div", mr, [
|
|
2415
2415
|
ne("div", null, [
|
|
2416
2416
|
t.required ? (Y(), te("span", dr, "*")) : Le("", !0),
|
|
2417
2417
|
Jn(Ae(t.title), 1)
|
|
2418
2418
|
]),
|
|
2419
|
-
|
|
2419
|
+
be(n.$slots, "title-right")
|
|
2420
2420
|
])) : Le("", !0)
|
|
2421
2421
|
]),
|
|
2422
2422
|
ne("div", fr, [
|
|
2423
|
-
|
|
2423
|
+
be(n.$slots, "default")
|
|
2424
2424
|
])
|
|
2425
2425
|
]));
|
|
2426
2426
|
}
|
|
@@ -2432,10 +2432,10 @@ function pr(e, t) {
|
|
|
2432
2432
|
n += s.charAt(Math.floor(Math.random() * l));
|
|
2433
2433
|
return n;
|
|
2434
2434
|
}
|
|
2435
|
-
const
|
|
2435
|
+
const br = { class: "col flex items-center" }, hr = {
|
|
2436
2436
|
key: 1,
|
|
2437
2437
|
class: "q-pa-sm form-error-message text-error"
|
|
2438
|
-
},
|
|
2438
|
+
}, zt = /* @__PURE__ */ Ie({
|
|
2439
2439
|
__name: "CheckboxInput",
|
|
2440
2440
|
props: {
|
|
2441
2441
|
options: {
|
|
@@ -2493,11 +2493,11 @@ 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)}`, h = z(() => m.value !== !0), T = z(
|
|
2497
2497
|
() => n.modelValue.filter((k) => n.options.some((A) => A.value === k))
|
|
2498
|
-
), L =
|
|
2498
|
+
), L = z(
|
|
2499
2499
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
2500
|
-
), N =
|
|
2500
|
+
), N = z(() => n.options.length > 0 && n.options.length === T.value.length);
|
|
2501
2501
|
function P() {
|
|
2502
2502
|
const k = n.modelValue.filter((A) => !T.value.includes(A));
|
|
2503
2503
|
if (N.value === !0)
|
|
@@ -2507,7 +2507,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2507
2507
|
s("update:model-value", [...k, ...A]);
|
|
2508
2508
|
}
|
|
2509
2509
|
}
|
|
2510
|
-
function
|
|
2510
|
+
function V(k, A) {
|
|
2511
2511
|
let i = ut(n.modelValue);
|
|
2512
2512
|
A ? i.every((d) => d !== k) && i.push(k) : i = i.filter((d) => d !== k), s("update:model-value", i);
|
|
2513
2513
|
}
|
|
@@ -2519,7 +2519,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2519
2519
|
required: !1
|
|
2520
2520
|
}, {
|
|
2521
2521
|
top: pe(() => [
|
|
2522
|
-
|
|
2522
|
+
be(k.$slots, "top")
|
|
2523
2523
|
]),
|
|
2524
2524
|
default: pe(() => [
|
|
2525
2525
|
n.showAllToggle ? (Y(), Se(i, {
|
|
@@ -2541,16 +2541,16 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2541
2541
|
ne("div", {
|
|
2542
2542
|
class: qe(["row justify-between", e.alignCenter ? "items-center" : "items-start"])
|
|
2543
2543
|
}, [
|
|
2544
|
-
ne("div",
|
|
2544
|
+
ne("div", br, [
|
|
2545
2545
|
de(i, {
|
|
2546
2546
|
"model-value": e.modelValue.includes(d.value),
|
|
2547
2547
|
disabled: e.disable || d.disabled,
|
|
2548
2548
|
size: "sm",
|
|
2549
2549
|
label: d.label,
|
|
2550
2550
|
value: d.label,
|
|
2551
|
-
"onUpdate:modelValue": (
|
|
2551
|
+
"onUpdate:modelValue": (b) => V(d.value, b)
|
|
2552
2552
|
}, null, 8, ["model-value", "disabled", "label", "value", "onUpdate:modelValue"]),
|
|
2553
|
-
|
|
2553
|
+
be(k.$slots, `checkbox-${d.key || d.value}-append`, {
|
|
2554
2554
|
option: d,
|
|
2555
2555
|
selected: e.modelValue.includes(d.value)
|
|
2556
2556
|
})
|
|
@@ -2559,7 +2559,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2559
2559
|
key: 0,
|
|
2560
2560
|
class: qe([{ "q-checkbox disabled": e.disable || d.disabled }, "col"])
|
|
2561
2561
|
}, [
|
|
2562
|
-
|
|
2562
|
+
be(k.$slots, `checkbox-${d.key || d.value}-end`, {
|
|
2563
2563
|
option: d,
|
|
2564
2564
|
value: e.modelValue.includes(d.value),
|
|
2565
2565
|
disable: e.disable || d.disabled
|
|
@@ -2571,14 +2571,14 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2571
2571
|
class: qe(["q-mt-sm", { "q-checkbox disabled": e.disable || d.disabled }]),
|
|
2572
2572
|
style: ct(`margin-left: ${e.bottomSlotIndent}`)
|
|
2573
2573
|
}, [
|
|
2574
|
-
|
|
2574
|
+
be(k.$slots, `checkbox-${d.key || d.value}-bottom`, {
|
|
2575
2575
|
option: d,
|
|
2576
2576
|
disable: e.disable || d.disabled,
|
|
2577
2577
|
value: e.modelValue.includes(d.value)
|
|
2578
2578
|
})
|
|
2579
2579
|
], 6)) : Le("", !0)
|
|
2580
2580
|
], 6))), 128)),
|
|
2581
|
-
a.value &&
|
|
2581
|
+
a.value && h.value ? (Y(), te("div", hr, Ae(m.value), 1)) : Le("", !0)
|
|
2582
2582
|
]),
|
|
2583
2583
|
_: 3
|
|
2584
2584
|
}, 8, ["title"]);
|
|
@@ -2612,7 +2612,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2612
2612
|
},
|
|
2613
2613
|
emits: ["update:model-value"],
|
|
2614
2614
|
setup(e, { emit: t }) {
|
|
2615
|
-
const { getFlagValue: n } = is(), s = e, l =
|
|
2615
|
+
const { getFlagValue: n } = is(), s = e, l = z(() => [...Dt, ...s.additionalPermissions]), a = t, c = Object.values(ls), m = z(() => {
|
|
2616
2616
|
const p = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map();
|
|
2617
2617
|
for (const g of l.value) {
|
|
2618
2618
|
const I = g.category;
|
|
@@ -2642,7 +2642,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2642
2642
|
).map((R) => R.subject) : s.modelValue.filter((R) => I.some((x) => x.value === R.subject) && !R.inverted).map((R) => R.subject), O = I.find((R) => {
|
|
2643
2643
|
var x;
|
|
2644
2644
|
return (x = _.get(R.value)) == null ? void 0 : x.isCategoryCover;
|
|
2645
|
-
}),
|
|
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,9 +2651,9 @@ 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
|
});
|
|
@@ -2667,14 +2667,14 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2667
2667
|
)
|
|
2668
2668
|
]);
|
|
2669
2669
|
}
|
|
2670
|
-
function
|
|
2670
|
+
function h(p) {
|
|
2671
2671
|
return p.options.length > 0 && p.options.every((_) => p.selectedSubjects.includes(_.value));
|
|
2672
2672
|
}
|
|
2673
2673
|
function T(p) {
|
|
2674
2674
|
const _ = s.modelValue.filter(
|
|
2675
2675
|
(U) => !p.options.some((g) => g.value === U.subject)
|
|
2676
2676
|
);
|
|
2677
|
-
if (
|
|
2677
|
+
if (h(p))
|
|
2678
2678
|
a("update:model-value", _);
|
|
2679
2679
|
else {
|
|
2680
2680
|
const U = l.value.filter((g) => p.options.some((I) => I.value === g.subject)).map(
|
|
@@ -2709,7 +2709,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2709
2709
|
s.modelValue.filter((g) => g.subject !== _)
|
|
2710
2710
|
);
|
|
2711
2711
|
}
|
|
2712
|
-
function
|
|
2712
|
+
function V(p, _) {
|
|
2713
2713
|
const U = p.permissionActionsMap.get(_);
|
|
2714
2714
|
return U ? U.some((g) => g !== "manage") : !1;
|
|
2715
2715
|
}
|
|
@@ -2734,7 +2734,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
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)
|
|
@@ -2767,13 +2767,13 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2767
2767
|
}
|
|
2768
2768
|
a("update:model-value", g);
|
|
2769
2769
|
}
|
|
2770
|
-
const
|
|
2770
|
+
const b = {
|
|
2771
2771
|
read: "View",
|
|
2772
2772
|
create: "Duplicate",
|
|
2773
2773
|
update: "Edit"
|
|
2774
2774
|
};
|
|
2775
2775
|
function S(p) {
|
|
2776
|
-
return
|
|
2776
|
+
return b[p] ?? p.charAt(0).toUpperCase() + p.slice(1);
|
|
2777
2777
|
}
|
|
2778
2778
|
return (p, _) => {
|
|
2779
2779
|
const U = Ze("FmCheckbox");
|
|
@@ -2794,7 +2794,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2794
2794
|
ne("div", yr, [
|
|
2795
2795
|
ne("div", Tr, [
|
|
2796
2796
|
de(U, {
|
|
2797
|
-
"model-value":
|
|
2797
|
+
"model-value": h(g),
|
|
2798
2798
|
value: !0,
|
|
2799
2799
|
disabled: e.disable,
|
|
2800
2800
|
label: "All",
|
|
@@ -2823,9 +2823,9 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2823
2823
|
title: I.label,
|
|
2824
2824
|
onClick: (D) => !e.disable && !A(g, I.value) && P(g, I.value, !L(g, I.value))
|
|
2825
2825
|
}, Ae(I.label), 9, Or),
|
|
2826
|
-
|
|
2826
|
+
be(p.$slots, `checkbox-${I.value}-append`, { option: I })
|
|
2827
2827
|
]),
|
|
2828
|
-
|
|
2828
|
+
V(g, I.value) ? (Y(), te("div", Rr, [
|
|
2829
2829
|
(Y(!0), te(ye, null, _e(g.actionColumns, (D) => (Y(), te("div", {
|
|
2830
2830
|
key: D,
|
|
2831
2831
|
class: "w-[56px] flex justify-center"
|
|
@@ -2843,7 +2843,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2843
2843
|
])
|
|
2844
2844
|
], 2))), 128))
|
|
2845
2845
|
])
|
|
2846
|
-
])) : (Y(), Se(
|
|
2846
|
+
])) : (Y(), Se(zt, {
|
|
2847
2847
|
key: 0,
|
|
2848
2848
|
"model-value": g.selectedSubjects,
|
|
2849
2849
|
options: g.options,
|
|
@@ -2854,7 +2854,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2854
2854
|
_e(g.options, (I) => ({
|
|
2855
2855
|
name: `checkbox-${I.value}-append`,
|
|
2856
2856
|
fn: pe(({ option: G }) => [
|
|
2857
|
-
|
|
2857
|
+
be(p.$slots, `checkbox-${I.value}-append`, { option: G })
|
|
2858
2858
|
])
|
|
2859
2859
|
}))
|
|
2860
2860
|
]), 1032, ["model-value", "options", "disable", "title", "onUpdate:modelValue"]))
|
|
@@ -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;
|
|
@@ -2878,17 +2878,17 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2878
2878
|
s.value && (l.value = s.value.scrollHeight);
|
|
2879
2879
|
}
|
|
2880
2880
|
return Yt(async () => {
|
|
2881
|
-
await
|
|
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
|
-
}), (u,
|
|
2886
|
+
}), (u, h) => {
|
|
2887
2887
|
const T = Ze("FmButton");
|
|
2888
2888
|
return Y(), te(ye, null, [
|
|
2889
2889
|
ne("div", { onClick: c }, [
|
|
2890
2890
|
ne("div", Ar, [
|
|
2891
|
-
|
|
2891
|
+
be(u.$slots, "title"),
|
|
2892
2892
|
ne("div", Sr, [
|
|
2893
2893
|
de(T, {
|
|
2894
2894
|
icon: n.value ? "keyboard_arrow_down" : "keyboard_arrow_up",
|
|
@@ -2905,12 +2905,12 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2905
2905
|
class: "transition-all duration-300 ease-in-out overflow-hidden",
|
|
2906
2906
|
style: ct({ maxHeight: n.value ? "0" : l.value + "px" })
|
|
2907
2907
|
}, [
|
|
2908
|
-
|
|
2908
|
+
be(u.$slots, "default")
|
|
2909
2909
|
], 4)
|
|
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: {
|
|
@@ -2932,7 +2932,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2932
2932
|
},
|
|
2933
2933
|
emits: ["update:model-value"],
|
|
2934
2934
|
setup(e, { emit: t }) {
|
|
2935
|
-
const n = e, s = t, { t: l } = _t(), a =
|
|
2935
|
+
const n = e, s = t, { t: l } = _t(), a = z(() => [
|
|
2936
2936
|
{
|
|
2937
2937
|
label: l("team.memberForm.permissions.includedFuture", { context: n.context }),
|
|
2938
2938
|
value: Ct,
|
|
@@ -2940,19 +2940,19 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2940
2940
|
disable: !!n.modelValue && n.options.length > n.modelValue.length
|
|
2941
2941
|
},
|
|
2942
2942
|
...n.options.filter(
|
|
2943
|
-
(
|
|
2943
|
+
(h) => h.label.toLocaleLowerCase().includes(u.value.toLocaleLowerCase())
|
|
2944
2944
|
)
|
|
2945
|
-
]), c =
|
|
2946
|
-
function m(
|
|
2947
|
-
const T =
|
|
2948
|
-
s("update:model-value", T ? null :
|
|
2945
|
+
]), c = z(() => n.modelValue ? n.modelValue : [Ct, ...n.options.map((h) => h.value)]);
|
|
2946
|
+
function m(h) {
|
|
2947
|
+
const T = h.length === a.value.length;
|
|
2948
|
+
s("update:model-value", T ? null : h.filter((L) => L !== Ct));
|
|
2949
2949
|
}
|
|
2950
|
-
const u =
|
|
2951
|
-
return (
|
|
2950
|
+
const u = Ve("");
|
|
2951
|
+
return (h, T) => {
|
|
2952
2952
|
const L = Ze("fm-search");
|
|
2953
2953
|
return Y(), Se(Dr, null, {
|
|
2954
2954
|
title: pe(() => [
|
|
2955
|
-
ne("p",
|
|
2955
|
+
ne("p", wr, Ae(Te(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
2956
2956
|
]),
|
|
2957
2957
|
default: pe(() => [
|
|
2958
2958
|
e.options.length > 1 ? (Y(), Se(L, {
|
|
@@ -2962,7 +2962,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2962
2962
|
class: "mt-16",
|
|
2963
2963
|
placeholder: Te(l)("team.memberForm.permissions.search", { context: e.context })
|
|
2964
2964
|
}, null, 8, ["modelValue", "placeholder"])) : Le("", !0),
|
|
2965
|
-
de(
|
|
2965
|
+
de(zt, {
|
|
2966
2966
|
"model-value": c.value,
|
|
2967
2967
|
options: a.value,
|
|
2968
2968
|
"show-intermediate": !1,
|
|
@@ -2976,7 +2976,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2976
2976
|
_e(a.value, (N) => ({
|
|
2977
2977
|
name: `checkbox-${N.value}-append`,
|
|
2978
2978
|
fn: pe(({ option: P }) => [
|
|
2979
|
-
|
|
2979
|
+
be(h.$slots, `checkbox-${N.value}-append`, { option: P })
|
|
2980
2980
|
])
|
|
2981
2981
|
}))
|
|
2982
2982
|
]), 1032, ["model-value", "options", "disable"])
|
|
@@ -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: {
|
|
@@ -3007,7 +3007,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3007
3007
|
},
|
|
3008
3008
|
emits: ["update:model-value"],
|
|
3009
3009
|
setup(e, { emit: t }) {
|
|
3010
|
-
const n = e, s = t, { t: l } = _t(), a =
|
|
3010
|
+
const n = e, s = t, { t: l } = _t(), a = z(() => {
|
|
3011
3011
|
const u = n.restaurantIds;
|
|
3012
3012
|
return [
|
|
3013
3013
|
{
|
|
@@ -3015,18 +3015,18 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3015
3015
|
value: At,
|
|
3016
3016
|
disable: !!n.modelValue && n.roles.length > n.modelValue.length
|
|
3017
3017
|
},
|
|
3018
|
-
...n.roles.map((
|
|
3019
|
-
label:
|
|
3020
|
-
value:
|
|
3021
|
-
disable: !!u &&
|
|
3018
|
+
...n.roles.map((h) => ({
|
|
3019
|
+
label: h.name,
|
|
3020
|
+
value: h._id,
|
|
3021
|
+
disable: !!u && h.restaurants.every(({ id: T }) => !u.includes(T))
|
|
3022
3022
|
}))
|
|
3023
3023
|
];
|
|
3024
|
-
}), c =
|
|
3024
|
+
}), c = z(() => n.modelValue ? n.modelValue : [At, ...n.roles.map((u) => u._id)]);
|
|
3025
3025
|
function m(u) {
|
|
3026
|
-
const
|
|
3027
|
-
s("update:model-value",
|
|
3026
|
+
const h = u.length === a.value.length;
|
|
3027
|
+
s("update:model-value", h ? null : u.filter((T) => T !== At));
|
|
3028
3028
|
}
|
|
3029
|
-
return (u,
|
|
3029
|
+
return (u, h) => (Y(), Se(zt, {
|
|
3030
3030
|
"model-value": c.value,
|
|
3031
3031
|
options: a.value,
|
|
3032
3032
|
"show-intermediate": !1,
|
|
@@ -3038,7 +3038,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3038
3038
|
_e(a.value, (T) => ({
|
|
3039
3039
|
name: `checkbox-${T.value}-append`,
|
|
3040
3040
|
fn: pe(({ option: L }) => [
|
|
3041
|
-
|
|
3041
|
+
be(u.$slots, `checkbox-${T.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" }, Ur = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" },
|
|
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: {
|
|
@@ -3068,22 +3068,22 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3068
3068
|
function u(C) {
|
|
3069
3069
|
return Dt.find((O) => O.subject === C) ?? m.value.find((O) => O.subject === C);
|
|
3070
3070
|
}
|
|
3071
|
-
const
|
|
3072
|
-
const C = [...Dt, ...m.value].filter((
|
|
3071
|
+
const h = z(() => {
|
|
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
|
-
}), T =
|
|
3082
|
+
}), T = 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
3089
|
return yt(
|
|
@@ -3091,11 +3091,11 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3091
3091
|
"warehouseId",
|
|
3092
3092
|
k.value.map((O) => O._id)
|
|
3093
3093
|
);
|
|
3094
|
-
}), L =
|
|
3094
|
+
}), L = z(() => {
|
|
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
3101
|
return yt(
|
|
@@ -3103,28 +3103,28 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3103
3103
|
"restaurantId",
|
|
3104
3104
|
y.value.map((O) => O._id)
|
|
3105
3105
|
);
|
|
3106
|
-
}), N =
|
|
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
3111
|
return yt(
|
|
3112
3112
|
C,
|
|
3113
3113
|
"roleId",
|
|
3114
|
-
|
|
3114
|
+
b.value.map((O) => O._id)
|
|
3115
3115
|
);
|
|
3116
3116
|
}), P = [
|
|
3117
3117
|
ie.Subject.Business.restaurant,
|
|
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
|
-
}), k =
|
|
3127
|
+
}), k = Ve([]), A = z(() => k.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: y } = qn(),
|
|
3148
|
+
const { restaurants: y } = qn(), b = cs().roles, S = z(() => y.value.map((C) => ({
|
|
3149
3149
|
label: `${C.profile.code ? C.profile.code + "-" : ""}${C.profile.name}`,
|
|
3150
3150
|
value: C._id
|
|
3151
|
-
}))), p =
|
|
3151
|
+
}))), p = z(() => y.value.reduce((C, O) => (C[O._id] = b.value.filter((w) => w.restaurants.some((H) => H.id === O._id)).map((w) => w._id), C), {})), _ = z(() => as(n.value));
|
|
3152
3152
|
function U(C) {
|
|
3153
3153
|
const O = I(n.value, C);
|
|
3154
3154
|
n.value = O;
|
|
3155
3155
|
}
|
|
3156
|
-
const g =
|
|
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
|
...x
|
|
3169
3169
|
} = os.restaurant;
|
|
3170
|
-
|
|
3170
|
+
w.push(x);
|
|
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
|
|
3178
|
+
const j = [
|
|
3179
3179
|
...new Set(O.map((x) => p.value[x]).flatMap((x) => x))
|
|
3180
|
-
], R =
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
(H = g.value || R) == null ? void 0 : H.filter((x) =>
|
|
3180
|
+
], R = b.value.map((x) => x._id);
|
|
3181
|
+
j.length !== R.length && (w = D(
|
|
3182
|
+
w,
|
|
3183
|
+
(H = g.value || R) == null ? void 0 : H.filter((x) => j.includes(x))
|
|
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,9 +3199,9 @@ 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
|
Yt(async () => {
|
|
3207
3207
|
await Promise.all([
|
|
@@ -3209,46 +3209,46 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3209
3209
|
c()
|
|
3210
3210
|
]);
|
|
3211
3211
|
});
|
|
3212
|
-
const $ =
|
|
3212
|
+
const $ = z(() => Tt(
|
|
3213
3213
|
n.value,
|
|
3214
3214
|
kt
|
|
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((x) => !w.includes(x)).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) || Tt(
|
|
3235
|
+
j,
|
|
3236
3236
|
kt
|
|
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 x =
|
|
3241
|
-
if (
|
|
3240
|
+
const x = j.some((Q) => Q.subject === R && Q.inverted);
|
|
3241
|
+
if (j = j.filter((Q) => !(Q.subject === R && Q.inverted)), !x && !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
3253
|
const x = $.value.find(
|
|
3254
3254
|
(ee) => ee.subject === R && !ee.inverted
|
|
@@ -3257,27 +3257,27 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3257
3257
|
const ge = new Set(x.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
3273
|
ge.has("manage") && !fe.has("manage") && Tt(
|
|
3274
|
-
|
|
3274
|
+
j,
|
|
3275
3275
|
kt
|
|
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,
|
|
@@ -3293,55 +3293,55 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3293
3293
|
"additional-permissions": Te(m),
|
|
3294
3294
|
"onUpdate:modelValue": q
|
|
3295
3295
|
}, Fe({ _: 2 }, [
|
|
3296
|
-
_e(
|
|
3297
|
-
name: `checkbox-${
|
|
3296
|
+
_e(h.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
3308
|
context: Te(a)("team.labels.warehouse"),
|
|
3309
3309
|
"onUpdate:modelValue": i
|
|
3310
3310
|
}, Fe({ _: 2 }, [
|
|
3311
|
-
_e(T.value, (
|
|
3312
|
-
name: `checkbox-${
|
|
3311
|
+
_e(T.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
3323
|
context: Te(a)("team.labels.restaurant"),
|
|
3324
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: Te(
|
|
3335
|
+
de(Mr, {
|
|
3336
|
+
roles: Te(b),
|
|
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"])
|
|
@@ -3350,6 +3350,6 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3350
3350
|
}
|
|
3351
3351
|
});
|
|
3352
3352
|
export {
|
|
3353
|
-
|
|
3353
|
+
zt as _,
|
|
3354
3354
|
Jr as a
|
|
3355
3355
|
};
|