@feedmepos/mf-hrm-portal 2.0.15-dev.2 → 2.0.15-dev.4
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-_iGkRjav.js → AuditLogList-DnmeTc37.js} +4 -4
- package/dist/{EmployeeList-BsauFDHA.js → EmployeeList-DxlllTty.js} +43 -43
- package/dist/{Main-CWSLq8gH.js → Main-COZvNyhk.js} +4 -4
- package/dist/{Main-DWBJw_Ta.js → Main-CeFkxIhA.js} +765 -770
- package/dist/{Main-D0eoxqEG.js → Main-D1yqf9Yq.js} +13 -14
- package/dist/{PermissionSetList-CzFf90Bv.js → PermissionSetList-Ckc-VGme.js} +5 -5
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CBcnIfck.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-n4_wNZbg.js} +747 -750
- package/dist/{RoleList-CsdcFHQK.js → RoleList-BDbQX9of.js} +7 -7
- package/dist/{TeamMemberList-CI24SCZz.js → TeamMemberList-DJYxuPyN.js} +324 -323
- package/dist/{TimesheetList-eD8-rA_L.js → TimesheetList-CxehedOx.js} +6 -6
- package/dist/{app-DnT6yzx7.js → app-DEA0Bhzy.js} +2222 -1394
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-L-465Ow8.js → dayjs.min-D-rfdWhu.js} +1 -1
- package/dist/{employee-DGjXlPn1.js → employee-CFnP1VvM.js} +3 -3
- package/dist/{iteration-CAxWl04o.js → iteration-S7YxnyNB.js} +1 -1
- package/dist/{lodash-VfbpRiGW.js → lodash-BdeQh1LM.js} +1 -1
- package/dist/{rule-D6eh6FDn.js → rule-DbvJ1q_w.js} +284 -285
- package/dist/style.css +1 -1
- package/dist/{timesheet-B11NLk-Z.js → timesheet-CPZSm4Qs.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-BaDI6IZu.js → useAppStore-CJ6tnELc.js} +1 -1
- package/dist/{useLoading-B2CoUwmJ.js → useLoading-BuN7YL-v.js} +1 -1
- package/dist/{useReportPermissions-BfjLdcAd.js → useReportPermissions-D-GJuNg3.js} +3 -3
- package/package.json +1 -1
- package/dist/index-DOpSY75_.js +0 -827
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import { getCurrentInstance as xt, inject as $n, ref as Ue, shallowRef as Kn, computed as te, watch as St, onMounted as Xt, onUnmounted as An, defineComponent as Ne, h as Sn, createVNode as _e, Text as
|
|
1
|
+
import { getCurrentInstance as xt, inject as $n, ref as Ue, shallowRef as Kn, computed as te, watch as St, onMounted as Xt, onUnmounted as An, defineComponent as Ne, h as Sn, createVNode as _e, Text as Qn, Fragment as Ee, resolveComponent as Ze, createBlock as Se, openBlock as Y, withCtx as be, createElementVNode as ae, createElementBlock as se, toDisplayString as Ae, unref as B, renderList as he, renderSlot as ge, createCommentVNode as Oe, createTextVNode as zn, useSlots as qn, normalizeStyle as ct, normalizeClass as qe, toRef as zt, createSlots as Fe, nextTick as es, mergeModels as qt, useModel as ts } from "vue";
|
|
2
2
|
import { useI18n as _t, useCoreStore as ns } from "@feedmepos/mf-common";
|
|
3
3
|
import "@vue/devtools-api";
|
|
4
|
-
import { p as Dt, d as ss, v as as, w as Nt, x as rs, j as ls, $ as kt } from "./rule-
|
|
5
|
-
import { d as ut, g as os, b as is } from "./iteration-
|
|
6
|
-
import {
|
|
7
|
-
import { u as ds } from "./
|
|
8
|
-
import { u as fs } from "./useAppStore-BaDI6IZu.js";
|
|
4
|
+
import { p as Dt, d as ss, v as as, w as Nt, x as rs, j as ls, $ as kt } from "./rule-DbvJ1q_w.js";
|
|
5
|
+
import { d as ut, g as os, b as is } from "./iteration-S7YxnyNB.js";
|
|
6
|
+
import { u as cs, p as us, d as me, C as ms, A as Tt } from "./app-DEA0Bhzy.js";
|
|
7
|
+
import { u as ds } from "./useAppStore-CJ6tnELc.js";
|
|
9
8
|
/*!
|
|
10
9
|
* shared v10.0.5
|
|
11
10
|
* (c) 2024 kazuya kawaguchi
|
|
12
11
|
* Released under the MIT License.
|
|
13
12
|
*/
|
|
14
|
-
const en = typeof window < "u", Ve = (e, t = !1) => t ? Symbol.for(e) : Symbol(e),
|
|
13
|
+
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"), de = (e) => typeof e == "number" && isFinite(e), ps = (e) => Zt(e) === "[object Date]", dt = (e) => Zt(e) === "[object RegExp]", pt = (e) => $(e) && Object.keys(e).length === 0, fe = Object.assign, hs = Object.create, q = (e = null) => hs(e);
|
|
15
14
|
let tn;
|
|
16
15
|
const je = () => tn || (tn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : q());
|
|
17
16
|
function nn(e) {
|
|
@@ -21,8 +20,8 @@ const bs = Object.prototype.hasOwnProperty;
|
|
|
21
20
|
function ye(e, t) {
|
|
22
21
|
return bs.call(e, t);
|
|
23
22
|
}
|
|
24
|
-
const ue = Array.isArray, le = (e) => typeof e == "function", F = (e) => typeof e == "string", ce = (e) => typeof e == "boolean", K = (e) => e !== null && typeof e == "object",
|
|
25
|
-
function
|
|
23
|
+
const ue = Array.isArray, le = (e) => typeof e == "function", F = (e) => typeof e == "string", ce = (e) => typeof e == "boolean", K = (e) => e !== null && typeof e == "object", gs = (e) => K(e) && le(e.then) && le(e.catch), Dn = Object.prototype.toString, Zt = (e) => Dn.call(e), $ = (e) => Zt(e) === "[object Object]", vs = (e) => e == null ? "" : ue(e) || $(e) && e.toString === Dn ? JSON.stringify(e, null, 2) : String(e);
|
|
24
|
+
function Ht(e, t = "") {
|
|
26
25
|
return e.reduce((n, s, l) => l === 0 ? n + s : n + t + s, "");
|
|
27
26
|
}
|
|
28
27
|
function Is(e, t) {
|
|
@@ -40,13 +39,13 @@ function mt(e, t) {
|
|
|
40
39
|
});
|
|
41
40
|
}
|
|
42
41
|
}
|
|
43
|
-
function
|
|
42
|
+
function Es(e, t, n) {
|
|
44
43
|
return { line: e, column: t, offset: n };
|
|
45
44
|
}
|
|
46
45
|
function Mt(e, t, n) {
|
|
47
46
|
return { start: e, end: t };
|
|
48
47
|
}
|
|
49
|
-
const
|
|
48
|
+
const z = {
|
|
50
49
|
// tokenizer error codes
|
|
51
50
|
EXPECTED_TOKEN: 1,
|
|
52
51
|
INVALID_TOKEN_IN_PLACEHOLDER: 2,
|
|
@@ -63,20 +62,20 @@ const Q = {
|
|
|
63
62
|
UNEXPECTED_EMPTY_LINKED_MODIFIER: 12,
|
|
64
63
|
UNEXPECTED_EMPTY_LINKED_KEY: 13,
|
|
65
64
|
UNEXPECTED_LEXICAL_ANALYSIS: 14
|
|
66
|
-
},
|
|
65
|
+
}, ys = 17;
|
|
67
66
|
function ht(e, t, n = {}) {
|
|
68
67
|
const { domain: s, messages: l, args: a } = n, c = e, m = new SyntaxError(String(c));
|
|
69
68
|
return m.code = e, t && (m.location = t), m.domain = s, m;
|
|
70
69
|
}
|
|
71
|
-
function
|
|
70
|
+
function Ns(e) {
|
|
72
71
|
throw e;
|
|
73
72
|
}
|
|
74
|
-
const Te = " ",
|
|
75
|
-
`,
|
|
76
|
-
function
|
|
73
|
+
const Te = " ", ks = "\r", pe = `
|
|
74
|
+
`, Ts = "\u2028", Os = "\u2029";
|
|
75
|
+
function Ls(e) {
|
|
77
76
|
const t = e;
|
|
78
77
|
let n = 0, s = 1, l = 1, a = 0;
|
|
79
|
-
const c = (
|
|
78
|
+
const c = (g) => t[g] === ks && t[g + 1] === pe, m = (g) => t[g] === pe, u = (g) => t[g] === Os, p = (g) => t[g] === Ts, O = (g) => c(g) || m(g) || u(g) || p(g), R = () => n, y = () => s, P = () => l, V = () => a, L = (g) => c(g) || u(g) || p(g) ? pe : t[g], M = () => L(n), i = () => L(n + a);
|
|
80
79
|
function d() {
|
|
81
80
|
return a = 0, O(n) && (s++, l = 0), c(n) && n++, n++, l++, t[n];
|
|
82
81
|
}
|
|
@@ -86,17 +85,17 @@ function Cs(e) {
|
|
|
86
85
|
function _() {
|
|
87
86
|
n = 0, s = 1, l = 1, a = 0;
|
|
88
87
|
}
|
|
89
|
-
function w(
|
|
90
|
-
a =
|
|
88
|
+
function w(g = 0) {
|
|
89
|
+
a = g;
|
|
91
90
|
}
|
|
92
91
|
function S() {
|
|
93
|
-
const
|
|
94
|
-
for (;
|
|
92
|
+
const g = n + a;
|
|
93
|
+
for (; g !== n; )
|
|
95
94
|
d();
|
|
96
95
|
a = 0;
|
|
97
96
|
}
|
|
98
97
|
return {
|
|
99
|
-
index:
|
|
98
|
+
index: R,
|
|
100
99
|
line: y,
|
|
101
100
|
column: P,
|
|
102
101
|
peekOffset: V,
|
|
@@ -110,9 +109,9 @@ function Cs(e) {
|
|
|
110
109
|
skipToPeek: S
|
|
111
110
|
};
|
|
112
111
|
}
|
|
113
|
-
const Re = void 0,
|
|
114
|
-
function
|
|
115
|
-
const n = t.location !== !1, s =
|
|
112
|
+
const Re = void 0, Cs = ".", sn = "'", Rs = "tokenizer";
|
|
113
|
+
function As(e, t = {}) {
|
|
114
|
+
const n = t.location !== !1, s = Ls(e), l = () => s.index(), a = () => Es(s.line(), s.column(), s.index()), c = a(), m = l(), u = {
|
|
116
115
|
currentType: 13,
|
|
117
116
|
offset: m,
|
|
118
117
|
startLoc: c,
|
|
@@ -125,20 +124,20 @@ function Ss(e, t = {}) {
|
|
|
125
124
|
inLinked: !1,
|
|
126
125
|
text: ""
|
|
127
126
|
}, p = () => u, { onError: O } = t;
|
|
128
|
-
function
|
|
127
|
+
function R(r, o, b, ...U) {
|
|
129
128
|
const oe = p();
|
|
130
|
-
if (o.column +=
|
|
129
|
+
if (o.column += b, o.offset += b, O) {
|
|
131
130
|
const Z = n ? Mt(oe.startLoc, o) : null, f = ht(r, Z, {
|
|
132
|
-
domain:
|
|
131
|
+
domain: Rs,
|
|
133
132
|
args: U
|
|
134
133
|
});
|
|
135
134
|
O(f);
|
|
136
135
|
}
|
|
137
136
|
}
|
|
138
|
-
function y(r, o,
|
|
137
|
+
function y(r, o, b) {
|
|
139
138
|
r.endLoc = a(), r.currentType = o;
|
|
140
139
|
const U = { type: o };
|
|
141
|
-
return n && (U.loc = Mt(r.startLoc, r.endLoc)),
|
|
140
|
+
return n && (U.loc = Mt(r.startLoc, r.endLoc)), b != null && (U.value = b), U;
|
|
142
141
|
}
|
|
143
142
|
const P = (r) => y(
|
|
144
143
|
r,
|
|
@@ -146,7 +145,7 @@ function Ss(e, t = {}) {
|
|
|
146
145
|
/* TokenTypes.EOF */
|
|
147
146
|
);
|
|
148
147
|
function V(r, o) {
|
|
149
|
-
return r.currentChar() === o ? (r.next(), o) : (
|
|
148
|
+
return r.currentChar() === o ? (r.next(), o) : (R(z.EXPECTED_TOKEN, a(), 0, o), "");
|
|
150
149
|
}
|
|
151
150
|
function L(r) {
|
|
152
151
|
let o = "";
|
|
@@ -173,56 +172,56 @@ function Ss(e, t = {}) {
|
|
|
173
172
|
return o >= 48 && o <= 57;
|
|
174
173
|
}
|
|
175
174
|
function N(r, o) {
|
|
176
|
-
const { currentType:
|
|
177
|
-
if (
|
|
175
|
+
const { currentType: b } = o;
|
|
176
|
+
if (b !== 2)
|
|
178
177
|
return !1;
|
|
179
178
|
L(r);
|
|
180
179
|
const U = i(r.currentPeek());
|
|
181
180
|
return r.resetPeek(), U;
|
|
182
181
|
}
|
|
183
182
|
function _(r, o) {
|
|
184
|
-
const { currentType:
|
|
185
|
-
if (
|
|
183
|
+
const { currentType: b } = o;
|
|
184
|
+
if (b !== 2)
|
|
186
185
|
return !1;
|
|
187
186
|
L(r);
|
|
188
187
|
const U = r.currentPeek() === "-" ? r.peek() : r.currentPeek(), oe = d(U);
|
|
189
188
|
return r.resetPeek(), oe;
|
|
190
189
|
}
|
|
191
190
|
function w(r, o) {
|
|
192
|
-
const { currentType:
|
|
193
|
-
if (
|
|
191
|
+
const { currentType: b } = o;
|
|
192
|
+
if (b !== 2)
|
|
194
193
|
return !1;
|
|
195
194
|
L(r);
|
|
196
195
|
const U = r.currentPeek() === sn;
|
|
197
196
|
return r.resetPeek(), U;
|
|
198
197
|
}
|
|
199
198
|
function S(r, o) {
|
|
200
|
-
const { currentType:
|
|
201
|
-
if (
|
|
199
|
+
const { currentType: b } = o;
|
|
200
|
+
if (b !== 7)
|
|
202
201
|
return !1;
|
|
203
202
|
L(r);
|
|
204
203
|
const U = r.currentPeek() === ".";
|
|
205
204
|
return r.resetPeek(), U;
|
|
206
205
|
}
|
|
207
|
-
function
|
|
208
|
-
const { currentType:
|
|
209
|
-
if (
|
|
206
|
+
function g(r, o) {
|
|
207
|
+
const { currentType: b } = o;
|
|
208
|
+
if (b !== 8)
|
|
210
209
|
return !1;
|
|
211
210
|
L(r);
|
|
212
211
|
const U = i(r.currentPeek());
|
|
213
212
|
return r.resetPeek(), U;
|
|
214
213
|
}
|
|
215
214
|
function v(r, o) {
|
|
216
|
-
const { currentType:
|
|
217
|
-
if (!(
|
|
215
|
+
const { currentType: b } = o;
|
|
216
|
+
if (!(b === 7 || b === 11))
|
|
218
217
|
return !1;
|
|
219
218
|
L(r);
|
|
220
219
|
const U = r.currentPeek() === ":";
|
|
221
220
|
return r.resetPeek(), U;
|
|
222
221
|
}
|
|
223
222
|
function h(r, o) {
|
|
224
|
-
const { currentType:
|
|
225
|
-
if (
|
|
223
|
+
const { currentType: b } = o;
|
|
224
|
+
if (b !== 9)
|
|
226
225
|
return !1;
|
|
227
226
|
const U = () => {
|
|
228
227
|
const Z = r.currentPeek();
|
|
@@ -230,23 +229,23 @@ function Ss(e, t = {}) {
|
|
|
230
229
|
}, oe = U();
|
|
231
230
|
return r.resetPeek(), oe;
|
|
232
231
|
}
|
|
233
|
-
function
|
|
232
|
+
function E(r) {
|
|
234
233
|
L(r);
|
|
235
234
|
const o = r.currentPeek() === "|";
|
|
236
235
|
return r.resetPeek(), o;
|
|
237
236
|
}
|
|
238
237
|
function A(r, o = !0) {
|
|
239
|
-
const
|
|
238
|
+
const b = (oe = !1, Z = "") => {
|
|
240
239
|
const f = r.currentPeek();
|
|
241
|
-
return f === "{" || f === "@" || !f ? oe : f === "|" ? !(Z === Te || Z === pe) : f === Te ? (r.peek(),
|
|
242
|
-
}, U =
|
|
240
|
+
return f === "{" || f === "@" || !f ? oe : f === "|" ? !(Z === Te || Z === pe) : f === Te ? (r.peek(), b(!0, Te)) : f === pe ? (r.peek(), b(!0, pe)) : !0;
|
|
241
|
+
}, U = b();
|
|
243
242
|
return o && r.resetPeek(), U;
|
|
244
243
|
}
|
|
245
|
-
function
|
|
246
|
-
const
|
|
247
|
-
return
|
|
244
|
+
function C(r, o) {
|
|
245
|
+
const b = r.currentChar();
|
|
246
|
+
return b === Re ? Re : o(b) ? (r.next(), b) : null;
|
|
248
247
|
}
|
|
249
|
-
function
|
|
248
|
+
function x(r) {
|
|
250
249
|
const o = r.charCodeAt(0);
|
|
251
250
|
return o >= 97 && o <= 122 || // a-z
|
|
252
251
|
o >= 65 && o <= 90 || // A-Z
|
|
@@ -254,8 +253,8 @@ function Ss(e, t = {}) {
|
|
|
254
253
|
o === 95 || // _
|
|
255
254
|
o === 36;
|
|
256
255
|
}
|
|
257
|
-
function
|
|
258
|
-
return
|
|
256
|
+
function W(r) {
|
|
257
|
+
return C(r, x);
|
|
259
258
|
}
|
|
260
259
|
function D(r) {
|
|
261
260
|
const o = r.charCodeAt(0);
|
|
@@ -267,73 +266,73 @@ function Ss(e, t = {}) {
|
|
|
267
266
|
o === 45;
|
|
268
267
|
}
|
|
269
268
|
function T(r) {
|
|
270
|
-
return
|
|
269
|
+
return C(r, D);
|
|
271
270
|
}
|
|
272
271
|
function k(r) {
|
|
273
272
|
const o = r.charCodeAt(0);
|
|
274
273
|
return o >= 48 && o <= 57;
|
|
275
274
|
}
|
|
276
|
-
function
|
|
277
|
-
return
|
|
275
|
+
function H(r) {
|
|
276
|
+
return C(r, k);
|
|
278
277
|
}
|
|
279
|
-
function
|
|
278
|
+
function G(r) {
|
|
280
279
|
const o = r.charCodeAt(0);
|
|
281
280
|
return o >= 48 && o <= 57 || // 0-9
|
|
282
281
|
o >= 65 && o <= 70 || // A-F
|
|
283
282
|
o >= 97 && o <= 102;
|
|
284
283
|
}
|
|
285
284
|
function j(r) {
|
|
286
|
-
return
|
|
285
|
+
return C(r, G);
|
|
287
286
|
}
|
|
288
287
|
function ne(r) {
|
|
289
|
-
let o = "",
|
|
290
|
-
for (; o =
|
|
291
|
-
|
|
292
|
-
return
|
|
288
|
+
let o = "", b = "";
|
|
289
|
+
for (; o = H(r); )
|
|
290
|
+
b += o;
|
|
291
|
+
return b;
|
|
293
292
|
}
|
|
294
293
|
function J(r) {
|
|
295
294
|
let o = "";
|
|
296
295
|
for (; ; ) {
|
|
297
|
-
const
|
|
298
|
-
if (
|
|
296
|
+
const b = r.currentChar();
|
|
297
|
+
if (b === "{" || b === "}" || b === "@" || b === "|" || !b)
|
|
299
298
|
break;
|
|
300
|
-
if (
|
|
299
|
+
if (b === Te || b === pe)
|
|
301
300
|
if (A(r))
|
|
302
|
-
o +=
|
|
301
|
+
o += b, r.next();
|
|
303
302
|
else {
|
|
304
|
-
if (
|
|
303
|
+
if (E(r))
|
|
305
304
|
break;
|
|
306
|
-
o +=
|
|
305
|
+
o += b, r.next();
|
|
307
306
|
}
|
|
308
307
|
else
|
|
309
|
-
o +=
|
|
308
|
+
o += b, r.next();
|
|
310
309
|
}
|
|
311
310
|
return o;
|
|
312
311
|
}
|
|
313
312
|
function X(r) {
|
|
314
313
|
M(r);
|
|
315
|
-
let o = "",
|
|
314
|
+
let o = "", b = "";
|
|
316
315
|
for (; o = T(r); )
|
|
317
|
-
|
|
318
|
-
return r.currentChar() === Re &&
|
|
316
|
+
b += o;
|
|
317
|
+
return r.currentChar() === Re && R(z.UNTERMINATED_CLOSING_BRACE, a(), 0), b;
|
|
319
318
|
}
|
|
320
|
-
function
|
|
319
|
+
function Q(r) {
|
|
321
320
|
M(r);
|
|
322
321
|
let o = "";
|
|
323
|
-
return r.currentChar() === "-" ? (r.next(), o += `-${ne(r)}`) : o += ne(r), r.currentChar() === Re &&
|
|
322
|
+
return r.currentChar() === "-" ? (r.next(), o += `-${ne(r)}`) : o += ne(r), r.currentChar() === Re && R(z.UNTERMINATED_CLOSING_BRACE, a(), 0), o;
|
|
324
323
|
}
|
|
325
324
|
function we(r) {
|
|
326
325
|
return r !== sn && r !== pe;
|
|
327
326
|
}
|
|
328
327
|
function re(r) {
|
|
329
328
|
M(r), V(r, "'");
|
|
330
|
-
let o = "",
|
|
331
|
-
for (; o =
|
|
332
|
-
o === "\\" ?
|
|
329
|
+
let o = "", b = "";
|
|
330
|
+
for (; o = C(r, we); )
|
|
331
|
+
o === "\\" ? b += Ie(r) : b += o;
|
|
333
332
|
const U = r.currentChar();
|
|
334
|
-
return U === pe || U === Re ? (
|
|
333
|
+
return U === pe || U === Re ? (R(z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), U === pe && (r.next(), V(r, "'")), b) : (V(r, "'"), b);
|
|
335
334
|
}
|
|
336
|
-
function
|
|
335
|
+
function Ie(r) {
|
|
337
336
|
const o = r.currentChar();
|
|
338
337
|
switch (o) {
|
|
339
338
|
case "\\":
|
|
@@ -344,16 +343,16 @@ function Ss(e, t = {}) {
|
|
|
344
343
|
case "U":
|
|
345
344
|
return Je(r, o, 6);
|
|
346
345
|
default:
|
|
347
|
-
return
|
|
346
|
+
return R(z.UNKNOWN_ESCAPE_SEQUENCE, a(), 0, o), "";
|
|
348
347
|
}
|
|
349
348
|
}
|
|
350
|
-
function Je(r, o,
|
|
349
|
+
function Je(r, o, b) {
|
|
351
350
|
V(r, o);
|
|
352
351
|
let U = "";
|
|
353
|
-
for (let oe = 0; oe <
|
|
352
|
+
for (let oe = 0; oe < b; oe++) {
|
|
354
353
|
const Z = j(r);
|
|
355
354
|
if (!Z) {
|
|
356
|
-
|
|
355
|
+
R(z.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${U}${r.currentChar()}`);
|
|
357
356
|
break;
|
|
358
357
|
}
|
|
359
358
|
U += Z;
|
|
@@ -365,21 +364,21 @@ function Ss(e, t = {}) {
|
|
|
365
364
|
}
|
|
366
365
|
function vt(r) {
|
|
367
366
|
M(r);
|
|
368
|
-
let o = "",
|
|
369
|
-
for (; o =
|
|
370
|
-
|
|
371
|
-
return
|
|
372
|
-
}
|
|
373
|
-
function Et(r) {
|
|
374
|
-
let o = "", g = "";
|
|
375
|
-
for (; o = G(r); )
|
|
376
|
-
g += o;
|
|
377
|
-
return g;
|
|
367
|
+
let o = "", b = "";
|
|
368
|
+
for (; o = C(r, $e); )
|
|
369
|
+
b += o;
|
|
370
|
+
return b;
|
|
378
371
|
}
|
|
379
372
|
function It(r) {
|
|
380
|
-
|
|
373
|
+
let o = "", b = "";
|
|
374
|
+
for (; o = W(r); )
|
|
375
|
+
b += o;
|
|
376
|
+
return b;
|
|
377
|
+
}
|
|
378
|
+
function Et(r) {
|
|
379
|
+
const o = (b) => {
|
|
381
380
|
const U = r.currentChar();
|
|
382
|
-
return U === "{" || U === "@" || U === "|" || U === "(" || U === ")" || !U || U === Te ?
|
|
381
|
+
return U === "{" || U === "@" || U === "|" || U === "(" || U === ")" || !U || U === Te ? b : (b += U, r.next(), o(b));
|
|
383
382
|
};
|
|
384
383
|
return o("");
|
|
385
384
|
}
|
|
@@ -392,49 +391,49 @@ function Ss(e, t = {}) {
|
|
|
392
391
|
);
|
|
393
392
|
return M(r), o;
|
|
394
393
|
}
|
|
395
|
-
function
|
|
396
|
-
let
|
|
394
|
+
function We(r, o) {
|
|
395
|
+
let b = null;
|
|
397
396
|
switch (r.currentChar()) {
|
|
398
397
|
case "{":
|
|
399
|
-
return o.braceNest >= 1 &&
|
|
398
|
+
return o.braceNest >= 1 && R(z.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), r.next(), b = y(
|
|
400
399
|
o,
|
|
401
400
|
2,
|
|
402
401
|
"{"
|
|
403
402
|
/* TokenChars.BraceLeft */
|
|
404
|
-
), M(r), o.braceNest++,
|
|
403
|
+
), M(r), o.braceNest++, b;
|
|
405
404
|
case "}":
|
|
406
|
-
return o.braceNest > 0 && o.currentType === 2 &&
|
|
405
|
+
return o.braceNest > 0 && o.currentType === 2 && R(z.EMPTY_PLACEHOLDER, a(), 0), r.next(), b = y(
|
|
407
406
|
o,
|
|
408
407
|
3,
|
|
409
408
|
"}"
|
|
410
409
|
/* TokenChars.BraceRight */
|
|
411
|
-
), o.braceNest--, o.braceNest > 0 && M(r), o.inLinked && o.braceNest === 0 && (o.inLinked = !1),
|
|
410
|
+
), o.braceNest--, o.braceNest > 0 && M(r), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), b;
|
|
412
411
|
case "@":
|
|
413
|
-
return o.braceNest > 0 &&
|
|
412
|
+
return o.braceNest > 0 && R(z.UNTERMINATED_CLOSING_BRACE, a(), 0), b = Ge(r, o) || P(o), o.braceNest = 0, b;
|
|
414
413
|
default: {
|
|
415
414
|
let oe = !0, Z = !0, f = !0;
|
|
416
|
-
if (
|
|
417
|
-
return o.braceNest > 0 &&
|
|
415
|
+
if (E(r))
|
|
416
|
+
return o.braceNest > 0 && R(z.UNTERMINATED_CLOSING_BRACE, a(), 0), b = y(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, b;
|
|
418
417
|
if (o.braceNest > 0 && (o.currentType === 4 || o.currentType === 5 || o.currentType === 6))
|
|
419
|
-
return
|
|
418
|
+
return R(z.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0, Qe(r, o);
|
|
420
419
|
if (oe = N(r, o))
|
|
421
|
-
return
|
|
420
|
+
return b = y(o, 4, X(r)), M(r), b;
|
|
422
421
|
if (Z = _(r, o))
|
|
423
|
-
return
|
|
422
|
+
return b = y(o, 5, Q(r)), M(r), b;
|
|
424
423
|
if (f = w(r, o))
|
|
425
|
-
return
|
|
424
|
+
return b = y(o, 6, re(r)), M(r), b;
|
|
426
425
|
if (!oe && !Z && !f)
|
|
427
|
-
return
|
|
426
|
+
return b = y(o, 12, vt(r)), R(z.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, b.value), M(r), b;
|
|
428
427
|
break;
|
|
429
428
|
}
|
|
430
429
|
}
|
|
431
|
-
return
|
|
430
|
+
return b;
|
|
432
431
|
}
|
|
433
|
-
function
|
|
434
|
-
const { currentType:
|
|
432
|
+
function Ge(r, o) {
|
|
433
|
+
const { currentType: b } = o;
|
|
435
434
|
let U = null;
|
|
436
435
|
const oe = r.currentChar();
|
|
437
|
-
switch ((
|
|
436
|
+
switch ((b === 7 || b === 8 || b === 11 || b === 9) && (oe === pe || oe === Te) && R(z.INVALID_LINKED_FORMAT, a(), 0), oe) {
|
|
438
437
|
case "@":
|
|
439
438
|
return r.next(), U = y(
|
|
440
439
|
o,
|
|
@@ -457,47 +456,47 @@ function Ss(e, t = {}) {
|
|
|
457
456
|
/* TokenChars.LinkedDelimiter */
|
|
458
457
|
);
|
|
459
458
|
default:
|
|
460
|
-
return
|
|
459
|
+
return E(r) ? (U = y(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, U) : S(r, o) || v(r, o) ? (M(r), Ge(r, o)) : g(r, o) ? (M(r), y(o, 11, It(r))) : h(r, o) ? (M(r), oe === "{" ? We(r, o) || U : y(o, 10, Et(r))) : (b === 7 && R(z.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, Qe(r, o));
|
|
461
460
|
}
|
|
462
461
|
}
|
|
463
|
-
function
|
|
464
|
-
let
|
|
462
|
+
function Qe(r, o) {
|
|
463
|
+
let b = {
|
|
465
464
|
type: 13
|
|
466
465
|
/* TokenTypes.EOF */
|
|
467
466
|
};
|
|
468
467
|
if (o.braceNest > 0)
|
|
469
|
-
return Ge(r, o) || P(o);
|
|
470
|
-
if (o.inLinked)
|
|
471
468
|
return We(r, o) || P(o);
|
|
469
|
+
if (o.inLinked)
|
|
470
|
+
return Ge(r, o) || P(o);
|
|
472
471
|
switch (r.currentChar()) {
|
|
473
472
|
case "{":
|
|
474
|
-
return
|
|
473
|
+
return We(r, o) || P(o);
|
|
475
474
|
case "}":
|
|
476
|
-
return
|
|
475
|
+
return R(z.UNBALANCED_CLOSING_BRACE, a(), 0), r.next(), y(
|
|
477
476
|
o,
|
|
478
477
|
3,
|
|
479
478
|
"}"
|
|
480
479
|
/* TokenChars.BraceRight */
|
|
481
480
|
);
|
|
482
481
|
case "@":
|
|
483
|
-
return
|
|
482
|
+
return Ge(r, o) || P(o);
|
|
484
483
|
default: {
|
|
485
|
-
if (
|
|
486
|
-
return
|
|
484
|
+
if (E(r))
|
|
485
|
+
return b = y(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, b;
|
|
487
486
|
if (A(r))
|
|
488
487
|
return y(o, 0, J(r));
|
|
489
488
|
break;
|
|
490
489
|
}
|
|
491
490
|
}
|
|
492
|
-
return
|
|
491
|
+
return b;
|
|
493
492
|
}
|
|
494
493
|
function yt() {
|
|
495
|
-
const { currentType: r, offset: o, startLoc:
|
|
496
|
-
return u.lastType = r, u.lastOffset = o, u.lastStartLoc =
|
|
494
|
+
const { currentType: r, offset: o, startLoc: b, endLoc: U } = u;
|
|
495
|
+
return u.lastType = r, u.lastOffset = o, u.lastStartLoc = b, u.lastEndLoc = U, u.offset = l(), u.startLoc = a(), s.currentChar() === Re ? y(
|
|
497
496
|
u,
|
|
498
497
|
13
|
|
499
498
|
/* TokenTypes.EOF */
|
|
500
|
-
) :
|
|
499
|
+
) : Qe(s, u);
|
|
501
500
|
}
|
|
502
501
|
return {
|
|
503
502
|
nextToken: yt,
|
|
@@ -506,8 +505,8 @@ function Ss(e, t = {}) {
|
|
|
506
505
|
context: p
|
|
507
506
|
};
|
|
508
507
|
}
|
|
509
|
-
const
|
|
510
|
-
function
|
|
508
|
+
const Ss = "parser", Ds = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
|
|
509
|
+
function Ms(e, t, n) {
|
|
511
510
|
switch (e) {
|
|
512
511
|
case "\\\\":
|
|
513
512
|
return "\\";
|
|
@@ -519,13 +518,13 @@ function ws(e, t, n) {
|
|
|
519
518
|
}
|
|
520
519
|
}
|
|
521
520
|
}
|
|
522
|
-
function
|
|
521
|
+
function ws(e = {}) {
|
|
523
522
|
const t = e.location !== !1, { onError: n } = e;
|
|
524
523
|
function s(i, d, N, _, ...w) {
|
|
525
524
|
const S = i.currentPosition();
|
|
526
525
|
if (S.offset += _, S.column += _, n) {
|
|
527
|
-
const
|
|
528
|
-
domain:
|
|
526
|
+
const g = t ? Mt(N, S) : null, v = ht(d, g, {
|
|
527
|
+
domain: Ss,
|
|
529
528
|
args: w
|
|
530
529
|
});
|
|
531
530
|
n(v);
|
|
@@ -552,18 +551,18 @@ function Ps(e = {}) {
|
|
|
552
551
|
}
|
|
553
552
|
function p(i, d) {
|
|
554
553
|
const N = i.context(), { lastOffset: _, lastStartLoc: w } = N, S = l(9, _, w);
|
|
555
|
-
return S.value = d.replace(
|
|
554
|
+
return S.value = d.replace(Ds, Ms), i.nextToken(), a(S, i.currentOffset(), i.currentPosition()), S;
|
|
556
555
|
}
|
|
557
556
|
function O(i) {
|
|
558
557
|
const d = i.nextToken(), N = i.context(), { lastOffset: _, lastStartLoc: w } = N, S = l(8, _, w);
|
|
559
|
-
return d.type !== 11 ? (s(i,
|
|
558
|
+
return d.type !== 11 ? (s(i, z.UNEXPECTED_EMPTY_LINKED_MODIFIER, N.lastStartLoc, 0), S.value = "", a(S, _, w), {
|
|
560
559
|
nextConsumeToken: d,
|
|
561
560
|
node: S
|
|
562
|
-
}) : (d.value == null && s(i,
|
|
561
|
+
}) : (d.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, N.lastStartLoc, 0, ke(d)), S.value = d.value || "", a(S, i.currentOffset(), i.currentPosition()), {
|
|
563
562
|
node: S
|
|
564
563
|
});
|
|
565
564
|
}
|
|
566
|
-
function
|
|
565
|
+
function R(i, d) {
|
|
567
566
|
const N = i.context(), _ = l(7, N.offset, N.startLoc);
|
|
568
567
|
return _.value = d, a(_, i.currentOffset(), i.currentPosition()), _;
|
|
569
568
|
}
|
|
@@ -574,21 +573,21 @@ function Ps(e = {}) {
|
|
|
574
573
|
const w = O(i);
|
|
575
574
|
N.modifier = w.node, _ = w.nextConsumeToken || i.nextToken();
|
|
576
575
|
}
|
|
577
|
-
switch (_.type !== 9 && s(i,
|
|
576
|
+
switch (_.type !== 9 && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ke(_)), _ = i.nextToken(), _.type === 2 && (_ = i.nextToken()), _.type) {
|
|
578
577
|
case 10:
|
|
579
|
-
_.value == null && s(i,
|
|
578
|
+
_.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ke(_)), N.key = R(i, _.value || "");
|
|
580
579
|
break;
|
|
581
580
|
case 4:
|
|
582
|
-
_.value == null && s(i,
|
|
581
|
+
_.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ke(_)), N.key = u(i, _.value || "");
|
|
583
582
|
break;
|
|
584
583
|
case 5:
|
|
585
|
-
_.value == null && s(i,
|
|
584
|
+
_.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ke(_)), N.key = m(i, _.value || "");
|
|
586
585
|
break;
|
|
587
586
|
case 6:
|
|
588
|
-
_.value == null && s(i,
|
|
587
|
+
_.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ke(_)), N.key = p(i, _.value || "");
|
|
589
588
|
break;
|
|
590
589
|
default: {
|
|
591
|
-
s(i,
|
|
590
|
+
s(i, z.UNEXPECTED_EMPTY_LINKED_KEY, d.lastStartLoc, 0);
|
|
592
591
|
const w = i.context(), S = l(7, w.offset, w.startLoc);
|
|
593
592
|
return S.value = "", a(S, w.offset, w.startLoc), N.key = S, a(N, w.offset, w.startLoc), {
|
|
594
593
|
nextConsumeToken: _,
|
|
@@ -608,45 +607,45 @@ function Ps(e = {}) {
|
|
|
608
607
|
const h = S || i.nextToken();
|
|
609
608
|
switch (S = null, h.type) {
|
|
610
609
|
case 0:
|
|
611
|
-
h.value == null && s(i,
|
|
610
|
+
h.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ke(h)), w.items.push(c(i, h.value || ""));
|
|
612
611
|
break;
|
|
613
612
|
case 5:
|
|
614
|
-
h.value == null && s(i,
|
|
613
|
+
h.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ke(h)), w.items.push(m(i, h.value || ""));
|
|
615
614
|
break;
|
|
616
615
|
case 4:
|
|
617
|
-
h.value == null && s(i,
|
|
616
|
+
h.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ke(h)), w.items.push(u(i, h.value || ""));
|
|
618
617
|
break;
|
|
619
618
|
case 6:
|
|
620
|
-
h.value == null && s(i,
|
|
619
|
+
h.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ke(h)), w.items.push(p(i, h.value || ""));
|
|
621
620
|
break;
|
|
622
621
|
case 7: {
|
|
623
|
-
const
|
|
624
|
-
w.items.push(
|
|
622
|
+
const E = y(i);
|
|
623
|
+
w.items.push(E.node), S = E.nextConsumeToken || null;
|
|
625
624
|
break;
|
|
626
625
|
}
|
|
627
626
|
}
|
|
628
627
|
} while (d.currentType !== 13 && d.currentType !== 1);
|
|
629
|
-
const
|
|
630
|
-
return a(w,
|
|
628
|
+
const g = d.currentType === 1 ? d.lastOffset : i.currentOffset(), v = d.currentType === 1 ? d.lastEndLoc : i.currentPosition();
|
|
629
|
+
return a(w, g, v), w;
|
|
631
630
|
}
|
|
632
631
|
function V(i, d, N, _) {
|
|
633
632
|
const w = i.context();
|
|
634
633
|
let S = _.items.length === 0;
|
|
635
|
-
const
|
|
636
|
-
|
|
634
|
+
const g = l(1, d, N);
|
|
635
|
+
g.cases = [], g.cases.push(_);
|
|
637
636
|
do {
|
|
638
637
|
const v = P(i);
|
|
639
|
-
S || (S = v.items.length === 0),
|
|
638
|
+
S || (S = v.items.length === 0), g.cases.push(v);
|
|
640
639
|
} while (w.currentType !== 13);
|
|
641
|
-
return S && s(i,
|
|
640
|
+
return S && s(i, z.MUST_HAVE_MESSAGES_IN_PLURAL, N, 0), a(g, i.currentOffset(), i.currentPosition()), g;
|
|
642
641
|
}
|
|
643
642
|
function L(i) {
|
|
644
643
|
const d = i.context(), { offset: N, startLoc: _ } = d, w = P(i);
|
|
645
644
|
return d.currentType === 13 ? w : V(i, N, _, w);
|
|
646
645
|
}
|
|
647
646
|
function M(i) {
|
|
648
|
-
const d =
|
|
649
|
-
return t && _.loc && (_.loc.source = i), _.body = L(d), e.onCacheKey && (_.cacheKey = e.onCacheKey(i)), N.currentType !== 13 && s(d,
|
|
647
|
+
const d = As(i, fe({}, e)), N = d.context(), _ = l(0, N.offset, N.startLoc);
|
|
648
|
+
return t && _.loc && (_.loc.source = i), _.body = L(d), e.onCacheKey && (_.cacheKey = e.onCacheKey(i)), N.currentType !== 13 && s(d, z.UNEXPECTED_LEXICAL_ANALYSIS, N.lastStartLoc, 0, i[N.offset] || ""), a(_, d.currentOffset(), d.currentPosition()), _;
|
|
650
649
|
}
|
|
651
650
|
return { parse: M };
|
|
652
651
|
}
|
|
@@ -656,7 +655,7 @@ function ke(e) {
|
|
|
656
655
|
const t = (e.value || "").replace(/\r?\n/gu, "\\n");
|
|
657
656
|
return t.length > 10 ? t.slice(0, 9) + "…" : t;
|
|
658
657
|
}
|
|
659
|
-
function
|
|
658
|
+
function Ps(e, t = {}) {
|
|
660
659
|
const n = {
|
|
661
660
|
ast: e,
|
|
662
661
|
helpers: /* @__PURE__ */ new Set()
|
|
@@ -665,9 +664,9 @@ function Fs(e, t = {}) {
|
|
|
665
664
|
}
|
|
666
665
|
function an(e, t) {
|
|
667
666
|
for (let n = 0; n < e.length; n++)
|
|
668
|
-
|
|
667
|
+
Yt(e[n], t);
|
|
669
668
|
}
|
|
670
|
-
function
|
|
669
|
+
function Yt(e, t) {
|
|
671
670
|
switch (e.type) {
|
|
672
671
|
case 1:
|
|
673
672
|
an(e.cases, t), t.helper(
|
|
@@ -679,7 +678,7 @@ function Ht(e, t) {
|
|
|
679
678
|
an(e.items, t);
|
|
680
679
|
break;
|
|
681
680
|
case 6: {
|
|
682
|
-
|
|
681
|
+
Yt(e.key, t), t.helper(
|
|
683
682
|
"linked"
|
|
684
683
|
/* HelperNameMap.LINKED */
|
|
685
684
|
), t.helper(
|
|
@@ -708,16 +707,16 @@ function Ht(e, t) {
|
|
|
708
707
|
break;
|
|
709
708
|
}
|
|
710
709
|
}
|
|
711
|
-
function
|
|
712
|
-
const n =
|
|
710
|
+
function Fs(e, t = {}) {
|
|
711
|
+
const n = Ps(e);
|
|
713
712
|
n.helper(
|
|
714
713
|
"normalize"
|
|
715
714
|
/* HelperNameMap.NORMALIZE */
|
|
716
|
-
), e.body &&
|
|
715
|
+
), e.body && Yt(e.body, n);
|
|
717
716
|
const s = n.context();
|
|
718
717
|
e.helpers = Array.from(s.helpers);
|
|
719
718
|
}
|
|
720
|
-
function
|
|
719
|
+
function js(e) {
|
|
721
720
|
const t = e.body;
|
|
722
721
|
return t.type === 2 ? rn(t) : t.cases.forEach((n) => rn(n)), e;
|
|
723
722
|
}
|
|
@@ -734,7 +733,7 @@ function rn(e) {
|
|
|
734
733
|
t.push(s.value);
|
|
735
734
|
}
|
|
736
735
|
if (t.length === e.items.length) {
|
|
737
|
-
e.static =
|
|
736
|
+
e.static = Ht(t);
|
|
738
737
|
for (let n = 0; n < e.items.length; n++) {
|
|
739
738
|
const s = e.items[n];
|
|
740
739
|
(s.type === 3 || s.type === 9) && delete s.value;
|
|
@@ -789,7 +788,7 @@ function Xe(e) {
|
|
|
789
788
|
}
|
|
790
789
|
delete e.type;
|
|
791
790
|
}
|
|
792
|
-
function
|
|
791
|
+
function Us(e, t) {
|
|
793
792
|
const { filename: n, breakLineCode: s, needIndent: l } = t, a = t.location !== !1, c = {
|
|
794
793
|
filename: n,
|
|
795
794
|
code: "",
|
|
@@ -814,7 +813,7 @@ function Vs(e, t) {
|
|
|
814
813
|
const M = ++c.indentLevel;
|
|
815
814
|
L && p(M);
|
|
816
815
|
}
|
|
817
|
-
function
|
|
816
|
+
function R(L = !0) {
|
|
818
817
|
const M = --c.indentLevel;
|
|
819
818
|
L && p(M);
|
|
820
819
|
}
|
|
@@ -825,18 +824,18 @@ function Vs(e, t) {
|
|
|
825
824
|
context: m,
|
|
826
825
|
push: u,
|
|
827
826
|
indent: O,
|
|
828
|
-
deindent:
|
|
827
|
+
deindent: R,
|
|
829
828
|
newline: y,
|
|
830
829
|
helper: (L) => `_${L}`,
|
|
831
830
|
needIndent: () => c.needIndent
|
|
832
831
|
};
|
|
833
832
|
}
|
|
834
|
-
function
|
|
833
|
+
function Vs(e, t) {
|
|
835
834
|
const { helper: n } = e;
|
|
836
835
|
e.push(`${n(
|
|
837
836
|
"linked"
|
|
838
837
|
/* HelperNameMap.LINKED */
|
|
839
|
-
)}(`),
|
|
838
|
+
)}(`), He(e, t.key), t.modifier ? (e.push(", "), He(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
|
|
840
839
|
}
|
|
841
840
|
function Ws(e, t) {
|
|
842
841
|
const { helper: n, needIndent: s } = e;
|
|
@@ -845,11 +844,11 @@ function Ws(e, t) {
|
|
|
845
844
|
/* HelperNameMap.NORMALIZE */
|
|
846
845
|
)}([`), e.indent(s());
|
|
847
846
|
const l = t.items.length;
|
|
848
|
-
for (let a = 0; a < l && (
|
|
847
|
+
for (let a = 0; a < l && (He(e, t.items[a]), a !== l - 1); a++)
|
|
849
848
|
e.push(", ");
|
|
850
849
|
e.deindent(s()), e.push("])");
|
|
851
850
|
}
|
|
852
|
-
function
|
|
851
|
+
function Gs(e, t) {
|
|
853
852
|
const { helper: n, needIndent: s } = e;
|
|
854
853
|
if (t.cases.length > 1) {
|
|
855
854
|
e.push(`${n(
|
|
@@ -857,28 +856,28 @@ function xs(e, t) {
|
|
|
857
856
|
/* HelperNameMap.PLURAL */
|
|
858
857
|
)}([`), e.indent(s());
|
|
859
858
|
const l = t.cases.length;
|
|
860
|
-
for (let a = 0; a < l && (
|
|
859
|
+
for (let a = 0; a < l && (He(e, t.cases[a]), a !== l - 1); a++)
|
|
861
860
|
e.push(", ");
|
|
862
861
|
e.deindent(s()), e.push("])");
|
|
863
862
|
}
|
|
864
863
|
}
|
|
865
|
-
function
|
|
866
|
-
t.body ?
|
|
864
|
+
function xs(e, t) {
|
|
865
|
+
t.body ? He(e, t.body) : e.push("null");
|
|
867
866
|
}
|
|
868
|
-
function
|
|
867
|
+
function He(e, t) {
|
|
869
868
|
const { helper: n } = e;
|
|
870
869
|
switch (t.type) {
|
|
871
870
|
case 0:
|
|
872
|
-
|
|
871
|
+
xs(e, t);
|
|
873
872
|
break;
|
|
874
873
|
case 1:
|
|
875
|
-
|
|
874
|
+
Gs(e, t);
|
|
876
875
|
break;
|
|
877
876
|
case 2:
|
|
878
877
|
Ws(e, t);
|
|
879
878
|
break;
|
|
880
879
|
case 6:
|
|
881
|
-
|
|
880
|
+
Vs(e, t);
|
|
882
881
|
break;
|
|
883
882
|
case 8:
|
|
884
883
|
e.push(JSON.stringify(t.value), t);
|
|
@@ -912,16 +911,16 @@ function Be(e, t) {
|
|
|
912
911
|
break;
|
|
913
912
|
}
|
|
914
913
|
}
|
|
915
|
-
const
|
|
914
|
+
const Xs = (e, t = {}) => {
|
|
916
915
|
const n = F(t.mode) ? t.mode : "normal", s = F(t.filename) ? t.filename : "message.intl";
|
|
917
916
|
t.sourceMap;
|
|
918
917
|
const l = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
|
|
919
|
-
`, a = t.needIndent ? t.needIndent : n !== "arrow", c = e.helpers || [], m =
|
|
918
|
+
`, a = t.needIndent ? t.needIndent : n !== "arrow", c = e.helpers || [], m = Us(e, {
|
|
920
919
|
filename: s,
|
|
921
920
|
breakLineCode: l,
|
|
922
921
|
needIndent: a
|
|
923
922
|
});
|
|
924
|
-
m.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), m.indent(a), c.length > 0 && (m.push(`const { ${
|
|
923
|
+
m.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), m.indent(a), c.length > 0 && (m.push(`const { ${Ht(c.map((O) => `${O}: _${O}`), ", ")} } = ctx`), m.newline()), m.push("return "), He(m, e), m.deindent(a), m.push("}"), delete e.helpers;
|
|
925
924
|
const { code: u, map: p } = m.context();
|
|
926
925
|
return {
|
|
927
926
|
ast: e,
|
|
@@ -930,25 +929,25 @@ const Zs = (e, t = {}) => {
|
|
|
930
929
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
931
930
|
};
|
|
932
931
|
};
|
|
933
|
-
function
|
|
934
|
-
const n = fe({}, t), s = !!n.jit, l = !!n.minify, a = n.optimize == null ? !0 : n.optimize, m =
|
|
935
|
-
return s ? (a &&
|
|
932
|
+
function Zs(e, t = {}) {
|
|
933
|
+
const n = fe({}, t), s = !!n.jit, l = !!n.minify, a = n.optimize == null ? !0 : n.optimize, m = ws(n).parse(e);
|
|
934
|
+
return s ? (a && js(m), l && Xe(m), { ast: m, code: "" }) : (Fs(m, n), Xs(m, n));
|
|
936
935
|
}
|
|
937
936
|
var Hs = { env: { NODE_ENV: "production" } };
|
|
938
937
|
function Ys() {
|
|
939
938
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (je().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (je().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
940
939
|
}
|
|
941
940
|
function Ot(e) {
|
|
942
|
-
return (n) =>
|
|
941
|
+
return (n) => Bs(n, e);
|
|
943
942
|
}
|
|
944
|
-
function
|
|
945
|
-
const n =
|
|
943
|
+
function Bs(e, t) {
|
|
944
|
+
const n = $s(t);
|
|
946
945
|
if (n == null)
|
|
947
946
|
throw et(
|
|
948
947
|
0
|
|
949
948
|
/* NodeTypes.Resource */
|
|
950
949
|
);
|
|
951
|
-
if (
|
|
950
|
+
if (Bt(n) === 1) {
|
|
952
951
|
const a = Qs(n);
|
|
953
952
|
return e.plural(a.reduce((c, m) => [
|
|
954
953
|
...c,
|
|
@@ -957,33 +956,33 @@ function Js(e, t) {
|
|
|
957
956
|
} else
|
|
958
957
|
return ln(e, n);
|
|
959
958
|
}
|
|
960
|
-
const
|
|
961
|
-
function
|
|
962
|
-
return De(e,
|
|
959
|
+
const Js = ["b", "body"];
|
|
960
|
+
function $s(e) {
|
|
961
|
+
return De(e, Js);
|
|
963
962
|
}
|
|
964
|
-
const
|
|
963
|
+
const Ks = ["c", "cases"];
|
|
965
964
|
function Qs(e) {
|
|
966
|
-
return De(e,
|
|
965
|
+
return De(e, Ks, []);
|
|
967
966
|
}
|
|
968
967
|
function ln(e, t) {
|
|
969
|
-
const n =
|
|
968
|
+
const n = qs(t);
|
|
970
969
|
if (n != null)
|
|
971
970
|
return e.type === "text" ? n : e.normalize([n]);
|
|
972
971
|
{
|
|
973
|
-
const s =
|
|
972
|
+
const s = ta(t).reduce((l, a) => [...l, wt(e, a)], []);
|
|
974
973
|
return e.normalize(s);
|
|
975
974
|
}
|
|
976
975
|
}
|
|
977
|
-
const
|
|
978
|
-
function
|
|
979
|
-
return De(e,
|
|
976
|
+
const zs = ["s", "static"];
|
|
977
|
+
function qs(e) {
|
|
978
|
+
return De(e, zs);
|
|
980
979
|
}
|
|
981
|
-
const
|
|
982
|
-
function
|
|
983
|
-
return De(e,
|
|
980
|
+
const ea = ["i", "items"];
|
|
981
|
+
function ta(e) {
|
|
982
|
+
return De(e, ea, []);
|
|
984
983
|
}
|
|
985
984
|
function wt(e, t) {
|
|
986
|
-
const n =
|
|
985
|
+
const n = Bt(t);
|
|
987
986
|
switch (n) {
|
|
988
987
|
case 3:
|
|
989
988
|
return lt(t, n);
|
|
@@ -1006,7 +1005,7 @@ function wt(e, t) {
|
|
|
1006
1005
|
throw et(n);
|
|
1007
1006
|
}
|
|
1008
1007
|
case 6: {
|
|
1009
|
-
const s = t, l =
|
|
1008
|
+
const s = t, l = ra(s), a = oa(s);
|
|
1010
1009
|
return e.linked(wt(e, a), l ? wt(e, l) : void 0, e.type);
|
|
1011
1010
|
}
|
|
1012
1011
|
case 7:
|
|
@@ -1017,24 +1016,24 @@ function wt(e, t) {
|
|
|
1017
1016
|
throw new Error(`unhandled node on format message part: ${n}`);
|
|
1018
1017
|
}
|
|
1019
1018
|
}
|
|
1020
|
-
const
|
|
1021
|
-
function
|
|
1022
|
-
return De(e,
|
|
1019
|
+
const na = ["t", "type"];
|
|
1020
|
+
function Bt(e) {
|
|
1021
|
+
return De(e, na);
|
|
1023
1022
|
}
|
|
1024
|
-
const
|
|
1023
|
+
const sa = ["v", "value"];
|
|
1025
1024
|
function lt(e, t) {
|
|
1026
|
-
const n = De(e,
|
|
1025
|
+
const n = De(e, sa);
|
|
1027
1026
|
if (n)
|
|
1028
1027
|
return n;
|
|
1029
1028
|
throw et(t);
|
|
1030
1029
|
}
|
|
1031
|
-
const
|
|
1032
|
-
function
|
|
1033
|
-
return De(e,
|
|
1030
|
+
const aa = ["m", "modifier"];
|
|
1031
|
+
function ra(e) {
|
|
1032
|
+
return De(e, aa);
|
|
1034
1033
|
}
|
|
1035
|
-
const
|
|
1036
|
-
function
|
|
1037
|
-
const t = De(e,
|
|
1034
|
+
const la = ["k", "key"];
|
|
1035
|
+
function oa(e) {
|
|
1036
|
+
const t = De(e, la);
|
|
1038
1037
|
if (t)
|
|
1039
1038
|
return t;
|
|
1040
1039
|
throw et(
|
|
@@ -1053,26 +1052,26 @@ function De(e, t, n) {
|
|
|
1053
1052
|
function et(e) {
|
|
1054
1053
|
return new Error(`unhandled node type: ${e}`);
|
|
1055
1054
|
}
|
|
1056
|
-
const
|
|
1055
|
+
const ia = (e) => e;
|
|
1057
1056
|
let ot = q();
|
|
1058
|
-
function
|
|
1059
|
-
return K(e) &&
|
|
1057
|
+
function Ye(e) {
|
|
1058
|
+
return K(e) && Bt(e) === 0 && (ye(e, "b") || ye(e, "body"));
|
|
1060
1059
|
}
|
|
1061
|
-
function
|
|
1060
|
+
function ca(e, t = {}) {
|
|
1062
1061
|
let n = !1;
|
|
1063
|
-
const s = t.onError ||
|
|
1062
|
+
const s = t.onError || Ns;
|
|
1064
1063
|
return t.onError = (l) => {
|
|
1065
1064
|
n = !0, s(l);
|
|
1066
|
-
}, { ...
|
|
1065
|
+
}, { ...Zs(e, t), detectError: n };
|
|
1067
1066
|
}
|
|
1068
1067
|
// @__NO_SIDE_EFFECTS__
|
|
1069
|
-
function
|
|
1068
|
+
function ua(e, t) {
|
|
1070
1069
|
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && F(e)) {
|
|
1071
1070
|
ce(t.warnHtmlMessage) && t.warnHtmlMessage;
|
|
1072
|
-
const s = (t.onCacheKey ||
|
|
1071
|
+
const s = (t.onCacheKey || ia)(e), l = ot[s];
|
|
1073
1072
|
if (l)
|
|
1074
1073
|
return l;
|
|
1075
|
-
const { ast: a, detectError: c } =
|
|
1074
|
+
const { ast: a, detectError: c } = ca(e, {
|
|
1076
1075
|
...t,
|
|
1077
1076
|
location: Hs.env.NODE_ENV !== "production",
|
|
1078
1077
|
jit: !0
|
|
@@ -1088,10 +1087,10 @@ function ma(e, t) {
|
|
|
1088
1087
|
}
|
|
1089
1088
|
}
|
|
1090
1089
|
let tt = null;
|
|
1091
|
-
function
|
|
1090
|
+
function ma(e) {
|
|
1092
1091
|
tt = e;
|
|
1093
1092
|
}
|
|
1094
|
-
function
|
|
1093
|
+
function da(e, t, n) {
|
|
1095
1094
|
tt && tt.emit("i18n:init", {
|
|
1096
1095
|
timestamp: Date.now(),
|
|
1097
1096
|
i18n: e,
|
|
@@ -1099,19 +1098,19 @@ function fa(e, t, n) {
|
|
|
1099
1098
|
meta: n
|
|
1100
1099
|
});
|
|
1101
1100
|
}
|
|
1102
|
-
const
|
|
1103
|
-
function
|
|
1101
|
+
const fa = /* @__PURE__ */ _a("function:translate");
|
|
1102
|
+
function _a(e) {
|
|
1104
1103
|
return (t) => tt && tt.emit(e, t);
|
|
1105
1104
|
}
|
|
1106
1105
|
const Le = {
|
|
1107
|
-
INVALID_ARGUMENT:
|
|
1106
|
+
INVALID_ARGUMENT: ys,
|
|
1108
1107
|
// 17
|
|
1109
1108
|
INVALID_DATE_ARGUMENT: 18,
|
|
1110
1109
|
INVALID_ISO_DATE_ARGUMENT: 19,
|
|
1111
1110
|
NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
|
|
1112
1111
|
NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
|
|
1113
1112
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
1114
|
-
},
|
|
1113
|
+
}, pa = 24;
|
|
1115
1114
|
function Ce(e) {
|
|
1116
1115
|
return ht(e, null, void 0);
|
|
1117
1116
|
}
|
|
@@ -1127,7 +1126,7 @@ function on(e) {
|
|
|
1127
1126
|
return Lt;
|
|
1128
1127
|
if (e.constructor.name === "Function") {
|
|
1129
1128
|
const t = e();
|
|
1130
|
-
if (
|
|
1129
|
+
if (gs(t))
|
|
1131
1130
|
throw Ce(Le.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
1132
1131
|
return Lt = t;
|
|
1133
1132
|
} else
|
|
@@ -1135,7 +1134,7 @@ function on(e) {
|
|
|
1135
1134
|
} else
|
|
1136
1135
|
throw Ce(Le.NOT_SUPPORT_LOCALE_TYPE);
|
|
1137
1136
|
}
|
|
1138
|
-
function
|
|
1137
|
+
function ha(e, t, n) {
|
|
1139
1138
|
return [.../* @__PURE__ */ new Set([
|
|
1140
1139
|
n,
|
|
1141
1140
|
...ue(t) ? t : K(t) ? Object.keys(t) : F(t) ? [t] : [n]
|
|
@@ -1168,11 +1167,11 @@ function ba(e, t, n) {
|
|
|
1168
1167
|
const l = t.split("-");
|
|
1169
1168
|
do {
|
|
1170
1169
|
const a = l.join("-");
|
|
1171
|
-
s =
|
|
1170
|
+
s = ga(e, a, n), l.splice(-1, 1);
|
|
1172
1171
|
} while (l.length && s === !0);
|
|
1173
1172
|
return s;
|
|
1174
1173
|
}
|
|
1175
|
-
function
|
|
1174
|
+
function ga(e, t, n) {
|
|
1176
1175
|
let s = !1;
|
|
1177
1176
|
if (!e.includes(t) && (s = !0, t)) {
|
|
1178
1177
|
s = t[t.length - 1] !== "!";
|
|
@@ -1342,15 +1341,15 @@ Me[
|
|
|
1342
1341
|
/* Actions.APPEND */
|
|
1343
1342
|
]
|
|
1344
1343
|
};
|
|
1345
|
-
const
|
|
1344
|
+
const va = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
|
1346
1345
|
function Ia(e) {
|
|
1347
|
-
return
|
|
1346
|
+
return va.test(e);
|
|
1348
1347
|
}
|
|
1349
|
-
function
|
|
1348
|
+
function Ea(e) {
|
|
1350
1349
|
const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
|
|
1351
1350
|
return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
|
|
1352
1351
|
}
|
|
1353
|
-
function
|
|
1352
|
+
function ya(e) {
|
|
1354
1353
|
if (e == null)
|
|
1355
1354
|
return "o";
|
|
1356
1355
|
switch (e.charCodeAt(0)) {
|
|
@@ -1375,13 +1374,13 @@ function Na(e) {
|
|
|
1375
1374
|
}
|
|
1376
1375
|
return "i";
|
|
1377
1376
|
}
|
|
1378
|
-
function
|
|
1377
|
+
function Na(e) {
|
|
1379
1378
|
const t = e.trim();
|
|
1380
|
-
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Ia(t) ?
|
|
1379
|
+
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Ia(t) ? Ea(t) : "*" + t;
|
|
1381
1380
|
}
|
|
1382
|
-
function
|
|
1381
|
+
function ka(e) {
|
|
1383
1382
|
const t = [];
|
|
1384
|
-
let n = -1, s = 0, l = 0, a, c, m, u, p, O,
|
|
1383
|
+
let n = -1, s = 0, l = 0, a, c, m, u, p, O, R;
|
|
1385
1384
|
const y = [];
|
|
1386
1385
|
y[
|
|
1387
1386
|
0
|
|
@@ -1411,7 +1410,7 @@ function Ta(e) {
|
|
|
1411
1410
|
/* Actions.APPEND */
|
|
1412
1411
|
]();
|
|
1413
1412
|
else {
|
|
1414
|
-
if (l = 0, c === void 0 || (c =
|
|
1413
|
+
if (l = 0, c === void 0 || (c = Na(c), c === !1))
|
|
1415
1414
|
return !1;
|
|
1416
1415
|
y[
|
|
1417
1416
|
1
|
|
@@ -1429,21 +1428,21 @@ function Ta(e) {
|
|
|
1429
1428
|
}
|
|
1430
1429
|
for (; s !== null; )
|
|
1431
1430
|
if (n++, a = e[n], !(a === "\\" && P())) {
|
|
1432
|
-
if (u =
|
|
1431
|
+
if (u = ya(a), R = Me[s], p = R[u] || R.l || 8, p === 8 || (s = p[0], p[1] !== void 0 && (O = y[p[1]], O && (m = a, O() === !1))))
|
|
1433
1432
|
return;
|
|
1434
1433
|
if (s === 7)
|
|
1435
1434
|
return t;
|
|
1436
1435
|
}
|
|
1437
1436
|
}
|
|
1438
1437
|
const un = /* @__PURE__ */ new Map();
|
|
1439
|
-
function
|
|
1438
|
+
function Ta(e, t) {
|
|
1440
1439
|
return K(e) ? e[t] : null;
|
|
1441
1440
|
}
|
|
1442
|
-
function
|
|
1441
|
+
function Oa(e, t) {
|
|
1443
1442
|
if (!K(e))
|
|
1444
1443
|
return null;
|
|
1445
1444
|
let n = un.get(t);
|
|
1446
|
-
if (n || (n =
|
|
1445
|
+
if (n || (n = ka(t), n && un.set(t, n)), !n)
|
|
1447
1446
|
return null;
|
|
1448
1447
|
const s = n.length;
|
|
1449
1448
|
let l = e, a = 0;
|
|
@@ -1455,8 +1454,8 @@ function La(e, t) {
|
|
|
1455
1454
|
}
|
|
1456
1455
|
return l;
|
|
1457
1456
|
}
|
|
1458
|
-
const
|
|
1459
|
-
function
|
|
1457
|
+
const La = "10.0.5", bt = -1, ft = "en-US", mn = "", dn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1458
|
+
function Ca() {
|
|
1460
1459
|
return {
|
|
1461
1460
|
upper: (e, t) => t === "text" && F(e) ? e.toUpperCase() : t === "vnode" && K(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1462
1461
|
lower: (e, t) => t === "text" && F(e) ? e.toLowerCase() : t === "vnode" && K(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
@@ -1464,30 +1463,30 @@ function Ra() {
|
|
|
1464
1463
|
};
|
|
1465
1464
|
}
|
|
1466
1465
|
let wn;
|
|
1467
|
-
function
|
|
1466
|
+
function Ra(e) {
|
|
1468
1467
|
wn = e;
|
|
1469
1468
|
}
|
|
1470
1469
|
let Pn;
|
|
1471
|
-
function
|
|
1470
|
+
function Aa(e) {
|
|
1472
1471
|
Pn = e;
|
|
1473
1472
|
}
|
|
1474
1473
|
let Fn;
|
|
1475
|
-
function
|
|
1474
|
+
function Sa(e) {
|
|
1476
1475
|
Fn = e;
|
|
1477
1476
|
}
|
|
1478
1477
|
let jn = null;
|
|
1479
|
-
const
|
|
1478
|
+
const Da = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
1480
1479
|
jn = e;
|
|
1481
|
-
},
|
|
1480
|
+
}, Ma = /* @__NO_SIDE_EFFECTS__ */ () => jn;
|
|
1482
1481
|
let Un = null;
|
|
1483
1482
|
const fn = (e) => {
|
|
1484
1483
|
Un = e;
|
|
1485
|
-
},
|
|
1484
|
+
}, wa = () => Un;
|
|
1486
1485
|
let _n = 0;
|
|
1487
|
-
function
|
|
1488
|
-
const t = le(e.onWarn) ? e.onWarn : Is, n = F(e.version) ? e.version :
|
|
1486
|
+
function Pa(e = {}) {
|
|
1487
|
+
const t = le(e.onWarn) ? e.onWarn : Is, n = F(e.version) ? e.version : La, s = F(e.locale) || le(e.locale) ? e.locale : ft, l = le(s) ? ft : s, a = ue(e.fallbackLocale) || $(e.fallbackLocale) || F(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = $(e.messages) ? e.messages : Ct(l), m = $(e.datetimeFormats) ? e.datetimeFormats : Ct(l), u = $(e.numberFormats) ? e.numberFormats : Ct(l), p = fe(q(), e.modifiers, Ca()), O = e.pluralRules || q(), R = le(e.missing) ? e.missing : null, y = ce(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, P = ce(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, V = !!e.fallbackFormat, L = !!e.unresolving, M = le(e.postTranslation) ? e.postTranslation : null, i = $(e.processor) ? e.processor : null, d = ce(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, N = !!e.escapeParameter, _ = le(e.messageCompiler) ? e.messageCompiler : wn, w = le(e.messageResolver) ? e.messageResolver : Pn || Ta, S = le(e.localeFallbacker) ? e.localeFallbacker : Fn || ha, g = K(e.fallbackContext) ? e.fallbackContext : void 0, v = e, h = K(v.__datetimeFormatters) ? v.__datetimeFormatters : /* @__PURE__ */ new Map(), E = K(v.__numberFormatters) ? v.__numberFormatters : /* @__PURE__ */ new Map(), A = K(v.__meta) ? v.__meta : {};
|
|
1489
1488
|
_n++;
|
|
1490
|
-
const
|
|
1489
|
+
const C = {
|
|
1491
1490
|
version: n,
|
|
1492
1491
|
cid: _n,
|
|
1493
1492
|
locale: s,
|
|
@@ -1495,7 +1494,7 @@ function Fa(e = {}) {
|
|
|
1495
1494
|
messages: c,
|
|
1496
1495
|
modifiers: p,
|
|
1497
1496
|
pluralRules: O,
|
|
1498
|
-
missing:
|
|
1497
|
+
missing: R,
|
|
1499
1498
|
missingWarn: y,
|
|
1500
1499
|
fallbackWarn: P,
|
|
1501
1500
|
fallbackFormat: V,
|
|
@@ -1507,11 +1506,11 @@ function Fa(e = {}) {
|
|
|
1507
1506
|
messageCompiler: _,
|
|
1508
1507
|
messageResolver: w,
|
|
1509
1508
|
localeFallbacker: S,
|
|
1510
|
-
fallbackContext:
|
|
1509
|
+
fallbackContext: g,
|
|
1511
1510
|
onWarn: t,
|
|
1512
1511
|
__meta: A
|
|
1513
1512
|
};
|
|
1514
|
-
return
|
|
1513
|
+
return C.datetimeFormats = m, C.numberFormats = u, C.__datetimeFormatters = h, C.__numberFormatters = E, __INTLIFY_PROD_DEVTOOLS__ && da(C, n, A), C;
|
|
1515
1514
|
}
|
|
1516
1515
|
const Ct = (e) => ({ [e]: q() });
|
|
1517
1516
|
function $t(e, t, n, s, l) {
|
|
@@ -1522,24 +1521,24 @@ function $t(e, t, n, s, l) {
|
|
|
1522
1521
|
} else
|
|
1523
1522
|
return t;
|
|
1524
1523
|
}
|
|
1525
|
-
function
|
|
1524
|
+
function ze(e, t, n) {
|
|
1526
1525
|
const s = e;
|
|
1527
1526
|
s.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
|
|
1528
1527
|
}
|
|
1529
|
-
function
|
|
1528
|
+
function Fa(e, t) {
|
|
1530
1529
|
return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
|
|
1531
1530
|
}
|
|
1532
|
-
function
|
|
1531
|
+
function ja(e, t) {
|
|
1533
1532
|
const n = t.indexOf(e);
|
|
1534
1533
|
if (n === -1)
|
|
1535
1534
|
return !1;
|
|
1536
1535
|
for (let s = n + 1; s < t.length; s++)
|
|
1537
|
-
if (
|
|
1536
|
+
if (Fa(e, t[s]))
|
|
1538
1537
|
return !0;
|
|
1539
1538
|
return !1;
|
|
1540
1539
|
}
|
|
1541
1540
|
function pn(e, ...t) {
|
|
1542
|
-
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __datetimeFormatters: m } = e, [u, p, O,
|
|
1541
|
+
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __datetimeFormatters: m } = e, [u, p, O, R] = Pt(...t), y = ce(O.missingWarn) ? O.missingWarn : e.missingWarn;
|
|
1543
1542
|
ce(O.fallbackWarn) ? O.fallbackWarn : e.fallbackWarn;
|
|
1544
1543
|
const P = !!O.part, V = Jt(e, O), L = c(
|
|
1545
1544
|
e,
|
|
@@ -1548,17 +1547,17 @@ function pn(e, ...t) {
|
|
|
1548
1547
|
V
|
|
1549
1548
|
);
|
|
1550
1549
|
if (!F(u) || u === "")
|
|
1551
|
-
return new Intl.DateTimeFormat(V,
|
|
1550
|
+
return new Intl.DateTimeFormat(V, R).format(p);
|
|
1552
1551
|
let M = {}, i, d = null;
|
|
1553
1552
|
const N = "datetime format";
|
|
1554
1553
|
for (let S = 0; S < L.length && (i = L[S], M = n[i] || {}, d = M[u], !$(d)); S++)
|
|
1555
1554
|
$t(e, u, i, y, N);
|
|
1556
1555
|
if (!$(d) || !F(i))
|
|
1557
|
-
return s ?
|
|
1556
|
+
return s ? bt : u;
|
|
1558
1557
|
let _ = `${i}__${u}`;
|
|
1559
|
-
pt(
|
|
1558
|
+
pt(R) || (_ = `${_}__${JSON.stringify(R)}`);
|
|
1560
1559
|
let w = m.get(_);
|
|
1561
|
-
return w || (w = new Intl.DateTimeFormat(i, fe({}, d,
|
|
1560
|
+
return w || (w = new Intl.DateTimeFormat(i, fe({}, d, R)), m.set(_, w)), P ? w.formatToParts(p) : w.format(p);
|
|
1562
1561
|
}
|
|
1563
1562
|
const Vn = [
|
|
1564
1563
|
"localeMatcher",
|
|
@@ -1596,7 +1595,7 @@ function Pt(...e) {
|
|
|
1596
1595
|
} catch {
|
|
1597
1596
|
throw Ce(Le.INVALID_ISO_DATE_ARGUMENT);
|
|
1598
1597
|
}
|
|
1599
|
-
} else if (
|
|
1598
|
+
} else if (ps(t)) {
|
|
1600
1599
|
if (isNaN(t.getTime()))
|
|
1601
1600
|
throw Ce(Le.INVALID_DATE_ARGUMENT);
|
|
1602
1601
|
m = t;
|
|
@@ -1615,8 +1614,8 @@ function hn(e, t, n) {
|
|
|
1615
1614
|
s.__datetimeFormatters.has(a) && s.__datetimeFormatters.delete(a);
|
|
1616
1615
|
}
|
|
1617
1616
|
}
|
|
1618
|
-
function
|
|
1619
|
-
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __numberFormatters: m } = e, [u, p, O,
|
|
1617
|
+
function bn(e, ...t) {
|
|
1618
|
+
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __numberFormatters: m } = e, [u, p, O, R] = Ft(...t), y = ce(O.missingWarn) ? O.missingWarn : e.missingWarn;
|
|
1620
1619
|
ce(O.fallbackWarn) ? O.fallbackWarn : e.fallbackWarn;
|
|
1621
1620
|
const P = !!O.part, V = Jt(e, O), L = c(
|
|
1622
1621
|
e,
|
|
@@ -1625,19 +1624,19 @@ function gn(e, ...t) {
|
|
|
1625
1624
|
V
|
|
1626
1625
|
);
|
|
1627
1626
|
if (!F(u) || u === "")
|
|
1628
|
-
return new Intl.NumberFormat(V,
|
|
1627
|
+
return new Intl.NumberFormat(V, R).format(p);
|
|
1629
1628
|
let M = {}, i, d = null;
|
|
1630
1629
|
const N = "number format";
|
|
1631
1630
|
for (let S = 0; S < L.length && (i = L[S], M = n[i] || {}, d = M[u], !$(d)); S++)
|
|
1632
1631
|
$t(e, u, i, y, N);
|
|
1633
1632
|
if (!$(d) || !F(i))
|
|
1634
|
-
return s ?
|
|
1633
|
+
return s ? bt : u;
|
|
1635
1634
|
let _ = `${i}__${u}`;
|
|
1636
|
-
pt(
|
|
1635
|
+
pt(R) || (_ = `${_}__${JSON.stringify(R)}`);
|
|
1637
1636
|
let w = m.get(_);
|
|
1638
|
-
return w || (w = new Intl.NumberFormat(i, fe({}, d,
|
|
1637
|
+
return w || (w = new Intl.NumberFormat(i, fe({}, d, R)), m.set(_, w)), P ? w.formatToParts(p) : w.format(p);
|
|
1639
1638
|
}
|
|
1640
|
-
const
|
|
1639
|
+
const Wn = [
|
|
1641
1640
|
"localeMatcher",
|
|
1642
1641
|
"style",
|
|
1643
1642
|
"currency",
|
|
@@ -1666,36 +1665,36 @@ function Ft(...e) {
|
|
|
1666
1665
|
throw Ce(Le.INVALID_ARGUMENT);
|
|
1667
1666
|
const m = t;
|
|
1668
1667
|
return F(n) ? a.key = n : $(n) && Object.keys(n).forEach((u) => {
|
|
1669
|
-
|
|
1668
|
+
Wn.includes(u) ? c[u] = n[u] : a[u] = n[u];
|
|
1670
1669
|
}), F(s) ? a.locale = s : $(s) && (c = s), $(l) && (c = l), [a.key || "", m, a, c];
|
|
1671
1670
|
}
|
|
1672
|
-
function
|
|
1671
|
+
function gn(e, t, n) {
|
|
1673
1672
|
const s = e;
|
|
1674
1673
|
for (const l in n) {
|
|
1675
1674
|
const a = `${t}__${l}`;
|
|
1676
1675
|
s.__numberFormatters.has(a) && s.__numberFormatters.delete(a);
|
|
1677
1676
|
}
|
|
1678
1677
|
}
|
|
1679
|
-
const
|
|
1678
|
+
const Ua = (e) => e, Va = (e) => "", Wa = "text", Ga = (e) => e.length === 0 ? "" : Ht(e), xa = vs;
|
|
1680
1679
|
function vn(e, t) {
|
|
1681
1680
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1682
1681
|
}
|
|
1683
|
-
function
|
|
1682
|
+
function Xa(e) {
|
|
1684
1683
|
const t = de(e.pluralIndex) ? e.pluralIndex : -1;
|
|
1685
1684
|
return e.named && (de(e.named.count) || de(e.named.n)) ? de(e.named.count) ? e.named.count : de(e.named.n) ? e.named.n : t : t;
|
|
1686
1685
|
}
|
|
1687
|
-
function
|
|
1686
|
+
function Za(e, t) {
|
|
1688
1687
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1689
1688
|
}
|
|
1690
1689
|
function Ha(e = {}) {
|
|
1691
|
-
const t = e.locale, n =
|
|
1692
|
-
de(e.pluralIndex) &&
|
|
1690
|
+
const t = e.locale, n = Xa(e), s = K(e.pluralRules) && F(t) && le(e.pluralRules[t]) ? e.pluralRules[t] : vn, l = K(e.pluralRules) && F(t) && le(e.pluralRules[t]) ? vn : void 0, a = (i) => i[s(n, i.length, l)], c = e.list || [], m = (i) => c[i], u = e.named || q();
|
|
1691
|
+
de(e.pluralIndex) && Za(n, u);
|
|
1693
1692
|
const p = (i) => u[i];
|
|
1694
1693
|
function O(i, d) {
|
|
1695
1694
|
const N = le(e.messages) ? e.messages(i, !!d) : K(e.messages) ? e.messages[i] : !1;
|
|
1696
|
-
return N || (e.parent ? e.parent.message(i) :
|
|
1695
|
+
return N || (e.parent ? e.parent.message(i) : Va);
|
|
1697
1696
|
}
|
|
1698
|
-
const
|
|
1697
|
+
const R = (i) => e.modifiers ? e.modifiers[i] : Ua, y = $(e.processor) && le(e.processor.normalize) ? e.processor.normalize : Ga, P = $(e.processor) && le(e.processor.interpolate) ? e.processor.interpolate : xa, V = $(e.processor) && F(e.processor.type) ? e.processor.type : Wa, M = {
|
|
1699
1698
|
list: m,
|
|
1700
1699
|
named: p,
|
|
1701
1700
|
plural: a,
|
|
@@ -1703,11 +1702,11 @@ function Ha(e = {}) {
|
|
|
1703
1702
|
const [N, _] = d;
|
|
1704
1703
|
let w = "text", S = "";
|
|
1705
1704
|
d.length === 1 ? K(N) ? (S = N.modifier || S, w = N.type || w) : F(N) && (S = N || S) : d.length === 2 && (F(N) && (S = N || S), F(_) && (w = _ || w));
|
|
1706
|
-
const
|
|
1705
|
+
const g = O(i, !0)(M), v = (
|
|
1707
1706
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1708
|
-
w === "vnode" && ue(
|
|
1707
|
+
w === "vnode" && ue(g) && S ? g[0] : g
|
|
1709
1708
|
);
|
|
1710
|
-
return S ?
|
|
1709
|
+
return S ? R(S)(v, w) : v;
|
|
1711
1710
|
},
|
|
1712
1711
|
message: O,
|
|
1713
1712
|
type: V,
|
|
@@ -1717,47 +1716,47 @@ function Ha(e = {}) {
|
|
|
1717
1716
|
};
|
|
1718
1717
|
return M;
|
|
1719
1718
|
}
|
|
1720
|
-
const
|
|
1721
|
-
function
|
|
1722
|
-
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: m } = e, [u, p] = jt(...t), O = ce(p.missingWarn) ? p.missingWarn : e.missingWarn,
|
|
1719
|
+
const In = () => "", ve = (e) => le(e);
|
|
1720
|
+
function En(e, ...t) {
|
|
1721
|
+
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: m } = e, [u, p] = jt(...t), O = ce(p.missingWarn) ? p.missingWarn : e.missingWarn, R = ce(p.fallbackWarn) ? p.fallbackWarn : e.fallbackWarn, y = ce(p.escapeParameter) ? p.escapeParameter : e.escapeParameter, P = !!p.resolvedMessage, V = F(p.default) || ce(p.default) ? ce(p.default) ? a ? u : () => u : p.default : n ? a ? u : () => u : null, L = n || V != null && (F(V) || le(V)), M = Jt(e, p);
|
|
1723
1722
|
y && Ya(p);
|
|
1724
1723
|
let [i, d, N] = P ? [
|
|
1725
1724
|
u,
|
|
1726
1725
|
M,
|
|
1727
1726
|
m[M] || q()
|
|
1728
|
-
] :
|
|
1729
|
-
if (!P && !(F(_) ||
|
|
1730
|
-
return l ?
|
|
1727
|
+
] : Gn(e, u, M, c, R, O), _ = i, w = u;
|
|
1728
|
+
if (!P && !(F(_) || Ye(_) || ve(_)) && L && (_ = V, w = _), !P && (!(F(_) || Ye(_) || ve(_)) || !F(d)))
|
|
1729
|
+
return l ? bt : u;
|
|
1731
1730
|
let S = !1;
|
|
1732
|
-
const
|
|
1731
|
+
const g = () => {
|
|
1733
1732
|
S = !0;
|
|
1734
|
-
}, v = ve(_) ? _ : xn(e, u, d, _, w,
|
|
1733
|
+
}, v = ve(_) ? _ : xn(e, u, d, _, w, g);
|
|
1735
1734
|
if (S)
|
|
1736
1735
|
return _;
|
|
1737
|
-
const h =
|
|
1736
|
+
const h = $a(e, d, N, p), E = Ha(h), A = Ba(e, v, E), C = s ? s(A, u) : A;
|
|
1738
1737
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1739
|
-
const
|
|
1738
|
+
const x = {
|
|
1740
1739
|
timestamp: Date.now(),
|
|
1741
1740
|
key: F(u) ? u : ve(_) ? _.key : "",
|
|
1742
1741
|
locale: d || (ve(_) ? _.locale : ""),
|
|
1743
1742
|
format: F(_) ? _ : ve(_) ? _.source : "",
|
|
1744
|
-
message:
|
|
1743
|
+
message: C
|
|
1745
1744
|
};
|
|
1746
|
-
|
|
1745
|
+
x.meta = fe({}, e.__meta, /* @__PURE__ */ Ma() || {}), fa(x);
|
|
1747
1746
|
}
|
|
1748
|
-
return
|
|
1747
|
+
return C;
|
|
1749
1748
|
}
|
|
1750
1749
|
function Ya(e) {
|
|
1751
1750
|
ue(e.list) ? e.list = e.list.map((t) => F(t) ? nn(t) : t) : K(e.named) && Object.keys(e.named).forEach((t) => {
|
|
1752
1751
|
F(e.named[t]) && (e.named[t] = nn(e.named[t]));
|
|
1753
1752
|
});
|
|
1754
1753
|
}
|
|
1755
|
-
function
|
|
1754
|
+
function Gn(e, t, n, s, l, a) {
|
|
1756
1755
|
const { messages: c, onWarn: m, messageResolver: u, localeFallbacker: p } = e, O = p(e, s, n);
|
|
1757
|
-
let
|
|
1756
|
+
let R = q(), y, P = null;
|
|
1758
1757
|
const V = "translate";
|
|
1759
|
-
for (let L = 0; L < O.length && (y = O[L],
|
|
1760
|
-
if (!
|
|
1758
|
+
for (let L = 0; L < O.length && (y = O[L], R = c[y] || q(), (P = u(R, t)) === null && (P = R[t]), !(F(P) || Ye(P) || ve(P))); L++)
|
|
1759
|
+
if (!ja(y, O)) {
|
|
1761
1760
|
const M = $t(
|
|
1762
1761
|
e,
|
|
1763
1762
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
@@ -1768,7 +1767,7 @@ function Wn(e, t, n, s, l, a) {
|
|
|
1768
1767
|
);
|
|
1769
1768
|
M !== t && (P = M);
|
|
1770
1769
|
}
|
|
1771
|
-
return [P, y,
|
|
1770
|
+
return [P, y, R];
|
|
1772
1771
|
}
|
|
1773
1772
|
function xn(e, t, n, s, l, a) {
|
|
1774
1773
|
const { messageCompiler: c, warnHtmlMessage: m } = e;
|
|
@@ -1780,20 +1779,20 @@ function xn(e, t, n, s, l, a) {
|
|
|
1780
1779
|
const p = () => s;
|
|
1781
1780
|
return p.locale = n, p.key = t, p;
|
|
1782
1781
|
}
|
|
1783
|
-
const u = c(s,
|
|
1782
|
+
const u = c(s, Ja(e, n, l, s, m, a));
|
|
1784
1783
|
return u.locale = n, u.key = t, u.source = s, u;
|
|
1785
1784
|
}
|
|
1786
|
-
function
|
|
1785
|
+
function Ba(e, t, n) {
|
|
1787
1786
|
return t(n);
|
|
1788
1787
|
}
|
|
1789
1788
|
function jt(...e) {
|
|
1790
1789
|
const [t, n, s] = e, l = q();
|
|
1791
|
-
if (!F(t) && !de(t) && !ve(t) && !
|
|
1790
|
+
if (!F(t) && !de(t) && !ve(t) && !Ye(t))
|
|
1792
1791
|
throw Ce(Le.INVALID_ARGUMENT);
|
|
1793
1792
|
const a = de(t) ? String(t) : (ve(t), t);
|
|
1794
1793
|
return de(n) ? l.plural = n : F(n) ? l.default = n : $(n) && !pt(n) ? l.named = n : ue(n) && (l.list = n), de(s) ? l.plural = s : F(s) ? l.default = s : $(s) && fe(l, s), [a, l];
|
|
1795
1794
|
}
|
|
1796
|
-
function
|
|
1795
|
+
function Ja(e, t, n, s, l, a) {
|
|
1797
1796
|
return {
|
|
1798
1797
|
locale: t,
|
|
1799
1798
|
key: n,
|
|
@@ -1801,10 +1800,10 @@ function $a(e, t, n, s, l, a) {
|
|
|
1801
1800
|
onError: (c) => {
|
|
1802
1801
|
throw a && a(c), c;
|
|
1803
1802
|
},
|
|
1804
|
-
onCacheKey: (c) =>
|
|
1803
|
+
onCacheKey: (c) => fs(t, n, c)
|
|
1805
1804
|
};
|
|
1806
1805
|
}
|
|
1807
|
-
function
|
|
1806
|
+
function $a(e, t, n, s) {
|
|
1808
1807
|
const { modifiers: l, pluralRules: a, messageResolver: c, fallbackLocale: m, fallbackWarn: u, missingWarn: p, fallbackContext: O } = e, y = {
|
|
1809
1808
|
locale: t,
|
|
1810
1809
|
modifiers: l,
|
|
@@ -1812,7 +1811,7 @@ function Ka(e, t, n, s) {
|
|
|
1812
1811
|
messages: (P, V) => {
|
|
1813
1812
|
let L = c(n, P);
|
|
1814
1813
|
if (L == null && (O || V)) {
|
|
1815
|
-
const [, , M] =
|
|
1814
|
+
const [, , M] = Gn(
|
|
1816
1815
|
O || e,
|
|
1817
1816
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1818
1817
|
P,
|
|
@@ -1823,26 +1822,26 @@ function Ka(e, t, n, s) {
|
|
|
1823
1822
|
);
|
|
1824
1823
|
L = c(M, P);
|
|
1825
1824
|
}
|
|
1826
|
-
if (F(L) ||
|
|
1825
|
+
if (F(L) || Ye(L)) {
|
|
1827
1826
|
let M = !1;
|
|
1828
1827
|
const d = xn(e, P, t, L, P, () => {
|
|
1829
1828
|
M = !0;
|
|
1830
1829
|
});
|
|
1831
|
-
return M ?
|
|
1832
|
-
} else return ve(L) ? L :
|
|
1830
|
+
return M ? In : d;
|
|
1831
|
+
} else return ve(L) ? L : In;
|
|
1833
1832
|
}
|
|
1834
1833
|
};
|
|
1835
1834
|
return e.processor && (y.processor = e.processor), s.list && (y.list = s.list), s.named && (y.named = s.named), de(s.plural) && (y.pluralIndex = s.plural), y;
|
|
1836
1835
|
}
|
|
1837
1836
|
Ys();
|
|
1838
|
-
var za = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_595f007c-6cc9-43de-8308-97fd00cdbec1", 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_595f007c-6cc9-43de-8308-97fd00cdbec1", 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.5.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-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1866", ACTIONS_ORCHESTRATION_ID: "a8fa5305-6f1e-428a-813c-869cf17b6d06.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.10.6", 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: "20260518.149.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:15652", 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.10/x64", GITHUB_RUN_ID: "26387095153", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "a84c0c801acd347884fa56df2fdb98e470edd7f0", 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/perf/improve-hrm-performance", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9wZXJmL2ltcHJvdmUtaHJtLXBlcmZvcm1hbmNlXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzc5NzEzMjkwLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3Nzk2OTEwOTAsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiI5ZDcwNGRiMS00NzYwLTUyMGQtODg2Ny00ZTkyMDZkZDNlZjAiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3Nzk2OTA3OTAsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwianVuLWxlZS1mZWVkbWVcIixcImFjdG9yX2lkXCI6XCIyMzkyODI4NjJcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiNzc2Njc5NTczMzFcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjIyMGY3ZTc2ZTBkY2EwOTNjNDc1MDM3YjhlN2MwZjU1M2I2MTcyMzlcIixcInJlZlwiOlwicmVmcy9oZWFkcy9wZXJmL2ltcHJvdmUtaHJtLXBlcmZvcm1hbmNlXCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjI2Mzg3MDk1MTUzXCIsXCJydW5fbnVtYmVyXCI6XCI5M1wiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcImE4NGMwYzgwMWFjZDM0Nzg4NGZhNTZkZjJmZGI5OGU0NzBlZGQ3ZjBcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL3BlcmYvaW1wcm92ZS1ocm0tcGVyZm9ybWFuY2VcIixcIndvcmtmbG93X3NoYVwiOlwiYTg0YzBjODAxYWNkMzQ3ODg0ZmE1NmRmMmZkYjk4ZTQ3MGVkZDdmMFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvaHJtLXNlcnZpY2U6cmVmOnJlZnMvaGVhZHMvcGVyZi9pbXByb3ZlLWhybS1wZXJmb3JtYW5jZSIsIm9yY2hfaWQiOiJhOGZhNTMwNS02ZjFlLTQyOGEtODEzYy04NjljZjE3YjZkMDYucHVibGlzaC5wdWJsaXNoLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6ImE4ZmE1MzA1LTZmMWUtNDI4YS04MTNjLTg2OWNmMTdiNmQwNiIsInJlcG9zaXRvcnlfaWQiOiIxMTI0NjcyMjM1IiwicmVwb3NpdG9yeV9vd25lcl9pZCI6IjU0ODMxNTE1IiwicmVwb3NpdG9yeV92aXNpYmlsaXR5IjoicHJpdmF0ZSIsInJ1bl9pZCI6IjI2Mzg3MDk1MTUzIiwicnVuX251bWJlciI6IjkzIiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDA3MTY3NSIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOmE4ZmE1MzA1LTZmMWUtNDI4YS04MTNjLTg2OWNmMTdiNmQwNjo5ZDcwNGRiMS00NzYwLTUyMGQtODg2Ny00ZTkyMDZkZDNlZjAgQWN0aW9ucy5SdW5uZXI6YThmYTUzMDUtNmYxZS00MjhhLTgxM2MtODY5Y2YxN2I2ZDA2OjlkNzA0ZGIxLTQ3NjAtNTIwZC04ODY3LTRlOTIwNmRkM2VmMCBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czphOGZhNTMwNS02ZjFlLTQyOGEtODEzYy04NjljZjE3YjZkMDY6OWQ3MDRkYjEtNDc2MC01MjBkLTg4NjctNGU5MjA2ZGQzZWYwIGdlbmVyYXRlX2lkX3Rva2VuOmE4ZmE1MzA1LTZmMWUtNDI4YS04MTNjLTg2OWNmMTdiNmQwNjo5ZDcwNGRiMS00NzYwLTUyMGQtODg2Ny00ZTkyMDZkZDNlZjAgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiJhODRjMGM4MDFhY2QzNDc4ODRmYTU2ZGYyZmRiOThlNDcwZWRkN2YwIiwidHJ1c3RfdGllciI6IjEifQ.WgPPv98KBCPCKSCff1E7R5ODsg-FCp6XEKOZG-7rueB2CFXzc7ixkHM7_rFBIB13abJX6iQmX5Mn7PAFDZt8QOy6PDWaCvYDMdx9bog1Eeq-saoef1v1YGQbKJYCSLLlIz8oycfnd_9SHK208X9Omvw0YWpfJijPgqBDlnxI5bjQCL23fwZLZvObPzu1hpWkTsLg1TsiQQv5E52vfidQBArjTWG9FyefMuBXPc5i1CihvcG0g_qi3zhqoMIjsMCQflD7yJAUik5MxkgzA_xz8krR1Y39fL1QNMMvUGN9P2CHTKJ87W6-x40MWs9YWNMh_zQIMb7SryW98xw-vIAl-Q", 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_fcd872de-e4ed-4e4c-829c-898b6e799437", INVOCATION_ID: "bf15bb79451a42fb8cdb9392452cbdfd", 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: "93", GITHUB_TRIGGERING_ACTOR: "jun-lee-feedme", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag latest --no-git-checks", npm_package_scripts_publish_npm_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag beta --no-git-checks", npm_package_scripts_publish_github: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks", npm_package_scripts_publish_github_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks", npm_config_frozen_lockfile: "", npm_package_devDependencies__vitest_ui: "^1.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies_eslint: "^9.39.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000071675", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "perf/improve-hrm-performance", 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.15-dev.2", 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: "a84c0c801acd347884fa56df2fdb98e470edd7f0", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/perf/improve-hrm-performance", GITHUB_ACTOR: "jun-lee-feedme", 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_595f007c-6cc9-43de-8308-97fd00cdbec1", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "239282862", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "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/151//idtoken/a8fa5305-6f1e-428a-813c-869cf17b6d06/9d704db1-4760-520d-8867-4e9206dd3ef0?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_595f007c-6cc9-43de-8308-97fd00cdbec1", 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_595f007c-6cc9-43de-8308-97fd00cdbec1", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1837
|
+
var Ka = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_f01a4c8a-940b-45a1-aaef-6a320521139d", 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_f01a4c8a-940b-45a1-aaef-6a320521139d", 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.5.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-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1860", ACTIONS_ORCHESTRATION_ID: "54ba7b0f-6dab-4c08-be82-1bb202a43eed.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.10.6", 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: "20260518.149.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:14866", 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.10/x64", GITHUB_RUN_ID: "26441908334", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "549912a0a1137bbe18895864502207e3c841c82d", 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/perf/improve-hrm-performance", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9wZXJmL2ltcHJvdmUtaHJtLXBlcmZvcm1hbmNlXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzc5ODA3MTQ3LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3Nzk3ODQ5NDcsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiJkN2NlYjVlZC03ODNlLTUxYjMtODhkMC0yNDIyYjVjZDNjZjIiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3Nzk3ODQ2NDcsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwianVuLWxlZS1mZWVkbWVcIixcImFjdG9yX2lkXCI6XCIyMzkyODI4NjJcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiNzc4MzgyMjM4ODZcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjIyMGY3ZTc2ZTBkY2EwOTNjNDc1MDM3YjhlN2MwZjU1M2I2MTcyMzlcIixcInJlZlwiOlwicmVmcy9oZWFkcy9wZXJmL2ltcHJvdmUtaHJtLXBlcmZvcm1hbmNlXCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjI2NDQxOTA4MzM0XCIsXCJydW5fbnVtYmVyXCI6XCI5NVwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcIjU0OTkxMmEwYTExMzdiYmUxODg5NTg2NDUwMjIwN2UzYzg0MWM4MmRcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL3BlcmYvaW1wcm92ZS1ocm0tcGVyZm9ybWFuY2VcIixcIndvcmtmbG93X3NoYVwiOlwiNTQ5OTEyYTBhMTEzN2JiZTE4ODk1ODY0NTAyMjA3ZTNjODQxYzgyZFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvaHJtLXNlcnZpY2U6cmVmOnJlZnMvaGVhZHMvcGVyZi9pbXByb3ZlLWhybS1wZXJmb3JtYW5jZSIsIm9yY2hfaWQiOiI1NGJhN2IwZi02ZGFiLTRjMDgtYmU4Mi0xYmIyMDJhNDNlZWQucHVibGlzaC5wdWJsaXNoLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6IjU0YmE3YjBmLTZkYWItNGMwOC1iZTgyLTFiYjIwMmE0M2VlZCIsInJlcG9zaXRvcnlfaWQiOiIxMTI0NjcyMjM1IiwicmVwb3NpdG9yeV9vd25lcl9pZCI6IjU0ODMxNTE1IiwicmVwb3NpdG9yeV92aXNpYmlsaXR5IjoicHJpdmF0ZSIsInJ1bl9pZCI6IjI2NDQxOTA4MzM0IiwicnVuX251bWJlciI6Ijk1IiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDA3MjA2MiIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOjU0YmE3YjBmLTZkYWItNGMwOC1iZTgyLTFiYjIwMmE0M2VlZDpkN2NlYjVlZC03ODNlLTUxYjMtODhkMC0yNDIyYjVjZDNjZjIgQWN0aW9ucy5SdW5uZXI6NTRiYTdiMGYtNmRhYi00YzA4LWJlODItMWJiMjAyYTQzZWVkOmQ3Y2ViNWVkLTc4M2UtNTFiMy04OGQwLTI0MjJiNWNkM2NmMiBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czo1NGJhN2IwZi02ZGFiLTRjMDgtYmU4Mi0xYmIyMDJhNDNlZWQ6ZDdjZWI1ZWQtNzgzZS01MWIzLTg4ZDAtMjQyMmI1Y2QzY2YyIGdlbmVyYXRlX2lkX3Rva2VuOjU0YmE3YjBmLTZkYWItNGMwOC1iZTgyLTFiYjIwMmE0M2VlZDpkN2NlYjVlZC03ODNlLTUxYjMtODhkMC0yNDIyYjVjZDNjZjIgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiI1NDk5MTJhMGExMTM3YmJlMTg4OTU4NjQ1MDIyMDdlM2M4NDFjODJkIiwidHJ1c3RfdGllciI6IjEifQ.l4R4Iuf4s7TyeSSVW_fGgGrlS-z1yM3mhQSYrWUbezK_D_y8tgOo1kF2BjO85hzrf6R4BrWZTAG_9mAihtV2zsvJAfUTzcP23Iph0qAdcgvHBaMuWqhdf3n1_qnU7vkG8FY1JnFFFu7sna7LUKnLKHSxIddfmmmbWH19Z0DAhefnaPxmuJuwP0WE8vGWEcHaOe-tnCZvEZDZfENAubC3cthvAQxrd9cFVetgIcp6XzG4bqnpjcK32IyJ0KpbJ_eDoH-R7Qx4pI6z2LVH62UT198N0LgrWngXRnEm7FHKshUrQncp81hZWzPU5I8rWoNsSANu59KEm9WKaCnhkJLvXA", 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_8fb136d7-bf7f-4783-885a-4d5b94f9587c", INVOCATION_ID: "91b10136d17d45bdb500ac1aef1470f6", 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: "95", GITHUB_TRIGGERING_ACTOR: "jun-lee-feedme", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag latest --no-git-checks", npm_package_scripts_publish_npm_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag beta --no-git-checks", npm_package_scripts_publish_github: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks", npm_package_scripts_publish_github_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks", npm_config_frozen_lockfile: "", npm_package_devDependencies__vitest_ui: "^1.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies_eslint: "^9.39.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000072062", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "perf/improve-hrm-performance", 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.15-dev.4", 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: "549912a0a1137bbe18895864502207e3c841c82d", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/perf/improve-hrm-performance", GITHUB_ACTOR: "jun-lee-feedme", 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_f01a4c8a-940b-45a1-aaef-6a320521139d", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "239282862", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "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/173//idtoken/54ba7b0f-6dab-4c08-be82-1bb202a43eed/d7ceb5ed-783e-51b3-88d0-2422b5cd3cf2?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_f01a4c8a-940b-45a1-aaef-6a320521139d", 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_f01a4c8a-940b-45a1-aaef-6a320521139d", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1839
1838
|
const Qa = "10.0.5";
|
|
1840
|
-
function
|
|
1839
|
+
function za() {
|
|
1841
1840
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (je().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (je().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (je().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (je().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
1842
1841
|
}
|
|
1843
|
-
const
|
|
1842
|
+
const Be = {
|
|
1844
1843
|
// composer module errors
|
|
1845
|
-
UNEXPECTED_RETURN_TYPE:
|
|
1844
|
+
UNEXPECTED_RETURN_TYPE: pa,
|
|
1846
1845
|
// 24
|
|
1847
1846
|
// legacy module errors
|
|
1848
1847
|
INVALID_ARGUMENT: 25,
|
|
@@ -1856,7 +1855,7 @@ const Ye = {
|
|
|
1856
1855
|
function nt(e, ...t) {
|
|
1857
1856
|
return ht(e, null, void 0);
|
|
1858
1857
|
}
|
|
1859
|
-
const Ut = /* @__PURE__ */ Ve("__translateVNode"), Vt = /* @__PURE__ */ Ve("__datetimeParts"),
|
|
1858
|
+
const Ut = /* @__PURE__ */ Ve("__translateVNode"), Vt = /* @__PURE__ */ Ve("__datetimeParts"), Wt = /* @__PURE__ */ Ve("__numberParts"), qa = Ve("__setPluralRules"), Xn = /* @__PURE__ */ Ve("__injectWithOption"), Gt = /* @__PURE__ */ Ve("__dispose");
|
|
1860
1859
|
function st(e) {
|
|
1861
1860
|
if (!K(e))
|
|
1862
1861
|
return e;
|
|
@@ -1891,10 +1890,10 @@ function Zn(e, t) {
|
|
|
1891
1890
|
ye(c, m) && st(c[m]);
|
|
1892
1891
|
return c;
|
|
1893
1892
|
}
|
|
1894
|
-
function
|
|
1893
|
+
function Hn(e) {
|
|
1895
1894
|
return e.type;
|
|
1896
1895
|
}
|
|
1897
|
-
function
|
|
1896
|
+
function er(e, t, n) {
|
|
1898
1897
|
let s = K(t.messages) ? t.messages : q();
|
|
1899
1898
|
"__i18nGlobal" in n && (s = Zn(e.locale.value, {
|
|
1900
1899
|
messages: s,
|
|
@@ -1920,19 +1919,19 @@ function tr(e, t, n) {
|
|
|
1920
1919
|
}
|
|
1921
1920
|
}
|
|
1922
1921
|
function yn(e) {
|
|
1923
|
-
return _e(
|
|
1922
|
+
return _e(Qn, null, e, 0);
|
|
1924
1923
|
}
|
|
1925
|
-
const Nn = "__INTLIFY_META__", kn = () => [],
|
|
1924
|
+
const Nn = "__INTLIFY_META__", kn = () => [], tr = () => !1;
|
|
1926
1925
|
let Tn = 0;
|
|
1927
1926
|
function On(e) {
|
|
1928
1927
|
return (t, n, s, l) => e(n, s, xt() || void 0, l);
|
|
1929
1928
|
}
|
|
1930
|
-
const
|
|
1929
|
+
const nr = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
1931
1930
|
const e = xt();
|
|
1932
1931
|
let t = null;
|
|
1933
|
-
return e && (t =
|
|
1932
|
+
return e && (t = Hn(e)[Nn]) ? { [Nn]: t } : null;
|
|
1934
1933
|
};
|
|
1935
|
-
function
|
|
1934
|
+
function sr(e = {}) {
|
|
1936
1935
|
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = en ? Ue : Kn;
|
|
1937
1936
|
let c = ce(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1938
1937
|
const m = a(
|
|
@@ -1941,11 +1940,11 @@ function ar(e = {}) {
|
|
|
1941
1940
|
), u = a(
|
|
1942
1941
|
// prettier-ignore
|
|
1943
1942
|
t && c ? t.fallbackLocale.value : F(e.fallbackLocale) || ue(e.fallbackLocale) || $(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : m.value
|
|
1944
|
-
), p = a(Zn(m.value, e)), O = a($(e.datetimeFormats) ? e.datetimeFormats : { [m.value]: {} }),
|
|
1943
|
+
), p = a(Zn(m.value, e)), O = a($(e.datetimeFormats) ? e.datetimeFormats : { [m.value]: {} }), R = a($(e.numberFormats) ? e.numberFormats : { [m.value]: {} });
|
|
1945
1944
|
let y = t ? t.missingWarn : ce(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, P = t ? t.fallbackWarn : ce(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, V = t ? t.fallbackRoot : ce(e.fallbackRoot) ? e.fallbackRoot : !0, L = !!e.fallbackFormat, M = le(e.missing) ? e.missing : null, i = le(e.missing) ? On(e.missing) : null, d = le(e.postTranslation) ? e.postTranslation : null, N = t ? t.warnHtmlMessage : ce(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, _ = !!e.escapeParameter;
|
|
1946
1945
|
const w = t ? t.modifiers : $(e.modifiers) ? e.modifiers : {};
|
|
1947
|
-
let S = e.pluralRules || t && t.pluralRules,
|
|
1948
|
-
|
|
1946
|
+
let S = e.pluralRules || t && t.pluralRules, g;
|
|
1947
|
+
g = (() => {
|
|
1949
1948
|
s && fn(null);
|
|
1950
1949
|
const f = {
|
|
1951
1950
|
version: Qa,
|
|
@@ -1966,185 +1965,185 @@ function ar(e = {}) {
|
|
|
1966
1965
|
messageCompiler: e.messageCompiler,
|
|
1967
1966
|
__meta: { framework: "vue" }
|
|
1968
1967
|
};
|
|
1969
|
-
f.datetimeFormats = O.value, f.numberFormats =
|
|
1970
|
-
const
|
|
1971
|
-
return s && fn(
|
|
1972
|
-
})(),
|
|
1968
|
+
f.datetimeFormats = O.value, f.numberFormats = R.value, f.__datetimeFormatters = $(g) ? g.__datetimeFormatters : void 0, f.__numberFormatters = $(g) ? g.__numberFormatters : void 0;
|
|
1969
|
+
const I = Pa(f);
|
|
1970
|
+
return s && fn(I), I;
|
|
1971
|
+
})(), ze(g, m.value, u.value);
|
|
1973
1972
|
function h() {
|
|
1974
1973
|
return [
|
|
1975
1974
|
m.value,
|
|
1976
1975
|
u.value,
|
|
1977
1976
|
p.value,
|
|
1978
1977
|
O.value,
|
|
1979
|
-
|
|
1978
|
+
R.value
|
|
1980
1979
|
];
|
|
1981
1980
|
}
|
|
1982
|
-
const
|
|
1981
|
+
const E = te({
|
|
1983
1982
|
get: () => m.value,
|
|
1984
1983
|
set: (f) => {
|
|
1985
|
-
m.value = f,
|
|
1984
|
+
m.value = f, g.locale = m.value;
|
|
1986
1985
|
}
|
|
1987
1986
|
}), A = te({
|
|
1988
1987
|
get: () => u.value,
|
|
1989
1988
|
set: (f) => {
|
|
1990
|
-
u.value = f,
|
|
1989
|
+
u.value = f, g.fallbackLocale = u.value, ze(g, m.value, f);
|
|
1991
1990
|
}
|
|
1992
|
-
}),
|
|
1991
|
+
}), C = te(() => p.value), x = /* @__PURE__ */ te(() => O.value), W = /* @__PURE__ */ te(() => R.value);
|
|
1993
1992
|
function D() {
|
|
1994
1993
|
return le(d) ? d : null;
|
|
1995
1994
|
}
|
|
1996
1995
|
function T(f) {
|
|
1997
|
-
d = f,
|
|
1996
|
+
d = f, g.postTranslation = f;
|
|
1998
1997
|
}
|
|
1999
1998
|
function k() {
|
|
2000
1999
|
return M;
|
|
2001
2000
|
}
|
|
2002
|
-
function
|
|
2003
|
-
f !== null && (i = On(f)), M = f,
|
|
2001
|
+
function H(f) {
|
|
2002
|
+
f !== null && (i = On(f)), M = f, g.missing = i;
|
|
2004
2003
|
}
|
|
2005
|
-
const
|
|
2004
|
+
const G = (f, I, ee, ie, Pe, at) => {
|
|
2006
2005
|
h();
|
|
2007
2006
|
let xe;
|
|
2008
2007
|
try {
|
|
2009
|
-
|
|
2008
|
+
Ka.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (g.fallbackContext = t ? wa() : void 0), xe = f(g);
|
|
2010
2009
|
} finally {
|
|
2011
|
-
__INTLIFY_PROD_DEVTOOLS__, s || (
|
|
2010
|
+
__INTLIFY_PROD_DEVTOOLS__, s || (g.fallbackContext = void 0);
|
|
2012
2011
|
}
|
|
2013
2012
|
if (ee !== "translate exists" && // for not `te` (e.g `t`)
|
|
2014
|
-
de(xe) && xe ===
|
|
2015
|
-
const [Jn, Yr] =
|
|
2013
|
+
de(xe) && xe === bt || ee === "translate exists" && !xe) {
|
|
2014
|
+
const [Jn, Yr] = I();
|
|
2016
2015
|
return t && V ? ie(t) : Pe(Jn);
|
|
2017
2016
|
} else {
|
|
2018
2017
|
if (at(xe))
|
|
2019
2018
|
return xe;
|
|
2020
|
-
throw nt(
|
|
2019
|
+
throw nt(Be.UNEXPECTED_RETURN_TYPE);
|
|
2021
2020
|
}
|
|
2022
2021
|
};
|
|
2023
2022
|
function j(...f) {
|
|
2024
|
-
return
|
|
2023
|
+
return G((I) => Reflect.apply(En, null, [I, ...f]), () => jt(...f), "translate", (I) => Reflect.apply(I.t, I, [...f]), (I) => I, (I) => F(I));
|
|
2025
2024
|
}
|
|
2026
2025
|
function ne(...f) {
|
|
2027
|
-
const [
|
|
2026
|
+
const [I, ee, ie] = f;
|
|
2028
2027
|
if (ie && !K(ie))
|
|
2029
|
-
throw nt(
|
|
2030
|
-
return j(
|
|
2028
|
+
throw nt(Be.INVALID_ARGUMENT);
|
|
2029
|
+
return j(I, ee, fe({ resolvedMessage: !0 }, ie || {}));
|
|
2031
2030
|
}
|
|
2032
2031
|
function J(...f) {
|
|
2033
|
-
return
|
|
2032
|
+
return G((I) => Reflect.apply(pn, null, [I, ...f]), () => Pt(...f), "datetime format", (I) => Reflect.apply(I.d, I, [...f]), () => mn, (I) => F(I));
|
|
2034
2033
|
}
|
|
2035
2034
|
function X(...f) {
|
|
2036
|
-
return
|
|
2035
|
+
return G((I) => Reflect.apply(bn, null, [I, ...f]), () => Ft(...f), "number format", (I) => Reflect.apply(I.n, I, [...f]), () => mn, (I) => F(I));
|
|
2037
2036
|
}
|
|
2038
|
-
function
|
|
2039
|
-
return f.map((
|
|
2037
|
+
function Q(f) {
|
|
2038
|
+
return f.map((I) => F(I) || de(I) || ce(I) ? yn(String(I)) : I);
|
|
2040
2039
|
}
|
|
2041
2040
|
const re = {
|
|
2042
|
-
normalize:
|
|
2041
|
+
normalize: Q,
|
|
2043
2042
|
interpolate: (f) => f,
|
|
2044
2043
|
type: "vnode"
|
|
2045
2044
|
};
|
|
2046
|
-
function
|
|
2047
|
-
return
|
|
2045
|
+
function Ie(...f) {
|
|
2046
|
+
return G((I) => {
|
|
2048
2047
|
let ee;
|
|
2049
|
-
const ie =
|
|
2048
|
+
const ie = I;
|
|
2050
2049
|
try {
|
|
2051
|
-
ie.processor = re, ee = Reflect.apply(
|
|
2050
|
+
ie.processor = re, ee = Reflect.apply(En, null, [ie, ...f]);
|
|
2052
2051
|
} finally {
|
|
2053
2052
|
ie.processor = null;
|
|
2054
2053
|
}
|
|
2055
2054
|
return ee;
|
|
2056
|
-
}, () => jt(...f), "translate", (
|
|
2055
|
+
}, () => jt(...f), "translate", (I) => I[Ut](...f), (I) => [yn(I)], (I) => ue(I));
|
|
2057
2056
|
}
|
|
2058
2057
|
function Je(...f) {
|
|
2059
|
-
return
|
|
2058
|
+
return G((I) => Reflect.apply(bn, null, [I, ...f]), () => Ft(...f), "number format", (I) => I[Wt](...f), kn, (I) => F(I) || ue(I));
|
|
2060
2059
|
}
|
|
2061
2060
|
function $e(...f) {
|
|
2062
|
-
return
|
|
2061
|
+
return G((I) => Reflect.apply(pn, null, [I, ...f]), () => Pt(...f), "datetime format", (I) => I[Vt](...f), kn, (I) => F(I) || ue(I));
|
|
2063
2062
|
}
|
|
2064
2063
|
function vt(f) {
|
|
2065
|
-
S = f,
|
|
2064
|
+
S = f, g.pluralRules = S;
|
|
2066
2065
|
}
|
|
2067
|
-
function
|
|
2068
|
-
return
|
|
2066
|
+
function It(f, I) {
|
|
2067
|
+
return G(() => {
|
|
2069
2068
|
if (!f)
|
|
2070
2069
|
return !1;
|
|
2071
|
-
const ee = F(
|
|
2072
|
-
return
|
|
2073
|
-
}, () => [f], "translate exists", (ee) => Reflect.apply(ee.te, ee, [f,
|
|
2070
|
+
const ee = F(I) ? I : m.value, ie = We(ee), Pe = g.messageResolver(ie, f);
|
|
2071
|
+
return Ye(Pe) || ve(Pe) || F(Pe);
|
|
2072
|
+
}, () => [f], "translate exists", (ee) => Reflect.apply(ee.te, ee, [f, I]), tr, (ee) => ce(ee));
|
|
2074
2073
|
}
|
|
2075
|
-
function
|
|
2076
|
-
let
|
|
2077
|
-
const ee = Mn(
|
|
2074
|
+
function Et(f) {
|
|
2075
|
+
let I = null;
|
|
2076
|
+
const ee = Mn(g, u.value, m.value);
|
|
2078
2077
|
for (let ie = 0; ie < ee.length; ie++) {
|
|
2079
|
-
const Pe = p.value[ee[ie]] || {}, at =
|
|
2078
|
+
const Pe = p.value[ee[ie]] || {}, at = g.messageResolver(Pe, f);
|
|
2080
2079
|
if (at != null) {
|
|
2081
|
-
|
|
2080
|
+
I = at;
|
|
2082
2081
|
break;
|
|
2083
2082
|
}
|
|
2084
2083
|
}
|
|
2085
|
-
return
|
|
2084
|
+
return I;
|
|
2086
2085
|
}
|
|
2087
2086
|
function Ke(f) {
|
|
2088
|
-
const
|
|
2089
|
-
return
|
|
2087
|
+
const I = Et(f);
|
|
2088
|
+
return I ?? (t ? t.tm(f) || {} : {});
|
|
2090
2089
|
}
|
|
2091
|
-
function
|
|
2090
|
+
function We(f) {
|
|
2092
2091
|
return p.value[f] || {};
|
|
2093
2092
|
}
|
|
2094
|
-
function
|
|
2093
|
+
function Ge(f, I) {
|
|
2095
2094
|
if (l) {
|
|
2096
|
-
const ee = { [f]:
|
|
2095
|
+
const ee = { [f]: I };
|
|
2097
2096
|
for (const ie in ee)
|
|
2098
2097
|
ye(ee, ie) && st(ee[ie]);
|
|
2099
|
-
|
|
2098
|
+
I = ee[f];
|
|
2100
2099
|
}
|
|
2101
|
-
p.value[f] =
|
|
2100
|
+
p.value[f] = I, g.messages = p.value;
|
|
2102
2101
|
}
|
|
2103
|
-
function
|
|
2102
|
+
function Qe(f, I) {
|
|
2104
2103
|
p.value[f] = p.value[f] || {};
|
|
2105
|
-
const ee = { [f]:
|
|
2104
|
+
const ee = { [f]: I };
|
|
2106
2105
|
if (l)
|
|
2107
2106
|
for (const ie in ee)
|
|
2108
2107
|
ye(ee, ie) && st(ee[ie]);
|
|
2109
|
-
|
|
2108
|
+
I = ee[f], mt(I, p.value[f]), g.messages = p.value;
|
|
2110
2109
|
}
|
|
2111
2110
|
function yt(f) {
|
|
2112
2111
|
return O.value[f] || {};
|
|
2113
2112
|
}
|
|
2114
|
-
function r(f,
|
|
2115
|
-
O.value[f] =
|
|
2113
|
+
function r(f, I) {
|
|
2114
|
+
O.value[f] = I, g.datetimeFormats = O.value, hn(g, f, I);
|
|
2116
2115
|
}
|
|
2117
|
-
function o(f,
|
|
2118
|
-
O.value[f] = fe(O.value[f] || {},
|
|
2116
|
+
function o(f, I) {
|
|
2117
|
+
O.value[f] = fe(O.value[f] || {}, I), g.datetimeFormats = O.value, hn(g, f, I);
|
|
2119
2118
|
}
|
|
2120
|
-
function
|
|
2121
|
-
return
|
|
2119
|
+
function b(f) {
|
|
2120
|
+
return R.value[f] || {};
|
|
2122
2121
|
}
|
|
2123
|
-
function U(f,
|
|
2124
|
-
|
|
2122
|
+
function U(f, I) {
|
|
2123
|
+
R.value[f] = I, g.numberFormats = R.value, gn(g, f, I);
|
|
2125
2124
|
}
|
|
2126
|
-
function oe(f,
|
|
2127
|
-
|
|
2125
|
+
function oe(f, I) {
|
|
2126
|
+
R.value[f] = fe(R.value[f] || {}, I), g.numberFormats = R.value, gn(g, f, I);
|
|
2128
2127
|
}
|
|
2129
2128
|
Tn++, t && en && (St(t.locale, (f) => {
|
|
2130
|
-
c && (m.value = f,
|
|
2129
|
+
c && (m.value = f, g.locale = f, ze(g, m.value, u.value));
|
|
2131
2130
|
}), St(t.fallbackLocale, (f) => {
|
|
2132
|
-
c && (u.value = f,
|
|
2131
|
+
c && (u.value = f, g.fallbackLocale = f, ze(g, m.value, u.value));
|
|
2133
2132
|
}));
|
|
2134
2133
|
const Z = {
|
|
2135
2134
|
id: Tn,
|
|
2136
|
-
locale:
|
|
2135
|
+
locale: E,
|
|
2137
2136
|
fallbackLocale: A,
|
|
2138
2137
|
get inheritLocale() {
|
|
2139
2138
|
return c;
|
|
2140
2139
|
},
|
|
2141
2140
|
set inheritLocale(f) {
|
|
2142
|
-
c = f, f && t && (m.value = t.locale.value, u.value = t.fallbackLocale.value,
|
|
2141
|
+
c = f, f && t && (m.value = t.locale.value, u.value = t.fallbackLocale.value, ze(g, m.value, u.value));
|
|
2143
2142
|
},
|
|
2144
2143
|
get availableLocales() {
|
|
2145
2144
|
return Object.keys(p.value).sort();
|
|
2146
2145
|
},
|
|
2147
|
-
messages:
|
|
2146
|
+
messages: C,
|
|
2148
2147
|
get modifiers() {
|
|
2149
2148
|
return w;
|
|
2150
2149
|
},
|
|
@@ -2158,13 +2157,13 @@ function ar(e = {}) {
|
|
|
2158
2157
|
return y;
|
|
2159
2158
|
},
|
|
2160
2159
|
set missingWarn(f) {
|
|
2161
|
-
y = f,
|
|
2160
|
+
y = f, g.missingWarn = y;
|
|
2162
2161
|
},
|
|
2163
2162
|
get fallbackWarn() {
|
|
2164
2163
|
return P;
|
|
2165
2164
|
},
|
|
2166
2165
|
set fallbackWarn(f) {
|
|
2167
|
-
P = f,
|
|
2166
|
+
P = f, g.fallbackWarn = P;
|
|
2168
2167
|
},
|
|
2169
2168
|
get fallbackRoot() {
|
|
2170
2169
|
return V;
|
|
@@ -2176,31 +2175,31 @@ function ar(e = {}) {
|
|
|
2176
2175
|
return L;
|
|
2177
2176
|
},
|
|
2178
2177
|
set fallbackFormat(f) {
|
|
2179
|
-
L = f,
|
|
2178
|
+
L = f, g.fallbackFormat = L;
|
|
2180
2179
|
},
|
|
2181
2180
|
get warnHtmlMessage() {
|
|
2182
2181
|
return N;
|
|
2183
2182
|
},
|
|
2184
2183
|
set warnHtmlMessage(f) {
|
|
2185
|
-
N = f,
|
|
2184
|
+
N = f, g.warnHtmlMessage = f;
|
|
2186
2185
|
},
|
|
2187
2186
|
get escapeParameter() {
|
|
2188
2187
|
return _;
|
|
2189
2188
|
},
|
|
2190
2189
|
set escapeParameter(f) {
|
|
2191
|
-
_ = f,
|
|
2190
|
+
_ = f, g.escapeParameter = f;
|
|
2192
2191
|
},
|
|
2193
2192
|
t: j,
|
|
2194
|
-
getLocaleMessage:
|
|
2195
|
-
setLocaleMessage:
|
|
2196
|
-
mergeLocaleMessage:
|
|
2193
|
+
getLocaleMessage: We,
|
|
2194
|
+
setLocaleMessage: Ge,
|
|
2195
|
+
mergeLocaleMessage: Qe,
|
|
2197
2196
|
getPostTranslationHandler: D,
|
|
2198
2197
|
setPostTranslationHandler: T,
|
|
2199
2198
|
getMissingHandler: k,
|
|
2200
|
-
setMissingHandler:
|
|
2201
|
-
[
|
|
2199
|
+
setMissingHandler: H,
|
|
2200
|
+
[qa]: vt
|
|
2202
2201
|
};
|
|
2203
|
-
return Z.datetimeFormats =
|
|
2202
|
+
return Z.datetimeFormats = x, Z.numberFormats = W, Z.rt = ne, Z.te = It, Z.tm = Ke, Z.d = J, Z.n = X, Z.getDateTimeFormat = yt, Z.setDateTimeFormat = r, Z.mergeDateTimeFormat = o, Z.getNumberFormat = b, Z.setNumberFormat = U, Z.mergeNumberFormat = oe, Z[Xn] = n, Z[Ut] = Ie, Z[Vt] = $e, Z[Wt] = Je, Z;
|
|
2204
2203
|
}
|
|
2205
2204
|
const Kt = {
|
|
2206
2205
|
tag: {
|
|
@@ -2220,18 +2219,18 @@ const Kt = {
|
|
|
2220
2219
|
type: Object
|
|
2221
2220
|
}
|
|
2222
2221
|
};
|
|
2223
|
-
function
|
|
2222
|
+
function ar({ slots: e }, t) {
|
|
2224
2223
|
return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((s, l) => [
|
|
2225
2224
|
...s,
|
|
2226
2225
|
// prettier-ignore
|
|
2227
|
-
...l.type ===
|
|
2226
|
+
...l.type === Ee ? l.children : [l]
|
|
2228
2227
|
], []) : t.reduce((n, s) => {
|
|
2229
2228
|
const l = e[s];
|
|
2230
2229
|
return l && (n[s] = l()), n;
|
|
2231
2230
|
}, q());
|
|
2232
2231
|
}
|
|
2233
|
-
function
|
|
2234
|
-
return
|
|
2232
|
+
function Yn() {
|
|
2233
|
+
return Ee;
|
|
2235
2234
|
}
|
|
2236
2235
|
fe({
|
|
2237
2236
|
keypath: {
|
|
@@ -2243,10 +2242,10 @@ fe({
|
|
|
2243
2242
|
validator: (e) => de(e) || !isNaN(e)
|
|
2244
2243
|
}
|
|
2245
2244
|
}, Kt);
|
|
2246
|
-
function
|
|
2245
|
+
function rr(e) {
|
|
2247
2246
|
return ue(e) && !F(e[0]);
|
|
2248
2247
|
}
|
|
2249
|
-
function
|
|
2248
|
+
function Bn(e, t, n, s) {
|
|
2250
2249
|
const { slots: l, attrs: a } = t;
|
|
2251
2250
|
return () => {
|
|
2252
2251
|
const c = { part: !0 };
|
|
@@ -2256,10 +2255,10 @@ function Yn(e, t, n, s) {
|
|
|
2256
2255
|
let p = [c.key];
|
|
2257
2256
|
ue(u) ? p = u.map((y, P) => {
|
|
2258
2257
|
const V = l[y.type], L = V ? V({ [y.type]: y.value, index: P, parts: u }) : [y.value];
|
|
2259
|
-
return
|
|
2258
|
+
return rr(L) && (L[0].key = `${y.type}-${P}`), L;
|
|
2260
2259
|
}) : F(u) && (p = [u]);
|
|
2261
|
-
const O = fe(q(), a),
|
|
2262
|
-
return Sn(
|
|
2260
|
+
const O = fe(q(), a), R = F(e.tag) || K(e.tag) ? e.tag : Yn();
|
|
2261
|
+
return Sn(R, O, p);
|
|
2263
2262
|
};
|
|
2264
2263
|
}
|
|
2265
2264
|
fe({
|
|
@@ -2280,44 +2279,44 @@ fe({
|
|
|
2280
2279
|
type: [String, Object]
|
|
2281
2280
|
}
|
|
2282
2281
|
}, Kt);
|
|
2283
|
-
const
|
|
2284
|
-
function
|
|
2282
|
+
const lr = /* @__PURE__ */ Ve("global-vue-i18n");
|
|
2283
|
+
function gt(e = {}) {
|
|
2285
2284
|
const t = xt();
|
|
2286
2285
|
if (t == null)
|
|
2287
|
-
throw nt(
|
|
2286
|
+
throw nt(Be.MUST_BE_CALL_SETUP_TOP);
|
|
2288
2287
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
2289
|
-
throw nt(
|
|
2290
|
-
const n =
|
|
2288
|
+
throw nt(Be.NOT_INSTALLED);
|
|
2289
|
+
const n = or(t), s = cr(n), l = Hn(t), a = ir(e, l);
|
|
2291
2290
|
if (a === "global")
|
|
2292
|
-
return
|
|
2291
|
+
return er(s, e, l), s;
|
|
2293
2292
|
if (a === "parent") {
|
|
2294
|
-
let u =
|
|
2293
|
+
let u = ur(n, t, e.__useComponent);
|
|
2295
2294
|
return u == null && (u = s), u;
|
|
2296
2295
|
}
|
|
2297
2296
|
const c = n;
|
|
2298
2297
|
let m = c.__getInstance(t);
|
|
2299
2298
|
if (m == null) {
|
|
2300
2299
|
const u = fe({}, e);
|
|
2301
|
-
"__i18n" in l && (u.__i18n = l.__i18n), s && (u.__root = s), m =
|
|
2300
|
+
"__i18n" in l && (u.__i18n = l.__i18n), s && (u.__root = s), m = sr(u), c.__composerExtend && (m[Gt] = c.__composerExtend(m)), dr(c, t, m), c.__setInstance(t, m);
|
|
2302
2301
|
}
|
|
2303
2302
|
return m;
|
|
2304
2303
|
}
|
|
2305
|
-
function
|
|
2306
|
-
const t = $n(e.isCE ?
|
|
2304
|
+
function or(e) {
|
|
2305
|
+
const t = $n(e.isCE ? lr : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
2307
2306
|
if (!t)
|
|
2308
|
-
throw nt(e.isCE ?
|
|
2307
|
+
throw nt(e.isCE ? Be.NOT_INSTALLED_WITH_PROVIDE : Be.UNEXPECTED_ERROR);
|
|
2309
2308
|
return t;
|
|
2310
2309
|
}
|
|
2311
|
-
function
|
|
2310
|
+
function ir(e, t) {
|
|
2312
2311
|
return pt(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
|
|
2313
2312
|
}
|
|
2314
|
-
function
|
|
2313
|
+
function cr(e) {
|
|
2315
2314
|
return e.mode === "composition" ? e.global : e.global.__composer;
|
|
2316
2315
|
}
|
|
2317
|
-
function
|
|
2316
|
+
function ur(e, t, n = !1) {
|
|
2318
2317
|
let s = null;
|
|
2319
2318
|
const l = t.root;
|
|
2320
|
-
let a =
|
|
2319
|
+
let a = mr(t, n);
|
|
2321
2320
|
for (; a != null; ) {
|
|
2322
2321
|
const c = e;
|
|
2323
2322
|
if (e.mode === "composition")
|
|
@@ -2332,25 +2331,25 @@ function mr(e, t, n = !1) {
|
|
|
2332
2331
|
}
|
|
2333
2332
|
return s;
|
|
2334
2333
|
}
|
|
2335
|
-
function
|
|
2334
|
+
function mr(e, t = !1) {
|
|
2336
2335
|
return e == null ? null : t && e.vnode.ctx || e.parent;
|
|
2337
2336
|
}
|
|
2338
|
-
function
|
|
2337
|
+
function dr(e, t, n) {
|
|
2339
2338
|
Xt(() => {
|
|
2340
2339
|
}, t), An(() => {
|
|
2341
2340
|
const s = n;
|
|
2342
2341
|
e.__deleteInstance(t);
|
|
2343
|
-
const l = s[
|
|
2344
|
-
l && (l(), delete s[
|
|
2342
|
+
const l = s[Gt];
|
|
2343
|
+
l && (l(), delete s[Gt]);
|
|
2345
2344
|
}, t);
|
|
2346
2345
|
}
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2346
|
+
za();
|
|
2347
|
+
Ra(ua);
|
|
2348
|
+
Aa(Oa);
|
|
2349
|
+
Sa(Mn);
|
|
2351
2350
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
2352
2351
|
const e = je();
|
|
2353
|
-
e.__INTLIFY__ = !0,
|
|
2352
|
+
e.__INTLIFY__ = !0, ma(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
2354
2353
|
}
|
|
2355
2354
|
const it = /* @__PURE__ */ Ne({
|
|
2356
2355
|
__name: "InheritPermissionTooltip",
|
|
@@ -2361,21 +2360,21 @@ const it = /* @__PURE__ */ Ne({
|
|
|
2361
2360
|
}
|
|
2362
2361
|
},
|
|
2363
2362
|
setup(e) {
|
|
2364
|
-
const { t } =
|
|
2363
|
+
const { t } = gt();
|
|
2365
2364
|
return (n, s) => {
|
|
2366
2365
|
const l = Ze("FmIcon"), a = Ze("FmTooltip");
|
|
2367
|
-
return
|
|
2366
|
+
return Y(), Se(a, {
|
|
2368
2367
|
variant: "plain",
|
|
2369
2368
|
placement: "right",
|
|
2370
2369
|
"z-index": 50
|
|
2371
2370
|
}, {
|
|
2372
|
-
content:
|
|
2373
|
-
ae("div", null, Ae(
|
|
2374
|
-
(
|
|
2371
|
+
content: be(() => [
|
|
2372
|
+
ae("div", null, Ae(B(t)("team.memberForm.permissions.inherited")), 1),
|
|
2373
|
+
(Y(!0), se(Ee, null, he(e.item.setNames, (c) => (Y(), se("div", { key: c }, [
|
|
2375
2374
|
ae("div", null, "- " + Ae(c), 1)
|
|
2376
2375
|
]))), 128))
|
|
2377
2376
|
]),
|
|
2378
|
-
default:
|
|
2377
|
+
default: be(() => [
|
|
2379
2378
|
_e(l, {
|
|
2380
2379
|
name: "admin_panel_settings",
|
|
2381
2380
|
size: "sm",
|
|
@@ -2386,13 +2385,13 @@ const it = /* @__PURE__ */ Ne({
|
|
|
2386
2385
|
});
|
|
2387
2386
|
};
|
|
2388
2387
|
}
|
|
2389
|
-
}),
|
|
2388
|
+
}), fr = { class: "space-y-16" }, _r = {
|
|
2390
2389
|
key: 0,
|
|
2391
2390
|
class: "flex fm-typo-en-title-sm-600"
|
|
2392
|
-
},
|
|
2391
|
+
}, pr = {
|
|
2393
2392
|
key: 0,
|
|
2394
2393
|
class: "q-mr-xs text-red col"
|
|
2395
|
-
},
|
|
2394
|
+
}, hr = { class: "form-input" }, br = /* @__PURE__ */ Ne({
|
|
2396
2395
|
__name: "AppForm",
|
|
2397
2396
|
props: {
|
|
2398
2397
|
title: {
|
|
@@ -2410,33 +2409,33 @@ const it = /* @__PURE__ */ Ne({
|
|
|
2410
2409
|
},
|
|
2411
2410
|
setup(e) {
|
|
2412
2411
|
const t = e;
|
|
2413
|
-
return (n, s) => (
|
|
2414
|
-
|
|
2415
|
-
t.title ? (
|
|
2412
|
+
return (n, s) => (Y(), se("div", fr, [
|
|
2413
|
+
ge(n.$slots, "top", {}, () => [
|
|
2414
|
+
t.title ? (Y(), se("div", _r, [
|
|
2416
2415
|
ae("div", null, [
|
|
2417
|
-
t.required ? (
|
|
2418
|
-
|
|
2416
|
+
t.required ? (Y(), se("span", pr, "*")) : Oe("", !0),
|
|
2417
|
+
zn(Ae(t.title), 1)
|
|
2419
2418
|
]),
|
|
2420
|
-
|
|
2419
|
+
ge(n.$slots, "title-right")
|
|
2421
2420
|
])) : Oe("", !0)
|
|
2422
2421
|
]),
|
|
2423
|
-
ae("div",
|
|
2424
|
-
|
|
2422
|
+
ae("div", hr, [
|
|
2423
|
+
ge(n.$slots, "default")
|
|
2425
2424
|
])
|
|
2426
2425
|
]));
|
|
2427
2426
|
}
|
|
2428
2427
|
});
|
|
2429
|
-
function
|
|
2428
|
+
function gr(e, t) {
|
|
2430
2429
|
let n = "", s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
2431
2430
|
const l = s.length;
|
|
2432
2431
|
for (let a = 0; a < e; a++)
|
|
2433
2432
|
n += s.charAt(Math.floor(Math.random() * l));
|
|
2434
2433
|
return n;
|
|
2435
2434
|
}
|
|
2436
|
-
const
|
|
2435
|
+
const vr = { class: "col flex items-center" }, Ir = {
|
|
2437
2436
|
key: 1,
|
|
2438
2437
|
class: "q-pa-sm form-error-message text-error"
|
|
2439
|
-
},
|
|
2438
|
+
}, Qt = /* @__PURE__ */ Ne({
|
|
2440
2439
|
__name: "CheckboxInput",
|
|
2441
2440
|
props: {
|
|
2442
2441
|
options: {
|
|
@@ -2494,9 +2493,9 @@ const Er = { class: "col flex items-center" }, Ir = {
|
|
|
2494
2493
|
},
|
|
2495
2494
|
emits: ["update:model-value"],
|
|
2496
2495
|
setup(e, { emit: t }) {
|
|
2497
|
-
const n = e, s = t, { t: l } = _t(), a = Ue(!1), c = qn(), m = te(() => 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-${
|
|
2496
|
+
const n = e, s = t, { t: l } = _t(), a = Ue(!1), c = qn(), m = te(() => 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-${gr(6)}`, p = te(() => m.value !== !0), O = te(
|
|
2498
2497
|
() => n.modelValue.filter((L) => n.options.some((M) => M.value === L))
|
|
2499
|
-
),
|
|
2498
|
+
), R = te(
|
|
2500
2499
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
2501
2500
|
), y = te(() => n.options.length > 0 && n.options.length === O.value.length);
|
|
2502
2501
|
function P() {
|
|
@@ -2514,27 +2513,27 @@ const Er = { class: "col flex items-center" }, Ir = {
|
|
|
2514
2513
|
}
|
|
2515
2514
|
return (L, M) => {
|
|
2516
2515
|
const i = Ze("FmCheckbox");
|
|
2517
|
-
return
|
|
2516
|
+
return Y(), Se(br, {
|
|
2518
2517
|
id: u,
|
|
2519
2518
|
title: e.title,
|
|
2520
2519
|
required: !1
|
|
2521
2520
|
}, {
|
|
2522
|
-
top:
|
|
2523
|
-
|
|
2521
|
+
top: be(() => [
|
|
2522
|
+
ge(L.$slots, "top")
|
|
2524
2523
|
]),
|
|
2525
|
-
default:
|
|
2526
|
-
n.showAllToggle ? (
|
|
2524
|
+
default: be(() => [
|
|
2525
|
+
n.showAllToggle ? (Y(), Se(i, {
|
|
2527
2526
|
key: 0,
|
|
2528
2527
|
"model-value": y.value,
|
|
2529
2528
|
disabled: e.disable,
|
|
2530
|
-
label:
|
|
2529
|
+
label: R.value,
|
|
2531
2530
|
style: ct(`margin-bottom: ${n.gutter}px`),
|
|
2532
2531
|
size: "sm",
|
|
2533
2532
|
dense: "",
|
|
2534
|
-
value:
|
|
2533
|
+
value: R.value,
|
|
2535
2534
|
"onUpdate:modelValue": P
|
|
2536
2535
|
}, null, 8, ["model-value", "disabled", "label", "style", "value"])) : Oe("", !0),
|
|
2537
|
-
(
|
|
2536
|
+
(Y(!0), se(Ee, null, he(e.options, (d, N) => (Y(), se("div", {
|
|
2538
2537
|
key: d.value,
|
|
2539
2538
|
style: ct(`margin-bottom: ${N < e.options.length - 1 ? n.gutter : 0}px`),
|
|
2540
2539
|
class: qe(N < e.options.length - 1 ? "q-mb-sm" : "")
|
|
@@ -2542,7 +2541,7 @@ const Er = { class: "col flex items-center" }, Ir = {
|
|
|
2542
2541
|
ae("div", {
|
|
2543
2542
|
class: qe(["row justify-between", e.alignCenter ? "items-center" : "items-start"])
|
|
2544
2543
|
}, [
|
|
2545
|
-
ae("div",
|
|
2544
|
+
ae("div", vr, [
|
|
2546
2545
|
_e(i, {
|
|
2547
2546
|
"model-value": e.modelValue.includes(d.value),
|
|
2548
2547
|
disabled: e.disable || d.disabled,
|
|
@@ -2551,35 +2550,35 @@ const Er = { class: "col flex items-center" }, Ir = {
|
|
|
2551
2550
|
value: d.label,
|
|
2552
2551
|
"onUpdate:modelValue": (_) => V(d.value, _)
|
|
2553
2552
|
}, null, 8, ["model-value", "disabled", "label", "value", "onUpdate:modelValue"]),
|
|
2554
|
-
|
|
2553
|
+
ge(L.$slots, `checkbox-${d.key || d.value}-append`, {
|
|
2555
2554
|
option: d,
|
|
2556
2555
|
selected: e.modelValue.includes(d.value)
|
|
2557
2556
|
})
|
|
2558
2557
|
]),
|
|
2559
|
-
|
|
2558
|
+
B(c)[`checkbox-${d.key || d.value}-end`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (Y(), se("div", {
|
|
2560
2559
|
key: 0,
|
|
2561
2560
|
class: qe([{ "q-checkbox disabled": e.disable || d.disabled }, "col"])
|
|
2562
2561
|
}, [
|
|
2563
|
-
|
|
2562
|
+
ge(L.$slots, `checkbox-${d.key || d.value}-end`, {
|
|
2564
2563
|
option: d,
|
|
2565
2564
|
value: e.modelValue.includes(d.value),
|
|
2566
2565
|
disable: e.disable || d.disabled
|
|
2567
2566
|
})
|
|
2568
2567
|
], 2)) : Oe("", !0)
|
|
2569
2568
|
], 2),
|
|
2570
|
-
|
|
2569
|
+
B(c)[`checkbox-${d.key || d.value}-bottom`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (Y(), se("div", {
|
|
2571
2570
|
key: 0,
|
|
2572
2571
|
class: qe(["q-mt-sm", { "q-checkbox disabled": e.disable || d.disabled }]),
|
|
2573
2572
|
style: ct(`margin-left: ${e.bottomSlotIndent}`)
|
|
2574
2573
|
}, [
|
|
2575
|
-
|
|
2574
|
+
ge(L.$slots, `checkbox-${d.key || d.value}-bottom`, {
|
|
2576
2575
|
option: d,
|
|
2577
2576
|
disable: e.disable || d.disabled,
|
|
2578
2577
|
value: e.modelValue.includes(d.value)
|
|
2579
2578
|
})
|
|
2580
2579
|
], 6)) : Oe("", !0)
|
|
2581
2580
|
], 6))), 128)),
|
|
2582
|
-
a.value && p.value ? (
|
|
2581
|
+
a.value && p.value ? (Y(), se("div", Ir, Ae(m.value), 1)) : Oe("", !0)
|
|
2583
2582
|
]),
|
|
2584
2583
|
_: 3
|
|
2585
2584
|
}, 8, ["title"]);
|
|
@@ -2601,48 +2600,46 @@ function Ln(e, t, n) {
|
|
|
2601
2600
|
});
|
|
2602
2601
|
}
|
|
2603
2602
|
const Cn = Object.values(us);
|
|
2604
|
-
function
|
|
2605
|
-
const { getFlagValue: l, getFlag: a } =
|
|
2603
|
+
function Er(e, t, n, s) {
|
|
2604
|
+
const { getFlagValue: l, getFlag: a } = cs(), c = te(() => {
|
|
2606
2605
|
var A;
|
|
2607
2606
|
const v = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Map();
|
|
2608
|
-
for (const
|
|
2609
|
-
const
|
|
2610
|
-
|
|
2611
|
-
const G = cs[W];
|
|
2612
|
-
G && ((A = a(G)) == null ? void 0 : A.enabled) === !1 || (v.has(W) || v.set(W, []), v.get(W).push({ label: R.label, value: R.subject }), h.set(R.subject, R));
|
|
2607
|
+
for (const C of t.value) {
|
|
2608
|
+
const x = C.category;
|
|
2609
|
+
x && (n.value.includes(C.subject) || C.showByFeatureFlag && ((A = a(C.showByFeatureFlag)) == null ? void 0 : A.enabled) === !1 && l(C.showByFeatureFlag) === "true" || (v.has(x) || v.set(x, []), v.get(x).push({ label: C.label, value: C.subject }), h.set(C.subject, C)));
|
|
2613
2610
|
}
|
|
2614
|
-
return [...v.keys()].sort((
|
|
2615
|
-
const
|
|
2616
|
-
return
|
|
2617
|
-
}).map((
|
|
2618
|
-
const
|
|
2619
|
-
for (const X of
|
|
2620
|
-
const
|
|
2621
|
-
|
|
2611
|
+
return [...v.keys()].sort((C, x) => {
|
|
2612
|
+
const W = Cn.indexOf(C), D = Cn.indexOf(x);
|
|
2613
|
+
return W === -1 && D === -1 ? C.localeCompare(x) : W === -1 ? 1 : D === -1 ? -1 : W - D;
|
|
2614
|
+
}).map((C) => {
|
|
2615
|
+
const x = v.get(C), W = /* @__PURE__ */ new Map();
|
|
2616
|
+
for (const X of x) {
|
|
2617
|
+
const Q = h.get(X.value);
|
|
2618
|
+
Q && W.set(X.value, Q.actions);
|
|
2622
2619
|
}
|
|
2623
|
-
const D =
|
|
2624
|
-
const
|
|
2625
|
-
return
|
|
2620
|
+
const D = x.some((X) => {
|
|
2621
|
+
const Q = W.get(X.value);
|
|
2622
|
+
return Q && Q.length > 1;
|
|
2626
2623
|
}), T = D ? [
|
|
2627
2624
|
...new Set(
|
|
2628
|
-
|
|
2625
|
+
x.flatMap((X) => W.get(X.value) ?? []).filter((X) => X !== "manage")
|
|
2629
2626
|
)
|
|
2630
2627
|
] : [], k = /* @__PURE__ */ new Map();
|
|
2631
2628
|
for (const X of e.value)
|
|
2632
|
-
|
|
2633
|
-
const
|
|
2634
|
-
(X) =>
|
|
2635
|
-
).map((X) => X.subject) : e.value.filter((X) =>
|
|
2636
|
-
var
|
|
2637
|
-
return (
|
|
2638
|
-
}), j = (
|
|
2629
|
+
x.some((Q) => Q.value === X.subject) && !X.inverted && k.set(X.subject, new Set(X.actions));
|
|
2630
|
+
const H = D ? e.value.filter(
|
|
2631
|
+
(X) => x.some((Q) => Q.value === X.subject) && !X.inverted && X.actions.includes("manage")
|
|
2632
|
+
).map((X) => X.subject) : e.value.filter((X) => x.some((Q) => Q.value === X.subject) && !X.inverted).map((X) => X.subject), G = x.find((X) => {
|
|
2633
|
+
var Q;
|
|
2634
|
+
return (Q = h.get(X.value)) == null ? void 0 : Q.isCategoryCover;
|
|
2635
|
+
}), j = (G == null ? void 0 : G.value) ?? null, ne = j ? k.get(j) ?? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set(), J = ne.has("manage");
|
|
2639
2636
|
return {
|
|
2640
|
-
category:
|
|
2641
|
-
options:
|
|
2642
|
-
selectedSubjects:
|
|
2637
|
+
category: C,
|
|
2638
|
+
options: x,
|
|
2639
|
+
selectedSubjects: H,
|
|
2643
2640
|
isMultiAction: D,
|
|
2644
2641
|
actionColumns: T,
|
|
2645
|
-
permissionActionsMap:
|
|
2642
|
+
permissionActionsMap: W,
|
|
2646
2643
|
selectedActionsMap: k,
|
|
2647
2644
|
coverSubject: j,
|
|
2648
2645
|
coverSelectedActions: ne,
|
|
@@ -2652,11 +2649,11 @@ function yr(e, t, n, s) {
|
|
|
2652
2649
|
});
|
|
2653
2650
|
function m(v, h) {
|
|
2654
2651
|
var A;
|
|
2655
|
-
const
|
|
2652
|
+
const E = ((A = c.value.find((C) => C.category === v)) == null ? void 0 : A.options) ?? [];
|
|
2656
2653
|
s("update:model-value", [
|
|
2657
|
-
...e.value.filter((
|
|
2658
|
-
...t.value.filter((
|
|
2659
|
-
({ category:
|
|
2654
|
+
...e.value.filter((C) => !E.some((x) => x.value === C.subject)),
|
|
2655
|
+
...t.value.filter((C) => h.includes(C.subject)).map(
|
|
2656
|
+
({ category: C, showByFeatureFlag: x, isCategoryCover: W, ...D }) => D
|
|
2660
2657
|
)
|
|
2661
2658
|
]);
|
|
2662
2659
|
}
|
|
@@ -2665,39 +2662,39 @@ function yr(e, t, n, s) {
|
|
|
2665
2662
|
}
|
|
2666
2663
|
function p(v) {
|
|
2667
2664
|
const h = e.value.filter(
|
|
2668
|
-
(
|
|
2665
|
+
(E) => !v.options.some((A) => A.value === E.subject)
|
|
2669
2666
|
);
|
|
2670
2667
|
if (u(v))
|
|
2671
2668
|
s("update:model-value", h);
|
|
2672
2669
|
else {
|
|
2673
|
-
const
|
|
2674
|
-
({ category: A, showByFeatureFlag:
|
|
2670
|
+
const E = t.value.filter((A) => v.options.some((C) => C.value === A.subject)).map(
|
|
2671
|
+
({ category: A, showByFeatureFlag: C, isCategoryCover: x, ...W }) => W
|
|
2675
2672
|
);
|
|
2676
|
-
s("update:model-value", [...h, ...
|
|
2673
|
+
s("update:model-value", [...h, ...E]);
|
|
2677
2674
|
}
|
|
2678
2675
|
}
|
|
2679
2676
|
function O(v, h) {
|
|
2680
|
-
const
|
|
2681
|
-
return
|
|
2677
|
+
const E = v.selectedActionsMap.get(h);
|
|
2678
|
+
return E ? E.has("manage") : !1;
|
|
2682
2679
|
}
|
|
2683
|
-
function
|
|
2684
|
-
const
|
|
2685
|
-
if (!
|
|
2686
|
-
const A =
|
|
2680
|
+
function R(v, h) {
|
|
2681
|
+
const E = v.permissionActionsMap.get(h);
|
|
2682
|
+
if (!E) return !1;
|
|
2683
|
+
const A = E.filter((W) => W !== "manage");
|
|
2687
2684
|
if (A.length === 0) return !1;
|
|
2688
|
-
const
|
|
2689
|
-
if (!
|
|
2690
|
-
const
|
|
2691
|
-
return
|
|
2685
|
+
const C = v.selectedActionsMap.get(h);
|
|
2686
|
+
if (!C) return !1;
|
|
2687
|
+
const x = A.filter((W) => C.has(W));
|
|
2688
|
+
return x.length > 0 && x.length < A.length;
|
|
2692
2689
|
}
|
|
2693
|
-
function y(v, h,
|
|
2694
|
-
if (
|
|
2690
|
+
function y(v, h, E) {
|
|
2691
|
+
if (E) {
|
|
2695
2692
|
const A = t.value.find((k) => k.subject === h);
|
|
2696
2693
|
if (!A) return;
|
|
2697
2694
|
const {
|
|
2698
|
-
category:
|
|
2699
|
-
showByFeatureFlag:
|
|
2700
|
-
isCategoryCover:
|
|
2695
|
+
category: C,
|
|
2696
|
+
showByFeatureFlag: x,
|
|
2697
|
+
isCategoryCover: W,
|
|
2701
2698
|
...D
|
|
2702
2699
|
} = A, T = e.value.filter((k) => k.subject !== h);
|
|
2703
2700
|
T.push(D), s("update:model-value", T);
|
|
@@ -2708,93 +2705,93 @@ function yr(e, t, n, s) {
|
|
|
2708
2705
|
);
|
|
2709
2706
|
}
|
|
2710
2707
|
function P(v, h) {
|
|
2711
|
-
const
|
|
2712
|
-
return
|
|
2708
|
+
const E = v.permissionActionsMap.get(h);
|
|
2709
|
+
return E ? E.some((A) => A !== "manage") : !1;
|
|
2713
2710
|
}
|
|
2714
|
-
function V(v, h,
|
|
2711
|
+
function V(v, h, E) {
|
|
2715
2712
|
const A = v.selectedActionsMap.get(h);
|
|
2716
|
-
return A ? A.has(
|
|
2713
|
+
return A ? A.has(E) : !1;
|
|
2717
2714
|
}
|
|
2718
2715
|
function L(v, h) {
|
|
2719
2716
|
return !v.coverSubject || h === v.coverSubject ? !1 : v.coverCoversAll;
|
|
2720
2717
|
}
|
|
2721
|
-
function M(v, h,
|
|
2722
|
-
return !v.coverSubject || h === v.coverSubject ? !1 : v.coverCoversAll ? !0 : v.coverSelectedActions.has(
|
|
2718
|
+
function M(v, h, E) {
|
|
2719
|
+
return !v.coverSubject || h === v.coverSubject ? !1 : v.coverCoversAll ? !0 : v.coverSelectedActions.has(E);
|
|
2723
2720
|
}
|
|
2724
|
-
function i(v, h,
|
|
2721
|
+
function i(v, h, E) {
|
|
2725
2722
|
const A = v.permissionActionsMap.get(h);
|
|
2726
|
-
return A ? A.includes(
|
|
2727
|
-
}
|
|
2728
|
-
function d(v, h,
|
|
2729
|
-
const A = [...e.value],
|
|
2730
|
-
if (
|
|
2731
|
-
if (
|
|
2732
|
-
const
|
|
2733
|
-
D.add(h),
|
|
2723
|
+
return A ? A.includes(E) : !1;
|
|
2724
|
+
}
|
|
2725
|
+
function d(v, h, E) {
|
|
2726
|
+
const A = [...e.value], C = A.findIndex((W) => W.subject === v && !W.inverted);
|
|
2727
|
+
if (E)
|
|
2728
|
+
if (C >= 0) {
|
|
2729
|
+
const W = { ...A[C] }, D = new Set(W.actions);
|
|
2730
|
+
D.add(h), W.actions = Array.from(D), A[C] = W;
|
|
2734
2731
|
} else {
|
|
2735
|
-
const
|
|
2736
|
-
if (!
|
|
2732
|
+
const W = t.value.find((G) => G.subject === v);
|
|
2733
|
+
if (!W) return;
|
|
2737
2734
|
const {
|
|
2738
2735
|
category: D,
|
|
2739
2736
|
showByFeatureFlag: T,
|
|
2740
2737
|
isCategoryCover: k,
|
|
2741
|
-
...
|
|
2742
|
-
} =
|
|
2743
|
-
A.push({ ...
|
|
2738
|
+
...H
|
|
2739
|
+
} = W;
|
|
2740
|
+
A.push({ ...H, actions: [h] });
|
|
2744
2741
|
}
|
|
2745
|
-
else if (
|
|
2746
|
-
const
|
|
2747
|
-
D.length === 0 ? A.splice(
|
|
2742
|
+
else if (C >= 0) {
|
|
2743
|
+
const W = { ...A[C] }, D = W.actions.filter((T) => T !== h);
|
|
2744
|
+
D.length === 0 ? A.splice(C, 1) : (W.actions = D, A[C] = W);
|
|
2748
2745
|
}
|
|
2749
|
-
const
|
|
2750
|
-
|
|
2746
|
+
const x = t.value.find((W) => W.subject === v);
|
|
2747
|
+
x && Ln(A, v, x.actions), s("update:model-value", A);
|
|
2751
2748
|
}
|
|
2752
2749
|
function N(v, h) {
|
|
2753
|
-
const
|
|
2750
|
+
const E = v.options.filter(
|
|
2754
2751
|
(A) => i(v, A.value, h)
|
|
2755
2752
|
);
|
|
2756
|
-
return
|
|
2753
|
+
return E.length === 0 ? !1 : E.every(
|
|
2757
2754
|
(A) => V(v, A.value, h) || M(v, A.value, h)
|
|
2758
2755
|
);
|
|
2759
2756
|
}
|
|
2760
2757
|
function _(v, h) {
|
|
2761
|
-
const
|
|
2762
|
-
(
|
|
2758
|
+
const E = v.options.filter(
|
|
2759
|
+
(C) => i(v, C.value, h)
|
|
2763
2760
|
);
|
|
2764
|
-
if (
|
|
2765
|
-
const A =
|
|
2766
|
-
(
|
|
2761
|
+
if (E.length === 0) return !1;
|
|
2762
|
+
const A = E.filter(
|
|
2763
|
+
(C) => V(v, C.value, h) || M(v, C.value, h)
|
|
2767
2764
|
).length;
|
|
2768
|
-
return A > 0 && A <
|
|
2765
|
+
return A > 0 && A < E.length;
|
|
2769
2766
|
}
|
|
2770
|
-
function w(v, h,
|
|
2767
|
+
function w(v, h, E) {
|
|
2771
2768
|
const A = [...e.value];
|
|
2772
|
-
for (const
|
|
2773
|
-
if (!i(v,
|
|
2774
|
-
const
|
|
2775
|
-
(T) => T.subject ===
|
|
2769
|
+
for (const C of v.options) {
|
|
2770
|
+
if (!i(v, C.value, h)) continue;
|
|
2771
|
+
const x = C.value, W = A.findIndex(
|
|
2772
|
+
(T) => T.subject === x && !T.inverted
|
|
2776
2773
|
);
|
|
2777
|
-
if (
|
|
2778
|
-
if (
|
|
2779
|
-
const T = { ...A[
|
|
2780
|
-
k.add(h), T.actions = Array.from(k), A[
|
|
2774
|
+
if (E)
|
|
2775
|
+
if (W >= 0) {
|
|
2776
|
+
const T = { ...A[W] }, k = new Set(T.actions);
|
|
2777
|
+
k.add(h), T.actions = Array.from(k), A[W] = T;
|
|
2781
2778
|
} else {
|
|
2782
|
-
const T = t.value.find((ne) => ne.subject ===
|
|
2779
|
+
const T = t.value.find((ne) => ne.subject === x);
|
|
2783
2780
|
if (!T) continue;
|
|
2784
2781
|
const {
|
|
2785
2782
|
category: k,
|
|
2786
|
-
showByFeatureFlag:
|
|
2787
|
-
isCategoryCover:
|
|
2783
|
+
showByFeatureFlag: H,
|
|
2784
|
+
isCategoryCover: G,
|
|
2788
2785
|
...j
|
|
2789
2786
|
} = T;
|
|
2790
2787
|
A.push({ ...j, actions: [h] });
|
|
2791
2788
|
}
|
|
2792
|
-
else if (
|
|
2793
|
-
const T = { ...A[
|
|
2794
|
-
k.length === 0 ? A.splice(
|
|
2789
|
+
else if (W >= 0) {
|
|
2790
|
+
const T = { ...A[W] }, k = T.actions.filter((H) => H !== h);
|
|
2791
|
+
k.length === 0 ? A.splice(W, 1) : (T.actions = k, A[W] = T);
|
|
2795
2792
|
}
|
|
2796
|
-
const D = t.value.find((T) => T.subject ===
|
|
2797
|
-
D && Ln(A,
|
|
2793
|
+
const D = t.value.find((T) => T.subject === x);
|
|
2794
|
+
D && Ln(A, x, D.actions);
|
|
2798
2795
|
}
|
|
2799
2796
|
s("update:model-value", A);
|
|
2800
2797
|
}
|
|
@@ -2803,7 +2800,7 @@ function yr(e, t, n, s) {
|
|
|
2803
2800
|
create: "Duplicate",
|
|
2804
2801
|
update: "Edit"
|
|
2805
2802
|
};
|
|
2806
|
-
function
|
|
2803
|
+
function g(v) {
|
|
2807
2804
|
return S[v] ?? v.charAt(0).toUpperCase() + v.slice(1);
|
|
2808
2805
|
}
|
|
2809
2806
|
return {
|
|
@@ -2812,7 +2809,7 @@ function yr(e, t, n, s) {
|
|
|
2812
2809
|
isAllManageChecked: u,
|
|
2813
2810
|
toggleAllManage: p,
|
|
2814
2811
|
isManageChecked: O,
|
|
2815
|
-
isManageIndeterminate:
|
|
2812
|
+
isManageIndeterminate: R,
|
|
2816
2813
|
toggleManage: y,
|
|
2817
2814
|
hasNonManageActions: P,
|
|
2818
2815
|
isActionChecked: V,
|
|
@@ -2823,16 +2820,16 @@ function yr(e, t, n, s) {
|
|
|
2823
2820
|
isAllActionChecked: N,
|
|
2824
2821
|
isAllActionIndeterminate: _,
|
|
2825
2822
|
toggleAllAction: w,
|
|
2826
|
-
actionLabel:
|
|
2823
|
+
actionLabel: g
|
|
2827
2824
|
};
|
|
2828
2825
|
}
|
|
2829
|
-
const
|
|
2826
|
+
const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
2830
2827
|
key: 1,
|
|
2831
2828
|
class: "space-y-16"
|
|
2832
|
-
},
|
|
2829
|
+
}, kr = { class: "flex items-end justify-between" }, Tr = { class: "fm-typo-en-title-sm-600" }, Or = { class: "flex" }, Lr = { class: "form-input" }, Cr = { class: "flex items-center justify-between q-mb-xs" }, Rr = { class: "flex shrink-0" }, Ar = { class: "flex items-center justify-between gap-4" }, Sr = { class: "flex items-center min-w-0 flex-1 gap-8" }, Dr = ["title", "onClick"], Mr = {
|
|
2833
2830
|
key: 0,
|
|
2834
2831
|
class: "flex shrink-0"
|
|
2835
|
-
},
|
|
2832
|
+
}, wr = /* @__PURE__ */ Ne({
|
|
2836
2833
|
__name: "BasePermission",
|
|
2837
2834
|
props: {
|
|
2838
2835
|
modelValue: {
|
|
@@ -2861,7 +2858,7 @@ const Nr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
2861
2858
|
toggleAllManage: u,
|
|
2862
2859
|
isManageChecked: p,
|
|
2863
2860
|
isManageIndeterminate: O,
|
|
2864
|
-
toggleManage:
|
|
2861
|
+
toggleManage: R,
|
|
2865
2862
|
hasNonManageActions: y,
|
|
2866
2863
|
isActionChecked: P,
|
|
2867
2864
|
isRowFullyCoveredByCover: V,
|
|
@@ -2872,108 +2869,108 @@ const Nr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
2872
2869
|
isAllActionIndeterminate: N,
|
|
2873
2870
|
toggleAllAction: _,
|
|
2874
2871
|
actionLabel: w
|
|
2875
|
-
} =
|
|
2876
|
-
|
|
2872
|
+
} = Er(
|
|
2873
|
+
zt(n, "modelValue"),
|
|
2877
2874
|
l,
|
|
2878
|
-
|
|
2879
|
-
(S,
|
|
2875
|
+
zt(n, "excludedSubjects"),
|
|
2876
|
+
(S, g) => s("update:model-value", g)
|
|
2880
2877
|
);
|
|
2881
|
-
return (S,
|
|
2878
|
+
return (S, g) => {
|
|
2882
2879
|
const v = Ze("FmCheckbox");
|
|
2883
|
-
return
|
|
2884
|
-
(
|
|
2880
|
+
return Y(), se("div", yr, [
|
|
2881
|
+
(Y(!0), se(Ee, null, he(B(a), (h) => (Y(), se(Ee, {
|
|
2885
2882
|
key: h.category
|
|
2886
2883
|
}, [
|
|
2887
|
-
h.isMultiAction ? (
|
|
2888
|
-
ae("div",
|
|
2889
|
-
ae("div",
|
|
2890
|
-
ae("div",
|
|
2891
|
-
(
|
|
2892
|
-
key:
|
|
2884
|
+
h.isMultiAction ? (Y(), se("div", Nr, [
|
|
2885
|
+
ae("div", kr, [
|
|
2886
|
+
ae("div", Tr, Ae(h.category), 1),
|
|
2887
|
+
ae("div", Or, [
|
|
2888
|
+
(Y(!0), se(Ee, null, he(h.actionColumns, (E) => (Y(), se("span", {
|
|
2889
|
+
key: E,
|
|
2893
2890
|
class: "w-[56px] text-center fm-typo-en-body-sm-400 text-fm-color-neutral-gray-600"
|
|
2894
|
-
}, Ae(
|
|
2891
|
+
}, Ae(B(w)(E)), 1))), 128))
|
|
2895
2892
|
])
|
|
2896
2893
|
]),
|
|
2897
|
-
ae("div",
|
|
2898
|
-
ae("div",
|
|
2894
|
+
ae("div", Lr, [
|
|
2895
|
+
ae("div", Cr, [
|
|
2899
2896
|
_e(v, {
|
|
2900
|
-
"model-value":
|
|
2897
|
+
"model-value": B(m)(h),
|
|
2901
2898
|
value: !0,
|
|
2902
2899
|
disabled: e.disable,
|
|
2903
2900
|
label: "All",
|
|
2904
2901
|
size: "sm",
|
|
2905
2902
|
dense: "",
|
|
2906
|
-
"onUpdate:modelValue": (
|
|
2903
|
+
"onUpdate:modelValue": (E) => B(u)(h)
|
|
2907
2904
|
}, null, 8, ["model-value", "disabled", "onUpdate:modelValue"]),
|
|
2908
|
-
ae("div",
|
|
2909
|
-
(
|
|
2910
|
-
key:
|
|
2905
|
+
ae("div", Rr, [
|
|
2906
|
+
(Y(!0), se(Ee, null, he(h.actionColumns, (E) => (Y(), se("div", {
|
|
2907
|
+
key: E,
|
|
2911
2908
|
class: "w-[56px] flex justify-center"
|
|
2912
2909
|
}, [
|
|
2913
2910
|
_e(v, {
|
|
2914
|
-
"model-value":
|
|
2915
|
-
indeterminate:
|
|
2916
|
-
value:
|
|
2911
|
+
"model-value": B(d)(h, E),
|
|
2912
|
+
indeterminate: B(N)(h, E),
|
|
2913
|
+
value: E,
|
|
2917
2914
|
disabled: e.disable,
|
|
2918
2915
|
size: "sm",
|
|
2919
2916
|
dense: "",
|
|
2920
|
-
"onUpdate:modelValue": (A) =>
|
|
2917
|
+
"onUpdate:modelValue": (A) => B(_)(h, E, A)
|
|
2921
2918
|
}, null, 8, ["model-value", "indeterminate", "value", "disabled", "onUpdate:modelValue"])
|
|
2922
2919
|
]))), 128))
|
|
2923
2920
|
])
|
|
2924
2921
|
]),
|
|
2925
|
-
(
|
|
2926
|
-
key:
|
|
2922
|
+
(Y(!0), se(Ee, null, he(h.options, (E, A) => (Y(), se("div", {
|
|
2923
|
+
key: E.value,
|
|
2927
2924
|
class: qe(A < h.options.length - 1 ? "q-mb-xs" : "")
|
|
2928
2925
|
}, [
|
|
2929
|
-
ae("div",
|
|
2930
|
-
ae("div",
|
|
2926
|
+
ae("div", Ar, [
|
|
2927
|
+
ae("div", Sr, [
|
|
2931
2928
|
_e(v, {
|
|
2932
|
-
"model-value":
|
|
2933
|
-
value:
|
|
2934
|
-
disabled: e.disable ||
|
|
2935
|
-
indeterminate:
|
|
2929
|
+
"model-value": B(p)(h, E.value) || B(V)(h, E.value),
|
|
2930
|
+
value: E.value,
|
|
2931
|
+
disabled: e.disable || B(V)(h, E.value),
|
|
2932
|
+
indeterminate: B(O)(h, E.value),
|
|
2936
2933
|
size: "sm",
|
|
2937
2934
|
class: "shrink-0",
|
|
2938
|
-
"onUpdate:modelValue": (
|
|
2935
|
+
"onUpdate:modelValue": (C) => B(R)(h, E.value, C)
|
|
2939
2936
|
}, null, 8, ["model-value", "value", "disabled", "indeterminate", "onUpdate:modelValue"]),
|
|
2940
2937
|
ae("span", {
|
|
2941
2938
|
class: "block truncate cursor-pointer",
|
|
2942
|
-
title:
|
|
2943
|
-
onClick: (
|
|
2944
|
-
}, Ae(
|
|
2945
|
-
|
|
2939
|
+
title: E.label,
|
|
2940
|
+
onClick: (C) => !e.disable && !B(V)(h, E.value) && B(R)(h, E.value, !B(p)(h, E.value))
|
|
2941
|
+
}, Ae(E.label), 9, Dr),
|
|
2942
|
+
ge(S.$slots, `checkbox-${E.value}-append`, { option: E })
|
|
2946
2943
|
]),
|
|
2947
|
-
|
|
2948
|
-
(
|
|
2949
|
-
key:
|
|
2944
|
+
B(y)(h, E.value) ? (Y(), se("div", Mr, [
|
|
2945
|
+
(Y(!0), se(Ee, null, he(h.actionColumns, (C) => (Y(), se("div", {
|
|
2946
|
+
key: C,
|
|
2950
2947
|
class: "w-[56px] flex justify-center"
|
|
2951
2948
|
}, [
|
|
2952
|
-
|
|
2949
|
+
B(M)(h, E.value, C) ? (Y(), Se(v, {
|
|
2953
2950
|
key: 0,
|
|
2954
|
-
"model-value":
|
|
2955
|
-
value:
|
|
2956
|
-
disabled: e.disable ||
|
|
2951
|
+
"model-value": B(P)(h, E.value, C) || B(L)(h, E.value, C),
|
|
2952
|
+
value: C,
|
|
2953
|
+
disabled: e.disable || B(L)(h, E.value, C),
|
|
2957
2954
|
size: "sm",
|
|
2958
|
-
"onUpdate:modelValue": (
|
|
2955
|
+
"onUpdate:modelValue": (x) => B(i)(E.value, C, x)
|
|
2959
2956
|
}, null, 8, ["model-value", "value", "disabled", "onUpdate:modelValue"])) : Oe("", !0)
|
|
2960
2957
|
]))), 128))
|
|
2961
2958
|
])) : Oe("", !0)
|
|
2962
2959
|
])
|
|
2963
2960
|
], 2))), 128))
|
|
2964
2961
|
])
|
|
2965
|
-
])) : (
|
|
2962
|
+
])) : (Y(), Se(Qt, {
|
|
2966
2963
|
key: 0,
|
|
2967
2964
|
"model-value": h.selectedSubjects,
|
|
2968
2965
|
options: h.options,
|
|
2969
2966
|
disable: e.disable,
|
|
2970
2967
|
title: h.category,
|
|
2971
|
-
"onUpdate:modelValue": (
|
|
2968
|
+
"onUpdate:modelValue": (E) => B(c)(h.category, E)
|
|
2972
2969
|
}, Fe({ _: 2 }, [
|
|
2973
|
-
he(h.options, (
|
|
2974
|
-
name: `checkbox-${
|
|
2975
|
-
fn:
|
|
2976
|
-
|
|
2970
|
+
he(h.options, (E) => ({
|
|
2971
|
+
name: `checkbox-${E.value}-append`,
|
|
2972
|
+
fn: be(({ option: A }) => [
|
|
2973
|
+
ge(S.$slots, `checkbox-${E.value}-append`, { option: A })
|
|
2977
2974
|
])
|
|
2978
2975
|
}))
|
|
2979
2976
|
]), 1032, ["model-value", "options", "disable", "title", "onUpdate:modelValue"]))
|
|
@@ -2981,7 +2978,7 @@ const Nr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
2981
2978
|
]);
|
|
2982
2979
|
};
|
|
2983
2980
|
}
|
|
2984
|
-
}),
|
|
2981
|
+
}), Pr = { class: "flex items-center" }, Fr = { class: "ml-auto" }, jr = /* @__PURE__ */ Ne({
|
|
2985
2982
|
__name: "CollapsibleWrapper",
|
|
2986
2983
|
props: {
|
|
2987
2984
|
title: { default: "" },
|
|
@@ -3004,11 +3001,11 @@ const Nr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3004
3001
|
a == null || a.disconnect();
|
|
3005
3002
|
}), (u, p) => {
|
|
3006
3003
|
const O = Ze("FmButton");
|
|
3007
|
-
return
|
|
3004
|
+
return Y(), se(Ee, null, [
|
|
3008
3005
|
ae("div", { onClick: c }, [
|
|
3009
|
-
ae("div",
|
|
3010
|
-
|
|
3011
|
-
ae("div",
|
|
3006
|
+
ae("div", Pr, [
|
|
3007
|
+
ge(u.$slots, "title"),
|
|
3008
|
+
ae("div", Fr, [
|
|
3012
3009
|
_e(O, {
|
|
3013
3010
|
icon: n.value ? "keyboard_arrow_down" : "keyboard_arrow_up",
|
|
3014
3011
|
"text-color": "neutral-gray-400",
|
|
@@ -3024,12 +3021,12 @@ const Nr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3024
3021
|
class: "transition-all duration-300 ease-in-out overflow-hidden",
|
|
3025
3022
|
style: ct({ maxHeight: n.value ? "0" : l.value + "px" })
|
|
3026
3023
|
}, [
|
|
3027
|
-
|
|
3024
|
+
ge(u.$slots, "default")
|
|
3028
3025
|
], 4)
|
|
3029
3026
|
], 64);
|
|
3030
3027
|
};
|
|
3031
3028
|
}
|
|
3032
|
-
}),
|
|
3029
|
+
}), Ur = { class: "fm-typo-en-title-sm-600" }, Rt = "includedFuture", Rn = /* @__PURE__ */ Ne({
|
|
3033
3030
|
__name: "ConditionPermission",
|
|
3034
3031
|
props: {
|
|
3035
3032
|
modelValue: {
|
|
@@ -3064,24 +3061,24 @@ const Nr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3064
3061
|
]), c = te(() => n.modelValue ? n.modelValue : [Rt, ...n.options.map((p) => p.value)]);
|
|
3065
3062
|
function m(p) {
|
|
3066
3063
|
const O = p.length === a.value.length;
|
|
3067
|
-
s("update:model-value", O ? null : p.filter((
|
|
3064
|
+
s("update:model-value", O ? null : p.filter((R) => R !== Rt));
|
|
3068
3065
|
}
|
|
3069
3066
|
const u = Ue("");
|
|
3070
3067
|
return (p, O) => {
|
|
3071
|
-
const
|
|
3072
|
-
return
|
|
3073
|
-
title:
|
|
3074
|
-
ae("p",
|
|
3068
|
+
const R = Ze("fm-search");
|
|
3069
|
+
return Y(), Se(jr, null, {
|
|
3070
|
+
title: be(() => [
|
|
3071
|
+
ae("p", Ur, Ae(B(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
3075
3072
|
]),
|
|
3076
|
-
default:
|
|
3077
|
-
e.options.length > 1 ? (
|
|
3073
|
+
default: be(() => [
|
|
3074
|
+
e.options.length > 1 ? (Y(), Se(R, {
|
|
3078
3075
|
key: 0,
|
|
3079
3076
|
modelValue: u.value,
|
|
3080
3077
|
"onUpdate:modelValue": O[0] || (O[0] = (y) => u.value = y),
|
|
3081
3078
|
class: "mt-16",
|
|
3082
|
-
placeholder:
|
|
3079
|
+
placeholder: B(l)("team.memberForm.permissions.search", { context: e.context })
|
|
3083
3080
|
}, null, 8, ["modelValue", "placeholder"])) : Oe("", !0),
|
|
3084
|
-
_e(
|
|
3081
|
+
_e(Qt, {
|
|
3085
3082
|
"model-value": c.value,
|
|
3086
3083
|
options: a.value,
|
|
3087
3084
|
"show-intermediate": !1,
|
|
@@ -3094,8 +3091,8 @@ const Nr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3094
3091
|
}, Fe({ _: 2 }, [
|
|
3095
3092
|
he(a.value, (y) => ({
|
|
3096
3093
|
name: `checkbox-${y.value}-append`,
|
|
3097
|
-
fn:
|
|
3098
|
-
|
|
3094
|
+
fn: be(({ option: P }) => [
|
|
3095
|
+
ge(p.$slots, `checkbox-${y.value}-append`, { option: P })
|
|
3099
3096
|
])
|
|
3100
3097
|
}))
|
|
3101
3098
|
]), 1032, ["model-value", "options", "disable"])
|
|
@@ -3104,7 +3101,7 @@ const Nr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3104
3101
|
});
|
|
3105
3102
|
};
|
|
3106
3103
|
}
|
|
3107
|
-
}), At = "includedNewRole",
|
|
3104
|
+
}), At = "includedNewRole", Vr = /* @__PURE__ */ Ne({
|
|
3108
3105
|
__name: "PosRolePermission",
|
|
3109
3106
|
props: {
|
|
3110
3107
|
modelValue: {
|
|
@@ -3145,19 +3142,19 @@ const Nr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3145
3142
|
const p = u.length === a.value.length;
|
|
3146
3143
|
s("update:model-value", p ? null : u.filter((O) => O !== At));
|
|
3147
3144
|
}
|
|
3148
|
-
return (u, p) => (
|
|
3145
|
+
return (u, p) => (Y(), Se(Qt, {
|
|
3149
3146
|
"model-value": c.value,
|
|
3150
3147
|
options: a.value,
|
|
3151
3148
|
"show-intermediate": !1,
|
|
3152
3149
|
"show-all-toggle": !1,
|
|
3153
3150
|
disable: e.disable,
|
|
3154
|
-
title:
|
|
3151
|
+
title: B(l)("team.memberForm.permissions.roles"),
|
|
3155
3152
|
"onUpdate:modelValue": m
|
|
3156
3153
|
}, Fe({ _: 2 }, [
|
|
3157
3154
|
he(a.value, (O) => ({
|
|
3158
3155
|
name: `checkbox-${O.value}-append`,
|
|
3159
|
-
fn:
|
|
3160
|
-
|
|
3156
|
+
fn: be(({ option: R }) => [
|
|
3157
|
+
ge(u.$slots, `checkbox-${O.value}-append`, { option: R })
|
|
3161
3158
|
])
|
|
3162
3159
|
}))
|
|
3163
3160
|
]), 1032, ["model-value", "options", "disable", "title"]));
|
|
@@ -3166,7 +3163,7 @@ const Nr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3166
3163
|
async readWarehouses() {
|
|
3167
3164
|
return os(await is().get("/warehouses"));
|
|
3168
3165
|
}
|
|
3169
|
-
},
|
|
3166
|
+
}, Gr = { class: "flex flex-col gap-32" }, xr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Xr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Zr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Hr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, el = /* @__PURE__ */ Ne({
|
|
3170
3167
|
__name: "PortalPermissionEditor",
|
|
3171
3168
|
props: /* @__PURE__ */ qt({
|
|
3172
3169
|
disable: {
|
|
@@ -3192,7 +3189,7 @@ const Nr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3192
3189
|
return as(
|
|
3193
3190
|
s.inheritPermissions.map((k) => ({
|
|
3194
3191
|
...k,
|
|
3195
|
-
permissions: k.permissions.filter((
|
|
3192
|
+
permissions: k.permissions.filter((H) => D.includes(H.subject))
|
|
3196
3193
|
}))
|
|
3197
3194
|
).map((k) => ({
|
|
3198
3195
|
id: k.subject,
|
|
@@ -3210,7 +3207,7 @@ const Nr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3210
3207
|
"warehouseId",
|
|
3211
3208
|
L.value.map((T) => T._id)
|
|
3212
3209
|
);
|
|
3213
|
-
}),
|
|
3210
|
+
}), R = te(() => {
|
|
3214
3211
|
const D = s.inheritPermissions.map((T) => ({
|
|
3215
3212
|
...T,
|
|
3216
3213
|
permissions: T.permissions.filter(
|
|
@@ -3253,36 +3250,36 @@ const Nr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3253
3250
|
}
|
|
3254
3251
|
function d(D, T) {
|
|
3255
3252
|
let k = ut(
|
|
3256
|
-
D.filter((
|
|
3253
|
+
D.filter((H) => H.subject !== me.Subject.Business.inventory_stock)
|
|
3257
3254
|
);
|
|
3258
3255
|
if (!T || T.length > 0) {
|
|
3259
|
-
const
|
|
3256
|
+
const H = {
|
|
3260
3257
|
actions: [me.Action.manage],
|
|
3261
3258
|
subject: me.Subject.Business.inventory_stock
|
|
3262
3259
|
};
|
|
3263
|
-
T && (
|
|
3260
|
+
T && (H.conditions = JSON.stringify({ warehouseId: { $in: T } })), k.push(H);
|
|
3264
3261
|
}
|
|
3265
3262
|
return k;
|
|
3266
3263
|
}
|
|
3267
|
-
const { restaurants: N } = ns(), _ =
|
|
3264
|
+
const { restaurants: N } = ns(), _ = ds().roles, w = te(() => N.value.map((D) => ({
|
|
3268
3265
|
label: `${D.profile.code ? D.profile.code + "-" : ""}${D.profile.name}`,
|
|
3269
3266
|
value: D._id
|
|
3270
|
-
}))), S = te(() => N.value.reduce((D, T) => (D[T._id] = _.value.filter((k) => k.restaurants.some((
|
|
3267
|
+
}))), S = te(() => N.value.reduce((D, T) => (D[T._id] = _.value.filter((k) => k.restaurants.some((H) => H.id === T._id)).map((k) => k._id), D), {})), g = te(() => rs(n.value));
|
|
3271
3268
|
function v(D) {
|
|
3272
|
-
const T =
|
|
3269
|
+
const T = E(n.value, D);
|
|
3273
3270
|
n.value = T;
|
|
3274
3271
|
}
|
|
3275
3272
|
const h = te(() => ls(n.value));
|
|
3276
|
-
function
|
|
3277
|
-
var
|
|
3273
|
+
function E(D, T) {
|
|
3274
|
+
var H;
|
|
3278
3275
|
let k = ut(
|
|
3279
3276
|
D.filter(
|
|
3280
|
-
(
|
|
3277
|
+
(G) => G.subject !== me.Subject.Business.restaurant && G.subject !== me.Subject.Restaurant.restaurant
|
|
3281
3278
|
)
|
|
3282
3279
|
);
|
|
3283
3280
|
if (!T || T.length > 0) {
|
|
3284
3281
|
const {
|
|
3285
|
-
category:
|
|
3282
|
+
category: G,
|
|
3286
3283
|
showByFeatureFlag: j,
|
|
3287
3284
|
...ne
|
|
3288
3285
|
} = ms.restaurant;
|
|
@@ -3294,31 +3291,31 @@ const Nr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3294
3291
|
T && (J.conditions = JSON.stringify({ restaurantId: { $in: T } })), k.push(J);
|
|
3295
3292
|
}
|
|
3296
3293
|
if (T) {
|
|
3297
|
-
const
|
|
3294
|
+
const G = [
|
|
3298
3295
|
...new Set(T.map((ne) => S.value[ne]).flatMap((ne) => ne))
|
|
3299
3296
|
], j = _.value.map((ne) => ne._id);
|
|
3300
|
-
|
|
3297
|
+
G.length !== j.length && (k = C(
|
|
3301
3298
|
k,
|
|
3302
|
-
(
|
|
3299
|
+
(H = h.value || j) == null ? void 0 : H.filter((ne) => G.includes(ne))
|
|
3303
3300
|
));
|
|
3304
3301
|
}
|
|
3305
3302
|
return k;
|
|
3306
3303
|
}
|
|
3307
3304
|
function A(D) {
|
|
3308
|
-
const T =
|
|
3305
|
+
const T = C(n.value, D);
|
|
3309
3306
|
n.value = T;
|
|
3310
3307
|
}
|
|
3311
|
-
function
|
|
3308
|
+
function C(D, T) {
|
|
3312
3309
|
let k = ut(
|
|
3313
|
-
D.filter((
|
|
3310
|
+
D.filter((H) => H.subject !== me.Subject.Business.role)
|
|
3314
3311
|
);
|
|
3315
3312
|
if (T && T.length > 0) {
|
|
3316
|
-
const
|
|
3313
|
+
const H = {
|
|
3317
3314
|
actions: [me.Action.manage],
|
|
3318
3315
|
subject: me.Subject.Business.role,
|
|
3319
3316
|
conditions: JSON.stringify({ roleId: { $in: T } })
|
|
3320
3317
|
};
|
|
3321
|
-
k.push(
|
|
3318
|
+
k.push(H);
|
|
3322
3319
|
}
|
|
3323
3320
|
return k;
|
|
3324
3321
|
}
|
|
@@ -3328,80 +3325,80 @@ const Nr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3328
3325
|
c()
|
|
3329
3326
|
]);
|
|
3330
3327
|
});
|
|
3331
|
-
const
|
|
3328
|
+
const x = te(() => kt(
|
|
3332
3329
|
n.value,
|
|
3333
3330
|
Tt
|
|
3334
3331
|
).filter((k) => {
|
|
3335
|
-
const
|
|
3336
|
-
return (
|
|
3332
|
+
const H = k.source;
|
|
3333
|
+
return (H == null ? void 0 : H.type) !== "systemPermissionSet" ? !0 : k.actions.includes("manage");
|
|
3337
3334
|
}).map((k) => {
|
|
3338
3335
|
if (k.inverted) return k;
|
|
3339
|
-
const
|
|
3340
|
-
if (!
|
|
3341
|
-
const
|
|
3342
|
-
if (!
|
|
3343
|
-
const j =
|
|
3344
|
-
return j.length <= 1 || j.filter((J) => !
|
|
3336
|
+
const H = k.actions;
|
|
3337
|
+
if (!H.includes("manage")) return k;
|
|
3338
|
+
const G = u(k.subject);
|
|
3339
|
+
if (!G) return k;
|
|
3340
|
+
const j = G.actions;
|
|
3341
|
+
return j.length <= 1 || j.filter((J) => !H.includes(J)).length === 0 ? k : { ...k, actions: [...j] };
|
|
3345
3342
|
}));
|
|
3346
|
-
function
|
|
3343
|
+
function W(D) {
|
|
3347
3344
|
const T = new Set(
|
|
3348
|
-
|
|
3345
|
+
x.value.filter((j) => !j.inverted).map((j) => j.subject)
|
|
3349
3346
|
), k = new Set(
|
|
3350
3347
|
D.filter((j) => !j.inverted).map((j) => j.subject)
|
|
3351
|
-
),
|
|
3348
|
+
), H = new Set(
|
|
3352
3349
|
n.value.filter((j) => !j.inverted).map((j) => j.subject)
|
|
3353
3350
|
);
|
|
3354
|
-
let
|
|
3351
|
+
let G = [...n.value];
|
|
3355
3352
|
for (const j of T)
|
|
3356
|
-
k.has(j) || (
|
|
3357
|
-
|
|
3353
|
+
k.has(j) || (H.has(j) && (G = G.filter((J) => J.subject !== j)), (!H.has(j) || kt(
|
|
3354
|
+
G,
|
|
3358
3355
|
Tt
|
|
3359
3356
|
).some(
|
|
3360
3357
|
(J) => J.subject === j && !J.inverted && J.actions.includes("manage")
|
|
3361
|
-
)) && !
|
|
3358
|
+
)) && !G.some((J) => J.subject === j && J.inverted) && G.push({ subject: j, actions: ["manage"], inverted: !0 }));
|
|
3362
3359
|
for (const j of k)
|
|
3363
3360
|
if (!T.has(j)) {
|
|
3364
|
-
const ne =
|
|
3365
|
-
if (
|
|
3361
|
+
const ne = G.some((J) => J.subject === j && J.inverted);
|
|
3362
|
+
if (G = G.filter((J) => !(J.subject === j && J.inverted)), !ne && !H.has(j)) {
|
|
3366
3363
|
const J = D.find(
|
|
3367
|
-
(
|
|
3364
|
+
(Q) => Q.subject === j && !Q.inverted
|
|
3368
3365
|
), X = u(j);
|
|
3369
3366
|
if (X && J) {
|
|
3370
|
-
const { category:
|
|
3371
|
-
|
|
3367
|
+
const { category: Q, showByFeatureFlag: we, ...re } = X;
|
|
3368
|
+
G.push({ ...re, actions: J.actions });
|
|
3372
3369
|
}
|
|
3373
3370
|
}
|
|
3374
3371
|
}
|
|
3375
3372
|
for (const j of k) {
|
|
3376
3373
|
if (!T.has(j)) continue;
|
|
3377
|
-
const ne =
|
|
3374
|
+
const ne = x.value.find(
|
|
3378
3375
|
(re) => re.subject === j && !re.inverted
|
|
3379
3376
|
), J = D.find((re) => re.subject === j && !re.inverted);
|
|
3380
3377
|
if (!ne || !J) continue;
|
|
3381
|
-
const X = new Set(ne.actions),
|
|
3382
|
-
if (X.size ===
|
|
3378
|
+
const X = new Set(ne.actions), Q = new Set(J.actions);
|
|
3379
|
+
if (X.size === Q.size && [...X].every((re) => Q.has(re)))
|
|
3383
3380
|
continue;
|
|
3384
|
-
const we =
|
|
3381
|
+
const we = G.findIndex((re) => re.subject === j && !re.inverted);
|
|
3385
3382
|
if (we >= 0)
|
|
3386
|
-
|
|
3387
|
-
...
|
|
3388
|
-
actions: Array.from(
|
|
3383
|
+
G[we] = {
|
|
3384
|
+
...G[we],
|
|
3385
|
+
actions: Array.from(Q)
|
|
3389
3386
|
};
|
|
3390
3387
|
else {
|
|
3391
3388
|
const re = u(j);
|
|
3392
3389
|
if (re) {
|
|
3393
|
-
const { category:
|
|
3394
|
-
|
|
3390
|
+
const { category: Ie, showByFeatureFlag: Je, ...$e } = re;
|
|
3391
|
+
G.push({ ...$e, actions: Array.from(Q) });
|
|
3395
3392
|
}
|
|
3396
3393
|
}
|
|
3397
|
-
X.has("manage") && !
|
|
3398
|
-
|
|
3394
|
+
X.has("manage") && !Q.has("manage") && kt(
|
|
3395
|
+
G,
|
|
3399
3396
|
Tt
|
|
3400
3397
|
).some(
|
|
3401
|
-
(
|
|
3402
|
-
) && !
|
|
3398
|
+
(Ie) => Ie.subject === j && !Ie.inverted && Ie.actions.includes("manage")
|
|
3399
|
+
) && !G.some((Ie) => Ie.subject === j && Ie.inverted) && G.push({ subject: j, actions: ["manage"], inverted: !0 }), !X.has("manage") && Q.has("manage") && (G = G.filter((re) => !(re.subject === j && re.inverted)));
|
|
3403
3400
|
}
|
|
3404
|
-
n.value =
|
|
3401
|
+
n.value = G;
|
|
3405
3402
|
}
|
|
3406
3403
|
return St(
|
|
3407
3404
|
n,
|
|
@@ -3409,62 +3406,62 @@ const Nr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3409
3406
|
l("permissionChanged", D);
|
|
3410
3407
|
},
|
|
3411
3408
|
{ deep: !0 }
|
|
3412
|
-
), (D, T) => (
|
|
3413
|
-
ae("div",
|
|
3414
|
-
_e(
|
|
3415
|
-
"model-value":
|
|
3409
|
+
), (D, T) => (Y(), se("div", Gr, [
|
|
3410
|
+
ae("div", xr, [
|
|
3411
|
+
_e(wr, {
|
|
3412
|
+
"model-value": x.value,
|
|
3416
3413
|
"excluded-subjects": P,
|
|
3417
|
-
"additional-permissions":
|
|
3418
|
-
"onUpdate:modelValue":
|
|
3414
|
+
"additional-permissions": B(m),
|
|
3415
|
+
"onUpdate:modelValue": W
|
|
3419
3416
|
}, Fe({ _: 2 }, [
|
|
3420
3417
|
he(p.value, (k) => ({
|
|
3421
3418
|
name: `checkbox-${k.id}-append`,
|
|
3422
|
-
fn:
|
|
3419
|
+
fn: be(() => [
|
|
3423
3420
|
_e(it, { item: k }, null, 8, ["item"])
|
|
3424
3421
|
])
|
|
3425
3422
|
}))
|
|
3426
3423
|
]), 1032, ["model-value", "additional-permissions"])
|
|
3427
3424
|
]),
|
|
3428
|
-
ae("div",
|
|
3425
|
+
ae("div", Xr, [
|
|
3429
3426
|
_e(Rn, {
|
|
3430
3427
|
"model-value": V.value,
|
|
3431
3428
|
options: M.value,
|
|
3432
|
-
context:
|
|
3429
|
+
context: B(a)("team.labels.warehouse"),
|
|
3433
3430
|
"onUpdate:modelValue": i
|
|
3434
3431
|
}, Fe({ _: 2 }, [
|
|
3435
3432
|
he(O.value, (k) => ({
|
|
3436
3433
|
name: `checkbox-${k.id}-append`,
|
|
3437
|
-
fn:
|
|
3434
|
+
fn: be(() => [
|
|
3438
3435
|
_e(it, { item: k }, null, 8, ["item"])
|
|
3439
3436
|
])
|
|
3440
3437
|
}))
|
|
3441
3438
|
]), 1032, ["model-value", "options", "context"])
|
|
3442
3439
|
]),
|
|
3443
|
-
ae("div",
|
|
3440
|
+
ae("div", Zr, [
|
|
3444
3441
|
_e(Rn, {
|
|
3445
|
-
"model-value":
|
|
3442
|
+
"model-value": g.value,
|
|
3446
3443
|
options: w.value,
|
|
3447
|
-
context:
|
|
3444
|
+
context: B(a)("team.labels.restaurant"),
|
|
3448
3445
|
"onUpdate:modelValue": v
|
|
3449
3446
|
}, Fe({ _: 2 }, [
|
|
3450
|
-
he(
|
|
3447
|
+
he(R.value, (k) => ({
|
|
3451
3448
|
name: `checkbox-${k.id}-append`,
|
|
3452
|
-
fn:
|
|
3449
|
+
fn: be(() => [
|
|
3453
3450
|
_e(it, { item: k }, null, 8, ["item"])
|
|
3454
3451
|
])
|
|
3455
3452
|
}))
|
|
3456
3453
|
]), 1032, ["model-value", "options", "context"])
|
|
3457
3454
|
]),
|
|
3458
3455
|
ae("div", Hr, [
|
|
3459
|
-
_e(
|
|
3460
|
-
roles:
|
|
3456
|
+
_e(Vr, {
|
|
3457
|
+
roles: B(_),
|
|
3461
3458
|
"model-value": h.value,
|
|
3462
|
-
"restaurant-ids":
|
|
3459
|
+
"restaurant-ids": g.value,
|
|
3463
3460
|
"onUpdate:modelValue": A
|
|
3464
3461
|
}, Fe({ _: 2 }, [
|
|
3465
3462
|
he(y.value, (k) => ({
|
|
3466
3463
|
name: `checkbox-${k.id}-append`,
|
|
3467
|
-
fn:
|
|
3464
|
+
fn: be(() => [
|
|
3468
3465
|
_e(it, { item: k }, null, 8, ["item"])
|
|
3469
3466
|
])
|
|
3470
3467
|
}))
|
|
@@ -3474,6 +3471,6 @@ const Nr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3474
3471
|
}
|
|
3475
3472
|
});
|
|
3476
3473
|
export {
|
|
3477
|
-
|
|
3478
|
-
|
|
3474
|
+
Qt as _,
|
|
3475
|
+
el as a
|
|
3479
3476
|
};
|