@feedmepos/mf-hrm-portal 2.0.3-dev.3 → 2.0.3-dev.5
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-ssYtQ2J1.js → AuditLogList-CV-y1xix.js} +28 -28
- package/dist/{EmployeeList-CNNgH2vX.js → EmployeeList-DDbML16v.js} +5 -5
- package/dist/{Main-DAcmCNsi.js → Main-CHG4jcIV.js} +8 -8
- package/dist/{Main-DmaUVB5Y.js → Main-CoY-GVfR.js} +5 -5
- package/dist/{PermissionSetList-CybAQCrm.js → PermissionSetList-BpbcJwgS.js} +27 -27
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-6Vgf4lIX.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CUqD40tX.js} +361 -361
- package/dist/{RoleList-rv6egTFo.js → RoleList-DU6TSPjK.js} +6 -6
- package/dist/{TeamMemberList-JjUw7Pdt.js → TeamMemberList-BPhlYPcR.js} +7 -7
- package/dist/{TimesheetList-lYmFc7sY.js → TimesheetList-BZX7mz7l.js} +6 -6
- package/dist/{app-BF5fWLn5.js → app-CsL8zF1K.js} +703 -789
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-_VE-J0yP.js → dayjs.min-DEds7FgH.js} +1 -1
- package/dist/{employee-BDPrgphI.js → employee-7Dzn6dfg.js} +3 -3
- package/dist/{index-CdQ13eT1.js → index-BWPzcUza.js} +1 -1
- package/dist/{index-CFGp5zzo.js → index-C5JbANxF.js} +652 -631
- package/dist/{lodash-CucjoHYl.js → lodash-OC-U-Tc5.js} +1 -1
- package/dist/src/helpers/permission-set.d.ts +1 -1
- package/dist/{team-DzG7du5b.js → team-WEakcs7T.js} +1 -1
- package/dist/{timesheet-BHNzrve1.js → timesheet-ORUr4kLh.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-D4PCstqq.js → useAppStore-BecgT5CH.js} +1 -1
- package/dist/{useLoading-wggM_LZw.js → useLoading-C-sYO9Ah.js} +1 -1
- package/dist/{useReportPermissions-C2cFzRyt.js → useReportPermissions-C0YEiS2R.js} +2 -2
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { getCurrentInstance as
|
|
1
|
+
import { getCurrentInstance as Zt, inject as Yn, ref as Ve, shallowRef as Bn, computed as Q, watch as St, onMounted as xt, onUnmounted as Ln, defineComponent as Ie, h as Rn, createVNode as de, Text as Jn, Fragment as ye, resolveComponent as Xe, createBlock as Se, openBlock as x, withCtx as pe, createElementVNode as ne, createElementBlock as te, toDisplayString as Ae, unref as Te, renderList as _e, renderSlot as he, createCommentVNode as Oe, createTextVNode as $n, useSlots as Kn, normalizeStyle as ct, normalizeClass as qe, createSlots as Fe, nextTick as Qn, mergeModels as zt, useModel as zn } from "vue";
|
|
2
2
|
import { useI18n as _t, useCoreStore as qn } from "@feedmepos/mf-common";
|
|
3
3
|
import "@vue/devtools-api";
|
|
4
|
-
import { l as ut, p as Dt, g as es, b as ts, q as ns, E as ss, F as yt, G as as, w as rs, $ as Tt } from "./index-
|
|
5
|
-
import {
|
|
6
|
-
import { u as is } from "./index-
|
|
7
|
-
import { u as cs } from "./useAppStore-
|
|
4
|
+
import { l as ut, p as Dt, g as es, b as ts, q as ns, E as ss, F as yt, G as as, w as rs, $ as Tt } from "./index-C5JbANxF.js";
|
|
5
|
+
import { i as ls, d as ie, U as os, a as kt } from "./app-CsL8zF1K.js";
|
|
6
|
+
import { u as is } from "./index-BWPzcUza.js";
|
|
7
|
+
import { u as cs } from "./useAppStore-BecgT5CH.js";
|
|
8
8
|
/*!
|
|
9
9
|
* shared v10.0.5
|
|
10
10
|
* (c) 2024 kazuya kawaguchi
|
|
@@ -20,7 +20,7 @@ const _s = Object.prototype.hasOwnProperty;
|
|
|
20
20
|
function Ee(e, t) {
|
|
21
21
|
return _s.call(e, t);
|
|
22
22
|
}
|
|
23
|
-
const oe = Array.isArray, se = (e) => typeof e == "function",
|
|
23
|
+
const oe = Array.isArray, se = (e) => typeof e == "function", M = (e) => typeof e == "string", le = (e) => typeof e == "boolean", H = (e) => e !== null && typeof e == "object", ps = (e) => H(e) && se(e.then) && se(e.catch), Cn = Object.prototype.toString, Xt = (e) => Cn.call(e), X = (e) => Xt(e) === "[object Object]", hs = (e) => e == null ? "" : oe(e) || X(e) && e.toString === Cn ? JSON.stringify(e, null, 2) : String(e);
|
|
24
24
|
function Ht(e, t = "") {
|
|
25
25
|
return e.reduce((n, s, l) => l === 0 ? n + s : n + t + s, "");
|
|
26
26
|
}
|
|
@@ -42,7 +42,7 @@ function mt(e, t) {
|
|
|
42
42
|
function gs(e, t, n) {
|
|
43
43
|
return { line: e, column: t, offset: n };
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function wt(e, t, n) {
|
|
46
46
|
return { start: e, end: t };
|
|
47
47
|
}
|
|
48
48
|
const B = {
|
|
@@ -75,7 +75,7 @@ const ke = " ", Is = "\r", me = `
|
|
|
75
75
|
function Ts(e) {
|
|
76
76
|
const t = e;
|
|
77
77
|
let n = 0, s = 1, l = 1, a = 0;
|
|
78
|
-
const c = (_) => t[_] === Is && t[_ + 1] === me, m = (_) => t[_] === me, u = (_) => t[_] === ys, b = (_) => t[_] === Ns, T = (_) => c(_) || m(_) || u(_) || b(_), O = () => n, N = () => s, P = () => l, V = () => a, k = (_) => c(_) || u(_) || b(_) ? me : t[_],
|
|
78
|
+
const c = (_) => t[_] === Is && t[_ + 1] === me, m = (_) => t[_] === me, u = (_) => t[_] === ys, b = (_) => t[_] === Ns, T = (_) => c(_) || m(_) || u(_) || b(_), O = () => n, N = () => s, P = () => l, V = () => a, k = (_) => c(_) || u(_) || b(_) ? me : t[_], A = () => k(n), i = () => k(n + a);
|
|
79
79
|
function d() {
|
|
80
80
|
return a = 0, T(n) && (s++, l = 0), c(n) && n++, n++, l++, t[n];
|
|
81
81
|
}
|
|
@@ -100,7 +100,7 @@ function Ts(e) {
|
|
|
100
100
|
column: P,
|
|
101
101
|
peekOffset: V,
|
|
102
102
|
charAt: k,
|
|
103
|
-
currentChar:
|
|
103
|
+
currentChar: A,
|
|
104
104
|
currentPeek: i,
|
|
105
105
|
next: d,
|
|
106
106
|
peek: y,
|
|
@@ -109,7 +109,7 @@ function Ts(e) {
|
|
|
109
109
|
skipToPeek: p
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
|
-
const
|
|
112
|
+
const Ce = void 0, ks = ".", nn = "'", Os = "tokenizer";
|
|
113
113
|
function Ls(e, t = {}) {
|
|
114
114
|
const n = t.location !== !1, s = Ts(e), l = () => s.index(), a = () => gs(s.line(), s.column(), s.index()), c = a(), m = l(), u = {
|
|
115
115
|
currentType: 13,
|
|
@@ -127,7 +127,7 @@ function Ls(e, t = {}) {
|
|
|
127
127
|
function O(r, o, v, ...F) {
|
|
128
128
|
const ae = b();
|
|
129
129
|
if (o.column += v, o.offset += v, T) {
|
|
130
|
-
const G = n ?
|
|
130
|
+
const G = n ? wt(ae.startLoc, o) : null, f = ht(r, G, {
|
|
131
131
|
domain: Os,
|
|
132
132
|
args: F
|
|
133
133
|
});
|
|
@@ -137,7 +137,7 @@ function Ls(e, t = {}) {
|
|
|
137
137
|
function N(r, o, v) {
|
|
138
138
|
r.endLoc = a(), r.currentType = o;
|
|
139
139
|
const F = { type: o };
|
|
140
|
-
return n && (F.loc =
|
|
140
|
+
return n && (F.loc = wt(r.startLoc, r.endLoc)), v != null && (F.value = v), F;
|
|
141
141
|
}
|
|
142
142
|
const P = (r) => N(
|
|
143
143
|
r,
|
|
@@ -153,12 +153,12 @@ function Ls(e, t = {}) {
|
|
|
153
153
|
o += r.currentPeek(), r.peek();
|
|
154
154
|
return o;
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function A(r) {
|
|
157
157
|
const o = k(r);
|
|
158
158
|
return r.skipToPeek(), o;
|
|
159
159
|
}
|
|
160
160
|
function i(r) {
|
|
161
|
-
if (r ===
|
|
161
|
+
if (r === Ce)
|
|
162
162
|
return !1;
|
|
163
163
|
const o = r.charCodeAt(0);
|
|
164
164
|
return o >= 97 && o <= 122 || // a-z
|
|
@@ -166,7 +166,7 @@ function Ls(e, t = {}) {
|
|
|
166
166
|
o === 95;
|
|
167
167
|
}
|
|
168
168
|
function d(r) {
|
|
169
|
-
if (r ===
|
|
169
|
+
if (r === Ce)
|
|
170
170
|
return !1;
|
|
171
171
|
const o = r.charCodeAt(0);
|
|
172
172
|
return o >= 48 && o <= 57;
|
|
@@ -243,7 +243,7 @@ function Ls(e, t = {}) {
|
|
|
243
243
|
}
|
|
244
244
|
function D(r, o) {
|
|
245
245
|
const v = r.currentChar();
|
|
246
|
-
return v ===
|
|
246
|
+
return v === Ce ? Ce : o(v) ? (r.next(), v) : null;
|
|
247
247
|
}
|
|
248
248
|
function J(r) {
|
|
249
249
|
const o = r.charCodeAt(0);
|
|
@@ -256,7 +256,7 @@ function Ls(e, t = {}) {
|
|
|
256
256
|
function q(r) {
|
|
257
257
|
return D(r, J);
|
|
258
258
|
}
|
|
259
|
-
function
|
|
259
|
+
function C(r) {
|
|
260
260
|
const o = r.charCodeAt(0);
|
|
261
261
|
return o >= 97 && o <= 122 || // a-z
|
|
262
262
|
o >= 65 && o <= 90 || // A-Z
|
|
@@ -266,14 +266,14 @@ function Ls(e, t = {}) {
|
|
|
266
266
|
o === 45;
|
|
267
267
|
}
|
|
268
268
|
function L(r) {
|
|
269
|
-
return D(r,
|
|
269
|
+
return D(r, C);
|
|
270
270
|
}
|
|
271
|
-
function
|
|
271
|
+
function w(r) {
|
|
272
272
|
const o = r.charCodeAt(0);
|
|
273
273
|
return o >= 48 && o <= 57;
|
|
274
274
|
}
|
|
275
275
|
function Y(r) {
|
|
276
|
-
return D(r,
|
|
276
|
+
return D(r, w);
|
|
277
277
|
}
|
|
278
278
|
function U(r) {
|
|
279
279
|
const o = r.charCodeAt(0);
|
|
@@ -284,7 +284,7 @@ function Ls(e, t = {}) {
|
|
|
284
284
|
function R(r) {
|
|
285
285
|
return D(r, U);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
287
|
+
function Z(r) {
|
|
288
288
|
let o = "", v = "";
|
|
289
289
|
for (; o = Y(r); )
|
|
290
290
|
v += o;
|
|
@@ -310,27 +310,27 @@ function Ls(e, t = {}) {
|
|
|
310
310
|
return o;
|
|
311
311
|
}
|
|
312
312
|
function ge(r) {
|
|
313
|
-
|
|
313
|
+
A(r);
|
|
314
314
|
let o = "", v = "";
|
|
315
315
|
for (; o = L(r); )
|
|
316
316
|
v += o;
|
|
317
|
-
return r.currentChar() ===
|
|
317
|
+
return r.currentChar() === Ce && O(B.UNTERMINATED_CLOSING_BRACE, a(), 0), v;
|
|
318
318
|
}
|
|
319
319
|
function fe(r) {
|
|
320
|
-
|
|
320
|
+
A(r);
|
|
321
321
|
let o = "";
|
|
322
|
-
return r.currentChar() === "-" ? (r.next(), o += `-${
|
|
322
|
+
return r.currentChar() === "-" ? (r.next(), o += `-${Z(r)}`) : o += Z(r), r.currentChar() === Ce && O(B.UNTERMINATED_CLOSING_BRACE, a(), 0), o;
|
|
323
323
|
}
|
|
324
|
-
function
|
|
324
|
+
function Me(r) {
|
|
325
325
|
return r !== nn && r !== me;
|
|
326
326
|
}
|
|
327
327
|
function ee(r) {
|
|
328
|
-
|
|
328
|
+
A(r), V(r, "'");
|
|
329
329
|
let o = "", v = "";
|
|
330
|
-
for (; o = D(r,
|
|
330
|
+
for (; o = D(r, Me); )
|
|
331
331
|
o === "\\" ? v += ve(r) : v += o;
|
|
332
332
|
const F = r.currentChar();
|
|
333
|
-
return F === me || F ===
|
|
333
|
+
return F === me || F === Ce ? (O(B.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), F === me && (r.next(), V(r, "'")), v) : (V(r, "'"), v);
|
|
334
334
|
}
|
|
335
335
|
function ve(r) {
|
|
336
336
|
const o = r.currentChar();
|
|
@@ -363,7 +363,7 @@ function Ls(e, t = {}) {
|
|
|
363
363
|
return r !== "{" && r !== "}" && r !== ke && r !== me;
|
|
364
364
|
}
|
|
365
365
|
function vt(r) {
|
|
366
|
-
|
|
366
|
+
A(r);
|
|
367
367
|
let o = "", v = "";
|
|
368
368
|
for (; o = D(r, $e); )
|
|
369
369
|
v += o;
|
|
@@ -383,13 +383,13 @@ function Ls(e, t = {}) {
|
|
|
383
383
|
return o("");
|
|
384
384
|
}
|
|
385
385
|
function Ke(r) {
|
|
386
|
-
|
|
386
|
+
A(r);
|
|
387
387
|
const o = V(
|
|
388
388
|
r,
|
|
389
389
|
"|"
|
|
390
390
|
/* TokenChars.Pipe */
|
|
391
391
|
);
|
|
392
|
-
return
|
|
392
|
+
return A(r), o;
|
|
393
393
|
}
|
|
394
394
|
function Ge(r, o) {
|
|
395
395
|
let v = null;
|
|
@@ -400,14 +400,14 @@ function Ls(e, t = {}) {
|
|
|
400
400
|
2,
|
|
401
401
|
"{"
|
|
402
402
|
/* TokenChars.BraceLeft */
|
|
403
|
-
),
|
|
403
|
+
), A(r), o.braceNest++, v;
|
|
404
404
|
case "}":
|
|
405
405
|
return o.braceNest > 0 && o.currentType === 2 && O(B.EMPTY_PLACEHOLDER, a(), 0), r.next(), v = N(
|
|
406
406
|
o,
|
|
407
407
|
3,
|
|
408
408
|
"}"
|
|
409
409
|
/* TokenChars.BraceRight */
|
|
410
|
-
), o.braceNest--, o.braceNest > 0 &&
|
|
410
|
+
), o.braceNest--, o.braceNest > 0 && A(r), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), v;
|
|
411
411
|
case "@":
|
|
412
412
|
return o.braceNest > 0 && O(B.UNTERMINATED_CLOSING_BRACE, a(), 0), v = We(r, o) || P(o), o.braceNest = 0, v;
|
|
413
413
|
default: {
|
|
@@ -417,13 +417,13 @@ function Ls(e, t = {}) {
|
|
|
417
417
|
if (o.braceNest > 0 && (o.currentType === 4 || o.currentType === 5 || o.currentType === 6))
|
|
418
418
|
return O(B.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0, Qe(r, o);
|
|
419
419
|
if (ae = y(r, o))
|
|
420
|
-
return v = N(o, 4, ge(r)),
|
|
420
|
+
return v = N(o, 4, ge(r)), A(r), v;
|
|
421
421
|
if (G = h(r, o))
|
|
422
|
-
return v = N(o, 5, fe(r)),
|
|
422
|
+
return v = N(o, 5, fe(r)), A(r), v;
|
|
423
423
|
if (f = S(r, o))
|
|
424
|
-
return v = N(o, 6, ee(r)),
|
|
424
|
+
return v = N(o, 6, ee(r)), A(r), v;
|
|
425
425
|
if (!ae && !G && !f)
|
|
426
|
-
return v = N(o, 12, vt(r)), O(B.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, v.value),
|
|
426
|
+
return v = N(o, 12, vt(r)), O(B.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, v.value), A(r), v;
|
|
427
427
|
break;
|
|
428
428
|
}
|
|
429
429
|
}
|
|
@@ -442,21 +442,21 @@ function Ls(e, t = {}) {
|
|
|
442
442
|
/* TokenChars.LinkedAlias */
|
|
443
443
|
), o.inLinked = !0, F;
|
|
444
444
|
case ".":
|
|
445
|
-
return
|
|
445
|
+
return A(r), r.next(), N(
|
|
446
446
|
o,
|
|
447
447
|
8,
|
|
448
448
|
"."
|
|
449
449
|
/* TokenChars.LinkedDot */
|
|
450
450
|
);
|
|
451
451
|
case ":":
|
|
452
|
-
return
|
|
452
|
+
return A(r), r.next(), N(
|
|
453
453
|
o,
|
|
454
454
|
9,
|
|
455
455
|
":"
|
|
456
456
|
/* TokenChars.LinkedDelimiter */
|
|
457
457
|
);
|
|
458
458
|
default:
|
|
459
|
-
return I(r) ? (F = N(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, F) : p(r, o) || j(r, o) ? (
|
|
459
|
+
return I(r) ? (F = N(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, F) : p(r, o) || j(r, o) ? (A(r), We(r, o)) : _(r, o) ? (A(r), N(o, 11, Et(r))) : g(r, o) ? (A(r), ae === "{" ? Ge(r, o) || F : N(o, 10, It(r))) : (v === 7 && O(B.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, Qe(r, o));
|
|
460
460
|
}
|
|
461
461
|
}
|
|
462
462
|
function Qe(r, o) {
|
|
@@ -492,7 +492,7 @@ function Ls(e, t = {}) {
|
|
|
492
492
|
}
|
|
493
493
|
function Nt() {
|
|
494
494
|
const { currentType: r, offset: o, startLoc: v, endLoc: F } = u;
|
|
495
|
-
return u.lastType = r, u.lastOffset = o, u.lastStartLoc = v, u.lastEndLoc = F, u.offset = l(), u.startLoc = a(), s.currentChar() ===
|
|
495
|
+
return u.lastType = r, u.lastOffset = o, u.lastStartLoc = v, u.lastEndLoc = F, u.offset = l(), u.startLoc = a(), s.currentChar() === Ce ? N(
|
|
496
496
|
u,
|
|
497
497
|
13
|
|
498
498
|
/* TokenTypes.EOF */
|
|
@@ -505,8 +505,8 @@ function Ls(e, t = {}) {
|
|
|
505
505
|
context: b
|
|
506
506
|
};
|
|
507
507
|
}
|
|
508
|
-
const Rs = "parser",
|
|
509
|
-
function
|
|
508
|
+
const Rs = "parser", Cs = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
|
|
509
|
+
function As(e, t, n) {
|
|
510
510
|
switch (e) {
|
|
511
511
|
case "\\\\":
|
|
512
512
|
return "\\";
|
|
@@ -523,7 +523,7 @@ function Ss(e = {}) {
|
|
|
523
523
|
function s(i, d, y, h, ...S) {
|
|
524
524
|
const p = i.currentPosition();
|
|
525
525
|
if (p.offset += h, p.column += h, n) {
|
|
526
|
-
const _ = t ?
|
|
526
|
+
const _ = t ? wt(y, p) : null, j = ht(d, _, {
|
|
527
527
|
domain: Rs,
|
|
528
528
|
args: S
|
|
529
529
|
});
|
|
@@ -551,7 +551,7 @@ function Ss(e = {}) {
|
|
|
551
551
|
}
|
|
552
552
|
function b(i, d) {
|
|
553
553
|
const y = i.context(), { lastOffset: h, lastStartLoc: S } = y, p = l(9, h, S);
|
|
554
|
-
return p.value = d.replace(
|
|
554
|
+
return p.value = d.replace(Cs, As), i.nextToken(), a(p, i.currentOffset(), i.currentPosition()), p;
|
|
555
555
|
}
|
|
556
556
|
function T(i) {
|
|
557
557
|
const d = i.nextToken(), y = i.context(), { lastOffset: h, lastStartLoc: S } = y, p = l(8, h, S);
|
|
@@ -643,11 +643,11 @@ function Ss(e = {}) {
|
|
|
643
643
|
const d = i.context(), { offset: y, startLoc: h } = d, S = P(i);
|
|
644
644
|
return d.currentType === 13 ? S : V(i, y, h, S);
|
|
645
645
|
}
|
|
646
|
-
function
|
|
646
|
+
function A(i) {
|
|
647
647
|
const d = Ls(i, ue({}, e)), y = d.context(), h = l(0, y.offset, y.startLoc);
|
|
648
648
|
return t && h.loc && (h.loc.source = i), h.body = k(d), e.onCacheKey && (h.cacheKey = e.onCacheKey(i)), y.currentType !== 13 && s(d, B.UNEXPECTED_LEXICAL_ANALYSIS, y.lastStartLoc, 0, i[y.offset] || ""), a(h, d.currentOffset(), d.currentPosition()), h;
|
|
649
649
|
}
|
|
650
|
-
return { parse:
|
|
650
|
+
return { parse: A };
|
|
651
651
|
}
|
|
652
652
|
function Ne(e) {
|
|
653
653
|
if (e.type === 13)
|
|
@@ -707,7 +707,7 @@ function Yt(e, t) {
|
|
|
707
707
|
break;
|
|
708
708
|
}
|
|
709
709
|
}
|
|
710
|
-
function
|
|
710
|
+
function ws(e, t = {}) {
|
|
711
711
|
const n = Ds(e);
|
|
712
712
|
n.helper(
|
|
713
713
|
"normalize"
|
|
@@ -716,7 +716,7 @@ function Ms(e, t = {}) {
|
|
|
716
716
|
const s = n.context();
|
|
717
717
|
e.helpers = Array.from(s.helpers);
|
|
718
718
|
}
|
|
719
|
-
function
|
|
719
|
+
function Ms(e) {
|
|
720
720
|
const t = e.body;
|
|
721
721
|
return t.type === 2 ? an(t) : t.cases.forEach((n) => an(n)), e;
|
|
722
722
|
}
|
|
@@ -741,24 +741,24 @@ function an(e) {
|
|
|
741
741
|
}
|
|
742
742
|
}
|
|
743
743
|
}
|
|
744
|
-
function
|
|
744
|
+
function xe(e) {
|
|
745
745
|
switch (e.t = e.type, e.type) {
|
|
746
746
|
case 0: {
|
|
747
747
|
const t = e;
|
|
748
|
-
|
|
748
|
+
xe(t.body), t.b = t.body, delete t.body;
|
|
749
749
|
break;
|
|
750
750
|
}
|
|
751
751
|
case 1: {
|
|
752
752
|
const t = e, n = t.cases;
|
|
753
753
|
for (let s = 0; s < n.length; s++)
|
|
754
|
-
|
|
754
|
+
xe(n[s]);
|
|
755
755
|
t.c = n, delete t.cases;
|
|
756
756
|
break;
|
|
757
757
|
}
|
|
758
758
|
case 2: {
|
|
759
759
|
const t = e, n = t.items;
|
|
760
760
|
for (let s = 0; s < n.length; s++)
|
|
761
|
-
|
|
761
|
+
xe(n[s]);
|
|
762
762
|
t.i = n, delete t.items, t.static && (t.s = t.static, delete t.static);
|
|
763
763
|
break;
|
|
764
764
|
}
|
|
@@ -772,7 +772,7 @@ function Ze(e) {
|
|
|
772
772
|
}
|
|
773
773
|
case 6: {
|
|
774
774
|
const t = e;
|
|
775
|
-
|
|
775
|
+
xe(t.key), t.k = t.key, delete t.key, t.modifier && (xe(t.modifier), t.m = t.modifier, delete t.modifier);
|
|
776
776
|
break;
|
|
777
777
|
}
|
|
778
778
|
case 5: {
|
|
@@ -802,20 +802,20 @@ function Ps(e, t) {
|
|
|
802
802
|
};
|
|
803
803
|
a && e.loc && (c.source = e.loc.source);
|
|
804
804
|
const m = () => c;
|
|
805
|
-
function u(k,
|
|
805
|
+
function u(k, A) {
|
|
806
806
|
c.code += k;
|
|
807
807
|
}
|
|
808
|
-
function b(k,
|
|
809
|
-
const i =
|
|
808
|
+
function b(k, A = !0) {
|
|
809
|
+
const i = A ? s : "";
|
|
810
810
|
u(l ? i + " ".repeat(k) : i);
|
|
811
811
|
}
|
|
812
812
|
function T(k = !0) {
|
|
813
|
-
const
|
|
814
|
-
k && b(
|
|
813
|
+
const A = ++c.indentLevel;
|
|
814
|
+
k && b(A);
|
|
815
815
|
}
|
|
816
816
|
function O(k = !0) {
|
|
817
|
-
const
|
|
818
|
-
k && b(
|
|
817
|
+
const A = --c.indentLevel;
|
|
818
|
+
k && b(A);
|
|
819
819
|
}
|
|
820
820
|
function N() {
|
|
821
821
|
b(c.indentLevel);
|
|
@@ -912,7 +912,7 @@ function He(e, t) {
|
|
|
912
912
|
}
|
|
913
913
|
}
|
|
914
914
|
const Gs = (e, t = {}) => {
|
|
915
|
-
const n =
|
|
915
|
+
const n = M(t.mode) ? t.mode : "normal", s = M(t.filename) ? t.filename : "message.intl";
|
|
916
916
|
t.sourceMap;
|
|
917
917
|
const l = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
|
|
918
918
|
`, a = t.needIndent ? t.needIndent : n !== "arrow", c = e.helpers || [], m = Ps(e, {
|
|
@@ -931,10 +931,10 @@ const Gs = (e, t = {}) => {
|
|
|
931
931
|
};
|
|
932
932
|
function Ws(e, t = {}) {
|
|
933
933
|
const n = ue({}, t), s = !!n.jit, l = !!n.minify, a = n.optimize == null ? !0 : n.optimize, m = Ss(n).parse(e);
|
|
934
|
-
return s ? (a &&
|
|
934
|
+
return s ? (a && Ms(m), l && xe(m), { ast: m, code: "" }) : (ws(m, n), Gs(m, n));
|
|
935
935
|
}
|
|
936
|
-
var
|
|
937
|
-
function
|
|
936
|
+
var Zs = { env: { NODE_ENV: "production" } };
|
|
937
|
+
function xs() {
|
|
938
938
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (je().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (je().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
939
939
|
}
|
|
940
940
|
function Ot(e) {
|
|
@@ -969,7 +969,7 @@ function rn(e, t) {
|
|
|
969
969
|
if (n != null)
|
|
970
970
|
return e.type === "text" ? n : e.normalize([n]);
|
|
971
971
|
{
|
|
972
|
-
const s = zs(t).reduce((l, a) => [...l,
|
|
972
|
+
const s = zs(t).reduce((l, a) => [...l, Mt(e, a)], []);
|
|
973
973
|
return e.normalize(s);
|
|
974
974
|
}
|
|
975
975
|
}
|
|
@@ -981,7 +981,7 @@ const Qs = ["i", "items"];
|
|
|
981
981
|
function zs(e) {
|
|
982
982
|
return De(e, Qs, []);
|
|
983
983
|
}
|
|
984
|
-
function
|
|
984
|
+
function Mt(e, t) {
|
|
985
985
|
const n = Bt(t);
|
|
986
986
|
switch (n) {
|
|
987
987
|
case 3:
|
|
@@ -1006,7 +1006,7 @@ function wt(e, t) {
|
|
|
1006
1006
|
}
|
|
1007
1007
|
case 6: {
|
|
1008
1008
|
const s = t, l = na(s), a = aa(s);
|
|
1009
|
-
return e.linked(
|
|
1009
|
+
return e.linked(Mt(e, a), l ? Mt(e, l) : void 0, e.type);
|
|
1010
1010
|
}
|
|
1011
1011
|
case 7:
|
|
1012
1012
|
return lt(t, n);
|
|
@@ -1066,14 +1066,14 @@ function la(e, t = {}) {
|
|
|
1066
1066
|
}
|
|
1067
1067
|
// @__NO_SIDE_EFFECTS__
|
|
1068
1068
|
function oa(e, t) {
|
|
1069
|
-
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ &&
|
|
1069
|
+
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && M(e)) {
|
|
1070
1070
|
le(t.warnHtmlMessage) && t.warnHtmlMessage;
|
|
1071
1071
|
const s = (t.onCacheKey || ra)(e), l = ot[s];
|
|
1072
1072
|
if (l)
|
|
1073
1073
|
return l;
|
|
1074
1074
|
const { ast: a, detectError: c } = la(e, {
|
|
1075
1075
|
...t,
|
|
1076
|
-
location:
|
|
1076
|
+
location: Zs.env.NODE_ENV !== "production",
|
|
1077
1077
|
jit: !0
|
|
1078
1078
|
}), m = Ot(a);
|
|
1079
1079
|
return c ? m : ot[s] = m;
|
|
@@ -1119,7 +1119,7 @@ function Jt(e, t) {
|
|
|
1119
1119
|
}
|
|
1120
1120
|
let Lt;
|
|
1121
1121
|
function ln(e) {
|
|
1122
|
-
if (
|
|
1122
|
+
if (M(e))
|
|
1123
1123
|
return e;
|
|
1124
1124
|
if (se(e)) {
|
|
1125
1125
|
if (e.resolvedOnce && Lt != null)
|
|
@@ -1137,11 +1137,11 @@ function ln(e) {
|
|
|
1137
1137
|
function fa(e, t, n) {
|
|
1138
1138
|
return [.../* @__PURE__ */ new Set([
|
|
1139
1139
|
n,
|
|
1140
|
-
...oe(t) ? t : H(t) ? Object.keys(t) :
|
|
1140
|
+
...oe(t) ? t : H(t) ? Object.keys(t) : M(t) ? [t] : [n]
|
|
1141
1141
|
])];
|
|
1142
1142
|
}
|
|
1143
|
-
function
|
|
1144
|
-
const s =
|
|
1143
|
+
function An(e, t, n) {
|
|
1144
|
+
const s = M(n) ? n : ft, l = e;
|
|
1145
1145
|
l.__localeChainCache || (l.__localeChainCache = /* @__PURE__ */ new Map());
|
|
1146
1146
|
let a = l.__localeChainCache.get(s);
|
|
1147
1147
|
if (!a) {
|
|
@@ -1150,7 +1150,7 @@ function Cn(e, t, n) {
|
|
|
1150
1150
|
for (; oe(c); )
|
|
1151
1151
|
c = on(a, c, t);
|
|
1152
1152
|
const m = oe(t) || !X(t) ? t : t.default ? t.default : null;
|
|
1153
|
-
c =
|
|
1153
|
+
c = M(m) ? [m] : m, oe(c) && on(a, c, !1), l.__localeChainCache.set(s, a);
|
|
1154
1154
|
}
|
|
1155
1155
|
return a;
|
|
1156
1156
|
}
|
|
@@ -1158,7 +1158,7 @@ function on(e, t, n) {
|
|
|
1158
1158
|
let s = !0;
|
|
1159
1159
|
for (let l = 0; l < t.length && le(s); l++) {
|
|
1160
1160
|
const a = t[l];
|
|
1161
|
-
|
|
1161
|
+
M(a) && (s = _a(e, t[l], n));
|
|
1162
1162
|
}
|
|
1163
1163
|
return s;
|
|
1164
1164
|
}
|
|
@@ -1180,8 +1180,8 @@ function pa(e, t, n) {
|
|
|
1180
1180
|
}
|
|
1181
1181
|
return s;
|
|
1182
1182
|
}
|
|
1183
|
-
const
|
|
1184
|
-
|
|
1183
|
+
const we = [];
|
|
1184
|
+
we[
|
|
1185
1185
|
0
|
|
1186
1186
|
/* States.BEFORE_PATH */
|
|
1187
1187
|
] = {
|
|
@@ -1203,7 +1203,7 @@ Me[
|
|
|
1203
1203
|
/* States.AFTER_PATH */
|
|
1204
1204
|
]
|
|
1205
1205
|
};
|
|
1206
|
-
|
|
1206
|
+
we[
|
|
1207
1207
|
1
|
|
1208
1208
|
/* States.IN_PATH */
|
|
1209
1209
|
] = {
|
|
@@ -1224,7 +1224,7 @@ Me[
|
|
|
1224
1224
|
/* States.AFTER_PATH */
|
|
1225
1225
|
]
|
|
1226
1226
|
};
|
|
1227
|
-
|
|
1227
|
+
we[
|
|
1228
1228
|
2
|
|
1229
1229
|
/* States.BEFORE_IDENT */
|
|
1230
1230
|
] = {
|
|
@@ -1243,7 +1243,7 @@ Me[
|
|
|
1243
1243
|
/* Actions.APPEND */
|
|
1244
1244
|
]
|
|
1245
1245
|
};
|
|
1246
|
-
|
|
1246
|
+
we[
|
|
1247
1247
|
3
|
|
1248
1248
|
/* States.IN_IDENT */
|
|
1249
1249
|
] = {
|
|
@@ -1278,7 +1278,7 @@ Me[
|
|
|
1278
1278
|
/* Actions.PUSH */
|
|
1279
1279
|
]
|
|
1280
1280
|
};
|
|
1281
|
-
|
|
1281
|
+
we[
|
|
1282
1282
|
4
|
|
1283
1283
|
/* States.IN_SUB_PATH */
|
|
1284
1284
|
] = {
|
|
@@ -1309,7 +1309,7 @@ Me[
|
|
|
1309
1309
|
/* Actions.APPEND */
|
|
1310
1310
|
]
|
|
1311
1311
|
};
|
|
1312
|
-
|
|
1312
|
+
we[
|
|
1313
1313
|
5
|
|
1314
1314
|
/* States.IN_SINGLE_QUOTE */
|
|
1315
1315
|
] = {
|
|
@@ -1325,7 +1325,7 @@ Me[
|
|
|
1325
1325
|
/* Actions.APPEND */
|
|
1326
1326
|
]
|
|
1327
1327
|
};
|
|
1328
|
-
|
|
1328
|
+
we[
|
|
1329
1329
|
6
|
|
1330
1330
|
/* States.IN_DOUBLE_QUOTE */
|
|
1331
1331
|
] = {
|
|
@@ -1428,7 +1428,7 @@ function Ia(e) {
|
|
|
1428
1428
|
}
|
|
1429
1429
|
for (; s !== null; )
|
|
1430
1430
|
if (n++, a = e[n], !(a === "\\" && P())) {
|
|
1431
|
-
if (u = va(a), O =
|
|
1431
|
+
if (u = va(a), O = we[s], b = O[u] || O.l || 8, b === 8 || (s = b[0], b[1] !== void 0 && (T = N[b[1]], T && (m = a, T() === !1))))
|
|
1432
1432
|
return;
|
|
1433
1433
|
if (s === 7)
|
|
1434
1434
|
return t;
|
|
@@ -1457,9 +1457,9 @@ function ya(e, t) {
|
|
|
1457
1457
|
const Ta = "10.0.5", bt = -1, ft = "en-US", un = "", mn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1458
1458
|
function ka() {
|
|
1459
1459
|
return {
|
|
1460
|
-
upper: (e, t) => t === "text" &&
|
|
1461
|
-
lower: (e, t) => t === "text" &&
|
|
1462
|
-
capitalize: (e, t) => t === "text" &&
|
|
1460
|
+
upper: (e, t) => t === "text" && M(e) ? e.toUpperCase() : t === "vnode" && H(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1461
|
+
lower: (e, t) => t === "text" && M(e) ? e.toLowerCase() : t === "vnode" && H(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
1462
|
+
capitalize: (e, t) => t === "text" && M(e) ? mn(e) : t === "vnode" && H(e) && "__v_isVNode" in e ? mn(e.children) : e
|
|
1463
1463
|
};
|
|
1464
1464
|
}
|
|
1465
1465
|
let Sn;
|
|
@@ -1470,21 +1470,21 @@ let Dn;
|
|
|
1470
1470
|
function La(e) {
|
|
1471
1471
|
Dn = e;
|
|
1472
1472
|
}
|
|
1473
|
-
let
|
|
1473
|
+
let wn;
|
|
1474
1474
|
function Ra(e) {
|
|
1475
|
-
Mn = e;
|
|
1476
|
-
}
|
|
1477
|
-
let wn = null;
|
|
1478
|
-
const Aa = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
1479
1475
|
wn = e;
|
|
1480
|
-
}
|
|
1476
|
+
}
|
|
1477
|
+
let Mn = null;
|
|
1478
|
+
const Ca = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
1479
|
+
Mn = e;
|
|
1480
|
+
}, Aa = /* @__NO_SIDE_EFFECTS__ */ () => Mn;
|
|
1481
1481
|
let Pn = null;
|
|
1482
1482
|
const dn = (e) => {
|
|
1483
1483
|
Pn = e;
|
|
1484
1484
|
}, Sa = () => Pn;
|
|
1485
1485
|
let fn = 0;
|
|
1486
1486
|
function Da(e = {}) {
|
|
1487
|
-
const t = se(e.onWarn) ? e.onWarn : bs, n =
|
|
1487
|
+
const t = se(e.onWarn) ? e.onWarn : bs, n = M(e.version) ? e.version : Ta, s = M(e.locale) || se(e.locale) ? e.locale : ft, l = se(s) ? ft : s, a = oe(e.fallbackLocale) || X(e.fallbackLocale) || M(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = X(e.messages) ? e.messages : Rt(l), m = X(e.datetimeFormats) ? e.datetimeFormats : Rt(l), u = X(e.numberFormats) ? e.numberFormats : Rt(l), b = ue($(), e.modifiers, ka()), T = e.pluralRules || $(), O = se(e.missing) ? e.missing : null, N = le(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, P = le(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, V = !!e.fallbackFormat, k = !!e.unresolving, A = se(e.postTranslation) ? e.postTranslation : null, i = X(e.processor) ? e.processor : null, d = le(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter, h = se(e.messageCompiler) ? e.messageCompiler : Sn, S = se(e.messageResolver) ? e.messageResolver : Dn || Na, p = se(e.localeFallbacker) ? e.localeFallbacker : wn || fa, _ = H(e.fallbackContext) ? e.fallbackContext : void 0, j = e, g = H(j.__datetimeFormatters) ? j.__datetimeFormatters : /* @__PURE__ */ new Map(), I = H(j.__numberFormatters) ? j.__numberFormatters : /* @__PURE__ */ new Map(), W = H(j.__meta) ? j.__meta : {};
|
|
1488
1488
|
fn++;
|
|
1489
1489
|
const D = {
|
|
1490
1490
|
version: n,
|
|
@@ -1499,7 +1499,7 @@ function Da(e = {}) {
|
|
|
1499
1499
|
fallbackWarn: P,
|
|
1500
1500
|
fallbackFormat: V,
|
|
1501
1501
|
unresolving: k,
|
|
1502
|
-
postTranslation:
|
|
1502
|
+
postTranslation: A,
|
|
1503
1503
|
processor: i,
|
|
1504
1504
|
warnHtmlMessage: d,
|
|
1505
1505
|
escapeParameter: y,
|
|
@@ -1517,7 +1517,7 @@ function $t(e, t, n, s, l) {
|
|
|
1517
1517
|
const { missing: a, onWarn: c } = e;
|
|
1518
1518
|
if (a !== null) {
|
|
1519
1519
|
const m = a(e, n, t, l);
|
|
1520
|
-
return
|
|
1520
|
+
return M(m) ? m : t;
|
|
1521
1521
|
} else
|
|
1522
1522
|
return t;
|
|
1523
1523
|
}
|
|
@@ -1525,15 +1525,15 @@ function ze(e, t, n) {
|
|
|
1525
1525
|
const s = e;
|
|
1526
1526
|
s.__localeChainCache = /* @__PURE__ */ new Map(), e.localeFallbacker(e, n, t);
|
|
1527
1527
|
}
|
|
1528
|
-
function
|
|
1528
|
+
function wa(e, t) {
|
|
1529
1529
|
return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
|
|
1530
1530
|
}
|
|
1531
|
-
function
|
|
1531
|
+
function Ma(e, t) {
|
|
1532
1532
|
const n = t.indexOf(e);
|
|
1533
1533
|
if (n === -1)
|
|
1534
1534
|
return !1;
|
|
1535
1535
|
for (let s = n + 1; s < t.length; s++)
|
|
1536
|
-
if (
|
|
1536
|
+
if (wa(e, t[s]))
|
|
1537
1537
|
return !0;
|
|
1538
1538
|
return !1;
|
|
1539
1539
|
}
|
|
@@ -1546,13 +1546,13 @@ function _n(e, ...t) {
|
|
|
1546
1546
|
l,
|
|
1547
1547
|
V
|
|
1548
1548
|
);
|
|
1549
|
-
if (!
|
|
1549
|
+
if (!M(u) || u === "")
|
|
1550
1550
|
return new Intl.DateTimeFormat(V, O).format(b);
|
|
1551
|
-
let
|
|
1551
|
+
let A = {}, i, d = null;
|
|
1552
1552
|
const y = "datetime format";
|
|
1553
|
-
for (let p = 0; p < k.length && (i = k[p],
|
|
1553
|
+
for (let p = 0; p < k.length && (i = k[p], A = n[i] || {}, d = A[u], !X(d)); p++)
|
|
1554
1554
|
$t(e, u, i, N, y);
|
|
1555
|
-
if (!X(d) || !
|
|
1555
|
+
if (!X(d) || !M(i))
|
|
1556
1556
|
return s ? bt : u;
|
|
1557
1557
|
let h = `${i}__${u}`;
|
|
1558
1558
|
pt(O) || (h = `${h}__${JSON.stringify(O)}`);
|
|
@@ -1584,7 +1584,7 @@ const Fn = [
|
|
|
1584
1584
|
function Pt(...e) {
|
|
1585
1585
|
const [t, n, s, l] = e, a = $();
|
|
1586
1586
|
let c = $(), m;
|
|
1587
|
-
if (
|
|
1587
|
+
if (M(t)) {
|
|
1588
1588
|
const u = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
1589
1589
|
if (!u)
|
|
1590
1590
|
throw Re(Le.INVALID_ISO_DATE_ARGUMENT);
|
|
@@ -1603,9 +1603,9 @@ function Pt(...e) {
|
|
|
1603
1603
|
m = t;
|
|
1604
1604
|
else
|
|
1605
1605
|
throw Re(Le.INVALID_ARGUMENT);
|
|
1606
|
-
return
|
|
1606
|
+
return M(n) ? a.key = n : X(n) && Object.keys(n).forEach((u) => {
|
|
1607
1607
|
Fn.includes(u) ? c[u] = n[u] : a[u] = n[u];
|
|
1608
|
-
}),
|
|
1608
|
+
}), M(s) ? a.locale = s : X(s) && (c = s), X(l) && (c = l), [a.key || "", m, a, c];
|
|
1609
1609
|
}
|
|
1610
1610
|
function pn(e, t, n) {
|
|
1611
1611
|
const s = e;
|
|
@@ -1623,13 +1623,13 @@ function hn(e, ...t) {
|
|
|
1623
1623
|
l,
|
|
1624
1624
|
V
|
|
1625
1625
|
);
|
|
1626
|
-
if (!
|
|
1626
|
+
if (!M(u) || u === "")
|
|
1627
1627
|
return new Intl.NumberFormat(V, O).format(b);
|
|
1628
|
-
let
|
|
1628
|
+
let A = {}, i, d = null;
|
|
1629
1629
|
const y = "number format";
|
|
1630
|
-
for (let p = 0; p < k.length && (i = k[p],
|
|
1630
|
+
for (let p = 0; p < k.length && (i = k[p], A = n[i] || {}, d = A[u], !X(d)); p++)
|
|
1631
1631
|
$t(e, u, i, N, y);
|
|
1632
|
-
if (!X(d) || !
|
|
1632
|
+
if (!X(d) || !M(i))
|
|
1633
1633
|
return s ? bt : u;
|
|
1634
1634
|
let h = `${i}__${u}`;
|
|
1635
1635
|
pt(O) || (h = `${h}__${JSON.stringify(O)}`);
|
|
@@ -1664,9 +1664,9 @@ function Ft(...e) {
|
|
|
1664
1664
|
if (!ce(t))
|
|
1665
1665
|
throw Re(Le.INVALID_ARGUMENT);
|
|
1666
1666
|
const m = t;
|
|
1667
|
-
return
|
|
1667
|
+
return M(n) ? a.key = n : X(n) && Object.keys(n).forEach((u) => {
|
|
1668
1668
|
jn.includes(u) ? c[u] = n[u] : a[u] = n[u];
|
|
1669
|
-
}),
|
|
1669
|
+
}), M(s) ? a.locale = s : X(s) && (c = s), X(l) && (c = l), [a.key || "", m, a, c];
|
|
1670
1670
|
}
|
|
1671
1671
|
function bn(e, t, n) {
|
|
1672
1672
|
const s = e;
|
|
@@ -1686,23 +1686,23 @@ function Ga(e) {
|
|
|
1686
1686
|
function Wa(e, t) {
|
|
1687
1687
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1688
1688
|
}
|
|
1689
|
-
function
|
|
1690
|
-
const t = e.locale, n = Ga(e), s = H(e.pluralRules) &&
|
|
1689
|
+
function Za(e = {}) {
|
|
1690
|
+
const t = e.locale, n = Ga(e), s = H(e.pluralRules) && M(t) && se(e.pluralRules[t]) ? e.pluralRules[t] : gn, l = H(e.pluralRules) && M(t) && se(e.pluralRules[t]) ? gn : void 0, a = (i) => i[s(n, i.length, l)], c = e.list || [], m = (i) => c[i], u = e.named || $();
|
|
1691
1691
|
ce(e.pluralIndex) && Wa(n, u);
|
|
1692
1692
|
const b = (i) => u[i];
|
|
1693
1693
|
function T(i, d) {
|
|
1694
1694
|
const y = se(e.messages) ? e.messages(i, !!d) : H(e.messages) ? e.messages[i] : !1;
|
|
1695
1695
|
return y || (e.parent ? e.parent.message(i) : Fa);
|
|
1696
1696
|
}
|
|
1697
|
-
const O = (i) => e.modifiers ? e.modifiers[i] : Pa, N = X(e.processor) && se(e.processor.normalize) ? e.processor.normalize : Va, P = X(e.processor) && se(e.processor.interpolate) ? e.processor.interpolate : Ua, V = X(e.processor) &&
|
|
1697
|
+
const O = (i) => e.modifiers ? e.modifiers[i] : Pa, N = X(e.processor) && se(e.processor.normalize) ? e.processor.normalize : Va, P = X(e.processor) && se(e.processor.interpolate) ? e.processor.interpolate : Ua, V = X(e.processor) && M(e.processor.type) ? e.processor.type : ja, A = {
|
|
1698
1698
|
list: m,
|
|
1699
1699
|
named: b,
|
|
1700
1700
|
plural: a,
|
|
1701
1701
|
linked: (i, ...d) => {
|
|
1702
1702
|
const [y, h] = d;
|
|
1703
1703
|
let S = "text", p = "";
|
|
1704
|
-
d.length === 1 ? H(y) ? (p = y.modifier || p, S = y.type || S) :
|
|
1705
|
-
const _ = T(i, !0)(
|
|
1704
|
+
d.length === 1 ? H(y) ? (p = y.modifier || p, S = y.type || S) : M(y) && (p = y || p) : d.length === 2 && (M(y) && (p = y || p), M(h) && (S = h || S));
|
|
1705
|
+
const _ = T(i, !0)(A), j = (
|
|
1706
1706
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1707
1707
|
S === "vnode" && oe(_) && p ? _[0] : _
|
|
1708
1708
|
);
|
|
@@ -1714,18 +1714,18 @@ function xa(e = {}) {
|
|
|
1714
1714
|
normalize: N,
|
|
1715
1715
|
values: ue($(), c, u)
|
|
1716
1716
|
};
|
|
1717
|
-
return
|
|
1717
|
+
return A;
|
|
1718
1718
|
}
|
|
1719
1719
|
const vn = () => "", be = (e) => se(e);
|
|
1720
1720
|
function En(e, ...t) {
|
|
1721
|
-
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: m } = e, [u, b] = jt(...t), T = le(b.missingWarn) ? b.missingWarn : e.missingWarn, O = le(b.fallbackWarn) ? b.fallbackWarn : e.fallbackWarn, N = le(b.escapeParameter) ? b.escapeParameter : e.escapeParameter, P = !!b.resolvedMessage, V =
|
|
1722
|
-
N &&
|
|
1721
|
+
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: m } = e, [u, b] = jt(...t), T = le(b.missingWarn) ? b.missingWarn : e.missingWarn, O = le(b.fallbackWarn) ? b.fallbackWarn : e.fallbackWarn, N = le(b.escapeParameter) ? b.escapeParameter : e.escapeParameter, P = !!b.resolvedMessage, V = M(b.default) || le(b.default) ? le(b.default) ? a ? u : () => u : b.default : n ? a ? u : () => u : null, k = n || V != null && (M(V) || se(V)), A = Jt(e, b);
|
|
1722
|
+
N && xa(b);
|
|
1723
1723
|
let [i, d, y] = P ? [
|
|
1724
1724
|
u,
|
|
1725
|
-
|
|
1726
|
-
m[
|
|
1727
|
-
] : Vn(e, u,
|
|
1728
|
-
if (!P && !(
|
|
1725
|
+
A,
|
|
1726
|
+
m[A] || $()
|
|
1727
|
+
] : Vn(e, u, A, c, O, T), h = i, S = u;
|
|
1728
|
+
if (!P && !(M(h) || Ye(h) || be(h)) && k && (h = V, S = h), !P && (!(M(h) || Ye(h) || be(h)) || !M(d)))
|
|
1729
1729
|
return l ? bt : u;
|
|
1730
1730
|
let p = !1;
|
|
1731
1731
|
const _ = () => {
|
|
@@ -1733,31 +1733,31 @@ function En(e, ...t) {
|
|
|
1733
1733
|
}, j = be(h) ? h : Un(e, u, d, h, S, _);
|
|
1734
1734
|
if (p)
|
|
1735
1735
|
return h;
|
|
1736
|
-
const g = Ya(e, d, y, b), I =
|
|
1736
|
+
const g = Ya(e, d, y, b), I = Za(g), W = Xa(e, j, I), D = s ? s(W, u) : W;
|
|
1737
1737
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1738
1738
|
const J = {
|
|
1739
1739
|
timestamp: Date.now(),
|
|
1740
|
-
key:
|
|
1740
|
+
key: M(u) ? u : be(h) ? h.key : "",
|
|
1741
1741
|
locale: d || (be(h) ? h.locale : ""),
|
|
1742
|
-
format:
|
|
1742
|
+
format: M(h) ? h : be(h) ? h.source : "",
|
|
1743
1743
|
message: D
|
|
1744
1744
|
};
|
|
1745
|
-
J.meta = ue({}, e.__meta, /* @__PURE__ */
|
|
1745
|
+
J.meta = ue({}, e.__meta, /* @__PURE__ */ Aa() || {}), ua(J);
|
|
1746
1746
|
}
|
|
1747
1747
|
return D;
|
|
1748
1748
|
}
|
|
1749
|
-
function
|
|
1750
|
-
oe(e.list) ? e.list = e.list.map((t) =>
|
|
1751
|
-
|
|
1749
|
+
function xa(e) {
|
|
1750
|
+
oe(e.list) ? e.list = e.list.map((t) => M(t) ? tn(t) : t) : H(e.named) && Object.keys(e.named).forEach((t) => {
|
|
1751
|
+
M(e.named[t]) && (e.named[t] = tn(e.named[t]));
|
|
1752
1752
|
});
|
|
1753
1753
|
}
|
|
1754
1754
|
function Vn(e, t, n, s, l, a) {
|
|
1755
1755
|
const { messages: c, onWarn: m, messageResolver: u, localeFallbacker: b } = e, T = b(e, s, n);
|
|
1756
1756
|
let O = $(), N, P = null;
|
|
1757
1757
|
const V = "translate";
|
|
1758
|
-
for (let k = 0; k < T.length && (N = T[k], O = c[N] || $(), (P = u(O, t)) === null && (P = O[t]), !(
|
|
1759
|
-
if (!
|
|
1760
|
-
const
|
|
1758
|
+
for (let k = 0; k < T.length && (N = T[k], O = c[N] || $(), (P = u(O, t)) === null && (P = O[t]), !(M(P) || Ye(P) || be(P))); k++)
|
|
1759
|
+
if (!Ma(N, T)) {
|
|
1760
|
+
const A = $t(
|
|
1761
1761
|
e,
|
|
1762
1762
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1763
1763
|
t,
|
|
@@ -1765,7 +1765,7 @@ function Vn(e, t, n, s, l, a) {
|
|
|
1765
1765
|
a,
|
|
1766
1766
|
V
|
|
1767
1767
|
);
|
|
1768
|
-
|
|
1768
|
+
A !== t && (P = A);
|
|
1769
1769
|
}
|
|
1770
1770
|
return [P, N, O];
|
|
1771
1771
|
}
|
|
@@ -1787,10 +1787,10 @@ function Xa(e, t, n) {
|
|
|
1787
1787
|
}
|
|
1788
1788
|
function jt(...e) {
|
|
1789
1789
|
const [t, n, s] = e, l = $();
|
|
1790
|
-
if (!
|
|
1790
|
+
if (!M(t) && !ce(t) && !be(t) && !Ye(t))
|
|
1791
1791
|
throw Re(Le.INVALID_ARGUMENT);
|
|
1792
1792
|
const a = ce(t) ? String(t) : (be(t), t);
|
|
1793
|
-
return ce(n) ? l.plural = n :
|
|
1793
|
+
return ce(n) ? l.plural = n : M(n) ? l.default = n : X(n) && !pt(n) ? l.named = n : oe(n) && (l.list = n), ce(s) ? l.plural = s : M(s) ? l.default = s : X(s) && ue(l, s), [a, l];
|
|
1794
1794
|
}
|
|
1795
1795
|
function Ha(e, t, n, s, l, a) {
|
|
1796
1796
|
return {
|
|
@@ -1811,7 +1811,7 @@ function Ya(e, t, n, s) {
|
|
|
1811
1811
|
messages: (P, V) => {
|
|
1812
1812
|
let k = c(n, P);
|
|
1813
1813
|
if (k == null && (T || V)) {
|
|
1814
|
-
const [, ,
|
|
1814
|
+
const [, , A] = Vn(
|
|
1815
1815
|
T || e,
|
|
1816
1816
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1817
1817
|
P,
|
|
@@ -1820,21 +1820,21 @@ function Ya(e, t, n, s) {
|
|
|
1820
1820
|
u,
|
|
1821
1821
|
b
|
|
1822
1822
|
);
|
|
1823
|
-
k = c(
|
|
1823
|
+
k = c(A, P);
|
|
1824
1824
|
}
|
|
1825
|
-
if (
|
|
1826
|
-
let
|
|
1825
|
+
if (M(k) || Ye(k)) {
|
|
1826
|
+
let A = !1;
|
|
1827
1827
|
const d = Un(e, P, t, k, P, () => {
|
|
1828
|
-
|
|
1828
|
+
A = !0;
|
|
1829
1829
|
});
|
|
1830
|
-
return
|
|
1830
|
+
return A ? vn : d;
|
|
1831
1831
|
} else return be(k) ? k : vn;
|
|
1832
1832
|
}
|
|
1833
1833
|
};
|
|
1834
1834
|
return e.processor && (N.processor = e.processor), s.list && (N.list = s.list), s.named && (N.named = s.named), ce(s.plural) && (N.pluralIndex = s.plural), N;
|
|
1835
1835
|
}
|
|
1836
|
-
|
|
1837
|
-
var Ba = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_1a05d3f7-5861-4781-b868-6877a1da62e1", 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_1a05d3f7-5861-4781-b868-6877a1da62e1", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.2.0", npm_node_execpath: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_files_0: "dist", npm_package_devDependencies_eslint_import_resolver_typescript: "^4.4.4", HOME: "/home/runner", npm_package_devDependencies__eslint_js: "^9.39.2", npm_package_devDependencies__typescript_eslint_parser: "^8.52.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_devDependencies_eslint_config_prettier: "^10.1.8", npm_config_save_workspace_protocol: "true", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.4.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "^1.29.10", npm_package_devDependencies_code_inspector_plugin: "^0.20.16", npm_package_devDependencies_npm_run_all2: "^6.0.6", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1860", ACTIONS_ORCHESTRATION_ID: "f2d8e307-d4cd-4347-8597-013cc49ff326.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.7.0", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "VITE_TARGET_ENV=dev pnpm build:mf && pnpm build:dts", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.9.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.6", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260406.80.1", npm_package_scripts_dev: "vite", npm_package_devDependencies_prettier: "^3.7.4", npm_package_devDependencies_sass_embedded: "^1.93.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_devDependencies__vue_tsconfig: "^0.4.0", npm_package_devDependencies_eslint_plugin_import: "^2.32.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:13709", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^8.52.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.8/x64", GITHUB_RUN_ID: "24446035175", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "e3d15e324934376e5c88c8635d10eb95ca327105", 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/portal-reports-permissions-new", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L3BvcnRhbC1yZXBvcnRzLXBlcm1pc3Npb25zLW5ld1wiLFwiUGVybWlzc2lvblwiOjN9LHtcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL21haW5cIixcIlBlcm1pc3Npb25cIjoxfV0iLCJhY3NsIjoiMTAiLCJhdWQiOiJ2c286NmY5NmZhODktYjdiZi00ODc4LWJhZDMtODk4MDA2NTY2YjZlIiwiYmlsbGluZ19vd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsImV4cCI6MTc3NjI2NjE5NiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaWF0IjoxNzc2MjQzOTk2LCJpc3MiOiJodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwiam9iX2lkIjoiZmRlNDRmNWYtMDQxOC01NzE5LWFiODYtODdmZTJlZmUyYWIyIiwibmFtZWlkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwibmJmIjoxNzc2MjQzNjk2LCJvaWRjX2V4dHJhIjoie1wiYWN0b3JcIjpcImp1bi1sZWUtZmVlZG1lXCIsXCJhY3Rvcl9pZFwiOlwiMjM5MjgyODYyXCIsXCJiYXNlX3JlZlwiOlwiXCIsXCJjaGVja19ydW5faWRcIjpcIjcxNDIyNTMxNTM3XCIsXCJldmVudF9uYW1lXCI6XCJ3b3JrZmxvd19kaXNwYXRjaFwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiam9iX3dvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2FjdGlvbnMvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ucG0tZ2l0aHViLnlhbWxAcmVmcy9oZWFkcy9tYWluXCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCIzZjM1NDQ4MDBiYWEzYjhiYzRhYWFlOTRlZTg0YzAxMmJkNjQ4ZmZlXCIsXCJyZWZcIjpcInJlZnMvaGVhZHMvZmVhdC9wb3J0YWwtcmVwb3J0cy1wZXJtaXNzaW9ucy1uZXdcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2VcIixcInJlcG9zaXRvcnlfaWRcIjpcIjExMjQ2NzIyMzVcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMjQ0NDYwMzUxNzVcIixcInJ1bl9udW1iZXJcIjpcIjQyXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIixcInNoYVwiOlwiZTNkMTVlMzI0OTM0Mzc2ZTVjODhjODYzNWQxMGViOTVjYTMyNzEwNVwiLFwid29ya2Zsb3dcIjpcIlB1Ymxpc2ggaHJtLXBvcnRhbFwiLFwid29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ocm0tcG9ydGFsLXRydXN0ZWQueW1sQHJlZnMvaGVhZHMvZmVhdC9wb3J0YWwtcmVwb3J0cy1wZXJtaXNzaW9ucy1uZXdcIixcIndvcmtmbG93X3NoYVwiOlwiZTNkMTVlMzI0OTM0Mzc2ZTVjODhjODYzNWQxMGViOTVjYTMyNzEwNVwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvaHJtLXNlcnZpY2U6cmVmOnJlZnMvaGVhZHMvZmVhdC9wb3J0YWwtcmVwb3J0cy1wZXJtaXNzaW9ucy1uZXciLCJvcmNoX2lkIjoiZjJkOGUzMDctZDRjZC00MzQ3LTg1OTctMDEzY2M0OWZmMzI2LnB1Ymxpc2gucHVibGlzaC5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiJmMmQ4ZTMwNy1kNGNkLTQzNDctODU5Ny0wMTNjYzQ5ZmYzMjYiLCJyZXBvc2l0b3J5X2lkIjoiMTEyNDY3MjIzNSIsInJ1bl9pZCI6IjI0NDQ2MDM1MTc1IiwicnVuX251bWJlciI6IjQyIiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDA2MDMwNCIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOmYyZDhlMzA3LWQ0Y2QtNDM0Ny04NTk3LTAxM2NjNDlmZjMyNjpmZGU0NGY1Zi0wNDE4LTU3MTktYWI4Ni04N2ZlMmVmZTJhYjIgQWN0aW9ucy5SdW5uZXI6ZjJkOGUzMDctZDRjZC00MzQ3LTg1OTctMDEzY2M0OWZmMzI2OmZkZTQ0ZjVmLTA0MTgtNTcxOS1hYjg2LTg3ZmUyZWZlMmFiMiBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czpmMmQ4ZTMwNy1kNGNkLTQzNDctODU5Ny0wMTNjYzQ5ZmYzMjY6ZmRlNDRmNWYtMDQxOC01NzE5LWFiODYtODdmZTJlZmUyYWIyIGdlbmVyYXRlX2lkX3Rva2VuOmYyZDhlMzA3LWQ0Y2QtNDM0Ny04NTk3LTAxM2NjNDlmZjMyNjpmZGU0NGY1Zi0wNDE4LTU3MTktYWI4Ni04N2ZlMmVmZTJhYjIgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiJlM2QxNWUzMjQ5MzQzNzZlNWM4OGM4NjM1ZDEwZWI5NWNhMzI3MTA1IiwidHJ1c3RfdGllciI6IjEifQ.nmJbaxiIzGLls70i4I01Y-KLq3iPnFGLoicQ2HoIlu2EdtRBUEqNpuqva2-_WxR7YTcAgtwsVrV8F1g83ErxpPEBGy-EPWk5Da3AHGSUthW5uGVQTI-IkpSqbdVc9D9pM0AXkxmeop78Rj9vDrOHxf5QdvKnQL8ut8oksbT37Tg7339sumgl0-PeEjvkpZhdxXKejHTEIsm0sS9GSfL34ZjIYQAP3rPQiVkg_BXRarSqsUdgVJ7ZphhIr_QjxoB8UA-VNELgNryB-ir6hFpw0x5JR7tLnaddSimEx7x-CT6wSBGZi-2qgQc95gL-JLzCUOpdeE2_wM2vzZKpyVxfdA", 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_56ecc8df-ce87-4cdc-a358-952e9d605cab", INVOCATION_ID: "446e7f901eaa4a4fb4c1b0d674e90bb8", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", npm_package_name: "@feedmepos/mf-hrm-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "42", 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 1000060304", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/portal-reports-permissions-new", 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.3-dev.3", 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: "e3d15e324934376e5c88c8635d10eb95ca327105", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/feat/portal-reports-permissions-new", 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_1a05d3f7-5861-4781-b868-6877a1da62e1", 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/146//idtoken/f2d8e307-d4cd-4347-8597-013cc49ff326/fde44f5f-0418-5719-ab86-87fe2efe2ab2?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_1a05d3f7-5861-4781-b868-6877a1da62e1", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.33.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_1a05d3f7-5861-4781-b868-6877a1da62e1", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1836
|
+
xs();
|
|
1837
|
+
var Ba = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_a7b4bed8-aea6-4336-a3ee-86817eb646c3", 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_a7b4bed8-aea6-4336-a3ee-86817eb646c3", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.2.0", npm_node_execpath: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_files_0: "dist", npm_package_devDependencies_eslint_import_resolver_typescript: "^4.4.4", HOME: "/home/runner", npm_package_devDependencies__eslint_js: "^9.39.2", npm_package_devDependencies__typescript_eslint_parser: "^8.52.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_devDependencies_eslint_config_prettier: "^10.1.8", npm_config_save_workspace_protocol: "true", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.4.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "^1.29.10", npm_package_devDependencies_code_inspector_plugin: "^0.20.16", npm_package_devDependencies_npm_run_all2: "^6.0.6", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1861", ACTIONS_ORCHESTRATION_ID: "4b6045c2-1742-4545-8d63-5af2ff8affe7.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.7.0", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "VITE_TARGET_ENV=dev pnpm build:mf && pnpm build:dts", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.9.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.6", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260406.80.1", npm_package_scripts_dev: "vite", npm_package_devDependencies_prettier: "^3.7.4", npm_package_devDependencies_sass_embedded: "^1.93.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_devDependencies__vue_tsconfig: "^0.4.0", npm_package_devDependencies_eslint_plugin_import: "^2.32.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:12908", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^8.52.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.8/x64", GITHUB_RUN_ID: "24495061420", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "ec456b85de40242a040a8c897ab6fa3d3ce0c4a3", 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/portal-reports-permissions-new", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L3BvcnRhbC1yZXBvcnRzLXBlcm1pc3Npb25zLW5ld1wiLFwiUGVybWlzc2lvblwiOjN9LHtcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL21haW5cIixcIlBlcm1pc3Npb25cIjoxfV0iLCJhY3NsIjoiMTAiLCJhdWQiOiJ2c286NmY5NmZhODktYjdiZi00ODc4LWJhZDMtODk4MDA2NTY2YjZlIiwiYmlsbGluZ19vd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsImV4cCI6MTc3NjM0MjAyMCwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiaWF0IjoxNzc2MzE5ODIwLCJpc3MiOiJodHRwczovL3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwiam9iX2lkIjoiOThlZDg2MzgtZWRiZi01MjBkLWE1ZDUtMDIxMThlZmExOTNmIiwibmFtZWlkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwibmJmIjoxNzc2MzE5NTIwLCJvaWRjX2V4dHJhIjoie1wiYWN0b3JcIjpcImp1bi1sZWUtZmVlZG1lXCIsXCJhY3Rvcl9pZFwiOlwiMjM5MjgyODYyXCIsXCJiYXNlX3JlZlwiOlwiXCIsXCJjaGVja19ydW5faWRcIjpcIjcxNTg4MDQyMzEzXCIsXCJldmVudF9uYW1lXCI6XCJ3b3JrZmxvd19kaXNwYXRjaFwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiam9iX3dvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2FjdGlvbnMvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ucG0tZ2l0aHViLnlhbWxAcmVmcy9oZWFkcy9tYWluXCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCIzZjM1NDQ4MDBiYWEzYjhiYzRhYWFlOTRlZTg0YzAxMmJkNjQ4ZmZlXCIsXCJyZWZcIjpcInJlZnMvaGVhZHMvZmVhdC9wb3J0YWwtcmVwb3J0cy1wZXJtaXNzaW9ucy1uZXdcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2VcIixcInJlcG9zaXRvcnlfaWRcIjpcIjExMjQ2NzIyMzVcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMjQ0OTUwNjE0MjBcIixcInJ1bl9udW1iZXJcIjpcIjQ1XCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIixcInNoYVwiOlwiZWM0NTZiODVkZTQwMjQyYTA0MGE4Yzg5N2FiNmZhM2QzY2UwYzRhM1wiLFwid29ya2Zsb3dcIjpcIlB1Ymxpc2ggaHJtLXBvcnRhbFwiLFwid29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ocm0tcG9ydGFsLXRydXN0ZWQueW1sQHJlZnMvaGVhZHMvZmVhdC9wb3J0YWwtcmVwb3J0cy1wZXJtaXNzaW9ucy1uZXdcIixcIndvcmtmbG93X3NoYVwiOlwiZWM0NTZiODVkZTQwMjQyYTA0MGE4Yzg5N2FiNmZhM2QzY2UwYzRhM1wifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvaHJtLXNlcnZpY2U6cmVmOnJlZnMvaGVhZHMvZmVhdC9wb3J0YWwtcmVwb3J0cy1wZXJtaXNzaW9ucy1uZXciLCJvcmNoX2lkIjoiNGI2MDQ1YzItMTc0Mi00NTQ1LThkNjMtNWFmMmZmOGFmZmU3LnB1Ymxpc2gucHVibGlzaC5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiI0YjYwNDVjMi0xNzQyLTQ1NDUtOGQ2My01YWYyZmY4YWZmZTciLCJyZXBvc2l0b3J5X2lkIjoiMTEyNDY3MjIzNSIsInJ1bl9pZCI6IjI0NDk1MDYxNDIwIiwicnVuX251bWJlciI6IjQ1IiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDA2MDU1MCIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOjRiNjA0NWMyLTE3NDItNDU0NS04ZDYzLTVhZjJmZjhhZmZlNzo5OGVkODYzOC1lZGJmLTUyMGQtYTVkNS0wMjExOGVmYTE5M2YgQWN0aW9ucy5SdW5uZXI6NGI2MDQ1YzItMTc0Mi00NTQ1LThkNjMtNWFmMmZmOGFmZmU3Ojk4ZWQ4NjM4LWVkYmYtNTIwZC1hNWQ1LTAyMTE4ZWZhMTkzZiBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czo0YjYwNDVjMi0xNzQyLTQ1NDUtOGQ2My01YWYyZmY4YWZmZTc6OThlZDg2MzgtZWRiZi01MjBkLWE1ZDUtMDIxMThlZmExOTNmIGdlbmVyYXRlX2lkX3Rva2VuOjRiNjA0NWMyLTE3NDItNDU0NS04ZDYzLTVhZjJmZjhhZmZlNzo5OGVkODYzOC1lZGJmLTUyMGQtYTVkNS0wMjExOGVmYTE5M2YgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiJlYzQ1NmI4NWRlNDAyNDJhMDQwYThjODk3YWI2ZmEzZDNjZTBjNGEzIiwidHJ1c3RfdGllciI6IjEifQ.iKtHwZjy18X5E8O6HjcJHxIr3Hg_zYUk93YUUqO4otc_KgHs3R7hPNjaRA4trN9Z1VDQkb5QX5xflrasOOyryKyHrC2FdcquXOarkuM0DpBItVWWz5xCMEBOwZMqhboYl3AHTXTERdaQ01LF6jwOZyjZ7BcfojdoRkLszbP_22Sq8AthAaSTehurm27DZrsvOSnk86489tjsc_uVGsspkTshTUuzKHbfozUnT4dOPlxKsCRnTWBFXCaifR3-IDxqOcOmLqWclR1TqJcsvNcUfmvmwryQx-mjDfKOtHU-DEyOFWfuCC0kXXD36NdESuGN4urZtn5MkeviUNxisB2_LA", 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_19ca93aa-16fb-4296-9a8a-9fb456db52ca", INVOCATION_ID: "229aac6920cf4a6783c80f316effe768", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", npm_package_name: "@feedmepos/mf-hrm-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "45", 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 1000060550", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/portal-reports-permissions-new", 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.3-dev.5", 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: "ec456b85de40242a040a8c897ab6fa3d3ce0c4a3", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/feat/portal-reports-permissions-new", 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_a7b4bed8-aea6-4336-a3ee-86817eb646c3", 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/88//idtoken/4b6045c2-1742-4545-8d63-5af2ff8affe7/98ed8638-edbf-520d-a5d5-02118efa193f?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_a7b4bed8-aea6-4336-a3ee-86817eb646c3", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.33.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_a7b4bed8-aea6-4336-a3ee-86817eb646c3", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1838
1838
|
const Ja = "10.0.5";
|
|
1839
1839
|
function $a() {
|
|
1840
1840
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (je().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (je().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (je().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (je().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
@@ -1884,13 +1884,13 @@ function Wn(e, t) {
|
|
|
1884
1884
|
const { locale: u, resource: b } = m;
|
|
1885
1885
|
u ? (c[u] = c[u] || $(), mt(b, c[u])) : mt(b, c);
|
|
1886
1886
|
} else
|
|
1887
|
-
|
|
1887
|
+
M(m) && mt(JSON.parse(m), c);
|
|
1888
1888
|
}), l == null && a)
|
|
1889
1889
|
for (const m in c)
|
|
1890
1890
|
Ee(c, m) && st(c[m]);
|
|
1891
1891
|
return c;
|
|
1892
1892
|
}
|
|
1893
|
-
function
|
|
1893
|
+
function Zn(e) {
|
|
1894
1894
|
return e.type;
|
|
1895
1895
|
}
|
|
1896
1896
|
function Qa(e, t, n) {
|
|
@@ -1924,24 +1924,24 @@ function In(e) {
|
|
|
1924
1924
|
const Nn = "__INTLIFY_META__", yn = () => [], za = () => !1;
|
|
1925
1925
|
let Tn = 0;
|
|
1926
1926
|
function kn(e) {
|
|
1927
|
-
return (t, n, s, l) => e(n, s,
|
|
1927
|
+
return (t, n, s, l) => e(n, s, Zt() || void 0, l);
|
|
1928
1928
|
}
|
|
1929
1929
|
const qa = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
1930
|
-
const e =
|
|
1930
|
+
const e = Zt();
|
|
1931
1931
|
let t = null;
|
|
1932
|
-
return e && (t =
|
|
1932
|
+
return e && (t = Zn(e)[Nn]) ? { [Nn]: t } : null;
|
|
1933
1933
|
};
|
|
1934
1934
|
function er(e = {}) {
|
|
1935
1935
|
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = qt ? Ve : Bn;
|
|
1936
1936
|
let c = le(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1937
1937
|
const m = a(
|
|
1938
1938
|
// prettier-ignore
|
|
1939
|
-
t && c ? t.locale.value :
|
|
1939
|
+
t && c ? t.locale.value : M(e.locale) ? e.locale : ft
|
|
1940
1940
|
), u = a(
|
|
1941
1941
|
// prettier-ignore
|
|
1942
|
-
t && c ? t.fallbackLocale.value :
|
|
1942
|
+
t && c ? t.fallbackLocale.value : M(e.fallbackLocale) || oe(e.fallbackLocale) || X(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : m.value
|
|
1943
1943
|
), b = a(Wn(m.value, e)), T = a(X(e.datetimeFormats) ? e.datetimeFormats : { [m.value]: {} }), O = a(X(e.numberFormats) ? e.numberFormats : { [m.value]: {} });
|
|
1944
|
-
let N = t ? t.missingWarn : le(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, P = t ? t.fallbackWarn : le(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, V = t ? t.fallbackRoot : le(e.fallbackRoot) ? e.fallbackRoot : !0, k = !!e.fallbackFormat,
|
|
1944
|
+
let N = t ? t.missingWarn : le(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, P = t ? t.fallbackWarn : le(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, V = t ? t.fallbackRoot : le(e.fallbackRoot) ? e.fallbackRoot : !0, k = !!e.fallbackFormat, A = se(e.missing) ? e.missing : null, i = se(e.missing) ? kn(e.missing) : null, d = se(e.postTranslation) ? e.postTranslation : null, y = t ? t.warnHtmlMessage : le(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, h = !!e.escapeParameter;
|
|
1945
1945
|
const S = t ? t.modifiers : X(e.modifiers) ? e.modifiers : {};
|
|
1946
1946
|
let p = e.pluralRules || t && t.pluralRules, _;
|
|
1947
1947
|
_ = (() => {
|
|
@@ -1989,53 +1989,53 @@ function er(e = {}) {
|
|
|
1989
1989
|
u.value = f, _.fallbackLocale = u.value, ze(_, m.value, f);
|
|
1990
1990
|
}
|
|
1991
1991
|
}), D = Q(() => b.value), J = /* @__PURE__ */ Q(() => T.value), q = /* @__PURE__ */ Q(() => O.value);
|
|
1992
|
-
function
|
|
1992
|
+
function C() {
|
|
1993
1993
|
return se(d) ? d : null;
|
|
1994
1994
|
}
|
|
1995
1995
|
function L(f) {
|
|
1996
1996
|
d = f, _.postTranslation = f;
|
|
1997
1997
|
}
|
|
1998
|
-
function
|
|
1999
|
-
return
|
|
1998
|
+
function w() {
|
|
1999
|
+
return A;
|
|
2000
2000
|
}
|
|
2001
2001
|
function Y(f) {
|
|
2002
|
-
f !== null && (i = kn(f)),
|
|
2002
|
+
f !== null && (i = kn(f)), A = f, _.missing = i;
|
|
2003
2003
|
}
|
|
2004
2004
|
const U = (f, E, K, re, Pe, at) => {
|
|
2005
2005
|
g();
|
|
2006
|
-
let
|
|
2006
|
+
let Ze;
|
|
2007
2007
|
try {
|
|
2008
|
-
Ba.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (_.fallbackContext = t ? Sa() : void 0),
|
|
2008
|
+
Ba.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (_.fallbackContext = t ? Sa() : void 0), Ze = f(_);
|
|
2009
2009
|
} finally {
|
|
2010
2010
|
__INTLIFY_PROD_DEVTOOLS__, s || (_.fallbackContext = void 0);
|
|
2011
2011
|
}
|
|
2012
2012
|
if (K !== "translate exists" && // for not `te` (e.g `t`)
|
|
2013
|
-
ce(
|
|
2013
|
+
ce(Ze) && Ze === bt || K === "translate exists" && !Ze) {
|
|
2014
2014
|
const [Hn, Wr] = E();
|
|
2015
2015
|
return t && V ? re(t) : Pe(Hn);
|
|
2016
2016
|
} else {
|
|
2017
|
-
if (at(
|
|
2018
|
-
return
|
|
2017
|
+
if (at(Ze))
|
|
2018
|
+
return Ze;
|
|
2019
2019
|
throw nt(Be.UNEXPECTED_RETURN_TYPE);
|
|
2020
2020
|
}
|
|
2021
2021
|
};
|
|
2022
2022
|
function R(...f) {
|
|
2023
|
-
return U((E) => Reflect.apply(En, null, [E, ...f]), () => jt(...f), "translate", (E) => Reflect.apply(E.t, E, [...f]), (E) => E, (E) =>
|
|
2023
|
+
return U((E) => Reflect.apply(En, null, [E, ...f]), () => jt(...f), "translate", (E) => Reflect.apply(E.t, E, [...f]), (E) => E, (E) => M(E));
|
|
2024
2024
|
}
|
|
2025
|
-
function
|
|
2025
|
+
function Z(...f) {
|
|
2026
2026
|
const [E, K, re] = f;
|
|
2027
2027
|
if (re && !H(re))
|
|
2028
2028
|
throw nt(Be.INVALID_ARGUMENT);
|
|
2029
2029
|
return R(E, K, ue({ resolvedMessage: !0 }, re || {}));
|
|
2030
2030
|
}
|
|
2031
2031
|
function z(...f) {
|
|
2032
|
-
return U((E) => Reflect.apply(_n, null, [E, ...f]), () => Pt(...f), "datetime format", (E) => Reflect.apply(E.d, E, [...f]), () => un, (E) =>
|
|
2032
|
+
return U((E) => Reflect.apply(_n, null, [E, ...f]), () => Pt(...f), "datetime format", (E) => Reflect.apply(E.d, E, [...f]), () => un, (E) => M(E));
|
|
2033
2033
|
}
|
|
2034
2034
|
function ge(...f) {
|
|
2035
|
-
return U((E) => Reflect.apply(hn, null, [E, ...f]), () => Ft(...f), "number format", (E) => Reflect.apply(E.n, E, [...f]), () => un, (E) =>
|
|
2035
|
+
return U((E) => Reflect.apply(hn, null, [E, ...f]), () => Ft(...f), "number format", (E) => Reflect.apply(E.n, E, [...f]), () => un, (E) => M(E));
|
|
2036
2036
|
}
|
|
2037
2037
|
function fe(f) {
|
|
2038
|
-
return f.map((E) =>
|
|
2038
|
+
return f.map((E) => M(E) || ce(E) || le(E) ? In(String(E)) : E);
|
|
2039
2039
|
}
|
|
2040
2040
|
const ee = {
|
|
2041
2041
|
normalize: fe,
|
|
@@ -2055,10 +2055,10 @@ function er(e = {}) {
|
|
|
2055
2055
|
}, () => jt(...f), "translate", (E) => E[Vt](...f), (E) => [In(E)], (E) => oe(E));
|
|
2056
2056
|
}
|
|
2057
2057
|
function Je(...f) {
|
|
2058
|
-
return U((E) => Reflect.apply(hn, null, [E, ...f]), () => Ft(...f), "number format", (E) => E[Gt](...f), yn, (E) =>
|
|
2058
|
+
return U((E) => Reflect.apply(hn, null, [E, ...f]), () => Ft(...f), "number format", (E) => E[Gt](...f), yn, (E) => M(E) || oe(E));
|
|
2059
2059
|
}
|
|
2060
2060
|
function $e(...f) {
|
|
2061
|
-
return U((E) => Reflect.apply(_n, null, [E, ...f]), () => Pt(...f), "datetime format", (E) => E[Ut](...f), yn, (E) =>
|
|
2061
|
+
return U((E) => Reflect.apply(_n, null, [E, ...f]), () => Pt(...f), "datetime format", (E) => E[Ut](...f), yn, (E) => M(E) || oe(E));
|
|
2062
2062
|
}
|
|
2063
2063
|
function vt(f) {
|
|
2064
2064
|
p = f, _.pluralRules = p;
|
|
@@ -2067,13 +2067,13 @@ function er(e = {}) {
|
|
|
2067
2067
|
return U(() => {
|
|
2068
2068
|
if (!f)
|
|
2069
2069
|
return !1;
|
|
2070
|
-
const K =
|
|
2071
|
-
return Ye(Pe) || be(Pe) ||
|
|
2070
|
+
const K = M(E) ? E : m.value, re = Ge(K), Pe = _.messageResolver(re, f);
|
|
2071
|
+
return Ye(Pe) || be(Pe) || M(Pe);
|
|
2072
2072
|
}, () => [f], "translate exists", (K) => Reflect.apply(K.te, K, [f, E]), za, (K) => le(K));
|
|
2073
2073
|
}
|
|
2074
2074
|
function It(f) {
|
|
2075
2075
|
let E = null;
|
|
2076
|
-
const K =
|
|
2076
|
+
const K = An(_, u.value, m.value);
|
|
2077
2077
|
for (let re = 0; re < K.length; re++) {
|
|
2078
2078
|
const Pe = b.value[K[re]] || {}, at = _.messageResolver(Pe, f);
|
|
2079
2079
|
if (at != null) {
|
|
@@ -2193,13 +2193,13 @@ function er(e = {}) {
|
|
|
2193
2193
|
getLocaleMessage: Ge,
|
|
2194
2194
|
setLocaleMessage: We,
|
|
2195
2195
|
mergeLocaleMessage: Qe,
|
|
2196
|
-
getPostTranslationHandler:
|
|
2196
|
+
getPostTranslationHandler: C,
|
|
2197
2197
|
setPostTranslationHandler: L,
|
|
2198
|
-
getMissingHandler:
|
|
2198
|
+
getMissingHandler: w,
|
|
2199
2199
|
setMissingHandler: Y,
|
|
2200
2200
|
[Ka]: vt
|
|
2201
2201
|
};
|
|
2202
|
-
return G.datetimeFormats = J, G.numberFormats = q, G.rt =
|
|
2202
|
+
return G.datetimeFormats = J, G.numberFormats = q, G.rt = Z, G.te = Et, G.tm = Ke, G.d = z, G.n = ge, G.getDateTimeFormat = Nt, G.setDateTimeFormat = r, G.mergeDateTimeFormat = o, G.getNumberFormat = v, G.setNumberFormat = F, G.mergeNumberFormat = ae, G[Gn] = n, G[Vt] = ve, G[Ut] = $e, G[Gt] = Je, G;
|
|
2203
2203
|
}
|
|
2204
2204
|
const Kt = {
|
|
2205
2205
|
tag: {
|
|
@@ -2229,7 +2229,7 @@ function tr({ slots: e }, t) {
|
|
|
2229
2229
|
return l && (n[s] = l()), n;
|
|
2230
2230
|
}, $());
|
|
2231
2231
|
}
|
|
2232
|
-
function
|
|
2232
|
+
function xn() {
|
|
2233
2233
|
return ye;
|
|
2234
2234
|
}
|
|
2235
2235
|
ue({
|
|
@@ -2243,21 +2243,21 @@ ue({
|
|
|
2243
2243
|
}
|
|
2244
2244
|
}, Kt);
|
|
2245
2245
|
function nr(e) {
|
|
2246
|
-
return oe(e) && !
|
|
2246
|
+
return oe(e) && !M(e[0]);
|
|
2247
2247
|
}
|
|
2248
2248
|
function Xn(e, t, n, s) {
|
|
2249
2249
|
const { slots: l, attrs: a } = t;
|
|
2250
2250
|
return () => {
|
|
2251
2251
|
const c = { part: !0 };
|
|
2252
2252
|
let m = $();
|
|
2253
|
-
e.locale && (c.locale = e.locale),
|
|
2253
|
+
e.locale && (c.locale = e.locale), M(e.format) ? c.key = e.format : H(e.format) && (M(e.format.key) && (c.key = e.format.key), m = Object.keys(e.format).reduce((N, P) => n.includes(P) ? ue($(), N, { [P]: e.format[P] }) : N, $()));
|
|
2254
2254
|
const u = s(e.value, c, m);
|
|
2255
2255
|
let b = [c.key];
|
|
2256
2256
|
oe(u) ? b = u.map((N, P) => {
|
|
2257
2257
|
const V = l[N.type], k = V ? V({ [N.type]: N.value, index: P, parts: u }) : [N.value];
|
|
2258
2258
|
return nr(k) && (k[0].key = `${N.type}-${P}`), k;
|
|
2259
|
-
}) :
|
|
2260
|
-
const T = ue($(), a), O =
|
|
2259
|
+
}) : M(u) && (b = [u]);
|
|
2260
|
+
const T = ue($(), a), O = M(e.tag) || H(e.tag) ? e.tag : xn();
|
|
2261
2261
|
return Rn(O, T, b);
|
|
2262
2262
|
};
|
|
2263
2263
|
}
|
|
@@ -2281,12 +2281,12 @@ ue({
|
|
|
2281
2281
|
}, Kt);
|
|
2282
2282
|
const sr = /* @__PURE__ */ Ue("global-vue-i18n");
|
|
2283
2283
|
function gt(e = {}) {
|
|
2284
|
-
const t =
|
|
2284
|
+
const t = Zt();
|
|
2285
2285
|
if (t == null)
|
|
2286
2286
|
throw nt(Be.MUST_BE_CALL_SETUP_TOP);
|
|
2287
2287
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
2288
2288
|
throw nt(Be.NOT_INSTALLED);
|
|
2289
|
-
const n = ar(t), s = lr(n), l =
|
|
2289
|
+
const n = ar(t), s = lr(n), l = Zn(t), a = rr(e, l);
|
|
2290
2290
|
if (a === "global")
|
|
2291
2291
|
return Qa(s, e, l), s;
|
|
2292
2292
|
if (a === "parent") {
|
|
@@ -2335,7 +2335,7 @@ function ir(e, t = !1) {
|
|
|
2335
2335
|
return e == null ? null : t && e.vnode.ctx || e.parent;
|
|
2336
2336
|
}
|
|
2337
2337
|
function cr(e, t, n) {
|
|
2338
|
-
|
|
2338
|
+
xt(() => {
|
|
2339
2339
|
}, t), Ln(() => {
|
|
2340
2340
|
const s = n;
|
|
2341
2341
|
e.__deleteInstance(t);
|
|
@@ -2346,7 +2346,7 @@ function cr(e, t, n) {
|
|
|
2346
2346
|
$a();
|
|
2347
2347
|
Oa(oa);
|
|
2348
2348
|
La(ya);
|
|
2349
|
-
Ra(
|
|
2349
|
+
Ra(An);
|
|
2350
2350
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
2351
2351
|
const e = je();
|
|
2352
2352
|
e.__INTLIFY__ = !0, ia(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
@@ -2363,15 +2363,15 @@ const it = /* @__PURE__ */ Ie({
|
|
|
2363
2363
|
const { t } = gt();
|
|
2364
2364
|
return (n, s) => {
|
|
2365
2365
|
const l = Xe("FmIcon"), a = Xe("FmTooltip");
|
|
2366
|
-
return
|
|
2366
|
+
return x(), Se(a, {
|
|
2367
2367
|
variant: "plain",
|
|
2368
2368
|
placement: "right",
|
|
2369
2369
|
"z-index": 50
|
|
2370
2370
|
}, {
|
|
2371
2371
|
content: pe(() => [
|
|
2372
|
-
ne("div", null,
|
|
2373
|
-
(
|
|
2374
|
-
ne("div", null, "- " +
|
|
2372
|
+
ne("div", null, Ae(Te(t)("team.memberForm.permissions.inherited")), 1),
|
|
2373
|
+
(x(!0), te(ye, null, _e(e.item.setNames, (c) => (x(), te("div", { key: c }, [
|
|
2374
|
+
ne("div", null, "- " + Ae(c), 1)
|
|
2375
2375
|
]))), 128))
|
|
2376
2376
|
]),
|
|
2377
2377
|
default: pe(() => [
|
|
@@ -2409,12 +2409,12 @@ const it = /* @__PURE__ */ Ie({
|
|
|
2409
2409
|
},
|
|
2410
2410
|
setup(e) {
|
|
2411
2411
|
const t = e;
|
|
2412
|
-
return (n, s) => (
|
|
2412
|
+
return (n, s) => (x(), te("div", ur, [
|
|
2413
2413
|
he(n.$slots, "top", {}, () => [
|
|
2414
|
-
t.title ? (
|
|
2414
|
+
t.title ? (x(), te("div", mr, [
|
|
2415
2415
|
ne("div", null, [
|
|
2416
|
-
t.required ? (
|
|
2417
|
-
$n(
|
|
2416
|
+
t.required ? (x(), te("span", dr, "*")) : Oe("", !0),
|
|
2417
|
+
$n(Ae(t.title), 1)
|
|
2418
2418
|
]),
|
|
2419
2419
|
he(n.$slots, "title-right")
|
|
2420
2420
|
])) : Oe("", !0)
|
|
@@ -2494,26 +2494,26 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2494
2494
|
emits: ["update:model-value"],
|
|
2495
2495
|
setup(e, { emit: t }) {
|
|
2496
2496
|
const n = e, s = t, { t: l } = _t(), a = Ve(!1), c = Kn(), m = Q(() => n.modelValue.length < n.min ? `Min selection ${n.min}` : n.max !== void 0 && n.modelValue.length > n.max ? `Max selection ${n.max}` : !0), u = `checkbox-${pr(6)}`, b = Q(() => m.value !== !0), T = Q(
|
|
2497
|
-
() => n.modelValue.filter((k) => n.options.some((
|
|
2497
|
+
() => n.modelValue.filter((k) => n.options.some((A) => A.value === k))
|
|
2498
2498
|
), O = Q(
|
|
2499
2499
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
2500
2500
|
), N = Q(() => n.options.length > 0 && n.options.length === T.value.length);
|
|
2501
2501
|
function P() {
|
|
2502
|
-
const k = n.modelValue.filter((
|
|
2502
|
+
const k = n.modelValue.filter((A) => !T.value.includes(A));
|
|
2503
2503
|
if (N.value === !0)
|
|
2504
2504
|
s("update:model-value", k);
|
|
2505
2505
|
else {
|
|
2506
|
-
const
|
|
2507
|
-
s("update:model-value", [...k, ...
|
|
2506
|
+
const A = n.includeDisabledOptionsWhenSelectAll ? n.options.map((i) => i.value) : n.options.filter((i) => !i.disabled).map((i) => i.value);
|
|
2507
|
+
s("update:model-value", [...k, ...A]);
|
|
2508
2508
|
}
|
|
2509
2509
|
}
|
|
2510
|
-
function V(k,
|
|
2510
|
+
function V(k, A) {
|
|
2511
2511
|
let i = ut(n.modelValue);
|
|
2512
|
-
|
|
2512
|
+
A ? i.every((d) => d !== k) && i.push(k) : i = i.filter((d) => d !== k), s("update:model-value", i);
|
|
2513
2513
|
}
|
|
2514
|
-
return (k,
|
|
2514
|
+
return (k, A) => {
|
|
2515
2515
|
const i = Xe("FmCheckbox");
|
|
2516
|
-
return
|
|
2516
|
+
return x(), Se(_r, {
|
|
2517
2517
|
id: u,
|
|
2518
2518
|
title: e.title,
|
|
2519
2519
|
required: !1
|
|
@@ -2522,7 +2522,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2522
2522
|
he(k.$slots, "top")
|
|
2523
2523
|
]),
|
|
2524
2524
|
default: pe(() => [
|
|
2525
|
-
n.showAllToggle ? (
|
|
2525
|
+
n.showAllToggle ? (x(), Se(i, {
|
|
2526
2526
|
key: 0,
|
|
2527
2527
|
"model-value": N.value,
|
|
2528
2528
|
disabled: e.disable,
|
|
@@ -2533,7 +2533,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2533
2533
|
value: O.value,
|
|
2534
2534
|
"onUpdate:modelValue": P
|
|
2535
2535
|
}, null, 8, ["model-value", "disabled", "label", "style", "value"])) : Oe("", !0),
|
|
2536
|
-
(
|
|
2536
|
+
(x(!0), te(ye, null, _e(e.options, (d, y) => (x(), te("div", {
|
|
2537
2537
|
key: d.value,
|
|
2538
2538
|
style: ct(`margin-bottom: ${y < e.options.length - 1 ? n.gutter : 0}px`),
|
|
2539
2539
|
class: qe(y < e.options.length - 1 ? "q-mb-sm" : "")
|
|
@@ -2555,7 +2555,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2555
2555
|
selected: e.modelValue.includes(d.value)
|
|
2556
2556
|
})
|
|
2557
2557
|
]),
|
|
2558
|
-
Te(c)[`checkbox-${d.key || d.value}-end`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (
|
|
2558
|
+
Te(c)[`checkbox-${d.key || d.value}-end`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (x(), te("div", {
|
|
2559
2559
|
key: 0,
|
|
2560
2560
|
class: qe([{ "q-checkbox disabled": e.disable || d.disabled }, "col"])
|
|
2561
2561
|
}, [
|
|
@@ -2566,7 +2566,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2566
2566
|
})
|
|
2567
2567
|
], 2)) : Oe("", !0)
|
|
2568
2568
|
], 2),
|
|
2569
|
-
Te(c)[`checkbox-${d.key || d.value}-bottom`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (
|
|
2569
|
+
Te(c)[`checkbox-${d.key || d.value}-bottom`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (x(), te("div", {
|
|
2570
2570
|
key: 0,
|
|
2571
2571
|
class: qe(["q-mt-sm", { "q-checkbox disabled": e.disable || d.disabled }]),
|
|
2572
2572
|
style: ct(`margin-left: ${e.bottomSlotIndent}`)
|
|
@@ -2578,7 +2578,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2578
2578
|
})
|
|
2579
2579
|
], 6)) : Oe("", !0)
|
|
2580
2580
|
], 6))), 128)),
|
|
2581
|
-
a.value && b.value ? (
|
|
2581
|
+
a.value && b.value ? (x(), te("div", br, Ae(m.value), 1)) : Oe("", !0)
|
|
2582
2582
|
]),
|
|
2583
2583
|
_: 3
|
|
2584
2584
|
}, 8, ["title"]);
|
|
@@ -2590,7 +2590,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2590
2590
|
}, Er = { class: "flex items-end justify-between" }, Ir = { class: "fm-typo-en-title-sm-600" }, Nr = { class: "flex" }, yr = { class: "form-input" }, Tr = { class: "flex items-center justify-between q-mb-xs" }, kr = { class: "flex items-center justify-between gap-4" }, Or = { class: "flex items-center min-w-0 flex-1 gap-8" }, Lr = ["title", "onClick"], Rr = {
|
|
2591
2591
|
key: 0,
|
|
2592
2592
|
class: "flex shrink-0"
|
|
2593
|
-
},
|
|
2593
|
+
}, Cr = /* @__PURE__ */ Ie({
|
|
2594
2594
|
__name: "BasePermission",
|
|
2595
2595
|
props: {
|
|
2596
2596
|
modelValue: {
|
|
@@ -2624,34 +2624,34 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2624
2624
|
}).map((g) => {
|
|
2625
2625
|
const I = p.get(g), W = /* @__PURE__ */ new Map();
|
|
2626
2626
|
for (const R of I) {
|
|
2627
|
-
const
|
|
2628
|
-
|
|
2627
|
+
const Z = _.get(R.value);
|
|
2628
|
+
Z && W.set(R.value, Z.actions);
|
|
2629
2629
|
}
|
|
2630
2630
|
const D = I.some((R) => {
|
|
2631
|
-
const
|
|
2632
|
-
return
|
|
2631
|
+
const Z = W.get(R.value);
|
|
2632
|
+
return Z && Z.length > 1;
|
|
2633
2633
|
}), J = D ? [
|
|
2634
2634
|
...new Set(
|
|
2635
2635
|
I.flatMap((R) => W.get(R.value) ?? []).filter((R) => R !== "manage")
|
|
2636
2636
|
)
|
|
2637
2637
|
] : [], q = /* @__PURE__ */ new Map();
|
|
2638
2638
|
for (const R of s.modelValue)
|
|
2639
|
-
I.some((
|
|
2640
|
-
const
|
|
2641
|
-
(R) => I.some((
|
|
2642
|
-
).map((R) => R.subject) : s.modelValue.filter((R) => I.some((
|
|
2643
|
-
var
|
|
2644
|
-
return (
|
|
2645
|
-
}),
|
|
2639
|
+
I.some((Z) => Z.value === R.subject) && !R.inverted && q.set(R.subject, new Set(R.actions));
|
|
2640
|
+
const C = D ? s.modelValue.filter(
|
|
2641
|
+
(R) => I.some((Z) => Z.value === R.subject) && !R.inverted && R.actions.includes("manage")
|
|
2642
|
+
).map((R) => R.subject) : s.modelValue.filter((R) => I.some((Z) => Z.value === R.subject) && !R.inverted).map((R) => R.subject), L = I.find((R) => {
|
|
2643
|
+
var Z;
|
|
2644
|
+
return (Z = _.get(R.value)) == null ? void 0 : Z.isCategoryCover;
|
|
2645
|
+
}), w = (L == null ? void 0 : L.value) ?? null, Y = w ? q.get(w) ?? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set(), U = Y.has("manage");
|
|
2646
2646
|
return {
|
|
2647
2647
|
category: g,
|
|
2648
2648
|
options: I,
|
|
2649
|
-
selectedSubjects:
|
|
2649
|
+
selectedSubjects: C,
|
|
2650
2650
|
isMultiAction: D,
|
|
2651
2651
|
actionColumns: J,
|
|
2652
2652
|
permissionActionsMap: W,
|
|
2653
2653
|
selectedActionsMap: q,
|
|
2654
|
-
coverSubject:
|
|
2654
|
+
coverSubject: w,
|
|
2655
2655
|
coverSelectedActions: Y,
|
|
2656
2656
|
coverCoversAll: U
|
|
2657
2657
|
};
|
|
@@ -2699,9 +2699,9 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2699
2699
|
}
|
|
2700
2700
|
function P(p, _, j) {
|
|
2701
2701
|
if (j) {
|
|
2702
|
-
const g = l.value.find((
|
|
2702
|
+
const g = l.value.find((C) => C.subject === _);
|
|
2703
2703
|
if (!g) return;
|
|
2704
|
-
const { category: I, showByFeatureFlag: W, isCategoryCover: D, ...J } = g, q = s.modelValue.filter((
|
|
2704
|
+
const { category: I, showByFeatureFlag: W, isCategoryCover: D, ...J } = g, q = s.modelValue.filter((C) => C.subject !== _);
|
|
2705
2705
|
q.push(J), a("update:model-value", q);
|
|
2706
2706
|
} else
|
|
2707
2707
|
a(
|
|
@@ -2717,7 +2717,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2717
2717
|
const g = p.selectedActionsMap.get(_);
|
|
2718
2718
|
return g ? g.has(j) : !1;
|
|
2719
2719
|
}
|
|
2720
|
-
function
|
|
2720
|
+
function A(p, _) {
|
|
2721
2721
|
return !p.coverSubject || _ === p.coverSubject ? !1 : p.coverCoversAll;
|
|
2722
2722
|
}
|
|
2723
2723
|
function i(p, _, j) {
|
|
@@ -2734,12 +2734,12 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2734
2734
|
const D = { ...g[I] }, J = new Set(D.actions);
|
|
2735
2735
|
J.add(_), D.actions = Array.from(J), g[I] = D;
|
|
2736
2736
|
} else {
|
|
2737
|
-
const D = l.value.find((
|
|
2737
|
+
const D = l.value.find((w) => w.subject === p);
|
|
2738
2738
|
if (!D) return;
|
|
2739
2739
|
const {
|
|
2740
2740
|
category: J,
|
|
2741
2741
|
showByFeatureFlag: q,
|
|
2742
|
-
isCategoryCover:
|
|
2742
|
+
isCategoryCover: C,
|
|
2743
2743
|
...L
|
|
2744
2744
|
} = D;
|
|
2745
2745
|
g.push({ ...L, actions: [_] });
|
|
@@ -2752,15 +2752,15 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2752
2752
|
if (W) {
|
|
2753
2753
|
const J = W.actions.filter((q) => q !== "manage");
|
|
2754
2754
|
if (J.length > 0) {
|
|
2755
|
-
const q = g.findIndex((
|
|
2755
|
+
const q = g.findIndex((C) => C.subject === p && !C.inverted);
|
|
2756
2756
|
if (q >= 0) {
|
|
2757
|
-
const
|
|
2758
|
-
L && !
|
|
2757
|
+
const C = new Set(g[q].actions), L = J.every((w) => C.has(w));
|
|
2758
|
+
L && !C.has("manage") ? (C.add("manage"), g[q] = {
|
|
2759
2759
|
...g[q],
|
|
2760
|
-
actions: Array.from(
|
|
2761
|
-
}) : !L &&
|
|
2760
|
+
actions: Array.from(C)
|
|
2761
|
+
}) : !L && C.has("manage") && (C.delete("manage"), C.size === 0 ? g.splice(q, 1) : g[q] = {
|
|
2762
2762
|
...g[q],
|
|
2763
|
-
actions: Array.from(
|
|
2763
|
+
actions: Array.from(C)
|
|
2764
2764
|
});
|
|
2765
2765
|
}
|
|
2766
2766
|
}
|
|
@@ -2777,18 +2777,18 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2777
2777
|
}
|
|
2778
2778
|
return (p, _) => {
|
|
2779
2779
|
const j = Xe("FmCheckbox");
|
|
2780
|
-
return
|
|
2781
|
-
(
|
|
2780
|
+
return x(), te("div", gr, [
|
|
2781
|
+
(x(!0), te(ye, null, _e(m.value, (g) => (x(), te(ye, {
|
|
2782
2782
|
key: g.category
|
|
2783
2783
|
}, [
|
|
2784
|
-
g.isMultiAction ? (
|
|
2784
|
+
g.isMultiAction ? (x(), te("div", vr, [
|
|
2785
2785
|
ne("div", Er, [
|
|
2786
|
-
ne("div", Ir,
|
|
2786
|
+
ne("div", Ir, Ae(g.category), 1),
|
|
2787
2787
|
ne("div", Nr, [
|
|
2788
|
-
(
|
|
2788
|
+
(x(!0), te(ye, null, _e(g.actionColumns, (I) => (x(), te("span", {
|
|
2789
2789
|
key: I,
|
|
2790
2790
|
class: "w-[56px] text-center fm-typo-en-body-sm-400 text-fm-color-neutral-gray-600"
|
|
2791
|
-
},
|
|
2791
|
+
}, Ae(S(I)), 1))), 128))
|
|
2792
2792
|
])
|
|
2793
2793
|
]),
|
|
2794
2794
|
ne("div", yr, [
|
|
@@ -2803,16 +2803,16 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2803
2803
|
"onUpdate:modelValue": (I) => T(g)
|
|
2804
2804
|
}, null, 8, ["model-value", "disabled", "onUpdate:modelValue"])
|
|
2805
2805
|
]),
|
|
2806
|
-
(
|
|
2806
|
+
(x(!0), te(ye, null, _e(g.options, (I, W) => (x(), te("div", {
|
|
2807
2807
|
key: I.value,
|
|
2808
2808
|
class: qe(W < g.options.length - 1 ? "q-mb-xs" : "")
|
|
2809
2809
|
}, [
|
|
2810
2810
|
ne("div", kr, [
|
|
2811
2811
|
ne("div", Or, [
|
|
2812
2812
|
de(j, {
|
|
2813
|
-
"model-value": O(g, I.value) ||
|
|
2813
|
+
"model-value": O(g, I.value) || A(g, I.value),
|
|
2814
2814
|
value: I.value,
|
|
2815
|
-
disabled: e.disable ||
|
|
2815
|
+
disabled: e.disable || A(g, I.value),
|
|
2816
2816
|
indeterminate: N(g, I.value),
|
|
2817
2817
|
size: "sm",
|
|
2818
2818
|
class: "shrink-0",
|
|
@@ -2821,16 +2821,16 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2821
2821
|
ne("span", {
|
|
2822
2822
|
class: "block truncate cursor-pointer",
|
|
2823
2823
|
title: I.label,
|
|
2824
|
-
onClick: (D) => !e.disable && !
|
|
2825
|
-
},
|
|
2824
|
+
onClick: (D) => !e.disable && !A(g, I.value) && P(g, I.value, !O(g, I.value))
|
|
2825
|
+
}, Ae(I.label), 9, Lr),
|
|
2826
2826
|
he(p.$slots, `checkbox-${I.value}-append`, { option: I })
|
|
2827
2827
|
]),
|
|
2828
|
-
V(g, I.value) ? (
|
|
2829
|
-
(
|
|
2828
|
+
V(g, I.value) ? (x(), te("div", Rr, [
|
|
2829
|
+
(x(!0), te(ye, null, _e(g.actionColumns, (D) => (x(), te("div", {
|
|
2830
2830
|
key: D,
|
|
2831
2831
|
class: "w-[56px] flex justify-center"
|
|
2832
2832
|
}, [
|
|
2833
|
-
d(g, I.value, D) ? (
|
|
2833
|
+
d(g, I.value, D) ? (x(), Se(j, {
|
|
2834
2834
|
key: 0,
|
|
2835
2835
|
"model-value": k(g, I.value, D) || i(g, I.value, D),
|
|
2836
2836
|
value: D,
|
|
@@ -2843,7 +2843,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2843
2843
|
])
|
|
2844
2844
|
], 2))), 128))
|
|
2845
2845
|
])
|
|
2846
|
-
])) : (
|
|
2846
|
+
])) : (x(), Se(Qt, {
|
|
2847
2847
|
key: 0,
|
|
2848
2848
|
"model-value": g.selectedSubjects,
|
|
2849
2849
|
options: g.options,
|
|
@@ -2862,7 +2862,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2862
2862
|
]);
|
|
2863
2863
|
};
|
|
2864
2864
|
}
|
|
2865
|
-
}),
|
|
2865
|
+
}), Ar = { class: "flex items-center" }, Sr = { class: "ml-auto" }, Dr = /* @__PURE__ */ Ie({
|
|
2866
2866
|
__name: "CollapsibleWrapper",
|
|
2867
2867
|
props: {
|
|
2868
2868
|
title: { default: "" },
|
|
@@ -2877,7 +2877,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2877
2877
|
function m() {
|
|
2878
2878
|
s.value && (l.value = s.value.scrollHeight);
|
|
2879
2879
|
}
|
|
2880
|
-
return
|
|
2880
|
+
return xt(async () => {
|
|
2881
2881
|
await Qn(), s.value && (a = new ResizeObserver(() => {
|
|
2882
2882
|
m();
|
|
2883
2883
|
}), a.observe(s.value));
|
|
@@ -2885,9 +2885,9 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2885
2885
|
a == null || a.disconnect();
|
|
2886
2886
|
}), (u, b) => {
|
|
2887
2887
|
const T = Xe("FmButton");
|
|
2888
|
-
return
|
|
2888
|
+
return x(), te(ye, null, [
|
|
2889
2889
|
ne("div", { onClick: c }, [
|
|
2890
|
-
ne("div",
|
|
2890
|
+
ne("div", Ar, [
|
|
2891
2891
|
he(u.$slots, "title"),
|
|
2892
2892
|
ne("div", Sr, [
|
|
2893
2893
|
de(T, {
|
|
@@ -2910,7 +2910,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2910
2910
|
], 64);
|
|
2911
2911
|
};
|
|
2912
2912
|
}
|
|
2913
|
-
}),
|
|
2913
|
+
}), wr = { class: "fm-typo-en-title-sm-600" }, Ct = "includedFuture", On = /* @__PURE__ */ Ie({
|
|
2914
2914
|
__name: "ConditionPermission",
|
|
2915
2915
|
props: {
|
|
2916
2916
|
modelValue: {
|
|
@@ -2935,27 +2935,27 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2935
2935
|
const n = e, s = t, { t: l } = _t(), a = Q(() => [
|
|
2936
2936
|
{
|
|
2937
2937
|
label: l("team.memberForm.permissions.includedFuture", { context: n.context }),
|
|
2938
|
-
value:
|
|
2938
|
+
value: Ct,
|
|
2939
2939
|
// Can only be selected if all other options are selected
|
|
2940
2940
|
disable: !!n.modelValue && n.options.length > n.modelValue.length
|
|
2941
2941
|
},
|
|
2942
2942
|
...n.options.filter(
|
|
2943
2943
|
(b) => b.label.toLocaleLowerCase().includes(u.value.toLocaleLowerCase())
|
|
2944
2944
|
)
|
|
2945
|
-
]), c = Q(() => n.modelValue ? n.modelValue : [
|
|
2945
|
+
]), c = Q(() => n.modelValue ? n.modelValue : [Ct, ...n.options.map((b) => b.value)]);
|
|
2946
2946
|
function m(b) {
|
|
2947
2947
|
const T = b.length === a.value.length;
|
|
2948
|
-
s("update:model-value", T ? null : b.filter((O) => O !==
|
|
2948
|
+
s("update:model-value", T ? null : b.filter((O) => O !== Ct));
|
|
2949
2949
|
}
|
|
2950
2950
|
const u = Ve("");
|
|
2951
2951
|
return (b, T) => {
|
|
2952
2952
|
const O = Xe("fm-search");
|
|
2953
|
-
return
|
|
2953
|
+
return x(), Se(Dr, null, {
|
|
2954
2954
|
title: pe(() => [
|
|
2955
|
-
ne("p",
|
|
2955
|
+
ne("p", wr, Ae(Te(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
2956
2956
|
]),
|
|
2957
2957
|
default: pe(() => [
|
|
2958
|
-
e.options.length > 1 ? (
|
|
2958
|
+
e.options.length > 1 ? (x(), Se(O, {
|
|
2959
2959
|
key: 0,
|
|
2960
2960
|
modelValue: u.value,
|
|
2961
2961
|
"onUpdate:modelValue": T[0] || (T[0] = (N) => u.value = N),
|
|
@@ -2985,7 +2985,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
2985
2985
|
});
|
|
2986
2986
|
};
|
|
2987
2987
|
}
|
|
2988
|
-
}),
|
|
2988
|
+
}), At = "includedNewRole", Mr = /* @__PURE__ */ Ie({
|
|
2989
2989
|
__name: "PosRolePermission",
|
|
2990
2990
|
props: {
|
|
2991
2991
|
modelValue: {
|
|
@@ -3012,7 +3012,7 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3012
3012
|
return [
|
|
3013
3013
|
{
|
|
3014
3014
|
label: l("team.memberForm.permissions.includedNewRole"),
|
|
3015
|
-
value:
|
|
3015
|
+
value: At,
|
|
3016
3016
|
disable: !!n.modelValue && n.roles.length > n.modelValue.length
|
|
3017
3017
|
},
|
|
3018
3018
|
...n.roles.map((b) => ({
|
|
@@ -3021,12 +3021,12 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3021
3021
|
disable: !!u && b.restaurants.every(({ id: T }) => !u.includes(T))
|
|
3022
3022
|
}))
|
|
3023
3023
|
];
|
|
3024
|
-
}), c = Q(() => n.modelValue ? n.modelValue : [
|
|
3024
|
+
}), c = Q(() => n.modelValue ? n.modelValue : [At, ...n.roles.map((u) => u._id)]);
|
|
3025
3025
|
function m(u) {
|
|
3026
3026
|
const b = u.length === a.value.length;
|
|
3027
|
-
s("update:model-value", b ? null : u.filter((T) => T !==
|
|
3027
|
+
s("update:model-value", b ? null : u.filter((T) => T !== At));
|
|
3028
3028
|
}
|
|
3029
|
-
return (u, b) => (
|
|
3029
|
+
return (u, b) => (x(), Se(Qt, {
|
|
3030
3030
|
"model-value": c.value,
|
|
3031
3031
|
options: a.value,
|
|
3032
3032
|
"show-intermediate": !1,
|
|
@@ -3065,51 +3065,51 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3065
3065
|
emits: /* @__PURE__ */ zt(["permissionChanged"], ["update:modelValue"]),
|
|
3066
3066
|
setup(e, { emit: t }) {
|
|
3067
3067
|
const n = zn(e, "modelValue"), s = e, l = t, { t: a } = _t(), { fetchCustomReportPermissions: c, customReportPermissions: m } = ns();
|
|
3068
|
-
function u(
|
|
3069
|
-
return Dt.find((L) => L.subject ===
|
|
3068
|
+
function u(C) {
|
|
3069
|
+
return Dt.find((L) => L.subject === C) ?? m.value.find((L) => L.subject === C);
|
|
3070
3070
|
}
|
|
3071
3071
|
const b = Q(() => {
|
|
3072
|
-
const
|
|
3072
|
+
const C = [...Dt, ...m.value].filter((w) => !P.includes(w.subject)).map((w) => w.subject);
|
|
3073
3073
|
return ss(
|
|
3074
|
-
s.inheritPermissions.map((
|
|
3075
|
-
...
|
|
3076
|
-
permissions:
|
|
3074
|
+
s.inheritPermissions.map((w) => ({
|
|
3075
|
+
...w,
|
|
3076
|
+
permissions: w.permissions.filter((Y) => C.includes(Y.subject))
|
|
3077
3077
|
}))
|
|
3078
|
-
).map((
|
|
3079
|
-
id:
|
|
3080
|
-
setNames:
|
|
3078
|
+
).map((w) => ({
|
|
3079
|
+
id: w.subject,
|
|
3080
|
+
setNames: w.setNames
|
|
3081
3081
|
}));
|
|
3082
3082
|
}), T = Q(() => {
|
|
3083
|
-
const
|
|
3083
|
+
const C = s.inheritPermissions.map((L) => ({
|
|
3084
3084
|
...L,
|
|
3085
3085
|
permissions: L.permissions.filter(
|
|
3086
|
-
(
|
|
3086
|
+
(w) => w.subject === ie.Subject.Business.inventory_stock
|
|
3087
3087
|
)
|
|
3088
3088
|
}));
|
|
3089
3089
|
return yt(
|
|
3090
|
-
|
|
3090
|
+
C,
|
|
3091
3091
|
"warehouseId",
|
|
3092
3092
|
k.value.map((L) => L._id)
|
|
3093
3093
|
);
|
|
3094
3094
|
}), O = Q(() => {
|
|
3095
|
-
const
|
|
3095
|
+
const C = s.inheritPermissions.map((L) => ({
|
|
3096
3096
|
...L,
|
|
3097
3097
|
permissions: L.permissions.filter(
|
|
3098
|
-
(
|
|
3098
|
+
(w) => w.subject === ie.Subject.Restaurant.restaurant
|
|
3099
3099
|
)
|
|
3100
3100
|
}));
|
|
3101
3101
|
return yt(
|
|
3102
|
-
|
|
3102
|
+
C,
|
|
3103
3103
|
"restaurantId",
|
|
3104
3104
|
y.value.map((L) => L._id)
|
|
3105
3105
|
);
|
|
3106
3106
|
}), N = Q(() => {
|
|
3107
|
-
const
|
|
3107
|
+
const C = s.inheritPermissions.map((L) => ({
|
|
3108
3108
|
...L,
|
|
3109
|
-
permissions: L.permissions.filter((
|
|
3109
|
+
permissions: L.permissions.filter((w) => w.subject === ie.Subject.Business.role)
|
|
3110
3110
|
}));
|
|
3111
3111
|
return yt(
|
|
3112
|
-
|
|
3112
|
+
C,
|
|
3113
3113
|
"roleId",
|
|
3114
3114
|
h.value.map((L) => L._id)
|
|
3115
3115
|
);
|
|
@@ -3120,44 +3120,44 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3120
3120
|
ie.Subject.Business.inventory_stock
|
|
3121
3121
|
], V = Q(() => {
|
|
3122
3122
|
var L;
|
|
3123
|
-
const
|
|
3124
|
-
(
|
|
3123
|
+
const C = (L = n.value) == null ? void 0 : L.find(
|
|
3124
|
+
(w) => w.subject === ie.Subject.Business.inventory_stock
|
|
3125
3125
|
);
|
|
3126
|
-
return
|
|
3127
|
-
}), k = Ve([]),
|
|
3128
|
-
label:
|
|
3129
|
-
value:
|
|
3126
|
+
return C ? C.conditions ? JSON.parse(C.conditions).warehouseId.$in : null : [];
|
|
3127
|
+
}), k = Ve([]), A = Q(() => k.value.map((C) => ({
|
|
3128
|
+
label: C.profile.name,
|
|
3129
|
+
value: C._id
|
|
3130
3130
|
})));
|
|
3131
|
-
function i(
|
|
3132
|
-
const L = d(n.value,
|
|
3131
|
+
function i(C) {
|
|
3132
|
+
const L = d(n.value, C);
|
|
3133
3133
|
n.value = L;
|
|
3134
3134
|
}
|
|
3135
|
-
function d(
|
|
3136
|
-
let
|
|
3137
|
-
|
|
3135
|
+
function d(C, L) {
|
|
3136
|
+
let w = ut(
|
|
3137
|
+
C.filter((Y) => Y.subject !== ie.Subject.Business.inventory_stock)
|
|
3138
3138
|
);
|
|
3139
3139
|
if (!L || L.length > 0) {
|
|
3140
3140
|
const Y = {
|
|
3141
3141
|
actions: [ie.Action.manage],
|
|
3142
3142
|
subject: ie.Subject.Business.inventory_stock
|
|
3143
3143
|
};
|
|
3144
|
-
L && (Y.conditions = JSON.stringify({ warehouseId: { $in: L } })),
|
|
3144
|
+
L && (Y.conditions = JSON.stringify({ warehouseId: { $in: L } })), w.push(Y);
|
|
3145
3145
|
}
|
|
3146
|
-
return
|
|
3147
|
-
}
|
|
3148
|
-
const { restaurants: y } = qn(), h = cs().roles, S = Q(() => y.value.map((
|
|
3149
|
-
label: `${
|
|
3150
|
-
value:
|
|
3151
|
-
}))), p = Q(() => y.value.reduce((
|
|
3152
|
-
function j(
|
|
3153
|
-
const L = I(n.value,
|
|
3146
|
+
return w;
|
|
3147
|
+
}
|
|
3148
|
+
const { restaurants: y } = qn(), h = cs().roles, S = Q(() => y.value.map((C) => ({
|
|
3149
|
+
label: `${C.profile.code ? C.profile.code + "-" : ""}${C.profile.name}`,
|
|
3150
|
+
value: C._id
|
|
3151
|
+
}))), p = Q(() => y.value.reduce((C, L) => (C[L._id] = h.value.filter((w) => w.restaurants.some((Y) => Y.id === L._id)).map((w) => w._id), C), {})), _ = Q(() => as(n.value));
|
|
3152
|
+
function j(C) {
|
|
3153
|
+
const L = I(n.value, C);
|
|
3154
3154
|
n.value = L;
|
|
3155
3155
|
}
|
|
3156
3156
|
const g = Q(() => rs(n.value));
|
|
3157
|
-
function I(
|
|
3157
|
+
function I(C, L) {
|
|
3158
3158
|
var Y;
|
|
3159
|
-
let
|
|
3160
|
-
|
|
3159
|
+
let w = ut(
|
|
3160
|
+
C.filter(
|
|
3161
3161
|
(U) => U.subject !== ie.Subject.Business.restaurant && U.subject !== ie.Subject.Restaurant.restaurant
|
|
3162
3162
|
)
|
|
3163
3163
|
);
|
|
@@ -3165,33 +3165,33 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3165
3165
|
const {
|
|
3166
3166
|
category: U,
|
|
3167
3167
|
showByFeatureFlag: R,
|
|
3168
|
-
...
|
|
3168
|
+
...Z
|
|
3169
3169
|
} = os.restaurant;
|
|
3170
|
-
|
|
3170
|
+
w.push(Z);
|
|
3171
3171
|
const z = {
|
|
3172
3172
|
actions: [ie.Action.manage],
|
|
3173
3173
|
subject: ie.Subject.Restaurant.restaurant
|
|
3174
3174
|
};
|
|
3175
|
-
L && (z.conditions = JSON.stringify({ restaurantId: { $in: L } })),
|
|
3175
|
+
L && (z.conditions = JSON.stringify({ restaurantId: { $in: L } })), w.push(z);
|
|
3176
3176
|
}
|
|
3177
3177
|
if (L) {
|
|
3178
3178
|
const U = [
|
|
3179
|
-
...new Set(L.map((
|
|
3180
|
-
], R = h.value.map((
|
|
3181
|
-
U.length !== R.length && (
|
|
3182
|
-
|
|
3183
|
-
(Y = g.value || R) == null ? void 0 : Y.filter((
|
|
3179
|
+
...new Set(L.map((Z) => p.value[Z]).flatMap((Z) => Z))
|
|
3180
|
+
], R = h.value.map((Z) => Z._id);
|
|
3181
|
+
U.length !== R.length && (w = D(
|
|
3182
|
+
w,
|
|
3183
|
+
(Y = g.value || R) == null ? void 0 : Y.filter((Z) => U.includes(Z))
|
|
3184
3184
|
));
|
|
3185
3185
|
}
|
|
3186
|
-
return
|
|
3186
|
+
return w;
|
|
3187
3187
|
}
|
|
3188
|
-
function W(
|
|
3189
|
-
const L = D(n.value,
|
|
3188
|
+
function W(C) {
|
|
3189
|
+
const L = D(n.value, C);
|
|
3190
3190
|
n.value = L;
|
|
3191
3191
|
}
|
|
3192
|
-
function D(
|
|
3193
|
-
let
|
|
3194
|
-
|
|
3192
|
+
function D(C, L) {
|
|
3193
|
+
let w = ut(
|
|
3194
|
+
C.filter((Y) => Y.subject !== ie.Subject.Business.role)
|
|
3195
3195
|
);
|
|
3196
3196
|
if (L && L.length > 0) {
|
|
3197
3197
|
const Y = {
|
|
@@ -3199,13 +3199,13 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3199
3199
|
subject: ie.Subject.Business.role,
|
|
3200
3200
|
conditions: JSON.stringify({ roleId: { $in: L } })
|
|
3201
3201
|
};
|
|
3202
|
-
|
|
3202
|
+
w.push(Y);
|
|
3203
3203
|
}
|
|
3204
|
-
return
|
|
3204
|
+
return w;
|
|
3205
3205
|
}
|
|
3206
|
-
|
|
3206
|
+
xt(async () => {
|
|
3207
3207
|
await Promise.all([
|
|
3208
|
-
Pr.readWarehouses().then((
|
|
3208
|
+
Pr.readWarehouses().then((C) => k.value = C),
|
|
3209
3209
|
c()
|
|
3210
3210
|
]);
|
|
3211
3211
|
});
|
|
@@ -3214,53 +3214,53 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3214
3214
|
kt
|
|
3215
3215
|
).map((L) => {
|
|
3216
3216
|
if (L.inverted) return L;
|
|
3217
|
-
const
|
|
3218
|
-
if (!
|
|
3217
|
+
const w = L.actions;
|
|
3218
|
+
if (!w.includes("manage")) return L;
|
|
3219
3219
|
const Y = u(L.subject);
|
|
3220
3220
|
if (!Y) return L;
|
|
3221
3221
|
const U = Y.actions;
|
|
3222
|
-
return U.length <= 1 || U.filter((
|
|
3222
|
+
return U.length <= 1 || U.filter((Z) => !w.includes(Z)).length === 0 ? L : { ...L, actions: [...U] };
|
|
3223
3223
|
}));
|
|
3224
|
-
function q(
|
|
3224
|
+
function q(C) {
|
|
3225
3225
|
const L = new Set(
|
|
3226
3226
|
J.value.filter((R) => !R.inverted).map((R) => R.subject)
|
|
3227
|
-
),
|
|
3228
|
-
|
|
3227
|
+
), w = new Set(
|
|
3228
|
+
C.filter((R) => !R.inverted).map((R) => R.subject)
|
|
3229
3229
|
), Y = new Set(
|
|
3230
3230
|
n.value.filter((R) => !R.inverted).map((R) => R.subject)
|
|
3231
3231
|
);
|
|
3232
3232
|
let U = [...n.value];
|
|
3233
3233
|
for (const R of L)
|
|
3234
|
-
|
|
3234
|
+
w.has(R) || (Y.has(R) && (U = U.filter((z) => z.subject !== R)), (!Y.has(R) || Tt(
|
|
3235
3235
|
U,
|
|
3236
3236
|
kt
|
|
3237
3237
|
).some((z) => z.subject === R && !z.inverted)) && !U.some((z) => z.subject === R && z.inverted) && U.push({ subject: R, actions: ["manage"], inverted: !0 }));
|
|
3238
|
-
for (const R of
|
|
3238
|
+
for (const R of w)
|
|
3239
3239
|
if (!L.has(R)) {
|
|
3240
|
-
const
|
|
3241
|
-
if (U = U.filter((z) => !(z.subject === R && z.inverted)), !
|
|
3242
|
-
const z =
|
|
3240
|
+
const Z = U.some((z) => z.subject === R && z.inverted);
|
|
3241
|
+
if (U = U.filter((z) => !(z.subject === R && z.inverted)), !Z && !Y.has(R)) {
|
|
3242
|
+
const z = C.find(
|
|
3243
3243
|
(fe) => fe.subject === R && !fe.inverted
|
|
3244
3244
|
), ge = u(R);
|
|
3245
3245
|
if (ge && z) {
|
|
3246
|
-
const { category: fe, showByFeatureFlag:
|
|
3246
|
+
const { category: fe, showByFeatureFlag: Me, ...ee } = ge;
|
|
3247
3247
|
U.push({ ...ee, actions: z.actions });
|
|
3248
3248
|
}
|
|
3249
3249
|
}
|
|
3250
3250
|
}
|
|
3251
|
-
for (const R of
|
|
3251
|
+
for (const R of w) {
|
|
3252
3252
|
if (!L.has(R)) continue;
|
|
3253
|
-
const
|
|
3253
|
+
const Z = J.value.find(
|
|
3254
3254
|
(ee) => ee.subject === R && !ee.inverted
|
|
3255
|
-
), z =
|
|
3256
|
-
if (!
|
|
3257
|
-
const ge = new Set(
|
|
3255
|
+
), z = C.find((ee) => ee.subject === R && !ee.inverted);
|
|
3256
|
+
if (!Z || !z) continue;
|
|
3257
|
+
const ge = new Set(Z.actions), fe = new Set(z.actions);
|
|
3258
3258
|
if (ge.size === fe.size && [...ge].every((ee) => fe.has(ee)))
|
|
3259
3259
|
continue;
|
|
3260
|
-
const
|
|
3261
|
-
if (
|
|
3262
|
-
U[
|
|
3263
|
-
...U[
|
|
3260
|
+
const Me = U.findIndex((ee) => ee.subject === R && !ee.inverted);
|
|
3261
|
+
if (Me >= 0)
|
|
3262
|
+
U[Me] = {
|
|
3263
|
+
...U[Me],
|
|
3264
3264
|
actions: Array.from(fe)
|
|
3265
3265
|
};
|
|
3266
3266
|
else {
|
|
@@ -3281,22 +3281,22 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3281
3281
|
}
|
|
3282
3282
|
return St(
|
|
3283
3283
|
n,
|
|
3284
|
-
(
|
|
3285
|
-
l("permissionChanged",
|
|
3284
|
+
(C) => {
|
|
3285
|
+
l("permissionChanged", C);
|
|
3286
3286
|
},
|
|
3287
3287
|
{ deep: !0 }
|
|
3288
|
-
), (
|
|
3288
|
+
), (C, L) => (x(), te("div", Fr, [
|
|
3289
3289
|
ne("div", jr, [
|
|
3290
|
-
de(
|
|
3290
|
+
de(Cr, {
|
|
3291
3291
|
"model-value": J.value,
|
|
3292
3292
|
"excluded-subjects": P,
|
|
3293
3293
|
"additional-permissions": Te(m),
|
|
3294
3294
|
"onUpdate:modelValue": q
|
|
3295
3295
|
}, Fe({ _: 2 }, [
|
|
3296
|
-
_e(b.value, (
|
|
3297
|
-
name: `checkbox-${
|
|
3296
|
+
_e(b.value, (w) => ({
|
|
3297
|
+
name: `checkbox-${w.id}-append`,
|
|
3298
3298
|
fn: pe(() => [
|
|
3299
|
-
de(it, { item:
|
|
3299
|
+
de(it, { item: w }, null, 8, ["item"])
|
|
3300
3300
|
])
|
|
3301
3301
|
}))
|
|
3302
3302
|
]), 1032, ["model-value", "additional-permissions"])
|
|
@@ -3304,14 +3304,14 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3304
3304
|
ne("div", Vr, [
|
|
3305
3305
|
de(On, {
|
|
3306
3306
|
"model-value": V.value,
|
|
3307
|
-
options:
|
|
3307
|
+
options: A.value,
|
|
3308
3308
|
context: Te(a)("team.labels.warehouse"),
|
|
3309
3309
|
"onUpdate:modelValue": i
|
|
3310
3310
|
}, Fe({ _: 2 }, [
|
|
3311
|
-
_e(T.value, (
|
|
3312
|
-
name: `checkbox-${
|
|
3311
|
+
_e(T.value, (w) => ({
|
|
3312
|
+
name: `checkbox-${w.id}-append`,
|
|
3313
3313
|
fn: pe(() => [
|
|
3314
|
-
de(it, { item:
|
|
3314
|
+
de(it, { item: w }, null, 8, ["item"])
|
|
3315
3315
|
])
|
|
3316
3316
|
}))
|
|
3317
3317
|
]), 1032, ["model-value", "options", "context"])
|
|
@@ -3323,25 +3323,25 @@ const hr = { class: "col flex items-center" }, br = {
|
|
|
3323
3323
|
context: Te(a)("team.labels.restaurant"),
|
|
3324
3324
|
"onUpdate:modelValue": j
|
|
3325
3325
|
}, Fe({ _: 2 }, [
|
|
3326
|
-
_e(O.value, (
|
|
3327
|
-
name: `checkbox-${
|
|
3326
|
+
_e(O.value, (w) => ({
|
|
3327
|
+
name: `checkbox-${w.id}-append`,
|
|
3328
3328
|
fn: pe(() => [
|
|
3329
|
-
de(it, { item:
|
|
3329
|
+
de(it, { item: w }, null, 8, ["item"])
|
|
3330
3330
|
])
|
|
3331
3331
|
}))
|
|
3332
3332
|
]), 1032, ["model-value", "options", "context"])
|
|
3333
3333
|
]),
|
|
3334
3334
|
ne("div", Gr, [
|
|
3335
|
-
de(
|
|
3335
|
+
de(Mr, {
|
|
3336
3336
|
roles: Te(h),
|
|
3337
3337
|
"model-value": g.value,
|
|
3338
3338
|
"restaurant-ids": _.value,
|
|
3339
3339
|
"onUpdate:modelValue": W
|
|
3340
3340
|
}, Fe({ _: 2 }, [
|
|
3341
|
-
_e(N.value, (
|
|
3342
|
-
name: `checkbox-${
|
|
3341
|
+
_e(N.value, (w) => ({
|
|
3342
|
+
name: `checkbox-${w.id}-append`,
|
|
3343
3343
|
fn: pe(() => [
|
|
3344
|
-
de(it, { item:
|
|
3344
|
+
de(it, { item: w }, null, 8, ["item"])
|
|
3345
3345
|
])
|
|
3346
3346
|
}))
|
|
3347
3347
|
]), 1032, ["roles", "model-value", "restaurant-ids"])
|