@feedmepos/mf-hrm-portal 2.1.1-dev.3 → 2.1.1-dev.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ApprovalCodeList-CXJyMKEg.js +757 -0
- package/dist/{AuditLogList-Q4L5Te8O.js → AuditLogList-CXUkbDyT.js} +3 -3
- package/dist/{EmployeeList-GtKmJZbf.js → EmployeeList-BSfUFTcN.js} +4 -4
- package/dist/{GrantUserList-CnLjOi5_.js → GrantUserList-DKP4MBQM.js} +175 -182
- package/dist/Main-CblWfQk_.js +122 -0
- package/dist/{Main-cskEZ3k_.js → Main-CyCfz4ka.js} +9 -9
- package/dist/{Main-DLlpEU3j.js → Main-Cz1pfe2k.js} +5 -5
- package/dist/{PermissionSetList-C2fK2pTz.js → PermissionSetList-BwyblSeE.js} +5 -5
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-CMh0DL1_.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BJ-PZ2Nv.js} +599 -599
- package/dist/{RoleList-CcuT1ERb.js → RoleList-CXYgCmHp.js} +6 -6
- package/dist/{TeamMemberList-Dfs2iNdC.js → TeamMemberList-CnLbqaPS.js} +6 -6
- package/dist/{TimesheetList-B1H_6zfP.js → TimesheetList-s_bP5OGA.js} +5 -5
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_91afda4e_lang-DeTpbaRk.js → TimesheetList.vue_vue_type_style_index_0_scoped_91afda4e_lang-BCLv-2Re.js} +2 -2
- package/dist/{app-DX-PG6wx.js → app-BP0oihBR.js} +783 -752
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-BJrHE7oz.js → dayjs.min-BTSZLci9.js} +1 -1
- package/dist/{employee-BJcqtqLM.js → employee-BPv1j6T4.js} +3 -3
- package/dist/{iteration-Cfaqt-0s.js → iteration-BNA1cEos.js} +1 -1
- package/dist/{lodash-ClKqCmlZ.js → lodash-DKG9IyB-.js} +1 -1
- package/dist/{role-CR_-nBDY.js → role-BS3LFO8u.js} +1 -1
- package/dist/{rule-BB-3S-2R.js → rule-DaSLVZWm.js} +2 -2
- package/dist/src/stores/approval-code.d.ts +6 -6
- package/dist/src/types/approval-code.d.ts +60 -20
- package/dist/src/views/approval-code/ApprovalCodeList.vue.d.ts +1 -1
- package/dist/src/views/approval-code/components/ApprovalCodeCreatedDialog.vue.d.ts +9 -0
- package/dist/src/views/approval-code/components/ApprovalCodeForm.vue.d.ts +6 -1
- package/dist/src/views/approval-code/locales/index.d.ts +44 -12
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useReportPermissions-ybHA26cJ.js → useReportPermissions-J3-DjopO.js} +3 -3
- package/package.json +1 -1
- package/dist/ApprovalCodeList-BH5sgVMU.js +0 -638
- package/dist/Main-Cn7Dawg4.js +0 -120
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { getCurrentInstance as Zt, inject as $n, ref as
|
|
1
|
+
import { getCurrentInstance as Zt, inject as $n, ref as bt, shallowRef as zn, computed as q, watch as kt, onMounted as An, onUnmounted as Kn, defineComponent as Oe, h as Sn, createVNode as _e, Text as Qn, Fragment as Re, resolveComponent as qe, createBlock as Me, openBlock as Q, withCtx as pe, createElementVNode as se, createElementBlock as oe, toDisplayString as Ee, unref as J, renderList as ve, toRef as Kt, normalizeStyle as xe, renderSlot as ye, createCommentVNode as ke, createTextVNode as qn, useSlots as es, normalizeClass as at, createSlots as Ze, mergeModels as Qt, useModel as ts } from "vue";
|
|
2
2
|
import { useI18n as He, useCoreStore as ns } from "@feedmepos/mf-common";
|
|
3
3
|
import "@vue/devtools-api";
|
|
4
|
-
import { p as
|
|
4
|
+
import { p as Mt, d as ss, w as rs, x as Ot, k as as, j as ls, $ as Lt } from "./rule-DaSLVZWm.js";
|
|
5
5
|
import { _ as xt } from "./CollapsibleWrapper.vue_vue_type_script_setup_true_lang-BLJlmPVa.js";
|
|
6
|
-
import { u as os, e as is, b as ue, k as cs, P as Rt } from "./app-
|
|
7
|
-
import { c as dt } from "./iteration-
|
|
6
|
+
import { u as os, e as is, b as ue, k as cs, P as Rt } from "./app-BP0oihBR.js";
|
|
7
|
+
import { c as dt } from "./iteration-BNA1cEos.js";
|
|
8
8
|
import { g as us, b as ms } from "./restaurant-YOVMuuFY.js";
|
|
9
|
-
import { u as ds } from "./role-
|
|
9
|
+
import { u as ds } from "./role-BS3LFO8u.js";
|
|
10
10
|
/*!
|
|
11
11
|
* shared v10.0.5
|
|
12
12
|
* (c) 2024 kazuya kawaguchi
|
|
13
13
|
* Released under the MIT License.
|
|
14
14
|
*/
|
|
15
|
-
const qt = typeof window < "u", Ue = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), fs = (e, t, n) => _s({ l: e, k: t, s: n }), _s = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), me = (e) => typeof e == "number" && isFinite(e), ps = (e) => Yt(e) === "[object Date]", _t = (e) => Yt(e) === "[object RegExp]",
|
|
15
|
+
const qt = typeof window < "u", Ue = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), fs = (e, t, n) => _s({ l: e, k: t, s: n }), _s = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), me = (e) => typeof e == "number" && isFinite(e), ps = (e) => Yt(e) === "[object Date]", _t = (e) => Yt(e) === "[object RegExp]", ht = (e) => $(e) && Object.keys(e).length === 0, de = Object.assign, bs = Object.create, ee = (e = null) => bs(e);
|
|
16
16
|
let en;
|
|
17
17
|
const Fe = () => en || (en = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : ee());
|
|
18
18
|
function tn(e) {
|
|
19
19
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
20
20
|
}
|
|
21
|
-
const
|
|
21
|
+
const hs = Object.prototype.hasOwnProperty;
|
|
22
22
|
function Ne(e, t) {
|
|
23
|
-
return
|
|
23
|
+
return hs.call(e, t);
|
|
24
24
|
}
|
|
25
|
-
const ce = Array.isArray, re = (e) => typeof e == "function", P = (e) => typeof e == "string", ie = (e) => typeof e == "boolean",
|
|
25
|
+
const ce = Array.isArray, re = (e) => typeof e == "function", P = (e) => typeof e == "string", ie = (e) => typeof e == "boolean", z = (e) => e !== null && typeof e == "object", vs = (e) => z(e) && re(e.then) && re(e.catch), kn = Object.prototype.toString, Yt = (e) => kn.call(e), $ = (e) => Yt(e) === "[object Object]", gs = (e) => e == null ? "" : ce(e) || $(e) && e.toString === kn ? JSON.stringify(e, null, 2) : String(e);
|
|
26
26
|
function Xt(e, t = "") {
|
|
27
27
|
return e.reduce((n, s, l) => l === 0 ? n + s : n + t + s, "");
|
|
28
28
|
}
|
|
29
29
|
function Is(e, t) {
|
|
30
30
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
31
31
|
}
|
|
32
|
-
const lt = (e) => !
|
|
32
|
+
const lt = (e) => !z(e) || ce(e);
|
|
33
33
|
function ft(e, t) {
|
|
34
34
|
if (lt(e) || lt(t))
|
|
35
35
|
throw new Error("Invalid value");
|
|
@@ -37,17 +37,17 @@ function ft(e, t) {
|
|
|
37
37
|
for (; n.length; ) {
|
|
38
38
|
const { src: s, des: l } = n.pop();
|
|
39
39
|
Object.keys(s).forEach((r) => {
|
|
40
|
-
r !== "__proto__" && (
|
|
40
|
+
r !== "__proto__" && (z(s[r]) && !z(l[r]) && (l[r] = Array.isArray(s[r]) ? [] : ee()), lt(l[r]) || lt(s[r]) ? l[r] = s[r] : n.push({ src: s[r], des: l[r] }));
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
function Es(e, t, n) {
|
|
45
45
|
return { line: e, column: t, offset: n };
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function wt(e, t, n) {
|
|
48
48
|
return { start: e, end: t };
|
|
49
49
|
}
|
|
50
|
-
const
|
|
50
|
+
const K = {
|
|
51
51
|
// tokenizer error codes
|
|
52
52
|
EXPECTED_TOKEN: 1,
|
|
53
53
|
INVALID_TOKEN_IN_PLACEHOLDER: 2,
|
|
@@ -72,12 +72,12 @@ function vt(e, t, n = {}) {
|
|
|
72
72
|
function Ts(e) {
|
|
73
73
|
throw e;
|
|
74
74
|
}
|
|
75
|
-
const Le = " ", ys = "\r",
|
|
75
|
+
const Le = " ", ys = "\r", be = `
|
|
76
76
|
`, Os = "\u2028", Ls = "\u2029";
|
|
77
77
|
function Rs(e) {
|
|
78
78
|
const t = e;
|
|
79
79
|
let n = 0, s = 1, l = 1, r = 0;
|
|
80
|
-
const c = (I) => t[I] === ys && t[I + 1] ===
|
|
80
|
+
const c = (I) => t[I] === ys && t[I + 1] === be, u = (I) => t[I] === be, m = (I) => t[I] === Ls, p = (I) => t[I] === Os, T = (I) => c(I) || u(I) || m(I) || p(I), R = () => n, L = () => s, D = () => l, j = () => r, S = (I) => c(I) || m(I) || p(I) ? be : t[I], M = () => S(n), i = () => S(n + r);
|
|
81
81
|
function d() {
|
|
82
82
|
return r = 0, T(n) && (s++, l = 0), c(n) && n++, n++, l++, t[n];
|
|
83
83
|
}
|
|
@@ -87,10 +87,10 @@ function Rs(e) {
|
|
|
87
87
|
function _() {
|
|
88
88
|
n = 0, s = 1, l = 1, r = 0;
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function w(I = 0) {
|
|
91
91
|
r = I;
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function k() {
|
|
94
94
|
const I = n + r;
|
|
95
95
|
for (; I !== n; )
|
|
96
96
|
d();
|
|
@@ -99,20 +99,20 @@ function Rs(e) {
|
|
|
99
99
|
return {
|
|
100
100
|
index: R,
|
|
101
101
|
line: L,
|
|
102
|
-
column:
|
|
102
|
+
column: D,
|
|
103
103
|
peekOffset: j,
|
|
104
|
-
charAt:
|
|
105
|
-
currentChar:
|
|
104
|
+
charAt: S,
|
|
105
|
+
currentChar: M,
|
|
106
106
|
currentPeek: i,
|
|
107
107
|
next: d,
|
|
108
108
|
peek: y,
|
|
109
109
|
reset: _,
|
|
110
|
-
resetPeek:
|
|
111
|
-
skipToPeek:
|
|
110
|
+
resetPeek: w,
|
|
111
|
+
skipToPeek: k
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
const
|
|
115
|
-
function
|
|
114
|
+
const Se = void 0, Cs = ".", nn = "'", As = "tokenizer";
|
|
115
|
+
function Ss(e, t = {}) {
|
|
116
116
|
const n = t.location !== !1, s = Rs(e), l = () => s.index(), r = () => Es(s.line(), s.column(), s.index()), c = r(), u = l(), m = {
|
|
117
117
|
currentType: 13,
|
|
118
118
|
offset: u,
|
|
@@ -126,41 +126,41 @@ function As(e, t = {}) {
|
|
|
126
126
|
inLinked: !1,
|
|
127
127
|
text: ""
|
|
128
128
|
}, p = () => m, { onError: T } = t;
|
|
129
|
-
function R(a, o,
|
|
129
|
+
function R(a, o, b, ...W) {
|
|
130
130
|
const ae = p();
|
|
131
|
-
if (o.column +=
|
|
132
|
-
const Y = n ?
|
|
133
|
-
domain:
|
|
131
|
+
if (o.column += b, o.offset += b, T) {
|
|
132
|
+
const Y = n ? wt(ae.startLoc, o) : null, f = vt(a, Y, {
|
|
133
|
+
domain: As,
|
|
134
134
|
args: W
|
|
135
135
|
});
|
|
136
136
|
T(f);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
function L(a, o,
|
|
139
|
+
function L(a, o, b) {
|
|
140
140
|
a.endLoc = r(), a.currentType = o;
|
|
141
141
|
const W = { type: o };
|
|
142
|
-
return n && (W.loc =
|
|
142
|
+
return n && (W.loc = wt(a.startLoc, a.endLoc)), b != null && (W.value = b), W;
|
|
143
143
|
}
|
|
144
|
-
const
|
|
144
|
+
const D = (a) => L(
|
|
145
145
|
a,
|
|
146
146
|
13
|
|
147
147
|
/* TokenTypes.EOF */
|
|
148
148
|
);
|
|
149
149
|
function j(a, o) {
|
|
150
|
-
return a.currentChar() === o ? (a.next(), o) : (R(
|
|
150
|
+
return a.currentChar() === o ? (a.next(), o) : (R(K.EXPECTED_TOKEN, r(), 0, o), "");
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function S(a) {
|
|
153
153
|
let o = "";
|
|
154
|
-
for (; a.currentPeek() === Le || a.currentPeek() ===
|
|
154
|
+
for (; a.currentPeek() === Le || a.currentPeek() === be; )
|
|
155
155
|
o += a.currentPeek(), a.peek();
|
|
156
156
|
return o;
|
|
157
157
|
}
|
|
158
|
-
function
|
|
159
|
-
const o =
|
|
158
|
+
function M(a) {
|
|
159
|
+
const o = S(a);
|
|
160
160
|
return a.skipToPeek(), o;
|
|
161
161
|
}
|
|
162
162
|
function i(a) {
|
|
163
|
-
if (a ===
|
|
163
|
+
if (a === Se)
|
|
164
164
|
return !1;
|
|
165
165
|
const o = a.charCodeAt(0);
|
|
166
166
|
return o >= 97 && o <= 122 || // a-z
|
|
@@ -168,84 +168,84 @@ function As(e, t = {}) {
|
|
|
168
168
|
o === 95;
|
|
169
169
|
}
|
|
170
170
|
function d(a) {
|
|
171
|
-
if (a ===
|
|
171
|
+
if (a === Se)
|
|
172
172
|
return !1;
|
|
173
173
|
const o = a.charCodeAt(0);
|
|
174
174
|
return o >= 48 && o <= 57;
|
|
175
175
|
}
|
|
176
176
|
function y(a, o) {
|
|
177
|
-
const { currentType:
|
|
178
|
-
if (
|
|
177
|
+
const { currentType: b } = o;
|
|
178
|
+
if (b !== 2)
|
|
179
179
|
return !1;
|
|
180
|
-
|
|
180
|
+
S(a);
|
|
181
181
|
const W = i(a.currentPeek());
|
|
182
182
|
return a.resetPeek(), W;
|
|
183
183
|
}
|
|
184
184
|
function _(a, o) {
|
|
185
|
-
const { currentType:
|
|
186
|
-
if (
|
|
185
|
+
const { currentType: b } = o;
|
|
186
|
+
if (b !== 2)
|
|
187
187
|
return !1;
|
|
188
|
-
|
|
188
|
+
S(a);
|
|
189
189
|
const W = a.currentPeek() === "-" ? a.peek() : a.currentPeek(), ae = d(W);
|
|
190
190
|
return a.resetPeek(), ae;
|
|
191
191
|
}
|
|
192
|
-
function
|
|
193
|
-
const { currentType:
|
|
194
|
-
if (
|
|
192
|
+
function w(a, o) {
|
|
193
|
+
const { currentType: b } = o;
|
|
194
|
+
if (b !== 2)
|
|
195
195
|
return !1;
|
|
196
|
-
|
|
196
|
+
S(a);
|
|
197
197
|
const W = a.currentPeek() === nn;
|
|
198
198
|
return a.resetPeek(), W;
|
|
199
199
|
}
|
|
200
|
-
function
|
|
201
|
-
const { currentType:
|
|
202
|
-
if (
|
|
200
|
+
function k(a, o) {
|
|
201
|
+
const { currentType: b } = o;
|
|
202
|
+
if (b !== 7)
|
|
203
203
|
return !1;
|
|
204
|
-
|
|
204
|
+
S(a);
|
|
205
205
|
const W = a.currentPeek() === ".";
|
|
206
206
|
return a.resetPeek(), W;
|
|
207
207
|
}
|
|
208
208
|
function I(a, o) {
|
|
209
|
-
const { currentType:
|
|
210
|
-
if (
|
|
209
|
+
const { currentType: b } = o;
|
|
210
|
+
if (b !== 8)
|
|
211
211
|
return !1;
|
|
212
|
-
|
|
212
|
+
S(a);
|
|
213
213
|
const W = i(a.currentPeek());
|
|
214
214
|
return a.resetPeek(), W;
|
|
215
215
|
}
|
|
216
216
|
function X(a, o) {
|
|
217
|
-
const { currentType:
|
|
218
|
-
if (!(
|
|
217
|
+
const { currentType: b } = o;
|
|
218
|
+
if (!(b === 7 || b === 11))
|
|
219
219
|
return !1;
|
|
220
|
-
|
|
220
|
+
S(a);
|
|
221
221
|
const W = a.currentPeek() === ":";
|
|
222
222
|
return a.resetPeek(), W;
|
|
223
223
|
}
|
|
224
224
|
function v(a, o) {
|
|
225
|
-
const { currentType:
|
|
226
|
-
if (
|
|
225
|
+
const { currentType: b } = o;
|
|
226
|
+
if (b !== 9)
|
|
227
227
|
return !1;
|
|
228
228
|
const W = () => {
|
|
229
229
|
const Y = a.currentPeek();
|
|
230
|
-
return Y === "{" ? i(a.peek()) : Y === "@" || Y === "|" || Y === ":" || Y === "." || Y === Le || !Y ? !1 : Y ===
|
|
230
|
+
return Y === "{" ? i(a.peek()) : Y === "@" || Y === "|" || Y === ":" || Y === "." || Y === Le || !Y ? !1 : Y === be ? (a.peek(), W()) : C(a, !1);
|
|
231
231
|
}, ae = W();
|
|
232
232
|
return a.resetPeek(), ae;
|
|
233
233
|
}
|
|
234
|
-
function
|
|
235
|
-
|
|
234
|
+
function h(a) {
|
|
235
|
+
S(a);
|
|
236
236
|
const o = a.currentPeek() === "|";
|
|
237
237
|
return a.resetPeek(), o;
|
|
238
238
|
}
|
|
239
239
|
function C(a, o = !0) {
|
|
240
|
-
const
|
|
240
|
+
const b = (ae = !1, Y = "") => {
|
|
241
241
|
const f = a.currentPeek();
|
|
242
|
-
return f === "{" || f === "@" || !f ? ae : f === "|" ? !(Y === Le || Y ===
|
|
243
|
-
}, W =
|
|
242
|
+
return f === "{" || f === "@" || !f ? ae : f === "|" ? !(Y === Le || Y === be) : f === Le ? (a.peek(), b(!0, Le)) : f === be ? (a.peek(), b(!0, be)) : !0;
|
|
243
|
+
}, W = b();
|
|
244
244
|
return o && a.resetPeek(), W;
|
|
245
245
|
}
|
|
246
246
|
function E(a, o) {
|
|
247
|
-
const
|
|
248
|
-
return
|
|
247
|
+
const b = a.currentChar();
|
|
248
|
+
return b === Se ? Se : o(b) ? (a.next(), b) : null;
|
|
249
249
|
}
|
|
250
250
|
function F(a) {
|
|
251
251
|
const o = a.charCodeAt(0);
|
|
@@ -267,7 +267,7 @@ function As(e, t = {}) {
|
|
|
267
267
|
o === 36 || // $
|
|
268
268
|
o === 45;
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function A(a) {
|
|
271
271
|
return E(a, N);
|
|
272
272
|
}
|
|
273
273
|
function g(a) {
|
|
@@ -287,52 +287,52 @@ function As(e, t = {}) {
|
|
|
287
287
|
return E(a, V);
|
|
288
288
|
}
|
|
289
289
|
function te(a) {
|
|
290
|
-
let o = "",
|
|
290
|
+
let o = "", b = "";
|
|
291
291
|
for (; o = G(a); )
|
|
292
|
-
|
|
293
|
-
return
|
|
292
|
+
b += o;
|
|
293
|
+
return b;
|
|
294
294
|
}
|
|
295
295
|
function B(a) {
|
|
296
296
|
let o = "";
|
|
297
297
|
for (; ; ) {
|
|
298
|
-
const
|
|
299
|
-
if (
|
|
298
|
+
const b = a.currentChar();
|
|
299
|
+
if (b === "{" || b === "}" || b === "@" || b === "|" || !b)
|
|
300
300
|
break;
|
|
301
|
-
if (
|
|
301
|
+
if (b === Le || b === be)
|
|
302
302
|
if (C(a))
|
|
303
|
-
o +=
|
|
303
|
+
o += b, a.next();
|
|
304
304
|
else {
|
|
305
|
-
if (
|
|
305
|
+
if (h(a))
|
|
306
306
|
break;
|
|
307
|
-
o +=
|
|
307
|
+
o += b, a.next();
|
|
308
308
|
}
|
|
309
309
|
else
|
|
310
|
-
o +=
|
|
310
|
+
o += b, a.next();
|
|
311
311
|
}
|
|
312
312
|
return o;
|
|
313
313
|
}
|
|
314
|
-
function
|
|
315
|
-
|
|
316
|
-
let o = "",
|
|
317
|
-
for (; o =
|
|
318
|
-
|
|
319
|
-
return a.currentChar() ===
|
|
314
|
+
function he(a) {
|
|
315
|
+
M(a);
|
|
316
|
+
let o = "", b = "";
|
|
317
|
+
for (; o = A(a); )
|
|
318
|
+
b += o;
|
|
319
|
+
return a.currentChar() === Se && R(K.UNTERMINATED_CLOSING_BRACE, r(), 0), b;
|
|
320
320
|
}
|
|
321
321
|
function fe(a) {
|
|
322
|
-
|
|
322
|
+
M(a);
|
|
323
323
|
let o = "";
|
|
324
|
-
return a.currentChar() === "-" ? (a.next(), o += `-${te(a)}`) : o += te(a), a.currentChar() ===
|
|
324
|
+
return a.currentChar() === "-" ? (a.next(), o += `-${te(a)}`) : o += te(a), a.currentChar() === Se && R(K.UNTERMINATED_CLOSING_BRACE, r(), 0), o;
|
|
325
325
|
}
|
|
326
326
|
function H(a) {
|
|
327
|
-
return a !== nn && a !==
|
|
327
|
+
return a !== nn && a !== be;
|
|
328
328
|
}
|
|
329
329
|
function x(a) {
|
|
330
|
-
|
|
331
|
-
let o = "",
|
|
330
|
+
M(a), j(a, "'");
|
|
331
|
+
let o = "", b = "";
|
|
332
332
|
for (; o = E(a, H); )
|
|
333
|
-
o === "\\" ?
|
|
333
|
+
o === "\\" ? b += Ie(a) : b += o;
|
|
334
334
|
const W = a.currentChar();
|
|
335
|
-
return W ===
|
|
335
|
+
return W === be || W === Se ? (R(K.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, r(), 0), W === be && (a.next(), j(a, "'")), b) : (j(a, "'"), b);
|
|
336
336
|
}
|
|
337
337
|
function Ie(a) {
|
|
338
338
|
const o = a.currentChar();
|
|
@@ -345,16 +345,16 @@ function As(e, t = {}) {
|
|
|
345
345
|
case "U":
|
|
346
346
|
return Je(a, o, 6);
|
|
347
347
|
default:
|
|
348
|
-
return R(
|
|
348
|
+
return R(K.UNKNOWN_ESCAPE_SEQUENCE, r(), 0, o), "";
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
|
-
function Je(a, o,
|
|
351
|
+
function Je(a, o, b) {
|
|
352
352
|
j(a, o);
|
|
353
353
|
let W = "";
|
|
354
|
-
for (let ae = 0; ae <
|
|
354
|
+
for (let ae = 0; ae < b; ae++) {
|
|
355
355
|
const Y = U(a);
|
|
356
356
|
if (!Y) {
|
|
357
|
-
R(
|
|
357
|
+
R(K.INVALID_UNICODE_ESCAPE_SEQUENCE, r(), 0, `\\${o}${W}${a.currentChar()}`);
|
|
358
358
|
break;
|
|
359
359
|
}
|
|
360
360
|
W += Y;
|
|
@@ -362,80 +362,80 @@ function As(e, t = {}) {
|
|
|
362
362
|
return `\\${o}${W}`;
|
|
363
363
|
}
|
|
364
364
|
function $e(a) {
|
|
365
|
-
return a !== "{" && a !== "}" && a !== Le && a !==
|
|
365
|
+
return a !== "{" && a !== "}" && a !== Le && a !== be;
|
|
366
366
|
}
|
|
367
367
|
function Et(a) {
|
|
368
|
-
|
|
369
|
-
let o = "",
|
|
368
|
+
M(a);
|
|
369
|
+
let o = "", b = "";
|
|
370
370
|
for (; o = E(a, $e); )
|
|
371
|
-
|
|
372
|
-
return
|
|
371
|
+
b += o;
|
|
372
|
+
return b;
|
|
373
373
|
}
|
|
374
374
|
function Nt(a) {
|
|
375
|
-
let o = "",
|
|
375
|
+
let o = "", b = "";
|
|
376
376
|
for (; o = Z(a); )
|
|
377
|
-
|
|
378
|
-
return
|
|
377
|
+
b += o;
|
|
378
|
+
return b;
|
|
379
379
|
}
|
|
380
380
|
function Tt(a) {
|
|
381
|
-
const o = (
|
|
381
|
+
const o = (b) => {
|
|
382
382
|
const W = a.currentChar();
|
|
383
|
-
return W === "{" || W === "@" || W === "|" || W === "(" || W === ")" || !W || W === Le ?
|
|
383
|
+
return W === "{" || W === "@" || W === "|" || W === "(" || W === ")" || !W || W === Le ? b : (b += W, a.next(), o(b));
|
|
384
384
|
};
|
|
385
385
|
return o("");
|
|
386
386
|
}
|
|
387
|
-
function
|
|
388
|
-
|
|
387
|
+
function ze(a) {
|
|
388
|
+
M(a);
|
|
389
389
|
const o = j(
|
|
390
390
|
a,
|
|
391
391
|
"|"
|
|
392
392
|
/* TokenChars.Pipe */
|
|
393
393
|
);
|
|
394
|
-
return
|
|
394
|
+
return M(a), o;
|
|
395
395
|
}
|
|
396
396
|
function We(a, o) {
|
|
397
|
-
let
|
|
397
|
+
let b = null;
|
|
398
398
|
switch (a.currentChar()) {
|
|
399
399
|
case "{":
|
|
400
|
-
return o.braceNest >= 1 && R(
|
|
400
|
+
return o.braceNest >= 1 && R(K.NOT_ALLOW_NEST_PLACEHOLDER, r(), 0), a.next(), b = L(
|
|
401
401
|
o,
|
|
402
402
|
2,
|
|
403
403
|
"{"
|
|
404
404
|
/* TokenChars.BraceLeft */
|
|
405
|
-
),
|
|
405
|
+
), M(a), o.braceNest++, b;
|
|
406
406
|
case "}":
|
|
407
|
-
return o.braceNest > 0 && o.currentType === 2 && R(
|
|
407
|
+
return o.braceNest > 0 && o.currentType === 2 && R(K.EMPTY_PLACEHOLDER, r(), 0), a.next(), b = L(
|
|
408
408
|
o,
|
|
409
409
|
3,
|
|
410
410
|
"}"
|
|
411
411
|
/* TokenChars.BraceRight */
|
|
412
|
-
), o.braceNest--, o.braceNest > 0 &&
|
|
412
|
+
), o.braceNest--, o.braceNest > 0 && M(a), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), b;
|
|
413
413
|
case "@":
|
|
414
|
-
return o.braceNest > 0 && R(
|
|
414
|
+
return o.braceNest > 0 && R(K.UNTERMINATED_CLOSING_BRACE, r(), 0), b = je(a, o) || D(o), o.braceNest = 0, b;
|
|
415
415
|
default: {
|
|
416
416
|
let ae = !0, Y = !0, f = !0;
|
|
417
|
-
if (
|
|
418
|
-
return o.braceNest > 0 && R(
|
|
417
|
+
if (h(a))
|
|
418
|
+
return o.braceNest > 0 && R(K.UNTERMINATED_CLOSING_BRACE, r(), 0), b = L(o, 1, ze(a)), o.braceNest = 0, o.inLinked = !1, b;
|
|
419
419
|
if (o.braceNest > 0 && (o.currentType === 4 || o.currentType === 5 || o.currentType === 6))
|
|
420
|
-
return R(
|
|
420
|
+
return R(K.UNTERMINATED_CLOSING_BRACE, r(), 0), o.braceNest = 0, Ke(a, o);
|
|
421
421
|
if (ae = y(a, o))
|
|
422
|
-
return
|
|
422
|
+
return b = L(o, 4, he(a)), M(a), b;
|
|
423
423
|
if (Y = _(a, o))
|
|
424
|
-
return
|
|
425
|
-
if (f =
|
|
426
|
-
return
|
|
424
|
+
return b = L(o, 5, fe(a)), M(a), b;
|
|
425
|
+
if (f = w(a, o))
|
|
426
|
+
return b = L(o, 6, x(a)), M(a), b;
|
|
427
427
|
if (!ae && !Y && !f)
|
|
428
|
-
return
|
|
428
|
+
return b = L(o, 12, Et(a)), R(K.INVALID_TOKEN_IN_PLACEHOLDER, r(), 0, b.value), M(a), b;
|
|
429
429
|
break;
|
|
430
430
|
}
|
|
431
431
|
}
|
|
432
|
-
return
|
|
432
|
+
return b;
|
|
433
433
|
}
|
|
434
434
|
function je(a, o) {
|
|
435
|
-
const { currentType:
|
|
435
|
+
const { currentType: b } = o;
|
|
436
436
|
let W = null;
|
|
437
437
|
const ae = a.currentChar();
|
|
438
|
-
switch ((
|
|
438
|
+
switch ((b === 7 || b === 8 || b === 11 || b === 9) && (ae === be || ae === Le) && R(K.INVALID_LINKED_FORMAT, r(), 0), ae) {
|
|
439
439
|
case "@":
|
|
440
440
|
return a.next(), W = L(
|
|
441
441
|
o,
|
|
@@ -444,61 +444,61 @@ function As(e, t = {}) {
|
|
|
444
444
|
/* TokenChars.LinkedAlias */
|
|
445
445
|
), o.inLinked = !0, W;
|
|
446
446
|
case ".":
|
|
447
|
-
return
|
|
447
|
+
return M(a), a.next(), L(
|
|
448
448
|
o,
|
|
449
449
|
8,
|
|
450
450
|
"."
|
|
451
451
|
/* TokenChars.LinkedDot */
|
|
452
452
|
);
|
|
453
453
|
case ":":
|
|
454
|
-
return
|
|
454
|
+
return M(a), a.next(), L(
|
|
455
455
|
o,
|
|
456
456
|
9,
|
|
457
457
|
":"
|
|
458
458
|
/* TokenChars.LinkedDelimiter */
|
|
459
459
|
);
|
|
460
460
|
default:
|
|
461
|
-
return
|
|
461
|
+
return h(a) ? (W = L(o, 1, ze(a)), o.braceNest = 0, o.inLinked = !1, W) : k(a, o) || X(a, o) ? (M(a), je(a, o)) : I(a, o) ? (M(a), L(o, 11, Nt(a))) : v(a, o) ? (M(a), ae === "{" ? We(a, o) || W : L(o, 10, Tt(a))) : (b === 7 && R(K.INVALID_LINKED_FORMAT, r(), 0), o.braceNest = 0, o.inLinked = !1, Ke(a, o));
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
|
-
function
|
|
465
|
-
let
|
|
464
|
+
function Ke(a, o) {
|
|
465
|
+
let b = {
|
|
466
466
|
type: 13
|
|
467
467
|
/* TokenTypes.EOF */
|
|
468
468
|
};
|
|
469
469
|
if (o.braceNest > 0)
|
|
470
|
-
return We(a, o) ||
|
|
470
|
+
return We(a, o) || D(o);
|
|
471
471
|
if (o.inLinked)
|
|
472
|
-
return je(a, o) ||
|
|
472
|
+
return je(a, o) || D(o);
|
|
473
473
|
switch (a.currentChar()) {
|
|
474
474
|
case "{":
|
|
475
|
-
return We(a, o) ||
|
|
475
|
+
return We(a, o) || D(o);
|
|
476
476
|
case "}":
|
|
477
|
-
return R(
|
|
477
|
+
return R(K.UNBALANCED_CLOSING_BRACE, r(), 0), a.next(), L(
|
|
478
478
|
o,
|
|
479
479
|
3,
|
|
480
480
|
"}"
|
|
481
481
|
/* TokenChars.BraceRight */
|
|
482
482
|
);
|
|
483
483
|
case "@":
|
|
484
|
-
return je(a, o) ||
|
|
484
|
+
return je(a, o) || D(o);
|
|
485
485
|
default: {
|
|
486
|
-
if (
|
|
487
|
-
return
|
|
486
|
+
if (h(a))
|
|
487
|
+
return b = L(o, 1, ze(a)), o.braceNest = 0, o.inLinked = !1, b;
|
|
488
488
|
if (C(a))
|
|
489
489
|
return L(o, 0, B(a));
|
|
490
490
|
break;
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
|
-
return
|
|
493
|
+
return b;
|
|
494
494
|
}
|
|
495
495
|
function yt() {
|
|
496
|
-
const { currentType: a, offset: o, startLoc:
|
|
497
|
-
return m.lastType = a, m.lastOffset = o, m.lastStartLoc =
|
|
496
|
+
const { currentType: a, offset: o, startLoc: b, endLoc: W } = m;
|
|
497
|
+
return m.lastType = a, m.lastOffset = o, m.lastStartLoc = b, m.lastEndLoc = W, m.offset = l(), m.startLoc = r(), s.currentChar() === Se ? L(
|
|
498
498
|
m,
|
|
499
499
|
13
|
|
500
500
|
/* TokenTypes.EOF */
|
|
501
|
-
) :
|
|
501
|
+
) : Ke(s, m);
|
|
502
502
|
}
|
|
503
503
|
return {
|
|
504
504
|
nextToken: yt,
|
|
@@ -507,8 +507,8 @@ function As(e, t = {}) {
|
|
|
507
507
|
context: p
|
|
508
508
|
};
|
|
509
509
|
}
|
|
510
|
-
const
|
|
511
|
-
function
|
|
510
|
+
const ks = "parser", Ms = /(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;
|
|
511
|
+
function ws(e, t, n) {
|
|
512
512
|
switch (e) {
|
|
513
513
|
case "\\\\":
|
|
514
514
|
return "\\";
|
|
@@ -520,14 +520,14 @@ function Ms(e, t, n) {
|
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function Ds(e = {}) {
|
|
524
524
|
const t = e.location !== !1, { onError: n } = e;
|
|
525
|
-
function s(i, d, y, _, ...
|
|
526
|
-
const
|
|
527
|
-
if (
|
|
528
|
-
const I = t ?
|
|
529
|
-
domain:
|
|
530
|
-
args:
|
|
525
|
+
function s(i, d, y, _, ...w) {
|
|
526
|
+
const k = i.currentPosition();
|
|
527
|
+
if (k.offset += _, k.column += _, n) {
|
|
528
|
+
const I = t ? wt(y, k) : null, X = vt(d, I, {
|
|
529
|
+
domain: ks,
|
|
530
|
+
args: w
|
|
531
531
|
});
|
|
532
532
|
n(X);
|
|
533
533
|
}
|
|
@@ -544,24 +544,24 @@ function ws(e = {}) {
|
|
|
544
544
|
return _.value = d, r(_, i.currentOffset(), i.currentPosition()), _;
|
|
545
545
|
}
|
|
546
546
|
function u(i, d) {
|
|
547
|
-
const y = i.context(), { lastOffset: _, lastStartLoc:
|
|
548
|
-
return
|
|
547
|
+
const y = i.context(), { lastOffset: _, lastStartLoc: w } = y, k = l(5, _, w);
|
|
548
|
+
return k.index = parseInt(d, 10), i.nextToken(), r(k, i.currentOffset(), i.currentPosition()), k;
|
|
549
549
|
}
|
|
550
550
|
function m(i, d) {
|
|
551
|
-
const y = i.context(), { lastOffset: _, lastStartLoc:
|
|
552
|
-
return
|
|
551
|
+
const y = i.context(), { lastOffset: _, lastStartLoc: w } = y, k = l(4, _, w);
|
|
552
|
+
return k.key = d, i.nextToken(), r(k, i.currentOffset(), i.currentPosition()), k;
|
|
553
553
|
}
|
|
554
554
|
function p(i, d) {
|
|
555
|
-
const y = i.context(), { lastOffset: _, lastStartLoc:
|
|
556
|
-
return
|
|
555
|
+
const y = i.context(), { lastOffset: _, lastStartLoc: w } = y, k = l(9, _, w);
|
|
556
|
+
return k.value = d.replace(Ms, ws), i.nextToken(), r(k, i.currentOffset(), i.currentPosition()), k;
|
|
557
557
|
}
|
|
558
558
|
function T(i) {
|
|
559
|
-
const d = i.nextToken(), y = i.context(), { lastOffset: _, lastStartLoc:
|
|
560
|
-
return d.type !== 11 ? (s(i,
|
|
559
|
+
const d = i.nextToken(), y = i.context(), { lastOffset: _, lastStartLoc: w } = y, k = l(8, _, w);
|
|
560
|
+
return d.type !== 11 ? (s(i, K.UNEXPECTED_EMPTY_LINKED_MODIFIER, y.lastStartLoc, 0), k.value = "", r(k, _, w), {
|
|
561
561
|
nextConsumeToken: d,
|
|
562
|
-
node:
|
|
563
|
-
}) : (d.value == null && s(i,
|
|
564
|
-
node:
|
|
562
|
+
node: k
|
|
563
|
+
}) : (d.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, y.lastStartLoc, 0, Te(d)), k.value = d.value || "", r(k, i.currentOffset(), i.currentPosition()), {
|
|
564
|
+
node: k
|
|
565
565
|
});
|
|
566
566
|
}
|
|
567
567
|
function R(i, d) {
|
|
@@ -572,26 +572,26 @@ function ws(e = {}) {
|
|
|
572
572
|
const d = i.context(), y = l(6, d.offset, d.startLoc);
|
|
573
573
|
let _ = i.nextToken();
|
|
574
574
|
if (_.type === 8) {
|
|
575
|
-
const
|
|
576
|
-
y.modifier =
|
|
575
|
+
const w = T(i);
|
|
576
|
+
y.modifier = w.node, _ = w.nextConsumeToken || i.nextToken();
|
|
577
577
|
}
|
|
578
|
-
switch (_.type !== 9 && s(i,
|
|
578
|
+
switch (_.type !== 9 && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Te(_)), _ = i.nextToken(), _.type === 2 && (_ = i.nextToken()), _.type) {
|
|
579
579
|
case 10:
|
|
580
|
-
_.value == null && s(i,
|
|
580
|
+
_.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Te(_)), y.key = R(i, _.value || "");
|
|
581
581
|
break;
|
|
582
582
|
case 4:
|
|
583
|
-
_.value == null && s(i,
|
|
583
|
+
_.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Te(_)), y.key = m(i, _.value || "");
|
|
584
584
|
break;
|
|
585
585
|
case 5:
|
|
586
|
-
_.value == null && s(i,
|
|
586
|
+
_.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Te(_)), y.key = u(i, _.value || "");
|
|
587
587
|
break;
|
|
588
588
|
case 6:
|
|
589
|
-
_.value == null && s(i,
|
|
589
|
+
_.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Te(_)), y.key = p(i, _.value || "");
|
|
590
590
|
break;
|
|
591
591
|
default: {
|
|
592
|
-
s(i,
|
|
593
|
-
const
|
|
594
|
-
return
|
|
592
|
+
s(i, K.UNEXPECTED_EMPTY_LINKED_KEY, d.lastStartLoc, 0);
|
|
593
|
+
const w = i.context(), k = l(7, w.offset, w.startLoc);
|
|
594
|
+
return k.value = "", r(k, w.offset, w.startLoc), y.key = k, r(y, w.offset, w.startLoc), {
|
|
595
595
|
nextConsumeToken: _,
|
|
596
596
|
node: y
|
|
597
597
|
};
|
|
@@ -601,55 +601,55 @@ function ws(e = {}) {
|
|
|
601
601
|
node: y
|
|
602
602
|
};
|
|
603
603
|
}
|
|
604
|
-
function
|
|
605
|
-
const d = i.context(), y = d.currentType === 1 ? i.currentOffset() : d.offset, _ = d.currentType === 1 ? d.endLoc : d.startLoc,
|
|
606
|
-
|
|
607
|
-
let
|
|
604
|
+
function D(i) {
|
|
605
|
+
const d = i.context(), y = d.currentType === 1 ? i.currentOffset() : d.offset, _ = d.currentType === 1 ? d.endLoc : d.startLoc, w = l(2, y, _);
|
|
606
|
+
w.items = [];
|
|
607
|
+
let k = null;
|
|
608
608
|
do {
|
|
609
|
-
const v =
|
|
610
|
-
switch (
|
|
609
|
+
const v = k || i.nextToken();
|
|
610
|
+
switch (k = null, v.type) {
|
|
611
611
|
case 0:
|
|
612
|
-
v.value == null && s(i,
|
|
612
|
+
v.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Te(v)), w.items.push(c(i, v.value || ""));
|
|
613
613
|
break;
|
|
614
614
|
case 5:
|
|
615
|
-
v.value == null && s(i,
|
|
615
|
+
v.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Te(v)), w.items.push(u(i, v.value || ""));
|
|
616
616
|
break;
|
|
617
617
|
case 4:
|
|
618
|
-
v.value == null && s(i,
|
|
618
|
+
v.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Te(v)), w.items.push(m(i, v.value || ""));
|
|
619
619
|
break;
|
|
620
620
|
case 6:
|
|
621
|
-
v.value == null && s(i,
|
|
621
|
+
v.value == null && s(i, K.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Te(v)), w.items.push(p(i, v.value || ""));
|
|
622
622
|
break;
|
|
623
623
|
case 7: {
|
|
624
|
-
const
|
|
625
|
-
|
|
624
|
+
const h = L(i);
|
|
625
|
+
w.items.push(h.node), k = h.nextConsumeToken || null;
|
|
626
626
|
break;
|
|
627
627
|
}
|
|
628
628
|
}
|
|
629
629
|
} while (d.currentType !== 13 && d.currentType !== 1);
|
|
630
630
|
const I = d.currentType === 1 ? d.lastOffset : i.currentOffset(), X = d.currentType === 1 ? d.lastEndLoc : i.currentPosition();
|
|
631
|
-
return r(
|
|
631
|
+
return r(w, I, X), w;
|
|
632
632
|
}
|
|
633
633
|
function j(i, d, y, _) {
|
|
634
|
-
const
|
|
635
|
-
let
|
|
634
|
+
const w = i.context();
|
|
635
|
+
let k = _.items.length === 0;
|
|
636
636
|
const I = l(1, d, y);
|
|
637
637
|
I.cases = [], I.cases.push(_);
|
|
638
638
|
do {
|
|
639
|
-
const X =
|
|
640
|
-
|
|
641
|
-
} while (
|
|
642
|
-
return
|
|
639
|
+
const X = D(i);
|
|
640
|
+
k || (k = X.items.length === 0), I.cases.push(X);
|
|
641
|
+
} while (w.currentType !== 13);
|
|
642
|
+
return k && s(i, K.MUST_HAVE_MESSAGES_IN_PLURAL, y, 0), r(I, i.currentOffset(), i.currentPosition()), I;
|
|
643
643
|
}
|
|
644
|
-
function
|
|
645
|
-
const d = i.context(), { offset: y, startLoc: _ } = d,
|
|
646
|
-
return d.currentType === 13 ?
|
|
644
|
+
function S(i) {
|
|
645
|
+
const d = i.context(), { offset: y, startLoc: _ } = d, w = D(i);
|
|
646
|
+
return d.currentType === 13 ? w : j(i, y, _, w);
|
|
647
647
|
}
|
|
648
|
-
function
|
|
649
|
-
const d =
|
|
650
|
-
return t && _.loc && (_.loc.source = i), _.body =
|
|
648
|
+
function M(i) {
|
|
649
|
+
const d = Ss(i, de({}, e)), y = d.context(), _ = l(0, y.offset, y.startLoc);
|
|
650
|
+
return t && _.loc && (_.loc.source = i), _.body = S(d), e.onCacheKey && (_.cacheKey = e.onCacheKey(i)), y.currentType !== 13 && s(d, K.UNEXPECTED_LEXICAL_ANALYSIS, y.lastStartLoc, 0, i[y.offset] || ""), r(_, d.currentOffset(), d.currentPosition()), _;
|
|
651
651
|
}
|
|
652
|
-
return { parse:
|
|
652
|
+
return { parse: M };
|
|
653
653
|
}
|
|
654
654
|
function Te(e) {
|
|
655
655
|
if (e.type === 13)
|
|
@@ -804,20 +804,20 @@ function Ws(e, t) {
|
|
|
804
804
|
};
|
|
805
805
|
r && e.loc && (c.source = e.loc.source);
|
|
806
806
|
const u = () => c;
|
|
807
|
-
function m(
|
|
808
|
-
c.code +=
|
|
807
|
+
function m(S, M) {
|
|
808
|
+
c.code += S;
|
|
809
809
|
}
|
|
810
|
-
function p(
|
|
811
|
-
const i =
|
|
812
|
-
m(l ? i + " ".repeat(
|
|
810
|
+
function p(S, M = !0) {
|
|
811
|
+
const i = M ? s : "";
|
|
812
|
+
m(l ? i + " ".repeat(S) : i);
|
|
813
813
|
}
|
|
814
|
-
function T(
|
|
815
|
-
const
|
|
816
|
-
|
|
814
|
+
function T(S = !0) {
|
|
815
|
+
const M = ++c.indentLevel;
|
|
816
|
+
S && p(M);
|
|
817
817
|
}
|
|
818
|
-
function R(
|
|
819
|
-
const
|
|
820
|
-
|
|
818
|
+
function R(S = !0) {
|
|
819
|
+
const M = --c.indentLevel;
|
|
820
|
+
S && p(M);
|
|
821
821
|
}
|
|
822
822
|
function L() {
|
|
823
823
|
p(c.indentLevel);
|
|
@@ -828,7 +828,7 @@ function Ws(e, t) {
|
|
|
828
828
|
indent: T,
|
|
829
829
|
deindent: R,
|
|
830
830
|
newline: L,
|
|
831
|
-
helper: (
|
|
831
|
+
helper: (S) => `_${S}`,
|
|
832
832
|
needIndent: () => c.needIndent
|
|
833
833
|
};
|
|
834
834
|
}
|
|
@@ -932,7 +932,7 @@ const xs = (e, t = {}) => {
|
|
|
932
932
|
};
|
|
933
933
|
};
|
|
934
934
|
function Ys(e, t = {}) {
|
|
935
|
-
const n = de({}, t), s = !!n.jit, l = !!n.minify, r = n.optimize == null ? !0 : n.optimize, u =
|
|
935
|
+
const n = de({}, t), s = !!n.jit, l = !!n.minify, r = n.optimize == null ? !0 : n.optimize, u = Ds(n).parse(e);
|
|
936
936
|
return s ? (r && Us(u), l && Ge(u), { ast: u, code: "" }) : (Fs(u, n), xs(u, n));
|
|
937
937
|
}
|
|
938
938
|
var Xs = { env: { NODE_ENV: "production" } };
|
|
@@ -950,7 +950,7 @@ function Hs(e, t) {
|
|
|
950
950
|
/* NodeTypes.Resource */
|
|
951
951
|
);
|
|
952
952
|
if (Ht(n) === 1) {
|
|
953
|
-
const r =
|
|
953
|
+
const r = Ks(n);
|
|
954
954
|
return e.plural(r.reduce((c, u) => [
|
|
955
955
|
...c,
|
|
956
956
|
an(e, u)
|
|
@@ -960,30 +960,30 @@ function Hs(e, t) {
|
|
|
960
960
|
}
|
|
961
961
|
const Js = ["b", "body"];
|
|
962
962
|
function $s(e) {
|
|
963
|
-
return
|
|
963
|
+
return we(e, Js);
|
|
964
964
|
}
|
|
965
|
-
const
|
|
966
|
-
function
|
|
967
|
-
return
|
|
965
|
+
const zs = ["c", "cases"];
|
|
966
|
+
function Ks(e) {
|
|
967
|
+
return we(e, zs, []);
|
|
968
968
|
}
|
|
969
969
|
function an(e, t) {
|
|
970
970
|
const n = qs(t);
|
|
971
971
|
if (n != null)
|
|
972
972
|
return e.type === "text" ? n : e.normalize([n]);
|
|
973
973
|
{
|
|
974
|
-
const s = tr(t).reduce((l, r) => [...l,
|
|
974
|
+
const s = tr(t).reduce((l, r) => [...l, Dt(e, r)], []);
|
|
975
975
|
return e.normalize(s);
|
|
976
976
|
}
|
|
977
977
|
}
|
|
978
978
|
const Qs = ["s", "static"];
|
|
979
979
|
function qs(e) {
|
|
980
|
-
return
|
|
980
|
+
return we(e, Qs);
|
|
981
981
|
}
|
|
982
982
|
const er = ["i", "items"];
|
|
983
983
|
function tr(e) {
|
|
984
|
-
return
|
|
984
|
+
return we(e, er, []);
|
|
985
985
|
}
|
|
986
|
-
function
|
|
986
|
+
function Dt(e, t) {
|
|
987
987
|
const n = Ht(t);
|
|
988
988
|
switch (n) {
|
|
989
989
|
case 3:
|
|
@@ -1008,7 +1008,7 @@ function wt(e, t) {
|
|
|
1008
1008
|
}
|
|
1009
1009
|
case 6: {
|
|
1010
1010
|
const s = t, l = ar(s), r = or(s);
|
|
1011
|
-
return e.linked(
|
|
1011
|
+
return e.linked(Dt(e, r), l ? Dt(e, l) : void 0, e.type);
|
|
1012
1012
|
}
|
|
1013
1013
|
case 7:
|
|
1014
1014
|
return ot(t, n);
|
|
@@ -1020,22 +1020,22 @@ function wt(e, t) {
|
|
|
1020
1020
|
}
|
|
1021
1021
|
const nr = ["t", "type"];
|
|
1022
1022
|
function Ht(e) {
|
|
1023
|
-
return
|
|
1023
|
+
return we(e, nr);
|
|
1024
1024
|
}
|
|
1025
1025
|
const sr = ["v", "value"];
|
|
1026
1026
|
function ot(e, t) {
|
|
1027
|
-
const n =
|
|
1027
|
+
const n = we(e, sr);
|
|
1028
1028
|
if (n)
|
|
1029
1029
|
return n;
|
|
1030
1030
|
throw et(t);
|
|
1031
1031
|
}
|
|
1032
1032
|
const rr = ["m", "modifier"];
|
|
1033
1033
|
function ar(e) {
|
|
1034
|
-
return
|
|
1034
|
+
return we(e, rr);
|
|
1035
1035
|
}
|
|
1036
1036
|
const lr = ["k", "key"];
|
|
1037
1037
|
function or(e) {
|
|
1038
|
-
const t =
|
|
1038
|
+
const t = we(e, lr);
|
|
1039
1039
|
if (t)
|
|
1040
1040
|
return t;
|
|
1041
1041
|
throw et(
|
|
@@ -1043,7 +1043,7 @@ function or(e) {
|
|
|
1043
1043
|
/* NodeTypes.Linked */
|
|
1044
1044
|
);
|
|
1045
1045
|
}
|
|
1046
|
-
function
|
|
1046
|
+
function we(e, t, n) {
|
|
1047
1047
|
for (let s = 0; s < t.length; s++) {
|
|
1048
1048
|
const l = t[s];
|
|
1049
1049
|
if (Ne(e, l) && e[l] != null)
|
|
@@ -1057,7 +1057,7 @@ function et(e) {
|
|
|
1057
1057
|
const ir = (e) => e;
|
|
1058
1058
|
let it = ee();
|
|
1059
1059
|
function Xe(e) {
|
|
1060
|
-
return
|
|
1060
|
+
return z(e) && Ht(e) === 0 && (Ne(e, "b") || Ne(e, "body"));
|
|
1061
1061
|
}
|
|
1062
1062
|
function cr(e, t = {}) {
|
|
1063
1063
|
let n = !1;
|
|
@@ -1113,36 +1113,36 @@ const Ce = {
|
|
|
1113
1113
|
NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
|
|
1114
1114
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
1115
1115
|
}, pr = 24;
|
|
1116
|
-
function
|
|
1116
|
+
function Ae(e) {
|
|
1117
1117
|
return vt(e, null, void 0);
|
|
1118
1118
|
}
|
|
1119
1119
|
function Jt(e, t) {
|
|
1120
1120
|
return t.locale != null ? ln(t.locale) : ln(e.locale);
|
|
1121
1121
|
}
|
|
1122
|
-
let
|
|
1122
|
+
let At;
|
|
1123
1123
|
function ln(e) {
|
|
1124
1124
|
if (P(e))
|
|
1125
1125
|
return e;
|
|
1126
1126
|
if (re(e)) {
|
|
1127
|
-
if (e.resolvedOnce &&
|
|
1128
|
-
return
|
|
1127
|
+
if (e.resolvedOnce && At != null)
|
|
1128
|
+
return At;
|
|
1129
1129
|
if (e.constructor.name === "Function") {
|
|
1130
1130
|
const t = e();
|
|
1131
1131
|
if (vs(t))
|
|
1132
|
-
throw
|
|
1133
|
-
return
|
|
1132
|
+
throw Ae(Ce.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
1133
|
+
return At = t;
|
|
1134
1134
|
} else
|
|
1135
|
-
throw
|
|
1135
|
+
throw Ae(Ce.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
|
|
1136
1136
|
} else
|
|
1137
|
-
throw
|
|
1137
|
+
throw Ae(Ce.NOT_SUPPORT_LOCALE_TYPE);
|
|
1138
1138
|
}
|
|
1139
|
-
function
|
|
1139
|
+
function br(e, t, n) {
|
|
1140
1140
|
return [.../* @__PURE__ */ new Set([
|
|
1141
1141
|
n,
|
|
1142
|
-
...ce(t) ? t :
|
|
1142
|
+
...ce(t) ? t : z(t) ? Object.keys(t) : P(t) ? [t] : [n]
|
|
1143
1143
|
])];
|
|
1144
1144
|
}
|
|
1145
|
-
function
|
|
1145
|
+
function Mn(e, t, n) {
|
|
1146
1146
|
const s = P(n) ? n : pt, l = e;
|
|
1147
1147
|
l.__localeChainCache || (l.__localeChainCache = /* @__PURE__ */ new Map());
|
|
1148
1148
|
let r = l.__localeChainCache.get(s);
|
|
@@ -1160,11 +1160,11 @@ function on(e, t, n) {
|
|
|
1160
1160
|
let s = !0;
|
|
1161
1161
|
for (let l = 0; l < t.length && ie(s); l++) {
|
|
1162
1162
|
const r = t[l];
|
|
1163
|
-
P(r) && (s =
|
|
1163
|
+
P(r) && (s = hr(e, t[l], n));
|
|
1164
1164
|
}
|
|
1165
1165
|
return s;
|
|
1166
1166
|
}
|
|
1167
|
-
function
|
|
1167
|
+
function hr(e, t, n) {
|
|
1168
1168
|
let s;
|
|
1169
1169
|
const l = t.split("-");
|
|
1170
1170
|
do {
|
|
@@ -1182,8 +1182,8 @@ function vr(e, t, n) {
|
|
|
1182
1182
|
}
|
|
1183
1183
|
return s;
|
|
1184
1184
|
}
|
|
1185
|
-
const
|
|
1186
|
-
|
|
1185
|
+
const De = [];
|
|
1186
|
+
De[
|
|
1187
1187
|
0
|
|
1188
1188
|
/* States.BEFORE_PATH */
|
|
1189
1189
|
] = {
|
|
@@ -1205,7 +1205,7 @@ we[
|
|
|
1205
1205
|
/* States.AFTER_PATH */
|
|
1206
1206
|
]
|
|
1207
1207
|
};
|
|
1208
|
-
|
|
1208
|
+
De[
|
|
1209
1209
|
1
|
|
1210
1210
|
/* States.IN_PATH */
|
|
1211
1211
|
] = {
|
|
@@ -1226,7 +1226,7 @@ we[
|
|
|
1226
1226
|
/* States.AFTER_PATH */
|
|
1227
1227
|
]
|
|
1228
1228
|
};
|
|
1229
|
-
|
|
1229
|
+
De[
|
|
1230
1230
|
2
|
|
1231
1231
|
/* States.BEFORE_IDENT */
|
|
1232
1232
|
] = {
|
|
@@ -1245,7 +1245,7 @@ we[
|
|
|
1245
1245
|
/* Actions.APPEND */
|
|
1246
1246
|
]
|
|
1247
1247
|
};
|
|
1248
|
-
|
|
1248
|
+
De[
|
|
1249
1249
|
3
|
|
1250
1250
|
/* States.IN_IDENT */
|
|
1251
1251
|
] = {
|
|
@@ -1280,7 +1280,7 @@ we[
|
|
|
1280
1280
|
/* Actions.PUSH */
|
|
1281
1281
|
]
|
|
1282
1282
|
};
|
|
1283
|
-
|
|
1283
|
+
De[
|
|
1284
1284
|
4
|
|
1285
1285
|
/* States.IN_SUB_PATH */
|
|
1286
1286
|
] = {
|
|
@@ -1311,7 +1311,7 @@ we[
|
|
|
1311
1311
|
/* Actions.APPEND */
|
|
1312
1312
|
]
|
|
1313
1313
|
};
|
|
1314
|
-
|
|
1314
|
+
De[
|
|
1315
1315
|
5
|
|
1316
1316
|
/* States.IN_SINGLE_QUOTE */
|
|
1317
1317
|
] = {
|
|
@@ -1327,7 +1327,7 @@ we[
|
|
|
1327
1327
|
/* Actions.APPEND */
|
|
1328
1328
|
]
|
|
1329
1329
|
};
|
|
1330
|
-
|
|
1330
|
+
De[
|
|
1331
1331
|
6
|
|
1332
1332
|
/* States.IN_DOUBLE_QUOTE */
|
|
1333
1333
|
] = {
|
|
@@ -1420,7 +1420,7 @@ function yr(e) {
|
|
|
1420
1420
|
]();
|
|
1421
1421
|
}
|
|
1422
1422
|
};
|
|
1423
|
-
function
|
|
1423
|
+
function D() {
|
|
1424
1424
|
const j = e[n + 1];
|
|
1425
1425
|
if (s === 5 && j === "'" || s === 6 && j === '"')
|
|
1426
1426
|
return n++, u = "\\" + j, L[
|
|
@@ -1429,8 +1429,8 @@ function yr(e) {
|
|
|
1429
1429
|
](), !0;
|
|
1430
1430
|
}
|
|
1431
1431
|
for (; s !== null; )
|
|
1432
|
-
if (n++, r = e[n], !(r === "\\" &&
|
|
1433
|
-
if (m = Nr(r), R =
|
|
1432
|
+
if (n++, r = e[n], !(r === "\\" && D())) {
|
|
1433
|
+
if (m = Nr(r), R = De[s], p = R[m] || R.l || 8, p === 8 || (s = p[0], p[1] !== void 0 && (T = L[p[1]], T && (u = r, T() === !1))))
|
|
1434
1434
|
return;
|
|
1435
1435
|
if (s === 7)
|
|
1436
1436
|
return t;
|
|
@@ -1438,10 +1438,10 @@ function yr(e) {
|
|
|
1438
1438
|
}
|
|
1439
1439
|
const cn = /* @__PURE__ */ new Map();
|
|
1440
1440
|
function Or(e, t) {
|
|
1441
|
-
return
|
|
1441
|
+
return z(e) ? e[t] : null;
|
|
1442
1442
|
}
|
|
1443
1443
|
function Lr(e, t) {
|
|
1444
|
-
if (!
|
|
1444
|
+
if (!z(e))
|
|
1445
1445
|
return null;
|
|
1446
1446
|
let n = cn.get(t);
|
|
1447
1447
|
if (n || (n = yr(t), n && cn.set(t, n)), !n)
|
|
@@ -1459,34 +1459,34 @@ function Lr(e, t) {
|
|
|
1459
1459
|
const Rr = "10.0.5", gt = -1, pt = "en-US", un = "", mn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1460
1460
|
function Cr() {
|
|
1461
1461
|
return {
|
|
1462
|
-
upper: (e, t) => t === "text" && P(e) ? e.toUpperCase() : t === "vnode" &&
|
|
1463
|
-
lower: (e, t) => t === "text" && P(e) ? e.toLowerCase() : t === "vnode" &&
|
|
1464
|
-
capitalize: (e, t) => t === "text" && P(e) ? mn(e) : t === "vnode" &&
|
|
1462
|
+
upper: (e, t) => t === "text" && P(e) ? e.toUpperCase() : t === "vnode" && z(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1463
|
+
lower: (e, t) => t === "text" && P(e) ? e.toLowerCase() : t === "vnode" && z(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
1464
|
+
capitalize: (e, t) => t === "text" && P(e) ? mn(e) : t === "vnode" && z(e) && "__v_isVNode" in e ? mn(e.children) : e
|
|
1465
1465
|
};
|
|
1466
1466
|
}
|
|
1467
|
-
let Mn;
|
|
1468
|
-
function kr(e) {
|
|
1469
|
-
Mn = e;
|
|
1470
|
-
}
|
|
1471
1467
|
let wn;
|
|
1472
1468
|
function Ar(e) {
|
|
1473
1469
|
wn = e;
|
|
1474
1470
|
}
|
|
1475
|
-
let
|
|
1471
|
+
let Dn;
|
|
1476
1472
|
function Sr(e) {
|
|
1473
|
+
Dn = e;
|
|
1474
|
+
}
|
|
1475
|
+
let Pn;
|
|
1476
|
+
function kr(e) {
|
|
1477
1477
|
Pn = e;
|
|
1478
1478
|
}
|
|
1479
1479
|
let Fn = null;
|
|
1480
|
-
const
|
|
1480
|
+
const Mr = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
1481
1481
|
Fn = e;
|
|
1482
|
-
},
|
|
1482
|
+
}, wr = /* @__NO_SIDE_EFFECTS__ */ () => Fn;
|
|
1483
1483
|
let Un = null;
|
|
1484
1484
|
const dn = (e) => {
|
|
1485
1485
|
Un = e;
|
|
1486
|
-
},
|
|
1486
|
+
}, Dr = () => Un;
|
|
1487
1487
|
let fn = 0;
|
|
1488
1488
|
function Pr(e = {}) {
|
|
1489
|
-
const t = re(e.onWarn) ? e.onWarn : Is, n = P(e.version) ? e.version : Rr, s = P(e.locale) || re(e.locale) ? e.locale : pt, l = re(s) ? pt : s, r = ce(e.fallbackLocale) || $(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = $(e.messages) ? e.messages :
|
|
1489
|
+
const t = re(e.onWarn) ? e.onWarn : Is, n = P(e.version) ? e.version : Rr, s = P(e.locale) || re(e.locale) ? e.locale : pt, l = re(s) ? pt : s, r = ce(e.fallbackLocale) || $(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = $(e.messages) ? e.messages : St(l), u = $(e.datetimeFormats) ? e.datetimeFormats : St(l), m = $(e.numberFormats) ? e.numberFormats : St(l), p = de(ee(), e.modifiers, Cr()), T = e.pluralRules || ee(), R = re(e.missing) ? e.missing : null, L = ie(e.missingWarn) || _t(e.missingWarn) ? e.missingWarn : !0, D = ie(e.fallbackWarn) || _t(e.fallbackWarn) ? e.fallbackWarn : !0, j = !!e.fallbackFormat, S = !!e.unresolving, M = re(e.postTranslation) ? e.postTranslation : null, i = $(e.processor) ? e.processor : null, d = ie(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, y = !!e.escapeParameter, _ = re(e.messageCompiler) ? e.messageCompiler : wn, w = re(e.messageResolver) ? e.messageResolver : Dn || Or, k = re(e.localeFallbacker) ? e.localeFallbacker : Pn || br, I = z(e.fallbackContext) ? e.fallbackContext : void 0, X = e, v = z(X.__datetimeFormatters) ? X.__datetimeFormatters : /* @__PURE__ */ new Map(), h = z(X.__numberFormatters) ? X.__numberFormatters : /* @__PURE__ */ new Map(), C = z(X.__meta) ? X.__meta : {};
|
|
1490
1490
|
fn++;
|
|
1491
1491
|
const E = {
|
|
1492
1492
|
version: n,
|
|
@@ -1498,23 +1498,23 @@ function Pr(e = {}) {
|
|
|
1498
1498
|
pluralRules: T,
|
|
1499
1499
|
missing: R,
|
|
1500
1500
|
missingWarn: L,
|
|
1501
|
-
fallbackWarn:
|
|
1501
|
+
fallbackWarn: D,
|
|
1502
1502
|
fallbackFormat: j,
|
|
1503
|
-
unresolving:
|
|
1504
|
-
postTranslation:
|
|
1503
|
+
unresolving: S,
|
|
1504
|
+
postTranslation: M,
|
|
1505
1505
|
processor: i,
|
|
1506
1506
|
warnHtmlMessage: d,
|
|
1507
1507
|
escapeParameter: y,
|
|
1508
1508
|
messageCompiler: _,
|
|
1509
|
-
messageResolver:
|
|
1510
|
-
localeFallbacker:
|
|
1509
|
+
messageResolver: w,
|
|
1510
|
+
localeFallbacker: k,
|
|
1511
1511
|
fallbackContext: I,
|
|
1512
1512
|
onWarn: t,
|
|
1513
1513
|
__meta: C
|
|
1514
1514
|
};
|
|
1515
|
-
return E.datetimeFormats = u, E.numberFormats = m, E.__datetimeFormatters = v, E.__numberFormatters =
|
|
1515
|
+
return E.datetimeFormats = u, E.numberFormats = m, E.__datetimeFormatters = v, E.__numberFormatters = h, __INTLIFY_PROD_DEVTOOLS__ && dr(E, n, C), E;
|
|
1516
1516
|
}
|
|
1517
|
-
const
|
|
1517
|
+
const St = (e) => ({ [e]: ee() });
|
|
1518
1518
|
function $t(e, t, n, s, l) {
|
|
1519
1519
|
const { missing: r, onWarn: c } = e;
|
|
1520
1520
|
if (r !== null) {
|
|
@@ -1542,7 +1542,7 @@ function Ur(e, t) {
|
|
|
1542
1542
|
function _n(e, ...t) {
|
|
1543
1543
|
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: r, localeFallbacker: c } = e, { __datetimeFormatters: u } = e, [m, p, T, R] = Pt(...t), L = ie(T.missingWarn) ? T.missingWarn : e.missingWarn;
|
|
1544
1544
|
ie(T.fallbackWarn) ? T.fallbackWarn : e.fallbackWarn;
|
|
1545
|
-
const
|
|
1545
|
+
const D = !!T.part, j = Jt(e, T), S = c(
|
|
1546
1546
|
e,
|
|
1547
1547
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1548
1548
|
l,
|
|
@@ -1550,16 +1550,16 @@ function _n(e, ...t) {
|
|
|
1550
1550
|
);
|
|
1551
1551
|
if (!P(m) || m === "")
|
|
1552
1552
|
return new Intl.DateTimeFormat(j, R).format(p);
|
|
1553
|
-
let
|
|
1553
|
+
let M = {}, i, d = null;
|
|
1554
1554
|
const y = "datetime format";
|
|
1555
|
-
for (let
|
|
1555
|
+
for (let k = 0; k < S.length && (i = S[k], M = n[i] || {}, d = M[m], !$(d)); k++)
|
|
1556
1556
|
$t(e, m, i, L, y);
|
|
1557
1557
|
if (!$(d) || !P(i))
|
|
1558
1558
|
return s ? gt : m;
|
|
1559
1559
|
let _ = `${i}__${m}`;
|
|
1560
|
-
|
|
1561
|
-
let
|
|
1562
|
-
return
|
|
1560
|
+
ht(R) || (_ = `${_}__${JSON.stringify(R)}`);
|
|
1561
|
+
let w = u.get(_);
|
|
1562
|
+
return w || (w = new Intl.DateTimeFormat(i, de({}, d, R)), u.set(_, w)), D ? w.formatToParts(p) : w.format(p);
|
|
1563
1563
|
}
|
|
1564
1564
|
const Wn = [
|
|
1565
1565
|
"localeMatcher",
|
|
@@ -1589,22 +1589,22 @@ function Pt(...e) {
|
|
|
1589
1589
|
if (P(t)) {
|
|
1590
1590
|
const m = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
1591
1591
|
if (!m)
|
|
1592
|
-
throw
|
|
1592
|
+
throw Ae(Ce.INVALID_ISO_DATE_ARGUMENT);
|
|
1593
1593
|
const p = m[3] ? m[3].trim().startsWith("T") ? `${m[1].trim()}${m[3].trim()}` : `${m[1].trim()}T${m[3].trim()}` : m[1].trim();
|
|
1594
1594
|
u = new Date(p);
|
|
1595
1595
|
try {
|
|
1596
1596
|
u.toISOString();
|
|
1597
1597
|
} catch {
|
|
1598
|
-
throw
|
|
1598
|
+
throw Ae(Ce.INVALID_ISO_DATE_ARGUMENT);
|
|
1599
1599
|
}
|
|
1600
1600
|
} else if (ps(t)) {
|
|
1601
1601
|
if (isNaN(t.getTime()))
|
|
1602
|
-
throw
|
|
1602
|
+
throw Ae(Ce.INVALID_DATE_ARGUMENT);
|
|
1603
1603
|
u = t;
|
|
1604
1604
|
} else if (me(t))
|
|
1605
1605
|
u = t;
|
|
1606
1606
|
else
|
|
1607
|
-
throw
|
|
1607
|
+
throw Ae(Ce.INVALID_ARGUMENT);
|
|
1608
1608
|
return P(n) ? r.key = n : $(n) && Object.keys(n).forEach((m) => {
|
|
1609
1609
|
Wn.includes(m) ? c[m] = n[m] : r[m] = n[m];
|
|
1610
1610
|
}), P(s) ? r.locale = s : $(s) && (c = s), $(l) && (c = l), [r.key || "", u, r, c];
|
|
@@ -1616,10 +1616,10 @@ function pn(e, t, n) {
|
|
|
1616
1616
|
s.__datetimeFormatters.has(r) && s.__datetimeFormatters.delete(r);
|
|
1617
1617
|
}
|
|
1618
1618
|
}
|
|
1619
|
-
function
|
|
1619
|
+
function bn(e, ...t) {
|
|
1620
1620
|
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: r, localeFallbacker: c } = e, { __numberFormatters: u } = e, [m, p, T, R] = Ft(...t), L = ie(T.missingWarn) ? T.missingWarn : e.missingWarn;
|
|
1621
1621
|
ie(T.fallbackWarn) ? T.fallbackWarn : e.fallbackWarn;
|
|
1622
|
-
const
|
|
1622
|
+
const D = !!T.part, j = Jt(e, T), S = c(
|
|
1623
1623
|
e,
|
|
1624
1624
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1625
1625
|
l,
|
|
@@ -1627,16 +1627,16 @@ function hn(e, ...t) {
|
|
|
1627
1627
|
);
|
|
1628
1628
|
if (!P(m) || m === "")
|
|
1629
1629
|
return new Intl.NumberFormat(j, R).format(p);
|
|
1630
|
-
let
|
|
1630
|
+
let M = {}, i, d = null;
|
|
1631
1631
|
const y = "number format";
|
|
1632
|
-
for (let
|
|
1632
|
+
for (let k = 0; k < S.length && (i = S[k], M = n[i] || {}, d = M[m], !$(d)); k++)
|
|
1633
1633
|
$t(e, m, i, L, y);
|
|
1634
1634
|
if (!$(d) || !P(i))
|
|
1635
1635
|
return s ? gt : m;
|
|
1636
1636
|
let _ = `${i}__${m}`;
|
|
1637
|
-
|
|
1638
|
-
let
|
|
1639
|
-
return
|
|
1637
|
+
ht(R) || (_ = `${_}__${JSON.stringify(R)}`);
|
|
1638
|
+
let w = u.get(_);
|
|
1639
|
+
return w || (w = new Intl.NumberFormat(i, de({}, d, R)), u.set(_, w)), D ? w.formatToParts(p) : w.format(p);
|
|
1640
1640
|
}
|
|
1641
1641
|
const jn = [
|
|
1642
1642
|
"localeMatcher",
|
|
@@ -1664,13 +1664,13 @@ function Ft(...e) {
|
|
|
1664
1664
|
const [t, n, s, l] = e, r = ee();
|
|
1665
1665
|
let c = ee();
|
|
1666
1666
|
if (!me(t))
|
|
1667
|
-
throw
|
|
1667
|
+
throw Ae(Ce.INVALID_ARGUMENT);
|
|
1668
1668
|
const u = t;
|
|
1669
1669
|
return P(n) ? r.key = n : $(n) && Object.keys(n).forEach((m) => {
|
|
1670
1670
|
jn.includes(m) ? c[m] = n[m] : r[m] = n[m];
|
|
1671
1671
|
}), P(s) ? r.locale = s : $(s) && (c = s), $(l) && (c = l), [r.key || "", u, r, c];
|
|
1672
1672
|
}
|
|
1673
|
-
function
|
|
1673
|
+
function hn(e, t, n) {
|
|
1674
1674
|
const s = e;
|
|
1675
1675
|
for (const l in n) {
|
|
1676
1676
|
const r = `${t}__${l}`;
|
|
@@ -1689,53 +1689,53 @@ function Yr(e, t) {
|
|
|
1689
1689
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1690
1690
|
}
|
|
1691
1691
|
function Xr(e = {}) {
|
|
1692
|
-
const t = e.locale, n = xr(e), s =
|
|
1692
|
+
const t = e.locale, n = xr(e), s = z(e.pluralRules) && P(t) && re(e.pluralRules[t]) ? e.pluralRules[t] : vn, l = z(e.pluralRules) && P(t) && re(e.pluralRules[t]) ? vn : void 0, r = (i) => i[s(n, i.length, l)], c = e.list || [], u = (i) => c[i], m = e.named || ee();
|
|
1693
1693
|
me(e.pluralIndex) && Yr(n, m);
|
|
1694
1694
|
const p = (i) => m[i];
|
|
1695
1695
|
function T(i, d) {
|
|
1696
|
-
const y = re(e.messages) ? e.messages(i, !!d) :
|
|
1696
|
+
const y = re(e.messages) ? e.messages(i, !!d) : z(e.messages) ? e.messages[i] : !1;
|
|
1697
1697
|
return y || (e.parent ? e.parent.message(i) : jr);
|
|
1698
1698
|
}
|
|
1699
|
-
const R = (i) => e.modifiers ? e.modifiers[i] : Wr, L = $(e.processor) && re(e.processor.normalize) ? e.processor.normalize : Gr,
|
|
1699
|
+
const R = (i) => e.modifiers ? e.modifiers[i] : Wr, L = $(e.processor) && re(e.processor.normalize) ? e.processor.normalize : Gr, D = $(e.processor) && re(e.processor.interpolate) ? e.processor.interpolate : Zr, j = $(e.processor) && P(e.processor.type) ? e.processor.type : Vr, M = {
|
|
1700
1700
|
list: u,
|
|
1701
1701
|
named: p,
|
|
1702
1702
|
plural: r,
|
|
1703
1703
|
linked: (i, ...d) => {
|
|
1704
1704
|
const [y, _] = d;
|
|
1705
|
-
let
|
|
1706
|
-
d.length === 1 ?
|
|
1707
|
-
const I = T(i, !0)(
|
|
1705
|
+
let w = "text", k = "";
|
|
1706
|
+
d.length === 1 ? z(y) ? (k = y.modifier || k, w = y.type || w) : P(y) && (k = y || k) : d.length === 2 && (P(y) && (k = y || k), P(_) && (w = _ || w));
|
|
1707
|
+
const I = T(i, !0)(M), X = (
|
|
1708
1708
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1709
|
-
|
|
1709
|
+
w === "vnode" && ce(I) && k ? I[0] : I
|
|
1710
1710
|
);
|
|
1711
|
-
return
|
|
1711
|
+
return k ? R(k)(X, w) : X;
|
|
1712
1712
|
},
|
|
1713
1713
|
message: T,
|
|
1714
1714
|
type: j,
|
|
1715
|
-
interpolate:
|
|
1715
|
+
interpolate: D,
|
|
1716
1716
|
normalize: L,
|
|
1717
1717
|
values: de(ee(), c, m)
|
|
1718
1718
|
};
|
|
1719
|
-
return
|
|
1719
|
+
return M;
|
|
1720
1720
|
}
|
|
1721
1721
|
const gn = () => "", ge = (e) => re(e);
|
|
1722
1722
|
function In(e, ...t) {
|
|
1723
|
-
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: r, fallbackLocale: c, messages: u } = e, [m, p] = Ut(...t), T = ie(p.missingWarn) ? p.missingWarn : e.missingWarn, R = ie(p.fallbackWarn) ? p.fallbackWarn : e.fallbackWarn, L = ie(p.escapeParameter) ? p.escapeParameter : e.escapeParameter,
|
|
1723
|
+
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: r, fallbackLocale: c, messages: u } = e, [m, p] = Ut(...t), T = ie(p.missingWarn) ? p.missingWarn : e.missingWarn, R = ie(p.fallbackWarn) ? p.fallbackWarn : e.fallbackWarn, L = ie(p.escapeParameter) ? p.escapeParameter : e.escapeParameter, D = !!p.resolvedMessage, j = P(p.default) || ie(p.default) ? ie(p.default) ? r ? m : () => m : p.default : n ? r ? m : () => m : null, S = n || j != null && (P(j) || re(j)), M = Jt(e, p);
|
|
1724
1724
|
L && Br(p);
|
|
1725
|
-
let [i, d, y] =
|
|
1725
|
+
let [i, d, y] = D ? [
|
|
1726
1726
|
m,
|
|
1727
|
-
|
|
1728
|
-
u[
|
|
1729
|
-
] : Vn(e, m,
|
|
1730
|
-
if (!
|
|
1727
|
+
M,
|
|
1728
|
+
u[M] || ee()
|
|
1729
|
+
] : Vn(e, m, M, c, R, T), _ = i, w = m;
|
|
1730
|
+
if (!D && !(P(_) || Xe(_) || ge(_)) && S && (_ = j, w = _), !D && (!(P(_) || Xe(_) || ge(_)) || !P(d)))
|
|
1731
1731
|
return l ? gt : m;
|
|
1732
|
-
let
|
|
1732
|
+
let k = !1;
|
|
1733
1733
|
const I = () => {
|
|
1734
|
-
|
|
1735
|
-
}, X = ge(_) ? _ : Gn(e, m, d, _,
|
|
1736
|
-
if (
|
|
1734
|
+
k = !0;
|
|
1735
|
+
}, X = ge(_) ? _ : Gn(e, m, d, _, w, I);
|
|
1736
|
+
if (k)
|
|
1737
1737
|
return _;
|
|
1738
|
-
const v = $r(e, d, y, p),
|
|
1738
|
+
const v = $r(e, d, y, p), h = Xr(v), C = Hr(e, X, h), E = s ? s(C, m) : C;
|
|
1739
1739
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1740
1740
|
const F = {
|
|
1741
1741
|
timestamp: Date.now(),
|
|
@@ -1744,22 +1744,22 @@ function In(e, ...t) {
|
|
|
1744
1744
|
format: P(_) ? _ : ge(_) ? _.source : "",
|
|
1745
1745
|
message: E
|
|
1746
1746
|
};
|
|
1747
|
-
F.meta = de({}, e.__meta, /* @__PURE__ */
|
|
1747
|
+
F.meta = de({}, e.__meta, /* @__PURE__ */ wr() || {}), fr(F);
|
|
1748
1748
|
}
|
|
1749
1749
|
return E;
|
|
1750
1750
|
}
|
|
1751
1751
|
function Br(e) {
|
|
1752
|
-
ce(e.list) ? e.list = e.list.map((t) => P(t) ? tn(t) : t) :
|
|
1752
|
+
ce(e.list) ? e.list = e.list.map((t) => P(t) ? tn(t) : t) : z(e.named) && Object.keys(e.named).forEach((t) => {
|
|
1753
1753
|
P(e.named[t]) && (e.named[t] = tn(e.named[t]));
|
|
1754
1754
|
});
|
|
1755
1755
|
}
|
|
1756
1756
|
function Vn(e, t, n, s, l, r) {
|
|
1757
1757
|
const { messages: c, onWarn: u, messageResolver: m, localeFallbacker: p } = e, T = p(e, s, n);
|
|
1758
|
-
let R = ee(), L,
|
|
1758
|
+
let R = ee(), L, D = null;
|
|
1759
1759
|
const j = "translate";
|
|
1760
|
-
for (let
|
|
1760
|
+
for (let S = 0; S < T.length && (L = T[S], R = c[L] || ee(), (D = m(R, t)) === null && (D = R[t]), !(P(D) || Xe(D) || ge(D))); S++)
|
|
1761
1761
|
if (!Ur(L, T)) {
|
|
1762
|
-
const
|
|
1762
|
+
const M = $t(
|
|
1763
1763
|
e,
|
|
1764
1764
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1765
1765
|
t,
|
|
@@ -1767,9 +1767,9 @@ function Vn(e, t, n, s, l, r) {
|
|
|
1767
1767
|
r,
|
|
1768
1768
|
j
|
|
1769
1769
|
);
|
|
1770
|
-
|
|
1770
|
+
M !== t && (D = M);
|
|
1771
1771
|
}
|
|
1772
|
-
return [
|
|
1772
|
+
return [D, L, R];
|
|
1773
1773
|
}
|
|
1774
1774
|
function Gn(e, t, n, s, l, r) {
|
|
1775
1775
|
const { messageCompiler: c, warnHtmlMessage: u } = e;
|
|
@@ -1790,9 +1790,9 @@ function Hr(e, t, n) {
|
|
|
1790
1790
|
function Ut(...e) {
|
|
1791
1791
|
const [t, n, s] = e, l = ee();
|
|
1792
1792
|
if (!P(t) && !me(t) && !ge(t) && !Xe(t))
|
|
1793
|
-
throw
|
|
1793
|
+
throw Ae(Ce.INVALID_ARGUMENT);
|
|
1794
1794
|
const r = me(t) ? String(t) : (ge(t), t);
|
|
1795
|
-
return me(n) ? l.plural = n : P(n) ? l.default = n : $(n) && !
|
|
1795
|
+
return me(n) ? l.plural = n : P(n) ? l.default = n : $(n) && !ht(n) ? l.named = n : ce(n) && (l.list = n), me(s) ? l.plural = s : P(s) ? l.default = s : $(s) && de(l, s), [r, l];
|
|
1796
1796
|
}
|
|
1797
1797
|
function Jr(e, t, n, s, l, r) {
|
|
1798
1798
|
return {
|
|
@@ -1810,34 +1810,34 @@ function $r(e, t, n, s) {
|
|
|
1810
1810
|
locale: t,
|
|
1811
1811
|
modifiers: l,
|
|
1812
1812
|
pluralRules: r,
|
|
1813
|
-
messages: (
|
|
1814
|
-
let
|
|
1815
|
-
if (
|
|
1816
|
-
const [, ,
|
|
1813
|
+
messages: (D, j) => {
|
|
1814
|
+
let S = c(n, D);
|
|
1815
|
+
if (S == null && (T || j)) {
|
|
1816
|
+
const [, , M] = Vn(
|
|
1817
1817
|
T || e,
|
|
1818
1818
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1819
|
-
|
|
1819
|
+
D,
|
|
1820
1820
|
t,
|
|
1821
1821
|
u,
|
|
1822
1822
|
m,
|
|
1823
1823
|
p
|
|
1824
1824
|
);
|
|
1825
|
-
|
|
1825
|
+
S = c(M, D);
|
|
1826
1826
|
}
|
|
1827
|
-
if (P(
|
|
1828
|
-
let
|
|
1829
|
-
const d = Gn(e,
|
|
1830
|
-
|
|
1827
|
+
if (P(S) || Xe(S)) {
|
|
1828
|
+
let M = !1;
|
|
1829
|
+
const d = Gn(e, D, t, S, D, () => {
|
|
1830
|
+
M = !0;
|
|
1831
1831
|
});
|
|
1832
|
-
return
|
|
1833
|
-
} else return ge(
|
|
1832
|
+
return M ? gn : d;
|
|
1833
|
+
} else return ge(S) ? S : gn;
|
|
1834
1834
|
}
|
|
1835
1835
|
};
|
|
1836
1836
|
return e.processor && (L.processor = e.processor), s.list && (L.list = s.list), s.named && (L.named = s.named), me(s.plural) && (L.pluralIndex = s.plural), L;
|
|
1837
1837
|
}
|
|
1838
1838
|
Bs();
|
|
1839
|
-
var Kr = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_ea1cd228-019a-494e-b1cb-30a2cc0cd8d3", DOTNET_NOLOGO: "1", USER: "runner", npm_config_always_auth: "", npm_config_user_agent: "pnpm/10.8.0 npm/? node/v24.5.0 linux x64", CI: "true", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_ea1cd228-019a-494e-b1cb-30a2cc0cd8d3", PIPX_HOME: "/opt/pipx", 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", HCA_CLOUD_PROVIDER: "azure", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", 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.6.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", 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: "1806", ACTIONS_ORCHESTRATION_ID: "6a9f58ce-7982-4989-8de9-d8abd467cfae.publish.publish.__default", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260720.247.2", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_ea1cd228-019a-494e-b1cb-30a2cc0cd8d3", SWIFT_PATH: "/usr/share/swift/usr/bin", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:12840", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", 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_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.12/x64", GITHUB_RUN_ID: "30866901728", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "0a637856edc874a6404d5e6a6710e000da525c3a", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.5/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/feat/kdi-4982-approval-code", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L2tkaS00OTgyLWFwcHJvdmFsLWNvZGVcIixcIlBlcm1pc3Npb25cIjozfSx7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6MX1dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjZmOTZmYTg5LWI3YmYtNDg3OC1iYWQzLTg5ODAwNjU2NmI2ZSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3ODU4MjY5MDEsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc4NTgwNDcwMSwiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6IjJlNTk2ZDBiLTkxMWMtNWJiNy1hZWQ4LTQ4ZDYyMDZhMzkwOSIsImpvYl93b3JrZmxvd19yZWYiOiJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW4iLCJqb2Jfd29ya2Zsb3dfc2hhIjoiZTYyMzllNGQyNWY2NDU3ZDkxMWQ1NDEzMDE5MWNjOTE1NDQ4YWJmZCIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc4NTgwNDQwMSwib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJDYXN0YS1tZXJlXCIsXCJhY3Rvcl9pZFwiOlwiODIyOTgwMTdcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiOTE4NjA2NjkwNzVcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcImU2MjM5ZTRkMjVmNjQ1N2Q5MTFkNTQxMzAxOTFjYzkxNTQ0OGFiZmRcIixcInJlZlwiOlwicmVmcy9oZWFkcy9mZWF0L2tkaS00OTgyLWFwcHJvdmFsLWNvZGVcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2VcIixcInJlcG9zaXRvcnlfaWRcIjpcIjExMjQ2NzIyMzVcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMzA4NjY5MDE3MjhcIixcInJ1bl9udW1iZXJcIjpcIjE0NlwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcIjBhNjM3ODU2ZWRjODc0YTY0MDRkNWU2YTY3MTBlMDAwZGE1MjVjM2FcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL2ZlYXQva2RpLTQ5ODItYXBwcm92YWwtY29kZVwiLFwid29ya2Zsb3dfc2hhXCI6XCIwYTYzNzg1NmVkYzg3NGE2NDA0ZDVlNmE2NzEwZTAwMGRhNTI1YzNhXCJ9Iiwib2lkY19zdWIiOiJyZXBvOmZlZWRtZXBvcy9ocm0tc2VydmljZTpyZWY6cmVmcy9oZWFkcy9mZWF0L2tkaS00OTgyLWFwcHJvdmFsLWNvZGUiLCJvcmNoX2lkIjoiNmE5ZjU4Y2UtNzk4Mi00OTg5LThkZTktZDhhYmQ0NjdjZmFlLnB1Ymxpc2gucHVibGlzaC5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiI2YTlmNThjZS03OTgyLTQ5ODktOGRlOS1kOGFiZDQ2N2NmYWUiLCJyZXBvc2l0b3J5X2lkIjoiMTEyNDY3MjIzNSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1NDgzMTUxNSIsInJlcG9zaXRvcnlfdmlzaWJpbGl0eSI6InByaXZhdGUiLCJydW5faWQiOiIzMDg2NjkwMTcyOCIsInJ1bl9udW1iZXIiOiIxNDYiLCJydW5fdHlwZSI6ImZ1bGwiLCJydW5uZXJfaWQiOiIxMDAwMTAzMzk3IiwicnVubmVyX3R5cGUiOiJob3N0ZWQiLCJzY3AiOiJBY3Rpb25zLlJlc3VsdHM6NmE5ZjU4Y2UtNzk4Mi00OTg5LThkZTktZDhhYmQ0NjdjZmFlOjJlNTk2ZDBiLTkxMWMtNWJiNy1hZWQ4LTQ4ZDYyMDZhMzkwOSBBY3Rpb25zLlJ1bm5lcjo2YTlmNThjZS03OTgyLTQ5ODktOGRlOS1kOGFiZDQ2N2NmYWU6MmU1OTZkMGItOTExYy01YmI3LWFlZDgtNDhkNjIwNmEzOTA5IEFjdGlvbnMuVXBsb2FkQXJ0aWZhY3RzOjZhOWY1OGNlLTc5ODItNDk4OS04ZGU5LWQ4YWJkNDY3Y2ZhZToyZTU5NmQwYi05MTFjLTViYjctYWVkOC00OGQ2MjA2YTM5MDkgZ2VuZXJhdGVfaWRfdG9rZW46NmE5ZjU4Y2UtNzk4Mi00OTg5LThkZTktZDhhYmQ0NjdjZmFlOjJlNTk2ZDBiLTkxMWMtNWJiNy1hZWQ4LTQ4ZDYyMDZhMzkwOSBBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInNoYSI6IjBhNjM3ODU2ZWRjODc0YTY0MDRkNWU2YTY3MTBlMDAwZGE1MjVjM2EiLCJ0cnVzdF90aWVyIjoiMSJ9.mRtTex7Uj8LG6bkMf-Ny66jbFvekS-Vfpj2tb_7RB6V7ZXJkENRJrvRKhlG1wdW0lB4sW4_ZB_vf8t28hYb9w_o0Ua-rfza3C0mzaVkdpOSIl96REdSapE58lI648ndOTYfSj1_AggZ39P1gnf0w-52mcLwaAeBrZ8-zONyI9ylqtYmJQZGO1d8TlzlpxjHFoYFt_jZS4b0kZHMKQZzno-KS_-z44FpYqFDmdJMoD3DbA8NrqrjyGASJlBBX4T1QWBsmaz3qsmz9O2U6p9rKVrePEHPeKu_pp9i6alb3gPw6tFvVodD1bQ-73L_66WIjkmDxD4Umz_cn5H3P37TdPg", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/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@10.8.0/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@10.8.0/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_92b62100-c3ae-47de-9803-1575e085284a", INVOCATION_ID: "8688e162a52744fe95082787da078c8a", 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: "146", GITHUB_TRIGGERING_ACTOR: "Casta-mere", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000103397", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/kdi-4982-approval-code", GITHUB_REPOSITORY: "feedmepos/hrm-service", 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", 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@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "2.1.1-dev.3", npm_config_verify_deps_before_run: "false", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", GITHUB_SHA: "0a637856edc874a6404d5e6a6710e000da525c3a", GITHUB_RUN_ATTEMPT: "1", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/feat/kdi-4982-approval-code", GITHUB_ACTOR: "Casta-mere", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_ea1cd228-019a-494e-b1cb-30a2cc0cd8d3", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "82298017", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/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/126//idtoken/6a9f58ce-7982-4989-8de9-d8abd467cfae/2e596d0b-911c-5bb7-aed8-48d6206a3909?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_ea1cd228-019a-494e-b1cb-30a2cc0cd8d3", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_ea1cd228-019a-494e-b1cb-30a2cc0cd8d3", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_ea1cd228-019a-494e-b1cb-30a2cc0cd8d3", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", NODE_ENV: "production" } };
|
|
1840
|
-
const
|
|
1839
|
+
var zr = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_1b8d6250-c893-44f6-a6bb-058db35272aa", DOTNET_NOLOGO: "1", USER: "runner", npm_config_always_auth: "", npm_config_user_agent: "pnpm/10.8.0 npm/? node/v24.5.0 linux x64", CI: "true", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_1b8d6250-c893-44f6-a6bb-058db35272aa", PIPX_HOME: "/opt/pipx", 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", HCA_CLOUD_PROVIDER: "azure", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", 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.6.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", 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: "1717", ACTIONS_ORCHESTRATION_ID: "b7ca9d5e-f422-406d-8065-b73c2d078896.publish.publish.__default", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260720.247.2", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_1b8d6250-c893-44f6-a6bb-058db35272aa", SWIFT_PATH: "/usr/share/swift/usr/bin", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:12013", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", 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_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.12/x64", GITHUB_RUN_ID: "31057178035", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "586e65f331a2285ed0b0af5ddaa4fa57d7fbd7fc", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.5/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/feat/kdi-4982-approval-code", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L2tkaS00OTgyLWFwcHJvdmFsLWNvZGVcIixcIlBlcm1pc3Npb25cIjozfSx7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6MX1dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjZmOTZmYTg5LWI3YmYtNDg3OC1iYWQzLTg5ODAwNjU2NmI2ZSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3ODU5OTU0MzksImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc4NTk3MzIzOSwiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6IjhjMzVmNWU3LWIyZTgtNTkxYS05Y2VmLTk1ZDYxZWM0NzllOSIsImpvYl93b3JrZmxvd19yZWYiOiJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW4iLCJqb2Jfd29ya2Zsb3dfc2hhIjoiNWM1YTA1NDcyMGJlNTU2MWZlNTUyNGQyY2E0NDg2NmQzMTQzMzMwZSIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc4NTk3MjkzOSwib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJDYXN0YS1tZXJlXCIsXCJhY3Rvcl9pZFwiOlwiODIyOTgwMTdcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiOTI0NzcxMTQzMTlcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjVjNWEwNTQ3MjBiZTU1NjFmZTU1MjRkMmNhNDQ4NjZkMzE0MzMzMGVcIixcInJlZlwiOlwicmVmcy9oZWFkcy9mZWF0L2tkaS00OTgyLWFwcHJvdmFsLWNvZGVcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2VcIixcInJlcG9zaXRvcnlfaWRcIjpcIjExMjQ2NzIyMzVcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMzEwNTcxNzgwMzVcIixcInJ1bl9udW1iZXJcIjpcIjE0OFwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcIjU4NmU2NWYzMzFhMjI4NWVkMGIwYWY1ZGRhYTRmYTU3ZDdmYmQ3ZmNcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL2ZlYXQva2RpLTQ5ODItYXBwcm92YWwtY29kZVwiLFwid29ya2Zsb3dfc2hhXCI6XCI1ODZlNjVmMzMxYTIyODVlZDBiMGFmNWRkYWE0ZmE1N2Q3ZmJkN2ZjXCJ9Iiwib2lkY19zdWIiOiJyZXBvOmZlZWRtZXBvcy9ocm0tc2VydmljZTpyZWY6cmVmcy9oZWFkcy9mZWF0L2tkaS00OTgyLWFwcHJvdmFsLWNvZGUiLCJvcmNoX2lkIjoiYjdjYTlkNWUtZjQyMi00MDZkLTgwNjUtYjczYzJkMDc4ODk2LnB1Ymxpc2gucHVibGlzaC5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiJiN2NhOWQ1ZS1mNDIyLTQwNmQtODA2NS1iNzNjMmQwNzg4OTYiLCJyZXBvc2l0b3J5X2lkIjoiMTEyNDY3MjIzNSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1NDgzMTUxNSIsInJlcG9zaXRvcnlfdmlzaWJpbGl0eSI6InByaXZhdGUiLCJydW5faWQiOiIzMTA1NzE3ODAzNSIsInJ1bl9udW1iZXIiOiIxNDgiLCJydW5fdHlwZSI6ImZ1bGwiLCJydW5uZXJfaWQiOiIxMDAwMTA1MzQzIiwicnVubmVyX3R5cGUiOiJob3N0ZWQiLCJzY3AiOiJBY3Rpb25zLlJlc3VsdHM6YjdjYTlkNWUtZjQyMi00MDZkLTgwNjUtYjczYzJkMDc4ODk2OjhjMzVmNWU3LWIyZTgtNTkxYS05Y2VmLTk1ZDYxZWM0NzllOSBBY3Rpb25zLlJ1bm5lcjpiN2NhOWQ1ZS1mNDIyLTQwNmQtODA2NS1iNzNjMmQwNzg4OTY6OGMzNWY1ZTctYjJlOC01OTFhLTljZWYtOTVkNjFlYzQ3OWU5IEFjdGlvbnMuVXBsb2FkQXJ0aWZhY3RzOmI3Y2E5ZDVlLWY0MjItNDA2ZC04MDY1LWI3M2MyZDA3ODg5Njo4YzM1ZjVlNy1iMmU4LTU5MWEtOWNlZi05NWQ2MWVjNDc5ZTkgZ2VuZXJhdGVfaWRfdG9rZW46YjdjYTlkNWUtZjQyMi00MDZkLTgwNjUtYjczYzJkMDc4ODk2OjhjMzVmNWU3LWIyZTgtNTkxYS05Y2VmLTk1ZDYxZWM0NzllOSBBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInNoYSI6IjU4NmU2NWYzMzFhMjI4NWVkMGIwYWY1ZGRhYTRmYTU3ZDdmYmQ3ZmMiLCJ0cnVzdF90aWVyIjoiMSJ9.x2_idssvWlAkVneG5pgFRR0BwUnORvx5u0tUrnZdBhpTW9if6SFYwp0YyLfp1nOzc6AIg4zlN89Tdyvz9taf1e_ArjQrRA_yBhs7NGRdO5_nBPBwLV32MgPmwEMm19ASoUAb6RWqTuPEPwR7xcNEWo8O2nJaMRET9RpqCooAjaznjOaUnkdUGsGibZwZNbwdal1elfSzBjci0Db3rs3HUg_qRygqsqgwUic5AlkpTnuvDIGS98lJLgTl-zeKIBVnnVfAOcYm35x-ODGbCBKmBunuvu2SIdN9lUiWwyRpoEE-go3MjDc5AOZwsXAd-q0b_8fBq_ashLWqqy9OSMX7yw", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/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@10.8.0/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@10.8.0/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_61351449-4f59-454b-a684-0d7a046213ee", INVOCATION_ID: "536f72ebaf33419abcdf8f3bfe2e5bcb", 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: "148", GITHUB_TRIGGERING_ACTOR: "Casta-mere", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000105343", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/kdi-4982-approval-code", GITHUB_REPOSITORY: "feedmepos/hrm-service", 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", 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@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "2.1.1-dev.5", npm_config_verify_deps_before_run: "false", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", GITHUB_SHA: "586e65f331a2285ed0b0af5ddaa4fa57d7fbd7fc", GITHUB_RUN_ATTEMPT: "1", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/feat/kdi-4982-approval-code", GITHUB_ACTOR: "Casta-mere", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_1b8d6250-c893-44f6-a6bb-058db35272aa", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "82298017", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/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/18//idtoken/b7ca9d5e-f422-406d-8065-b73c2d078896/8c35f5e7-b2e8-591a-9cef-95d61ec479e9?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_1b8d6250-c893-44f6-a6bb-058db35272aa", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_1b8d6250-c893-44f6-a6bb-058db35272aa", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_1b8d6250-c893-44f6-a6bb-058db35272aa", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", NODE_ENV: "production" } };
|
|
1840
|
+
const Kr = "10.0.5";
|
|
1841
1841
|
function Qr() {
|
|
1842
1842
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Fe().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Fe().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Fe().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Fe().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
1843
1843
|
}
|
|
@@ -1859,23 +1859,23 @@ function nt(e, ...t) {
|
|
|
1859
1859
|
}
|
|
1860
1860
|
const Wt = /* @__PURE__ */ Ue("__translateVNode"), jt = /* @__PURE__ */ Ue("__datetimeParts"), Vt = /* @__PURE__ */ Ue("__numberParts"), qr = Ue("__setPluralRules"), Zn = /* @__PURE__ */ Ue("__injectWithOption"), Gt = /* @__PURE__ */ Ue("__dispose");
|
|
1861
1861
|
function st(e) {
|
|
1862
|
-
if (!
|
|
1862
|
+
if (!z(e))
|
|
1863
1863
|
return e;
|
|
1864
1864
|
for (const t in e)
|
|
1865
1865
|
if (Ne(e, t))
|
|
1866
1866
|
if (!t.includes("."))
|
|
1867
|
-
|
|
1867
|
+
z(e[t]) && st(e[t]);
|
|
1868
1868
|
else {
|
|
1869
1869
|
const n = t.split("."), s = n.length - 1;
|
|
1870
1870
|
let l = e, r = !1;
|
|
1871
1871
|
for (let c = 0; c < s; c++) {
|
|
1872
|
-
if (n[c] in l || (l[n[c]] = ee()), !
|
|
1872
|
+
if (n[c] in l || (l[n[c]] = ee()), !z(l[n[c]])) {
|
|
1873
1873
|
r = !0;
|
|
1874
1874
|
break;
|
|
1875
1875
|
}
|
|
1876
1876
|
l = l[n[c]];
|
|
1877
1877
|
}
|
|
1878
|
-
r || (l[n[s]] = e[t], delete e[t]),
|
|
1878
|
+
r || (l[n[s]] = e[t], delete e[t]), z(l[n[s]]) && st(l[n[s]]);
|
|
1879
1879
|
}
|
|
1880
1880
|
return e;
|
|
1881
1881
|
}
|
|
@@ -1896,7 +1896,7 @@ function Yn(e) {
|
|
|
1896
1896
|
return e.type;
|
|
1897
1897
|
}
|
|
1898
1898
|
function ea(e, t, n) {
|
|
1899
|
-
let s =
|
|
1899
|
+
let s = z(t.messages) ? t.messages : ee();
|
|
1900
1900
|
"__i18nGlobal" in n && (s = xn(e.locale.value, {
|
|
1901
1901
|
messages: s,
|
|
1902
1902
|
__i18n: n.__i18nGlobal
|
|
@@ -1906,13 +1906,13 @@ function ea(e, t, n) {
|
|
|
1906
1906
|
e.mergeLocaleMessage(r, s[r]);
|
|
1907
1907
|
});
|
|
1908
1908
|
{
|
|
1909
|
-
if (
|
|
1909
|
+
if (z(t.datetimeFormats)) {
|
|
1910
1910
|
const r = Object.keys(t.datetimeFormats);
|
|
1911
1911
|
r.length && r.forEach((c) => {
|
|
1912
1912
|
e.mergeDateTimeFormat(c, t.datetimeFormats[c]);
|
|
1913
1913
|
});
|
|
1914
1914
|
}
|
|
1915
|
-
if (
|
|
1915
|
+
if (z(t.numberFormats)) {
|
|
1916
1916
|
const r = Object.keys(t.numberFormats);
|
|
1917
1917
|
r.length && r.forEach((c) => {
|
|
1918
1918
|
e.mergeNumberFormat(c, t.numberFormats[c]);
|
|
@@ -1934,7 +1934,7 @@ const na = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
|
1934
1934
|
return e && (t = Yn(e)[Nn]) ? { [Nn]: t } : null;
|
|
1935
1935
|
};
|
|
1936
1936
|
function sa(e = {}) {
|
|
1937
|
-
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, r = qt ?
|
|
1937
|
+
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, r = qt ? bt : zn;
|
|
1938
1938
|
let c = ie(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1939
1939
|
const u = r(
|
|
1940
1940
|
// prettier-ignore
|
|
@@ -1943,22 +1943,22 @@ function sa(e = {}) {
|
|
|
1943
1943
|
// prettier-ignore
|
|
1944
1944
|
t && c ? t.fallbackLocale.value : P(e.fallbackLocale) || ce(e.fallbackLocale) || $(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : u.value
|
|
1945
1945
|
), p = r(xn(u.value, e)), T = r($(e.datetimeFormats) ? e.datetimeFormats : { [u.value]: {} }), R = r($(e.numberFormats) ? e.numberFormats : { [u.value]: {} });
|
|
1946
|
-
let L = t ? t.missingWarn : ie(e.missingWarn) || _t(e.missingWarn) ? e.missingWarn : !0,
|
|
1947
|
-
const
|
|
1948
|
-
let
|
|
1946
|
+
let L = t ? t.missingWarn : ie(e.missingWarn) || _t(e.missingWarn) ? e.missingWarn : !0, D = t ? t.fallbackWarn : ie(e.fallbackWarn) || _t(e.fallbackWarn) ? e.fallbackWarn : !0, j = t ? t.fallbackRoot : ie(e.fallbackRoot) ? e.fallbackRoot : !0, S = !!e.fallbackFormat, M = re(e.missing) ? e.missing : null, i = re(e.missing) ? On(e.missing) : null, d = re(e.postTranslation) ? e.postTranslation : null, y = t ? t.warnHtmlMessage : ie(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, _ = !!e.escapeParameter;
|
|
1947
|
+
const w = t ? t.modifiers : $(e.modifiers) ? e.modifiers : {};
|
|
1948
|
+
let k = e.pluralRules || t && t.pluralRules, I;
|
|
1949
1949
|
I = (() => {
|
|
1950
1950
|
s && dn(null);
|
|
1951
1951
|
const f = {
|
|
1952
|
-
version:
|
|
1952
|
+
version: Kr,
|
|
1953
1953
|
locale: u.value,
|
|
1954
1954
|
fallbackLocale: m.value,
|
|
1955
1955
|
messages: p.value,
|
|
1956
|
-
modifiers:
|
|
1957
|
-
pluralRules:
|
|
1956
|
+
modifiers: w,
|
|
1957
|
+
pluralRules: k,
|
|
1958
1958
|
missing: i === null ? void 0 : i,
|
|
1959
1959
|
missingWarn: L,
|
|
1960
|
-
fallbackWarn:
|
|
1961
|
-
fallbackFormat:
|
|
1960
|
+
fallbackWarn: D,
|
|
1961
|
+
fallbackFormat: S,
|
|
1962
1962
|
unresolving: !0,
|
|
1963
1963
|
postTranslation: d === null ? void 0 : d,
|
|
1964
1964
|
warnHtmlMessage: y,
|
|
@@ -1980,7 +1980,7 @@ function sa(e = {}) {
|
|
|
1980
1980
|
R.value
|
|
1981
1981
|
];
|
|
1982
1982
|
}
|
|
1983
|
-
const
|
|
1983
|
+
const h = q({
|
|
1984
1984
|
get: () => u.value,
|
|
1985
1985
|
set: (f) => {
|
|
1986
1986
|
u.value = f, I.locale = u.value;
|
|
@@ -1994,20 +1994,20 @@ function sa(e = {}) {
|
|
|
1994
1994
|
function N() {
|
|
1995
1995
|
return re(d) ? d : null;
|
|
1996
1996
|
}
|
|
1997
|
-
function
|
|
1997
|
+
function A(f) {
|
|
1998
1998
|
d = f, I.postTranslation = f;
|
|
1999
1999
|
}
|
|
2000
2000
|
function g() {
|
|
2001
|
-
return
|
|
2001
|
+
return M;
|
|
2002
2002
|
}
|
|
2003
2003
|
function G(f) {
|
|
2004
|
-
f !== null && (i = On(f)),
|
|
2004
|
+
f !== null && (i = On(f)), M = f, I.missing = i;
|
|
2005
2005
|
}
|
|
2006
2006
|
const V = (f, O, ne, le, Pe, rt) => {
|
|
2007
2007
|
v();
|
|
2008
2008
|
let Ve;
|
|
2009
2009
|
try {
|
|
2010
|
-
|
|
2010
|
+
zr.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (I.fallbackContext = t ? Dr() : void 0), Ve = f(I);
|
|
2011
2011
|
} finally {
|
|
2012
2012
|
__INTLIFY_PROD_DEVTOOLS__, s || (I.fallbackContext = void 0);
|
|
2013
2013
|
}
|
|
@@ -2026,15 +2026,15 @@ function sa(e = {}) {
|
|
|
2026
2026
|
}
|
|
2027
2027
|
function te(...f) {
|
|
2028
2028
|
const [O, ne, le] = f;
|
|
2029
|
-
if (le && !
|
|
2029
|
+
if (le && !z(le))
|
|
2030
2030
|
throw nt(Be.INVALID_ARGUMENT);
|
|
2031
2031
|
return U(O, ne, de({ resolvedMessage: !0 }, le || {}));
|
|
2032
2032
|
}
|
|
2033
2033
|
function B(...f) {
|
|
2034
2034
|
return V((O) => Reflect.apply(_n, null, [O, ...f]), () => Pt(...f), "datetime format", (O) => Reflect.apply(O.d, O, [...f]), () => un, (O) => P(O));
|
|
2035
2035
|
}
|
|
2036
|
-
function
|
|
2037
|
-
return V((O) => Reflect.apply(
|
|
2036
|
+
function he(...f) {
|
|
2037
|
+
return V((O) => Reflect.apply(bn, null, [O, ...f]), () => Ft(...f), "number format", (O) => Reflect.apply(O.n, O, [...f]), () => un, (O) => P(O));
|
|
2038
2038
|
}
|
|
2039
2039
|
function fe(f) {
|
|
2040
2040
|
return f.map((O) => P(O) || me(O) || ie(O) ? En(String(O)) : O);
|
|
@@ -2057,13 +2057,13 @@ function sa(e = {}) {
|
|
|
2057
2057
|
}, () => Ut(...f), "translate", (O) => O[Wt](...f), (O) => [En(O)], (O) => ce(O));
|
|
2058
2058
|
}
|
|
2059
2059
|
function Je(...f) {
|
|
2060
|
-
return V((O) => Reflect.apply(
|
|
2060
|
+
return V((O) => Reflect.apply(bn, null, [O, ...f]), () => Ft(...f), "number format", (O) => O[Vt](...f), Tn, (O) => P(O) || ce(O));
|
|
2061
2061
|
}
|
|
2062
2062
|
function $e(...f) {
|
|
2063
2063
|
return V((O) => Reflect.apply(_n, null, [O, ...f]), () => Pt(...f), "datetime format", (O) => O[jt](...f), Tn, (O) => P(O) || ce(O));
|
|
2064
2064
|
}
|
|
2065
2065
|
function Et(f) {
|
|
2066
|
-
|
|
2066
|
+
k = f, I.pluralRules = k;
|
|
2067
2067
|
}
|
|
2068
2068
|
function Nt(f, O) {
|
|
2069
2069
|
return V(() => {
|
|
@@ -2075,7 +2075,7 @@ function sa(e = {}) {
|
|
|
2075
2075
|
}
|
|
2076
2076
|
function Tt(f) {
|
|
2077
2077
|
let O = null;
|
|
2078
|
-
const ne =
|
|
2078
|
+
const ne = Mn(I, m.value, u.value);
|
|
2079
2079
|
for (let le = 0; le < ne.length; le++) {
|
|
2080
2080
|
const Pe = p.value[ne[le]] || {}, rt = I.messageResolver(Pe, f);
|
|
2081
2081
|
if (rt != null) {
|
|
@@ -2085,7 +2085,7 @@ function sa(e = {}) {
|
|
|
2085
2085
|
}
|
|
2086
2086
|
return O;
|
|
2087
2087
|
}
|
|
2088
|
-
function
|
|
2088
|
+
function ze(f) {
|
|
2089
2089
|
const O = Tt(f);
|
|
2090
2090
|
return O ?? (t ? t.tm(f) || {} : {});
|
|
2091
2091
|
}
|
|
@@ -2101,7 +2101,7 @@ function sa(e = {}) {
|
|
|
2101
2101
|
}
|
|
2102
2102
|
p.value[f] = O, I.messages = p.value;
|
|
2103
2103
|
}
|
|
2104
|
-
function
|
|
2104
|
+
function Ke(f, O) {
|
|
2105
2105
|
p.value[f] = p.value[f] || {};
|
|
2106
2106
|
const ne = { [f]: O };
|
|
2107
2107
|
if (l)
|
|
@@ -2118,23 +2118,23 @@ function sa(e = {}) {
|
|
|
2118
2118
|
function o(f, O) {
|
|
2119
2119
|
T.value[f] = de(T.value[f] || {}, O), I.datetimeFormats = T.value, pn(I, f, O);
|
|
2120
2120
|
}
|
|
2121
|
-
function
|
|
2121
|
+
function b(f) {
|
|
2122
2122
|
return R.value[f] || {};
|
|
2123
2123
|
}
|
|
2124
2124
|
function W(f, O) {
|
|
2125
|
-
R.value[f] = O, I.numberFormats = R.value,
|
|
2125
|
+
R.value[f] = O, I.numberFormats = R.value, hn(I, f, O);
|
|
2126
2126
|
}
|
|
2127
2127
|
function ae(f, O) {
|
|
2128
|
-
R.value[f] = de(R.value[f] || {}, O), I.numberFormats = R.value,
|
|
2128
|
+
R.value[f] = de(R.value[f] || {}, O), I.numberFormats = R.value, hn(I, f, O);
|
|
2129
2129
|
}
|
|
2130
|
-
yn++, t && qt && (
|
|
2130
|
+
yn++, t && qt && (kt(t.locale, (f) => {
|
|
2131
2131
|
c && (u.value = f, I.locale = f, Qe(I, u.value, m.value));
|
|
2132
|
-
}),
|
|
2132
|
+
}), kt(t.fallbackLocale, (f) => {
|
|
2133
2133
|
c && (m.value = f, I.fallbackLocale = f, Qe(I, u.value, m.value));
|
|
2134
2134
|
}));
|
|
2135
2135
|
const Y = {
|
|
2136
2136
|
id: yn,
|
|
2137
|
-
locale:
|
|
2137
|
+
locale: h,
|
|
2138
2138
|
fallbackLocale: C,
|
|
2139
2139
|
get inheritLocale() {
|
|
2140
2140
|
return c;
|
|
@@ -2147,10 +2147,10 @@ function sa(e = {}) {
|
|
|
2147
2147
|
},
|
|
2148
2148
|
messages: E,
|
|
2149
2149
|
get modifiers() {
|
|
2150
|
-
return
|
|
2150
|
+
return w;
|
|
2151
2151
|
},
|
|
2152
2152
|
get pluralRules() {
|
|
2153
|
-
return
|
|
2153
|
+
return k || {};
|
|
2154
2154
|
},
|
|
2155
2155
|
get isGlobal() {
|
|
2156
2156
|
return s;
|
|
@@ -2162,10 +2162,10 @@ function sa(e = {}) {
|
|
|
2162
2162
|
L = f, I.missingWarn = L;
|
|
2163
2163
|
},
|
|
2164
2164
|
get fallbackWarn() {
|
|
2165
|
-
return
|
|
2165
|
+
return D;
|
|
2166
2166
|
},
|
|
2167
2167
|
set fallbackWarn(f) {
|
|
2168
|
-
|
|
2168
|
+
D = f, I.fallbackWarn = D;
|
|
2169
2169
|
},
|
|
2170
2170
|
get fallbackRoot() {
|
|
2171
2171
|
return j;
|
|
@@ -2174,10 +2174,10 @@ function sa(e = {}) {
|
|
|
2174
2174
|
j = f;
|
|
2175
2175
|
},
|
|
2176
2176
|
get fallbackFormat() {
|
|
2177
|
-
return
|
|
2177
|
+
return S;
|
|
2178
2178
|
},
|
|
2179
2179
|
set fallbackFormat(f) {
|
|
2180
|
-
|
|
2180
|
+
S = f, I.fallbackFormat = S;
|
|
2181
2181
|
},
|
|
2182
2182
|
get warnHtmlMessage() {
|
|
2183
2183
|
return y;
|
|
@@ -2194,16 +2194,16 @@ function sa(e = {}) {
|
|
|
2194
2194
|
t: U,
|
|
2195
2195
|
getLocaleMessage: We,
|
|
2196
2196
|
setLocaleMessage: je,
|
|
2197
|
-
mergeLocaleMessage:
|
|
2197
|
+
mergeLocaleMessage: Ke,
|
|
2198
2198
|
getPostTranslationHandler: N,
|
|
2199
|
-
setPostTranslationHandler:
|
|
2199
|
+
setPostTranslationHandler: A,
|
|
2200
2200
|
getMissingHandler: g,
|
|
2201
2201
|
setMissingHandler: G,
|
|
2202
2202
|
[qr]: Et
|
|
2203
2203
|
};
|
|
2204
|
-
return Y.datetimeFormats = F, Y.numberFormats = Z, Y.rt = te, Y.te = Nt, Y.tm =
|
|
2204
|
+
return Y.datetimeFormats = F, Y.numberFormats = Z, Y.rt = te, Y.te = Nt, Y.tm = ze, Y.d = B, Y.n = he, Y.getDateTimeFormat = yt, Y.setDateTimeFormat = a, Y.mergeDateTimeFormat = o, Y.getNumberFormat = b, Y.setNumberFormat = W, Y.mergeNumberFormat = ae, Y[Zn] = n, Y[Wt] = Ie, Y[jt] = $e, Y[Vt] = Je, Y;
|
|
2205
2205
|
}
|
|
2206
|
-
const
|
|
2206
|
+
const zt = {
|
|
2207
2207
|
tag: {
|
|
2208
2208
|
type: [String, Object]
|
|
2209
2209
|
},
|
|
@@ -2243,7 +2243,7 @@ de({
|
|
|
2243
2243
|
type: [Number, String],
|
|
2244
2244
|
validator: (e) => me(e) || !isNaN(e)
|
|
2245
2245
|
}
|
|
2246
|
-
},
|
|
2246
|
+
}, zt);
|
|
2247
2247
|
function aa(e) {
|
|
2248
2248
|
return ce(e) && !P(e[0]);
|
|
2249
2249
|
}
|
|
@@ -2252,15 +2252,15 @@ function Bn(e, t, n, s) {
|
|
|
2252
2252
|
return () => {
|
|
2253
2253
|
const c = { part: !0 };
|
|
2254
2254
|
let u = ee();
|
|
2255
|
-
e.locale && (c.locale = e.locale), P(e.format) ? c.key = e.format :
|
|
2255
|
+
e.locale && (c.locale = e.locale), P(e.format) ? c.key = e.format : z(e.format) && (P(e.format.key) && (c.key = e.format.key), u = Object.keys(e.format).reduce((L, D) => n.includes(D) ? de(ee(), L, { [D]: e.format[D] }) : L, ee()));
|
|
2256
2256
|
const m = s(e.value, c, u);
|
|
2257
2257
|
let p = [c.key];
|
|
2258
|
-
ce(m) ? p = m.map((L,
|
|
2259
|
-
const j = l[L.type],
|
|
2260
|
-
return aa(
|
|
2258
|
+
ce(m) ? p = m.map((L, D) => {
|
|
2259
|
+
const j = l[L.type], S = j ? j({ [L.type]: L.value, index: D, parts: m }) : [L.value];
|
|
2260
|
+
return aa(S) && (S[0].key = `${L.type}-${D}`), S;
|
|
2261
2261
|
}) : P(m) && (p = [m]);
|
|
2262
|
-
const T = de(ee(), r), R = P(e.tag) ||
|
|
2263
|
-
return
|
|
2262
|
+
const T = de(ee(), r), R = P(e.tag) || z(e.tag) ? e.tag : Xn();
|
|
2263
|
+
return Sn(R, T, p);
|
|
2264
2264
|
};
|
|
2265
2265
|
}
|
|
2266
2266
|
de({
|
|
@@ -2271,7 +2271,7 @@ de({
|
|
|
2271
2271
|
format: {
|
|
2272
2272
|
type: [String, Object]
|
|
2273
2273
|
}
|
|
2274
|
-
},
|
|
2274
|
+
}, zt);
|
|
2275
2275
|
de({
|
|
2276
2276
|
value: {
|
|
2277
2277
|
type: [Number, Date],
|
|
@@ -2280,7 +2280,7 @@ de({
|
|
|
2280
2280
|
format: {
|
|
2281
2281
|
type: [String, Object]
|
|
2282
2282
|
}
|
|
2283
|
-
},
|
|
2283
|
+
}, zt);
|
|
2284
2284
|
const la = /* @__PURE__ */ Ue("global-vue-i18n");
|
|
2285
2285
|
function It(e = {}) {
|
|
2286
2286
|
const t = Zt();
|
|
@@ -2310,7 +2310,7 @@ function oa(e) {
|
|
|
2310
2310
|
return t;
|
|
2311
2311
|
}
|
|
2312
2312
|
function ia(e, t) {
|
|
2313
|
-
return
|
|
2313
|
+
return ht(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
|
|
2314
2314
|
}
|
|
2315
2315
|
function ca(e) {
|
|
2316
2316
|
return e.mode === "composition" ? e.global : e.global.__composer;
|
|
@@ -2337,8 +2337,8 @@ function ma(e, t = !1) {
|
|
|
2337
2337
|
return e == null ? null : t && e.vnode.ctx || e.parent;
|
|
2338
2338
|
}
|
|
2339
2339
|
function da(e, t, n) {
|
|
2340
|
-
|
|
2341
|
-
}, t),
|
|
2340
|
+
An(() => {
|
|
2341
|
+
}, t), Kn(() => {
|
|
2342
2342
|
const s = n;
|
|
2343
2343
|
e.__deleteInstance(t);
|
|
2344
2344
|
const l = s[Gt];
|
|
@@ -2346,9 +2346,9 @@ function da(e, t, n) {
|
|
|
2346
2346
|
}, t);
|
|
2347
2347
|
}
|
|
2348
2348
|
Qr();
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2349
|
+
Ar(ur);
|
|
2350
|
+
Sr(Lr);
|
|
2351
|
+
kr(Mn);
|
|
2352
2352
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
2353
2353
|
const e = Fe();
|
|
2354
2354
|
e.__INTLIFY__ = !0, mr(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
@@ -2365,7 +2365,7 @@ const ct = /* @__PURE__ */ Oe({
|
|
|
2365
2365
|
const { t } = It();
|
|
2366
2366
|
return (n, s) => {
|
|
2367
2367
|
const l = qe("FmIcon"), r = qe("FmTooltip");
|
|
2368
|
-
return Q(),
|
|
2368
|
+
return Q(), Me(r, {
|
|
2369
2369
|
variant: "plain",
|
|
2370
2370
|
placement: "right",
|
|
2371
2371
|
"z-index": 50
|
|
@@ -2410,29 +2410,29 @@ const Rn = Object.values(is), fa = {
|
|
|
2410
2410
|
function _a(e, t, n, s) {
|
|
2411
2411
|
const { t: l } = He(), { getFlagValue: r, getFlag: c } = os(), u = q(() => {
|
|
2412
2412
|
var E;
|
|
2413
|
-
const v = /* @__PURE__ */ new Map(),
|
|
2413
|
+
const v = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Map();
|
|
2414
2414
|
for (const F of t.value) {
|
|
2415
2415
|
const Z = F.category;
|
|
2416
2416
|
Z && (n.value.includes(F.subject) || F.showByFeatureFlag && ((E = c(F.showByFeatureFlag)) == null ? void 0 : E.enabled) === !1 && r(F.showByFeatureFlag) === "true" || (v.has(Z) || v.set(Z, []), v.get(Z).push({
|
|
2417
2417
|
label: l(`permissionSet.permissionLabels.${F.subject}`, F.label),
|
|
2418
2418
|
value: F.subject
|
|
2419
|
-
}),
|
|
2419
|
+
}), h.set(F.subject, F)));
|
|
2420
2420
|
}
|
|
2421
2421
|
return [...v.keys()].sort((F, Z) => {
|
|
2422
|
-
const N = Rn.indexOf(F),
|
|
2423
|
-
return N === -1 &&
|
|
2422
|
+
const N = Rn.indexOf(F), A = Rn.indexOf(Z);
|
|
2423
|
+
return N === -1 && A === -1 ? F.localeCompare(Z) : N === -1 ? 1 : A === -1 ? -1 : N - A;
|
|
2424
2424
|
}).map((F) => {
|
|
2425
|
-
const Z = v.get(F), N = l(`permissionSet.categoryLabels.${F}`, F),
|
|
2425
|
+
const Z = v.get(F), N = l(`permissionSet.categoryLabels.${F}`, F), A = /* @__PURE__ */ new Map();
|
|
2426
2426
|
for (const H of Z) {
|
|
2427
|
-
const x =
|
|
2428
|
-
x &&
|
|
2427
|
+
const x = h.get(H.value);
|
|
2428
|
+
x && A.set(H.value, x.actions);
|
|
2429
2429
|
}
|
|
2430
2430
|
const g = Z.some((H) => {
|
|
2431
|
-
const x =
|
|
2431
|
+
const x = A.get(H.value);
|
|
2432
2432
|
return x && x.length > 1;
|
|
2433
2433
|
}), G = g ? [
|
|
2434
2434
|
...new Set(
|
|
2435
|
-
Z.flatMap((H) =>
|
|
2435
|
+
Z.flatMap((H) => A.get(H.value) ?? []).filter((H) => H !== "manage")
|
|
2436
2436
|
)
|
|
2437
2437
|
] : [], V = /* @__PURE__ */ new Map();
|
|
2438
2438
|
for (const H of e.value)
|
|
@@ -2441,8 +2441,8 @@ function _a(e, t, n, s) {
|
|
|
2441
2441
|
(H) => Z.some((x) => x.value === H.subject) && !H.inverted && H.actions.includes("manage")
|
|
2442
2442
|
).map((H) => H.subject) : e.value.filter((H) => Z.some((x) => x.value === H.subject) && !H.inverted).map((H) => H.subject), te = Z.find((H) => {
|
|
2443
2443
|
var x;
|
|
2444
|
-
return (x =
|
|
2445
|
-
}), B = (te == null ? void 0 : te.value) ?? null,
|
|
2444
|
+
return (x = h.get(H.value)) == null ? void 0 : x.isCategoryCover;
|
|
2445
|
+
}), B = (te == null ? void 0 : te.value) ?? null, he = B ? V.get(B) ?? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set(), fe = he.has("manage");
|
|
2446
2446
|
return {
|
|
2447
2447
|
category: F,
|
|
2448
2448
|
label: N,
|
|
@@ -2450,149 +2450,149 @@ function _a(e, t, n, s) {
|
|
|
2450
2450
|
selectedSubjects: U,
|
|
2451
2451
|
isMultiAction: g,
|
|
2452
2452
|
actionColumns: G,
|
|
2453
|
-
permissionActionsMap:
|
|
2453
|
+
permissionActionsMap: A,
|
|
2454
2454
|
selectedActionsMap: V,
|
|
2455
2455
|
coverSubject: B,
|
|
2456
|
-
coverSelectedActions:
|
|
2456
|
+
coverSelectedActions: he,
|
|
2457
2457
|
coverCoversAll: fe
|
|
2458
2458
|
};
|
|
2459
2459
|
});
|
|
2460
2460
|
});
|
|
2461
|
-
function m(v,
|
|
2461
|
+
function m(v, h) {
|
|
2462
2462
|
var E;
|
|
2463
2463
|
const C = ((E = u.value.find((F) => F.category === v)) == null ? void 0 : E.options) ?? [];
|
|
2464
2464
|
s("update:model-value", [
|
|
2465
2465
|
...e.value.filter((F) => !C.some((Z) => Z.value === F.subject)),
|
|
2466
|
-
...t.value.filter((F) =>
|
|
2467
|
-
({ category: F, showByFeatureFlag: Z, isCategoryCover: N, ...
|
|
2466
|
+
...t.value.filter((F) => h.includes(F.subject)).map(
|
|
2467
|
+
({ category: F, showByFeatureFlag: Z, isCategoryCover: N, ...A }) => A
|
|
2468
2468
|
)
|
|
2469
2469
|
]);
|
|
2470
2470
|
}
|
|
2471
2471
|
function p(v) {
|
|
2472
|
-
return v.options.length > 0 && v.options.every((
|
|
2472
|
+
return v.options.length > 0 && v.options.every((h) => v.selectedSubjects.includes(h.value));
|
|
2473
2473
|
}
|
|
2474
2474
|
function T(v) {
|
|
2475
2475
|
if (v.options.length === 0) return !1;
|
|
2476
|
-
const
|
|
2476
|
+
const h = v.options.filter(
|
|
2477
2477
|
(C) => v.selectedSubjects.includes(C.value)
|
|
2478
2478
|
).length;
|
|
2479
|
-
return
|
|
2479
|
+
return h > 0 && h < v.options.length;
|
|
2480
2480
|
}
|
|
2481
2481
|
function R(v) {
|
|
2482
|
-
const
|
|
2482
|
+
const h = e.value.filter(
|
|
2483
2483
|
(C) => !v.options.some((E) => E.value === C.subject)
|
|
2484
2484
|
);
|
|
2485
2485
|
if (p(v))
|
|
2486
|
-
s("update:model-value",
|
|
2486
|
+
s("update:model-value", h);
|
|
2487
2487
|
else {
|
|
2488
2488
|
const C = t.value.filter((E) => v.options.some((F) => F.value === E.subject)).map(
|
|
2489
2489
|
({ category: E, showByFeatureFlag: F, isCategoryCover: Z, ...N }) => N
|
|
2490
2490
|
);
|
|
2491
|
-
s("update:model-value", [...
|
|
2491
|
+
s("update:model-value", [...h, ...C]);
|
|
2492
2492
|
}
|
|
2493
2493
|
}
|
|
2494
|
-
function L(v,
|
|
2495
|
-
const C = v.selectedActionsMap.get(
|
|
2494
|
+
function L(v, h) {
|
|
2495
|
+
const C = v.selectedActionsMap.get(h);
|
|
2496
2496
|
return C ? C.has("manage") : !1;
|
|
2497
2497
|
}
|
|
2498
|
-
function
|
|
2499
|
-
const C = v.permissionActionsMap.get(
|
|
2498
|
+
function D(v, h) {
|
|
2499
|
+
const C = v.permissionActionsMap.get(h);
|
|
2500
2500
|
if (!C) return !1;
|
|
2501
2501
|
const E = C.filter((N) => N !== "manage");
|
|
2502
2502
|
if (E.length === 0) return !1;
|
|
2503
|
-
const F = v.selectedActionsMap.get(
|
|
2503
|
+
const F = v.selectedActionsMap.get(h);
|
|
2504
2504
|
if (!F) return !1;
|
|
2505
2505
|
const Z = E.filter((N) => F.has(N));
|
|
2506
2506
|
return Z.length > 0 && Z.length < E.length;
|
|
2507
2507
|
}
|
|
2508
|
-
function j(v,
|
|
2508
|
+
function j(v, h, C) {
|
|
2509
2509
|
if (C) {
|
|
2510
|
-
const E = t.value.find((G) => G.subject ===
|
|
2510
|
+
const E = t.value.find((G) => G.subject === h);
|
|
2511
2511
|
if (!E) return;
|
|
2512
2512
|
const {
|
|
2513
2513
|
category: F,
|
|
2514
2514
|
showByFeatureFlag: Z,
|
|
2515
2515
|
isCategoryCover: N,
|
|
2516
|
-
...
|
|
2517
|
-
} = E, g = e.value.filter((G) => G.subject !==
|
|
2518
|
-
g.push(
|
|
2516
|
+
...A
|
|
2517
|
+
} = E, g = e.value.filter((G) => G.subject !== h);
|
|
2518
|
+
g.push(A), s("update:model-value", g);
|
|
2519
2519
|
} else
|
|
2520
2520
|
s(
|
|
2521
2521
|
"update:model-value",
|
|
2522
|
-
e.value.filter((E) => E.subject !==
|
|
2522
|
+
e.value.filter((E) => E.subject !== h)
|
|
2523
2523
|
);
|
|
2524
2524
|
}
|
|
2525
|
-
function
|
|
2526
|
-
const C = v.permissionActionsMap.get(
|
|
2525
|
+
function S(v, h) {
|
|
2526
|
+
const C = v.permissionActionsMap.get(h);
|
|
2527
2527
|
return C ? C.some((E) => E !== "manage") : !1;
|
|
2528
2528
|
}
|
|
2529
|
-
function
|
|
2530
|
-
const E = v.selectedActionsMap.get(
|
|
2529
|
+
function M(v, h, C) {
|
|
2530
|
+
const E = v.selectedActionsMap.get(h);
|
|
2531
2531
|
return E ? E.has(C) : !1;
|
|
2532
2532
|
}
|
|
2533
|
-
function i(v,
|
|
2534
|
-
return !v.coverSubject ||
|
|
2533
|
+
function i(v, h) {
|
|
2534
|
+
return !v.coverSubject || h === v.coverSubject ? !1 : v.coverCoversAll;
|
|
2535
2535
|
}
|
|
2536
|
-
function d(v,
|
|
2537
|
-
return !v.coverSubject ||
|
|
2536
|
+
function d(v, h, C) {
|
|
2537
|
+
return !v.coverSubject || h === v.coverSubject ? !1 : v.coverCoversAll ? !0 : v.coverSelectedActions.has(C);
|
|
2538
2538
|
}
|
|
2539
|
-
function y(v,
|
|
2540
|
-
const E = v.permissionActionsMap.get(
|
|
2539
|
+
function y(v, h, C) {
|
|
2540
|
+
const E = v.permissionActionsMap.get(h);
|
|
2541
2541
|
return E ? E.includes(C) : !1;
|
|
2542
2542
|
}
|
|
2543
|
-
function _(v,
|
|
2543
|
+
function _(v, h, C) {
|
|
2544
2544
|
const E = [...e.value], F = E.findIndex((N) => N.subject === v && !N.inverted);
|
|
2545
2545
|
if (C)
|
|
2546
2546
|
if (F >= 0) {
|
|
2547
|
-
const N = { ...E[F] },
|
|
2548
|
-
|
|
2547
|
+
const N = { ...E[F] }, A = new Set(N.actions);
|
|
2548
|
+
A.add(h), N.actions = Array.from(A), E[F] = N;
|
|
2549
2549
|
} else {
|
|
2550
2550
|
const N = t.value.find((U) => U.subject === v);
|
|
2551
2551
|
if (!N) return;
|
|
2552
2552
|
const {
|
|
2553
|
-
category:
|
|
2553
|
+
category: A,
|
|
2554
2554
|
showByFeatureFlag: g,
|
|
2555
2555
|
isCategoryCover: G,
|
|
2556
2556
|
...V
|
|
2557
2557
|
} = N;
|
|
2558
|
-
E.push({ ...V, actions: [
|
|
2558
|
+
E.push({ ...V, actions: [h] });
|
|
2559
2559
|
}
|
|
2560
2560
|
else if (F >= 0) {
|
|
2561
|
-
const N = { ...E[F] },
|
|
2562
|
-
|
|
2561
|
+
const N = { ...E[F] }, A = N.actions.filter((g) => g !== h);
|
|
2562
|
+
A.length === 0 ? E.splice(F, 1) : (N.actions = A, E[F] = N);
|
|
2563
2563
|
}
|
|
2564
2564
|
const Z = t.value.find((N) => N.subject === v);
|
|
2565
2565
|
Z && Ln(E, v, Z.actions), s("update:model-value", E);
|
|
2566
2566
|
}
|
|
2567
|
-
function
|
|
2567
|
+
function w(v, h) {
|
|
2568
2568
|
const C = v.options.filter(
|
|
2569
|
-
(E) => y(v, E.value,
|
|
2569
|
+
(E) => y(v, E.value, h)
|
|
2570
2570
|
);
|
|
2571
2571
|
return C.length === 0 ? !1 : C.every(
|
|
2572
|
-
(E) =>
|
|
2572
|
+
(E) => M(v, E.value, h) || d(v, E.value, h)
|
|
2573
2573
|
);
|
|
2574
2574
|
}
|
|
2575
|
-
function
|
|
2575
|
+
function k(v, h) {
|
|
2576
2576
|
const C = v.options.filter(
|
|
2577
|
-
(F) => y(v, F.value,
|
|
2577
|
+
(F) => y(v, F.value, h)
|
|
2578
2578
|
);
|
|
2579
2579
|
if (C.length === 0) return !1;
|
|
2580
2580
|
const E = C.filter(
|
|
2581
|
-
(F) =>
|
|
2581
|
+
(F) => M(v, F.value, h) || d(v, F.value, h)
|
|
2582
2582
|
).length;
|
|
2583
2583
|
return E > 0 && E < C.length;
|
|
2584
2584
|
}
|
|
2585
|
-
function I(v,
|
|
2585
|
+
function I(v, h, C) {
|
|
2586
2586
|
const E = [...e.value];
|
|
2587
2587
|
for (const F of v.options) {
|
|
2588
|
-
if (!y(v, F.value,
|
|
2588
|
+
if (!y(v, F.value, h)) continue;
|
|
2589
2589
|
const Z = F.value, N = E.findIndex(
|
|
2590
2590
|
(g) => g.subject === Z && !g.inverted
|
|
2591
2591
|
);
|
|
2592
2592
|
if (C)
|
|
2593
2593
|
if (N >= 0) {
|
|
2594
2594
|
const g = { ...E[N] }, G = new Set(g.actions);
|
|
2595
|
-
G.add(
|
|
2595
|
+
G.add(h), g.actions = Array.from(G), E[N] = g;
|
|
2596
2596
|
} else {
|
|
2597
2597
|
const g = t.value.find((B) => B.subject === Z);
|
|
2598
2598
|
if (!g) continue;
|
|
@@ -2602,20 +2602,20 @@ function _a(e, t, n, s) {
|
|
|
2602
2602
|
isCategoryCover: U,
|
|
2603
2603
|
...te
|
|
2604
2604
|
} = g;
|
|
2605
|
-
E.push({ ...te, actions: [
|
|
2605
|
+
E.push({ ...te, actions: [h] });
|
|
2606
2606
|
}
|
|
2607
2607
|
else if (N >= 0) {
|
|
2608
|
-
const g = { ...E[N] }, G = g.actions.filter((V) => V !==
|
|
2608
|
+
const g = { ...E[N] }, G = g.actions.filter((V) => V !== h);
|
|
2609
2609
|
G.length === 0 ? E.splice(N, 1) : (g.actions = G, E[N] = g);
|
|
2610
2610
|
}
|
|
2611
|
-
const
|
|
2612
|
-
|
|
2611
|
+
const A = t.value.find((g) => g.subject === Z);
|
|
2612
|
+
A && Ln(E, Z, A.actions);
|
|
2613
2613
|
}
|
|
2614
2614
|
s("update:model-value", E);
|
|
2615
2615
|
}
|
|
2616
2616
|
function X(v) {
|
|
2617
|
-
const
|
|
2618
|
-
return l(
|
|
2617
|
+
const h = `permissionSet.actionLabels.${v}`, C = fa[v] ?? v.charAt(0).toUpperCase() + v.slice(1);
|
|
2618
|
+
return l(h, C);
|
|
2619
2619
|
}
|
|
2620
2620
|
return {
|
|
2621
2621
|
categoryGroups: u,
|
|
@@ -2624,21 +2624,21 @@ function _a(e, t, n, s) {
|
|
|
2624
2624
|
isAllManageIndeterminate: T,
|
|
2625
2625
|
toggleAllManage: R,
|
|
2626
2626
|
isManageChecked: L,
|
|
2627
|
-
isManageIndeterminate:
|
|
2627
|
+
isManageIndeterminate: D,
|
|
2628
2628
|
toggleManage: j,
|
|
2629
|
-
hasNonManageActions:
|
|
2630
|
-
isActionChecked:
|
|
2629
|
+
hasNonManageActions: S,
|
|
2630
|
+
isActionChecked: M,
|
|
2631
2631
|
isRowFullyCoveredByCover: i,
|
|
2632
2632
|
isActionCoveredByCover: d,
|
|
2633
2633
|
permissionDefinesAction: y,
|
|
2634
2634
|
toggleAction: _,
|
|
2635
|
-
isAllActionChecked:
|
|
2636
|
-
isAllActionIndeterminate:
|
|
2635
|
+
isAllActionChecked: w,
|
|
2636
|
+
isAllActionIndeterminate: k,
|
|
2637
2637
|
toggleAllAction: I,
|
|
2638
2638
|
actionLabel: X
|
|
2639
2639
|
};
|
|
2640
2640
|
}
|
|
2641
|
-
const pa = { class: "flex flex-col gap-16" },
|
|
2641
|
+
const pa = { class: "flex flex-col gap-16" }, ba = { class: "fm-typo-en-title-sm-600" }, ha = { class: "mt-16" }, va = { class: "text-center text-sm font-semibold text-fm-color-typo-primary" }, ga = ["onClick"], Ia = { class: "flex justify-center" }, Ea = { class: "flex items-center min-w-0 gap-8" }, Na = ["title", "onClick"], Ta = { class: "flex justify-center" }, ya = /* @__PURE__ */ Oe({
|
|
2642
2642
|
__name: "BasePermission",
|
|
2643
2643
|
props: {
|
|
2644
2644
|
modelValue: {
|
|
@@ -2660,7 +2660,7 @@ const pa = { class: "flex flex-col gap-16" }, ha = { class: "fm-typo-en-title-sm
|
|
|
2660
2660
|
},
|
|
2661
2661
|
emits: ["update:model-value"],
|
|
2662
2662
|
setup(e, { emit: t }) {
|
|
2663
|
-
const n = e, s = t, { t: l } = He(), r = q(() => [...
|
|
2663
|
+
const n = e, s = t, { t: l } = He(), r = q(() => [...Mt, ...n.additionalPermissions]), {
|
|
2664
2664
|
categoryGroups: c,
|
|
2665
2665
|
isAllManageChecked: u,
|
|
2666
2666
|
isAllManageIndeterminate: m,
|
|
@@ -2668,124 +2668,124 @@ const pa = { class: "flex flex-col gap-16" }, ha = { class: "fm-typo-en-title-sm
|
|
|
2668
2668
|
isManageChecked: T,
|
|
2669
2669
|
isManageIndeterminate: R,
|
|
2670
2670
|
toggleManage: L,
|
|
2671
|
-
isActionChecked:
|
|
2671
|
+
isActionChecked: D,
|
|
2672
2672
|
isRowFullyCoveredByCover: j,
|
|
2673
|
-
isActionCoveredByCover:
|
|
2674
|
-
permissionDefinesAction:
|
|
2673
|
+
isActionCoveredByCover: S,
|
|
2674
|
+
permissionDefinesAction: M,
|
|
2675
2675
|
toggleAction: i,
|
|
2676
2676
|
isAllActionChecked: d,
|
|
2677
2677
|
isAllActionIndeterminate: y,
|
|
2678
2678
|
toggleAllAction: _,
|
|
2679
|
-
actionLabel:
|
|
2679
|
+
actionLabel: w
|
|
2680
2680
|
} = _a(
|
|
2681
|
-
|
|
2681
|
+
Kt(n, "modelValue"),
|
|
2682
2682
|
r,
|
|
2683
|
-
|
|
2683
|
+
Kt(n, "excludedSubjects"),
|
|
2684
2684
|
(I, X) => s("update:model-value", X)
|
|
2685
2685
|
);
|
|
2686
|
-
function
|
|
2686
|
+
function k(I) {
|
|
2687
2687
|
const X = I.selectedSubjects.length;
|
|
2688
2688
|
return X === 0 ? "" : l("team.memberForm.permissions.allowedCount", { count: X });
|
|
2689
2689
|
}
|
|
2690
2690
|
return (I, X) => {
|
|
2691
2691
|
const v = qe("FmCheckbox");
|
|
2692
2692
|
return Q(), oe("div", pa, [
|
|
2693
|
-
(Q(!0), oe(Re, null, ve(J(c), (
|
|
2694
|
-
key:
|
|
2695
|
-
subtitle:
|
|
2693
|
+
(Q(!0), oe(Re, null, ve(J(c), (h) => (Q(), Me(xt, {
|
|
2694
|
+
key: h.category,
|
|
2695
|
+
subtitle: k(h)
|
|
2696
2696
|
}, {
|
|
2697
2697
|
title: pe(() => [
|
|
2698
|
-
se("p",
|
|
2698
|
+
se("p", ba, Ee(h.label), 1)
|
|
2699
2699
|
]),
|
|
2700
2700
|
default: pe(() => [
|
|
2701
|
-
se("div",
|
|
2701
|
+
se("div", ha, [
|
|
2702
2702
|
se("div", {
|
|
2703
2703
|
class: "grid items-center px-12 py-8",
|
|
2704
2704
|
style: xe({
|
|
2705
|
-
gridTemplateColumns: `minmax(0, 1fr) repeat(${
|
|
2705
|
+
gridTemplateColumns: `minmax(0, 1fr) repeat(${h.actionColumns.length + 1}, 80px)`
|
|
2706
2706
|
})
|
|
2707
2707
|
}, [
|
|
2708
2708
|
X[0] || (X[0] = se("div", null, null, -1)),
|
|
2709
2709
|
se("div", va, Ee(J(l)("team.memberForm.permissions.columnManage")), 1),
|
|
2710
|
-
(Q(!0), oe(Re, null, ve(
|
|
2710
|
+
(Q(!0), oe(Re, null, ve(h.actionColumns, (C) => (Q(), oe("div", {
|
|
2711
2711
|
key: `header-${C}`,
|
|
2712
2712
|
class: "text-center text-sm font-semibold text-fm-color-typo-primary"
|
|
2713
|
-
}, Ee(J(
|
|
2713
|
+
}, Ee(J(w)(C)), 1))), 128))
|
|
2714
2714
|
], 4),
|
|
2715
2715
|
se("div", {
|
|
2716
2716
|
class: "grid items-center bg-fm-color-neutral-gray-100 px-12 py-8",
|
|
2717
2717
|
style: xe({
|
|
2718
|
-
gridTemplateColumns: `minmax(0, 1fr) repeat(${
|
|
2718
|
+
gridTemplateColumns: `minmax(0, 1fr) repeat(${h.actionColumns.length + 1}, 80px)`
|
|
2719
2719
|
})
|
|
2720
2720
|
}, [
|
|
2721
2721
|
se("div", {
|
|
2722
2722
|
class: "cursor-pointer font-semibold",
|
|
2723
|
-
onClick: (C) => !e.disable && J(p)(
|
|
2723
|
+
onClick: (C) => !e.disable && J(p)(h)
|
|
2724
2724
|
}, Ee(J(l)("team.labels.all")), 9, ga),
|
|
2725
2725
|
se("div", Ia, [
|
|
2726
2726
|
_e(v, {
|
|
2727
|
-
"model-value": J(u)(
|
|
2728
|
-
indeterminate: J(m)(
|
|
2727
|
+
"model-value": J(u)(h),
|
|
2728
|
+
indeterminate: J(m)(h),
|
|
2729
2729
|
value: !0,
|
|
2730
2730
|
disabled: e.disable,
|
|
2731
2731
|
size: "sm",
|
|
2732
2732
|
dense: "",
|
|
2733
|
-
"onUpdate:modelValue": (C) => J(p)(
|
|
2733
|
+
"onUpdate:modelValue": (C) => J(p)(h)
|
|
2734
2734
|
}, null, 8, ["model-value", "indeterminate", "disabled", "onUpdate:modelValue"])
|
|
2735
2735
|
]),
|
|
2736
|
-
(Q(!0), oe(Re, null, ve(
|
|
2736
|
+
(Q(!0), oe(Re, null, ve(h.actionColumns, (C) => (Q(), oe("div", {
|
|
2737
2737
|
key: `all-${C}`,
|
|
2738
2738
|
class: "flex justify-center"
|
|
2739
2739
|
}, [
|
|
2740
2740
|
_e(v, {
|
|
2741
|
-
"model-value": J(d)(
|
|
2742
|
-
indeterminate: J(y)(
|
|
2741
|
+
"model-value": J(d)(h, C),
|
|
2742
|
+
indeterminate: J(y)(h, C),
|
|
2743
2743
|
value: C,
|
|
2744
2744
|
disabled: e.disable,
|
|
2745
2745
|
size: "sm",
|
|
2746
2746
|
dense: "",
|
|
2747
|
-
"onUpdate:modelValue": (E) => J(_)(
|
|
2747
|
+
"onUpdate:modelValue": (E) => J(_)(h, C, E)
|
|
2748
2748
|
}, null, 8, ["model-value", "indeterminate", "value", "disabled", "onUpdate:modelValue"])
|
|
2749
2749
|
]))), 128))
|
|
2750
2750
|
], 4),
|
|
2751
2751
|
X[1] || (X[1] = se("div", { class: "h-px bg-fm-color-neutral-gray-200" }, null, -1)),
|
|
2752
|
-
(Q(!0), oe(Re, null, ve(
|
|
2752
|
+
(Q(!0), oe(Re, null, ve(h.options, (C) => (Q(), oe("div", {
|
|
2753
2753
|
key: C.value,
|
|
2754
2754
|
class: "grid items-center rounded px-12 py-8 transition-colors hover:bg-fm-color-neutral-gray-100",
|
|
2755
2755
|
style: xe({
|
|
2756
|
-
gridTemplateColumns: `minmax(0, 1fr) repeat(${
|
|
2756
|
+
gridTemplateColumns: `minmax(0, 1fr) repeat(${h.actionColumns.length + 1}, 80px)`
|
|
2757
2757
|
})
|
|
2758
2758
|
}, [
|
|
2759
2759
|
se("div", Ea, [
|
|
2760
2760
|
se("span", {
|
|
2761
2761
|
class: "block truncate cursor-pointer",
|
|
2762
2762
|
title: C.label,
|
|
2763
|
-
onClick: (E) => !e.disable && !J(j)(
|
|
2763
|
+
onClick: (E) => !e.disable && !J(j)(h, C.value) && J(L)(h, C.value, !J(T)(h, C.value))
|
|
2764
2764
|
}, Ee(C.label), 9, Na),
|
|
2765
2765
|
ye(I.$slots, `checkbox-${C.value}-append`, { option: C })
|
|
2766
2766
|
]),
|
|
2767
2767
|
se("div", Ta, [
|
|
2768
2768
|
_e(v, {
|
|
2769
|
-
"model-value": J(T)(
|
|
2769
|
+
"model-value": J(T)(h, C.value) || J(j)(h, C.value),
|
|
2770
2770
|
value: C.value,
|
|
2771
|
-
disabled: e.disable || J(j)(
|
|
2772
|
-
indeterminate: J(R)(
|
|
2771
|
+
disabled: e.disable || J(j)(h, C.value),
|
|
2772
|
+
indeterminate: J(R)(h, C.value),
|
|
2773
2773
|
size: "sm",
|
|
2774
|
-
"onUpdate:modelValue": (E) => J(L)(
|
|
2774
|
+
"onUpdate:modelValue": (E) => J(L)(h, C.value, E)
|
|
2775
2775
|
}, null, 8, ["model-value", "value", "disabled", "indeterminate", "onUpdate:modelValue"])
|
|
2776
2776
|
]),
|
|
2777
|
-
(Q(!0), oe(Re, null, ve(
|
|
2777
|
+
(Q(!0), oe(Re, null, ve(h.actionColumns, (E) => (Q(), oe("div", {
|
|
2778
2778
|
key: `${C.value}-${E}`,
|
|
2779
2779
|
class: "flex justify-center"
|
|
2780
2780
|
}, [
|
|
2781
|
-
J(
|
|
2781
|
+
J(M)(h, C.value, E) ? (Q(), Me(v, {
|
|
2782
2782
|
key: 0,
|
|
2783
|
-
"model-value": J(
|
|
2783
|
+
"model-value": J(D)(h, C.value, E) || J(S)(h, C.value, E),
|
|
2784
2784
|
value: E,
|
|
2785
|
-
disabled: e.disable || J(
|
|
2785
|
+
disabled: e.disable || J(S)(h, C.value, E),
|
|
2786
2786
|
size: "sm",
|
|
2787
2787
|
"onUpdate:modelValue": (F) => J(i)(C.value, E, F)
|
|
2788
|
-
}, null, 8, ["model-value", "value", "disabled", "onUpdate:modelValue"])) :
|
|
2788
|
+
}, null, 8, ["model-value", "value", "disabled", "onUpdate:modelValue"])) : ke("", !0)
|
|
2789
2789
|
]))), 128))
|
|
2790
2790
|
], 4))), 128))
|
|
2791
2791
|
])
|
|
@@ -2801,7 +2801,7 @@ const pa = { class: "flex flex-col gap-16" }, ha = { class: "fm-typo-en-title-sm
|
|
|
2801
2801
|
}, Ra = {
|
|
2802
2802
|
key: 0,
|
|
2803
2803
|
class: "q-mr-xs text-red col"
|
|
2804
|
-
}, Ca = { class: "form-input" },
|
|
2804
|
+
}, Ca = { class: "form-input" }, Aa = /* @__PURE__ */ Oe({
|
|
2805
2805
|
__name: "AppForm",
|
|
2806
2806
|
props: {
|
|
2807
2807
|
title: {
|
|
@@ -2823,11 +2823,11 @@ const pa = { class: "flex flex-col gap-16" }, ha = { class: "fm-typo-en-title-sm
|
|
|
2823
2823
|
ye(n.$slots, "top", {}, () => [
|
|
2824
2824
|
t.title ? (Q(), oe("div", La, [
|
|
2825
2825
|
se("div", null, [
|
|
2826
|
-
t.required ? (Q(), oe("span", Ra, "*")) :
|
|
2826
|
+
t.required ? (Q(), oe("span", Ra, "*")) : ke("", !0),
|
|
2827
2827
|
qn(Ee(t.title), 1)
|
|
2828
2828
|
]),
|
|
2829
2829
|
ye(n.$slots, "title-right")
|
|
2830
|
-
])) :
|
|
2830
|
+
])) : ke("", !0)
|
|
2831
2831
|
]),
|
|
2832
2832
|
se("div", Ca, [
|
|
2833
2833
|
ye(n.$slots, "default")
|
|
@@ -2835,14 +2835,14 @@ const pa = { class: "flex flex-col gap-16" }, ha = { class: "fm-typo-en-title-sm
|
|
|
2835
2835
|
]));
|
|
2836
2836
|
}
|
|
2837
2837
|
});
|
|
2838
|
-
function
|
|
2838
|
+
function Sa(e, t) {
|
|
2839
2839
|
let n = "", s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
2840
2840
|
const l = s.length;
|
|
2841
2841
|
for (let r = 0; r < e; r++)
|
|
2842
2842
|
n += s.charAt(Math.floor(Math.random() * l));
|
|
2843
2843
|
return n;
|
|
2844
2844
|
}
|
|
2845
|
-
const
|
|
2845
|
+
const ka = { class: "col flex items-center" }, Ma = {
|
|
2846
2846
|
key: 1,
|
|
2847
2847
|
class: "q-pa-sm form-error-message text-error"
|
|
2848
2848
|
}, Hn = /* @__PURE__ */ Oe({
|
|
@@ -2903,36 +2903,36 @@ const Sa = { class: "col flex items-center" }, Da = {
|
|
|
2903
2903
|
},
|
|
2904
2904
|
emits: ["update:model-value"],
|
|
2905
2905
|
setup(e, { emit: t }) {
|
|
2906
|
-
const n = e, s = t, { t: l } = He(), r =
|
|
2907
|
-
() => n.modelValue.filter((
|
|
2906
|
+
const n = e, s = t, { t: l } = He(), r = bt(!1), c = es(), u = q(() => n.modelValue.length < n.min ? `Min selection ${n.min}` : n.max !== void 0 && n.modelValue.length > n.max ? `Max selection ${n.max}` : !0), m = `checkbox-${Sa(6)}`, p = q(() => u.value !== !0), T = q(
|
|
2907
|
+
() => n.modelValue.filter((S) => n.options.some((M) => M.value === S))
|
|
2908
2908
|
), R = q(
|
|
2909
2909
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
2910
2910
|
), L = q(() => n.options.length > 0 && n.options.length === T.value.length);
|
|
2911
|
-
function
|
|
2912
|
-
const
|
|
2911
|
+
function D() {
|
|
2912
|
+
const S = n.modelValue.filter((M) => !T.value.includes(M));
|
|
2913
2913
|
if (L.value === !0)
|
|
2914
|
-
s("update:model-value",
|
|
2914
|
+
s("update:model-value", S);
|
|
2915
2915
|
else {
|
|
2916
|
-
const
|
|
2917
|
-
s("update:model-value", [...
|
|
2916
|
+
const M = n.includeDisabledOptionsWhenSelectAll ? n.options.map((i) => i.value) : n.options.filter((i) => !i.disabled).map((i) => i.value);
|
|
2917
|
+
s("update:model-value", [...S, ...M]);
|
|
2918
2918
|
}
|
|
2919
2919
|
}
|
|
2920
|
-
function j(
|
|
2920
|
+
function j(S, M) {
|
|
2921
2921
|
let i = dt(n.modelValue);
|
|
2922
|
-
|
|
2922
|
+
M ? i.every((d) => d !== S) && i.push(S) : i = i.filter((d) => d !== S), s("update:model-value", i);
|
|
2923
2923
|
}
|
|
2924
|
-
return (
|
|
2924
|
+
return (S, M) => {
|
|
2925
2925
|
const i = qe("FmCheckbox");
|
|
2926
|
-
return Q(),
|
|
2926
|
+
return Q(), Me(Aa, {
|
|
2927
2927
|
id: m,
|
|
2928
2928
|
title: e.title,
|
|
2929
2929
|
required: !1
|
|
2930
2930
|
}, {
|
|
2931
2931
|
top: pe(() => [
|
|
2932
|
-
ye(
|
|
2932
|
+
ye(S.$slots, "top")
|
|
2933
2933
|
]),
|
|
2934
2934
|
default: pe(() => [
|
|
2935
|
-
n.showAllToggle ? (Q(),
|
|
2935
|
+
n.showAllToggle ? (Q(), Me(i, {
|
|
2936
2936
|
key: 0,
|
|
2937
2937
|
"model-value": L.value,
|
|
2938
2938
|
disabled: e.disable,
|
|
@@ -2941,8 +2941,8 @@ const Sa = { class: "col flex items-center" }, Da = {
|
|
|
2941
2941
|
size: "sm",
|
|
2942
2942
|
dense: "",
|
|
2943
2943
|
value: R.value,
|
|
2944
|
-
"onUpdate:modelValue":
|
|
2945
|
-
}, null, 8, ["model-value", "disabled", "label", "style", "value"])) :
|
|
2944
|
+
"onUpdate:modelValue": D
|
|
2945
|
+
}, null, 8, ["model-value", "disabled", "label", "style", "value"])) : ke("", !0),
|
|
2946
2946
|
(Q(!0), oe(Re, null, ve(e.options, (d, y) => (Q(), oe("div", {
|
|
2947
2947
|
key: d.value,
|
|
2948
2948
|
style: xe(`margin-bottom: ${y < e.options.length - 1 ? n.gutter : 0}px`),
|
|
@@ -2951,7 +2951,7 @@ const Sa = { class: "col flex items-center" }, Da = {
|
|
|
2951
2951
|
se("div", {
|
|
2952
2952
|
class: at(["row justify-between", e.alignCenter ? "items-center" : "items-start"])
|
|
2953
2953
|
}, [
|
|
2954
|
-
se("div",
|
|
2954
|
+
se("div", ka, [
|
|
2955
2955
|
_e(i, {
|
|
2956
2956
|
"model-value": e.modelValue.includes(d.value),
|
|
2957
2957
|
disabled: e.disable || d.disabled,
|
|
@@ -2960,7 +2960,7 @@ const Sa = { class: "col flex items-center" }, Da = {
|
|
|
2960
2960
|
value: d.label,
|
|
2961
2961
|
"onUpdate:modelValue": (_) => j(d.value, _)
|
|
2962
2962
|
}, null, 8, ["model-value", "disabled", "label", "value", "onUpdate:modelValue"]),
|
|
2963
|
-
ye(
|
|
2963
|
+
ye(S.$slots, `checkbox-${d.key || d.value}-append`, {
|
|
2964
2964
|
option: d,
|
|
2965
2965
|
selected: e.modelValue.includes(d.value)
|
|
2966
2966
|
})
|
|
@@ -2969,32 +2969,32 @@ const Sa = { class: "col flex items-center" }, Da = {
|
|
|
2969
2969
|
key: 0,
|
|
2970
2970
|
class: at([{ "q-checkbox disabled": e.disable || d.disabled }, "col"])
|
|
2971
2971
|
}, [
|
|
2972
|
-
ye(
|
|
2972
|
+
ye(S.$slots, `checkbox-${d.key || d.value}-end`, {
|
|
2973
2973
|
option: d,
|
|
2974
2974
|
value: e.modelValue.includes(d.value),
|
|
2975
2975
|
disable: e.disable || d.disabled
|
|
2976
2976
|
})
|
|
2977
|
-
], 2)) :
|
|
2977
|
+
], 2)) : ke("", !0)
|
|
2978
2978
|
], 2),
|
|
2979
2979
|
J(c)[`checkbox-${d.key || d.value}-bottom`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (Q(), oe("div", {
|
|
2980
2980
|
key: 0,
|
|
2981
2981
|
class: at(["q-mt-sm", { "q-checkbox disabled": e.disable || d.disabled }]),
|
|
2982
2982
|
style: xe(`margin-left: ${e.bottomSlotIndent}`)
|
|
2983
2983
|
}, [
|
|
2984
|
-
ye(
|
|
2984
|
+
ye(S.$slots, `checkbox-${d.key || d.value}-bottom`, {
|
|
2985
2985
|
option: d,
|
|
2986
2986
|
disable: e.disable || d.disabled,
|
|
2987
2987
|
value: e.modelValue.includes(d.value)
|
|
2988
2988
|
})
|
|
2989
|
-
], 6)) :
|
|
2989
|
+
], 6)) : ke("", !0)
|
|
2990
2990
|
], 6))), 128)),
|
|
2991
|
-
r.value && p.value ? (Q(), oe("div",
|
|
2991
|
+
r.value && p.value ? (Q(), oe("div", Ma, Ee(u.value), 1)) : ke("", !0)
|
|
2992
2992
|
]),
|
|
2993
2993
|
_: 3
|
|
2994
2994
|
}, 8, ["title"]);
|
|
2995
2995
|
};
|
|
2996
2996
|
}
|
|
2997
|
-
}),
|
|
2997
|
+
}), wa = { class: "fm-typo-en-title-sm-600" }, ut = "includedFuture", Cn = /* @__PURE__ */ Oe({
|
|
2998
2998
|
__name: "ConditionPermission",
|
|
2999
2999
|
props: {
|
|
3000
3000
|
modelValue: {
|
|
@@ -3034,21 +3034,21 @@ const Sa = { class: "col flex items-center" }, Da = {
|
|
|
3034
3034
|
const R = T.length === r.value.length;
|
|
3035
3035
|
s("update:model-value", R ? null : T.filter((L) => L !== ut));
|
|
3036
3036
|
}
|
|
3037
|
-
const p =
|
|
3037
|
+
const p = bt("");
|
|
3038
3038
|
return (T, R) => {
|
|
3039
3039
|
const L = qe("fm-search");
|
|
3040
|
-
return Q(),
|
|
3040
|
+
return Q(), Me(xt, { subtitle: u.value }, {
|
|
3041
3041
|
title: pe(() => [
|
|
3042
|
-
se("p",
|
|
3042
|
+
se("p", wa, Ee(J(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
3043
3043
|
]),
|
|
3044
3044
|
default: pe(() => [
|
|
3045
|
-
e.options.length > 1 ? (Q(),
|
|
3045
|
+
e.options.length > 1 ? (Q(), Me(L, {
|
|
3046
3046
|
key: 0,
|
|
3047
3047
|
modelValue: p.value,
|
|
3048
|
-
"onUpdate:modelValue": R[0] || (R[0] = (
|
|
3048
|
+
"onUpdate:modelValue": R[0] || (R[0] = (D) => p.value = D),
|
|
3049
3049
|
class: "mt-16",
|
|
3050
3050
|
placeholder: J(l)("team.memberForm.permissions.search", { context: e.context })
|
|
3051
|
-
}, null, 8, ["modelValue", "placeholder"])) :
|
|
3051
|
+
}, null, 8, ["modelValue", "placeholder"])) : ke("", !0),
|
|
3052
3052
|
_e(Hn, {
|
|
3053
3053
|
"model-value": c.value,
|
|
3054
3054
|
options: r.value,
|
|
@@ -3060,10 +3060,10 @@ const Sa = { class: "col flex items-center" }, Da = {
|
|
|
3060
3060
|
class: "mt-16",
|
|
3061
3061
|
"onUpdate:modelValue": m
|
|
3062
3062
|
}, Ze({ _: 2 }, [
|
|
3063
|
-
ve(r.value, (
|
|
3064
|
-
name: `checkbox-${
|
|
3063
|
+
ve(r.value, (D) => ({
|
|
3064
|
+
name: `checkbox-${D.value}-append`,
|
|
3065
3065
|
fn: pe(({ option: j }) => [
|
|
3066
|
-
ye(T.$slots, `checkbox-${
|
|
3066
|
+
ye(T.$slots, `checkbox-${D.value}-append`, { option: j })
|
|
3067
3067
|
])
|
|
3068
3068
|
}))
|
|
3069
3069
|
]), 1032, ["model-value", "options", "disable"])
|
|
@@ -3072,7 +3072,7 @@ const Sa = { class: "col flex items-center" }, Da = {
|
|
|
3072
3072
|
}, 8, ["subtitle"]);
|
|
3073
3073
|
};
|
|
3074
3074
|
}
|
|
3075
|
-
}),
|
|
3075
|
+
}), Da = { class: "fm-typo-en-title-sm-600" }, mt = "includedNewRole", Pa = /* @__PURE__ */ Oe({
|
|
3076
3076
|
__name: "PosRolePermission",
|
|
3077
3077
|
props: {
|
|
3078
3078
|
modelValue: {
|
|
@@ -3116,9 +3116,9 @@ const Sa = { class: "col flex items-center" }, Da = {
|
|
|
3116
3116
|
const T = p.length === r.value.length;
|
|
3117
3117
|
s("update:model-value", T ? null : p.filter((R) => R !== mt));
|
|
3118
3118
|
}
|
|
3119
|
-
return (p, T) => (Q(),
|
|
3119
|
+
return (p, T) => (Q(), Me(xt, { subtitle: u.value }, {
|
|
3120
3120
|
title: pe(() => [
|
|
3121
|
-
se("p",
|
|
3121
|
+
se("p", Da, Ee(J(l)("team.memberForm.permissions.roles")), 1)
|
|
3122
3122
|
]),
|
|
3123
3123
|
default: pe(() => [
|
|
3124
3124
|
_e(Hn, {
|
|
@@ -3165,10 +3165,10 @@ const Sa = { class: "col flex items-center" }, Da = {
|
|
|
3165
3165
|
setup(e, { emit: t }) {
|
|
3166
3166
|
const n = ts(e, "modelValue"), s = e, l = t, { t: r } = He(), { fetchCustomReportPermissions: c, customReportPermissions: u } = ss();
|
|
3167
3167
|
function m(N) {
|
|
3168
|
-
return
|
|
3168
|
+
return Mt.find((A) => A.subject === N) ?? u.value.find((A) => A.subject === N);
|
|
3169
3169
|
}
|
|
3170
3170
|
const p = q(() => {
|
|
3171
|
-
const N = [...
|
|
3171
|
+
const N = [...Mt, ...u.value].filter((g) => !D.includes(g.subject)).map((g) => g.subject);
|
|
3172
3172
|
return rs(
|
|
3173
3173
|
s.inheritPermissions.map((g) => ({
|
|
3174
3174
|
...g,
|
|
@@ -3179,88 +3179,88 @@ const Sa = { class: "col flex items-center" }, Da = {
|
|
|
3179
3179
|
setNames: g.setNames
|
|
3180
3180
|
}));
|
|
3181
3181
|
}), T = q(() => {
|
|
3182
|
-
const N = s.inheritPermissions.map((
|
|
3183
|
-
...
|
|
3184
|
-
permissions:
|
|
3182
|
+
const N = s.inheritPermissions.map((A) => ({
|
|
3183
|
+
...A,
|
|
3184
|
+
permissions: A.permissions.filter(
|
|
3185
3185
|
(g) => g.subject === ue.Subject.Business.inventory_stock
|
|
3186
3186
|
)
|
|
3187
3187
|
}));
|
|
3188
3188
|
return Ot(
|
|
3189
3189
|
N,
|
|
3190
3190
|
"warehouseId",
|
|
3191
|
-
|
|
3191
|
+
S.value.map((A) => A._id)
|
|
3192
3192
|
);
|
|
3193
3193
|
}), R = q(() => {
|
|
3194
|
-
const N = s.inheritPermissions.map((
|
|
3195
|
-
...
|
|
3196
|
-
permissions:
|
|
3194
|
+
const N = s.inheritPermissions.map((A) => ({
|
|
3195
|
+
...A,
|
|
3196
|
+
permissions: A.permissions.filter(
|
|
3197
3197
|
(g) => g.subject === ue.Subject.Restaurant.restaurant
|
|
3198
3198
|
)
|
|
3199
3199
|
}));
|
|
3200
3200
|
return Ot(
|
|
3201
3201
|
N,
|
|
3202
3202
|
"restaurantId",
|
|
3203
|
-
y.value.map((
|
|
3203
|
+
y.value.map((A) => A._id)
|
|
3204
3204
|
);
|
|
3205
3205
|
}), L = q(() => {
|
|
3206
|
-
const N = s.inheritPermissions.map((
|
|
3207
|
-
...
|
|
3208
|
-
permissions:
|
|
3206
|
+
const N = s.inheritPermissions.map((A) => ({
|
|
3207
|
+
...A,
|
|
3208
|
+
permissions: A.permissions.filter((g) => g.subject === ue.Subject.Business.role)
|
|
3209
3209
|
}));
|
|
3210
3210
|
return Ot(
|
|
3211
3211
|
N,
|
|
3212
3212
|
"roleId",
|
|
3213
|
-
_.value.map((
|
|
3213
|
+
_.value.map((A) => A._id)
|
|
3214
3214
|
);
|
|
3215
|
-
}),
|
|
3215
|
+
}), D = [
|
|
3216
3216
|
ue.Subject.Business.restaurant,
|
|
3217
3217
|
ue.Subject.Business.role,
|
|
3218
3218
|
ue.Subject.Restaurant.restaurant,
|
|
3219
3219
|
ue.Subject.Business.inventory_stock
|
|
3220
3220
|
], j = q(() => {
|
|
3221
|
-
var
|
|
3222
|
-
const N = (
|
|
3221
|
+
var A;
|
|
3222
|
+
const N = (A = n.value) == null ? void 0 : A.find(
|
|
3223
3223
|
(g) => g.subject === ue.Subject.Business.inventory_stock
|
|
3224
3224
|
);
|
|
3225
3225
|
return N ? N.conditions ? JSON.parse(N.conditions).warehouseId.$in : null : [];
|
|
3226
|
-
}),
|
|
3226
|
+
}), S = bt([]), M = q(() => S.value.map((N) => ({
|
|
3227
3227
|
label: N.profile.name,
|
|
3228
3228
|
value: N._id
|
|
3229
3229
|
})));
|
|
3230
3230
|
function i(N) {
|
|
3231
|
-
const
|
|
3232
|
-
n.value =
|
|
3231
|
+
const A = d(n.value, N);
|
|
3232
|
+
n.value = A;
|
|
3233
3233
|
}
|
|
3234
|
-
function d(N,
|
|
3234
|
+
function d(N, A) {
|
|
3235
3235
|
let g = dt(
|
|
3236
3236
|
N.filter((G) => G.subject !== ue.Subject.Business.inventory_stock)
|
|
3237
3237
|
);
|
|
3238
|
-
if (!
|
|
3238
|
+
if (!A || A.length > 0) {
|
|
3239
3239
|
const G = {
|
|
3240
3240
|
actions: [ue.Action.manage],
|
|
3241
3241
|
subject: ue.Subject.Business.inventory_stock
|
|
3242
3242
|
};
|
|
3243
|
-
|
|
3243
|
+
A && (G.conditions = JSON.stringify({ warehouseId: { $in: A } })), g.push(G);
|
|
3244
3244
|
}
|
|
3245
3245
|
return g;
|
|
3246
3246
|
}
|
|
3247
|
-
const { restaurants: y } = ns(), _ = ds().roles,
|
|
3247
|
+
const { restaurants: y } = ns(), _ = ds().roles, w = q(() => y.value.map((N) => ({
|
|
3248
3248
|
label: `${N.profile.code ? N.profile.code + "-" : ""}${N.profile.name}`,
|
|
3249
3249
|
value: N._id
|
|
3250
|
-
}))),
|
|
3250
|
+
}))), k = q(() => y.value.reduce((N, A) => (N[A._id] = _.value.filter((g) => g.restaurants.some((G) => G.id === A._id)).map((g) => g._id), N), {})), I = q(() => as(n.value));
|
|
3251
3251
|
function X(N) {
|
|
3252
|
-
const
|
|
3253
|
-
n.value =
|
|
3252
|
+
const A = h(n.value, N);
|
|
3253
|
+
n.value = A;
|
|
3254
3254
|
}
|
|
3255
3255
|
const v = q(() => ls(n.value));
|
|
3256
|
-
function
|
|
3256
|
+
function h(N, A) {
|
|
3257
3257
|
var G;
|
|
3258
3258
|
let g = dt(
|
|
3259
3259
|
N.filter(
|
|
3260
3260
|
(V) => V.subject !== ue.Subject.Business.restaurant && V.subject !== ue.Subject.Restaurant.restaurant
|
|
3261
3261
|
)
|
|
3262
3262
|
);
|
|
3263
|
-
if (!
|
|
3263
|
+
if (!A || A.length > 0) {
|
|
3264
3264
|
const {
|
|
3265
3265
|
category: V,
|
|
3266
3266
|
showByFeatureFlag: U,
|
|
@@ -3271,11 +3271,11 @@ const Sa = { class: "col flex items-center" }, Da = {
|
|
|
3271
3271
|
actions: [ue.Action.manage],
|
|
3272
3272
|
subject: ue.Subject.Restaurant.restaurant
|
|
3273
3273
|
};
|
|
3274
|
-
|
|
3274
|
+
A && (B.conditions = JSON.stringify({ restaurantId: { $in: A } })), g.push(B);
|
|
3275
3275
|
}
|
|
3276
|
-
if (
|
|
3276
|
+
if (A) {
|
|
3277
3277
|
const V = [
|
|
3278
|
-
...new Set(
|
|
3278
|
+
...new Set(A.map((te) => k.value[te]).flatMap((te) => te))
|
|
3279
3279
|
], U = _.value.map((te) => te._id);
|
|
3280
3280
|
V.length !== U.length && (g = E(
|
|
3281
3281
|
g,
|
|
@@ -3285,26 +3285,26 @@ const Sa = { class: "col flex items-center" }, Da = {
|
|
|
3285
3285
|
return g;
|
|
3286
3286
|
}
|
|
3287
3287
|
function C(N) {
|
|
3288
|
-
const
|
|
3289
|
-
n.value =
|
|
3288
|
+
const A = E(n.value, N);
|
|
3289
|
+
n.value = A;
|
|
3290
3290
|
}
|
|
3291
|
-
function E(N,
|
|
3291
|
+
function E(N, A) {
|
|
3292
3292
|
let g = dt(
|
|
3293
3293
|
N.filter((G) => G.subject !== ue.Subject.Business.role)
|
|
3294
3294
|
);
|
|
3295
|
-
if (
|
|
3295
|
+
if (A && A.length > 0) {
|
|
3296
3296
|
const G = {
|
|
3297
3297
|
actions: [ue.Action.manage],
|
|
3298
3298
|
subject: ue.Subject.Business.role,
|
|
3299
|
-
conditions: JSON.stringify({ roleId: { $in:
|
|
3299
|
+
conditions: JSON.stringify({ roleId: { $in: A } })
|
|
3300
3300
|
};
|
|
3301
3301
|
g.push(G);
|
|
3302
3302
|
}
|
|
3303
3303
|
return g;
|
|
3304
3304
|
}
|
|
3305
|
-
|
|
3305
|
+
An(async () => {
|
|
3306
3306
|
await Promise.all([
|
|
3307
|
-
Fa.readWarehouses().then((N) =>
|
|
3307
|
+
Fa.readWarehouses().then((N) => S.value = N),
|
|
3308
3308
|
c()
|
|
3309
3309
|
]);
|
|
3310
3310
|
});
|
|
@@ -3324,7 +3324,7 @@ const Sa = { class: "col flex items-center" }, Da = {
|
|
|
3324
3324
|
return U.length <= 1 || U.filter((B) => !G.includes(B)).length === 0 ? g : { ...g, actions: [...U] };
|
|
3325
3325
|
}));
|
|
3326
3326
|
function Z(N) {
|
|
3327
|
-
const
|
|
3327
|
+
const A = new Set(
|
|
3328
3328
|
F.value.filter((U) => !U.inverted).map((U) => U.subject)
|
|
3329
3329
|
), g = new Set(
|
|
3330
3330
|
N.filter((U) => !U.inverted).map((U) => U.subject)
|
|
@@ -3332,7 +3332,7 @@ const Sa = { class: "col flex items-center" }, Da = {
|
|
|
3332
3332
|
n.value.filter((U) => !U.inverted).map((U) => U.subject)
|
|
3333
3333
|
);
|
|
3334
3334
|
let V = [...n.value];
|
|
3335
|
-
for (const U of
|
|
3335
|
+
for (const U of A)
|
|
3336
3336
|
g.has(U) || (G.has(U) && (V = V.filter((B) => B.subject !== U)), (!G.has(U) || Lt(
|
|
3337
3337
|
V,
|
|
3338
3338
|
Rt
|
|
@@ -3340,26 +3340,26 @@ const Sa = { class: "col flex items-center" }, Da = {
|
|
|
3340
3340
|
(B) => B.subject === U && !B.inverted && B.actions.includes("manage")
|
|
3341
3341
|
)) && !V.some((B) => B.subject === U && B.inverted) && V.push({ subject: U, actions: ["manage"], inverted: !0 }));
|
|
3342
3342
|
for (const U of g)
|
|
3343
|
-
if (!
|
|
3343
|
+
if (!A.has(U)) {
|
|
3344
3344
|
const te = V.some((B) => B.subject === U && B.inverted);
|
|
3345
3345
|
if (V = V.filter((B) => !(B.subject === U && B.inverted)), !te && !G.has(U)) {
|
|
3346
3346
|
const B = N.find(
|
|
3347
3347
|
(fe) => fe.subject === U && !fe.inverted
|
|
3348
|
-
),
|
|
3349
|
-
if (
|
|
3350
|
-
const { category: fe, showByFeatureFlag: H, ...x } =
|
|
3348
|
+
), he = m(U);
|
|
3349
|
+
if (he && B) {
|
|
3350
|
+
const { category: fe, showByFeatureFlag: H, ...x } = he;
|
|
3351
3351
|
V.push({ ...x, actions: B.actions });
|
|
3352
3352
|
}
|
|
3353
3353
|
}
|
|
3354
3354
|
}
|
|
3355
3355
|
for (const U of g) {
|
|
3356
|
-
if (!
|
|
3356
|
+
if (!A.has(U)) continue;
|
|
3357
3357
|
const te = F.value.find(
|
|
3358
3358
|
(x) => x.subject === U && !x.inverted
|
|
3359
3359
|
), B = N.find((x) => x.subject === U && !x.inverted);
|
|
3360
3360
|
if (!te || !B) continue;
|
|
3361
|
-
const
|
|
3362
|
-
if (
|
|
3361
|
+
const he = new Set(te.actions), fe = new Set(B.actions);
|
|
3362
|
+
if (he.size === fe.size && [...he].every((x) => fe.has(x)))
|
|
3363
3363
|
continue;
|
|
3364
3364
|
const H = V.findIndex((x) => x.subject === U && !x.inverted);
|
|
3365
3365
|
if (H >= 0)
|
|
@@ -3374,26 +3374,26 @@ const Sa = { class: "col flex items-center" }, Da = {
|
|
|
3374
3374
|
V.push({ ...$e, actions: Array.from(fe) });
|
|
3375
3375
|
}
|
|
3376
3376
|
}
|
|
3377
|
-
|
|
3377
|
+
he.has("manage") && !fe.has("manage") && Lt(
|
|
3378
3378
|
V,
|
|
3379
3379
|
Rt
|
|
3380
3380
|
).some(
|
|
3381
3381
|
(Ie) => Ie.subject === U && !Ie.inverted && Ie.actions.includes("manage")
|
|
3382
|
-
) && !V.some((Ie) => Ie.subject === U && Ie.inverted) && V.push({ subject: U, actions: ["manage"], inverted: !0 }), !
|
|
3382
|
+
) && !V.some((Ie) => Ie.subject === U && Ie.inverted) && V.push({ subject: U, actions: ["manage"], inverted: !0 }), !he.has("manage") && fe.has("manage") && (V = V.filter((x) => !(x.subject === U && x.inverted)));
|
|
3383
3383
|
}
|
|
3384
3384
|
n.value = V;
|
|
3385
3385
|
}
|
|
3386
|
-
return
|
|
3386
|
+
return kt(
|
|
3387
3387
|
n,
|
|
3388
3388
|
(N) => {
|
|
3389
3389
|
l("permissionChanged", N);
|
|
3390
3390
|
},
|
|
3391
3391
|
{ deep: !0 }
|
|
3392
|
-
), (N,
|
|
3392
|
+
), (N, A) => (Q(), oe("div", Ua, [
|
|
3393
3393
|
se("div", Wa, [
|
|
3394
3394
|
_e(ya, {
|
|
3395
3395
|
"model-value": F.value,
|
|
3396
|
-
"excluded-subjects":
|
|
3396
|
+
"excluded-subjects": D,
|
|
3397
3397
|
"additional-permissions": J(u),
|
|
3398
3398
|
"onUpdate:modelValue": Z
|
|
3399
3399
|
}, Ze({ _: 2 }, [
|
|
@@ -3408,7 +3408,7 @@ const Sa = { class: "col flex items-center" }, Da = {
|
|
|
3408
3408
|
se("div", ja, [
|
|
3409
3409
|
_e(Cn, {
|
|
3410
3410
|
"model-value": j.value,
|
|
3411
|
-
options:
|
|
3411
|
+
options: M.value,
|
|
3412
3412
|
context: J(r)("team.labels.warehouse"),
|
|
3413
3413
|
"onUpdate:modelValue": i
|
|
3414
3414
|
}, Ze({ _: 2 }, [
|
|
@@ -3423,7 +3423,7 @@ const Sa = { class: "col flex items-center" }, Da = {
|
|
|
3423
3423
|
se("div", Va, [
|
|
3424
3424
|
_e(Cn, {
|
|
3425
3425
|
"model-value": I.value,
|
|
3426
|
-
options:
|
|
3426
|
+
options: w.value,
|
|
3427
3427
|
context: J(r)("team.labels.restaurant"),
|
|
3428
3428
|
"onUpdate:modelValue": X
|
|
3429
3429
|
}, Ze({ _: 2 }, [
|