@feedmepos/mf-hrm-portal 2.0.8-dev.8 → 2.0.8-dev.9
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-DoCimVF7.js → AuditLogList-DLLCiXu8.js} +5 -5
- package/dist/{EmployeeList-DhpiRZAi.js → EmployeeList-DyCy6yDR.js} +5 -5
- package/dist/{Main-B8xakn-h.js → Main-BP5ys-3s.js} +6 -6
- package/dist/{Main-CwDBQpew.js → Main-DPwp-D-g.js} +9 -9
- package/dist/{Main-COyMEtDs.js → Main-QVjnoSPL.js} +4 -4
- package/dist/{PermissionSetList-cV0_Cm_t.js → PermissionSetList-CQ6fxd4b.js} +5 -5
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DvupBwzc.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-wTVA6ZHN.js} +515 -515
- package/dist/{RoleList-OOYlDtop.js → RoleList-CdwxJVrb.js} +7 -7
- package/dist/{TeamMemberList-Cm2ywhpr.js → TeamMemberList-CSrPcmMM.js} +8 -8
- package/dist/{TimesheetList-Do1TJK4R.js → TimesheetList-DvHsJnii.js} +7 -7
- package/dist/{app-Dz-5CT0i.js → app-_OC2E_9y.js} +4 -4
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-SvmBPvPt.js → dayjs.min-D2PtCN3F.js} +1 -1
- package/dist/{employee-G3UmFV_Y.js → employee-DzY5hw9p.js} +4 -4
- package/dist/{index-BG9JXTDx.js → index-BhFOQOiF.js} +2 -2
- package/dist/{index-CyvkdrUd.js → index-BpFV7ecJ.js} +1 -1
- package/dist/{iteration-DDo2wrVm.js → iteration-B1cm-IrX.js} +1 -1
- package/dist/{lodash-BkQx8i3S.js → lodash-CMkhNKIh.js} +1 -1
- package/dist/{team-BFkCJ_AJ.js → team-keJr5472.js} +1 -1
- package/dist/{timesheet-CylnGKb5.js → timesheet-BQSqWXPK.js} +3 -3
- package/dist/{useAppStore-la8yuk1n.js → useAppStore-D49g7U7R.js} +1 -1
- package/dist/{useLoading-ClpZFGc9.js → useLoading-sO0NTNSJ.js} +1 -1
- package/dist/{useReportPermissions-BfxN1NHL.js → useReportPermissions-Bq9_ll44.js} +3 -3
- package/package.json +1 -1
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { getCurrentInstance as xt, inject as $n, ref as Ue, shallowRef as zn, computed as q, watch as St, onMounted as Xt, onUnmounted as An, defineComponent as Ne, h as Sn, createVNode as de, Text as Kn, Fragment as
|
|
1
|
+
import { getCurrentInstance as xt, inject as $n, ref as Ue, shallowRef as zn, computed as q, watch as St, onMounted as Xt, onUnmounted as An, defineComponent as Ne, h as Sn, createVNode as de, Text as Kn, Fragment as Ee, resolveComponent as Ze, createBlock as Se, openBlock as B, withCtx as be, createElementVNode as te, createElementBlock as ee, toDisplayString as Ae, unref as H, renderList as pe, renderSlot as he, createCommentVNode as Oe, createTextVNode as Qn, useSlots as qn, normalizeStyle as ct, normalizeClass as qe, toRef as Qt, createSlots as Fe, nextTick as es, mergeModels as qt, useModel as ts } from "vue";
|
|
2
2
|
import { useI18n as _t, useCoreStore as ns } from "@feedmepos/mf-common";
|
|
3
3
|
import "@vue/devtools-api";
|
|
4
|
-
import { p as
|
|
5
|
-
import { d as ut, g as os, b as is } from "./iteration-
|
|
6
|
-
import { u as cs, h as ce, $ as us, I as Tt } from "./app-
|
|
7
|
-
import { u as ms } from "./index-
|
|
8
|
-
import { u as ds } from "./useAppStore-
|
|
4
|
+
import { p as Dt, j as ss, x as as, y as Nt, z as rs, l as ls, $ as kt } from "./index-BhFOQOiF.js";
|
|
5
|
+
import { d as ut, g as os, b as is } from "./iteration-B1cm-IrX.js";
|
|
6
|
+
import { u as cs, h as ce, $ as us, I as Tt } from "./app-_OC2E_9y.js";
|
|
7
|
+
import { u as ms } from "./index-BpFV7ecJ.js";
|
|
8
|
+
import { u as ds } from "./useAppStore-D49g7U7R.js";
|
|
9
9
|
/*!
|
|
10
10
|
* shared v10.0.5
|
|
11
11
|
* (c) 2024 kazuya kawaguchi
|
|
12
12
|
* Released under the MIT License.
|
|
13
13
|
*/
|
|
14
|
-
const en = typeof window < "u", Ve = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), fs = (e, t, n) => _s({ l: e, k: t, s: n }), _s = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ue = (e) => typeof e == "number" && isFinite(e), ps = (e) =>
|
|
14
|
+
const en = typeof window < "u", Ve = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), fs = (e, t, n) => _s({ l: e, k: t, s: n }), _s = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ue = (e) => typeof e == "number" && isFinite(e), ps = (e) => Zt(e) === "[object Date]", dt = (e) => Zt(e) === "[object RegExp]", pt = (e) => J(e) && Object.keys(e).length === 0, me = Object.assign, bs = Object.create, K = (e = null) => bs(e);
|
|
15
15
|
let tn;
|
|
16
16
|
const je = () => tn || (tn = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : K());
|
|
17
17
|
function nn(e) {
|
|
18
18
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
19
19
|
}
|
|
20
|
-
const
|
|
20
|
+
const hs = Object.prototype.hasOwnProperty;
|
|
21
21
|
function ye(e, t) {
|
|
22
|
-
return
|
|
22
|
+
return hs.call(e, t);
|
|
23
23
|
}
|
|
24
|
-
const ie = Array.isArray, se = (e) => typeof e == "function", P = (e) => typeof e == "string", oe = (e) => typeof e == "boolean", $ = (e) => e !== null && typeof e == "object", gs = (e) => $(e) && se(e.then) && se(e.catch),
|
|
25
|
-
function
|
|
24
|
+
const ie = Array.isArray, se = (e) => typeof e == "function", P = (e) => typeof e == "string", oe = (e) => typeof e == "boolean", $ = (e) => e !== null && typeof e == "object", gs = (e) => $(e) && se(e.then) && se(e.catch), Dn = Object.prototype.toString, Zt = (e) => Dn.call(e), J = (e) => Zt(e) === "[object Object]", vs = (e) => e == null ? "" : ie(e) || J(e) && e.toString === Dn ? JSON.stringify(e, null, 2) : String(e);
|
|
25
|
+
function Yt(e, t = "") {
|
|
26
26
|
return e.reduce((n, s, l) => l === 0 ? n + s : n + t + s, "");
|
|
27
27
|
}
|
|
28
|
-
function
|
|
28
|
+
function Is(e, t) {
|
|
29
29
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
30
30
|
}
|
|
31
31
|
const rt = (e) => !$(e) || ie(e);
|
|
@@ -40,10 +40,10 @@ function mt(e, t) {
|
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function Es(e, t, n) {
|
|
44
44
|
return { line: e, column: t, offset: n };
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function Mt(e, t, n) {
|
|
47
47
|
return { start: e, end: t };
|
|
48
48
|
}
|
|
49
49
|
const z = {
|
|
@@ -64,7 +64,7 @@ const z = {
|
|
|
64
64
|
UNEXPECTED_EMPTY_LINKED_KEY: 13,
|
|
65
65
|
UNEXPECTED_LEXICAL_ANALYSIS: 14
|
|
66
66
|
}, ys = 17;
|
|
67
|
-
function
|
|
67
|
+
function bt(e, t, n = {}) {
|
|
68
68
|
const { domain: s, messages: l, args: a } = n, c = e, d = new SyntaxError(String(c));
|
|
69
69
|
return d.code = e, t && (d.location = t), d.domain = s, d;
|
|
70
70
|
}
|
|
@@ -76,14 +76,14 @@ const Te = " ", ks = "\r", fe = `
|
|
|
76
76
|
function Ls(e) {
|
|
77
77
|
const t = e;
|
|
78
78
|
let n = 0, s = 1, l = 1, a = 0;
|
|
79
|
-
const c = (m) => t[m] === ks && t[m + 1] === fe, d = (m) => t[m] === fe, u = (m) => t[m] === Os,
|
|
79
|
+
const c = (m) => t[m] === ks && t[m + 1] === fe, d = (m) => t[m] === fe, u = (m) => t[m] === Os, h = (m) => t[m] === Ts, k = (m) => c(m) || d(m) || u(m) || h(m), T = () => n, E = () => s, w = () => l, W = () => a, N = (m) => c(m) || u(m) || h(m) ? fe : t[m], A = () => N(n), i = () => N(n + a);
|
|
80
80
|
function f() {
|
|
81
81
|
return a = 0, k(n) && (s++, l = 0), c(n) && n++, n++, l++, t[n];
|
|
82
82
|
}
|
|
83
83
|
function y() {
|
|
84
84
|
return c(n + a) && a++, a++, t[n + a];
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function b() {
|
|
87
87
|
n = 0, s = 1, l = 1, a = 0;
|
|
88
88
|
}
|
|
89
89
|
function S(m = 0) {
|
|
@@ -97,7 +97,7 @@ function Ls(e) {
|
|
|
97
97
|
}
|
|
98
98
|
return {
|
|
99
99
|
index: T,
|
|
100
|
-
line:
|
|
100
|
+
line: E,
|
|
101
101
|
column: w,
|
|
102
102
|
peekOffset: W,
|
|
103
103
|
charAt: N,
|
|
@@ -105,14 +105,14 @@ function Ls(e) {
|
|
|
105
105
|
currentPeek: i,
|
|
106
106
|
next: f,
|
|
107
107
|
peek: y,
|
|
108
|
-
reset:
|
|
108
|
+
reset: b,
|
|
109
109
|
resetPeek: S,
|
|
110
110
|
skipToPeek: R
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
113
|
const Re = void 0, Cs = ".", sn = "'", Rs = "tokenizer";
|
|
114
114
|
function As(e, t = {}) {
|
|
115
|
-
const n = t.location !== !1, s = Ls(e), l = () => s.index(), a = () =>
|
|
115
|
+
const n = t.location !== !1, s = Ls(e), l = () => s.index(), a = () => Es(s.line(), s.column(), s.index()), c = a(), d = l(), u = {
|
|
116
116
|
currentType: 13,
|
|
117
117
|
offset: d,
|
|
118
118
|
startLoc: c,
|
|
@@ -124,23 +124,23 @@ function As(e, t = {}) {
|
|
|
124
124
|
braceNest: 0,
|
|
125
125
|
inLinked: !1,
|
|
126
126
|
text: ""
|
|
127
|
-
},
|
|
127
|
+
}, h = () => u, { onError: k } = t;
|
|
128
128
|
function T(r, o, g, ...j) {
|
|
129
|
-
const re =
|
|
129
|
+
const re = h();
|
|
130
130
|
if (o.column += g, o.offset += g, k) {
|
|
131
|
-
const
|
|
131
|
+
const Z = n ? Mt(re.startLoc, o) : null, _ = bt(r, Z, {
|
|
132
132
|
domain: Rs,
|
|
133
133
|
args: j
|
|
134
134
|
});
|
|
135
135
|
k(_);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function E(r, o, g) {
|
|
139
139
|
r.endLoc = a(), r.currentType = o;
|
|
140
140
|
const j = { type: o };
|
|
141
|
-
return n && (j.loc =
|
|
141
|
+
return n && (j.loc = Mt(r.startLoc, r.endLoc)), g != null && (j.value = g), j;
|
|
142
142
|
}
|
|
143
|
-
const w = (r) =>
|
|
143
|
+
const w = (r) => E(
|
|
144
144
|
r,
|
|
145
145
|
13
|
|
146
146
|
/* TokenTypes.EOF */
|
|
@@ -180,7 +180,7 @@ function As(e, t = {}) {
|
|
|
180
180
|
const j = i(r.currentPeek());
|
|
181
181
|
return r.resetPeek(), j;
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function b(r, o) {
|
|
184
184
|
const { currentType: g } = o;
|
|
185
185
|
if (g !== 2)
|
|
186
186
|
return !1;
|
|
@@ -225,8 +225,8 @@ function As(e, t = {}) {
|
|
|
225
225
|
if (g !== 9)
|
|
226
226
|
return !1;
|
|
227
227
|
const j = () => {
|
|
228
|
-
const
|
|
229
|
-
return
|
|
228
|
+
const Z = r.currentPeek();
|
|
229
|
+
return Z === "{" ? i(r.peek()) : Z === "@" || Z === "|" || Z === ":" || Z === "." || Z === Te || !Z ? !1 : Z === fe ? (r.peek(), j()) : M(r, !1);
|
|
230
230
|
}, re = j();
|
|
231
231
|
return r.resetPeek(), re;
|
|
232
232
|
}
|
|
@@ -235,10 +235,10 @@ function As(e, t = {}) {
|
|
|
235
235
|
const o = r.currentPeek() === "|";
|
|
236
236
|
return r.resetPeek(), o;
|
|
237
237
|
}
|
|
238
|
-
function
|
|
239
|
-
const g = (re = !1,
|
|
238
|
+
function M(r, o = !0) {
|
|
239
|
+
const g = (re = !1, Z = "") => {
|
|
240
240
|
const _ = r.currentPeek();
|
|
241
|
-
return _ === "{" || _ === "@" || !_ ? re : _ === "|" ? !(
|
|
241
|
+
return _ === "{" || _ === "@" || !_ ? re : _ === "|" ? !(Z === Te || Z === fe) : _ === Te ? (r.peek(), g(!0, Te)) : _ === fe ? (r.peek(), g(!0, fe)) : !0;
|
|
242
242
|
}, j = g();
|
|
243
243
|
return o && r.resetPeek(), j;
|
|
244
244
|
}
|
|
@@ -266,14 +266,14 @@ function As(e, t = {}) {
|
|
|
266
266
|
o === 36 || // $
|
|
267
267
|
o === 45;
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function D(r) {
|
|
270
270
|
return F(r, O);
|
|
271
271
|
}
|
|
272
272
|
function C(r) {
|
|
273
273
|
const o = r.charCodeAt(0);
|
|
274
274
|
return o >= 48 && o <= 57;
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function Y(r) {
|
|
277
277
|
return F(r, C);
|
|
278
278
|
}
|
|
279
279
|
function x(r) {
|
|
@@ -287,7 +287,7 @@ function As(e, t = {}) {
|
|
|
287
287
|
}
|
|
288
288
|
function G(r) {
|
|
289
289
|
let o = "", g = "";
|
|
290
|
-
for (; o =
|
|
290
|
+
for (; o = Y(r); )
|
|
291
291
|
g += o;
|
|
292
292
|
return g;
|
|
293
293
|
}
|
|
@@ -298,7 +298,7 @@ function As(e, t = {}) {
|
|
|
298
298
|
if (g === "{" || g === "}" || g === "@" || g === "|" || !g)
|
|
299
299
|
break;
|
|
300
300
|
if (g === Te || g === fe)
|
|
301
|
-
if (
|
|
301
|
+
if (M(r))
|
|
302
302
|
o += g, r.next();
|
|
303
303
|
else {
|
|
304
304
|
if (p(r))
|
|
@@ -313,7 +313,7 @@ function As(e, t = {}) {
|
|
|
313
313
|
function ve(r) {
|
|
314
314
|
A(r);
|
|
315
315
|
let o = "", g = "";
|
|
316
|
-
for (; o =
|
|
316
|
+
for (; o = D(r); )
|
|
317
317
|
g += o;
|
|
318
318
|
return r.currentChar() === Re && T(z.UNTERMINATED_CLOSING_BRACE, a(), 0), g;
|
|
319
319
|
}
|
|
@@ -329,11 +329,11 @@ function As(e, t = {}) {
|
|
|
329
329
|
A(r), W(r, "'");
|
|
330
330
|
let o = "", g = "";
|
|
331
331
|
for (; o = F(r, we); )
|
|
332
|
-
o === "\\" ? g +=
|
|
332
|
+
o === "\\" ? g += Ie(r) : g += o;
|
|
333
333
|
const j = r.currentChar();
|
|
334
334
|
return j === fe || j === Re ? (T(z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), j === fe && (r.next(), W(r, "'")), g) : (W(r, "'"), g);
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function Ie(r) {
|
|
337
337
|
const o = r.currentChar();
|
|
338
338
|
switch (o) {
|
|
339
339
|
case "\\":
|
|
@@ -351,12 +351,12 @@ function As(e, t = {}) {
|
|
|
351
351
|
W(r, o);
|
|
352
352
|
let j = "";
|
|
353
353
|
for (let re = 0; re < g; re++) {
|
|
354
|
-
const
|
|
355
|
-
if (!
|
|
354
|
+
const Z = U(r);
|
|
355
|
+
if (!Z) {
|
|
356
356
|
T(z.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${j}${r.currentChar()}`);
|
|
357
357
|
break;
|
|
358
358
|
}
|
|
359
|
-
j +=
|
|
359
|
+
j += Z;
|
|
360
360
|
}
|
|
361
361
|
return `\\${o}${j}`;
|
|
362
362
|
}
|
|
@@ -370,13 +370,13 @@ function As(e, t = {}) {
|
|
|
370
370
|
g += o;
|
|
371
371
|
return g;
|
|
372
372
|
}
|
|
373
|
-
function
|
|
373
|
+
function It(r) {
|
|
374
374
|
let o = "", g = "";
|
|
375
375
|
for (; o = ae(r); )
|
|
376
376
|
g += o;
|
|
377
377
|
return g;
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function Et(r) {
|
|
380
380
|
const o = (g) => {
|
|
381
381
|
const j = r.currentChar();
|
|
382
382
|
return j === "{" || j === "@" || j === "|" || j === "(" || j === ")" || !j || j === Te ? g : (g += j, r.next(), o(g));
|
|
@@ -396,14 +396,14 @@ function As(e, t = {}) {
|
|
|
396
396
|
let g = null;
|
|
397
397
|
switch (r.currentChar()) {
|
|
398
398
|
case "{":
|
|
399
|
-
return o.braceNest >= 1 && T(z.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), r.next(), g =
|
|
399
|
+
return o.braceNest >= 1 && T(z.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), r.next(), g = E(
|
|
400
400
|
o,
|
|
401
401
|
2,
|
|
402
402
|
"{"
|
|
403
403
|
/* TokenChars.BraceLeft */
|
|
404
404
|
), A(r), o.braceNest++, g;
|
|
405
405
|
case "}":
|
|
406
|
-
return o.braceNest > 0 && o.currentType === 2 && T(z.EMPTY_PLACEHOLDER, a(), 0), r.next(), g =
|
|
406
|
+
return o.braceNest > 0 && o.currentType === 2 && T(z.EMPTY_PLACEHOLDER, a(), 0), r.next(), g = E(
|
|
407
407
|
o,
|
|
408
408
|
3,
|
|
409
409
|
"}"
|
|
@@ -412,19 +412,19 @@ function As(e, t = {}) {
|
|
|
412
412
|
case "@":
|
|
413
413
|
return o.braceNest > 0 && T(z.UNTERMINATED_CLOSING_BRACE, a(), 0), g = Ge(r, o) || w(o), o.braceNest = 0, g;
|
|
414
414
|
default: {
|
|
415
|
-
let re = !0,
|
|
415
|
+
let re = !0, Z = !0, _ = !0;
|
|
416
416
|
if (p(r))
|
|
417
|
-
return o.braceNest > 0 && T(z.UNTERMINATED_CLOSING_BRACE, a(), 0), g =
|
|
417
|
+
return o.braceNest > 0 && T(z.UNTERMINATED_CLOSING_BRACE, a(), 0), g = E(o, 1, ze(r)), o.braceNest = 0, o.inLinked = !1, g;
|
|
418
418
|
if (o.braceNest > 0 && (o.currentType === 4 || o.currentType === 5 || o.currentType === 6))
|
|
419
419
|
return T(z.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0, Ke(r, o);
|
|
420
420
|
if (re = y(r, o))
|
|
421
|
-
return g =
|
|
422
|
-
if (
|
|
423
|
-
return g =
|
|
421
|
+
return g = E(o, 4, ve(r)), A(r), g;
|
|
422
|
+
if (Z = b(r, o))
|
|
423
|
+
return g = E(o, 5, _e(r)), A(r), g;
|
|
424
424
|
if (_ = S(r, o))
|
|
425
|
-
return g =
|
|
426
|
-
if (!re && !
|
|
427
|
-
return g =
|
|
425
|
+
return g = E(o, 6, ne(r)), A(r), g;
|
|
426
|
+
if (!re && !Z && !_)
|
|
427
|
+
return g = E(o, 12, vt(r)), T(z.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, g.value), A(r), g;
|
|
428
428
|
break;
|
|
429
429
|
}
|
|
430
430
|
}
|
|
@@ -436,28 +436,28 @@ function As(e, t = {}) {
|
|
|
436
436
|
const re = r.currentChar();
|
|
437
437
|
switch ((g === 7 || g === 8 || g === 11 || g === 9) && (re === fe || re === Te) && T(z.INVALID_LINKED_FORMAT, a(), 0), re) {
|
|
438
438
|
case "@":
|
|
439
|
-
return r.next(), j =
|
|
439
|
+
return r.next(), j = E(
|
|
440
440
|
o,
|
|
441
441
|
7,
|
|
442
442
|
"@"
|
|
443
443
|
/* TokenChars.LinkedAlias */
|
|
444
444
|
), o.inLinked = !0, j;
|
|
445
445
|
case ".":
|
|
446
|
-
return A(r), r.next(),
|
|
446
|
+
return A(r), r.next(), E(
|
|
447
447
|
o,
|
|
448
448
|
8,
|
|
449
449
|
"."
|
|
450
450
|
/* TokenChars.LinkedDot */
|
|
451
451
|
);
|
|
452
452
|
case ":":
|
|
453
|
-
return A(r), r.next(),
|
|
453
|
+
return A(r), r.next(), E(
|
|
454
454
|
o,
|
|
455
455
|
9,
|
|
456
456
|
":"
|
|
457
457
|
/* TokenChars.LinkedDelimiter */
|
|
458
458
|
);
|
|
459
459
|
default:
|
|
460
|
-
return p(r) ? (j =
|
|
460
|
+
return p(r) ? (j = E(o, 1, ze(r)), o.braceNest = 0, o.inLinked = !1, j) : R(r, o) || L(r, o) ? (A(r), Ge(r, o)) : m(r, o) ? (A(r), E(o, 11, It(r))) : v(r, o) ? (A(r), re === "{" ? We(r, o) || j : E(o, 10, Et(r))) : (g === 7 && T(z.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, Ke(r, o));
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
463
|
function Ke(r, o) {
|
|
@@ -473,7 +473,7 @@ function As(e, t = {}) {
|
|
|
473
473
|
case "{":
|
|
474
474
|
return We(r, o) || w(o);
|
|
475
475
|
case "}":
|
|
476
|
-
return T(z.UNBALANCED_CLOSING_BRACE, a(), 0), r.next(),
|
|
476
|
+
return T(z.UNBALANCED_CLOSING_BRACE, a(), 0), r.next(), E(
|
|
477
477
|
o,
|
|
478
478
|
3,
|
|
479
479
|
"}"
|
|
@@ -483,9 +483,9 @@ function As(e, t = {}) {
|
|
|
483
483
|
return Ge(r, o) || w(o);
|
|
484
484
|
default: {
|
|
485
485
|
if (p(r))
|
|
486
|
-
return g =
|
|
487
|
-
if (
|
|
488
|
-
return
|
|
486
|
+
return g = E(o, 1, ze(r)), o.braceNest = 0, o.inLinked = !1, g;
|
|
487
|
+
if (M(r))
|
|
488
|
+
return E(o, 0, X(r));
|
|
489
489
|
break;
|
|
490
490
|
}
|
|
491
491
|
}
|
|
@@ -493,7 +493,7 @@ function As(e, t = {}) {
|
|
|
493
493
|
}
|
|
494
494
|
function yt() {
|
|
495
495
|
const { currentType: r, offset: o, startLoc: g, endLoc: j } = u;
|
|
496
|
-
return u.lastType = r, u.lastOffset = o, u.lastStartLoc = g, u.lastEndLoc = j, u.offset = l(), u.startLoc = a(), s.currentChar() === Re ?
|
|
496
|
+
return u.lastType = r, u.lastOffset = o, u.lastStartLoc = g, u.lastEndLoc = j, u.offset = l(), u.startLoc = a(), s.currentChar() === Re ? E(
|
|
497
497
|
u,
|
|
498
498
|
13
|
|
499
499
|
/* TokenTypes.EOF */
|
|
@@ -503,11 +503,11 @@ function As(e, t = {}) {
|
|
|
503
503
|
nextToken: yt,
|
|
504
504
|
currentOffset: l,
|
|
505
505
|
currentPosition: a,
|
|
506
|
-
context:
|
|
506
|
+
context: h
|
|
507
507
|
};
|
|
508
508
|
}
|
|
509
|
-
const Ss = "parser",
|
|
510
|
-
function
|
|
509
|
+
const Ss = "parser", Ds = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
|
|
510
|
+
function Ms(e, t, n) {
|
|
511
511
|
switch (e) {
|
|
512
512
|
case "\\\\":
|
|
513
513
|
return "\\";
|
|
@@ -521,10 +521,10 @@ function Ds(e, t, n) {
|
|
|
521
521
|
}
|
|
522
522
|
function ws(e = {}) {
|
|
523
523
|
const t = e.location !== !1, { onError: n } = e;
|
|
524
|
-
function s(i, f, y,
|
|
524
|
+
function s(i, f, y, b, ...S) {
|
|
525
525
|
const R = i.currentPosition();
|
|
526
|
-
if (R.offset +=
|
|
527
|
-
const m = t ?
|
|
526
|
+
if (R.offset += b, R.column += b, n) {
|
|
527
|
+
const m = t ? Mt(y, R) : null, L = bt(f, m, {
|
|
528
528
|
domain: Ss,
|
|
529
529
|
args: S
|
|
530
530
|
});
|
|
@@ -532,31 +532,31 @@ function ws(e = {}) {
|
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
function l(i, f, y) {
|
|
535
|
-
const
|
|
536
|
-
return t && (
|
|
535
|
+
const b = { type: i };
|
|
536
|
+
return t && (b.start = f, b.end = f, b.loc = { start: y, end: y }), b;
|
|
537
537
|
}
|
|
538
|
-
function a(i, f, y,
|
|
538
|
+
function a(i, f, y, b) {
|
|
539
539
|
t && (i.end = f, i.loc && (i.loc.end = y));
|
|
540
540
|
}
|
|
541
541
|
function c(i, f) {
|
|
542
|
-
const y = i.context(),
|
|
543
|
-
return
|
|
542
|
+
const y = i.context(), b = l(3, y.offset, y.startLoc);
|
|
543
|
+
return b.value = f, a(b, i.currentOffset(), i.currentPosition()), b;
|
|
544
544
|
}
|
|
545
545
|
function d(i, f) {
|
|
546
|
-
const y = i.context(), { lastOffset:
|
|
546
|
+
const y = i.context(), { lastOffset: b, lastStartLoc: S } = y, R = l(5, b, S);
|
|
547
547
|
return R.index = parseInt(f, 10), i.nextToken(), a(R, i.currentOffset(), i.currentPosition()), R;
|
|
548
548
|
}
|
|
549
549
|
function u(i, f) {
|
|
550
|
-
const y = i.context(), { lastOffset:
|
|
550
|
+
const y = i.context(), { lastOffset: b, lastStartLoc: S } = y, R = l(4, b, S);
|
|
551
551
|
return R.key = f, i.nextToken(), a(R, i.currentOffset(), i.currentPosition()), R;
|
|
552
552
|
}
|
|
553
|
-
function
|
|
554
|
-
const y = i.context(), { lastOffset:
|
|
555
|
-
return R.value = f.replace(
|
|
553
|
+
function h(i, f) {
|
|
554
|
+
const y = i.context(), { lastOffset: b, lastStartLoc: S } = y, R = l(9, b, S);
|
|
555
|
+
return R.value = f.replace(Ds, Ms), i.nextToken(), a(R, i.currentOffset(), i.currentPosition()), R;
|
|
556
556
|
}
|
|
557
557
|
function k(i) {
|
|
558
|
-
const f = i.nextToken(), y = i.context(), { lastOffset:
|
|
559
|
-
return f.type !== 11 ? (s(i, z.UNEXPECTED_EMPTY_LINKED_MODIFIER, y.lastStartLoc, 0), R.value = "", a(R,
|
|
558
|
+
const f = i.nextToken(), y = i.context(), { lastOffset: b, lastStartLoc: S } = y, R = l(8, b, S);
|
|
559
|
+
return f.type !== 11 ? (s(i, z.UNEXPECTED_EMPTY_LINKED_MODIFIER, y.lastStartLoc, 0), R.value = "", a(R, b, S), {
|
|
560
560
|
nextConsumeToken: f,
|
|
561
561
|
node: R
|
|
562
562
|
}) : (f.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, y.lastStartLoc, 0, ke(f)), R.value = f.value || "", a(R, i.currentOffset(), i.currentPosition()), {
|
|
@@ -564,34 +564,34 @@ function ws(e = {}) {
|
|
|
564
564
|
});
|
|
565
565
|
}
|
|
566
566
|
function T(i, f) {
|
|
567
|
-
const y = i.context(),
|
|
568
|
-
return
|
|
567
|
+
const y = i.context(), b = l(7, y.offset, y.startLoc);
|
|
568
|
+
return b.value = f, a(b, i.currentOffset(), i.currentPosition()), b;
|
|
569
569
|
}
|
|
570
|
-
function
|
|
570
|
+
function E(i) {
|
|
571
571
|
const f = i.context(), y = l(6, f.offset, f.startLoc);
|
|
572
|
-
let
|
|
573
|
-
if (
|
|
572
|
+
let b = i.nextToken();
|
|
573
|
+
if (b.type === 8) {
|
|
574
574
|
const S = k(i);
|
|
575
|
-
y.modifier = S.node,
|
|
575
|
+
y.modifier = S.node, b = S.nextConsumeToken || i.nextToken();
|
|
576
576
|
}
|
|
577
|
-
switch (
|
|
577
|
+
switch (b.type !== 9 && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(b)), b = i.nextToken(), b.type === 2 && (b = i.nextToken()), b.type) {
|
|
578
578
|
case 10:
|
|
579
|
-
|
|
579
|
+
b.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(b)), y.key = T(i, b.value || "");
|
|
580
580
|
break;
|
|
581
581
|
case 4:
|
|
582
|
-
|
|
582
|
+
b.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(b)), y.key = u(i, b.value || "");
|
|
583
583
|
break;
|
|
584
584
|
case 5:
|
|
585
|
-
|
|
585
|
+
b.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(b)), y.key = d(i, b.value || "");
|
|
586
586
|
break;
|
|
587
587
|
case 6:
|
|
588
|
-
|
|
588
|
+
b.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(b)), y.key = h(i, b.value || "");
|
|
589
589
|
break;
|
|
590
590
|
default: {
|
|
591
591
|
s(i, z.UNEXPECTED_EMPTY_LINKED_KEY, f.lastStartLoc, 0);
|
|
592
592
|
const S = i.context(), R = l(7, S.offset, S.startLoc);
|
|
593
593
|
return R.value = "", a(R, S.offset, S.startLoc), y.key = R, a(y, S.offset, S.startLoc), {
|
|
594
|
-
nextConsumeToken:
|
|
594
|
+
nextConsumeToken: b,
|
|
595
595
|
node: y
|
|
596
596
|
};
|
|
597
597
|
}
|
|
@@ -601,7 +601,7 @@ function ws(e = {}) {
|
|
|
601
601
|
};
|
|
602
602
|
}
|
|
603
603
|
function w(i) {
|
|
604
|
-
const f = i.context(), y = f.currentType === 1 ? i.currentOffset() : f.offset,
|
|
604
|
+
const f = i.context(), y = f.currentType === 1 ? i.currentOffset() : f.offset, b = f.currentType === 1 ? f.endLoc : f.startLoc, S = l(2, y, b);
|
|
605
605
|
S.items = [];
|
|
606
606
|
let R = null;
|
|
607
607
|
do {
|
|
@@ -617,10 +617,10 @@ function ws(e = {}) {
|
|
|
617
617
|
v.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(v)), S.items.push(u(i, v.value || ""));
|
|
618
618
|
break;
|
|
619
619
|
case 6:
|
|
620
|
-
v.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(v)), S.items.push(
|
|
620
|
+
v.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, f.lastStartLoc, 0, ke(v)), S.items.push(h(i, v.value || ""));
|
|
621
621
|
break;
|
|
622
622
|
case 7: {
|
|
623
|
-
const p =
|
|
623
|
+
const p = E(i);
|
|
624
624
|
S.items.push(p.node), R = p.nextConsumeToken || null;
|
|
625
625
|
break;
|
|
626
626
|
}
|
|
@@ -629,11 +629,11 @@ function ws(e = {}) {
|
|
|
629
629
|
const m = f.currentType === 1 ? f.lastOffset : i.currentOffset(), L = f.currentType === 1 ? f.lastEndLoc : i.currentPosition();
|
|
630
630
|
return a(S, m, L), S;
|
|
631
631
|
}
|
|
632
|
-
function W(i, f, y,
|
|
632
|
+
function W(i, f, y, b) {
|
|
633
633
|
const S = i.context();
|
|
634
|
-
let R =
|
|
634
|
+
let R = b.items.length === 0;
|
|
635
635
|
const m = l(1, f, y);
|
|
636
|
-
m.cases = [], m.cases.push(
|
|
636
|
+
m.cases = [], m.cases.push(b);
|
|
637
637
|
do {
|
|
638
638
|
const L = w(i);
|
|
639
639
|
R || (R = L.items.length === 0), m.cases.push(L);
|
|
@@ -641,12 +641,12 @@ function ws(e = {}) {
|
|
|
641
641
|
return R && s(i, z.MUST_HAVE_MESSAGES_IN_PLURAL, y, 0), a(m, i.currentOffset(), i.currentPosition()), m;
|
|
642
642
|
}
|
|
643
643
|
function N(i) {
|
|
644
|
-
const f = i.context(), { offset: y, startLoc:
|
|
645
|
-
return f.currentType === 13 ? S : W(i, y,
|
|
644
|
+
const f = i.context(), { offset: y, startLoc: b } = f, S = w(i);
|
|
645
|
+
return f.currentType === 13 ? S : W(i, y, b, S);
|
|
646
646
|
}
|
|
647
647
|
function A(i) {
|
|
648
|
-
const f = As(i, me({}, e)), y = f.context(),
|
|
649
|
-
return t &&
|
|
648
|
+
const f = As(i, me({}, e)), y = f.context(), b = l(0, y.offset, y.startLoc);
|
|
649
|
+
return t && b.loc && (b.loc.source = i), b.body = N(f), e.onCacheKey && (b.cacheKey = e.onCacheKey(i)), y.currentType !== 13 && s(f, z.UNEXPECTED_LEXICAL_ANALYSIS, y.lastStartLoc, 0, i[y.offset] || ""), a(b, f.currentOffset(), f.currentPosition()), b;
|
|
650
650
|
}
|
|
651
651
|
return { parse: A };
|
|
652
652
|
}
|
|
@@ -734,7 +734,7 @@ function rn(e) {
|
|
|
734
734
|
t.push(s.value);
|
|
735
735
|
}
|
|
736
736
|
if (t.length === e.items.length) {
|
|
737
|
-
e.static =
|
|
737
|
+
e.static = Yt(t);
|
|
738
738
|
for (let n = 0; n < e.items.length; n++) {
|
|
739
739
|
const s = e.items[n];
|
|
740
740
|
(s.type === 3 || s.type === 9) && delete s.value;
|
|
@@ -806,27 +806,27 @@ function Us(e, t) {
|
|
|
806
806
|
function u(N, A) {
|
|
807
807
|
c.code += N;
|
|
808
808
|
}
|
|
809
|
-
function
|
|
809
|
+
function h(N, A = !0) {
|
|
810
810
|
const i = A ? s : "";
|
|
811
811
|
u(l ? i + " ".repeat(N) : i);
|
|
812
812
|
}
|
|
813
813
|
function k(N = !0) {
|
|
814
814
|
const A = ++c.indentLevel;
|
|
815
|
-
N &&
|
|
815
|
+
N && h(A);
|
|
816
816
|
}
|
|
817
817
|
function T(N = !0) {
|
|
818
818
|
const A = --c.indentLevel;
|
|
819
|
-
N &&
|
|
819
|
+
N && h(A);
|
|
820
820
|
}
|
|
821
|
-
function
|
|
822
|
-
|
|
821
|
+
function E() {
|
|
822
|
+
h(c.indentLevel);
|
|
823
823
|
}
|
|
824
824
|
return {
|
|
825
825
|
context: d,
|
|
826
826
|
push: u,
|
|
827
827
|
indent: k,
|
|
828
828
|
deindent: T,
|
|
829
|
-
newline:
|
|
829
|
+
newline: E,
|
|
830
830
|
helper: (N) => `_${N}`,
|
|
831
831
|
needIndent: () => c.needIndent
|
|
832
832
|
};
|
|
@@ -836,7 +836,7 @@ function Vs(e, t) {
|
|
|
836
836
|
e.push(`${n(
|
|
837
837
|
"linked"
|
|
838
838
|
/* HelperNameMap.LINKED */
|
|
839
|
-
)}(`),
|
|
839
|
+
)}(`), Ye(e, t.key), t.modifier ? (e.push(", "), Ye(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
|
|
840
840
|
}
|
|
841
841
|
function Ws(e, t) {
|
|
842
842
|
const { helper: n, needIndent: s } = e;
|
|
@@ -845,7 +845,7 @@ function Ws(e, t) {
|
|
|
845
845
|
/* HelperNameMap.NORMALIZE */
|
|
846
846
|
)}([`), e.indent(s());
|
|
847
847
|
const l = t.items.length;
|
|
848
|
-
for (let a = 0; a < l && (
|
|
848
|
+
for (let a = 0; a < l && (Ye(e, t.items[a]), a !== l - 1); a++)
|
|
849
849
|
e.push(", ");
|
|
850
850
|
e.deindent(s()), e.push("])");
|
|
851
851
|
}
|
|
@@ -857,15 +857,15 @@ function Gs(e, t) {
|
|
|
857
857
|
/* HelperNameMap.PLURAL */
|
|
858
858
|
)}([`), e.indent(s());
|
|
859
859
|
const l = t.cases.length;
|
|
860
|
-
for (let a = 0; a < l && (
|
|
860
|
+
for (let a = 0; a < l && (Ye(e, t.cases[a]), a !== l - 1); a++)
|
|
861
861
|
e.push(", ");
|
|
862
862
|
e.deindent(s()), e.push("])");
|
|
863
863
|
}
|
|
864
864
|
}
|
|
865
865
|
function xs(e, t) {
|
|
866
|
-
t.body ?
|
|
866
|
+
t.body ? Ye(e, t.body) : e.push("null");
|
|
867
867
|
}
|
|
868
|
-
function
|
|
868
|
+
function Ye(e, t) {
|
|
869
869
|
const { helper: n } = e;
|
|
870
870
|
switch (t.type) {
|
|
871
871
|
case 0:
|
|
@@ -921,20 +921,20 @@ const Xs = (e, t = {}) => {
|
|
|
921
921
|
breakLineCode: l,
|
|
922
922
|
needIndent: a
|
|
923
923
|
});
|
|
924
|
-
d.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), d.indent(a), c.length > 0 && (d.push(`const { ${
|
|
925
|
-
const { code: u, map:
|
|
924
|
+
d.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), d.indent(a), c.length > 0 && (d.push(`const { ${Yt(c.map((k) => `${k}: _${k}`), ", ")} } = ctx`), d.newline()), d.push("return "), Ye(d, e), d.deindent(a), d.push("}"), delete e.helpers;
|
|
925
|
+
const { code: u, map: h } = d.context();
|
|
926
926
|
return {
|
|
927
927
|
ast: e,
|
|
928
928
|
code: u,
|
|
929
|
-
map:
|
|
929
|
+
map: h ? h.toJSON() : void 0
|
|
930
930
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
931
931
|
};
|
|
932
932
|
};
|
|
933
|
-
function
|
|
933
|
+
function Zs(e, t = {}) {
|
|
934
934
|
const n = me({}, t), s = !!n.jit, l = !!n.minify, a = n.optimize == null ? !0 : n.optimize, d = ws(n).parse(e);
|
|
935
935
|
return s ? (a && js(d), l && Xe(d), { ast: d, code: "" }) : (Fs(d, n), Xs(d, n));
|
|
936
936
|
}
|
|
937
|
-
var
|
|
937
|
+
var Ys = { env: { NODE_ENV: "production" } };
|
|
938
938
|
function Bs() {
|
|
939
939
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (je().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (je().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
940
940
|
}
|
|
@@ -959,11 +959,11 @@ function Hs(e, t) {
|
|
|
959
959
|
}
|
|
960
960
|
const Js = ["b", "body"];
|
|
961
961
|
function $s(e) {
|
|
962
|
-
return
|
|
962
|
+
return De(e, Js);
|
|
963
963
|
}
|
|
964
964
|
const zs = ["c", "cases"];
|
|
965
965
|
function Ks(e) {
|
|
966
|
-
return
|
|
966
|
+
return De(e, zs, []);
|
|
967
967
|
}
|
|
968
968
|
function ln(e, t) {
|
|
969
969
|
const n = qs(t);
|
|
@@ -976,11 +976,11 @@ function ln(e, t) {
|
|
|
976
976
|
}
|
|
977
977
|
const Qs = ["s", "static"];
|
|
978
978
|
function qs(e) {
|
|
979
|
-
return
|
|
979
|
+
return De(e, Qs);
|
|
980
980
|
}
|
|
981
981
|
const ea = ["i", "items"];
|
|
982
982
|
function ta(e) {
|
|
983
|
-
return
|
|
983
|
+
return De(e, ea, []);
|
|
984
984
|
}
|
|
985
985
|
function wt(e, t) {
|
|
986
986
|
const n = Ht(t);
|
|
@@ -1019,22 +1019,22 @@ function wt(e, t) {
|
|
|
1019
1019
|
}
|
|
1020
1020
|
const na = ["t", "type"];
|
|
1021
1021
|
function Ht(e) {
|
|
1022
|
-
return
|
|
1022
|
+
return De(e, na);
|
|
1023
1023
|
}
|
|
1024
1024
|
const sa = ["v", "value"];
|
|
1025
1025
|
function lt(e, t) {
|
|
1026
|
-
const n =
|
|
1026
|
+
const n = De(e, sa);
|
|
1027
1027
|
if (n)
|
|
1028
1028
|
return n;
|
|
1029
1029
|
throw et(t);
|
|
1030
1030
|
}
|
|
1031
1031
|
const aa = ["m", "modifier"];
|
|
1032
1032
|
function ra(e) {
|
|
1033
|
-
return
|
|
1033
|
+
return De(e, aa);
|
|
1034
1034
|
}
|
|
1035
1035
|
const la = ["k", "key"];
|
|
1036
1036
|
function oa(e) {
|
|
1037
|
-
const t =
|
|
1037
|
+
const t = De(e, la);
|
|
1038
1038
|
if (t)
|
|
1039
1039
|
return t;
|
|
1040
1040
|
throw et(
|
|
@@ -1042,7 +1042,7 @@ function oa(e) {
|
|
|
1042
1042
|
/* NodeTypes.Linked */
|
|
1043
1043
|
);
|
|
1044
1044
|
}
|
|
1045
|
-
function
|
|
1045
|
+
function De(e, t, n) {
|
|
1046
1046
|
for (let s = 0; s < t.length; s++) {
|
|
1047
1047
|
const l = t[s];
|
|
1048
1048
|
if (ye(e, l) && e[l] != null)
|
|
@@ -1063,7 +1063,7 @@ function ca(e, t = {}) {
|
|
|
1063
1063
|
const s = t.onError || Ns;
|
|
1064
1064
|
return t.onError = (l) => {
|
|
1065
1065
|
n = !0, s(l);
|
|
1066
|
-
}, { ...
|
|
1066
|
+
}, { ...Zs(e, t), detectError: n };
|
|
1067
1067
|
}
|
|
1068
1068
|
// @__NO_SIDE_EFFECTS__
|
|
1069
1069
|
function ua(e, t) {
|
|
@@ -1074,7 +1074,7 @@ function ua(e, t) {
|
|
|
1074
1074
|
return l;
|
|
1075
1075
|
const { ast: a, detectError: c } = ca(e, {
|
|
1076
1076
|
...t,
|
|
1077
|
-
location:
|
|
1077
|
+
location: Ys.env.NODE_ENV !== "production",
|
|
1078
1078
|
jit: !0
|
|
1079
1079
|
}), d = Ot(a);
|
|
1080
1080
|
return c ? d : ot[s] = d;
|
|
@@ -1113,7 +1113,7 @@ const Le = {
|
|
|
1113
1113
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
1114
1114
|
}, pa = 24;
|
|
1115
1115
|
function Ce(e) {
|
|
1116
|
-
return
|
|
1116
|
+
return bt(e, null, void 0);
|
|
1117
1117
|
}
|
|
1118
1118
|
function Jt(e, t) {
|
|
1119
1119
|
return t.locale != null ? on(t.locale) : on(e.locale);
|
|
@@ -1135,13 +1135,13 @@ function on(e) {
|
|
|
1135
1135
|
} else
|
|
1136
1136
|
throw Ce(Le.NOT_SUPPORT_LOCALE_TYPE);
|
|
1137
1137
|
}
|
|
1138
|
-
function
|
|
1138
|
+
function ba(e, t, n) {
|
|
1139
1139
|
return [.../* @__PURE__ */ new Set([
|
|
1140
1140
|
n,
|
|
1141
1141
|
...ie(t) ? t : $(t) ? Object.keys(t) : P(t) ? [t] : [n]
|
|
1142
1142
|
])];
|
|
1143
1143
|
}
|
|
1144
|
-
function
|
|
1144
|
+
function Mn(e, t, n) {
|
|
1145
1145
|
const s = P(n) ? n : ft, l = e;
|
|
1146
1146
|
l.__localeChainCache || (l.__localeChainCache = /* @__PURE__ */ new Map());
|
|
1147
1147
|
let a = l.__localeChainCache.get(s);
|
|
@@ -1159,11 +1159,11 @@ function cn(e, t, n) {
|
|
|
1159
1159
|
let s = !0;
|
|
1160
1160
|
for (let l = 0; l < t.length && oe(s); l++) {
|
|
1161
1161
|
const a = t[l];
|
|
1162
|
-
P(a) && (s =
|
|
1162
|
+
P(a) && (s = ha(e, t[l], n));
|
|
1163
1163
|
}
|
|
1164
1164
|
return s;
|
|
1165
1165
|
}
|
|
1166
|
-
function
|
|
1166
|
+
function ha(e, t, n) {
|
|
1167
1167
|
let s;
|
|
1168
1168
|
const l = t.split("-");
|
|
1169
1169
|
do {
|
|
@@ -1181,8 +1181,8 @@ function ga(e, t, n) {
|
|
|
1181
1181
|
}
|
|
1182
1182
|
return s;
|
|
1183
1183
|
}
|
|
1184
|
-
const
|
|
1185
|
-
|
|
1184
|
+
const Me = [];
|
|
1185
|
+
Me[
|
|
1186
1186
|
0
|
|
1187
1187
|
/* States.BEFORE_PATH */
|
|
1188
1188
|
] = {
|
|
@@ -1204,7 +1204,7 @@ De[
|
|
|
1204
1204
|
/* States.AFTER_PATH */
|
|
1205
1205
|
]
|
|
1206
1206
|
};
|
|
1207
|
-
|
|
1207
|
+
Me[
|
|
1208
1208
|
1
|
|
1209
1209
|
/* States.IN_PATH */
|
|
1210
1210
|
] = {
|
|
@@ -1225,7 +1225,7 @@ De[
|
|
|
1225
1225
|
/* States.AFTER_PATH */
|
|
1226
1226
|
]
|
|
1227
1227
|
};
|
|
1228
|
-
|
|
1228
|
+
Me[
|
|
1229
1229
|
2
|
|
1230
1230
|
/* States.BEFORE_IDENT */
|
|
1231
1231
|
] = {
|
|
@@ -1244,7 +1244,7 @@ De[
|
|
|
1244
1244
|
/* Actions.APPEND */
|
|
1245
1245
|
]
|
|
1246
1246
|
};
|
|
1247
|
-
|
|
1247
|
+
Me[
|
|
1248
1248
|
3
|
|
1249
1249
|
/* States.IN_IDENT */
|
|
1250
1250
|
] = {
|
|
@@ -1279,7 +1279,7 @@ De[
|
|
|
1279
1279
|
/* Actions.PUSH */
|
|
1280
1280
|
]
|
|
1281
1281
|
};
|
|
1282
|
-
|
|
1282
|
+
Me[
|
|
1283
1283
|
4
|
|
1284
1284
|
/* States.IN_SUB_PATH */
|
|
1285
1285
|
] = {
|
|
@@ -1310,7 +1310,7 @@ De[
|
|
|
1310
1310
|
/* Actions.APPEND */
|
|
1311
1311
|
]
|
|
1312
1312
|
};
|
|
1313
|
-
|
|
1313
|
+
Me[
|
|
1314
1314
|
5
|
|
1315
1315
|
/* States.IN_SINGLE_QUOTE */
|
|
1316
1316
|
] = {
|
|
@@ -1326,7 +1326,7 @@ De[
|
|
|
1326
1326
|
/* Actions.APPEND */
|
|
1327
1327
|
]
|
|
1328
1328
|
};
|
|
1329
|
-
|
|
1329
|
+
Me[
|
|
1330
1330
|
6
|
|
1331
1331
|
/* States.IN_DOUBLE_QUOTE */
|
|
1332
1332
|
] = {
|
|
@@ -1343,10 +1343,10 @@ De[
|
|
|
1343
1343
|
]
|
|
1344
1344
|
};
|
|
1345
1345
|
const va = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
|
1346
|
-
function
|
|
1346
|
+
function Ia(e) {
|
|
1347
1347
|
return va.test(e);
|
|
1348
1348
|
}
|
|
1349
|
-
function
|
|
1349
|
+
function Ea(e) {
|
|
1350
1350
|
const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
|
|
1351
1351
|
return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
|
|
1352
1352
|
}
|
|
@@ -1377,43 +1377,43 @@ function ya(e) {
|
|
|
1377
1377
|
}
|
|
1378
1378
|
function Na(e) {
|
|
1379
1379
|
const t = e.trim();
|
|
1380
|
-
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 :
|
|
1380
|
+
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Ia(t) ? Ea(t) : "*" + t;
|
|
1381
1381
|
}
|
|
1382
1382
|
function ka(e) {
|
|
1383
1383
|
const t = [];
|
|
1384
|
-
let n = -1, s = 0, l = 0, a, c, d, u,
|
|
1385
|
-
const
|
|
1386
|
-
|
|
1384
|
+
let n = -1, s = 0, l = 0, a, c, d, u, h, k, T;
|
|
1385
|
+
const E = [];
|
|
1386
|
+
E[
|
|
1387
1387
|
0
|
|
1388
1388
|
/* Actions.APPEND */
|
|
1389
1389
|
] = () => {
|
|
1390
1390
|
c === void 0 ? c = d : c += d;
|
|
1391
|
-
},
|
|
1391
|
+
}, E[
|
|
1392
1392
|
1
|
|
1393
1393
|
/* Actions.PUSH */
|
|
1394
1394
|
] = () => {
|
|
1395
1395
|
c !== void 0 && (t.push(c), c = void 0);
|
|
1396
|
-
},
|
|
1396
|
+
}, E[
|
|
1397
1397
|
2
|
|
1398
1398
|
/* Actions.INC_SUB_PATH_DEPTH */
|
|
1399
1399
|
] = () => {
|
|
1400
|
-
|
|
1400
|
+
E[
|
|
1401
1401
|
0
|
|
1402
1402
|
/* Actions.APPEND */
|
|
1403
1403
|
](), l++;
|
|
1404
|
-
},
|
|
1404
|
+
}, E[
|
|
1405
1405
|
3
|
|
1406
1406
|
/* Actions.PUSH_SUB_PATH */
|
|
1407
1407
|
] = () => {
|
|
1408
1408
|
if (l > 0)
|
|
1409
|
-
l--, s = 4,
|
|
1409
|
+
l--, s = 4, E[
|
|
1410
1410
|
0
|
|
1411
1411
|
/* Actions.APPEND */
|
|
1412
1412
|
]();
|
|
1413
1413
|
else {
|
|
1414
1414
|
if (l = 0, c === void 0 || (c = Na(c), c === !1))
|
|
1415
1415
|
return !1;
|
|
1416
|
-
|
|
1416
|
+
E[
|
|
1417
1417
|
1
|
|
1418
1418
|
/* Actions.PUSH */
|
|
1419
1419
|
]();
|
|
@@ -1422,14 +1422,14 @@ function ka(e) {
|
|
|
1422
1422
|
function w() {
|
|
1423
1423
|
const W = e[n + 1];
|
|
1424
1424
|
if (s === 5 && W === "'" || s === 6 && W === '"')
|
|
1425
|
-
return n++, d = "\\" + W,
|
|
1425
|
+
return n++, d = "\\" + W, E[
|
|
1426
1426
|
0
|
|
1427
1427
|
/* Actions.APPEND */
|
|
1428
1428
|
](), !0;
|
|
1429
1429
|
}
|
|
1430
1430
|
for (; s !== null; )
|
|
1431
1431
|
if (n++, a = e[n], !(a === "\\" && w())) {
|
|
1432
|
-
if (u = ya(a), T =
|
|
1432
|
+
if (u = ya(a), T = Me[s], h = T[u] || T.l || 8, h === 8 || (s = h[0], h[1] !== void 0 && (k = E[h[1]], k && (d = a, k() === !1))))
|
|
1433
1433
|
return;
|
|
1434
1434
|
if (s === 7)
|
|
1435
1435
|
return t;
|
|
@@ -1455,7 +1455,7 @@ function Oa(e, t) {
|
|
|
1455
1455
|
}
|
|
1456
1456
|
return l;
|
|
1457
1457
|
}
|
|
1458
|
-
const La = "10.0.5",
|
|
1458
|
+
const La = "10.0.5", ht = -1, ft = "en-US", mn = "", dn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1459
1459
|
function Ca() {
|
|
1460
1460
|
return {
|
|
1461
1461
|
upper: (e, t) => t === "text" && P(e) ? e.toUpperCase() : t === "vnode" && $(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
@@ -1476,16 +1476,16 @@ function Sa(e) {
|
|
|
1476
1476
|
Fn = e;
|
|
1477
1477
|
}
|
|
1478
1478
|
let jn = null;
|
|
1479
|
-
const
|
|
1479
|
+
const Da = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
1480
1480
|
jn = e;
|
|
1481
|
-
},
|
|
1481
|
+
}, Ma = /* @__NO_SIDE_EFFECTS__ */ () => jn;
|
|
1482
1482
|
let Un = null;
|
|
1483
1483
|
const fn = (e) => {
|
|
1484
1484
|
Un = e;
|
|
1485
1485
|
}, wa = () => Un;
|
|
1486
1486
|
let _n = 0;
|
|
1487
1487
|
function Pa(e = {}) {
|
|
1488
|
-
const t = se(e.onWarn) ? e.onWarn :
|
|
1488
|
+
const t = se(e.onWarn) ? e.onWarn : Is, n = P(e.version) ? e.version : La, s = P(e.locale) || se(e.locale) ? e.locale : ft, l = se(s) ? ft : s, a = ie(e.fallbackLocale) || J(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = J(e.messages) ? e.messages : Ct(l), d = J(e.datetimeFormats) ? e.datetimeFormats : Ct(l), u = J(e.numberFormats) ? e.numberFormats : Ct(l), h = me(K(), e.modifiers, Ca()), k = e.pluralRules || K(), T = se(e.missing) ? e.missing : null, E = oe(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, w = oe(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, W = !!e.fallbackFormat, N = !!e.unresolving, A = se(e.postTranslation) ? e.postTranslation : null, i = J(e.processor) ? e.processor : null, f = oe(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter, b = se(e.messageCompiler) ? e.messageCompiler : wn, S = se(e.messageResolver) ? e.messageResolver : Pn || Ta, R = se(e.localeFallbacker) ? e.localeFallbacker : Fn || ba, m = $(e.fallbackContext) ? e.fallbackContext : void 0, L = e, v = $(L.__datetimeFormatters) ? L.__datetimeFormatters : /* @__PURE__ */ new Map(), p = $(L.__numberFormatters) ? L.__numberFormatters : /* @__PURE__ */ new Map(), M = $(L.__meta) ? L.__meta : {};
|
|
1489
1489
|
_n++;
|
|
1490
1490
|
const F = {
|
|
1491
1491
|
version: n,
|
|
@@ -1493,10 +1493,10 @@ function Pa(e = {}) {
|
|
|
1493
1493
|
locale: s,
|
|
1494
1494
|
fallbackLocale: a,
|
|
1495
1495
|
messages: c,
|
|
1496
|
-
modifiers:
|
|
1496
|
+
modifiers: h,
|
|
1497
1497
|
pluralRules: k,
|
|
1498
1498
|
missing: T,
|
|
1499
|
-
missingWarn:
|
|
1499
|
+
missingWarn: E,
|
|
1500
1500
|
fallbackWarn: w,
|
|
1501
1501
|
fallbackFormat: W,
|
|
1502
1502
|
unresolving: N,
|
|
@@ -1504,14 +1504,14 @@ function Pa(e = {}) {
|
|
|
1504
1504
|
processor: i,
|
|
1505
1505
|
warnHtmlMessage: f,
|
|
1506
1506
|
escapeParameter: y,
|
|
1507
|
-
messageCompiler:
|
|
1507
|
+
messageCompiler: b,
|
|
1508
1508
|
messageResolver: S,
|
|
1509
1509
|
localeFallbacker: R,
|
|
1510
1510
|
fallbackContext: m,
|
|
1511
1511
|
onWarn: t,
|
|
1512
|
-
__meta:
|
|
1512
|
+
__meta: M
|
|
1513
1513
|
};
|
|
1514
|
-
return F.datetimeFormats = d, F.numberFormats = u, F.__datetimeFormatters = v, F.__numberFormatters = p, __INTLIFY_PROD_DEVTOOLS__ && da(F, n,
|
|
1514
|
+
return F.datetimeFormats = d, F.numberFormats = u, F.__datetimeFormatters = v, F.__numberFormatters = p, __INTLIFY_PROD_DEVTOOLS__ && da(F, n, M), F;
|
|
1515
1515
|
}
|
|
1516
1516
|
const Ct = (e) => ({ [e]: K() });
|
|
1517
1517
|
function $t(e, t, n, s, l) {
|
|
@@ -1539,7 +1539,7 @@ function ja(e, t) {
|
|
|
1539
1539
|
return !1;
|
|
1540
1540
|
}
|
|
1541
1541
|
function pn(e, ...t) {
|
|
1542
|
-
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __datetimeFormatters: d } = e, [u,
|
|
1542
|
+
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __datetimeFormatters: d } = e, [u, h, k, T] = Pt(...t), E = oe(k.missingWarn) ? k.missingWarn : e.missingWarn;
|
|
1543
1543
|
oe(k.fallbackWarn) ? k.fallbackWarn : e.fallbackWarn;
|
|
1544
1544
|
const w = !!k.part, W = Jt(e, k), N = c(
|
|
1545
1545
|
e,
|
|
@@ -1548,17 +1548,17 @@ function pn(e, ...t) {
|
|
|
1548
1548
|
W
|
|
1549
1549
|
);
|
|
1550
1550
|
if (!P(u) || u === "")
|
|
1551
|
-
return new Intl.DateTimeFormat(W, T).format(
|
|
1551
|
+
return new Intl.DateTimeFormat(W, T).format(h);
|
|
1552
1552
|
let A = {}, i, f = null;
|
|
1553
1553
|
const y = "datetime format";
|
|
1554
1554
|
for (let R = 0; R < N.length && (i = N[R], A = n[i] || {}, f = A[u], !J(f)); R++)
|
|
1555
|
-
$t(e, u, i,
|
|
1555
|
+
$t(e, u, i, E, y);
|
|
1556
1556
|
if (!J(f) || !P(i))
|
|
1557
|
-
return s ?
|
|
1558
|
-
let
|
|
1559
|
-
pt(T) || (
|
|
1560
|
-
let S = d.get(
|
|
1561
|
-
return S || (S = new Intl.DateTimeFormat(i, me({}, f, T)), d.set(
|
|
1557
|
+
return s ? ht : u;
|
|
1558
|
+
let b = `${i}__${u}`;
|
|
1559
|
+
pt(T) || (b = `${b}__${JSON.stringify(T)}`);
|
|
1560
|
+
let S = d.get(b);
|
|
1561
|
+
return S || (S = new Intl.DateTimeFormat(i, me({}, f, T)), d.set(b, S)), w ? S.formatToParts(h) : S.format(h);
|
|
1562
1562
|
}
|
|
1563
1563
|
const Vn = [
|
|
1564
1564
|
"localeMatcher",
|
|
@@ -1589,8 +1589,8 @@ function Pt(...e) {
|
|
|
1589
1589
|
const u = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
1590
1590
|
if (!u)
|
|
1591
1591
|
throw Ce(Le.INVALID_ISO_DATE_ARGUMENT);
|
|
1592
|
-
const
|
|
1593
|
-
d = new Date(
|
|
1592
|
+
const h = u[3] ? u[3].trim().startsWith("T") ? `${u[1].trim()}${u[3].trim()}` : `${u[1].trim()}T${u[3].trim()}` : u[1].trim();
|
|
1593
|
+
d = new Date(h);
|
|
1594
1594
|
try {
|
|
1595
1595
|
d.toISOString();
|
|
1596
1596
|
} catch {
|
|
@@ -1608,15 +1608,15 @@ function Pt(...e) {
|
|
|
1608
1608
|
Vn.includes(u) ? c[u] = n[u] : a[u] = n[u];
|
|
1609
1609
|
}), P(s) ? a.locale = s : J(s) && (c = s), J(l) && (c = l), [a.key || "", d, a, c];
|
|
1610
1610
|
}
|
|
1611
|
-
function
|
|
1611
|
+
function bn(e, t, n) {
|
|
1612
1612
|
const s = e;
|
|
1613
1613
|
for (const l in n) {
|
|
1614
1614
|
const a = `${t}__${l}`;
|
|
1615
1615
|
s.__datetimeFormatters.has(a) && s.__datetimeFormatters.delete(a);
|
|
1616
1616
|
}
|
|
1617
1617
|
}
|
|
1618
|
-
function
|
|
1619
|
-
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __numberFormatters: d } = e, [u,
|
|
1618
|
+
function hn(e, ...t) {
|
|
1619
|
+
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __numberFormatters: d } = e, [u, h, k, T] = Ft(...t), E = oe(k.missingWarn) ? k.missingWarn : e.missingWarn;
|
|
1620
1620
|
oe(k.fallbackWarn) ? k.fallbackWarn : e.fallbackWarn;
|
|
1621
1621
|
const w = !!k.part, W = Jt(e, k), N = c(
|
|
1622
1622
|
e,
|
|
@@ -1625,17 +1625,17 @@ function bn(e, ...t) {
|
|
|
1625
1625
|
W
|
|
1626
1626
|
);
|
|
1627
1627
|
if (!P(u) || u === "")
|
|
1628
|
-
return new Intl.NumberFormat(W, T).format(
|
|
1628
|
+
return new Intl.NumberFormat(W, T).format(h);
|
|
1629
1629
|
let A = {}, i, f = null;
|
|
1630
1630
|
const y = "number format";
|
|
1631
1631
|
for (let R = 0; R < N.length && (i = N[R], A = n[i] || {}, f = A[u], !J(f)); R++)
|
|
1632
|
-
$t(e, u, i,
|
|
1632
|
+
$t(e, u, i, E, y);
|
|
1633
1633
|
if (!J(f) || !P(i))
|
|
1634
|
-
return s ?
|
|
1635
|
-
let
|
|
1636
|
-
pt(T) || (
|
|
1637
|
-
let S = d.get(
|
|
1638
|
-
return S || (S = new Intl.NumberFormat(i, me({}, f, T)), d.set(
|
|
1634
|
+
return s ? ht : u;
|
|
1635
|
+
let b = `${i}__${u}`;
|
|
1636
|
+
pt(T) || (b = `${b}__${JSON.stringify(T)}`);
|
|
1637
|
+
let S = d.get(b);
|
|
1638
|
+
return S || (S = new Intl.NumberFormat(i, me({}, f, T)), d.set(b, S)), w ? S.formatToParts(h) : S.format(h);
|
|
1639
1639
|
}
|
|
1640
1640
|
const Wn = [
|
|
1641
1641
|
"localeMatcher",
|
|
@@ -1676,7 +1676,7 @@ function gn(e, t, n) {
|
|
|
1676
1676
|
s.__numberFormatters.has(a) && s.__numberFormatters.delete(a);
|
|
1677
1677
|
}
|
|
1678
1678
|
}
|
|
1679
|
-
const Ua = (e) => e, Va = (e) => "", Wa = "text", Ga = (e) => e.length === 0 ? "" :
|
|
1679
|
+
const Ua = (e) => e, Va = (e) => "", Wa = "text", Ga = (e) => e.length === 0 ? "" : Yt(e), xa = vs;
|
|
1680
1680
|
function vn(e, t) {
|
|
1681
1681
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1682
1682
|
}
|
|
@@ -1684,25 +1684,25 @@ function Xa(e) {
|
|
|
1684
1684
|
const t = ue(e.pluralIndex) ? e.pluralIndex : -1;
|
|
1685
1685
|
return e.named && (ue(e.named.count) || ue(e.named.n)) ? ue(e.named.count) ? e.named.count : ue(e.named.n) ? e.named.n : t : t;
|
|
1686
1686
|
}
|
|
1687
|
-
function
|
|
1687
|
+
function Za(e, t) {
|
|
1688
1688
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1689
1689
|
}
|
|
1690
|
-
function
|
|
1690
|
+
function Ya(e = {}) {
|
|
1691
1691
|
const t = e.locale, n = Xa(e), s = $(e.pluralRules) && P(t) && se(e.pluralRules[t]) ? e.pluralRules[t] : vn, l = $(e.pluralRules) && P(t) && se(e.pluralRules[t]) ? vn : void 0, a = (i) => i[s(n, i.length, l)], c = e.list || [], d = (i) => c[i], u = e.named || K();
|
|
1692
|
-
ue(e.pluralIndex) &&
|
|
1693
|
-
const
|
|
1692
|
+
ue(e.pluralIndex) && Za(n, u);
|
|
1693
|
+
const h = (i) => u[i];
|
|
1694
1694
|
function k(i, f) {
|
|
1695
1695
|
const y = se(e.messages) ? e.messages(i, !!f) : $(e.messages) ? e.messages[i] : !1;
|
|
1696
1696
|
return y || (e.parent ? e.parent.message(i) : Va);
|
|
1697
1697
|
}
|
|
1698
|
-
const T = (i) => e.modifiers ? e.modifiers[i] : Ua,
|
|
1698
|
+
const T = (i) => e.modifiers ? e.modifiers[i] : Ua, E = J(e.processor) && se(e.processor.normalize) ? e.processor.normalize : Ga, w = J(e.processor) && se(e.processor.interpolate) ? e.processor.interpolate : xa, W = J(e.processor) && P(e.processor.type) ? e.processor.type : Wa, A = {
|
|
1699
1699
|
list: d,
|
|
1700
|
-
named:
|
|
1700
|
+
named: h,
|
|
1701
1701
|
plural: a,
|
|
1702
1702
|
linked: (i, ...f) => {
|
|
1703
|
-
const [y,
|
|
1703
|
+
const [y, b] = f;
|
|
1704
1704
|
let S = "text", R = "";
|
|
1705
|
-
f.length === 1 ? $(y) ? (R = y.modifier || R, S = y.type || S) : P(y) && (R = y || R) : f.length === 2 && (P(y) && (R = y || R), P(
|
|
1705
|
+
f.length === 1 ? $(y) ? (R = y.modifier || R, S = y.type || S) : P(y) && (R = y || R) : f.length === 2 && (P(y) && (R = y || R), P(b) && (S = b || S));
|
|
1706
1706
|
const m = k(i, !0)(A), L = (
|
|
1707
1707
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1708
1708
|
S === "vnode" && ie(m) && R ? m[0] : m
|
|
@@ -1712,38 +1712,38 @@ function Za(e = {}) {
|
|
|
1712
1712
|
message: k,
|
|
1713
1713
|
type: W,
|
|
1714
1714
|
interpolate: w,
|
|
1715
|
-
normalize:
|
|
1715
|
+
normalize: E,
|
|
1716
1716
|
values: me(K(), c, u)
|
|
1717
1717
|
};
|
|
1718
1718
|
return A;
|
|
1719
1719
|
}
|
|
1720
|
-
const
|
|
1721
|
-
function
|
|
1722
|
-
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: d } = e, [u,
|
|
1723
|
-
|
|
1720
|
+
const In = () => "", ge = (e) => se(e);
|
|
1721
|
+
function En(e, ...t) {
|
|
1722
|
+
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: d } = e, [u, h] = jt(...t), k = oe(h.missingWarn) ? h.missingWarn : e.missingWarn, T = oe(h.fallbackWarn) ? h.fallbackWarn : e.fallbackWarn, E = oe(h.escapeParameter) ? h.escapeParameter : e.escapeParameter, w = !!h.resolvedMessage, W = P(h.default) || oe(h.default) ? oe(h.default) ? a ? u : () => u : h.default : n ? a ? u : () => u : null, N = n || W != null && (P(W) || se(W)), A = Jt(e, h);
|
|
1723
|
+
E && Ba(h);
|
|
1724
1724
|
let [i, f, y] = w ? [
|
|
1725
1725
|
u,
|
|
1726
1726
|
A,
|
|
1727
1727
|
d[A] || K()
|
|
1728
|
-
] : Gn(e, u, A, c, T, k),
|
|
1729
|
-
if (!w && !(P(
|
|
1730
|
-
return l ?
|
|
1728
|
+
] : Gn(e, u, A, c, T, k), b = i, S = u;
|
|
1729
|
+
if (!w && !(P(b) || Be(b) || ge(b)) && N && (b = W, S = b), !w && (!(P(b) || Be(b) || ge(b)) || !P(f)))
|
|
1730
|
+
return l ? ht : u;
|
|
1731
1731
|
let R = !1;
|
|
1732
1732
|
const m = () => {
|
|
1733
1733
|
R = !0;
|
|
1734
|
-
}, L = ge(
|
|
1734
|
+
}, L = ge(b) ? b : xn(e, u, f, b, S, m);
|
|
1735
1735
|
if (R)
|
|
1736
|
-
return
|
|
1737
|
-
const v = $a(e, f, y,
|
|
1736
|
+
return b;
|
|
1737
|
+
const v = $a(e, f, y, h), p = Ya(v), M = Ha(e, L, p), F = s ? s(M, u) : M;
|
|
1738
1738
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1739
1739
|
const V = {
|
|
1740
1740
|
timestamp: Date.now(),
|
|
1741
|
-
key: P(u) ? u : ge(
|
|
1742
|
-
locale: f || (ge(
|
|
1743
|
-
format: P(
|
|
1741
|
+
key: P(u) ? u : ge(b) ? b.key : "",
|
|
1742
|
+
locale: f || (ge(b) ? b.locale : ""),
|
|
1743
|
+
format: P(b) ? b : ge(b) ? b.source : "",
|
|
1744
1744
|
message: F
|
|
1745
1745
|
};
|
|
1746
|
-
V.meta = me({}, e.__meta, /* @__PURE__ */
|
|
1746
|
+
V.meta = me({}, e.__meta, /* @__PURE__ */ Ma() || {}), fa(V);
|
|
1747
1747
|
}
|
|
1748
1748
|
return F;
|
|
1749
1749
|
}
|
|
@@ -1753,32 +1753,32 @@ function Ba(e) {
|
|
|
1753
1753
|
});
|
|
1754
1754
|
}
|
|
1755
1755
|
function Gn(e, t, n, s, l, a) {
|
|
1756
|
-
const { messages: c, onWarn: d, messageResolver: u, localeFallbacker:
|
|
1757
|
-
let T = K(),
|
|
1756
|
+
const { messages: c, onWarn: d, messageResolver: u, localeFallbacker: h } = e, k = h(e, s, n);
|
|
1757
|
+
let T = K(), E, w = null;
|
|
1758
1758
|
const W = "translate";
|
|
1759
|
-
for (let N = 0; N < k.length && (
|
|
1760
|
-
if (!ja(
|
|
1759
|
+
for (let N = 0; N < k.length && (E = k[N], T = c[E] || K(), (w = u(T, t)) === null && (w = T[t]), !(P(w) || Be(w) || ge(w))); N++)
|
|
1760
|
+
if (!ja(E, k)) {
|
|
1761
1761
|
const A = $t(
|
|
1762
1762
|
e,
|
|
1763
1763
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1764
1764
|
t,
|
|
1765
|
-
|
|
1765
|
+
E,
|
|
1766
1766
|
a,
|
|
1767
1767
|
W
|
|
1768
1768
|
);
|
|
1769
1769
|
A !== t && (w = A);
|
|
1770
1770
|
}
|
|
1771
|
-
return [w,
|
|
1771
|
+
return [w, E, T];
|
|
1772
1772
|
}
|
|
1773
1773
|
function xn(e, t, n, s, l, a) {
|
|
1774
1774
|
const { messageCompiler: c, warnHtmlMessage: d } = e;
|
|
1775
1775
|
if (ge(s)) {
|
|
1776
|
-
const
|
|
1777
|
-
return
|
|
1776
|
+
const h = s;
|
|
1777
|
+
return h.locale = h.locale || n, h.key = h.key || t, h;
|
|
1778
1778
|
}
|
|
1779
1779
|
if (c == null) {
|
|
1780
|
-
const
|
|
1781
|
-
return
|
|
1780
|
+
const h = () => s;
|
|
1781
|
+
return h.locale = n, h.key = t, h;
|
|
1782
1782
|
}
|
|
1783
1783
|
const u = c(s, Ja(e, n, l, s, d, a));
|
|
1784
1784
|
return u.locale = n, u.key = t, u.source = s, u;
|
|
@@ -1805,7 +1805,7 @@ function Ja(e, t, n, s, l, a) {
|
|
|
1805
1805
|
};
|
|
1806
1806
|
}
|
|
1807
1807
|
function $a(e, t, n, s) {
|
|
1808
|
-
const { modifiers: l, pluralRules: a, messageResolver: c, fallbackLocale: d, fallbackWarn: u, missingWarn:
|
|
1808
|
+
const { modifiers: l, pluralRules: a, messageResolver: c, fallbackLocale: d, fallbackWarn: u, missingWarn: h, fallbackContext: k } = e, E = {
|
|
1809
1809
|
locale: t,
|
|
1810
1810
|
modifiers: l,
|
|
1811
1811
|
pluralRules: a,
|
|
@@ -1819,7 +1819,7 @@ function $a(e, t, n, s) {
|
|
|
1819
1819
|
t,
|
|
1820
1820
|
d,
|
|
1821
1821
|
u,
|
|
1822
|
-
|
|
1822
|
+
h
|
|
1823
1823
|
);
|
|
1824
1824
|
N = c(A, w);
|
|
1825
1825
|
}
|
|
@@ -1828,14 +1828,14 @@ function $a(e, t, n, s) {
|
|
|
1828
1828
|
const f = xn(e, w, t, N, w, () => {
|
|
1829
1829
|
A = !0;
|
|
1830
1830
|
});
|
|
1831
|
-
return A ?
|
|
1832
|
-
} else return ge(N) ? N :
|
|
1831
|
+
return A ? In : f;
|
|
1832
|
+
} else return ge(N) ? N : In;
|
|
1833
1833
|
}
|
|
1834
1834
|
};
|
|
1835
|
-
return e.processor && (
|
|
1835
|
+
return e.processor && (E.processor = e.processor), s.list && (E.list = s.list), s.named && (E.named = s.named), ue(s.plural) && (E.pluralIndex = s.plural), E;
|
|
1836
1836
|
}
|
|
1837
1837
|
Bs();
|
|
1838
|
-
var za = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_032f7423-6a50-4570-8141-a1c5c9bde587", 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_032f7423-6a50-4570-8141-a1c5c9bde587", 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: "1876", ACTIONS_ORCHESTRATION_ID: "45245cd1-b2c4-47e2-bdde-c564e292a622.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.7.0", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "VITE_TARGET_ENV=dev pnpm build:mf && pnpm build:dts", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.9.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.6", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260413.86.1", npm_package_scripts_dev: "vite", npm_package_devDependencies_prettier: "^3.7.4", npm_package_devDependencies_sass_embedded: "^1.93.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_devDependencies__vue_tsconfig: "^0.4.0", npm_package_devDependencies_eslint_plugin_import: "^2.32.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:15637", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^8.52.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.9/x64", GITHUB_RUN_ID: "25355550973", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "33e32042ec773e2dfd8a0cedf2763b5a5bba1149", 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/permission-integrations", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L3Blcm1pc3Npb24taW50ZWdyYXRpb25zXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzc3OTcyMzcxLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3Nzc5NTAxNzEsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiI5YWYyNTg2Ni1iMjZlLTVmOTItOTBhOC02ZTg4YTcxNmUzMjYiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3Nzc5NDk4NzEsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwianVuLWxlZS1mZWVkbWVcIixcImFjdG9yX2lkXCI6XCIyMzkyODI4NjJcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiNzQzNDM5MTYyMTBcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcImM3YjAyM2Q2YjM4MTQxOWUzMmFkYzBjNzdiYmY4MmFmYzYzODEwOTlcIixcInJlZlwiOlwicmVmcy9oZWFkcy9mZWF0L3Blcm1pc3Npb24taW50ZWdyYXRpb25zXCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjI1MzU1NTUwOTczXCIsXCJydW5fbnVtYmVyXCI6XCI2MVwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcIjMzZTMyMDQyZWM3NzNlMmRmZDhhMGNlZGYyNzYzYjVhNWJiYTExNDlcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL2ZlYXQvcGVybWlzc2lvbi1pbnRlZ3JhdGlvbnNcIixcIndvcmtmbG93X3NoYVwiOlwiMzNlMzIwNDJlYzc3M2UyZGZkOGEwY2VkZjI3NjNiNWE1YmJhMTE0OVwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvaHJtLXNlcnZpY2U6cmVmOnJlZnMvaGVhZHMvZmVhdC9wZXJtaXNzaW9uLWludGVncmF0aW9ucyIsIm9yY2hfaWQiOiI0NTI0NWNkMS1iMmM0LTQ3ZTItYmRkZS1jNTY0ZTI5MmE2MjIucHVibGlzaC5wdWJsaXNoLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6IjQ1MjQ1Y2QxLWIyYzQtNDdlMi1iZGRlLWM1NjRlMjkyYTYyMiIsInJlcG9zaXRvcnlfaWQiOiIxMTI0NjcyMjM1IiwicnVuX2lkIjoiMjUzNTU1NTA5NzMiLCJydW5fbnVtYmVyIjoiNjEiLCJydW5fdHlwZSI6ImZ1bGwiLCJydW5uZXJfaWQiOiIxMDAwMDY1NjA2IiwicnVubmVyX3R5cGUiOiJob3N0ZWQiLCJzY3AiOiJBY3Rpb25zLlJlc3VsdHM6NDUyNDVjZDEtYjJjNC00N2UyLWJkZGUtYzU2NGUyOTJhNjIyOjlhZjI1ODY2LWIyNmUtNWY5Mi05MGE4LTZlODhhNzE2ZTMyNiBBY3Rpb25zLlJ1bm5lcjo0NTI0NWNkMS1iMmM0LTQ3ZTItYmRkZS1jNTY0ZTI5MmE2MjI6OWFmMjU4NjYtYjI2ZS01ZjkyLTkwYTgtNmU4OGE3MTZlMzI2IEFjdGlvbnMuVXBsb2FkQXJ0aWZhY3RzOjQ1MjQ1Y2QxLWIyYzQtNDdlMi1iZGRlLWM1NjRlMjkyYTYyMjo5YWYyNTg2Ni1iMjZlLTVmOTItOTBhOC02ZTg4YTcxNmUzMjYgZ2VuZXJhdGVfaWRfdG9rZW46NDUyNDVjZDEtYjJjNC00N2UyLWJkZGUtYzU2NGUyOTJhNjIyOjlhZjI1ODY2LWIyNmUtNWY5Mi05MGE4LTZlODhhNzE2ZTMyNiBBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInNoYSI6IjMzZTMyMDQyZWM3NzNlMmRmZDhhMGNlZGYyNzYzYjVhNWJiYTExNDkiLCJ0cnVzdF90aWVyIjoiMSJ9.ZFWMs4ckRb1w2pXhlteiZaBUpVgA_5MKE3cqLivbRQzU9n7NGeUvVinYjzsZYJlIuGrVS-PEj7auZh3qzxSRQOLw92EE6RhDifVF4iUr0hVVGXiW1RpA2_hH8qaxmbH8pco3-YwdbJerZUo1nAiewTCiC0Qm98ScE_Y0VMY3prm2kaTefQcgT_UNAi6XrrtSwDViSp92bhhNZjkyKbJMB-icggYO-XkHDtwg9P1snPE46HP5EcwUM9XeuuMxdlcrIDPUhVeWZBx3JT_k9EuxabavlAT4vWsxKIXJ0dFj1gPb7bM8rzr24UMRy1ICf9UJmHA79MVfKXaCMHMo0-Lnrw", 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_bf0e4034-7606-4ccb-8c2b-a7000377f41c", INVOCATION_ID: "7ec822ef39f6466abbfd1708a7946000", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", npm_package_name: "@feedmepos/mf-hrm-portal", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "61", 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 1000065606", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/permission-integrations", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "^2.14.36", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__casl_ability: "^3.4.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^4.0.0", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "1124672235", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/bin/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "2.0.8-dev.8", 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: "33e32042ec773e2dfd8a0cedf2763b5a5bba1149", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/feat/permission-integrations", 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_032f7423-6a50-4570-8141-a1c5c9bde587", 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/203//idtoken/45245cd1-b2c4-47e2-bdde-c564e292a622/9af25866-b26e-5f92-90a8-6e88a716e326?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_032f7423-6a50-4570-8141-a1c5c9bde587", 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_032f7423-6a50-4570-8141-a1c5c9bde587", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1838
|
+
var za = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_f7514c93-fb3e-40a9-958c-94ed547a983f", 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_f7514c93-fb3e-40a9-958c-94ed547a983f", 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: "1890", ACTIONS_ORCHESTRATION_ID: "82041fce-e6fb-4f3d-8b3b-62a2bb742792.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.7.0", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "VITE_TARGET_ENV=dev pnpm build:mf && pnpm build:dts", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.9.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.6", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260413.86.1", npm_package_scripts_dev: "vite", npm_package_devDependencies_prettier: "^3.7.4", npm_package_devDependencies_sass_embedded: "^1.93.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_devDependencies__vue_tsconfig: "^0.4.0", npm_package_devDependencies_eslint_plugin_import: "^2.32.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:13075", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^8.52.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.9/x64", GITHUB_RUN_ID: "25355985864", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "0c644d04dc3dd9a0b894541f6c50777d2ee97530", 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/permission-integrations", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L3Blcm1pc3Npb24taW50ZWdyYXRpb25zXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzc3OTczMzI5LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3Nzc5NTExMjksImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiI0NTNhMWRlMC0wNWY0LTU5OWMtYTk4OS1lOGRjOWYxODAzYmEiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3Nzc5NTA4MjksIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwianVuLWxlZS1mZWVkbWVcIixcImFjdG9yX2lkXCI6XCIyMzkyODI4NjJcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiNzQzNDUyNDcxODFcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcImM3YjAyM2Q2YjM4MTQxOWUzMmFkYzBjNzdiYmY4MmFmYzYzODEwOTlcIixcInJlZlwiOlwicmVmcy9oZWFkcy9mZWF0L3Blcm1pc3Npb24taW50ZWdyYXRpb25zXCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjI1MzU1OTg1ODY0XCIsXCJydW5fbnVtYmVyXCI6XCI2MlwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcIjBjNjQ0ZDA0ZGMzZGQ5YTBiODk0NTQxZjZjNTA3NzdkMmVlOTc1MzBcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL2ZlYXQvcGVybWlzc2lvbi1pbnRlZ3JhdGlvbnNcIixcIndvcmtmbG93X3NoYVwiOlwiMGM2NDRkMDRkYzNkZDlhMGI4OTQ1NDFmNmM1MDc3N2QyZWU5NzUzMFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvaHJtLXNlcnZpY2U6cmVmOnJlZnMvaGVhZHMvZmVhdC9wZXJtaXNzaW9uLWludGVncmF0aW9ucyIsIm9yY2hfaWQiOiI4MjA0MWZjZS1lNmZiLTRmM2QtOGIzYi02MmEyYmI3NDI3OTIucHVibGlzaC5wdWJsaXNoLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6IjgyMDQxZmNlLWU2ZmItNGYzZC04YjNiLTYyYTJiYjc0Mjc5MiIsInJlcG9zaXRvcnlfaWQiOiIxMTI0NjcyMjM1IiwicnVuX2lkIjoiMjUzNTU5ODU4NjQiLCJydW5fbnVtYmVyIjoiNjIiLCJydW5fdHlwZSI6ImZ1bGwiLCJydW5uZXJfaWQiOiIxMDAwMDY1NjM5IiwicnVubmVyX3R5cGUiOiJob3N0ZWQiLCJzY3AiOiJBY3Rpb25zLlJlc3VsdHM6ODIwNDFmY2UtZTZmYi00ZjNkLThiM2ItNjJhMmJiNzQyNzkyOjQ1M2ExZGUwLTA1ZjQtNTk5Yy1hOTg5LWU4ZGM5ZjE4MDNiYSBBY3Rpb25zLlJ1bm5lcjo4MjA0MWZjZS1lNmZiLTRmM2QtOGIzYi02MmEyYmI3NDI3OTI6NDUzYTFkZTAtMDVmNC01OTljLWE5ODktZThkYzlmMTgwM2JhIEFjdGlvbnMuVXBsb2FkQXJ0aWZhY3RzOjgyMDQxZmNlLWU2ZmItNGYzZC04YjNiLTYyYTJiYjc0Mjc5Mjo0NTNhMWRlMC0wNWY0LTU5OWMtYTk4OS1lOGRjOWYxODAzYmEgZ2VuZXJhdGVfaWRfdG9rZW46ODIwNDFmY2UtZTZmYi00ZjNkLThiM2ItNjJhMmJiNzQyNzkyOjQ1M2ExZGUwLTA1ZjQtNTk5Yy1hOTg5LWU4ZGM5ZjE4MDNiYSBBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInNoYSI6IjBjNjQ0ZDA0ZGMzZGQ5YTBiODk0NTQxZjZjNTA3NzdkMmVlOTc1MzAiLCJ0cnVzdF90aWVyIjoiMSJ9.U2Ignc4pA12X9UDtkqvRQ5pun8O8lHPojhwCeSPer_CF82_bTnOXCIxd6a5WkmzmjY1IoT4LluLeNNkRyydLNHmsbuTBzd2E2aE3qzrRUhpso0zQdki9tFSde6JX2bWzXeWqEua6XOLrFYDM6tVovdi0O3aMNAN70LAuI7PzH_C4b0ENVVjdsUxn1Y5K6V923D0AbPsmGYoPdmubYIxpl9pU9zaKND5DgydX-j8esYpFXgXH_UeXhoYZ3aVqUMhSv9uWvm9TXgD1Z80ADY12rev61oUiAC5C7JrWG0AHiuibSvqoHcXpVnYEdjJshuCXxbw6ss7i--NdwR-IKTU0xQ", 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_2139b46a-0cd1-4bf1-808d-8889bb5fbf8d", INVOCATION_ID: "601ef78e05ff4c6a9b98ceb9ddd25e6f", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", npm_package_name: "@feedmepos/mf-hrm-portal", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "62", 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 1000065639", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/permission-integrations", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "^2.14.36", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__casl_ability: "^3.4.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^4.0.0", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "1124672235", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/bin/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "2.0.8-dev.9", 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: "0c644d04dc3dd9a0b894541f6c50777d2ee97530", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/feat/permission-integrations", 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_f7514c93-fb3e-40a9-958c-94ed547a983f", 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/176//idtoken/82041fce-e6fb-4f3d-8b3b-62a2bb742792/453a1de0-05f4-599c-a989-e8dc9f1803ba?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_f7514c93-fb3e-40a9-958c-94ed547a983f", 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_f7514c93-fb3e-40a9-958c-94ed547a983f", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1839
1839
|
const Ka = "10.0.5";
|
|
1840
1840
|
function Qa() {
|
|
1841
1841
|
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);
|
|
@@ -1854,7 +1854,7 @@ const He = {
|
|
|
1854
1854
|
UNEXPECTED_ERROR: 32
|
|
1855
1855
|
};
|
|
1856
1856
|
function nt(e, ...t) {
|
|
1857
|
-
return
|
|
1857
|
+
return bt(e, null, void 0);
|
|
1858
1858
|
}
|
|
1859
1859
|
const Ut = /* @__PURE__ */ Ve("__translateVNode"), Vt = /* @__PURE__ */ Ve("__datetimeParts"), Wt = /* @__PURE__ */ Ve("__numberParts"), qa = Ve("__setPluralRules"), Xn = /* @__PURE__ */ Ve("__injectWithOption"), Gt = /* @__PURE__ */ Ve("__dispose");
|
|
1860
1860
|
function st(e) {
|
|
@@ -1878,12 +1878,12 @@ function st(e) {
|
|
|
1878
1878
|
}
|
|
1879
1879
|
return e;
|
|
1880
1880
|
}
|
|
1881
|
-
function
|
|
1881
|
+
function Zn(e, t) {
|
|
1882
1882
|
const { messages: n, __i18n: s, messageResolver: l, flatJson: a } = t, c = J(n) ? n : ie(s) ? K() : { [e]: K() };
|
|
1883
1883
|
if (ie(s) && s.forEach((d) => {
|
|
1884
1884
|
if ("locale" in d && "resource" in d) {
|
|
1885
|
-
const { locale: u, resource:
|
|
1886
|
-
u ? (c[u] = c[u] || K(), mt(
|
|
1885
|
+
const { locale: u, resource: h } = d;
|
|
1886
|
+
u ? (c[u] = c[u] || K(), mt(h, c[u])) : mt(h, c);
|
|
1887
1887
|
} else
|
|
1888
1888
|
P(d) && mt(JSON.parse(d), c);
|
|
1889
1889
|
}), l == null && a)
|
|
@@ -1891,12 +1891,12 @@ function Yn(e, t) {
|
|
|
1891
1891
|
ye(c, d) && st(c[d]);
|
|
1892
1892
|
return c;
|
|
1893
1893
|
}
|
|
1894
|
-
function
|
|
1894
|
+
function Yn(e) {
|
|
1895
1895
|
return e.type;
|
|
1896
1896
|
}
|
|
1897
1897
|
function er(e, t, n) {
|
|
1898
1898
|
let s = $(t.messages) ? t.messages : K();
|
|
1899
|
-
"__i18nGlobal" in n && (s =
|
|
1899
|
+
"__i18nGlobal" in n && (s = Zn(e.locale.value, {
|
|
1900
1900
|
messages: s,
|
|
1901
1901
|
__i18n: n.__i18nGlobal
|
|
1902
1902
|
}));
|
|
@@ -1930,7 +1930,7 @@ function On(e) {
|
|
|
1930
1930
|
const nr = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
1931
1931
|
const e = xt();
|
|
1932
1932
|
let t = null;
|
|
1933
|
-
return e && (t =
|
|
1933
|
+
return e && (t = Yn(e)[Nn]) ? { [Nn]: t } : null;
|
|
1934
1934
|
};
|
|
1935
1935
|
function sr(e = {}) {
|
|
1936
1936
|
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = en ? Ue : zn;
|
|
@@ -1941,8 +1941,8 @@ function sr(e = {}) {
|
|
|
1941
1941
|
), u = a(
|
|
1942
1942
|
// prettier-ignore
|
|
1943
1943
|
t && c ? t.fallbackLocale.value : P(e.fallbackLocale) || ie(e.fallbackLocale) || J(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : d.value
|
|
1944
|
-
),
|
|
1945
|
-
let
|
|
1944
|
+
), h = a(Zn(d.value, e)), k = a(J(e.datetimeFormats) ? e.datetimeFormats : { [d.value]: {} }), T = a(J(e.numberFormats) ? e.numberFormats : { [d.value]: {} });
|
|
1945
|
+
let E = t ? t.missingWarn : oe(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, w = t ? t.fallbackWarn : oe(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, W = t ? t.fallbackRoot : oe(e.fallbackRoot) ? e.fallbackRoot : !0, N = !!e.fallbackFormat, A = se(e.missing) ? e.missing : null, i = se(e.missing) ? On(e.missing) : null, f = se(e.postTranslation) ? e.postTranslation : null, y = t ? t.warnHtmlMessage : oe(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, b = !!e.escapeParameter;
|
|
1946
1946
|
const S = t ? t.modifiers : J(e.modifiers) ? e.modifiers : {};
|
|
1947
1947
|
let R = e.pluralRules || t && t.pluralRules, m;
|
|
1948
1948
|
m = (() => {
|
|
@@ -1951,30 +1951,30 @@ function sr(e = {}) {
|
|
|
1951
1951
|
version: Ka,
|
|
1952
1952
|
locale: d.value,
|
|
1953
1953
|
fallbackLocale: u.value,
|
|
1954
|
-
messages:
|
|
1954
|
+
messages: h.value,
|
|
1955
1955
|
modifiers: S,
|
|
1956
1956
|
pluralRules: R,
|
|
1957
1957
|
missing: i === null ? void 0 : i,
|
|
1958
|
-
missingWarn:
|
|
1958
|
+
missingWarn: E,
|
|
1959
1959
|
fallbackWarn: w,
|
|
1960
1960
|
fallbackFormat: N,
|
|
1961
1961
|
unresolving: !0,
|
|
1962
1962
|
postTranslation: f === null ? void 0 : f,
|
|
1963
1963
|
warnHtmlMessage: y,
|
|
1964
|
-
escapeParameter:
|
|
1964
|
+
escapeParameter: b,
|
|
1965
1965
|
messageResolver: e.messageResolver,
|
|
1966
1966
|
messageCompiler: e.messageCompiler,
|
|
1967
1967
|
__meta: { framework: "vue" }
|
|
1968
1968
|
};
|
|
1969
1969
|
_.datetimeFormats = k.value, _.numberFormats = T.value, _.__datetimeFormatters = J(m) ? m.__datetimeFormatters : void 0, _.__numberFormatters = J(m) ? m.__numberFormatters : void 0;
|
|
1970
|
-
const
|
|
1971
|
-
return s && fn(
|
|
1970
|
+
const I = Pa(_);
|
|
1971
|
+
return s && fn(I), I;
|
|
1972
1972
|
})(), Qe(m, d.value, u.value);
|
|
1973
1973
|
function v() {
|
|
1974
1974
|
return [
|
|
1975
1975
|
d.value,
|
|
1976
1976
|
u.value,
|
|
1977
|
-
|
|
1977
|
+
h.value,
|
|
1978
1978
|
k.value,
|
|
1979
1979
|
T.value
|
|
1980
1980
|
];
|
|
@@ -1984,25 +1984,25 @@ function sr(e = {}) {
|
|
|
1984
1984
|
set: (_) => {
|
|
1985
1985
|
d.value = _, m.locale = d.value;
|
|
1986
1986
|
}
|
|
1987
|
-
}),
|
|
1987
|
+
}), M = q({
|
|
1988
1988
|
get: () => u.value,
|
|
1989
1989
|
set: (_) => {
|
|
1990
1990
|
u.value = _, m.fallbackLocale = u.value, Qe(m, d.value, _);
|
|
1991
1991
|
}
|
|
1992
|
-
}), F = q(() =>
|
|
1992
|
+
}), F = q(() => h.value), V = /* @__PURE__ */ q(() => k.value), ae = /* @__PURE__ */ q(() => T.value);
|
|
1993
1993
|
function O() {
|
|
1994
1994
|
return se(f) ? f : null;
|
|
1995
1995
|
}
|
|
1996
|
-
function
|
|
1996
|
+
function D(_) {
|
|
1997
1997
|
f = _, m.postTranslation = _;
|
|
1998
1998
|
}
|
|
1999
1999
|
function C() {
|
|
2000
2000
|
return A;
|
|
2001
2001
|
}
|
|
2002
|
-
function
|
|
2002
|
+
function Y(_) {
|
|
2003
2003
|
_ !== null && (i = On(_)), A = _, m.missing = i;
|
|
2004
2004
|
}
|
|
2005
|
-
const x = (_,
|
|
2005
|
+
const x = (_, I, Q, le, Pe, at) => {
|
|
2006
2006
|
v();
|
|
2007
2007
|
let xe;
|
|
2008
2008
|
try {
|
|
@@ -2011,8 +2011,8 @@ function sr(e = {}) {
|
|
|
2011
2011
|
__INTLIFY_PROD_DEVTOOLS__, s || (m.fallbackContext = void 0);
|
|
2012
2012
|
}
|
|
2013
2013
|
if (Q !== "translate exists" && // for not `te` (e.g `t`)
|
|
2014
|
-
ue(xe) && xe ===
|
|
2015
|
-
const [Jn, Br] =
|
|
2014
|
+
ue(xe) && xe === ht || Q === "translate exists" && !xe) {
|
|
2015
|
+
const [Jn, Br] = I();
|
|
2016
2016
|
return t && W ? le(t) : Pe(Jn);
|
|
2017
2017
|
} else {
|
|
2018
2018
|
if (at(xe))
|
|
@@ -2021,120 +2021,120 @@ function sr(e = {}) {
|
|
|
2021
2021
|
}
|
|
2022
2022
|
};
|
|
2023
2023
|
function U(..._) {
|
|
2024
|
-
return x((
|
|
2024
|
+
return x((I) => Reflect.apply(En, null, [I, ..._]), () => jt(..._), "translate", (I) => Reflect.apply(I.t, I, [..._]), (I) => I, (I) => P(I));
|
|
2025
2025
|
}
|
|
2026
2026
|
function G(..._) {
|
|
2027
|
-
const [
|
|
2027
|
+
const [I, Q, le] = _;
|
|
2028
2028
|
if (le && !$(le))
|
|
2029
2029
|
throw nt(He.INVALID_ARGUMENT);
|
|
2030
|
-
return U(
|
|
2030
|
+
return U(I, Q, me({ resolvedMessage: !0 }, le || {}));
|
|
2031
2031
|
}
|
|
2032
2032
|
function X(..._) {
|
|
2033
|
-
return x((
|
|
2033
|
+
return x((I) => Reflect.apply(pn, null, [I, ..._]), () => Pt(..._), "datetime format", (I) => Reflect.apply(I.d, I, [..._]), () => mn, (I) => P(I));
|
|
2034
2034
|
}
|
|
2035
2035
|
function ve(..._) {
|
|
2036
|
-
return x((
|
|
2036
|
+
return x((I) => Reflect.apply(hn, null, [I, ..._]), () => Ft(..._), "number format", (I) => Reflect.apply(I.n, I, [..._]), () => mn, (I) => P(I));
|
|
2037
2037
|
}
|
|
2038
2038
|
function _e(_) {
|
|
2039
|
-
return _.map((
|
|
2039
|
+
return _.map((I) => P(I) || ue(I) || oe(I) ? yn(String(I)) : I);
|
|
2040
2040
|
}
|
|
2041
2041
|
const ne = {
|
|
2042
2042
|
normalize: _e,
|
|
2043
2043
|
interpolate: (_) => _,
|
|
2044
2044
|
type: "vnode"
|
|
2045
2045
|
};
|
|
2046
|
-
function
|
|
2047
|
-
return x((
|
|
2046
|
+
function Ie(..._) {
|
|
2047
|
+
return x((I) => {
|
|
2048
2048
|
let Q;
|
|
2049
|
-
const le =
|
|
2049
|
+
const le = I;
|
|
2050
2050
|
try {
|
|
2051
|
-
le.processor = ne, Q = Reflect.apply(
|
|
2051
|
+
le.processor = ne, Q = Reflect.apply(En, null, [le, ..._]);
|
|
2052
2052
|
} finally {
|
|
2053
2053
|
le.processor = null;
|
|
2054
2054
|
}
|
|
2055
2055
|
return Q;
|
|
2056
|
-
}, () => jt(..._), "translate", (
|
|
2056
|
+
}, () => jt(..._), "translate", (I) => I[Ut](..._), (I) => [yn(I)], (I) => ie(I));
|
|
2057
2057
|
}
|
|
2058
2058
|
function Je(..._) {
|
|
2059
|
-
return x((
|
|
2059
|
+
return x((I) => Reflect.apply(hn, null, [I, ..._]), () => Ft(..._), "number format", (I) => I[Wt](..._), kn, (I) => P(I) || ie(I));
|
|
2060
2060
|
}
|
|
2061
2061
|
function $e(..._) {
|
|
2062
|
-
return x((
|
|
2062
|
+
return x((I) => Reflect.apply(pn, null, [I, ..._]), () => Pt(..._), "datetime format", (I) => I[Vt](..._), kn, (I) => P(I) || ie(I));
|
|
2063
2063
|
}
|
|
2064
2064
|
function vt(_) {
|
|
2065
2065
|
R = _, m.pluralRules = R;
|
|
2066
2066
|
}
|
|
2067
|
-
function
|
|
2067
|
+
function It(_, I) {
|
|
2068
2068
|
return x(() => {
|
|
2069
2069
|
if (!_)
|
|
2070
2070
|
return !1;
|
|
2071
|
-
const Q = P(
|
|
2071
|
+
const Q = P(I) ? I : d.value, le = We(Q), Pe = m.messageResolver(le, _);
|
|
2072
2072
|
return Be(Pe) || ge(Pe) || P(Pe);
|
|
2073
|
-
}, () => [_], "translate exists", (Q) => Reflect.apply(Q.te, Q, [_,
|
|
2073
|
+
}, () => [_], "translate exists", (Q) => Reflect.apply(Q.te, Q, [_, I]), tr, (Q) => oe(Q));
|
|
2074
2074
|
}
|
|
2075
|
-
function
|
|
2076
|
-
let
|
|
2077
|
-
const Q =
|
|
2075
|
+
function Et(_) {
|
|
2076
|
+
let I = null;
|
|
2077
|
+
const Q = Mn(m, u.value, d.value);
|
|
2078
2078
|
for (let le = 0; le < Q.length; le++) {
|
|
2079
|
-
const Pe =
|
|
2079
|
+
const Pe = h.value[Q[le]] || {}, at = m.messageResolver(Pe, _);
|
|
2080
2080
|
if (at != null) {
|
|
2081
|
-
|
|
2081
|
+
I = at;
|
|
2082
2082
|
break;
|
|
2083
2083
|
}
|
|
2084
2084
|
}
|
|
2085
|
-
return
|
|
2085
|
+
return I;
|
|
2086
2086
|
}
|
|
2087
2087
|
function ze(_) {
|
|
2088
|
-
const
|
|
2089
|
-
return
|
|
2088
|
+
const I = Et(_);
|
|
2089
|
+
return I ?? (t ? t.tm(_) || {} : {});
|
|
2090
2090
|
}
|
|
2091
2091
|
function We(_) {
|
|
2092
|
-
return
|
|
2092
|
+
return h.value[_] || {};
|
|
2093
2093
|
}
|
|
2094
|
-
function Ge(_,
|
|
2094
|
+
function Ge(_, I) {
|
|
2095
2095
|
if (l) {
|
|
2096
|
-
const Q = { [_]:
|
|
2096
|
+
const Q = { [_]: I };
|
|
2097
2097
|
for (const le in Q)
|
|
2098
2098
|
ye(Q, le) && st(Q[le]);
|
|
2099
|
-
|
|
2099
|
+
I = Q[_];
|
|
2100
2100
|
}
|
|
2101
|
-
|
|
2101
|
+
h.value[_] = I, m.messages = h.value;
|
|
2102
2102
|
}
|
|
2103
|
-
function Ke(_,
|
|
2104
|
-
|
|
2105
|
-
const Q = { [_]:
|
|
2103
|
+
function Ke(_, I) {
|
|
2104
|
+
h.value[_] = h.value[_] || {};
|
|
2105
|
+
const Q = { [_]: I };
|
|
2106
2106
|
if (l)
|
|
2107
2107
|
for (const le in Q)
|
|
2108
2108
|
ye(Q, le) && st(Q[le]);
|
|
2109
|
-
|
|
2109
|
+
I = Q[_], mt(I, h.value[_]), m.messages = h.value;
|
|
2110
2110
|
}
|
|
2111
2111
|
function yt(_) {
|
|
2112
2112
|
return k.value[_] || {};
|
|
2113
2113
|
}
|
|
2114
|
-
function r(_,
|
|
2115
|
-
k.value[_] =
|
|
2114
|
+
function r(_, I) {
|
|
2115
|
+
k.value[_] = I, m.datetimeFormats = k.value, bn(m, _, I);
|
|
2116
2116
|
}
|
|
2117
|
-
function o(_,
|
|
2118
|
-
k.value[_] = me(k.value[_] || {},
|
|
2117
|
+
function o(_, I) {
|
|
2118
|
+
k.value[_] = me(k.value[_] || {}, I), m.datetimeFormats = k.value, bn(m, _, I);
|
|
2119
2119
|
}
|
|
2120
2120
|
function g(_) {
|
|
2121
2121
|
return T.value[_] || {};
|
|
2122
2122
|
}
|
|
2123
|
-
function j(_,
|
|
2124
|
-
T.value[_] =
|
|
2123
|
+
function j(_, I) {
|
|
2124
|
+
T.value[_] = I, m.numberFormats = T.value, gn(m, _, I);
|
|
2125
2125
|
}
|
|
2126
|
-
function re(_,
|
|
2127
|
-
T.value[_] = me(T.value[_] || {},
|
|
2126
|
+
function re(_, I) {
|
|
2127
|
+
T.value[_] = me(T.value[_] || {}, I), m.numberFormats = T.value, gn(m, _, I);
|
|
2128
2128
|
}
|
|
2129
2129
|
Tn++, t && en && (St(t.locale, (_) => {
|
|
2130
2130
|
c && (d.value = _, m.locale = _, Qe(m, d.value, u.value));
|
|
2131
2131
|
}), St(t.fallbackLocale, (_) => {
|
|
2132
2132
|
c && (u.value = _, m.fallbackLocale = _, Qe(m, d.value, u.value));
|
|
2133
2133
|
}));
|
|
2134
|
-
const
|
|
2134
|
+
const Z = {
|
|
2135
2135
|
id: Tn,
|
|
2136
2136
|
locale: p,
|
|
2137
|
-
fallbackLocale:
|
|
2137
|
+
fallbackLocale: M,
|
|
2138
2138
|
get inheritLocale() {
|
|
2139
2139
|
return c;
|
|
2140
2140
|
},
|
|
@@ -2142,7 +2142,7 @@ function sr(e = {}) {
|
|
|
2142
2142
|
c = _, _ && t && (d.value = t.locale.value, u.value = t.fallbackLocale.value, Qe(m, d.value, u.value));
|
|
2143
2143
|
},
|
|
2144
2144
|
get availableLocales() {
|
|
2145
|
-
return Object.keys(
|
|
2145
|
+
return Object.keys(h.value).sort();
|
|
2146
2146
|
},
|
|
2147
2147
|
messages: F,
|
|
2148
2148
|
get modifiers() {
|
|
@@ -2155,10 +2155,10 @@ function sr(e = {}) {
|
|
|
2155
2155
|
return s;
|
|
2156
2156
|
},
|
|
2157
2157
|
get missingWarn() {
|
|
2158
|
-
return
|
|
2158
|
+
return E;
|
|
2159
2159
|
},
|
|
2160
2160
|
set missingWarn(_) {
|
|
2161
|
-
|
|
2161
|
+
E = _, m.missingWarn = E;
|
|
2162
2162
|
},
|
|
2163
2163
|
get fallbackWarn() {
|
|
2164
2164
|
return w;
|
|
@@ -2185,22 +2185,22 @@ function sr(e = {}) {
|
|
|
2185
2185
|
y = _, m.warnHtmlMessage = _;
|
|
2186
2186
|
},
|
|
2187
2187
|
get escapeParameter() {
|
|
2188
|
-
return
|
|
2188
|
+
return b;
|
|
2189
2189
|
},
|
|
2190
2190
|
set escapeParameter(_) {
|
|
2191
|
-
|
|
2191
|
+
b = _, m.escapeParameter = _;
|
|
2192
2192
|
},
|
|
2193
2193
|
t: U,
|
|
2194
2194
|
getLocaleMessage: We,
|
|
2195
2195
|
setLocaleMessage: Ge,
|
|
2196
2196
|
mergeLocaleMessage: Ke,
|
|
2197
2197
|
getPostTranslationHandler: O,
|
|
2198
|
-
setPostTranslationHandler:
|
|
2198
|
+
setPostTranslationHandler: D,
|
|
2199
2199
|
getMissingHandler: C,
|
|
2200
|
-
setMissingHandler:
|
|
2200
|
+
setMissingHandler: Y,
|
|
2201
2201
|
[qa]: vt
|
|
2202
2202
|
};
|
|
2203
|
-
return
|
|
2203
|
+
return Z.datetimeFormats = V, Z.numberFormats = ae, Z.rt = G, Z.te = It, Z.tm = ze, Z.d = X, Z.n = ve, Z.getDateTimeFormat = yt, Z.setDateTimeFormat = r, Z.mergeDateTimeFormat = o, Z.getNumberFormat = g, Z.setNumberFormat = j, Z.mergeNumberFormat = re, Z[Xn] = n, Z[Ut] = Ie, Z[Vt] = $e, Z[Wt] = Je, Z;
|
|
2204
2204
|
}
|
|
2205
2205
|
const zt = {
|
|
2206
2206
|
tag: {
|
|
@@ -2224,14 +2224,14 @@ function ar({ slots: e }, t) {
|
|
|
2224
2224
|
return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((s, l) => [
|
|
2225
2225
|
...s,
|
|
2226
2226
|
// prettier-ignore
|
|
2227
|
-
...l.type ===
|
|
2227
|
+
...l.type === Ee ? l.children : [l]
|
|
2228
2228
|
], []) : t.reduce((n, s) => {
|
|
2229
2229
|
const l = e[s];
|
|
2230
2230
|
return l && (n[s] = l()), n;
|
|
2231
2231
|
}, K());
|
|
2232
2232
|
}
|
|
2233
2233
|
function Bn() {
|
|
2234
|
-
return
|
|
2234
|
+
return Ee;
|
|
2235
2235
|
}
|
|
2236
2236
|
me({
|
|
2237
2237
|
keypath: {
|
|
@@ -2251,15 +2251,15 @@ function Hn(e, t, n, s) {
|
|
|
2251
2251
|
return () => {
|
|
2252
2252
|
const c = { part: !0 };
|
|
2253
2253
|
let d = K();
|
|
2254
|
-
e.locale && (c.locale = e.locale), P(e.format) ? c.key = e.format : $(e.format) && (P(e.format.key) && (c.key = e.format.key), d = Object.keys(e.format).reduce((
|
|
2254
|
+
e.locale && (c.locale = e.locale), P(e.format) ? c.key = e.format : $(e.format) && (P(e.format.key) && (c.key = e.format.key), d = Object.keys(e.format).reduce((E, w) => n.includes(w) ? me(K(), E, { [w]: e.format[w] }) : E, K()));
|
|
2255
2255
|
const u = s(e.value, c, d);
|
|
2256
|
-
let
|
|
2257
|
-
ie(u) ?
|
|
2258
|
-
const W = l[
|
|
2259
|
-
return rr(N) && (N[0].key = `${
|
|
2260
|
-
}) : P(u) && (
|
|
2256
|
+
let h = [c.key];
|
|
2257
|
+
ie(u) ? h = u.map((E, w) => {
|
|
2258
|
+
const W = l[E.type], N = W ? W({ [E.type]: E.value, index: w, parts: u }) : [E.value];
|
|
2259
|
+
return rr(N) && (N[0].key = `${E.type}-${w}`), N;
|
|
2260
|
+
}) : P(u) && (h = [u]);
|
|
2261
2261
|
const k = me(K(), a), T = P(e.tag) || $(e.tag) ? e.tag : Bn();
|
|
2262
|
-
return Sn(T, k,
|
|
2262
|
+
return Sn(T, k, h);
|
|
2263
2263
|
};
|
|
2264
2264
|
}
|
|
2265
2265
|
me({
|
|
@@ -2287,7 +2287,7 @@ function gt(e = {}) {
|
|
|
2287
2287
|
throw nt(He.MUST_BE_CALL_SETUP_TOP);
|
|
2288
2288
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
2289
2289
|
throw nt(He.NOT_INSTALLED);
|
|
2290
|
-
const n = or(t), s = cr(n), l =
|
|
2290
|
+
const n = or(t), s = cr(n), l = Yn(t), a = ir(e, l);
|
|
2291
2291
|
if (a === "global")
|
|
2292
2292
|
return er(s, e, l), s;
|
|
2293
2293
|
if (a === "parent") {
|
|
@@ -2347,7 +2347,7 @@ function dr(e, t, n) {
|
|
|
2347
2347
|
Qa();
|
|
2348
2348
|
Ra(ua);
|
|
2349
2349
|
Aa(Oa);
|
|
2350
|
-
Sa(
|
|
2350
|
+
Sa(Mn);
|
|
2351
2351
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
2352
2352
|
const e = je();
|
|
2353
2353
|
e.__INTLIFY__ = !0, ma(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
@@ -2363,19 +2363,19 @@ const it = /* @__PURE__ */ Ne({
|
|
|
2363
2363
|
setup(e) {
|
|
2364
2364
|
const { t } = gt();
|
|
2365
2365
|
return (n, s) => {
|
|
2366
|
-
const l =
|
|
2366
|
+
const l = Ze("FmIcon"), a = Ze("FmTooltip");
|
|
2367
2367
|
return B(), Se(a, {
|
|
2368
2368
|
variant: "plain",
|
|
2369
2369
|
placement: "right",
|
|
2370
2370
|
"z-index": 50
|
|
2371
2371
|
}, {
|
|
2372
|
-
content:
|
|
2372
|
+
content: be(() => [
|
|
2373
2373
|
te("div", null, Ae(H(t)("team.memberForm.permissions.inherited")), 1),
|
|
2374
|
-
(B(!0), ee(
|
|
2374
|
+
(B(!0), ee(Ee, null, pe(e.item.setNames, (c) => (B(), ee("div", { key: c }, [
|
|
2375
2375
|
te("div", null, "- " + Ae(c), 1)
|
|
2376
2376
|
]))), 128))
|
|
2377
2377
|
]),
|
|
2378
|
-
default:
|
|
2378
|
+
default: be(() => [
|
|
2379
2379
|
de(l, {
|
|
2380
2380
|
name: "admin_panel_settings",
|
|
2381
2381
|
size: "sm",
|
|
@@ -2392,7 +2392,7 @@ const it = /* @__PURE__ */ Ne({
|
|
|
2392
2392
|
}, pr = {
|
|
2393
2393
|
key: 0,
|
|
2394
2394
|
class: "q-mr-xs text-red col"
|
|
2395
|
-
},
|
|
2395
|
+
}, br = { class: "form-input" }, hr = /* @__PURE__ */ Ne({
|
|
2396
2396
|
__name: "AppForm",
|
|
2397
2397
|
props: {
|
|
2398
2398
|
title: {
|
|
@@ -2411,17 +2411,17 @@ const it = /* @__PURE__ */ Ne({
|
|
|
2411
2411
|
setup(e) {
|
|
2412
2412
|
const t = e;
|
|
2413
2413
|
return (n, s) => (B(), ee("div", fr, [
|
|
2414
|
-
|
|
2414
|
+
he(n.$slots, "top", {}, () => [
|
|
2415
2415
|
t.title ? (B(), ee("div", _r, [
|
|
2416
2416
|
te("div", null, [
|
|
2417
2417
|
t.required ? (B(), ee("span", pr, "*")) : Oe("", !0),
|
|
2418
2418
|
Qn(Ae(t.title), 1)
|
|
2419
2419
|
]),
|
|
2420
|
-
|
|
2420
|
+
he(n.$slots, "title-right")
|
|
2421
2421
|
])) : Oe("", !0)
|
|
2422
2422
|
]),
|
|
2423
|
-
te("div",
|
|
2424
|
-
|
|
2423
|
+
te("div", br, [
|
|
2424
|
+
he(n.$slots, "default")
|
|
2425
2425
|
])
|
|
2426
2426
|
]));
|
|
2427
2427
|
}
|
|
@@ -2433,7 +2433,7 @@ function gr(e, t) {
|
|
|
2433
2433
|
n += s.charAt(Math.floor(Math.random() * l));
|
|
2434
2434
|
return n;
|
|
2435
2435
|
}
|
|
2436
|
-
const vr = { class: "col flex items-center" },
|
|
2436
|
+
const vr = { class: "col flex items-center" }, Ir = {
|
|
2437
2437
|
key: 1,
|
|
2438
2438
|
class: "q-pa-sm form-error-message text-error"
|
|
2439
2439
|
}, Kt = /* @__PURE__ */ Ne({
|
|
@@ -2494,14 +2494,14 @@ const vr = { class: "col flex items-center" }, Er = {
|
|
|
2494
2494
|
},
|
|
2495
2495
|
emits: ["update:model-value"],
|
|
2496
2496
|
setup(e, { emit: t }) {
|
|
2497
|
-
const n = e, s = t, { t: l } = _t(), a = Ue(!1), c = qn(), d = 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-${gr(6)}`,
|
|
2497
|
+
const n = e, s = t, { t: l } = _t(), a = Ue(!1), c = qn(), d = 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-${gr(6)}`, h = q(() => d.value !== !0), k = q(
|
|
2498
2498
|
() => n.modelValue.filter((N) => n.options.some((A) => A.value === N))
|
|
2499
2499
|
), T = q(
|
|
2500
2500
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
2501
|
-
),
|
|
2501
|
+
), E = q(() => n.options.length > 0 && n.options.length === k.value.length);
|
|
2502
2502
|
function w() {
|
|
2503
2503
|
const N = n.modelValue.filter((A) => !k.value.includes(A));
|
|
2504
|
-
if (
|
|
2504
|
+
if (E.value === !0)
|
|
2505
2505
|
s("update:model-value", N);
|
|
2506
2506
|
else {
|
|
2507
2507
|
const A = n.includeDisabledOptionsWhenSelectAll ? n.options.map((i) => i.value) : n.options.filter((i) => !i.disabled).map((i) => i.value);
|
|
@@ -2513,19 +2513,19 @@ const vr = { class: "col flex items-center" }, Er = {
|
|
|
2513
2513
|
A ? i.every((f) => f !== N) && i.push(N) : i = i.filter((f) => f !== N), s("update:model-value", i);
|
|
2514
2514
|
}
|
|
2515
2515
|
return (N, A) => {
|
|
2516
|
-
const i =
|
|
2517
|
-
return B(), Se(
|
|
2516
|
+
const i = Ze("FmCheckbox");
|
|
2517
|
+
return B(), Se(hr, {
|
|
2518
2518
|
id: u,
|
|
2519
2519
|
title: e.title,
|
|
2520
2520
|
required: !1
|
|
2521
2521
|
}, {
|
|
2522
|
-
top:
|
|
2523
|
-
|
|
2522
|
+
top: be(() => [
|
|
2523
|
+
he(N.$slots, "top")
|
|
2524
2524
|
]),
|
|
2525
|
-
default:
|
|
2525
|
+
default: be(() => [
|
|
2526
2526
|
n.showAllToggle ? (B(), Se(i, {
|
|
2527
2527
|
key: 0,
|
|
2528
|
-
"model-value":
|
|
2528
|
+
"model-value": E.value,
|
|
2529
2529
|
disabled: e.disable,
|
|
2530
2530
|
label: T.value,
|
|
2531
2531
|
style: ct(`margin-bottom: ${n.gutter}px`),
|
|
@@ -2534,7 +2534,7 @@ const vr = { class: "col flex items-center" }, Er = {
|
|
|
2534
2534
|
value: T.value,
|
|
2535
2535
|
"onUpdate:modelValue": w
|
|
2536
2536
|
}, null, 8, ["model-value", "disabled", "label", "style", "value"])) : Oe("", !0),
|
|
2537
|
-
(B(!0), ee(
|
|
2537
|
+
(B(!0), ee(Ee, null, pe(e.options, (f, y) => (B(), ee("div", {
|
|
2538
2538
|
key: f.value,
|
|
2539
2539
|
style: ct(`margin-bottom: ${y < e.options.length - 1 ? n.gutter : 0}px`),
|
|
2540
2540
|
class: qe(y < e.options.length - 1 ? "q-mb-sm" : "")
|
|
@@ -2549,9 +2549,9 @@ const vr = { class: "col flex items-center" }, Er = {
|
|
|
2549
2549
|
size: "sm",
|
|
2550
2550
|
label: f.label,
|
|
2551
2551
|
value: f.label,
|
|
2552
|
-
"onUpdate:modelValue": (
|
|
2552
|
+
"onUpdate:modelValue": (b) => W(f.value, b)
|
|
2553
2553
|
}, null, 8, ["model-value", "disabled", "label", "value", "onUpdate:modelValue"]),
|
|
2554
|
-
|
|
2554
|
+
he(N.$slots, `checkbox-${f.key || f.value}-append`, {
|
|
2555
2555
|
option: f,
|
|
2556
2556
|
selected: e.modelValue.includes(f.value)
|
|
2557
2557
|
})
|
|
@@ -2560,7 +2560,7 @@ const vr = { class: "col flex items-center" }, Er = {
|
|
|
2560
2560
|
key: 0,
|
|
2561
2561
|
class: qe([{ "q-checkbox disabled": e.disable || f.disabled }, "col"])
|
|
2562
2562
|
}, [
|
|
2563
|
-
|
|
2563
|
+
he(N.$slots, `checkbox-${f.key || f.value}-end`, {
|
|
2564
2564
|
option: f,
|
|
2565
2565
|
value: e.modelValue.includes(f.value),
|
|
2566
2566
|
disable: e.disable || f.disabled
|
|
@@ -2572,14 +2572,14 @@ const vr = { class: "col flex items-center" }, Er = {
|
|
|
2572
2572
|
class: qe(["q-mt-sm", { "q-checkbox disabled": e.disable || f.disabled }]),
|
|
2573
2573
|
style: ct(`margin-left: ${e.bottomSlotIndent}`)
|
|
2574
2574
|
}, [
|
|
2575
|
-
|
|
2575
|
+
he(N.$slots, `checkbox-${f.key || f.value}-bottom`, {
|
|
2576
2576
|
option: f,
|
|
2577
2577
|
disable: e.disable || f.disabled,
|
|
2578
2578
|
value: e.modelValue.includes(f.value)
|
|
2579
2579
|
})
|
|
2580
2580
|
], 6)) : Oe("", !0)
|
|
2581
2581
|
], 6))), 128)),
|
|
2582
|
-
a.value &&
|
|
2582
|
+
a.value && h.value ? (B(), ee("div", Ir, Ae(d.value), 1)) : Oe("", !0)
|
|
2583
2583
|
]),
|
|
2584
2584
|
_: 3
|
|
2585
2585
|
}, 8, ["title"]);
|
|
@@ -2601,47 +2601,47 @@ function Ln(e, t, n) {
|
|
|
2601
2601
|
});
|
|
2602
2602
|
}
|
|
2603
2603
|
const Cn = Object.values(cs);
|
|
2604
|
-
function
|
|
2604
|
+
function Er(e, t, n, s) {
|
|
2605
2605
|
const { getFlagValue: l } = ms(), a = q(() => {
|
|
2606
2606
|
const m = /* @__PURE__ */ new Map(), L = /* @__PURE__ */ new Map();
|
|
2607
2607
|
for (const p of t.value) {
|
|
2608
|
-
const
|
|
2609
|
-
|
|
2608
|
+
const M = p.category;
|
|
2609
|
+
M && (n.value.includes(p.subject) || p.showByFeatureFlag && l(p.showByFeatureFlag) === "false" || (m.has(M) || m.set(M, []), m.get(M).push({ label: p.label, value: p.subject }), L.set(p.subject, p)));
|
|
2610
2610
|
}
|
|
2611
|
-
return [...m.keys()].sort((p,
|
|
2612
|
-
const F = Cn.indexOf(p), V = Cn.indexOf(
|
|
2613
|
-
return F === -1 && V === -1 ? p.localeCompare(
|
|
2611
|
+
return [...m.keys()].sort((p, M) => {
|
|
2612
|
+
const F = Cn.indexOf(p), V = Cn.indexOf(M);
|
|
2613
|
+
return F === -1 && V === -1 ? p.localeCompare(M) : F === -1 ? 1 : V === -1 ? -1 : F - V;
|
|
2614
2614
|
}).map((p) => {
|
|
2615
|
-
const
|
|
2616
|
-
for (const G of
|
|
2615
|
+
const M = m.get(p), F = /* @__PURE__ */ new Map();
|
|
2616
|
+
for (const G of M) {
|
|
2617
2617
|
const X = L.get(G.value);
|
|
2618
2618
|
X && F.set(G.value, X.actions);
|
|
2619
2619
|
}
|
|
2620
|
-
const V =
|
|
2620
|
+
const V = M.some((G) => {
|
|
2621
2621
|
const X = F.get(G.value);
|
|
2622
2622
|
return X && X.length > 1;
|
|
2623
2623
|
}), ae = V ? [
|
|
2624
2624
|
...new Set(
|
|
2625
|
-
|
|
2625
|
+
M.flatMap((G) => F.get(G.value) ?? []).filter((G) => G !== "manage")
|
|
2626
2626
|
)
|
|
2627
2627
|
] : [], O = /* @__PURE__ */ new Map();
|
|
2628
2628
|
for (const G of e.value)
|
|
2629
|
-
|
|
2630
|
-
const
|
|
2631
|
-
(G) =>
|
|
2632
|
-
).map((G) => G.subject) : e.value.filter((G) =>
|
|
2629
|
+
M.some((X) => X.value === G.subject) && !G.inverted && O.set(G.subject, new Set(G.actions));
|
|
2630
|
+
const D = V ? e.value.filter(
|
|
2631
|
+
(G) => M.some((X) => X.value === G.subject) && !G.inverted && G.actions.includes("manage")
|
|
2632
|
+
).map((G) => G.subject) : e.value.filter((G) => M.some((X) => X.value === G.subject) && !G.inverted).map((G) => G.subject), C = M.find((G) => {
|
|
2633
2633
|
var X;
|
|
2634
2634
|
return (X = L.get(G.value)) == null ? void 0 : X.isCategoryCover;
|
|
2635
|
-
}),
|
|
2635
|
+
}), Y = (C == null ? void 0 : C.value) ?? null, x = Y ? O.get(Y) ?? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set(), U = x.has("manage");
|
|
2636
2636
|
return {
|
|
2637
2637
|
category: p,
|
|
2638
|
-
options:
|
|
2639
|
-
selectedSubjects:
|
|
2638
|
+
options: M,
|
|
2639
|
+
selectedSubjects: D,
|
|
2640
2640
|
isMultiAction: V,
|
|
2641
2641
|
actionColumns: ae,
|
|
2642
2642
|
permissionActionsMap: F,
|
|
2643
2643
|
selectedActionsMap: O,
|
|
2644
|
-
coverSubject:
|
|
2644
|
+
coverSubject: Y,
|
|
2645
2645
|
coverSelectedActions: x,
|
|
2646
2646
|
coverCoversAll: U
|
|
2647
2647
|
};
|
|
@@ -2649,11 +2649,11 @@ function Ir(e, t, n, s) {
|
|
|
2649
2649
|
});
|
|
2650
2650
|
function c(m, L) {
|
|
2651
2651
|
var p;
|
|
2652
|
-
const v = ((p = a.value.find((
|
|
2652
|
+
const v = ((p = a.value.find((M) => M.category === m)) == null ? void 0 : p.options) ?? [];
|
|
2653
2653
|
s("update:model-value", [
|
|
2654
|
-
...e.value.filter((
|
|
2655
|
-
...t.value.filter((
|
|
2656
|
-
({ category:
|
|
2654
|
+
...e.value.filter((M) => !v.some((F) => F.value === M.subject)),
|
|
2655
|
+
...t.value.filter((M) => L.includes(M.subject)).map(
|
|
2656
|
+
({ category: M, showByFeatureFlag: F, isCategoryCover: V, ...ae }) => ae
|
|
2657
2657
|
)
|
|
2658
2658
|
]);
|
|
2659
2659
|
}
|
|
@@ -2667,13 +2667,13 @@ function Ir(e, t, n, s) {
|
|
|
2667
2667
|
if (d(m))
|
|
2668
2668
|
s("update:model-value", L);
|
|
2669
2669
|
else {
|
|
2670
|
-
const v = t.value.filter((p) => m.options.some((
|
|
2671
|
-
({ category: p, showByFeatureFlag:
|
|
2670
|
+
const v = t.value.filter((p) => m.options.some((M) => M.value === p.subject)).map(
|
|
2671
|
+
({ category: p, showByFeatureFlag: M, isCategoryCover: F, ...V }) => V
|
|
2672
2672
|
);
|
|
2673
2673
|
s("update:model-value", [...L, ...v]);
|
|
2674
2674
|
}
|
|
2675
2675
|
}
|
|
2676
|
-
function
|
|
2676
|
+
function h(m, L) {
|
|
2677
2677
|
const v = m.selectedActionsMap.get(L);
|
|
2678
2678
|
return v ? v.has("manage") : !1;
|
|
2679
2679
|
}
|
|
@@ -2682,21 +2682,21 @@ function Ir(e, t, n, s) {
|
|
|
2682
2682
|
if (!v) return !1;
|
|
2683
2683
|
const p = v.filter((V) => V !== "manage");
|
|
2684
2684
|
if (p.length === 0) return !1;
|
|
2685
|
-
const
|
|
2686
|
-
if (!
|
|
2687
|
-
const F = p.filter((V) =>
|
|
2685
|
+
const M = m.selectedActionsMap.get(L);
|
|
2686
|
+
if (!M) return !1;
|
|
2687
|
+
const F = p.filter((V) => M.has(V));
|
|
2688
2688
|
return F.length > 0 && F.length < p.length;
|
|
2689
2689
|
}
|
|
2690
2690
|
function T(m, L, v) {
|
|
2691
2691
|
if (v) {
|
|
2692
|
-
const p = t.value.find((
|
|
2692
|
+
const p = t.value.find((D) => D.subject === L);
|
|
2693
2693
|
if (!p) return;
|
|
2694
2694
|
const {
|
|
2695
|
-
category:
|
|
2695
|
+
category: M,
|
|
2696
2696
|
showByFeatureFlag: F,
|
|
2697
2697
|
isCategoryCover: V,
|
|
2698
2698
|
...ae
|
|
2699
|
-
} = p, O = e.value.filter((
|
|
2699
|
+
} = p, O = e.value.filter((D) => D.subject !== L);
|
|
2700
2700
|
O.push(ae), s("update:model-value", O);
|
|
2701
2701
|
} else
|
|
2702
2702
|
s(
|
|
@@ -2704,7 +2704,7 @@ function Ir(e, t, n, s) {
|
|
|
2704
2704
|
e.value.filter((p) => p.subject !== L)
|
|
2705
2705
|
);
|
|
2706
2706
|
}
|
|
2707
|
-
function
|
|
2707
|
+
function E(m, L) {
|
|
2708
2708
|
const v = m.permissionActionsMap.get(L);
|
|
2709
2709
|
return v ? v.some((p) => p !== "manage") : !1;
|
|
2710
2710
|
}
|
|
@@ -2723,25 +2723,25 @@ function Ir(e, t, n, s) {
|
|
|
2723
2723
|
return p ? p.includes(v) : !1;
|
|
2724
2724
|
}
|
|
2725
2725
|
function i(m, L, v) {
|
|
2726
|
-
const p = [...e.value],
|
|
2726
|
+
const p = [...e.value], M = p.findIndex((V) => V.subject === m && !V.inverted);
|
|
2727
2727
|
if (v)
|
|
2728
|
-
if (
|
|
2729
|
-
const V = { ...p[
|
|
2730
|
-
ae.add(L), V.actions = Array.from(ae), p[
|
|
2728
|
+
if (M >= 0) {
|
|
2729
|
+
const V = { ...p[M] }, ae = new Set(V.actions);
|
|
2730
|
+
ae.add(L), V.actions = Array.from(ae), p[M] = V;
|
|
2731
2731
|
} else {
|
|
2732
|
-
const V = t.value.find((
|
|
2732
|
+
const V = t.value.find((Y) => Y.subject === m);
|
|
2733
2733
|
if (!V) return;
|
|
2734
2734
|
const {
|
|
2735
2735
|
category: ae,
|
|
2736
2736
|
showByFeatureFlag: O,
|
|
2737
|
-
isCategoryCover:
|
|
2737
|
+
isCategoryCover: D,
|
|
2738
2738
|
...C
|
|
2739
2739
|
} = V;
|
|
2740
2740
|
p.push({ ...C, actions: [L] });
|
|
2741
2741
|
}
|
|
2742
|
-
else if (
|
|
2743
|
-
const V = { ...p[
|
|
2744
|
-
ae.length === 0 ? p.splice(
|
|
2742
|
+
else if (M >= 0) {
|
|
2743
|
+
const V = { ...p[M] }, ae = V.actions.filter((O) => O !== L);
|
|
2744
|
+
ae.length === 0 ? p.splice(M, 1) : (V.actions = ae, p[M] = V);
|
|
2745
2745
|
}
|
|
2746
2746
|
const F = t.value.find((V) => V.subject === m);
|
|
2747
2747
|
F && Ln(p, m, F.actions), s("update:model-value", p);
|
|
@@ -2756,39 +2756,39 @@ function Ir(e, t, n, s) {
|
|
|
2756
2756
|
}
|
|
2757
2757
|
function y(m, L) {
|
|
2758
2758
|
const v = m.options.filter(
|
|
2759
|
-
(
|
|
2759
|
+
(M) => A(m, M.value, L)
|
|
2760
2760
|
);
|
|
2761
2761
|
if (v.length === 0) return !1;
|
|
2762
2762
|
const p = v.filter(
|
|
2763
|
-
(
|
|
2763
|
+
(M) => w(m, M.value, L) || N(m, M.value, L)
|
|
2764
2764
|
).length;
|
|
2765
2765
|
return p > 0 && p < v.length;
|
|
2766
2766
|
}
|
|
2767
|
-
function
|
|
2767
|
+
function b(m, L, v) {
|
|
2768
2768
|
const p = [...e.value];
|
|
2769
|
-
for (const
|
|
2770
|
-
if (!A(m,
|
|
2771
|
-
const F =
|
|
2769
|
+
for (const M of m.options) {
|
|
2770
|
+
if (!A(m, M.value, L)) continue;
|
|
2771
|
+
const F = M.value, V = p.findIndex(
|
|
2772
2772
|
(O) => O.subject === F && !O.inverted
|
|
2773
2773
|
);
|
|
2774
2774
|
if (v)
|
|
2775
2775
|
if (V >= 0) {
|
|
2776
|
-
const O = { ...p[V] },
|
|
2777
|
-
|
|
2776
|
+
const O = { ...p[V] }, D = new Set(O.actions);
|
|
2777
|
+
D.add(L), O.actions = Array.from(D), p[V] = O;
|
|
2778
2778
|
} else {
|
|
2779
2779
|
const O = t.value.find((U) => U.subject === F);
|
|
2780
2780
|
if (!O) continue;
|
|
2781
2781
|
const {
|
|
2782
|
-
category:
|
|
2782
|
+
category: D,
|
|
2783
2783
|
showByFeatureFlag: C,
|
|
2784
|
-
isCategoryCover:
|
|
2784
|
+
isCategoryCover: Y,
|
|
2785
2785
|
...x
|
|
2786
2786
|
} = O;
|
|
2787
2787
|
p.push({ ...x, actions: [L] });
|
|
2788
2788
|
}
|
|
2789
2789
|
else if (V >= 0) {
|
|
2790
|
-
const O = { ...p[V] },
|
|
2791
|
-
|
|
2790
|
+
const O = { ...p[V] }, D = O.actions.filter((C) => C !== L);
|
|
2791
|
+
D.length === 0 ? p.splice(V, 1) : (O.actions = D, p[V] = O);
|
|
2792
2792
|
}
|
|
2793
2793
|
const ae = t.value.find((O) => O.subject === F);
|
|
2794
2794
|
ae && Ln(p, F, ae.actions);
|
|
@@ -2808,10 +2808,10 @@ function Ir(e, t, n, s) {
|
|
|
2808
2808
|
toggleCategory: c,
|
|
2809
2809
|
isAllManageChecked: d,
|
|
2810
2810
|
toggleAllManage: u,
|
|
2811
|
-
isManageChecked:
|
|
2811
|
+
isManageChecked: h,
|
|
2812
2812
|
isManageIndeterminate: k,
|
|
2813
2813
|
toggleManage: T,
|
|
2814
|
-
hasNonManageActions:
|
|
2814
|
+
hasNonManageActions: E,
|
|
2815
2815
|
isActionChecked: w,
|
|
2816
2816
|
isRowFullyCoveredByCover: W,
|
|
2817
2817
|
isActionCoveredByCover: N,
|
|
@@ -2819,14 +2819,14 @@ function Ir(e, t, n, s) {
|
|
|
2819
2819
|
toggleAction: i,
|
|
2820
2820
|
isAllActionChecked: f,
|
|
2821
2821
|
isAllActionIndeterminate: y,
|
|
2822
|
-
toggleAllAction:
|
|
2822
|
+
toggleAllAction: b,
|
|
2823
2823
|
actionLabel: R
|
|
2824
2824
|
};
|
|
2825
2825
|
}
|
|
2826
2826
|
const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
2827
2827
|
key: 1,
|
|
2828
2828
|
class: "space-y-16"
|
|
2829
|
-
}, kr = { class: "flex items-end justify-between" }, Tr = { class: "fm-typo-en-title-sm-600" }, Or = { class: "flex" }, Lr = { class: "form-input" }, Cr = { class: "flex items-center justify-between q-mb-xs" }, Rr = { class: "flex shrink-0" }, Ar = { class: "flex items-center justify-between gap-4" }, Sr = { class: "flex items-center min-w-0 flex-1 gap-8" },
|
|
2829
|
+
}, kr = { class: "flex items-end justify-between" }, Tr = { class: "fm-typo-en-title-sm-600" }, Or = { class: "flex" }, Lr = { class: "form-input" }, Cr = { class: "flex items-center justify-between q-mb-xs" }, Rr = { class: "flex shrink-0" }, Ar = { class: "flex items-center justify-between gap-4" }, Sr = { class: "flex items-center min-w-0 flex-1 gap-8" }, Dr = ["title", "onClick"], Mr = {
|
|
2830
2830
|
key: 0,
|
|
2831
2831
|
class: "flex shrink-0"
|
|
2832
2832
|
}, wr = /* @__PURE__ */ Ne({
|
|
@@ -2851,15 +2851,15 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
2851
2851
|
},
|
|
2852
2852
|
emits: ["update:model-value"],
|
|
2853
2853
|
setup(e, { emit: t }) {
|
|
2854
|
-
const n = e, s = t, l = q(() => [...
|
|
2854
|
+
const n = e, s = t, l = q(() => [...Dt, ...n.additionalPermissions]), {
|
|
2855
2855
|
categoryGroups: a,
|
|
2856
2856
|
toggleCategory: c,
|
|
2857
2857
|
isAllManageChecked: d,
|
|
2858
2858
|
toggleAllManage: u,
|
|
2859
|
-
isManageChecked:
|
|
2859
|
+
isManageChecked: h,
|
|
2860
2860
|
isManageIndeterminate: k,
|
|
2861
2861
|
toggleManage: T,
|
|
2862
|
-
hasNonManageActions:
|
|
2862
|
+
hasNonManageActions: E,
|
|
2863
2863
|
isActionChecked: w,
|
|
2864
2864
|
isRowFullyCoveredByCover: W,
|
|
2865
2865
|
isActionCoveredByCover: N,
|
|
@@ -2867,25 +2867,25 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
2867
2867
|
toggleAction: i,
|
|
2868
2868
|
isAllActionChecked: f,
|
|
2869
2869
|
isAllActionIndeterminate: y,
|
|
2870
|
-
toggleAllAction:
|
|
2870
|
+
toggleAllAction: b,
|
|
2871
2871
|
actionLabel: S
|
|
2872
|
-
} =
|
|
2872
|
+
} = Er(
|
|
2873
2873
|
Qt(n, "modelValue"),
|
|
2874
2874
|
l,
|
|
2875
2875
|
Qt(n, "excludedSubjects"),
|
|
2876
2876
|
(R, m) => s("update:model-value", m)
|
|
2877
2877
|
);
|
|
2878
2878
|
return (R, m) => {
|
|
2879
|
-
const L =
|
|
2879
|
+
const L = Ze("FmCheckbox");
|
|
2880
2880
|
return B(), ee("div", yr, [
|
|
2881
|
-
(B(!0), ee(
|
|
2881
|
+
(B(!0), ee(Ee, null, pe(H(a), (v) => (B(), ee(Ee, {
|
|
2882
2882
|
key: v.category
|
|
2883
2883
|
}, [
|
|
2884
2884
|
v.isMultiAction ? (B(), ee("div", Nr, [
|
|
2885
2885
|
te("div", kr, [
|
|
2886
2886
|
te("div", Tr, Ae(v.category), 1),
|
|
2887
2887
|
te("div", Or, [
|
|
2888
|
-
(B(!0), ee(
|
|
2888
|
+
(B(!0), ee(Ee, null, pe(v.actionColumns, (p) => (B(), ee("span", {
|
|
2889
2889
|
key: p,
|
|
2890
2890
|
class: "w-[56px] text-center fm-typo-en-body-sm-400 text-fm-color-neutral-gray-600"
|
|
2891
2891
|
}, Ae(H(S)(p)), 1))), 128))
|
|
@@ -2903,7 +2903,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
2903
2903
|
"onUpdate:modelValue": (p) => H(u)(v)
|
|
2904
2904
|
}, null, 8, ["model-value", "disabled", "onUpdate:modelValue"]),
|
|
2905
2905
|
te("div", Rr, [
|
|
2906
|
-
(B(!0), ee(
|
|
2906
|
+
(B(!0), ee(Ee, null, pe(v.actionColumns, (p) => (B(), ee("div", {
|
|
2907
2907
|
key: p,
|
|
2908
2908
|
class: "w-[56px] flex justify-center"
|
|
2909
2909
|
}, [
|
|
@@ -2914,19 +2914,19 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
2914
2914
|
disabled: e.disable,
|
|
2915
2915
|
size: "sm",
|
|
2916
2916
|
dense: "",
|
|
2917
|
-
"onUpdate:modelValue": (
|
|
2917
|
+
"onUpdate:modelValue": (M) => H(b)(v, p, M)
|
|
2918
2918
|
}, null, 8, ["model-value", "indeterminate", "value", "disabled", "onUpdate:modelValue"])
|
|
2919
2919
|
]))), 128))
|
|
2920
2920
|
])
|
|
2921
2921
|
]),
|
|
2922
|
-
(B(!0), ee(
|
|
2922
|
+
(B(!0), ee(Ee, null, pe(v.options, (p, M) => (B(), ee("div", {
|
|
2923
2923
|
key: p.value,
|
|
2924
|
-
class: qe(
|
|
2924
|
+
class: qe(M < v.options.length - 1 ? "q-mb-xs" : "")
|
|
2925
2925
|
}, [
|
|
2926
2926
|
te("div", Ar, [
|
|
2927
2927
|
te("div", Sr, [
|
|
2928
2928
|
de(L, {
|
|
2929
|
-
"model-value": H(
|
|
2929
|
+
"model-value": H(h)(v, p.value) || H(W)(v, p.value),
|
|
2930
2930
|
value: p.value,
|
|
2931
2931
|
disabled: e.disable || H(W)(v, p.value),
|
|
2932
2932
|
indeterminate: H(k)(v, p.value),
|
|
@@ -2937,12 +2937,12 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
2937
2937
|
te("span", {
|
|
2938
2938
|
class: "block truncate cursor-pointer",
|
|
2939
2939
|
title: p.label,
|
|
2940
|
-
onClick: (F) => !e.disable && !H(W)(v, p.value) && H(T)(v, p.value, !H(
|
|
2941
|
-
}, Ae(p.label), 9,
|
|
2942
|
-
|
|
2940
|
+
onClick: (F) => !e.disable && !H(W)(v, p.value) && H(T)(v, p.value, !H(h)(v, p.value))
|
|
2941
|
+
}, Ae(p.label), 9, Dr),
|
|
2942
|
+
he(R.$slots, `checkbox-${p.value}-append`, { option: p })
|
|
2943
2943
|
]),
|
|
2944
|
-
H(
|
|
2945
|
-
(B(!0), ee(
|
|
2944
|
+
H(E)(v, p.value) ? (B(), ee("div", Mr, [
|
|
2945
|
+
(B(!0), ee(Ee, null, pe(v.actionColumns, (F) => (B(), ee("div", {
|
|
2946
2946
|
key: F,
|
|
2947
2947
|
class: "w-[56px] flex justify-center"
|
|
2948
2948
|
}, [
|
|
@@ -2969,8 +2969,8 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
2969
2969
|
}, Fe({ _: 2 }, [
|
|
2970
2970
|
pe(v.options, (p) => ({
|
|
2971
2971
|
name: `checkbox-${p.value}-append`,
|
|
2972
|
-
fn:
|
|
2973
|
-
|
|
2972
|
+
fn: be(({ option: M }) => [
|
|
2973
|
+
he(R.$slots, `checkbox-${p.value}-append`, { option: M })
|
|
2974
2974
|
])
|
|
2975
2975
|
}))
|
|
2976
2976
|
]), 1032, ["model-value", "options", "disable", "title", "onUpdate:modelValue"]))
|
|
@@ -2999,12 +2999,12 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
2999
2999
|
}), a.observe(s.value));
|
|
3000
3000
|
}), An(() => {
|
|
3001
3001
|
a == null || a.disconnect();
|
|
3002
|
-
}), (u,
|
|
3003
|
-
const k =
|
|
3004
|
-
return B(), ee(
|
|
3002
|
+
}), (u, h) => {
|
|
3003
|
+
const k = Ze("FmButton");
|
|
3004
|
+
return B(), ee(Ee, null, [
|
|
3005
3005
|
te("div", { onClick: c }, [
|
|
3006
3006
|
te("div", Pr, [
|
|
3007
|
-
|
|
3007
|
+
he(u.$slots, "title"),
|
|
3008
3008
|
te("div", Fr, [
|
|
3009
3009
|
de(k, {
|
|
3010
3010
|
icon: n.value ? "keyboard_arrow_down" : "keyboard_arrow_up",
|
|
@@ -3021,7 +3021,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3021
3021
|
class: "transition-all duration-300 ease-in-out overflow-hidden",
|
|
3022
3022
|
style: ct({ maxHeight: n.value ? "0" : l.value + "px" })
|
|
3023
3023
|
}, [
|
|
3024
|
-
|
|
3024
|
+
he(u.$slots, "default")
|
|
3025
3025
|
], 4)
|
|
3026
3026
|
], 64);
|
|
3027
3027
|
};
|
|
@@ -3056,25 +3056,25 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3056
3056
|
disable: !!n.modelValue && n.options.length > n.modelValue.length
|
|
3057
3057
|
},
|
|
3058
3058
|
...n.options.filter(
|
|
3059
|
-
(
|
|
3059
|
+
(h) => h.label.toLocaleLowerCase().includes(u.value.toLocaleLowerCase())
|
|
3060
3060
|
)
|
|
3061
|
-
]), c = q(() => n.modelValue ? n.modelValue : [Rt, ...n.options.map((
|
|
3062
|
-
function d(
|
|
3063
|
-
const k =
|
|
3064
|
-
s("update:model-value", k ? null :
|
|
3061
|
+
]), c = q(() => n.modelValue ? n.modelValue : [Rt, ...n.options.map((h) => h.value)]);
|
|
3062
|
+
function d(h) {
|
|
3063
|
+
const k = h.length === a.value.length;
|
|
3064
|
+
s("update:model-value", k ? null : h.filter((T) => T !== Rt));
|
|
3065
3065
|
}
|
|
3066
3066
|
const u = Ue("");
|
|
3067
|
-
return (
|
|
3068
|
-
const T =
|
|
3067
|
+
return (h, k) => {
|
|
3068
|
+
const T = Ze("fm-search");
|
|
3069
3069
|
return B(), Se(jr, null, {
|
|
3070
|
-
title:
|
|
3070
|
+
title: be(() => [
|
|
3071
3071
|
te("p", Ur, Ae(H(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
3072
3072
|
]),
|
|
3073
|
-
default:
|
|
3073
|
+
default: be(() => [
|
|
3074
3074
|
e.options.length > 1 ? (B(), Se(T, {
|
|
3075
3075
|
key: 0,
|
|
3076
3076
|
modelValue: u.value,
|
|
3077
|
-
"onUpdate:modelValue": k[0] || (k[0] = (
|
|
3077
|
+
"onUpdate:modelValue": k[0] || (k[0] = (E) => u.value = E),
|
|
3078
3078
|
class: "mt-16",
|
|
3079
3079
|
placeholder: H(l)("team.memberForm.permissions.search", { context: e.context })
|
|
3080
3080
|
}, null, 8, ["modelValue", "placeholder"])) : Oe("", !0),
|
|
@@ -3089,10 +3089,10 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3089
3089
|
class: "mt-16",
|
|
3090
3090
|
"onUpdate:modelValue": d
|
|
3091
3091
|
}, Fe({ _: 2 }, [
|
|
3092
|
-
pe(a.value, (
|
|
3093
|
-
name: `checkbox-${
|
|
3094
|
-
fn:
|
|
3095
|
-
|
|
3092
|
+
pe(a.value, (E) => ({
|
|
3093
|
+
name: `checkbox-${E.value}-append`,
|
|
3094
|
+
fn: be(({ option: w }) => [
|
|
3095
|
+
he(h.$slots, `checkbox-${E.value}-append`, { option: w })
|
|
3096
3096
|
])
|
|
3097
3097
|
}))
|
|
3098
3098
|
]), 1032, ["model-value", "options", "disable"])
|
|
@@ -3131,18 +3131,18 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3131
3131
|
value: At,
|
|
3132
3132
|
disable: !!n.modelValue && n.roles.length > n.modelValue.length
|
|
3133
3133
|
},
|
|
3134
|
-
...n.roles.map((
|
|
3135
|
-
label:
|
|
3136
|
-
value:
|
|
3137
|
-
disable: !!u &&
|
|
3134
|
+
...n.roles.map((h) => ({
|
|
3135
|
+
label: h.name,
|
|
3136
|
+
value: h._id,
|
|
3137
|
+
disable: !!u && h.restaurants.every(({ id: k }) => !u.includes(k))
|
|
3138
3138
|
}))
|
|
3139
3139
|
];
|
|
3140
3140
|
}), c = q(() => n.modelValue ? n.modelValue : [At, ...n.roles.map((u) => u._id)]);
|
|
3141
3141
|
function d(u) {
|
|
3142
|
-
const
|
|
3143
|
-
s("update:model-value",
|
|
3142
|
+
const h = u.length === a.value.length;
|
|
3143
|
+
s("update:model-value", h ? null : u.filter((k) => k !== At));
|
|
3144
3144
|
}
|
|
3145
|
-
return (u,
|
|
3145
|
+
return (u, h) => (B(), Se(Kt, {
|
|
3146
3146
|
"model-value": c.value,
|
|
3147
3147
|
options: a.value,
|
|
3148
3148
|
"show-intermediate": !1,
|
|
@@ -3153,8 +3153,8 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3153
3153
|
}, Fe({ _: 2 }, [
|
|
3154
3154
|
pe(a.value, (k) => ({
|
|
3155
3155
|
name: `checkbox-${k.value}-append`,
|
|
3156
|
-
fn:
|
|
3157
|
-
|
|
3156
|
+
fn: be(({ option: T }) => [
|
|
3157
|
+
he(u.$slots, `checkbox-${k.value}-append`, { option: T })
|
|
3158
3158
|
])
|
|
3159
3159
|
}))
|
|
3160
3160
|
]), 1032, ["model-value", "options", "disable", "title"]));
|
|
@@ -3163,7 +3163,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3163
3163
|
async readWarehouses() {
|
|
3164
3164
|
return os(await is().get("/warehouses"));
|
|
3165
3165
|
}
|
|
3166
|
-
}, Gr = { class: "flex flex-col gap-32" }, xr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Xr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" },
|
|
3166
|
+
}, Gr = { class: "flex flex-col gap-32" }, xr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Xr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Zr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Yr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, tl = /* @__PURE__ */ Ne({
|
|
3167
3167
|
__name: "PortalPermissionEditor",
|
|
3168
3168
|
props: /* @__PURE__ */ qt({
|
|
3169
3169
|
disable: {
|
|
@@ -3182,52 +3182,52 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3182
3182
|
setup(e, { emit: t }) {
|
|
3183
3183
|
const n = ts(e, "modelValue"), s = e, l = t, { t: a } = _t(), { fetchCustomReportPermissions: c, customReportPermissions: d } = ss();
|
|
3184
3184
|
function u(O) {
|
|
3185
|
-
return
|
|
3185
|
+
return Dt.find((D) => D.subject === O) ?? d.value.find((D) => D.subject === O);
|
|
3186
3186
|
}
|
|
3187
|
-
const
|
|
3188
|
-
const O = [...
|
|
3187
|
+
const h = q(() => {
|
|
3188
|
+
const O = [...Dt, ...d.value].filter((C) => !w.includes(C.subject)).map((C) => C.subject);
|
|
3189
3189
|
return as(
|
|
3190
3190
|
s.inheritPermissions.map((C) => ({
|
|
3191
3191
|
...C,
|
|
3192
|
-
permissions: C.permissions.filter((
|
|
3192
|
+
permissions: C.permissions.filter((Y) => O.includes(Y.subject))
|
|
3193
3193
|
}))
|
|
3194
3194
|
).map((C) => ({
|
|
3195
3195
|
id: C.subject,
|
|
3196
3196
|
setNames: C.setNames
|
|
3197
3197
|
}));
|
|
3198
3198
|
}), k = q(() => {
|
|
3199
|
-
const O = s.inheritPermissions.map((
|
|
3200
|
-
...
|
|
3201
|
-
permissions:
|
|
3199
|
+
const O = s.inheritPermissions.map((D) => ({
|
|
3200
|
+
...D,
|
|
3201
|
+
permissions: D.permissions.filter(
|
|
3202
3202
|
(C) => C.subject === ce.Subject.Business.inventory_stock
|
|
3203
3203
|
)
|
|
3204
3204
|
}));
|
|
3205
3205
|
return Nt(
|
|
3206
3206
|
O,
|
|
3207
3207
|
"warehouseId",
|
|
3208
|
-
N.value.map((
|
|
3208
|
+
N.value.map((D) => D._id)
|
|
3209
3209
|
);
|
|
3210
3210
|
}), T = q(() => {
|
|
3211
|
-
const O = s.inheritPermissions.map((
|
|
3212
|
-
...
|
|
3213
|
-
permissions:
|
|
3211
|
+
const O = s.inheritPermissions.map((D) => ({
|
|
3212
|
+
...D,
|
|
3213
|
+
permissions: D.permissions.filter(
|
|
3214
3214
|
(C) => C.subject === ce.Subject.Restaurant.restaurant
|
|
3215
3215
|
)
|
|
3216
3216
|
}));
|
|
3217
3217
|
return Nt(
|
|
3218
3218
|
O,
|
|
3219
3219
|
"restaurantId",
|
|
3220
|
-
y.value.map((
|
|
3220
|
+
y.value.map((D) => D._id)
|
|
3221
3221
|
);
|
|
3222
|
-
}),
|
|
3223
|
-
const O = s.inheritPermissions.map((
|
|
3224
|
-
...
|
|
3225
|
-
permissions:
|
|
3222
|
+
}), E = q(() => {
|
|
3223
|
+
const O = s.inheritPermissions.map((D) => ({
|
|
3224
|
+
...D,
|
|
3225
|
+
permissions: D.permissions.filter((C) => C.subject === ce.Subject.Business.role)
|
|
3226
3226
|
}));
|
|
3227
3227
|
return Nt(
|
|
3228
3228
|
O,
|
|
3229
3229
|
"roleId",
|
|
3230
|
-
|
|
3230
|
+
b.value.map((D) => D._id)
|
|
3231
3231
|
);
|
|
3232
3232
|
}), w = [
|
|
3233
3233
|
ce.Subject.Business.restaurant,
|
|
@@ -3235,8 +3235,8 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3235
3235
|
ce.Subject.Restaurant.restaurant,
|
|
3236
3236
|
ce.Subject.Business.inventory_stock
|
|
3237
3237
|
], W = q(() => {
|
|
3238
|
-
var
|
|
3239
|
-
const O = (
|
|
3238
|
+
var D;
|
|
3239
|
+
const O = (D = n.value) == null ? void 0 : D.find(
|
|
3240
3240
|
(C) => C.subject === ce.Subject.Business.inventory_stock
|
|
3241
3241
|
);
|
|
3242
3242
|
return O ? O.conditions ? JSON.parse(O.conditions).warehouseId.$in : null : [];
|
|
@@ -3245,39 +3245,39 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3245
3245
|
value: O._id
|
|
3246
3246
|
})));
|
|
3247
3247
|
function i(O) {
|
|
3248
|
-
const
|
|
3249
|
-
n.value =
|
|
3248
|
+
const D = f(n.value, O);
|
|
3249
|
+
n.value = D;
|
|
3250
3250
|
}
|
|
3251
|
-
function f(O,
|
|
3251
|
+
function f(O, D) {
|
|
3252
3252
|
let C = ut(
|
|
3253
|
-
O.filter((
|
|
3253
|
+
O.filter((Y) => Y.subject !== ce.Subject.Business.inventory_stock)
|
|
3254
3254
|
);
|
|
3255
|
-
if (!
|
|
3256
|
-
const
|
|
3255
|
+
if (!D || D.length > 0) {
|
|
3256
|
+
const Y = {
|
|
3257
3257
|
actions: [ce.Action.manage],
|
|
3258
3258
|
subject: ce.Subject.Business.inventory_stock
|
|
3259
3259
|
};
|
|
3260
|
-
|
|
3260
|
+
D && (Y.conditions = JSON.stringify({ warehouseId: { $in: D } })), C.push(Y);
|
|
3261
3261
|
}
|
|
3262
3262
|
return C;
|
|
3263
3263
|
}
|
|
3264
|
-
const { restaurants: y } = ns(),
|
|
3264
|
+
const { restaurants: y } = ns(), b = ds().roles, S = q(() => y.value.map((O) => ({
|
|
3265
3265
|
label: `${O.profile.code ? O.profile.code + "-" : ""}${O.profile.name}`,
|
|
3266
3266
|
value: O._id
|
|
3267
|
-
}))), R = q(() => y.value.reduce((O,
|
|
3267
|
+
}))), R = q(() => y.value.reduce((O, D) => (O[D._id] = b.value.filter((C) => C.restaurants.some((Y) => Y.id === D._id)).map((C) => C._id), O), {})), m = q(() => rs(n.value));
|
|
3268
3268
|
function L(O) {
|
|
3269
|
-
const
|
|
3270
|
-
n.value =
|
|
3269
|
+
const D = p(n.value, O);
|
|
3270
|
+
n.value = D;
|
|
3271
3271
|
}
|
|
3272
3272
|
const v = q(() => ls(n.value));
|
|
3273
|
-
function p(O,
|
|
3274
|
-
var
|
|
3273
|
+
function p(O, D) {
|
|
3274
|
+
var Y;
|
|
3275
3275
|
let C = ut(
|
|
3276
3276
|
O.filter(
|
|
3277
3277
|
(x) => x.subject !== ce.Subject.Business.restaurant && x.subject !== ce.Subject.Restaurant.restaurant
|
|
3278
3278
|
)
|
|
3279
3279
|
);
|
|
3280
|
-
if (!
|
|
3280
|
+
if (!D || D.length > 0) {
|
|
3281
3281
|
const {
|
|
3282
3282
|
category: x,
|
|
3283
3283
|
showByFeatureFlag: U,
|
|
@@ -3288,34 +3288,34 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3288
3288
|
actions: [ce.Action.manage],
|
|
3289
3289
|
subject: ce.Subject.Restaurant.restaurant
|
|
3290
3290
|
};
|
|
3291
|
-
|
|
3291
|
+
D && (X.conditions = JSON.stringify({ restaurantId: { $in: D } })), C.push(X);
|
|
3292
3292
|
}
|
|
3293
|
-
if (
|
|
3293
|
+
if (D) {
|
|
3294
3294
|
const x = [
|
|
3295
|
-
...new Set(
|
|
3296
|
-
], U =
|
|
3295
|
+
...new Set(D.map((G) => R.value[G]).flatMap((G) => G))
|
|
3296
|
+
], U = b.value.map((G) => G._id);
|
|
3297
3297
|
x.length !== U.length && (C = F(
|
|
3298
3298
|
C,
|
|
3299
|
-
(
|
|
3299
|
+
(Y = v.value || U) == null ? void 0 : Y.filter((G) => x.includes(G))
|
|
3300
3300
|
));
|
|
3301
3301
|
}
|
|
3302
3302
|
return C;
|
|
3303
3303
|
}
|
|
3304
|
-
function
|
|
3305
|
-
const
|
|
3306
|
-
n.value =
|
|
3304
|
+
function M(O) {
|
|
3305
|
+
const D = F(n.value, O);
|
|
3306
|
+
n.value = D;
|
|
3307
3307
|
}
|
|
3308
|
-
function F(O,
|
|
3308
|
+
function F(O, D) {
|
|
3309
3309
|
let C = ut(
|
|
3310
|
-
O.filter((
|
|
3310
|
+
O.filter((Y) => Y.subject !== ce.Subject.Business.role)
|
|
3311
3311
|
);
|
|
3312
|
-
if (
|
|
3313
|
-
const
|
|
3312
|
+
if (D && D.length > 0) {
|
|
3313
|
+
const Y = {
|
|
3314
3314
|
actions: [ce.Action.manage],
|
|
3315
3315
|
subject: ce.Subject.Business.role,
|
|
3316
|
-
conditions: JSON.stringify({ roleId: { $in:
|
|
3316
|
+
conditions: JSON.stringify({ roleId: { $in: D } })
|
|
3317
3317
|
};
|
|
3318
|
-
C.push(
|
|
3318
|
+
C.push(Y);
|
|
3319
3319
|
}
|
|
3320
3320
|
return C;
|
|
3321
3321
|
}
|
|
@@ -3329,37 +3329,37 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3329
3329
|
n.value,
|
|
3330
3330
|
Tt
|
|
3331
3331
|
).filter((C) => {
|
|
3332
|
-
const
|
|
3333
|
-
return (
|
|
3332
|
+
const Y = C.source;
|
|
3333
|
+
return (Y == null ? void 0 : Y.type) !== "systemPermissionSet" ? !0 : C.actions.includes("manage");
|
|
3334
3334
|
}).map((C) => {
|
|
3335
3335
|
if (C.inverted) return C;
|
|
3336
|
-
const
|
|
3337
|
-
if (!
|
|
3336
|
+
const Y = C.actions;
|
|
3337
|
+
if (!Y.includes("manage")) return C;
|
|
3338
3338
|
const x = u(C.subject);
|
|
3339
3339
|
if (!x) return C;
|
|
3340
3340
|
const U = x.actions;
|
|
3341
|
-
return U.length <= 1 || U.filter((X) => !
|
|
3341
|
+
return U.length <= 1 || U.filter((X) => !Y.includes(X)).length === 0 ? C : { ...C, actions: [...U] };
|
|
3342
3342
|
}));
|
|
3343
3343
|
function ae(O) {
|
|
3344
|
-
const
|
|
3344
|
+
const D = new Set(
|
|
3345
3345
|
V.value.filter((U) => !U.inverted).map((U) => U.subject)
|
|
3346
3346
|
), C = new Set(
|
|
3347
3347
|
O.filter((U) => !U.inverted).map((U) => U.subject)
|
|
3348
|
-
),
|
|
3348
|
+
), Y = new Set(
|
|
3349
3349
|
n.value.filter((U) => !U.inverted).map((U) => U.subject)
|
|
3350
3350
|
);
|
|
3351
3351
|
let x = [...n.value];
|
|
3352
|
-
for (const U of
|
|
3353
|
-
C.has(U) || (
|
|
3352
|
+
for (const U of D)
|
|
3353
|
+
C.has(U) || (Y.has(U) && (x = x.filter((X) => X.subject !== U)), (!Y.has(U) || kt(
|
|
3354
3354
|
x,
|
|
3355
3355
|
Tt
|
|
3356
3356
|
).some(
|
|
3357
3357
|
(X) => X.subject === U && !X.inverted && X.actions.includes("manage")
|
|
3358
3358
|
)) && !x.some((X) => X.subject === U && X.inverted) && x.push({ subject: U, actions: ["manage"], inverted: !0 }));
|
|
3359
3359
|
for (const U of C)
|
|
3360
|
-
if (!
|
|
3360
|
+
if (!D.has(U)) {
|
|
3361
3361
|
const G = x.some((X) => X.subject === U && X.inverted);
|
|
3362
|
-
if (x = x.filter((X) => !(X.subject === U && X.inverted)), !G && !
|
|
3362
|
+
if (x = x.filter((X) => !(X.subject === U && X.inverted)), !G && !Y.has(U)) {
|
|
3363
3363
|
const X = O.find(
|
|
3364
3364
|
(_e) => _e.subject === U && !_e.inverted
|
|
3365
3365
|
), ve = u(U);
|
|
@@ -3370,7 +3370,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3370
3370
|
}
|
|
3371
3371
|
}
|
|
3372
3372
|
for (const U of C) {
|
|
3373
|
-
if (!
|
|
3373
|
+
if (!D.has(U)) continue;
|
|
3374
3374
|
const G = V.value.find(
|
|
3375
3375
|
(ne) => ne.subject === U && !ne.inverted
|
|
3376
3376
|
), X = O.find((ne) => ne.subject === U && !ne.inverted);
|
|
@@ -3387,7 +3387,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3387
3387
|
else {
|
|
3388
3388
|
const ne = u(U);
|
|
3389
3389
|
if (ne) {
|
|
3390
|
-
const { category:
|
|
3390
|
+
const { category: Ie, showByFeatureFlag: Je, ...$e } = ne;
|
|
3391
3391
|
x.push({ ...$e, actions: Array.from(_e) });
|
|
3392
3392
|
}
|
|
3393
3393
|
}
|
|
@@ -3395,8 +3395,8 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3395
3395
|
x,
|
|
3396
3396
|
Tt
|
|
3397
3397
|
).some(
|
|
3398
|
-
(
|
|
3399
|
-
) && !x.some((
|
|
3398
|
+
(Ie) => Ie.subject === U && !Ie.inverted && Ie.actions.includes("manage")
|
|
3399
|
+
) && !x.some((Ie) => Ie.subject === U && Ie.inverted) && x.push({ subject: U, actions: ["manage"], inverted: !0 }), !ve.has("manage") && _e.has("manage") && (x = x.filter((ne) => !(ne.subject === U && ne.inverted)));
|
|
3400
3400
|
}
|
|
3401
3401
|
n.value = x;
|
|
3402
3402
|
}
|
|
@@ -3406,7 +3406,7 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3406
3406
|
l("permissionChanged", O);
|
|
3407
3407
|
},
|
|
3408
3408
|
{ deep: !0 }
|
|
3409
|
-
), (O,
|
|
3409
|
+
), (O, D) => (B(), ee("div", Gr, [
|
|
3410
3410
|
te("div", xr, [
|
|
3411
3411
|
de(wr, {
|
|
3412
3412
|
"model-value": V.value,
|
|
@@ -3414,9 +3414,9 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3414
3414
|
"additional-permissions": H(d),
|
|
3415
3415
|
"onUpdate:modelValue": ae
|
|
3416
3416
|
}, Fe({ _: 2 }, [
|
|
3417
|
-
pe(
|
|
3417
|
+
pe(h.value, (C) => ({
|
|
3418
3418
|
name: `checkbox-${C.id}-append`,
|
|
3419
|
-
fn:
|
|
3419
|
+
fn: be(() => [
|
|
3420
3420
|
de(it, { item: C }, null, 8, ["item"])
|
|
3421
3421
|
])
|
|
3422
3422
|
}))
|
|
@@ -3431,13 +3431,13 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3431
3431
|
}, Fe({ _: 2 }, [
|
|
3432
3432
|
pe(k.value, (C) => ({
|
|
3433
3433
|
name: `checkbox-${C.id}-append`,
|
|
3434
|
-
fn:
|
|
3434
|
+
fn: be(() => [
|
|
3435
3435
|
de(it, { item: C }, null, 8, ["item"])
|
|
3436
3436
|
])
|
|
3437
3437
|
}))
|
|
3438
3438
|
]), 1032, ["model-value", "options", "context"])
|
|
3439
3439
|
]),
|
|
3440
|
-
te("div",
|
|
3440
|
+
te("div", Zr, [
|
|
3441
3441
|
de(Rn, {
|
|
3442
3442
|
"model-value": m.value,
|
|
3443
3443
|
options: S.value,
|
|
@@ -3446,22 +3446,22 @@ const yr = { class: "flex flex-col gap-16" }, Nr = {
|
|
|
3446
3446
|
}, Fe({ _: 2 }, [
|
|
3447
3447
|
pe(T.value, (C) => ({
|
|
3448
3448
|
name: `checkbox-${C.id}-append`,
|
|
3449
|
-
fn:
|
|
3449
|
+
fn: be(() => [
|
|
3450
3450
|
de(it, { item: C }, null, 8, ["item"])
|
|
3451
3451
|
])
|
|
3452
3452
|
}))
|
|
3453
3453
|
]), 1032, ["model-value", "options", "context"])
|
|
3454
3454
|
]),
|
|
3455
|
-
te("div",
|
|
3455
|
+
te("div", Yr, [
|
|
3456
3456
|
de(Vr, {
|
|
3457
|
-
roles: H(
|
|
3457
|
+
roles: H(b),
|
|
3458
3458
|
"model-value": v.value,
|
|
3459
3459
|
"restaurant-ids": m.value,
|
|
3460
|
-
"onUpdate:modelValue":
|
|
3460
|
+
"onUpdate:modelValue": M
|
|
3461
3461
|
}, Fe({ _: 2 }, [
|
|
3462
|
-
pe(
|
|
3462
|
+
pe(E.value, (C) => ({
|
|
3463
3463
|
name: `checkbox-${C.id}-append`,
|
|
3464
|
-
fn:
|
|
3464
|
+
fn: be(() => [
|
|
3465
3465
|
de(it, { item: C }, null, 8, ["item"])
|
|
3466
3466
|
])
|
|
3467
3467
|
}))
|