@feedmepos/mf-hrm-portal 2.0.23 → 2.0.24-dev.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AuditLogList-Czy2T2Rx.js +1056 -0
- package/dist/{EmployeeList-DV6b-sUl.js → EmployeeList-DXTIVdNQ.js} +8 -8
- package/dist/{FormItem.vue_vue_type_script_setup_true_lang-D3MOFOUI.js → FormItem.vue_vue_type_script_setup_true_lang-S4Mh4MvG.js} +1 -1
- package/dist/{Main-ikZ4GbMs.js → Main-BBGd8ZTL.js} +6 -6
- package/dist/{Main-brGoD5LT.js → Main-DndCDnpH.js} +6 -6
- package/dist/{Main--_6xW_6T.js → Main-lGjnpbfI.js} +9 -9
- package/dist/{PermissionSetList-Ba_OoTIV.js → PermissionSetList-ENyBOnPF.js} +6 -6
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DE6kAP4K.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-BWBZROlT.js} +464 -464
- package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-Dgiy6--r.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_a439fdd8_lang-CDtl09zY.js} +1 -1
- package/dist/{RoleList-hbFtGRXp.js → RoleList-BX_2VJZ6.js} +7 -7
- package/dist/SelectFilter-C61IZSID.js +269 -0
- package/dist/{TeamMemberList-CLQB9CrO.js → TeamMemberList-D5dwxHbo.js} +57 -57
- package/dist/{TimesheetList-DGLg16vD.js → TimesheetList-B92TB91G.js} +7 -7
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_d7ed31d7_lang-DAq_QztI.js → TimesheetList.vue_vue_type_style_index_0_scoped_d7ed31d7_lang-fZeEZTuq.js} +2 -2
- package/dist/{app-BvSnSbKt.js → app-KE1Um386.js} +27 -46
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-0cwnJZKr.js → dayjs.min-1lGJFcPX.js} +1 -1
- package/dist/{employee-BI_kMMXy.js → employee-BqMV_HCx.js} +3 -3
- package/dist/{iteration-BWe1Eiu-.js → iteration-DlBvbGKr.js} +3 -3
- package/dist/{lodash-D89ipwrs.js → lodash-aPPIHJY6.js} +1 -1
- package/dist/{rule-CwMu9Wr3.js → rule-BxTkC7Lz.js} +25 -25
- package/dist/src/components/form/SelectFilter.vue.d.ts +3 -0
- package/dist/src/views/audit-log/locales/index.d.ts +8 -12
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-BFSRwyzx.js → useAppStore-DT7SMn0u.js} +1 -1
- package/dist/{useLoading-8AI-5_oV.js → useLoading-DogwStiv.js} +1 -1
- package/dist/{useReportPermissions-CwaUFfn0.js → useReportPermissions-CsXjuESs.js} +3 -3
- package/package.json +2 -2
- package/dist/AuditLogList-D5ptt1oj.js +0 -1037
- package/dist/SelectFilter-DUj7GBtT.js +0 -251
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { getCurrentInstance as xt, inject as Jn, ref as gt, shallowRef as Kn, computed as q, watch as St, onMounted as
|
|
1
|
+
import { getCurrentInstance as xt, inject as Jn, ref as gt, shallowRef as Kn, computed as q, watch as St, onMounted as Rn, onUnmounted as zn, defineComponent as ke, h as An, createVNode as _e, Text as Qn, Fragment as Oe, resolveComponent as qe, createBlock as Me, openBlock as Q, withCtx as pe, createElementVNode as se, createElementBlock as oe, toDisplayString as Ie, unref as $, renderList as be, toRef as zt, normalizeStyle as Xe, renderSlot as Te, createCommentVNode as Se, createTextVNode as qn, useSlots as es, normalizeClass as rt, createSlots as xe, 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 Mt, d as ss, w as as, x as kt, k as rs, j as ls, $ as Lt } from "./rule-
|
|
5
|
-
import { _ as
|
|
6
|
-
import { u as os, b as is, d as ue,
|
|
7
|
-
import { d as dt, g as us, b as ms } from "./iteration-
|
|
8
|
-
import { u as ds } from "./useAppStore-
|
|
4
|
+
import { p as Mt, d as ss, w as as, x as kt, k as rs, j as ls, $ as Lt } from "./rule-BxTkC7Lz.js";
|
|
5
|
+
import { _ as Xt } from "./CollapsibleWrapper.vue_vue_type_script_setup_true_lang-BLJlmPVa.js";
|
|
6
|
+
import { u as os, b as is, d as ue, C as cs, h as Ot } from "./app-KE1Um386.js";
|
|
7
|
+
import { d as dt, g as us, b as ms } from "./iteration-DlBvbGKr.js";
|
|
8
|
+
import { u as ds } from "./useAppStore-DT7SMn0u.js";
|
|
9
9
|
/*!
|
|
10
10
|
* shared v10.0.5
|
|
11
11
|
* (c) 2024 kazuya kawaguchi
|
|
12
12
|
* Released under the MIT License.
|
|
13
13
|
*/
|
|
14
|
-
const qt = typeof window < "u",
|
|
14
|
+
const qt = typeof window < "u", Ue = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), fs = (e, t, n) => _s({ l: e, k: t, s: n }), _s = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), me = (e) => typeof e == "number" && isFinite(e), ps = (e) => Zt(e) === "[object Date]", _t = (e) => Zt(e) === "[object RegExp]", ht = (e) => J(e) && Object.keys(e).length === 0, de = Object.assign, gs = Object.create, ee = (e = null) => gs(e);
|
|
15
15
|
let en;
|
|
16
16
|
const Fe = () => en || (en = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : ee());
|
|
17
17
|
function tn(e) {
|
|
18
18
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
19
19
|
}
|
|
20
|
-
const
|
|
20
|
+
const hs = Object.prototype.hasOwnProperty;
|
|
21
21
|
function ye(e, t) {
|
|
22
|
-
return
|
|
22
|
+
return hs.call(e, t);
|
|
23
23
|
}
|
|
24
|
-
const ce = Array.isArray, ae = (e) => typeof e == "function", P = (e) => typeof e == "string", ie = (e) => typeof e == "boolean", K = (e) => e !== null && typeof e == "object",
|
|
25
|
-
function
|
|
24
|
+
const ce = Array.isArray, ae = (e) => typeof e == "function", P = (e) => typeof e == "string", ie = (e) => typeof e == "boolean", K = (e) => e !== null && typeof e == "object", bs = (e) => K(e) && ae(e.then) && ae(e.catch), Sn = Object.prototype.toString, Zt = (e) => Sn.call(e), J = (e) => Zt(e) === "[object Object]", vs = (e) => e == null ? "" : ce(e) || J(e) && e.toString === Sn ? JSON.stringify(e, null, 2) : String(e);
|
|
25
|
+
function Yt(e, t = "") {
|
|
26
26
|
return e.reduce((n, s, l) => l === 0 ? n + s : n + t + s, "");
|
|
27
27
|
}
|
|
28
28
|
function Es(e, t) {
|
|
@@ -64,7 +64,7 @@ const z = {
|
|
|
64
64
|
UNEXPECTED_EMPTY_LINKED_KEY: 13,
|
|
65
65
|
UNEXPECTED_LEXICAL_ANALYSIS: 14
|
|
66
66
|
}, ys = 17;
|
|
67
|
-
function
|
|
67
|
+
function bt(e, t, n = {}) {
|
|
68
68
|
const { domain: s, messages: l, args: a } = n, c = e, u = new SyntaxError(String(c));
|
|
69
69
|
return u.code = e, t && (u.location = t), u.domain = s, u;
|
|
70
70
|
}
|
|
@@ -110,7 +110,7 @@ function Os(e) {
|
|
|
110
110
|
skipToPeek: S
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
|
-
const Ae = void 0,
|
|
113
|
+
const Ae = void 0, Cs = ".", nn = "'", Rs = "tokenizer";
|
|
114
114
|
function As(e, t = {}) {
|
|
115
115
|
const n = t.location !== !1, s = Os(e), l = () => s.index(), a = () => Is(s.line(), s.column(), s.index()), c = a(), u = l(), m = {
|
|
116
116
|
currentType: 13,
|
|
@@ -125,20 +125,20 @@ function As(e, t = {}) {
|
|
|
125
125
|
inLinked: !1,
|
|
126
126
|
text: ""
|
|
127
127
|
}, p = () => m, { onError: N } = t;
|
|
128
|
-
function O(r, o, g, ...
|
|
128
|
+
function O(r, o, g, ...j) {
|
|
129
129
|
const re = p();
|
|
130
130
|
if (o.column += g, o.offset += g, N) {
|
|
131
|
-
const
|
|
132
|
-
domain:
|
|
133
|
-
args:
|
|
131
|
+
const Z = n ? Dt(re.startLoc, o) : null, f = bt(r, Z, {
|
|
132
|
+
domain: Rs,
|
|
133
|
+
args: j
|
|
134
134
|
});
|
|
135
135
|
N(f);
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
function L(r, o, g) {
|
|
139
139
|
r.endLoc = a(), r.currentType = o;
|
|
140
|
-
const
|
|
141
|
-
return n && (
|
|
140
|
+
const j = { type: o };
|
|
141
|
+
return n && (j.loc = Dt(r.startLoc, r.endLoc)), g != null && (j.value = g), j;
|
|
142
142
|
}
|
|
143
143
|
const w = (r) => L(
|
|
144
144
|
r,
|
|
@@ -177,15 +177,15 @@ function As(e, t = {}) {
|
|
|
177
177
|
if (g !== 2)
|
|
178
178
|
return !1;
|
|
179
179
|
A(r);
|
|
180
|
-
const
|
|
181
|
-
return r.resetPeek(),
|
|
180
|
+
const j = i(r.currentPeek());
|
|
181
|
+
return r.resetPeek(), j;
|
|
182
182
|
}
|
|
183
183
|
function _(r, o) {
|
|
184
184
|
const { currentType: g } = o;
|
|
185
185
|
if (g !== 2)
|
|
186
186
|
return !1;
|
|
187
187
|
A(r);
|
|
188
|
-
const
|
|
188
|
+
const j = r.currentPeek() === "-" ? r.peek() : r.currentPeek(), re = d(j);
|
|
189
189
|
return r.resetPeek(), re;
|
|
190
190
|
}
|
|
191
191
|
function D(r, o) {
|
|
@@ -193,54 +193,54 @@ function As(e, t = {}) {
|
|
|
193
193
|
if (g !== 2)
|
|
194
194
|
return !1;
|
|
195
195
|
A(r);
|
|
196
|
-
const
|
|
197
|
-
return r.resetPeek(),
|
|
196
|
+
const j = r.currentPeek() === nn;
|
|
197
|
+
return r.resetPeek(), j;
|
|
198
198
|
}
|
|
199
199
|
function S(r, o) {
|
|
200
200
|
const { currentType: g } = o;
|
|
201
201
|
if (g !== 7)
|
|
202
202
|
return !1;
|
|
203
203
|
A(r);
|
|
204
|
-
const
|
|
205
|
-
return r.resetPeek(),
|
|
204
|
+
const j = r.currentPeek() === ".";
|
|
205
|
+
return r.resetPeek(), j;
|
|
206
206
|
}
|
|
207
207
|
function E(r, o) {
|
|
208
208
|
const { currentType: g } = o;
|
|
209
209
|
if (g !== 8)
|
|
210
210
|
return !1;
|
|
211
211
|
A(r);
|
|
212
|
-
const
|
|
213
|
-
return r.resetPeek(),
|
|
212
|
+
const j = i(r.currentPeek());
|
|
213
|
+
return r.resetPeek(), j;
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function Y(r, o) {
|
|
216
216
|
const { currentType: g } = o;
|
|
217
217
|
if (!(g === 7 || g === 11))
|
|
218
218
|
return !1;
|
|
219
219
|
A(r);
|
|
220
|
-
const
|
|
221
|
-
return r.resetPeek(),
|
|
220
|
+
const j = r.currentPeek() === ":";
|
|
221
|
+
return r.resetPeek(), j;
|
|
222
222
|
}
|
|
223
|
-
function
|
|
223
|
+
function b(r, o) {
|
|
224
224
|
const { currentType: g } = o;
|
|
225
225
|
if (g !== 9)
|
|
226
226
|
return !1;
|
|
227
|
-
const
|
|
228
|
-
const
|
|
229
|
-
return
|
|
230
|
-
}, re =
|
|
227
|
+
const j = () => {
|
|
228
|
+
const Z = r.currentPeek();
|
|
229
|
+
return Z === "{" ? i(r.peek()) : Z === "@" || Z === "|" || Z === ":" || Z === "." || Z === Le || !Z ? !1 : Z === ge ? (r.peek(), j()) : C(r, !1);
|
|
230
|
+
}, re = j();
|
|
231
231
|
return r.resetPeek(), re;
|
|
232
232
|
}
|
|
233
|
-
function
|
|
233
|
+
function h(r) {
|
|
234
234
|
A(r);
|
|
235
235
|
const o = r.currentPeek() === "|";
|
|
236
236
|
return r.resetPeek(), o;
|
|
237
237
|
}
|
|
238
|
-
function
|
|
239
|
-
const g = (re = !1,
|
|
238
|
+
function C(r, o = !0) {
|
|
239
|
+
const g = (re = !1, Z = "") => {
|
|
240
240
|
const f = r.currentPeek();
|
|
241
|
-
return f === "{" || f === "@" || !f ? re : f === "|" ? !(
|
|
242
|
-
},
|
|
243
|
-
return o && r.resetPeek(),
|
|
241
|
+
return f === "{" || f === "@" || !f ? re : f === "|" ? !(Z === Le || Z === ge) : f === Le ? (r.peek(), g(!0, Le)) : f === ge ? (r.peek(), g(!0, ge)) : !0;
|
|
242
|
+
}, j = g();
|
|
243
|
+
return o && r.resetPeek(), j;
|
|
244
244
|
}
|
|
245
245
|
function I(r, o) {
|
|
246
246
|
const g = r.currentChar();
|
|
@@ -266,7 +266,7 @@ function As(e, t = {}) {
|
|
|
266
266
|
o === 36 || // $
|
|
267
267
|
o === 45;
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function R(r) {
|
|
270
270
|
return I(r, y);
|
|
271
271
|
}
|
|
272
272
|
function v(r) {
|
|
@@ -282,7 +282,7 @@ function As(e, t = {}) {
|
|
|
282
282
|
o >= 65 && o <= 70 || // A-F
|
|
283
283
|
o >= 97 && o <= 102;
|
|
284
284
|
}
|
|
285
|
-
function
|
|
285
|
+
function U(r) {
|
|
286
286
|
return I(r, W);
|
|
287
287
|
}
|
|
288
288
|
function te(r) {
|
|
@@ -298,10 +298,10 @@ function As(e, t = {}) {
|
|
|
298
298
|
if (g === "{" || g === "}" || g === "@" || g === "|" || !g)
|
|
299
299
|
break;
|
|
300
300
|
if (g === Le || g === ge)
|
|
301
|
-
if (
|
|
301
|
+
if (C(r))
|
|
302
302
|
o += g, r.next();
|
|
303
303
|
else {
|
|
304
|
-
if (
|
|
304
|
+
if (h(r))
|
|
305
305
|
break;
|
|
306
306
|
o += g, r.next();
|
|
307
307
|
}
|
|
@@ -310,10 +310,10 @@ function As(e, t = {}) {
|
|
|
310
310
|
}
|
|
311
311
|
return o;
|
|
312
312
|
}
|
|
313
|
-
function
|
|
313
|
+
function he(r) {
|
|
314
314
|
M(r);
|
|
315
315
|
let o = "", g = "";
|
|
316
|
-
for (; o =
|
|
316
|
+
for (; o = R(r); )
|
|
317
317
|
g += o;
|
|
318
318
|
return r.currentChar() === Ae && O(z.UNTERMINATED_CLOSING_BRACE, a(), 0), g;
|
|
319
319
|
}
|
|
@@ -325,13 +325,13 @@ function As(e, t = {}) {
|
|
|
325
325
|
function H(r) {
|
|
326
326
|
return r !== nn && r !== ge;
|
|
327
327
|
}
|
|
328
|
-
function
|
|
328
|
+
function X(r) {
|
|
329
329
|
M(r), V(r, "'");
|
|
330
330
|
let o = "", g = "";
|
|
331
331
|
for (; o = I(r, H); )
|
|
332
332
|
o === "\\" ? g += Ee(r) : g += o;
|
|
333
|
-
const
|
|
334
|
-
return
|
|
333
|
+
const j = r.currentChar();
|
|
334
|
+
return j === ge || j === Ae ? (O(z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), j === ge && (r.next(), V(r, "'")), g) : (V(r, "'"), g);
|
|
335
335
|
}
|
|
336
336
|
function Ee(r) {
|
|
337
337
|
const o = r.currentChar();
|
|
@@ -349,16 +349,16 @@ function As(e, t = {}) {
|
|
|
349
349
|
}
|
|
350
350
|
function $e(r, o, g) {
|
|
351
351
|
V(r, o);
|
|
352
|
-
let
|
|
352
|
+
let j = "";
|
|
353
353
|
for (let re = 0; re < g; re++) {
|
|
354
|
-
const
|
|
355
|
-
if (!
|
|
356
|
-
O(z.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${
|
|
354
|
+
const Z = U(r);
|
|
355
|
+
if (!Z) {
|
|
356
|
+
O(z.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${j}${r.currentChar()}`);
|
|
357
357
|
break;
|
|
358
358
|
}
|
|
359
|
-
|
|
359
|
+
j += Z;
|
|
360
360
|
}
|
|
361
|
-
return `\\${o}${
|
|
361
|
+
return `\\${o}${j}`;
|
|
362
362
|
}
|
|
363
363
|
function Je(r) {
|
|
364
364
|
return r !== "{" && r !== "}" && r !== Le && r !== ge;
|
|
@@ -378,8 +378,8 @@ function As(e, t = {}) {
|
|
|
378
378
|
}
|
|
379
379
|
function Nt(r) {
|
|
380
380
|
const o = (g) => {
|
|
381
|
-
const
|
|
382
|
-
return
|
|
381
|
+
const j = r.currentChar();
|
|
382
|
+
return j === "{" || j === "@" || j === "|" || j === "(" || j === ")" || !j || j === Le ? g : (g += j, r.next(), o(g));
|
|
383
383
|
};
|
|
384
384
|
return o("");
|
|
385
385
|
}
|
|
@@ -392,7 +392,7 @@ function As(e, t = {}) {
|
|
|
392
392
|
);
|
|
393
393
|
return M(r), o;
|
|
394
394
|
}
|
|
395
|
-
function
|
|
395
|
+
function je(r, o) {
|
|
396
396
|
let g = null;
|
|
397
397
|
switch (r.currentChar()) {
|
|
398
398
|
case "{":
|
|
@@ -412,18 +412,18 @@ function As(e, t = {}) {
|
|
|
412
412
|
case "@":
|
|
413
413
|
return o.braceNest > 0 && O(z.UNTERMINATED_CLOSING_BRACE, a(), 0), g = Ve(r, o) || w(o), o.braceNest = 0, g;
|
|
414
414
|
default: {
|
|
415
|
-
let re = !0,
|
|
416
|
-
if (
|
|
415
|
+
let re = !0, Z = !0, f = !0;
|
|
416
|
+
if (h(r))
|
|
417
417
|
return o.braceNest > 0 && O(z.UNTERMINATED_CLOSING_BRACE, a(), 0), g = L(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, g;
|
|
418
418
|
if (o.braceNest > 0 && (o.currentType === 4 || o.currentType === 5 || o.currentType === 6))
|
|
419
419
|
return O(z.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0, ze(r, o);
|
|
420
420
|
if (re = T(r, o))
|
|
421
|
-
return g = L(o, 4,
|
|
422
|
-
if (
|
|
421
|
+
return g = L(o, 4, he(r)), M(r), g;
|
|
422
|
+
if (Z = _(r, o))
|
|
423
423
|
return g = L(o, 5, fe(r)), M(r), g;
|
|
424
424
|
if (f = D(r, o))
|
|
425
|
-
return g = L(o, 6,
|
|
426
|
-
if (!re && !
|
|
425
|
+
return g = L(o, 6, X(r)), M(r), g;
|
|
426
|
+
if (!re && !Z && !f)
|
|
427
427
|
return g = L(o, 12, It(r)), O(z.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, g.value), M(r), g;
|
|
428
428
|
break;
|
|
429
429
|
}
|
|
@@ -432,16 +432,16 @@ function As(e, t = {}) {
|
|
|
432
432
|
}
|
|
433
433
|
function Ve(r, o) {
|
|
434
434
|
const { currentType: g } = o;
|
|
435
|
-
let
|
|
435
|
+
let j = null;
|
|
436
436
|
const re = r.currentChar();
|
|
437
437
|
switch ((g === 7 || g === 8 || g === 11 || g === 9) && (re === ge || re === Le) && O(z.INVALID_LINKED_FORMAT, a(), 0), re) {
|
|
438
438
|
case "@":
|
|
439
|
-
return r.next(),
|
|
439
|
+
return r.next(), j = L(
|
|
440
440
|
o,
|
|
441
441
|
7,
|
|
442
442
|
"@"
|
|
443
443
|
/* TokenChars.LinkedAlias */
|
|
444
|
-
), o.inLinked = !0,
|
|
444
|
+
), o.inLinked = !0, j;
|
|
445
445
|
case ".":
|
|
446
446
|
return M(r), r.next(), L(
|
|
447
447
|
o,
|
|
@@ -457,7 +457,7 @@ function As(e, t = {}) {
|
|
|
457
457
|
/* TokenChars.LinkedDelimiter */
|
|
458
458
|
);
|
|
459
459
|
default:
|
|
460
|
-
return
|
|
460
|
+
return h(r) ? (j = L(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, j) : S(r, o) || Y(r, o) ? (M(r), Ve(r, o)) : E(r, o) ? (M(r), L(o, 11, yt(r))) : b(r, o) ? (M(r), re === "{" ? je(r, o) || j : L(o, 10, Nt(r))) : (g === 7 && O(z.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, ze(r, o));
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
463
|
function ze(r, o) {
|
|
@@ -466,12 +466,12 @@ function As(e, t = {}) {
|
|
|
466
466
|
/* TokenTypes.EOF */
|
|
467
467
|
};
|
|
468
468
|
if (o.braceNest > 0)
|
|
469
|
-
return
|
|
469
|
+
return je(r, o) || w(o);
|
|
470
470
|
if (o.inLinked)
|
|
471
471
|
return Ve(r, o) || w(o);
|
|
472
472
|
switch (r.currentChar()) {
|
|
473
473
|
case "{":
|
|
474
|
-
return
|
|
474
|
+
return je(r, o) || w(o);
|
|
475
475
|
case "}":
|
|
476
476
|
return O(z.UNBALANCED_CLOSING_BRACE, a(), 0), r.next(), L(
|
|
477
477
|
o,
|
|
@@ -482,9 +482,9 @@ function As(e, t = {}) {
|
|
|
482
482
|
case "@":
|
|
483
483
|
return Ve(r, o) || w(o);
|
|
484
484
|
default: {
|
|
485
|
-
if (
|
|
485
|
+
if (h(r))
|
|
486
486
|
return g = L(o, 1, Ke(r)), o.braceNest = 0, o.inLinked = !1, g;
|
|
487
|
-
if (
|
|
487
|
+
if (C(r))
|
|
488
488
|
return L(o, 0, B(r));
|
|
489
489
|
break;
|
|
490
490
|
}
|
|
@@ -492,8 +492,8 @@ function As(e, t = {}) {
|
|
|
492
492
|
return g;
|
|
493
493
|
}
|
|
494
494
|
function Tt() {
|
|
495
|
-
const { currentType: r, offset: o, startLoc: g, endLoc:
|
|
496
|
-
return m.lastType = r, m.lastOffset = o, m.lastStartLoc = g, m.lastEndLoc =
|
|
495
|
+
const { currentType: r, offset: o, startLoc: g, endLoc: j } = m;
|
|
496
|
+
return m.lastType = r, m.lastOffset = o, m.lastStartLoc = g, m.lastEndLoc = j, m.offset = l(), m.startLoc = a(), s.currentChar() === Ae ? L(
|
|
497
497
|
m,
|
|
498
498
|
13
|
|
499
499
|
/* TokenTypes.EOF */
|
|
@@ -524,11 +524,11 @@ function ws(e = {}) {
|
|
|
524
524
|
function s(i, d, T, _, ...D) {
|
|
525
525
|
const S = i.currentPosition();
|
|
526
526
|
if (S.offset += _, S.column += _, n) {
|
|
527
|
-
const E = t ? Dt(T, S) : null,
|
|
527
|
+
const E = t ? Dt(T, S) : null, Y = bt(d, E, {
|
|
528
528
|
domain: Ss,
|
|
529
529
|
args: D
|
|
530
530
|
});
|
|
531
|
-
n(
|
|
531
|
+
n(Y);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
534
|
function l(i, d, T) {
|
|
@@ -605,29 +605,29 @@ function ws(e = {}) {
|
|
|
605
605
|
D.items = [];
|
|
606
606
|
let S = null;
|
|
607
607
|
do {
|
|
608
|
-
const
|
|
609
|
-
switch (S = null,
|
|
608
|
+
const b = S || i.nextToken();
|
|
609
|
+
switch (S = null, b.type) {
|
|
610
610
|
case 0:
|
|
611
|
-
|
|
611
|
+
b.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(b)), D.items.push(c(i, b.value || ""));
|
|
612
612
|
break;
|
|
613
613
|
case 5:
|
|
614
|
-
|
|
614
|
+
b.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(b)), D.items.push(u(i, b.value || ""));
|
|
615
615
|
break;
|
|
616
616
|
case 4:
|
|
617
|
-
|
|
617
|
+
b.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(b)), D.items.push(m(i, b.value || ""));
|
|
618
618
|
break;
|
|
619
619
|
case 6:
|
|
620
|
-
|
|
620
|
+
b.value == null && s(i, z.UNEXPECTED_LEXICAL_ANALYSIS, d.lastStartLoc, 0, Ne(b)), D.items.push(p(i, b.value || ""));
|
|
621
621
|
break;
|
|
622
622
|
case 7: {
|
|
623
|
-
const
|
|
624
|
-
D.items.push(
|
|
623
|
+
const h = L(i);
|
|
624
|
+
D.items.push(h.node), S = h.nextConsumeToken || null;
|
|
625
625
|
break;
|
|
626
626
|
}
|
|
627
627
|
}
|
|
628
628
|
} while (d.currentType !== 13 && d.currentType !== 1);
|
|
629
|
-
const E = d.currentType === 1 ? d.lastOffset : i.currentOffset(),
|
|
630
|
-
return a(D, E,
|
|
629
|
+
const E = d.currentType === 1 ? d.lastOffset : i.currentOffset(), Y = d.currentType === 1 ? d.lastEndLoc : i.currentPosition();
|
|
630
|
+
return a(D, E, Y), D;
|
|
631
631
|
}
|
|
632
632
|
function V(i, d, T, _) {
|
|
633
633
|
const D = i.context();
|
|
@@ -635,8 +635,8 @@ function ws(e = {}) {
|
|
|
635
635
|
const E = l(1, d, T);
|
|
636
636
|
E.cases = [], E.cases.push(_);
|
|
637
637
|
do {
|
|
638
|
-
const
|
|
639
|
-
S || (S =
|
|
638
|
+
const Y = w(i);
|
|
639
|
+
S || (S = Y.items.length === 0), E.cases.push(Y);
|
|
640
640
|
} while (D.currentType !== 13);
|
|
641
641
|
return S && s(i, z.MUST_HAVE_MESSAGES_IN_PLURAL, T, 0), a(E, i.currentOffset(), i.currentPosition()), E;
|
|
642
642
|
}
|
|
@@ -717,7 +717,7 @@ function Fs(e, t = {}) {
|
|
|
717
717
|
const s = n.context();
|
|
718
718
|
e.helpers = Array.from(s.helpers);
|
|
719
719
|
}
|
|
720
|
-
function
|
|
720
|
+
function Us(e) {
|
|
721
721
|
const t = e.body;
|
|
722
722
|
return t.type === 2 ? an(t) : t.cases.forEach((n) => an(n)), e;
|
|
723
723
|
}
|
|
@@ -734,7 +734,7 @@ function an(e) {
|
|
|
734
734
|
t.push(s.value);
|
|
735
735
|
}
|
|
736
736
|
if (t.length === e.items.length) {
|
|
737
|
-
e.static =
|
|
737
|
+
e.static = Yt(t);
|
|
738
738
|
for (let n = 0; n < e.items.length; n++) {
|
|
739
739
|
const s = e.items[n];
|
|
740
740
|
(s.type === 3 || s.type === 9) && delete s.value;
|
|
@@ -789,7 +789,7 @@ function Ge(e) {
|
|
|
789
789
|
}
|
|
790
790
|
delete e.type;
|
|
791
791
|
}
|
|
792
|
-
function
|
|
792
|
+
function js(e, t) {
|
|
793
793
|
const { filename: n, breakLineCode: s, needIndent: l } = t, a = t.location !== !1, c = {
|
|
794
794
|
filename: n,
|
|
795
795
|
code: "",
|
|
@@ -836,7 +836,7 @@ function Vs(e, t) {
|
|
|
836
836
|
e.push(`${n(
|
|
837
837
|
"linked"
|
|
838
838
|
/* HelperNameMap.LINKED */
|
|
839
|
-
)}(`),
|
|
839
|
+
)}(`), Ze(e, t.key), t.modifier ? (e.push(", "), Ze(e, t.modifier), e.push(", _type")) : e.push(", undefined, _type"), e.push(")");
|
|
840
840
|
}
|
|
841
841
|
function Ws(e, t) {
|
|
842
842
|
const { helper: n, needIndent: s } = e;
|
|
@@ -845,7 +845,7 @@ function Ws(e, t) {
|
|
|
845
845
|
/* HelperNameMap.NORMALIZE */
|
|
846
846
|
)}([`), e.indent(s());
|
|
847
847
|
const l = t.items.length;
|
|
848
|
-
for (let a = 0; a < l && (
|
|
848
|
+
for (let a = 0; a < l && (Ze(e, t.items[a]), a !== l - 1); a++)
|
|
849
849
|
e.push(", ");
|
|
850
850
|
e.deindent(s()), e.push("])");
|
|
851
851
|
}
|
|
@@ -857,15 +857,15 @@ function Gs(e, t) {
|
|
|
857
857
|
/* HelperNameMap.PLURAL */
|
|
858
858
|
)}([`), e.indent(s());
|
|
859
859
|
const l = t.cases.length;
|
|
860
|
-
for (let a = 0; a < l && (
|
|
860
|
+
for (let a = 0; a < l && (Ze(e, t.cases[a]), a !== l - 1); a++)
|
|
861
861
|
e.push(", ");
|
|
862
862
|
e.deindent(s()), e.push("])");
|
|
863
863
|
}
|
|
864
864
|
}
|
|
865
865
|
function xs(e, t) {
|
|
866
|
-
t.body ?
|
|
866
|
+
t.body ? Ze(e, t.body) : e.push("null");
|
|
867
867
|
}
|
|
868
|
-
function
|
|
868
|
+
function Ze(e, t) {
|
|
869
869
|
const { helper: n } = e;
|
|
870
870
|
switch (t.type) {
|
|
871
871
|
case 0:
|
|
@@ -912,16 +912,16 @@ function Xe(e, t) {
|
|
|
912
912
|
break;
|
|
913
913
|
}
|
|
914
914
|
}
|
|
915
|
-
const
|
|
915
|
+
const Xs = (e, t = {}) => {
|
|
916
916
|
const n = P(t.mode) ? t.mode : "normal", s = P(t.filename) ? t.filename : "message.intl";
|
|
917
917
|
t.sourceMap;
|
|
918
918
|
const l = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
|
|
919
|
-
`, a = t.needIndent ? t.needIndent : n !== "arrow", c = e.helpers || [], u =
|
|
919
|
+
`, a = t.needIndent ? t.needIndent : n !== "arrow", c = e.helpers || [], u = js(e, {
|
|
920
920
|
filename: s,
|
|
921
921
|
breakLineCode: l,
|
|
922
922
|
needIndent: a
|
|
923
923
|
});
|
|
924
|
-
u.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), u.indent(a), c.length > 0 && (u.push(`const { ${
|
|
924
|
+
u.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), u.indent(a), c.length > 0 && (u.push(`const { ${Yt(c.map((N) => `${N}: _${N}`), ", ")} } = ctx`), u.newline()), u.push("return "), Ze(u, e), u.deindent(a), u.push("}"), delete e.helpers;
|
|
925
925
|
const { code: m, map: p } = u.context();
|
|
926
926
|
return {
|
|
927
927
|
ast: e,
|
|
@@ -930,15 +930,15 @@ const Ys = (e, t = {}) => {
|
|
|
930
930
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
931
931
|
};
|
|
932
932
|
};
|
|
933
|
-
function
|
|
933
|
+
function Zs(e, t = {}) {
|
|
934
934
|
const n = de({}, t), s = !!n.jit, l = !!n.minify, a = n.optimize == null ? !0 : n.optimize, u = ws(n).parse(e);
|
|
935
|
-
return s ? (a &&
|
|
935
|
+
return s ? (a && Us(u), l && Ge(u), { ast: u, code: "" }) : (Fs(u, n), Xs(u, n));
|
|
936
936
|
}
|
|
937
|
-
var
|
|
937
|
+
var Ys = { env: { NODE_ENV: "production" } };
|
|
938
938
|
function Bs() {
|
|
939
939
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Fe().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Fe().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
940
940
|
}
|
|
941
|
-
function
|
|
941
|
+
function Ct(e) {
|
|
942
942
|
return (n) => Hs(n, e);
|
|
943
943
|
}
|
|
944
944
|
function Hs(e, t) {
|
|
@@ -1055,7 +1055,7 @@ function et(e) {
|
|
|
1055
1055
|
}
|
|
1056
1056
|
const ia = (e) => e;
|
|
1057
1057
|
let it = ee();
|
|
1058
|
-
function
|
|
1058
|
+
function Ye(e) {
|
|
1059
1059
|
return K(e) && Ht(e) === 0 && (ye(e, "b") || ye(e, "body"));
|
|
1060
1060
|
}
|
|
1061
1061
|
function ca(e, t = {}) {
|
|
@@ -1063,7 +1063,7 @@ function ca(e, t = {}) {
|
|
|
1063
1063
|
const s = t.onError || Ns;
|
|
1064
1064
|
return t.onError = (l) => {
|
|
1065
1065
|
n = !0, s(l);
|
|
1066
|
-
}, { ...
|
|
1066
|
+
}, { ...Zs(e, t), detectError: n };
|
|
1067
1067
|
}
|
|
1068
1068
|
// @__NO_SIDE_EFFECTS__
|
|
1069
1069
|
function ua(e, t) {
|
|
@@ -1074,17 +1074,17 @@ function ua(e, t) {
|
|
|
1074
1074
|
return l;
|
|
1075
1075
|
const { ast: a, detectError: c } = ca(e, {
|
|
1076
1076
|
...t,
|
|
1077
|
-
location:
|
|
1077
|
+
location: Ys.env.NODE_ENV !== "production",
|
|
1078
1078
|
jit: !0
|
|
1079
|
-
}), u =
|
|
1079
|
+
}), u = Ct(a);
|
|
1080
1080
|
return c ? u : it[s] = u;
|
|
1081
1081
|
} else {
|
|
1082
1082
|
const n = e.cacheKey;
|
|
1083
1083
|
if (n) {
|
|
1084
1084
|
const s = it[n];
|
|
1085
|
-
return s || (it[n] =
|
|
1085
|
+
return s || (it[n] = Ct(e));
|
|
1086
1086
|
} else
|
|
1087
|
-
return
|
|
1087
|
+
return Ct(e);
|
|
1088
1088
|
}
|
|
1089
1089
|
}
|
|
1090
1090
|
let tt = null;
|
|
@@ -1103,7 +1103,7 @@ const fa = /* @__PURE__ */ _a("function:translate");
|
|
|
1103
1103
|
function _a(e) {
|
|
1104
1104
|
return (t) => tt && tt.emit(e, t);
|
|
1105
1105
|
}
|
|
1106
|
-
const
|
|
1106
|
+
const Ce = {
|
|
1107
1107
|
INVALID_ARGUMENT: ys,
|
|
1108
1108
|
// 17
|
|
1109
1109
|
INVALID_DATE_ARGUMENT: 18,
|
|
@@ -1112,28 +1112,28 @@ const Re = {
|
|
|
1112
1112
|
NOT_SUPPORT_LOCALE_ASYNC_FUNCTION: 22,
|
|
1113
1113
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
1114
1114
|
}, pa = 24;
|
|
1115
|
-
function
|
|
1116
|
-
return
|
|
1115
|
+
function Re(e) {
|
|
1116
|
+
return bt(e, null, void 0);
|
|
1117
1117
|
}
|
|
1118
1118
|
function $t(e, t) {
|
|
1119
1119
|
return t.locale != null ? ln(t.locale) : ln(e.locale);
|
|
1120
1120
|
}
|
|
1121
|
-
let
|
|
1121
|
+
let Rt;
|
|
1122
1122
|
function ln(e) {
|
|
1123
1123
|
if (P(e))
|
|
1124
1124
|
return e;
|
|
1125
1125
|
if (ae(e)) {
|
|
1126
|
-
if (e.resolvedOnce &&
|
|
1127
|
-
return
|
|
1126
|
+
if (e.resolvedOnce && Rt != null)
|
|
1127
|
+
return Rt;
|
|
1128
1128
|
if (e.constructor.name === "Function") {
|
|
1129
1129
|
const t = e();
|
|
1130
|
-
if (
|
|
1131
|
-
throw Ce
|
|
1132
|
-
return
|
|
1130
|
+
if (bs(t))
|
|
1131
|
+
throw Re(Ce.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
1132
|
+
return Rt = t;
|
|
1133
1133
|
} else
|
|
1134
|
-
throw Ce
|
|
1134
|
+
throw Re(Ce.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
|
|
1135
1135
|
} else
|
|
1136
|
-
throw Ce
|
|
1136
|
+
throw Re(Ce.NOT_SUPPORT_LOCALE_TYPE);
|
|
1137
1137
|
}
|
|
1138
1138
|
function ga(e, t, n) {
|
|
1139
1139
|
return [.../* @__PURE__ */ new Set([
|
|
@@ -1159,20 +1159,20 @@ function on(e, t, n) {
|
|
|
1159
1159
|
let s = !0;
|
|
1160
1160
|
for (let l = 0; l < t.length && ie(s); l++) {
|
|
1161
1161
|
const a = t[l];
|
|
1162
|
-
P(a) && (s =
|
|
1162
|
+
P(a) && (s = ha(e, t[l], n));
|
|
1163
1163
|
}
|
|
1164
1164
|
return s;
|
|
1165
1165
|
}
|
|
1166
|
-
function
|
|
1166
|
+
function ha(e, t, n) {
|
|
1167
1167
|
let s;
|
|
1168
1168
|
const l = t.split("-");
|
|
1169
1169
|
do {
|
|
1170
1170
|
const a = l.join("-");
|
|
1171
|
-
s =
|
|
1171
|
+
s = ba(e, a, n), l.splice(-1, 1);
|
|
1172
1172
|
} while (l.length && s === !0);
|
|
1173
1173
|
return s;
|
|
1174
1174
|
}
|
|
1175
|
-
function
|
|
1175
|
+
function ba(e, t, n) {
|
|
1176
1176
|
let s = !1;
|
|
1177
1177
|
if (!e.includes(t) && (s = !0, t)) {
|
|
1178
1178
|
s = t[t.length - 1] !== "!";
|
|
@@ -1456,7 +1456,7 @@ function La(e, t) {
|
|
|
1456
1456
|
return l;
|
|
1457
1457
|
}
|
|
1458
1458
|
const Oa = "10.0.5", vt = -1, pt = "en-US", un = "", mn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1459
|
-
function
|
|
1459
|
+
function Ca() {
|
|
1460
1460
|
return {
|
|
1461
1461
|
upper: (e, t) => t === "text" && P(e) ? e.toUpperCase() : t === "vnode" && K(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1462
1462
|
lower: (e, t) => t === "text" && P(e) ? e.toLowerCase() : t === "vnode" && K(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
@@ -1464,7 +1464,7 @@ function Ra() {
|
|
|
1464
1464
|
};
|
|
1465
1465
|
}
|
|
1466
1466
|
let Dn;
|
|
1467
|
-
function
|
|
1467
|
+
function Ra(e) {
|
|
1468
1468
|
Dn = e;
|
|
1469
1469
|
}
|
|
1470
1470
|
let wn;
|
|
@@ -1479,13 +1479,13 @@ let Fn = null;
|
|
|
1479
1479
|
const Ma = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
1480
1480
|
Fn = e;
|
|
1481
1481
|
}, Da = /* @__NO_SIDE_EFFECTS__ */ () => Fn;
|
|
1482
|
-
let
|
|
1482
|
+
let Un = null;
|
|
1483
1483
|
const dn = (e) => {
|
|
1484
|
-
|
|
1485
|
-
}, wa = () =>
|
|
1484
|
+
Un = e;
|
|
1485
|
+
}, wa = () => Un;
|
|
1486
1486
|
let fn = 0;
|
|
1487
1487
|
function Pa(e = {}) {
|
|
1488
|
-
const t = ae(e.onWarn) ? e.onWarn : Es, n = P(e.version) ? e.version : Oa, s = P(e.locale) || ae(e.locale) ? e.locale : pt, l = ae(s) ? pt : s, a = ce(e.fallbackLocale) || J(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = J(e.messages) ? e.messages : At(l), u = J(e.datetimeFormats) ? e.datetimeFormats : At(l), m = J(e.numberFormats) ? e.numberFormats : At(l), p = de(ee(), e.modifiers,
|
|
1488
|
+
const t = ae(e.onWarn) ? e.onWarn : Es, n = P(e.version) ? e.version : Oa, s = P(e.locale) || ae(e.locale) ? e.locale : pt, l = ae(s) ? pt : s, a = ce(e.fallbackLocale) || J(e.fallbackLocale) || P(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, c = J(e.messages) ? e.messages : At(l), u = J(e.datetimeFormats) ? e.datetimeFormats : At(l), m = J(e.numberFormats) ? e.numberFormats : At(l), p = de(ee(), e.modifiers, Ca()), N = e.pluralRules || ee(), O = ae(e.missing) ? e.missing : null, L = ie(e.missingWarn) || _t(e.missingWarn) ? e.missingWarn : !0, w = ie(e.fallbackWarn) || _t(e.fallbackWarn) ? e.fallbackWarn : !0, V = !!e.fallbackFormat, A = !!e.unresolving, M = ae(e.postTranslation) ? e.postTranslation : null, i = J(e.processor) ? e.processor : null, d = ie(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, T = !!e.escapeParameter, _ = ae(e.messageCompiler) ? e.messageCompiler : Dn, D = ae(e.messageResolver) ? e.messageResolver : wn || ka, S = ae(e.localeFallbacker) ? e.localeFallbacker : Pn || ga, E = K(e.fallbackContext) ? e.fallbackContext : void 0, Y = e, b = K(Y.__datetimeFormatters) ? Y.__datetimeFormatters : /* @__PURE__ */ new Map(), h = K(Y.__numberFormatters) ? Y.__numberFormatters : /* @__PURE__ */ new Map(), C = K(Y.__meta) ? Y.__meta : {};
|
|
1489
1489
|
fn++;
|
|
1490
1490
|
const I = {
|
|
1491
1491
|
version: n,
|
|
@@ -1509,9 +1509,9 @@ function Pa(e = {}) {
|
|
|
1509
1509
|
localeFallbacker: S,
|
|
1510
1510
|
fallbackContext: E,
|
|
1511
1511
|
onWarn: t,
|
|
1512
|
-
__meta:
|
|
1512
|
+
__meta: C
|
|
1513
1513
|
};
|
|
1514
|
-
return I.datetimeFormats = u, I.numberFormats = m, I.__datetimeFormatters =
|
|
1514
|
+
return I.datetimeFormats = u, I.numberFormats = m, I.__datetimeFormatters = b, I.__numberFormatters = h, __INTLIFY_PROD_DEVTOOLS__ && da(I, n, C), I;
|
|
1515
1515
|
}
|
|
1516
1516
|
const At = (e) => ({ [e]: ee() });
|
|
1517
1517
|
function Jt(e, t, n, s, l) {
|
|
@@ -1529,7 +1529,7 @@ function Qe(e, t, n) {
|
|
|
1529
1529
|
function Fa(e, t) {
|
|
1530
1530
|
return e === t ? !1 : e.split("-")[0] === t.split("-")[0];
|
|
1531
1531
|
}
|
|
1532
|
-
function
|
|
1532
|
+
function Ua(e, t) {
|
|
1533
1533
|
const n = t.indexOf(e);
|
|
1534
1534
|
if (n === -1)
|
|
1535
1535
|
return !1;
|
|
@@ -1556,11 +1556,11 @@ function _n(e, ...t) {
|
|
|
1556
1556
|
if (!J(d) || !P(i))
|
|
1557
1557
|
return s ? vt : m;
|
|
1558
1558
|
let _ = `${i}__${m}`;
|
|
1559
|
-
|
|
1559
|
+
ht(O) || (_ = `${_}__${JSON.stringify(O)}`);
|
|
1560
1560
|
let D = u.get(_);
|
|
1561
1561
|
return D || (D = new Intl.DateTimeFormat(i, de({}, d, O)), u.set(_, D)), w ? D.formatToParts(p) : D.format(p);
|
|
1562
1562
|
}
|
|
1563
|
-
const
|
|
1563
|
+
const jn = [
|
|
1564
1564
|
"localeMatcher",
|
|
1565
1565
|
"weekday",
|
|
1566
1566
|
"era",
|
|
@@ -1588,24 +1588,24 @@ function Pt(...e) {
|
|
|
1588
1588
|
if (P(t)) {
|
|
1589
1589
|
const m = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
1590
1590
|
if (!m)
|
|
1591
|
-
throw Ce
|
|
1591
|
+
throw Re(Ce.INVALID_ISO_DATE_ARGUMENT);
|
|
1592
1592
|
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();
|
|
1593
1593
|
u = new Date(p);
|
|
1594
1594
|
try {
|
|
1595
1595
|
u.toISOString();
|
|
1596
1596
|
} catch {
|
|
1597
|
-
throw Ce
|
|
1597
|
+
throw Re(Ce.INVALID_ISO_DATE_ARGUMENT);
|
|
1598
1598
|
}
|
|
1599
1599
|
} else if (ps(t)) {
|
|
1600
1600
|
if (isNaN(t.getTime()))
|
|
1601
|
-
throw Ce
|
|
1601
|
+
throw Re(Ce.INVALID_DATE_ARGUMENT);
|
|
1602
1602
|
u = t;
|
|
1603
1603
|
} else if (me(t))
|
|
1604
1604
|
u = t;
|
|
1605
1605
|
else
|
|
1606
|
-
throw Ce
|
|
1606
|
+
throw Re(Ce.INVALID_ARGUMENT);
|
|
1607
1607
|
return P(n) ? a.key = n : J(n) && Object.keys(n).forEach((m) => {
|
|
1608
|
-
|
|
1608
|
+
jn.includes(m) ? c[m] = n[m] : a[m] = n[m];
|
|
1609
1609
|
}), P(s) ? a.locale = s : J(s) && (c = s), J(l) && (c = l), [a.key || "", u, a, c];
|
|
1610
1610
|
}
|
|
1611
1611
|
function pn(e, t, n) {
|
|
@@ -1633,7 +1633,7 @@ function gn(e, ...t) {
|
|
|
1633
1633
|
if (!J(d) || !P(i))
|
|
1634
1634
|
return s ? vt : m;
|
|
1635
1635
|
let _ = `${i}__${m}`;
|
|
1636
|
-
|
|
1636
|
+
ht(O) || (_ = `${_}__${JSON.stringify(O)}`);
|
|
1637
1637
|
let D = u.get(_);
|
|
1638
1638
|
return D || (D = new Intl.NumberFormat(i, de({}, d, O)), u.set(_, D)), w ? D.formatToParts(p) : D.format(p);
|
|
1639
1639
|
}
|
|
@@ -1663,39 +1663,39 @@ function Ft(...e) {
|
|
|
1663
1663
|
const [t, n, s, l] = e, a = ee();
|
|
1664
1664
|
let c = ee();
|
|
1665
1665
|
if (!me(t))
|
|
1666
|
-
throw Ce
|
|
1666
|
+
throw Re(Ce.INVALID_ARGUMENT);
|
|
1667
1667
|
const u = t;
|
|
1668
1668
|
return P(n) ? a.key = n : J(n) && Object.keys(n).forEach((m) => {
|
|
1669
1669
|
Vn.includes(m) ? c[m] = n[m] : a[m] = n[m];
|
|
1670
1670
|
}), P(s) ? a.locale = s : J(s) && (c = s), J(l) && (c = l), [a.key || "", u, a, c];
|
|
1671
1671
|
}
|
|
1672
|
-
function
|
|
1672
|
+
function hn(e, t, n) {
|
|
1673
1673
|
const s = e;
|
|
1674
1674
|
for (const l in n) {
|
|
1675
1675
|
const a = `${t}__${l}`;
|
|
1676
1676
|
s.__numberFormatters.has(a) && s.__numberFormatters.delete(a);
|
|
1677
1677
|
}
|
|
1678
1678
|
}
|
|
1679
|
-
const
|
|
1680
|
-
function
|
|
1679
|
+
const ja = (e) => e, Va = (e) => "", Wa = "text", Ga = (e) => e.length === 0 ? "" : Yt(e), xa = vs;
|
|
1680
|
+
function bn(e, t) {
|
|
1681
1681
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1682
1682
|
}
|
|
1683
|
-
function
|
|
1683
|
+
function Xa(e) {
|
|
1684
1684
|
const t = me(e.pluralIndex) ? e.pluralIndex : -1;
|
|
1685
1685
|
return e.named && (me(e.named.count) || me(e.named.n)) ? me(e.named.count) ? e.named.count : me(e.named.n) ? e.named.n : t : t;
|
|
1686
1686
|
}
|
|
1687
|
-
function
|
|
1687
|
+
function Za(e, t) {
|
|
1688
1688
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1689
1689
|
}
|
|
1690
|
-
function
|
|
1691
|
-
const t = e.locale, n =
|
|
1692
|
-
me(e.pluralIndex) &&
|
|
1690
|
+
function Ya(e = {}) {
|
|
1691
|
+
const t = e.locale, n = Xa(e), s = K(e.pluralRules) && P(t) && ae(e.pluralRules[t]) ? e.pluralRules[t] : bn, l = K(e.pluralRules) && P(t) && ae(e.pluralRules[t]) ? bn : void 0, a = (i) => i[s(n, i.length, l)], c = e.list || [], u = (i) => c[i], m = e.named || ee();
|
|
1692
|
+
me(e.pluralIndex) && Za(n, m);
|
|
1693
1693
|
const p = (i) => m[i];
|
|
1694
1694
|
function N(i, d) {
|
|
1695
1695
|
const T = ae(e.messages) ? e.messages(i, !!d) : K(e.messages) ? e.messages[i] : !1;
|
|
1696
1696
|
return T || (e.parent ? e.parent.message(i) : Va);
|
|
1697
1697
|
}
|
|
1698
|
-
const O = (i) => e.modifiers ? e.modifiers[i] :
|
|
1698
|
+
const O = (i) => e.modifiers ? e.modifiers[i] : ja, L = J(e.processor) && ae(e.processor.normalize) ? e.processor.normalize : Ga, w = J(e.processor) && ae(e.processor.interpolate) ? e.processor.interpolate : xa, V = J(e.processor) && P(e.processor.type) ? e.processor.type : Wa, M = {
|
|
1699
1699
|
list: u,
|
|
1700
1700
|
named: p,
|
|
1701
1701
|
plural: a,
|
|
@@ -1703,11 +1703,11 @@ function Za(e = {}) {
|
|
|
1703
1703
|
const [T, _] = d;
|
|
1704
1704
|
let D = "text", S = "";
|
|
1705
1705
|
d.length === 1 ? K(T) ? (S = T.modifier || S, D = T.type || D) : P(T) && (S = T || S) : d.length === 2 && (P(T) && (S = T || S), P(_) && (D = _ || D));
|
|
1706
|
-
const E = N(i, !0)(M),
|
|
1706
|
+
const E = N(i, !0)(M), Y = (
|
|
1707
1707
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1708
1708
|
D === "vnode" && ce(E) && S ? E[0] : E
|
|
1709
1709
|
);
|
|
1710
|
-
return S ? O(S)(
|
|
1710
|
+
return S ? O(S)(Y, D) : Y;
|
|
1711
1711
|
},
|
|
1712
1712
|
message: N,
|
|
1713
1713
|
type: V,
|
|
@@ -1719,22 +1719,22 @@ function Za(e = {}) {
|
|
|
1719
1719
|
}
|
|
1720
1720
|
const vn = () => "", ve = (e) => ae(e);
|
|
1721
1721
|
function En(e, ...t) {
|
|
1722
|
-
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: u } = e, [m, p] =
|
|
1722
|
+
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: c, messages: u } = e, [m, p] = Ut(...t), N = ie(p.missingWarn) ? p.missingWarn : e.missingWarn, O = ie(p.fallbackWarn) ? p.fallbackWarn : e.fallbackWarn, L = ie(p.escapeParameter) ? p.escapeParameter : e.escapeParameter, w = !!p.resolvedMessage, V = P(p.default) || ie(p.default) ? ie(p.default) ? a ? m : () => m : p.default : n ? a ? m : () => m : null, A = n || V != null && (P(V) || ae(V)), M = $t(e, p);
|
|
1723
1723
|
L && Ba(p);
|
|
1724
1724
|
let [i, d, T] = w ? [
|
|
1725
1725
|
m,
|
|
1726
1726
|
M,
|
|
1727
1727
|
u[M] || ee()
|
|
1728
1728
|
] : Wn(e, m, M, c, O, N), _ = i, D = m;
|
|
1729
|
-
if (!w && !(P(_) ||
|
|
1729
|
+
if (!w && !(P(_) || Ye(_) || ve(_)) && A && (_ = V, D = _), !w && (!(P(_) || Ye(_) || ve(_)) || !P(d)))
|
|
1730
1730
|
return l ? vt : m;
|
|
1731
1731
|
let S = !1;
|
|
1732
1732
|
const E = () => {
|
|
1733
1733
|
S = !0;
|
|
1734
|
-
},
|
|
1734
|
+
}, Y = ve(_) ? _ : Gn(e, m, d, _, D, E);
|
|
1735
1735
|
if (S)
|
|
1736
1736
|
return _;
|
|
1737
|
-
const
|
|
1737
|
+
const b = Ja(e, d, T, p), h = Ya(b), C = Ha(e, Y, h), I = s ? s(C, m) : C;
|
|
1738
1738
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1739
1739
|
const F = {
|
|
1740
1740
|
timestamp: Date.now(),
|
|
@@ -1756,8 +1756,8 @@ function Wn(e, t, n, s, l, a) {
|
|
|
1756
1756
|
const { messages: c, onWarn: u, messageResolver: m, localeFallbacker: p } = e, N = p(e, s, n);
|
|
1757
1757
|
let O = ee(), L, w = null;
|
|
1758
1758
|
const V = "translate";
|
|
1759
|
-
for (let A = 0; A < N.length && (L = N[A], O = c[L] || ee(), (w = m(O, t)) === null && (w = O[t]), !(P(w) ||
|
|
1760
|
-
if (!
|
|
1759
|
+
for (let A = 0; A < N.length && (L = N[A], O = c[L] || ee(), (w = m(O, t)) === null && (w = O[t]), !(P(w) || Ye(w) || ve(w))); A++)
|
|
1760
|
+
if (!Ua(L, N)) {
|
|
1761
1761
|
const M = Jt(
|
|
1762
1762
|
e,
|
|
1763
1763
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
@@ -1786,12 +1786,12 @@ function Gn(e, t, n, s, l, a) {
|
|
|
1786
1786
|
function Ha(e, t, n) {
|
|
1787
1787
|
return t(n);
|
|
1788
1788
|
}
|
|
1789
|
-
function
|
|
1789
|
+
function Ut(...e) {
|
|
1790
1790
|
const [t, n, s] = e, l = ee();
|
|
1791
|
-
if (!P(t) && !me(t) && !ve(t) && !
|
|
1792
|
-
throw Ce
|
|
1791
|
+
if (!P(t) && !me(t) && !ve(t) && !Ye(t))
|
|
1792
|
+
throw Re(Ce.INVALID_ARGUMENT);
|
|
1793
1793
|
const a = me(t) ? String(t) : (ve(t), t);
|
|
1794
|
-
return me(n) ? l.plural = n : P(n) ? l.default = n : J(n) && !
|
|
1794
|
+
return me(n) ? l.plural = n : P(n) ? l.default = n : J(n) && !ht(n) ? l.named = n : ce(n) && (l.list = n), me(s) ? l.plural = s : P(s) ? l.default = s : J(s) && de(l, s), [a, l];
|
|
1795
1795
|
}
|
|
1796
1796
|
function $a(e, t, n, s, l, a) {
|
|
1797
1797
|
return {
|
|
@@ -1823,7 +1823,7 @@ function Ja(e, t, n, s) {
|
|
|
1823
1823
|
);
|
|
1824
1824
|
A = c(M, w);
|
|
1825
1825
|
}
|
|
1826
|
-
if (P(A) ||
|
|
1826
|
+
if (P(A) || Ye(A)) {
|
|
1827
1827
|
let M = !1;
|
|
1828
1828
|
const d = Gn(e, w, t, A, w, () => {
|
|
1829
1829
|
M = !0;
|
|
@@ -1835,7 +1835,7 @@ function Ja(e, t, n, s) {
|
|
|
1835
1835
|
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;
|
|
1836
1836
|
}
|
|
1837
1837
|
Bs();
|
|
1838
|
-
var Ka = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_c1b551b0-7ac1-40e4-affb-5941e3acfc4e", npm_package_devDependencies__types_node: "^18.17.17", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^1.2.0", USER: "runner", npm_config_always_auth: "", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v24.5.0 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", npm_package_devDependencies_vue_i18n: "10.0.5", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_c1b551b0-7ac1-40e4-affb-5941e3acfc4e", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.2.0", npm_node_execpath: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_files_0: "dist", npm_package_devDependencies_eslint_import_resolver_typescript: "^4.4.4", HOME: "/home/runner", npm_package_devDependencies__eslint_js: "^9.39.2", npm_package_devDependencies__typescript_eslint_parser: "^8.52.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_devDependencies_eslint_config_prettier: "^10.1.8", npm_config_save_workspace_protocol: "true", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.5.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "^1.29.10", npm_package_devDependencies_code_inspector_plugin: "^0.20.16", npm_package_devDependencies_npm_run_all2: "^6.0.6", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1863", ACTIONS_ORCHESTRATION_ID: "ef482687-5053-4d6b-8aaf-e4cf93d383c2.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.10.6", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "VITE_TARGET_ENV=dev pnpm build:mf && pnpm build:dts", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.9.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.6", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260615.205.1", npm_package_scripts_dev: "vite", npm_package_devDependencies_prettier: "^3.7.4", npm_package_devDependencies_sass_embedded: "^1.93.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_devDependencies__vue_tsconfig: "^0.4.0", npm_package_devDependencies_eslint_plugin_import: "^2.32.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:15378", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^8.52.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.11/x64", GITHUB_RUN_ID: "27939216578", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "4b80a0e34122f73d7c3223c60f938f683e38b0ed", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/main", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6M31dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjZmOTZmYTg5LWI3YmYtNDg3OC1iYWQzLTg5ODAwNjU2NmI2ZSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3ODIxMzg1ODgsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc4MjExNjM4OCwiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6ImJiOTgwMDJhLTkzMWUtNTBhZS04ZmMxLWZlMTUxMjliMDIxNyIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc4MjExNjA4OCwib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJqdW4tbGVlLWZlZWRtZVwiLFwiYWN0b3JfaWRcIjpcIjIzOTI4Mjg2MlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCI4MjY2ODIzNzQ0NVwiLFwiZXZlbnRfbmFtZVwiOlwid29ya2Zsb3dfZGlzcGF0Y2hcIixcImhlYWRfcmVmXCI6XCJcIixcImpvYl93b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9hY3Rpb25zLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtbnBtLWdpdGh1Yi55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwiam9iX3dvcmtmbG93X3NoYVwiOlwiNzBiZjQxYTgyZjRmNmRkM2JiZDE4NjJiMjY4YjFlMDkxZTM5NjA5Y1wiLFwicmVmXCI6XCJyZWZzL2hlYWRzL21haW5cIixcInJlZl9wcm90ZWN0ZWRcIjpcInRydWVcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiMTEyNDY3MjIzNVwiLFwicmVwb3NpdG9yeV9vd25lclwiOlwiZmVlZG1lcG9zXCIsXCJyZXBvc2l0b3J5X293bmVyX2lkXCI6XCI1NDgzMTUxNVwiLFwicmVwb3NpdG9yeV92aXNpYmlsaXR5XCI6XCJwcml2YXRlXCIsXCJydW5fYXR0ZW1wdFwiOlwiMVwiLFwicnVuX2lkXCI6XCIyNzkzOTIxNjU3OFwiLFwicnVuX251bWJlclwiOlwiMTE5XCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIixcInNoYVwiOlwiNGI4MGEwZTM0MTIyZjczZDdjMzIyM2M2MGY5MzhmNjgzZTM4YjBlZFwiLFwid29ya2Zsb3dcIjpcIlB1Ymxpc2ggaHJtLXBvcnRhbFwiLFwid29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ocm0tcG9ydGFsLXRydXN0ZWQueW1sQHJlZnMvaGVhZHMvbWFpblwiLFwid29ya2Zsb3dfc2hhXCI6XCI0YjgwYTBlMzQxMjJmNzNkN2MzMjIzYzYwZjkzOGY2ODNlMzhiMGVkXCJ9Iiwib2lkY19zdWIiOiJyZXBvOmZlZWRtZXBvcy9ocm0tc2VydmljZTpyZWY6cmVmcy9oZWFkcy9tYWluIiwib3JjaF9pZCI6ImVmNDgyNjg3LTUwNTMtNGQ2Yi04YWFmLWU0Y2Y5M2QzODNjMi5wdWJsaXNoLnB1Ymxpc2guX19kZWZhdWx0Iiwib3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJwbGFuX2lkIjoiZWY0ODI2ODctNTA1My00ZDZiLThhYWYtZTRjZjkzZDM4M2MyIiwicmVwb3NpdG9yeV9pZCI6IjExMjQ2NzIyMzUiLCJyZXBvc2l0b3J5X293bmVyX2lkIjoiNTQ4MzE1MTUiLCJyZXBvc2l0b3J5X3Zpc2liaWxpdHkiOiJwcml2YXRlIiwicnVuX2lkIjoiMjc5MzkyMTY1NzgiLCJydW5fbnVtYmVyIjoiMTE5IiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDA3OTQ1MCIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOmVmNDgyNjg3LTUwNTMtNGQ2Yi04YWFmLWU0Y2Y5M2QzODNjMjpiYjk4MDAyYS05MzFlLTUwYWUtOGZjMS1mZTE1MTI5YjAyMTcgQWN0aW9ucy5SdW5uZXI6ZWY0ODI2ODctNTA1My00ZDZiLThhYWYtZTRjZjkzZDM4M2MyOmJiOTgwMDJhLTkzMWUtNTBhZS04ZmMxLWZlMTUxMjliMDIxNyBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czplZjQ4MjY4Ny01MDUzLTRkNmItOGFhZi1lNGNmOTNkMzgzYzI6YmI5ODAwMmEtOTMxZS01MGFlLThmYzEtZmUxNTEyOWIwMjE3IGdlbmVyYXRlX2lkX3Rva2VuOmVmNDgyNjg3LTUwNTMtNGQ2Yi04YWFmLWU0Y2Y5M2QzODNjMjpiYjk4MDAyYS05MzFlLTUwYWUtOGZjMS1mZTE1MTI5YjAyMTcgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiI0YjgwYTBlMzQxMjJmNzNkN2MzMjIzYzYwZjkzOGY2ODNlMzhiMGVkIiwidHJ1c3RfdGllciI6IjEifQ.AWl40DiouZfljWEgCcHr-hNK96G4aYrQNL2MtT5hB2KgUaSg1LqrxwTUz1L0cFsqloscRp8eaj2l55IsYcznTIS-eemCsedgwRakN_omVmLgYzmf_Wt9eJz3ghHnMWE8rGpIAW2VwisZM8KtWtfOQsyIRs50enaj8L4bh4YGLbJsFf3y_Lyu12Ny8nV_hc7fccuPWorXl6uBR08V7dgygAO7wZMX4A1TlW4pXG6GjtACjdBg4dIyqS8Ykz6uhdoPOc2txkQ_wq0xVn7re3yX3QlhQ0RhLL6OLyr7_oU5uhAv692GKIvdraXmwvBDeOfPxaS5n4OOcbjX7p2JKMU_eQ", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.7", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/24.5.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_564f0f4c-b29d-4775-9f52-1398bc16eeae", INVOCATION_ID: "134c72bcc5d2418c86c1f98225c13ebf", 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: "119", GITHUB_TRIGGERING_ACTOR: "jun-lee-feedme", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag latest --no-git-checks", npm_package_scripts_publish_npm_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag beta --no-git-checks", npm_package_scripts_publish_github: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks", npm_package_scripts_publish_github_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks", npm_config_frozen_lockfile: "", npm_package_devDependencies__vitest_ui: "^1.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies_eslint: "^9.39.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000079450", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "^2.14.36", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__casl_ability: "^3.4.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^4.0.0", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "1124672235", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/bin/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "2.0.23", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_hrm_permission: "workspace:*", npm_package_devDependencies__rushstack_eslint_patch: "^1.3.3", npm_package_devDependencies_eslint_plugin_unused_imports: "^4.3.0", npm_package_devDependencies_jsdom: "^24.0.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "true", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "4b80a0e34122f73d7c3223c60f938f683e38b0ed", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "jun-lee-feedme", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_devDependencies_globals: "^16.5.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_c1b551b0-7ac1-40e4-affb-5941e3acfc4e", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "239282862", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-1-azure-eastus.actions.githubusercontent.com/176//idtoken/ef482687-5053-4d6b-8aaf-e4cf93d383c2/bb98002a-931e-50ae-8fc1-fe15129b0217?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_c1b551b0-7ac1-40e4-affb-5941e3acfc4e", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.33.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_c1b551b0-7ac1-40e4-affb-5941e3acfc4e", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1838
|
+
var Ka = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_b4a0e749-2e2c-4521-8060-f7d42cd6b6ea", npm_package_devDependencies__types_node: "^18.17.17", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^1.2.0", USER: "runner", npm_config_always_auth: "", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v24.5.0 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", npm_package_devDependencies_vue_i18n: "10.0.5", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_b4a0e749-2e2c-4521-8060-f7d42cd6b6ea", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.2.0", npm_node_execpath: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", npm_package_files_0: "dist", npm_package_devDependencies_eslint_import_resolver_typescript: "^4.4.4", HOME: "/home/runner", npm_package_devDependencies__eslint_js: "^9.39.2", npm_package_devDependencies__typescript_eslint_parser: "^8.52.0", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_devDependencies_eslint_config_prettier: "^10.1.8", npm_config_save_workspace_protocol: "true", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.5.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "^1.29.10", npm_package_devDependencies_code_inspector_plugin: "^0.20.16", npm_package_devDependencies_npm_run_all2: "^6.0.6", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1862", ACTIONS_ORCHESTRATION_ID: "81060c57-a53e-43c1-850e-30319157c1b2.publish.publish.__default", npm_package_dependencies__feedmepos_ui_library: "^1.10.6", npm_package_dependencies_dayjs: "^1.11.10", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "VITE_TARGET_ENV=dev pnpm build:mf && pnpm build:dts", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.9.3", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.6", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260615.205.1", npm_package_scripts_dev: "vite", npm_package_devDependencies_prettier: "^3.7.4", npm_package_devDependencies_sass_embedded: "^1.93.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_devDependencies__vue_tsconfig: "^0.4.0", npm_package_devDependencies_eslint_plugin_import: "^2.32.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:15407", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__typescript_eslint_eslint_plugin: "^8.52.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.11/x64", GITHUB_RUN_ID: "28002110053", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "e01207129b7de31ac9cb16dc6ffe375a0585cee8", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/feat/KDI-4956-enhance-audit-log-ui", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L0tESS00OTU2LWVuaGFuY2UtYXVkaXQtbG9nLXVpXCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzgyMjEwOTM2LCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3ODIxODg3MzYsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiJkMDU1OTE1Zi0yYjRlLTU5ZWMtYTdkYy1mYzM3ZmQzMWIzZDQiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3ODIxODg0MzYsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwiQ2FzdGEtbWVyZVwiLFwiYWN0b3JfaWRcIjpcIjgyMjk4MDE3XCIsXCJiYXNlX3JlZlwiOlwiXCIsXCJjaGVja19ydW5faWRcIjpcIjgyODc2NDA4Mjg2XCIsXCJldmVudF9uYW1lXCI6XCJ3b3JrZmxvd19kaXNwYXRjaFwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiam9iX3dvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2FjdGlvbnMvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ucG0tZ2l0aHViLnlhbWxAcmVmcy9oZWFkcy9tYWluXCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCI3MGJmNDFhODJmNGY2ZGQzYmJkMTg2MmIyNjhiMWUwOTFlMzk2MDljXCIsXCJyZWZcIjpcInJlZnMvaGVhZHMvZmVhdC9LREktNDk1Ni1lbmhhbmNlLWF1ZGl0LWxvZy11aVwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiMTEyNDY3MjIzNVwiLFwicmVwb3NpdG9yeV9vd25lclwiOlwiZmVlZG1lcG9zXCIsXCJyZXBvc2l0b3J5X293bmVyX2lkXCI6XCI1NDgzMTUxNVwiLFwicmVwb3NpdG9yeV92aXNpYmlsaXR5XCI6XCJwcml2YXRlXCIsXCJydW5fYXR0ZW1wdFwiOlwiMVwiLFwicnVuX2lkXCI6XCIyODAwMjExMDA1M1wiLFwicnVuX251bWJlclwiOlwiMTIzXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIixcInNoYVwiOlwiZTAxMjA3MTI5YjdkZTMxYWM5Y2IxNmRjNmZmZTM3NWEwNTg1Y2VlOFwiLFwid29ya2Zsb3dcIjpcIlB1Ymxpc2ggaHJtLXBvcnRhbFwiLFwid29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ocm0tcG9ydGFsLXRydXN0ZWQueW1sQHJlZnMvaGVhZHMvZmVhdC9LREktNDk1Ni1lbmhhbmNlLWF1ZGl0LWxvZy11aVwiLFwid29ya2Zsb3dfc2hhXCI6XCJlMDEyMDcxMjliN2RlMzFhYzljYjE2ZGM2ZmZlMzc1YTA1ODVjZWU4XCJ9Iiwib2lkY19zdWIiOiJyZXBvOmZlZWRtZXBvcy9ocm0tc2VydmljZTpyZWY6cmVmcy9oZWFkcy9mZWF0L0tESS00OTU2LWVuaGFuY2UtYXVkaXQtbG9nLXVpIiwib3JjaF9pZCI6IjgxMDYwYzU3LWE1M2UtNDNjMS04NTBlLTMwMzE5MTU3YzFiMi5wdWJsaXNoLnB1Ymxpc2guX19kZWZhdWx0Iiwib3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJwbGFuX2lkIjoiODEwNjBjNTctYTUzZS00M2MxLTg1MGUtMzAzMTkxNTdjMWIyIiwicmVwb3NpdG9yeV9pZCI6IjExMjQ2NzIyMzUiLCJyZXBvc2l0b3J5X293bmVyX2lkIjoiNTQ4MzE1MTUiLCJyZXBvc2l0b3J5X3Zpc2liaWxpdHkiOiJwcml2YXRlIiwicnVuX2lkIjoiMjgwMDIxMTAwNTMiLCJydW5fbnVtYmVyIjoiMTIzIiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDA3OTY3NyIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOjgxMDYwYzU3LWE1M2UtNDNjMS04NTBlLTMwMzE5MTU3YzFiMjpkMDU1OTE1Zi0yYjRlLTU5ZWMtYTdkYy1mYzM3ZmQzMWIzZDQgQWN0aW9ucy5SdW5uZXI6ODEwNjBjNTctYTUzZS00M2MxLTg1MGUtMzAzMTkxNTdjMWIyOmQwNTU5MTVmLTJiNGUtNTllYy1hN2RjLWZjMzdmZDMxYjNkNCBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czo4MTA2MGM1Ny1hNTNlLTQzYzEtODUwZS0zMDMxOTE1N2MxYjI6ZDA1NTkxNWYtMmI0ZS01OWVjLWE3ZGMtZmMzN2ZkMzFiM2Q0IGdlbmVyYXRlX2lkX3Rva2VuOjgxMDYwYzU3LWE1M2UtNDNjMS04NTBlLTMwMzE5MTU3YzFiMjpkMDU1OTE1Zi0yYjRlLTU5ZWMtYTdkYy1mYzM3ZmQzMWIzZDQgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiJlMDEyMDcxMjliN2RlMzFhYzljYjE2ZGM2ZmZlMzc1YTA1ODVjZWU4IiwidHJ1c3RfdGllciI6IjEifQ.aQGZiuWzyu1eJBeh2K18e8zN9Fh9QV8SQMuRzhWeEuCxwnRTlCQ3lXemjGC_MZyDB5-Pc7AOJ-7FSGTokQEFmw2XKhuJrn-5z2V24qsafaWIMiT5lMUr815a-o7Cd_pKhhLx0zScbMqFG5LMAlozE6rq5CyW4GxMRojNF6RxS7DlX8cyrpW6PX6Phj_o77dT2RGhewx4qQdaY8PTCndpYwkmngib8f4tpuJ6mYK7z_R7zTPwYYVM66u-ePQ-GJ_NGaxkQrItDy9pWMU4VEPkBbg2Mkz8cbEsSgq4MmCC8F77KlmFmR8bmoEhPPltJ81r6pJ3lDfxQlemMNpALYgoQg", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.7", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/24.5.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_cd5ee941-2a21-407b-984c-8203d6ea9fd3", INVOCATION_ID: "000261f5734040ab878a0673bb8ed33b", 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: "123", GITHUB_TRIGGERING_ACTOR: "Casta-mere", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag latest --no-git-checks", npm_package_scripts_publish_npm_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --access public --tag beta --no-git-checks", npm_package_scripts_publish_github: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag latest --no-git-checks", npm_package_scripts_publish_github_beta: "pnpm build && pnpm publish --registry https://npm.pkg.github.com/ --tag beta --no-git-checks", npm_config_frozen_lockfile: "", npm_package_devDependencies__vitest_ui: "^1.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies_eslint: "^9.39.2", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000079677", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/KDI-4956-enhance-audit-log-ui", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "^2.14.36", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__casl_ability: "^3.4.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^4.0.0", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "1124672235", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/bin/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "2.0.24-dev.3", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts", npm_package_dependencies__feedmepos_hrm_permission: "workspace:*", npm_package_devDependencies__rushstack_eslint_patch: "^1.3.3", npm_package_devDependencies_eslint_plugin_unused_imports: "^4.3.0", npm_package_devDependencies_jsdom: "^24.0.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "e01207129b7de31ac9cb16dc6ffe375a0585cee8", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.2", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/feat/KDI-4956-enhance-audit-log-ui", GITHUB_ACTOR: "Casta-mere", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", npm_package_devDependencies_globals: "^16.5.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_b4a0e749-2e2c-4521-8060-f7d42cd6b6ea", 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_package_devDependencies_vue_eslint_parser: "^10.2.0", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-2-azure-eastus.actions.githubusercontent.com/124//idtoken/81060c57-a53e-43c1-850e-30319157c1b2/d055915f-2b4e-59ec-a7dc-fc37fd31b3d4?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_b4a0e749-2e2c-4521-8060-f7d42cd6b6ea", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.33.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_b4a0e749-2e2c-4521-8060-f7d42cd6b6ea", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_package_dependencies_libphonenumber_js: "^1.11.1", NODE_ENV: "production" } };
|
|
1839
1839
|
const za = "10.0.5";
|
|
1840
1840
|
function Qa() {
|
|
1841
1841
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Fe().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Fe().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Fe().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Fe().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
@@ -1854,9 +1854,9 @@ const Be = {
|
|
|
1854
1854
|
UNEXPECTED_ERROR: 32
|
|
1855
1855
|
};
|
|
1856
1856
|
function nt(e, ...t) {
|
|
1857
|
-
return
|
|
1857
|
+
return bt(e, null, void 0);
|
|
1858
1858
|
}
|
|
1859
|
-
const
|
|
1859
|
+
const jt = /* @__PURE__ */ Ue("__translateVNode"), Vt = /* @__PURE__ */ Ue("__datetimeParts"), Wt = /* @__PURE__ */ Ue("__numberParts"), qa = Ue("__setPluralRules"), xn = /* @__PURE__ */ Ue("__injectWithOption"), Gt = /* @__PURE__ */ Ue("__dispose");
|
|
1860
1860
|
function st(e) {
|
|
1861
1861
|
if (!K(e))
|
|
1862
1862
|
return e;
|
|
@@ -1878,7 +1878,7 @@ function st(e) {
|
|
|
1878
1878
|
}
|
|
1879
1879
|
return e;
|
|
1880
1880
|
}
|
|
1881
|
-
function
|
|
1881
|
+
function Xn(e, t) {
|
|
1882
1882
|
const { messages: n, __i18n: s, messageResolver: l, flatJson: a } = t, c = J(n) ? n : ce(s) ? ee() : { [e]: ee() };
|
|
1883
1883
|
if (ce(s) && s.forEach((u) => {
|
|
1884
1884
|
if ("locale" in u && "resource" in u) {
|
|
@@ -1891,12 +1891,12 @@ function Yn(e, t) {
|
|
|
1891
1891
|
ye(c, u) && st(c[u]);
|
|
1892
1892
|
return c;
|
|
1893
1893
|
}
|
|
1894
|
-
function
|
|
1894
|
+
function Zn(e) {
|
|
1895
1895
|
return e.type;
|
|
1896
1896
|
}
|
|
1897
1897
|
function er(e, t, n) {
|
|
1898
1898
|
let s = K(t.messages) ? t.messages : ee();
|
|
1899
|
-
"__i18nGlobal" in n && (s =
|
|
1899
|
+
"__i18nGlobal" in n && (s = Xn(e.locale.value, {
|
|
1900
1900
|
messages: s,
|
|
1901
1901
|
__i18n: n.__i18nGlobal
|
|
1902
1902
|
}));
|
|
@@ -1930,7 +1930,7 @@ function kn(e) {
|
|
|
1930
1930
|
const nr = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
1931
1931
|
const e = xt();
|
|
1932
1932
|
let t = null;
|
|
1933
|
-
return e && (t =
|
|
1933
|
+
return e && (t = Zn(e)[yn]) ? { [yn]: t } : null;
|
|
1934
1934
|
};
|
|
1935
1935
|
function sr(e = {}) {
|
|
1936
1936
|
const { __root: t, __injectWithOption: n } = e, s = t === void 0, l = e.flatJson, a = qt ? gt : Kn;
|
|
@@ -1941,7 +1941,7 @@ function sr(e = {}) {
|
|
|
1941
1941
|
), m = a(
|
|
1942
1942
|
// prettier-ignore
|
|
1943
1943
|
t && c ? t.fallbackLocale.value : P(e.fallbackLocale) || ce(e.fallbackLocale) || J(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : u.value
|
|
1944
|
-
), p = a(
|
|
1944
|
+
), p = a(Xn(u.value, e)), N = a(J(e.datetimeFormats) ? e.datetimeFormats : { [u.value]: {} }), O = a(J(e.numberFormats) ? e.numberFormats : { [u.value]: {} });
|
|
1945
1945
|
let L = t ? t.missingWarn : ie(e.missingWarn) || _t(e.missingWarn) ? e.missingWarn : !0, w = t ? t.fallbackWarn : ie(e.fallbackWarn) || _t(e.fallbackWarn) ? e.fallbackWarn : !0, V = t ? t.fallbackRoot : ie(e.fallbackRoot) ? e.fallbackRoot : !0, A = !!e.fallbackFormat, M = ae(e.missing) ? e.missing : null, i = ae(e.missing) ? kn(e.missing) : null, d = ae(e.postTranslation) ? e.postTranslation : null, T = t ? t.warnHtmlMessage : ie(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, _ = !!e.escapeParameter;
|
|
1946
1946
|
const D = t ? t.modifiers : J(e.modifiers) ? e.modifiers : {};
|
|
1947
1947
|
let S = e.pluralRules || t && t.pluralRules, E;
|
|
@@ -1970,7 +1970,7 @@ function sr(e = {}) {
|
|
|
1970
1970
|
const k = Pa(f);
|
|
1971
1971
|
return s && dn(k), k;
|
|
1972
1972
|
})(), Qe(E, u.value, m.value);
|
|
1973
|
-
function
|
|
1973
|
+
function b() {
|
|
1974
1974
|
return [
|
|
1975
1975
|
u.value,
|
|
1976
1976
|
m.value,
|
|
@@ -1979,12 +1979,12 @@ function sr(e = {}) {
|
|
|
1979
1979
|
O.value
|
|
1980
1980
|
];
|
|
1981
1981
|
}
|
|
1982
|
-
const
|
|
1982
|
+
const h = q({
|
|
1983
1983
|
get: () => u.value,
|
|
1984
1984
|
set: (f) => {
|
|
1985
1985
|
u.value = f, E.locale = u.value;
|
|
1986
1986
|
}
|
|
1987
|
-
}),
|
|
1987
|
+
}), C = q({
|
|
1988
1988
|
get: () => m.value,
|
|
1989
1989
|
set: (f) => {
|
|
1990
1990
|
m.value = f, E.fallbackLocale = m.value, Qe(E, u.value, f);
|
|
@@ -1993,7 +1993,7 @@ function sr(e = {}) {
|
|
|
1993
1993
|
function y() {
|
|
1994
1994
|
return ae(d) ? d : null;
|
|
1995
1995
|
}
|
|
1996
|
-
function
|
|
1996
|
+
function R(f) {
|
|
1997
1997
|
d = f, E.postTranslation = f;
|
|
1998
1998
|
}
|
|
1999
1999
|
function v() {
|
|
@@ -2003,7 +2003,7 @@ function sr(e = {}) {
|
|
|
2003
2003
|
f !== null && (i = kn(f)), M = f, E.missing = i;
|
|
2004
2004
|
}
|
|
2005
2005
|
const W = (f, k, ne, le, Pe, at) => {
|
|
2006
|
-
|
|
2006
|
+
b();
|
|
2007
2007
|
let We;
|
|
2008
2008
|
try {
|
|
2009
2009
|
Ka.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, s || (E.fallbackContext = t ? wa() : void 0), We = f(E);
|
|
@@ -2020,25 +2020,25 @@ function sr(e = {}) {
|
|
|
2020
2020
|
throw nt(Be.UNEXPECTED_RETURN_TYPE);
|
|
2021
2021
|
}
|
|
2022
2022
|
};
|
|
2023
|
-
function
|
|
2024
|
-
return W((k) => Reflect.apply(En, null, [k, ...f]), () =>
|
|
2023
|
+
function U(...f) {
|
|
2024
|
+
return W((k) => Reflect.apply(En, null, [k, ...f]), () => Ut(...f), "translate", (k) => Reflect.apply(k.t, k, [...f]), (k) => k, (k) => P(k));
|
|
2025
2025
|
}
|
|
2026
2026
|
function te(...f) {
|
|
2027
2027
|
const [k, ne, le] = f;
|
|
2028
2028
|
if (le && !K(le))
|
|
2029
2029
|
throw nt(Be.INVALID_ARGUMENT);
|
|
2030
|
-
return
|
|
2030
|
+
return U(k, ne, de({ resolvedMessage: !0 }, le || {}));
|
|
2031
2031
|
}
|
|
2032
2032
|
function B(...f) {
|
|
2033
2033
|
return W((k) => Reflect.apply(_n, null, [k, ...f]), () => Pt(...f), "datetime format", (k) => Reflect.apply(k.d, k, [...f]), () => un, (k) => P(k));
|
|
2034
2034
|
}
|
|
2035
|
-
function
|
|
2035
|
+
function he(...f) {
|
|
2036
2036
|
return W((k) => Reflect.apply(gn, null, [k, ...f]), () => Ft(...f), "number format", (k) => Reflect.apply(k.n, k, [...f]), () => un, (k) => P(k));
|
|
2037
2037
|
}
|
|
2038
2038
|
function fe(f) {
|
|
2039
2039
|
return f.map((k) => P(k) || me(k) || ie(k) ? In(String(k)) : k);
|
|
2040
2040
|
}
|
|
2041
|
-
const
|
|
2041
|
+
const X = {
|
|
2042
2042
|
normalize: fe,
|
|
2043
2043
|
interpolate: (f) => f,
|
|
2044
2044
|
type: "vnode"
|
|
@@ -2048,12 +2048,12 @@ function sr(e = {}) {
|
|
|
2048
2048
|
let ne;
|
|
2049
2049
|
const le = k;
|
|
2050
2050
|
try {
|
|
2051
|
-
le.processor =
|
|
2051
|
+
le.processor = X, ne = Reflect.apply(En, null, [le, ...f]);
|
|
2052
2052
|
} finally {
|
|
2053
2053
|
le.processor = null;
|
|
2054
2054
|
}
|
|
2055
2055
|
return ne;
|
|
2056
|
-
}, () =>
|
|
2056
|
+
}, () => Ut(...f), "translate", (k) => k[jt](...f), (k) => [In(k)], (k) => ce(k));
|
|
2057
2057
|
}
|
|
2058
2058
|
function $e(...f) {
|
|
2059
2059
|
return W((k) => Reflect.apply(gn, null, [k, ...f]), () => Ft(...f), "number format", (k) => k[Wt](...f), Nn, (k) => P(k) || ce(k));
|
|
@@ -2068,8 +2068,8 @@ function sr(e = {}) {
|
|
|
2068
2068
|
return W(() => {
|
|
2069
2069
|
if (!f)
|
|
2070
2070
|
return !1;
|
|
2071
|
-
const ne = P(k) ? k : u.value, le =
|
|
2072
|
-
return
|
|
2071
|
+
const ne = P(k) ? k : u.value, le = je(ne), Pe = E.messageResolver(le, f);
|
|
2072
|
+
return Ye(Pe) || ve(Pe) || P(Pe);
|
|
2073
2073
|
}, () => [f], "translate exists", (ne) => Reflect.apply(ne.te, ne, [f, k]), tr, (ne) => ie(ne));
|
|
2074
2074
|
}
|
|
2075
2075
|
function Nt(f) {
|
|
@@ -2088,7 +2088,7 @@ function sr(e = {}) {
|
|
|
2088
2088
|
const k = Nt(f);
|
|
2089
2089
|
return k ?? (t ? t.tm(f) || {} : {});
|
|
2090
2090
|
}
|
|
2091
|
-
function
|
|
2091
|
+
function je(f) {
|
|
2092
2092
|
return p.value[f] || {};
|
|
2093
2093
|
}
|
|
2094
2094
|
function Ve(f, k) {
|
|
@@ -2120,21 +2120,21 @@ function sr(e = {}) {
|
|
|
2120
2120
|
function g(f) {
|
|
2121
2121
|
return O.value[f] || {};
|
|
2122
2122
|
}
|
|
2123
|
-
function
|
|
2124
|
-
O.value[f] = k, E.numberFormats = O.value,
|
|
2123
|
+
function j(f, k) {
|
|
2124
|
+
O.value[f] = k, E.numberFormats = O.value, hn(E, f, k);
|
|
2125
2125
|
}
|
|
2126
2126
|
function re(f, k) {
|
|
2127
|
-
O.value[f] = de(O.value[f] || {}, k), E.numberFormats = O.value,
|
|
2127
|
+
O.value[f] = de(O.value[f] || {}, k), E.numberFormats = O.value, hn(E, f, k);
|
|
2128
2128
|
}
|
|
2129
2129
|
Tn++, t && qt && (St(t.locale, (f) => {
|
|
2130
2130
|
c && (u.value = f, E.locale = f, Qe(E, u.value, m.value));
|
|
2131
2131
|
}), St(t.fallbackLocale, (f) => {
|
|
2132
2132
|
c && (m.value = f, E.fallbackLocale = f, Qe(E, u.value, m.value));
|
|
2133
2133
|
}));
|
|
2134
|
-
const
|
|
2134
|
+
const Z = {
|
|
2135
2135
|
id: Tn,
|
|
2136
|
-
locale:
|
|
2137
|
-
fallbackLocale:
|
|
2136
|
+
locale: h,
|
|
2137
|
+
fallbackLocale: C,
|
|
2138
2138
|
get inheritLocale() {
|
|
2139
2139
|
return c;
|
|
2140
2140
|
},
|
|
@@ -2190,17 +2190,17 @@ function sr(e = {}) {
|
|
|
2190
2190
|
set escapeParameter(f) {
|
|
2191
2191
|
_ = f, E.escapeParameter = f;
|
|
2192
2192
|
},
|
|
2193
|
-
t:
|
|
2194
|
-
getLocaleMessage:
|
|
2193
|
+
t: U,
|
|
2194
|
+
getLocaleMessage: je,
|
|
2195
2195
|
setLocaleMessage: Ve,
|
|
2196
2196
|
mergeLocaleMessage: ze,
|
|
2197
2197
|
getPostTranslationHandler: y,
|
|
2198
|
-
setPostTranslationHandler:
|
|
2198
|
+
setPostTranslationHandler: R,
|
|
2199
2199
|
getMissingHandler: v,
|
|
2200
2200
|
setMissingHandler: G,
|
|
2201
2201
|
[qa]: It
|
|
2202
2202
|
};
|
|
2203
|
-
return
|
|
2203
|
+
return Z.datetimeFormats = F, Z.numberFormats = x, Z.rt = te, Z.te = yt, Z.tm = Ke, Z.d = B, Z.n = he, Z.getDateTimeFormat = Tt, Z.setDateTimeFormat = r, Z.mergeDateTimeFormat = o, Z.getNumberFormat = g, Z.setNumberFormat = j, Z.mergeNumberFormat = re, Z[xn] = n, Z[jt] = Ee, Z[Vt] = Je, Z[Wt] = $e, Z;
|
|
2204
2204
|
}
|
|
2205
2205
|
const Kt = {
|
|
2206
2206
|
tag: {
|
|
@@ -2230,7 +2230,7 @@ function ar({ slots: e }, t) {
|
|
|
2230
2230
|
return l && (n[s] = l()), n;
|
|
2231
2231
|
}, ee());
|
|
2232
2232
|
}
|
|
2233
|
-
function
|
|
2233
|
+
function Yn() {
|
|
2234
2234
|
return Oe;
|
|
2235
2235
|
}
|
|
2236
2236
|
de({
|
|
@@ -2258,7 +2258,7 @@ function Bn(e, t, n, s) {
|
|
|
2258
2258
|
const V = l[L.type], A = V ? V({ [L.type]: L.value, index: w, parts: m }) : [L.value];
|
|
2259
2259
|
return rr(A) && (A[0].key = `${L.type}-${w}`), A;
|
|
2260
2260
|
}) : P(m) && (p = [m]);
|
|
2261
|
-
const N = de(ee(), a), O = P(e.tag) || K(e.tag) ? e.tag :
|
|
2261
|
+
const N = de(ee(), a), O = P(e.tag) || K(e.tag) ? e.tag : Yn();
|
|
2262
2262
|
return An(O, N, p);
|
|
2263
2263
|
};
|
|
2264
2264
|
}
|
|
@@ -2280,14 +2280,14 @@ de({
|
|
|
2280
2280
|
type: [String, Object]
|
|
2281
2281
|
}
|
|
2282
2282
|
}, Kt);
|
|
2283
|
-
const lr = /* @__PURE__ */
|
|
2283
|
+
const lr = /* @__PURE__ */ Ue("global-vue-i18n");
|
|
2284
2284
|
function Et(e = {}) {
|
|
2285
2285
|
const t = xt();
|
|
2286
2286
|
if (t == null)
|
|
2287
2287
|
throw nt(Be.MUST_BE_CALL_SETUP_TOP);
|
|
2288
2288
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
2289
2289
|
throw nt(Be.NOT_INSTALLED);
|
|
2290
|
-
const n = or(t), s = cr(n), l =
|
|
2290
|
+
const n = or(t), s = cr(n), l = Zn(t), a = ir(e, l);
|
|
2291
2291
|
if (a === "global")
|
|
2292
2292
|
return er(s, e, l), s;
|
|
2293
2293
|
if (a === "parent") {
|
|
@@ -2309,7 +2309,7 @@ function or(e) {
|
|
|
2309
2309
|
return t;
|
|
2310
2310
|
}
|
|
2311
2311
|
function ir(e, t) {
|
|
2312
|
-
return
|
|
2312
|
+
return ht(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
|
|
2313
2313
|
}
|
|
2314
2314
|
function cr(e) {
|
|
2315
2315
|
return e.mode === "composition" ? e.global : e.global.__composer;
|
|
@@ -2336,7 +2336,7 @@ function mr(e, t = !1) {
|
|
|
2336
2336
|
return e == null ? null : t && e.vnode.ctx || e.parent;
|
|
2337
2337
|
}
|
|
2338
2338
|
function dr(e, t, n) {
|
|
2339
|
-
|
|
2339
|
+
Rn(() => {
|
|
2340
2340
|
}, t), zn(() => {
|
|
2341
2341
|
const s = n;
|
|
2342
2342
|
e.__deleteInstance(t);
|
|
@@ -2345,7 +2345,7 @@ function dr(e, t, n) {
|
|
|
2345
2345
|
}, t);
|
|
2346
2346
|
}
|
|
2347
2347
|
Qa();
|
|
2348
|
-
|
|
2348
|
+
Ra(ua);
|
|
2349
2349
|
Aa(La);
|
|
2350
2350
|
Sa(Mn);
|
|
2351
2351
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
@@ -2371,7 +2371,7 @@ const ct = /* @__PURE__ */ ke({
|
|
|
2371
2371
|
}, {
|
|
2372
2372
|
content: pe(() => [
|
|
2373
2373
|
se("div", null, Ie($(t)("team.memberForm.permissions.inherited")), 1),
|
|
2374
|
-
(Q(!0), oe(Oe, null,
|
|
2374
|
+
(Q(!0), oe(Oe, null, be(e.item.setNames, (c) => (Q(), oe("div", { key: c }, [
|
|
2375
2375
|
se("div", null, "- " + Ie(c), 1)
|
|
2376
2376
|
]))), 128))
|
|
2377
2377
|
]),
|
|
@@ -2409,212 +2409,212 @@ const On = Object.values(is), fr = {
|
|
|
2409
2409
|
function _r(e, t, n, s) {
|
|
2410
2410
|
const { t: l } = He(), { getFlagValue: a, getFlag: c } = os(), u = q(() => {
|
|
2411
2411
|
var I;
|
|
2412
|
-
const
|
|
2412
|
+
const b = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new Map();
|
|
2413
2413
|
for (const F of t.value) {
|
|
2414
2414
|
const x = F.category;
|
|
2415
|
-
x && (n.value.includes(F.subject) || F.showByFeatureFlag && ((I = c(F.showByFeatureFlag)) == null ? void 0 : I.enabled) === !1 && a(F.showByFeatureFlag) === "true" || (
|
|
2415
|
+
x && (n.value.includes(F.subject) || F.showByFeatureFlag && ((I = c(F.showByFeatureFlag)) == null ? void 0 : I.enabled) === !1 && a(F.showByFeatureFlag) === "true" || (b.has(x) || b.set(x, []), b.get(x).push({
|
|
2416
2416
|
label: l(`permissionSet.permissionLabels.${F.subject}`, F.label),
|
|
2417
2417
|
value: F.subject
|
|
2418
|
-
}),
|
|
2418
|
+
}), h.set(F.subject, F)));
|
|
2419
2419
|
}
|
|
2420
|
-
return [...
|
|
2421
|
-
const y = On.indexOf(F),
|
|
2422
|
-
return y === -1 &&
|
|
2420
|
+
return [...b.keys()].sort((F, x) => {
|
|
2421
|
+
const y = On.indexOf(F), R = On.indexOf(x);
|
|
2422
|
+
return y === -1 && R === -1 ? F.localeCompare(x) : y === -1 ? 1 : R === -1 ? -1 : y - R;
|
|
2423
2423
|
}).map((F) => {
|
|
2424
|
-
const x =
|
|
2424
|
+
const x = b.get(F), y = l(`permissionSet.categoryLabels.${F}`, F), R = /* @__PURE__ */ new Map();
|
|
2425
2425
|
for (const H of x) {
|
|
2426
|
-
const
|
|
2427
|
-
|
|
2426
|
+
const X = h.get(H.value);
|
|
2427
|
+
X && R.set(H.value, X.actions);
|
|
2428
2428
|
}
|
|
2429
2429
|
const v = x.some((H) => {
|
|
2430
|
-
const
|
|
2431
|
-
return
|
|
2430
|
+
const X = R.get(H.value);
|
|
2431
|
+
return X && X.length > 1;
|
|
2432
2432
|
}), G = v ? [
|
|
2433
2433
|
...new Set(
|
|
2434
|
-
x.flatMap((H) =>
|
|
2434
|
+
x.flatMap((H) => R.get(H.value) ?? []).filter((H) => H !== "manage")
|
|
2435
2435
|
)
|
|
2436
2436
|
] : [], W = /* @__PURE__ */ new Map();
|
|
2437
2437
|
for (const H of e.value)
|
|
2438
|
-
x.some((
|
|
2439
|
-
const
|
|
2440
|
-
(H) => x.some((
|
|
2441
|
-
).map((H) => H.subject) : e.value.filter((H) => x.some((
|
|
2442
|
-
var
|
|
2443
|
-
return (
|
|
2444
|
-
}), B = (te == null ? void 0 : te.value) ?? null,
|
|
2438
|
+
x.some((X) => X.value === H.subject) && !H.inverted && W.set(H.subject, new Set(H.actions));
|
|
2439
|
+
const U = v ? e.value.filter(
|
|
2440
|
+
(H) => x.some((X) => X.value === H.subject) && !H.inverted && H.actions.includes("manage")
|
|
2441
|
+
).map((H) => H.subject) : e.value.filter((H) => x.some((X) => X.value === H.subject) && !H.inverted).map((H) => H.subject), te = x.find((H) => {
|
|
2442
|
+
var X;
|
|
2443
|
+
return (X = h.get(H.value)) == null ? void 0 : X.isCategoryCover;
|
|
2444
|
+
}), B = (te == null ? void 0 : te.value) ?? null, he = B ? W.get(B) ?? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set(), fe = he.has("manage");
|
|
2445
2445
|
return {
|
|
2446
2446
|
category: F,
|
|
2447
2447
|
label: y,
|
|
2448
2448
|
options: x,
|
|
2449
|
-
selectedSubjects:
|
|
2449
|
+
selectedSubjects: U,
|
|
2450
2450
|
isMultiAction: v,
|
|
2451
2451
|
actionColumns: G,
|
|
2452
|
-
permissionActionsMap:
|
|
2452
|
+
permissionActionsMap: R,
|
|
2453
2453
|
selectedActionsMap: W,
|
|
2454
2454
|
coverSubject: B,
|
|
2455
|
-
coverSelectedActions:
|
|
2455
|
+
coverSelectedActions: he,
|
|
2456
2456
|
coverCoversAll: fe
|
|
2457
2457
|
};
|
|
2458
2458
|
});
|
|
2459
2459
|
});
|
|
2460
|
-
function m(
|
|
2460
|
+
function m(b, h) {
|
|
2461
2461
|
var I;
|
|
2462
|
-
const
|
|
2462
|
+
const C = ((I = u.value.find((F) => F.category === b)) == null ? void 0 : I.options) ?? [];
|
|
2463
2463
|
s("update:model-value", [
|
|
2464
|
-
...e.value.filter((F) => !
|
|
2465
|
-
...t.value.filter((F) =>
|
|
2466
|
-
({ category: F, showByFeatureFlag: x, isCategoryCover: y, ...
|
|
2464
|
+
...e.value.filter((F) => !C.some((x) => x.value === F.subject)),
|
|
2465
|
+
...t.value.filter((F) => h.includes(F.subject)).map(
|
|
2466
|
+
({ category: F, showByFeatureFlag: x, isCategoryCover: y, ...R }) => R
|
|
2467
2467
|
)
|
|
2468
2468
|
]);
|
|
2469
2469
|
}
|
|
2470
|
-
function p(
|
|
2471
|
-
return
|
|
2470
|
+
function p(b) {
|
|
2471
|
+
return b.options.length > 0 && b.options.every((h) => b.selectedSubjects.includes(h.value));
|
|
2472
2472
|
}
|
|
2473
|
-
function N(
|
|
2474
|
-
if (
|
|
2475
|
-
const
|
|
2476
|
-
(
|
|
2473
|
+
function N(b) {
|
|
2474
|
+
if (b.options.length === 0) return !1;
|
|
2475
|
+
const h = b.options.filter(
|
|
2476
|
+
(C) => b.selectedSubjects.includes(C.value)
|
|
2477
2477
|
).length;
|
|
2478
|
-
return
|
|
2478
|
+
return h > 0 && h < b.options.length;
|
|
2479
2479
|
}
|
|
2480
|
-
function O(
|
|
2481
|
-
const
|
|
2482
|
-
(
|
|
2480
|
+
function O(b) {
|
|
2481
|
+
const h = e.value.filter(
|
|
2482
|
+
(C) => !b.options.some((I) => I.value === C.subject)
|
|
2483
2483
|
);
|
|
2484
|
-
if (p(
|
|
2485
|
-
s("update:model-value",
|
|
2484
|
+
if (p(b))
|
|
2485
|
+
s("update:model-value", h);
|
|
2486
2486
|
else {
|
|
2487
|
-
const
|
|
2487
|
+
const C = t.value.filter((I) => b.options.some((F) => F.value === I.subject)).map(
|
|
2488
2488
|
({ category: I, showByFeatureFlag: F, isCategoryCover: x, ...y }) => y
|
|
2489
2489
|
);
|
|
2490
|
-
s("update:model-value", [...
|
|
2490
|
+
s("update:model-value", [...h, ...C]);
|
|
2491
2491
|
}
|
|
2492
2492
|
}
|
|
2493
|
-
function L(
|
|
2494
|
-
const
|
|
2495
|
-
return
|
|
2493
|
+
function L(b, h) {
|
|
2494
|
+
const C = b.selectedActionsMap.get(h);
|
|
2495
|
+
return C ? C.has("manage") : !1;
|
|
2496
2496
|
}
|
|
2497
|
-
function w(
|
|
2498
|
-
const
|
|
2499
|
-
if (!
|
|
2500
|
-
const I =
|
|
2497
|
+
function w(b, h) {
|
|
2498
|
+
const C = b.permissionActionsMap.get(h);
|
|
2499
|
+
if (!C) return !1;
|
|
2500
|
+
const I = C.filter((y) => y !== "manage");
|
|
2501
2501
|
if (I.length === 0) return !1;
|
|
2502
|
-
const F =
|
|
2502
|
+
const F = b.selectedActionsMap.get(h);
|
|
2503
2503
|
if (!F) return !1;
|
|
2504
2504
|
const x = I.filter((y) => F.has(y));
|
|
2505
2505
|
return x.length > 0 && x.length < I.length;
|
|
2506
2506
|
}
|
|
2507
|
-
function V(
|
|
2508
|
-
if (
|
|
2509
|
-
const I = t.value.find((G) => G.subject ===
|
|
2507
|
+
function V(b, h, C) {
|
|
2508
|
+
if (C) {
|
|
2509
|
+
const I = t.value.find((G) => G.subject === h);
|
|
2510
2510
|
if (!I) return;
|
|
2511
2511
|
const {
|
|
2512
2512
|
category: F,
|
|
2513
2513
|
showByFeatureFlag: x,
|
|
2514
2514
|
isCategoryCover: y,
|
|
2515
|
-
...
|
|
2516
|
-
} = I, v = e.value.filter((G) => G.subject !==
|
|
2517
|
-
v.push(
|
|
2515
|
+
...R
|
|
2516
|
+
} = I, v = e.value.filter((G) => G.subject !== h);
|
|
2517
|
+
v.push(R), s("update:model-value", v);
|
|
2518
2518
|
} else
|
|
2519
2519
|
s(
|
|
2520
2520
|
"update:model-value",
|
|
2521
|
-
e.value.filter((I) => I.subject !==
|
|
2521
|
+
e.value.filter((I) => I.subject !== h)
|
|
2522
2522
|
);
|
|
2523
2523
|
}
|
|
2524
|
-
function A(
|
|
2525
|
-
const
|
|
2526
|
-
return
|
|
2524
|
+
function A(b, h) {
|
|
2525
|
+
const C = b.permissionActionsMap.get(h);
|
|
2526
|
+
return C ? C.some((I) => I !== "manage") : !1;
|
|
2527
2527
|
}
|
|
2528
|
-
function M(
|
|
2529
|
-
const I =
|
|
2530
|
-
return I ? I.has(
|
|
2528
|
+
function M(b, h, C) {
|
|
2529
|
+
const I = b.selectedActionsMap.get(h);
|
|
2530
|
+
return I ? I.has(C) : !1;
|
|
2531
2531
|
}
|
|
2532
|
-
function i(
|
|
2533
|
-
return !
|
|
2532
|
+
function i(b, h) {
|
|
2533
|
+
return !b.coverSubject || h === b.coverSubject ? !1 : b.coverCoversAll;
|
|
2534
2534
|
}
|
|
2535
|
-
function d(
|
|
2536
|
-
return !
|
|
2535
|
+
function d(b, h, C) {
|
|
2536
|
+
return !b.coverSubject || h === b.coverSubject ? !1 : b.coverCoversAll ? !0 : b.coverSelectedActions.has(C);
|
|
2537
2537
|
}
|
|
2538
|
-
function T(
|
|
2539
|
-
const I =
|
|
2540
|
-
return I ? I.includes(
|
|
2538
|
+
function T(b, h, C) {
|
|
2539
|
+
const I = b.permissionActionsMap.get(h);
|
|
2540
|
+
return I ? I.includes(C) : !1;
|
|
2541
2541
|
}
|
|
2542
|
-
function _(
|
|
2543
|
-
const I = [...e.value], F = I.findIndex((y) => y.subject ===
|
|
2544
|
-
if (
|
|
2542
|
+
function _(b, h, C) {
|
|
2543
|
+
const I = [...e.value], F = I.findIndex((y) => y.subject === b && !y.inverted);
|
|
2544
|
+
if (C)
|
|
2545
2545
|
if (F >= 0) {
|
|
2546
|
-
const y = { ...I[F] },
|
|
2547
|
-
|
|
2546
|
+
const y = { ...I[F] }, R = new Set(y.actions);
|
|
2547
|
+
R.add(h), y.actions = Array.from(R), I[F] = y;
|
|
2548
2548
|
} else {
|
|
2549
|
-
const y = t.value.find((
|
|
2549
|
+
const y = t.value.find((U) => U.subject === b);
|
|
2550
2550
|
if (!y) return;
|
|
2551
2551
|
const {
|
|
2552
|
-
category:
|
|
2552
|
+
category: R,
|
|
2553
2553
|
showByFeatureFlag: v,
|
|
2554
2554
|
isCategoryCover: G,
|
|
2555
2555
|
...W
|
|
2556
2556
|
} = y;
|
|
2557
|
-
I.push({ ...W, actions: [
|
|
2557
|
+
I.push({ ...W, actions: [h] });
|
|
2558
2558
|
}
|
|
2559
2559
|
else if (F >= 0) {
|
|
2560
|
-
const y = { ...I[F] },
|
|
2561
|
-
|
|
2560
|
+
const y = { ...I[F] }, R = y.actions.filter((v) => v !== h);
|
|
2561
|
+
R.length === 0 ? I.splice(F, 1) : (y.actions = R, I[F] = y);
|
|
2562
2562
|
}
|
|
2563
|
-
const x = t.value.find((y) => y.subject ===
|
|
2564
|
-
x && Ln(I,
|
|
2563
|
+
const x = t.value.find((y) => y.subject === b);
|
|
2564
|
+
x && Ln(I, b, x.actions), s("update:model-value", I);
|
|
2565
2565
|
}
|
|
2566
|
-
function D(
|
|
2567
|
-
const
|
|
2568
|
-
(I) => T(
|
|
2566
|
+
function D(b, h) {
|
|
2567
|
+
const C = b.options.filter(
|
|
2568
|
+
(I) => T(b, I.value, h)
|
|
2569
2569
|
);
|
|
2570
|
-
return
|
|
2571
|
-
(I) => M(
|
|
2570
|
+
return C.length === 0 ? !1 : C.every(
|
|
2571
|
+
(I) => M(b, I.value, h) || d(b, I.value, h)
|
|
2572
2572
|
);
|
|
2573
2573
|
}
|
|
2574
|
-
function S(
|
|
2575
|
-
const
|
|
2576
|
-
(F) => T(
|
|
2574
|
+
function S(b, h) {
|
|
2575
|
+
const C = b.options.filter(
|
|
2576
|
+
(F) => T(b, F.value, h)
|
|
2577
2577
|
);
|
|
2578
|
-
if (
|
|
2579
|
-
const I =
|
|
2580
|
-
(F) => M(
|
|
2578
|
+
if (C.length === 0) return !1;
|
|
2579
|
+
const I = C.filter(
|
|
2580
|
+
(F) => M(b, F.value, h) || d(b, F.value, h)
|
|
2581
2581
|
).length;
|
|
2582
|
-
return I > 0 && I <
|
|
2582
|
+
return I > 0 && I < C.length;
|
|
2583
2583
|
}
|
|
2584
|
-
function E(
|
|
2584
|
+
function E(b, h, C) {
|
|
2585
2585
|
const I = [...e.value];
|
|
2586
|
-
for (const F of
|
|
2587
|
-
if (!T(
|
|
2586
|
+
for (const F of b.options) {
|
|
2587
|
+
if (!T(b, F.value, h)) continue;
|
|
2588
2588
|
const x = F.value, y = I.findIndex(
|
|
2589
2589
|
(v) => v.subject === x && !v.inverted
|
|
2590
2590
|
);
|
|
2591
|
-
if (
|
|
2591
|
+
if (C)
|
|
2592
2592
|
if (y >= 0) {
|
|
2593
2593
|
const v = { ...I[y] }, G = new Set(v.actions);
|
|
2594
|
-
G.add(
|
|
2594
|
+
G.add(h), v.actions = Array.from(G), I[y] = v;
|
|
2595
2595
|
} else {
|
|
2596
2596
|
const v = t.value.find((B) => B.subject === x);
|
|
2597
2597
|
if (!v) continue;
|
|
2598
2598
|
const {
|
|
2599
2599
|
category: G,
|
|
2600
2600
|
showByFeatureFlag: W,
|
|
2601
|
-
isCategoryCover:
|
|
2601
|
+
isCategoryCover: U,
|
|
2602
2602
|
...te
|
|
2603
2603
|
} = v;
|
|
2604
|
-
I.push({ ...te, actions: [
|
|
2604
|
+
I.push({ ...te, actions: [h] });
|
|
2605
2605
|
}
|
|
2606
2606
|
else if (y >= 0) {
|
|
2607
|
-
const v = { ...I[y] }, G = v.actions.filter((W) => W !==
|
|
2607
|
+
const v = { ...I[y] }, G = v.actions.filter((W) => W !== h);
|
|
2608
2608
|
G.length === 0 ? I.splice(y, 1) : (v.actions = G, I[y] = v);
|
|
2609
2609
|
}
|
|
2610
|
-
const
|
|
2611
|
-
|
|
2610
|
+
const R = t.value.find((v) => v.subject === x);
|
|
2611
|
+
R && Ln(I, x, R.actions);
|
|
2612
2612
|
}
|
|
2613
2613
|
s("update:model-value", I);
|
|
2614
2614
|
}
|
|
2615
|
-
function
|
|
2616
|
-
const
|
|
2617
|
-
return l(
|
|
2615
|
+
function Y(b) {
|
|
2616
|
+
const h = `permissionSet.actionLabels.${b}`, C = fr[b] ?? b.charAt(0).toUpperCase() + b.slice(1);
|
|
2617
|
+
return l(h, C);
|
|
2618
2618
|
}
|
|
2619
2619
|
return {
|
|
2620
2620
|
categoryGroups: u,
|
|
@@ -2634,10 +2634,10 @@ function _r(e, t, n, s) {
|
|
|
2634
2634
|
isAllActionChecked: D,
|
|
2635
2635
|
isAllActionIndeterminate: S,
|
|
2636
2636
|
toggleAllAction: E,
|
|
2637
|
-
actionLabel:
|
|
2637
|
+
actionLabel: Y
|
|
2638
2638
|
};
|
|
2639
2639
|
}
|
|
2640
|
-
const pr = { class: "flex flex-col gap-16" }, gr = { class: "fm-typo-en-title-sm-600" },
|
|
2640
|
+
const pr = { class: "flex flex-col gap-16" }, gr = { class: "fm-typo-en-title-sm-600" }, hr = { class: "mt-16" }, br = { class: "text-center text-sm font-semibold text-fm-color-typo-primary" }, vr = ["onClick"], Er = { class: "flex justify-center" }, Ir = { class: "flex items-center min-w-0 gap-8" }, yr = ["title", "onClick"], Nr = { class: "flex justify-center" }, Tr = /* @__PURE__ */ ke({
|
|
2641
2641
|
__name: "BasePermission",
|
|
2642
2642
|
props: {
|
|
2643
2643
|
modelValue: {
|
|
@@ -2680,110 +2680,110 @@ const pr = { class: "flex flex-col gap-16" }, gr = { class: "fm-typo-en-title-sm
|
|
|
2680
2680
|
zt(n, "modelValue"),
|
|
2681
2681
|
a,
|
|
2682
2682
|
zt(n, "excludedSubjects"),
|
|
2683
|
-
(E,
|
|
2683
|
+
(E, Y) => s("update:model-value", Y)
|
|
2684
2684
|
);
|
|
2685
2685
|
function S(E) {
|
|
2686
|
-
const
|
|
2687
|
-
return
|
|
2686
|
+
const Y = E.selectedSubjects.length;
|
|
2687
|
+
return Y === 0 ? "" : l("team.memberForm.permissions.allowedCount", { count: Y });
|
|
2688
2688
|
}
|
|
2689
|
-
return (E,
|
|
2690
|
-
const
|
|
2689
|
+
return (E, Y) => {
|
|
2690
|
+
const b = qe("FmCheckbox");
|
|
2691
2691
|
return Q(), oe("div", pr, [
|
|
2692
|
-
(Q(!0), oe(Oe, null,
|
|
2693
|
-
key:
|
|
2694
|
-
subtitle: S(
|
|
2692
|
+
(Q(!0), oe(Oe, null, be($(c), (h) => (Q(), Me(Xt, {
|
|
2693
|
+
key: h.category,
|
|
2694
|
+
subtitle: S(h)
|
|
2695
2695
|
}, {
|
|
2696
2696
|
title: pe(() => [
|
|
2697
|
-
se("p", gr, Ie(
|
|
2697
|
+
se("p", gr, Ie(h.label), 1)
|
|
2698
2698
|
]),
|
|
2699
2699
|
default: pe(() => [
|
|
2700
|
-
se("div",
|
|
2700
|
+
se("div", hr, [
|
|
2701
2701
|
se("div", {
|
|
2702
2702
|
class: "grid items-center px-12 py-8",
|
|
2703
|
-
style:
|
|
2704
|
-
gridTemplateColumns: `minmax(0, 1fr) repeat(${
|
|
2703
|
+
style: Xe({
|
|
2704
|
+
gridTemplateColumns: `minmax(0, 1fr) repeat(${h.actionColumns.length + 1}, 80px)`
|
|
2705
2705
|
})
|
|
2706
2706
|
}, [
|
|
2707
|
-
|
|
2708
|
-
se("div",
|
|
2709
|
-
(Q(!0), oe(Oe, null,
|
|
2710
|
-
key: `header-${
|
|
2707
|
+
Y[0] || (Y[0] = se("div", null, null, -1)),
|
|
2708
|
+
se("div", br, Ie($(l)("team.memberForm.permissions.columnManage")), 1),
|
|
2709
|
+
(Q(!0), oe(Oe, null, be(h.actionColumns, (C) => (Q(), oe("div", {
|
|
2710
|
+
key: `header-${C}`,
|
|
2711
2711
|
class: "text-center text-sm font-semibold text-fm-color-typo-primary"
|
|
2712
|
-
}, Ie($(D)(
|
|
2712
|
+
}, Ie($(D)(C)), 1))), 128))
|
|
2713
2713
|
], 4),
|
|
2714
2714
|
se("div", {
|
|
2715
2715
|
class: "grid items-center bg-fm-color-neutral-gray-100 px-12 py-8",
|
|
2716
|
-
style:
|
|
2717
|
-
gridTemplateColumns: `minmax(0, 1fr) repeat(${
|
|
2716
|
+
style: Xe({
|
|
2717
|
+
gridTemplateColumns: `minmax(0, 1fr) repeat(${h.actionColumns.length + 1}, 80px)`
|
|
2718
2718
|
})
|
|
2719
2719
|
}, [
|
|
2720
2720
|
se("div", {
|
|
2721
2721
|
class: "cursor-pointer font-semibold",
|
|
2722
|
-
onClick: (
|
|
2722
|
+
onClick: (C) => !e.disable && $(p)(h)
|
|
2723
2723
|
}, Ie($(l)("team.labels.all")), 9, vr),
|
|
2724
2724
|
se("div", Er, [
|
|
2725
|
-
_e(
|
|
2726
|
-
"model-value": $(u)(
|
|
2727
|
-
indeterminate: $(m)(
|
|
2725
|
+
_e(b, {
|
|
2726
|
+
"model-value": $(u)(h),
|
|
2727
|
+
indeterminate: $(m)(h),
|
|
2728
2728
|
value: !0,
|
|
2729
2729
|
disabled: e.disable,
|
|
2730
2730
|
size: "sm",
|
|
2731
2731
|
dense: "",
|
|
2732
|
-
"onUpdate:modelValue": (
|
|
2732
|
+
"onUpdate:modelValue": (C) => $(p)(h)
|
|
2733
2733
|
}, null, 8, ["model-value", "indeterminate", "disabled", "onUpdate:modelValue"])
|
|
2734
2734
|
]),
|
|
2735
|
-
(Q(!0), oe(Oe, null,
|
|
2736
|
-
key: `all-${
|
|
2735
|
+
(Q(!0), oe(Oe, null, be(h.actionColumns, (C) => (Q(), oe("div", {
|
|
2736
|
+
key: `all-${C}`,
|
|
2737
2737
|
class: "flex justify-center"
|
|
2738
2738
|
}, [
|
|
2739
|
-
_e(
|
|
2740
|
-
"model-value": $(d)(
|
|
2741
|
-
indeterminate: $(T)(
|
|
2742
|
-
value:
|
|
2739
|
+
_e(b, {
|
|
2740
|
+
"model-value": $(d)(h, C),
|
|
2741
|
+
indeterminate: $(T)(h, C),
|
|
2742
|
+
value: C,
|
|
2743
2743
|
disabled: e.disable,
|
|
2744
2744
|
size: "sm",
|
|
2745
2745
|
dense: "",
|
|
2746
|
-
"onUpdate:modelValue": (I) => $(_)(
|
|
2746
|
+
"onUpdate:modelValue": (I) => $(_)(h, C, I)
|
|
2747
2747
|
}, null, 8, ["model-value", "indeterminate", "value", "disabled", "onUpdate:modelValue"])
|
|
2748
2748
|
]))), 128))
|
|
2749
2749
|
], 4),
|
|
2750
|
-
|
|
2751
|
-
(Q(!0), oe(Oe, null,
|
|
2752
|
-
key:
|
|
2750
|
+
Y[1] || (Y[1] = se("div", { class: "h-px bg-fm-color-neutral-gray-200" }, null, -1)),
|
|
2751
|
+
(Q(!0), oe(Oe, null, be(h.options, (C) => (Q(), oe("div", {
|
|
2752
|
+
key: C.value,
|
|
2753
2753
|
class: "grid items-center rounded px-12 py-8 transition-colors hover:bg-fm-color-neutral-gray-100",
|
|
2754
|
-
style:
|
|
2755
|
-
gridTemplateColumns: `minmax(0, 1fr) repeat(${
|
|
2754
|
+
style: Xe({
|
|
2755
|
+
gridTemplateColumns: `minmax(0, 1fr) repeat(${h.actionColumns.length + 1}, 80px)`
|
|
2756
2756
|
})
|
|
2757
2757
|
}, [
|
|
2758
2758
|
se("div", Ir, [
|
|
2759
2759
|
se("span", {
|
|
2760
2760
|
class: "block truncate cursor-pointer",
|
|
2761
|
-
title:
|
|
2762
|
-
onClick: (I) => !e.disable && !$(V)(
|
|
2763
|
-
}, Ie(
|
|
2764
|
-
Te(E.$slots, `checkbox-${
|
|
2761
|
+
title: C.label,
|
|
2762
|
+
onClick: (I) => !e.disable && !$(V)(h, C.value) && $(L)(h, C.value, !$(N)(h, C.value))
|
|
2763
|
+
}, Ie(C.label), 9, yr),
|
|
2764
|
+
Te(E.$slots, `checkbox-${C.value}-append`, { option: C })
|
|
2765
2765
|
]),
|
|
2766
2766
|
se("div", Nr, [
|
|
2767
|
-
_e(
|
|
2768
|
-
"model-value": $(N)(
|
|
2769
|
-
value:
|
|
2770
|
-
disabled: e.disable || $(V)(
|
|
2771
|
-
indeterminate: $(O)(
|
|
2767
|
+
_e(b, {
|
|
2768
|
+
"model-value": $(N)(h, C.value) || $(V)(h, C.value),
|
|
2769
|
+
value: C.value,
|
|
2770
|
+
disabled: e.disable || $(V)(h, C.value),
|
|
2771
|
+
indeterminate: $(O)(h, C.value),
|
|
2772
2772
|
size: "sm",
|
|
2773
|
-
"onUpdate:modelValue": (I) => $(L)(
|
|
2773
|
+
"onUpdate:modelValue": (I) => $(L)(h, C.value, I)
|
|
2774
2774
|
}, null, 8, ["model-value", "value", "disabled", "indeterminate", "onUpdate:modelValue"])
|
|
2775
2775
|
]),
|
|
2776
|
-
(Q(!0), oe(Oe, null,
|
|
2777
|
-
key: `${
|
|
2776
|
+
(Q(!0), oe(Oe, null, be(h.actionColumns, (I) => (Q(), oe("div", {
|
|
2777
|
+
key: `${C.value}-${I}`,
|
|
2778
2778
|
class: "flex justify-center"
|
|
2779
2779
|
}, [
|
|
2780
|
-
$(M)(
|
|
2780
|
+
$(M)(h, C.value, I) ? (Q(), Me(b, {
|
|
2781
2781
|
key: 0,
|
|
2782
|
-
"model-value": $(w)(
|
|
2782
|
+
"model-value": $(w)(h, C.value, I) || $(A)(h, C.value, I),
|
|
2783
2783
|
value: I,
|
|
2784
|
-
disabled: e.disable || $(A)(
|
|
2784
|
+
disabled: e.disable || $(A)(h, C.value, I),
|
|
2785
2785
|
size: "sm",
|
|
2786
|
-
"onUpdate:modelValue": (F) => $(i)(
|
|
2786
|
+
"onUpdate:modelValue": (F) => $(i)(C.value, I, F)
|
|
2787
2787
|
}, null, 8, ["model-value", "value", "disabled", "onUpdate:modelValue"])) : Se("", !0)
|
|
2788
2788
|
]))), 128))
|
|
2789
2789
|
], 4))), 128))
|
|
@@ -2800,7 +2800,7 @@ const pr = { class: "flex flex-col gap-16" }, gr = { class: "fm-typo-en-title-sm
|
|
|
2800
2800
|
}, Or = {
|
|
2801
2801
|
key: 0,
|
|
2802
2802
|
class: "q-mr-xs text-red col"
|
|
2803
|
-
},
|
|
2803
|
+
}, Cr = { class: "form-input" }, Rr = /* @__PURE__ */ ke({
|
|
2804
2804
|
__name: "AppForm",
|
|
2805
2805
|
props: {
|
|
2806
2806
|
title: {
|
|
@@ -2828,7 +2828,7 @@ const pr = { class: "flex flex-col gap-16" }, gr = { class: "fm-typo-en-title-sm
|
|
|
2828
2828
|
Te(n.$slots, "title-right")
|
|
2829
2829
|
])) : Se("", !0)
|
|
2830
2830
|
]),
|
|
2831
|
-
se("div",
|
|
2831
|
+
se("div", Cr, [
|
|
2832
2832
|
Te(n.$slots, "default")
|
|
2833
2833
|
])
|
|
2834
2834
|
]));
|
|
@@ -2922,7 +2922,7 @@ const Sr = { class: "col flex items-center" }, Mr = {
|
|
|
2922
2922
|
}
|
|
2923
2923
|
return (A, M) => {
|
|
2924
2924
|
const i = qe("FmCheckbox");
|
|
2925
|
-
return Q(), Me(
|
|
2925
|
+
return Q(), Me(Rr, {
|
|
2926
2926
|
id: m,
|
|
2927
2927
|
title: e.title,
|
|
2928
2928
|
required: !1
|
|
@@ -2936,15 +2936,15 @@ const Sr = { class: "col flex items-center" }, Mr = {
|
|
|
2936
2936
|
"model-value": L.value,
|
|
2937
2937
|
disabled: e.disable,
|
|
2938
2938
|
label: O.value,
|
|
2939
|
-
style:
|
|
2939
|
+
style: Xe(`margin-bottom: ${n.gutter}px`),
|
|
2940
2940
|
size: "sm",
|
|
2941
2941
|
dense: "",
|
|
2942
2942
|
value: O.value,
|
|
2943
2943
|
"onUpdate:modelValue": w
|
|
2944
2944
|
}, null, 8, ["model-value", "disabled", "label", "style", "value"])) : Se("", !0),
|
|
2945
|
-
(Q(!0), oe(Oe, null,
|
|
2945
|
+
(Q(!0), oe(Oe, null, be(e.options, (d, T) => (Q(), oe("div", {
|
|
2946
2946
|
key: d.value,
|
|
2947
|
-
style:
|
|
2947
|
+
style: Xe(`margin-bottom: ${T < e.options.length - 1 ? n.gutter : 0}px`),
|
|
2948
2948
|
class: rt(T < e.options.length - 1 ? "q-mb-sm" : "")
|
|
2949
2949
|
}, [
|
|
2950
2950
|
se("div", {
|
|
@@ -2978,7 +2978,7 @@ const Sr = { class: "col flex items-center" }, Mr = {
|
|
|
2978
2978
|
$(c)[`checkbox-${d.key || d.value}-bottom`] && (e.modelValue.includes(d.value) || e.falsyShowSlot) ? (Q(), oe("div", {
|
|
2979
2979
|
key: 0,
|
|
2980
2980
|
class: rt(["q-mt-sm", { "q-checkbox disabled": e.disable || d.disabled }]),
|
|
2981
|
-
style:
|
|
2981
|
+
style: Xe(`margin-left: ${e.bottomSlotIndent}`)
|
|
2982
2982
|
}, [
|
|
2983
2983
|
Te(A.$slots, `checkbox-${d.key || d.value}-bottom`, {
|
|
2984
2984
|
option: d,
|
|
@@ -2993,7 +2993,7 @@ const Sr = { class: "col flex items-center" }, Mr = {
|
|
|
2993
2993
|
}, 8, ["title"]);
|
|
2994
2994
|
};
|
|
2995
2995
|
}
|
|
2996
|
-
}), Dr = { class: "fm-typo-en-title-sm-600" }, ut = "includedFuture",
|
|
2996
|
+
}), Dr = { class: "fm-typo-en-title-sm-600" }, ut = "includedFuture", Cn = /* @__PURE__ */ ke({
|
|
2997
2997
|
__name: "ConditionPermission",
|
|
2998
2998
|
props: {
|
|
2999
2999
|
modelValue: {
|
|
@@ -3036,7 +3036,7 @@ const Sr = { class: "col flex items-center" }, Mr = {
|
|
|
3036
3036
|
const p = gt("");
|
|
3037
3037
|
return (N, O) => {
|
|
3038
3038
|
const L = qe("fm-search");
|
|
3039
|
-
return Q(), Me(
|
|
3039
|
+
return Q(), Me(Xt, { subtitle: u.value }, {
|
|
3040
3040
|
title: pe(() => [
|
|
3041
3041
|
se("p", Dr, Ie($(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
3042
3042
|
]),
|
|
@@ -3059,7 +3059,7 @@ const Sr = { class: "col flex items-center" }, Mr = {
|
|
|
3059
3059
|
class: "mt-16",
|
|
3060
3060
|
"onUpdate:modelValue": m
|
|
3061
3061
|
}, xe({ _: 2 }, [
|
|
3062
|
-
|
|
3062
|
+
be(a.value, (w) => ({
|
|
3063
3063
|
name: `checkbox-${w.value}-append`,
|
|
3064
3064
|
fn: pe(({ option: V }) => [
|
|
3065
3065
|
Te(N.$slots, `checkbox-${w.value}-append`, { option: V })
|
|
@@ -3115,7 +3115,7 @@ const Sr = { class: "col flex items-center" }, Mr = {
|
|
|
3115
3115
|
const N = p.length === a.value.length;
|
|
3116
3116
|
s("update:model-value", N ? null : p.filter((O) => O !== mt));
|
|
3117
3117
|
}
|
|
3118
|
-
return (p, N) => (Q(), Me(
|
|
3118
|
+
return (p, N) => (Q(), Me(Xt, { subtitle: u.value }, {
|
|
3119
3119
|
title: pe(() => [
|
|
3120
3120
|
se("p", wr, Ie($(l)("team.memberForm.permissions.roles")), 1)
|
|
3121
3121
|
]),
|
|
@@ -3130,7 +3130,7 @@ const Sr = { class: "col flex items-center" }, Mr = {
|
|
|
3130
3130
|
class: "mt-16",
|
|
3131
3131
|
"onUpdate:modelValue": m
|
|
3132
3132
|
}, xe({ _: 2 }, [
|
|
3133
|
-
|
|
3133
|
+
be(a.value, (O) => ({
|
|
3134
3134
|
name: `checkbox-${O.value}-append`,
|
|
3135
3135
|
fn: pe(({ option: L }) => [
|
|
3136
3136
|
Te(p.$slots, `checkbox-${O.value}-append`, { option: L })
|
|
@@ -3145,7 +3145,7 @@ const Sr = { class: "col flex items-center" }, Mr = {
|
|
|
3145
3145
|
async readWarehouses() {
|
|
3146
3146
|
return us(await ms().get("/warehouses"));
|
|
3147
3147
|
}
|
|
3148
|
-
},
|
|
3148
|
+
}, Ur = { class: "flex flex-col gap-32" }, jr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Vr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Wr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Gr = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, zr = /* @__PURE__ */ ke({
|
|
3149
3149
|
__name: "PortalPermissionEditor",
|
|
3150
3150
|
props: /* @__PURE__ */ Qt({
|
|
3151
3151
|
disable: {
|
|
@@ -3164,7 +3164,7 @@ const Sr = { class: "col flex items-center" }, Mr = {
|
|
|
3164
3164
|
setup(e, { emit: t }) {
|
|
3165
3165
|
const n = ts(e, "modelValue"), s = e, l = t, { t: a } = He(), { fetchCustomReportPermissions: c, customReportPermissions: u } = ss();
|
|
3166
3166
|
function m(y) {
|
|
3167
|
-
return Mt.find((
|
|
3167
|
+
return Mt.find((R) => R.subject === y) ?? u.value.find((R) => R.subject === y);
|
|
3168
3168
|
}
|
|
3169
3169
|
const p = q(() => {
|
|
3170
3170
|
const y = [...Mt, ...u.value].filter((v) => !w.includes(v.subject)).map((v) => v.subject);
|
|
@@ -3178,38 +3178,38 @@ const Sr = { class: "col flex items-center" }, Mr = {
|
|
|
3178
3178
|
setNames: v.setNames
|
|
3179
3179
|
}));
|
|
3180
3180
|
}), N = q(() => {
|
|
3181
|
-
const y = s.inheritPermissions.map((
|
|
3182
|
-
...
|
|
3183
|
-
permissions:
|
|
3181
|
+
const y = s.inheritPermissions.map((R) => ({
|
|
3182
|
+
...R,
|
|
3183
|
+
permissions: R.permissions.filter(
|
|
3184
3184
|
(v) => v.subject === ue.Subject.Business.inventory_stock
|
|
3185
3185
|
)
|
|
3186
3186
|
}));
|
|
3187
3187
|
return kt(
|
|
3188
3188
|
y,
|
|
3189
3189
|
"warehouseId",
|
|
3190
|
-
A.value.map((
|
|
3190
|
+
A.value.map((R) => R._id)
|
|
3191
3191
|
);
|
|
3192
3192
|
}), O = q(() => {
|
|
3193
|
-
const y = s.inheritPermissions.map((
|
|
3194
|
-
...
|
|
3195
|
-
permissions:
|
|
3193
|
+
const y = s.inheritPermissions.map((R) => ({
|
|
3194
|
+
...R,
|
|
3195
|
+
permissions: R.permissions.filter(
|
|
3196
3196
|
(v) => v.subject === ue.Subject.Restaurant.restaurant
|
|
3197
3197
|
)
|
|
3198
3198
|
}));
|
|
3199
3199
|
return kt(
|
|
3200
3200
|
y,
|
|
3201
3201
|
"restaurantId",
|
|
3202
|
-
T.value.map((
|
|
3202
|
+
T.value.map((R) => R._id)
|
|
3203
3203
|
);
|
|
3204
3204
|
}), L = q(() => {
|
|
3205
|
-
const y = s.inheritPermissions.map((
|
|
3206
|
-
...
|
|
3207
|
-
permissions:
|
|
3205
|
+
const y = s.inheritPermissions.map((R) => ({
|
|
3206
|
+
...R,
|
|
3207
|
+
permissions: R.permissions.filter((v) => v.subject === ue.Subject.Business.role)
|
|
3208
3208
|
}));
|
|
3209
3209
|
return kt(
|
|
3210
3210
|
y,
|
|
3211
3211
|
"roleId",
|
|
3212
|
-
_.value.map((
|
|
3212
|
+
_.value.map((R) => R._id)
|
|
3213
3213
|
);
|
|
3214
3214
|
}), w = [
|
|
3215
3215
|
ue.Subject.Business.restaurant,
|
|
@@ -3217,8 +3217,8 @@ const Sr = { class: "col flex items-center" }, Mr = {
|
|
|
3217
3217
|
ue.Subject.Restaurant.restaurant,
|
|
3218
3218
|
ue.Subject.Business.inventory_stock
|
|
3219
3219
|
], V = q(() => {
|
|
3220
|
-
var
|
|
3221
|
-
const y = (
|
|
3220
|
+
var R;
|
|
3221
|
+
const y = (R = n.value) == null ? void 0 : R.find(
|
|
3222
3222
|
(v) => v.subject === ue.Subject.Business.inventory_stock
|
|
3223
3223
|
);
|
|
3224
3224
|
return y ? y.conditions ? JSON.parse(y.conditions).warehouseId.$in : null : [];
|
|
@@ -3227,42 +3227,42 @@ const Sr = { class: "col flex items-center" }, Mr = {
|
|
|
3227
3227
|
value: y._id
|
|
3228
3228
|
})));
|
|
3229
3229
|
function i(y) {
|
|
3230
|
-
const
|
|
3231
|
-
n.value =
|
|
3230
|
+
const R = d(n.value, y);
|
|
3231
|
+
n.value = R;
|
|
3232
3232
|
}
|
|
3233
|
-
function d(y,
|
|
3233
|
+
function d(y, R) {
|
|
3234
3234
|
let v = dt(
|
|
3235
3235
|
y.filter((G) => G.subject !== ue.Subject.Business.inventory_stock)
|
|
3236
3236
|
);
|
|
3237
|
-
if (!
|
|
3237
|
+
if (!R || R.length > 0) {
|
|
3238
3238
|
const G = {
|
|
3239
3239
|
actions: [ue.Action.manage],
|
|
3240
3240
|
subject: ue.Subject.Business.inventory_stock
|
|
3241
3241
|
};
|
|
3242
|
-
|
|
3242
|
+
R && (G.conditions = JSON.stringify({ warehouseId: { $in: R } })), v.push(G);
|
|
3243
3243
|
}
|
|
3244
3244
|
return v;
|
|
3245
3245
|
}
|
|
3246
3246
|
const { restaurants: T } = ns(), _ = ds().roles, D = q(() => T.value.map((y) => ({
|
|
3247
3247
|
label: `${y.profile.code ? y.profile.code + "-" : ""}${y.profile.name}`,
|
|
3248
3248
|
value: y._id
|
|
3249
|
-
}))), S = q(() => T.value.reduce((y,
|
|
3250
|
-
function
|
|
3251
|
-
const
|
|
3252
|
-
n.value =
|
|
3249
|
+
}))), S = q(() => T.value.reduce((y, R) => (y[R._id] = _.value.filter((v) => v.restaurants.some((G) => G.id === R._id)).map((v) => v._id), y), {})), E = q(() => rs(n.value));
|
|
3250
|
+
function Y(y) {
|
|
3251
|
+
const R = h(n.value, y);
|
|
3252
|
+
n.value = R;
|
|
3253
3253
|
}
|
|
3254
|
-
const
|
|
3255
|
-
function
|
|
3254
|
+
const b = q(() => ls(n.value));
|
|
3255
|
+
function h(y, R) {
|
|
3256
3256
|
var G;
|
|
3257
3257
|
let v = dt(
|
|
3258
3258
|
y.filter(
|
|
3259
3259
|
(W) => W.subject !== ue.Subject.Business.restaurant && W.subject !== ue.Subject.Restaurant.restaurant
|
|
3260
3260
|
)
|
|
3261
3261
|
);
|
|
3262
|
-
if (!
|
|
3262
|
+
if (!R || R.length > 0) {
|
|
3263
3263
|
const {
|
|
3264
3264
|
category: W,
|
|
3265
|
-
showByFeatureFlag:
|
|
3265
|
+
showByFeatureFlag: U,
|
|
3266
3266
|
...te
|
|
3267
3267
|
} = cs.restaurant;
|
|
3268
3268
|
v.push(te);
|
|
@@ -3270,38 +3270,38 @@ const Sr = { class: "col flex items-center" }, Mr = {
|
|
|
3270
3270
|
actions: [ue.Action.manage],
|
|
3271
3271
|
subject: ue.Subject.Restaurant.restaurant
|
|
3272
3272
|
};
|
|
3273
|
-
|
|
3273
|
+
R && (B.conditions = JSON.stringify({ restaurantId: { $in: R } })), v.push(B);
|
|
3274
3274
|
}
|
|
3275
|
-
if (
|
|
3275
|
+
if (R) {
|
|
3276
3276
|
const W = [
|
|
3277
|
-
...new Set(
|
|
3278
|
-
],
|
|
3279
|
-
W.length !==
|
|
3277
|
+
...new Set(R.map((te) => S.value[te]).flatMap((te) => te))
|
|
3278
|
+
], U = _.value.map((te) => te._id);
|
|
3279
|
+
W.length !== U.length && (v = I(
|
|
3280
3280
|
v,
|
|
3281
|
-
(G =
|
|
3281
|
+
(G = b.value || U) == null ? void 0 : G.filter((te) => W.includes(te))
|
|
3282
3282
|
));
|
|
3283
3283
|
}
|
|
3284
3284
|
return v;
|
|
3285
3285
|
}
|
|
3286
|
-
function
|
|
3287
|
-
const
|
|
3288
|
-
n.value =
|
|
3286
|
+
function C(y) {
|
|
3287
|
+
const R = I(n.value, y);
|
|
3288
|
+
n.value = R;
|
|
3289
3289
|
}
|
|
3290
|
-
function I(y,
|
|
3290
|
+
function I(y, R) {
|
|
3291
3291
|
let v = dt(
|
|
3292
3292
|
y.filter((G) => G.subject !== ue.Subject.Business.role)
|
|
3293
3293
|
);
|
|
3294
|
-
if (
|
|
3294
|
+
if (R && R.length > 0) {
|
|
3295
3295
|
const G = {
|
|
3296
3296
|
actions: [ue.Action.manage],
|
|
3297
3297
|
subject: ue.Subject.Business.role,
|
|
3298
|
-
conditions: JSON.stringify({ roleId: { $in:
|
|
3298
|
+
conditions: JSON.stringify({ roleId: { $in: R } })
|
|
3299
3299
|
};
|
|
3300
3300
|
v.push(G);
|
|
3301
3301
|
}
|
|
3302
3302
|
return v;
|
|
3303
3303
|
}
|
|
3304
|
-
|
|
3304
|
+
Rn(async () => {
|
|
3305
3305
|
await Promise.all([
|
|
3306
3306
|
Fr.readWarehouses().then((y) => A.value = y),
|
|
3307
3307
|
c()
|
|
@@ -3319,66 +3319,66 @@ const Sr = { class: "col flex items-center" }, Mr = {
|
|
|
3319
3319
|
if (!G.includes("manage")) return v;
|
|
3320
3320
|
const W = m(v.subject);
|
|
3321
3321
|
if (!W) return v;
|
|
3322
|
-
const
|
|
3323
|
-
return
|
|
3322
|
+
const U = W.actions;
|
|
3323
|
+
return U.length <= 1 || U.filter((B) => !G.includes(B)).length === 0 ? v : { ...v, actions: [...U] };
|
|
3324
3324
|
}));
|
|
3325
3325
|
function x(y) {
|
|
3326
|
-
const
|
|
3327
|
-
F.value.filter((
|
|
3326
|
+
const R = new Set(
|
|
3327
|
+
F.value.filter((U) => !U.inverted).map((U) => U.subject)
|
|
3328
3328
|
), v = new Set(
|
|
3329
|
-
y.filter((
|
|
3329
|
+
y.filter((U) => !U.inverted).map((U) => U.subject)
|
|
3330
3330
|
), G = new Set(
|
|
3331
|
-
n.value.filter((
|
|
3331
|
+
n.value.filter((U) => !U.inverted).map((U) => U.subject)
|
|
3332
3332
|
);
|
|
3333
3333
|
let W = [...n.value];
|
|
3334
|
-
for (const
|
|
3335
|
-
v.has(
|
|
3334
|
+
for (const U of R)
|
|
3335
|
+
v.has(U) || (G.has(U) && (W = W.filter((B) => B.subject !== U)), (!G.has(U) || Lt(
|
|
3336
3336
|
W,
|
|
3337
3337
|
Ot
|
|
3338
3338
|
).some(
|
|
3339
|
-
(B) => B.subject ===
|
|
3340
|
-
)) && !W.some((B) => B.subject ===
|
|
3341
|
-
for (const
|
|
3342
|
-
if (!
|
|
3343
|
-
const te = W.some((B) => B.subject ===
|
|
3344
|
-
if (W = W.filter((B) => !(B.subject ===
|
|
3339
|
+
(B) => B.subject === U && !B.inverted && B.actions.includes("manage")
|
|
3340
|
+
)) && !W.some((B) => B.subject === U && B.inverted) && W.push({ subject: U, actions: ["manage"], inverted: !0 }));
|
|
3341
|
+
for (const U of v)
|
|
3342
|
+
if (!R.has(U)) {
|
|
3343
|
+
const te = W.some((B) => B.subject === U && B.inverted);
|
|
3344
|
+
if (W = W.filter((B) => !(B.subject === U && B.inverted)), !te && !G.has(U)) {
|
|
3345
3345
|
const B = y.find(
|
|
3346
|
-
(fe) => fe.subject ===
|
|
3347
|
-
),
|
|
3348
|
-
if (
|
|
3349
|
-
const { category: fe, showByFeatureFlag: H, ...
|
|
3350
|
-
W.push({ ...
|
|
3346
|
+
(fe) => fe.subject === U && !fe.inverted
|
|
3347
|
+
), he = m(U);
|
|
3348
|
+
if (he && B) {
|
|
3349
|
+
const { category: fe, showByFeatureFlag: H, ...X } = he;
|
|
3350
|
+
W.push({ ...X, actions: B.actions });
|
|
3351
3351
|
}
|
|
3352
3352
|
}
|
|
3353
3353
|
}
|
|
3354
|
-
for (const
|
|
3355
|
-
if (!
|
|
3354
|
+
for (const U of v) {
|
|
3355
|
+
if (!R.has(U)) continue;
|
|
3356
3356
|
const te = F.value.find(
|
|
3357
|
-
(
|
|
3358
|
-
), B = y.find((
|
|
3357
|
+
(X) => X.subject === U && !X.inverted
|
|
3358
|
+
), B = y.find((X) => X.subject === U && !X.inverted);
|
|
3359
3359
|
if (!te || !B) continue;
|
|
3360
|
-
const
|
|
3361
|
-
if (
|
|
3360
|
+
const he = new Set(te.actions), fe = new Set(B.actions);
|
|
3361
|
+
if (he.size === fe.size && [...he].every((X) => fe.has(X)))
|
|
3362
3362
|
continue;
|
|
3363
|
-
const H = W.findIndex((
|
|
3363
|
+
const H = W.findIndex((X) => X.subject === U && !X.inverted);
|
|
3364
3364
|
if (H >= 0)
|
|
3365
3365
|
W[H] = {
|
|
3366
3366
|
...W[H],
|
|
3367
3367
|
actions: Array.from(fe)
|
|
3368
3368
|
};
|
|
3369
3369
|
else {
|
|
3370
|
-
const
|
|
3371
|
-
if (
|
|
3372
|
-
const { category: Ee, showByFeatureFlag: $e, ...Je } =
|
|
3370
|
+
const X = m(U);
|
|
3371
|
+
if (X) {
|
|
3372
|
+
const { category: Ee, showByFeatureFlag: $e, ...Je } = X;
|
|
3373
3373
|
W.push({ ...Je, actions: Array.from(fe) });
|
|
3374
3374
|
}
|
|
3375
3375
|
}
|
|
3376
|
-
|
|
3376
|
+
he.has("manage") && !fe.has("manage") && Lt(
|
|
3377
3377
|
W,
|
|
3378
3378
|
Ot
|
|
3379
3379
|
).some(
|
|
3380
|
-
(Ee) => Ee.subject ===
|
|
3381
|
-
) && !W.some((Ee) => Ee.subject ===
|
|
3380
|
+
(Ee) => Ee.subject === U && !Ee.inverted && Ee.actions.includes("manage")
|
|
3381
|
+
) && !W.some((Ee) => Ee.subject === U && Ee.inverted) && W.push({ subject: U, actions: ["manage"], inverted: !0 }), !he.has("manage") && fe.has("manage") && (W = W.filter((X) => !(X.subject === U && X.inverted)));
|
|
3382
3382
|
}
|
|
3383
3383
|
n.value = W;
|
|
3384
3384
|
}
|
|
@@ -3388,15 +3388,15 @@ const Sr = { class: "col flex items-center" }, Mr = {
|
|
|
3388
3388
|
l("permissionChanged", y);
|
|
3389
3389
|
},
|
|
3390
3390
|
{ deep: !0 }
|
|
3391
|
-
), (y,
|
|
3392
|
-
se("div",
|
|
3391
|
+
), (y, R) => (Q(), oe("div", Ur, [
|
|
3392
|
+
se("div", jr, [
|
|
3393
3393
|
_e(Tr, {
|
|
3394
3394
|
"model-value": F.value,
|
|
3395
3395
|
"excluded-subjects": w,
|
|
3396
3396
|
"additional-permissions": $(u),
|
|
3397
3397
|
"onUpdate:modelValue": x
|
|
3398
3398
|
}, xe({ _: 2 }, [
|
|
3399
|
-
|
|
3399
|
+
be(p.value, (v) => ({
|
|
3400
3400
|
name: `checkbox-${v.id}-append`,
|
|
3401
3401
|
fn: pe(() => [
|
|
3402
3402
|
_e(ct, { item: v }, null, 8, ["item"])
|
|
@@ -3405,13 +3405,13 @@ const Sr = { class: "col flex items-center" }, Mr = {
|
|
|
3405
3405
|
]), 1032, ["model-value", "additional-permissions"])
|
|
3406
3406
|
]),
|
|
3407
3407
|
se("div", Vr, [
|
|
3408
|
-
_e(
|
|
3408
|
+
_e(Cn, {
|
|
3409
3409
|
"model-value": V.value,
|
|
3410
3410
|
options: M.value,
|
|
3411
3411
|
context: $(a)("team.labels.warehouse"),
|
|
3412
3412
|
"onUpdate:modelValue": i
|
|
3413
3413
|
}, xe({ _: 2 }, [
|
|
3414
|
-
|
|
3414
|
+
be(N.value, (v) => ({
|
|
3415
3415
|
name: `checkbox-${v.id}-append`,
|
|
3416
3416
|
fn: pe(() => [
|
|
3417
3417
|
_e(ct, { item: v }, null, 8, ["item"])
|
|
@@ -3420,13 +3420,13 @@ const Sr = { class: "col flex items-center" }, Mr = {
|
|
|
3420
3420
|
]), 1032, ["model-value", "options", "context"])
|
|
3421
3421
|
]),
|
|
3422
3422
|
se("div", Wr, [
|
|
3423
|
-
_e(
|
|
3423
|
+
_e(Cn, {
|
|
3424
3424
|
"model-value": E.value,
|
|
3425
3425
|
options: D.value,
|
|
3426
3426
|
context: $(a)("team.labels.restaurant"),
|
|
3427
|
-
"onUpdate:modelValue":
|
|
3427
|
+
"onUpdate:modelValue": Y
|
|
3428
3428
|
}, xe({ _: 2 }, [
|
|
3429
|
-
|
|
3429
|
+
be(O.value, (v) => ({
|
|
3430
3430
|
name: `checkbox-${v.id}-append`,
|
|
3431
3431
|
fn: pe(() => [
|
|
3432
3432
|
_e(ct, { item: v }, null, 8, ["item"])
|
|
@@ -3437,11 +3437,11 @@ const Sr = { class: "col flex items-center" }, Mr = {
|
|
|
3437
3437
|
se("div", Gr, [
|
|
3438
3438
|
_e(Pr, {
|
|
3439
3439
|
roles: $(_),
|
|
3440
|
-
"model-value":
|
|
3440
|
+
"model-value": b.value,
|
|
3441
3441
|
"restaurant-ids": E.value,
|
|
3442
|
-
"onUpdate:modelValue":
|
|
3442
|
+
"onUpdate:modelValue": C
|
|
3443
3443
|
}, xe({ _: 2 }, [
|
|
3444
|
-
|
|
3444
|
+
be(L.value, (v) => ({
|
|
3445
3445
|
name: `checkbox-${v.id}-append`,
|
|
3446
3446
|
fn: pe(() => [
|
|
3447
3447
|
_e(ct, { item: v }, null, 8, ["item"])
|