@feedmepos/mf-hrm-portal 2.0.1-dev → 2.0.2-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AuditLogList-DZENrFVl.js → AuditLogList-DIhc0l6X.js} +4 -4
- package/dist/{EmployeeList-DJ-Lx4RI.js → EmployeeList-BeEKR289.js} +5 -5
- package/dist/{Main-BiTy1HOn.js → Main-C0GZCILF.js} +8 -8
- package/dist/{Main-Dp5EpNkO.js → Main-VBmK1-KC.js} +5 -5
- package/dist/{PermissionSetList-_pXwG00F.js → PermissionSetList-C0lRNtWq.js} +3 -3
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DrU4O0ww.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DOBslfDb.js} +613 -613
- package/dist/{RoleList-Ky-QqbsY.js → RoleList-CV0gVc3E.js} +6 -6
- package/dist/{TeamMemberList-DRrHuY31.js → TeamMemberList-BXMfJK16.js} +7 -7
- package/dist/{TimesheetList-BHHH42rb.js → TimesheetList-BwEfqBTT.js} +6 -6
- package/dist/{app-BA8Bg7Fs.js → app-aTcgEcFN.js} +344 -341
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-CEZE1nhx.js → dayjs.min-B9nj2sbB.js} +1 -1
- package/dist/{employee-pAypR6MP.js → employee-Cb9Bw-C0.js} +3 -3
- package/dist/{index-C-bqkIkl.js → index-BFELrt2A.js} +1 -1
- package/dist/{index-bp5uff_3.js → index-CUpeDutG.js} +2 -2
- package/dist/{lodash-D4y44Bjw.js → lodash-ByTVC-hr.js} +1 -1
- package/dist/{team-DcE1JQXZ.js → team-DRrXMlSc.js} +1 -1
- package/dist/{timesheet-DLosZfP0.js → timesheet-B3eCp8WW.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-BMisdZ57.js → useAppStore-Yt4HqLKz.js} +1 -1
- package/dist/{useLoading-JdhZp_cM.js → useLoading-BVU_m_hz.js} +1 -1
- package/dist/{useReportPermissions-OjM-nHtC.js → useReportPermissions-Bchec8_9.js} +2 -2
- package/package.json +2 -2
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { getCurrentInstance as
|
|
1
|
+
import { getCurrentInstance as Vt, inject as Hn, ref as Re, shallowRef as Bn, computed as X, watch as Ct, onMounted as Wt, onUnmounted as Ln, defineComponent as _e, h as Rn, createVNode as ie, Text as Jn, Fragment as je, resolveComponent as Ye, createBlock as Ce, openBlock as K, withCtx as ce, createElementVNode as ae, createElementBlock as le, toDisplayString as Ze, unref as Ee, renderList as pe, renderSlot as me, createCommentVNode as ye, createTextVNode as $n, useSlots as Kn, normalizeStyle as st, normalizeClass as Qe, createSlots as Oe, nextTick as zn, mergeModels as Kt, useModel as Qn } from "vue";
|
|
2
2
|
import { useI18n as ct, useCoreStore as qn } from "@feedmepos/mf-common";
|
|
3
3
|
import "@vue/devtools-api";
|
|
4
|
-
import { l as rt, p as lt, g as es, b as ts, B as ns, C as
|
|
5
|
-
import {
|
|
6
|
-
import { u as os } from "./index-
|
|
7
|
-
import { u as is } from "./useAppStore-
|
|
4
|
+
import { l as rt, p as lt, g as es, b as ts, B as ns, C as Nt, D as ss, v as rs, $ as zt } from "./index-CUpeDutG.js";
|
|
5
|
+
import { a as as, d as q, w as ls, N as Qt } from "./app-aTcgEcFN.js";
|
|
6
|
+
import { u as os } from "./index-BFELrt2A.js";
|
|
7
|
+
import { u as is } from "./useAppStore-Yt4HqLKz.js";
|
|
8
8
|
/*!
|
|
9
9
|
* shared v10.0.5
|
|
10
10
|
* (c) 2024 kazuya kawaguchi
|
|
11
11
|
* Released under the MIT License.
|
|
12
12
|
*/
|
|
13
|
-
const qt = typeof window < "u",
|
|
13
|
+
const qt = typeof window < "u", Ae = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), cs = (e, t, n) => us({ l: e, k: t, s: n }), us = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ee = (e) => typeof e == "number" && isFinite(e), ms = (e) => Gt(e) === "[object Date]", ot = (e) => Gt(e) === "[object RegExp]", ut = (e) => F(e) && Object.keys(e).length === 0, te = Object.assign, ds = Object.create, W = (e = null) => ds(e);
|
|
14
14
|
let en;
|
|
15
15
|
const Le = () => en || (en = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : W());
|
|
16
16
|
function tn(e) {
|
|
@@ -20,14 +20,14 @@ const _s = Object.prototype.hasOwnProperty;
|
|
|
20
20
|
function de(e, t) {
|
|
21
21
|
return _s.call(e, t);
|
|
22
22
|
}
|
|
23
|
-
const
|
|
24
|
-
function
|
|
23
|
+
const Q = Array.isArray, H = (e) => typeof e == "function", R = (e) => typeof e == "string", z = (e) => typeof e == "boolean", U = (e) => e !== null && typeof e == "object", fs = (e) => U(e) && H(e.then) && H(e.catch), Cn = Object.prototype.toString, Gt = (e) => Cn.call(e), F = (e) => Gt(e) === "[object Object]", ps = (e) => e == null ? "" : Q(e) || F(e) && e.toString === Cn ? JSON.stringify(e, null, 2) : String(e);
|
|
24
|
+
function Xt(e, t = "") {
|
|
25
25
|
return e.reduce((n, s, l) => l === 0 ? n + s : n + t + s, "");
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function hs(e, t) {
|
|
28
28
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
29
29
|
}
|
|
30
|
-
const qe = (e) => !
|
|
30
|
+
const qe = (e) => !U(e) || Q(e);
|
|
31
31
|
function at(e, t) {
|
|
32
32
|
if (qe(e) || qe(t))
|
|
33
33
|
throw new Error("Invalid value");
|
|
@@ -35,17 +35,17 @@ function at(e, t) {
|
|
|
35
35
|
for (; n.length; ) {
|
|
36
36
|
const { src: s, des: l } = n.pop();
|
|
37
37
|
Object.keys(s).forEach((r) => {
|
|
38
|
-
r !== "__proto__" && (
|
|
38
|
+
r !== "__proto__" && (U(s[r]) && !U(l[r]) && (l[r] = Array.isArray(s[r]) ? [] : W()), qe(l[r]) || qe(s[r]) ? l[r] = s[r] : n.push({ src: s[r], des: l[r] }));
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function bs(e, t, n) {
|
|
43
43
|
return { line: e, column: t, offset: n };
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function At(e, t, n) {
|
|
46
46
|
return { start: e, end: t };
|
|
47
47
|
}
|
|
48
|
-
const
|
|
48
|
+
const V = {
|
|
49
49
|
// tokenizer error codes
|
|
50
50
|
EXPECTED_TOKEN: 1,
|
|
51
51
|
INVALID_TOKEN_IN_PLACEHOLDER: 2,
|
|
@@ -70,16 +70,16 @@ function mt(e, t, n = {}) {
|
|
|
70
70
|
function Es(e) {
|
|
71
71
|
throw e;
|
|
72
72
|
}
|
|
73
|
-
const
|
|
74
|
-
`, vs = "\u2028",
|
|
75
|
-
function
|
|
73
|
+
const he = " ", Is = "\r", re = `
|
|
74
|
+
`, vs = "\u2028", Ts = "\u2029";
|
|
75
|
+
function Ns(e) {
|
|
76
76
|
const t = e;
|
|
77
77
|
let n = 0, s = 1, l = 1, r = 0;
|
|
78
|
-
const u = (v) => t[v] === Is && t[v + 1] === re, m = (v) => t[v] === re, c = (v) => t[v] ===
|
|
78
|
+
const u = (v) => t[v] === Is && t[v + 1] === re, m = (v) => t[v] === re, c = (v) => t[v] === Ts, f = (v) => t[v] === vs, h = (v) => u(v) || m(v) || c(v) || f(v), E = () => n, g = () => s, k = () => l, M = () => r, N = (v) => u(v) || c(v) || f(v) ? re : t[v], O = () => N(n), i = () => N(n + r);
|
|
79
79
|
function d() {
|
|
80
|
-
return r = 0,
|
|
80
|
+
return r = 0, h(n) && (s++, l = 0), u(n) && n++, n++, l++, t[n];
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function T() {
|
|
83
83
|
return u(n + r) && r++, r++, t[n + r];
|
|
84
84
|
}
|
|
85
85
|
function p() {
|
|
@@ -99,11 +99,11 @@ function Ts(e) {
|
|
|
99
99
|
line: g,
|
|
100
100
|
column: k,
|
|
101
101
|
peekOffset: M,
|
|
102
|
-
charAt:
|
|
102
|
+
charAt: N,
|
|
103
103
|
currentChar: O,
|
|
104
104
|
currentPeek: i,
|
|
105
105
|
next: d,
|
|
106
|
-
peek:
|
|
106
|
+
peek: T,
|
|
107
107
|
reset: p,
|
|
108
108
|
resetPeek: L,
|
|
109
109
|
skipToPeek: y
|
|
@@ -111,7 +111,7 @@ function Ts(e) {
|
|
|
111
111
|
}
|
|
112
112
|
const Ie = void 0, ks = ".", nn = "'", ys = "tokenizer";
|
|
113
113
|
function Os(e, t = {}) {
|
|
114
|
-
const n = t.location !== !1, s =
|
|
114
|
+
const n = t.location !== !1, s = Ns(e), l = () => s.index(), r = () => bs(s.line(), s.column(), s.index()), u = r(), m = l(), c = {
|
|
115
115
|
currentType: 13,
|
|
116
116
|
offset: m,
|
|
117
117
|
startLoc: u,
|
|
@@ -123,21 +123,21 @@ function Os(e, t = {}) {
|
|
|
123
123
|
braceNest: 0,
|
|
124
124
|
inLinked: !1,
|
|
125
125
|
text: ""
|
|
126
|
-
}, f = () => c, { onError:
|
|
127
|
-
function E(a, o,
|
|
126
|
+
}, f = () => c, { onError: h } = t;
|
|
127
|
+
function E(a, o, b, ...S) {
|
|
128
128
|
const J = f();
|
|
129
|
-
if (o.column +=
|
|
130
|
-
const w = n ?
|
|
129
|
+
if (o.column += b, o.offset += b, h) {
|
|
130
|
+
const w = n ? At(J.startLoc, o) : null, _ = mt(a, w, {
|
|
131
131
|
domain: ys,
|
|
132
|
-
args:
|
|
132
|
+
args: S
|
|
133
133
|
});
|
|
134
|
-
|
|
134
|
+
h(_);
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
-
function g(a, o,
|
|
137
|
+
function g(a, o, b) {
|
|
138
138
|
a.endLoc = r(), a.currentType = o;
|
|
139
|
-
const
|
|
140
|
-
return n && (
|
|
139
|
+
const S = { type: o };
|
|
140
|
+
return n && (S.loc = At(a.startLoc, a.endLoc)), b != null && (S.value = b), S;
|
|
141
141
|
}
|
|
142
142
|
const k = (a) => g(
|
|
143
143
|
a,
|
|
@@ -145,16 +145,16 @@ function Os(e, t = {}) {
|
|
|
145
145
|
/* TokenTypes.EOF */
|
|
146
146
|
);
|
|
147
147
|
function M(a, o) {
|
|
148
|
-
return a.currentChar() === o ? (a.next(), o) : (E(
|
|
148
|
+
return a.currentChar() === o ? (a.next(), o) : (E(V.EXPECTED_TOKEN, r(), 0, o), "");
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function N(a) {
|
|
151
151
|
let o = "";
|
|
152
|
-
for (; a.currentPeek() ===
|
|
152
|
+
for (; a.currentPeek() === he || a.currentPeek() === re; )
|
|
153
153
|
o += a.currentPeek(), a.peek();
|
|
154
154
|
return o;
|
|
155
155
|
}
|
|
156
156
|
function O(a) {
|
|
157
|
-
const o =
|
|
157
|
+
const o = N(a);
|
|
158
158
|
return a.skipToPeek(), o;
|
|
159
159
|
}
|
|
160
160
|
function i(a) {
|
|
@@ -171,81 +171,81 @@ function Os(e, t = {}) {
|
|
|
171
171
|
const o = a.charCodeAt(0);
|
|
172
172
|
return o >= 48 && o <= 57;
|
|
173
173
|
}
|
|
174
|
-
function
|
|
175
|
-
const { currentType:
|
|
176
|
-
if (
|
|
174
|
+
function T(a, o) {
|
|
175
|
+
const { currentType: b } = o;
|
|
176
|
+
if (b !== 2)
|
|
177
177
|
return !1;
|
|
178
|
-
|
|
179
|
-
const
|
|
180
|
-
return a.resetPeek(),
|
|
178
|
+
N(a);
|
|
179
|
+
const S = i(a.currentPeek());
|
|
180
|
+
return a.resetPeek(), S;
|
|
181
181
|
}
|
|
182
182
|
function p(a, o) {
|
|
183
|
-
const { currentType:
|
|
184
|
-
if (
|
|
183
|
+
const { currentType: b } = o;
|
|
184
|
+
if (b !== 2)
|
|
185
185
|
return !1;
|
|
186
|
-
|
|
187
|
-
const
|
|
186
|
+
N(a);
|
|
187
|
+
const S = a.currentPeek() === "-" ? a.peek() : a.currentPeek(), J = d(S);
|
|
188
188
|
return a.resetPeek(), J;
|
|
189
189
|
}
|
|
190
190
|
function L(a, o) {
|
|
191
|
-
const { currentType:
|
|
192
|
-
if (
|
|
191
|
+
const { currentType: b } = o;
|
|
192
|
+
if (b !== 2)
|
|
193
193
|
return !1;
|
|
194
|
-
|
|
195
|
-
const
|
|
196
|
-
return a.resetPeek(),
|
|
194
|
+
N(a);
|
|
195
|
+
const S = a.currentPeek() === nn;
|
|
196
|
+
return a.resetPeek(), S;
|
|
197
197
|
}
|
|
198
198
|
function y(a, o) {
|
|
199
|
-
const { currentType:
|
|
200
|
-
if (
|
|
199
|
+
const { currentType: b } = o;
|
|
200
|
+
if (b !== 7)
|
|
201
201
|
return !1;
|
|
202
|
-
|
|
203
|
-
const
|
|
204
|
-
return a.resetPeek(),
|
|
202
|
+
N(a);
|
|
203
|
+
const S = a.currentPeek() === ".";
|
|
204
|
+
return a.resetPeek(), S;
|
|
205
205
|
}
|
|
206
206
|
function v(a, o) {
|
|
207
|
-
const { currentType:
|
|
208
|
-
if (
|
|
207
|
+
const { currentType: b } = o;
|
|
208
|
+
if (b !== 8)
|
|
209
209
|
return !1;
|
|
210
|
-
|
|
211
|
-
const
|
|
212
|
-
return a.resetPeek(),
|
|
210
|
+
N(a);
|
|
211
|
+
const S = i(a.currentPeek());
|
|
212
|
+
return a.resetPeek(), S;
|
|
213
213
|
}
|
|
214
|
-
function
|
|
215
|
-
const { currentType:
|
|
216
|
-
if (!(
|
|
214
|
+
function Y(a, o) {
|
|
215
|
+
const { currentType: b } = o;
|
|
216
|
+
if (!(b === 7 || b === 11))
|
|
217
217
|
return !1;
|
|
218
|
-
|
|
219
|
-
const
|
|
220
|
-
return a.resetPeek(),
|
|
218
|
+
N(a);
|
|
219
|
+
const S = a.currentPeek() === ":";
|
|
220
|
+
return a.resetPeek(), S;
|
|
221
221
|
}
|
|
222
|
-
function
|
|
223
|
-
const { currentType:
|
|
224
|
-
if (
|
|
222
|
+
function x(a, o) {
|
|
223
|
+
const { currentType: b } = o;
|
|
224
|
+
if (b !== 9)
|
|
225
225
|
return !1;
|
|
226
|
-
const
|
|
226
|
+
const S = () => {
|
|
227
227
|
const w = a.currentPeek();
|
|
228
|
-
return w === "{" ? i(a.peek()) : w === "@" || w === "|" || w === ":" || w === "." || w ===
|
|
229
|
-
}, J =
|
|
228
|
+
return w === "{" ? i(a.peek()) : w === "@" || w === "|" || w === ":" || w === "." || w === he || !w ? !1 : w === re ? (a.peek(), S()) : oe(a, !1);
|
|
229
|
+
}, J = S();
|
|
230
230
|
return a.resetPeek(), J;
|
|
231
231
|
}
|
|
232
232
|
function ne(a) {
|
|
233
|
-
|
|
233
|
+
N(a);
|
|
234
234
|
const o = a.currentPeek() === "|";
|
|
235
235
|
return a.resetPeek(), o;
|
|
236
236
|
}
|
|
237
237
|
function oe(a, o = !0) {
|
|
238
|
-
const
|
|
238
|
+
const b = (J = !1, w = "") => {
|
|
239
239
|
const _ = a.currentPeek();
|
|
240
|
-
return _ === "{" || _ === "@" || !_ ? J : _ === "|" ? !(w ===
|
|
241
|
-
},
|
|
242
|
-
return o && a.resetPeek(),
|
|
240
|
+
return _ === "{" || _ === "@" || !_ ? J : _ === "|" ? !(w === he || w === re) : _ === he ? (a.peek(), b(!0, he)) : _ === re ? (a.peek(), b(!0, re)) : !0;
|
|
241
|
+
}, S = b();
|
|
242
|
+
return o && a.resetPeek(), S;
|
|
243
243
|
}
|
|
244
244
|
function C(a, o) {
|
|
245
|
-
const
|
|
246
|
-
return
|
|
245
|
+
const b = a.currentChar();
|
|
246
|
+
return b === Ie ? Ie : o(b) ? (a.next(), b) : null;
|
|
247
247
|
}
|
|
248
|
-
function
|
|
248
|
+
function A(a) {
|
|
249
249
|
const o = a.charCodeAt(0);
|
|
250
250
|
return o >= 97 && o <= 122 || // a-z
|
|
251
251
|
o >= 65 && o <= 90 || // A-Z
|
|
@@ -254,9 +254,9 @@ function Os(e, t = {}) {
|
|
|
254
254
|
o === 36;
|
|
255
255
|
}
|
|
256
256
|
function D(a) {
|
|
257
|
-
return C(a,
|
|
257
|
+
return C(a, A);
|
|
258
258
|
}
|
|
259
|
-
function
|
|
259
|
+
function Z(a) {
|
|
260
260
|
const o = a.charCodeAt(0);
|
|
261
261
|
return o >= 97 && o <= 122 || // a-z
|
|
262
262
|
o >= 65 && o <= 90 || // A-Z
|
|
@@ -266,7 +266,7 @@ function Os(e, t = {}) {
|
|
|
266
266
|
o === 45;
|
|
267
267
|
}
|
|
268
268
|
function B(a) {
|
|
269
|
-
return C(a,
|
|
269
|
+
return C(a, Z);
|
|
270
270
|
}
|
|
271
271
|
function P(a) {
|
|
272
272
|
const o = a.charCodeAt(0);
|
|
@@ -275,64 +275,64 @@ function Os(e, t = {}) {
|
|
|
275
275
|
function se(a) {
|
|
276
276
|
return C(a, P);
|
|
277
277
|
}
|
|
278
|
-
function
|
|
278
|
+
function j(a) {
|
|
279
279
|
const o = a.charCodeAt(0);
|
|
280
280
|
return o >= 48 && o <= 57 || // 0-9
|
|
281
281
|
o >= 65 && o <= 70 || // A-F
|
|
282
282
|
o >= 97 && o <= 102;
|
|
283
283
|
}
|
|
284
|
-
function
|
|
285
|
-
return C(a,
|
|
284
|
+
function Ne(a) {
|
|
285
|
+
return C(a, j);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
288
|
-
let o = "",
|
|
287
|
+
function Ve(a) {
|
|
288
|
+
let o = "", b = "";
|
|
289
289
|
for (; o = se(a); )
|
|
290
|
-
|
|
291
|
-
return
|
|
290
|
+
b += o;
|
|
291
|
+
return b;
|
|
292
292
|
}
|
|
293
293
|
function We(a) {
|
|
294
294
|
let o = "";
|
|
295
295
|
for (; ; ) {
|
|
296
|
-
const
|
|
297
|
-
if (
|
|
296
|
+
const b = a.currentChar();
|
|
297
|
+
if (b === "{" || b === "}" || b === "@" || b === "|" || !b)
|
|
298
298
|
break;
|
|
299
|
-
if (
|
|
299
|
+
if (b === he || b === re)
|
|
300
300
|
if (oe(a))
|
|
301
|
-
o +=
|
|
301
|
+
o += b, a.next();
|
|
302
302
|
else {
|
|
303
303
|
if (ne(a))
|
|
304
304
|
break;
|
|
305
|
-
o +=
|
|
305
|
+
o += b, a.next();
|
|
306
306
|
}
|
|
307
307
|
else
|
|
308
|
-
o +=
|
|
308
|
+
o += b, a.next();
|
|
309
309
|
}
|
|
310
310
|
return o;
|
|
311
311
|
}
|
|
312
312
|
function ft(a) {
|
|
313
313
|
O(a);
|
|
314
|
-
let o = "",
|
|
314
|
+
let o = "", b = "";
|
|
315
315
|
for (; o = B(a); )
|
|
316
|
-
|
|
317
|
-
return a.currentChar() === Ie && E(
|
|
316
|
+
b += o;
|
|
317
|
+
return a.currentChar() === Ie && E(V.UNTERMINATED_CLOSING_BRACE, r(), 0), b;
|
|
318
318
|
}
|
|
319
319
|
function pt(a) {
|
|
320
320
|
O(a);
|
|
321
321
|
let o = "";
|
|
322
|
-
return a.currentChar() === "-" ? (a.next(), o += `-${
|
|
322
|
+
return a.currentChar() === "-" ? (a.next(), o += `-${Ve(a)}`) : o += Ve(a), a.currentChar() === Ie && E(V.UNTERMINATED_CLOSING_BRACE, r(), 0), o;
|
|
323
323
|
}
|
|
324
324
|
function $t(a) {
|
|
325
325
|
return a !== nn && a !== re;
|
|
326
326
|
}
|
|
327
|
-
function
|
|
327
|
+
function ht(a) {
|
|
328
328
|
O(a), M(a, "'");
|
|
329
|
-
let o = "",
|
|
329
|
+
let o = "", b = "";
|
|
330
330
|
for (; o = C(a, $t); )
|
|
331
|
-
o === "\\" ?
|
|
332
|
-
const
|
|
333
|
-
return
|
|
331
|
+
o === "\\" ? b += bt(a) : b += o;
|
|
332
|
+
const S = a.currentChar();
|
|
333
|
+
return S === re || S === Ie ? (E(V.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, r(), 0), S === re && (a.next(), M(a, "'")), b) : (M(a, "'"), b);
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function bt(a) {
|
|
336
336
|
const o = a.currentChar();
|
|
337
337
|
switch (o) {
|
|
338
338
|
case "\\":
|
|
@@ -343,42 +343,42 @@ function Os(e, t = {}) {
|
|
|
343
343
|
case "U":
|
|
344
344
|
return Ke(a, o, 6);
|
|
345
345
|
default:
|
|
346
|
-
return E(
|
|
346
|
+
return E(V.UNKNOWN_ESCAPE_SEQUENCE, r(), 0, o), "";
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
|
-
function Ke(a, o,
|
|
349
|
+
function Ke(a, o, b) {
|
|
350
350
|
M(a, o);
|
|
351
|
-
let
|
|
352
|
-
for (let J = 0; J <
|
|
353
|
-
const w =
|
|
351
|
+
let S = "";
|
|
352
|
+
for (let J = 0; J < b; J++) {
|
|
353
|
+
const w = Ne(a);
|
|
354
354
|
if (!w) {
|
|
355
|
-
E(
|
|
355
|
+
E(V.INVALID_UNICODE_ESCAPE_SEQUENCE, r(), 0, `\\${o}${S}${a.currentChar()}`);
|
|
356
356
|
break;
|
|
357
357
|
}
|
|
358
|
-
|
|
358
|
+
S += w;
|
|
359
359
|
}
|
|
360
|
-
return `\\${o}${
|
|
360
|
+
return `\\${o}${S}`;
|
|
361
361
|
}
|
|
362
362
|
function gt(a) {
|
|
363
|
-
return a !== "{" && a !== "}" && a !==
|
|
363
|
+
return a !== "{" && a !== "}" && a !== he && a !== re;
|
|
364
364
|
}
|
|
365
365
|
function Et(a) {
|
|
366
366
|
O(a);
|
|
367
|
-
let o = "",
|
|
367
|
+
let o = "", b = "";
|
|
368
368
|
for (; o = C(a, gt); )
|
|
369
|
-
|
|
370
|
-
return
|
|
369
|
+
b += o;
|
|
370
|
+
return b;
|
|
371
371
|
}
|
|
372
372
|
function It(a) {
|
|
373
|
-
let o = "",
|
|
373
|
+
let o = "", b = "";
|
|
374
374
|
for (; o = D(a); )
|
|
375
|
-
|
|
376
|
-
return
|
|
375
|
+
b += o;
|
|
376
|
+
return b;
|
|
377
377
|
}
|
|
378
378
|
function vt(a) {
|
|
379
|
-
const o = (
|
|
380
|
-
const
|
|
381
|
-
return
|
|
379
|
+
const o = (b) => {
|
|
380
|
+
const S = a.currentChar();
|
|
381
|
+
return S === "{" || S === "@" || S === "|" || S === "(" || S === ")" || !S || S === he ? b : (b += S, a.next(), o(b));
|
|
382
382
|
};
|
|
383
383
|
return o("");
|
|
384
384
|
}
|
|
@@ -391,56 +391,56 @@ function Os(e, t = {}) {
|
|
|
391
391
|
);
|
|
392
392
|
return O(a), o;
|
|
393
393
|
}
|
|
394
|
-
function
|
|
395
|
-
let
|
|
394
|
+
function Se(a, o) {
|
|
395
|
+
let b = null;
|
|
396
396
|
switch (a.currentChar()) {
|
|
397
397
|
case "{":
|
|
398
|
-
return o.braceNest >= 1 && E(
|
|
398
|
+
return o.braceNest >= 1 && E(V.NOT_ALLOW_NEST_PLACEHOLDER, r(), 0), a.next(), b = g(
|
|
399
399
|
o,
|
|
400
400
|
2,
|
|
401
401
|
"{"
|
|
402
402
|
/* TokenChars.BraceLeft */
|
|
403
|
-
), O(a), o.braceNest++,
|
|
403
|
+
), O(a), o.braceNest++, b;
|
|
404
404
|
case "}":
|
|
405
|
-
return o.braceNest > 0 && o.currentType === 2 && E(
|
|
405
|
+
return o.braceNest > 0 && o.currentType === 2 && E(V.EMPTY_PLACEHOLDER, r(), 0), a.next(), b = g(
|
|
406
406
|
o,
|
|
407
407
|
3,
|
|
408
408
|
"}"
|
|
409
409
|
/* TokenChars.BraceRight */
|
|
410
|
-
), o.braceNest--, o.braceNest > 0 && O(a), o.inLinked && o.braceNest === 0 && (o.inLinked = !1),
|
|
410
|
+
), o.braceNest--, o.braceNest > 0 && O(a), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), b;
|
|
411
411
|
case "@":
|
|
412
|
-
return o.braceNest > 0 && E(
|
|
412
|
+
return o.braceNest > 0 && E(V.UNTERMINATED_CLOSING_BRACE, r(), 0), b = De(a, o) || k(o), o.braceNest = 0, b;
|
|
413
413
|
default: {
|
|
414
414
|
let J = !0, w = !0, _ = !0;
|
|
415
415
|
if (ne(a))
|
|
416
|
-
return o.braceNest > 0 && E(
|
|
416
|
+
return o.braceNest > 0 && E(V.UNTERMINATED_CLOSING_BRACE, r(), 0), b = g(o, 1, Ge(a)), o.braceNest = 0, o.inLinked = !1, b;
|
|
417
417
|
if (o.braceNest > 0 && (o.currentType === 4 || o.currentType === 5 || o.currentType === 6))
|
|
418
|
-
return E(
|
|
419
|
-
if (J =
|
|
420
|
-
return
|
|
418
|
+
return E(V.UNTERMINATED_CLOSING_BRACE, r(), 0), o.braceNest = 0, Xe(a, o);
|
|
419
|
+
if (J = T(a, o))
|
|
420
|
+
return b = g(o, 4, ft(a)), O(a), b;
|
|
421
421
|
if (w = p(a, o))
|
|
422
|
-
return
|
|
422
|
+
return b = g(o, 5, pt(a)), O(a), b;
|
|
423
423
|
if (_ = L(a, o))
|
|
424
|
-
return
|
|
424
|
+
return b = g(o, 6, ht(a)), O(a), b;
|
|
425
425
|
if (!J && !w && !_)
|
|
426
|
-
return
|
|
426
|
+
return b = g(o, 12, Et(a)), E(V.INVALID_TOKEN_IN_PLACEHOLDER, r(), 0, b.value), O(a), b;
|
|
427
427
|
break;
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
|
-
return
|
|
430
|
+
return b;
|
|
431
431
|
}
|
|
432
432
|
function De(a, o) {
|
|
433
|
-
const { currentType:
|
|
434
|
-
let
|
|
433
|
+
const { currentType: b } = o;
|
|
434
|
+
let S = null;
|
|
435
435
|
const J = a.currentChar();
|
|
436
|
-
switch ((
|
|
436
|
+
switch ((b === 7 || b === 8 || b === 11 || b === 9) && (J === re || J === he) && E(V.INVALID_LINKED_FORMAT, r(), 0), J) {
|
|
437
437
|
case "@":
|
|
438
|
-
return a.next(),
|
|
438
|
+
return a.next(), S = g(
|
|
439
439
|
o,
|
|
440
440
|
7,
|
|
441
441
|
"@"
|
|
442
442
|
/* TokenChars.LinkedAlias */
|
|
443
|
-
), o.inLinked = !0,
|
|
443
|
+
), o.inLinked = !0, S;
|
|
444
444
|
case ".":
|
|
445
445
|
return O(a), a.next(), g(
|
|
446
446
|
o,
|
|
@@ -456,23 +456,23 @@ function Os(e, t = {}) {
|
|
|
456
456
|
/* TokenChars.LinkedDelimiter */
|
|
457
457
|
);
|
|
458
458
|
default:
|
|
459
|
-
return ne(a) ? (
|
|
459
|
+
return ne(a) ? (S = g(o, 1, Ge(a)), o.braceNest = 0, o.inLinked = !1, S) : y(a, o) || Y(a, o) ? (O(a), De(a, o)) : v(a, o) ? (O(a), g(o, 11, It(a))) : x(a, o) ? (O(a), J === "{" ? Se(a, o) || S : g(o, 10, vt(a))) : (b === 7 && E(V.INVALID_LINKED_FORMAT, r(), 0), o.braceNest = 0, o.inLinked = !1, Xe(a, o));
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
|
-
function
|
|
463
|
-
let
|
|
462
|
+
function Xe(a, o) {
|
|
463
|
+
let b = {
|
|
464
464
|
type: 13
|
|
465
465
|
/* TokenTypes.EOF */
|
|
466
466
|
};
|
|
467
467
|
if (o.braceNest > 0)
|
|
468
|
-
return
|
|
468
|
+
return Se(a, o) || k(o);
|
|
469
469
|
if (o.inLinked)
|
|
470
470
|
return De(a, o) || k(o);
|
|
471
471
|
switch (a.currentChar()) {
|
|
472
472
|
case "{":
|
|
473
|
-
return
|
|
473
|
+
return Se(a, o) || k(o);
|
|
474
474
|
case "}":
|
|
475
|
-
return E(
|
|
475
|
+
return E(V.UNBALANCED_CLOSING_BRACE, r(), 0), a.next(), g(
|
|
476
476
|
o,
|
|
477
477
|
3,
|
|
478
478
|
"}"
|
|
@@ -482,24 +482,24 @@ function Os(e, t = {}) {
|
|
|
482
482
|
return De(a, o) || k(o);
|
|
483
483
|
default: {
|
|
484
484
|
if (ne(a))
|
|
485
|
-
return
|
|
485
|
+
return b = g(o, 1, Ge(a)), o.braceNest = 0, o.inLinked = !1, b;
|
|
486
486
|
if (oe(a))
|
|
487
487
|
return g(o, 0, We(a));
|
|
488
488
|
break;
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
|
-
return
|
|
491
|
+
return b;
|
|
492
492
|
}
|
|
493
|
-
function
|
|
494
|
-
const { currentType: a, offset: o, startLoc:
|
|
495
|
-
return c.lastType = a, c.lastOffset = o, c.lastStartLoc =
|
|
493
|
+
function Tt() {
|
|
494
|
+
const { currentType: a, offset: o, startLoc: b, endLoc: S } = c;
|
|
495
|
+
return c.lastType = a, c.lastOffset = o, c.lastStartLoc = b, c.lastEndLoc = S, c.offset = l(), c.startLoc = r(), s.currentChar() === Ie ? g(
|
|
496
496
|
c,
|
|
497
497
|
13
|
|
498
498
|
/* TokenTypes.EOF */
|
|
499
|
-
) :
|
|
499
|
+
) : Xe(s, c);
|
|
500
500
|
}
|
|
501
501
|
return {
|
|
502
|
-
nextToken:
|
|
502
|
+
nextToken: Tt,
|
|
503
503
|
currentOffset: l,
|
|
504
504
|
currentPosition: r,
|
|
505
505
|
context: f
|
|
@@ -518,105 +518,105 @@ function Cs(e, t, n) {
|
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
|
-
function
|
|
521
|
+
function As(e = {}) {
|
|
522
522
|
const t = e.location !== !1, { onError: n } = e;
|
|
523
|
-
function s(i, d,
|
|
523
|
+
function s(i, d, T, p, ...L) {
|
|
524
524
|
const y = i.currentPosition();
|
|
525
525
|
if (y.offset += p, y.column += p, n) {
|
|
526
|
-
const v = t ?
|
|
526
|
+
const v = t ? At(T, y) : null, Y = mt(d, v, {
|
|
527
527
|
domain: Ls,
|
|
528
528
|
args: L
|
|
529
529
|
});
|
|
530
|
-
n(
|
|
530
|
+
n(Y);
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
|
-
function l(i, d,
|
|
533
|
+
function l(i, d, T) {
|
|
534
534
|
const p = { type: i };
|
|
535
|
-
return t && (p.start = d, p.end = d, p.loc = { start:
|
|
535
|
+
return t && (p.start = d, p.end = d, p.loc = { start: T, end: T }), p;
|
|
536
536
|
}
|
|
537
|
-
function r(i, d,
|
|
538
|
-
t && (i.end = d, i.loc && (i.loc.end =
|
|
537
|
+
function r(i, d, T, p) {
|
|
538
|
+
t && (i.end = d, i.loc && (i.loc.end = T));
|
|
539
539
|
}
|
|
540
540
|
function u(i, d) {
|
|
541
|
-
const
|
|
541
|
+
const T = i.context(), p = l(3, T.offset, T.startLoc);
|
|
542
542
|
return p.value = d, r(p, i.currentOffset(), i.currentPosition()), p;
|
|
543
543
|
}
|
|
544
544
|
function m(i, d) {
|
|
545
|
-
const
|
|
545
|
+
const T = i.context(), { lastOffset: p, lastStartLoc: L } = T, y = l(5, p, L);
|
|
546
546
|
return y.index = parseInt(d, 10), i.nextToken(), r(y, i.currentOffset(), i.currentPosition()), y;
|
|
547
547
|
}
|
|
548
548
|
function c(i, d) {
|
|
549
|
-
const
|
|
549
|
+
const T = i.context(), { lastOffset: p, lastStartLoc: L } = T, y = l(4, p, L);
|
|
550
550
|
return y.key = d, i.nextToken(), r(y, i.currentOffset(), i.currentPosition()), y;
|
|
551
551
|
}
|
|
552
552
|
function f(i, d) {
|
|
553
|
-
const
|
|
553
|
+
const T = i.context(), { lastOffset: p, lastStartLoc: L } = T, y = l(9, p, L);
|
|
554
554
|
return y.value = d.replace(Rs, Cs), i.nextToken(), r(y, i.currentOffset(), i.currentPosition()), y;
|
|
555
555
|
}
|
|
556
|
-
function
|
|
557
|
-
const d = i.nextToken(),
|
|
558
|
-
return d.type !== 11 ? (s(i,
|
|
556
|
+
function h(i) {
|
|
557
|
+
const d = i.nextToken(), T = i.context(), { lastOffset: p, lastStartLoc: L } = T, y = l(8, p, L);
|
|
558
|
+
return d.type !== 11 ? (s(i, V.UNEXPECTED_EMPTY_LINKED_MODIFIER, T.lastStartLoc, 0), y.value = "", r(y, p, L), {
|
|
559
559
|
nextConsumeToken: d,
|
|
560
560
|
node: y
|
|
561
|
-
}) : (d.value == null && s(i,
|
|
561
|
+
}) : (d.value == null && s(i, V.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, fe(d)), y.value = d.value || "", r(y, i.currentOffset(), i.currentPosition()), {
|
|
562
562
|
node: y
|
|
563
563
|
});
|
|
564
564
|
}
|
|
565
565
|
function E(i, d) {
|
|
566
|
-
const
|
|
566
|
+
const T = i.context(), p = l(7, T.offset, T.startLoc);
|
|
567
567
|
return p.value = d, r(p, i.currentOffset(), i.currentPosition()), p;
|
|
568
568
|
}
|
|
569
569
|
function g(i) {
|
|
570
|
-
const d = i.context(),
|
|
570
|
+
const d = i.context(), T = l(6, d.offset, d.startLoc);
|
|
571
571
|
let p = i.nextToken();
|
|
572
572
|
if (p.type === 8) {
|
|
573
|
-
const L =
|
|
574
|
-
|
|
573
|
+
const L = h(i);
|
|
574
|
+
T.modifier = L.node, p = L.nextConsumeToken || i.nextToken();
|
|
575
575
|
}
|
|
576
|
-
switch (p.type !== 9 && s(i,
|
|
576
|
+
switch (p.type !== 9 && s(i, V.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, fe(p)), p = i.nextToken(), p.type === 2 && (p = i.nextToken()), p.type) {
|
|
577
577
|
case 10:
|
|
578
|
-
p.value == null && s(i,
|
|
578
|
+
p.value == null && s(i, V.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, fe(p)), T.key = E(i, p.value || "");
|
|
579
579
|
break;
|
|
580
580
|
case 4:
|
|
581
|
-
p.value == null && s(i,
|
|
581
|
+
p.value == null && s(i, V.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, fe(p)), T.key = c(i, p.value || "");
|
|
582
582
|
break;
|
|
583
583
|
case 5:
|
|
584
|
-
p.value == null && s(i,
|
|
584
|
+
p.value == null && s(i, V.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, fe(p)), T.key = m(i, p.value || "");
|
|
585
585
|
break;
|
|
586
586
|
case 6:
|
|
587
|
-
p.value == null && s(i,
|
|
587
|
+
p.value == null && s(i, V.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, fe(p)), T.key = f(i, p.value || "");
|
|
588
588
|
break;
|
|
589
589
|
default: {
|
|
590
|
-
s(i,
|
|
590
|
+
s(i, V.UNEXPECTED_EMPTY_LINKED_KEY, d.lastStartLoc, 0);
|
|
591
591
|
const L = i.context(), y = l(7, L.offset, L.startLoc);
|
|
592
|
-
return y.value = "", r(y, L.offset, L.startLoc),
|
|
592
|
+
return y.value = "", r(y, L.offset, L.startLoc), T.key = y, r(T, L.offset, L.startLoc), {
|
|
593
593
|
nextConsumeToken: p,
|
|
594
|
-
node:
|
|
594
|
+
node: T
|
|
595
595
|
};
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
|
-
return r(
|
|
599
|
-
node:
|
|
598
|
+
return r(T, i.currentOffset(), i.currentPosition()), {
|
|
599
|
+
node: T
|
|
600
600
|
};
|
|
601
601
|
}
|
|
602
602
|
function k(i) {
|
|
603
|
-
const d = i.context(),
|
|
603
|
+
const d = i.context(), T = d.currentType === 1 ? i.currentOffset() : d.offset, p = d.currentType === 1 ? d.endLoc : d.startLoc, L = l(2, T, p);
|
|
604
604
|
L.items = [];
|
|
605
605
|
let y = null;
|
|
606
606
|
do {
|
|
607
|
-
const
|
|
608
|
-
switch (y = null,
|
|
607
|
+
const x = y || i.nextToken();
|
|
608
|
+
switch (y = null, x.type) {
|
|
609
609
|
case 0:
|
|
610
|
-
|
|
610
|
+
x.value == null && s(i, V.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, fe(x)), L.items.push(u(i, x.value || ""));
|
|
611
611
|
break;
|
|
612
612
|
case 5:
|
|
613
|
-
|
|
613
|
+
x.value == null && s(i, V.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, fe(x)), L.items.push(m(i, x.value || ""));
|
|
614
614
|
break;
|
|
615
615
|
case 4:
|
|
616
|
-
|
|
616
|
+
x.value == null && s(i, V.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, fe(x)), L.items.push(c(i, x.value || ""));
|
|
617
617
|
break;
|
|
618
618
|
case 6:
|
|
619
|
-
|
|
619
|
+
x.value == null && s(i, V.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, fe(x)), L.items.push(f(i, x.value || ""));
|
|
620
620
|
break;
|
|
621
621
|
case 7: {
|
|
622
622
|
const ne = g(i);
|
|
@@ -625,27 +625,27 @@ function Ss(e = {}) {
|
|
|
625
625
|
}
|
|
626
626
|
}
|
|
627
627
|
} while (d.currentType !== 13 && d.currentType !== 1);
|
|
628
|
-
const v = d.currentType === 1 ? d.lastOffset : i.currentOffset(),
|
|
629
|
-
return r(L, v,
|
|
628
|
+
const v = d.currentType === 1 ? d.lastOffset : i.currentOffset(), Y = d.currentType === 1 ? d.lastEndLoc : i.currentPosition();
|
|
629
|
+
return r(L, v, Y), L;
|
|
630
630
|
}
|
|
631
|
-
function M(i, d,
|
|
631
|
+
function M(i, d, T, p) {
|
|
632
632
|
const L = i.context();
|
|
633
633
|
let y = p.items.length === 0;
|
|
634
|
-
const v = l(1, d,
|
|
634
|
+
const v = l(1, d, T);
|
|
635
635
|
v.cases = [], v.cases.push(p);
|
|
636
636
|
do {
|
|
637
|
-
const
|
|
638
|
-
y || (y =
|
|
637
|
+
const Y = k(i);
|
|
638
|
+
y || (y = Y.items.length === 0), v.cases.push(Y);
|
|
639
639
|
} while (L.currentType !== 13);
|
|
640
|
-
return y && s(i,
|
|
640
|
+
return y && s(i, V.MUST_HAVE_MESSAGES_IN_PLURAL, T, 0), r(v, i.currentOffset(), i.currentPosition()), v;
|
|
641
641
|
}
|
|
642
|
-
function
|
|
643
|
-
const d = i.context(), { offset:
|
|
644
|
-
return d.currentType === 13 ? L : M(i,
|
|
642
|
+
function N(i) {
|
|
643
|
+
const d = i.context(), { offset: T, startLoc: p } = d, L = k(i);
|
|
644
|
+
return d.currentType === 13 ? L : M(i, T, p, L);
|
|
645
645
|
}
|
|
646
646
|
function O(i) {
|
|
647
|
-
const d = Os(i, te({}, e)),
|
|
648
|
-
return t && p.loc && (p.loc.source = i), p.body =
|
|
647
|
+
const d = Os(i, te({}, e)), T = d.context(), p = l(0, T.offset, T.startLoc);
|
|
648
|
+
return t && p.loc && (p.loc.source = i), p.body = N(d), e.onCacheKey && (p.cacheKey = e.onCacheKey(i)), T.currentType !== 13 && s(d, V.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, i[T.offset] || ""), r(p, d.currentOffset(), d.currentPosition()), p;
|
|
649
649
|
}
|
|
650
650
|
return { parse: O };
|
|
651
651
|
}
|
|
@@ -655,7 +655,7 @@ function fe(e) {
|
|
|
655
655
|
const t = (e.value || "").replace(/\r?\n/gu, "\\n");
|
|
656
656
|
return t.length > 10 ? t.slice(0, 9) + "…" : t;
|
|
657
657
|
}
|
|
658
|
-
function
|
|
658
|
+
function Ss(e, t = {}) {
|
|
659
659
|
const n = {
|
|
660
660
|
ast: e,
|
|
661
661
|
helpers: /* @__PURE__ */ new Set()
|
|
@@ -664,9 +664,9 @@ function As(e, t = {}) {
|
|
|
664
664
|
}
|
|
665
665
|
function sn(e, t) {
|
|
666
666
|
for (let n = 0; n < e.length; n++)
|
|
667
|
-
|
|
667
|
+
xt(e[n], t);
|
|
668
668
|
}
|
|
669
|
-
function
|
|
669
|
+
function xt(e, t) {
|
|
670
670
|
switch (e.type) {
|
|
671
671
|
case 1:
|
|
672
672
|
sn(e.cases, t), t.helper(
|
|
@@ -678,7 +678,7 @@ function Yt(e, t) {
|
|
|
678
678
|
sn(e.items, t);
|
|
679
679
|
break;
|
|
680
680
|
case 6: {
|
|
681
|
-
|
|
681
|
+
xt(e.key, t), t.helper(
|
|
682
682
|
"linked"
|
|
683
683
|
/* HelperNameMap.LINKED */
|
|
684
684
|
), t.helper(
|
|
@@ -708,11 +708,11 @@ function Yt(e, t) {
|
|
|
708
708
|
}
|
|
709
709
|
}
|
|
710
710
|
function Ds(e, t = {}) {
|
|
711
|
-
const n =
|
|
711
|
+
const n = Ss(e);
|
|
712
712
|
n.helper(
|
|
713
713
|
"normalize"
|
|
714
714
|
/* HelperNameMap.NORMALIZE */
|
|
715
|
-
), e.body &&
|
|
715
|
+
), e.body && xt(e.body, n);
|
|
716
716
|
const s = n.context();
|
|
717
717
|
e.helpers = Array.from(s.helpers);
|
|
718
718
|
}
|
|
@@ -733,7 +733,7 @@ function rn(e) {
|
|
|
733
733
|
t.push(s.value);
|
|
734
734
|
}
|
|
735
735
|
if (t.length === e.items.length) {
|
|
736
|
-
e.static =
|
|
736
|
+
e.static = Xt(t);
|
|
737
737
|
for (let n = 0; n < e.items.length; n++) {
|
|
738
738
|
const s = e.items[n];
|
|
739
739
|
(s.type === 3 || s.type === 9) && delete s.value;
|
|
@@ -802,20 +802,20 @@ function ws(e, t) {
|
|
|
802
802
|
};
|
|
803
803
|
r && e.loc && (u.source = e.loc.source);
|
|
804
804
|
const m = () => u;
|
|
805
|
-
function c(
|
|
806
|
-
u.code +=
|
|
805
|
+
function c(N, O) {
|
|
806
|
+
u.code += N;
|
|
807
807
|
}
|
|
808
|
-
function f(
|
|
808
|
+
function f(N, O = !0) {
|
|
809
809
|
const i = O ? s : "";
|
|
810
|
-
c(l ? i + " ".repeat(
|
|
810
|
+
c(l ? i + " ".repeat(N) : i);
|
|
811
811
|
}
|
|
812
|
-
function
|
|
812
|
+
function h(N = !0) {
|
|
813
813
|
const O = ++u.indentLevel;
|
|
814
|
-
|
|
814
|
+
N && f(O);
|
|
815
815
|
}
|
|
816
|
-
function E(
|
|
816
|
+
function E(N = !0) {
|
|
817
817
|
const O = --u.indentLevel;
|
|
818
|
-
|
|
818
|
+
N && f(O);
|
|
819
819
|
}
|
|
820
820
|
function g() {
|
|
821
821
|
f(u.indentLevel);
|
|
@@ -823,10 +823,10 @@ function ws(e, t) {
|
|
|
823
823
|
return {
|
|
824
824
|
context: m,
|
|
825
825
|
push: c,
|
|
826
|
-
indent:
|
|
826
|
+
indent: h,
|
|
827
827
|
deindent: E,
|
|
828
828
|
newline: g,
|
|
829
|
-
helper: (
|
|
829
|
+
helper: (N) => `_${N}`,
|
|
830
830
|
needIndent: () => u.needIndent
|
|
831
831
|
};
|
|
832
832
|
}
|
|
@@ -848,7 +848,7 @@ function Fs(e, t) {
|
|
|
848
848
|
e.push(", ");
|
|
849
849
|
e.deindent(s()), e.push("])");
|
|
850
850
|
}
|
|
851
|
-
function
|
|
851
|
+
function Us(e, t) {
|
|
852
852
|
const { helper: n, needIndent: s } = e;
|
|
853
853
|
if (t.cases.length > 1) {
|
|
854
854
|
e.push(`${n(
|
|
@@ -861,17 +861,17 @@ function Vs(e, t) {
|
|
|
861
861
|
e.deindent(s()), e.push("])");
|
|
862
862
|
}
|
|
863
863
|
}
|
|
864
|
-
function
|
|
864
|
+
function js(e, t) {
|
|
865
865
|
t.body ? Pe(e, t.body) : e.push("null");
|
|
866
866
|
}
|
|
867
867
|
function Pe(e, t) {
|
|
868
868
|
const { helper: n } = e;
|
|
869
869
|
switch (t.type) {
|
|
870
870
|
case 0:
|
|
871
|
-
|
|
871
|
+
js(e, t);
|
|
872
872
|
break;
|
|
873
873
|
case 1:
|
|
874
|
-
|
|
874
|
+
Us(e, t);
|
|
875
875
|
break;
|
|
876
876
|
case 2:
|
|
877
877
|
Fs(e, t);
|
|
@@ -911,7 +911,7 @@ function Pe(e, t) {
|
|
|
911
911
|
break;
|
|
912
912
|
}
|
|
913
913
|
}
|
|
914
|
-
const
|
|
914
|
+
const Vs = (e, t = {}) => {
|
|
915
915
|
const n = R(t.mode) ? t.mode : "normal", s = R(t.filename) ? t.filename : "message.intl";
|
|
916
916
|
t.sourceMap;
|
|
917
917
|
const l = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
|
|
@@ -920,7 +920,7 @@ const js = (e, t = {}) => {
|
|
|
920
920
|
breakLineCode: l,
|
|
921
921
|
needIndent: r
|
|
922
922
|
});
|
|
923
|
-
m.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), m.indent(r), u.length > 0 && (m.push(`const { ${
|
|
923
|
+
m.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), m.indent(r), u.length > 0 && (m.push(`const { ${Xt(u.map((h) => `${h}: _${h}`), ", ")} } = ctx`), m.newline()), m.push("return "), Pe(m, e), m.deindent(r), m.push("}"), delete e.helpers;
|
|
924
924
|
const { code: c, map: f } = m.context();
|
|
925
925
|
return {
|
|
926
926
|
ast: e,
|
|
@@ -930,24 +930,24 @@ const js = (e, t = {}) => {
|
|
|
930
930
|
};
|
|
931
931
|
};
|
|
932
932
|
function Ws(e, t = {}) {
|
|
933
|
-
const n = te({}, t), s = !!n.jit, l = !!n.minify, r = n.optimize == null ? !0 : n.optimize, m =
|
|
934
|
-
return s ? (r && Ms(m), l && we(m), { ast: m, code: "" }) : (Ds(m, n),
|
|
933
|
+
const n = te({}, t), s = !!n.jit, l = !!n.minify, r = n.optimize == null ? !0 : n.optimize, m = As(n).parse(e);
|
|
934
|
+
return s ? (r && Ms(m), l && we(m), { ast: m, code: "" }) : (Ds(m, n), Vs(m, n));
|
|
935
935
|
}
|
|
936
936
|
var Gs = { env: { NODE_ENV: "production" } };
|
|
937
|
-
function
|
|
937
|
+
function Xs() {
|
|
938
938
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Le().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Le().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
939
939
|
}
|
|
940
940
|
function kt(e) {
|
|
941
|
-
return (n) =>
|
|
941
|
+
return (n) => xs(n, e);
|
|
942
942
|
}
|
|
943
|
-
function
|
|
944
|
-
const n =
|
|
943
|
+
function xs(e, t) {
|
|
944
|
+
const n = Zs(t);
|
|
945
945
|
if (n == null)
|
|
946
946
|
throw He(
|
|
947
947
|
0
|
|
948
948
|
/* NodeTypes.Resource */
|
|
949
949
|
);
|
|
950
|
-
if (
|
|
950
|
+
if (Yt(n) === 1) {
|
|
951
951
|
const r = Bs(n);
|
|
952
952
|
return e.plural(r.reduce((u, m) => [
|
|
953
953
|
...u,
|
|
@@ -956,9 +956,9 @@ function Ys(e, t) {
|
|
|
956
956
|
} else
|
|
957
957
|
return an(e, n);
|
|
958
958
|
}
|
|
959
|
-
const
|
|
960
|
-
function
|
|
961
|
-
return ve(e,
|
|
959
|
+
const Ys = ["b", "body"];
|
|
960
|
+
function Zs(e) {
|
|
961
|
+
return ve(e, Ys);
|
|
962
962
|
}
|
|
963
963
|
const Hs = ["c", "cases"];
|
|
964
964
|
function Bs(e) {
|
|
@@ -969,7 +969,7 @@ function an(e, t) {
|
|
|
969
969
|
if (n != null)
|
|
970
970
|
return e.type === "text" ? n : e.normalize([n]);
|
|
971
971
|
{
|
|
972
|
-
const s =
|
|
972
|
+
const s = zs(t).reduce((l, r) => [...l, St(e, r)], []);
|
|
973
973
|
return e.normalize(s);
|
|
974
974
|
}
|
|
975
975
|
}
|
|
@@ -978,11 +978,11 @@ function $s(e) {
|
|
|
978
978
|
return ve(e, Js);
|
|
979
979
|
}
|
|
980
980
|
const Ks = ["i", "items"];
|
|
981
|
-
function
|
|
981
|
+
function zs(e) {
|
|
982
982
|
return ve(e, Ks, []);
|
|
983
983
|
}
|
|
984
|
-
function
|
|
985
|
-
const n =
|
|
984
|
+
function St(e, t) {
|
|
985
|
+
const n = Yt(t);
|
|
986
986
|
switch (n) {
|
|
987
987
|
case 3:
|
|
988
988
|
return et(t, n);
|
|
@@ -1006,7 +1006,7 @@ function At(e, t) {
|
|
|
1006
1006
|
}
|
|
1007
1007
|
case 6: {
|
|
1008
1008
|
const s = t, l = tr(s), r = sr(s);
|
|
1009
|
-
return e.linked(
|
|
1009
|
+
return e.linked(St(e, r), l ? St(e, l) : void 0, e.type);
|
|
1010
1010
|
}
|
|
1011
1011
|
case 7:
|
|
1012
1012
|
return et(t, n);
|
|
@@ -1016,9 +1016,9 @@ function At(e, t) {
|
|
|
1016
1016
|
throw new Error(`unhandled node on format message part: ${n}`);
|
|
1017
1017
|
}
|
|
1018
1018
|
}
|
|
1019
|
-
const
|
|
1020
|
-
function
|
|
1021
|
-
return ve(e,
|
|
1019
|
+
const Qs = ["t", "type"];
|
|
1020
|
+
function Yt(e) {
|
|
1021
|
+
return ve(e, Qs);
|
|
1022
1022
|
}
|
|
1023
1023
|
const qs = ["v", "value"];
|
|
1024
1024
|
function et(e, t) {
|
|
@@ -1055,7 +1055,7 @@ function He(e) {
|
|
|
1055
1055
|
const rr = (e) => e;
|
|
1056
1056
|
let tt = W();
|
|
1057
1057
|
function Fe(e) {
|
|
1058
|
-
return
|
|
1058
|
+
return U(e) && Yt(e) === 0 && (de(e, "b") || de(e, "body"));
|
|
1059
1059
|
}
|
|
1060
1060
|
function ar(e, t = {}) {
|
|
1061
1061
|
let n = !1;
|
|
@@ -1067,7 +1067,7 @@ function ar(e, t = {}) {
|
|
|
1067
1067
|
// @__NO_SIDE_EFFECTS__
|
|
1068
1068
|
function lr(e, t) {
|
|
1069
1069
|
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && R(e)) {
|
|
1070
|
-
|
|
1070
|
+
z(t.warnHtmlMessage) && t.warnHtmlMessage;
|
|
1071
1071
|
const s = (t.onCacheKey || rr)(e), l = tt[s];
|
|
1072
1072
|
if (l)
|
|
1073
1073
|
return l;
|
|
@@ -1102,7 +1102,7 @@ const cr = /* @__PURE__ */ ur("function:translate");
|
|
|
1102
1102
|
function ur(e) {
|
|
1103
1103
|
return (t) => Be && Be.emit(e, t);
|
|
1104
1104
|
}
|
|
1105
|
-
const
|
|
1105
|
+
const be = {
|
|
1106
1106
|
INVALID_ARGUMENT: gs,
|
|
1107
1107
|
// 17
|
|
1108
1108
|
INVALID_DATE_ARGUMENT: 18,
|
|
@@ -1114,7 +1114,7 @@ const he = {
|
|
|
1114
1114
|
function ge(e) {
|
|
1115
1115
|
return mt(e, null, void 0);
|
|
1116
1116
|
}
|
|
1117
|
-
function
|
|
1117
|
+
function Zt(e, t) {
|
|
1118
1118
|
return t.locale != null ? ln(t.locale) : ln(e.locale);
|
|
1119
1119
|
}
|
|
1120
1120
|
let yt;
|
|
@@ -1127,36 +1127,36 @@ function ln(e) {
|
|
|
1127
1127
|
if (e.constructor.name === "Function") {
|
|
1128
1128
|
const t = e();
|
|
1129
1129
|
if (fs(t))
|
|
1130
|
-
throw ge(
|
|
1130
|
+
throw ge(be.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
1131
1131
|
return yt = t;
|
|
1132
1132
|
} else
|
|
1133
|
-
throw ge(
|
|
1133
|
+
throw ge(be.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
|
|
1134
1134
|
} else
|
|
1135
|
-
throw ge(
|
|
1135
|
+
throw ge(be.NOT_SUPPORT_LOCALE_TYPE);
|
|
1136
1136
|
}
|
|
1137
1137
|
function dr(e, t, n) {
|
|
1138
1138
|
return [.../* @__PURE__ */ new Set([
|
|
1139
1139
|
n,
|
|
1140
|
-
...
|
|
1140
|
+
...Q(t) ? t : U(t) ? Object.keys(t) : R(t) ? [t] : [n]
|
|
1141
1141
|
])];
|
|
1142
1142
|
}
|
|
1143
|
-
function
|
|
1143
|
+
function An(e, t, n) {
|
|
1144
1144
|
const s = R(n) ? n : it, l = e;
|
|
1145
1145
|
l.__localeChainCache || (l.__localeChainCache = /* @__PURE__ */ new Map());
|
|
1146
1146
|
let r = l.__localeChainCache.get(s);
|
|
1147
1147
|
if (!r) {
|
|
1148
1148
|
r = [];
|
|
1149
1149
|
let u = [n];
|
|
1150
|
-
for (;
|
|
1150
|
+
for (; Q(u); )
|
|
1151
1151
|
u = on(r, u, t);
|
|
1152
|
-
const m =
|
|
1153
|
-
u = R(m) ? [m] : m,
|
|
1152
|
+
const m = Q(t) || !F(t) ? t : t.default ? t.default : null;
|
|
1153
|
+
u = R(m) ? [m] : m, Q(u) && on(r, u, !1), l.__localeChainCache.set(s, r);
|
|
1154
1154
|
}
|
|
1155
1155
|
return r;
|
|
1156
1156
|
}
|
|
1157
1157
|
function on(e, t, n) {
|
|
1158
1158
|
let s = !0;
|
|
1159
|
-
for (let l = 0; l < t.length &&
|
|
1159
|
+
for (let l = 0; l < t.length && z(s); l++) {
|
|
1160
1160
|
const r = t[l];
|
|
1161
1161
|
R(r) && (s = _r(e, t[l], n));
|
|
1162
1162
|
}
|
|
@@ -1176,12 +1176,12 @@ function fr(e, t, n) {
|
|
|
1176
1176
|
if (!e.includes(t) && (s = !0, t)) {
|
|
1177
1177
|
s = t[t.length - 1] !== "!";
|
|
1178
1178
|
const l = t.replace(/!/g, "");
|
|
1179
|
-
e.push(l), (
|
|
1179
|
+
e.push(l), (Q(n) || F(n)) && n[l] && (s = n[l]);
|
|
1180
1180
|
}
|
|
1181
1181
|
return s;
|
|
1182
1182
|
}
|
|
1183
|
-
const
|
|
1184
|
-
|
|
1183
|
+
const Te = [];
|
|
1184
|
+
Te[
|
|
1185
1185
|
0
|
|
1186
1186
|
/* States.BEFORE_PATH */
|
|
1187
1187
|
] = {
|
|
@@ -1203,7 +1203,7 @@ Ne[
|
|
|
1203
1203
|
/* States.AFTER_PATH */
|
|
1204
1204
|
]
|
|
1205
1205
|
};
|
|
1206
|
-
|
|
1206
|
+
Te[
|
|
1207
1207
|
1
|
|
1208
1208
|
/* States.IN_PATH */
|
|
1209
1209
|
] = {
|
|
@@ -1224,7 +1224,7 @@ Ne[
|
|
|
1224
1224
|
/* States.AFTER_PATH */
|
|
1225
1225
|
]
|
|
1226
1226
|
};
|
|
1227
|
-
|
|
1227
|
+
Te[
|
|
1228
1228
|
2
|
|
1229
1229
|
/* States.BEFORE_IDENT */
|
|
1230
1230
|
] = {
|
|
@@ -1243,7 +1243,7 @@ Ne[
|
|
|
1243
1243
|
/* Actions.APPEND */
|
|
1244
1244
|
]
|
|
1245
1245
|
};
|
|
1246
|
-
|
|
1246
|
+
Te[
|
|
1247
1247
|
3
|
|
1248
1248
|
/* States.IN_IDENT */
|
|
1249
1249
|
] = {
|
|
@@ -1278,7 +1278,7 @@ Ne[
|
|
|
1278
1278
|
/* Actions.PUSH */
|
|
1279
1279
|
]
|
|
1280
1280
|
};
|
|
1281
|
-
|
|
1281
|
+
Te[
|
|
1282
1282
|
4
|
|
1283
1283
|
/* States.IN_SUB_PATH */
|
|
1284
1284
|
] = {
|
|
@@ -1309,7 +1309,7 @@ Ne[
|
|
|
1309
1309
|
/* Actions.APPEND */
|
|
1310
1310
|
]
|
|
1311
1311
|
};
|
|
1312
|
-
|
|
1312
|
+
Te[
|
|
1313
1313
|
5
|
|
1314
1314
|
/* States.IN_SINGLE_QUOTE */
|
|
1315
1315
|
] = {
|
|
@@ -1325,7 +1325,7 @@ Ne[
|
|
|
1325
1325
|
/* Actions.APPEND */
|
|
1326
1326
|
]
|
|
1327
1327
|
};
|
|
1328
|
-
|
|
1328
|
+
Te[
|
|
1329
1329
|
6
|
|
1330
1330
|
/* States.IN_DOUBLE_QUOTE */
|
|
1331
1331
|
] = {
|
|
@@ -1342,10 +1342,10 @@ Ne[
|
|
|
1342
1342
|
]
|
|
1343
1343
|
};
|
|
1344
1344
|
const pr = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
|
1345
|
-
function
|
|
1345
|
+
function hr(e) {
|
|
1346
1346
|
return pr.test(e);
|
|
1347
1347
|
}
|
|
1348
|
-
function
|
|
1348
|
+
function br(e) {
|
|
1349
1349
|
const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
|
|
1350
1350
|
return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
|
|
1351
1351
|
}
|
|
@@ -1376,11 +1376,11 @@ function gr(e) {
|
|
|
1376
1376
|
}
|
|
1377
1377
|
function Er(e) {
|
|
1378
1378
|
const t = e.trim();
|
|
1379
|
-
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 :
|
|
1379
|
+
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : hr(t) ? br(t) : "*" + t;
|
|
1380
1380
|
}
|
|
1381
1381
|
function Ir(e) {
|
|
1382
1382
|
const t = [];
|
|
1383
|
-
let n = -1, s = 0, l = 0, r, u, m, c, f,
|
|
1383
|
+
let n = -1, s = 0, l = 0, r, u, m, c, f, h, E;
|
|
1384
1384
|
const g = [];
|
|
1385
1385
|
g[
|
|
1386
1386
|
0
|
|
@@ -1428,7 +1428,7 @@ function Ir(e) {
|
|
|
1428
1428
|
}
|
|
1429
1429
|
for (; s !== null; )
|
|
1430
1430
|
if (n++, r = e[n], !(r === "\\" && k())) {
|
|
1431
|
-
if (c = gr(r), E =
|
|
1431
|
+
if (c = gr(r), E = Te[s], f = E[c] || E.l || 8, f === 8 || (s = f[0], f[1] !== void 0 && (h = g[f[1]], h && (m = r, h() === !1))))
|
|
1432
1432
|
return;
|
|
1433
1433
|
if (s === 7)
|
|
1434
1434
|
return t;
|
|
@@ -1436,10 +1436,10 @@ function Ir(e) {
|
|
|
1436
1436
|
}
|
|
1437
1437
|
const cn = /* @__PURE__ */ new Map();
|
|
1438
1438
|
function vr(e, t) {
|
|
1439
|
-
return
|
|
1439
|
+
return U(e) ? e[t] : null;
|
|
1440
1440
|
}
|
|
1441
|
-
function
|
|
1442
|
-
if (!
|
|
1441
|
+
function Tr(e, t) {
|
|
1442
|
+
if (!U(e))
|
|
1443
1443
|
return null;
|
|
1444
1444
|
let n = cn.get(t);
|
|
1445
1445
|
if (n || (n = Ir(t), n && cn.set(t, n)), !n)
|
|
@@ -1454,17 +1454,17 @@ function Nr(e, t) {
|
|
|
1454
1454
|
}
|
|
1455
1455
|
return l;
|
|
1456
1456
|
}
|
|
1457
|
-
const
|
|
1457
|
+
const Nr = "10.0.5", dt = -1, it = "en-US", un = "", mn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1458
1458
|
function kr() {
|
|
1459
1459
|
return {
|
|
1460
|
-
upper: (e, t) => t === "text" && R(e) ? e.toUpperCase() : t === "vnode" &&
|
|
1461
|
-
lower: (e, t) => t === "text" && R(e) ? e.toLowerCase() : t === "vnode" &&
|
|
1462
|
-
capitalize: (e, t) => t === "text" && R(e) ? mn(e) : t === "vnode" &&
|
|
1460
|
+
upper: (e, t) => t === "text" && R(e) ? e.toUpperCase() : t === "vnode" && U(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1461
|
+
lower: (e, t) => t === "text" && R(e) ? e.toLowerCase() : t === "vnode" && U(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
1462
|
+
capitalize: (e, t) => t === "text" && R(e) ? mn(e) : t === "vnode" && U(e) && "__v_isVNode" in e ? mn(e.children) : e
|
|
1463
1463
|
};
|
|
1464
1464
|
}
|
|
1465
|
-
let
|
|
1465
|
+
let Sn;
|
|
1466
1466
|
function yr(e) {
|
|
1467
|
-
|
|
1467
|
+
Sn = e;
|
|
1468
1468
|
}
|
|
1469
1469
|
let Dn;
|
|
1470
1470
|
function Or(e) {
|
|
@@ -1481,10 +1481,10 @@ const Rr = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
|
1481
1481
|
let Pn = null;
|
|
1482
1482
|
const dn = (e) => {
|
|
1483
1483
|
Pn = e;
|
|
1484
|
-
},
|
|
1484
|
+
}, Ar = () => Pn;
|
|
1485
1485
|
let _n = 0;
|
|
1486
|
-
function
|
|
1487
|
-
const t = H(e.onWarn) ? e.onWarn :
|
|
1486
|
+
function Sr(e = {}) {
|
|
1487
|
+
const t = H(e.onWarn) ? e.onWarn : hs, n = R(e.version) ? e.version : Nr, s = R(e.locale) || H(e.locale) ? e.locale : it, l = H(s) ? it : s, r = Q(e.fallbackLocale) || F(e.fallbackLocale) || R(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, u = F(e.messages) ? e.messages : Ot(l), m = F(e.datetimeFormats) ? e.datetimeFormats : Ot(l), c = F(e.numberFormats) ? e.numberFormats : Ot(l), f = te(W(), e.modifiers, kr()), h = e.pluralRules || W(), E = H(e.missing) ? e.missing : null, g = z(e.missingWarn) || ot(e.missingWarn) ? e.missingWarn : !0, k = z(e.fallbackWarn) || ot(e.fallbackWarn) ? e.fallbackWarn : !0, M = !!e.fallbackFormat, N = !!e.unresolving, O = H(e.postTranslation) ? e.postTranslation : null, i = F(e.processor) ? e.processor : null, d = z(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, T = !!e.escapeParameter, p = H(e.messageCompiler) ? e.messageCompiler : Sn, L = H(e.messageResolver) ? e.messageResolver : Dn || vr, y = H(e.localeFallbacker) ? e.localeFallbacker : Mn || dr, v = U(e.fallbackContext) ? e.fallbackContext : void 0, Y = e, x = U(Y.__datetimeFormatters) ? Y.__datetimeFormatters : /* @__PURE__ */ new Map(), ne = U(Y.__numberFormatters) ? Y.__numberFormatters : /* @__PURE__ */ new Map(), oe = U(Y.__meta) ? Y.__meta : {};
|
|
1488
1488
|
_n++;
|
|
1489
1489
|
const C = {
|
|
1490
1490
|
version: n,
|
|
@@ -1493,16 +1493,16 @@ function Ar(e = {}) {
|
|
|
1493
1493
|
fallbackLocale: r,
|
|
1494
1494
|
messages: u,
|
|
1495
1495
|
modifiers: f,
|
|
1496
|
-
pluralRules:
|
|
1496
|
+
pluralRules: h,
|
|
1497
1497
|
missing: E,
|
|
1498
1498
|
missingWarn: g,
|
|
1499
1499
|
fallbackWarn: k,
|
|
1500
1500
|
fallbackFormat: M,
|
|
1501
|
-
unresolving:
|
|
1501
|
+
unresolving: N,
|
|
1502
1502
|
postTranslation: O,
|
|
1503
1503
|
processor: i,
|
|
1504
1504
|
warnHtmlMessage: d,
|
|
1505
|
-
escapeParameter:
|
|
1505
|
+
escapeParameter: T,
|
|
1506
1506
|
messageCompiler: p,
|
|
1507
1507
|
messageResolver: L,
|
|
1508
1508
|
localeFallbacker: y,
|
|
@@ -1510,7 +1510,7 @@ function Ar(e = {}) {
|
|
|
1510
1510
|
onWarn: t,
|
|
1511
1511
|
__meta: oe
|
|
1512
1512
|
};
|
|
1513
|
-
return C.datetimeFormats = m, C.numberFormats = c, C.__datetimeFormatters =
|
|
1513
|
+
return C.datetimeFormats = m, C.numberFormats = c, C.__datetimeFormatters = x, C.__numberFormatters = ne, __INTLIFY_PROD_DEVTOOLS__ && ir(C, n, oe), C;
|
|
1514
1514
|
}
|
|
1515
1515
|
const Ot = (e) => ({ [e]: W() });
|
|
1516
1516
|
function Ht(e, t, n, s, l) {
|
|
@@ -1521,7 +1521,7 @@ function Ht(e, t, n, s, l) {
|
|
|
1521
1521
|
} else
|
|
1522
1522
|
return t;
|
|
1523
1523
|
}
|
|
1524
|
-
function
|
|
1524
|
+
function xe(e, t, n) {
|
|
1525
1525
|
const s = e;
|
|
1526
1526
|
s.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
|
|
1527
1527
|
}
|
|
@@ -1538,9 +1538,9 @@ function Mr(e, t) {
|
|
|
1538
1538
|
return !1;
|
|
1539
1539
|
}
|
|
1540
1540
|
function fn(e, ...t) {
|
|
1541
|
-
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: r, localeFallbacker: u } = e, { __datetimeFormatters: m } = e, [c, f,
|
|
1542
|
-
|
|
1543
|
-
const k = !!
|
|
1541
|
+
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: r, localeFallbacker: u } = e, { __datetimeFormatters: m } = e, [c, f, h, E] = Dt(...t), g = z(h.missingWarn) ? h.missingWarn : e.missingWarn;
|
|
1542
|
+
z(h.fallbackWarn) ? h.fallbackWarn : e.fallbackWarn;
|
|
1543
|
+
const k = !!h.part, M = Zt(e, h), N = u(
|
|
1544
1544
|
e,
|
|
1545
1545
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1546
1546
|
l,
|
|
@@ -1549,9 +1549,9 @@ function fn(e, ...t) {
|
|
|
1549
1549
|
if (!R(c) || c === "")
|
|
1550
1550
|
return new Intl.DateTimeFormat(M, E).format(f);
|
|
1551
1551
|
let O = {}, i, d = null;
|
|
1552
|
-
const
|
|
1553
|
-
for (let y = 0; y <
|
|
1554
|
-
Ht(e, c, i, g,
|
|
1552
|
+
const T = "datetime format";
|
|
1553
|
+
for (let y = 0; y < N.length && (i = N[y], O = n[i] || {}, d = O[c], !F(d)); y++)
|
|
1554
|
+
Ht(e, c, i, g, T);
|
|
1555
1555
|
if (!F(d) || !R(i))
|
|
1556
1556
|
return s ? dt : c;
|
|
1557
1557
|
let p = `${i}__${c}`;
|
|
@@ -1587,22 +1587,22 @@ function Dt(...e) {
|
|
|
1587
1587
|
if (R(t)) {
|
|
1588
1588
|
const c = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
1589
1589
|
if (!c)
|
|
1590
|
-
throw ge(
|
|
1590
|
+
throw ge(be.INVALID_ISO_DATE_ARGUMENT);
|
|
1591
1591
|
const f = c[3] ? c[3].trim().startsWith("T") ? `${c[1].trim()}${c[3].trim()}` : `${c[1].trim()}T${c[3].trim()}` : c[1].trim();
|
|
1592
1592
|
m = new Date(f);
|
|
1593
1593
|
try {
|
|
1594
1594
|
m.toISOString();
|
|
1595
1595
|
} catch {
|
|
1596
|
-
throw ge(
|
|
1596
|
+
throw ge(be.INVALID_ISO_DATE_ARGUMENT);
|
|
1597
1597
|
}
|
|
1598
1598
|
} else if (ms(t)) {
|
|
1599
1599
|
if (isNaN(t.getTime()))
|
|
1600
|
-
throw ge(
|
|
1600
|
+
throw ge(be.INVALID_DATE_ARGUMENT);
|
|
1601
1601
|
m = t;
|
|
1602
1602
|
} else if (ee(t))
|
|
1603
1603
|
m = t;
|
|
1604
1604
|
else
|
|
1605
|
-
throw ge(
|
|
1605
|
+
throw ge(be.INVALID_ARGUMENT);
|
|
1606
1606
|
return R(n) ? r.key = n : F(n) && Object.keys(n).forEach((c) => {
|
|
1607
1607
|
Fn.includes(c) ? u[c] = n[c] : r[c] = n[c];
|
|
1608
1608
|
}), R(s) ? r.locale = s : F(s) && (u = s), F(l) && (u = l), [r.key || "", m, r, u];
|
|
@@ -1614,10 +1614,10 @@ function pn(e, t, n) {
|
|
|
1614
1614
|
s.__datetimeFormatters.has(r) && s.__datetimeFormatters.delete(r);
|
|
1615
1615
|
}
|
|
1616
1616
|
}
|
|
1617
|
-
function
|
|
1618
|
-
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: r, localeFallbacker: u } = e, { __numberFormatters: m } = e, [c, f,
|
|
1619
|
-
|
|
1620
|
-
const k = !!
|
|
1617
|
+
function hn(e, ...t) {
|
|
1618
|
+
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: r, localeFallbacker: u } = e, { __numberFormatters: m } = e, [c, f, h, E] = Mt(...t), g = z(h.missingWarn) ? h.missingWarn : e.missingWarn;
|
|
1619
|
+
z(h.fallbackWarn) ? h.fallbackWarn : e.fallbackWarn;
|
|
1620
|
+
const k = !!h.part, M = Zt(e, h), N = u(
|
|
1621
1621
|
e,
|
|
1622
1622
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1623
1623
|
l,
|
|
@@ -1626,9 +1626,9 @@ function bn(e, ...t) {
|
|
|
1626
1626
|
if (!R(c) || c === "")
|
|
1627
1627
|
return new Intl.NumberFormat(M, E).format(f);
|
|
1628
1628
|
let O = {}, i, d = null;
|
|
1629
|
-
const
|
|
1630
|
-
for (let y = 0; y <
|
|
1631
|
-
Ht(e, c, i, g,
|
|
1629
|
+
const T = "number format";
|
|
1630
|
+
for (let y = 0; y < N.length && (i = N[y], O = n[i] || {}, d = O[c], !F(d)); y++)
|
|
1631
|
+
Ht(e, c, i, g, T);
|
|
1632
1632
|
if (!F(d) || !R(i))
|
|
1633
1633
|
return s ? dt : c;
|
|
1634
1634
|
let p = `${i}__${c}`;
|
|
@@ -1636,7 +1636,7 @@ function bn(e, ...t) {
|
|
|
1636
1636
|
let L = m.get(p);
|
|
1637
1637
|
return L || (L = new Intl.NumberFormat(i, te({}, d, E)), m.set(p, L)), k ? L.formatToParts(f) : L.format(f);
|
|
1638
1638
|
}
|
|
1639
|
-
const
|
|
1639
|
+
const Un = [
|
|
1640
1640
|
"localeMatcher",
|
|
1641
1641
|
"style",
|
|
1642
1642
|
"currency",
|
|
@@ -1662,24 +1662,24 @@ function Mt(...e) {
|
|
|
1662
1662
|
const [t, n, s, l] = e, r = W();
|
|
1663
1663
|
let u = W();
|
|
1664
1664
|
if (!ee(t))
|
|
1665
|
-
throw ge(
|
|
1665
|
+
throw ge(be.INVALID_ARGUMENT);
|
|
1666
1666
|
const m = t;
|
|
1667
1667
|
return R(n) ? r.key = n : F(n) && Object.keys(n).forEach((c) => {
|
|
1668
|
-
|
|
1668
|
+
Un.includes(c) ? u[c] = n[c] : r[c] = n[c];
|
|
1669
1669
|
}), R(s) ? r.locale = s : F(s) && (u = s), F(l) && (u = l), [r.key || "", m, r, u];
|
|
1670
1670
|
}
|
|
1671
|
-
function
|
|
1671
|
+
function bn(e, t, n) {
|
|
1672
1672
|
const s = e;
|
|
1673
1673
|
for (const l in n) {
|
|
1674
1674
|
const r = `${t}__${l}`;
|
|
1675
1675
|
s.__numberFormatters.has(r) && s.__numberFormatters.delete(r);
|
|
1676
1676
|
}
|
|
1677
1677
|
}
|
|
1678
|
-
const wr = (e) => e, Pr = (e) => "", Fr = "text",
|
|
1678
|
+
const wr = (e) => e, Pr = (e) => "", Fr = "text", Ur = (e) => e.length === 0 ? "" : Xt(e), jr = ps;
|
|
1679
1679
|
function gn(e, t) {
|
|
1680
1680
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1681
1681
|
}
|
|
1682
|
-
function
|
|
1682
|
+
function Vr(e) {
|
|
1683
1683
|
const t = ee(e.pluralIndex) ? e.pluralIndex : -1;
|
|
1684
1684
|
return e.named && (ee(e.named.count) || ee(e.named.n)) ? ee(e.named.count) ? e.named.count : ee(e.named.n) ? e.named.n : t : t;
|
|
1685
1685
|
}
|
|
@@ -1687,28 +1687,28 @@ function Wr(e, t) {
|
|
|
1687
1687
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1688
1688
|
}
|
|
1689
1689
|
function Gr(e = {}) {
|
|
1690
|
-
const t = e.locale, n =
|
|
1690
|
+
const t = e.locale, n = Vr(e), s = U(e.pluralRules) && R(t) && H(e.pluralRules[t]) ? e.pluralRules[t] : gn, l = U(e.pluralRules) && R(t) && H(e.pluralRules[t]) ? gn : void 0, r = (i) => i[s(n, i.length, l)], u = e.list || [], m = (i) => u[i], c = e.named || W();
|
|
1691
1691
|
ee(e.pluralIndex) && Wr(n, c);
|
|
1692
1692
|
const f = (i) => c[i];
|
|
1693
|
-
function
|
|
1694
|
-
const
|
|
1695
|
-
return
|
|
1693
|
+
function h(i, d) {
|
|
1694
|
+
const T = H(e.messages) ? e.messages(i, !!d) : U(e.messages) ? e.messages[i] : !1;
|
|
1695
|
+
return T || (e.parent ? e.parent.message(i) : Pr);
|
|
1696
1696
|
}
|
|
1697
|
-
const E = (i) => e.modifiers ? e.modifiers[i] : wr, g = F(e.processor) && H(e.processor.normalize) ? e.processor.normalize :
|
|
1697
|
+
const E = (i) => e.modifiers ? e.modifiers[i] : wr, g = F(e.processor) && H(e.processor.normalize) ? e.processor.normalize : Ur, k = F(e.processor) && H(e.processor.interpolate) ? e.processor.interpolate : jr, M = F(e.processor) && R(e.processor.type) ? e.processor.type : Fr, O = {
|
|
1698
1698
|
list: m,
|
|
1699
1699
|
named: f,
|
|
1700
1700
|
plural: r,
|
|
1701
1701
|
linked: (i, ...d) => {
|
|
1702
|
-
const [
|
|
1702
|
+
const [T, p] = d;
|
|
1703
1703
|
let L = "text", y = "";
|
|
1704
|
-
d.length === 1 ?
|
|
1705
|
-
const v =
|
|
1704
|
+
d.length === 1 ? U(T) ? (y = T.modifier || y, L = T.type || L) : R(T) && (y = T || y) : d.length === 2 && (R(T) && (y = T || y), R(p) && (L = p || L));
|
|
1705
|
+
const v = h(i, !0)(O), Y = (
|
|
1706
1706
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1707
|
-
L === "vnode" &&
|
|
1707
|
+
L === "vnode" && Q(v) && y ? v[0] : v
|
|
1708
1708
|
);
|
|
1709
|
-
return y ? E(y)(
|
|
1709
|
+
return y ? E(y)(Y, L) : Y;
|
|
1710
1710
|
},
|
|
1711
|
-
message:
|
|
1711
|
+
message: h,
|
|
1712
1712
|
type: M,
|
|
1713
1713
|
interpolate: k,
|
|
1714
1714
|
normalize: g,
|
|
@@ -1718,45 +1718,45 @@ function Gr(e = {}) {
|
|
|
1718
1718
|
}
|
|
1719
1719
|
const En = () => "", ue = (e) => H(e);
|
|
1720
1720
|
function In(e, ...t) {
|
|
1721
|
-
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: r, fallbackLocale: u, messages: m } = e, [c, f] = wt(...t),
|
|
1722
|
-
g &&
|
|
1723
|
-
let [i, d,
|
|
1721
|
+
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: r, fallbackLocale: u, messages: m } = e, [c, f] = wt(...t), h = z(f.missingWarn) ? f.missingWarn : e.missingWarn, E = z(f.fallbackWarn) ? f.fallbackWarn : e.fallbackWarn, g = z(f.escapeParameter) ? f.escapeParameter : e.escapeParameter, k = !!f.resolvedMessage, M = R(f.default) || z(f.default) ? z(f.default) ? r ? c : () => c : f.default : n ? r ? c : () => c : null, N = n || M != null && (R(M) || H(M)), O = Zt(e, f);
|
|
1722
|
+
g && Xr(f);
|
|
1723
|
+
let [i, d, T] = k ? [
|
|
1724
1724
|
c,
|
|
1725
1725
|
O,
|
|
1726
1726
|
m[O] || W()
|
|
1727
|
-
] :
|
|
1728
|
-
if (!k && !(R(p) || Fe(p) || ue(p)) &&
|
|
1727
|
+
] : jn(e, c, O, u, E, h), p = i, L = c;
|
|
1728
|
+
if (!k && !(R(p) || Fe(p) || ue(p)) && N && (p = M, L = p), !k && (!(R(p) || Fe(p) || ue(p)) || !R(d)))
|
|
1729
1729
|
return l ? dt : c;
|
|
1730
1730
|
let y = !1;
|
|
1731
1731
|
const v = () => {
|
|
1732
1732
|
y = !0;
|
|
1733
|
-
},
|
|
1733
|
+
}, Y = ue(p) ? p : Vn(e, c, d, p, L, v);
|
|
1734
1734
|
if (y)
|
|
1735
1735
|
return p;
|
|
1736
|
-
const
|
|
1736
|
+
const x = Zr(e, d, T, f), ne = Gr(x), oe = xr(e, Y, ne), C = s ? s(oe, c) : oe;
|
|
1737
1737
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1738
|
-
const
|
|
1738
|
+
const A = {
|
|
1739
1739
|
timestamp: Date.now(),
|
|
1740
1740
|
key: R(c) ? c : ue(p) ? p.key : "",
|
|
1741
1741
|
locale: d || (ue(p) ? p.locale : ""),
|
|
1742
1742
|
format: R(p) ? p : ue(p) ? p.source : "",
|
|
1743
1743
|
message: C
|
|
1744
1744
|
};
|
|
1745
|
-
|
|
1745
|
+
A.meta = te({}, e.__meta, /* @__PURE__ */ Cr() || {}), cr(A);
|
|
1746
1746
|
}
|
|
1747
1747
|
return C;
|
|
1748
1748
|
}
|
|
1749
|
-
function
|
|
1750
|
-
|
|
1749
|
+
function Xr(e) {
|
|
1750
|
+
Q(e.list) ? e.list = e.list.map((t) => R(t) ? tn(t) : t) : U(e.named) && Object.keys(e.named).forEach((t) => {
|
|
1751
1751
|
R(e.named[t]) && (e.named[t] = tn(e.named[t]));
|
|
1752
1752
|
});
|
|
1753
1753
|
}
|
|
1754
|
-
function
|
|
1755
|
-
const { messages: u, onWarn: m, messageResolver: c, localeFallbacker: f } = e,
|
|
1754
|
+
function jn(e, t, n, s, l, r) {
|
|
1755
|
+
const { messages: u, onWarn: m, messageResolver: c, localeFallbacker: f } = e, h = f(e, s, n);
|
|
1756
1756
|
let E = W(), g, k = null;
|
|
1757
1757
|
const M = "translate";
|
|
1758
|
-
for (let
|
|
1759
|
-
if (!Mr(g,
|
|
1758
|
+
for (let N = 0; N < h.length && (g = h[N], E = u[g] || W(), (k = c(E, t)) === null && (k = E[t]), !(R(k) || Fe(k) || ue(k))); N++)
|
|
1759
|
+
if (!Mr(g, h)) {
|
|
1760
1760
|
const O = Ht(
|
|
1761
1761
|
e,
|
|
1762
1762
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
@@ -1769,7 +1769,7 @@ function Un(e, t, n, s, l, r) {
|
|
|
1769
1769
|
}
|
|
1770
1770
|
return [k, g, E];
|
|
1771
1771
|
}
|
|
1772
|
-
function
|
|
1772
|
+
function Vn(e, t, n, s, l, r) {
|
|
1773
1773
|
const { messageCompiler: u, warnHtmlMessage: m } = e;
|
|
1774
1774
|
if (ue(s)) {
|
|
1775
1775
|
const f = s;
|
|
@@ -1779,20 +1779,20 @@ function jn(e, t, n, s, l, r) {
|
|
|
1779
1779
|
const f = () => s;
|
|
1780
1780
|
return f.locale = n, f.key = t, f;
|
|
1781
1781
|
}
|
|
1782
|
-
const c = u(s,
|
|
1782
|
+
const c = u(s, Yr(e, n, l, s, m, r));
|
|
1783
1783
|
return c.locale = n, c.key = t, c.source = s, c;
|
|
1784
1784
|
}
|
|
1785
|
-
function
|
|
1785
|
+
function xr(e, t, n) {
|
|
1786
1786
|
return t(n);
|
|
1787
1787
|
}
|
|
1788
1788
|
function wt(...e) {
|
|
1789
1789
|
const [t, n, s] = e, l = W();
|
|
1790
1790
|
if (!R(t) && !ee(t) && !ue(t) && !Fe(t))
|
|
1791
|
-
throw ge(
|
|
1791
|
+
throw ge(be.INVALID_ARGUMENT);
|
|
1792
1792
|
const r = ee(t) ? String(t) : (ue(t), t);
|
|
1793
|
-
return ee(n) ? l.plural = n : R(n) ? l.default = n : F(n) && !ut(n) ? l.named = n :
|
|
1793
|
+
return ee(n) ? l.plural = n : R(n) ? l.default = n : F(n) && !ut(n) ? l.named = n : Q(n) && (l.list = n), ee(s) ? l.plural = s : R(s) ? l.default = s : F(s) && te(l, s), [r, l];
|
|
1794
1794
|
}
|
|
1795
|
-
function
|
|
1795
|
+
function Yr(e, t, n, s, l, r) {
|
|
1796
1796
|
return {
|
|
1797
1797
|
locale: t,
|
|
1798
1798
|
key: n,
|
|
@@ -1803,16 +1803,16 @@ function xr(e, t, n, s, l, r) {
|
|
|
1803
1803
|
onCacheKey: (u) => cs(t, n, u)
|
|
1804
1804
|
};
|
|
1805
1805
|
}
|
|
1806
|
-
function
|
|
1807
|
-
const { modifiers: l, pluralRules: r, messageResolver: u, fallbackLocale: m, fallbackWarn: c, missingWarn: f, fallbackContext:
|
|
1806
|
+
function Zr(e, t, n, s) {
|
|
1807
|
+
const { modifiers: l, pluralRules: r, messageResolver: u, fallbackLocale: m, fallbackWarn: c, missingWarn: f, fallbackContext: h } = e, g = {
|
|
1808
1808
|
locale: t,
|
|
1809
1809
|
modifiers: l,
|
|
1810
1810
|
pluralRules: r,
|
|
1811
1811
|
messages: (k, M) => {
|
|
1812
|
-
let
|
|
1813
|
-
if (
|
|
1814
|
-
const [, , O] =
|
|
1815
|
-
|
|
1812
|
+
let N = u(n, k);
|
|
1813
|
+
if (N == null && (h || M)) {
|
|
1814
|
+
const [, , O] = jn(
|
|
1815
|
+
h || e,
|
|
1816
1816
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1817
1817
|
k,
|
|
1818
1818
|
t,
|
|
@@ -1820,26 +1820,26 @@ function Xr(e, t, n, s) {
|
|
|
1820
1820
|
c,
|
|
1821
1821
|
f
|
|
1822
1822
|
);
|
|
1823
|
-
|
|
1823
|
+
N = u(O, k);
|
|
1824
1824
|
}
|
|
1825
|
-
if (R(
|
|
1825
|
+
if (R(N) || Fe(N)) {
|
|
1826
1826
|
let O = !1;
|
|
1827
|
-
const d =
|
|
1827
|
+
const d = Vn(e, k, t, N, k, () => {
|
|
1828
1828
|
O = !0;
|
|
1829
1829
|
});
|
|
1830
1830
|
return O ? En : d;
|
|
1831
|
-
} else return ue(
|
|
1831
|
+
} else return ue(N) ? N : En;
|
|
1832
1832
|
}
|
|
1833
1833
|
};
|
|
1834
1834
|
return e.processor && (g.processor = e.processor), s.list && (g.list = s.list), s.named && (g.named = s.named), ee(s.plural) && (g.pluralIndex = s.plural), g;
|
|
1835
1835
|
}
|
|
1836
|
-
|
|
1837
|
-
var Hr = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_20ee4512-d0eb-48dd-886f-99643e30cd23", 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_20ee4512-d0eb-48dd-886f-99643e30cd23", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.2.0", npm_node_execpath: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_files_0: "dist", npm_package_devDependencies_eslint_import_resolver_typescript: "^4.4.4", HOME: "/home/runner", npm_package_devDependencies__eslint_js: "^9.39.2", npm_package_devDependencies__typescript_eslint_parser: "^8.52.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_devDependencies_eslint_config_prettier: "^10.1.8", npm_config_save_workspace_protocol: "true", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.4.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "^1.29.10", npm_package_devDependencies_code_inspector_plugin: "^0.20.16", npm_package_devDependencies_npm_run_all2: "^6.0.6", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1888", ACTIONS_ORCHESTRATION_ID: "6a1256dd-0518-4eec-b7a5-39add2b0c822.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.7.0", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "VITE_TARGET_ENV=dev pnpm build:mf && pnpm build:dts", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.9.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.6", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260323.65.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:15604", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^8.52.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.8/x64", GITHUB_RUN_ID: "23883047542", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "d495f855df7302503dd1adbfd3fd46cd04372b2a", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/main", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6M31dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjZmOTZmYTg5LWI3YmYtNDg3OC1iYWQzLTg5ODAwNjU2NmI2ZSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3NzUxMjQ0NzUsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc3NTEwMjI3NSwiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6IjkzNGE3YWRmLTZjZTktNTAyMS04Zjc0LWMzNzVkMDA1YzRiMiIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc3NTEwMTk3NSwib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJDYXN0YS1tZXJlXCIsXCJhY3Rvcl9pZFwiOlwiODIyOTgwMTdcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiNjk2NDAwMzMxOTZcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjNmMzU0NDgwMGJhYTNiOGJjNGFhYWU5NGVlODRjMDEyYmQ2NDhmZmVcIixcInJlZlwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJ0cnVlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2VcIixcInJlcG9zaXRvcnlfaWRcIjpcIjExMjQ2NzIyMzVcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMjM4ODMwNDc1NDJcIixcInJ1bl9udW1iZXJcIjpcIjI5XCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIixcInNoYVwiOlwiZDQ5NWY4NTVkZjczMDI1MDNkZDFhZGJmZDNmZDQ2Y2QwNDM3MmIyYVwiLFwid29ya2Zsb3dcIjpcIlB1Ymxpc2ggaHJtLXBvcnRhbFwiLFwid29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ocm0tcG9ydGFsLXRydXN0ZWQueW1sQHJlZnMvaGVhZHMvbWFpblwiLFwid29ya2Zsb3dfc2hhXCI6XCJkNDk1Zjg1NWRmNzMwMjUwM2RkMWFkYmZkM2ZkNDZjZDA0MzcyYjJhXCJ9Iiwib2lkY19zdWIiOiJyZXBvOmZlZWRtZXBvcy9ocm0tc2VydmljZTpyZWY6cmVmcy9oZWFkcy9tYWluIiwib3JjaF9pZCI6IjZhMTI1NmRkLTA1MTgtNGVlYy1iN2E1LTM5YWRkMmIwYzgyMi5wdWJsaXNoLnB1Ymxpc2guX19kZWZhdWx0Iiwib3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJwbGFuX2lkIjoiNmExMjU2ZGQtMDUxOC00ZWVjLWI3YTUtMzlhZGQyYjBjODIyIiwicmVwb3NpdG9yeV9pZCI6IjExMjQ2NzIyMzUiLCJydW5faWQiOiIyMzg4MzA0NzU0MiIsInJ1bl9udW1iZXIiOiIyOSIsInJ1bl90eXBlIjoiZnVsbCIsInJ1bm5lcl9pZCI6IjEwMDAwNTY5ODgiLCJydW5uZXJfdHlwZSI6Imhvc3RlZCIsInNjcCI6IkFjdGlvbnMuUmVzdWx0czo2YTEyNTZkZC0wNTE4LTRlZWMtYjdhNS0zOWFkZDJiMGM4MjI6OTM0YTdhZGYtNmNlOS01MDIxLThmNzQtYzM3NWQwMDVjNGIyIEFjdGlvbnMuUnVubmVyOjZhMTI1NmRkLTA1MTgtNGVlYy1iN2E1LTM5YWRkMmIwYzgyMjo5MzRhN2FkZi02Y2U5LTUwMjEtOGY3NC1jMzc1ZDAwNWM0YjIgQWN0aW9ucy5VcGxvYWRBcnRpZmFjdHM6NmExMjU2ZGQtMDUxOC00ZWVjLWI3YTUtMzlhZGQyYjBjODIyOjkzNGE3YWRmLTZjZTktNTAyMS04Zjc0LWMzNzVkMDA1YzRiMiBnZW5lcmF0ZV9pZF90b2tlbjo2YTEyNTZkZC0wNTE4LTRlZWMtYjdhNS0zOWFkZDJiMGM4MjI6OTM0YTdhZGYtNmNlOS01MDIxLThmNzQtYzM3NWQwMDVjNGIyIEFjdGlvbnMuR2VuZXJpY1JlYWQ6MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIiwic2hhIjoiZDQ5NWY4NTVkZjczMDI1MDNkZDFhZGJmZDNmZDQ2Y2QwNDM3MmIyYSIsInRydXN0X3RpZXIiOiIxIn0.j_zBUxb-0Cyu5Ax3XQMGqV12E51C8ZLH9D52YHqRy35o0FGkLN7tEV_EatcZzaDb7bLABc19xzVBGue6xpsPvH4N-zVSuB3qPQKzQE2ns0pDHUtYuBdWsPfRI0lGXsD9IV-T0HrfYYINrhbz-BgEPjVjEiOKQd3_e96ntHVBvOZK_Al2dfvJEbFVR2E2zoIYjnQRbjjguLa2N2tFlojiBRL9yD8WC_I5-IylV9rra1YtHnm_ZKadjR_c6ADfZ2T5KajQa5K_MI7SV2bSOtJ1U4nKPYtdsu3i4mXB-wJmfkS6L3lYA7VsrGPYVZYtJuO-e9Fgq3SbcYZlxi2_NH_mZw", 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_5b641e55-6683-48a4-9eb1-a3c039e470b7", INVOCATION_ID: "a966afed20f7490d95af7bb428f4cf24", 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: "29", GITHUB_TRIGGERING_ACTOR: "Casta-mere", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag latest --no-git-checks", npm_package_scripts_publish_npm_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag beta --no-git-checks", npm_package_scripts_publish_github: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks", npm_package_scripts_publish_github_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks", npm_config_frozen_lockfile: "", npm_package_devDependencies__vitest_ui: "^1.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies_eslint: "^9.39.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000056988", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && 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: "2.0.1-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: "true", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "d495f855df7302503dd1adbfd3fd46cd04372b2a", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "Casta-mere", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", npm_package_devDependencies_globals: "^16.5.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_20ee4512-d0eb-48dd-886f-99643e30cd23", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "82298017", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-2-azure-eastus.actions.githubusercontent.com/96//idtoken/6a1256dd-0518-4eec-b7a5-39add2b0c822/934a7adf-6ce9-5021-8f74-c375d005c4b2?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_20ee4512-d0eb-48dd-886f-99643e30cd23", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.33.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_20ee4512-d0eb-48dd-886f-99643e30cd23", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1836
|
+
Xs();
|
|
1837
|
+
var Hr = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_e247dcfe-cfcf-4349-b6ac-932362e1460a", 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_e247dcfe-cfcf-4349-b6ac-932362e1460a", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.2.0", npm_node_execpath: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_files_0: "dist", npm_package_devDependencies_eslint_import_resolver_typescript: "^4.4.4", HOME: "/home/runner", npm_package_devDependencies__eslint_js: "^9.39.2", npm_package_devDependencies__typescript_eslint_parser: "^8.52.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_devDependencies_eslint_config_prettier: "^10.1.8", npm_config_save_workspace_protocol: "true", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.4.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "^1.29.10", npm_package_devDependencies_code_inspector_plugin: "^0.20.16", npm_package_devDependencies_npm_run_all2: "^6.0.6", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1857", ACTIONS_ORCHESTRATION_ID: "dfbaef73-02a2-4d97-b38c-909192bca55d.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.7.0", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "VITE_TARGET_ENV=dev pnpm build:mf && pnpm build:dts", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.9.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.6", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260323.65.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:13156", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^8.52.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.8/x64", GITHUB_RUN_ID: "23936996905", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "26c16dd42fc480aa8fc64047eda1a037a106502b", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/main", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6M31dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjZmOTZmYTg5LWI3YmYtNDg3OC1iYWQzLTg5ODAwNjU2NmI2ZSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3NzUyMjA3OTQsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc3NTE5ODU5NCwiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6IjU3MDU2YTAxLTE4M2ItNTE5Yy1hMjA5LWU4MzI4OGIwNjg5MSIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc3NTE5ODI5NCwib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJDYXN0YS1tZXJlXCIsXCJhY3Rvcl9pZFwiOlwiODIyOTgwMTdcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiNjk4MTUzMDc0NzFcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjNmMzU0NDgwMGJhYTNiOGJjNGFhYWU5NGVlODRjMDEyYmQ2NDhmZmVcIixcInJlZlwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJ0cnVlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2VcIixcInJlcG9zaXRvcnlfaWRcIjpcIjExMjQ2NzIyMzVcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMjM5MzY5OTY5MDVcIixcInJ1bl9udW1iZXJcIjpcIjMyXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIixcInNoYVwiOlwiMjZjMTZkZDQyZmM0ODBhYThmYzY0MDQ3ZWRhMWEwMzdhMTA2NTAyYlwiLFwid29ya2Zsb3dcIjpcIlB1Ymxpc2ggaHJtLXBvcnRhbFwiLFwid29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ocm0tcG9ydGFsLXRydXN0ZWQueW1sQHJlZnMvaGVhZHMvbWFpblwiLFwid29ya2Zsb3dfc2hhXCI6XCIyNmMxNmRkNDJmYzQ4MGFhOGZjNjQwNDdlZGExYTAzN2ExMDY1MDJiXCJ9Iiwib2lkY19zdWIiOiJyZXBvOmZlZWRtZXBvcy9ocm0tc2VydmljZTpyZWY6cmVmcy9oZWFkcy9tYWluIiwib3JjaF9pZCI6ImRmYmFlZjczLTAyYTItNGQ5Ny1iMzhjLTkwOTE5MmJjYTU1ZC5wdWJsaXNoLnB1Ymxpc2guX19kZWZhdWx0Iiwib3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJwbGFuX2lkIjoiZGZiYWVmNzMtMDJhMi00ZDk3LWIzOGMtOTA5MTkyYmNhNTVkIiwicmVwb3NpdG9yeV9pZCI6IjExMjQ2NzIyMzUiLCJydW5faWQiOiIyMzkzNjk5NjkwNSIsInJ1bl9udW1iZXIiOiIzMiIsInJ1bl90eXBlIjoiZnVsbCIsInJ1bm5lcl9pZCI6IjEwMDAwNTczNDgiLCJydW5uZXJfdHlwZSI6Imhvc3RlZCIsInNjcCI6IkFjdGlvbnMuUmVzdWx0czpkZmJhZWY3My0wMmEyLTRkOTctYjM4Yy05MDkxOTJiY2E1NWQ6NTcwNTZhMDEtMTgzYi01MTljLWEyMDktZTgzMjg4YjA2ODkxIEFjdGlvbnMuUnVubmVyOmRmYmFlZjczLTAyYTItNGQ5Ny1iMzhjLTkwOTE5MmJjYTU1ZDo1NzA1NmEwMS0xODNiLTUxOWMtYTIwOS1lODMyODhiMDY4OTEgQWN0aW9ucy5VcGxvYWRBcnRpZmFjdHM6ZGZiYWVmNzMtMDJhMi00ZDk3LWIzOGMtOTA5MTkyYmNhNTVkOjU3MDU2YTAxLTE4M2ItNTE5Yy1hMjA5LWU4MzI4OGIwNjg5MSBnZW5lcmF0ZV9pZF90b2tlbjpkZmJhZWY3My0wMmEyLTRkOTctYjM4Yy05MDkxOTJiY2E1NWQ6NTcwNTZhMDEtMTgzYi01MTljLWEyMDktZTgzMjg4YjA2ODkxIEFjdGlvbnMuR2VuZXJpY1JlYWQ6MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIiwic2hhIjoiMjZjMTZkZDQyZmM0ODBhYThmYzY0MDQ3ZWRhMWEwMzdhMTA2NTAyYiIsInRydXN0X3RpZXIiOiIxIn0.wAlHgvkn0zC6Rs_JRTI3TXisSkuuSVY2G2TyC8fl19_h0iDTb60PgxjHD5eJY7GsCuebXCitkj7EAlw0wj9yjJP7Mg31KuFRxCW0zklyhP7kc1xFonl3pR4AT6fuoyPb6oiAXonHsvRJCSQii56auTCKpCzjtXwwlhggjodsP431Y77Ts9LlKLBSl2suSHpsAgLXgde-38uXSPnrK3TCyMRQyViCb6SMwAZZUktwAhfS5E7MZ-TyF35mUl74ek0udP4znA_HKCYIkkIz4tvzm2TCT1zM0Ki8RXslbppJQLQ_w2Rjs7nwK90og1j89SuQCHiwAUjCODY_XENTFj-eHA", 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_4c64f111-1a0d-4cc1-85df-f3071fb55dbf", INVOCATION_ID: "3624977a86b14fdea71cbbf366a193f7", 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: "32", GITHUB_TRIGGERING_ACTOR: "Casta-mere", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag latest --no-git-checks", npm_package_scripts_publish_npm_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag beta --no-git-checks", npm_package_scripts_publish_github: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks", npm_package_scripts_publish_github_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks", npm_config_frozen_lockfile: "", npm_package_devDependencies__vitest_ui: "^1.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies_eslint: "^9.39.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000057348", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && 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: "2.0.2-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: "true", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "26c16dd42fc480aa8fc64047eda1a037a106502b", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "Casta-mere", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", npm_package_devDependencies_globals: "^16.5.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_e247dcfe-cfcf-4349-b6ac-932362e1460a", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "82298017", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-1-azure-eastus.actions.githubusercontent.com/155//idtoken/dfbaef73-02a2-4d97-b38c-909192bca55d/57056a01-183b-519c-a209-e83288b06891?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_e247dcfe-cfcf-4349-b6ac-932362e1460a", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.33.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_e247dcfe-cfcf-4349-b6ac-932362e1460a", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1838
1838
|
const Br = "10.0.5";
|
|
1839
1839
|
function Jr() {
|
|
1840
1840
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Le().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Le().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Le().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Le().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
1841
1841
|
}
|
|
1842
|
-
const
|
|
1842
|
+
const Ue = {
|
|
1843
1843
|
// composer module errors
|
|
1844
1844
|
UNEXPECTED_RETURN_TYPE: mr,
|
|
1845
1845
|
// 24
|
|
@@ -1855,31 +1855,31 @@ const Ve = {
|
|
|
1855
1855
|
function Je(e, ...t) {
|
|
1856
1856
|
return mt(e, null, void 0);
|
|
1857
1857
|
}
|
|
1858
|
-
const Pt = /* @__PURE__ */
|
|
1858
|
+
const Pt = /* @__PURE__ */ Ae("__translateVNode"), Ft = /* @__PURE__ */ Ae("__datetimeParts"), Ut = /* @__PURE__ */ Ae("__numberParts"), $r = Ae("__setPluralRules"), Wn = /* @__PURE__ */ Ae("__injectWithOption"), jt = /* @__PURE__ */ Ae("__dispose");
|
|
1859
1859
|
function $e(e) {
|
|
1860
|
-
if (!
|
|
1860
|
+
if (!U(e))
|
|
1861
1861
|
return e;
|
|
1862
1862
|
for (const t in e)
|
|
1863
1863
|
if (de(e, t))
|
|
1864
1864
|
if (!t.includes("."))
|
|
1865
|
-
|
|
1865
|
+
U(e[t]) && $e(e[t]);
|
|
1866
1866
|
else {
|
|
1867
1867
|
const n = t.split("."), s = n.length - 1;
|
|
1868
1868
|
let l = e, r = !1;
|
|
1869
1869
|
for (let u = 0; u < s; u++) {
|
|
1870
|
-
if (n[u] in l || (l[n[u]] = W()), !
|
|
1870
|
+
if (n[u] in l || (l[n[u]] = W()), !U(l[n[u]])) {
|
|
1871
1871
|
r = !0;
|
|
1872
1872
|
break;
|
|
1873
1873
|
}
|
|
1874
1874
|
l = l[n[u]];
|
|
1875
1875
|
}
|
|
1876
|
-
r || (l[n[s]] = e[t], delete e[t]),
|
|
1876
|
+
r || (l[n[s]] = e[t], delete e[t]), U(l[n[s]]) && $e(l[n[s]]);
|
|
1877
1877
|
}
|
|
1878
1878
|
return e;
|
|
1879
1879
|
}
|
|
1880
1880
|
function Gn(e, t) {
|
|
1881
|
-
const { messages: n, __i18n: s, messageResolver: l, flatJson: r } = t, u = F(n) ? n :
|
|
1882
|
-
if (
|
|
1881
|
+
const { messages: n, __i18n: s, messageResolver: l, flatJson: r } = t, u = F(n) ? n : Q(s) ? W() : { [e]: W() };
|
|
1882
|
+
if (Q(s) && s.forEach((m) => {
|
|
1883
1883
|
if ("locale" in m && "resource" in m) {
|
|
1884
1884
|
const { locale: c, resource: f } = m;
|
|
1885
1885
|
c ? (u[c] = u[c] || W(), at(f, u[c])) : at(f, u);
|
|
@@ -1890,11 +1890,11 @@ function Gn(e, t) {
|
|
|
1890
1890
|
de(u, m) && $e(u[m]);
|
|
1891
1891
|
return u;
|
|
1892
1892
|
}
|
|
1893
|
-
function
|
|
1893
|
+
function Xn(e) {
|
|
1894
1894
|
return e.type;
|
|
1895
1895
|
}
|
|
1896
1896
|
function Kr(e, t, n) {
|
|
1897
|
-
let s =
|
|
1897
|
+
let s = U(t.messages) ? t.messages : W();
|
|
1898
1898
|
"__i18nGlobal" in n && (s = Gn(e.locale.value, {
|
|
1899
1899
|
messages: s,
|
|
1900
1900
|
__i18n: n.__i18nGlobal
|
|
@@ -1904,13 +1904,13 @@ function Kr(e, t, n) {
|
|
|
1904
1904
|
e.mergeLocaleMessage(r, s[r]);
|
|
1905
1905
|
});
|
|
1906
1906
|
{
|
|
1907
|
-
if (
|
|
1907
|
+
if (U(t.datetimeFormats)) {
|
|
1908
1908
|
const r = Object.keys(t.datetimeFormats);
|
|
1909
1909
|
r.length && r.forEach((u) => {
|
|
1910
1910
|
e.mergeDateTimeFormat(u, t.datetimeFormats[u]);
|
|
1911
1911
|
});
|
|
1912
1912
|
}
|
|
1913
|
-
if (
|
|
1913
|
+
if (U(t.numberFormats)) {
|
|
1914
1914
|
const r = Object.keys(t.numberFormats);
|
|
1915
1915
|
r.length && r.forEach((u) => {
|
|
1916
1916
|
e.mergeNumberFormat(u, t.numberFormats[u]);
|
|
@@ -1921,27 +1921,27 @@ function Kr(e, t, n) {
|
|
|
1921
1921
|
function vn(e) {
|
|
1922
1922
|
return ie(Jn, null, e, 0);
|
|
1923
1923
|
}
|
|
1924
|
-
const
|
|
1924
|
+
const Tn = "__INTLIFY_META__", Nn = () => [], zr = () => !1;
|
|
1925
1925
|
let kn = 0;
|
|
1926
1926
|
function yn(e) {
|
|
1927
|
-
return (t, n, s, l) => e(n, s,
|
|
1927
|
+
return (t, n, s, l) => e(n, s, Vt() || void 0, l);
|
|
1928
1928
|
}
|
|
1929
|
-
const
|
|
1930
|
-
const e =
|
|
1929
|
+
const Qr = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
1930
|
+
const e = Vt();
|
|
1931
1931
|
let t = null;
|
|
1932
|
-
return e && (t =
|
|
1932
|
+
return e && (t = Xn(e)[Tn]) ? { [Tn]: t } : null;
|
|
1933
1933
|
};
|
|
1934
1934
|
function qr(e = {}) {
|
|
1935
1935
|
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, r = qt ? Re : Bn;
|
|
1936
|
-
let u =
|
|
1936
|
+
let u = z(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1937
1937
|
const m = r(
|
|
1938
1938
|
// prettier-ignore
|
|
1939
1939
|
t && u ? t.locale.value : R(e.locale) ? e.locale : it
|
|
1940
1940
|
), c = r(
|
|
1941
1941
|
// prettier-ignore
|
|
1942
|
-
t && u ? t.fallbackLocale.value : R(e.fallbackLocale) ||
|
|
1943
|
-
), f = r(Gn(m.value, e)),
|
|
1944
|
-
let g = t ? t.missingWarn :
|
|
1942
|
+
t && u ? t.fallbackLocale.value : R(e.fallbackLocale) || Q(e.fallbackLocale) || F(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : m.value
|
|
1943
|
+
), f = r(Gn(m.value, e)), h = r(F(e.datetimeFormats) ? e.datetimeFormats : { [m.value]: {} }), E = r(F(e.numberFormats) ? e.numberFormats : { [m.value]: {} });
|
|
1944
|
+
let g = t ? t.missingWarn : z(e.missingWarn) || ot(e.missingWarn) ? e.missingWarn : !0, k = t ? t.fallbackWarn : z(e.fallbackWarn) || ot(e.fallbackWarn) ? e.fallbackWarn : !0, M = t ? t.fallbackRoot : z(e.fallbackRoot) ? e.fallbackRoot : !0, N = !!e.fallbackFormat, O = H(e.missing) ? e.missing : null, i = H(e.missing) ? yn(e.missing) : null, d = H(e.postTranslation) ? e.postTranslation : null, T = t ? t.warnHtmlMessage : z(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, p = !!e.escapeParameter;
|
|
1945
1945
|
const L = t ? t.modifiers : F(e.modifiers) ? e.modifiers : {};
|
|
1946
1946
|
let y = e.pluralRules || t && t.pluralRules, v;
|
|
1947
1947
|
v = (() => {
|
|
@@ -1956,40 +1956,40 @@ function qr(e = {}) {
|
|
|
1956
1956
|
missing: i === null ? void 0 : i,
|
|
1957
1957
|
missingWarn: g,
|
|
1958
1958
|
fallbackWarn: k,
|
|
1959
|
-
fallbackFormat:
|
|
1959
|
+
fallbackFormat: N,
|
|
1960
1960
|
unresolving: !0,
|
|
1961
1961
|
postTranslation: d === null ? void 0 : d,
|
|
1962
|
-
warnHtmlMessage:
|
|
1962
|
+
warnHtmlMessage: T,
|
|
1963
1963
|
escapeParameter: p,
|
|
1964
1964
|
messageResolver: e.messageResolver,
|
|
1965
1965
|
messageCompiler: e.messageCompiler,
|
|
1966
1966
|
__meta: { framework: "vue" }
|
|
1967
1967
|
};
|
|
1968
|
-
_.datetimeFormats =
|
|
1969
|
-
const I =
|
|
1968
|
+
_.datetimeFormats = h.value, _.numberFormats = E.value, _.__datetimeFormatters = F(v) ? v.__datetimeFormatters : void 0, _.__numberFormatters = F(v) ? v.__numberFormatters : void 0;
|
|
1969
|
+
const I = Sr(_);
|
|
1970
1970
|
return s && dn(I), I;
|
|
1971
|
-
})(),
|
|
1972
|
-
function
|
|
1971
|
+
})(), xe(v, m.value, c.value);
|
|
1972
|
+
function x() {
|
|
1973
1973
|
return [
|
|
1974
1974
|
m.value,
|
|
1975
1975
|
c.value,
|
|
1976
1976
|
f.value,
|
|
1977
|
-
|
|
1977
|
+
h.value,
|
|
1978
1978
|
E.value
|
|
1979
1979
|
];
|
|
1980
1980
|
}
|
|
1981
|
-
const ne =
|
|
1981
|
+
const ne = X({
|
|
1982
1982
|
get: () => m.value,
|
|
1983
1983
|
set: (_) => {
|
|
1984
1984
|
m.value = _, v.locale = m.value;
|
|
1985
1985
|
}
|
|
1986
|
-
}), oe =
|
|
1986
|
+
}), oe = X({
|
|
1987
1987
|
get: () => c.value,
|
|
1988
1988
|
set: (_) => {
|
|
1989
|
-
c.value = _, v.fallbackLocale = c.value,
|
|
1989
|
+
c.value = _, v.fallbackLocale = c.value, xe(v, m.value, _);
|
|
1990
1990
|
}
|
|
1991
|
-
}), C =
|
|
1992
|
-
function
|
|
1991
|
+
}), C = X(() => f.value), A = /* @__PURE__ */ X(() => h.value), D = /* @__PURE__ */ X(() => E.value);
|
|
1992
|
+
function Z() {
|
|
1993
1993
|
return H(d) ? d : null;
|
|
1994
1994
|
}
|
|
1995
1995
|
function B(_) {
|
|
@@ -2001,83 +2001,83 @@ function qr(e = {}) {
|
|
|
2001
2001
|
function se(_) {
|
|
2002
2002
|
_ !== null && (i = yn(_)), O = _, v.missing = i;
|
|
2003
2003
|
}
|
|
2004
|
-
const
|
|
2005
|
-
|
|
2004
|
+
const j = (_, I, G, $, ke, ze) => {
|
|
2005
|
+
x();
|
|
2006
2006
|
let Me;
|
|
2007
2007
|
try {
|
|
2008
|
-
Hr.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (v.fallbackContext = t ?
|
|
2008
|
+
Hr.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (v.fallbackContext = t ? Ar() : void 0), Me = _(v);
|
|
2009
2009
|
} finally {
|
|
2010
2010
|
__INTLIFY_PROD_DEVTOOLS__, s || (v.fallbackContext = void 0);
|
|
2011
2011
|
}
|
|
2012
2012
|
if (G !== "translate exists" && // for not `te` (e.g `t`)
|
|
2013
2013
|
ee(Me) && Me === dt || G === "translate exists" && !Me) {
|
|
2014
|
-
const [
|
|
2015
|
-
return t && M ? $(t) : ke(
|
|
2014
|
+
const [Zn, Aa] = I();
|
|
2015
|
+
return t && M ? $(t) : ke(Zn);
|
|
2016
2016
|
} else {
|
|
2017
|
-
if (
|
|
2017
|
+
if (ze(Me))
|
|
2018
2018
|
return Me;
|
|
2019
|
-
throw Je(
|
|
2019
|
+
throw Je(Ue.UNEXPECTED_RETURN_TYPE);
|
|
2020
2020
|
}
|
|
2021
2021
|
};
|
|
2022
|
-
function
|
|
2023
|
-
return
|
|
2022
|
+
function Ne(..._) {
|
|
2023
|
+
return j((I) => Reflect.apply(In, null, [I, ..._]), () => wt(..._), "translate", (I) => Reflect.apply(I.t, I, [..._]), (I) => I, (I) => R(I));
|
|
2024
2024
|
}
|
|
2025
|
-
function
|
|
2025
|
+
function Ve(..._) {
|
|
2026
2026
|
const [I, G, $] = _;
|
|
2027
|
-
if ($ && !
|
|
2028
|
-
throw Je(
|
|
2029
|
-
return
|
|
2027
|
+
if ($ && !U($))
|
|
2028
|
+
throw Je(Ue.INVALID_ARGUMENT);
|
|
2029
|
+
return Ne(I, G, te({ resolvedMessage: !0 }, $ || {}));
|
|
2030
2030
|
}
|
|
2031
2031
|
function We(..._) {
|
|
2032
|
-
return
|
|
2032
|
+
return j((I) => Reflect.apply(fn, null, [I, ..._]), () => Dt(..._), "datetime format", (I) => Reflect.apply(I.d, I, [..._]), () => un, (I) => R(I));
|
|
2033
2033
|
}
|
|
2034
2034
|
function ft(..._) {
|
|
2035
|
-
return
|
|
2035
|
+
return j((I) => Reflect.apply(hn, null, [I, ..._]), () => Mt(..._), "number format", (I) => Reflect.apply(I.n, I, [..._]), () => un, (I) => R(I));
|
|
2036
2036
|
}
|
|
2037
2037
|
function pt(_) {
|
|
2038
|
-
return _.map((I) => R(I) || ee(I) ||
|
|
2038
|
+
return _.map((I) => R(I) || ee(I) || z(I) ? vn(String(I)) : I);
|
|
2039
2039
|
}
|
|
2040
|
-
const
|
|
2040
|
+
const ht = {
|
|
2041
2041
|
normalize: pt,
|
|
2042
2042
|
interpolate: (_) => _,
|
|
2043
2043
|
type: "vnode"
|
|
2044
2044
|
};
|
|
2045
|
-
function
|
|
2046
|
-
return
|
|
2045
|
+
function bt(..._) {
|
|
2046
|
+
return j((I) => {
|
|
2047
2047
|
let G;
|
|
2048
2048
|
const $ = I;
|
|
2049
2049
|
try {
|
|
2050
|
-
$.processor =
|
|
2050
|
+
$.processor = ht, G = Reflect.apply(In, null, [$, ..._]);
|
|
2051
2051
|
} finally {
|
|
2052
2052
|
$.processor = null;
|
|
2053
2053
|
}
|
|
2054
2054
|
return G;
|
|
2055
|
-
}, () => wt(..._), "translate", (I) => I[Pt](..._), (I) => [vn(I)], (I) =>
|
|
2055
|
+
}, () => wt(..._), "translate", (I) => I[Pt](..._), (I) => [vn(I)], (I) => Q(I));
|
|
2056
2056
|
}
|
|
2057
2057
|
function Ke(..._) {
|
|
2058
|
-
return
|
|
2058
|
+
return j((I) => Reflect.apply(hn, null, [I, ..._]), () => Mt(..._), "number format", (I) => I[Ut](..._), Nn, (I) => R(I) || Q(I));
|
|
2059
2059
|
}
|
|
2060
2060
|
function gt(..._) {
|
|
2061
|
-
return
|
|
2061
|
+
return j((I) => Reflect.apply(fn, null, [I, ..._]), () => Dt(..._), "datetime format", (I) => I[Ft](..._), Nn, (I) => R(I) || Q(I));
|
|
2062
2062
|
}
|
|
2063
2063
|
function Et(_) {
|
|
2064
2064
|
y = _, v.pluralRules = y;
|
|
2065
2065
|
}
|
|
2066
2066
|
function It(_, I) {
|
|
2067
|
-
return
|
|
2067
|
+
return j(() => {
|
|
2068
2068
|
if (!_)
|
|
2069
2069
|
return !1;
|
|
2070
|
-
const G = R(I) ? I : m.value, $ =
|
|
2070
|
+
const G = R(I) ? I : m.value, $ = Se(G), ke = v.messageResolver($, _);
|
|
2071
2071
|
return Fe(ke) || ue(ke) || R(ke);
|
|
2072
|
-
}, () => [_], "translate exists", (G) => Reflect.apply(G.te, G, [_, I]),
|
|
2072
|
+
}, () => [_], "translate exists", (G) => Reflect.apply(G.te, G, [_, I]), zr, (G) => z(G));
|
|
2073
2073
|
}
|
|
2074
2074
|
function vt(_) {
|
|
2075
2075
|
let I = null;
|
|
2076
|
-
const G =
|
|
2076
|
+
const G = An(v, c.value, m.value);
|
|
2077
2077
|
for (let $ = 0; $ < G.length; $++) {
|
|
2078
|
-
const ke = f.value[G[$]] || {},
|
|
2079
|
-
if (
|
|
2080
|
-
I =
|
|
2078
|
+
const ke = f.value[G[$]] || {}, ze = v.messageResolver(ke, _);
|
|
2079
|
+
if (ze != null) {
|
|
2080
|
+
I = ze;
|
|
2081
2081
|
break;
|
|
2082
2082
|
}
|
|
2083
2083
|
}
|
|
@@ -2087,7 +2087,7 @@ function qr(e = {}) {
|
|
|
2087
2087
|
const I = vt(_);
|
|
2088
2088
|
return I ?? (t ? t.tm(_) || {} : {});
|
|
2089
2089
|
}
|
|
2090
|
-
function
|
|
2090
|
+
function Se(_) {
|
|
2091
2091
|
return f.value[_] || {};
|
|
2092
2092
|
}
|
|
2093
2093
|
function De(_, I) {
|
|
@@ -2099,7 +2099,7 @@ function qr(e = {}) {
|
|
|
2099
2099
|
}
|
|
2100
2100
|
f.value[_] = I, v.messages = f.value;
|
|
2101
2101
|
}
|
|
2102
|
-
function
|
|
2102
|
+
function Xe(_, I) {
|
|
2103
2103
|
f.value[_] = f.value[_] || {};
|
|
2104
2104
|
const G = { [_]: I };
|
|
2105
2105
|
if (l)
|
|
@@ -2107,28 +2107,28 @@ function qr(e = {}) {
|
|
|
2107
2107
|
de(G, $) && $e(G[$]);
|
|
2108
2108
|
I = G[_], at(I, f.value[_]), v.messages = f.value;
|
|
2109
2109
|
}
|
|
2110
|
-
function
|
|
2111
|
-
return
|
|
2110
|
+
function Tt(_) {
|
|
2111
|
+
return h.value[_] || {};
|
|
2112
2112
|
}
|
|
2113
2113
|
function a(_, I) {
|
|
2114
|
-
|
|
2114
|
+
h.value[_] = I, v.datetimeFormats = h.value, pn(v, _, I);
|
|
2115
2115
|
}
|
|
2116
2116
|
function o(_, I) {
|
|
2117
|
-
|
|
2117
|
+
h.value[_] = te(h.value[_] || {}, I), v.datetimeFormats = h.value, pn(v, _, I);
|
|
2118
2118
|
}
|
|
2119
|
-
function
|
|
2119
|
+
function b(_) {
|
|
2120
2120
|
return E.value[_] || {};
|
|
2121
2121
|
}
|
|
2122
|
-
function
|
|
2123
|
-
E.value[_] = I, v.numberFormats = E.value,
|
|
2122
|
+
function S(_, I) {
|
|
2123
|
+
E.value[_] = I, v.numberFormats = E.value, bn(v, _, I);
|
|
2124
2124
|
}
|
|
2125
2125
|
function J(_, I) {
|
|
2126
|
-
E.value[_] = te(E.value[_] || {}, I), v.numberFormats = E.value,
|
|
2126
|
+
E.value[_] = te(E.value[_] || {}, I), v.numberFormats = E.value, bn(v, _, I);
|
|
2127
2127
|
}
|
|
2128
2128
|
kn++, t && qt && (Ct(t.locale, (_) => {
|
|
2129
|
-
u && (m.value = _, v.locale = _,
|
|
2129
|
+
u && (m.value = _, v.locale = _, xe(v, m.value, c.value));
|
|
2130
2130
|
}), Ct(t.fallbackLocale, (_) => {
|
|
2131
|
-
u && (c.value = _, v.fallbackLocale = _,
|
|
2131
|
+
u && (c.value = _, v.fallbackLocale = _, xe(v, m.value, c.value));
|
|
2132
2132
|
}));
|
|
2133
2133
|
const w = {
|
|
2134
2134
|
id: kn,
|
|
@@ -2138,7 +2138,7 @@ function qr(e = {}) {
|
|
|
2138
2138
|
return u;
|
|
2139
2139
|
},
|
|
2140
2140
|
set inheritLocale(_) {
|
|
2141
|
-
u = _, _ && t && (m.value = t.locale.value, c.value = t.fallbackLocale.value,
|
|
2141
|
+
u = _, _ && t && (m.value = t.locale.value, c.value = t.fallbackLocale.value, xe(v, m.value, c.value));
|
|
2142
2142
|
},
|
|
2143
2143
|
get availableLocales() {
|
|
2144
2144
|
return Object.keys(f.value).sort();
|
|
@@ -2172,16 +2172,16 @@ function qr(e = {}) {
|
|
|
2172
2172
|
M = _;
|
|
2173
2173
|
},
|
|
2174
2174
|
get fallbackFormat() {
|
|
2175
|
-
return
|
|
2175
|
+
return N;
|
|
2176
2176
|
},
|
|
2177
2177
|
set fallbackFormat(_) {
|
|
2178
|
-
|
|
2178
|
+
N = _, v.fallbackFormat = N;
|
|
2179
2179
|
},
|
|
2180
2180
|
get warnHtmlMessage() {
|
|
2181
|
-
return
|
|
2181
|
+
return T;
|
|
2182
2182
|
},
|
|
2183
2183
|
set warnHtmlMessage(_) {
|
|
2184
|
-
|
|
2184
|
+
T = _, v.warnHtmlMessage = _;
|
|
2185
2185
|
},
|
|
2186
2186
|
get escapeParameter() {
|
|
2187
2187
|
return p;
|
|
@@ -2189,17 +2189,17 @@ function qr(e = {}) {
|
|
|
2189
2189
|
set escapeParameter(_) {
|
|
2190
2190
|
p = _, v.escapeParameter = _;
|
|
2191
2191
|
},
|
|
2192
|
-
t:
|
|
2193
|
-
getLocaleMessage:
|
|
2192
|
+
t: Ne,
|
|
2193
|
+
getLocaleMessage: Se,
|
|
2194
2194
|
setLocaleMessage: De,
|
|
2195
|
-
mergeLocaleMessage:
|
|
2196
|
-
getPostTranslationHandler:
|
|
2195
|
+
mergeLocaleMessage: Xe,
|
|
2196
|
+
getPostTranslationHandler: Z,
|
|
2197
2197
|
setPostTranslationHandler: B,
|
|
2198
2198
|
getMissingHandler: P,
|
|
2199
2199
|
setMissingHandler: se,
|
|
2200
2200
|
[$r]: Et
|
|
2201
2201
|
};
|
|
2202
|
-
return w.datetimeFormats =
|
|
2202
|
+
return w.datetimeFormats = A, w.numberFormats = D, w.rt = Ve, w.te = It, w.tm = Ge, w.d = We, w.n = ft, w.getDateTimeFormat = Tt, w.setDateTimeFormat = a, w.mergeDateTimeFormat = o, w.getNumberFormat = b, w.setNumberFormat = S, w.mergeNumberFormat = J, w[Wn] = n, w[Pt] = bt, w[Ft] = gt, w[Ut] = Ke, w;
|
|
2203
2203
|
}
|
|
2204
2204
|
const Bt = {
|
|
2205
2205
|
tag: {
|
|
@@ -2223,14 +2223,14 @@ function ea({ slots: e }, t) {
|
|
|
2223
2223
|
return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((s, l) => [
|
|
2224
2224
|
...s,
|
|
2225
2225
|
// prettier-ignore
|
|
2226
|
-
...l.type ===
|
|
2226
|
+
...l.type === je ? l.children : [l]
|
|
2227
2227
|
], []) : t.reduce((n, s) => {
|
|
2228
2228
|
const l = e[s];
|
|
2229
2229
|
return l && (n[s] = l()), n;
|
|
2230
2230
|
}, W());
|
|
2231
2231
|
}
|
|
2232
|
-
function
|
|
2233
|
-
return
|
|
2232
|
+
function xn() {
|
|
2233
|
+
return je;
|
|
2234
2234
|
}
|
|
2235
2235
|
te({
|
|
2236
2236
|
keypath: {
|
|
@@ -2243,22 +2243,22 @@ te({
|
|
|
2243
2243
|
}
|
|
2244
2244
|
}, Bt);
|
|
2245
2245
|
function ta(e) {
|
|
2246
|
-
return
|
|
2246
|
+
return Q(e) && !R(e[0]);
|
|
2247
2247
|
}
|
|
2248
|
-
function
|
|
2248
|
+
function Yn(e, t, n, s) {
|
|
2249
2249
|
const { slots: l, attrs: r } = t;
|
|
2250
2250
|
return () => {
|
|
2251
2251
|
const u = { part: !0 };
|
|
2252
2252
|
let m = W();
|
|
2253
|
-
e.locale && (u.locale = e.locale), R(e.format) ? u.key = e.format :
|
|
2253
|
+
e.locale && (u.locale = e.locale), R(e.format) ? u.key = e.format : U(e.format) && (R(e.format.key) && (u.key = e.format.key), m = Object.keys(e.format).reduce((g, k) => n.includes(k) ? te(W(), g, { [k]: e.format[k] }) : g, W()));
|
|
2254
2254
|
const c = s(e.value, u, m);
|
|
2255
2255
|
let f = [u.key];
|
|
2256
|
-
|
|
2257
|
-
const M = l[g.type],
|
|
2258
|
-
return ta(
|
|
2256
|
+
Q(c) ? f = c.map((g, k) => {
|
|
2257
|
+
const M = l[g.type], N = M ? M({ [g.type]: g.value, index: k, parts: c }) : [g.value];
|
|
2258
|
+
return ta(N) && (N[0].key = `${g.type}-${k}`), N;
|
|
2259
2259
|
}) : R(c) && (f = [c]);
|
|
2260
|
-
const
|
|
2261
|
-
return Rn(E,
|
|
2260
|
+
const h = te(W(), r), E = R(e.tag) || U(e.tag) ? e.tag : xn();
|
|
2261
|
+
return Rn(E, h, f);
|
|
2262
2262
|
};
|
|
2263
2263
|
}
|
|
2264
2264
|
te({
|
|
@@ -2279,14 +2279,14 @@ te({
|
|
|
2279
2279
|
type: [String, Object]
|
|
2280
2280
|
}
|
|
2281
2281
|
}, Bt);
|
|
2282
|
-
const na = /* @__PURE__ */
|
|
2282
|
+
const na = /* @__PURE__ */ Ae("global-vue-i18n");
|
|
2283
2283
|
function _t(e = {}) {
|
|
2284
|
-
const t =
|
|
2284
|
+
const t = Vt();
|
|
2285
2285
|
if (t == null)
|
|
2286
|
-
throw Je(
|
|
2286
|
+
throw Je(Ue.MUST_BE_CALL_SETUP_TOP);
|
|
2287
2287
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
2288
|
-
throw Je(
|
|
2289
|
-
const n = sa(t), s = aa(n), l =
|
|
2288
|
+
throw Je(Ue.NOT_INSTALLED);
|
|
2289
|
+
const n = sa(t), s = aa(n), l = Xn(t), r = ra(e, l);
|
|
2290
2290
|
if (r === "global")
|
|
2291
2291
|
return Kr(s, e, l), s;
|
|
2292
2292
|
if (r === "parent") {
|
|
@@ -2297,14 +2297,14 @@ function _t(e = {}) {
|
|
|
2297
2297
|
let m = u.__getInstance(t);
|
|
2298
2298
|
if (m == null) {
|
|
2299
2299
|
const c = te({}, e);
|
|
2300
|
-
"__i18n" in l && (c.__i18n = l.__i18n), s && (c.__root = s), m = qr(c), u.__composerExtend && (m[
|
|
2300
|
+
"__i18n" in l && (c.__i18n = l.__i18n), s && (c.__root = s), m = qr(c), u.__composerExtend && (m[jt] = u.__composerExtend(m)), ia(u, t, m), u.__setInstance(t, m);
|
|
2301
2301
|
}
|
|
2302
2302
|
return m;
|
|
2303
2303
|
}
|
|
2304
2304
|
function sa(e) {
|
|
2305
2305
|
const t = Hn(e.isCE ? na : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
2306
2306
|
if (!t)
|
|
2307
|
-
throw Je(e.isCE ?
|
|
2307
|
+
throw Je(e.isCE ? Ue.NOT_INSTALLED_WITH_PROVIDE : Ue.UNEXPECTED_ERROR);
|
|
2308
2308
|
return t;
|
|
2309
2309
|
}
|
|
2310
2310
|
function ra(e, t) {
|
|
@@ -2339,14 +2339,14 @@ function ia(e, t, n) {
|
|
|
2339
2339
|
}, t), Ln(() => {
|
|
2340
2340
|
const s = n;
|
|
2341
2341
|
e.__deleteInstance(t);
|
|
2342
|
-
const l = s[
|
|
2343
|
-
l && (l(), delete s[
|
|
2342
|
+
const l = s[jt];
|
|
2343
|
+
l && (l(), delete s[jt]);
|
|
2344
2344
|
}, t);
|
|
2345
2345
|
}
|
|
2346
2346
|
Jr();
|
|
2347
2347
|
yr(lr);
|
|
2348
|
-
Or(
|
|
2349
|
-
Lr(
|
|
2348
|
+
Or(Tr);
|
|
2349
|
+
Lr(An);
|
|
2350
2350
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
2351
2351
|
const e = Le();
|
|
2352
2352
|
e.__INTLIFY__ = !0, or(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
@@ -2362,16 +2362,16 @@ const nt = /* @__PURE__ */ _e({
|
|
|
2362
2362
|
setup(e) {
|
|
2363
2363
|
const { t } = _t();
|
|
2364
2364
|
return (n, s) => {
|
|
2365
|
-
const l =
|
|
2365
|
+
const l = Ye("FmIcon"), r = Ye("FmTooltip");
|
|
2366
2366
|
return K(), Ce(r, {
|
|
2367
2367
|
variant: "plain",
|
|
2368
2368
|
placement: "right",
|
|
2369
2369
|
"z-index": 50
|
|
2370
2370
|
}, {
|
|
2371
2371
|
content: ce(() => [
|
|
2372
|
-
ae("div", null,
|
|
2373
|
-
(K(!0), le(
|
|
2374
|
-
ae("div", null, "- " +
|
|
2372
|
+
ae("div", null, Ze(Ee(t)("team.memberForm.permissions.inherited")), 1),
|
|
2373
|
+
(K(!0), le(je, null, pe(e.item.setNames, (u) => (K(), le("div", { key: u }, [
|
|
2374
|
+
ae("div", null, "- " + Ze(u), 1)
|
|
2375
2375
|
]))), 128))
|
|
2376
2376
|
]),
|
|
2377
2377
|
default: ce(() => [
|
|
@@ -2414,7 +2414,7 @@ const nt = /* @__PURE__ */ _e({
|
|
|
2414
2414
|
t.title ? (K(), le("div", ua, [
|
|
2415
2415
|
ae("div", null, [
|
|
2416
2416
|
t.required ? (K(), le("span", ma, "*")) : ye("", !0),
|
|
2417
|
-
$n(
|
|
2417
|
+
$n(Ze(t.title), 1)
|
|
2418
2418
|
]),
|
|
2419
2419
|
me(n.$slots, "title-right")
|
|
2420
2420
|
])) : ye("", !0)
|
|
@@ -2432,7 +2432,7 @@ function fa(e, t) {
|
|
|
2432
2432
|
n += s.charAt(Math.floor(Math.random() * l));
|
|
2433
2433
|
return n;
|
|
2434
2434
|
}
|
|
2435
|
-
const pa = { class: "col flex items-center" },
|
|
2435
|
+
const pa = { class: "col flex items-center" }, ha = {
|
|
2436
2436
|
key: 1,
|
|
2437
2437
|
class: "q-pa-sm form-error-message text-error"
|
|
2438
2438
|
}, Jt = /* @__PURE__ */ _e({
|
|
@@ -2493,33 +2493,33 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2493
2493
|
},
|
|
2494
2494
|
emits: ["update:model-value"],
|
|
2495
2495
|
setup(e, { emit: t }) {
|
|
2496
|
-
const n = e, s = t, { t: l } = ct(), r = Re(!1), u = Kn(), m =
|
|
2497
|
-
() => n.modelValue.filter((
|
|
2498
|
-
), E =
|
|
2496
|
+
const n = e, s = t, { t: l } = ct(), r = Re(!1), u = Kn(), m = X(() => n.modelValue.length < n.min ? `Min selection ${n.min}` : n.max !== void 0 && n.modelValue.length > n.max ? `Max selection ${n.max}` : !0), c = `checkbox-${fa(6)}`, f = X(() => m.value !== !0), h = X(
|
|
2497
|
+
() => n.modelValue.filter((N) => n.options.some((O) => O.value === N))
|
|
2498
|
+
), E = X(
|
|
2499
2499
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
2500
|
-
), g =
|
|
2500
|
+
), g = X(() => n.options.length > 0 && n.options.length === h.value.length);
|
|
2501
2501
|
function k() {
|
|
2502
|
-
const
|
|
2502
|
+
const N = n.modelValue.filter((O) => !h.value.includes(O));
|
|
2503
2503
|
if (g.value === !0)
|
|
2504
|
-
s("update:model-value",
|
|
2504
|
+
s("update:model-value", N);
|
|
2505
2505
|
else {
|
|
2506
2506
|
const O = n.includeDisabledOptionsWhenSelectAll ? n.options.map((i) => i.value) : n.options.filter((i) => !i.disabled).map((i) => i.value);
|
|
2507
|
-
s("update:model-value", [...
|
|
2507
|
+
s("update:model-value", [...N, ...O]);
|
|
2508
2508
|
}
|
|
2509
2509
|
}
|
|
2510
|
-
function M(
|
|
2510
|
+
function M(N, O) {
|
|
2511
2511
|
let i = rt(n.modelValue);
|
|
2512
|
-
O ? i.every((d) => d !==
|
|
2512
|
+
O ? i.every((d) => d !== N) && i.push(N) : i = i.filter((d) => d !== N), s("update:model-value", i);
|
|
2513
2513
|
}
|
|
2514
|
-
return (
|
|
2515
|
-
const i =
|
|
2514
|
+
return (N, O) => {
|
|
2515
|
+
const i = Ye("FmCheckbox");
|
|
2516
2516
|
return K(), Ce(_a, {
|
|
2517
2517
|
id: c,
|
|
2518
2518
|
title: e.title,
|
|
2519
2519
|
required: !1
|
|
2520
2520
|
}, {
|
|
2521
2521
|
top: ce(() => [
|
|
2522
|
-
me(
|
|
2522
|
+
me(N.$slots, "top")
|
|
2523
2523
|
]),
|
|
2524
2524
|
default: ce(() => [
|
|
2525
2525
|
n.showAllToggle ? (K(), Ce(i, {
|
|
@@ -2533,13 +2533,13 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2533
2533
|
value: E.value,
|
|
2534
2534
|
"onUpdate:modelValue": k
|
|
2535
2535
|
}, null, 8, ["model-value", "disabled", "label", "style", "value"])) : ye("", !0),
|
|
2536
|
-
(K(!0), le(
|
|
2536
|
+
(K(!0), le(je, null, pe(e.options, (d, T) => (K(), le("div", {
|
|
2537
2537
|
key: d.value,
|
|
2538
|
-
style: st(`margin-bottom: ${
|
|
2539
|
-
class:
|
|
2538
|
+
style: st(`margin-bottom: ${T < e.options.length - 1 ? n.gutter : 0}px`),
|
|
2539
|
+
class: Qe(T < e.options.length - 1 ? "q-mb-sm" : "")
|
|
2540
2540
|
}, [
|
|
2541
2541
|
ae("div", {
|
|
2542
|
-
class:
|
|
2542
|
+
class: Qe(["row justify-between", e.alignCenter ? "items-center" : "items-start"])
|
|
2543
2543
|
}, [
|
|
2544
2544
|
ae("div", pa, [
|
|
2545
2545
|
ie(i, {
|
|
@@ -2550,16 +2550,16 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2550
2550
|
value: d.label,
|
|
2551
2551
|
"onUpdate:modelValue": (p) => M(d.value, p)
|
|
2552
2552
|
}, null, 8, ["model-value", "disabled", "label", "value", "onUpdate:modelValue"]),
|
|
2553
|
-
me(
|
|
2553
|
+
me(N.$slots, `checkbox-${d.key || d.value}-append`, {
|
|
2554
2554
|
option: d,
|
|
2555
2555
|
selected: e.modelValue.includes(d.value)
|
|
2556
2556
|
})
|
|
2557
2557
|
]),
|
|
2558
2558
|
Ee(u)[`checkbox-${d.key || d.value}-end`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (K(), le("div", {
|
|
2559
2559
|
key: 0,
|
|
2560
|
-
class:
|
|
2560
|
+
class: Qe([{ "q-checkbox disabled": e.disable || d.disabled }, "col"])
|
|
2561
2561
|
}, [
|
|
2562
|
-
me(
|
|
2562
|
+
me(N.$slots, `checkbox-${d.key || d.value}-end`, {
|
|
2563
2563
|
option: d,
|
|
2564
2564
|
value: e.modelValue.includes(d.value),
|
|
2565
2565
|
disable: e.disable || d.disabled
|
|
@@ -2568,23 +2568,23 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2568
2568
|
], 2),
|
|
2569
2569
|
Ee(u)[`checkbox-${d.key || d.value}-bottom`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (K(), le("div", {
|
|
2570
2570
|
key: 0,
|
|
2571
|
-
class:
|
|
2571
|
+
class: Qe(["q-mt-sm", { "q-checkbox disabled": e.disable || d.disabled }]),
|
|
2572
2572
|
style: st(`margin-left: ${e.bottomSlotIndent}`)
|
|
2573
2573
|
}, [
|
|
2574
|
-
me(
|
|
2574
|
+
me(N.$slots, `checkbox-${d.key || d.value}-bottom`, {
|
|
2575
2575
|
option: d,
|
|
2576
2576
|
disable: e.disable || d.disabled,
|
|
2577
2577
|
value: e.modelValue.includes(d.value)
|
|
2578
2578
|
})
|
|
2579
2579
|
], 6)) : ye("", !0)
|
|
2580
2580
|
], 6))), 128)),
|
|
2581
|
-
r.value && f.value ? (K(), le("div",
|
|
2581
|
+
r.value && f.value ? (K(), le("div", ha, Ze(m.value), 1)) : ye("", !0)
|
|
2582
2582
|
]),
|
|
2583
2583
|
_: 3
|
|
2584
2584
|
}, 8, ["title"]);
|
|
2585
2585
|
};
|
|
2586
2586
|
}
|
|
2587
|
-
}),
|
|
2587
|
+
}), ba = { class: "flex flex-col gap-16" }, ga = /* @__PURE__ */ _e({
|
|
2588
2588
|
__name: "BasePermission",
|
|
2589
2589
|
props: {
|
|
2590
2590
|
modelValue: {
|
|
@@ -2602,40 +2602,40 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2602
2602
|
},
|
|
2603
2603
|
emits: ["update:model-value"],
|
|
2604
2604
|
setup(e, { emit: t }) {
|
|
2605
|
-
const { getFlagValue: n } = os(), s = e, l = t, r = Object.values(as), u =
|
|
2605
|
+
const { getFlagValue: n } = os(), s = e, l = t, r = Object.values(as), u = X(() => {
|
|
2606
2606
|
const c = /* @__PURE__ */ new Map();
|
|
2607
|
-
for (const
|
|
2608
|
-
const E =
|
|
2609
|
-
E && (s.excludedSubjects.includes(
|
|
2607
|
+
for (const h of lt) {
|
|
2608
|
+
const E = h.category;
|
|
2609
|
+
E && (s.excludedSubjects.includes(h.subject) || h.showByFeatureFlag && n(h.showByFeatureFlag) === "false" || (c.has(E) || c.set(E, []), c.get(E).push({ label: h.label, value: h.subject })));
|
|
2610
2610
|
}
|
|
2611
|
-
return [...c.keys()].sort((
|
|
2612
|
-
const g = r.indexOf(
|
|
2613
|
-
return g === -1 && k === -1 ?
|
|
2614
|
-
}).map((
|
|
2615
|
-
const E = c.get(
|
|
2616
|
-
return { category:
|
|
2611
|
+
return [...c.keys()].sort((h, E) => {
|
|
2612
|
+
const g = r.indexOf(h), k = r.indexOf(E);
|
|
2613
|
+
return g === -1 && k === -1 ? h.localeCompare(E) : g === -1 ? 1 : k === -1 ? -1 : g - k;
|
|
2614
|
+
}).map((h) => {
|
|
2615
|
+
const E = c.get(h), g = s.modelValue.filter((k) => E.some((M) => M.value === k.subject) && !k.inverted).map((k) => k.subject);
|
|
2616
|
+
return { category: h, options: E, selectedSubjects: g };
|
|
2617
2617
|
});
|
|
2618
2618
|
});
|
|
2619
2619
|
function m(c, f) {
|
|
2620
2620
|
var E;
|
|
2621
|
-
const
|
|
2621
|
+
const h = ((E = u.value.find((g) => g.category === c)) == null ? void 0 : E.options) ?? [];
|
|
2622
2622
|
l("update:model-value", [
|
|
2623
2623
|
// Keep permissions from all other categories unchanged
|
|
2624
|
-
...s.modelValue.filter((g) => !
|
|
2624
|
+
...s.modelValue.filter((g) => !h.some((k) => k.value === g.subject)),
|
|
2625
2625
|
// Replace with the newly selected permissions for this category (strip UI-only fields)
|
|
2626
2626
|
...lt.filter((g) => f.includes(g.subject)).map(({ category: g, showByFeatureFlag: k, ...M }) => M)
|
|
2627
2627
|
]);
|
|
2628
2628
|
}
|
|
2629
|
-
return (c, f) => (K(), le("div",
|
|
2630
|
-
(K(!0), le(
|
|
2631
|
-
key:
|
|
2632
|
-
"model-value":
|
|
2633
|
-
options:
|
|
2629
|
+
return (c, f) => (K(), le("div", ba, [
|
|
2630
|
+
(K(!0), le(je, null, pe(u.value, (h) => (K(), Ce(Jt, {
|
|
2631
|
+
key: h.category,
|
|
2632
|
+
"model-value": h.selectedSubjects,
|
|
2633
|
+
options: h.options,
|
|
2634
2634
|
disable: e.disable,
|
|
2635
|
-
title:
|
|
2636
|
-
"onUpdate:modelValue": (E) => m(
|
|
2635
|
+
title: h.category,
|
|
2636
|
+
"onUpdate:modelValue": (E) => m(h.category, E)
|
|
2637
2637
|
}, Oe({ _: 2 }, [
|
|
2638
|
-
pe(
|
|
2638
|
+
pe(h.options, (E) => ({
|
|
2639
2639
|
name: `checkbox-${E.value}-append`,
|
|
2640
2640
|
fn: ce(({ option: g }) => [
|
|
2641
2641
|
me(c.$slots, `checkbox-${E.value}-append`, { option: g })
|
|
@@ -2660,19 +2660,19 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2660
2660
|
s.value && (l.value = s.value.scrollHeight);
|
|
2661
2661
|
}
|
|
2662
2662
|
return Wt(async () => {
|
|
2663
|
-
await
|
|
2663
|
+
await zn(), s.value && (r = new ResizeObserver(() => {
|
|
2664
2664
|
m();
|
|
2665
2665
|
}), r.observe(s.value));
|
|
2666
2666
|
}), Ln(() => {
|
|
2667
2667
|
r == null || r.disconnect();
|
|
2668
2668
|
}), (c, f) => {
|
|
2669
|
-
const
|
|
2670
|
-
return K(), le(
|
|
2669
|
+
const h = Ye("FmButton");
|
|
2670
|
+
return K(), le(je, null, [
|
|
2671
2671
|
ae("div", { onClick: u }, [
|
|
2672
2672
|
ae("div", Ea, [
|
|
2673
2673
|
me(c.$slots, "title"),
|
|
2674
2674
|
ae("div", Ia, [
|
|
2675
|
-
ie(
|
|
2675
|
+
ie(h, {
|
|
2676
2676
|
icon: n.value ? "keyboard_arrow_down" : "keyboard_arrow_up",
|
|
2677
2677
|
"text-color": "neutral-gray-400",
|
|
2678
2678
|
variant: "tertiary",
|
|
@@ -2692,7 +2692,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2692
2692
|
], 64);
|
|
2693
2693
|
};
|
|
2694
2694
|
}
|
|
2695
|
-
}),
|
|
2695
|
+
}), Ta = { class: "fm-typo-en-title-sm-600" }, Lt = "includedFuture", On = /* @__PURE__ */ _e({
|
|
2696
2696
|
__name: "ConditionPermission",
|
|
2697
2697
|
props: {
|
|
2698
2698
|
modelValue: {
|
|
@@ -2714,7 +2714,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2714
2714
|
},
|
|
2715
2715
|
emits: ["update:model-value"],
|
|
2716
2716
|
setup(e, { emit: t }) {
|
|
2717
|
-
const n = e, s = t, { t: l } = ct(), r =
|
|
2717
|
+
const n = e, s = t, { t: l } = ct(), r = X(() => [
|
|
2718
2718
|
{
|
|
2719
2719
|
label: l("team.memberForm.permissions.includedFuture", { context: n.context }),
|
|
2720
2720
|
value: Lt,
|
|
@@ -2724,23 +2724,23 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2724
2724
|
...n.options.filter(
|
|
2725
2725
|
(f) => f.label.toLocaleLowerCase().includes(c.value.toLocaleLowerCase())
|
|
2726
2726
|
)
|
|
2727
|
-
]), u =
|
|
2727
|
+
]), u = X(() => n.modelValue ? n.modelValue : [Lt, ...n.options.map((f) => f.value)]);
|
|
2728
2728
|
function m(f) {
|
|
2729
|
-
const
|
|
2730
|
-
s("update:model-value",
|
|
2729
|
+
const h = f.length === r.value.length;
|
|
2730
|
+
s("update:model-value", h ? null : f.filter((E) => E !== Lt));
|
|
2731
2731
|
}
|
|
2732
2732
|
const c = Re("");
|
|
2733
|
-
return (f,
|
|
2734
|
-
const E =
|
|
2733
|
+
return (f, h) => {
|
|
2734
|
+
const E = Ye("fm-search");
|
|
2735
2735
|
return K(), Ce(va, null, {
|
|
2736
2736
|
title: ce(() => [
|
|
2737
|
-
ae("p",
|
|
2737
|
+
ae("p", Ta, Ze(Ee(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
2738
2738
|
]),
|
|
2739
2739
|
default: ce(() => [
|
|
2740
2740
|
e.options.length > 1 ? (K(), Ce(E, {
|
|
2741
2741
|
key: 0,
|
|
2742
2742
|
modelValue: c.value,
|
|
2743
|
-
"onUpdate:modelValue":
|
|
2743
|
+
"onUpdate:modelValue": h[0] || (h[0] = (g) => c.value = g),
|
|
2744
2744
|
class: "mt-16",
|
|
2745
2745
|
placeholder: Ee(l)("team.memberForm.permissions.search", { context: e.context })
|
|
2746
2746
|
}, null, 8, ["modelValue", "placeholder"])) : ye("", !0),
|
|
@@ -2767,7 +2767,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2767
2767
|
});
|
|
2768
2768
|
};
|
|
2769
2769
|
}
|
|
2770
|
-
}), Rt = "includedNewRole",
|
|
2770
|
+
}), Rt = "includedNewRole", Na = /* @__PURE__ */ _e({
|
|
2771
2771
|
__name: "PosRolePermission",
|
|
2772
2772
|
props: {
|
|
2773
2773
|
modelValue: {
|
|
@@ -2789,7 +2789,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2789
2789
|
},
|
|
2790
2790
|
emits: ["update:model-value"],
|
|
2791
2791
|
setup(e, { emit: t }) {
|
|
2792
|
-
const n = e, s = t, { t: l } = ct(), r =
|
|
2792
|
+
const n = e, s = t, { t: l } = ct(), r = X(() => {
|
|
2793
2793
|
const c = n.restaurantIds;
|
|
2794
2794
|
return [
|
|
2795
2795
|
{
|
|
@@ -2800,13 +2800,13 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2800
2800
|
...n.roles.map((f) => ({
|
|
2801
2801
|
label: f.name,
|
|
2802
2802
|
value: f._id,
|
|
2803
|
-
disable: !!c && f.restaurants.every(({ id:
|
|
2803
|
+
disable: !!c && f.restaurants.every(({ id: h }) => !c.includes(h))
|
|
2804
2804
|
}))
|
|
2805
2805
|
];
|
|
2806
|
-
}), u =
|
|
2806
|
+
}), u = X(() => n.modelValue ? n.modelValue : [Rt, ...n.roles.map((c) => c._id)]);
|
|
2807
2807
|
function m(c) {
|
|
2808
2808
|
const f = c.length === r.value.length;
|
|
2809
|
-
s("update:model-value", f ? null : c.filter((
|
|
2809
|
+
s("update:model-value", f ? null : c.filter((h) => h !== Rt));
|
|
2810
2810
|
}
|
|
2811
2811
|
return (c, f) => (K(), Ce(Jt, {
|
|
2812
2812
|
"model-value": u.value,
|
|
@@ -2817,10 +2817,10 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2817
2817
|
title: Ee(l)("team.memberForm.permissions.roles"),
|
|
2818
2818
|
"onUpdate:modelValue": m
|
|
2819
2819
|
}, Oe({ _: 2 }, [
|
|
2820
|
-
pe(r.value, (
|
|
2821
|
-
name: `checkbox-${
|
|
2820
|
+
pe(r.value, (h) => ({
|
|
2821
|
+
name: `checkbox-${h.value}-append`,
|
|
2822
2822
|
fn: ce(({ option: E }) => [
|
|
2823
|
-
me(c.$slots, `checkbox-${
|
|
2823
|
+
me(c.$slots, `checkbox-${h.value}-append`, { option: E })
|
|
2824
2824
|
])
|
|
2825
2825
|
}))
|
|
2826
2826
|
]), 1032, ["model-value", "options", "disable", "title"]));
|
|
@@ -2829,7 +2829,7 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2829
2829
|
async readWarehouses() {
|
|
2830
2830
|
return es(await ts().get("/warehouses"));
|
|
2831
2831
|
}
|
|
2832
|
-
}, ya = { class: "flex flex-col gap-32" }, Oa = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, La = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Ra = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Ca = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" },
|
|
2832
|
+
}, ya = { class: "flex flex-col gap-32" }, Oa = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, La = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Ra = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Ca = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, ja = /* @__PURE__ */ _e({
|
|
2833
2833
|
__name: "PortalPermissionEditor",
|
|
2834
2834
|
props: /* @__PURE__ */ Kt({
|
|
2835
2835
|
disable: {
|
|
@@ -2846,171 +2846,171 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
2846
2846
|
}),
|
|
2847
2847
|
emits: /* @__PURE__ */ Kt(["permissionChanged"], ["update:modelValue"]),
|
|
2848
2848
|
setup(e, { emit: t }) {
|
|
2849
|
-
const n =
|
|
2850
|
-
const C = lt.filter((D) => !
|
|
2849
|
+
const n = Qn(e, "modelValue"), s = e, l = t, { t: r } = ct(), u = X(() => {
|
|
2850
|
+
const C = lt.filter((D) => !h.includes(D.subject)).map((D) => D.subject);
|
|
2851
2851
|
return ns(
|
|
2852
2852
|
s.inheritPermissions.map((D) => ({
|
|
2853
2853
|
...D,
|
|
2854
|
-
permissions: D.permissions.filter((
|
|
2854
|
+
permissions: D.permissions.filter((Z) => C.includes(Z.subject))
|
|
2855
2855
|
}))
|
|
2856
2856
|
).map((D) => ({
|
|
2857
2857
|
id: D.subject,
|
|
2858
2858
|
setNames: D.setNames
|
|
2859
2859
|
}));
|
|
2860
|
-
}), m =
|
|
2861
|
-
const C = s.inheritPermissions.map((
|
|
2862
|
-
...
|
|
2863
|
-
permissions:
|
|
2860
|
+
}), m = X(() => {
|
|
2861
|
+
const C = s.inheritPermissions.map((A) => ({
|
|
2862
|
+
...A,
|
|
2863
|
+
permissions: A.permissions.filter(
|
|
2864
2864
|
(D) => D.subject === q.Subject.Business.inventory_stock
|
|
2865
2865
|
)
|
|
2866
2866
|
}));
|
|
2867
|
-
return
|
|
2867
|
+
return Nt(
|
|
2868
2868
|
C,
|
|
2869
2869
|
"warehouseId",
|
|
2870
|
-
g.value.map((
|
|
2870
|
+
g.value.map((A) => A._id)
|
|
2871
2871
|
);
|
|
2872
|
-
}), c =
|
|
2873
|
-
const C = s.inheritPermissions.map((
|
|
2874
|
-
...
|
|
2875
|
-
permissions:
|
|
2872
|
+
}), c = X(() => {
|
|
2873
|
+
const C = s.inheritPermissions.map((A) => ({
|
|
2874
|
+
...A,
|
|
2875
|
+
permissions: A.permissions.filter(
|
|
2876
2876
|
(D) => D.subject === q.Subject.Restaurant.restaurant
|
|
2877
2877
|
)
|
|
2878
2878
|
}));
|
|
2879
|
-
return
|
|
2879
|
+
return Nt(
|
|
2880
2880
|
C,
|
|
2881
2881
|
"restaurantId",
|
|
2882
|
-
O.value.map((
|
|
2882
|
+
O.value.map((A) => A._id)
|
|
2883
2883
|
);
|
|
2884
|
-
}), f =
|
|
2885
|
-
const C = s.inheritPermissions.map((
|
|
2886
|
-
...
|
|
2887
|
-
permissions:
|
|
2884
|
+
}), f = X(() => {
|
|
2885
|
+
const C = s.inheritPermissions.map((A) => ({
|
|
2886
|
+
...A,
|
|
2887
|
+
permissions: A.permissions.filter((D) => D.subject === q.Subject.Business.role)
|
|
2888
2888
|
}));
|
|
2889
|
-
return
|
|
2889
|
+
return Nt(
|
|
2890
2890
|
C,
|
|
2891
2891
|
"roleId",
|
|
2892
|
-
i.value.map((
|
|
2892
|
+
i.value.map((A) => A._id)
|
|
2893
2893
|
);
|
|
2894
|
-
}),
|
|
2894
|
+
}), h = [
|
|
2895
2895
|
q.Subject.Business.restaurant,
|
|
2896
2896
|
q.Subject.Business.role,
|
|
2897
2897
|
q.Subject.Restaurant.restaurant,
|
|
2898
2898
|
q.Subject.Business.inventory_stock
|
|
2899
|
-
], E =
|
|
2900
|
-
var
|
|
2901
|
-
const C = (
|
|
2899
|
+
], E = X(() => {
|
|
2900
|
+
var A;
|
|
2901
|
+
const C = (A = n.value) == null ? void 0 : A.find(
|
|
2902
2902
|
(D) => D.subject === q.Subject.Business.inventory_stock
|
|
2903
2903
|
);
|
|
2904
2904
|
return C ? C.conditions ? JSON.parse(C.conditions).warehouseId.$in : null : [];
|
|
2905
|
-
}), g = Re([]), k =
|
|
2905
|
+
}), g = Re([]), k = X(() => g.value.map((C) => ({
|
|
2906
2906
|
label: C.profile.name,
|
|
2907
2907
|
value: C._id
|
|
2908
2908
|
})));
|
|
2909
2909
|
function M(C) {
|
|
2910
|
-
const
|
|
2911
|
-
n.value =
|
|
2910
|
+
const A = N(n.value, C);
|
|
2911
|
+
n.value = A;
|
|
2912
2912
|
}
|
|
2913
|
-
function
|
|
2913
|
+
function N(C, A) {
|
|
2914
2914
|
let D = rt(
|
|
2915
|
-
C.filter((
|
|
2915
|
+
C.filter((Z) => Z.subject !== q.Subject.Business.inventory_stock)
|
|
2916
2916
|
);
|
|
2917
|
-
if (!
|
|
2918
|
-
const
|
|
2917
|
+
if (!A || A.length > 0) {
|
|
2918
|
+
const Z = {
|
|
2919
2919
|
actions: [q.Action.manage],
|
|
2920
2920
|
subject: q.Subject.Business.inventory_stock
|
|
2921
2921
|
};
|
|
2922
|
-
|
|
2922
|
+
A && (Z.conditions = JSON.stringify({ warehouseId: { $in: A } })), D.push(Z);
|
|
2923
2923
|
}
|
|
2924
2924
|
return D;
|
|
2925
2925
|
}
|
|
2926
|
-
const { restaurants: O } = qn(), i = is().roles, d =
|
|
2926
|
+
const { restaurants: O } = qn(), i = is().roles, d = X(() => O.value.map((C) => ({
|
|
2927
2927
|
label: `${C.profile.code ? C.profile.code + "-" : ""}${C.profile.name}`,
|
|
2928
2928
|
value: C._id
|
|
2929
|
-
}))),
|
|
2929
|
+
}))), T = X(() => O.value.reduce((C, A) => (C[A._id] = i.value.filter((D) => D.restaurants.some((Z) => Z.id === A._id)).map((D) => D._id), C), {})), p = X(() => ss(n.value));
|
|
2930
2930
|
function L(C) {
|
|
2931
|
-
const
|
|
2932
|
-
n.value =
|
|
2931
|
+
const A = v(n.value, C);
|
|
2932
|
+
n.value = A;
|
|
2933
2933
|
}
|
|
2934
|
-
const y =
|
|
2935
|
-
function v(C,
|
|
2936
|
-
var
|
|
2934
|
+
const y = X(() => rs(n.value));
|
|
2935
|
+
function v(C, A) {
|
|
2936
|
+
var Z;
|
|
2937
2937
|
let D = rt(
|
|
2938
2938
|
C.filter(
|
|
2939
2939
|
(B) => B.subject !== q.Subject.Business.restaurant && B.subject !== q.Subject.Restaurant.restaurant
|
|
2940
2940
|
)
|
|
2941
2941
|
);
|
|
2942
|
-
if (!
|
|
2942
|
+
if (!A || A.length > 0) {
|
|
2943
2943
|
const {
|
|
2944
2944
|
category: B,
|
|
2945
2945
|
showByFeatureFlag: P,
|
|
2946
2946
|
...se
|
|
2947
2947
|
} = ls.restaurant;
|
|
2948
2948
|
D.push(se);
|
|
2949
|
-
const
|
|
2949
|
+
const j = {
|
|
2950
2950
|
actions: [q.Action.manage],
|
|
2951
2951
|
subject: q.Subject.Restaurant.restaurant
|
|
2952
2952
|
};
|
|
2953
|
-
|
|
2953
|
+
A && (j.conditions = JSON.stringify({ restaurantId: { $in: A } })), D.push(j);
|
|
2954
2954
|
}
|
|
2955
|
-
if (
|
|
2955
|
+
if (A) {
|
|
2956
2956
|
const B = [
|
|
2957
|
-
...new Set(
|
|
2957
|
+
...new Set(A.map((se) => T.value[se]).flatMap((se) => se))
|
|
2958
2958
|
], P = i.value.map((se) => se._id);
|
|
2959
|
-
B.length !== P.length && (D =
|
|
2959
|
+
B.length !== P.length && (D = x(
|
|
2960
2960
|
D,
|
|
2961
|
-
(
|
|
2961
|
+
(Z = y.value || P) == null ? void 0 : Z.filter((se) => B.includes(se))
|
|
2962
2962
|
));
|
|
2963
2963
|
}
|
|
2964
2964
|
return D;
|
|
2965
2965
|
}
|
|
2966
|
-
function
|
|
2967
|
-
const
|
|
2968
|
-
n.value =
|
|
2966
|
+
function Y(C) {
|
|
2967
|
+
const A = x(n.value, C);
|
|
2968
|
+
n.value = A;
|
|
2969
2969
|
}
|
|
2970
|
-
function
|
|
2970
|
+
function x(C, A) {
|
|
2971
2971
|
let D = rt(
|
|
2972
|
-
C.filter((
|
|
2972
|
+
C.filter((Z) => Z.subject !== q.Subject.Business.role)
|
|
2973
2973
|
);
|
|
2974
|
-
if (
|
|
2975
|
-
const
|
|
2974
|
+
if (A && A.length > 0) {
|
|
2975
|
+
const Z = {
|
|
2976
2976
|
actions: [q.Action.manage],
|
|
2977
2977
|
subject: q.Subject.Business.role,
|
|
2978
|
-
conditions: JSON.stringify({ roleId: { $in:
|
|
2978
|
+
conditions: JSON.stringify({ roleId: { $in: A } })
|
|
2979
2979
|
};
|
|
2980
|
-
D.push(
|
|
2980
|
+
D.push(Z);
|
|
2981
2981
|
}
|
|
2982
2982
|
return D;
|
|
2983
2983
|
}
|
|
2984
2984
|
Wt(async () => {
|
|
2985
2985
|
g.value = await ka.readWarehouses();
|
|
2986
2986
|
});
|
|
2987
|
-
const ne =
|
|
2988
|
-
() =>
|
|
2987
|
+
const ne = X(
|
|
2988
|
+
() => zt(
|
|
2989
2989
|
n.value,
|
|
2990
|
-
|
|
2990
|
+
Qt
|
|
2991
2991
|
)
|
|
2992
2992
|
);
|
|
2993
2993
|
function oe(C) {
|
|
2994
|
-
const
|
|
2994
|
+
const A = new Set(
|
|
2995
2995
|
ne.value.filter((P) => !P.inverted).map((P) => P.subject)
|
|
2996
2996
|
), D = new Set(
|
|
2997
2997
|
C.filter((P) => !P.inverted).map((P) => P.subject)
|
|
2998
|
-
),
|
|
2998
|
+
), Z = new Set(
|
|
2999
2999
|
n.value.filter((P) => !P.inverted).map((P) => P.subject)
|
|
3000
3000
|
);
|
|
3001
3001
|
let B = [...n.value];
|
|
3002
|
-
for (const P of
|
|
3003
|
-
D.has(P) || (
|
|
3002
|
+
for (const P of A)
|
|
3003
|
+
D.has(P) || (Z.has(P) && (B = B.filter((j) => j.subject !== P)), (!Z.has(P) || zt(
|
|
3004
3004
|
B,
|
|
3005
|
-
|
|
3006
|
-
).some((
|
|
3005
|
+
Qt
|
|
3006
|
+
).some((j) => j.subject === P && !j.inverted)) && !B.some((j) => j.subject === P && j.inverted) && B.push({ subject: P, actions: ["manage"], inverted: !0 }));
|
|
3007
3007
|
for (const P of D)
|
|
3008
|
-
if (!
|
|
3009
|
-
const se = B.some((
|
|
3010
|
-
if (B = B.filter((
|
|
3011
|
-
const
|
|
3012
|
-
if (
|
|
3013
|
-
const { category:
|
|
3008
|
+
if (!A.has(P)) {
|
|
3009
|
+
const se = B.some((j) => j.subject === P && j.inverted);
|
|
3010
|
+
if (B = B.filter((j) => !(j.subject === P && j.inverted)), !se && !Z.has(P)) {
|
|
3011
|
+
const j = lt.find((Ne) => Ne.subject === P);
|
|
3012
|
+
if (j) {
|
|
3013
|
+
const { category: Ne, showByFeatureFlag: Ve, ...We } = j;
|
|
3014
3014
|
B.push(We);
|
|
3015
3015
|
}
|
|
3016
3016
|
}
|
|
@@ -3023,11 +3023,11 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
3023
3023
|
l("permissionChanged", C);
|
|
3024
3024
|
},
|
|
3025
3025
|
{ deep: !0 }
|
|
3026
|
-
), (C,
|
|
3026
|
+
), (C, A) => (K(), le("div", ya, [
|
|
3027
3027
|
ae("div", Oa, [
|
|
3028
3028
|
ie(ga, {
|
|
3029
3029
|
"model-value": ne.value,
|
|
3030
|
-
"excluded-subjects":
|
|
3030
|
+
"excluded-subjects": h,
|
|
3031
3031
|
"onUpdate:modelValue": oe
|
|
3032
3032
|
}, Oe({ _: 2 }, [
|
|
3033
3033
|
pe(u.value, (D) => ({
|
|
@@ -3069,11 +3069,11 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
3069
3069
|
]), 1032, ["model-value", "options", "context"])
|
|
3070
3070
|
]),
|
|
3071
3071
|
ae("div", Ca, [
|
|
3072
|
-
ie(
|
|
3072
|
+
ie(Na, {
|
|
3073
3073
|
roles: Ee(i),
|
|
3074
3074
|
"model-value": y.value,
|
|
3075
3075
|
"restaurant-ids": p.value,
|
|
3076
|
-
"onUpdate:modelValue":
|
|
3076
|
+
"onUpdate:modelValue": Y
|
|
3077
3077
|
}, Oe({ _: 2 }, [
|
|
3078
3078
|
pe(f.value, (D) => ({
|
|
3079
3079
|
name: `checkbox-${D.id}-append`,
|
|
@@ -3088,5 +3088,5 @@ const pa = { class: "col flex items-center" }, ba = {
|
|
|
3088
3088
|
});
|
|
3089
3089
|
export {
|
|
3090
3090
|
Jt as _,
|
|
3091
|
-
|
|
3091
|
+
ja as a
|
|
3092
3092
|
};
|