@feedmepos/mf-hrm-portal 2.0.8-dev.12 → 2.0.8-dev.14
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-CEGtohT7.js +734 -0
- package/dist/{EmployeeList-CVnIGntI.js → EmployeeList-B5_KnyrU.js} +5 -5
- package/dist/{Main-q8IGKAH2.js → Main-Ayry4ijA.js} +6 -6
- package/dist/{Main-CMiYmjMk.js → Main-Dksmkrg_.js} +9 -9
- package/dist/{Main-bmpvqNUB.js → Main-g3IbbAEf.js} +4 -4
- package/dist/{PermissionSetList-0kvdLTQ2.js → PermissionSetList-BoqxRXoi.js} +28 -28
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DdwUIbD4.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-B4ZJlGuT.js} +738 -738
- package/dist/{RoleList-DjxZzgZk.js → RoleList-Cx_JPfNr.js} +7 -7
- package/dist/{TeamMemberList-PmbUeFns.js → TeamMemberList-CDY7Y_qm.js} +8 -8
- package/dist/{TimesheetList-Cs_8p1TE.js → TimesheetList-BYieGfIy.js} +7 -7
- package/dist/{app-PYFafU8x.js → app-p4cgjZ-r.js} +104 -68
- package/dist/app.js +2 -2
- package/dist/{dayjs.min-DjR87Y9e.js → dayjs.min-BRO-vkLx.js} +1 -1
- package/dist/{employee-snwYlork.js → employee-CCBUMHaJ.js} +4 -4
- package/dist/{index-DPEw4kQP.js → index-rMjkDl2r.js} +1 -1
- package/dist/{index-QNkZDIo5.js → index-sEHzMXB6.js} +2 -2
- package/dist/{iteration-BwzU2yPh.js → iteration-CnyH8-jG.js} +1 -1
- package/dist/{lodash-8jIJCGdn.js → lodash-CKmCoqNR.js} +1 -1
- package/dist/src/api/audit-log/index.d.ts +1 -0
- package/dist/src/views/audit-log/locales/index.d.ts +36 -0
- package/dist/{team-Dl33dbDU.js → team-Mco_xubK.js} +1 -1
- package/dist/{timesheet-BVMwsxuV.js → timesheet-Bb0TM0P8.js} +3 -3
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-gNcJGfxF.js → useAppStore-BCOsvBrB.js} +1 -1
- package/dist/{useLoading-DuapEOya.js → useLoading-BSoKX5sI.js} +1 -1
- package/dist/{useReportPermissions-C-f7TyvQ.js → useReportPermissions-D70w_EzG.js} +3 -3
- package/package.json +1 -1
- package/dist/AuditLogList-CZSE61OK.js +0 -708
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { getCurrentInstance as
|
|
1
|
+
import { getCurrentInstance as Wt, inject as $n, ref as je, shallowRef as zn, computed as q, watch as St, onMounted as Zt, onUnmounted as An, defineComponent as Ne, h as Sn, createVNode as me, Text as Kn, Fragment as ye, resolveComponent as Xe, createBlock as Se, openBlock as B, withCtx as he, createElementVNode as te, createElementBlock as ee, toDisplayString as Ae, unref as H, renderList as pe, renderSlot as ge, createCommentVNode as Le, createTextVNode as Qn, useSlots as qn, normalizeStyle as ct, normalizeClass as qe, toRef as Qt, createSlots as Fe, nextTick as es, mergeModels as qt, useModel as ts } from "vue";
|
|
2
2
|
import { useI18n as _t, useCoreStore as ns } from "@feedmepos/mf-common";
|
|
3
3
|
import "@vue/devtools-api";
|
|
4
|
-
import { p as Mt, j as ss, x as as, y as
|
|
5
|
-
import { d as ut, g as os, b as is } from "./iteration-
|
|
6
|
-
import {
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
4
|
+
import { p as Mt, j as ss, x as as, y as Nt, z as rs, l as ls, $ as Tt } from "./index-sEHzMXB6.js";
|
|
5
|
+
import { d as ut, g as os, b as is } from "./iteration-CnyH8-jG.js";
|
|
6
|
+
import { a as cs, b as ce, N as us, d as kt } from "./app-p4cgjZ-r.js";
|
|
7
|
+
import { u as ds } from "./index-rMjkDl2r.js";
|
|
8
|
+
import { u as ms } from "./useAppStore-BCOsvBrB.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) => Xt(e) === "[object Date]", mt = (e) => Xt(e) === "[object RegExp]", pt = (e) => J(e) && Object.keys(e).length === 0, de = Object.assign, hs = Object.create, K = (e = null) => hs(e);
|
|
15
15
|
let tn;
|
|
16
|
-
const Ue = () => tn || (tn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global :
|
|
16
|
+
const Ue = () => tn || (tn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : K());
|
|
17
17
|
function nn(e) {
|
|
18
18
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
19
19
|
}
|
|
20
20
|
const gs = Object.prototype.hasOwnProperty;
|
|
21
|
-
function
|
|
21
|
+
function Ie(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", $ = (e) => e !== null && typeof e == "object", bs = (e) => $(e) && se(e.then) && se(e.catch), Mn = Object.prototype.toString,
|
|
24
|
+
const ie = Array.isArray, se = (e) => typeof e == "function", P = (e) => typeof e == "string", oe = (e) => typeof e == "boolean", $ = (e) => e !== null && typeof e == "object", bs = (e) => $(e) && se(e.then) && se(e.catch), Mn = Object.prototype.toString, Xt = (e) => Mn.call(e), J = (e) => Xt(e) === "[object Object]", vs = (e) => e == null ? "" : ie(e) || J(e) && e.toString === Mn ? JSON.stringify(e, null, 2) : String(e);
|
|
25
25
|
function Yt(e, t = "") {
|
|
26
26
|
return e.reduce((n, s, l) => l === 0 ? n + s : n + t + s, "");
|
|
27
27
|
}
|
|
@@ -29,24 +29,24 @@ function Es(e, t) {
|
|
|
29
29
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
30
30
|
}
|
|
31
31
|
const rt = (e) => !$(e) || ie(e);
|
|
32
|
-
function
|
|
32
|
+
function dt(e, t) {
|
|
33
33
|
if (rt(e) || rt(t))
|
|
34
34
|
throw new Error("Invalid value");
|
|
35
35
|
const n = [{ src: e, des: 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__" && ($(s[a]) && !$(l[a]) && (l[a] = Array.isArray(s[a]) ? [] :
|
|
39
|
+
a !== "__proto__" && ($(s[a]) && !$(l[a]) && (l[a] = Array.isArray(s[a]) ? [] : K()), rt(l[a]) || rt(s[a]) ? l[a] = s[a] : n.push({ src: s[a], des: l[a] }));
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function ys(e, t, n) {
|
|
44
44
|
return { line: e, column: t, offset: n };
|
|
45
45
|
}
|
|
46
46
|
function Dt(e, t, n) {
|
|
47
47
|
return { start: e, end: t };
|
|
48
48
|
}
|
|
49
|
-
const
|
|
49
|
+
const z = {
|
|
50
50
|
// tokenizer error codes
|
|
51
51
|
EXPECTED_TOKEN: 1,
|
|
52
52
|
INVALID_TOKEN_IN_PLACEHOLDER: 2,
|
|
@@ -63,48 +63,48 @@ const K = {
|
|
|
63
63
|
UNEXPECTED_EMPTY_LINKED_MODIFIER: 12,
|
|
64
64
|
UNEXPECTED_EMPTY_LINKED_KEY: 13,
|
|
65
65
|
UNEXPECTED_LEXICAL_ANALYSIS: 14
|
|
66
|
-
},
|
|
66
|
+
}, Is = 17;
|
|
67
67
|
function ht(e, t, n = {}) {
|
|
68
|
-
const { domain: s, messages: l, args: a } = n, c = e,
|
|
69
|
-
return
|
|
68
|
+
const { domain: s, messages: l, args: a } = n, c = e, m = new SyntaxError(String(c));
|
|
69
|
+
return m.code = e, t && (m.location = t), m.domain = s, m;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function Ns(e) {
|
|
72
72
|
throw e;
|
|
73
73
|
}
|
|
74
74
|
const ke = " ", Ts = "\r", fe = `
|
|
75
|
-
`, ks = "\u2028",
|
|
76
|
-
function
|
|
75
|
+
`, ks = "\u2028", Ls = "\u2029";
|
|
76
|
+
function Os(e) {
|
|
77
77
|
const t = e;
|
|
78
78
|
let n = 0, s = 1, l = 1, a = 0;
|
|
79
|
-
const c = (
|
|
79
|
+
const c = (d) => t[d] === Ts && t[d + 1] === fe, m = (d) => t[d] === fe, u = (d) => t[d] === Ls, g = (d) => t[d] === ks, T = (d) => c(d) || m(d) || u(d) || g(d), L = () => n, y = () => s, w = () => l, V = () => a, N = (d) => c(d) || u(d) || g(d) ? fe : t[d], A = () => N(n), i = () => N(n + a);
|
|
80
80
|
function f() {
|
|
81
81
|
return a = 0, T(n) && (s++, l = 0), c(n) && n++, n++, l++, t[n];
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function I() {
|
|
84
84
|
return c(n + a) && a++, a++, t[n + a];
|
|
85
85
|
}
|
|
86
86
|
function h() {
|
|
87
87
|
n = 0, s = 1, l = 1, a = 0;
|
|
88
88
|
}
|
|
89
|
-
function S(
|
|
90
|
-
a =
|
|
89
|
+
function S(d = 0) {
|
|
90
|
+
a = d;
|
|
91
91
|
}
|
|
92
92
|
function R() {
|
|
93
|
-
const
|
|
94
|
-
for (;
|
|
93
|
+
const d = n + a;
|
|
94
|
+
for (; d !== n; )
|
|
95
95
|
f();
|
|
96
96
|
a = 0;
|
|
97
97
|
}
|
|
98
98
|
return {
|
|
99
|
-
index:
|
|
100
|
-
line:
|
|
99
|
+
index: L,
|
|
100
|
+
line: y,
|
|
101
101
|
column: w,
|
|
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: I,
|
|
108
108
|
reset: h,
|
|
109
109
|
resetPeek: S,
|
|
110
110
|
skipToPeek: R
|
|
@@ -112,50 +112,50 @@ function Ls(e) {
|
|
|
112
112
|
}
|
|
113
113
|
const Re = void 0, Cs = ".", sn = "'", Rs = "tokenizer";
|
|
114
114
|
function As(e, t = {}) {
|
|
115
|
-
const n = t.location !== !1, s =
|
|
115
|
+
const n = t.location !== !1, s = Os(e), l = () => s.index(), a = () => ys(s.line(), s.column(), s.index()), c = a(), m = l(), u = {
|
|
116
116
|
currentType: 13,
|
|
117
|
-
offset:
|
|
117
|
+
offset: m,
|
|
118
118
|
startLoc: c,
|
|
119
119
|
endLoc: c,
|
|
120
120
|
lastType: 13,
|
|
121
|
-
lastOffset:
|
|
121
|
+
lastOffset: m,
|
|
122
122
|
lastStartLoc: c,
|
|
123
123
|
lastEndLoc: c,
|
|
124
124
|
braceNest: 0,
|
|
125
125
|
inLinked: !1,
|
|
126
126
|
text: ""
|
|
127
127
|
}, g = () => u, { onError: T } = t;
|
|
128
|
-
function
|
|
128
|
+
function L(r, o, b, ...U) {
|
|
129
129
|
const re = g();
|
|
130
130
|
if (o.column += b, o.offset += b, T) {
|
|
131
|
-
const
|
|
131
|
+
const X = n ? Dt(re.startLoc, o) : null, _ = ht(r, X, {
|
|
132
132
|
domain: Rs,
|
|
133
133
|
args: U
|
|
134
134
|
});
|
|
135
135
|
T(_);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function y(r, o, b) {
|
|
139
139
|
r.endLoc = a(), r.currentType = o;
|
|
140
140
|
const U = { type: o };
|
|
141
141
|
return n && (U.loc = Dt(r.startLoc, r.endLoc)), b != null && (U.value = b), U;
|
|
142
142
|
}
|
|
143
|
-
const w = (r) =>
|
|
143
|
+
const w = (r) => y(
|
|
144
144
|
r,
|
|
145
145
|
13
|
|
146
146
|
/* TokenTypes.EOF */
|
|
147
147
|
);
|
|
148
148
|
function V(r, o) {
|
|
149
|
-
return r.currentChar() === o ? (r.next(), o) : (
|
|
149
|
+
return r.currentChar() === o ? (r.next(), o) : (L(z.EXPECTED_TOKEN, a(), 0, o), "");
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function N(r) {
|
|
152
152
|
let o = "";
|
|
153
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,11 +172,11 @@ function As(e, t = {}) {
|
|
|
172
172
|
const o = r.charCodeAt(0);
|
|
173
173
|
return o >= 48 && o <= 57;
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function I(r, o) {
|
|
176
176
|
const { currentType: b } = o;
|
|
177
177
|
if (b !== 2)
|
|
178
178
|
return !1;
|
|
179
|
-
|
|
179
|
+
N(r);
|
|
180
180
|
const U = i(r.currentPeek());
|
|
181
181
|
return r.resetPeek(), U;
|
|
182
182
|
}
|
|
@@ -184,7 +184,7 @@ function As(e, t = {}) {
|
|
|
184
184
|
const { currentType: b } = o;
|
|
185
185
|
if (b !== 2)
|
|
186
186
|
return !1;
|
|
187
|
-
|
|
187
|
+
N(r);
|
|
188
188
|
const U = r.currentPeek() === "-" ? r.peek() : r.currentPeek(), re = f(U);
|
|
189
189
|
return r.resetPeek(), re;
|
|
190
190
|
}
|
|
@@ -192,7 +192,7 @@ function As(e, t = {}) {
|
|
|
192
192
|
const { currentType: b } = o;
|
|
193
193
|
if (b !== 2)
|
|
194
194
|
return !1;
|
|
195
|
-
|
|
195
|
+
N(r);
|
|
196
196
|
const U = r.currentPeek() === sn;
|
|
197
197
|
return r.resetPeek(), U;
|
|
198
198
|
}
|
|
@@ -200,15 +200,15 @@ function As(e, t = {}) {
|
|
|
200
200
|
const { currentType: b } = o;
|
|
201
201
|
if (b !== 7)
|
|
202
202
|
return !1;
|
|
203
|
-
|
|
203
|
+
N(r);
|
|
204
204
|
const U = r.currentPeek() === ".";
|
|
205
205
|
return r.resetPeek(), U;
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function d(r, o) {
|
|
208
208
|
const { currentType: b } = o;
|
|
209
209
|
if (b !== 8)
|
|
210
210
|
return !1;
|
|
211
|
-
|
|
211
|
+
N(r);
|
|
212
212
|
const U = i(r.currentPeek());
|
|
213
213
|
return r.resetPeek(), U;
|
|
214
214
|
}
|
|
@@ -216,7 +216,7 @@ function As(e, t = {}) {
|
|
|
216
216
|
const { currentType: b } = o;
|
|
217
217
|
if (!(b === 7 || b === 11))
|
|
218
218
|
return !1;
|
|
219
|
-
|
|
219
|
+
N(r);
|
|
220
220
|
const U = r.currentPeek() === ":";
|
|
221
221
|
return r.resetPeek(), U;
|
|
222
222
|
}
|
|
@@ -225,20 +225,20 @@ function As(e, t = {}) {
|
|
|
225
225
|
if (b !== 9)
|
|
226
226
|
return !1;
|
|
227
227
|
const U = () => {
|
|
228
|
-
const
|
|
229
|
-
return
|
|
228
|
+
const X = r.currentPeek();
|
|
229
|
+
return X === "{" ? i(r.peek()) : X === "@" || X === "|" || X === ":" || X === "." || X === ke || !X ? !1 : X === fe ? (r.peek(), U()) : M(r, !1);
|
|
230
230
|
}, re = U();
|
|
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 M(r, o = !0) {
|
|
239
|
-
const b = (re = !1,
|
|
239
|
+
const b = (re = !1, X = "") => {
|
|
240
240
|
const _ = r.currentPeek();
|
|
241
|
-
return _ === "{" || _ === "@" || !_ ? re : _ === "|" ? !(
|
|
241
|
+
return _ === "{" || _ === "@" || !_ ? re : _ === "|" ? !(X === ke || X === fe) : _ === ke ? (r.peek(), b(!0, ke)) : _ === fe ? (r.peek(), b(!0, fe)) : !0;
|
|
242
242
|
}, U = b();
|
|
243
243
|
return o && r.resetPeek(), U;
|
|
244
244
|
}
|
|
@@ -257,7 +257,7 @@ function As(e, t = {}) {
|
|
|
257
257
|
function ae(r) {
|
|
258
258
|
return F(r, j);
|
|
259
259
|
}
|
|
260
|
-
function
|
|
260
|
+
function O(r) {
|
|
261
261
|
const o = r.charCodeAt(0);
|
|
262
262
|
return o >= 97 && o <= 122 || // a-z
|
|
263
263
|
o >= 65 && o <= 90 || // A-Z
|
|
@@ -267,7 +267,7 @@ function As(e, t = {}) {
|
|
|
267
267
|
o === 45;
|
|
268
268
|
}
|
|
269
269
|
function k(r) {
|
|
270
|
-
return F(r,
|
|
270
|
+
return F(r, O);
|
|
271
271
|
}
|
|
272
272
|
function D(r) {
|
|
273
273
|
const o = r.charCodeAt(0);
|
|
@@ -276,22 +276,22 @@ function As(e, t = {}) {
|
|
|
276
276
|
function Y(r) {
|
|
277
277
|
return F(r, D);
|
|
278
278
|
}
|
|
279
|
-
function
|
|
279
|
+
function W(r) {
|
|
280
280
|
const o = r.charCodeAt(0);
|
|
281
281
|
return o >= 48 && o <= 57 || // 0-9
|
|
282
282
|
o >= 65 && o <= 70 || // A-F
|
|
283
283
|
o >= 97 && o <= 102;
|
|
284
284
|
}
|
|
285
285
|
function G(r) {
|
|
286
|
-
return F(r,
|
|
286
|
+
return F(r, W);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function x(r) {
|
|
289
289
|
let o = "", b = "";
|
|
290
290
|
for (; o = Y(r); )
|
|
291
291
|
b += o;
|
|
292
292
|
return b;
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function Z(r) {
|
|
295
295
|
let o = "";
|
|
296
296
|
for (; ; ) {
|
|
297
297
|
const b = r.currentChar();
|
|
@@ -315,12 +315,12 @@ function As(e, t = {}) {
|
|
|
315
315
|
let o = "", b = "";
|
|
316
316
|
for (; o = k(r); )
|
|
317
317
|
b += o;
|
|
318
|
-
return r.currentChar() === Re &&
|
|
318
|
+
return r.currentChar() === Re && L(z.UNTERMINATED_CLOSING_BRACE, a(), 0), b;
|
|
319
319
|
}
|
|
320
320
|
function _e(r) {
|
|
321
321
|
A(r);
|
|
322
322
|
let o = "";
|
|
323
|
-
return r.currentChar() === "-" ? (r.next(), o += `-${
|
|
323
|
+
return r.currentChar() === "-" ? (r.next(), o += `-${x(r)}`) : o += x(r), r.currentChar() === Re && L(z.UNTERMINATED_CLOSING_BRACE, a(), 0), o;
|
|
324
324
|
}
|
|
325
325
|
function we(r) {
|
|
326
326
|
return r !== sn && r !== fe;
|
|
@@ -331,7 +331,7 @@ function As(e, t = {}) {
|
|
|
331
331
|
for (; o = F(r, we); )
|
|
332
332
|
o === "\\" ? b += Ee(r) : b += o;
|
|
333
333
|
const U = r.currentChar();
|
|
334
|
-
return U === fe || U === Re ? (
|
|
334
|
+
return U === fe || U === Re ? (L(z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), U === fe && (r.next(), V(r, "'")), b) : (V(r, "'"), b);
|
|
335
335
|
}
|
|
336
336
|
function Ee(r) {
|
|
337
337
|
const o = r.currentChar();
|
|
@@ -344,19 +344,19 @@ function As(e, t = {}) {
|
|
|
344
344
|
case "U":
|
|
345
345
|
return Je(r, o, 6);
|
|
346
346
|
default:
|
|
347
|
-
return
|
|
347
|
+
return L(z.UNKNOWN_ESCAPE_SEQUENCE, a(), 0, o), "";
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
function Je(r, o, b) {
|
|
351
351
|
V(r, o);
|
|
352
352
|
let U = "";
|
|
353
353
|
for (let re = 0; re < b; re++) {
|
|
354
|
-
const
|
|
355
|
-
if (!
|
|
356
|
-
|
|
354
|
+
const X = G(r);
|
|
355
|
+
if (!X) {
|
|
356
|
+
L(z.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${U}${r.currentChar()}`);
|
|
357
357
|
break;
|
|
358
358
|
}
|
|
359
|
-
U +=
|
|
359
|
+
U += X;
|
|
360
360
|
}
|
|
361
361
|
return `\\${o}${U}`;
|
|
362
362
|
}
|
|
@@ -376,14 +376,14 @@ function As(e, t = {}) {
|
|
|
376
376
|
b += o;
|
|
377
377
|
return b;
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function yt(r) {
|
|
380
380
|
const o = (b) => {
|
|
381
381
|
const U = r.currentChar();
|
|
382
382
|
return U === "{" || U === "@" || U === "|" || U === "(" || U === ")" || !U || U === ke ? b : (b += U, r.next(), o(b));
|
|
383
383
|
};
|
|
384
384
|
return o("");
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function ze(r) {
|
|
387
387
|
A(r);
|
|
388
388
|
const o = V(
|
|
389
389
|
r,
|
|
@@ -396,71 +396,71 @@ function As(e, t = {}) {
|
|
|
396
396
|
let b = null;
|
|
397
397
|
switch (r.currentChar()) {
|
|
398
398
|
case "{":
|
|
399
|
-
return o.braceNest >= 1 &&
|
|
399
|
+
return o.braceNest >= 1 && L(z.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), r.next(), b = y(
|
|
400
400
|
o,
|
|
401
401
|
2,
|
|
402
402
|
"{"
|
|
403
403
|
/* TokenChars.BraceLeft */
|
|
404
404
|
), A(r), o.braceNest++, b;
|
|
405
405
|
case "}":
|
|
406
|
-
return o.braceNest > 0 && o.currentType === 2 &&
|
|
406
|
+
return o.braceNest > 0 && o.currentType === 2 && L(z.EMPTY_PLACEHOLDER, a(), 0), r.next(), b = y(
|
|
407
407
|
o,
|
|
408
408
|
3,
|
|
409
409
|
"}"
|
|
410
410
|
/* TokenChars.BraceRight */
|
|
411
411
|
), o.braceNest--, o.braceNest > 0 && A(r), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), b;
|
|
412
412
|
case "@":
|
|
413
|
-
return o.braceNest > 0 &&
|
|
413
|
+
return o.braceNest > 0 && L(z.UNTERMINATED_CLOSING_BRACE, a(), 0), b = xe(r, o) || w(o), o.braceNest = 0, b;
|
|
414
414
|
default: {
|
|
415
|
-
let re = !0,
|
|
415
|
+
let re = !0, X = !0, _ = !0;
|
|
416
416
|
if (p(r))
|
|
417
|
-
return o.braceNest > 0 &&
|
|
417
|
+
return o.braceNest > 0 && L(z.UNTERMINATED_CLOSING_BRACE, a(), 0), b = y(o, 1, ze(r)), o.braceNest = 0, o.inLinked = !1, b;
|
|
418
418
|
if (o.braceNest > 0 && (o.currentType === 4 || o.currentType === 5 || o.currentType === 6))
|
|
419
|
-
return
|
|
420
|
-
if (re =
|
|
421
|
-
return b =
|
|
422
|
-
if (
|
|
423
|
-
return b =
|
|
419
|
+
return L(z.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0, Ke(r, o);
|
|
420
|
+
if (re = I(r, o))
|
|
421
|
+
return b = y(o, 4, ve(r)), A(r), b;
|
|
422
|
+
if (X = h(r, o))
|
|
423
|
+
return b = y(o, 5, _e(r)), A(r), b;
|
|
424
424
|
if (_ = S(r, o))
|
|
425
|
-
return b =
|
|
426
|
-
if (!re && !
|
|
427
|
-
return b =
|
|
425
|
+
return b = y(o, 6, ne(r)), A(r), b;
|
|
426
|
+
if (!re && !X && !_)
|
|
427
|
+
return b = y(o, 12, vt(r)), L(z.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, b.value), A(r), b;
|
|
428
428
|
break;
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
431
|
return b;
|
|
432
432
|
}
|
|
433
|
-
function
|
|
433
|
+
function xe(r, o) {
|
|
434
434
|
const { currentType: b } = o;
|
|
435
435
|
let U = null;
|
|
436
436
|
const re = r.currentChar();
|
|
437
|
-
switch ((b === 7 || b === 8 || b === 11 || b === 9) && (re === fe || re === ke) &&
|
|
437
|
+
switch ((b === 7 || b === 8 || b === 11 || b === 9) && (re === fe || re === ke) && L(z.INVALID_LINKED_FORMAT, a(), 0), re) {
|
|
438
438
|
case "@":
|
|
439
|
-
return r.next(), U =
|
|
439
|
+
return r.next(), U = y(
|
|
440
440
|
o,
|
|
441
441
|
7,
|
|
442
442
|
"@"
|
|
443
443
|
/* TokenChars.LinkedAlias */
|
|
444
444
|
), o.inLinked = !0, U;
|
|
445
445
|
case ".":
|
|
446
|
-
return A(r), r.next(),
|
|
446
|
+
return A(r), r.next(), y(
|
|
447
447
|
o,
|
|
448
448
|
8,
|
|
449
449
|
"."
|
|
450
450
|
/* TokenChars.LinkedDot */
|
|
451
451
|
);
|
|
452
452
|
case ":":
|
|
453
|
-
return A(r), r.next(),
|
|
453
|
+
return A(r), r.next(), y(
|
|
454
454
|
o,
|
|
455
455
|
9,
|
|
456
456
|
":"
|
|
457
457
|
/* TokenChars.LinkedDelimiter */
|
|
458
458
|
);
|
|
459
459
|
default:
|
|
460
|
-
return p(r) ? (U =
|
|
460
|
+
return p(r) ? (U = y(o, 1, ze(r)), o.braceNest = 0, o.inLinked = !1, U) : R(r, o) || C(r, o) ? (A(r), xe(r, o)) : d(r, o) ? (A(r), y(o, 11, Et(r))) : v(r, o) ? (A(r), re === "{" ? Ge(r, o) || U : y(o, 10, yt(r))) : (b === 7 && L(z.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, Ke(r, o));
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
|
-
function
|
|
463
|
+
function Ke(r, o) {
|
|
464
464
|
let b = {
|
|
465
465
|
type: 13
|
|
466
466
|
/* TokenTypes.EOF */
|
|
@@ -468,39 +468,39 @@ function As(e, t = {}) {
|
|
|
468
468
|
if (o.braceNest > 0)
|
|
469
469
|
return Ge(r, o) || w(o);
|
|
470
470
|
if (o.inLinked)
|
|
471
|
-
return
|
|
471
|
+
return xe(r, o) || w(o);
|
|
472
472
|
switch (r.currentChar()) {
|
|
473
473
|
case "{":
|
|
474
474
|
return Ge(r, o) || w(o);
|
|
475
475
|
case "}":
|
|
476
|
-
return
|
|
476
|
+
return L(z.UNBALANCED_CLOSING_BRACE, a(), 0), r.next(), y(
|
|
477
477
|
o,
|
|
478
478
|
3,
|
|
479
479
|
"}"
|
|
480
480
|
/* TokenChars.BraceRight */
|
|
481
481
|
);
|
|
482
482
|
case "@":
|
|
483
|
-
return
|
|
483
|
+
return xe(r, o) || w(o);
|
|
484
484
|
default: {
|
|
485
485
|
if (p(r))
|
|
486
|
-
return b =
|
|
486
|
+
return b = y(o, 1, ze(r)), o.braceNest = 0, o.inLinked = !1, b;
|
|
487
487
|
if (M(r))
|
|
488
|
-
return
|
|
488
|
+
return y(o, 0, Z(r));
|
|
489
489
|
break;
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
492
|
return b;
|
|
493
493
|
}
|
|
494
|
-
function
|
|
494
|
+
function It() {
|
|
495
495
|
const { currentType: r, offset: o, startLoc: b, endLoc: U } = u;
|
|
496
|
-
return u.lastType = r, u.lastOffset = o, u.lastStartLoc = b, u.lastEndLoc = U, u.offset = l(), u.startLoc = a(), s.currentChar() === Re ?
|
|
496
|
+
return u.lastType = r, u.lastOffset = o, u.lastStartLoc = b, u.lastEndLoc = U, u.offset = l(), u.startLoc = a(), s.currentChar() === Re ? y(
|
|
497
497
|
u,
|
|
498
498
|
13
|
|
499
499
|
/* TokenTypes.EOF */
|
|
500
|
-
) :
|
|
500
|
+
) : Ke(s, u);
|
|
501
501
|
}
|
|
502
502
|
return {
|
|
503
|
-
nextToken:
|
|
503
|
+
nextToken: It,
|
|
504
504
|
currentOffset: l,
|
|
505
505
|
currentPosition: a,
|
|
506
506
|
context: g
|
|
@@ -521,132 +521,132 @@ function Ds(e, t, n) {
|
|
|
521
521
|
}
|
|
522
522
|
function ws(e = {}) {
|
|
523
523
|
const t = e.location !== !1, { onError: n } = e;
|
|
524
|
-
function s(i, f,
|
|
524
|
+
function s(i, f, I, h, ...S) {
|
|
525
525
|
const R = i.currentPosition();
|
|
526
526
|
if (R.offset += h, R.column += h, n) {
|
|
527
|
-
const
|
|
527
|
+
const d = t ? Dt(I, R) : null, C = ht(f, d, {
|
|
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, I) {
|
|
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: I, end: I }), h;
|
|
537
537
|
}
|
|
538
|
-
function a(i, f,
|
|
539
|
-
t && (i.end = f, i.loc && (i.loc.end =
|
|
538
|
+
function a(i, f, I, h) {
|
|
539
|
+
t && (i.end = f, i.loc && (i.loc.end = I));
|
|
540
540
|
}
|
|
541
541
|
function c(i, f) {
|
|
542
|
-
const
|
|
542
|
+
const I = i.context(), h = l(3, I.offset, I.startLoc);
|
|
543
543
|
return h.value = f, a(h, i.currentOffset(), i.currentPosition()), h;
|
|
544
544
|
}
|
|
545
|
-
function
|
|
546
|
-
const
|
|
545
|
+
function m(i, f) {
|
|
546
|
+
const I = i.context(), { lastOffset: h, lastStartLoc: S } = I, 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 I = i.context(), { lastOffset: h, lastStartLoc: S } = I, 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 I = i.context(), { lastOffset: h, lastStartLoc: S } = I, R = l(9, h, S);
|
|
555
555
|
return R.value = f.replace(Ms, Ds), i.nextToken(), a(R, i.currentOffset(), i.currentPosition()), R;
|
|
556
556
|
}
|
|
557
557
|
function T(i) {
|
|
558
|
-
const f = i.nextToken(),
|
|
559
|
-
return f.type !== 11 ? (s(i,
|
|
558
|
+
const f = i.nextToken(), I = i.context(), { lastOffset: h, lastStartLoc: S } = I, R = l(8, h, S);
|
|
559
|
+
return f.type !== 11 ? (s(i, z.UNEXPECTED_EMPTY_LINKED_MODIFIER, I.lastStartLoc, 0), R.value = "", a(R, h, S), {
|
|
560
560
|
nextConsumeToken: f,
|
|
561
561
|
node: R
|
|
562
|
-
}) : (f.value == null && s(i,
|
|
562
|
+
}) : (f.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, I.lastStartLoc, 0, Te(f)), R.value = f.value || "", a(R, i.currentOffset(), i.currentPosition()), {
|
|
563
563
|
node: R
|
|
564
564
|
});
|
|
565
565
|
}
|
|
566
|
-
function
|
|
567
|
-
const
|
|
566
|
+
function L(i, f) {
|
|
567
|
+
const I = i.context(), h = l(7, I.offset, I.startLoc);
|
|
568
568
|
return h.value = f, a(h, i.currentOffset(), i.currentPosition()), h;
|
|
569
569
|
}
|
|
570
|
-
function
|
|
571
|
-
const f = i.context(),
|
|
570
|
+
function y(i) {
|
|
571
|
+
const f = i.context(), I = l(6, f.offset, f.startLoc);
|
|
572
572
|
let h = i.nextToken();
|
|
573
573
|
if (h.type === 8) {
|
|
574
574
|
const S = T(i);
|
|
575
|
-
|
|
575
|
+
I.modifier = S.node, h = S.nextConsumeToken || i.nextToken();
|
|
576
576
|
}
|
|
577
|
-
switch (h.type !== 9 && s(i,
|
|
577
|
+
switch (h.type !== 9 && s(i, z.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,
|
|
579
|
+
h.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Te(h)), I.key = L(i, h.value || "");
|
|
580
580
|
break;
|
|
581
581
|
case 4:
|
|
582
|
-
h.value == null && s(i,
|
|
582
|
+
h.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Te(h)), I.key = u(i, h.value || "");
|
|
583
583
|
break;
|
|
584
584
|
case 5:
|
|
585
|
-
h.value == null && s(i,
|
|
585
|
+
h.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Te(h)), I.key = m(i, h.value || "");
|
|
586
586
|
break;
|
|
587
587
|
case 6:
|
|
588
|
-
h.value == null && s(i,
|
|
588
|
+
h.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Te(h)), I.key = g(i, h.value || "");
|
|
589
589
|
break;
|
|
590
590
|
default: {
|
|
591
|
-
s(i,
|
|
591
|
+
s(i, z.UNEXPECTED_EMPTY_LINKED_KEY, f.lastStartLoc, 0);
|
|
592
592
|
const S = i.context(), R = l(7, S.offset, S.startLoc);
|
|
593
|
-
return R.value = "", a(R, S.offset, S.startLoc),
|
|
593
|
+
return R.value = "", a(R, S.offset, S.startLoc), I.key = R, a(I, S.offset, S.startLoc), {
|
|
594
594
|
nextConsumeToken: h,
|
|
595
|
-
node:
|
|
595
|
+
node: I
|
|
596
596
|
};
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
|
-
return a(
|
|
600
|
-
node:
|
|
599
|
+
return a(I, i.currentOffset(), i.currentPosition()), {
|
|
600
|
+
node: I
|
|
601
601
|
};
|
|
602
602
|
}
|
|
603
603
|
function w(i) {
|
|
604
|
-
const f = i.context(),
|
|
604
|
+
const f = i.context(), I = f.currentType === 1 ? i.currentOffset() : f.offset, h = f.currentType === 1 ? f.endLoc : f.startLoc, S = l(2, I, 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,
|
|
611
|
+
v.value == null && s(i, z.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,
|
|
614
|
+
v.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Te(v)), S.items.push(m(i, v.value || ""));
|
|
615
615
|
break;
|
|
616
616
|
case 4:
|
|
617
|
-
v.value == null && s(i,
|
|
617
|
+
v.value == null && s(i, z.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,
|
|
620
|
+
v.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, Te(v)), S.items.push(g(i, v.value || ""));
|
|
621
621
|
break;
|
|
622
622
|
case 7: {
|
|
623
|
-
const p =
|
|
623
|
+
const p = y(i);
|
|
624
624
|
S.items.push(p.node), R = p.nextConsumeToken || null;
|
|
625
625
|
break;
|
|
626
626
|
}
|
|
627
627
|
}
|
|
628
628
|
} while (f.currentType !== 13 && f.currentType !== 1);
|
|
629
|
-
const
|
|
630
|
-
return a(S,
|
|
629
|
+
const d = f.currentType === 1 ? f.lastOffset : i.currentOffset(), C = f.currentType === 1 ? f.lastEndLoc : i.currentPosition();
|
|
630
|
+
return a(S, d, C), S;
|
|
631
631
|
}
|
|
632
|
-
function V(i, f,
|
|
632
|
+
function V(i, f, I, h) {
|
|
633
633
|
const S = i.context();
|
|
634
634
|
let R = h.items.length === 0;
|
|
635
|
-
const
|
|
636
|
-
|
|
635
|
+
const d = l(1, f, I);
|
|
636
|
+
d.cases = [], d.cases.push(h);
|
|
637
637
|
do {
|
|
638
638
|
const C = w(i);
|
|
639
|
-
R || (R = C.items.length === 0),
|
|
639
|
+
R || (R = C.items.length === 0), d.cases.push(C);
|
|
640
640
|
} while (S.currentType !== 13);
|
|
641
|
-
return R && s(i,
|
|
641
|
+
return R && s(i, z.MUST_HAVE_MESSAGES_IN_PLURAL, I, 0), a(d, i.currentOffset(), i.currentPosition()), d;
|
|
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: I, startLoc: h } = f, S = w(i);
|
|
645
|
+
return f.currentType === 13 ? S : V(i, I, h, S);
|
|
646
646
|
}
|
|
647
647
|
function A(i) {
|
|
648
|
-
const f = As(i,
|
|
649
|
-
return t && h.loc && (h.loc.source = i), h.body =
|
|
648
|
+
const f = As(i, de({}, e)), I = f.context(), h = l(0, I.offset, I.startLoc);
|
|
649
|
+
return t && h.loc && (h.loc.source = i), h.body = N(f), e.onCacheKey && (h.cacheKey = e.onCacheKey(i)), I.currentType !== 13 && s(f, z.UNEXPECTED_LEXICAL_ANALYSIS, I.lastStartLoc, 0, i[I.offset] || ""), a(h, f.currentOffset(), f.currentPosition()), h;
|
|
650
650
|
}
|
|
651
651
|
return { parse: A };
|
|
652
652
|
}
|
|
@@ -742,24 +742,24 @@ function rn(e) {
|
|
|
742
742
|
}
|
|
743
743
|
}
|
|
744
744
|
}
|
|
745
|
-
function
|
|
745
|
+
function Ze(e) {
|
|
746
746
|
switch (e.t = e.type, e.type) {
|
|
747
747
|
case 0: {
|
|
748
748
|
const t = e;
|
|
749
|
-
|
|
749
|
+
Ze(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
|
+
Ze(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
|
+
Ze(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 Xe(e) {
|
|
|
773
773
|
}
|
|
774
774
|
case 6: {
|
|
775
775
|
const t = e;
|
|
776
|
-
|
|
776
|
+
Ze(t.key), t.k = t.key, delete t.key, t.modifier && (Ze(t.modifier), t.m = t.modifier, delete t.modifier);
|
|
777
777
|
break;
|
|
778
778
|
}
|
|
779
779
|
case 5: {
|
|
@@ -802,32 +802,32 @@ function js(e, t) {
|
|
|
802
802
|
indentLevel: 0
|
|
803
803
|
};
|
|
804
804
|
a && e.loc && (c.source = e.loc.source);
|
|
805
|
-
const
|
|
806
|
-
function u(
|
|
807
|
-
c.code +=
|
|
805
|
+
const m = () => c;
|
|
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 T(
|
|
813
|
+
function T(N = !0) {
|
|
814
814
|
const A = ++c.indentLevel;
|
|
815
|
-
|
|
815
|
+
N && g(A);
|
|
816
816
|
}
|
|
817
|
-
function
|
|
817
|
+
function L(N = !0) {
|
|
818
818
|
const A = --c.indentLevel;
|
|
819
|
-
|
|
819
|
+
N && g(A);
|
|
820
820
|
}
|
|
821
|
-
function
|
|
821
|
+
function y() {
|
|
822
822
|
g(c.indentLevel);
|
|
823
823
|
}
|
|
824
824
|
return {
|
|
825
|
-
context:
|
|
825
|
+
context: m,
|
|
826
826
|
push: u,
|
|
827
827
|
indent: T,
|
|
828
|
-
deindent:
|
|
829
|
-
newline:
|
|
830
|
-
helper: (
|
|
828
|
+
deindent: L,
|
|
829
|
+
newline: y,
|
|
830
|
+
helper: (N) => `_${N}`,
|
|
831
831
|
needIndent: () => c.needIndent
|
|
832
832
|
};
|
|
833
833
|
}
|
|
@@ -849,7 +849,7 @@ function Gs(e, t) {
|
|
|
849
849
|
e.push(", ");
|
|
850
850
|
e.deindent(s()), e.push("])");
|
|
851
851
|
}
|
|
852
|
-
function
|
|
852
|
+
function xs(e, t) {
|
|
853
853
|
const { helper: n, needIndent: s } = e;
|
|
854
854
|
if (t.cases.length > 1) {
|
|
855
855
|
e.push(`${n(
|
|
@@ -862,17 +862,17 @@ function Ws(e, t) {
|
|
|
862
862
|
e.deindent(s()), e.push("])");
|
|
863
863
|
}
|
|
864
864
|
}
|
|
865
|
-
function
|
|
865
|
+
function Ws(e, t) {
|
|
866
866
|
t.body ? Ye(e, t.body) : e.push("null");
|
|
867
867
|
}
|
|
868
868
|
function Ye(e, t) {
|
|
869
869
|
const { helper: n } = e;
|
|
870
870
|
switch (t.type) {
|
|
871
871
|
case 0:
|
|
872
|
-
|
|
872
|
+
Ws(e, t);
|
|
873
873
|
break;
|
|
874
874
|
case 1:
|
|
875
|
-
|
|
875
|
+
xs(e, t);
|
|
876
876
|
break;
|
|
877
877
|
case 2:
|
|
878
878
|
Gs(e, t);
|
|
@@ -912,17 +912,17 @@ function Ye(e, t) {
|
|
|
912
912
|
break;
|
|
913
913
|
}
|
|
914
914
|
}
|
|
915
|
-
const
|
|
915
|
+
const Zs = (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 || [],
|
|
919
|
+
`, a = t.needIndent ? t.needIndent : n !== "arrow", c = e.helpers || [], m = js(e, {
|
|
920
920
|
filename: s,
|
|
921
921
|
breakLineCode: l,
|
|
922
922
|
needIndent: a
|
|
923
923
|
});
|
|
924
|
-
|
|
925
|
-
const { code: u, map: g } =
|
|
924
|
+
m.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), m.indent(a), c.length > 0 && (m.push(`const { ${Yt(c.map((T) => `${T}: _${T}`), ", ")} } = ctx`), m.newline()), m.push("return "), Ye(m, e), m.deindent(a), m.push("}"), delete e.helpers;
|
|
925
|
+
const { code: u, map: g } = m.context();
|
|
926
926
|
return {
|
|
927
927
|
ast: e,
|
|
928
928
|
code: u,
|
|
@@ -930,15 +930,15 @@ const Xs = (e, t = {}) => {
|
|
|
930
930
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
931
931
|
};
|
|
932
932
|
};
|
|
933
|
-
function
|
|
934
|
-
const n =
|
|
935
|
-
return s ? (a && Us(
|
|
933
|
+
function Xs(e, t = {}) {
|
|
934
|
+
const n = de({}, t), s = !!n.jit, l = !!n.minify, a = n.optimize == null ? !0 : n.optimize, m = ws(n).parse(e);
|
|
935
|
+
return s ? (a && Us(m), l && Ze(m), { ast: m, code: "" }) : (Fs(m, n), Zs(m, n));
|
|
936
936
|
}
|
|
937
937
|
var Ys = { env: { NODE_ENV: "production" } };
|
|
938
938
|
function Bs() {
|
|
939
939
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ue().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ue().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
940
940
|
}
|
|
941
|
-
function
|
|
941
|
+
function Lt(e) {
|
|
942
942
|
return (n) => Hs(n, e);
|
|
943
943
|
}
|
|
944
944
|
function Hs(e, t) {
|
|
@@ -949,10 +949,10 @@ function Hs(e, t) {
|
|
|
949
949
|
/* NodeTypes.Resource */
|
|
950
950
|
);
|
|
951
951
|
if (Ht(n) === 1) {
|
|
952
|
-
const a =
|
|
953
|
-
return e.plural(a.reduce((c,
|
|
952
|
+
const a = Ks(n);
|
|
953
|
+
return e.plural(a.reduce((c, m) => [
|
|
954
954
|
...c,
|
|
955
|
-
ln(e,
|
|
955
|
+
ln(e, m)
|
|
956
956
|
], []));
|
|
957
957
|
} else
|
|
958
958
|
return ln(e, n);
|
|
@@ -961,9 +961,9 @@ const Js = ["b", "body"];
|
|
|
961
961
|
function $s(e) {
|
|
962
962
|
return Me(e, Js);
|
|
963
963
|
}
|
|
964
|
-
const
|
|
965
|
-
function
|
|
966
|
-
return Me(e,
|
|
964
|
+
const zs = ["c", "cases"];
|
|
965
|
+
function Ks(e) {
|
|
966
|
+
return Me(e, zs, []);
|
|
967
967
|
}
|
|
968
968
|
function ln(e, t) {
|
|
969
969
|
const n = qs(t);
|
|
@@ -991,17 +991,17 @@ function wt(e, t) {
|
|
|
991
991
|
return lt(t, n);
|
|
992
992
|
case 4: {
|
|
993
993
|
const s = t;
|
|
994
|
-
if (
|
|
994
|
+
if (Ie(s, "k") && s.k)
|
|
995
995
|
return e.interpolate(e.named(s.k));
|
|
996
|
-
if (
|
|
996
|
+
if (Ie(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 (Ie(s, "i") && ue(s.i))
|
|
1003
1003
|
return e.interpolate(e.list(s.i));
|
|
1004
|
-
if (
|
|
1004
|
+
if (Ie(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 Me(e, t, n) {
|
|
1046
1046
|
for (let s = 0; s < t.length; s++) {
|
|
1047
1047
|
const l = t[s];
|
|
1048
|
-
if (
|
|
1048
|
+
if (Ie(e, l) && e[l] != null)
|
|
1049
1049
|
return e[l];
|
|
1050
1050
|
}
|
|
1051
1051
|
return n;
|
|
@@ -1054,16 +1054,16 @@ function et(e) {
|
|
|
1054
1054
|
return new Error(`unhandled node type: ${e}`);
|
|
1055
1055
|
}
|
|
1056
1056
|
const ia = (e) => e;
|
|
1057
|
-
let ot =
|
|
1057
|
+
let ot = K();
|
|
1058
1058
|
function Be(e) {
|
|
1059
|
-
return $(e) && Ht(e) === 0 && (
|
|
1059
|
+
return $(e) && Ht(e) === 0 && (Ie(e, "b") || Ie(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
|
+
}, { ...Xs(e, t), detectError: n };
|
|
1067
1067
|
}
|
|
1068
1068
|
// @__NO_SIDE_EFFECTS__
|
|
1069
1069
|
function ua(e, t) {
|
|
@@ -1076,22 +1076,22 @@ function ua(e, t) {
|
|
|
1076
1076
|
...t,
|
|
1077
1077
|
location: Ys.env.NODE_ENV !== "production",
|
|
1078
1078
|
jit: !0
|
|
1079
|
-
}),
|
|
1080
|
-
return c ?
|
|
1079
|
+
}), m = Lt(a);
|
|
1080
|
+
return c ? m : ot[s] = m;
|
|
1081
1081
|
} else {
|
|
1082
1082
|
const n = e.cacheKey;
|
|
1083
1083
|
if (n) {
|
|
1084
1084
|
const s = ot[n];
|
|
1085
|
-
return s || (ot[n] =
|
|
1085
|
+
return s || (ot[n] = Lt(e));
|
|
1086
1086
|
} else
|
|
1087
|
-
return
|
|
1087
|
+
return Lt(e);
|
|
1088
1088
|
}
|
|
1089
1089
|
}
|
|
1090
1090
|
let tt = null;
|
|
1091
|
-
function
|
|
1091
|
+
function da(e) {
|
|
1092
1092
|
tt = e;
|
|
1093
1093
|
}
|
|
1094
|
-
function
|
|
1094
|
+
function ma(e, t, n) {
|
|
1095
1095
|
tt && tt.emit("i18n:init", {
|
|
1096
1096
|
timestamp: Date.now(),
|
|
1097
1097
|
i18n: e,
|
|
@@ -1103,8 +1103,8 @@ const fa = /* @__PURE__ */ _a("function:translate");
|
|
|
1103
1103
|
function _a(e) {
|
|
1104
1104
|
return (t) => tt && tt.emit(e, t);
|
|
1105
1105
|
}
|
|
1106
|
-
const
|
|
1107
|
-
INVALID_ARGUMENT:
|
|
1106
|
+
const Oe = {
|
|
1107
|
+
INVALID_ARGUMENT: Is,
|
|
1108
1108
|
// 17
|
|
1109
1109
|
INVALID_DATE_ARGUMENT: 18,
|
|
1110
1110
|
INVALID_ISO_DATE_ARGUMENT: 19,
|
|
@@ -1118,22 +1118,22 @@ function Ce(e) {
|
|
|
1118
1118
|
function Jt(e, t) {
|
|
1119
1119
|
return t.locale != null ? on(t.locale) : on(e.locale);
|
|
1120
1120
|
}
|
|
1121
|
-
let
|
|
1121
|
+
let Ot;
|
|
1122
1122
|
function on(e) {
|
|
1123
1123
|
if (P(e))
|
|
1124
1124
|
return e;
|
|
1125
1125
|
if (se(e)) {
|
|
1126
|
-
if (e.resolvedOnce &&
|
|
1127
|
-
return
|
|
1126
|
+
if (e.resolvedOnce && Ot != null)
|
|
1127
|
+
return Ot;
|
|
1128
1128
|
if (e.constructor.name === "Function") {
|
|
1129
1129
|
const t = e();
|
|
1130
1130
|
if (bs(t))
|
|
1131
|
-
throw Ce(
|
|
1132
|
-
return
|
|
1131
|
+
throw Ce(Oe.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
1132
|
+
return Ot = t;
|
|
1133
1133
|
} else
|
|
1134
|
-
throw Ce(
|
|
1134
|
+
throw Ce(Oe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
|
|
1135
1135
|
} else
|
|
1136
|
-
throw Ce(
|
|
1136
|
+
throw Ce(Oe.NOT_SUPPORT_LOCALE_TYPE);
|
|
1137
1137
|
}
|
|
1138
1138
|
function ha(e, t, n) {
|
|
1139
1139
|
return [.../* @__PURE__ */ new Set([
|
|
@@ -1150,8 +1150,8 @@ function Dn(e, t, n) {
|
|
|
1150
1150
|
let c = [n];
|
|
1151
1151
|
for (; ie(c); )
|
|
1152
1152
|
c = cn(a, c, t);
|
|
1153
|
-
const
|
|
1154
|
-
c = P(
|
|
1153
|
+
const m = ie(t) || !J(t) ? t : t.default ? t.default : null;
|
|
1154
|
+
c = P(m) ? [m] : m, ie(c) && cn(a, c, !1), l.__localeChainCache.set(s, a);
|
|
1155
1155
|
}
|
|
1156
1156
|
return a;
|
|
1157
1157
|
}
|
|
@@ -1346,11 +1346,11 @@ const va = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
|
|
1346
1346
|
function Ea(e) {
|
|
1347
1347
|
return va.test(e);
|
|
1348
1348
|
}
|
|
1349
|
-
function
|
|
1349
|
+
function ya(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 Ia(e) {
|
|
1354
1354
|
if (e == null)
|
|
1355
1355
|
return "o";
|
|
1356
1356
|
switch (e.charCodeAt(0)) {
|
|
@@ -1375,45 +1375,45 @@ function Na(e) {
|
|
|
1375
1375
|
}
|
|
1376
1376
|
return "i";
|
|
1377
1377
|
}
|
|
1378
|
-
function
|
|
1378
|
+
function Na(e) {
|
|
1379
1379
|
const t = e.trim();
|
|
1380
|
-
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Ea(t) ?
|
|
1380
|
+
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Ea(t) ? ya(t) : "*" + t;
|
|
1381
1381
|
}
|
|
1382
1382
|
function Ta(e) {
|
|
1383
1383
|
const t = [];
|
|
1384
|
-
let n = -1, s = 0, l = 0, a, c,
|
|
1385
|
-
const
|
|
1386
|
-
|
|
1384
|
+
let n = -1, s = 0, l = 0, a, c, m, u, g, T, L;
|
|
1385
|
+
const y = [];
|
|
1386
|
+
y[
|
|
1387
1387
|
0
|
|
1388
1388
|
/* Actions.APPEND */
|
|
1389
1389
|
] = () => {
|
|
1390
|
-
c === void 0 ? c =
|
|
1391
|
-
},
|
|
1390
|
+
c === void 0 ? c = m : c += m;
|
|
1391
|
+
}, y[
|
|
1392
1392
|
1
|
|
1393
1393
|
/* Actions.PUSH */
|
|
1394
1394
|
] = () => {
|
|
1395
1395
|
c !== void 0 && (t.push(c), c = void 0);
|
|
1396
|
-
},
|
|
1396
|
+
}, y[
|
|
1397
1397
|
2
|
|
1398
1398
|
/* Actions.INC_SUB_PATH_DEPTH */
|
|
1399
1399
|
] = () => {
|
|
1400
|
-
|
|
1400
|
+
y[
|
|
1401
1401
|
0
|
|
1402
1402
|
/* Actions.APPEND */
|
|
1403
1403
|
](), l++;
|
|
1404
|
-
},
|
|
1404
|
+
}, y[
|
|
1405
1405
|
3
|
|
1406
1406
|
/* Actions.PUSH_SUB_PATH */
|
|
1407
1407
|
] = () => {
|
|
1408
1408
|
if (l > 0)
|
|
1409
|
-
l--, s = 4,
|
|
1409
|
+
l--, s = 4, y[
|
|
1410
1410
|
0
|
|
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
|
+
y[
|
|
1417
1417
|
1
|
|
1418
1418
|
/* Actions.PUSH */
|
|
1419
1419
|
]();
|
|
@@ -1422,14 +1422,14 @@ function Ta(e) {
|
|
|
1422
1422
|
function w() {
|
|
1423
1423
|
const V = e[n + 1];
|
|
1424
1424
|
if (s === 5 && V === "'" || s === 6 && V === '"')
|
|
1425
|
-
return n++,
|
|
1425
|
+
return n++, m = "\\" + V, y[
|
|
1426
1426
|
0
|
|
1427
1427
|
/* Actions.APPEND */
|
|
1428
1428
|
](), !0;
|
|
1429
1429
|
}
|
|
1430
1430
|
for (; s !== null; )
|
|
1431
1431
|
if (n++, a = e[n], !(a === "\\" && w())) {
|
|
1432
|
-
if (u =
|
|
1432
|
+
if (u = Ia(a), L = De[s], g = L[u] || L.l || 8, g === 8 || (s = g[0], g[1] !== void 0 && (T = y[g[1]], T && (m = a, T() === !1))))
|
|
1433
1433
|
return;
|
|
1434
1434
|
if (s === 7)
|
|
1435
1435
|
return t;
|
|
@@ -1439,7 +1439,7 @@ const un = /* @__PURE__ */ new Map();
|
|
|
1439
1439
|
function ka(e, t) {
|
|
1440
1440
|
return $(e) ? e[t] : null;
|
|
1441
1441
|
}
|
|
1442
|
-
function
|
|
1442
|
+
function La(e, t) {
|
|
1443
1443
|
if (!$(e))
|
|
1444
1444
|
return null;
|
|
1445
1445
|
let n = un.get(t);
|
|
@@ -1455,12 +1455,12 @@ function Oa(e, t) {
|
|
|
1455
1455
|
}
|
|
1456
1456
|
return l;
|
|
1457
1457
|
}
|
|
1458
|
-
const
|
|
1458
|
+
const Oa = "10.0.5", gt = -1, ft = "en-US", dn = "", mn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1459
1459
|
function Ca() {
|
|
1460
1460
|
return {
|
|
1461
1461
|
upper: (e, t) => t === "text" && P(e) ? e.toUpperCase() : t === "vnode" && $(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1462
1462
|
lower: (e, t) => t === "text" && P(e) ? e.toLowerCase() : t === "vnode" && $(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
1463
|
-
capitalize: (e, t) => t === "text" && P(e) ?
|
|
1463
|
+
capitalize: (e, t) => t === "text" && P(e) ? mn(e) : t === "vnode" && $(e) && "__v_isVNode" in e ? mn(e.children) : e
|
|
1464
1464
|
};
|
|
1465
1465
|
}
|
|
1466
1466
|
let wn;
|
|
@@ -1485,7 +1485,7 @@ const fn = (e) => {
|
|
|
1485
1485
|
}, wa = () => jn;
|
|
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 :
|
|
1488
|
+
const t = se(e.onWarn) ? e.onWarn : Es, n = P(e.version) ? e.version : Oa, s = P(e.locale) || se(e.locale) ? e.locale : ft, l = se(s) ? ft : s, a = ie(e.fallbackLocale) || J(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = J(e.messages) ? e.messages : Ct(l), m = J(e.datetimeFormats) ? e.datetimeFormats : Ct(l), u = J(e.numberFormats) ? e.numberFormats : Ct(l), g = de(K(), e.modifiers, Ca()), T = e.pluralRules || K(), L = se(e.missing) ? e.missing : null, y = oe(e.missingWarn) || mt(e.missingWarn) ? e.missingWarn : !0, w = oe(e.fallbackWarn) || mt(e.fallbackWarn) ? e.fallbackWarn : !0, V = !!e.fallbackFormat, N = !!e.unresolving, A = se(e.postTranslation) ? e.postTranslation : null, i = J(e.processor) ? e.processor : null, f = oe(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, I = !!e.escapeParameter, h = se(e.messageCompiler) ? e.messageCompiler : wn, S = se(e.messageResolver) ? e.messageResolver : Pn || ka, R = se(e.localeFallbacker) ? e.localeFallbacker : Fn || ha, d = $(e.fallbackContext) ? e.fallbackContext : void 0, C = e, v = $(C.__datetimeFormatters) ? C.__datetimeFormatters : /* @__PURE__ */ new Map(), p = $(C.__numberFormatters) ? C.__numberFormatters : /* @__PURE__ */ new Map(), M = $(C.__meta) ? C.__meta : {};
|
|
1489
1489
|
_n++;
|
|
1490
1490
|
const F = {
|
|
1491
1491
|
version: n,
|
|
@@ -1495,30 +1495,30 @@ function Pa(e = {}) {
|
|
|
1495
1495
|
messages: c,
|
|
1496
1496
|
modifiers: g,
|
|
1497
1497
|
pluralRules: T,
|
|
1498
|
-
missing:
|
|
1499
|
-
missingWarn:
|
|
1498
|
+
missing: L,
|
|
1499
|
+
missingWarn: y,
|
|
1500
1500
|
fallbackWarn: w,
|
|
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: I,
|
|
1507
1507
|
messageCompiler: h,
|
|
1508
1508
|
messageResolver: S,
|
|
1509
1509
|
localeFallbacker: R,
|
|
1510
|
-
fallbackContext:
|
|
1510
|
+
fallbackContext: d,
|
|
1511
1511
|
onWarn: t,
|
|
1512
1512
|
__meta: M
|
|
1513
1513
|
};
|
|
1514
|
-
return F.datetimeFormats =
|
|
1514
|
+
return F.datetimeFormats = m, F.numberFormats = u, F.__datetimeFormatters = v, F.__numberFormatters = p, __INTLIFY_PROD_DEVTOOLS__ && ma(F, n, M), F;
|
|
1515
1515
|
}
|
|
1516
|
-
const Ct = (e) => ({ [e]:
|
|
1516
|
+
const Ct = (e) => ({ [e]: K() });
|
|
1517
1517
|
function $t(e, t, n, s, l) {
|
|
1518
1518
|
const { missing: a, onWarn: c } = e;
|
|
1519
1519
|
if (a !== null) {
|
|
1520
|
-
const
|
|
1521
|
-
return P(
|
|
1520
|
+
const m = a(e, n, t, l);
|
|
1521
|
+
return P(m) ? m : t;
|
|
1522
1522
|
} else
|
|
1523
1523
|
return t;
|
|
1524
1524
|
}
|
|
@@ -1539,26 +1539,26 @@ function Ua(e, t) {
|
|
|
1539
1539
|
return !1;
|
|
1540
1540
|
}
|
|
1541
1541
|
function pn(e, ...t) {
|
|
1542
|
-
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __datetimeFormatters:
|
|
1542
|
+
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __datetimeFormatters: m } = e, [u, g, T, L] = Pt(...t), y = oe(T.missingWarn) ? T.missingWarn : e.missingWarn;
|
|
1543
1543
|
oe(T.fallbackWarn) ? T.fallbackWarn : e.fallbackWarn;
|
|
1544
|
-
const w = !!T.part, V = Jt(e, T),
|
|
1544
|
+
const w = !!T.part, V = Jt(e, T), N = c(
|
|
1545
1545
|
e,
|
|
1546
1546
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1547
1547
|
l,
|
|
1548
1548
|
V
|
|
1549
1549
|
);
|
|
1550
1550
|
if (!P(u) || u === "")
|
|
1551
|
-
return new Intl.DateTimeFormat(V,
|
|
1551
|
+
return new Intl.DateTimeFormat(V, L).format(g);
|
|
1552
1552
|
let A = {}, i, f = null;
|
|
1553
|
-
const
|
|
1554
|
-
for (let R = 0; R <
|
|
1555
|
-
$t(e, u, i,
|
|
1553
|
+
const I = "datetime format";
|
|
1554
|
+
for (let R = 0; R < N.length && (i = N[R], A = n[i] || {}, f = A[u], !J(f)); R++)
|
|
1555
|
+
$t(e, u, i, y, I);
|
|
1556
1556
|
if (!J(f) || !P(i))
|
|
1557
1557
|
return s ? gt : u;
|
|
1558
1558
|
let h = `${i}__${u}`;
|
|
1559
|
-
pt(
|
|
1560
|
-
let S =
|
|
1561
|
-
return S || (S = new Intl.DateTimeFormat(i,
|
|
1559
|
+
pt(L) || (h = `${h}__${JSON.stringify(L)}`);
|
|
1560
|
+
let S = m.get(h);
|
|
1561
|
+
return S || (S = new Intl.DateTimeFormat(i, de({}, f, L)), m.set(h, S)), w ? S.formatToParts(g) : S.format(g);
|
|
1562
1562
|
}
|
|
1563
1563
|
const Vn = [
|
|
1564
1564
|
"localeMatcher",
|
|
@@ -1583,30 +1583,30 @@ const Vn = [
|
|
|
1583
1583
|
"fractionalSecondDigits"
|
|
1584
1584
|
];
|
|
1585
1585
|
function Pt(...e) {
|
|
1586
|
-
const [t, n, s, l] = e, a =
|
|
1587
|
-
let c =
|
|
1586
|
+
const [t, n, s, l] = e, a = K();
|
|
1587
|
+
let c = K(), m;
|
|
1588
1588
|
if (P(t)) {
|
|
1589
1589
|
const u = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
1590
1590
|
if (!u)
|
|
1591
|
-
throw Ce(
|
|
1591
|
+
throw Ce(Oe.INVALID_ISO_DATE_ARGUMENT);
|
|
1592
1592
|
const g = u[3] ? u[3].trim().startsWith("T") ? `${u[1].trim()}${u[3].trim()}` : `${u[1].trim()}T${u[3].trim()}` : u[1].trim();
|
|
1593
|
-
|
|
1593
|
+
m = new Date(g);
|
|
1594
1594
|
try {
|
|
1595
|
-
|
|
1595
|
+
m.toISOString();
|
|
1596
1596
|
} catch {
|
|
1597
|
-
throw Ce(
|
|
1597
|
+
throw Ce(Oe.INVALID_ISO_DATE_ARGUMENT);
|
|
1598
1598
|
}
|
|
1599
1599
|
} else if (ps(t)) {
|
|
1600
1600
|
if (isNaN(t.getTime()))
|
|
1601
|
-
throw Ce(
|
|
1602
|
-
|
|
1601
|
+
throw Ce(Oe.INVALID_DATE_ARGUMENT);
|
|
1602
|
+
m = t;
|
|
1603
1603
|
} else if (ue(t))
|
|
1604
|
-
|
|
1604
|
+
m = t;
|
|
1605
1605
|
else
|
|
1606
|
-
throw Ce(
|
|
1606
|
+
throw Ce(Oe.INVALID_ARGUMENT);
|
|
1607
1607
|
return P(n) ? a.key = n : J(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 : J(s) && (c = s), J(l) && (c = l), [a.key || "",
|
|
1609
|
+
}), P(s) ? a.locale = s : J(s) && (c = s), J(l) && (c = l), [a.key || "", m, a, c];
|
|
1610
1610
|
}
|
|
1611
1611
|
function hn(e, t, n) {
|
|
1612
1612
|
const s = e;
|
|
@@ -1616,26 +1616,26 @@ 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:
|
|
1619
|
+
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __numberFormatters: m } = e, [u, g, T, L] = Ft(...t), y = oe(T.missingWarn) ? T.missingWarn : e.missingWarn;
|
|
1620
1620
|
oe(T.fallbackWarn) ? T.fallbackWarn : e.fallbackWarn;
|
|
1621
|
-
const w = !!T.part, V = Jt(e, T),
|
|
1621
|
+
const w = !!T.part, V = Jt(e, T), N = c(
|
|
1622
1622
|
e,
|
|
1623
1623
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1624
1624
|
l,
|
|
1625
1625
|
V
|
|
1626
1626
|
);
|
|
1627
1627
|
if (!P(u) || u === "")
|
|
1628
|
-
return new Intl.NumberFormat(V,
|
|
1628
|
+
return new Intl.NumberFormat(V, L).format(g);
|
|
1629
1629
|
let A = {}, i, f = null;
|
|
1630
|
-
const
|
|
1631
|
-
for (let R = 0; R <
|
|
1632
|
-
$t(e, u, i,
|
|
1630
|
+
const I = "number format";
|
|
1631
|
+
for (let R = 0; R < N.length && (i = N[R], A = n[i] || {}, f = A[u], !J(f)); R++)
|
|
1632
|
+
$t(e, u, i, y, I);
|
|
1633
1633
|
if (!J(f) || !P(i))
|
|
1634
1634
|
return s ? gt : u;
|
|
1635
1635
|
let h = `${i}__${u}`;
|
|
1636
|
-
pt(
|
|
1637
|
-
let S =
|
|
1638
|
-
return S || (S = new Intl.NumberFormat(i,
|
|
1636
|
+
pt(L) || (h = `${h}__${JSON.stringify(L)}`);
|
|
1637
|
+
let S = m.get(h);
|
|
1638
|
+
return S || (S = new Intl.NumberFormat(i, de({}, f, L)), m.set(h, S)), w ? S.formatToParts(g) : S.format(g);
|
|
1639
1639
|
}
|
|
1640
1640
|
const Gn = [
|
|
1641
1641
|
"localeMatcher",
|
|
@@ -1660,14 +1660,14 @@ const Gn = [
|
|
|
1660
1660
|
"trailingZeroDisplay"
|
|
1661
1661
|
];
|
|
1662
1662
|
function Ft(...e) {
|
|
1663
|
-
const [t, n, s, l] = e, a =
|
|
1664
|
-
let c =
|
|
1663
|
+
const [t, n, s, l] = e, a = K();
|
|
1664
|
+
let c = K();
|
|
1665
1665
|
if (!ue(t))
|
|
1666
|
-
throw Ce(
|
|
1667
|
-
const
|
|
1666
|
+
throw Ce(Oe.INVALID_ARGUMENT);
|
|
1667
|
+
const m = t;
|
|
1668
1668
|
return P(n) ? a.key = n : J(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 : J(s) && (c = s), J(l) && (c = l), [a.key || "",
|
|
1670
|
+
}), P(s) ? a.locale = s : J(s) && (c = s), J(l) && (c = l), [a.key || "", m, a, c];
|
|
1671
1671
|
}
|
|
1672
1672
|
function bn(e, t, n) {
|
|
1673
1673
|
const s = e;
|
|
@@ -1676,65 +1676,65 @@ function bn(e, t, n) {
|
|
|
1676
1676
|
s.__numberFormatters.has(a) && s.__numberFormatters.delete(a);
|
|
1677
1677
|
}
|
|
1678
1678
|
}
|
|
1679
|
-
const ja = (e) => e, Va = (e) => "", Ga = "text",
|
|
1679
|
+
const ja = (e) => e, Va = (e) => "", Ga = "text", xa = (e) => e.length === 0 ? "" : Yt(e), Wa = 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 Za(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 Xa(e, t) {
|
|
1688
1688
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1689
1689
|
}
|
|
1690
1690
|
function Ya(e = {}) {
|
|
1691
|
-
const t = e.locale, n =
|
|
1692
|
-
ue(e.pluralIndex) &&
|
|
1691
|
+
const t = e.locale, n = Za(e), s = $(e.pluralRules) && P(t) && se(e.pluralRules[t]) ? e.pluralRules[t] : vn, l = $(e.pluralRules) && P(t) && se(e.pluralRules[t]) ? vn : void 0, a = (i) => i[s(n, i.length, l)], c = e.list || [], m = (i) => c[i], u = e.named || K();
|
|
1692
|
+
ue(e.pluralIndex) && Xa(n, u);
|
|
1693
1693
|
const g = (i) => u[i];
|
|
1694
1694
|
function T(i, f) {
|
|
1695
|
-
const
|
|
1696
|
-
return
|
|
1695
|
+
const I = se(e.messages) ? e.messages(i, !!f) : $(e.messages) ? e.messages[i] : !1;
|
|
1696
|
+
return I || (e.parent ? e.parent.message(i) : Va);
|
|
1697
1697
|
}
|
|
1698
|
-
const
|
|
1699
|
-
list:
|
|
1698
|
+
const L = (i) => e.modifiers ? e.modifiers[i] : ja, y = J(e.processor) && se(e.processor.normalize) ? e.processor.normalize : xa, w = J(e.processor) && se(e.processor.interpolate) ? e.processor.interpolate : Wa, V = J(e.processor) && P(e.processor.type) ? e.processor.type : Ga, A = {
|
|
1699
|
+
list: m,
|
|
1700
1700
|
named: g,
|
|
1701
1701
|
plural: a,
|
|
1702
1702
|
linked: (i, ...f) => {
|
|
1703
|
-
const [
|
|
1703
|
+
const [I, h] = f;
|
|
1704
1704
|
let S = "text", R = "";
|
|
1705
|
-
f.length === 1 ? $(
|
|
1706
|
-
const
|
|
1705
|
+
f.length === 1 ? $(I) ? (R = I.modifier || R, S = I.type || S) : P(I) && (R = I || R) : f.length === 2 && (P(I) && (R = I || R), P(h) && (S = h || S));
|
|
1706
|
+
const d = T(i, !0)(A), C = (
|
|
1707
1707
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1708
|
-
S === "vnode" && ie(
|
|
1708
|
+
S === "vnode" && ie(d) && R ? d[0] : d
|
|
1709
1709
|
);
|
|
1710
|
-
return R ?
|
|
1710
|
+
return R ? L(R)(C, S) : C;
|
|
1711
1711
|
},
|
|
1712
1712
|
message: T,
|
|
1713
1713
|
type: V,
|
|
1714
1714
|
interpolate: w,
|
|
1715
|
-
normalize:
|
|
1716
|
-
values:
|
|
1715
|
+
normalize: y,
|
|
1716
|
+
values: de(K(), c, u)
|
|
1717
1717
|
};
|
|
1718
1718
|
return A;
|
|
1719
1719
|
}
|
|
1720
1720
|
const En = () => "", be = (e) => se(e);
|
|
1721
|
-
function
|
|
1722
|
-
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages:
|
|
1723
|
-
|
|
1724
|
-
let [i, f,
|
|
1721
|
+
function yn(e, ...t) {
|
|
1722
|
+
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: m } = e, [u, g] = Ut(...t), T = oe(g.missingWarn) ? g.missingWarn : e.missingWarn, L = oe(g.fallbackWarn) ? g.fallbackWarn : e.fallbackWarn, y = oe(g.escapeParameter) ? g.escapeParameter : e.escapeParameter, w = !!g.resolvedMessage, V = P(g.default) || oe(g.default) ? oe(g.default) ? a ? u : () => u : g.default : n ? a ? u : () => u : null, N = n || V != null && (P(V) || se(V)), A = Jt(e, g);
|
|
1723
|
+
y && Ba(g);
|
|
1724
|
+
let [i, f, I] = w ? [
|
|
1725
1725
|
u,
|
|
1726
1726
|
A,
|
|
1727
|
-
|
|
1728
|
-
] :
|
|
1729
|
-
if (!w && !(P(h) || Be(h) || be(h)) &&
|
|
1727
|
+
m[A] || K()
|
|
1728
|
+
] : xn(e, u, A, c, L, T), h = i, S = u;
|
|
1729
|
+
if (!w && !(P(h) || Be(h) || be(h)) && N && (h = V, S = h), !w && (!(P(h) || Be(h) || be(h)) || !P(f)))
|
|
1730
1730
|
return l ? gt : u;
|
|
1731
1731
|
let R = !1;
|
|
1732
|
-
const
|
|
1732
|
+
const d = () => {
|
|
1733
1733
|
R = !0;
|
|
1734
|
-
}, C = be(h) ? h :
|
|
1734
|
+
}, C = be(h) ? h : Wn(e, u, f, h, S, d);
|
|
1735
1735
|
if (R)
|
|
1736
1736
|
return h;
|
|
1737
|
-
const v = $a(e, f,
|
|
1737
|
+
const v = $a(e, f, I, g), p = Ya(v), M = Ha(e, C, p), F = s ? s(M, u) : M;
|
|
1738
1738
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1739
1739
|
const j = {
|
|
1740
1740
|
timestamp: Date.now(),
|
|
@@ -1743,7 +1743,7 @@ function In(e, ...t) {
|
|
|
1743
1743
|
format: P(h) ? h : be(h) ? h.source : "",
|
|
1744
1744
|
message: F
|
|
1745
1745
|
};
|
|
1746
|
-
j.meta =
|
|
1746
|
+
j.meta = de({}, e.__meta, /* @__PURE__ */ Da() || {}), fa(j);
|
|
1747
1747
|
}
|
|
1748
1748
|
return F;
|
|
1749
1749
|
}
|
|
@@ -1752,26 +1752,26 @@ function Ba(e) {
|
|
|
1752
1752
|
P(e.named[t]) && (e.named[t] = nn(e.named[t]));
|
|
1753
1753
|
});
|
|
1754
1754
|
}
|
|
1755
|
-
function
|
|
1756
|
-
const { messages: c, onWarn:
|
|
1757
|
-
let
|
|
1755
|
+
function xn(e, t, n, s, l, a) {
|
|
1756
|
+
const { messages: c, onWarn: m, messageResolver: u, localeFallbacker: g } = e, T = g(e, s, n);
|
|
1757
|
+
let L = K(), y, w = null;
|
|
1758
1758
|
const V = "translate";
|
|
1759
|
-
for (let
|
|
1760
|
-
if (!Ua(
|
|
1759
|
+
for (let N = 0; N < T.length && (y = T[N], L = c[y] || K(), (w = u(L, t)) === null && (w = L[t]), !(P(w) || Be(w) || be(w))); N++)
|
|
1760
|
+
if (!Ua(y, T)) {
|
|
1761
1761
|
const A = $t(
|
|
1762
1762
|
e,
|
|
1763
1763
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1764
1764
|
t,
|
|
1765
|
-
|
|
1765
|
+
y,
|
|
1766
1766
|
a,
|
|
1767
1767
|
V
|
|
1768
1768
|
);
|
|
1769
1769
|
A !== t && (w = A);
|
|
1770
1770
|
}
|
|
1771
|
-
return [w,
|
|
1771
|
+
return [w, y, L];
|
|
1772
1772
|
}
|
|
1773
|
-
function
|
|
1774
|
-
const { messageCompiler: c, warnHtmlMessage:
|
|
1773
|
+
function Wn(e, t, n, s, l, a) {
|
|
1774
|
+
const { messageCompiler: c, warnHtmlMessage: m } = e;
|
|
1775
1775
|
if (be(s)) {
|
|
1776
1776
|
const g = s;
|
|
1777
1777
|
return g.locale = g.locale || n, g.key = g.key || t, g;
|
|
@@ -1780,18 +1780,18 @@ 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, Ja(e, n, l, s,
|
|
1783
|
+
const u = c(s, Ja(e, n, l, s, m, a));
|
|
1784
1784
|
return u.locale = n, u.key = t, u.source = s, u;
|
|
1785
1785
|
}
|
|
1786
1786
|
function Ha(e, t, n) {
|
|
1787
1787
|
return t(n);
|
|
1788
1788
|
}
|
|
1789
1789
|
function Ut(...e) {
|
|
1790
|
-
const [t, n, s] = e, l =
|
|
1790
|
+
const [t, n, s] = e, l = K();
|
|
1791
1791
|
if (!P(t) && !ue(t) && !be(t) && !Be(t))
|
|
1792
|
-
throw Ce(
|
|
1792
|
+
throw Ce(Oe.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 : J(n) && !pt(n) ? l.named = n : ie(n) && (l.list = n), ue(s) ? l.plural = s : P(s) ? l.default = s : J(s) &&
|
|
1794
|
+
return ue(n) ? l.plural = n : P(n) ? l.default = n : J(n) && !pt(n) ? l.named = n : ie(n) && (l.list = n), ue(s) ? l.plural = s : P(s) ? l.default = s : J(s) && de(l, s), [a, l];
|
|
1795
1795
|
}
|
|
1796
1796
|
function Ja(e, t, n, s, l, a) {
|
|
1797
1797
|
return {
|
|
@@ -1805,38 +1805,38 @@ function Ja(e, t, n, s, l, a) {
|
|
|
1805
1805
|
};
|
|
1806
1806
|
}
|
|
1807
1807
|
function $a(e, t, n, s) {
|
|
1808
|
-
const { modifiers: l, pluralRules: a, messageResolver: c, fallbackLocale:
|
|
1808
|
+
const { modifiers: l, pluralRules: a, messageResolver: c, fallbackLocale: m, fallbackWarn: u, missingWarn: g, fallbackContext: T } = e, y = {
|
|
1809
1809
|
locale: t,
|
|
1810
1810
|
modifiers: l,
|
|
1811
1811
|
pluralRules: a,
|
|
1812
1812
|
messages: (w, V) => {
|
|
1813
|
-
let
|
|
1814
|
-
if (
|
|
1815
|
-
const [, , A] =
|
|
1813
|
+
let N = c(n, w);
|
|
1814
|
+
if (N == null && (T || V)) {
|
|
1815
|
+
const [, , A] = xn(
|
|
1816
1816
|
T || e,
|
|
1817
1817
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1818
1818
|
w,
|
|
1819
1819
|
t,
|
|
1820
|
-
|
|
1820
|
+
m,
|
|
1821
1821
|
u,
|
|
1822
1822
|
g
|
|
1823
1823
|
);
|
|
1824
|
-
|
|
1824
|
+
N = c(A, w);
|
|
1825
1825
|
}
|
|
1826
|
-
if (P(
|
|
1826
|
+
if (P(N) || Be(N)) {
|
|
1827
1827
|
let A = !1;
|
|
1828
|
-
const f =
|
|
1828
|
+
const f = Wn(e, w, t, N, w, () => {
|
|
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
|
-
return e.processor && (
|
|
1835
|
+
return e.processor && (y.processor = e.processor), s.list && (y.list = s.list), s.named && (y.named = s.named), ue(s.plural) && (y.pluralIndex = s.plural), y;
|
|
1836
1836
|
}
|
|
1837
1837
|
Bs();
|
|
1838
|
-
var Ka = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_11f04e2e-f9a6-49fa-861d-90db1e23a20f", 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_11f04e2e-f9a6-49fa-861d-90db1e23a20f", 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: "1853", ACTIONS_ORCHESTRATION_ID: "fe90e449-5250-4df1-8e8e-4255ec146b26.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:13523", 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: "25384871479", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "bb30c97ae2a3557df5c09044582340e4aa33197e", 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.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L2FkZC1leHBvcnQtYXVkaXQtbG9nXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzc4MDE2MTU4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3Nzc5OTM5NTgsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiI4MTA1YTU3Ny1iMzM5LTVmYzctYmEzMi1mNWFmNjhiOWYwOWMiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3Nzc5OTM2NTgsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwiQ2FzdGEtbWVyZVwiLFwiYWN0b3JfaWRcIjpcIjgyMjk4MDE3XCIsXCJiYXNlX3JlZlwiOlwiXCIsXCJjaGVja19ydW5faWRcIjpcIjc0NDQzMDQ2MDQwXCIsXCJldmVudF9uYW1lXCI6XCJ3b3JrZmxvd19kaXNwYXRjaFwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiam9iX3dvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2FjdGlvbnMvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ucG0tZ2l0aHViLnlhbWxAcmVmcy9oZWFkcy9tYWluXCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCJjN2IwMjNkNmIzODE0MTllMzJhZGMwYzc3YmJmODJhZmM2MzgxMDk5XCIsXCJyZWZcIjpcInJlZnMvaGVhZHMvZmVhdC9hZGQtZXhwb3J0LWF1ZGl0LWxvZ1wiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiMTEyNDY3MjIzNVwiLFwicmVwb3NpdG9yeV9vd25lclwiOlwiZmVlZG1lcG9zXCIsXCJyZXBvc2l0b3J5X293bmVyX2lkXCI6XCI1NDgzMTUxNVwiLFwicmVwb3NpdG9yeV92aXNpYmlsaXR5XCI6XCJwcml2YXRlXCIsXCJydW5fYXR0ZW1wdFwiOlwiMVwiLFwicnVuX2lkXCI6XCIyNTM4NDg3MTQ3OVwiLFwicnVuX251bWJlclwiOlwiNjVcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCJiYjMwYzk3YWUyYTM1NTdkZjVjMDkwNDQ1ODIzNDBlNGFhMzMxOTdlXCIsXCJ3b3JrZmxvd1wiOlwiUHVibGlzaCBocm0tcG9ydGFsXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLWhybS1wb3J0YWwtdHJ1c3RlZC55bWxAcmVmcy9oZWFkcy9mZWF0L2FkZC1leHBvcnQtYXVkaXQtbG9nXCIsXCJ3b3JrZmxvd19zaGFcIjpcImJiMzBjOTdhZTJhMzU1N2RmNWMwOTA0NDU4MjM0MGU0YWEzMzE5N2VcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL2hybS1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL2ZlYXQvYWRkLWV4cG9ydC1hdWRpdC1sb2ciLCJvcmNoX2lkIjoiZmU5MGU0NDktNTI1MC00ZGYxLThlOGUtNDI1NWVjMTQ2YjI2LnB1Ymxpc2gucHVibGlzaC5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiJmZTkwZTQ0OS01MjUwLTRkZjEtOGU4ZS00MjU1ZWMxNDZiMjYiLCJyZXBvc2l0b3J5X2lkIjoiMTEyNDY3MjIzNSIsInJ1bl9pZCI6IjI1Mzg0ODcxNDc5IiwicnVuX251bWJlciI6IjY1IiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDA2NjAwMSIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOmZlOTBlNDQ5LTUyNTAtNGRmMS04ZThlLTQyNTVlYzE0NmIyNjo4MTA1YTU3Ny1iMzM5LTVmYzctYmEzMi1mNWFmNjhiOWYwOWMgQWN0aW9ucy5SdW5uZXI6ZmU5MGU0NDktNTI1MC00ZGYxLThlOGUtNDI1NWVjMTQ2YjI2OjgxMDVhNTc3LWIzMzktNWZjNy1iYTMyLWY1YWY2OGI5ZjA5YyBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czpmZTkwZTQ0OS01MjUwLTRkZjEtOGU4ZS00MjU1ZWMxNDZiMjY6ODEwNWE1NzctYjMzOS01ZmM3LWJhMzItZjVhZjY4YjlmMDljIGdlbmVyYXRlX2lkX3Rva2VuOmZlOTBlNDQ5LTUyNTAtNGRmMS04ZThlLTQyNTVlYzE0NmIyNjo4MTA1YTU3Ny1iMzM5LTVmYzctYmEzMi1mNWFmNjhiOWYwOWMgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiJiYjMwYzk3YWUyYTM1NTdkZjVjMDkwNDQ1ODIzNDBlNGFhMzMxOTdlIiwidHJ1c3RfdGllciI6IjEifQ.IFhAUnoGVpTbleVQc2hvDOfB1NwZIf6gV5OONsE2_0xSS9XHBv0MrYM5kpb3DRGDPI6vYUMc6t7gK-SULUpiYOXrGQDrI_7GY1tXMvC2aHRf_8BBfCDn0MWJoXXS4tXq64d11m7mB4XwyXgv7sAITnr9Ed1ACs0LncJFbkf4RVSiZ8MfHn6fB9rTbVWAUO25Vqx_qqhrr-q5NnU-L5yRfCBPxCy7mimEtakPiltJtKISHXTzrujbhOAH10Uw4gwJTZDAQAQ4xJjyjyfhIw6GV4pHThdz0StOl9Y2xuF_uNpM0Vurhbeu8rolkMY9gVPHEO9F-eFr3UIPeNaGZiLR5A", 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_715a9621-f7ee-47c3-8b4e-d6fac43cc5b2", INVOCATION_ID: "f2b0bc679a264834a8d73d853c92b49c", 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: "65", 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 1000066001", 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.12", 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: "bb30c97ae2a3557df5c09044582340e4aa33197e", 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_11f04e2e-f9a6-49fa-861d-90db1e23a20f", 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/62//idtoken/fe90e449-5250-4df1-8e8e-4255ec146b26/8105a577-b339-5fc7-ba32-f5af68b9f09c?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_11f04e2e-f9a6-49fa-861d-90db1e23a20f", 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_11f04e2e-f9a6-49fa-861d-90db1e23a20f", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1839
|
-
const
|
|
1838
|
+
var za = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_1d719872-69c4-4885-9c87-58b2195a50f5", 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_1d719872-69c4-4885-9c87-58b2195a50f5", 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: "1872", ACTIONS_ORCHESTRATION_ID: "222e7515-7014-4573-83da-3b0ee74e3686.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:15262", 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: "25414407095", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "edc69644a76d13e98a3539cfaed8dea4d28cbd06", 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.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L2FkZC1leHBvcnQtYXVkaXQtbG9nXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzc4MDU5MjkzLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3NzgwMzcwOTMsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiJiZjdkYzQyZS1iMDM5LTU0MTEtYjAyMy03MTVmZGU2ZTEwY2EiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3NzgwMzY3OTMsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwiQ2FzdGEtbWVyZVwiLFwiYWN0b3JfaWRcIjpcIjgyMjk4MDE3XCIsXCJiYXNlX3JlZlwiOlwiXCIsXCJjaGVja19ydW5faWRcIjpcIjc0NTQyNzMxOTY4XCIsXCJldmVudF9uYW1lXCI6XCJ3b3JrZmxvd19kaXNwYXRjaFwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiam9iX3dvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2FjdGlvbnMvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ucG0tZ2l0aHViLnlhbWxAcmVmcy9oZWFkcy9tYWluXCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCJjN2IwMjNkNmIzODE0MTllMzJhZGMwYzc3YmJmODJhZmM2MzgxMDk5XCIsXCJyZWZcIjpcInJlZnMvaGVhZHMvZmVhdC9hZGQtZXhwb3J0LWF1ZGl0LWxvZ1wiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiMTEyNDY3MjIzNVwiLFwicmVwb3NpdG9yeV9vd25lclwiOlwiZmVlZG1lcG9zXCIsXCJyZXBvc2l0b3J5X293bmVyX2lkXCI6XCI1NDgzMTUxNVwiLFwicmVwb3NpdG9yeV92aXNpYmlsaXR5XCI6XCJwcml2YXRlXCIsXCJydW5fYXR0ZW1wdFwiOlwiMVwiLFwicnVuX2lkXCI6XCIyNTQxNDQwNzA5NVwiLFwicnVuX251bWJlclwiOlwiNjdcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCJlZGM2OTY0NGE3NmQxM2U5OGEzNTM5Y2ZhZWQ4ZGVhNGQyOGNiZDA2XCIsXCJ3b3JrZmxvd1wiOlwiUHVibGlzaCBocm0tcG9ydGFsXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLWhybS1wb3J0YWwtdHJ1c3RlZC55bWxAcmVmcy9oZWFkcy9mZWF0L2FkZC1leHBvcnQtYXVkaXQtbG9nXCIsXCJ3b3JrZmxvd19zaGFcIjpcImVkYzY5NjQ0YTc2ZDEzZTk4YTM1MzljZmFlZDhkZWE0ZDI4Y2JkMDZcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL2hybS1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL2ZlYXQvYWRkLWV4cG9ydC1hdWRpdC1sb2ciLCJvcmNoX2lkIjoiMjIyZTc1MTUtNzAxNC00NTczLTgzZGEtM2IwZWU3NGUzNjg2LnB1Ymxpc2gucHVibGlzaC5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiIyMjJlNzUxNS03MDE0LTQ1NzMtODNkYS0zYjBlZTc0ZTM2ODYiLCJyZXBvc2l0b3J5X2lkIjoiMTEyNDY3MjIzNSIsInJ1bl9pZCI6IjI1NDE0NDA3MDk1IiwicnVuX251bWJlciI6IjY3IiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDA2NjA2NSIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOjIyMmU3NTE1LTcwMTQtNDU3My04M2RhLTNiMGVlNzRlMzY4NjpiZjdkYzQyZS1iMDM5LTU0MTEtYjAyMy03MTVmZGU2ZTEwY2EgQWN0aW9ucy5SdW5uZXI6MjIyZTc1MTUtNzAxNC00NTczLTgzZGEtM2IwZWU3NGUzNjg2OmJmN2RjNDJlLWIwMzktNTQxMS1iMDIzLTcxNWZkZTZlMTBjYSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czoyMjJlNzUxNS03MDE0LTQ1NzMtODNkYS0zYjBlZTc0ZTM2ODY6YmY3ZGM0MmUtYjAzOS01NDExLWIwMjMtNzE1ZmRlNmUxMGNhIGdlbmVyYXRlX2lkX3Rva2VuOjIyMmU3NTE1LTcwMTQtNDU3My04M2RhLTNiMGVlNzRlMzY4NjpiZjdkYzQyZS1iMDM5LTU0MTEtYjAyMy03MTVmZGU2ZTEwY2EgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiJlZGM2OTY0NGE3NmQxM2U5OGEzNTM5Y2ZhZWQ4ZGVhNGQyOGNiZDA2IiwidHJ1c3RfdGllciI6IjEifQ.cmaAARxfexgkEoLLOwg9sAT7PJ-exGzV725dboQ6UCoaWcg6OzKC7lhxEkNqmm7LVjJ__hqni_fUwp1jmBNqUcsla9foPcyE0PZDEQbTD8c5UQZTUqomNqLqWG8UkRx6nX33TZuWzNVzCVtAvL_LMF8v3BpFg67l9OSL1aC-M2Xh1wKn7gk2MAnWCwT2PmWVPw1XqRFqJ8P-CTc75ka_Dn6CJV9XFXiUjDh0sCMIXGRgX6pi2pOkGlRBZyel21wsm_-mFdA6ahdZHFspOqvCBrL-G09_cmaCu7T6i55D4G1mTj0YhlYSrLtYw57Z0yPJBGWt9PdCMSZr3VAKnLdfFQ", 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_00cfa489-4b73-4054-bc83-822630e042d1", INVOCATION_ID: "ab5a2d0960cf4eaca41b70beaa499bb8", 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: "67", 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 1000066065", 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.14", 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: "edc69644a76d13e98a3539cfaed8dea4d28cbd06", 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_1d719872-69c4-4885-9c87-58b2195a50f5", 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/222e7515-7014-4573-83da-3b0ee74e3686/bf7dc42e-b039-5411-b023-715fde6e10ca?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_1d719872-69c4-4885-9c87-58b2195a50f5", 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_1d719872-69c4-4885-9c87-58b2195a50f5", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1839
|
+
const Ka = "10.0.5";
|
|
1840
1840
|
function Qa() {
|
|
1841
1841
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Ue().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Ue().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ue().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ue().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
1842
1842
|
}
|
|
@@ -1856,19 +1856,19 @@ const He = {
|
|
|
1856
1856
|
function nt(e, ...t) {
|
|
1857
1857
|
return ht(e, null, void 0);
|
|
1858
1858
|
}
|
|
1859
|
-
const jt = /* @__PURE__ */ Ve("__translateVNode"), Vt = /* @__PURE__ */ Ve("__datetimeParts"), Gt = /* @__PURE__ */ Ve("__numberParts"), qa = Ve("__setPluralRules"),
|
|
1859
|
+
const jt = /* @__PURE__ */ Ve("__translateVNode"), Vt = /* @__PURE__ */ Ve("__datetimeParts"), Gt = /* @__PURE__ */ Ve("__numberParts"), qa = Ve("__setPluralRules"), Zn = /* @__PURE__ */ Ve("__injectWithOption"), xt = /* @__PURE__ */ Ve("__dispose");
|
|
1860
1860
|
function st(e) {
|
|
1861
1861
|
if (!$(e))
|
|
1862
1862
|
return e;
|
|
1863
1863
|
for (const t in e)
|
|
1864
|
-
if (
|
|
1864
|
+
if (Ie(e, t))
|
|
1865
1865
|
if (!t.includes("."))
|
|
1866
1866
|
$(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]] =
|
|
1871
|
+
if (n[c] in l || (l[n[c]] = K()), !$(l[n[c]])) {
|
|
1872
1872
|
a = !0;
|
|
1873
1873
|
break;
|
|
1874
1874
|
}
|
|
@@ -1878,25 +1878,25 @@ function st(e) {
|
|
|
1878
1878
|
}
|
|
1879
1879
|
return e;
|
|
1880
1880
|
}
|
|
1881
|
-
function
|
|
1882
|
-
const { messages: n, __i18n: s, messageResolver: l, flatJson: a } = t, c = J(n) ? n : ie(s) ?
|
|
1883
|
-
if (ie(s) && s.forEach((
|
|
1884
|
-
if ("locale" in
|
|
1885
|
-
const { locale: u, resource: g } =
|
|
1886
|
-
u ? (c[u] = c[u] ||
|
|
1881
|
+
function Xn(e, t) {
|
|
1882
|
+
const { messages: n, __i18n: s, messageResolver: l, flatJson: a } = t, c = J(n) ? n : ie(s) ? K() : { [e]: K() };
|
|
1883
|
+
if (ie(s) && s.forEach((m) => {
|
|
1884
|
+
if ("locale" in m && "resource" in m) {
|
|
1885
|
+
const { locale: u, resource: g } = m;
|
|
1886
|
+
u ? (c[u] = c[u] || K(), dt(g, c[u])) : dt(g, c);
|
|
1887
1887
|
} else
|
|
1888
|
-
P(
|
|
1888
|
+
P(m) && dt(JSON.parse(m), c);
|
|
1889
1889
|
}), l == null && a)
|
|
1890
|
-
for (const
|
|
1891
|
-
|
|
1890
|
+
for (const m in c)
|
|
1891
|
+
Ie(c, m) && st(c[m]);
|
|
1892
1892
|
return c;
|
|
1893
1893
|
}
|
|
1894
1894
|
function Yn(e) {
|
|
1895
1895
|
return e.type;
|
|
1896
1896
|
}
|
|
1897
1897
|
function er(e, t, n) {
|
|
1898
|
-
let s = $(t.messages) ? t.messages :
|
|
1899
|
-
"__i18nGlobal" in n && (s =
|
|
1898
|
+
let s = $(t.messages) ? t.messages : K();
|
|
1899
|
+
"__i18nGlobal" in n && (s = Xn(e.locale.value, {
|
|
1900
1900
|
messages: s,
|
|
1901
1901
|
__i18n: n.__i18nGlobal
|
|
1902
1902
|
}));
|
|
@@ -1919,124 +1919,124 @@ function er(e, t, n) {
|
|
|
1919
1919
|
}
|
|
1920
1920
|
}
|
|
1921
1921
|
}
|
|
1922
|
-
function
|
|
1923
|
-
return
|
|
1922
|
+
function In(e) {
|
|
1923
|
+
return me(Kn, null, e, 0);
|
|
1924
1924
|
}
|
|
1925
|
-
const
|
|
1925
|
+
const Nn = "__INTLIFY_META__", Tn = () => [], tr = () => !1;
|
|
1926
1926
|
let kn = 0;
|
|
1927
|
-
function
|
|
1928
|
-
return (t, n, s, l) => e(n, s,
|
|
1927
|
+
function Ln(e) {
|
|
1928
|
+
return (t, n, s, l) => e(n, s, Wt() || void 0, l);
|
|
1929
1929
|
}
|
|
1930
1930
|
const nr = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
1931
|
-
const e =
|
|
1931
|
+
const e = Wt();
|
|
1932
1932
|
let t = null;
|
|
1933
|
-
return e && (t = Yn(e)[
|
|
1933
|
+
return e && (t = Yn(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 ? je :
|
|
1936
|
+
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = en ? je : zn;
|
|
1937
1937
|
let c = oe(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1938
|
-
const
|
|
1938
|
+
const m = 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) || J(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale :
|
|
1944
|
-
), g = a(
|
|
1945
|
-
let
|
|
1943
|
+
t && c ? t.fallbackLocale.value : P(e.fallbackLocale) || ie(e.fallbackLocale) || J(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : m.value
|
|
1944
|
+
), g = a(Xn(m.value, e)), T = a(J(e.datetimeFormats) ? e.datetimeFormats : { [m.value]: {} }), L = a(J(e.numberFormats) ? e.numberFormats : { [m.value]: {} });
|
|
1945
|
+
let y = t ? t.missingWarn : oe(e.missingWarn) || mt(e.missingWarn) ? e.missingWarn : !0, w = t ? t.fallbackWarn : oe(e.fallbackWarn) || mt(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) ? Ln(e.missing) : null, f = se(e.postTranslation) ? e.postTranslation : null, I = t ? t.warnHtmlMessage : oe(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, h = !!e.escapeParameter;
|
|
1946
1946
|
const S = t ? t.modifiers : J(e.modifiers) ? e.modifiers : {};
|
|
1947
|
-
let R = e.pluralRules || t && t.pluralRules,
|
|
1948
|
-
|
|
1947
|
+
let R = e.pluralRules || t && t.pluralRules, d;
|
|
1948
|
+
d = (() => {
|
|
1949
1949
|
s && fn(null);
|
|
1950
1950
|
const _ = {
|
|
1951
|
-
version:
|
|
1952
|
-
locale:
|
|
1951
|
+
version: Ka,
|
|
1952
|
+
locale: m.value,
|
|
1953
1953
|
fallbackLocale: u.value,
|
|
1954
1954
|
messages: g.value,
|
|
1955
1955
|
modifiers: S,
|
|
1956
1956
|
pluralRules: R,
|
|
1957
1957
|
missing: i === null ? void 0 : i,
|
|
1958
|
-
missingWarn:
|
|
1958
|
+
missingWarn: y,
|
|
1959
1959
|
fallbackWarn: w,
|
|
1960
|
-
fallbackFormat:
|
|
1960
|
+
fallbackFormat: N,
|
|
1961
1961
|
unresolving: !0,
|
|
1962
1962
|
postTranslation: f === null ? void 0 : f,
|
|
1963
|
-
warnHtmlMessage:
|
|
1963
|
+
warnHtmlMessage: I,
|
|
1964
1964
|
escapeParameter: h,
|
|
1965
1965
|
messageResolver: e.messageResolver,
|
|
1966
1966
|
messageCompiler: e.messageCompiler,
|
|
1967
1967
|
__meta: { framework: "vue" }
|
|
1968
1968
|
};
|
|
1969
|
-
_.datetimeFormats = T.value, _.numberFormats =
|
|
1969
|
+
_.datetimeFormats = T.value, _.numberFormats = L.value, _.__datetimeFormatters = J(d) ? d.__datetimeFormatters : void 0, _.__numberFormatters = J(d) ? d.__numberFormatters : void 0;
|
|
1970
1970
|
const E = Pa(_);
|
|
1971
1971
|
return s && fn(E), E;
|
|
1972
|
-
})(), Qe(
|
|
1972
|
+
})(), Qe(d, m.value, u.value);
|
|
1973
1973
|
function v() {
|
|
1974
1974
|
return [
|
|
1975
|
-
|
|
1975
|
+
m.value,
|
|
1976
1976
|
u.value,
|
|
1977
1977
|
g.value,
|
|
1978
1978
|
T.value,
|
|
1979
|
-
|
|
1979
|
+
L.value
|
|
1980
1980
|
];
|
|
1981
1981
|
}
|
|
1982
1982
|
const p = q({
|
|
1983
|
-
get: () =>
|
|
1983
|
+
get: () => m.value,
|
|
1984
1984
|
set: (_) => {
|
|
1985
|
-
|
|
1985
|
+
m.value = _, d.locale = m.value;
|
|
1986
1986
|
}
|
|
1987
1987
|
}), M = q({
|
|
1988
1988
|
get: () => u.value,
|
|
1989
1989
|
set: (_) => {
|
|
1990
|
-
u.value = _,
|
|
1990
|
+
u.value = _, d.fallbackLocale = u.value, Qe(d, m.value, _);
|
|
1991
1991
|
}
|
|
1992
|
-
}), F = q(() => g.value), j = /* @__PURE__ */ q(() => T.value), ae = /* @__PURE__ */ q(() =>
|
|
1993
|
-
function
|
|
1992
|
+
}), F = q(() => g.value), j = /* @__PURE__ */ q(() => T.value), ae = /* @__PURE__ */ q(() => L.value);
|
|
1993
|
+
function O() {
|
|
1994
1994
|
return se(f) ? f : null;
|
|
1995
1995
|
}
|
|
1996
1996
|
function k(_) {
|
|
1997
|
-
f = _,
|
|
1997
|
+
f = _, d.postTranslation = _;
|
|
1998
1998
|
}
|
|
1999
1999
|
function D() {
|
|
2000
2000
|
return A;
|
|
2001
2001
|
}
|
|
2002
2002
|
function Y(_) {
|
|
2003
|
-
_ !== null && (i =
|
|
2003
|
+
_ !== null && (i = Ln(_)), A = _, d.missing = i;
|
|
2004
2004
|
}
|
|
2005
|
-
const
|
|
2005
|
+
const W = (_, E, Q, le, Pe, at) => {
|
|
2006
2006
|
v();
|
|
2007
|
-
let
|
|
2007
|
+
let We;
|
|
2008
2008
|
try {
|
|
2009
|
-
|
|
2009
|
+
za.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (d.fallbackContext = t ? wa() : void 0), We = _(d);
|
|
2010
2010
|
} finally {
|
|
2011
|
-
__INTLIFY_PROD_DEVTOOLS__, s || (
|
|
2011
|
+
__INTLIFY_PROD_DEVTOOLS__, s || (d.fallbackContext = void 0);
|
|
2012
2012
|
}
|
|
2013
2013
|
if (Q !== "translate exists" && // for not `te` (e.g `t`)
|
|
2014
|
-
ue(
|
|
2014
|
+
ue(We) && We === gt || Q === "translate exists" && !We) {
|
|
2015
2015
|
const [Jn, Br] = E();
|
|
2016
2016
|
return t && V ? le(t) : Pe(Jn);
|
|
2017
2017
|
} else {
|
|
2018
|
-
if (at(
|
|
2019
|
-
return
|
|
2018
|
+
if (at(We))
|
|
2019
|
+
return We;
|
|
2020
2020
|
throw nt(He.UNEXPECTED_RETURN_TYPE);
|
|
2021
2021
|
}
|
|
2022
2022
|
};
|
|
2023
2023
|
function G(..._) {
|
|
2024
|
-
return
|
|
2024
|
+
return W((E) => Reflect.apply(yn, null, [E, ..._]), () => Ut(..._), "translate", (E) => Reflect.apply(E.t, E, [..._]), (E) => E, (E) => P(E));
|
|
2025
2025
|
}
|
|
2026
|
-
function
|
|
2026
|
+
function x(..._) {
|
|
2027
2027
|
const [E, Q, le] = _;
|
|
2028
2028
|
if (le && !$(le))
|
|
2029
2029
|
throw nt(He.INVALID_ARGUMENT);
|
|
2030
|
-
return G(E, Q,
|
|
2030
|
+
return G(E, Q, de({ resolvedMessage: !0 }, le || {}));
|
|
2031
2031
|
}
|
|
2032
|
-
function
|
|
2033
|
-
return
|
|
2032
|
+
function Z(..._) {
|
|
2033
|
+
return W((E) => Reflect.apply(pn, null, [E, ..._]), () => Pt(..._), "datetime format", (E) => Reflect.apply(E.d, E, [..._]), () => dn, (E) => P(E));
|
|
2034
2034
|
}
|
|
2035
2035
|
function ve(..._) {
|
|
2036
|
-
return
|
|
2036
|
+
return W((E) => Reflect.apply(gn, null, [E, ..._]), () => Ft(..._), "number format", (E) => Reflect.apply(E.n, E, [..._]), () => dn, (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) ? In(String(E)) : E);
|
|
2040
2040
|
}
|
|
2041
2041
|
const ne = {
|
|
2042
2042
|
normalize: _e,
|
|
@@ -2044,39 +2044,39 @@ function sr(e = {}) {
|
|
|
2044
2044
|
type: "vnode"
|
|
2045
2045
|
};
|
|
2046
2046
|
function Ee(..._) {
|
|
2047
|
-
return
|
|
2047
|
+
return W((E) => {
|
|
2048
2048
|
let Q;
|
|
2049
2049
|
const le = E;
|
|
2050
2050
|
try {
|
|
2051
|
-
le.processor = ne, Q = Reflect.apply(
|
|
2051
|
+
le.processor = ne, Q = Reflect.apply(yn, null, [le, ..._]);
|
|
2052
2052
|
} finally {
|
|
2053
2053
|
le.processor = null;
|
|
2054
2054
|
}
|
|
2055
2055
|
return Q;
|
|
2056
|
-
}, () => Ut(..._), "translate", (E) => E[jt](..._), (E) => [
|
|
2056
|
+
}, () => Ut(..._), "translate", (E) => E[jt](..._), (E) => [In(E)], (E) => ie(E));
|
|
2057
2057
|
}
|
|
2058
2058
|
function Je(..._) {
|
|
2059
|
-
return
|
|
2059
|
+
return W((E) => Reflect.apply(gn, null, [E, ..._]), () => Ft(..._), "number format", (E) => E[Gt](..._), Tn, (E) => P(E) || ie(E));
|
|
2060
2060
|
}
|
|
2061
2061
|
function $e(..._) {
|
|
2062
|
-
return
|
|
2062
|
+
return W((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
|
-
R = _,
|
|
2065
|
+
R = _, d.pluralRules = R;
|
|
2066
2066
|
}
|
|
2067
2067
|
function Et(_, E) {
|
|
2068
|
-
return
|
|
2068
|
+
return W(() => {
|
|
2069
2069
|
if (!_)
|
|
2070
2070
|
return !1;
|
|
2071
|
-
const Q = P(E) ? E :
|
|
2071
|
+
const Q = P(E) ? E : m.value, le = Ge(Q), Pe = d.messageResolver(le, _);
|
|
2072
2072
|
return Be(Pe) || be(Pe) || P(Pe);
|
|
2073
2073
|
}, () => [_], "translate exists", (Q) => Reflect.apply(Q.te, Q, [_, E]), tr, (Q) => oe(Q));
|
|
2074
2074
|
}
|
|
2075
|
-
function
|
|
2075
|
+
function yt(_) {
|
|
2076
2076
|
let E = null;
|
|
2077
|
-
const Q = Dn(
|
|
2077
|
+
const Q = Dn(d, u.value, m.value);
|
|
2078
2078
|
for (let le = 0; le < Q.length; le++) {
|
|
2079
|
-
const Pe = g.value[Q[le]] || {}, at =
|
|
2079
|
+
const Pe = g.value[Q[le]] || {}, at = d.messageResolver(Pe, _);
|
|
2080
2080
|
if (at != null) {
|
|
2081
2081
|
E = at;
|
|
2082
2082
|
break;
|
|
@@ -2084,54 +2084,54 @@ function sr(e = {}) {
|
|
|
2084
2084
|
}
|
|
2085
2085
|
return E;
|
|
2086
2086
|
}
|
|
2087
|
-
function
|
|
2088
|
-
const E =
|
|
2087
|
+
function ze(_) {
|
|
2088
|
+
const E = yt(_);
|
|
2089
2089
|
return E ?? (t ? t.tm(_) || {} : {});
|
|
2090
2090
|
}
|
|
2091
2091
|
function Ge(_) {
|
|
2092
2092
|
return g.value[_] || {};
|
|
2093
2093
|
}
|
|
2094
|
-
function
|
|
2094
|
+
function xe(_, E) {
|
|
2095
2095
|
if (l) {
|
|
2096
2096
|
const Q = { [_]: E };
|
|
2097
2097
|
for (const le in Q)
|
|
2098
|
-
|
|
2098
|
+
Ie(Q, le) && st(Q[le]);
|
|
2099
2099
|
E = Q[_];
|
|
2100
2100
|
}
|
|
2101
|
-
g.value[_] = E,
|
|
2101
|
+
g.value[_] = E, d.messages = g.value;
|
|
2102
2102
|
}
|
|
2103
|
-
function
|
|
2103
|
+
function Ke(_, E) {
|
|
2104
2104
|
g.value[_] = g.value[_] || {};
|
|
2105
2105
|
const Q = { [_]: E };
|
|
2106
2106
|
if (l)
|
|
2107
2107
|
for (const le in Q)
|
|
2108
|
-
|
|
2109
|
-
E = Q[_],
|
|
2108
|
+
Ie(Q, le) && st(Q[le]);
|
|
2109
|
+
E = Q[_], dt(E, g.value[_]), d.messages = g.value;
|
|
2110
2110
|
}
|
|
2111
|
-
function
|
|
2111
|
+
function It(_) {
|
|
2112
2112
|
return T.value[_] || {};
|
|
2113
2113
|
}
|
|
2114
2114
|
function r(_, E) {
|
|
2115
|
-
T.value[_] = E,
|
|
2115
|
+
T.value[_] = E, d.datetimeFormats = T.value, hn(d, _, E);
|
|
2116
2116
|
}
|
|
2117
2117
|
function o(_, E) {
|
|
2118
|
-
T.value[_] =
|
|
2118
|
+
T.value[_] = de(T.value[_] || {}, E), d.datetimeFormats = T.value, hn(d, _, E);
|
|
2119
2119
|
}
|
|
2120
2120
|
function b(_) {
|
|
2121
|
-
return
|
|
2121
|
+
return L.value[_] || {};
|
|
2122
2122
|
}
|
|
2123
2123
|
function U(_, E) {
|
|
2124
|
-
|
|
2124
|
+
L.value[_] = E, d.numberFormats = L.value, bn(d, _, E);
|
|
2125
2125
|
}
|
|
2126
2126
|
function re(_, E) {
|
|
2127
|
-
|
|
2127
|
+
L.value[_] = de(L.value[_] || {}, E), d.numberFormats = L.value, bn(d, _, E);
|
|
2128
2128
|
}
|
|
2129
2129
|
kn++, t && en && (St(t.locale, (_) => {
|
|
2130
|
-
c && (
|
|
2130
|
+
c && (m.value = _, d.locale = _, Qe(d, m.value, u.value));
|
|
2131
2131
|
}), St(t.fallbackLocale, (_) => {
|
|
2132
|
-
c && (u.value = _,
|
|
2132
|
+
c && (u.value = _, d.fallbackLocale = _, Qe(d, m.value, u.value));
|
|
2133
2133
|
}));
|
|
2134
|
-
const
|
|
2134
|
+
const X = {
|
|
2135
2135
|
id: kn,
|
|
2136
2136
|
locale: p,
|
|
2137
2137
|
fallbackLocale: M,
|
|
@@ -2139,7 +2139,7 @@ function sr(e = {}) {
|
|
|
2139
2139
|
return c;
|
|
2140
2140
|
},
|
|
2141
2141
|
set inheritLocale(_) {
|
|
2142
|
-
c = _, _ && t && (
|
|
2142
|
+
c = _, _ && t && (m.value = t.locale.value, u.value = t.fallbackLocale.value, Qe(d, m.value, u.value));
|
|
2143
2143
|
},
|
|
2144
2144
|
get availableLocales() {
|
|
2145
2145
|
return Object.keys(g.value).sort();
|
|
@@ -2155,16 +2155,16 @@ function sr(e = {}) {
|
|
|
2155
2155
|
return s;
|
|
2156
2156
|
},
|
|
2157
2157
|
get missingWarn() {
|
|
2158
|
-
return
|
|
2158
|
+
return y;
|
|
2159
2159
|
},
|
|
2160
2160
|
set missingWarn(_) {
|
|
2161
|
-
|
|
2161
|
+
y = _, d.missingWarn = y;
|
|
2162
2162
|
},
|
|
2163
2163
|
get fallbackWarn() {
|
|
2164
2164
|
return w;
|
|
2165
2165
|
},
|
|
2166
2166
|
set fallbackWarn(_) {
|
|
2167
|
-
w = _,
|
|
2167
|
+
w = _, d.fallbackWarn = w;
|
|
2168
2168
|
},
|
|
2169
2169
|
get fallbackRoot() {
|
|
2170
2170
|
return V;
|
|
@@ -2173,36 +2173,36 @@ 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 = _, d.fallbackFormat = N;
|
|
2180
2180
|
},
|
|
2181
2181
|
get warnHtmlMessage() {
|
|
2182
|
-
return
|
|
2182
|
+
return I;
|
|
2183
2183
|
},
|
|
2184
2184
|
set warnHtmlMessage(_) {
|
|
2185
|
-
|
|
2185
|
+
I = _, d.warnHtmlMessage = _;
|
|
2186
2186
|
},
|
|
2187
2187
|
get escapeParameter() {
|
|
2188
2188
|
return h;
|
|
2189
2189
|
},
|
|
2190
2190
|
set escapeParameter(_) {
|
|
2191
|
-
h = _,
|
|
2191
|
+
h = _, d.escapeParameter = _;
|
|
2192
2192
|
},
|
|
2193
2193
|
t: G,
|
|
2194
2194
|
getLocaleMessage: Ge,
|
|
2195
|
-
setLocaleMessage:
|
|
2196
|
-
mergeLocaleMessage:
|
|
2197
|
-
getPostTranslationHandler:
|
|
2195
|
+
setLocaleMessage: xe,
|
|
2196
|
+
mergeLocaleMessage: Ke,
|
|
2197
|
+
getPostTranslationHandler: O,
|
|
2198
2198
|
setPostTranslationHandler: k,
|
|
2199
2199
|
getMissingHandler: D,
|
|
2200
2200
|
setMissingHandler: Y,
|
|
2201
2201
|
[qa]: vt
|
|
2202
2202
|
};
|
|
2203
|
-
return
|
|
2203
|
+
return X.datetimeFormats = j, X.numberFormats = ae, X.rt = x, X.te = Et, X.tm = ze, X.d = Z, X.n = ve, X.getDateTimeFormat = It, X.setDateTimeFormat = r, X.mergeDateTimeFormat = o, X.getNumberFormat = b, X.setNumberFormat = U, X.mergeNumberFormat = re, X[Zn] = n, X[jt] = Ee, X[Vt] = $e, X[Gt] = Je, X;
|
|
2204
2204
|
}
|
|
2205
|
-
const
|
|
2205
|
+
const zt = {
|
|
2206
2206
|
tag: {
|
|
2207
2207
|
type: [String, Object]
|
|
2208
2208
|
},
|
|
@@ -2224,16 +2224,16 @@ function ar({ slots: e }, t) {
|
|
|
2224
2224
|
return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((s, l) => [
|
|
2225
2225
|
...s,
|
|
2226
2226
|
// prettier-ignore
|
|
2227
|
-
...l.type ===
|
|
2227
|
+
...l.type === ye ? l.children : [l]
|
|
2228
2228
|
], []) : t.reduce((n, s) => {
|
|
2229
2229
|
const l = e[s];
|
|
2230
2230
|
return l && (n[s] = l()), n;
|
|
2231
|
-
},
|
|
2231
|
+
}, K());
|
|
2232
2232
|
}
|
|
2233
2233
|
function Bn() {
|
|
2234
|
-
return
|
|
2234
|
+
return ye;
|
|
2235
2235
|
}
|
|
2236
|
-
|
|
2236
|
+
de({
|
|
2237
2237
|
keypath: {
|
|
2238
2238
|
type: String,
|
|
2239
2239
|
required: !0
|
|
@@ -2242,7 +2242,7 @@ me({
|
|
|
2242
2242
|
type: [Number, String],
|
|
2243
2243
|
validator: (e) => ue(e) || !isNaN(e)
|
|
2244
2244
|
}
|
|
2245
|
-
},
|
|
2245
|
+
}, zt);
|
|
2246
2246
|
function rr(e) {
|
|
2247
2247
|
return ie(e) && !P(e[0]);
|
|
2248
2248
|
}
|
|
@@ -2250,19 +2250,19 @@ function Hn(e, t, n, s) {
|
|
|
2250
2250
|
const { slots: l, attrs: a } = t;
|
|
2251
2251
|
return () => {
|
|
2252
2252
|
const c = { part: !0 };
|
|
2253
|
-
let
|
|
2254
|
-
e.locale && (c.locale = e.locale), P(e.format) ? c.key = e.format : $(e.format) && (P(e.format.key) && (c.key = e.format.key),
|
|
2255
|
-
const u = s(e.value, c,
|
|
2253
|
+
let m = K();
|
|
2254
|
+
e.locale && (c.locale = e.locale), P(e.format) ? c.key = e.format : $(e.format) && (P(e.format.key) && (c.key = e.format.key), m = Object.keys(e.format).reduce((y, w) => n.includes(w) ? de(K(), y, { [w]: e.format[w] }) : y, K()));
|
|
2255
|
+
const u = s(e.value, c, m);
|
|
2256
2256
|
let g = [c.key];
|
|
2257
|
-
ie(u) ? g = u.map((
|
|
2258
|
-
const V = l[
|
|
2259
|
-
return rr(
|
|
2257
|
+
ie(u) ? g = u.map((y, w) => {
|
|
2258
|
+
const V = l[y.type], N = V ? V({ [y.type]: y.value, index: w, parts: u }) : [y.value];
|
|
2259
|
+
return rr(N) && (N[0].key = `${y.type}-${w}`), N;
|
|
2260
2260
|
}) : P(u) && (g = [u]);
|
|
2261
|
-
const T =
|
|
2262
|
-
return Sn(
|
|
2261
|
+
const T = de(K(), a), L = P(e.tag) || $(e.tag) ? e.tag : Bn();
|
|
2262
|
+
return Sn(L, T, g);
|
|
2263
2263
|
};
|
|
2264
2264
|
}
|
|
2265
|
-
|
|
2265
|
+
de({
|
|
2266
2266
|
value: {
|
|
2267
2267
|
type: Number,
|
|
2268
2268
|
required: !0
|
|
@@ -2270,8 +2270,8 @@ me({
|
|
|
2270
2270
|
format: {
|
|
2271
2271
|
type: [String, Object]
|
|
2272
2272
|
}
|
|
2273
|
-
},
|
|
2274
|
-
|
|
2273
|
+
}, zt);
|
|
2274
|
+
de({
|
|
2275
2275
|
value: {
|
|
2276
2276
|
type: [Number, Date],
|
|
2277
2277
|
required: !0
|
|
@@ -2279,10 +2279,10 @@ me({
|
|
|
2279
2279
|
format: {
|
|
2280
2280
|
type: [String, Object]
|
|
2281
2281
|
}
|
|
2282
|
-
},
|
|
2282
|
+
}, zt);
|
|
2283
2283
|
const lr = /* @__PURE__ */ Ve("global-vue-i18n");
|
|
2284
2284
|
function bt(e = {}) {
|
|
2285
|
-
const t =
|
|
2285
|
+
const t = Wt();
|
|
2286
2286
|
if (t == null)
|
|
2287
2287
|
throw nt(He.MUST_BE_CALL_SETUP_TOP);
|
|
2288
2288
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
@@ -2295,12 +2295,12 @@ function bt(e = {}) {
|
|
|
2295
2295
|
return u == null && (u = s), u;
|
|
2296
2296
|
}
|
|
2297
2297
|
const c = n;
|
|
2298
|
-
let
|
|
2299
|
-
if (
|
|
2300
|
-
const u =
|
|
2301
|
-
"__i18n" in l && (u.__i18n = l.__i18n), s && (u.__root = s),
|
|
2298
|
+
let m = c.__getInstance(t);
|
|
2299
|
+
if (m == null) {
|
|
2300
|
+
const u = de({}, e);
|
|
2301
|
+
"__i18n" in l && (u.__i18n = l.__i18n), s && (u.__root = s), m = sr(u), c.__composerExtend && (m[xt] = c.__composerExtend(m)), mr(c, t, m), c.__setInstance(t, m);
|
|
2302
2302
|
}
|
|
2303
|
-
return
|
|
2303
|
+
return m;
|
|
2304
2304
|
}
|
|
2305
2305
|
function or(e) {
|
|
2306
2306
|
const t = $n(e.isCE ? lr : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
@@ -2317,14 +2317,14 @@ function cr(e) {
|
|
|
2317
2317
|
function ur(e, t, n = !1) {
|
|
2318
2318
|
let s = null;
|
|
2319
2319
|
const l = t.root;
|
|
2320
|
-
let a =
|
|
2320
|
+
let a = dr(t, n);
|
|
2321
2321
|
for (; a != null; ) {
|
|
2322
2322
|
const c = e;
|
|
2323
2323
|
if (e.mode === "composition")
|
|
2324
2324
|
s = c.__getInstance(a);
|
|
2325
2325
|
else if (__VUE_I18N_LEGACY_API__) {
|
|
2326
|
-
const
|
|
2327
|
-
|
|
2326
|
+
const m = c.__getInstance(a);
|
|
2327
|
+
m != null && (s = m.__composer, n && s && !s[Zn] && (s = null));
|
|
2328
2328
|
}
|
|
2329
2329
|
if (s != null || l === a)
|
|
2330
2330
|
break;
|
|
@@ -2332,27 +2332,27 @@ function ur(e, t, n = !1) {
|
|
|
2332
2332
|
}
|
|
2333
2333
|
return s;
|
|
2334
2334
|
}
|
|
2335
|
-
function
|
|
2335
|
+
function dr(e, t = !1) {
|
|
2336
2336
|
return e == null ? null : t && e.vnode.ctx || e.parent;
|
|
2337
2337
|
}
|
|
2338
|
-
function
|
|
2339
|
-
|
|
2338
|
+
function mr(e, t, n) {
|
|
2339
|
+
Zt(() => {
|
|
2340
2340
|
}, t), An(() => {
|
|
2341
2341
|
const s = n;
|
|
2342
2342
|
e.__deleteInstance(t);
|
|
2343
|
-
const l = s[
|
|
2344
|
-
l && (l(), delete s[
|
|
2343
|
+
const l = s[xt];
|
|
2344
|
+
l && (l(), delete s[xt]);
|
|
2345
2345
|
}, t);
|
|
2346
2346
|
}
|
|
2347
2347
|
Qa();
|
|
2348
2348
|
Ra(ua);
|
|
2349
|
-
Aa(
|
|
2349
|
+
Aa(La);
|
|
2350
2350
|
Sa(Dn);
|
|
2351
2351
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
2352
2352
|
const e = Ue();
|
|
2353
|
-
e.__INTLIFY__ = !0,
|
|
2353
|
+
e.__INTLIFY__ = !0, da(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 = Xe("FmIcon"), a = Xe("FmTooltip");
|
|
2367
2367
|
return B(), Se(a, {
|
|
2368
2368
|
variant: "plain",
|
|
2369
2369
|
placement: "right",
|
|
@@ -2371,12 +2371,12 @@ const it = /* @__PURE__ */ ye({
|
|
|
2371
2371
|
}, {
|
|
2372
2372
|
content: he(() => [
|
|
2373
2373
|
te("div", null, Ae(H(t)("team.memberForm.permissions.inherited")), 1),
|
|
2374
|
-
(B(!0), ee(
|
|
2374
|
+
(B(!0), ee(ye, null, pe(e.item.setNames, (c) => (B(), ee("div", { key: c }, [
|
|
2375
2375
|
te("div", null, "- " + Ae(c), 1)
|
|
2376
2376
|
]))), 128))
|
|
2377
2377
|
]),
|
|
2378
2378
|
default: he(() => [
|
|
2379
|
-
|
|
2379
|
+
me(l, {
|
|
2380
2380
|
name: "admin_panel_settings",
|
|
2381
2381
|
size: "sm",
|
|
2382
2382
|
class: "ml-1 text-fm-color-typo-info"
|
|
@@ -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: {
|
|
@@ -2414,11 +2414,11 @@ const it = /* @__PURE__ */ ye({
|
|
|
2414
2414
|
ge(n.$slots, "top", {}, () => [
|
|
2415
2415
|
t.title ? (B(), ee("div", _r, [
|
|
2416
2416
|
te("div", null, [
|
|
2417
|
-
t.required ? (B(), ee("span", pr, "*")) :
|
|
2417
|
+
t.required ? (B(), ee("span", pr, "*")) : Le("", !0),
|
|
2418
2418
|
Qn(Ae(t.title), 1)
|
|
2419
2419
|
]),
|
|
2420
2420
|
ge(n.$slots, "title-right")
|
|
2421
|
-
])) :
|
|
2421
|
+
])) : Le("", !0)
|
|
2422
2422
|
]),
|
|
2423
2423
|
te("div", hr, [
|
|
2424
2424
|
ge(n.$slots, "default")
|
|
@@ -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
|
-
},
|
|
2439
|
+
}, Kt = /* @__PURE__ */ Ne({
|
|
2440
2440
|
__name: "CheckboxInput",
|
|
2441
2441
|
props: {
|
|
2442
2442
|
options: {
|
|
@@ -2494,56 +2494,56 @@ 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 = je(!1), c = qn(),
|
|
2498
|
-
() => n.modelValue.filter((
|
|
2499
|
-
),
|
|
2497
|
+
const n = e, s = t, { t: l } = _t(), a = je(!1), c = qn(), m = 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(() => m.value !== !0), T = q(
|
|
2498
|
+
() => n.modelValue.filter((N) => n.options.some((A) => A.value === N))
|
|
2499
|
+
), L = q(
|
|
2500
2500
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
2501
|
-
),
|
|
2501
|
+
), y = q(() => n.options.length > 0 && n.options.length === T.value.length);
|
|
2502
2502
|
function w() {
|
|
2503
|
-
const
|
|
2504
|
-
if (
|
|
2505
|
-
s("update:model-value",
|
|
2503
|
+
const N = n.modelValue.filter((A) => !T.value.includes(A));
|
|
2504
|
+
if (y.value === !0)
|
|
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 = Xe("FmCheckbox");
|
|
2517
2517
|
return B(), 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 ? (B(), Se(i, {
|
|
2527
2527
|
key: 0,
|
|
2528
|
-
"model-value":
|
|
2528
|
+
"model-value": y.value,
|
|
2529
2529
|
disabled: e.disable,
|
|
2530
|
-
label:
|
|
2530
|
+
label: L.value,
|
|
2531
2531
|
style: ct(`margin-bottom: ${n.gutter}px`),
|
|
2532
2532
|
size: "sm",
|
|
2533
2533
|
dense: "",
|
|
2534
|
-
value:
|
|
2534
|
+
value: L.value,
|
|
2535
2535
|
"onUpdate:modelValue": w
|
|
2536
|
-
}, null, 8, ["model-value", "disabled", "label", "style", "value"])) :
|
|
2537
|
-
(B(!0), ee(
|
|
2536
|
+
}, null, 8, ["model-value", "disabled", "label", "style", "value"])) : Le("", !0),
|
|
2537
|
+
(B(!0), ee(ye, null, pe(e.options, (f, I) => (B(), ee("div", {
|
|
2538
2538
|
key: f.value,
|
|
2539
|
-
style: ct(`margin-bottom: ${
|
|
2540
|
-
class: qe(
|
|
2539
|
+
style: ct(`margin-bottom: ${I < e.options.length - 1 ? n.gutter : 0}px`),
|
|
2540
|
+
class: qe(I < 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"])
|
|
2544
2544
|
}, [
|
|
2545
2545
|
te("div", vr, [
|
|
2546
|
-
|
|
2546
|
+
me(i, {
|
|
2547
2547
|
"model-value": e.modelValue.includes(f.value),
|
|
2548
2548
|
disabled: e.disable || f.disabled,
|
|
2549
2549
|
size: "sm",
|
|
@@ -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,38 +2560,38 @@ 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
|
|
2567
2567
|
})
|
|
2568
|
-
], 2)) :
|
|
2568
|
+
], 2)) : Le("", !0)
|
|
2569
2569
|
], 2),
|
|
2570
2570
|
H(c)[`checkbox-${f.key || f.value}-bottom`] && (e.modelValue.includes(f.value) || e.falsyShowSlot) ? (B(), ee("div", {
|
|
2571
2571
|
key: 0,
|
|
2572
2572
|
class: qe(["q-mt-sm", { "q-checkbox disabled": e.disable || f.disabled }]),
|
|
2573
2573
|
style: ct(`margin-left: ${e.bottomSlotIndent}`)
|
|
2574
2574
|
}, [
|
|
2575
|
-
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)
|
|
2579
2579
|
})
|
|
2580
|
-
], 6)) :
|
|
2580
|
+
], 6)) : Le("", !0)
|
|
2581
2581
|
], 6))), 128)),
|
|
2582
|
-
a.value && g.value ? (B(), ee("div", Er, Ae(
|
|
2582
|
+
a.value && g.value ? (B(), ee("div", Er, Ae(m.value), 1)) : Le("", !0)
|
|
2583
2583
|
]),
|
|
2584
2584
|
_: 3
|
|
2585
2585
|
}, 8, ["title"]);
|
|
2586
2586
|
};
|
|
2587
2587
|
}
|
|
2588
2588
|
});
|
|
2589
|
-
function
|
|
2590
|
-
const s = n.filter((
|
|
2589
|
+
function On(e, t, n) {
|
|
2590
|
+
const s = n.filter((m) => m !== "manage");
|
|
2591
2591
|
if (s.length === 0) return;
|
|
2592
|
-
const l = e.findIndex((
|
|
2592
|
+
const l = e.findIndex((m) => m.subject === t && !m.inverted);
|
|
2593
2593
|
if (l < 0) return;
|
|
2594
|
-
const a = new Set(e[l].actions), c = s.every((
|
|
2594
|
+
const a = new Set(e[l].actions), c = s.every((m) => a.has(m));
|
|
2595
2595
|
c && !a.has("manage") ? (a.add("manage"), e[l] = {
|
|
2596
2596
|
...e[l],
|
|
2597
2597
|
actions: Array.from(a)
|
|
@@ -2601,38 +2601,38 @@ function Ln(e, t, n) {
|
|
|
2601
2601
|
});
|
|
2602
2602
|
}
|
|
2603
2603
|
const Cn = Object.values(cs);
|
|
2604
|
-
function
|
|
2605
|
-
const { getFlagValue: l } =
|
|
2606
|
-
const
|
|
2604
|
+
function yr(e, t, n, s) {
|
|
2605
|
+
const { getFlagValue: l } = ds(), a = q(() => {
|
|
2606
|
+
const d = /* @__PURE__ */ new Map(), C = /* @__PURE__ */ new Map();
|
|
2607
2607
|
for (const p of t.value) {
|
|
2608
2608
|
const M = p.category;
|
|
2609
|
-
M && (n.value.includes(p.subject) || p.showByFeatureFlag && l(p.showByFeatureFlag) === "false" || (
|
|
2609
|
+
M && (n.value.includes(p.subject) || p.showByFeatureFlag && l(p.showByFeatureFlag) === "false" || (d.has(M) || d.set(M, []), d.get(M).push({ label: p.label, value: p.subject }), C.set(p.subject, p)));
|
|
2610
2610
|
}
|
|
2611
|
-
return [...
|
|
2611
|
+
return [...d.keys()].sort((p, M) => {
|
|
2612
2612
|
const F = Cn.indexOf(p), j = Cn.indexOf(M);
|
|
2613
2613
|
return F === -1 && j === -1 ? p.localeCompare(M) : F === -1 ? 1 : j === -1 ? -1 : F - j;
|
|
2614
2614
|
}).map((p) => {
|
|
2615
|
-
const M =
|
|
2616
|
-
for (const
|
|
2617
|
-
const
|
|
2618
|
-
|
|
2615
|
+
const M = d.get(p), F = /* @__PURE__ */ new Map();
|
|
2616
|
+
for (const x of M) {
|
|
2617
|
+
const Z = C.get(x.value);
|
|
2618
|
+
Z && F.set(x.value, Z.actions);
|
|
2619
2619
|
}
|
|
2620
|
-
const j = M.some((
|
|
2621
|
-
const
|
|
2622
|
-
return
|
|
2620
|
+
const j = M.some((x) => {
|
|
2621
|
+
const Z = F.get(x.value);
|
|
2622
|
+
return Z && Z.length > 1;
|
|
2623
2623
|
}), ae = j ? [
|
|
2624
2624
|
...new Set(
|
|
2625
|
-
M.flatMap((
|
|
2625
|
+
M.flatMap((x) => F.get(x.value) ?? []).filter((x) => x !== "manage")
|
|
2626
2626
|
)
|
|
2627
|
-
] : [],
|
|
2628
|
-
for (const
|
|
2629
|
-
M.some((
|
|
2627
|
+
] : [], O = /* @__PURE__ */ new Map();
|
|
2628
|
+
for (const x of e.value)
|
|
2629
|
+
M.some((Z) => Z.value === x.subject) && !x.inverted && O.set(x.subject, new Set(x.actions));
|
|
2630
2630
|
const k = j ? e.value.filter(
|
|
2631
|
-
(
|
|
2632
|
-
).map((
|
|
2633
|
-
var
|
|
2634
|
-
return (
|
|
2635
|
-
}), Y = (D == null ? void 0 : D.value) ?? null,
|
|
2631
|
+
(x) => M.some((Z) => Z.value === x.subject) && !x.inverted && x.actions.includes("manage")
|
|
2632
|
+
).map((x) => x.subject) : e.value.filter((x) => M.some((Z) => Z.value === x.subject) && !x.inverted).map((x) => x.subject), D = M.find((x) => {
|
|
2633
|
+
var Z;
|
|
2634
|
+
return (Z = C.get(x.value)) == null ? void 0 : Z.isCategoryCover;
|
|
2635
|
+
}), Y = (D == null ? void 0 : D.value) ?? null, W = Y ? O.get(Y) ?? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set(), G = W.has("manage");
|
|
2636
2636
|
return {
|
|
2637
2637
|
category: p,
|
|
2638
2638
|
options: M,
|
|
@@ -2640,16 +2640,16 @@ function Ir(e, t, n, s) {
|
|
|
2640
2640
|
isMultiAction: j,
|
|
2641
2641
|
actionColumns: ae,
|
|
2642
2642
|
permissionActionsMap: F,
|
|
2643
|
-
selectedActionsMap:
|
|
2643
|
+
selectedActionsMap: O,
|
|
2644
2644
|
coverSubject: Y,
|
|
2645
|
-
coverSelectedActions:
|
|
2645
|
+
coverSelectedActions: W,
|
|
2646
2646
|
coverCoversAll: G
|
|
2647
2647
|
};
|
|
2648
2648
|
});
|
|
2649
2649
|
});
|
|
2650
|
-
function c(
|
|
2650
|
+
function c(d, C) {
|
|
2651
2651
|
var p;
|
|
2652
|
-
const v = ((p = a.value.find((M) => M.category ===
|
|
2652
|
+
const v = ((p = a.value.find((M) => M.category === d)) == null ? void 0 : p.options) ?? [];
|
|
2653
2653
|
s("update:model-value", [
|
|
2654
2654
|
...e.value.filter((M) => !v.some((F) => F.value === M.subject)),
|
|
2655
2655
|
...t.value.filter((M) => C.includes(M.subject)).map(
|
|
@@ -2657,37 +2657,37 @@ function Ir(e, t, n, s) {
|
|
|
2657
2657
|
)
|
|
2658
2658
|
]);
|
|
2659
2659
|
}
|
|
2660
|
-
function d
|
|
2661
|
-
return
|
|
2660
|
+
function m(d) {
|
|
2661
|
+
return d.options.length > 0 && d.options.every((C) => d.selectedSubjects.includes(C.value));
|
|
2662
2662
|
}
|
|
2663
|
-
function u(
|
|
2663
|
+
function u(d) {
|
|
2664
2664
|
const C = e.value.filter(
|
|
2665
|
-
(v) => !
|
|
2665
|
+
(v) => !d.options.some((p) => p.value === v.subject)
|
|
2666
2666
|
);
|
|
2667
|
-
if (d
|
|
2667
|
+
if (m(d))
|
|
2668
2668
|
s("update:model-value", C);
|
|
2669
2669
|
else {
|
|
2670
|
-
const v = t.value.filter((p) =>
|
|
2670
|
+
const v = t.value.filter((p) => d.options.some((M) => M.value === p.subject)).map(
|
|
2671
2671
|
({ category: p, showByFeatureFlag: M, isCategoryCover: F, ...j }) => j
|
|
2672
2672
|
);
|
|
2673
2673
|
s("update:model-value", [...C, ...v]);
|
|
2674
2674
|
}
|
|
2675
2675
|
}
|
|
2676
|
-
function g(
|
|
2677
|
-
const v =
|
|
2676
|
+
function g(d, C) {
|
|
2677
|
+
const v = d.selectedActionsMap.get(C);
|
|
2678
2678
|
return v ? v.has("manage") : !1;
|
|
2679
2679
|
}
|
|
2680
|
-
function T(
|
|
2681
|
-
const v =
|
|
2680
|
+
function T(d, C) {
|
|
2681
|
+
const v = d.permissionActionsMap.get(C);
|
|
2682
2682
|
if (!v) return !1;
|
|
2683
2683
|
const p = v.filter((j) => j !== "manage");
|
|
2684
2684
|
if (p.length === 0) return !1;
|
|
2685
|
-
const M =
|
|
2685
|
+
const M = d.selectedActionsMap.get(C);
|
|
2686
2686
|
if (!M) return !1;
|
|
2687
2687
|
const F = p.filter((j) => M.has(j));
|
|
2688
2688
|
return F.length > 0 && F.length < p.length;
|
|
2689
2689
|
}
|
|
2690
|
-
function
|
|
2690
|
+
function L(d, C, v) {
|
|
2691
2691
|
if (v) {
|
|
2692
2692
|
const p = t.value.find((k) => k.subject === C);
|
|
2693
2693
|
if (!p) return;
|
|
@@ -2696,102 +2696,102 @@ function Ir(e, t, n, s) {
|
|
|
2696
2696
|
showByFeatureFlag: F,
|
|
2697
2697
|
isCategoryCover: j,
|
|
2698
2698
|
...ae
|
|
2699
|
-
} = p,
|
|
2700
|
-
|
|
2699
|
+
} = p, O = e.value.filter((k) => k.subject !== C);
|
|
2700
|
+
O.push(ae), s("update:model-value", O);
|
|
2701
2701
|
} else
|
|
2702
2702
|
s(
|
|
2703
2703
|
"update:model-value",
|
|
2704
2704
|
e.value.filter((p) => p.subject !== C)
|
|
2705
2705
|
);
|
|
2706
2706
|
}
|
|
2707
|
-
function
|
|
2708
|
-
const v =
|
|
2707
|
+
function y(d, C) {
|
|
2708
|
+
const v = d.permissionActionsMap.get(C);
|
|
2709
2709
|
return v ? v.some((p) => p !== "manage") : !1;
|
|
2710
2710
|
}
|
|
2711
|
-
function w(
|
|
2712
|
-
const p =
|
|
2711
|
+
function w(d, C, v) {
|
|
2712
|
+
const p = d.selectedActionsMap.get(C);
|
|
2713
2713
|
return p ? p.has(v) : !1;
|
|
2714
2714
|
}
|
|
2715
|
-
function V(
|
|
2716
|
-
return !
|
|
2715
|
+
function V(d, C) {
|
|
2716
|
+
return !d.coverSubject || C === d.coverSubject ? !1 : d.coverCoversAll;
|
|
2717
2717
|
}
|
|
2718
|
-
function
|
|
2719
|
-
return !
|
|
2718
|
+
function N(d, C, v) {
|
|
2719
|
+
return !d.coverSubject || C === d.coverSubject ? !1 : d.coverCoversAll ? !0 : d.coverSelectedActions.has(v);
|
|
2720
2720
|
}
|
|
2721
|
-
function A(
|
|
2722
|
-
const p =
|
|
2721
|
+
function A(d, C, v) {
|
|
2722
|
+
const p = d.permissionActionsMap.get(C);
|
|
2723
2723
|
return p ? p.includes(v) : !1;
|
|
2724
2724
|
}
|
|
2725
|
-
function i(
|
|
2726
|
-
const p = [...e.value], M = p.findIndex((j) => j.subject ===
|
|
2725
|
+
function i(d, C, v) {
|
|
2726
|
+
const p = [...e.value], M = p.findIndex((j) => j.subject === d && !j.inverted);
|
|
2727
2727
|
if (v)
|
|
2728
2728
|
if (M >= 0) {
|
|
2729
2729
|
const j = { ...p[M] }, ae = new Set(j.actions);
|
|
2730
2730
|
ae.add(C), j.actions = Array.from(ae), p[M] = j;
|
|
2731
2731
|
} else {
|
|
2732
|
-
const j = t.value.find((Y) => Y.subject ===
|
|
2732
|
+
const j = t.value.find((Y) => Y.subject === d);
|
|
2733
2733
|
if (!j) return;
|
|
2734
2734
|
const {
|
|
2735
2735
|
category: ae,
|
|
2736
|
-
showByFeatureFlag:
|
|
2736
|
+
showByFeatureFlag: O,
|
|
2737
2737
|
isCategoryCover: k,
|
|
2738
2738
|
...D
|
|
2739
2739
|
} = j;
|
|
2740
2740
|
p.push({ ...D, actions: [C] });
|
|
2741
2741
|
}
|
|
2742
2742
|
else if (M >= 0) {
|
|
2743
|
-
const j = { ...p[M] }, ae = j.actions.filter((
|
|
2743
|
+
const j = { ...p[M] }, ae = j.actions.filter((O) => O !== C);
|
|
2744
2744
|
ae.length === 0 ? p.splice(M, 1) : (j.actions = ae, p[M] = j);
|
|
2745
2745
|
}
|
|
2746
|
-
const F = t.value.find((j) => j.subject ===
|
|
2747
|
-
F &&
|
|
2746
|
+
const F = t.value.find((j) => j.subject === d);
|
|
2747
|
+
F && On(p, d, F.actions), s("update:model-value", p);
|
|
2748
2748
|
}
|
|
2749
|
-
function f(
|
|
2750
|
-
const v =
|
|
2751
|
-
(p) => A(
|
|
2749
|
+
function f(d, C) {
|
|
2750
|
+
const v = d.options.filter(
|
|
2751
|
+
(p) => A(d, p.value, C)
|
|
2752
2752
|
);
|
|
2753
2753
|
return v.length === 0 ? !1 : v.every(
|
|
2754
|
-
(p) => w(
|
|
2754
|
+
(p) => w(d, p.value, C) || N(d, p.value, C)
|
|
2755
2755
|
);
|
|
2756
2756
|
}
|
|
2757
|
-
function
|
|
2758
|
-
const v =
|
|
2759
|
-
(M) => A(
|
|
2757
|
+
function I(d, C) {
|
|
2758
|
+
const v = d.options.filter(
|
|
2759
|
+
(M) => A(d, M.value, C)
|
|
2760
2760
|
);
|
|
2761
2761
|
if (v.length === 0) return !1;
|
|
2762
2762
|
const p = v.filter(
|
|
2763
|
-
(M) => w(
|
|
2763
|
+
(M) => w(d, M.value, C) || N(d, M.value, C)
|
|
2764
2764
|
).length;
|
|
2765
2765
|
return p > 0 && p < v.length;
|
|
2766
2766
|
}
|
|
2767
|
-
function h(
|
|
2767
|
+
function h(d, C, v) {
|
|
2768
2768
|
const p = [...e.value];
|
|
2769
|
-
for (const M of
|
|
2770
|
-
if (!A(
|
|
2769
|
+
for (const M of d.options) {
|
|
2770
|
+
if (!A(d, M.value, C)) continue;
|
|
2771
2771
|
const F = M.value, j = p.findIndex(
|
|
2772
|
-
(
|
|
2772
|
+
(O) => O.subject === F && !O.inverted
|
|
2773
2773
|
);
|
|
2774
2774
|
if (v)
|
|
2775
2775
|
if (j >= 0) {
|
|
2776
|
-
const
|
|
2777
|
-
k.add(C),
|
|
2776
|
+
const O = { ...p[j] }, k = new Set(O.actions);
|
|
2777
|
+
k.add(C), O.actions = Array.from(k), p[j] = O;
|
|
2778
2778
|
} else {
|
|
2779
|
-
const
|
|
2780
|
-
if (!
|
|
2779
|
+
const O = t.value.find((G) => G.subject === F);
|
|
2780
|
+
if (!O) continue;
|
|
2781
2781
|
const {
|
|
2782
2782
|
category: k,
|
|
2783
2783
|
showByFeatureFlag: D,
|
|
2784
2784
|
isCategoryCover: Y,
|
|
2785
|
-
...
|
|
2786
|
-
} =
|
|
2787
|
-
p.push({ ...
|
|
2785
|
+
...W
|
|
2786
|
+
} = O;
|
|
2787
|
+
p.push({ ...W, actions: [C] });
|
|
2788
2788
|
}
|
|
2789
2789
|
else if (j >= 0) {
|
|
2790
|
-
const
|
|
2791
|
-
k.length === 0 ? p.splice(j, 1) : (
|
|
2790
|
+
const O = { ...p[j] }, k = O.actions.filter((D) => D !== C);
|
|
2791
|
+
k.length === 0 ? p.splice(j, 1) : (O.actions = k, p[j] = O);
|
|
2792
2792
|
}
|
|
2793
|
-
const ae = t.value.find((
|
|
2794
|
-
ae &&
|
|
2793
|
+
const ae = t.value.find((O) => O.subject === F);
|
|
2794
|
+
ae && On(p, F, ae.actions);
|
|
2795
2795
|
}
|
|
2796
2796
|
s("update:model-value", p);
|
|
2797
2797
|
}
|
|
@@ -2800,36 +2800,36 @@ function Ir(e, t, n, s) {
|
|
|
2800
2800
|
create: "Duplicate",
|
|
2801
2801
|
update: "Edit"
|
|
2802
2802
|
};
|
|
2803
|
-
function R(
|
|
2804
|
-
return S[
|
|
2803
|
+
function R(d) {
|
|
2804
|
+
return S[d] ?? d.charAt(0).toUpperCase() + d.slice(1);
|
|
2805
2805
|
}
|
|
2806
2806
|
return {
|
|
2807
2807
|
categoryGroups: a,
|
|
2808
2808
|
toggleCategory: c,
|
|
2809
|
-
isAllManageChecked:
|
|
2809
|
+
isAllManageChecked: m,
|
|
2810
2810
|
toggleAllManage: u,
|
|
2811
2811
|
isManageChecked: g,
|
|
2812
2812
|
isManageIndeterminate: T,
|
|
2813
|
-
toggleManage:
|
|
2814
|
-
hasNonManageActions:
|
|
2813
|
+
toggleManage: L,
|
|
2814
|
+
hasNonManageActions: y,
|
|
2815
2815
|
isActionChecked: w,
|
|
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: I,
|
|
2822
2822
|
toggleAllAction: h,
|
|
2823
2823
|
actionLabel: R
|
|
2824
2824
|
};
|
|
2825
2825
|
}
|
|
2826
|
-
const
|
|
2826
|
+
const Ir = { class: "flex flex-col gap-16" }, Nr = {
|
|
2827
2827
|
key: 1,
|
|
2828
2828
|
class: "space-y-16"
|
|
2829
|
-
}, Tr = { class: "flex items-end justify-between" }, kr = { class: "fm-typo-en-title-sm-600" },
|
|
2829
|
+
}, Tr = { class: "flex items-end justify-between" }, kr = { class: "fm-typo-en-title-sm-600" }, Lr = { class: "flex" }, Or = { 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" }, Mr = ["title", "onClick"], Dr = {
|
|
2830
2830
|
key: 0,
|
|
2831
2831
|
class: "flex shrink-0"
|
|
2832
|
-
}, wr = /* @__PURE__ */
|
|
2832
|
+
}, wr = /* @__PURE__ */ Ne({
|
|
2833
2833
|
__name: "BasePermission",
|
|
2834
2834
|
props: {
|
|
2835
2835
|
modelValue: {
|
|
@@ -2854,47 +2854,47 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
2854
2854
|
const n = e, s = t, l = q(() => [...Mt, ...n.additionalPermissions]), {
|
|
2855
2855
|
categoryGroups: a,
|
|
2856
2856
|
toggleCategory: c,
|
|
2857
|
-
isAllManageChecked:
|
|
2857
|
+
isAllManageChecked: m,
|
|
2858
2858
|
toggleAllManage: u,
|
|
2859
2859
|
isManageChecked: g,
|
|
2860
2860
|
isManageIndeterminate: T,
|
|
2861
|
-
toggleManage:
|
|
2862
|
-
hasNonManageActions:
|
|
2861
|
+
toggleManage: L,
|
|
2862
|
+
hasNonManageActions: y,
|
|
2863
2863
|
isActionChecked: w,
|
|
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: I,
|
|
2870
2870
|
toggleAllAction: h,
|
|
2871
2871
|
actionLabel: S
|
|
2872
|
-
} =
|
|
2872
|
+
} = yr(
|
|
2873
2873
|
Qt(n, "modelValue"),
|
|
2874
2874
|
l,
|
|
2875
2875
|
Qt(n, "excludedSubjects"),
|
|
2876
|
-
(R,
|
|
2876
|
+
(R, d) => s("update:model-value", d)
|
|
2877
2877
|
);
|
|
2878
|
-
return (R,
|
|
2879
|
-
const C =
|
|
2880
|
-
return B(), ee("div",
|
|
2881
|
-
(B(!0), ee(
|
|
2878
|
+
return (R, d) => {
|
|
2879
|
+
const C = Xe("FmCheckbox");
|
|
2880
|
+
return B(), ee("div", Ir, [
|
|
2881
|
+
(B(!0), ee(ye, null, pe(H(a), (v) => (B(), ee(ye, {
|
|
2882
2882
|
key: v.category
|
|
2883
2883
|
}, [
|
|
2884
|
-
v.isMultiAction ? (B(), ee("div",
|
|
2884
|
+
v.isMultiAction ? (B(), ee("div", Nr, [
|
|
2885
2885
|
te("div", Tr, [
|
|
2886
2886
|
te("div", kr, Ae(v.category), 1),
|
|
2887
|
-
te("div",
|
|
2888
|
-
(B(!0), ee(
|
|
2887
|
+
te("div", Lr, [
|
|
2888
|
+
(B(!0), ee(ye, null, pe(v.actionColumns, (p) => (B(), ee("span", {
|
|
2889
2889
|
key: p,
|
|
2890
2890
|
class: "w-[56px] text-center fm-typo-en-body-sm-400 text-fm-color-neutral-gray-600"
|
|
2891
2891
|
}, Ae(H(S)(p)), 1))), 128))
|
|
2892
2892
|
])
|
|
2893
2893
|
]),
|
|
2894
|
-
te("div",
|
|
2894
|
+
te("div", Or, [
|
|
2895
2895
|
te("div", Cr, [
|
|
2896
|
-
|
|
2897
|
-
"model-value": H(
|
|
2896
|
+
me(C, {
|
|
2897
|
+
"model-value": H(m)(v),
|
|
2898
2898
|
value: !0,
|
|
2899
2899
|
disabled: e.disable,
|
|
2900
2900
|
label: "All",
|
|
@@ -2903,13 +2903,13 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
2903
2903
|
"onUpdate:modelValue": (p) => H(u)(v)
|
|
2904
2904
|
}, null, 8, ["model-value", "disabled", "onUpdate:modelValue"]),
|
|
2905
2905
|
te("div", Rr, [
|
|
2906
|
-
(B(!0), ee(
|
|
2906
|
+
(B(!0), ee(ye, null, pe(v.actionColumns, (p) => (B(), ee("div", {
|
|
2907
2907
|
key: p,
|
|
2908
2908
|
class: "w-[56px] flex justify-center"
|
|
2909
2909
|
}, [
|
|
2910
|
-
|
|
2910
|
+
me(C, {
|
|
2911
2911
|
"model-value": H(f)(v, p),
|
|
2912
|
-
indeterminate: H(
|
|
2912
|
+
indeterminate: H(I)(v, p),
|
|
2913
2913
|
value: p,
|
|
2914
2914
|
disabled: e.disable,
|
|
2915
2915
|
size: "sm",
|
|
@@ -2919,47 +2919,47 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
2919
2919
|
]))), 128))
|
|
2920
2920
|
])
|
|
2921
2921
|
]),
|
|
2922
|
-
(B(!0), ee(
|
|
2922
|
+
(B(!0), ee(ye, null, pe(v.options, (p, M) => (B(), ee("div", {
|
|
2923
2923
|
key: p.value,
|
|
2924
2924
|
class: qe(M < v.options.length - 1 ? "q-mb-xs" : "")
|
|
2925
2925
|
}, [
|
|
2926
2926
|
te("div", Ar, [
|
|
2927
2927
|
te("div", Sr, [
|
|
2928
|
-
|
|
2928
|
+
me(C, {
|
|
2929
2929
|
"model-value": H(g)(v, p.value) || H(V)(v, p.value),
|
|
2930
2930
|
value: p.value,
|
|
2931
2931
|
disabled: e.disable || H(V)(v, p.value),
|
|
2932
2932
|
indeterminate: H(T)(v, p.value),
|
|
2933
2933
|
size: "sm",
|
|
2934
2934
|
class: "shrink-0",
|
|
2935
|
-
"onUpdate:modelValue": (F) => H(
|
|
2935
|
+
"onUpdate:modelValue": (F) => H(L)(v, p.value, F)
|
|
2936
2936
|
}, null, 8, ["model-value", "value", "disabled", "indeterminate", "onUpdate:modelValue"]),
|
|
2937
2937
|
te("span", {
|
|
2938
2938
|
class: "block truncate cursor-pointer",
|
|
2939
2939
|
title: p.label,
|
|
2940
|
-
onClick: (F) => !e.disable && !H(V)(v, p.value) && H(
|
|
2940
|
+
onClick: (F) => !e.disable && !H(V)(v, p.value) && H(L)(v, p.value, !H(g)(v, p.value))
|
|
2941
2941
|
}, Ae(p.label), 9, Mr),
|
|
2942
2942
|
ge(R.$slots, `checkbox-${p.value}-append`, { option: p })
|
|
2943
2943
|
]),
|
|
2944
|
-
H(
|
|
2945
|
-
(B(!0), ee(
|
|
2944
|
+
H(y)(v, p.value) ? (B(), ee("div", Dr, [
|
|
2945
|
+
(B(!0), ee(ye, null, pe(v.actionColumns, (F) => (B(), ee("div", {
|
|
2946
2946
|
key: F,
|
|
2947
2947
|
class: "w-[56px] flex justify-center"
|
|
2948
2948
|
}, [
|
|
2949
2949
|
H(A)(v, p.value, F) ? (B(), Se(C, {
|
|
2950
2950
|
key: 0,
|
|
2951
|
-
"model-value": H(w)(v, p.value, F) || H(
|
|
2951
|
+
"model-value": H(w)(v, p.value, F) || H(N)(v, p.value, F),
|
|
2952
2952
|
value: F,
|
|
2953
|
-
disabled: e.disable || H(
|
|
2953
|
+
disabled: e.disable || H(N)(v, p.value, F),
|
|
2954
2954
|
size: "sm",
|
|
2955
2955
|
"onUpdate:modelValue": (j) => H(i)(p.value, F, j)
|
|
2956
|
-
}, null, 8, ["model-value", "value", "disabled", "onUpdate:modelValue"])) :
|
|
2956
|
+
}, null, 8, ["model-value", "value", "disabled", "onUpdate:modelValue"])) : Le("", !0)
|
|
2957
2957
|
]))), 128))
|
|
2958
|
-
])) :
|
|
2958
|
+
])) : Le("", !0)
|
|
2959
2959
|
])
|
|
2960
2960
|
], 2))), 128))
|
|
2961
2961
|
])
|
|
2962
|
-
])) : (B(), Se(
|
|
2962
|
+
])) : (B(), Se(Kt, {
|
|
2963
2963
|
key: 0,
|
|
2964
2964
|
"model-value": v.selectedSubjects,
|
|
2965
2965
|
options: v.options,
|
|
@@ -2978,7 +2978,7 @@ 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" }, Ur = /* @__PURE__ */
|
|
2981
|
+
}), Pr = { class: "flex items-center" }, Fr = { class: "ml-auto" }, Ur = /* @__PURE__ */ Ne({
|
|
2982
2982
|
__name: "CollapsibleWrapper",
|
|
2983
2983
|
props: {
|
|
2984
2984
|
title: { default: "" },
|
|
@@ -2990,23 +2990,23 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
2990
2990
|
function c() {
|
|
2991
2991
|
n.value = !n.value;
|
|
2992
2992
|
}
|
|
2993
|
-
function
|
|
2993
|
+
function m() {
|
|
2994
2994
|
s.value && (l.value = s.value.scrollHeight);
|
|
2995
2995
|
}
|
|
2996
|
-
return
|
|
2996
|
+
return Zt(async () => {
|
|
2997
2997
|
await es(), s.value && (a = new ResizeObserver(() => {
|
|
2998
|
-
|
|
2998
|
+
m();
|
|
2999
2999
|
}), a.observe(s.value));
|
|
3000
3000
|
}), An(() => {
|
|
3001
3001
|
a == null || a.disconnect();
|
|
3002
3002
|
}), (u, g) => {
|
|
3003
|
-
const T =
|
|
3004
|
-
return B(), ee(
|
|
3003
|
+
const T = Xe("FmButton");
|
|
3004
|
+
return B(), ee(ye, null, [
|
|
3005
3005
|
te("div", { onClick: c }, [
|
|
3006
3006
|
te("div", Pr, [
|
|
3007
3007
|
ge(u.$slots, "title"),
|
|
3008
3008
|
te("div", Fr, [
|
|
3009
|
-
|
|
3009
|
+
me(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
|
-
}), jr = { class: "fm-typo-en-title-sm-600" }, Rt = "includedFuture", Rn = /* @__PURE__ */
|
|
3029
|
+
}), jr = { class: "fm-typo-en-title-sm-600" }, Rt = "includedFuture", Rn = /* @__PURE__ */ Ne({
|
|
3030
3030
|
__name: "ConditionPermission",
|
|
3031
3031
|
props: {
|
|
3032
3032
|
modelValue: {
|
|
@@ -3059,26 +3059,26 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
3059
3059
|
(g) => g.label.toLocaleLowerCase().includes(u.value.toLocaleLowerCase())
|
|
3060
3060
|
)
|
|
3061
3061
|
]), c = q(() => n.modelValue ? n.modelValue : [Rt, ...n.options.map((g) => g.value)]);
|
|
3062
|
-
function
|
|
3062
|
+
function m(g) {
|
|
3063
3063
|
const T = g.length === a.value.length;
|
|
3064
|
-
s("update:model-value", T ? null : g.filter((
|
|
3064
|
+
s("update:model-value", T ? null : g.filter((L) => L !== Rt));
|
|
3065
3065
|
}
|
|
3066
3066
|
const u = je("");
|
|
3067
3067
|
return (g, T) => {
|
|
3068
|
-
const
|
|
3068
|
+
const L = Xe("fm-search");
|
|
3069
3069
|
return B(), Se(Ur, null, {
|
|
3070
3070
|
title: he(() => [
|
|
3071
3071
|
te("p", jr, Ae(H(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
3072
3072
|
]),
|
|
3073
3073
|
default: he(() => [
|
|
3074
|
-
e.options.length > 1 ? (B(), Se(
|
|
3074
|
+
e.options.length > 1 ? (B(), Se(L, {
|
|
3075
3075
|
key: 0,
|
|
3076
3076
|
modelValue: u.value,
|
|
3077
|
-
"onUpdate:modelValue": T[0] || (T[0] = (
|
|
3077
|
+
"onUpdate:modelValue": T[0] || (T[0] = (y) => u.value = y),
|
|
3078
3078
|
class: "mt-16",
|
|
3079
3079
|
placeholder: H(l)("team.memberForm.permissions.search", { context: e.context })
|
|
3080
|
-
}, null, 8, ["modelValue", "placeholder"])) :
|
|
3081
|
-
|
|
3080
|
+
}, null, 8, ["modelValue", "placeholder"])) : Le("", !0),
|
|
3081
|
+
me(Kt, {
|
|
3082
3082
|
"model-value": c.value,
|
|
3083
3083
|
options: a.value,
|
|
3084
3084
|
"show-intermediate": !1,
|
|
@@ -3087,12 +3087,12 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
3087
3087
|
"include-disabled-options-when-select-all": !0,
|
|
3088
3088
|
title: "",
|
|
3089
3089
|
class: "mt-16",
|
|
3090
|
-
"onUpdate:modelValue":
|
|
3090
|
+
"onUpdate:modelValue": m
|
|
3091
3091
|
}, Fe({ _: 2 }, [
|
|
3092
|
-
pe(a.value, (
|
|
3093
|
-
name: `checkbox-${
|
|
3092
|
+
pe(a.value, (y) => ({
|
|
3093
|
+
name: `checkbox-${y.value}-append`,
|
|
3094
3094
|
fn: he(({ option: w }) => [
|
|
3095
|
-
ge(g.$slots, `checkbox-${
|
|
3095
|
+
ge(g.$slots, `checkbox-${y.value}-append`, { option: w })
|
|
3096
3096
|
])
|
|
3097
3097
|
}))
|
|
3098
3098
|
]), 1032, ["model-value", "options", "disable"])
|
|
@@ -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: {
|
|
@@ -3138,23 +3138,23 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
3138
3138
|
}))
|
|
3139
3139
|
];
|
|
3140
3140
|
}), c = q(() => n.modelValue ? n.modelValue : [At, ...n.roles.map((u) => u._id)]);
|
|
3141
|
-
function
|
|
3141
|
+
function m(u) {
|
|
3142
3142
|
const g = u.length === a.value.length;
|
|
3143
3143
|
s("update:model-value", g ? null : u.filter((T) => T !== At));
|
|
3144
3144
|
}
|
|
3145
|
-
return (u, g) => (B(), Se(
|
|
3145
|
+
return (u, g) => (B(), Se(Kt, {
|
|
3146
3146
|
"model-value": c.value,
|
|
3147
3147
|
options: a.value,
|
|
3148
3148
|
"show-intermediate": !1,
|
|
3149
3149
|
"show-all-toggle": !1,
|
|
3150
3150
|
disable: e.disable,
|
|
3151
3151
|
title: H(l)("team.memberForm.permissions.roles"),
|
|
3152
|
-
"onUpdate:modelValue":
|
|
3152
|
+
"onUpdate:modelValue": m
|
|
3153
3153
|
}, Fe({ _: 2 }, [
|
|
3154
3154
|
pe(a.value, (T) => ({
|
|
3155
3155
|
name: `checkbox-${T.value}-append`,
|
|
3156
|
-
fn: he(({ option:
|
|
3157
|
-
ge(u.$slots, `checkbox-${T.value}-append`, { option:
|
|
3156
|
+
fn: he(({ option: L }) => [
|
|
3157
|
+
ge(u.$slots, `checkbox-${T.value}-append`, { option: L })
|
|
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
|
-
},
|
|
3166
|
+
}, xr = { class: "flex flex-col gap-32" }, Wr = { 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" }, 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" }, tl = /* @__PURE__ */ Ne({
|
|
3167
3167
|
__name: "PortalPermissionEditor",
|
|
3168
3168
|
props: /* @__PURE__ */ qt({
|
|
3169
3169
|
disable: {
|
|
@@ -3180,52 +3180,52 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
3180
3180
|
}),
|
|
3181
3181
|
emits: /* @__PURE__ */ qt(["permissionChanged"], ["update:modelValue"]),
|
|
3182
3182
|
setup(e, { emit: t }) {
|
|
3183
|
-
const n = ts(e, "modelValue"), s = e, l = t, { t: a } = _t(), { fetchCustomReportPermissions: c, customReportPermissions:
|
|
3184
|
-
function u(
|
|
3185
|
-
return Mt.find((k) => k.subject ===
|
|
3183
|
+
const n = ts(e, "modelValue"), s = e, l = t, { t: a } = _t(), { fetchCustomReportPermissions: c, customReportPermissions: m } = ss();
|
|
3184
|
+
function u(O) {
|
|
3185
|
+
return Mt.find((k) => k.subject === O) ?? m.value.find((k) => k.subject === O);
|
|
3186
3186
|
}
|
|
3187
3187
|
const g = q(() => {
|
|
3188
|
-
const
|
|
3188
|
+
const O = [...Mt, ...m.value].filter((D) => !w.includes(D.subject)).map((D) => D.subject);
|
|
3189
3189
|
return as(
|
|
3190
3190
|
s.inheritPermissions.map((D) => ({
|
|
3191
3191
|
...D,
|
|
3192
|
-
permissions: D.permissions.filter((Y) =>
|
|
3192
|
+
permissions: D.permissions.filter((Y) => O.includes(Y.subject))
|
|
3193
3193
|
}))
|
|
3194
3194
|
).map((D) => ({
|
|
3195
3195
|
id: D.subject,
|
|
3196
3196
|
setNames: D.setNames
|
|
3197
3197
|
}));
|
|
3198
3198
|
}), T = q(() => {
|
|
3199
|
-
const
|
|
3199
|
+
const O = s.inheritPermissions.map((k) => ({
|
|
3200
3200
|
...k,
|
|
3201
3201
|
permissions: k.permissions.filter(
|
|
3202
3202
|
(D) => D.subject === ce.Subject.Business.inventory_stock
|
|
3203
3203
|
)
|
|
3204
3204
|
}));
|
|
3205
|
-
return
|
|
3206
|
-
|
|
3205
|
+
return Nt(
|
|
3206
|
+
O,
|
|
3207
3207
|
"warehouseId",
|
|
3208
|
-
|
|
3208
|
+
N.value.map((k) => k._id)
|
|
3209
3209
|
);
|
|
3210
|
-
}),
|
|
3211
|
-
const
|
|
3210
|
+
}), L = q(() => {
|
|
3211
|
+
const O = s.inheritPermissions.map((k) => ({
|
|
3212
3212
|
...k,
|
|
3213
3213
|
permissions: k.permissions.filter(
|
|
3214
3214
|
(D) => D.subject === ce.Subject.Restaurant.restaurant
|
|
3215
3215
|
)
|
|
3216
3216
|
}));
|
|
3217
|
-
return
|
|
3218
|
-
|
|
3217
|
+
return Nt(
|
|
3218
|
+
O,
|
|
3219
3219
|
"restaurantId",
|
|
3220
|
-
|
|
3220
|
+
I.value.map((k) => k._id)
|
|
3221
3221
|
);
|
|
3222
|
-
}),
|
|
3223
|
-
const
|
|
3222
|
+
}), y = q(() => {
|
|
3223
|
+
const O = s.inheritPermissions.map((k) => ({
|
|
3224
3224
|
...k,
|
|
3225
3225
|
permissions: k.permissions.filter((D) => D.subject === ce.Subject.Business.role)
|
|
3226
3226
|
}));
|
|
3227
|
-
return
|
|
3228
|
-
|
|
3227
|
+
return Nt(
|
|
3228
|
+
O,
|
|
3229
3229
|
"roleId",
|
|
3230
3230
|
h.value.map((k) => k._id)
|
|
3231
3231
|
);
|
|
@@ -3236,21 +3236,21 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
3236
3236
|
ce.Subject.Business.inventory_stock
|
|
3237
3237
|
], V = q(() => {
|
|
3238
3238
|
var k;
|
|
3239
|
-
const
|
|
3239
|
+
const O = (k = n.value) == null ? void 0 : k.find(
|
|
3240
3240
|
(D) => D.subject === ce.Subject.Business.inventory_stock
|
|
3241
3241
|
);
|
|
3242
|
-
return
|
|
3243
|
-
}),
|
|
3244
|
-
label:
|
|
3245
|
-
value:
|
|
3242
|
+
return O ? O.conditions ? JSON.parse(O.conditions).warehouseId.$in : null : [];
|
|
3243
|
+
}), N = je([]), A = q(() => N.value.map((O) => ({
|
|
3244
|
+
label: O.profile.name,
|
|
3245
|
+
value: O._id
|
|
3246
3246
|
})));
|
|
3247
|
-
function i(
|
|
3248
|
-
const k = f(n.value,
|
|
3247
|
+
function i(O) {
|
|
3248
|
+
const k = f(n.value, O);
|
|
3249
3249
|
n.value = k;
|
|
3250
3250
|
}
|
|
3251
|
-
function f(
|
|
3251
|
+
function f(O, k) {
|
|
3252
3252
|
let D = ut(
|
|
3253
|
-
|
|
3253
|
+
O.filter((Y) => Y.subject !== ce.Subject.Business.inventory_stock)
|
|
3254
3254
|
);
|
|
3255
3255
|
if (!k || k.length > 0) {
|
|
3256
3256
|
const Y = {
|
|
@@ -3261,53 +3261,53 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
3261
3261
|
}
|
|
3262
3262
|
return D;
|
|
3263
3263
|
}
|
|
3264
|
-
const { restaurants:
|
|
3265
|
-
label: `${
|
|
3266
|
-
value:
|
|
3267
|
-
}))), R = q(() =>
|
|
3268
|
-
function C(
|
|
3269
|
-
const k = p(n.value,
|
|
3264
|
+
const { restaurants: I } = ns(), h = ms().roles, S = q(() => I.value.map((O) => ({
|
|
3265
|
+
label: `${O.profile.code ? O.profile.code + "-" : ""}${O.profile.name}`,
|
|
3266
|
+
value: O._id
|
|
3267
|
+
}))), R = q(() => I.value.reduce((O, k) => (O[k._id] = h.value.filter((D) => D.restaurants.some((Y) => Y.id === k._id)).map((D) => D._id), O), {})), d = q(() => rs(n.value));
|
|
3268
|
+
function C(O) {
|
|
3269
|
+
const k = p(n.value, O);
|
|
3270
3270
|
n.value = k;
|
|
3271
3271
|
}
|
|
3272
3272
|
const v = q(() => ls(n.value));
|
|
3273
|
-
function p(
|
|
3273
|
+
function p(O, k) {
|
|
3274
3274
|
var Y;
|
|
3275
3275
|
let D = ut(
|
|
3276
|
-
|
|
3277
|
-
(
|
|
3276
|
+
O.filter(
|
|
3277
|
+
(W) => W.subject !== ce.Subject.Business.restaurant && W.subject !== ce.Subject.Restaurant.restaurant
|
|
3278
3278
|
)
|
|
3279
3279
|
);
|
|
3280
3280
|
if (!k || k.length > 0) {
|
|
3281
3281
|
const {
|
|
3282
|
-
category:
|
|
3282
|
+
category: W,
|
|
3283
3283
|
showByFeatureFlag: G,
|
|
3284
|
-
...
|
|
3284
|
+
...x
|
|
3285
3285
|
} = us.restaurant;
|
|
3286
|
-
D.push(
|
|
3287
|
-
const
|
|
3286
|
+
D.push(x);
|
|
3287
|
+
const Z = {
|
|
3288
3288
|
actions: [ce.Action.manage],
|
|
3289
3289
|
subject: ce.Subject.Restaurant.restaurant
|
|
3290
3290
|
};
|
|
3291
|
-
k && (
|
|
3291
|
+
k && (Z.conditions = JSON.stringify({ restaurantId: { $in: k } })), D.push(Z);
|
|
3292
3292
|
}
|
|
3293
3293
|
if (k) {
|
|
3294
|
-
const
|
|
3295
|
-
...new Set(k.map((
|
|
3296
|
-
], G = h.value.map((
|
|
3297
|
-
|
|
3294
|
+
const W = [
|
|
3295
|
+
...new Set(k.map((x) => R.value[x]).flatMap((x) => x))
|
|
3296
|
+
], G = h.value.map((x) => x._id);
|
|
3297
|
+
W.length !== G.length && (D = F(
|
|
3298
3298
|
D,
|
|
3299
|
-
(Y = v.value || G) == null ? void 0 : Y.filter((
|
|
3299
|
+
(Y = v.value || G) == null ? void 0 : Y.filter((x) => W.includes(x))
|
|
3300
3300
|
));
|
|
3301
3301
|
}
|
|
3302
3302
|
return D;
|
|
3303
3303
|
}
|
|
3304
|
-
function M(
|
|
3305
|
-
const k = F(n.value,
|
|
3304
|
+
function M(O) {
|
|
3305
|
+
const k = F(n.value, O);
|
|
3306
3306
|
n.value = k;
|
|
3307
3307
|
}
|
|
3308
|
-
function F(
|
|
3308
|
+
function F(O, k) {
|
|
3309
3309
|
let D = ut(
|
|
3310
|
-
|
|
3310
|
+
O.filter((Y) => Y.subject !== ce.Subject.Business.role)
|
|
3311
3311
|
);
|
|
3312
3312
|
if (k && k.length > 0) {
|
|
3313
3313
|
const Y = {
|
|
@@ -3319,9 +3319,9 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
3319
3319
|
}
|
|
3320
3320
|
return D;
|
|
3321
3321
|
}
|
|
3322
|
-
|
|
3322
|
+
Zt(async () => {
|
|
3323
3323
|
await Promise.all([
|
|
3324
|
-
Gr.readWarehouses().then((
|
|
3324
|
+
Gr.readWarehouses().then((O) => N.value = O),
|
|
3325
3325
|
c()
|
|
3326
3326
|
]);
|
|
3327
3327
|
});
|
|
@@ -3334,91 +3334,91 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
3334
3334
|
if (!D.includes("manage")) return k;
|
|
3335
3335
|
const Y = u(k.subject);
|
|
3336
3336
|
if (!Y) return k;
|
|
3337
|
-
const
|
|
3338
|
-
return
|
|
3337
|
+
const W = Y.actions;
|
|
3338
|
+
return W.length <= 1 || W.filter((x) => !D.includes(x)).length === 0 ? k : { ...k, actions: [...W] };
|
|
3339
3339
|
}));
|
|
3340
|
-
function ae(
|
|
3340
|
+
function ae(O) {
|
|
3341
3341
|
const k = new Set(
|
|
3342
3342
|
j.value.filter((G) => !G.inverted).map((G) => G.subject)
|
|
3343
3343
|
), D = new Set(
|
|
3344
|
-
|
|
3344
|
+
O.filter((G) => !G.inverted).map((G) => G.subject)
|
|
3345
3345
|
), Y = new Set(
|
|
3346
3346
|
n.value.filter((G) => !G.inverted).map((G) => G.subject)
|
|
3347
3347
|
);
|
|
3348
|
-
let
|
|
3348
|
+
let W = [...n.value];
|
|
3349
3349
|
for (const G of k)
|
|
3350
|
-
D.has(G) || (Y.has(G) && (
|
|
3351
|
-
|
|
3350
|
+
D.has(G) || (Y.has(G) && (W = W.filter((Z) => Z.subject !== G)), (!Y.has(G) || Tt(
|
|
3351
|
+
W,
|
|
3352
3352
|
kt
|
|
3353
|
-
).some((
|
|
3353
|
+
).some((Z) => Z.subject === G && !Z.inverted)) && !W.some((Z) => Z.subject === G && Z.inverted) && W.push({ subject: G, actions: ["manage"], inverted: !0 }));
|
|
3354
3354
|
for (const G of D)
|
|
3355
3355
|
if (!k.has(G)) {
|
|
3356
|
-
const
|
|
3357
|
-
if (
|
|
3358
|
-
const
|
|
3356
|
+
const x = W.some((Z) => Z.subject === G && Z.inverted);
|
|
3357
|
+
if (W = W.filter((Z) => !(Z.subject === G && Z.inverted)), !x && !Y.has(G)) {
|
|
3358
|
+
const Z = O.find(
|
|
3359
3359
|
(_e) => _e.subject === G && !_e.inverted
|
|
3360
3360
|
), ve = u(G);
|
|
3361
|
-
if (ve &&
|
|
3361
|
+
if (ve && Z) {
|
|
3362
3362
|
const { category: _e, showByFeatureFlag: we, ...ne } = ve;
|
|
3363
|
-
|
|
3363
|
+
W.push({ ...ne, actions: Z.actions });
|
|
3364
3364
|
}
|
|
3365
3365
|
}
|
|
3366
3366
|
}
|
|
3367
3367
|
for (const G of D) {
|
|
3368
3368
|
if (!k.has(G)) continue;
|
|
3369
|
-
const
|
|
3369
|
+
const x = j.value.find(
|
|
3370
3370
|
(ne) => ne.subject === G && !ne.inverted
|
|
3371
|
-
),
|
|
3372
|
-
if (!
|
|
3373
|
-
const ve = new Set(
|
|
3371
|
+
), Z = O.find((ne) => ne.subject === G && !ne.inverted);
|
|
3372
|
+
if (!x || !Z) continue;
|
|
3373
|
+
const ve = new Set(x.actions), _e = new Set(Z.actions);
|
|
3374
3374
|
if (ve.size === _e.size && [...ve].every((ne) => _e.has(ne)))
|
|
3375
3375
|
continue;
|
|
3376
|
-
const we =
|
|
3376
|
+
const we = W.findIndex((ne) => ne.subject === G && !ne.inverted);
|
|
3377
3377
|
if (we >= 0)
|
|
3378
|
-
|
|
3379
|
-
...
|
|
3378
|
+
W[we] = {
|
|
3379
|
+
...W[we],
|
|
3380
3380
|
actions: Array.from(_e)
|
|
3381
3381
|
};
|
|
3382
3382
|
else {
|
|
3383
3383
|
const ne = u(G);
|
|
3384
3384
|
if (ne) {
|
|
3385
3385
|
const { category: Ee, showByFeatureFlag: Je, ...$e } = ne;
|
|
3386
|
-
|
|
3386
|
+
W.push({ ...$e, actions: Array.from(_e) });
|
|
3387
3387
|
}
|
|
3388
3388
|
}
|
|
3389
3389
|
ve.has("manage") && !_e.has("manage") && Tt(
|
|
3390
|
-
|
|
3390
|
+
W,
|
|
3391
3391
|
kt
|
|
3392
3392
|
).some(
|
|
3393
3393
|
(Ee) => Ee.subject === G && !Ee.inverted && Ee.actions.includes("manage")
|
|
3394
|
-
) && !
|
|
3394
|
+
) && !W.some((Ee) => Ee.subject === G && Ee.inverted) && W.push({ subject: G, actions: ["manage"], inverted: !0 }), !ve.has("manage") && _e.has("manage") && (W = W.filter((ne) => !(ne.subject === G && ne.inverted)));
|
|
3395
3395
|
}
|
|
3396
|
-
n.value =
|
|
3396
|
+
n.value = W;
|
|
3397
3397
|
}
|
|
3398
3398
|
return St(
|
|
3399
3399
|
n,
|
|
3400
|
-
(
|
|
3401
|
-
l("permissionChanged",
|
|
3400
|
+
(O) => {
|
|
3401
|
+
l("permissionChanged", O);
|
|
3402
3402
|
},
|
|
3403
3403
|
{ deep: !0 }
|
|
3404
|
-
), (
|
|
3405
|
-
te("div",
|
|
3406
|
-
|
|
3404
|
+
), (O, k) => (B(), ee("div", xr, [
|
|
3405
|
+
te("div", Wr, [
|
|
3406
|
+
me(wr, {
|
|
3407
3407
|
"model-value": j.value,
|
|
3408
3408
|
"excluded-subjects": w,
|
|
3409
|
-
"additional-permissions": H(
|
|
3409
|
+
"additional-permissions": H(m),
|
|
3410
3410
|
"onUpdate:modelValue": ae
|
|
3411
3411
|
}, Fe({ _: 2 }, [
|
|
3412
3412
|
pe(g.value, (D) => ({
|
|
3413
3413
|
name: `checkbox-${D.id}-append`,
|
|
3414
3414
|
fn: he(() => [
|
|
3415
|
-
|
|
3415
|
+
me(it, { item: D }, null, 8, ["item"])
|
|
3416
3416
|
])
|
|
3417
3417
|
}))
|
|
3418
3418
|
]), 1032, ["model-value", "additional-permissions"])
|
|
3419
3419
|
]),
|
|
3420
|
-
te("div",
|
|
3421
|
-
|
|
3420
|
+
te("div", Zr, [
|
|
3421
|
+
me(Rn, {
|
|
3422
3422
|
"model-value": V.value,
|
|
3423
3423
|
options: A.value,
|
|
3424
3424
|
context: H(a)("team.labels.warehouse"),
|
|
@@ -3427,37 +3427,37 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
3427
3427
|
pe(T.value, (D) => ({
|
|
3428
3428
|
name: `checkbox-${D.id}-append`,
|
|
3429
3429
|
fn: he(() => [
|
|
3430
|
-
|
|
3430
|
+
me(it, { item: D }, null, 8, ["item"])
|
|
3431
3431
|
])
|
|
3432
3432
|
}))
|
|
3433
3433
|
]), 1032, ["model-value", "options", "context"])
|
|
3434
3434
|
]),
|
|
3435
|
-
te("div",
|
|
3436
|
-
|
|
3437
|
-
"model-value":
|
|
3435
|
+
te("div", Xr, [
|
|
3436
|
+
me(Rn, {
|
|
3437
|
+
"model-value": d.value,
|
|
3438
3438
|
options: S.value,
|
|
3439
3439
|
context: H(a)("team.labels.restaurant"),
|
|
3440
3440
|
"onUpdate:modelValue": C
|
|
3441
3441
|
}, Fe({ _: 2 }, [
|
|
3442
|
-
pe(
|
|
3442
|
+
pe(L.value, (D) => ({
|
|
3443
3443
|
name: `checkbox-${D.id}-append`,
|
|
3444
3444
|
fn: he(() => [
|
|
3445
|
-
|
|
3445
|
+
me(it, { item: D }, null, 8, ["item"])
|
|
3446
3446
|
])
|
|
3447
3447
|
}))
|
|
3448
3448
|
]), 1032, ["model-value", "options", "context"])
|
|
3449
3449
|
]),
|
|
3450
3450
|
te("div", Yr, [
|
|
3451
|
-
|
|
3451
|
+
me(Vr, {
|
|
3452
3452
|
roles: H(h),
|
|
3453
3453
|
"model-value": v.value,
|
|
3454
|
-
"restaurant-ids":
|
|
3454
|
+
"restaurant-ids": d.value,
|
|
3455
3455
|
"onUpdate:modelValue": M
|
|
3456
3456
|
}, Fe({ _: 2 }, [
|
|
3457
|
-
pe(
|
|
3457
|
+
pe(y.value, (D) => ({
|
|
3458
3458
|
name: `checkbox-${D.id}-append`,
|
|
3459
3459
|
fn: he(() => [
|
|
3460
|
-
|
|
3460
|
+
me(it, { item: D }, null, 8, ["item"])
|
|
3461
3461
|
])
|
|
3462
3462
|
}))
|
|
3463
3463
|
]), 1032, ["roles", "model-value", "restaurant-ids"])
|
|
@@ -3466,6 +3466,6 @@ const Nr = { class: "flex flex-col gap-16" }, yr = {
|
|
|
3466
3466
|
}
|
|
3467
3467
|
});
|
|
3468
3468
|
export {
|
|
3469
|
-
|
|
3469
|
+
Kt as _,
|
|
3470
3470
|
tl as a
|
|
3471
3471
|
};
|