@feedmepos/mf-hrm-portal 2.0.8-dev.17 → 2.0.8-dev.19
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-BNOhL75v.js → AuditLogList-BwXO87D4.js} +5 -5
- package/dist/{EmployeeList-CIVd7TT4.js → EmployeeList-memPGU-S.js} +5 -5
- package/dist/{Main-n4rYlWPw.js → Main-DSMAqUau.js} +9 -9
- package/dist/{Main-DzRNS6is.js → Main-N6Q7Gmy_.js} +4 -4
- package/dist/{Main-DfDLgL31.js → Main-q_gT3UIr.js} +6 -6
- package/dist/{PermissionSetList-MIVMrxD5.js → PermissionSetList-Bh0FqlHT.js} +5 -5
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BbDFemzB.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-B3f06Kpx.js} +537 -537
- package/dist/{RoleList-D-Eckybt.js → RoleList-FhNAXjI9.js} +7 -7
- package/dist/{TeamMemberList-CQ0_XEDl.js → TeamMemberList-kQy-NgkT.js} +8 -8
- package/dist/{TimesheetList-B1rhAA1b.js → TimesheetList-BrQUH58D.js} +7 -7
- package/dist/{app-by6XXDQy.js → app-DG3qS1TM.js} +4 -4
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-pMMbdX3v.js → dayjs.min-IQNr_jJN.js} +1 -1
- package/dist/{employee-BcIA1Cie.js → employee-AAKiSW7R.js} +4 -4
- package/dist/{index-uj01aRCZ.js → index-CRKGw084.js} +1 -1
- package/dist/{index-Di_6eujn.js → index-FoKQ8_0w.js} +2 -2
- package/dist/{iteration-Bx-ZYM-b.js → iteration-D1Az4IpE.js} +1 -1
- package/dist/{lodash-BCTEbnPv.js → lodash-BPJz-8Ja.js} +1 -1
- package/dist/{team-CigHObEk.js → team-BNIF9jOa.js} +1 -1
- package/dist/{timesheet-CtqIEgCP.js → timesheet-eFbQwdWG.js} +3 -3
- package/dist/{useAppStore-Cv7_PUF7.js → useAppStore-Bepv1nhX.js} +1 -1
- package/dist/{useLoading-D_mFwIoX.js → useLoading-C7ZhUGJ-.js} +1 -1
- package/dist/{useReportPermissions-DHhsduxz.js → useReportPermissions-ia-Cp_6x.js} +3 -3
- package/package.json +1 -1
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { getCurrentInstance as xt, inject as
|
|
1
|
+
import { getCurrentInstance as xt, inject as Jn, ref as Ue, shallowRef as Kn, computed as q, watch as St, onMounted as Xt, onUnmounted as An, defineComponent as Ne, h as Sn, createVNode as de, Text as Qn, 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 zn, useSlots as qn, normalizeStyle as ct, normalizeClass as qe, toRef as zt, 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 { a as cs, b as ce, N as us, d as
|
|
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 Nt, z as rs, l as ls, $ as Tt } from "./index-FoKQ8_0w.js";
|
|
5
|
+
import { d as ut, g as os, b as is } from "./iteration-D1Az4IpE.js";
|
|
6
|
+
import { a as cs, b as ce, N as us, d as kt } from "./app-DG3qS1TM.js";
|
|
7
|
+
import { u as ms } from "./index-CRKGw084.js";
|
|
8
|
+
import { u as ds } from "./useAppStore-Bepv1nhX.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) =>
|
|
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) => $(e) && Object.keys(e).length === 0, me = Object.assign, hs = Object.create, Q = (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 : Q());
|
|
17
17
|
function nn(e) {
|
|
18
18
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
19
19
|
}
|
|
20
20
|
const gs = Object.prototype.hasOwnProperty;
|
|
21
|
-
function
|
|
21
|
+
function ye(e, t) {
|
|
22
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",
|
|
25
|
-
function
|
|
24
|
+
const ie = Array.isArray, se = (e) => typeof e == "function", P = (e) => typeof e == "string", oe = (e) => typeof e == "boolean", J = (e) => e !== null && typeof e == "object", bs = (e) => J(e) && se(e.then) && se(e.catch), Dn = Object.prototype.toString, Yt = (e) => Dn.call(e), $ = (e) => Yt(e) === "[object Object]", vs = (e) => e == null ? "" : ie(e) || $(e) && e.toString === Dn ? JSON.stringify(e, null, 2) : String(e);
|
|
25
|
+
function Zt(e, t = "") {
|
|
26
26
|
return e.reduce((n, s, l) => l === 0 ? n + s : n + t + s, "");
|
|
27
27
|
}
|
|
28
28
|
function Es(e, t) {
|
|
29
29
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
30
30
|
}
|
|
31
|
-
const rt = (e) =>
|
|
31
|
+
const rt = (e) => !J(e) || ie(e);
|
|
32
32
|
function mt(e, t) {
|
|
33
33
|
if (rt(e) || rt(t))
|
|
34
34
|
throw new Error("Invalid value");
|
|
@@ -36,7 +36,7 @@ function mt(e, t) {
|
|
|
36
36
|
for (; n.length; ) {
|
|
37
37
|
const { src: s, des: l } = n.pop();
|
|
38
38
|
Object.keys(s).forEach((a) => {
|
|
39
|
-
a !== "__proto__" && (
|
|
39
|
+
a !== "__proto__" && (J(s[a]) && !J(l[a]) && (l[a] = Array.isArray(s[a]) ? [] : Q()), rt(l[a]) || rt(s[a]) ? l[a] = s[a] : n.push({ src: s[a], des: l[a] }));
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -63,24 +63,24 @@ const K = {
|
|
|
63
63
|
UNEXPECTED_EMPTY_LINKED_MODIFIER: 12,
|
|
64
64
|
UNEXPECTED_EMPTY_LINKED_KEY: 13,
|
|
65
65
|
UNEXPECTED_LEXICAL_ANALYSIS: 14
|
|
66
|
-
},
|
|
66
|
+
}, ys = 17;
|
|
67
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 Ns(e) {
|
|
72
72
|
throw e;
|
|
73
73
|
}
|
|
74
|
-
const
|
|
75
|
-
`,
|
|
74
|
+
const ke = " ", Ts = "\r", fe = `
|
|
75
|
+
`, ks = "\u2028", Os = "\u2029";
|
|
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] ===
|
|
79
|
+
const c = (m) => t[m] === Ts && t[m + 1] === fe, d = (m) => t[m] === fe, u = (m) => t[m] === Os, g = (m) => t[m] === ks, T = (m) => c(m) || d(m) || u(m) || g(m), O = () => n, I = () => s, M = () => l, V = () => a, N = (m) => c(m) || u(m) || g(m) ? fe : t[m], A = () => N(n), i = () => N(n + a);
|
|
80
80
|
function f() {
|
|
81
|
-
return a = 0,
|
|
81
|
+
return a = 0, T(n) && (s++, l = 0), c(n) && n++, n++, l++, t[n];
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function y() {
|
|
84
84
|
return c(n + a) && a++, a++, t[n + a];
|
|
85
85
|
}
|
|
86
86
|
function h() {
|
|
@@ -100,11 +100,11 @@ function Ls(e) {
|
|
|
100
100
|
line: I,
|
|
101
101
|
column: M,
|
|
102
102
|
peekOffset: V,
|
|
103
|
-
charAt:
|
|
103
|
+
charAt: N,
|
|
104
104
|
currentChar: A,
|
|
105
105
|
currentPeek: i,
|
|
106
106
|
next: f,
|
|
107
|
-
peek:
|
|
107
|
+
peek: y,
|
|
108
108
|
reset: h,
|
|
109
109
|
resetPeek: S,
|
|
110
110
|
skipToPeek: R
|
|
@@ -124,21 +124,21 @@ function As(e, t = {}) {
|
|
|
124
124
|
braceNest: 0,
|
|
125
125
|
inLinked: !1,
|
|
126
126
|
text: ""
|
|
127
|
-
}, g = () => u, { onError:
|
|
128
|
-
function O(r, o, b, ...
|
|
127
|
+
}, g = () => u, { onError: T } = t;
|
|
128
|
+
function O(r, o, b, ...j) {
|
|
129
129
|
const re = g();
|
|
130
|
-
if (o.column += b, o.offset += b,
|
|
131
|
-
const
|
|
130
|
+
if (o.column += b, o.offset += b, T) {
|
|
131
|
+
const Y = n ? wt(re.startLoc, o) : null, _ = ht(r, Y, {
|
|
132
132
|
domain: Rs,
|
|
133
|
-
args:
|
|
133
|
+
args: j
|
|
134
134
|
});
|
|
135
|
-
|
|
135
|
+
T(_);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
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 = wt(r.startLoc, r.endLoc)), b != null && (j.value = b), j;
|
|
142
142
|
}
|
|
143
143
|
const M = (r) => I(
|
|
144
144
|
r,
|
|
@@ -148,14 +148,14 @@ function As(e, t = {}) {
|
|
|
148
148
|
function V(r, o) {
|
|
149
149
|
return r.currentChar() === o ? (r.next(), o) : (O(K.EXPECTED_TOKEN, a(), 0, o), "");
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function N(r) {
|
|
152
152
|
let o = "";
|
|
153
|
-
for (; r.currentPeek() ===
|
|
153
|
+
for (; r.currentPeek() === ke || 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 = N(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
|
|
175
|
+
function y(r, o) {
|
|
176
176
|
const { currentType: b } = o;
|
|
177
177
|
if (b !== 2)
|
|
178
178
|
return !1;
|
|
179
|
-
|
|
180
|
-
const
|
|
181
|
-
return r.resetPeek(),
|
|
179
|
+
N(r);
|
|
180
|
+
const j = i(r.currentPeek());
|
|
181
|
+
return r.resetPeek(), j;
|
|
182
182
|
}
|
|
183
183
|
function h(r, o) {
|
|
184
184
|
const { currentType: b } = o;
|
|
185
185
|
if (b !== 2)
|
|
186
186
|
return !1;
|
|
187
|
-
|
|
188
|
-
const
|
|
187
|
+
N(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
192
|
const { currentType: b } = o;
|
|
193
193
|
if (b !== 2)
|
|
194
194
|
return !1;
|
|
195
|
-
|
|
196
|
-
const
|
|
197
|
-
return r.resetPeek(),
|
|
195
|
+
N(r);
|
|
196
|
+
const j = r.currentPeek() === sn;
|
|
197
|
+
return r.resetPeek(), j;
|
|
198
198
|
}
|
|
199
199
|
function R(r, o) {
|
|
200
200
|
const { currentType: b } = o;
|
|
201
201
|
if (b !== 7)
|
|
202
202
|
return !1;
|
|
203
|
-
|
|
204
|
-
const
|
|
205
|
-
return r.resetPeek(),
|
|
203
|
+
N(r);
|
|
204
|
+
const j = r.currentPeek() === ".";
|
|
205
|
+
return r.resetPeek(), j;
|
|
206
206
|
}
|
|
207
207
|
function m(r, o) {
|
|
208
208
|
const { currentType: b } = o;
|
|
209
209
|
if (b !== 8)
|
|
210
210
|
return !1;
|
|
211
|
-
|
|
212
|
-
const
|
|
213
|
-
return r.resetPeek(),
|
|
211
|
+
N(r);
|
|
212
|
+
const j = i(r.currentPeek());
|
|
213
|
+
return r.resetPeek(), j;
|
|
214
214
|
}
|
|
215
215
|
function C(r, o) {
|
|
216
216
|
const { currentType: b } = o;
|
|
217
217
|
if (!(b === 7 || b === 11))
|
|
218
218
|
return !1;
|
|
219
|
-
|
|
220
|
-
const
|
|
221
|
-
return r.resetPeek(),
|
|
219
|
+
N(r);
|
|
220
|
+
const j = r.currentPeek() === ":";
|
|
221
|
+
return r.resetPeek(), j;
|
|
222
222
|
}
|
|
223
223
|
function v(r, o) {
|
|
224
224
|
const { currentType: b } = o;
|
|
225
225
|
if (b !== 9)
|
|
226
226
|
return !1;
|
|
227
|
-
const
|
|
228
|
-
const
|
|
229
|
-
return
|
|
230
|
-
}, re =
|
|
227
|
+
const j = () => {
|
|
228
|
+
const Y = r.currentPeek();
|
|
229
|
+
return Y === "{" ? i(r.peek()) : Y === "@" || Y === "|" || Y === ":" || Y === "." || Y === ke || !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
|
+
N(r);
|
|
235
235
|
const o = r.currentPeek() === "|";
|
|
236
236
|
return r.resetPeek(), o;
|
|
237
237
|
}
|
|
238
238
|
function D(r, o = !0) {
|
|
239
|
-
const b = (re = !1,
|
|
239
|
+
const b = (re = !1, Y = "") => {
|
|
240
240
|
const _ = r.currentPeek();
|
|
241
|
-
return _ === "{" || _ === "@" || !_ ? re : _ === "|" ? !(
|
|
242
|
-
},
|
|
243
|
-
return o && r.resetPeek(),
|
|
241
|
+
return _ === "{" || _ === "@" || !_ ? re : _ === "|" ? !(Y === ke || Y === fe) : _ === ke ? (r.peek(), b(!0, ke)) : _ === 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
246
|
const b = r.currentChar();
|
|
247
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);
|
|
@@ -266,14 +266,14 @@ function As(e, t = {}) {
|
|
|
266
266
|
o === 36 || // $
|
|
267
267
|
o === 45;
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function k(r) {
|
|
270
270
|
return F(r, L);
|
|
271
271
|
}
|
|
272
272
|
function w(r) {
|
|
273
273
|
const o = r.charCodeAt(0);
|
|
274
274
|
return o >= 48 && o <= 57;
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function Z(r) {
|
|
277
277
|
return F(r, w);
|
|
278
278
|
}
|
|
279
279
|
function x(r) {
|
|
@@ -287,17 +287,17 @@ function As(e, t = {}) {
|
|
|
287
287
|
}
|
|
288
288
|
function W(r) {
|
|
289
289
|
let o = "", b = "";
|
|
290
|
-
for (; o =
|
|
290
|
+
for (; o = Z(r); )
|
|
291
291
|
b += o;
|
|
292
292
|
return b;
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function X(r) {
|
|
295
295
|
let o = "";
|
|
296
296
|
for (; ; ) {
|
|
297
297
|
const b = r.currentChar();
|
|
298
298
|
if (b === "{" || b === "}" || b === "@" || b === "|" || !b)
|
|
299
299
|
break;
|
|
300
|
-
if (b ===
|
|
300
|
+
if (b === ke || b === fe)
|
|
301
301
|
if (D(r))
|
|
302
302
|
o += b, r.next();
|
|
303
303
|
else {
|
|
@@ -313,7 +313,7 @@ function As(e, t = {}) {
|
|
|
313
313
|
function ve(r) {
|
|
314
314
|
A(r);
|
|
315
315
|
let o = "", b = "";
|
|
316
|
-
for (; o =
|
|
316
|
+
for (; o = k(r); )
|
|
317
317
|
b += o;
|
|
318
318
|
return r.currentChar() === Re && O(K.UNTERMINATED_CLOSING_BRACE, a(), 0), b;
|
|
319
319
|
}
|
|
@@ -330,8 +330,8 @@ function As(e, t = {}) {
|
|
|
330
330
|
let o = "", b = "";
|
|
331
331
|
for (; o = F(r, Me); )
|
|
332
332
|
o === "\\" ? b += Ee(r) : b += o;
|
|
333
|
-
const
|
|
334
|
-
return
|
|
333
|
+
const j = r.currentChar();
|
|
334
|
+
return j === fe || j === Re ? (O(K.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();
|
|
@@ -340,33 +340,33 @@ function As(e, t = {}) {
|
|
|
340
340
|
case "'":
|
|
341
341
|
return r.next(), `\\${o}`;
|
|
342
342
|
case "u":
|
|
343
|
-
return
|
|
343
|
+
return $e(r, o, 4);
|
|
344
344
|
case "U":
|
|
345
|
-
return
|
|
345
|
+
return $e(r, o, 6);
|
|
346
346
|
default:
|
|
347
347
|
return O(K.UNKNOWN_ESCAPE_SEQUENCE, a(), 0, o), "";
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
|
-
function
|
|
350
|
+
function $e(r, o, b) {
|
|
351
351
|
V(r, o);
|
|
352
|
-
let
|
|
352
|
+
let j = "";
|
|
353
353
|
for (let re = 0; re < b; re++) {
|
|
354
|
-
const
|
|
355
|
-
if (!
|
|
356
|
-
O(K.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${
|
|
354
|
+
const Y = G(r);
|
|
355
|
+
if (!Y) {
|
|
356
|
+
O(K.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
|
-
function
|
|
364
|
-
return r !== "{" && r !== "}" && r !==
|
|
363
|
+
function Je(r) {
|
|
364
|
+
return r !== "{" && r !== "}" && r !== ke && r !== fe;
|
|
365
365
|
}
|
|
366
366
|
function vt(r) {
|
|
367
367
|
A(r);
|
|
368
368
|
let o = "", b = "";
|
|
369
|
-
for (; o = F(r,
|
|
369
|
+
for (; o = F(r, Je); )
|
|
370
370
|
b += o;
|
|
371
371
|
return b;
|
|
372
372
|
}
|
|
@@ -378,8 +378,8 @@ function As(e, t = {}) {
|
|
|
378
378
|
}
|
|
379
379
|
function It(r) {
|
|
380
380
|
const o = (b) => {
|
|
381
|
-
const
|
|
382
|
-
return
|
|
381
|
+
const j = r.currentChar();
|
|
382
|
+
return j === "{" || j === "@" || j === "|" || j === "(" || j === ")" || !j || j === ke ? b : (b += j, r.next(), o(b));
|
|
383
383
|
};
|
|
384
384
|
return o("");
|
|
385
385
|
}
|
|
@@ -412,18 +412,18 @@ function As(e, t = {}) {
|
|
|
412
412
|
case "@":
|
|
413
413
|
return o.braceNest > 0 && O(K.UNTERMINATED_CLOSING_BRACE, a(), 0), b = We(r, o) || M(o), o.braceNest = 0, b;
|
|
414
414
|
default: {
|
|
415
|
-
let re = !0,
|
|
415
|
+
let re = !0, Y = !0, _ = !0;
|
|
416
416
|
if (p(r))
|
|
417
417
|
return o.braceNest > 0 && O(K.UNTERMINATED_CLOSING_BRACE, a(), 0), b = I(o, 1, Ke(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(K.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0, Qe(r, o);
|
|
420
|
-
if (re =
|
|
420
|
+
if (re = y(r, o))
|
|
421
421
|
return b = I(o, 4, ve(r)), A(r), b;
|
|
422
|
-
if (
|
|
422
|
+
if (Y = h(r, o))
|
|
423
423
|
return b = I(o, 5, _e(r)), A(r), b;
|
|
424
424
|
if (_ = S(r, o))
|
|
425
425
|
return b = I(o, 6, ne(r)), A(r), b;
|
|
426
|
-
if (!re && !
|
|
426
|
+
if (!re && !Y && !_)
|
|
427
427
|
return b = I(o, 12, vt(r)), O(K.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, b.value), A(r), b;
|
|
428
428
|
break;
|
|
429
429
|
}
|
|
@@ -432,16 +432,16 @@ function As(e, t = {}) {
|
|
|
432
432
|
}
|
|
433
433
|
function We(r, o) {
|
|
434
434
|
const { currentType: b } = o;
|
|
435
|
-
let
|
|
435
|
+
let j = null;
|
|
436
436
|
const re = r.currentChar();
|
|
437
|
-
switch ((b === 7 || b === 8 || b === 11 || b === 9) && (re === fe || re ===
|
|
437
|
+
switch ((b === 7 || b === 8 || b === 11 || b === 9) && (re === fe || re === ke) && O(K.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,7 +457,7 @@ 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, Ke(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(K.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, Qe(r, o));
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
463
|
function Qe(r, o) {
|
|
@@ -485,22 +485,22 @@ function As(e, t = {}) {
|
|
|
485
485
|
if (p(r))
|
|
486
486
|
return b = I(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, b;
|
|
487
487
|
if (D(r))
|
|
488
|
-
return I(o, 0,
|
|
488
|
+
return I(o, 0, X(r));
|
|
489
489
|
break;
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
492
|
return b;
|
|
493
493
|
}
|
|
494
|
-
function
|
|
495
|
-
const { currentType: r, offset: o, startLoc: b, endLoc:
|
|
496
|
-
return u.lastType = r, u.lastOffset = o, u.lastStartLoc = b, u.lastEndLoc =
|
|
494
|
+
function yt() {
|
|
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
|
) : Qe(s, u);
|
|
501
501
|
}
|
|
502
502
|
return {
|
|
503
|
-
nextToken:
|
|
503
|
+
nextToken: yt,
|
|
504
504
|
currentOffset: l,
|
|
505
505
|
currentPosition: a,
|
|
506
506
|
context: g
|
|
@@ -521,103 +521,103 @@ function ws(e, t, n) {
|
|
|
521
521
|
}
|
|
522
522
|
function Ms(e = {}) {
|
|
523
523
|
const t = e.location !== !1, { onError: n } = e;
|
|
524
|
-
function s(i, f,
|
|
524
|
+
function s(i, f, y, h, ...S) {
|
|
525
525
|
const R = i.currentPosition();
|
|
526
526
|
if (R.offset += h, R.column += h, n) {
|
|
527
|
-
const m = t ? wt(
|
|
527
|
+
const m = t ? wt(y, 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,
|
|
534
|
+
function l(i, f, y) {
|
|
535
535
|
const h = { type: i };
|
|
536
|
-
return t && (h.start = f, h.end = f, h.loc = { start:
|
|
536
|
+
return t && (h.start = f, h.end = f, h.loc = { start: y, end: y }), h;
|
|
537
537
|
}
|
|
538
|
-
function a(i, f,
|
|
539
|
-
t && (i.end = f, i.loc && (i.loc.end =
|
|
538
|
+
function a(i, f, y, h) {
|
|
539
|
+
t && (i.end = f, i.loc && (i.loc.end = y));
|
|
540
540
|
}
|
|
541
541
|
function c(i, f) {
|
|
542
|
-
const
|
|
542
|
+
const y = i.context(), h = l(3, y.offset, y.startLoc);
|
|
543
543
|
return h.value = f, a(h, i.currentOffset(), i.currentPosition()), h;
|
|
544
544
|
}
|
|
545
545
|
function d(i, f) {
|
|
546
|
-
const
|
|
546
|
+
const y = i.context(), { lastOffset: h, lastStartLoc: S } = y, 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 y = i.context(), { lastOffset: h, lastStartLoc: S } = y, R = l(4, h, S);
|
|
551
551
|
return R.key = f, i.nextToken(), a(R, i.currentOffset(), i.currentPosition()), R;
|
|
552
552
|
}
|
|
553
553
|
function g(i, f) {
|
|
554
|
-
const
|
|
554
|
+
const y = i.context(), { lastOffset: h, lastStartLoc: S } = y, R = l(9, h, S);
|
|
555
555
|
return R.value = f.replace(Ds, ws), i.nextToken(), a(R, i.currentOffset(), i.currentPosition()), R;
|
|
556
556
|
}
|
|
557
|
-
function
|
|
558
|
-
const f = i.nextToken(),
|
|
559
|
-
return f.type !== 11 ? (s(i, K.UNEXPECTED_EMPTY_LINKED_MODIFIER,
|
|
557
|
+
function T(i) {
|
|
558
|
+
const f = i.nextToken(), y = i.context(), { lastOffset: h, lastStartLoc: S } = y, R = l(8, h, S);
|
|
559
|
+
return f.type !== 11 ? (s(i, K.UNEXPECTED_EMPTY_LINKED_MODIFIER, y.lastStartLoc, 0), R.value = "", a(R, h, S), {
|
|
560
560
|
nextConsumeToken: f,
|
|
561
561
|
node: R
|
|
562
|
-
}) : (f.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
562
|
+
}) : (f.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, y.lastStartLoc, 0, Te(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
|
|
567
|
+
const y = i.context(), h = l(7, y.offset, y.startLoc);
|
|
568
568
|
return h.value = f, a(h, i.currentOffset(), i.currentPosition()), h;
|
|
569
569
|
}
|
|
570
570
|
function I(i) {
|
|
571
|
-
const f = i.context(),
|
|
571
|
+
const f = i.context(), y = l(6, f.offset, f.startLoc);
|
|
572
572
|
let h = i.nextToken();
|
|
573
573
|
if (h.type === 8) {
|
|
574
|
-
const S =
|
|
575
|
-
|
|
574
|
+
const S = T(i);
|
|
575
|
+
y.modifier = S.node, h = S.nextConsumeToken || i.nextToken();
|
|
576
576
|
}
|
|
577
|
-
switch (h.type !== 9 && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0,
|
|
577
|
+
switch (h.type !== 9 && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Te(h)), h = i.nextToken(), h.type === 2 && (h = i.nextToken()), h.type) {
|
|
578
578
|
case 10:
|
|
579
|
-
h.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0,
|
|
579
|
+
h.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Te(h)), y.key = O(i, h.value || "");
|
|
580
580
|
break;
|
|
581
581
|
case 4:
|
|
582
|
-
h.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0,
|
|
582
|
+
h.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Te(h)), y.key = u(i, h.value || "");
|
|
583
583
|
break;
|
|
584
584
|
case 5:
|
|
585
|
-
h.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0,
|
|
585
|
+
h.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Te(h)), y.key = d(i, h.value || "");
|
|
586
586
|
break;
|
|
587
587
|
case 6:
|
|
588
|
-
h.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0,
|
|
588
|
+
h.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Te(h)), y.key = g(i, h.value || "");
|
|
589
589
|
break;
|
|
590
590
|
default: {
|
|
591
591
|
s(i, K.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),
|
|
593
|
+
return R.value = "", a(R, S.offset, S.startLoc), y.key = R, a(y, S.offset, S.startLoc), {
|
|
594
594
|
nextConsumeToken: h,
|
|
595
|
-
node:
|
|
595
|
+
node: y
|
|
596
596
|
};
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
|
-
return a(
|
|
600
|
-
node:
|
|
599
|
+
return a(y, i.currentOffset(), i.currentPosition()), {
|
|
600
|
+
node: y
|
|
601
601
|
};
|
|
602
602
|
}
|
|
603
603
|
function M(i) {
|
|
604
|
-
const f = i.context(),
|
|
604
|
+
const f = i.context(), y = f.currentType === 1 ? i.currentOffset() : f.offset, h = f.currentType === 1 ? f.endLoc : f.startLoc, S = l(2, y, h);
|
|
605
605
|
S.items = [];
|
|
606
606
|
let R = null;
|
|
607
607
|
do {
|
|
608
608
|
const v = R || i.nextToken();
|
|
609
609
|
switch (R = null, v.type) {
|
|
610
610
|
case 0:
|
|
611
|
-
v.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0,
|
|
611
|
+
v.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Te(v)), S.items.push(c(i, v.value || ""));
|
|
612
612
|
break;
|
|
613
613
|
case 5:
|
|
614
|
-
v.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0,
|
|
614
|
+
v.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Te(v)), S.items.push(d(i, v.value || ""));
|
|
615
615
|
break;
|
|
616
616
|
case 4:
|
|
617
|
-
v.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0,
|
|
617
|
+
v.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Te(v)), S.items.push(u(i, v.value || ""));
|
|
618
618
|
break;
|
|
619
619
|
case 6:
|
|
620
|
-
v.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0,
|
|
620
|
+
v.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Te(v)), S.items.push(g(i, v.value || ""));
|
|
621
621
|
break;
|
|
622
622
|
case 7: {
|
|
623
623
|
const p = I(i);
|
|
@@ -629,28 +629,28 @@ 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, y, h) {
|
|
633
633
|
const S = i.context();
|
|
634
634
|
let R = h.items.length === 0;
|
|
635
|
-
const m = l(1, f,
|
|
635
|
+
const m = l(1, f, y);
|
|
636
636
|
m.cases = [], m.cases.push(h);
|
|
637
637
|
do {
|
|
638
638
|
const C = M(i);
|
|
639
639
|
R || (R = C.items.length === 0), m.cases.push(C);
|
|
640
640
|
} while (S.currentType !== 13);
|
|
641
|
-
return R && s(i, K.MUST_HAVE_MESSAGES_IN_PLURAL,
|
|
641
|
+
return R && s(i, K.MUST_HAVE_MESSAGES_IN_PLURAL, y, 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 N(i) {
|
|
644
|
+
const f = i.context(), { offset: y, startLoc: h } = f, S = M(i);
|
|
645
|
+
return f.currentType === 13 ? S : V(i, y, h, S);
|
|
646
646
|
}
|
|
647
647
|
function A(i) {
|
|
648
|
-
const f = As(i, me({}, e)),
|
|
649
|
-
return t && h.loc && (h.loc.source = i), h.body =
|
|
648
|
+
const f = As(i, me({}, e)), y = f.context(), h = l(0, y.offset, y.startLoc);
|
|
649
|
+
return t && h.loc && (h.loc.source = i), h.body = N(f), e.onCacheKey && (h.cacheKey = e.onCacheKey(i)), y.currentType !== 13 && s(f, K.UNEXPECTED_LEXICAL_ANALYSIS, y.lastStartLoc, 0, i[y.offset] || ""), a(h, f.currentOffset(), f.currentPosition()), h;
|
|
650
650
|
}
|
|
651
651
|
return { parse: A };
|
|
652
652
|
}
|
|
653
|
-
function
|
|
653
|
+
function Te(e) {
|
|
654
654
|
if (e.type === 13)
|
|
655
655
|
return "EOF";
|
|
656
656
|
const t = (e.value || "").replace(/\r?\n/gu, "\\n");
|
|
@@ -717,7 +717,7 @@ function Fs(e, t = {}) {
|
|
|
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
|
}
|
|
@@ -734,7 +734,7 @@ function rn(e) {
|
|
|
734
734
|
t.push(s.value);
|
|
735
735
|
}
|
|
736
736
|
if (t.length === e.items.length) {
|
|
737
|
-
e.static =
|
|
737
|
+
e.static = Zt(t);
|
|
738
738
|
for (let n = 0; n < e.items.length; n++) {
|
|
739
739
|
const s = e.items[n];
|
|
740
740
|
(s.type === 3 || s.type === 9) && delete s.value;
|
|
@@ -742,24 +742,24 @@ function rn(e) {
|
|
|
742
742
|
}
|
|
743
743
|
}
|
|
744
744
|
}
|
|
745
|
-
function
|
|
745
|
+
function Xe(e) {
|
|
746
746
|
switch (e.t = e.type, e.type) {
|
|
747
747
|
case 0: {
|
|
748
748
|
const t = e;
|
|
749
|
-
|
|
749
|
+
Xe(t.body), t.b = t.body, delete t.body;
|
|
750
750
|
break;
|
|
751
751
|
}
|
|
752
752
|
case 1: {
|
|
753
753
|
const t = e, n = t.cases;
|
|
754
754
|
for (let s = 0; s < n.length; s++)
|
|
755
|
-
|
|
755
|
+
Xe(n[s]);
|
|
756
756
|
t.c = n, delete t.cases;
|
|
757
757
|
break;
|
|
758
758
|
}
|
|
759
759
|
case 2: {
|
|
760
760
|
const t = e, n = t.items;
|
|
761
761
|
for (let s = 0; s < n.length; s++)
|
|
762
|
-
|
|
762
|
+
Xe(n[s]);
|
|
763
763
|
t.i = n, delete t.items, t.static && (t.s = t.static, delete t.static);
|
|
764
764
|
break;
|
|
765
765
|
}
|
|
@@ -773,7 +773,7 @@ function Ye(e) {
|
|
|
773
773
|
}
|
|
774
774
|
case 6: {
|
|
775
775
|
const t = e;
|
|
776
|
-
|
|
776
|
+
Xe(t.key), t.k = t.key, delete t.key, t.modifier && (Xe(t.modifier), t.m = t.modifier, delete t.modifier);
|
|
777
777
|
break;
|
|
778
778
|
}
|
|
779
779
|
case 5: {
|
|
@@ -789,7 +789,7 @@ function Ye(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,20 +803,20 @@ 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(N, A) {
|
|
807
|
+
c.code += N;
|
|
808
808
|
}
|
|
809
|
-
function g(
|
|
809
|
+
function g(N, A = !0) {
|
|
810
810
|
const i = A ? s : "";
|
|
811
|
-
u(l ? i + " ".repeat(
|
|
811
|
+
u(l ? i + " ".repeat(N) : i);
|
|
812
812
|
}
|
|
813
|
-
function
|
|
813
|
+
function T(N = !0) {
|
|
814
814
|
const A = ++c.indentLevel;
|
|
815
|
-
|
|
815
|
+
N && g(A);
|
|
816
816
|
}
|
|
817
|
-
function O(
|
|
817
|
+
function O(N = !0) {
|
|
818
818
|
const A = --c.indentLevel;
|
|
819
|
-
|
|
819
|
+
N && g(A);
|
|
820
820
|
}
|
|
821
821
|
function I() {
|
|
822
822
|
g(c.indentLevel);
|
|
@@ -824,10 +824,10 @@ function js(e, t) {
|
|
|
824
824
|
return {
|
|
825
825
|
context: d,
|
|
826
826
|
push: u,
|
|
827
|
-
indent:
|
|
827
|
+
indent: T,
|
|
828
828
|
deindent: O,
|
|
829
829
|
newline: I,
|
|
830
|
-
helper: (
|
|
830
|
+
helper: (N) => `_${N}`,
|
|
831
831
|
needIndent: () => c.needIndent
|
|
832
832
|
};
|
|
833
833
|
}
|
|
@@ -836,7 +836,7 @@ function Vs(e, t) {
|
|
|
836
836
|
e.push(`${n(
|
|
837
837
|
"linked"
|
|
838
838
|
/* HelperNameMap.LINKED */
|
|
839
|
-
)}(`),
|
|
839
|
+
)}(`), Ze(e, t.key), t.modifier ? (e.push(", "), Ze(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
|
|
840
840
|
}
|
|
841
841
|
function Gs(e, t) {
|
|
842
842
|
const { helper: n, needIndent: s } = e;
|
|
@@ -845,7 +845,7 @@ function Gs(e, t) {
|
|
|
845
845
|
/* HelperNameMap.NORMALIZE */
|
|
846
846
|
)}([`), e.indent(s());
|
|
847
847
|
const l = t.items.length;
|
|
848
|
-
for (let a = 0; a < l && (
|
|
848
|
+
for (let a = 0; a < l && (Ze(e, t.items[a]), a !== l - 1); a++)
|
|
849
849
|
e.push(", ");
|
|
850
850
|
e.deindent(s()), e.push("])");
|
|
851
851
|
}
|
|
@@ -857,15 +857,15 @@ function Ws(e, t) {
|
|
|
857
857
|
/* HelperNameMap.PLURAL */
|
|
858
858
|
)}([`), e.indent(s());
|
|
859
859
|
const l = t.cases.length;
|
|
860
|
-
for (let a = 0; a < l && (
|
|
860
|
+
for (let a = 0; a < l && (Ze(e, t.cases[a]), a !== l - 1); a++)
|
|
861
861
|
e.push(", ");
|
|
862
862
|
e.deindent(s()), e.push("])");
|
|
863
863
|
}
|
|
864
864
|
}
|
|
865
865
|
function xs(e, t) {
|
|
866
|
-
t.body ?
|
|
866
|
+
t.body ? Ze(e, t.body) : e.push("null");
|
|
867
867
|
}
|
|
868
|
-
function
|
|
868
|
+
function Ze(e, t) {
|
|
869
869
|
const { helper: n } = e;
|
|
870
870
|
switch (t.type) {
|
|
871
871
|
case 0:
|
|
@@ -912,16 +912,16 @@ function Xe(e, t) {
|
|
|
912
912
|
break;
|
|
913
913
|
}
|
|
914
914
|
}
|
|
915
|
-
const
|
|
915
|
+
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
|
-
d.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), d.indent(a), c.length > 0 && (d.push(`const { ${
|
|
924
|
+
d.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), d.indent(a), c.length > 0 && (d.push(`const { ${Zt(c.map((T) => `${T}: _${T}`), ", ")} } = ctx`), d.newline()), d.push("return "), Ze(d, e), d.deindent(a), d.push("}"), delete e.helpers;
|
|
925
925
|
const { code: u, map: g } = d.context();
|
|
926
926
|
return {
|
|
927
927
|
ast: e,
|
|
@@ -930,19 +930,19 @@ const Ys = (e, t = {}) => {
|
|
|
930
930
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
931
931
|
};
|
|
932
932
|
};
|
|
933
|
-
function
|
|
933
|
+
function Ys(e, t = {}) {
|
|
934
934
|
const n = me({}, t), s = !!n.jit, l = !!n.minify, a = n.optimize == null ? !0 : n.optimize, d = Ms(n).parse(e);
|
|
935
|
-
return s ? (a &&
|
|
935
|
+
return s ? (a && js(d), l && Xe(d), { ast: d, code: "" }) : (Fs(d, n), Xs(d, n));
|
|
936
936
|
}
|
|
937
|
-
var
|
|
937
|
+
var Zs = { env: { NODE_ENV: "production" } };
|
|
938
938
|
function Hs() {
|
|
939
|
-
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (
|
|
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
942
|
return (n) => Bs(n, e);
|
|
943
943
|
}
|
|
944
944
|
function Bs(e, t) {
|
|
945
|
-
const n =
|
|
945
|
+
const n = Js(t);
|
|
946
946
|
if (n == null)
|
|
947
947
|
throw et(
|
|
948
948
|
0
|
|
@@ -957,9 +957,9 @@ function Bs(e, t) {
|
|
|
957
957
|
} else
|
|
958
958
|
return ln(e, n);
|
|
959
959
|
}
|
|
960
|
-
const
|
|
961
|
-
function
|
|
962
|
-
return De(e,
|
|
960
|
+
const $s = ["b", "body"];
|
|
961
|
+
function Js(e) {
|
|
962
|
+
return De(e, $s);
|
|
963
963
|
}
|
|
964
964
|
const Ks = ["c", "cases"];
|
|
965
965
|
function Qs(e) {
|
|
@@ -991,17 +991,17 @@ function Mt(e, t) {
|
|
|
991
991
|
return lt(t, n);
|
|
992
992
|
case 4: {
|
|
993
993
|
const s = t;
|
|
994
|
-
if (
|
|
994
|
+
if (ye(s, "k") && s.k)
|
|
995
995
|
return e.interpolate(e.named(s.k));
|
|
996
|
-
if (
|
|
996
|
+
if (ye(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 (ye(s, "i") && ue(s.i))
|
|
1003
1003
|
return e.interpolate(e.list(s.i));
|
|
1004
|
-
if (
|
|
1004
|
+
if (ye(s, "index") && ue(s.index))
|
|
1005
1005
|
return e.interpolate(e.list(s.index));
|
|
1006
1006
|
throw et(n);
|
|
1007
1007
|
}
|
|
@@ -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 (ye(e, l) && e[l] != null)
|
|
1049
1049
|
return e[l];
|
|
1050
1050
|
}
|
|
1051
1051
|
return n;
|
|
@@ -1056,14 +1056,14 @@ function et(e) {
|
|
|
1056
1056
|
const ia = (e) => e;
|
|
1057
1057
|
let ot = Q();
|
|
1058
1058
|
function He(e) {
|
|
1059
|
-
return
|
|
1059
|
+
return J(e) && Bt(e) === 0 && (ye(e, "b") || ye(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 || Ns;
|
|
1064
1064
|
return t.onError = (l) => {
|
|
1065
1065
|
n = !0, s(l);
|
|
1066
|
-
}, { ...
|
|
1066
|
+
}, { ...Ys(e, t), detectError: n };
|
|
1067
1067
|
}
|
|
1068
1068
|
// @__NO_SIDE_EFFECTS__
|
|
1069
1069
|
function ua(e, t) {
|
|
@@ -1074,7 +1074,7 @@ function ua(e, t) {
|
|
|
1074
1074
|
return l;
|
|
1075
1075
|
const { ast: a, detectError: c } = ca(e, {
|
|
1076
1076
|
...t,
|
|
1077
|
-
location:
|
|
1077
|
+
location: Zs.env.NODE_ENV !== "production",
|
|
1078
1078
|
jit: !0
|
|
1079
1079
|
}), d = Ot(a);
|
|
1080
1080
|
return c ? d : ot[s] = d;
|
|
@@ -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: ys,
|
|
1108
1108
|
// 17
|
|
1109
1109
|
INVALID_DATE_ARGUMENT: 18,
|
|
1110
1110
|
INVALID_ISO_DATE_ARGUMENT: 19,
|
|
@@ -1115,7 +1115,7 @@ const Le = {
|
|
|
1115
1115
|
function Ce(e) {
|
|
1116
1116
|
return ht(e, null, void 0);
|
|
1117
1117
|
}
|
|
1118
|
-
function
|
|
1118
|
+
function $t(e, t) {
|
|
1119
1119
|
return t.locale != null ? on(t.locale) : on(e.locale);
|
|
1120
1120
|
}
|
|
1121
1121
|
let Lt;
|
|
@@ -1138,7 +1138,7 @@ function on(e) {
|
|
|
1138
1138
|
function ha(e, t, n) {
|
|
1139
1139
|
return [.../* @__PURE__ */ new Set([
|
|
1140
1140
|
n,
|
|
1141
|
-
...ie(t) ? t :
|
|
1141
|
+
...ie(t) ? t : J(t) ? Object.keys(t) : P(t) ? [t] : [n]
|
|
1142
1142
|
])];
|
|
1143
1143
|
}
|
|
1144
1144
|
function wn(e, t, n) {
|
|
@@ -1150,7 +1150,7 @@ function wn(e, t, n) {
|
|
|
1150
1150
|
let c = [n];
|
|
1151
1151
|
for (; ie(c); )
|
|
1152
1152
|
c = cn(a, c, t);
|
|
1153
|
-
const d = ie(t) ||
|
|
1153
|
+
const d = ie(t) || !$(t) ? t : t.default ? t.default : null;
|
|
1154
1154
|
c = P(d) ? [d] : d, ie(c) && cn(a, c, !1), l.__localeChainCache.set(s, a);
|
|
1155
1155
|
}
|
|
1156
1156
|
return a;
|
|
@@ -1177,7 +1177,7 @@ function ba(e, t, n) {
|
|
|
1177
1177
|
if (!e.includes(t) && (s = !0, t)) {
|
|
1178
1178
|
s = t[t.length - 1] !== "!";
|
|
1179
1179
|
const l = t.replace(/!/g, "");
|
|
1180
|
-
e.push(l), (ie(n) ||
|
|
1180
|
+
e.push(l), (ie(n) || $(n)) && n[l] && (s = n[l]);
|
|
1181
1181
|
}
|
|
1182
1182
|
return s;
|
|
1183
1183
|
}
|
|
@@ -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 ya(e) {
|
|
1354
1354
|
if (e == null)
|
|
1355
1355
|
return "o";
|
|
1356
1356
|
switch (e.charCodeAt(0)) {
|
|
@@ -1375,13 +1375,13 @@ function Na(e) {
|
|
|
1375
1375
|
}
|
|
1376
1376
|
return "i";
|
|
1377
1377
|
}
|
|
1378
|
-
function
|
|
1378
|
+
function Na(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
|
-
function
|
|
1382
|
+
function Ta(e) {
|
|
1383
1383
|
const t = [];
|
|
1384
|
-
let n = -1, s = 0, l = 0, a, c, d, u, g,
|
|
1384
|
+
let n = -1, s = 0, l = 0, a, c, d, u, g, T, 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 = Na(c), c === !1))
|
|
1415
1415
|
return !1;
|
|
1416
1416
|
I[
|
|
1417
1417
|
1
|
|
@@ -1429,21 +1429,21 @@ function ka(e) {
|
|
|
1429
1429
|
}
|
|
1430
1430
|
for (; s !== null; )
|
|
1431
1431
|
if (n++, a = e[n], !(a === "\\" && M())) {
|
|
1432
|
-
if (u =
|
|
1432
|
+
if (u = ya(a), O = we[s], g = O[u] || O.l || 8, g === 8 || (s = g[0], g[1] !== void 0 && (T = I[g[1]], T && (d = a, T() === !1))))
|
|
1433
1433
|
return;
|
|
1434
1434
|
if (s === 7)
|
|
1435
1435
|
return t;
|
|
1436
1436
|
}
|
|
1437
1437
|
}
|
|
1438
1438
|
const un = /* @__PURE__ */ new Map();
|
|
1439
|
-
function
|
|
1440
|
-
return
|
|
1439
|
+
function ka(e, t) {
|
|
1440
|
+
return J(e) ? e[t] : null;
|
|
1441
1441
|
}
|
|
1442
1442
|
function Oa(e, t) {
|
|
1443
|
-
if (
|
|
1443
|
+
if (!J(e))
|
|
1444
1444
|
return null;
|
|
1445
1445
|
let n = un.get(t);
|
|
1446
|
-
if (n || (n =
|
|
1446
|
+
if (n || (n = Ta(t), n && un.set(t, n)), !n)
|
|
1447
1447
|
return null;
|
|
1448
1448
|
const s = n.length;
|
|
1449
1449
|
let l = e, a = 0;
|
|
@@ -1458,9 +1458,9 @@ function Oa(e, t) {
|
|
|
1458
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
|
-
upper: (e, t) => t === "text" && P(e) ? e.toUpperCase() : t === "vnode" &&
|
|
1462
|
-
lower: (e, t) => t === "text" && P(e) ? e.toLowerCase() : t === "vnode" &&
|
|
1463
|
-
capitalize: (e, t) => t === "text" && P(e) ? dn(e) : t === "vnode" &&
|
|
1461
|
+
upper: (e, t) => t === "text" && P(e) ? e.toUpperCase() : t === "vnode" && J(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1462
|
+
lower: (e, t) => t === "text" && P(e) ? e.toLowerCase() : t === "vnode" && J(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
1463
|
+
capitalize: (e, t) => t === "text" && P(e) ? dn(e) : t === "vnode" && J(e) && "__v_isVNode" in e ? dn(e.children) : e
|
|
1464
1464
|
};
|
|
1465
1465
|
}
|
|
1466
1466
|
let Mn;
|
|
@@ -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
|
-
},
|
|
1481
|
+
}, wa = /* @__NO_SIDE_EFFECTS__ */ () => jn;
|
|
1482
|
+
let Un = null;
|
|
1483
|
+
const fn = (e) => {
|
|
1484
|
+
Un = e;
|
|
1485
|
+
}, Ma = () => 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) ||
|
|
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) || $(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = $(e.messages) ? e.messages : Ct(l), d = $(e.datetimeFormats) ? e.datetimeFormats : Ct(l), u = $(e.numberFormats) ? e.numberFormats : Ct(l), g = me(Q(), e.modifiers, Ca()), T = e.pluralRules || Q(), O = se(e.missing) ? e.missing : null, I = oe(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, M = oe(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, V = !!e.fallbackFormat, N = !!e.unresolving, A = se(e.postTranslation) ? e.postTranslation : null, i = $(e.processor) ? e.processor : null, f = oe(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter, h = se(e.messageCompiler) ? e.messageCompiler : Mn, S = se(e.messageResolver) ? e.messageResolver : Pn || ka, R = se(e.localeFallbacker) ? e.localeFallbacker : Fn || ha, m = J(e.fallbackContext) ? e.fallbackContext : void 0, C = e, v = J(C.__datetimeFormatters) ? C.__datetimeFormatters : /* @__PURE__ */ new Map(), p = J(C.__numberFormatters) ? C.__numberFormatters : /* @__PURE__ */ new Map(), D = J(C.__meta) ? C.__meta : {};
|
|
1489
1489
|
_n++;
|
|
1490
1490
|
const F = {
|
|
1491
1491
|
version: n,
|
|
@@ -1494,16 +1494,16 @@ function Pa(e = {}) {
|
|
|
1494
1494
|
fallbackLocale: a,
|
|
1495
1495
|
messages: c,
|
|
1496
1496
|
modifiers: g,
|
|
1497
|
-
pluralRules:
|
|
1497
|
+
pluralRules: T,
|
|
1498
1498
|
missing: O,
|
|
1499
1499
|
missingWarn: I,
|
|
1500
1500
|
fallbackWarn: M,
|
|
1501
1501
|
fallbackFormat: V,
|
|
1502
|
-
unresolving:
|
|
1502
|
+
unresolving: N,
|
|
1503
1503
|
postTranslation: A,
|
|
1504
1504
|
processor: i,
|
|
1505
1505
|
warnHtmlMessage: f,
|
|
1506
|
-
escapeParameter:
|
|
1506
|
+
escapeParameter: y,
|
|
1507
1507
|
messageCompiler: h,
|
|
1508
1508
|
messageResolver: S,
|
|
1509
1509
|
localeFallbacker: R,
|
|
@@ -1514,7 +1514,7 @@ function Pa(e = {}) {
|
|
|
1514
1514
|
return F.datetimeFormats = d, F.numberFormats = u, F.__datetimeFormatters = v, F.__numberFormatters = p, __INTLIFY_PROD_DEVTOOLS__ && da(F, n, D), F;
|
|
1515
1515
|
}
|
|
1516
1516
|
const Ct = (e) => ({ [e]: Q() });
|
|
1517
|
-
function
|
|
1517
|
+
function Jt(e, t, n, s, l) {
|
|
1518
1518
|
const { missing: a, onWarn: c } = e;
|
|
1519
1519
|
if (a !== null) {
|
|
1520
1520
|
const d = a(e, n, t, l);
|
|
@@ -1529,7 +1529,7 @@ function ze(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,9 +1539,9 @@ 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, g,
|
|
1543
|
-
oe(
|
|
1544
|
-
const M = !!
|
|
1542
|
+
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __datetimeFormatters: d } = e, [u, g, T, O] = Pt(...t), I = oe(T.missingWarn) ? T.missingWarn : e.missingWarn;
|
|
1543
|
+
oe(T.fallbackWarn) ? T.fallbackWarn : e.fallbackWarn;
|
|
1544
|
+
const M = !!T.part, V = $t(e, T), N = c(
|
|
1545
1545
|
e,
|
|
1546
1546
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1547
1547
|
l,
|
|
@@ -1550,10 +1550,10 @@ function pn(e, ...t) {
|
|
|
1550
1550
|
if (!P(u) || u === "")
|
|
1551
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
|
-
|
|
1556
|
-
if (
|
|
1553
|
+
const y = "datetime format";
|
|
1554
|
+
for (let R = 0; R < N.length && (i = N[R], A = n[i] || {}, f = A[u], !$(f)); R++)
|
|
1555
|
+
Jt(e, u, i, I, y);
|
|
1556
|
+
if (!$(f) || !P(i))
|
|
1557
1557
|
return s ? gt : u;
|
|
1558
1558
|
let h = `${i}__${u}`;
|
|
1559
1559
|
pt(O) || (h = `${h}__${JSON.stringify(O)}`);
|
|
@@ -1604,9 +1604,9 @@ function Pt(...e) {
|
|
|
1604
1604
|
d = t;
|
|
1605
1605
|
else
|
|
1606
1606
|
throw Ce(Le.INVALID_ARGUMENT);
|
|
1607
|
-
return P(n) ? a.key = n :
|
|
1607
|
+
return P(n) ? a.key = n : $(n) && Object.keys(n).forEach((u) => {
|
|
1608
1608
|
Vn.includes(u) ? c[u] = n[u] : a[u] = n[u];
|
|
1609
|
-
}), P(s) ? a.locale = s :
|
|
1609
|
+
}), P(s) ? a.locale = s : $(s) && (c = s), $(l) && (c = l), [a.key || "", d, a, c];
|
|
1610
1610
|
}
|
|
1611
1611
|
function hn(e, t, n) {
|
|
1612
1612
|
const s = e;
|
|
@@ -1616,9 +1616,9 @@ function hn(e, t, n) {
|
|
|
1616
1616
|
}
|
|
1617
1617
|
}
|
|
1618
1618
|
function gn(e, ...t) {
|
|
1619
|
-
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __numberFormatters: d } = e, [u, g,
|
|
1620
|
-
oe(
|
|
1621
|
-
const M = !!
|
|
1619
|
+
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __numberFormatters: d } = e, [u, g, T, O] = Ft(...t), I = oe(T.missingWarn) ? T.missingWarn : e.missingWarn;
|
|
1620
|
+
oe(T.fallbackWarn) ? T.fallbackWarn : e.fallbackWarn;
|
|
1621
|
+
const M = !!T.part, V = $t(e, T), N = c(
|
|
1622
1622
|
e,
|
|
1623
1623
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1624
1624
|
l,
|
|
@@ -1627,10 +1627,10 @@ function gn(e, ...t) {
|
|
|
1627
1627
|
if (!P(u) || u === "")
|
|
1628
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
|
-
|
|
1633
|
-
if (
|
|
1630
|
+
const y = "number format";
|
|
1631
|
+
for (let R = 0; R < N.length && (i = N[R], A = n[i] || {}, f = A[u], !$(f)); R++)
|
|
1632
|
+
Jt(e, u, i, I, y);
|
|
1633
|
+
if (!$(f) || !P(i))
|
|
1634
1634
|
return s ? gt : u;
|
|
1635
1635
|
let h = `${i}__${u}`;
|
|
1636
1636
|
pt(O) || (h = `${h}__${JSON.stringify(O)}`);
|
|
@@ -1665,9 +1665,9 @@ function Ft(...e) {
|
|
|
1665
1665
|
if (!ue(t))
|
|
1666
1666
|
throw Ce(Le.INVALID_ARGUMENT);
|
|
1667
1667
|
const d = t;
|
|
1668
|
-
return P(n) ? a.key = n :
|
|
1668
|
+
return P(n) ? a.key = n : $(n) && Object.keys(n).forEach((u) => {
|
|
1669
1669
|
Gn.includes(u) ? c[u] = n[u] : a[u] = n[u];
|
|
1670
|
-
}), P(s) ? a.locale = s :
|
|
1670
|
+
}), P(s) ? a.locale = s : $(s) && (c = s), $(l) && (c = l), [a.key || "", d, a, c];
|
|
1671
1671
|
}
|
|
1672
1672
|
function bn(e, t, n) {
|
|
1673
1673
|
const s = e;
|
|
@@ -1676,40 +1676,40 @@ function bn(e, t, n) {
|
|
|
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
|
}
|
|
1683
|
-
function
|
|
1683
|
+
function Xa(e) {
|
|
1684
1684
|
const t = ue(e.pluralIndex) ? e.pluralIndex : -1;
|
|
1685
1685
|
return e.named && (ue(e.named.count) || ue(e.named.n)) ? ue(e.named.count) ? e.named.count : ue(e.named.n) ? e.named.n : t : t;
|
|
1686
1686
|
}
|
|
1687
|
-
function
|
|
1687
|
+
function Ya(e, t) {
|
|
1688
1688
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1689
1689
|
}
|
|
1690
|
-
function
|
|
1691
|
-
const t = e.locale, n =
|
|
1692
|
-
ue(e.pluralIndex) &&
|
|
1690
|
+
function Za(e = {}) {
|
|
1691
|
+
const t = e.locale, n = Xa(e), s = J(e.pluralRules) && P(t) && se(e.pluralRules[t]) ? e.pluralRules[t] : vn, l = J(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 || Q();
|
|
1692
|
+
ue(e.pluralIndex) && Ya(n, u);
|
|
1693
1693
|
const g = (i) => u[i];
|
|
1694
|
-
function
|
|
1695
|
-
const
|
|
1696
|
-
return
|
|
1694
|
+
function T(i, f) {
|
|
1695
|
+
const y = se(e.messages) ? e.messages(i, !!f) : J(e.messages) ? e.messages[i] : !1;
|
|
1696
|
+
return y || (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 = $(e.processor) && se(e.processor.normalize) ? e.processor.normalize : Wa, M = $(e.processor) && se(e.processor.interpolate) ? e.processor.interpolate : xa, V = $(e.processor) && P(e.processor.type) ? e.processor.type : Ga, A = {
|
|
1699
1699
|
list: d,
|
|
1700
1700
|
named: g,
|
|
1701
1701
|
plural: a,
|
|
1702
1702
|
linked: (i, ...f) => {
|
|
1703
|
-
const [
|
|
1703
|
+
const [y, h] = f;
|
|
1704
1704
|
let S = "text", R = "";
|
|
1705
|
-
f.length === 1 ?
|
|
1706
|
-
const m =
|
|
1705
|
+
f.length === 1 ? J(y) ? (R = y.modifier || R, S = y.type || S) : P(y) && (R = y || R) : f.length === 2 && (P(y) && (R = y || R), P(h) && (S = h || S));
|
|
1706
|
+
const m = T(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
|
|
1709
1709
|
);
|
|
1710
1710
|
return R ? O(R)(C, S) : C;
|
|
1711
1711
|
},
|
|
1712
|
-
message:
|
|
1712
|
+
message: T,
|
|
1713
1713
|
type: V,
|
|
1714
1714
|
interpolate: M,
|
|
1715
1715
|
normalize: I,
|
|
@@ -1719,14 +1719,14 @@ function Xa(e = {}) {
|
|
|
1719
1719
|
}
|
|
1720
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, g] =
|
|
1722
|
+
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: d } = e, [u, g] = jt(...t), T = oe(g.missingWarn) ? g.missingWarn : e.missingWarn, O = oe(g.fallbackWarn) ? g.fallbackWarn : e.fallbackWarn, I = oe(g.escapeParameter) ? g.escapeParameter : e.escapeParameter, M = !!g.resolvedMessage, V = P(g.default) || oe(g.default) ? oe(g.default) ? a ? u : () => u : g.default : n ? a ? u : () => u : null, N = n || V != null && (P(V) || se(V)), A = $t(e, g);
|
|
1723
1723
|
I && Ha(g);
|
|
1724
|
-
let [i, f,
|
|
1724
|
+
let [i, f, y] = M ? [
|
|
1725
1725
|
u,
|
|
1726
1726
|
A,
|
|
1727
1727
|
d[A] || Q()
|
|
1728
|
-
] : Wn(e, u, A, c, O,
|
|
1729
|
-
if (!M && !(P(h) || He(h) || be(h)) &&
|
|
1728
|
+
] : Wn(e, u, A, c, O, T), h = i, S = u;
|
|
1729
|
+
if (!M && !(P(h) || He(h) || be(h)) && N && (h = V, S = h), !M && (!(P(h) || He(h) || be(h)) || !P(f)))
|
|
1730
1730
|
return l ? gt : u;
|
|
1731
1731
|
let R = !1;
|
|
1732
1732
|
const m = () => {
|
|
@@ -1734,31 +1734,31 @@ function In(e, ...t) {
|
|
|
1734
1734
|
}, C = be(h) ? h : xn(e, u, f, h, S, m);
|
|
1735
1735
|
if (R)
|
|
1736
1736
|
return h;
|
|
1737
|
-
const v =
|
|
1737
|
+
const v = Ja(e, f, y, 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
1741
|
key: P(u) ? u : be(h) ? h.key : "",
|
|
1742
1742
|
locale: f || (be(h) ? h.locale : ""),
|
|
1743
1743
|
format: P(h) ? h : be(h) ? h.source : "",
|
|
1744
1744
|
message: F
|
|
1745
1745
|
};
|
|
1746
|
-
|
|
1746
|
+
U.meta = me({}, e.__meta, /* @__PURE__ */ wa() || {}), fa(U);
|
|
1747
1747
|
}
|
|
1748
1748
|
return F;
|
|
1749
1749
|
}
|
|
1750
1750
|
function Ha(e) {
|
|
1751
|
-
ie(e.list) ? e.list = e.list.map((t) => P(t) ? nn(t) : t) :
|
|
1751
|
+
ie(e.list) ? e.list = e.list.map((t) => P(t) ? nn(t) : t) : J(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: g } = e,
|
|
1756
|
+
const { messages: c, onWarn: d, messageResolver: u, localeFallbacker: g } = e, T = g(e, s, n);
|
|
1757
1757
|
let O = Q(), I, M = null;
|
|
1758
1758
|
const V = "translate";
|
|
1759
|
-
for (let
|
|
1760
|
-
if (!
|
|
1761
|
-
const A =
|
|
1759
|
+
for (let N = 0; N < T.length && (I = T[N], O = c[I] || Q(), (M = u(O, t)) === null && (M = O[t]), !(P(M) || He(M) || be(M))); N++)
|
|
1760
|
+
if (!ja(I, T)) {
|
|
1761
|
+
const A = Jt(
|
|
1762
1762
|
e,
|
|
1763
1763
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1764
1764
|
t,
|
|
@@ -1780,20 +1780,20 @@ function xn(e, t, n, s, l, a) {
|
|
|
1780
1780
|
const g = () => s;
|
|
1781
1781
|
return g.locale = n, g.key = t, g;
|
|
1782
1782
|
}
|
|
1783
|
-
const u = c(s,
|
|
1783
|
+
const u = c(s, $a(e, n, l, s, d, a));
|
|
1784
1784
|
return u.locale = n, u.key = t, u.source = s, u;
|
|
1785
1785
|
}
|
|
1786
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 = Q();
|
|
1791
1791
|
if (!P(t) && !ue(t) && !be(t) && !He(t))
|
|
1792
1792
|
throw Ce(Le.INVALID_ARGUMENT);
|
|
1793
1793
|
const a = ue(t) ? String(t) : (be(t), t);
|
|
1794
|
-
return ue(n) ? l.plural = n : P(n) ? l.default = n :
|
|
1794
|
+
return ue(n) ? l.plural = n : P(n) ? l.default = n : $(n) && !pt(n) ? l.named = n : ie(n) && (l.list = n), ue(s) ? l.plural = s : P(s) ? l.default = s : $(s) && me(l, s), [a, l];
|
|
1795
1795
|
}
|
|
1796
|
-
function
|
|
1796
|
+
function $a(e, t, n, s, l, a) {
|
|
1797
1797
|
return {
|
|
1798
1798
|
locale: t,
|
|
1799
1799
|
key: n,
|
|
@@ -1804,16 +1804,16 @@ function Ja(e, t, n, s, l, a) {
|
|
|
1804
1804
|
onCacheKey: (c) => fs(t, n, c)
|
|
1805
1805
|
};
|
|
1806
1806
|
}
|
|
1807
|
-
function
|
|
1808
|
-
const { modifiers: l, pluralRules: a, messageResolver: c, fallbackLocale: d, fallbackWarn: u, missingWarn: g, fallbackContext:
|
|
1807
|
+
function Ja(e, t, n, s) {
|
|
1808
|
+
const { modifiers: l, pluralRules: a, messageResolver: c, fallbackLocale: d, fallbackWarn: u, missingWarn: g, fallbackContext: T } = e, I = {
|
|
1809
1809
|
locale: t,
|
|
1810
1810
|
modifiers: l,
|
|
1811
1811
|
pluralRules: a,
|
|
1812
1812
|
messages: (M, V) => {
|
|
1813
|
-
let
|
|
1814
|
-
if (
|
|
1813
|
+
let N = c(n, M);
|
|
1814
|
+
if (N == null && (T || V)) {
|
|
1815
1815
|
const [, , A] = Wn(
|
|
1816
|
-
|
|
1816
|
+
T || e,
|
|
1817
1817
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1818
1818
|
M,
|
|
1819
1819
|
t,
|
|
@@ -1821,24 +1821,24 @@ function $a(e, t, n, s) {
|
|
|
1821
1821
|
u,
|
|
1822
1822
|
g
|
|
1823
1823
|
);
|
|
1824
|
-
|
|
1824
|
+
N = c(A, M);
|
|
1825
1825
|
}
|
|
1826
|
-
if (P(
|
|
1826
|
+
if (P(N) || He(N)) {
|
|
1827
1827
|
let A = !1;
|
|
1828
|
-
const f = xn(e, M, t,
|
|
1828
|
+
const f = xn(e, M, t, N, M, () => {
|
|
1829
1829
|
A = !0;
|
|
1830
1830
|
});
|
|
1831
1831
|
return A ? En : f;
|
|
1832
|
-
} else return be(
|
|
1832
|
+
} else return be(N) ? N : 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
1837
|
Hs();
|
|
1838
|
-
var Ka = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_8e26ee21-7e28-4f9a-a989-1e4abbda551a", 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_8e26ee21-7e28-4f9a-a989-1e4abbda551a", 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: "1920", ACTIONS_ORCHESTRATION_ID: "ca5dde88-3890-4ff0-a671-383817a08b15.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.7.0", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "VITE_TARGET_ENV=dev pnpm build:mf && pnpm build:dts", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.9.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.6", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "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:13874", 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: "25415852922", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "4d863f726122a0b24cfe87a2c668e8aafb8ad43f", 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.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L2FkZC1leHBvcnQtYXVkaXQtbG9nXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzc4MDYyNTQ4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3NzgwNDAzNDgsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiJhZDQzYjliYi03ZmM3LTU1NmItYWY0OC0xYWY1ZGVkYzFhN2QiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3NzgwNDAwNDgsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwiQ2FzdGEtbWVyZVwiLFwiYWN0b3JfaWRcIjpcIjgyMjk4MDE3XCIsXCJiYXNlX3JlZlwiOlwiXCIsXCJjaGVja19ydW5faWRcIjpcIjc0NTQ3MDU4OTQwXCIsXCJldmVudF9uYW1lXCI6XCJ3b3JrZmxvd19kaXNwYXRjaFwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiam9iX3dvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2FjdGlvbnMvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ucG0tZ2l0aHViLnlhbWxAcmVmcy9oZWFkcy9tYWluXCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCJjN2IwMjNkNmIzODE0MTllMzJhZGMwYzc3YmJmODJhZmM2MzgxMDk5XCIsXCJyZWZcIjpcInJlZnMvaGVhZHMvZmVhdC9hZGQtZXhwb3J0LWF1ZGl0LWxvZ1wiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiMTEyNDY3MjIzNVwiLFwicmVwb3NpdG9yeV9vd25lclwiOlwiZmVlZG1lcG9zXCIsXCJyZXBvc2l0b3J5X293bmVyX2lkXCI6XCI1NDgzMTUxNVwiLFwicmVwb3NpdG9yeV92aXNpYmlsaXR5XCI6XCJwcml2YXRlXCIsXCJydW5fYXR0ZW1wdFwiOlwiMVwiLFwicnVuX2lkXCI6XCIyNTQxNTg1MjkyMlwiLFwicnVuX251bWJlclwiOlwiNzBcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCI0ZDg2M2Y3MjYxMjJhMGIyNGNmZTg3YTJjNjY4ZThhYWZiOGFkNDNmXCIsXCJ3b3JrZmxvd1wiOlwiUHVibGlzaCBocm0tcG9ydGFsXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLWhybS1wb3J0YWwtdHJ1c3RlZC55bWxAcmVmcy9oZWFkcy9mZWF0L2FkZC1leHBvcnQtYXVkaXQtbG9nXCIsXCJ3b3JrZmxvd19zaGFcIjpcIjRkODYzZjcyNjEyMmEwYjI0Y2ZlODdhMmM2NjhlOGFhZmI4YWQ0M2ZcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL2hybS1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL2ZlYXQvYWRkLWV4cG9ydC1hdWRpdC1sb2ciLCJvcmNoX2lkIjoiY2E1ZGRlODgtMzg5MC00ZmYwLWE2NzEtMzgzODE3YTA4YjE1LnB1Ymxpc2gucHVibGlzaC5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiJjYTVkZGU4OC0zODkwLTRmZjAtYTY3MS0zODM4MTdhMDhiMTUiLCJyZXBvc2l0b3J5X2lkIjoiMTEyNDY3MjIzNSIsInJ1bl9pZCI6IjI1NDE1ODUyOTIyIiwicnVuX251bWJlciI6IjcwIiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDA2NjEyNSIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOmNhNWRkZTg4LTM4OTAtNGZmMC1hNjcxLTM4MzgxN2EwOGIxNTphZDQzYjliYi03ZmM3LTU1NmItYWY0OC0xYWY1ZGVkYzFhN2QgQWN0aW9ucy5SdW5uZXI6Y2E1ZGRlODgtMzg5MC00ZmYwLWE2NzEtMzgzODE3YTA4YjE1OmFkNDNiOWJiLTdmYzctNTU2Yi1hZjQ4LTFhZjVkZWRjMWE3ZCBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czpjYTVkZGU4OC0zODkwLTRmZjAtYTY3MS0zODM4MTdhMDhiMTU6YWQ0M2I5YmItN2ZjNy01NTZiLWFmNDgtMWFmNWRlZGMxYTdkIGdlbmVyYXRlX2lkX3Rva2VuOmNhNWRkZTg4LTM4OTAtNGZmMC1hNjcxLTM4MzgxN2EwOGIxNTphZDQzYjliYi03ZmM3LTU1NmItYWY0OC0xYWY1ZGVkYzFhN2QgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiI0ZDg2M2Y3MjYxMjJhMGIyNGNmZTg3YTJjNjY4ZThhYWZiOGFkNDNmIiwidHJ1c3RfdGllciI6IjEifQ.C6OsRYcwRafNOFYUWqPFkTDH1wfFu_CTuhkB4l2oBCpZWwameaa5g71pqLfhcWU6TZAZMLuKvNnp30dEIQv28EeCBm_t8W8FlDlVcUcpeLBQNyJQipIb_17hYudiFhIjFUIQHdAqNTFpoJ8xpE4FCcIwd-OsnhsrvDq4TXfo5b7QULC51utyL3YYCpYp1LtTDewNYVJ11Hi-GXTkCH04Zjm_UvSoqe1wPAcY7iA0QW3RCfxJIvMN6U6NKiOJA_4TAgl9TjTP0yUix0Bdc4qRhrApyu9Y_OlAsOQseYR0eQDKbKoEDZY7H143LJvJH-YUKM3tTU4pagsucW7xiPMdaA", 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_7a995a93-5364-4532-8560-0bfc74c61e4f", INVOCATION_ID: "e7789e3eda7e4a02a95da176ec283b5a", 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: "70", 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 1000066125", 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.17", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_hrm_permission: "workspace:*", npm_package_devDependencies__rushstack_eslint_patch: "^1.3.3", npm_package_devDependencies_eslint_plugin_unused_imports: "^4.3.0", npm_package_devDependencies_jsdom: "^24.0.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "4d863f726122a0b24cfe87a2c668e8aafb8ad43f", 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_8e26ee21-7e28-4f9a-a989-1e4abbda551a", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "82298017", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-2-azure-eastus.actions.githubusercontent.com/87//idtoken/ca5dde88-3890-4ff0-a671-383817a08b15/ad43b9bb-7fc7-556b-af48-1af5dedc1a7d?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_8e26ee21-7e28-4f9a-a989-1e4abbda551a", 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_8e26ee21-7e28-4f9a-a989-1e4abbda551a", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1838
|
+
var Ka = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_01a9023e-ff98-4737-a3c8-3fb1faf88872", 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_01a9023e-ff98-4737-a3c8-3fb1faf88872", 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: "079f57e1-9a8b-4a87-8b23-ad9ba08fb994.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.7.0", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "VITE_TARGET_ENV=dev pnpm build:mf && pnpm build:dts", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.9.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.6", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "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:11047", 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: "25422559300", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "4cc594c5f573e593e98de963107d8040e87a6235", 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.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L2FkZC1leHBvcnQtYXVkaXQtbG9nXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzc4MDc1Mjg2LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3NzgwNTMwODYsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiJjYmU2YTZjYy0yOWEyLTVhZjctODUxMi02YjkzOGE4YjEyNmUiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3NzgwNTI3ODYsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwiQ2FzdGEtbWVyZVwiLFwiYWN0b3JfaWRcIjpcIjgyMjk4MDE3XCIsXCJiYXNlX3JlZlwiOlwiXCIsXCJjaGVja19ydW5faWRcIjpcIjc0NTY3OTk2NDQ3XCIsXCJldmVudF9uYW1lXCI6XCJ3b3JrZmxvd19kaXNwYXRjaFwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiam9iX3dvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2FjdGlvbnMvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ucG0tZ2l0aHViLnlhbWxAcmVmcy9oZWFkcy9tYWluXCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCJjN2IwMjNkNmIzODE0MTllMzJhZGMwYzc3YmJmODJhZmM2MzgxMDk5XCIsXCJyZWZcIjpcInJlZnMvaGVhZHMvZmVhdC9hZGQtZXhwb3J0LWF1ZGl0LWxvZ1wiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiMTEyNDY3MjIzNVwiLFwicmVwb3NpdG9yeV9vd25lclwiOlwiZmVlZG1lcG9zXCIsXCJyZXBvc2l0b3J5X293bmVyX2lkXCI6XCI1NDgzMTUxNVwiLFwicmVwb3NpdG9yeV92aXNpYmlsaXR5XCI6XCJwcml2YXRlXCIsXCJydW5fYXR0ZW1wdFwiOlwiMVwiLFwicnVuX2lkXCI6XCIyNTQyMjU1OTMwMFwiLFwicnVuX251bWJlclwiOlwiNzFcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCI0Y2M1OTRjNWY1NzNlNTkzZTk4ZGU5NjMxMDdkODA0MGU4N2E2MjM1XCIsXCJ3b3JrZmxvd1wiOlwiUHVibGlzaCBocm0tcG9ydGFsXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLWhybS1wb3J0YWwtdHJ1c3RlZC55bWxAcmVmcy9oZWFkcy9mZWF0L2FkZC1leHBvcnQtYXVkaXQtbG9nXCIsXCJ3b3JrZmxvd19zaGFcIjpcIjRjYzU5NGM1ZjU3M2U1OTNlOThkZTk2MzEwN2Q4MDQwZTg3YTYyMzVcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL2hybS1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL2ZlYXQvYWRkLWV4cG9ydC1hdWRpdC1sb2ciLCJvcmNoX2lkIjoiMDc5ZjU3ZTEtOWE4Yi00YTg3LThiMjMtYWQ5YmEwOGZiOTk0LnB1Ymxpc2gucHVibGlzaC5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiIwNzlmNTdlMS05YThiLTRhODctOGIyMy1hZDliYTA4ZmI5OTQiLCJyZXBvc2l0b3J5X2lkIjoiMTEyNDY3MjIzNSIsInJ1bl9pZCI6IjI1NDIyNTU5MzAwIiwicnVuX251bWJlciI6IjcxIiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDA2NjIxNCIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOjA3OWY1N2UxLTlhOGItNGE4Ny04YjIzLWFkOWJhMDhmYjk5NDpjYmU2YTZjYy0yOWEyLTVhZjctODUxMi02YjkzOGE4YjEyNmUgQWN0aW9ucy5SdW5uZXI6MDc5ZjU3ZTEtOWE4Yi00YTg3LThiMjMtYWQ5YmEwOGZiOTk0OmNiZTZhNmNjLTI5YTItNWFmNy04NTEyLTZiOTM4YThiMTI2ZSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowNzlmNTdlMS05YThiLTRhODctOGIyMy1hZDliYTA4ZmI5OTQ6Y2JlNmE2Y2MtMjlhMi01YWY3LTg1MTItNmI5MzhhOGIxMjZlIGdlbmVyYXRlX2lkX3Rva2VuOjA3OWY1N2UxLTlhOGItNGE4Ny04YjIzLWFkOWJhMDhmYjk5NDpjYmU2YTZjYy0yOWEyLTVhZjctODUxMi02YjkzOGE4YjEyNmUgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiI0Y2M1OTRjNWY1NzNlNTkzZTk4ZGU5NjMxMDdkODA0MGU4N2E2MjM1IiwidHJ1c3RfdGllciI6IjEifQ.ssQ0YwKcWTIOdEoy-rtHg1oyM5fqDDJ3ssF0G9No7d5qtKQReoJIEzSPjX_JLbxaUCjp-co_VmUQ_TQ39qRmbN9f3rA3AHGsU4-56HyaEygAE4eYmlIhOV8YLC9cAmRuza1AGGgsWW729L5UFnw-o7qKICxwau4_Kg9VN7IFZX2_82_CbsxPRdPbQ_C9bCGl3d3cmzfW17Y1mYAt5dFgSVVZT1RjVN_BIWtSuXV9vE4s9WzRNCYsHishYwIla0L7qriRf7u6735X9TPDrU5feJI-2WzWh0VadWAKXNWtwa-Iod0eqQFlBGmpwcBu_nfK2jjbxzBhy5CSzZoTl3bg3g", 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_15351664-efb6-41cd-884d-698d79ad2743", INVOCATION_ID: "ff40384f0887428d9527b0194a8feb00", 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: "71", 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 1000066214", 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.19", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_hrm_permission: "workspace:*", npm_package_devDependencies__rushstack_eslint_patch: "^1.3.3", npm_package_devDependencies_eslint_plugin_unused_imports: "^4.3.0", npm_package_devDependencies_jsdom: "^24.0.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "4cc594c5f573e593e98de963107d8040e87a6235", 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_01a9023e-ff98-4737-a3c8-3fb1faf88872", 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/35//idtoken/079f57e1-9a8b-4a87-8b23-ad9ba08fb994/cbe6a6cc-29a2-5af7-8512-6b938a8b126e?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_01a9023e-ff98-4737-a3c8-3fb1faf88872", 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_01a9023e-ff98-4737-a3c8-3fb1faf88872", 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 Qa = "10.0.5";
|
|
1840
1840
|
function za() {
|
|
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
1843
|
const Be = {
|
|
1844
1844
|
// composer module errors
|
|
@@ -1856,30 +1856,30 @@ const Be = {
|
|
|
1856
1856
|
function nt(e, ...t) {
|
|
1857
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
|
-
if (
|
|
1861
|
+
if (!J(e))
|
|
1862
1862
|
return e;
|
|
1863
1863
|
for (const t in e)
|
|
1864
|
-
if (
|
|
1864
|
+
if (ye(e, t))
|
|
1865
1865
|
if (!t.includes("."))
|
|
1866
|
-
|
|
1866
|
+
J(e[t]) && st(e[t]);
|
|
1867
1867
|
else {
|
|
1868
1868
|
const n = t.split("."), s = n.length - 1;
|
|
1869
1869
|
let l = e, a = !1;
|
|
1870
1870
|
for (let c = 0; c < s; c++) {
|
|
1871
|
-
if (n[c] in l || (l[n[c]] = Q()),
|
|
1871
|
+
if (n[c] in l || (l[n[c]] = Q()), !J(l[n[c]])) {
|
|
1872
1872
|
a = !0;
|
|
1873
1873
|
break;
|
|
1874
1874
|
}
|
|
1875
1875
|
l = l[n[c]];
|
|
1876
1876
|
}
|
|
1877
|
-
a || (l[n[s]] = e[t], delete e[t]),
|
|
1877
|
+
a || (l[n[s]] = e[t], delete e[t]), J(l[n[s]]) && st(l[n[s]]);
|
|
1878
1878
|
}
|
|
1879
1879
|
return e;
|
|
1880
1880
|
}
|
|
1881
|
-
function
|
|
1882
|
-
const { messages: n, __i18n: s, messageResolver: l, flatJson: a } = t, c =
|
|
1881
|
+
function Yn(e, t) {
|
|
1882
|
+
const { messages: n, __i18n: s, messageResolver: l, flatJson: a } = t, c = $(n) ? n : ie(s) ? Q() : { [e]: Q() };
|
|
1883
1883
|
if (ie(s) && s.forEach((d) => {
|
|
1884
1884
|
if ("locale" in d && "resource" in d) {
|
|
1885
1885
|
const { locale: u, resource: g } = d;
|
|
@@ -1888,15 +1888,15 @@ function Zn(e, t) {
|
|
|
1888
1888
|
P(d) && mt(JSON.parse(d), c);
|
|
1889
1889
|
}), l == null && a)
|
|
1890
1890
|
for (const d in c)
|
|
1891
|
-
|
|
1891
|
+
ye(c, d) && st(c[d]);
|
|
1892
1892
|
return c;
|
|
1893
1893
|
}
|
|
1894
|
-
function
|
|
1894
|
+
function Zn(e) {
|
|
1895
1895
|
return e.type;
|
|
1896
1896
|
}
|
|
1897
1897
|
function er(e, t, n) {
|
|
1898
|
-
let s =
|
|
1899
|
-
"__i18nGlobal" in n && (s =
|
|
1898
|
+
let s = J(t.messages) ? t.messages : Q();
|
|
1899
|
+
"__i18nGlobal" in n && (s = Yn(e.locale.value, {
|
|
1900
1900
|
messages: s,
|
|
1901
1901
|
__i18n: n.__i18nGlobal
|
|
1902
1902
|
}));
|
|
@@ -1905,13 +1905,13 @@ function er(e, t, n) {
|
|
|
1905
1905
|
e.mergeLocaleMessage(a, s[a]);
|
|
1906
1906
|
});
|
|
1907
1907
|
{
|
|
1908
|
-
if (
|
|
1908
|
+
if (J(t.datetimeFormats)) {
|
|
1909
1909
|
const a = Object.keys(t.datetimeFormats);
|
|
1910
1910
|
a.length && a.forEach((c) => {
|
|
1911
1911
|
e.mergeDateTimeFormat(c, t.datetimeFormats[c]);
|
|
1912
1912
|
});
|
|
1913
1913
|
}
|
|
1914
|
-
if (
|
|
1914
|
+
if (J(t.numberFormats)) {
|
|
1915
1915
|
const a = Object.keys(t.numberFormats);
|
|
1916
1916
|
a.length && a.forEach((c) => {
|
|
1917
1917
|
e.mergeNumberFormat(c, t.numberFormats[c]);
|
|
@@ -1919,31 +1919,31 @@ function er(e, t, n) {
|
|
|
1919
1919
|
}
|
|
1920
1920
|
}
|
|
1921
1921
|
}
|
|
1922
|
-
function
|
|
1922
|
+
function yn(e) {
|
|
1923
1923
|
return de(Qn, null, e, 0);
|
|
1924
1924
|
}
|
|
1925
|
-
const
|
|
1926
|
-
let
|
|
1925
|
+
const Nn = "__INTLIFY_META__", Tn = () => [], tr = () => !1;
|
|
1926
|
+
let kn = 0;
|
|
1927
1927
|
function On(e) {
|
|
1928
1928
|
return (t, n, s, l) => e(n, s, xt() || void 0, l);
|
|
1929
1929
|
}
|
|
1930
1930
|
const nr = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
1931
1931
|
const e = xt();
|
|
1932
1932
|
let t = null;
|
|
1933
|
-
return e && (t =
|
|
1933
|
+
return e && (t = Zn(e)[Nn]) ? { [Nn]: t } : null;
|
|
1934
1934
|
};
|
|
1935
1935
|
function sr(e = {}) {
|
|
1936
|
-
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = en ?
|
|
1936
|
+
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = en ? Ue : Kn;
|
|
1937
1937
|
let c = oe(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1938
1938
|
const d = a(
|
|
1939
1939
|
// prettier-ignore
|
|
1940
1940
|
t && c ? t.locale.value : P(e.locale) ? e.locale : ft
|
|
1941
1941
|
), u = a(
|
|
1942
1942
|
// prettier-ignore
|
|
1943
|
-
t && c ? t.fallbackLocale.value : P(e.fallbackLocale) || ie(e.fallbackLocale) ||
|
|
1944
|
-
), g = a(
|
|
1945
|
-
let I = t ? t.missingWarn : oe(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, M = t ? t.fallbackWarn : oe(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, V = t ? t.fallbackRoot : oe(e.fallbackRoot) ? e.fallbackRoot : !0,
|
|
1946
|
-
const S = t ? t.modifiers :
|
|
1943
|
+
t && c ? t.fallbackLocale.value : P(e.fallbackLocale) || ie(e.fallbackLocale) || $(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : d.value
|
|
1944
|
+
), g = a(Yn(d.value, e)), T = a($(e.datetimeFormats) ? e.datetimeFormats : { [d.value]: {} }), O = a($(e.numberFormats) ? e.numberFormats : { [d.value]: {} });
|
|
1945
|
+
let I = t ? t.missingWarn : oe(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, M = t ? t.fallbackWarn : oe(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, V = t ? t.fallbackRoot : oe(e.fallbackRoot) ? e.fallbackRoot : !0, N = !!e.fallbackFormat, A = se(e.missing) ? e.missing : null, i = se(e.missing) ? On(e.missing) : null, f = se(e.postTranslation) ? e.postTranslation : null, y = t ? t.warnHtmlMessage : oe(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, h = !!e.escapeParameter;
|
|
1946
|
+
const S = t ? t.modifiers : $(e.modifiers) ? e.modifiers : {};
|
|
1947
1947
|
let R = e.pluralRules || t && t.pluralRules, m;
|
|
1948
1948
|
m = (() => {
|
|
1949
1949
|
s && fn(null);
|
|
@@ -1957,16 +1957,16 @@ function sr(e = {}) {
|
|
|
1957
1957
|
missing: i === null ? void 0 : i,
|
|
1958
1958
|
missingWarn: I,
|
|
1959
1959
|
fallbackWarn: M,
|
|
1960
|
-
fallbackFormat:
|
|
1960
|
+
fallbackFormat: N,
|
|
1961
1961
|
unresolving: !0,
|
|
1962
1962
|
postTranslation: f === null ? void 0 : f,
|
|
1963
|
-
warnHtmlMessage:
|
|
1963
|
+
warnHtmlMessage: y,
|
|
1964
1964
|
escapeParameter: h,
|
|
1965
1965
|
messageResolver: e.messageResolver,
|
|
1966
1966
|
messageCompiler: e.messageCompiler,
|
|
1967
1967
|
__meta: { framework: "vue" }
|
|
1968
1968
|
};
|
|
1969
|
-
_.datetimeFormats =
|
|
1969
|
+
_.datetimeFormats = T.value, _.numberFormats = O.value, _.__datetimeFormatters = $(m) ? m.__datetimeFormatters : void 0, _.__numberFormatters = $(m) ? m.__numberFormatters : void 0;
|
|
1970
1970
|
const E = Pa(_);
|
|
1971
1971
|
return s && fn(E), E;
|
|
1972
1972
|
})(), ze(m, d.value, u.value);
|
|
@@ -1975,7 +1975,7 @@ function sr(e = {}) {
|
|
|
1975
1975
|
d.value,
|
|
1976
1976
|
u.value,
|
|
1977
1977
|
g.value,
|
|
1978
|
-
|
|
1978
|
+
T.value,
|
|
1979
1979
|
O.value
|
|
1980
1980
|
];
|
|
1981
1981
|
}
|
|
@@ -1989,17 +1989,17 @@ function sr(e = {}) {
|
|
|
1989
1989
|
set: (_) => {
|
|
1990
1990
|
u.value = _, m.fallbackLocale = u.value, ze(m, d.value, _);
|
|
1991
1991
|
}
|
|
1992
|
-
}), F = q(() => g.value),
|
|
1992
|
+
}), F = q(() => g.value), U = /* @__PURE__ */ q(() => T.value), ae = /* @__PURE__ */ q(() => O.value);
|
|
1993
1993
|
function L() {
|
|
1994
1994
|
return se(f) ? f : null;
|
|
1995
1995
|
}
|
|
1996
|
-
function
|
|
1996
|
+
function k(_) {
|
|
1997
1997
|
f = _, m.postTranslation = _;
|
|
1998
1998
|
}
|
|
1999
1999
|
function w() {
|
|
2000
2000
|
return A;
|
|
2001
2001
|
}
|
|
2002
|
-
function
|
|
2002
|
+
function Z(_) {
|
|
2003
2003
|
_ !== null && (i = On(_)), A = _, m.missing = i;
|
|
2004
2004
|
}
|
|
2005
2005
|
const x = (_, E, z, le, Pe, at) => {
|
|
@@ -2012,8 +2012,8 @@ function sr(e = {}) {
|
|
|
2012
2012
|
}
|
|
2013
2013
|
if (z !== "translate exists" && // for not `te` (e.g `t`)
|
|
2014
2014
|
ue(xe) && xe === gt || z === "translate exists" && !xe) {
|
|
2015
|
-
const [
|
|
2016
|
-
return t && V ? le(t) : Pe(
|
|
2015
|
+
const [$n, Hr] = E();
|
|
2016
|
+
return t && V ? le(t) : Pe($n);
|
|
2017
2017
|
} else {
|
|
2018
2018
|
if (at(xe))
|
|
2019
2019
|
return xe;
|
|
@@ -2021,22 +2021,22 @@ function sr(e = {}) {
|
|
|
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, z, le] = _;
|
|
2028
|
-
if (le &&
|
|
2028
|
+
if (le && !J(le))
|
|
2029
2029
|
throw nt(Be.INVALID_ARGUMENT);
|
|
2030
2030
|
return G(E, z, me({ resolvedMessage: !0 }, le || {}));
|
|
2031
2031
|
}
|
|
2032
|
-
function
|
|
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
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) ? yn(String(E)) : E);
|
|
2040
2040
|
}
|
|
2041
2041
|
const ne = {
|
|
2042
2042
|
normalize: _e,
|
|
@@ -2053,13 +2053,13 @@ function sr(e = {}) {
|
|
|
2053
2053
|
le.processor = null;
|
|
2054
2054
|
}
|
|
2055
2055
|
return z;
|
|
2056
|
-
}, () =>
|
|
2057
|
-
}
|
|
2058
|
-
function Je(..._) {
|
|
2059
|
-
return x((E) => Reflect.apply(gn, null, [E, ..._]), () => Ft(..._), "number format", (E) => E[Gt](..._), kn, (E) => P(E) || ie(E));
|
|
2056
|
+
}, () => jt(..._), "translate", (E) => E[Ut](..._), (E) => [yn(E)], (E) => ie(E));
|
|
2060
2057
|
}
|
|
2061
2058
|
function $e(..._) {
|
|
2062
|
-
return x((E) => Reflect.apply(
|
|
2059
|
+
return x((E) => Reflect.apply(gn, null, [E, ..._]), () => Ft(..._), "number format", (E) => E[Gt](..._), Tn, (E) => P(E) || ie(E));
|
|
2060
|
+
}
|
|
2061
|
+
function Je(..._) {
|
|
2062
|
+
return x((E) => Reflect.apply(pn, null, [E, ..._]), () => Pt(..._), "datetime format", (E) => E[Vt](..._), Tn, (E) => P(E) || ie(E));
|
|
2063
2063
|
}
|
|
2064
2064
|
function vt(_) {
|
|
2065
2065
|
R = _, m.pluralRules = R;
|
|
@@ -2095,7 +2095,7 @@ function sr(e = {}) {
|
|
|
2095
2095
|
if (l) {
|
|
2096
2096
|
const z = { [_]: E };
|
|
2097
2097
|
for (const le in z)
|
|
2098
|
-
|
|
2098
|
+
ye(z, le) && st(z[le]);
|
|
2099
2099
|
E = z[_];
|
|
2100
2100
|
}
|
|
2101
2101
|
g.value[_] = E, m.messages = g.value;
|
|
@@ -2105,34 +2105,34 @@ function sr(e = {}) {
|
|
|
2105
2105
|
const z = { [_]: E };
|
|
2106
2106
|
if (l)
|
|
2107
2107
|
for (const le in z)
|
|
2108
|
-
|
|
2108
|
+
ye(z, le) && st(z[le]);
|
|
2109
2109
|
E = z[_], mt(E, g.value[_]), m.messages = g.value;
|
|
2110
2110
|
}
|
|
2111
|
-
function
|
|
2112
|
-
return
|
|
2111
|
+
function yt(_) {
|
|
2112
|
+
return T.value[_] || {};
|
|
2113
2113
|
}
|
|
2114
2114
|
function r(_, E) {
|
|
2115
|
-
|
|
2115
|
+
T.value[_] = E, m.datetimeFormats = T.value, hn(m, _, E);
|
|
2116
2116
|
}
|
|
2117
2117
|
function o(_, E) {
|
|
2118
|
-
|
|
2118
|
+
T.value[_] = me(T.value[_] || {}, E), m.datetimeFormats = T.value, hn(m, _, E);
|
|
2119
2119
|
}
|
|
2120
2120
|
function b(_) {
|
|
2121
2121
|
return O.value[_] || {};
|
|
2122
2122
|
}
|
|
2123
|
-
function
|
|
2123
|
+
function j(_, E) {
|
|
2124
2124
|
O.value[_] = E, m.numberFormats = O.value, bn(m, _, E);
|
|
2125
2125
|
}
|
|
2126
2126
|
function re(_, E) {
|
|
2127
2127
|
O.value[_] = me(O.value[_] || {}, E), m.numberFormats = O.value, bn(m, _, E);
|
|
2128
2128
|
}
|
|
2129
|
-
|
|
2129
|
+
kn++, t && en && (St(t.locale, (_) => {
|
|
2130
2130
|
c && (d.value = _, m.locale = _, ze(m, d.value, u.value));
|
|
2131
2131
|
}), St(t.fallbackLocale, (_) => {
|
|
2132
2132
|
c && (u.value = _, m.fallbackLocale = _, ze(m, d.value, u.value));
|
|
2133
2133
|
}));
|
|
2134
|
-
const
|
|
2135
|
-
id:
|
|
2134
|
+
const Y = {
|
|
2135
|
+
id: kn,
|
|
2136
2136
|
locale: p,
|
|
2137
2137
|
fallbackLocale: D,
|
|
2138
2138
|
get inheritLocale() {
|
|
@@ -2173,16 +2173,16 @@ function sr(e = {}) {
|
|
|
2173
2173
|
V = _;
|
|
2174
2174
|
},
|
|
2175
2175
|
get fallbackFormat() {
|
|
2176
|
-
return
|
|
2176
|
+
return N;
|
|
2177
2177
|
},
|
|
2178
2178
|
set fallbackFormat(_) {
|
|
2179
|
-
|
|
2179
|
+
N = _, m.fallbackFormat = N;
|
|
2180
2180
|
},
|
|
2181
2181
|
get warnHtmlMessage() {
|
|
2182
|
-
return
|
|
2182
|
+
return y;
|
|
2183
2183
|
},
|
|
2184
2184
|
set warnHtmlMessage(_) {
|
|
2185
|
-
|
|
2185
|
+
y = _, m.warnHtmlMessage = _;
|
|
2186
2186
|
},
|
|
2187
2187
|
get escapeParameter() {
|
|
2188
2188
|
return h;
|
|
@@ -2195,12 +2195,12 @@ function sr(e = {}) {
|
|
|
2195
2195
|
setLocaleMessage: We,
|
|
2196
2196
|
mergeLocaleMessage: Qe,
|
|
2197
2197
|
getPostTranslationHandler: L,
|
|
2198
|
-
setPostTranslationHandler:
|
|
2198
|
+
setPostTranslationHandler: k,
|
|
2199
2199
|
getMissingHandler: w,
|
|
2200
|
-
setMissingHandler:
|
|
2200
|
+
setMissingHandler: Z,
|
|
2201
2201
|
[qa]: vt
|
|
2202
2202
|
};
|
|
2203
|
-
return
|
|
2203
|
+
return Y.datetimeFormats = U, Y.numberFormats = ae, Y.rt = W, Y.te = Et, Y.tm = Ke, Y.d = X, Y.n = ve, Y.getDateTimeFormat = yt, Y.setDateTimeFormat = r, Y.mergeDateTimeFormat = o, Y.getNumberFormat = b, Y.setNumberFormat = j, Y.mergeNumberFormat = re, Y[Xn] = n, Y[Ut] = Ee, Y[Vt] = Je, Y[Gt] = $e, Y;
|
|
2204
2204
|
}
|
|
2205
2205
|
const Kt = {
|
|
2206
2206
|
tag: {
|
|
@@ -2251,15 +2251,15 @@ function Bn(e, t, n, s) {
|
|
|
2251
2251
|
return () => {
|
|
2252
2252
|
const c = { part: !0 };
|
|
2253
2253
|
let d = Q();
|
|
2254
|
-
e.locale && (c.locale = e.locale), P(e.format) ? c.key = e.format :
|
|
2254
|
+
e.locale && (c.locale = e.locale), P(e.format) ? c.key = e.format : J(e.format) && (P(e.format.key) && (c.key = e.format.key), d = Object.keys(e.format).reduce((I, M) => n.includes(M) ? me(Q(), I, { [M]: e.format[M] }) : I, Q()));
|
|
2255
2255
|
const u = s(e.value, c, d);
|
|
2256
2256
|
let g = [c.key];
|
|
2257
2257
|
ie(u) ? g = u.map((I, M) => {
|
|
2258
|
-
const V = l[I.type],
|
|
2259
|
-
return rr(
|
|
2258
|
+
const V = l[I.type], N = V ? V({ [I.type]: I.value, index: M, parts: u }) : [I.value];
|
|
2259
|
+
return rr(N) && (N[0].key = `${I.type}-${M}`), N;
|
|
2260
2260
|
}) : P(u) && (g = [u]);
|
|
2261
|
-
const
|
|
2262
|
-
return Sn(O,
|
|
2261
|
+
const T = me(Q(), a), O = P(e.tag) || J(e.tag) ? e.tag : Hn();
|
|
2262
|
+
return Sn(O, T, g);
|
|
2263
2263
|
};
|
|
2264
2264
|
}
|
|
2265
2265
|
me({
|
|
@@ -2287,7 +2287,7 @@ function bt(e = {}) {
|
|
|
2287
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
2289
|
throw nt(Be.NOT_INSTALLED);
|
|
2290
|
-
const n = or(t), s = cr(n), l =
|
|
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;
|
|
2293
2293
|
if (a === "parent") {
|
|
@@ -2303,7 +2303,7 @@ function bt(e = {}) {
|
|
|
2303
2303
|
return d;
|
|
2304
2304
|
}
|
|
2305
2305
|
function or(e) {
|
|
2306
|
-
const t =
|
|
2306
|
+
const t = Jn(e.isCE ? lr : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
2307
2307
|
if (!t)
|
|
2308
2308
|
throw nt(e.isCE ? Be.NOT_INSTALLED_WITH_PROVIDE : Be.UNEXPECTED_ERROR);
|
|
2309
2309
|
return t;
|
|
@@ -2324,7 +2324,7 @@ function ur(e, t, n = !1) {
|
|
|
2324
2324
|
s = c.__getInstance(a);
|
|
2325
2325
|
else if (__VUE_I18N_LEGACY_API__) {
|
|
2326
2326
|
const d = c.__getInstance(a);
|
|
2327
|
-
d != null && (s = d.__composer, n && s && !s[
|
|
2327
|
+
d != null && (s = d.__composer, n && s && !s[Xn] && (s = null));
|
|
2328
2328
|
}
|
|
2329
2329
|
if (s != null || l === a)
|
|
2330
2330
|
break;
|
|
@@ -2336,7 +2336,7 @@ function mr(e, t = !1) {
|
|
|
2336
2336
|
return e == null ? null : t && e.vnode.ctx || e.parent;
|
|
2337
2337
|
}
|
|
2338
2338
|
function dr(e, t, n) {
|
|
2339
|
-
|
|
2339
|
+
Xt(() => {
|
|
2340
2340
|
}, t), An(() => {
|
|
2341
2341
|
const s = n;
|
|
2342
2342
|
e.__deleteInstance(t);
|
|
@@ -2349,10 +2349,10 @@ Ra(ua);
|
|
|
2349
2349
|
Aa(Oa);
|
|
2350
2350
|
Sa(wn);
|
|
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__ */ Ne({
|
|
2356
2356
|
__name: "InheritPermissionTooltip",
|
|
2357
2357
|
props: {
|
|
2358
2358
|
item: {
|
|
@@ -2363,7 +2363,7 @@ const it = /* @__PURE__ */ ye({
|
|
|
2363
2363
|
setup(e) {
|
|
2364
2364
|
const { t } = bt();
|
|
2365
2365
|
return (n, s) => {
|
|
2366
|
-
const l =
|
|
2366
|
+
const l = Ye("FmIcon"), a = Ye("FmTooltip");
|
|
2367
2367
|
return H(), Se(a, {
|
|
2368
2368
|
variant: "plain",
|
|
2369
2369
|
placement: "right",
|
|
@@ -2392,7 +2392,7 @@ const it = /* @__PURE__ */ ye({
|
|
|
2392
2392
|
}, pr = {
|
|
2393
2393
|
key: 0,
|
|
2394
2394
|
class: "q-mr-xs text-red col"
|
|
2395
|
-
}, hr = { class: "form-input" }, gr = /* @__PURE__ */
|
|
2395
|
+
}, hr = { class: "form-input" }, gr = /* @__PURE__ */ Ne({
|
|
2396
2396
|
__name: "AppForm",
|
|
2397
2397
|
props: {
|
|
2398
2398
|
title: {
|
|
@@ -2436,7 +2436,7 @@ function br(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
|
-
}, Qt = /* @__PURE__ */
|
|
2439
|
+
}, Qt = /* @__PURE__ */ Ne({
|
|
2440
2440
|
__name: "CheckboxInput",
|
|
2441
2441
|
props: {
|
|
2442
2442
|
options: {
|
|
@@ -2494,33 +2494,33 @@ 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), T = q(
|
|
2498
|
+
() => n.modelValue.filter((N) => n.options.some((A) => A.value === N))
|
|
2499
2499
|
), O = q(
|
|
2500
2500
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
2501
|
-
), I = q(() => n.options.length > 0 && n.options.length ===
|
|
2501
|
+
), I = q(() => n.options.length > 0 && n.options.length === T.value.length);
|
|
2502
2502
|
function M() {
|
|
2503
|
-
const
|
|
2503
|
+
const N = n.modelValue.filter((A) => !T.value.includes(A));
|
|
2504
2504
|
if (I.value === !0)
|
|
2505
|
-
s("update:model-value",
|
|
2505
|
+
s("update:model-value", N);
|
|
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", [...N, ...A]);
|
|
2509
2509
|
}
|
|
2510
2510
|
}
|
|
2511
|
-
function V(
|
|
2511
|
+
function V(N, A) {
|
|
2512
2512
|
let i = ut(n.modelValue);
|
|
2513
|
-
A ? i.every((f) => f !==
|
|
2513
|
+
A ? i.every((f) => f !== N) && i.push(N) : i = i.filter((f) => f !== N), s("update:model-value", i);
|
|
2514
2514
|
}
|
|
2515
|
-
return (
|
|
2516
|
-
const i =
|
|
2515
|
+
return (N, A) => {
|
|
2516
|
+
const i = Ye("FmCheckbox");
|
|
2517
2517
|
return H(), Se(gr, {
|
|
2518
2518
|
id: u,
|
|
2519
2519
|
title: e.title,
|
|
2520
2520
|
required: !1
|
|
2521
2521
|
}, {
|
|
2522
2522
|
top: he(() => [
|
|
2523
|
-
ge(
|
|
2523
|
+
ge(N.$slots, "top")
|
|
2524
2524
|
]),
|
|
2525
2525
|
default: he(() => [
|
|
2526
2526
|
n.showAllToggle ? (H(), Se(i, {
|
|
@@ -2534,10 +2534,10 @@ const vr = { class: "col flex items-center" }, Er = {
|
|
|
2534
2534
|
value: O.value,
|
|
2535
2535
|
"onUpdate:modelValue": M
|
|
2536
2536
|
}, null, 8, ["model-value", "disabled", "label", "style", "value"])) : Oe("", !0),
|
|
2537
|
-
(H(!0), ee(Ie, null, pe(e.options, (f,
|
|
2537
|
+
(H(!0), ee(Ie, null, pe(e.options, (f, y) => (H(), ee("div", {
|
|
2538
2538
|
key: f.value,
|
|
2539
|
-
style: ct(`margin-bottom: ${
|
|
2540
|
-
class: qe(
|
|
2539
|
+
style: ct(`margin-bottom: ${y < e.options.length - 1 ? n.gutter : 0}px`),
|
|
2540
|
+
class: qe(y < 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"])
|
|
@@ -2551,7 +2551,7 @@ const vr = { class: "col flex items-center" }, Er = {
|
|
|
2551
2551
|
value: f.label,
|
|
2552
2552
|
"onUpdate:modelValue": (h) => V(f.value, h)
|
|
2553
2553
|
}, null, 8, ["model-value", "disabled", "label", "value", "onUpdate:modelValue"]),
|
|
2554
|
-
ge(
|
|
2554
|
+
ge(N.$slots, `checkbox-${f.key || f.value}-append`, {
|
|
2555
2555
|
option: f,
|
|
2556
2556
|
selected: e.modelValue.includes(f.value)
|
|
2557
2557
|
})
|
|
@@ -2560,7 +2560,7 @@ const vr = { class: "col flex items-center" }, Er = {
|
|
|
2560
2560
|
key: 0,
|
|
2561
2561
|
class: qe([{ "q-checkbox disabled": e.disable || f.disabled }, "col"])
|
|
2562
2562
|
}, [
|
|
2563
|
-
ge(
|
|
2563
|
+
ge(N.$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
|
|
@@ -2572,7 +2572,7 @@ const vr = { class: "col flex items-center" }, Er = {
|
|
|
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
|
-
ge(
|
|
2575
|
+
ge(N.$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)
|
|
@@ -2609,39 +2609,39 @@ 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
|
-
const
|
|
2618
|
-
|
|
2617
|
+
const X = C.get(W.value);
|
|
2618
|
+
X && F.set(W.value, X.actions);
|
|
2619
2619
|
}
|
|
2620
|
-
const
|
|
2621
|
-
const
|
|
2622
|
-
return
|
|
2623
|
-
}), ae =
|
|
2620
|
+
const U = D.some((W) => {
|
|
2621
|
+
const X = F.get(W.value);
|
|
2622
|
+
return X && X.length > 1;
|
|
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
|
-
D.some((
|
|
2630
|
-
const
|
|
2631
|
-
(W) => D.some((
|
|
2632
|
-
).map((W) => W.subject) : e.value.filter((W) => D.some((
|
|
2633
|
-
var
|
|
2634
|
-
return (
|
|
2635
|
-
}),
|
|
2629
|
+
D.some((X) => X.value === W.subject) && !W.inverted && L.set(W.subject, new Set(W.actions));
|
|
2630
|
+
const k = U ? e.value.filter(
|
|
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), w = D.find((W) => {
|
|
2633
|
+
var X;
|
|
2634
|
+
return (X = C.get(W.value)) == null ? void 0 : X.isCategoryCover;
|
|
2635
|
+
}), Z = (w == null ? void 0 : w.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
|
-
selectedSubjects:
|
|
2640
|
-
isMultiAction:
|
|
2639
|
+
selectedSubjects: k,
|
|
2640
|
+
isMultiAction: U,
|
|
2641
2641
|
actionColumns: ae,
|
|
2642
2642
|
permissionActionsMap: F,
|
|
2643
2643
|
selectedActionsMap: L,
|
|
2644
|
-
coverSubject:
|
|
2644
|
+
coverSubject: Z,
|
|
2645
2645
|
coverSelectedActions: x,
|
|
2646
2646
|
coverCoversAll: G
|
|
2647
2647
|
};
|
|
@@ -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,7 +2668,7 @@ 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
|
}
|
|
@@ -2677,26 +2677,26 @@ function Ir(e, t, n, s) {
|
|
|
2677
2677
|
const v = m.selectedActionsMap.get(C);
|
|
2678
2678
|
return v ? v.has("manage") : !1;
|
|
2679
2679
|
}
|
|
2680
|
-
function
|
|
2680
|
+
function T(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) {
|
|
2691
2691
|
if (v) {
|
|
2692
|
-
const p = t.value.find((
|
|
2692
|
+
const p = t.value.find((k) => k.subject === C);
|
|
2693
2693
|
if (!p) return;
|
|
2694
2694
|
const {
|
|
2695
2695
|
category: D,
|
|
2696
2696
|
showByFeatureFlag: F,
|
|
2697
|
-
isCategoryCover:
|
|
2697
|
+
isCategoryCover: U,
|
|
2698
2698
|
...ae
|
|
2699
|
-
} = p, L = e.value.filter((
|
|
2699
|
+
} = p, L = e.value.filter((k) => k.subject !== C);
|
|
2700
2700
|
L.push(ae), s("update:model-value", L);
|
|
2701
2701
|
} else
|
|
2702
2702
|
s(
|
|
@@ -2715,7 +2715,7 @@ function Ir(e, t, n, s) {
|
|
|
2715
2715
|
function V(m, C) {
|
|
2716
2716
|
return !m.coverSubject || C === m.coverSubject ? !1 : m.coverCoversAll;
|
|
2717
2717
|
}
|
|
2718
|
-
function
|
|
2718
|
+
function N(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
|
-
isCategoryCover:
|
|
2737
|
+
isCategoryCover: k,
|
|
2738
2738
|
...w
|
|
2739
|
-
} =
|
|
2739
|
+
} = U;
|
|
2740
2740
|
p.push({ ...w, 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,16 +2751,16 @@ 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) => M(m, p.value, C) ||
|
|
2754
|
+
(p) => M(m, p.value, C) || N(m, p.value, C)
|
|
2755
2755
|
);
|
|
2756
2756
|
}
|
|
2757
|
-
function
|
|
2757
|
+
function y(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) => M(m, D.value, C) ||
|
|
2763
|
+
(D) => M(m, D.value, C) || N(m, D.value, C)
|
|
2764
2764
|
).length;
|
|
2765
2765
|
return p > 0 && p < v.length;
|
|
2766
2766
|
}
|
|
@@ -2768,27 +2768,27 @@ function Ir(e, t, n, s) {
|
|
|
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
|
-
|
|
2775
|
+
if (U >= 0) {
|
|
2776
|
+
const L = { ...p[U] }, k = new Set(L.actions);
|
|
2777
|
+
k.add(C), L.actions = Array.from(k), 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
|
-
category:
|
|
2782
|
+
category: k,
|
|
2783
2783
|
showByFeatureFlag: w,
|
|
2784
|
-
isCategoryCover:
|
|
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
|
-
|
|
2789
|
+
else if (U >= 0) {
|
|
2790
|
+
const L = { ...p[U] }, k = L.actions.filter((w) => w !== C);
|
|
2791
|
+
k.length === 0 ? p.splice(U, 1) : (L.actions = k, p[U] = L);
|
|
2792
2792
|
}
|
|
2793
2793
|
const ae = t.value.find((L) => L.subject === F);
|
|
2794
2794
|
ae && Ln(p, F, ae.actions);
|
|
@@ -2809,27 +2809,27 @@ function Ir(e, t, n, s) {
|
|
|
2809
2809
|
isAllManageChecked: d,
|
|
2810
2810
|
toggleAllManage: u,
|
|
2811
2811
|
isManageChecked: g,
|
|
2812
|
-
isManageIndeterminate:
|
|
2812
|
+
isManageIndeterminate: T,
|
|
2813
2813
|
toggleManage: O,
|
|
2814
2814
|
hasNonManageActions: I,
|
|
2815
2815
|
isActionChecked: M,
|
|
2816
2816
|
isRowFullyCoveredByCover: V,
|
|
2817
|
-
isActionCoveredByCover:
|
|
2817
|
+
isActionCoveredByCover: N,
|
|
2818
2818
|
permissionDefinesAction: A,
|
|
2819
2819
|
toggleAction: i,
|
|
2820
2820
|
isAllActionChecked: f,
|
|
2821
|
-
isAllActionIndeterminate:
|
|
2821
|
+
isAllActionIndeterminate: y,
|
|
2822
2822
|
toggleAllAction: h,
|
|
2823
2823
|
actionLabel: R
|
|
2824
2824
|
};
|
|
2825
2825
|
}
|
|
2826
|
-
const
|
|
2826
|
+
const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
2827
2827
|
key: 1,
|
|
2828
2828
|
class: "space-y-16"
|
|
2829
|
-
},
|
|
2829
|
+
}, Tr = { class: "flex items-end justify-between" }, kr = { 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"], wr = {
|
|
2830
2830
|
key: 0,
|
|
2831
2831
|
class: "flex shrink-0"
|
|
2832
|
-
}, Mr = /* @__PURE__ */
|
|
2832
|
+
}, Mr = /* @__PURE__ */ Ne({
|
|
2833
2833
|
__name: "BasePermission",
|
|
2834
2834
|
props: {
|
|
2835
2835
|
modelValue: {
|
|
@@ -2857,16 +2857,16 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
2857
2857
|
isAllManageChecked: d,
|
|
2858
2858
|
toggleAllManage: u,
|
|
2859
2859
|
isManageChecked: g,
|
|
2860
|
-
isManageIndeterminate:
|
|
2860
|
+
isManageIndeterminate: T,
|
|
2861
2861
|
toggleManage: O,
|
|
2862
2862
|
hasNonManageActions: I,
|
|
2863
2863
|
isActionChecked: M,
|
|
2864
2864
|
isRowFullyCoveredByCover: V,
|
|
2865
|
-
isActionCoveredByCover:
|
|
2865
|
+
isActionCoveredByCover: N,
|
|
2866
2866
|
permissionDefinesAction: A,
|
|
2867
2867
|
toggleAction: i,
|
|
2868
2868
|
isAllActionChecked: f,
|
|
2869
|
-
isAllActionIndeterminate:
|
|
2869
|
+
isAllActionIndeterminate: y,
|
|
2870
2870
|
toggleAllAction: h,
|
|
2871
2871
|
actionLabel: S
|
|
2872
2872
|
} = Ir(
|
|
@@ -2876,14 +2876,14 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
2876
2876
|
(R, m) => s("update:model-value", m)
|
|
2877
2877
|
);
|
|
2878
2878
|
return (R, m) => {
|
|
2879
|
-
const C =
|
|
2880
|
-
return H(), ee("div",
|
|
2879
|
+
const C = Ye("FmCheckbox");
|
|
2880
|
+
return H(), ee("div", yr, [
|
|
2881
2881
|
(H(!0), ee(Ie, null, pe(B(a), (v) => (H(), ee(Ie, {
|
|
2882
2882
|
key: v.category
|
|
2883
2883
|
}, [
|
|
2884
|
-
v.isMultiAction ? (H(), ee("div",
|
|
2885
|
-
te("div",
|
|
2886
|
-
te("div",
|
|
2884
|
+
v.isMultiAction ? (H(), ee("div", Nr, [
|
|
2885
|
+
te("div", Tr, [
|
|
2886
|
+
te("div", kr, 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,
|
|
@@ -2909,7 +2909,7 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
2909
2909
|
}, [
|
|
2910
2910
|
de(C, {
|
|
2911
2911
|
"model-value": B(f)(v, p),
|
|
2912
|
-
indeterminate: B(
|
|
2912
|
+
indeterminate: B(y)(v, p),
|
|
2913
2913
|
value: p,
|
|
2914
2914
|
disabled: e.disable,
|
|
2915
2915
|
size: "sm",
|
|
@@ -2929,7 +2929,7 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
2929
2929
|
"model-value": B(g)(v, p.value) || B(V)(v, p.value),
|
|
2930
2930
|
value: p.value,
|
|
2931
2931
|
disabled: e.disable || B(V)(v, p.value),
|
|
2932
|
-
indeterminate: B(
|
|
2932
|
+
indeterminate: B(T)(v, p.value),
|
|
2933
2933
|
size: "sm",
|
|
2934
2934
|
class: "shrink-0",
|
|
2935
2935
|
"onUpdate:modelValue": (F) => B(O)(v, p.value, F)
|
|
@@ -2948,11 +2948,11 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
2948
2948
|
}, [
|
|
2949
2949
|
B(A)(v, p.value, F) ? (H(), Se(C, {
|
|
2950
2950
|
key: 0,
|
|
2951
|
-
"model-value": B(M)(v, p.value, F) || B(
|
|
2951
|
+
"model-value": B(M)(v, p.value, F) || B(N)(v, p.value, F),
|
|
2952
2952
|
value: F,
|
|
2953
|
-
disabled: e.disable || B(
|
|
2953
|
+
disabled: e.disable || B(N)(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)
|
|
@@ -2978,14 +2978,14 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
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__ */ Ne({
|
|
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;
|
|
@@ -2993,20 +2993,20 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
2993
2993
|
function d() {
|
|
2994
2994
|
s.value && (l.value = s.value.scrollHeight);
|
|
2995
2995
|
}
|
|
2996
|
-
return
|
|
2996
|
+
return Xt(async () => {
|
|
2997
2997
|
await es(), s.value && (a = new ResizeObserver(() => {
|
|
2998
2998
|
d();
|
|
2999
2999
|
}), a.observe(s.value));
|
|
3000
3000
|
}), An(() => {
|
|
3001
3001
|
a == null || a.disconnect();
|
|
3002
3002
|
}), (u, g) => {
|
|
3003
|
-
const
|
|
3003
|
+
const T = Ye("FmButton");
|
|
3004
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
|
-
de(
|
|
3009
|
+
de(T, {
|
|
3010
3010
|
icon: n.value ? "keyboard_arrow_down" : "keyboard_arrow_up",
|
|
3011
3011
|
"text-color": "neutral-gray-400",
|
|
3012
3012
|
variant: "tertiary",
|
|
@@ -3026,7 +3026,7 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
3026
3026
|
], 64);
|
|
3027
3027
|
};
|
|
3028
3028
|
}
|
|
3029
|
-
}),
|
|
3029
|
+
}), Ur = { class: "fm-typo-en-title-sm-600" }, Rt = "includedFuture", Rn = /* @__PURE__ */ Ne({
|
|
3030
3030
|
__name: "ConditionPermission",
|
|
3031
3031
|
props: {
|
|
3032
3032
|
modelValue: {
|
|
@@ -3060,21 +3060,21 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
3060
3060
|
)
|
|
3061
3061
|
]), c = q(() => n.modelValue ? n.modelValue : [Rt, ...n.options.map((g) => g.value)]);
|
|
3062
3062
|
function d(g) {
|
|
3063
|
-
const
|
|
3064
|
-
s("update:model-value",
|
|
3063
|
+
const T = g.length === a.value.length;
|
|
3064
|
+
s("update:model-value", T ? null : g.filter((O) => O !== Rt));
|
|
3065
3065
|
}
|
|
3066
|
-
const u =
|
|
3067
|
-
return (g,
|
|
3068
|
-
const O =
|
|
3069
|
-
return H(), Se(
|
|
3066
|
+
const u = Ue("");
|
|
3067
|
+
return (g, T) => {
|
|
3068
|
+
const O = Ye("fm-search");
|
|
3069
|
+
return H(), Se(jr, null, {
|
|
3070
3070
|
title: he(() => [
|
|
3071
|
-
te("p",
|
|
3071
|
+
te("p", Ur, Ae(B(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
3072
3072
|
]),
|
|
3073
3073
|
default: he(() => [
|
|
3074
3074
|
e.options.length > 1 ? (H(), Se(O, {
|
|
3075
3075
|
key: 0,
|
|
3076
3076
|
modelValue: u.value,
|
|
3077
|
-
"onUpdate:modelValue":
|
|
3077
|
+
"onUpdate:modelValue": T[0] || (T[0] = (I) => u.value = I),
|
|
3078
3078
|
class: "mt-16",
|
|
3079
3079
|
placeholder: B(l)("team.memberForm.permissions.search", { context: e.context })
|
|
3080
3080
|
}, null, 8, ["modelValue", "placeholder"])) : Oe("", !0),
|
|
@@ -3101,7 +3101,7 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
3101
3101
|
});
|
|
3102
3102
|
};
|
|
3103
3103
|
}
|
|
3104
|
-
}), At = "includedNewRole", Vr = /* @__PURE__ */
|
|
3104
|
+
}), At = "includedNewRole", Vr = /* @__PURE__ */ Ne({
|
|
3105
3105
|
__name: "PosRolePermission",
|
|
3106
3106
|
props: {
|
|
3107
3107
|
modelValue: {
|
|
@@ -3134,13 +3134,13 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
3134
3134
|
...n.roles.map((g) => ({
|
|
3135
3135
|
label: g.name,
|
|
3136
3136
|
value: g._id,
|
|
3137
|
-
disable: !!u && g.restaurants.every(({ id:
|
|
3137
|
+
disable: !!u && g.restaurants.every(({ id: T }) => !u.includes(T))
|
|
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
3142
|
const g = u.length === a.value.length;
|
|
3143
|
-
s("update:model-value", g ? null : u.filter((
|
|
3143
|
+
s("update:model-value", g ? null : u.filter((T) => T !== At));
|
|
3144
3144
|
}
|
|
3145
3145
|
return (u, g) => (H(), Se(Qt, {
|
|
3146
3146
|
"model-value": c.value,
|
|
@@ -3151,10 +3151,10 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
3151
3151
|
title: B(l)("team.memberForm.permissions.roles"),
|
|
3152
3152
|
"onUpdate:modelValue": d
|
|
3153
3153
|
}, Fe({ _: 2 }, [
|
|
3154
|
-
pe(a.value, (
|
|
3155
|
-
name: `checkbox-${
|
|
3154
|
+
pe(a.value, (T) => ({
|
|
3155
|
+
name: `checkbox-${T.value}-append`,
|
|
3156
3156
|
fn: he(({ option: O }) => [
|
|
3157
|
-
ge(u.$slots, `checkbox-${
|
|
3157
|
+
ge(u.$slots, `checkbox-${T.value}-append`, { option: O })
|
|
3158
3158
|
])
|
|
3159
3159
|
}))
|
|
3160
3160
|
]), 1032, ["model-value", "options", "disable", "title"]));
|
|
@@ -3163,7 +3163,7 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
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" },
|
|
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__ */ Ne({
|
|
3167
3167
|
__name: "PortalPermissionEditor",
|
|
3168
3168
|
props: /* @__PURE__ */ qt({
|
|
3169
3169
|
disable: {
|
|
@@ -3182,52 +3182,52 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
3182
3182
|
setup(e, { emit: t }) {
|
|
3183
3183
|
const n = ts(e, "modelValue"), s = e, l = t, { t: a } = _t(), { fetchCustomReportPermissions: c, customReportPermissions: d } = ss();
|
|
3184
3184
|
function u(L) {
|
|
3185
|
-
return Dt.find((
|
|
3185
|
+
return Dt.find((k) => k.subject === L) ?? d.value.find((k) => k.subject === L);
|
|
3186
3186
|
}
|
|
3187
3187
|
const g = q(() => {
|
|
3188
3188
|
const L = [...Dt, ...d.value].filter((w) => !M.includes(w.subject)).map((w) => w.subject);
|
|
3189
3189
|
return as(
|
|
3190
3190
|
s.inheritPermissions.map((w) => ({
|
|
3191
3191
|
...w,
|
|
3192
|
-
permissions: w.permissions.filter((
|
|
3192
|
+
permissions: w.permissions.filter((Z) => L.includes(Z.subject))
|
|
3193
3193
|
}))
|
|
3194
3194
|
).map((w) => ({
|
|
3195
3195
|
id: w.subject,
|
|
3196
3196
|
setNames: w.setNames
|
|
3197
3197
|
}));
|
|
3198
|
-
}),
|
|
3199
|
-
const L = s.inheritPermissions.map((
|
|
3200
|
-
...
|
|
3201
|
-
permissions:
|
|
3198
|
+
}), T = q(() => {
|
|
3199
|
+
const L = s.inheritPermissions.map((k) => ({
|
|
3200
|
+
...k,
|
|
3201
|
+
permissions: k.permissions.filter(
|
|
3202
3202
|
(w) => w.subject === ce.Subject.Business.inventory_stock
|
|
3203
3203
|
)
|
|
3204
3204
|
}));
|
|
3205
|
-
return
|
|
3205
|
+
return Nt(
|
|
3206
3206
|
L,
|
|
3207
3207
|
"warehouseId",
|
|
3208
|
-
|
|
3208
|
+
N.value.map((k) => k._id)
|
|
3209
3209
|
);
|
|
3210
3210
|
}), O = q(() => {
|
|
3211
|
-
const L = s.inheritPermissions.map((
|
|
3212
|
-
...
|
|
3213
|
-
permissions:
|
|
3211
|
+
const L = s.inheritPermissions.map((k) => ({
|
|
3212
|
+
...k,
|
|
3213
|
+
permissions: k.permissions.filter(
|
|
3214
3214
|
(w) => w.subject === ce.Subject.Restaurant.restaurant
|
|
3215
3215
|
)
|
|
3216
3216
|
}));
|
|
3217
|
-
return
|
|
3217
|
+
return Nt(
|
|
3218
3218
|
L,
|
|
3219
3219
|
"restaurantId",
|
|
3220
|
-
|
|
3220
|
+
y.value.map((k) => k._id)
|
|
3221
3221
|
);
|
|
3222
3222
|
}), I = q(() => {
|
|
3223
|
-
const L = s.inheritPermissions.map((
|
|
3224
|
-
...
|
|
3225
|
-
permissions:
|
|
3223
|
+
const L = s.inheritPermissions.map((k) => ({
|
|
3224
|
+
...k,
|
|
3225
|
+
permissions: k.permissions.filter((w) => w.subject === ce.Subject.Business.role)
|
|
3226
3226
|
}));
|
|
3227
|
-
return
|
|
3227
|
+
return Nt(
|
|
3228
3228
|
L,
|
|
3229
3229
|
"roleId",
|
|
3230
|
-
h.value.map((
|
|
3230
|
+
h.value.map((k) => k._id)
|
|
3231
3231
|
);
|
|
3232
3232
|
}), M = [
|
|
3233
3233
|
ce.Subject.Business.restaurant,
|
|
@@ -3235,142 +3235,142 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
3235
3235
|
ce.Subject.Restaurant.restaurant,
|
|
3236
3236
|
ce.Subject.Business.inventory_stock
|
|
3237
3237
|
], V = q(() => {
|
|
3238
|
-
var
|
|
3239
|
-
const L = (
|
|
3238
|
+
var k;
|
|
3239
|
+
const L = (k = n.value) == null ? void 0 : k.find(
|
|
3240
3240
|
(w) => w.subject === ce.Subject.Business.inventory_stock
|
|
3241
3241
|
);
|
|
3242
3242
|
return L ? L.conditions ? JSON.parse(L.conditions).warehouseId.$in : null : [];
|
|
3243
|
-
}),
|
|
3243
|
+
}), N = Ue([]), A = q(() => N.value.map((L) => ({
|
|
3244
3244
|
label: L.profile.name,
|
|
3245
3245
|
value: L._id
|
|
3246
3246
|
})));
|
|
3247
3247
|
function i(L) {
|
|
3248
|
-
const
|
|
3249
|
-
n.value =
|
|
3248
|
+
const k = f(n.value, L);
|
|
3249
|
+
n.value = k;
|
|
3250
3250
|
}
|
|
3251
|
-
function f(L,
|
|
3251
|
+
function f(L, k) {
|
|
3252
3252
|
let w = ut(
|
|
3253
|
-
L.filter((
|
|
3253
|
+
L.filter((Z) => Z.subject !== ce.Subject.Business.inventory_stock)
|
|
3254
3254
|
);
|
|
3255
|
-
if (!
|
|
3256
|
-
const
|
|
3255
|
+
if (!k || k.length > 0) {
|
|
3256
|
+
const Z = {
|
|
3257
3257
|
actions: [ce.Action.manage],
|
|
3258
3258
|
subject: ce.Subject.Business.inventory_stock
|
|
3259
3259
|
};
|
|
3260
|
-
|
|
3260
|
+
k && (Z.conditions = JSON.stringify({ warehouseId: { $in: k } })), w.push(Z);
|
|
3261
3261
|
}
|
|
3262
3262
|
return w;
|
|
3263
3263
|
}
|
|
3264
|
-
const { restaurants:
|
|
3264
|
+
const { restaurants: y } = ns(), h = ds().roles, S = q(() => y.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(() => y.value.reduce((L, k) => (L[k._id] = h.value.filter((w) => w.restaurants.some((Z) => Z.id === k._id)).map((w) => w._id), L), {})), m = q(() => rs(n.value));
|
|
3268
3268
|
function C(L) {
|
|
3269
|
-
const
|
|
3270
|
-
n.value =
|
|
3269
|
+
const k = p(n.value, L);
|
|
3270
|
+
n.value = k;
|
|
3271
3271
|
}
|
|
3272
3272
|
const v = q(() => ls(n.value));
|
|
3273
|
-
function p(L,
|
|
3274
|
-
var
|
|
3273
|
+
function p(L, k) {
|
|
3274
|
+
var Z;
|
|
3275
3275
|
let w = ut(
|
|
3276
3276
|
L.filter(
|
|
3277
3277
|
(x) => x.subject !== ce.Subject.Business.restaurant && x.subject !== ce.Subject.Restaurant.restaurant
|
|
3278
3278
|
)
|
|
3279
3279
|
);
|
|
3280
|
-
if (!
|
|
3280
|
+
if (!k || k.length > 0) {
|
|
3281
3281
|
const {
|
|
3282
3282
|
category: x,
|
|
3283
3283
|
showByFeatureFlag: G,
|
|
3284
3284
|
...W
|
|
3285
3285
|
} = us.restaurant;
|
|
3286
3286
|
w.push(W);
|
|
3287
|
-
const
|
|
3287
|
+
const X = {
|
|
3288
3288
|
actions: [ce.Action.manage],
|
|
3289
3289
|
subject: ce.Subject.Restaurant.restaurant
|
|
3290
3290
|
};
|
|
3291
|
-
|
|
3291
|
+
k && (X.conditions = JSON.stringify({ restaurantId: { $in: k } })), w.push(X);
|
|
3292
3292
|
}
|
|
3293
|
-
if (
|
|
3293
|
+
if (k) {
|
|
3294
3294
|
const x = [
|
|
3295
|
-
...new Set(
|
|
3295
|
+
...new Set(k.map((W) => R.value[W]).flatMap((W) => W))
|
|
3296
3296
|
], G = h.value.map((W) => W._id);
|
|
3297
3297
|
x.length !== G.length && (w = F(
|
|
3298
3298
|
w,
|
|
3299
|
-
(
|
|
3299
|
+
(Z = v.value || G) == null ? void 0 : Z.filter((W) => x.includes(W))
|
|
3300
3300
|
));
|
|
3301
3301
|
}
|
|
3302
3302
|
return w;
|
|
3303
3303
|
}
|
|
3304
3304
|
function D(L) {
|
|
3305
|
-
const
|
|
3306
|
-
n.value =
|
|
3305
|
+
const k = F(n.value, L);
|
|
3306
|
+
n.value = k;
|
|
3307
3307
|
}
|
|
3308
|
-
function F(L,
|
|
3308
|
+
function F(L, k) {
|
|
3309
3309
|
let w = ut(
|
|
3310
|
-
L.filter((
|
|
3310
|
+
L.filter((Z) => Z.subject !== ce.Subject.Business.role)
|
|
3311
3311
|
);
|
|
3312
|
-
if (
|
|
3313
|
-
const
|
|
3312
|
+
if (k && k.length > 0) {
|
|
3313
|
+
const Z = {
|
|
3314
3314
|
actions: [ce.Action.manage],
|
|
3315
3315
|
subject: ce.Subject.Business.role,
|
|
3316
|
-
conditions: JSON.stringify({ roleId: { $in:
|
|
3316
|
+
conditions: JSON.stringify({ roleId: { $in: k } })
|
|
3317
3317
|
};
|
|
3318
|
-
w.push(
|
|
3318
|
+
w.push(Z);
|
|
3319
3319
|
}
|
|
3320
3320
|
return w;
|
|
3321
3321
|
}
|
|
3322
|
-
|
|
3322
|
+
Xt(async () => {
|
|
3323
3323
|
await Promise.all([
|
|
3324
|
-
Gr.readWarehouses().then((L) =>
|
|
3324
|
+
Gr.readWarehouses().then((L) => N.value = L),
|
|
3325
3325
|
c()
|
|
3326
3326
|
]);
|
|
3327
3327
|
});
|
|
3328
|
-
const
|
|
3328
|
+
const U = q(() => Tt(
|
|
3329
3329
|
n.value,
|
|
3330
|
-
|
|
3331
|
-
).map((
|
|
3332
|
-
if (
|
|
3333
|
-
const w =
|
|
3334
|
-
if (!w.includes("manage")) return
|
|
3335
|
-
const
|
|
3336
|
-
if (!
|
|
3337
|
-
const x =
|
|
3338
|
-
return x.length <= 1 || x.filter((W) => !w.includes(W)).length === 0 ?
|
|
3330
|
+
kt
|
|
3331
|
+
).map((k) => {
|
|
3332
|
+
if (k.inverted) return k;
|
|
3333
|
+
const w = k.actions;
|
|
3334
|
+
if (!w.includes("manage")) return k;
|
|
3335
|
+
const Z = u(k.subject);
|
|
3336
|
+
if (!Z) return k;
|
|
3337
|
+
const x = Z.actions;
|
|
3338
|
+
return x.length <= 1 || x.filter((W) => !w.includes(W)).length === 0 ? k : { ...k, actions: [...x] };
|
|
3339
3339
|
}));
|
|
3340
3340
|
function ae(L) {
|
|
3341
|
-
const
|
|
3342
|
-
|
|
3341
|
+
const k = new Set(
|
|
3342
|
+
U.value.filter((G) => !G.inverted).map((G) => G.subject)
|
|
3343
3343
|
), w = 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
|
-
for (const G of
|
|
3350
|
-
w.has(G) || (
|
|
3349
|
+
for (const G of k)
|
|
3350
|
+
w.has(G) || (Z.has(G) && (x = x.filter((X) => X.subject !== G)), (!Z.has(G) || Tt(
|
|
3351
3351
|
x,
|
|
3352
|
-
|
|
3353
|
-
).some((
|
|
3352
|
+
kt
|
|
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
3354
|
for (const G of w)
|
|
3355
|
-
if (!
|
|
3356
|
-
const W = x.some((
|
|
3357
|
-
if (x = x.filter((
|
|
3358
|
-
const
|
|
3355
|
+
if (!k.has(G)) {
|
|
3356
|
+
const W = x.some((X) => X.subject === G && X.inverted);
|
|
3357
|
+
if (x = x.filter((X) => !(X.subject === G && X.inverted)), !W && !Z.has(G)) {
|
|
3358
|
+
const X = L.find(
|
|
3359
3359
|
(_e) => _e.subject === G && !_e.inverted
|
|
3360
3360
|
), ve = u(G);
|
|
3361
|
-
if (ve &&
|
|
3361
|
+
if (ve && X) {
|
|
3362
3362
|
const { category: _e, showByFeatureFlag: Me, ...ne } = ve;
|
|
3363
|
-
x.push({ ...ne, actions:
|
|
3363
|
+
x.push({ ...ne, actions: X.actions });
|
|
3364
3364
|
}
|
|
3365
3365
|
}
|
|
3366
3366
|
}
|
|
3367
3367
|
for (const G of w) {
|
|
3368
|
-
if (!
|
|
3369
|
-
const W =
|
|
3368
|
+
if (!k.has(G)) continue;
|
|
3369
|
+
const W = U.value.find(
|
|
3370
3370
|
(ne) => ne.subject === G && !ne.inverted
|
|
3371
|
-
),
|
|
3372
|
-
if (!W || !
|
|
3373
|
-
const ve = new Set(W.actions), _e = new Set(
|
|
3371
|
+
), X = L.find((ne) => ne.subject === G && !ne.inverted);
|
|
3372
|
+
if (!W || !X) continue;
|
|
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
3376
|
const Me = x.findIndex((ne) => ne.subject === G && !ne.inverted);
|
|
@@ -3382,13 +3382,13 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
3382
3382
|
else {
|
|
3383
3383
|
const ne = u(G);
|
|
3384
3384
|
if (ne) {
|
|
3385
|
-
const { category: Ee, showByFeatureFlag:
|
|
3386
|
-
x.push({
|
|
3385
|
+
const { category: Ee, showByFeatureFlag: $e, ...Je } = ne;
|
|
3386
|
+
x.push({ ...Je, actions: Array.from(_e) });
|
|
3387
3387
|
}
|
|
3388
3388
|
}
|
|
3389
|
-
ve.has("manage") && !_e.has("manage") &&
|
|
3389
|
+
ve.has("manage") && !_e.has("manage") && Tt(
|
|
3390
3390
|
x,
|
|
3391
|
-
|
|
3391
|
+
kt
|
|
3392
3392
|
).some(
|
|
3393
3393
|
(Ee) => Ee.subject === G && !Ee.inverted && Ee.actions.includes("manage")
|
|
3394
3394
|
) && !x.some((Ee) => Ee.subject === G && Ee.inverted) && x.push({ subject: G, actions: ["manage"], inverted: !0 }), !ve.has("manage") && _e.has("manage") && (x = x.filter((ne) => !(ne.subject === G && ne.inverted)));
|
|
@@ -3401,10 +3401,10 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
3401
3401
|
l("permissionChanged", L);
|
|
3402
3402
|
},
|
|
3403
3403
|
{ deep: !0 }
|
|
3404
|
-
), (L,
|
|
3404
|
+
), (L, k) => (H(), ee("div", Wr, [
|
|
3405
3405
|
te("div", xr, [
|
|
3406
3406
|
de(Mr, {
|
|
3407
|
-
"model-value":
|
|
3407
|
+
"model-value": U.value,
|
|
3408
3408
|
"excluded-subjects": M,
|
|
3409
3409
|
"additional-permissions": B(d),
|
|
3410
3410
|
"onUpdate:modelValue": ae
|
|
@@ -3417,14 +3417,14 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
3417
3417
|
}))
|
|
3418
3418
|
]), 1032, ["model-value", "additional-permissions"])
|
|
3419
3419
|
]),
|
|
3420
|
-
te("div",
|
|
3420
|
+
te("div", Xr, [
|
|
3421
3421
|
de(Rn, {
|
|
3422
3422
|
"model-value": V.value,
|
|
3423
3423
|
options: A.value,
|
|
3424
3424
|
context: B(a)("team.labels.warehouse"),
|
|
3425
3425
|
"onUpdate:modelValue": i
|
|
3426
3426
|
}, Fe({ _: 2 }, [
|
|
3427
|
-
pe(
|
|
3427
|
+
pe(T.value, (w) => ({
|
|
3428
3428
|
name: `checkbox-${w.id}-append`,
|
|
3429
3429
|
fn: he(() => [
|
|
3430
3430
|
de(it, { item: w }, null, 8, ["item"])
|
|
@@ -3432,7 +3432,7 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
3432
3432
|
}))
|
|
3433
3433
|
]), 1032, ["model-value", "options", "context"])
|
|
3434
3434
|
]),
|
|
3435
|
-
te("div",
|
|
3435
|
+
te("div", Yr, [
|
|
3436
3436
|
de(Rn, {
|
|
3437
3437
|
"model-value": m.value,
|
|
3438
3438
|
options: S.value,
|
|
@@ -3447,7 +3447,7 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
3447
3447
|
}))
|
|
3448
3448
|
]), 1032, ["model-value", "options", "context"])
|
|
3449
3449
|
]),
|
|
3450
|
-
te("div",
|
|
3450
|
+
te("div", Zr, [
|
|
3451
3451
|
de(Vr, {
|
|
3452
3452
|
roles: B(h),
|
|
3453
3453
|
"model-value": v.value,
|