@feedmepos/mf-hrm-portal 2.0.6-dev.1 → 2.0.6
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-C23_MiyK.js → AuditLogList-mk1RbMXf.js} +6 -7
- package/dist/{EmployeeList-vXPEVqoh.js → EmployeeList-BLzCroKt.js} +169 -164
- package/dist/{Main-k56Iy_zg.js → Main-Iq4fp839.js} +7 -8
- package/dist/{Main-DC9H9bAs.js → Main-LIt4hYn8.js} +10 -11
- package/dist/{PermissionSetList-B8tJCNpR.js → PermissionSetList-CNvdnZEw.js} +52 -53
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BPJpVG8_.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DCT_Y6Am.js} +755 -756
- package/dist/{RoleList-C5WA3Kxu.js → RoleList-AMggFB4w.js} +24 -26
- package/dist/{TeamMemberList-Ic-iWBHd.js → TeamMemberList-DaWjvODe.js} +9 -10
- package/dist/{TimesheetList-DlGpcOUp.js → TimesheetList-Dp_1EjAA.js} +10 -11
- package/dist/{app-D0xH_99A.js → app-CCkFz3PM.js} +694 -959
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-C1rTVn8X.js → dayjs.min-DVRxgWXl.js} +1 -1
- package/dist/{employee-BK4sYiRy.js → employee-8mSXAzs-.js} +20 -21
- package/dist/{index-DSAB4vz3.js → index-C_69XbrV.js} +1 -1
- package/dist/{iteration-BSGKcAZm.js → index-Cq17YHgg.js} +4430 -3468
- package/dist/{lodash-CeTePH4O.js → lodash-J0KOvkWp.js} +1 -1
- package/dist/src/api/index.d.ts +1 -3
- package/dist/src/router/shared.d.ts +1 -2
- package/dist/{team-B25hRkju.js → team-CRqSHpKv.js} +1 -1
- package/dist/{timesheet-C8oy-bxz.js → timesheet-XhZUvI_q.js} +9 -10
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-WGnUS7Wm.js → useAppStore-CI8j71j-.js} +1 -1
- package/dist/{useLoading-BCi2g_rf.js → useLoading-DynadGXC.js} +1 -1
- package/dist/{useReportPermissions--LOfl1e-.js → useReportPermissions-BqGXho47.js} +11 -12
- package/dist/useRestaurantMap-D5BNPLKh.js +107 -0
- package/package.json +2 -2
- package/dist/FormSection.vue_vue_type_script_setup_true_lang-BVb8c4YU.js +0 -71
- package/dist/HorizontalSplitter-o860F4xM.js +0 -12
- package/dist/Main-CQWe1-SW.js +0 -599
- package/dist/index-C2ubYSVV.js +0 -968
- package/dist/src/api/grant-user/index.d.ts +0 -8
- package/dist/src/stores/grant-user.d.ts +0 -86
- package/dist/src/types/grant-user.d.ts +0 -27
- package/dist/src/views/grant/GrantUserList.vue.d.ts +0 -17
- package/dist/src/views/grant/Main.vue.d.ts +0 -2
- package/dist/src/views/grant/components/GrantUserForm.vue.d.ts +0 -17
- package/dist/src/views/grant/locales/index.d.ts +0 -232
- package/dist/useRestaurantMap-e9fQJiLC.js +0 -39
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import { getCurrentInstance as
|
|
1
|
+
import { getCurrentInstance as Yt, inject as Hn, ref as Ve, shallowRef as Bn, computed as z, watch as St, onMounted as xt, onUnmounted as On, defineComponent as Ie, h as Rn, createVNode as de, Text as $n, Fragment as ke, resolveComponent as Ze, createBlock as Se, openBlock as x, withCtx as pe, createElementVNode as ne, createElementBlock as te, toDisplayString as Ae, unref as ye, renderList as _e, renderSlot as he, createCommentVNode as Le, createTextVNode as Jn, useSlots as Kn, normalizeStyle as ct, normalizeClass as qe, createSlots as Fe, nextTick as zn, mergeModels as Qt, useModel as Qn } from "vue";
|
|
2
2
|
import { useI18n as _t, useCoreStore as qn } from "@feedmepos/mf-common";
|
|
3
3
|
import "@vue/devtools-api";
|
|
4
|
-
import { p as
|
|
5
|
-
import { d as
|
|
6
|
-
import {
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as cs } from "./useAppStore-WGnUS7Wm.js";
|
|
4
|
+
import { l as ut, p as Dt, g as es, b as ts, q as ns, E as ss, F as kt, G as as, w as rs, $ as yt } from "./index-Cq17YHgg.js";
|
|
5
|
+
import { i as ls, d as ie, N as os, a as Tt } from "./app-CCkFz3PM.js";
|
|
6
|
+
import { u as is } from "./index-C_69XbrV.js";
|
|
7
|
+
import { u as cs } from "./useAppStore-CI8j71j-.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 qt = typeof window < "u",
|
|
13
|
+
const qt = typeof window < "u", je = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), us = (e, t, n) => ms({ l: e, k: t, s: n }), ms = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ce = (e) => typeof e == "number" && isFinite(e), ds = (e) => Zt(e) === "[object Date]", dt = (e) => Zt(e) === "[object RegExp]", pt = (e) => Z(e) && Object.keys(e).length === 0, ue = Object.assign, fs = Object.create, J = (e = null) => fs(e);
|
|
15
14
|
let en;
|
|
16
|
-
const
|
|
15
|
+
const Ue = () => en || (en = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : J());
|
|
17
16
|
function tn(e) {
|
|
18
17
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
19
18
|
}
|
|
@@ -21,11 +20,11 @@ const _s = Object.prototype.hasOwnProperty;
|
|
|
21
20
|
function Ee(e, t) {
|
|
22
21
|
return _s.call(e, t);
|
|
23
22
|
}
|
|
24
|
-
const oe = Array.isArray, se = (e) => typeof e == "function", M = (e) => typeof e == "string", le = (e) => typeof e == "boolean", X = (e) => e !== null && typeof e == "object", ps = (e) => X(e) && se(e.then) && se(e.catch), Cn = Object.prototype.toString, Zt = (e) => Cn.call(e), Z = (e) => Zt(e) === "[object Object]",
|
|
23
|
+
const oe = Array.isArray, se = (e) => typeof e == "function", M = (e) => typeof e == "string", le = (e) => typeof e == "boolean", X = (e) => e !== null && typeof e == "object", ps = (e) => X(e) && se(e.then) && se(e.catch), Cn = Object.prototype.toString, Zt = (e) => Cn.call(e), Z = (e) => Zt(e) === "[object Object]", hs = (e) => e == null ? "" : oe(e) || Z(e) && e.toString === Cn ? JSON.stringify(e, null, 2) : String(e);
|
|
25
24
|
function Xt(e, t = "") {
|
|
26
25
|
return e.reduce((n, s, l) => l === 0 ? n + s : n + t + s, "");
|
|
27
26
|
}
|
|
28
|
-
function
|
|
27
|
+
function bs(e, t) {
|
|
29
28
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
30
29
|
}
|
|
31
30
|
const rt = (e) => !X(e) || oe(e);
|
|
@@ -43,10 +42,10 @@ function mt(e, t) {
|
|
|
43
42
|
function gs(e, t, n) {
|
|
44
43
|
return { line: e, column: t, offset: n };
|
|
45
44
|
}
|
|
46
|
-
function
|
|
45
|
+
function wt(e, t, n) {
|
|
47
46
|
return { start: e, end: t };
|
|
48
47
|
}
|
|
49
|
-
const
|
|
48
|
+
const B = {
|
|
50
49
|
// tokenizer error codes
|
|
51
50
|
EXPECTED_TOKEN: 1,
|
|
52
51
|
INVALID_TOKEN_IN_PLACEHOLDER: 2,
|
|
@@ -64,26 +63,26 @@ const H = {
|
|
|
64
63
|
UNEXPECTED_EMPTY_LINKED_KEY: 13,
|
|
65
64
|
UNEXPECTED_LEXICAL_ANALYSIS: 14
|
|
66
65
|
}, vs = 17;
|
|
67
|
-
function
|
|
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
70
|
function Es(e) {
|
|
72
71
|
throw e;
|
|
73
72
|
}
|
|
74
|
-
const
|
|
75
|
-
`, Ns = "\u2028",
|
|
76
|
-
function
|
|
73
|
+
const Te = " ", Is = "\r", me = `
|
|
74
|
+
`, Ns = "\u2028", ks = "\u2029";
|
|
75
|
+
function ys(e) {
|
|
77
76
|
const t = e;
|
|
78
77
|
let n = 0, s = 1, l = 1, a = 0;
|
|
79
|
-
const c = (_) => t[_] === Is && t[_ + 1] === me, m = (_) => t[_] === me, u = (_) => t[_] ===
|
|
78
|
+
const c = (_) => t[_] === Is && t[_ + 1] === me, m = (_) => t[_] === me, u = (_) => t[_] === ks, b = (_) => t[_] === Ns, y = (_) => c(_) || m(_) || u(_) || b(_), L = () => n, N = () => s, P = () => l, V = () => a, T = (_) => c(_) || u(_) || b(_) ? me : t[_], A = () => T(n), i = () => T(n + a);
|
|
80
79
|
function d() {
|
|
81
|
-
return a = 0,
|
|
80
|
+
return a = 0, y(n) && (s++, l = 0), c(n) && n++, n++, l++, t[n];
|
|
82
81
|
}
|
|
83
|
-
function
|
|
82
|
+
function k() {
|
|
84
83
|
return c(n + a) && a++, a++, t[n + a];
|
|
85
84
|
}
|
|
86
|
-
function
|
|
85
|
+
function h() {
|
|
87
86
|
n = 0, s = 1, l = 1, a = 0;
|
|
88
87
|
}
|
|
89
88
|
function S(_ = 0) {
|
|
@@ -96,23 +95,23 @@ function Ts(e) {
|
|
|
96
95
|
a = 0;
|
|
97
96
|
}
|
|
98
97
|
return {
|
|
99
|
-
index:
|
|
98
|
+
index: L,
|
|
100
99
|
line: N,
|
|
101
100
|
column: P,
|
|
102
101
|
peekOffset: V,
|
|
103
|
-
charAt:
|
|
102
|
+
charAt: T,
|
|
104
103
|
currentChar: A,
|
|
105
104
|
currentPeek: i,
|
|
106
105
|
next: d,
|
|
107
|
-
peek:
|
|
108
|
-
reset:
|
|
106
|
+
peek: k,
|
|
107
|
+
reset: h,
|
|
109
108
|
resetPeek: S,
|
|
110
109
|
skipToPeek: p
|
|
111
110
|
};
|
|
112
111
|
}
|
|
113
|
-
const Ce = void 0,
|
|
114
|
-
function
|
|
115
|
-
const n = t.location !== !1, s =
|
|
112
|
+
const Ce = void 0, Ts = ".", nn = "'", Ls = "tokenizer";
|
|
113
|
+
function Os(e, t = {}) {
|
|
114
|
+
const n = t.location !== !1, s = ys(e), l = () => s.index(), a = () => gs(s.line(), s.column(), s.index()), c = a(), m = l(), u = {
|
|
116
115
|
currentType: 13,
|
|
117
116
|
offset: m,
|
|
118
117
|
startLoc: c,
|
|
@@ -124,21 +123,21 @@ function Ls(e, t = {}) {
|
|
|
124
123
|
braceNest: 0,
|
|
125
124
|
inLinked: !1,
|
|
126
125
|
text: ""
|
|
127
|
-
},
|
|
128
|
-
function
|
|
129
|
-
const ae =
|
|
130
|
-
if (o.column += v, o.offset += v,
|
|
131
|
-
const W = n ?
|
|
132
|
-
domain:
|
|
126
|
+
}, b = () => u, { onError: y } = t;
|
|
127
|
+
function L(r, o, v, ...F) {
|
|
128
|
+
const ae = b();
|
|
129
|
+
if (o.column += v, o.offset += v, y) {
|
|
130
|
+
const W = n ? wt(ae.startLoc, o) : null, f = ht(r, W, {
|
|
131
|
+
domain: Ls,
|
|
133
132
|
args: F
|
|
134
133
|
});
|
|
135
|
-
|
|
134
|
+
y(f);
|
|
136
135
|
}
|
|
137
136
|
}
|
|
138
137
|
function N(r, o, v) {
|
|
139
138
|
r.endLoc = a(), r.currentType = o;
|
|
140
139
|
const F = { type: o };
|
|
141
|
-
return n && (F.loc =
|
|
140
|
+
return n && (F.loc = wt(r.startLoc, r.endLoc)), v != null && (F.value = v), F;
|
|
142
141
|
}
|
|
143
142
|
const P = (r) => N(
|
|
144
143
|
r,
|
|
@@ -146,16 +145,16 @@ function Ls(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) : (L(B.EXPECTED_TOKEN, a(), 0, o), "");
|
|
150
149
|
}
|
|
151
|
-
function
|
|
150
|
+
function T(r) {
|
|
152
151
|
let o = "";
|
|
153
|
-
for (; r.currentPeek() ===
|
|
152
|
+
for (; r.currentPeek() === Te || r.currentPeek() === me; )
|
|
154
153
|
o += r.currentPeek(), r.peek();
|
|
155
154
|
return o;
|
|
156
155
|
}
|
|
157
156
|
function A(r) {
|
|
158
|
-
const o =
|
|
157
|
+
const o = T(r);
|
|
159
158
|
return r.skipToPeek(), o;
|
|
160
159
|
}
|
|
161
160
|
function i(r) {
|
|
@@ -172,19 +171,19 @@ function Ls(e, t = {}) {
|
|
|
172
171
|
const o = r.charCodeAt(0);
|
|
173
172
|
return o >= 48 && o <= 57;
|
|
174
173
|
}
|
|
175
|
-
function
|
|
174
|
+
function k(r, o) {
|
|
176
175
|
const { currentType: v } = o;
|
|
177
176
|
if (v !== 2)
|
|
178
177
|
return !1;
|
|
179
|
-
|
|
178
|
+
T(r);
|
|
180
179
|
const F = i(r.currentPeek());
|
|
181
180
|
return r.resetPeek(), F;
|
|
182
181
|
}
|
|
183
|
-
function
|
|
182
|
+
function h(r, o) {
|
|
184
183
|
const { currentType: v } = o;
|
|
185
184
|
if (v !== 2)
|
|
186
185
|
return !1;
|
|
187
|
-
|
|
186
|
+
T(r);
|
|
188
187
|
const F = r.currentPeek() === "-" ? r.peek() : r.currentPeek(), ae = d(F);
|
|
189
188
|
return r.resetPeek(), ae;
|
|
190
189
|
}
|
|
@@ -192,7 +191,7 @@ function Ls(e, t = {}) {
|
|
|
192
191
|
const { currentType: v } = o;
|
|
193
192
|
if (v !== 2)
|
|
194
193
|
return !1;
|
|
195
|
-
|
|
194
|
+
T(r);
|
|
196
195
|
const F = r.currentPeek() === nn;
|
|
197
196
|
return r.resetPeek(), F;
|
|
198
197
|
}
|
|
@@ -200,7 +199,7 @@ function Ls(e, t = {}) {
|
|
|
200
199
|
const { currentType: v } = o;
|
|
201
200
|
if (v !== 7)
|
|
202
201
|
return !1;
|
|
203
|
-
|
|
202
|
+
T(r);
|
|
204
203
|
const F = r.currentPeek() === ".";
|
|
205
204
|
return r.resetPeek(), F;
|
|
206
205
|
}
|
|
@@ -208,15 +207,15 @@ function Ls(e, t = {}) {
|
|
|
208
207
|
const { currentType: v } = o;
|
|
209
208
|
if (v !== 8)
|
|
210
209
|
return !1;
|
|
211
|
-
|
|
210
|
+
T(r);
|
|
212
211
|
const F = i(r.currentPeek());
|
|
213
212
|
return r.resetPeek(), F;
|
|
214
213
|
}
|
|
215
|
-
function
|
|
214
|
+
function U(r, o) {
|
|
216
215
|
const { currentType: v } = o;
|
|
217
216
|
if (!(v === 7 || v === 11))
|
|
218
217
|
return !1;
|
|
219
|
-
|
|
218
|
+
T(r);
|
|
220
219
|
const F = r.currentPeek() === ":";
|
|
221
220
|
return r.resetPeek(), F;
|
|
222
221
|
}
|
|
@@ -226,23 +225,23 @@ function Ls(e, t = {}) {
|
|
|
226
225
|
return !1;
|
|
227
226
|
const F = () => {
|
|
228
227
|
const W = r.currentPeek();
|
|
229
|
-
return W === "{" ? i(r.peek()) : W === "@" || W === "|" || W === ":" || W === "." || W ===
|
|
228
|
+
return W === "{" ? i(r.peek()) : W === "@" || W === "|" || W === ":" || W === "." || W === Te || !W ? !1 : W === me ? (r.peek(), F()) : G(r, !1);
|
|
230
229
|
}, ae = F();
|
|
231
230
|
return r.resetPeek(), ae;
|
|
232
231
|
}
|
|
233
232
|
function I(r) {
|
|
234
|
-
|
|
233
|
+
T(r);
|
|
235
234
|
const o = r.currentPeek() === "|";
|
|
236
235
|
return r.resetPeek(), o;
|
|
237
236
|
}
|
|
238
|
-
function
|
|
237
|
+
function G(r, o = !0) {
|
|
239
238
|
const v = (ae = !1, W = "") => {
|
|
240
239
|
const f = r.currentPeek();
|
|
241
|
-
return f === "{" || f === "@" || !f ? ae : f === "|" ? !(W ===
|
|
240
|
+
return f === "{" || f === "@" || !f ? ae : f === "|" ? !(W === Te || W === me) : f === Te ? (r.peek(), v(!0, Te)) : f === me ? (r.peek(), v(!0, me)) : !0;
|
|
242
241
|
}, F = v();
|
|
243
242
|
return o && r.resetPeek(), F;
|
|
244
243
|
}
|
|
245
|
-
function
|
|
244
|
+
function D(r, o) {
|
|
246
245
|
const v = r.currentChar();
|
|
247
246
|
return v === Ce ? Ce : o(v) ? (r.next(), v) : null;
|
|
248
247
|
}
|
|
@@ -255,7 +254,7 @@ function Ls(e, t = {}) {
|
|
|
255
254
|
o === 36;
|
|
256
255
|
}
|
|
257
256
|
function q(r) {
|
|
258
|
-
return
|
|
257
|
+
return D(r, $);
|
|
259
258
|
}
|
|
260
259
|
function C(r) {
|
|
261
260
|
const o = r.charCodeAt(0);
|
|
@@ -266,28 +265,28 @@ function Ls(e, t = {}) {
|
|
|
266
265
|
o === 36 || // $
|
|
267
266
|
o === 45;
|
|
268
267
|
}
|
|
269
|
-
function
|
|
270
|
-
return
|
|
268
|
+
function O(r) {
|
|
269
|
+
return D(r, C);
|
|
271
270
|
}
|
|
272
|
-
function
|
|
271
|
+
function w(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 D(r, w);
|
|
278
277
|
}
|
|
279
|
-
function
|
|
278
|
+
function j(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 R(r) {
|
|
286
|
-
return
|
|
285
|
+
return D(r, j);
|
|
287
286
|
}
|
|
288
|
-
function
|
|
287
|
+
function Y(r) {
|
|
289
288
|
let o = "", v = "";
|
|
290
|
-
for (; o =
|
|
289
|
+
for (; o = H(r); )
|
|
291
290
|
v += o;
|
|
292
291
|
return v;
|
|
293
292
|
}
|
|
@@ -297,8 +296,8 @@ function Ls(e, t = {}) {
|
|
|
297
296
|
const v = r.currentChar();
|
|
298
297
|
if (v === "{" || v === "}" || v === "@" || v === "|" || !v)
|
|
299
298
|
break;
|
|
300
|
-
if (v ===
|
|
301
|
-
if (
|
|
299
|
+
if (v === Te || v === me)
|
|
300
|
+
if (G(r))
|
|
302
301
|
o += v, r.next();
|
|
303
302
|
else {
|
|
304
303
|
if (I(r))
|
|
@@ -313,14 +312,14 @@ function Ls(e, t = {}) {
|
|
|
313
312
|
function ge(r) {
|
|
314
313
|
A(r);
|
|
315
314
|
let o = "", v = "";
|
|
316
|
-
for (; o =
|
|
315
|
+
for (; o = O(r); )
|
|
317
316
|
v += o;
|
|
318
|
-
return r.currentChar() === Ce &&
|
|
317
|
+
return r.currentChar() === Ce && L(B.UNTERMINATED_CLOSING_BRACE, a(), 0), v;
|
|
319
318
|
}
|
|
320
319
|
function fe(r) {
|
|
321
320
|
A(r);
|
|
322
321
|
let o = "";
|
|
323
|
-
return r.currentChar() === "-" ? (r.next(), o += `-${
|
|
322
|
+
return r.currentChar() === "-" ? (r.next(), o += `-${Y(r)}`) : o += Y(r), r.currentChar() === Ce && L(B.UNTERMINATED_CLOSING_BRACE, a(), 0), o;
|
|
324
323
|
}
|
|
325
324
|
function Me(r) {
|
|
326
325
|
return r !== nn && r !== me;
|
|
@@ -328,10 +327,10 @@ function Ls(e, t = {}) {
|
|
|
328
327
|
function ee(r) {
|
|
329
328
|
A(r), V(r, "'");
|
|
330
329
|
let o = "", v = "";
|
|
331
|
-
for (; o =
|
|
330
|
+
for (; o = D(r, Me); )
|
|
332
331
|
o === "\\" ? v += ve(r) : v += o;
|
|
333
332
|
const F = r.currentChar();
|
|
334
|
-
return F === me || F === Ce ? (
|
|
333
|
+
return F === me || F === Ce ? (L(B.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), F === me && (r.next(), V(r, "'")), v) : (V(r, "'"), v);
|
|
335
334
|
}
|
|
336
335
|
function ve(r) {
|
|
337
336
|
const o = r.currentChar();
|
|
@@ -344,7 +343,7 @@ function Ls(e, t = {}) {
|
|
|
344
343
|
case "U":
|
|
345
344
|
return $e(r, o, 6);
|
|
346
345
|
default:
|
|
347
|
-
return
|
|
346
|
+
return L(B.UNKNOWN_ESCAPE_SEQUENCE, a(), 0, o), "";
|
|
348
347
|
}
|
|
349
348
|
}
|
|
350
349
|
function $e(r, o, v) {
|
|
@@ -353,7 +352,7 @@ function Ls(e, t = {}) {
|
|
|
353
352
|
for (let ae = 0; ae < v; ae++) {
|
|
354
353
|
const W = R(r);
|
|
355
354
|
if (!W) {
|
|
356
|
-
|
|
355
|
+
L(B.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${F}${r.currentChar()}`);
|
|
357
356
|
break;
|
|
358
357
|
}
|
|
359
358
|
F += W;
|
|
@@ -361,12 +360,12 @@ function Ls(e, t = {}) {
|
|
|
361
360
|
return `\\${o}${F}`;
|
|
362
361
|
}
|
|
363
362
|
function Je(r) {
|
|
364
|
-
return r !== "{" && r !== "}" && r !==
|
|
363
|
+
return r !== "{" && r !== "}" && r !== Te && r !== me;
|
|
365
364
|
}
|
|
366
365
|
function vt(r) {
|
|
367
366
|
A(r);
|
|
368
367
|
let o = "", v = "";
|
|
369
|
-
for (; o =
|
|
368
|
+
for (; o = D(r, Je); )
|
|
370
369
|
v += o;
|
|
371
370
|
return v;
|
|
372
371
|
}
|
|
@@ -379,7 +378,7 @@ function Ls(e, t = {}) {
|
|
|
379
378
|
function It(r) {
|
|
380
379
|
const o = (v) => {
|
|
381
380
|
const F = r.currentChar();
|
|
382
|
-
return F === "{" || F === "@" || F === "|" || F === "(" || F === ")" || !F || F ===
|
|
381
|
+
return F === "{" || F === "@" || F === "|" || F === "(" || F === ")" || !F || F === Te ? v : (v += F, r.next(), o(v));
|
|
383
382
|
};
|
|
384
383
|
return o("");
|
|
385
384
|
}
|
|
@@ -396,45 +395,45 @@ function Ls(e, t = {}) {
|
|
|
396
395
|
let v = null;
|
|
397
396
|
switch (r.currentChar()) {
|
|
398
397
|
case "{":
|
|
399
|
-
return o.braceNest >= 1 &&
|
|
398
|
+
return o.braceNest >= 1 && L(B.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), r.next(), v = N(
|
|
400
399
|
o,
|
|
401
400
|
2,
|
|
402
401
|
"{"
|
|
403
402
|
/* TokenChars.BraceLeft */
|
|
404
403
|
), A(r), o.braceNest++, v;
|
|
405
404
|
case "}":
|
|
406
|
-
return o.braceNest > 0 && o.currentType === 2 &&
|
|
405
|
+
return o.braceNest > 0 && o.currentType === 2 && L(B.EMPTY_PLACEHOLDER, a(), 0), r.next(), v = N(
|
|
407
406
|
o,
|
|
408
407
|
3,
|
|
409
408
|
"}"
|
|
410
409
|
/* TokenChars.BraceRight */
|
|
411
410
|
), o.braceNest--, o.braceNest > 0 && A(r), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), v;
|
|
412
411
|
case "@":
|
|
413
|
-
return o.braceNest > 0 &&
|
|
412
|
+
return o.braceNest > 0 && L(B.UNTERMINATED_CLOSING_BRACE, a(), 0), v = Ge(r, o) || P(o), o.braceNest = 0, v;
|
|
414
413
|
default: {
|
|
415
414
|
let ae = !0, W = !0, f = !0;
|
|
416
415
|
if (I(r))
|
|
417
|
-
return o.braceNest > 0 &&
|
|
416
|
+
return o.braceNest > 0 && L(B.UNTERMINATED_CLOSING_BRACE, a(), 0), v = N(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, v;
|
|
418
417
|
if (o.braceNest > 0 && (o.currentType === 4 || o.currentType === 5 || o.currentType === 6))
|
|
419
|
-
return
|
|
420
|
-
if (ae =
|
|
418
|
+
return L(B.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0, ze(r, o);
|
|
419
|
+
if (ae = k(r, o))
|
|
421
420
|
return v = N(o, 4, ge(r)), A(r), v;
|
|
422
|
-
if (W =
|
|
421
|
+
if (W = h(r, o))
|
|
423
422
|
return v = N(o, 5, fe(r)), A(r), v;
|
|
424
423
|
if (f = S(r, o))
|
|
425
424
|
return v = N(o, 6, ee(r)), A(r), v;
|
|
426
425
|
if (!ae && !W && !f)
|
|
427
|
-
return v = N(o, 12, vt(r)),
|
|
426
|
+
return v = N(o, 12, vt(r)), L(B.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, v.value), A(r), v;
|
|
428
427
|
break;
|
|
429
428
|
}
|
|
430
429
|
}
|
|
431
430
|
return v;
|
|
432
431
|
}
|
|
433
|
-
function
|
|
432
|
+
function Ge(r, o) {
|
|
434
433
|
const { currentType: v } = o;
|
|
435
434
|
let F = null;
|
|
436
435
|
const ae = r.currentChar();
|
|
437
|
-
switch ((v === 7 || v === 8 || v === 11 || v === 9) && (ae === me || ae ===
|
|
436
|
+
switch ((v === 7 || v === 8 || v === 11 || v === 9) && (ae === me || ae === Te) && L(B.INVALID_LINKED_FORMAT, a(), 0), ae) {
|
|
438
437
|
case "@":
|
|
439
438
|
return r.next(), F = N(
|
|
440
439
|
o,
|
|
@@ -457,7 +456,7 @@ function Ls(e, t = {}) {
|
|
|
457
456
|
/* TokenChars.LinkedDelimiter */
|
|
458
457
|
);
|
|
459
458
|
default:
|
|
460
|
-
return I(r) ? (F = N(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, F) : p(r, o) ||
|
|
459
|
+
return I(r) ? (F = N(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, F) : p(r, o) || U(r, o) ? (A(r), Ge(r, o)) : _(r, o) ? (A(r), N(o, 11, Et(r))) : g(r, o) ? (A(r), ae === "{" ? We(r, o) || F : N(o, 10, It(r))) : (v === 7 && L(B.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, ze(r, o));
|
|
461
460
|
}
|
|
462
461
|
}
|
|
463
462
|
function ze(r, o) {
|
|
@@ -468,23 +467,23 @@ function Ls(e, t = {}) {
|
|
|
468
467
|
if (o.braceNest > 0)
|
|
469
468
|
return We(r, o) || P(o);
|
|
470
469
|
if (o.inLinked)
|
|
471
|
-
return
|
|
470
|
+
return Ge(r, o) || P(o);
|
|
472
471
|
switch (r.currentChar()) {
|
|
473
472
|
case "{":
|
|
474
473
|
return We(r, o) || P(o);
|
|
475
474
|
case "}":
|
|
476
|
-
return
|
|
475
|
+
return L(B.UNBALANCED_CLOSING_BRACE, a(), 0), r.next(), N(
|
|
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
484
|
if (I(r))
|
|
486
485
|
return v = N(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, v;
|
|
487
|
-
if (
|
|
486
|
+
if (G(r))
|
|
488
487
|
return N(o, 0, Q(r));
|
|
489
488
|
break;
|
|
490
489
|
}
|
|
@@ -503,7 +502,7 @@ function Ls(e, t = {}) {
|
|
|
503
502
|
nextToken: Nt,
|
|
504
503
|
currentOffset: l,
|
|
505
504
|
currentPosition: a,
|
|
506
|
-
context:
|
|
505
|
+
context: b
|
|
507
506
|
};
|
|
508
507
|
}
|
|
509
508
|
const Rs = "parser", Cs = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
|
|
@@ -521,103 +520,103 @@ function As(e, t, n) {
|
|
|
521
520
|
}
|
|
522
521
|
function Ss(e = {}) {
|
|
523
522
|
const t = e.location !== !1, { onError: n } = e;
|
|
524
|
-
function s(i, d,
|
|
523
|
+
function s(i, d, k, h, ...S) {
|
|
525
524
|
const p = i.currentPosition();
|
|
526
|
-
if (p.offset +=
|
|
527
|
-
const _ = t ?
|
|
525
|
+
if (p.offset += h, p.column += h, n) {
|
|
526
|
+
const _ = t ? wt(k, p) : null, U = ht(d, _, {
|
|
528
527
|
domain: Rs,
|
|
529
528
|
args: S
|
|
530
529
|
});
|
|
531
|
-
n(
|
|
530
|
+
n(U);
|
|
532
531
|
}
|
|
533
532
|
}
|
|
534
|
-
function l(i, d,
|
|
535
|
-
const
|
|
536
|
-
return t && (
|
|
533
|
+
function l(i, d, k) {
|
|
534
|
+
const h = { type: i };
|
|
535
|
+
return t && (h.start = d, h.end = d, h.loc = { start: k, end: k }), h;
|
|
537
536
|
}
|
|
538
|
-
function a(i, d,
|
|
539
|
-
t && (i.end = d, i.loc && (i.loc.end =
|
|
537
|
+
function a(i, d, k, h) {
|
|
538
|
+
t && (i.end = d, i.loc && (i.loc.end = k));
|
|
540
539
|
}
|
|
541
540
|
function c(i, d) {
|
|
542
|
-
const
|
|
543
|
-
return
|
|
541
|
+
const k = i.context(), h = l(3, k.offset, k.startLoc);
|
|
542
|
+
return h.value = d, a(h, i.currentOffset(), i.currentPosition()), h;
|
|
544
543
|
}
|
|
545
544
|
function m(i, d) {
|
|
546
|
-
const
|
|
545
|
+
const k = i.context(), { lastOffset: h, lastStartLoc: S } = k, p = l(5, h, S);
|
|
547
546
|
return p.index = parseInt(d, 10), i.nextToken(), a(p, i.currentOffset(), i.currentPosition()), p;
|
|
548
547
|
}
|
|
549
548
|
function u(i, d) {
|
|
550
|
-
const
|
|
549
|
+
const k = i.context(), { lastOffset: h, lastStartLoc: S } = k, p = l(4, h, S);
|
|
551
550
|
return p.key = d, i.nextToken(), a(p, i.currentOffset(), i.currentPosition()), p;
|
|
552
551
|
}
|
|
553
|
-
function
|
|
554
|
-
const
|
|
552
|
+
function b(i, d) {
|
|
553
|
+
const k = i.context(), { lastOffset: h, lastStartLoc: S } = k, p = l(9, h, S);
|
|
555
554
|
return p.value = d.replace(Cs, As), i.nextToken(), a(p, i.currentOffset(), i.currentPosition()), p;
|
|
556
555
|
}
|
|
557
|
-
function
|
|
558
|
-
const d = i.nextToken(),
|
|
559
|
-
return d.type !== 11 ? (s(i,
|
|
556
|
+
function y(i) {
|
|
557
|
+
const d = i.nextToken(), k = i.context(), { lastOffset: h, lastStartLoc: S } = k, p = l(8, h, S);
|
|
558
|
+
return d.type !== 11 ? (s(i, B.UNEXPECTED_EMPTY_LINKED_MODIFIER, k.lastStartLoc, 0), p.value = "", a(p, h, S), {
|
|
560
559
|
nextConsumeToken: d,
|
|
561
560
|
node: p
|
|
562
|
-
}) : (d.value == null && s(i,
|
|
561
|
+
}) : (d.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, Ne(d)), p.value = d.value || "", a(p, i.currentOffset(), i.currentPosition()), {
|
|
563
562
|
node: p
|
|
564
563
|
});
|
|
565
564
|
}
|
|
566
|
-
function
|
|
567
|
-
const
|
|
568
|
-
return
|
|
565
|
+
function L(i, d) {
|
|
566
|
+
const k = i.context(), h = l(7, k.offset, k.startLoc);
|
|
567
|
+
return h.value = d, a(h, i.currentOffset(), i.currentPosition()), h;
|
|
569
568
|
}
|
|
570
569
|
function N(i) {
|
|
571
|
-
const d = i.context(),
|
|
572
|
-
let
|
|
573
|
-
if (
|
|
574
|
-
const S =
|
|
575
|
-
|
|
570
|
+
const d = i.context(), k = l(6, d.offset, d.startLoc);
|
|
571
|
+
let h = i.nextToken();
|
|
572
|
+
if (h.type === 8) {
|
|
573
|
+
const S = y(i);
|
|
574
|
+
k.modifier = S.node, h = S.nextConsumeToken || i.nextToken();
|
|
576
575
|
}
|
|
577
|
-
switch (
|
|
576
|
+
switch (h.type !== 9 && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(h)), h = i.nextToken(), h.type === 2 && (h = i.nextToken()), h.type) {
|
|
578
577
|
case 10:
|
|
579
|
-
|
|
578
|
+
h.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(h)), k.key = L(i, h.value || "");
|
|
580
579
|
break;
|
|
581
580
|
case 4:
|
|
582
|
-
|
|
581
|
+
h.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(h)), k.key = u(i, h.value || "");
|
|
583
582
|
break;
|
|
584
583
|
case 5:
|
|
585
|
-
|
|
584
|
+
h.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(h)), k.key = m(i, h.value || "");
|
|
586
585
|
break;
|
|
587
586
|
case 6:
|
|
588
|
-
|
|
587
|
+
h.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(h)), k.key = b(i, h.value || "");
|
|
589
588
|
break;
|
|
590
589
|
default: {
|
|
591
|
-
s(i,
|
|
590
|
+
s(i, B.UNEXPECTED_EMPTY_LINKED_KEY, d.lastStartLoc, 0);
|
|
592
591
|
const S = i.context(), p = l(7, S.offset, S.startLoc);
|
|
593
|
-
return p.value = "", a(p, S.offset, S.startLoc),
|
|
594
|
-
nextConsumeToken:
|
|
595
|
-
node:
|
|
592
|
+
return p.value = "", a(p, S.offset, S.startLoc), k.key = p, a(k, S.offset, S.startLoc), {
|
|
593
|
+
nextConsumeToken: h,
|
|
594
|
+
node: k
|
|
596
595
|
};
|
|
597
596
|
}
|
|
598
597
|
}
|
|
599
|
-
return a(
|
|
600
|
-
node:
|
|
598
|
+
return a(k, i.currentOffset(), i.currentPosition()), {
|
|
599
|
+
node: k
|
|
601
600
|
};
|
|
602
601
|
}
|
|
603
602
|
function P(i) {
|
|
604
|
-
const d = i.context(),
|
|
603
|
+
const d = i.context(), k = d.currentType === 1 ? i.currentOffset() : d.offset, h = d.currentType === 1 ? d.endLoc : d.startLoc, S = l(2, k, h);
|
|
605
604
|
S.items = [];
|
|
606
605
|
let p = null;
|
|
607
606
|
do {
|
|
608
607
|
const g = p || i.nextToken();
|
|
609
608
|
switch (p = null, g.type) {
|
|
610
609
|
case 0:
|
|
611
|
-
g.value == null && s(i,
|
|
610
|
+
g.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(g)), S.items.push(c(i, g.value || ""));
|
|
612
611
|
break;
|
|
613
612
|
case 5:
|
|
614
|
-
g.value == null && s(i,
|
|
613
|
+
g.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(g)), S.items.push(m(i, g.value || ""));
|
|
615
614
|
break;
|
|
616
615
|
case 4:
|
|
617
|
-
g.value == null && s(i,
|
|
616
|
+
g.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(g)), S.items.push(u(i, g.value || ""));
|
|
618
617
|
break;
|
|
619
618
|
case 6:
|
|
620
|
-
g.value == null && s(i,
|
|
619
|
+
g.value == null && s(i, B.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(g)), S.items.push(b(i, g.value || ""));
|
|
621
620
|
break;
|
|
622
621
|
case 7: {
|
|
623
622
|
const I = N(i);
|
|
@@ -626,27 +625,27 @@ function Ss(e = {}) {
|
|
|
626
625
|
}
|
|
627
626
|
}
|
|
628
627
|
} while (d.currentType !== 13 && d.currentType !== 1);
|
|
629
|
-
const _ = d.currentType === 1 ? d.lastOffset : i.currentOffset(),
|
|
630
|
-
return a(S, _,
|
|
628
|
+
const _ = d.currentType === 1 ? d.lastOffset : i.currentOffset(), U = d.currentType === 1 ? d.lastEndLoc : i.currentPosition();
|
|
629
|
+
return a(S, _, U), S;
|
|
631
630
|
}
|
|
632
|
-
function V(i, d,
|
|
631
|
+
function V(i, d, k, h) {
|
|
633
632
|
const S = i.context();
|
|
634
|
-
let p =
|
|
635
|
-
const _ = l(1, d,
|
|
636
|
-
_.cases = [], _.cases.push(
|
|
633
|
+
let p = h.items.length === 0;
|
|
634
|
+
const _ = l(1, d, k);
|
|
635
|
+
_.cases = [], _.cases.push(h);
|
|
637
636
|
do {
|
|
638
|
-
const
|
|
639
|
-
p || (p =
|
|
637
|
+
const U = P(i);
|
|
638
|
+
p || (p = U.items.length === 0), _.cases.push(U);
|
|
640
639
|
} while (S.currentType !== 13);
|
|
641
|
-
return p && s(i,
|
|
640
|
+
return p && s(i, B.MUST_HAVE_MESSAGES_IN_PLURAL, k, 0), a(_, i.currentOffset(), i.currentPosition()), _;
|
|
642
641
|
}
|
|
643
|
-
function
|
|
644
|
-
const d = i.context(), { offset:
|
|
645
|
-
return d.currentType === 13 ? S : V(i,
|
|
642
|
+
function T(i) {
|
|
643
|
+
const d = i.context(), { offset: k, startLoc: h } = d, S = P(i);
|
|
644
|
+
return d.currentType === 13 ? S : V(i, k, h, S);
|
|
646
645
|
}
|
|
647
646
|
function A(i) {
|
|
648
|
-
const d =
|
|
649
|
-
return t &&
|
|
647
|
+
const d = Os(i, ue({}, e)), k = d.context(), h = l(0, k.offset, k.startLoc);
|
|
648
|
+
return t && h.loc && (h.loc.source = i), h.body = T(d), e.onCacheKey && (h.cacheKey = e.onCacheKey(i)), k.currentType !== 13 && s(d, B.UNEXPECTED_LEXICAL_ANALYSIS, k.lastStartLoc, 0, i[k.offset] || ""), a(h, d.currentOffset(), d.currentPosition()), h;
|
|
650
649
|
}
|
|
651
650
|
return { parse: A };
|
|
652
651
|
}
|
|
@@ -656,7 +655,7 @@ function Ne(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 Ds(e, t = {}) {
|
|
660
659
|
const n = {
|
|
661
660
|
ast: e,
|
|
662
661
|
helpers: /* @__PURE__ */ new Set()
|
|
@@ -665,9 +664,9 @@ function ws(e, t = {}) {
|
|
|
665
664
|
}
|
|
666
665
|
function sn(e, t) {
|
|
667
666
|
for (let n = 0; n < e.length; n++)
|
|
668
|
-
|
|
667
|
+
Ht(e[n], t);
|
|
669
668
|
}
|
|
670
|
-
function
|
|
669
|
+
function Ht(e, t) {
|
|
671
670
|
switch (e.type) {
|
|
672
671
|
case 1:
|
|
673
672
|
sn(e.cases, t), t.helper(
|
|
@@ -679,7 +678,7 @@ function Bt(e, t) {
|
|
|
679
678
|
sn(e.items, t);
|
|
680
679
|
break;
|
|
681
680
|
case 6: {
|
|
682
|
-
|
|
681
|
+
Ht(e.key, t), t.helper(
|
|
683
682
|
"linked"
|
|
684
683
|
/* HelperNameMap.LINKED */
|
|
685
684
|
), t.helper(
|
|
@@ -708,12 +707,12 @@ function Bt(e, t) {
|
|
|
708
707
|
break;
|
|
709
708
|
}
|
|
710
709
|
}
|
|
711
|
-
function
|
|
712
|
-
const n =
|
|
710
|
+
function ws(e, t = {}) {
|
|
711
|
+
const n = Ds(e);
|
|
713
712
|
n.helper(
|
|
714
713
|
"normalize"
|
|
715
714
|
/* HelperNameMap.NORMALIZE */
|
|
716
|
-
), e.body &&
|
|
715
|
+
), e.body && Ht(e.body, n);
|
|
717
716
|
const s = n.context();
|
|
718
717
|
e.helpers = Array.from(s.helpers);
|
|
719
718
|
}
|
|
@@ -803,31 +802,31 @@ function Ps(e, t) {
|
|
|
803
802
|
};
|
|
804
803
|
a && e.loc && (c.source = e.loc.source);
|
|
805
804
|
const m = () => c;
|
|
806
|
-
function u(
|
|
807
|
-
c.code +=
|
|
805
|
+
function u(T, A) {
|
|
806
|
+
c.code += T;
|
|
808
807
|
}
|
|
809
|
-
function
|
|
808
|
+
function b(T, A = !0) {
|
|
810
809
|
const i = A ? s : "";
|
|
811
|
-
u(l ? i + " ".repeat(
|
|
810
|
+
u(l ? i + " ".repeat(T) : i);
|
|
812
811
|
}
|
|
813
|
-
function T
|
|
812
|
+
function y(T = !0) {
|
|
814
813
|
const A = ++c.indentLevel;
|
|
815
|
-
|
|
814
|
+
T && b(A);
|
|
816
815
|
}
|
|
817
|
-
function
|
|
816
|
+
function L(T = !0) {
|
|
818
817
|
const A = --c.indentLevel;
|
|
819
|
-
|
|
818
|
+
T && b(A);
|
|
820
819
|
}
|
|
821
820
|
function N() {
|
|
822
|
-
|
|
821
|
+
b(c.indentLevel);
|
|
823
822
|
}
|
|
824
823
|
return {
|
|
825
824
|
context: m,
|
|
826
825
|
push: u,
|
|
827
|
-
indent:
|
|
828
|
-
deindent:
|
|
826
|
+
indent: y,
|
|
827
|
+
deindent: L,
|
|
829
828
|
newline: N,
|
|
830
|
-
helper: (
|
|
829
|
+
helper: (T) => `_${T}`,
|
|
831
830
|
needIndent: () => c.needIndent
|
|
832
831
|
};
|
|
833
832
|
}
|
|
@@ -838,7 +837,7 @@ function Fs(e, t) {
|
|
|
838
837
|
/* HelperNameMap.LINKED */
|
|
839
838
|
)}(`), Xe(e, t.key), t.modifier ? (e.push(", "), Xe(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
|
|
840
839
|
}
|
|
841
|
-
function
|
|
840
|
+
function Us(e, t) {
|
|
842
841
|
const { helper: n, needIndent: s } = e;
|
|
843
842
|
e.push(`${n(
|
|
844
843
|
"normalize"
|
|
@@ -862,20 +861,20 @@ function Vs(e, t) {
|
|
|
862
861
|
e.deindent(s()), e.push("])");
|
|
863
862
|
}
|
|
864
863
|
}
|
|
865
|
-
function
|
|
864
|
+
function js(e, t) {
|
|
866
865
|
t.body ? Xe(e, t.body) : e.push("null");
|
|
867
866
|
}
|
|
868
867
|
function Xe(e, t) {
|
|
869
868
|
const { helper: n } = e;
|
|
870
869
|
switch (t.type) {
|
|
871
870
|
case 0:
|
|
872
|
-
|
|
871
|
+
js(e, t);
|
|
873
872
|
break;
|
|
874
873
|
case 1:
|
|
875
874
|
Vs(e, t);
|
|
876
875
|
break;
|
|
877
876
|
case 2:
|
|
878
|
-
|
|
877
|
+
Us(e, t);
|
|
879
878
|
break;
|
|
880
879
|
case 6:
|
|
881
880
|
Fs(e, t);
|
|
@@ -921,34 +920,34 @@ const Ws = (e, t = {}) => {
|
|
|
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 { ${Xt(c.map((
|
|
925
|
-
const { code: u, map:
|
|
923
|
+
m.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), m.indent(a), c.length > 0 && (m.push(`const { ${Xt(c.map((y) => `${y}: _${y}`), ", ")} } = ctx`), m.newline()), m.push("return "), Xe(m, e), m.deindent(a), m.push("}"), delete e.helpers;
|
|
924
|
+
const { code: u, map: b } = m.context();
|
|
926
925
|
return {
|
|
927
926
|
ast: e,
|
|
928
927
|
code: u,
|
|
929
|
-
map:
|
|
928
|
+
map: b ? b.toJSON() : void 0
|
|
930
929
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
931
930
|
};
|
|
932
931
|
};
|
|
933
|
-
function
|
|
932
|
+
function Gs(e, t = {}) {
|
|
934
933
|
const n = ue({}, t), s = !!n.jit, l = !!n.minify, a = n.optimize == null ? !0 : n.optimize, m = Ss(n).parse(e);
|
|
935
|
-
return s ? (a && Ms(m), l && xe(m), { ast: m, code: "" }) : (
|
|
934
|
+
return s ? (a && Ms(m), l && xe(m), { ast: m, code: "" }) : (ws(m, n), Ws(m, n));
|
|
936
935
|
}
|
|
937
|
-
var
|
|
936
|
+
var Ys = { env: { NODE_ENV: "production" } };
|
|
938
937
|
function xs() {
|
|
939
|
-
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (
|
|
938
|
+
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ue().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ue().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
940
939
|
}
|
|
941
|
-
function
|
|
940
|
+
function Lt(e) {
|
|
942
941
|
return (n) => Zs(n, e);
|
|
943
942
|
}
|
|
944
943
|
function Zs(e, t) {
|
|
945
|
-
const n =
|
|
944
|
+
const n = Hs(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 = $s(n);
|
|
953
952
|
return e.plural(a.reduce((c, m) => [
|
|
954
953
|
...c,
|
|
@@ -958,12 +957,12 @@ function Zs(e, t) {
|
|
|
958
957
|
return rn(e, n);
|
|
959
958
|
}
|
|
960
959
|
const Xs = ["b", "body"];
|
|
961
|
-
function
|
|
962
|
-
return
|
|
960
|
+
function Hs(e) {
|
|
961
|
+
return De(e, Xs);
|
|
963
962
|
}
|
|
964
|
-
const
|
|
963
|
+
const Bs = ["c", "cases"];
|
|
965
964
|
function $s(e) {
|
|
966
|
-
return
|
|
965
|
+
return De(e, Bs, []);
|
|
967
966
|
}
|
|
968
967
|
function rn(e, t) {
|
|
969
968
|
const n = Ks(t);
|
|
@@ -976,14 +975,14 @@ function rn(e, t) {
|
|
|
976
975
|
}
|
|
977
976
|
const Js = ["s", "static"];
|
|
978
977
|
function Ks(e) {
|
|
979
|
-
return
|
|
978
|
+
return De(e, Js);
|
|
980
979
|
}
|
|
981
980
|
const zs = ["i", "items"];
|
|
982
981
|
function Qs(e) {
|
|
983
|
-
return
|
|
982
|
+
return De(e, zs, []);
|
|
984
983
|
}
|
|
985
984
|
function Mt(e, t) {
|
|
986
|
-
const n =
|
|
985
|
+
const n = Bt(t);
|
|
987
986
|
switch (n) {
|
|
988
987
|
case 3:
|
|
989
988
|
return lt(t, n);
|
|
@@ -1018,23 +1017,23 @@ function Mt(e, t) {
|
|
|
1018
1017
|
}
|
|
1019
1018
|
}
|
|
1020
1019
|
const qs = ["t", "type"];
|
|
1021
|
-
function
|
|
1022
|
-
return
|
|
1020
|
+
function Bt(e) {
|
|
1021
|
+
return De(e, qs);
|
|
1023
1022
|
}
|
|
1024
1023
|
const ea = ["v", "value"];
|
|
1025
1024
|
function lt(e, t) {
|
|
1026
|
-
const n =
|
|
1025
|
+
const n = De(e, ea);
|
|
1027
1026
|
if (n)
|
|
1028
1027
|
return n;
|
|
1029
1028
|
throw et(t);
|
|
1030
1029
|
}
|
|
1031
1030
|
const ta = ["m", "modifier"];
|
|
1032
1031
|
function na(e) {
|
|
1033
|
-
return
|
|
1032
|
+
return De(e, ta);
|
|
1034
1033
|
}
|
|
1035
1034
|
const sa = ["k", "key"];
|
|
1036
1035
|
function aa(e) {
|
|
1037
|
-
const t =
|
|
1036
|
+
const t = De(e, sa);
|
|
1038
1037
|
if (t)
|
|
1039
1038
|
return t;
|
|
1040
1039
|
throw et(
|
|
@@ -1042,7 +1041,7 @@ function aa(e) {
|
|
|
1042
1041
|
/* NodeTypes.Linked */
|
|
1043
1042
|
);
|
|
1044
1043
|
}
|
|
1045
|
-
function
|
|
1044
|
+
function De(e, t, n) {
|
|
1046
1045
|
for (let s = 0; s < t.length; s++) {
|
|
1047
1046
|
const l = t[s];
|
|
1048
1047
|
if (Ee(e, l) && e[l] != null)
|
|
@@ -1055,15 +1054,15 @@ function et(e) {
|
|
|
1055
1054
|
}
|
|
1056
1055
|
const ra = (e) => e;
|
|
1057
1056
|
let ot = J();
|
|
1058
|
-
function
|
|
1059
|
-
return X(e) &&
|
|
1057
|
+
function He(e) {
|
|
1058
|
+
return X(e) && Bt(e) === 0 && (Ee(e, "b") || Ee(e, "body"));
|
|
1060
1059
|
}
|
|
1061
1060
|
function la(e, t = {}) {
|
|
1062
1061
|
let n = !1;
|
|
1063
1062
|
const s = t.onError || Es;
|
|
1064
1063
|
return t.onError = (l) => {
|
|
1065
1064
|
n = !0, s(l);
|
|
1066
|
-
}, { ...
|
|
1065
|
+
}, { ...Gs(e, t), detectError: n };
|
|
1067
1066
|
}
|
|
1068
1067
|
// @__NO_SIDE_EFFECTS__
|
|
1069
1068
|
function oa(e, t) {
|
|
@@ -1074,17 +1073,17 @@ function oa(e, t) {
|
|
|
1074
1073
|
return l;
|
|
1075
1074
|
const { ast: a, detectError: c } = la(e, {
|
|
1076
1075
|
...t,
|
|
1077
|
-
location:
|
|
1076
|
+
location: Ys.env.NODE_ENV !== "production",
|
|
1078
1077
|
jit: !0
|
|
1079
|
-
}), m =
|
|
1078
|
+
}), m = Lt(a);
|
|
1080
1079
|
return c ? m : ot[s] = m;
|
|
1081
1080
|
} else {
|
|
1082
1081
|
const n = e.cacheKey;
|
|
1083
1082
|
if (n) {
|
|
1084
1083
|
const s = ot[n];
|
|
1085
|
-
return s || (ot[n] =
|
|
1084
|
+
return s || (ot[n] = Lt(e));
|
|
1086
1085
|
} else
|
|
1087
|
-
return
|
|
1086
|
+
return Lt(e);
|
|
1088
1087
|
}
|
|
1089
1088
|
}
|
|
1090
1089
|
let tt = null;
|
|
@@ -1103,7 +1102,7 @@ const ua = /* @__PURE__ */ ma("function:translate");
|
|
|
1103
1102
|
function ma(e) {
|
|
1104
1103
|
return (t) => tt && tt.emit(e, t);
|
|
1105
1104
|
}
|
|
1106
|
-
const
|
|
1105
|
+
const Oe = {
|
|
1107
1106
|
INVALID_ARGUMENT: vs,
|
|
1108
1107
|
// 17
|
|
1109
1108
|
INVALID_DATE_ARGUMENT: 18,
|
|
@@ -1113,27 +1112,27 @@ const Le = {
|
|
|
1113
1112
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
1114
1113
|
}, da = 24;
|
|
1115
1114
|
function Re(e) {
|
|
1116
|
-
return
|
|
1115
|
+
return ht(e, null, void 0);
|
|
1117
1116
|
}
|
|
1118
1117
|
function $t(e, t) {
|
|
1119
1118
|
return t.locale != null ? ln(t.locale) : ln(e.locale);
|
|
1120
1119
|
}
|
|
1121
|
-
let
|
|
1120
|
+
let Ot;
|
|
1122
1121
|
function ln(e) {
|
|
1123
1122
|
if (M(e))
|
|
1124
1123
|
return e;
|
|
1125
1124
|
if (se(e)) {
|
|
1126
|
-
if (e.resolvedOnce &&
|
|
1127
|
-
return
|
|
1125
|
+
if (e.resolvedOnce && Ot != null)
|
|
1126
|
+
return Ot;
|
|
1128
1127
|
if (e.constructor.name === "Function") {
|
|
1129
1128
|
const t = e();
|
|
1130
1129
|
if (ps(t))
|
|
1131
|
-
throw Re(
|
|
1132
|
-
return
|
|
1130
|
+
throw Re(Oe.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
1131
|
+
return Ot = t;
|
|
1133
1132
|
} else
|
|
1134
|
-
throw Re(
|
|
1133
|
+
throw Re(Oe.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
|
|
1135
1134
|
} else
|
|
1136
|
-
throw Re(
|
|
1135
|
+
throw Re(Oe.NOT_SUPPORT_LOCALE_TYPE);
|
|
1137
1136
|
}
|
|
1138
1137
|
function fa(e, t, n) {
|
|
1139
1138
|
return [.../* @__PURE__ */ new Set([
|
|
@@ -1181,8 +1180,8 @@ function pa(e, t, n) {
|
|
|
1181
1180
|
}
|
|
1182
1181
|
return s;
|
|
1183
1182
|
}
|
|
1184
|
-
const
|
|
1185
|
-
|
|
1183
|
+
const we = [];
|
|
1184
|
+
we[
|
|
1186
1185
|
0
|
|
1187
1186
|
/* States.BEFORE_PATH */
|
|
1188
1187
|
] = {
|
|
@@ -1204,7 +1203,7 @@ De[
|
|
|
1204
1203
|
/* States.AFTER_PATH */
|
|
1205
1204
|
]
|
|
1206
1205
|
};
|
|
1207
|
-
|
|
1206
|
+
we[
|
|
1208
1207
|
1
|
|
1209
1208
|
/* States.IN_PATH */
|
|
1210
1209
|
] = {
|
|
@@ -1225,7 +1224,7 @@ De[
|
|
|
1225
1224
|
/* States.AFTER_PATH */
|
|
1226
1225
|
]
|
|
1227
1226
|
};
|
|
1228
|
-
|
|
1227
|
+
we[
|
|
1229
1228
|
2
|
|
1230
1229
|
/* States.BEFORE_IDENT */
|
|
1231
1230
|
] = {
|
|
@@ -1244,7 +1243,7 @@ De[
|
|
|
1244
1243
|
/* Actions.APPEND */
|
|
1245
1244
|
]
|
|
1246
1245
|
};
|
|
1247
|
-
|
|
1246
|
+
we[
|
|
1248
1247
|
3
|
|
1249
1248
|
/* States.IN_IDENT */
|
|
1250
1249
|
] = {
|
|
@@ -1279,7 +1278,7 @@ De[
|
|
|
1279
1278
|
/* Actions.PUSH */
|
|
1280
1279
|
]
|
|
1281
1280
|
};
|
|
1282
|
-
|
|
1281
|
+
we[
|
|
1283
1282
|
4
|
|
1284
1283
|
/* States.IN_SUB_PATH */
|
|
1285
1284
|
] = {
|
|
@@ -1310,7 +1309,7 @@ De[
|
|
|
1310
1309
|
/* Actions.APPEND */
|
|
1311
1310
|
]
|
|
1312
1311
|
};
|
|
1313
|
-
|
|
1312
|
+
we[
|
|
1314
1313
|
5
|
|
1315
1314
|
/* States.IN_SINGLE_QUOTE */
|
|
1316
1315
|
] = {
|
|
@@ -1326,7 +1325,7 @@ De[
|
|
|
1326
1325
|
/* Actions.APPEND */
|
|
1327
1326
|
]
|
|
1328
1327
|
};
|
|
1329
|
-
|
|
1328
|
+
we[
|
|
1330
1329
|
6
|
|
1331
1330
|
/* States.IN_DOUBLE_QUOTE */
|
|
1332
1331
|
] = {
|
|
@@ -1342,9 +1341,9 @@ De[
|
|
|
1342
1341
|
/* Actions.APPEND */
|
|
1343
1342
|
]
|
|
1344
1343
|
};
|
|
1345
|
-
const
|
|
1346
|
-
function
|
|
1347
|
-
return
|
|
1344
|
+
const ha = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
|
1345
|
+
function ba(e) {
|
|
1346
|
+
return ha.test(e);
|
|
1348
1347
|
}
|
|
1349
1348
|
function ga(e) {
|
|
1350
1349
|
const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
|
|
@@ -1377,11 +1376,11 @@ function va(e) {
|
|
|
1377
1376
|
}
|
|
1378
1377
|
function Ea(e) {
|
|
1379
1378
|
const t = e.trim();
|
|
1380
|
-
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 :
|
|
1379
|
+
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : ba(t) ? ga(t) : "*" + t;
|
|
1381
1380
|
}
|
|
1382
1381
|
function Ia(e) {
|
|
1383
1382
|
const t = [];
|
|
1384
|
-
let n = -1, s = 0, l = 0, a, c, m, u,
|
|
1383
|
+
let n = -1, s = 0, l = 0, a, c, m, u, b, y, L;
|
|
1385
1384
|
const N = [];
|
|
1386
1385
|
N[
|
|
1387
1386
|
0
|
|
@@ -1429,7 +1428,7 @@ function Ia(e) {
|
|
|
1429
1428
|
}
|
|
1430
1429
|
for (; s !== null; )
|
|
1431
1430
|
if (n++, a = e[n], !(a === "\\" && P())) {
|
|
1432
|
-
if (u = va(a),
|
|
1431
|
+
if (u = va(a), L = we[s], b = L[u] || L.l || 8, b === 8 || (s = b[0], b[1] !== void 0 && (y = N[b[1]], y && (m = a, y() === !1))))
|
|
1433
1432
|
return;
|
|
1434
1433
|
if (s === 7)
|
|
1435
1434
|
return t;
|
|
@@ -1439,7 +1438,7 @@ const cn = /* @__PURE__ */ new Map();
|
|
|
1439
1438
|
function Na(e, t) {
|
|
1440
1439
|
return X(e) ? e[t] : null;
|
|
1441
1440
|
}
|
|
1442
|
-
function
|
|
1441
|
+
function ka(e, t) {
|
|
1443
1442
|
if (!X(e))
|
|
1444
1443
|
return null;
|
|
1445
1444
|
let n = cn.get(t);
|
|
@@ -1455,8 +1454,8 @@ function ya(e, t) {
|
|
|
1455
1454
|
}
|
|
1456
1455
|
return l;
|
|
1457
1456
|
}
|
|
1458
|
-
const
|
|
1459
|
-
function
|
|
1457
|
+
const ya = "10.0.5", bt = -1, ft = "en-US", un = "", mn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1458
|
+
function Ta() {
|
|
1460
1459
|
return {
|
|
1461
1460
|
upper: (e, t) => t === "text" && M(e) ? e.toUpperCase() : t === "vnode" && X(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1462
1461
|
lower: (e, t) => t === "text" && M(e) ? e.toLowerCase() : t === "vnode" && X(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
@@ -1464,17 +1463,17 @@ function ka() {
|
|
|
1464
1463
|
};
|
|
1465
1464
|
}
|
|
1466
1465
|
let Sn;
|
|
1467
|
-
function Oa(e) {
|
|
1468
|
-
Sn = e;
|
|
1469
|
-
}
|
|
1470
|
-
let wn;
|
|
1471
1466
|
function La(e) {
|
|
1472
|
-
|
|
1467
|
+
Sn = e;
|
|
1473
1468
|
}
|
|
1474
1469
|
let Dn;
|
|
1475
|
-
function
|
|
1470
|
+
function Oa(e) {
|
|
1476
1471
|
Dn = e;
|
|
1477
1472
|
}
|
|
1473
|
+
let wn;
|
|
1474
|
+
function Ra(e) {
|
|
1475
|
+
wn = e;
|
|
1476
|
+
}
|
|
1478
1477
|
let Mn = null;
|
|
1479
1478
|
const Ca = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
1480
1479
|
Mn = e;
|
|
@@ -1484,34 +1483,34 @@ const dn = (e) => {
|
|
|
1484
1483
|
Pn = e;
|
|
1485
1484
|
}, Sa = () => Pn;
|
|
1486
1485
|
let fn = 0;
|
|
1487
|
-
function
|
|
1488
|
-
const t = se(e.onWarn) ? e.onWarn :
|
|
1486
|
+
function Da(e = {}) {
|
|
1487
|
+
const t = se(e.onWarn) ? e.onWarn : bs, n = M(e.version) ? e.version : ya, s = M(e.locale) || se(e.locale) ? e.locale : ft, l = se(s) ? ft : s, a = oe(e.fallbackLocale) || Z(e.fallbackLocale) || M(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = Z(e.messages) ? e.messages : Rt(l), m = Z(e.datetimeFormats) ? e.datetimeFormats : Rt(l), u = Z(e.numberFormats) ? e.numberFormats : Rt(l), b = ue(J(), e.modifiers, Ta()), y = e.pluralRules || J(), L = se(e.missing) ? e.missing : null, N = le(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, P = le(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, V = !!e.fallbackFormat, T = !!e.unresolving, A = se(e.postTranslation) ? e.postTranslation : null, i = Z(e.processor) ? e.processor : null, d = le(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, k = !!e.escapeParameter, h = se(e.messageCompiler) ? e.messageCompiler : Sn, S = se(e.messageResolver) ? e.messageResolver : Dn || Na, p = se(e.localeFallbacker) ? e.localeFallbacker : wn || fa, _ = X(e.fallbackContext) ? e.fallbackContext : void 0, U = e, g = X(U.__datetimeFormatters) ? U.__datetimeFormatters : /* @__PURE__ */ new Map(), I = X(U.__numberFormatters) ? U.__numberFormatters : /* @__PURE__ */ new Map(), G = X(U.__meta) ? U.__meta : {};
|
|
1489
1488
|
fn++;
|
|
1490
|
-
const
|
|
1489
|
+
const D = {
|
|
1491
1490
|
version: n,
|
|
1492
1491
|
cid: fn,
|
|
1493
1492
|
locale: s,
|
|
1494
1493
|
fallbackLocale: a,
|
|
1495
1494
|
messages: c,
|
|
1496
|
-
modifiers:
|
|
1497
|
-
pluralRules:
|
|
1498
|
-
missing:
|
|
1495
|
+
modifiers: b,
|
|
1496
|
+
pluralRules: y,
|
|
1497
|
+
missing: L,
|
|
1499
1498
|
missingWarn: N,
|
|
1500
1499
|
fallbackWarn: P,
|
|
1501
1500
|
fallbackFormat: V,
|
|
1502
|
-
unresolving:
|
|
1501
|
+
unresolving: T,
|
|
1503
1502
|
postTranslation: A,
|
|
1504
1503
|
processor: i,
|
|
1505
1504
|
warnHtmlMessage: d,
|
|
1506
|
-
escapeParameter:
|
|
1507
|
-
messageCompiler:
|
|
1505
|
+
escapeParameter: k,
|
|
1506
|
+
messageCompiler: h,
|
|
1508
1507
|
messageResolver: S,
|
|
1509
1508
|
localeFallbacker: p,
|
|
1510
1509
|
fallbackContext: _,
|
|
1511
1510
|
onWarn: t,
|
|
1512
|
-
__meta:
|
|
1511
|
+
__meta: G
|
|
1513
1512
|
};
|
|
1514
|
-
return
|
|
1513
|
+
return D.datetimeFormats = m, D.numberFormats = u, D.__datetimeFormatters = g, D.__numberFormatters = I, __INTLIFY_PROD_DEVTOOLS__ && ca(D, n, G), D;
|
|
1515
1514
|
}
|
|
1516
1515
|
const Rt = (e) => ({ [e]: J() });
|
|
1517
1516
|
function Jt(e, t, n, s, l) {
|
|
@@ -1526,7 +1525,7 @@ function Qe(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 wa(e, t) {
|
|
1530
1529
|
return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
|
|
1531
1530
|
}
|
|
1532
1531
|
function Ma(e, t) {
|
|
@@ -1534,31 +1533,31 @@ function Ma(e, t) {
|
|
|
1534
1533
|
if (n === -1)
|
|
1535
1534
|
return !1;
|
|
1536
1535
|
for (let s = n + 1; s < t.length; s++)
|
|
1537
|
-
if (
|
|
1536
|
+
if (wa(e, t[s]))
|
|
1538
1537
|
return !0;
|
|
1539
1538
|
return !1;
|
|
1540
1539
|
}
|
|
1541
1540
|
function _n(e, ...t) {
|
|
1542
|
-
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __datetimeFormatters: m } = e, [u,
|
|
1543
|
-
le(
|
|
1544
|
-
const P = !!
|
|
1541
|
+
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __datetimeFormatters: m } = e, [u, b, y, L] = Pt(...t), N = le(y.missingWarn) ? y.missingWarn : e.missingWarn;
|
|
1542
|
+
le(y.fallbackWarn) ? y.fallbackWarn : e.fallbackWarn;
|
|
1543
|
+
const P = !!y.part, V = $t(e, y), T = c(
|
|
1545
1544
|
e,
|
|
1546
1545
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1547
1546
|
l,
|
|
1548
1547
|
V
|
|
1549
1548
|
);
|
|
1550
1549
|
if (!M(u) || u === "")
|
|
1551
|
-
return new Intl.DateTimeFormat(V,
|
|
1550
|
+
return new Intl.DateTimeFormat(V, L).format(b);
|
|
1552
1551
|
let A = {}, i, d = null;
|
|
1553
|
-
const
|
|
1554
|
-
for (let p = 0; p <
|
|
1555
|
-
Jt(e, u, i, N,
|
|
1552
|
+
const k = "datetime format";
|
|
1553
|
+
for (let p = 0; p < T.length && (i = T[p], A = n[i] || {}, d = A[u], !Z(d)); p++)
|
|
1554
|
+
Jt(e, u, i, N, k);
|
|
1556
1555
|
if (!Z(d) || !M(i))
|
|
1557
|
-
return s ?
|
|
1558
|
-
let
|
|
1559
|
-
pt(
|
|
1560
|
-
let S = m.get(
|
|
1561
|
-
return S || (S = new Intl.DateTimeFormat(i, ue({}, d,
|
|
1556
|
+
return s ? bt : u;
|
|
1557
|
+
let h = `${i}__${u}`;
|
|
1558
|
+
pt(L) || (h = `${h}__${JSON.stringify(L)}`);
|
|
1559
|
+
let S = m.get(h);
|
|
1560
|
+
return S || (S = new Intl.DateTimeFormat(i, ue({}, d, L)), m.set(h, S)), P ? S.formatToParts(b) : S.format(b);
|
|
1562
1561
|
}
|
|
1563
1562
|
const Fn = [
|
|
1564
1563
|
"localeMatcher",
|
|
@@ -1588,22 +1587,22 @@ function Pt(...e) {
|
|
|
1588
1587
|
if (M(t)) {
|
|
1589
1588
|
const u = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
1590
1589
|
if (!u)
|
|
1591
|
-
throw Re(
|
|
1592
|
-
const
|
|
1593
|
-
m = new Date(
|
|
1590
|
+
throw Re(Oe.INVALID_ISO_DATE_ARGUMENT);
|
|
1591
|
+
const b = u[3] ? u[3].trim().startsWith("T") ? `${u[1].trim()}${u[3].trim()}` : `${u[1].trim()}T${u[3].trim()}` : u[1].trim();
|
|
1592
|
+
m = new Date(b);
|
|
1594
1593
|
try {
|
|
1595
1594
|
m.toISOString();
|
|
1596
1595
|
} catch {
|
|
1597
|
-
throw Re(
|
|
1596
|
+
throw Re(Oe.INVALID_ISO_DATE_ARGUMENT);
|
|
1598
1597
|
}
|
|
1599
1598
|
} else if (ds(t)) {
|
|
1600
1599
|
if (isNaN(t.getTime()))
|
|
1601
|
-
throw Re(
|
|
1600
|
+
throw Re(Oe.INVALID_DATE_ARGUMENT);
|
|
1602
1601
|
m = t;
|
|
1603
1602
|
} else if (ce(t))
|
|
1604
1603
|
m = t;
|
|
1605
1604
|
else
|
|
1606
|
-
throw Re(
|
|
1605
|
+
throw Re(Oe.INVALID_ARGUMENT);
|
|
1607
1606
|
return M(n) ? a.key = n : Z(n) && Object.keys(n).forEach((u) => {
|
|
1608
1607
|
Fn.includes(u) ? c[u] = n[u] : a[u] = n[u];
|
|
1609
1608
|
}), M(s) ? a.locale = s : Z(s) && (c = s), Z(l) && (c = l), [a.key || "", m, a, c];
|
|
@@ -1615,29 +1614,29 @@ function pn(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,
|
|
1620
|
-
le(
|
|
1621
|
-
const P = !!
|
|
1617
|
+
function hn(e, ...t) {
|
|
1618
|
+
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __numberFormatters: m } = e, [u, b, y, L] = Ft(...t), N = le(y.missingWarn) ? y.missingWarn : e.missingWarn;
|
|
1619
|
+
le(y.fallbackWarn) ? y.fallbackWarn : e.fallbackWarn;
|
|
1620
|
+
const P = !!y.part, V = $t(e, y), T = c(
|
|
1622
1621
|
e,
|
|
1623
1622
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1624
1623
|
l,
|
|
1625
1624
|
V
|
|
1626
1625
|
);
|
|
1627
1626
|
if (!M(u) || u === "")
|
|
1628
|
-
return new Intl.NumberFormat(V,
|
|
1627
|
+
return new Intl.NumberFormat(V, L).format(b);
|
|
1629
1628
|
let A = {}, i, d = null;
|
|
1630
|
-
const
|
|
1631
|
-
for (let p = 0; p <
|
|
1632
|
-
Jt(e, u, i, N,
|
|
1629
|
+
const k = "number format";
|
|
1630
|
+
for (let p = 0; p < T.length && (i = T[p], A = n[i] || {}, d = A[u], !Z(d)); p++)
|
|
1631
|
+
Jt(e, u, i, N, k);
|
|
1633
1632
|
if (!Z(d) || !M(i))
|
|
1634
|
-
return s ?
|
|
1635
|
-
let
|
|
1636
|
-
pt(
|
|
1637
|
-
let S = m.get(
|
|
1638
|
-
return S || (S = new Intl.NumberFormat(i, ue({}, d,
|
|
1633
|
+
return s ? bt : u;
|
|
1634
|
+
let h = `${i}__${u}`;
|
|
1635
|
+
pt(L) || (h = `${h}__${JSON.stringify(L)}`);
|
|
1636
|
+
let S = m.get(h);
|
|
1637
|
+
return S || (S = new Intl.NumberFormat(i, ue({}, d, L)), m.set(h, S)), P ? S.formatToParts(b) : S.format(b);
|
|
1639
1638
|
}
|
|
1640
|
-
const
|
|
1639
|
+
const Un = [
|
|
1641
1640
|
"localeMatcher",
|
|
1642
1641
|
"style",
|
|
1643
1642
|
"currency",
|
|
@@ -1663,20 +1662,20 @@ function Ft(...e) {
|
|
|
1663
1662
|
const [t, n, s, l] = e, a = J();
|
|
1664
1663
|
let c = J();
|
|
1665
1664
|
if (!ce(t))
|
|
1666
|
-
throw Re(
|
|
1665
|
+
throw Re(Oe.INVALID_ARGUMENT);
|
|
1667
1666
|
const m = t;
|
|
1668
1667
|
return M(n) ? a.key = n : Z(n) && Object.keys(n).forEach((u) => {
|
|
1669
|
-
|
|
1668
|
+
Un.includes(u) ? c[u] = n[u] : a[u] = n[u];
|
|
1670
1669
|
}), M(s) ? a.locale = s : Z(s) && (c = s), Z(l) && (c = l), [a.key || "", m, a, c];
|
|
1671
1670
|
}
|
|
1672
|
-
function
|
|
1671
|
+
function bn(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 Pa = (e) => e, Fa = (e) => "",
|
|
1678
|
+
const Pa = (e) => e, Fa = (e) => "", Ua = "text", Va = (e) => e.length === 0 ? "" : Xt(e), ja = hs;
|
|
1680
1679
|
function gn(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
|
}
|
|
@@ -1684,32 +1683,32 @@ function Wa(e) {
|
|
|
1684
1683
|
const t = ce(e.pluralIndex) ? e.pluralIndex : -1;
|
|
1685
1684
|
return e.named && (ce(e.named.count) || ce(e.named.n)) ? ce(e.named.count) ? e.named.count : ce(e.named.n) ? e.named.n : t : t;
|
|
1686
1685
|
}
|
|
1687
|
-
function
|
|
1686
|
+
function Ga(e, t) {
|
|
1688
1687
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1689
1688
|
}
|
|
1690
|
-
function
|
|
1689
|
+
function Ya(e = {}) {
|
|
1691
1690
|
const t = e.locale, n = Wa(e), s = X(e.pluralRules) && M(t) && se(e.pluralRules[t]) ? e.pluralRules[t] : gn, l = X(e.pluralRules) && M(t) && se(e.pluralRules[t]) ? gn : void 0, a = (i) => i[s(n, i.length, l)], c = e.list || [], m = (i) => c[i], u = e.named || J();
|
|
1692
|
-
ce(e.pluralIndex) &&
|
|
1693
|
-
const
|
|
1694
|
-
function
|
|
1695
|
-
const
|
|
1696
|
-
return
|
|
1691
|
+
ce(e.pluralIndex) && Ga(n, u);
|
|
1692
|
+
const b = (i) => u[i];
|
|
1693
|
+
function y(i, d) {
|
|
1694
|
+
const k = se(e.messages) ? e.messages(i, !!d) : X(e.messages) ? e.messages[i] : !1;
|
|
1695
|
+
return k || (e.parent ? e.parent.message(i) : Fa);
|
|
1697
1696
|
}
|
|
1698
|
-
const
|
|
1697
|
+
const L = (i) => e.modifiers ? e.modifiers[i] : Pa, N = Z(e.processor) && se(e.processor.normalize) ? e.processor.normalize : Va, P = Z(e.processor) && se(e.processor.interpolate) ? e.processor.interpolate : ja, V = Z(e.processor) && M(e.processor.type) ? e.processor.type : Ua, A = {
|
|
1699
1698
|
list: m,
|
|
1700
|
-
named:
|
|
1699
|
+
named: b,
|
|
1701
1700
|
plural: a,
|
|
1702
1701
|
linked: (i, ...d) => {
|
|
1703
|
-
const [
|
|
1702
|
+
const [k, h] = d;
|
|
1704
1703
|
let S = "text", p = "";
|
|
1705
|
-
d.length === 1 ? X(
|
|
1706
|
-
const _ =
|
|
1704
|
+
d.length === 1 ? X(k) ? (p = k.modifier || p, S = k.type || S) : M(k) && (p = k || p) : d.length === 2 && (M(k) && (p = k || p), M(h) && (S = h || S));
|
|
1705
|
+
const _ = y(i, !0)(A), U = (
|
|
1707
1706
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1708
1707
|
S === "vnode" && oe(_) && p ? _[0] : _
|
|
1709
1708
|
);
|
|
1710
|
-
return p ?
|
|
1709
|
+
return p ? L(p)(U, S) : U;
|
|
1711
1710
|
},
|
|
1712
|
-
message:
|
|
1711
|
+
message: y,
|
|
1713
1712
|
type: V,
|
|
1714
1713
|
interpolate: P,
|
|
1715
1714
|
normalize: N,
|
|
@@ -1717,35 +1716,35 @@ function Ga(e = {}) {
|
|
|
1717
1716
|
};
|
|
1718
1717
|
return A;
|
|
1719
1718
|
}
|
|
1720
|
-
const vn = () => "",
|
|
1719
|
+
const vn = () => "", be = (e) => se(e);
|
|
1721
1720
|
function En(e, ...t) {
|
|
1722
|
-
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: m } = e, [u,
|
|
1723
|
-
N && xa(
|
|
1724
|
-
let [i, d,
|
|
1721
|
+
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: m } = e, [u, b] = Ut(...t), y = le(b.missingWarn) ? b.missingWarn : e.missingWarn, L = le(b.fallbackWarn) ? b.fallbackWarn : e.fallbackWarn, N = le(b.escapeParameter) ? b.escapeParameter : e.escapeParameter, P = !!b.resolvedMessage, V = M(b.default) || le(b.default) ? le(b.default) ? a ? u : () => u : b.default : n ? a ? u : () => u : null, T = n || V != null && (M(V) || se(V)), A = $t(e, b);
|
|
1722
|
+
N && xa(b);
|
|
1723
|
+
let [i, d, k] = P ? [
|
|
1725
1724
|
u,
|
|
1726
1725
|
A,
|
|
1727
1726
|
m[A] || J()
|
|
1728
|
-
] : Vn(e, u, A, c,
|
|
1729
|
-
if (!P && !(M(
|
|
1730
|
-
return l ?
|
|
1727
|
+
] : Vn(e, u, A, c, L, y), h = i, S = u;
|
|
1728
|
+
if (!P && !(M(h) || He(h) || be(h)) && T && (h = V, S = h), !P && (!(M(h) || He(h) || be(h)) || !M(d)))
|
|
1729
|
+
return l ? bt : u;
|
|
1731
1730
|
let p = !1;
|
|
1732
1731
|
const _ = () => {
|
|
1733
1732
|
p = !0;
|
|
1734
|
-
},
|
|
1733
|
+
}, U = be(h) ? h : jn(e, u, d, h, S, _);
|
|
1735
1734
|
if (p)
|
|
1736
|
-
return
|
|
1737
|
-
const g =
|
|
1735
|
+
return h;
|
|
1736
|
+
const g = Ha(e, d, k, b), I = Ya(g), G = Za(e, U, I), D = s ? s(G, u) : G;
|
|
1738
1737
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1739
1738
|
const $ = {
|
|
1740
1739
|
timestamp: Date.now(),
|
|
1741
|
-
key: M(u) ? u :
|
|
1742
|
-
locale: d || (
|
|
1743
|
-
format: M(
|
|
1744
|
-
message:
|
|
1740
|
+
key: M(u) ? u : be(h) ? h.key : "",
|
|
1741
|
+
locale: d || (be(h) ? h.locale : ""),
|
|
1742
|
+
format: M(h) ? h : be(h) ? h.source : "",
|
|
1743
|
+
message: D
|
|
1745
1744
|
};
|
|
1746
1745
|
$.meta = ue({}, e.__meta, /* @__PURE__ */ Aa() || {}), ua($);
|
|
1747
1746
|
}
|
|
1748
|
-
return
|
|
1747
|
+
return D;
|
|
1749
1748
|
}
|
|
1750
1749
|
function xa(e) {
|
|
1751
1750
|
oe(e.list) ? e.list = e.list.map((t) => M(t) ? tn(t) : t) : X(e.named) && Object.keys(e.named).forEach((t) => {
|
|
@@ -1753,11 +1752,11 @@ function xa(e) {
|
|
|
1753
1752
|
});
|
|
1754
1753
|
}
|
|
1755
1754
|
function Vn(e, t, n, s, l, a) {
|
|
1756
|
-
const { messages: c, onWarn: m, messageResolver: u, localeFallbacker:
|
|
1757
|
-
let
|
|
1755
|
+
const { messages: c, onWarn: m, messageResolver: u, localeFallbacker: b } = e, y = b(e, s, n);
|
|
1756
|
+
let L = J(), N, P = null;
|
|
1758
1757
|
const V = "translate";
|
|
1759
|
-
for (let
|
|
1760
|
-
if (!Ma(N,
|
|
1758
|
+
for (let T = 0; T < y.length && (N = y[T], L = c[N] || J(), (P = u(L, t)) === null && (P = L[t]), !(M(P) || He(P) || be(P))); T++)
|
|
1759
|
+
if (!Ma(N, y)) {
|
|
1761
1760
|
const A = Jt(
|
|
1762
1761
|
e,
|
|
1763
1762
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
@@ -1768,17 +1767,17 @@ function Vn(e, t, n, s, l, a) {
|
|
|
1768
1767
|
);
|
|
1769
1768
|
A !== t && (P = A);
|
|
1770
1769
|
}
|
|
1771
|
-
return [P, N,
|
|
1770
|
+
return [P, N, L];
|
|
1772
1771
|
}
|
|
1773
|
-
function
|
|
1772
|
+
function jn(e, t, n, s, l, a) {
|
|
1774
1773
|
const { messageCompiler: c, warnHtmlMessage: m } = e;
|
|
1775
|
-
if (
|
|
1776
|
-
const
|
|
1777
|
-
return
|
|
1774
|
+
if (be(s)) {
|
|
1775
|
+
const b = s;
|
|
1776
|
+
return b.locale = b.locale || n, b.key = b.key || t, b;
|
|
1778
1777
|
}
|
|
1779
1778
|
if (c == null) {
|
|
1780
|
-
const
|
|
1781
|
-
return
|
|
1779
|
+
const b = () => s;
|
|
1780
|
+
return b.locale = n, b.key = t, b;
|
|
1782
1781
|
}
|
|
1783
1782
|
const u = c(s, Xa(e, n, l, s, m, a));
|
|
1784
1783
|
return u.locale = n, u.key = t, u.source = s, u;
|
|
@@ -1786,11 +1785,11 @@ function Un(e, t, n, s, l, a) {
|
|
|
1786
1785
|
function Za(e, t, n) {
|
|
1787
1786
|
return t(n);
|
|
1788
1787
|
}
|
|
1789
|
-
function
|
|
1788
|
+
function Ut(...e) {
|
|
1790
1789
|
const [t, n, s] = e, l = J();
|
|
1791
|
-
if (!M(t) && !ce(t) && !
|
|
1792
|
-
throw Re(
|
|
1793
|
-
const a = ce(t) ? String(t) : (
|
|
1790
|
+
if (!M(t) && !ce(t) && !be(t) && !He(t))
|
|
1791
|
+
throw Re(Oe.INVALID_ARGUMENT);
|
|
1792
|
+
const a = ce(t) ? String(t) : (be(t), t);
|
|
1794
1793
|
return ce(n) ? l.plural = n : M(n) ? l.default = n : Z(n) && !pt(n) ? l.named = n : oe(n) && (l.list = n), ce(s) ? l.plural = s : M(s) ? l.default = s : Z(s) && ue(l, s), [a, l];
|
|
1795
1794
|
}
|
|
1796
1795
|
function Xa(e, t, n, s, l, a) {
|
|
@@ -1804,43 +1803,43 @@ function Xa(e, t, n, s, l, a) {
|
|
|
1804
1803
|
onCacheKey: (c) => us(t, n, c)
|
|
1805
1804
|
};
|
|
1806
1805
|
}
|
|
1807
|
-
function
|
|
1808
|
-
const { modifiers: l, pluralRules: a, messageResolver: c, fallbackLocale: m, fallbackWarn: u, missingWarn:
|
|
1806
|
+
function Ha(e, t, n, s) {
|
|
1807
|
+
const { modifiers: l, pluralRules: a, messageResolver: c, fallbackLocale: m, fallbackWarn: u, missingWarn: b, fallbackContext: y } = e, N = {
|
|
1809
1808
|
locale: t,
|
|
1810
1809
|
modifiers: l,
|
|
1811
1810
|
pluralRules: a,
|
|
1812
1811
|
messages: (P, V) => {
|
|
1813
|
-
let
|
|
1814
|
-
if (
|
|
1812
|
+
let T = c(n, P);
|
|
1813
|
+
if (T == null && (y || V)) {
|
|
1815
1814
|
const [, , A] = Vn(
|
|
1816
|
-
|
|
1815
|
+
y || e,
|
|
1817
1816
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1818
1817
|
P,
|
|
1819
1818
|
t,
|
|
1820
1819
|
m,
|
|
1821
1820
|
u,
|
|
1822
|
-
|
|
1821
|
+
b
|
|
1823
1822
|
);
|
|
1824
|
-
|
|
1823
|
+
T = c(A, P);
|
|
1825
1824
|
}
|
|
1826
|
-
if (M(
|
|
1825
|
+
if (M(T) || He(T)) {
|
|
1827
1826
|
let A = !1;
|
|
1828
|
-
const d =
|
|
1827
|
+
const d = jn(e, P, t, T, P, () => {
|
|
1829
1828
|
A = !0;
|
|
1830
1829
|
});
|
|
1831
1830
|
return A ? vn : d;
|
|
1832
|
-
} else return
|
|
1831
|
+
} else return be(T) ? T : vn;
|
|
1833
1832
|
}
|
|
1834
1833
|
};
|
|
1835
1834
|
return e.processor && (N.processor = e.processor), s.list && (N.list = s.list), s.named && (N.named = s.named), ce(s.plural) && (N.pluralIndex = s.plural), N;
|
|
1836
1835
|
}
|
|
1837
1836
|
xs();
|
|
1838
|
-
var Ha = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_4cb0362f-c014-49ad-8f38-21b76b0b6646", 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_4cb0362f-c014-49ad-8f38-21b76b0b6646", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.2.0", npm_node_execpath: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_files_0: "dist", npm_package_devDependencies_eslint_import_resolver_typescript: "^4.4.4", HOME: "/home/runner", npm_package_devDependencies__eslint_js: "^9.39.2", npm_package_devDependencies__typescript_eslint_parser: "^8.52.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_devDependencies_eslint_config_prettier: "^10.1.8", npm_config_save_workspace_protocol: "true", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.4.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "^1.29.10", npm_package_devDependencies_code_inspector_plugin: "^0.20.16", npm_package_devDependencies_npm_run_all2: "^6.0.6", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1868", ACTIONS_ORCHESTRATION_ID: "edf849f2-5b3b-4d9b-8688-83ff764cc31a.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.7.0", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "VITE_TARGET_ENV=dev pnpm build:mf && pnpm build:dts", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.9.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.6", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260406.80.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:15318", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^8.52.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.8/x64", GITHUB_RUN_ID: "24559208508", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "ae1b0a011c3ee9c6409f4b3aa0f261bc1544055c", 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/pos-bypass-validation", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9wb3MtYnlwYXNzLXZhbGlkYXRpb25cIixcIlBlcm1pc3Npb25cIjozfSx7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6MX1dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjZmOTZmYTg5LWI3YmYtNDg3OC1iYWQzLTg5ODAwNjU2NmI2ZSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3NzY0NDE5NjgsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc3NjQxOTc2OCwiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6IjA2OWFjNTQzLWU1YTItNWZkMC05MzNkLThhMjc5Y2MzYzBhNCIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc3NjQxOTQ2OCwib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJqdW4tbGVlLWZlZWRtZVwiLFwiYWN0b3JfaWRcIjpcIjIzOTI4Mjg2MlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCI3MTgwMzMyODUxNVwiLFwiZXZlbnRfbmFtZVwiOlwid29ya2Zsb3dfZGlzcGF0Y2hcIixcImhlYWRfcmVmXCI6XCJcIixcImpvYl93b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9hY3Rpb25zLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtbnBtLWdpdGh1Yi55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwiam9iX3dvcmtmbG93X3NoYVwiOlwiM2YzNTQ0ODAwYmFhM2I4YmM0YWFhZTk0ZWU4NGMwMTJiZDY0OGZmZVwiLFwicmVmXCI6XCJyZWZzL2hlYWRzL3Bvcy1ieXBhc3MtdmFsaWRhdGlvblwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiMTEyNDY3MjIzNVwiLFwicmVwb3NpdG9yeV9vd25lclwiOlwiZmVlZG1lcG9zXCIsXCJyZXBvc2l0b3J5X293bmVyX2lkXCI6XCI1NDgzMTUxNVwiLFwicmVwb3NpdG9yeV92aXNpYmlsaXR5XCI6XCJwcml2YXRlXCIsXCJydW5fYXR0ZW1wdFwiOlwiMVwiLFwicnVuX2lkXCI6XCIyNDU1OTIwODUwOFwiLFwicnVuX251bWJlclwiOlwiNTBcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCJhZTFiMGEwMTFjM2VlOWM2NDA5ZjRiM2FhMGYyNjFiYzE1NDQwNTVjXCIsXCJ3b3JrZmxvd1wiOlwiUHVibGlzaCBocm0tcG9ydGFsXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLWhybS1wb3J0YWwtdHJ1c3RlZC55bWxAcmVmcy9oZWFkcy9wb3MtYnlwYXNzLXZhbGlkYXRpb25cIixcIndvcmtmbG93X3NoYVwiOlwiYWUxYjBhMDExYzNlZTljNjQwOWY0YjNhYTBmMjYxYmMxNTQ0MDU1Y1wifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvaHJtLXNlcnZpY2U6cmVmOnJlZnMvaGVhZHMvcG9zLWJ5cGFzcy12YWxpZGF0aW9uIiwib3JjaF9pZCI6ImVkZjg0OWYyLTViM2ItNGQ5Yi04Njg4LTgzZmY3NjRjYzMxYS5wdWJsaXNoLnB1Ymxpc2guX19kZWZhdWx0Iiwib3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJwbGFuX2lkIjoiZWRmODQ5ZjItNWIzYi00ZDliLTg2ODgtODNmZjc2NGNjMzFhIiwicmVwb3NpdG9yeV9pZCI6IjExMjQ2NzIyMzUiLCJydW5faWQiOiIyNDU1OTIwODUwOCIsInJ1bl9udW1iZXIiOiI1MCIsInJ1bl90eXBlIjoiZnVsbCIsInJ1bm5lcl9pZCI6IjEwMDAwNjEwNDYiLCJydW5uZXJfdHlwZSI6Imhvc3RlZCIsInNjcCI6IkFjdGlvbnMuUmVzdWx0czplZGY4NDlmMi01YjNiLTRkOWItODY4OC04M2ZmNzY0Y2MzMWE6MDY5YWM1NDMtZTVhMi01ZmQwLTkzM2QtOGEyNzljYzNjMGE0IEFjdGlvbnMuUnVubmVyOmVkZjg0OWYyLTViM2ItNGQ5Yi04Njg4LTgzZmY3NjRjYzMxYTowNjlhYzU0My1lNWEyLTVmZDAtOTMzZC04YTI3OWNjM2MwYTQgQWN0aW9ucy5VcGxvYWRBcnRpZmFjdHM6ZWRmODQ5ZjItNWIzYi00ZDliLTg2ODgtODNmZjc2NGNjMzFhOjA2OWFjNTQzLWU1YTItNWZkMC05MzNkLThhMjc5Y2MzYzBhNCBnZW5lcmF0ZV9pZF90b2tlbjplZGY4NDlmMi01YjNiLTRkOWItODY4OC04M2ZmNzY0Y2MzMWE6MDY5YWM1NDMtZTVhMi01ZmQwLTkzM2QtOGEyNzljYzNjMGE0IEFjdGlvbnMuR2VuZXJpY1JlYWQ6MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIiwic2hhIjoiYWUxYjBhMDExYzNlZTljNjQwOWY0YjNhYTBmMjYxYmMxNTQ0MDU1YyIsInRydXN0X3RpZXIiOiIxIn0.faaVklD-J74gmm8S9NLsIYOSsPRq793M4ZaqilzRduhN0PMpm9eW0woGIT8_Aqfe1qqE99r37AhvyQDzxTXgCatbWc6-WgiPddd3UTbf34qzVvzJq3-CvffXfWFMxzPfJzguBbjARg6OlyYJBDZNREJ1I5F9hZq5pqEPOd5Tc5tP9pu06BYRCKu7Xqs0Jwv76uEqll7-shSoTk-J1qhKjSTv_9cl9JvTGFDyT9S2inZxxYo73gz7jaZvbg3hP0H_yNfYdw7qEZ5iK7gv-umpxxq69LCYTC-sTLUJst7VdLIchoYsut99lDcdpK0yWNQWOdDRGDtU0DxGqvP8qCPuZA", 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_c58df1f6-057f-424d-8d69-f4fbcb1dc639", INVOCATION_ID: "c2f514bd6a2d4d9da19eb9bdb8b073dc", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", npm_package_name: "@feedmepos/mf-hrm-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "50", 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 1000061046", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "pos-bypass-validation", 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.6-dev.1", 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: "ae1b0a011c3ee9c6409f4b3aa0f261bc1544055c", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/pos-bypass-validation", 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_4cb0362f-c014-49ad-8f38-21b76b0b6646", 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-1-azure-eastus.actions.githubusercontent.com/210//idtoken/edf849f2-5b3b-4d9b-8688-83ff764cc31a/069ac543-e5a2-5fd0-933d-8a279cc3c0a4?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_4cb0362f-c014-49ad-8f38-21b76b0b6646", 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_4cb0362f-c014-49ad-8f38-21b76b0b6646", 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 Ba = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_80e3b4f7-20b3-4890-b30d-6acf9184db4b", 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_80e3b4f7-20b3-4890-b30d-6acf9184db4b", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.2.0", npm_node_execpath: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_files_0: "dist", npm_package_devDependencies_eslint_import_resolver_typescript: "^4.4.4", HOME: "/home/runner", npm_package_devDependencies__eslint_js: "^9.39.2", npm_package_devDependencies__typescript_eslint_parser: "^8.52.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_devDependencies_eslint_config_prettier: "^10.1.8", npm_config_save_workspace_protocol: "true", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.4.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "^1.29.10", npm_package_devDependencies_code_inspector_plugin: "^0.20.16", npm_package_devDependencies_npm_run_all2: "^6.0.6", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1849", ACTIONS_ORCHESTRATION_ID: "c9572360-aa4d-4daf-a148-4a2f719d8206.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.7.0", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "VITE_TARGET_ENV=dev pnpm build:mf && pnpm build:dts", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.9.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.6", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260413.86.1", npm_package_scripts_dev: "vite", npm_package_devDependencies_prettier: "^3.7.4", npm_package_devDependencies_sass_embedded: "^1.93.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_devDependencies__vue_tsconfig: "^0.4.0", npm_package_devDependencies_eslint_plugin_import: "^2.32.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:13008", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^8.52.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.9/x64", GITHUB_RUN_ID: "24653251346", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "a07463c4ed11d99a0d71db897baa0ba445bf6a99", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/main", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6M31dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjZmOTZmYTg5LWI3YmYtNDg3OC1iYWQzLTg5ODAwNjU2NmI2ZSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3NzY2OTExMTUsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc3NjY2ODkxNSwiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6IjRjNWU1YjNkLTQyZGEtNTQ3ZS1hODlkLTZmZWY1ZmYxYWE3OSIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc3NjY2ODYxNSwib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJqdW4tbGVlLWZlZWRtZVwiLFwiYWN0b3JfaWRcIjpcIjIzOTI4Mjg2MlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCI3MjA4MDU4Mjk2NFwiLFwiZXZlbnRfbmFtZVwiOlwid29ya2Zsb3dfZGlzcGF0Y2hcIixcImhlYWRfcmVmXCI6XCJcIixcImpvYl93b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9hY3Rpb25zLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtbnBtLWdpdGh1Yi55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwiam9iX3dvcmtmbG93X3NoYVwiOlwiYTg0NzUwOGVmMWRhNmJkYWU4ZDBiZjdkOWIxY2E3YzVlYTczMGYzYVwiLFwicmVmXCI6XCJyZWZzL2hlYWRzL21haW5cIixcInJlZl9wcm90ZWN0ZWRcIjpcInRydWVcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiMTEyNDY3MjIzNVwiLFwicmVwb3NpdG9yeV9vd25lclwiOlwiZmVlZG1lcG9zXCIsXCJyZXBvc2l0b3J5X293bmVyX2lkXCI6XCI1NDgzMTUxNVwiLFwicmVwb3NpdG9yeV92aXNpYmlsaXR5XCI6XCJwcml2YXRlXCIsXCJydW5fYXR0ZW1wdFwiOlwiMVwiLFwicnVuX2lkXCI6XCIyNDY1MzI1MTM0NlwiLFwicnVuX251bWJlclwiOlwiNTJcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCJhMDc0NjNjNGVkMTFkOTlhMGQ3MWRiODk3YmFhMGJhNDQ1YmY2YTk5XCIsXCJ3b3JrZmxvd1wiOlwiUHVibGlzaCBocm0tcG9ydGFsXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLWhybS1wb3J0YWwtdHJ1c3RlZC55bWxAcmVmcy9oZWFkcy9tYWluXCIsXCJ3b3JrZmxvd19zaGFcIjpcImEwNzQ2M2M0ZWQxMWQ5OWEwZDcxZGI4OTdiYWEwYmE0NDViZjZhOTlcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL2hybS1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL21haW4iLCJvcmNoX2lkIjoiYzk1NzIzNjAtYWE0ZC00ZGFmLWExNDgtNGEyZjcxOWQ4MjA2LnB1Ymxpc2gucHVibGlzaC5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiJjOTU3MjM2MC1hYTRkLTRkYWYtYTE0OC00YTJmNzE5ZDgyMDYiLCJyZXBvc2l0b3J5X2lkIjoiMTEyNDY3MjIzNSIsInJ1bl9pZCI6IjI0NjUzMjUxMzQ2IiwicnVuX251bWJlciI6IjUyIiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDA2MTQ2MSIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOmM5NTcyMzYwLWFhNGQtNGRhZi1hMTQ4LTRhMmY3MTlkODIwNjo0YzVlNWIzZC00MmRhLTU0N2UtYTg5ZC02ZmVmNWZmMWFhNzkgQWN0aW9ucy5SdW5uZXI6Yzk1NzIzNjAtYWE0ZC00ZGFmLWExNDgtNGEyZjcxOWQ4MjA2OjRjNWU1YjNkLTQyZGEtNTQ3ZS1hODlkLTZmZWY1ZmYxYWE3OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czpjOTU3MjM2MC1hYTRkLTRkYWYtYTE0OC00YTJmNzE5ZDgyMDY6NGM1ZTViM2QtNDJkYS01NDdlLWE4OWQtNmZlZjVmZjFhYTc5IGdlbmVyYXRlX2lkX3Rva2VuOmM5NTcyMzYwLWFhNGQtNGRhZi1hMTQ4LTRhMmY3MTlkODIwNjo0YzVlNWIzZC00MmRhLTU0N2UtYTg5ZC02ZmVmNWZmMWFhNzkgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiJhMDc0NjNjNGVkMTFkOTlhMGQ3MWRiODk3YmFhMGJhNDQ1YmY2YTk5IiwidHJ1c3RfdGllciI6IjEifQ.cgI4Wo0gfhIX60IHMzbhO_gF2ouvIi6uPk26UsMpXbFSgAti9c5P86eowHFe09Od0xi1drHvCXO66pxoEv6fqoCB3D4ucadUdB_2FjLKtM1FBYi0pN1DKjxUwTBlY3UF2r2JY35FbhmqCyCtxRsQvl-vN4-KRKeRUTIv_vhHKpk-uZkX7bkRRXe09eFA6bqII6I1U7w4choEdVhjmYf4kGgcZV09VqXM0KOMFdXiEfczJvQkzJ0hPEUCpYQJch-2gdb3aLTzLabFHiL8ALSiYGWJqoIhn63yMS8sIBMCNwzfZ4vVAa2CBZmTSQtYU-JcC9t2p9DG1v79WME_eJvk1g", 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_483957b3-d530-4171-ad1e-2aecd4e6714b", INVOCATION_ID: "3fbe55e9935c45f6904f0baee9ed7468", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", npm_package_name: "@feedmepos/mf-hrm-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "52", 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 1000061461", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", 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.6", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_hrm_permission: "workspace:*", npm_package_devDependencies__rushstack_eslint_patch: "^1.3.3", npm_package_devDependencies_eslint_plugin_unused_imports: "^4.3.0", npm_package_devDependencies_jsdom: "^24.0.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "true", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "a07463c4ed11d99a0d71db897baa0ba445bf6a99", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "jun-lee-feedme", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", 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_80e3b4f7-20b3-4890-b30d-6acf9184db4b", 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-3-azure-eastus.actions.githubusercontent.com/77//idtoken/c9572360-aa4d-4daf-a148-4a2f719d8206/4c5e5b3d-42da-547e-a89d-6fef5ff1aa79?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_80e3b4f7-20b3-4890-b30d-6acf9184db4b", 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_80e3b4f7-20b3-4890-b30d-6acf9184db4b", 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 $a = "10.0.5";
|
|
1840
1839
|
function Ja() {
|
|
1841
|
-
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (
|
|
1840
|
+
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Ue().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Ue().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Ue().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Ue().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
1842
1841
|
}
|
|
1843
|
-
const
|
|
1842
|
+
const Be = {
|
|
1844
1843
|
// composer module errors
|
|
1845
1844
|
UNEXPECTED_RETURN_TYPE: da,
|
|
1846
1845
|
// 24
|
|
@@ -1854,9 +1853,9 @@ const He = {
|
|
|
1854
1853
|
UNEXPECTED_ERROR: 32
|
|
1855
1854
|
};
|
|
1856
1855
|
function nt(e, ...t) {
|
|
1857
|
-
return
|
|
1856
|
+
return ht(e, null, void 0);
|
|
1858
1857
|
}
|
|
1859
|
-
const Vt = /* @__PURE__ */
|
|
1858
|
+
const Vt = /* @__PURE__ */ je("__translateVNode"), jt = /* @__PURE__ */ je("__datetimeParts"), Wt = /* @__PURE__ */ je("__numberParts"), Ka = je("__setPluralRules"), Wn = /* @__PURE__ */ je("__injectWithOption"), Gt = /* @__PURE__ */ je("__dispose");
|
|
1860
1859
|
function st(e) {
|
|
1861
1860
|
if (!X(e))
|
|
1862
1861
|
return e;
|
|
@@ -1878,12 +1877,12 @@ function st(e) {
|
|
|
1878
1877
|
}
|
|
1879
1878
|
return e;
|
|
1880
1879
|
}
|
|
1881
|
-
function
|
|
1880
|
+
function Gn(e, t) {
|
|
1882
1881
|
const { messages: n, __i18n: s, messageResolver: l, flatJson: a } = t, c = Z(n) ? n : oe(s) ? J() : { [e]: J() };
|
|
1883
1882
|
if (oe(s) && s.forEach((m) => {
|
|
1884
1883
|
if ("locale" in m && "resource" in m) {
|
|
1885
|
-
const { locale: u, resource:
|
|
1886
|
-
u ? (c[u] = c[u] || J(), mt(
|
|
1884
|
+
const { locale: u, resource: b } = m;
|
|
1885
|
+
u ? (c[u] = c[u] || J(), mt(b, c[u])) : mt(b, c);
|
|
1887
1886
|
} else
|
|
1888
1887
|
M(m) && mt(JSON.parse(m), c);
|
|
1889
1888
|
}), l == null && a)
|
|
@@ -1891,12 +1890,12 @@ function Yn(e, t) {
|
|
|
1891
1890
|
Ee(c, m) && st(c[m]);
|
|
1892
1891
|
return c;
|
|
1893
1892
|
}
|
|
1894
|
-
function
|
|
1893
|
+
function Yn(e) {
|
|
1895
1894
|
return e.type;
|
|
1896
1895
|
}
|
|
1897
1896
|
function za(e, t, n) {
|
|
1898
1897
|
let s = X(t.messages) ? t.messages : J();
|
|
1899
|
-
"__i18nGlobal" in n && (s =
|
|
1898
|
+
"__i18nGlobal" in n && (s = Gn(e.locale.value, {
|
|
1900
1899
|
messages: s,
|
|
1901
1900
|
__i18n: n.__i18nGlobal
|
|
1902
1901
|
}));
|
|
@@ -1922,18 +1921,18 @@ function za(e, t, n) {
|
|
|
1922
1921
|
function In(e) {
|
|
1923
1922
|
return de($n, null, e, 0);
|
|
1924
1923
|
}
|
|
1925
|
-
const Nn = "__INTLIFY_META__",
|
|
1926
|
-
let
|
|
1927
|
-
function
|
|
1928
|
-
return (t, n, s, l) => e(n, s,
|
|
1924
|
+
const Nn = "__INTLIFY_META__", kn = () => [], Qa = () => !1;
|
|
1925
|
+
let yn = 0;
|
|
1926
|
+
function Tn(e) {
|
|
1927
|
+
return (t, n, s, l) => e(n, s, Yt() || void 0, l);
|
|
1929
1928
|
}
|
|
1930
1929
|
const qa = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
1931
|
-
const e =
|
|
1930
|
+
const e = Yt();
|
|
1932
1931
|
let t = null;
|
|
1933
|
-
return e && (t =
|
|
1932
|
+
return e && (t = Yn(e)[Nn]) ? { [Nn]: t } : null;
|
|
1934
1933
|
};
|
|
1935
1934
|
function er(e = {}) {
|
|
1936
|
-
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = qt ? Ve :
|
|
1935
|
+
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = qt ? Ve : Bn;
|
|
1937
1936
|
let c = le(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1938
1937
|
const m = a(
|
|
1939
1938
|
// prettier-ignore
|
|
@@ -1941,8 +1940,8 @@ function er(e = {}) {
|
|
|
1941
1940
|
), u = a(
|
|
1942
1941
|
// prettier-ignore
|
|
1943
1942
|
t && c ? t.fallbackLocale.value : M(e.fallbackLocale) || oe(e.fallbackLocale) || Z(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : m.value
|
|
1944
|
-
),
|
|
1945
|
-
let N = t ? t.missingWarn : le(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, P = t ? t.fallbackWarn : le(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, V = t ? t.fallbackRoot : le(e.fallbackRoot) ? e.fallbackRoot : !0,
|
|
1943
|
+
), b = a(Gn(m.value, e)), y = a(Z(e.datetimeFormats) ? e.datetimeFormats : { [m.value]: {} }), L = a(Z(e.numberFormats) ? e.numberFormats : { [m.value]: {} });
|
|
1944
|
+
let N = t ? t.missingWarn : le(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, P = t ? t.fallbackWarn : le(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, V = t ? t.fallbackRoot : le(e.fallbackRoot) ? e.fallbackRoot : !0, T = !!e.fallbackFormat, A = se(e.missing) ? e.missing : null, i = se(e.missing) ? Tn(e.missing) : null, d = se(e.postTranslation) ? e.postTranslation : null, k = t ? t.warnHtmlMessage : le(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, h = !!e.escapeParameter;
|
|
1946
1945
|
const S = t ? t.modifiers : Z(e.modifiers) ? e.modifiers : {};
|
|
1947
1946
|
let p = e.pluralRules || t && t.pluralRules, _;
|
|
1948
1947
|
_ = (() => {
|
|
@@ -1951,32 +1950,32 @@ function er(e = {}) {
|
|
|
1951
1950
|
version: $a,
|
|
1952
1951
|
locale: m.value,
|
|
1953
1952
|
fallbackLocale: u.value,
|
|
1954
|
-
messages:
|
|
1953
|
+
messages: b.value,
|
|
1955
1954
|
modifiers: S,
|
|
1956
1955
|
pluralRules: p,
|
|
1957
1956
|
missing: i === null ? void 0 : i,
|
|
1958
1957
|
missingWarn: N,
|
|
1959
1958
|
fallbackWarn: P,
|
|
1960
|
-
fallbackFormat:
|
|
1959
|
+
fallbackFormat: T,
|
|
1961
1960
|
unresolving: !0,
|
|
1962
1961
|
postTranslation: d === null ? void 0 : d,
|
|
1963
|
-
warnHtmlMessage:
|
|
1964
|
-
escapeParameter:
|
|
1962
|
+
warnHtmlMessage: k,
|
|
1963
|
+
escapeParameter: h,
|
|
1965
1964
|
messageResolver: e.messageResolver,
|
|
1966
1965
|
messageCompiler: e.messageCompiler,
|
|
1967
1966
|
__meta: { framework: "vue" }
|
|
1968
1967
|
};
|
|
1969
|
-
f.datetimeFormats =
|
|
1970
|
-
const E =
|
|
1968
|
+
f.datetimeFormats = y.value, f.numberFormats = L.value, f.__datetimeFormatters = Z(_) ? _.__datetimeFormatters : void 0, f.__numberFormatters = Z(_) ? _.__numberFormatters : void 0;
|
|
1969
|
+
const E = Da(f);
|
|
1971
1970
|
return s && dn(E), E;
|
|
1972
1971
|
})(), Qe(_, m.value, u.value);
|
|
1973
1972
|
function g() {
|
|
1974
1973
|
return [
|
|
1975
1974
|
m.value,
|
|
1976
1975
|
u.value,
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1976
|
+
b.value,
|
|
1977
|
+
y.value,
|
|
1978
|
+
L.value
|
|
1980
1979
|
];
|
|
1981
1980
|
}
|
|
1982
1981
|
const I = z({
|
|
@@ -1984,56 +1983,56 @@ function er(e = {}) {
|
|
|
1984
1983
|
set: (f) => {
|
|
1985
1984
|
m.value = f, _.locale = m.value;
|
|
1986
1985
|
}
|
|
1987
|
-
}),
|
|
1986
|
+
}), G = z({
|
|
1988
1987
|
get: () => u.value,
|
|
1989
1988
|
set: (f) => {
|
|
1990
1989
|
u.value = f, _.fallbackLocale = u.value, Qe(_, m.value, f);
|
|
1991
1990
|
}
|
|
1992
|
-
}),
|
|
1991
|
+
}), D = z(() => b.value), $ = /* @__PURE__ */ z(() => y.value), q = /* @__PURE__ */ z(() => L.value);
|
|
1993
1992
|
function C() {
|
|
1994
1993
|
return se(d) ? d : null;
|
|
1995
1994
|
}
|
|
1996
|
-
function
|
|
1995
|
+
function O(f) {
|
|
1997
1996
|
d = f, _.postTranslation = f;
|
|
1998
1997
|
}
|
|
1999
|
-
function
|
|
1998
|
+
function w() {
|
|
2000
1999
|
return A;
|
|
2001
2000
|
}
|
|
2002
|
-
function
|
|
2003
|
-
f !== null && (i =
|
|
2001
|
+
function H(f) {
|
|
2002
|
+
f !== null && (i = Tn(f)), A = f, _.missing = i;
|
|
2004
2003
|
}
|
|
2005
|
-
const
|
|
2004
|
+
const j = (f, E, K, re, Pe, at) => {
|
|
2006
2005
|
g();
|
|
2007
|
-
let
|
|
2006
|
+
let Ye;
|
|
2008
2007
|
try {
|
|
2009
|
-
|
|
2008
|
+
Ba.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (_.fallbackContext = t ? Sa() : void 0), Ye = f(_);
|
|
2010
2009
|
} finally {
|
|
2011
2010
|
__INTLIFY_PROD_DEVTOOLS__, s || (_.fallbackContext = void 0);
|
|
2012
2011
|
}
|
|
2013
2012
|
if (K !== "translate exists" && // for not `te` (e.g `t`)
|
|
2014
|
-
ce(
|
|
2015
|
-
const [Xn,
|
|
2013
|
+
ce(Ye) && Ye === bt || K === "translate exists" && !Ye) {
|
|
2014
|
+
const [Xn, Gr] = E();
|
|
2016
2015
|
return t && V ? re(t) : Pe(Xn);
|
|
2017
2016
|
} else {
|
|
2018
|
-
if (at(
|
|
2019
|
-
return
|
|
2020
|
-
throw nt(
|
|
2017
|
+
if (at(Ye))
|
|
2018
|
+
return Ye;
|
|
2019
|
+
throw nt(Be.UNEXPECTED_RETURN_TYPE);
|
|
2021
2020
|
}
|
|
2022
2021
|
};
|
|
2023
2022
|
function R(...f) {
|
|
2024
|
-
return
|
|
2023
|
+
return j((E) => Reflect.apply(En, null, [E, ...f]), () => Ut(...f), "translate", (E) => Reflect.apply(E.t, E, [...f]), (E) => E, (E) => M(E));
|
|
2025
2024
|
}
|
|
2026
|
-
function
|
|
2025
|
+
function Y(...f) {
|
|
2027
2026
|
const [E, K, re] = f;
|
|
2028
2027
|
if (re && !X(re))
|
|
2029
|
-
throw nt(
|
|
2028
|
+
throw nt(Be.INVALID_ARGUMENT);
|
|
2030
2029
|
return R(E, K, ue({ resolvedMessage: !0 }, re || {}));
|
|
2031
2030
|
}
|
|
2032
2031
|
function Q(...f) {
|
|
2033
|
-
return
|
|
2032
|
+
return j((E) => Reflect.apply(_n, null, [E, ...f]), () => Pt(...f), "datetime format", (E) => Reflect.apply(E.d, E, [...f]), () => un, (E) => M(E));
|
|
2034
2033
|
}
|
|
2035
2034
|
function ge(...f) {
|
|
2036
|
-
return
|
|
2035
|
+
return j((E) => Reflect.apply(hn, null, [E, ...f]), () => Ft(...f), "number format", (E) => Reflect.apply(E.n, E, [...f]), () => un, (E) => M(E));
|
|
2037
2036
|
}
|
|
2038
2037
|
function fe(f) {
|
|
2039
2038
|
return f.map((E) => M(E) || ce(E) || le(E) ? In(String(E)) : E);
|
|
@@ -2044,7 +2043,7 @@ function er(e = {}) {
|
|
|
2044
2043
|
type: "vnode"
|
|
2045
2044
|
};
|
|
2046
2045
|
function ve(...f) {
|
|
2047
|
-
return
|
|
2046
|
+
return j((E) => {
|
|
2048
2047
|
let K;
|
|
2049
2048
|
const re = E;
|
|
2050
2049
|
try {
|
|
@@ -2053,30 +2052,30 @@ function er(e = {}) {
|
|
|
2053
2052
|
re.processor = null;
|
|
2054
2053
|
}
|
|
2055
2054
|
return K;
|
|
2056
|
-
}, () =>
|
|
2055
|
+
}, () => Ut(...f), "translate", (E) => E[Vt](...f), (E) => [In(E)], (E) => oe(E));
|
|
2057
2056
|
}
|
|
2058
2057
|
function $e(...f) {
|
|
2059
|
-
return
|
|
2058
|
+
return j((E) => Reflect.apply(hn, null, [E, ...f]), () => Ft(...f), "number format", (E) => E[Wt](...f), kn, (E) => M(E) || oe(E));
|
|
2060
2059
|
}
|
|
2061
2060
|
function Je(...f) {
|
|
2062
|
-
return
|
|
2061
|
+
return j((E) => Reflect.apply(_n, null, [E, ...f]), () => Pt(...f), "datetime format", (E) => E[jt](...f), kn, (E) => M(E) || oe(E));
|
|
2063
2062
|
}
|
|
2064
2063
|
function vt(f) {
|
|
2065
2064
|
p = f, _.pluralRules = p;
|
|
2066
2065
|
}
|
|
2067
2066
|
function Et(f, E) {
|
|
2068
|
-
return
|
|
2067
|
+
return j(() => {
|
|
2069
2068
|
if (!f)
|
|
2070
2069
|
return !1;
|
|
2071
2070
|
const K = M(E) ? E : m.value, re = We(K), Pe = _.messageResolver(re, f);
|
|
2072
|
-
return
|
|
2071
|
+
return He(Pe) || be(Pe) || M(Pe);
|
|
2073
2072
|
}, () => [f], "translate exists", (K) => Reflect.apply(K.te, K, [f, E]), Qa, (K) => le(K));
|
|
2074
2073
|
}
|
|
2075
2074
|
function It(f) {
|
|
2076
2075
|
let E = null;
|
|
2077
2076
|
const K = An(_, u.value, m.value);
|
|
2078
2077
|
for (let re = 0; re < K.length; re++) {
|
|
2079
|
-
const Pe =
|
|
2078
|
+
const Pe = b.value[K[re]] || {}, at = _.messageResolver(Pe, f);
|
|
2080
2079
|
if (at != null) {
|
|
2081
2080
|
E = at;
|
|
2082
2081
|
break;
|
|
@@ -2089,52 +2088,52 @@ function er(e = {}) {
|
|
|
2089
2088
|
return E ?? (t ? t.tm(f) || {} : {});
|
|
2090
2089
|
}
|
|
2091
2090
|
function We(f) {
|
|
2092
|
-
return
|
|
2091
|
+
return b.value[f] || {};
|
|
2093
2092
|
}
|
|
2094
|
-
function
|
|
2093
|
+
function Ge(f, E) {
|
|
2095
2094
|
if (l) {
|
|
2096
2095
|
const K = { [f]: E };
|
|
2097
2096
|
for (const re in K)
|
|
2098
2097
|
Ee(K, re) && st(K[re]);
|
|
2099
2098
|
E = K[f];
|
|
2100
2099
|
}
|
|
2101
|
-
|
|
2100
|
+
b.value[f] = E, _.messages = b.value;
|
|
2102
2101
|
}
|
|
2103
2102
|
function ze(f, E) {
|
|
2104
|
-
|
|
2103
|
+
b.value[f] = b.value[f] || {};
|
|
2105
2104
|
const K = { [f]: E };
|
|
2106
2105
|
if (l)
|
|
2107
2106
|
for (const re in K)
|
|
2108
2107
|
Ee(K, re) && st(K[re]);
|
|
2109
|
-
E = K[f], mt(E,
|
|
2108
|
+
E = K[f], mt(E, b.value[f]), _.messages = b.value;
|
|
2110
2109
|
}
|
|
2111
2110
|
function Nt(f) {
|
|
2112
|
-
return
|
|
2111
|
+
return y.value[f] || {};
|
|
2113
2112
|
}
|
|
2114
2113
|
function r(f, E) {
|
|
2115
|
-
|
|
2114
|
+
y.value[f] = E, _.datetimeFormats = y.value, pn(_, f, E);
|
|
2116
2115
|
}
|
|
2117
2116
|
function o(f, E) {
|
|
2118
|
-
|
|
2117
|
+
y.value[f] = ue(y.value[f] || {}, E), _.datetimeFormats = y.value, pn(_, f, E);
|
|
2119
2118
|
}
|
|
2120
2119
|
function v(f) {
|
|
2121
|
-
return
|
|
2120
|
+
return L.value[f] || {};
|
|
2122
2121
|
}
|
|
2123
2122
|
function F(f, E) {
|
|
2124
|
-
|
|
2123
|
+
L.value[f] = E, _.numberFormats = L.value, bn(_, f, E);
|
|
2125
2124
|
}
|
|
2126
2125
|
function ae(f, E) {
|
|
2127
|
-
|
|
2126
|
+
L.value[f] = ue(L.value[f] || {}, E), _.numberFormats = L.value, bn(_, f, E);
|
|
2128
2127
|
}
|
|
2129
|
-
|
|
2128
|
+
yn++, t && qt && (St(t.locale, (f) => {
|
|
2130
2129
|
c && (m.value = f, _.locale = f, Qe(_, m.value, u.value));
|
|
2131
2130
|
}), St(t.fallbackLocale, (f) => {
|
|
2132
2131
|
c && (u.value = f, _.fallbackLocale = f, Qe(_, m.value, u.value));
|
|
2133
2132
|
}));
|
|
2134
2133
|
const W = {
|
|
2135
|
-
id:
|
|
2134
|
+
id: yn,
|
|
2136
2135
|
locale: I,
|
|
2137
|
-
fallbackLocale:
|
|
2136
|
+
fallbackLocale: G,
|
|
2138
2137
|
get inheritLocale() {
|
|
2139
2138
|
return c;
|
|
2140
2139
|
},
|
|
@@ -2142,9 +2141,9 @@ function er(e = {}) {
|
|
|
2142
2141
|
c = f, f && t && (m.value = t.locale.value, u.value = t.fallbackLocale.value, Qe(_, m.value, u.value));
|
|
2143
2142
|
},
|
|
2144
2143
|
get availableLocales() {
|
|
2145
|
-
return Object.keys(
|
|
2144
|
+
return Object.keys(b.value).sort();
|
|
2146
2145
|
},
|
|
2147
|
-
messages:
|
|
2146
|
+
messages: D,
|
|
2148
2147
|
get modifiers() {
|
|
2149
2148
|
return S;
|
|
2150
2149
|
},
|
|
@@ -2173,34 +2172,34 @@ function er(e = {}) {
|
|
|
2173
2172
|
V = f;
|
|
2174
2173
|
},
|
|
2175
2174
|
get fallbackFormat() {
|
|
2176
|
-
return
|
|
2175
|
+
return T;
|
|
2177
2176
|
},
|
|
2178
2177
|
set fallbackFormat(f) {
|
|
2179
|
-
|
|
2178
|
+
T = f, _.fallbackFormat = T;
|
|
2180
2179
|
},
|
|
2181
2180
|
get warnHtmlMessage() {
|
|
2182
|
-
return
|
|
2181
|
+
return k;
|
|
2183
2182
|
},
|
|
2184
2183
|
set warnHtmlMessage(f) {
|
|
2185
|
-
|
|
2184
|
+
k = f, _.warnHtmlMessage = f;
|
|
2186
2185
|
},
|
|
2187
2186
|
get escapeParameter() {
|
|
2188
|
-
return
|
|
2187
|
+
return h;
|
|
2189
2188
|
},
|
|
2190
2189
|
set escapeParameter(f) {
|
|
2191
|
-
|
|
2190
|
+
h = f, _.escapeParameter = f;
|
|
2192
2191
|
},
|
|
2193
2192
|
t: R,
|
|
2194
2193
|
getLocaleMessage: We,
|
|
2195
|
-
setLocaleMessage:
|
|
2194
|
+
setLocaleMessage: Ge,
|
|
2196
2195
|
mergeLocaleMessage: ze,
|
|
2197
2196
|
getPostTranslationHandler: C,
|
|
2198
|
-
setPostTranslationHandler:
|
|
2199
|
-
getMissingHandler:
|
|
2200
|
-
setMissingHandler:
|
|
2197
|
+
setPostTranslationHandler: O,
|
|
2198
|
+
getMissingHandler: w,
|
|
2199
|
+
setMissingHandler: H,
|
|
2201
2200
|
[Ka]: vt
|
|
2202
2201
|
};
|
|
2203
|
-
return W.datetimeFormats = $, W.numberFormats = q, W.rt =
|
|
2202
|
+
return W.datetimeFormats = $, W.numberFormats = q, W.rt = Y, W.te = Et, W.tm = Ke, W.d = Q, W.n = ge, W.getDateTimeFormat = Nt, W.setDateTimeFormat = r, W.mergeDateTimeFormat = o, W.getNumberFormat = v, W.setNumberFormat = F, W.mergeNumberFormat = ae, W[Wn] = n, W[Vt] = ve, W[jt] = Je, W[Wt] = $e, W;
|
|
2204
2203
|
}
|
|
2205
2204
|
const Kt = {
|
|
2206
2205
|
tag: {
|
|
@@ -2224,14 +2223,14 @@ function tr({ 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 === ke ? 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
|
}, J());
|
|
2232
2231
|
}
|
|
2233
2232
|
function xn() {
|
|
2234
|
-
return
|
|
2233
|
+
return ke;
|
|
2235
2234
|
}
|
|
2236
2235
|
ue({
|
|
2237
2236
|
keypath: {
|
|
@@ -2253,13 +2252,13 @@ function Zn(e, t, n, s) {
|
|
|
2253
2252
|
let m = J();
|
|
2254
2253
|
e.locale && (c.locale = e.locale), M(e.format) ? c.key = e.format : X(e.format) && (M(e.format.key) && (c.key = e.format.key), m = Object.keys(e.format).reduce((N, P) => n.includes(P) ? ue(J(), N, { [P]: e.format[P] }) : N, J()));
|
|
2255
2254
|
const u = s(e.value, c, m);
|
|
2256
|
-
let
|
|
2257
|
-
oe(u) ?
|
|
2258
|
-
const V = l[N.type],
|
|
2259
|
-
return nr(
|
|
2260
|
-
}) : M(u) && (
|
|
2261
|
-
const
|
|
2262
|
-
return Rn(
|
|
2255
|
+
let b = [c.key];
|
|
2256
|
+
oe(u) ? b = u.map((N, P) => {
|
|
2257
|
+
const V = l[N.type], T = V ? V({ [N.type]: N.value, index: P, parts: u }) : [N.value];
|
|
2258
|
+
return nr(T) && (T[0].key = `${N.type}-${P}`), T;
|
|
2259
|
+
}) : M(u) && (b = [u]);
|
|
2260
|
+
const y = ue(J(), a), L = M(e.tag) || X(e.tag) ? e.tag : xn();
|
|
2261
|
+
return Rn(L, y, b);
|
|
2263
2262
|
};
|
|
2264
2263
|
}
|
|
2265
2264
|
ue({
|
|
@@ -2280,14 +2279,14 @@ ue({
|
|
|
2280
2279
|
type: [String, Object]
|
|
2281
2280
|
}
|
|
2282
2281
|
}, Kt);
|
|
2283
|
-
const sr = /* @__PURE__ */
|
|
2282
|
+
const sr = /* @__PURE__ */ je("global-vue-i18n");
|
|
2284
2283
|
function gt(e = {}) {
|
|
2285
|
-
const t =
|
|
2284
|
+
const t = Yt();
|
|
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 = ar(t), s = lr(n), l =
|
|
2288
|
+
throw nt(Be.NOT_INSTALLED);
|
|
2289
|
+
const n = ar(t), s = lr(n), l = Yn(t), a = rr(e, l);
|
|
2291
2290
|
if (a === "global")
|
|
2292
2291
|
return za(s, e, l), s;
|
|
2293
2292
|
if (a === "parent") {
|
|
@@ -2298,14 +2297,14 @@ function gt(e = {}) {
|
|
|
2298
2297
|
let m = c.__getInstance(t);
|
|
2299
2298
|
if (m == null) {
|
|
2300
2299
|
const u = ue({}, e);
|
|
2301
|
-
"__i18n" in l && (u.__i18n = l.__i18n), s && (u.__root = s), m = er(u), c.__composerExtend && (m[
|
|
2300
|
+
"__i18n" in l && (u.__i18n = l.__i18n), s && (u.__root = s), m = er(u), c.__composerExtend && (m[Gt] = c.__composerExtend(m)), cr(c, t, m), c.__setInstance(t, m);
|
|
2302
2301
|
}
|
|
2303
2302
|
return m;
|
|
2304
2303
|
}
|
|
2305
2304
|
function ar(e) {
|
|
2306
|
-
const t =
|
|
2305
|
+
const t = Hn(e.isCE ? sr : 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
2310
|
function rr(e, t) {
|
|
@@ -2337,19 +2336,19 @@ function ir(e, t = !1) {
|
|
|
2337
2336
|
}
|
|
2338
2337
|
function cr(e, t, n) {
|
|
2339
2338
|
xt(() => {
|
|
2340
|
-
}, t),
|
|
2339
|
+
}, t), On(() => {
|
|
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
2346
|
Ja();
|
|
2348
|
-
|
|
2349
|
-
|
|
2347
|
+
La(oa);
|
|
2348
|
+
Oa(ka);
|
|
2350
2349
|
Ra(An);
|
|
2351
2350
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
2352
|
-
const e =
|
|
2351
|
+
const e = Ue();
|
|
2353
2352
|
e.__INTLIFY__ = !0, ia(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
2354
2353
|
}
|
|
2355
2354
|
const it = /* @__PURE__ */ Ie({
|
|
@@ -2370,8 +2369,8 @@ const it = /* @__PURE__ */ Ie({
|
|
|
2370
2369
|
"z-index": 50
|
|
2371
2370
|
}, {
|
|
2372
2371
|
content: pe(() => [
|
|
2373
|
-
ne("div", null, Ae(
|
|
2374
|
-
(x(!0), te(
|
|
2372
|
+
ne("div", null, Ae(ye(t)("team.memberForm.permissions.inherited")), 1),
|
|
2373
|
+
(x(!0), te(ke, null, _e(e.item.setNames, (c) => (x(), te("div", { key: c }, [
|
|
2375
2374
|
ne("div", null, "- " + Ae(c), 1)
|
|
2376
2375
|
]))), 128))
|
|
2377
2376
|
]),
|
|
@@ -2411,17 +2410,17 @@ const it = /* @__PURE__ */ Ie({
|
|
|
2411
2410
|
setup(e) {
|
|
2412
2411
|
const t = e;
|
|
2413
2412
|
return (n, s) => (x(), te("div", ur, [
|
|
2414
|
-
|
|
2413
|
+
he(n.$slots, "top", {}, () => [
|
|
2415
2414
|
t.title ? (x(), te("div", mr, [
|
|
2416
2415
|
ne("div", null, [
|
|
2417
|
-
t.required ? (x(), te("span", dr, "*")) :
|
|
2416
|
+
t.required ? (x(), te("span", dr, "*")) : Le("", !0),
|
|
2418
2417
|
Jn(Ae(t.title), 1)
|
|
2419
2418
|
]),
|
|
2420
|
-
|
|
2421
|
-
])) :
|
|
2419
|
+
he(n.$slots, "title-right")
|
|
2420
|
+
])) : Le("", !0)
|
|
2422
2421
|
]),
|
|
2423
2422
|
ne("div", fr, [
|
|
2424
|
-
|
|
2423
|
+
he(n.$slots, "default")
|
|
2425
2424
|
])
|
|
2426
2425
|
]));
|
|
2427
2426
|
}
|
|
@@ -2433,7 +2432,7 @@ function pr(e, t) {
|
|
|
2433
2432
|
n += s.charAt(Math.floor(Math.random() * l));
|
|
2434
2433
|
return n;
|
|
2435
2434
|
}
|
|
2436
|
-
const
|
|
2435
|
+
const hr = { class: "col flex items-center" }, br = {
|
|
2437
2436
|
key: 1,
|
|
2438
2437
|
class: "q-pa-sm form-error-message text-error"
|
|
2439
2438
|
}, zt = /* @__PURE__ */ Ie({
|
|
@@ -2494,25 +2493,25 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2494
2493
|
},
|
|
2495
2494
|
emits: ["update:model-value"],
|
|
2496
2495
|
setup(e, { emit: t }) {
|
|
2497
|
-
const n = e, s = t, { t: l } = _t(), a = Ve(!1), c = Kn(), m = z(() => 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-${pr(6)}`,
|
|
2498
|
-
() => n.modelValue.filter((
|
|
2499
|
-
),
|
|
2496
|
+
const n = e, s = t, { t: l } = _t(), a = Ve(!1), c = Kn(), m = z(() => 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-${pr(6)}`, b = z(() => m.value !== !0), y = z(
|
|
2497
|
+
() => n.modelValue.filter((T) => n.options.some((A) => A.value === T))
|
|
2498
|
+
), L = z(
|
|
2500
2499
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
2501
|
-
), N = z(() => n.options.length > 0 && n.options.length ===
|
|
2500
|
+
), N = z(() => n.options.length > 0 && n.options.length === y.value.length);
|
|
2502
2501
|
function P() {
|
|
2503
|
-
const
|
|
2502
|
+
const T = n.modelValue.filter((A) => !y.value.includes(A));
|
|
2504
2503
|
if (N.value === !0)
|
|
2505
|
-
s("update:model-value",
|
|
2504
|
+
s("update:model-value", T);
|
|
2506
2505
|
else {
|
|
2507
2506
|
const A = n.includeDisabledOptionsWhenSelectAll ? n.options.map((i) => i.value) : n.options.filter((i) => !i.disabled).map((i) => i.value);
|
|
2508
|
-
s("update:model-value", [...
|
|
2507
|
+
s("update:model-value", [...T, ...A]);
|
|
2509
2508
|
}
|
|
2510
2509
|
}
|
|
2511
|
-
function V(
|
|
2510
|
+
function V(T, A) {
|
|
2512
2511
|
let i = ut(n.modelValue);
|
|
2513
|
-
A ? i.every((d) => d !==
|
|
2512
|
+
A ? i.every((d) => d !== T) && i.push(T) : i = i.filter((d) => d !== T), s("update:model-value", i);
|
|
2514
2513
|
}
|
|
2515
|
-
return (
|
|
2514
|
+
return (T, A) => {
|
|
2516
2515
|
const i = Ze("FmCheckbox");
|
|
2517
2516
|
return x(), Se(_r, {
|
|
2518
2517
|
id: u,
|
|
@@ -2520,66 +2519,66 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2520
2519
|
required: !1
|
|
2521
2520
|
}, {
|
|
2522
2521
|
top: pe(() => [
|
|
2523
|
-
|
|
2522
|
+
he(T.$slots, "top")
|
|
2524
2523
|
]),
|
|
2525
2524
|
default: pe(() => [
|
|
2526
2525
|
n.showAllToggle ? (x(), Se(i, {
|
|
2527
2526
|
key: 0,
|
|
2528
2527
|
"model-value": N.value,
|
|
2529
2528
|
disabled: e.disable,
|
|
2530
|
-
label:
|
|
2529
|
+
label: L.value,
|
|
2531
2530
|
style: ct(`margin-bottom: ${n.gutter}px`),
|
|
2532
2531
|
size: "sm",
|
|
2533
2532
|
dense: "",
|
|
2534
|
-
value:
|
|
2533
|
+
value: L.value,
|
|
2535
2534
|
"onUpdate:modelValue": P
|
|
2536
|
-
}, null, 8, ["model-value", "disabled", "label", "style", "value"])) :
|
|
2537
|
-
(x(!0), te(
|
|
2535
|
+
}, null, 8, ["model-value", "disabled", "label", "style", "value"])) : Le("", !0),
|
|
2536
|
+
(x(!0), te(ke, null, _e(e.options, (d, k) => (x(), te("div", {
|
|
2538
2537
|
key: d.value,
|
|
2539
|
-
style: ct(`margin-bottom: ${
|
|
2540
|
-
class: qe(
|
|
2538
|
+
style: ct(`margin-bottom: ${k < e.options.length - 1 ? n.gutter : 0}px`),
|
|
2539
|
+
class: qe(k < e.options.length - 1 ? "q-mb-sm" : "")
|
|
2541
2540
|
}, [
|
|
2542
2541
|
ne("div", {
|
|
2543
2542
|
class: qe(["row justify-between", e.alignCenter ? "items-center" : "items-start"])
|
|
2544
2543
|
}, [
|
|
2545
|
-
ne("div",
|
|
2544
|
+
ne("div", hr, [
|
|
2546
2545
|
de(i, {
|
|
2547
2546
|
"model-value": e.modelValue.includes(d.value),
|
|
2548
2547
|
disabled: e.disable || d.disabled,
|
|
2549
2548
|
size: "sm",
|
|
2550
2549
|
label: d.label,
|
|
2551
2550
|
value: d.label,
|
|
2552
|
-
"onUpdate:modelValue": (
|
|
2551
|
+
"onUpdate:modelValue": (h) => V(d.value, h)
|
|
2553
2552
|
}, null, 8, ["model-value", "disabled", "label", "value", "onUpdate:modelValue"]),
|
|
2554
|
-
|
|
2553
|
+
he(T.$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
|
+
ye(c)[`checkbox-${d.key || d.value}-end`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (x(), te("div", {
|
|
2560
2559
|
key: 0,
|
|
2561
2560
|
class: qe([{ "q-checkbox disabled": e.disable || d.disabled }, "col"])
|
|
2562
2561
|
}, [
|
|
2563
|
-
|
|
2562
|
+
he(T.$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
|
-
], 2)) :
|
|
2567
|
+
], 2)) : Le("", !0)
|
|
2569
2568
|
], 2),
|
|
2570
|
-
|
|
2569
|
+
ye(c)[`checkbox-${d.key || d.value}-bottom`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (x(), te("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
|
+
he(T.$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
|
-
], 6)) :
|
|
2579
|
+
], 6)) : Le("", !0)
|
|
2581
2580
|
], 6))), 128)),
|
|
2582
|
-
a.value &&
|
|
2581
|
+
a.value && b.value ? (x(), te("div", br, Ae(m.value), 1)) : Le("", !0)
|
|
2583
2582
|
]),
|
|
2584
2583
|
_: 3
|
|
2585
2584
|
}, 8, ["title"]);
|
|
@@ -2588,7 +2587,7 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2588
2587
|
}), gr = { class: "flex flex-col gap-16" }, vr = {
|
|
2589
2588
|
key: 1,
|
|
2590
2589
|
class: "space-y-16"
|
|
2591
|
-
}, Er = { class: "flex items-end justify-between" }, Ir = { class: "fm-typo-en-title-sm-600" }, Nr = { class: "flex" },
|
|
2590
|
+
}, Er = { class: "flex items-end justify-between" }, Ir = { class: "fm-typo-en-title-sm-600" }, Nr = { class: "flex" }, kr = { class: "form-input" }, yr = { class: "flex items-center justify-between q-mb-xs" }, Tr = { class: "flex items-center justify-between gap-4" }, Lr = { class: "flex items-center min-w-0 flex-1 gap-8" }, Or = ["title", "onClick"], Rr = {
|
|
2592
2591
|
key: 0,
|
|
2593
2592
|
class: "flex shrink-0"
|
|
2594
2593
|
}, Cr = /* @__PURE__ */ Ie({
|
|
@@ -2613,96 +2612,96 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2613
2612
|
},
|
|
2614
2613
|
emits: ["update:model-value"],
|
|
2615
2614
|
setup(e, { emit: t }) {
|
|
2616
|
-
const { getFlagValue: n } = is(), s = e, l = z(() => [...
|
|
2615
|
+
const { getFlagValue: n } = is(), s = e, l = z(() => [...Dt, ...s.additionalPermissions]), a = t, c = Object.values(ls), m = z(() => {
|
|
2617
2616
|
const p = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map();
|
|
2618
2617
|
for (const g of l.value) {
|
|
2619
2618
|
const I = g.category;
|
|
2620
2619
|
I && (s.excludedSubjects.includes(g.subject) || g.showByFeatureFlag && n(g.showByFeatureFlag) === "false" || (p.has(I) || p.set(I, []), p.get(I).push({ label: g.label, value: g.subject }), _.set(g.subject, g)));
|
|
2621
2620
|
}
|
|
2622
2621
|
return [...p.keys()].sort((g, I) => {
|
|
2623
|
-
const
|
|
2624
|
-
return
|
|
2622
|
+
const G = c.indexOf(g), D = c.indexOf(I);
|
|
2623
|
+
return G === -1 && D === -1 ? g.localeCompare(I) : G === -1 ? 1 : D === -1 ? -1 : G - D;
|
|
2625
2624
|
}).map((g) => {
|
|
2626
|
-
const I = p.get(g),
|
|
2625
|
+
const I = p.get(g), G = /* @__PURE__ */ new Map();
|
|
2627
2626
|
for (const R of I) {
|
|
2628
|
-
const
|
|
2629
|
-
|
|
2627
|
+
const Y = _.get(R.value);
|
|
2628
|
+
Y && G.set(R.value, Y.actions);
|
|
2630
2629
|
}
|
|
2631
|
-
const
|
|
2632
|
-
const
|
|
2633
|
-
return
|
|
2634
|
-
}), $ =
|
|
2630
|
+
const D = I.some((R) => {
|
|
2631
|
+
const Y = G.get(R.value);
|
|
2632
|
+
return Y && Y.length > 1;
|
|
2633
|
+
}), $ = D ? [
|
|
2635
2634
|
...new Set(
|
|
2636
|
-
I.flatMap((R) =>
|
|
2635
|
+
I.flatMap((R) => G.get(R.value) ?? []).filter((R) => R !== "manage")
|
|
2637
2636
|
)
|
|
2638
2637
|
] : [], q = /* @__PURE__ */ new Map();
|
|
2639
2638
|
for (const R of s.modelValue)
|
|
2640
|
-
I.some((
|
|
2641
|
-
const C =
|
|
2642
|
-
(R) => I.some((
|
|
2643
|
-
).map((R) => R.subject) : s.modelValue.filter((R) => I.some((
|
|
2644
|
-
var
|
|
2645
|
-
return (
|
|
2646
|
-
}),
|
|
2639
|
+
I.some((Y) => Y.value === R.subject) && !R.inverted && q.set(R.subject, new Set(R.actions));
|
|
2640
|
+
const C = D ? s.modelValue.filter(
|
|
2641
|
+
(R) => I.some((Y) => Y.value === R.subject) && !R.inverted && R.actions.includes("manage")
|
|
2642
|
+
).map((R) => R.subject) : s.modelValue.filter((R) => I.some((Y) => Y.value === R.subject) && !R.inverted).map((R) => R.subject), O = I.find((R) => {
|
|
2643
|
+
var Y;
|
|
2644
|
+
return (Y = _.get(R.value)) == null ? void 0 : Y.isCategoryCover;
|
|
2645
|
+
}), w = (O == null ? void 0 : O.value) ?? null, H = w ? q.get(w) ?? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set(), j = H.has("manage");
|
|
2647
2646
|
return {
|
|
2648
2647
|
category: g,
|
|
2649
2648
|
options: I,
|
|
2650
2649
|
selectedSubjects: C,
|
|
2651
|
-
isMultiAction:
|
|
2650
|
+
isMultiAction: D,
|
|
2652
2651
|
actionColumns: $,
|
|
2653
|
-
permissionActionsMap:
|
|
2652
|
+
permissionActionsMap: G,
|
|
2654
2653
|
selectedActionsMap: q,
|
|
2655
|
-
coverSubject:
|
|
2656
|
-
coverSelectedActions:
|
|
2657
|
-
coverCoversAll:
|
|
2654
|
+
coverSubject: w,
|
|
2655
|
+
coverSelectedActions: H,
|
|
2656
|
+
coverCoversAll: j
|
|
2658
2657
|
};
|
|
2659
2658
|
});
|
|
2660
2659
|
});
|
|
2661
2660
|
function u(p, _) {
|
|
2662
2661
|
var g;
|
|
2663
|
-
const
|
|
2662
|
+
const U = ((g = m.value.find((I) => I.category === p)) == null ? void 0 : g.options) ?? [];
|
|
2664
2663
|
a("update:model-value", [
|
|
2665
|
-
...s.modelValue.filter((I) => !
|
|
2664
|
+
...s.modelValue.filter((I) => !U.some((G) => G.value === I.subject)),
|
|
2666
2665
|
...l.value.filter((I) => _.includes(I.subject)).map(
|
|
2667
|
-
({ category: I, showByFeatureFlag:
|
|
2666
|
+
({ category: I, showByFeatureFlag: G, isCategoryCover: D, ...$ }) => $
|
|
2668
2667
|
)
|
|
2669
2668
|
]);
|
|
2670
2669
|
}
|
|
2671
|
-
function
|
|
2670
|
+
function b(p) {
|
|
2672
2671
|
return p.options.length > 0 && p.options.every((_) => p.selectedSubjects.includes(_.value));
|
|
2673
2672
|
}
|
|
2674
|
-
function
|
|
2673
|
+
function y(p) {
|
|
2675
2674
|
const _ = s.modelValue.filter(
|
|
2676
|
-
(
|
|
2675
|
+
(U) => !p.options.some((g) => g.value === U.subject)
|
|
2677
2676
|
);
|
|
2678
|
-
if (
|
|
2677
|
+
if (b(p))
|
|
2679
2678
|
a("update:model-value", _);
|
|
2680
2679
|
else {
|
|
2681
|
-
const
|
|
2682
|
-
({ category: g, showByFeatureFlag: I, isCategoryCover:
|
|
2680
|
+
const U = l.value.filter((g) => p.options.some((I) => I.value === g.subject)).map(
|
|
2681
|
+
({ category: g, showByFeatureFlag: I, isCategoryCover: G, ...D }) => D
|
|
2683
2682
|
);
|
|
2684
|
-
a("update:model-value", [..._, ...
|
|
2683
|
+
a("update:model-value", [..._, ...U]);
|
|
2685
2684
|
}
|
|
2686
2685
|
}
|
|
2687
|
-
function
|
|
2688
|
-
const
|
|
2689
|
-
return
|
|
2686
|
+
function L(p, _) {
|
|
2687
|
+
const U = p.selectedActionsMap.get(_);
|
|
2688
|
+
return U ? U.has("manage") : !1;
|
|
2690
2689
|
}
|
|
2691
2690
|
function N(p, _) {
|
|
2692
|
-
const
|
|
2693
|
-
if (!
|
|
2694
|
-
const g =
|
|
2691
|
+
const U = p.permissionActionsMap.get(_);
|
|
2692
|
+
if (!U) return !1;
|
|
2693
|
+
const g = U.filter((D) => D !== "manage");
|
|
2695
2694
|
if (g.length === 0) return !1;
|
|
2696
2695
|
const I = p.selectedActionsMap.get(_);
|
|
2697
2696
|
if (!I) return !1;
|
|
2698
|
-
const
|
|
2699
|
-
return
|
|
2697
|
+
const G = g.filter((D) => I.has(D));
|
|
2698
|
+
return G.length > 0 && G.length < g.length;
|
|
2700
2699
|
}
|
|
2701
|
-
function P(p, _,
|
|
2702
|
-
if (
|
|
2700
|
+
function P(p, _, U) {
|
|
2701
|
+
if (U) {
|
|
2703
2702
|
const g = l.value.find((C) => C.subject === _);
|
|
2704
2703
|
if (!g) return;
|
|
2705
|
-
const { category: I, showByFeatureFlag:
|
|
2704
|
+
const { category: I, showByFeatureFlag: G, isCategoryCover: D, ...$ } = g, q = s.modelValue.filter((C) => C.subject !== _);
|
|
2706
2705
|
q.push($), a("update:model-value", q);
|
|
2707
2706
|
} else
|
|
2708
2707
|
a(
|
|
@@ -2711,55 +2710,55 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2711
2710
|
);
|
|
2712
2711
|
}
|
|
2713
2712
|
function V(p, _) {
|
|
2714
|
-
const
|
|
2715
|
-
return
|
|
2713
|
+
const U = p.permissionActionsMap.get(_);
|
|
2714
|
+
return U ? U.some((g) => g !== "manage") : !1;
|
|
2716
2715
|
}
|
|
2717
|
-
function
|
|
2716
|
+
function T(p, _, U) {
|
|
2718
2717
|
const g = p.selectedActionsMap.get(_);
|
|
2719
|
-
return g ? g.has(
|
|
2718
|
+
return g ? g.has(U) : !1;
|
|
2720
2719
|
}
|
|
2721
2720
|
function A(p, _) {
|
|
2722
2721
|
return !p.coverSubject || _ === p.coverSubject ? !1 : p.coverCoversAll;
|
|
2723
2722
|
}
|
|
2724
|
-
function i(p, _,
|
|
2725
|
-
return !p.coverSubject || _ === p.coverSubject ? !1 : p.coverCoversAll ? !0 : p.coverSelectedActions.has(
|
|
2723
|
+
function i(p, _, U) {
|
|
2724
|
+
return !p.coverSubject || _ === p.coverSubject ? !1 : p.coverCoversAll ? !0 : p.coverSelectedActions.has(U);
|
|
2726
2725
|
}
|
|
2727
|
-
function d(p, _,
|
|
2726
|
+
function d(p, _, U) {
|
|
2728
2727
|
const g = p.permissionActionsMap.get(_);
|
|
2729
|
-
return g ? g.includes(
|
|
2728
|
+
return g ? g.includes(U) : !1;
|
|
2730
2729
|
}
|
|
2731
|
-
function
|
|
2732
|
-
const g = [...s.modelValue], I = g.findIndex((
|
|
2733
|
-
if (
|
|
2730
|
+
function k(p, _, U) {
|
|
2731
|
+
const g = [...s.modelValue], I = g.findIndex((D) => D.subject === p && !D.inverted);
|
|
2732
|
+
if (U)
|
|
2734
2733
|
if (I >= 0) {
|
|
2735
|
-
const
|
|
2736
|
-
$.add(_),
|
|
2734
|
+
const D = { ...g[I] }, $ = new Set(D.actions);
|
|
2735
|
+
$.add(_), D.actions = Array.from($), g[I] = D;
|
|
2737
2736
|
} else {
|
|
2738
|
-
const
|
|
2739
|
-
if (!
|
|
2737
|
+
const D = l.value.find((w) => w.subject === p);
|
|
2738
|
+
if (!D) return;
|
|
2740
2739
|
const {
|
|
2741
2740
|
category: $,
|
|
2742
2741
|
showByFeatureFlag: q,
|
|
2743
2742
|
isCategoryCover: C,
|
|
2744
|
-
...
|
|
2745
|
-
} =
|
|
2746
|
-
g.push({ ...
|
|
2743
|
+
...O
|
|
2744
|
+
} = D;
|
|
2745
|
+
g.push({ ...O, actions: [_] });
|
|
2747
2746
|
}
|
|
2748
2747
|
else if (I >= 0) {
|
|
2749
|
-
const
|
|
2750
|
-
$.length === 0 ? g.splice(I, 1) : (
|
|
2748
|
+
const D = { ...g[I] }, $ = D.actions.filter((q) => q !== _);
|
|
2749
|
+
$.length === 0 ? g.splice(I, 1) : (D.actions = $, g[I] = D);
|
|
2751
2750
|
}
|
|
2752
|
-
const
|
|
2753
|
-
if (
|
|
2754
|
-
const $ =
|
|
2751
|
+
const G = l.value.find((D) => D.subject === p);
|
|
2752
|
+
if (G) {
|
|
2753
|
+
const $ = G.actions.filter((q) => q !== "manage");
|
|
2755
2754
|
if ($.length > 0) {
|
|
2756
2755
|
const q = g.findIndex((C) => C.subject === p && !C.inverted);
|
|
2757
2756
|
if (q >= 0) {
|
|
2758
|
-
const C = new Set(g[q].actions),
|
|
2759
|
-
|
|
2757
|
+
const C = new Set(g[q].actions), O = $.every((w) => C.has(w));
|
|
2758
|
+
O && !C.has("manage") ? (C.add("manage"), g[q] = {
|
|
2760
2759
|
...g[q],
|
|
2761
2760
|
actions: Array.from(C)
|
|
2762
|
-
}) : !
|
|
2761
|
+
}) : !O && C.has("manage") && (C.delete("manage"), C.size === 0 ? g.splice(q, 1) : g[q] = {
|
|
2763
2762
|
...g[q],
|
|
2764
2763
|
actions: Array.from(C)
|
|
2765
2764
|
});
|
|
@@ -2768,79 +2767,79 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2768
2767
|
}
|
|
2769
2768
|
a("update:model-value", g);
|
|
2770
2769
|
}
|
|
2771
|
-
const
|
|
2770
|
+
const h = {
|
|
2772
2771
|
read: "View",
|
|
2773
2772
|
create: "Duplicate",
|
|
2774
2773
|
update: "Edit"
|
|
2775
2774
|
};
|
|
2776
2775
|
function S(p) {
|
|
2777
|
-
return
|
|
2776
|
+
return h[p] ?? p.charAt(0).toUpperCase() + p.slice(1);
|
|
2778
2777
|
}
|
|
2779
2778
|
return (p, _) => {
|
|
2780
|
-
const
|
|
2779
|
+
const U = Ze("FmCheckbox");
|
|
2781
2780
|
return x(), te("div", gr, [
|
|
2782
|
-
(x(!0), te(
|
|
2781
|
+
(x(!0), te(ke, null, _e(m.value, (g) => (x(), te(ke, {
|
|
2783
2782
|
key: g.category
|
|
2784
2783
|
}, [
|
|
2785
2784
|
g.isMultiAction ? (x(), te("div", vr, [
|
|
2786
2785
|
ne("div", Er, [
|
|
2787
2786
|
ne("div", Ir, Ae(g.category), 1),
|
|
2788
2787
|
ne("div", Nr, [
|
|
2789
|
-
(x(!0), te(
|
|
2788
|
+
(x(!0), te(ke, null, _e(g.actionColumns, (I) => (x(), te("span", {
|
|
2790
2789
|
key: I,
|
|
2791
2790
|
class: "w-[56px] text-center fm-typo-en-body-sm-400 text-fm-color-neutral-gray-600"
|
|
2792
2791
|
}, Ae(S(I)), 1))), 128))
|
|
2793
2792
|
])
|
|
2794
2793
|
]),
|
|
2795
|
-
ne("div",
|
|
2796
|
-
ne("div",
|
|
2797
|
-
de(
|
|
2798
|
-
"model-value":
|
|
2794
|
+
ne("div", kr, [
|
|
2795
|
+
ne("div", yr, [
|
|
2796
|
+
de(U, {
|
|
2797
|
+
"model-value": b(g),
|
|
2799
2798
|
value: !0,
|
|
2800
2799
|
disabled: e.disable,
|
|
2801
2800
|
label: "All",
|
|
2802
2801
|
size: "sm",
|
|
2803
2802
|
dense: "",
|
|
2804
|
-
"onUpdate:modelValue": (I) =>
|
|
2803
|
+
"onUpdate:modelValue": (I) => y(g)
|
|
2805
2804
|
}, null, 8, ["model-value", "disabled", "onUpdate:modelValue"])
|
|
2806
2805
|
]),
|
|
2807
|
-
(x(!0), te(
|
|
2806
|
+
(x(!0), te(ke, null, _e(g.options, (I, G) => (x(), te("div", {
|
|
2808
2807
|
key: I.value,
|
|
2809
|
-
class: qe(
|
|
2808
|
+
class: qe(G < g.options.length - 1 ? "q-mb-xs" : "")
|
|
2810
2809
|
}, [
|
|
2811
|
-
ne("div",
|
|
2812
|
-
ne("div",
|
|
2813
|
-
de(
|
|
2814
|
-
"model-value":
|
|
2810
|
+
ne("div", Tr, [
|
|
2811
|
+
ne("div", Lr, [
|
|
2812
|
+
de(U, {
|
|
2813
|
+
"model-value": L(g, I.value) || A(g, I.value),
|
|
2815
2814
|
value: I.value,
|
|
2816
2815
|
disabled: e.disable || A(g, I.value),
|
|
2817
2816
|
indeterminate: N(g, I.value),
|
|
2818
2817
|
size: "sm",
|
|
2819
2818
|
class: "shrink-0",
|
|
2820
|
-
"onUpdate:modelValue": (
|
|
2819
|
+
"onUpdate:modelValue": (D) => P(g, I.value, D)
|
|
2821
2820
|
}, null, 8, ["model-value", "value", "disabled", "indeterminate", "onUpdate:modelValue"]),
|
|
2822
2821
|
ne("span", {
|
|
2823
2822
|
class: "block truncate cursor-pointer",
|
|
2824
2823
|
title: I.label,
|
|
2825
|
-
onClick: (
|
|
2826
|
-
}, Ae(I.label), 9,
|
|
2827
|
-
|
|
2824
|
+
onClick: (D) => !e.disable && !A(g, I.value) && P(g, I.value, !L(g, I.value))
|
|
2825
|
+
}, Ae(I.label), 9, Or),
|
|
2826
|
+
he(p.$slots, `checkbox-${I.value}-append`, { option: I })
|
|
2828
2827
|
]),
|
|
2829
2828
|
V(g, I.value) ? (x(), te("div", Rr, [
|
|
2830
|
-
(x(!0), te(
|
|
2831
|
-
key:
|
|
2829
|
+
(x(!0), te(ke, null, _e(g.actionColumns, (D) => (x(), te("div", {
|
|
2830
|
+
key: D,
|
|
2832
2831
|
class: "w-[56px] flex justify-center"
|
|
2833
2832
|
}, [
|
|
2834
|
-
d(g, I.value,
|
|
2833
|
+
d(g, I.value, D) ? (x(), Se(U, {
|
|
2835
2834
|
key: 0,
|
|
2836
|
-
"model-value":
|
|
2837
|
-
value:
|
|
2838
|
-
disabled: e.disable || i(g, I.value,
|
|
2835
|
+
"model-value": T(g, I.value, D) || i(g, I.value, D),
|
|
2836
|
+
value: D,
|
|
2837
|
+
disabled: e.disable || i(g, I.value, D),
|
|
2839
2838
|
size: "sm",
|
|
2840
|
-
"onUpdate:modelValue": ($) =>
|
|
2841
|
-
}, null, 8, ["model-value", "value", "disabled", "onUpdate:modelValue"])) :
|
|
2839
|
+
"onUpdate:modelValue": ($) => k(I.value, D, $)
|
|
2840
|
+
}, null, 8, ["model-value", "value", "disabled", "onUpdate:modelValue"])) : Le("", !0)
|
|
2842
2841
|
]))), 128))
|
|
2843
|
-
])) :
|
|
2842
|
+
])) : Le("", !0)
|
|
2844
2843
|
])
|
|
2845
2844
|
], 2))), 128))
|
|
2846
2845
|
])
|
|
@@ -2854,8 +2853,8 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2854
2853
|
}, Fe({ _: 2 }, [
|
|
2855
2854
|
_e(g.options, (I) => ({
|
|
2856
2855
|
name: `checkbox-${I.value}-append`,
|
|
2857
|
-
fn: pe(({ option:
|
|
2858
|
-
|
|
2856
|
+
fn: pe(({ option: G }) => [
|
|
2857
|
+
he(p.$slots, `checkbox-${I.value}-append`, { option: G })
|
|
2859
2858
|
])
|
|
2860
2859
|
}))
|
|
2861
2860
|
]), 1032, ["model-value", "options", "disable", "title", "onUpdate:modelValue"]))
|
|
@@ -2863,7 +2862,7 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2863
2862
|
]);
|
|
2864
2863
|
};
|
|
2865
2864
|
}
|
|
2866
|
-
}), Ar = { class: "flex items-center" }, Sr = { class: "ml-auto" },
|
|
2865
|
+
}), Ar = { class: "flex items-center" }, Sr = { class: "ml-auto" }, Dr = /* @__PURE__ */ Ie({
|
|
2867
2866
|
__name: "CollapsibleWrapper",
|
|
2868
2867
|
props: {
|
|
2869
2868
|
title: { default: "" },
|
|
@@ -2882,16 +2881,16 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2882
2881
|
await zn(), s.value && (a = new ResizeObserver(() => {
|
|
2883
2882
|
m();
|
|
2884
2883
|
}), a.observe(s.value));
|
|
2885
|
-
}),
|
|
2884
|
+
}), On(() => {
|
|
2886
2885
|
a == null || a.disconnect();
|
|
2887
|
-
}), (u,
|
|
2888
|
-
const
|
|
2889
|
-
return x(), te(
|
|
2886
|
+
}), (u, b) => {
|
|
2887
|
+
const y = Ze("FmButton");
|
|
2888
|
+
return x(), te(ke, null, [
|
|
2890
2889
|
ne("div", { onClick: c }, [
|
|
2891
2890
|
ne("div", Ar, [
|
|
2892
|
-
|
|
2891
|
+
he(u.$slots, "title"),
|
|
2893
2892
|
ne("div", Sr, [
|
|
2894
|
-
de(
|
|
2893
|
+
de(y, {
|
|
2895
2894
|
icon: n.value ? "keyboard_arrow_down" : "keyboard_arrow_up",
|
|
2896
2895
|
"text-color": "neutral-gray-400",
|
|
2897
2896
|
variant: "tertiary",
|
|
@@ -2906,12 +2905,12 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2906
2905
|
class: "transition-all duration-300 ease-in-out overflow-hidden",
|
|
2907
2906
|
style: ct({ maxHeight: n.value ? "0" : l.value + "px" })
|
|
2908
2907
|
}, [
|
|
2909
|
-
|
|
2908
|
+
he(u.$slots, "default")
|
|
2910
2909
|
], 4)
|
|
2911
2910
|
], 64);
|
|
2912
2911
|
};
|
|
2913
2912
|
}
|
|
2914
|
-
}),
|
|
2913
|
+
}), wr = { class: "fm-typo-en-title-sm-600" }, Ct = "includedFuture", Ln = /* @__PURE__ */ Ie({
|
|
2915
2914
|
__name: "ConditionPermission",
|
|
2916
2915
|
props: {
|
|
2917
2916
|
modelValue: {
|
|
@@ -2941,28 +2940,28 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2941
2940
|
disable: !!n.modelValue && n.options.length > n.modelValue.length
|
|
2942
2941
|
},
|
|
2943
2942
|
...n.options.filter(
|
|
2944
|
-
(
|
|
2943
|
+
(b) => b.label.toLocaleLowerCase().includes(u.value.toLocaleLowerCase())
|
|
2945
2944
|
)
|
|
2946
|
-
]), c = z(() => n.modelValue ? n.modelValue : [Ct, ...n.options.map((
|
|
2947
|
-
function m(
|
|
2948
|
-
const
|
|
2949
|
-
s("update:model-value",
|
|
2945
|
+
]), c = z(() => n.modelValue ? n.modelValue : [Ct, ...n.options.map((b) => b.value)]);
|
|
2946
|
+
function m(b) {
|
|
2947
|
+
const y = b.length === a.value.length;
|
|
2948
|
+
s("update:model-value", y ? null : b.filter((L) => L !== Ct));
|
|
2950
2949
|
}
|
|
2951
2950
|
const u = Ve("");
|
|
2952
|
-
return (
|
|
2953
|
-
const
|
|
2954
|
-
return x(), Se(
|
|
2951
|
+
return (b, y) => {
|
|
2952
|
+
const L = Ze("fm-search");
|
|
2953
|
+
return x(), Se(Dr, null, {
|
|
2955
2954
|
title: pe(() => [
|
|
2956
|
-
ne("p",
|
|
2955
|
+
ne("p", wr, Ae(ye(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
2957
2956
|
]),
|
|
2958
2957
|
default: pe(() => [
|
|
2959
|
-
e.options.length > 1 ? (x(), Se(
|
|
2958
|
+
e.options.length > 1 ? (x(), Se(L, {
|
|
2960
2959
|
key: 0,
|
|
2961
2960
|
modelValue: u.value,
|
|
2962
|
-
"onUpdate:modelValue":
|
|
2961
|
+
"onUpdate:modelValue": y[0] || (y[0] = (N) => u.value = N),
|
|
2963
2962
|
class: "mt-16",
|
|
2964
|
-
placeholder:
|
|
2965
|
-
}, null, 8, ["modelValue", "placeholder"])) :
|
|
2963
|
+
placeholder: ye(l)("team.memberForm.permissions.search", { context: e.context })
|
|
2964
|
+
}, null, 8, ["modelValue", "placeholder"])) : Le("", !0),
|
|
2966
2965
|
de(zt, {
|
|
2967
2966
|
"model-value": c.value,
|
|
2968
2967
|
options: a.value,
|
|
@@ -2977,7 +2976,7 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
2977
2976
|
_e(a.value, (N) => ({
|
|
2978
2977
|
name: `checkbox-${N.value}-append`,
|
|
2979
2978
|
fn: pe(({ option: P }) => [
|
|
2980
|
-
|
|
2979
|
+
he(b.$slots, `checkbox-${N.value}-append`, { option: P })
|
|
2981
2980
|
])
|
|
2982
2981
|
}))
|
|
2983
2982
|
]), 1032, ["model-value", "options", "disable"])
|
|
@@ -3016,39 +3015,39 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
3016
3015
|
value: At,
|
|
3017
3016
|
disable: !!n.modelValue && n.roles.length > n.modelValue.length
|
|
3018
3017
|
},
|
|
3019
|
-
...n.roles.map((
|
|
3020
|
-
label:
|
|
3021
|
-
value:
|
|
3022
|
-
disable: !!u &&
|
|
3018
|
+
...n.roles.map((b) => ({
|
|
3019
|
+
label: b.name,
|
|
3020
|
+
value: b._id,
|
|
3021
|
+
disable: !!u && b.restaurants.every(({ id: y }) => !u.includes(y))
|
|
3023
3022
|
}))
|
|
3024
3023
|
];
|
|
3025
3024
|
}), c = z(() => n.modelValue ? n.modelValue : [At, ...n.roles.map((u) => u._id)]);
|
|
3026
3025
|
function m(u) {
|
|
3027
|
-
const
|
|
3028
|
-
s("update:model-value",
|
|
3026
|
+
const b = u.length === a.value.length;
|
|
3027
|
+
s("update:model-value", b ? null : u.filter((y) => y !== At));
|
|
3029
3028
|
}
|
|
3030
|
-
return (u,
|
|
3029
|
+
return (u, b) => (x(), Se(zt, {
|
|
3031
3030
|
"model-value": c.value,
|
|
3032
3031
|
options: a.value,
|
|
3033
3032
|
"show-intermediate": !1,
|
|
3034
3033
|
"show-all-toggle": !1,
|
|
3035
3034
|
disable: e.disable,
|
|
3036
|
-
title:
|
|
3035
|
+
title: ye(l)("team.memberForm.permissions.roles"),
|
|
3037
3036
|
"onUpdate:modelValue": m
|
|
3038
3037
|
}, Fe({ _: 2 }, [
|
|
3039
|
-
_e(a.value, (
|
|
3040
|
-
name: `checkbox-${
|
|
3041
|
-
fn: pe(({ option:
|
|
3042
|
-
|
|
3038
|
+
_e(a.value, (y) => ({
|
|
3039
|
+
name: `checkbox-${y.value}-append`,
|
|
3040
|
+
fn: pe(({ option: L }) => [
|
|
3041
|
+
he(u.$slots, `checkbox-${y.value}-append`, { option: L })
|
|
3043
3042
|
])
|
|
3044
3043
|
}))
|
|
3045
3044
|
]), 1032, ["model-value", "options", "disable", "title"]));
|
|
3046
3045
|
}
|
|
3047
3046
|
}), Pr = {
|
|
3048
3047
|
async readWarehouses() {
|
|
3049
|
-
return
|
|
3048
|
+
return es(await ts().get("/warehouses"));
|
|
3050
3049
|
}
|
|
3051
|
-
}, Fr = { class: "flex flex-col gap-32" },
|
|
3050
|
+
}, Fr = { class: "flex flex-col gap-32" }, Ur = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Vr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, jr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Wr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Jr = /* @__PURE__ */ Ie({
|
|
3052
3051
|
__name: "PortalPermissionEditor",
|
|
3053
3052
|
props: /* @__PURE__ */ Qt({
|
|
3054
3053
|
disable: {
|
|
@@ -3065,54 +3064,54 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
3065
3064
|
}),
|
|
3066
3065
|
emits: /* @__PURE__ */ Qt(["permissionChanged"], ["update:modelValue"]),
|
|
3067
3066
|
setup(e, { emit: t }) {
|
|
3068
|
-
const n = Qn(e, "modelValue"), s = e, l = t, { t: a } = _t(), { fetchCustomReportPermissions: c, customReportPermissions: m } =
|
|
3067
|
+
const n = Qn(e, "modelValue"), s = e, l = t, { t: a } = _t(), { fetchCustomReportPermissions: c, customReportPermissions: m } = ns();
|
|
3069
3068
|
function u(C) {
|
|
3070
|
-
return
|
|
3071
|
-
}
|
|
3072
|
-
const
|
|
3073
|
-
const C = [...
|
|
3074
|
-
return
|
|
3075
|
-
s.inheritPermissions.map((
|
|
3076
|
-
...
|
|
3077
|
-
permissions:
|
|
3069
|
+
return Dt.find((O) => O.subject === C) ?? m.value.find((O) => O.subject === C);
|
|
3070
|
+
}
|
|
3071
|
+
const b = z(() => {
|
|
3072
|
+
const C = [...Dt, ...m.value].filter((w) => !P.includes(w.subject)).map((w) => w.subject);
|
|
3073
|
+
return ss(
|
|
3074
|
+
s.inheritPermissions.map((w) => ({
|
|
3075
|
+
...w,
|
|
3076
|
+
permissions: w.permissions.filter((H) => C.includes(H.subject))
|
|
3078
3077
|
}))
|
|
3079
|
-
).map((
|
|
3080
|
-
id:
|
|
3081
|
-
setNames:
|
|
3078
|
+
).map((w) => ({
|
|
3079
|
+
id: w.subject,
|
|
3080
|
+
setNames: w.setNames
|
|
3082
3081
|
}));
|
|
3083
|
-
}),
|
|
3084
|
-
const C = s.inheritPermissions.map((
|
|
3085
|
-
...
|
|
3086
|
-
permissions:
|
|
3087
|
-
(
|
|
3082
|
+
}), y = z(() => {
|
|
3083
|
+
const C = s.inheritPermissions.map((O) => ({
|
|
3084
|
+
...O,
|
|
3085
|
+
permissions: O.permissions.filter(
|
|
3086
|
+
(w) => w.subject === ie.Subject.Business.inventory_stock
|
|
3088
3087
|
)
|
|
3089
3088
|
}));
|
|
3090
|
-
return
|
|
3089
|
+
return kt(
|
|
3091
3090
|
C,
|
|
3092
3091
|
"warehouseId",
|
|
3093
|
-
|
|
3092
|
+
T.value.map((O) => O._id)
|
|
3094
3093
|
);
|
|
3095
|
-
}),
|
|
3096
|
-
const C = s.inheritPermissions.map((
|
|
3097
|
-
...
|
|
3098
|
-
permissions:
|
|
3099
|
-
(
|
|
3094
|
+
}), L = z(() => {
|
|
3095
|
+
const C = s.inheritPermissions.map((O) => ({
|
|
3096
|
+
...O,
|
|
3097
|
+
permissions: O.permissions.filter(
|
|
3098
|
+
(w) => w.subject === ie.Subject.Restaurant.restaurant
|
|
3100
3099
|
)
|
|
3101
3100
|
}));
|
|
3102
|
-
return
|
|
3101
|
+
return kt(
|
|
3103
3102
|
C,
|
|
3104
3103
|
"restaurantId",
|
|
3105
|
-
|
|
3104
|
+
k.value.map((O) => O._id)
|
|
3106
3105
|
);
|
|
3107
3106
|
}), N = z(() => {
|
|
3108
|
-
const C = s.inheritPermissions.map((
|
|
3109
|
-
...
|
|
3110
|
-
permissions:
|
|
3107
|
+
const C = s.inheritPermissions.map((O) => ({
|
|
3108
|
+
...O,
|
|
3109
|
+
permissions: O.permissions.filter((w) => w.subject === ie.Subject.Business.role)
|
|
3111
3110
|
}));
|
|
3112
|
-
return
|
|
3111
|
+
return kt(
|
|
3113
3112
|
C,
|
|
3114
3113
|
"roleId",
|
|
3115
|
-
|
|
3114
|
+
h.value.map((O) => O._id)
|
|
3116
3115
|
);
|
|
3117
3116
|
}), P = [
|
|
3118
3117
|
ie.Subject.Business.restaurant,
|
|
@@ -3120,165 +3119,165 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
3120
3119
|
ie.Subject.Restaurant.restaurant,
|
|
3121
3120
|
ie.Subject.Business.inventory_stock
|
|
3122
3121
|
], V = z(() => {
|
|
3123
|
-
var
|
|
3124
|
-
const C = (
|
|
3125
|
-
(
|
|
3122
|
+
var O;
|
|
3123
|
+
const C = (O = n.value) == null ? void 0 : O.find(
|
|
3124
|
+
(w) => w.subject === ie.Subject.Business.inventory_stock
|
|
3126
3125
|
);
|
|
3127
3126
|
return C ? C.conditions ? JSON.parse(C.conditions).warehouseId.$in : null : [];
|
|
3128
|
-
}),
|
|
3127
|
+
}), T = Ve([]), A = z(() => T.value.map((C) => ({
|
|
3129
3128
|
label: C.profile.name,
|
|
3130
3129
|
value: C._id
|
|
3131
3130
|
})));
|
|
3132
3131
|
function i(C) {
|
|
3133
|
-
const
|
|
3134
|
-
n.value =
|
|
3132
|
+
const O = d(n.value, C);
|
|
3133
|
+
n.value = O;
|
|
3135
3134
|
}
|
|
3136
|
-
function d(C,
|
|
3137
|
-
let
|
|
3138
|
-
C.filter((
|
|
3135
|
+
function d(C, O) {
|
|
3136
|
+
let w = ut(
|
|
3137
|
+
C.filter((H) => H.subject !== ie.Subject.Business.inventory_stock)
|
|
3139
3138
|
);
|
|
3140
|
-
if (!
|
|
3141
|
-
const
|
|
3139
|
+
if (!O || O.length > 0) {
|
|
3140
|
+
const H = {
|
|
3142
3141
|
actions: [ie.Action.manage],
|
|
3143
3142
|
subject: ie.Subject.Business.inventory_stock
|
|
3144
3143
|
};
|
|
3145
|
-
|
|
3144
|
+
O && (H.conditions = JSON.stringify({ warehouseId: { $in: O } })), w.push(H);
|
|
3146
3145
|
}
|
|
3147
|
-
return
|
|
3146
|
+
return w;
|
|
3148
3147
|
}
|
|
3149
|
-
const { restaurants:
|
|
3148
|
+
const { restaurants: k } = qn(), h = cs().roles, S = z(() => k.value.map((C) => ({
|
|
3150
3149
|
label: `${C.profile.code ? C.profile.code + "-" : ""}${C.profile.name}`,
|
|
3151
3150
|
value: C._id
|
|
3152
|
-
}))), p = z(() =>
|
|
3153
|
-
function
|
|
3154
|
-
const
|
|
3155
|
-
n.value =
|
|
3156
|
-
}
|
|
3157
|
-
const g = z(() =>
|
|
3158
|
-
function I(C,
|
|
3159
|
-
var
|
|
3160
|
-
let
|
|
3151
|
+
}))), p = z(() => k.value.reduce((C, O) => (C[O._id] = h.value.filter((w) => w.restaurants.some((H) => H.id === O._id)).map((w) => w._id), C), {})), _ = z(() => as(n.value));
|
|
3152
|
+
function U(C) {
|
|
3153
|
+
const O = I(n.value, C);
|
|
3154
|
+
n.value = O;
|
|
3155
|
+
}
|
|
3156
|
+
const g = z(() => rs(n.value));
|
|
3157
|
+
function I(C, O) {
|
|
3158
|
+
var H;
|
|
3159
|
+
let w = ut(
|
|
3161
3160
|
C.filter(
|
|
3162
|
-
(
|
|
3161
|
+
(j) => j.subject !== ie.Subject.Business.restaurant && j.subject !== ie.Subject.Restaurant.restaurant
|
|
3163
3162
|
)
|
|
3164
3163
|
);
|
|
3165
|
-
if (!
|
|
3164
|
+
if (!O || O.length > 0) {
|
|
3166
3165
|
const {
|
|
3167
|
-
category:
|
|
3166
|
+
category: j,
|
|
3168
3167
|
showByFeatureFlag: R,
|
|
3169
|
-
...
|
|
3168
|
+
...Y
|
|
3170
3169
|
} = os.restaurant;
|
|
3171
|
-
|
|
3170
|
+
w.push(Y);
|
|
3172
3171
|
const Q = {
|
|
3173
3172
|
actions: [ie.Action.manage],
|
|
3174
3173
|
subject: ie.Subject.Restaurant.restaurant
|
|
3175
3174
|
};
|
|
3176
|
-
|
|
3175
|
+
O && (Q.conditions = JSON.stringify({ restaurantId: { $in: O } })), w.push(Q);
|
|
3177
3176
|
}
|
|
3178
|
-
if (
|
|
3179
|
-
const
|
|
3180
|
-
...new Set(
|
|
3181
|
-
], R =
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
(
|
|
3177
|
+
if (O) {
|
|
3178
|
+
const j = [
|
|
3179
|
+
...new Set(O.map((Y) => p.value[Y]).flatMap((Y) => Y))
|
|
3180
|
+
], R = h.value.map((Y) => Y._id);
|
|
3181
|
+
j.length !== R.length && (w = D(
|
|
3182
|
+
w,
|
|
3183
|
+
(H = g.value || R) == null ? void 0 : H.filter((Y) => j.includes(Y))
|
|
3185
3184
|
));
|
|
3186
3185
|
}
|
|
3187
|
-
return
|
|
3186
|
+
return w;
|
|
3188
3187
|
}
|
|
3189
|
-
function
|
|
3190
|
-
const
|
|
3191
|
-
n.value =
|
|
3188
|
+
function G(C) {
|
|
3189
|
+
const O = D(n.value, C);
|
|
3190
|
+
n.value = O;
|
|
3192
3191
|
}
|
|
3193
|
-
function
|
|
3194
|
-
let
|
|
3195
|
-
C.filter((
|
|
3192
|
+
function D(C, O) {
|
|
3193
|
+
let w = ut(
|
|
3194
|
+
C.filter((H) => H.subject !== ie.Subject.Business.role)
|
|
3196
3195
|
);
|
|
3197
|
-
if (
|
|
3198
|
-
const
|
|
3196
|
+
if (O && O.length > 0) {
|
|
3197
|
+
const H = {
|
|
3199
3198
|
actions: [ie.Action.manage],
|
|
3200
3199
|
subject: ie.Subject.Business.role,
|
|
3201
|
-
conditions: JSON.stringify({ roleId: { $in:
|
|
3200
|
+
conditions: JSON.stringify({ roleId: { $in: O } })
|
|
3202
3201
|
};
|
|
3203
|
-
|
|
3202
|
+
w.push(H);
|
|
3204
3203
|
}
|
|
3205
|
-
return
|
|
3204
|
+
return w;
|
|
3206
3205
|
}
|
|
3207
3206
|
xt(async () => {
|
|
3208
3207
|
await Promise.all([
|
|
3209
|
-
Pr.readWarehouses().then((C) =>
|
|
3208
|
+
Pr.readWarehouses().then((C) => T.value = C),
|
|
3210
3209
|
c()
|
|
3211
3210
|
]);
|
|
3212
3211
|
});
|
|
3213
|
-
const $ = z(() =>
|
|
3212
|
+
const $ = z(() => yt(
|
|
3214
3213
|
n.value,
|
|
3215
|
-
|
|
3216
|
-
).map((
|
|
3217
|
-
if (
|
|
3218
|
-
const
|
|
3219
|
-
if (!
|
|
3220
|
-
const
|
|
3221
|
-
if (!
|
|
3222
|
-
const
|
|
3223
|
-
return
|
|
3214
|
+
Tt
|
|
3215
|
+
).map((O) => {
|
|
3216
|
+
if (O.inverted) return O;
|
|
3217
|
+
const w = O.actions;
|
|
3218
|
+
if (!w.includes("manage")) return O;
|
|
3219
|
+
const H = u(O.subject);
|
|
3220
|
+
if (!H) return O;
|
|
3221
|
+
const j = H.actions;
|
|
3222
|
+
return j.length <= 1 || j.filter((Y) => !w.includes(Y)).length === 0 ? O : { ...O, actions: [...j] };
|
|
3224
3223
|
}));
|
|
3225
3224
|
function q(C) {
|
|
3226
|
-
const
|
|
3225
|
+
const O = new Set(
|
|
3227
3226
|
$.value.filter((R) => !R.inverted).map((R) => R.subject)
|
|
3228
|
-
),
|
|
3227
|
+
), w = new Set(
|
|
3229
3228
|
C.filter((R) => !R.inverted).map((R) => R.subject)
|
|
3230
|
-
),
|
|
3229
|
+
), H = new Set(
|
|
3231
3230
|
n.value.filter((R) => !R.inverted).map((R) => R.subject)
|
|
3232
3231
|
);
|
|
3233
|
-
let
|
|
3234
|
-
for (const R of
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
).some((Q) => Q.subject === R && !Q.inverted)) && !
|
|
3239
|
-
for (const R of
|
|
3240
|
-
if (!
|
|
3241
|
-
const
|
|
3242
|
-
if (
|
|
3232
|
+
let j = [...n.value];
|
|
3233
|
+
for (const R of O)
|
|
3234
|
+
w.has(R) || (H.has(R) && (j = j.filter((Q) => Q.subject !== R)), (!H.has(R) || yt(
|
|
3235
|
+
j,
|
|
3236
|
+
Tt
|
|
3237
|
+
).some((Q) => Q.subject === R && !Q.inverted)) && !j.some((Q) => Q.subject === R && Q.inverted) && j.push({ subject: R, actions: ["manage"], inverted: !0 }));
|
|
3238
|
+
for (const R of w)
|
|
3239
|
+
if (!O.has(R)) {
|
|
3240
|
+
const Y = j.some((Q) => Q.subject === R && Q.inverted);
|
|
3241
|
+
if (j = j.filter((Q) => !(Q.subject === R && Q.inverted)), !Y && !H.has(R)) {
|
|
3243
3242
|
const Q = C.find(
|
|
3244
3243
|
(fe) => fe.subject === R && !fe.inverted
|
|
3245
3244
|
), ge = u(R);
|
|
3246
3245
|
if (ge && Q) {
|
|
3247
3246
|
const { category: fe, showByFeatureFlag: Me, ...ee } = ge;
|
|
3248
|
-
|
|
3247
|
+
j.push({ ...ee, actions: Q.actions });
|
|
3249
3248
|
}
|
|
3250
3249
|
}
|
|
3251
3250
|
}
|
|
3252
|
-
for (const R of
|
|
3253
|
-
if (!
|
|
3254
|
-
const
|
|
3251
|
+
for (const R of w) {
|
|
3252
|
+
if (!O.has(R)) continue;
|
|
3253
|
+
const Y = $.value.find(
|
|
3255
3254
|
(ee) => ee.subject === R && !ee.inverted
|
|
3256
3255
|
), Q = C.find((ee) => ee.subject === R && !ee.inverted);
|
|
3257
|
-
if (!
|
|
3258
|
-
const ge = new Set(
|
|
3256
|
+
if (!Y || !Q) continue;
|
|
3257
|
+
const ge = new Set(Y.actions), fe = new Set(Q.actions);
|
|
3259
3258
|
if (ge.size === fe.size && [...ge].every((ee) => fe.has(ee)))
|
|
3260
3259
|
continue;
|
|
3261
|
-
const Me =
|
|
3260
|
+
const Me = j.findIndex((ee) => ee.subject === R && !ee.inverted);
|
|
3262
3261
|
if (Me >= 0)
|
|
3263
|
-
|
|
3264
|
-
...
|
|
3262
|
+
j[Me] = {
|
|
3263
|
+
...j[Me],
|
|
3265
3264
|
actions: Array.from(fe)
|
|
3266
3265
|
};
|
|
3267
3266
|
else {
|
|
3268
3267
|
const ee = u(R);
|
|
3269
3268
|
if (ee) {
|
|
3270
3269
|
const { category: ve, showByFeatureFlag: $e, ...Je } = ee;
|
|
3271
|
-
|
|
3270
|
+
j.push({ ...Je, actions: Array.from(fe) });
|
|
3272
3271
|
}
|
|
3273
3272
|
}
|
|
3274
|
-
ge.has("manage") && !fe.has("manage") &&
|
|
3275
|
-
|
|
3276
|
-
|
|
3273
|
+
ge.has("manage") && !fe.has("manage") && yt(
|
|
3274
|
+
j,
|
|
3275
|
+
Tt
|
|
3277
3276
|
).some(
|
|
3278
3277
|
(ve) => ve.subject === R && !ve.inverted && ve.actions.includes("manage")
|
|
3279
|
-
) && !
|
|
3278
|
+
) && !j.some((ve) => ve.subject === R && ve.inverted) && j.push({ subject: R, actions: ["manage"], inverted: !0 }), !ge.has("manage") && fe.has("manage") && (j = j.filter((ee) => !(ee.subject === R && ee.inverted)));
|
|
3280
3279
|
}
|
|
3281
|
-
n.value =
|
|
3280
|
+
n.value = j;
|
|
3282
3281
|
}
|
|
3283
3282
|
return St(
|
|
3284
3283
|
n,
|
|
@@ -3286,63 +3285,63 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
3286
3285
|
l("permissionChanged", C);
|
|
3287
3286
|
},
|
|
3288
3287
|
{ deep: !0 }
|
|
3289
|
-
), (C,
|
|
3290
|
-
ne("div",
|
|
3288
|
+
), (C, O) => (x(), te("div", Fr, [
|
|
3289
|
+
ne("div", Ur, [
|
|
3291
3290
|
de(Cr, {
|
|
3292
3291
|
"model-value": $.value,
|
|
3293
3292
|
"excluded-subjects": P,
|
|
3294
|
-
"additional-permissions":
|
|
3293
|
+
"additional-permissions": ye(m),
|
|
3295
3294
|
"onUpdate:modelValue": q
|
|
3296
3295
|
}, Fe({ _: 2 }, [
|
|
3297
|
-
_e(
|
|
3298
|
-
name: `checkbox-${
|
|
3296
|
+
_e(b.value, (w) => ({
|
|
3297
|
+
name: `checkbox-${w.id}-append`,
|
|
3299
3298
|
fn: pe(() => [
|
|
3300
|
-
de(it, { item:
|
|
3299
|
+
de(it, { item: w }, null, 8, ["item"])
|
|
3301
3300
|
])
|
|
3302
3301
|
}))
|
|
3303
3302
|
]), 1032, ["model-value", "additional-permissions"])
|
|
3304
3303
|
]),
|
|
3305
3304
|
ne("div", Vr, [
|
|
3306
|
-
de(
|
|
3305
|
+
de(Ln, {
|
|
3307
3306
|
"model-value": V.value,
|
|
3308
3307
|
options: A.value,
|
|
3309
|
-
context:
|
|
3308
|
+
context: ye(a)("team.labels.warehouse"),
|
|
3310
3309
|
"onUpdate:modelValue": i
|
|
3311
3310
|
}, Fe({ _: 2 }, [
|
|
3312
|
-
_e(
|
|
3313
|
-
name: `checkbox-${
|
|
3311
|
+
_e(y.value, (w) => ({
|
|
3312
|
+
name: `checkbox-${w.id}-append`,
|
|
3314
3313
|
fn: pe(() => [
|
|
3315
|
-
de(it, { item:
|
|
3314
|
+
de(it, { item: w }, null, 8, ["item"])
|
|
3316
3315
|
])
|
|
3317
3316
|
}))
|
|
3318
3317
|
]), 1032, ["model-value", "options", "context"])
|
|
3319
3318
|
]),
|
|
3320
|
-
ne("div",
|
|
3321
|
-
de(
|
|
3319
|
+
ne("div", jr, [
|
|
3320
|
+
de(Ln, {
|
|
3322
3321
|
"model-value": _.value,
|
|
3323
3322
|
options: S.value,
|
|
3324
|
-
context:
|
|
3325
|
-
"onUpdate:modelValue":
|
|
3323
|
+
context: ye(a)("team.labels.restaurant"),
|
|
3324
|
+
"onUpdate:modelValue": U
|
|
3326
3325
|
}, Fe({ _: 2 }, [
|
|
3327
|
-
_e(
|
|
3328
|
-
name: `checkbox-${
|
|
3326
|
+
_e(L.value, (w) => ({
|
|
3327
|
+
name: `checkbox-${w.id}-append`,
|
|
3329
3328
|
fn: pe(() => [
|
|
3330
|
-
de(it, { item:
|
|
3329
|
+
de(it, { item: w }, null, 8, ["item"])
|
|
3331
3330
|
])
|
|
3332
3331
|
}))
|
|
3333
3332
|
]), 1032, ["model-value", "options", "context"])
|
|
3334
3333
|
]),
|
|
3335
3334
|
ne("div", Wr, [
|
|
3336
3335
|
de(Mr, {
|
|
3337
|
-
roles:
|
|
3336
|
+
roles: ye(h),
|
|
3338
3337
|
"model-value": g.value,
|
|
3339
3338
|
"restaurant-ids": _.value,
|
|
3340
|
-
"onUpdate:modelValue":
|
|
3339
|
+
"onUpdate:modelValue": G
|
|
3341
3340
|
}, Fe({ _: 2 }, [
|
|
3342
|
-
_e(N.value, (
|
|
3343
|
-
name: `checkbox-${
|
|
3341
|
+
_e(N.value, (w) => ({
|
|
3342
|
+
name: `checkbox-${w.id}-append`,
|
|
3344
3343
|
fn: pe(() => [
|
|
3345
|
-
de(it, { item:
|
|
3344
|
+
de(it, { item: w }, null, 8, ["item"])
|
|
3346
3345
|
])
|
|
3347
3346
|
}))
|
|
3348
3347
|
]), 1032, ["roles", "model-value", "restaurant-ids"])
|
|
@@ -3352,5 +3351,5 @@ const br = { class: "col flex items-center" }, hr = {
|
|
|
3352
3351
|
});
|
|
3353
3352
|
export {
|
|
3354
3353
|
zt as _,
|
|
3355
|
-
|
|
3354
|
+
Jr as a
|
|
3356
3355
|
};
|