@feedmepos/mf-hrm-portal 2.0.8-dev.21 → 2.0.8-dev.22
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-LTCTeKAn.js +915 -0
- package/dist/{EmployeeList-DpgTawPV.js → EmployeeList-R4dQLGys.js} +5 -5
- package/dist/{Main-CFfWWCG-.js → Main-BXTMAmbg.js} +4 -4
- package/dist/{Main-B_TbUV7E.js → Main-Bf6XiEvI.js} +9 -9
- package/dist/{Main-ErnHWc2T.js → Main-CJ8P1pAd.js} +6 -6
- package/dist/{PermissionSetList-KMf-DmSx.js → PermissionSetList-BoMvQq0j.js} +5 -5
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-Bl4neC1N.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BgfhVO9P.js} +661 -661
- package/dist/{RoleList-DUV3e1bp.js → RoleList-DxzOvbCo.js} +7 -7
- package/dist/{TeamMemberList-BsYgCJHe.js → TeamMemberList-nX_rxzbY.js} +8 -8
- package/dist/{TimesheetList-14Y6quzu.js → TimesheetList-k6RLDMVj.js} +7 -7
- package/dist/{app-DsWm7aZT.js → app-CzyfZzhw.js} +4 -4
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-haGKjZBn.js → dayjs.min-CZBcBDiW.js} +1 -1
- package/dist/{employee-DCHehQxZ.js → employee-D1N2dTbx.js} +4 -4
- package/dist/{index-B-kcB-Vh.js → index-B3cmP1j_.js} +1 -1
- package/dist/{index-Mg_iJxE7.js → index-BkmpxLmM.js} +2 -2
- package/dist/{iteration-CikoAxq1.js → iteration-DArJx7xj.js} +1 -1
- package/dist/{lodash-B8GVrHRL.js → lodash-CMFxWI8u.js} +1 -1
- package/dist/src/views/audit-log/components/AuditLogModuleTabs.vue.d.ts +1 -4
- package/dist/{team-CIrUNWwt.js → team-CBgH3pVZ.js} +1 -1
- package/dist/{timesheet-uS-PmFn6.js → timesheet-7DNYXJJ7.js} +3 -3
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-D0S6yG2D.js → useAppStore-DBzTjhTS.js} +1 -1
- package/dist/{useLoading-DWAPiLR-.js → useLoading-CsiiYyn6.js} +1 -1
- package/dist/{useReportPermissions-Pnp0ZUyB.js → useReportPermissions-BHb_zJjc.js} +3 -3
- package/package.json +1 -1
- package/dist/AuditLogList-RhaU2hQA.js +0 -846
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { getCurrentInstance as xt, inject as $n, ref as
|
|
1
|
+
import { getCurrentInstance as xt, inject as $n, ref as Ue, shallowRef as zn, computed as q, watch as St, onMounted as Xt, onUnmounted as An, defineComponent as ye, h as Sn, createVNode as de, Text as Kn, Fragment as Ie, resolveComponent as Ye, createBlock as Se, openBlock as H, withCtx as he, createElementVNode as te, createElementBlock as ee, toDisplayString as Ae, unref as B, renderList as pe, renderSlot as ge, createCommentVNode as Oe, createTextVNode as Qn, useSlots as qn, normalizeStyle as ct, normalizeClass as qe, toRef as Qt, createSlots as Fe, nextTick as es, mergeModels as qt, useModel as ts } from "vue";
|
|
2
2
|
import { useI18n as _t, useCoreStore as ns } from "@feedmepos/mf-common";
|
|
3
3
|
import "@vue/devtools-api";
|
|
4
|
-
import { p as Dt, j as ss, x as as, y as
|
|
5
|
-
import { d as ut, g as os, b as is } from "./iteration-
|
|
6
|
-
import { p as cs, u as ce, C as us, A as Tt } from "./app-
|
|
7
|
-
import { u as ms } from "./index-
|
|
8
|
-
import { u as ds } from "./useAppStore-
|
|
4
|
+
import { p as Dt, j as ss, x as as, y as yt, z as rs, l as ls, $ as kt } from "./index-BkmpxLmM.js";
|
|
5
|
+
import { d as ut, g as os, b as is } from "./iteration-DArJx7xj.js";
|
|
6
|
+
import { p as cs, u as ce, C as us, A as Tt } from "./app-CzyfZzhw.js";
|
|
7
|
+
import { u as ms } from "./index-B3cmP1j_.js";
|
|
8
|
+
import { u as ds } from "./useAppStore-DBzTjhTS.js";
|
|
9
9
|
/*!
|
|
10
10
|
* shared v10.0.5
|
|
11
11
|
* (c) 2024 kazuya kawaguchi
|
|
12
12
|
* Released under the MIT License.
|
|
13
13
|
*/
|
|
14
|
-
const en = typeof window < "u", Ve = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), fs = (e, t, n) => _s({ l: e, k: t, s: n }), _s = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ue = (e) => typeof e == "number" && isFinite(e), ps = (e) => Yt(e) === "[object Date]", dt = (e) => Yt(e) === "[object RegExp]", pt = (e) => J(e) && Object.keys(e).length === 0, me = Object.assign,
|
|
14
|
+
const en = typeof window < "u", Ve = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), fs = (e, t, n) => _s({ l: e, k: t, s: n }), _s = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ue = (e) => typeof e == "number" && isFinite(e), ps = (e) => Yt(e) === "[object Date]", dt = (e) => Yt(e) === "[object RegExp]", pt = (e) => J(e) && Object.keys(e).length === 0, me = Object.assign, hs = Object.create, K = (e = null) => hs(e);
|
|
15
15
|
let tn;
|
|
16
|
-
const
|
|
16
|
+
const je = () => tn || (tn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : K());
|
|
17
17
|
function nn(e) {
|
|
18
18
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
19
19
|
}
|
|
20
|
-
const
|
|
21
|
-
function
|
|
22
|
-
return
|
|
20
|
+
const gs = Object.prototype.hasOwnProperty;
|
|
21
|
+
function Ne(e, t) {
|
|
22
|
+
return gs.call(e, t);
|
|
23
23
|
}
|
|
24
|
-
const ie = Array.isArray, se = (e) => typeof e == "function", P = (e) => typeof e == "string", oe = (e) => typeof e == "boolean", $ = (e) => e !== null && typeof e == "object",
|
|
24
|
+
const ie = Array.isArray, se = (e) => typeof e == "function", P = (e) => typeof e == "string", oe = (e) => typeof e == "boolean", $ = (e) => e !== null && typeof e == "object", bs = (e) => $(e) && se(e.then) && se(e.catch), Dn = Object.prototype.toString, Yt = (e) => Dn.call(e), J = (e) => Yt(e) === "[object Object]", vs = (e) => e == null ? "" : ie(e) || J(e) && e.toString === Dn ? JSON.stringify(e, null, 2) : String(e);
|
|
25
25
|
function Zt(e, t = "") {
|
|
26
26
|
return e.reduce((n, s, l) => l === 0 ? n + s : n + t + s, "");
|
|
27
27
|
}
|
|
@@ -43,7 +43,7 @@ function mt(e, t) {
|
|
|
43
43
|
function Is(e, t, n) {
|
|
44
44
|
return { line: e, column: t, offset: n };
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function Mt(e, t, n) {
|
|
47
47
|
return { start: e, end: t };
|
|
48
48
|
}
|
|
49
49
|
const z = {
|
|
@@ -63,12 +63,12 @@ const z = {
|
|
|
63
63
|
UNEXPECTED_EMPTY_LINKED_MODIFIER: 12,
|
|
64
64
|
UNEXPECTED_EMPTY_LINKED_KEY: 13,
|
|
65
65
|
UNEXPECTED_LEXICAL_ANALYSIS: 14
|
|
66
|
-
},
|
|
67
|
-
function
|
|
66
|
+
}, Ns = 17;
|
|
67
|
+
function ht(e, t, n = {}) {
|
|
68
68
|
const { domain: s, messages: l, args: a } = n, c = e, d = new SyntaxError(String(c));
|
|
69
69
|
return d.code = e, t && (d.location = t), d.domain = s, d;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function ys(e) {
|
|
72
72
|
throw e;
|
|
73
73
|
}
|
|
74
74
|
const Te = " ", ks = "\r", fe = `
|
|
@@ -76,14 +76,14 @@ const Te = " ", ks = "\r", fe = `
|
|
|
76
76
|
function Ls(e) {
|
|
77
77
|
const t = e;
|
|
78
78
|
let n = 0, s = 1, l = 1, a = 0;
|
|
79
|
-
const c = (m) => t[m] === ks && t[m + 1] === fe, d = (m) => t[m] === fe, u = (m) => t[m] === Os,
|
|
79
|
+
const c = (m) => t[m] === ks && t[m + 1] === fe, d = (m) => t[m] === fe, u = (m) => t[m] === Os, g = (m) => t[m] === Ts, k = (m) => c(m) || d(m) || u(m) || g(m), O = () => n, I = () => s, w = () => l, V = () => a, y = (m) => c(m) || u(m) || g(m) ? fe : t[m], A = () => y(n), i = () => y(n + a);
|
|
80
80
|
function f() {
|
|
81
81
|
return a = 0, k(n) && (s++, l = 0), c(n) && n++, n++, l++, t[n];
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function N() {
|
|
84
84
|
return c(n + a) && a++, a++, t[n + a];
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function h() {
|
|
87
87
|
n = 0, s = 1, l = 1, a = 0;
|
|
88
88
|
}
|
|
89
89
|
function S(m = 0) {
|
|
@@ -98,14 +98,14 @@ function Ls(e) {
|
|
|
98
98
|
return {
|
|
99
99
|
index: O,
|
|
100
100
|
line: I,
|
|
101
|
-
column:
|
|
101
|
+
column: w,
|
|
102
102
|
peekOffset: V,
|
|
103
|
-
charAt:
|
|
103
|
+
charAt: y,
|
|
104
104
|
currentChar: A,
|
|
105
105
|
currentPeek: i,
|
|
106
106
|
next: f,
|
|
107
|
-
peek:
|
|
108
|
-
reset:
|
|
107
|
+
peek: N,
|
|
108
|
+
reset: h,
|
|
109
109
|
resetPeek: S,
|
|
110
110
|
skipToPeek: R
|
|
111
111
|
};
|
|
@@ -124,23 +124,23 @@ function As(e, t = {}) {
|
|
|
124
124
|
braceNest: 0,
|
|
125
125
|
inLinked: !1,
|
|
126
126
|
text: ""
|
|
127
|
-
},
|
|
128
|
-
function O(r, o,
|
|
129
|
-
const re =
|
|
130
|
-
if (o.column +=
|
|
131
|
-
const Y = n ?
|
|
127
|
+
}, g = () => u, { onError: k } = t;
|
|
128
|
+
function O(r, o, b, ...j) {
|
|
129
|
+
const re = g();
|
|
130
|
+
if (o.column += b, o.offset += b, k) {
|
|
131
|
+
const Y = n ? Mt(re.startLoc, o) : null, _ = ht(r, Y, {
|
|
132
132
|
domain: Rs,
|
|
133
|
-
args:
|
|
133
|
+
args: j
|
|
134
134
|
});
|
|
135
135
|
k(_);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
function I(r, o,
|
|
138
|
+
function I(r, o, b) {
|
|
139
139
|
r.endLoc = a(), r.currentType = o;
|
|
140
|
-
const
|
|
141
|
-
return n && (
|
|
140
|
+
const j = { type: o };
|
|
141
|
+
return n && (j.loc = Mt(r.startLoc, r.endLoc)), b != null && (j.value = b), j;
|
|
142
142
|
}
|
|
143
|
-
const
|
|
143
|
+
const w = (r) => I(
|
|
144
144
|
r,
|
|
145
145
|
13
|
|
146
146
|
/* TokenTypes.EOF */
|
|
@@ -148,14 +148,14 @@ function As(e, t = {}) {
|
|
|
148
148
|
function V(r, o) {
|
|
149
149
|
return r.currentChar() === o ? (r.next(), o) : (O(z.EXPECTED_TOKEN, a(), 0, o), "");
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function y(r) {
|
|
152
152
|
let o = "";
|
|
153
153
|
for (; r.currentPeek() === Te || r.currentPeek() === fe; )
|
|
154
154
|
o += r.currentPeek(), r.peek();
|
|
155
155
|
return o;
|
|
156
156
|
}
|
|
157
157
|
function A(r) {
|
|
158
|
-
const o =
|
|
158
|
+
const o = y(r);
|
|
159
159
|
return r.skipToPeek(), o;
|
|
160
160
|
}
|
|
161
161
|
function i(r) {
|
|
@@ -172,81 +172,81 @@ function As(e, t = {}) {
|
|
|
172
172
|
const o = r.charCodeAt(0);
|
|
173
173
|
return o >= 48 && o <= 57;
|
|
174
174
|
}
|
|
175
|
-
function
|
|
176
|
-
const { currentType:
|
|
177
|
-
if (
|
|
175
|
+
function N(r, o) {
|
|
176
|
+
const { currentType: b } = o;
|
|
177
|
+
if (b !== 2)
|
|
178
178
|
return !1;
|
|
179
|
-
|
|
180
|
-
const
|
|
181
|
-
return r.resetPeek(),
|
|
179
|
+
y(r);
|
|
180
|
+
const j = i(r.currentPeek());
|
|
181
|
+
return r.resetPeek(), j;
|
|
182
182
|
}
|
|
183
|
-
function
|
|
184
|
-
const { currentType:
|
|
185
|
-
if (
|
|
183
|
+
function h(r, o) {
|
|
184
|
+
const { currentType: b } = o;
|
|
185
|
+
if (b !== 2)
|
|
186
186
|
return !1;
|
|
187
|
-
|
|
188
|
-
const
|
|
187
|
+
y(r);
|
|
188
|
+
const j = r.currentPeek() === "-" ? r.peek() : r.currentPeek(), re = f(j);
|
|
189
189
|
return r.resetPeek(), re;
|
|
190
190
|
}
|
|
191
191
|
function S(r, o) {
|
|
192
|
-
const { currentType:
|
|
193
|
-
if (
|
|
192
|
+
const { currentType: b } = o;
|
|
193
|
+
if (b !== 2)
|
|
194
194
|
return !1;
|
|
195
|
-
|
|
196
|
-
const
|
|
197
|
-
return r.resetPeek(),
|
|
195
|
+
y(r);
|
|
196
|
+
const j = r.currentPeek() === sn;
|
|
197
|
+
return r.resetPeek(), j;
|
|
198
198
|
}
|
|
199
199
|
function R(r, o) {
|
|
200
|
-
const { currentType:
|
|
201
|
-
if (
|
|
200
|
+
const { currentType: b } = o;
|
|
201
|
+
if (b !== 7)
|
|
202
202
|
return !1;
|
|
203
|
-
|
|
204
|
-
const
|
|
205
|
-
return r.resetPeek(),
|
|
203
|
+
y(r);
|
|
204
|
+
const j = r.currentPeek() === ".";
|
|
205
|
+
return r.resetPeek(), j;
|
|
206
206
|
}
|
|
207
207
|
function m(r, o) {
|
|
208
|
-
const { currentType:
|
|
209
|
-
if (
|
|
208
|
+
const { currentType: b } = o;
|
|
209
|
+
if (b !== 8)
|
|
210
210
|
return !1;
|
|
211
|
-
|
|
212
|
-
const
|
|
213
|
-
return r.resetPeek(),
|
|
211
|
+
y(r);
|
|
212
|
+
const j = i(r.currentPeek());
|
|
213
|
+
return r.resetPeek(), j;
|
|
214
214
|
}
|
|
215
215
|
function C(r, o) {
|
|
216
|
-
const { currentType:
|
|
217
|
-
if (!(
|
|
216
|
+
const { currentType: b } = o;
|
|
217
|
+
if (!(b === 7 || b === 11))
|
|
218
218
|
return !1;
|
|
219
|
-
|
|
220
|
-
const
|
|
221
|
-
return r.resetPeek(),
|
|
219
|
+
y(r);
|
|
220
|
+
const j = r.currentPeek() === ":";
|
|
221
|
+
return r.resetPeek(), j;
|
|
222
222
|
}
|
|
223
223
|
function v(r, o) {
|
|
224
|
-
const { currentType:
|
|
225
|
-
if (
|
|
224
|
+
const { currentType: b } = o;
|
|
225
|
+
if (b !== 9)
|
|
226
226
|
return !1;
|
|
227
|
-
const
|
|
227
|
+
const j = () => {
|
|
228
228
|
const Y = r.currentPeek();
|
|
229
|
-
return Y === "{" ? i(r.peek()) : Y === "@" || Y === "|" || Y === ":" || Y === "." || Y === Te || !Y ? !1 : Y === fe ? (r.peek(),
|
|
230
|
-
}, re =
|
|
229
|
+
return Y === "{" ? i(r.peek()) : Y === "@" || Y === "|" || Y === ":" || Y === "." || Y === Te || !Y ? !1 : Y === fe ? (r.peek(), j()) : D(r, !1);
|
|
230
|
+
}, re = j();
|
|
231
231
|
return r.resetPeek(), re;
|
|
232
232
|
}
|
|
233
233
|
function p(r) {
|
|
234
|
-
|
|
234
|
+
y(r);
|
|
235
235
|
const o = r.currentPeek() === "|";
|
|
236
236
|
return r.resetPeek(), o;
|
|
237
237
|
}
|
|
238
238
|
function D(r, o = !0) {
|
|
239
|
-
const
|
|
239
|
+
const b = (re = !1, Y = "") => {
|
|
240
240
|
const _ = r.currentPeek();
|
|
241
|
-
return _ === "{" || _ === "@" || !_ ? re : _ === "|" ? !(Y === Te || Y === fe) : _ === Te ? (r.peek(),
|
|
242
|
-
},
|
|
243
|
-
return o && r.resetPeek(),
|
|
241
|
+
return _ === "{" || _ === "@" || !_ ? re : _ === "|" ? !(Y === Te || Y === fe) : _ === Te ? (r.peek(), b(!0, Te)) : _ === fe ? (r.peek(), b(!0, fe)) : !0;
|
|
242
|
+
}, j = b();
|
|
243
|
+
return o && r.resetPeek(), j;
|
|
244
244
|
}
|
|
245
245
|
function F(r, o) {
|
|
246
|
-
const
|
|
247
|
-
return
|
|
246
|
+
const b = r.currentChar();
|
|
247
|
+
return b === Re ? Re : o(b) ? (r.next(), b) : null;
|
|
248
248
|
}
|
|
249
|
-
function
|
|
249
|
+
function U(r) {
|
|
250
250
|
const o = r.charCodeAt(0);
|
|
251
251
|
return o >= 97 && o <= 122 || // a-z
|
|
252
252
|
o >= 65 && o <= 90 || // A-Z
|
|
@@ -255,7 +255,7 @@ function As(e, t = {}) {
|
|
|
255
255
|
o === 36;
|
|
256
256
|
}
|
|
257
257
|
function ae(r) {
|
|
258
|
-
return F(r,
|
|
258
|
+
return F(r, U);
|
|
259
259
|
}
|
|
260
260
|
function L(r) {
|
|
261
261
|
const o = r.charCodeAt(0);
|
|
@@ -269,12 +269,12 @@ function As(e, t = {}) {
|
|
|
269
269
|
function T(r) {
|
|
270
270
|
return F(r, L);
|
|
271
271
|
}
|
|
272
|
-
function
|
|
272
|
+
function M(r) {
|
|
273
273
|
const o = r.charCodeAt(0);
|
|
274
274
|
return o >= 48 && o <= 57;
|
|
275
275
|
}
|
|
276
276
|
function Z(r) {
|
|
277
|
-
return F(r,
|
|
277
|
+
return F(r, M);
|
|
278
278
|
}
|
|
279
279
|
function x(r) {
|
|
280
280
|
const o = r.charCodeAt(0);
|
|
@@ -286,52 +286,52 @@ function As(e, t = {}) {
|
|
|
286
286
|
return F(r, x);
|
|
287
287
|
}
|
|
288
288
|
function W(r) {
|
|
289
|
-
let o = "",
|
|
289
|
+
let o = "", b = "";
|
|
290
290
|
for (; o = Z(r); )
|
|
291
|
-
|
|
292
|
-
return
|
|
291
|
+
b += o;
|
|
292
|
+
return b;
|
|
293
293
|
}
|
|
294
294
|
function X(r) {
|
|
295
295
|
let o = "";
|
|
296
296
|
for (; ; ) {
|
|
297
|
-
const
|
|
298
|
-
if (
|
|
297
|
+
const b = r.currentChar();
|
|
298
|
+
if (b === "{" || b === "}" || b === "@" || b === "|" || !b)
|
|
299
299
|
break;
|
|
300
|
-
if (
|
|
300
|
+
if (b === Te || b === fe)
|
|
301
301
|
if (D(r))
|
|
302
|
-
o +=
|
|
302
|
+
o += b, r.next();
|
|
303
303
|
else {
|
|
304
304
|
if (p(r))
|
|
305
305
|
break;
|
|
306
|
-
o +=
|
|
306
|
+
o += b, r.next();
|
|
307
307
|
}
|
|
308
308
|
else
|
|
309
|
-
o +=
|
|
309
|
+
o += b, r.next();
|
|
310
310
|
}
|
|
311
311
|
return o;
|
|
312
312
|
}
|
|
313
313
|
function ve(r) {
|
|
314
314
|
A(r);
|
|
315
|
-
let o = "",
|
|
315
|
+
let o = "", b = "";
|
|
316
316
|
for (; o = T(r); )
|
|
317
|
-
|
|
318
|
-
return r.currentChar() === Re && O(z.UNTERMINATED_CLOSING_BRACE, a(), 0),
|
|
317
|
+
b += o;
|
|
318
|
+
return r.currentChar() === Re && O(z.UNTERMINATED_CLOSING_BRACE, a(), 0), b;
|
|
319
319
|
}
|
|
320
320
|
function _e(r) {
|
|
321
321
|
A(r);
|
|
322
322
|
let o = "";
|
|
323
323
|
return r.currentChar() === "-" ? (r.next(), o += `-${W(r)}`) : o += W(r), r.currentChar() === Re && O(z.UNTERMINATED_CLOSING_BRACE, a(), 0), o;
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function we(r) {
|
|
326
326
|
return r !== sn && r !== fe;
|
|
327
327
|
}
|
|
328
328
|
function ne(r) {
|
|
329
329
|
A(r), V(r, "'");
|
|
330
|
-
let o = "",
|
|
331
|
-
for (; o = F(r,
|
|
332
|
-
o === "\\" ?
|
|
333
|
-
const
|
|
334
|
-
return
|
|
330
|
+
let o = "", b = "";
|
|
331
|
+
for (; o = F(r, we); )
|
|
332
|
+
o === "\\" ? b += Ee(r) : b += o;
|
|
333
|
+
const j = r.currentChar();
|
|
334
|
+
return j === fe || j === Re ? (O(z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), j === fe && (r.next(), V(r, "'")), b) : (V(r, "'"), b);
|
|
335
335
|
}
|
|
336
336
|
function Ee(r) {
|
|
337
337
|
const o = r.currentChar();
|
|
@@ -347,39 +347,39 @@ function As(e, t = {}) {
|
|
|
347
347
|
return O(z.UNKNOWN_ESCAPE_SEQUENCE, a(), 0, o), "";
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
|
-
function Je(r, o,
|
|
350
|
+
function Je(r, o, b) {
|
|
351
351
|
V(r, o);
|
|
352
|
-
let
|
|
353
|
-
for (let re = 0; re <
|
|
352
|
+
let j = "";
|
|
353
|
+
for (let re = 0; re < b; re++) {
|
|
354
354
|
const Y = G(r);
|
|
355
355
|
if (!Y) {
|
|
356
|
-
O(z.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${
|
|
356
|
+
O(z.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${j}${r.currentChar()}`);
|
|
357
357
|
break;
|
|
358
358
|
}
|
|
359
|
-
|
|
359
|
+
j += Y;
|
|
360
360
|
}
|
|
361
|
-
return `\\${o}${
|
|
361
|
+
return `\\${o}${j}`;
|
|
362
362
|
}
|
|
363
363
|
function $e(r) {
|
|
364
364
|
return r !== "{" && r !== "}" && r !== Te && r !== fe;
|
|
365
365
|
}
|
|
366
366
|
function vt(r) {
|
|
367
367
|
A(r);
|
|
368
|
-
let o = "",
|
|
368
|
+
let o = "", b = "";
|
|
369
369
|
for (; o = F(r, $e); )
|
|
370
|
-
|
|
371
|
-
return
|
|
370
|
+
b += o;
|
|
371
|
+
return b;
|
|
372
372
|
}
|
|
373
373
|
function Et(r) {
|
|
374
|
-
let o = "",
|
|
374
|
+
let o = "", b = "";
|
|
375
375
|
for (; o = ae(r); )
|
|
376
|
-
|
|
377
|
-
return
|
|
376
|
+
b += o;
|
|
377
|
+
return b;
|
|
378
378
|
}
|
|
379
379
|
function It(r) {
|
|
380
|
-
const o = (
|
|
381
|
-
const
|
|
382
|
-
return
|
|
380
|
+
const o = (b) => {
|
|
381
|
+
const j = r.currentChar();
|
|
382
|
+
return j === "{" || j === "@" || j === "|" || j === "(" || j === ")" || !j || j === Te ? b : (b += j, r.next(), o(b));
|
|
383
383
|
};
|
|
384
384
|
return o("");
|
|
385
385
|
}
|
|
@@ -393,55 +393,55 @@ function As(e, t = {}) {
|
|
|
393
393
|
return A(r), o;
|
|
394
394
|
}
|
|
395
395
|
function Ge(r, o) {
|
|
396
|
-
let
|
|
396
|
+
let b = null;
|
|
397
397
|
switch (r.currentChar()) {
|
|
398
398
|
case "{":
|
|
399
|
-
return o.braceNest >= 1 && O(z.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), r.next(),
|
|
399
|
+
return o.braceNest >= 1 && O(z.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), r.next(), b = I(
|
|
400
400
|
o,
|
|
401
401
|
2,
|
|
402
402
|
"{"
|
|
403
403
|
/* TokenChars.BraceLeft */
|
|
404
|
-
), A(r), o.braceNest++,
|
|
404
|
+
), A(r), o.braceNest++, b;
|
|
405
405
|
case "}":
|
|
406
|
-
return o.braceNest > 0 && o.currentType === 2 && O(z.EMPTY_PLACEHOLDER, a(), 0), r.next(),
|
|
406
|
+
return o.braceNest > 0 && o.currentType === 2 && O(z.EMPTY_PLACEHOLDER, a(), 0), r.next(), b = I(
|
|
407
407
|
o,
|
|
408
408
|
3,
|
|
409
409
|
"}"
|
|
410
410
|
/* TokenChars.BraceRight */
|
|
411
|
-
), o.braceNest--, o.braceNest > 0 && A(r), o.inLinked && o.braceNest === 0 && (o.inLinked = !1),
|
|
411
|
+
), o.braceNest--, o.braceNest > 0 && A(r), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), b;
|
|
412
412
|
case "@":
|
|
413
|
-
return o.braceNest > 0 && O(z.UNTERMINATED_CLOSING_BRACE, a(), 0),
|
|
413
|
+
return o.braceNest > 0 && O(z.UNTERMINATED_CLOSING_BRACE, a(), 0), b = We(r, o) || w(o), o.braceNest = 0, b;
|
|
414
414
|
default: {
|
|
415
415
|
let re = !0, Y = !0, _ = !0;
|
|
416
416
|
if (p(r))
|
|
417
|
-
return o.braceNest > 0 && O(z.UNTERMINATED_CLOSING_BRACE, a(), 0),
|
|
417
|
+
return o.braceNest > 0 && O(z.UNTERMINATED_CLOSING_BRACE, a(), 0), b = I(o, 1, ze(r)), o.braceNest = 0, o.inLinked = !1, b;
|
|
418
418
|
if (o.braceNest > 0 && (o.currentType === 4 || o.currentType === 5 || o.currentType === 6))
|
|
419
419
|
return O(z.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0, Ke(r, o);
|
|
420
|
-
if (re =
|
|
421
|
-
return
|
|
422
|
-
if (Y =
|
|
423
|
-
return
|
|
420
|
+
if (re = N(r, o))
|
|
421
|
+
return b = I(o, 4, ve(r)), A(r), b;
|
|
422
|
+
if (Y = h(r, o))
|
|
423
|
+
return b = I(o, 5, _e(r)), A(r), b;
|
|
424
424
|
if (_ = S(r, o))
|
|
425
|
-
return
|
|
425
|
+
return b = I(o, 6, ne(r)), A(r), b;
|
|
426
426
|
if (!re && !Y && !_)
|
|
427
|
-
return
|
|
427
|
+
return b = I(o, 12, vt(r)), O(z.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, b.value), A(r), b;
|
|
428
428
|
break;
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
|
-
return
|
|
431
|
+
return b;
|
|
432
432
|
}
|
|
433
433
|
function We(r, o) {
|
|
434
|
-
const { currentType:
|
|
435
|
-
let
|
|
434
|
+
const { currentType: b } = o;
|
|
435
|
+
let j = null;
|
|
436
436
|
const re = r.currentChar();
|
|
437
|
-
switch ((
|
|
437
|
+
switch ((b === 7 || b === 8 || b === 11 || b === 9) && (re === fe || re === Te) && O(z.INVALID_LINKED_FORMAT, a(), 0), re) {
|
|
438
438
|
case "@":
|
|
439
|
-
return r.next(),
|
|
439
|
+
return r.next(), j = I(
|
|
440
440
|
o,
|
|
441
441
|
7,
|
|
442
442
|
"@"
|
|
443
443
|
/* TokenChars.LinkedAlias */
|
|
444
|
-
), o.inLinked = !0,
|
|
444
|
+
), o.inLinked = !0, j;
|
|
445
445
|
case ".":
|
|
446
446
|
return A(r), r.next(), I(
|
|
447
447
|
o,
|
|
@@ -457,21 +457,21 @@ function As(e, t = {}) {
|
|
|
457
457
|
/* TokenChars.LinkedDelimiter */
|
|
458
458
|
);
|
|
459
459
|
default:
|
|
460
|
-
return p(r) ? (
|
|
460
|
+
return p(r) ? (j = I(o, 1, ze(r)), o.braceNest = 0, o.inLinked = !1, j) : R(r, o) || C(r, o) ? (A(r), We(r, o)) : m(r, o) ? (A(r), I(o, 11, Et(r))) : v(r, o) ? (A(r), re === "{" ? Ge(r, o) || j : I(o, 10, It(r))) : (b === 7 && O(z.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, Ke(r, o));
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
463
|
function Ke(r, o) {
|
|
464
|
-
let
|
|
464
|
+
let b = {
|
|
465
465
|
type: 13
|
|
466
466
|
/* TokenTypes.EOF */
|
|
467
467
|
};
|
|
468
468
|
if (o.braceNest > 0)
|
|
469
|
-
return Ge(r, o) ||
|
|
469
|
+
return Ge(r, o) || w(o);
|
|
470
470
|
if (o.inLinked)
|
|
471
|
-
return We(r, o) ||
|
|
471
|
+
return We(r, o) || w(o);
|
|
472
472
|
switch (r.currentChar()) {
|
|
473
473
|
case "{":
|
|
474
|
-
return Ge(r, o) ||
|
|
474
|
+
return Ge(r, o) || w(o);
|
|
475
475
|
case "}":
|
|
476
476
|
return O(z.UNBALANCED_CLOSING_BRACE, a(), 0), r.next(), I(
|
|
477
477
|
o,
|
|
@@ -480,34 +480,34 @@ function As(e, t = {}) {
|
|
|
480
480
|
/* TokenChars.BraceRight */
|
|
481
481
|
);
|
|
482
482
|
case "@":
|
|
483
|
-
return We(r, o) ||
|
|
483
|
+
return We(r, o) || w(o);
|
|
484
484
|
default: {
|
|
485
485
|
if (p(r))
|
|
486
|
-
return
|
|
486
|
+
return b = I(o, 1, ze(r)), o.braceNest = 0, o.inLinked = !1, b;
|
|
487
487
|
if (D(r))
|
|
488
488
|
return I(o, 0, X(r));
|
|
489
489
|
break;
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
|
-
return
|
|
492
|
+
return b;
|
|
493
493
|
}
|
|
494
|
-
function
|
|
495
|
-
const { currentType: r, offset: o, startLoc:
|
|
496
|
-
return u.lastType = r, u.lastOffset = o, u.lastStartLoc =
|
|
494
|
+
function Nt() {
|
|
495
|
+
const { currentType: r, offset: o, startLoc: b, endLoc: j } = u;
|
|
496
|
+
return u.lastType = r, u.lastOffset = o, u.lastStartLoc = b, u.lastEndLoc = j, u.offset = l(), u.startLoc = a(), s.currentChar() === Re ? I(
|
|
497
497
|
u,
|
|
498
498
|
13
|
|
499
499
|
/* TokenTypes.EOF */
|
|
500
500
|
) : Ke(s, u);
|
|
501
501
|
}
|
|
502
502
|
return {
|
|
503
|
-
nextToken:
|
|
503
|
+
nextToken: Nt,
|
|
504
504
|
currentOffset: l,
|
|
505
505
|
currentPosition: a,
|
|
506
|
-
context:
|
|
506
|
+
context: g
|
|
507
507
|
};
|
|
508
508
|
}
|
|
509
509
|
const Ss = "parser", Ds = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
|
|
510
|
-
function
|
|
510
|
+
function Ms(e, t, n) {
|
|
511
511
|
switch (e) {
|
|
512
512
|
case "\\\\":
|
|
513
513
|
return "\\";
|
|
@@ -519,89 +519,89 @@ function ws(e, t, n) {
|
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
|
-
function
|
|
522
|
+
function ws(e = {}) {
|
|
523
523
|
const t = e.location !== !1, { onError: n } = e;
|
|
524
|
-
function s(i, f,
|
|
524
|
+
function s(i, f, N, h, ...S) {
|
|
525
525
|
const R = i.currentPosition();
|
|
526
|
-
if (R.offset +=
|
|
527
|
-
const m = t ?
|
|
526
|
+
if (R.offset += h, R.column += h, n) {
|
|
527
|
+
const m = t ? Mt(N, R) : null, C = ht(f, m, {
|
|
528
528
|
domain: Ss,
|
|
529
529
|
args: S
|
|
530
530
|
});
|
|
531
531
|
n(C);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
|
-
function l(i, f,
|
|
535
|
-
const
|
|
536
|
-
return t && (
|
|
534
|
+
function l(i, f, N) {
|
|
535
|
+
const h = { type: i };
|
|
536
|
+
return t && (h.start = f, h.end = f, h.loc = { start: N, end: N }), h;
|
|
537
537
|
}
|
|
538
|
-
function a(i, f,
|
|
539
|
-
t && (i.end = f, i.loc && (i.loc.end =
|
|
538
|
+
function a(i, f, N, h) {
|
|
539
|
+
t && (i.end = f, i.loc && (i.loc.end = N));
|
|
540
540
|
}
|
|
541
541
|
function c(i, f) {
|
|
542
|
-
const
|
|
543
|
-
return
|
|
542
|
+
const N = i.context(), h = l(3, N.offset, N.startLoc);
|
|
543
|
+
return h.value = f, a(h, i.currentOffset(), i.currentPosition()), h;
|
|
544
544
|
}
|
|
545
545
|
function d(i, f) {
|
|
546
|
-
const
|
|
546
|
+
const N = i.context(), { lastOffset: h, lastStartLoc: S } = N, R = l(5, h, S);
|
|
547
547
|
return R.index = parseInt(f, 10), i.nextToken(), a(R, i.currentOffset(), i.currentPosition()), R;
|
|
548
548
|
}
|
|
549
549
|
function u(i, f) {
|
|
550
|
-
const
|
|
550
|
+
const N = i.context(), { lastOffset: h, lastStartLoc: S } = N, R = l(4, h, S);
|
|
551
551
|
return R.key = f, i.nextToken(), a(R, i.currentOffset(), i.currentPosition()), R;
|
|
552
552
|
}
|
|
553
|
-
function
|
|
554
|
-
const
|
|
555
|
-
return R.value = f.replace(Ds,
|
|
553
|
+
function g(i, f) {
|
|
554
|
+
const N = i.context(), { lastOffset: h, lastStartLoc: S } = N, R = l(9, h, S);
|
|
555
|
+
return R.value = f.replace(Ds, Ms), i.nextToken(), a(R, i.currentOffset(), i.currentPosition()), R;
|
|
556
556
|
}
|
|
557
557
|
function k(i) {
|
|
558
|
-
const f = i.nextToken(),
|
|
559
|
-
return f.type !== 11 ? (s(i, z.UNEXPECTED_EMPTY_LINKED_MODIFIER,
|
|
558
|
+
const f = i.nextToken(), N = i.context(), { lastOffset: h, lastStartLoc: S } = N, R = l(8, h, S);
|
|
559
|
+
return f.type !== 11 ? (s(i, z.UNEXPECTED_EMPTY_LINKED_MODIFIER, N.lastStartLoc, 0), R.value = "", a(R, h, S), {
|
|
560
560
|
nextConsumeToken: f,
|
|
561
561
|
node: R
|
|
562
|
-
}) : (f.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
562
|
+
}) : (f.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, N.lastStartLoc, 0, ke(f)), R.value = f.value || "", a(R, i.currentOffset(), i.currentPosition()), {
|
|
563
563
|
node: R
|
|
564
564
|
});
|
|
565
565
|
}
|
|
566
566
|
function O(i, f) {
|
|
567
|
-
const
|
|
568
|
-
return
|
|
567
|
+
const N = i.context(), h = l(7, N.offset, N.startLoc);
|
|
568
|
+
return h.value = f, a(h, i.currentOffset(), i.currentPosition()), h;
|
|
569
569
|
}
|
|
570
570
|
function I(i) {
|
|
571
|
-
const f = i.context(),
|
|
572
|
-
let
|
|
573
|
-
if (
|
|
571
|
+
const f = i.context(), N = l(6, f.offset, f.startLoc);
|
|
572
|
+
let h = i.nextToken();
|
|
573
|
+
if (h.type === 8) {
|
|
574
574
|
const S = k(i);
|
|
575
|
-
|
|
575
|
+
N.modifier = S.node, h = S.nextConsumeToken || i.nextToken();
|
|
576
576
|
}
|
|
577
|
-
switch (
|
|
577
|
+
switch (h.type !== 9 && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(h)), h = i.nextToken(), h.type === 2 && (h = i.nextToken()), h.type) {
|
|
578
578
|
case 10:
|
|
579
|
-
|
|
579
|
+
h.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(h)), N.key = O(i, h.value || "");
|
|
580
580
|
break;
|
|
581
581
|
case 4:
|
|
582
|
-
|
|
582
|
+
h.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(h)), N.key = u(i, h.value || "");
|
|
583
583
|
break;
|
|
584
584
|
case 5:
|
|
585
|
-
|
|
585
|
+
h.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(h)), N.key = d(i, h.value || "");
|
|
586
586
|
break;
|
|
587
587
|
case 6:
|
|
588
|
-
|
|
588
|
+
h.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(h)), N.key = g(i, h.value || "");
|
|
589
589
|
break;
|
|
590
590
|
default: {
|
|
591
591
|
s(i, z.UNEXPECTED_EMPTY_LINKED_KEY, f.lastStartLoc, 0);
|
|
592
592
|
const S = i.context(), R = l(7, S.offset, S.startLoc);
|
|
593
|
-
return R.value = "", a(R, S.offset, S.startLoc),
|
|
594
|
-
nextConsumeToken:
|
|
595
|
-
node:
|
|
593
|
+
return R.value = "", a(R, S.offset, S.startLoc), N.key = R, a(N, S.offset, S.startLoc), {
|
|
594
|
+
nextConsumeToken: h,
|
|
595
|
+
node: N
|
|
596
596
|
};
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
|
-
return a(
|
|
600
|
-
node:
|
|
599
|
+
return a(N, i.currentOffset(), i.currentPosition()), {
|
|
600
|
+
node: N
|
|
601
601
|
};
|
|
602
602
|
}
|
|
603
|
-
function
|
|
604
|
-
const f = i.context(),
|
|
603
|
+
function w(i) {
|
|
604
|
+
const f = i.context(), N = f.currentType === 1 ? i.currentOffset() : f.offset, h = f.currentType === 1 ? f.endLoc : f.startLoc, S = l(2, N, h);
|
|
605
605
|
S.items = [];
|
|
606
606
|
let R = null;
|
|
607
607
|
do {
|
|
@@ -617,7 +617,7 @@ function Ms(e = {}) {
|
|
|
617
617
|
v.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(v)), S.items.push(u(i, v.value || ""));
|
|
618
618
|
break;
|
|
619
619
|
case 6:
|
|
620
|
-
v.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(v)), S.items.push(
|
|
620
|
+
v.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(v)), S.items.push(g(i, v.value || ""));
|
|
621
621
|
break;
|
|
622
622
|
case 7: {
|
|
623
623
|
const p = I(i);
|
|
@@ -629,24 +629,24 @@ function Ms(e = {}) {
|
|
|
629
629
|
const m = f.currentType === 1 ? f.lastOffset : i.currentOffset(), C = f.currentType === 1 ? f.lastEndLoc : i.currentPosition();
|
|
630
630
|
return a(S, m, C), S;
|
|
631
631
|
}
|
|
632
|
-
function V(i, f,
|
|
632
|
+
function V(i, f, N, h) {
|
|
633
633
|
const S = i.context();
|
|
634
|
-
let R =
|
|
635
|
-
const m = l(1, f,
|
|
636
|
-
m.cases = [], m.cases.push(
|
|
634
|
+
let R = h.items.length === 0;
|
|
635
|
+
const m = l(1, f, N);
|
|
636
|
+
m.cases = [], m.cases.push(h);
|
|
637
637
|
do {
|
|
638
|
-
const C =
|
|
638
|
+
const C = w(i);
|
|
639
639
|
R || (R = C.items.length === 0), m.cases.push(C);
|
|
640
640
|
} while (S.currentType !== 13);
|
|
641
|
-
return R && s(i, z.MUST_HAVE_MESSAGES_IN_PLURAL,
|
|
641
|
+
return R && s(i, z.MUST_HAVE_MESSAGES_IN_PLURAL, N, 0), a(m, i.currentOffset(), i.currentPosition()), m;
|
|
642
642
|
}
|
|
643
|
-
function
|
|
644
|
-
const f = i.context(), { offset:
|
|
645
|
-
return f.currentType === 13 ? S : V(i,
|
|
643
|
+
function y(i) {
|
|
644
|
+
const f = i.context(), { offset: N, startLoc: h } = f, S = w(i);
|
|
645
|
+
return f.currentType === 13 ? S : V(i, N, h, S);
|
|
646
646
|
}
|
|
647
647
|
function A(i) {
|
|
648
|
-
const f = As(i, me({}, e)),
|
|
649
|
-
return t &&
|
|
648
|
+
const f = As(i, me({}, e)), N = f.context(), h = l(0, N.offset, N.startLoc);
|
|
649
|
+
return t && h.loc && (h.loc.source = i), h.body = y(f), e.onCacheKey && (h.cacheKey = e.onCacheKey(i)), N.currentType !== 13 && s(f, z.UNEXPECTED_LEXICAL_ANALYSIS, N.lastStartLoc, 0, i[N.offset] || ""), a(h, f.currentOffset(), f.currentPosition()), h;
|
|
650
650
|
}
|
|
651
651
|
return { parse: A };
|
|
652
652
|
}
|
|
@@ -665,9 +665,9 @@ function Ps(e, t = {}) {
|
|
|
665
665
|
}
|
|
666
666
|
function an(e, t) {
|
|
667
667
|
for (let n = 0; n < e.length; n++)
|
|
668
|
-
|
|
668
|
+
Ht(e[n], t);
|
|
669
669
|
}
|
|
670
|
-
function
|
|
670
|
+
function Ht(e, t) {
|
|
671
671
|
switch (e.type) {
|
|
672
672
|
case 1:
|
|
673
673
|
an(e.cases, t), t.helper(
|
|
@@ -679,7 +679,7 @@ function Bt(e, t) {
|
|
|
679
679
|
an(e.items, t);
|
|
680
680
|
break;
|
|
681
681
|
case 6: {
|
|
682
|
-
|
|
682
|
+
Ht(e.key, t), t.helper(
|
|
683
683
|
"linked"
|
|
684
684
|
/* HelperNameMap.LINKED */
|
|
685
685
|
), t.helper(
|
|
@@ -713,11 +713,11 @@ function Fs(e, t = {}) {
|
|
|
713
713
|
n.helper(
|
|
714
714
|
"normalize"
|
|
715
715
|
/* HelperNameMap.NORMALIZE */
|
|
716
|
-
), e.body &&
|
|
716
|
+
), e.body && Ht(e.body, n);
|
|
717
717
|
const s = n.context();
|
|
718
718
|
e.helpers = Array.from(s.helpers);
|
|
719
719
|
}
|
|
720
|
-
function
|
|
720
|
+
function js(e) {
|
|
721
721
|
const t = e.body;
|
|
722
722
|
return t.type === 2 ? rn(t) : t.cases.forEach((n) => rn(n)), e;
|
|
723
723
|
}
|
|
@@ -789,7 +789,7 @@ function Xe(e) {
|
|
|
789
789
|
}
|
|
790
790
|
delete e.type;
|
|
791
791
|
}
|
|
792
|
-
function
|
|
792
|
+
function Us(e, t) {
|
|
793
793
|
const { filename: n, breakLineCode: s, needIndent: l } = t, a = t.location !== !1, c = {
|
|
794
794
|
filename: n,
|
|
795
795
|
code: "",
|
|
@@ -803,23 +803,23 @@ function js(e, t) {
|
|
|
803
803
|
};
|
|
804
804
|
a && e.loc && (c.source = e.loc.source);
|
|
805
805
|
const d = () => c;
|
|
806
|
-
function u(
|
|
807
|
-
c.code +=
|
|
806
|
+
function u(y, A) {
|
|
807
|
+
c.code += y;
|
|
808
808
|
}
|
|
809
|
-
function
|
|
809
|
+
function g(y, A = !0) {
|
|
810
810
|
const i = A ? s : "";
|
|
811
|
-
u(l ? i + " ".repeat(
|
|
811
|
+
u(l ? i + " ".repeat(y) : i);
|
|
812
812
|
}
|
|
813
|
-
function k(
|
|
813
|
+
function k(y = !0) {
|
|
814
814
|
const A = ++c.indentLevel;
|
|
815
|
-
|
|
815
|
+
y && g(A);
|
|
816
816
|
}
|
|
817
|
-
function O(
|
|
817
|
+
function O(y = !0) {
|
|
818
818
|
const A = --c.indentLevel;
|
|
819
|
-
|
|
819
|
+
y && g(A);
|
|
820
820
|
}
|
|
821
821
|
function I() {
|
|
822
|
-
|
|
822
|
+
g(c.indentLevel);
|
|
823
823
|
}
|
|
824
824
|
return {
|
|
825
825
|
context: d,
|
|
@@ -827,7 +827,7 @@ function js(e, t) {
|
|
|
827
827
|
indent: k,
|
|
828
828
|
deindent: O,
|
|
829
829
|
newline: I,
|
|
830
|
-
helper: (
|
|
830
|
+
helper: (y) => `_${y}`,
|
|
831
831
|
needIndent: () => c.needIndent
|
|
832
832
|
};
|
|
833
833
|
}
|
|
@@ -916,39 +916,39 @@ const Xs = (e, t = {}) => {
|
|
|
916
916
|
const n = P(t.mode) ? t.mode : "normal", s = P(t.filename) ? t.filename : "message.intl";
|
|
917
917
|
t.sourceMap;
|
|
918
918
|
const l = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
|
|
919
|
-
`, a = t.needIndent ? t.needIndent : n !== "arrow", c = e.helpers || [], d =
|
|
919
|
+
`, a = t.needIndent ? t.needIndent : n !== "arrow", c = e.helpers || [], d = Us(e, {
|
|
920
920
|
filename: s,
|
|
921
921
|
breakLineCode: l,
|
|
922
922
|
needIndent: a
|
|
923
923
|
});
|
|
924
924
|
d.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), d.indent(a), c.length > 0 && (d.push(`const { ${Zt(c.map((k) => `${k}: _${k}`), ", ")} } = ctx`), d.newline()), d.push("return "), Ze(d, e), d.deindent(a), d.push("}"), delete e.helpers;
|
|
925
|
-
const { code: u, map:
|
|
925
|
+
const { code: u, map: g } = d.context();
|
|
926
926
|
return {
|
|
927
927
|
ast: e,
|
|
928
928
|
code: u,
|
|
929
|
-
map:
|
|
929
|
+
map: g ? g.toJSON() : void 0
|
|
930
930
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
931
931
|
};
|
|
932
932
|
};
|
|
933
933
|
function Ys(e, t = {}) {
|
|
934
|
-
const n = me({}, t), s = !!n.jit, l = !!n.minify, a = n.optimize == null ? !0 : n.optimize, d =
|
|
935
|
-
return s ? (a &&
|
|
934
|
+
const n = me({}, t), s = !!n.jit, l = !!n.minify, a = n.optimize == null ? !0 : n.optimize, d = ws(n).parse(e);
|
|
935
|
+
return s ? (a && js(d), l && Xe(d), { ast: d, code: "" }) : (Fs(d, n), Xs(d, n));
|
|
936
936
|
}
|
|
937
937
|
var Zs = { env: { NODE_ENV: "production" } };
|
|
938
|
-
function
|
|
939
|
-
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (
|
|
938
|
+
function Hs() {
|
|
939
|
+
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (je().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (je().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
940
940
|
}
|
|
941
941
|
function Ot(e) {
|
|
942
|
-
return (n) =>
|
|
942
|
+
return (n) => Bs(n, e);
|
|
943
943
|
}
|
|
944
|
-
function
|
|
944
|
+
function Bs(e, t) {
|
|
945
945
|
const n = $s(t);
|
|
946
946
|
if (n == null)
|
|
947
947
|
throw et(
|
|
948
948
|
0
|
|
949
949
|
/* NodeTypes.Resource */
|
|
950
950
|
);
|
|
951
|
-
if (
|
|
951
|
+
if (Bt(n) === 1) {
|
|
952
952
|
const a = Ks(n);
|
|
953
953
|
return e.plural(a.reduce((c, d) => [
|
|
954
954
|
...c,
|
|
@@ -970,7 +970,7 @@ function ln(e, t) {
|
|
|
970
970
|
if (n != null)
|
|
971
971
|
return e.type === "text" ? n : e.normalize([n]);
|
|
972
972
|
{
|
|
973
|
-
const s = ta(t).reduce((l, a) => [...l,
|
|
973
|
+
const s = ta(t).reduce((l, a) => [...l, wt(e, a)], []);
|
|
974
974
|
return e.normalize(s);
|
|
975
975
|
}
|
|
976
976
|
}
|
|
@@ -982,8 +982,8 @@ const ea = ["i", "items"];
|
|
|
982
982
|
function ta(e) {
|
|
983
983
|
return De(e, ea, []);
|
|
984
984
|
}
|
|
985
|
-
function
|
|
986
|
-
const n =
|
|
985
|
+
function wt(e, t) {
|
|
986
|
+
const n = Bt(t);
|
|
987
987
|
switch (n) {
|
|
988
988
|
case 3:
|
|
989
989
|
return lt(t, n);
|
|
@@ -991,23 +991,23 @@ function Mt(e, t) {
|
|
|
991
991
|
return lt(t, n);
|
|
992
992
|
case 4: {
|
|
993
993
|
const s = t;
|
|
994
|
-
if (
|
|
994
|
+
if (Ne(s, "k") && s.k)
|
|
995
995
|
return e.interpolate(e.named(s.k));
|
|
996
|
-
if (
|
|
996
|
+
if (Ne(s, "key") && s.key)
|
|
997
997
|
return e.interpolate(e.named(s.key));
|
|
998
998
|
throw et(n);
|
|
999
999
|
}
|
|
1000
1000
|
case 5: {
|
|
1001
1001
|
const s = t;
|
|
1002
|
-
if (
|
|
1002
|
+
if (Ne(s, "i") && ue(s.i))
|
|
1003
1003
|
return e.interpolate(e.list(s.i));
|
|
1004
|
-
if (
|
|
1004
|
+
if (Ne(s, "index") && ue(s.index))
|
|
1005
1005
|
return e.interpolate(e.list(s.index));
|
|
1006
1006
|
throw et(n);
|
|
1007
1007
|
}
|
|
1008
1008
|
case 6: {
|
|
1009
1009
|
const s = t, l = ra(s), a = oa(s);
|
|
1010
|
-
return e.linked(
|
|
1010
|
+
return e.linked(wt(e, a), l ? wt(e, l) : void 0, e.type);
|
|
1011
1011
|
}
|
|
1012
1012
|
case 7:
|
|
1013
1013
|
return lt(t, n);
|
|
@@ -1018,7 +1018,7 @@ function Mt(e, t) {
|
|
|
1018
1018
|
}
|
|
1019
1019
|
}
|
|
1020
1020
|
const na = ["t", "type"];
|
|
1021
|
-
function
|
|
1021
|
+
function Bt(e) {
|
|
1022
1022
|
return De(e, na);
|
|
1023
1023
|
}
|
|
1024
1024
|
const sa = ["v", "value"];
|
|
@@ -1045,7 +1045,7 @@ function oa(e) {
|
|
|
1045
1045
|
function De(e, t, n) {
|
|
1046
1046
|
for (let s = 0; s < t.length; s++) {
|
|
1047
1047
|
const l = t[s];
|
|
1048
|
-
if (
|
|
1048
|
+
if (Ne(e, l) && e[l] != null)
|
|
1049
1049
|
return e[l];
|
|
1050
1050
|
}
|
|
1051
1051
|
return n;
|
|
@@ -1055,12 +1055,12 @@ function et(e) {
|
|
|
1055
1055
|
}
|
|
1056
1056
|
const ia = (e) => e;
|
|
1057
1057
|
let ot = K();
|
|
1058
|
-
function
|
|
1059
|
-
return $(e) &&
|
|
1058
|
+
function He(e) {
|
|
1059
|
+
return $(e) && Bt(e) === 0 && (Ne(e, "b") || Ne(e, "body"));
|
|
1060
1060
|
}
|
|
1061
1061
|
function ca(e, t = {}) {
|
|
1062
1062
|
let n = !1;
|
|
1063
|
-
const s = t.onError ||
|
|
1063
|
+
const s = t.onError || ys;
|
|
1064
1064
|
return t.onError = (l) => {
|
|
1065
1065
|
n = !0, s(l);
|
|
1066
1066
|
}, { ...Ys(e, t), detectError: n };
|
|
@@ -1104,7 +1104,7 @@ function _a(e) {
|
|
|
1104
1104
|
return (t) => tt && tt.emit(e, t);
|
|
1105
1105
|
}
|
|
1106
1106
|
const Le = {
|
|
1107
|
-
INVALID_ARGUMENT:
|
|
1107
|
+
INVALID_ARGUMENT: Ns,
|
|
1108
1108
|
// 17
|
|
1109
1109
|
INVALID_DATE_ARGUMENT: 18,
|
|
1110
1110
|
INVALID_ISO_DATE_ARGUMENT: 19,
|
|
@@ -1113,7 +1113,7 @@ const Le = {
|
|
|
1113
1113
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
1114
1114
|
}, pa = 24;
|
|
1115
1115
|
function Ce(e) {
|
|
1116
|
-
return
|
|
1116
|
+
return ht(e, null, void 0);
|
|
1117
1117
|
}
|
|
1118
1118
|
function Jt(e, t) {
|
|
1119
1119
|
return t.locale != null ? on(t.locale) : on(e.locale);
|
|
@@ -1127,7 +1127,7 @@ function on(e) {
|
|
|
1127
1127
|
return Lt;
|
|
1128
1128
|
if (e.constructor.name === "Function") {
|
|
1129
1129
|
const t = e();
|
|
1130
|
-
if (
|
|
1130
|
+
if (bs(t))
|
|
1131
1131
|
throw Ce(Le.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
1132
1132
|
return Lt = t;
|
|
1133
1133
|
} else
|
|
@@ -1135,13 +1135,13 @@ function on(e) {
|
|
|
1135
1135
|
} else
|
|
1136
1136
|
throw Ce(Le.NOT_SUPPORT_LOCALE_TYPE);
|
|
1137
1137
|
}
|
|
1138
|
-
function
|
|
1138
|
+
function ha(e, t, n) {
|
|
1139
1139
|
return [.../* @__PURE__ */ new Set([
|
|
1140
1140
|
n,
|
|
1141
1141
|
...ie(t) ? t : $(t) ? Object.keys(t) : P(t) ? [t] : [n]
|
|
1142
1142
|
])];
|
|
1143
1143
|
}
|
|
1144
|
-
function
|
|
1144
|
+
function Mn(e, t, n) {
|
|
1145
1145
|
const s = P(n) ? n : ft, l = e;
|
|
1146
1146
|
l.__localeChainCache || (l.__localeChainCache = /* @__PURE__ */ new Map());
|
|
1147
1147
|
let a = l.__localeChainCache.get(s);
|
|
@@ -1159,20 +1159,20 @@ function cn(e, t, n) {
|
|
|
1159
1159
|
let s = !0;
|
|
1160
1160
|
for (let l = 0; l < t.length && oe(s); l++) {
|
|
1161
1161
|
const a = t[l];
|
|
1162
|
-
P(a) && (s =
|
|
1162
|
+
P(a) && (s = ga(e, t[l], n));
|
|
1163
1163
|
}
|
|
1164
1164
|
return s;
|
|
1165
1165
|
}
|
|
1166
|
-
function
|
|
1166
|
+
function ga(e, t, n) {
|
|
1167
1167
|
let s;
|
|
1168
1168
|
const l = t.split("-");
|
|
1169
1169
|
do {
|
|
1170
1170
|
const a = l.join("-");
|
|
1171
|
-
s =
|
|
1171
|
+
s = ba(e, a, n), l.splice(-1, 1);
|
|
1172
1172
|
} while (l.length && s === !0);
|
|
1173
1173
|
return s;
|
|
1174
1174
|
}
|
|
1175
|
-
function
|
|
1175
|
+
function ba(e, t, n) {
|
|
1176
1176
|
let s = !1;
|
|
1177
1177
|
if (!e.includes(t) && (s = !0, t)) {
|
|
1178
1178
|
s = t[t.length - 1] !== "!";
|
|
@@ -1181,8 +1181,8 @@ function ga(e, t, n) {
|
|
|
1181
1181
|
}
|
|
1182
1182
|
return s;
|
|
1183
1183
|
}
|
|
1184
|
-
const
|
|
1185
|
-
|
|
1184
|
+
const Me = [];
|
|
1185
|
+
Me[
|
|
1186
1186
|
0
|
|
1187
1187
|
/* States.BEFORE_PATH */
|
|
1188
1188
|
] = {
|
|
@@ -1204,7 +1204,7 @@ we[
|
|
|
1204
1204
|
/* States.AFTER_PATH */
|
|
1205
1205
|
]
|
|
1206
1206
|
};
|
|
1207
|
-
|
|
1207
|
+
Me[
|
|
1208
1208
|
1
|
|
1209
1209
|
/* States.IN_PATH */
|
|
1210
1210
|
] = {
|
|
@@ -1225,7 +1225,7 @@ we[
|
|
|
1225
1225
|
/* States.AFTER_PATH */
|
|
1226
1226
|
]
|
|
1227
1227
|
};
|
|
1228
|
-
|
|
1228
|
+
Me[
|
|
1229
1229
|
2
|
|
1230
1230
|
/* States.BEFORE_IDENT */
|
|
1231
1231
|
] = {
|
|
@@ -1244,7 +1244,7 @@ we[
|
|
|
1244
1244
|
/* Actions.APPEND */
|
|
1245
1245
|
]
|
|
1246
1246
|
};
|
|
1247
|
-
|
|
1247
|
+
Me[
|
|
1248
1248
|
3
|
|
1249
1249
|
/* States.IN_IDENT */
|
|
1250
1250
|
] = {
|
|
@@ -1279,7 +1279,7 @@ we[
|
|
|
1279
1279
|
/* Actions.PUSH */
|
|
1280
1280
|
]
|
|
1281
1281
|
};
|
|
1282
|
-
|
|
1282
|
+
Me[
|
|
1283
1283
|
4
|
|
1284
1284
|
/* States.IN_SUB_PATH */
|
|
1285
1285
|
] = {
|
|
@@ -1310,7 +1310,7 @@ we[
|
|
|
1310
1310
|
/* Actions.APPEND */
|
|
1311
1311
|
]
|
|
1312
1312
|
};
|
|
1313
|
-
|
|
1313
|
+
Me[
|
|
1314
1314
|
5
|
|
1315
1315
|
/* States.IN_SINGLE_QUOTE */
|
|
1316
1316
|
] = {
|
|
@@ -1326,7 +1326,7 @@ we[
|
|
|
1326
1326
|
/* Actions.APPEND */
|
|
1327
1327
|
]
|
|
1328
1328
|
};
|
|
1329
|
-
|
|
1329
|
+
Me[
|
|
1330
1330
|
6
|
|
1331
1331
|
/* States.IN_DOUBLE_QUOTE */
|
|
1332
1332
|
] = {
|
|
@@ -1350,7 +1350,7 @@ function Ia(e) {
|
|
|
1350
1350
|
const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
|
|
1351
1351
|
return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
|
|
1352
1352
|
}
|
|
1353
|
-
function
|
|
1353
|
+
function Na(e) {
|
|
1354
1354
|
if (e == null)
|
|
1355
1355
|
return "o";
|
|
1356
1356
|
switch (e.charCodeAt(0)) {
|
|
@@ -1375,13 +1375,13 @@ function ya(e) {
|
|
|
1375
1375
|
}
|
|
1376
1376
|
return "i";
|
|
1377
1377
|
}
|
|
1378
|
-
function
|
|
1378
|
+
function ya(e) {
|
|
1379
1379
|
const t = e.trim();
|
|
1380
1380
|
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Ea(t) ? Ia(t) : "*" + t;
|
|
1381
1381
|
}
|
|
1382
1382
|
function ka(e) {
|
|
1383
1383
|
const t = [];
|
|
1384
|
-
let n = -1, s = 0, l = 0, a, c, d, u,
|
|
1384
|
+
let n = -1, s = 0, l = 0, a, c, d, u, g, k, O;
|
|
1385
1385
|
const I = [];
|
|
1386
1386
|
I[
|
|
1387
1387
|
0
|
|
@@ -1411,7 +1411,7 @@ function ka(e) {
|
|
|
1411
1411
|
/* Actions.APPEND */
|
|
1412
1412
|
]();
|
|
1413
1413
|
else {
|
|
1414
|
-
if (l = 0, c === void 0 || (c =
|
|
1414
|
+
if (l = 0, c === void 0 || (c = ya(c), c === !1))
|
|
1415
1415
|
return !1;
|
|
1416
1416
|
I[
|
|
1417
1417
|
1
|
|
@@ -1419,7 +1419,7 @@ function ka(e) {
|
|
|
1419
1419
|
]();
|
|
1420
1420
|
}
|
|
1421
1421
|
};
|
|
1422
|
-
function
|
|
1422
|
+
function w() {
|
|
1423
1423
|
const V = e[n + 1];
|
|
1424
1424
|
if (s === 5 && V === "'" || s === 6 && V === '"')
|
|
1425
1425
|
return n++, d = "\\" + V, I[
|
|
@@ -1428,8 +1428,8 @@ function ka(e) {
|
|
|
1428
1428
|
](), !0;
|
|
1429
1429
|
}
|
|
1430
1430
|
for (; s !== null; )
|
|
1431
|
-
if (n++, a = e[n], !(a === "\\" &&
|
|
1432
|
-
if (u =
|
|
1431
|
+
if (n++, a = e[n], !(a === "\\" && w())) {
|
|
1432
|
+
if (u = Na(a), O = Me[s], g = O[u] || O.l || 8, g === 8 || (s = g[0], g[1] !== void 0 && (k = I[g[1]], k && (d = a, k() === !1))))
|
|
1433
1433
|
return;
|
|
1434
1434
|
if (s === 7)
|
|
1435
1435
|
return t;
|
|
@@ -1455,7 +1455,7 @@ function Oa(e, t) {
|
|
|
1455
1455
|
}
|
|
1456
1456
|
return l;
|
|
1457
1457
|
}
|
|
1458
|
-
const La = "10.0.5",
|
|
1458
|
+
const La = "10.0.5", gt = -1, ft = "en-US", mn = "", dn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1459
1459
|
function Ca() {
|
|
1460
1460
|
return {
|
|
1461
1461
|
upper: (e, t) => t === "text" && P(e) ? e.toUpperCase() : t === "vnode" && $(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
@@ -1463,9 +1463,9 @@ function Ca() {
|
|
|
1463
1463
|
capitalize: (e, t) => t === "text" && P(e) ? dn(e) : t === "vnode" && $(e) && "__v_isVNode" in e ? dn(e.children) : e
|
|
1464
1464
|
};
|
|
1465
1465
|
}
|
|
1466
|
-
let
|
|
1466
|
+
let wn;
|
|
1467
1467
|
function Ra(e) {
|
|
1468
|
-
|
|
1468
|
+
wn = e;
|
|
1469
1469
|
}
|
|
1470
1470
|
let Pn;
|
|
1471
1471
|
function Aa(e) {
|
|
@@ -1475,17 +1475,17 @@ let Fn;
|
|
|
1475
1475
|
function Sa(e) {
|
|
1476
1476
|
Fn = e;
|
|
1477
1477
|
}
|
|
1478
|
-
let Un = null;
|
|
1479
|
-
const Da = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
1480
|
-
Un = e;
|
|
1481
|
-
}, wa = /* @__NO_SIDE_EFFECTS__ */ () => Un;
|
|
1482
1478
|
let jn = null;
|
|
1483
|
-
const
|
|
1479
|
+
const Da = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
1484
1480
|
jn = e;
|
|
1485
|
-
}, Ma = () => jn;
|
|
1481
|
+
}, Ma = /* @__NO_SIDE_EFFECTS__ */ () => jn;
|
|
1482
|
+
let Un = null;
|
|
1483
|
+
const fn = (e) => {
|
|
1484
|
+
Un = e;
|
|
1485
|
+
}, wa = () => Un;
|
|
1486
1486
|
let _n = 0;
|
|
1487
1487
|
function Pa(e = {}) {
|
|
1488
|
-
const t = se(e.onWarn) ? e.onWarn : Es, n = P(e.version) ? e.version : La, s = P(e.locale) || se(e.locale) ? e.locale : ft, l = se(s) ? ft : s, a = ie(e.fallbackLocale) || J(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = J(e.messages) ? e.messages : Ct(l), d = J(e.datetimeFormats) ? e.datetimeFormats : Ct(l), u = J(e.numberFormats) ? e.numberFormats : Ct(l),
|
|
1488
|
+
const t = se(e.onWarn) ? e.onWarn : Es, n = P(e.version) ? e.version : La, s = P(e.locale) || se(e.locale) ? e.locale : ft, l = se(s) ? ft : s, a = ie(e.fallbackLocale) || J(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = J(e.messages) ? e.messages : Ct(l), d = J(e.datetimeFormats) ? e.datetimeFormats : Ct(l), u = J(e.numberFormats) ? e.numberFormats : Ct(l), g = me(K(), e.modifiers, Ca()), k = e.pluralRules || K(), O = se(e.missing) ? e.missing : null, I = oe(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, w = oe(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, V = !!e.fallbackFormat, y = !!e.unresolving, A = se(e.postTranslation) ? e.postTranslation : null, i = J(e.processor) ? e.processor : null, f = oe(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, N = !!e.escapeParameter, h = se(e.messageCompiler) ? e.messageCompiler : wn, S = se(e.messageResolver) ? e.messageResolver : Pn || Ta, R = se(e.localeFallbacker) ? e.localeFallbacker : Fn || ha, m = $(e.fallbackContext) ? e.fallbackContext : void 0, C = e, v = $(C.__datetimeFormatters) ? C.__datetimeFormatters : /* @__PURE__ */ new Map(), p = $(C.__numberFormatters) ? C.__numberFormatters : /* @__PURE__ */ new Map(), D = $(C.__meta) ? C.__meta : {};
|
|
1489
1489
|
_n++;
|
|
1490
1490
|
const F = {
|
|
1491
1491
|
version: n,
|
|
@@ -1493,18 +1493,18 @@ function Pa(e = {}) {
|
|
|
1493
1493
|
locale: s,
|
|
1494
1494
|
fallbackLocale: a,
|
|
1495
1495
|
messages: c,
|
|
1496
|
-
modifiers:
|
|
1496
|
+
modifiers: g,
|
|
1497
1497
|
pluralRules: k,
|
|
1498
1498
|
missing: O,
|
|
1499
1499
|
missingWarn: I,
|
|
1500
|
-
fallbackWarn:
|
|
1500
|
+
fallbackWarn: w,
|
|
1501
1501
|
fallbackFormat: V,
|
|
1502
|
-
unresolving:
|
|
1502
|
+
unresolving: y,
|
|
1503
1503
|
postTranslation: A,
|
|
1504
1504
|
processor: i,
|
|
1505
1505
|
warnHtmlMessage: f,
|
|
1506
|
-
escapeParameter:
|
|
1507
|
-
messageCompiler:
|
|
1506
|
+
escapeParameter: N,
|
|
1507
|
+
messageCompiler: h,
|
|
1508
1508
|
messageResolver: S,
|
|
1509
1509
|
localeFallbacker: R,
|
|
1510
1510
|
fallbackContext: m,
|
|
@@ -1529,7 +1529,7 @@ function Qe(e, t, n) {
|
|
|
1529
1529
|
function Fa(e, t) {
|
|
1530
1530
|
return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
|
|
1531
1531
|
}
|
|
1532
|
-
function
|
|
1532
|
+
function ja(e, t) {
|
|
1533
1533
|
const n = t.indexOf(e);
|
|
1534
1534
|
if (n === -1)
|
|
1535
1535
|
return !1;
|
|
@@ -1539,26 +1539,26 @@ function Ua(e, t) {
|
|
|
1539
1539
|
return !1;
|
|
1540
1540
|
}
|
|
1541
1541
|
function pn(e, ...t) {
|
|
1542
|
-
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __datetimeFormatters: d } = e, [u,
|
|
1542
|
+
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __datetimeFormatters: d } = e, [u, g, k, O] = Pt(...t), I = oe(k.missingWarn) ? k.missingWarn : e.missingWarn;
|
|
1543
1543
|
oe(k.fallbackWarn) ? k.fallbackWarn : e.fallbackWarn;
|
|
1544
|
-
const
|
|
1544
|
+
const w = !!k.part, V = Jt(e, k), y = c(
|
|
1545
1545
|
e,
|
|
1546
1546
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1547
1547
|
l,
|
|
1548
1548
|
V
|
|
1549
1549
|
);
|
|
1550
1550
|
if (!P(u) || u === "")
|
|
1551
|
-
return new Intl.DateTimeFormat(V, O).format(
|
|
1551
|
+
return new Intl.DateTimeFormat(V, O).format(g);
|
|
1552
1552
|
let A = {}, i, f = null;
|
|
1553
|
-
const
|
|
1554
|
-
for (let R = 0; R <
|
|
1555
|
-
$t(e, u, i, I,
|
|
1553
|
+
const N = "datetime format";
|
|
1554
|
+
for (let R = 0; R < y.length && (i = y[R], A = n[i] || {}, f = A[u], !J(f)); R++)
|
|
1555
|
+
$t(e, u, i, I, N);
|
|
1556
1556
|
if (!J(f) || !P(i))
|
|
1557
|
-
return s ?
|
|
1558
|
-
let
|
|
1559
|
-
pt(O) || (
|
|
1560
|
-
let S = d.get(
|
|
1561
|
-
return S || (S = new Intl.DateTimeFormat(i, me({}, f, O)), d.set(
|
|
1557
|
+
return s ? gt : u;
|
|
1558
|
+
let h = `${i}__${u}`;
|
|
1559
|
+
pt(O) || (h = `${h}__${JSON.stringify(O)}`);
|
|
1560
|
+
let S = d.get(h);
|
|
1561
|
+
return S || (S = new Intl.DateTimeFormat(i, me({}, f, O)), d.set(h, S)), w ? S.formatToParts(g) : S.format(g);
|
|
1562
1562
|
}
|
|
1563
1563
|
const Vn = [
|
|
1564
1564
|
"localeMatcher",
|
|
@@ -1589,8 +1589,8 @@ function Pt(...e) {
|
|
|
1589
1589
|
const u = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
1590
1590
|
if (!u)
|
|
1591
1591
|
throw Ce(Le.INVALID_ISO_DATE_ARGUMENT);
|
|
1592
|
-
const
|
|
1593
|
-
d = new Date(
|
|
1592
|
+
const g = u[3] ? u[3].trim().startsWith("T") ? `${u[1].trim()}${u[3].trim()}` : `${u[1].trim()}T${u[3].trim()}` : u[1].trim();
|
|
1593
|
+
d = new Date(g);
|
|
1594
1594
|
try {
|
|
1595
1595
|
d.toISOString();
|
|
1596
1596
|
} catch {
|
|
@@ -1608,34 +1608,34 @@ function Pt(...e) {
|
|
|
1608
1608
|
Vn.includes(u) ? c[u] = n[u] : a[u] = n[u];
|
|
1609
1609
|
}), P(s) ? a.locale = s : J(s) && (c = s), J(l) && (c = l), [a.key || "", d, a, c];
|
|
1610
1610
|
}
|
|
1611
|
-
function
|
|
1611
|
+
function hn(e, t, n) {
|
|
1612
1612
|
const s = e;
|
|
1613
1613
|
for (const l in n) {
|
|
1614
1614
|
const a = `${t}__${l}`;
|
|
1615
1615
|
s.__datetimeFormatters.has(a) && s.__datetimeFormatters.delete(a);
|
|
1616
1616
|
}
|
|
1617
1617
|
}
|
|
1618
|
-
function
|
|
1619
|
-
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __numberFormatters: d } = e, [u,
|
|
1618
|
+
function gn(e, ...t) {
|
|
1619
|
+
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __numberFormatters: d } = e, [u, g, k, O] = Ft(...t), I = oe(k.missingWarn) ? k.missingWarn : e.missingWarn;
|
|
1620
1620
|
oe(k.fallbackWarn) ? k.fallbackWarn : e.fallbackWarn;
|
|
1621
|
-
const
|
|
1621
|
+
const w = !!k.part, V = Jt(e, k), y = c(
|
|
1622
1622
|
e,
|
|
1623
1623
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1624
1624
|
l,
|
|
1625
1625
|
V
|
|
1626
1626
|
);
|
|
1627
1627
|
if (!P(u) || u === "")
|
|
1628
|
-
return new Intl.NumberFormat(V, O).format(
|
|
1628
|
+
return new Intl.NumberFormat(V, O).format(g);
|
|
1629
1629
|
let A = {}, i, f = null;
|
|
1630
|
-
const
|
|
1631
|
-
for (let R = 0; R <
|
|
1632
|
-
$t(e, u, i, I,
|
|
1630
|
+
const N = "number format";
|
|
1631
|
+
for (let R = 0; R < y.length && (i = y[R], A = n[i] || {}, f = A[u], !J(f)); R++)
|
|
1632
|
+
$t(e, u, i, I, N);
|
|
1633
1633
|
if (!J(f) || !P(i))
|
|
1634
|
-
return s ?
|
|
1635
|
-
let
|
|
1636
|
-
pt(O) || (
|
|
1637
|
-
let S = d.get(
|
|
1638
|
-
return S || (S = new Intl.NumberFormat(i, me({}, f, O)), d.set(
|
|
1634
|
+
return s ? gt : u;
|
|
1635
|
+
let h = `${i}__${u}`;
|
|
1636
|
+
pt(O) || (h = `${h}__${JSON.stringify(O)}`);
|
|
1637
|
+
let S = d.get(h);
|
|
1638
|
+
return S || (S = new Intl.NumberFormat(i, me({}, f, O)), d.set(h, S)), w ? S.formatToParts(g) : S.format(g);
|
|
1639
1639
|
}
|
|
1640
1640
|
const Gn = [
|
|
1641
1641
|
"localeMatcher",
|
|
@@ -1669,14 +1669,14 @@ function Ft(...e) {
|
|
|
1669
1669
|
Gn.includes(u) ? c[u] = n[u] : a[u] = n[u];
|
|
1670
1670
|
}), P(s) ? a.locale = s : J(s) && (c = s), J(l) && (c = l), [a.key || "", d, a, c];
|
|
1671
1671
|
}
|
|
1672
|
-
function
|
|
1672
|
+
function bn(e, t, n) {
|
|
1673
1673
|
const s = e;
|
|
1674
1674
|
for (const l in n) {
|
|
1675
1675
|
const a = `${t}__${l}`;
|
|
1676
1676
|
s.__numberFormatters.has(a) && s.__numberFormatters.delete(a);
|
|
1677
1677
|
}
|
|
1678
1678
|
}
|
|
1679
|
-
const
|
|
1679
|
+
const Ua = (e) => e, Va = (e) => "", Ga = "text", Wa = (e) => e.length === 0 ? "" : Zt(e), xa = vs;
|
|
1680
1680
|
function vn(e, t) {
|
|
1681
1681
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1682
1682
|
}
|
|
@@ -1690,19 +1690,19 @@ function Ya(e, t) {
|
|
|
1690
1690
|
function Za(e = {}) {
|
|
1691
1691
|
const t = e.locale, n = Xa(e), s = $(e.pluralRules) && P(t) && se(e.pluralRules[t]) ? e.pluralRules[t] : vn, l = $(e.pluralRules) && P(t) && se(e.pluralRules[t]) ? vn : void 0, a = (i) => i[s(n, i.length, l)], c = e.list || [], d = (i) => c[i], u = e.named || K();
|
|
1692
1692
|
ue(e.pluralIndex) && Ya(n, u);
|
|
1693
|
-
const
|
|
1693
|
+
const g = (i) => u[i];
|
|
1694
1694
|
function k(i, f) {
|
|
1695
|
-
const
|
|
1696
|
-
return
|
|
1695
|
+
const N = se(e.messages) ? e.messages(i, !!f) : $(e.messages) ? e.messages[i] : !1;
|
|
1696
|
+
return N || (e.parent ? e.parent.message(i) : Va);
|
|
1697
1697
|
}
|
|
1698
|
-
const O = (i) => e.modifiers ? e.modifiers[i] :
|
|
1698
|
+
const O = (i) => e.modifiers ? e.modifiers[i] : Ua, I = J(e.processor) && se(e.processor.normalize) ? e.processor.normalize : Wa, w = J(e.processor) && se(e.processor.interpolate) ? e.processor.interpolate : xa, V = J(e.processor) && P(e.processor.type) ? e.processor.type : Ga, A = {
|
|
1699
1699
|
list: d,
|
|
1700
|
-
named:
|
|
1700
|
+
named: g,
|
|
1701
1701
|
plural: a,
|
|
1702
1702
|
linked: (i, ...f) => {
|
|
1703
|
-
const [
|
|
1703
|
+
const [N, h] = f;
|
|
1704
1704
|
let S = "text", R = "";
|
|
1705
|
-
f.length === 1 ? $(
|
|
1705
|
+
f.length === 1 ? $(N) ? (R = N.modifier || R, S = N.type || S) : P(N) && (R = N || R) : f.length === 2 && (P(N) && (R = N || R), P(h) && (S = h || S));
|
|
1706
1706
|
const m = k(i, !0)(A), C = (
|
|
1707
1707
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1708
1708
|
S === "vnode" && ie(m) && R ? m[0] : m
|
|
@@ -1711,53 +1711,53 @@ function Za(e = {}) {
|
|
|
1711
1711
|
},
|
|
1712
1712
|
message: k,
|
|
1713
1713
|
type: V,
|
|
1714
|
-
interpolate:
|
|
1714
|
+
interpolate: w,
|
|
1715
1715
|
normalize: I,
|
|
1716
1716
|
values: me(K(), c, u)
|
|
1717
1717
|
};
|
|
1718
1718
|
return A;
|
|
1719
1719
|
}
|
|
1720
|
-
const En = () => "",
|
|
1720
|
+
const En = () => "", be = (e) => se(e);
|
|
1721
1721
|
function In(e, ...t) {
|
|
1722
|
-
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: d } = e, [u,
|
|
1723
|
-
I &&
|
|
1724
|
-
let [i, f,
|
|
1722
|
+
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: d } = e, [u, g] = jt(...t), k = oe(g.missingWarn) ? g.missingWarn : e.missingWarn, O = oe(g.fallbackWarn) ? g.fallbackWarn : e.fallbackWarn, I = oe(g.escapeParameter) ? g.escapeParameter : e.escapeParameter, w = !!g.resolvedMessage, V = P(g.default) || oe(g.default) ? oe(g.default) ? a ? u : () => u : g.default : n ? a ? u : () => u : null, y = n || V != null && (P(V) || se(V)), A = Jt(e, g);
|
|
1723
|
+
I && Ha(g);
|
|
1724
|
+
let [i, f, N] = w ? [
|
|
1725
1725
|
u,
|
|
1726
1726
|
A,
|
|
1727
1727
|
d[A] || K()
|
|
1728
|
-
] : Wn(e, u, A, c, O, k),
|
|
1729
|
-
if (!
|
|
1730
|
-
return l ?
|
|
1728
|
+
] : Wn(e, u, A, c, O, k), h = i, S = u;
|
|
1729
|
+
if (!w && !(P(h) || He(h) || be(h)) && y && (h = V, S = h), !w && (!(P(h) || He(h) || be(h)) || !P(f)))
|
|
1730
|
+
return l ? gt : u;
|
|
1731
1731
|
let R = !1;
|
|
1732
1732
|
const m = () => {
|
|
1733
1733
|
R = !0;
|
|
1734
|
-
}, C =
|
|
1734
|
+
}, C = be(h) ? h : xn(e, u, f, h, S, m);
|
|
1735
1735
|
if (R)
|
|
1736
|
-
return
|
|
1737
|
-
const v = $a(e, f,
|
|
1736
|
+
return h;
|
|
1737
|
+
const v = $a(e, f, N, g), p = Za(v), D = Ba(e, C, p), F = s ? s(D, u) : D;
|
|
1738
1738
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1739
|
-
const
|
|
1739
|
+
const U = {
|
|
1740
1740
|
timestamp: Date.now(),
|
|
1741
|
-
key: P(u) ? u :
|
|
1742
|
-
locale: f || (
|
|
1743
|
-
format: P(
|
|
1741
|
+
key: P(u) ? u : be(h) ? h.key : "",
|
|
1742
|
+
locale: f || (be(h) ? h.locale : ""),
|
|
1743
|
+
format: P(h) ? h : be(h) ? h.source : "",
|
|
1744
1744
|
message: F
|
|
1745
1745
|
};
|
|
1746
|
-
|
|
1746
|
+
U.meta = me({}, e.__meta, /* @__PURE__ */ Ma() || {}), fa(U);
|
|
1747
1747
|
}
|
|
1748
1748
|
return F;
|
|
1749
1749
|
}
|
|
1750
|
-
function
|
|
1750
|
+
function Ha(e) {
|
|
1751
1751
|
ie(e.list) ? e.list = e.list.map((t) => P(t) ? nn(t) : t) : $(e.named) && Object.keys(e.named).forEach((t) => {
|
|
1752
1752
|
P(e.named[t]) && (e.named[t] = nn(e.named[t]));
|
|
1753
1753
|
});
|
|
1754
1754
|
}
|
|
1755
1755
|
function Wn(e, t, n, s, l, a) {
|
|
1756
|
-
const { messages: c, onWarn: d, messageResolver: u, localeFallbacker:
|
|
1757
|
-
let O = K(), I,
|
|
1756
|
+
const { messages: c, onWarn: d, messageResolver: u, localeFallbacker: g } = e, k = g(e, s, n);
|
|
1757
|
+
let O = K(), I, w = null;
|
|
1758
1758
|
const V = "translate";
|
|
1759
|
-
for (let
|
|
1760
|
-
if (!
|
|
1759
|
+
for (let y = 0; y < k.length && (I = k[y], O = c[I] || K(), (w = u(O, t)) === null && (w = O[t]), !(P(w) || He(w) || be(w))); y++)
|
|
1760
|
+
if (!ja(I, k)) {
|
|
1761
1761
|
const A = $t(
|
|
1762
1762
|
e,
|
|
1763
1763
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
@@ -1766,31 +1766,31 @@ function Wn(e, t, n, s, l, a) {
|
|
|
1766
1766
|
a,
|
|
1767
1767
|
V
|
|
1768
1768
|
);
|
|
1769
|
-
A !== t && (
|
|
1769
|
+
A !== t && (w = A);
|
|
1770
1770
|
}
|
|
1771
|
-
return [
|
|
1771
|
+
return [w, I, O];
|
|
1772
1772
|
}
|
|
1773
1773
|
function xn(e, t, n, s, l, a) {
|
|
1774
1774
|
const { messageCompiler: c, warnHtmlMessage: d } = e;
|
|
1775
|
-
if (
|
|
1776
|
-
const
|
|
1777
|
-
return
|
|
1775
|
+
if (be(s)) {
|
|
1776
|
+
const g = s;
|
|
1777
|
+
return g.locale = g.locale || n, g.key = g.key || t, g;
|
|
1778
1778
|
}
|
|
1779
1779
|
if (c == null) {
|
|
1780
|
-
const
|
|
1781
|
-
return
|
|
1780
|
+
const g = () => s;
|
|
1781
|
+
return g.locale = n, g.key = t, g;
|
|
1782
1782
|
}
|
|
1783
1783
|
const u = c(s, Ja(e, n, l, s, d, a));
|
|
1784
1784
|
return u.locale = n, u.key = t, u.source = s, u;
|
|
1785
1785
|
}
|
|
1786
|
-
function
|
|
1786
|
+
function Ba(e, t, n) {
|
|
1787
1787
|
return t(n);
|
|
1788
1788
|
}
|
|
1789
|
-
function
|
|
1789
|
+
function jt(...e) {
|
|
1790
1790
|
const [t, n, s] = e, l = K();
|
|
1791
|
-
if (!P(t) && !ue(t) && !
|
|
1791
|
+
if (!P(t) && !ue(t) && !be(t) && !He(t))
|
|
1792
1792
|
throw Ce(Le.INVALID_ARGUMENT);
|
|
1793
|
-
const a = ue(t) ? String(t) : (
|
|
1793
|
+
const a = ue(t) ? String(t) : (be(t), t);
|
|
1794
1794
|
return ue(n) ? l.plural = n : P(n) ? l.default = n : J(n) && !pt(n) ? l.named = n : ie(n) && (l.list = n), ue(s) ? l.plural = s : P(s) ? l.default = s : J(s) && me(l, s), [a, l];
|
|
1795
1795
|
}
|
|
1796
1796
|
function Ja(e, t, n, s, l, a) {
|
|
@@ -1805,42 +1805,42 @@ function Ja(e, t, n, s, l, a) {
|
|
|
1805
1805
|
};
|
|
1806
1806
|
}
|
|
1807
1807
|
function $a(e, t, n, s) {
|
|
1808
|
-
const { modifiers: l, pluralRules: a, messageResolver: c, fallbackLocale: d, fallbackWarn: u, missingWarn:
|
|
1808
|
+
const { modifiers: l, pluralRules: a, messageResolver: c, fallbackLocale: d, fallbackWarn: u, missingWarn: g, fallbackContext: k } = e, I = {
|
|
1809
1809
|
locale: t,
|
|
1810
1810
|
modifiers: l,
|
|
1811
1811
|
pluralRules: a,
|
|
1812
|
-
messages: (
|
|
1813
|
-
let
|
|
1814
|
-
if (
|
|
1812
|
+
messages: (w, V) => {
|
|
1813
|
+
let y = c(n, w);
|
|
1814
|
+
if (y == null && (k || V)) {
|
|
1815
1815
|
const [, , A] = Wn(
|
|
1816
1816
|
k || e,
|
|
1817
1817
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1818
|
-
|
|
1818
|
+
w,
|
|
1819
1819
|
t,
|
|
1820
1820
|
d,
|
|
1821
1821
|
u,
|
|
1822
|
-
|
|
1822
|
+
g
|
|
1823
1823
|
);
|
|
1824
|
-
|
|
1824
|
+
y = c(A, w);
|
|
1825
1825
|
}
|
|
1826
|
-
if (P(
|
|
1826
|
+
if (P(y) || He(y)) {
|
|
1827
1827
|
let A = !1;
|
|
1828
|
-
const f = xn(e,
|
|
1828
|
+
const f = xn(e, w, t, y, w, () => {
|
|
1829
1829
|
A = !0;
|
|
1830
1830
|
});
|
|
1831
1831
|
return A ? En : f;
|
|
1832
|
-
} else return
|
|
1832
|
+
} else return be(y) ? y : En;
|
|
1833
1833
|
}
|
|
1834
1834
|
};
|
|
1835
1835
|
return e.processor && (I.processor = e.processor), s.list && (I.list = s.list), s.named && (I.named = s.named), ue(s.plural) && (I.pluralIndex = s.plural), I;
|
|
1836
1836
|
}
|
|
1837
|
-
|
|
1838
|
-
var za = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_4a7a8c70-19e3-43e7-b38a-32eddf45bd06", 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_4a7a8c70-19e3-43e7-b38a-32eddf45bd06", 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: "1882", ACTIONS_ORCHESTRATION_ID: "89e43787-e4ab-432f-b430-3854aa0bfeb9.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.10.4", 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: "20260413.86.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:15531", 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.9/x64", GITHUB_RUN_ID: "25651587832", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "56b5b66b4ba6fa41c5384cb7fb50ce29c90308e4", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/feat/add-export-audit-log", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L2FkZC1leHBvcnQtYXVkaXQtbG9nXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzc4NDk4NTE1LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3Nzg0NzYzMTUsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiI2MzA4NDVlOS1iZWI5LTViODYtOWJiNC04MGIwYmE4ZTVmMGYiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3Nzg0NzYwMTUsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwiQ2FzdGEtbWVyZVwiLFwiYWN0b3JfaWRcIjpcIjgyMjk4MDE3XCIsXCJiYXNlX3JlZlwiOlwiXCIsXCJjaGVja19ydW5faWRcIjpcIjc1MjkwNzg3MTc1XCIsXCJldmVudF9uYW1lXCI6XCJ3b3JrZmxvd19kaXNwYXRjaFwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiam9iX3dvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2FjdGlvbnMvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ucG0tZ2l0aHViLnlhbWxAcmVmcy9oZWFkcy9tYWluXCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCJjN2IwMjNkNmIzODE0MTllMzJhZGMwYzc3YmJmODJhZmM2MzgxMDk5XCIsXCJyZWZcIjpcInJlZnMvaGVhZHMvZmVhdC9hZGQtZXhwb3J0LWF1ZGl0LWxvZ1wiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiMTEyNDY3MjIzNVwiLFwicmVwb3NpdG9yeV9vd25lclwiOlwiZmVlZG1lcG9zXCIsXCJyZXBvc2l0b3J5X293bmVyX2lkXCI6XCI1NDgzMTUxNVwiLFwicmVwb3NpdG9yeV92aXNpYmlsaXR5XCI6XCJwcml2YXRlXCIsXCJydW5fYXR0ZW1wdFwiOlwiMVwiLFwicnVuX2lkXCI6XCIyNTY1MTU4NzgzMlwiLFwicnVuX251bWJlclwiOlwiNzVcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCI1NmI1YjY2YjRiYTZmYTQxYzUzODRjYjdmYjUwY2UyOWM5MDMwOGU0XCIsXCJ3b3JrZmxvd1wiOlwiUHVibGlzaCBocm0tcG9ydGFsXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLWhybS1wb3J0YWwtdHJ1c3RlZC55bWxAcmVmcy9oZWFkcy9mZWF0L2FkZC1leHBvcnQtYXVkaXQtbG9nXCIsXCJ3b3JrZmxvd19zaGFcIjpcIjU2YjViNjZiNGJhNmZhNDFjNTM4NGNiN2ZiNTBjZTI5YzkwMzA4ZTRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL2hybS1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL2ZlYXQvYWRkLWV4cG9ydC1hdWRpdC1sb2ciLCJvcmNoX2lkIjoiODllNDM3ODctZTRhYi00MzJmLWI0MzAtMzg1NGFhMGJmZWI5LnB1Ymxpc2gucHVibGlzaC5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiI4OWU0Mzc4Ny1lNGFiLTQzMmYtYjQzMC0zODU0YWEwYmZlYjkiLCJyZXBvc2l0b3J5X2lkIjoiMTEyNDY3MjIzNSIsInJ1bl9pZCI6IjI1NjUxNTg3ODMyIiwicnVuX251bWJlciI6Ijc1IiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDA2NzQ5NSIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOjg5ZTQzNzg3LWU0YWItNDMyZi1iNDMwLTM4NTRhYTBiZmViOTo2MzA4NDVlOS1iZWI5LTViODYtOWJiNC04MGIwYmE4ZTVmMGYgQWN0aW9ucy5SdW5uZXI6ODllNDM3ODctZTRhYi00MzJmLWI0MzAtMzg1NGFhMGJmZWI5OjYzMDg0NWU5LWJlYjktNWI4Ni05YmI0LTgwYjBiYThlNWYwZiBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czo4OWU0Mzc4Ny1lNGFiLTQzMmYtYjQzMC0zODU0YWEwYmZlYjk6NjMwODQ1ZTktYmViOS01Yjg2LTliYjQtODBiMGJhOGU1ZjBmIGdlbmVyYXRlX2lkX3Rva2VuOjg5ZTQzNzg3LWU0YWItNDMyZi1iNDMwLTM4NTRhYTBiZmViOTo2MzA4NDVlOS1iZWI5LTViODYtOWJiNC04MGIwYmE4ZTVmMGYgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiI1NmI1YjY2YjRiYTZmYTQxYzUzODRjYjdmYjUwY2UyOWM5MDMwOGU0IiwidHJ1c3RfdGllciI6IjEifQ.2yvLbB2ag5rOglqjnbH0VyRe-U4GJTxyEIloCtXNjVkJ2xiJERtzJgJaanXXHswst70hmiKwlu8iRdmHxGDt30raecd7gq-mp4z1UFxZJjxbM8PONWdF7L2evVI2OU3k7ipi6mF7cubOMBhjD4ENDPTwE3BTIYv6TQ14yQ-k0qmd6pgbGxZSM3VZoeL9-SCA1X0WQDnsjMQ0MaziABPT1jy2k9TKCtMuFrIhRrcsMCMh6IabxBptDPCvxoqdXvWxwrsQWtm0tyDOacz_GOb4D2gxwcdQVFlRmJP2nV4jUIufN9AXaBopAEFkXF2SuA4wajDAKDOknt1H1ObBD1yULQ", 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_6e65deae-8483-418a-84ac-724409ac7c90", INVOCATION_ID: "db21edbe87e64d68884d79ea1051abaa", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", npm_package_name: "@feedmepos/mf-hrm-portal", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "75", 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 1000067495", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/add-export-audit-log", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "^2.14.36", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__casl_ability: "^3.4.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^4.0.0", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "1124672235", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/bin/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "2.0.8-dev.21", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_hrm_permission: "1.0.6-dev.5", npm_package_devDependencies__rushstack_eslint_patch: "^1.3.3", npm_package_devDependencies_eslint_plugin_unused_imports: "^4.3.0", npm_package_devDependencies_jsdom: "^24.0.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "56b5b66b4ba6fa41c5384cb7fb50ce29c90308e4", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/feat/add-export-audit-log", 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_4a7a8c70-19e3-43e7-b38a-32eddf45bd06", 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/161//idtoken/89e43787-e4ab-432f-b430-3854aa0bfeb9/630845e9-beb9-5b86-9bb4-80b0ba8e5f0f?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_4a7a8c70-19e3-43e7-b38a-32eddf45bd06", 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_4a7a8c70-19e3-43e7-b38a-32eddf45bd06", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1837
|
+
Hs();
|
|
1838
|
+
var za = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_4ec30bea-1a7e-4c72-bc3a-78124fe6fc12", 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_4ec30bea-1a7e-4c72-bc3a-78124fe6fc12", 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: "1876", ACTIONS_ORCHESTRATION_ID: "333e83f1-7a87-4eb7-ac3e-6098b6d56744.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.10.4", 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: "20260413.86.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:15802", 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.9/x64", GITHUB_RUN_ID: "25710492228", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "7a55b022bfc1f6cf03068b464c4c0b24ab3dba90", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/feat/add-export-audit-log", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L2FkZC1leHBvcnQtYXVkaXQtbG9nXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzc4NTc2Nzk3LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3Nzg1NTQ1OTcsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiIwMTg5NWNmMy1kN2M5LTU3OWQtOWUwZi03ODY1YmFiMGVhZTIiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3Nzg1NTQyOTcsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwiQ2FzdGEtbWVyZVwiLFwiYWN0b3JfaWRcIjpcIjgyMjk4MDE3XCIsXCJiYXNlX3JlZlwiOlwiXCIsXCJjaGVja19ydW5faWRcIjpcIjc1NDg5NDU5OTA3XCIsXCJldmVudF9uYW1lXCI6XCJ3b3JrZmxvd19kaXNwYXRjaFwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiam9iX3dvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2FjdGlvbnMvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ucG0tZ2l0aHViLnlhbWxAcmVmcy9oZWFkcy9tYWluXCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCJjN2IwMjNkNmIzODE0MTllMzJhZGMwYzc3YmJmODJhZmM2MzgxMDk5XCIsXCJyZWZcIjpcInJlZnMvaGVhZHMvZmVhdC9hZGQtZXhwb3J0LWF1ZGl0LWxvZ1wiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiMTEyNDY3MjIzNVwiLFwicmVwb3NpdG9yeV9vd25lclwiOlwiZmVlZG1lcG9zXCIsXCJyZXBvc2l0b3J5X293bmVyX2lkXCI6XCI1NDgzMTUxNVwiLFwicmVwb3NpdG9yeV92aXNpYmlsaXR5XCI6XCJwcml2YXRlXCIsXCJydW5fYXR0ZW1wdFwiOlwiMVwiLFwicnVuX2lkXCI6XCIyNTcxMDQ5MjIyOFwiLFwicnVuX251bWJlclwiOlwiNzdcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCI3YTU1YjAyMmJmYzFmNmNmMDMwNjhiNDY0YzRjMGIyNGFiM2RiYTkwXCIsXCJ3b3JrZmxvd1wiOlwiUHVibGlzaCBocm0tcG9ydGFsXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLWhybS1wb3J0YWwtdHJ1c3RlZC55bWxAcmVmcy9oZWFkcy9mZWF0L2FkZC1leHBvcnQtYXVkaXQtbG9nXCIsXCJ3b3JrZmxvd19zaGFcIjpcIjdhNTViMDIyYmZjMWY2Y2YwMzA2OGI0NjRjNGMwYjI0YWIzZGJhOTBcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL2hybS1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL2ZlYXQvYWRkLWV4cG9ydC1hdWRpdC1sb2ciLCJvcmNoX2lkIjoiMzMzZTgzZjEtN2E4Ny00ZWI3LWFjM2UtNjA5OGI2ZDU2NzQ0LnB1Ymxpc2gucHVibGlzaC5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiIzMzNlODNmMS03YTg3LTRlYjctYWMzZS02MDk4YjZkNTY3NDQiLCJyZXBvc2l0b3J5X2lkIjoiMTEyNDY3MjIzNSIsInJ1bl9pZCI6IjI1NzEwNDkyMjI4IiwicnVuX251bWJlciI6Ijc3IiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDA2NzgxNSIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOjMzM2U4M2YxLTdhODctNGViNy1hYzNlLTYwOThiNmQ1Njc0NDowMTg5NWNmMy1kN2M5LTU3OWQtOWUwZi03ODY1YmFiMGVhZTIgQWN0aW9ucy5SdW5uZXI6MzMzZTgzZjEtN2E4Ny00ZWI3LWFjM2UtNjA5OGI2ZDU2NzQ0OjAxODk1Y2YzLWQ3YzktNTc5ZC05ZTBmLTc4NjViYWIwZWFlMiBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czozMzNlODNmMS03YTg3LTRlYjctYWMzZS02MDk4YjZkNTY3NDQ6MDE4OTVjZjMtZDdjOS01NzlkLTllMGYtNzg2NWJhYjBlYWUyIGdlbmVyYXRlX2lkX3Rva2VuOjMzM2U4M2YxLTdhODctNGViNy1hYzNlLTYwOThiNmQ1Njc0NDowMTg5NWNmMy1kN2M5LTU3OWQtOWUwZi03ODY1YmFiMGVhZTIgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiI3YTU1YjAyMmJmYzFmNmNmMDMwNjhiNDY0YzRjMGIyNGFiM2RiYTkwIiwidHJ1c3RfdGllciI6IjEifQ.oay37x63XtUGqRjA-xEvM9YH3kxz4fhdQXEItmhSR7eZq5USFZMMMOH3cW_tQvc8qviR37DqGPBJjR7oflmsdTJjTVH_dDx2edb4XHLmLg8U_SZyqoKGT_piqEiTVWxkzKaCxF5vhL79vExe3m7EJsEB5kBQObvszqg-9EsRFCwh_BHThgToE-vr0WiIScD81qst-fAr5XIJo88lCrh0yoWJTLg5Ca-Q_4qDlBUYqTElANP7MqXouFPZULql1lF5JAbb6WFyABNcD53sOhHgGMDOKN7cW7CIu1Uozrz-nYZebRq7yEW9ds6m5A47ElQ2H1oPwX1YD2qg9LjmODJrCQ", 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_9683729b-4d10-498d-94ee-e5157ffb05f1", INVOCATION_ID: "07e9f8d13d3d4a08abb28fdbb726f7a7", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", npm_package_name: "@feedmepos/mf-hrm-portal", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "77", 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 1000067815", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/add-export-audit-log", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "^2.14.36", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__casl_ability: "^3.4.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^4.0.0", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "1124672235", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/bin/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "2.0.8-dev.22", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_hrm_permission: "1.0.6-dev.5", npm_package_devDependencies__rushstack_eslint_patch: "^1.3.3", npm_package_devDependencies_eslint_plugin_unused_imports: "^4.3.0", npm_package_devDependencies_jsdom: "^24.0.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "7a55b022bfc1f6cf03068b464c4c0b24ab3dba90", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/feat/add-export-audit-log", 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_4ec30bea-1a7e-4c72-bc3a-78124fe6fc12", 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/37//idtoken/333e83f1-7a87-4eb7-ac3e-6098b6d56744/01895cf3-d7c9-579d-9e0f-7865bab0eae2?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_4ec30bea-1a7e-4c72-bc3a-78124fe6fc12", 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_4ec30bea-1a7e-4c72-bc3a-78124fe6fc12", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1839
1839
|
const Ka = "10.0.5";
|
|
1840
1840
|
function Qa() {
|
|
1841
|
-
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (
|
|
1841
|
+
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (je().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (je().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (je().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (je().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
1842
1842
|
}
|
|
1843
|
-
const
|
|
1843
|
+
const Be = {
|
|
1844
1844
|
// composer module errors
|
|
1845
1845
|
UNEXPECTED_RETURN_TYPE: pa,
|
|
1846
1846
|
// 24
|
|
@@ -1854,14 +1854,14 @@ const He = {
|
|
|
1854
1854
|
UNEXPECTED_ERROR: 32
|
|
1855
1855
|
};
|
|
1856
1856
|
function nt(e, ...t) {
|
|
1857
|
-
return
|
|
1857
|
+
return ht(e, null, void 0);
|
|
1858
1858
|
}
|
|
1859
|
-
const
|
|
1859
|
+
const Ut = /* @__PURE__ */ Ve("__translateVNode"), Vt = /* @__PURE__ */ Ve("__datetimeParts"), Gt = /* @__PURE__ */ Ve("__numberParts"), qa = Ve("__setPluralRules"), Xn = /* @__PURE__ */ Ve("__injectWithOption"), Wt = /* @__PURE__ */ Ve("__dispose");
|
|
1860
1860
|
function st(e) {
|
|
1861
1861
|
if (!$(e))
|
|
1862
1862
|
return e;
|
|
1863
1863
|
for (const t in e)
|
|
1864
|
-
if (
|
|
1864
|
+
if (Ne(e, t))
|
|
1865
1865
|
if (!t.includes("."))
|
|
1866
1866
|
$(e[t]) && st(e[t]);
|
|
1867
1867
|
else {
|
|
@@ -1882,13 +1882,13 @@ function Yn(e, t) {
|
|
|
1882
1882
|
const { messages: n, __i18n: s, messageResolver: l, flatJson: a } = t, c = J(n) ? n : ie(s) ? K() : { [e]: K() };
|
|
1883
1883
|
if (ie(s) && s.forEach((d) => {
|
|
1884
1884
|
if ("locale" in d && "resource" in d) {
|
|
1885
|
-
const { locale: u, resource:
|
|
1886
|
-
u ? (c[u] = c[u] || K(), mt(
|
|
1885
|
+
const { locale: u, resource: g } = d;
|
|
1886
|
+
u ? (c[u] = c[u] || K(), mt(g, c[u])) : mt(g, c);
|
|
1887
1887
|
} else
|
|
1888
1888
|
P(d) && mt(JSON.parse(d), c);
|
|
1889
1889
|
}), l == null && a)
|
|
1890
1890
|
for (const d in c)
|
|
1891
|
-
|
|
1891
|
+
Ne(c, d) && st(c[d]);
|
|
1892
1892
|
return c;
|
|
1893
1893
|
}
|
|
1894
1894
|
function Zn(e) {
|
|
@@ -1919,10 +1919,10 @@ function er(e, t, n) {
|
|
|
1919
1919
|
}
|
|
1920
1920
|
}
|
|
1921
1921
|
}
|
|
1922
|
-
function
|
|
1922
|
+
function Nn(e) {
|
|
1923
1923
|
return de(Kn, null, e, 0);
|
|
1924
1924
|
}
|
|
1925
|
-
const
|
|
1925
|
+
const yn = "__INTLIFY_META__", kn = () => [], tr = () => !1;
|
|
1926
1926
|
let Tn = 0;
|
|
1927
1927
|
function On(e) {
|
|
1928
1928
|
return (t, n, s, l) => e(n, s, xt() || void 0, l);
|
|
@@ -1930,10 +1930,10 @@ function On(e) {
|
|
|
1930
1930
|
const nr = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
1931
1931
|
const e = xt();
|
|
1932
1932
|
let t = null;
|
|
1933
|
-
return e && (t = Zn(e)[
|
|
1933
|
+
return e && (t = Zn(e)[yn]) ? { [yn]: t } : null;
|
|
1934
1934
|
};
|
|
1935
1935
|
function sr(e = {}) {
|
|
1936
|
-
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = en ?
|
|
1936
|
+
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = en ? Ue : zn;
|
|
1937
1937
|
let c = oe(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1938
1938
|
const d = a(
|
|
1939
1939
|
// prettier-ignore
|
|
@@ -1941,8 +1941,8 @@ function sr(e = {}) {
|
|
|
1941
1941
|
), u = a(
|
|
1942
1942
|
// prettier-ignore
|
|
1943
1943
|
t && c ? t.fallbackLocale.value : P(e.fallbackLocale) || ie(e.fallbackLocale) || J(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : d.value
|
|
1944
|
-
),
|
|
1945
|
-
let I = t ? t.missingWarn : oe(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0,
|
|
1944
|
+
), g = a(Yn(d.value, e)), k = a(J(e.datetimeFormats) ? e.datetimeFormats : { [d.value]: {} }), O = a(J(e.numberFormats) ? e.numberFormats : { [d.value]: {} });
|
|
1945
|
+
let I = t ? t.missingWarn : oe(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, w = t ? t.fallbackWarn : oe(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, V = t ? t.fallbackRoot : oe(e.fallbackRoot) ? e.fallbackRoot : !0, y = !!e.fallbackFormat, A = se(e.missing) ? e.missing : null, i = se(e.missing) ? On(e.missing) : null, f = se(e.postTranslation) ? e.postTranslation : null, N = t ? t.warnHtmlMessage : oe(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, h = !!e.escapeParameter;
|
|
1946
1946
|
const S = t ? t.modifiers : J(e.modifiers) ? e.modifiers : {};
|
|
1947
1947
|
let R = e.pluralRules || t && t.pluralRules, m;
|
|
1948
1948
|
m = (() => {
|
|
@@ -1951,17 +1951,17 @@ function sr(e = {}) {
|
|
|
1951
1951
|
version: Ka,
|
|
1952
1952
|
locale: d.value,
|
|
1953
1953
|
fallbackLocale: u.value,
|
|
1954
|
-
messages:
|
|
1954
|
+
messages: g.value,
|
|
1955
1955
|
modifiers: S,
|
|
1956
1956
|
pluralRules: R,
|
|
1957
1957
|
missing: i === null ? void 0 : i,
|
|
1958
1958
|
missingWarn: I,
|
|
1959
|
-
fallbackWarn:
|
|
1960
|
-
fallbackFormat:
|
|
1959
|
+
fallbackWarn: w,
|
|
1960
|
+
fallbackFormat: y,
|
|
1961
1961
|
unresolving: !0,
|
|
1962
1962
|
postTranslation: f === null ? void 0 : f,
|
|
1963
|
-
warnHtmlMessage:
|
|
1964
|
-
escapeParameter:
|
|
1963
|
+
warnHtmlMessage: N,
|
|
1964
|
+
escapeParameter: h,
|
|
1965
1965
|
messageResolver: e.messageResolver,
|
|
1966
1966
|
messageCompiler: e.messageCompiler,
|
|
1967
1967
|
__meta: { framework: "vue" }
|
|
@@ -1974,7 +1974,7 @@ function sr(e = {}) {
|
|
|
1974
1974
|
return [
|
|
1975
1975
|
d.value,
|
|
1976
1976
|
u.value,
|
|
1977
|
-
|
|
1977
|
+
g.value,
|
|
1978
1978
|
k.value,
|
|
1979
1979
|
O.value
|
|
1980
1980
|
];
|
|
@@ -1989,14 +1989,14 @@ function sr(e = {}) {
|
|
|
1989
1989
|
set: (_) => {
|
|
1990
1990
|
u.value = _, m.fallbackLocale = u.value, Qe(m, d.value, _);
|
|
1991
1991
|
}
|
|
1992
|
-
}), F = q(() =>
|
|
1992
|
+
}), F = q(() => g.value), U = /* @__PURE__ */ q(() => k.value), ae = /* @__PURE__ */ q(() => O.value);
|
|
1993
1993
|
function L() {
|
|
1994
1994
|
return se(f) ? f : null;
|
|
1995
1995
|
}
|
|
1996
1996
|
function T(_) {
|
|
1997
1997
|
f = _, m.postTranslation = _;
|
|
1998
1998
|
}
|
|
1999
|
-
function
|
|
1999
|
+
function M() {
|
|
2000
2000
|
return A;
|
|
2001
2001
|
}
|
|
2002
2002
|
function Z(_) {
|
|
@@ -2006,37 +2006,37 @@ function sr(e = {}) {
|
|
|
2006
2006
|
v();
|
|
2007
2007
|
let xe;
|
|
2008
2008
|
try {
|
|
2009
|
-
za.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (m.fallbackContext = t ?
|
|
2009
|
+
za.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (m.fallbackContext = t ? wa() : void 0), xe = _(m);
|
|
2010
2010
|
} finally {
|
|
2011
2011
|
__INTLIFY_PROD_DEVTOOLS__, s || (m.fallbackContext = void 0);
|
|
2012
2012
|
}
|
|
2013
2013
|
if (Q !== "translate exists" && // for not `te` (e.g `t`)
|
|
2014
|
-
ue(xe) && xe ===
|
|
2015
|
-
const [Jn,
|
|
2014
|
+
ue(xe) && xe === gt || Q === "translate exists" && !xe) {
|
|
2015
|
+
const [Jn, Hr] = E();
|
|
2016
2016
|
return t && V ? le(t) : Pe(Jn);
|
|
2017
2017
|
} else {
|
|
2018
2018
|
if (at(xe))
|
|
2019
2019
|
return xe;
|
|
2020
|
-
throw nt(
|
|
2020
|
+
throw nt(Be.UNEXPECTED_RETURN_TYPE);
|
|
2021
2021
|
}
|
|
2022
2022
|
};
|
|
2023
2023
|
function G(..._) {
|
|
2024
|
-
return x((E) => Reflect.apply(In, null, [E, ..._]), () =>
|
|
2024
|
+
return x((E) => Reflect.apply(In, null, [E, ..._]), () => jt(..._), "translate", (E) => Reflect.apply(E.t, E, [..._]), (E) => E, (E) => P(E));
|
|
2025
2025
|
}
|
|
2026
2026
|
function W(..._) {
|
|
2027
2027
|
const [E, Q, le] = _;
|
|
2028
2028
|
if (le && !$(le))
|
|
2029
|
-
throw nt(
|
|
2029
|
+
throw nt(Be.INVALID_ARGUMENT);
|
|
2030
2030
|
return G(E, Q, me({ resolvedMessage: !0 }, le || {}));
|
|
2031
2031
|
}
|
|
2032
2032
|
function X(..._) {
|
|
2033
2033
|
return x((E) => Reflect.apply(pn, null, [E, ..._]), () => Pt(..._), "datetime format", (E) => Reflect.apply(E.d, E, [..._]), () => mn, (E) => P(E));
|
|
2034
2034
|
}
|
|
2035
2035
|
function ve(..._) {
|
|
2036
|
-
return x((E) => Reflect.apply(
|
|
2036
|
+
return x((E) => Reflect.apply(gn, null, [E, ..._]), () => Ft(..._), "number format", (E) => Reflect.apply(E.n, E, [..._]), () => mn, (E) => P(E));
|
|
2037
2037
|
}
|
|
2038
2038
|
function _e(_) {
|
|
2039
|
-
return _.map((E) => P(E) || ue(E) || oe(E) ?
|
|
2039
|
+
return _.map((E) => P(E) || ue(E) || oe(E) ? Nn(String(E)) : E);
|
|
2040
2040
|
}
|
|
2041
2041
|
const ne = {
|
|
2042
2042
|
normalize: _e,
|
|
@@ -2053,10 +2053,10 @@ function sr(e = {}) {
|
|
|
2053
2053
|
le.processor = null;
|
|
2054
2054
|
}
|
|
2055
2055
|
return Q;
|
|
2056
|
-
}, () =>
|
|
2056
|
+
}, () => jt(..._), "translate", (E) => E[Ut](..._), (E) => [Nn(E)], (E) => ie(E));
|
|
2057
2057
|
}
|
|
2058
2058
|
function Je(..._) {
|
|
2059
|
-
return x((E) => Reflect.apply(
|
|
2059
|
+
return x((E) => Reflect.apply(gn, null, [E, ..._]), () => Ft(..._), "number format", (E) => E[Gt](..._), kn, (E) => P(E) || ie(E));
|
|
2060
2060
|
}
|
|
2061
2061
|
function $e(..._) {
|
|
2062
2062
|
return x((E) => Reflect.apply(pn, null, [E, ..._]), () => Pt(..._), "datetime format", (E) => E[Vt](..._), kn, (E) => P(E) || ie(E));
|
|
@@ -2069,14 +2069,14 @@ function sr(e = {}) {
|
|
|
2069
2069
|
if (!_)
|
|
2070
2070
|
return !1;
|
|
2071
2071
|
const Q = P(E) ? E : d.value, le = Ge(Q), Pe = m.messageResolver(le, _);
|
|
2072
|
-
return
|
|
2072
|
+
return He(Pe) || be(Pe) || P(Pe);
|
|
2073
2073
|
}, () => [_], "translate exists", (Q) => Reflect.apply(Q.te, Q, [_, E]), tr, (Q) => oe(Q));
|
|
2074
2074
|
}
|
|
2075
2075
|
function It(_) {
|
|
2076
2076
|
let E = null;
|
|
2077
|
-
const Q =
|
|
2077
|
+
const Q = Mn(m, u.value, d.value);
|
|
2078
2078
|
for (let le = 0; le < Q.length; le++) {
|
|
2079
|
-
const Pe =
|
|
2079
|
+
const Pe = g.value[Q[le]] || {}, at = m.messageResolver(Pe, _);
|
|
2080
2080
|
if (at != null) {
|
|
2081
2081
|
E = at;
|
|
2082
2082
|
break;
|
|
@@ -2089,42 +2089,42 @@ function sr(e = {}) {
|
|
|
2089
2089
|
return E ?? (t ? t.tm(_) || {} : {});
|
|
2090
2090
|
}
|
|
2091
2091
|
function Ge(_) {
|
|
2092
|
-
return
|
|
2092
|
+
return g.value[_] || {};
|
|
2093
2093
|
}
|
|
2094
2094
|
function We(_, E) {
|
|
2095
2095
|
if (l) {
|
|
2096
2096
|
const Q = { [_]: E };
|
|
2097
2097
|
for (const le in Q)
|
|
2098
|
-
|
|
2098
|
+
Ne(Q, le) && st(Q[le]);
|
|
2099
2099
|
E = Q[_];
|
|
2100
2100
|
}
|
|
2101
|
-
|
|
2101
|
+
g.value[_] = E, m.messages = g.value;
|
|
2102
2102
|
}
|
|
2103
2103
|
function Ke(_, E) {
|
|
2104
|
-
|
|
2104
|
+
g.value[_] = g.value[_] || {};
|
|
2105
2105
|
const Q = { [_]: E };
|
|
2106
2106
|
if (l)
|
|
2107
2107
|
for (const le in Q)
|
|
2108
|
-
|
|
2109
|
-
E = Q[_], mt(E,
|
|
2108
|
+
Ne(Q, le) && st(Q[le]);
|
|
2109
|
+
E = Q[_], mt(E, g.value[_]), m.messages = g.value;
|
|
2110
2110
|
}
|
|
2111
|
-
function
|
|
2111
|
+
function Nt(_) {
|
|
2112
2112
|
return k.value[_] || {};
|
|
2113
2113
|
}
|
|
2114
2114
|
function r(_, E) {
|
|
2115
|
-
k.value[_] = E, m.datetimeFormats = k.value,
|
|
2115
|
+
k.value[_] = E, m.datetimeFormats = k.value, hn(m, _, E);
|
|
2116
2116
|
}
|
|
2117
2117
|
function o(_, E) {
|
|
2118
|
-
k.value[_] = me(k.value[_] || {}, E), m.datetimeFormats = k.value,
|
|
2118
|
+
k.value[_] = me(k.value[_] || {}, E), m.datetimeFormats = k.value, hn(m, _, E);
|
|
2119
2119
|
}
|
|
2120
|
-
function
|
|
2120
|
+
function b(_) {
|
|
2121
2121
|
return O.value[_] || {};
|
|
2122
2122
|
}
|
|
2123
|
-
function
|
|
2124
|
-
O.value[_] = E, m.numberFormats = O.value,
|
|
2123
|
+
function j(_, E) {
|
|
2124
|
+
O.value[_] = E, m.numberFormats = O.value, bn(m, _, E);
|
|
2125
2125
|
}
|
|
2126
2126
|
function re(_, E) {
|
|
2127
|
-
O.value[_] = me(O.value[_] || {}, E), m.numberFormats = O.value,
|
|
2127
|
+
O.value[_] = me(O.value[_] || {}, E), m.numberFormats = O.value, bn(m, _, E);
|
|
2128
2128
|
}
|
|
2129
2129
|
Tn++, t && en && (St(t.locale, (_) => {
|
|
2130
2130
|
c && (d.value = _, m.locale = _, Qe(m, d.value, u.value));
|
|
@@ -2142,7 +2142,7 @@ function sr(e = {}) {
|
|
|
2142
2142
|
c = _, _ && t && (d.value = t.locale.value, u.value = t.fallbackLocale.value, Qe(m, d.value, u.value));
|
|
2143
2143
|
},
|
|
2144
2144
|
get availableLocales() {
|
|
2145
|
-
return Object.keys(
|
|
2145
|
+
return Object.keys(g.value).sort();
|
|
2146
2146
|
},
|
|
2147
2147
|
messages: F,
|
|
2148
2148
|
get modifiers() {
|
|
@@ -2161,10 +2161,10 @@ function sr(e = {}) {
|
|
|
2161
2161
|
I = _, m.missingWarn = I;
|
|
2162
2162
|
},
|
|
2163
2163
|
get fallbackWarn() {
|
|
2164
|
-
return
|
|
2164
|
+
return w;
|
|
2165
2165
|
},
|
|
2166
2166
|
set fallbackWarn(_) {
|
|
2167
|
-
|
|
2167
|
+
w = _, m.fallbackWarn = w;
|
|
2168
2168
|
},
|
|
2169
2169
|
get fallbackRoot() {
|
|
2170
2170
|
return V;
|
|
@@ -2173,22 +2173,22 @@ function sr(e = {}) {
|
|
|
2173
2173
|
V = _;
|
|
2174
2174
|
},
|
|
2175
2175
|
get fallbackFormat() {
|
|
2176
|
-
return
|
|
2176
|
+
return y;
|
|
2177
2177
|
},
|
|
2178
2178
|
set fallbackFormat(_) {
|
|
2179
|
-
|
|
2179
|
+
y = _, m.fallbackFormat = y;
|
|
2180
2180
|
},
|
|
2181
2181
|
get warnHtmlMessage() {
|
|
2182
|
-
return
|
|
2182
|
+
return N;
|
|
2183
2183
|
},
|
|
2184
2184
|
set warnHtmlMessage(_) {
|
|
2185
|
-
|
|
2185
|
+
N = _, m.warnHtmlMessage = _;
|
|
2186
2186
|
},
|
|
2187
2187
|
get escapeParameter() {
|
|
2188
|
-
return
|
|
2188
|
+
return h;
|
|
2189
2189
|
},
|
|
2190
2190
|
set escapeParameter(_) {
|
|
2191
|
-
|
|
2191
|
+
h = _, m.escapeParameter = _;
|
|
2192
2192
|
},
|
|
2193
2193
|
t: G,
|
|
2194
2194
|
getLocaleMessage: Ge,
|
|
@@ -2196,11 +2196,11 @@ function sr(e = {}) {
|
|
|
2196
2196
|
mergeLocaleMessage: Ke,
|
|
2197
2197
|
getPostTranslationHandler: L,
|
|
2198
2198
|
setPostTranslationHandler: T,
|
|
2199
|
-
getMissingHandler:
|
|
2199
|
+
getMissingHandler: M,
|
|
2200
2200
|
setMissingHandler: Z,
|
|
2201
2201
|
[qa]: vt
|
|
2202
2202
|
};
|
|
2203
|
-
return Y.datetimeFormats =
|
|
2203
|
+
return Y.datetimeFormats = U, Y.numberFormats = ae, Y.rt = W, Y.te = Et, Y.tm = ze, Y.d = X, Y.n = ve, Y.getDateTimeFormat = Nt, Y.setDateTimeFormat = r, Y.mergeDateTimeFormat = o, Y.getNumberFormat = b, Y.setNumberFormat = j, Y.mergeNumberFormat = re, Y[Xn] = n, Y[Ut] = Ee, Y[Vt] = $e, Y[Gt] = Je, Y;
|
|
2204
2204
|
}
|
|
2205
2205
|
const zt = {
|
|
2206
2206
|
tag: {
|
|
@@ -2230,7 +2230,7 @@ function ar({ slots: e }, t) {
|
|
|
2230
2230
|
return l && (n[s] = l()), n;
|
|
2231
2231
|
}, K());
|
|
2232
2232
|
}
|
|
2233
|
-
function
|
|
2233
|
+
function Hn() {
|
|
2234
2234
|
return Ie;
|
|
2235
2235
|
}
|
|
2236
2236
|
me({
|
|
@@ -2246,20 +2246,20 @@ me({
|
|
|
2246
2246
|
function rr(e) {
|
|
2247
2247
|
return ie(e) && !P(e[0]);
|
|
2248
2248
|
}
|
|
2249
|
-
function
|
|
2249
|
+
function Bn(e, t, n, s) {
|
|
2250
2250
|
const { slots: l, attrs: a } = t;
|
|
2251
2251
|
return () => {
|
|
2252
2252
|
const c = { part: !0 };
|
|
2253
2253
|
let d = K();
|
|
2254
|
-
e.locale && (c.locale = e.locale), P(e.format) ? c.key = e.format : $(e.format) && (P(e.format.key) && (c.key = e.format.key), d = Object.keys(e.format).reduce((I,
|
|
2254
|
+
e.locale && (c.locale = e.locale), P(e.format) ? c.key = e.format : $(e.format) && (P(e.format.key) && (c.key = e.format.key), d = Object.keys(e.format).reduce((I, w) => n.includes(w) ? me(K(), I, { [w]: e.format[w] }) : I, K()));
|
|
2255
2255
|
const u = s(e.value, c, d);
|
|
2256
|
-
let
|
|
2257
|
-
ie(u) ?
|
|
2258
|
-
const V = l[I.type],
|
|
2259
|
-
return rr(
|
|
2260
|
-
}) : P(u) && (
|
|
2261
|
-
const k = me(K(), a), O = P(e.tag) || $(e.tag) ? e.tag :
|
|
2262
|
-
return Sn(O, k,
|
|
2256
|
+
let g = [c.key];
|
|
2257
|
+
ie(u) ? g = u.map((I, w) => {
|
|
2258
|
+
const V = l[I.type], y = V ? V({ [I.type]: I.value, index: w, parts: u }) : [I.value];
|
|
2259
|
+
return rr(y) && (y[0].key = `${I.type}-${w}`), y;
|
|
2260
|
+
}) : P(u) && (g = [u]);
|
|
2261
|
+
const k = me(K(), a), O = P(e.tag) || $(e.tag) ? e.tag : Hn();
|
|
2262
|
+
return Sn(O, k, g);
|
|
2263
2263
|
};
|
|
2264
2264
|
}
|
|
2265
2265
|
me({
|
|
@@ -2281,12 +2281,12 @@ me({
|
|
|
2281
2281
|
}
|
|
2282
2282
|
}, zt);
|
|
2283
2283
|
const lr = /* @__PURE__ */ Ve("global-vue-i18n");
|
|
2284
|
-
function
|
|
2284
|
+
function bt(e = {}) {
|
|
2285
2285
|
const t = xt();
|
|
2286
2286
|
if (t == null)
|
|
2287
|
-
throw nt(
|
|
2287
|
+
throw nt(Be.MUST_BE_CALL_SETUP_TOP);
|
|
2288
2288
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
2289
|
-
throw nt(
|
|
2289
|
+
throw nt(Be.NOT_INSTALLED);
|
|
2290
2290
|
const n = or(t), s = cr(n), l = Zn(t), a = ir(e, l);
|
|
2291
2291
|
if (a === "global")
|
|
2292
2292
|
return er(s, e, l), s;
|
|
@@ -2305,7 +2305,7 @@ function gt(e = {}) {
|
|
|
2305
2305
|
function or(e) {
|
|
2306
2306
|
const t = $n(e.isCE ? lr : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
2307
2307
|
if (!t)
|
|
2308
|
-
throw nt(e.isCE ?
|
|
2308
|
+
throw nt(e.isCE ? Be.NOT_INSTALLED_WITH_PROVIDE : Be.UNEXPECTED_ERROR);
|
|
2309
2309
|
return t;
|
|
2310
2310
|
}
|
|
2311
2311
|
function ir(e, t) {
|
|
@@ -2347,12 +2347,12 @@ function dr(e, t, n) {
|
|
|
2347
2347
|
Qa();
|
|
2348
2348
|
Ra(ua);
|
|
2349
2349
|
Aa(Oa);
|
|
2350
|
-
Sa(
|
|
2350
|
+
Sa(Mn);
|
|
2351
2351
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
2352
|
-
const e =
|
|
2352
|
+
const e = je();
|
|
2353
2353
|
e.__INTLIFY__ = !0, ma(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
2354
2354
|
}
|
|
2355
|
-
const it = /* @__PURE__ */
|
|
2355
|
+
const it = /* @__PURE__ */ ye({
|
|
2356
2356
|
__name: "InheritPermissionTooltip",
|
|
2357
2357
|
props: {
|
|
2358
2358
|
item: {
|
|
@@ -2361,21 +2361,21 @@ const it = /* @__PURE__ */ Ne({
|
|
|
2361
2361
|
}
|
|
2362
2362
|
},
|
|
2363
2363
|
setup(e) {
|
|
2364
|
-
const { t } =
|
|
2364
|
+
const { t } = bt();
|
|
2365
2365
|
return (n, s) => {
|
|
2366
2366
|
const l = Ye("FmIcon"), a = Ye("FmTooltip");
|
|
2367
|
-
return
|
|
2367
|
+
return H(), Se(a, {
|
|
2368
2368
|
variant: "plain",
|
|
2369
2369
|
placement: "right",
|
|
2370
2370
|
"z-index": 50
|
|
2371
2371
|
}, {
|
|
2372
|
-
content:
|
|
2373
|
-
te("div", null, Ae(
|
|
2374
|
-
(
|
|
2372
|
+
content: he(() => [
|
|
2373
|
+
te("div", null, Ae(B(t)("team.memberForm.permissions.inherited")), 1),
|
|
2374
|
+
(H(!0), ee(Ie, null, pe(e.item.setNames, (c) => (H(), ee("div", { key: c }, [
|
|
2375
2375
|
te("div", null, "- " + Ae(c), 1)
|
|
2376
2376
|
]))), 128))
|
|
2377
2377
|
]),
|
|
2378
|
-
default:
|
|
2378
|
+
default: he(() => [
|
|
2379
2379
|
de(l, {
|
|
2380
2380
|
name: "admin_panel_settings",
|
|
2381
2381
|
size: "sm",
|
|
@@ -2392,7 +2392,7 @@ const it = /* @__PURE__ */ Ne({
|
|
|
2392
2392
|
}, pr = {
|
|
2393
2393
|
key: 0,
|
|
2394
2394
|
class: "q-mr-xs text-red col"
|
|
2395
|
-
},
|
|
2395
|
+
}, hr = { class: "form-input" }, gr = /* @__PURE__ */ ye({
|
|
2396
2396
|
__name: "AppForm",
|
|
2397
2397
|
props: {
|
|
2398
2398
|
title: {
|
|
@@ -2410,23 +2410,23 @@ const it = /* @__PURE__ */ Ne({
|
|
|
2410
2410
|
},
|
|
2411
2411
|
setup(e) {
|
|
2412
2412
|
const t = e;
|
|
2413
|
-
return (n, s) => (
|
|
2414
|
-
|
|
2415
|
-
t.title ? (
|
|
2413
|
+
return (n, s) => (H(), ee("div", fr, [
|
|
2414
|
+
ge(n.$slots, "top", {}, () => [
|
|
2415
|
+
t.title ? (H(), ee("div", _r, [
|
|
2416
2416
|
te("div", null, [
|
|
2417
|
-
t.required ? (
|
|
2417
|
+
t.required ? (H(), ee("span", pr, "*")) : Oe("", !0),
|
|
2418
2418
|
Qn(Ae(t.title), 1)
|
|
2419
2419
|
]),
|
|
2420
|
-
|
|
2420
|
+
ge(n.$slots, "title-right")
|
|
2421
2421
|
])) : Oe("", !0)
|
|
2422
2422
|
]),
|
|
2423
|
-
te("div",
|
|
2424
|
-
|
|
2423
|
+
te("div", hr, [
|
|
2424
|
+
ge(n.$slots, "default")
|
|
2425
2425
|
])
|
|
2426
2426
|
]));
|
|
2427
2427
|
}
|
|
2428
2428
|
});
|
|
2429
|
-
function
|
|
2429
|
+
function br(e, t) {
|
|
2430
2430
|
let n = "", s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
2431
2431
|
const l = s.length;
|
|
2432
2432
|
for (let a = 0; a < e; a++)
|
|
@@ -2436,7 +2436,7 @@ function gr(e, t) {
|
|
|
2436
2436
|
const vr = { class: "col flex items-center" }, Er = {
|
|
2437
2437
|
key: 1,
|
|
2438
2438
|
class: "q-pa-sm form-error-message text-error"
|
|
2439
|
-
}, Kt = /* @__PURE__ */
|
|
2439
|
+
}, Kt = /* @__PURE__ */ ye({
|
|
2440
2440
|
__name: "CheckboxInput",
|
|
2441
2441
|
props: {
|
|
2442
2442
|
options: {
|
|
@@ -2494,36 +2494,36 @@ const vr = { class: "col flex items-center" }, Er = {
|
|
|
2494
2494
|
},
|
|
2495
2495
|
emits: ["update:model-value"],
|
|
2496
2496
|
setup(e, { emit: t }) {
|
|
2497
|
-
const n = e, s = t, { t: l } = _t(), a =
|
|
2498
|
-
() => n.modelValue.filter((
|
|
2497
|
+
const n = e, s = t, { t: l } = _t(), a = Ue(!1), c = qn(), d = q(() => n.modelValue.length < n.min ? `Min selection ${n.min}` : n.max !== void 0 && n.modelValue.length > n.max ? `Max selection ${n.max}` : !0), u = `checkbox-${br(6)}`, g = q(() => d.value !== !0), k = q(
|
|
2498
|
+
() => n.modelValue.filter((y) => n.options.some((A) => A.value === y))
|
|
2499
2499
|
), O = q(
|
|
2500
2500
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
2501
2501
|
), I = q(() => n.options.length > 0 && n.options.length === k.value.length);
|
|
2502
|
-
function
|
|
2503
|
-
const
|
|
2502
|
+
function w() {
|
|
2503
|
+
const y = n.modelValue.filter((A) => !k.value.includes(A));
|
|
2504
2504
|
if (I.value === !0)
|
|
2505
|
-
s("update:model-value",
|
|
2505
|
+
s("update:model-value", y);
|
|
2506
2506
|
else {
|
|
2507
2507
|
const A = n.includeDisabledOptionsWhenSelectAll ? n.options.map((i) => i.value) : n.options.filter((i) => !i.disabled).map((i) => i.value);
|
|
2508
|
-
s("update:model-value", [...
|
|
2508
|
+
s("update:model-value", [...y, ...A]);
|
|
2509
2509
|
}
|
|
2510
2510
|
}
|
|
2511
|
-
function V(
|
|
2511
|
+
function V(y, A) {
|
|
2512
2512
|
let i = ut(n.modelValue);
|
|
2513
|
-
A ? i.every((f) => f !==
|
|
2513
|
+
A ? i.every((f) => f !== y) && i.push(y) : i = i.filter((f) => f !== y), s("update:model-value", i);
|
|
2514
2514
|
}
|
|
2515
|
-
return (
|
|
2515
|
+
return (y, A) => {
|
|
2516
2516
|
const i = Ye("FmCheckbox");
|
|
2517
|
-
return
|
|
2517
|
+
return H(), Se(gr, {
|
|
2518
2518
|
id: u,
|
|
2519
2519
|
title: e.title,
|
|
2520
2520
|
required: !1
|
|
2521
2521
|
}, {
|
|
2522
|
-
top:
|
|
2523
|
-
|
|
2522
|
+
top: he(() => [
|
|
2523
|
+
ge(y.$slots, "top")
|
|
2524
2524
|
]),
|
|
2525
|
-
default:
|
|
2526
|
-
n.showAllToggle ? (
|
|
2525
|
+
default: he(() => [
|
|
2526
|
+
n.showAllToggle ? (H(), Se(i, {
|
|
2527
2527
|
key: 0,
|
|
2528
2528
|
"model-value": I.value,
|
|
2529
2529
|
disabled: e.disable,
|
|
@@ -2532,12 +2532,12 @@ const vr = { class: "col flex items-center" }, Er = {
|
|
|
2532
2532
|
size: "sm",
|
|
2533
2533
|
dense: "",
|
|
2534
2534
|
value: O.value,
|
|
2535
|
-
"onUpdate:modelValue":
|
|
2535
|
+
"onUpdate:modelValue": w
|
|
2536
2536
|
}, null, 8, ["model-value", "disabled", "label", "style", "value"])) : Oe("", !0),
|
|
2537
|
-
(
|
|
2537
|
+
(H(!0), ee(Ie, null, pe(e.options, (f, N) => (H(), ee("div", {
|
|
2538
2538
|
key: f.value,
|
|
2539
|
-
style: ct(`margin-bottom: ${
|
|
2540
|
-
class: qe(
|
|
2539
|
+
style: ct(`margin-bottom: ${N < e.options.length - 1 ? n.gutter : 0}px`),
|
|
2540
|
+
class: qe(N < e.options.length - 1 ? "q-mb-sm" : "")
|
|
2541
2541
|
}, [
|
|
2542
2542
|
te("div", {
|
|
2543
2543
|
class: qe(["row justify-between", e.alignCenter ? "items-center" : "items-start"])
|
|
@@ -2549,37 +2549,37 @@ const vr = { class: "col flex items-center" }, Er = {
|
|
|
2549
2549
|
size: "sm",
|
|
2550
2550
|
label: f.label,
|
|
2551
2551
|
value: f.label,
|
|
2552
|
-
"onUpdate:modelValue": (
|
|
2552
|
+
"onUpdate:modelValue": (h) => V(f.value, h)
|
|
2553
2553
|
}, null, 8, ["model-value", "disabled", "label", "value", "onUpdate:modelValue"]),
|
|
2554
|
-
|
|
2554
|
+
ge(y.$slots, `checkbox-${f.key || f.value}-append`, {
|
|
2555
2555
|
option: f,
|
|
2556
2556
|
selected: e.modelValue.includes(f.value)
|
|
2557
2557
|
})
|
|
2558
2558
|
]),
|
|
2559
|
-
|
|
2559
|
+
B(c)[`checkbox-${f.key || f.value}-end`] && (e.modelValue.includes(f.value) || e.falsyShowSlot) ? (H(), ee("div", {
|
|
2560
2560
|
key: 0,
|
|
2561
2561
|
class: qe([{ "q-checkbox disabled": e.disable || f.disabled }, "col"])
|
|
2562
2562
|
}, [
|
|
2563
|
-
|
|
2563
|
+
ge(y.$slots, `checkbox-${f.key || f.value}-end`, {
|
|
2564
2564
|
option: f,
|
|
2565
2565
|
value: e.modelValue.includes(f.value),
|
|
2566
2566
|
disable: e.disable || f.disabled
|
|
2567
2567
|
})
|
|
2568
2568
|
], 2)) : Oe("", !0)
|
|
2569
2569
|
], 2),
|
|
2570
|
-
|
|
2570
|
+
B(c)[`checkbox-${f.key || f.value}-bottom`] && (e.modelValue.includes(f.value) || e.falsyShowSlot) ? (H(), ee("div", {
|
|
2571
2571
|
key: 0,
|
|
2572
2572
|
class: qe(["q-mt-sm", { "q-checkbox disabled": e.disable || f.disabled }]),
|
|
2573
2573
|
style: ct(`margin-left: ${e.bottomSlotIndent}`)
|
|
2574
2574
|
}, [
|
|
2575
|
-
|
|
2575
|
+
ge(y.$slots, `checkbox-${f.key || f.value}-bottom`, {
|
|
2576
2576
|
option: f,
|
|
2577
2577
|
disable: e.disable || f.disabled,
|
|
2578
2578
|
value: e.modelValue.includes(f.value)
|
|
2579
2579
|
})
|
|
2580
2580
|
], 6)) : Oe("", !0)
|
|
2581
2581
|
], 6))), 128)),
|
|
2582
|
-
a.value &&
|
|
2582
|
+
a.value && g.value ? (H(), ee("div", Er, Ae(d.value), 1)) : Oe("", !0)
|
|
2583
2583
|
]),
|
|
2584
2584
|
_: 3
|
|
2585
2585
|
}, 8, ["title"]);
|
|
@@ -2609,35 +2609,35 @@ function Ir(e, t, n, s) {
|
|
|
2609
2609
|
D && (n.value.includes(p.subject) || p.showByFeatureFlag && l(p.showByFeatureFlag) === "false" || (m.has(D) || m.set(D, []), m.get(D).push({ label: p.label, value: p.subject }), C.set(p.subject, p)));
|
|
2610
2610
|
}
|
|
2611
2611
|
return [...m.keys()].sort((p, D) => {
|
|
2612
|
-
const F = Cn.indexOf(p),
|
|
2613
|
-
return F === -1 &&
|
|
2612
|
+
const F = Cn.indexOf(p), U = Cn.indexOf(D);
|
|
2613
|
+
return F === -1 && U === -1 ? p.localeCompare(D) : F === -1 ? 1 : U === -1 ? -1 : F - U;
|
|
2614
2614
|
}).map((p) => {
|
|
2615
2615
|
const D = m.get(p), F = /* @__PURE__ */ new Map();
|
|
2616
2616
|
for (const W of D) {
|
|
2617
2617
|
const X = C.get(W.value);
|
|
2618
2618
|
X && F.set(W.value, X.actions);
|
|
2619
2619
|
}
|
|
2620
|
-
const
|
|
2620
|
+
const U = D.some((W) => {
|
|
2621
2621
|
const X = F.get(W.value);
|
|
2622
2622
|
return X && X.length > 1;
|
|
2623
|
-
}), ae =
|
|
2623
|
+
}), ae = U ? [
|
|
2624
2624
|
...new Set(
|
|
2625
2625
|
D.flatMap((W) => F.get(W.value) ?? []).filter((W) => W !== "manage")
|
|
2626
2626
|
)
|
|
2627
2627
|
] : [], L = /* @__PURE__ */ new Map();
|
|
2628
2628
|
for (const W of e.value)
|
|
2629
2629
|
D.some((X) => X.value === W.subject) && !W.inverted && L.set(W.subject, new Set(W.actions));
|
|
2630
|
-
const T =
|
|
2630
|
+
const T = U ? e.value.filter(
|
|
2631
2631
|
(W) => D.some((X) => X.value === W.subject) && !W.inverted && W.actions.includes("manage")
|
|
2632
|
-
).map((W) => W.subject) : e.value.filter((W) => D.some((X) => X.value === W.subject) && !W.inverted).map((W) => W.subject),
|
|
2632
|
+
).map((W) => W.subject) : e.value.filter((W) => D.some((X) => X.value === W.subject) && !W.inverted).map((W) => W.subject), M = D.find((W) => {
|
|
2633
2633
|
var X;
|
|
2634
2634
|
return (X = C.get(W.value)) == null ? void 0 : X.isCategoryCover;
|
|
2635
|
-
}), Z = (
|
|
2635
|
+
}), Z = (M == null ? void 0 : M.value) ?? null, x = Z ? L.get(Z) ?? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set(), G = x.has("manage");
|
|
2636
2636
|
return {
|
|
2637
2637
|
category: p,
|
|
2638
2638
|
options: D,
|
|
2639
2639
|
selectedSubjects: T,
|
|
2640
|
-
isMultiAction:
|
|
2640
|
+
isMultiAction: U,
|
|
2641
2641
|
actionColumns: ae,
|
|
2642
2642
|
permissionActionsMap: F,
|
|
2643
2643
|
selectedActionsMap: L,
|
|
@@ -2653,7 +2653,7 @@ function Ir(e, t, n, s) {
|
|
|
2653
2653
|
s("update:model-value", [
|
|
2654
2654
|
...e.value.filter((D) => !v.some((F) => F.value === D.subject)),
|
|
2655
2655
|
...t.value.filter((D) => C.includes(D.subject)).map(
|
|
2656
|
-
({ category: D, showByFeatureFlag: F, isCategoryCover:
|
|
2656
|
+
({ category: D, showByFeatureFlag: F, isCategoryCover: U, ...ae }) => ae
|
|
2657
2657
|
)
|
|
2658
2658
|
]);
|
|
2659
2659
|
}
|
|
@@ -2668,23 +2668,23 @@ function Ir(e, t, n, s) {
|
|
|
2668
2668
|
s("update:model-value", C);
|
|
2669
2669
|
else {
|
|
2670
2670
|
const v = t.value.filter((p) => m.options.some((D) => D.value === p.subject)).map(
|
|
2671
|
-
({ category: p, showByFeatureFlag: D, isCategoryCover: F, ...
|
|
2671
|
+
({ category: p, showByFeatureFlag: D, isCategoryCover: F, ...U }) => U
|
|
2672
2672
|
);
|
|
2673
2673
|
s("update:model-value", [...C, ...v]);
|
|
2674
2674
|
}
|
|
2675
2675
|
}
|
|
2676
|
-
function
|
|
2676
|
+
function g(m, C) {
|
|
2677
2677
|
const v = m.selectedActionsMap.get(C);
|
|
2678
2678
|
return v ? v.has("manage") : !1;
|
|
2679
2679
|
}
|
|
2680
2680
|
function k(m, C) {
|
|
2681
2681
|
const v = m.permissionActionsMap.get(C);
|
|
2682
2682
|
if (!v) return !1;
|
|
2683
|
-
const p = v.filter((
|
|
2683
|
+
const p = v.filter((U) => U !== "manage");
|
|
2684
2684
|
if (p.length === 0) return !1;
|
|
2685
2685
|
const D = m.selectedActionsMap.get(C);
|
|
2686
2686
|
if (!D) return !1;
|
|
2687
|
-
const F = p.filter((
|
|
2687
|
+
const F = p.filter((U) => D.has(U));
|
|
2688
2688
|
return F.length > 0 && F.length < p.length;
|
|
2689
2689
|
}
|
|
2690
2690
|
function O(m, C, v) {
|
|
@@ -2694,7 +2694,7 @@ function Ir(e, t, n, s) {
|
|
|
2694
2694
|
const {
|
|
2695
2695
|
category: D,
|
|
2696
2696
|
showByFeatureFlag: F,
|
|
2697
|
-
isCategoryCover:
|
|
2697
|
+
isCategoryCover: U,
|
|
2698
2698
|
...ae
|
|
2699
2699
|
} = p, L = e.value.filter((T) => T.subject !== C);
|
|
2700
2700
|
L.push(ae), s("update:model-value", L);
|
|
@@ -2708,14 +2708,14 @@ function Ir(e, t, n, s) {
|
|
|
2708
2708
|
const v = m.permissionActionsMap.get(C);
|
|
2709
2709
|
return v ? v.some((p) => p !== "manage") : !1;
|
|
2710
2710
|
}
|
|
2711
|
-
function
|
|
2711
|
+
function w(m, C, v) {
|
|
2712
2712
|
const p = m.selectedActionsMap.get(C);
|
|
2713
2713
|
return p ? p.has(v) : !1;
|
|
2714
2714
|
}
|
|
2715
2715
|
function V(m, C) {
|
|
2716
2716
|
return !m.coverSubject || C === m.coverSubject ? !1 : m.coverCoversAll;
|
|
2717
2717
|
}
|
|
2718
|
-
function
|
|
2718
|
+
function y(m, C, v) {
|
|
2719
2719
|
return !m.coverSubject || C === m.coverSubject ? !1 : m.coverCoversAll ? !0 : m.coverSelectedActions.has(v);
|
|
2720
2720
|
}
|
|
2721
2721
|
function A(m, C, v) {
|
|
@@ -2723,27 +2723,27 @@ function Ir(e, t, n, s) {
|
|
|
2723
2723
|
return p ? p.includes(v) : !1;
|
|
2724
2724
|
}
|
|
2725
2725
|
function i(m, C, v) {
|
|
2726
|
-
const p = [...e.value], D = p.findIndex((
|
|
2726
|
+
const p = [...e.value], D = p.findIndex((U) => U.subject === m && !U.inverted);
|
|
2727
2727
|
if (v)
|
|
2728
2728
|
if (D >= 0) {
|
|
2729
|
-
const
|
|
2730
|
-
ae.add(C),
|
|
2729
|
+
const U = { ...p[D] }, ae = new Set(U.actions);
|
|
2730
|
+
ae.add(C), U.actions = Array.from(ae), p[D] = U;
|
|
2731
2731
|
} else {
|
|
2732
|
-
const
|
|
2733
|
-
if (!
|
|
2732
|
+
const U = t.value.find((Z) => Z.subject === m);
|
|
2733
|
+
if (!U) return;
|
|
2734
2734
|
const {
|
|
2735
2735
|
category: ae,
|
|
2736
2736
|
showByFeatureFlag: L,
|
|
2737
2737
|
isCategoryCover: T,
|
|
2738
|
-
...
|
|
2739
|
-
} =
|
|
2740
|
-
p.push({ ...
|
|
2738
|
+
...M
|
|
2739
|
+
} = U;
|
|
2740
|
+
p.push({ ...M, actions: [C] });
|
|
2741
2741
|
}
|
|
2742
2742
|
else if (D >= 0) {
|
|
2743
|
-
const
|
|
2744
|
-
ae.length === 0 ? p.splice(D, 1) : (
|
|
2743
|
+
const U = { ...p[D] }, ae = U.actions.filter((L) => L !== C);
|
|
2744
|
+
ae.length === 0 ? p.splice(D, 1) : (U.actions = ae, p[D] = U);
|
|
2745
2745
|
}
|
|
2746
|
-
const F = t.value.find((
|
|
2746
|
+
const F = t.value.find((U) => U.subject === m);
|
|
2747
2747
|
F && Ln(p, m, F.actions), s("update:model-value", p);
|
|
2748
2748
|
}
|
|
2749
2749
|
function f(m, C) {
|
|
@@ -2751,44 +2751,44 @@ function Ir(e, t, n, s) {
|
|
|
2751
2751
|
(p) => A(m, p.value, C)
|
|
2752
2752
|
);
|
|
2753
2753
|
return v.length === 0 ? !1 : v.every(
|
|
2754
|
-
(p) =>
|
|
2754
|
+
(p) => w(m, p.value, C) || y(m, p.value, C)
|
|
2755
2755
|
);
|
|
2756
2756
|
}
|
|
2757
|
-
function
|
|
2757
|
+
function N(m, C) {
|
|
2758
2758
|
const v = m.options.filter(
|
|
2759
2759
|
(D) => A(m, D.value, C)
|
|
2760
2760
|
);
|
|
2761
2761
|
if (v.length === 0) return !1;
|
|
2762
2762
|
const p = v.filter(
|
|
2763
|
-
(D) =>
|
|
2763
|
+
(D) => w(m, D.value, C) || y(m, D.value, C)
|
|
2764
2764
|
).length;
|
|
2765
2765
|
return p > 0 && p < v.length;
|
|
2766
2766
|
}
|
|
2767
|
-
function
|
|
2767
|
+
function h(m, C, v) {
|
|
2768
2768
|
const p = [...e.value];
|
|
2769
2769
|
for (const D of m.options) {
|
|
2770
2770
|
if (!A(m, D.value, C)) continue;
|
|
2771
|
-
const F = D.value,
|
|
2771
|
+
const F = D.value, U = p.findIndex(
|
|
2772
2772
|
(L) => L.subject === F && !L.inverted
|
|
2773
2773
|
);
|
|
2774
2774
|
if (v)
|
|
2775
|
-
if (
|
|
2776
|
-
const L = { ...p[
|
|
2777
|
-
T.add(C), L.actions = Array.from(T), p[
|
|
2775
|
+
if (U >= 0) {
|
|
2776
|
+
const L = { ...p[U] }, T = new Set(L.actions);
|
|
2777
|
+
T.add(C), L.actions = Array.from(T), p[U] = L;
|
|
2778
2778
|
} else {
|
|
2779
2779
|
const L = t.value.find((G) => G.subject === F);
|
|
2780
2780
|
if (!L) continue;
|
|
2781
2781
|
const {
|
|
2782
2782
|
category: T,
|
|
2783
|
-
showByFeatureFlag:
|
|
2783
|
+
showByFeatureFlag: M,
|
|
2784
2784
|
isCategoryCover: Z,
|
|
2785
2785
|
...x
|
|
2786
2786
|
} = L;
|
|
2787
2787
|
p.push({ ...x, actions: [C] });
|
|
2788
2788
|
}
|
|
2789
|
-
else if (
|
|
2790
|
-
const L = { ...p[
|
|
2791
|
-
T.length === 0 ? p.splice(
|
|
2789
|
+
else if (U >= 0) {
|
|
2790
|
+
const L = { ...p[U] }, T = L.actions.filter((M) => M !== C);
|
|
2791
|
+
T.length === 0 ? p.splice(U, 1) : (L.actions = T, p[U] = L);
|
|
2792
2792
|
}
|
|
2793
2793
|
const ae = t.value.find((L) => L.subject === F);
|
|
2794
2794
|
ae && Ln(p, F, ae.actions);
|
|
@@ -2808,28 +2808,28 @@ function Ir(e, t, n, s) {
|
|
|
2808
2808
|
toggleCategory: c,
|
|
2809
2809
|
isAllManageChecked: d,
|
|
2810
2810
|
toggleAllManage: u,
|
|
2811
|
-
isManageChecked:
|
|
2811
|
+
isManageChecked: g,
|
|
2812
2812
|
isManageIndeterminate: k,
|
|
2813
2813
|
toggleManage: O,
|
|
2814
2814
|
hasNonManageActions: I,
|
|
2815
|
-
isActionChecked:
|
|
2815
|
+
isActionChecked: w,
|
|
2816
2816
|
isRowFullyCoveredByCover: V,
|
|
2817
|
-
isActionCoveredByCover:
|
|
2817
|
+
isActionCoveredByCover: y,
|
|
2818
2818
|
permissionDefinesAction: A,
|
|
2819
2819
|
toggleAction: i,
|
|
2820
2820
|
isAllActionChecked: f,
|
|
2821
|
-
isAllActionIndeterminate:
|
|
2822
|
-
toggleAllAction:
|
|
2821
|
+
isAllActionIndeterminate: N,
|
|
2822
|
+
toggleAllAction: h,
|
|
2823
2823
|
actionLabel: R
|
|
2824
2824
|
};
|
|
2825
2825
|
}
|
|
2826
|
-
const
|
|
2826
|
+
const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
2827
2827
|
key: 1,
|
|
2828
2828
|
class: "space-y-16"
|
|
2829
|
-
}, kr = { class: "flex items-end justify-between" }, Tr = { class: "fm-typo-en-title-sm-600" }, Or = { class: "flex" }, Lr = { class: "form-input" }, Cr = { class: "flex items-center justify-between q-mb-xs" }, Rr = { class: "flex shrink-0" }, Ar = { class: "flex items-center justify-between gap-4" }, Sr = { class: "flex items-center min-w-0 flex-1 gap-8" }, Dr = ["title", "onClick"],
|
|
2829
|
+
}, kr = { class: "flex items-end justify-between" }, Tr = { class: "fm-typo-en-title-sm-600" }, Or = { class: "flex" }, Lr = { class: "form-input" }, Cr = { class: "flex items-center justify-between q-mb-xs" }, Rr = { class: "flex shrink-0" }, Ar = { class: "flex items-center justify-between gap-4" }, Sr = { class: "flex items-center min-w-0 flex-1 gap-8" }, Dr = ["title", "onClick"], Mr = {
|
|
2830
2830
|
key: 0,
|
|
2831
2831
|
class: "flex shrink-0"
|
|
2832
|
-
},
|
|
2832
|
+
}, wr = /* @__PURE__ */ ye({
|
|
2833
2833
|
__name: "BasePermission",
|
|
2834
2834
|
props: {
|
|
2835
2835
|
modelValue: {
|
|
@@ -2856,18 +2856,18 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
2856
2856
|
toggleCategory: c,
|
|
2857
2857
|
isAllManageChecked: d,
|
|
2858
2858
|
toggleAllManage: u,
|
|
2859
|
-
isManageChecked:
|
|
2859
|
+
isManageChecked: g,
|
|
2860
2860
|
isManageIndeterminate: k,
|
|
2861
2861
|
toggleManage: O,
|
|
2862
2862
|
hasNonManageActions: I,
|
|
2863
|
-
isActionChecked:
|
|
2863
|
+
isActionChecked: w,
|
|
2864
2864
|
isRowFullyCoveredByCover: V,
|
|
2865
|
-
isActionCoveredByCover:
|
|
2865
|
+
isActionCoveredByCover: y,
|
|
2866
2866
|
permissionDefinesAction: A,
|
|
2867
2867
|
toggleAction: i,
|
|
2868
2868
|
isAllActionChecked: f,
|
|
2869
|
-
isAllActionIndeterminate:
|
|
2870
|
-
toggleAllAction:
|
|
2869
|
+
isAllActionIndeterminate: N,
|
|
2870
|
+
toggleAllAction: h,
|
|
2871
2871
|
actionLabel: S
|
|
2872
2872
|
} = Ir(
|
|
2873
2873
|
Qt(n, "modelValue"),
|
|
@@ -2877,100 +2877,100 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
2877
2877
|
);
|
|
2878
2878
|
return (R, m) => {
|
|
2879
2879
|
const C = Ye("FmCheckbox");
|
|
2880
|
-
return
|
|
2881
|
-
(
|
|
2880
|
+
return H(), ee("div", Nr, [
|
|
2881
|
+
(H(!0), ee(Ie, null, pe(B(a), (v) => (H(), ee(Ie, {
|
|
2882
2882
|
key: v.category
|
|
2883
2883
|
}, [
|
|
2884
|
-
v.isMultiAction ? (
|
|
2884
|
+
v.isMultiAction ? (H(), ee("div", yr, [
|
|
2885
2885
|
te("div", kr, [
|
|
2886
2886
|
te("div", Tr, Ae(v.category), 1),
|
|
2887
2887
|
te("div", Or, [
|
|
2888
|
-
(
|
|
2888
|
+
(H(!0), ee(Ie, null, pe(v.actionColumns, (p) => (H(), ee("span", {
|
|
2889
2889
|
key: p,
|
|
2890
2890
|
class: "w-[56px] text-center fm-typo-en-body-sm-400 text-fm-color-neutral-gray-600"
|
|
2891
|
-
}, Ae(
|
|
2891
|
+
}, Ae(B(S)(p)), 1))), 128))
|
|
2892
2892
|
])
|
|
2893
2893
|
]),
|
|
2894
2894
|
te("div", Lr, [
|
|
2895
2895
|
te("div", Cr, [
|
|
2896
2896
|
de(C, {
|
|
2897
|
-
"model-value":
|
|
2897
|
+
"model-value": B(d)(v),
|
|
2898
2898
|
value: !0,
|
|
2899
2899
|
disabled: e.disable,
|
|
2900
2900
|
label: "All",
|
|
2901
2901
|
size: "sm",
|
|
2902
2902
|
dense: "",
|
|
2903
|
-
"onUpdate:modelValue": (p) =>
|
|
2903
|
+
"onUpdate:modelValue": (p) => B(u)(v)
|
|
2904
2904
|
}, null, 8, ["model-value", "disabled", "onUpdate:modelValue"]),
|
|
2905
2905
|
te("div", Rr, [
|
|
2906
|
-
(
|
|
2906
|
+
(H(!0), ee(Ie, null, pe(v.actionColumns, (p) => (H(), ee("div", {
|
|
2907
2907
|
key: p,
|
|
2908
2908
|
class: "w-[56px] flex justify-center"
|
|
2909
2909
|
}, [
|
|
2910
2910
|
de(C, {
|
|
2911
|
-
"model-value":
|
|
2912
|
-
indeterminate:
|
|
2911
|
+
"model-value": B(f)(v, p),
|
|
2912
|
+
indeterminate: B(N)(v, p),
|
|
2913
2913
|
value: p,
|
|
2914
2914
|
disabled: e.disable,
|
|
2915
2915
|
size: "sm",
|
|
2916
2916
|
dense: "",
|
|
2917
|
-
"onUpdate:modelValue": (D) =>
|
|
2917
|
+
"onUpdate:modelValue": (D) => B(h)(v, p, D)
|
|
2918
2918
|
}, null, 8, ["model-value", "indeterminate", "value", "disabled", "onUpdate:modelValue"])
|
|
2919
2919
|
]))), 128))
|
|
2920
2920
|
])
|
|
2921
2921
|
]),
|
|
2922
|
-
(
|
|
2922
|
+
(H(!0), ee(Ie, null, pe(v.options, (p, D) => (H(), ee("div", {
|
|
2923
2923
|
key: p.value,
|
|
2924
2924
|
class: qe(D < v.options.length - 1 ? "q-mb-xs" : "")
|
|
2925
2925
|
}, [
|
|
2926
2926
|
te("div", Ar, [
|
|
2927
2927
|
te("div", Sr, [
|
|
2928
2928
|
de(C, {
|
|
2929
|
-
"model-value":
|
|
2929
|
+
"model-value": B(g)(v, p.value) || B(V)(v, p.value),
|
|
2930
2930
|
value: p.value,
|
|
2931
|
-
disabled: e.disable ||
|
|
2932
|
-
indeterminate:
|
|
2931
|
+
disabled: e.disable || B(V)(v, p.value),
|
|
2932
|
+
indeterminate: B(k)(v, p.value),
|
|
2933
2933
|
size: "sm",
|
|
2934
2934
|
class: "shrink-0",
|
|
2935
|
-
"onUpdate:modelValue": (F) =>
|
|
2935
|
+
"onUpdate:modelValue": (F) => B(O)(v, p.value, F)
|
|
2936
2936
|
}, null, 8, ["model-value", "value", "disabled", "indeterminate", "onUpdate:modelValue"]),
|
|
2937
2937
|
te("span", {
|
|
2938
2938
|
class: "block truncate cursor-pointer",
|
|
2939
2939
|
title: p.label,
|
|
2940
|
-
onClick: (F) => !e.disable && !
|
|
2940
|
+
onClick: (F) => !e.disable && !B(V)(v, p.value) && B(O)(v, p.value, !B(g)(v, p.value))
|
|
2941
2941
|
}, Ae(p.label), 9, Dr),
|
|
2942
|
-
|
|
2942
|
+
ge(R.$slots, `checkbox-${p.value}-append`, { option: p })
|
|
2943
2943
|
]),
|
|
2944
|
-
|
|
2945
|
-
(
|
|
2944
|
+
B(I)(v, p.value) ? (H(), ee("div", Mr, [
|
|
2945
|
+
(H(!0), ee(Ie, null, pe(v.actionColumns, (F) => (H(), ee("div", {
|
|
2946
2946
|
key: F,
|
|
2947
2947
|
class: "w-[56px] flex justify-center"
|
|
2948
2948
|
}, [
|
|
2949
|
-
|
|
2949
|
+
B(A)(v, p.value, F) ? (H(), Se(C, {
|
|
2950
2950
|
key: 0,
|
|
2951
|
-
"model-value":
|
|
2951
|
+
"model-value": B(w)(v, p.value, F) || B(y)(v, p.value, F),
|
|
2952
2952
|
value: F,
|
|
2953
|
-
disabled: e.disable ||
|
|
2953
|
+
disabled: e.disable || B(y)(v, p.value, F),
|
|
2954
2954
|
size: "sm",
|
|
2955
|
-
"onUpdate:modelValue": (
|
|
2955
|
+
"onUpdate:modelValue": (U) => B(i)(p.value, F, U)
|
|
2956
2956
|
}, null, 8, ["model-value", "value", "disabled", "onUpdate:modelValue"])) : Oe("", !0)
|
|
2957
2957
|
]))), 128))
|
|
2958
2958
|
])) : Oe("", !0)
|
|
2959
2959
|
])
|
|
2960
2960
|
], 2))), 128))
|
|
2961
2961
|
])
|
|
2962
|
-
])) : (
|
|
2962
|
+
])) : (H(), Se(Kt, {
|
|
2963
2963
|
key: 0,
|
|
2964
2964
|
"model-value": v.selectedSubjects,
|
|
2965
2965
|
options: v.options,
|
|
2966
2966
|
disable: e.disable,
|
|
2967
2967
|
title: v.category,
|
|
2968
|
-
"onUpdate:modelValue": (p) =>
|
|
2968
|
+
"onUpdate:modelValue": (p) => B(c)(v.category, p)
|
|
2969
2969
|
}, Fe({ _: 2 }, [
|
|
2970
2970
|
pe(v.options, (p) => ({
|
|
2971
2971
|
name: `checkbox-${p.value}-append`,
|
|
2972
|
-
fn:
|
|
2973
|
-
|
|
2972
|
+
fn: he(({ option: D }) => [
|
|
2973
|
+
ge(R.$slots, `checkbox-${p.value}-append`, { option: D })
|
|
2974
2974
|
])
|
|
2975
2975
|
}))
|
|
2976
2976
|
]), 1032, ["model-value", "options", "disable", "title", "onUpdate:modelValue"]))
|
|
@@ -2978,14 +2978,14 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
2978
2978
|
]);
|
|
2979
2979
|
};
|
|
2980
2980
|
}
|
|
2981
|
-
}), Pr = { class: "flex items-center" }, Fr = { class: "ml-auto" },
|
|
2981
|
+
}), Pr = { class: "flex items-center" }, Fr = { class: "ml-auto" }, jr = /* @__PURE__ */ ye({
|
|
2982
2982
|
__name: "CollapsibleWrapper",
|
|
2983
2983
|
props: {
|
|
2984
2984
|
title: { default: "" },
|
|
2985
2985
|
initiallyCollapsed: { type: Boolean, default: !1 }
|
|
2986
2986
|
},
|
|
2987
2987
|
setup(e) {
|
|
2988
|
-
const n =
|
|
2988
|
+
const n = Ue(e.initiallyCollapsed), s = Ue(), l = Ue(0);
|
|
2989
2989
|
let a;
|
|
2990
2990
|
function c() {
|
|
2991
2991
|
n.value = !n.value;
|
|
@@ -2999,12 +2999,12 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
2999
2999
|
}), a.observe(s.value));
|
|
3000
3000
|
}), An(() => {
|
|
3001
3001
|
a == null || a.disconnect();
|
|
3002
|
-
}), (u,
|
|
3002
|
+
}), (u, g) => {
|
|
3003
3003
|
const k = Ye("FmButton");
|
|
3004
|
-
return
|
|
3004
|
+
return H(), ee(Ie, null, [
|
|
3005
3005
|
te("div", { onClick: c }, [
|
|
3006
3006
|
te("div", Pr, [
|
|
3007
|
-
|
|
3007
|
+
ge(u.$slots, "title"),
|
|
3008
3008
|
te("div", Fr, [
|
|
3009
3009
|
de(k, {
|
|
3010
3010
|
icon: n.value ? "keyboard_arrow_down" : "keyboard_arrow_up",
|
|
@@ -3021,12 +3021,12 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3021
3021
|
class: "transition-all duration-300 ease-in-out overflow-hidden",
|
|
3022
3022
|
style: ct({ maxHeight: n.value ? "0" : l.value + "px" })
|
|
3023
3023
|
}, [
|
|
3024
|
-
|
|
3024
|
+
ge(u.$slots, "default")
|
|
3025
3025
|
], 4)
|
|
3026
3026
|
], 64);
|
|
3027
3027
|
};
|
|
3028
3028
|
}
|
|
3029
|
-
}),
|
|
3029
|
+
}), Ur = { class: "fm-typo-en-title-sm-600" }, Rt = "includedFuture", Rn = /* @__PURE__ */ ye({
|
|
3030
3030
|
__name: "ConditionPermission",
|
|
3031
3031
|
props: {
|
|
3032
3032
|
modelValue: {
|
|
@@ -3056,27 +3056,27 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3056
3056
|
disable: !!n.modelValue && n.options.length > n.modelValue.length
|
|
3057
3057
|
},
|
|
3058
3058
|
...n.options.filter(
|
|
3059
|
-
(
|
|
3059
|
+
(g) => g.label.toLocaleLowerCase().includes(u.value.toLocaleLowerCase())
|
|
3060
3060
|
)
|
|
3061
|
-
]), c = q(() => n.modelValue ? n.modelValue : [Rt, ...n.options.map((
|
|
3062
|
-
function d(
|
|
3063
|
-
const k =
|
|
3064
|
-
s("update:model-value", k ? null :
|
|
3061
|
+
]), c = q(() => n.modelValue ? n.modelValue : [Rt, ...n.options.map((g) => g.value)]);
|
|
3062
|
+
function d(g) {
|
|
3063
|
+
const k = g.length === a.value.length;
|
|
3064
|
+
s("update:model-value", k ? null : g.filter((O) => O !== Rt));
|
|
3065
3065
|
}
|
|
3066
|
-
const u =
|
|
3067
|
-
return (
|
|
3066
|
+
const u = Ue("");
|
|
3067
|
+
return (g, k) => {
|
|
3068
3068
|
const O = Ye("fm-search");
|
|
3069
|
-
return
|
|
3070
|
-
title:
|
|
3071
|
-
te("p",
|
|
3069
|
+
return H(), Se(jr, null, {
|
|
3070
|
+
title: he(() => [
|
|
3071
|
+
te("p", Ur, Ae(B(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
3072
3072
|
]),
|
|
3073
|
-
default:
|
|
3074
|
-
e.options.length > 1 ? (
|
|
3073
|
+
default: he(() => [
|
|
3074
|
+
e.options.length > 1 ? (H(), Se(O, {
|
|
3075
3075
|
key: 0,
|
|
3076
3076
|
modelValue: u.value,
|
|
3077
3077
|
"onUpdate:modelValue": k[0] || (k[0] = (I) => u.value = I),
|
|
3078
3078
|
class: "mt-16",
|
|
3079
|
-
placeholder:
|
|
3079
|
+
placeholder: B(l)("team.memberForm.permissions.search", { context: e.context })
|
|
3080
3080
|
}, null, 8, ["modelValue", "placeholder"])) : Oe("", !0),
|
|
3081
3081
|
de(Kt, {
|
|
3082
3082
|
"model-value": c.value,
|
|
@@ -3091,8 +3091,8 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3091
3091
|
}, Fe({ _: 2 }, [
|
|
3092
3092
|
pe(a.value, (I) => ({
|
|
3093
3093
|
name: `checkbox-${I.value}-append`,
|
|
3094
|
-
fn:
|
|
3095
|
-
|
|
3094
|
+
fn: he(({ option: w }) => [
|
|
3095
|
+
ge(g.$slots, `checkbox-${I.value}-append`, { option: w })
|
|
3096
3096
|
])
|
|
3097
3097
|
}))
|
|
3098
3098
|
]), 1032, ["model-value", "options", "disable"])
|
|
@@ -3101,7 +3101,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3101
3101
|
});
|
|
3102
3102
|
};
|
|
3103
3103
|
}
|
|
3104
|
-
}), At = "includedNewRole", Vr = /* @__PURE__ */
|
|
3104
|
+
}), At = "includedNewRole", Vr = /* @__PURE__ */ ye({
|
|
3105
3105
|
__name: "PosRolePermission",
|
|
3106
3106
|
props: {
|
|
3107
3107
|
modelValue: {
|
|
@@ -3131,30 +3131,30 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3131
3131
|
value: At,
|
|
3132
3132
|
disable: !!n.modelValue && n.roles.length > n.modelValue.length
|
|
3133
3133
|
},
|
|
3134
|
-
...n.roles.map((
|
|
3135
|
-
label:
|
|
3136
|
-
value:
|
|
3137
|
-
disable: !!u &&
|
|
3134
|
+
...n.roles.map((g) => ({
|
|
3135
|
+
label: g.name,
|
|
3136
|
+
value: g._id,
|
|
3137
|
+
disable: !!u && g.restaurants.every(({ id: k }) => !u.includes(k))
|
|
3138
3138
|
}))
|
|
3139
3139
|
];
|
|
3140
3140
|
}), c = q(() => n.modelValue ? n.modelValue : [At, ...n.roles.map((u) => u._id)]);
|
|
3141
3141
|
function d(u) {
|
|
3142
|
-
const
|
|
3143
|
-
s("update:model-value",
|
|
3142
|
+
const g = u.length === a.value.length;
|
|
3143
|
+
s("update:model-value", g ? null : u.filter((k) => k !== At));
|
|
3144
3144
|
}
|
|
3145
|
-
return (u,
|
|
3145
|
+
return (u, g) => (H(), Se(Kt, {
|
|
3146
3146
|
"model-value": c.value,
|
|
3147
3147
|
options: a.value,
|
|
3148
3148
|
"show-intermediate": !1,
|
|
3149
3149
|
"show-all-toggle": !1,
|
|
3150
3150
|
disable: e.disable,
|
|
3151
|
-
title:
|
|
3151
|
+
title: B(l)("team.memberForm.permissions.roles"),
|
|
3152
3152
|
"onUpdate:modelValue": d
|
|
3153
3153
|
}, Fe({ _: 2 }, [
|
|
3154
3154
|
pe(a.value, (k) => ({
|
|
3155
3155
|
name: `checkbox-${k.value}-append`,
|
|
3156
|
-
fn:
|
|
3157
|
-
|
|
3156
|
+
fn: he(({ option: O }) => [
|
|
3157
|
+
ge(u.$slots, `checkbox-${k.value}-append`, { option: O })
|
|
3158
3158
|
])
|
|
3159
3159
|
}))
|
|
3160
3160
|
]), 1032, ["model-value", "options", "disable", "title"]));
|
|
@@ -3163,7 +3163,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3163
3163
|
async readWarehouses() {
|
|
3164
3164
|
return os(await is().get("/warehouses"));
|
|
3165
3165
|
}
|
|
3166
|
-
}, Wr = { class: "flex flex-col gap-32" }, xr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Xr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Yr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Zr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, tl = /* @__PURE__ */
|
|
3166
|
+
}, Wr = { class: "flex flex-col gap-32" }, xr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Xr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Yr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Zr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, tl = /* @__PURE__ */ ye({
|
|
3167
3167
|
__name: "PortalPermissionEditor",
|
|
3168
3168
|
props: /* @__PURE__ */ qt({
|
|
3169
3169
|
disable: {
|
|
@@ -3184,52 +3184,52 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3184
3184
|
function u(L) {
|
|
3185
3185
|
return Dt.find((T) => T.subject === L) ?? d.value.find((T) => T.subject === L);
|
|
3186
3186
|
}
|
|
3187
|
-
const
|
|
3188
|
-
const L = [...Dt, ...d.value].filter((
|
|
3187
|
+
const g = q(() => {
|
|
3188
|
+
const L = [...Dt, ...d.value].filter((M) => !w.includes(M.subject)).map((M) => M.subject);
|
|
3189
3189
|
return as(
|
|
3190
|
-
s.inheritPermissions.map((
|
|
3191
|
-
...
|
|
3192
|
-
permissions:
|
|
3190
|
+
s.inheritPermissions.map((M) => ({
|
|
3191
|
+
...M,
|
|
3192
|
+
permissions: M.permissions.filter((Z) => L.includes(Z.subject))
|
|
3193
3193
|
}))
|
|
3194
|
-
).map((
|
|
3195
|
-
id:
|
|
3196
|
-
setNames:
|
|
3194
|
+
).map((M) => ({
|
|
3195
|
+
id: M.subject,
|
|
3196
|
+
setNames: M.setNames
|
|
3197
3197
|
}));
|
|
3198
3198
|
}), k = q(() => {
|
|
3199
3199
|
const L = s.inheritPermissions.map((T) => ({
|
|
3200
3200
|
...T,
|
|
3201
3201
|
permissions: T.permissions.filter(
|
|
3202
|
-
(
|
|
3202
|
+
(M) => M.subject === ce.Subject.Business.inventory_stock
|
|
3203
3203
|
)
|
|
3204
3204
|
}));
|
|
3205
|
-
return
|
|
3205
|
+
return yt(
|
|
3206
3206
|
L,
|
|
3207
3207
|
"warehouseId",
|
|
3208
|
-
|
|
3208
|
+
y.value.map((T) => T._id)
|
|
3209
3209
|
);
|
|
3210
3210
|
}), O = q(() => {
|
|
3211
3211
|
const L = s.inheritPermissions.map((T) => ({
|
|
3212
3212
|
...T,
|
|
3213
3213
|
permissions: T.permissions.filter(
|
|
3214
|
-
(
|
|
3214
|
+
(M) => M.subject === ce.Subject.Restaurant.restaurant
|
|
3215
3215
|
)
|
|
3216
3216
|
}));
|
|
3217
|
-
return
|
|
3217
|
+
return yt(
|
|
3218
3218
|
L,
|
|
3219
3219
|
"restaurantId",
|
|
3220
|
-
|
|
3220
|
+
N.value.map((T) => T._id)
|
|
3221
3221
|
);
|
|
3222
3222
|
}), I = q(() => {
|
|
3223
3223
|
const L = s.inheritPermissions.map((T) => ({
|
|
3224
3224
|
...T,
|
|
3225
|
-
permissions: T.permissions.filter((
|
|
3225
|
+
permissions: T.permissions.filter((M) => M.subject === ce.Subject.Business.role)
|
|
3226
3226
|
}));
|
|
3227
|
-
return
|
|
3227
|
+
return yt(
|
|
3228
3228
|
L,
|
|
3229
3229
|
"roleId",
|
|
3230
|
-
|
|
3230
|
+
h.value.map((T) => T._id)
|
|
3231
3231
|
);
|
|
3232
|
-
}),
|
|
3232
|
+
}), w = [
|
|
3233
3233
|
ce.Subject.Business.restaurant,
|
|
3234
3234
|
ce.Subject.Business.role,
|
|
3235
3235
|
ce.Subject.Restaurant.restaurant,
|
|
@@ -3237,10 +3237,10 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3237
3237
|
], V = q(() => {
|
|
3238
3238
|
var T;
|
|
3239
3239
|
const L = (T = n.value) == null ? void 0 : T.find(
|
|
3240
|
-
(
|
|
3240
|
+
(M) => M.subject === ce.Subject.Business.inventory_stock
|
|
3241
3241
|
);
|
|
3242
3242
|
return L ? L.conditions ? JSON.parse(L.conditions).warehouseId.$in : null : [];
|
|
3243
|
-
}),
|
|
3243
|
+
}), y = Ue([]), A = q(() => y.value.map((L) => ({
|
|
3244
3244
|
label: L.profile.name,
|
|
3245
3245
|
value: L._id
|
|
3246
3246
|
})));
|
|
@@ -3249,7 +3249,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3249
3249
|
n.value = T;
|
|
3250
3250
|
}
|
|
3251
3251
|
function f(L, T) {
|
|
3252
|
-
let
|
|
3252
|
+
let M = ut(
|
|
3253
3253
|
L.filter((Z) => Z.subject !== ce.Subject.Business.inventory_stock)
|
|
3254
3254
|
);
|
|
3255
3255
|
if (!T || T.length > 0) {
|
|
@@ -3257,14 +3257,14 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3257
3257
|
actions: [ce.Action.manage],
|
|
3258
3258
|
subject: ce.Subject.Business.inventory_stock
|
|
3259
3259
|
};
|
|
3260
|
-
T && (Z.conditions = JSON.stringify({ warehouseId: { $in: T } })),
|
|
3260
|
+
T && (Z.conditions = JSON.stringify({ warehouseId: { $in: T } })), M.push(Z);
|
|
3261
3261
|
}
|
|
3262
|
-
return
|
|
3262
|
+
return M;
|
|
3263
3263
|
}
|
|
3264
|
-
const { restaurants:
|
|
3264
|
+
const { restaurants: N } = ns(), h = ds().roles, S = q(() => N.value.map((L) => ({
|
|
3265
3265
|
label: `${L.profile.code ? L.profile.code + "-" : ""}${L.profile.name}`,
|
|
3266
3266
|
value: L._id
|
|
3267
|
-
}))), R = q(() =>
|
|
3267
|
+
}))), R = q(() => N.value.reduce((L, T) => (L[T._id] = h.value.filter((M) => M.restaurants.some((Z) => Z.id === T._id)).map((M) => M._id), L), {})), m = q(() => rs(n.value));
|
|
3268
3268
|
function C(L) {
|
|
3269
3269
|
const T = p(n.value, L);
|
|
3270
3270
|
n.value = T;
|
|
@@ -3272,7 +3272,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3272
3272
|
const v = q(() => ls(n.value));
|
|
3273
3273
|
function p(L, T) {
|
|
3274
3274
|
var Z;
|
|
3275
|
-
let
|
|
3275
|
+
let M = ut(
|
|
3276
3276
|
L.filter(
|
|
3277
3277
|
(x) => x.subject !== ce.Subject.Business.restaurant && x.subject !== ce.Subject.Restaurant.restaurant
|
|
3278
3278
|
)
|
|
@@ -3283,30 +3283,30 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3283
3283
|
showByFeatureFlag: G,
|
|
3284
3284
|
...W
|
|
3285
3285
|
} = us.restaurant;
|
|
3286
|
-
|
|
3286
|
+
M.push(W);
|
|
3287
3287
|
const X = {
|
|
3288
3288
|
actions: [ce.Action.manage],
|
|
3289
3289
|
subject: ce.Subject.Restaurant.restaurant
|
|
3290
3290
|
};
|
|
3291
|
-
T && (X.conditions = JSON.stringify({ restaurantId: { $in: T } })),
|
|
3291
|
+
T && (X.conditions = JSON.stringify({ restaurantId: { $in: T } })), M.push(X);
|
|
3292
3292
|
}
|
|
3293
3293
|
if (T) {
|
|
3294
3294
|
const x = [
|
|
3295
3295
|
...new Set(T.map((W) => R.value[W]).flatMap((W) => W))
|
|
3296
|
-
], G =
|
|
3297
|
-
x.length !== G.length && (
|
|
3298
|
-
|
|
3296
|
+
], G = h.value.map((W) => W._id);
|
|
3297
|
+
x.length !== G.length && (M = F(
|
|
3298
|
+
M,
|
|
3299
3299
|
(Z = v.value || G) == null ? void 0 : Z.filter((W) => x.includes(W))
|
|
3300
3300
|
));
|
|
3301
3301
|
}
|
|
3302
|
-
return
|
|
3302
|
+
return M;
|
|
3303
3303
|
}
|
|
3304
3304
|
function D(L) {
|
|
3305
3305
|
const T = F(n.value, L);
|
|
3306
3306
|
n.value = T;
|
|
3307
3307
|
}
|
|
3308
3308
|
function F(L, T) {
|
|
3309
|
-
let
|
|
3309
|
+
let M = ut(
|
|
3310
3310
|
L.filter((Z) => Z.subject !== ce.Subject.Business.role)
|
|
3311
3311
|
);
|
|
3312
3312
|
if (T && T.length > 0) {
|
|
@@ -3315,43 +3315,43 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3315
3315
|
subject: ce.Subject.Business.role,
|
|
3316
3316
|
conditions: JSON.stringify({ roleId: { $in: T } })
|
|
3317
3317
|
};
|
|
3318
|
-
|
|
3318
|
+
M.push(Z);
|
|
3319
3319
|
}
|
|
3320
|
-
return
|
|
3320
|
+
return M;
|
|
3321
3321
|
}
|
|
3322
3322
|
Xt(async () => {
|
|
3323
3323
|
await Promise.all([
|
|
3324
|
-
Gr.readWarehouses().then((L) =>
|
|
3324
|
+
Gr.readWarehouses().then((L) => y.value = L),
|
|
3325
3325
|
c()
|
|
3326
3326
|
]);
|
|
3327
3327
|
});
|
|
3328
|
-
const
|
|
3328
|
+
const U = q(() => kt(
|
|
3329
3329
|
n.value,
|
|
3330
3330
|
Tt
|
|
3331
3331
|
).map((T) => {
|
|
3332
3332
|
if (T.inverted) return T;
|
|
3333
|
-
const
|
|
3334
|
-
if (!
|
|
3333
|
+
const M = T.actions;
|
|
3334
|
+
if (!M.includes("manage")) return T;
|
|
3335
3335
|
const Z = u(T.subject);
|
|
3336
3336
|
if (!Z) return T;
|
|
3337
3337
|
const x = Z.actions;
|
|
3338
|
-
return x.length <= 1 || x.filter((W) => !
|
|
3338
|
+
return x.length <= 1 || x.filter((W) => !M.includes(W)).length === 0 ? T : { ...T, actions: [...x] };
|
|
3339
3339
|
}));
|
|
3340
3340
|
function ae(L) {
|
|
3341
3341
|
const T = new Set(
|
|
3342
|
-
|
|
3343
|
-
),
|
|
3342
|
+
U.value.filter((G) => !G.inverted).map((G) => G.subject)
|
|
3343
|
+
), M = new Set(
|
|
3344
3344
|
L.filter((G) => !G.inverted).map((G) => G.subject)
|
|
3345
3345
|
), Z = new Set(
|
|
3346
3346
|
n.value.filter((G) => !G.inverted).map((G) => G.subject)
|
|
3347
3347
|
);
|
|
3348
3348
|
let x = [...n.value];
|
|
3349
3349
|
for (const G of T)
|
|
3350
|
-
|
|
3350
|
+
M.has(G) || (Z.has(G) && (x = x.filter((X) => X.subject !== G)), (!Z.has(G) || kt(
|
|
3351
3351
|
x,
|
|
3352
3352
|
Tt
|
|
3353
3353
|
).some((X) => X.subject === G && !X.inverted)) && !x.some((X) => X.subject === G && X.inverted) && x.push({ subject: G, actions: ["manage"], inverted: !0 }));
|
|
3354
|
-
for (const G of
|
|
3354
|
+
for (const G of M)
|
|
3355
3355
|
if (!T.has(G)) {
|
|
3356
3356
|
const W = x.some((X) => X.subject === G && X.inverted);
|
|
3357
3357
|
if (x = x.filter((X) => !(X.subject === G && X.inverted)), !W && !Z.has(G)) {
|
|
@@ -3359,24 +3359,24 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3359
3359
|
(_e) => _e.subject === G && !_e.inverted
|
|
3360
3360
|
), ve = u(G);
|
|
3361
3361
|
if (ve && X) {
|
|
3362
|
-
const { category: _e, showByFeatureFlag:
|
|
3362
|
+
const { category: _e, showByFeatureFlag: we, ...ne } = ve;
|
|
3363
3363
|
x.push({ ...ne, actions: X.actions });
|
|
3364
3364
|
}
|
|
3365
3365
|
}
|
|
3366
3366
|
}
|
|
3367
|
-
for (const G of
|
|
3367
|
+
for (const G of M) {
|
|
3368
3368
|
if (!T.has(G)) continue;
|
|
3369
|
-
const W =
|
|
3369
|
+
const W = U.value.find(
|
|
3370
3370
|
(ne) => ne.subject === G && !ne.inverted
|
|
3371
3371
|
), X = L.find((ne) => ne.subject === G && !ne.inverted);
|
|
3372
3372
|
if (!W || !X) continue;
|
|
3373
3373
|
const ve = new Set(W.actions), _e = new Set(X.actions);
|
|
3374
3374
|
if (ve.size === _e.size && [...ve].every((ne) => _e.has(ne)))
|
|
3375
3375
|
continue;
|
|
3376
|
-
const
|
|
3377
|
-
if (
|
|
3378
|
-
x[
|
|
3379
|
-
...x[
|
|
3376
|
+
const we = x.findIndex((ne) => ne.subject === G && !ne.inverted);
|
|
3377
|
+
if (we >= 0)
|
|
3378
|
+
x[we] = {
|
|
3379
|
+
...x[we],
|
|
3380
3380
|
actions: Array.from(_e)
|
|
3381
3381
|
};
|
|
3382
3382
|
else {
|
|
@@ -3401,18 +3401,18 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3401
3401
|
l("permissionChanged", L);
|
|
3402
3402
|
},
|
|
3403
3403
|
{ deep: !0 }
|
|
3404
|
-
), (L, T) => (
|
|
3404
|
+
), (L, T) => (H(), ee("div", Wr, [
|
|
3405
3405
|
te("div", xr, [
|
|
3406
|
-
de(
|
|
3407
|
-
"model-value":
|
|
3408
|
-
"excluded-subjects":
|
|
3409
|
-
"additional-permissions":
|
|
3406
|
+
de(wr, {
|
|
3407
|
+
"model-value": U.value,
|
|
3408
|
+
"excluded-subjects": w,
|
|
3409
|
+
"additional-permissions": B(d),
|
|
3410
3410
|
"onUpdate:modelValue": ae
|
|
3411
3411
|
}, Fe({ _: 2 }, [
|
|
3412
|
-
pe(
|
|
3413
|
-
name: `checkbox-${
|
|
3414
|
-
fn:
|
|
3415
|
-
de(it, { item:
|
|
3412
|
+
pe(g.value, (M) => ({
|
|
3413
|
+
name: `checkbox-${M.id}-append`,
|
|
3414
|
+
fn: he(() => [
|
|
3415
|
+
de(it, { item: M }, null, 8, ["item"])
|
|
3416
3416
|
])
|
|
3417
3417
|
}))
|
|
3418
3418
|
]), 1032, ["model-value", "additional-permissions"])
|
|
@@ -3421,13 +3421,13 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3421
3421
|
de(Rn, {
|
|
3422
3422
|
"model-value": V.value,
|
|
3423
3423
|
options: A.value,
|
|
3424
|
-
context:
|
|
3424
|
+
context: B(a)("team.labels.warehouse"),
|
|
3425
3425
|
"onUpdate:modelValue": i
|
|
3426
3426
|
}, Fe({ _: 2 }, [
|
|
3427
|
-
pe(k.value, (
|
|
3428
|
-
name: `checkbox-${
|
|
3429
|
-
fn:
|
|
3430
|
-
de(it, { item:
|
|
3427
|
+
pe(k.value, (M) => ({
|
|
3428
|
+
name: `checkbox-${M.id}-append`,
|
|
3429
|
+
fn: he(() => [
|
|
3430
|
+
de(it, { item: M }, null, 8, ["item"])
|
|
3431
3431
|
])
|
|
3432
3432
|
}))
|
|
3433
3433
|
]), 1032, ["model-value", "options", "context"])
|
|
@@ -3436,28 +3436,28 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3436
3436
|
de(Rn, {
|
|
3437
3437
|
"model-value": m.value,
|
|
3438
3438
|
options: S.value,
|
|
3439
|
-
context:
|
|
3439
|
+
context: B(a)("team.labels.restaurant"),
|
|
3440
3440
|
"onUpdate:modelValue": C
|
|
3441
3441
|
}, Fe({ _: 2 }, [
|
|
3442
|
-
pe(O.value, (
|
|
3443
|
-
name: `checkbox-${
|
|
3444
|
-
fn:
|
|
3445
|
-
de(it, { item:
|
|
3442
|
+
pe(O.value, (M) => ({
|
|
3443
|
+
name: `checkbox-${M.id}-append`,
|
|
3444
|
+
fn: he(() => [
|
|
3445
|
+
de(it, { item: M }, null, 8, ["item"])
|
|
3446
3446
|
])
|
|
3447
3447
|
}))
|
|
3448
3448
|
]), 1032, ["model-value", "options", "context"])
|
|
3449
3449
|
]),
|
|
3450
3450
|
te("div", Zr, [
|
|
3451
3451
|
de(Vr, {
|
|
3452
|
-
roles:
|
|
3452
|
+
roles: B(h),
|
|
3453
3453
|
"model-value": v.value,
|
|
3454
3454
|
"restaurant-ids": m.value,
|
|
3455
3455
|
"onUpdate:modelValue": D
|
|
3456
3456
|
}, Fe({ _: 2 }, [
|
|
3457
|
-
pe(I.value, (
|
|
3458
|
-
name: `checkbox-${
|
|
3459
|
-
fn:
|
|
3460
|
-
de(it, { item:
|
|
3457
|
+
pe(I.value, (M) => ({
|
|
3458
|
+
name: `checkbox-${M.id}-append`,
|
|
3459
|
+
fn: he(() => [
|
|
3460
|
+
de(it, { item: M }, null, 8, ["item"])
|
|
3461
3461
|
])
|
|
3462
3462
|
}))
|
|
3463
3463
|
]), 1032, ["roles", "model-value", "restaurant-ids"])
|