@feedmepos/mf-hrm-portal 2.0.15-dev → 2.0.15-dev.2
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-DBIsI4YF.js → AuditLogList-_iGkRjav.js} +4 -4
- package/dist/EmployeeList-BsauFDHA.js +736 -0
- package/dist/{Main-BAZAQTWi.js → Main-CWSLq8gH.js} +4 -4
- package/dist/{Main-D7yzD5SW.js → Main-D0eoxqEG.js} +5 -5
- package/dist/{Main-B3YiMuFq.js → Main-DWBJw_Ta.js} +1298 -1294
- package/dist/{PermissionSetList-DBT9LtfT.js → PermissionSetList-CzFf90Bv.js} +30 -30
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BfqnjeTK.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CBcnIfck.js} +725 -725
- package/dist/RoleList-CsdcFHQK.js +528 -0
- package/dist/{TeamMemberList-BCv5Vixx.js → TeamMemberList-CI24SCZz.js} +327 -324
- package/dist/{TimesheetList-DpMBgVtY.js → TimesheetList-eD8-rA_L.js} +7 -7
- package/dist/{app-pvHHFjbx.js → app-DnT6yzx7.js} +242 -283
- package/dist/app.js +2 -2
- package/dist/{dayjs.min-BK_bM9xY.js → dayjs.min-L-465Ow8.js} +1 -1
- package/dist/{employee-DhkixwiI.js → employee-DGjXlPn1.js} +71 -74
- package/dist/{index-DK4fVbTF.js → index-DOpSY75_.js} +1 -1
- package/dist/{iteration-Bk3cnP07.js → iteration-CAxWl04o.js} +1 -1
- package/dist/{lodash-TrOlqj07.js → lodash-VfbpRiGW.js} +1 -1
- package/dist/rule-D6eh6FDn.js +991 -0
- package/dist/src/helpers/rule.d.ts +1 -1
- package/dist/src/stores/employee.d.ts +124 -19
- package/dist/src/types/employee.d.ts +3 -0
- package/dist/src/views/hr/employee/EmployeeList.vue.d.ts +4 -0
- package/dist/style.css +1 -1
- package/dist/{timesheet-DSQeCVfL.js → timesheet-B11NLk-Z.js} +9 -9
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/useAppStore-BaDI6IZu.js +171 -0
- package/dist/useDiscardConfirm-BHni0LNu.js +28 -0
- package/dist/{useLoading-fEAOlgoV.js → useLoading-B2CoUwmJ.js} +1 -1
- package/dist/{useReportPermissions-CkOk_2tl.js → useReportPermissions-BfjLdcAd.js} +3 -3
- package/dist/utils-BZkjJbju.js +17 -0
- package/package.json +1 -1
- package/dist/EmployeeList-BOSxLZbY.js +0 -702
- package/dist/RoleList-DeE5tN-5.js +0 -519
- package/dist/index-Bckj5jnu.js +0 -998
- package/dist/useAppStore-DwfwjZpc.js +0 -168
- package/dist/useRestaurantMap-e9fQJiLC.js +0 -39
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { getCurrentInstance as xt, inject as $n, ref as Ue, shallowRef as
|
|
1
|
+
import { getCurrentInstance as xt, inject as $n, ref as Ue, shallowRef as Kn, computed as te, watch as St, onMounted as Xt, onUnmounted as An, defineComponent as Ne, h as Sn, createVNode as _e, Text as zn, Fragment as Ie, resolveComponent as Ze, createBlock as Se, openBlock as H, withCtx as ge, createElementVNode as ae, createElementBlock as se, toDisplayString as Ae, unref as Y, renderList as he, renderSlot as be, 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 Dt,
|
|
5
|
-
import { d as ut, g as os, b as is } from "./iteration-
|
|
6
|
-
import {
|
|
7
|
-
import { u as ds } from "./index-
|
|
8
|
-
import { u as fs } from "./useAppStore-
|
|
4
|
+
import { p as Dt, d as ss, v as as, w as Nt, x as rs, j as ls, $ as kt } from "./rule-D6eh6FDn.js";
|
|
5
|
+
import { d as ut, g as os, b as is } from "./iteration-CAxWl04o.js";
|
|
6
|
+
import { C as cs, p as us, u as me, k as ms, A as Tt } from "./app-DnT6yzx7.js";
|
|
7
|
+
import { u as ds } from "./index-DOpSY75_.js";
|
|
8
|
+
import { u as fs } from "./useAppStore-BaDI6IZu.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), _s = (e, t, n) => ps({ l: e, k: t, s: n }), ps = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), de = (e) => typeof e == "number" && isFinite(e),
|
|
14
|
+
const en = typeof window < "u", Ve = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), _s = (e, t, n) => ps({ l: e, k: t, s: n }), ps = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), de = (e) => typeof e == "number" && isFinite(e), hs = (e) => Zt(e) === "[object Date]", dt = (e) => Zt(e) === "[object RegExp]", pt = (e) => $(e) && Object.keys(e).length === 0, fe = Object.assign, gs = Object.create, q = (e = null) => gs(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 : q());
|
|
17
17
|
function nn(e) {
|
|
18
18
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
19
19
|
}
|
|
20
|
-
const
|
|
21
|
-
function
|
|
22
|
-
return
|
|
20
|
+
const bs = Object.prototype.hasOwnProperty;
|
|
21
|
+
function ye(e, t) {
|
|
22
|
+
return bs.call(e, t);
|
|
23
23
|
}
|
|
24
|
-
const ue = Array.isArray, le = (e) => typeof e == "function", F = (e) => typeof e == "string", ce = (e) => typeof e == "boolean",
|
|
25
|
-
function
|
|
24
|
+
const ue = Array.isArray, le = (e) => typeof e == "function", F = (e) => typeof e == "string", ce = (e) => typeof e == "boolean", K = (e) => e !== null && typeof e == "object", vs = (e) => K(e) && le(e.then) && le(e.catch), Dn = Object.prototype.toString, Zt = (e) => Dn.call(e), $ = (e) => Zt(e) === "[object Object]", Es = (e) => e == null ? "" : ue(e) || $(e) && e.toString === Dn ? JSON.stringify(e, null, 2) : String(e);
|
|
25
|
+
function Bt(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
|
-
const rt = (e) => !
|
|
31
|
+
const rt = (e) => !K(e) || ue(e);
|
|
32
32
|
function mt(e, t) {
|
|
33
33
|
if (rt(e) || rt(t))
|
|
34
34
|
throw new Error("Invalid value");
|
|
@@ -36,11 +36,11 @@ function mt(e, t) {
|
|
|
36
36
|
for (; n.length; ) {
|
|
37
37
|
const { src: s, des: l } = n.pop();
|
|
38
38
|
Object.keys(s).forEach((a) => {
|
|
39
|
-
a !== "__proto__" && (
|
|
39
|
+
a !== "__proto__" && (K(s[a]) && !K(l[a]) && (l[a] = Array.isArray(s[a]) ? [] : q()), rt(l[a]) || rt(s[a]) ? l[a] = s[a] : n.push({ src: s[a], des: l[a] }));
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function ys(e, t, n) {
|
|
44
44
|
return { line: e, column: t, offset: n };
|
|
45
45
|
}
|
|
46
46
|
function Mt(e, t, n) {
|
|
@@ -63,8 +63,8 @@ const Q = {
|
|
|
63
63
|
UNEXPECTED_EMPTY_LINKED_MODIFIER: 12,
|
|
64
64
|
UNEXPECTED_EMPTY_LINKED_KEY: 13,
|
|
65
65
|
UNEXPECTED_LEXICAL_ANALYSIS: 14
|
|
66
|
-
},
|
|
67
|
-
function
|
|
66
|
+
}, Ns = 17;
|
|
67
|
+
function ht(e, t, n = {}) {
|
|
68
68
|
const { domain: s, messages: l, args: a } = n, c = e, m = new SyntaxError(String(c));
|
|
69
69
|
return m.code = e, t && (m.location = t), m.domain = s, m;
|
|
70
70
|
}
|
|
@@ -76,35 +76,35 @@ const Te = " ", Ts = "\r", pe = `
|
|
|
76
76
|
function Cs(e) {
|
|
77
77
|
const t = e;
|
|
78
78
|
let n = 0, s = 1, l = 1, a = 0;
|
|
79
|
-
const c = (
|
|
79
|
+
const c = (b) => t[b] === Ts && t[b + 1] === pe, m = (b) => t[b] === pe, u = (b) => t[b] === Ls, p = (b) => t[b] === Os, O = (b) => c(b) || m(b) || u(b) || p(b), C = () => n, y = () => s, P = () => l, V = () => a, L = (b) => c(b) || u(b) || p(b) ? pe : t[b], M = () => L(n), i = () => L(n + a);
|
|
80
80
|
function d() {
|
|
81
81
|
return a = 0, O(n) && (s++, l = 0), c(n) && n++, n++, l++, t[n];
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function N() {
|
|
84
84
|
return c(n + a) && a++, a++, t[n + a];
|
|
85
85
|
}
|
|
86
86
|
function _() {
|
|
87
87
|
n = 0, s = 1, l = 1, a = 0;
|
|
88
88
|
}
|
|
89
|
-
function w(
|
|
90
|
-
a =
|
|
89
|
+
function w(b = 0) {
|
|
90
|
+
a = b;
|
|
91
91
|
}
|
|
92
92
|
function S() {
|
|
93
|
-
const
|
|
94
|
-
for (;
|
|
93
|
+
const b = n + a;
|
|
94
|
+
for (; b !== n; )
|
|
95
95
|
d();
|
|
96
96
|
a = 0;
|
|
97
97
|
}
|
|
98
98
|
return {
|
|
99
99
|
index: C,
|
|
100
|
-
line:
|
|
100
|
+
line: y,
|
|
101
101
|
column: P,
|
|
102
102
|
peekOffset: V,
|
|
103
103
|
charAt: L,
|
|
104
104
|
currentChar: M,
|
|
105
105
|
currentPeek: i,
|
|
106
106
|
next: d,
|
|
107
|
-
peek:
|
|
107
|
+
peek: N,
|
|
108
108
|
reset: _,
|
|
109
109
|
resetPeek: w,
|
|
110
110
|
skipToPeek: S
|
|
@@ -112,7 +112,7 @@ function Cs(e) {
|
|
|
112
112
|
}
|
|
113
113
|
const Re = void 0, Rs = ".", sn = "'", As = "tokenizer";
|
|
114
114
|
function Ss(e, t = {}) {
|
|
115
|
-
const n = t.location !== !1, s = Cs(e), l = () => s.index(), a = () =>
|
|
115
|
+
const n = t.location !== !1, s = Cs(e), l = () => s.index(), a = () => ys(s.line(), s.column(), s.index()), c = a(), m = l(), u = {
|
|
116
116
|
currentType: 13,
|
|
117
117
|
offset: m,
|
|
118
118
|
startLoc: c,
|
|
@@ -125,22 +125,22 @@ function Ss(e, t = {}) {
|
|
|
125
125
|
inLinked: !1,
|
|
126
126
|
text: ""
|
|
127
127
|
}, p = () => u, { onError: O } = t;
|
|
128
|
-
function C(r, o,
|
|
128
|
+
function C(r, o, g, ...U) {
|
|
129
129
|
const oe = p();
|
|
130
|
-
if (o.column +=
|
|
131
|
-
const
|
|
130
|
+
if (o.column += g, o.offset += g, O) {
|
|
131
|
+
const Z = n ? Mt(oe.startLoc, o) : null, f = ht(r, Z, {
|
|
132
132
|
domain: As,
|
|
133
133
|
args: U
|
|
134
134
|
});
|
|
135
135
|
O(f);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function y(r, o, g) {
|
|
139
139
|
r.endLoc = a(), r.currentType = o;
|
|
140
140
|
const U = { type: o };
|
|
141
|
-
return n && (U.loc = Mt(r.startLoc, r.endLoc)),
|
|
141
|
+
return n && (U.loc = Mt(r.startLoc, r.endLoc)), g != null && (U.value = g), U;
|
|
142
142
|
}
|
|
143
|
-
const P = (r) =>
|
|
143
|
+
const P = (r) => y(
|
|
144
144
|
r,
|
|
145
145
|
13
|
|
146
146
|
/* TokenTypes.EOF */
|
|
@@ -172,81 +172,81 @@ function Ss(e, t = {}) {
|
|
|
172
172
|
const o = r.charCodeAt(0);
|
|
173
173
|
return o >= 48 && o <= 57;
|
|
174
174
|
}
|
|
175
|
-
function
|
|
176
|
-
const { currentType:
|
|
177
|
-
if (
|
|
175
|
+
function N(r, o) {
|
|
176
|
+
const { currentType: g } = o;
|
|
177
|
+
if (g !== 2)
|
|
178
178
|
return !1;
|
|
179
179
|
L(r);
|
|
180
180
|
const U = i(r.currentPeek());
|
|
181
181
|
return r.resetPeek(), U;
|
|
182
182
|
}
|
|
183
183
|
function _(r, o) {
|
|
184
|
-
const { currentType:
|
|
185
|
-
if (
|
|
184
|
+
const { currentType: g } = o;
|
|
185
|
+
if (g !== 2)
|
|
186
186
|
return !1;
|
|
187
187
|
L(r);
|
|
188
188
|
const U = r.currentPeek() === "-" ? r.peek() : r.currentPeek(), oe = d(U);
|
|
189
189
|
return r.resetPeek(), oe;
|
|
190
190
|
}
|
|
191
191
|
function w(r, o) {
|
|
192
|
-
const { currentType:
|
|
193
|
-
if (
|
|
192
|
+
const { currentType: g } = o;
|
|
193
|
+
if (g !== 2)
|
|
194
194
|
return !1;
|
|
195
195
|
L(r);
|
|
196
196
|
const U = r.currentPeek() === sn;
|
|
197
197
|
return r.resetPeek(), U;
|
|
198
198
|
}
|
|
199
199
|
function S(r, o) {
|
|
200
|
-
const { currentType:
|
|
201
|
-
if (
|
|
200
|
+
const { currentType: g } = o;
|
|
201
|
+
if (g !== 7)
|
|
202
202
|
return !1;
|
|
203
203
|
L(r);
|
|
204
204
|
const U = r.currentPeek() === ".";
|
|
205
205
|
return r.resetPeek(), U;
|
|
206
206
|
}
|
|
207
|
-
function
|
|
208
|
-
const { currentType:
|
|
209
|
-
if (
|
|
207
|
+
function b(r, o) {
|
|
208
|
+
const { currentType: g } = o;
|
|
209
|
+
if (g !== 8)
|
|
210
210
|
return !1;
|
|
211
211
|
L(r);
|
|
212
212
|
const U = i(r.currentPeek());
|
|
213
213
|
return r.resetPeek(), U;
|
|
214
214
|
}
|
|
215
215
|
function v(r, o) {
|
|
216
|
-
const { currentType:
|
|
217
|
-
if (!(
|
|
216
|
+
const { currentType: g } = o;
|
|
217
|
+
if (!(g === 7 || g === 11))
|
|
218
218
|
return !1;
|
|
219
219
|
L(r);
|
|
220
220
|
const U = r.currentPeek() === ":";
|
|
221
221
|
return r.resetPeek(), U;
|
|
222
222
|
}
|
|
223
|
-
function
|
|
224
|
-
const { currentType:
|
|
225
|
-
if (
|
|
223
|
+
function h(r, o) {
|
|
224
|
+
const { currentType: g } = o;
|
|
225
|
+
if (g !== 9)
|
|
226
226
|
return !1;
|
|
227
227
|
const U = () => {
|
|
228
|
-
const
|
|
229
|
-
return
|
|
228
|
+
const Z = r.currentPeek();
|
|
229
|
+
return Z === "{" ? i(r.peek()) : Z === "@" || Z === "|" || Z === ":" || Z === "." || Z === Te || !Z ? !1 : Z === pe ? (r.peek(), U()) : A(r, !1);
|
|
230
230
|
}, oe = U();
|
|
231
231
|
return r.resetPeek(), oe;
|
|
232
232
|
}
|
|
233
|
-
function
|
|
233
|
+
function I(r) {
|
|
234
234
|
L(r);
|
|
235
235
|
const o = r.currentPeek() === "|";
|
|
236
236
|
return r.resetPeek(), o;
|
|
237
237
|
}
|
|
238
238
|
function A(r, o = !0) {
|
|
239
|
-
const
|
|
239
|
+
const g = (oe = !1, Z = "") => {
|
|
240
240
|
const f = r.currentPeek();
|
|
241
|
-
return f === "{" || f === "@" || !f ? oe : f === "|" ? !(
|
|
242
|
-
}, U =
|
|
241
|
+
return f === "{" || f === "@" || !f ? oe : f === "|" ? !(Z === Te || Z === pe) : f === Te ? (r.peek(), g(!0, Te)) : f === pe ? (r.peek(), g(!0, pe)) : !0;
|
|
242
|
+
}, U = g();
|
|
243
243
|
return o && r.resetPeek(), U;
|
|
244
244
|
}
|
|
245
245
|
function R(r, o) {
|
|
246
|
-
const
|
|
247
|
-
return
|
|
246
|
+
const g = r.currentChar();
|
|
247
|
+
return g === Re ? Re : o(g) ? (r.next(), g) : null;
|
|
248
248
|
}
|
|
249
|
-
function
|
|
249
|
+
function W(r) {
|
|
250
250
|
const o = r.charCodeAt(0);
|
|
251
251
|
return o >= 97 && o <= 122 || // a-z
|
|
252
252
|
o >= 65 && o <= 90 || // A-Z
|
|
@@ -254,8 +254,8 @@ function Ss(e, t = {}) {
|
|
|
254
254
|
o === 95 || // _
|
|
255
255
|
o === 36;
|
|
256
256
|
}
|
|
257
|
-
function
|
|
258
|
-
return R(r,
|
|
257
|
+
function G(r) {
|
|
258
|
+
return R(r, W);
|
|
259
259
|
}
|
|
260
260
|
function D(r) {
|
|
261
261
|
const o = r.charCodeAt(0);
|
|
@@ -273,7 +273,7 @@ function Ss(e, t = {}) {
|
|
|
273
273
|
const o = r.charCodeAt(0);
|
|
274
274
|
return o >= 48 && o <= 57;
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function B(r) {
|
|
277
277
|
return R(r, k);
|
|
278
278
|
}
|
|
279
279
|
function x(r) {
|
|
@@ -286,38 +286,38 @@ function Ss(e, t = {}) {
|
|
|
286
286
|
return R(r, x);
|
|
287
287
|
}
|
|
288
288
|
function ne(r) {
|
|
289
|
-
let o = "",
|
|
290
|
-
for (; o =
|
|
291
|
-
|
|
292
|
-
return
|
|
289
|
+
let o = "", g = "";
|
|
290
|
+
for (; o = B(r); )
|
|
291
|
+
g += o;
|
|
292
|
+
return g;
|
|
293
293
|
}
|
|
294
294
|
function J(r) {
|
|
295
295
|
let o = "";
|
|
296
296
|
for (; ; ) {
|
|
297
|
-
const
|
|
298
|
-
if (
|
|
297
|
+
const g = r.currentChar();
|
|
298
|
+
if (g === "{" || g === "}" || g === "@" || g === "|" || !g)
|
|
299
299
|
break;
|
|
300
|
-
if (
|
|
300
|
+
if (g === Te || g === pe)
|
|
301
301
|
if (A(r))
|
|
302
|
-
o +=
|
|
302
|
+
o += g, r.next();
|
|
303
303
|
else {
|
|
304
|
-
if (
|
|
304
|
+
if (I(r))
|
|
305
305
|
break;
|
|
306
|
-
o +=
|
|
306
|
+
o += g, r.next();
|
|
307
307
|
}
|
|
308
308
|
else
|
|
309
|
-
o +=
|
|
309
|
+
o += g, r.next();
|
|
310
310
|
}
|
|
311
311
|
return o;
|
|
312
312
|
}
|
|
313
313
|
function X(r) {
|
|
314
314
|
M(r);
|
|
315
|
-
let o = "",
|
|
315
|
+
let o = "", g = "";
|
|
316
316
|
for (; o = T(r); )
|
|
317
|
-
|
|
318
|
-
return r.currentChar() === Re && C(Q.UNTERMINATED_CLOSING_BRACE, a(), 0),
|
|
317
|
+
g += o;
|
|
318
|
+
return r.currentChar() === Re && C(Q.UNTERMINATED_CLOSING_BRACE, a(), 0), g;
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function z(r) {
|
|
321
321
|
M(r);
|
|
322
322
|
let o = "";
|
|
323
323
|
return r.currentChar() === "-" ? (r.next(), o += `-${ne(r)}`) : o += ne(r), r.currentChar() === Re && C(Q.UNTERMINATED_CLOSING_BRACE, a(), 0), o;
|
|
@@ -327,13 +327,13 @@ function Ss(e, t = {}) {
|
|
|
327
327
|
}
|
|
328
328
|
function re(r) {
|
|
329
329
|
M(r), V(r, "'");
|
|
330
|
-
let o = "",
|
|
330
|
+
let o = "", g = "";
|
|
331
331
|
for (; o = R(r, we); )
|
|
332
|
-
o === "\\" ?
|
|
332
|
+
o === "\\" ? g += Ee(r) : g += o;
|
|
333
333
|
const U = r.currentChar();
|
|
334
|
-
return U === pe || U === Re ? (C(Q.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), U === pe && (r.next(), V(r, "'")),
|
|
334
|
+
return U === pe || U === Re ? (C(Q.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), U === pe && (r.next(), V(r, "'")), g) : (V(r, "'"), g);
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function Ee(r) {
|
|
337
337
|
const o = r.currentChar();
|
|
338
338
|
switch (o) {
|
|
339
339
|
case "\\":
|
|
@@ -347,16 +347,16 @@ function Ss(e, t = {}) {
|
|
|
347
347
|
return C(Q.UNKNOWN_ESCAPE_SEQUENCE, a(), 0, o), "";
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
|
-
function Je(r, o,
|
|
350
|
+
function Je(r, o, g) {
|
|
351
351
|
V(r, o);
|
|
352
352
|
let U = "";
|
|
353
|
-
for (let oe = 0; oe <
|
|
354
|
-
const
|
|
355
|
-
if (!
|
|
353
|
+
for (let oe = 0; oe < g; oe++) {
|
|
354
|
+
const Z = j(r);
|
|
355
|
+
if (!Z) {
|
|
356
356
|
C(Q.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${U}${r.currentChar()}`);
|
|
357
357
|
break;
|
|
358
358
|
}
|
|
359
|
-
U +=
|
|
359
|
+
U += Z;
|
|
360
360
|
}
|
|
361
361
|
return `\\${o}${U}`;
|
|
362
362
|
}
|
|
@@ -365,25 +365,25 @@ function Ss(e, t = {}) {
|
|
|
365
365
|
}
|
|
366
366
|
function vt(r) {
|
|
367
367
|
M(r);
|
|
368
|
-
let o = "",
|
|
368
|
+
let o = "", g = "";
|
|
369
369
|
for (; o = R(r, $e); )
|
|
370
|
-
|
|
371
|
-
return
|
|
372
|
-
}
|
|
373
|
-
function It(r) {
|
|
374
|
-
let o = "", h = "";
|
|
375
|
-
for (; o = W(r); )
|
|
376
|
-
h += o;
|
|
377
|
-
return h;
|
|
370
|
+
g += o;
|
|
371
|
+
return g;
|
|
378
372
|
}
|
|
379
373
|
function Et(r) {
|
|
380
|
-
|
|
374
|
+
let o = "", g = "";
|
|
375
|
+
for (; o = G(r); )
|
|
376
|
+
g += o;
|
|
377
|
+
return g;
|
|
378
|
+
}
|
|
379
|
+
function It(r) {
|
|
380
|
+
const o = (g) => {
|
|
381
381
|
const U = r.currentChar();
|
|
382
|
-
return U === "{" || U === "@" || U === "|" || U === "(" || U === ")" || !U || U === Te ?
|
|
382
|
+
return U === "{" || U === "@" || U === "|" || U === "(" || U === ")" || !U || U === Te ? g : (g += U, r.next(), o(g));
|
|
383
383
|
};
|
|
384
384
|
return o("");
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function Ke(r) {
|
|
387
387
|
M(r);
|
|
388
388
|
const o = V(
|
|
389
389
|
r,
|
|
@@ -392,115 +392,115 @@ function Ss(e, t = {}) {
|
|
|
392
392
|
);
|
|
393
393
|
return M(r), o;
|
|
394
394
|
}
|
|
395
|
-
function
|
|
396
|
-
let
|
|
395
|
+
function Ge(r, o) {
|
|
396
|
+
let g = null;
|
|
397
397
|
switch (r.currentChar()) {
|
|
398
398
|
case "{":
|
|
399
|
-
return o.braceNest >= 1 && C(Q.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), r.next(),
|
|
399
|
+
return o.braceNest >= 1 && C(Q.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), r.next(), g = y(
|
|
400
400
|
o,
|
|
401
401
|
2,
|
|
402
402
|
"{"
|
|
403
403
|
/* TokenChars.BraceLeft */
|
|
404
|
-
), M(r), o.braceNest++,
|
|
404
|
+
), M(r), o.braceNest++, g;
|
|
405
405
|
case "}":
|
|
406
|
-
return o.braceNest > 0 && o.currentType === 2 && C(Q.EMPTY_PLACEHOLDER, a(), 0), r.next(),
|
|
406
|
+
return o.braceNest > 0 && o.currentType === 2 && C(Q.EMPTY_PLACEHOLDER, a(), 0), r.next(), g = y(
|
|
407
407
|
o,
|
|
408
408
|
3,
|
|
409
409
|
"}"
|
|
410
410
|
/* TokenChars.BraceRight */
|
|
411
|
-
), o.braceNest--, o.braceNest > 0 && M(r), o.inLinked && o.braceNest === 0 && (o.inLinked = !1),
|
|
411
|
+
), o.braceNest--, o.braceNest > 0 && M(r), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), g;
|
|
412
412
|
case "@":
|
|
413
|
-
return o.braceNest > 0 && C(Q.UNTERMINATED_CLOSING_BRACE, a(), 0),
|
|
413
|
+
return o.braceNest > 0 && C(Q.UNTERMINATED_CLOSING_BRACE, a(), 0), g = We(r, o) || P(o), o.braceNest = 0, g;
|
|
414
414
|
default: {
|
|
415
|
-
let oe = !0,
|
|
416
|
-
if (
|
|
417
|
-
return o.braceNest > 0 && C(Q.UNTERMINATED_CLOSING_BRACE, a(), 0),
|
|
415
|
+
let oe = !0, Z = !0, f = !0;
|
|
416
|
+
if (I(r))
|
|
417
|
+
return o.braceNest > 0 && C(Q.UNTERMINATED_CLOSING_BRACE, a(), 0), g = y(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, g;
|
|
418
418
|
if (o.braceNest > 0 && (o.currentType === 4 || o.currentType === 5 || o.currentType === 6))
|
|
419
|
-
return C(Q.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0,
|
|
420
|
-
if (oe =
|
|
421
|
-
return
|
|
422
|
-
if (
|
|
423
|
-
return
|
|
419
|
+
return C(Q.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0, ze(r, o);
|
|
420
|
+
if (oe = N(r, o))
|
|
421
|
+
return g = y(o, 4, X(r)), M(r), g;
|
|
422
|
+
if (Z = _(r, o))
|
|
423
|
+
return g = y(o, 5, z(r)), M(r), g;
|
|
424
424
|
if (f = w(r, o))
|
|
425
|
-
return
|
|
426
|
-
if (!oe && !
|
|
427
|
-
return
|
|
425
|
+
return g = y(o, 6, re(r)), M(r), g;
|
|
426
|
+
if (!oe && !Z && !f)
|
|
427
|
+
return g = y(o, 12, vt(r)), C(Q.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, g.value), M(r), g;
|
|
428
428
|
break;
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
|
-
return
|
|
431
|
+
return g;
|
|
432
432
|
}
|
|
433
|
-
function
|
|
434
|
-
const { currentType:
|
|
433
|
+
function We(r, o) {
|
|
434
|
+
const { currentType: g } = o;
|
|
435
435
|
let U = null;
|
|
436
436
|
const oe = r.currentChar();
|
|
437
|
-
switch ((
|
|
437
|
+
switch ((g === 7 || g === 8 || g === 11 || g === 9) && (oe === pe || oe === Te) && C(Q.INVALID_LINKED_FORMAT, a(), 0), oe) {
|
|
438
438
|
case "@":
|
|
439
|
-
return r.next(), U =
|
|
439
|
+
return r.next(), U = y(
|
|
440
440
|
o,
|
|
441
441
|
7,
|
|
442
442
|
"@"
|
|
443
443
|
/* TokenChars.LinkedAlias */
|
|
444
444
|
), o.inLinked = !0, U;
|
|
445
445
|
case ".":
|
|
446
|
-
return M(r), r.next(),
|
|
446
|
+
return M(r), r.next(), y(
|
|
447
447
|
o,
|
|
448
448
|
8,
|
|
449
449
|
"."
|
|
450
450
|
/* TokenChars.LinkedDot */
|
|
451
451
|
);
|
|
452
452
|
case ":":
|
|
453
|
-
return M(r), r.next(),
|
|
453
|
+
return M(r), r.next(), y(
|
|
454
454
|
o,
|
|
455
455
|
9,
|
|
456
456
|
":"
|
|
457
457
|
/* TokenChars.LinkedDelimiter */
|
|
458
458
|
);
|
|
459
459
|
default:
|
|
460
|
-
return
|
|
460
|
+
return I(r) ? (U = y(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, U) : S(r, o) || v(r, o) ? (M(r), We(r, o)) : b(r, o) ? (M(r), y(o, 11, Et(r))) : h(r, o) ? (M(r), oe === "{" ? Ge(r, o) || U : y(o, 10, It(r))) : (g === 7 && C(Q.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, ze(r, o));
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
|
-
function
|
|
464
|
-
let
|
|
463
|
+
function ze(r, o) {
|
|
464
|
+
let g = {
|
|
465
465
|
type: 13
|
|
466
466
|
/* TokenTypes.EOF */
|
|
467
467
|
};
|
|
468
468
|
if (o.braceNest > 0)
|
|
469
|
-
return We(r, o) || P(o);
|
|
470
|
-
if (o.inLinked)
|
|
471
469
|
return Ge(r, o) || P(o);
|
|
470
|
+
if (o.inLinked)
|
|
471
|
+
return We(r, o) || P(o);
|
|
472
472
|
switch (r.currentChar()) {
|
|
473
473
|
case "{":
|
|
474
|
-
return
|
|
474
|
+
return Ge(r, o) || P(o);
|
|
475
475
|
case "}":
|
|
476
|
-
return C(Q.UNBALANCED_CLOSING_BRACE, a(), 0), r.next(),
|
|
476
|
+
return C(Q.UNBALANCED_CLOSING_BRACE, a(), 0), r.next(), y(
|
|
477
477
|
o,
|
|
478
478
|
3,
|
|
479
479
|
"}"
|
|
480
480
|
/* TokenChars.BraceRight */
|
|
481
481
|
);
|
|
482
482
|
case "@":
|
|
483
|
-
return
|
|
483
|
+
return We(r, o) || P(o);
|
|
484
484
|
default: {
|
|
485
|
-
if (
|
|
486
|
-
return
|
|
485
|
+
if (I(r))
|
|
486
|
+
return g = y(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, g;
|
|
487
487
|
if (A(r))
|
|
488
|
-
return
|
|
488
|
+
return y(o, 0, J(r));
|
|
489
489
|
break;
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
|
-
return
|
|
492
|
+
return g;
|
|
493
493
|
}
|
|
494
|
-
function
|
|
495
|
-
const { currentType: r, offset: o, startLoc:
|
|
496
|
-
return u.lastType = r, u.lastOffset = o, u.lastStartLoc =
|
|
494
|
+
function yt() {
|
|
495
|
+
const { currentType: r, offset: o, startLoc: g, endLoc: U } = u;
|
|
496
|
+
return u.lastType = r, u.lastOffset = o, u.lastStartLoc = g, u.lastEndLoc = U, u.offset = l(), u.startLoc = a(), s.currentChar() === Re ? y(
|
|
497
497
|
u,
|
|
498
498
|
13
|
|
499
499
|
/* TokenTypes.EOF */
|
|
500
|
-
) :
|
|
500
|
+
) : ze(s, u);
|
|
501
501
|
}
|
|
502
502
|
return {
|
|
503
|
-
nextToken:
|
|
503
|
+
nextToken: yt,
|
|
504
504
|
currentOffset: l,
|
|
505
505
|
currentPosition: a,
|
|
506
506
|
context: p
|
|
@@ -521,132 +521,132 @@ function ws(e, t, n) {
|
|
|
521
521
|
}
|
|
522
522
|
function Ps(e = {}) {
|
|
523
523
|
const t = e.location !== !1, { onError: n } = e;
|
|
524
|
-
function s(i, d,
|
|
524
|
+
function s(i, d, N, _, ...w) {
|
|
525
525
|
const S = i.currentPosition();
|
|
526
526
|
if (S.offset += _, S.column += _, n) {
|
|
527
|
-
const
|
|
527
|
+
const b = t ? Mt(N, S) : null, v = ht(d, b, {
|
|
528
528
|
domain: Ds,
|
|
529
529
|
args: w
|
|
530
530
|
});
|
|
531
531
|
n(v);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
|
-
function l(i, d,
|
|
534
|
+
function l(i, d, N) {
|
|
535
535
|
const _ = { type: i };
|
|
536
|
-
return t && (_.start = d, _.end = d, _.loc = { start:
|
|
536
|
+
return t && (_.start = d, _.end = d, _.loc = { start: N, end: N }), _;
|
|
537
537
|
}
|
|
538
|
-
function a(i, d,
|
|
539
|
-
t && (i.end = d, i.loc && (i.loc.end =
|
|
538
|
+
function a(i, d, N, _) {
|
|
539
|
+
t && (i.end = d, i.loc && (i.loc.end = N));
|
|
540
540
|
}
|
|
541
541
|
function c(i, d) {
|
|
542
|
-
const
|
|
542
|
+
const N = i.context(), _ = l(3, N.offset, N.startLoc);
|
|
543
543
|
return _.value = d, a(_, i.currentOffset(), i.currentPosition()), _;
|
|
544
544
|
}
|
|
545
545
|
function m(i, d) {
|
|
546
|
-
const
|
|
546
|
+
const N = i.context(), { lastOffset: _, lastStartLoc: w } = N, S = l(5, _, w);
|
|
547
547
|
return S.index = parseInt(d, 10), i.nextToken(), a(S, i.currentOffset(), i.currentPosition()), S;
|
|
548
548
|
}
|
|
549
549
|
function u(i, d) {
|
|
550
|
-
const
|
|
550
|
+
const N = i.context(), { lastOffset: _, lastStartLoc: w } = N, S = l(4, _, w);
|
|
551
551
|
return S.key = d, i.nextToken(), a(S, i.currentOffset(), i.currentPosition()), S;
|
|
552
552
|
}
|
|
553
553
|
function p(i, d) {
|
|
554
|
-
const
|
|
554
|
+
const N = i.context(), { lastOffset: _, lastStartLoc: w } = N, S = l(9, _, w);
|
|
555
555
|
return S.value = d.replace(Ms, ws), i.nextToken(), a(S, i.currentOffset(), i.currentPosition()), S;
|
|
556
556
|
}
|
|
557
557
|
function O(i) {
|
|
558
|
-
const d = i.nextToken(),
|
|
559
|
-
return d.type !== 11 ? (s(i, Q.UNEXPECTED_EMPTY_LINKED_MODIFIER,
|
|
558
|
+
const d = i.nextToken(), N = i.context(), { lastOffset: _, lastStartLoc: w } = N, S = l(8, _, w);
|
|
559
|
+
return d.type !== 11 ? (s(i, Q.UNEXPECTED_EMPTY_LINKED_MODIFIER, N.lastStartLoc, 0), S.value = "", a(S, _, w), {
|
|
560
560
|
nextConsumeToken: d,
|
|
561
561
|
node: S
|
|
562
|
-
}) : (d.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
562
|
+
}) : (d.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, N.lastStartLoc, 0, ke(d)), S.value = d.value || "", a(S, i.currentOffset(), i.currentPosition()), {
|
|
563
563
|
node: S
|
|
564
564
|
});
|
|
565
565
|
}
|
|
566
566
|
function C(i, d) {
|
|
567
|
-
const
|
|
567
|
+
const N = i.context(), _ = l(7, N.offset, N.startLoc);
|
|
568
568
|
return _.value = d, a(_, i.currentOffset(), i.currentPosition()), _;
|
|
569
569
|
}
|
|
570
|
-
function
|
|
571
|
-
const d = i.context(),
|
|
570
|
+
function y(i) {
|
|
571
|
+
const d = i.context(), N = l(6, d.offset, d.startLoc);
|
|
572
572
|
let _ = i.nextToken();
|
|
573
573
|
if (_.type === 8) {
|
|
574
574
|
const w = O(i);
|
|
575
|
-
|
|
575
|
+
N.modifier = w.node, _ = w.nextConsumeToken || i.nextToken();
|
|
576
576
|
}
|
|
577
577
|
switch (_.type !== 9 && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ke(_)), _ = i.nextToken(), _.type === 2 && (_ = i.nextToken()), _.type) {
|
|
578
578
|
case 10:
|
|
579
|
-
_.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ke(_)),
|
|
579
|
+
_.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ke(_)), N.key = C(i, _.value || "");
|
|
580
580
|
break;
|
|
581
581
|
case 4:
|
|
582
|
-
_.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ke(_)),
|
|
582
|
+
_.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ke(_)), N.key = u(i, _.value || "");
|
|
583
583
|
break;
|
|
584
584
|
case 5:
|
|
585
|
-
_.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ke(_)),
|
|
585
|
+
_.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ke(_)), N.key = m(i, _.value || "");
|
|
586
586
|
break;
|
|
587
587
|
case 6:
|
|
588
|
-
_.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ke(_)),
|
|
588
|
+
_.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ke(_)), N.key = p(i, _.value || "");
|
|
589
589
|
break;
|
|
590
590
|
default: {
|
|
591
591
|
s(i, Q.UNEXPECTED_EMPTY_LINKED_KEY, d.lastStartLoc, 0);
|
|
592
592
|
const w = i.context(), S = l(7, w.offset, w.startLoc);
|
|
593
|
-
return S.value = "", a(S, w.offset, w.startLoc),
|
|
593
|
+
return S.value = "", a(S, w.offset, w.startLoc), N.key = S, a(N, w.offset, w.startLoc), {
|
|
594
594
|
nextConsumeToken: _,
|
|
595
|
-
node:
|
|
595
|
+
node: N
|
|
596
596
|
};
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
|
-
return a(
|
|
600
|
-
node:
|
|
599
|
+
return a(N, i.currentOffset(), i.currentPosition()), {
|
|
600
|
+
node: N
|
|
601
601
|
};
|
|
602
602
|
}
|
|
603
603
|
function P(i) {
|
|
604
|
-
const d = i.context(),
|
|
604
|
+
const d = i.context(), N = d.currentType === 1 ? i.currentOffset() : d.offset, _ = d.currentType === 1 ? d.endLoc : d.startLoc, w = l(2, N, _);
|
|
605
605
|
w.items = [];
|
|
606
606
|
let S = null;
|
|
607
607
|
do {
|
|
608
|
-
const
|
|
609
|
-
switch (S = null,
|
|
608
|
+
const h = S || i.nextToken();
|
|
609
|
+
switch (S = null, h.type) {
|
|
610
610
|
case 0:
|
|
611
|
-
|
|
611
|
+
h.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ke(h)), w.items.push(c(i, h.value || ""));
|
|
612
612
|
break;
|
|
613
613
|
case 5:
|
|
614
|
-
|
|
614
|
+
h.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ke(h)), w.items.push(m(i, h.value || ""));
|
|
615
615
|
break;
|
|
616
616
|
case 4:
|
|
617
|
-
|
|
617
|
+
h.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ke(h)), w.items.push(u(i, h.value || ""));
|
|
618
618
|
break;
|
|
619
619
|
case 6:
|
|
620
|
-
|
|
620
|
+
h.value == null && s(i, Q.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, ke(h)), w.items.push(p(i, h.value || ""));
|
|
621
621
|
break;
|
|
622
622
|
case 7: {
|
|
623
|
-
const
|
|
624
|
-
w.items.push(
|
|
623
|
+
const I = y(i);
|
|
624
|
+
w.items.push(I.node), S = I.nextConsumeToken || null;
|
|
625
625
|
break;
|
|
626
626
|
}
|
|
627
627
|
}
|
|
628
628
|
} while (d.currentType !== 13 && d.currentType !== 1);
|
|
629
|
-
const
|
|
630
|
-
return a(w,
|
|
629
|
+
const b = d.currentType === 1 ? d.lastOffset : i.currentOffset(), v = d.currentType === 1 ? d.lastEndLoc : i.currentPosition();
|
|
630
|
+
return a(w, b, v), w;
|
|
631
631
|
}
|
|
632
|
-
function V(i, d,
|
|
632
|
+
function V(i, d, N, _) {
|
|
633
633
|
const w = i.context();
|
|
634
634
|
let S = _.items.length === 0;
|
|
635
|
-
const
|
|
636
|
-
|
|
635
|
+
const b = l(1, d, N);
|
|
636
|
+
b.cases = [], b.cases.push(_);
|
|
637
637
|
do {
|
|
638
638
|
const v = P(i);
|
|
639
|
-
S || (S = v.items.length === 0),
|
|
639
|
+
S || (S = v.items.length === 0), b.cases.push(v);
|
|
640
640
|
} while (w.currentType !== 13);
|
|
641
|
-
return S && s(i, Q.MUST_HAVE_MESSAGES_IN_PLURAL,
|
|
641
|
+
return S && s(i, Q.MUST_HAVE_MESSAGES_IN_PLURAL, N, 0), a(b, i.currentOffset(), i.currentPosition()), b;
|
|
642
642
|
}
|
|
643
643
|
function L(i) {
|
|
644
|
-
const d = i.context(), { offset:
|
|
645
|
-
return d.currentType === 13 ? w : V(i,
|
|
644
|
+
const d = i.context(), { offset: N, startLoc: _ } = d, w = P(i);
|
|
645
|
+
return d.currentType === 13 ? w : V(i, N, _, w);
|
|
646
646
|
}
|
|
647
647
|
function M(i) {
|
|
648
|
-
const d = Ss(i, fe({}, e)),
|
|
649
|
-
return t && _.loc && (_.loc.source = i), _.body = L(d), e.onCacheKey && (_.cacheKey = e.onCacheKey(i)),
|
|
648
|
+
const d = Ss(i, fe({}, e)), N = d.context(), _ = l(0, N.offset, N.startLoc);
|
|
649
|
+
return t && _.loc && (_.loc.source = i), _.body = L(d), e.onCacheKey && (_.cacheKey = e.onCacheKey(i)), N.currentType !== 13 && s(d, Q.UNEXPECTED_LEXICAL_ANALYSIS, N.lastStartLoc, 0, i[N.offset] || ""), a(_, d.currentOffset(), d.currentPosition()), _;
|
|
650
650
|
}
|
|
651
651
|
return { parse: M };
|
|
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 = Bt(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;
|
|
@@ -818,7 +818,7 @@ function Vs(e, t) {
|
|
|
818
818
|
const M = --c.indentLevel;
|
|
819
819
|
L && p(M);
|
|
820
820
|
}
|
|
821
|
-
function
|
|
821
|
+
function y() {
|
|
822
822
|
p(c.indentLevel);
|
|
823
823
|
}
|
|
824
824
|
return {
|
|
@@ -826,26 +826,26 @@ function Vs(e, t) {
|
|
|
826
826
|
push: u,
|
|
827
827
|
indent: O,
|
|
828
828
|
deindent: C,
|
|
829
|
-
newline:
|
|
829
|
+
newline: y,
|
|
830
830
|
helper: (L) => `_${L}`,
|
|
831
831
|
needIndent: () => c.needIndent
|
|
832
832
|
};
|
|
833
833
|
}
|
|
834
|
-
function
|
|
834
|
+
function Gs(e, t) {
|
|
835
835
|
const { helper: n } = e;
|
|
836
836
|
e.push(`${n(
|
|
837
837
|
"linked"
|
|
838
838
|
/* HelperNameMap.LINKED */
|
|
839
|
-
)}(`),
|
|
839
|
+
)}(`), Be(e, t.key), t.modifier ? (e.push(", "), Be(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
|
|
840
840
|
}
|
|
841
|
-
function
|
|
841
|
+
function Ws(e, t) {
|
|
842
842
|
const { helper: n, needIndent: s } = e;
|
|
843
843
|
e.push(`${n(
|
|
844
844
|
"normalize"
|
|
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 && (Be(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 xs(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 && (Be(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 ? Be(e, t.body) : e.push("null");
|
|
867
867
|
}
|
|
868
|
-
function
|
|
868
|
+
function Be(e, t) {
|
|
869
869
|
const { helper: n } = e;
|
|
870
870
|
switch (t.type) {
|
|
871
871
|
case 0:
|
|
@@ -875,10 +875,10 @@ function Ze(e, t) {
|
|
|
875
875
|
xs(e, t);
|
|
876
876
|
break;
|
|
877
877
|
case 2:
|
|
878
|
-
|
|
878
|
+
Ws(e, t);
|
|
879
879
|
break;
|
|
880
880
|
case 6:
|
|
881
|
-
|
|
881
|
+
Gs(e, t);
|
|
882
882
|
break;
|
|
883
883
|
case 8:
|
|
884
884
|
e.push(JSON.stringify(t.value), t);
|
|
@@ -912,7 +912,7 @@ function Ze(e, t) {
|
|
|
912
912
|
break;
|
|
913
913
|
}
|
|
914
914
|
}
|
|
915
|
-
const
|
|
915
|
+
const Zs = (e, t = {}) => {
|
|
916
916
|
const n = F(t.mode) ? t.mode : "normal", s = F(t.filename) ? t.filename : "message.intl";
|
|
917
917
|
t.sourceMap;
|
|
918
918
|
const l = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
|
|
@@ -921,7 +921,7 @@ const Ys = (e, t = {}) => {
|
|
|
921
921
|
breakLineCode: l,
|
|
922
922
|
needIndent: a
|
|
923
923
|
});
|
|
924
|
-
m.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), m.indent(a), c.length > 0 && (m.push(`const { ${
|
|
924
|
+
m.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), m.indent(a), c.length > 0 && (m.push(`const { ${Bt(c.map((O) => `${O}: _${O}`), ", ")} } = ctx`), m.newline()), m.push("return "), Be(m, e), m.deindent(a), m.push("}"), delete e.helpers;
|
|
925
925
|
const { code: u, map: p } = m.context();
|
|
926
926
|
return {
|
|
927
927
|
ast: e,
|
|
@@ -930,25 +930,25 @@ const Ys = (e, t = {}) => {
|
|
|
930
930
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
931
931
|
};
|
|
932
932
|
};
|
|
933
|
-
function
|
|
933
|
+
function Bs(e, t = {}) {
|
|
934
934
|
const n = fe({}, t), s = !!n.jit, l = !!n.minify, a = n.optimize == null ? !0 : n.optimize, m = Ps(n).parse(e);
|
|
935
|
-
return s ? (a && Us(m), l && Xe(m), { ast: m, code: "" }) : (js(m, n),
|
|
935
|
+
return s ? (a && Us(m), l && Xe(m), { ast: m, code: "" }) : (js(m, n), Zs(m, n));
|
|
936
936
|
}
|
|
937
937
|
var Hs = { env: { NODE_ENV: "production" } };
|
|
938
|
-
function
|
|
938
|
+
function Ys() {
|
|
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
|
}
|
|
941
941
|
function Ot(e) {
|
|
942
942
|
return (n) => Js(n, e);
|
|
943
943
|
}
|
|
944
944
|
function Js(e, t) {
|
|
945
|
-
const n =
|
|
945
|
+
const n = Ks(t);
|
|
946
946
|
if (n == null)
|
|
947
947
|
throw et(
|
|
948
948
|
0
|
|
949
949
|
/* NodeTypes.Resource */
|
|
950
950
|
);
|
|
951
|
-
if (
|
|
951
|
+
if (Yt(n) === 1) {
|
|
952
952
|
const a = Qs(n);
|
|
953
953
|
return e.plural(a.reduce((c, m) => [
|
|
954
954
|
...c,
|
|
@@ -958,12 +958,12 @@ function Js(e, t) {
|
|
|
958
958
|
return ln(e, n);
|
|
959
959
|
}
|
|
960
960
|
const $s = ["b", "body"];
|
|
961
|
-
function
|
|
961
|
+
function Ks(e) {
|
|
962
962
|
return De(e, $s);
|
|
963
963
|
}
|
|
964
|
-
const
|
|
964
|
+
const zs = ["c", "cases"];
|
|
965
965
|
function Qs(e) {
|
|
966
|
-
return De(e,
|
|
966
|
+
return De(e, zs, []);
|
|
967
967
|
}
|
|
968
968
|
function ln(e, t) {
|
|
969
969
|
const n = ea(t);
|
|
@@ -983,7 +983,7 @@ function na(e) {
|
|
|
983
983
|
return De(e, ta, []);
|
|
984
984
|
}
|
|
985
985
|
function wt(e, t) {
|
|
986
|
-
const n =
|
|
986
|
+
const n = Yt(t);
|
|
987
987
|
switch (n) {
|
|
988
988
|
case 3:
|
|
989
989
|
return lt(t, n);
|
|
@@ -991,17 +991,17 @@ function wt(e, t) {
|
|
|
991
991
|
return lt(t, n);
|
|
992
992
|
case 4: {
|
|
993
993
|
const s = t;
|
|
994
|
-
if (
|
|
994
|
+
if (ye(s, "k") && s.k)
|
|
995
995
|
return e.interpolate(e.named(s.k));
|
|
996
|
-
if (
|
|
996
|
+
if (ye(s, "key") && s.key)
|
|
997
997
|
return e.interpolate(e.named(s.key));
|
|
998
998
|
throw et(n);
|
|
999
999
|
}
|
|
1000
1000
|
case 5: {
|
|
1001
1001
|
const s = t;
|
|
1002
|
-
if (
|
|
1002
|
+
if (ye(s, "i") && de(s.i))
|
|
1003
1003
|
return e.interpolate(e.list(s.i));
|
|
1004
|
-
if (
|
|
1004
|
+
if (ye(s, "index") && de(s.index))
|
|
1005
1005
|
return e.interpolate(e.list(s.index));
|
|
1006
1006
|
throw et(n);
|
|
1007
1007
|
}
|
|
@@ -1018,7 +1018,7 @@ function wt(e, t) {
|
|
|
1018
1018
|
}
|
|
1019
1019
|
}
|
|
1020
1020
|
const sa = ["t", "type"];
|
|
1021
|
-
function
|
|
1021
|
+
function Yt(e) {
|
|
1022
1022
|
return De(e, sa);
|
|
1023
1023
|
}
|
|
1024
1024
|
const aa = ["v", "value"];
|
|
@@ -1045,7 +1045,7 @@ function ia(e) {
|
|
|
1045
1045
|
function De(e, t, n) {
|
|
1046
1046
|
for (let s = 0; s < t.length; s++) {
|
|
1047
1047
|
const l = t[s];
|
|
1048
|
-
if (
|
|
1048
|
+
if (ye(e, l) && e[l] != null)
|
|
1049
1049
|
return e[l];
|
|
1050
1050
|
}
|
|
1051
1051
|
return n;
|
|
@@ -1056,14 +1056,14 @@ function et(e) {
|
|
|
1056
1056
|
const ca = (e) => e;
|
|
1057
1057
|
let ot = q();
|
|
1058
1058
|
function He(e) {
|
|
1059
|
-
return
|
|
1059
|
+
return K(e) && Yt(e) === 0 && (ye(e, "b") || ye(e, "body"));
|
|
1060
1060
|
}
|
|
1061
1061
|
function ua(e, t = {}) {
|
|
1062
1062
|
let n = !1;
|
|
1063
1063
|
const s = t.onError || ks;
|
|
1064
1064
|
return t.onError = (l) => {
|
|
1065
1065
|
n = !0, s(l);
|
|
1066
|
-
}, { ...
|
|
1066
|
+
}, { ...Bs(e, t), detectError: n };
|
|
1067
1067
|
}
|
|
1068
1068
|
// @__NO_SIDE_EFFECTS__
|
|
1069
1069
|
function ma(e, t) {
|
|
@@ -1104,16 +1104,16 @@ function pa(e) {
|
|
|
1104
1104
|
return (t) => tt && tt.emit(e, t);
|
|
1105
1105
|
}
|
|
1106
1106
|
const Le = {
|
|
1107
|
-
INVALID_ARGUMENT:
|
|
1107
|
+
INVALID_ARGUMENT: Ns,
|
|
1108
1108
|
// 17
|
|
1109
1109
|
INVALID_DATE_ARGUMENT: 18,
|
|
1110
1110
|
INVALID_ISO_DATE_ARGUMENT: 19,
|
|
1111
1111
|
NOT_SUPPORT_LOCALE_PROMISE_VALUE: 21,
|
|
1112
1112
|
NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
|
|
1113
1113
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
1114
|
-
},
|
|
1114
|
+
}, ha = 24;
|
|
1115
1115
|
function Ce(e) {
|
|
1116
|
-
return
|
|
1116
|
+
return ht(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,10 +1135,10 @@ function on(e) {
|
|
|
1135
1135
|
} else
|
|
1136
1136
|
throw Ce(Le.NOT_SUPPORT_LOCALE_TYPE);
|
|
1137
1137
|
}
|
|
1138
|
-
function
|
|
1138
|
+
function ga(e, t, n) {
|
|
1139
1139
|
return [.../* @__PURE__ */ new Set([
|
|
1140
1140
|
n,
|
|
1141
|
-
...ue(t) ? t :
|
|
1141
|
+
...ue(t) ? t : K(t) ? Object.keys(t) : F(t) ? [t] : [n]
|
|
1142
1142
|
])];
|
|
1143
1143
|
}
|
|
1144
1144
|
function Mn(e, t, n) {
|
|
@@ -1159,11 +1159,11 @@ function cn(e, t, n) {
|
|
|
1159
1159
|
let s = !0;
|
|
1160
1160
|
for (let l = 0; l < t.length && ce(s); l++) {
|
|
1161
1161
|
const a = t[l];
|
|
1162
|
-
F(a) && (s =
|
|
1162
|
+
F(a) && (s = ba(e, t[l], n));
|
|
1163
1163
|
}
|
|
1164
1164
|
return s;
|
|
1165
1165
|
}
|
|
1166
|
-
function
|
|
1166
|
+
function ba(e, t, n) {
|
|
1167
1167
|
let s;
|
|
1168
1168
|
const l = t.split("-");
|
|
1169
1169
|
do {
|
|
@@ -1342,15 +1342,15 @@ Me[
|
|
|
1342
1342
|
/* Actions.APPEND */
|
|
1343
1343
|
]
|
|
1344
1344
|
};
|
|
1345
|
-
const
|
|
1346
|
-
function
|
|
1347
|
-
return
|
|
1345
|
+
const Ea = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
|
1346
|
+
function Ia(e) {
|
|
1347
|
+
return Ea.test(e);
|
|
1348
1348
|
}
|
|
1349
|
-
function
|
|
1349
|
+
function ya(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
|
}
|
|
1353
|
-
function
|
|
1353
|
+
function Na(e) {
|
|
1354
1354
|
if (e == null)
|
|
1355
1355
|
return "o";
|
|
1356
1356
|
switch (e.charCodeAt(0)) {
|
|
@@ -1377,43 +1377,43 @@ function ya(e) {
|
|
|
1377
1377
|
}
|
|
1378
1378
|
function ka(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) ? ya(t) : "*" + t;
|
|
1381
1381
|
}
|
|
1382
1382
|
function Ta(e) {
|
|
1383
1383
|
const t = [];
|
|
1384
1384
|
let n = -1, s = 0, l = 0, a, c, m, u, p, O, C;
|
|
1385
|
-
const
|
|
1386
|
-
|
|
1385
|
+
const y = [];
|
|
1386
|
+
y[
|
|
1387
1387
|
0
|
|
1388
1388
|
/* Actions.APPEND */
|
|
1389
1389
|
] = () => {
|
|
1390
1390
|
c === void 0 ? c = m : c += m;
|
|
1391
|
-
},
|
|
1391
|
+
}, y[
|
|
1392
1392
|
1
|
|
1393
1393
|
/* Actions.PUSH */
|
|
1394
1394
|
] = () => {
|
|
1395
1395
|
c !== void 0 && (t.push(c), c = void 0);
|
|
1396
|
-
},
|
|
1396
|
+
}, y[
|
|
1397
1397
|
2
|
|
1398
1398
|
/* Actions.INC_SUB_PATH_DEPTH */
|
|
1399
1399
|
] = () => {
|
|
1400
|
-
|
|
1400
|
+
y[
|
|
1401
1401
|
0
|
|
1402
1402
|
/* Actions.APPEND */
|
|
1403
1403
|
](), l++;
|
|
1404
|
-
},
|
|
1404
|
+
}, y[
|
|
1405
1405
|
3
|
|
1406
1406
|
/* Actions.PUSH_SUB_PATH */
|
|
1407
1407
|
] = () => {
|
|
1408
1408
|
if (l > 0)
|
|
1409
|
-
l--, s = 4,
|
|
1409
|
+
l--, s = 4, y[
|
|
1410
1410
|
0
|
|
1411
1411
|
/* Actions.APPEND */
|
|
1412
1412
|
]();
|
|
1413
1413
|
else {
|
|
1414
1414
|
if (l = 0, c === void 0 || (c = ka(c), c === !1))
|
|
1415
1415
|
return !1;
|
|
1416
|
-
|
|
1416
|
+
y[
|
|
1417
1417
|
1
|
|
1418
1418
|
/* Actions.PUSH */
|
|
1419
1419
|
]();
|
|
@@ -1422,14 +1422,14 @@ function Ta(e) {
|
|
|
1422
1422
|
function P() {
|
|
1423
1423
|
const V = e[n + 1];
|
|
1424
1424
|
if (s === 5 && V === "'" || s === 6 && V === '"')
|
|
1425
|
-
return n++, m = "\\" + V,
|
|
1425
|
+
return n++, m = "\\" + V, y[
|
|
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 === "\\" && P())) {
|
|
1432
|
-
if (u =
|
|
1432
|
+
if (u = Na(a), C = Me[s], p = C[u] || C.l || 8, p === 8 || (s = p[0], p[1] !== void 0 && (O = y[p[1]], O && (m = a, O() === !1))))
|
|
1433
1433
|
return;
|
|
1434
1434
|
if (s === 7)
|
|
1435
1435
|
return t;
|
|
@@ -1437,10 +1437,10 @@ function Ta(e) {
|
|
|
1437
1437
|
}
|
|
1438
1438
|
const un = /* @__PURE__ */ new Map();
|
|
1439
1439
|
function Oa(e, t) {
|
|
1440
|
-
return
|
|
1440
|
+
return K(e) ? e[t] : null;
|
|
1441
1441
|
}
|
|
1442
1442
|
function La(e, t) {
|
|
1443
|
-
if (!
|
|
1443
|
+
if (!K(e))
|
|
1444
1444
|
return null;
|
|
1445
1445
|
let n = un.get(t);
|
|
1446
1446
|
if (n || (n = Ta(t), n && un.set(t, n)), !n)
|
|
@@ -1455,12 +1455,12 @@ function La(e, t) {
|
|
|
1455
1455
|
}
|
|
1456
1456
|
return l;
|
|
1457
1457
|
}
|
|
1458
|
-
const Ca = "10.0.5",
|
|
1458
|
+
const Ca = "10.0.5", gt = -1, ft = "en-US", mn = "", dn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1459
1459
|
function Ra() {
|
|
1460
1460
|
return {
|
|
1461
|
-
upper: (e, t) => t === "text" && F(e) ? e.toUpperCase() : t === "vnode" &&
|
|
1462
|
-
lower: (e, t) => t === "text" && F(e) ? e.toLowerCase() : t === "vnode" &&
|
|
1463
|
-
capitalize: (e, t) => t === "text" && F(e) ? dn(e) : t === "vnode" &&
|
|
1461
|
+
upper: (e, t) => t === "text" && F(e) ? e.toUpperCase() : t === "vnode" && K(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1462
|
+
lower: (e, t) => t === "text" && F(e) ? e.toLowerCase() : t === "vnode" && K(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
1463
|
+
capitalize: (e, t) => t === "text" && F(e) ? dn(e) : t === "vnode" && K(e) && "__v_isVNode" in e ? dn(e.children) : e
|
|
1464
1464
|
};
|
|
1465
1465
|
}
|
|
1466
1466
|
let wn;
|
|
@@ -1485,7 +1485,7 @@ const fn = (e) => {
|
|
|
1485
1485
|
}, Pa = () => Un;
|
|
1486
1486
|
let _n = 0;
|
|
1487
1487
|
function Fa(e = {}) {
|
|
1488
|
-
const t = le(e.onWarn) ? e.onWarn :
|
|
1488
|
+
const t = le(e.onWarn) ? e.onWarn : Is, n = F(e.version) ? e.version : Ca, s = F(e.locale) || le(e.locale) ? e.locale : ft, l = le(s) ? ft : s, a = ue(e.fallbackLocale) || $(e.fallbackLocale) || F(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = $(e.messages) ? e.messages : Ct(l), m = $(e.datetimeFormats) ? e.datetimeFormats : Ct(l), u = $(e.numberFormats) ? e.numberFormats : Ct(l), p = fe(q(), e.modifiers, Ra()), O = e.pluralRules || q(), C = le(e.missing) ? e.missing : null, y = ce(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, P = ce(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, V = !!e.fallbackFormat, L = !!e.unresolving, M = le(e.postTranslation) ? e.postTranslation : null, i = $(e.processor) ? e.processor : null, d = ce(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, N = !!e.escapeParameter, _ = le(e.messageCompiler) ? e.messageCompiler : wn, w = le(e.messageResolver) ? e.messageResolver : Pn || Oa, S = le(e.localeFallbacker) ? e.localeFallbacker : Fn || ga, b = K(e.fallbackContext) ? e.fallbackContext : void 0, v = e, h = K(v.__datetimeFormatters) ? v.__datetimeFormatters : /* @__PURE__ */ new Map(), I = K(v.__numberFormatters) ? v.__numberFormatters : /* @__PURE__ */ new Map(), A = K(v.__meta) ? v.__meta : {};
|
|
1489
1489
|
_n++;
|
|
1490
1490
|
const R = {
|
|
1491
1491
|
version: n,
|
|
@@ -1496,22 +1496,22 @@ function Fa(e = {}) {
|
|
|
1496
1496
|
modifiers: p,
|
|
1497
1497
|
pluralRules: O,
|
|
1498
1498
|
missing: C,
|
|
1499
|
-
missingWarn:
|
|
1499
|
+
missingWarn: y,
|
|
1500
1500
|
fallbackWarn: P,
|
|
1501
1501
|
fallbackFormat: V,
|
|
1502
1502
|
unresolving: L,
|
|
1503
1503
|
postTranslation: M,
|
|
1504
1504
|
processor: i,
|
|
1505
1505
|
warnHtmlMessage: d,
|
|
1506
|
-
escapeParameter:
|
|
1506
|
+
escapeParameter: N,
|
|
1507
1507
|
messageCompiler: _,
|
|
1508
1508
|
messageResolver: w,
|
|
1509
1509
|
localeFallbacker: S,
|
|
1510
|
-
fallbackContext:
|
|
1510
|
+
fallbackContext: b,
|
|
1511
1511
|
onWarn: t,
|
|
1512
1512
|
__meta: A
|
|
1513
1513
|
};
|
|
1514
|
-
return R.datetimeFormats = m, R.numberFormats = u, R.__datetimeFormatters =
|
|
1514
|
+
return R.datetimeFormats = m, R.numberFormats = u, R.__datetimeFormatters = h, R.__numberFormatters = I, __INTLIFY_PROD_DEVTOOLS__ && fa(R, n, A), R;
|
|
1515
1515
|
}
|
|
1516
1516
|
const Ct = (e) => ({ [e]: q() });
|
|
1517
1517
|
function $t(e, t, n, s, l) {
|
|
@@ -1539,7 +1539,7 @@ function Ua(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: m } = e, [u, p, O, C] = Pt(...t),
|
|
1542
|
+
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __datetimeFormatters: m } = e, [u, p, O, C] = Pt(...t), y = ce(O.missingWarn) ? O.missingWarn : e.missingWarn;
|
|
1543
1543
|
ce(O.fallbackWarn) ? O.fallbackWarn : e.fallbackWarn;
|
|
1544
1544
|
const P = !!O.part, V = Jt(e, O), L = c(
|
|
1545
1545
|
e,
|
|
@@ -1550,11 +1550,11 @@ function pn(e, ...t) {
|
|
|
1550
1550
|
if (!F(u) || u === "")
|
|
1551
1551
|
return new Intl.DateTimeFormat(V, C).format(p);
|
|
1552
1552
|
let M = {}, i, d = null;
|
|
1553
|
-
const
|
|
1553
|
+
const N = "datetime format";
|
|
1554
1554
|
for (let S = 0; S < L.length && (i = L[S], M = n[i] || {}, d = M[u], !$(d)); S++)
|
|
1555
|
-
$t(e, u, i,
|
|
1555
|
+
$t(e, u, i, y, N);
|
|
1556
1556
|
if (!$(d) || !F(i))
|
|
1557
|
-
return s ?
|
|
1557
|
+
return s ? gt : u;
|
|
1558
1558
|
let _ = `${i}__${u}`;
|
|
1559
1559
|
pt(C) || (_ = `${_}__${JSON.stringify(C)}`);
|
|
1560
1560
|
let w = m.get(_);
|
|
@@ -1596,7 +1596,7 @@ function Pt(...e) {
|
|
|
1596
1596
|
} catch {
|
|
1597
1597
|
throw Ce(Le.INVALID_ISO_DATE_ARGUMENT);
|
|
1598
1598
|
}
|
|
1599
|
-
} else if (
|
|
1599
|
+
} else if (hs(t)) {
|
|
1600
1600
|
if (isNaN(t.getTime()))
|
|
1601
1601
|
throw Ce(Le.INVALID_DATE_ARGUMENT);
|
|
1602
1602
|
m = t;
|
|
@@ -1608,15 +1608,15 @@ function Pt(...e) {
|
|
|
1608
1608
|
Vn.includes(u) ? c[u] = n[u] : a[u] = n[u];
|
|
1609
1609
|
}), F(s) ? a.locale = s : $(s) && (c = s), $(l) && (c = l), [a.key || "", m, a, c];
|
|
1610
1610
|
}
|
|
1611
|
-
function
|
|
1611
|
+
function hn(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: m } = e, [u, p, O, C] = Ft(...t),
|
|
1618
|
+
function gn(e, ...t) {
|
|
1619
|
+
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: c } = e, { __numberFormatters: m } = e, [u, p, O, C] = Ft(...t), y = ce(O.missingWarn) ? O.missingWarn : e.missingWarn;
|
|
1620
1620
|
ce(O.fallbackWarn) ? O.fallbackWarn : e.fallbackWarn;
|
|
1621
1621
|
const P = !!O.part, V = Jt(e, O), L = c(
|
|
1622
1622
|
e,
|
|
@@ -1627,17 +1627,17 @@ function hn(e, ...t) {
|
|
|
1627
1627
|
if (!F(u) || u === "")
|
|
1628
1628
|
return new Intl.NumberFormat(V, C).format(p);
|
|
1629
1629
|
let M = {}, i, d = null;
|
|
1630
|
-
const
|
|
1630
|
+
const N = "number format";
|
|
1631
1631
|
for (let S = 0; S < L.length && (i = L[S], M = n[i] || {}, d = M[u], !$(d)); S++)
|
|
1632
|
-
$t(e, u, i,
|
|
1632
|
+
$t(e, u, i, y, N);
|
|
1633
1633
|
if (!$(d) || !F(i))
|
|
1634
|
-
return s ?
|
|
1634
|
+
return s ? gt : u;
|
|
1635
1635
|
let _ = `${i}__${u}`;
|
|
1636
1636
|
pt(C) || (_ = `${_}__${JSON.stringify(C)}`);
|
|
1637
1637
|
let w = m.get(_);
|
|
1638
1638
|
return w || (w = new Intl.NumberFormat(i, fe({}, d, C)), m.set(_, w)), P ? w.formatToParts(p) : w.format(p);
|
|
1639
1639
|
}
|
|
1640
|
-
const
|
|
1640
|
+
const Gn = [
|
|
1641
1641
|
"localeMatcher",
|
|
1642
1642
|
"style",
|
|
1643
1643
|
"currency",
|
|
@@ -1666,109 +1666,109 @@ function Ft(...e) {
|
|
|
1666
1666
|
throw Ce(Le.INVALID_ARGUMENT);
|
|
1667
1667
|
const m = t;
|
|
1668
1668
|
return F(n) ? a.key = n : $(n) && Object.keys(n).forEach((u) => {
|
|
1669
|
-
|
|
1669
|
+
Gn.includes(u) ? c[u] = n[u] : a[u] = n[u];
|
|
1670
1670
|
}), F(s) ? a.locale = s : $(s) && (c = s), $(l) && (c = l), [a.key || "", m, a, c];
|
|
1671
1671
|
}
|
|
1672
|
-
function
|
|
1672
|
+
function bn(e, t, n) {
|
|
1673
1673
|
const s = e;
|
|
1674
1674
|
for (const l in n) {
|
|
1675
1675
|
const a = `${t}__${l}`;
|
|
1676
1676
|
s.__numberFormatters.has(a) && s.__numberFormatters.delete(a);
|
|
1677
1677
|
}
|
|
1678
1678
|
}
|
|
1679
|
-
const Va = (e) => e,
|
|
1679
|
+
const Va = (e) => e, Ga = (e) => "", Wa = "text", xa = (e) => e.length === 0 ? "" : Bt(e), Xa = Es;
|
|
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
|
}
|
|
1683
|
-
function
|
|
1683
|
+
function Za(e) {
|
|
1684
1684
|
const t = de(e.pluralIndex) ? e.pluralIndex : -1;
|
|
1685
1685
|
return e.named && (de(e.named.count) || de(e.named.n)) ? de(e.named.count) ? e.named.count : de(e.named.n) ? e.named.n : t : t;
|
|
1686
1686
|
}
|
|
1687
|
-
function
|
|
1687
|
+
function Ba(e, t) {
|
|
1688
1688
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1689
1689
|
}
|
|
1690
1690
|
function Ha(e = {}) {
|
|
1691
|
-
const t = e.locale, n =
|
|
1692
|
-
de(e.pluralIndex) &&
|
|
1691
|
+
const t = e.locale, n = Za(e), s = K(e.pluralRules) && F(t) && le(e.pluralRules[t]) ? e.pluralRules[t] : vn, l = K(e.pluralRules) && F(t) && le(e.pluralRules[t]) ? vn : void 0, a = (i) => i[s(n, i.length, l)], c = e.list || [], m = (i) => c[i], u = e.named || q();
|
|
1692
|
+
de(e.pluralIndex) && Ba(n, u);
|
|
1693
1693
|
const p = (i) => u[i];
|
|
1694
1694
|
function O(i, d) {
|
|
1695
|
-
const
|
|
1696
|
-
return
|
|
1695
|
+
const N = le(e.messages) ? e.messages(i, !!d) : K(e.messages) ? e.messages[i] : !1;
|
|
1696
|
+
return N || (e.parent ? e.parent.message(i) : Ga);
|
|
1697
1697
|
}
|
|
1698
|
-
const C = (i) => e.modifiers ? e.modifiers[i] : Va,
|
|
1698
|
+
const C = (i) => e.modifiers ? e.modifiers[i] : Va, y = $(e.processor) && le(e.processor.normalize) ? e.processor.normalize : xa, P = $(e.processor) && le(e.processor.interpolate) ? e.processor.interpolate : Xa, V = $(e.processor) && F(e.processor.type) ? e.processor.type : Wa, M = {
|
|
1699
1699
|
list: m,
|
|
1700
1700
|
named: p,
|
|
1701
1701
|
plural: a,
|
|
1702
1702
|
linked: (i, ...d) => {
|
|
1703
|
-
const [
|
|
1703
|
+
const [N, _] = d;
|
|
1704
1704
|
let w = "text", S = "";
|
|
1705
|
-
d.length === 1 ?
|
|
1706
|
-
const
|
|
1705
|
+
d.length === 1 ? K(N) ? (S = N.modifier || S, w = N.type || w) : F(N) && (S = N || S) : d.length === 2 && (F(N) && (S = N || S), F(_) && (w = _ || w));
|
|
1706
|
+
const b = O(i, !0)(M), v = (
|
|
1707
1707
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1708
|
-
w === "vnode" && ue(
|
|
1708
|
+
w === "vnode" && ue(b) && S ? b[0] : b
|
|
1709
1709
|
);
|
|
1710
1710
|
return S ? C(S)(v, w) : v;
|
|
1711
1711
|
},
|
|
1712
1712
|
message: O,
|
|
1713
1713
|
type: V,
|
|
1714
1714
|
interpolate: P,
|
|
1715
|
-
normalize:
|
|
1715
|
+
normalize: y,
|
|
1716
1716
|
values: fe(q(), c, u)
|
|
1717
1717
|
};
|
|
1718
1718
|
return M;
|
|
1719
1719
|
}
|
|
1720
|
-
const
|
|
1721
|
-
function
|
|
1722
|
-
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: m } = e, [u, p] = jt(...t), O = ce(p.missingWarn) ? p.missingWarn : e.missingWarn, C = ce(p.fallbackWarn) ? p.fallbackWarn : e.fallbackWarn,
|
|
1723
|
-
|
|
1724
|
-
let [i, d,
|
|
1720
|
+
const En = () => "", ve = (e) => le(e);
|
|
1721
|
+
function In(e, ...t) {
|
|
1722
|
+
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: m } = e, [u, p] = jt(...t), O = ce(p.missingWarn) ? p.missingWarn : e.missingWarn, C = ce(p.fallbackWarn) ? p.fallbackWarn : e.fallbackWarn, y = ce(p.escapeParameter) ? p.escapeParameter : e.escapeParameter, P = !!p.resolvedMessage, V = F(p.default) || ce(p.default) ? ce(p.default) ? a ? u : () => u : p.default : n ? a ? u : () => u : null, L = n || V != null && (F(V) || le(V)), M = Jt(e, p);
|
|
1723
|
+
y && Ya(p);
|
|
1724
|
+
let [i, d, N] = P ? [
|
|
1725
1725
|
u,
|
|
1726
1726
|
M,
|
|
1727
1727
|
m[M] || q()
|
|
1728
|
-
] :
|
|
1728
|
+
] : Wn(e, u, M, c, C, O), _ = i, w = u;
|
|
1729
1729
|
if (!P && !(F(_) || He(_) || ve(_)) && L && (_ = V, w = _), !P && (!(F(_) || He(_) || ve(_)) || !F(d)))
|
|
1730
|
-
return l ?
|
|
1730
|
+
return l ? gt : u;
|
|
1731
1731
|
let S = !1;
|
|
1732
|
-
const
|
|
1732
|
+
const b = () => {
|
|
1733
1733
|
S = !0;
|
|
1734
|
-
}, v = ve(_) ? _ : xn(e, u, d, _, w,
|
|
1734
|
+
}, v = ve(_) ? _ : xn(e, u, d, _, w, b);
|
|
1735
1735
|
if (S)
|
|
1736
1736
|
return _;
|
|
1737
|
-
const
|
|
1737
|
+
const h = Ka(e, d, N, p), I = Ha(h), A = Ja(e, v, I), R = s ? s(A, u) : A;
|
|
1738
1738
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1739
|
-
const
|
|
1739
|
+
const W = {
|
|
1740
1740
|
timestamp: Date.now(),
|
|
1741
1741
|
key: F(u) ? u : ve(_) ? _.key : "",
|
|
1742
1742
|
locale: d || (ve(_) ? _.locale : ""),
|
|
1743
1743
|
format: F(_) ? _ : ve(_) ? _.source : "",
|
|
1744
1744
|
message: R
|
|
1745
1745
|
};
|
|
1746
|
-
|
|
1746
|
+
W.meta = fe({}, e.__meta, /* @__PURE__ */ wa() || {}), _a(W);
|
|
1747
1747
|
}
|
|
1748
1748
|
return R;
|
|
1749
1749
|
}
|
|
1750
|
-
function
|
|
1751
|
-
ue(e.list) ? e.list = e.list.map((t) => F(t) ? nn(t) : t) :
|
|
1750
|
+
function Ya(e) {
|
|
1751
|
+
ue(e.list) ? e.list = e.list.map((t) => F(t) ? nn(t) : t) : K(e.named) && Object.keys(e.named).forEach((t) => {
|
|
1752
1752
|
F(e.named[t]) && (e.named[t] = nn(e.named[t]));
|
|
1753
1753
|
});
|
|
1754
1754
|
}
|
|
1755
|
-
function
|
|
1755
|
+
function Wn(e, t, n, s, l, a) {
|
|
1756
1756
|
const { messages: c, onWarn: m, messageResolver: u, localeFallbacker: p } = e, O = p(e, s, n);
|
|
1757
|
-
let C = q(),
|
|
1757
|
+
let C = q(), y, P = null;
|
|
1758
1758
|
const V = "translate";
|
|
1759
|
-
for (let L = 0; L < O.length && (
|
|
1760
|
-
if (!Ua(
|
|
1759
|
+
for (let L = 0; L < O.length && (y = O[L], C = c[y] || q(), (P = u(C, t)) === null && (P = C[t]), !(F(P) || He(P) || ve(P))); L++)
|
|
1760
|
+
if (!Ua(y, O)) {
|
|
1761
1761
|
const M = $t(
|
|
1762
1762
|
e,
|
|
1763
1763
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1764
1764
|
t,
|
|
1765
|
-
|
|
1765
|
+
y,
|
|
1766
1766
|
a,
|
|
1767
1767
|
V
|
|
1768
1768
|
);
|
|
1769
1769
|
M !== t && (P = M);
|
|
1770
1770
|
}
|
|
1771
|
-
return [P,
|
|
1771
|
+
return [P, y, C];
|
|
1772
1772
|
}
|
|
1773
1773
|
function xn(e, t, n, s, l, a) {
|
|
1774
1774
|
const { messageCompiler: c, warnHtmlMessage: m } = e;
|
|
@@ -1804,15 +1804,15 @@ function $a(e, t, n, s, l, a) {
|
|
|
1804
1804
|
onCacheKey: (c) => _s(t, n, c)
|
|
1805
1805
|
};
|
|
1806
1806
|
}
|
|
1807
|
-
function
|
|
1808
|
-
const { modifiers: l, pluralRules: a, messageResolver: c, fallbackLocale: m, fallbackWarn: u, missingWarn: p, fallbackContext: O } = e,
|
|
1807
|
+
function Ka(e, t, n, s) {
|
|
1808
|
+
const { modifiers: l, pluralRules: a, messageResolver: c, fallbackLocale: m, fallbackWarn: u, missingWarn: p, fallbackContext: O } = e, y = {
|
|
1809
1809
|
locale: t,
|
|
1810
1810
|
modifiers: l,
|
|
1811
1811
|
pluralRules: a,
|
|
1812
1812
|
messages: (P, V) => {
|
|
1813
1813
|
let L = c(n, P);
|
|
1814
1814
|
if (L == null && (O || V)) {
|
|
1815
|
-
const [, , M] =
|
|
1815
|
+
const [, , M] = Wn(
|
|
1816
1816
|
O || e,
|
|
1817
1817
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1818
1818
|
P,
|
|
@@ -1828,21 +1828,21 @@ function za(e, t, n, s) {
|
|
|
1828
1828
|
const d = xn(e, P, t, L, P, () => {
|
|
1829
1829
|
M = !0;
|
|
1830
1830
|
});
|
|
1831
|
-
return M ?
|
|
1832
|
-
} else return ve(L) ? L :
|
|
1831
|
+
return M ? En : d;
|
|
1832
|
+
} else return ve(L) ? L : En;
|
|
1833
1833
|
}
|
|
1834
1834
|
};
|
|
1835
|
-
return e.processor && (
|
|
1835
|
+
return e.processor && (y.processor = e.processor), s.list && (y.list = s.list), s.named && (y.named = s.named), de(s.plural) && (y.pluralIndex = s.plural), y;
|
|
1836
1836
|
}
|
|
1837
|
-
|
|
1838
|
-
var Ka = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_b08bca7f-3a85-4232-8217-247b6416dd83", 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_b08bca7f-3a85-4232-8217-247b6416dd83", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.2.0", npm_node_execpath: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_files_0: "dist", npm_package_devDependencies_eslint_import_resolver_typescript: "^4.4.4", HOME: "/home/runner", npm_package_devDependencies__eslint_js: "^9.39.2", npm_package_devDependencies__typescript_eslint_parser: "^8.52.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_devDependencies_eslint_config_prettier: "^10.1.8", npm_config_save_workspace_protocol: "true", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.5.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "^1.29.10", npm_package_devDependencies_code_inspector_plugin: "^0.20.16", npm_package_devDependencies_npm_run_all2: "^6.0.6", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1874", ACTIONS_ORCHESTRATION_ID: "7ab5ad78-9f73-4fb1-bff3-41b7e9847080.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.10.6", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "VITE_TARGET_ENV=dev pnpm build:mf && pnpm build:dts", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.9.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.6", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260518.149.1", npm_package_scripts_dev: "vite", npm_package_devDependencies_prettier: "^3.7.4", npm_package_devDependencies_sass_embedded: "^1.93.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_devDependencies__vue_tsconfig: "^0.4.0", npm_package_devDependencies_eslint_plugin_import: "^2.32.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:10688", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^8.52.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.10/x64", GITHUB_RUN_ID: "26269134356", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "6075548c8c66641e79cc7f0e5db1b6c58b773858", 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.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L3Blcm1pc3Npb24taW50ZWdyYXRpb25zXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzc5NDQ3NzYwLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3Nzk0MjU1NjAsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiJkNWU4ZjUwOC02YzUwLTViY2ItYTAxYi1iMTQ1NjI2OTU4YjgiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3Nzk0MjUyNjAsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwianVuLWxlZS1mZWVkbWVcIixcImFjdG9yX2lkXCI6XCIyMzkyODI4NjJcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiNzczMTg2NzYyNTZcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjIyMGY3ZTc2ZTBkY2EwOTNjNDc1MDM3YjhlN2MwZjU1M2I2MTcyMzlcIixcInJlZlwiOlwicmVmcy9oZWFkcy9mZWF0L3Blcm1pc3Npb24taW50ZWdyYXRpb25zXCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjI2MjY5MTM0MzU2XCIsXCJydW5fbnVtYmVyXCI6XCI5MVwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcIjYwNzU1NDhjOGM2NjY0MWU3OWNjN2YwZTVkYjFiNmM1OGI3NzM4NThcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL2ZlYXQvcGVybWlzc2lvbi1pbnRlZ3JhdGlvbnNcIixcIndvcmtmbG93X3NoYVwiOlwiNjA3NTU0OGM4YzY2NjQxZTc5Y2M3ZjBlNWRiMWI2YzU4Yjc3Mzg1OFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvaHJtLXNlcnZpY2U6cmVmOnJlZnMvaGVhZHMvZmVhdC9wZXJtaXNzaW9uLWludGVncmF0aW9ucyIsIm9yY2hfaWQiOiI3YWI1YWQ3OC05ZjczLTRmYjEtYmZmMy00MWI3ZTk4NDcwODAucHVibGlzaC5wdWJsaXNoLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6IjdhYjVhZDc4LTlmNzMtNGZiMS1iZmYzLTQxYjdlOTg0NzA4MCIsInJlcG9zaXRvcnlfaWQiOiIxMTI0NjcyMjM1IiwicmVwb3NpdG9yeV9vd25lcl9pZCI6IjU0ODMxNTE1IiwicmVwb3NpdG9yeV92aXNpYmlsaXR5IjoicHJpdmF0ZSIsInJ1bl9pZCI6IjI2MjY5MTM0MzU2IiwicnVuX251bWJlciI6IjkxIiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDA3MTI0MyIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOjdhYjVhZDc4LTlmNzMtNGZiMS1iZmYzLTQxYjdlOTg0NzA4MDpkNWU4ZjUwOC02YzUwLTViY2ItYTAxYi1iMTQ1NjI2OTU4YjggQWN0aW9ucy5SdW5uZXI6N2FiNWFkNzgtOWY3My00ZmIxLWJmZjMtNDFiN2U5ODQ3MDgwOmQ1ZThmNTA4LTZjNTAtNWJjYi1hMDFiLWIxNDU2MjY5NThiOCBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czo3YWI1YWQ3OC05ZjczLTRmYjEtYmZmMy00MWI3ZTk4NDcwODA6ZDVlOGY1MDgtNmM1MC01YmNiLWEwMWItYjE0NTYyNjk1OGI4IGdlbmVyYXRlX2lkX3Rva2VuOjdhYjVhZDc4LTlmNzMtNGZiMS1iZmYzLTQxYjdlOTg0NzA4MDpkNWU4ZjUwOC02YzUwLTViY2ItYTAxYi1iMTQ1NjI2OTU4YjggQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiI2MDc1NTQ4YzhjNjY2NDFlNzljYzdmMGU1ZGIxYjZjNThiNzczODU4IiwidHJ1c3RfdGllciI6IjEifQ.yMQ1pIVjjn0RCHC3Ll5Xd30sQPY56hpLUhg1aSHsfSwnKAPr9za2tKRLJ-H7CPl7I5UarX23Dvzr-_q7B7-_NGrJ00nQHp2UOvEdvjkvlRiNaUl-tFpn9eTW2I7kxze0I1L8LCzMxVRvWnIMTVBzwSnkiw4gr3mtJNPcsJgYWDXTYZLWnA0E6kbKRB7KkxGxpad0IcVwqu2sdPWF3XUXkAy2rTiQ-05qGc2cdV79qs1LK6asOIJ_9zHboHj3PB4mE1LVu0P4TuS0VMyiJJhMsTMgqwjT7muHh9olgJu3XPZAihO0N8HxquLBJNdgXtA2i7SO4N5vpd6SPTIZ2vPgww", 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_10b48031-af29-4b6c-bd8b-50c80a0eff14", INVOCATION_ID: "e6ca7e3ac0b546e8af8ceee15a87ee20", 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: "91", 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 1000071243", 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.15-dev", 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: "6075548c8c66641e79cc7f0e5db1b6c58b773858", 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_b08bca7f-3a85-4232-8217-247b6416dd83", 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/160//idtoken/7ab5ad78-9f73-4fb1-bff3-41b7e9847080/d5e8f508-6c50-5bcb-a01b-b145626958b8?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_b08bca7f-3a85-4232-8217-247b6416dd83", 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_b08bca7f-3a85-4232-8217-247b6416dd83", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1837
|
+
Ys();
|
|
1838
|
+
var za = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_595f007c-6cc9-43de-8308-97fd00cdbec1", npm_package_devDependencies__types_node: "^18.17.17", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^1.2.0", USER: "runner", npm_config_always_auth: "", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v24.5.0 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", npm_package_devDependencies_vue_i18n: "10.0.5", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_595f007c-6cc9-43de-8308-97fd00cdbec1", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.2.0", npm_node_execpath: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_files_0: "dist", npm_package_devDependencies_eslint_import_resolver_typescript: "^4.4.4", HOME: "/home/runner", npm_package_devDependencies__eslint_js: "^9.39.2", npm_package_devDependencies__typescript_eslint_parser: "^8.52.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_devDependencies_eslint_config_prettier: "^10.1.8", npm_config_save_workspace_protocol: "true", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.5.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "^1.29.10", npm_package_devDependencies_code_inspector_plugin: "^0.20.16", npm_package_devDependencies_npm_run_all2: "^6.0.6", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1866", ACTIONS_ORCHESTRATION_ID: "a8fa5305-6f1e-428a-813c-869cf17b6d06.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.10.6", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "VITE_TARGET_ENV=dev pnpm build:mf && pnpm build:dts", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.9.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.6", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260518.149.1", npm_package_scripts_dev: "vite", npm_package_devDependencies_prettier: "^3.7.4", npm_package_devDependencies_sass_embedded: "^1.93.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_devDependencies__vue_tsconfig: "^0.4.0", npm_package_devDependencies_eslint_plugin_import: "^2.32.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:15652", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^8.52.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.10/x64", GITHUB_RUN_ID: "26387095153", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "a84c0c801acd347884fa56df2fdb98e470edd7f0", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/perf/improve-hrm-performance", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9wZXJmL2ltcHJvdmUtaHJtLXBlcmZvcm1hbmNlXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzc5NzEzMjkwLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3Nzk2OTEwOTAsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiI5ZDcwNGRiMS00NzYwLTUyMGQtODg2Ny00ZTkyMDZkZDNlZjAiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3Nzk2OTA3OTAsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwianVuLWxlZS1mZWVkbWVcIixcImFjdG9yX2lkXCI6XCIyMzkyODI4NjJcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiNzc2Njc5NTczMzFcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjIyMGY3ZTc2ZTBkY2EwOTNjNDc1MDM3YjhlN2MwZjU1M2I2MTcyMzlcIixcInJlZlwiOlwicmVmcy9oZWFkcy9wZXJmL2ltcHJvdmUtaHJtLXBlcmZvcm1hbmNlXCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjI2Mzg3MDk1MTUzXCIsXCJydW5fbnVtYmVyXCI6XCI5M1wiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcImE4NGMwYzgwMWFjZDM0Nzg4NGZhNTZkZjJmZGI5OGU0NzBlZGQ3ZjBcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL3BlcmYvaW1wcm92ZS1ocm0tcGVyZm9ybWFuY2VcIixcIndvcmtmbG93X3NoYVwiOlwiYTg0YzBjODAxYWNkMzQ3ODg0ZmE1NmRmMmZkYjk4ZTQ3MGVkZDdmMFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvaHJtLXNlcnZpY2U6cmVmOnJlZnMvaGVhZHMvcGVyZi9pbXByb3ZlLWhybS1wZXJmb3JtYW5jZSIsIm9yY2hfaWQiOiJhOGZhNTMwNS02ZjFlLTQyOGEtODEzYy04NjljZjE3YjZkMDYucHVibGlzaC5wdWJsaXNoLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6ImE4ZmE1MzA1LTZmMWUtNDI4YS04MTNjLTg2OWNmMTdiNmQwNiIsInJlcG9zaXRvcnlfaWQiOiIxMTI0NjcyMjM1IiwicmVwb3NpdG9yeV9vd25lcl9pZCI6IjU0ODMxNTE1IiwicmVwb3NpdG9yeV92aXNpYmlsaXR5IjoicHJpdmF0ZSIsInJ1bl9pZCI6IjI2Mzg3MDk1MTUzIiwicnVuX251bWJlciI6IjkzIiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDA3MTY3NSIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOmE4ZmE1MzA1LTZmMWUtNDI4YS04MTNjLTg2OWNmMTdiNmQwNjo5ZDcwNGRiMS00NzYwLTUyMGQtODg2Ny00ZTkyMDZkZDNlZjAgQWN0aW9ucy5SdW5uZXI6YThmYTUzMDUtNmYxZS00MjhhLTgxM2MtODY5Y2YxN2I2ZDA2OjlkNzA0ZGIxLTQ3NjAtNTIwZC04ODY3LTRlOTIwNmRkM2VmMCBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czphOGZhNTMwNS02ZjFlLTQyOGEtODEzYy04NjljZjE3YjZkMDY6OWQ3MDRkYjEtNDc2MC01MjBkLTg4NjctNGU5MjA2ZGQzZWYwIGdlbmVyYXRlX2lkX3Rva2VuOmE4ZmE1MzA1LTZmMWUtNDI4YS04MTNjLTg2OWNmMTdiNmQwNjo5ZDcwNGRiMS00NzYwLTUyMGQtODg2Ny00ZTkyMDZkZDNlZjAgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiJhODRjMGM4MDFhY2QzNDc4ODRmYTU2ZGYyZmRiOThlNDcwZWRkN2YwIiwidHJ1c3RfdGllciI6IjEifQ.WgPPv98KBCPCKSCff1E7R5ODsg-FCp6XEKOZG-7rueB2CFXzc7ixkHM7_rFBIB13abJX6iQmX5Mn7PAFDZt8QOy6PDWaCvYDMdx9bog1Eeq-saoef1v1YGQbKJYCSLLlIz8oycfnd_9SHK208X9Omvw0YWpfJijPgqBDlnxI5bjQCL23fwZLZvObPzu1hpWkTsLg1TsiQQv5E52vfidQBArjTWG9FyefMuBXPc5i1CihvcG0g_qi3zhqoMIjsMCQflD7yJAUik5MxkgzA_xz8krR1Y39fL1QNMMvUGN9P2CHTKJ87W6-x40MWs9YWNMh_zQIMb7SryW98xw-vIAl-Q", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.7", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/24.5.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_fcd872de-e4ed-4e4c-829c-898b6e799437", INVOCATION_ID: "bf15bb79451a42fb8cdb9392452cbdfd", NPM_CONFIG_USERCONFIG: "/home/runner/work/_temp/.npmrc", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", npm_package_name: "@feedmepos/mf-hrm-portal", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "93", GITHUB_TRIGGERING_ACTOR: "jun-lee-feedme", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag latest --no-git-checks", npm_package_scripts_publish_npm_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag beta --no-git-checks", npm_package_scripts_publish_github: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks", npm_package_scripts_publish_github_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks", npm_config_frozen_lockfile: "", npm_package_devDependencies__vitest_ui: "^1.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies_eslint: "^9.39.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000071675", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "perf/improve-hrm-performance", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "^2.14.36", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__casl_ability: "^3.4.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^4.0.0", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "1124672235", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/bin/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "2.0.15-dev.2", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_hrm_permission: "workspace:*", npm_package_devDependencies__rushstack_eslint_patch: "^1.3.3", npm_package_devDependencies_eslint_plugin_unused_imports: "^4.3.0", npm_package_devDependencies_jsdom: "^24.0.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "a84c0c801acd347884fa56df2fdb98e470edd7f0", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", GITHUB_REF: "refs/heads/perf/improve-hrm-performance", GITHUB_ACTOR: "jun-lee-feedme", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", npm_package_devDependencies_globals: "^16.5.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_595f007c-6cc9-43de-8308-97fd00cdbec1", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "239282862", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-2-azure-eastus.actions.githubusercontent.com/151//idtoken/a8fa5305-6f1e-428a-813c-869cf17b6d06/9d704db1-4760-520d-8867-4e9206dd3ef0?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_595f007c-6cc9-43de-8308-97fd00cdbec1", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.33.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_14.6.0", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_595f007c-6cc9-43de-8308-97fd00cdbec1", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1839
1839
|
const Qa = "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);
|
|
1842
1842
|
}
|
|
1843
|
-
const
|
|
1843
|
+
const Ye = {
|
|
1844
1844
|
// composer module errors
|
|
1845
|
-
UNEXPECTED_RETURN_TYPE:
|
|
1845
|
+
UNEXPECTED_RETURN_TYPE: ha,
|
|
1846
1846
|
// 24
|
|
1847
1847
|
// legacy module errors
|
|
1848
1848
|
INVALID_ARGUMENT: 25,
|
|
@@ -1854,31 +1854,31 @@ const Be = {
|
|
|
1854
1854
|
UNEXPECTED_ERROR: 32
|
|
1855
1855
|
};
|
|
1856
1856
|
function nt(e, ...t) {
|
|
1857
|
-
return
|
|
1857
|
+
return ht(e, null, void 0);
|
|
1858
1858
|
}
|
|
1859
|
-
const Ut = /* @__PURE__ */ Ve("__translateVNode"), Vt = /* @__PURE__ */ Ve("__datetimeParts"),
|
|
1859
|
+
const Ut = /* @__PURE__ */ Ve("__translateVNode"), Vt = /* @__PURE__ */ Ve("__datetimeParts"), Gt = /* @__PURE__ */ Ve("__numberParts"), er = Ve("__setPluralRules"), Xn = /* @__PURE__ */ Ve("__injectWithOption"), Wt = /* @__PURE__ */ Ve("__dispose");
|
|
1860
1860
|
function st(e) {
|
|
1861
|
-
if (!
|
|
1861
|
+
if (!K(e))
|
|
1862
1862
|
return e;
|
|
1863
1863
|
for (const t in e)
|
|
1864
|
-
if (
|
|
1864
|
+
if (ye(e, t))
|
|
1865
1865
|
if (!t.includes("."))
|
|
1866
|
-
|
|
1866
|
+
K(e[t]) && st(e[t]);
|
|
1867
1867
|
else {
|
|
1868
1868
|
const n = t.split("."), s = n.length - 1;
|
|
1869
1869
|
let l = e, a = !1;
|
|
1870
1870
|
for (let c = 0; c < s; c++) {
|
|
1871
|
-
if (n[c] in l || (l[n[c]] = q()), !
|
|
1871
|
+
if (n[c] in l || (l[n[c]] = q()), !K(l[n[c]])) {
|
|
1872
1872
|
a = !0;
|
|
1873
1873
|
break;
|
|
1874
1874
|
}
|
|
1875
1875
|
l = l[n[c]];
|
|
1876
1876
|
}
|
|
1877
|
-
a || (l[n[s]] = e[t], delete e[t]),
|
|
1877
|
+
a || (l[n[s]] = e[t], delete e[t]), K(l[n[s]]) && st(l[n[s]]);
|
|
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 = $(n) ? n : ue(s) ? q() : { [e]: q() };
|
|
1883
1883
|
if (ue(s) && s.forEach((m) => {
|
|
1884
1884
|
if ("locale" in m && "resource" in m) {
|
|
@@ -1888,15 +1888,15 @@ function Yn(e, t) {
|
|
|
1888
1888
|
F(m) && mt(JSON.parse(m), c);
|
|
1889
1889
|
}), l == null && a)
|
|
1890
1890
|
for (const m in c)
|
|
1891
|
-
|
|
1891
|
+
ye(c, m) && st(c[m]);
|
|
1892
1892
|
return c;
|
|
1893
1893
|
}
|
|
1894
|
-
function
|
|
1894
|
+
function Bn(e) {
|
|
1895
1895
|
return e.type;
|
|
1896
1896
|
}
|
|
1897
1897
|
function tr(e, t, n) {
|
|
1898
|
-
let s =
|
|
1899
|
-
"__i18nGlobal" in n && (s =
|
|
1898
|
+
let s = K(t.messages) ? t.messages : q();
|
|
1899
|
+
"__i18nGlobal" in n && (s = Zn(e.locale.value, {
|
|
1900
1900
|
messages: s,
|
|
1901
1901
|
__i18n: n.__i18nGlobal
|
|
1902
1902
|
}));
|
|
@@ -1905,13 +1905,13 @@ function tr(e, t, n) {
|
|
|
1905
1905
|
e.mergeLocaleMessage(a, s[a]);
|
|
1906
1906
|
});
|
|
1907
1907
|
{
|
|
1908
|
-
if (
|
|
1908
|
+
if (K(t.datetimeFormats)) {
|
|
1909
1909
|
const a = Object.keys(t.datetimeFormats);
|
|
1910
1910
|
a.length && a.forEach((c) => {
|
|
1911
1911
|
e.mergeDateTimeFormat(c, t.datetimeFormats[c]);
|
|
1912
1912
|
});
|
|
1913
1913
|
}
|
|
1914
|
-
if (
|
|
1914
|
+
if (K(t.numberFormats)) {
|
|
1915
1915
|
const a = Object.keys(t.numberFormats);
|
|
1916
1916
|
a.length && a.forEach((c) => {
|
|
1917
1917
|
e.mergeNumberFormat(c, t.numberFormats[c]);
|
|
@@ -1919,10 +1919,10 @@ function tr(e, t, n) {
|
|
|
1919
1919
|
}
|
|
1920
1920
|
}
|
|
1921
1921
|
}
|
|
1922
|
-
function
|
|
1923
|
-
return _e(
|
|
1922
|
+
function yn(e) {
|
|
1923
|
+
return _e(zn, null, e, 0);
|
|
1924
1924
|
}
|
|
1925
|
-
const
|
|
1925
|
+
const Nn = "__INTLIFY_META__", kn = () => [], nr = () => !1;
|
|
1926
1926
|
let Tn = 0;
|
|
1927
1927
|
function On(e) {
|
|
1928
1928
|
return (t, n, s, l) => e(n, s, xt() || void 0, l);
|
|
@@ -1930,10 +1930,10 @@ function On(e) {
|
|
|
1930
1930
|
const sr = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
1931
1931
|
const e = xt();
|
|
1932
1932
|
let t = null;
|
|
1933
|
-
return e && (t =
|
|
1933
|
+
return e && (t = Bn(e)[Nn]) ? { [Nn]: t } : null;
|
|
1934
1934
|
};
|
|
1935
1935
|
function ar(e = {}) {
|
|
1936
|
-
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = en ? Ue :
|
|
1936
|
+
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = en ? Ue : Kn;
|
|
1937
1937
|
let c = ce(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1938
1938
|
const m = a(
|
|
1939
1939
|
// prettier-ignore
|
|
@@ -1941,11 +1941,11 @@ function ar(e = {}) {
|
|
|
1941
1941
|
), u = a(
|
|
1942
1942
|
// prettier-ignore
|
|
1943
1943
|
t && c ? t.fallbackLocale.value : F(e.fallbackLocale) || ue(e.fallbackLocale) || $(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : m.value
|
|
1944
|
-
), p = a(
|
|
1945
|
-
let
|
|
1944
|
+
), p = a(Zn(m.value, e)), O = a($(e.datetimeFormats) ? e.datetimeFormats : { [m.value]: {} }), C = a($(e.numberFormats) ? e.numberFormats : { [m.value]: {} });
|
|
1945
|
+
let y = t ? t.missingWarn : ce(e.missingWarn) || dt(e.missingWarn) ? e.missingWarn : !0, P = t ? t.fallbackWarn : ce(e.fallbackWarn) || dt(e.fallbackWarn) ? e.fallbackWarn : !0, V = t ? t.fallbackRoot : ce(e.fallbackRoot) ? e.fallbackRoot : !0, L = !!e.fallbackFormat, M = le(e.missing) ? e.missing : null, i = le(e.missing) ? On(e.missing) : null, d = le(e.postTranslation) ? e.postTranslation : null, N = t ? t.warnHtmlMessage : ce(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, _ = !!e.escapeParameter;
|
|
1946
1946
|
const w = t ? t.modifiers : $(e.modifiers) ? e.modifiers : {};
|
|
1947
|
-
let S = e.pluralRules || t && t.pluralRules,
|
|
1948
|
-
|
|
1947
|
+
let S = e.pluralRules || t && t.pluralRules, b;
|
|
1948
|
+
b = (() => {
|
|
1949
1949
|
s && fn(null);
|
|
1950
1950
|
const f = {
|
|
1951
1951
|
version: Qa,
|
|
@@ -1955,22 +1955,22 @@ function ar(e = {}) {
|
|
|
1955
1955
|
modifiers: w,
|
|
1956
1956
|
pluralRules: S,
|
|
1957
1957
|
missing: i === null ? void 0 : i,
|
|
1958
|
-
missingWarn:
|
|
1958
|
+
missingWarn: y,
|
|
1959
1959
|
fallbackWarn: P,
|
|
1960
1960
|
fallbackFormat: L,
|
|
1961
1961
|
unresolving: !0,
|
|
1962
1962
|
postTranslation: d === null ? void 0 : d,
|
|
1963
|
-
warnHtmlMessage:
|
|
1963
|
+
warnHtmlMessage: N,
|
|
1964
1964
|
escapeParameter: _,
|
|
1965
1965
|
messageResolver: e.messageResolver,
|
|
1966
1966
|
messageCompiler: e.messageCompiler,
|
|
1967
1967
|
__meta: { framework: "vue" }
|
|
1968
1968
|
};
|
|
1969
|
-
f.datetimeFormats = O.value, f.numberFormats = C.value, f.__datetimeFormatters = $(
|
|
1970
|
-
const
|
|
1971
|
-
return s && fn(
|
|
1972
|
-
})(), Qe(
|
|
1973
|
-
function
|
|
1969
|
+
f.datetimeFormats = O.value, f.numberFormats = C.value, f.__datetimeFormatters = $(b) ? b.__datetimeFormatters : void 0, f.__numberFormatters = $(b) ? b.__numberFormatters : void 0;
|
|
1970
|
+
const E = Fa(f);
|
|
1971
|
+
return s && fn(E), E;
|
|
1972
|
+
})(), Qe(b, m.value, u.value);
|
|
1973
|
+
function h() {
|
|
1974
1974
|
return [
|
|
1975
1975
|
m.value,
|
|
1976
1976
|
u.value,
|
|
@@ -1979,167 +1979,167 @@ function ar(e = {}) {
|
|
|
1979
1979
|
C.value
|
|
1980
1980
|
];
|
|
1981
1981
|
}
|
|
1982
|
-
const
|
|
1982
|
+
const I = te({
|
|
1983
1983
|
get: () => m.value,
|
|
1984
1984
|
set: (f) => {
|
|
1985
|
-
m.value = f,
|
|
1985
|
+
m.value = f, b.locale = m.value;
|
|
1986
1986
|
}
|
|
1987
1987
|
}), A = te({
|
|
1988
1988
|
get: () => u.value,
|
|
1989
1989
|
set: (f) => {
|
|
1990
|
-
u.value = f,
|
|
1990
|
+
u.value = f, b.fallbackLocale = u.value, Qe(b, m.value, f);
|
|
1991
1991
|
}
|
|
1992
|
-
}), R = te(() => p.value),
|
|
1992
|
+
}), R = te(() => p.value), W = /* @__PURE__ */ te(() => O.value), G = /* @__PURE__ */ te(() => C.value);
|
|
1993
1993
|
function D() {
|
|
1994
1994
|
return le(d) ? d : null;
|
|
1995
1995
|
}
|
|
1996
1996
|
function T(f) {
|
|
1997
|
-
d = f,
|
|
1997
|
+
d = f, b.postTranslation = f;
|
|
1998
1998
|
}
|
|
1999
1999
|
function k() {
|
|
2000
2000
|
return M;
|
|
2001
2001
|
}
|
|
2002
|
-
function
|
|
2003
|
-
f !== null && (i = On(f)), M = f,
|
|
2002
|
+
function B(f) {
|
|
2003
|
+
f !== null && (i = On(f)), M = f, b.missing = i;
|
|
2004
2004
|
}
|
|
2005
|
-
const x = (f,
|
|
2006
|
-
|
|
2005
|
+
const x = (f, E, ee, ie, Pe, at) => {
|
|
2006
|
+
h();
|
|
2007
2007
|
let xe;
|
|
2008
2008
|
try {
|
|
2009
|
-
|
|
2009
|
+
za.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (b.fallbackContext = t ? Pa() : void 0), xe = f(b);
|
|
2010
2010
|
} finally {
|
|
2011
|
-
__INTLIFY_PROD_DEVTOOLS__, s || (
|
|
2011
|
+
__INTLIFY_PROD_DEVTOOLS__, s || (b.fallbackContext = void 0);
|
|
2012
2012
|
}
|
|
2013
2013
|
if (ee !== "translate exists" && // for not `te` (e.g `t`)
|
|
2014
|
-
de(xe) && xe ===
|
|
2015
|
-
const [Jn,
|
|
2014
|
+
de(xe) && xe === gt || ee === "translate exists" && !xe) {
|
|
2015
|
+
const [Jn, Yr] = E();
|
|
2016
2016
|
return t && V ? ie(t) : Pe(Jn);
|
|
2017
2017
|
} else {
|
|
2018
2018
|
if (at(xe))
|
|
2019
2019
|
return xe;
|
|
2020
|
-
throw nt(
|
|
2020
|
+
throw nt(Ye.UNEXPECTED_RETURN_TYPE);
|
|
2021
2021
|
}
|
|
2022
2022
|
};
|
|
2023
2023
|
function j(...f) {
|
|
2024
|
-
return x((
|
|
2024
|
+
return x((E) => Reflect.apply(In, null, [E, ...f]), () => jt(...f), "translate", (E) => Reflect.apply(E.t, E, [...f]), (E) => E, (E) => F(E));
|
|
2025
2025
|
}
|
|
2026
2026
|
function ne(...f) {
|
|
2027
|
-
const [
|
|
2028
|
-
if (ie && !
|
|
2029
|
-
throw nt(
|
|
2030
|
-
return j(
|
|
2027
|
+
const [E, ee, ie] = f;
|
|
2028
|
+
if (ie && !K(ie))
|
|
2029
|
+
throw nt(Ye.INVALID_ARGUMENT);
|
|
2030
|
+
return j(E, ee, fe({ resolvedMessage: !0 }, ie || {}));
|
|
2031
2031
|
}
|
|
2032
2032
|
function J(...f) {
|
|
2033
|
-
return x((
|
|
2033
|
+
return x((E) => Reflect.apply(pn, null, [E, ...f]), () => Pt(...f), "datetime format", (E) => Reflect.apply(E.d, E, [...f]), () => mn, (E) => F(E));
|
|
2034
2034
|
}
|
|
2035
2035
|
function X(...f) {
|
|
2036
|
-
return x((
|
|
2036
|
+
return x((E) => Reflect.apply(gn, null, [E, ...f]), () => Ft(...f), "number format", (E) => Reflect.apply(E.n, E, [...f]), () => mn, (E) => F(E));
|
|
2037
2037
|
}
|
|
2038
|
-
function
|
|
2039
|
-
return f.map((
|
|
2038
|
+
function z(f) {
|
|
2039
|
+
return f.map((E) => F(E) || de(E) || ce(E) ? yn(String(E)) : E);
|
|
2040
2040
|
}
|
|
2041
2041
|
const re = {
|
|
2042
|
-
normalize:
|
|
2042
|
+
normalize: z,
|
|
2043
2043
|
interpolate: (f) => f,
|
|
2044
2044
|
type: "vnode"
|
|
2045
2045
|
};
|
|
2046
|
-
function
|
|
2047
|
-
return x((
|
|
2046
|
+
function Ee(...f) {
|
|
2047
|
+
return x((E) => {
|
|
2048
2048
|
let ee;
|
|
2049
|
-
const ie =
|
|
2049
|
+
const ie = E;
|
|
2050
2050
|
try {
|
|
2051
|
-
ie.processor = re, ee = Reflect.apply(
|
|
2051
|
+
ie.processor = re, ee = Reflect.apply(In, null, [ie, ...f]);
|
|
2052
2052
|
} finally {
|
|
2053
2053
|
ie.processor = null;
|
|
2054
2054
|
}
|
|
2055
2055
|
return ee;
|
|
2056
|
-
}, () => jt(...f), "translate", (
|
|
2056
|
+
}, () => jt(...f), "translate", (E) => E[Ut](...f), (E) => [yn(E)], (E) => ue(E));
|
|
2057
2057
|
}
|
|
2058
2058
|
function Je(...f) {
|
|
2059
|
-
return x((
|
|
2059
|
+
return x((E) => Reflect.apply(gn, null, [E, ...f]), () => Ft(...f), "number format", (E) => E[Gt](...f), kn, (E) => F(E) || ue(E));
|
|
2060
2060
|
}
|
|
2061
2061
|
function $e(...f) {
|
|
2062
|
-
return x((
|
|
2062
|
+
return x((E) => Reflect.apply(pn, null, [E, ...f]), () => Pt(...f), "datetime format", (E) => E[Vt](...f), kn, (E) => F(E) || ue(E));
|
|
2063
2063
|
}
|
|
2064
2064
|
function vt(f) {
|
|
2065
|
-
S = f,
|
|
2065
|
+
S = f, b.pluralRules = S;
|
|
2066
2066
|
}
|
|
2067
|
-
function
|
|
2067
|
+
function Et(f, E) {
|
|
2068
2068
|
return x(() => {
|
|
2069
2069
|
if (!f)
|
|
2070
2070
|
return !1;
|
|
2071
|
-
const ee = F(
|
|
2071
|
+
const ee = F(E) ? E : m.value, ie = Ge(ee), Pe = b.messageResolver(ie, f);
|
|
2072
2072
|
return He(Pe) || ve(Pe) || F(Pe);
|
|
2073
|
-
}, () => [f], "translate exists", (ee) => Reflect.apply(ee.te, ee, [f,
|
|
2073
|
+
}, () => [f], "translate exists", (ee) => Reflect.apply(ee.te, ee, [f, E]), nr, (ee) => ce(ee));
|
|
2074
2074
|
}
|
|
2075
|
-
function
|
|
2076
|
-
let
|
|
2077
|
-
const ee = Mn(
|
|
2075
|
+
function It(f) {
|
|
2076
|
+
let E = null;
|
|
2077
|
+
const ee = Mn(b, u.value, m.value);
|
|
2078
2078
|
for (let ie = 0; ie < ee.length; ie++) {
|
|
2079
|
-
const Pe = p.value[ee[ie]] || {}, at =
|
|
2079
|
+
const Pe = p.value[ee[ie]] || {}, at = b.messageResolver(Pe, f);
|
|
2080
2080
|
if (at != null) {
|
|
2081
|
-
|
|
2081
|
+
E = at;
|
|
2082
2082
|
break;
|
|
2083
2083
|
}
|
|
2084
2084
|
}
|
|
2085
|
-
return
|
|
2085
|
+
return E;
|
|
2086
2086
|
}
|
|
2087
|
-
function
|
|
2088
|
-
const
|
|
2089
|
-
return
|
|
2087
|
+
function Ke(f) {
|
|
2088
|
+
const E = It(f);
|
|
2089
|
+
return E ?? (t ? t.tm(f) || {} : {});
|
|
2090
2090
|
}
|
|
2091
|
-
function
|
|
2091
|
+
function Ge(f) {
|
|
2092
2092
|
return p.value[f] || {};
|
|
2093
2093
|
}
|
|
2094
|
-
function
|
|
2094
|
+
function We(f, E) {
|
|
2095
2095
|
if (l) {
|
|
2096
|
-
const ee = { [f]:
|
|
2096
|
+
const ee = { [f]: E };
|
|
2097
2097
|
for (const ie in ee)
|
|
2098
|
-
|
|
2099
|
-
|
|
2098
|
+
ye(ee, ie) && st(ee[ie]);
|
|
2099
|
+
E = ee[f];
|
|
2100
2100
|
}
|
|
2101
|
-
p.value[f] =
|
|
2101
|
+
p.value[f] = E, b.messages = p.value;
|
|
2102
2102
|
}
|
|
2103
|
-
function
|
|
2103
|
+
function ze(f, E) {
|
|
2104
2104
|
p.value[f] = p.value[f] || {};
|
|
2105
|
-
const ee = { [f]:
|
|
2105
|
+
const ee = { [f]: E };
|
|
2106
2106
|
if (l)
|
|
2107
2107
|
for (const ie in ee)
|
|
2108
|
-
|
|
2109
|
-
|
|
2108
|
+
ye(ee, ie) && st(ee[ie]);
|
|
2109
|
+
E = ee[f], mt(E, p.value[f]), b.messages = p.value;
|
|
2110
2110
|
}
|
|
2111
|
-
function
|
|
2111
|
+
function yt(f) {
|
|
2112
2112
|
return O.value[f] || {};
|
|
2113
2113
|
}
|
|
2114
|
-
function r(f,
|
|
2115
|
-
O.value[f] =
|
|
2114
|
+
function r(f, E) {
|
|
2115
|
+
O.value[f] = E, b.datetimeFormats = O.value, hn(b, f, E);
|
|
2116
2116
|
}
|
|
2117
|
-
function o(f,
|
|
2118
|
-
O.value[f] = fe(O.value[f] || {},
|
|
2117
|
+
function o(f, E) {
|
|
2118
|
+
O.value[f] = fe(O.value[f] || {}, E), b.datetimeFormats = O.value, hn(b, f, E);
|
|
2119
2119
|
}
|
|
2120
|
-
function
|
|
2120
|
+
function g(f) {
|
|
2121
2121
|
return C.value[f] || {};
|
|
2122
2122
|
}
|
|
2123
|
-
function U(f,
|
|
2124
|
-
C.value[f] =
|
|
2123
|
+
function U(f, E) {
|
|
2124
|
+
C.value[f] = E, b.numberFormats = C.value, bn(b, f, E);
|
|
2125
2125
|
}
|
|
2126
|
-
function oe(f,
|
|
2127
|
-
C.value[f] = fe(C.value[f] || {},
|
|
2126
|
+
function oe(f, E) {
|
|
2127
|
+
C.value[f] = fe(C.value[f] || {}, E), b.numberFormats = C.value, bn(b, f, E);
|
|
2128
2128
|
}
|
|
2129
2129
|
Tn++, t && en && (St(t.locale, (f) => {
|
|
2130
|
-
c && (m.value = f,
|
|
2130
|
+
c && (m.value = f, b.locale = f, Qe(b, m.value, u.value));
|
|
2131
2131
|
}), St(t.fallbackLocale, (f) => {
|
|
2132
|
-
c && (u.value = f,
|
|
2132
|
+
c && (u.value = f, b.fallbackLocale = f, Qe(b, m.value, u.value));
|
|
2133
2133
|
}));
|
|
2134
|
-
const
|
|
2134
|
+
const Z = {
|
|
2135
2135
|
id: Tn,
|
|
2136
|
-
locale:
|
|
2136
|
+
locale: I,
|
|
2137
2137
|
fallbackLocale: A,
|
|
2138
2138
|
get inheritLocale() {
|
|
2139
2139
|
return c;
|
|
2140
2140
|
},
|
|
2141
2141
|
set inheritLocale(f) {
|
|
2142
|
-
c = f, f && t && (m.value = t.locale.value, u.value = t.fallbackLocale.value, Qe(
|
|
2142
|
+
c = f, f && t && (m.value = t.locale.value, u.value = t.fallbackLocale.value, Qe(b, m.value, u.value));
|
|
2143
2143
|
},
|
|
2144
2144
|
get availableLocales() {
|
|
2145
2145
|
return Object.keys(p.value).sort();
|
|
@@ -2155,16 +2155,16 @@ function ar(e = {}) {
|
|
|
2155
2155
|
return s;
|
|
2156
2156
|
},
|
|
2157
2157
|
get missingWarn() {
|
|
2158
|
-
return
|
|
2158
|
+
return y;
|
|
2159
2159
|
},
|
|
2160
2160
|
set missingWarn(f) {
|
|
2161
|
-
|
|
2161
|
+
y = f, b.missingWarn = y;
|
|
2162
2162
|
},
|
|
2163
2163
|
get fallbackWarn() {
|
|
2164
2164
|
return P;
|
|
2165
2165
|
},
|
|
2166
2166
|
set fallbackWarn(f) {
|
|
2167
|
-
P = f,
|
|
2167
|
+
P = f, b.fallbackWarn = P;
|
|
2168
2168
|
},
|
|
2169
2169
|
get fallbackRoot() {
|
|
2170
2170
|
return V;
|
|
@@ -2176,33 +2176,33 @@ function ar(e = {}) {
|
|
|
2176
2176
|
return L;
|
|
2177
2177
|
},
|
|
2178
2178
|
set fallbackFormat(f) {
|
|
2179
|
-
L = f,
|
|
2179
|
+
L = f, b.fallbackFormat = L;
|
|
2180
2180
|
},
|
|
2181
2181
|
get warnHtmlMessage() {
|
|
2182
|
-
return
|
|
2182
|
+
return N;
|
|
2183
2183
|
},
|
|
2184
2184
|
set warnHtmlMessage(f) {
|
|
2185
|
-
|
|
2185
|
+
N = f, b.warnHtmlMessage = f;
|
|
2186
2186
|
},
|
|
2187
2187
|
get escapeParameter() {
|
|
2188
2188
|
return _;
|
|
2189
2189
|
},
|
|
2190
2190
|
set escapeParameter(f) {
|
|
2191
|
-
_ = f,
|
|
2191
|
+
_ = f, b.escapeParameter = f;
|
|
2192
2192
|
},
|
|
2193
2193
|
t: j,
|
|
2194
|
-
getLocaleMessage:
|
|
2195
|
-
setLocaleMessage:
|
|
2196
|
-
mergeLocaleMessage:
|
|
2194
|
+
getLocaleMessage: Ge,
|
|
2195
|
+
setLocaleMessage: We,
|
|
2196
|
+
mergeLocaleMessage: ze,
|
|
2197
2197
|
getPostTranslationHandler: D,
|
|
2198
2198
|
setPostTranslationHandler: T,
|
|
2199
2199
|
getMissingHandler: k,
|
|
2200
|
-
setMissingHandler:
|
|
2200
|
+
setMissingHandler: B,
|
|
2201
2201
|
[er]: vt
|
|
2202
2202
|
};
|
|
2203
|
-
return
|
|
2203
|
+
return Z.datetimeFormats = W, Z.numberFormats = G, Z.rt = ne, Z.te = Et, Z.tm = Ke, Z.d = J, Z.n = X, Z.getDateTimeFormat = yt, Z.setDateTimeFormat = r, Z.mergeDateTimeFormat = o, Z.getNumberFormat = g, Z.setNumberFormat = U, Z.mergeNumberFormat = oe, Z[Xn] = n, Z[Ut] = Ee, Z[Vt] = $e, Z[Gt] = Je, Z;
|
|
2204
2204
|
}
|
|
2205
|
-
const
|
|
2205
|
+
const Kt = {
|
|
2206
2206
|
tag: {
|
|
2207
2207
|
type: [String, Object]
|
|
2208
2208
|
},
|
|
@@ -2224,14 +2224,14 @@ function rr({ 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 === Ie ? 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
|
}, q());
|
|
2232
2232
|
}
|
|
2233
2233
|
function Hn() {
|
|
2234
|
-
return
|
|
2234
|
+
return Ie;
|
|
2235
2235
|
}
|
|
2236
2236
|
fe({
|
|
2237
2237
|
keypath: {
|
|
@@ -2242,23 +2242,23 @@ fe({
|
|
|
2242
2242
|
type: [Number, String],
|
|
2243
2243
|
validator: (e) => de(e) || !isNaN(e)
|
|
2244
2244
|
}
|
|
2245
|
-
},
|
|
2245
|
+
}, Kt);
|
|
2246
2246
|
function lr(e) {
|
|
2247
2247
|
return ue(e) && !F(e[0]);
|
|
2248
2248
|
}
|
|
2249
|
-
function
|
|
2249
|
+
function Yn(e, t, n, s) {
|
|
2250
2250
|
const { slots: l, attrs: a } = t;
|
|
2251
2251
|
return () => {
|
|
2252
2252
|
const c = { part: !0 };
|
|
2253
2253
|
let m = q();
|
|
2254
|
-
e.locale && (c.locale = e.locale), F(e.format) ? c.key = e.format :
|
|
2254
|
+
e.locale && (c.locale = e.locale), F(e.format) ? c.key = e.format : K(e.format) && (F(e.format.key) && (c.key = e.format.key), m = Object.keys(e.format).reduce((y, P) => n.includes(P) ? fe(q(), y, { [P]: e.format[P] }) : y, q()));
|
|
2255
2255
|
const u = s(e.value, c, m);
|
|
2256
2256
|
let p = [c.key];
|
|
2257
|
-
ue(u) ? p = u.map((
|
|
2258
|
-
const V = l[
|
|
2259
|
-
return lr(L) && (L[0].key = `${
|
|
2257
|
+
ue(u) ? p = u.map((y, P) => {
|
|
2258
|
+
const V = l[y.type], L = V ? V({ [y.type]: y.value, index: P, parts: u }) : [y.value];
|
|
2259
|
+
return lr(L) && (L[0].key = `${y.type}-${P}`), L;
|
|
2260
2260
|
}) : F(u) && (p = [u]);
|
|
2261
|
-
const O = fe(q(), a), C = F(e.tag) ||
|
|
2261
|
+
const O = fe(q(), a), C = F(e.tag) || K(e.tag) ? e.tag : Hn();
|
|
2262
2262
|
return Sn(C, O, p);
|
|
2263
2263
|
};
|
|
2264
2264
|
}
|
|
@@ -2270,7 +2270,7 @@ fe({
|
|
|
2270
2270
|
format: {
|
|
2271
2271
|
type: [String, Object]
|
|
2272
2272
|
}
|
|
2273
|
-
},
|
|
2273
|
+
}, Kt);
|
|
2274
2274
|
fe({
|
|
2275
2275
|
value: {
|
|
2276
2276
|
type: [Number, Date],
|
|
@@ -2279,15 +2279,15 @@ fe({
|
|
|
2279
2279
|
format: {
|
|
2280
2280
|
type: [String, Object]
|
|
2281
2281
|
}
|
|
2282
|
-
},
|
|
2282
|
+
}, Kt);
|
|
2283
2283
|
const or = /* @__PURE__ */ Ve("global-vue-i18n");
|
|
2284
|
-
function
|
|
2284
|
+
function bt(e = {}) {
|
|
2285
2285
|
const t = xt();
|
|
2286
2286
|
if (t == null)
|
|
2287
|
-
throw nt(
|
|
2287
|
+
throw nt(Ye.MUST_BE_CALL_SETUP_TOP);
|
|
2288
2288
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
2289
|
-
throw nt(
|
|
2290
|
-
const n = ir(t), s = ur(n), l =
|
|
2289
|
+
throw nt(Ye.NOT_INSTALLED);
|
|
2290
|
+
const n = ir(t), s = ur(n), l = Bn(t), a = cr(e, l);
|
|
2291
2291
|
if (a === "global")
|
|
2292
2292
|
return tr(s, e, l), s;
|
|
2293
2293
|
if (a === "parent") {
|
|
@@ -2298,14 +2298,14 @@ function gt(e = {}) {
|
|
|
2298
2298
|
let m = c.__getInstance(t);
|
|
2299
2299
|
if (m == null) {
|
|
2300
2300
|
const u = fe({}, e);
|
|
2301
|
-
"__i18n" in l && (u.__i18n = l.__i18n), s && (u.__root = s), m = ar(u), c.__composerExtend && (m[
|
|
2301
|
+
"__i18n" in l && (u.__i18n = l.__i18n), s && (u.__root = s), m = ar(u), c.__composerExtend && (m[Wt] = c.__composerExtend(m)), fr(c, t, m), c.__setInstance(t, m);
|
|
2302
2302
|
}
|
|
2303
2303
|
return m;
|
|
2304
2304
|
}
|
|
2305
2305
|
function ir(e) {
|
|
2306
2306
|
const t = $n(e.isCE ? or : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
2307
2307
|
if (!t)
|
|
2308
|
-
throw nt(e.isCE ?
|
|
2308
|
+
throw nt(e.isCE ? Ye.NOT_INSTALLED_WITH_PROVIDE : Ye.UNEXPECTED_ERROR);
|
|
2309
2309
|
return t;
|
|
2310
2310
|
}
|
|
2311
2311
|
function cr(e, t) {
|
|
@@ -2340,8 +2340,8 @@ function fr(e, t, n) {
|
|
|
2340
2340
|
}, t), An(() => {
|
|
2341
2341
|
const s = n;
|
|
2342
2342
|
e.__deleteInstance(t);
|
|
2343
|
-
const l = s[
|
|
2344
|
-
l && (l(), delete s[
|
|
2343
|
+
const l = s[Wt];
|
|
2344
|
+
l && (l(), delete s[Wt]);
|
|
2345
2345
|
}, t);
|
|
2346
2346
|
}
|
|
2347
2347
|
qa();
|
|
@@ -2352,7 +2352,7 @@ if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
|
2352
2352
|
const e = je();
|
|
2353
2353
|
e.__INTLIFY__ = !0, da(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
2354
2354
|
}
|
|
2355
|
-
const it = /* @__PURE__ */
|
|
2355
|
+
const it = /* @__PURE__ */ Ne({
|
|
2356
2356
|
__name: "InheritPermissionTooltip",
|
|
2357
2357
|
props: {
|
|
2358
2358
|
item: {
|
|
@@ -2361,21 +2361,21 @@ const it = /* @__PURE__ */ ye({
|
|
|
2361
2361
|
}
|
|
2362
2362
|
},
|
|
2363
2363
|
setup(e) {
|
|
2364
|
-
const { t } =
|
|
2364
|
+
const { t } = bt();
|
|
2365
2365
|
return (n, s) => {
|
|
2366
|
-
const l =
|
|
2366
|
+
const l = Ze("FmIcon"), a = Ze("FmTooltip");
|
|
2367
2367
|
return H(), Se(a, {
|
|
2368
2368
|
variant: "plain",
|
|
2369
2369
|
placement: "right",
|
|
2370
2370
|
"z-index": 50
|
|
2371
2371
|
}, {
|
|
2372
|
-
content:
|
|
2373
|
-
ae("div", null, Ae(
|
|
2374
|
-
(H(!0), se(
|
|
2372
|
+
content: ge(() => [
|
|
2373
|
+
ae("div", null, Ae(Y(t)("team.memberForm.permissions.inherited")), 1),
|
|
2374
|
+
(H(!0), se(Ie, null, he(e.item.setNames, (c) => (H(), se("div", { key: c }, [
|
|
2375
2375
|
ae("div", null, "- " + Ae(c), 1)
|
|
2376
2376
|
]))), 128))
|
|
2377
2377
|
]),
|
|
2378
|
-
default:
|
|
2378
|
+
default: ge(() => [
|
|
2379
2379
|
_e(l, {
|
|
2380
2380
|
name: "admin_panel_settings",
|
|
2381
2381
|
size: "sm",
|
|
@@ -2389,10 +2389,10 @@ const it = /* @__PURE__ */ ye({
|
|
|
2389
2389
|
}), _r = { class: "space-y-16" }, pr = {
|
|
2390
2390
|
key: 0,
|
|
2391
2391
|
class: "flex fm-typo-en-title-sm-600"
|
|
2392
|
-
},
|
|
2392
|
+
}, hr = {
|
|
2393
2393
|
key: 0,
|
|
2394
2394
|
class: "q-mr-xs text-red col"
|
|
2395
|
-
},
|
|
2395
|
+
}, gr = { class: "form-input" }, br = /* @__PURE__ */ Ne({
|
|
2396
2396
|
__name: "AppForm",
|
|
2397
2397
|
props: {
|
|
2398
2398
|
title: {
|
|
@@ -2411,17 +2411,17 @@ const it = /* @__PURE__ */ ye({
|
|
|
2411
2411
|
setup(e) {
|
|
2412
2412
|
const t = e;
|
|
2413
2413
|
return (n, s) => (H(), se("div", _r, [
|
|
2414
|
-
|
|
2414
|
+
be(n.$slots, "top", {}, () => [
|
|
2415
2415
|
t.title ? (H(), se("div", pr, [
|
|
2416
2416
|
ae("div", null, [
|
|
2417
|
-
t.required ? (H(), se("span",
|
|
2417
|
+
t.required ? (H(), se("span", hr, "*")) : Oe("", !0),
|
|
2418
2418
|
Qn(Ae(t.title), 1)
|
|
2419
2419
|
]),
|
|
2420
|
-
|
|
2420
|
+
be(n.$slots, "title-right")
|
|
2421
2421
|
])) : Oe("", !0)
|
|
2422
2422
|
]),
|
|
2423
|
-
ae("div",
|
|
2424
|
-
|
|
2423
|
+
ae("div", gr, [
|
|
2424
|
+
be(n.$slots, "default")
|
|
2425
2425
|
])
|
|
2426
2426
|
]));
|
|
2427
2427
|
}
|
|
@@ -2433,10 +2433,10 @@ function vr(e, t) {
|
|
|
2433
2433
|
n += s.charAt(Math.floor(Math.random() * l));
|
|
2434
2434
|
return n;
|
|
2435
2435
|
}
|
|
2436
|
-
const
|
|
2436
|
+
const Er = { class: "col flex items-center" }, Ir = {
|
|
2437
2437
|
key: 1,
|
|
2438
2438
|
class: "q-pa-sm form-error-message text-error"
|
|
2439
|
-
},
|
|
2439
|
+
}, zt = /* @__PURE__ */ Ne({
|
|
2440
2440
|
__name: "CheckboxInput",
|
|
2441
2441
|
props: {
|
|
2442
2442
|
options: {
|
|
@@ -2498,10 +2498,10 @@ const Ir = { class: "col flex items-center" }, Er = {
|
|
|
2498
2498
|
() => n.modelValue.filter((L) => n.options.some((M) => M.value === L))
|
|
2499
2499
|
), C = te(
|
|
2500
2500
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
2501
|
-
),
|
|
2501
|
+
), y = te(() => n.options.length > 0 && n.options.length === O.value.length);
|
|
2502
2502
|
function P() {
|
|
2503
2503
|
const L = n.modelValue.filter((M) => !O.value.includes(M));
|
|
2504
|
-
if (
|
|
2504
|
+
if (y.value === !0)
|
|
2505
2505
|
s("update:model-value", L);
|
|
2506
2506
|
else {
|
|
2507
2507
|
const M = n.includeDisabledOptionsWhenSelectAll ? n.options.map((i) => i.value) : n.options.filter((i) => !i.disabled).map((i) => i.value);
|
|
@@ -2513,19 +2513,19 @@ const Ir = { class: "col flex items-center" }, Er = {
|
|
|
2513
2513
|
M ? i.every((d) => d !== L) && i.push(L) : i = i.filter((d) => d !== L), s("update:model-value", i);
|
|
2514
2514
|
}
|
|
2515
2515
|
return (L, M) => {
|
|
2516
|
-
const i =
|
|
2517
|
-
return H(), Se(
|
|
2516
|
+
const i = Ze("FmCheckbox");
|
|
2517
|
+
return H(), Se(br, {
|
|
2518
2518
|
id: u,
|
|
2519
2519
|
title: e.title,
|
|
2520
2520
|
required: !1
|
|
2521
2521
|
}, {
|
|
2522
|
-
top:
|
|
2523
|
-
|
|
2522
|
+
top: ge(() => [
|
|
2523
|
+
be(L.$slots, "top")
|
|
2524
2524
|
]),
|
|
2525
|
-
default:
|
|
2525
|
+
default: ge(() => [
|
|
2526
2526
|
n.showAllToggle ? (H(), Se(i, {
|
|
2527
2527
|
key: 0,
|
|
2528
|
-
"model-value":
|
|
2528
|
+
"model-value": y.value,
|
|
2529
2529
|
disabled: e.disable,
|
|
2530
2530
|
label: C.value,
|
|
2531
2531
|
style: ct(`margin-bottom: ${n.gutter}px`),
|
|
@@ -2534,15 +2534,15 @@ const Ir = { class: "col flex items-center" }, Er = {
|
|
|
2534
2534
|
value: C.value,
|
|
2535
2535
|
"onUpdate:modelValue": P
|
|
2536
2536
|
}, null, 8, ["model-value", "disabled", "label", "style", "value"])) : Oe("", !0),
|
|
2537
|
-
(H(!0), se(
|
|
2537
|
+
(H(!0), se(Ie, null, he(e.options, (d, N) => (H(), se("div", {
|
|
2538
2538
|
key: d.value,
|
|
2539
|
-
style: ct(`margin-bottom: ${
|
|
2540
|
-
class: qe(
|
|
2539
|
+
style: ct(`margin-bottom: ${N < e.options.length - 1 ? n.gutter : 0}px`),
|
|
2540
|
+
class: qe(N < e.options.length - 1 ? "q-mb-sm" : "")
|
|
2541
2541
|
}, [
|
|
2542
2542
|
ae("div", {
|
|
2543
2543
|
class: qe(["row justify-between", e.alignCenter ? "items-center" : "items-start"])
|
|
2544
2544
|
}, [
|
|
2545
|
-
ae("div",
|
|
2545
|
+
ae("div", Er, [
|
|
2546
2546
|
_e(i, {
|
|
2547
2547
|
"model-value": e.modelValue.includes(d.value),
|
|
2548
2548
|
disabled: e.disable || d.disabled,
|
|
@@ -2551,35 +2551,35 @@ const Ir = { class: "col flex items-center" }, Er = {
|
|
|
2551
2551
|
value: d.label,
|
|
2552
2552
|
"onUpdate:modelValue": (_) => V(d.value, _)
|
|
2553
2553
|
}, null, 8, ["model-value", "disabled", "label", "value", "onUpdate:modelValue"]),
|
|
2554
|
-
|
|
2554
|
+
be(L.$slots, `checkbox-${d.key || d.value}-append`, {
|
|
2555
2555
|
option: d,
|
|
2556
2556
|
selected: e.modelValue.includes(d.value)
|
|
2557
2557
|
})
|
|
2558
2558
|
]),
|
|
2559
|
-
|
|
2559
|
+
Y(c)[`checkbox-${d.key || d.value}-end`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (H(), se("div", {
|
|
2560
2560
|
key: 0,
|
|
2561
2561
|
class: qe([{ "q-checkbox disabled": e.disable || d.disabled }, "col"])
|
|
2562
2562
|
}, [
|
|
2563
|
-
|
|
2563
|
+
be(L.$slots, `checkbox-${d.key || d.value}-end`, {
|
|
2564
2564
|
option: d,
|
|
2565
2565
|
value: e.modelValue.includes(d.value),
|
|
2566
2566
|
disable: e.disable || d.disabled
|
|
2567
2567
|
})
|
|
2568
2568
|
], 2)) : Oe("", !0)
|
|
2569
2569
|
], 2),
|
|
2570
|
-
|
|
2570
|
+
Y(c)[`checkbox-${d.key || d.value}-bottom`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (H(), se("div", {
|
|
2571
2571
|
key: 0,
|
|
2572
2572
|
class: qe(["q-mt-sm", { "q-checkbox disabled": e.disable || d.disabled }]),
|
|
2573
2573
|
style: ct(`margin-left: ${e.bottomSlotIndent}`)
|
|
2574
2574
|
}, [
|
|
2575
|
-
|
|
2575
|
+
be(L.$slots, `checkbox-${d.key || d.value}-bottom`, {
|
|
2576
2576
|
option: d,
|
|
2577
2577
|
disable: e.disable || d.disabled,
|
|
2578
2578
|
value: e.modelValue.includes(d.value)
|
|
2579
2579
|
})
|
|
2580
2580
|
], 6)) : Oe("", !0)
|
|
2581
2581
|
], 6))), 128)),
|
|
2582
|
-
a.value && p.value ? (H(), se("div",
|
|
2582
|
+
a.value && p.value ? (H(), se("div", Ir, Ae(m.value), 1)) : Oe("", !0)
|
|
2583
2583
|
]),
|
|
2584
2584
|
_: 3
|
|
2585
2585
|
}, 8, ["title"]);
|
|
@@ -2601,48 +2601,48 @@ function Ln(e, t, n) {
|
|
|
2601
2601
|
});
|
|
2602
2602
|
}
|
|
2603
2603
|
const Cn = Object.values(us);
|
|
2604
|
-
function
|
|
2604
|
+
function yr(e, t, n, s) {
|
|
2605
2605
|
const { getFlagValue: l, getFlag: a } = ds(), c = te(() => {
|
|
2606
2606
|
var A;
|
|
2607
|
-
const v = /* @__PURE__ */ new Map(),
|
|
2607
|
+
const v = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Map();
|
|
2608
2608
|
for (const R of t.value) {
|
|
2609
|
-
const
|
|
2610
|
-
if (!
|
|
2611
|
-
const
|
|
2612
|
-
|
|
2609
|
+
const W = R.category;
|
|
2610
|
+
if (!W || n.value.includes(R.subject) || R.showByFeatureFlag && l(R.showByFeatureFlag) === "false") continue;
|
|
2611
|
+
const G = cs[W];
|
|
2612
|
+
G && ((A = a(G)) == null ? void 0 : A.enabled) === !1 || (v.has(W) || v.set(W, []), v.get(W).push({ label: R.label, value: R.subject }), h.set(R.subject, R));
|
|
2613
2613
|
}
|
|
2614
|
-
return [...v.keys()].sort((R,
|
|
2615
|
-
const
|
|
2616
|
-
return
|
|
2614
|
+
return [...v.keys()].sort((R, W) => {
|
|
2615
|
+
const G = Cn.indexOf(R), D = Cn.indexOf(W);
|
|
2616
|
+
return G === -1 && D === -1 ? R.localeCompare(W) : G === -1 ? 1 : D === -1 ? -1 : G - D;
|
|
2617
2617
|
}).map((R) => {
|
|
2618
|
-
const
|
|
2619
|
-
for (const X of
|
|
2620
|
-
const
|
|
2621
|
-
|
|
2618
|
+
const W = v.get(R), G = /* @__PURE__ */ new Map();
|
|
2619
|
+
for (const X of W) {
|
|
2620
|
+
const z = h.get(X.value);
|
|
2621
|
+
z && G.set(X.value, z.actions);
|
|
2622
2622
|
}
|
|
2623
|
-
const D =
|
|
2624
|
-
const
|
|
2625
|
-
return
|
|
2623
|
+
const D = W.some((X) => {
|
|
2624
|
+
const z = G.get(X.value);
|
|
2625
|
+
return z && z.length > 1;
|
|
2626
2626
|
}), T = D ? [
|
|
2627
2627
|
...new Set(
|
|
2628
|
-
|
|
2628
|
+
W.flatMap((X) => G.get(X.value) ?? []).filter((X) => X !== "manage")
|
|
2629
2629
|
)
|
|
2630
2630
|
] : [], k = /* @__PURE__ */ new Map();
|
|
2631
2631
|
for (const X of e.value)
|
|
2632
|
-
|
|
2633
|
-
const
|
|
2634
|
-
(X) =>
|
|
2635
|
-
).map((X) => X.subject) : e.value.filter((X) =>
|
|
2636
|
-
var
|
|
2637
|
-
return (
|
|
2632
|
+
W.some((z) => z.value === X.subject) && !X.inverted && k.set(X.subject, new Set(X.actions));
|
|
2633
|
+
const B = D ? e.value.filter(
|
|
2634
|
+
(X) => W.some((z) => z.value === X.subject) && !X.inverted && X.actions.includes("manage")
|
|
2635
|
+
).map((X) => X.subject) : e.value.filter((X) => W.some((z) => z.value === X.subject) && !X.inverted).map((X) => X.subject), x = W.find((X) => {
|
|
2636
|
+
var z;
|
|
2637
|
+
return (z = h.get(X.value)) == null ? void 0 : z.isCategoryCover;
|
|
2638
2638
|
}), j = (x == null ? void 0 : x.value) ?? null, ne = j ? k.get(j) ?? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set(), J = ne.has("manage");
|
|
2639
2639
|
return {
|
|
2640
2640
|
category: R,
|
|
2641
|
-
options:
|
|
2642
|
-
selectedSubjects:
|
|
2641
|
+
options: W,
|
|
2642
|
+
selectedSubjects: B,
|
|
2643
2643
|
isMultiAction: D,
|
|
2644
2644
|
actionColumns: T,
|
|
2645
|
-
permissionActionsMap:
|
|
2645
|
+
permissionActionsMap: G,
|
|
2646
2646
|
selectedActionsMap: k,
|
|
2647
2647
|
coverSubject: j,
|
|
2648
2648
|
coverSelectedActions: ne,
|
|
@@ -2650,151 +2650,151 @@ function Nr(e, t, n, s) {
|
|
|
2650
2650
|
};
|
|
2651
2651
|
});
|
|
2652
2652
|
});
|
|
2653
|
-
function m(v,
|
|
2653
|
+
function m(v, h) {
|
|
2654
2654
|
var A;
|
|
2655
|
-
const
|
|
2655
|
+
const I = ((A = c.value.find((R) => R.category === v)) == null ? void 0 : A.options) ?? [];
|
|
2656
2656
|
s("update:model-value", [
|
|
2657
|
-
...e.value.filter((R) => !
|
|
2658
|
-
...t.value.filter((R) =>
|
|
2659
|
-
({ category: R, showByFeatureFlag:
|
|
2657
|
+
...e.value.filter((R) => !I.some((W) => W.value === R.subject)),
|
|
2658
|
+
...t.value.filter((R) => h.includes(R.subject)).map(
|
|
2659
|
+
({ category: R, showByFeatureFlag: W, isCategoryCover: G, ...D }) => D
|
|
2660
2660
|
)
|
|
2661
2661
|
]);
|
|
2662
2662
|
}
|
|
2663
2663
|
function u(v) {
|
|
2664
|
-
return v.options.length > 0 && v.options.every((
|
|
2664
|
+
return v.options.length > 0 && v.options.every((h) => v.selectedSubjects.includes(h.value));
|
|
2665
2665
|
}
|
|
2666
2666
|
function p(v) {
|
|
2667
|
-
const
|
|
2668
|
-
(
|
|
2667
|
+
const h = e.value.filter(
|
|
2668
|
+
(I) => !v.options.some((A) => A.value === I.subject)
|
|
2669
2669
|
);
|
|
2670
2670
|
if (u(v))
|
|
2671
|
-
s("update:model-value",
|
|
2671
|
+
s("update:model-value", h);
|
|
2672
2672
|
else {
|
|
2673
|
-
const
|
|
2674
|
-
({ category: A, showByFeatureFlag: R, isCategoryCover:
|
|
2673
|
+
const I = t.value.filter((A) => v.options.some((R) => R.value === A.subject)).map(
|
|
2674
|
+
({ category: A, showByFeatureFlag: R, isCategoryCover: W, ...G }) => G
|
|
2675
2675
|
);
|
|
2676
|
-
s("update:model-value", [...
|
|
2676
|
+
s("update:model-value", [...h, ...I]);
|
|
2677
2677
|
}
|
|
2678
2678
|
}
|
|
2679
|
-
function O(v,
|
|
2680
|
-
const
|
|
2681
|
-
return
|
|
2679
|
+
function O(v, h) {
|
|
2680
|
+
const I = v.selectedActionsMap.get(h);
|
|
2681
|
+
return I ? I.has("manage") : !1;
|
|
2682
2682
|
}
|
|
2683
|
-
function C(v,
|
|
2684
|
-
const
|
|
2685
|
-
if (!
|
|
2686
|
-
const A =
|
|
2683
|
+
function C(v, h) {
|
|
2684
|
+
const I = v.permissionActionsMap.get(h);
|
|
2685
|
+
if (!I) return !1;
|
|
2686
|
+
const A = I.filter((G) => G !== "manage");
|
|
2687
2687
|
if (A.length === 0) return !1;
|
|
2688
|
-
const R = v.selectedActionsMap.get(
|
|
2688
|
+
const R = v.selectedActionsMap.get(h);
|
|
2689
2689
|
if (!R) return !1;
|
|
2690
|
-
const
|
|
2691
|
-
return
|
|
2690
|
+
const W = A.filter((G) => R.has(G));
|
|
2691
|
+
return W.length > 0 && W.length < A.length;
|
|
2692
2692
|
}
|
|
2693
|
-
function
|
|
2694
|
-
if (
|
|
2695
|
-
const A = t.value.find((k) => k.subject ===
|
|
2693
|
+
function y(v, h, I) {
|
|
2694
|
+
if (I) {
|
|
2695
|
+
const A = t.value.find((k) => k.subject === h);
|
|
2696
2696
|
if (!A) return;
|
|
2697
2697
|
const {
|
|
2698
2698
|
category: R,
|
|
2699
|
-
showByFeatureFlag:
|
|
2700
|
-
isCategoryCover:
|
|
2699
|
+
showByFeatureFlag: W,
|
|
2700
|
+
isCategoryCover: G,
|
|
2701
2701
|
...D
|
|
2702
|
-
} = A, T = e.value.filter((k) => k.subject !==
|
|
2702
|
+
} = A, T = e.value.filter((k) => k.subject !== h);
|
|
2703
2703
|
T.push(D), s("update:model-value", T);
|
|
2704
2704
|
} else
|
|
2705
2705
|
s(
|
|
2706
2706
|
"update:model-value",
|
|
2707
|
-
e.value.filter((A) => A.subject !==
|
|
2707
|
+
e.value.filter((A) => A.subject !== h)
|
|
2708
2708
|
);
|
|
2709
2709
|
}
|
|
2710
|
-
function P(v,
|
|
2711
|
-
const
|
|
2712
|
-
return
|
|
2710
|
+
function P(v, h) {
|
|
2711
|
+
const I = v.permissionActionsMap.get(h);
|
|
2712
|
+
return I ? I.some((A) => A !== "manage") : !1;
|
|
2713
2713
|
}
|
|
2714
|
-
function V(v,
|
|
2715
|
-
const A = v.selectedActionsMap.get(
|
|
2716
|
-
return A ? A.has(
|
|
2714
|
+
function V(v, h, I) {
|
|
2715
|
+
const A = v.selectedActionsMap.get(h);
|
|
2716
|
+
return A ? A.has(I) : !1;
|
|
2717
2717
|
}
|
|
2718
|
-
function L(v,
|
|
2719
|
-
return !v.coverSubject ||
|
|
2718
|
+
function L(v, h) {
|
|
2719
|
+
return !v.coverSubject || h === v.coverSubject ? !1 : v.coverCoversAll;
|
|
2720
2720
|
}
|
|
2721
|
-
function M(v,
|
|
2722
|
-
return !v.coverSubject ||
|
|
2721
|
+
function M(v, h, I) {
|
|
2722
|
+
return !v.coverSubject || h === v.coverSubject ? !1 : v.coverCoversAll ? !0 : v.coverSelectedActions.has(I);
|
|
2723
2723
|
}
|
|
2724
|
-
function i(v,
|
|
2725
|
-
const A = v.permissionActionsMap.get(
|
|
2726
|
-
return A ? A.includes(
|
|
2724
|
+
function i(v, h, I) {
|
|
2725
|
+
const A = v.permissionActionsMap.get(h);
|
|
2726
|
+
return A ? A.includes(I) : !1;
|
|
2727
2727
|
}
|
|
2728
|
-
function d(v,
|
|
2729
|
-
const A = [...e.value], R = A.findIndex((
|
|
2730
|
-
if (
|
|
2728
|
+
function d(v, h, I) {
|
|
2729
|
+
const A = [...e.value], R = A.findIndex((G) => G.subject === v && !G.inverted);
|
|
2730
|
+
if (I)
|
|
2731
2731
|
if (R >= 0) {
|
|
2732
|
-
const
|
|
2733
|
-
D.add(
|
|
2732
|
+
const G = { ...A[R] }, D = new Set(G.actions);
|
|
2733
|
+
D.add(h), G.actions = Array.from(D), A[R] = G;
|
|
2734
2734
|
} else {
|
|
2735
|
-
const
|
|
2736
|
-
if (!
|
|
2735
|
+
const G = t.value.find((x) => x.subject === v);
|
|
2736
|
+
if (!G) return;
|
|
2737
2737
|
const {
|
|
2738
2738
|
category: D,
|
|
2739
2739
|
showByFeatureFlag: T,
|
|
2740
2740
|
isCategoryCover: k,
|
|
2741
|
-
...
|
|
2742
|
-
} =
|
|
2743
|
-
A.push({ ...
|
|
2741
|
+
...B
|
|
2742
|
+
} = G;
|
|
2743
|
+
A.push({ ...B, actions: [h] });
|
|
2744
2744
|
}
|
|
2745
2745
|
else if (R >= 0) {
|
|
2746
|
-
const
|
|
2747
|
-
D.length === 0 ? A.splice(R, 1) : (
|
|
2746
|
+
const G = { ...A[R] }, D = G.actions.filter((T) => T !== h);
|
|
2747
|
+
D.length === 0 ? A.splice(R, 1) : (G.actions = D, A[R] = G);
|
|
2748
2748
|
}
|
|
2749
|
-
const
|
|
2750
|
-
|
|
2749
|
+
const W = t.value.find((G) => G.subject === v);
|
|
2750
|
+
W && Ln(A, v, W.actions), s("update:model-value", A);
|
|
2751
2751
|
}
|
|
2752
|
-
function
|
|
2753
|
-
const
|
|
2754
|
-
(A) => i(v, A.value,
|
|
2752
|
+
function N(v, h) {
|
|
2753
|
+
const I = v.options.filter(
|
|
2754
|
+
(A) => i(v, A.value, h)
|
|
2755
2755
|
);
|
|
2756
|
-
return
|
|
2757
|
-
(A) => V(v, A.value,
|
|
2756
|
+
return I.length === 0 ? !1 : I.every(
|
|
2757
|
+
(A) => V(v, A.value, h) || M(v, A.value, h)
|
|
2758
2758
|
);
|
|
2759
2759
|
}
|
|
2760
|
-
function _(v,
|
|
2761
|
-
const
|
|
2762
|
-
(R) => i(v, R.value,
|
|
2760
|
+
function _(v, h) {
|
|
2761
|
+
const I = v.options.filter(
|
|
2762
|
+
(R) => i(v, R.value, h)
|
|
2763
2763
|
);
|
|
2764
|
-
if (
|
|
2765
|
-
const A =
|
|
2766
|
-
(R) => V(v, R.value,
|
|
2764
|
+
if (I.length === 0) return !1;
|
|
2765
|
+
const A = I.filter(
|
|
2766
|
+
(R) => V(v, R.value, h) || M(v, R.value, h)
|
|
2767
2767
|
).length;
|
|
2768
|
-
return A > 0 && A <
|
|
2768
|
+
return A > 0 && A < I.length;
|
|
2769
2769
|
}
|
|
2770
|
-
function w(v,
|
|
2770
|
+
function w(v, h, I) {
|
|
2771
2771
|
const A = [...e.value];
|
|
2772
2772
|
for (const R of v.options) {
|
|
2773
|
-
if (!i(v, R.value,
|
|
2774
|
-
const
|
|
2775
|
-
(T) => T.subject ===
|
|
2773
|
+
if (!i(v, R.value, h)) continue;
|
|
2774
|
+
const W = R.value, G = A.findIndex(
|
|
2775
|
+
(T) => T.subject === W && !T.inverted
|
|
2776
2776
|
);
|
|
2777
|
-
if (
|
|
2778
|
-
if (
|
|
2779
|
-
const T = { ...A[
|
|
2780
|
-
k.add(
|
|
2777
|
+
if (I)
|
|
2778
|
+
if (G >= 0) {
|
|
2779
|
+
const T = { ...A[G] }, k = new Set(T.actions);
|
|
2780
|
+
k.add(h), T.actions = Array.from(k), A[G] = T;
|
|
2781
2781
|
} else {
|
|
2782
|
-
const T = t.value.find((ne) => ne.subject ===
|
|
2782
|
+
const T = t.value.find((ne) => ne.subject === W);
|
|
2783
2783
|
if (!T) continue;
|
|
2784
2784
|
const {
|
|
2785
2785
|
category: k,
|
|
2786
|
-
showByFeatureFlag:
|
|
2786
|
+
showByFeatureFlag: B,
|
|
2787
2787
|
isCategoryCover: x,
|
|
2788
2788
|
...j
|
|
2789
2789
|
} = T;
|
|
2790
|
-
A.push({ ...j, actions: [
|
|
2790
|
+
A.push({ ...j, actions: [h] });
|
|
2791
2791
|
}
|
|
2792
|
-
else if (
|
|
2793
|
-
const T = { ...A[
|
|
2794
|
-
k.length === 0 ? A.splice(
|
|
2792
|
+
else if (G >= 0) {
|
|
2793
|
+
const T = { ...A[G] }, k = T.actions.filter((B) => B !== h);
|
|
2794
|
+
k.length === 0 ? A.splice(G, 1) : (T.actions = k, A[G] = T);
|
|
2795
2795
|
}
|
|
2796
|
-
const D = t.value.find((T) => T.subject ===
|
|
2797
|
-
D && Ln(A,
|
|
2796
|
+
const D = t.value.find((T) => T.subject === W);
|
|
2797
|
+
D && Ln(A, W, D.actions);
|
|
2798
2798
|
}
|
|
2799
2799
|
s("update:model-value", A);
|
|
2800
2800
|
}
|
|
@@ -2803,7 +2803,7 @@ function Nr(e, t, n, s) {
|
|
|
2803
2803
|
create: "Duplicate",
|
|
2804
2804
|
update: "Edit"
|
|
2805
2805
|
};
|
|
2806
|
-
function
|
|
2806
|
+
function b(v) {
|
|
2807
2807
|
return S[v] ?? v.charAt(0).toUpperCase() + v.slice(1);
|
|
2808
2808
|
}
|
|
2809
2809
|
return {
|
|
@@ -2813,26 +2813,26 @@ function Nr(e, t, n, s) {
|
|
|
2813
2813
|
toggleAllManage: p,
|
|
2814
2814
|
isManageChecked: O,
|
|
2815
2815
|
isManageIndeterminate: C,
|
|
2816
|
-
toggleManage:
|
|
2816
|
+
toggleManage: y,
|
|
2817
2817
|
hasNonManageActions: P,
|
|
2818
2818
|
isActionChecked: V,
|
|
2819
2819
|
isRowFullyCoveredByCover: L,
|
|
2820
2820
|
isActionCoveredByCover: M,
|
|
2821
2821
|
permissionDefinesAction: i,
|
|
2822
2822
|
toggleAction: d,
|
|
2823
|
-
isAllActionChecked:
|
|
2823
|
+
isAllActionChecked: N,
|
|
2824
2824
|
isAllActionIndeterminate: _,
|
|
2825
2825
|
toggleAllAction: w,
|
|
2826
|
-
actionLabel:
|
|
2826
|
+
actionLabel: b
|
|
2827
2827
|
};
|
|
2828
2828
|
}
|
|
2829
|
-
const
|
|
2829
|
+
const Nr = { class: "flex flex-col gap-16" }, kr = {
|
|
2830
2830
|
key: 1,
|
|
2831
2831
|
class: "space-y-16"
|
|
2832
2832
|
}, Tr = { class: "flex items-end justify-between" }, Or = { class: "fm-typo-en-title-sm-600" }, Lr = { class: "flex" }, Cr = { class: "form-input" }, Rr = { class: "flex items-center justify-between q-mb-xs" }, Ar = { class: "flex shrink-0" }, Sr = { class: "flex items-center justify-between gap-4" }, Dr = { class: "flex items-center min-w-0 flex-1 gap-8" }, Mr = ["title", "onClick"], wr = {
|
|
2833
2833
|
key: 0,
|
|
2834
2834
|
class: "flex shrink-0"
|
|
2835
|
-
}, Pr = /* @__PURE__ */
|
|
2835
|
+
}, Pr = /* @__PURE__ */ Ne({
|
|
2836
2836
|
__name: "BasePermission",
|
|
2837
2837
|
props: {
|
|
2838
2838
|
modelValue: {
|
|
@@ -2862,118 +2862,118 @@ const yr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
2862
2862
|
isManageChecked: p,
|
|
2863
2863
|
isManageIndeterminate: O,
|
|
2864
2864
|
toggleManage: C,
|
|
2865
|
-
hasNonManageActions:
|
|
2865
|
+
hasNonManageActions: y,
|
|
2866
2866
|
isActionChecked: P,
|
|
2867
2867
|
isRowFullyCoveredByCover: V,
|
|
2868
2868
|
isActionCoveredByCover: L,
|
|
2869
2869
|
permissionDefinesAction: M,
|
|
2870
2870
|
toggleAction: i,
|
|
2871
2871
|
isAllActionChecked: d,
|
|
2872
|
-
isAllActionIndeterminate:
|
|
2872
|
+
isAllActionIndeterminate: N,
|
|
2873
2873
|
toggleAllAction: _,
|
|
2874
2874
|
actionLabel: w
|
|
2875
|
-
} =
|
|
2875
|
+
} = yr(
|
|
2876
2876
|
Qt(n, "modelValue"),
|
|
2877
2877
|
l,
|
|
2878
2878
|
Qt(n, "excludedSubjects"),
|
|
2879
|
-
(S,
|
|
2879
|
+
(S, b) => s("update:model-value", b)
|
|
2880
2880
|
);
|
|
2881
|
-
return (S,
|
|
2882
|
-
const v =
|
|
2883
|
-
return H(), se("div",
|
|
2884
|
-
(H(!0), se(
|
|
2885
|
-
key:
|
|
2881
|
+
return (S, b) => {
|
|
2882
|
+
const v = Ze("FmCheckbox");
|
|
2883
|
+
return H(), se("div", Nr, [
|
|
2884
|
+
(H(!0), se(Ie, null, he(Y(a), (h) => (H(), se(Ie, {
|
|
2885
|
+
key: h.category
|
|
2886
2886
|
}, [
|
|
2887
|
-
|
|
2887
|
+
h.isMultiAction ? (H(), se("div", kr, [
|
|
2888
2888
|
ae("div", Tr, [
|
|
2889
|
-
ae("div", Or, Ae(
|
|
2889
|
+
ae("div", Or, Ae(h.category), 1),
|
|
2890
2890
|
ae("div", Lr, [
|
|
2891
|
-
(H(!0), se(
|
|
2892
|
-
key:
|
|
2891
|
+
(H(!0), se(Ie, null, he(h.actionColumns, (I) => (H(), se("span", {
|
|
2892
|
+
key: I,
|
|
2893
2893
|
class: "w-[56px] text-center fm-typo-en-body-sm-400 text-fm-color-neutral-gray-600"
|
|
2894
|
-
}, Ae(
|
|
2894
|
+
}, Ae(Y(w)(I)), 1))), 128))
|
|
2895
2895
|
])
|
|
2896
2896
|
]),
|
|
2897
2897
|
ae("div", Cr, [
|
|
2898
2898
|
ae("div", Rr, [
|
|
2899
2899
|
_e(v, {
|
|
2900
|
-
"model-value":
|
|
2900
|
+
"model-value": Y(m)(h),
|
|
2901
2901
|
value: !0,
|
|
2902
2902
|
disabled: e.disable,
|
|
2903
2903
|
label: "All",
|
|
2904
2904
|
size: "sm",
|
|
2905
2905
|
dense: "",
|
|
2906
|
-
"onUpdate:modelValue": (
|
|
2906
|
+
"onUpdate:modelValue": (I) => Y(u)(h)
|
|
2907
2907
|
}, null, 8, ["model-value", "disabled", "onUpdate:modelValue"]),
|
|
2908
2908
|
ae("div", Ar, [
|
|
2909
|
-
(H(!0), se(
|
|
2910
|
-
key:
|
|
2909
|
+
(H(!0), se(Ie, null, he(h.actionColumns, (I) => (H(), se("div", {
|
|
2910
|
+
key: I,
|
|
2911
2911
|
class: "w-[56px] flex justify-center"
|
|
2912
2912
|
}, [
|
|
2913
2913
|
_e(v, {
|
|
2914
|
-
"model-value":
|
|
2915
|
-
indeterminate:
|
|
2916
|
-
value:
|
|
2914
|
+
"model-value": Y(d)(h, I),
|
|
2915
|
+
indeterminate: Y(N)(h, I),
|
|
2916
|
+
value: I,
|
|
2917
2917
|
disabled: e.disable,
|
|
2918
2918
|
size: "sm",
|
|
2919
2919
|
dense: "",
|
|
2920
|
-
"onUpdate:modelValue": (A) =>
|
|
2920
|
+
"onUpdate:modelValue": (A) => Y(_)(h, I, A)
|
|
2921
2921
|
}, null, 8, ["model-value", "indeterminate", "value", "disabled", "onUpdate:modelValue"])
|
|
2922
2922
|
]))), 128))
|
|
2923
2923
|
])
|
|
2924
2924
|
]),
|
|
2925
|
-
(H(!0), se(
|
|
2926
|
-
key:
|
|
2927
|
-
class: qe(A <
|
|
2925
|
+
(H(!0), se(Ie, null, he(h.options, (I, A) => (H(), se("div", {
|
|
2926
|
+
key: I.value,
|
|
2927
|
+
class: qe(A < h.options.length - 1 ? "q-mb-xs" : "")
|
|
2928
2928
|
}, [
|
|
2929
2929
|
ae("div", Sr, [
|
|
2930
2930
|
ae("div", Dr, [
|
|
2931
2931
|
_e(v, {
|
|
2932
|
-
"model-value":
|
|
2933
|
-
value:
|
|
2934
|
-
disabled: e.disable ||
|
|
2935
|
-
indeterminate:
|
|
2932
|
+
"model-value": Y(p)(h, I.value) || Y(V)(h, I.value),
|
|
2933
|
+
value: I.value,
|
|
2934
|
+
disabled: e.disable || Y(V)(h, I.value),
|
|
2935
|
+
indeterminate: Y(O)(h, I.value),
|
|
2936
2936
|
size: "sm",
|
|
2937
2937
|
class: "shrink-0",
|
|
2938
|
-
"onUpdate:modelValue": (R) =>
|
|
2938
|
+
"onUpdate:modelValue": (R) => Y(C)(h, I.value, R)
|
|
2939
2939
|
}, null, 8, ["model-value", "value", "disabled", "indeterminate", "onUpdate:modelValue"]),
|
|
2940
2940
|
ae("span", {
|
|
2941
2941
|
class: "block truncate cursor-pointer",
|
|
2942
|
-
title:
|
|
2943
|
-
onClick: (R) => !e.disable && !
|
|
2944
|
-
}, Ae(
|
|
2945
|
-
|
|
2942
|
+
title: I.label,
|
|
2943
|
+
onClick: (R) => !e.disable && !Y(V)(h, I.value) && Y(C)(h, I.value, !Y(p)(h, I.value))
|
|
2944
|
+
}, Ae(I.label), 9, Mr),
|
|
2945
|
+
be(S.$slots, `checkbox-${I.value}-append`, { option: I })
|
|
2946
2946
|
]),
|
|
2947
|
-
|
|
2948
|
-
(H(!0), se(
|
|
2947
|
+
Y(y)(h, I.value) ? (H(), se("div", wr, [
|
|
2948
|
+
(H(!0), se(Ie, null, he(h.actionColumns, (R) => (H(), se("div", {
|
|
2949
2949
|
key: R,
|
|
2950
2950
|
class: "w-[56px] flex justify-center"
|
|
2951
2951
|
}, [
|
|
2952
|
-
|
|
2952
|
+
Y(M)(h, I.value, R) ? (H(), Se(v, {
|
|
2953
2953
|
key: 0,
|
|
2954
|
-
"model-value":
|
|
2954
|
+
"model-value": Y(P)(h, I.value, R) || Y(L)(h, I.value, R),
|
|
2955
2955
|
value: R,
|
|
2956
|
-
disabled: e.disable ||
|
|
2956
|
+
disabled: e.disable || Y(L)(h, I.value, R),
|
|
2957
2957
|
size: "sm",
|
|
2958
|
-
"onUpdate:modelValue": (
|
|
2958
|
+
"onUpdate:modelValue": (W) => Y(i)(I.value, R, W)
|
|
2959
2959
|
}, null, 8, ["model-value", "value", "disabled", "onUpdate:modelValue"])) : Oe("", !0)
|
|
2960
2960
|
]))), 128))
|
|
2961
2961
|
])) : Oe("", !0)
|
|
2962
2962
|
])
|
|
2963
2963
|
], 2))), 128))
|
|
2964
2964
|
])
|
|
2965
|
-
])) : (H(), Se(
|
|
2965
|
+
])) : (H(), Se(zt, {
|
|
2966
2966
|
key: 0,
|
|
2967
|
-
"model-value":
|
|
2968
|
-
options:
|
|
2967
|
+
"model-value": h.selectedSubjects,
|
|
2968
|
+
options: h.options,
|
|
2969
2969
|
disable: e.disable,
|
|
2970
|
-
title:
|
|
2971
|
-
"onUpdate:modelValue": (
|
|
2970
|
+
title: h.category,
|
|
2971
|
+
"onUpdate:modelValue": (I) => Y(c)(h.category, I)
|
|
2972
2972
|
}, Fe({ _: 2 }, [
|
|
2973
|
-
|
|
2974
|
-
name: `checkbox-${
|
|
2975
|
-
fn:
|
|
2976
|
-
|
|
2973
|
+
he(h.options, (I) => ({
|
|
2974
|
+
name: `checkbox-${I.value}-append`,
|
|
2975
|
+
fn: ge(({ option: A }) => [
|
|
2976
|
+
be(S.$slots, `checkbox-${I.value}-append`, { option: A })
|
|
2977
2977
|
])
|
|
2978
2978
|
}))
|
|
2979
2979
|
]), 1032, ["model-value", "options", "disable", "title", "onUpdate:modelValue"]))
|
|
@@ -2981,7 +2981,7 @@ const yr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
2981
2981
|
]);
|
|
2982
2982
|
};
|
|
2983
2983
|
}
|
|
2984
|
-
}), Fr = { class: "flex items-center" }, jr = { class: "ml-auto" }, Ur = /* @__PURE__ */
|
|
2984
|
+
}), Fr = { class: "flex items-center" }, jr = { class: "ml-auto" }, Ur = /* @__PURE__ */ Ne({
|
|
2985
2985
|
__name: "CollapsibleWrapper",
|
|
2986
2986
|
props: {
|
|
2987
2987
|
title: { default: "" },
|
|
@@ -3003,11 +3003,11 @@ const yr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3003
3003
|
}), An(() => {
|
|
3004
3004
|
a == null || a.disconnect();
|
|
3005
3005
|
}), (u, p) => {
|
|
3006
|
-
const O =
|
|
3007
|
-
return H(), se(
|
|
3006
|
+
const O = Ze("FmButton");
|
|
3007
|
+
return H(), se(Ie, null, [
|
|
3008
3008
|
ae("div", { onClick: c }, [
|
|
3009
3009
|
ae("div", Fr, [
|
|
3010
|
-
|
|
3010
|
+
be(u.$slots, "title"),
|
|
3011
3011
|
ae("div", jr, [
|
|
3012
3012
|
_e(O, {
|
|
3013
3013
|
icon: n.value ? "keyboard_arrow_down" : "keyboard_arrow_up",
|
|
@@ -3024,12 +3024,12 @@ const yr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3024
3024
|
class: "transition-all duration-300 ease-in-out overflow-hidden",
|
|
3025
3025
|
style: ct({ maxHeight: n.value ? "0" : l.value + "px" })
|
|
3026
3026
|
}, [
|
|
3027
|
-
|
|
3027
|
+
be(u.$slots, "default")
|
|
3028
3028
|
], 4)
|
|
3029
3029
|
], 64);
|
|
3030
3030
|
};
|
|
3031
3031
|
}
|
|
3032
|
-
}), Vr = { class: "fm-typo-en-title-sm-600" }, Rt = "includedFuture", Rn = /* @__PURE__ */
|
|
3032
|
+
}), Vr = { class: "fm-typo-en-title-sm-600" }, Rt = "includedFuture", Rn = /* @__PURE__ */ Ne({
|
|
3033
3033
|
__name: "ConditionPermission",
|
|
3034
3034
|
props: {
|
|
3035
3035
|
modelValue: {
|
|
@@ -3068,20 +3068,20 @@ const yr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3068
3068
|
}
|
|
3069
3069
|
const u = Ue("");
|
|
3070
3070
|
return (p, O) => {
|
|
3071
|
-
const C =
|
|
3071
|
+
const C = Ze("fm-search");
|
|
3072
3072
|
return H(), Se(Ur, null, {
|
|
3073
|
-
title:
|
|
3074
|
-
ae("p", Vr, Ae(
|
|
3073
|
+
title: ge(() => [
|
|
3074
|
+
ae("p", Vr, Ae(Y(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
3075
3075
|
]),
|
|
3076
|
-
default:
|
|
3076
|
+
default: ge(() => [
|
|
3077
3077
|
e.options.length > 1 ? (H(), Se(C, {
|
|
3078
3078
|
key: 0,
|
|
3079
3079
|
modelValue: u.value,
|
|
3080
|
-
"onUpdate:modelValue": O[0] || (O[0] = (
|
|
3080
|
+
"onUpdate:modelValue": O[0] || (O[0] = (y) => u.value = y),
|
|
3081
3081
|
class: "mt-16",
|
|
3082
|
-
placeholder:
|
|
3082
|
+
placeholder: Y(l)("team.memberForm.permissions.search", { context: e.context })
|
|
3083
3083
|
}, null, 8, ["modelValue", "placeholder"])) : Oe("", !0),
|
|
3084
|
-
_e(
|
|
3084
|
+
_e(zt, {
|
|
3085
3085
|
"model-value": c.value,
|
|
3086
3086
|
options: a.value,
|
|
3087
3087
|
"show-intermediate": !1,
|
|
@@ -3092,10 +3092,10 @@ const yr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3092
3092
|
class: "mt-16",
|
|
3093
3093
|
"onUpdate:modelValue": m
|
|
3094
3094
|
}, Fe({ _: 2 }, [
|
|
3095
|
-
|
|
3096
|
-
name: `checkbox-${
|
|
3097
|
-
fn:
|
|
3098
|
-
|
|
3095
|
+
he(a.value, (y) => ({
|
|
3096
|
+
name: `checkbox-${y.value}-append`,
|
|
3097
|
+
fn: ge(({ option: P }) => [
|
|
3098
|
+
be(p.$slots, `checkbox-${y.value}-append`, { option: P })
|
|
3099
3099
|
])
|
|
3100
3100
|
}))
|
|
3101
3101
|
]), 1032, ["model-value", "options", "disable"])
|
|
@@ -3104,7 +3104,7 @@ const yr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3104
3104
|
});
|
|
3105
3105
|
};
|
|
3106
3106
|
}
|
|
3107
|
-
}), At = "includedNewRole",
|
|
3107
|
+
}), At = "includedNewRole", Gr = /* @__PURE__ */ Ne({
|
|
3108
3108
|
__name: "PosRolePermission",
|
|
3109
3109
|
props: {
|
|
3110
3110
|
modelValue: {
|
|
@@ -3145,28 +3145,28 @@ const yr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3145
3145
|
const p = u.length === a.value.length;
|
|
3146
3146
|
s("update:model-value", p ? null : u.filter((O) => O !== At));
|
|
3147
3147
|
}
|
|
3148
|
-
return (u, p) => (H(), Se(
|
|
3148
|
+
return (u, p) => (H(), Se(zt, {
|
|
3149
3149
|
"model-value": c.value,
|
|
3150
3150
|
options: a.value,
|
|
3151
3151
|
"show-intermediate": !1,
|
|
3152
3152
|
"show-all-toggle": !1,
|
|
3153
3153
|
disable: e.disable,
|
|
3154
|
-
title:
|
|
3154
|
+
title: Y(l)("team.memberForm.permissions.roles"),
|
|
3155
3155
|
"onUpdate:modelValue": m
|
|
3156
3156
|
}, Fe({ _: 2 }, [
|
|
3157
|
-
|
|
3157
|
+
he(a.value, (O) => ({
|
|
3158
3158
|
name: `checkbox-${O.value}-append`,
|
|
3159
|
-
fn:
|
|
3160
|
-
|
|
3159
|
+
fn: ge(({ option: C }) => [
|
|
3160
|
+
be(u.$slots, `checkbox-${O.value}-append`, { option: C })
|
|
3161
3161
|
])
|
|
3162
3162
|
}))
|
|
3163
3163
|
]), 1032, ["model-value", "options", "disable", "title"]));
|
|
3164
3164
|
}
|
|
3165
|
-
}),
|
|
3165
|
+
}), Wr = {
|
|
3166
3166
|
async readWarehouses() {
|
|
3167
3167
|
return os(await is().get("/warehouses"));
|
|
3168
3168
|
}
|
|
3169
|
-
}, xr = { class: "flex flex-col gap-32" }, Xr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" },
|
|
3169
|
+
}, xr = { class: "flex flex-col gap-32" }, 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" }, Br = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Hr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, nl = /* @__PURE__ */ Ne({
|
|
3170
3170
|
__name: "PortalPermissionEditor",
|
|
3171
3171
|
props: /* @__PURE__ */ qt({
|
|
3172
3172
|
disable: {
|
|
@@ -3192,7 +3192,7 @@ const yr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3192
3192
|
return as(
|
|
3193
3193
|
s.inheritPermissions.map((k) => ({
|
|
3194
3194
|
...k,
|
|
3195
|
-
permissions: k.permissions.filter((
|
|
3195
|
+
permissions: k.permissions.filter((B) => D.includes(B.subject))
|
|
3196
3196
|
}))
|
|
3197
3197
|
).map((k) => ({
|
|
3198
3198
|
id: k.subject,
|
|
@@ -3205,7 +3205,7 @@ const yr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3205
3205
|
(k) => k.subject === me.Subject.Business.inventory_stock
|
|
3206
3206
|
)
|
|
3207
3207
|
}));
|
|
3208
|
-
return
|
|
3208
|
+
return Nt(
|
|
3209
3209
|
D,
|
|
3210
3210
|
"warehouseId",
|
|
3211
3211
|
L.value.map((T) => T._id)
|
|
@@ -3217,17 +3217,17 @@ const yr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3217
3217
|
(k) => k.subject === me.Subject.Restaurant.restaurant
|
|
3218
3218
|
)
|
|
3219
3219
|
}));
|
|
3220
|
-
return
|
|
3220
|
+
return Nt(
|
|
3221
3221
|
D,
|
|
3222
3222
|
"restaurantId",
|
|
3223
|
-
|
|
3223
|
+
N.value.map((T) => T._id)
|
|
3224
3224
|
);
|
|
3225
|
-
}),
|
|
3225
|
+
}), y = te(() => {
|
|
3226
3226
|
const D = s.inheritPermissions.map((T) => ({
|
|
3227
3227
|
...T,
|
|
3228
3228
|
permissions: T.permissions.filter((k) => k.subject === me.Subject.Business.role)
|
|
3229
3229
|
}));
|
|
3230
|
-
return
|
|
3230
|
+
return Nt(
|
|
3231
3231
|
D,
|
|
3232
3232
|
"roleId",
|
|
3233
3233
|
_.value.map((T) => T._id)
|
|
@@ -3253,28 +3253,28 @@ const yr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3253
3253
|
}
|
|
3254
3254
|
function d(D, T) {
|
|
3255
3255
|
let k = ut(
|
|
3256
|
-
D.filter((
|
|
3256
|
+
D.filter((B) => B.subject !== me.Subject.Business.inventory_stock)
|
|
3257
3257
|
);
|
|
3258
3258
|
if (!T || T.length > 0) {
|
|
3259
|
-
const
|
|
3259
|
+
const B = {
|
|
3260
3260
|
actions: [me.Action.manage],
|
|
3261
3261
|
subject: me.Subject.Business.inventory_stock
|
|
3262
3262
|
};
|
|
3263
|
-
T && (
|
|
3263
|
+
T && (B.conditions = JSON.stringify({ warehouseId: { $in: T } })), k.push(B);
|
|
3264
3264
|
}
|
|
3265
3265
|
return k;
|
|
3266
3266
|
}
|
|
3267
|
-
const { restaurants:
|
|
3267
|
+
const { restaurants: N } = ns(), _ = fs().roles, w = te(() => N.value.map((D) => ({
|
|
3268
3268
|
label: `${D.profile.code ? D.profile.code + "-" : ""}${D.profile.name}`,
|
|
3269
3269
|
value: D._id
|
|
3270
|
-
}))), S = te(() =>
|
|
3270
|
+
}))), S = te(() => N.value.reduce((D, T) => (D[T._id] = _.value.filter((k) => k.restaurants.some((B) => B.id === T._id)).map((k) => k._id), D), {})), b = te(() => rs(n.value));
|
|
3271
3271
|
function v(D) {
|
|
3272
|
-
const T =
|
|
3272
|
+
const T = I(n.value, D);
|
|
3273
3273
|
n.value = T;
|
|
3274
3274
|
}
|
|
3275
|
-
const
|
|
3276
|
-
function
|
|
3277
|
-
var
|
|
3275
|
+
const h = te(() => ls(n.value));
|
|
3276
|
+
function I(D, T) {
|
|
3277
|
+
var B;
|
|
3278
3278
|
let k = ut(
|
|
3279
3279
|
D.filter(
|
|
3280
3280
|
(x) => x.subject !== me.Subject.Business.restaurant && x.subject !== me.Subject.Restaurant.restaurant
|
|
@@ -3299,7 +3299,7 @@ const yr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3299
3299
|
], j = _.value.map((ne) => ne._id);
|
|
3300
3300
|
x.length !== j.length && (k = R(
|
|
3301
3301
|
k,
|
|
3302
|
-
(
|
|
3302
|
+
(B = h.value || j) == null ? void 0 : B.filter((ne) => x.includes(ne))
|
|
3303
3303
|
));
|
|
3304
3304
|
}
|
|
3305
3305
|
return k;
|
|
@@ -3310,50 +3310,50 @@ const yr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3310
3310
|
}
|
|
3311
3311
|
function R(D, T) {
|
|
3312
3312
|
let k = ut(
|
|
3313
|
-
D.filter((
|
|
3313
|
+
D.filter((B) => B.subject !== me.Subject.Business.role)
|
|
3314
3314
|
);
|
|
3315
3315
|
if (T && T.length > 0) {
|
|
3316
|
-
const
|
|
3316
|
+
const B = {
|
|
3317
3317
|
actions: [me.Action.manage],
|
|
3318
3318
|
subject: me.Subject.Business.role,
|
|
3319
3319
|
conditions: JSON.stringify({ roleId: { $in: T } })
|
|
3320
3320
|
};
|
|
3321
|
-
k.push(
|
|
3321
|
+
k.push(B);
|
|
3322
3322
|
}
|
|
3323
3323
|
return k;
|
|
3324
3324
|
}
|
|
3325
3325
|
Xt(async () => {
|
|
3326
3326
|
await Promise.all([
|
|
3327
|
-
|
|
3327
|
+
Wr.readWarehouses().then((D) => L.value = D),
|
|
3328
3328
|
c()
|
|
3329
3329
|
]);
|
|
3330
3330
|
});
|
|
3331
|
-
const
|
|
3331
|
+
const W = te(() => kt(
|
|
3332
3332
|
n.value,
|
|
3333
3333
|
Tt
|
|
3334
3334
|
).filter((k) => {
|
|
3335
|
-
const
|
|
3336
|
-
return (
|
|
3335
|
+
const B = k.source;
|
|
3336
|
+
return (B == null ? void 0 : B.type) !== "systemPermissionSet" ? !0 : k.actions.includes("manage");
|
|
3337
3337
|
}).map((k) => {
|
|
3338
3338
|
if (k.inverted) return k;
|
|
3339
|
-
const
|
|
3340
|
-
if (!
|
|
3339
|
+
const B = k.actions;
|
|
3340
|
+
if (!B.includes("manage")) return k;
|
|
3341
3341
|
const x = u(k.subject);
|
|
3342
3342
|
if (!x) return k;
|
|
3343
3343
|
const j = x.actions;
|
|
3344
|
-
return j.length <= 1 || j.filter((J) => !
|
|
3344
|
+
return j.length <= 1 || j.filter((J) => !B.includes(J)).length === 0 ? k : { ...k, actions: [...j] };
|
|
3345
3345
|
}));
|
|
3346
|
-
function
|
|
3346
|
+
function G(D) {
|
|
3347
3347
|
const T = new Set(
|
|
3348
|
-
|
|
3348
|
+
W.value.filter((j) => !j.inverted).map((j) => j.subject)
|
|
3349
3349
|
), k = new Set(
|
|
3350
3350
|
D.filter((j) => !j.inverted).map((j) => j.subject)
|
|
3351
|
-
),
|
|
3351
|
+
), B = new Set(
|
|
3352
3352
|
n.value.filter((j) => !j.inverted).map((j) => j.subject)
|
|
3353
3353
|
);
|
|
3354
3354
|
let x = [...n.value];
|
|
3355
3355
|
for (const j of T)
|
|
3356
|
-
k.has(j) || (
|
|
3356
|
+
k.has(j) || (B.has(j) && (x = x.filter((J) => J.subject !== j)), (!B.has(j) || kt(
|
|
3357
3357
|
x,
|
|
3358
3358
|
Tt
|
|
3359
3359
|
).some(
|
|
@@ -3362,44 +3362,44 @@ const yr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3362
3362
|
for (const j of k)
|
|
3363
3363
|
if (!T.has(j)) {
|
|
3364
3364
|
const ne = x.some((J) => J.subject === j && J.inverted);
|
|
3365
|
-
if (x = x.filter((J) => !(J.subject === j && J.inverted)), !ne && !
|
|
3365
|
+
if (x = x.filter((J) => !(J.subject === j && J.inverted)), !ne && !B.has(j)) {
|
|
3366
3366
|
const J = D.find(
|
|
3367
|
-
(
|
|
3367
|
+
(z) => z.subject === j && !z.inverted
|
|
3368
3368
|
), X = u(j);
|
|
3369
3369
|
if (X && J) {
|
|
3370
|
-
const { category:
|
|
3370
|
+
const { category: z, showByFeatureFlag: we, ...re } = X;
|
|
3371
3371
|
x.push({ ...re, actions: J.actions });
|
|
3372
3372
|
}
|
|
3373
3373
|
}
|
|
3374
3374
|
}
|
|
3375
3375
|
for (const j of k) {
|
|
3376
3376
|
if (!T.has(j)) continue;
|
|
3377
|
-
const ne =
|
|
3377
|
+
const ne = W.value.find(
|
|
3378
3378
|
(re) => re.subject === j && !re.inverted
|
|
3379
3379
|
), J = D.find((re) => re.subject === j && !re.inverted);
|
|
3380
3380
|
if (!ne || !J) continue;
|
|
3381
|
-
const X = new Set(ne.actions),
|
|
3382
|
-
if (X.size ===
|
|
3381
|
+
const X = new Set(ne.actions), z = new Set(J.actions);
|
|
3382
|
+
if (X.size === z.size && [...X].every((re) => z.has(re)))
|
|
3383
3383
|
continue;
|
|
3384
3384
|
const we = x.findIndex((re) => re.subject === j && !re.inverted);
|
|
3385
3385
|
if (we >= 0)
|
|
3386
3386
|
x[we] = {
|
|
3387
3387
|
...x[we],
|
|
3388
|
-
actions: Array.from(
|
|
3388
|
+
actions: Array.from(z)
|
|
3389
3389
|
};
|
|
3390
3390
|
else {
|
|
3391
3391
|
const re = u(j);
|
|
3392
3392
|
if (re) {
|
|
3393
|
-
const { category:
|
|
3394
|
-
x.push({ ...$e, actions: Array.from(
|
|
3393
|
+
const { category: Ee, showByFeatureFlag: Je, ...$e } = re;
|
|
3394
|
+
x.push({ ...$e, actions: Array.from(z) });
|
|
3395
3395
|
}
|
|
3396
3396
|
}
|
|
3397
|
-
X.has("manage") && !
|
|
3397
|
+
X.has("manage") && !z.has("manage") && kt(
|
|
3398
3398
|
x,
|
|
3399
3399
|
Tt
|
|
3400
3400
|
).some(
|
|
3401
|
-
(
|
|
3402
|
-
) && !x.some((
|
|
3401
|
+
(Ee) => Ee.subject === j && !Ee.inverted && Ee.actions.includes("manage")
|
|
3402
|
+
) && !x.some((Ee) => Ee.subject === j && Ee.inverted) && x.push({ subject: j, actions: ["manage"], inverted: !0 }), !X.has("manage") && z.has("manage") && (x = x.filter((re) => !(re.subject === j && re.inverted)));
|
|
3403
3403
|
}
|
|
3404
3404
|
n.value = x;
|
|
3405
3405
|
}
|
|
@@ -3412,59 +3412,59 @@ const yr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3412
3412
|
), (D, T) => (H(), se("div", xr, [
|
|
3413
3413
|
ae("div", Xr, [
|
|
3414
3414
|
_e(Pr, {
|
|
3415
|
-
"model-value":
|
|
3415
|
+
"model-value": W.value,
|
|
3416
3416
|
"excluded-subjects": P,
|
|
3417
|
-
"additional-permissions":
|
|
3418
|
-
"onUpdate:modelValue":
|
|
3417
|
+
"additional-permissions": Y(m),
|
|
3418
|
+
"onUpdate:modelValue": G
|
|
3419
3419
|
}, Fe({ _: 2 }, [
|
|
3420
|
-
|
|
3420
|
+
he(p.value, (k) => ({
|
|
3421
3421
|
name: `checkbox-${k.id}-append`,
|
|
3422
|
-
fn:
|
|
3422
|
+
fn: ge(() => [
|
|
3423
3423
|
_e(it, { item: k }, null, 8, ["item"])
|
|
3424
3424
|
])
|
|
3425
3425
|
}))
|
|
3426
3426
|
]), 1032, ["model-value", "additional-permissions"])
|
|
3427
3427
|
]),
|
|
3428
|
-
ae("div",
|
|
3428
|
+
ae("div", Zr, [
|
|
3429
3429
|
_e(Rn, {
|
|
3430
3430
|
"model-value": V.value,
|
|
3431
3431
|
options: M.value,
|
|
3432
|
-
context:
|
|
3432
|
+
context: Y(a)("team.labels.warehouse"),
|
|
3433
3433
|
"onUpdate:modelValue": i
|
|
3434
3434
|
}, Fe({ _: 2 }, [
|
|
3435
|
-
|
|
3435
|
+
he(O.value, (k) => ({
|
|
3436
3436
|
name: `checkbox-${k.id}-append`,
|
|
3437
|
-
fn:
|
|
3437
|
+
fn: ge(() => [
|
|
3438
3438
|
_e(it, { item: k }, null, 8, ["item"])
|
|
3439
3439
|
])
|
|
3440
3440
|
}))
|
|
3441
3441
|
]), 1032, ["model-value", "options", "context"])
|
|
3442
3442
|
]),
|
|
3443
|
-
ae("div",
|
|
3443
|
+
ae("div", Br, [
|
|
3444
3444
|
_e(Rn, {
|
|
3445
|
-
"model-value":
|
|
3445
|
+
"model-value": b.value,
|
|
3446
3446
|
options: w.value,
|
|
3447
|
-
context:
|
|
3447
|
+
context: Y(a)("team.labels.restaurant"),
|
|
3448
3448
|
"onUpdate:modelValue": v
|
|
3449
3449
|
}, Fe({ _: 2 }, [
|
|
3450
|
-
|
|
3450
|
+
he(C.value, (k) => ({
|
|
3451
3451
|
name: `checkbox-${k.id}-append`,
|
|
3452
|
-
fn:
|
|
3452
|
+
fn: ge(() => [
|
|
3453
3453
|
_e(it, { item: k }, null, 8, ["item"])
|
|
3454
3454
|
])
|
|
3455
3455
|
}))
|
|
3456
3456
|
]), 1032, ["model-value", "options", "context"])
|
|
3457
3457
|
]),
|
|
3458
3458
|
ae("div", Hr, [
|
|
3459
|
-
_e(
|
|
3460
|
-
roles:
|
|
3461
|
-
"model-value":
|
|
3462
|
-
"restaurant-ids":
|
|
3459
|
+
_e(Gr, {
|
|
3460
|
+
roles: Y(_),
|
|
3461
|
+
"model-value": h.value,
|
|
3462
|
+
"restaurant-ids": b.value,
|
|
3463
3463
|
"onUpdate:modelValue": A
|
|
3464
3464
|
}, Fe({ _: 2 }, [
|
|
3465
|
-
|
|
3465
|
+
he(y.value, (k) => ({
|
|
3466
3466
|
name: `checkbox-${k.id}-append`,
|
|
3467
|
-
fn:
|
|
3467
|
+
fn: ge(() => [
|
|
3468
3468
|
_e(it, { item: k }, null, 8, ["item"])
|
|
3469
3469
|
])
|
|
3470
3470
|
}))
|
|
@@ -3474,6 +3474,6 @@ const yr = { class: "flex flex-col gap-16" }, kr = {
|
|
|
3474
3474
|
}
|
|
3475
3475
|
});
|
|
3476
3476
|
export {
|
|
3477
|
-
|
|
3477
|
+
zt as _,
|
|
3478
3478
|
nl as a
|
|
3479
3479
|
};
|