@feedmepos/mf-hrm-portal 2.0.24-dev.10 → 2.0.24-dev.11
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-DIyduqwa.js → AuditLogList-D13Tma55.js} +4 -4
- package/dist/{EmployeeList-DieXbCR4.js → EmployeeList-CmU-WKPT.js} +6 -6
- package/dist/{Main-BxX0lnL5.js → Main-Bb7KhUuL.js} +6 -6
- package/dist/{Main-8fURDx0W.js → Main-Br31SktO.js} +9 -9
- package/dist/{Main-BjzCTw3C.js → Main-CMv3GJZK.js} +4 -4
- package/dist/{PermissionSetList-CqM4La6P.js → PermissionSetList-C6nSv0Em.js} +6 -6
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-C6uznL8r.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-NFr_QRGO.js} +466 -466
- package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-CSxT3KNJ.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-BypKOLqT.js} +1 -1
- package/dist/{RoleList-CEgNBw-4.js → RoleList-VS11Dt8v.js} +51 -49
- package/dist/{TeamMemberList-DoLkDpoB.js → TeamMemberList-BZv00x4B.js} +56 -56
- package/dist/{TimesheetList-DqGEKlEL.js → TimesheetList-DFbVpInY.js} +6 -6
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_91afda4e_lang-BdCL8SB4.js → TimesheetList.vue_vue_type_style_index_0_scoped_91afda4e_lang-u6mJw-wq.js} +2 -2
- package/dist/{app-L0IWvTST.js → app-DPuGdUoR.js} +114 -99
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-COxuf_H8.js → dayjs.min-BhwkmEiy.js} +1 -1
- package/dist/{employee-DRnkg7jL.js → employee-CUQGn4B5.js} +3 -3
- package/dist/{iteration-V9rH_pC3.js → iteration-C2RViFQ4.js} +1 -1
- package/dist/{lodash-DoaaH6eb.js → lodash-DQoFrc1P.js} +1 -1
- package/dist/{rule-BI1ycxfM.js → rule-DRvM4HKU.js} +25 -25
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-a32PT_PC.js → useAppStore-DqX0G_6s.js} +1 -1
- package/dist/{useLoading-BxqU47eu.js → useLoading-Dx1S3DeY.js} +1 -1
- package/dist/{useReportPermissions-BIbz17zb.js → useReportPermissions-DH4hhuYf.js} +3 -3
- package/package.json +2 -2
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { getCurrentInstance as xt, inject as $n, ref as
|
|
1
|
+
import { getCurrentInstance as xt, inject as $n, ref as bt, shallowRef as Kn, computed as q, watch as St, onMounted as Rn, onUnmounted as Qn, defineComponent as ke, h as An, createVNode as _e, Text as zn, Fragment as Le, resolveComponent as qe, createBlock as Me, openBlock as z, withCtx as pe, createElementVNode as se, createElementBlock as oe, toDisplayString as Ie, unref as J, renderList as he, toRef as Qt, normalizeStyle as Xe, renderSlot as Te, createCommentVNode as Se, createTextVNode as qn, useSlots as es, normalizeClass as rt, createSlots as xe, mergeModels as zt, useModel as ts } from "vue";
|
|
2
2
|
import { useI18n as He, useCoreStore as ns } from "@feedmepos/mf-common";
|
|
3
3
|
import "@vue/devtools-api";
|
|
4
|
-
import { p as
|
|
4
|
+
import { p as Mt, d as ss, w as as, x as kt, k as rs, j as ls, $ as Ot } from "./rule-DRvM4HKU.js";
|
|
5
5
|
import { _ as Xt } from "./CollapsibleWrapper.vue_vue_type_script_setup_true_lang-BLJlmPVa.js";
|
|
6
|
-
import { u as os, b as is, d as ue,
|
|
7
|
-
import { d as dt, g as us, b as ms } from "./iteration-
|
|
8
|
-
import { u as ds } from "./useAppStore-
|
|
6
|
+
import { u as os, b as is, d as ue, k as cs, P as Lt } from "./app-DPuGdUoR.js";
|
|
7
|
+
import { d as dt, g as us, b as ms } from "./iteration-C2RViFQ4.js";
|
|
8
|
+
import { u as ds } from "./useAppStore-DqX0G_6s.js";
|
|
9
9
|
/*!
|
|
10
10
|
* shared v10.0.5
|
|
11
11
|
* (c) 2024 kazuya kawaguchi
|
|
12
12
|
* Released under the MIT License.
|
|
13
13
|
*/
|
|
14
|
-
const qt = typeof window < "u", Ue = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), fs = (e, t, n) => _s({ l: e, k: t, s: n }), _s = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), me = (e) => typeof e == "number" && isFinite(e), ps = (e) => Zt(e) === "[object Date]", _t = (e) => Zt(e) === "[object RegExp]",
|
|
14
|
+
const qt = typeof window < "u", Ue = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), fs = (e, t, n) => _s({ l: e, k: t, s: n }), _s = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), me = (e) => typeof e == "number" && isFinite(e), ps = (e) => Zt(e) === "[object Date]", _t = (e) => Zt(e) === "[object RegExp]", gt = (e) => $(e) && Object.keys(e).length === 0, de = Object.assign, bs = Object.create, ee = (e = null) => bs(e);
|
|
15
15
|
let en;
|
|
16
16
|
const Fe = () => en || (en = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : ee());
|
|
17
17
|
function tn(e) {
|
|
18
18
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
19
19
|
}
|
|
20
|
-
const
|
|
20
|
+
const gs = Object.prototype.hasOwnProperty;
|
|
21
21
|
function ye(e, t) {
|
|
22
|
-
return
|
|
22
|
+
return gs.call(e, t);
|
|
23
23
|
}
|
|
24
24
|
const ce = Array.isArray, ae = (e) => typeof e == "function", P = (e) => typeof e == "string", ie = (e) => typeof e == "boolean", K = (e) => e !== null && typeof e == "object", hs = (e) => K(e) && ae(e.then) && ae(e.catch), Sn = Object.prototype.toString, Zt = (e) => Sn.call(e), $ = (e) => Zt(e) === "[object Object]", vs = (e) => e == null ? "" : ce(e) || $(e) && e.toString === Sn ? JSON.stringify(e, null, 2) : String(e);
|
|
25
25
|
function Yt(e, t = "") {
|
|
@@ -43,10 +43,10 @@ function ft(e, t) {
|
|
|
43
43
|
function Is(e, t, n) {
|
|
44
44
|
return { line: e, column: t, offset: n };
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function Dt(e, t, n) {
|
|
47
47
|
return { start: e, end: t };
|
|
48
48
|
}
|
|
49
|
-
const
|
|
49
|
+
const Q = {
|
|
50
50
|
// tokenizer error codes
|
|
51
51
|
EXPECTED_TOKEN: 1,
|
|
52
52
|
INVALID_TOKEN_IN_PLACEHOLDER: 2,
|
|
@@ -71,12 +71,12 @@ function ht(e, t, n = {}) {
|
|
|
71
71
|
function Ns(e) {
|
|
72
72
|
throw e;
|
|
73
73
|
}
|
|
74
|
-
const Oe = " ", Ts = "\r",
|
|
74
|
+
const Oe = " ", Ts = "\r", be = `
|
|
75
75
|
`, ks = "\u2028", Os = "\u2029";
|
|
76
76
|
function Ls(e) {
|
|
77
77
|
const t = e;
|
|
78
78
|
let n = 0, s = 1, l = 1, a = 0;
|
|
79
|
-
const c = (E) => t[E] === Ts && t[E + 1] ===
|
|
79
|
+
const c = (E) => t[E] === Ts && t[E + 1] === be, u = (E) => t[E] === be, m = (E) => t[E] === Os, p = (E) => t[E] === ks, N = (E) => c(E) || u(E) || m(E) || p(E), L = () => n, O = () => s, w = () => l, j = () => a, A = (E) => c(E) || m(E) || p(E) ? be : t[E], M = () => A(n), i = () => A(n + a);
|
|
80
80
|
function d() {
|
|
81
81
|
return a = 0, N(n) && (s++, l = 0), c(n) && n++, n++, l++, t[n];
|
|
82
82
|
}
|
|
@@ -86,7 +86,7 @@ function Ls(e) {
|
|
|
86
86
|
function _() {
|
|
87
87
|
n = 0, s = 1, l = 1, a = 0;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function D(E = 0) {
|
|
90
90
|
a = E;
|
|
91
91
|
}
|
|
92
92
|
function S() {
|
|
@@ -99,14 +99,14 @@ function Ls(e) {
|
|
|
99
99
|
index: L,
|
|
100
100
|
line: O,
|
|
101
101
|
column: w,
|
|
102
|
-
peekOffset:
|
|
102
|
+
peekOffset: j,
|
|
103
103
|
charAt: A,
|
|
104
|
-
currentChar:
|
|
104
|
+
currentChar: M,
|
|
105
105
|
currentPeek: i,
|
|
106
106
|
next: d,
|
|
107
107
|
peek: T,
|
|
108
108
|
reset: _,
|
|
109
|
-
resetPeek:
|
|
109
|
+
resetPeek: D,
|
|
110
110
|
skipToPeek: S
|
|
111
111
|
};
|
|
112
112
|
}
|
|
@@ -125,36 +125,36 @@ function As(e, t = {}) {
|
|
|
125
125
|
inLinked: !1,
|
|
126
126
|
text: ""
|
|
127
127
|
}, p = () => m, { onError: N } = t;
|
|
128
|
-
function L(r, o,
|
|
128
|
+
function L(r, o, b, ...W) {
|
|
129
129
|
const re = p();
|
|
130
|
-
if (o.column +=
|
|
131
|
-
const Z = n ?
|
|
130
|
+
if (o.column += b, o.offset += b, N) {
|
|
131
|
+
const Z = n ? Dt(re.startLoc, o) : null, f = ht(r, Z, {
|
|
132
132
|
domain: Rs,
|
|
133
|
-
args:
|
|
133
|
+
args: W
|
|
134
134
|
});
|
|
135
135
|
N(f);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
function O(r, o,
|
|
138
|
+
function O(r, o, b) {
|
|
139
139
|
r.endLoc = a(), r.currentType = o;
|
|
140
|
-
const
|
|
141
|
-
return n && (
|
|
140
|
+
const W = { type: o };
|
|
141
|
+
return n && (W.loc = Dt(r.startLoc, r.endLoc)), b != null && (W.value = b), W;
|
|
142
142
|
}
|
|
143
143
|
const w = (r) => O(
|
|
144
144
|
r,
|
|
145
145
|
13
|
|
146
146
|
/* TokenTypes.EOF */
|
|
147
147
|
);
|
|
148
|
-
function
|
|
149
|
-
return r.currentChar() === o ? (r.next(), o) : (L(
|
|
148
|
+
function j(r, o) {
|
|
149
|
+
return r.currentChar() === o ? (r.next(), o) : (L(Q.EXPECTED_TOKEN, a(), 0, o), "");
|
|
150
150
|
}
|
|
151
151
|
function A(r) {
|
|
152
152
|
let o = "";
|
|
153
|
-
for (; r.currentPeek() === Oe || r.currentPeek() ===
|
|
153
|
+
for (; r.currentPeek() === Oe || r.currentPeek() === be; )
|
|
154
154
|
o += r.currentPeek(), r.peek();
|
|
155
155
|
return o;
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function M(r) {
|
|
158
158
|
const o = A(r);
|
|
159
159
|
return r.skipToPeek(), o;
|
|
160
160
|
}
|
|
@@ -173,78 +173,78 @@ function As(e, t = {}) {
|
|
|
173
173
|
return o >= 48 && o <= 57;
|
|
174
174
|
}
|
|
175
175
|
function T(r, o) {
|
|
176
|
-
const { currentType:
|
|
177
|
-
if (
|
|
176
|
+
const { currentType: b } = o;
|
|
177
|
+
if (b !== 2)
|
|
178
178
|
return !1;
|
|
179
179
|
A(r);
|
|
180
|
-
const
|
|
181
|
-
return r.resetPeek(),
|
|
180
|
+
const W = i(r.currentPeek());
|
|
181
|
+
return r.resetPeek(), W;
|
|
182
182
|
}
|
|
183
183
|
function _(r, o) {
|
|
184
|
-
const { currentType:
|
|
185
|
-
if (
|
|
184
|
+
const { currentType: b } = o;
|
|
185
|
+
if (b !== 2)
|
|
186
186
|
return !1;
|
|
187
187
|
A(r);
|
|
188
|
-
const
|
|
188
|
+
const W = r.currentPeek() === "-" ? r.peek() : r.currentPeek(), re = d(W);
|
|
189
189
|
return r.resetPeek(), re;
|
|
190
190
|
}
|
|
191
|
-
function
|
|
192
|
-
const { currentType:
|
|
193
|
-
if (
|
|
191
|
+
function D(r, o) {
|
|
192
|
+
const { currentType: b } = o;
|
|
193
|
+
if (b !== 2)
|
|
194
194
|
return !1;
|
|
195
195
|
A(r);
|
|
196
|
-
const
|
|
197
|
-
return r.resetPeek(),
|
|
196
|
+
const W = r.currentPeek() === nn;
|
|
197
|
+
return r.resetPeek(), W;
|
|
198
198
|
}
|
|
199
199
|
function S(r, o) {
|
|
200
|
-
const { currentType:
|
|
201
|
-
if (
|
|
200
|
+
const { currentType: b } = o;
|
|
201
|
+
if (b !== 7)
|
|
202
202
|
return !1;
|
|
203
203
|
A(r);
|
|
204
|
-
const
|
|
205
|
-
return r.resetPeek(),
|
|
204
|
+
const W = r.currentPeek() === ".";
|
|
205
|
+
return r.resetPeek(), W;
|
|
206
206
|
}
|
|
207
207
|
function E(r, o) {
|
|
208
|
-
const { currentType:
|
|
209
|
-
if (
|
|
208
|
+
const { currentType: b } = o;
|
|
209
|
+
if (b !== 8)
|
|
210
210
|
return !1;
|
|
211
211
|
A(r);
|
|
212
|
-
const
|
|
213
|
-
return r.resetPeek(),
|
|
212
|
+
const W = i(r.currentPeek());
|
|
213
|
+
return r.resetPeek(), W;
|
|
214
214
|
}
|
|
215
215
|
function Y(r, o) {
|
|
216
|
-
const { currentType:
|
|
217
|
-
if (!(
|
|
216
|
+
const { currentType: b } = o;
|
|
217
|
+
if (!(b === 7 || b === 11))
|
|
218
218
|
return !1;
|
|
219
219
|
A(r);
|
|
220
|
-
const
|
|
221
|
-
return r.resetPeek(),
|
|
220
|
+
const W = r.currentPeek() === ":";
|
|
221
|
+
return r.resetPeek(), W;
|
|
222
222
|
}
|
|
223
223
|
function h(r, o) {
|
|
224
|
-
const { currentType:
|
|
225
|
-
if (
|
|
224
|
+
const { currentType: b } = o;
|
|
225
|
+
if (b !== 9)
|
|
226
226
|
return !1;
|
|
227
|
-
const
|
|
227
|
+
const W = () => {
|
|
228
228
|
const Z = r.currentPeek();
|
|
229
|
-
return Z === "{" ? i(r.peek()) : Z === "@" || Z === "|" || Z === ":" || Z === "." || Z === Oe || !Z ? !1 : Z ===
|
|
230
|
-
}, re =
|
|
229
|
+
return Z === "{" ? i(r.peek()) : Z === "@" || Z === "|" || Z === ":" || Z === "." || Z === Oe || !Z ? !1 : Z === be ? (r.peek(), W()) : C(r, !1);
|
|
230
|
+
}, re = W();
|
|
231
231
|
return r.resetPeek(), re;
|
|
232
232
|
}
|
|
233
|
-
function
|
|
233
|
+
function g(r) {
|
|
234
234
|
A(r);
|
|
235
235
|
const o = r.currentPeek() === "|";
|
|
236
236
|
return r.resetPeek(), o;
|
|
237
237
|
}
|
|
238
238
|
function C(r, o = !0) {
|
|
239
|
-
const
|
|
239
|
+
const b = (re = !1, Z = "") => {
|
|
240
240
|
const f = r.currentPeek();
|
|
241
|
-
return f === "{" || f === "@" || !f ? re : f === "|" ? !(Z === Oe || Z ===
|
|
242
|
-
},
|
|
243
|
-
return o && r.resetPeek(),
|
|
241
|
+
return f === "{" || f === "@" || !f ? re : f === "|" ? !(Z === Oe || Z === be) : f === Oe ? (r.peek(), b(!0, Oe)) : f === be ? (r.peek(), b(!0, be)) : !0;
|
|
242
|
+
}, W = b();
|
|
243
|
+
return o && r.resetPeek(), W;
|
|
244
244
|
}
|
|
245
245
|
function I(r, o) {
|
|
246
|
-
const
|
|
247
|
-
return
|
|
246
|
+
const b = r.currentChar();
|
|
247
|
+
return b === Ae ? Ae : o(b) ? (r.next(), b) : null;
|
|
248
248
|
}
|
|
249
249
|
function F(r) {
|
|
250
250
|
const o = r.charCodeAt(0);
|
|
@@ -286,52 +286,52 @@ function As(e, t = {}) {
|
|
|
286
286
|
return I(r, V);
|
|
287
287
|
}
|
|
288
288
|
function te(r) {
|
|
289
|
-
let o = "",
|
|
289
|
+
let o = "", b = "";
|
|
290
290
|
for (; o = G(r); )
|
|
291
|
-
|
|
292
|
-
return
|
|
291
|
+
b += o;
|
|
292
|
+
return b;
|
|
293
293
|
}
|
|
294
294
|
function B(r) {
|
|
295
295
|
let o = "";
|
|
296
296
|
for (; ; ) {
|
|
297
|
-
const
|
|
298
|
-
if (
|
|
297
|
+
const b = r.currentChar();
|
|
298
|
+
if (b === "{" || b === "}" || b === "@" || b === "|" || !b)
|
|
299
299
|
break;
|
|
300
|
-
if (
|
|
300
|
+
if (b === Oe || b === be)
|
|
301
301
|
if (C(r))
|
|
302
|
-
o +=
|
|
302
|
+
o += b, r.next();
|
|
303
303
|
else {
|
|
304
|
-
if (
|
|
304
|
+
if (g(r))
|
|
305
305
|
break;
|
|
306
|
-
o +=
|
|
306
|
+
o += b, r.next();
|
|
307
307
|
}
|
|
308
308
|
else
|
|
309
|
-
o +=
|
|
309
|
+
o += b, r.next();
|
|
310
310
|
}
|
|
311
311
|
return o;
|
|
312
312
|
}
|
|
313
|
-
function
|
|
314
|
-
|
|
315
|
-
let o = "",
|
|
313
|
+
function ge(r) {
|
|
314
|
+
M(r);
|
|
315
|
+
let o = "", b = "";
|
|
316
316
|
for (; o = R(r); )
|
|
317
|
-
|
|
318
|
-
return r.currentChar() === Ae && L(
|
|
317
|
+
b += o;
|
|
318
|
+
return r.currentChar() === Ae && L(Q.UNTERMINATED_CLOSING_BRACE, a(), 0), b;
|
|
319
319
|
}
|
|
320
320
|
function fe(r) {
|
|
321
|
-
|
|
321
|
+
M(r);
|
|
322
322
|
let o = "";
|
|
323
|
-
return r.currentChar() === "-" ? (r.next(), o += `-${te(r)}`) : o += te(r), r.currentChar() === Ae && L(
|
|
323
|
+
return r.currentChar() === "-" ? (r.next(), o += `-${te(r)}`) : o += te(r), r.currentChar() === Ae && L(Q.UNTERMINATED_CLOSING_BRACE, a(), 0), o;
|
|
324
324
|
}
|
|
325
325
|
function H(r) {
|
|
326
|
-
return r !== nn && r !==
|
|
326
|
+
return r !== nn && r !== be;
|
|
327
327
|
}
|
|
328
328
|
function X(r) {
|
|
329
|
-
|
|
330
|
-
let o = "",
|
|
329
|
+
M(r), j(r, "'");
|
|
330
|
+
let o = "", b = "";
|
|
331
331
|
for (; o = I(r, H); )
|
|
332
|
-
o === "\\" ?
|
|
333
|
-
const
|
|
334
|
-
return
|
|
332
|
+
o === "\\" ? b += Ee(r) : b += o;
|
|
333
|
+
const W = r.currentChar();
|
|
334
|
+
return W === be || W === Ae ? (L(Q.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), W === be && (r.next(), j(r, "'")), b) : (j(r, "'"), b);
|
|
335
335
|
}
|
|
336
336
|
function Ee(r) {
|
|
337
337
|
const o = r.currentChar();
|
|
@@ -344,160 +344,160 @@ function As(e, t = {}) {
|
|
|
344
344
|
case "U":
|
|
345
345
|
return Je(r, o, 6);
|
|
346
346
|
default:
|
|
347
|
-
return L(
|
|
347
|
+
return L(Q.UNKNOWN_ESCAPE_SEQUENCE, a(), 0, o), "";
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
|
-
function Je(r, o,
|
|
351
|
-
|
|
352
|
-
let
|
|
353
|
-
for (let re = 0; re <
|
|
350
|
+
function Je(r, o, b) {
|
|
351
|
+
j(r, o);
|
|
352
|
+
let W = "";
|
|
353
|
+
for (let re = 0; re < b; re++) {
|
|
354
354
|
const Z = U(r);
|
|
355
355
|
if (!Z) {
|
|
356
|
-
L(
|
|
356
|
+
L(Q.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${W}${r.currentChar()}`);
|
|
357
357
|
break;
|
|
358
358
|
}
|
|
359
|
-
|
|
359
|
+
W += Z;
|
|
360
360
|
}
|
|
361
|
-
return `\\${o}${
|
|
361
|
+
return `\\${o}${W}`;
|
|
362
362
|
}
|
|
363
363
|
function $e(r) {
|
|
364
|
-
return r !== "{" && r !== "}" && r !== Oe && r !==
|
|
364
|
+
return r !== "{" && r !== "}" && r !== Oe && r !== be;
|
|
365
365
|
}
|
|
366
366
|
function It(r) {
|
|
367
|
-
|
|
368
|
-
let o = "",
|
|
367
|
+
M(r);
|
|
368
|
+
let o = "", b = "";
|
|
369
369
|
for (; o = I(r, $e); )
|
|
370
|
-
|
|
371
|
-
return
|
|
370
|
+
b += o;
|
|
371
|
+
return b;
|
|
372
372
|
}
|
|
373
373
|
function yt(r) {
|
|
374
|
-
let o = "",
|
|
374
|
+
let o = "", b = "";
|
|
375
375
|
for (; o = x(r); )
|
|
376
|
-
|
|
377
|
-
return
|
|
376
|
+
b += o;
|
|
377
|
+
return b;
|
|
378
378
|
}
|
|
379
379
|
function Nt(r) {
|
|
380
|
-
const o = (
|
|
381
|
-
const
|
|
382
|
-
return
|
|
380
|
+
const o = (b) => {
|
|
381
|
+
const W = r.currentChar();
|
|
382
|
+
return W === "{" || W === "@" || W === "|" || W === "(" || W === ")" || !W || W === Oe ? b : (b += W, r.next(), o(b));
|
|
383
383
|
};
|
|
384
384
|
return o("");
|
|
385
385
|
}
|
|
386
386
|
function Ke(r) {
|
|
387
|
-
|
|
388
|
-
const o =
|
|
387
|
+
M(r);
|
|
388
|
+
const o = j(
|
|
389
389
|
r,
|
|
390
390
|
"|"
|
|
391
391
|
/* TokenChars.Pipe */
|
|
392
392
|
);
|
|
393
|
-
return
|
|
393
|
+
return M(r), o;
|
|
394
394
|
}
|
|
395
|
-
function
|
|
396
|
-
let
|
|
395
|
+
function We(r, o) {
|
|
396
|
+
let b = null;
|
|
397
397
|
switch (r.currentChar()) {
|
|
398
398
|
case "{":
|
|
399
|
-
return o.braceNest >= 1 && L(
|
|
399
|
+
return o.braceNest >= 1 && L(Q.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), r.next(), b = O(
|
|
400
400
|
o,
|
|
401
401
|
2,
|
|
402
402
|
"{"
|
|
403
403
|
/* TokenChars.BraceLeft */
|
|
404
|
-
),
|
|
404
|
+
), M(r), o.braceNest++, b;
|
|
405
405
|
case "}":
|
|
406
|
-
return o.braceNest > 0 && o.currentType === 2 && L(
|
|
406
|
+
return o.braceNest > 0 && o.currentType === 2 && L(Q.EMPTY_PLACEHOLDER, a(), 0), r.next(), b = O(
|
|
407
407
|
o,
|
|
408
408
|
3,
|
|
409
409
|
"}"
|
|
410
410
|
/* TokenChars.BraceRight */
|
|
411
|
-
), o.braceNest--, o.braceNest > 0 &&
|
|
411
|
+
), o.braceNest--, o.braceNest > 0 && M(r), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), b;
|
|
412
412
|
case "@":
|
|
413
|
-
return o.braceNest > 0 && L(
|
|
413
|
+
return o.braceNest > 0 && L(Q.UNTERMINATED_CLOSING_BRACE, a(), 0), b = je(r, o) || w(o), o.braceNest = 0, b;
|
|
414
414
|
default: {
|
|
415
415
|
let re = !0, Z = !0, f = !0;
|
|
416
|
-
if (
|
|
417
|
-
return o.braceNest > 0 && L(
|
|
416
|
+
if (g(r))
|
|
417
|
+
return o.braceNest > 0 && L(Q.UNTERMINATED_CLOSING_BRACE, a(), 0), b = O(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, b;
|
|
418
418
|
if (o.braceNest > 0 && (o.currentType === 4 || o.currentType === 5 || o.currentType === 6))
|
|
419
|
-
return L(
|
|
419
|
+
return L(Q.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0, Qe(r, o);
|
|
420
420
|
if (re = T(r, o))
|
|
421
|
-
return
|
|
421
|
+
return b = O(o, 4, ge(r)), M(r), b;
|
|
422
422
|
if (Z = _(r, o))
|
|
423
|
-
return
|
|
424
|
-
if (f =
|
|
425
|
-
return
|
|
423
|
+
return b = O(o, 5, fe(r)), M(r), b;
|
|
424
|
+
if (f = D(r, o))
|
|
425
|
+
return b = O(o, 6, X(r)), M(r), b;
|
|
426
426
|
if (!re && !Z && !f)
|
|
427
|
-
return
|
|
427
|
+
return b = O(o, 12, It(r)), L(Q.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, b.value), M(r), b;
|
|
428
428
|
break;
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
|
-
return
|
|
431
|
+
return b;
|
|
432
432
|
}
|
|
433
|
-
function
|
|
434
|
-
const { currentType:
|
|
435
|
-
let
|
|
433
|
+
function je(r, o) {
|
|
434
|
+
const { currentType: b } = o;
|
|
435
|
+
let W = null;
|
|
436
436
|
const re = r.currentChar();
|
|
437
|
-
switch ((
|
|
437
|
+
switch ((b === 7 || b === 8 || b === 11 || b === 9) && (re === be || re === Oe) && L(Q.INVALID_LINKED_FORMAT, a(), 0), re) {
|
|
438
438
|
case "@":
|
|
439
|
-
return r.next(),
|
|
439
|
+
return r.next(), W = O(
|
|
440
440
|
o,
|
|
441
441
|
7,
|
|
442
442
|
"@"
|
|
443
443
|
/* TokenChars.LinkedAlias */
|
|
444
|
-
), o.inLinked = !0,
|
|
444
|
+
), o.inLinked = !0, W;
|
|
445
445
|
case ".":
|
|
446
|
-
return
|
|
446
|
+
return M(r), r.next(), O(
|
|
447
447
|
o,
|
|
448
448
|
8,
|
|
449
449
|
"."
|
|
450
450
|
/* TokenChars.LinkedDot */
|
|
451
451
|
);
|
|
452
452
|
case ":":
|
|
453
|
-
return
|
|
453
|
+
return M(r), r.next(), O(
|
|
454
454
|
o,
|
|
455
455
|
9,
|
|
456
456
|
":"
|
|
457
457
|
/* TokenChars.LinkedDelimiter */
|
|
458
458
|
);
|
|
459
459
|
default:
|
|
460
|
-
return
|
|
460
|
+
return g(r) ? (W = O(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, W) : S(r, o) || Y(r, o) ? (M(r), je(r, o)) : E(r, o) ? (M(r), O(o, 11, yt(r))) : h(r, o) ? (M(r), re === "{" ? We(r, o) || W : O(o, 10, Nt(r))) : (b === 7 && L(Q.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, Qe(r, o));
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
|
-
function
|
|
464
|
-
let
|
|
463
|
+
function Qe(r, o) {
|
|
464
|
+
let b = {
|
|
465
465
|
type: 13
|
|
466
466
|
/* TokenTypes.EOF */
|
|
467
467
|
};
|
|
468
468
|
if (o.braceNest > 0)
|
|
469
|
-
return je(r, o) || w(o);
|
|
470
|
-
if (o.inLinked)
|
|
471
469
|
return We(r, o) || w(o);
|
|
470
|
+
if (o.inLinked)
|
|
471
|
+
return je(r, o) || w(o);
|
|
472
472
|
switch (r.currentChar()) {
|
|
473
473
|
case "{":
|
|
474
|
-
return
|
|
474
|
+
return We(r, o) || w(o);
|
|
475
475
|
case "}":
|
|
476
|
-
return L(
|
|
476
|
+
return L(Q.UNBALANCED_CLOSING_BRACE, a(), 0), r.next(), O(
|
|
477
477
|
o,
|
|
478
478
|
3,
|
|
479
479
|
"}"
|
|
480
480
|
/* TokenChars.BraceRight */
|
|
481
481
|
);
|
|
482
482
|
case "@":
|
|
483
|
-
return
|
|
483
|
+
return je(r, o) || w(o);
|
|
484
484
|
default: {
|
|
485
|
-
if (
|
|
486
|
-
return
|
|
485
|
+
if (g(r))
|
|
486
|
+
return b = O(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, b;
|
|
487
487
|
if (C(r))
|
|
488
488
|
return O(o, 0, B(r));
|
|
489
489
|
break;
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
|
-
return
|
|
492
|
+
return b;
|
|
493
493
|
}
|
|
494
494
|
function Tt() {
|
|
495
|
-
const { currentType: r, offset: o, startLoc:
|
|
496
|
-
return m.lastType = r, m.lastOffset = o, m.lastStartLoc =
|
|
495
|
+
const { currentType: r, offset: o, startLoc: b, endLoc: W } = m;
|
|
496
|
+
return m.lastType = r, m.lastOffset = o, m.lastStartLoc = b, m.lastEndLoc = W, m.offset = l(), m.startLoc = a(), s.currentChar() === Ae ? O(
|
|
497
497
|
m,
|
|
498
498
|
13
|
|
499
499
|
/* TokenTypes.EOF */
|
|
500
|
-
) :
|
|
500
|
+
) : Qe(s, m);
|
|
501
501
|
}
|
|
502
502
|
return {
|
|
503
503
|
nextToken: Tt,
|
|
@@ -506,8 +506,8 @@ function As(e, t = {}) {
|
|
|
506
506
|
context: p
|
|
507
507
|
};
|
|
508
508
|
}
|
|
509
|
-
const Ss = "parser",
|
|
510
|
-
function
|
|
509
|
+
const Ss = "parser", Ms = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
|
|
510
|
+
function Ds(e, t, n) {
|
|
511
511
|
switch (e) {
|
|
512
512
|
case "\\\\":
|
|
513
513
|
return "\\";
|
|
@@ -521,12 +521,12 @@ function Ms(e, t, n) {
|
|
|
521
521
|
}
|
|
522
522
|
function ws(e = {}) {
|
|
523
523
|
const t = e.location !== !1, { onError: n } = e;
|
|
524
|
-
function s(i, d, T, _, ...
|
|
524
|
+
function s(i, d, T, _, ...D) {
|
|
525
525
|
const S = i.currentPosition();
|
|
526
526
|
if (S.offset += _, S.column += _, n) {
|
|
527
|
-
const E = t ?
|
|
527
|
+
const E = t ? Dt(T, S) : null, Y = ht(d, E, {
|
|
528
528
|
domain: Ss,
|
|
529
|
-
args:
|
|
529
|
+
args: D
|
|
530
530
|
});
|
|
531
531
|
n(Y);
|
|
532
532
|
}
|
|
@@ -543,23 +543,23 @@ function ws(e = {}) {
|
|
|
543
543
|
return _.value = d, a(_, i.currentOffset(), i.currentPosition()), _;
|
|
544
544
|
}
|
|
545
545
|
function u(i, d) {
|
|
546
|
-
const T = i.context(), { lastOffset: _, lastStartLoc:
|
|
546
|
+
const T = i.context(), { lastOffset: _, lastStartLoc: D } = T, S = l(5, _, D);
|
|
547
547
|
return S.index = parseInt(d, 10), i.nextToken(), a(S, i.currentOffset(), i.currentPosition()), S;
|
|
548
548
|
}
|
|
549
549
|
function m(i, d) {
|
|
550
|
-
const T = i.context(), { lastOffset: _, lastStartLoc:
|
|
550
|
+
const T = i.context(), { lastOffset: _, lastStartLoc: D } = T, S = l(4, _, D);
|
|
551
551
|
return S.key = d, i.nextToken(), a(S, i.currentOffset(), i.currentPosition()), S;
|
|
552
552
|
}
|
|
553
553
|
function p(i, d) {
|
|
554
|
-
const T = i.context(), { lastOffset: _, lastStartLoc:
|
|
555
|
-
return S.value = d.replace(
|
|
554
|
+
const T = i.context(), { lastOffset: _, lastStartLoc: D } = T, S = l(9, _, D);
|
|
555
|
+
return S.value = d.replace(Ms, Ds), i.nextToken(), a(S, i.currentOffset(), i.currentPosition()), S;
|
|
556
556
|
}
|
|
557
557
|
function N(i) {
|
|
558
|
-
const d = i.nextToken(), T = i.context(), { lastOffset: _, lastStartLoc:
|
|
559
|
-
return d.type !== 11 ? (s(i,
|
|
558
|
+
const d = i.nextToken(), T = i.context(), { lastOffset: _, lastStartLoc: D } = T, S = l(8, _, D);
|
|
559
|
+
return d.type !== 11 ? (s(i, Q.UNEXPECTED_EMPTY_LINKED_MODIFIER, T.lastStartLoc, 0), S.value = "", a(S, _, D), {
|
|
560
560
|
nextConsumeToken: d,
|
|
561
561
|
node: S
|
|
562
|
-
}) : (d.value == null && s(i,
|
|
562
|
+
}) : (d.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, Ne(d)), S.value = d.value || "", a(S, i.currentOffset(), i.currentPosition()), {
|
|
563
563
|
node: S
|
|
564
564
|
});
|
|
565
565
|
}
|
|
@@ -571,26 +571,26 @@ function ws(e = {}) {
|
|
|
571
571
|
const d = i.context(), T = l(6, d.offset, d.startLoc);
|
|
572
572
|
let _ = i.nextToken();
|
|
573
573
|
if (_.type === 8) {
|
|
574
|
-
const
|
|
575
|
-
T.modifier =
|
|
574
|
+
const D = N(i);
|
|
575
|
+
T.modifier = D.node, _ = D.nextConsumeToken || i.nextToken();
|
|
576
576
|
}
|
|
577
|
-
switch (_.type !== 9 && s(i,
|
|
577
|
+
switch (_.type !== 9 && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(_)), _ = i.nextToken(), _.type === 2 && (_ = i.nextToken()), _.type) {
|
|
578
578
|
case 10:
|
|
579
|
-
_.value == null && s(i,
|
|
579
|
+
_.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(_)), T.key = L(i, _.value || "");
|
|
580
580
|
break;
|
|
581
581
|
case 4:
|
|
582
|
-
_.value == null && s(i,
|
|
582
|
+
_.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(_)), T.key = m(i, _.value || "");
|
|
583
583
|
break;
|
|
584
584
|
case 5:
|
|
585
|
-
_.value == null && s(i,
|
|
585
|
+
_.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(_)), T.key = u(i, _.value || "");
|
|
586
586
|
break;
|
|
587
587
|
case 6:
|
|
588
|
-
_.value == null && s(i,
|
|
588
|
+
_.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(_)), T.key = p(i, _.value || "");
|
|
589
589
|
break;
|
|
590
590
|
default: {
|
|
591
|
-
s(i,
|
|
592
|
-
const
|
|
593
|
-
return S.value = "", a(S,
|
|
591
|
+
s(i, Q.UNEXPECTED_EMPTY_LINKED_KEY, d.lastStartLoc, 0);
|
|
592
|
+
const D = i.context(), S = l(7, D.offset, D.startLoc);
|
|
593
|
+
return S.value = "", a(S, D.offset, D.startLoc), T.key = S, a(T, D.offset, D.startLoc), {
|
|
594
594
|
nextConsumeToken: _,
|
|
595
595
|
node: T
|
|
596
596
|
};
|
|
@@ -601,54 +601,54 @@ function ws(e = {}) {
|
|
|
601
601
|
};
|
|
602
602
|
}
|
|
603
603
|
function w(i) {
|
|
604
|
-
const d = i.context(), T = d.currentType === 1 ? i.currentOffset() : d.offset, _ = d.currentType === 1 ? d.endLoc : d.startLoc,
|
|
605
|
-
|
|
604
|
+
const d = i.context(), T = d.currentType === 1 ? i.currentOffset() : d.offset, _ = d.currentType === 1 ? d.endLoc : d.startLoc, D = l(2, T, _);
|
|
605
|
+
D.items = [];
|
|
606
606
|
let S = null;
|
|
607
607
|
do {
|
|
608
608
|
const h = S || i.nextToken();
|
|
609
609
|
switch (S = null, h.type) {
|
|
610
610
|
case 0:
|
|
611
|
-
h.value == null && s(i,
|
|
611
|
+
h.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(h)), D.items.push(c(i, h.value || ""));
|
|
612
612
|
break;
|
|
613
613
|
case 5:
|
|
614
|
-
h.value == null && s(i,
|
|
614
|
+
h.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(h)), D.items.push(u(i, h.value || ""));
|
|
615
615
|
break;
|
|
616
616
|
case 4:
|
|
617
|
-
h.value == null && s(i,
|
|
617
|
+
h.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(h)), D.items.push(m(i, h.value || ""));
|
|
618
618
|
break;
|
|
619
619
|
case 6:
|
|
620
|
-
h.value == null && s(i,
|
|
620
|
+
h.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(h)), D.items.push(p(i, h.value || ""));
|
|
621
621
|
break;
|
|
622
622
|
case 7: {
|
|
623
|
-
const
|
|
624
|
-
|
|
623
|
+
const g = O(i);
|
|
624
|
+
D.items.push(g.node), S = g.nextConsumeToken || null;
|
|
625
625
|
break;
|
|
626
626
|
}
|
|
627
627
|
}
|
|
628
628
|
} while (d.currentType !== 13 && d.currentType !== 1);
|
|
629
629
|
const E = d.currentType === 1 ? d.lastOffset : i.currentOffset(), Y = d.currentType === 1 ? d.lastEndLoc : i.currentPosition();
|
|
630
|
-
return a(
|
|
630
|
+
return a(D, E, Y), D;
|
|
631
631
|
}
|
|
632
|
-
function
|
|
633
|
-
const
|
|
632
|
+
function j(i, d, T, _) {
|
|
633
|
+
const D = i.context();
|
|
634
634
|
let S = _.items.length === 0;
|
|
635
635
|
const E = l(1, d, T);
|
|
636
636
|
E.cases = [], E.cases.push(_);
|
|
637
637
|
do {
|
|
638
638
|
const Y = w(i);
|
|
639
639
|
S || (S = Y.items.length === 0), E.cases.push(Y);
|
|
640
|
-
} while (
|
|
641
|
-
return S && s(i,
|
|
640
|
+
} while (D.currentType !== 13);
|
|
641
|
+
return S && s(i, Q.MUST_HAVE_MESSAGES_IN_PLURAL, T, 0), a(E, i.currentOffset(), i.currentPosition()), E;
|
|
642
642
|
}
|
|
643
643
|
function A(i) {
|
|
644
|
-
const d = i.context(), { offset: T, startLoc: _ } = d,
|
|
645
|
-
return d.currentType === 13 ?
|
|
644
|
+
const d = i.context(), { offset: T, startLoc: _ } = d, D = w(i);
|
|
645
|
+
return d.currentType === 13 ? D : j(i, T, _, D);
|
|
646
646
|
}
|
|
647
|
-
function
|
|
647
|
+
function M(i) {
|
|
648
648
|
const d = As(i, de({}, e)), T = d.context(), _ = l(0, T.offset, T.startLoc);
|
|
649
|
-
return t && _.loc && (_.loc.source = i), _.body = A(d), e.onCacheKey && (_.cacheKey = e.onCacheKey(i)), T.currentType !== 13 && s(d,
|
|
649
|
+
return t && _.loc && (_.loc.source = i), _.body = A(d), e.onCacheKey && (_.cacheKey = e.onCacheKey(i)), T.currentType !== 13 && s(d, Q.UNEXPECTED_LEXICAL_ANALYSIS, T.lastStartLoc, 0, i[T.offset] || ""), a(_, d.currentOffset(), d.currentPosition()), _;
|
|
650
650
|
}
|
|
651
|
-
return { parse:
|
|
651
|
+
return { parse: M };
|
|
652
652
|
}
|
|
653
653
|
function Ne(e) {
|
|
654
654
|
if (e.type === 13)
|
|
@@ -789,7 +789,7 @@ function Ge(e) {
|
|
|
789
789
|
}
|
|
790
790
|
delete e.type;
|
|
791
791
|
}
|
|
792
|
-
function
|
|
792
|
+
function Ws(e, t) {
|
|
793
793
|
const { filename: n, breakLineCode: s, needIndent: l } = t, a = t.location !== !1, c = {
|
|
794
794
|
filename: n,
|
|
795
795
|
code: "",
|
|
@@ -803,20 +803,20 @@ function js(e, t) {
|
|
|
803
803
|
};
|
|
804
804
|
a && e.loc && (c.source = e.loc.source);
|
|
805
805
|
const u = () => c;
|
|
806
|
-
function m(A,
|
|
806
|
+
function m(A, M) {
|
|
807
807
|
c.code += A;
|
|
808
808
|
}
|
|
809
|
-
function p(A,
|
|
810
|
-
const i =
|
|
809
|
+
function p(A, M = !0) {
|
|
810
|
+
const i = M ? s : "";
|
|
811
811
|
m(l ? i + " ".repeat(A) : i);
|
|
812
812
|
}
|
|
813
813
|
function N(A = !0) {
|
|
814
|
-
const
|
|
815
|
-
A && p(
|
|
814
|
+
const M = ++c.indentLevel;
|
|
815
|
+
A && p(M);
|
|
816
816
|
}
|
|
817
817
|
function L(A = !0) {
|
|
818
|
-
const
|
|
819
|
-
A && p(
|
|
818
|
+
const M = --c.indentLevel;
|
|
819
|
+
A && p(M);
|
|
820
820
|
}
|
|
821
821
|
function O() {
|
|
822
822
|
p(c.indentLevel);
|
|
@@ -831,7 +831,7 @@ function js(e, t) {
|
|
|
831
831
|
needIndent: () => c.needIndent
|
|
832
832
|
};
|
|
833
833
|
}
|
|
834
|
-
function
|
|
834
|
+
function js(e, t) {
|
|
835
835
|
const { helper: n } = e;
|
|
836
836
|
e.push(`${n(
|
|
837
837
|
"linked"
|
|
@@ -878,7 +878,7 @@ function Ze(e, t) {
|
|
|
878
878
|
Vs(e, t);
|
|
879
879
|
break;
|
|
880
880
|
case 6:
|
|
881
|
-
|
|
881
|
+
js(e, t);
|
|
882
882
|
break;
|
|
883
883
|
case 8:
|
|
884
884
|
e.push(JSON.stringify(t.value), t);
|
|
@@ -916,7 +916,7 @@ const Xs = (e, t = {}) => {
|
|
|
916
916
|
const n = P(t.mode) ? t.mode : "normal", s = P(t.filename) ? t.filename : "message.intl";
|
|
917
917
|
t.sourceMap;
|
|
918
918
|
const l = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
|
|
919
|
-
`, a = t.needIndent ? t.needIndent : n !== "arrow", c = e.helpers || [], u =
|
|
919
|
+
`, a = t.needIndent ? t.needIndent : n !== "arrow", c = e.helpers || [], u = Ws(e, {
|
|
920
920
|
filename: s,
|
|
921
921
|
breakLineCode: l,
|
|
922
922
|
needIndent: a
|
|
@@ -949,7 +949,7 @@ function Hs(e, t) {
|
|
|
949
949
|
/* NodeTypes.Resource */
|
|
950
950
|
);
|
|
951
951
|
if (Ht(n) === 1) {
|
|
952
|
-
const a =
|
|
952
|
+
const a = Qs(n);
|
|
953
953
|
return e.plural(a.reduce((c, u) => [
|
|
954
954
|
...c,
|
|
955
955
|
rn(e, u)
|
|
@@ -959,11 +959,11 @@ function Hs(e, t) {
|
|
|
959
959
|
}
|
|
960
960
|
const Js = ["b", "body"];
|
|
961
961
|
function $s(e) {
|
|
962
|
-
return
|
|
962
|
+
return De(e, Js);
|
|
963
963
|
}
|
|
964
964
|
const Ks = ["c", "cases"];
|
|
965
|
-
function
|
|
966
|
-
return
|
|
965
|
+
function Qs(e) {
|
|
966
|
+
return De(e, Ks, []);
|
|
967
967
|
}
|
|
968
968
|
function rn(e, t) {
|
|
969
969
|
const n = qs(t);
|
|
@@ -974,13 +974,13 @@ function rn(e, t) {
|
|
|
974
974
|
return e.normalize(s);
|
|
975
975
|
}
|
|
976
976
|
}
|
|
977
|
-
const
|
|
977
|
+
const zs = ["s", "static"];
|
|
978
978
|
function qs(e) {
|
|
979
|
-
return
|
|
979
|
+
return De(e, zs);
|
|
980
980
|
}
|
|
981
981
|
const ea = ["i", "items"];
|
|
982
982
|
function ta(e) {
|
|
983
|
-
return
|
|
983
|
+
return De(e, ea, []);
|
|
984
984
|
}
|
|
985
985
|
function wt(e, t) {
|
|
986
986
|
const n = Ht(t);
|
|
@@ -1019,22 +1019,22 @@ function wt(e, t) {
|
|
|
1019
1019
|
}
|
|
1020
1020
|
const na = ["t", "type"];
|
|
1021
1021
|
function Ht(e) {
|
|
1022
|
-
return
|
|
1022
|
+
return De(e, na);
|
|
1023
1023
|
}
|
|
1024
1024
|
const sa = ["v", "value"];
|
|
1025
1025
|
function ot(e, t) {
|
|
1026
|
-
const n =
|
|
1026
|
+
const n = De(e, sa);
|
|
1027
1027
|
if (n)
|
|
1028
1028
|
return n;
|
|
1029
1029
|
throw et(t);
|
|
1030
1030
|
}
|
|
1031
1031
|
const aa = ["m", "modifier"];
|
|
1032
1032
|
function ra(e) {
|
|
1033
|
-
return
|
|
1033
|
+
return De(e, aa);
|
|
1034
1034
|
}
|
|
1035
1035
|
const la = ["k", "key"];
|
|
1036
1036
|
function oa(e) {
|
|
1037
|
-
const t =
|
|
1037
|
+
const t = De(e, la);
|
|
1038
1038
|
if (t)
|
|
1039
1039
|
return t;
|
|
1040
1040
|
throw et(
|
|
@@ -1042,7 +1042,7 @@ function oa(e) {
|
|
|
1042
1042
|
/* NodeTypes.Linked */
|
|
1043
1043
|
);
|
|
1044
1044
|
}
|
|
1045
|
-
function
|
|
1045
|
+
function De(e, t, n) {
|
|
1046
1046
|
for (let s = 0; s < t.length; s++) {
|
|
1047
1047
|
const l = t[s];
|
|
1048
1048
|
if (ye(e, l) && e[l] != null)
|
|
@@ -1135,13 +1135,13 @@ function ln(e) {
|
|
|
1135
1135
|
} else
|
|
1136
1136
|
throw Re(Ce.NOT_SUPPORT_LOCALE_TYPE);
|
|
1137
1137
|
}
|
|
1138
|
-
function
|
|
1138
|
+
function ba(e, t, n) {
|
|
1139
1139
|
return [.../* @__PURE__ */ new Set([
|
|
1140
1140
|
n,
|
|
1141
1141
|
...ce(t) ? t : K(t) ? Object.keys(t) : P(t) ? [t] : [n]
|
|
1142
1142
|
])];
|
|
1143
1143
|
}
|
|
1144
|
-
function
|
|
1144
|
+
function Mn(e, t, n) {
|
|
1145
1145
|
const s = P(n) ? n : pt, l = e;
|
|
1146
1146
|
l.__localeChainCache || (l.__localeChainCache = /* @__PURE__ */ new Map());
|
|
1147
1147
|
let a = l.__localeChainCache.get(s);
|
|
@@ -1159,11 +1159,11 @@ function on(e, t, n) {
|
|
|
1159
1159
|
let s = !0;
|
|
1160
1160
|
for (let l = 0; l < t.length && ie(s); l++) {
|
|
1161
1161
|
const a = t[l];
|
|
1162
|
-
P(a) && (s =
|
|
1162
|
+
P(a) && (s = ga(e, t[l], n));
|
|
1163
1163
|
}
|
|
1164
1164
|
return s;
|
|
1165
1165
|
}
|
|
1166
|
-
function
|
|
1166
|
+
function ga(e, t, n) {
|
|
1167
1167
|
let s;
|
|
1168
1168
|
const l = t.split("-");
|
|
1169
1169
|
do {
|
|
@@ -1420,9 +1420,9 @@ function Ta(e) {
|
|
|
1420
1420
|
}
|
|
1421
1421
|
};
|
|
1422
1422
|
function w() {
|
|
1423
|
-
const
|
|
1424
|
-
if (s === 5 &&
|
|
1425
|
-
return n++, u = "\\" +
|
|
1423
|
+
const j = e[n + 1];
|
|
1424
|
+
if (s === 5 && j === "'" || s === 6 && j === '"')
|
|
1425
|
+
return n++, u = "\\" + j, O[
|
|
1426
1426
|
0
|
|
1427
1427
|
/* Actions.APPEND */
|
|
1428
1428
|
](), !0;
|
|
@@ -1463,9 +1463,9 @@ function Ca() {
|
|
|
1463
1463
|
capitalize: (e, t) => t === "text" && P(e) ? mn(e) : t === "vnode" && K(e) && "__v_isVNode" in e ? mn(e.children) : e
|
|
1464
1464
|
};
|
|
1465
1465
|
}
|
|
1466
|
-
let
|
|
1466
|
+
let Dn;
|
|
1467
1467
|
function Ra(e) {
|
|
1468
|
-
|
|
1468
|
+
Dn = e;
|
|
1469
1469
|
}
|
|
1470
1470
|
let wn;
|
|
1471
1471
|
function Aa(e) {
|
|
@@ -1476,16 +1476,16 @@ function Sa(e) {
|
|
|
1476
1476
|
Pn = e;
|
|
1477
1477
|
}
|
|
1478
1478
|
let Fn = null;
|
|
1479
|
-
const
|
|
1479
|
+
const Ma = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
1480
1480
|
Fn = e;
|
|
1481
|
-
},
|
|
1481
|
+
}, Da = /* @__NO_SIDE_EFFECTS__ */ () => Fn;
|
|
1482
1482
|
let Un = null;
|
|
1483
1483
|
const dn = (e) => {
|
|
1484
1484
|
Un = e;
|
|
1485
1485
|
}, wa = () => Un;
|
|
1486
1486
|
let fn = 0;
|
|
1487
1487
|
function Pa(e = {}) {
|
|
1488
|
-
const t = ae(e.onWarn) ? e.onWarn : Es, n = P(e.version) ? e.version : La, s = P(e.locale) || ae(e.locale) ? e.locale : pt, l = ae(s) ? pt : s, a = ce(e.fallbackLocale) || $(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = $(e.messages) ? e.messages : At(l), u = $(e.datetimeFormats) ? e.datetimeFormats : At(l), m = $(e.numberFormats) ? e.numberFormats : At(l), p = de(ee(), e.modifiers, Ca()), N = e.pluralRules || ee(), L = ae(e.missing) ? e.missing : null, O = ie(e.missingWarn) || _t(e.missingWarn) ? e.missingWarn : !0, w = ie(e.fallbackWarn) || _t(e.fallbackWarn) ? e.fallbackWarn : !0,
|
|
1488
|
+
const t = ae(e.onWarn) ? e.onWarn : Es, n = P(e.version) ? e.version : La, s = P(e.locale) || ae(e.locale) ? e.locale : pt, l = ae(s) ? pt : s, a = ce(e.fallbackLocale) || $(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = $(e.messages) ? e.messages : At(l), u = $(e.datetimeFormats) ? e.datetimeFormats : At(l), m = $(e.numberFormats) ? e.numberFormats : At(l), p = de(ee(), e.modifiers, Ca()), N = e.pluralRules || ee(), L = ae(e.missing) ? e.missing : null, O = ie(e.missingWarn) || _t(e.missingWarn) ? e.missingWarn : !0, w = ie(e.fallbackWarn) || _t(e.fallbackWarn) ? e.fallbackWarn : !0, j = !!e.fallbackFormat, A = !!e.unresolving, M = ae(e.postTranslation) ? e.postTranslation : null, i = $(e.processor) ? e.processor : null, d = ie(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, T = !!e.escapeParameter, _ = ae(e.messageCompiler) ? e.messageCompiler : Dn, D = ae(e.messageResolver) ? e.messageResolver : wn || ka, S = ae(e.localeFallbacker) ? e.localeFallbacker : Pn || ba, E = K(e.fallbackContext) ? e.fallbackContext : void 0, Y = e, h = K(Y.__datetimeFormatters) ? Y.__datetimeFormatters : /* @__PURE__ */ new Map(), g = K(Y.__numberFormatters) ? Y.__numberFormatters : /* @__PURE__ */ new Map(), C = K(Y.__meta) ? Y.__meta : {};
|
|
1489
1489
|
fn++;
|
|
1490
1490
|
const I = {
|
|
1491
1491
|
version: n,
|
|
@@ -1498,20 +1498,20 @@ function Pa(e = {}) {
|
|
|
1498
1498
|
missing: L,
|
|
1499
1499
|
missingWarn: O,
|
|
1500
1500
|
fallbackWarn: w,
|
|
1501
|
-
fallbackFormat:
|
|
1501
|
+
fallbackFormat: j,
|
|
1502
1502
|
unresolving: A,
|
|
1503
|
-
postTranslation:
|
|
1503
|
+
postTranslation: M,
|
|
1504
1504
|
processor: i,
|
|
1505
1505
|
warnHtmlMessage: d,
|
|
1506
1506
|
escapeParameter: T,
|
|
1507
1507
|
messageCompiler: _,
|
|
1508
|
-
messageResolver:
|
|
1508
|
+
messageResolver: D,
|
|
1509
1509
|
localeFallbacker: S,
|
|
1510
1510
|
fallbackContext: E,
|
|
1511
1511
|
onWarn: t,
|
|
1512
1512
|
__meta: C
|
|
1513
1513
|
};
|
|
1514
|
-
return I.datetimeFormats = u, I.numberFormats = m, I.__datetimeFormatters = h, I.__numberFormatters =
|
|
1514
|
+
return I.datetimeFormats = u, I.numberFormats = m, I.__datetimeFormatters = h, I.__numberFormatters = g, __INTLIFY_PROD_DEVTOOLS__ && da(I, n, C), I;
|
|
1515
1515
|
}
|
|
1516
1516
|
const At = (e) => ({ [e]: ee() });
|
|
1517
1517
|
function $t(e, t, n, s, l) {
|
|
@@ -1522,7 +1522,7 @@ function $t(e, t, n, s, l) {
|
|
|
1522
1522
|
} else
|
|
1523
1523
|
return t;
|
|
1524
1524
|
}
|
|
1525
|
-
function
|
|
1525
|
+
function ze(e, t, n) {
|
|
1526
1526
|
const s = e;
|
|
1527
1527
|
s.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
|
|
1528
1528
|
}
|
|
@@ -1541,26 +1541,26 @@ function Ua(e, t) {
|
|
|
1541
1541
|
function _n(e, ...t) {
|
|
1542
1542
|
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __datetimeFormatters: u } = e, [m, p, N, L] = Pt(...t), O = ie(N.missingWarn) ? N.missingWarn : e.missingWarn;
|
|
1543
1543
|
ie(N.fallbackWarn) ? N.fallbackWarn : e.fallbackWarn;
|
|
1544
|
-
const w = !!N.part,
|
|
1544
|
+
const w = !!N.part, j = Jt(e, N), A = c(
|
|
1545
1545
|
e,
|
|
1546
1546
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1547
1547
|
l,
|
|
1548
|
-
|
|
1548
|
+
j
|
|
1549
1549
|
);
|
|
1550
1550
|
if (!P(m) || m === "")
|
|
1551
|
-
return new Intl.DateTimeFormat(
|
|
1552
|
-
let
|
|
1551
|
+
return new Intl.DateTimeFormat(j, L).format(p);
|
|
1552
|
+
let M = {}, i, d = null;
|
|
1553
1553
|
const T = "datetime format";
|
|
1554
|
-
for (let S = 0; S < A.length && (i = A[S],
|
|
1554
|
+
for (let S = 0; S < A.length && (i = A[S], M = n[i] || {}, d = M[m], !$(d)); S++)
|
|
1555
1555
|
$t(e, m, i, O, T);
|
|
1556
1556
|
if (!$(d) || !P(i))
|
|
1557
1557
|
return s ? vt : m;
|
|
1558
1558
|
let _ = `${i}__${m}`;
|
|
1559
|
-
|
|
1560
|
-
let
|
|
1561
|
-
return
|
|
1559
|
+
gt(L) || (_ = `${_}__${JSON.stringify(L)}`);
|
|
1560
|
+
let D = u.get(_);
|
|
1561
|
+
return D || (D = new Intl.DateTimeFormat(i, de({}, d, L)), u.set(_, D)), w ? D.formatToParts(p) : D.format(p);
|
|
1562
1562
|
}
|
|
1563
|
-
const
|
|
1563
|
+
const Wn = [
|
|
1564
1564
|
"localeMatcher",
|
|
1565
1565
|
"weekday",
|
|
1566
1566
|
"era",
|
|
@@ -1605,7 +1605,7 @@ function Pt(...e) {
|
|
|
1605
1605
|
else
|
|
1606
1606
|
throw Re(Ce.INVALID_ARGUMENT);
|
|
1607
1607
|
return P(n) ? a.key = n : $(n) && Object.keys(n).forEach((m) => {
|
|
1608
|
-
|
|
1608
|
+
Wn.includes(m) ? c[m] = n[m] : a[m] = n[m];
|
|
1609
1609
|
}), P(s) ? a.locale = s : $(s) && (c = s), $(l) && (c = l), [a.key || "", u, a, c];
|
|
1610
1610
|
}
|
|
1611
1611
|
function pn(e, t, n) {
|
|
@@ -1615,29 +1615,29 @@ function pn(e, t, n) {
|
|
|
1615
1615
|
s.__datetimeFormatters.has(a) && s.__datetimeFormatters.delete(a);
|
|
1616
1616
|
}
|
|
1617
1617
|
}
|
|
1618
|
-
function
|
|
1618
|
+
function bn(e, ...t) {
|
|
1619
1619
|
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __numberFormatters: u } = e, [m, p, N, L] = Ft(...t), O = ie(N.missingWarn) ? N.missingWarn : e.missingWarn;
|
|
1620
1620
|
ie(N.fallbackWarn) ? N.fallbackWarn : e.fallbackWarn;
|
|
1621
|
-
const w = !!N.part,
|
|
1621
|
+
const w = !!N.part, j = Jt(e, N), A = c(
|
|
1622
1622
|
e,
|
|
1623
1623
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1624
1624
|
l,
|
|
1625
|
-
|
|
1625
|
+
j
|
|
1626
1626
|
);
|
|
1627
1627
|
if (!P(m) || m === "")
|
|
1628
|
-
return new Intl.NumberFormat(
|
|
1629
|
-
let
|
|
1628
|
+
return new Intl.NumberFormat(j, L).format(p);
|
|
1629
|
+
let M = {}, i, d = null;
|
|
1630
1630
|
const T = "number format";
|
|
1631
|
-
for (let S = 0; S < A.length && (i = A[S],
|
|
1631
|
+
for (let S = 0; S < A.length && (i = A[S], M = n[i] || {}, d = M[m], !$(d)); S++)
|
|
1632
1632
|
$t(e, m, i, O, T);
|
|
1633
1633
|
if (!$(d) || !P(i))
|
|
1634
1634
|
return s ? vt : m;
|
|
1635
1635
|
let _ = `${i}__${m}`;
|
|
1636
|
-
|
|
1637
|
-
let
|
|
1638
|
-
return
|
|
1636
|
+
gt(L) || (_ = `${_}__${JSON.stringify(L)}`);
|
|
1637
|
+
let D = u.get(_);
|
|
1638
|
+
return D || (D = new Intl.NumberFormat(i, de({}, d, L)), u.set(_, D)), w ? D.formatToParts(p) : D.format(p);
|
|
1639
1639
|
}
|
|
1640
|
-
const
|
|
1640
|
+
const jn = [
|
|
1641
1641
|
"localeMatcher",
|
|
1642
1642
|
"style",
|
|
1643
1643
|
"currency",
|
|
@@ -1666,17 +1666,17 @@ function Ft(...e) {
|
|
|
1666
1666
|
throw Re(Ce.INVALID_ARGUMENT);
|
|
1667
1667
|
const u = t;
|
|
1668
1668
|
return P(n) ? a.key = n : $(n) && Object.keys(n).forEach((m) => {
|
|
1669
|
-
|
|
1669
|
+
jn.includes(m) ? c[m] = n[m] : a[m] = n[m];
|
|
1670
1670
|
}), P(s) ? a.locale = s : $(s) && (c = s), $(l) && (c = l), [a.key || "", u, a, c];
|
|
1671
1671
|
}
|
|
1672
|
-
function
|
|
1672
|
+
function gn(e, t, n) {
|
|
1673
1673
|
const s = e;
|
|
1674
1674
|
for (const l in n) {
|
|
1675
1675
|
const a = `${t}__${l}`;
|
|
1676
1676
|
s.__numberFormatters.has(a) && s.__numberFormatters.delete(a);
|
|
1677
1677
|
}
|
|
1678
1678
|
}
|
|
1679
|
-
const
|
|
1679
|
+
const Wa = (e) => e, ja = (e) => "", Va = "text", Ga = (e) => e.length === 0 ? "" : Yt(e), xa = vs;
|
|
1680
1680
|
function hn(e, t) {
|
|
1681
1681
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1682
1682
|
}
|
|
@@ -1693,48 +1693,48 @@ function Ya(e = {}) {
|
|
|
1693
1693
|
const p = (i) => m[i];
|
|
1694
1694
|
function N(i, d) {
|
|
1695
1695
|
const T = ae(e.messages) ? e.messages(i, !!d) : K(e.messages) ? e.messages[i] : !1;
|
|
1696
|
-
return T || (e.parent ? e.parent.message(i) :
|
|
1696
|
+
return T || (e.parent ? e.parent.message(i) : ja);
|
|
1697
1697
|
}
|
|
1698
|
-
const L = (i) => e.modifiers ? e.modifiers[i] :
|
|
1698
|
+
const L = (i) => e.modifiers ? e.modifiers[i] : Wa, O = $(e.processor) && ae(e.processor.normalize) ? e.processor.normalize : Ga, w = $(e.processor) && ae(e.processor.interpolate) ? e.processor.interpolate : xa, j = $(e.processor) && P(e.processor.type) ? e.processor.type : Va, M = {
|
|
1699
1699
|
list: u,
|
|
1700
1700
|
named: p,
|
|
1701
1701
|
plural: a,
|
|
1702
1702
|
linked: (i, ...d) => {
|
|
1703
1703
|
const [T, _] = d;
|
|
1704
|
-
let
|
|
1705
|
-
d.length === 1 ? K(T) ? (S = T.modifier || S,
|
|
1706
|
-
const E = N(i, !0)(
|
|
1704
|
+
let D = "text", S = "";
|
|
1705
|
+
d.length === 1 ? K(T) ? (S = T.modifier || S, D = T.type || D) : P(T) && (S = T || S) : d.length === 2 && (P(T) && (S = T || S), P(_) && (D = _ || D));
|
|
1706
|
+
const E = N(i, !0)(M), Y = (
|
|
1707
1707
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1708
|
-
|
|
1708
|
+
D === "vnode" && ce(E) && S ? E[0] : E
|
|
1709
1709
|
);
|
|
1710
|
-
return S ? L(S)(Y,
|
|
1710
|
+
return S ? L(S)(Y, D) : Y;
|
|
1711
1711
|
},
|
|
1712
1712
|
message: N,
|
|
1713
|
-
type:
|
|
1713
|
+
type: j,
|
|
1714
1714
|
interpolate: w,
|
|
1715
1715
|
normalize: O,
|
|
1716
1716
|
values: de(ee(), c, m)
|
|
1717
1717
|
};
|
|
1718
|
-
return
|
|
1718
|
+
return M;
|
|
1719
1719
|
}
|
|
1720
1720
|
const vn = () => "", ve = (e) => ae(e);
|
|
1721
1721
|
function En(e, ...t) {
|
|
1722
|
-
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: u } = e, [m, p] = Ut(...t), N = ie(p.missingWarn) ? p.missingWarn : e.missingWarn, L = ie(p.fallbackWarn) ? p.fallbackWarn : e.fallbackWarn, O = ie(p.escapeParameter) ? p.escapeParameter : e.escapeParameter, w = !!p.resolvedMessage,
|
|
1722
|
+
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: u } = e, [m, p] = Ut(...t), N = ie(p.missingWarn) ? p.missingWarn : e.missingWarn, L = ie(p.fallbackWarn) ? p.fallbackWarn : e.fallbackWarn, O = ie(p.escapeParameter) ? p.escapeParameter : e.escapeParameter, w = !!p.resolvedMessage, j = P(p.default) || ie(p.default) ? ie(p.default) ? a ? m : () => m : p.default : n ? a ? m : () => m : null, A = n || j != null && (P(j) || ae(j)), M = Jt(e, p);
|
|
1723
1723
|
O && Ba(p);
|
|
1724
1724
|
let [i, d, T] = w ? [
|
|
1725
1725
|
m,
|
|
1726
|
-
|
|
1727
|
-
u[
|
|
1728
|
-
] : Vn(e, m,
|
|
1729
|
-
if (!w && !(P(_) || Ye(_) || ve(_)) && A && (_ =
|
|
1726
|
+
M,
|
|
1727
|
+
u[M] || ee()
|
|
1728
|
+
] : Vn(e, m, M, c, L, N), _ = i, D = m;
|
|
1729
|
+
if (!w && !(P(_) || Ye(_) || ve(_)) && A && (_ = j, D = _), !w && (!(P(_) || Ye(_) || ve(_)) || !P(d)))
|
|
1730
1730
|
return l ? vt : m;
|
|
1731
1731
|
let S = !1;
|
|
1732
1732
|
const E = () => {
|
|
1733
1733
|
S = !0;
|
|
1734
|
-
}, Y = ve(_) ? _ : Gn(e, m, d, _,
|
|
1734
|
+
}, Y = ve(_) ? _ : Gn(e, m, d, _, D, E);
|
|
1735
1735
|
if (S)
|
|
1736
1736
|
return _;
|
|
1737
|
-
const h = $a(e, d, T, p),
|
|
1737
|
+
const h = $a(e, d, T, p), g = Ya(h), C = Ha(e, Y, g), I = s ? s(C, m) : C;
|
|
1738
1738
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1739
1739
|
const F = {
|
|
1740
1740
|
timestamp: Date.now(),
|
|
@@ -1743,7 +1743,7 @@ function En(e, ...t) {
|
|
|
1743
1743
|
format: P(_) ? _ : ve(_) ? _.source : "",
|
|
1744
1744
|
message: I
|
|
1745
1745
|
};
|
|
1746
|
-
F.meta = de({}, e.__meta, /* @__PURE__ */
|
|
1746
|
+
F.meta = de({}, e.__meta, /* @__PURE__ */ Da() || {}), fa(F);
|
|
1747
1747
|
}
|
|
1748
1748
|
return I;
|
|
1749
1749
|
}
|
|
@@ -1755,18 +1755,18 @@ function Ba(e) {
|
|
|
1755
1755
|
function Vn(e, t, n, s, l, a) {
|
|
1756
1756
|
const { messages: c, onWarn: u, messageResolver: m, localeFallbacker: p } = e, N = p(e, s, n);
|
|
1757
1757
|
let L = ee(), O, w = null;
|
|
1758
|
-
const
|
|
1758
|
+
const j = "translate";
|
|
1759
1759
|
for (let A = 0; A < N.length && (O = N[A], L = c[O] || ee(), (w = m(L, t)) === null && (w = L[t]), !(P(w) || Ye(w) || ve(w))); A++)
|
|
1760
1760
|
if (!Ua(O, N)) {
|
|
1761
|
-
const
|
|
1761
|
+
const M = $t(
|
|
1762
1762
|
e,
|
|
1763
1763
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1764
1764
|
t,
|
|
1765
1765
|
O,
|
|
1766
1766
|
a,
|
|
1767
|
-
|
|
1767
|
+
j
|
|
1768
1768
|
);
|
|
1769
|
-
|
|
1769
|
+
M !== t && (w = M);
|
|
1770
1770
|
}
|
|
1771
1771
|
return [w, O, L];
|
|
1772
1772
|
}
|
|
@@ -1791,7 +1791,7 @@ function Ut(...e) {
|
|
|
1791
1791
|
if (!P(t) && !me(t) && !ve(t) && !Ye(t))
|
|
1792
1792
|
throw Re(Ce.INVALID_ARGUMENT);
|
|
1793
1793
|
const a = me(t) ? String(t) : (ve(t), t);
|
|
1794
|
-
return me(n) ? l.plural = n : P(n) ? l.default = n : $(n) && !
|
|
1794
|
+
return me(n) ? l.plural = n : P(n) ? l.default = n : $(n) && !gt(n) ? l.named = n : ce(n) && (l.list = n), me(s) ? l.plural = s : P(s) ? l.default = s : $(s) && de(l, s), [a, l];
|
|
1795
1795
|
}
|
|
1796
1796
|
function Ja(e, t, n, s, l, a) {
|
|
1797
1797
|
return {
|
|
@@ -1809,10 +1809,10 @@ function $a(e, t, n, s) {
|
|
|
1809
1809
|
locale: t,
|
|
1810
1810
|
modifiers: l,
|
|
1811
1811
|
pluralRules: a,
|
|
1812
|
-
messages: (w,
|
|
1812
|
+
messages: (w, j) => {
|
|
1813
1813
|
let A = c(n, w);
|
|
1814
|
-
if (A == null && (N ||
|
|
1815
|
-
const [, ,
|
|
1814
|
+
if (A == null && (N || j)) {
|
|
1815
|
+
const [, , M] = Vn(
|
|
1816
1816
|
N || e,
|
|
1817
1817
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1818
1818
|
w,
|
|
@@ -1821,23 +1821,23 @@ function $a(e, t, n, s) {
|
|
|
1821
1821
|
m,
|
|
1822
1822
|
p
|
|
1823
1823
|
);
|
|
1824
|
-
A = c(
|
|
1824
|
+
A = c(M, w);
|
|
1825
1825
|
}
|
|
1826
1826
|
if (P(A) || Ye(A)) {
|
|
1827
|
-
let
|
|
1827
|
+
let M = !1;
|
|
1828
1828
|
const d = Gn(e, w, t, A, w, () => {
|
|
1829
|
-
|
|
1829
|
+
M = !0;
|
|
1830
1830
|
});
|
|
1831
|
-
return
|
|
1831
|
+
return M ? vn : d;
|
|
1832
1832
|
} else return ve(A) ? A : vn;
|
|
1833
1833
|
}
|
|
1834
1834
|
};
|
|
1835
1835
|
return e.processor && (O.processor = e.processor), s.list && (O.list = s.list), s.named && (O.named = s.named), me(s.plural) && (O.pluralIndex = s.plural), O;
|
|
1836
1836
|
}
|
|
1837
1837
|
Bs();
|
|
1838
|
-
var Ka = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_3b271274-6614-4ce5-a76c-edfd720fa309", 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_3b271274-6614-4ce5-a76c-edfd720fa309", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.2.0", npm_node_execpath: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_files_0: "dist", npm_package_devDependencies_eslint_import_resolver_typescript: "^4.4.4", HOME: "/home/runner", npm_package_devDependencies__eslint_js: "^9.39.2", npm_package_devDependencies__typescript_eslint_parser: "^8.52.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_devDependencies_eslint_config_prettier: "^10.1.8", npm_config_save_workspace_protocol: "true", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.5.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "^1.29.10", npm_package_devDependencies_code_inspector_plugin: "^0.20.16", npm_package_devDependencies_npm_run_all2: "^6.0.6", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1844", ACTIONS_ORCHESTRATION_ID: "778266c1-9f8d-416e-a4f2-a20a9a157f7b.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.10.6", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "VITE_TARGET_ENV=dev pnpm build:mf && pnpm build:dts", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.9.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.6", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260615.205.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:12467", 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.11/x64", GITHUB_RUN_ID: "28075318854", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "be95410545ad0952b74e4319204d8efea9668320", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/feat/KDI-4956-enhance-audit-log-ui", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L0tESS00OTU2LWVuaGFuY2UtYXVkaXQtbG9nLXVpXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzgyMjk3NzQ4LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3ODIyNzU1NDgsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiIwNzdjZTM1Mi0zYzczLTU5MDgtOWJlNy00MmFiZGRkNDEyOWEiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3ODIyNzUyNDgsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwianVuLWxlZS1mZWVkbWVcIixcImFjdG9yX2lkXCI6XCIyMzkyODI4NjJcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiODMxMTgyNjY5MDhcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjcwYmY0MWE4MmY0ZjZkZDNiYmQxODYyYjI2OGIxZTA5MWUzOTYwOWNcIixcInJlZlwiOlwicmVmcy9oZWFkcy9mZWF0L0tESS00OTU2LWVuaGFuY2UtYXVkaXQtbG9nLXVpXCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjI4MDc1MzE4ODU0XCIsXCJydW5fbnVtYmVyXCI6XCIxMzBcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCJiZTk1NDEwNTQ1YWQwOTUyYjc0ZTQzMTkyMDRkOGVmZWE5NjY4MzIwXCIsXCJ3b3JrZmxvd1wiOlwiUHVibGlzaCBocm0tcG9ydGFsXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLWhybS1wb3J0YWwtdHJ1c3RlZC55bWxAcmVmcy9oZWFkcy9mZWF0L0tESS00OTU2LWVuaGFuY2UtYXVkaXQtbG9nLXVpXCIsXCJ3b3JrZmxvd19zaGFcIjpcImJlOTU0MTA1NDVhZDA5NTJiNzRlNDMxOTIwNGQ4ZWZlYTk2NjgzMjBcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL2hybS1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL2ZlYXQvS0RJLTQ5NTYtZW5oYW5jZS1hdWRpdC1sb2ctdWkiLCJvcmNoX2lkIjoiNzc4MjY2YzEtOWY4ZC00MTZlLWE0ZjItYTIwYTlhMTU3ZjdiLnB1Ymxpc2gucHVibGlzaC5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiI3NzgyNjZjMS05ZjhkLTQxNmUtYTRmMi1hMjBhOWExNTdmN2IiLCJyZXBvc2l0b3J5X2lkIjoiMTEyNDY3MjIzNSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1NDgzMTUxNSIsInJlcG9zaXRvcnlfdmlzaWJpbGl0eSI6InByaXZhdGUiLCJydW5faWQiOiIyODA3NTMxODg1NCIsInJ1bl9udW1iZXIiOiIxMzAiLCJydW5fdHlwZSI6ImZ1bGwiLCJydW5uZXJfaWQiOiIxMDAwMDc5OTQyIiwicnVubmVyX3R5cGUiOiJob3N0ZWQiLCJzY3AiOiJBY3Rpb25zLlJlc3VsdHM6Nzc4MjY2YzEtOWY4ZC00MTZlLWE0ZjItYTIwYTlhMTU3ZjdiOjA3N2NlMzUyLTNjNzMtNTkwOC05YmU3LTQyYWJkZGQ0MTI5YSBBY3Rpb25zLlJ1bm5lcjo3NzgyNjZjMS05ZjhkLTQxNmUtYTRmMi1hMjBhOWExNTdmN2I6MDc3Y2UzNTItM2M3My01OTA4LTliZTctNDJhYmRkZDQxMjlhIEFjdGlvbnMuVXBsb2FkQXJ0aWZhY3RzOjc3ODI2NmMxLTlmOGQtNDE2ZS1hNGYyLWEyMGE5YTE1N2Y3YjowNzdjZTM1Mi0zYzczLTU5MDgtOWJlNy00MmFiZGRkNDEyOWEgZ2VuZXJhdGVfaWRfdG9rZW46Nzc4MjY2YzEtOWY4ZC00MTZlLWE0ZjItYTIwYTlhMTU3ZjdiOjA3N2NlMzUyLTNjNzMtNTkwOC05YmU3LTQyYWJkZGQ0MTI5YSBBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInNoYSI6ImJlOTU0MTA1NDVhZDA5NTJiNzRlNDMxOTIwNGQ4ZWZlYTk2NjgzMjAiLCJ0cnVzdF90aWVyIjoiMSJ9.nswM9xUHuwG-RqixG7PRNaYabJfNPC5BoWSyKqNe7ws6opcjZZyt_wJ4e1UjIoGeq5_NTxND7cNy6jWrW3gETNiWMahz-RKfMsLue8FxYti3py4lGnWATOQ6yz9BPuPUCkNtXwfM3sj0Dvitz3MVxDBMX24wGBc3YNlZFHXAu2NBI5-qH_Y8B45_VA7zuHPRK7IWenqDNfY6mTb6tNucDhF8BJ_ZqqR7p2YdFpgpkCxNZwsrEs7wEWbf_izwoYOjR6fYOyXoNl5-IRe80iGHItDf5H4VVl80ABVgduvrdbdx3y0WU0TWjs6IpTU58Qh81nSxb_ZYMVy35uYrGaLWSA", 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_639e17cd-219f-4f71-90f2-a65ac4b88899", INVOCATION_ID: "08445a222b9547738d20addbe98f7b98", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", npm_package_name: "@feedmepos/mf-hrm-portal", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "130", 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 1000079942", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/KDI-4956-enhance-audit-log-ui", 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.24-dev.10", 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: "be95410545ad0952b74e4319204d8efea9668320", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/feat/KDI-4956-enhance-audit-log-ui", 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_3b271274-6614-4ce5-a76c-edfd720fa309", 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/8//idtoken/778266c1-9f8d-416e-a4f2-a20a9a157f7b/077ce352-3c73-5908-9be7-42abddd4129a?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_3b271274-6614-4ce5-a76c-edfd720fa309", 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_15.6.1", 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_3b271274-6614-4ce5-a76c-edfd720fa309", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1839
|
-
const
|
|
1840
|
-
function
|
|
1838
|
+
var Ka = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_ce731244-6fc9-4aac-95af-f7fb5a9b6546", 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_ce731244-6fc9-4aac-95af-f7fb5a9b6546", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.2.0", npm_node_execpath: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_files_0: "dist", npm_package_devDependencies_eslint_import_resolver_typescript: "^4.4.4", HOME: "/home/runner", npm_package_devDependencies__eslint_js: "^9.39.2", npm_package_devDependencies__typescript_eslint_parser: "^8.52.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_devDependencies_eslint_config_prettier: "^10.1.8", npm_config_save_workspace_protocol: "true", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.5.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "^1.29.10", npm_package_devDependencies_code_inspector_plugin: "^0.20.16", npm_package_devDependencies_npm_run_all2: "^6.0.6", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1847", ACTIONS_ORCHESTRATION_ID: "373f7d0c-e992-41ce-bf0e-a4ced73a2154.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.10.6", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "VITE_TARGET_ENV=dev pnpm build:mf && pnpm build:dts", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.9.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.6", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260615.205.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:12914", 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.11/x64", GITHUB_RUN_ID: "28076199200", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "eb0f681e00ae714c497251e0878c5c05a252b478", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/feat/KDI-4956-enhance-audit-log-ui", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L0tESS00OTU2LWVuaGFuY2UtYXVkaXQtbG9nLXVpXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzgyMjk5MjY0LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3ODIyNzcwNjQsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiJiYzlhOGJlMi0wY2U0LTVjNTYtYWU0NS00YTU0MWUwYTdkMTYiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3ODIyNzY3NjQsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwianVuLWxlZS1mZWVkbWVcIixcImFjdG9yX2lkXCI6XCIyMzkyODI4NjJcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiODMxMjA4NzM0OTdcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjcwYmY0MWE4MmY0ZjZkZDNiYmQxODYyYjI2OGIxZTA5MWUzOTYwOWNcIixcInJlZlwiOlwicmVmcy9oZWFkcy9mZWF0L0tESS00OTU2LWVuaGFuY2UtYXVkaXQtbG9nLXVpXCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjI4MDc2MTk5MjAwXCIsXCJydW5fbnVtYmVyXCI6XCIxMzFcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCJlYjBmNjgxZTAwYWU3MTRjNDk3MjUxZTA4NzhjNWMwNWEyNTJiNDc4XCIsXCJ3b3JrZmxvd1wiOlwiUHVibGlzaCBocm0tcG9ydGFsXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLWhybS1wb3J0YWwtdHJ1c3RlZC55bWxAcmVmcy9oZWFkcy9mZWF0L0tESS00OTU2LWVuaGFuY2UtYXVkaXQtbG9nLXVpXCIsXCJ3b3JrZmxvd19zaGFcIjpcImViMGY2ODFlMDBhZTcxNGM0OTcyNTFlMDg3OGM1YzA1YTI1MmI0NzhcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL2hybS1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL2ZlYXQvS0RJLTQ5NTYtZW5oYW5jZS1hdWRpdC1sb2ctdWkiLCJvcmNoX2lkIjoiMzczZjdkMGMtZTk5Mi00MWNlLWJmMGUtYTRjZWQ3M2EyMTU0LnB1Ymxpc2gucHVibGlzaC5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiIzNzNmN2QwYy1lOTkyLTQxY2UtYmYwZS1hNGNlZDczYTIxNTQiLCJyZXBvc2l0b3J5X2lkIjoiMTEyNDY3MjIzNSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1NDgzMTUxNSIsInJlcG9zaXRvcnlfdmlzaWJpbGl0eSI6InByaXZhdGUiLCJydW5faWQiOiIyODA3NjE5OTIwMCIsInJ1bl9udW1iZXIiOiIxMzEiLCJydW5fdHlwZSI6ImZ1bGwiLCJydW5uZXJfaWQiOiIxMDAwMDc5OTQ1IiwicnVubmVyX3R5cGUiOiJob3N0ZWQiLCJzY3AiOiJBY3Rpb25zLlJlc3VsdHM6MzczZjdkMGMtZTk5Mi00MWNlLWJmMGUtYTRjZWQ3M2EyMTU0OmJjOWE4YmUyLTBjZTQtNWM1Ni1hZTQ1LTRhNTQxZTBhN2QxNiBBY3Rpb25zLlJ1bm5lcjozNzNmN2QwYy1lOTkyLTQxY2UtYmYwZS1hNGNlZDczYTIxNTQ6YmM5YThiZTItMGNlNC01YzU2LWFlNDUtNGE1NDFlMGE3ZDE2IEFjdGlvbnMuVXBsb2FkQXJ0aWZhY3RzOjM3M2Y3ZDBjLWU5OTItNDFjZS1iZjBlLWE0Y2VkNzNhMjE1NDpiYzlhOGJlMi0wY2U0LTVjNTYtYWU0NS00YTU0MWUwYTdkMTYgZ2VuZXJhdGVfaWRfdG9rZW46MzczZjdkMGMtZTk5Mi00MWNlLWJmMGUtYTRjZWQ3M2EyMTU0OmJjOWE4YmUyLTBjZTQtNWM1Ni1hZTQ1LTRhNTQxZTBhN2QxNiBBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInNoYSI6ImViMGY2ODFlMDBhZTcxNGM0OTcyNTFlMDg3OGM1YzA1YTI1MmI0NzgiLCJ0cnVzdF90aWVyIjoiMSJ9.o9pBoH80zboxdEppYAZnE1d43IqI03woQalF7CFNETe68JJpWcrRFODqRSeq1JqcsRRevg3kOOxVRSAgVc5p2WcskDQwT1JuqeziLZKX0Zo61tRQ2906Wblm3bz2LZ2acqIKpMC975EuH_SWUsC_3BewFzPMYTh80g_WB_3o2Fowv-Hv4Qn9JWGtdb93Y9-LwWpTVJlGVC2MYeVqUAYobijQdNJE39GZH7AIO5z-8d80AmSWGdFMBD-KD2MXXT5RP1ob7GhiSqM8DXT0jFpNsmGdTA90g0-h9sfQeMP5pvLR8qTNwipCzsVQjkM8-_g_ZL0VU1o2y4YyRv7jaemb3Q", 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_028ae530-d817-4923-b084-5dc629021099", INVOCATION_ID: "a1f9dbf1d7d141599dd4540bb19560c6", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", npm_package_name: "@feedmepos/mf-hrm-portal", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "131", 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 1000079945", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/KDI-4956-enhance-audit-log-ui", 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.24-dev.11", 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: "eb0f681e00ae714c497251e0878c5c05a252b478", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/feat/KDI-4956-enhance-audit-log-ui", 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_ce731244-6fc9-4aac-95af-f7fb5a9b6546", 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/193//idtoken/373f7d0c-e992-41ce-bf0e-a4ced73a2154/bc9a8be2-0ce4-5c56-ae45-4a541e0a7d16?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_ce731244-6fc9-4aac-95af-f7fb5a9b6546", 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_15.6.1", 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_ce731244-6fc9-4aac-95af-f7fb5a9b6546", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1839
|
+
const Qa = "10.0.5";
|
|
1840
|
+
function za() {
|
|
1841
1841
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Fe().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Fe().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Fe().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Fe().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
1842
1842
|
}
|
|
1843
1843
|
const Be = {
|
|
@@ -1856,7 +1856,7 @@ const Be = {
|
|
|
1856
1856
|
function nt(e, ...t) {
|
|
1857
1857
|
return ht(e, null, void 0);
|
|
1858
1858
|
}
|
|
1859
|
-
const
|
|
1859
|
+
const Wt = /* @__PURE__ */ Ue("__translateVNode"), jt = /* @__PURE__ */ Ue("__datetimeParts"), Vt = /* @__PURE__ */ Ue("__numberParts"), qa = Ue("__setPluralRules"), xn = /* @__PURE__ */ Ue("__injectWithOption"), Gt = /* @__PURE__ */ Ue("__dispose");
|
|
1860
1860
|
function st(e) {
|
|
1861
1861
|
if (!K(e))
|
|
1862
1862
|
return e;
|
|
@@ -1920,7 +1920,7 @@ function er(e, t, n) {
|
|
|
1920
1920
|
}
|
|
1921
1921
|
}
|
|
1922
1922
|
function In(e) {
|
|
1923
|
-
return _e(
|
|
1923
|
+
return _e(zn, null, e, 0);
|
|
1924
1924
|
}
|
|
1925
1925
|
const yn = "__INTLIFY_META__", Nn = () => [], tr = () => !1;
|
|
1926
1926
|
let Tn = 0;
|
|
@@ -1933,7 +1933,7 @@ const nr = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
|
1933
1933
|
return e && (t = Zn(e)[yn]) ? { [yn]: t } : null;
|
|
1934
1934
|
};
|
|
1935
1935
|
function sr(e = {}) {
|
|
1936
|
-
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = qt ?
|
|
1936
|
+
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = qt ? bt : Kn;
|
|
1937
1937
|
let c = ie(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1938
1938
|
const u = a(
|
|
1939
1939
|
// prettier-ignore
|
|
@@ -1942,17 +1942,17 @@ function sr(e = {}) {
|
|
|
1942
1942
|
// prettier-ignore
|
|
1943
1943
|
t && c ? t.fallbackLocale.value : P(e.fallbackLocale) || ce(e.fallbackLocale) || $(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : u.value
|
|
1944
1944
|
), p = a(Xn(u.value, e)), N = a($(e.datetimeFormats) ? e.datetimeFormats : { [u.value]: {} }), L = a($(e.numberFormats) ? e.numberFormats : { [u.value]: {} });
|
|
1945
|
-
let O = t ? t.missingWarn : ie(e.missingWarn) || _t(e.missingWarn) ? e.missingWarn : !0, w = t ? t.fallbackWarn : ie(e.fallbackWarn) || _t(e.fallbackWarn) ? e.fallbackWarn : !0,
|
|
1946
|
-
const
|
|
1945
|
+
let O = t ? t.missingWarn : ie(e.missingWarn) || _t(e.missingWarn) ? e.missingWarn : !0, w = t ? t.fallbackWarn : ie(e.fallbackWarn) || _t(e.fallbackWarn) ? e.fallbackWarn : !0, j = t ? t.fallbackRoot : ie(e.fallbackRoot) ? e.fallbackRoot : !0, A = !!e.fallbackFormat, M = ae(e.missing) ? e.missing : null, i = ae(e.missing) ? kn(e.missing) : null, d = ae(e.postTranslation) ? e.postTranslation : null, T = t ? t.warnHtmlMessage : ie(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, _ = !!e.escapeParameter;
|
|
1946
|
+
const D = t ? t.modifiers : $(e.modifiers) ? e.modifiers : {};
|
|
1947
1947
|
let S = e.pluralRules || t && t.pluralRules, E;
|
|
1948
1948
|
E = (() => {
|
|
1949
1949
|
s && dn(null);
|
|
1950
1950
|
const f = {
|
|
1951
|
-
version:
|
|
1951
|
+
version: Qa,
|
|
1952
1952
|
locale: u.value,
|
|
1953
1953
|
fallbackLocale: m.value,
|
|
1954
1954
|
messages: p.value,
|
|
1955
|
-
modifiers:
|
|
1955
|
+
modifiers: D,
|
|
1956
1956
|
pluralRules: S,
|
|
1957
1957
|
missing: i === null ? void 0 : i,
|
|
1958
1958
|
missingWarn: O,
|
|
@@ -1969,7 +1969,7 @@ function sr(e = {}) {
|
|
|
1969
1969
|
f.datetimeFormats = N.value, f.numberFormats = L.value, f.__datetimeFormatters = $(E) ? E.__datetimeFormatters : void 0, f.__numberFormatters = $(E) ? E.__numberFormatters : void 0;
|
|
1970
1970
|
const k = Pa(f);
|
|
1971
1971
|
return s && dn(k), k;
|
|
1972
|
-
})(),
|
|
1972
|
+
})(), ze(E, u.value, m.value);
|
|
1973
1973
|
function h() {
|
|
1974
1974
|
return [
|
|
1975
1975
|
u.value,
|
|
@@ -1979,7 +1979,7 @@ function sr(e = {}) {
|
|
|
1979
1979
|
L.value
|
|
1980
1980
|
];
|
|
1981
1981
|
}
|
|
1982
|
-
const
|
|
1982
|
+
const g = q({
|
|
1983
1983
|
get: () => u.value,
|
|
1984
1984
|
set: (f) => {
|
|
1985
1985
|
u.value = f, E.locale = u.value;
|
|
@@ -1987,7 +1987,7 @@ function sr(e = {}) {
|
|
|
1987
1987
|
}), C = q({
|
|
1988
1988
|
get: () => m.value,
|
|
1989
1989
|
set: (f) => {
|
|
1990
|
-
m.value = f, E.fallbackLocale = m.value,
|
|
1990
|
+
m.value = f, E.fallbackLocale = m.value, ze(E, u.value, f);
|
|
1991
1991
|
}
|
|
1992
1992
|
}), I = q(() => p.value), F = /* @__PURE__ */ q(() => N.value), x = /* @__PURE__ */ q(() => L.value);
|
|
1993
1993
|
function y() {
|
|
@@ -1997,10 +1997,10 @@ function sr(e = {}) {
|
|
|
1997
1997
|
d = f, E.postTranslation = f;
|
|
1998
1998
|
}
|
|
1999
1999
|
function v() {
|
|
2000
|
-
return
|
|
2000
|
+
return M;
|
|
2001
2001
|
}
|
|
2002
2002
|
function G(f) {
|
|
2003
|
-
f !== null && (i = kn(f)),
|
|
2003
|
+
f !== null && (i = kn(f)), M = f, E.missing = i;
|
|
2004
2004
|
}
|
|
2005
2005
|
const V = (f, k, ne, le, Pe, at) => {
|
|
2006
2006
|
h();
|
|
@@ -2013,7 +2013,7 @@ function sr(e = {}) {
|
|
|
2013
2013
|
if (ne !== "translate exists" && // for not `te` (e.g `t`)
|
|
2014
2014
|
me(Ve) && Ve === vt || ne === "translate exists" && !Ve) {
|
|
2015
2015
|
const [Jn, xr] = k();
|
|
2016
|
-
return t &&
|
|
2016
|
+
return t && j ? le(t) : Pe(Jn);
|
|
2017
2017
|
} else {
|
|
2018
2018
|
if (at(Ve))
|
|
2019
2019
|
return Ve;
|
|
@@ -2032,8 +2032,8 @@ function sr(e = {}) {
|
|
|
2032
2032
|
function B(...f) {
|
|
2033
2033
|
return V((k) => Reflect.apply(_n, null, [k, ...f]), () => Pt(...f), "datetime format", (k) => Reflect.apply(k.d, k, [...f]), () => un, (k) => P(k));
|
|
2034
2034
|
}
|
|
2035
|
-
function
|
|
2036
|
-
return V((k) => Reflect.apply(
|
|
2035
|
+
function ge(...f) {
|
|
2036
|
+
return V((k) => Reflect.apply(bn, null, [k, ...f]), () => Ft(...f), "number format", (k) => Reflect.apply(k.n, k, [...f]), () => un, (k) => P(k));
|
|
2037
2037
|
}
|
|
2038
2038
|
function fe(f) {
|
|
2039
2039
|
return f.map((k) => P(k) || me(k) || ie(k) ? In(String(k)) : k);
|
|
@@ -2053,13 +2053,13 @@ function sr(e = {}) {
|
|
|
2053
2053
|
le.processor = null;
|
|
2054
2054
|
}
|
|
2055
2055
|
return ne;
|
|
2056
|
-
}, () => Ut(...f), "translate", (k) => k[
|
|
2056
|
+
}, () => Ut(...f), "translate", (k) => k[Wt](...f), (k) => [In(k)], (k) => ce(k));
|
|
2057
2057
|
}
|
|
2058
2058
|
function Je(...f) {
|
|
2059
|
-
return V((k) => Reflect.apply(
|
|
2059
|
+
return V((k) => Reflect.apply(bn, null, [k, ...f]), () => Ft(...f), "number format", (k) => k[Vt](...f), Nn, (k) => P(k) || ce(k));
|
|
2060
2060
|
}
|
|
2061
2061
|
function $e(...f) {
|
|
2062
|
-
return V((k) => Reflect.apply(_n, null, [k, ...f]), () => Pt(...f), "datetime format", (k) => k[
|
|
2062
|
+
return V((k) => Reflect.apply(_n, null, [k, ...f]), () => Pt(...f), "datetime format", (k) => k[jt](...f), Nn, (k) => P(k) || ce(k));
|
|
2063
2063
|
}
|
|
2064
2064
|
function It(f) {
|
|
2065
2065
|
S = f, E.pluralRules = S;
|
|
@@ -2068,13 +2068,13 @@ function sr(e = {}) {
|
|
|
2068
2068
|
return V(() => {
|
|
2069
2069
|
if (!f)
|
|
2070
2070
|
return !1;
|
|
2071
|
-
const ne = P(k) ? k : u.value, le =
|
|
2071
|
+
const ne = P(k) ? k : u.value, le = We(ne), Pe = E.messageResolver(le, f);
|
|
2072
2072
|
return Ye(Pe) || ve(Pe) || P(Pe);
|
|
2073
2073
|
}, () => [f], "translate exists", (ne) => Reflect.apply(ne.te, ne, [f, k]), tr, (ne) => ie(ne));
|
|
2074
2074
|
}
|
|
2075
2075
|
function Nt(f) {
|
|
2076
2076
|
let k = null;
|
|
2077
|
-
const ne =
|
|
2077
|
+
const ne = Mn(E, m.value, u.value);
|
|
2078
2078
|
for (let le = 0; le < ne.length; le++) {
|
|
2079
2079
|
const Pe = p.value[ne[le]] || {}, at = E.messageResolver(Pe, f);
|
|
2080
2080
|
if (at != null) {
|
|
@@ -2088,10 +2088,10 @@ function sr(e = {}) {
|
|
|
2088
2088
|
const k = Nt(f);
|
|
2089
2089
|
return k ?? (t ? t.tm(f) || {} : {});
|
|
2090
2090
|
}
|
|
2091
|
-
function
|
|
2091
|
+
function We(f) {
|
|
2092
2092
|
return p.value[f] || {};
|
|
2093
2093
|
}
|
|
2094
|
-
function
|
|
2094
|
+
function je(f, k) {
|
|
2095
2095
|
if (l) {
|
|
2096
2096
|
const ne = { [f]: k };
|
|
2097
2097
|
for (const le in ne)
|
|
@@ -2100,7 +2100,7 @@ function sr(e = {}) {
|
|
|
2100
2100
|
}
|
|
2101
2101
|
p.value[f] = k, E.messages = p.value;
|
|
2102
2102
|
}
|
|
2103
|
-
function
|
|
2103
|
+
function Qe(f, k) {
|
|
2104
2104
|
p.value[f] = p.value[f] || {};
|
|
2105
2105
|
const ne = { [f]: k };
|
|
2106
2106
|
if (l)
|
|
@@ -2117,36 +2117,36 @@ function sr(e = {}) {
|
|
|
2117
2117
|
function o(f, k) {
|
|
2118
2118
|
N.value[f] = de(N.value[f] || {}, k), E.datetimeFormats = N.value, pn(E, f, k);
|
|
2119
2119
|
}
|
|
2120
|
-
function
|
|
2120
|
+
function b(f) {
|
|
2121
2121
|
return L.value[f] || {};
|
|
2122
2122
|
}
|
|
2123
|
-
function
|
|
2124
|
-
L.value[f] = k, E.numberFormats = L.value,
|
|
2123
|
+
function W(f, k) {
|
|
2124
|
+
L.value[f] = k, E.numberFormats = L.value, gn(E, f, k);
|
|
2125
2125
|
}
|
|
2126
2126
|
function re(f, k) {
|
|
2127
|
-
L.value[f] = de(L.value[f] || {}, k), E.numberFormats = L.value,
|
|
2127
|
+
L.value[f] = de(L.value[f] || {}, k), E.numberFormats = L.value, gn(E, f, k);
|
|
2128
2128
|
}
|
|
2129
2129
|
Tn++, t && qt && (St(t.locale, (f) => {
|
|
2130
|
-
c && (u.value = f, E.locale = f,
|
|
2130
|
+
c && (u.value = f, E.locale = f, ze(E, u.value, m.value));
|
|
2131
2131
|
}), St(t.fallbackLocale, (f) => {
|
|
2132
|
-
c && (m.value = f, E.fallbackLocale = f,
|
|
2132
|
+
c && (m.value = f, E.fallbackLocale = f, ze(E, u.value, m.value));
|
|
2133
2133
|
}));
|
|
2134
2134
|
const Z = {
|
|
2135
2135
|
id: Tn,
|
|
2136
|
-
locale:
|
|
2136
|
+
locale: g,
|
|
2137
2137
|
fallbackLocale: C,
|
|
2138
2138
|
get inheritLocale() {
|
|
2139
2139
|
return c;
|
|
2140
2140
|
},
|
|
2141
2141
|
set inheritLocale(f) {
|
|
2142
|
-
c = f, f && t && (u.value = t.locale.value, m.value = t.fallbackLocale.value,
|
|
2142
|
+
c = f, f && t && (u.value = t.locale.value, m.value = t.fallbackLocale.value, ze(E, u.value, m.value));
|
|
2143
2143
|
},
|
|
2144
2144
|
get availableLocales() {
|
|
2145
2145
|
return Object.keys(p.value).sort();
|
|
2146
2146
|
},
|
|
2147
2147
|
messages: I,
|
|
2148
2148
|
get modifiers() {
|
|
2149
|
-
return
|
|
2149
|
+
return D;
|
|
2150
2150
|
},
|
|
2151
2151
|
get pluralRules() {
|
|
2152
2152
|
return S || {};
|
|
@@ -2167,10 +2167,10 @@ function sr(e = {}) {
|
|
|
2167
2167
|
w = f, E.fallbackWarn = w;
|
|
2168
2168
|
},
|
|
2169
2169
|
get fallbackRoot() {
|
|
2170
|
-
return
|
|
2170
|
+
return j;
|
|
2171
2171
|
},
|
|
2172
2172
|
set fallbackRoot(f) {
|
|
2173
|
-
|
|
2173
|
+
j = f;
|
|
2174
2174
|
},
|
|
2175
2175
|
get fallbackFormat() {
|
|
2176
2176
|
return A;
|
|
@@ -2191,16 +2191,16 @@ function sr(e = {}) {
|
|
|
2191
2191
|
_ = f, E.escapeParameter = f;
|
|
2192
2192
|
},
|
|
2193
2193
|
t: U,
|
|
2194
|
-
getLocaleMessage:
|
|
2195
|
-
setLocaleMessage:
|
|
2196
|
-
mergeLocaleMessage:
|
|
2194
|
+
getLocaleMessage: We,
|
|
2195
|
+
setLocaleMessage: je,
|
|
2196
|
+
mergeLocaleMessage: Qe,
|
|
2197
2197
|
getPostTranslationHandler: y,
|
|
2198
2198
|
setPostTranslationHandler: R,
|
|
2199
2199
|
getMissingHandler: v,
|
|
2200
2200
|
setMissingHandler: G,
|
|
2201
2201
|
[qa]: It
|
|
2202
2202
|
};
|
|
2203
|
-
return Z.datetimeFormats = F, Z.numberFormats = x, Z.rt = te, Z.te = yt, Z.tm = Ke, Z.d = B, Z.n =
|
|
2203
|
+
return Z.datetimeFormats = F, Z.numberFormats = x, Z.rt = te, Z.te = yt, Z.tm = Ke, Z.d = B, Z.n = ge, Z.getDateTimeFormat = Tt, Z.setDateTimeFormat = r, Z.mergeDateTimeFormat = o, Z.getNumberFormat = b, Z.setNumberFormat = W, Z.mergeNumberFormat = re, Z[xn] = n, Z[Wt] = Ee, Z[jt] = $e, Z[Vt] = Je, Z;
|
|
2204
2204
|
}
|
|
2205
2205
|
const Kt = {
|
|
2206
2206
|
tag: {
|
|
@@ -2255,7 +2255,7 @@ function Bn(e, t, n, s) {
|
|
|
2255
2255
|
const m = s(e.value, c, u);
|
|
2256
2256
|
let p = [c.key];
|
|
2257
2257
|
ce(m) ? p = m.map((O, w) => {
|
|
2258
|
-
const
|
|
2258
|
+
const j = l[O.type], A = j ? j({ [O.type]: O.value, index: w, parts: m }) : [O.value];
|
|
2259
2259
|
return rr(A) && (A[0].key = `${O.type}-${w}`), A;
|
|
2260
2260
|
}) : P(m) && (p = [m]);
|
|
2261
2261
|
const N = de(ee(), a), L = P(e.tag) || K(e.tag) ? e.tag : Yn();
|
|
@@ -2309,7 +2309,7 @@ function or(e) {
|
|
|
2309
2309
|
return t;
|
|
2310
2310
|
}
|
|
2311
2311
|
function ir(e, t) {
|
|
2312
|
-
return
|
|
2312
|
+
return gt(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
|
|
2313
2313
|
}
|
|
2314
2314
|
function cr(e) {
|
|
2315
2315
|
return e.mode === "composition" ? e.global : e.global.__composer;
|
|
@@ -2337,17 +2337,17 @@ function mr(e, t = !1) {
|
|
|
2337
2337
|
}
|
|
2338
2338
|
function dr(e, t, n) {
|
|
2339
2339
|
Rn(() => {
|
|
2340
|
-
}, t),
|
|
2340
|
+
}, t), Qn(() => {
|
|
2341
2341
|
const s = n;
|
|
2342
2342
|
e.__deleteInstance(t);
|
|
2343
2343
|
const l = s[Gt];
|
|
2344
2344
|
l && (l(), delete s[Gt]);
|
|
2345
2345
|
}, t);
|
|
2346
2346
|
}
|
|
2347
|
-
|
|
2347
|
+
za();
|
|
2348
2348
|
Ra(ua);
|
|
2349
2349
|
Aa(Oa);
|
|
2350
|
-
Sa(
|
|
2350
|
+
Sa(Mn);
|
|
2351
2351
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
2352
2352
|
const e = Fe();
|
|
2353
2353
|
e.__INTLIFY__ = !0, ma(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
@@ -2364,14 +2364,14 @@ const ct = /* @__PURE__ */ ke({
|
|
|
2364
2364
|
const { t } = Et();
|
|
2365
2365
|
return (n, s) => {
|
|
2366
2366
|
const l = qe("FmIcon"), a = qe("FmTooltip");
|
|
2367
|
-
return
|
|
2367
|
+
return z(), Me(a, {
|
|
2368
2368
|
variant: "plain",
|
|
2369
2369
|
placement: "right",
|
|
2370
2370
|
"z-index": 50
|
|
2371
2371
|
}, {
|
|
2372
2372
|
content: pe(() => [
|
|
2373
2373
|
se("div", null, Ie(J(t)("team.memberForm.permissions.inherited")), 1),
|
|
2374
|
-
(
|
|
2374
|
+
(z(!0), oe(Le, null, he(e.item.setNames, (c) => (z(), oe("div", { key: c }, [
|
|
2375
2375
|
se("div", null, "- " + Ie(c), 1)
|
|
2376
2376
|
]))), 128))
|
|
2377
2377
|
]),
|
|
@@ -2409,13 +2409,13 @@ const Ln = Object.values(is), fr = {
|
|
|
2409
2409
|
function _r(e, t, n, s) {
|
|
2410
2410
|
const { t: l } = He(), { getFlagValue: a, getFlag: c } = os(), u = q(() => {
|
|
2411
2411
|
var I;
|
|
2412
|
-
const h = /* @__PURE__ */ new Map(),
|
|
2412
|
+
const h = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map();
|
|
2413
2413
|
for (const F of t.value) {
|
|
2414
2414
|
const x = F.category;
|
|
2415
2415
|
x && (n.value.includes(F.subject) || F.showByFeatureFlag && ((I = c(F.showByFeatureFlag)) == null ? void 0 : I.enabled) === !1 && a(F.showByFeatureFlag) === "true" || (h.has(x) || h.set(x, []), h.get(x).push({
|
|
2416
2416
|
label: l(`permissionSet.permissionLabels.${F.subject}`, F.label),
|
|
2417
2417
|
value: F.subject
|
|
2418
|
-
}),
|
|
2418
|
+
}), g.set(F.subject, F)));
|
|
2419
2419
|
}
|
|
2420
2420
|
return [...h.keys()].sort((F, x) => {
|
|
2421
2421
|
const y = Ln.indexOf(F), R = Ln.indexOf(x);
|
|
@@ -2423,7 +2423,7 @@ function _r(e, t, n, s) {
|
|
|
2423
2423
|
}).map((F) => {
|
|
2424
2424
|
const x = h.get(F), y = l(`permissionSet.categoryLabels.${F}`, F), R = /* @__PURE__ */ new Map();
|
|
2425
2425
|
for (const H of x) {
|
|
2426
|
-
const X =
|
|
2426
|
+
const X = g.get(H.value);
|
|
2427
2427
|
X && R.set(H.value, X.actions);
|
|
2428
2428
|
}
|
|
2429
2429
|
const v = x.some((H) => {
|
|
@@ -2440,8 +2440,8 @@ function _r(e, t, n, s) {
|
|
|
2440
2440
|
(H) => x.some((X) => X.value === H.subject) && !H.inverted && H.actions.includes("manage")
|
|
2441
2441
|
).map((H) => H.subject) : e.value.filter((H) => x.some((X) => X.value === H.subject) && !H.inverted).map((H) => H.subject), te = x.find((H) => {
|
|
2442
2442
|
var X;
|
|
2443
|
-
return (X =
|
|
2444
|
-
}), B = (te == null ? void 0 : te.value) ?? null,
|
|
2443
|
+
return (X = g.get(H.value)) == null ? void 0 : X.isCategoryCover;
|
|
2444
|
+
}), B = (te == null ? void 0 : te.value) ?? null, ge = B ? V.get(B) ?? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set(), fe = ge.has("manage");
|
|
2445
2445
|
return {
|
|
2446
2446
|
category: F,
|
|
2447
2447
|
label: y,
|
|
@@ -2452,99 +2452,99 @@ function _r(e, t, n, s) {
|
|
|
2452
2452
|
permissionActionsMap: R,
|
|
2453
2453
|
selectedActionsMap: V,
|
|
2454
2454
|
coverSubject: B,
|
|
2455
|
-
coverSelectedActions:
|
|
2455
|
+
coverSelectedActions: ge,
|
|
2456
2456
|
coverCoversAll: fe
|
|
2457
2457
|
};
|
|
2458
2458
|
});
|
|
2459
2459
|
});
|
|
2460
|
-
function m(h,
|
|
2460
|
+
function m(h, g) {
|
|
2461
2461
|
var I;
|
|
2462
2462
|
const C = ((I = u.value.find((F) => F.category === h)) == null ? void 0 : I.options) ?? [];
|
|
2463
2463
|
s("update:model-value", [
|
|
2464
2464
|
...e.value.filter((F) => !C.some((x) => x.value === F.subject)),
|
|
2465
|
-
...t.value.filter((F) =>
|
|
2465
|
+
...t.value.filter((F) => g.includes(F.subject)).map(
|
|
2466
2466
|
({ category: F, showByFeatureFlag: x, isCategoryCover: y, ...R }) => R
|
|
2467
2467
|
)
|
|
2468
2468
|
]);
|
|
2469
2469
|
}
|
|
2470
2470
|
function p(h) {
|
|
2471
|
-
return h.options.length > 0 && h.options.every((
|
|
2471
|
+
return h.options.length > 0 && h.options.every((g) => h.selectedSubjects.includes(g.value));
|
|
2472
2472
|
}
|
|
2473
2473
|
function N(h) {
|
|
2474
2474
|
if (h.options.length === 0) return !1;
|
|
2475
|
-
const
|
|
2475
|
+
const g = h.options.filter(
|
|
2476
2476
|
(C) => h.selectedSubjects.includes(C.value)
|
|
2477
2477
|
).length;
|
|
2478
|
-
return
|
|
2478
|
+
return g > 0 && g < h.options.length;
|
|
2479
2479
|
}
|
|
2480
2480
|
function L(h) {
|
|
2481
|
-
const
|
|
2481
|
+
const g = e.value.filter(
|
|
2482
2482
|
(C) => !h.options.some((I) => I.value === C.subject)
|
|
2483
2483
|
);
|
|
2484
2484
|
if (p(h))
|
|
2485
|
-
s("update:model-value",
|
|
2485
|
+
s("update:model-value", g);
|
|
2486
2486
|
else {
|
|
2487
2487
|
const C = t.value.filter((I) => h.options.some((F) => F.value === I.subject)).map(
|
|
2488
2488
|
({ category: I, showByFeatureFlag: F, isCategoryCover: x, ...y }) => y
|
|
2489
2489
|
);
|
|
2490
|
-
s("update:model-value", [...
|
|
2490
|
+
s("update:model-value", [...g, ...C]);
|
|
2491
2491
|
}
|
|
2492
2492
|
}
|
|
2493
|
-
function O(h,
|
|
2494
|
-
const C = h.selectedActionsMap.get(
|
|
2493
|
+
function O(h, g) {
|
|
2494
|
+
const C = h.selectedActionsMap.get(g);
|
|
2495
2495
|
return C ? C.has("manage") : !1;
|
|
2496
2496
|
}
|
|
2497
|
-
function w(h,
|
|
2498
|
-
const C = h.permissionActionsMap.get(
|
|
2497
|
+
function w(h, g) {
|
|
2498
|
+
const C = h.permissionActionsMap.get(g);
|
|
2499
2499
|
if (!C) return !1;
|
|
2500
2500
|
const I = C.filter((y) => y !== "manage");
|
|
2501
2501
|
if (I.length === 0) return !1;
|
|
2502
|
-
const F = h.selectedActionsMap.get(
|
|
2502
|
+
const F = h.selectedActionsMap.get(g);
|
|
2503
2503
|
if (!F) return !1;
|
|
2504
2504
|
const x = I.filter((y) => F.has(y));
|
|
2505
2505
|
return x.length > 0 && x.length < I.length;
|
|
2506
2506
|
}
|
|
2507
|
-
function
|
|
2507
|
+
function j(h, g, C) {
|
|
2508
2508
|
if (C) {
|
|
2509
|
-
const I = t.value.find((G) => G.subject ===
|
|
2509
|
+
const I = t.value.find((G) => G.subject === g);
|
|
2510
2510
|
if (!I) return;
|
|
2511
2511
|
const {
|
|
2512
2512
|
category: F,
|
|
2513
2513
|
showByFeatureFlag: x,
|
|
2514
2514
|
isCategoryCover: y,
|
|
2515
2515
|
...R
|
|
2516
|
-
} = I, v = e.value.filter((G) => G.subject !==
|
|
2516
|
+
} = I, v = e.value.filter((G) => G.subject !== g);
|
|
2517
2517
|
v.push(R), s("update:model-value", v);
|
|
2518
2518
|
} else
|
|
2519
2519
|
s(
|
|
2520
2520
|
"update:model-value",
|
|
2521
|
-
e.value.filter((I) => I.subject !==
|
|
2521
|
+
e.value.filter((I) => I.subject !== g)
|
|
2522
2522
|
);
|
|
2523
2523
|
}
|
|
2524
|
-
function A(h,
|
|
2525
|
-
const C = h.permissionActionsMap.get(
|
|
2524
|
+
function A(h, g) {
|
|
2525
|
+
const C = h.permissionActionsMap.get(g);
|
|
2526
2526
|
return C ? C.some((I) => I !== "manage") : !1;
|
|
2527
2527
|
}
|
|
2528
|
-
function
|
|
2529
|
-
const I = h.selectedActionsMap.get(
|
|
2528
|
+
function M(h, g, C) {
|
|
2529
|
+
const I = h.selectedActionsMap.get(g);
|
|
2530
2530
|
return I ? I.has(C) : !1;
|
|
2531
2531
|
}
|
|
2532
|
-
function i(h,
|
|
2533
|
-
return !h.coverSubject ||
|
|
2532
|
+
function i(h, g) {
|
|
2533
|
+
return !h.coverSubject || g === h.coverSubject ? !1 : h.coverCoversAll;
|
|
2534
2534
|
}
|
|
2535
|
-
function d(h,
|
|
2536
|
-
return !h.coverSubject ||
|
|
2535
|
+
function d(h, g, C) {
|
|
2536
|
+
return !h.coverSubject || g === h.coverSubject ? !1 : h.coverCoversAll ? !0 : h.coverSelectedActions.has(C);
|
|
2537
2537
|
}
|
|
2538
|
-
function T(h,
|
|
2539
|
-
const I = h.permissionActionsMap.get(
|
|
2538
|
+
function T(h, g, C) {
|
|
2539
|
+
const I = h.permissionActionsMap.get(g);
|
|
2540
2540
|
return I ? I.includes(C) : !1;
|
|
2541
2541
|
}
|
|
2542
|
-
function _(h,
|
|
2542
|
+
function _(h, g, C) {
|
|
2543
2543
|
const I = [...e.value], F = I.findIndex((y) => y.subject === h && !y.inverted);
|
|
2544
2544
|
if (C)
|
|
2545
2545
|
if (F >= 0) {
|
|
2546
2546
|
const y = { ...I[F] }, R = new Set(y.actions);
|
|
2547
|
-
R.add(
|
|
2547
|
+
R.add(g), y.actions = Array.from(R), I[F] = y;
|
|
2548
2548
|
} else {
|
|
2549
2549
|
const y = t.value.find((U) => U.subject === h);
|
|
2550
2550
|
if (!y) return;
|
|
@@ -2554,44 +2554,44 @@ function _r(e, t, n, s) {
|
|
|
2554
2554
|
isCategoryCover: G,
|
|
2555
2555
|
...V
|
|
2556
2556
|
} = y;
|
|
2557
|
-
I.push({ ...V, actions: [
|
|
2557
|
+
I.push({ ...V, actions: [g] });
|
|
2558
2558
|
}
|
|
2559
2559
|
else if (F >= 0) {
|
|
2560
|
-
const y = { ...I[F] }, R = y.actions.filter((v) => v !==
|
|
2560
|
+
const y = { ...I[F] }, R = y.actions.filter((v) => v !== g);
|
|
2561
2561
|
R.length === 0 ? I.splice(F, 1) : (y.actions = R, I[F] = y);
|
|
2562
2562
|
}
|
|
2563
2563
|
const x = t.value.find((y) => y.subject === h);
|
|
2564
2564
|
x && On(I, h, x.actions), s("update:model-value", I);
|
|
2565
2565
|
}
|
|
2566
|
-
function
|
|
2566
|
+
function D(h, g) {
|
|
2567
2567
|
const C = h.options.filter(
|
|
2568
|
-
(I) => T(h, I.value,
|
|
2568
|
+
(I) => T(h, I.value, g)
|
|
2569
2569
|
);
|
|
2570
2570
|
return C.length === 0 ? !1 : C.every(
|
|
2571
|
-
(I) =>
|
|
2571
|
+
(I) => M(h, I.value, g) || d(h, I.value, g)
|
|
2572
2572
|
);
|
|
2573
2573
|
}
|
|
2574
|
-
function S(h,
|
|
2574
|
+
function S(h, g) {
|
|
2575
2575
|
const C = h.options.filter(
|
|
2576
|
-
(F) => T(h, F.value,
|
|
2576
|
+
(F) => T(h, F.value, g)
|
|
2577
2577
|
);
|
|
2578
2578
|
if (C.length === 0) return !1;
|
|
2579
2579
|
const I = C.filter(
|
|
2580
|
-
(F) =>
|
|
2580
|
+
(F) => M(h, F.value, g) || d(h, F.value, g)
|
|
2581
2581
|
).length;
|
|
2582
2582
|
return I > 0 && I < C.length;
|
|
2583
2583
|
}
|
|
2584
|
-
function E(h,
|
|
2584
|
+
function E(h, g, C) {
|
|
2585
2585
|
const I = [...e.value];
|
|
2586
2586
|
for (const F of h.options) {
|
|
2587
|
-
if (!T(h, F.value,
|
|
2587
|
+
if (!T(h, F.value, g)) continue;
|
|
2588
2588
|
const x = F.value, y = I.findIndex(
|
|
2589
2589
|
(v) => v.subject === x && !v.inverted
|
|
2590
2590
|
);
|
|
2591
2591
|
if (C)
|
|
2592
2592
|
if (y >= 0) {
|
|
2593
2593
|
const v = { ...I[y] }, G = new Set(v.actions);
|
|
2594
|
-
G.add(
|
|
2594
|
+
G.add(g), v.actions = Array.from(G), I[y] = v;
|
|
2595
2595
|
} else {
|
|
2596
2596
|
const v = t.value.find((B) => B.subject === x);
|
|
2597
2597
|
if (!v) continue;
|
|
@@ -2601,10 +2601,10 @@ function _r(e, t, n, s) {
|
|
|
2601
2601
|
isCategoryCover: U,
|
|
2602
2602
|
...te
|
|
2603
2603
|
} = v;
|
|
2604
|
-
I.push({ ...te, actions: [
|
|
2604
|
+
I.push({ ...te, actions: [g] });
|
|
2605
2605
|
}
|
|
2606
2606
|
else if (y >= 0) {
|
|
2607
|
-
const v = { ...I[y] }, G = v.actions.filter((V) => V !==
|
|
2607
|
+
const v = { ...I[y] }, G = v.actions.filter((V) => V !== g);
|
|
2608
2608
|
G.length === 0 ? I.splice(y, 1) : (v.actions = G, I[y] = v);
|
|
2609
2609
|
}
|
|
2610
2610
|
const R = t.value.find((v) => v.subject === x);
|
|
@@ -2613,8 +2613,8 @@ function _r(e, t, n, s) {
|
|
|
2613
2613
|
s("update:model-value", I);
|
|
2614
2614
|
}
|
|
2615
2615
|
function Y(h) {
|
|
2616
|
-
const
|
|
2617
|
-
return l(
|
|
2616
|
+
const g = `permissionSet.actionLabels.${h}`, C = fr[h] ?? h.charAt(0).toUpperCase() + h.slice(1);
|
|
2617
|
+
return l(g, C);
|
|
2618
2618
|
}
|
|
2619
2619
|
return {
|
|
2620
2620
|
categoryGroups: u,
|
|
@@ -2624,20 +2624,20 @@ function _r(e, t, n, s) {
|
|
|
2624
2624
|
toggleAllManage: L,
|
|
2625
2625
|
isManageChecked: O,
|
|
2626
2626
|
isManageIndeterminate: w,
|
|
2627
|
-
toggleManage:
|
|
2627
|
+
toggleManage: j,
|
|
2628
2628
|
hasNonManageActions: A,
|
|
2629
|
-
isActionChecked:
|
|
2629
|
+
isActionChecked: M,
|
|
2630
2630
|
isRowFullyCoveredByCover: i,
|
|
2631
2631
|
isActionCoveredByCover: d,
|
|
2632
2632
|
permissionDefinesAction: T,
|
|
2633
2633
|
toggleAction: _,
|
|
2634
|
-
isAllActionChecked:
|
|
2634
|
+
isAllActionChecked: D,
|
|
2635
2635
|
isAllActionIndeterminate: S,
|
|
2636
2636
|
toggleAllAction: E,
|
|
2637
2637
|
actionLabel: Y
|
|
2638
2638
|
};
|
|
2639
2639
|
}
|
|
2640
|
-
const pr = { class: "flex flex-col gap-16" },
|
|
2640
|
+
const pr = { class: "flex flex-col gap-16" }, br = { class: "fm-typo-en-title-sm-600" }, gr = { class: "mt-16" }, hr = { class: "text-center text-sm font-semibold text-fm-color-typo-primary" }, vr = ["onClick"], Er = { class: "flex justify-center" }, Ir = { class: "flex items-center min-w-0 gap-8" }, yr = ["title", "onClick"], Nr = { class: "flex justify-center" }, Tr = /* @__PURE__ */ ke({
|
|
2641
2641
|
__name: "BasePermission",
|
|
2642
2642
|
props: {
|
|
2643
2643
|
modelValue: {
|
|
@@ -2659,7 +2659,7 @@ const pr = { class: "flex flex-col gap-16" }, gr = { class: "fm-typo-en-title-sm
|
|
|
2659
2659
|
},
|
|
2660
2660
|
emits: ["update:model-value"],
|
|
2661
2661
|
setup(e, { emit: t }) {
|
|
2662
|
-
const n = e, s = t, { t: l } = He(), a = q(() => [...
|
|
2662
|
+
const n = e, s = t, { t: l } = He(), a = q(() => [...Mt, ...n.additionalPermissions]), {
|
|
2663
2663
|
categoryGroups: c,
|
|
2664
2664
|
isAllManageChecked: u,
|
|
2665
2665
|
isAllManageIndeterminate: m,
|
|
@@ -2668,18 +2668,18 @@ const pr = { class: "flex flex-col gap-16" }, gr = { class: "fm-typo-en-title-sm
|
|
|
2668
2668
|
isManageIndeterminate: L,
|
|
2669
2669
|
toggleManage: O,
|
|
2670
2670
|
isActionChecked: w,
|
|
2671
|
-
isRowFullyCoveredByCover:
|
|
2671
|
+
isRowFullyCoveredByCover: j,
|
|
2672
2672
|
isActionCoveredByCover: A,
|
|
2673
|
-
permissionDefinesAction:
|
|
2673
|
+
permissionDefinesAction: M,
|
|
2674
2674
|
toggleAction: i,
|
|
2675
2675
|
isAllActionChecked: d,
|
|
2676
2676
|
isAllActionIndeterminate: T,
|
|
2677
2677
|
toggleAllAction: _,
|
|
2678
|
-
actionLabel:
|
|
2678
|
+
actionLabel: D
|
|
2679
2679
|
} = _r(
|
|
2680
|
-
|
|
2680
|
+
Qt(n, "modelValue"),
|
|
2681
2681
|
a,
|
|
2682
|
-
|
|
2682
|
+
Qt(n, "excludedSubjects"),
|
|
2683
2683
|
(E, Y) => s("update:model-value", Y)
|
|
2684
2684
|
);
|
|
2685
2685
|
function S(E) {
|
|
@@ -2688,100 +2688,100 @@ const pr = { class: "flex flex-col gap-16" }, gr = { class: "fm-typo-en-title-sm
|
|
|
2688
2688
|
}
|
|
2689
2689
|
return (E, Y) => {
|
|
2690
2690
|
const h = qe("FmCheckbox");
|
|
2691
|
-
return
|
|
2692
|
-
(
|
|
2693
|
-
key:
|
|
2694
|
-
subtitle: S(
|
|
2691
|
+
return z(), oe("div", pr, [
|
|
2692
|
+
(z(!0), oe(Le, null, he(J(c), (g) => (z(), Me(Xt, {
|
|
2693
|
+
key: g.category,
|
|
2694
|
+
subtitle: S(g)
|
|
2695
2695
|
}, {
|
|
2696
2696
|
title: pe(() => [
|
|
2697
|
-
se("p",
|
|
2697
|
+
se("p", br, Ie(g.label), 1)
|
|
2698
2698
|
]),
|
|
2699
2699
|
default: pe(() => [
|
|
2700
|
-
se("div",
|
|
2700
|
+
se("div", gr, [
|
|
2701
2701
|
se("div", {
|
|
2702
2702
|
class: "grid items-center px-12 py-8",
|
|
2703
2703
|
style: Xe({
|
|
2704
|
-
gridTemplateColumns: `minmax(0, 1fr) repeat(${
|
|
2704
|
+
gridTemplateColumns: `minmax(0, 1fr) repeat(${g.actionColumns.length + 1}, 80px)`
|
|
2705
2705
|
})
|
|
2706
2706
|
}, [
|
|
2707
2707
|
Y[0] || (Y[0] = se("div", null, null, -1)),
|
|
2708
2708
|
se("div", hr, Ie(J(l)("team.memberForm.permissions.columnManage")), 1),
|
|
2709
|
-
(
|
|
2709
|
+
(z(!0), oe(Le, null, he(g.actionColumns, (C) => (z(), oe("div", {
|
|
2710
2710
|
key: `header-${C}`,
|
|
2711
2711
|
class: "text-center text-sm font-semibold text-fm-color-typo-primary"
|
|
2712
|
-
}, Ie(J(
|
|
2712
|
+
}, Ie(J(D)(C)), 1))), 128))
|
|
2713
2713
|
], 4),
|
|
2714
2714
|
se("div", {
|
|
2715
2715
|
class: "grid items-center bg-fm-color-neutral-gray-100 px-12 py-8",
|
|
2716
2716
|
style: Xe({
|
|
2717
|
-
gridTemplateColumns: `minmax(0, 1fr) repeat(${
|
|
2717
|
+
gridTemplateColumns: `minmax(0, 1fr) repeat(${g.actionColumns.length + 1}, 80px)`
|
|
2718
2718
|
})
|
|
2719
2719
|
}, [
|
|
2720
2720
|
se("div", {
|
|
2721
2721
|
class: "cursor-pointer font-semibold",
|
|
2722
|
-
onClick: (C) => !e.disable && J(p)(
|
|
2722
|
+
onClick: (C) => !e.disable && J(p)(g)
|
|
2723
2723
|
}, Ie(J(l)("team.labels.all")), 9, vr),
|
|
2724
2724
|
se("div", Er, [
|
|
2725
2725
|
_e(h, {
|
|
2726
|
-
"model-value": J(u)(
|
|
2727
|
-
indeterminate: J(m)(
|
|
2726
|
+
"model-value": J(u)(g),
|
|
2727
|
+
indeterminate: J(m)(g),
|
|
2728
2728
|
value: !0,
|
|
2729
2729
|
disabled: e.disable,
|
|
2730
2730
|
size: "sm",
|
|
2731
2731
|
dense: "",
|
|
2732
|
-
"onUpdate:modelValue": (C) => J(p)(
|
|
2732
|
+
"onUpdate:modelValue": (C) => J(p)(g)
|
|
2733
2733
|
}, null, 8, ["model-value", "indeterminate", "disabled", "onUpdate:modelValue"])
|
|
2734
2734
|
]),
|
|
2735
|
-
(
|
|
2735
|
+
(z(!0), oe(Le, null, he(g.actionColumns, (C) => (z(), oe("div", {
|
|
2736
2736
|
key: `all-${C}`,
|
|
2737
2737
|
class: "flex justify-center"
|
|
2738
2738
|
}, [
|
|
2739
2739
|
_e(h, {
|
|
2740
|
-
"model-value": J(d)(
|
|
2741
|
-
indeterminate: J(T)(
|
|
2740
|
+
"model-value": J(d)(g, C),
|
|
2741
|
+
indeterminate: J(T)(g, C),
|
|
2742
2742
|
value: C,
|
|
2743
2743
|
disabled: e.disable,
|
|
2744
2744
|
size: "sm",
|
|
2745
2745
|
dense: "",
|
|
2746
|
-
"onUpdate:modelValue": (I) => J(_)(
|
|
2746
|
+
"onUpdate:modelValue": (I) => J(_)(g, C, I)
|
|
2747
2747
|
}, null, 8, ["model-value", "indeterminate", "value", "disabled", "onUpdate:modelValue"])
|
|
2748
2748
|
]))), 128))
|
|
2749
2749
|
], 4),
|
|
2750
2750
|
Y[1] || (Y[1] = se("div", { class: "h-px bg-fm-color-neutral-gray-200" }, null, -1)),
|
|
2751
|
-
(
|
|
2751
|
+
(z(!0), oe(Le, null, he(g.options, (C) => (z(), oe("div", {
|
|
2752
2752
|
key: C.value,
|
|
2753
2753
|
class: "grid items-center rounded px-12 py-8 transition-colors hover:bg-fm-color-neutral-gray-100",
|
|
2754
2754
|
style: Xe({
|
|
2755
|
-
gridTemplateColumns: `minmax(0, 1fr) repeat(${
|
|
2755
|
+
gridTemplateColumns: `minmax(0, 1fr) repeat(${g.actionColumns.length + 1}, 80px)`
|
|
2756
2756
|
})
|
|
2757
2757
|
}, [
|
|
2758
2758
|
se("div", Ir, [
|
|
2759
2759
|
se("span", {
|
|
2760
2760
|
class: "block truncate cursor-pointer",
|
|
2761
2761
|
title: C.label,
|
|
2762
|
-
onClick: (I) => !e.disable && !J(
|
|
2762
|
+
onClick: (I) => !e.disable && !J(j)(g, C.value) && J(O)(g, C.value, !J(N)(g, C.value))
|
|
2763
2763
|
}, Ie(C.label), 9, yr),
|
|
2764
2764
|
Te(E.$slots, `checkbox-${C.value}-append`, { option: C })
|
|
2765
2765
|
]),
|
|
2766
2766
|
se("div", Nr, [
|
|
2767
2767
|
_e(h, {
|
|
2768
|
-
"model-value": J(N)(
|
|
2768
|
+
"model-value": J(N)(g, C.value) || J(j)(g, C.value),
|
|
2769
2769
|
value: C.value,
|
|
2770
|
-
disabled: e.disable || J(
|
|
2771
|
-
indeterminate: J(L)(
|
|
2770
|
+
disabled: e.disable || J(j)(g, C.value),
|
|
2771
|
+
indeterminate: J(L)(g, C.value),
|
|
2772
2772
|
size: "sm",
|
|
2773
|
-
"onUpdate:modelValue": (I) => J(O)(
|
|
2773
|
+
"onUpdate:modelValue": (I) => J(O)(g, C.value, I)
|
|
2774
2774
|
}, null, 8, ["model-value", "value", "disabled", "indeterminate", "onUpdate:modelValue"])
|
|
2775
2775
|
]),
|
|
2776
|
-
(
|
|
2776
|
+
(z(!0), oe(Le, null, he(g.actionColumns, (I) => (z(), oe("div", {
|
|
2777
2777
|
key: `${C.value}-${I}`,
|
|
2778
2778
|
class: "flex justify-center"
|
|
2779
2779
|
}, [
|
|
2780
|
-
J(
|
|
2780
|
+
J(M)(g, C.value, I) ? (z(), Me(h, {
|
|
2781
2781
|
key: 0,
|
|
2782
|
-
"model-value": J(w)(
|
|
2782
|
+
"model-value": J(w)(g, C.value, I) || J(A)(g, C.value, I),
|
|
2783
2783
|
value: I,
|
|
2784
|
-
disabled: e.disable || J(A)(
|
|
2784
|
+
disabled: e.disable || J(A)(g, C.value, I),
|
|
2785
2785
|
size: "sm",
|
|
2786
2786
|
"onUpdate:modelValue": (F) => J(i)(C.value, I, F)
|
|
2787
2787
|
}, null, 8, ["model-value", "value", "disabled", "onUpdate:modelValue"])) : Se("", !0)
|
|
@@ -2818,11 +2818,11 @@ const pr = { class: "flex flex-col gap-16" }, gr = { class: "fm-typo-en-title-sm
|
|
|
2818
2818
|
},
|
|
2819
2819
|
setup(e) {
|
|
2820
2820
|
const t = e;
|
|
2821
|
-
return (n, s) => (
|
|
2821
|
+
return (n, s) => (z(), oe("div", kr, [
|
|
2822
2822
|
Te(n.$slots, "top", {}, () => [
|
|
2823
|
-
t.title ? (
|
|
2823
|
+
t.title ? (z(), oe("div", Or, [
|
|
2824
2824
|
se("div", null, [
|
|
2825
|
-
t.required ? (
|
|
2825
|
+
t.required ? (z(), oe("span", Lr, "*")) : Se("", !0),
|
|
2826
2826
|
qn(Ie(t.title), 1)
|
|
2827
2827
|
]),
|
|
2828
2828
|
Te(n.$slots, "title-right")
|
|
@@ -2841,7 +2841,7 @@ function Ar(e, t) {
|
|
|
2841
2841
|
n += s.charAt(Math.floor(Math.random() * l));
|
|
2842
2842
|
return n;
|
|
2843
2843
|
}
|
|
2844
|
-
const Sr = { class: "col flex items-center" },
|
|
2844
|
+
const Sr = { class: "col flex items-center" }, Mr = {
|
|
2845
2845
|
key: 1,
|
|
2846
2846
|
class: "q-pa-sm form-error-message text-error"
|
|
2847
2847
|
}, Hn = /* @__PURE__ */ ke({
|
|
@@ -2902,27 +2902,27 @@ const Sr = { class: "col flex items-center" }, Dr = {
|
|
|
2902
2902
|
},
|
|
2903
2903
|
emits: ["update:model-value"],
|
|
2904
2904
|
setup(e, { emit: t }) {
|
|
2905
|
-
const n = e, s = t, { t: l } = He(), a =
|
|
2906
|
-
() => n.modelValue.filter((A) => n.options.some((
|
|
2905
|
+
const n = e, s = t, { t: l } = He(), a = bt(!1), c = es(), u = q(() => n.modelValue.length < n.min ? `Min selection ${n.min}` : n.max !== void 0 && n.modelValue.length > n.max ? `Max selection ${n.max}` : !0), m = `checkbox-${Ar(6)}`, p = q(() => u.value !== !0), N = q(
|
|
2906
|
+
() => n.modelValue.filter((A) => n.options.some((M) => M.value === A))
|
|
2907
2907
|
), L = q(
|
|
2908
2908
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
2909
2909
|
), O = q(() => n.options.length > 0 && n.options.length === N.value.length);
|
|
2910
2910
|
function w() {
|
|
2911
|
-
const A = n.modelValue.filter((
|
|
2911
|
+
const A = n.modelValue.filter((M) => !N.value.includes(M));
|
|
2912
2912
|
if (O.value === !0)
|
|
2913
2913
|
s("update:model-value", A);
|
|
2914
2914
|
else {
|
|
2915
|
-
const
|
|
2916
|
-
s("update:model-value", [...A, ...
|
|
2915
|
+
const M = n.includeDisabledOptionsWhenSelectAll ? n.options.map((i) => i.value) : n.options.filter((i) => !i.disabled).map((i) => i.value);
|
|
2916
|
+
s("update:model-value", [...A, ...M]);
|
|
2917
2917
|
}
|
|
2918
2918
|
}
|
|
2919
|
-
function
|
|
2919
|
+
function j(A, M) {
|
|
2920
2920
|
let i = dt(n.modelValue);
|
|
2921
|
-
|
|
2921
|
+
M ? i.every((d) => d !== A) && i.push(A) : i = i.filter((d) => d !== A), s("update:model-value", i);
|
|
2922
2922
|
}
|
|
2923
|
-
return (A,
|
|
2923
|
+
return (A, M) => {
|
|
2924
2924
|
const i = qe("FmCheckbox");
|
|
2925
|
-
return
|
|
2925
|
+
return z(), Me(Rr, {
|
|
2926
2926
|
id: m,
|
|
2927
2927
|
title: e.title,
|
|
2928
2928
|
required: !1
|
|
@@ -2931,7 +2931,7 @@ const Sr = { class: "col flex items-center" }, Dr = {
|
|
|
2931
2931
|
Te(A.$slots, "top")
|
|
2932
2932
|
]),
|
|
2933
2933
|
default: pe(() => [
|
|
2934
|
-
n.showAllToggle ? (
|
|
2934
|
+
n.showAllToggle ? (z(), Me(i, {
|
|
2935
2935
|
key: 0,
|
|
2936
2936
|
"model-value": O.value,
|
|
2937
2937
|
disabled: e.disable,
|
|
@@ -2942,7 +2942,7 @@ const Sr = { class: "col flex items-center" }, Dr = {
|
|
|
2942
2942
|
value: L.value,
|
|
2943
2943
|
"onUpdate:modelValue": w
|
|
2944
2944
|
}, null, 8, ["model-value", "disabled", "label", "style", "value"])) : Se("", !0),
|
|
2945
|
-
(
|
|
2945
|
+
(z(!0), oe(Le, null, he(e.options, (d, T) => (z(), oe("div", {
|
|
2946
2946
|
key: d.value,
|
|
2947
2947
|
style: Xe(`margin-bottom: ${T < e.options.length - 1 ? n.gutter : 0}px`),
|
|
2948
2948
|
class: rt(T < e.options.length - 1 ? "q-mb-sm" : "")
|
|
@@ -2957,14 +2957,14 @@ const Sr = { class: "col flex items-center" }, Dr = {
|
|
|
2957
2957
|
size: "sm",
|
|
2958
2958
|
label: d.label,
|
|
2959
2959
|
value: d.label,
|
|
2960
|
-
"onUpdate:modelValue": (_) =>
|
|
2960
|
+
"onUpdate:modelValue": (_) => j(d.value, _)
|
|
2961
2961
|
}, null, 8, ["model-value", "disabled", "label", "value", "onUpdate:modelValue"]),
|
|
2962
2962
|
Te(A.$slots, `checkbox-${d.key || d.value}-append`, {
|
|
2963
2963
|
option: d,
|
|
2964
2964
|
selected: e.modelValue.includes(d.value)
|
|
2965
2965
|
})
|
|
2966
2966
|
]),
|
|
2967
|
-
J(c)[`checkbox-${d.key || d.value}-end`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (
|
|
2967
|
+
J(c)[`checkbox-${d.key || d.value}-end`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (z(), oe("div", {
|
|
2968
2968
|
key: 0,
|
|
2969
2969
|
class: rt([{ "q-checkbox disabled": e.disable || d.disabled }, "col"])
|
|
2970
2970
|
}, [
|
|
@@ -2975,7 +2975,7 @@ const Sr = { class: "col flex items-center" }, Dr = {
|
|
|
2975
2975
|
})
|
|
2976
2976
|
], 2)) : Se("", !0)
|
|
2977
2977
|
], 2),
|
|
2978
|
-
J(c)[`checkbox-${d.key || d.value}-bottom`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (
|
|
2978
|
+
J(c)[`checkbox-${d.key || d.value}-bottom`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (z(), oe("div", {
|
|
2979
2979
|
key: 0,
|
|
2980
2980
|
class: rt(["q-mt-sm", { "q-checkbox disabled": e.disable || d.disabled }]),
|
|
2981
2981
|
style: Xe(`margin-left: ${e.bottomSlotIndent}`)
|
|
@@ -2987,13 +2987,13 @@ const Sr = { class: "col flex items-center" }, Dr = {
|
|
|
2987
2987
|
})
|
|
2988
2988
|
], 6)) : Se("", !0)
|
|
2989
2989
|
], 6))), 128)),
|
|
2990
|
-
a.value && p.value ? (
|
|
2990
|
+
a.value && p.value ? (z(), oe("div", Mr, Ie(u.value), 1)) : Se("", !0)
|
|
2991
2991
|
]),
|
|
2992
2992
|
_: 3
|
|
2993
2993
|
}, 8, ["title"]);
|
|
2994
2994
|
};
|
|
2995
2995
|
}
|
|
2996
|
-
}),
|
|
2996
|
+
}), Dr = { class: "fm-typo-en-title-sm-600" }, ut = "includedFuture", Cn = /* @__PURE__ */ ke({
|
|
2997
2997
|
__name: "ConditionPermission",
|
|
2998
2998
|
props: {
|
|
2999
2999
|
modelValue: {
|
|
@@ -3033,15 +3033,15 @@ const Sr = { class: "col flex items-center" }, Dr = {
|
|
|
3033
3033
|
const L = N.length === a.value.length;
|
|
3034
3034
|
s("update:model-value", L ? null : N.filter((O) => O !== ut));
|
|
3035
3035
|
}
|
|
3036
|
-
const p =
|
|
3036
|
+
const p = bt("");
|
|
3037
3037
|
return (N, L) => {
|
|
3038
3038
|
const O = qe("fm-search");
|
|
3039
|
-
return
|
|
3039
|
+
return z(), Me(Xt, { subtitle: u.value }, {
|
|
3040
3040
|
title: pe(() => [
|
|
3041
|
-
se("p",
|
|
3041
|
+
se("p", Dr, Ie(J(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
3042
3042
|
]),
|
|
3043
3043
|
default: pe(() => [
|
|
3044
|
-
e.options.length > 1 ? (
|
|
3044
|
+
e.options.length > 1 ? (z(), Me(O, {
|
|
3045
3045
|
key: 0,
|
|
3046
3046
|
modelValue: p.value,
|
|
3047
3047
|
"onUpdate:modelValue": L[0] || (L[0] = (w) => p.value = w),
|
|
@@ -3061,8 +3061,8 @@ const Sr = { class: "col flex items-center" }, Dr = {
|
|
|
3061
3061
|
}, xe({ _: 2 }, [
|
|
3062
3062
|
he(a.value, (w) => ({
|
|
3063
3063
|
name: `checkbox-${w.value}-append`,
|
|
3064
|
-
fn: pe(({ option:
|
|
3065
|
-
Te(N.$slots, `checkbox-${w.value}-append`, { option:
|
|
3064
|
+
fn: pe(({ option: j }) => [
|
|
3065
|
+
Te(N.$slots, `checkbox-${w.value}-append`, { option: j })
|
|
3066
3066
|
])
|
|
3067
3067
|
}))
|
|
3068
3068
|
]), 1032, ["model-value", "options", "disable"])
|
|
@@ -3115,7 +3115,7 @@ const Sr = { class: "col flex items-center" }, Dr = {
|
|
|
3115
3115
|
const N = p.length === a.value.length;
|
|
3116
3116
|
s("update:model-value", N ? null : p.filter((L) => L !== mt));
|
|
3117
3117
|
}
|
|
3118
|
-
return (p, N) => (
|
|
3118
|
+
return (p, N) => (z(), Me(Xt, { subtitle: u.value }, {
|
|
3119
3119
|
title: pe(() => [
|
|
3120
3120
|
se("p", wr, Ie(J(l)("team.memberForm.permissions.roles")), 1)
|
|
3121
3121
|
]),
|
|
@@ -3145,9 +3145,9 @@ const Sr = { class: "col flex items-center" }, Dr = {
|
|
|
3145
3145
|
async readWarehouses() {
|
|
3146
3146
|
return us(await ms().get("/warehouses"));
|
|
3147
3147
|
}
|
|
3148
|
-
}, Ur = { class: "flex flex-col gap-32" },
|
|
3148
|
+
}, Ur = { class: "flex flex-col gap-32" }, Wr = { 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" }, Vr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Gr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Qr = /* @__PURE__ */ ke({
|
|
3149
3149
|
__name: "PortalPermissionEditor",
|
|
3150
|
-
props: /* @__PURE__ */
|
|
3150
|
+
props: /* @__PURE__ */ zt({
|
|
3151
3151
|
disable: {
|
|
3152
3152
|
type: Boolean,
|
|
3153
3153
|
default: !1
|
|
@@ -3160,14 +3160,14 @@ const Sr = { class: "col flex items-center" }, Dr = {
|
|
|
3160
3160
|
modelValue: { default: () => [] },
|
|
3161
3161
|
modelModifiers: {}
|
|
3162
3162
|
}),
|
|
3163
|
-
emits: /* @__PURE__ */
|
|
3163
|
+
emits: /* @__PURE__ */ zt(["permissionChanged"], ["update:modelValue"]),
|
|
3164
3164
|
setup(e, { emit: t }) {
|
|
3165
3165
|
const n = ts(e, "modelValue"), s = e, l = t, { t: a } = He(), { fetchCustomReportPermissions: c, customReportPermissions: u } = ss();
|
|
3166
3166
|
function m(y) {
|
|
3167
|
-
return
|
|
3167
|
+
return Mt.find((R) => R.subject === y) ?? u.value.find((R) => R.subject === y);
|
|
3168
3168
|
}
|
|
3169
3169
|
const p = q(() => {
|
|
3170
|
-
const y = [...
|
|
3170
|
+
const y = [...Mt, ...u.value].filter((v) => !w.includes(v.subject)).map((v) => v.subject);
|
|
3171
3171
|
return as(
|
|
3172
3172
|
s.inheritPermissions.map((v) => ({
|
|
3173
3173
|
...v,
|
|
@@ -3216,13 +3216,13 @@ const Sr = { class: "col flex items-center" }, Dr = {
|
|
|
3216
3216
|
ue.Subject.Business.role,
|
|
3217
3217
|
ue.Subject.Restaurant.restaurant,
|
|
3218
3218
|
ue.Subject.Business.inventory_stock
|
|
3219
|
-
],
|
|
3219
|
+
], j = q(() => {
|
|
3220
3220
|
var R;
|
|
3221
3221
|
const y = (R = n.value) == null ? void 0 : R.find(
|
|
3222
3222
|
(v) => v.subject === ue.Subject.Business.inventory_stock
|
|
3223
3223
|
);
|
|
3224
3224
|
return y ? y.conditions ? JSON.parse(y.conditions).warehouseId.$in : null : [];
|
|
3225
|
-
}), A =
|
|
3225
|
+
}), A = bt([]), M = q(() => A.value.map((y) => ({
|
|
3226
3226
|
label: y.profile.name,
|
|
3227
3227
|
value: y._id
|
|
3228
3228
|
})));
|
|
@@ -3243,16 +3243,16 @@ const Sr = { class: "col flex items-center" }, Dr = {
|
|
|
3243
3243
|
}
|
|
3244
3244
|
return v;
|
|
3245
3245
|
}
|
|
3246
|
-
const { restaurants: T } = ns(), _ = ds().roles,
|
|
3246
|
+
const { restaurants: T } = ns(), _ = ds().roles, D = q(() => T.value.map((y) => ({
|
|
3247
3247
|
label: `${y.profile.code ? y.profile.code + "-" : ""}${y.profile.name}`,
|
|
3248
3248
|
value: y._id
|
|
3249
3249
|
}))), S = q(() => T.value.reduce((y, R) => (y[R._id] = _.value.filter((v) => v.restaurants.some((G) => G.id === R._id)).map((v) => v._id), y), {})), E = q(() => rs(n.value));
|
|
3250
3250
|
function Y(y) {
|
|
3251
|
-
const R =
|
|
3251
|
+
const R = g(n.value, y);
|
|
3252
3252
|
n.value = R;
|
|
3253
3253
|
}
|
|
3254
3254
|
const h = q(() => ls(n.value));
|
|
3255
|
-
function
|
|
3255
|
+
function g(y, R) {
|
|
3256
3256
|
var G;
|
|
3257
3257
|
let v = dt(
|
|
3258
3258
|
y.filter(
|
|
@@ -3344,9 +3344,9 @@ const Sr = { class: "col flex items-center" }, Dr = {
|
|
|
3344
3344
|
if (V = V.filter((B) => !(B.subject === U && B.inverted)), !te && !G.has(U)) {
|
|
3345
3345
|
const B = y.find(
|
|
3346
3346
|
(fe) => fe.subject === U && !fe.inverted
|
|
3347
|
-
),
|
|
3348
|
-
if (
|
|
3349
|
-
const { category: fe, showByFeatureFlag: H, ...X } =
|
|
3347
|
+
), ge = m(U);
|
|
3348
|
+
if (ge && B) {
|
|
3349
|
+
const { category: fe, showByFeatureFlag: H, ...X } = ge;
|
|
3350
3350
|
V.push({ ...X, actions: B.actions });
|
|
3351
3351
|
}
|
|
3352
3352
|
}
|
|
@@ -3357,8 +3357,8 @@ const Sr = { class: "col flex items-center" }, Dr = {
|
|
|
3357
3357
|
(X) => X.subject === U && !X.inverted
|
|
3358
3358
|
), B = y.find((X) => X.subject === U && !X.inverted);
|
|
3359
3359
|
if (!te || !B) continue;
|
|
3360
|
-
const
|
|
3361
|
-
if (
|
|
3360
|
+
const ge = new Set(te.actions), fe = new Set(B.actions);
|
|
3361
|
+
if (ge.size === fe.size && [...ge].every((X) => fe.has(X)))
|
|
3362
3362
|
continue;
|
|
3363
3363
|
const H = V.findIndex((X) => X.subject === U && !X.inverted);
|
|
3364
3364
|
if (H >= 0)
|
|
@@ -3373,12 +3373,12 @@ const Sr = { class: "col flex items-center" }, Dr = {
|
|
|
3373
3373
|
V.push({ ...$e, actions: Array.from(fe) });
|
|
3374
3374
|
}
|
|
3375
3375
|
}
|
|
3376
|
-
|
|
3376
|
+
ge.has("manage") && !fe.has("manage") && Ot(
|
|
3377
3377
|
V,
|
|
3378
3378
|
Lt
|
|
3379
3379
|
).some(
|
|
3380
3380
|
(Ee) => Ee.subject === U && !Ee.inverted && Ee.actions.includes("manage")
|
|
3381
|
-
) && !V.some((Ee) => Ee.subject === U && Ee.inverted) && V.push({ subject: U, actions: ["manage"], inverted: !0 }), !
|
|
3381
|
+
) && !V.some((Ee) => Ee.subject === U && Ee.inverted) && V.push({ subject: U, actions: ["manage"], inverted: !0 }), !ge.has("manage") && fe.has("manage") && (V = V.filter((X) => !(X.subject === U && X.inverted)));
|
|
3382
3382
|
}
|
|
3383
3383
|
n.value = V;
|
|
3384
3384
|
}
|
|
@@ -3388,8 +3388,8 @@ const Sr = { class: "col flex items-center" }, Dr = {
|
|
|
3388
3388
|
l("permissionChanged", y);
|
|
3389
3389
|
},
|
|
3390
3390
|
{ deep: !0 }
|
|
3391
|
-
), (y, R) => (
|
|
3392
|
-
se("div",
|
|
3391
|
+
), (y, R) => (z(), oe("div", Ur, [
|
|
3392
|
+
se("div", Wr, [
|
|
3393
3393
|
_e(Tr, {
|
|
3394
3394
|
"model-value": F.value,
|
|
3395
3395
|
"excluded-subjects": w,
|
|
@@ -3404,10 +3404,10 @@ const Sr = { class: "col flex items-center" }, Dr = {
|
|
|
3404
3404
|
}))
|
|
3405
3405
|
]), 1032, ["model-value", "additional-permissions"])
|
|
3406
3406
|
]),
|
|
3407
|
-
se("div",
|
|
3407
|
+
se("div", jr, [
|
|
3408
3408
|
_e(Cn, {
|
|
3409
|
-
"model-value":
|
|
3410
|
-
options:
|
|
3409
|
+
"model-value": j.value,
|
|
3410
|
+
options: M.value,
|
|
3411
3411
|
context: J(a)("team.labels.warehouse"),
|
|
3412
3412
|
"onUpdate:modelValue": i
|
|
3413
3413
|
}, xe({ _: 2 }, [
|
|
@@ -3422,7 +3422,7 @@ const Sr = { class: "col flex items-center" }, Dr = {
|
|
|
3422
3422
|
se("div", Vr, [
|
|
3423
3423
|
_e(Cn, {
|
|
3424
3424
|
"model-value": E.value,
|
|
3425
|
-
options:
|
|
3425
|
+
options: D.value,
|
|
3426
3426
|
context: J(a)("team.labels.restaurant"),
|
|
3427
3427
|
"onUpdate:modelValue": Y
|
|
3428
3428
|
}, xe({ _: 2 }, [
|
|
@@ -3453,5 +3453,5 @@ const Sr = { class: "col flex items-center" }, Dr = {
|
|
|
3453
3453
|
}
|
|
3454
3454
|
});
|
|
3455
3455
|
export {
|
|
3456
|
-
|
|
3456
|
+
Qr as _
|
|
3457
3457
|
};
|