@feedmepos/mf-hrm-portal 2.0.17-dev.5 → 2.0.18-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AuditLogList-Dl3Nmf00.js → AuditLogList-CaoW9uYd.js} +5 -5
- package/dist/EmployeeList-DcMvF9U5.js +839 -0
- package/dist/Main-CleutFvF.js +567 -0
- package/dist/{Main-CQ3KwxDY.js → Main-CvW6Vu8N.js} +2055 -2055
- package/dist/{Main-w0XUUaBp.js → Main-D7k57uq5.js} +32 -32
- package/dist/{PermissionSetList-B8qNOWH6.js → PermissionSetList-CM7kbWkO.js} +6 -6
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-C9VUjAu_.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Ces9YwYB.js} +525 -525
- package/dist/{RoleList-DMFJsUZv.js → RoleList-DR3eVJ9f.js} +102 -102
- package/dist/TeamMemberList-CZZv4Pu5.js +1038 -0
- package/dist/{TimesheetList-Bwp9_xHe.js → TimesheetList-WqqoKPbg.js} +132 -126
- package/dist/{app-COJbSNM4.js → app-R5EioPr4.js} +4 -4
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-CcBi6N-K.js → dayjs.min-CN15Ft3o.js} +1 -1
- package/dist/employee-DwQlWLkL.js +204 -0
- package/dist/{iteration-JOKbtlLf.js → iteration-UBGGRoxQ.js} +9258 -9213
- package/dist/{lodash-D5xlVzib.js → lodash-CC6qHVUo.js} +1 -1
- package/dist/{rule-3sXHiW0y.js → rule-B519XbW6.js} +273 -273
- package/dist/src/api/restaurant/index.d.ts +5 -0
- package/dist/src/composables/useRestaurantMap.d.ts +2 -329
- package/dist/src/stores/restaurant.d.ts +181 -0
- package/dist/src/stores/role.d.ts +7 -7
- package/dist/src/types/restaurant.d.ts +11 -0
- package/dist/style.css +1 -1
- package/dist/{team-CyNektSD.js → team-BGLhgx5P.js} +1 -1
- package/dist/{timesheet-DkD3AysG.js → timesheet-BylrXRfd.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/useAppStore-Akl8AoVN.js +171 -0
- package/dist/{useLoading-4TNmhm5N.js → useLoading-rbrVwWuj.js} +1 -1
- package/dist/{useReportPermissions-CWMFFb8E.js → useReportPermissions-BOEZU86S.js} +3 -3
- package/package.json +1 -1
- package/dist/EmployeeList-DBd_rVW2.js +0 -831
- package/dist/Main-pTgqNncY.js +0 -560
- package/dist/TeamMemberList-BLRTfKLz.js +0 -1031
- package/dist/employee-xiV0LfnL.js +0 -204
- package/dist/useAppStore-CvmsaYSG.js +0 -171
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { getCurrentInstance as xt, inject as $n, ref as bt, shallowRef as
|
|
2
|
-
import { useI18n as
|
|
1
|
+
import { getCurrentInstance as xt, inject as $n, ref as bt, shallowRef as Kn, computed as q, watch as St, onMounted as Rn, onUnmounted as Qn, defineComponent as Oe, h as An, createVNode as _e, Text as zn, Fragment as Te, resolveComponent as ze, createBlock as De, openBlock as z, withCtx as pe, createElementVNode as oe, createElementBlock as le, toDisplayString as Ie, unref as B, renderList as he, toRef as Qt, normalizeStyle as mt, renderSlot as ke, createCommentVNode as Se, createTextVNode as qn, useSlots as es, normalizeClass as at, createSlots as xe, mergeModels as zt, useModel as ts } from "vue";
|
|
2
|
+
import { useI18n as He, useCoreStore as ns } from "@feedmepos/mf-common";
|
|
3
3
|
import "@vue/devtools-api";
|
|
4
|
-
import { p as Dt, d as ss, v as as, w as kt, x as rs, j as ls, $ as
|
|
4
|
+
import { p as Dt, d as ss, v as as, w as kt, x as rs, j as ls, $ as Ot } from "./rule-B519XbW6.js";
|
|
5
5
|
import { _ as Zt } from "./CollapsibleWrapper.vue_vue_type_script_setup_true_lang-BLJlmPVa.js";
|
|
6
|
-
import { u as os, d as is, i as ue, C as cs, P as
|
|
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, d as is, i as ue, C as cs, P as Lt } from "./app-R5EioPr4.js";
|
|
7
|
+
import { d as dt, g as us, b as ms } from "./iteration-UBGGRoxQ.js";
|
|
8
|
+
import { u as ds } from "./useAppStore-Akl8AoVN.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) => Xt(e) === "[object Date]", _t = (e) => Xt(e) === "[object RegExp]",
|
|
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) => $(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, se = (e) => typeof e == "function", P = (e) => typeof e == "string", ie = (e) => typeof e == "boolean",
|
|
24
|
+
const ce = Array.isArray, se = (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) && se(e.then) && se(e.catch), Sn = Object.prototype.toString, Xt = (e) => Sn.call(e), $ = (e) => Xt(e) === "[object Object]", vs = (e) => e == null ? "" : ce(e) || $(e) && e.toString === Sn ? JSON.stringify(e, null, 2) : String(e);
|
|
25
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 Es(e, t) {
|
|
29
29
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
30
30
|
}
|
|
31
|
-
const rt = (e) => !
|
|
31
|
+
const rt = (e) => !K(e) || ce(e);
|
|
32
32
|
function ft(e, t) {
|
|
33
33
|
if (rt(e) || rt(t))
|
|
34
34
|
throw new Error("Invalid value");
|
|
@@ -36,7 +36,7 @@ function ft(e, 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__" && (
|
|
39
|
+
a !== "__proto__" && (K(s[a]) && !K(l[a]) && (l[a] = Array.isArray(s[a]) ? [] : ee()), rt(l[a]) || rt(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 Is(e, t, n) {
|
|
|
46
46
|
function Mt(e, t, n) {
|
|
47
47
|
return { start: e, end: t };
|
|
48
48
|
}
|
|
49
|
-
const
|
|
49
|
+
const Q = {
|
|
50
50
|
// tokenizer error codes
|
|
51
51
|
EXPECTED_TOKEN: 1,
|
|
52
52
|
INVALID_TOKEN_IN_PLACEHOLDER: 2,
|
|
@@ -64,19 +64,19 @@ const K = {
|
|
|
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
|
|
75
|
-
`, ks = "\u2028",
|
|
76
|
-
function
|
|
74
|
+
const Le = " ", Ts = "\r", be = `
|
|
75
|
+
`, ks = "\u2028", Os = "\u2029";
|
|
76
|
+
function Ls(e) {
|
|
77
77
|
const t = e;
|
|
78
78
|
let n = 0, s = 1, l = 1, a = 0;
|
|
79
|
-
const c = (E) => t[E] === Ts && t[E + 1] === be, u = (E) => t[E] === be, m = (E) => t[E] ===
|
|
79
|
+
const c = (E) => t[E] === Ts && t[E + 1] === be, u = (E) => t[E] === be, m = (E) => t[E] === Os, p = (E) => t[E] === ks, y = (E) => c(E) || u(E) || m(E) || p(E), L = () => n, O = () => s, w = () => l, V = () => a, A = (E) => c(E) || m(E) || p(E) ? be : t[E], D = () => A(n), i = () => A(n + a);
|
|
80
80
|
function d() {
|
|
81
81
|
return a = 0, y(n) && (s++, l = 0), c(n) && n++, n++, l++, t[n];
|
|
82
82
|
}
|
|
@@ -96,8 +96,8 @@ function Os(e) {
|
|
|
96
96
|
a = 0;
|
|
97
97
|
}
|
|
98
98
|
return {
|
|
99
|
-
index:
|
|
100
|
-
line:
|
|
99
|
+
index: L,
|
|
100
|
+
line: O,
|
|
101
101
|
column: w,
|
|
102
102
|
peekOffset: V,
|
|
103
103
|
charAt: A,
|
|
@@ -112,7 +112,7 @@ function Os(e) {
|
|
|
112
112
|
}
|
|
113
113
|
const Ae = void 0, Cs = ".", nn = "'", Rs = "tokenizer";
|
|
114
114
|
function As(e, t = {}) {
|
|
115
|
-
const n = t.location !== !1, s =
|
|
115
|
+
const n = t.location !== !1, s = Ls(e), l = () => s.index(), a = () => Is(s.line(), s.column(), s.index()), c = a(), u = l(), m = {
|
|
116
116
|
currentType: 13,
|
|
117
117
|
offset: u,
|
|
118
118
|
startLoc: c,
|
|
@@ -125,32 +125,32 @@ function As(e, t = {}) {
|
|
|
125
125
|
inLinked: !1,
|
|
126
126
|
text: ""
|
|
127
127
|
}, p = () => m, { onError: y } = t;
|
|
128
|
-
function
|
|
128
|
+
function L(r, o, b, ...U) {
|
|
129
129
|
const ae = p();
|
|
130
130
|
if (o.column += b, o.offset += b, y) {
|
|
131
|
-
const X = n ? Mt(ae.startLoc, o) : null, f =
|
|
131
|
+
const X = n ? Mt(ae.startLoc, o) : null, f = ht(r, X, {
|
|
132
132
|
domain: Rs,
|
|
133
133
|
args: U
|
|
134
134
|
});
|
|
135
135
|
y(f);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function O(r, o, b) {
|
|
139
139
|
r.endLoc = a(), r.currentType = o;
|
|
140
140
|
const U = { type: o };
|
|
141
141
|
return n && (U.loc = Mt(r.startLoc, r.endLoc)), b != null && (U.value = b), U;
|
|
142
142
|
}
|
|
143
|
-
const w = (r) =>
|
|
143
|
+
const w = (r) => O(
|
|
144
144
|
r,
|
|
145
145
|
13
|
|
146
146
|
/* TokenTypes.EOF */
|
|
147
147
|
);
|
|
148
148
|
function V(r, o) {
|
|
149
|
-
return r.currentChar() === o ? (r.next(), o) : (
|
|
149
|
+
return r.currentChar() === o ? (r.next(), o) : (L(Q.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
|
}
|
|
@@ -220,17 +220,17 @@ 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
228
|
const X = r.currentPeek();
|
|
229
|
-
return X === "{" ? i(r.peek()) : X === "@" || X === "|" || X === ":" || X === "." || X ===
|
|
229
|
+
return X === "{" ? i(r.peek()) : X === "@" || X === "|" || X === ":" || X === "." || X === Le || !X ? !1 : X === be ? (r.peek(), U()) : C(r, !1);
|
|
230
230
|
}, ae = U();
|
|
231
231
|
return r.resetPeek(), ae;
|
|
232
232
|
}
|
|
233
|
-
function
|
|
233
|
+
function g(r) {
|
|
234
234
|
A(r);
|
|
235
235
|
const o = r.currentPeek() === "|";
|
|
236
236
|
return r.resetPeek(), o;
|
|
@@ -238,7 +238,7 @@ function As(e, t = {}) {
|
|
|
238
238
|
function C(r, o = !0) {
|
|
239
239
|
const b = (ae = !1, X = "") => {
|
|
240
240
|
const f = r.currentPeek();
|
|
241
|
-
return f === "{" || f === "@" || !f ? ae : f === "|" ? !(X ===
|
|
241
|
+
return f === "{" || f === "@" || !f ? ae : 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
|
}
|
|
@@ -273,21 +273,21 @@ function As(e, t = {}) {
|
|
|
273
273
|
const o = r.charCodeAt(0);
|
|
274
274
|
return o >= 48 && o <= 57;
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function G(r) {
|
|
277
277
|
return I(r, v);
|
|
278
278
|
}
|
|
279
|
-
function
|
|
279
|
+
function W(r) {
|
|
280
280
|
const o = r.charCodeAt(0);
|
|
281
281
|
return o >= 48 && o <= 57 || // 0-9
|
|
282
282
|
o >= 65 && o <= 70 || // A-F
|
|
283
283
|
o >= 97 && o <= 102;
|
|
284
284
|
}
|
|
285
285
|
function j(r) {
|
|
286
|
-
return I(r,
|
|
286
|
+
return I(r, W);
|
|
287
287
|
}
|
|
288
288
|
function te(r) {
|
|
289
289
|
let o = "", b = "";
|
|
290
|
-
for (; o =
|
|
290
|
+
for (; o = G(r); )
|
|
291
291
|
b += o;
|
|
292
292
|
return b;
|
|
293
293
|
}
|
|
@@ -297,11 +297,11 @@ function As(e, t = {}) {
|
|
|
297
297
|
const b = r.currentChar();
|
|
298
298
|
if (b === "{" || b === "}" || b === "@" || b === "|" || !b)
|
|
299
299
|
break;
|
|
300
|
-
if (b ===
|
|
300
|
+
if (b === Le || b === be)
|
|
301
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
|
D(r);
|
|
315
315
|
let o = "", b = "";
|
|
316
316
|
for (; o = R(r); )
|
|
317
317
|
b += o;
|
|
318
|
-
return r.currentChar() === Ae &&
|
|
318
|
+
return r.currentChar() === Ae && L(Q.UNTERMINATED_CLOSING_BRACE, a(), 0), b;
|
|
319
319
|
}
|
|
320
320
|
function fe(r) {
|
|
321
321
|
D(r);
|
|
322
322
|
let o = "";
|
|
323
|
-
return r.currentChar() === "-" ? (r.next(), o += `-${te(r)}`) : o += te(r), r.currentChar() === Ae &&
|
|
323
|
+
return r.currentChar() === "-" ? (r.next(), o += `-${te(r)}`) : o += te(r), r.currentChar() === Ae && L(Q.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
|
D(r), V(r, "'");
|
|
330
330
|
let o = "", b = "";
|
|
331
|
-
for (; o = I(r,
|
|
331
|
+
for (; o = I(r, H); )
|
|
332
332
|
o === "\\" ? b += Ee(r) : b += o;
|
|
333
333
|
const U = r.currentChar();
|
|
334
|
-
return U === be || U === Ae ? (
|
|
334
|
+
return U === be || U === Ae ? (L(Q.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), U === be && (r.next(), V(r, "'")), b) : (V(r, "'"), b);
|
|
335
335
|
}
|
|
336
336
|
function Ee(r) {
|
|
337
337
|
const o = r.currentChar();
|
|
@@ -340,20 +340,20 @@ function As(e, t = {}) {
|
|
|
340
340
|
case "'":
|
|
341
341
|
return r.next(), `\\${o}`;
|
|
342
342
|
case "u":
|
|
343
|
-
return
|
|
343
|
+
return Be(r, o, 4);
|
|
344
344
|
case "U":
|
|
345
|
-
return
|
|
345
|
+
return Be(r, o, 6);
|
|
346
346
|
default:
|
|
347
|
-
return
|
|
347
|
+
return L(Q.UNKNOWN_ESCAPE_SEQUENCE, a(), 0, o), "";
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
|
-
function
|
|
350
|
+
function Be(r, o, b) {
|
|
351
351
|
V(r, o);
|
|
352
352
|
let U = "";
|
|
353
353
|
for (let ae = 0; ae < b; ae++) {
|
|
354
354
|
const X = j(r);
|
|
355
355
|
if (!X) {
|
|
356
|
-
|
|
356
|
+
L(Q.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${U}${r.currentChar()}`);
|
|
357
357
|
break;
|
|
358
358
|
}
|
|
359
359
|
U += X;
|
|
@@ -361,7 +361,7 @@ function As(e, t = {}) {
|
|
|
361
361
|
return `\\${o}${U}`;
|
|
362
362
|
}
|
|
363
363
|
function Je(r) {
|
|
364
|
-
return r !== "{" && r !== "}" && r !==
|
|
364
|
+
return r !== "{" && r !== "}" && r !== Le && r !== be;
|
|
365
365
|
}
|
|
366
366
|
function It(r) {
|
|
367
367
|
D(r);
|
|
@@ -379,7 +379,7 @@ 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
|
}
|
|
@@ -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 &&
|
|
399
|
+
return o.braceNest >= 1 && L(Q.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), r.next(), b = O(
|
|
400
400
|
o,
|
|
401
401
|
2,
|
|
402
402
|
"{"
|
|
403
403
|
/* TokenChars.BraceLeft */
|
|
404
404
|
), D(r), o.braceNest++, b;
|
|
405
405
|
case "}":
|
|
406
|
-
return o.braceNest > 0 && o.currentType === 2 &&
|
|
406
|
+
return o.braceNest > 0 && o.currentType === 2 && L(Q.EMPTY_PLACEHOLDER, a(), 0), r.next(), b = O(
|
|
407
407
|
o,
|
|
408
408
|
3,
|
|
409
409
|
"}"
|
|
410
410
|
/* TokenChars.BraceRight */
|
|
411
411
|
), o.braceNest--, o.braceNest > 0 && D(r), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), b;
|
|
412
412
|
case "@":
|
|
413
|
-
return o.braceNest > 0 &&
|
|
413
|
+
return o.braceNest > 0 && L(Q.UNTERMINATED_CLOSING_BRACE, a(), 0), b = Ve(r, o) || w(o), o.braceNest = 0, b;
|
|
414
414
|
default: {
|
|
415
415
|
let ae = !0, X = !0, f = !0;
|
|
416
|
-
if (
|
|
417
|
-
return o.braceNest > 0 &&
|
|
416
|
+
if (g(r))
|
|
417
|
+
return o.braceNest > 0 && L(Q.UNTERMINATED_CLOSING_BRACE, a(), 0), b = O(o, 1, $e(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
|
|
419
|
+
return L(Q.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0, Ke(r, o);
|
|
420
420
|
if (ae = T(r, o))
|
|
421
|
-
return b =
|
|
421
|
+
return b = O(o, 4, ge(r)), D(r), b;
|
|
422
422
|
if (X = _(r, o))
|
|
423
|
-
return b =
|
|
423
|
+
return b = O(o, 5, fe(r)), D(r), b;
|
|
424
424
|
if (f = M(r, o))
|
|
425
|
-
return b =
|
|
425
|
+
return b = O(o, 6, Z(r)), D(r), b;
|
|
426
426
|
if (!ae && !X && !f)
|
|
427
|
-
return b =
|
|
427
|
+
return b = O(o, 12, It(r)), L(Q.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, b.value), D(r), b;
|
|
428
428
|
break;
|
|
429
429
|
}
|
|
430
430
|
}
|
|
@@ -434,33 +434,33 @@ function As(e, t = {}) {
|
|
|
434
434
|
const { currentType: b } = o;
|
|
435
435
|
let U = null;
|
|
436
436
|
const ae = r.currentChar();
|
|
437
|
-
switch ((b === 7 || b === 8 || b === 11 || b === 9) && (ae === be || ae ===
|
|
437
|
+
switch ((b === 7 || b === 8 || b === 11 || b === 9) && (ae === be || ae === Le) && L(Q.INVALID_LINKED_FORMAT, a(), 0), ae) {
|
|
438
438
|
case "@":
|
|
439
|
-
return r.next(), U =
|
|
439
|
+
return r.next(), U = O(
|
|
440
440
|
o,
|
|
441
441
|
7,
|
|
442
442
|
"@"
|
|
443
443
|
/* TokenChars.LinkedAlias */
|
|
444
444
|
), o.inLinked = !0, U;
|
|
445
445
|
case ".":
|
|
446
|
-
return D(r), r.next(),
|
|
446
|
+
return D(r), r.next(), O(
|
|
447
447
|
o,
|
|
448
448
|
8,
|
|
449
449
|
"."
|
|
450
450
|
/* TokenChars.LinkedDot */
|
|
451
451
|
);
|
|
452
452
|
case ":":
|
|
453
|
-
return D(r), r.next(),
|
|
453
|
+
return D(r), r.next(), O(
|
|
454
454
|
o,
|
|
455
455
|
9,
|
|
456
456
|
":"
|
|
457
457
|
/* TokenChars.LinkedDelimiter */
|
|
458
458
|
);
|
|
459
459
|
default:
|
|
460
|
-
return
|
|
460
|
+
return g(r) ? (U = O(o, 1, $e(r)), o.braceNest = 0, o.inLinked = !1, U) : S(r, o) || J(r, o) ? (D(r), Ve(r, o)) : E(r, o) ? (D(r), O(o, 11, Nt(r))) : h(r, o) ? (D(r), ae === "{" ? Ue(r, o) || U : O(o, 10, yt(r))) : (b === 7 && L(Q.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, Ke(r, o));
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
|
-
function
|
|
463
|
+
function Ke(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
|
|
476
|
+
return L(Q.UNBALANCED_CLOSING_BRACE, a(), 0), r.next(), O(
|
|
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 =
|
|
485
|
+
if (g(r))
|
|
486
|
+
return b = O(o, 1, $e(r)), o.braceNest = 0, o.inLinked = !1, b;
|
|
487
487
|
if (C(r))
|
|
488
|
-
return
|
|
488
|
+
return O(o, 0, Y(r));
|
|
489
489
|
break;
|
|
490
490
|
}
|
|
491
491
|
}
|
|
@@ -493,11 +493,11 @@ function As(e, t = {}) {
|
|
|
493
493
|
}
|
|
494
494
|
function Tt() {
|
|
495
495
|
const { currentType: r, offset: o, startLoc: b, endLoc: U } = m;
|
|
496
|
-
return m.lastType = r, m.lastOffset = o, m.lastStartLoc = b, m.lastEndLoc = U, m.offset = l(), m.startLoc = a(), s.currentChar() === Ae ?
|
|
496
|
+
return m.lastType = r, m.lastOffset = o, m.lastStartLoc = b, m.lastEndLoc = U, m.offset = l(), m.startLoc = a(), s.currentChar() === Ae ? O(
|
|
497
497
|
m,
|
|
498
498
|
13
|
|
499
499
|
/* TokenTypes.EOF */
|
|
500
|
-
) :
|
|
500
|
+
) : Ke(s, m);
|
|
501
501
|
}
|
|
502
502
|
return {
|
|
503
503
|
nextToken: Tt,
|
|
@@ -524,7 +524,7 @@ function ws(e = {}) {
|
|
|
524
524
|
function s(i, d, T, _, ...M) {
|
|
525
525
|
const S = i.currentPosition();
|
|
526
526
|
if (S.offset += _, S.column += _, n) {
|
|
527
|
-
const E = t ? Mt(T, S) : null, J =
|
|
527
|
+
const E = t ? Mt(T, S) : null, J = ht(d, E, {
|
|
528
528
|
domain: Ss,
|
|
529
529
|
args: M
|
|
530
530
|
});
|
|
@@ -556,39 +556,39 @@ function ws(e = {}) {
|
|
|
556
556
|
}
|
|
557
557
|
function y(i) {
|
|
558
558
|
const d = i.nextToken(), T = i.context(), { lastOffset: _, lastStartLoc: M } = T, S = l(8, _, M);
|
|
559
|
-
return d.type !== 11 ? (s(i,
|
|
559
|
+
return d.type !== 11 ? (s(i, Q.UNEXPECTED_EMPTY_LINKED_MODIFIER, T.lastStartLoc, 0), S.value = "", a(S, _, M), {
|
|
560
560
|
nextConsumeToken: d,
|
|
561
561
|
node: S
|
|
562
|
-
}) : (d.value == null && s(i,
|
|
562
|
+
}) : (d.value == null && s(i, Q.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
|
}
|
|
566
|
-
function
|
|
566
|
+
function L(i, d) {
|
|
567
567
|
const T = i.context(), _ = l(7, T.offset, T.startLoc);
|
|
568
568
|
return _.value = d, a(_, i.currentOffset(), i.currentPosition()), _;
|
|
569
569
|
}
|
|
570
|
-
function
|
|
570
|
+
function O(i) {
|
|
571
571
|
const d = i.context(), T = l(6, d.offset, d.startLoc);
|
|
572
572
|
let _ = i.nextToken();
|
|
573
573
|
if (_.type === 8) {
|
|
574
574
|
const M = y(i);
|
|
575
575
|
T.modifier = M.node, _ = M.nextConsumeToken || i.nextToken();
|
|
576
576
|
}
|
|
577
|
-
switch (_.type !== 9 && s(i,
|
|
577
|
+
switch (_.type !== 9 && s(i, Q.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, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ye(_)), T.key = L(i, _.value || "");
|
|
580
580
|
break;
|
|
581
581
|
case 4:
|
|
582
|
-
_.value == null && s(i,
|
|
582
|
+
_.value == null && s(i, Q.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, Q.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, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ye(_)), T.key = p(i, _.value || "");
|
|
589
589
|
break;
|
|
590
590
|
default: {
|
|
591
|
-
s(i,
|
|
591
|
+
s(i, Q.UNEXPECTED_EMPTY_LINKED_KEY, d.lastStartLoc, 0);
|
|
592
592
|
const M = i.context(), S = l(7, M.offset, M.startLoc);
|
|
593
593
|
return S.value = "", a(S, M.offset, M.startLoc), T.key = S, a(T, M.offset, M.startLoc), {
|
|
594
594
|
nextConsumeToken: _,
|
|
@@ -605,23 +605,23 @@ function ws(e = {}) {
|
|
|
605
605
|
M.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, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ye(h)), M.items.push(c(i, h.value || ""));
|
|
612
612
|
break;
|
|
613
613
|
case 5:
|
|
614
|
-
|
|
614
|
+
h.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ye(h)), M.items.push(u(i, h.value || ""));
|
|
615
615
|
break;
|
|
616
616
|
case 4:
|
|
617
|
-
|
|
617
|
+
h.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ye(h)), M.items.push(m(i, h.value || ""));
|
|
618
618
|
break;
|
|
619
619
|
case 6:
|
|
620
|
-
|
|
620
|
+
h.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ye(h)), M.items.push(p(i, h.value || ""));
|
|
621
621
|
break;
|
|
622
622
|
case 7: {
|
|
623
|
-
const
|
|
624
|
-
M.items.push(
|
|
623
|
+
const g = O(i);
|
|
624
|
+
M.items.push(g.node), S = g.nextConsumeToken || null;
|
|
625
625
|
break;
|
|
626
626
|
}
|
|
627
627
|
}
|
|
@@ -638,7 +638,7 @@ function ws(e = {}) {
|
|
|
638
638
|
const J = w(i);
|
|
639
639
|
S || (S = J.items.length === 0), E.cases.push(J);
|
|
640
640
|
} while (M.currentType !== 13);
|
|
641
|
-
return S && s(i,
|
|
641
|
+
return S && s(i, Q.MUST_HAVE_MESSAGES_IN_PLURAL, T, 0), a(E, i.currentOffset(), i.currentPosition()), E;
|
|
642
642
|
}
|
|
643
643
|
function A(i) {
|
|
644
644
|
const d = i.context(), { offset: T, startLoc: _ } = d, M = w(i);
|
|
@@ -646,7 +646,7 @@ function ws(e = {}) {
|
|
|
646
646
|
}
|
|
647
647
|
function D(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, Q.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, i[T.offset] || ""), a(_, d.currentOffset(), d.currentPosition()), _;
|
|
650
650
|
}
|
|
651
651
|
return { parse: D };
|
|
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
|
+
Ht(e[n], t);
|
|
669
669
|
}
|
|
670
|
-
function
|
|
670
|
+
function Ht(e, t) {
|
|
671
671
|
switch (e.type) {
|
|
672
672
|
case 1:
|
|
673
673
|
sn(e.cases, t), t.helper(
|
|
@@ -679,7 +679,7 @@ function Bt(e, t) {
|
|
|
679
679
|
sn(e.items, t);
|
|
680
680
|
break;
|
|
681
681
|
case 6: {
|
|
682
|
-
|
|
682
|
+
Ht(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 && Ht(e.body, n);
|
|
717
717
|
const s = n.context();
|
|
718
718
|
e.helpers = Array.from(s.helpers);
|
|
719
719
|
}
|
|
@@ -742,24 +742,24 @@ function an(e) {
|
|
|
742
742
|
}
|
|
743
743
|
}
|
|
744
744
|
}
|
|
745
|
-
function
|
|
745
|
+
function Ge(e) {
|
|
746
746
|
switch (e.t = e.type, e.type) {
|
|
747
747
|
case 0: {
|
|
748
748
|
const t = e;
|
|
749
|
-
|
|
749
|
+
Ge(t.body), t.b = t.body, delete t.body;
|
|
750
750
|
break;
|
|
751
751
|
}
|
|
752
752
|
case 1: {
|
|
753
753
|
const t = e, n = t.cases;
|
|
754
754
|
for (let s = 0; s < n.length; s++)
|
|
755
|
-
|
|
755
|
+
Ge(n[s]);
|
|
756
756
|
t.c = n, delete t.cases;
|
|
757
757
|
break;
|
|
758
758
|
}
|
|
759
759
|
case 2: {
|
|
760
760
|
const t = e, n = t.items;
|
|
761
761
|
for (let s = 0; s < n.length; s++)
|
|
762
|
-
|
|
762
|
+
Ge(n[s]);
|
|
763
763
|
t.i = n, delete t.items, t.static && (t.s = t.static, delete t.static);
|
|
764
764
|
break;
|
|
765
765
|
}
|
|
@@ -773,7 +773,7 @@ function We(e) {
|
|
|
773
773
|
}
|
|
774
774
|
case 6: {
|
|
775
775
|
const t = e;
|
|
776
|
-
|
|
776
|
+
Ge(t.key), t.k = t.key, delete t.key, t.modifier && (Ge(t.modifier), t.m = t.modifier, delete t.modifier);
|
|
777
777
|
break;
|
|
778
778
|
}
|
|
779
779
|
case 5: {
|
|
@@ -814,19 +814,19 @@ function Us(e, t) {
|
|
|
814
814
|
const D = ++c.indentLevel;
|
|
815
815
|
A && p(D);
|
|
816
816
|
}
|
|
817
|
-
function
|
|
817
|
+
function L(A = !0) {
|
|
818
818
|
const D = --c.indentLevel;
|
|
819
819
|
A && p(D);
|
|
820
820
|
}
|
|
821
|
-
function
|
|
821
|
+
function O() {
|
|
822
822
|
p(c.indentLevel);
|
|
823
823
|
}
|
|
824
824
|
return {
|
|
825
825
|
context: u,
|
|
826
826
|
push: m,
|
|
827
827
|
indent: y,
|
|
828
|
-
deindent:
|
|
829
|
-
newline:
|
|
828
|
+
deindent: L,
|
|
829
|
+
newline: O,
|
|
830
830
|
helper: (A) => `_${A}`,
|
|
831
831
|
needIndent: () => c.needIndent
|
|
832
832
|
};
|
|
@@ -838,7 +838,7 @@ function Vs(e, t) {
|
|
|
838
838
|
/* HelperNameMap.LINKED */
|
|
839
839
|
)}(`), Ze(e, t.key), t.modifier ? (e.push(", "), Ze(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
|
|
840
840
|
}
|
|
841
|
-
function
|
|
841
|
+
function Ws(e, t) {
|
|
842
842
|
const { helper: n, needIndent: s } = e;
|
|
843
843
|
e.push(`${n(
|
|
844
844
|
"normalize"
|
|
@@ -849,7 +849,7 @@ function Gs(e, t) {
|
|
|
849
849
|
e.push(", ");
|
|
850
850
|
e.deindent(s()), e.push("])");
|
|
851
851
|
}
|
|
852
|
-
function
|
|
852
|
+
function Gs(e, t) {
|
|
853
853
|
const { helper: n, needIndent: s } = e;
|
|
854
854
|
if (t.cases.length > 1) {
|
|
855
855
|
e.push(`${n(
|
|
@@ -872,10 +872,10 @@ function Ze(e, t) {
|
|
|
872
872
|
xs(e, t);
|
|
873
873
|
break;
|
|
874
874
|
case 1:
|
|
875
|
-
|
|
875
|
+
Gs(e, t);
|
|
876
876
|
break;
|
|
877
877
|
case 2:
|
|
878
|
-
|
|
878
|
+
Ws(e, t);
|
|
879
879
|
break;
|
|
880
880
|
case 6:
|
|
881
881
|
Vs(e, t);
|
|
@@ -932,24 +932,24 @@ const Zs = (e, t = {}) => {
|
|
|
932
932
|
};
|
|
933
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
|
-
return s ? (a && js(u), l &&
|
|
935
|
+
return s ? (a && js(u), l && Ge(u), { ast: u, code: "" }) : (Fs(u, n), Zs(u, n));
|
|
936
936
|
}
|
|
937
937
|
var Ys = { env: { NODE_ENV: "production" } };
|
|
938
|
-
function
|
|
938
|
+
function Hs() {
|
|
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
941
|
function Ct(e) {
|
|
942
|
-
return (n) =>
|
|
942
|
+
return (n) => Bs(n, e);
|
|
943
943
|
}
|
|
944
|
-
function
|
|
944
|
+
function Bs(e, t) {
|
|
945
945
|
const n = $s(t);
|
|
946
946
|
if (n == null)
|
|
947
947
|
throw qe(
|
|
948
948
|
0
|
|
949
949
|
/* NodeTypes.Resource */
|
|
950
950
|
);
|
|
951
|
-
if (
|
|
952
|
-
const a =
|
|
951
|
+
if (Bt(n) === 1) {
|
|
952
|
+
const a = Qs(n);
|
|
953
953
|
return e.plural(a.reduce((c, u) => [
|
|
954
954
|
...c,
|
|
955
955
|
rn(e, u)
|
|
@@ -961,9 +961,9 @@ const Js = ["b", "body"];
|
|
|
961
961
|
function $s(e) {
|
|
962
962
|
return Me(e, Js);
|
|
963
963
|
}
|
|
964
|
-
const
|
|
965
|
-
function
|
|
966
|
-
return Me(e,
|
|
964
|
+
const Ks = ["c", "cases"];
|
|
965
|
+
function Qs(e) {
|
|
966
|
+
return Me(e, Ks, []);
|
|
967
967
|
}
|
|
968
968
|
function rn(e, t) {
|
|
969
969
|
const n = qs(t);
|
|
@@ -974,16 +974,16 @@ function rn(e, t) {
|
|
|
974
974
|
return e.normalize(s);
|
|
975
975
|
}
|
|
976
976
|
}
|
|
977
|
-
const
|
|
977
|
+
const zs = ["s", "static"];
|
|
978
978
|
function qs(e) {
|
|
979
|
-
return Me(e,
|
|
979
|
+
return Me(e, zs);
|
|
980
980
|
}
|
|
981
981
|
const ea = ["i", "items"];
|
|
982
982
|
function ta(e) {
|
|
983
983
|
return Me(e, ea, []);
|
|
984
984
|
}
|
|
985
985
|
function wt(e, t) {
|
|
986
|
-
const n =
|
|
986
|
+
const n = Bt(t);
|
|
987
987
|
switch (n) {
|
|
988
988
|
case 3:
|
|
989
989
|
return lt(t, n);
|
|
@@ -1018,7 +1018,7 @@ function wt(e, t) {
|
|
|
1018
1018
|
}
|
|
1019
1019
|
}
|
|
1020
1020
|
const na = ["t", "type"];
|
|
1021
|
-
function
|
|
1021
|
+
function Bt(e) {
|
|
1022
1022
|
return Me(e, na);
|
|
1023
1023
|
}
|
|
1024
1024
|
const sa = ["v", "value"];
|
|
@@ -1056,7 +1056,7 @@ function qe(e) {
|
|
|
1056
1056
|
const ia = (e) => e;
|
|
1057
1057
|
let ot = ee();
|
|
1058
1058
|
function Xe(e) {
|
|
1059
|
-
return
|
|
1059
|
+
return K(e) && Bt(e) === 0 && (Ne(e, "b") || Ne(e, "body"));
|
|
1060
1060
|
}
|
|
1061
1061
|
function ca(e, t = {}) {
|
|
1062
1062
|
let n = !1;
|
|
@@ -1113,7 +1113,7 @@ const Ce = {
|
|
|
1113
1113
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
1114
1114
|
}, pa = 24;
|
|
1115
1115
|
function Re(e) {
|
|
1116
|
-
return
|
|
1116
|
+
return ht(e, null, void 0);
|
|
1117
1117
|
}
|
|
1118
1118
|
function Jt(e, t) {
|
|
1119
1119
|
return t.locale != null ? ln(t.locale) : ln(e.locale);
|
|
@@ -1127,7 +1127,7 @@ function ln(e) {
|
|
|
1127
1127
|
return Rt;
|
|
1128
1128
|
if (e.constructor.name === "Function") {
|
|
1129
1129
|
const t = e();
|
|
1130
|
-
if (
|
|
1130
|
+
if (hs(t))
|
|
1131
1131
|
throw Re(Ce.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
1132
1132
|
return Rt = t;
|
|
1133
1133
|
} else
|
|
@@ -1138,7 +1138,7 @@ function ln(e) {
|
|
|
1138
1138
|
function ba(e, t, n) {
|
|
1139
1139
|
return [.../* @__PURE__ */ new Set([
|
|
1140
1140
|
n,
|
|
1141
|
-
...ce(t) ? t :
|
|
1141
|
+
...ce(t) ? t : K(t) ? Object.keys(t) : P(t) ? [t] : [n]
|
|
1142
1142
|
])];
|
|
1143
1143
|
}
|
|
1144
1144
|
function Dn(e, t, n) {
|
|
@@ -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] !== "!";
|
|
@@ -1381,39 +1381,39 @@ function ya(e) {
|
|
|
1381
1381
|
}
|
|
1382
1382
|
function Ta(e) {
|
|
1383
1383
|
const t = [];
|
|
1384
|
-
let n = -1, s = 0, l = 0, a, c, u, m, p, y,
|
|
1385
|
-
const
|
|
1386
|
-
|
|
1384
|
+
let n = -1, s = 0, l = 0, a, c, u, m, p, y, L;
|
|
1385
|
+
const O = [];
|
|
1386
|
+
O[
|
|
1387
1387
|
0
|
|
1388
1388
|
/* Actions.APPEND */
|
|
1389
1389
|
] = () => {
|
|
1390
1390
|
c === void 0 ? c = u : c += u;
|
|
1391
|
-
},
|
|
1391
|
+
}, O[
|
|
1392
1392
|
1
|
|
1393
1393
|
/* Actions.PUSH */
|
|
1394
1394
|
] = () => {
|
|
1395
1395
|
c !== void 0 && (t.push(c), c = void 0);
|
|
1396
|
-
},
|
|
1396
|
+
}, O[
|
|
1397
1397
|
2
|
|
1398
1398
|
/* Actions.INC_SUB_PATH_DEPTH */
|
|
1399
1399
|
] = () => {
|
|
1400
|
-
|
|
1400
|
+
O[
|
|
1401
1401
|
0
|
|
1402
1402
|
/* Actions.APPEND */
|
|
1403
1403
|
](), l++;
|
|
1404
|
-
},
|
|
1404
|
+
}, O[
|
|
1405
1405
|
3
|
|
1406
1406
|
/* Actions.PUSH_SUB_PATH */
|
|
1407
1407
|
] = () => {
|
|
1408
1408
|
if (l > 0)
|
|
1409
|
-
l--, s = 4,
|
|
1409
|
+
l--, s = 4, O[
|
|
1410
1410
|
0
|
|
1411
1411
|
/* Actions.APPEND */
|
|
1412
1412
|
]();
|
|
1413
1413
|
else {
|
|
1414
1414
|
if (l = 0, c === void 0 || (c = ya(c), c === !1))
|
|
1415
1415
|
return !1;
|
|
1416
|
-
|
|
1416
|
+
O[
|
|
1417
1417
|
1
|
|
1418
1418
|
/* Actions.PUSH */
|
|
1419
1419
|
]();
|
|
@@ -1422,14 +1422,14 @@ function Ta(e) {
|
|
|
1422
1422
|
function w() {
|
|
1423
1423
|
const V = e[n + 1];
|
|
1424
1424
|
if (s === 5 && V === "'" || s === 6 && V === '"')
|
|
1425
|
-
return n++, u = "\\" + V,
|
|
1425
|
+
return n++, u = "\\" + V, O[
|
|
1426
1426
|
0
|
|
1427
1427
|
/* Actions.APPEND */
|
|
1428
1428
|
](), !0;
|
|
1429
1429
|
}
|
|
1430
1430
|
for (; s !== null; )
|
|
1431
1431
|
if (n++, a = e[n], !(a === "\\" && w())) {
|
|
1432
|
-
if (m = Na(a),
|
|
1432
|
+
if (m = Na(a), L = we[s], p = L[m] || L.l || 8, p === 8 || (s = p[0], p[1] !== void 0 && (y = O[p[1]], y && (u = a, y() === !1))))
|
|
1433
1433
|
return;
|
|
1434
1434
|
if (s === 7)
|
|
1435
1435
|
return t;
|
|
@@ -1437,10 +1437,10 @@ function Ta(e) {
|
|
|
1437
1437
|
}
|
|
1438
1438
|
const cn = /* @__PURE__ */ new Map();
|
|
1439
1439
|
function ka(e, t) {
|
|
1440
|
-
return
|
|
1440
|
+
return K(e) ? e[t] : null;
|
|
1441
1441
|
}
|
|
1442
|
-
function
|
|
1443
|
-
if (!
|
|
1442
|
+
function Oa(e, t) {
|
|
1443
|
+
if (!K(e))
|
|
1444
1444
|
return null;
|
|
1445
1445
|
let n = cn.get(t);
|
|
1446
1446
|
if (n || (n = Ta(t), n && cn.set(t, n)), !n)
|
|
@@ -1455,12 +1455,12 @@ function La(e, t) {
|
|
|
1455
1455
|
}
|
|
1456
1456
|
return l;
|
|
1457
1457
|
}
|
|
1458
|
-
const
|
|
1458
|
+
const La = "10.0.5", vt = -1, pt = "en-US", un = "", mn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1459
1459
|
function Ca() {
|
|
1460
1460
|
return {
|
|
1461
|
-
upper: (e, t) => t === "text" && P(e) ? e.toUpperCase() : t === "vnode" &&
|
|
1462
|
-
lower: (e, t) => t === "text" && P(e) ? e.toLowerCase() : t === "vnode" &&
|
|
1463
|
-
capitalize: (e, t) => t === "text" && P(e) ? mn(e) : t === "vnode" &&
|
|
1461
|
+
upper: (e, t) => t === "text" && P(e) ? e.toUpperCase() : t === "vnode" && K(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1462
|
+
lower: (e, t) => t === "text" && P(e) ? e.toLowerCase() : t === "vnode" && K(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
1463
|
+
capitalize: (e, t) => t === "text" && P(e) ? mn(e) : t === "vnode" && K(e) && "__v_isVNode" in e ? mn(e.children) : e
|
|
1464
1464
|
};
|
|
1465
1465
|
}
|
|
1466
1466
|
let Mn;
|
|
@@ -1485,7 +1485,7 @@ const dn = (e) => {
|
|
|
1485
1485
|
}, wa = () => jn;
|
|
1486
1486
|
let fn = 0;
|
|
1487
1487
|
function Pa(e = {}) {
|
|
1488
|
-
const t = se(e.onWarn) ? e.onWarn : Es, n = P(e.version) ? e.version :
|
|
1488
|
+
const t = se(e.onWarn) ? e.onWarn : Es, n = P(e.version) ? e.version : La, s = P(e.locale) || se(e.locale) ? e.locale : pt, l = se(s) ? pt : s, a = ce(e.fallbackLocale) || $(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = $(e.messages) ? e.messages : At(l), u = $(e.datetimeFormats) ? e.datetimeFormats : At(l), m = $(e.numberFormats) ? e.numberFormats : At(l), p = de(ee(), e.modifiers, Ca()), y = e.pluralRules || ee(), L = se(e.missing) ? e.missing : null, O = 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, D = se(e.postTranslation) ? e.postTranslation : null, i = $(e.processor) ? e.processor : null, d = ie(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, T = !!e.escapeParameter, _ = se(e.messageCompiler) ? e.messageCompiler : Mn, M = se(e.messageResolver) ? e.messageResolver : wn || ka, S = se(e.localeFallbacker) ? e.localeFallbacker : Pn || ba, E = K(e.fallbackContext) ? e.fallbackContext : void 0, J = e, h = K(J.__datetimeFormatters) ? J.__datetimeFormatters : /* @__PURE__ */ new Map(), g = K(J.__numberFormatters) ? J.__numberFormatters : /* @__PURE__ */ new Map(), C = K(J.__meta) ? J.__meta : {};
|
|
1489
1489
|
fn++;
|
|
1490
1490
|
const I = {
|
|
1491
1491
|
version: n,
|
|
@@ -1495,8 +1495,8 @@ function Pa(e = {}) {
|
|
|
1495
1495
|
messages: c,
|
|
1496
1496
|
modifiers: p,
|
|
1497
1497
|
pluralRules: y,
|
|
1498
|
-
missing:
|
|
1499
|
-
missingWarn:
|
|
1498
|
+
missing: L,
|
|
1499
|
+
missingWarn: O,
|
|
1500
1500
|
fallbackWarn: w,
|
|
1501
1501
|
fallbackFormat: V,
|
|
1502
1502
|
unresolving: A,
|
|
@@ -1511,7 +1511,7 @@ function Pa(e = {}) {
|
|
|
1511
1511
|
onWarn: t,
|
|
1512
1512
|
__meta: C
|
|
1513
1513
|
};
|
|
1514
|
-
return I.datetimeFormats = u, I.numberFormats = m, I.__datetimeFormatters =
|
|
1514
|
+
return I.datetimeFormats = u, I.numberFormats = m, I.__datetimeFormatters = h, I.__numberFormatters = g, __INTLIFY_PROD_DEVTOOLS__ && da(I, n, C), I;
|
|
1515
1515
|
}
|
|
1516
1516
|
const At = (e) => ({ [e]: ee() });
|
|
1517
1517
|
function $t(e, t, n, s, l) {
|
|
@@ -1522,7 +1522,7 @@ function $t(e, t, n, s, l) {
|
|
|
1522
1522
|
} else
|
|
1523
1523
|
return t;
|
|
1524
1524
|
}
|
|
1525
|
-
function
|
|
1525
|
+
function Qe(e, t, n) {
|
|
1526
1526
|
const s = e;
|
|
1527
1527
|
s.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
|
|
1528
1528
|
}
|
|
@@ -1539,7 +1539,7 @@ function ja(e, t) {
|
|
|
1539
1539
|
return !1;
|
|
1540
1540
|
}
|
|
1541
1541
|
function _n(e, ...t) {
|
|
1542
|
-
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __datetimeFormatters: u } = e, [m, p, y,
|
|
1542
|
+
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __datetimeFormatters: u } = e, [m, p, y, L] = Pt(...t), O = ie(y.missingWarn) ? y.missingWarn : e.missingWarn;
|
|
1543
1543
|
ie(y.fallbackWarn) ? y.fallbackWarn : e.fallbackWarn;
|
|
1544
1544
|
const w = !!y.part, V = Jt(e, y), A = c(
|
|
1545
1545
|
e,
|
|
@@ -1548,17 +1548,17 @@ function _n(e, ...t) {
|
|
|
1548
1548
|
V
|
|
1549
1549
|
);
|
|
1550
1550
|
if (!P(m) || m === "")
|
|
1551
|
-
return new Intl.DateTimeFormat(V,
|
|
1551
|
+
return new Intl.DateTimeFormat(V, L).format(p);
|
|
1552
1552
|
let D = {}, i, d = null;
|
|
1553
1553
|
const T = "datetime format";
|
|
1554
1554
|
for (let S = 0; S < A.length && (i = A[S], D = n[i] || {}, d = D[m], !$(d)); S++)
|
|
1555
|
-
$t(e, m, i,
|
|
1555
|
+
$t(e, m, i, O, T);
|
|
1556
1556
|
if (!$(d) || !P(i))
|
|
1557
1557
|
return s ? vt : m;
|
|
1558
1558
|
let _ = `${i}__${m}`;
|
|
1559
|
-
|
|
1559
|
+
gt(L) || (_ = `${_}__${JSON.stringify(L)}`);
|
|
1560
1560
|
let M = u.get(_);
|
|
1561
|
-
return M || (M = new Intl.DateTimeFormat(i, de({}, d,
|
|
1561
|
+
return M || (M = new Intl.DateTimeFormat(i, de({}, d, L)), u.set(_, M)), w ? M.formatToParts(p) : M.format(p);
|
|
1562
1562
|
}
|
|
1563
1563
|
const Un = [
|
|
1564
1564
|
"localeMatcher",
|
|
@@ -1616,7 +1616,7 @@ function pn(e, t, n) {
|
|
|
1616
1616
|
}
|
|
1617
1617
|
}
|
|
1618
1618
|
function bn(e, ...t) {
|
|
1619
|
-
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __numberFormatters: u } = e, [m, p, y,
|
|
1619
|
+
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __numberFormatters: u } = e, [m, p, y, L] = Ft(...t), O = ie(y.missingWarn) ? y.missingWarn : e.missingWarn;
|
|
1620
1620
|
ie(y.fallbackWarn) ? y.fallbackWarn : e.fallbackWarn;
|
|
1621
1621
|
const w = !!y.part, V = Jt(e, y), A = c(
|
|
1622
1622
|
e,
|
|
@@ -1625,17 +1625,17 @@ function bn(e, ...t) {
|
|
|
1625
1625
|
V
|
|
1626
1626
|
);
|
|
1627
1627
|
if (!P(m) || m === "")
|
|
1628
|
-
return new Intl.NumberFormat(V,
|
|
1628
|
+
return new Intl.NumberFormat(V, L).format(p);
|
|
1629
1629
|
let D = {}, i, d = null;
|
|
1630
1630
|
const T = "number format";
|
|
1631
1631
|
for (let S = 0; S < A.length && (i = A[S], D = n[i] || {}, d = D[m], !$(d)); S++)
|
|
1632
|
-
$t(e, m, i,
|
|
1632
|
+
$t(e, m, i, O, T);
|
|
1633
1633
|
if (!$(d) || !P(i))
|
|
1634
1634
|
return s ? vt : m;
|
|
1635
1635
|
let _ = `${i}__${m}`;
|
|
1636
|
-
|
|
1636
|
+
gt(L) || (_ = `${_}__${JSON.stringify(L)}`);
|
|
1637
1637
|
let M = u.get(_);
|
|
1638
|
-
return M || (M = new Intl.NumberFormat(i, de({}, d,
|
|
1638
|
+
return M || (M = new Intl.NumberFormat(i, de({}, d, L)), u.set(_, M)), w ? M.formatToParts(p) : M.format(p);
|
|
1639
1639
|
}
|
|
1640
1640
|
const Vn = [
|
|
1641
1641
|
"localeMatcher",
|
|
@@ -1669,15 +1669,15 @@ function Ft(...e) {
|
|
|
1669
1669
|
Vn.includes(m) ? c[m] = n[m] : a[m] = n[m];
|
|
1670
1670
|
}), P(s) ? a.locale = s : $(s) && (c = s), $(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) => "",
|
|
1680
|
-
function
|
|
1679
|
+
const Ua = (e) => e, Va = (e) => "", Wa = "text", Ga = (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) {
|
|
@@ -1688,53 +1688,53 @@ function Xa(e, t) {
|
|
|
1688
1688
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1689
1689
|
}
|
|
1690
1690
|
function Ya(e = {}) {
|
|
1691
|
-
const t = e.locale, n = Za(e), s =
|
|
1691
|
+
const t = e.locale, n = Za(e), s = K(e.pluralRules) && P(t) && se(e.pluralRules[t]) ? e.pluralRules[t] : hn, l = K(e.pluralRules) && P(t) && se(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
1692
|
me(e.pluralIndex) && Xa(n, m);
|
|
1693
1693
|
const p = (i) => m[i];
|
|
1694
1694
|
function y(i, d) {
|
|
1695
|
-
const T = se(e.messages) ? e.messages(i, !!d) :
|
|
1695
|
+
const T = se(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
|
|
1698
|
+
const L = (i) => e.modifiers ? e.modifiers[i] : Ua, O = $(e.processor) && se(e.processor.normalize) ? e.processor.normalize : Ga, w = $(e.processor) && se(e.processor.interpolate) ? e.processor.interpolate : xa, V = $(e.processor) && P(e.processor.type) ? e.processor.type : Wa, D = {
|
|
1699
1699
|
list: u,
|
|
1700
1700
|
named: p,
|
|
1701
1701
|
plural: a,
|
|
1702
1702
|
linked: (i, ...d) => {
|
|
1703
1703
|
const [T, _] = d;
|
|
1704
1704
|
let M = "text", S = "";
|
|
1705
|
-
d.length === 1 ?
|
|
1705
|
+
d.length === 1 ? K(T) ? (S = T.modifier || S, M = T.type || M) : P(T) && (S = T || S) : d.length === 2 && (P(T) && (S = T || S), P(_) && (M = _ || M));
|
|
1706
1706
|
const E = y(i, !0)(D), J = (
|
|
1707
1707
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1708
1708
|
M === "vnode" && ce(E) && S ? E[0] : E
|
|
1709
1709
|
);
|
|
1710
|
-
return S ?
|
|
1710
|
+
return S ? L(S)(J, M) : J;
|
|
1711
1711
|
},
|
|
1712
1712
|
message: y,
|
|
1713
1713
|
type: V,
|
|
1714
1714
|
interpolate: w,
|
|
1715
|
-
normalize:
|
|
1715
|
+
normalize: O,
|
|
1716
1716
|
values: de(ee(), c, m)
|
|
1717
1717
|
};
|
|
1718
1718
|
return D;
|
|
1719
1719
|
}
|
|
1720
1720
|
const vn = () => "", ve = (e) => se(e);
|
|
1721
1721
|
function En(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,
|
|
1723
|
-
|
|
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, L = ie(p.fallbackWarn) ? p.fallbackWarn : e.fallbackWarn, O = 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) || se(V)), D = Jt(e, p);
|
|
1723
|
+
O && Ha(p);
|
|
1724
1724
|
let [i, d, T] = w ? [
|
|
1725
1725
|
m,
|
|
1726
1726
|
D,
|
|
1727
1727
|
u[D] || ee()
|
|
1728
|
-
] :
|
|
1728
|
+
] : Wn(e, m, D, c, L, y), _ = i, M = m;
|
|
1729
1729
|
if (!w && !(P(_) || Xe(_) || ve(_)) && A && (_ = V, M = _), !w && (!(P(_) || Xe(_) || ve(_)) || !P(d)))
|
|
1730
1730
|
return l ? vt : m;
|
|
1731
1731
|
let S = !1;
|
|
1732
1732
|
const E = () => {
|
|
1733
1733
|
S = !0;
|
|
1734
|
-
}, J = ve(_) ? _ :
|
|
1734
|
+
}, J = ve(_) ? _ : Gn(e, m, d, _, M, E);
|
|
1735
1735
|
if (S)
|
|
1736
1736
|
return _;
|
|
1737
|
-
const
|
|
1737
|
+
const h = $a(e, d, T, p), g = Ya(h), C = Ba(e, J, g), I = s ? s(C, m) : C;
|
|
1738
1738
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1739
1739
|
const F = {
|
|
1740
1740
|
timestamp: Date.now(),
|
|
@@ -1747,30 +1747,30 @@ function En(e, ...t) {
|
|
|
1747
1747
|
}
|
|
1748
1748
|
return I;
|
|
1749
1749
|
}
|
|
1750
|
-
function
|
|
1751
|
-
ce(e.list) ? e.list = e.list.map((t) => P(t) ? tn(t) : t) :
|
|
1750
|
+
function Ha(e) {
|
|
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
|
});
|
|
1754
1754
|
}
|
|
1755
|
-
function
|
|
1755
|
+
function Wn(e, t, n, s, l, a) {
|
|
1756
1756
|
const { messages: c, onWarn: u, messageResolver: m, localeFallbacker: p } = e, y = p(e, s, n);
|
|
1757
|
-
let
|
|
1757
|
+
let L = ee(), O, w = null;
|
|
1758
1758
|
const V = "translate";
|
|
1759
|
-
for (let A = 0; A < y.length && (
|
|
1760
|
-
if (!ja(
|
|
1759
|
+
for (let A = 0; A < y.length && (O = y[A], L = c[O] || ee(), (w = m(L, t)) === null && (w = L[t]), !(P(w) || Xe(w) || ve(w))); A++)
|
|
1760
|
+
if (!ja(O, y)) {
|
|
1761
1761
|
const D = $t(
|
|
1762
1762
|
e,
|
|
1763
1763
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1764
1764
|
t,
|
|
1765
|
-
|
|
1765
|
+
O,
|
|
1766
1766
|
a,
|
|
1767
1767
|
V
|
|
1768
1768
|
);
|
|
1769
1769
|
D !== t && (w = D);
|
|
1770
1770
|
}
|
|
1771
|
-
return [w,
|
|
1771
|
+
return [w, O, L];
|
|
1772
1772
|
}
|
|
1773
|
-
function
|
|
1773
|
+
function Gn(e, t, n, s, l, a) {
|
|
1774
1774
|
const { messageCompiler: c, warnHtmlMessage: u } = e;
|
|
1775
1775
|
if (ve(s)) {
|
|
1776
1776
|
const p = s;
|
|
@@ -1783,7 +1783,7 @@ function Wn(e, t, n, s, l, a) {
|
|
|
1783
1783
|
const m = c(s, Ja(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 Ba(e, t, n) {
|
|
1787
1787
|
return t(n);
|
|
1788
1788
|
}
|
|
1789
1789
|
function jt(...e) {
|
|
@@ -1791,7 +1791,7 @@ function jt(...e) {
|
|
|
1791
1791
|
if (!P(t) && !me(t) && !ve(t) && !Xe(t))
|
|
1792
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 : $(n) && !
|
|
1794
|
+
return me(n) ? l.plural = n : P(n) ? l.default = n : $(n) && !gt(n) ? l.named = n : ce(n) && (l.list = n), me(s) ? l.plural = s : P(s) ? l.default = s : $(s) && de(l, s), [a, l];
|
|
1795
1795
|
}
|
|
1796
1796
|
function Ja(e, t, n, s, l, a) {
|
|
1797
1797
|
return {
|
|
@@ -1805,14 +1805,14 @@ function Ja(e, t, n, s, l, a) {
|
|
|
1805
1805
|
};
|
|
1806
1806
|
}
|
|
1807
1807
|
function $a(e, t, n, s) {
|
|
1808
|
-
const { modifiers: l, pluralRules: a, messageResolver: c, fallbackLocale: u, fallbackWarn: m, missingWarn: p, fallbackContext: y } = e,
|
|
1808
|
+
const { modifiers: l, pluralRules: a, messageResolver: c, fallbackLocale: u, fallbackWarn: m, missingWarn: p, fallbackContext: y } = e, O = {
|
|
1809
1809
|
locale: t,
|
|
1810
1810
|
modifiers: l,
|
|
1811
1811
|
pluralRules: a,
|
|
1812
1812
|
messages: (w, V) => {
|
|
1813
1813
|
let A = c(n, w);
|
|
1814
1814
|
if (A == null && (y || V)) {
|
|
1815
|
-
const [, , D] =
|
|
1815
|
+
const [, , D] = Wn(
|
|
1816
1816
|
y || e,
|
|
1817
1817
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1818
1818
|
w,
|
|
@@ -1825,19 +1825,19 @@ function $a(e, t, n, s) {
|
|
|
1825
1825
|
}
|
|
1826
1826
|
if (P(A) || Xe(A)) {
|
|
1827
1827
|
let D = !1;
|
|
1828
|
-
const d =
|
|
1828
|
+
const d = Gn(e, w, t, A, w, () => {
|
|
1829
1829
|
D = !0;
|
|
1830
1830
|
});
|
|
1831
1831
|
return D ? vn : d;
|
|
1832
1832
|
} else return ve(A) ? A : vn;
|
|
1833
1833
|
}
|
|
1834
1834
|
};
|
|
1835
|
-
return e.processor && (
|
|
1835
|
+
return e.processor && (O.processor = e.processor), s.list && (O.list = s.list), s.named && (O.named = s.named), me(s.plural) && (O.pluralIndex = s.plural), O;
|
|
1836
1836
|
}
|
|
1837
|
-
|
|
1838
|
-
var za = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_4c393f0a-b767-4272-8ea0-aebc6bfcb4a6", 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_4c393f0a-b767-4272-8ea0-aebc6bfcb4a6", 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: "1870", ACTIONS_ORCHESTRATION_ID: "d7391573-22d0-452c-ba1b-7ed7be789afa.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: "20260525.161.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:14837", 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.10/x64", GITHUB_RUN_ID: "26871872500", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "57bb28d799cd9300741d34e5ba0d63ac0c72fa5b", 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.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L2FwcGx5LWZpZ21hLWRlc2lnbi1jbGVhblwiLFwiUGVybWlzc2lvblwiOjN9LHtcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL21haW5cIixcIlBlcm1pc3Npb25cIjoxfV0iLCJhY3NsIjoiMTAiLCJhdWQiOiJ2c286NmY5NmZhODktYjdiZi00ODc4LWJhZDMtODk4MDA2NTY2YjZlIiwiYmlsbGluZ19vd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsImV4cCI6MTc4MDQ5NjAzOSwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaWF0IjoxNzgwNDczODM5LCJpc3MiOiJodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwiam9iX2lkIjoiYmZjZmY3NjgtOTZjYi01Y2E0LTlhZjctNzM1Mjc1YWE1MzhlIiwibmFtZWlkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwibmJmIjoxNzgwNDczNTM5LCJvaWRjX2V4dHJhIjoie1wiYWN0b3JcIjpcImp1bi1sZWUtZmVlZG1lXCIsXCJhY3Rvcl9pZFwiOlwiMjM5MjgyODYyXCIsXCJiYXNlX3JlZlwiOlwiXCIsXCJjaGVja19ydW5faWRcIjpcIjc5MjQ4OTU1MjI1XCIsXCJldmVudF9uYW1lXCI6XCJ3b3JrZmxvd19kaXNwYXRjaFwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiam9iX3dvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2FjdGlvbnMvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ucG0tZ2l0aHViLnlhbWxAcmVmcy9oZWFkcy9tYWluXCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCJlMGRhYzNlOTI2ODcyNzBmYmQyYmM1ZWJiZWZjNWViOWU1YjA1Yjk4XCIsXCJyZWZcIjpcInJlZnMvaGVhZHMvZmVhdC9hcHBseS1maWdtYS1kZXNpZ24tY2xlYW5cIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2VcIixcInJlcG9zaXRvcnlfaWRcIjpcIjExMjQ2NzIyMzVcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMjY4NzE4NzI1MDBcIixcInJ1bl9udW1iZXJcIjpcIjEwNFwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcIjU3YmIyOGQ3OTljZDkzMDA3NDFkMzRlNWJhMGQ2M2FjMGM3MmZhNWJcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL2ZlYXQvYXBwbHktZmlnbWEtZGVzaWduLWNsZWFuXCIsXCJ3b3JrZmxvd19zaGFcIjpcIjU3YmIyOGQ3OTljZDkzMDA3NDFkMzRlNWJhMGQ2M2FjMGM3MmZhNWJcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL2hybS1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL2ZlYXQvYXBwbHktZmlnbWEtZGVzaWduLWNsZWFuIiwib3JjaF9pZCI6ImQ3MzkxNTczLTIyZDAtNDUyYy1iYTFiLTdlZDdiZTc4OWFmYS5wdWJsaXNoLnB1Ymxpc2guX19kZWZhdWx0Iiwib3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJwbGFuX2lkIjoiZDczOTE1NzMtMjJkMC00NTJjLWJhMWItN2VkN2JlNzg5YWZhIiwicmVwb3NpdG9yeV9pZCI6IjExMjQ2NzIyMzUiLCJyZXBvc2l0b3J5X293bmVyX2lkIjoiNTQ4MzE1MTUiLCJyZXBvc2l0b3J5X3Zpc2liaWxpdHkiOiJwcml2YXRlIiwicnVuX2lkIjoiMjY4NzE4NzI1MDAiLCJydW5fbnVtYmVyIjoiMTA0IiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDA3NDE2NiIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOmQ3MzkxNTczLTIyZDAtNDUyYy1iYTFiLTdlZDdiZTc4OWFmYTpiZmNmZjc2OC05NmNiLTVjYTQtOWFmNy03MzUyNzVhYTUzOGUgQWN0aW9ucy5SdW5uZXI6ZDczOTE1NzMtMjJkMC00NTJjLWJhMWItN2VkN2JlNzg5YWZhOmJmY2ZmNzY4LTk2Y2ItNWNhNC05YWY3LTczNTI3NWFhNTM4ZSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czpkNzM5MTU3My0yMmQwLTQ1MmMtYmExYi03ZWQ3YmU3ODlhZmE6YmZjZmY3NjgtOTZjYi01Y2E0LTlhZjctNzM1Mjc1YWE1MzhlIGdlbmVyYXRlX2lkX3Rva2VuOmQ3MzkxNTczLTIyZDAtNDUyYy1iYTFiLTdlZDdiZTc4OWFmYTpiZmNmZjc2OC05NmNiLTVjYTQtOWFmNy03MzUyNzVhYTUzOGUgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiI1N2JiMjhkNzk5Y2Q5MzAwNzQxZDM0ZTViYTBkNjNhYzBjNzJmYTViIiwidHJ1c3RfdGllciI6IjEifQ.QSLL4qx2mLTSICFGDFRejON_L7WJxFKmXsxLNcKRFmKG6pDoxcu8-QjGMfZbA0OkcyabkGVjRzPP1ZnYlPgpDs1N5EB_BtVCjKnflL1hRBezTCCE7dQh1qongtMLsYtqMHHB9u6_emyiHl05IPaeBKVWM0YEQ1VYtmYCUxVVTLXkl17OeOEwrcBi7Efh2JMxqP7tQBJyp37NqiHoWZzh8rITii5kyqv8-XWLeUkjmOGPVCsrGK-uE_WsVuj5jzIPTFUpCuc07clMrcxuBSBBjGMyyie-9Q0bBEWsU-Fu1Fy0O7FDICCYoNwt01gxpaVOzBruI55ePpfE7Pt8bZwPhg", 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_c5631c61-acdb-4b9d-9e0f-5338f5987c31", INVOCATION_ID: "0ec3dcff7bfc469f8be878649dbc5447", 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: "104", GITHUB_TRIGGERING_ACTOR: "jun-lee-feedme", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag latest --no-git-checks", npm_package_scripts_publish_npm_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag beta --no-git-checks", npm_package_scripts_publish_github: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks", npm_package_scripts_publish_github_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks", npm_config_frozen_lockfile: "", npm_package_devDependencies__vitest_ui: "^1.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies_eslint: "^9.39.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000074166", 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.17-dev.5", 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: "57bb28d799cd9300741d34e5ba0d63ac0c72fa5b", 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: "jun-lee-feedme", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", npm_package_devDependencies_globals: "^16.5.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_4c393f0a-b767-4272-8ea0-aebc6bfcb4a6", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "239282862", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-1-azure-eastus.actions.githubusercontent.com/206//idtoken/d7391573-22d0-452c-ba1b-7ed7be789afa/bfcff768-96cb-5ca4-9af7-735275aa538e?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_4c393f0a-b767-4272-8ea0-aebc6bfcb4a6", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.33.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_4c393f0a-b767-4272-8ea0-aebc6bfcb4a6", 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
|
+
Hs();
|
|
1838
|
+
var Ka = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_7ec0078b-8545-4e71-a5da-4727f37bb6df", 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_7ec0078b-8545-4e71-a5da-4727f37bb6df", 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: "1878", ACTIONS_ORCHESTRATION_ID: "64a89951-4108-43b5-befd-a8c60e8486a5.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: "20260525.161.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:15182", 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.10/x64", GITHUB_RUN_ID: "26993382822", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "7ee7c62a457fb9cae94309a1ab75c1c627bfcfba", 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.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L2FwcGx5LWZpZ21hLWRlc2lnbi1jbGVhblwiLFwiUGVybWlzc2lvblwiOjN9LHtcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL21haW5cIixcIlBlcm1pc3Npb25cIjoxfV0iLCJhY3NsIjoiMTAiLCJhdWQiOiJ2c286NmY5NmZhODktYjdiZi00ODc4LWJhZDMtODk4MDA2NTY2YjZlIiwiYmlsbGluZ19vd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsImV4cCI6MTc4MDY1MjAwNywiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaWF0IjoxNzgwNjI5ODA3LCJpc3MiOiJodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwiam9iX2lkIjoiZmZiMjIyNDgtOWU5MC01YTE5LWFkOTctMDI3ODE5ODJkNzc5IiwibmFtZWlkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwibmJmIjoxNzgwNjI5NTA3LCJvaWRjX2V4dHJhIjoie1wiYWN0b3JcIjpcImp1bi1sZWUtZmVlZG1lXCIsXCJhY3Rvcl9pZFwiOlwiMjM5MjgyODYyXCIsXCJiYXNlX3JlZlwiOlwiXCIsXCJjaGVja19ydW5faWRcIjpcIjc5NjU4MDIyMTc3XCIsXCJldmVudF9uYW1lXCI6XCJ3b3JrZmxvd19kaXNwYXRjaFwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiam9iX3dvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2FjdGlvbnMvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ucG0tZ2l0aHViLnlhbWxAcmVmcy9oZWFkcy9tYWluXCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCJlMGRhYzNlOTI2ODcyNzBmYmQyYmM1ZWJiZWZjNWViOWU1YjA1Yjk4XCIsXCJyZWZcIjpcInJlZnMvaGVhZHMvZmVhdC9hcHBseS1maWdtYS1kZXNpZ24tY2xlYW5cIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2VcIixcInJlcG9zaXRvcnlfaWRcIjpcIjExMjQ2NzIyMzVcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMjY5OTMzODI4MjJcIixcInJ1bl9udW1iZXJcIjpcIjEwNlwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcIjdlZTdjNjJhNDU3ZmI5Y2FlOTQzMDlhMWFiNzVjMWM2MjdiZmNmYmFcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL2ZlYXQvYXBwbHktZmlnbWEtZGVzaWduLWNsZWFuXCIsXCJ3b3JrZmxvd19zaGFcIjpcIjdlZTdjNjJhNDU3ZmI5Y2FlOTQzMDlhMWFiNzVjMWM2MjdiZmNmYmFcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL2hybS1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL2ZlYXQvYXBwbHktZmlnbWEtZGVzaWduLWNsZWFuIiwib3JjaF9pZCI6IjY0YTg5OTUxLTQxMDgtNDNiNS1iZWZkLWE4YzYwZTg0ODZhNS5wdWJsaXNoLnB1Ymxpc2guX19kZWZhdWx0Iiwib3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJwbGFuX2lkIjoiNjRhODk5NTEtNDEwOC00M2I1LWJlZmQtYThjNjBlODQ4NmE1IiwicmVwb3NpdG9yeV9pZCI6IjExMjQ2NzIyMzUiLCJyZXBvc2l0b3J5X293bmVyX2lkIjoiNTQ4MzE1MTUiLCJyZXBvc2l0b3J5X3Zpc2liaWxpdHkiOiJwcml2YXRlIiwicnVuX2lkIjoiMjY5OTMzODI4MjIiLCJydW5fbnVtYmVyIjoiMTA2IiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDA3NDc2NiIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOjY0YTg5OTUxLTQxMDgtNDNiNS1iZWZkLWE4YzYwZTg0ODZhNTpmZmIyMjI0OC05ZTkwLTVhMTktYWQ5Ny0wMjc4MTk4MmQ3NzkgQWN0aW9ucy5SdW5uZXI6NjRhODk5NTEtNDEwOC00M2I1LWJlZmQtYThjNjBlODQ4NmE1OmZmYjIyMjQ4LTllOTAtNWExOS1hZDk3LTAyNzgxOTgyZDc3OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czo2NGE4OTk1MS00MTA4LTQzYjUtYmVmZC1hOGM2MGU4NDg2YTU6ZmZiMjIyNDgtOWU5MC01YTE5LWFkOTctMDI3ODE5ODJkNzc5IGdlbmVyYXRlX2lkX3Rva2VuOjY0YTg5OTUxLTQxMDgtNDNiNS1iZWZkLWE4YzYwZTg0ODZhNTpmZmIyMjI0OC05ZTkwLTVhMTktYWQ5Ny0wMjc4MTk4MmQ3NzkgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiI3ZWU3YzYyYTQ1N2ZiOWNhZTk0MzA5YTFhYjc1YzFjNjI3YmZjZmJhIiwidHJ1c3RfdGllciI6IjEifQ.4hxAYnfMFQk7U66yOCrTXbpxapTSkoRo1z4MLj89WGoqXuc7aQ91a8HWGK3C3krKC3xg29Zw_zf_sKhZ3dAClgSbSPRw7LYnqt7a89zJLiyVXiScW2XL7upseTwnOmGVk5UMaPzo_q1u3ZUKujsqRXEq0WkOpEJLiYdMubWiY9ZfaEKxuxuIXFPMBN71RvoDCt02Jj1bQyyYwmFpJ7tEfRQYEMEzt841_S5CWikJR7iKQpiCDnG1LeFp8JxZ4Ndz0suwNskr83h3T2-JE42F3Vgm0uoY3G9-iETA3OVV4pVuRIkLhSqMq5muL8ht2r7JJYW44V5H-92mgGj4xVG47A", 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_f3563922-9700-4dd7-b247-eb3901e68de1", INVOCATION_ID: "48bd120e05a5431891c335f7334e0173", 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: "106", GITHUB_TRIGGERING_ACTOR: "jun-lee-feedme", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag latest --no-git-checks", npm_package_scripts_publish_npm_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag beta --no-git-checks", npm_package_scripts_publish_github: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks", npm_package_scripts_publish_github_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks", npm_config_frozen_lockfile: "", npm_package_devDependencies__vitest_ui: "^1.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies_eslint: "^9.39.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000074766", 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.18-dev", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_hrm_permission: "workspace:*", npm_package_devDependencies__rushstack_eslint_patch: "^1.3.3", npm_package_devDependencies_eslint_plugin_unused_imports: "^4.3.0", npm_package_devDependencies_jsdom: "^24.0.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "7ee7c62a457fb9cae94309a1ab75c1c627bfcfba", 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: "jun-lee-feedme", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", npm_package_devDependencies_globals: "^16.5.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_7ec0078b-8545-4e71-a5da-4727f37bb6df", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "239282862", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-3-azure-eastus.actions.githubusercontent.com/134//idtoken/64a89951-4108-43b5-befd-a8c60e8486a5/ffb22248-9e90-5a19-ad97-02781982d779?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_7ec0078b-8545-4e71-a5da-4727f37bb6df", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.33.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_7ec0078b-8545-4e71-a5da-4727f37bb6df", 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 Qa = "10.0.5";
|
|
1840
|
+
function za() {
|
|
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
1843
|
const Ye = {
|
|
@@ -1854,27 +1854,27 @@ const Ye = {
|
|
|
1854
1854
|
UNEXPECTED_ERROR: 32
|
|
1855
1855
|
};
|
|
1856
1856
|
function tt(e, ...t) {
|
|
1857
|
-
return
|
|
1857
|
+
return ht(e, null, void 0);
|
|
1858
1858
|
}
|
|
1859
|
-
const Ut = /* @__PURE__ */ je("__translateVNode"), Vt = /* @__PURE__ */ je("__datetimeParts"),
|
|
1859
|
+
const Ut = /* @__PURE__ */ je("__translateVNode"), Vt = /* @__PURE__ */ je("__datetimeParts"), Wt = /* @__PURE__ */ je("__numberParts"), qa = je("__setPluralRules"), xn = /* @__PURE__ */ je("__injectWithOption"), Gt = /* @__PURE__ */ je("__dispose");
|
|
1860
1860
|
function nt(e) {
|
|
1861
|
-
if (!
|
|
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
|
-
|
|
1866
|
+
K(e[t]) && nt(e[t]);
|
|
1867
1867
|
else {
|
|
1868
1868
|
const n = t.split("."), s = n.length - 1;
|
|
1869
1869
|
let l = e, a = !1;
|
|
1870
1870
|
for (let c = 0; c < s; c++) {
|
|
1871
|
-
if (n[c] in l || (l[n[c]] = ee()), !
|
|
1871
|
+
if (n[c] in l || (l[n[c]] = ee()), !K(l[n[c]])) {
|
|
1872
1872
|
a = !0;
|
|
1873
1873
|
break;
|
|
1874
1874
|
}
|
|
1875
1875
|
l = l[n[c]];
|
|
1876
1876
|
}
|
|
1877
|
-
a || (l[n[s]] = e[t], delete e[t]),
|
|
1877
|
+
a || (l[n[s]] = e[t], delete e[t]), K(l[n[s]]) && nt(l[n[s]]);
|
|
1878
1878
|
}
|
|
1879
1879
|
return e;
|
|
1880
1880
|
}
|
|
@@ -1895,7 +1895,7 @@ function Xn(e) {
|
|
|
1895
1895
|
return e.type;
|
|
1896
1896
|
}
|
|
1897
1897
|
function er(e, t, n) {
|
|
1898
|
-
let s =
|
|
1898
|
+
let s = K(t.messages) ? t.messages : ee();
|
|
1899
1899
|
"__i18nGlobal" in n && (s = Zn(e.locale.value, {
|
|
1900
1900
|
messages: s,
|
|
1901
1901
|
__i18n: n.__i18nGlobal
|
|
@@ -1905,13 +1905,13 @@ function er(e, t, n) {
|
|
|
1905
1905
|
e.mergeLocaleMessage(a, s[a]);
|
|
1906
1906
|
});
|
|
1907
1907
|
{
|
|
1908
|
-
if (
|
|
1908
|
+
if (K(t.datetimeFormats)) {
|
|
1909
1909
|
const a = Object.keys(t.datetimeFormats);
|
|
1910
1910
|
a.length && a.forEach((c) => {
|
|
1911
1911
|
e.mergeDateTimeFormat(c, t.datetimeFormats[c]);
|
|
1912
1912
|
});
|
|
1913
1913
|
}
|
|
1914
|
-
if (
|
|
1914
|
+
if (K(t.numberFormats)) {
|
|
1915
1915
|
const a = Object.keys(t.numberFormats);
|
|
1916
1916
|
a.length && a.forEach((c) => {
|
|
1917
1917
|
e.mergeNumberFormat(c, t.numberFormats[c]);
|
|
@@ -1920,7 +1920,7 @@ function er(e, t, n) {
|
|
|
1920
1920
|
}
|
|
1921
1921
|
}
|
|
1922
1922
|
function In(e) {
|
|
1923
|
-
return _e(
|
|
1923
|
+
return _e(zn, null, e, 0);
|
|
1924
1924
|
}
|
|
1925
1925
|
const Nn = "__INTLIFY_META__", yn = () => [], tr = () => !1;
|
|
1926
1926
|
let Tn = 0;
|
|
@@ -1933,7 +1933,7 @@ const nr = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
|
1933
1933
|
return e && (t = Xn(e)[Nn]) ? { [Nn]: t } : null;
|
|
1934
1934
|
};
|
|
1935
1935
|
function sr(e = {}) {
|
|
1936
|
-
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = qt ? bt :
|
|
1936
|
+
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = qt ? bt : Kn;
|
|
1937
1937
|
let c = ie(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1938
1938
|
const u = a(
|
|
1939
1939
|
// prettier-ignore
|
|
@@ -1941,21 +1941,21 @@ function sr(e = {}) {
|
|
|
1941
1941
|
), m = a(
|
|
1942
1942
|
// prettier-ignore
|
|
1943
1943
|
t && c ? t.fallbackLocale.value : P(e.fallbackLocale) || ce(e.fallbackLocale) || $(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : u.value
|
|
1944
|
-
), p = a(Zn(u.value, e)), y = a($(e.datetimeFormats) ? e.datetimeFormats : { [u.value]: {} }),
|
|
1945
|
-
let
|
|
1944
|
+
), p = a(Zn(u.value, e)), y = a($(e.datetimeFormats) ? e.datetimeFormats : { [u.value]: {} }), L = a($(e.numberFormats) ? e.numberFormats : { [u.value]: {} });
|
|
1945
|
+
let O = 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, D = se(e.missing) ? e.missing : null, i = se(e.missing) ? kn(e.missing) : null, d = se(e.postTranslation) ? e.postTranslation : null, T = t ? t.warnHtmlMessage : ie(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, _ = !!e.escapeParameter;
|
|
1946
1946
|
const M = t ? t.modifiers : $(e.modifiers) ? e.modifiers : {};
|
|
1947
1947
|
let S = e.pluralRules || t && t.pluralRules, E;
|
|
1948
1948
|
E = (() => {
|
|
1949
1949
|
s && dn(null);
|
|
1950
1950
|
const f = {
|
|
1951
|
-
version:
|
|
1951
|
+
version: Qa,
|
|
1952
1952
|
locale: u.value,
|
|
1953
1953
|
fallbackLocale: m.value,
|
|
1954
1954
|
messages: p.value,
|
|
1955
1955
|
modifiers: M,
|
|
1956
1956
|
pluralRules: S,
|
|
1957
1957
|
missing: i === null ? void 0 : i,
|
|
1958
|
-
missingWarn:
|
|
1958
|
+
missingWarn: O,
|
|
1959
1959
|
fallbackWarn: w,
|
|
1960
1960
|
fallbackFormat: A,
|
|
1961
1961
|
unresolving: !0,
|
|
@@ -1966,20 +1966,20 @@ function sr(e = {}) {
|
|
|
1966
1966
|
messageCompiler: e.messageCompiler,
|
|
1967
1967
|
__meta: { framework: "vue" }
|
|
1968
1968
|
};
|
|
1969
|
-
f.datetimeFormats = y.value, f.numberFormats =
|
|
1969
|
+
f.datetimeFormats = y.value, f.numberFormats = L.value, f.__datetimeFormatters = $(E) ? E.__datetimeFormatters : void 0, f.__numberFormatters = $(E) ? E.__numberFormatters : void 0;
|
|
1970
1970
|
const k = Pa(f);
|
|
1971
1971
|
return s && dn(k), k;
|
|
1972
|
-
})(),
|
|
1973
|
-
function
|
|
1972
|
+
})(), Qe(E, u.value, m.value);
|
|
1973
|
+
function h() {
|
|
1974
1974
|
return [
|
|
1975
1975
|
u.value,
|
|
1976
1976
|
m.value,
|
|
1977
1977
|
p.value,
|
|
1978
1978
|
y.value,
|
|
1979
|
-
|
|
1979
|
+
L.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, E.locale = u.value;
|
|
@@ -1987,9 +1987,9 @@ function sr(e = {}) {
|
|
|
1987
1987
|
}), C = q({
|
|
1988
1988
|
get: () => m.value,
|
|
1989
1989
|
set: (f) => {
|
|
1990
|
-
m.value = f, E.fallbackLocale = m.value,
|
|
1990
|
+
m.value = f, E.fallbackLocale = m.value, Qe(E, u.value, f);
|
|
1991
1991
|
}
|
|
1992
|
-
}), I = q(() => p.value), F = /* @__PURE__ */ q(() => y.value), x = /* @__PURE__ */ q(() =>
|
|
1992
|
+
}), I = q(() => p.value), F = /* @__PURE__ */ q(() => y.value), x = /* @__PURE__ */ q(() => L.value);
|
|
1993
1993
|
function N() {
|
|
1994
1994
|
return se(d) ? d : null;
|
|
1995
1995
|
}
|
|
@@ -1999,41 +1999,41 @@ function sr(e = {}) {
|
|
|
1999
1999
|
function v() {
|
|
2000
2000
|
return D;
|
|
2001
2001
|
}
|
|
2002
|
-
function
|
|
2002
|
+
function G(f) {
|
|
2003
2003
|
f !== null && (i = kn(f)), D = f, E.missing = i;
|
|
2004
2004
|
}
|
|
2005
|
-
const
|
|
2006
|
-
|
|
2007
|
-
let
|
|
2005
|
+
const W = (f, k, ne, re, Pe, st) => {
|
|
2006
|
+
h();
|
|
2007
|
+
let We;
|
|
2008
2008
|
try {
|
|
2009
|
-
|
|
2009
|
+
Ka.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (E.fallbackContext = t ? wa() : void 0), We = f(E);
|
|
2010
2010
|
} finally {
|
|
2011
2011
|
__INTLIFY_PROD_DEVTOOLS__, s || (E.fallbackContext = void 0);
|
|
2012
2012
|
}
|
|
2013
2013
|
if (ne !== "translate exists" && // for not `te` (e.g `t`)
|
|
2014
|
-
me(
|
|
2015
|
-
const [Jn,
|
|
2014
|
+
me(We) && We === vt || ne === "translate exists" && !We) {
|
|
2015
|
+
const [Jn, Gr] = k();
|
|
2016
2016
|
return t && V ? re(t) : Pe(Jn);
|
|
2017
2017
|
} else {
|
|
2018
|
-
if (st(
|
|
2019
|
-
return
|
|
2018
|
+
if (st(We))
|
|
2019
|
+
return We;
|
|
2020
2020
|
throw tt(Ye.UNEXPECTED_RETURN_TYPE);
|
|
2021
2021
|
}
|
|
2022
2022
|
};
|
|
2023
2023
|
function j(...f) {
|
|
2024
|
-
return
|
|
2024
|
+
return W((k) => Reflect.apply(En, null, [k, ...f]), () => jt(...f), "translate", (k) => Reflect.apply(k.t, k, [...f]), (k) => k, (k) => P(k));
|
|
2025
2025
|
}
|
|
2026
2026
|
function te(...f) {
|
|
2027
2027
|
const [k, ne, re] = f;
|
|
2028
|
-
if (re && !
|
|
2028
|
+
if (re && !K(re))
|
|
2029
2029
|
throw tt(Ye.INVALID_ARGUMENT);
|
|
2030
2030
|
return j(k, ne, de({ resolvedMessage: !0 }, re || {}));
|
|
2031
2031
|
}
|
|
2032
2032
|
function Y(...f) {
|
|
2033
|
-
return
|
|
2033
|
+
return W((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
|
|
2036
|
-
return
|
|
2035
|
+
function ge(...f) {
|
|
2036
|
+
return W((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) {
|
|
2039
2039
|
return f.map((k) => P(k) || me(k) || ie(k) ? In(String(k)) : k);
|
|
@@ -2044,7 +2044,7 @@ function sr(e = {}) {
|
|
|
2044
2044
|
type: "vnode"
|
|
2045
2045
|
};
|
|
2046
2046
|
function Ee(...f) {
|
|
2047
|
-
return
|
|
2047
|
+
return W((k) => {
|
|
2048
2048
|
let ne;
|
|
2049
2049
|
const re = k;
|
|
2050
2050
|
try {
|
|
@@ -2055,17 +2055,17 @@ function sr(e = {}) {
|
|
|
2055
2055
|
return ne;
|
|
2056
2056
|
}, () => jt(...f), "translate", (k) => k[Ut](...f), (k) => [In(k)], (k) => ce(k));
|
|
2057
2057
|
}
|
|
2058
|
-
function
|
|
2059
|
-
return
|
|
2058
|
+
function Be(...f) {
|
|
2059
|
+
return W((k) => Reflect.apply(bn, null, [k, ...f]), () => Ft(...f), "number format", (k) => k[Wt](...f), yn, (k) => P(k) || ce(k));
|
|
2060
2060
|
}
|
|
2061
2061
|
function Je(...f) {
|
|
2062
|
-
return
|
|
2062
|
+
return W((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 It(f) {
|
|
2065
2065
|
S = f, E.pluralRules = S;
|
|
2066
2066
|
}
|
|
2067
2067
|
function Nt(f, k) {
|
|
2068
|
-
return
|
|
2068
|
+
return W(() => {
|
|
2069
2069
|
if (!f)
|
|
2070
2070
|
return !1;
|
|
2071
2071
|
const ne = P(k) ? k : u.value, re = Ue(ne), Pe = E.messageResolver(re, f);
|
|
@@ -2100,7 +2100,7 @@ function sr(e = {}) {
|
|
|
2100
2100
|
}
|
|
2101
2101
|
p.value[f] = k, E.messages = p.value;
|
|
2102
2102
|
}
|
|
2103
|
-
function
|
|
2103
|
+
function Ke(f, k) {
|
|
2104
2104
|
p.value[f] = p.value[f] || {};
|
|
2105
2105
|
const ne = { [f]: k };
|
|
2106
2106
|
if (l)
|
|
@@ -2118,28 +2118,28 @@ function sr(e = {}) {
|
|
|
2118
2118
|
y.value[f] = de(y.value[f] || {}, k), E.datetimeFormats = y.value, pn(E, f, k);
|
|
2119
2119
|
}
|
|
2120
2120
|
function b(f) {
|
|
2121
|
-
return
|
|
2121
|
+
return L.value[f] || {};
|
|
2122
2122
|
}
|
|
2123
2123
|
function U(f, k) {
|
|
2124
|
-
|
|
2124
|
+
L.value[f] = k, E.numberFormats = L.value, gn(E, f, k);
|
|
2125
2125
|
}
|
|
2126
2126
|
function ae(f, k) {
|
|
2127
|
-
|
|
2127
|
+
L.value[f] = de(L.value[f] || {}, k), E.numberFormats = L.value, gn(E, f, k);
|
|
2128
2128
|
}
|
|
2129
2129
|
Tn++, t && qt && (St(t.locale, (f) => {
|
|
2130
|
-
c && (u.value = f, E.locale = f,
|
|
2130
|
+
c && (u.value = f, E.locale = f, Qe(E, u.value, m.value));
|
|
2131
2131
|
}), St(t.fallbackLocale, (f) => {
|
|
2132
|
-
c && (m.value = f, E.fallbackLocale = f,
|
|
2132
|
+
c && (m.value = f, E.fallbackLocale = f, Qe(E, u.value, m.value));
|
|
2133
2133
|
}));
|
|
2134
2134
|
const X = {
|
|
2135
2135
|
id: Tn,
|
|
2136
|
-
locale:
|
|
2136
|
+
locale: g,
|
|
2137
2137
|
fallbackLocale: C,
|
|
2138
2138
|
get inheritLocale() {
|
|
2139
2139
|
return c;
|
|
2140
2140
|
},
|
|
2141
2141
|
set inheritLocale(f) {
|
|
2142
|
-
c = f, f && t && (u.value = t.locale.value, m.value = t.fallbackLocale.value,
|
|
2142
|
+
c = f, f && t && (u.value = t.locale.value, m.value = t.fallbackLocale.value, Qe(E, u.value, m.value));
|
|
2143
2143
|
},
|
|
2144
2144
|
get availableLocales() {
|
|
2145
2145
|
return Object.keys(p.value).sort();
|
|
@@ -2155,10 +2155,10 @@ function sr(e = {}) {
|
|
|
2155
2155
|
return s;
|
|
2156
2156
|
},
|
|
2157
2157
|
get missingWarn() {
|
|
2158
|
-
return
|
|
2158
|
+
return O;
|
|
2159
2159
|
},
|
|
2160
2160
|
set missingWarn(f) {
|
|
2161
|
-
|
|
2161
|
+
O = f, E.missingWarn = O;
|
|
2162
2162
|
},
|
|
2163
2163
|
get fallbackWarn() {
|
|
2164
2164
|
return w;
|
|
@@ -2193,16 +2193,16 @@ function sr(e = {}) {
|
|
|
2193
2193
|
t: j,
|
|
2194
2194
|
getLocaleMessage: Ue,
|
|
2195
2195
|
setLocaleMessage: Ve,
|
|
2196
|
-
mergeLocaleMessage:
|
|
2196
|
+
mergeLocaleMessage: Ke,
|
|
2197
2197
|
getPostTranslationHandler: N,
|
|
2198
2198
|
setPostTranslationHandler: R,
|
|
2199
2199
|
getMissingHandler: v,
|
|
2200
|
-
setMissingHandler:
|
|
2200
|
+
setMissingHandler: G,
|
|
2201
2201
|
[qa]: It
|
|
2202
2202
|
};
|
|
2203
|
-
return X.datetimeFormats = F, X.numberFormats = x, X.rt = te, X.te = Nt, X.tm = $e, X.d = Y, X.n =
|
|
2203
|
+
return X.datetimeFormats = F, X.numberFormats = x, X.rt = te, X.te = Nt, X.tm = $e, X.d = Y, X.n = ge, X.getDateTimeFormat = Tt, X.setDateTimeFormat = r, X.mergeDateTimeFormat = o, X.getNumberFormat = b, X.setNumberFormat = U, X.mergeNumberFormat = ae, X[xn] = n, X[Ut] = Ee, X[Vt] = Je, X[Wt] = Be, X;
|
|
2204
2204
|
}
|
|
2205
|
-
const
|
|
2205
|
+
const Kt = {
|
|
2206
2206
|
tag: {
|
|
2207
2207
|
type: [String, Object]
|
|
2208
2208
|
},
|
|
@@ -2242,24 +2242,24 @@ de({
|
|
|
2242
2242
|
type: [Number, String],
|
|
2243
2243
|
validator: (e) => me(e) || !isNaN(e)
|
|
2244
2244
|
}
|
|
2245
|
-
},
|
|
2245
|
+
}, Kt);
|
|
2246
2246
|
function rr(e) {
|
|
2247
2247
|
return ce(e) && !P(e[0]);
|
|
2248
2248
|
}
|
|
2249
|
-
function
|
|
2249
|
+
function Hn(e, t, n, s) {
|
|
2250
2250
|
const { slots: l, attrs: a } = t;
|
|
2251
2251
|
return () => {
|
|
2252
2252
|
const c = { part: !0 };
|
|
2253
2253
|
let u = ee();
|
|
2254
|
-
e.locale && (c.locale = e.locale), P(e.format) ? c.key = e.format :
|
|
2254
|
+
e.locale && (c.locale = e.locale), P(e.format) ? c.key = e.format : K(e.format) && (P(e.format.key) && (c.key = e.format.key), u = Object.keys(e.format).reduce((O, w) => n.includes(w) ? de(ee(), O, { [w]: e.format[w] }) : O, ee()));
|
|
2255
2255
|
const m = s(e.value, c, u);
|
|
2256
2256
|
let p = [c.key];
|
|
2257
|
-
ce(m) ? p = m.map((
|
|
2258
|
-
const V = l[
|
|
2259
|
-
return rr(A) && (A[0].key = `${
|
|
2257
|
+
ce(m) ? p = m.map((O, w) => {
|
|
2258
|
+
const V = l[O.type], A = V ? V({ [O.type]: O.value, index: w, parts: m }) : [O.value];
|
|
2259
|
+
return rr(A) && (A[0].key = `${O.type}-${w}`), A;
|
|
2260
2260
|
}) : P(m) && (p = [m]);
|
|
2261
|
-
const y = de(ee(), a),
|
|
2262
|
-
return An(
|
|
2261
|
+
const y = de(ee(), a), L = P(e.tag) || K(e.tag) ? e.tag : Yn();
|
|
2262
|
+
return An(L, y, p);
|
|
2263
2263
|
};
|
|
2264
2264
|
}
|
|
2265
2265
|
de({
|
|
@@ -2270,7 +2270,7 @@ de({
|
|
|
2270
2270
|
format: {
|
|
2271
2271
|
type: [String, Object]
|
|
2272
2272
|
}
|
|
2273
|
-
},
|
|
2273
|
+
}, Kt);
|
|
2274
2274
|
de({
|
|
2275
2275
|
value: {
|
|
2276
2276
|
type: [Number, Date],
|
|
@@ -2279,7 +2279,7 @@ de({
|
|
|
2279
2279
|
format: {
|
|
2280
2280
|
type: [String, Object]
|
|
2281
2281
|
}
|
|
2282
|
-
},
|
|
2282
|
+
}, Kt);
|
|
2283
2283
|
const lr = /* @__PURE__ */ je("global-vue-i18n");
|
|
2284
2284
|
function Et(e = {}) {
|
|
2285
2285
|
const t = xt();
|
|
@@ -2298,7 +2298,7 @@ function Et(e = {}) {
|
|
|
2298
2298
|
let u = c.__getInstance(t);
|
|
2299
2299
|
if (u == null) {
|
|
2300
2300
|
const m = de({}, e);
|
|
2301
|
-
"__i18n" in l && (m.__i18n = l.__i18n), s && (m.__root = s), u = sr(m), c.__composerExtend && (u[
|
|
2301
|
+
"__i18n" in l && (m.__i18n = l.__i18n), s && (m.__root = s), u = sr(m), c.__composerExtend && (u[Gt] = c.__composerExtend(u)), dr(c, t, u), c.__setInstance(t, u);
|
|
2302
2302
|
}
|
|
2303
2303
|
return u;
|
|
2304
2304
|
}
|
|
@@ -2309,7 +2309,7 @@ function or(e) {
|
|
|
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;
|
|
@@ -2337,22 +2337,22 @@ function mr(e, t = !1) {
|
|
|
2337
2337
|
}
|
|
2338
2338
|
function dr(e, t, n) {
|
|
2339
2339
|
Rn(() => {
|
|
2340
|
-
}, t),
|
|
2340
|
+
}, t), Qn(() => {
|
|
2341
2341
|
const s = n;
|
|
2342
2342
|
e.__deleteInstance(t);
|
|
2343
|
-
const l = s[
|
|
2344
|
-
l && (l(), delete s[
|
|
2343
|
+
const l = s[Gt];
|
|
2344
|
+
l && (l(), delete s[Gt]);
|
|
2345
2345
|
}, t);
|
|
2346
2346
|
}
|
|
2347
|
-
|
|
2347
|
+
za();
|
|
2348
2348
|
Ra(ua);
|
|
2349
|
-
Aa(
|
|
2349
|
+
Aa(Oa);
|
|
2350
2350
|
Sa(Dn);
|
|
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 it = /* @__PURE__ */
|
|
2355
|
+
const it = /* @__PURE__ */ Oe({
|
|
2356
2356
|
__name: "InheritPermissionTooltip",
|
|
2357
2357
|
props: {
|
|
2358
2358
|
item: {
|
|
@@ -2363,15 +2363,15 @@ const it = /* @__PURE__ */ Le({
|
|
|
2363
2363
|
setup(e) {
|
|
2364
2364
|
const { t } = Et();
|
|
2365
2365
|
return (n, s) => {
|
|
2366
|
-
const l =
|
|
2367
|
-
return
|
|
2366
|
+
const l = ze("FmIcon"), a = ze("FmTooltip");
|
|
2367
|
+
return z(), De(a, {
|
|
2368
2368
|
variant: "plain",
|
|
2369
2369
|
placement: "right",
|
|
2370
2370
|
"z-index": 50
|
|
2371
2371
|
}, {
|
|
2372
2372
|
content: pe(() => [
|
|
2373
|
-
oe("div", null, Ie(
|
|
2374
|
-
(
|
|
2373
|
+
oe("div", null, Ie(B(t)("team.memberForm.permissions.inherited")), 1),
|
|
2374
|
+
(z(!0), le(Te, null, he(e.item.setNames, (c) => (z(), le("div", { key: c }, [
|
|
2375
2375
|
oe("div", null, "- " + Ie(c), 1)
|
|
2376
2376
|
]))), 128))
|
|
2377
2377
|
]),
|
|
@@ -2387,7 +2387,7 @@ const it = /* @__PURE__ */ Le({
|
|
|
2387
2387
|
};
|
|
2388
2388
|
}
|
|
2389
2389
|
});
|
|
2390
|
-
function
|
|
2390
|
+
function On(e, t, n) {
|
|
2391
2391
|
const s = n.filter((u) => u !== "manage");
|
|
2392
2392
|
if (s.length === 0) return;
|
|
2393
2393
|
const l = e.findIndex((u) => u.subject === t && !u.inverted);
|
|
@@ -2401,228 +2401,228 @@ function Ln(e, t, n) {
|
|
|
2401
2401
|
actions: Array.from(a)
|
|
2402
2402
|
});
|
|
2403
2403
|
}
|
|
2404
|
-
const
|
|
2404
|
+
const Ln = Object.values(is), fr = {
|
|
2405
2405
|
read: "View",
|
|
2406
2406
|
create: "Duplicate",
|
|
2407
2407
|
update: "Edit"
|
|
2408
2408
|
};
|
|
2409
2409
|
function _r(e, t, n, s) {
|
|
2410
|
-
const { t: l } =
|
|
2410
|
+
const { t: l } = He(), { getFlagValue: a, getFlag: c } = os(), u = q(() => {
|
|
2411
2411
|
var I;
|
|
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 && ((I = c(F.showByFeatureFlag)) == null ? void 0 : I.enabled) === !1 && a(F.showByFeatureFlag) === "true" || (
|
|
2415
|
+
x && (n.value.includes(F.subject) || F.showByFeatureFlag && ((I = c(F.showByFeatureFlag)) == null ? void 0 : I.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 =
|
|
2420
|
+
return [...h.keys()].sort((F, x) => {
|
|
2421
|
+
const N = Ln.indexOf(F), R = Ln.indexOf(x);
|
|
2422
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 && R.set(
|
|
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 = R.get(
|
|
2429
|
+
const v = x.some((H) => {
|
|
2430
|
+
const Z = R.get(H.value);
|
|
2431
2431
|
return Z && Z.length > 1;
|
|
2432
|
-
}),
|
|
2432
|
+
}), G = v ? [
|
|
2433
2433
|
...new Set(
|
|
2434
|
-
x.flatMap((
|
|
2434
|
+
x.flatMap((H) => R.get(H.value) ?? []).filter((H) => H !== "manage")
|
|
2435
2435
|
)
|
|
2436
|
-
] : [],
|
|
2437
|
-
for (const
|
|
2438
|
-
x.some((Z) => Z.value ===
|
|
2436
|
+
] : [], W = /* @__PURE__ */ new Map();
|
|
2437
|
+
for (const H of e.value)
|
|
2438
|
+
x.some((Z) => Z.value === H.subject) && !H.inverted && W.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
|
-
}), Y = (te == null ? void 0 : te.value) ?? null,
|
|
2443
|
+
return (Z = g.get(H.value)) == null ? void 0 : Z.isCategoryCover;
|
|
2444
|
+
}), Y = (te == null ? void 0 : te.value) ?? null, ge = Y ? W.get(Y) ?? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set(), fe = ge.has("manage");
|
|
2445
2445
|
return {
|
|
2446
2446
|
category: F,
|
|
2447
2447
|
label: N,
|
|
2448
2448
|
options: x,
|
|
2449
2449
|
selectedSubjects: j,
|
|
2450
2450
|
isMultiAction: v,
|
|
2451
|
-
actionColumns:
|
|
2451
|
+
actionColumns: G,
|
|
2452
2452
|
permissionActionsMap: R,
|
|
2453
|
-
selectedActionsMap:
|
|
2453
|
+
selectedActionsMap: W,
|
|
2454
2454
|
coverSubject: Y,
|
|
2455
|
-
coverSelectedActions:
|
|
2455
|
+
coverSelectedActions: ge,
|
|
2456
2456
|
coverCoversAll: fe
|
|
2457
2457
|
};
|
|
2458
2458
|
});
|
|
2459
2459
|
});
|
|
2460
|
-
function m(
|
|
2460
|
+
function m(h, g) {
|
|
2461
2461
|
var I;
|
|
2462
|
-
const C = ((I = u.value.find((F) => F.category ===
|
|
2462
|
+
const C = ((I = u.value.find((F) => F.category === h)) == null ? void 0 : I.options) ?? [];
|
|
2463
2463
|
s("update:model-value", [
|
|
2464
2464
|
...e.value.filter((F) => !C.some((x) => x.value === F.subject)),
|
|
2465
|
-
...t.value.filter((F) =>
|
|
2465
|
+
...t.value.filter((F) => g.includes(F.subject)).map(
|
|
2466
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
|
-
(C) =>
|
|
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
|
|
2481
|
-
const
|
|
2482
|
-
(C) => !
|
|
2480
|
+
function L(h) {
|
|
2481
|
+
const g = e.value.filter(
|
|
2482
|
+
(C) => !h.options.some((I) => I.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 C = t.value.filter((I) =>
|
|
2487
|
+
const C = t.value.filter((I) => h.options.some((F) => F.value === I.subject)).map(
|
|
2488
2488
|
({ category: I, 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
|
|
2494
|
-
const C =
|
|
2493
|
+
function O(h, g) {
|
|
2494
|
+
const C = h.selectedActionsMap.get(g);
|
|
2495
2495
|
return C ? C.has("manage") : !1;
|
|
2496
2496
|
}
|
|
2497
|
-
function w(
|
|
2498
|
-
const C =
|
|
2497
|
+
function w(h, g) {
|
|
2498
|
+
const C = h.permissionActionsMap.get(g);
|
|
2499
2499
|
if (!C) return !1;
|
|
2500
2500
|
const I = C.filter((N) => N !== "manage");
|
|
2501
2501
|
if (I.length === 0) return !1;
|
|
2502
|
-
const F =
|
|
2502
|
+
const F = h.selectedActionsMap.get(g);
|
|
2503
2503
|
if (!F) return !1;
|
|
2504
2504
|
const x = I.filter((N) => F.has(N));
|
|
2505
2505
|
return x.length > 0 && x.length < I.length;
|
|
2506
2506
|
}
|
|
2507
|
-
function V(
|
|
2507
|
+
function V(h, g, C) {
|
|
2508
2508
|
if (C) {
|
|
2509
|
-
const I = t.value.find((
|
|
2509
|
+
const I = t.value.find((G) => G.subject === g);
|
|
2510
2510
|
if (!I) return;
|
|
2511
2511
|
const {
|
|
2512
2512
|
category: F,
|
|
2513
2513
|
showByFeatureFlag: x,
|
|
2514
2514
|
isCategoryCover: N,
|
|
2515
2515
|
...R
|
|
2516
|
-
} = I, v = e.value.filter((
|
|
2516
|
+
} = I, v = e.value.filter((G) => G.subject !== g);
|
|
2517
2517
|
v.push(R), s("update:model-value", v);
|
|
2518
2518
|
} else
|
|
2519
2519
|
s(
|
|
2520
2520
|
"update:model-value",
|
|
2521
|
-
e.value.filter((I) => I.subject !==
|
|
2521
|
+
e.value.filter((I) => I.subject !== g)
|
|
2522
2522
|
);
|
|
2523
2523
|
}
|
|
2524
|
-
function A(
|
|
2525
|
-
const C =
|
|
2524
|
+
function A(h, g) {
|
|
2525
|
+
const C = h.permissionActionsMap.get(g);
|
|
2526
2526
|
return C ? C.some((I) => I !== "manage") : !1;
|
|
2527
2527
|
}
|
|
2528
|
-
function D(
|
|
2529
|
-
const I =
|
|
2528
|
+
function D(h, g, C) {
|
|
2529
|
+
const I = h.selectedActionsMap.get(g);
|
|
2530
2530
|
return I ? I.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 I =
|
|
2538
|
+
function T(h, g, C) {
|
|
2539
|
+
const I = h.permissionActionsMap.get(g);
|
|
2540
2540
|
return I ? I.includes(C) : !1;
|
|
2541
2541
|
}
|
|
2542
|
-
function _(
|
|
2543
|
-
const I = [...e.value], F = I.findIndex((N) => N.subject ===
|
|
2542
|
+
function _(h, g, C) {
|
|
2543
|
+
const I = [...e.value], F = I.findIndex((N) => N.subject === h && !N.inverted);
|
|
2544
2544
|
if (C)
|
|
2545
2545
|
if (F >= 0) {
|
|
2546
2546
|
const N = { ...I[F] }, R = new Set(N.actions);
|
|
2547
|
-
R.add(
|
|
2547
|
+
R.add(g), N.actions = Array.from(R), I[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
2552
|
category: R,
|
|
2553
2553
|
showByFeatureFlag: v,
|
|
2554
|
-
isCategoryCover:
|
|
2555
|
-
...
|
|
2554
|
+
isCategoryCover: G,
|
|
2555
|
+
...W
|
|
2556
2556
|
} = N;
|
|
2557
|
-
I.push({ ...
|
|
2557
|
+
I.push({ ...W, actions: [g] });
|
|
2558
2558
|
}
|
|
2559
2559
|
else if (F >= 0) {
|
|
2560
|
-
const N = { ...I[F] }, R = N.actions.filter((v) => v !==
|
|
2560
|
+
const N = { ...I[F] }, R = N.actions.filter((v) => v !== g);
|
|
2561
2561
|
R.length === 0 ? I.splice(F, 1) : (N.actions = R, I[F] = N);
|
|
2562
2562
|
}
|
|
2563
|
-
const x = t.value.find((N) => N.subject ===
|
|
2564
|
-
x &&
|
|
2563
|
+
const x = t.value.find((N) => N.subject === h);
|
|
2564
|
+
x && On(I, h, x.actions), s("update:model-value", I);
|
|
2565
2565
|
}
|
|
2566
|
-
function M(
|
|
2567
|
-
const C =
|
|
2568
|
-
(I) => T(
|
|
2566
|
+
function M(h, g) {
|
|
2567
|
+
const C = h.options.filter(
|
|
2568
|
+
(I) => T(h, I.value, g)
|
|
2569
2569
|
);
|
|
2570
2570
|
return C.length === 0 ? !1 : C.every(
|
|
2571
|
-
(I) => D(
|
|
2571
|
+
(I) => D(h, I.value, g) || d(h, I.value, g)
|
|
2572
2572
|
);
|
|
2573
2573
|
}
|
|
2574
|
-
function S(
|
|
2575
|
-
const C =
|
|
2576
|
-
(F) => T(
|
|
2574
|
+
function S(h, g) {
|
|
2575
|
+
const C = h.options.filter(
|
|
2576
|
+
(F) => T(h, F.value, g)
|
|
2577
2577
|
);
|
|
2578
2578
|
if (C.length === 0) return !1;
|
|
2579
2579
|
const I = C.filter(
|
|
2580
|
-
(F) => D(
|
|
2580
|
+
(F) => D(h, F.value, g) || d(h, F.value, g)
|
|
2581
2581
|
).length;
|
|
2582
2582
|
return I > 0 && I < C.length;
|
|
2583
2583
|
}
|
|
2584
|
-
function E(
|
|
2584
|
+
function E(h, g, C) {
|
|
2585
2585
|
const I = [...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 = I.findIndex(
|
|
2589
2589
|
(v) => v.subject === x && !v.inverted
|
|
2590
2590
|
);
|
|
2591
2591
|
if (C)
|
|
2592
2592
|
if (N >= 0) {
|
|
2593
|
-
const v = { ...I[N] },
|
|
2594
|
-
|
|
2593
|
+
const v = { ...I[N] }, G = new Set(v.actions);
|
|
2594
|
+
G.add(g), v.actions = Array.from(G), I[N] = v;
|
|
2595
2595
|
} else {
|
|
2596
2596
|
const v = t.value.find((Y) => Y.subject === x);
|
|
2597
2597
|
if (!v) continue;
|
|
2598
2598
|
const {
|
|
2599
|
-
category:
|
|
2600
|
-
showByFeatureFlag:
|
|
2599
|
+
category: G,
|
|
2600
|
+
showByFeatureFlag: W,
|
|
2601
2601
|
isCategoryCover: j,
|
|
2602
2602
|
...te
|
|
2603
2603
|
} = v;
|
|
2604
|
-
I.push({ ...te, actions: [
|
|
2604
|
+
I.push({ ...te, actions: [g] });
|
|
2605
2605
|
}
|
|
2606
2606
|
else if (N >= 0) {
|
|
2607
|
-
const v = { ...I[N] },
|
|
2608
|
-
|
|
2607
|
+
const v = { ...I[N] }, G = v.actions.filter((W) => W !== g);
|
|
2608
|
+
G.length === 0 ? I.splice(N, 1) : (v.actions = G, I[N] = v);
|
|
2609
2609
|
}
|
|
2610
2610
|
const R = t.value.find((v) => v.subject === x);
|
|
2611
|
-
R &&
|
|
2611
|
+
R && On(I, x, R.actions);
|
|
2612
2612
|
}
|
|
2613
2613
|
s("update:model-value", I);
|
|
2614
2614
|
}
|
|
2615
|
-
function J(
|
|
2616
|
-
const
|
|
2617
|
-
return l(
|
|
2615
|
+
function J(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,
|
|
2621
2621
|
toggleCategory: m,
|
|
2622
2622
|
isAllManageChecked: p,
|
|
2623
2623
|
isAllManageIndeterminate: y,
|
|
2624
|
-
toggleAllManage:
|
|
2625
|
-
isManageChecked:
|
|
2624
|
+
toggleAllManage: L,
|
|
2625
|
+
isManageChecked: O,
|
|
2626
2626
|
isManageIndeterminate: w,
|
|
2627
2627
|
toggleManage: V,
|
|
2628
2628
|
hasNonManageActions: A,
|
|
@@ -2637,7 +2637,7 @@ function _r(e, t, n, s) {
|
|
|
2637
2637
|
actionLabel: J
|
|
2638
2638
|
};
|
|
2639
2639
|
}
|
|
2640
|
-
const pr = { class: "flex flex-col gap-16" }, br = { class: "fm-typo-en-title-sm-600" },
|
|
2640
|
+
const pr = { class: "flex flex-col gap-16" }, br = { class: "fm-typo-en-title-sm-600" }, gr = { class: "text-center text-sm font-semibold text-fm-color-typo-primary" }, hr = ["onClick"], vr = { class: "flex justify-center" }, Er = { class: "flex items-center min-w-0 gap-8" }, Ir = ["title", "onClick"], Nr = { class: "flex justify-center" }, yr = /* @__PURE__ */ Oe({
|
|
2641
2641
|
__name: "BasePermission",
|
|
2642
2642
|
props: {
|
|
2643
2643
|
modelValue: {
|
|
@@ -2659,14 +2659,14 @@ const pr = { class: "flex flex-col gap-16" }, br = { class: "fm-typo-en-title-sm
|
|
|
2659
2659
|
},
|
|
2660
2660
|
emits: ["update:model-value"],
|
|
2661
2661
|
setup(e, { emit: t }) {
|
|
2662
|
-
const n = e, s = t, { t: l } =
|
|
2662
|
+
const n = e, s = t, { t: l } = He(), a = q(() => [...Dt, ...n.additionalPermissions]), {
|
|
2663
2663
|
categoryGroups: c,
|
|
2664
2664
|
isAllManageChecked: u,
|
|
2665
2665
|
isAllManageIndeterminate: m,
|
|
2666
2666
|
toggleAllManage: p,
|
|
2667
2667
|
isManageChecked: y,
|
|
2668
|
-
isManageIndeterminate:
|
|
2669
|
-
toggleManage:
|
|
2668
|
+
isManageIndeterminate: L,
|
|
2669
|
+
toggleManage: O,
|
|
2670
2670
|
isActionChecked: w,
|
|
2671
2671
|
isRowFullyCoveredByCover: V,
|
|
2672
2672
|
isActionCoveredByCover: A,
|
|
@@ -2677,9 +2677,9 @@ const pr = { class: "flex flex-col gap-16" }, br = { class: "fm-typo-en-title-sm
|
|
|
2677
2677
|
toggleAllAction: _,
|
|
2678
2678
|
actionLabel: M
|
|
2679
2679
|
} = _r(
|
|
2680
|
-
|
|
2680
|
+
Qt(n, "modelValue"),
|
|
2681
2681
|
a,
|
|
2682
|
-
|
|
2682
|
+
Qt(n, "excludedSubjects"),
|
|
2683
2683
|
(E, J) => s("update:model-value", J)
|
|
2684
2684
|
);
|
|
2685
2685
|
function S(E) {
|
|
@@ -2687,89 +2687,89 @@ const pr = { class: "flex flex-col gap-16" }, br = { class: "fm-typo-en-title-sm
|
|
|
2687
2687
|
return J === 0 ? "" : l("team.memberForm.permissions.allowedCount", { count: J });
|
|
2688
2688
|
}
|
|
2689
2689
|
return (E, J) => {
|
|
2690
|
-
const
|
|
2691
|
-
return
|
|
2692
|
-
(
|
|
2693
|
-
key:
|
|
2694
|
-
subtitle: S(
|
|
2690
|
+
const h = ze("FmCheckbox");
|
|
2691
|
+
return z(), le("div", pr, [
|
|
2692
|
+
(z(!0), le(Te, null, he(B(c), (g) => (z(), De(Zt, {
|
|
2693
|
+
key: g.category,
|
|
2694
|
+
subtitle: S(g)
|
|
2695
2695
|
}, {
|
|
2696
2696
|
title: pe(() => [
|
|
2697
|
-
oe("p", br, Ie(
|
|
2697
|
+
oe("p", br, Ie(g.label), 1)
|
|
2698
2698
|
]),
|
|
2699
2699
|
default: pe(() => [
|
|
2700
2700
|
oe("div", {
|
|
2701
2701
|
class: "mt-16 grid items-center gap-y-8",
|
|
2702
2702
|
style: mt({
|
|
2703
|
-
gridTemplateColumns: `minmax(0, 1fr) repeat(${
|
|
2703
|
+
gridTemplateColumns: `minmax(0, 1fr) repeat(${g.actionColumns.length + 1}, 80px)`
|
|
2704
2704
|
})
|
|
2705
2705
|
}, [
|
|
2706
2706
|
J[0] || (J[0] = oe("div", null, null, -1)),
|
|
2707
|
-
oe("div",
|
|
2708
|
-
(
|
|
2707
|
+
oe("div", gr, Ie(B(l)("team.memberForm.permissions.columnManage")), 1),
|
|
2708
|
+
(z(!0), le(Te, null, he(g.actionColumns, (C) => (z(), le("div", {
|
|
2709
2709
|
key: `header-${C}`,
|
|
2710
2710
|
class: "text-center text-sm font-semibold text-fm-color-typo-primary"
|
|
2711
|
-
}, Ie(
|
|
2711
|
+
}, Ie(B(M)(C)), 1))), 128)),
|
|
2712
2712
|
oe("div", {
|
|
2713
2713
|
class: "cursor-pointer",
|
|
2714
|
-
onClick: (C) => !e.disable &&
|
|
2715
|
-
}, Ie(
|
|
2714
|
+
onClick: (C) => !e.disable && B(p)(g)
|
|
2715
|
+
}, Ie(B(l)("team.labels.all")), 9, hr),
|
|
2716
2716
|
oe("div", vr, [
|
|
2717
|
-
_e(
|
|
2718
|
-
"model-value":
|
|
2719
|
-
indeterminate:
|
|
2717
|
+
_e(h, {
|
|
2718
|
+
"model-value": B(u)(g),
|
|
2719
|
+
indeterminate: B(m)(g),
|
|
2720
2720
|
value: !0,
|
|
2721
2721
|
disabled: e.disable,
|
|
2722
2722
|
size: "sm",
|
|
2723
2723
|
dense: "",
|
|
2724
|
-
"onUpdate:modelValue": (C) =>
|
|
2724
|
+
"onUpdate:modelValue": (C) => B(p)(g)
|
|
2725
2725
|
}, null, 8, ["model-value", "indeterminate", "disabled", "onUpdate:modelValue"])
|
|
2726
2726
|
]),
|
|
2727
|
-
(
|
|
2727
|
+
(z(!0), le(Te, null, he(g.actionColumns, (C) => (z(), le("div", {
|
|
2728
2728
|
key: `all-${C}`,
|
|
2729
2729
|
class: "flex justify-center"
|
|
2730
2730
|
}, [
|
|
2731
|
-
_e(
|
|
2732
|
-
"model-value":
|
|
2733
|
-
indeterminate:
|
|
2731
|
+
_e(h, {
|
|
2732
|
+
"model-value": B(d)(g, C),
|
|
2733
|
+
indeterminate: B(T)(g, C),
|
|
2734
2734
|
value: C,
|
|
2735
2735
|
disabled: e.disable,
|
|
2736
2736
|
size: "sm",
|
|
2737
2737
|
dense: "",
|
|
2738
|
-
"onUpdate:modelValue": (I) =>
|
|
2738
|
+
"onUpdate:modelValue": (I) => B(_)(g, C, I)
|
|
2739
2739
|
}, null, 8, ["model-value", "indeterminate", "value", "disabled", "onUpdate:modelValue"])
|
|
2740
2740
|
]))), 128)),
|
|
2741
|
-
(
|
|
2741
|
+
(z(!0), le(Te, null, he(g.options, (C) => (z(), le(Te, {
|
|
2742
2742
|
key: C.value
|
|
2743
2743
|
}, [
|
|
2744
2744
|
oe("div", Er, [
|
|
2745
2745
|
oe("span", {
|
|
2746
2746
|
class: "block truncate cursor-pointer",
|
|
2747
2747
|
title: C.label,
|
|
2748
|
-
onClick: (I) => !e.disable && !
|
|
2748
|
+
onClick: (I) => !e.disable && !B(V)(g, C.value) && B(O)(g, C.value, !B(y)(g, C.value))
|
|
2749
2749
|
}, Ie(C.label), 9, Ir),
|
|
2750
2750
|
ke(E.$slots, `checkbox-${C.value}-append`, { option: C })
|
|
2751
2751
|
]),
|
|
2752
2752
|
oe("div", Nr, [
|
|
2753
|
-
_e(
|
|
2754
|
-
"model-value":
|
|
2753
|
+
_e(h, {
|
|
2754
|
+
"model-value": B(y)(g, C.value) || B(V)(g, C.value),
|
|
2755
2755
|
value: C.value,
|
|
2756
|
-
disabled: e.disable ||
|
|
2757
|
-
indeterminate:
|
|
2756
|
+
disabled: e.disable || B(V)(g, C.value),
|
|
2757
|
+
indeterminate: B(L)(g, C.value),
|
|
2758
2758
|
size: "sm",
|
|
2759
|
-
"onUpdate:modelValue": (I) =>
|
|
2759
|
+
"onUpdate:modelValue": (I) => B(O)(g, C.value, I)
|
|
2760
2760
|
}, null, 8, ["model-value", "value", "disabled", "indeterminate", "onUpdate:modelValue"])
|
|
2761
2761
|
]),
|
|
2762
|
-
(
|
|
2762
|
+
(z(!0), le(Te, null, he(g.actionColumns, (I) => (z(), le("div", {
|
|
2763
2763
|
key: `${C.value}-${I}`,
|
|
2764
2764
|
class: "flex justify-center"
|
|
2765
2765
|
}, [
|
|
2766
|
-
|
|
2766
|
+
B(D)(g, C.value, I) ? (z(), De(h, {
|
|
2767
2767
|
key: 0,
|
|
2768
|
-
"model-value":
|
|
2768
|
+
"model-value": B(w)(g, C.value, I) || B(A)(g, C.value, I),
|
|
2769
2769
|
value: I,
|
|
2770
|
-
disabled: e.disable ||
|
|
2770
|
+
disabled: e.disable || B(A)(g, C.value, I),
|
|
2771
2771
|
size: "sm",
|
|
2772
|
-
"onUpdate:modelValue": (F) =>
|
|
2772
|
+
"onUpdate:modelValue": (F) => B(i)(C.value, I, F)
|
|
2773
2773
|
}, null, 8, ["model-value", "value", "disabled", "onUpdate:modelValue"])) : Se("", !0)
|
|
2774
2774
|
]))), 128))
|
|
2775
2775
|
], 64))), 128))
|
|
@@ -2783,10 +2783,10 @@ const pr = { class: "flex flex-col gap-16" }, br = { class: "fm-typo-en-title-sm
|
|
|
2783
2783
|
}), Tr = { class: "space-y-16" }, kr = {
|
|
2784
2784
|
key: 0,
|
|
2785
2785
|
class: "flex fm-typo-en-title-sm-600"
|
|
2786
|
-
},
|
|
2786
|
+
}, Or = {
|
|
2787
2787
|
key: 0,
|
|
2788
2788
|
class: "q-mr-xs text-red col"
|
|
2789
|
-
},
|
|
2789
|
+
}, Lr = { class: "form-input" }, Cr = /* @__PURE__ */ Oe({
|
|
2790
2790
|
__name: "AppForm",
|
|
2791
2791
|
props: {
|
|
2792
2792
|
title: {
|
|
@@ -2804,17 +2804,17 @@ const pr = { class: "flex flex-col gap-16" }, br = { class: "fm-typo-en-title-sm
|
|
|
2804
2804
|
},
|
|
2805
2805
|
setup(e) {
|
|
2806
2806
|
const t = e;
|
|
2807
|
-
return (n, s) => (
|
|
2807
|
+
return (n, s) => (z(), le("div", Tr, [
|
|
2808
2808
|
ke(n.$slots, "top", {}, () => [
|
|
2809
|
-
t.title ? (
|
|
2809
|
+
t.title ? (z(), le("div", kr, [
|
|
2810
2810
|
oe("div", null, [
|
|
2811
|
-
t.required ? (
|
|
2811
|
+
t.required ? (z(), le("span", Or, "*")) : Se("", !0),
|
|
2812
2812
|
qn(Ie(t.title), 1)
|
|
2813
2813
|
]),
|
|
2814
2814
|
ke(n.$slots, "title-right")
|
|
2815
2815
|
])) : Se("", !0)
|
|
2816
2816
|
]),
|
|
2817
|
-
oe("div",
|
|
2817
|
+
oe("div", Lr, [
|
|
2818
2818
|
ke(n.$slots, "default")
|
|
2819
2819
|
])
|
|
2820
2820
|
]));
|
|
@@ -2830,7 +2830,7 @@ function Rr(e, t) {
|
|
|
2830
2830
|
const Ar = { class: "col flex items-center" }, Sr = {
|
|
2831
2831
|
key: 1,
|
|
2832
2832
|
class: "q-pa-sm form-error-message text-error"
|
|
2833
|
-
},
|
|
2833
|
+
}, Bn = /* @__PURE__ */ Oe({
|
|
2834
2834
|
__name: "CheckboxInput",
|
|
2835
2835
|
props: {
|
|
2836
2836
|
options: {
|
|
@@ -2888,14 +2888,14 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
2888
2888
|
},
|
|
2889
2889
|
emits: ["update:model-value"],
|
|
2890
2890
|
setup(e, { emit: t }) {
|
|
2891
|
-
const n = e, s = t, { t: l } =
|
|
2891
|
+
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-${Rr(6)}`, p = q(() => u.value !== !0), y = q(
|
|
2892
2892
|
() => n.modelValue.filter((A) => n.options.some((D) => D.value === A))
|
|
2893
|
-
),
|
|
2893
|
+
), L = q(
|
|
2894
2894
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
2895
|
-
),
|
|
2895
|
+
), O = q(() => n.options.length > 0 && n.options.length === y.value.length);
|
|
2896
2896
|
function w() {
|
|
2897
2897
|
const A = n.modelValue.filter((D) => !y.value.includes(D));
|
|
2898
|
-
if (
|
|
2898
|
+
if (O.value === !0)
|
|
2899
2899
|
s("update:model-value", A);
|
|
2900
2900
|
else {
|
|
2901
2901
|
const D = n.includeDisabledOptionsWhenSelectAll ? n.options.map((i) => i.value) : n.options.filter((i) => !i.disabled).map((i) => i.value);
|
|
@@ -2907,8 +2907,8 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
2907
2907
|
D ? i.every((d) => d !== A) && i.push(A) : i = i.filter((d) => d !== A), s("update:model-value", i);
|
|
2908
2908
|
}
|
|
2909
2909
|
return (A, D) => {
|
|
2910
|
-
const i =
|
|
2911
|
-
return
|
|
2910
|
+
const i = ze("FmCheckbox");
|
|
2911
|
+
return z(), De(Cr, {
|
|
2912
2912
|
id: m,
|
|
2913
2913
|
title: e.title,
|
|
2914
2914
|
required: !1
|
|
@@ -2917,18 +2917,18 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
2917
2917
|
ke(A.$slots, "top")
|
|
2918
2918
|
]),
|
|
2919
2919
|
default: pe(() => [
|
|
2920
|
-
n.showAllToggle ? (
|
|
2920
|
+
n.showAllToggle ? (z(), De(i, {
|
|
2921
2921
|
key: 0,
|
|
2922
|
-
"model-value":
|
|
2922
|
+
"model-value": O.value,
|
|
2923
2923
|
disabled: e.disable,
|
|
2924
|
-
label:
|
|
2924
|
+
label: L.value,
|
|
2925
2925
|
style: mt(`margin-bottom: ${n.gutter}px`),
|
|
2926
2926
|
size: "sm",
|
|
2927
2927
|
dense: "",
|
|
2928
|
-
value:
|
|
2928
|
+
value: L.value,
|
|
2929
2929
|
"onUpdate:modelValue": w
|
|
2930
2930
|
}, null, 8, ["model-value", "disabled", "label", "style", "value"])) : Se("", !0),
|
|
2931
|
-
(
|
|
2931
|
+
(z(!0), le(Te, null, he(e.options, (d, T) => (z(), le("div", {
|
|
2932
2932
|
key: d.value,
|
|
2933
2933
|
style: mt(`margin-bottom: ${T < e.options.length - 1 ? n.gutter : 0}px`),
|
|
2934
2934
|
class: at(T < e.options.length - 1 ? "q-mb-sm" : "")
|
|
@@ -2950,7 +2950,7 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
2950
2950
|
selected: e.modelValue.includes(d.value)
|
|
2951
2951
|
})
|
|
2952
2952
|
]),
|
|
2953
|
-
|
|
2953
|
+
B(c)[`checkbox-${d.key || d.value}-end`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (z(), le("div", {
|
|
2954
2954
|
key: 0,
|
|
2955
2955
|
class: at([{ "q-checkbox disabled": e.disable || d.disabled }, "col"])
|
|
2956
2956
|
}, [
|
|
@@ -2961,7 +2961,7 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
2961
2961
|
})
|
|
2962
2962
|
], 2)) : Se("", !0)
|
|
2963
2963
|
], 2),
|
|
2964
|
-
|
|
2964
|
+
B(c)[`checkbox-${d.key || d.value}-bottom`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (z(), le("div", {
|
|
2965
2965
|
key: 0,
|
|
2966
2966
|
class: at(["q-mt-sm", { "q-checkbox disabled": e.disable || d.disabled }]),
|
|
2967
2967
|
style: mt(`margin-left: ${e.bottomSlotIndent}`)
|
|
@@ -2973,13 +2973,13 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
2973
2973
|
})
|
|
2974
2974
|
], 6)) : Se("", !0)
|
|
2975
2975
|
], 6))), 128)),
|
|
2976
|
-
a.value && p.value ? (
|
|
2976
|
+
a.value && p.value ? (z(), le("div", Sr, Ie(u.value), 1)) : Se("", !0)
|
|
2977
2977
|
]),
|
|
2978
2978
|
_: 3
|
|
2979
2979
|
}, 8, ["title"]);
|
|
2980
2980
|
};
|
|
2981
2981
|
}
|
|
2982
|
-
}), Dr = { class: "fm-typo-en-title-sm-600" }, ct = "includedFuture", Cn = /* @__PURE__ */
|
|
2982
|
+
}), Dr = { class: "fm-typo-en-title-sm-600" }, ct = "includedFuture", Cn = /* @__PURE__ */ Oe({
|
|
2983
2983
|
__name: "ConditionPermission",
|
|
2984
2984
|
props: {
|
|
2985
2985
|
modelValue: {
|
|
@@ -3001,7 +3001,7 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3001
3001
|
},
|
|
3002
3002
|
emits: ["update:model-value"],
|
|
3003
3003
|
setup(e, { emit: t }) {
|
|
3004
|
-
const n = e, s = t, { t: l } =
|
|
3004
|
+
const n = e, s = t, { t: l } = He(), a = q(() => [
|
|
3005
3005
|
{
|
|
3006
3006
|
label: l("team.memberForm.permissions.includedFuture", { context: n.context }),
|
|
3007
3007
|
value: ct,
|
|
@@ -3012,29 +3012,29 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3012
3012
|
(y) => y.label.toLocaleLowerCase().includes(p.value.toLocaleLowerCase())
|
|
3013
3013
|
)
|
|
3014
3014
|
]), c = q(() => n.modelValue ? n.modelValue : [ct, ...n.options.map((y) => y.value)]), u = q(() => {
|
|
3015
|
-
const y = c.value.filter((
|
|
3015
|
+
const y = c.value.filter((L) => L !== ct).length;
|
|
3016
3016
|
return y === 0 ? "" : l("team.memberForm.permissions.allowedCount", { count: y });
|
|
3017
3017
|
});
|
|
3018
3018
|
function m(y) {
|
|
3019
|
-
const
|
|
3020
|
-
s("update:model-value",
|
|
3019
|
+
const L = y.length === a.value.length;
|
|
3020
|
+
s("update:model-value", L ? null : y.filter((O) => O !== ct));
|
|
3021
3021
|
}
|
|
3022
3022
|
const p = bt("");
|
|
3023
|
-
return (y,
|
|
3024
|
-
const
|
|
3025
|
-
return
|
|
3023
|
+
return (y, L) => {
|
|
3024
|
+
const O = ze("fm-search");
|
|
3025
|
+
return z(), De(Zt, { subtitle: u.value }, {
|
|
3026
3026
|
title: pe(() => [
|
|
3027
|
-
oe("p", Dr, Ie(
|
|
3027
|
+
oe("p", Dr, Ie(B(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
3028
3028
|
]),
|
|
3029
3029
|
default: pe(() => [
|
|
3030
|
-
e.options.length > 1 ? (
|
|
3030
|
+
e.options.length > 1 ? (z(), De(O, {
|
|
3031
3031
|
key: 0,
|
|
3032
3032
|
modelValue: p.value,
|
|
3033
|
-
"onUpdate:modelValue":
|
|
3033
|
+
"onUpdate:modelValue": L[0] || (L[0] = (w) => p.value = w),
|
|
3034
3034
|
class: "mt-16",
|
|
3035
|
-
placeholder:
|
|
3035
|
+
placeholder: B(l)("team.memberForm.permissions.search", { context: e.context })
|
|
3036
3036
|
}, null, 8, ["modelValue", "placeholder"])) : Se("", !0),
|
|
3037
|
-
_e(
|
|
3037
|
+
_e(Bn, {
|
|
3038
3038
|
"model-value": c.value,
|
|
3039
3039
|
options: a.value,
|
|
3040
3040
|
"show-intermediate": !1,
|
|
@@ -3045,7 +3045,7 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3045
3045
|
class: "mt-16",
|
|
3046
3046
|
"onUpdate:modelValue": m
|
|
3047
3047
|
}, xe({ _: 2 }, [
|
|
3048
|
-
|
|
3048
|
+
he(a.value, (w) => ({
|
|
3049
3049
|
name: `checkbox-${w.value}-append`,
|
|
3050
3050
|
fn: pe(({ option: V }) => [
|
|
3051
3051
|
ke(y.$slots, `checkbox-${w.value}-append`, { option: V })
|
|
@@ -3057,7 +3057,7 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3057
3057
|
}, 8, ["subtitle"]);
|
|
3058
3058
|
};
|
|
3059
3059
|
}
|
|
3060
|
-
}), Mr = { class: "fm-typo-en-title-sm-600" }, ut = "includedNewRole", wr = /* @__PURE__ */
|
|
3060
|
+
}), Mr = { class: "fm-typo-en-title-sm-600" }, ut = "includedNewRole", wr = /* @__PURE__ */ Oe({
|
|
3061
3061
|
__name: "PosRolePermission",
|
|
3062
3062
|
props: {
|
|
3063
3063
|
modelValue: {
|
|
@@ -3079,7 +3079,7 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3079
3079
|
},
|
|
3080
3080
|
emits: ["update:model-value"],
|
|
3081
3081
|
setup(e, { emit: t }) {
|
|
3082
|
-
const n = e, s = t, { t: l } =
|
|
3082
|
+
const n = e, s = t, { t: l } = He(), a = q(() => {
|
|
3083
3083
|
const p = n.restaurantIds;
|
|
3084
3084
|
return [
|
|
3085
3085
|
{
|
|
@@ -3090,7 +3090,7 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3090
3090
|
...n.roles.map((y) => ({
|
|
3091
3091
|
label: y.name,
|
|
3092
3092
|
value: y._id,
|
|
3093
|
-
disabled: !!p && y.restaurants.every(({ id:
|
|
3093
|
+
disabled: !!p && y.restaurants.every(({ id: L }) => !p.includes(L))
|
|
3094
3094
|
}))
|
|
3095
3095
|
];
|
|
3096
3096
|
}), c = q(() => n.modelValue ? n.modelValue : [ut, ...n.roles.map((p) => p._id)]), u = q(() => {
|
|
@@ -3099,14 +3099,14 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3099
3099
|
});
|
|
3100
3100
|
function m(p) {
|
|
3101
3101
|
const y = p.length === a.value.length;
|
|
3102
|
-
s("update:model-value", y ? null : p.filter((
|
|
3102
|
+
s("update:model-value", y ? null : p.filter((L) => L !== ut));
|
|
3103
3103
|
}
|
|
3104
|
-
return (p, y) => (
|
|
3104
|
+
return (p, y) => (z(), De(Zt, { subtitle: u.value }, {
|
|
3105
3105
|
title: pe(() => [
|
|
3106
|
-
oe("p", Mr, Ie(
|
|
3106
|
+
oe("p", Mr, Ie(B(l)("team.memberForm.permissions.roles")), 1)
|
|
3107
3107
|
]),
|
|
3108
3108
|
default: pe(() => [
|
|
3109
|
-
_e(
|
|
3109
|
+
_e(Bn, {
|
|
3110
3110
|
"model-value": c.value,
|
|
3111
3111
|
options: a.value,
|
|
3112
3112
|
"show-intermediate": !1,
|
|
@@ -3116,10 +3116,10 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3116
3116
|
class: "mt-16",
|
|
3117
3117
|
"onUpdate:modelValue": m
|
|
3118
3118
|
}, xe({ _: 2 }, [
|
|
3119
|
-
|
|
3120
|
-
name: `checkbox-${
|
|
3121
|
-
fn: pe(({ option:
|
|
3122
|
-
ke(p.$slots, `checkbox-${
|
|
3119
|
+
he(a.value, (L) => ({
|
|
3120
|
+
name: `checkbox-${L.value}-append`,
|
|
3121
|
+
fn: pe(({ option: O }) => [
|
|
3122
|
+
ke(p.$slots, `checkbox-${L.value}-append`, { option: O })
|
|
3123
3123
|
])
|
|
3124
3124
|
}))
|
|
3125
3125
|
]), 1032, ["model-value", "options", "disable"])
|
|
@@ -3131,9 +3131,9 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3131
3131
|
async readWarehouses() {
|
|
3132
3132
|
return us(await ms().get("/warehouses"));
|
|
3133
3133
|
}
|
|
3134
|
-
}, Fr = { class: "flex flex-col gap-32" }, jr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Ur = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Vr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" },
|
|
3134
|
+
}, Fr = { class: "flex flex-col gap-32" }, jr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Ur = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Vr = { 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" }, Kr = /* @__PURE__ */ Oe({
|
|
3135
3135
|
__name: "PortalPermissionEditor",
|
|
3136
|
-
props: /* @__PURE__ */
|
|
3136
|
+
props: /* @__PURE__ */ zt({
|
|
3137
3137
|
disable: {
|
|
3138
3138
|
type: Boolean,
|
|
3139
3139
|
default: !1
|
|
@@ -3146,9 +3146,9 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3146
3146
|
modelValue: { default: () => [] },
|
|
3147
3147
|
modelModifiers: {}
|
|
3148
3148
|
}),
|
|
3149
|
-
emits: /* @__PURE__ */
|
|
3149
|
+
emits: /* @__PURE__ */ zt(["permissionChanged"], ["update:modelValue"]),
|
|
3150
3150
|
setup(e, { emit: t }) {
|
|
3151
|
-
const n = ts(e, "modelValue"), s = e, l = t, { t: a } =
|
|
3151
|
+
const n = ts(e, "modelValue"), s = e, l = t, { t: a } = He(), { fetchCustomReportPermissions: c, customReportPermissions: u } = ss();
|
|
3152
3152
|
function m(N) {
|
|
3153
3153
|
return Dt.find((R) => R.subject === N) ?? u.value.find((R) => R.subject === N);
|
|
3154
3154
|
}
|
|
@@ -3157,7 +3157,7 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3157
3157
|
return as(
|
|
3158
3158
|
s.inheritPermissions.map((v) => ({
|
|
3159
3159
|
...v,
|
|
3160
|
-
permissions: v.permissions.filter((
|
|
3160
|
+
permissions: v.permissions.filter((G) => N.includes(G.subject))
|
|
3161
3161
|
}))
|
|
3162
3162
|
).map((v) => ({
|
|
3163
3163
|
id: v.subject,
|
|
@@ -3175,7 +3175,7 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3175
3175
|
"warehouseId",
|
|
3176
3176
|
A.value.map((R) => R._id)
|
|
3177
3177
|
);
|
|
3178
|
-
}),
|
|
3178
|
+
}), L = q(() => {
|
|
3179
3179
|
const N = s.inheritPermissions.map((R) => ({
|
|
3180
3180
|
...R,
|
|
3181
3181
|
permissions: R.permissions.filter(
|
|
@@ -3187,7 +3187,7 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3187
3187
|
"restaurantId",
|
|
3188
3188
|
T.value.map((R) => R._id)
|
|
3189
3189
|
);
|
|
3190
|
-
}),
|
|
3190
|
+
}), O = q(() => {
|
|
3191
3191
|
const N = s.inheritPermissions.map((R) => ({
|
|
3192
3192
|
...R,
|
|
3193
3193
|
permissions: R.permissions.filter((v) => v.subject === ue.Subject.Business.role)
|
|
@@ -3218,36 +3218,36 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3218
3218
|
}
|
|
3219
3219
|
function d(N, R) {
|
|
3220
3220
|
let v = dt(
|
|
3221
|
-
N.filter((
|
|
3221
|
+
N.filter((G) => G.subject !== ue.Subject.Business.inventory_stock)
|
|
3222
3222
|
);
|
|
3223
3223
|
if (!R || R.length > 0) {
|
|
3224
|
-
const
|
|
3224
|
+
const G = {
|
|
3225
3225
|
actions: [ue.Action.manage],
|
|
3226
3226
|
subject: ue.Subject.Business.inventory_stock
|
|
3227
3227
|
};
|
|
3228
|
-
R && (
|
|
3228
|
+
R && (G.conditions = JSON.stringify({ warehouseId: { $in: R } })), v.push(G);
|
|
3229
3229
|
}
|
|
3230
3230
|
return v;
|
|
3231
3231
|
}
|
|
3232
3232
|
const { restaurants: T } = ns(), _ = ds().roles, M = q(() => T.value.map((N) => ({
|
|
3233
3233
|
label: `${N.profile.code ? N.profile.code + "-" : ""}${N.profile.name}`,
|
|
3234
3234
|
value: N._id
|
|
3235
|
-
}))), S = q(() => T.value.reduce((N, R) => (N[R._id] = _.value.filter((v) => v.restaurants.some((
|
|
3235
|
+
}))), S = q(() => T.value.reduce((N, R) => (N[R._id] = _.value.filter((v) => v.restaurants.some((G) => G.id === R._id)).map((v) => v._id), N), {})), E = q(() => rs(n.value));
|
|
3236
3236
|
function J(N) {
|
|
3237
|
-
const R =
|
|
3237
|
+
const R = g(n.value, N);
|
|
3238
3238
|
n.value = R;
|
|
3239
3239
|
}
|
|
3240
|
-
const
|
|
3241
|
-
function
|
|
3242
|
-
var
|
|
3240
|
+
const h = q(() => ls(n.value));
|
|
3241
|
+
function g(N, R) {
|
|
3242
|
+
var G;
|
|
3243
3243
|
let v = dt(
|
|
3244
3244
|
N.filter(
|
|
3245
|
-
(
|
|
3245
|
+
(W) => W.subject !== ue.Subject.Business.restaurant && W.subject !== ue.Subject.Restaurant.restaurant
|
|
3246
3246
|
)
|
|
3247
3247
|
);
|
|
3248
3248
|
if (!R || R.length > 0) {
|
|
3249
3249
|
const {
|
|
3250
|
-
category:
|
|
3250
|
+
category: W,
|
|
3251
3251
|
showByFeatureFlag: j,
|
|
3252
3252
|
...te
|
|
3253
3253
|
} = cs.restaurant;
|
|
@@ -3259,12 +3259,12 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3259
3259
|
R && (Y.conditions = JSON.stringify({ restaurantId: { $in: R } })), v.push(Y);
|
|
3260
3260
|
}
|
|
3261
3261
|
if (R) {
|
|
3262
|
-
const
|
|
3262
|
+
const W = [
|
|
3263
3263
|
...new Set(R.map((te) => S.value[te]).flatMap((te) => te))
|
|
3264
3264
|
], j = _.value.map((te) => te._id);
|
|
3265
|
-
|
|
3265
|
+
W.length !== j.length && (v = I(
|
|
3266
3266
|
v,
|
|
3267
|
-
(
|
|
3267
|
+
(G = h.value || j) == null ? void 0 : G.filter((te) => W.includes(te))
|
|
3268
3268
|
));
|
|
3269
3269
|
}
|
|
3270
3270
|
return v;
|
|
@@ -3275,15 +3275,15 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3275
3275
|
}
|
|
3276
3276
|
function I(N, R) {
|
|
3277
3277
|
let v = dt(
|
|
3278
|
-
N.filter((
|
|
3278
|
+
N.filter((G) => G.subject !== ue.Subject.Business.role)
|
|
3279
3279
|
);
|
|
3280
3280
|
if (R && R.length > 0) {
|
|
3281
|
-
const
|
|
3281
|
+
const G = {
|
|
3282
3282
|
actions: [ue.Action.manage],
|
|
3283
3283
|
subject: ue.Subject.Business.role,
|
|
3284
3284
|
conditions: JSON.stringify({ roleId: { $in: R } })
|
|
3285
3285
|
};
|
|
3286
|
-
v.push(
|
|
3286
|
+
v.push(G);
|
|
3287
3287
|
}
|
|
3288
3288
|
return v;
|
|
3289
3289
|
}
|
|
@@ -3293,47 +3293,47 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3293
3293
|
c()
|
|
3294
3294
|
]);
|
|
3295
3295
|
});
|
|
3296
|
-
const F = q(() =>
|
|
3296
|
+
const F = q(() => Ot(
|
|
3297
3297
|
n.value,
|
|
3298
|
-
|
|
3298
|
+
Lt
|
|
3299
3299
|
).filter((v) => {
|
|
3300
|
-
const
|
|
3301
|
-
return (
|
|
3300
|
+
const G = v.source;
|
|
3301
|
+
return (G == null ? void 0 : G.type) !== "systemPermissionSet" ? !0 : v.actions.includes("manage");
|
|
3302
3302
|
}).map((v) => {
|
|
3303
3303
|
if (v.inverted) return v;
|
|
3304
|
-
const
|
|
3305
|
-
if (!
|
|
3306
|
-
const
|
|
3307
|
-
if (!
|
|
3308
|
-
const j =
|
|
3309
|
-
return j.length <= 1 || j.filter((Y) => !
|
|
3304
|
+
const G = v.actions;
|
|
3305
|
+
if (!G.includes("manage")) return v;
|
|
3306
|
+
const W = m(v.subject);
|
|
3307
|
+
if (!W) return v;
|
|
3308
|
+
const j = W.actions;
|
|
3309
|
+
return j.length <= 1 || j.filter((Y) => !G.includes(Y)).length === 0 ? v : { ...v, actions: [...j] };
|
|
3310
3310
|
}));
|
|
3311
3311
|
function x(N) {
|
|
3312
3312
|
const R = new Set(
|
|
3313
3313
|
F.value.filter((j) => !j.inverted).map((j) => j.subject)
|
|
3314
3314
|
), v = new Set(
|
|
3315
3315
|
N.filter((j) => !j.inverted).map((j) => j.subject)
|
|
3316
|
-
),
|
|
3316
|
+
), G = new Set(
|
|
3317
3317
|
n.value.filter((j) => !j.inverted).map((j) => j.subject)
|
|
3318
3318
|
);
|
|
3319
|
-
let
|
|
3319
|
+
let W = [...n.value];
|
|
3320
3320
|
for (const j of R)
|
|
3321
|
-
v.has(j) || (
|
|
3322
|
-
|
|
3323
|
-
|
|
3321
|
+
v.has(j) || (G.has(j) && (W = W.filter((Y) => Y.subject !== j)), (!G.has(j) || Ot(
|
|
3322
|
+
W,
|
|
3323
|
+
Lt
|
|
3324
3324
|
).some(
|
|
3325
3325
|
(Y) => Y.subject === j && !Y.inverted && Y.actions.includes("manage")
|
|
3326
|
-
)) && !
|
|
3326
|
+
)) && !W.some((Y) => Y.subject === j && Y.inverted) && W.push({ subject: j, actions: ["manage"], inverted: !0 }));
|
|
3327
3327
|
for (const j of v)
|
|
3328
3328
|
if (!R.has(j)) {
|
|
3329
|
-
const te =
|
|
3330
|
-
if (
|
|
3329
|
+
const te = W.some((Y) => Y.subject === j && Y.inverted);
|
|
3330
|
+
if (W = W.filter((Y) => !(Y.subject === j && Y.inverted)), !te && !G.has(j)) {
|
|
3331
3331
|
const Y = N.find(
|
|
3332
3332
|
(fe) => fe.subject === j && !fe.inverted
|
|
3333
|
-
),
|
|
3334
|
-
if (
|
|
3335
|
-
const { category: fe, showByFeatureFlag:
|
|
3336
|
-
|
|
3333
|
+
), ge = m(j);
|
|
3334
|
+
if (ge && Y) {
|
|
3335
|
+
const { category: fe, showByFeatureFlag: H, ...Z } = ge;
|
|
3336
|
+
W.push({ ...Z, actions: Y.actions });
|
|
3337
3337
|
}
|
|
3338
3338
|
}
|
|
3339
3339
|
}
|
|
@@ -3343,30 +3343,30 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3343
3343
|
(Z) => Z.subject === j && !Z.inverted
|
|
3344
3344
|
), Y = N.find((Z) => Z.subject === j && !Z.inverted);
|
|
3345
3345
|
if (!te || !Y) continue;
|
|
3346
|
-
const
|
|
3347
|
-
if (
|
|
3346
|
+
const ge = new Set(te.actions), fe = new Set(Y.actions);
|
|
3347
|
+
if (ge.size === fe.size && [...ge].every((Z) => fe.has(Z)))
|
|
3348
3348
|
continue;
|
|
3349
|
-
const
|
|
3350
|
-
if (
|
|
3351
|
-
|
|
3352
|
-
...
|
|
3349
|
+
const H = W.findIndex((Z) => Z.subject === j && !Z.inverted);
|
|
3350
|
+
if (H >= 0)
|
|
3351
|
+
W[H] = {
|
|
3352
|
+
...W[H],
|
|
3353
3353
|
actions: Array.from(fe)
|
|
3354
3354
|
};
|
|
3355
3355
|
else {
|
|
3356
3356
|
const Z = m(j);
|
|
3357
3357
|
if (Z) {
|
|
3358
|
-
const { category: Ee, showByFeatureFlag:
|
|
3359
|
-
|
|
3358
|
+
const { category: Ee, showByFeatureFlag: Be, ...Je } = Z;
|
|
3359
|
+
W.push({ ...Je, actions: Array.from(fe) });
|
|
3360
3360
|
}
|
|
3361
3361
|
}
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3362
|
+
ge.has("manage") && !fe.has("manage") && Ot(
|
|
3363
|
+
W,
|
|
3364
|
+
Lt
|
|
3365
3365
|
).some(
|
|
3366
3366
|
(Ee) => Ee.subject === j && !Ee.inverted && Ee.actions.includes("manage")
|
|
3367
|
-
) && !
|
|
3367
|
+
) && !W.some((Ee) => Ee.subject === j && Ee.inverted) && W.push({ subject: j, actions: ["manage"], inverted: !0 }), !ge.has("manage") && fe.has("manage") && (W = W.filter((Z) => !(Z.subject === j && Z.inverted)));
|
|
3368
3368
|
}
|
|
3369
|
-
n.value =
|
|
3369
|
+
n.value = W;
|
|
3370
3370
|
}
|
|
3371
3371
|
return St(
|
|
3372
3372
|
n,
|
|
@@ -3374,15 +3374,15 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3374
3374
|
l("permissionChanged", N);
|
|
3375
3375
|
},
|
|
3376
3376
|
{ deep: !0 }
|
|
3377
|
-
), (N, R) => (
|
|
3377
|
+
), (N, R) => (z(), le("div", Fr, [
|
|
3378
3378
|
oe("div", jr, [
|
|
3379
3379
|
_e(yr, {
|
|
3380
3380
|
"model-value": F.value,
|
|
3381
3381
|
"excluded-subjects": w,
|
|
3382
|
-
"additional-permissions":
|
|
3382
|
+
"additional-permissions": B(u),
|
|
3383
3383
|
"onUpdate:modelValue": x
|
|
3384
3384
|
}, xe({ _: 2 }, [
|
|
3385
|
-
|
|
3385
|
+
he(p.value, (v) => ({
|
|
3386
3386
|
name: `checkbox-${v.id}-append`,
|
|
3387
3387
|
fn: pe(() => [
|
|
3388
3388
|
_e(it, { item: v }, null, 8, ["item"])
|
|
@@ -3394,10 +3394,10 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3394
3394
|
_e(Cn, {
|
|
3395
3395
|
"model-value": V.value,
|
|
3396
3396
|
options: D.value,
|
|
3397
|
-
context:
|
|
3397
|
+
context: B(a)("team.labels.warehouse"),
|
|
3398
3398
|
"onUpdate:modelValue": i
|
|
3399
3399
|
}, xe({ _: 2 }, [
|
|
3400
|
-
|
|
3400
|
+
he(y.value, (v) => ({
|
|
3401
3401
|
name: `checkbox-${v.id}-append`,
|
|
3402
3402
|
fn: pe(() => [
|
|
3403
3403
|
_e(it, { item: v }, null, 8, ["item"])
|
|
@@ -3409,10 +3409,10 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3409
3409
|
_e(Cn, {
|
|
3410
3410
|
"model-value": E.value,
|
|
3411
3411
|
options: M.value,
|
|
3412
|
-
context:
|
|
3412
|
+
context: B(a)("team.labels.restaurant"),
|
|
3413
3413
|
"onUpdate:modelValue": J
|
|
3414
3414
|
}, xe({ _: 2 }, [
|
|
3415
|
-
|
|
3415
|
+
he(L.value, (v) => ({
|
|
3416
3416
|
name: `checkbox-${v.id}-append`,
|
|
3417
3417
|
fn: pe(() => [
|
|
3418
3418
|
_e(it, { item: v }, null, 8, ["item"])
|
|
@@ -3420,14 +3420,14 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3420
3420
|
}))
|
|
3421
3421
|
]), 1032, ["model-value", "options", "context"])
|
|
3422
3422
|
]),
|
|
3423
|
-
oe("div",
|
|
3423
|
+
oe("div", Wr, [
|
|
3424
3424
|
_e(wr, {
|
|
3425
|
-
roles:
|
|
3426
|
-
"model-value":
|
|
3425
|
+
roles: B(_),
|
|
3426
|
+
"model-value": h.value,
|
|
3427
3427
|
"restaurant-ids": E.value,
|
|
3428
3428
|
"onUpdate:modelValue": C
|
|
3429
3429
|
}, xe({ _: 2 }, [
|
|
3430
|
-
|
|
3430
|
+
he(O.value, (v) => ({
|
|
3431
3431
|
name: `checkbox-${v.id}-append`,
|
|
3432
3432
|
fn: pe(() => [
|
|
3433
3433
|
_e(it, { item: v }, null, 8, ["item"])
|
|
@@ -3439,5 +3439,5 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3439
3439
|
}
|
|
3440
3440
|
});
|
|
3441
3441
|
export {
|
|
3442
|
-
|
|
3442
|
+
Kr as _
|
|
3443
3443
|
};
|