@feedmepos/mf-hrm-portal 1.1.3-dev → 1.1.3-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AuditLogList-qGKeg-cd.js +384 -0
- package/dist/{EmployeeList-zU7fmC4c.js → EmployeeList-BWDsSFoY.js} +5 -5
- package/dist/{Main-DGymQNz9.js → Main-D5YEKOpl.js} +7 -7
- package/dist/{Main-BqhrqOzx.js → Main-VjhiuuHr.js} +4 -4
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BvjXcknf.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-yghfcQRF.js} +569 -569
- package/dist/{RoleList-jbZqer7A.js → RoleList-CfPD_Gk_.js} +5 -5
- package/dist/{RolePermissionList-Dd8ks5i7.js → RolePermissionList-Cu1KTuuI.js} +3 -3
- package/dist/{TeamMemberList-uamoOFIV.js → TeamMemberList-DEYo6_pS.js} +6 -6
- package/dist/{TimesheetList-hgT9DrHd.js → TimesheetList-BTTBjTrO.js} +6 -6
- package/dist/{app-CcbYGJ22.js → app-CfIHEA52.js} +268 -224
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-CgN1oBQf.js → dayjs.min-C8cBXLt-.js} +1 -1
- package/dist/{employee-khk560IC.js → employee-ChJpkvUF.js} +3 -3
- package/dist/{index-D5sdamN5.js → index-CgbDOn3W.js} +5 -5
- package/dist/{lodash-7Am6_Zd3.js → lodash-0EOIqOEG.js} +1 -1
- package/dist/{team-CFyc6tnm.js → team-C2muObo8.js} +1 -1
- package/dist/{timesheet-DKhEeLe7.js → timesheet-DTI6G4DD.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/types/audit-log.d.ts +1 -19
- package/dist/{useAppStore-DOSLuH24.js → useAppStore-DCpMNDxE.js} +1 -1
- package/dist/{useLoading-BA-GSZ3R.js → useLoading-ChLCiMQj.js} +1 -1
- package/dist/views/audit-log/locales/index.d.ts +44 -0
- package/package.json +2 -2
- package/dist/AuditLogList-DNQh1rE9.js +0 -316
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { getCurrentInstance as Wt, inject as
|
|
1
|
+
import { getCurrentInstance as Wt, inject as Zn, ref as ye, shallowRef as Hn, computed as G, watch as Rt, onMounted as Gt, onUnmounted as On, defineComponent as ce, h as Ln, createVNode as ne, Text as Bn, Fragment as we, resolveComponent as Ge, createBlock as ke, openBlock as B, withCtx as se, createElementVNode as ee, createElementBlock as te, toDisplayString as je, unref as be, renderList as me, renderSlot as le, createCommentVNode as Ne, createTextVNode as Jn, useSlots as $n, normalizeStyle as tt, normalizeClass as ze, createSlots as ve, nextTick as zn, mergeModels as zt, useModel as Kn } from "vue";
|
|
2
2
|
import { useI18n as at, useCoreStore as Qn } from "@feedmepos/mf-common";
|
|
3
3
|
import "@vue/devtools-api";
|
|
4
|
-
import { l as We,
|
|
5
|
-
import { a as rs, h as Q, o as
|
|
6
|
-
import { u as as } from "./useAppStore-
|
|
4
|
+
import { l as We, p as Ct, g as qn, b as es, n as ts, x as vt, y as ns, m as ss } from "./index-CgbDOn3W.js";
|
|
5
|
+
import { a as rs, h as Q, o as Kt } from "./app-CfIHEA52.js";
|
|
6
|
+
import { u as as } from "./useAppStore-DCpMNDxE.js";
|
|
7
7
|
/*!
|
|
8
8
|
* shared v10.0.5
|
|
9
9
|
* (c) 2024 kazuya kawaguchi
|
|
10
10
|
* Released under the MIT License.
|
|
11
11
|
*/
|
|
12
|
-
const Qt = typeof window < "u",
|
|
12
|
+
const Qt = typeof window < "u", Oe = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), ls = (e, t, n) => os({ l: e, k: t, s: n }), os = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), z = (e) => typeof e == "number" && isFinite(e), is = (e) => jt(e) === "[object Date]", st = (e) => jt(e) === "[object RegExp]", lt = (e) => w(e) && Object.keys(e).length === 0, K = Object.assign, cs = Object.create, V = (e = null) => cs(e);
|
|
13
13
|
let qt;
|
|
14
|
-
const
|
|
14
|
+
const Te = () => qt || (qt = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : V());
|
|
15
15
|
function en(e) {
|
|
16
16
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
17
17
|
}
|
|
@@ -19,22 +19,22 @@ const us = Object.prototype.hasOwnProperty;
|
|
|
19
19
|
function ie(e, t) {
|
|
20
20
|
return us.call(e, t);
|
|
21
21
|
}
|
|
22
|
-
const $ = Array.isArray,
|
|
22
|
+
const $ = Array.isArray, Y = (e) => typeof e == "function", R = (e) => typeof e == "string", J = (e) => typeof e == "boolean", F = (e) => e !== null && typeof e == "object", ms = (e) => F(e) && Y(e.then) && Y(e.catch), Rn = Object.prototype.toString, jt = (e) => Rn.call(e), w = (e) => jt(e) === "[object Object]", ds = (e) => e == null ? "" : $(e) || w(e) && e.toString === Rn ? JSON.stringify(e, null, 2) : String(e);
|
|
23
23
|
function Xt(e, t = "") {
|
|
24
24
|
return e.reduce((n, s, l) => l === 0 ? n + s : n + t + s, "");
|
|
25
25
|
}
|
|
26
26
|
function _s(e, t) {
|
|
27
27
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
28
28
|
}
|
|
29
|
-
const
|
|
29
|
+
const Ke = (e) => !F(e) || $(e);
|
|
30
30
|
function nt(e, t) {
|
|
31
|
-
if (
|
|
31
|
+
if (Ke(e) || Ke(t))
|
|
32
32
|
throw new Error("Invalid value");
|
|
33
33
|
const n = [{ src: e, des: t }];
|
|
34
34
|
for (; n.length; ) {
|
|
35
35
|
const { src: s, des: l } = n.pop();
|
|
36
36
|
Object.keys(s).forEach((r) => {
|
|
37
|
-
r !== "__proto__" && (F(s[r]) && !F(l[r]) && (l[r] = Array.isArray(s[r]) ? [] : V()),
|
|
37
|
+
r !== "__proto__" && (F(s[r]) && !F(l[r]) && (l[r] = Array.isArray(s[r]) ? [] : V()), Ke(l[r]) || Ke(s[r]) ? l[r] = s[r] : n.push({ src: s[r], des: l[r] }));
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
40
|
}
|
|
@@ -66,17 +66,17 @@ function ot(e, t, n = {}) {
|
|
|
66
66
|
const { domain: s, messages: l, args: r } = n, c = e, m = new SyntaxError(String(c));
|
|
67
67
|
return m.code = e, t && (m.location = t), m.domain = s, m;
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function bs(e) {
|
|
70
70
|
throw e;
|
|
71
71
|
}
|
|
72
|
-
const _e = " ",
|
|
72
|
+
const _e = " ", hs = "\r", q = `
|
|
73
73
|
`, gs = "\u2028", Es = "\u2029";
|
|
74
74
|
function Is(e) {
|
|
75
75
|
const t = e;
|
|
76
76
|
let n = 0, s = 1, l = 1, r = 0;
|
|
77
|
-
const c = (N) => t[N] ===
|
|
77
|
+
const c = (N) => t[N] === hs && t[N + 1] === q, m = (N) => t[N] === q, u = (N) => t[N] === Es, _ = (N) => t[N] === gs, h = (N) => c(N) || m(N) || u(N) || _(N), E = () => n, g = () => s, C = () => l, D = () => r, T = (N) => c(N) || u(N) || _(N) ? q : t[N], k = () => T(n), i = () => T(n + r);
|
|
78
78
|
function d() {
|
|
79
|
-
return r = 0,
|
|
79
|
+
return r = 0, h(n) && (s++, l = 0), c(n) && n++, n++, l++, t[n];
|
|
80
80
|
}
|
|
81
81
|
function v() {
|
|
82
82
|
return c(n + r) && r++, r++, t[n + r];
|
|
@@ -84,10 +84,10 @@ function Is(e) {
|
|
|
84
84
|
function p() {
|
|
85
85
|
n = 0, s = 1, l = 1, r = 0;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function O(N = 0) {
|
|
88
88
|
r = N;
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function y() {
|
|
91
91
|
const N = n + r;
|
|
92
92
|
for (; N !== n; )
|
|
93
93
|
d();
|
|
@@ -97,19 +97,19 @@ function Is(e) {
|
|
|
97
97
|
index: E,
|
|
98
98
|
line: g,
|
|
99
99
|
column: C,
|
|
100
|
-
peekOffset:
|
|
101
|
-
charAt:
|
|
102
|
-
currentChar:
|
|
100
|
+
peekOffset: D,
|
|
101
|
+
charAt: T,
|
|
102
|
+
currentChar: k,
|
|
103
103
|
currentPeek: i,
|
|
104
104
|
next: d,
|
|
105
105
|
peek: v,
|
|
106
106
|
reset: p,
|
|
107
|
-
resetPeek:
|
|
108
|
-
skipToPeek:
|
|
107
|
+
resetPeek: O,
|
|
108
|
+
skipToPeek: y
|
|
109
109
|
};
|
|
110
110
|
}
|
|
111
|
-
const
|
|
112
|
-
function
|
|
111
|
+
const he = void 0, Ns = ".", tn = "'", vs = "tokenizer";
|
|
112
|
+
function Ts(e, t = {}) {
|
|
113
113
|
const n = t.location !== !1, s = Is(e), l = () => s.index(), r = () => fs(s.line(), s.column(), s.index()), c = r(), m = l(), u = {
|
|
114
114
|
currentType: 13,
|
|
115
115
|
offset: m,
|
|
@@ -122,42 +122,42 @@ function ys(e, t = {}) {
|
|
|
122
122
|
braceNest: 0,
|
|
123
123
|
inLinked: !1,
|
|
124
124
|
text: ""
|
|
125
|
-
}, _ = () => u, { onError:
|
|
126
|
-
function E(a, o,
|
|
127
|
-
const
|
|
128
|
-
if (o.column +=
|
|
129
|
-
const P = n ? St(
|
|
125
|
+
}, _ = () => u, { onError: h } = t;
|
|
126
|
+
function E(a, o, b, ...A) {
|
|
127
|
+
const Z = _();
|
|
128
|
+
if (o.column += b, o.offset += b, h) {
|
|
129
|
+
const P = n ? St(Z.startLoc, o) : null, f = ot(a, P, {
|
|
130
130
|
domain: vs,
|
|
131
131
|
args: A
|
|
132
132
|
});
|
|
133
|
-
|
|
133
|
+
h(f);
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
|
-
function g(a, o,
|
|
136
|
+
function g(a, o, b) {
|
|
137
137
|
a.endLoc = r(), a.currentType = o;
|
|
138
138
|
const A = { type: o };
|
|
139
|
-
return n && (A.loc = St(a.startLoc, a.endLoc)),
|
|
139
|
+
return n && (A.loc = St(a.startLoc, a.endLoc)), b != null && (A.value = b), A;
|
|
140
140
|
}
|
|
141
141
|
const C = (a) => g(
|
|
142
142
|
a,
|
|
143
143
|
13
|
|
144
144
|
/* TokenTypes.EOF */
|
|
145
145
|
);
|
|
146
|
-
function
|
|
146
|
+
function D(a, o) {
|
|
147
147
|
return a.currentChar() === o ? (a.next(), o) : (E(U.EXPECTED_TOKEN, r(), 0, o), "");
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function T(a) {
|
|
150
150
|
let o = "";
|
|
151
151
|
for (; a.currentPeek() === _e || a.currentPeek() === q; )
|
|
152
152
|
o += a.currentPeek(), a.peek();
|
|
153
153
|
return o;
|
|
154
154
|
}
|
|
155
|
-
function
|
|
156
|
-
const o =
|
|
155
|
+
function k(a) {
|
|
156
|
+
const o = T(a);
|
|
157
157
|
return a.skipToPeek(), o;
|
|
158
158
|
}
|
|
159
159
|
function i(a) {
|
|
160
|
-
if (a ===
|
|
160
|
+
if (a === he)
|
|
161
161
|
return !1;
|
|
162
162
|
const o = a.charCodeAt(0);
|
|
163
163
|
return o >= 97 && o <= 122 || // a-z
|
|
@@ -165,84 +165,84 @@ function ys(e, t = {}) {
|
|
|
165
165
|
o === 95;
|
|
166
166
|
}
|
|
167
167
|
function d(a) {
|
|
168
|
-
if (a ===
|
|
168
|
+
if (a === he)
|
|
169
169
|
return !1;
|
|
170
170
|
const o = a.charCodeAt(0);
|
|
171
171
|
return o >= 48 && o <= 57;
|
|
172
172
|
}
|
|
173
173
|
function v(a, o) {
|
|
174
|
-
const { currentType:
|
|
175
|
-
if (
|
|
174
|
+
const { currentType: b } = o;
|
|
175
|
+
if (b !== 2)
|
|
176
176
|
return !1;
|
|
177
|
-
|
|
177
|
+
T(a);
|
|
178
178
|
const A = i(a.currentPeek());
|
|
179
179
|
return a.resetPeek(), A;
|
|
180
180
|
}
|
|
181
181
|
function p(a, o) {
|
|
182
|
-
const { currentType:
|
|
183
|
-
if (
|
|
182
|
+
const { currentType: b } = o;
|
|
183
|
+
if (b !== 2)
|
|
184
184
|
return !1;
|
|
185
|
-
|
|
186
|
-
const A = a.currentPeek() === "-" ? a.peek() : a.currentPeek(),
|
|
187
|
-
return a.resetPeek(),
|
|
185
|
+
T(a);
|
|
186
|
+
const A = a.currentPeek() === "-" ? a.peek() : a.currentPeek(), Z = d(A);
|
|
187
|
+
return a.resetPeek(), Z;
|
|
188
188
|
}
|
|
189
|
-
function
|
|
190
|
-
const { currentType:
|
|
191
|
-
if (
|
|
189
|
+
function O(a, o) {
|
|
190
|
+
const { currentType: b } = o;
|
|
191
|
+
if (b !== 2)
|
|
192
192
|
return !1;
|
|
193
|
-
|
|
193
|
+
T(a);
|
|
194
194
|
const A = a.currentPeek() === tn;
|
|
195
195
|
return a.resetPeek(), A;
|
|
196
196
|
}
|
|
197
|
-
function
|
|
198
|
-
const { currentType:
|
|
199
|
-
if (
|
|
197
|
+
function y(a, o) {
|
|
198
|
+
const { currentType: b } = o;
|
|
199
|
+
if (b !== 7)
|
|
200
200
|
return !1;
|
|
201
|
-
|
|
201
|
+
T(a);
|
|
202
202
|
const A = a.currentPeek() === ".";
|
|
203
203
|
return a.resetPeek(), A;
|
|
204
204
|
}
|
|
205
205
|
function N(a, o) {
|
|
206
|
-
const { currentType:
|
|
207
|
-
if (
|
|
206
|
+
const { currentType: b } = o;
|
|
207
|
+
if (b !== 8)
|
|
208
208
|
return !1;
|
|
209
|
-
|
|
209
|
+
T(a);
|
|
210
210
|
const A = i(a.currentPeek());
|
|
211
211
|
return a.resetPeek(), A;
|
|
212
212
|
}
|
|
213
213
|
function X(a, o) {
|
|
214
|
-
const { currentType:
|
|
215
|
-
if (!(
|
|
214
|
+
const { currentType: b } = o;
|
|
215
|
+
if (!(b === 7 || b === 11))
|
|
216
216
|
return !1;
|
|
217
|
-
|
|
217
|
+
T(a);
|
|
218
218
|
const A = a.currentPeek() === ":";
|
|
219
219
|
return a.resetPeek(), A;
|
|
220
220
|
}
|
|
221
221
|
function j(a, o) {
|
|
222
|
-
const { currentType:
|
|
223
|
-
if (
|
|
222
|
+
const { currentType: b } = o;
|
|
223
|
+
if (b !== 9)
|
|
224
224
|
return !1;
|
|
225
225
|
const A = () => {
|
|
226
226
|
const P = a.currentPeek();
|
|
227
227
|
return P === "{" ? i(a.peek()) : P === "@" || P === "|" || P === ":" || P === "." || P === _e || !P ? !1 : P === q ? (a.peek(), A()) : S(a, !1);
|
|
228
|
-
},
|
|
229
|
-
return a.resetPeek(),
|
|
228
|
+
}, Z = A();
|
|
229
|
+
return a.resetPeek(), Z;
|
|
230
230
|
}
|
|
231
|
-
function
|
|
232
|
-
|
|
231
|
+
function M(a) {
|
|
232
|
+
T(a);
|
|
233
233
|
const o = a.currentPeek() === "|";
|
|
234
234
|
return a.resetPeek(), o;
|
|
235
235
|
}
|
|
236
236
|
function S(a, o = !0) {
|
|
237
|
-
const
|
|
237
|
+
const b = (Z = !1, P = "") => {
|
|
238
238
|
const f = a.currentPeek();
|
|
239
|
-
return f === "{" || f === "@" || !f ?
|
|
240
|
-
}, A =
|
|
239
|
+
return f === "{" || f === "@" || !f ? Z : f === "|" ? !(P === _e || P === q) : f === _e ? (a.peek(), b(!0, _e)) : f === q ? (a.peek(), b(!0, q)) : !0;
|
|
240
|
+
}, A = b();
|
|
241
241
|
return o && a.resetPeek(), A;
|
|
242
242
|
}
|
|
243
243
|
function L(a, o) {
|
|
244
|
-
const
|
|
245
|
-
return
|
|
244
|
+
const b = a.currentChar();
|
|
245
|
+
return b === he ? he : o(b) ? (a.next(), b) : null;
|
|
246
246
|
}
|
|
247
247
|
function x(a) {
|
|
248
248
|
const o = a.charCodeAt(0);
|
|
@@ -280,58 +280,58 @@ function ys(e, t = {}) {
|
|
|
280
280
|
o >= 65 && o <= 70 || // A-F
|
|
281
281
|
o >= 97 && o <= 102;
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function He(a) {
|
|
284
284
|
return L(a, de);
|
|
285
285
|
}
|
|
286
286
|
function Be(a) {
|
|
287
|
-
let o = "",
|
|
287
|
+
let o = "", b = "";
|
|
288
288
|
for (; o = mt(a); )
|
|
289
|
-
|
|
290
|
-
return
|
|
289
|
+
b += o;
|
|
290
|
+
return b;
|
|
291
291
|
}
|
|
292
292
|
function dt(a) {
|
|
293
293
|
let o = "";
|
|
294
294
|
for (; ; ) {
|
|
295
|
-
const
|
|
296
|
-
if (
|
|
295
|
+
const b = a.currentChar();
|
|
296
|
+
if (b === "{" || b === "}" || b === "@" || b === "|" || !b)
|
|
297
297
|
break;
|
|
298
|
-
if (
|
|
298
|
+
if (b === _e || b === q)
|
|
299
299
|
if (S(a))
|
|
300
|
-
o +=
|
|
300
|
+
o += b, a.next();
|
|
301
301
|
else {
|
|
302
|
-
if (
|
|
302
|
+
if (M(a))
|
|
303
303
|
break;
|
|
304
|
-
o +=
|
|
304
|
+
o += b, a.next();
|
|
305
305
|
}
|
|
306
306
|
else
|
|
307
|
-
o +=
|
|
307
|
+
o += b, a.next();
|
|
308
308
|
}
|
|
309
309
|
return o;
|
|
310
310
|
}
|
|
311
311
|
function _t(a) {
|
|
312
|
-
|
|
313
|
-
let o = "",
|
|
312
|
+
k(a);
|
|
313
|
+
let o = "", b = "";
|
|
314
314
|
for (; o = oe(a); )
|
|
315
|
-
|
|
316
|
-
return a.currentChar() ===
|
|
315
|
+
b += o;
|
|
316
|
+
return a.currentChar() === he && E(U.UNTERMINATED_CLOSING_BRACE, r(), 0), b;
|
|
317
317
|
}
|
|
318
318
|
function ft(a) {
|
|
319
|
-
|
|
319
|
+
k(a);
|
|
320
320
|
let o = "";
|
|
321
|
-
return a.currentChar() === "-" ? (a.next(), o += `-${Be(a)}`) : o += Be(a), a.currentChar() ===
|
|
321
|
+
return a.currentChar() === "-" ? (a.next(), o += `-${Be(a)}`) : o += Be(a), a.currentChar() === he && E(U.UNTERMINATED_CLOSING_BRACE, r(), 0), o;
|
|
322
322
|
}
|
|
323
323
|
function $t(a) {
|
|
324
324
|
return a !== tn && a !== q;
|
|
325
325
|
}
|
|
326
326
|
function pt(a) {
|
|
327
|
-
|
|
328
|
-
let o = "",
|
|
327
|
+
k(a), D(a, "'");
|
|
328
|
+
let o = "", b = "";
|
|
329
329
|
for (; o = L(a, $t); )
|
|
330
|
-
o === "\\" ?
|
|
330
|
+
o === "\\" ? b += bt(a) : b += o;
|
|
331
331
|
const A = a.currentChar();
|
|
332
|
-
return A === q || A ===
|
|
332
|
+
return A === q || A === he ? (E(U.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, r(), 0), A === q && (a.next(), D(a, "'")), b) : (D(a, "'"), b);
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function bt(a) {
|
|
335
335
|
const o = a.currentChar();
|
|
336
336
|
switch (o) {
|
|
337
337
|
case "\\":
|
|
@@ -345,11 +345,11 @@ function ys(e, t = {}) {
|
|
|
345
345
|
return E(U.UNKNOWN_ESCAPE_SEQUENCE, r(), 0, o), "";
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
|
-
function Je(a, o,
|
|
349
|
-
|
|
348
|
+
function Je(a, o, b) {
|
|
349
|
+
D(a, o);
|
|
350
350
|
let A = "";
|
|
351
|
-
for (let
|
|
352
|
-
const P =
|
|
351
|
+
for (let Z = 0; Z < b; Z++) {
|
|
352
|
+
const P = He(a);
|
|
353
353
|
if (!P) {
|
|
354
354
|
E(U.INVALID_UNICODE_ESCAPE_SEQUENCE, r(), 0, `\\${o}${A}${a.currentChar()}`);
|
|
355
355
|
break;
|
|
@@ -358,81 +358,81 @@ function ys(e, t = {}) {
|
|
|
358
358
|
}
|
|
359
359
|
return `\\${o}${A}`;
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function ht(a) {
|
|
362
362
|
return a !== "{" && a !== "}" && a !== _e && a !== q;
|
|
363
363
|
}
|
|
364
364
|
function gt(a) {
|
|
365
|
-
|
|
366
|
-
let o = "",
|
|
367
|
-
for (; o = L(a,
|
|
368
|
-
|
|
369
|
-
return
|
|
365
|
+
k(a);
|
|
366
|
+
let o = "", b = "";
|
|
367
|
+
for (; o = L(a, ht); )
|
|
368
|
+
b += o;
|
|
369
|
+
return b;
|
|
370
370
|
}
|
|
371
371
|
function Et(a) {
|
|
372
|
-
let o = "",
|
|
372
|
+
let o = "", b = "";
|
|
373
373
|
for (; o = re(a); )
|
|
374
|
-
|
|
375
|
-
return
|
|
374
|
+
b += o;
|
|
375
|
+
return b;
|
|
376
376
|
}
|
|
377
377
|
function It(a) {
|
|
378
|
-
const o = (
|
|
378
|
+
const o = (b) => {
|
|
379
379
|
const A = a.currentChar();
|
|
380
|
-
return A === "{" || A === "@" || A === "|" || A === "(" || A === ")" || !A || A === _e ?
|
|
380
|
+
return A === "{" || A === "@" || A === "|" || A === "(" || A === ")" || !A || A === _e ? b : (b += A, a.next(), o(b));
|
|
381
381
|
};
|
|
382
382
|
return o("");
|
|
383
383
|
}
|
|
384
384
|
function Fe(a) {
|
|
385
|
-
|
|
386
|
-
const o =
|
|
385
|
+
k(a);
|
|
386
|
+
const o = D(
|
|
387
387
|
a,
|
|
388
388
|
"|"
|
|
389
389
|
/* TokenChars.Pipe */
|
|
390
390
|
);
|
|
391
|
-
return
|
|
391
|
+
return k(a), o;
|
|
392
392
|
}
|
|
393
393
|
function Re(a, o) {
|
|
394
|
-
let
|
|
394
|
+
let b = null;
|
|
395
395
|
switch (a.currentChar()) {
|
|
396
396
|
case "{":
|
|
397
|
-
return o.braceNest >= 1 && E(U.NOT_ALLOW_NEST_PLACEHOLDER, r(), 0), a.next(),
|
|
397
|
+
return o.braceNest >= 1 && E(U.NOT_ALLOW_NEST_PLACEHOLDER, r(), 0), a.next(), b = g(
|
|
398
398
|
o,
|
|
399
399
|
2,
|
|
400
400
|
"{"
|
|
401
401
|
/* TokenChars.BraceLeft */
|
|
402
|
-
),
|
|
402
|
+
), k(a), o.braceNest++, b;
|
|
403
403
|
case "}":
|
|
404
|
-
return o.braceNest > 0 && o.currentType === 2 && E(U.EMPTY_PLACEHOLDER, r(), 0), a.next(),
|
|
404
|
+
return o.braceNest > 0 && o.currentType === 2 && E(U.EMPTY_PLACEHOLDER, r(), 0), a.next(), b = g(
|
|
405
405
|
o,
|
|
406
406
|
3,
|
|
407
407
|
"}"
|
|
408
408
|
/* TokenChars.BraceRight */
|
|
409
|
-
), o.braceNest--, o.braceNest > 0 &&
|
|
409
|
+
), o.braceNest--, o.braceNest > 0 && k(a), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), b;
|
|
410
410
|
case "@":
|
|
411
|
-
return o.braceNest > 0 && E(U.UNTERMINATED_CLOSING_BRACE, r(), 0),
|
|
411
|
+
return o.braceNest > 0 && E(U.UNTERMINATED_CLOSING_BRACE, r(), 0), b = Ce(a, o) || C(o), o.braceNest = 0, b;
|
|
412
412
|
default: {
|
|
413
|
-
let
|
|
414
|
-
if (
|
|
415
|
-
return o.braceNest > 0 && E(U.UNTERMINATED_CLOSING_BRACE, r(), 0),
|
|
413
|
+
let Z = !0, P = !0, f = !0;
|
|
414
|
+
if (M(a))
|
|
415
|
+
return o.braceNest > 0 && E(U.UNTERMINATED_CLOSING_BRACE, r(), 0), b = g(o, 1, Fe(a)), o.braceNest = 0, o.inLinked = !1, b;
|
|
416
416
|
if (o.braceNest > 0 && (o.currentType === 4 || o.currentType === 5 || o.currentType === 6))
|
|
417
417
|
return E(U.UNTERMINATED_CLOSING_BRACE, r(), 0), o.braceNest = 0, Ue(a, o);
|
|
418
|
-
if (
|
|
419
|
-
return
|
|
418
|
+
if (Z = v(a, o))
|
|
419
|
+
return b = g(o, 4, _t(a)), k(a), b;
|
|
420
420
|
if (P = p(a, o))
|
|
421
|
-
return
|
|
422
|
-
if (f =
|
|
423
|
-
return
|
|
424
|
-
if (!
|
|
425
|
-
return
|
|
421
|
+
return b = g(o, 5, ft(a)), k(a), b;
|
|
422
|
+
if (f = O(a, o))
|
|
423
|
+
return b = g(o, 6, pt(a)), k(a), b;
|
|
424
|
+
if (!Z && !P && !f)
|
|
425
|
+
return b = g(o, 12, gt(a)), E(U.INVALID_TOKEN_IN_PLACEHOLDER, r(), 0, b.value), k(a), b;
|
|
426
426
|
break;
|
|
427
427
|
}
|
|
428
428
|
}
|
|
429
|
-
return
|
|
429
|
+
return b;
|
|
430
430
|
}
|
|
431
431
|
function Ce(a, o) {
|
|
432
|
-
const { currentType:
|
|
432
|
+
const { currentType: b } = o;
|
|
433
433
|
let A = null;
|
|
434
|
-
const
|
|
435
|
-
switch ((
|
|
434
|
+
const Z = a.currentChar();
|
|
435
|
+
switch ((b === 7 || b === 8 || b === 11 || b === 9) && (Z === q || Z === _e) && E(U.INVALID_LINKED_FORMAT, r(), 0), Z) {
|
|
436
436
|
case "@":
|
|
437
437
|
return a.next(), A = g(
|
|
438
438
|
o,
|
|
@@ -441,25 +441,25 @@ function ys(e, t = {}) {
|
|
|
441
441
|
/* TokenChars.LinkedAlias */
|
|
442
442
|
), o.inLinked = !0, A;
|
|
443
443
|
case ".":
|
|
444
|
-
return
|
|
444
|
+
return k(a), a.next(), g(
|
|
445
445
|
o,
|
|
446
446
|
8,
|
|
447
447
|
"."
|
|
448
448
|
/* TokenChars.LinkedDot */
|
|
449
449
|
);
|
|
450
450
|
case ":":
|
|
451
|
-
return
|
|
451
|
+
return k(a), a.next(), g(
|
|
452
452
|
o,
|
|
453
453
|
9,
|
|
454
454
|
":"
|
|
455
455
|
/* TokenChars.LinkedDelimiter */
|
|
456
456
|
);
|
|
457
457
|
default:
|
|
458
|
-
return
|
|
458
|
+
return M(a) ? (A = g(o, 1, Fe(a)), o.braceNest = 0, o.inLinked = !1, A) : y(a, o) || X(a, o) ? (k(a), Ce(a, o)) : N(a, o) ? (k(a), g(o, 11, Et(a))) : j(a, o) ? (k(a), Z === "{" ? Re(a, o) || A : g(o, 10, It(a))) : (b === 7 && E(U.INVALID_LINKED_FORMAT, r(), 0), o.braceNest = 0, o.inLinked = !1, Ue(a, o));
|
|
459
459
|
}
|
|
460
460
|
}
|
|
461
461
|
function Ue(a, o) {
|
|
462
|
-
let
|
|
462
|
+
let b = {
|
|
463
463
|
type: 13
|
|
464
464
|
/* TokenTypes.EOF */
|
|
465
465
|
};
|
|
@@ -480,18 +480,18 @@ function ys(e, t = {}) {
|
|
|
480
480
|
case "@":
|
|
481
481
|
return Ce(a, o) || C(o);
|
|
482
482
|
default: {
|
|
483
|
-
if (
|
|
484
|
-
return
|
|
483
|
+
if (M(a))
|
|
484
|
+
return b = g(o, 1, Fe(a)), o.braceNest = 0, o.inLinked = !1, b;
|
|
485
485
|
if (S(a))
|
|
486
486
|
return g(o, 0, dt(a));
|
|
487
487
|
break;
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
|
-
return
|
|
490
|
+
return b;
|
|
491
491
|
}
|
|
492
492
|
function Nt() {
|
|
493
|
-
const { currentType: a, offset: o, startLoc:
|
|
494
|
-
return u.lastType = a, u.lastOffset = o, u.lastStartLoc =
|
|
493
|
+
const { currentType: a, offset: o, startLoc: b, endLoc: A } = u;
|
|
494
|
+
return u.lastType = a, u.lastOffset = o, u.lastStartLoc = b, u.lastEndLoc = A, u.offset = l(), u.startLoc = r(), s.currentChar() === he ? g(
|
|
495
495
|
u,
|
|
496
496
|
13
|
|
497
497
|
/* TokenTypes.EOF */
|
|
@@ -504,8 +504,8 @@ function ys(e, t = {}) {
|
|
|
504
504
|
context: _
|
|
505
505
|
};
|
|
506
506
|
}
|
|
507
|
-
const
|
|
508
|
-
function
|
|
507
|
+
const ys = "parser", ks = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
|
|
508
|
+
function Os(e, t, n) {
|
|
509
509
|
switch (e) {
|
|
510
510
|
case "\\\\":
|
|
511
511
|
return "\\";
|
|
@@ -519,12 +519,12 @@ function ks(e, t, n) {
|
|
|
519
519
|
}
|
|
520
520
|
function Ls(e = {}) {
|
|
521
521
|
const t = e.location !== !1, { onError: n } = e;
|
|
522
|
-
function s(i, d, v, p, ...
|
|
523
|
-
const
|
|
524
|
-
if (
|
|
525
|
-
const N = t ? St(v,
|
|
526
|
-
domain:
|
|
527
|
-
args:
|
|
522
|
+
function s(i, d, v, p, ...O) {
|
|
523
|
+
const y = i.currentPosition();
|
|
524
|
+
if (y.offset += p, y.column += p, n) {
|
|
525
|
+
const N = t ? St(v, y) : null, X = ot(d, N, {
|
|
526
|
+
domain: ys,
|
|
527
|
+
args: O
|
|
528
528
|
});
|
|
529
529
|
n(X);
|
|
530
530
|
}
|
|
@@ -541,24 +541,24 @@ function Ls(e = {}) {
|
|
|
541
541
|
return p.value = d, r(p, i.currentOffset(), i.currentPosition()), p;
|
|
542
542
|
}
|
|
543
543
|
function m(i, d) {
|
|
544
|
-
const v = i.context(), { lastOffset: p, lastStartLoc:
|
|
545
|
-
return
|
|
544
|
+
const v = i.context(), { lastOffset: p, lastStartLoc: O } = v, y = l(5, p, O);
|
|
545
|
+
return y.index = parseInt(d, 10), i.nextToken(), r(y, i.currentOffset(), i.currentPosition()), y;
|
|
546
546
|
}
|
|
547
547
|
function u(i, d) {
|
|
548
|
-
const v = i.context(), { lastOffset: p, lastStartLoc:
|
|
549
|
-
return
|
|
548
|
+
const v = i.context(), { lastOffset: p, lastStartLoc: O } = v, y = l(4, p, O);
|
|
549
|
+
return y.key = d, i.nextToken(), r(y, i.currentOffset(), i.currentPosition()), y;
|
|
550
550
|
}
|
|
551
551
|
function _(i, d) {
|
|
552
|
-
const v = i.context(), { lastOffset: p, lastStartLoc:
|
|
553
|
-
return
|
|
552
|
+
const v = i.context(), { lastOffset: p, lastStartLoc: O } = v, y = l(9, p, O);
|
|
553
|
+
return y.value = d.replace(ks, Os), i.nextToken(), r(y, i.currentOffset(), i.currentPosition()), y;
|
|
554
554
|
}
|
|
555
|
-
function
|
|
556
|
-
const d = i.nextToken(), v = i.context(), { lastOffset: p, lastStartLoc:
|
|
557
|
-
return d.type !== 11 ? (s(i, U.UNEXPECTED_EMPTY_LINKED_MODIFIER, v.lastStartLoc, 0),
|
|
555
|
+
function h(i) {
|
|
556
|
+
const d = i.nextToken(), v = i.context(), { lastOffset: p, lastStartLoc: O } = v, y = l(8, p, O);
|
|
557
|
+
return d.type !== 11 ? (s(i, U.UNEXPECTED_EMPTY_LINKED_MODIFIER, v.lastStartLoc, 0), y.value = "", r(y, p, O), {
|
|
558
558
|
nextConsumeToken: d,
|
|
559
|
-
node:
|
|
560
|
-
}) : (d.value == null && s(i, U.UNEXPECTED_LEXICAL_ANALYSIS, v.lastStartLoc, 0, ue(d)),
|
|
561
|
-
node:
|
|
559
|
+
node: y
|
|
560
|
+
}) : (d.value == null && s(i, U.UNEXPECTED_LEXICAL_ANALYSIS, v.lastStartLoc, 0, ue(d)), y.value = d.value || "", r(y, i.currentOffset(), i.currentPosition()), {
|
|
561
|
+
node: y
|
|
562
562
|
});
|
|
563
563
|
}
|
|
564
564
|
function E(i, d) {
|
|
@@ -569,8 +569,8 @@ function Ls(e = {}) {
|
|
|
569
569
|
const d = i.context(), v = l(6, d.offset, d.startLoc);
|
|
570
570
|
let p = i.nextToken();
|
|
571
571
|
if (p.type === 8) {
|
|
572
|
-
const
|
|
573
|
-
v.modifier =
|
|
572
|
+
const O = h(i);
|
|
573
|
+
v.modifier = O.node, p = O.nextConsumeToken || i.nextToken();
|
|
574
574
|
}
|
|
575
575
|
switch (p.type !== 9 && s(i, U.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ue(p)), p = i.nextToken(), p.type === 2 && (p = i.nextToken()), p.type) {
|
|
576
576
|
case 10:
|
|
@@ -587,8 +587,8 @@ function Ls(e = {}) {
|
|
|
587
587
|
break;
|
|
588
588
|
default: {
|
|
589
589
|
s(i, U.UNEXPECTED_EMPTY_LINKED_KEY, d.lastStartLoc, 0);
|
|
590
|
-
const
|
|
591
|
-
return
|
|
590
|
+
const O = i.context(), y = l(7, O.offset, O.startLoc);
|
|
591
|
+
return y.value = "", r(y, O.offset, O.startLoc), v.key = y, r(v, O.offset, O.startLoc), {
|
|
592
592
|
nextConsumeToken: p,
|
|
593
593
|
node: v
|
|
594
594
|
};
|
|
@@ -599,54 +599,54 @@ function Ls(e = {}) {
|
|
|
599
599
|
};
|
|
600
600
|
}
|
|
601
601
|
function C(i) {
|
|
602
|
-
const d = i.context(), v = d.currentType === 1 ? i.currentOffset() : d.offset, p = d.currentType === 1 ? d.endLoc : d.startLoc,
|
|
603
|
-
|
|
604
|
-
let
|
|
602
|
+
const d = i.context(), v = d.currentType === 1 ? i.currentOffset() : d.offset, p = d.currentType === 1 ? d.endLoc : d.startLoc, O = l(2, v, p);
|
|
603
|
+
O.items = [];
|
|
604
|
+
let y = null;
|
|
605
605
|
do {
|
|
606
|
-
const j =
|
|
607
|
-
switch (
|
|
606
|
+
const j = y || i.nextToken();
|
|
607
|
+
switch (y = null, j.type) {
|
|
608
608
|
case 0:
|
|
609
|
-
j.value == null && s(i, U.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ue(j)),
|
|
609
|
+
j.value == null && s(i, U.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ue(j)), O.items.push(c(i, j.value || ""));
|
|
610
610
|
break;
|
|
611
611
|
case 5:
|
|
612
|
-
j.value == null && s(i, U.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ue(j)),
|
|
612
|
+
j.value == null && s(i, U.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ue(j)), O.items.push(m(i, j.value || ""));
|
|
613
613
|
break;
|
|
614
614
|
case 4:
|
|
615
|
-
j.value == null && s(i, U.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ue(j)),
|
|
615
|
+
j.value == null && s(i, U.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ue(j)), O.items.push(u(i, j.value || ""));
|
|
616
616
|
break;
|
|
617
617
|
case 6:
|
|
618
|
-
j.value == null && s(i, U.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ue(j)),
|
|
618
|
+
j.value == null && s(i, U.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ue(j)), O.items.push(_(i, j.value || ""));
|
|
619
619
|
break;
|
|
620
620
|
case 7: {
|
|
621
|
-
const
|
|
622
|
-
|
|
621
|
+
const M = g(i);
|
|
622
|
+
O.items.push(M.node), y = M.nextConsumeToken || null;
|
|
623
623
|
break;
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
626
|
} while (d.currentType !== 13 && d.currentType !== 1);
|
|
627
627
|
const N = d.currentType === 1 ? d.lastOffset : i.currentOffset(), X = d.currentType === 1 ? d.lastEndLoc : i.currentPosition();
|
|
628
|
-
return r(
|
|
628
|
+
return r(O, N, X), O;
|
|
629
629
|
}
|
|
630
|
-
function
|
|
631
|
-
const
|
|
632
|
-
let
|
|
630
|
+
function D(i, d, v, p) {
|
|
631
|
+
const O = i.context();
|
|
632
|
+
let y = p.items.length === 0;
|
|
633
633
|
const N = l(1, d, v);
|
|
634
634
|
N.cases = [], N.cases.push(p);
|
|
635
635
|
do {
|
|
636
636
|
const X = C(i);
|
|
637
|
-
|
|
638
|
-
} while (
|
|
639
|
-
return
|
|
637
|
+
y || (y = X.items.length === 0), N.cases.push(X);
|
|
638
|
+
} while (O.currentType !== 13);
|
|
639
|
+
return y && s(i, U.MUST_HAVE_MESSAGES_IN_PLURAL, v, 0), r(N, i.currentOffset(), i.currentPosition()), N;
|
|
640
640
|
}
|
|
641
|
-
function
|
|
642
|
-
const d = i.context(), { offset: v, startLoc: p } = d,
|
|
643
|
-
return d.currentType === 13 ?
|
|
641
|
+
function T(i) {
|
|
642
|
+
const d = i.context(), { offset: v, startLoc: p } = d, O = C(i);
|
|
643
|
+
return d.currentType === 13 ? O : D(i, v, p, O);
|
|
644
644
|
}
|
|
645
|
-
function
|
|
646
|
-
const d =
|
|
647
|
-
return t && p.loc && (p.loc.source = i), p.body =
|
|
645
|
+
function k(i) {
|
|
646
|
+
const d = Ts(i, K({}, e)), v = d.context(), p = l(0, v.offset, v.startLoc);
|
|
647
|
+
return t && p.loc && (p.loc.source = i), p.body = T(d), e.onCacheKey && (p.cacheKey = e.onCacheKey(i)), v.currentType !== 13 && s(d, U.UNEXPECTED_LEXICAL_ANALYSIS, v.lastStartLoc, 0, i[v.offset] || ""), r(p, d.currentOffset(), d.currentPosition()), p;
|
|
648
648
|
}
|
|
649
|
-
return { parse:
|
|
649
|
+
return { parse: k };
|
|
650
650
|
}
|
|
651
651
|
function ue(e) {
|
|
652
652
|
if (e.type === 13)
|
|
@@ -801,20 +801,20 @@ function As(e, t) {
|
|
|
801
801
|
};
|
|
802
802
|
r && e.loc && (c.source = e.loc.source);
|
|
803
803
|
const m = () => c;
|
|
804
|
-
function u(
|
|
805
|
-
c.code +=
|
|
804
|
+
function u(T, k) {
|
|
805
|
+
c.code += T;
|
|
806
806
|
}
|
|
807
|
-
function _(
|
|
808
|
-
const i =
|
|
809
|
-
u(l ? i + " ".repeat(
|
|
807
|
+
function _(T, k = !0) {
|
|
808
|
+
const i = k ? s : "";
|
|
809
|
+
u(l ? i + " ".repeat(T) : i);
|
|
810
810
|
}
|
|
811
|
-
function
|
|
812
|
-
const
|
|
813
|
-
|
|
811
|
+
function h(T = !0) {
|
|
812
|
+
const k = ++c.indentLevel;
|
|
813
|
+
T && _(k);
|
|
814
814
|
}
|
|
815
|
-
function E(
|
|
816
|
-
const
|
|
817
|
-
|
|
815
|
+
function E(T = !0) {
|
|
816
|
+
const k = --c.indentLevel;
|
|
817
|
+
T && _(k);
|
|
818
818
|
}
|
|
819
819
|
function g() {
|
|
820
820
|
_(c.indentLevel);
|
|
@@ -822,28 +822,28 @@ function As(e, t) {
|
|
|
822
822
|
return {
|
|
823
823
|
context: m,
|
|
824
824
|
push: u,
|
|
825
|
-
indent:
|
|
825
|
+
indent: h,
|
|
826
826
|
deindent: E,
|
|
827
827
|
newline: g,
|
|
828
|
-
helper: (
|
|
828
|
+
helper: (T) => `_${T}`,
|
|
829
829
|
needIndent: () => c.needIndent
|
|
830
830
|
};
|
|
831
831
|
}
|
|
832
|
-
function
|
|
832
|
+
function Ms(e, t) {
|
|
833
833
|
const { helper: n } = e;
|
|
834
834
|
e.push(`${n(
|
|
835
835
|
"linked"
|
|
836
836
|
/* HelperNameMap.LINKED */
|
|
837
|
-
)}(`),
|
|
837
|
+
)}(`), Me(e, t.key), t.modifier ? (e.push(", "), Me(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
|
|
838
838
|
}
|
|
839
|
-
function
|
|
839
|
+
function Ds(e, t) {
|
|
840
840
|
const { helper: n, needIndent: s } = e;
|
|
841
841
|
e.push(`${n(
|
|
842
842
|
"normalize"
|
|
843
843
|
/* HelperNameMap.NORMALIZE */
|
|
844
844
|
)}([`), e.indent(s());
|
|
845
845
|
const l = t.items.length;
|
|
846
|
-
for (let r = 0; r < l && (
|
|
846
|
+
for (let r = 0; r < l && (Me(e, t.items[r]), r !== l - 1); r++)
|
|
847
847
|
e.push(", ");
|
|
848
848
|
e.deindent(s()), e.push("])");
|
|
849
849
|
}
|
|
@@ -855,15 +855,15 @@ function Ps(e, t) {
|
|
|
855
855
|
/* HelperNameMap.PLURAL */
|
|
856
856
|
)}([`), e.indent(s());
|
|
857
857
|
const l = t.cases.length;
|
|
858
|
-
for (let r = 0; r < l && (
|
|
858
|
+
for (let r = 0; r < l && (Me(e, t.cases[r]), r !== l - 1); r++)
|
|
859
859
|
e.push(", ");
|
|
860
860
|
e.deindent(s()), e.push("])");
|
|
861
861
|
}
|
|
862
862
|
}
|
|
863
863
|
function ws(e, t) {
|
|
864
|
-
t.body ?
|
|
864
|
+
t.body ? Me(e, t.body) : e.push("null");
|
|
865
865
|
}
|
|
866
|
-
function
|
|
866
|
+
function Me(e, t) {
|
|
867
867
|
const { helper: n } = e;
|
|
868
868
|
switch (t.type) {
|
|
869
869
|
case 0:
|
|
@@ -873,10 +873,10 @@ function De(e, t) {
|
|
|
873
873
|
Ps(e, t);
|
|
874
874
|
break;
|
|
875
875
|
case 2:
|
|
876
|
-
|
|
876
|
+
Ds(e, t);
|
|
877
877
|
break;
|
|
878
878
|
case 6:
|
|
879
|
-
|
|
879
|
+
Ms(e, t);
|
|
880
880
|
break;
|
|
881
881
|
case 8:
|
|
882
882
|
e.push(JSON.stringify(t.value), t);
|
|
@@ -919,7 +919,7 @@ const Fs = (e, t = {}) => {
|
|
|
919
919
|
breakLineCode: l,
|
|
920
920
|
needIndent: r
|
|
921
921
|
});
|
|
922
|
-
m.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), m.indent(r), c.length > 0 && (m.push(`const { ${Xt(c.map((
|
|
922
|
+
m.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), m.indent(r), c.length > 0 && (m.push(`const { ${Xt(c.map((h) => `${h}: _${h}`), ", ")} } = ctx`), m.newline()), m.push("return "), Me(m, e), m.deindent(r), m.push("}"), delete e.helpers;
|
|
923
923
|
const { code: u, map: _ } = m.context();
|
|
924
924
|
return {
|
|
925
925
|
ast: e,
|
|
@@ -929,14 +929,14 @@ const Fs = (e, t = {}) => {
|
|
|
929
929
|
};
|
|
930
930
|
};
|
|
931
931
|
function Us(e, t = {}) {
|
|
932
|
-
const n =
|
|
932
|
+
const n = K({}, t), s = !!n.jit, l = !!n.minify, r = n.optimize == null ? !0 : n.optimize, m = Ls(n).parse(e);
|
|
933
933
|
return s ? (r && Ss(m), l && Ae(m), { ast: m, code: "" }) : (Cs(m, n), Fs(m, n));
|
|
934
934
|
}
|
|
935
935
|
var Vs = { env: { NODE_ENV: "production" } };
|
|
936
936
|
function Ws() {
|
|
937
|
-
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (
|
|
937
|
+
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Te().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Te().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
938
938
|
}
|
|
939
|
-
function
|
|
939
|
+
function Tt(e) {
|
|
940
940
|
return (n) => Gs(n, e);
|
|
941
941
|
}
|
|
942
942
|
function Gs(e, t) {
|
|
@@ -946,8 +946,8 @@ function Gs(e, t) {
|
|
|
946
946
|
0
|
|
947
947
|
/* NodeTypes.Resource */
|
|
948
948
|
);
|
|
949
|
-
if (
|
|
950
|
-
const r =
|
|
949
|
+
if (Yt(n) === 1) {
|
|
950
|
+
const r = Ys(n);
|
|
951
951
|
return e.plural(r.reduce((c, m) => [
|
|
952
952
|
...c,
|
|
953
953
|
rn(e, m)
|
|
@@ -960,11 +960,11 @@ function Xs(e) {
|
|
|
960
960
|
return ge(e, js);
|
|
961
961
|
}
|
|
962
962
|
const xs = ["c", "cases"];
|
|
963
|
-
function
|
|
963
|
+
function Ys(e) {
|
|
964
964
|
return ge(e, xs, []);
|
|
965
965
|
}
|
|
966
966
|
function rn(e, t) {
|
|
967
|
-
const n =
|
|
967
|
+
const n = Hs(t);
|
|
968
968
|
if (n != null)
|
|
969
969
|
return e.type === "text" ? n : e.normalize([n]);
|
|
970
970
|
{
|
|
@@ -972,16 +972,16 @@ function rn(e, t) {
|
|
|
972
972
|
return e.normalize(s);
|
|
973
973
|
}
|
|
974
974
|
}
|
|
975
|
-
const
|
|
976
|
-
function
|
|
977
|
-
return ge(e,
|
|
975
|
+
const Zs = ["s", "static"];
|
|
976
|
+
function Hs(e) {
|
|
977
|
+
return ge(e, Zs);
|
|
978
978
|
}
|
|
979
979
|
const Bs = ["i", "items"];
|
|
980
980
|
function Js(e) {
|
|
981
981
|
return ge(e, Bs, []);
|
|
982
982
|
}
|
|
983
983
|
function At(e, t) {
|
|
984
|
-
const n =
|
|
984
|
+
const n = Yt(t);
|
|
985
985
|
switch (n) {
|
|
986
986
|
case 3:
|
|
987
987
|
return Qe(t, n);
|
|
@@ -997,9 +997,9 @@ function At(e, t) {
|
|
|
997
997
|
}
|
|
998
998
|
case 5: {
|
|
999
999
|
const s = t;
|
|
1000
|
-
if (ie(s, "i") &&
|
|
1000
|
+
if (ie(s, "i") && z(s.i))
|
|
1001
1001
|
return e.interpolate(e.list(s.i));
|
|
1002
|
-
if (ie(s, "index") &&
|
|
1002
|
+
if (ie(s, "index") && z(s.index))
|
|
1003
1003
|
return e.interpolate(e.list(s.index));
|
|
1004
1004
|
throw Xe(n);
|
|
1005
1005
|
}
|
|
@@ -1016,19 +1016,19 @@ function At(e, t) {
|
|
|
1016
1016
|
}
|
|
1017
1017
|
}
|
|
1018
1018
|
const $s = ["t", "type"];
|
|
1019
|
-
function
|
|
1019
|
+
function Yt(e) {
|
|
1020
1020
|
return ge(e, $s);
|
|
1021
1021
|
}
|
|
1022
|
-
const
|
|
1022
|
+
const zs = ["v", "value"];
|
|
1023
1023
|
function Qe(e, t) {
|
|
1024
|
-
const n = ge(e,
|
|
1024
|
+
const n = ge(e, zs);
|
|
1025
1025
|
if (n)
|
|
1026
1026
|
return n;
|
|
1027
1027
|
throw Xe(t);
|
|
1028
1028
|
}
|
|
1029
|
-
const
|
|
1029
|
+
const Ks = ["m", "modifier"];
|
|
1030
1030
|
function Qs(e) {
|
|
1031
|
-
return ge(e,
|
|
1031
|
+
return ge(e, Ks);
|
|
1032
1032
|
}
|
|
1033
1033
|
const qs = ["k", "key"];
|
|
1034
1034
|
function er(e) {
|
|
@@ -1053,12 +1053,12 @@ function Xe(e) {
|
|
|
1053
1053
|
}
|
|
1054
1054
|
const tr = (e) => e;
|
|
1055
1055
|
let qe = V();
|
|
1056
|
-
function
|
|
1057
|
-
return F(e) &&
|
|
1056
|
+
function De(e) {
|
|
1057
|
+
return F(e) && Yt(e) === 0 && (ie(e, "b") || ie(e, "body"));
|
|
1058
1058
|
}
|
|
1059
1059
|
function nr(e, t = {}) {
|
|
1060
1060
|
let n = !1;
|
|
1061
|
-
const s = t.onError ||
|
|
1061
|
+
const s = t.onError || bs;
|
|
1062
1062
|
return t.onError = (l) => {
|
|
1063
1063
|
n = !0, s(l);
|
|
1064
1064
|
}, { ...Us(e, t), detectError: n };
|
|
@@ -1074,15 +1074,15 @@ function sr(e, t) {
|
|
|
1074
1074
|
...t,
|
|
1075
1075
|
location: Vs.env.NODE_ENV !== "production",
|
|
1076
1076
|
jit: !0
|
|
1077
|
-
}), m =
|
|
1077
|
+
}), m = Tt(r);
|
|
1078
1078
|
return c ? m : qe[s] = m;
|
|
1079
1079
|
} else {
|
|
1080
1080
|
const n = e.cacheKey;
|
|
1081
1081
|
if (n) {
|
|
1082
1082
|
const s = qe[n];
|
|
1083
|
-
return s || (qe[n] =
|
|
1083
|
+
return s || (qe[n] = Tt(e));
|
|
1084
1084
|
} else
|
|
1085
|
-
return
|
|
1085
|
+
return Tt(e);
|
|
1086
1086
|
}
|
|
1087
1087
|
}
|
|
1088
1088
|
let xe = null;
|
|
@@ -1113,21 +1113,21 @@ const fe = {
|
|
|
1113
1113
|
function pe(e) {
|
|
1114
1114
|
return ot(e, null, void 0);
|
|
1115
1115
|
}
|
|
1116
|
-
function
|
|
1116
|
+
function Zt(e, t) {
|
|
1117
1117
|
return t.locale != null ? an(t.locale) : an(e.locale);
|
|
1118
1118
|
}
|
|
1119
|
-
let
|
|
1119
|
+
let yt;
|
|
1120
1120
|
function an(e) {
|
|
1121
1121
|
if (R(e))
|
|
1122
1122
|
return e;
|
|
1123
|
-
if (
|
|
1124
|
-
if (e.resolvedOnce &&
|
|
1125
|
-
return
|
|
1123
|
+
if (Y(e)) {
|
|
1124
|
+
if (e.resolvedOnce && yt != null)
|
|
1125
|
+
return yt;
|
|
1126
1126
|
if (e.constructor.name === "Function") {
|
|
1127
1127
|
const t = e();
|
|
1128
1128
|
if (ms(t))
|
|
1129
1129
|
throw pe(fe.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
1130
|
-
return
|
|
1130
|
+
return yt = t;
|
|
1131
1131
|
} else
|
|
1132
1132
|
throw pe(fe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
|
|
1133
1133
|
} else
|
|
@@ -1373,13 +1373,13 @@ function pr(e) {
|
|
|
1373
1373
|
}
|
|
1374
1374
|
return "i";
|
|
1375
1375
|
}
|
|
1376
|
-
function
|
|
1376
|
+
function br(e) {
|
|
1377
1377
|
const t = e.trim();
|
|
1378
1378
|
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : _r(t) ? fr(t) : "*" + t;
|
|
1379
1379
|
}
|
|
1380
|
-
function
|
|
1380
|
+
function hr(e) {
|
|
1381
1381
|
const t = [];
|
|
1382
|
-
let n = -1, s = 0, l = 0, r, c, m, u, _,
|
|
1382
|
+
let n = -1, s = 0, l = 0, r, c, m, u, _, h, E;
|
|
1383
1383
|
const g = [];
|
|
1384
1384
|
g[
|
|
1385
1385
|
0
|
|
@@ -1409,7 +1409,7 @@ function br(e) {
|
|
|
1409
1409
|
/* Actions.APPEND */
|
|
1410
1410
|
]();
|
|
1411
1411
|
else {
|
|
1412
|
-
if (l = 0, c === void 0 || (c =
|
|
1412
|
+
if (l = 0, c === void 0 || (c = br(c), c === !1))
|
|
1413
1413
|
return !1;
|
|
1414
1414
|
g[
|
|
1415
1415
|
1
|
|
@@ -1418,16 +1418,16 @@ function br(e) {
|
|
|
1418
1418
|
}
|
|
1419
1419
|
};
|
|
1420
1420
|
function C() {
|
|
1421
|
-
const
|
|
1422
|
-
if (s === 5 &&
|
|
1423
|
-
return n++, m = "\\" +
|
|
1421
|
+
const D = e[n + 1];
|
|
1422
|
+
if (s === 5 && D === "'" || s === 6 && D === '"')
|
|
1423
|
+
return n++, m = "\\" + D, g[
|
|
1424
1424
|
0
|
|
1425
1425
|
/* Actions.APPEND */
|
|
1426
1426
|
](), !0;
|
|
1427
1427
|
}
|
|
1428
1428
|
for (; s !== null; )
|
|
1429
1429
|
if (n++, r = e[n], !(r === "\\" && C())) {
|
|
1430
|
-
if (u = pr(r), E = Ee[s], _ = E[u] || E.l || 8, _ === 8 || (s = _[0], _[1] !== void 0 && (
|
|
1430
|
+
if (u = pr(r), E = Ee[s], _ = E[u] || E.l || 8, _ === 8 || (s = _[0], _[1] !== void 0 && (h = g[_[1]], h && (m = r, h() === !1))))
|
|
1431
1431
|
return;
|
|
1432
1432
|
if (s === 7)
|
|
1433
1433
|
return t;
|
|
@@ -1441,13 +1441,13 @@ function Er(e, t) {
|
|
|
1441
1441
|
if (!F(e))
|
|
1442
1442
|
return null;
|
|
1443
1443
|
let n = on.get(t);
|
|
1444
|
-
if (n || (n =
|
|
1444
|
+
if (n || (n = hr(t), n && on.set(t, n)), !n)
|
|
1445
1445
|
return null;
|
|
1446
1446
|
const s = n.length;
|
|
1447
1447
|
let l = e, r = 0;
|
|
1448
1448
|
for (; r < s; ) {
|
|
1449
1449
|
const c = l[n[r]];
|
|
1450
|
-
if (c === void 0 ||
|
|
1450
|
+
if (c === void 0 || Y(l))
|
|
1451
1451
|
return null;
|
|
1452
1452
|
l = c, r++;
|
|
1453
1453
|
}
|
|
@@ -1466,24 +1466,24 @@ function vr(e) {
|
|
|
1466
1466
|
Sn = e;
|
|
1467
1467
|
}
|
|
1468
1468
|
let An;
|
|
1469
|
-
function yr(e) {
|
|
1470
|
-
An = e;
|
|
1471
|
-
}
|
|
1472
|
-
let Dn;
|
|
1473
1469
|
function Tr(e) {
|
|
1474
|
-
|
|
1470
|
+
An = e;
|
|
1475
1471
|
}
|
|
1476
|
-
let Mn
|
|
1477
|
-
|
|
1472
|
+
let Mn;
|
|
1473
|
+
function yr(e) {
|
|
1478
1474
|
Mn = e;
|
|
1479
|
-
}
|
|
1475
|
+
}
|
|
1476
|
+
let Dn = null;
|
|
1477
|
+
const kr = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
1478
|
+
Dn = e;
|
|
1479
|
+
}, Or = /* @__NO_SIDE_EFFECTS__ */ () => Dn;
|
|
1480
1480
|
let Pn = null;
|
|
1481
1481
|
const mn = (e) => {
|
|
1482
1482
|
Pn = e;
|
|
1483
1483
|
}, Lr = () => Pn;
|
|
1484
1484
|
let dn = 0;
|
|
1485
1485
|
function Rr(e = {}) {
|
|
1486
|
-
const t =
|
|
1486
|
+
const t = Y(e.onWarn) ? e.onWarn : _s, n = R(e.version) ? e.version : Ir, s = R(e.locale) || Y(e.locale) ? e.locale : rt, l = Y(s) ? rt : s, r = $(e.fallbackLocale) || w(e.fallbackLocale) || R(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = w(e.messages) ? e.messages : kt(l), m = w(e.datetimeFormats) ? e.datetimeFormats : kt(l), u = w(e.numberFormats) ? e.numberFormats : kt(l), _ = K(V(), e.modifiers, Nr()), h = e.pluralRules || V(), E = Y(e.missing) ? e.missing : null, g = J(e.missingWarn) || st(e.missingWarn) ? e.missingWarn : !0, C = J(e.fallbackWarn) || st(e.fallbackWarn) ? e.fallbackWarn : !0, D = !!e.fallbackFormat, T = !!e.unresolving, k = Y(e.postTranslation) ? e.postTranslation : null, i = w(e.processor) ? e.processor : null, d = J(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, v = !!e.escapeParameter, p = Y(e.messageCompiler) ? e.messageCompiler : Sn, O = Y(e.messageResolver) ? e.messageResolver : An || gr, y = Y(e.localeFallbacker) ? e.localeFallbacker : Mn || cr, N = F(e.fallbackContext) ? e.fallbackContext : void 0, X = e, j = F(X.__datetimeFormatters) ? X.__datetimeFormatters : /* @__PURE__ */ new Map(), M = F(X.__numberFormatters) ? X.__numberFormatters : /* @__PURE__ */ new Map(), S = F(X.__meta) ? X.__meta : {};
|
|
1487
1487
|
dn++;
|
|
1488
1488
|
const L = {
|
|
1489
1489
|
version: n,
|
|
@@ -1492,27 +1492,27 @@ function Rr(e = {}) {
|
|
|
1492
1492
|
fallbackLocale: r,
|
|
1493
1493
|
messages: c,
|
|
1494
1494
|
modifiers: _,
|
|
1495
|
-
pluralRules:
|
|
1495
|
+
pluralRules: h,
|
|
1496
1496
|
missing: E,
|
|
1497
1497
|
missingWarn: g,
|
|
1498
1498
|
fallbackWarn: C,
|
|
1499
|
-
fallbackFormat:
|
|
1500
|
-
unresolving:
|
|
1501
|
-
postTranslation:
|
|
1499
|
+
fallbackFormat: D,
|
|
1500
|
+
unresolving: T,
|
|
1501
|
+
postTranslation: k,
|
|
1502
1502
|
processor: i,
|
|
1503
1503
|
warnHtmlMessage: d,
|
|
1504
1504
|
escapeParameter: v,
|
|
1505
1505
|
messageCompiler: p,
|
|
1506
|
-
messageResolver:
|
|
1507
|
-
localeFallbacker:
|
|
1506
|
+
messageResolver: O,
|
|
1507
|
+
localeFallbacker: y,
|
|
1508
1508
|
fallbackContext: N,
|
|
1509
1509
|
onWarn: t,
|
|
1510
1510
|
__meta: S
|
|
1511
1511
|
};
|
|
1512
|
-
return L.datetimeFormats = m, L.numberFormats = u, L.__datetimeFormatters = j, L.__numberFormatters =
|
|
1512
|
+
return L.datetimeFormats = m, L.numberFormats = u, L.__datetimeFormatters = j, L.__numberFormatters = M, __INTLIFY_PROD_DEVTOOLS__ && ar(L, n, S), L;
|
|
1513
1513
|
}
|
|
1514
|
-
const
|
|
1515
|
-
function
|
|
1514
|
+
const kt = (e) => ({ [e]: V() });
|
|
1515
|
+
function Ht(e, t, n, s, l) {
|
|
1516
1516
|
const { missing: r, onWarn: c } = e;
|
|
1517
1517
|
if (r !== null) {
|
|
1518
1518
|
const m = r(e, n, t, l);
|
|
@@ -1537,26 +1537,26 @@ function Sr(e, t) {
|
|
|
1537
1537
|
return !1;
|
|
1538
1538
|
}
|
|
1539
1539
|
function _n(e, ...t) {
|
|
1540
|
-
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: r, localeFallbacker: c } = e, { __datetimeFormatters: m } = e, [u, _,
|
|
1541
|
-
J(
|
|
1542
|
-
const C = !!
|
|
1540
|
+
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: r, localeFallbacker: c } = e, { __datetimeFormatters: m } = e, [u, _, h, E] = Mt(...t), g = J(h.missingWarn) ? h.missingWarn : e.missingWarn;
|
|
1541
|
+
J(h.fallbackWarn) ? h.fallbackWarn : e.fallbackWarn;
|
|
1542
|
+
const C = !!h.part, D = Zt(e, h), T = c(
|
|
1543
1543
|
e,
|
|
1544
1544
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1545
1545
|
l,
|
|
1546
|
-
|
|
1546
|
+
D
|
|
1547
1547
|
);
|
|
1548
1548
|
if (!R(u) || u === "")
|
|
1549
|
-
return new Intl.DateTimeFormat(
|
|
1550
|
-
let
|
|
1549
|
+
return new Intl.DateTimeFormat(D, E).format(_);
|
|
1550
|
+
let k = {}, i, d = null;
|
|
1551
1551
|
const v = "datetime format";
|
|
1552
|
-
for (let
|
|
1553
|
-
|
|
1552
|
+
for (let y = 0; y < T.length && (i = T[y], k = n[i] || {}, d = k[u], !w(d)); y++)
|
|
1553
|
+
Ht(e, u, i, g, v);
|
|
1554
1554
|
if (!w(d) || !R(i))
|
|
1555
1555
|
return s ? it : u;
|
|
1556
1556
|
let p = `${i}__${u}`;
|
|
1557
1557
|
lt(E) || (p = `${p}__${JSON.stringify(E)}`);
|
|
1558
|
-
let
|
|
1559
|
-
return
|
|
1558
|
+
let O = m.get(p);
|
|
1559
|
+
return O || (O = new Intl.DateTimeFormat(i, K({}, d, E)), m.set(p, O)), C ? O.formatToParts(_) : O.format(_);
|
|
1560
1560
|
}
|
|
1561
1561
|
const wn = [
|
|
1562
1562
|
"localeMatcher",
|
|
@@ -1580,7 +1580,7 @@ const wn = [
|
|
|
1580
1580
|
"hourCycle",
|
|
1581
1581
|
"fractionalSecondDigits"
|
|
1582
1582
|
];
|
|
1583
|
-
function
|
|
1583
|
+
function Mt(...e) {
|
|
1584
1584
|
const [t, n, s, l] = e, r = V();
|
|
1585
1585
|
let c = V(), m;
|
|
1586
1586
|
if (R(t)) {
|
|
@@ -1598,7 +1598,7 @@ function Dt(...e) {
|
|
|
1598
1598
|
if (isNaN(t.getTime()))
|
|
1599
1599
|
throw pe(fe.INVALID_DATE_ARGUMENT);
|
|
1600
1600
|
m = t;
|
|
1601
|
-
} else if (
|
|
1601
|
+
} else if (z(t))
|
|
1602
1602
|
m = t;
|
|
1603
1603
|
else
|
|
1604
1604
|
throw pe(fe.INVALID_ARGUMENT);
|
|
@@ -1614,26 +1614,26 @@ function fn(e, t, n) {
|
|
|
1614
1614
|
}
|
|
1615
1615
|
}
|
|
1616
1616
|
function pn(e, ...t) {
|
|
1617
|
-
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: r, localeFallbacker: c } = e, { __numberFormatters: m } = e, [u, _,
|
|
1618
|
-
J(
|
|
1619
|
-
const C = !!
|
|
1617
|
+
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: r, localeFallbacker: c } = e, { __numberFormatters: m } = e, [u, _, h, E] = Dt(...t), g = J(h.missingWarn) ? h.missingWarn : e.missingWarn;
|
|
1618
|
+
J(h.fallbackWarn) ? h.fallbackWarn : e.fallbackWarn;
|
|
1619
|
+
const C = !!h.part, D = Zt(e, h), T = c(
|
|
1620
1620
|
e,
|
|
1621
1621
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1622
1622
|
l,
|
|
1623
|
-
|
|
1623
|
+
D
|
|
1624
1624
|
);
|
|
1625
1625
|
if (!R(u) || u === "")
|
|
1626
|
-
return new Intl.NumberFormat(
|
|
1627
|
-
let
|
|
1626
|
+
return new Intl.NumberFormat(D, E).format(_);
|
|
1627
|
+
let k = {}, i, d = null;
|
|
1628
1628
|
const v = "number format";
|
|
1629
|
-
for (let
|
|
1630
|
-
|
|
1629
|
+
for (let y = 0; y < T.length && (i = T[y], k = n[i] || {}, d = k[u], !w(d)); y++)
|
|
1630
|
+
Ht(e, u, i, g, v);
|
|
1631
1631
|
if (!w(d) || !R(i))
|
|
1632
1632
|
return s ? it : u;
|
|
1633
1633
|
let p = `${i}__${u}`;
|
|
1634
1634
|
lt(E) || (p = `${p}__${JSON.stringify(E)}`);
|
|
1635
|
-
let
|
|
1636
|
-
return
|
|
1635
|
+
let O = m.get(p);
|
|
1636
|
+
return O || (O = new Intl.NumberFormat(i, K({}, d, E)), m.set(p, O)), C ? O.formatToParts(_) : O.format(_);
|
|
1637
1637
|
}
|
|
1638
1638
|
const Fn = [
|
|
1639
1639
|
"localeMatcher",
|
|
@@ -1657,82 +1657,82 @@ const Fn = [
|
|
|
1657
1657
|
"roundingIncrement",
|
|
1658
1658
|
"trailingZeroDisplay"
|
|
1659
1659
|
];
|
|
1660
|
-
function
|
|
1660
|
+
function Dt(...e) {
|
|
1661
1661
|
const [t, n, s, l] = e, r = V();
|
|
1662
1662
|
let c = V();
|
|
1663
|
-
if (!
|
|
1663
|
+
if (!z(t))
|
|
1664
1664
|
throw pe(fe.INVALID_ARGUMENT);
|
|
1665
1665
|
const m = t;
|
|
1666
1666
|
return R(n) ? r.key = n : w(n) && Object.keys(n).forEach((u) => {
|
|
1667
1667
|
Fn.includes(u) ? c[u] = n[u] : r[u] = n[u];
|
|
1668
1668
|
}), R(s) ? r.locale = s : w(s) && (c = s), w(l) && (c = l), [r.key || "", m, r, c];
|
|
1669
1669
|
}
|
|
1670
|
-
function
|
|
1670
|
+
function bn(e, t, n) {
|
|
1671
1671
|
const s = e;
|
|
1672
1672
|
for (const l in n) {
|
|
1673
1673
|
const r = `${t}__${l}`;
|
|
1674
1674
|
s.__numberFormatters.has(r) && s.__numberFormatters.delete(r);
|
|
1675
1675
|
}
|
|
1676
1676
|
}
|
|
1677
|
-
const Ar = (e) => e,
|
|
1678
|
-
function
|
|
1677
|
+
const Ar = (e) => e, Mr = (e) => "", Dr = "text", Pr = (e) => e.length === 0 ? "" : Xt(e), wr = ds;
|
|
1678
|
+
function hn(e, t) {
|
|
1679
1679
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1680
1680
|
}
|
|
1681
1681
|
function Fr(e) {
|
|
1682
|
-
const t =
|
|
1683
|
-
return e.named && (
|
|
1682
|
+
const t = z(e.pluralIndex) ? e.pluralIndex : -1;
|
|
1683
|
+
return e.named && (z(e.named.count) || z(e.named.n)) ? z(e.named.count) ? e.named.count : z(e.named.n) ? e.named.n : t : t;
|
|
1684
1684
|
}
|
|
1685
1685
|
function Ur(e, t) {
|
|
1686
1686
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1687
1687
|
}
|
|
1688
1688
|
function Vr(e = {}) {
|
|
1689
|
-
const t = e.locale, n = Fr(e), s = F(e.pluralRules) && R(t) &&
|
|
1690
|
-
|
|
1689
|
+
const t = e.locale, n = Fr(e), s = F(e.pluralRules) && R(t) && Y(e.pluralRules[t]) ? e.pluralRules[t] : hn, l = F(e.pluralRules) && R(t) && Y(e.pluralRules[t]) ? hn : void 0, r = (i) => i[s(n, i.length, l)], c = e.list || [], m = (i) => c[i], u = e.named || V();
|
|
1690
|
+
z(e.pluralIndex) && Ur(n, u);
|
|
1691
1691
|
const _ = (i) => u[i];
|
|
1692
|
-
function
|
|
1693
|
-
const v =
|
|
1694
|
-
return v || (e.parent ? e.parent.message(i) :
|
|
1692
|
+
function h(i, d) {
|
|
1693
|
+
const v = Y(e.messages) ? e.messages(i, !!d) : F(e.messages) ? e.messages[i] : !1;
|
|
1694
|
+
return v || (e.parent ? e.parent.message(i) : Mr);
|
|
1695
1695
|
}
|
|
1696
|
-
const E = (i) => e.modifiers ? e.modifiers[i] : Ar, g = w(e.processor) &&
|
|
1696
|
+
const E = (i) => e.modifiers ? e.modifiers[i] : Ar, g = w(e.processor) && Y(e.processor.normalize) ? e.processor.normalize : Pr, C = w(e.processor) && Y(e.processor.interpolate) ? e.processor.interpolate : wr, D = w(e.processor) && R(e.processor.type) ? e.processor.type : Dr, k = {
|
|
1697
1697
|
list: m,
|
|
1698
1698
|
named: _,
|
|
1699
1699
|
plural: r,
|
|
1700
1700
|
linked: (i, ...d) => {
|
|
1701
1701
|
const [v, p] = d;
|
|
1702
|
-
let
|
|
1703
|
-
d.length === 1 ? F(v) ? (
|
|
1704
|
-
const N =
|
|
1702
|
+
let O = "text", y = "";
|
|
1703
|
+
d.length === 1 ? F(v) ? (y = v.modifier || y, O = v.type || O) : R(v) && (y = v || y) : d.length === 2 && (R(v) && (y = v || y), R(p) && (O = p || O));
|
|
1704
|
+
const N = h(i, !0)(k), X = (
|
|
1705
1705
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1706
|
-
|
|
1706
|
+
O === "vnode" && $(N) && y ? N[0] : N
|
|
1707
1707
|
);
|
|
1708
|
-
return
|
|
1708
|
+
return y ? E(y)(X, O) : X;
|
|
1709
1709
|
},
|
|
1710
|
-
message:
|
|
1711
|
-
type:
|
|
1710
|
+
message: h,
|
|
1711
|
+
type: D,
|
|
1712
1712
|
interpolate: C,
|
|
1713
1713
|
normalize: g,
|
|
1714
|
-
values:
|
|
1714
|
+
values: K(V(), c, u)
|
|
1715
1715
|
};
|
|
1716
|
-
return
|
|
1716
|
+
return k;
|
|
1717
1717
|
}
|
|
1718
|
-
const gn = () => "", ae = (e) =>
|
|
1718
|
+
const gn = () => "", ae = (e) => Y(e);
|
|
1719
1719
|
function En(e, ...t) {
|
|
1720
|
-
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: r, fallbackLocale: c, messages: m } = e, [u, _] = Pt(...t),
|
|
1720
|
+
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: r, fallbackLocale: c, messages: m } = e, [u, _] = Pt(...t), h = J(_.missingWarn) ? _.missingWarn : e.missingWarn, E = J(_.fallbackWarn) ? _.fallbackWarn : e.fallbackWarn, g = J(_.escapeParameter) ? _.escapeParameter : e.escapeParameter, C = !!_.resolvedMessage, D = R(_.default) || J(_.default) ? J(_.default) ? r ? u : () => u : _.default : n ? r ? u : () => u : null, T = n || D != null && (R(D) || Y(D)), k = Zt(e, _);
|
|
1721
1721
|
g && Wr(_);
|
|
1722
1722
|
let [i, d, v] = C ? [
|
|
1723
1723
|
u,
|
|
1724
|
-
|
|
1725
|
-
m[
|
|
1726
|
-
] : Un(e, u,
|
|
1727
|
-
if (!C && !(R(p) ||
|
|
1724
|
+
k,
|
|
1725
|
+
m[k] || V()
|
|
1726
|
+
] : Un(e, u, k, c, E, h), p = i, O = u;
|
|
1727
|
+
if (!C && !(R(p) || De(p) || ae(p)) && T && (p = D, O = p), !C && (!(R(p) || De(p) || ae(p)) || !R(d)))
|
|
1728
1728
|
return l ? it : u;
|
|
1729
|
-
let
|
|
1729
|
+
let y = !1;
|
|
1730
1730
|
const N = () => {
|
|
1731
|
-
|
|
1732
|
-
}, X = ae(p) ? p : Vn(e, u, d, p,
|
|
1733
|
-
if (
|
|
1731
|
+
y = !0;
|
|
1732
|
+
}, X = ae(p) ? p : Vn(e, u, d, p, O, N);
|
|
1733
|
+
if (y)
|
|
1734
1734
|
return p;
|
|
1735
|
-
const j = Xr(e, d, v, _),
|
|
1735
|
+
const j = Xr(e, d, v, _), M = Vr(j), S = Gr(e, X, M), L = s ? s(S, u) : S;
|
|
1736
1736
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1737
1737
|
const x = {
|
|
1738
1738
|
timestamp: Date.now(),
|
|
@@ -1741,7 +1741,7 @@ function En(e, ...t) {
|
|
|
1741
1741
|
format: R(p) ? p : ae(p) ? p.source : "",
|
|
1742
1742
|
message: L
|
|
1743
1743
|
};
|
|
1744
|
-
x.meta =
|
|
1744
|
+
x.meta = K({}, e.__meta, /* @__PURE__ */ Or() || {}), lr(x);
|
|
1745
1745
|
}
|
|
1746
1746
|
return L;
|
|
1747
1747
|
}
|
|
@@ -1751,20 +1751,20 @@ function Wr(e) {
|
|
|
1751
1751
|
});
|
|
1752
1752
|
}
|
|
1753
1753
|
function Un(e, t, n, s, l, r) {
|
|
1754
|
-
const { messages: c, onWarn: m, messageResolver: u, localeFallbacker: _ } = e,
|
|
1754
|
+
const { messages: c, onWarn: m, messageResolver: u, localeFallbacker: _ } = e, h = _(e, s, n);
|
|
1755
1755
|
let E = V(), g, C = null;
|
|
1756
|
-
const
|
|
1757
|
-
for (let
|
|
1758
|
-
if (!Sr(g,
|
|
1759
|
-
const
|
|
1756
|
+
const D = "translate";
|
|
1757
|
+
for (let T = 0; T < h.length && (g = h[T], E = c[g] || V(), (C = u(E, t)) === null && (C = E[t]), !(R(C) || De(C) || ae(C))); T++)
|
|
1758
|
+
if (!Sr(g, h)) {
|
|
1759
|
+
const k = Ht(
|
|
1760
1760
|
e,
|
|
1761
1761
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1762
1762
|
t,
|
|
1763
1763
|
g,
|
|
1764
1764
|
r,
|
|
1765
|
-
|
|
1765
|
+
D
|
|
1766
1766
|
);
|
|
1767
|
-
|
|
1767
|
+
k !== t && (C = k);
|
|
1768
1768
|
}
|
|
1769
1769
|
return [C, g, E];
|
|
1770
1770
|
}
|
|
@@ -1786,10 +1786,10 @@ function Gr(e, t, n) {
|
|
|
1786
1786
|
}
|
|
1787
1787
|
function Pt(...e) {
|
|
1788
1788
|
const [t, n, s] = e, l = V();
|
|
1789
|
-
if (!R(t) && !
|
|
1789
|
+
if (!R(t) && !z(t) && !ae(t) && !De(t))
|
|
1790
1790
|
throw pe(fe.INVALID_ARGUMENT);
|
|
1791
|
-
const r =
|
|
1792
|
-
return
|
|
1791
|
+
const r = z(t) ? String(t) : (ae(t), t);
|
|
1792
|
+
return z(n) ? l.plural = n : R(n) ? l.default = n : w(n) && !lt(n) ? l.named = n : $(n) && (l.list = n), z(s) ? l.plural = s : R(s) ? l.default = s : w(s) && K(l, s), [r, l];
|
|
1793
1793
|
}
|
|
1794
1794
|
function jr(e, t, n, s, l, r) {
|
|
1795
1795
|
return {
|
|
@@ -1803,15 +1803,15 @@ function jr(e, t, n, s, l, r) {
|
|
|
1803
1803
|
};
|
|
1804
1804
|
}
|
|
1805
1805
|
function Xr(e, t, n, s) {
|
|
1806
|
-
const { modifiers: l, pluralRules: r, messageResolver: c, fallbackLocale: m, fallbackWarn: u, missingWarn: _, fallbackContext:
|
|
1806
|
+
const { modifiers: l, pluralRules: r, messageResolver: c, fallbackLocale: m, fallbackWarn: u, missingWarn: _, fallbackContext: h } = e, g = {
|
|
1807
1807
|
locale: t,
|
|
1808
1808
|
modifiers: l,
|
|
1809
1809
|
pluralRules: r,
|
|
1810
|
-
messages: (C,
|
|
1811
|
-
let
|
|
1812
|
-
if (
|
|
1813
|
-
const [, ,
|
|
1814
|
-
|
|
1810
|
+
messages: (C, D) => {
|
|
1811
|
+
let T = c(n, C);
|
|
1812
|
+
if (T == null && (h || D)) {
|
|
1813
|
+
const [, , k] = Un(
|
|
1814
|
+
h || e,
|
|
1815
1815
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1816
1816
|
C,
|
|
1817
1817
|
t,
|
|
@@ -1819,24 +1819,24 @@ function Xr(e, t, n, s) {
|
|
|
1819
1819
|
u,
|
|
1820
1820
|
_
|
|
1821
1821
|
);
|
|
1822
|
-
|
|
1822
|
+
T = c(k, C);
|
|
1823
1823
|
}
|
|
1824
|
-
if (R(
|
|
1825
|
-
let
|
|
1826
|
-
const d = Vn(e, C, t,
|
|
1827
|
-
|
|
1824
|
+
if (R(T) || De(T)) {
|
|
1825
|
+
let k = !1;
|
|
1826
|
+
const d = Vn(e, C, t, T, C, () => {
|
|
1827
|
+
k = !0;
|
|
1828
1828
|
});
|
|
1829
|
-
return
|
|
1830
|
-
} else return ae(
|
|
1829
|
+
return k ? gn : d;
|
|
1830
|
+
} else return ae(T) ? T : gn;
|
|
1831
1831
|
}
|
|
1832
1832
|
};
|
|
1833
|
-
return e.processor && (g.processor = e.processor), s.list && (g.list = s.list), s.named && (g.named = s.named),
|
|
1833
|
+
return e.processor && (g.processor = e.processor), s.list && (g.list = s.list), s.named && (g.named = s.named), z(s.plural) && (g.pluralIndex = s.plural), g;
|
|
1834
1834
|
}
|
|
1835
1835
|
Ws();
|
|
1836
|
-
var xr = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_4c58d9da-f957-44ba-9de3-45251e37b43e", 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_4c58d9da-f957-44ba-9de3-45251e37b43e", 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", 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.3.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "^1.29.10", npm_package_devDependencies_code_inspector_plugin: "^0.20.16", npm_package_devDependencies_npm_run_all2: "^6.0.6", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1891", ACTIONS_ORCHESTRATION_ID: "ce3421ca-d030-4cc3-99ae-7754e2878763.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.7.0", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_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", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260302.42.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:15636", 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.7/x64", GITHUB_RUN_ID: "22709872350", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "40ea264d1f353db5c5667f19e93b47fbd04b2641", 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/KDI-3967-role-based-permission-set", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9LREktMzk2Ny1yb2xlLWJhc2VkLXBlcm1pc3Npb24tc2V0XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzcyNzIyODE3LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3NzI3MDA2MTcsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiI1MDA2MjMwMi00ODEyLTU1ZTYtYjc5OS0wNGZhMTQwOGM1YTEiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3NzI3MDAzMTcsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwianVuLWxlZS1mZWVkbWVcIixcImFjdG9yX2lkXCI6XCIyMzkyODI4NjJcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiNjU4NDUwNzc0MDhcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcImYwOTg2ZThlOGRmZjQ1YmQ1N2M0NjYzNWJiZDYyMjc1ZmExOWU3MzFcIixcInJlZlwiOlwicmVmcy9oZWFkcy9LREktMzk2Ny1yb2xlLWJhc2VkLXBlcm1pc3Npb24tc2V0XCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjIyNzA5ODcyMzUwXCIsXCJydW5fbnVtYmVyXCI6XCI1XCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIixcInNoYVwiOlwiNDBlYTI2NGQxZjM1M2RiNWM1NjY3ZjE5ZTkzYjQ3ZmJkMDRiMjY0MVwiLFwid29ya2Zsb3dcIjpcIlB1Ymxpc2ggaHJtLXBvcnRhbFwiLFwid29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ocm0tcG9ydGFsLXRydXN0ZWQueW1sQHJlZnMvaGVhZHMvS0RJLTM5Njctcm9sZS1iYXNlZC1wZXJtaXNzaW9uLXNldFwiLFwid29ya2Zsb3dfc2hhXCI6XCI0MGVhMjY0ZDFmMzUzZGI1YzU2NjdmMTllOTNiNDdmYmQwNGIyNjQxXCJ9Iiwib2lkY19zdWIiOiJyZXBvOmZlZWRtZXBvcy9ocm0tc2VydmljZTpyZWY6cmVmcy9oZWFkcy9LREktMzk2Ny1yb2xlLWJhc2VkLXBlcm1pc3Npb24tc2V0Iiwib3JjaF9pZCI6ImNlMzQyMWNhLWQwMzAtNGNjMy05OWFlLTc3NTRlMjg3ODc2My5wdWJsaXNoLnB1Ymxpc2guX19kZWZhdWx0Iiwib3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJwbGFuX2lkIjoiY2UzNDIxY2EtZDAzMC00Y2MzLTk5YWUtNzc1NGUyODc4NzYzIiwicmVwb3NpdG9yeV9pZCI6IjExMjQ2NzIyMzUiLCJydW5faWQiOiIyMjcwOTg3MjM1MCIsInJ1bl9udW1iZXIiOiI1IiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDA1MTEyNyIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOmNlMzQyMWNhLWQwMzAtNGNjMy05OWFlLTc3NTRlMjg3ODc2Mzo1MDA2MjMwMi00ODEyLTU1ZTYtYjc5OS0wNGZhMTQwOGM1YTEgQWN0aW9ucy5SdW5uZXI6Y2UzNDIxY2EtZDAzMC00Y2MzLTk5YWUtNzc1NGUyODc4NzYzOjUwMDYyMzAyLTQ4MTItNTVlNi1iNzk5LTA0ZmExNDA4YzVhMSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czpjZTM0MjFjYS1kMDMwLTRjYzMtOTlhZS03NzU0ZTI4Nzg3NjM6NTAwNjIzMDItNDgxMi01NWU2LWI3OTktMDRmYTE0MDhjNWExIGdlbmVyYXRlX2lkX3Rva2VuOmNlMzQyMWNhLWQwMzAtNGNjMy05OWFlLTc3NTRlMjg3ODc2Mzo1MDA2MjMwMi00ODEyLTU1ZTYtYjc5OS0wNGZhMTQwOGM1YTEgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiI0MGVhMjY0ZDFmMzUzZGI1YzU2NjdmMTllOTNiNDdmYmQwNGIyNjQxIiwidHJ1c3RfdGllciI6IjEifQ.aeU8No1x4itqUvyukUxDKB__eDZO6Ri7zpl6a_lGCIao4PL0lyi5QDfGxbCwYOz1FvlJtvo5o0hHPeJk7BfhksbhnBSbjhhRwO0eROAruO4Zce9eU-meXIE-SFaukAPChmY9tqjtCJmQWkvLy8ZW1v56X2lTaHn0Hy6dzsBwp13z18HKMFV4mLNv_miBdD1-8Y6x9XPtlUGzuX3tfCeJ5Z8PQVjJ6JssXw34oOvUfZ8m4c776JM-RA4La5Z9E-EjVV5lZ1v64O4RH7Sl1o5-MX5Hilq1FZUP9eCerxWsLgse7_c_l4gaGLL96rBOTAzhefB-umvb0-XKBOcLYkHZ3g", 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_d6a74254-687a-4b38-aa3c-9556069667b9", INVOCATION_ID: "f59ba116a8c2409abdd88ac0ee7656b5", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", npm_package_name: "@feedmepos/mf-hrm-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "5", GITHUB_TRIGGERING_ACTOR: "jun-lee-feedme", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag latest --no-git-checks", npm_package_scripts_publish_npm_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag beta --no-git-checks", npm_package_scripts_publish_github: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks", npm_package_scripts_publish_github_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks", npm_config_frozen_lockfile: "", npm_package_devDependencies__vitest_ui: "^1.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies_eslint: "^9.39.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000051127", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "KDI-3967-role-based-permission-set", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* 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: "1.1.3-dev", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_hrm_permission: "workspace:^", npm_package_devDependencies__rushstack_eslint_patch: "^1.3.3", npm_package_devDependencies_eslint_plugin_unused_imports: "^4.3.0", npm_package_devDependencies_jsdom: "^24.0.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "40ea264d1f353db5c5667f19e93b47fbd04b2641", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/KDI-3967-role-based-permission-set", GITHUB_ACTOR: "jun-lee-feedme", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_devDependencies_globals: "^16.5.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_4c58d9da-f957-44ba-9de3-45251e37b43e", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "239282862", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "", 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/174//idtoken/ce3421ca-d030-4cc3-99ae-7754e2878763/50062302-4812-55e6-b799-04fa1408c5a1?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_4c58d9da-f957-44ba-9de3-45251e37b43e", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", 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_4c58d9da-f957-44ba-9de3-45251e37b43e", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1837
|
-
const
|
|
1838
|
-
function
|
|
1839
|
-
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (
|
|
1836
|
+
var xr = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_2bbf9f3a-61df-422d-8bd1-9bd7917476c0", 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_2bbf9f3a-61df-422d-8bd1-9bd7917476c0", 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", 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.3.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "^1.29.10", npm_package_devDependencies_code_inspector_plugin: "^0.20.16", npm_package_devDependencies_npm_run_all2: "^6.0.6", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1865", ACTIONS_ORCHESTRATION_ID: "b84366a6-3852-4576-a9d7-6046d610c6f7.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.7.0", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_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", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260302.42.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:13508", 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.7/x64", GITHUB_RUN_ID: "22948853199", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "af28d13206f2353876560ade29e8a0b39418a658", 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/KDI-3967-role-based-permission-set", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9LREktMzk2Ny1yb2xlLWJhc2VkLXBlcm1pc3Npb24tc2V0XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzczMjQ4Mjk5LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3NzMyMjYwOTksImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiIzMjNhMTI4YS1iNTc1LTUxMzYtYTIxMS02MzIzMzVmMjYwNmUiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3NzMyMjU3OTksIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwianVuLWxlZS1mZWVkbWVcIixcImFjdG9yX2lkXCI6XCIyMzkyODI4NjJcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiNjY2MDgxMTAwMDZcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcImYwOTg2ZThlOGRmZjQ1YmQ1N2M0NjYzNWJiZDYyMjc1ZmExOWU3MzFcIixcInJlZlwiOlwicmVmcy9oZWFkcy9LREktMzk2Ny1yb2xlLWJhc2VkLXBlcm1pc3Npb24tc2V0XCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjIyOTQ4ODUzMTk5XCIsXCJydW5fbnVtYmVyXCI6XCIxNVwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcImFmMjhkMTMyMDZmMjM1Mzg3NjU2MGFkZTI5ZThhMGIzOTQxOGE2NThcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL0tESS0zOTY3LXJvbGUtYmFzZWQtcGVybWlzc2lvbi1zZXRcIixcIndvcmtmbG93X3NoYVwiOlwiYWYyOGQxMzIwNmYyMzUzODc2NTYwYWRlMjllOGEwYjM5NDE4YTY1OFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvaHJtLXNlcnZpY2U6cmVmOnJlZnMvaGVhZHMvS0RJLTM5Njctcm9sZS1iYXNlZC1wZXJtaXNzaW9uLXNldCIsIm9yY2hfaWQiOiJiODQzNjZhNi0zODUyLTQ1NzYtYTlkNy02MDQ2ZDYxMGM2ZjcucHVibGlzaC5wdWJsaXNoLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6ImI4NDM2NmE2LTM4NTItNDU3Ni1hOWQ3LTYwNDZkNjEwYzZmNyIsInJlcG9zaXRvcnlfaWQiOiIxMTI0NjcyMjM1IiwicnVuX2lkIjoiMjI5NDg4NTMxOTkiLCJydW5fbnVtYmVyIjoiMTUiLCJydW5fdHlwZSI6ImZ1bGwiLCJydW5uZXJfaWQiOiIxMDAwMDUyNjUyIiwicnVubmVyX3R5cGUiOiJob3N0ZWQiLCJzY3AiOiJBY3Rpb25zLlJlc3VsdHM6Yjg0MzY2YTYtMzg1Mi00NTc2LWE5ZDctNjA0NmQ2MTBjNmY3OjMyM2ExMjhhLWI1NzUtNTEzNi1hMjExLTYzMjMzNWYyNjA2ZSBBY3Rpb25zLlJ1bm5lcjpiODQzNjZhNi0zODUyLTQ1NzYtYTlkNy02MDQ2ZDYxMGM2Zjc6MzIzYTEyOGEtYjU3NS01MTM2LWEyMTEtNjMyMzM1ZjI2MDZlIEFjdGlvbnMuVXBsb2FkQXJ0aWZhY3RzOmI4NDM2NmE2LTM4NTItNDU3Ni1hOWQ3LTYwNDZkNjEwYzZmNzozMjNhMTI4YS1iNTc1LTUxMzYtYTIxMS02MzIzMzVmMjYwNmUgZ2VuZXJhdGVfaWRfdG9rZW46Yjg0MzY2YTYtMzg1Mi00NTc2LWE5ZDctNjA0NmQ2MTBjNmY3OjMyM2ExMjhhLWI1NzUtNTEzNi1hMjExLTYzMjMzNWYyNjA2ZSBBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInNoYSI6ImFmMjhkMTMyMDZmMjM1Mzg3NjU2MGFkZTI5ZThhMGIzOTQxOGE2NTgiLCJ0cnVzdF90aWVyIjoiMSJ9.zE9BmmynvqtRwlGeKtxvErS_u87xGHWrErZyl16tKth8i_jpJqiFgsZp-DvsnAMAHZA9tFfgMECGhWoes9IjVGxCfPIqmQ4GOMVixzUn2eOjYko5HU5UWU9lxLUc3p_P8u1QmAGgy1eKI3hWGiOMhovIieP_YbftZzh0U6E0tsIVvpGKcebY1uMDSf9D9pH8Sivyi5tN2AFr76TU0AJ26VHi4VfyFVvKRVZAXzkCr5o0kjz7gW27RO_YX5bzUaNqAn3hg4PpjXSyTFyh5zMA9j0tF6fPzzx0IZ0eCrC6MQWlTNfAvTMgzshko_lCnLESiM3ttd_ojY3DGdq21ep6IA", 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_ec88dc8b-5b63-4eb3-b4ff-4dfeb4f7f996", INVOCATION_ID: "bfd8e7a56ccf4b5d92fc7828bd802435", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", npm_package_name: "@feedmepos/mf-hrm-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "15", GITHUB_TRIGGERING_ACTOR: "jun-lee-feedme", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag latest --no-git-checks", npm_package_scripts_publish_npm_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag beta --no-git-checks", npm_package_scripts_publish_github: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks", npm_package_scripts_publish_github_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks", npm_config_frozen_lockfile: "", npm_package_devDependencies__vitest_ui: "^1.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies_eslint: "^9.39.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000052652", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "KDI-3967-role-based-permission-set", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* 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: "1.1.3-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: "af28d13206f2353876560ade29e8a0b39418a658", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/KDI-3967-role-based-permission-set", GITHUB_ACTOR: "jun-lee-feedme", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_devDependencies_globals: "^16.5.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_2bbf9f3a-61df-422d-8bd1-9bd7917476c0", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "239282862", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "", 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/186//idtoken/b84366a6-3852-4576-a9d7-6046d610c6f7/323a128a-b575-5136-a211-632335f2606e?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_2bbf9f3a-61df-422d-8bd1-9bd7917476c0", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", 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_2bbf9f3a-61df-422d-8bd1-9bd7917476c0", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1837
|
+
const Yr = "10.0.5";
|
|
1838
|
+
function Zr() {
|
|
1839
|
+
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Te().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Te().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Te().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Te().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
1840
1840
|
}
|
|
1841
1841
|
const Pe = {
|
|
1842
1842
|
// composer module errors
|
|
@@ -1851,17 +1851,17 @@ const Pe = {
|
|
|
1851
1851
|
// unexpected error
|
|
1852
1852
|
UNEXPECTED_ERROR: 32
|
|
1853
1853
|
};
|
|
1854
|
-
function
|
|
1854
|
+
function Ye(e, ...t) {
|
|
1855
1855
|
return ot(e, null, void 0);
|
|
1856
1856
|
}
|
|
1857
|
-
const wt = /* @__PURE__ */
|
|
1858
|
-
function
|
|
1857
|
+
const wt = /* @__PURE__ */ Oe("__translateVNode"), Ft = /* @__PURE__ */ Oe("__datetimeParts"), Ut = /* @__PURE__ */ Oe("__numberParts"), Hr = Oe("__setPluralRules"), Wn = /* @__PURE__ */ Oe("__injectWithOption"), Vt = /* @__PURE__ */ Oe("__dispose");
|
|
1858
|
+
function Ze(e) {
|
|
1859
1859
|
if (!F(e))
|
|
1860
1860
|
return e;
|
|
1861
1861
|
for (const t in e)
|
|
1862
1862
|
if (ie(e, t))
|
|
1863
1863
|
if (!t.includes("."))
|
|
1864
|
-
F(e[t]) &&
|
|
1864
|
+
F(e[t]) && Ze(e[t]);
|
|
1865
1865
|
else {
|
|
1866
1866
|
const n = t.split("."), s = n.length - 1;
|
|
1867
1867
|
let l = e, r = !1;
|
|
@@ -1872,7 +1872,7 @@ function He(e) {
|
|
|
1872
1872
|
}
|
|
1873
1873
|
l = l[n[c]];
|
|
1874
1874
|
}
|
|
1875
|
-
r || (l[n[s]] = e[t], delete e[t]), F(l[n[s]]) &&
|
|
1875
|
+
r || (l[n[s]] = e[t], delete e[t]), F(l[n[s]]) && Ze(l[n[s]]);
|
|
1876
1876
|
}
|
|
1877
1877
|
return e;
|
|
1878
1878
|
}
|
|
@@ -1886,7 +1886,7 @@ function Gn(e, t) {
|
|
|
1886
1886
|
R(m) && nt(JSON.parse(m), c);
|
|
1887
1887
|
}), l == null && r)
|
|
1888
1888
|
for (const m in c)
|
|
1889
|
-
ie(c, m) &&
|
|
1889
|
+
ie(c, m) && Ze(c[m]);
|
|
1890
1890
|
return c;
|
|
1891
1891
|
}
|
|
1892
1892
|
function jn(e) {
|
|
@@ -1921,8 +1921,8 @@ function In(e) {
|
|
|
1921
1921
|
return ne(Bn, null, e, 0);
|
|
1922
1922
|
}
|
|
1923
1923
|
const Nn = "__INTLIFY_META__", vn = () => [], Jr = () => !1;
|
|
1924
|
-
let
|
|
1925
|
-
function
|
|
1924
|
+
let Tn = 0;
|
|
1925
|
+
function yn(e) {
|
|
1926
1926
|
return (t, n, s, l) => e(n, s, Wt() || void 0, l);
|
|
1927
1927
|
}
|
|
1928
1928
|
const $r = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
@@ -1930,8 +1930,8 @@ const $r = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
|
1930
1930
|
let t = null;
|
|
1931
1931
|
return e && (t = jn(e)[Nn]) ? { [Nn]: t } : null;
|
|
1932
1932
|
};
|
|
1933
|
-
function
|
|
1934
|
-
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, r = Qt ?
|
|
1933
|
+
function zr(e = {}) {
|
|
1934
|
+
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, r = Qt ? ye : Hn;
|
|
1935
1935
|
let c = J(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1936
1936
|
const m = r(
|
|
1937
1937
|
// prettier-ignore
|
|
@@ -1939,23 +1939,23 @@ function Kr(e = {}) {
|
|
|
1939
1939
|
), u = r(
|
|
1940
1940
|
// prettier-ignore
|
|
1941
1941
|
t && c ? t.fallbackLocale.value : R(e.fallbackLocale) || $(e.fallbackLocale) || w(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : m.value
|
|
1942
|
-
), _ = r(Gn(m.value, e)),
|
|
1943
|
-
let g = t ? t.missingWarn : J(e.missingWarn) || st(e.missingWarn) ? e.missingWarn : !0, C = t ? t.fallbackWarn : J(e.fallbackWarn) || st(e.fallbackWarn) ? e.fallbackWarn : !0,
|
|
1944
|
-
const
|
|
1945
|
-
let
|
|
1942
|
+
), _ = r(Gn(m.value, e)), h = r(w(e.datetimeFormats) ? e.datetimeFormats : { [m.value]: {} }), E = r(w(e.numberFormats) ? e.numberFormats : { [m.value]: {} });
|
|
1943
|
+
let g = t ? t.missingWarn : J(e.missingWarn) || st(e.missingWarn) ? e.missingWarn : !0, C = t ? t.fallbackWarn : J(e.fallbackWarn) || st(e.fallbackWarn) ? e.fallbackWarn : !0, D = t ? t.fallbackRoot : J(e.fallbackRoot) ? e.fallbackRoot : !0, T = !!e.fallbackFormat, k = Y(e.missing) ? e.missing : null, i = Y(e.missing) ? yn(e.missing) : null, d = Y(e.postTranslation) ? e.postTranslation : null, v = t ? t.warnHtmlMessage : J(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, p = !!e.escapeParameter;
|
|
1944
|
+
const O = t ? t.modifiers : w(e.modifiers) ? e.modifiers : {};
|
|
1945
|
+
let y = e.pluralRules || t && t.pluralRules, N;
|
|
1946
1946
|
N = (() => {
|
|
1947
1947
|
s && mn(null);
|
|
1948
1948
|
const f = {
|
|
1949
|
-
version:
|
|
1949
|
+
version: Yr,
|
|
1950
1950
|
locale: m.value,
|
|
1951
1951
|
fallbackLocale: u.value,
|
|
1952
1952
|
messages: _.value,
|
|
1953
|
-
modifiers:
|
|
1954
|
-
pluralRules:
|
|
1953
|
+
modifiers: O,
|
|
1954
|
+
pluralRules: y,
|
|
1955
1955
|
missing: i === null ? void 0 : i,
|
|
1956
1956
|
missingWarn: g,
|
|
1957
1957
|
fallbackWarn: C,
|
|
1958
|
-
fallbackFormat:
|
|
1958
|
+
fallbackFormat: T,
|
|
1959
1959
|
unresolving: !0,
|
|
1960
1960
|
postTranslation: d === null ? void 0 : d,
|
|
1961
1961
|
warnHtmlMessage: v,
|
|
@@ -1964,7 +1964,7 @@ function Kr(e = {}) {
|
|
|
1964
1964
|
messageCompiler: e.messageCompiler,
|
|
1965
1965
|
__meta: { framework: "vue" }
|
|
1966
1966
|
};
|
|
1967
|
-
f.datetimeFormats =
|
|
1967
|
+
f.datetimeFormats = h.value, f.numberFormats = E.value, f.__datetimeFormatters = w(N) ? N.__datetimeFormatters : void 0, f.__numberFormatters = w(N) ? N.__numberFormatters : void 0;
|
|
1968
1968
|
const I = Rr(f);
|
|
1969
1969
|
return s && mn(I), I;
|
|
1970
1970
|
})(), Ve(N, m.value, u.value);
|
|
@@ -1973,11 +1973,11 @@ function Kr(e = {}) {
|
|
|
1973
1973
|
m.value,
|
|
1974
1974
|
u.value,
|
|
1975
1975
|
_.value,
|
|
1976
|
-
|
|
1976
|
+
h.value,
|
|
1977
1977
|
E.value
|
|
1978
1978
|
];
|
|
1979
1979
|
}
|
|
1980
|
-
const
|
|
1980
|
+
const M = G({
|
|
1981
1981
|
get: () => m.value,
|
|
1982
1982
|
set: (f) => {
|
|
1983
1983
|
m.value = f, N.locale = m.value;
|
|
@@ -1987,20 +1987,20 @@ function Kr(e = {}) {
|
|
|
1987
1987
|
set: (f) => {
|
|
1988
1988
|
u.value = f, N.fallbackLocale = u.value, Ve(N, m.value, f);
|
|
1989
1989
|
}
|
|
1990
|
-
}), L = G(() => _.value), x = /* @__PURE__ */ G(() =>
|
|
1990
|
+
}), L = G(() => _.value), x = /* @__PURE__ */ G(() => h.value), re = /* @__PURE__ */ G(() => E.value);
|
|
1991
1991
|
function Le() {
|
|
1992
|
-
return
|
|
1992
|
+
return Y(d) ? d : null;
|
|
1993
1993
|
}
|
|
1994
1994
|
function oe(f) {
|
|
1995
1995
|
d = f, N.postTranslation = f;
|
|
1996
1996
|
}
|
|
1997
1997
|
function ut() {
|
|
1998
|
-
return
|
|
1998
|
+
return k;
|
|
1999
1999
|
}
|
|
2000
2000
|
function mt(f) {
|
|
2001
|
-
f !== null && (i =
|
|
2001
|
+
f !== null && (i = yn(f)), k = f, N.missing = i;
|
|
2002
2002
|
}
|
|
2003
|
-
const de = (f, I, W,
|
|
2003
|
+
const de = (f, I, W, H, Ie, $e) => {
|
|
2004
2004
|
j();
|
|
2005
2005
|
let Se;
|
|
2006
2006
|
try {
|
|
@@ -2009,72 +2009,72 @@ function Kr(e = {}) {
|
|
|
2009
2009
|
__INTLIFY_PROD_DEVTOOLS__, s || (N.fallbackContext = void 0);
|
|
2010
2010
|
}
|
|
2011
2011
|
if (W !== "translate exists" && // for not `te` (e.g `t`)
|
|
2012
|
-
|
|
2013
|
-
const [
|
|
2014
|
-
return t &&
|
|
2012
|
+
z(Se) && Se === it || W === "translate exists" && !Se) {
|
|
2013
|
+
const [Yn, La] = I();
|
|
2014
|
+
return t && D ? H(t) : Ie(Yn);
|
|
2015
2015
|
} else {
|
|
2016
2016
|
if ($e(Se))
|
|
2017
2017
|
return Se;
|
|
2018
|
-
throw
|
|
2018
|
+
throw Ye(Pe.UNEXPECTED_RETURN_TYPE);
|
|
2019
2019
|
}
|
|
2020
2020
|
};
|
|
2021
|
-
function
|
|
2021
|
+
function He(...f) {
|
|
2022
2022
|
return de((I) => Reflect.apply(En, null, [I, ...f]), () => Pt(...f), "translate", (I) => Reflect.apply(I.t, I, [...f]), (I) => I, (I) => R(I));
|
|
2023
2023
|
}
|
|
2024
2024
|
function Be(...f) {
|
|
2025
|
-
const [I, W,
|
|
2026
|
-
if (
|
|
2027
|
-
throw
|
|
2028
|
-
return
|
|
2025
|
+
const [I, W, H] = f;
|
|
2026
|
+
if (H && !F(H))
|
|
2027
|
+
throw Ye(Pe.INVALID_ARGUMENT);
|
|
2028
|
+
return He(I, W, K({ resolvedMessage: !0 }, H || {}));
|
|
2029
2029
|
}
|
|
2030
2030
|
function dt(...f) {
|
|
2031
|
-
return de((I) => Reflect.apply(_n, null, [I, ...f]), () =>
|
|
2031
|
+
return de((I) => Reflect.apply(_n, null, [I, ...f]), () => Mt(...f), "datetime format", (I) => Reflect.apply(I.d, I, [...f]), () => cn, (I) => R(I));
|
|
2032
2032
|
}
|
|
2033
2033
|
function _t(...f) {
|
|
2034
|
-
return de((I) => Reflect.apply(pn, null, [I, ...f]), () =>
|
|
2034
|
+
return de((I) => Reflect.apply(pn, null, [I, ...f]), () => Dt(...f), "number format", (I) => Reflect.apply(I.n, I, [...f]), () => cn, (I) => R(I));
|
|
2035
2035
|
}
|
|
2036
2036
|
function ft(f) {
|
|
2037
|
-
return f.map((I) => R(I) ||
|
|
2037
|
+
return f.map((I) => R(I) || z(I) || J(I) ? In(String(I)) : I);
|
|
2038
2038
|
}
|
|
2039
2039
|
const pt = {
|
|
2040
2040
|
normalize: ft,
|
|
2041
2041
|
interpolate: (f) => f,
|
|
2042
2042
|
type: "vnode"
|
|
2043
2043
|
};
|
|
2044
|
-
function
|
|
2044
|
+
function bt(...f) {
|
|
2045
2045
|
return de((I) => {
|
|
2046
2046
|
let W;
|
|
2047
|
-
const
|
|
2047
|
+
const H = I;
|
|
2048
2048
|
try {
|
|
2049
|
-
|
|
2049
|
+
H.processor = pt, W = Reflect.apply(En, null, [H, ...f]);
|
|
2050
2050
|
} finally {
|
|
2051
|
-
|
|
2051
|
+
H.processor = null;
|
|
2052
2052
|
}
|
|
2053
2053
|
return W;
|
|
2054
2054
|
}, () => Pt(...f), "translate", (I) => I[wt](...f), (I) => [In(I)], (I) => $(I));
|
|
2055
2055
|
}
|
|
2056
2056
|
function Je(...f) {
|
|
2057
|
-
return de((I) => Reflect.apply(pn, null, [I, ...f]), () =>
|
|
2057
|
+
return de((I) => Reflect.apply(pn, null, [I, ...f]), () => Dt(...f), "number format", (I) => I[Ut](...f), vn, (I) => R(I) || $(I));
|
|
2058
2058
|
}
|
|
2059
|
-
function
|
|
2060
|
-
return de((I) => Reflect.apply(_n, null, [I, ...f]), () =>
|
|
2059
|
+
function ht(...f) {
|
|
2060
|
+
return de((I) => Reflect.apply(_n, null, [I, ...f]), () => Mt(...f), "datetime format", (I) => I[Ft](...f), vn, (I) => R(I) || $(I));
|
|
2061
2061
|
}
|
|
2062
2062
|
function gt(f) {
|
|
2063
|
-
|
|
2063
|
+
y = f, N.pluralRules = y;
|
|
2064
2064
|
}
|
|
2065
2065
|
function Et(f, I) {
|
|
2066
2066
|
return de(() => {
|
|
2067
2067
|
if (!f)
|
|
2068
2068
|
return !1;
|
|
2069
|
-
const W = R(I) ? I : m.value,
|
|
2070
|
-
return
|
|
2069
|
+
const W = R(I) ? I : m.value, H = Re(W), Ie = N.messageResolver(H, f);
|
|
2070
|
+
return De(Ie) || ae(Ie) || R(Ie);
|
|
2071
2071
|
}, () => [f], "translate exists", (W) => Reflect.apply(W.te, W, [f, I]), Jr, (W) => J(W));
|
|
2072
2072
|
}
|
|
2073
2073
|
function It(f) {
|
|
2074
2074
|
let I = null;
|
|
2075
2075
|
const W = Cn(N, u.value, m.value);
|
|
2076
|
-
for (let
|
|
2077
|
-
const Ie = _.value[W[
|
|
2076
|
+
for (let H = 0; H < W.length; H++) {
|
|
2077
|
+
const Ie = _.value[W[H]] || {}, $e = N.messageResolver(Ie, f);
|
|
2078
2078
|
if ($e != null) {
|
|
2079
2079
|
I = $e;
|
|
2080
2080
|
break;
|
|
@@ -2092,8 +2092,8 @@ function Kr(e = {}) {
|
|
|
2092
2092
|
function Ce(f, I) {
|
|
2093
2093
|
if (l) {
|
|
2094
2094
|
const W = { [f]: I };
|
|
2095
|
-
for (const
|
|
2096
|
-
ie(W,
|
|
2095
|
+
for (const H in W)
|
|
2096
|
+
ie(W, H) && Ze(W[H]);
|
|
2097
2097
|
I = W[f];
|
|
2098
2098
|
}
|
|
2099
2099
|
_.value[f] = I, N.messages = _.value;
|
|
@@ -2102,36 +2102,36 @@ function Kr(e = {}) {
|
|
|
2102
2102
|
_.value[f] = _.value[f] || {};
|
|
2103
2103
|
const W = { [f]: I };
|
|
2104
2104
|
if (l)
|
|
2105
|
-
for (const
|
|
2106
|
-
ie(W,
|
|
2105
|
+
for (const H in W)
|
|
2106
|
+
ie(W, H) && Ze(W[H]);
|
|
2107
2107
|
I = W[f], nt(I, _.value[f]), N.messages = _.value;
|
|
2108
2108
|
}
|
|
2109
2109
|
function Nt(f) {
|
|
2110
|
-
return
|
|
2110
|
+
return h.value[f] || {};
|
|
2111
2111
|
}
|
|
2112
2112
|
function a(f, I) {
|
|
2113
|
-
|
|
2113
|
+
h.value[f] = I, N.datetimeFormats = h.value, fn(N, f, I);
|
|
2114
2114
|
}
|
|
2115
2115
|
function o(f, I) {
|
|
2116
|
-
|
|
2116
|
+
h.value[f] = K(h.value[f] || {}, I), N.datetimeFormats = h.value, fn(N, f, I);
|
|
2117
2117
|
}
|
|
2118
|
-
function
|
|
2118
|
+
function b(f) {
|
|
2119
2119
|
return E.value[f] || {};
|
|
2120
2120
|
}
|
|
2121
2121
|
function A(f, I) {
|
|
2122
|
-
E.value[f] = I, N.numberFormats = E.value,
|
|
2122
|
+
E.value[f] = I, N.numberFormats = E.value, bn(N, f, I);
|
|
2123
2123
|
}
|
|
2124
|
-
function
|
|
2125
|
-
E.value[f] =
|
|
2124
|
+
function Z(f, I) {
|
|
2125
|
+
E.value[f] = K(E.value[f] || {}, I), N.numberFormats = E.value, bn(N, f, I);
|
|
2126
2126
|
}
|
|
2127
|
-
|
|
2127
|
+
Tn++, t && Qt && (Rt(t.locale, (f) => {
|
|
2128
2128
|
c && (m.value = f, N.locale = f, Ve(N, m.value, u.value));
|
|
2129
2129
|
}), Rt(t.fallbackLocale, (f) => {
|
|
2130
2130
|
c && (u.value = f, N.fallbackLocale = f, Ve(N, m.value, u.value));
|
|
2131
2131
|
}));
|
|
2132
2132
|
const P = {
|
|
2133
|
-
id:
|
|
2134
|
-
locale:
|
|
2133
|
+
id: Tn,
|
|
2134
|
+
locale: M,
|
|
2135
2135
|
fallbackLocale: S,
|
|
2136
2136
|
get inheritLocale() {
|
|
2137
2137
|
return c;
|
|
@@ -2144,10 +2144,10 @@ function Kr(e = {}) {
|
|
|
2144
2144
|
},
|
|
2145
2145
|
messages: L,
|
|
2146
2146
|
get modifiers() {
|
|
2147
|
-
return
|
|
2147
|
+
return O;
|
|
2148
2148
|
},
|
|
2149
2149
|
get pluralRules() {
|
|
2150
|
-
return
|
|
2150
|
+
return y || {};
|
|
2151
2151
|
},
|
|
2152
2152
|
get isGlobal() {
|
|
2153
2153
|
return s;
|
|
@@ -2165,16 +2165,16 @@ function Kr(e = {}) {
|
|
|
2165
2165
|
C = f, N.fallbackWarn = C;
|
|
2166
2166
|
},
|
|
2167
2167
|
get fallbackRoot() {
|
|
2168
|
-
return
|
|
2168
|
+
return D;
|
|
2169
2169
|
},
|
|
2170
2170
|
set fallbackRoot(f) {
|
|
2171
|
-
|
|
2171
|
+
D = f;
|
|
2172
2172
|
},
|
|
2173
2173
|
get fallbackFormat() {
|
|
2174
|
-
return
|
|
2174
|
+
return T;
|
|
2175
2175
|
},
|
|
2176
2176
|
set fallbackFormat(f) {
|
|
2177
|
-
|
|
2177
|
+
T = f, N.fallbackFormat = T;
|
|
2178
2178
|
},
|
|
2179
2179
|
get warnHtmlMessage() {
|
|
2180
2180
|
return v;
|
|
@@ -2188,7 +2188,7 @@ function Kr(e = {}) {
|
|
|
2188
2188
|
set escapeParameter(f) {
|
|
2189
2189
|
p = f, N.escapeParameter = f;
|
|
2190
2190
|
},
|
|
2191
|
-
t:
|
|
2191
|
+
t: He,
|
|
2192
2192
|
getLocaleMessage: Re,
|
|
2193
2193
|
setLocaleMessage: Ce,
|
|
2194
2194
|
mergeLocaleMessage: Ue,
|
|
@@ -2196,9 +2196,9 @@ function Kr(e = {}) {
|
|
|
2196
2196
|
setPostTranslationHandler: oe,
|
|
2197
2197
|
getMissingHandler: ut,
|
|
2198
2198
|
setMissingHandler: mt,
|
|
2199
|
-
[
|
|
2199
|
+
[Hr]: gt
|
|
2200
2200
|
};
|
|
2201
|
-
return P.datetimeFormats = x, P.numberFormats = re, P.rt = Be, P.te = Et, P.tm = Fe, P.d = dt, P.n = _t, P.getDateTimeFormat = Nt, P.setDateTimeFormat = a, P.mergeDateTimeFormat = o, P.getNumberFormat =
|
|
2201
|
+
return P.datetimeFormats = x, P.numberFormats = re, P.rt = Be, P.te = Et, P.tm = Fe, P.d = dt, P.n = _t, P.getDateTimeFormat = Nt, P.setDateTimeFormat = a, P.mergeDateTimeFormat = o, P.getNumberFormat = b, P.setNumberFormat = A, P.mergeNumberFormat = Z, P[Wn] = n, P[wt] = bt, P[Ft] = ht, P[Ut] = Je, P;
|
|
2202
2202
|
}
|
|
2203
2203
|
const Bt = {
|
|
2204
2204
|
tag: {
|
|
@@ -2218,7 +2218,7 @@ const Bt = {
|
|
|
2218
2218
|
type: Object
|
|
2219
2219
|
}
|
|
2220
2220
|
};
|
|
2221
|
-
function
|
|
2221
|
+
function Kr({ slots: e }, t) {
|
|
2222
2222
|
return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((s, l) => [
|
|
2223
2223
|
...s,
|
|
2224
2224
|
// prettier-ignore
|
|
@@ -2231,14 +2231,14 @@ function zr({ slots: e }, t) {
|
|
|
2231
2231
|
function Xn() {
|
|
2232
2232
|
return we;
|
|
2233
2233
|
}
|
|
2234
|
-
|
|
2234
|
+
K({
|
|
2235
2235
|
keypath: {
|
|
2236
2236
|
type: String,
|
|
2237
2237
|
required: !0
|
|
2238
2238
|
},
|
|
2239
2239
|
plural: {
|
|
2240
2240
|
type: [Number, String],
|
|
2241
|
-
validator: (e) =>
|
|
2241
|
+
validator: (e) => z(e) || !isNaN(e)
|
|
2242
2242
|
}
|
|
2243
2243
|
}, Bt);
|
|
2244
2244
|
function Qr(e) {
|
|
@@ -2249,18 +2249,18 @@ function xn(e, t, n, s) {
|
|
|
2249
2249
|
return () => {
|
|
2250
2250
|
const c = { part: !0 };
|
|
2251
2251
|
let m = V();
|
|
2252
|
-
e.locale && (c.locale = e.locale), R(e.format) ? c.key = e.format : F(e.format) && (R(e.format.key) && (c.key = e.format.key), m = Object.keys(e.format).reduce((g, C) => n.includes(C) ?
|
|
2252
|
+
e.locale && (c.locale = e.locale), R(e.format) ? c.key = e.format : F(e.format) && (R(e.format.key) && (c.key = e.format.key), m = Object.keys(e.format).reduce((g, C) => n.includes(C) ? K(V(), g, { [C]: e.format[C] }) : g, V()));
|
|
2253
2253
|
const u = s(e.value, c, m);
|
|
2254
2254
|
let _ = [c.key];
|
|
2255
2255
|
$(u) ? _ = u.map((g, C) => {
|
|
2256
|
-
const
|
|
2257
|
-
return Qr(
|
|
2256
|
+
const D = l[g.type], T = D ? D({ [g.type]: g.value, index: C, parts: u }) : [g.value];
|
|
2257
|
+
return Qr(T) && (T[0].key = `${g.type}-${C}`), T;
|
|
2258
2258
|
}) : R(u) && (_ = [u]);
|
|
2259
|
-
const
|
|
2260
|
-
return Ln(E,
|
|
2259
|
+
const h = K(V(), r), E = R(e.tag) || F(e.tag) ? e.tag : Xn();
|
|
2260
|
+
return Ln(E, h, _);
|
|
2261
2261
|
};
|
|
2262
2262
|
}
|
|
2263
|
-
|
|
2263
|
+
K({
|
|
2264
2264
|
value: {
|
|
2265
2265
|
type: Number,
|
|
2266
2266
|
required: !0
|
|
@@ -2269,7 +2269,7 @@ z({
|
|
|
2269
2269
|
type: [String, Object]
|
|
2270
2270
|
}
|
|
2271
2271
|
}, Bt);
|
|
2272
|
-
|
|
2272
|
+
K({
|
|
2273
2273
|
value: {
|
|
2274
2274
|
type: [Number, Date],
|
|
2275
2275
|
required: !0
|
|
@@ -2278,13 +2278,13 @@ z({
|
|
|
2278
2278
|
type: [String, Object]
|
|
2279
2279
|
}
|
|
2280
2280
|
}, Bt);
|
|
2281
|
-
const qr = /* @__PURE__ */
|
|
2281
|
+
const qr = /* @__PURE__ */ Oe("global-vue-i18n");
|
|
2282
2282
|
function ct(e = {}) {
|
|
2283
2283
|
const t = Wt();
|
|
2284
2284
|
if (t == null)
|
|
2285
|
-
throw
|
|
2285
|
+
throw Ye(Pe.MUST_BE_CALL_SETUP_TOP);
|
|
2286
2286
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
2287
|
-
throw
|
|
2287
|
+
throw Ye(Pe.NOT_INSTALLED);
|
|
2288
2288
|
const n = ea(t), s = na(n), l = jn(t), r = ta(e, l);
|
|
2289
2289
|
if (r === "global")
|
|
2290
2290
|
return Br(s, e, l), s;
|
|
@@ -2295,15 +2295,15 @@ function ct(e = {}) {
|
|
|
2295
2295
|
const c = n;
|
|
2296
2296
|
let m = c.__getInstance(t);
|
|
2297
2297
|
if (m == null) {
|
|
2298
|
-
const u =
|
|
2299
|
-
"__i18n" in l && (u.__i18n = l.__i18n), s && (u.__root = s), m =
|
|
2298
|
+
const u = K({}, e);
|
|
2299
|
+
"__i18n" in l && (u.__i18n = l.__i18n), s && (u.__root = s), m = zr(u), c.__composerExtend && (m[Vt] = c.__composerExtend(m)), aa(c, t, m), c.__setInstance(t, m);
|
|
2300
2300
|
}
|
|
2301
2301
|
return m;
|
|
2302
2302
|
}
|
|
2303
2303
|
function ea(e) {
|
|
2304
|
-
const t =
|
|
2304
|
+
const t = Zn(e.isCE ? qr : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
2305
2305
|
if (!t)
|
|
2306
|
-
throw
|
|
2306
|
+
throw Ye(e.isCE ? Pe.NOT_INSTALLED_WITH_PROVIDE : Pe.UNEXPECTED_ERROR);
|
|
2307
2307
|
return t;
|
|
2308
2308
|
}
|
|
2309
2309
|
function ta(e, t) {
|
|
@@ -2335,19 +2335,19 @@ function ra(e, t = !1) {
|
|
|
2335
2335
|
}
|
|
2336
2336
|
function aa(e, t, n) {
|
|
2337
2337
|
Gt(() => {
|
|
2338
|
-
}, t),
|
|
2338
|
+
}, t), On(() => {
|
|
2339
2339
|
const s = n;
|
|
2340
2340
|
e.__deleteInstance(t);
|
|
2341
2341
|
const l = s[Vt];
|
|
2342
2342
|
l && (l(), delete s[Vt]);
|
|
2343
2343
|
}, t);
|
|
2344
2344
|
}
|
|
2345
|
-
|
|
2345
|
+
Zr();
|
|
2346
2346
|
vr(sr);
|
|
2347
|
-
|
|
2348
|
-
|
|
2347
|
+
Tr(Er);
|
|
2348
|
+
yr(Cn);
|
|
2349
2349
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
2350
|
-
const e =
|
|
2350
|
+
const e = Te();
|
|
2351
2351
|
e.__INTLIFY__ = !0, rr(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
2352
2352
|
}
|
|
2353
2353
|
const et = /* @__PURE__ */ ce({
|
|
@@ -2362,13 +2362,13 @@ const et = /* @__PURE__ */ ce({
|
|
|
2362
2362
|
const { t } = ct();
|
|
2363
2363
|
return (n, s) => {
|
|
2364
2364
|
const l = Ge("FmIcon"), r = Ge("FmTooltip");
|
|
2365
|
-
return B(),
|
|
2365
|
+
return B(), ke(r, {
|
|
2366
2366
|
variant: "plain",
|
|
2367
2367
|
placement: "right",
|
|
2368
2368
|
"z-index": 50
|
|
2369
2369
|
}, {
|
|
2370
2370
|
content: se(() => [
|
|
2371
|
-
ee("div", null, je(
|
|
2371
|
+
ee("div", null, je(be(t)("team.memberForm.permissions.inherited")), 1),
|
|
2372
2372
|
(B(!0), te(we, null, me(e.item.setNames, (c) => (B(), te("div", { key: c }, [
|
|
2373
2373
|
ee("div", null, "- " + je(c), 1)
|
|
2374
2374
|
]))), 128))
|
|
@@ -2492,36 +2492,36 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2492
2492
|
},
|
|
2493
2493
|
emits: ["update:model-value"],
|
|
2494
2494
|
setup(e, { emit: t }) {
|
|
2495
|
-
const n = e, s = t, { t: l } = at(), r =
|
|
2496
|
-
() => n.modelValue.filter((
|
|
2495
|
+
const n = e, s = t, { t: l } = at(), r = ye(!1), c = $n(), m = G(() => n.modelValue.length < n.min ? `Min selection ${n.min}` : n.max !== void 0 && n.modelValue.length > n.max ? `Max selection ${n.max}` : !0), u = `checkbox-${ma(6)}`, _ = G(() => m.value !== !0), h = G(
|
|
2496
|
+
() => n.modelValue.filter((T) => n.options.some((k) => k.value === T))
|
|
2497
2497
|
), E = G(
|
|
2498
2498
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
2499
|
-
), g = G(() => n.options.length > 0 && n.options.length ===
|
|
2499
|
+
), g = G(() => n.options.length > 0 && n.options.length === h.value.length);
|
|
2500
2500
|
function C() {
|
|
2501
|
-
const
|
|
2501
|
+
const T = n.modelValue.filter((k) => !h.value.includes(k));
|
|
2502
2502
|
if (g.value === !0)
|
|
2503
|
-
s("update:model-value",
|
|
2503
|
+
s("update:model-value", T);
|
|
2504
2504
|
else {
|
|
2505
|
-
const
|
|
2506
|
-
s("update:model-value", [...
|
|
2505
|
+
const k = n.includeDisabledOptionsWhenSelectAll ? n.options.map((i) => i.value) : n.options.filter((i) => !i.disabled).map((i) => i.value);
|
|
2506
|
+
s("update:model-value", [...T, ...k]);
|
|
2507
2507
|
}
|
|
2508
2508
|
}
|
|
2509
|
-
function
|
|
2509
|
+
function D(T, k) {
|
|
2510
2510
|
let i = We(n.modelValue);
|
|
2511
|
-
|
|
2511
|
+
k ? i.every((d) => d !== T) && i.push(T) : i = i.filter((d) => d !== T), s("update:model-value", i);
|
|
2512
2512
|
}
|
|
2513
|
-
return (
|
|
2513
|
+
return (T, k) => {
|
|
2514
2514
|
const i = Ge("FmCheckbox");
|
|
2515
|
-
return B(),
|
|
2515
|
+
return B(), ke(ua, {
|
|
2516
2516
|
id: u,
|
|
2517
2517
|
title: e.title,
|
|
2518
2518
|
required: !1
|
|
2519
2519
|
}, {
|
|
2520
2520
|
top: se(() => [
|
|
2521
|
-
le(
|
|
2521
|
+
le(T.$slots, "top")
|
|
2522
2522
|
]),
|
|
2523
2523
|
default: se(() => [
|
|
2524
|
-
n.showAllToggle ? (B(),
|
|
2524
|
+
n.showAllToggle ? (B(), ke(i, {
|
|
2525
2525
|
key: 0,
|
|
2526
2526
|
"model-value": g.value,
|
|
2527
2527
|
disabled: e.disable,
|
|
@@ -2535,10 +2535,10 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2535
2535
|
(B(!0), te(we, null, me(e.options, (d, v) => (B(), te("div", {
|
|
2536
2536
|
key: d.value,
|
|
2537
2537
|
style: tt(`margin-bottom: ${v < e.options.length - 1 ? n.gutter : 0}px`),
|
|
2538
|
-
class:
|
|
2538
|
+
class: ze(v < e.options.length - 1 ? "q-mb-sm" : "")
|
|
2539
2539
|
}, [
|
|
2540
2540
|
ee("div", {
|
|
2541
|
-
class:
|
|
2541
|
+
class: ze(["row justify-between", e.alignCenter ? "items-center" : "items-start"])
|
|
2542
2542
|
}, [
|
|
2543
2543
|
ee("div", da, [
|
|
2544
2544
|
ne(i, {
|
|
@@ -2547,30 +2547,30 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2547
2547
|
size: "sm",
|
|
2548
2548
|
label: d.label,
|
|
2549
2549
|
value: d.label,
|
|
2550
|
-
"onUpdate:modelValue": (p) =>
|
|
2550
|
+
"onUpdate:modelValue": (p) => D(d.value, p)
|
|
2551
2551
|
}, null, 8, ["model-value", "disabled", "label", "value", "onUpdate:modelValue"]),
|
|
2552
|
-
le(
|
|
2552
|
+
le(T.$slots, `checkbox-${d.key || d.value}-append`, {
|
|
2553
2553
|
option: d,
|
|
2554
2554
|
selected: e.modelValue.includes(d.value)
|
|
2555
2555
|
})
|
|
2556
2556
|
]),
|
|
2557
|
-
|
|
2557
|
+
be(c)[`checkbox-${d.key || d.value}-end`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (B(), te("div", {
|
|
2558
2558
|
key: 0,
|
|
2559
|
-
class:
|
|
2559
|
+
class: ze([{ "q-checkbox disabled": e.disable || d.disabled }, "col"])
|
|
2560
2560
|
}, [
|
|
2561
|
-
le(
|
|
2561
|
+
le(T.$slots, `checkbox-${d.key || d.value}-end`, {
|
|
2562
2562
|
option: d,
|
|
2563
2563
|
value: e.modelValue.includes(d.value),
|
|
2564
2564
|
disable: e.disable || d.disabled
|
|
2565
2565
|
})
|
|
2566
2566
|
], 2)) : Ne("", !0)
|
|
2567
2567
|
], 2),
|
|
2568
|
-
|
|
2568
|
+
be(c)[`checkbox-${d.key || d.value}-bottom`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (B(), te("div", {
|
|
2569
2569
|
key: 0,
|
|
2570
|
-
class:
|
|
2570
|
+
class: ze(["q-mt-sm", { "q-checkbox disabled": e.disable || d.disabled }]),
|
|
2571
2571
|
style: tt(`margin-left: ${e.bottomSlotIndent}`)
|
|
2572
2572
|
}, [
|
|
2573
|
-
le(
|
|
2573
|
+
le(T.$slots, `checkbox-${d.key || d.value}-bottom`, {
|
|
2574
2574
|
option: d,
|
|
2575
2575
|
disable: e.disable || d.disabled,
|
|
2576
2576
|
value: e.modelValue.includes(d.value)
|
|
@@ -2604,20 +2604,20 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2604
2604
|
const n = e, s = t, l = Object.values(rs), r = G(() => {
|
|
2605
2605
|
const m = /* @__PURE__ */ new Map();
|
|
2606
2606
|
for (const _ of Ct) {
|
|
2607
|
-
const
|
|
2608
|
-
|
|
2607
|
+
const h = _.category;
|
|
2608
|
+
h && (n.excludedSubjects.includes(_.subject) || (m.has(h) || m.set(h, []), m.get(h).push({ label: _.label, value: _.subject })));
|
|
2609
2609
|
}
|
|
2610
|
-
return [...m.keys()].sort((_,
|
|
2611
|
-
const E = l.indexOf(_), g = l.indexOf(
|
|
2612
|
-
return E === -1 && g === -1 ? _.localeCompare(
|
|
2610
|
+
return [...m.keys()].sort((_, h) => {
|
|
2611
|
+
const E = l.indexOf(_), g = l.indexOf(h);
|
|
2612
|
+
return E === -1 && g === -1 ? _.localeCompare(h) : E === -1 ? 1 : g === -1 ? -1 : E - g;
|
|
2613
2613
|
}).map((_) => {
|
|
2614
|
-
const
|
|
2615
|
-
return { category: _, options:
|
|
2614
|
+
const h = m.get(_), E = n.modelValue.filter((g) => h.some((C) => C.value === g.subject)).map((g) => g.subject);
|
|
2615
|
+
return { category: _, options: h, selectedSubjects: E };
|
|
2616
2616
|
});
|
|
2617
2617
|
});
|
|
2618
2618
|
function c(m, u) {
|
|
2619
|
-
var
|
|
2620
|
-
const _ = ((
|
|
2619
|
+
var h;
|
|
2620
|
+
const _ = ((h = r.value.find((E) => E.category === m)) == null ? void 0 : h.options) ?? [];
|
|
2621
2621
|
s("update:model-value", [
|
|
2622
2622
|
// Keep permissions from all other categories unchanged
|
|
2623
2623
|
...n.modelValue.filter((E) => !_.some((g) => g.value === E.subject)),
|
|
@@ -2626,31 +2626,31 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2626
2626
|
]);
|
|
2627
2627
|
}
|
|
2628
2628
|
return (m, u) => (B(), te("div", fa, [
|
|
2629
|
-
(B(!0), te(we, null, me(r.value, (_) => (B(),
|
|
2629
|
+
(B(!0), te(we, null, me(r.value, (_) => (B(), ke(Jt, {
|
|
2630
2630
|
key: _.category,
|
|
2631
2631
|
"model-value": _.selectedSubjects,
|
|
2632
2632
|
options: _.options,
|
|
2633
2633
|
disable: e.disable,
|
|
2634
2634
|
title: _.category,
|
|
2635
|
-
"onUpdate:modelValue": (
|
|
2635
|
+
"onUpdate:modelValue": (h) => c(_.category, h)
|
|
2636
2636
|
}, ve({ _: 2 }, [
|
|
2637
|
-
me(_.options, (
|
|
2638
|
-
name: `checkbox-${
|
|
2637
|
+
me(_.options, (h) => ({
|
|
2638
|
+
name: `checkbox-${h.value}-append`,
|
|
2639
2639
|
fn: se(({ option: E }) => [
|
|
2640
|
-
le(m.$slots, `checkbox-${
|
|
2640
|
+
le(m.$slots, `checkbox-${h.value}-append`, { option: E })
|
|
2641
2641
|
])
|
|
2642
2642
|
}))
|
|
2643
2643
|
]), 1032, ["model-value", "options", "disable", "title", "onUpdate:modelValue"]))), 128))
|
|
2644
2644
|
]));
|
|
2645
2645
|
}
|
|
2646
|
-
}),
|
|
2646
|
+
}), ba = { class: "flex items-center" }, ha = { class: "ml-auto" }, ga = /* @__PURE__ */ ce({
|
|
2647
2647
|
__name: "CollapsibleWrapper",
|
|
2648
2648
|
props: {
|
|
2649
2649
|
title: { default: "" },
|
|
2650
2650
|
initiallyCollapsed: { type: Boolean, default: !1 }
|
|
2651
2651
|
},
|
|
2652
2652
|
setup(e) {
|
|
2653
|
-
const n =
|
|
2653
|
+
const n = ye(e.initiallyCollapsed), s = ye(), l = ye(0);
|
|
2654
2654
|
let r;
|
|
2655
2655
|
function c() {
|
|
2656
2656
|
n.value = !n.value;
|
|
@@ -2659,19 +2659,19 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2659
2659
|
s.value && (l.value = s.value.scrollHeight);
|
|
2660
2660
|
}
|
|
2661
2661
|
return Gt(async () => {
|
|
2662
|
-
await
|
|
2662
|
+
await zn(), s.value && (r = new ResizeObserver(() => {
|
|
2663
2663
|
m();
|
|
2664
2664
|
}), r.observe(s.value));
|
|
2665
|
-
}),
|
|
2665
|
+
}), On(() => {
|
|
2666
2666
|
r == null || r.disconnect();
|
|
2667
2667
|
}), (u, _) => {
|
|
2668
|
-
const
|
|
2668
|
+
const h = Ge("FmButton");
|
|
2669
2669
|
return B(), te(we, null, [
|
|
2670
2670
|
ee("div", { onClick: c }, [
|
|
2671
|
-
ee("div",
|
|
2671
|
+
ee("div", ba, [
|
|
2672
2672
|
le(u.$slots, "title"),
|
|
2673
|
-
ee("div",
|
|
2674
|
-
ne(
|
|
2673
|
+
ee("div", ha, [
|
|
2674
|
+
ne(h, {
|
|
2675
2675
|
icon: n.value ? "keyboard_arrow_down" : "keyboard_arrow_up",
|
|
2676
2676
|
"text-color": "neutral-gray-400",
|
|
2677
2677
|
variant: "tertiary",
|
|
@@ -2691,7 +2691,7 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2691
2691
|
], 64);
|
|
2692
2692
|
};
|
|
2693
2693
|
}
|
|
2694
|
-
}), Ea = { class: "fm-typo-en-title-sm-600" },
|
|
2694
|
+
}), Ea = { class: "fm-typo-en-title-sm-600" }, Ot = "includedFuture", kn = /* @__PURE__ */ ce({
|
|
2695
2695
|
__name: "ConditionPermission",
|
|
2696
2696
|
props: {
|
|
2697
2697
|
modelValue: {
|
|
@@ -2716,32 +2716,32 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2716
2716
|
const n = e, s = t, { t: l } = at(), r = G(() => [
|
|
2717
2717
|
{
|
|
2718
2718
|
label: l("team.memberForm.permissions.includedFuture", { context: n.context }),
|
|
2719
|
-
value:
|
|
2719
|
+
value: Ot,
|
|
2720
2720
|
// Can only be selected if all other options are selected
|
|
2721
2721
|
disable: !!n.modelValue && n.options.length > n.modelValue.length
|
|
2722
2722
|
},
|
|
2723
2723
|
...n.options.filter(
|
|
2724
2724
|
(_) => _.label.toLocaleLowerCase().includes(u.value.toLocaleLowerCase())
|
|
2725
2725
|
)
|
|
2726
|
-
]), c = G(() => n.modelValue ? n.modelValue : [
|
|
2726
|
+
]), c = G(() => n.modelValue ? n.modelValue : [Ot, ...n.options.map((_) => _.value)]);
|
|
2727
2727
|
function m(_) {
|
|
2728
|
-
const
|
|
2729
|
-
s("update:model-value",
|
|
2728
|
+
const h = _.length === r.value.length;
|
|
2729
|
+
s("update:model-value", h ? null : _.filter((E) => E !== Ot));
|
|
2730
2730
|
}
|
|
2731
|
-
const u =
|
|
2732
|
-
return (_,
|
|
2731
|
+
const u = ye("");
|
|
2732
|
+
return (_, h) => {
|
|
2733
2733
|
const E = Ge("fm-search");
|
|
2734
|
-
return B(),
|
|
2734
|
+
return B(), ke(ga, null, {
|
|
2735
2735
|
title: se(() => [
|
|
2736
|
-
ee("p", Ea, je(
|
|
2736
|
+
ee("p", Ea, je(be(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
2737
2737
|
]),
|
|
2738
2738
|
default: se(() => [
|
|
2739
|
-
e.options.length > 1 ? (B(),
|
|
2739
|
+
e.options.length > 1 ? (B(), ke(E, {
|
|
2740
2740
|
key: 0,
|
|
2741
2741
|
modelValue: u.value,
|
|
2742
|
-
"onUpdate:modelValue":
|
|
2742
|
+
"onUpdate:modelValue": h[0] || (h[0] = (g) => u.value = g),
|
|
2743
2743
|
class: "mt-16",
|
|
2744
|
-
placeholder:
|
|
2744
|
+
placeholder: be(l)("team.memberForm.permissions.search", { context: e.context })
|
|
2745
2745
|
}, null, 8, ["modelValue", "placeholder"])) : Ne("", !0),
|
|
2746
2746
|
ne(Jt, {
|
|
2747
2747
|
"model-value": c.value,
|
|
@@ -2799,27 +2799,27 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2799
2799
|
...n.roles.map((_) => ({
|
|
2800
2800
|
label: _.name,
|
|
2801
2801
|
value: _._id,
|
|
2802
|
-
disable: !!u && _.restaurants.every(({ id:
|
|
2802
|
+
disable: !!u && _.restaurants.every(({ id: h }) => !u.includes(h))
|
|
2803
2803
|
}))
|
|
2804
2804
|
];
|
|
2805
2805
|
}), c = G(() => n.modelValue ? n.modelValue : [Lt, ...n.roles.map((u) => u._id)]);
|
|
2806
2806
|
function m(u) {
|
|
2807
2807
|
const _ = u.length === r.value.length;
|
|
2808
|
-
s("update:model-value", _ ? null : u.filter((
|
|
2808
|
+
s("update:model-value", _ ? null : u.filter((h) => h !== Lt));
|
|
2809
2809
|
}
|
|
2810
|
-
return (u, _) => (B(),
|
|
2810
|
+
return (u, _) => (B(), ke(Jt, {
|
|
2811
2811
|
"model-value": c.value,
|
|
2812
2812
|
options: r.value,
|
|
2813
2813
|
"show-intermediate": !1,
|
|
2814
2814
|
"show-all-toggle": !1,
|
|
2815
2815
|
disable: e.disable,
|
|
2816
|
-
title:
|
|
2816
|
+
title: be(l)("team.memberForm.permissions.roles"),
|
|
2817
2817
|
"onUpdate:modelValue": m
|
|
2818
2818
|
}, ve({ _: 2 }, [
|
|
2819
|
-
me(r.value, (
|
|
2820
|
-
name: `checkbox-${
|
|
2819
|
+
me(r.value, (h) => ({
|
|
2820
|
+
name: `checkbox-${h.value}-append`,
|
|
2821
2821
|
fn: se(({ option: E }) => [
|
|
2822
|
-
le(u.$slots, `checkbox-${
|
|
2822
|
+
le(u.$slots, `checkbox-${h.value}-append`, { option: E })
|
|
2823
2823
|
])
|
|
2824
2824
|
}))
|
|
2825
2825
|
]), 1032, ["model-value", "options", "disable", "title"]));
|
|
@@ -2828,9 +2828,9 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2828
2828
|
async readWarehouses() {
|
|
2829
2829
|
return qn(await es().get("/warehouses"));
|
|
2830
2830
|
}
|
|
2831
|
-
}, va = { class: "flex flex-col gap-32" },
|
|
2831
|
+
}, va = { class: "flex flex-col gap-32" }, Ta = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, ya = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, ka = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Oa = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Pa = /* @__PURE__ */ ce({
|
|
2832
2832
|
__name: "PortalPermissionEditor",
|
|
2833
|
-
props: /* @__PURE__ */
|
|
2833
|
+
props: /* @__PURE__ */ zt({
|
|
2834
2834
|
disable: {
|
|
2835
2835
|
type: Boolean,
|
|
2836
2836
|
default: !1
|
|
@@ -2843,77 +2843,77 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2843
2843
|
modelValue: { default: () => [] },
|
|
2844
2844
|
modelModifiers: {}
|
|
2845
2845
|
}),
|
|
2846
|
-
emits: /* @__PURE__ */
|
|
2846
|
+
emits: /* @__PURE__ */ zt(["permissionChanged"], ["update:modelValue"]),
|
|
2847
2847
|
setup(e, { emit: t }) {
|
|
2848
|
-
const n =
|
|
2849
|
-
const
|
|
2848
|
+
const n = Kn(e, "modelValue"), s = e, l = t, { t: r } = at(), c = G(() => {
|
|
2849
|
+
const M = Ct.filter((L) => !h.includes(L.subject)).map((L) => L.subject);
|
|
2850
2850
|
return ts(
|
|
2851
2851
|
s.inheritPermissions.map((L) => ({
|
|
2852
2852
|
...L,
|
|
2853
|
-
permissions: L.permissions.filter((x) =>
|
|
2853
|
+
permissions: L.permissions.filter((x) => M.includes(x.subject))
|
|
2854
2854
|
}))
|
|
2855
2855
|
).map((L) => ({
|
|
2856
2856
|
id: L.subject,
|
|
2857
2857
|
setNames: L.setNames
|
|
2858
2858
|
}));
|
|
2859
2859
|
}), m = G(() => {
|
|
2860
|
-
const
|
|
2860
|
+
const M = s.inheritPermissions.map((S) => ({
|
|
2861
2861
|
...S,
|
|
2862
2862
|
permissions: S.permissions.filter(
|
|
2863
2863
|
(L) => L.subject === Q.Subject.Business.inventory_stock
|
|
2864
2864
|
)
|
|
2865
2865
|
}));
|
|
2866
2866
|
return vt(
|
|
2867
|
-
|
|
2867
|
+
M,
|
|
2868
2868
|
"warehouseId",
|
|
2869
2869
|
g.value.map((S) => S._id)
|
|
2870
2870
|
);
|
|
2871
2871
|
}), u = G(() => {
|
|
2872
|
-
const
|
|
2872
|
+
const M = s.inheritPermissions.map((S) => ({
|
|
2873
2873
|
...S,
|
|
2874
2874
|
permissions: S.permissions.filter(
|
|
2875
2875
|
(L) => L.subject === Q.Subject.Restaurant.restaurant
|
|
2876
2876
|
)
|
|
2877
2877
|
}));
|
|
2878
2878
|
return vt(
|
|
2879
|
-
|
|
2879
|
+
M,
|
|
2880
2880
|
"restaurantId",
|
|
2881
|
-
|
|
2881
|
+
k.value.map((S) => S._id)
|
|
2882
2882
|
);
|
|
2883
2883
|
}), _ = G(() => {
|
|
2884
|
-
const
|
|
2884
|
+
const M = s.inheritPermissions.map((S) => ({
|
|
2885
2885
|
...S,
|
|
2886
2886
|
permissions: S.permissions.filter(
|
|
2887
2887
|
(L) => L.subject === Q.Subject.Business.hrm_employee_role
|
|
2888
2888
|
)
|
|
2889
2889
|
}));
|
|
2890
2890
|
return vt(
|
|
2891
|
-
|
|
2891
|
+
M,
|
|
2892
2892
|
"roleId",
|
|
2893
2893
|
i.value.map((S) => S._id)
|
|
2894
2894
|
);
|
|
2895
|
-
}),
|
|
2895
|
+
}), h = [
|
|
2896
2896
|
Q.Subject.Business.restaurant,
|
|
2897
2897
|
Q.Subject.Business.hrm_employee_role,
|
|
2898
2898
|
Q.Subject.Business.inventory_stock,
|
|
2899
2899
|
Q.Subject.Restaurant.restaurant
|
|
2900
2900
|
], E = G(() => {
|
|
2901
2901
|
var S;
|
|
2902
|
-
const
|
|
2902
|
+
const M = (S = n.value) == null ? void 0 : S.find(
|
|
2903
2903
|
(L) => L.subject === Q.Subject.Business.inventory_stock
|
|
2904
2904
|
);
|
|
2905
|
-
return
|
|
2906
|
-
}), g =
|
|
2907
|
-
label:
|
|
2908
|
-
value:
|
|
2905
|
+
return M ? M.conditions ? JSON.parse(M.conditions).warehouseId.$in : null : [];
|
|
2906
|
+
}), g = ye([]), C = G(() => g.value.map((M) => ({
|
|
2907
|
+
label: M.profile.name,
|
|
2908
|
+
value: M._id
|
|
2909
2909
|
})));
|
|
2910
|
-
function M
|
|
2911
|
-
const S =
|
|
2910
|
+
function D(M) {
|
|
2911
|
+
const S = T(n.value, M);
|
|
2912
2912
|
n.value = S;
|
|
2913
2913
|
}
|
|
2914
|
-
function
|
|
2914
|
+
function T(M, S) {
|
|
2915
2915
|
let L = We(
|
|
2916
|
-
|
|
2916
|
+
M.filter((x) => x.subject !== Q.Subject.Business.inventory_stock)
|
|
2917
2917
|
);
|
|
2918
2918
|
if (!S || S.length > 0) {
|
|
2919
2919
|
const x = {
|
|
@@ -2924,24 +2924,24 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2924
2924
|
}
|
|
2925
2925
|
return L;
|
|
2926
2926
|
}
|
|
2927
|
-
const { restaurants:
|
|
2928
|
-
label: `${
|
|
2929
|
-
value:
|
|
2930
|
-
}))), v = G(() =>
|
|
2931
|
-
function
|
|
2932
|
-
const S = N(n.value,
|
|
2927
|
+
const { restaurants: k } = Qn(), i = as().roles, d = G(() => k.value.map((M) => ({
|
|
2928
|
+
label: `${M.profile.code ? M.profile.code + "-" : ""}${M.profile.name}`,
|
|
2929
|
+
value: M._id
|
|
2930
|
+
}))), v = G(() => k.value.reduce((M, S) => (M[S._id] = i.value.filter((L) => L.restaurants.some((x) => x.id === S._id)).map((L) => L._id), M), {})), p = G(() => ns(n.value));
|
|
2931
|
+
function O(M) {
|
|
2932
|
+
const S = N(n.value, M);
|
|
2933
2933
|
n.value = S;
|
|
2934
2934
|
}
|
|
2935
|
-
const
|
|
2936
|
-
function N(
|
|
2935
|
+
const y = G(() => ss(n.value));
|
|
2936
|
+
function N(M, S) {
|
|
2937
2937
|
var x;
|
|
2938
2938
|
let L = We(
|
|
2939
|
-
|
|
2939
|
+
M.filter(
|
|
2940
2940
|
(re) => re.subject !== Q.Subject.Business.restaurant && re.subject !== Q.Subject.Restaurant.restaurant
|
|
2941
2941
|
)
|
|
2942
2942
|
);
|
|
2943
2943
|
if (!S || S.length > 0) {
|
|
2944
|
-
L.push(
|
|
2944
|
+
L.push(Kt.restaurant);
|
|
2945
2945
|
const re = {
|
|
2946
2946
|
actions: [Q.Action.manage],
|
|
2947
2947
|
subject: Q.Subject.Restaurant.restaurant
|
|
@@ -2954,21 +2954,21 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2954
2954
|
], Le = i.value.map((oe) => oe._id);
|
|
2955
2955
|
re.length !== Le.length && (L = j(
|
|
2956
2956
|
L,
|
|
2957
|
-
(x =
|
|
2957
|
+
(x = y.value || Le) == null ? void 0 : x.filter((oe) => re.includes(oe))
|
|
2958
2958
|
));
|
|
2959
2959
|
}
|
|
2960
2960
|
return L;
|
|
2961
2961
|
}
|
|
2962
|
-
function X(
|
|
2963
|
-
const S = j(n.value,
|
|
2962
|
+
function X(M) {
|
|
2963
|
+
const S = j(n.value, M);
|
|
2964
2964
|
n.value = S;
|
|
2965
2965
|
}
|
|
2966
|
-
function j(
|
|
2966
|
+
function j(M, S) {
|
|
2967
2967
|
let L = We(
|
|
2968
|
-
|
|
2968
|
+
M.filter((x) => x.subject !== Q.Subject.Business.hrm_employee_role)
|
|
2969
2969
|
);
|
|
2970
2970
|
if (S && S.length > 0) {
|
|
2971
|
-
const x = We(
|
|
2971
|
+
const x = We(Kt.role);
|
|
2972
2972
|
x.conditions = JSON.stringify({ roleId: { $in: S } }), L.push(x);
|
|
2973
2973
|
}
|
|
2974
2974
|
return L;
|
|
@@ -2977,16 +2977,16 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2977
2977
|
g.value = await Na.readWarehouses();
|
|
2978
2978
|
}), Rt(
|
|
2979
2979
|
n,
|
|
2980
|
-
(
|
|
2981
|
-
l("permissionChanged",
|
|
2980
|
+
(M) => {
|
|
2981
|
+
l("permissionChanged", M);
|
|
2982
2982
|
},
|
|
2983
2983
|
{ deep: !0 }
|
|
2984
|
-
), (
|
|
2985
|
-
ee("div",
|
|
2984
|
+
), (M, S) => (B(), te("div", va, [
|
|
2985
|
+
ee("div", Ta, [
|
|
2986
2986
|
ne(pa, {
|
|
2987
2987
|
modelValue: n.value,
|
|
2988
2988
|
"onUpdate:modelValue": S[0] || (S[0] = (L) => n.value = L),
|
|
2989
|
-
"excluded-subjects":
|
|
2989
|
+
"excluded-subjects": h
|
|
2990
2990
|
}, ve({ _: 2 }, [
|
|
2991
2991
|
me(c.value, (L) => ({
|
|
2992
2992
|
name: `checkbox-${L.id}-append`,
|
|
@@ -2996,12 +2996,12 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
2996
2996
|
}))
|
|
2997
2997
|
]), 1032, ["modelValue"])
|
|
2998
2998
|
]),
|
|
2999
|
-
ee("div",
|
|
3000
|
-
ne(
|
|
2999
|
+
ee("div", ya, [
|
|
3000
|
+
ne(kn, {
|
|
3001
3001
|
"model-value": E.value,
|
|
3002
3002
|
options: C.value,
|
|
3003
|
-
context:
|
|
3004
|
-
"onUpdate:modelValue":
|
|
3003
|
+
context: be(r)("team.labels.warehouse"),
|
|
3004
|
+
"onUpdate:modelValue": D
|
|
3005
3005
|
}, ve({ _: 2 }, [
|
|
3006
3006
|
me(m.value, (L) => ({
|
|
3007
3007
|
name: `checkbox-${L.id}-append`,
|
|
@@ -3011,12 +3011,12 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
3011
3011
|
}))
|
|
3012
3012
|
]), 1032, ["model-value", "options", "context"])
|
|
3013
3013
|
]),
|
|
3014
|
-
ee("div",
|
|
3015
|
-
ne(
|
|
3014
|
+
ee("div", ka, [
|
|
3015
|
+
ne(kn, {
|
|
3016
3016
|
"model-value": p.value,
|
|
3017
3017
|
options: d.value,
|
|
3018
|
-
context:
|
|
3019
|
-
"onUpdate:modelValue":
|
|
3018
|
+
context: be(r)("team.labels.restaurant"),
|
|
3019
|
+
"onUpdate:modelValue": O
|
|
3020
3020
|
}, ve({ _: 2 }, [
|
|
3021
3021
|
me(u.value, (L) => ({
|
|
3022
3022
|
name: `checkbox-${L.id}-append`,
|
|
@@ -3026,10 +3026,10 @@ const da = { class: "col flex items-center" }, _a = {
|
|
|
3026
3026
|
}))
|
|
3027
3027
|
]), 1032, ["model-value", "options", "context"])
|
|
3028
3028
|
]),
|
|
3029
|
-
ee("div",
|
|
3029
|
+
ee("div", Oa, [
|
|
3030
3030
|
ne(Ia, {
|
|
3031
|
-
roles:
|
|
3032
|
-
"model-value":
|
|
3031
|
+
roles: be(i),
|
|
3032
|
+
"model-value": y.value,
|
|
3033
3033
|
"restaurant-ids": p.value,
|
|
3034
3034
|
"onUpdate:modelValue": X
|
|
3035
3035
|
}, ve({ _: 2 }, [
|