@feedmepos/mf-hrm-portal 2.0.20-dev.2 → 2.0.20-dev.3
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-ChxAzO74.js → AuditLogList-7E8iWQWx.js} +4 -4
- package/dist/{EmployeeList-Cs-Mn6UA.js → EmployeeList-DyNW3cUo.js} +214 -206
- package/dist/{Main-DcvmP7s-.js → Main-BLJyOcEv.js} +4 -4
- package/dist/{Main-B9_TyRDo.js → Main-BZjZxFHp.js} +9 -9
- package/dist/{Main-CdHW4UkN.js → Main-C9lMH4EN.js} +5 -5
- package/dist/{PermissionSetList-VFVS0g0v.js → PermissionSetList-BuCp14Os.js} +115 -107
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Dr3R9JjS.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BQSDnH-Z.js} +608 -595
- package/dist/{RoleList-BZ6RZvm2.js → RoleList-L8L1xmJ2.js} +201 -193
- package/dist/{TeamMemberList-C-zhFauD.js → TeamMemberList-DEN9rHqb.js} +421 -412
- package/dist/{TimesheetList-CZex54an.js → TimesheetList-D88u0GFn.js} +6 -6
- package/dist/{app-CLL3p27X.js → app-g_SrJtfC.js} +4 -4
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-CDt1i9vl.js → dayjs.min-BGHzwXCt.js} +1 -1
- package/dist/{employee-BpRvjWNh.js → employee-Dep-q_aU.js} +3 -3
- package/dist/{iteration-BVjUzYL5.js → iteration-Dc-Bz5bA.js} +1 -1
- package/dist/{lodash-CrwgACp2.js → lodash-Cxw1GZ6L.js} +1 -1
- package/dist/{rule-BlQ5YZ9Z.js → rule-ClRtpdqO.js} +2 -2
- package/dist/{timesheet-jFs4GTAL.js → timesheet-CZoSvFYT.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-DMAL8VFY.js → useAppStore-CTBRpqmO.js} +1 -1
- package/dist/{useLoading-AFTjRLyO.js → useLoading-XvrLj1VM.js} +1 -1
- package/dist/{useReportPermissions-hODG0Xx3.js → useReportPermissions-nivbQm9V.js} +3 -3
- package/package.json +1 -1
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { getCurrentInstance as xt, inject as Jn, ref as bt, shallowRef as Kn, computed as q, watch as St, onMounted as
|
|
1
|
+
import { getCurrentInstance as xt, inject as Jn, ref as bt, shallowRef as Kn, computed as q, watch as St, onMounted as Rn, onUnmounted as zn, defineComponent as ke, h as An, createVNode as _e, Text as Qn, Fragment as Oe, resolveComponent as qe, createBlock as Me, openBlock as Q, withCtx as pe, createElementVNode as se, createElementBlock as oe, toDisplayString as Ee, unref as $, renderList as he, toRef as zt, normalizeStyle as Ze, renderSlot as Te, createCommentVNode as Se, createTextVNode as qn, useSlots as es, normalizeClass as rt, createSlots as xe, mergeModels as Qt, useModel as ts } from "vue";
|
|
2
2
|
import { useI18n as He, useCoreStore as ns } from "@feedmepos/mf-common";
|
|
3
3
|
import "@vue/devtools-api";
|
|
4
|
-
import { p as Mt, d as ss, w as as, x as kt, k as rs, j as ls, $ as Lt } from "./rule-
|
|
4
|
+
import { p as Mt, d as ss, w as as, x as kt, k as rs, j as ls, $ as Lt } from "./rule-ClRtpdqO.js";
|
|
5
5
|
import { _ as Zt } from "./CollapsibleWrapper.vue_vue_type_script_setup_true_lang-BLJlmPVa.js";
|
|
6
|
-
import { u as os, b as is, d as ue, C as cs, h as Ot } from "./app-
|
|
7
|
-
import { d as dt, g as us, b as ms } from "./iteration-
|
|
8
|
-
import { u as ds } from "./useAppStore-
|
|
6
|
+
import { u as os, b as is, d as ue, C as cs, h as Ot } from "./app-g_SrJtfC.js";
|
|
7
|
+
import { d as dt, g as us, b as ms } from "./iteration-Dc-Bz5bA.js";
|
|
8
|
+
import { u as ds } from "./useAppStore-CTBRpqmO.js";
|
|
9
9
|
/*!
|
|
10
10
|
* shared v10.0.5
|
|
11
11
|
* (c) 2024 kazuya kawaguchi
|
|
12
12
|
* Released under the MIT License.
|
|
13
13
|
*/
|
|
14
|
-
const qt = typeof window < "u", je = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), fs = (e, t, n) => _s({ l: e, k: t, s: n }), _s = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), me = (e) => typeof e == "number" && isFinite(e), ps = (e) =>
|
|
14
|
+
const qt = typeof window < "u", je = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), fs = (e, t, n) => _s({ l: e, k: t, s: n }), _s = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), me = (e) => typeof e == "number" && isFinite(e), ps = (e) => Xt(e) === "[object Date]", _t = (e) => Xt(e) === "[object RegExp]", gt = (e) => J(e) && Object.keys(e).length === 0, de = Object.assign, bs = Object.create, ee = (e = null) => bs(e);
|
|
15
15
|
let en;
|
|
16
16
|
const Fe = () => en || (en = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : ee());
|
|
17
17
|
function tn(e) {
|
|
18
18
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
19
19
|
}
|
|
20
|
-
const
|
|
20
|
+
const gs = Object.prototype.hasOwnProperty;
|
|
21
21
|
function Ne(e, t) {
|
|
22
|
-
return
|
|
22
|
+
return gs.call(e, t);
|
|
23
23
|
}
|
|
24
|
-
const ce = Array.isArray,
|
|
25
|
-
function
|
|
24
|
+
const ce = Array.isArray, ae = (e) => typeof e == "function", P = (e) => typeof e == "string", ie = (e) => typeof e == "boolean", K = (e) => e !== null && typeof e == "object", hs = (e) => K(e) && ae(e.then) && ae(e.catch), Sn = Object.prototype.toString, Xt = (e) => Sn.call(e), J = (e) => Xt(e) === "[object Object]", vs = (e) => e == null ? "" : ce(e) || J(e) && e.toString === Sn ? JSON.stringify(e, null, 2) : String(e);
|
|
25
|
+
function Yt(e, t = "") {
|
|
26
26
|
return e.reduce((n, s, l) => l === 0 ? n + s : n + t + s, "");
|
|
27
27
|
}
|
|
28
28
|
function Is(e, t) {
|
|
29
29
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
30
30
|
}
|
|
31
|
-
const
|
|
31
|
+
const lt = (e) => !K(e) || ce(e);
|
|
32
32
|
function ft(e, t) {
|
|
33
|
-
if (
|
|
33
|
+
if (lt(e) || lt(t))
|
|
34
34
|
throw new Error("Invalid value");
|
|
35
35
|
const n = [{ src: e, des: t }];
|
|
36
36
|
for (; n.length; ) {
|
|
37
37
|
const { src: s, des: l } = n.pop();
|
|
38
38
|
Object.keys(s).forEach((a) => {
|
|
39
|
-
a !== "__proto__" && (K(s[a]) && !K(l[a]) && (l[a] = Array.isArray(s[a]) ? [] : ee()),
|
|
39
|
+
a !== "__proto__" && (K(s[a]) && !K(l[a]) && (l[a] = Array.isArray(s[a]) ? [] : ee()), lt(l[a]) || lt(s[a]) ? l[a] = s[a] : n.push({ src: s[a], des: l[a] }));
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -46,7 +46,7 @@ function Es(e, t, n) {
|
|
|
46
46
|
function Dt(e, t, n) {
|
|
47
47
|
return { start: e, end: t };
|
|
48
48
|
}
|
|
49
|
-
const
|
|
49
|
+
const z = {
|
|
50
50
|
// tokenizer error codes
|
|
51
51
|
EXPECTED_TOKEN: 1,
|
|
52
52
|
INVALID_TOKEN_IN_PLACEHOLDER: 2,
|
|
@@ -64,14 +64,14 @@ const Q = {
|
|
|
64
64
|
UNEXPECTED_EMPTY_LINKED_KEY: 13,
|
|
65
65
|
UNEXPECTED_LEXICAL_ANALYSIS: 14
|
|
66
66
|
}, Ns = 17;
|
|
67
|
-
function
|
|
67
|
+
function ht(e, t, n = {}) {
|
|
68
68
|
const { domain: s, messages: l, args: a } = n, c = e, u = new SyntaxError(String(c));
|
|
69
69
|
return u.code = e, t && (u.location = t), u.domain = s, u;
|
|
70
70
|
}
|
|
71
71
|
function ys(e) {
|
|
72
72
|
throw e;
|
|
73
73
|
}
|
|
74
|
-
const
|
|
74
|
+
const Le = " ", Ts = "\r", be = `
|
|
75
75
|
`, ks = "\u2028", Ls = "\u2029";
|
|
76
76
|
function Os(e) {
|
|
77
77
|
const t = e;
|
|
@@ -110,7 +110,7 @@ function Os(e) {
|
|
|
110
110
|
skipToPeek: S
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
|
-
const Ae = void 0,
|
|
113
|
+
const Ae = void 0, Cs = ".", nn = "'", Rs = "tokenizer";
|
|
114
114
|
function As(e, t = {}) {
|
|
115
115
|
const n = t.location !== !1, s = Os(e), l = () => s.index(), a = () => Es(s.line(), s.column(), s.index()), c = a(), u = l(), m = {
|
|
116
116
|
currentType: 13,
|
|
@@ -128,8 +128,8 @@ function As(e, t = {}) {
|
|
|
128
128
|
function O(r, o, b, ...U) {
|
|
129
129
|
const re = p();
|
|
130
130
|
if (o.column += b, o.offset += b, y) {
|
|
131
|
-
const
|
|
132
|
-
domain:
|
|
131
|
+
const X = n ? Dt(re.startLoc, o) : null, f = ht(r, X, {
|
|
132
|
+
domain: Rs,
|
|
133
133
|
args: U
|
|
134
134
|
});
|
|
135
135
|
y(f);
|
|
@@ -146,11 +146,11 @@ function As(e, t = {}) {
|
|
|
146
146
|
/* TokenTypes.EOF */
|
|
147
147
|
);
|
|
148
148
|
function V(r, o) {
|
|
149
|
-
return r.currentChar() === o ? (r.next(), o) : (O(
|
|
149
|
+
return r.currentChar() === o ? (r.next(), o) : (O(z.EXPECTED_TOKEN, a(), 0, o), "");
|
|
150
150
|
}
|
|
151
151
|
function A(r) {
|
|
152
152
|
let o = "";
|
|
153
|
-
for (; r.currentPeek() ===
|
|
153
|
+
for (; r.currentPeek() === Le || r.currentPeek() === be; )
|
|
154
154
|
o += r.currentPeek(), r.peek();
|
|
155
155
|
return o;
|
|
156
156
|
}
|
|
@@ -212,7 +212,7 @@ function As(e, t = {}) {
|
|
|
212
212
|
const U = i(r.currentPeek());
|
|
213
213
|
return r.resetPeek(), U;
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function Y(r, o) {
|
|
216
216
|
const { currentType: b } = o;
|
|
217
217
|
if (!(b === 7 || b === 11))
|
|
218
218
|
return !1;
|
|
@@ -220,25 +220,25 @@ function As(e, t = {}) {
|
|
|
220
220
|
const U = r.currentPeek() === ":";
|
|
221
221
|
return r.resetPeek(), U;
|
|
222
222
|
}
|
|
223
|
-
function
|
|
223
|
+
function h(r, o) {
|
|
224
224
|
const { currentType: b } = o;
|
|
225
225
|
if (b !== 9)
|
|
226
226
|
return !1;
|
|
227
227
|
const U = () => {
|
|
228
|
-
const
|
|
229
|
-
return
|
|
228
|
+
const X = r.currentPeek();
|
|
229
|
+
return X === "{" ? i(r.peek()) : X === "@" || X === "|" || X === ":" || X === "." || X === Le || !X ? !1 : X === be ? (r.peek(), U()) : C(r, !1);
|
|
230
230
|
}, re = U();
|
|
231
231
|
return r.resetPeek(), re;
|
|
232
232
|
}
|
|
233
|
-
function
|
|
233
|
+
function g(r) {
|
|
234
234
|
A(r);
|
|
235
235
|
const o = r.currentPeek() === "|";
|
|
236
236
|
return r.resetPeek(), o;
|
|
237
237
|
}
|
|
238
|
-
function
|
|
239
|
-
const b = (re = !1,
|
|
238
|
+
function C(r, o = !0) {
|
|
239
|
+
const b = (re = !1, X = "") => {
|
|
240
240
|
const f = r.currentPeek();
|
|
241
|
-
return f === "{" || f === "@" || !f ? re : f === "|" ? !(
|
|
241
|
+
return f === "{" || f === "@" || !f ? re : f === "|" ? !(X === Le || X === be) : f === Le ? (r.peek(), b(!0, Le)) : f === be ? (r.peek(), b(!0, be)) : !0;
|
|
242
242
|
}, U = b();
|
|
243
243
|
return o && r.resetPeek(), U;
|
|
244
244
|
}
|
|
@@ -266,7 +266,7 @@ function As(e, t = {}) {
|
|
|
266
266
|
o === 36 || // $
|
|
267
267
|
o === 45;
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function R(r) {
|
|
270
270
|
return E(r, N);
|
|
271
271
|
}
|
|
272
272
|
function v(r) {
|
|
@@ -291,17 +291,17 @@ function As(e, t = {}) {
|
|
|
291
291
|
b += o;
|
|
292
292
|
return b;
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function B(r) {
|
|
295
295
|
let o = "";
|
|
296
296
|
for (; ; ) {
|
|
297
297
|
const b = r.currentChar();
|
|
298
298
|
if (b === "{" || b === "}" || b === "@" || b === "|" || !b)
|
|
299
299
|
break;
|
|
300
|
-
if (b ===
|
|
301
|
-
if (
|
|
300
|
+
if (b === Le || b === be)
|
|
301
|
+
if (C(r))
|
|
302
302
|
o += b, r.next();
|
|
303
303
|
else {
|
|
304
|
-
if (
|
|
304
|
+
if (g(r))
|
|
305
305
|
break;
|
|
306
306
|
o += b, r.next();
|
|
307
307
|
}
|
|
@@ -310,28 +310,28 @@ function As(e, t = {}) {
|
|
|
310
310
|
}
|
|
311
311
|
return o;
|
|
312
312
|
}
|
|
313
|
-
function
|
|
313
|
+
function ge(r) {
|
|
314
314
|
M(r);
|
|
315
315
|
let o = "", b = "";
|
|
316
|
-
for (; o =
|
|
316
|
+
for (; o = R(r); )
|
|
317
317
|
b += o;
|
|
318
|
-
return r.currentChar() === Ae && O(
|
|
318
|
+
return r.currentChar() === Ae && O(z.UNTERMINATED_CLOSING_BRACE, a(), 0), b;
|
|
319
319
|
}
|
|
320
320
|
function fe(r) {
|
|
321
321
|
M(r);
|
|
322
322
|
let o = "";
|
|
323
|
-
return r.currentChar() === "-" ? (r.next(), o += `-${te(r)}`) : o += te(r), r.currentChar() === Ae && O(
|
|
323
|
+
return r.currentChar() === "-" ? (r.next(), o += `-${te(r)}`) : o += te(r), r.currentChar() === Ae && O(z.UNTERMINATED_CLOSING_BRACE, a(), 0), o;
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function H(r) {
|
|
326
326
|
return r !== nn && r !== be;
|
|
327
327
|
}
|
|
328
328
|
function Z(r) {
|
|
329
329
|
M(r), V(r, "'");
|
|
330
330
|
let o = "", b = "";
|
|
331
|
-
for (; o = E(r,
|
|
331
|
+
for (; o = E(r, H); )
|
|
332
332
|
o === "\\" ? b += Ie(r) : b += o;
|
|
333
333
|
const U = r.currentChar();
|
|
334
|
-
return U === be || U === Ae ? (O(
|
|
334
|
+
return U === be || U === Ae ? (O(z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), U === be && (r.next(), V(r, "'")), b) : (V(r, "'"), b);
|
|
335
335
|
}
|
|
336
336
|
function Ie(r) {
|
|
337
337
|
const o = r.currentChar();
|
|
@@ -340,33 +340,33 @@ function As(e, t = {}) {
|
|
|
340
340
|
case "'":
|
|
341
341
|
return r.next(), `\\${o}`;
|
|
342
342
|
case "u":
|
|
343
|
-
return
|
|
343
|
+
return $e(r, o, 4);
|
|
344
344
|
case "U":
|
|
345
|
-
return
|
|
345
|
+
return $e(r, o, 6);
|
|
346
346
|
default:
|
|
347
|
-
return O(
|
|
347
|
+
return O(z.UNKNOWN_ESCAPE_SEQUENCE, a(), 0, o), "";
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
|
-
function
|
|
350
|
+
function $e(r, o, b) {
|
|
351
351
|
V(r, o);
|
|
352
352
|
let U = "";
|
|
353
353
|
for (let re = 0; re < b; re++) {
|
|
354
|
-
const
|
|
355
|
-
if (!
|
|
356
|
-
O(
|
|
354
|
+
const X = j(r);
|
|
355
|
+
if (!X) {
|
|
356
|
+
O(z.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${U}${r.currentChar()}`);
|
|
357
357
|
break;
|
|
358
358
|
}
|
|
359
|
-
U +=
|
|
359
|
+
U += X;
|
|
360
360
|
}
|
|
361
361
|
return `\\${o}${U}`;
|
|
362
362
|
}
|
|
363
|
-
function
|
|
364
|
-
return r !== "{" && r !== "}" && r !==
|
|
363
|
+
function Je(r) {
|
|
364
|
+
return r !== "{" && r !== "}" && r !== Le && r !== be;
|
|
365
365
|
}
|
|
366
366
|
function Et(r) {
|
|
367
367
|
M(r);
|
|
368
368
|
let o = "", b = "";
|
|
369
|
-
for (; o = E(r,
|
|
369
|
+
for (; o = E(r, Je); )
|
|
370
370
|
b += o;
|
|
371
371
|
return b;
|
|
372
372
|
}
|
|
@@ -379,11 +379,11 @@ function As(e, t = {}) {
|
|
|
379
379
|
function yt(r) {
|
|
380
380
|
const o = (b) => {
|
|
381
381
|
const U = r.currentChar();
|
|
382
|
-
return U === "{" || U === "@" || U === "|" || U === "(" || U === ")" || !U || U ===
|
|
382
|
+
return U === "{" || U === "@" || U === "|" || U === "(" || U === ")" || !U || U === Le ? b : (b += U, r.next(), o(b));
|
|
383
383
|
};
|
|
384
384
|
return o("");
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function Ke(r) {
|
|
387
387
|
M(r);
|
|
388
388
|
const o = V(
|
|
389
389
|
r,
|
|
@@ -396,35 +396,35 @@ function As(e, t = {}) {
|
|
|
396
396
|
let b = null;
|
|
397
397
|
switch (r.currentChar()) {
|
|
398
398
|
case "{":
|
|
399
|
-
return o.braceNest >= 1 && O(
|
|
399
|
+
return o.braceNest >= 1 && O(z.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), r.next(), b = L(
|
|
400
400
|
o,
|
|
401
401
|
2,
|
|
402
402
|
"{"
|
|
403
403
|
/* TokenChars.BraceLeft */
|
|
404
404
|
), M(r), o.braceNest++, b;
|
|
405
405
|
case "}":
|
|
406
|
-
return o.braceNest > 0 && o.currentType === 2 && O(
|
|
406
|
+
return o.braceNest > 0 && o.currentType === 2 && O(z.EMPTY_PLACEHOLDER, a(), 0), r.next(), b = L(
|
|
407
407
|
o,
|
|
408
408
|
3,
|
|
409
409
|
"}"
|
|
410
410
|
/* TokenChars.BraceRight */
|
|
411
411
|
), o.braceNest--, o.braceNest > 0 && M(r), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), b;
|
|
412
412
|
case "@":
|
|
413
|
-
return o.braceNest > 0 && O(
|
|
413
|
+
return o.braceNest > 0 && O(z.UNTERMINATED_CLOSING_BRACE, a(), 0), b = Ve(r, o) || w(o), o.braceNest = 0, b;
|
|
414
414
|
default: {
|
|
415
|
-
let re = !0,
|
|
416
|
-
if (
|
|
417
|
-
return o.braceNest > 0 && O(
|
|
415
|
+
let re = !0, X = !0, f = !0;
|
|
416
|
+
if (g(r))
|
|
417
|
+
return o.braceNest > 0 && O(z.UNTERMINATED_CLOSING_BRACE, a(), 0), b = L(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, b;
|
|
418
418
|
if (o.braceNest > 0 && (o.currentType === 4 || o.currentType === 5 || o.currentType === 6))
|
|
419
|
-
return O(
|
|
419
|
+
return O(z.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0, ze(r, o);
|
|
420
420
|
if (re = T(r, o))
|
|
421
|
-
return b = L(o, 4,
|
|
422
|
-
if (
|
|
421
|
+
return b = L(o, 4, ge(r)), M(r), b;
|
|
422
|
+
if (X = _(r, o))
|
|
423
423
|
return b = L(o, 5, fe(r)), M(r), b;
|
|
424
424
|
if (f = D(r, o))
|
|
425
425
|
return b = L(o, 6, Z(r)), M(r), b;
|
|
426
|
-
if (!re && !
|
|
427
|
-
return b = L(o, 12, Et(r)), O(
|
|
426
|
+
if (!re && !X && !f)
|
|
427
|
+
return b = L(o, 12, Et(r)), O(z.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, b.value), M(r), b;
|
|
428
428
|
break;
|
|
429
429
|
}
|
|
430
430
|
}
|
|
@@ -434,7 +434,7 @@ function As(e, t = {}) {
|
|
|
434
434
|
const { currentType: b } = o;
|
|
435
435
|
let U = null;
|
|
436
436
|
const re = r.currentChar();
|
|
437
|
-
switch ((b === 7 || b === 8 || b === 11 || b === 9) && (re === be || re ===
|
|
437
|
+
switch ((b === 7 || b === 8 || b === 11 || b === 9) && (re === be || re === Le) && O(z.INVALID_LINKED_FORMAT, a(), 0), re) {
|
|
438
438
|
case "@":
|
|
439
439
|
return r.next(), U = L(
|
|
440
440
|
o,
|
|
@@ -457,10 +457,10 @@ function As(e, t = {}) {
|
|
|
457
457
|
/* TokenChars.LinkedDelimiter */
|
|
458
458
|
);
|
|
459
459
|
default:
|
|
460
|
-
return
|
|
460
|
+
return g(r) ? (U = L(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, U) : S(r, o) || Y(r, o) ? (M(r), Ve(r, o)) : I(r, o) ? (M(r), L(o, 11, Nt(r))) : h(r, o) ? (M(r), re === "{" ? Ue(r, o) || U : L(o, 10, yt(r))) : (b === 7 && O(z.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, ze(r, o));
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
|
-
function
|
|
463
|
+
function ze(r, o) {
|
|
464
464
|
let b = {
|
|
465
465
|
type: 13
|
|
466
466
|
/* TokenTypes.EOF */
|
|
@@ -473,7 +473,7 @@ function As(e, t = {}) {
|
|
|
473
473
|
case "{":
|
|
474
474
|
return Ue(r, o) || w(o);
|
|
475
475
|
case "}":
|
|
476
|
-
return O(
|
|
476
|
+
return O(z.UNBALANCED_CLOSING_BRACE, a(), 0), r.next(), L(
|
|
477
477
|
o,
|
|
478
478
|
3,
|
|
479
479
|
"}"
|
|
@@ -482,10 +482,10 @@ function As(e, t = {}) {
|
|
|
482
482
|
case "@":
|
|
483
483
|
return Ve(r, o) || w(o);
|
|
484
484
|
default: {
|
|
485
|
-
if (
|
|
486
|
-
return b = L(o, 1,
|
|
487
|
-
if (
|
|
488
|
-
return L(o, 0,
|
|
485
|
+
if (g(r))
|
|
486
|
+
return b = L(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, b;
|
|
487
|
+
if (C(r))
|
|
488
|
+
return L(o, 0, B(r));
|
|
489
489
|
break;
|
|
490
490
|
}
|
|
491
491
|
}
|
|
@@ -497,7 +497,7 @@ function As(e, t = {}) {
|
|
|
497
497
|
m,
|
|
498
498
|
13
|
|
499
499
|
/* TokenTypes.EOF */
|
|
500
|
-
) :
|
|
500
|
+
) : ze(s, m);
|
|
501
501
|
}
|
|
502
502
|
return {
|
|
503
503
|
nextToken: Tt,
|
|
@@ -524,11 +524,11 @@ function ws(e = {}) {
|
|
|
524
524
|
function s(i, d, T, _, ...D) {
|
|
525
525
|
const S = i.currentPosition();
|
|
526
526
|
if (S.offset += _, S.column += _, n) {
|
|
527
|
-
const I = t ? Dt(T, S) : null,
|
|
527
|
+
const I = t ? Dt(T, S) : null, Y = ht(d, I, {
|
|
528
528
|
domain: Ss,
|
|
529
529
|
args: D
|
|
530
530
|
});
|
|
531
|
-
n(
|
|
531
|
+
n(Y);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
function l(i, d, T) {
|
|
@@ -556,10 +556,10 @@ function ws(e = {}) {
|
|
|
556
556
|
}
|
|
557
557
|
function y(i) {
|
|
558
558
|
const d = i.nextToken(), T = i.context(), { lastOffset: _, lastStartLoc: D } = T, S = l(8, _, D);
|
|
559
|
-
return d.type !== 11 ? (s(i,
|
|
559
|
+
return d.type !== 11 ? (s(i, z.UNEXPECTED_EMPTY_LINKED_MODIFIER, T.lastStartLoc, 0), S.value = "", a(S, _, D), {
|
|
560
560
|
nextConsumeToken: d,
|
|
561
561
|
node: S
|
|
562
|
-
}) : (d.value == null && s(i,
|
|
562
|
+
}) : (d.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, ye(d)), S.value = d.value || "", a(S, i.currentOffset(), i.currentPosition()), {
|
|
563
563
|
node: S
|
|
564
564
|
});
|
|
565
565
|
}
|
|
@@ -574,21 +574,21 @@ function ws(e = {}) {
|
|
|
574
574
|
const D = y(i);
|
|
575
575
|
T.modifier = D.node, _ = D.nextConsumeToken || i.nextToken();
|
|
576
576
|
}
|
|
577
|
-
switch (_.type !== 9 && s(i,
|
|
577
|
+
switch (_.type !== 9 && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ye(_)), _ = i.nextToken(), _.type === 2 && (_ = i.nextToken()), _.type) {
|
|
578
578
|
case 10:
|
|
579
|
-
_.value == null && s(i,
|
|
579
|
+
_.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ye(_)), T.key = O(i, _.value || "");
|
|
580
580
|
break;
|
|
581
581
|
case 4:
|
|
582
|
-
_.value == null && s(i,
|
|
582
|
+
_.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ye(_)), T.key = m(i, _.value || "");
|
|
583
583
|
break;
|
|
584
584
|
case 5:
|
|
585
|
-
_.value == null && s(i,
|
|
585
|
+
_.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ye(_)), T.key = u(i, _.value || "");
|
|
586
586
|
break;
|
|
587
587
|
case 6:
|
|
588
|
-
_.value == null && s(i,
|
|
588
|
+
_.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ye(_)), T.key = p(i, _.value || "");
|
|
589
589
|
break;
|
|
590
590
|
default: {
|
|
591
|
-
s(i,
|
|
591
|
+
s(i, z.UNEXPECTED_EMPTY_LINKED_KEY, d.lastStartLoc, 0);
|
|
592
592
|
const D = i.context(), S = l(7, D.offset, D.startLoc);
|
|
593
593
|
return S.value = "", a(S, D.offset, D.startLoc), T.key = S, a(T, D.offset, D.startLoc), {
|
|
594
594
|
nextConsumeToken: _,
|
|
@@ -605,29 +605,29 @@ function ws(e = {}) {
|
|
|
605
605
|
D.items = [];
|
|
606
606
|
let S = null;
|
|
607
607
|
do {
|
|
608
|
-
const
|
|
609
|
-
switch (S = null,
|
|
608
|
+
const h = S || i.nextToken();
|
|
609
|
+
switch (S = null, h.type) {
|
|
610
610
|
case 0:
|
|
611
|
-
|
|
611
|
+
h.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ye(h)), D.items.push(c(i, h.value || ""));
|
|
612
612
|
break;
|
|
613
613
|
case 5:
|
|
614
|
-
|
|
614
|
+
h.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ye(h)), D.items.push(u(i, h.value || ""));
|
|
615
615
|
break;
|
|
616
616
|
case 4:
|
|
617
|
-
|
|
617
|
+
h.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ye(h)), D.items.push(m(i, h.value || ""));
|
|
618
618
|
break;
|
|
619
619
|
case 6:
|
|
620
|
-
|
|
620
|
+
h.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ye(h)), D.items.push(p(i, h.value || ""));
|
|
621
621
|
break;
|
|
622
622
|
case 7: {
|
|
623
|
-
const
|
|
624
|
-
D.items.push(
|
|
623
|
+
const g = L(i);
|
|
624
|
+
D.items.push(g.node), S = g.nextConsumeToken || null;
|
|
625
625
|
break;
|
|
626
626
|
}
|
|
627
627
|
}
|
|
628
628
|
} while (d.currentType !== 13 && d.currentType !== 1);
|
|
629
|
-
const I = d.currentType === 1 ? d.lastOffset : i.currentOffset(),
|
|
630
|
-
return a(D, I,
|
|
629
|
+
const I = d.currentType === 1 ? d.lastOffset : i.currentOffset(), Y = d.currentType === 1 ? d.lastEndLoc : i.currentPosition();
|
|
630
|
+
return a(D, I, Y), D;
|
|
631
631
|
}
|
|
632
632
|
function V(i, d, T, _) {
|
|
633
633
|
const D = i.context();
|
|
@@ -635,10 +635,10 @@ function ws(e = {}) {
|
|
|
635
635
|
const I = l(1, d, T);
|
|
636
636
|
I.cases = [], I.cases.push(_);
|
|
637
637
|
do {
|
|
638
|
-
const
|
|
639
|
-
S || (S =
|
|
638
|
+
const Y = w(i);
|
|
639
|
+
S || (S = Y.items.length === 0), I.cases.push(Y);
|
|
640
640
|
} while (D.currentType !== 13);
|
|
641
|
-
return S && s(i,
|
|
641
|
+
return S && s(i, z.MUST_HAVE_MESSAGES_IN_PLURAL, T, 0), a(I, i.currentOffset(), i.currentPosition()), I;
|
|
642
642
|
}
|
|
643
643
|
function A(i) {
|
|
644
644
|
const d = i.context(), { offset: T, startLoc: _ } = d, D = w(i);
|
|
@@ -646,7 +646,7 @@ function ws(e = {}) {
|
|
|
646
646
|
}
|
|
647
647
|
function M(i) {
|
|
648
648
|
const d = As(i, de({}, e)), T = d.context(), _ = l(0, T.offset, T.startLoc);
|
|
649
|
-
return t && _.loc && (_.loc.source = i), _.body = A(d), e.onCacheKey && (_.cacheKey = e.onCacheKey(i)), T.currentType !== 13 && s(d,
|
|
649
|
+
return t && _.loc && (_.loc.source = i), _.body = A(d), e.onCacheKey && (_.cacheKey = e.onCacheKey(i)), T.currentType !== 13 && s(d, z.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, i[T.offset] || ""), a(_, d.currentOffset(), d.currentPosition()), _;
|
|
650
650
|
}
|
|
651
651
|
return { parse: M };
|
|
652
652
|
}
|
|
@@ -665,9 +665,9 @@ function Ps(e, t = {}) {
|
|
|
665
665
|
}
|
|
666
666
|
function sn(e, t) {
|
|
667
667
|
for (let n = 0; n < e.length; n++)
|
|
668
|
-
|
|
668
|
+
Bt(e[n], t);
|
|
669
669
|
}
|
|
670
|
-
function
|
|
670
|
+
function Bt(e, t) {
|
|
671
671
|
switch (e.type) {
|
|
672
672
|
case 1:
|
|
673
673
|
sn(e.cases, t), t.helper(
|
|
@@ -679,7 +679,7 @@ function Ht(e, t) {
|
|
|
679
679
|
sn(e.items, t);
|
|
680
680
|
break;
|
|
681
681
|
case 6: {
|
|
682
|
-
|
|
682
|
+
Bt(e.key, t), t.helper(
|
|
683
683
|
"linked"
|
|
684
684
|
/* HelperNameMap.LINKED */
|
|
685
685
|
), t.helper(
|
|
@@ -713,7 +713,7 @@ function Fs(e, t = {}) {
|
|
|
713
713
|
n.helper(
|
|
714
714
|
"normalize"
|
|
715
715
|
/* HelperNameMap.NORMALIZE */
|
|
716
|
-
), e.body &&
|
|
716
|
+
), e.body && Bt(e.body, n);
|
|
717
717
|
const s = n.context();
|
|
718
718
|
e.helpers = Array.from(s.helpers);
|
|
719
719
|
}
|
|
@@ -734,7 +734,7 @@ function an(e) {
|
|
|
734
734
|
t.push(s.value);
|
|
735
735
|
}
|
|
736
736
|
if (t.length === e.items.length) {
|
|
737
|
-
e.static =
|
|
737
|
+
e.static = Yt(t);
|
|
738
738
|
for (let n = 0; n < e.items.length; n++) {
|
|
739
739
|
const s = e.items[n];
|
|
740
740
|
(s.type === 3 || s.type === 9) && delete s.value;
|
|
@@ -836,7 +836,7 @@ function Vs(e, t) {
|
|
|
836
836
|
e.push(`${n(
|
|
837
837
|
"linked"
|
|
838
838
|
/* HelperNameMap.LINKED */
|
|
839
|
-
)}(`),
|
|
839
|
+
)}(`), Xe(e, t.key), t.modifier ? (e.push(", "), Xe(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
|
|
840
840
|
}
|
|
841
841
|
function Gs(e, t) {
|
|
842
842
|
const { helper: n, needIndent: s } = e;
|
|
@@ -845,7 +845,7 @@ function Gs(e, t) {
|
|
|
845
845
|
/* HelperNameMap.NORMALIZE */
|
|
846
846
|
)}([`), e.indent(s());
|
|
847
847
|
const l = t.items.length;
|
|
848
|
-
for (let a = 0; a < l && (
|
|
848
|
+
for (let a = 0; a < l && (Xe(e, t.items[a]), a !== l - 1); a++)
|
|
849
849
|
e.push(", ");
|
|
850
850
|
e.deindent(s()), e.push("])");
|
|
851
851
|
}
|
|
@@ -857,15 +857,15 @@ function Ws(e, t) {
|
|
|
857
857
|
/* HelperNameMap.PLURAL */
|
|
858
858
|
)}([`), e.indent(s());
|
|
859
859
|
const l = t.cases.length;
|
|
860
|
-
for (let a = 0; a < l && (
|
|
860
|
+
for (let a = 0; a < l && (Xe(e, t.cases[a]), a !== l - 1); a++)
|
|
861
861
|
e.push(", ");
|
|
862
862
|
e.deindent(s()), e.push("])");
|
|
863
863
|
}
|
|
864
864
|
}
|
|
865
865
|
function xs(e, t) {
|
|
866
|
-
t.body ?
|
|
866
|
+
t.body ? Xe(e, t.body) : e.push("null");
|
|
867
867
|
}
|
|
868
|
-
function
|
|
868
|
+
function Xe(e, t) {
|
|
869
869
|
const { helper: n } = e;
|
|
870
870
|
switch (t.type) {
|
|
871
871
|
case 0:
|
|
@@ -921,7 +921,7 @@ const Zs = (e, t = {}) => {
|
|
|
921
921
|
breakLineCode: l,
|
|
922
922
|
needIndent: a
|
|
923
923
|
});
|
|
924
|
-
u.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), u.indent(a), c.length > 0 && (u.push(`const { ${
|
|
924
|
+
u.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), u.indent(a), c.length > 0 && (u.push(`const { ${Yt(c.map((y) => `${y}: _${y}`), ", ")} } = ctx`), u.newline()), u.push("return "), Xe(u, e), u.deindent(a), u.push("}"), delete e.helpers;
|
|
925
925
|
const { code: m, map: p } = u.context();
|
|
926
926
|
return {
|
|
927
927
|
ast: e,
|
|
@@ -930,26 +930,26 @@ const Zs = (e, t = {}) => {
|
|
|
930
930
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
931
931
|
};
|
|
932
932
|
};
|
|
933
|
-
function
|
|
933
|
+
function Xs(e, t = {}) {
|
|
934
934
|
const n = de({}, t), s = !!n.jit, l = !!n.minify, a = n.optimize == null ? !0 : n.optimize, u = ws(n).parse(e);
|
|
935
935
|
return s ? (a && js(u), l && We(u), { ast: u, code: "" }) : (Fs(u, n), Zs(u, n));
|
|
936
936
|
}
|
|
937
|
-
var
|
|
938
|
-
function
|
|
937
|
+
var Ys = { env: { NODE_ENV: "production" } };
|
|
938
|
+
function Bs() {
|
|
939
939
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Fe().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Fe().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
940
940
|
}
|
|
941
|
-
function
|
|
942
|
-
return (n) =>
|
|
941
|
+
function Ct(e) {
|
|
942
|
+
return (n) => Hs(n, e);
|
|
943
943
|
}
|
|
944
|
-
function
|
|
944
|
+
function Hs(e, t) {
|
|
945
945
|
const n = Js(t);
|
|
946
946
|
if (n == null)
|
|
947
|
-
throw
|
|
947
|
+
throw et(
|
|
948
948
|
0
|
|
949
949
|
/* NodeTypes.Resource */
|
|
950
950
|
);
|
|
951
|
-
if (
|
|
952
|
-
const a =
|
|
951
|
+
if (Ht(n) === 1) {
|
|
952
|
+
const a = zs(n);
|
|
953
953
|
return e.plural(a.reduce((c, u) => [
|
|
954
954
|
...c,
|
|
955
955
|
rn(e, u)
|
|
@@ -962,7 +962,7 @@ function Js(e) {
|
|
|
962
962
|
return De(e, $s);
|
|
963
963
|
}
|
|
964
964
|
const Ks = ["c", "cases"];
|
|
965
|
-
function
|
|
965
|
+
function zs(e) {
|
|
966
966
|
return De(e, Ks, []);
|
|
967
967
|
}
|
|
968
968
|
function rn(e, t) {
|
|
@@ -974,28 +974,28 @@ function rn(e, t) {
|
|
|
974
974
|
return e.normalize(s);
|
|
975
975
|
}
|
|
976
976
|
}
|
|
977
|
-
const
|
|
977
|
+
const Qs = ["s", "static"];
|
|
978
978
|
function qs(e) {
|
|
979
|
-
return De(e,
|
|
979
|
+
return De(e, Qs);
|
|
980
980
|
}
|
|
981
981
|
const ea = ["i", "items"];
|
|
982
982
|
function ta(e) {
|
|
983
983
|
return De(e, ea, []);
|
|
984
984
|
}
|
|
985
985
|
function wt(e, t) {
|
|
986
|
-
const n =
|
|
986
|
+
const n = Ht(t);
|
|
987
987
|
switch (n) {
|
|
988
988
|
case 3:
|
|
989
|
-
return
|
|
989
|
+
return ot(t, n);
|
|
990
990
|
case 9:
|
|
991
|
-
return
|
|
991
|
+
return ot(t, n);
|
|
992
992
|
case 4: {
|
|
993
993
|
const s = t;
|
|
994
994
|
if (Ne(s, "k") && s.k)
|
|
995
995
|
return e.interpolate(e.named(s.k));
|
|
996
996
|
if (Ne(s, "key") && s.key)
|
|
997
997
|
return e.interpolate(e.named(s.key));
|
|
998
|
-
throw
|
|
998
|
+
throw et(n);
|
|
999
999
|
}
|
|
1000
1000
|
case 5: {
|
|
1001
1001
|
const s = t;
|
|
@@ -1003,30 +1003,30 @@ function wt(e, t) {
|
|
|
1003
1003
|
return e.interpolate(e.list(s.i));
|
|
1004
1004
|
if (Ne(s, "index") && me(s.index))
|
|
1005
1005
|
return e.interpolate(e.list(s.index));
|
|
1006
|
-
throw
|
|
1006
|
+
throw et(n);
|
|
1007
1007
|
}
|
|
1008
1008
|
case 6: {
|
|
1009
1009
|
const s = t, l = ra(s), a = oa(s);
|
|
1010
1010
|
return e.linked(wt(e, a), l ? wt(e, l) : void 0, e.type);
|
|
1011
1011
|
}
|
|
1012
1012
|
case 7:
|
|
1013
|
-
return
|
|
1013
|
+
return ot(t, n);
|
|
1014
1014
|
case 8:
|
|
1015
|
-
return
|
|
1015
|
+
return ot(t, n);
|
|
1016
1016
|
default:
|
|
1017
1017
|
throw new Error(`unhandled node on format message part: ${n}`);
|
|
1018
1018
|
}
|
|
1019
1019
|
}
|
|
1020
1020
|
const na = ["t", "type"];
|
|
1021
|
-
function
|
|
1021
|
+
function Ht(e) {
|
|
1022
1022
|
return De(e, na);
|
|
1023
1023
|
}
|
|
1024
1024
|
const sa = ["v", "value"];
|
|
1025
|
-
function
|
|
1025
|
+
function ot(e, t) {
|
|
1026
1026
|
const n = De(e, sa);
|
|
1027
1027
|
if (n)
|
|
1028
1028
|
return n;
|
|
1029
|
-
throw
|
|
1029
|
+
throw et(t);
|
|
1030
1030
|
}
|
|
1031
1031
|
const aa = ["m", "modifier"];
|
|
1032
1032
|
function ra(e) {
|
|
@@ -1037,7 +1037,7 @@ function oa(e) {
|
|
|
1037
1037
|
const t = De(e, la);
|
|
1038
1038
|
if (t)
|
|
1039
1039
|
return t;
|
|
1040
|
-
throw
|
|
1040
|
+
throw et(
|
|
1041
1041
|
6
|
|
1042
1042
|
/* NodeTypes.Linked */
|
|
1043
1043
|
);
|
|
@@ -1050,49 +1050,49 @@ function De(e, t, n) {
|
|
|
1050
1050
|
}
|
|
1051
1051
|
return n;
|
|
1052
1052
|
}
|
|
1053
|
-
function
|
|
1053
|
+
function et(e) {
|
|
1054
1054
|
return new Error(`unhandled node type: ${e}`);
|
|
1055
1055
|
}
|
|
1056
1056
|
const ia = (e) => e;
|
|
1057
|
-
let
|
|
1057
|
+
let it = ee();
|
|
1058
1058
|
function Ye(e) {
|
|
1059
|
-
return K(e) &&
|
|
1059
|
+
return K(e) && Ht(e) === 0 && (Ne(e, "b") || Ne(e, "body"));
|
|
1060
1060
|
}
|
|
1061
1061
|
function ca(e, t = {}) {
|
|
1062
1062
|
let n = !1;
|
|
1063
1063
|
const s = t.onError || ys;
|
|
1064
1064
|
return t.onError = (l) => {
|
|
1065
1065
|
n = !0, s(l);
|
|
1066
|
-
}, { ...
|
|
1066
|
+
}, { ...Xs(e, t), detectError: n };
|
|
1067
1067
|
}
|
|
1068
1068
|
// @__NO_SIDE_EFFECTS__
|
|
1069
1069
|
function ua(e, t) {
|
|
1070
1070
|
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && P(e)) {
|
|
1071
1071
|
ie(t.warnHtmlMessage) && t.warnHtmlMessage;
|
|
1072
|
-
const s = (t.onCacheKey || ia)(e), l =
|
|
1072
|
+
const s = (t.onCacheKey || ia)(e), l = it[s];
|
|
1073
1073
|
if (l)
|
|
1074
1074
|
return l;
|
|
1075
1075
|
const { ast: a, detectError: c } = ca(e, {
|
|
1076
1076
|
...t,
|
|
1077
|
-
location:
|
|
1077
|
+
location: Ys.env.NODE_ENV !== "production",
|
|
1078
1078
|
jit: !0
|
|
1079
|
-
}), u =
|
|
1080
|
-
return c ? u :
|
|
1079
|
+
}), u = Ct(a);
|
|
1080
|
+
return c ? u : it[s] = u;
|
|
1081
1081
|
} else {
|
|
1082
1082
|
const n = e.cacheKey;
|
|
1083
1083
|
if (n) {
|
|
1084
|
-
const s =
|
|
1085
|
-
return s || (
|
|
1084
|
+
const s = it[n];
|
|
1085
|
+
return s || (it[n] = Ct(e));
|
|
1086
1086
|
} else
|
|
1087
|
-
return
|
|
1087
|
+
return Ct(e);
|
|
1088
1088
|
}
|
|
1089
1089
|
}
|
|
1090
|
-
let
|
|
1090
|
+
let tt = null;
|
|
1091
1091
|
function ma(e) {
|
|
1092
|
-
|
|
1092
|
+
tt = e;
|
|
1093
1093
|
}
|
|
1094
1094
|
function da(e, t, n) {
|
|
1095
|
-
|
|
1095
|
+
tt && tt.emit("i18n:init", {
|
|
1096
1096
|
timestamp: Date.now(),
|
|
1097
1097
|
i18n: e,
|
|
1098
1098
|
version: t,
|
|
@@ -1101,9 +1101,9 @@ function da(e, t, n) {
|
|
|
1101
1101
|
}
|
|
1102
1102
|
const fa = /* @__PURE__ */ _a("function:translate");
|
|
1103
1103
|
function _a(e) {
|
|
1104
|
-
return (t) =>
|
|
1104
|
+
return (t) => tt && tt.emit(e, t);
|
|
1105
1105
|
}
|
|
1106
|
-
const
|
|
1106
|
+
const Ce = {
|
|
1107
1107
|
INVALID_ARGUMENT: Ns,
|
|
1108
1108
|
// 17
|
|
1109
1109
|
INVALID_DATE_ARGUMENT: 18,
|
|
@@ -1112,28 +1112,28 @@ const Re = {
|
|
|
1112
1112
|
NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
|
|
1113
1113
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
1114
1114
|
}, pa = 24;
|
|
1115
|
-
function
|
|
1116
|
-
return
|
|
1115
|
+
function Re(e) {
|
|
1116
|
+
return ht(e, null, void 0);
|
|
1117
1117
|
}
|
|
1118
1118
|
function $t(e, t) {
|
|
1119
1119
|
return t.locale != null ? ln(t.locale) : ln(e.locale);
|
|
1120
1120
|
}
|
|
1121
|
-
let
|
|
1121
|
+
let Rt;
|
|
1122
1122
|
function ln(e) {
|
|
1123
1123
|
if (P(e))
|
|
1124
1124
|
return e;
|
|
1125
|
-
if (
|
|
1126
|
-
if (e.resolvedOnce &&
|
|
1127
|
-
return
|
|
1125
|
+
if (ae(e)) {
|
|
1126
|
+
if (e.resolvedOnce && Rt != null)
|
|
1127
|
+
return Rt;
|
|
1128
1128
|
if (e.constructor.name === "Function") {
|
|
1129
1129
|
const t = e();
|
|
1130
|
-
if (
|
|
1131
|
-
throw Ce
|
|
1132
|
-
return
|
|
1130
|
+
if (hs(t))
|
|
1131
|
+
throw Re(Ce.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
1132
|
+
return Rt = t;
|
|
1133
1133
|
} else
|
|
1134
|
-
throw Ce
|
|
1134
|
+
throw Re(Ce.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
|
|
1135
1135
|
} else
|
|
1136
|
-
throw Ce
|
|
1136
|
+
throw Re(Ce.NOT_SUPPORT_LOCALE_TYPE);
|
|
1137
1137
|
}
|
|
1138
1138
|
function ba(e, t, n) {
|
|
1139
1139
|
return [.../* @__PURE__ */ new Set([
|
|
@@ -1159,20 +1159,20 @@ function on(e, t, n) {
|
|
|
1159
1159
|
let s = !0;
|
|
1160
1160
|
for (let l = 0; l < t.length && ie(s); l++) {
|
|
1161
1161
|
const a = t[l];
|
|
1162
|
-
P(a) && (s =
|
|
1162
|
+
P(a) && (s = ga(e, t[l], n));
|
|
1163
1163
|
}
|
|
1164
1164
|
return s;
|
|
1165
1165
|
}
|
|
1166
|
-
function
|
|
1166
|
+
function ga(e, t, n) {
|
|
1167
1167
|
let s;
|
|
1168
1168
|
const l = t.split("-");
|
|
1169
1169
|
do {
|
|
1170
1170
|
const a = l.join("-");
|
|
1171
|
-
s =
|
|
1171
|
+
s = ha(e, a, n), l.splice(-1, 1);
|
|
1172
1172
|
} while (l.length && s === !0);
|
|
1173
1173
|
return s;
|
|
1174
1174
|
}
|
|
1175
|
-
function
|
|
1175
|
+
function ha(e, t, n) {
|
|
1176
1176
|
let s = !1;
|
|
1177
1177
|
if (!e.includes(t) && (s = !0, t)) {
|
|
1178
1178
|
s = t[t.length - 1] !== "!";
|
|
@@ -1449,14 +1449,14 @@ function La(e, t) {
|
|
|
1449
1449
|
let l = e, a = 0;
|
|
1450
1450
|
for (; a < s; ) {
|
|
1451
1451
|
const c = l[n[a]];
|
|
1452
|
-
if (c === void 0 ||
|
|
1452
|
+
if (c === void 0 || ae(l))
|
|
1453
1453
|
return null;
|
|
1454
1454
|
l = c, a++;
|
|
1455
1455
|
}
|
|
1456
1456
|
return l;
|
|
1457
1457
|
}
|
|
1458
1458
|
const Oa = "10.0.5", vt = -1, pt = "en-US", un = "", mn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1459
|
-
function
|
|
1459
|
+
function Ca() {
|
|
1460
1460
|
return {
|
|
1461
1461
|
upper: (e, t) => t === "text" && P(e) ? e.toUpperCase() : t === "vnode" && K(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1462
1462
|
lower: (e, t) => t === "text" && P(e) ? e.toLowerCase() : t === "vnode" && K(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
@@ -1464,7 +1464,7 @@ function Ra() {
|
|
|
1464
1464
|
};
|
|
1465
1465
|
}
|
|
1466
1466
|
let Dn;
|
|
1467
|
-
function
|
|
1467
|
+
function Ra(e) {
|
|
1468
1468
|
Dn = e;
|
|
1469
1469
|
}
|
|
1470
1470
|
let wn;
|
|
@@ -1485,7 +1485,7 @@ const dn = (e) => {
|
|
|
1485
1485
|
}, wa = () => jn;
|
|
1486
1486
|
let fn = 0;
|
|
1487
1487
|
function Pa(e = {}) {
|
|
1488
|
-
const t =
|
|
1488
|
+
const t = ae(e.onWarn) ? e.onWarn : Is, n = P(e.version) ? e.version : Oa, s = P(e.locale) || ae(e.locale) ? e.locale : pt, l = ae(s) ? pt : s, a = ce(e.fallbackLocale) || J(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = J(e.messages) ? e.messages : At(l), u = J(e.datetimeFormats) ? e.datetimeFormats : At(l), m = J(e.numberFormats) ? e.numberFormats : At(l), p = de(ee(), e.modifiers, Ca()), y = e.pluralRules || ee(), O = ae(e.missing) ? e.missing : null, L = ie(e.missingWarn) || _t(e.missingWarn) ? e.missingWarn : !0, w = ie(e.fallbackWarn) || _t(e.fallbackWarn) ? e.fallbackWarn : !0, V = !!e.fallbackFormat, A = !!e.unresolving, M = ae(e.postTranslation) ? e.postTranslation : null, i = J(e.processor) ? e.processor : null, d = ie(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, T = !!e.escapeParameter, _ = ae(e.messageCompiler) ? e.messageCompiler : Dn, D = ae(e.messageResolver) ? e.messageResolver : wn || ka, S = ae(e.localeFallbacker) ? e.localeFallbacker : Pn || ba, I = K(e.fallbackContext) ? e.fallbackContext : void 0, Y = e, h = K(Y.__datetimeFormatters) ? Y.__datetimeFormatters : /* @__PURE__ */ new Map(), g = K(Y.__numberFormatters) ? Y.__numberFormatters : /* @__PURE__ */ new Map(), C = K(Y.__meta) ? Y.__meta : {};
|
|
1489
1489
|
fn++;
|
|
1490
1490
|
const E = {
|
|
1491
1491
|
version: n,
|
|
@@ -1509,9 +1509,9 @@ function Pa(e = {}) {
|
|
|
1509
1509
|
localeFallbacker: S,
|
|
1510
1510
|
fallbackContext: I,
|
|
1511
1511
|
onWarn: t,
|
|
1512
|
-
__meta:
|
|
1512
|
+
__meta: C
|
|
1513
1513
|
};
|
|
1514
|
-
return E.datetimeFormats = u, E.numberFormats = m, E.__datetimeFormatters =
|
|
1514
|
+
return E.datetimeFormats = u, E.numberFormats = m, E.__datetimeFormatters = h, E.__numberFormatters = g, __INTLIFY_PROD_DEVTOOLS__ && da(E, n, C), E;
|
|
1515
1515
|
}
|
|
1516
1516
|
const At = (e) => ({ [e]: ee() });
|
|
1517
1517
|
function Jt(e, t, n, s, l) {
|
|
@@ -1556,7 +1556,7 @@ function _n(e, ...t) {
|
|
|
1556
1556
|
if (!J(d) || !P(i))
|
|
1557
1557
|
return s ? vt : m;
|
|
1558
1558
|
let _ = `${i}__${m}`;
|
|
1559
|
-
|
|
1559
|
+
gt(O) || (_ = `${_}__${JSON.stringify(O)}`);
|
|
1560
1560
|
let D = u.get(_);
|
|
1561
1561
|
return D || (D = new Intl.DateTimeFormat(i, de({}, d, O)), u.set(_, D)), w ? D.formatToParts(p) : D.format(p);
|
|
1562
1562
|
}
|
|
@@ -1588,22 +1588,22 @@ function Pt(...e) {
|
|
|
1588
1588
|
if (P(t)) {
|
|
1589
1589
|
const m = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
1590
1590
|
if (!m)
|
|
1591
|
-
throw Ce
|
|
1591
|
+
throw Re(Ce.INVALID_ISO_DATE_ARGUMENT);
|
|
1592
1592
|
const p = m[3] ? m[3].trim().startsWith("T") ? `${m[1].trim()}${m[3].trim()}` : `${m[1].trim()}T${m[3].trim()}` : m[1].trim();
|
|
1593
1593
|
u = new Date(p);
|
|
1594
1594
|
try {
|
|
1595
1595
|
u.toISOString();
|
|
1596
1596
|
} catch {
|
|
1597
|
-
throw Ce
|
|
1597
|
+
throw Re(Ce.INVALID_ISO_DATE_ARGUMENT);
|
|
1598
1598
|
}
|
|
1599
1599
|
} else if (ps(t)) {
|
|
1600
1600
|
if (isNaN(t.getTime()))
|
|
1601
|
-
throw Ce
|
|
1601
|
+
throw Re(Ce.INVALID_DATE_ARGUMENT);
|
|
1602
1602
|
u = t;
|
|
1603
1603
|
} else if (me(t))
|
|
1604
1604
|
u = t;
|
|
1605
1605
|
else
|
|
1606
|
-
throw Ce
|
|
1606
|
+
throw Re(Ce.INVALID_ARGUMENT);
|
|
1607
1607
|
return P(n) ? a.key = n : J(n) && Object.keys(n).forEach((m) => {
|
|
1608
1608
|
Un.includes(m) ? c[m] = n[m] : a[m] = n[m];
|
|
1609
1609
|
}), P(s) ? a.locale = s : J(s) && (c = s), J(l) && (c = l), [a.key || "", u, a, c];
|
|
@@ -1633,7 +1633,7 @@ function bn(e, ...t) {
|
|
|
1633
1633
|
if (!J(d) || !P(i))
|
|
1634
1634
|
return s ? vt : m;
|
|
1635
1635
|
let _ = `${i}__${m}`;
|
|
1636
|
-
|
|
1636
|
+
gt(O) || (_ = `${_}__${JSON.stringify(O)}`);
|
|
1637
1637
|
let D = u.get(_);
|
|
1638
1638
|
return D || (D = new Intl.NumberFormat(i, de({}, d, O)), u.set(_, D)), w ? D.formatToParts(p) : D.format(p);
|
|
1639
1639
|
}
|
|
@@ -1663,39 +1663,39 @@ function Ft(...e) {
|
|
|
1663
1663
|
const [t, n, s, l] = e, a = ee();
|
|
1664
1664
|
let c = ee();
|
|
1665
1665
|
if (!me(t))
|
|
1666
|
-
throw Ce
|
|
1666
|
+
throw Re(Ce.INVALID_ARGUMENT);
|
|
1667
1667
|
const u = t;
|
|
1668
1668
|
return P(n) ? a.key = n : J(n) && Object.keys(n).forEach((m) => {
|
|
1669
1669
|
Vn.includes(m) ? c[m] = n[m] : a[m] = n[m];
|
|
1670
1670
|
}), P(s) ? a.locale = s : J(s) && (c = s), J(l) && (c = l), [a.key || "", u, a, c];
|
|
1671
1671
|
}
|
|
1672
|
-
function
|
|
1672
|
+
function gn(e, t, n) {
|
|
1673
1673
|
const s = e;
|
|
1674
1674
|
for (const l in n) {
|
|
1675
1675
|
const a = `${t}__${l}`;
|
|
1676
1676
|
s.__numberFormatters.has(a) && s.__numberFormatters.delete(a);
|
|
1677
1677
|
}
|
|
1678
1678
|
}
|
|
1679
|
-
const Ua = (e) => e, Va = (e) => "", Ga = "text", Wa = (e) => e.length === 0 ? "" :
|
|
1680
|
-
function
|
|
1679
|
+
const Ua = (e) => e, Va = (e) => "", Ga = "text", Wa = (e) => e.length === 0 ? "" : Yt(e), xa = vs;
|
|
1680
|
+
function hn(e, t) {
|
|
1681
1681
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1682
1682
|
}
|
|
1683
1683
|
function Za(e) {
|
|
1684
1684
|
const t = me(e.pluralIndex) ? e.pluralIndex : -1;
|
|
1685
1685
|
return e.named && (me(e.named.count) || me(e.named.n)) ? me(e.named.count) ? e.named.count : me(e.named.n) ? e.named.n : t : t;
|
|
1686
1686
|
}
|
|
1687
|
-
function
|
|
1687
|
+
function Xa(e, t) {
|
|
1688
1688
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1689
1689
|
}
|
|
1690
|
-
function
|
|
1691
|
-
const t = e.locale, n = Za(e), s = K(e.pluralRules) && P(t) &&
|
|
1692
|
-
me(e.pluralIndex) &&
|
|
1690
|
+
function Ya(e = {}) {
|
|
1691
|
+
const t = e.locale, n = Za(e), s = K(e.pluralRules) && P(t) && ae(e.pluralRules[t]) ? e.pluralRules[t] : hn, l = K(e.pluralRules) && P(t) && ae(e.pluralRules[t]) ? hn : void 0, a = (i) => i[s(n, i.length, l)], c = e.list || [], u = (i) => c[i], m = e.named || ee();
|
|
1692
|
+
me(e.pluralIndex) && Xa(n, m);
|
|
1693
1693
|
const p = (i) => m[i];
|
|
1694
1694
|
function y(i, d) {
|
|
1695
|
-
const T =
|
|
1695
|
+
const T = ae(e.messages) ? e.messages(i, !!d) : K(e.messages) ? e.messages[i] : !1;
|
|
1696
1696
|
return T || (e.parent ? e.parent.message(i) : Va);
|
|
1697
1697
|
}
|
|
1698
|
-
const O = (i) => e.modifiers ? e.modifiers[i] : Ua, L = J(e.processor) &&
|
|
1698
|
+
const O = (i) => e.modifiers ? e.modifiers[i] : Ua, L = J(e.processor) && ae(e.processor.normalize) ? e.processor.normalize : Wa, w = J(e.processor) && ae(e.processor.interpolate) ? e.processor.interpolate : xa, V = J(e.processor) && P(e.processor.type) ? e.processor.type : Ga, M = {
|
|
1699
1699
|
list: u,
|
|
1700
1700
|
named: p,
|
|
1701
1701
|
plural: a,
|
|
@@ -1703,11 +1703,11 @@ function Xa(e = {}) {
|
|
|
1703
1703
|
const [T, _] = d;
|
|
1704
1704
|
let D = "text", S = "";
|
|
1705
1705
|
d.length === 1 ? K(T) ? (S = T.modifier || S, D = T.type || D) : P(T) && (S = T || S) : d.length === 2 && (P(T) && (S = T || S), P(_) && (D = _ || D));
|
|
1706
|
-
const I = y(i, !0)(M),
|
|
1706
|
+
const I = y(i, !0)(M), Y = (
|
|
1707
1707
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1708
1708
|
D === "vnode" && ce(I) && S ? I[0] : I
|
|
1709
1709
|
);
|
|
1710
|
-
return S ? O(S)(
|
|
1710
|
+
return S ? O(S)(Y, D) : Y;
|
|
1711
1711
|
},
|
|
1712
1712
|
message: y,
|
|
1713
1713
|
type: V,
|
|
@@ -1717,10 +1717,10 @@ function Xa(e = {}) {
|
|
|
1717
1717
|
};
|
|
1718
1718
|
return M;
|
|
1719
1719
|
}
|
|
1720
|
-
const vn = () => "", ve = (e) =>
|
|
1720
|
+
const vn = () => "", ve = (e) => ae(e);
|
|
1721
1721
|
function In(e, ...t) {
|
|
1722
|
-
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: u } = e, [m, p] = jt(...t), y = ie(p.missingWarn) ? p.missingWarn : e.missingWarn, O = ie(p.fallbackWarn) ? p.fallbackWarn : e.fallbackWarn, L = ie(p.escapeParameter) ? p.escapeParameter : e.escapeParameter, w = !!p.resolvedMessage, V = P(p.default) || ie(p.default) ? ie(p.default) ? a ? m : () => m : p.default : n ? a ? m : () => m : null, A = n || V != null && (P(V) ||
|
|
1723
|
-
L &&
|
|
1722
|
+
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: u } = e, [m, p] = jt(...t), y = ie(p.missingWarn) ? p.missingWarn : e.missingWarn, O = ie(p.fallbackWarn) ? p.fallbackWarn : e.fallbackWarn, L = ie(p.escapeParameter) ? p.escapeParameter : e.escapeParameter, w = !!p.resolvedMessage, V = P(p.default) || ie(p.default) ? ie(p.default) ? a ? m : () => m : p.default : n ? a ? m : () => m : null, A = n || V != null && (P(V) || ae(V)), M = $t(e, p);
|
|
1723
|
+
L && Ba(p);
|
|
1724
1724
|
let [i, d, T] = w ? [
|
|
1725
1725
|
m,
|
|
1726
1726
|
M,
|
|
@@ -1731,10 +1731,10 @@ function In(e, ...t) {
|
|
|
1731
1731
|
let S = !1;
|
|
1732
1732
|
const I = () => {
|
|
1733
1733
|
S = !0;
|
|
1734
|
-
},
|
|
1734
|
+
}, Y = ve(_) ? _ : Wn(e, m, d, _, D, I);
|
|
1735
1735
|
if (S)
|
|
1736
1736
|
return _;
|
|
1737
|
-
const
|
|
1737
|
+
const h = Ja(e, d, T, p), g = Ya(h), C = Ha(e, Y, g), E = s ? s(C, m) : C;
|
|
1738
1738
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1739
1739
|
const F = {
|
|
1740
1740
|
timestamp: Date.now(),
|
|
@@ -1747,7 +1747,7 @@ function In(e, ...t) {
|
|
|
1747
1747
|
}
|
|
1748
1748
|
return E;
|
|
1749
1749
|
}
|
|
1750
|
-
function
|
|
1750
|
+
function Ba(e) {
|
|
1751
1751
|
ce(e.list) ? e.list = e.list.map((t) => P(t) ? tn(t) : t) : K(e.named) && Object.keys(e.named).forEach((t) => {
|
|
1752
1752
|
P(e.named[t]) && (e.named[t] = tn(e.named[t]));
|
|
1753
1753
|
});
|
|
@@ -1783,15 +1783,15 @@ function Wn(e, t, n, s, l, a) {
|
|
|
1783
1783
|
const m = c(s, $a(e, n, l, s, u, a));
|
|
1784
1784
|
return m.locale = n, m.key = t, m.source = s, m;
|
|
1785
1785
|
}
|
|
1786
|
-
function
|
|
1786
|
+
function Ha(e, t, n) {
|
|
1787
1787
|
return t(n);
|
|
1788
1788
|
}
|
|
1789
1789
|
function jt(...e) {
|
|
1790
1790
|
const [t, n, s] = e, l = ee();
|
|
1791
1791
|
if (!P(t) && !me(t) && !ve(t) && !Ye(t))
|
|
1792
|
-
throw Ce
|
|
1792
|
+
throw Re(Ce.INVALID_ARGUMENT);
|
|
1793
1793
|
const a = me(t) ? String(t) : (ve(t), t);
|
|
1794
|
-
return me(n) ? l.plural = n : P(n) ? l.default = n : J(n) && !
|
|
1794
|
+
return me(n) ? l.plural = n : P(n) ? l.default = n : J(n) && !gt(n) ? l.named = n : ce(n) && (l.list = n), me(s) ? l.plural = s : P(s) ? l.default = s : J(s) && de(l, s), [a, l];
|
|
1795
1795
|
}
|
|
1796
1796
|
function $a(e, t, n, s, l, a) {
|
|
1797
1797
|
return {
|
|
@@ -1834,13 +1834,13 @@ function Ja(e, t, n, s) {
|
|
|
1834
1834
|
};
|
|
1835
1835
|
return e.processor && (L.processor = e.processor), s.list && (L.list = s.list), s.named && (L.named = s.named), me(s.plural) && (L.pluralIndex = s.plural), L;
|
|
1836
1836
|
}
|
|
1837
|
-
|
|
1838
|
-
var Ka = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_8bd3503e-fb37-4ce4-83f4-7346c2bef55d", 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_8bd3503e-fb37-4ce4-83f4-7346c2bef55d", 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.5.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-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1790", ACTIONS_ORCHESTRATION_ID: "784fe2f3-276d-4f19-bf65-525a2c116009.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.10.6", 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: "20260607.184.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:15508", 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.11/x64", GITHUB_RUN_ID: "27405566249", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "2af53daa2022a4f464689c3a969f1b6054fe1b66", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/feat/apply-figma-design-clean", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L2FwcGx5LWZpZ21hLWRlc2lnbi1jbGVhblwiLFwiUGVybWlzc2lvblwiOjN9LHtcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL21haW5cIixcIlBlcm1pc3Npb25cIjoxfV0iLCJhY3NsIjoiMTAiLCJhdWQiOiJ2c286NmY5NmZhODktYjdiZi00ODc4LWJhZDMtODk4MDA2NTY2YjZlIiwiYmlsbGluZ19vd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsImV4cCI6MTc4MTI3Njc2MiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaWF0IjoxNzgxMjU0NTYyLCJpc3MiOiJodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwiam9iX2lkIjoiNDBlMWU4MmMtODc4Yi01ODU0LTliYmItMjdkZTVjZTVkMTAwIiwibmFtZWlkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwibmJmIjoxNzgxMjU0MjYyLCJvaWRjX2V4dHJhIjoie1wiYWN0b3JcIjpcIkNhc3RhLW1lcmVcIixcImFjdG9yX2lkXCI6XCI4MjI5ODAxN1wiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCI4MDk5Mzc2MzA4N1wiLFwiZXZlbnRfbmFtZVwiOlwid29ya2Zsb3dfZGlzcGF0Y2hcIixcImhlYWRfcmVmXCI6XCJcIixcImpvYl93b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9hY3Rpb25zLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtbnBtLWdpdGh1Yi55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwiam9iX3dvcmtmbG93X3NoYVwiOlwiNTg1MGMwNzlhYmVhY2JmZmFiNDU5NGJhMWE3Y2YzMTM0NjZkNzQzM1wiLFwicmVmXCI6XCJyZWZzL2hlYWRzL2ZlYXQvYXBwbHktZmlnbWEtZGVzaWduLWNsZWFuXCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjI3NDA1NTY2MjQ5XCIsXCJydW5fbnVtYmVyXCI6XCIxMTNcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCIyYWY1M2RhYTIwMjJhNGY0NjQ2ODljM2E5NjlmMWI2MDU0ZmUxYjY2XCIsXCJ3b3JrZmxvd1wiOlwiUHVibGlzaCBocm0tcG9ydGFsXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLWhybS1wb3J0YWwtdHJ1c3RlZC55bWxAcmVmcy9oZWFkcy9mZWF0L2FwcGx5LWZpZ21hLWRlc2lnbi1jbGVhblwiLFwid29ya2Zsb3dfc2hhXCI6XCIyYWY1M2RhYTIwMjJhNGY0NjQ2ODljM2E5NjlmMWI2MDU0ZmUxYjY2XCJ9Iiwib2lkY19zdWIiOiJyZXBvOmZlZWRtZXBvcy9ocm0tc2VydmljZTpyZWY6cmVmcy9oZWFkcy9mZWF0L2FwcGx5LWZpZ21hLWRlc2lnbi1jbGVhbiIsIm9yY2hfaWQiOiI3ODRmZTJmMy0yNzZkLTRmMTktYmY2NS01MjVhMmMxMTYwMDkucHVibGlzaC5wdWJsaXNoLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6Ijc4NGZlMmYzLTI3NmQtNGYxOS1iZjY1LTUyNWEyYzExNjAwOSIsInJlcG9zaXRvcnlfaWQiOiIxMTI0NjcyMjM1IiwicmVwb3NpdG9yeV9vd25lcl9pZCI6IjU0ODMxNTE1IiwicmVwb3NpdG9yeV92aXNpYmlsaXR5IjoicHJpdmF0ZSIsInJ1bl9pZCI6IjI3NDA1NTY2MjQ5IiwicnVuX251bWJlciI6IjExMyIsInJ1bl90eXBlIjoiZnVsbCIsInJ1bm5lcl9pZCI6IjEwMDAwNzY4ODMiLCJydW5uZXJfdHlwZSI6Imhvc3RlZCIsInNjcCI6IkFjdGlvbnMuUmVzdWx0czo3ODRmZTJmMy0yNzZkLTRmMTktYmY2NS01MjVhMmMxMTYwMDk6NDBlMWU4MmMtODc4Yi01ODU0LTliYmItMjdkZTVjZTVkMTAwIEFjdGlvbnMuUnVubmVyOjc4NGZlMmYzLTI3NmQtNGYxOS1iZjY1LTUyNWEyYzExNjAwOTo0MGUxZTgyYy04NzhiLTU4NTQtOWJiYi0yN2RlNWNlNWQxMDAgQWN0aW9ucy5VcGxvYWRBcnRpZmFjdHM6Nzg0ZmUyZjMtMjc2ZC00ZjE5LWJmNjUtNTI1YTJjMTE2MDA5OjQwZTFlODJjLTg3OGItNTg1NC05YmJiLTI3ZGU1Y2U1ZDEwMCBnZW5lcmF0ZV9pZF90b2tlbjo3ODRmZTJmMy0yNzZkLTRmMTktYmY2NS01MjVhMmMxMTYwMDk6NDBlMWU4MmMtODc4Yi01ODU0LTliYmItMjdkZTVjZTVkMTAwIEFjdGlvbnMuR2VuZXJpY1JlYWQ6MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIiwic2hhIjoiMmFmNTNkYWEyMDIyYTRmNDY0Njg5YzNhOTY5ZjFiNjA1NGZlMWI2NiIsInRydXN0X3RpZXIiOiIxIn0.2p4aeWUbWOEY6jVGz7-jdXiINLtjjhUHfvXxM8ZEoPu2rrp4YFSiwZkG4PJO9sxoFUlYdOTD9U7NdPPVY0kYYTm0FXMwEQJeZMPzULA-gejtONexo_wQbD3ZyL7keAWqzi2BLd2v59Slv4rgtAsHSGmR62g1H587RXJXlpkLc0BcAr_w13xWZubxL3i9FLSALKIkRSh2uwWDOd6mhmPzXMGpzkTHn8u8sMG78ovW1xA5W8JFdzQzRpOmJulYEhEHYj412S9oJdxy04jSrR6v4yz1zSo9A-tSs56YQTb6v3b0Nzju1eKRFuQEa0Co1XzmUbUvzIRafcJvvhaO0TFffg", 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_d0397942-2af2-4b92-9744-12c8c8cfa77d", INVOCATION_ID: "df3a90a9256c4c9ba57b5b8c38d48fb1", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", npm_package_name: "@feedmepos/mf-hrm-portal", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "113", GITHUB_TRIGGERING_ACTOR: "Casta-mere", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag latest --no-git-checks", npm_package_scripts_publish_npm_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag beta --no-git-checks", npm_package_scripts_publish_github: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks", npm_package_scripts_publish_github_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks", npm_config_frozen_lockfile: "", npm_package_devDependencies__vitest_ui: "^1.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies_eslint: "^9.39.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000076883", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/apply-figma-design-clean", 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.20-dev.2", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_hrm_permission: "workspace:*", npm_package_devDependencies__rushstack_eslint_patch: "^1.3.3", npm_package_devDependencies_eslint_plugin_unused_imports: "^4.3.0", npm_package_devDependencies_jsdom: "^24.0.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "2af53daa2022a4f464689c3a969f1b6054fe1b66", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/feat/apply-figma-design-clean", GITHUB_ACTOR: "Casta-mere", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", npm_package_devDependencies_globals: "^16.5.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_8bd3503e-fb37-4ce4-83f4-7346c2bef55d", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "82298017", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-2-azure-eastus.actions.githubusercontent.com/43//idtoken/784fe2f3-276d-4f19-bf65-525a2c116009/40e1e82c-878b-5854-9bbb-27de5ce5d100?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_8bd3503e-fb37-4ce4-83f4-7346c2bef55d", 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_15.6.1", 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_8bd3503e-fb37-4ce4-83f4-7346c2bef55d", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1839
|
-
const
|
|
1840
|
-
function
|
|
1837
|
+
Bs();
|
|
1838
|
+
var Ka = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_7ff7a4f2-b66c-4990-95e9-28330ebd4664", 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_7ff7a4f2-b66c-4990-95e9-28330ebd4664", 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.5.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-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1780", ACTIONS_ORCHESTRATION_ID: "9e1dc839-90f7-4597-b283-455f3a297371.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.10.6", 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: "20260607.184.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:15742", 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.11/x64", GITHUB_RUN_ID: "27525463871", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "b61939e96f3fda811b5344946c20619c277f76a4", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/feat/apply-figma-design-clean", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L2FwcGx5LWZpZ21hLWRlc2lnbi1jbGVhblwiLFwiUGVybWlzc2lvblwiOjN9LHtcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL21haW5cIixcIlBlcm1pc3Npb25cIjoxfV0iLCJhY3NsIjoiMTAiLCJhdWQiOiJ2c286NmY5NmZhODktYjdiZi00ODc4LWJhZDMtODk4MDA2NTY2YjZlIiwiYmlsbGluZ19vd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsImV4cCI6MTc4MTUyMjU0NSwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaWF0IjoxNzgxNTAwMzQ1LCJpc3MiOiJodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwiam9iX2lkIjoiZTY1NmRmZjctMGIzYS01NWIwLWJlZmQtNmRhODgyYjlkZWE2IiwibmFtZWlkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwibmJmIjoxNzgxNTAwMDQ1LCJvaWRjX2V4dHJhIjoie1wiYWN0b3JcIjpcIkNhc3RhLW1lcmVcIixcImFjdG9yX2lkXCI6XCI4MjI5ODAxN1wiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCI4MTM1MTc3MDgzOFwiLFwiZXZlbnRfbmFtZVwiOlwid29ya2Zsb3dfZGlzcGF0Y2hcIixcImhlYWRfcmVmXCI6XCJcIixcImpvYl93b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9hY3Rpb25zLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtbnBtLWdpdGh1Yi55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwiam9iX3dvcmtmbG93X3NoYVwiOlwiNTg1MGMwNzlhYmVhY2JmZmFiNDU5NGJhMWE3Y2YzMTM0NjZkNzQzM1wiLFwicmVmXCI6XCJyZWZzL2hlYWRzL2ZlYXQvYXBwbHktZmlnbWEtZGVzaWduLWNsZWFuXCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjI3NTI1NDYzODcxXCIsXCJydW5fbnVtYmVyXCI6XCIxMTRcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCJiNjE5MzllOTZmM2ZkYTgxMWI1MzQ0OTQ2YzIwNjE5YzI3N2Y3NmE0XCIsXCJ3b3JrZmxvd1wiOlwiUHVibGlzaCBocm0tcG9ydGFsXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLWhybS1wb3J0YWwtdHJ1c3RlZC55bWxAcmVmcy9oZWFkcy9mZWF0L2FwcGx5LWZpZ21hLWRlc2lnbi1jbGVhblwiLFwid29ya2Zsb3dfc2hhXCI6XCJiNjE5MzllOTZmM2ZkYTgxMWI1MzQ0OTQ2YzIwNjE5YzI3N2Y3NmE0XCJ9Iiwib2lkY19zdWIiOiJyZXBvOmZlZWRtZXBvcy9ocm0tc2VydmljZTpyZWY6cmVmcy9oZWFkcy9mZWF0L2FwcGx5LWZpZ21hLWRlc2lnbi1jbGVhbiIsIm9yY2hfaWQiOiI5ZTFkYzgzOS05MGY3LTQ1OTctYjI4My00NTVmM2EyOTczNzEucHVibGlzaC5wdWJsaXNoLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6IjllMWRjODM5LTkwZjctNDU5Ny1iMjgzLTQ1NWYzYTI5NzM3MSIsInJlcG9zaXRvcnlfaWQiOiIxMTI0NjcyMjM1IiwicmVwb3NpdG9yeV9vd25lcl9pZCI6IjU0ODMxNTE1IiwicmVwb3NpdG9yeV92aXNpYmlsaXR5IjoicHJpdmF0ZSIsInJ1bl9pZCI6IjI3NTI1NDYzODcxIiwicnVuX251bWJlciI6IjExNCIsInJ1bl90eXBlIjoiZnVsbCIsInJ1bm5lcl9pZCI6IjEwMDAwNzcxNzQiLCJydW5uZXJfdHlwZSI6Imhvc3RlZCIsInNjcCI6IkFjdGlvbnMuUmVzdWx0czo5ZTFkYzgzOS05MGY3LTQ1OTctYjI4My00NTVmM2EyOTczNzE6ZTY1NmRmZjctMGIzYS01NWIwLWJlZmQtNmRhODgyYjlkZWE2IEFjdGlvbnMuUnVubmVyOjllMWRjODM5LTkwZjctNDU5Ny1iMjgzLTQ1NWYzYTI5NzM3MTplNjU2ZGZmNy0wYjNhLTU1YjAtYmVmZC02ZGE4ODJiOWRlYTYgQWN0aW9ucy5VcGxvYWRBcnRpZmFjdHM6OWUxZGM4MzktOTBmNy00NTk3LWIyODMtNDU1ZjNhMjk3MzcxOmU2NTZkZmY3LTBiM2EtNTViMC1iZWZkLTZkYTg4MmI5ZGVhNiBnZW5lcmF0ZV9pZF90b2tlbjo5ZTFkYzgzOS05MGY3LTQ1OTctYjI4My00NTVmM2EyOTczNzE6ZTY1NmRmZjctMGIzYS01NWIwLWJlZmQtNmRhODgyYjlkZWE2IEFjdGlvbnMuR2VuZXJpY1JlYWQ6MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIiwic2hhIjoiYjYxOTM5ZTk2ZjNmZGE4MTFiNTM0NDk0NmMyMDYxOWMyNzdmNzZhNCIsInRydXN0X3RpZXIiOiIxIn0.W3yiID9OMcm8mqGSwhAluMilS7dEFMaY8pt5mNVVQyT15HFi4ls7LI1pAfm6_bdXY5RaLG8v-g3fvXYv56crJ2qFqKWCAHyJwOXd21_9ou6muzBj3i5yXANtrTar24fS6nLcD7pcAXrE5EtwI_sMKODGB4doJNzJvGwwpVJOOH-fl_NV7CAseBChQRD8WDTpR8y4aW76uRbpT09NrUx5ff_lmO5pM8q5qnquxtMEcJ0NPLn-0TcPX5cqzibmiUvbF_vfbQBLleolYH6kugBuTkb4tLATyb4X3q-16BCp9PfPp9WstLu0gPJupLIWtSI9TMl68XMWVu0fQwxUTvrtXg", 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_4bb04328-4ae0-438e-951c-d6c4bc61722b", INVOCATION_ID: "309c3ffbef5e4be684f56313b7eb4c15", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", npm_package_name: "@feedmepos/mf-hrm-portal", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "114", GITHUB_TRIGGERING_ACTOR: "Casta-mere", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag latest --no-git-checks", npm_package_scripts_publish_npm_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag beta --no-git-checks", npm_package_scripts_publish_github: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks", npm_package_scripts_publish_github_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks", npm_config_frozen_lockfile: "", npm_package_devDependencies__vitest_ui: "^1.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies_eslint: "^9.39.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000077174", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/apply-figma-design-clean", 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.20-dev.3", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_hrm_permission: "workspace:*", npm_package_devDependencies__rushstack_eslint_patch: "^1.3.3", npm_package_devDependencies_eslint_plugin_unused_imports: "^4.3.0", npm_package_devDependencies_jsdom: "^24.0.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "b61939e96f3fda811b5344946c20619c277f76a4", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/feat/apply-figma-design-clean", GITHUB_ACTOR: "Casta-mere", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", npm_package_devDependencies_globals: "^16.5.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_7ff7a4f2-b66c-4990-95e9-28330ebd4664", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "82298017", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-3-azure-eastus.actions.githubusercontent.com/199//idtoken/9e1dc839-90f7-4597-b283-455f3a297371/e656dff7-0b3a-55b0-befd-6da882b9dea6?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_7ff7a4f2-b66c-4990-95e9-28330ebd4664", 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_15.6.1", 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_7ff7a4f2-b66c-4990-95e9-28330ebd4664", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1839
|
+
const za = "10.0.5";
|
|
1840
|
+
function Qa() {
|
|
1841
1841
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Fe().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Fe().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Fe().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Fe().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
1842
1842
|
}
|
|
1843
|
-
const
|
|
1843
|
+
const Be = {
|
|
1844
1844
|
// composer module errors
|
|
1845
1845
|
UNEXPECTED_RETURN_TYPE: pa,
|
|
1846
1846
|
// 24
|
|
@@ -1853,17 +1853,17 @@ const Xe = {
|
|
|
1853
1853
|
// unexpected error
|
|
1854
1854
|
UNEXPECTED_ERROR: 32
|
|
1855
1855
|
};
|
|
1856
|
-
function
|
|
1857
|
-
return
|
|
1856
|
+
function nt(e, ...t) {
|
|
1857
|
+
return ht(e, null, void 0);
|
|
1858
1858
|
}
|
|
1859
1859
|
const Ut = /* @__PURE__ */ je("__translateVNode"), Vt = /* @__PURE__ */ je("__datetimeParts"), Gt = /* @__PURE__ */ je("__numberParts"), qa = je("__setPluralRules"), xn = /* @__PURE__ */ je("__injectWithOption"), Wt = /* @__PURE__ */ je("__dispose");
|
|
1860
|
-
function
|
|
1860
|
+
function st(e) {
|
|
1861
1861
|
if (!K(e))
|
|
1862
1862
|
return e;
|
|
1863
1863
|
for (const t in e)
|
|
1864
1864
|
if (Ne(e, t))
|
|
1865
1865
|
if (!t.includes("."))
|
|
1866
|
-
K(e[t]) &&
|
|
1866
|
+
K(e[t]) && st(e[t]);
|
|
1867
1867
|
else {
|
|
1868
1868
|
const n = t.split("."), s = n.length - 1;
|
|
1869
1869
|
let l = e, a = !1;
|
|
@@ -1874,7 +1874,7 @@ function nt(e) {
|
|
|
1874
1874
|
}
|
|
1875
1875
|
l = l[n[c]];
|
|
1876
1876
|
}
|
|
1877
|
-
a || (l[n[s]] = e[t], delete e[t]), K(l[n[s]]) &&
|
|
1877
|
+
a || (l[n[s]] = e[t], delete e[t]), K(l[n[s]]) && st(l[n[s]]);
|
|
1878
1878
|
}
|
|
1879
1879
|
return e;
|
|
1880
1880
|
}
|
|
@@ -1888,10 +1888,10 @@ function Zn(e, t) {
|
|
|
1888
1888
|
P(u) && ft(JSON.parse(u), c);
|
|
1889
1889
|
}), l == null && a)
|
|
1890
1890
|
for (const u in c)
|
|
1891
|
-
Ne(c, u) &&
|
|
1891
|
+
Ne(c, u) && st(c[u]);
|
|
1892
1892
|
return c;
|
|
1893
1893
|
}
|
|
1894
|
-
function
|
|
1894
|
+
function Xn(e) {
|
|
1895
1895
|
return e.type;
|
|
1896
1896
|
}
|
|
1897
1897
|
function er(e, t, n) {
|
|
@@ -1920,7 +1920,7 @@ function er(e, t, n) {
|
|
|
1920
1920
|
}
|
|
1921
1921
|
}
|
|
1922
1922
|
function En(e) {
|
|
1923
|
-
return _e(
|
|
1923
|
+
return _e(Qn, null, e, 0);
|
|
1924
1924
|
}
|
|
1925
1925
|
const Nn = "__INTLIFY_META__", yn = () => [], tr = () => !1;
|
|
1926
1926
|
let Tn = 0;
|
|
@@ -1930,7 +1930,7 @@ function kn(e) {
|
|
|
1930
1930
|
const nr = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
1931
1931
|
const e = xt();
|
|
1932
1932
|
let t = null;
|
|
1933
|
-
return e && (t =
|
|
1933
|
+
return e && (t = Xn(e)[Nn]) ? { [Nn]: t } : null;
|
|
1934
1934
|
};
|
|
1935
1935
|
function sr(e = {}) {
|
|
1936
1936
|
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = qt ? bt : Kn;
|
|
@@ -1942,13 +1942,13 @@ function sr(e = {}) {
|
|
|
1942
1942
|
// prettier-ignore
|
|
1943
1943
|
t && c ? t.fallbackLocale.value : P(e.fallbackLocale) || ce(e.fallbackLocale) || J(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : u.value
|
|
1944
1944
|
), p = a(Zn(u.value, e)), y = a(J(e.datetimeFormats) ? e.datetimeFormats : { [u.value]: {} }), O = a(J(e.numberFormats) ? e.numberFormats : { [u.value]: {} });
|
|
1945
|
-
let L = t ? t.missingWarn : ie(e.missingWarn) || _t(e.missingWarn) ? e.missingWarn : !0, w = t ? t.fallbackWarn : ie(e.fallbackWarn) || _t(e.fallbackWarn) ? e.fallbackWarn : !0, V = t ? t.fallbackRoot : ie(e.fallbackRoot) ? e.fallbackRoot : !0, A = !!e.fallbackFormat, M =
|
|
1945
|
+
let L = t ? t.missingWarn : ie(e.missingWarn) || _t(e.missingWarn) ? e.missingWarn : !0, w = t ? t.fallbackWarn : ie(e.fallbackWarn) || _t(e.fallbackWarn) ? e.fallbackWarn : !0, V = t ? t.fallbackRoot : ie(e.fallbackRoot) ? e.fallbackRoot : !0, A = !!e.fallbackFormat, M = ae(e.missing) ? e.missing : null, i = ae(e.missing) ? kn(e.missing) : null, d = ae(e.postTranslation) ? e.postTranslation : null, T = t ? t.warnHtmlMessage : ie(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, _ = !!e.escapeParameter;
|
|
1946
1946
|
const D = t ? t.modifiers : J(e.modifiers) ? e.modifiers : {};
|
|
1947
1947
|
let S = e.pluralRules || t && t.pluralRules, I;
|
|
1948
1948
|
I = (() => {
|
|
1949
1949
|
s && dn(null);
|
|
1950
1950
|
const f = {
|
|
1951
|
-
version:
|
|
1951
|
+
version: za,
|
|
1952
1952
|
locale: u.value,
|
|
1953
1953
|
fallbackLocale: m.value,
|
|
1954
1954
|
messages: p.value,
|
|
@@ -1970,7 +1970,7 @@ function sr(e = {}) {
|
|
|
1970
1970
|
const k = Pa(f);
|
|
1971
1971
|
return s && dn(k), k;
|
|
1972
1972
|
})(), Qe(I, u.value, m.value);
|
|
1973
|
-
function
|
|
1973
|
+
function h() {
|
|
1974
1974
|
return [
|
|
1975
1975
|
u.value,
|
|
1976
1976
|
m.value,
|
|
@@ -1979,21 +1979,21 @@ function sr(e = {}) {
|
|
|
1979
1979
|
O.value
|
|
1980
1980
|
];
|
|
1981
1981
|
}
|
|
1982
|
-
const
|
|
1982
|
+
const g = q({
|
|
1983
1983
|
get: () => u.value,
|
|
1984
1984
|
set: (f) => {
|
|
1985
1985
|
u.value = f, I.locale = u.value;
|
|
1986
1986
|
}
|
|
1987
|
-
}),
|
|
1987
|
+
}), C = q({
|
|
1988
1988
|
get: () => m.value,
|
|
1989
1989
|
set: (f) => {
|
|
1990
1990
|
m.value = f, I.fallbackLocale = m.value, Qe(I, u.value, f);
|
|
1991
1991
|
}
|
|
1992
1992
|
}), E = q(() => p.value), F = /* @__PURE__ */ q(() => y.value), x = /* @__PURE__ */ q(() => O.value);
|
|
1993
1993
|
function N() {
|
|
1994
|
-
return
|
|
1994
|
+
return ae(d) ? d : null;
|
|
1995
1995
|
}
|
|
1996
|
-
function
|
|
1996
|
+
function R(f) {
|
|
1997
1997
|
d = f, I.postTranslation = f;
|
|
1998
1998
|
}
|
|
1999
1999
|
function v() {
|
|
@@ -2002,8 +2002,8 @@ function sr(e = {}) {
|
|
|
2002
2002
|
function W(f) {
|
|
2003
2003
|
f !== null && (i = kn(f)), M = f, I.missing = i;
|
|
2004
2004
|
}
|
|
2005
|
-
const G = (f, k, ne, le, Pe,
|
|
2006
|
-
|
|
2005
|
+
const G = (f, k, ne, le, Pe, at) => {
|
|
2006
|
+
h();
|
|
2007
2007
|
let Ge;
|
|
2008
2008
|
try {
|
|
2009
2009
|
Ka.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (I.fallbackContext = t ? wa() : void 0), Ge = f(I);
|
|
@@ -2012,12 +2012,12 @@ function sr(e = {}) {
|
|
|
2012
2012
|
}
|
|
2013
2013
|
if (ne !== "translate exists" && // for not `te` (e.g `t`)
|
|
2014
2014
|
me(Ge) && Ge === vt || ne === "translate exists" && !Ge) {
|
|
2015
|
-
const [$n,
|
|
2015
|
+
const [$n, xr] = k();
|
|
2016
2016
|
return t && V ? le(t) : Pe($n);
|
|
2017
2017
|
} else {
|
|
2018
|
-
if (
|
|
2018
|
+
if (at(Ge))
|
|
2019
2019
|
return Ge;
|
|
2020
|
-
throw
|
|
2020
|
+
throw nt(Be.UNEXPECTED_RETURN_TYPE);
|
|
2021
2021
|
}
|
|
2022
2022
|
};
|
|
2023
2023
|
function j(...f) {
|
|
@@ -2026,13 +2026,13 @@ function sr(e = {}) {
|
|
|
2026
2026
|
function te(...f) {
|
|
2027
2027
|
const [k, ne, le] = f;
|
|
2028
2028
|
if (le && !K(le))
|
|
2029
|
-
throw
|
|
2029
|
+
throw nt(Be.INVALID_ARGUMENT);
|
|
2030
2030
|
return j(k, ne, de({ resolvedMessage: !0 }, le || {}));
|
|
2031
2031
|
}
|
|
2032
|
-
function
|
|
2032
|
+
function B(...f) {
|
|
2033
2033
|
return G((k) => Reflect.apply(_n, null, [k, ...f]), () => Pt(...f), "datetime format", (k) => Reflect.apply(k.d, k, [...f]), () => un, (k) => P(k));
|
|
2034
2034
|
}
|
|
2035
|
-
function
|
|
2035
|
+
function ge(...f) {
|
|
2036
2036
|
return G((k) => Reflect.apply(bn, null, [k, ...f]), () => Ft(...f), "number format", (k) => Reflect.apply(k.n, k, [...f]), () => un, (k) => P(k));
|
|
2037
2037
|
}
|
|
2038
2038
|
function fe(f) {
|
|
@@ -2055,10 +2055,10 @@ function sr(e = {}) {
|
|
|
2055
2055
|
return ne;
|
|
2056
2056
|
}, () => jt(...f), "translate", (k) => k[Ut](...f), (k) => [En(k)], (k) => ce(k));
|
|
2057
2057
|
}
|
|
2058
|
-
function
|
|
2058
|
+
function $e(...f) {
|
|
2059
2059
|
return G((k) => Reflect.apply(bn, null, [k, ...f]), () => Ft(...f), "number format", (k) => k[Gt](...f), yn, (k) => P(k) || ce(k));
|
|
2060
2060
|
}
|
|
2061
|
-
function
|
|
2061
|
+
function Je(...f) {
|
|
2062
2062
|
return G((k) => Reflect.apply(_n, null, [k, ...f]), () => Pt(...f), "datetime format", (k) => k[Vt](...f), yn, (k) => P(k) || ce(k));
|
|
2063
2063
|
}
|
|
2064
2064
|
function Et(f) {
|
|
@@ -2076,15 +2076,15 @@ function sr(e = {}) {
|
|
|
2076
2076
|
let k = null;
|
|
2077
2077
|
const ne = Mn(I, m.value, u.value);
|
|
2078
2078
|
for (let le = 0; le < ne.length; le++) {
|
|
2079
|
-
const Pe = p.value[ne[le]] || {},
|
|
2080
|
-
if (
|
|
2081
|
-
k =
|
|
2079
|
+
const Pe = p.value[ne[le]] || {}, at = I.messageResolver(Pe, f);
|
|
2080
|
+
if (at != null) {
|
|
2081
|
+
k = at;
|
|
2082
2082
|
break;
|
|
2083
2083
|
}
|
|
2084
2084
|
}
|
|
2085
2085
|
return k;
|
|
2086
2086
|
}
|
|
2087
|
-
function
|
|
2087
|
+
function Ke(f) {
|
|
2088
2088
|
const k = yt(f);
|
|
2089
2089
|
return k ?? (t ? t.tm(f) || {} : {});
|
|
2090
2090
|
}
|
|
@@ -2095,17 +2095,17 @@ function sr(e = {}) {
|
|
|
2095
2095
|
if (l) {
|
|
2096
2096
|
const ne = { [f]: k };
|
|
2097
2097
|
for (const le in ne)
|
|
2098
|
-
Ne(ne, le) &&
|
|
2098
|
+
Ne(ne, le) && st(ne[le]);
|
|
2099
2099
|
k = ne[f];
|
|
2100
2100
|
}
|
|
2101
2101
|
p.value[f] = k, I.messages = p.value;
|
|
2102
2102
|
}
|
|
2103
|
-
function
|
|
2103
|
+
function ze(f, k) {
|
|
2104
2104
|
p.value[f] = p.value[f] || {};
|
|
2105
2105
|
const ne = { [f]: k };
|
|
2106
2106
|
if (l)
|
|
2107
2107
|
for (const le in ne)
|
|
2108
|
-
Ne(ne, le) &&
|
|
2108
|
+
Ne(ne, le) && st(ne[le]);
|
|
2109
2109
|
k = ne[f], ft(k, p.value[f]), I.messages = p.value;
|
|
2110
2110
|
}
|
|
2111
2111
|
function Tt(f) {
|
|
@@ -2121,20 +2121,20 @@ function sr(e = {}) {
|
|
|
2121
2121
|
return O.value[f] || {};
|
|
2122
2122
|
}
|
|
2123
2123
|
function U(f, k) {
|
|
2124
|
-
O.value[f] = k, I.numberFormats = O.value,
|
|
2124
|
+
O.value[f] = k, I.numberFormats = O.value, gn(I, f, k);
|
|
2125
2125
|
}
|
|
2126
2126
|
function re(f, k) {
|
|
2127
|
-
O.value[f] = de(O.value[f] || {}, k), I.numberFormats = O.value,
|
|
2127
|
+
O.value[f] = de(O.value[f] || {}, k), I.numberFormats = O.value, gn(I, f, k);
|
|
2128
2128
|
}
|
|
2129
2129
|
Tn++, t && qt && (St(t.locale, (f) => {
|
|
2130
2130
|
c && (u.value = f, I.locale = f, Qe(I, u.value, m.value));
|
|
2131
2131
|
}), St(t.fallbackLocale, (f) => {
|
|
2132
2132
|
c && (m.value = f, I.fallbackLocale = f, Qe(I, u.value, m.value));
|
|
2133
2133
|
}));
|
|
2134
|
-
const
|
|
2134
|
+
const X = {
|
|
2135
2135
|
id: Tn,
|
|
2136
|
-
locale:
|
|
2137
|
-
fallbackLocale:
|
|
2136
|
+
locale: g,
|
|
2137
|
+
fallbackLocale: C,
|
|
2138
2138
|
get inheritLocale() {
|
|
2139
2139
|
return c;
|
|
2140
2140
|
},
|
|
@@ -2193,14 +2193,14 @@ function sr(e = {}) {
|
|
|
2193
2193
|
t: j,
|
|
2194
2194
|
getLocaleMessage: Ue,
|
|
2195
2195
|
setLocaleMessage: Ve,
|
|
2196
|
-
mergeLocaleMessage:
|
|
2196
|
+
mergeLocaleMessage: ze,
|
|
2197
2197
|
getPostTranslationHandler: N,
|
|
2198
|
-
setPostTranslationHandler:
|
|
2198
|
+
setPostTranslationHandler: R,
|
|
2199
2199
|
getMissingHandler: v,
|
|
2200
2200
|
setMissingHandler: W,
|
|
2201
2201
|
[qa]: Et
|
|
2202
2202
|
};
|
|
2203
|
-
return
|
|
2203
|
+
return X.datetimeFormats = F, X.numberFormats = x, X.rt = te, X.te = Nt, X.tm = Ke, X.d = B, X.n = ge, X.getDateTimeFormat = Tt, X.setDateTimeFormat = r, X.mergeDateTimeFormat = o, X.getNumberFormat = b, X.setNumberFormat = U, X.mergeNumberFormat = re, X[xn] = n, X[Ut] = Ie, X[Vt] = Je, X[Gt] = $e, X;
|
|
2204
2204
|
}
|
|
2205
2205
|
const Kt = {
|
|
2206
2206
|
tag: {
|
|
@@ -2224,14 +2224,14 @@ function ar({ slots: e }, t) {
|
|
|
2224
2224
|
return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((s, l) => [
|
|
2225
2225
|
...s,
|
|
2226
2226
|
// prettier-ignore
|
|
2227
|
-
...l.type ===
|
|
2227
|
+
...l.type === Oe ? l.children : [l]
|
|
2228
2228
|
], []) : t.reduce((n, s) => {
|
|
2229
2229
|
const l = e[s];
|
|
2230
2230
|
return l && (n[s] = l()), n;
|
|
2231
2231
|
}, ee());
|
|
2232
2232
|
}
|
|
2233
|
-
function
|
|
2234
|
-
return
|
|
2233
|
+
function Yn() {
|
|
2234
|
+
return Oe;
|
|
2235
2235
|
}
|
|
2236
2236
|
de({
|
|
2237
2237
|
keypath: {
|
|
@@ -2246,7 +2246,7 @@ de({
|
|
|
2246
2246
|
function rr(e) {
|
|
2247
2247
|
return ce(e) && !P(e[0]);
|
|
2248
2248
|
}
|
|
2249
|
-
function
|
|
2249
|
+
function Bn(e, t, n, s) {
|
|
2250
2250
|
const { slots: l, attrs: a } = t;
|
|
2251
2251
|
return () => {
|
|
2252
2252
|
const c = { part: !0 };
|
|
@@ -2258,7 +2258,7 @@ function Hn(e, t, n, s) {
|
|
|
2258
2258
|
const V = l[L.type], A = V ? V({ [L.type]: L.value, index: w, parts: m }) : [L.value];
|
|
2259
2259
|
return rr(A) && (A[0].key = `${L.type}-${w}`), A;
|
|
2260
2260
|
}) : P(m) && (p = [m]);
|
|
2261
|
-
const y = de(ee(), a), O = P(e.tag) || K(e.tag) ? e.tag :
|
|
2261
|
+
const y = de(ee(), a), O = P(e.tag) || K(e.tag) ? e.tag : Yn();
|
|
2262
2262
|
return An(O, y, p);
|
|
2263
2263
|
};
|
|
2264
2264
|
}
|
|
@@ -2284,10 +2284,10 @@ const lr = /* @__PURE__ */ je("global-vue-i18n");
|
|
|
2284
2284
|
function It(e = {}) {
|
|
2285
2285
|
const t = xt();
|
|
2286
2286
|
if (t == null)
|
|
2287
|
-
throw
|
|
2287
|
+
throw nt(Be.MUST_BE_CALL_SETUP_TOP);
|
|
2288
2288
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
2289
|
-
throw
|
|
2290
|
-
const n = or(t), s = cr(n), l =
|
|
2289
|
+
throw nt(Be.NOT_INSTALLED);
|
|
2290
|
+
const n = or(t), s = cr(n), l = Xn(t), a = ir(e, l);
|
|
2291
2291
|
if (a === "global")
|
|
2292
2292
|
return er(s, e, l), s;
|
|
2293
2293
|
if (a === "parent") {
|
|
@@ -2305,11 +2305,11 @@ function It(e = {}) {
|
|
|
2305
2305
|
function or(e) {
|
|
2306
2306
|
const t = Jn(e.isCE ? lr : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
2307
2307
|
if (!t)
|
|
2308
|
-
throw
|
|
2308
|
+
throw nt(e.isCE ? Be.NOT_INSTALLED_WITH_PROVIDE : Be.UNEXPECTED_ERROR);
|
|
2309
2309
|
return t;
|
|
2310
2310
|
}
|
|
2311
2311
|
function ir(e, t) {
|
|
2312
|
-
return
|
|
2312
|
+
return gt(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
|
|
2313
2313
|
}
|
|
2314
2314
|
function cr(e) {
|
|
2315
2315
|
return e.mode === "composition" ? e.global : e.global.__composer;
|
|
@@ -2336,23 +2336,23 @@ function mr(e, t = !1) {
|
|
|
2336
2336
|
return e == null ? null : t && e.vnode.ctx || e.parent;
|
|
2337
2337
|
}
|
|
2338
2338
|
function dr(e, t, n) {
|
|
2339
|
-
|
|
2340
|
-
}, t),
|
|
2339
|
+
Rn(() => {
|
|
2340
|
+
}, t), zn(() => {
|
|
2341
2341
|
const s = n;
|
|
2342
2342
|
e.__deleteInstance(t);
|
|
2343
2343
|
const l = s[Wt];
|
|
2344
2344
|
l && (l(), delete s[Wt]);
|
|
2345
2345
|
}, t);
|
|
2346
2346
|
}
|
|
2347
|
-
|
|
2348
|
-
|
|
2347
|
+
Qa();
|
|
2348
|
+
Ra(ua);
|
|
2349
2349
|
Aa(La);
|
|
2350
2350
|
Sa(Mn);
|
|
2351
2351
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
2352
2352
|
const e = Fe();
|
|
2353
2353
|
e.__INTLIFY__ = !0, ma(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
2354
2354
|
}
|
|
2355
|
-
const
|
|
2355
|
+
const ct = /* @__PURE__ */ ke({
|
|
2356
2356
|
__name: "InheritPermissionTooltip",
|
|
2357
2357
|
props: {
|
|
2358
2358
|
item: {
|
|
@@ -2363,16 +2363,16 @@ const it = /* @__PURE__ */ Le({
|
|
|
2363
2363
|
setup(e) {
|
|
2364
2364
|
const { t } = It();
|
|
2365
2365
|
return (n, s) => {
|
|
2366
|
-
const l =
|
|
2367
|
-
return
|
|
2366
|
+
const l = qe("FmIcon"), a = qe("FmTooltip");
|
|
2367
|
+
return Q(), Me(a, {
|
|
2368
2368
|
variant: "plain",
|
|
2369
2369
|
placement: "right",
|
|
2370
2370
|
"z-index": 50
|
|
2371
2371
|
}, {
|
|
2372
2372
|
content: pe(() => [
|
|
2373
|
-
|
|
2374
|
-
(
|
|
2375
|
-
|
|
2373
|
+
se("div", null, Ee($(t)("team.memberForm.permissions.inherited")), 1),
|
|
2374
|
+
(Q(!0), oe(Oe, null, he(e.item.setNames, (c) => (Q(), oe("div", { key: c }, [
|
|
2375
|
+
se("div", null, "- " + Ee(c), 1)
|
|
2376
2376
|
]))), 128))
|
|
2377
2377
|
]),
|
|
2378
2378
|
default: pe(() => [
|
|
@@ -2409,39 +2409,39 @@ const On = Object.values(is), fr = {
|
|
|
2409
2409
|
function _r(e, t, n, s) {
|
|
2410
2410
|
const { t: l } = He(), { getFlagValue: a, getFlag: c } = os(), u = q(() => {
|
|
2411
2411
|
var E;
|
|
2412
|
-
const
|
|
2412
|
+
const h = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map();
|
|
2413
2413
|
for (const F of t.value) {
|
|
2414
2414
|
const x = F.category;
|
|
2415
|
-
x && (n.value.includes(F.subject) || F.showByFeatureFlag && ((E = c(F.showByFeatureFlag)) == null ? void 0 : E.enabled) === !1 && a(F.showByFeatureFlag) === "true" || (
|
|
2415
|
+
x && (n.value.includes(F.subject) || F.showByFeatureFlag && ((E = c(F.showByFeatureFlag)) == null ? void 0 : E.enabled) === !1 && a(F.showByFeatureFlag) === "true" || (h.has(x) || h.set(x, []), h.get(x).push({
|
|
2416
2416
|
label: l(`permissionSet.permissionLabels.${F.subject}`, F.label),
|
|
2417
2417
|
value: F.subject
|
|
2418
|
-
}),
|
|
2418
|
+
}), g.set(F.subject, F)));
|
|
2419
2419
|
}
|
|
2420
|
-
return [...
|
|
2421
|
-
const N = On.indexOf(F),
|
|
2422
|
-
return N === -1 &&
|
|
2420
|
+
return [...h.keys()].sort((F, x) => {
|
|
2421
|
+
const N = On.indexOf(F), R = On.indexOf(x);
|
|
2422
|
+
return N === -1 && R === -1 ? F.localeCompare(x) : N === -1 ? 1 : R === -1 ? -1 : N - R;
|
|
2423
2423
|
}).map((F) => {
|
|
2424
|
-
const x =
|
|
2425
|
-
for (const
|
|
2426
|
-
const Z =
|
|
2427
|
-
Z &&
|
|
2424
|
+
const x = h.get(F), N = l(`permissionSet.categoryLabels.${F}`, F), R = /* @__PURE__ */ new Map();
|
|
2425
|
+
for (const H of x) {
|
|
2426
|
+
const Z = g.get(H.value);
|
|
2427
|
+
Z && R.set(H.value, Z.actions);
|
|
2428
2428
|
}
|
|
2429
|
-
const v = x.some((
|
|
2430
|
-
const Z =
|
|
2429
|
+
const v = x.some((H) => {
|
|
2430
|
+
const Z = R.get(H.value);
|
|
2431
2431
|
return Z && Z.length > 1;
|
|
2432
2432
|
}), W = v ? [
|
|
2433
2433
|
...new Set(
|
|
2434
|
-
x.flatMap((
|
|
2434
|
+
x.flatMap((H) => R.get(H.value) ?? []).filter((H) => H !== "manage")
|
|
2435
2435
|
)
|
|
2436
2436
|
] : [], G = /* @__PURE__ */ new Map();
|
|
2437
|
-
for (const
|
|
2438
|
-
x.some((Z) => Z.value ===
|
|
2437
|
+
for (const H of e.value)
|
|
2438
|
+
x.some((Z) => Z.value === H.subject) && !H.inverted && G.set(H.subject, new Set(H.actions));
|
|
2439
2439
|
const j = v ? e.value.filter(
|
|
2440
|
-
(
|
|
2441
|
-
).map((
|
|
2440
|
+
(H) => x.some((Z) => Z.value === H.subject) && !H.inverted && H.actions.includes("manage")
|
|
2441
|
+
).map((H) => H.subject) : e.value.filter((H) => x.some((Z) => Z.value === H.subject) && !H.inverted).map((H) => H.subject), te = x.find((H) => {
|
|
2442
2442
|
var Z;
|
|
2443
|
-
return (Z =
|
|
2444
|
-
}),
|
|
2443
|
+
return (Z = g.get(H.value)) == null ? void 0 : Z.isCategoryCover;
|
|
2444
|
+
}), B = (te == null ? void 0 : te.value) ?? null, ge = B ? G.get(B) ?? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set(), fe = ge.has("manage");
|
|
2445
2445
|
return {
|
|
2446
2446
|
category: F,
|
|
2447
2447
|
label: N,
|
|
@@ -2449,151 +2449,151 @@ function _r(e, t, n, s) {
|
|
|
2449
2449
|
selectedSubjects: j,
|
|
2450
2450
|
isMultiAction: v,
|
|
2451
2451
|
actionColumns: W,
|
|
2452
|
-
permissionActionsMap:
|
|
2452
|
+
permissionActionsMap: R,
|
|
2453
2453
|
selectedActionsMap: G,
|
|
2454
|
-
coverSubject:
|
|
2455
|
-
coverSelectedActions:
|
|
2454
|
+
coverSubject: B,
|
|
2455
|
+
coverSelectedActions: ge,
|
|
2456
2456
|
coverCoversAll: fe
|
|
2457
2457
|
};
|
|
2458
2458
|
});
|
|
2459
2459
|
});
|
|
2460
|
-
function m(
|
|
2460
|
+
function m(h, g) {
|
|
2461
2461
|
var E;
|
|
2462
|
-
const
|
|
2462
|
+
const C = ((E = u.value.find((F) => F.category === h)) == null ? void 0 : E.options) ?? [];
|
|
2463
2463
|
s("update:model-value", [
|
|
2464
|
-
...e.value.filter((F) => !
|
|
2465
|
-
...t.value.filter((F) =>
|
|
2466
|
-
({ category: F, showByFeatureFlag: x, isCategoryCover: N, ...
|
|
2464
|
+
...e.value.filter((F) => !C.some((x) => x.value === F.subject)),
|
|
2465
|
+
...t.value.filter((F) => g.includes(F.subject)).map(
|
|
2466
|
+
({ category: F, showByFeatureFlag: x, isCategoryCover: N, ...R }) => R
|
|
2467
2467
|
)
|
|
2468
2468
|
]);
|
|
2469
2469
|
}
|
|
2470
|
-
function p(
|
|
2471
|
-
return
|
|
2470
|
+
function p(h) {
|
|
2471
|
+
return h.options.length > 0 && h.options.every((g) => h.selectedSubjects.includes(g.value));
|
|
2472
2472
|
}
|
|
2473
|
-
function y(
|
|
2474
|
-
if (
|
|
2475
|
-
const
|
|
2476
|
-
(
|
|
2473
|
+
function y(h) {
|
|
2474
|
+
if (h.options.length === 0) return !1;
|
|
2475
|
+
const g = h.options.filter(
|
|
2476
|
+
(C) => h.selectedSubjects.includes(C.value)
|
|
2477
2477
|
).length;
|
|
2478
|
-
return
|
|
2478
|
+
return g > 0 && g < h.options.length;
|
|
2479
2479
|
}
|
|
2480
|
-
function O(
|
|
2481
|
-
const
|
|
2482
|
-
(
|
|
2480
|
+
function O(h) {
|
|
2481
|
+
const g = e.value.filter(
|
|
2482
|
+
(C) => !h.options.some((E) => E.value === C.subject)
|
|
2483
2483
|
);
|
|
2484
|
-
if (p(
|
|
2485
|
-
s("update:model-value",
|
|
2484
|
+
if (p(h))
|
|
2485
|
+
s("update:model-value", g);
|
|
2486
2486
|
else {
|
|
2487
|
-
const
|
|
2487
|
+
const C = t.value.filter((E) => h.options.some((F) => F.value === E.subject)).map(
|
|
2488
2488
|
({ category: E, showByFeatureFlag: F, isCategoryCover: x, ...N }) => N
|
|
2489
2489
|
);
|
|
2490
|
-
s("update:model-value", [...
|
|
2490
|
+
s("update:model-value", [...g, ...C]);
|
|
2491
2491
|
}
|
|
2492
2492
|
}
|
|
2493
|
-
function L(
|
|
2494
|
-
const
|
|
2495
|
-
return
|
|
2493
|
+
function L(h, g) {
|
|
2494
|
+
const C = h.selectedActionsMap.get(g);
|
|
2495
|
+
return C ? C.has("manage") : !1;
|
|
2496
2496
|
}
|
|
2497
|
-
function w(
|
|
2498
|
-
const
|
|
2499
|
-
if (!
|
|
2500
|
-
const E =
|
|
2497
|
+
function w(h, g) {
|
|
2498
|
+
const C = h.permissionActionsMap.get(g);
|
|
2499
|
+
if (!C) return !1;
|
|
2500
|
+
const E = C.filter((N) => N !== "manage");
|
|
2501
2501
|
if (E.length === 0) return !1;
|
|
2502
|
-
const F =
|
|
2502
|
+
const F = h.selectedActionsMap.get(g);
|
|
2503
2503
|
if (!F) return !1;
|
|
2504
2504
|
const x = E.filter((N) => F.has(N));
|
|
2505
2505
|
return x.length > 0 && x.length < E.length;
|
|
2506
2506
|
}
|
|
2507
|
-
function V(
|
|
2508
|
-
if (
|
|
2509
|
-
const E = t.value.find((W) => W.subject ===
|
|
2507
|
+
function V(h, g, C) {
|
|
2508
|
+
if (C) {
|
|
2509
|
+
const E = t.value.find((W) => W.subject === g);
|
|
2510
2510
|
if (!E) return;
|
|
2511
2511
|
const {
|
|
2512
2512
|
category: F,
|
|
2513
2513
|
showByFeatureFlag: x,
|
|
2514
2514
|
isCategoryCover: N,
|
|
2515
|
-
...
|
|
2516
|
-
} = E, v = e.value.filter((W) => W.subject !==
|
|
2517
|
-
v.push(
|
|
2515
|
+
...R
|
|
2516
|
+
} = E, v = e.value.filter((W) => W.subject !== g);
|
|
2517
|
+
v.push(R), s("update:model-value", v);
|
|
2518
2518
|
} else
|
|
2519
2519
|
s(
|
|
2520
2520
|
"update:model-value",
|
|
2521
|
-
e.value.filter((E) => E.subject !==
|
|
2521
|
+
e.value.filter((E) => E.subject !== g)
|
|
2522
2522
|
);
|
|
2523
2523
|
}
|
|
2524
|
-
function A(
|
|
2525
|
-
const
|
|
2526
|
-
return
|
|
2524
|
+
function A(h, g) {
|
|
2525
|
+
const C = h.permissionActionsMap.get(g);
|
|
2526
|
+
return C ? C.some((E) => E !== "manage") : !1;
|
|
2527
2527
|
}
|
|
2528
|
-
function M(
|
|
2529
|
-
const E =
|
|
2530
|
-
return E ? E.has(
|
|
2528
|
+
function M(h, g, C) {
|
|
2529
|
+
const E = h.selectedActionsMap.get(g);
|
|
2530
|
+
return E ? E.has(C) : !1;
|
|
2531
2531
|
}
|
|
2532
|
-
function i(
|
|
2533
|
-
return !
|
|
2532
|
+
function i(h, g) {
|
|
2533
|
+
return !h.coverSubject || g === h.coverSubject ? !1 : h.coverCoversAll;
|
|
2534
2534
|
}
|
|
2535
|
-
function d(
|
|
2536
|
-
return !
|
|
2535
|
+
function d(h, g, C) {
|
|
2536
|
+
return !h.coverSubject || g === h.coverSubject ? !1 : h.coverCoversAll ? !0 : h.coverSelectedActions.has(C);
|
|
2537
2537
|
}
|
|
2538
|
-
function T(
|
|
2539
|
-
const E =
|
|
2540
|
-
return E ? E.includes(
|
|
2538
|
+
function T(h, g, C) {
|
|
2539
|
+
const E = h.permissionActionsMap.get(g);
|
|
2540
|
+
return E ? E.includes(C) : !1;
|
|
2541
2541
|
}
|
|
2542
|
-
function _(
|
|
2543
|
-
const E = [...e.value], F = E.findIndex((N) => N.subject ===
|
|
2544
|
-
if (
|
|
2542
|
+
function _(h, g, C) {
|
|
2543
|
+
const E = [...e.value], F = E.findIndex((N) => N.subject === h && !N.inverted);
|
|
2544
|
+
if (C)
|
|
2545
2545
|
if (F >= 0) {
|
|
2546
|
-
const N = { ...E[F] },
|
|
2547
|
-
|
|
2546
|
+
const N = { ...E[F] }, R = new Set(N.actions);
|
|
2547
|
+
R.add(g), N.actions = Array.from(R), E[F] = N;
|
|
2548
2548
|
} else {
|
|
2549
|
-
const N = t.value.find((j) => j.subject ===
|
|
2549
|
+
const N = t.value.find((j) => j.subject === h);
|
|
2550
2550
|
if (!N) return;
|
|
2551
2551
|
const {
|
|
2552
|
-
category:
|
|
2552
|
+
category: R,
|
|
2553
2553
|
showByFeatureFlag: v,
|
|
2554
2554
|
isCategoryCover: W,
|
|
2555
2555
|
...G
|
|
2556
2556
|
} = N;
|
|
2557
|
-
E.push({ ...G, actions: [
|
|
2557
|
+
E.push({ ...G, actions: [g] });
|
|
2558
2558
|
}
|
|
2559
2559
|
else if (F >= 0) {
|
|
2560
|
-
const N = { ...E[F] },
|
|
2561
|
-
|
|
2560
|
+
const N = { ...E[F] }, R = N.actions.filter((v) => v !== g);
|
|
2561
|
+
R.length === 0 ? E.splice(F, 1) : (N.actions = R, E[F] = N);
|
|
2562
2562
|
}
|
|
2563
|
-
const x = t.value.find((N) => N.subject ===
|
|
2564
|
-
x && Ln(E,
|
|
2563
|
+
const x = t.value.find((N) => N.subject === h);
|
|
2564
|
+
x && Ln(E, h, x.actions), s("update:model-value", E);
|
|
2565
2565
|
}
|
|
2566
|
-
function D(
|
|
2567
|
-
const
|
|
2568
|
-
(E) => T(
|
|
2566
|
+
function D(h, g) {
|
|
2567
|
+
const C = h.options.filter(
|
|
2568
|
+
(E) => T(h, E.value, g)
|
|
2569
2569
|
);
|
|
2570
|
-
return
|
|
2571
|
-
(E) => M(
|
|
2570
|
+
return C.length === 0 ? !1 : C.every(
|
|
2571
|
+
(E) => M(h, E.value, g) || d(h, E.value, g)
|
|
2572
2572
|
);
|
|
2573
2573
|
}
|
|
2574
|
-
function S(
|
|
2575
|
-
const
|
|
2576
|
-
(F) => T(
|
|
2574
|
+
function S(h, g) {
|
|
2575
|
+
const C = h.options.filter(
|
|
2576
|
+
(F) => T(h, F.value, g)
|
|
2577
2577
|
);
|
|
2578
|
-
if (
|
|
2579
|
-
const E =
|
|
2580
|
-
(F) => M(
|
|
2578
|
+
if (C.length === 0) return !1;
|
|
2579
|
+
const E = C.filter(
|
|
2580
|
+
(F) => M(h, F.value, g) || d(h, F.value, g)
|
|
2581
2581
|
).length;
|
|
2582
|
-
return E > 0 && E <
|
|
2582
|
+
return E > 0 && E < C.length;
|
|
2583
2583
|
}
|
|
2584
|
-
function I(
|
|
2584
|
+
function I(h, g, C) {
|
|
2585
2585
|
const E = [...e.value];
|
|
2586
|
-
for (const F of
|
|
2587
|
-
if (!T(
|
|
2586
|
+
for (const F of h.options) {
|
|
2587
|
+
if (!T(h, F.value, g)) continue;
|
|
2588
2588
|
const x = F.value, N = E.findIndex(
|
|
2589
2589
|
(v) => v.subject === x && !v.inverted
|
|
2590
2590
|
);
|
|
2591
|
-
if (
|
|
2591
|
+
if (C)
|
|
2592
2592
|
if (N >= 0) {
|
|
2593
2593
|
const v = { ...E[N] }, W = new Set(v.actions);
|
|
2594
|
-
W.add(
|
|
2594
|
+
W.add(g), v.actions = Array.from(W), E[N] = v;
|
|
2595
2595
|
} else {
|
|
2596
|
-
const v = t.value.find((
|
|
2596
|
+
const v = t.value.find((B) => B.subject === x);
|
|
2597
2597
|
if (!v) continue;
|
|
2598
2598
|
const {
|
|
2599
2599
|
category: W,
|
|
@@ -2601,20 +2601,20 @@ function _r(e, t, n, s) {
|
|
|
2601
2601
|
isCategoryCover: j,
|
|
2602
2602
|
...te
|
|
2603
2603
|
} = v;
|
|
2604
|
-
E.push({ ...te, actions: [
|
|
2604
|
+
E.push({ ...te, actions: [g] });
|
|
2605
2605
|
}
|
|
2606
2606
|
else if (N >= 0) {
|
|
2607
|
-
const v = { ...E[N] }, W = v.actions.filter((G) => G !==
|
|
2607
|
+
const v = { ...E[N] }, W = v.actions.filter((G) => G !== g);
|
|
2608
2608
|
W.length === 0 ? E.splice(N, 1) : (v.actions = W, E[N] = v);
|
|
2609
2609
|
}
|
|
2610
|
-
const
|
|
2611
|
-
|
|
2610
|
+
const R = t.value.find((v) => v.subject === x);
|
|
2611
|
+
R && Ln(E, x, R.actions);
|
|
2612
2612
|
}
|
|
2613
2613
|
s("update:model-value", E);
|
|
2614
2614
|
}
|
|
2615
|
-
function
|
|
2616
|
-
const
|
|
2617
|
-
return l(
|
|
2615
|
+
function Y(h) {
|
|
2616
|
+
const g = `permissionSet.actionLabels.${h}`, C = fr[h] ?? h.charAt(0).toUpperCase() + h.slice(1);
|
|
2617
|
+
return l(g, C);
|
|
2618
2618
|
}
|
|
2619
2619
|
return {
|
|
2620
2620
|
categoryGroups: u,
|
|
@@ -2634,10 +2634,10 @@ function _r(e, t, n, s) {
|
|
|
2634
2634
|
isAllActionChecked: D,
|
|
2635
2635
|
isAllActionIndeterminate: S,
|
|
2636
2636
|
toggleAllAction: I,
|
|
2637
|
-
actionLabel:
|
|
2637
|
+
actionLabel: Y
|
|
2638
2638
|
};
|
|
2639
2639
|
}
|
|
2640
|
-
const pr = { class: "flex flex-col gap-16" }, br = { class: "fm-typo-en-title-sm-600" }, hr = { class: "text-center text-sm font-semibold text-fm-color-typo-primary" },
|
|
2640
|
+
const pr = { class: "flex flex-col gap-16" }, br = { class: "fm-typo-en-title-sm-600" }, gr = { class: "mt-16" }, hr = { class: "text-center text-sm font-semibold text-fm-color-typo-primary" }, vr = ["onClick"], Ir = { class: "flex justify-center" }, Er = { class: "flex items-center min-w-0 gap-8" }, Nr = ["title", "onClick"], yr = { class: "flex justify-center" }, Tr = /* @__PURE__ */ ke({
|
|
2641
2641
|
__name: "BasePermission",
|
|
2642
2642
|
props: {
|
|
2643
2643
|
modelValue: {
|
|
@@ -2677,117 +2677,130 @@ const pr = { class: "flex flex-col gap-16" }, br = { class: "fm-typo-en-title-sm
|
|
|
2677
2677
|
toggleAllAction: _,
|
|
2678
2678
|
actionLabel: D
|
|
2679
2679
|
} = _r(
|
|
2680
|
-
|
|
2680
|
+
zt(n, "modelValue"),
|
|
2681
2681
|
a,
|
|
2682
|
-
|
|
2683
|
-
(I,
|
|
2682
|
+
zt(n, "excludedSubjects"),
|
|
2683
|
+
(I, Y) => s("update:model-value", Y)
|
|
2684
2684
|
);
|
|
2685
2685
|
function S(I) {
|
|
2686
|
-
const
|
|
2687
|
-
return
|
|
2686
|
+
const Y = I.selectedSubjects.length;
|
|
2687
|
+
return Y === 0 ? "" : l("team.memberForm.permissions.allowedCount", { count: Y });
|
|
2688
2688
|
}
|
|
2689
|
-
return (I,
|
|
2690
|
-
const
|
|
2691
|
-
return
|
|
2692
|
-
(
|
|
2693
|
-
key:
|
|
2694
|
-
subtitle: S(
|
|
2689
|
+
return (I, Y) => {
|
|
2690
|
+
const h = qe("FmCheckbox");
|
|
2691
|
+
return Q(), oe("div", pr, [
|
|
2692
|
+
(Q(!0), oe(Oe, null, he($(c), (g) => (Q(), Me(Zt, {
|
|
2693
|
+
key: g.category,
|
|
2694
|
+
subtitle: S(g)
|
|
2695
2695
|
}, {
|
|
2696
2696
|
title: pe(() => [
|
|
2697
|
-
|
|
2697
|
+
se("p", br, Ee(g.label), 1)
|
|
2698
2698
|
]),
|
|
2699
2699
|
default: pe(() => [
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
X[0] || (X[0] = ae("div", null, null, -1)),
|
|
2707
|
-
ae("div", hr, Ee($(l)("team.memberForm.permissions.columnManage")), 1),
|
|
2708
|
-
(z(!0), oe(Te, null, ge(h.actionColumns, (R) => (z(), oe("div", {
|
|
2709
|
-
key: `header-${R}`,
|
|
2710
|
-
class: "text-center text-sm font-semibold text-fm-color-typo-primary"
|
|
2711
|
-
}, Ee($(D)(R)), 1))), 128)),
|
|
2712
|
-
ae("div", {
|
|
2713
|
-
class: "cursor-pointer",
|
|
2714
|
-
onClick: (R) => !e.disable && $(p)(h)
|
|
2715
|
-
}, Ee($(l)("team.labels.all")), 9, gr),
|
|
2716
|
-
ae("div", vr, [
|
|
2717
|
-
_e(g, {
|
|
2718
|
-
"model-value": $(u)(h),
|
|
2719
|
-
indeterminate: $(m)(h),
|
|
2720
|
-
value: !0,
|
|
2721
|
-
disabled: e.disable,
|
|
2722
|
-
size: "sm",
|
|
2723
|
-
dense: "",
|
|
2724
|
-
"onUpdate:modelValue": (R) => $(p)(h)
|
|
2725
|
-
}, null, 8, ["model-value", "indeterminate", "disabled", "onUpdate:modelValue"])
|
|
2726
|
-
]),
|
|
2727
|
-
(z(!0), oe(Te, null, ge(h.actionColumns, (R) => (z(), oe("div", {
|
|
2728
|
-
key: `all-${R}`,
|
|
2729
|
-
class: "flex justify-center"
|
|
2700
|
+
se("div", gr, [
|
|
2701
|
+
se("div", {
|
|
2702
|
+
class: "grid items-center px-12 py-8",
|
|
2703
|
+
style: Ze({
|
|
2704
|
+
gridTemplateColumns: `minmax(0, 1fr) repeat(${g.actionColumns.length + 1}, 80px)`
|
|
2705
|
+
})
|
|
2730
2706
|
}, [
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2707
|
+
Y[0] || (Y[0] = se("div", null, null, -1)),
|
|
2708
|
+
se("div", hr, Ee($(l)("team.memberForm.permissions.columnManage")), 1),
|
|
2709
|
+
(Q(!0), oe(Oe, null, he(g.actionColumns, (C) => (Q(), oe("div", {
|
|
2710
|
+
key: `header-${C}`,
|
|
2711
|
+
class: "text-center text-sm font-semibold text-fm-color-typo-primary"
|
|
2712
|
+
}, Ee($(D)(C)), 1))), 128))
|
|
2713
|
+
], 4),
|
|
2714
|
+
se("div", {
|
|
2715
|
+
class: "grid items-center bg-fm-color-neutral-gray-100 px-12 py-8",
|
|
2716
|
+
style: Ze({
|
|
2717
|
+
gridTemplateColumns: `minmax(0, 1fr) repeat(${g.actionColumns.length + 1}, 80px)`
|
|
2718
|
+
})
|
|
2719
|
+
}, [
|
|
2720
|
+
se("div", {
|
|
2721
|
+
class: "cursor-pointer font-semibold",
|
|
2722
|
+
onClick: (C) => !e.disable && $(p)(g)
|
|
2723
|
+
}, Ee($(l)("team.labels.all")), 9, vr),
|
|
2724
|
+
se("div", Ir, [
|
|
2725
|
+
_e(h, {
|
|
2726
|
+
"model-value": $(u)(g),
|
|
2727
|
+
indeterminate: $(m)(g),
|
|
2728
|
+
value: !0,
|
|
2729
|
+
disabled: e.disable,
|
|
2730
|
+
size: "sm",
|
|
2731
|
+
dense: "",
|
|
2732
|
+
"onUpdate:modelValue": (C) => $(p)(g)
|
|
2733
|
+
}, null, 8, ["model-value", "indeterminate", "disabled", "onUpdate:modelValue"])
|
|
2734
|
+
]),
|
|
2735
|
+
(Q(!0), oe(Oe, null, he(g.actionColumns, (C) => (Q(), oe("div", {
|
|
2736
|
+
key: `all-${C}`,
|
|
2737
|
+
class: "flex justify-center"
|
|
2738
|
+
}, [
|
|
2739
|
+
_e(h, {
|
|
2740
|
+
"model-value": $(d)(g, C),
|
|
2741
|
+
indeterminate: $(T)(g, C),
|
|
2742
|
+
value: C,
|
|
2743
|
+
disabled: e.disable,
|
|
2744
|
+
size: "sm",
|
|
2745
|
+
dense: "",
|
|
2746
|
+
"onUpdate:modelValue": (E) => $(_)(g, C, E)
|
|
2747
|
+
}, null, 8, ["model-value", "indeterminate", "value", "disabled", "onUpdate:modelValue"])
|
|
2748
|
+
]))), 128))
|
|
2749
|
+
], 4),
|
|
2750
|
+
Y[1] || (Y[1] = se("div", { class: "h-px bg-fm-color-neutral-gray-200" }, null, -1)),
|
|
2751
|
+
(Q(!0), oe(Oe, null, he(g.options, (C) => (Q(), oe("div", {
|
|
2752
|
+
key: C.value,
|
|
2753
|
+
class: "grid items-center rounded px-12 py-8 transition-colors hover:bg-fm-color-neutral-gray-100",
|
|
2754
|
+
style: Ze({
|
|
2755
|
+
gridTemplateColumns: `minmax(0, 1fr) repeat(${g.actionColumns.length + 1}, 80px)`
|
|
2756
|
+
})
|
|
2744
2757
|
}, [
|
|
2745
|
-
|
|
2746
|
-
|
|
2758
|
+
se("div", Er, [
|
|
2759
|
+
se("span", {
|
|
2747
2760
|
class: "block truncate cursor-pointer",
|
|
2748
|
-
title:
|
|
2749
|
-
onClick: (E) => !e.disable && !$(V)(
|
|
2750
|
-
}, Ee(
|
|
2751
|
-
|
|
2761
|
+
title: C.label,
|
|
2762
|
+
onClick: (E) => !e.disable && !$(V)(g, C.value) && $(L)(g, C.value, !$(y)(g, C.value))
|
|
2763
|
+
}, Ee(C.label), 9, Nr),
|
|
2764
|
+
Te(I.$slots, `checkbox-${C.value}-append`, { option: C })
|
|
2752
2765
|
]),
|
|
2753
|
-
|
|
2754
|
-
_e(
|
|
2755
|
-
"model-value": $(y)(
|
|
2756
|
-
value:
|
|
2757
|
-
disabled: e.disable || $(V)(
|
|
2758
|
-
indeterminate: $(O)(
|
|
2766
|
+
se("div", yr, [
|
|
2767
|
+
_e(h, {
|
|
2768
|
+
"model-value": $(y)(g, C.value) || $(V)(g, C.value),
|
|
2769
|
+
value: C.value,
|
|
2770
|
+
disabled: e.disable || $(V)(g, C.value),
|
|
2771
|
+
indeterminate: $(O)(g, C.value),
|
|
2759
2772
|
size: "sm",
|
|
2760
|
-
"onUpdate:modelValue": (E) => $(L)(
|
|
2773
|
+
"onUpdate:modelValue": (E) => $(L)(g, C.value, E)
|
|
2761
2774
|
}, null, 8, ["model-value", "value", "disabled", "indeterminate", "onUpdate:modelValue"])
|
|
2762
2775
|
]),
|
|
2763
|
-
(
|
|
2764
|
-
key: `${
|
|
2776
|
+
(Q(!0), oe(Oe, null, he(g.actionColumns, (E) => (Q(), oe("div", {
|
|
2777
|
+
key: `${C.value}-${E}`,
|
|
2765
2778
|
class: "flex justify-center"
|
|
2766
2779
|
}, [
|
|
2767
|
-
$(M)(
|
|
2780
|
+
$(M)(g, C.value, E) ? (Q(), Me(h, {
|
|
2768
2781
|
key: 0,
|
|
2769
|
-
"model-value": $(w)(
|
|
2782
|
+
"model-value": $(w)(g, C.value, E) || $(A)(g, C.value, E),
|
|
2770
2783
|
value: E,
|
|
2771
|
-
disabled: e.disable || $(A)(
|
|
2784
|
+
disabled: e.disable || $(A)(g, C.value, E),
|
|
2772
2785
|
size: "sm",
|
|
2773
|
-
"onUpdate:modelValue": (F) => $(i)(
|
|
2786
|
+
"onUpdate:modelValue": (F) => $(i)(C.value, E, F)
|
|
2774
2787
|
}, null, 8, ["model-value", "value", "disabled", "onUpdate:modelValue"])) : Se("", !0)
|
|
2775
2788
|
]))), 128))
|
|
2776
|
-
],
|
|
2777
|
-
]
|
|
2789
|
+
], 4))), 128))
|
|
2790
|
+
])
|
|
2778
2791
|
]),
|
|
2779
2792
|
_: 2
|
|
2780
2793
|
}, 1032, ["subtitle"]))), 128))
|
|
2781
2794
|
]);
|
|
2782
2795
|
};
|
|
2783
2796
|
}
|
|
2784
|
-
}),
|
|
2797
|
+
}), kr = { class: "space-y-16" }, Lr = {
|
|
2785
2798
|
key: 0,
|
|
2786
2799
|
class: "flex fm-typo-en-title-sm-600"
|
|
2787
|
-
},
|
|
2800
|
+
}, Or = {
|
|
2788
2801
|
key: 0,
|
|
2789
2802
|
class: "q-mr-xs text-red col"
|
|
2790
|
-
},
|
|
2803
|
+
}, Cr = { class: "form-input" }, Rr = /* @__PURE__ */ ke({
|
|
2791
2804
|
__name: "AppForm",
|
|
2792
2805
|
props: {
|
|
2793
2806
|
title: {
|
|
@@ -2805,33 +2818,33 @@ const pr = { class: "flex flex-col gap-16" }, br = { class: "fm-typo-en-title-sm
|
|
|
2805
2818
|
},
|
|
2806
2819
|
setup(e) {
|
|
2807
2820
|
const t = e;
|
|
2808
|
-
return (n, s) => (
|
|
2809
|
-
|
|
2810
|
-
t.title ? (
|
|
2811
|
-
|
|
2812
|
-
t.required ? (
|
|
2821
|
+
return (n, s) => (Q(), oe("div", kr, [
|
|
2822
|
+
Te(n.$slots, "top", {}, () => [
|
|
2823
|
+
t.title ? (Q(), oe("div", Lr, [
|
|
2824
|
+
se("div", null, [
|
|
2825
|
+
t.required ? (Q(), oe("span", Or, "*")) : Se("", !0),
|
|
2813
2826
|
qn(Ee(t.title), 1)
|
|
2814
2827
|
]),
|
|
2815
|
-
|
|
2828
|
+
Te(n.$slots, "title-right")
|
|
2816
2829
|
])) : Se("", !0)
|
|
2817
2830
|
]),
|
|
2818
|
-
|
|
2819
|
-
|
|
2831
|
+
se("div", Cr, [
|
|
2832
|
+
Te(n.$slots, "default")
|
|
2820
2833
|
])
|
|
2821
2834
|
]));
|
|
2822
2835
|
}
|
|
2823
2836
|
});
|
|
2824
|
-
function
|
|
2837
|
+
function Ar(e, t) {
|
|
2825
2838
|
let n = "", s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
2826
2839
|
const l = s.length;
|
|
2827
2840
|
for (let a = 0; a < e; a++)
|
|
2828
2841
|
n += s.charAt(Math.floor(Math.random() * l));
|
|
2829
2842
|
return n;
|
|
2830
2843
|
}
|
|
2831
|
-
const
|
|
2844
|
+
const Sr = { class: "col flex items-center" }, Mr = {
|
|
2832
2845
|
key: 1,
|
|
2833
2846
|
class: "q-pa-sm form-error-message text-error"
|
|
2834
|
-
},
|
|
2847
|
+
}, Hn = /* @__PURE__ */ ke({
|
|
2835
2848
|
__name: "CheckboxInput",
|
|
2836
2849
|
props: {
|
|
2837
2850
|
options: {
|
|
@@ -2889,7 +2902,7 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
2889
2902
|
},
|
|
2890
2903
|
emits: ["update:model-value"],
|
|
2891
2904
|
setup(e, { emit: t }) {
|
|
2892
|
-
const n = e, s = t, { t: l } = He(), a = bt(!1), c = es(), u = q(() => n.modelValue.length < n.min ? `Min selection ${n.min}` : n.max !== void 0 && n.modelValue.length > n.max ? `Max selection ${n.max}` : !0), m = `checkbox-${
|
|
2905
|
+
const n = e, s = t, { t: l } = He(), a = bt(!1), c = es(), u = q(() => n.modelValue.length < n.min ? `Min selection ${n.min}` : n.max !== void 0 && n.modelValue.length > n.max ? `Max selection ${n.max}` : !0), m = `checkbox-${Ar(6)}`, p = q(() => u.value !== !0), y = q(
|
|
2893
2906
|
() => n.modelValue.filter((A) => n.options.some((M) => M.value === A))
|
|
2894
2907
|
), O = q(
|
|
2895
2908
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
@@ -2908,36 +2921,36 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
2908
2921
|
M ? i.every((d) => d !== A) && i.push(A) : i = i.filter((d) => d !== A), s("update:model-value", i);
|
|
2909
2922
|
}
|
|
2910
2923
|
return (A, M) => {
|
|
2911
|
-
const i =
|
|
2912
|
-
return
|
|
2924
|
+
const i = qe("FmCheckbox");
|
|
2925
|
+
return Q(), Me(Rr, {
|
|
2913
2926
|
id: m,
|
|
2914
2927
|
title: e.title,
|
|
2915
2928
|
required: !1
|
|
2916
2929
|
}, {
|
|
2917
2930
|
top: pe(() => [
|
|
2918
|
-
|
|
2931
|
+
Te(A.$slots, "top")
|
|
2919
2932
|
]),
|
|
2920
2933
|
default: pe(() => [
|
|
2921
|
-
n.showAllToggle ? (
|
|
2934
|
+
n.showAllToggle ? (Q(), Me(i, {
|
|
2922
2935
|
key: 0,
|
|
2923
2936
|
"model-value": L.value,
|
|
2924
2937
|
disabled: e.disable,
|
|
2925
2938
|
label: O.value,
|
|
2926
|
-
style:
|
|
2939
|
+
style: Ze(`margin-bottom: ${n.gutter}px`),
|
|
2927
2940
|
size: "sm",
|
|
2928
2941
|
dense: "",
|
|
2929
2942
|
value: O.value,
|
|
2930
2943
|
"onUpdate:modelValue": w
|
|
2931
2944
|
}, null, 8, ["model-value", "disabled", "label", "style", "value"])) : Se("", !0),
|
|
2932
|
-
(
|
|
2945
|
+
(Q(!0), oe(Oe, null, he(e.options, (d, T) => (Q(), oe("div", {
|
|
2933
2946
|
key: d.value,
|
|
2934
|
-
style:
|
|
2935
|
-
class:
|
|
2947
|
+
style: Ze(`margin-bottom: ${T < e.options.length - 1 ? n.gutter : 0}px`),
|
|
2948
|
+
class: rt(T < e.options.length - 1 ? "q-mb-sm" : "")
|
|
2936
2949
|
}, [
|
|
2937
|
-
|
|
2938
|
-
class:
|
|
2950
|
+
se("div", {
|
|
2951
|
+
class: rt(["row justify-between", e.alignCenter ? "items-center" : "items-start"])
|
|
2939
2952
|
}, [
|
|
2940
|
-
|
|
2953
|
+
se("div", Sr, [
|
|
2941
2954
|
_e(i, {
|
|
2942
2955
|
"model-value": e.modelValue.includes(d.value),
|
|
2943
2956
|
disabled: e.disable || d.disabled,
|
|
@@ -2946,41 +2959,41 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
2946
2959
|
value: d.label,
|
|
2947
2960
|
"onUpdate:modelValue": (_) => V(d.value, _)
|
|
2948
2961
|
}, null, 8, ["model-value", "disabled", "label", "value", "onUpdate:modelValue"]),
|
|
2949
|
-
|
|
2962
|
+
Te(A.$slots, `checkbox-${d.key || d.value}-append`, {
|
|
2950
2963
|
option: d,
|
|
2951
2964
|
selected: e.modelValue.includes(d.value)
|
|
2952
2965
|
})
|
|
2953
2966
|
]),
|
|
2954
|
-
$(c)[`checkbox-${d.key || d.value}-end`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (
|
|
2967
|
+
$(c)[`checkbox-${d.key || d.value}-end`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (Q(), oe("div", {
|
|
2955
2968
|
key: 0,
|
|
2956
|
-
class:
|
|
2969
|
+
class: rt([{ "q-checkbox disabled": e.disable || d.disabled }, "col"])
|
|
2957
2970
|
}, [
|
|
2958
|
-
|
|
2971
|
+
Te(A.$slots, `checkbox-${d.key || d.value}-end`, {
|
|
2959
2972
|
option: d,
|
|
2960
2973
|
value: e.modelValue.includes(d.value),
|
|
2961
2974
|
disable: e.disable || d.disabled
|
|
2962
2975
|
})
|
|
2963
2976
|
], 2)) : Se("", !0)
|
|
2964
2977
|
], 2),
|
|
2965
|
-
$(c)[`checkbox-${d.key || d.value}-bottom`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (
|
|
2978
|
+
$(c)[`checkbox-${d.key || d.value}-bottom`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (Q(), oe("div", {
|
|
2966
2979
|
key: 0,
|
|
2967
|
-
class:
|
|
2968
|
-
style:
|
|
2980
|
+
class: rt(["q-mt-sm", { "q-checkbox disabled": e.disable || d.disabled }]),
|
|
2981
|
+
style: Ze(`margin-left: ${e.bottomSlotIndent}`)
|
|
2969
2982
|
}, [
|
|
2970
|
-
|
|
2983
|
+
Te(A.$slots, `checkbox-${d.key || d.value}-bottom`, {
|
|
2971
2984
|
option: d,
|
|
2972
2985
|
disable: e.disable || d.disabled,
|
|
2973
2986
|
value: e.modelValue.includes(d.value)
|
|
2974
2987
|
})
|
|
2975
2988
|
], 6)) : Se("", !0)
|
|
2976
2989
|
], 6))), 128)),
|
|
2977
|
-
a.value && p.value ? (
|
|
2990
|
+
a.value && p.value ? (Q(), oe("div", Mr, Ee(u.value), 1)) : Se("", !0)
|
|
2978
2991
|
]),
|
|
2979
2992
|
_: 3
|
|
2980
2993
|
}, 8, ["title"]);
|
|
2981
2994
|
};
|
|
2982
2995
|
}
|
|
2983
|
-
}),
|
|
2996
|
+
}), Dr = { class: "fm-typo-en-title-sm-600" }, ut = "includedFuture", Cn = /* @__PURE__ */ ke({
|
|
2984
2997
|
__name: "ConditionPermission",
|
|
2985
2998
|
props: {
|
|
2986
2999
|
modelValue: {
|
|
@@ -3005,37 +3018,37 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3005
3018
|
const n = e, s = t, { t: l } = He(), a = q(() => [
|
|
3006
3019
|
{
|
|
3007
3020
|
label: l("team.memberForm.permissions.includedFuture", { context: n.context }),
|
|
3008
|
-
value:
|
|
3021
|
+
value: ut,
|
|
3009
3022
|
// Can only be selected if all other options are selected
|
|
3010
3023
|
disabled: !!n.modelValue && n.options.length > n.modelValue.length
|
|
3011
3024
|
},
|
|
3012
3025
|
...n.options.filter(
|
|
3013
3026
|
(y) => y.label.toLocaleLowerCase().includes(p.value.toLocaleLowerCase())
|
|
3014
3027
|
)
|
|
3015
|
-
]), c = q(() => n.modelValue ? n.modelValue : [
|
|
3016
|
-
const y = c.value.filter((O) => O !==
|
|
3028
|
+
]), c = q(() => n.modelValue ? n.modelValue : [ut, ...n.options.map((y) => y.value)]), u = q(() => {
|
|
3029
|
+
const y = c.value.filter((O) => O !== ut).length;
|
|
3017
3030
|
return y === 0 ? "" : l("team.memberForm.permissions.allowedCount", { count: y });
|
|
3018
3031
|
});
|
|
3019
3032
|
function m(y) {
|
|
3020
3033
|
const O = y.length === a.value.length;
|
|
3021
|
-
s("update:model-value", O ? null : y.filter((L) => L !==
|
|
3034
|
+
s("update:model-value", O ? null : y.filter((L) => L !== ut));
|
|
3022
3035
|
}
|
|
3023
3036
|
const p = bt("");
|
|
3024
3037
|
return (y, O) => {
|
|
3025
|
-
const L =
|
|
3026
|
-
return
|
|
3038
|
+
const L = qe("fm-search");
|
|
3039
|
+
return Q(), Me(Zt, { subtitle: u.value }, {
|
|
3027
3040
|
title: pe(() => [
|
|
3028
|
-
|
|
3041
|
+
se("p", Dr, Ee($(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
3029
3042
|
]),
|
|
3030
3043
|
default: pe(() => [
|
|
3031
|
-
e.options.length > 1 ? (
|
|
3044
|
+
e.options.length > 1 ? (Q(), Me(L, {
|
|
3032
3045
|
key: 0,
|
|
3033
3046
|
modelValue: p.value,
|
|
3034
3047
|
"onUpdate:modelValue": O[0] || (O[0] = (w) => p.value = w),
|
|
3035
3048
|
class: "mt-16",
|
|
3036
3049
|
placeholder: $(l)("team.memberForm.permissions.search", { context: e.context })
|
|
3037
3050
|
}, null, 8, ["modelValue", "placeholder"])) : Se("", !0),
|
|
3038
|
-
_e(
|
|
3051
|
+
_e(Hn, {
|
|
3039
3052
|
"model-value": c.value,
|
|
3040
3053
|
options: a.value,
|
|
3041
3054
|
"show-intermediate": !1,
|
|
@@ -3046,10 +3059,10 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3046
3059
|
class: "mt-16",
|
|
3047
3060
|
"onUpdate:modelValue": m
|
|
3048
3061
|
}, xe({ _: 2 }, [
|
|
3049
|
-
|
|
3062
|
+
he(a.value, (w) => ({
|
|
3050
3063
|
name: `checkbox-${w.value}-append`,
|
|
3051
3064
|
fn: pe(({ option: V }) => [
|
|
3052
|
-
|
|
3065
|
+
Te(y.$slots, `checkbox-${w.value}-append`, { option: V })
|
|
3053
3066
|
])
|
|
3054
3067
|
}))
|
|
3055
3068
|
]), 1032, ["model-value", "options", "disable"])
|
|
@@ -3058,7 +3071,7 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3058
3071
|
}, 8, ["subtitle"]);
|
|
3059
3072
|
};
|
|
3060
3073
|
}
|
|
3061
|
-
}),
|
|
3074
|
+
}), wr = { class: "fm-typo-en-title-sm-600" }, mt = "includedNewRole", Pr = /* @__PURE__ */ ke({
|
|
3062
3075
|
__name: "PosRolePermission",
|
|
3063
3076
|
props: {
|
|
3064
3077
|
modelValue: {
|
|
@@ -3085,7 +3098,7 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3085
3098
|
return [
|
|
3086
3099
|
{
|
|
3087
3100
|
label: l("team.memberForm.permissions.includedNewRole"),
|
|
3088
|
-
value:
|
|
3101
|
+
value: mt,
|
|
3089
3102
|
disabled: !!n.modelValue && n.roles.length > n.modelValue.length
|
|
3090
3103
|
},
|
|
3091
3104
|
...n.roles.map((y) => ({
|
|
@@ -3094,20 +3107,20 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3094
3107
|
disabled: !!p && y.restaurants.every(({ id: O }) => !p.includes(O))
|
|
3095
3108
|
}))
|
|
3096
3109
|
];
|
|
3097
|
-
}), c = q(() => n.modelValue ? n.modelValue : [
|
|
3098
|
-
const p = c.value.filter((y) => y !==
|
|
3110
|
+
}), c = q(() => n.modelValue ? n.modelValue : [mt, ...n.roles.map((p) => p._id)]), u = q(() => {
|
|
3111
|
+
const p = c.value.filter((y) => y !== mt).length;
|
|
3099
3112
|
return p === 0 ? "" : l("team.memberForm.permissions.allowedCount", { count: p });
|
|
3100
3113
|
});
|
|
3101
3114
|
function m(p) {
|
|
3102
3115
|
const y = p.length === a.value.length;
|
|
3103
|
-
s("update:model-value", y ? null : p.filter((O) => O !==
|
|
3116
|
+
s("update:model-value", y ? null : p.filter((O) => O !== mt));
|
|
3104
3117
|
}
|
|
3105
|
-
return (p, y) => (
|
|
3118
|
+
return (p, y) => (Q(), Me(Zt, { subtitle: u.value }, {
|
|
3106
3119
|
title: pe(() => [
|
|
3107
|
-
|
|
3120
|
+
se("p", wr, Ee($(l)("team.memberForm.permissions.roles")), 1)
|
|
3108
3121
|
]),
|
|
3109
3122
|
default: pe(() => [
|
|
3110
|
-
_e(
|
|
3123
|
+
_e(Hn, {
|
|
3111
3124
|
"model-value": c.value,
|
|
3112
3125
|
options: a.value,
|
|
3113
3126
|
"show-intermediate": !1,
|
|
@@ -3117,10 +3130,10 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3117
3130
|
class: "mt-16",
|
|
3118
3131
|
"onUpdate:modelValue": m
|
|
3119
3132
|
}, xe({ _: 2 }, [
|
|
3120
|
-
|
|
3133
|
+
he(a.value, (O) => ({
|
|
3121
3134
|
name: `checkbox-${O.value}-append`,
|
|
3122
3135
|
fn: pe(({ option: L }) => [
|
|
3123
|
-
|
|
3136
|
+
Te(p.$slots, `checkbox-${O.value}-append`, { option: L })
|
|
3124
3137
|
])
|
|
3125
3138
|
}))
|
|
3126
3139
|
]), 1032, ["model-value", "options", "disable"])
|
|
@@ -3128,13 +3141,13 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3128
3141
|
_: 3
|
|
3129
3142
|
}, 8, ["subtitle"]));
|
|
3130
3143
|
}
|
|
3131
|
-
}),
|
|
3144
|
+
}), Fr = {
|
|
3132
3145
|
async readWarehouses() {
|
|
3133
3146
|
return us(await ms().get("/warehouses"));
|
|
3134
3147
|
}
|
|
3135
|
-
},
|
|
3148
|
+
}, jr = { 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" }, Gr = { 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" }, zr = /* @__PURE__ */ ke({
|
|
3136
3149
|
__name: "PortalPermissionEditor",
|
|
3137
|
-
props: /* @__PURE__ */
|
|
3150
|
+
props: /* @__PURE__ */ Qt({
|
|
3138
3151
|
disable: {
|
|
3139
3152
|
type: Boolean,
|
|
3140
3153
|
default: !1
|
|
@@ -3147,11 +3160,11 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3147
3160
|
modelValue: { default: () => [] },
|
|
3148
3161
|
modelModifiers: {}
|
|
3149
3162
|
}),
|
|
3150
|
-
emits: /* @__PURE__ */
|
|
3163
|
+
emits: /* @__PURE__ */ Qt(["permissionChanged"], ["update:modelValue"]),
|
|
3151
3164
|
setup(e, { emit: t }) {
|
|
3152
3165
|
const n = ts(e, "modelValue"), s = e, l = t, { t: a } = He(), { fetchCustomReportPermissions: c, customReportPermissions: u } = ss();
|
|
3153
3166
|
function m(N) {
|
|
3154
|
-
return Mt.find((
|
|
3167
|
+
return Mt.find((R) => R.subject === N) ?? u.value.find((R) => R.subject === N);
|
|
3155
3168
|
}
|
|
3156
3169
|
const p = q(() => {
|
|
3157
3170
|
const N = [...Mt, ...u.value].filter((v) => !w.includes(v.subject)).map((v) => v.subject);
|
|
@@ -3165,38 +3178,38 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3165
3178
|
setNames: v.setNames
|
|
3166
3179
|
}));
|
|
3167
3180
|
}), y = q(() => {
|
|
3168
|
-
const N = s.inheritPermissions.map((
|
|
3169
|
-
...
|
|
3170
|
-
permissions:
|
|
3181
|
+
const N = s.inheritPermissions.map((R) => ({
|
|
3182
|
+
...R,
|
|
3183
|
+
permissions: R.permissions.filter(
|
|
3171
3184
|
(v) => v.subject === ue.Subject.Business.inventory_stock
|
|
3172
3185
|
)
|
|
3173
3186
|
}));
|
|
3174
3187
|
return kt(
|
|
3175
3188
|
N,
|
|
3176
3189
|
"warehouseId",
|
|
3177
|
-
A.value.map((
|
|
3190
|
+
A.value.map((R) => R._id)
|
|
3178
3191
|
);
|
|
3179
3192
|
}), O = q(() => {
|
|
3180
|
-
const N = s.inheritPermissions.map((
|
|
3181
|
-
...
|
|
3182
|
-
permissions:
|
|
3193
|
+
const N = s.inheritPermissions.map((R) => ({
|
|
3194
|
+
...R,
|
|
3195
|
+
permissions: R.permissions.filter(
|
|
3183
3196
|
(v) => v.subject === ue.Subject.Restaurant.restaurant
|
|
3184
3197
|
)
|
|
3185
3198
|
}));
|
|
3186
3199
|
return kt(
|
|
3187
3200
|
N,
|
|
3188
3201
|
"restaurantId",
|
|
3189
|
-
T.value.map((
|
|
3202
|
+
T.value.map((R) => R._id)
|
|
3190
3203
|
);
|
|
3191
3204
|
}), L = q(() => {
|
|
3192
|
-
const N = s.inheritPermissions.map((
|
|
3193
|
-
...
|
|
3194
|
-
permissions:
|
|
3205
|
+
const N = s.inheritPermissions.map((R) => ({
|
|
3206
|
+
...R,
|
|
3207
|
+
permissions: R.permissions.filter((v) => v.subject === ue.Subject.Business.role)
|
|
3195
3208
|
}));
|
|
3196
3209
|
return kt(
|
|
3197
3210
|
N,
|
|
3198
3211
|
"roleId",
|
|
3199
|
-
_.value.map((
|
|
3212
|
+
_.value.map((R) => R._id)
|
|
3200
3213
|
);
|
|
3201
3214
|
}), w = [
|
|
3202
3215
|
ue.Subject.Business.restaurant,
|
|
@@ -3204,8 +3217,8 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3204
3217
|
ue.Subject.Restaurant.restaurant,
|
|
3205
3218
|
ue.Subject.Business.inventory_stock
|
|
3206
3219
|
], V = q(() => {
|
|
3207
|
-
var
|
|
3208
|
-
const N = (
|
|
3220
|
+
var R;
|
|
3221
|
+
const N = (R = n.value) == null ? void 0 : R.find(
|
|
3209
3222
|
(v) => v.subject === ue.Subject.Business.inventory_stock
|
|
3210
3223
|
);
|
|
3211
3224
|
return N ? N.conditions ? JSON.parse(N.conditions).warehouseId.$in : null : [];
|
|
@@ -3214,83 +3227,83 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3214
3227
|
value: N._id
|
|
3215
3228
|
})));
|
|
3216
3229
|
function i(N) {
|
|
3217
|
-
const
|
|
3218
|
-
n.value =
|
|
3230
|
+
const R = d(n.value, N);
|
|
3231
|
+
n.value = R;
|
|
3219
3232
|
}
|
|
3220
|
-
function d(N,
|
|
3233
|
+
function d(N, R) {
|
|
3221
3234
|
let v = dt(
|
|
3222
3235
|
N.filter((W) => W.subject !== ue.Subject.Business.inventory_stock)
|
|
3223
3236
|
);
|
|
3224
|
-
if (!
|
|
3237
|
+
if (!R || R.length > 0) {
|
|
3225
3238
|
const W = {
|
|
3226
3239
|
actions: [ue.Action.manage],
|
|
3227
3240
|
subject: ue.Subject.Business.inventory_stock
|
|
3228
3241
|
};
|
|
3229
|
-
|
|
3242
|
+
R && (W.conditions = JSON.stringify({ warehouseId: { $in: R } })), v.push(W);
|
|
3230
3243
|
}
|
|
3231
3244
|
return v;
|
|
3232
3245
|
}
|
|
3233
3246
|
const { restaurants: T } = ns(), _ = ds().roles, D = q(() => T.value.map((N) => ({
|
|
3234
3247
|
label: `${N.profile.code ? N.profile.code + "-" : ""}${N.profile.name}`,
|
|
3235
3248
|
value: N._id
|
|
3236
|
-
}))), S = q(() => T.value.reduce((N,
|
|
3237
|
-
function
|
|
3238
|
-
const
|
|
3239
|
-
n.value =
|
|
3249
|
+
}))), S = q(() => T.value.reduce((N, R) => (N[R._id] = _.value.filter((v) => v.restaurants.some((W) => W.id === R._id)).map((v) => v._id), N), {})), I = q(() => rs(n.value));
|
|
3250
|
+
function Y(N) {
|
|
3251
|
+
const R = g(n.value, N);
|
|
3252
|
+
n.value = R;
|
|
3240
3253
|
}
|
|
3241
|
-
const
|
|
3242
|
-
function
|
|
3254
|
+
const h = q(() => ls(n.value));
|
|
3255
|
+
function g(N, R) {
|
|
3243
3256
|
var W;
|
|
3244
3257
|
let v = dt(
|
|
3245
3258
|
N.filter(
|
|
3246
3259
|
(G) => G.subject !== ue.Subject.Business.restaurant && G.subject !== ue.Subject.Restaurant.restaurant
|
|
3247
3260
|
)
|
|
3248
3261
|
);
|
|
3249
|
-
if (!
|
|
3262
|
+
if (!R || R.length > 0) {
|
|
3250
3263
|
const {
|
|
3251
3264
|
category: G,
|
|
3252
3265
|
showByFeatureFlag: j,
|
|
3253
3266
|
...te
|
|
3254
3267
|
} = cs.restaurant;
|
|
3255
3268
|
v.push(te);
|
|
3256
|
-
const
|
|
3269
|
+
const B = {
|
|
3257
3270
|
actions: [ue.Action.manage],
|
|
3258
3271
|
subject: ue.Subject.Restaurant.restaurant
|
|
3259
3272
|
};
|
|
3260
|
-
|
|
3273
|
+
R && (B.conditions = JSON.stringify({ restaurantId: { $in: R } })), v.push(B);
|
|
3261
3274
|
}
|
|
3262
|
-
if (
|
|
3275
|
+
if (R) {
|
|
3263
3276
|
const G = [
|
|
3264
|
-
...new Set(
|
|
3277
|
+
...new Set(R.map((te) => S.value[te]).flatMap((te) => te))
|
|
3265
3278
|
], j = _.value.map((te) => te._id);
|
|
3266
3279
|
G.length !== j.length && (v = E(
|
|
3267
3280
|
v,
|
|
3268
|
-
(W =
|
|
3281
|
+
(W = h.value || j) == null ? void 0 : W.filter((te) => G.includes(te))
|
|
3269
3282
|
));
|
|
3270
3283
|
}
|
|
3271
3284
|
return v;
|
|
3272
3285
|
}
|
|
3273
|
-
function
|
|
3274
|
-
const
|
|
3275
|
-
n.value =
|
|
3286
|
+
function C(N) {
|
|
3287
|
+
const R = E(n.value, N);
|
|
3288
|
+
n.value = R;
|
|
3276
3289
|
}
|
|
3277
|
-
function E(N,
|
|
3290
|
+
function E(N, R) {
|
|
3278
3291
|
let v = dt(
|
|
3279
3292
|
N.filter((W) => W.subject !== ue.Subject.Business.role)
|
|
3280
3293
|
);
|
|
3281
|
-
if (
|
|
3294
|
+
if (R && R.length > 0) {
|
|
3282
3295
|
const W = {
|
|
3283
3296
|
actions: [ue.Action.manage],
|
|
3284
3297
|
subject: ue.Subject.Business.role,
|
|
3285
|
-
conditions: JSON.stringify({ roleId: { $in:
|
|
3298
|
+
conditions: JSON.stringify({ roleId: { $in: R } })
|
|
3286
3299
|
};
|
|
3287
3300
|
v.push(W);
|
|
3288
3301
|
}
|
|
3289
3302
|
return v;
|
|
3290
3303
|
}
|
|
3291
|
-
|
|
3304
|
+
Rn(async () => {
|
|
3292
3305
|
await Promise.all([
|
|
3293
|
-
|
|
3306
|
+
Fr.readWarehouses().then((N) => A.value = N),
|
|
3294
3307
|
c()
|
|
3295
3308
|
]);
|
|
3296
3309
|
});
|
|
@@ -3307,10 +3320,10 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3307
3320
|
const G = m(v.subject);
|
|
3308
3321
|
if (!G) return v;
|
|
3309
3322
|
const j = G.actions;
|
|
3310
|
-
return j.length <= 1 || j.filter((
|
|
3323
|
+
return j.length <= 1 || j.filter((B) => !W.includes(B)).length === 0 ? v : { ...v, actions: [...j] };
|
|
3311
3324
|
}));
|
|
3312
3325
|
function x(N) {
|
|
3313
|
-
const
|
|
3326
|
+
const R = new Set(
|
|
3314
3327
|
F.value.filter((j) => !j.inverted).map((j) => j.subject)
|
|
3315
3328
|
), v = new Set(
|
|
3316
3329
|
N.filter((j) => !j.inverted).map((j) => j.subject)
|
|
@@ -3318,54 +3331,54 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3318
3331
|
n.value.filter((j) => !j.inverted).map((j) => j.subject)
|
|
3319
3332
|
);
|
|
3320
3333
|
let G = [...n.value];
|
|
3321
|
-
for (const j of
|
|
3322
|
-
v.has(j) || (W.has(j) && (G = G.filter((
|
|
3334
|
+
for (const j of R)
|
|
3335
|
+
v.has(j) || (W.has(j) && (G = G.filter((B) => B.subject !== j)), (!W.has(j) || Lt(
|
|
3323
3336
|
G,
|
|
3324
3337
|
Ot
|
|
3325
3338
|
).some(
|
|
3326
|
-
(
|
|
3327
|
-
)) && !G.some((
|
|
3339
|
+
(B) => B.subject === j && !B.inverted && B.actions.includes("manage")
|
|
3340
|
+
)) && !G.some((B) => B.subject === j && B.inverted) && G.push({ subject: j, actions: ["manage"], inverted: !0 }));
|
|
3328
3341
|
for (const j of v)
|
|
3329
|
-
if (!
|
|
3330
|
-
const te = G.some((
|
|
3331
|
-
if (G = G.filter((
|
|
3332
|
-
const
|
|
3342
|
+
if (!R.has(j)) {
|
|
3343
|
+
const te = G.some((B) => B.subject === j && B.inverted);
|
|
3344
|
+
if (G = G.filter((B) => !(B.subject === j && B.inverted)), !te && !W.has(j)) {
|
|
3345
|
+
const B = N.find(
|
|
3333
3346
|
(fe) => fe.subject === j && !fe.inverted
|
|
3334
|
-
),
|
|
3335
|
-
if (
|
|
3336
|
-
const { category: fe, showByFeatureFlag:
|
|
3337
|
-
G.push({ ...Z, actions:
|
|
3347
|
+
), ge = m(j);
|
|
3348
|
+
if (ge && B) {
|
|
3349
|
+
const { category: fe, showByFeatureFlag: H, ...Z } = ge;
|
|
3350
|
+
G.push({ ...Z, actions: B.actions });
|
|
3338
3351
|
}
|
|
3339
3352
|
}
|
|
3340
3353
|
}
|
|
3341
3354
|
for (const j of v) {
|
|
3342
|
-
if (!
|
|
3355
|
+
if (!R.has(j)) continue;
|
|
3343
3356
|
const te = F.value.find(
|
|
3344
3357
|
(Z) => Z.subject === j && !Z.inverted
|
|
3345
|
-
),
|
|
3346
|
-
if (!te || !
|
|
3347
|
-
const
|
|
3348
|
-
if (
|
|
3358
|
+
), B = N.find((Z) => Z.subject === j && !Z.inverted);
|
|
3359
|
+
if (!te || !B) continue;
|
|
3360
|
+
const ge = new Set(te.actions), fe = new Set(B.actions);
|
|
3361
|
+
if (ge.size === fe.size && [...ge].every((Z) => fe.has(Z)))
|
|
3349
3362
|
continue;
|
|
3350
|
-
const
|
|
3351
|
-
if (
|
|
3352
|
-
G[
|
|
3353
|
-
...G[
|
|
3363
|
+
const H = G.findIndex((Z) => Z.subject === j && !Z.inverted);
|
|
3364
|
+
if (H >= 0)
|
|
3365
|
+
G[H] = {
|
|
3366
|
+
...G[H],
|
|
3354
3367
|
actions: Array.from(fe)
|
|
3355
3368
|
};
|
|
3356
3369
|
else {
|
|
3357
3370
|
const Z = m(j);
|
|
3358
3371
|
if (Z) {
|
|
3359
|
-
const { category: Ie, showByFeatureFlag:
|
|
3360
|
-
G.push({
|
|
3372
|
+
const { category: Ie, showByFeatureFlag: $e, ...Je } = Z;
|
|
3373
|
+
G.push({ ...Je, actions: Array.from(fe) });
|
|
3361
3374
|
}
|
|
3362
3375
|
}
|
|
3363
|
-
|
|
3376
|
+
ge.has("manage") && !fe.has("manage") && Lt(
|
|
3364
3377
|
G,
|
|
3365
3378
|
Ot
|
|
3366
3379
|
).some(
|
|
3367
3380
|
(Ie) => Ie.subject === j && !Ie.inverted && Ie.actions.includes("manage")
|
|
3368
|
-
) && !G.some((Ie) => Ie.subject === j && Ie.inverted) && G.push({ subject: j, actions: ["manage"], inverted: !0 }), !
|
|
3381
|
+
) && !G.some((Ie) => Ie.subject === j && Ie.inverted) && G.push({ subject: j, actions: ["manage"], inverted: !0 }), !ge.has("manage") && fe.has("manage") && (G = G.filter((Z) => !(Z.subject === j && Z.inverted)));
|
|
3369
3382
|
}
|
|
3370
3383
|
n.value = G;
|
|
3371
3384
|
}
|
|
@@ -3375,63 +3388,63 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3375
3388
|
l("permissionChanged", N);
|
|
3376
3389
|
},
|
|
3377
3390
|
{ deep: !0 }
|
|
3378
|
-
), (N,
|
|
3379
|
-
|
|
3380
|
-
_e(
|
|
3391
|
+
), (N, R) => (Q(), oe("div", jr, [
|
|
3392
|
+
se("div", Ur, [
|
|
3393
|
+
_e(Tr, {
|
|
3381
3394
|
"model-value": F.value,
|
|
3382
3395
|
"excluded-subjects": w,
|
|
3383
3396
|
"additional-permissions": $(u),
|
|
3384
3397
|
"onUpdate:modelValue": x
|
|
3385
3398
|
}, xe({ _: 2 }, [
|
|
3386
|
-
|
|
3399
|
+
he(p.value, (v) => ({
|
|
3387
3400
|
name: `checkbox-${v.id}-append`,
|
|
3388
3401
|
fn: pe(() => [
|
|
3389
|
-
_e(
|
|
3402
|
+
_e(ct, { item: v }, null, 8, ["item"])
|
|
3390
3403
|
])
|
|
3391
3404
|
}))
|
|
3392
3405
|
]), 1032, ["model-value", "additional-permissions"])
|
|
3393
3406
|
]),
|
|
3394
|
-
|
|
3395
|
-
_e(
|
|
3407
|
+
se("div", Vr, [
|
|
3408
|
+
_e(Cn, {
|
|
3396
3409
|
"model-value": V.value,
|
|
3397
3410
|
options: M.value,
|
|
3398
3411
|
context: $(a)("team.labels.warehouse"),
|
|
3399
3412
|
"onUpdate:modelValue": i
|
|
3400
3413
|
}, xe({ _: 2 }, [
|
|
3401
|
-
|
|
3414
|
+
he(y.value, (v) => ({
|
|
3402
3415
|
name: `checkbox-${v.id}-append`,
|
|
3403
3416
|
fn: pe(() => [
|
|
3404
|
-
_e(
|
|
3417
|
+
_e(ct, { item: v }, null, 8, ["item"])
|
|
3405
3418
|
])
|
|
3406
3419
|
}))
|
|
3407
3420
|
]), 1032, ["model-value", "options", "context"])
|
|
3408
3421
|
]),
|
|
3409
|
-
|
|
3410
|
-
_e(
|
|
3422
|
+
se("div", Gr, [
|
|
3423
|
+
_e(Cn, {
|
|
3411
3424
|
"model-value": I.value,
|
|
3412
3425
|
options: D.value,
|
|
3413
3426
|
context: $(a)("team.labels.restaurant"),
|
|
3414
|
-
"onUpdate:modelValue":
|
|
3427
|
+
"onUpdate:modelValue": Y
|
|
3415
3428
|
}, xe({ _: 2 }, [
|
|
3416
|
-
|
|
3429
|
+
he(O.value, (v) => ({
|
|
3417
3430
|
name: `checkbox-${v.id}-append`,
|
|
3418
3431
|
fn: pe(() => [
|
|
3419
|
-
_e(
|
|
3432
|
+
_e(ct, { item: v }, null, 8, ["item"])
|
|
3420
3433
|
])
|
|
3421
3434
|
}))
|
|
3422
3435
|
]), 1032, ["model-value", "options", "context"])
|
|
3423
3436
|
]),
|
|
3424
|
-
|
|
3425
|
-
_e(
|
|
3437
|
+
se("div", Wr, [
|
|
3438
|
+
_e(Pr, {
|
|
3426
3439
|
roles: $(_),
|
|
3427
|
-
"model-value":
|
|
3440
|
+
"model-value": h.value,
|
|
3428
3441
|
"restaurant-ids": I.value,
|
|
3429
|
-
"onUpdate:modelValue":
|
|
3442
|
+
"onUpdate:modelValue": C
|
|
3430
3443
|
}, xe({ _: 2 }, [
|
|
3431
|
-
|
|
3444
|
+
he(L.value, (v) => ({
|
|
3432
3445
|
name: `checkbox-${v.id}-append`,
|
|
3433
3446
|
fn: pe(() => [
|
|
3434
|
-
_e(
|
|
3447
|
+
_e(ct, { item: v }, null, 8, ["item"])
|
|
3435
3448
|
])
|
|
3436
3449
|
}))
|
|
3437
3450
|
]), 1032, ["roles", "model-value", "restaurant-ids"])
|
|
@@ -3440,5 +3453,5 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3440
3453
|
}
|
|
3441
3454
|
});
|
|
3442
3455
|
export {
|
|
3443
|
-
|
|
3456
|
+
zr as _
|
|
3444
3457
|
};
|