@feedmepos/mf-hrm-portal 2.0.20-dev.1 → 2.0.20-dev.2
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-Bsj-qg8n.js → AuditLogList-ChxAzO74.js} +4 -4
- package/dist/EmployeeList-Cs-Mn6UA.js +843 -0
- package/dist/{Main-BGc6kNaR.js → Main-B9_TyRDo.js} +2008 -2001
- package/dist/Main-CdHW4UkN.js +90 -0
- package/dist/{Main-CSMAtoMj.js → Main-DcvmP7s-.js} +184 -176
- package/dist/PermissionSetList-VFVS0g0v.js +347 -0
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CdWgTjZw.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Dr3R9JjS.js} +771 -770
- package/dist/{RoleList-e0WUqt4Y.js → RoleList-BZ6RZvm2.js} +199 -188
- package/dist/TeamMemberList-C-zhFauD.js +1115 -0
- package/dist/{TimesheetList-tFjvFHqH.js → TimesheetList-CZex54an.js} +61 -53
- package/dist/{app-CL7rUfL3.js → app-CLL3p27X.js} +191 -193
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-ChdFPuFV.js → dayjs.min-CDt1i9vl.js} +1 -1
- package/dist/employee-BpRvjWNh.js +200 -0
- package/dist/{iteration-BbD0nOgO.js → iteration-BVjUzYL5.js} +173 -175
- package/dist/{lodash-CDf3aG6G.js → lodash-CrwgACp2.js} +1 -1
- package/dist/{rule-BJ-y3Sp8.js → rule-BlQ5YZ9Z.js} +27 -26
- package/dist/src/types/team.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/{timesheet-BmV02Rkz.js → timesheet-jFs4GTAL.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-D8QAGZ02.js → useAppStore-DMAL8VFY.js} +36 -38
- package/dist/{useLoading-KpcQw0p4.js → useLoading-AFTjRLyO.js} +1 -1
- package/dist/{useReportPermissions-CmGJAz_N.js → useReportPermissions-hODG0Xx3.js} +3 -3
- package/package.json +1 -1
- package/dist/EmployeeList-Cy2ayCko.js +0 -824
- package/dist/Main-D7bV8EuC.js +0 -86
- package/dist/PermissionSetList-CuHhDqWl.js +0 -347
- package/dist/TeamMemberList-CpPa1KyV.js +0 -1097
- package/dist/employee-kKV7UnHU.js +0 -204
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { getCurrentInstance as xt, inject as Jn, ref as bt, shallowRef as Kn, computed as q, watch as St, onMounted as
|
|
1
|
+
import { getCurrentInstance as xt, inject as Jn, ref as bt, shallowRef as Kn, computed as q, watch as St, onMounted as Cn, onUnmounted as Qn, defineComponent as Le, h as An, createVNode as _e, Text as zn, Fragment as Te, resolveComponent as ze, createBlock as Me, openBlock as z, withCtx as pe, createElementVNode as ae, createElementBlock as oe, toDisplayString as Ee, unref as $, renderList as ge, 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
2
|
import { useI18n as He, useCoreStore as ns } from "@feedmepos/mf-common";
|
|
3
3
|
import "@vue/devtools-api";
|
|
4
|
-
import { p as
|
|
4
|
+
import { p as Mt, d as ss, w as as, x as kt, k as rs, j as ls, $ as Lt } from "./rule-BlQ5YZ9Z.js";
|
|
5
5
|
import { _ as Zt } from "./CollapsibleWrapper.vue_vue_type_script_setup_true_lang-BLJlmPVa.js";
|
|
6
|
-
import { u as os, b as is, d as ue, C as cs, h as
|
|
7
|
-
import { d as dt, g as us, b as ms } from "./iteration-
|
|
8
|
-
import { u as ds } from "./useAppStore-
|
|
6
|
+
import { u as os, b as is, d as ue, C as cs, h as Ot } from "./app-CLL3p27X.js";
|
|
7
|
+
import { d as dt, g as us, b as ms } from "./iteration-BVjUzYL5.js";
|
|
8
|
+
import { u as ds } from "./useAppStore-DMAL8VFY.js";
|
|
9
9
|
/*!
|
|
10
10
|
* shared v10.0.5
|
|
11
11
|
* (c) 2024 kazuya kawaguchi
|
|
12
12
|
* Released under the MIT License.
|
|
13
13
|
*/
|
|
14
|
-
const qt = typeof window < "u", je = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), fs = (e, t, n) => _s({ l: e, k: t, s: n }), _s = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), me = (e) => typeof e == "number" && isFinite(e), ps = (e) =>
|
|
14
|
+
const qt = typeof window < "u", je = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), fs = (e, t, n) => _s({ l: e, k: t, s: n }), _s = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), me = (e) => typeof e == "number" && isFinite(e), ps = (e) => Yt(e) === "[object Date]", _t = (e) => Yt(e) === "[object RegExp]", ht = (e) => J(e) && Object.keys(e).length === 0, de = Object.assign, bs = Object.create, ee = (e = null) => bs(e);
|
|
15
15
|
let en;
|
|
16
16
|
const Fe = () => en || (en = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : ee());
|
|
17
17
|
function tn(e) {
|
|
18
18
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
19
19
|
}
|
|
20
|
-
const
|
|
20
|
+
const hs = Object.prototype.hasOwnProperty;
|
|
21
21
|
function Ne(e, t) {
|
|
22
|
-
return
|
|
22
|
+
return hs.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", K = (e) => e !== null && typeof e == "object",
|
|
25
|
-
function
|
|
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", gs = (e) => K(e) && se(e.then) && se(e.catch), Sn = Object.prototype.toString, Yt = (e) => Sn.call(e), J = (e) => Yt(e) === "[object Object]", vs = (e) => e == null ? "" : ce(e) || J(e) && e.toString === Sn ? JSON.stringify(e, null, 2) : String(e);
|
|
25
|
+
function Xt(e, t = "") {
|
|
26
26
|
return e.reduce((n, s, l) => l === 0 ? n + s : n + t + s, "");
|
|
27
27
|
}
|
|
28
|
-
function
|
|
28
|
+
function Is(e, t) {
|
|
29
29
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
30
30
|
}
|
|
31
31
|
const rt = (e) => !K(e) || ce(e);
|
|
@@ -40,13 +40,13 @@ function ft(e, t) {
|
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function Es(e, t, n) {
|
|
44
44
|
return { line: e, column: t, offset: n };
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function Dt(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 z = {
|
|
|
64
64
|
UNEXPECTED_EMPTY_LINKED_KEY: 13,
|
|
65
65
|
UNEXPECTED_LEXICAL_ANALYSIS: 14
|
|
66
66
|
}, Ns = 17;
|
|
67
|
-
function
|
|
67
|
+
function gt(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 Oe = " ", Ts = "\r", be = `
|
|
75
|
+
`, ks = "\u2028", Ls = "\u2029";
|
|
76
|
+
function Os(e) {
|
|
77
77
|
const t = e;
|
|
78
78
|
let n = 0, s = 1, l = 1, a = 0;
|
|
79
|
-
const c = (
|
|
79
|
+
const c = (I) => t[I] === Ts && t[I + 1] === be, u = (I) => t[I] === be, m = (I) => t[I] === Ls, p = (I) => t[I] === ks, y = (I) => c(I) || u(I) || m(I) || p(I), O = () => n, L = () => s, w = () => l, V = () => a, A = (I) => c(I) || m(I) || p(I) ? be : t[I], M = () => 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
|
}
|
|
@@ -86,33 +86,33 @@ function Ls(e) {
|
|
|
86
86
|
function _() {
|
|
87
87
|
n = 0, s = 1, l = 1, a = 0;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
90
|
-
a =
|
|
89
|
+
function D(I = 0) {
|
|
90
|
+
a = I;
|
|
91
91
|
}
|
|
92
92
|
function S() {
|
|
93
|
-
const
|
|
94
|
-
for (;
|
|
93
|
+
const I = n + a;
|
|
94
|
+
for (; I !== n; )
|
|
95
95
|
d();
|
|
96
96
|
a = 0;
|
|
97
97
|
}
|
|
98
98
|
return {
|
|
99
|
-
index:
|
|
100
|
-
line:
|
|
99
|
+
index: O,
|
|
100
|
+
line: L,
|
|
101
101
|
column: w,
|
|
102
102
|
peekOffset: V,
|
|
103
103
|
charAt: A,
|
|
104
|
-
currentChar:
|
|
104
|
+
currentChar: M,
|
|
105
105
|
currentPeek: i,
|
|
106
106
|
next: d,
|
|
107
107
|
peek: T,
|
|
108
108
|
reset: _,
|
|
109
|
-
resetPeek:
|
|
109
|
+
resetPeek: D,
|
|
110
110
|
skipToPeek: S
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
|
-
const Ae = void 0,
|
|
113
|
+
const Ae = void 0, Rs = ".", nn = "'", Cs = "tokenizer";
|
|
114
114
|
function As(e, t = {}) {
|
|
115
|
-
const n = t.location !== !1, s =
|
|
115
|
+
const n = t.location !== !1, s = Os(e), l = () => s.index(), a = () => Es(s.line(), s.column(), s.index()), c = a(), u = l(), m = {
|
|
116
116
|
currentType: 13,
|
|
117
117
|
offset: u,
|
|
118
118
|
startLoc: c,
|
|
@@ -125,36 +125,36 @@ function As(e, t = {}) {
|
|
|
125
125
|
inLinked: !1,
|
|
126
126
|
text: ""
|
|
127
127
|
}, p = () => m, { onError: y } = t;
|
|
128
|
-
function
|
|
129
|
-
const
|
|
128
|
+
function O(r, o, b, ...U) {
|
|
129
|
+
const re = p();
|
|
130
130
|
if (o.column += b, o.offset += b, y) {
|
|
131
|
-
const
|
|
132
|
-
domain:
|
|
131
|
+
const Y = n ? Dt(re.startLoc, o) : null, f = gt(r, Y, {
|
|
132
|
+
domain: Cs,
|
|
133
133
|
args: U
|
|
134
134
|
});
|
|
135
135
|
y(f);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function L(r, o, b) {
|
|
139
139
|
r.endLoc = a(), r.currentType = o;
|
|
140
140
|
const U = { type: o };
|
|
141
|
-
return n && (U.loc =
|
|
141
|
+
return n && (U.loc = Dt(r.startLoc, r.endLoc)), b != null && (U.value = b), U;
|
|
142
142
|
}
|
|
143
|
-
const w = (r) =>
|
|
143
|
+
const w = (r) => L(
|
|
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) : (O(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() === Oe || r.currentPeek() === be; )
|
|
154
154
|
o += r.currentPeek(), r.peek();
|
|
155
155
|
return o;
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function M(r) {
|
|
158
158
|
const o = A(r);
|
|
159
159
|
return r.skipToPeek(), o;
|
|
160
160
|
}
|
|
@@ -185,10 +185,10 @@ function As(e, t = {}) {
|
|
|
185
185
|
if (b !== 2)
|
|
186
186
|
return !1;
|
|
187
187
|
A(r);
|
|
188
|
-
const U = r.currentPeek() === "-" ? r.peek() : r.currentPeek(),
|
|
189
|
-
return r.resetPeek(),
|
|
188
|
+
const U = r.currentPeek() === "-" ? r.peek() : r.currentPeek(), re = d(U);
|
|
189
|
+
return r.resetPeek(), re;
|
|
190
190
|
}
|
|
191
|
-
function
|
|
191
|
+
function D(r, o) {
|
|
192
192
|
const { currentType: b } = o;
|
|
193
193
|
if (b !== 2)
|
|
194
194
|
return !1;
|
|
@@ -204,7 +204,7 @@ function As(e, t = {}) {
|
|
|
204
204
|
const U = r.currentPeek() === ".";
|
|
205
205
|
return r.resetPeek(), U;
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function I(r, o) {
|
|
208
208
|
const { currentType: b } = o;
|
|
209
209
|
if (b !== 8)
|
|
210
210
|
return !1;
|
|
@@ -212,7 +212,7 @@ function As(e, t = {}) {
|
|
|
212
212
|
const U = i(r.currentPeek());
|
|
213
213
|
return r.resetPeek(), U;
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function X(r, o) {
|
|
216
216
|
const { currentType: b } = o;
|
|
217
217
|
if (!(b === 7 || b === 11))
|
|
218
218
|
return !1;
|
|
@@ -220,29 +220,29 @@ function As(e, t = {}) {
|
|
|
220
220
|
const U = r.currentPeek() === ":";
|
|
221
221
|
return r.resetPeek(), U;
|
|
222
222
|
}
|
|
223
|
-
function
|
|
223
|
+
function g(r, o) {
|
|
224
224
|
const { currentType: b } = o;
|
|
225
225
|
if (b !== 9)
|
|
226
226
|
return !1;
|
|
227
227
|
const U = () => {
|
|
228
|
-
const
|
|
229
|
-
return
|
|
230
|
-
},
|
|
231
|
-
return r.resetPeek(),
|
|
228
|
+
const Y = r.currentPeek();
|
|
229
|
+
return Y === "{" ? i(r.peek()) : Y === "@" || Y === "|" || Y === ":" || Y === "." || Y === Oe || !Y ? !1 : Y === be ? (r.peek(), U()) : R(r, !1);
|
|
230
|
+
}, re = U();
|
|
231
|
+
return r.resetPeek(), re;
|
|
232
232
|
}
|
|
233
|
-
function
|
|
233
|
+
function h(r) {
|
|
234
234
|
A(r);
|
|
235
235
|
const o = r.currentPeek() === "|";
|
|
236
236
|
return r.resetPeek(), o;
|
|
237
237
|
}
|
|
238
|
-
function
|
|
239
|
-
const b = (
|
|
238
|
+
function R(r, o = !0) {
|
|
239
|
+
const b = (re = !1, Y = "") => {
|
|
240
240
|
const f = r.currentPeek();
|
|
241
|
-
return f === "{" || f === "@" || !f ?
|
|
241
|
+
return f === "{" || f === "@" || !f ? re : f === "|" ? !(Y === Oe || Y === be) : f === Oe ? (r.peek(), b(!0, Oe)) : f === be ? (r.peek(), b(!0, be)) : !0;
|
|
242
242
|
}, U = b();
|
|
243
243
|
return o && r.resetPeek(), U;
|
|
244
244
|
}
|
|
245
|
-
function
|
|
245
|
+
function E(r, o) {
|
|
246
246
|
const b = r.currentChar();
|
|
247
247
|
return b === Ae ? Ae : o(b) ? (r.next(), b) : null;
|
|
248
248
|
}
|
|
@@ -255,7 +255,7 @@ function As(e, t = {}) {
|
|
|
255
255
|
o === 36;
|
|
256
256
|
}
|
|
257
257
|
function x(r) {
|
|
258
|
-
return
|
|
258
|
+
return E(r, F);
|
|
259
259
|
}
|
|
260
260
|
function N(r) {
|
|
261
261
|
const o = r.charCodeAt(0);
|
|
@@ -266,15 +266,15 @@ function As(e, t = {}) {
|
|
|
266
266
|
o === 36 || // $
|
|
267
267
|
o === 45;
|
|
268
268
|
}
|
|
269
|
-
function
|
|
270
|
-
return
|
|
269
|
+
function C(r) {
|
|
270
|
+
return E(r, N);
|
|
271
271
|
}
|
|
272
272
|
function v(r) {
|
|
273
273
|
const o = r.charCodeAt(0);
|
|
274
274
|
return o >= 48 && o <= 57;
|
|
275
275
|
}
|
|
276
276
|
function W(r) {
|
|
277
|
-
return
|
|
277
|
+
return E(r, v);
|
|
278
278
|
}
|
|
279
279
|
function G(r) {
|
|
280
280
|
const o = r.charCodeAt(0);
|
|
@@ -283,7 +283,7 @@ function As(e, t = {}) {
|
|
|
283
283
|
o >= 97 && o <= 102;
|
|
284
284
|
}
|
|
285
285
|
function j(r) {
|
|
286
|
-
return
|
|
286
|
+
return E(r, G);
|
|
287
287
|
}
|
|
288
288
|
function te(r) {
|
|
289
289
|
let o = "", b = "";
|
|
@@ -291,17 +291,17 @@ function As(e, t = {}) {
|
|
|
291
291
|
b += o;
|
|
292
292
|
return b;
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function H(r) {
|
|
295
295
|
let o = "";
|
|
296
296
|
for (; ; ) {
|
|
297
297
|
const b = r.currentChar();
|
|
298
298
|
if (b === "{" || b === "}" || b === "@" || b === "|" || !b)
|
|
299
299
|
break;
|
|
300
|
-
if (b ===
|
|
301
|
-
if (
|
|
300
|
+
if (b === Oe || b === be)
|
|
301
|
+
if (R(r))
|
|
302
302
|
o += b, r.next();
|
|
303
303
|
else {
|
|
304
|
-
if (
|
|
304
|
+
if (h(r))
|
|
305
305
|
break;
|
|
306
306
|
o += b, r.next();
|
|
307
307
|
}
|
|
@@ -310,30 +310,30 @@ function As(e, t = {}) {
|
|
|
310
310
|
}
|
|
311
311
|
return o;
|
|
312
312
|
}
|
|
313
|
-
function
|
|
314
|
-
|
|
313
|
+
function he(r) {
|
|
314
|
+
M(r);
|
|
315
315
|
let o = "", b = "";
|
|
316
|
-
for (; o =
|
|
316
|
+
for (; o = C(r); )
|
|
317
317
|
b += o;
|
|
318
|
-
return r.currentChar() === Ae &&
|
|
318
|
+
return r.currentChar() === Ae && O(Q.UNTERMINATED_CLOSING_BRACE, a(), 0), b;
|
|
319
319
|
}
|
|
320
320
|
function fe(r) {
|
|
321
|
-
|
|
321
|
+
M(r);
|
|
322
322
|
let o = "";
|
|
323
|
-
return r.currentChar() === "-" ? (r.next(), o += `-${te(r)}`) : o += te(r), r.currentChar() === Ae &&
|
|
323
|
+
return r.currentChar() === "-" ? (r.next(), o += `-${te(r)}`) : o += te(r), r.currentChar() === Ae && O(Q.UNTERMINATED_CLOSING_BRACE, a(), 0), o;
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function B(r) {
|
|
326
326
|
return r !== nn && r !== be;
|
|
327
327
|
}
|
|
328
328
|
function Z(r) {
|
|
329
|
-
|
|
329
|
+
M(r), V(r, "'");
|
|
330
330
|
let o = "", b = "";
|
|
331
|
-
for (; o =
|
|
332
|
-
o === "\\" ? b +=
|
|
331
|
+
for (; o = E(r, B); )
|
|
332
|
+
o === "\\" ? b += Ie(r) : b += o;
|
|
333
333
|
const U = r.currentChar();
|
|
334
|
-
return U === be || U === Ae ? (
|
|
334
|
+
return U === be || U === Ae ? (O(Q.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), U === be && (r.next(), V(r, "'")), b) : (V(r, "'"), b);
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function Ie(r) {
|
|
337
337
|
const o = r.currentChar();
|
|
338
338
|
switch (o) {
|
|
339
339
|
case "\\":
|
|
@@ -344,29 +344,29 @@ function As(e, t = {}) {
|
|
|
344
344
|
case "U":
|
|
345
345
|
return Be(r, o, 6);
|
|
346
346
|
default:
|
|
347
|
-
return
|
|
347
|
+
return O(Q.UNKNOWN_ESCAPE_SEQUENCE, a(), 0, o), "";
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
function Be(r, o, b) {
|
|
351
351
|
V(r, o);
|
|
352
352
|
let U = "";
|
|
353
|
-
for (let
|
|
354
|
-
const
|
|
355
|
-
if (!
|
|
356
|
-
|
|
353
|
+
for (let re = 0; re < b; re++) {
|
|
354
|
+
const Y = j(r);
|
|
355
|
+
if (!Y) {
|
|
356
|
+
O(Q.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${U}${r.currentChar()}`);
|
|
357
357
|
break;
|
|
358
358
|
}
|
|
359
|
-
U +=
|
|
359
|
+
U += Y;
|
|
360
360
|
}
|
|
361
361
|
return `\\${o}${U}`;
|
|
362
362
|
}
|
|
363
363
|
function $e(r) {
|
|
364
|
-
return r !== "{" && r !== "}" && r !==
|
|
364
|
+
return r !== "{" && r !== "}" && r !== Oe && r !== be;
|
|
365
365
|
}
|
|
366
|
-
function
|
|
367
|
-
|
|
366
|
+
function Et(r) {
|
|
367
|
+
M(r);
|
|
368
368
|
let o = "", b = "";
|
|
369
|
-
for (; o =
|
|
369
|
+
for (; o = E(r, $e); )
|
|
370
370
|
b += o;
|
|
371
371
|
return b;
|
|
372
372
|
}
|
|
@@ -379,52 +379,52 @@ 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 === Oe ? b : (b += U, r.next(), o(b));
|
|
383
383
|
};
|
|
384
384
|
return o("");
|
|
385
385
|
}
|
|
386
386
|
function Je(r) {
|
|
387
|
-
|
|
387
|
+
M(r);
|
|
388
388
|
const o = V(
|
|
389
389
|
r,
|
|
390
390
|
"|"
|
|
391
391
|
/* TokenChars.Pipe */
|
|
392
392
|
);
|
|
393
|
-
return
|
|
393
|
+
return M(r), o;
|
|
394
394
|
}
|
|
395
395
|
function Ue(r, o) {
|
|
396
396
|
let b = null;
|
|
397
397
|
switch (r.currentChar()) {
|
|
398
398
|
case "{":
|
|
399
|
-
return o.braceNest >= 1 &&
|
|
399
|
+
return o.braceNest >= 1 && O(Q.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), r.next(), b = L(
|
|
400
400
|
o,
|
|
401
401
|
2,
|
|
402
402
|
"{"
|
|
403
403
|
/* TokenChars.BraceLeft */
|
|
404
|
-
),
|
|
404
|
+
), M(r), o.braceNest++, b;
|
|
405
405
|
case "}":
|
|
406
|
-
return o.braceNest > 0 && o.currentType === 2 &&
|
|
406
|
+
return o.braceNest > 0 && o.currentType === 2 && O(Q.EMPTY_PLACEHOLDER, a(), 0), r.next(), b = L(
|
|
407
407
|
o,
|
|
408
408
|
3,
|
|
409
409
|
"}"
|
|
410
410
|
/* TokenChars.BraceRight */
|
|
411
|
-
), o.braceNest--, o.braceNest > 0 &&
|
|
411
|
+
), o.braceNest--, o.braceNest > 0 && M(r), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), b;
|
|
412
412
|
case "@":
|
|
413
|
-
return o.braceNest > 0 &&
|
|
413
|
+
return o.braceNest > 0 && O(Q.UNTERMINATED_CLOSING_BRACE, a(), 0), b = Ve(r, o) || w(o), o.braceNest = 0, b;
|
|
414
414
|
default: {
|
|
415
|
-
let
|
|
416
|
-
if (
|
|
417
|
-
return o.braceNest > 0 &&
|
|
415
|
+
let re = !0, Y = !0, f = !0;
|
|
416
|
+
if (h(r))
|
|
417
|
+
return o.braceNest > 0 && O(Q.UNTERMINATED_CLOSING_BRACE, a(), 0), b = L(o, 1, Je(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
|
|
420
|
-
if (
|
|
421
|
-
return b =
|
|
422
|
-
if (
|
|
423
|
-
return b =
|
|
424
|
-
if (f =
|
|
425
|
-
return b =
|
|
426
|
-
if (!
|
|
427
|
-
return b =
|
|
419
|
+
return O(Q.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0, Ke(r, o);
|
|
420
|
+
if (re = T(r, o))
|
|
421
|
+
return b = L(o, 4, he(r)), M(r), b;
|
|
422
|
+
if (Y = _(r, o))
|
|
423
|
+
return b = L(o, 5, fe(r)), M(r), b;
|
|
424
|
+
if (f = D(r, o))
|
|
425
|
+
return b = L(o, 6, Z(r)), M(r), b;
|
|
426
|
+
if (!re && !Y && !f)
|
|
427
|
+
return b = L(o, 12, Et(r)), O(Q.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, b.value), M(r), b;
|
|
428
428
|
break;
|
|
429
429
|
}
|
|
430
430
|
}
|
|
@@ -433,31 +433,31 @@ function As(e, t = {}) {
|
|
|
433
433
|
function Ve(r, o) {
|
|
434
434
|
const { currentType: b } = o;
|
|
435
435
|
let U = null;
|
|
436
|
-
const
|
|
437
|
-
switch ((b === 7 || b === 8 || b === 11 || b === 9) && (
|
|
436
|
+
const re = r.currentChar();
|
|
437
|
+
switch ((b === 7 || b === 8 || b === 11 || b === 9) && (re === be || re === Oe) && O(Q.INVALID_LINKED_FORMAT, a(), 0), re) {
|
|
438
438
|
case "@":
|
|
439
|
-
return r.next(), U =
|
|
439
|
+
return r.next(), U = L(
|
|
440
440
|
o,
|
|
441
441
|
7,
|
|
442
442
|
"@"
|
|
443
443
|
/* TokenChars.LinkedAlias */
|
|
444
444
|
), o.inLinked = !0, U;
|
|
445
445
|
case ".":
|
|
446
|
-
return
|
|
446
|
+
return M(r), r.next(), L(
|
|
447
447
|
o,
|
|
448
448
|
8,
|
|
449
449
|
"."
|
|
450
450
|
/* TokenChars.LinkedDot */
|
|
451
451
|
);
|
|
452
452
|
case ":":
|
|
453
|
-
return
|
|
453
|
+
return M(r), r.next(), L(
|
|
454
454
|
o,
|
|
455
455
|
9,
|
|
456
456
|
":"
|
|
457
457
|
/* TokenChars.LinkedDelimiter */
|
|
458
458
|
);
|
|
459
459
|
default:
|
|
460
|
-
return
|
|
460
|
+
return h(r) ? (U = L(o, 1, Je(r)), o.braceNest = 0, o.inLinked = !1, U) : S(r, o) || X(r, o) ? (M(r), Ve(r, o)) : I(r, o) ? (M(r), L(o, 11, Nt(r))) : g(r, o) ? (M(r), re === "{" ? Ue(r, o) || U : L(o, 10, yt(r))) : (b === 7 && O(Q.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, Ke(r, o));
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
463
|
function Ke(r, o) {
|
|
@@ -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 O(Q.UNBALANCED_CLOSING_BRACE, a(), 0), r.next(), L(
|
|
477
477
|
o,
|
|
478
478
|
3,
|
|
479
479
|
"}"
|
|
@@ -482,10 +482,10 @@ function As(e, t = {}) {
|
|
|
482
482
|
case "@":
|
|
483
483
|
return Ve(r, o) || w(o);
|
|
484
484
|
default: {
|
|
485
|
-
if (
|
|
486
|
-
return b =
|
|
487
|
-
if (
|
|
488
|
-
return
|
|
485
|
+
if (h(r))
|
|
486
|
+
return b = L(o, 1, Je(r)), o.braceNest = 0, o.inLinked = !1, b;
|
|
487
|
+
if (R(r))
|
|
488
|
+
return L(o, 0, H(r));
|
|
489
489
|
break;
|
|
490
490
|
}
|
|
491
491
|
}
|
|
@@ -493,7 +493,7 @@ 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 ? L(
|
|
497
497
|
m,
|
|
498
498
|
13
|
|
499
499
|
/* TokenTypes.EOF */
|
|
@@ -506,8 +506,8 @@ function As(e, t = {}) {
|
|
|
506
506
|
context: p
|
|
507
507
|
};
|
|
508
508
|
}
|
|
509
|
-
const Ss = "parser",
|
|
510
|
-
function
|
|
509
|
+
const Ss = "parser", Ms = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
|
|
510
|
+
function Ds(e, t, n) {
|
|
511
511
|
switch (e) {
|
|
512
512
|
case "\\\\":
|
|
513
513
|
return "\\";
|
|
@@ -521,14 +521,14 @@ function Ms(e, t, n) {
|
|
|
521
521
|
}
|
|
522
522
|
function ws(e = {}) {
|
|
523
523
|
const t = e.location !== !1, { onError: n } = e;
|
|
524
|
-
function s(i, d, T, _, ...
|
|
524
|
+
function s(i, d, T, _, ...D) {
|
|
525
525
|
const S = i.currentPosition();
|
|
526
526
|
if (S.offset += _, S.column += _, n) {
|
|
527
|
-
const
|
|
527
|
+
const I = t ? Dt(T, S) : null, X = gt(d, I, {
|
|
528
528
|
domain: Ss,
|
|
529
|
-
args:
|
|
529
|
+
args: D
|
|
530
530
|
});
|
|
531
|
-
n(
|
|
531
|
+
n(X);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
function l(i, d, T) {
|
|
@@ -543,54 +543,54 @@ function ws(e = {}) {
|
|
|
543
543
|
return _.value = d, a(_, i.currentOffset(), i.currentPosition()), _;
|
|
544
544
|
}
|
|
545
545
|
function u(i, d) {
|
|
546
|
-
const T = i.context(), { lastOffset: _, lastStartLoc:
|
|
546
|
+
const T = i.context(), { lastOffset: _, lastStartLoc: D } = T, S = l(5, _, D);
|
|
547
547
|
return S.index = parseInt(d, 10), i.nextToken(), a(S, i.currentOffset(), i.currentPosition()), S;
|
|
548
548
|
}
|
|
549
549
|
function m(i, d) {
|
|
550
|
-
const T = i.context(), { lastOffset: _, lastStartLoc:
|
|
550
|
+
const T = i.context(), { lastOffset: _, lastStartLoc: D } = T, S = l(4, _, D);
|
|
551
551
|
return S.key = d, i.nextToken(), a(S, i.currentOffset(), i.currentPosition()), S;
|
|
552
552
|
}
|
|
553
553
|
function p(i, d) {
|
|
554
|
-
const T = i.context(), { lastOffset: _, lastStartLoc:
|
|
555
|
-
return S.value = d.replace(
|
|
554
|
+
const T = i.context(), { lastOffset: _, lastStartLoc: D } = T, S = l(9, _, D);
|
|
555
|
+
return S.value = d.replace(Ms, Ds), i.nextToken(), a(S, i.currentOffset(), i.currentPosition()), S;
|
|
556
556
|
}
|
|
557
557
|
function y(i) {
|
|
558
|
-
const d = i.nextToken(), T = i.context(), { lastOffset: _, lastStartLoc:
|
|
559
|
-
return d.type !== 11 ? (s(i,
|
|
558
|
+
const d = i.nextToken(), T = i.context(), { lastOffset: _, lastStartLoc: D } = T, S = l(8, _, D);
|
|
559
|
+
return d.type !== 11 ? (s(i, Q.UNEXPECTED_EMPTY_LINKED_MODIFIER, T.lastStartLoc, 0), S.value = "", a(S, _, D), {
|
|
560
560
|
nextConsumeToken: d,
|
|
561
561
|
node: S
|
|
562
|
-
}) : (d.value == null && s(i,
|
|
562
|
+
}) : (d.value == null && s(i, 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 O(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 L(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
|
-
const
|
|
575
|
-
T.modifier =
|
|
574
|
+
const D = y(i);
|
|
575
|
+
T.modifier = D.node, _ = D.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 = O(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,
|
|
592
|
-
const
|
|
593
|
-
return S.value = "", a(S,
|
|
591
|
+
s(i, Q.UNEXPECTED_EMPTY_LINKED_KEY, d.lastStartLoc, 0);
|
|
592
|
+
const D = i.context(), S = l(7, D.offset, D.startLoc);
|
|
593
|
+
return S.value = "", a(S, D.offset, D.startLoc), T.key = S, a(T, D.offset, D.startLoc), {
|
|
594
594
|
nextConsumeToken: _,
|
|
595
595
|
node: T
|
|
596
596
|
};
|
|
@@ -601,54 +601,54 @@ function ws(e = {}) {
|
|
|
601
601
|
};
|
|
602
602
|
}
|
|
603
603
|
function w(i) {
|
|
604
|
-
const d = i.context(), T = d.currentType === 1 ? i.currentOffset() : d.offset, _ = d.currentType === 1 ? d.endLoc : d.startLoc,
|
|
605
|
-
|
|
604
|
+
const d = i.context(), T = d.currentType === 1 ? i.currentOffset() : d.offset, _ = d.currentType === 1 ? d.endLoc : d.startLoc, D = l(2, T, _);
|
|
605
|
+
D.items = [];
|
|
606
606
|
let S = null;
|
|
607
607
|
do {
|
|
608
|
-
const
|
|
609
|
-
switch (S = null,
|
|
608
|
+
const g = S || i.nextToken();
|
|
609
|
+
switch (S = null, g.type) {
|
|
610
610
|
case 0:
|
|
611
|
-
|
|
611
|
+
g.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ye(g)), D.items.push(c(i, g.value || ""));
|
|
612
612
|
break;
|
|
613
613
|
case 5:
|
|
614
|
-
|
|
614
|
+
g.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ye(g)), D.items.push(u(i, g.value || ""));
|
|
615
615
|
break;
|
|
616
616
|
case 4:
|
|
617
|
-
|
|
617
|
+
g.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ye(g)), D.items.push(m(i, g.value || ""));
|
|
618
618
|
break;
|
|
619
619
|
case 6:
|
|
620
|
-
|
|
620
|
+
g.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ye(g)), D.items.push(p(i, g.value || ""));
|
|
621
621
|
break;
|
|
622
622
|
case 7: {
|
|
623
|
-
const
|
|
624
|
-
|
|
623
|
+
const h = L(i);
|
|
624
|
+
D.items.push(h.node), S = h.nextConsumeToken || null;
|
|
625
625
|
break;
|
|
626
626
|
}
|
|
627
627
|
}
|
|
628
628
|
} while (d.currentType !== 13 && d.currentType !== 1);
|
|
629
|
-
const
|
|
630
|
-
return a(
|
|
629
|
+
const I = d.currentType === 1 ? d.lastOffset : i.currentOffset(), X = d.currentType === 1 ? d.lastEndLoc : i.currentPosition();
|
|
630
|
+
return a(D, I, X), D;
|
|
631
631
|
}
|
|
632
632
|
function V(i, d, T, _) {
|
|
633
|
-
const
|
|
633
|
+
const D = i.context();
|
|
634
634
|
let S = _.items.length === 0;
|
|
635
|
-
const
|
|
636
|
-
|
|
635
|
+
const I = l(1, d, T);
|
|
636
|
+
I.cases = [], I.cases.push(_);
|
|
637
637
|
do {
|
|
638
|
-
const
|
|
639
|
-
S || (S =
|
|
640
|
-
} while (
|
|
641
|
-
return S && s(i,
|
|
638
|
+
const X = w(i);
|
|
639
|
+
S || (S = X.items.length === 0), I.cases.push(X);
|
|
640
|
+
} while (D.currentType !== 13);
|
|
641
|
+
return S && s(i, Q.MUST_HAVE_MESSAGES_IN_PLURAL, T, 0), a(I, i.currentOffset(), i.currentPosition()), I;
|
|
642
642
|
}
|
|
643
643
|
function A(i) {
|
|
644
|
-
const d = i.context(), { offset: T, startLoc: _ } = d,
|
|
645
|
-
return d.currentType === 13 ?
|
|
644
|
+
const d = i.context(), { offset: T, startLoc: _ } = d, D = w(i);
|
|
645
|
+
return d.currentType === 13 ? D : V(i, T, _, D);
|
|
646
646
|
}
|
|
647
|
-
function
|
|
647
|
+
function M(i) {
|
|
648
648
|
const d = As(i, de({}, e)), T = d.context(), _ = l(0, T.offset, T.startLoc);
|
|
649
|
-
return t && _.loc && (_.loc.source = i), _.body = A(d), e.onCacheKey && (_.cacheKey = e.onCacheKey(i)), T.currentType !== 13 && s(d,
|
|
649
|
+
return t && _.loc && (_.loc.source = i), _.body = A(d), e.onCacheKey && (_.cacheKey = e.onCacheKey(i)), T.currentType !== 13 && s(d, Q.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, i[T.offset] || ""), a(_, d.currentOffset(), d.currentPosition()), _;
|
|
650
650
|
}
|
|
651
|
-
return { parse:
|
|
651
|
+
return { parse: M };
|
|
652
652
|
}
|
|
653
653
|
function ye(e) {
|
|
654
654
|
if (e.type === 13)
|
|
@@ -734,7 +734,7 @@ function an(e) {
|
|
|
734
734
|
t.push(s.value);
|
|
735
735
|
}
|
|
736
736
|
if (t.length === e.items.length) {
|
|
737
|
-
e.static =
|
|
737
|
+
e.static = Xt(t);
|
|
738
738
|
for (let n = 0; n < e.items.length; n++) {
|
|
739
739
|
const s = e.items[n];
|
|
740
740
|
(s.type === 3 || s.type === 9) && delete s.value;
|
|
@@ -803,30 +803,30 @@ function Us(e, t) {
|
|
|
803
803
|
};
|
|
804
804
|
a && e.loc && (c.source = e.loc.source);
|
|
805
805
|
const u = () => c;
|
|
806
|
-
function m(A,
|
|
806
|
+
function m(A, M) {
|
|
807
807
|
c.code += A;
|
|
808
808
|
}
|
|
809
|
-
function p(A,
|
|
810
|
-
const i =
|
|
809
|
+
function p(A, M = !0) {
|
|
810
|
+
const i = M ? s : "";
|
|
811
811
|
m(l ? i + " ".repeat(A) : i);
|
|
812
812
|
}
|
|
813
813
|
function y(A = !0) {
|
|
814
|
-
const
|
|
815
|
-
A && p(
|
|
814
|
+
const M = ++c.indentLevel;
|
|
815
|
+
A && p(M);
|
|
816
816
|
}
|
|
817
|
-
function
|
|
818
|
-
const
|
|
819
|
-
A && p(
|
|
817
|
+
function O(A = !0) {
|
|
818
|
+
const M = --c.indentLevel;
|
|
819
|
+
A && p(M);
|
|
820
820
|
}
|
|
821
|
-
function
|
|
821
|
+
function L() {
|
|
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: O,
|
|
829
|
+
newline: L,
|
|
830
830
|
helper: (A) => `_${A}`,
|
|
831
831
|
needIndent: () => c.needIndent
|
|
832
832
|
};
|
|
@@ -921,7 +921,7 @@ const Zs = (e, t = {}) => {
|
|
|
921
921
|
breakLineCode: l,
|
|
922
922
|
needIndent: a
|
|
923
923
|
});
|
|
924
|
-
u.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), u.indent(a), c.length > 0 && (u.push(`const { ${
|
|
924
|
+
u.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), u.indent(a), c.length > 0 && (u.push(`const { ${Xt(c.map((y) => `${y}: _${y}`), ", ")} } = ctx`), u.newline()), u.push("return "), Ze(u, e), u.deindent(a), u.push("}"), delete e.helpers;
|
|
925
925
|
const { code: m, map: p } = u.context();
|
|
926
926
|
return {
|
|
927
927
|
ast: e,
|
|
@@ -930,15 +930,15 @@ const Zs = (e, t = {}) => {
|
|
|
930
930
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
931
931
|
};
|
|
932
932
|
};
|
|
933
|
-
function
|
|
933
|
+
function Ys(e, t = {}) {
|
|
934
934
|
const n = de({}, t), s = !!n.jit, l = !!n.minify, a = n.optimize == null ? !0 : n.optimize, u = ws(n).parse(e);
|
|
935
935
|
return s ? (a && js(u), l && We(u), { ast: u, code: "" }) : (Fs(u, n), Zs(u, n));
|
|
936
936
|
}
|
|
937
|
-
var
|
|
937
|
+
var Xs = { env: { NODE_ENV: "production" } };
|
|
938
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
|
-
function
|
|
941
|
+
function Rt(e) {
|
|
942
942
|
return (n) => Bs(n, e);
|
|
943
943
|
}
|
|
944
944
|
function Bs(e, t) {
|
|
@@ -949,7 +949,7 @@ function Bs(e, t) {
|
|
|
949
949
|
/* NodeTypes.Resource */
|
|
950
950
|
);
|
|
951
951
|
if (Bt(n) === 1) {
|
|
952
|
-
const a =
|
|
952
|
+
const a = Qs(n);
|
|
953
953
|
return e.plural(a.reduce((c, u) => [
|
|
954
954
|
...c,
|
|
955
955
|
rn(e, u)
|
|
@@ -959,11 +959,11 @@ function Bs(e, t) {
|
|
|
959
959
|
}
|
|
960
960
|
const $s = ["b", "body"];
|
|
961
961
|
function Js(e) {
|
|
962
|
-
return
|
|
962
|
+
return De(e, $s);
|
|
963
963
|
}
|
|
964
964
|
const Ks = ["c", "cases"];
|
|
965
|
-
function
|
|
966
|
-
return
|
|
965
|
+
function Qs(e) {
|
|
966
|
+
return De(e, Ks, []);
|
|
967
967
|
}
|
|
968
968
|
function rn(e, t) {
|
|
969
969
|
const n = qs(t);
|
|
@@ -974,13 +974,13 @@ 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
|
|
979
|
+
return De(e, zs);
|
|
980
980
|
}
|
|
981
981
|
const ea = ["i", "items"];
|
|
982
982
|
function ta(e) {
|
|
983
|
-
return
|
|
983
|
+
return De(e, ea, []);
|
|
984
984
|
}
|
|
985
985
|
function wt(e, t) {
|
|
986
986
|
const n = Bt(t);
|
|
@@ -1019,22 +1019,22 @@ function wt(e, t) {
|
|
|
1019
1019
|
}
|
|
1020
1020
|
const na = ["t", "type"];
|
|
1021
1021
|
function Bt(e) {
|
|
1022
|
-
return
|
|
1022
|
+
return De(e, na);
|
|
1023
1023
|
}
|
|
1024
1024
|
const sa = ["v", "value"];
|
|
1025
1025
|
function lt(e, t) {
|
|
1026
|
-
const n =
|
|
1026
|
+
const n = De(e, sa);
|
|
1027
1027
|
if (n)
|
|
1028
1028
|
return n;
|
|
1029
1029
|
throw qe(t);
|
|
1030
1030
|
}
|
|
1031
1031
|
const aa = ["m", "modifier"];
|
|
1032
1032
|
function ra(e) {
|
|
1033
|
-
return
|
|
1033
|
+
return De(e, aa);
|
|
1034
1034
|
}
|
|
1035
1035
|
const la = ["k", "key"];
|
|
1036
1036
|
function oa(e) {
|
|
1037
|
-
const t =
|
|
1037
|
+
const t = De(e, la);
|
|
1038
1038
|
if (t)
|
|
1039
1039
|
return t;
|
|
1040
1040
|
throw qe(
|
|
@@ -1042,7 +1042,7 @@ function oa(e) {
|
|
|
1042
1042
|
/* NodeTypes.Linked */
|
|
1043
1043
|
);
|
|
1044
1044
|
}
|
|
1045
|
-
function
|
|
1045
|
+
function De(e, t, n) {
|
|
1046
1046
|
for (let s = 0; s < t.length; s++) {
|
|
1047
1047
|
const l = t[s];
|
|
1048
1048
|
if (Ne(e, l) && e[l] != null)
|
|
@@ -1055,7 +1055,7 @@ function qe(e) {
|
|
|
1055
1055
|
}
|
|
1056
1056
|
const ia = (e) => e;
|
|
1057
1057
|
let ot = ee();
|
|
1058
|
-
function
|
|
1058
|
+
function Ye(e) {
|
|
1059
1059
|
return K(e) && Bt(e) === 0 && (Ne(e, "b") || Ne(e, "body"));
|
|
1060
1060
|
}
|
|
1061
1061
|
function ca(e, t = {}) {
|
|
@@ -1063,7 +1063,7 @@ function ca(e, t = {}) {
|
|
|
1063
1063
|
const s = t.onError || ys;
|
|
1064
1064
|
return t.onError = (l) => {
|
|
1065
1065
|
n = !0, s(l);
|
|
1066
|
-
}, { ...
|
|
1066
|
+
}, { ...Ys(e, t), detectError: n };
|
|
1067
1067
|
}
|
|
1068
1068
|
// @__NO_SIDE_EFFECTS__
|
|
1069
1069
|
function ua(e, t) {
|
|
@@ -1074,17 +1074,17 @@ function ua(e, t) {
|
|
|
1074
1074
|
return l;
|
|
1075
1075
|
const { ast: a, detectError: c } = ca(e, {
|
|
1076
1076
|
...t,
|
|
1077
|
-
location:
|
|
1077
|
+
location: Xs.env.NODE_ENV !== "production",
|
|
1078
1078
|
jit: !0
|
|
1079
|
-
}), u =
|
|
1079
|
+
}), u = Rt(a);
|
|
1080
1080
|
return c ? u : ot[s] = u;
|
|
1081
1081
|
} else {
|
|
1082
1082
|
const n = e.cacheKey;
|
|
1083
1083
|
if (n) {
|
|
1084
1084
|
const s = ot[n];
|
|
1085
|
-
return s || (ot[n] =
|
|
1085
|
+
return s || (ot[n] = Rt(e));
|
|
1086
1086
|
} else
|
|
1087
|
-
return
|
|
1087
|
+
return Rt(e);
|
|
1088
1088
|
}
|
|
1089
1089
|
}
|
|
1090
1090
|
let et = null;
|
|
@@ -1103,7 +1103,7 @@ const fa = /* @__PURE__ */ _a("function:translate");
|
|
|
1103
1103
|
function _a(e) {
|
|
1104
1104
|
return (t) => et && et.emit(e, t);
|
|
1105
1105
|
}
|
|
1106
|
-
const
|
|
1106
|
+
const Re = {
|
|
1107
1107
|
INVALID_ARGUMENT: Ns,
|
|
1108
1108
|
// 17
|
|
1109
1109
|
INVALID_DATE_ARGUMENT: 18,
|
|
@@ -1112,28 +1112,28 @@ const Ce = {
|
|
|
1112
1112
|
NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
|
|
1113
1113
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
1114
1114
|
}, pa = 24;
|
|
1115
|
-
function
|
|
1116
|
-
return
|
|
1115
|
+
function Ce(e) {
|
|
1116
|
+
return gt(e, null, void 0);
|
|
1117
1117
|
}
|
|
1118
1118
|
function $t(e, t) {
|
|
1119
1119
|
return t.locale != null ? ln(t.locale) : ln(e.locale);
|
|
1120
1120
|
}
|
|
1121
|
-
let
|
|
1121
|
+
let Ct;
|
|
1122
1122
|
function ln(e) {
|
|
1123
1123
|
if (P(e))
|
|
1124
1124
|
return e;
|
|
1125
1125
|
if (se(e)) {
|
|
1126
|
-
if (e.resolvedOnce &&
|
|
1127
|
-
return
|
|
1126
|
+
if (e.resolvedOnce && Ct != null)
|
|
1127
|
+
return Ct;
|
|
1128
1128
|
if (e.constructor.name === "Function") {
|
|
1129
1129
|
const t = e();
|
|
1130
|
-
if (
|
|
1131
|
-
throw Re
|
|
1132
|
-
return
|
|
1130
|
+
if (gs(t))
|
|
1131
|
+
throw Ce(Re.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
1132
|
+
return Ct = t;
|
|
1133
1133
|
} else
|
|
1134
|
-
throw Re
|
|
1134
|
+
throw Ce(Re.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
|
|
1135
1135
|
} else
|
|
1136
|
-
throw Re
|
|
1136
|
+
throw Ce(Re.NOT_SUPPORT_LOCALE_TYPE);
|
|
1137
1137
|
}
|
|
1138
1138
|
function ba(e, t, n) {
|
|
1139
1139
|
return [.../* @__PURE__ */ new Set([
|
|
@@ -1141,7 +1141,7 @@ function ba(e, t, n) {
|
|
|
1141
1141
|
...ce(t) ? t : K(t) ? Object.keys(t) : P(t) ? [t] : [n]
|
|
1142
1142
|
])];
|
|
1143
1143
|
}
|
|
1144
|
-
function
|
|
1144
|
+
function Mn(e, t, n) {
|
|
1145
1145
|
const s = P(n) ? n : pt, l = e;
|
|
1146
1146
|
l.__localeChainCache || (l.__localeChainCache = /* @__PURE__ */ new Map());
|
|
1147
1147
|
let a = l.__localeChainCache.get(s);
|
|
@@ -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 = ha(e, t[l], n));
|
|
1163
1163
|
}
|
|
1164
1164
|
return s;
|
|
1165
1165
|
}
|
|
1166
|
-
function
|
|
1166
|
+
function ha(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 = ga(e, a, n), l.splice(-1, 1);
|
|
1172
1172
|
} while (l.length && s === !0);
|
|
1173
1173
|
return s;
|
|
1174
1174
|
}
|
|
1175
|
-
function
|
|
1175
|
+
function ga(e, t, n) {
|
|
1176
1176
|
let s = !1;
|
|
1177
1177
|
if (!e.includes(t) && (s = !0, t)) {
|
|
1178
1178
|
s = t[t.length - 1] !== "!";
|
|
@@ -1343,10 +1343,10 @@ we[
|
|
|
1343
1343
|
]
|
|
1344
1344
|
};
|
|
1345
1345
|
const va = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
|
1346
|
-
function
|
|
1346
|
+
function Ia(e) {
|
|
1347
1347
|
return va.test(e);
|
|
1348
1348
|
}
|
|
1349
|
-
function
|
|
1349
|
+
function Ea(e) {
|
|
1350
1350
|
const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
|
|
1351
1351
|
return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
|
|
1352
1352
|
}
|
|
@@ -1377,43 +1377,43 @@ function Na(e) {
|
|
|
1377
1377
|
}
|
|
1378
1378
|
function ya(e) {
|
|
1379
1379
|
const t = e.trim();
|
|
1380
|
-
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 :
|
|
1380
|
+
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Ia(t) ? Ea(t) : "*" + t;
|
|
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, O;
|
|
1385
|
+
const L = [];
|
|
1386
|
+
L[
|
|
1387
1387
|
0
|
|
1388
1388
|
/* Actions.APPEND */
|
|
1389
1389
|
] = () => {
|
|
1390
1390
|
c === void 0 ? c = u : c += u;
|
|
1391
|
-
},
|
|
1391
|
+
}, L[
|
|
1392
1392
|
1
|
|
1393
1393
|
/* Actions.PUSH */
|
|
1394
1394
|
] = () => {
|
|
1395
1395
|
c !== void 0 && (t.push(c), c = void 0);
|
|
1396
|
-
},
|
|
1396
|
+
}, L[
|
|
1397
1397
|
2
|
|
1398
1398
|
/* Actions.INC_SUB_PATH_DEPTH */
|
|
1399
1399
|
] = () => {
|
|
1400
|
-
|
|
1400
|
+
L[
|
|
1401
1401
|
0
|
|
1402
1402
|
/* Actions.APPEND */
|
|
1403
1403
|
](), l++;
|
|
1404
|
-
},
|
|
1404
|
+
}, L[
|
|
1405
1405
|
3
|
|
1406
1406
|
/* Actions.PUSH_SUB_PATH */
|
|
1407
1407
|
] = () => {
|
|
1408
1408
|
if (l > 0)
|
|
1409
|
-
l--, s = 4,
|
|
1409
|
+
l--, s = 4, L[
|
|
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
|
+
L[
|
|
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, L[
|
|
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), O = we[s], p = O[m] || O.l || 8, p === 8 || (s = p[0], p[1] !== void 0 && (y = L[p[1]], y && (u = a, y() === !1))))
|
|
1433
1433
|
return;
|
|
1434
1434
|
if (s === 7)
|
|
1435
1435
|
return t;
|
|
@@ -1439,7 +1439,7 @@ const cn = /* @__PURE__ */ new Map();
|
|
|
1439
1439
|
function ka(e, t) {
|
|
1440
1440
|
return K(e) ? e[t] : null;
|
|
1441
1441
|
}
|
|
1442
|
-
function
|
|
1442
|
+
function La(e, t) {
|
|
1443
1443
|
if (!K(e))
|
|
1444
1444
|
return null;
|
|
1445
1445
|
let n = cn.get(t);
|
|
@@ -1455,17 +1455,17 @@ function Oa(e, t) {
|
|
|
1455
1455
|
}
|
|
1456
1456
|
return l;
|
|
1457
1457
|
}
|
|
1458
|
-
const
|
|
1459
|
-
function
|
|
1458
|
+
const Oa = "10.0.5", vt = -1, pt = "en-US", un = "", mn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1459
|
+
function Ra() {
|
|
1460
1460
|
return {
|
|
1461
1461
|
upper: (e, t) => t === "text" && P(e) ? e.toUpperCase() : t === "vnode" && K(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1462
1462
|
lower: (e, t) => t === "text" && P(e) ? e.toLowerCase() : t === "vnode" && K(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
1463
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
|
-
let
|
|
1467
|
-
function
|
|
1468
|
-
|
|
1466
|
+
let Dn;
|
|
1467
|
+
function Ca(e) {
|
|
1468
|
+
Dn = e;
|
|
1469
1469
|
}
|
|
1470
1470
|
let wn;
|
|
1471
1471
|
function Aa(e) {
|
|
@@ -1476,18 +1476,18 @@ function Sa(e) {
|
|
|
1476
1476
|
Pn = e;
|
|
1477
1477
|
}
|
|
1478
1478
|
let Fn = null;
|
|
1479
|
-
const
|
|
1479
|
+
const Ma = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
1480
1480
|
Fn = e;
|
|
1481
|
-
},
|
|
1481
|
+
}, Da = /* @__NO_SIDE_EFFECTS__ */ () => Fn;
|
|
1482
1482
|
let jn = null;
|
|
1483
1483
|
const dn = (e) => {
|
|
1484
1484
|
jn = e;
|
|
1485
1485
|
}, wa = () => jn;
|
|
1486
1486
|
let fn = 0;
|
|
1487
1487
|
function Pa(e = {}) {
|
|
1488
|
-
const t = se(e.onWarn) ? e.onWarn :
|
|
1488
|
+
const t = se(e.onWarn) ? e.onWarn : Is, n = P(e.version) ? e.version : Oa, s = P(e.locale) || se(e.locale) ? e.locale : pt, l = se(s) ? pt : s, a = ce(e.fallbackLocale) || J(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = J(e.messages) ? e.messages : At(l), u = J(e.datetimeFormats) ? e.datetimeFormats : At(l), m = J(e.numberFormats) ? e.numberFormats : At(l), p = de(ee(), e.modifiers, Ra()), y = e.pluralRules || ee(), O = se(e.missing) ? e.missing : null, L = ie(e.missingWarn) || _t(e.missingWarn) ? e.missingWarn : !0, w = ie(e.fallbackWarn) || _t(e.fallbackWarn) ? e.fallbackWarn : !0, V = !!e.fallbackFormat, A = !!e.unresolving, M = se(e.postTranslation) ? e.postTranslation : null, i = J(e.processor) ? e.processor : null, d = ie(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, T = !!e.escapeParameter, _ = se(e.messageCompiler) ? e.messageCompiler : Dn, D = se(e.messageResolver) ? e.messageResolver : wn || ka, S = se(e.localeFallbacker) ? e.localeFallbacker : Pn || ba, I = K(e.fallbackContext) ? e.fallbackContext : void 0, X = e, g = K(X.__datetimeFormatters) ? X.__datetimeFormatters : /* @__PURE__ */ new Map(), h = K(X.__numberFormatters) ? X.__numberFormatters : /* @__PURE__ */ new Map(), R = K(X.__meta) ? X.__meta : {};
|
|
1489
1489
|
fn++;
|
|
1490
|
-
const
|
|
1490
|
+
const E = {
|
|
1491
1491
|
version: n,
|
|
1492
1492
|
cid: fn,
|
|
1493
1493
|
locale: s,
|
|
@@ -1495,23 +1495,23 @@ function Pa(e = {}) {
|
|
|
1495
1495
|
messages: c,
|
|
1496
1496
|
modifiers: p,
|
|
1497
1497
|
pluralRules: y,
|
|
1498
|
-
missing:
|
|
1499
|
-
missingWarn:
|
|
1498
|
+
missing: O,
|
|
1499
|
+
missingWarn: L,
|
|
1500
1500
|
fallbackWarn: w,
|
|
1501
1501
|
fallbackFormat: V,
|
|
1502
1502
|
unresolving: A,
|
|
1503
|
-
postTranslation:
|
|
1503
|
+
postTranslation: M,
|
|
1504
1504
|
processor: i,
|
|
1505
1505
|
warnHtmlMessage: d,
|
|
1506
1506
|
escapeParameter: T,
|
|
1507
1507
|
messageCompiler: _,
|
|
1508
|
-
messageResolver:
|
|
1508
|
+
messageResolver: D,
|
|
1509
1509
|
localeFallbacker: S,
|
|
1510
|
-
fallbackContext:
|
|
1510
|
+
fallbackContext: I,
|
|
1511
1511
|
onWarn: t,
|
|
1512
|
-
__meta:
|
|
1512
|
+
__meta: R
|
|
1513
1513
|
};
|
|
1514
|
-
return
|
|
1514
|
+
return E.datetimeFormats = u, E.numberFormats = m, E.__datetimeFormatters = g, E.__numberFormatters = h, __INTLIFY_PROD_DEVTOOLS__ && da(E, n, R), E;
|
|
1515
1515
|
}
|
|
1516
1516
|
const At = (e) => ({ [e]: ee() });
|
|
1517
1517
|
function Jt(e, t, n, s, l) {
|
|
@@ -1522,7 +1522,7 @@ function Jt(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, O] = Pt(...t), L = ie(y.missingWarn) ? y.missingWarn : e.missingWarn;
|
|
1543
1543
|
ie(y.fallbackWarn) ? y.fallbackWarn : e.fallbackWarn;
|
|
1544
1544
|
const w = !!y.part, V = $t(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,
|
|
1552
|
-
let
|
|
1551
|
+
return new Intl.DateTimeFormat(V, O).format(p);
|
|
1552
|
+
let M = {}, i, d = null;
|
|
1553
1553
|
const T = "datetime format";
|
|
1554
|
-
for (let S = 0; S < A.length && (i = A[S],
|
|
1555
|
-
Jt(e, m, i,
|
|
1554
|
+
for (let S = 0; S < A.length && (i = A[S], M = n[i] || {}, d = M[m], !J(d)); S++)
|
|
1555
|
+
Jt(e, m, i, L, T);
|
|
1556
1556
|
if (!J(d) || !P(i))
|
|
1557
1557
|
return s ? vt : m;
|
|
1558
1558
|
let _ = `${i}__${m}`;
|
|
1559
|
-
|
|
1560
|
-
let
|
|
1561
|
-
return
|
|
1559
|
+
ht(O) || (_ = `${_}__${JSON.stringify(O)}`);
|
|
1560
|
+
let D = u.get(_);
|
|
1561
|
+
return D || (D = new Intl.DateTimeFormat(i, de({}, d, O)), u.set(_, D)), w ? D.formatToParts(p) : D.format(p);
|
|
1562
1562
|
}
|
|
1563
1563
|
const Un = [
|
|
1564
1564
|
"localeMatcher",
|
|
@@ -1588,22 +1588,22 @@ function Pt(...e) {
|
|
|
1588
1588
|
if (P(t)) {
|
|
1589
1589
|
const m = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
1590
1590
|
if (!m)
|
|
1591
|
-
throw Re
|
|
1591
|
+
throw Ce(Re.INVALID_ISO_DATE_ARGUMENT);
|
|
1592
1592
|
const p = m[3] ? m[3].trim().startsWith("T") ? `${m[1].trim()}${m[3].trim()}` : `${m[1].trim()}T${m[3].trim()}` : m[1].trim();
|
|
1593
1593
|
u = new Date(p);
|
|
1594
1594
|
try {
|
|
1595
1595
|
u.toISOString();
|
|
1596
1596
|
} catch {
|
|
1597
|
-
throw Re
|
|
1597
|
+
throw Ce(Re.INVALID_ISO_DATE_ARGUMENT);
|
|
1598
1598
|
}
|
|
1599
1599
|
} else if (ps(t)) {
|
|
1600
1600
|
if (isNaN(t.getTime()))
|
|
1601
|
-
throw Re
|
|
1601
|
+
throw Ce(Re.INVALID_DATE_ARGUMENT);
|
|
1602
1602
|
u = t;
|
|
1603
1603
|
} else if (me(t))
|
|
1604
1604
|
u = t;
|
|
1605
1605
|
else
|
|
1606
|
-
throw Re
|
|
1606
|
+
throw Ce(Re.INVALID_ARGUMENT);
|
|
1607
1607
|
return P(n) ? a.key = n : J(n) && Object.keys(n).forEach((m) => {
|
|
1608
1608
|
Un.includes(m) ? c[m] = n[m] : a[m] = n[m];
|
|
1609
1609
|
}), P(s) ? a.locale = s : J(s) && (c = s), J(l) && (c = l), [a.key || "", u, a, c];
|
|
@@ -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, O] = Ft(...t), L = ie(y.missingWarn) ? y.missingWarn : e.missingWarn;
|
|
1620
1620
|
ie(y.fallbackWarn) ? y.fallbackWarn : e.fallbackWarn;
|
|
1621
1621
|
const w = !!y.part, V = $t(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,
|
|
1629
|
-
let
|
|
1628
|
+
return new Intl.NumberFormat(V, O).format(p);
|
|
1629
|
+
let M = {}, i, d = null;
|
|
1630
1630
|
const T = "number format";
|
|
1631
|
-
for (let S = 0; S < A.length && (i = A[S],
|
|
1632
|
-
Jt(e, m, i,
|
|
1631
|
+
for (let S = 0; S < A.length && (i = A[S], M = n[i] || {}, d = M[m], !J(d)); S++)
|
|
1632
|
+
Jt(e, m, i, L, T);
|
|
1633
1633
|
if (!J(d) || !P(i))
|
|
1634
1634
|
return s ? vt : m;
|
|
1635
1635
|
let _ = `${i}__${m}`;
|
|
1636
|
-
|
|
1637
|
-
let
|
|
1638
|
-
return
|
|
1636
|
+
ht(O) || (_ = `${_}__${JSON.stringify(O)}`);
|
|
1637
|
+
let D = u.get(_);
|
|
1638
|
+
return D || (D = new Intl.NumberFormat(i, de({}, d, O)), u.set(_, D)), w ? D.formatToParts(p) : D.format(p);
|
|
1639
1639
|
}
|
|
1640
1640
|
const Vn = [
|
|
1641
1641
|
"localeMatcher",
|
|
@@ -1663,89 +1663,89 @@ function Ft(...e) {
|
|
|
1663
1663
|
const [t, n, s, l] = e, a = ee();
|
|
1664
1664
|
let c = ee();
|
|
1665
1665
|
if (!me(t))
|
|
1666
|
-
throw Re
|
|
1666
|
+
throw Ce(Re.INVALID_ARGUMENT);
|
|
1667
1667
|
const u = t;
|
|
1668
1668
|
return P(n) ? a.key = n : J(n) && Object.keys(n).forEach((m) => {
|
|
1669
1669
|
Vn.includes(m) ? c[m] = n[m] : a[m] = n[m];
|
|
1670
1670
|
}), P(s) ? a.locale = s : J(s) && (c = s), J(l) && (c = l), [a.key || "", u, a, c];
|
|
1671
1671
|
}
|
|
1672
|
-
function
|
|
1672
|
+
function hn(e, t, n) {
|
|
1673
1673
|
const s = e;
|
|
1674
1674
|
for (const l in n) {
|
|
1675
1675
|
const a = `${t}__${l}`;
|
|
1676
1676
|
s.__numberFormatters.has(a) && s.__numberFormatters.delete(a);
|
|
1677
1677
|
}
|
|
1678
1678
|
}
|
|
1679
|
-
const Ua = (e) => e, Va = (e) => "", Ga = "text", Wa = (e) => e.length === 0 ? "" :
|
|
1680
|
-
function
|
|
1679
|
+
const Ua = (e) => e, Va = (e) => "", Ga = "text", Wa = (e) => e.length === 0 ? "" : Xt(e), xa = vs;
|
|
1680
|
+
function gn(e, t) {
|
|
1681
1681
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1682
1682
|
}
|
|
1683
1683
|
function Za(e) {
|
|
1684
1684
|
const t = me(e.pluralIndex) ? e.pluralIndex : -1;
|
|
1685
1685
|
return e.named && (me(e.named.count) || me(e.named.n)) ? me(e.named.count) ? e.named.count : me(e.named.n) ? e.named.n : t : t;
|
|
1686
1686
|
}
|
|
1687
|
-
function
|
|
1687
|
+
function Ya(e, t) {
|
|
1688
1688
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1689
1689
|
}
|
|
1690
|
-
function
|
|
1691
|
-
const t = e.locale, n = Za(e), s = K(e.pluralRules) && P(t) && se(e.pluralRules[t]) ? e.pluralRules[t] :
|
|
1692
|
-
me(e.pluralIndex) &&
|
|
1690
|
+
function Xa(e = {}) {
|
|
1691
|
+
const t = e.locale, n = Za(e), s = K(e.pluralRules) && P(t) && se(e.pluralRules[t]) ? e.pluralRules[t] : gn, l = K(e.pluralRules) && P(t) && se(e.pluralRules[t]) ? gn : void 0, a = (i) => i[s(n, i.length, l)], c = e.list || [], u = (i) => c[i], m = e.named || ee();
|
|
1692
|
+
me(e.pluralIndex) && Ya(n, m);
|
|
1693
1693
|
const p = (i) => m[i];
|
|
1694
1694
|
function y(i, d) {
|
|
1695
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 O = (i) => e.modifiers ? e.modifiers[i] : Ua, L = J(e.processor) && se(e.processor.normalize) ? e.processor.normalize : Wa, w = J(e.processor) && se(e.processor.interpolate) ? e.processor.interpolate : xa, V = J(e.processor) && P(e.processor.type) ? e.processor.type : Ga, M = {
|
|
1699
1699
|
list: u,
|
|
1700
1700
|
named: p,
|
|
1701
1701
|
plural: a,
|
|
1702
1702
|
linked: (i, ...d) => {
|
|
1703
1703
|
const [T, _] = d;
|
|
1704
|
-
let
|
|
1705
|
-
d.length === 1 ? K(T) ? (S = T.modifier || S,
|
|
1706
|
-
const
|
|
1704
|
+
let D = "text", S = "";
|
|
1705
|
+
d.length === 1 ? K(T) ? (S = T.modifier || S, D = T.type || D) : P(T) && (S = T || S) : d.length === 2 && (P(T) && (S = T || S), P(_) && (D = _ || D));
|
|
1706
|
+
const I = y(i, !0)(M), X = (
|
|
1707
1707
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1708
|
-
|
|
1708
|
+
D === "vnode" && ce(I) && S ? I[0] : I
|
|
1709
1709
|
);
|
|
1710
|
-
return S ?
|
|
1710
|
+
return S ? O(S)(X, D) : X;
|
|
1711
1711
|
},
|
|
1712
1712
|
message: y,
|
|
1713
1713
|
type: V,
|
|
1714
1714
|
interpolate: w,
|
|
1715
|
-
normalize:
|
|
1715
|
+
normalize: L,
|
|
1716
1716
|
values: de(ee(), c, m)
|
|
1717
1717
|
};
|
|
1718
|
-
return
|
|
1718
|
+
return M;
|
|
1719
1719
|
}
|
|
1720
1720
|
const vn = () => "", ve = (e) => se(e);
|
|
1721
|
-
function
|
|
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
|
-
|
|
1721
|
+
function In(e, ...t) {
|
|
1722
|
+
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: u } = e, [m, p] = jt(...t), y = ie(p.missingWarn) ? p.missingWarn : e.missingWarn, O = ie(p.fallbackWarn) ? p.fallbackWarn : e.fallbackWarn, L = ie(p.escapeParameter) ? p.escapeParameter : e.escapeParameter, w = !!p.resolvedMessage, V = P(p.default) || ie(p.default) ? ie(p.default) ? a ? m : () => m : p.default : n ? a ? m : () => m : null, A = n || V != null && (P(V) || se(V)), M = $t(e, p);
|
|
1723
|
+
L && Ha(p);
|
|
1724
1724
|
let [i, d, T] = w ? [
|
|
1725
1725
|
m,
|
|
1726
|
-
|
|
1727
|
-
u[
|
|
1728
|
-
] : Gn(e, m,
|
|
1729
|
-
if (!w && !(P(_) ||
|
|
1726
|
+
M,
|
|
1727
|
+
u[M] || ee()
|
|
1728
|
+
] : Gn(e, m, M, c, O, y), _ = i, D = m;
|
|
1729
|
+
if (!w && !(P(_) || Ye(_) || ve(_)) && A && (_ = V, D = _), !w && (!(P(_) || Ye(_) || ve(_)) || !P(d)))
|
|
1730
1730
|
return l ? vt : m;
|
|
1731
1731
|
let S = !1;
|
|
1732
|
-
const
|
|
1732
|
+
const I = () => {
|
|
1733
1733
|
S = !0;
|
|
1734
|
-
},
|
|
1734
|
+
}, X = ve(_) ? _ : Wn(e, m, d, _, D, I);
|
|
1735
1735
|
if (S)
|
|
1736
1736
|
return _;
|
|
1737
|
-
const
|
|
1737
|
+
const g = Ja(e, d, T, p), h = Xa(g), R = Ba(e, X, h), E = s ? s(R, m) : R;
|
|
1738
1738
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1739
1739
|
const F = {
|
|
1740
1740
|
timestamp: Date.now(),
|
|
1741
1741
|
key: P(m) ? m : ve(_) ? _.key : "",
|
|
1742
1742
|
locale: d || (ve(_) ? _.locale : ""),
|
|
1743
1743
|
format: P(_) ? _ : ve(_) ? _.source : "",
|
|
1744
|
-
message:
|
|
1744
|
+
message: E
|
|
1745
1745
|
};
|
|
1746
|
-
F.meta = de({}, e.__meta, /* @__PURE__ */
|
|
1746
|
+
F.meta = de({}, e.__meta, /* @__PURE__ */ Da() || {}), fa(F);
|
|
1747
1747
|
}
|
|
1748
|
-
return
|
|
1748
|
+
return E;
|
|
1749
1749
|
}
|
|
1750
1750
|
function Ha(e) {
|
|
1751
1751
|
ce(e.list) ? e.list = e.list.map((t) => P(t) ? tn(t) : t) : K(e.named) && Object.keys(e.named).forEach((t) => {
|
|
@@ -1754,21 +1754,21 @@ function Ha(e) {
|
|
|
1754
1754
|
}
|
|
1755
1755
|
function Gn(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 O = ee(), L, w = null;
|
|
1758
1758
|
const V = "translate";
|
|
1759
|
-
for (let A = 0; A < y.length && (
|
|
1760
|
-
if (!ja(
|
|
1761
|
-
const
|
|
1759
|
+
for (let A = 0; A < y.length && (L = y[A], O = c[L] || ee(), (w = m(O, t)) === null && (w = O[t]), !(P(w) || Ye(w) || ve(w))); A++)
|
|
1760
|
+
if (!ja(L, y)) {
|
|
1761
|
+
const M = Jt(
|
|
1762
1762
|
e,
|
|
1763
1763
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1764
1764
|
t,
|
|
1765
|
-
|
|
1765
|
+
L,
|
|
1766
1766
|
a,
|
|
1767
1767
|
V
|
|
1768
1768
|
);
|
|
1769
|
-
|
|
1769
|
+
M !== t && (w = M);
|
|
1770
1770
|
}
|
|
1771
|
-
return [w,
|
|
1771
|
+
return [w, L, O];
|
|
1772
1772
|
}
|
|
1773
1773
|
function Wn(e, t, n, s, l, a) {
|
|
1774
1774
|
const { messageCompiler: c, warnHtmlMessage: u } = e;
|
|
@@ -1788,10 +1788,10 @@ function Ba(e, t, n) {
|
|
|
1788
1788
|
}
|
|
1789
1789
|
function jt(...e) {
|
|
1790
1790
|
const [t, n, s] = e, l = ee();
|
|
1791
|
-
if (!P(t) && !me(t) && !ve(t) && !
|
|
1792
|
-
throw Re
|
|
1791
|
+
if (!P(t) && !me(t) && !ve(t) && !Ye(t))
|
|
1792
|
+
throw Ce(Re.INVALID_ARGUMENT);
|
|
1793
1793
|
const a = me(t) ? String(t) : (ve(t), t);
|
|
1794
|
-
return me(n) ? l.plural = n : P(n) ? l.default = n : J(n) && !
|
|
1794
|
+
return me(n) ? l.plural = n : P(n) ? l.default = n : J(n) && !ht(n) ? l.named = n : ce(n) && (l.list = n), me(s) ? l.plural = s : P(s) ? l.default = s : J(s) && de(l, s), [a, l];
|
|
1795
1795
|
}
|
|
1796
1796
|
function $a(e, t, n, s, l, a) {
|
|
1797
1797
|
return {
|
|
@@ -1805,14 +1805,14 @@ function $a(e, t, n, s, l, a) {
|
|
|
1805
1805
|
};
|
|
1806
1806
|
}
|
|
1807
1807
|
function Ja(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, L = {
|
|
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 [, ,
|
|
1815
|
+
const [, , M] = Gn(
|
|
1816
1816
|
y || e,
|
|
1817
1817
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1818
1818
|
w,
|
|
@@ -1821,26 +1821,26 @@ function Ja(e, t, n, s) {
|
|
|
1821
1821
|
m,
|
|
1822
1822
|
p
|
|
1823
1823
|
);
|
|
1824
|
-
A = c(
|
|
1824
|
+
A = c(M, w);
|
|
1825
1825
|
}
|
|
1826
|
-
if (P(A) ||
|
|
1827
|
-
let
|
|
1826
|
+
if (P(A) || Ye(A)) {
|
|
1827
|
+
let M = !1;
|
|
1828
1828
|
const d = Wn(e, w, t, A, w, () => {
|
|
1829
|
-
|
|
1829
|
+
M = !0;
|
|
1830
1830
|
});
|
|
1831
|
-
return
|
|
1831
|
+
return M ? vn : d;
|
|
1832
1832
|
} else return ve(A) ? A : vn;
|
|
1833
1833
|
}
|
|
1834
1834
|
};
|
|
1835
|
-
return e.processor && (
|
|
1835
|
+
return e.processor && (L.processor = e.processor), s.list && (L.list = s.list), s.named && (L.named = s.named), me(s.plural) && (L.pluralIndex = s.plural), L;
|
|
1836
1836
|
}
|
|
1837
1837
|
Hs();
|
|
1838
|
-
var Ka = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_e1581b67-2bc6-4be7-b429-fd6f4231526b", 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_e1581b67-2bc6-4be7-b429-fd6f4231526b", 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: "1887", ACTIONS_ORCHESTRATION_ID: "61557fc8-ff92-4b99-bfe3-968d8115f1d8.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:15205", 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: "27333280617", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "e403cbc82d38fbd1217869bbdda297ce6acc30a1", 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.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L2FwcGx5LWZpZ21hLWRlc2lnbi1jbGVhblwiLFwiUGVybWlzc2lvblwiOjN9LHtcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL21haW5cIixcIlBlcm1pc3Npb25cIjoxfV0iLCJhY3NsIjoiMTAiLCJhdWQiOiJ2c286NmY5NmZhODktYjdiZi00ODc4LWJhZDMtODk4MDA2NTY2YjZlIiwiYmlsbGluZ19vd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsImV4cCI6MTc4MTE4Nzc0MSwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaWF0IjoxNzgxMTY1NTQxLCJpc3MiOiJodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwiam9iX2lkIjoiNTc5M2U0ODctYzM0ZC01ZDEzLTlkMDItZTlkNzZiNWYzNTU3IiwibmFtZWlkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwibmJmIjoxNzgxMTY1MjQxLCJvaWRjX2V4dHJhIjoie1wiYWN0b3JcIjpcIkNhc3RhLW1lcmVcIixcImFjdG9yX2lkXCI6XCI4MjI5ODAxN1wiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCI4MDc1MDgyOTUyMVwiLFwiZXZlbnRfbmFtZVwiOlwid29ya2Zsb3dfZGlzcGF0Y2hcIixcImhlYWRfcmVmXCI6XCJcIixcImpvYl93b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9hY3Rpb25zLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtbnBtLWdpdGh1Yi55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwiam9iX3dvcmtmbG93X3NoYVwiOlwiNTg1MGMwNzlhYmVhY2JmZmFiNDU5NGJhMWE3Y2YzMTM0NjZkNzQzM1wiLFwicmVmXCI6XCJyZWZzL2hlYWRzL2ZlYXQvYXBwbHktZmlnbWEtZGVzaWduLWNsZWFuXCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjI3MzMzMjgwNjE3XCIsXCJydW5fbnVtYmVyXCI6XCIxMTJcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCJlNDAzY2JjODJkMzhmYmQxMjE3ODY5YmJkZGEyOTdjZTZhY2MzMGExXCIsXCJ3b3JrZmxvd1wiOlwiUHVibGlzaCBocm0tcG9ydGFsXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLWhybS1wb3J0YWwtdHJ1c3RlZC55bWxAcmVmcy9oZWFkcy9mZWF0L2FwcGx5LWZpZ21hLWRlc2lnbi1jbGVhblwiLFwid29ya2Zsb3dfc2hhXCI6XCJlNDAzY2JjODJkMzhmYmQxMjE3ODY5YmJkZGEyOTdjZTZhY2MzMGExXCJ9Iiwib2lkY19zdWIiOiJyZXBvOmZlZWRtZXBvcy9ocm0tc2VydmljZTpyZWY6cmVmcy9oZWFkcy9mZWF0L2FwcGx5LWZpZ21hLWRlc2lnbi1jbGVhbiIsIm9yY2hfaWQiOiI2MTU1N2ZjOC1mZjkyLTRiOTktYmZlMy05NjhkODExNWYxZDgucHVibGlzaC5wdWJsaXNoLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6IjYxNTU3ZmM4LWZmOTItNGI5OS1iZmUzLTk2OGQ4MTE1ZjFkOCIsInJlcG9zaXRvcnlfaWQiOiIxMTI0NjcyMjM1IiwicmVwb3NpdG9yeV9vd25lcl9pZCI6IjU0ODMxNTE1IiwicmVwb3NpdG9yeV92aXNpYmlsaXR5IjoicHJpdmF0ZSIsInJ1bl9pZCI6IjI3MzMzMjgwNjE3IiwicnVuX251bWJlciI6IjExMiIsInJ1bl90eXBlIjoiZnVsbCIsInJ1bm5lcl9pZCI6IjEwMDAwNzYzNTQiLCJydW5uZXJfdHlwZSI6Imhvc3RlZCIsInNjcCI6IkFjdGlvbnMuUmVzdWx0czo2MTU1N2ZjOC1mZjkyLTRiOTktYmZlMy05NjhkODExNWYxZDg6NTc5M2U0ODctYzM0ZC01ZDEzLTlkMDItZTlkNzZiNWYzNTU3IEFjdGlvbnMuUnVubmVyOjYxNTU3ZmM4LWZmOTItNGI5OS1iZmUzLTk2OGQ4MTE1ZjFkODo1NzkzZTQ4Ny1jMzRkLTVkMTMtOWQwMi1lOWQ3NmI1ZjM1NTcgQWN0aW9ucy5VcGxvYWRBcnRpZmFjdHM6NjE1NTdmYzgtZmY5Mi00Yjk5LWJmZTMtOTY4ZDgxMTVmMWQ4OjU3OTNlNDg3LWMzNGQtNWQxMy05ZDAyLWU5ZDc2YjVmMzU1NyBnZW5lcmF0ZV9pZF90b2tlbjo2MTU1N2ZjOC1mZjkyLTRiOTktYmZlMy05NjhkODExNWYxZDg6NTc5M2U0ODctYzM0ZC01ZDEzLTlkMDItZTlkNzZiNWYzNTU3IEFjdGlvbnMuR2VuZXJpY1JlYWQ6MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIiwic2hhIjoiZTQwM2NiYzgyZDM4ZmJkMTIxNzg2OWJiZGRhMjk3Y2U2YWNjMzBhMSIsInRydXN0X3RpZXIiOiIxIn0.3miWVIK2twXFc6qbJBI6ny2C-C7kYg1Pg4Wy7csiZ6xn3q2vRk7qidiKMNTFUMQiAX3b4-iiU92WSlALxgTI5j4BUk3Y21sROEq9GYogxctYqZhJRg6bZndNn8f1Afq0RrKNvr5Bb_ja-vJyDlJEW1Z6knVhe6-pzBQANmz0mLnrjrn52JlJCYKCIkS-qwORH59bJ8ZLW3QoXLh3oaHO0U00ncu7jT_Hu1o_5CxuaFhBR8ngbDNjZ0hU3azdfDdD7PEjpp2jrloXUfPvJy-E7hgmGpHWLUgb4fo-wH7uDflDpggdNR4Fkr2n9--vgu2bvp-XKV_X6G4GJWFUdOQ3Cg", 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_0704ecec-31fc-457d-8cd9-f9802db2fa0d", INVOCATION_ID: "de5a13d20c1541d6a648b6aa2e18f3e4", 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: "112", GITHUB_TRIGGERING_ACTOR: "Casta-mere", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag latest --no-git-checks", npm_package_scripts_publish_npm_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag beta --no-git-checks", npm_package_scripts_publish_github: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks", npm_package_scripts_publish_github_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks", npm_config_frozen_lockfile: "", npm_package_devDependencies__vitest_ui: "^1.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies_eslint: "^9.39.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000076354", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/apply-figma-design-clean", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "^2.14.36", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__casl_ability: "^3.4.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^4.0.0", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "1124672235", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/bin/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "2.0.20-dev.1", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_hrm_permission: "workspace:*", npm_package_devDependencies__rushstack_eslint_patch: "^1.3.3", npm_package_devDependencies_eslint_plugin_unused_imports: "^4.3.0", npm_package_devDependencies_jsdom: "^24.0.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "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: "e403cbc82d38fbd1217869bbdda297ce6acc30a1", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/feat/apply-figma-design-clean", GITHUB_ACTOR: "Casta-mere", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", npm_package_devDependencies_globals: "^16.5.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_e1581b67-2bc6-4be7-b429-fd6f4231526b", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "82298017", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-1-azure-eastus.actions.githubusercontent.com/117//idtoken/61557fc8-ff92-4b99-bfe3-968d8115f1d8/5793e487-c34d-5d13-9d02-e9d76b5f3557?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_e1581b67-2bc6-4be7-b429-fd6f4231526b", 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_e1581b67-2bc6-4be7-b429-fd6f4231526b", 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
|
|
1838
|
+
var Ka = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_8bd3503e-fb37-4ce4-83f4-7346c2bef55d", npm_package_devDependencies__types_node: "^18.17.17", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^1.2.0", USER: "runner", npm_config_always_auth: "", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v24.5.0 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", npm_package_devDependencies_vue_i18n: "10.0.5", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_8bd3503e-fb37-4ce4-83f4-7346c2bef55d", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.2.0", npm_node_execpath: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_files_0: "dist", npm_package_devDependencies_eslint_import_resolver_typescript: "^4.4.4", HOME: "/home/runner", npm_package_devDependencies__eslint_js: "^9.39.2", npm_package_devDependencies__typescript_eslint_parser: "^8.52.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_devDependencies_eslint_config_prettier: "^10.1.8", npm_config_save_workspace_protocol: "true", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.5.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "^1.29.10", npm_package_devDependencies_code_inspector_plugin: "^0.20.16", npm_package_devDependencies_npm_run_all2: "^6.0.6", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1790", ACTIONS_ORCHESTRATION_ID: "784fe2f3-276d-4f19-bf65-525a2c116009.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.10.6", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "VITE_TARGET_ENV=dev pnpm build:mf && pnpm build:dts", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.9.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.6", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260607.184.1", npm_package_scripts_dev: "vite", npm_package_devDependencies_prettier: "^3.7.4", npm_package_devDependencies_sass_embedded: "^1.93.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_devDependencies__vue_tsconfig: "^0.4.0", npm_package_devDependencies_eslint_plugin_import: "^2.32.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:15508", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^8.52.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.11/x64", GITHUB_RUN_ID: "27405566249", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "2af53daa2022a4f464689c3a969f1b6054fe1b66", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/feat/apply-figma-design-clean", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L2FwcGx5LWZpZ21hLWRlc2lnbi1jbGVhblwiLFwiUGVybWlzc2lvblwiOjN9LHtcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL21haW5cIixcIlBlcm1pc3Npb25cIjoxfV0iLCJhY3NsIjoiMTAiLCJhdWQiOiJ2c286NmY5NmZhODktYjdiZi00ODc4LWJhZDMtODk4MDA2NTY2YjZlIiwiYmlsbGluZ19vd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsImV4cCI6MTc4MTI3Njc2MiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaWF0IjoxNzgxMjU0NTYyLCJpc3MiOiJodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwiam9iX2lkIjoiNDBlMWU4MmMtODc4Yi01ODU0LTliYmItMjdkZTVjZTVkMTAwIiwibmFtZWlkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwibmJmIjoxNzgxMjU0MjYyLCJvaWRjX2V4dHJhIjoie1wiYWN0b3JcIjpcIkNhc3RhLW1lcmVcIixcImFjdG9yX2lkXCI6XCI4MjI5ODAxN1wiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCI4MDk5Mzc2MzA4N1wiLFwiZXZlbnRfbmFtZVwiOlwid29ya2Zsb3dfZGlzcGF0Y2hcIixcImhlYWRfcmVmXCI6XCJcIixcImpvYl93b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9hY3Rpb25zLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtbnBtLWdpdGh1Yi55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwiam9iX3dvcmtmbG93X3NoYVwiOlwiNTg1MGMwNzlhYmVhY2JmZmFiNDU5NGJhMWE3Y2YzMTM0NjZkNzQzM1wiLFwicmVmXCI6XCJyZWZzL2hlYWRzL2ZlYXQvYXBwbHktZmlnbWEtZGVzaWduLWNsZWFuXCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjI3NDA1NTY2MjQ5XCIsXCJydW5fbnVtYmVyXCI6XCIxMTNcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCIyYWY1M2RhYTIwMjJhNGY0NjQ2ODljM2E5NjlmMWI2MDU0ZmUxYjY2XCIsXCJ3b3JrZmxvd1wiOlwiUHVibGlzaCBocm0tcG9ydGFsXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLWhybS1wb3J0YWwtdHJ1c3RlZC55bWxAcmVmcy9oZWFkcy9mZWF0L2FwcGx5LWZpZ21hLWRlc2lnbi1jbGVhblwiLFwid29ya2Zsb3dfc2hhXCI6XCIyYWY1M2RhYTIwMjJhNGY0NjQ2ODljM2E5NjlmMWI2MDU0ZmUxYjY2XCJ9Iiwib2lkY19zdWIiOiJyZXBvOmZlZWRtZXBvcy9ocm0tc2VydmljZTpyZWY6cmVmcy9oZWFkcy9mZWF0L2FwcGx5LWZpZ21hLWRlc2lnbi1jbGVhbiIsIm9yY2hfaWQiOiI3ODRmZTJmMy0yNzZkLTRmMTktYmY2NS01MjVhMmMxMTYwMDkucHVibGlzaC5wdWJsaXNoLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6Ijc4NGZlMmYzLTI3NmQtNGYxOS1iZjY1LTUyNWEyYzExNjAwOSIsInJlcG9zaXRvcnlfaWQiOiIxMTI0NjcyMjM1IiwicmVwb3NpdG9yeV9vd25lcl9pZCI6IjU0ODMxNTE1IiwicmVwb3NpdG9yeV92aXNpYmlsaXR5IjoicHJpdmF0ZSIsInJ1bl9pZCI6IjI3NDA1NTY2MjQ5IiwicnVuX251bWJlciI6IjExMyIsInJ1bl90eXBlIjoiZnVsbCIsInJ1bm5lcl9pZCI6IjEwMDAwNzY4ODMiLCJydW5uZXJfdHlwZSI6Imhvc3RlZCIsInNjcCI6IkFjdGlvbnMuUmVzdWx0czo3ODRmZTJmMy0yNzZkLTRmMTktYmY2NS01MjVhMmMxMTYwMDk6NDBlMWU4MmMtODc4Yi01ODU0LTliYmItMjdkZTVjZTVkMTAwIEFjdGlvbnMuUnVubmVyOjc4NGZlMmYzLTI3NmQtNGYxOS1iZjY1LTUyNWEyYzExNjAwOTo0MGUxZTgyYy04NzhiLTU4NTQtOWJiYi0yN2RlNWNlNWQxMDAgQWN0aW9ucy5VcGxvYWRBcnRpZmFjdHM6Nzg0ZmUyZjMtMjc2ZC00ZjE5LWJmNjUtNTI1YTJjMTE2MDA5OjQwZTFlODJjLTg3OGItNTg1NC05YmJiLTI3ZGU1Y2U1ZDEwMCBnZW5lcmF0ZV9pZF90b2tlbjo3ODRmZTJmMy0yNzZkLTRmMTktYmY2NS01MjVhMmMxMTYwMDk6NDBlMWU4MmMtODc4Yi01ODU0LTliYmItMjdkZTVjZTVkMTAwIEFjdGlvbnMuR2VuZXJpY1JlYWQ6MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIiwic2hhIjoiMmFmNTNkYWEyMDIyYTRmNDY0Njg5YzNhOTY5ZjFiNjA1NGZlMWI2NiIsInRydXN0X3RpZXIiOiIxIn0.2p4aeWUbWOEY6jVGz7-jdXiINLtjjhUHfvXxM8ZEoPu2rrp4YFSiwZkG4PJO9sxoFUlYdOTD9U7NdPPVY0kYYTm0FXMwEQJeZMPzULA-gejtONexo_wQbD3ZyL7keAWqzi2BLd2v59Slv4rgtAsHSGmR62g1H587RXJXlpkLc0BcAr_w13xWZubxL3i9FLSALKIkRSh2uwWDOd6mhmPzXMGpzkTHn8u8sMG78ovW1xA5W8JFdzQzRpOmJulYEhEHYj412S9oJdxy04jSrR6v4yz1zSo9A-tSs56YQTb6v3b0Nzju1eKRFuQEa0Co1XzmUbUvzIRafcJvvhaO0TFffg", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.7", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/24.5.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_d0397942-2af2-4b92-9744-12c8c8cfa77d", INVOCATION_ID: "df3a90a9256c4c9ba57b5b8c38d48fb1", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", npm_package_name: "@feedmepos/mf-hrm-portal", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "113", GITHUB_TRIGGERING_ACTOR: "Casta-mere", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag latest --no-git-checks", npm_package_scripts_publish_npm_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag beta --no-git-checks", npm_package_scripts_publish_github: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks", npm_package_scripts_publish_github_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks", npm_config_frozen_lockfile: "", npm_package_devDependencies__vitest_ui: "^1.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies_eslint: "^9.39.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000076883", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/apply-figma-design-clean", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "^2.14.36", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__casl_ability: "^3.4.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^4.0.0", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "1124672235", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/bin/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "2.0.20-dev.2", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_hrm_permission: "workspace:*", npm_package_devDependencies__rushstack_eslint_patch: "^1.3.3", npm_package_devDependencies_eslint_plugin_unused_imports: "^4.3.0", npm_package_devDependencies_jsdom: "^24.0.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "2af53daa2022a4f464689c3a969f1b6054fe1b66", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/feat/apply-figma-design-clean", GITHUB_ACTOR: "Casta-mere", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", npm_package_devDependencies_globals: "^16.5.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_8bd3503e-fb37-4ce4-83f4-7346c2bef55d", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "82298017", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-2-azure-eastus.actions.githubusercontent.com/43//idtoken/784fe2f3-276d-4f19-bf65-525a2c116009/40e1e82c-878b-5854-9bbb-27de5ce5d100?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_8bd3503e-fb37-4ce4-83f4-7346c2bef55d", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.33.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_8bd3503e-fb37-4ce4-83f4-7346c2bef55d", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1839
|
+
const 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
|
-
const
|
|
1843
|
+
const Xe = {
|
|
1844
1844
|
// composer module errors
|
|
1845
1845
|
UNEXPECTED_RETURN_TYPE: pa,
|
|
1846
1846
|
// 24
|
|
@@ -1854,7 +1854,7 @@ const Ye = {
|
|
|
1854
1854
|
UNEXPECTED_ERROR: 32
|
|
1855
1855
|
};
|
|
1856
1856
|
function tt(e, ...t) {
|
|
1857
|
-
return
|
|
1857
|
+
return gt(e, null, void 0);
|
|
1858
1858
|
}
|
|
1859
1859
|
const Ut = /* @__PURE__ */ je("__translateVNode"), Vt = /* @__PURE__ */ je("__datetimeParts"), Gt = /* @__PURE__ */ je("__numberParts"), qa = je("__setPluralRules"), xn = /* @__PURE__ */ je("__injectWithOption"), Wt = /* @__PURE__ */ je("__dispose");
|
|
1860
1860
|
function nt(e) {
|
|
@@ -1891,7 +1891,7 @@ function Zn(e, t) {
|
|
|
1891
1891
|
Ne(c, u) && nt(c[u]);
|
|
1892
1892
|
return c;
|
|
1893
1893
|
}
|
|
1894
|
-
function
|
|
1894
|
+
function Yn(e) {
|
|
1895
1895
|
return e.type;
|
|
1896
1896
|
}
|
|
1897
1897
|
function er(e, t, n) {
|
|
@@ -1919,8 +1919,8 @@ function er(e, t, n) {
|
|
|
1919
1919
|
}
|
|
1920
1920
|
}
|
|
1921
1921
|
}
|
|
1922
|
-
function
|
|
1923
|
-
return _e(
|
|
1922
|
+
function En(e) {
|
|
1923
|
+
return _e(zn, null, e, 0);
|
|
1924
1924
|
}
|
|
1925
1925
|
const Nn = "__INTLIFY_META__", yn = () => [], tr = () => !1;
|
|
1926
1926
|
let Tn = 0;
|
|
@@ -1930,7 +1930,7 @@ function kn(e) {
|
|
|
1930
1930
|
const nr = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
1931
1931
|
const e = xt();
|
|
1932
1932
|
let t = null;
|
|
1933
|
-
return e && (t =
|
|
1933
|
+
return e && (t = Yn(e)[Nn]) ? { [Nn]: t } : null;
|
|
1934
1934
|
};
|
|
1935
1935
|
function sr(e = {}) {
|
|
1936
1936
|
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = qt ? bt : Kn;
|
|
@@ -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) || J(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : u.value
|
|
1944
|
-
), p = a(Zn(u.value, e)), y = a(J(e.datetimeFormats) ? e.datetimeFormats : { [u.value]: {} }),
|
|
1945
|
-
let
|
|
1946
|
-
const
|
|
1947
|
-
let S = e.pluralRules || t && t.pluralRules,
|
|
1948
|
-
|
|
1944
|
+
), p = a(Zn(u.value, e)), y = a(J(e.datetimeFormats) ? e.datetimeFormats : { [u.value]: {} }), O = a(J(e.numberFormats) ? e.numberFormats : { [u.value]: {} });
|
|
1945
|
+
let L = t ? t.missingWarn : ie(e.missingWarn) || _t(e.missingWarn) ? e.missingWarn : !0, w = t ? t.fallbackWarn : ie(e.fallbackWarn) || _t(e.fallbackWarn) ? e.fallbackWarn : !0, V = t ? t.fallbackRoot : ie(e.fallbackRoot) ? e.fallbackRoot : !0, A = !!e.fallbackFormat, M = 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
|
+
const D = t ? t.modifiers : J(e.modifiers) ? e.modifiers : {};
|
|
1947
|
+
let S = e.pluralRules || t && t.pluralRules, I;
|
|
1948
|
+
I = (() => {
|
|
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
|
-
modifiers:
|
|
1955
|
+
modifiers: D,
|
|
1956
1956
|
pluralRules: S,
|
|
1957
1957
|
missing: i === null ? void 0 : i,
|
|
1958
|
-
missingWarn:
|
|
1958
|
+
missingWarn: L,
|
|
1959
1959
|
fallbackWarn: w,
|
|
1960
1960
|
fallbackFormat: A,
|
|
1961
1961
|
unresolving: !0,
|
|
@@ -1966,94 +1966,94 @@ 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 = O.value, f.__datetimeFormatters = J(I) ? I.__datetimeFormatters : void 0, f.__numberFormatters = J(I) ? I.__numberFormatters : void 0;
|
|
1970
1970
|
const k = Pa(f);
|
|
1971
1971
|
return s && dn(k), k;
|
|
1972
|
-
})(),
|
|
1973
|
-
function
|
|
1972
|
+
})(), Qe(I, u.value, m.value);
|
|
1973
|
+
function g() {
|
|
1974
1974
|
return [
|
|
1975
1975
|
u.value,
|
|
1976
1976
|
m.value,
|
|
1977
1977
|
p.value,
|
|
1978
1978
|
y.value,
|
|
1979
|
-
|
|
1979
|
+
O.value
|
|
1980
1980
|
];
|
|
1981
1981
|
}
|
|
1982
|
-
const
|
|
1982
|
+
const h = q({
|
|
1983
1983
|
get: () => u.value,
|
|
1984
1984
|
set: (f) => {
|
|
1985
|
-
u.value = f,
|
|
1985
|
+
u.value = f, I.locale = u.value;
|
|
1986
1986
|
}
|
|
1987
|
-
}),
|
|
1987
|
+
}), R = q({
|
|
1988
1988
|
get: () => m.value,
|
|
1989
1989
|
set: (f) => {
|
|
1990
|
-
m.value = f,
|
|
1990
|
+
m.value = f, I.fallbackLocale = m.value, Qe(I, u.value, f);
|
|
1991
1991
|
}
|
|
1992
|
-
}),
|
|
1992
|
+
}), E = q(() => p.value), F = /* @__PURE__ */ q(() => y.value), x = /* @__PURE__ */ q(() => O.value);
|
|
1993
1993
|
function N() {
|
|
1994
1994
|
return se(d) ? d : null;
|
|
1995
1995
|
}
|
|
1996
|
-
function
|
|
1997
|
-
d = f,
|
|
1996
|
+
function C(f) {
|
|
1997
|
+
d = f, I.postTranslation = f;
|
|
1998
1998
|
}
|
|
1999
1999
|
function v() {
|
|
2000
|
-
return
|
|
2000
|
+
return M;
|
|
2001
2001
|
}
|
|
2002
2002
|
function W(f) {
|
|
2003
|
-
f !== null && (i = kn(f)),
|
|
2003
|
+
f !== null && (i = kn(f)), M = f, I.missing = i;
|
|
2004
2004
|
}
|
|
2005
|
-
const G = (f, k, ne,
|
|
2006
|
-
|
|
2005
|
+
const G = (f, k, ne, le, Pe, st) => {
|
|
2006
|
+
g();
|
|
2007
2007
|
let Ge;
|
|
2008
2008
|
try {
|
|
2009
|
-
Ka.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (
|
|
2009
|
+
Ka.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (I.fallbackContext = t ? wa() : void 0), Ge = f(I);
|
|
2010
2010
|
} finally {
|
|
2011
|
-
__INTLIFY_PROD_DEVTOOLS__, s || (
|
|
2011
|
+
__INTLIFY_PROD_DEVTOOLS__, s || (I.fallbackContext = void 0);
|
|
2012
2012
|
}
|
|
2013
2013
|
if (ne !== "translate exists" && // for not `te` (e.g `t`)
|
|
2014
2014
|
me(Ge) && Ge === vt || ne === "translate exists" && !Ge) {
|
|
2015
2015
|
const [$n, Wr] = k();
|
|
2016
|
-
return t && V ?
|
|
2016
|
+
return t && V ? le(t) : Pe($n);
|
|
2017
2017
|
} else {
|
|
2018
2018
|
if (st(Ge))
|
|
2019
2019
|
return Ge;
|
|
2020
|
-
throw tt(
|
|
2020
|
+
throw tt(Xe.UNEXPECTED_RETURN_TYPE);
|
|
2021
2021
|
}
|
|
2022
2022
|
};
|
|
2023
2023
|
function j(...f) {
|
|
2024
|
-
return G((k) => Reflect.apply(
|
|
2024
|
+
return G((k) => Reflect.apply(In, 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
|
-
const [k, ne,
|
|
2028
|
-
if (
|
|
2029
|
-
throw tt(
|
|
2030
|
-
return j(k, ne, de({ resolvedMessage: !0 },
|
|
2027
|
+
const [k, ne, le] = f;
|
|
2028
|
+
if (le && !K(le))
|
|
2029
|
+
throw tt(Xe.INVALID_ARGUMENT);
|
|
2030
|
+
return j(k, ne, de({ resolvedMessage: !0 }, le || {}));
|
|
2031
2031
|
}
|
|
2032
|
-
function
|
|
2032
|
+
function H(...f) {
|
|
2033
2033
|
return G((k) => Reflect.apply(_n, null, [k, ...f]), () => Pt(...f), "datetime format", (k) => Reflect.apply(k.d, k, [...f]), () => un, (k) => P(k));
|
|
2034
2034
|
}
|
|
2035
|
-
function
|
|
2035
|
+
function he(...f) {
|
|
2036
2036
|
return G((k) => Reflect.apply(bn, null, [k, ...f]), () => Ft(...f), "number format", (k) => Reflect.apply(k.n, k, [...f]), () => un, (k) => P(k));
|
|
2037
2037
|
}
|
|
2038
2038
|
function fe(f) {
|
|
2039
|
-
return f.map((k) => P(k) || me(k) || ie(k) ?
|
|
2039
|
+
return f.map((k) => P(k) || me(k) || ie(k) ? En(String(k)) : k);
|
|
2040
2040
|
}
|
|
2041
2041
|
const Z = {
|
|
2042
2042
|
normalize: fe,
|
|
2043
2043
|
interpolate: (f) => f,
|
|
2044
2044
|
type: "vnode"
|
|
2045
2045
|
};
|
|
2046
|
-
function
|
|
2046
|
+
function Ie(...f) {
|
|
2047
2047
|
return G((k) => {
|
|
2048
2048
|
let ne;
|
|
2049
|
-
const
|
|
2049
|
+
const le = k;
|
|
2050
2050
|
try {
|
|
2051
|
-
|
|
2051
|
+
le.processor = Z, ne = Reflect.apply(In, null, [le, ...f]);
|
|
2052
2052
|
} finally {
|
|
2053
|
-
|
|
2053
|
+
le.processor = null;
|
|
2054
2054
|
}
|
|
2055
2055
|
return ne;
|
|
2056
|
-
}, () => jt(...f), "translate", (k) => k[Ut](...f), (k) => [
|
|
2056
|
+
}, () => jt(...f), "translate", (k) => k[Ut](...f), (k) => [En(k)], (k) => ce(k));
|
|
2057
2057
|
}
|
|
2058
2058
|
function Be(...f) {
|
|
2059
2059
|
return G((k) => Reflect.apply(bn, null, [k, ...f]), () => Ft(...f), "number format", (k) => k[Gt](...f), yn, (k) => P(k) || ce(k));
|
|
@@ -2061,22 +2061,22 @@ function sr(e = {}) {
|
|
|
2061
2061
|
function $e(...f) {
|
|
2062
2062
|
return G((k) => Reflect.apply(_n, null, [k, ...f]), () => Pt(...f), "datetime format", (k) => k[Vt](...f), yn, (k) => P(k) || ce(k));
|
|
2063
2063
|
}
|
|
2064
|
-
function
|
|
2065
|
-
S = f,
|
|
2064
|
+
function Et(f) {
|
|
2065
|
+
S = f, I.pluralRules = S;
|
|
2066
2066
|
}
|
|
2067
2067
|
function Nt(f, k) {
|
|
2068
2068
|
return G(() => {
|
|
2069
2069
|
if (!f)
|
|
2070
2070
|
return !1;
|
|
2071
|
-
const ne = P(k) ? k : u.value,
|
|
2072
|
-
return
|
|
2071
|
+
const ne = P(k) ? k : u.value, le = Ue(ne), Pe = I.messageResolver(le, f);
|
|
2072
|
+
return Ye(Pe) || ve(Pe) || P(Pe);
|
|
2073
2073
|
}, () => [f], "translate exists", (ne) => Reflect.apply(ne.te, ne, [f, k]), tr, (ne) => ie(ne));
|
|
2074
2074
|
}
|
|
2075
2075
|
function yt(f) {
|
|
2076
2076
|
let k = null;
|
|
2077
|
-
const ne =
|
|
2078
|
-
for (let
|
|
2079
|
-
const Pe = p.value[ne[
|
|
2077
|
+
const ne = Mn(I, m.value, u.value);
|
|
2078
|
+
for (let le = 0; le < ne.length; le++) {
|
|
2079
|
+
const Pe = p.value[ne[le]] || {}, st = I.messageResolver(Pe, f);
|
|
2080
2080
|
if (st != null) {
|
|
2081
2081
|
k = st;
|
|
2082
2082
|
break;
|
|
@@ -2094,59 +2094,59 @@ function sr(e = {}) {
|
|
|
2094
2094
|
function Ve(f, k) {
|
|
2095
2095
|
if (l) {
|
|
2096
2096
|
const ne = { [f]: k };
|
|
2097
|
-
for (const
|
|
2098
|
-
Ne(ne,
|
|
2097
|
+
for (const le in ne)
|
|
2098
|
+
Ne(ne, le) && nt(ne[le]);
|
|
2099
2099
|
k = ne[f];
|
|
2100
2100
|
}
|
|
2101
|
-
p.value[f] = k,
|
|
2101
|
+
p.value[f] = k, I.messages = p.value;
|
|
2102
2102
|
}
|
|
2103
2103
|
function Ke(f, k) {
|
|
2104
2104
|
p.value[f] = p.value[f] || {};
|
|
2105
2105
|
const ne = { [f]: k };
|
|
2106
2106
|
if (l)
|
|
2107
|
-
for (const
|
|
2108
|
-
Ne(ne,
|
|
2109
|
-
k = ne[f], ft(k, p.value[f]),
|
|
2107
|
+
for (const le in ne)
|
|
2108
|
+
Ne(ne, le) && nt(ne[le]);
|
|
2109
|
+
k = ne[f], ft(k, p.value[f]), I.messages = p.value;
|
|
2110
2110
|
}
|
|
2111
2111
|
function Tt(f) {
|
|
2112
2112
|
return y.value[f] || {};
|
|
2113
2113
|
}
|
|
2114
2114
|
function r(f, k) {
|
|
2115
|
-
y.value[f] = k,
|
|
2115
|
+
y.value[f] = k, I.datetimeFormats = y.value, pn(I, f, k);
|
|
2116
2116
|
}
|
|
2117
2117
|
function o(f, k) {
|
|
2118
|
-
y.value[f] = de(y.value[f] || {}, k),
|
|
2118
|
+
y.value[f] = de(y.value[f] || {}, k), I.datetimeFormats = y.value, pn(I, f, k);
|
|
2119
2119
|
}
|
|
2120
2120
|
function b(f) {
|
|
2121
|
-
return
|
|
2121
|
+
return O.value[f] || {};
|
|
2122
2122
|
}
|
|
2123
2123
|
function U(f, k) {
|
|
2124
|
-
|
|
2124
|
+
O.value[f] = k, I.numberFormats = O.value, hn(I, f, k);
|
|
2125
2125
|
}
|
|
2126
|
-
function
|
|
2127
|
-
|
|
2126
|
+
function re(f, k) {
|
|
2127
|
+
O.value[f] = de(O.value[f] || {}, k), I.numberFormats = O.value, hn(I, f, k);
|
|
2128
2128
|
}
|
|
2129
2129
|
Tn++, t && qt && (St(t.locale, (f) => {
|
|
2130
|
-
c && (u.value = f,
|
|
2130
|
+
c && (u.value = f, I.locale = f, Qe(I, u.value, m.value));
|
|
2131
2131
|
}), St(t.fallbackLocale, (f) => {
|
|
2132
|
-
c && (m.value = f,
|
|
2132
|
+
c && (m.value = f, I.fallbackLocale = f, Qe(I, u.value, m.value));
|
|
2133
2133
|
}));
|
|
2134
|
-
const
|
|
2134
|
+
const Y = {
|
|
2135
2135
|
id: Tn,
|
|
2136
|
-
locale:
|
|
2137
|
-
fallbackLocale:
|
|
2136
|
+
locale: h,
|
|
2137
|
+
fallbackLocale: R,
|
|
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(I, u.value, m.value));
|
|
2143
2143
|
},
|
|
2144
2144
|
get availableLocales() {
|
|
2145
2145
|
return Object.keys(p.value).sort();
|
|
2146
2146
|
},
|
|
2147
|
-
messages:
|
|
2147
|
+
messages: E,
|
|
2148
2148
|
get modifiers() {
|
|
2149
|
-
return
|
|
2149
|
+
return D;
|
|
2150
2150
|
},
|
|
2151
2151
|
get pluralRules() {
|
|
2152
2152
|
return S || {};
|
|
@@ -2155,16 +2155,16 @@ function sr(e = {}) {
|
|
|
2155
2155
|
return s;
|
|
2156
2156
|
},
|
|
2157
2157
|
get missingWarn() {
|
|
2158
|
-
return
|
|
2158
|
+
return L;
|
|
2159
2159
|
},
|
|
2160
2160
|
set missingWarn(f) {
|
|
2161
|
-
|
|
2161
|
+
L = f, I.missingWarn = L;
|
|
2162
2162
|
},
|
|
2163
2163
|
get fallbackWarn() {
|
|
2164
2164
|
return w;
|
|
2165
2165
|
},
|
|
2166
2166
|
set fallbackWarn(f) {
|
|
2167
|
-
w = f,
|
|
2167
|
+
w = f, I.fallbackWarn = w;
|
|
2168
2168
|
},
|
|
2169
2169
|
get fallbackRoot() {
|
|
2170
2170
|
return V;
|
|
@@ -2176,31 +2176,31 @@ function sr(e = {}) {
|
|
|
2176
2176
|
return A;
|
|
2177
2177
|
},
|
|
2178
2178
|
set fallbackFormat(f) {
|
|
2179
|
-
A = f,
|
|
2179
|
+
A = f, I.fallbackFormat = A;
|
|
2180
2180
|
},
|
|
2181
2181
|
get warnHtmlMessage() {
|
|
2182
2182
|
return T;
|
|
2183
2183
|
},
|
|
2184
2184
|
set warnHtmlMessage(f) {
|
|
2185
|
-
T = f,
|
|
2185
|
+
T = f, I.warnHtmlMessage = f;
|
|
2186
2186
|
},
|
|
2187
2187
|
get escapeParameter() {
|
|
2188
2188
|
return _;
|
|
2189
2189
|
},
|
|
2190
2190
|
set escapeParameter(f) {
|
|
2191
|
-
_ = f,
|
|
2191
|
+
_ = f, I.escapeParameter = f;
|
|
2192
2192
|
},
|
|
2193
2193
|
t: j,
|
|
2194
2194
|
getLocaleMessage: Ue,
|
|
2195
2195
|
setLocaleMessage: Ve,
|
|
2196
2196
|
mergeLocaleMessage: Ke,
|
|
2197
2197
|
getPostTranslationHandler: N,
|
|
2198
|
-
setPostTranslationHandler:
|
|
2198
|
+
setPostTranslationHandler: C,
|
|
2199
2199
|
getMissingHandler: v,
|
|
2200
2200
|
setMissingHandler: W,
|
|
2201
|
-
[qa]:
|
|
2201
|
+
[qa]: Et
|
|
2202
2202
|
};
|
|
2203
|
-
return
|
|
2203
|
+
return Y.datetimeFormats = F, Y.numberFormats = x, Y.rt = te, Y.te = Nt, Y.tm = Je, Y.d = H, Y.n = he, Y.getDateTimeFormat = Tt, Y.setDateTimeFormat = r, Y.mergeDateTimeFormat = o, Y.getNumberFormat = b, Y.setNumberFormat = U, Y.mergeNumberFormat = re, Y[xn] = n, Y[Ut] = Ie, Y[Vt] = $e, Y[Gt] = Be, Y;
|
|
2204
2204
|
}
|
|
2205
2205
|
const Kt = {
|
|
2206
2206
|
tag: {
|
|
@@ -2230,7 +2230,7 @@ function ar({ slots: e }, t) {
|
|
|
2230
2230
|
return l && (n[s] = l()), n;
|
|
2231
2231
|
}, ee());
|
|
2232
2232
|
}
|
|
2233
|
-
function
|
|
2233
|
+
function Xn() {
|
|
2234
2234
|
return Te;
|
|
2235
2235
|
}
|
|
2236
2236
|
de({
|
|
@@ -2251,15 +2251,15 @@ function Hn(e, t, n, s) {
|
|
|
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 : K(e.format) && (P(e.format.key) && (c.key = e.format.key), u = Object.keys(e.format).reduce((
|
|
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((L, w) => n.includes(w) ? de(ee(), L, { [w]: e.format[w] }) : L, 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((L, w) => {
|
|
2258
|
+
const V = l[L.type], A = V ? V({ [L.type]: L.value, index: w, parts: m }) : [L.value];
|
|
2259
|
+
return rr(A) && (A[0].key = `${L.type}-${w}`), A;
|
|
2260
2260
|
}) : P(m) && (p = [m]);
|
|
2261
|
-
const y = de(ee(), a),
|
|
2262
|
-
return An(
|
|
2261
|
+
const y = de(ee(), a), O = P(e.tag) || K(e.tag) ? e.tag : Xn();
|
|
2262
|
+
return An(O, y, p);
|
|
2263
2263
|
};
|
|
2264
2264
|
}
|
|
2265
2265
|
de({
|
|
@@ -2281,13 +2281,13 @@ de({
|
|
|
2281
2281
|
}
|
|
2282
2282
|
}, Kt);
|
|
2283
2283
|
const lr = /* @__PURE__ */ je("global-vue-i18n");
|
|
2284
|
-
function
|
|
2284
|
+
function It(e = {}) {
|
|
2285
2285
|
const t = xt();
|
|
2286
2286
|
if (t == null)
|
|
2287
|
-
throw tt(
|
|
2287
|
+
throw tt(Xe.MUST_BE_CALL_SETUP_TOP);
|
|
2288
2288
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
2289
|
-
throw tt(
|
|
2290
|
-
const n = or(t), s = cr(n), l =
|
|
2289
|
+
throw tt(Xe.NOT_INSTALLED);
|
|
2290
|
+
const n = or(t), s = cr(n), l = Yn(t), a = ir(e, l);
|
|
2291
2291
|
if (a === "global")
|
|
2292
2292
|
return er(s, e, l), s;
|
|
2293
2293
|
if (a === "parent") {
|
|
@@ -2305,11 +2305,11 @@ function Et(e = {}) {
|
|
|
2305
2305
|
function or(e) {
|
|
2306
2306
|
const t = Jn(e.isCE ? lr : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
2307
2307
|
if (!t)
|
|
2308
|
-
throw tt(e.isCE ?
|
|
2308
|
+
throw tt(e.isCE ? Xe.NOT_INSTALLED_WITH_PROVIDE : Xe.UNEXPECTED_ERROR);
|
|
2309
2309
|
return t;
|
|
2310
2310
|
}
|
|
2311
2311
|
function ir(e, t) {
|
|
2312
|
-
return
|
|
2312
|
+
return ht(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
|
|
2313
2313
|
}
|
|
2314
2314
|
function cr(e) {
|
|
2315
2315
|
return e.mode === "composition" ? e.global : e.global.__composer;
|
|
@@ -2336,23 +2336,23 @@ function mr(e, t = !1) {
|
|
|
2336
2336
|
return e == null ? null : t && e.vnode.ctx || e.parent;
|
|
2337
2337
|
}
|
|
2338
2338
|
function dr(e, t, n) {
|
|
2339
|
-
|
|
2340
|
-
}, t),
|
|
2339
|
+
Cn(() => {
|
|
2340
|
+
}, t), Qn(() => {
|
|
2341
2341
|
const s = n;
|
|
2342
2342
|
e.__deleteInstance(t);
|
|
2343
2343
|
const l = s[Wt];
|
|
2344
2344
|
l && (l(), delete s[Wt]);
|
|
2345
2345
|
}, t);
|
|
2346
2346
|
}
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
Aa(
|
|
2350
|
-
Sa(
|
|
2347
|
+
za();
|
|
2348
|
+
Ca(ua);
|
|
2349
|
+
Aa(La);
|
|
2350
|
+
Sa(Mn);
|
|
2351
2351
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
2352
2352
|
const e = Fe();
|
|
2353
2353
|
e.__INTLIFY__ = !0, ma(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
2354
2354
|
}
|
|
2355
|
-
const it = /* @__PURE__ */
|
|
2355
|
+
const it = /* @__PURE__ */ Le({
|
|
2356
2356
|
__name: "InheritPermissionTooltip",
|
|
2357
2357
|
props: {
|
|
2358
2358
|
item: {
|
|
@@ -2361,18 +2361,18 @@ const it = /* @__PURE__ */ Oe({
|
|
|
2361
2361
|
}
|
|
2362
2362
|
},
|
|
2363
2363
|
setup(e) {
|
|
2364
|
-
const { t } =
|
|
2364
|
+
const { t } = It();
|
|
2365
2365
|
return (n, s) => {
|
|
2366
|
-
const l =
|
|
2367
|
-
return
|
|
2366
|
+
const l = ze("FmIcon"), a = ze("FmTooltip");
|
|
2367
|
+
return z(), Me(a, {
|
|
2368
2368
|
variant: "plain",
|
|
2369
2369
|
placement: "right",
|
|
2370
2370
|
"z-index": 50
|
|
2371
2371
|
}, {
|
|
2372
2372
|
content: pe(() => [
|
|
2373
|
-
|
|
2374
|
-
(
|
|
2375
|
-
|
|
2373
|
+
ae("div", null, Ee($(t)("team.memberForm.permissions.inherited")), 1),
|
|
2374
|
+
(z(!0), oe(Te, null, ge(e.item.setNames, (c) => (z(), oe("div", { key: c }, [
|
|
2375
|
+
ae("div", null, "- " + Ee(c), 1)
|
|
2376
2376
|
]))), 128))
|
|
2377
2377
|
]),
|
|
2378
2378
|
default: pe(() => [
|
|
@@ -2387,7 +2387,7 @@ const it = /* @__PURE__ */ Oe({
|
|
|
2387
2387
|
};
|
|
2388
2388
|
}
|
|
2389
2389
|
});
|
|
2390
|
-
function
|
|
2390
|
+
function Ln(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,47 +2401,47 @@ function On(e, t, n) {
|
|
|
2401
2401
|
actions: Array.from(a)
|
|
2402
2402
|
});
|
|
2403
2403
|
}
|
|
2404
|
-
const
|
|
2404
|
+
const On = 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
2410
|
const { t: l } = He(), { getFlagValue: a, getFlag: c } = os(), u = q(() => {
|
|
2411
|
-
var
|
|
2412
|
-
const
|
|
2411
|
+
var E;
|
|
2412
|
+
const g = /* @__PURE__ */ new Map(), h = /* @__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 && ((
|
|
2415
|
+
x && (n.value.includes(F.subject) || F.showByFeatureFlag && ((E = c(F.showByFeatureFlag)) == null ? void 0 : E.enabled) === !1 && a(F.showByFeatureFlag) === "true" || (g.has(x) || g.set(x, []), g.get(x).push({
|
|
2416
2416
|
label: l(`permissionSet.permissionLabels.${F.subject}`, F.label),
|
|
2417
2417
|
value: F.subject
|
|
2418
|
-
}),
|
|
2418
|
+
}), h.set(F.subject, F)));
|
|
2419
2419
|
}
|
|
2420
|
-
return [...
|
|
2421
|
-
const N =
|
|
2422
|
-
return N === -1 &&
|
|
2420
|
+
return [...g.keys()].sort((F, x) => {
|
|
2421
|
+
const N = On.indexOf(F), C = On.indexOf(x);
|
|
2422
|
+
return N === -1 && C === -1 ? F.localeCompare(x) : N === -1 ? 1 : C === -1 ? -1 : N - C;
|
|
2423
2423
|
}).map((F) => {
|
|
2424
|
-
const x =
|
|
2425
|
-
for (const
|
|
2426
|
-
const Z =
|
|
2427
|
-
Z &&
|
|
2424
|
+
const x = g.get(F), N = l(`permissionSet.categoryLabels.${F}`, F), C = /* @__PURE__ */ new Map();
|
|
2425
|
+
for (const B of x) {
|
|
2426
|
+
const Z = h.get(B.value);
|
|
2427
|
+
Z && C.set(B.value, Z.actions);
|
|
2428
2428
|
}
|
|
2429
|
-
const v = x.some((
|
|
2430
|
-
const Z =
|
|
2429
|
+
const v = x.some((B) => {
|
|
2430
|
+
const Z = C.get(B.value);
|
|
2431
2431
|
return Z && Z.length > 1;
|
|
2432
2432
|
}), W = v ? [
|
|
2433
2433
|
...new Set(
|
|
2434
|
-
x.flatMap((
|
|
2434
|
+
x.flatMap((B) => C.get(B.value) ?? []).filter((B) => B !== "manage")
|
|
2435
2435
|
)
|
|
2436
2436
|
] : [], G = /* @__PURE__ */ new Map();
|
|
2437
|
-
for (const
|
|
2438
|
-
x.some((Z) => Z.value ===
|
|
2437
|
+
for (const B of e.value)
|
|
2438
|
+
x.some((Z) => Z.value === B.subject) && !B.inverted && G.set(B.subject, new Set(B.actions));
|
|
2439
2439
|
const j = v ? e.value.filter(
|
|
2440
|
-
(
|
|
2441
|
-
).map((
|
|
2440
|
+
(B) => x.some((Z) => Z.value === B.subject) && !B.inverted && B.actions.includes("manage")
|
|
2441
|
+
).map((B) => B.subject) : e.value.filter((B) => x.some((Z) => Z.value === B.subject) && !B.inverted).map((B) => B.subject), te = x.find((B) => {
|
|
2442
2442
|
var Z;
|
|
2443
|
-
return (Z =
|
|
2444
|
-
}),
|
|
2443
|
+
return (Z = h.get(B.value)) == null ? void 0 : Z.isCategoryCover;
|
|
2444
|
+
}), H = (te == null ? void 0 : te.value) ?? null, he = H ? G.get(H) ?? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set(), fe = he.has("manage");
|
|
2445
2445
|
return {
|
|
2446
2446
|
category: F,
|
|
2447
2447
|
label: N,
|
|
@@ -2449,151 +2449,151 @@ function _r(e, t, n, s) {
|
|
|
2449
2449
|
selectedSubjects: j,
|
|
2450
2450
|
isMultiAction: v,
|
|
2451
2451
|
actionColumns: W,
|
|
2452
|
-
permissionActionsMap:
|
|
2452
|
+
permissionActionsMap: C,
|
|
2453
2453
|
selectedActionsMap: G,
|
|
2454
|
-
coverSubject:
|
|
2455
|
-
coverSelectedActions:
|
|
2454
|
+
coverSubject: H,
|
|
2455
|
+
coverSelectedActions: he,
|
|
2456
2456
|
coverCoversAll: fe
|
|
2457
2457
|
};
|
|
2458
2458
|
});
|
|
2459
2459
|
});
|
|
2460
|
-
function m(
|
|
2461
|
-
var
|
|
2462
|
-
const
|
|
2460
|
+
function m(g, h) {
|
|
2461
|
+
var E;
|
|
2462
|
+
const R = ((E = u.value.find((F) => F.category === g)) == null ? void 0 : E.options) ?? [];
|
|
2463
2463
|
s("update:model-value", [
|
|
2464
|
-
...e.value.filter((F) => !
|
|
2465
|
-
...t.value.filter((F) =>
|
|
2466
|
-
({ category: F, showByFeatureFlag: x, isCategoryCover: N, ...
|
|
2464
|
+
...e.value.filter((F) => !R.some((x) => x.value === F.subject)),
|
|
2465
|
+
...t.value.filter((F) => h.includes(F.subject)).map(
|
|
2466
|
+
({ category: F, showByFeatureFlag: x, isCategoryCover: N, ...C }) => C
|
|
2467
2467
|
)
|
|
2468
2468
|
]);
|
|
2469
2469
|
}
|
|
2470
|
-
function p(
|
|
2471
|
-
return
|
|
2470
|
+
function p(g) {
|
|
2471
|
+
return g.options.length > 0 && g.options.every((h) => g.selectedSubjects.includes(h.value));
|
|
2472
2472
|
}
|
|
2473
|
-
function y(
|
|
2474
|
-
if (
|
|
2475
|
-
const
|
|
2476
|
-
(
|
|
2473
|
+
function y(g) {
|
|
2474
|
+
if (g.options.length === 0) return !1;
|
|
2475
|
+
const h = g.options.filter(
|
|
2476
|
+
(R) => g.selectedSubjects.includes(R.value)
|
|
2477
2477
|
).length;
|
|
2478
|
-
return
|
|
2478
|
+
return h > 0 && h < g.options.length;
|
|
2479
2479
|
}
|
|
2480
|
-
function
|
|
2481
|
-
const
|
|
2482
|
-
(
|
|
2480
|
+
function O(g) {
|
|
2481
|
+
const h = e.value.filter(
|
|
2482
|
+
(R) => !g.options.some((E) => E.value === R.subject)
|
|
2483
2483
|
);
|
|
2484
|
-
if (p(
|
|
2485
|
-
s("update:model-value",
|
|
2484
|
+
if (p(g))
|
|
2485
|
+
s("update:model-value", h);
|
|
2486
2486
|
else {
|
|
2487
|
-
const
|
|
2488
|
-
({ category:
|
|
2487
|
+
const R = t.value.filter((E) => g.options.some((F) => F.value === E.subject)).map(
|
|
2488
|
+
({ category: E, showByFeatureFlag: F, isCategoryCover: x, ...N }) => N
|
|
2489
2489
|
);
|
|
2490
|
-
s("update:model-value", [...
|
|
2490
|
+
s("update:model-value", [...h, ...R]);
|
|
2491
2491
|
}
|
|
2492
2492
|
}
|
|
2493
|
-
function
|
|
2494
|
-
const
|
|
2495
|
-
return
|
|
2493
|
+
function L(g, h) {
|
|
2494
|
+
const R = g.selectedActionsMap.get(h);
|
|
2495
|
+
return R ? R.has("manage") : !1;
|
|
2496
2496
|
}
|
|
2497
|
-
function w(
|
|
2498
|
-
const
|
|
2499
|
-
if (!
|
|
2500
|
-
const
|
|
2501
|
-
if (
|
|
2502
|
-
const F =
|
|
2497
|
+
function w(g, h) {
|
|
2498
|
+
const R = g.permissionActionsMap.get(h);
|
|
2499
|
+
if (!R) return !1;
|
|
2500
|
+
const E = R.filter((N) => N !== "manage");
|
|
2501
|
+
if (E.length === 0) return !1;
|
|
2502
|
+
const F = g.selectedActionsMap.get(h);
|
|
2503
2503
|
if (!F) return !1;
|
|
2504
|
-
const x =
|
|
2505
|
-
return x.length > 0 && x.length <
|
|
2504
|
+
const x = E.filter((N) => F.has(N));
|
|
2505
|
+
return x.length > 0 && x.length < E.length;
|
|
2506
2506
|
}
|
|
2507
|
-
function V(
|
|
2508
|
-
if (
|
|
2509
|
-
const
|
|
2510
|
-
if (!
|
|
2507
|
+
function V(g, h, R) {
|
|
2508
|
+
if (R) {
|
|
2509
|
+
const E = t.value.find((W) => W.subject === h);
|
|
2510
|
+
if (!E) return;
|
|
2511
2511
|
const {
|
|
2512
2512
|
category: F,
|
|
2513
2513
|
showByFeatureFlag: x,
|
|
2514
2514
|
isCategoryCover: N,
|
|
2515
|
-
...
|
|
2516
|
-
} =
|
|
2517
|
-
v.push(
|
|
2515
|
+
...C
|
|
2516
|
+
} = E, v = e.value.filter((W) => W.subject !== h);
|
|
2517
|
+
v.push(C), s("update:model-value", v);
|
|
2518
2518
|
} else
|
|
2519
2519
|
s(
|
|
2520
2520
|
"update:model-value",
|
|
2521
|
-
e.value.filter((
|
|
2521
|
+
e.value.filter((E) => E.subject !== h)
|
|
2522
2522
|
);
|
|
2523
2523
|
}
|
|
2524
|
-
function A(
|
|
2525
|
-
const
|
|
2526
|
-
return
|
|
2524
|
+
function A(g, h) {
|
|
2525
|
+
const R = g.permissionActionsMap.get(h);
|
|
2526
|
+
return R ? R.some((E) => E !== "manage") : !1;
|
|
2527
2527
|
}
|
|
2528
|
-
function
|
|
2529
|
-
const
|
|
2530
|
-
return
|
|
2528
|
+
function M(g, h, R) {
|
|
2529
|
+
const E = g.selectedActionsMap.get(h);
|
|
2530
|
+
return E ? E.has(R) : !1;
|
|
2531
2531
|
}
|
|
2532
|
-
function i(
|
|
2533
|
-
return !
|
|
2532
|
+
function i(g, h) {
|
|
2533
|
+
return !g.coverSubject || h === g.coverSubject ? !1 : g.coverCoversAll;
|
|
2534
2534
|
}
|
|
2535
|
-
function d(
|
|
2536
|
-
return !
|
|
2535
|
+
function d(g, h, R) {
|
|
2536
|
+
return !g.coverSubject || h === g.coverSubject ? !1 : g.coverCoversAll ? !0 : g.coverSelectedActions.has(R);
|
|
2537
2537
|
}
|
|
2538
|
-
function T(
|
|
2539
|
-
const
|
|
2540
|
-
return
|
|
2538
|
+
function T(g, h, R) {
|
|
2539
|
+
const E = g.permissionActionsMap.get(h);
|
|
2540
|
+
return E ? E.includes(R) : !1;
|
|
2541
2541
|
}
|
|
2542
|
-
function _(
|
|
2543
|
-
const
|
|
2544
|
-
if (
|
|
2542
|
+
function _(g, h, R) {
|
|
2543
|
+
const E = [...e.value], F = E.findIndex((N) => N.subject === g && !N.inverted);
|
|
2544
|
+
if (R)
|
|
2545
2545
|
if (F >= 0) {
|
|
2546
|
-
const N = { ...
|
|
2547
|
-
|
|
2546
|
+
const N = { ...E[F] }, C = new Set(N.actions);
|
|
2547
|
+
C.add(h), N.actions = Array.from(C), E[F] = N;
|
|
2548
2548
|
} else {
|
|
2549
|
-
const N = t.value.find((j) => j.subject ===
|
|
2549
|
+
const N = t.value.find((j) => j.subject === g);
|
|
2550
2550
|
if (!N) return;
|
|
2551
2551
|
const {
|
|
2552
|
-
category:
|
|
2552
|
+
category: C,
|
|
2553
2553
|
showByFeatureFlag: v,
|
|
2554
2554
|
isCategoryCover: W,
|
|
2555
2555
|
...G
|
|
2556
2556
|
} = N;
|
|
2557
|
-
|
|
2557
|
+
E.push({ ...G, actions: [h] });
|
|
2558
2558
|
}
|
|
2559
2559
|
else if (F >= 0) {
|
|
2560
|
-
const N = { ...
|
|
2561
|
-
|
|
2560
|
+
const N = { ...E[F] }, C = N.actions.filter((v) => v !== h);
|
|
2561
|
+
C.length === 0 ? E.splice(F, 1) : (N.actions = C, E[F] = N);
|
|
2562
2562
|
}
|
|
2563
|
-
const x = t.value.find((N) => N.subject ===
|
|
2564
|
-
x &&
|
|
2563
|
+
const x = t.value.find((N) => N.subject === g);
|
|
2564
|
+
x && Ln(E, g, x.actions), s("update:model-value", E);
|
|
2565
2565
|
}
|
|
2566
|
-
function
|
|
2567
|
-
const
|
|
2568
|
-
(
|
|
2566
|
+
function D(g, h) {
|
|
2567
|
+
const R = g.options.filter(
|
|
2568
|
+
(E) => T(g, E.value, h)
|
|
2569
2569
|
);
|
|
2570
|
-
return
|
|
2571
|
-
(
|
|
2570
|
+
return R.length === 0 ? !1 : R.every(
|
|
2571
|
+
(E) => M(g, E.value, h) || d(g, E.value, h)
|
|
2572
2572
|
);
|
|
2573
2573
|
}
|
|
2574
|
-
function S(
|
|
2575
|
-
const
|
|
2576
|
-
(F) => T(
|
|
2574
|
+
function S(g, h) {
|
|
2575
|
+
const R = g.options.filter(
|
|
2576
|
+
(F) => T(g, F.value, h)
|
|
2577
2577
|
);
|
|
2578
|
-
if (
|
|
2579
|
-
const
|
|
2580
|
-
(F) =>
|
|
2578
|
+
if (R.length === 0) return !1;
|
|
2579
|
+
const E = R.filter(
|
|
2580
|
+
(F) => M(g, F.value, h) || d(g, F.value, h)
|
|
2581
2581
|
).length;
|
|
2582
|
-
return
|
|
2582
|
+
return E > 0 && E < R.length;
|
|
2583
2583
|
}
|
|
2584
|
-
function
|
|
2585
|
-
const
|
|
2586
|
-
for (const F of
|
|
2587
|
-
if (!T(
|
|
2588
|
-
const x = F.value, N =
|
|
2584
|
+
function I(g, h, R) {
|
|
2585
|
+
const E = [...e.value];
|
|
2586
|
+
for (const F of g.options) {
|
|
2587
|
+
if (!T(g, F.value, h)) continue;
|
|
2588
|
+
const x = F.value, N = E.findIndex(
|
|
2589
2589
|
(v) => v.subject === x && !v.inverted
|
|
2590
2590
|
);
|
|
2591
|
-
if (
|
|
2591
|
+
if (R)
|
|
2592
2592
|
if (N >= 0) {
|
|
2593
|
-
const v = { ...
|
|
2594
|
-
W.add(
|
|
2593
|
+
const v = { ...E[N] }, W = new Set(v.actions);
|
|
2594
|
+
W.add(h), v.actions = Array.from(W), E[N] = v;
|
|
2595
2595
|
} else {
|
|
2596
|
-
const v = t.value.find((
|
|
2596
|
+
const v = t.value.find((H) => H.subject === x);
|
|
2597
2597
|
if (!v) continue;
|
|
2598
2598
|
const {
|
|
2599
2599
|
category: W,
|
|
@@ -2601,43 +2601,43 @@ function _r(e, t, n, s) {
|
|
|
2601
2601
|
isCategoryCover: j,
|
|
2602
2602
|
...te
|
|
2603
2603
|
} = v;
|
|
2604
|
-
|
|
2604
|
+
E.push({ ...te, actions: [h] });
|
|
2605
2605
|
}
|
|
2606
2606
|
else if (N >= 0) {
|
|
2607
|
-
const v = { ...
|
|
2608
|
-
W.length === 0 ?
|
|
2607
|
+
const v = { ...E[N] }, W = v.actions.filter((G) => G !== h);
|
|
2608
|
+
W.length === 0 ? E.splice(N, 1) : (v.actions = W, E[N] = v);
|
|
2609
2609
|
}
|
|
2610
|
-
const
|
|
2611
|
-
|
|
2610
|
+
const C = t.value.find((v) => v.subject === x);
|
|
2611
|
+
C && Ln(E, x, C.actions);
|
|
2612
2612
|
}
|
|
2613
|
-
s("update:model-value",
|
|
2613
|
+
s("update:model-value", E);
|
|
2614
2614
|
}
|
|
2615
|
-
function
|
|
2616
|
-
const
|
|
2617
|
-
return l(
|
|
2615
|
+
function X(g) {
|
|
2616
|
+
const h = `permissionSet.actionLabels.${g}`, R = fr[g] ?? g.charAt(0).toUpperCase() + g.slice(1);
|
|
2617
|
+
return l(h, R);
|
|
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: O,
|
|
2625
|
+
isManageChecked: L,
|
|
2626
2626
|
isManageIndeterminate: w,
|
|
2627
2627
|
toggleManage: V,
|
|
2628
2628
|
hasNonManageActions: A,
|
|
2629
|
-
isActionChecked:
|
|
2629
|
+
isActionChecked: M,
|
|
2630
2630
|
isRowFullyCoveredByCover: i,
|
|
2631
2631
|
isActionCoveredByCover: d,
|
|
2632
2632
|
permissionDefinesAction: T,
|
|
2633
2633
|
toggleAction: _,
|
|
2634
|
-
isAllActionChecked:
|
|
2634
|
+
isAllActionChecked: D,
|
|
2635
2635
|
isAllActionIndeterminate: S,
|
|
2636
|
-
toggleAllAction:
|
|
2637
|
-
actionLabel:
|
|
2636
|
+
toggleAllAction: I,
|
|
2637
|
+
actionLabel: X
|
|
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" }, hr = { class: "text-center text-sm font-semibold text-fm-color-typo-primary" }, gr = ["onClick"], vr = { class: "flex justify-center" }, Ir = { class: "flex items-center min-w-0 gap-8" }, Er = ["title", "onClick"], Nr = { class: "flex justify-center" }, yr = /* @__PURE__ */ Le({
|
|
2641
2641
|
__name: "BasePermission",
|
|
2642
2642
|
props: {
|
|
2643
2643
|
modelValue: {
|
|
@@ -2659,117 +2659,118 @@ 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 } = He(), a = q(() => [...
|
|
2662
|
+
const n = e, s = t, { t: l } = He(), a = q(() => [...Mt, ...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: O,
|
|
2669
|
+
toggleManage: L,
|
|
2670
2670
|
isActionChecked: w,
|
|
2671
2671
|
isRowFullyCoveredByCover: V,
|
|
2672
2672
|
isActionCoveredByCover: A,
|
|
2673
|
-
permissionDefinesAction:
|
|
2673
|
+
permissionDefinesAction: M,
|
|
2674
2674
|
toggleAction: i,
|
|
2675
2675
|
isAllActionChecked: d,
|
|
2676
2676
|
isAllActionIndeterminate: T,
|
|
2677
2677
|
toggleAllAction: _,
|
|
2678
|
-
actionLabel:
|
|
2678
|
+
actionLabel: D
|
|
2679
2679
|
} = _r(
|
|
2680
|
-
|
|
2680
|
+
Qt(n, "modelValue"),
|
|
2681
2681
|
a,
|
|
2682
|
-
|
|
2683
|
-
(
|
|
2682
|
+
Qt(n, "excludedSubjects"),
|
|
2683
|
+
(I, X) => s("update:model-value", X)
|
|
2684
2684
|
);
|
|
2685
|
-
function S(
|
|
2686
|
-
const
|
|
2687
|
-
return
|
|
2685
|
+
function S(I) {
|
|
2686
|
+
const X = I.selectedSubjects.length;
|
|
2687
|
+
return X === 0 ? "" : l("team.memberForm.permissions.allowedCount", { count: X });
|
|
2688
2688
|
}
|
|
2689
|
-
return (
|
|
2690
|
-
const
|
|
2691
|
-
return
|
|
2692
|
-
(
|
|
2693
|
-
key:
|
|
2694
|
-
subtitle: S(
|
|
2689
|
+
return (I, X) => {
|
|
2690
|
+
const g = ze("FmCheckbox");
|
|
2691
|
+
return z(), oe("div", pr, [
|
|
2692
|
+
(z(!0), oe(Te, null, ge($(c), (h) => (z(), Me(Zt, {
|
|
2693
|
+
key: h.category,
|
|
2694
|
+
subtitle: S(h)
|
|
2695
2695
|
}, {
|
|
2696
2696
|
title: pe(() => [
|
|
2697
|
-
|
|
2697
|
+
ae("p", br, Ee(h.label), 1)
|
|
2698
2698
|
]),
|
|
2699
2699
|
default: pe(() => [
|
|
2700
|
-
|
|
2700
|
+
ae("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(${h.actionColumns.length + 1}, 80px)`
|
|
2704
2704
|
})
|
|
2705
2705
|
}, [
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
(
|
|
2709
|
-
key: `header-${
|
|
2706
|
+
X[0] || (X[0] = ae("div", null, null, -1)),
|
|
2707
|
+
ae("div", hr, Ee($(l)("team.memberForm.permissions.columnManage")), 1),
|
|
2708
|
+
(z(!0), oe(Te, null, ge(h.actionColumns, (R) => (z(), oe("div", {
|
|
2709
|
+
key: `header-${R}`,
|
|
2710
2710
|
class: "text-center text-sm font-semibold text-fm-color-typo-primary"
|
|
2711
|
-
},
|
|
2712
|
-
|
|
2711
|
+
}, Ee($(D)(R)), 1))), 128)),
|
|
2712
|
+
ae("div", {
|
|
2713
2713
|
class: "cursor-pointer",
|
|
2714
|
-
onClick: (
|
|
2715
|
-
},
|
|
2716
|
-
|
|
2717
|
-
_e(
|
|
2718
|
-
"model-value":
|
|
2719
|
-
indeterminate:
|
|
2714
|
+
onClick: (R) => !e.disable && $(p)(h)
|
|
2715
|
+
}, Ee($(l)("team.labels.all")), 9, gr),
|
|
2716
|
+
ae("div", vr, [
|
|
2717
|
+
_e(g, {
|
|
2718
|
+
"model-value": $(u)(h),
|
|
2719
|
+
indeterminate: $(m)(h),
|
|
2720
2720
|
value: !0,
|
|
2721
2721
|
disabled: e.disable,
|
|
2722
2722
|
size: "sm",
|
|
2723
2723
|
dense: "",
|
|
2724
|
-
"onUpdate:modelValue": (
|
|
2724
|
+
"onUpdate:modelValue": (R) => $(p)(h)
|
|
2725
2725
|
}, null, 8, ["model-value", "indeterminate", "disabled", "onUpdate:modelValue"])
|
|
2726
2726
|
]),
|
|
2727
|
-
(
|
|
2728
|
-
key: `all-${
|
|
2727
|
+
(z(!0), oe(Te, null, ge(h.actionColumns, (R) => (z(), oe("div", {
|
|
2728
|
+
key: `all-${R}`,
|
|
2729
2729
|
class: "flex justify-center"
|
|
2730
2730
|
}, [
|
|
2731
|
-
_e(
|
|
2732
|
-
"model-value":
|
|
2733
|
-
indeterminate:
|
|
2734
|
-
value:
|
|
2731
|
+
_e(g, {
|
|
2732
|
+
"model-value": $(d)(h, R),
|
|
2733
|
+
indeterminate: $(T)(h, R),
|
|
2734
|
+
value: R,
|
|
2735
2735
|
disabled: e.disable,
|
|
2736
2736
|
size: "sm",
|
|
2737
2737
|
dense: "",
|
|
2738
|
-
"onUpdate:modelValue": (
|
|
2738
|
+
"onUpdate:modelValue": (E) => $(_)(h, R, E)
|
|
2739
2739
|
}, null, 8, ["model-value", "indeterminate", "value", "disabled", "onUpdate:modelValue"])
|
|
2740
2740
|
]))), 128)),
|
|
2741
|
-
|
|
2742
|
-
|
|
2741
|
+
X[1] || (X[1] = ae("div", { class: "col-span-full h-px bg-fm-color-neutral-gray-200" }, null, -1)),
|
|
2742
|
+
(z(!0), oe(Te, null, ge(h.options, (R) => (z(), oe(Te, {
|
|
2743
|
+
key: R.value
|
|
2743
2744
|
}, [
|
|
2744
|
-
|
|
2745
|
-
|
|
2745
|
+
ae("div", Ir, [
|
|
2746
|
+
ae("span", {
|
|
2746
2747
|
class: "block truncate cursor-pointer",
|
|
2747
|
-
title:
|
|
2748
|
-
onClick: (
|
|
2749
|
-
},
|
|
2750
|
-
ke(
|
|
2748
|
+
title: R.label,
|
|
2749
|
+
onClick: (E) => !e.disable && !$(V)(h, R.value) && $(L)(h, R.value, !$(y)(h, R.value))
|
|
2750
|
+
}, Ee(R.label), 9, Er),
|
|
2751
|
+
ke(I.$slots, `checkbox-${R.value}-append`, { option: R })
|
|
2751
2752
|
]),
|
|
2752
|
-
|
|
2753
|
-
_e(
|
|
2754
|
-
"model-value":
|
|
2755
|
-
value:
|
|
2756
|
-
disabled: e.disable ||
|
|
2757
|
-
indeterminate:
|
|
2753
|
+
ae("div", Nr, [
|
|
2754
|
+
_e(g, {
|
|
2755
|
+
"model-value": $(y)(h, R.value) || $(V)(h, R.value),
|
|
2756
|
+
value: R.value,
|
|
2757
|
+
disabled: e.disable || $(V)(h, R.value),
|
|
2758
|
+
indeterminate: $(O)(h, R.value),
|
|
2758
2759
|
size: "sm",
|
|
2759
|
-
"onUpdate:modelValue": (
|
|
2760
|
+
"onUpdate:modelValue": (E) => $(L)(h, R.value, E)
|
|
2760
2761
|
}, null, 8, ["model-value", "value", "disabled", "indeterminate", "onUpdate:modelValue"])
|
|
2761
2762
|
]),
|
|
2762
|
-
(
|
|
2763
|
-
key: `${
|
|
2763
|
+
(z(!0), oe(Te, null, ge(h.actionColumns, (E) => (z(), oe("div", {
|
|
2764
|
+
key: `${R.value}-${E}`,
|
|
2764
2765
|
class: "flex justify-center"
|
|
2765
2766
|
}, [
|
|
2766
|
-
|
|
2767
|
+
$(M)(h, R.value, E) ? (z(), Me(g, {
|
|
2767
2768
|
key: 0,
|
|
2768
|
-
"model-value":
|
|
2769
|
-
value:
|
|
2770
|
-
disabled: e.disable ||
|
|
2769
|
+
"model-value": $(w)(h, R.value, E) || $(A)(h, R.value, E),
|
|
2770
|
+
value: E,
|
|
2771
|
+
disabled: e.disable || $(A)(h, R.value, E),
|
|
2771
2772
|
size: "sm",
|
|
2772
|
-
"onUpdate:modelValue": (F) =>
|
|
2773
|
+
"onUpdate:modelValue": (F) => $(i)(R.value, E, F)
|
|
2773
2774
|
}, null, 8, ["model-value", "value", "disabled", "onUpdate:modelValue"])) : Se("", !0)
|
|
2774
2775
|
]))), 128))
|
|
2775
2776
|
], 64))), 128))
|
|
@@ -2783,10 +2784,10 @@ const pr = { class: "flex flex-col gap-16" }, br = { class: "fm-typo-en-title-sm
|
|
|
2783
2784
|
}), Tr = { class: "space-y-16" }, kr = {
|
|
2784
2785
|
key: 0,
|
|
2785
2786
|
class: "flex fm-typo-en-title-sm-600"
|
|
2786
|
-
},
|
|
2787
|
+
}, Lr = {
|
|
2787
2788
|
key: 0,
|
|
2788
2789
|
class: "q-mr-xs text-red col"
|
|
2789
|
-
},
|
|
2790
|
+
}, Or = { class: "form-input" }, Rr = /* @__PURE__ */ Le({
|
|
2790
2791
|
__name: "AppForm",
|
|
2791
2792
|
props: {
|
|
2792
2793
|
title: {
|
|
@@ -2804,23 +2805,23 @@ const pr = { class: "flex flex-col gap-16" }, br = { class: "fm-typo-en-title-sm
|
|
|
2804
2805
|
},
|
|
2805
2806
|
setup(e) {
|
|
2806
2807
|
const t = e;
|
|
2807
|
-
return (n, s) => (
|
|
2808
|
+
return (n, s) => (z(), oe("div", Tr, [
|
|
2808
2809
|
ke(n.$slots, "top", {}, () => [
|
|
2809
|
-
t.title ? (
|
|
2810
|
-
|
|
2811
|
-
t.required ? (
|
|
2812
|
-
qn(
|
|
2810
|
+
t.title ? (z(), oe("div", kr, [
|
|
2811
|
+
ae("div", null, [
|
|
2812
|
+
t.required ? (z(), oe("span", Lr, "*")) : Se("", !0),
|
|
2813
|
+
qn(Ee(t.title), 1)
|
|
2813
2814
|
]),
|
|
2814
2815
|
ke(n.$slots, "title-right")
|
|
2815
2816
|
])) : Se("", !0)
|
|
2816
2817
|
]),
|
|
2817
|
-
|
|
2818
|
+
ae("div", Or, [
|
|
2818
2819
|
ke(n.$slots, "default")
|
|
2819
2820
|
])
|
|
2820
2821
|
]));
|
|
2821
2822
|
}
|
|
2822
2823
|
});
|
|
2823
|
-
function
|
|
2824
|
+
function Cr(e, t) {
|
|
2824
2825
|
let n = "", s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
2825
2826
|
const l = s.length;
|
|
2826
2827
|
for (let a = 0; a < e; a++)
|
|
@@ -2830,7 +2831,7 @@ function Rr(e, t) {
|
|
|
2830
2831
|
const Ar = { class: "col flex items-center" }, Sr = {
|
|
2831
2832
|
key: 1,
|
|
2832
2833
|
class: "q-pa-sm form-error-message text-error"
|
|
2833
|
-
}, Bn = /* @__PURE__ */
|
|
2834
|
+
}, Bn = /* @__PURE__ */ Le({
|
|
2834
2835
|
__name: "CheckboxInput",
|
|
2835
2836
|
props: {
|
|
2836
2837
|
options: {
|
|
@@ -2888,27 +2889,27 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
2888
2889
|
},
|
|
2889
2890
|
emits: ["update:model-value"],
|
|
2890
2891
|
setup(e, { emit: t }) {
|
|
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-${
|
|
2892
|
-
() => n.modelValue.filter((A) => n.options.some((
|
|
2893
|
-
),
|
|
2892
|
+
const n = e, s = t, { t: l } = He(), a = bt(!1), c = es(), u = q(() => n.modelValue.length < n.min ? `Min selection ${n.min}` : n.max !== void 0 && n.modelValue.length > n.max ? `Max selection ${n.max}` : !0), m = `checkbox-${Cr(6)}`, p = q(() => u.value !== !0), y = q(
|
|
2893
|
+
() => n.modelValue.filter((A) => n.options.some((M) => M.value === A))
|
|
2894
|
+
), O = q(
|
|
2894
2895
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
2895
|
-
),
|
|
2896
|
+
), L = q(() => n.options.length > 0 && n.options.length === y.value.length);
|
|
2896
2897
|
function w() {
|
|
2897
|
-
const A = n.modelValue.filter((
|
|
2898
|
-
if (
|
|
2898
|
+
const A = n.modelValue.filter((M) => !y.value.includes(M));
|
|
2899
|
+
if (L.value === !0)
|
|
2899
2900
|
s("update:model-value", A);
|
|
2900
2901
|
else {
|
|
2901
|
-
const
|
|
2902
|
-
s("update:model-value", [...A, ...
|
|
2902
|
+
const M = n.includeDisabledOptionsWhenSelectAll ? n.options.map((i) => i.value) : n.options.filter((i) => !i.disabled).map((i) => i.value);
|
|
2903
|
+
s("update:model-value", [...A, ...M]);
|
|
2903
2904
|
}
|
|
2904
2905
|
}
|
|
2905
|
-
function V(A,
|
|
2906
|
+
function V(A, M) {
|
|
2906
2907
|
let i = dt(n.modelValue);
|
|
2907
|
-
|
|
2908
|
+
M ? i.every((d) => d !== A) && i.push(A) : i = i.filter((d) => d !== A), s("update:model-value", i);
|
|
2908
2909
|
}
|
|
2909
|
-
return (A,
|
|
2910
|
-
const i =
|
|
2911
|
-
return
|
|
2910
|
+
return (A, M) => {
|
|
2911
|
+
const i = ze("FmCheckbox");
|
|
2912
|
+
return z(), Me(Rr, {
|
|
2912
2913
|
id: m,
|
|
2913
2914
|
title: e.title,
|
|
2914
2915
|
required: !1
|
|
@@ -2917,26 +2918,26 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
2917
2918
|
ke(A.$slots, "top")
|
|
2918
2919
|
]),
|
|
2919
2920
|
default: pe(() => [
|
|
2920
|
-
n.showAllToggle ? (
|
|
2921
|
+
n.showAllToggle ? (z(), Me(i, {
|
|
2921
2922
|
key: 0,
|
|
2922
|
-
"model-value":
|
|
2923
|
+
"model-value": L.value,
|
|
2923
2924
|
disabled: e.disable,
|
|
2924
|
-
label:
|
|
2925
|
+
label: O.value,
|
|
2925
2926
|
style: mt(`margin-bottom: ${n.gutter}px`),
|
|
2926
2927
|
size: "sm",
|
|
2927
2928
|
dense: "",
|
|
2928
|
-
value:
|
|
2929
|
+
value: O.value,
|
|
2929
2930
|
"onUpdate:modelValue": w
|
|
2930
2931
|
}, null, 8, ["model-value", "disabled", "label", "style", "value"])) : Se("", !0),
|
|
2931
|
-
(
|
|
2932
|
+
(z(!0), oe(Te, null, ge(e.options, (d, T) => (z(), oe("div", {
|
|
2932
2933
|
key: d.value,
|
|
2933
2934
|
style: mt(`margin-bottom: ${T < e.options.length - 1 ? n.gutter : 0}px`),
|
|
2934
2935
|
class: at(T < e.options.length - 1 ? "q-mb-sm" : "")
|
|
2935
2936
|
}, [
|
|
2936
|
-
|
|
2937
|
+
ae("div", {
|
|
2937
2938
|
class: at(["row justify-between", e.alignCenter ? "items-center" : "items-start"])
|
|
2938
2939
|
}, [
|
|
2939
|
-
|
|
2940
|
+
ae("div", Ar, [
|
|
2940
2941
|
_e(i, {
|
|
2941
2942
|
"model-value": e.modelValue.includes(d.value),
|
|
2942
2943
|
disabled: e.disable || d.disabled,
|
|
@@ -2950,7 +2951,7 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
2950
2951
|
selected: e.modelValue.includes(d.value)
|
|
2951
2952
|
})
|
|
2952
2953
|
]),
|
|
2953
|
-
|
|
2954
|
+
$(c)[`checkbox-${d.key || d.value}-end`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (z(), oe("div", {
|
|
2954
2955
|
key: 0,
|
|
2955
2956
|
class: at([{ "q-checkbox disabled": e.disable || d.disabled }, "col"])
|
|
2956
2957
|
}, [
|
|
@@ -2961,7 +2962,7 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
2961
2962
|
})
|
|
2962
2963
|
], 2)) : Se("", !0)
|
|
2963
2964
|
], 2),
|
|
2964
|
-
|
|
2965
|
+
$(c)[`checkbox-${d.key || d.value}-bottom`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (z(), oe("div", {
|
|
2965
2966
|
key: 0,
|
|
2966
2967
|
class: at(["q-mt-sm", { "q-checkbox disabled": e.disable || d.disabled }]),
|
|
2967
2968
|
style: mt(`margin-left: ${e.bottomSlotIndent}`)
|
|
@@ -2973,13 +2974,13 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
2973
2974
|
})
|
|
2974
2975
|
], 6)) : Se("", !0)
|
|
2975
2976
|
], 6))), 128)),
|
|
2976
|
-
a.value && p.value ? (
|
|
2977
|
+
a.value && p.value ? (z(), oe("div", Sr, Ee(u.value), 1)) : Se("", !0)
|
|
2977
2978
|
]),
|
|
2978
2979
|
_: 3
|
|
2979
2980
|
}, 8, ["title"]);
|
|
2980
2981
|
};
|
|
2981
2982
|
}
|
|
2982
|
-
}),
|
|
2983
|
+
}), Mr = { class: "fm-typo-en-title-sm-600" }, ct = "includedFuture", Rn = /* @__PURE__ */ Le({
|
|
2983
2984
|
__name: "ConditionPermission",
|
|
2984
2985
|
props: {
|
|
2985
2986
|
modelValue: {
|
|
@@ -3012,27 +3013,27 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3012
3013
|
(y) => y.label.toLocaleLowerCase().includes(p.value.toLocaleLowerCase())
|
|
3013
3014
|
)
|
|
3014
3015
|
]), c = q(() => n.modelValue ? n.modelValue : [ct, ...n.options.map((y) => y.value)]), u = q(() => {
|
|
3015
|
-
const y = c.value.filter((
|
|
3016
|
+
const y = c.value.filter((O) => O !== ct).length;
|
|
3016
3017
|
return y === 0 ? "" : l("team.memberForm.permissions.allowedCount", { count: y });
|
|
3017
3018
|
});
|
|
3018
3019
|
function m(y) {
|
|
3019
|
-
const
|
|
3020
|
-
s("update:model-value",
|
|
3020
|
+
const O = y.length === a.value.length;
|
|
3021
|
+
s("update:model-value", O ? null : y.filter((L) => L !== ct));
|
|
3021
3022
|
}
|
|
3022
3023
|
const p = bt("");
|
|
3023
|
-
return (y,
|
|
3024
|
-
const
|
|
3025
|
-
return
|
|
3024
|
+
return (y, O) => {
|
|
3025
|
+
const L = ze("fm-search");
|
|
3026
|
+
return z(), Me(Zt, { subtitle: u.value }, {
|
|
3026
3027
|
title: pe(() => [
|
|
3027
|
-
|
|
3028
|
+
ae("p", Mr, Ee($(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
3028
3029
|
]),
|
|
3029
3030
|
default: pe(() => [
|
|
3030
|
-
e.options.length > 1 ? (
|
|
3031
|
+
e.options.length > 1 ? (z(), Me(L, {
|
|
3031
3032
|
key: 0,
|
|
3032
3033
|
modelValue: p.value,
|
|
3033
|
-
"onUpdate:modelValue":
|
|
3034
|
+
"onUpdate:modelValue": O[0] || (O[0] = (w) => p.value = w),
|
|
3034
3035
|
class: "mt-16",
|
|
3035
|
-
placeholder:
|
|
3036
|
+
placeholder: $(l)("team.memberForm.permissions.search", { context: e.context })
|
|
3036
3037
|
}, null, 8, ["modelValue", "placeholder"])) : Se("", !0),
|
|
3037
3038
|
_e(Bn, {
|
|
3038
3039
|
"model-value": c.value,
|
|
@@ -3045,7 +3046,7 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3045
3046
|
class: "mt-16",
|
|
3046
3047
|
"onUpdate:modelValue": m
|
|
3047
3048
|
}, xe({ _: 2 }, [
|
|
3048
|
-
|
|
3049
|
+
ge(a.value, (w) => ({
|
|
3049
3050
|
name: `checkbox-${w.value}-append`,
|
|
3050
3051
|
fn: pe(({ option: V }) => [
|
|
3051
3052
|
ke(y.$slots, `checkbox-${w.value}-append`, { option: V })
|
|
@@ -3057,7 +3058,7 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3057
3058
|
}, 8, ["subtitle"]);
|
|
3058
3059
|
};
|
|
3059
3060
|
}
|
|
3060
|
-
}),
|
|
3061
|
+
}), Dr = { class: "fm-typo-en-title-sm-600" }, ut = "includedNewRole", wr = /* @__PURE__ */ Le({
|
|
3061
3062
|
__name: "PosRolePermission",
|
|
3062
3063
|
props: {
|
|
3063
3064
|
modelValue: {
|
|
@@ -3090,7 +3091,7 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3090
3091
|
...n.roles.map((y) => ({
|
|
3091
3092
|
label: y.name,
|
|
3092
3093
|
value: y._id,
|
|
3093
|
-
disabled: !!p && y.restaurants.every(({ id:
|
|
3094
|
+
disabled: !!p && y.restaurants.every(({ id: O }) => !p.includes(O))
|
|
3094
3095
|
}))
|
|
3095
3096
|
];
|
|
3096
3097
|
}), c = q(() => n.modelValue ? n.modelValue : [ut, ...n.roles.map((p) => p._id)]), u = q(() => {
|
|
@@ -3099,11 +3100,11 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3099
3100
|
});
|
|
3100
3101
|
function m(p) {
|
|
3101
3102
|
const y = p.length === a.value.length;
|
|
3102
|
-
s("update:model-value", y ? null : p.filter((
|
|
3103
|
+
s("update:model-value", y ? null : p.filter((O) => O !== ut));
|
|
3103
3104
|
}
|
|
3104
|
-
return (p, y) => (
|
|
3105
|
+
return (p, y) => (z(), Me(Zt, { subtitle: u.value }, {
|
|
3105
3106
|
title: pe(() => [
|
|
3106
|
-
|
|
3107
|
+
ae("p", Dr, Ee($(l)("team.memberForm.permissions.roles")), 1)
|
|
3107
3108
|
]),
|
|
3108
3109
|
default: pe(() => [
|
|
3109
3110
|
_e(Bn, {
|
|
@@ -3116,10 +3117,10 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3116
3117
|
class: "mt-16",
|
|
3117
3118
|
"onUpdate:modelValue": m
|
|
3118
3119
|
}, xe({ _: 2 }, [
|
|
3119
|
-
|
|
3120
|
-
name: `checkbox-${
|
|
3121
|
-
fn: pe(({ option:
|
|
3122
|
-
ke(p.$slots, `checkbox-${
|
|
3120
|
+
ge(a.value, (O) => ({
|
|
3121
|
+
name: `checkbox-${O.value}-append`,
|
|
3122
|
+
fn: pe(({ option: L }) => [
|
|
3123
|
+
ke(p.$slots, `checkbox-${O.value}-append`, { option: L })
|
|
3123
3124
|
])
|
|
3124
3125
|
}))
|
|
3125
3126
|
]), 1032, ["model-value", "options", "disable"])
|
|
@@ -3131,9 +3132,9 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3131
3132
|
async readWarehouses() {
|
|
3132
3133
|
return us(await ms().get("/warehouses"));
|
|
3133
3134
|
}
|
|
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" }, Gr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Kr = /* @__PURE__ */
|
|
3135
|
+
}, 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" }, Gr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Kr = /* @__PURE__ */ Le({
|
|
3135
3136
|
__name: "PortalPermissionEditor",
|
|
3136
|
-
props: /* @__PURE__ */
|
|
3137
|
+
props: /* @__PURE__ */ zt({
|
|
3137
3138
|
disable: {
|
|
3138
3139
|
type: Boolean,
|
|
3139
3140
|
default: !1
|
|
@@ -3146,14 +3147,14 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3146
3147
|
modelValue: { default: () => [] },
|
|
3147
3148
|
modelModifiers: {}
|
|
3148
3149
|
}),
|
|
3149
|
-
emits: /* @__PURE__ */
|
|
3150
|
+
emits: /* @__PURE__ */ zt(["permissionChanged"], ["update:modelValue"]),
|
|
3150
3151
|
setup(e, { emit: t }) {
|
|
3151
3152
|
const n = ts(e, "modelValue"), s = e, l = t, { t: a } = He(), { fetchCustomReportPermissions: c, customReportPermissions: u } = ss();
|
|
3152
3153
|
function m(N) {
|
|
3153
|
-
return
|
|
3154
|
+
return Mt.find((C) => C.subject === N) ?? u.value.find((C) => C.subject === N);
|
|
3154
3155
|
}
|
|
3155
3156
|
const p = q(() => {
|
|
3156
|
-
const N = [...
|
|
3157
|
+
const N = [...Mt, ...u.value].filter((v) => !w.includes(v.subject)).map((v) => v.subject);
|
|
3157
3158
|
return as(
|
|
3158
3159
|
s.inheritPermissions.map((v) => ({
|
|
3159
3160
|
...v,
|
|
@@ -3164,38 +3165,38 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3164
3165
|
setNames: v.setNames
|
|
3165
3166
|
}));
|
|
3166
3167
|
}), y = q(() => {
|
|
3167
|
-
const N = s.inheritPermissions.map((
|
|
3168
|
-
...
|
|
3169
|
-
permissions:
|
|
3168
|
+
const N = s.inheritPermissions.map((C) => ({
|
|
3169
|
+
...C,
|
|
3170
|
+
permissions: C.permissions.filter(
|
|
3170
3171
|
(v) => v.subject === ue.Subject.Business.inventory_stock
|
|
3171
3172
|
)
|
|
3172
3173
|
}));
|
|
3173
3174
|
return kt(
|
|
3174
3175
|
N,
|
|
3175
3176
|
"warehouseId",
|
|
3176
|
-
A.value.map((
|
|
3177
|
+
A.value.map((C) => C._id)
|
|
3177
3178
|
);
|
|
3178
|
-
}),
|
|
3179
|
-
const N = s.inheritPermissions.map((
|
|
3180
|
-
...
|
|
3181
|
-
permissions:
|
|
3179
|
+
}), O = q(() => {
|
|
3180
|
+
const N = s.inheritPermissions.map((C) => ({
|
|
3181
|
+
...C,
|
|
3182
|
+
permissions: C.permissions.filter(
|
|
3182
3183
|
(v) => v.subject === ue.Subject.Restaurant.restaurant
|
|
3183
3184
|
)
|
|
3184
3185
|
}));
|
|
3185
3186
|
return kt(
|
|
3186
3187
|
N,
|
|
3187
3188
|
"restaurantId",
|
|
3188
|
-
T.value.map((
|
|
3189
|
+
T.value.map((C) => C._id)
|
|
3189
3190
|
);
|
|
3190
|
-
}),
|
|
3191
|
-
const N = s.inheritPermissions.map((
|
|
3192
|
-
...
|
|
3193
|
-
permissions:
|
|
3191
|
+
}), L = q(() => {
|
|
3192
|
+
const N = s.inheritPermissions.map((C) => ({
|
|
3193
|
+
...C,
|
|
3194
|
+
permissions: C.permissions.filter((v) => v.subject === ue.Subject.Business.role)
|
|
3194
3195
|
}));
|
|
3195
3196
|
return kt(
|
|
3196
3197
|
N,
|
|
3197
3198
|
"roleId",
|
|
3198
|
-
_.value.map((
|
|
3199
|
+
_.value.map((C) => C._id)
|
|
3199
3200
|
);
|
|
3200
3201
|
}), w = [
|
|
3201
3202
|
ue.Subject.Business.restaurant,
|
|
@@ -3203,99 +3204,99 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3203
3204
|
ue.Subject.Restaurant.restaurant,
|
|
3204
3205
|
ue.Subject.Business.inventory_stock
|
|
3205
3206
|
], V = q(() => {
|
|
3206
|
-
var
|
|
3207
|
-
const N = (
|
|
3207
|
+
var C;
|
|
3208
|
+
const N = (C = n.value) == null ? void 0 : C.find(
|
|
3208
3209
|
(v) => v.subject === ue.Subject.Business.inventory_stock
|
|
3209
3210
|
);
|
|
3210
3211
|
return N ? N.conditions ? JSON.parse(N.conditions).warehouseId.$in : null : [];
|
|
3211
|
-
}), A = bt([]),
|
|
3212
|
+
}), A = bt([]), M = q(() => A.value.map((N) => ({
|
|
3212
3213
|
label: N.profile.name,
|
|
3213
3214
|
value: N._id
|
|
3214
3215
|
})));
|
|
3215
3216
|
function i(N) {
|
|
3216
|
-
const
|
|
3217
|
-
n.value =
|
|
3217
|
+
const C = d(n.value, N);
|
|
3218
|
+
n.value = C;
|
|
3218
3219
|
}
|
|
3219
|
-
function d(N,
|
|
3220
|
+
function d(N, C) {
|
|
3220
3221
|
let v = dt(
|
|
3221
3222
|
N.filter((W) => W.subject !== ue.Subject.Business.inventory_stock)
|
|
3222
3223
|
);
|
|
3223
|
-
if (!
|
|
3224
|
+
if (!C || C.length > 0) {
|
|
3224
3225
|
const W = {
|
|
3225
3226
|
actions: [ue.Action.manage],
|
|
3226
3227
|
subject: ue.Subject.Business.inventory_stock
|
|
3227
3228
|
};
|
|
3228
|
-
|
|
3229
|
+
C && (W.conditions = JSON.stringify({ warehouseId: { $in: C } })), v.push(W);
|
|
3229
3230
|
}
|
|
3230
3231
|
return v;
|
|
3231
3232
|
}
|
|
3232
|
-
const { restaurants: T } = ns(), _ = ds().roles,
|
|
3233
|
+
const { restaurants: T } = ns(), _ = ds().roles, D = q(() => T.value.map((N) => ({
|
|
3233
3234
|
label: `${N.profile.code ? N.profile.code + "-" : ""}${N.profile.name}`,
|
|
3234
3235
|
value: N._id
|
|
3235
|
-
}))), S = q(() => T.value.reduce((N,
|
|
3236
|
-
function
|
|
3237
|
-
const
|
|
3238
|
-
n.value =
|
|
3236
|
+
}))), S = q(() => T.value.reduce((N, C) => (N[C._id] = _.value.filter((v) => v.restaurants.some((W) => W.id === C._id)).map((v) => v._id), N), {})), I = q(() => rs(n.value));
|
|
3237
|
+
function X(N) {
|
|
3238
|
+
const C = h(n.value, N);
|
|
3239
|
+
n.value = C;
|
|
3239
3240
|
}
|
|
3240
|
-
const
|
|
3241
|
-
function
|
|
3241
|
+
const g = q(() => ls(n.value));
|
|
3242
|
+
function h(N, C) {
|
|
3242
3243
|
var W;
|
|
3243
3244
|
let v = dt(
|
|
3244
3245
|
N.filter(
|
|
3245
3246
|
(G) => G.subject !== ue.Subject.Business.restaurant && G.subject !== ue.Subject.Restaurant.restaurant
|
|
3246
3247
|
)
|
|
3247
3248
|
);
|
|
3248
|
-
if (!
|
|
3249
|
+
if (!C || C.length > 0) {
|
|
3249
3250
|
const {
|
|
3250
3251
|
category: G,
|
|
3251
3252
|
showByFeatureFlag: j,
|
|
3252
3253
|
...te
|
|
3253
3254
|
} = cs.restaurant;
|
|
3254
3255
|
v.push(te);
|
|
3255
|
-
const
|
|
3256
|
+
const H = {
|
|
3256
3257
|
actions: [ue.Action.manage],
|
|
3257
3258
|
subject: ue.Subject.Restaurant.restaurant
|
|
3258
3259
|
};
|
|
3259
|
-
|
|
3260
|
+
C && (H.conditions = JSON.stringify({ restaurantId: { $in: C } })), v.push(H);
|
|
3260
3261
|
}
|
|
3261
|
-
if (
|
|
3262
|
+
if (C) {
|
|
3262
3263
|
const G = [
|
|
3263
|
-
...new Set(
|
|
3264
|
+
...new Set(C.map((te) => S.value[te]).flatMap((te) => te))
|
|
3264
3265
|
], j = _.value.map((te) => te._id);
|
|
3265
|
-
G.length !== j.length && (v =
|
|
3266
|
+
G.length !== j.length && (v = E(
|
|
3266
3267
|
v,
|
|
3267
|
-
(W =
|
|
3268
|
+
(W = g.value || j) == null ? void 0 : W.filter((te) => G.includes(te))
|
|
3268
3269
|
));
|
|
3269
3270
|
}
|
|
3270
3271
|
return v;
|
|
3271
3272
|
}
|
|
3272
|
-
function
|
|
3273
|
-
const
|
|
3274
|
-
n.value =
|
|
3273
|
+
function R(N) {
|
|
3274
|
+
const C = E(n.value, N);
|
|
3275
|
+
n.value = C;
|
|
3275
3276
|
}
|
|
3276
|
-
function
|
|
3277
|
+
function E(N, C) {
|
|
3277
3278
|
let v = dt(
|
|
3278
3279
|
N.filter((W) => W.subject !== ue.Subject.Business.role)
|
|
3279
3280
|
);
|
|
3280
|
-
if (
|
|
3281
|
+
if (C && C.length > 0) {
|
|
3281
3282
|
const W = {
|
|
3282
3283
|
actions: [ue.Action.manage],
|
|
3283
3284
|
subject: ue.Subject.Business.role,
|
|
3284
|
-
conditions: JSON.stringify({ roleId: { $in:
|
|
3285
|
+
conditions: JSON.stringify({ roleId: { $in: C } })
|
|
3285
3286
|
};
|
|
3286
3287
|
v.push(W);
|
|
3287
3288
|
}
|
|
3288
3289
|
return v;
|
|
3289
3290
|
}
|
|
3290
|
-
|
|
3291
|
+
Cn(async () => {
|
|
3291
3292
|
await Promise.all([
|
|
3292
3293
|
Pr.readWarehouses().then((N) => A.value = N),
|
|
3293
3294
|
c()
|
|
3294
3295
|
]);
|
|
3295
3296
|
});
|
|
3296
|
-
const F = q(() =>
|
|
3297
|
+
const F = q(() => Lt(
|
|
3297
3298
|
n.value,
|
|
3298
|
-
|
|
3299
|
+
Ot
|
|
3299
3300
|
).filter((v) => {
|
|
3300
3301
|
const W = v.source;
|
|
3301
3302
|
return (W == null ? void 0 : W.type) !== "systemPermissionSet" ? !0 : v.actions.includes("manage");
|
|
@@ -3306,10 +3307,10 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3306
3307
|
const G = m(v.subject);
|
|
3307
3308
|
if (!G) return v;
|
|
3308
3309
|
const j = G.actions;
|
|
3309
|
-
return j.length <= 1 || j.filter((
|
|
3310
|
+
return j.length <= 1 || j.filter((H) => !W.includes(H)).length === 0 ? v : { ...v, actions: [...j] };
|
|
3310
3311
|
}));
|
|
3311
3312
|
function x(N) {
|
|
3312
|
-
const
|
|
3313
|
+
const C = new Set(
|
|
3313
3314
|
F.value.filter((j) => !j.inverted).map((j) => j.subject)
|
|
3314
3315
|
), v = new Set(
|
|
3315
3316
|
N.filter((j) => !j.inverted).map((j) => j.subject)
|
|
@@ -3317,54 +3318,54 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3317
3318
|
n.value.filter((j) => !j.inverted).map((j) => j.subject)
|
|
3318
3319
|
);
|
|
3319
3320
|
let G = [...n.value];
|
|
3320
|
-
for (const j of
|
|
3321
|
-
v.has(j) || (W.has(j) && (G = G.filter((
|
|
3321
|
+
for (const j of C)
|
|
3322
|
+
v.has(j) || (W.has(j) && (G = G.filter((H) => H.subject !== j)), (!W.has(j) || Lt(
|
|
3322
3323
|
G,
|
|
3323
|
-
|
|
3324
|
+
Ot
|
|
3324
3325
|
).some(
|
|
3325
|
-
(
|
|
3326
|
-
)) && !G.some((
|
|
3326
|
+
(H) => H.subject === j && !H.inverted && H.actions.includes("manage")
|
|
3327
|
+
)) && !G.some((H) => H.subject === j && H.inverted) && G.push({ subject: j, actions: ["manage"], inverted: !0 }));
|
|
3327
3328
|
for (const j of v)
|
|
3328
|
-
if (!
|
|
3329
|
-
const te = G.some((
|
|
3330
|
-
if (G = G.filter((
|
|
3331
|
-
const
|
|
3329
|
+
if (!C.has(j)) {
|
|
3330
|
+
const te = G.some((H) => H.subject === j && H.inverted);
|
|
3331
|
+
if (G = G.filter((H) => !(H.subject === j && H.inverted)), !te && !W.has(j)) {
|
|
3332
|
+
const H = N.find(
|
|
3332
3333
|
(fe) => fe.subject === j && !fe.inverted
|
|
3333
|
-
),
|
|
3334
|
-
if (
|
|
3335
|
-
const { category: fe, showByFeatureFlag:
|
|
3336
|
-
G.push({ ...Z, actions:
|
|
3334
|
+
), he = m(j);
|
|
3335
|
+
if (he && H) {
|
|
3336
|
+
const { category: fe, showByFeatureFlag: B, ...Z } = he;
|
|
3337
|
+
G.push({ ...Z, actions: H.actions });
|
|
3337
3338
|
}
|
|
3338
3339
|
}
|
|
3339
3340
|
}
|
|
3340
3341
|
for (const j of v) {
|
|
3341
|
-
if (!
|
|
3342
|
+
if (!C.has(j)) continue;
|
|
3342
3343
|
const te = F.value.find(
|
|
3343
3344
|
(Z) => Z.subject === j && !Z.inverted
|
|
3344
|
-
),
|
|
3345
|
-
if (!te || !
|
|
3346
|
-
const
|
|
3347
|
-
if (
|
|
3345
|
+
), H = N.find((Z) => Z.subject === j && !Z.inverted);
|
|
3346
|
+
if (!te || !H) continue;
|
|
3347
|
+
const he = new Set(te.actions), fe = new Set(H.actions);
|
|
3348
|
+
if (he.size === fe.size && [...he].every((Z) => fe.has(Z)))
|
|
3348
3349
|
continue;
|
|
3349
|
-
const
|
|
3350
|
-
if (
|
|
3351
|
-
G[
|
|
3352
|
-
...G[
|
|
3350
|
+
const B = G.findIndex((Z) => Z.subject === j && !Z.inverted);
|
|
3351
|
+
if (B >= 0)
|
|
3352
|
+
G[B] = {
|
|
3353
|
+
...G[B],
|
|
3353
3354
|
actions: Array.from(fe)
|
|
3354
3355
|
};
|
|
3355
3356
|
else {
|
|
3356
3357
|
const Z = m(j);
|
|
3357
3358
|
if (Z) {
|
|
3358
|
-
const { category:
|
|
3359
|
+
const { category: Ie, showByFeatureFlag: Be, ...$e } = Z;
|
|
3359
3360
|
G.push({ ...$e, actions: Array.from(fe) });
|
|
3360
3361
|
}
|
|
3361
3362
|
}
|
|
3362
|
-
|
|
3363
|
+
he.has("manage") && !fe.has("manage") && Lt(
|
|
3363
3364
|
G,
|
|
3364
|
-
|
|
3365
|
+
Ot
|
|
3365
3366
|
).some(
|
|
3366
|
-
(
|
|
3367
|
-
) && !G.some((
|
|
3367
|
+
(Ie) => Ie.subject === j && !Ie.inverted && Ie.actions.includes("manage")
|
|
3368
|
+
) && !G.some((Ie) => Ie.subject === j && Ie.inverted) && G.push({ subject: j, actions: ["manage"], inverted: !0 }), !he.has("manage") && fe.has("manage") && (G = G.filter((Z) => !(Z.subject === j && Z.inverted)));
|
|
3368
3369
|
}
|
|
3369
3370
|
n.value = G;
|
|
3370
3371
|
}
|
|
@@ -3374,15 +3375,15 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3374
3375
|
l("permissionChanged", N);
|
|
3375
3376
|
},
|
|
3376
3377
|
{ deep: !0 }
|
|
3377
|
-
), (N,
|
|
3378
|
-
|
|
3378
|
+
), (N, C) => (z(), oe("div", Fr, [
|
|
3379
|
+
ae("div", jr, [
|
|
3379
3380
|
_e(yr, {
|
|
3380
3381
|
"model-value": F.value,
|
|
3381
3382
|
"excluded-subjects": w,
|
|
3382
|
-
"additional-permissions":
|
|
3383
|
+
"additional-permissions": $(u),
|
|
3383
3384
|
"onUpdate:modelValue": x
|
|
3384
3385
|
}, xe({ _: 2 }, [
|
|
3385
|
-
|
|
3386
|
+
ge(p.value, (v) => ({
|
|
3386
3387
|
name: `checkbox-${v.id}-append`,
|
|
3387
3388
|
fn: pe(() => [
|
|
3388
3389
|
_e(it, { item: v }, null, 8, ["item"])
|
|
@@ -3390,14 +3391,14 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3390
3391
|
}))
|
|
3391
3392
|
]), 1032, ["model-value", "additional-permissions"])
|
|
3392
3393
|
]),
|
|
3393
|
-
|
|
3394
|
-
_e(
|
|
3394
|
+
ae("div", Ur, [
|
|
3395
|
+
_e(Rn, {
|
|
3395
3396
|
"model-value": V.value,
|
|
3396
|
-
options:
|
|
3397
|
-
context:
|
|
3397
|
+
options: M.value,
|
|
3398
|
+
context: $(a)("team.labels.warehouse"),
|
|
3398
3399
|
"onUpdate:modelValue": i
|
|
3399
3400
|
}, xe({ _: 2 }, [
|
|
3400
|
-
|
|
3401
|
+
ge(y.value, (v) => ({
|
|
3401
3402
|
name: `checkbox-${v.id}-append`,
|
|
3402
3403
|
fn: pe(() => [
|
|
3403
3404
|
_e(it, { item: v }, null, 8, ["item"])
|
|
@@ -3405,14 +3406,14 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3405
3406
|
}))
|
|
3406
3407
|
]), 1032, ["model-value", "options", "context"])
|
|
3407
3408
|
]),
|
|
3408
|
-
|
|
3409
|
-
_e(
|
|
3410
|
-
"model-value":
|
|
3411
|
-
options:
|
|
3412
|
-
context:
|
|
3413
|
-
"onUpdate:modelValue":
|
|
3409
|
+
ae("div", Vr, [
|
|
3410
|
+
_e(Rn, {
|
|
3411
|
+
"model-value": I.value,
|
|
3412
|
+
options: D.value,
|
|
3413
|
+
context: $(a)("team.labels.restaurant"),
|
|
3414
|
+
"onUpdate:modelValue": X
|
|
3414
3415
|
}, xe({ _: 2 }, [
|
|
3415
|
-
|
|
3416
|
+
ge(O.value, (v) => ({
|
|
3416
3417
|
name: `checkbox-${v.id}-append`,
|
|
3417
3418
|
fn: pe(() => [
|
|
3418
3419
|
_e(it, { item: v }, null, 8, ["item"])
|
|
@@ -3420,14 +3421,14 @@ const Ar = { class: "col flex items-center" }, Sr = {
|
|
|
3420
3421
|
}))
|
|
3421
3422
|
]), 1032, ["model-value", "options", "context"])
|
|
3422
3423
|
]),
|
|
3423
|
-
|
|
3424
|
+
ae("div", Gr, [
|
|
3424
3425
|
_e(wr, {
|
|
3425
|
-
roles:
|
|
3426
|
-
"model-value":
|
|
3427
|
-
"restaurant-ids":
|
|
3428
|
-
"onUpdate:modelValue":
|
|
3426
|
+
roles: $(_),
|
|
3427
|
+
"model-value": g.value,
|
|
3428
|
+
"restaurant-ids": I.value,
|
|
3429
|
+
"onUpdate:modelValue": R
|
|
3429
3430
|
}, xe({ _: 2 }, [
|
|
3430
|
-
|
|
3431
|
+
ge(L.value, (v) => ({
|
|
3431
3432
|
name: `checkbox-${v.id}-append`,
|
|
3432
3433
|
fn: pe(() => [
|
|
3433
3434
|
_e(it, { item: v }, null, 8, ["item"])
|