@feedmepos/mf-hrm-portal 2.3.0-dev.4 → 2.3.0-dev.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ApprovalCodeList-Pbk3MAP_.js → ApprovalCodeList-DIqLkR-n.js} +2 -2
- package/dist/{AuditLogList-B4gAQD41.js → AuditLogList-DOrq5WAM.js} +3 -3
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-DPbHx_I8.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-DtIAcKaZ.js} +2 -2
- package/dist/{EmployeeList-0KpegAhT.js → EmployeeList-BcommHHe.js} +4 -4
- package/dist/{GrantUserList-BUkzqot_.js → GrantUserList-zYXWPBy8.js} +3 -3
- package/dist/{Main-DgmmoN5E.js → Main-BbLYXl-C.js} +5 -5
- package/dist/{Main-Dx_th1rt.js → Main-D1Rc3l1L.js} +9 -9
- package/dist/{Main-CNk6IUSX.js → Main-D8Uz1Mlf.js} +2 -2
- package/dist/{PermissionSetList-CzZGiCsv.js → PermissionSetList-DB27fd5Q.js} +5 -5
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-t_OkpC_R.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DtVJW54V.js} +472 -472
- package/dist/{RoleList-BE4zTMIf.js → RoleList-DqH-J2Di.js} +7 -7
- package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-BPBc1yaM.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-Dk5KTJmM.js} +1 -1
- package/dist/{ScheduleGeneralPage-OvoLCcup.js → ScheduleGeneralPage-C6fHvARq.js} +4 -4
- package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-BOkU6VUe.js → ScheduleModal.vue_vue_type_script_setup_true_lang-B-rR81nv.js} +622 -605
- package/dist/{SchedulePage-CujQTlC7.js → SchedulePage-CqpoSfUn.js} +6136 -6020
- package/dist/{SchedulePositionPage-DJ7HABNZ.js → SchedulePositionPage-NMdwzGfm.js} +9 -9
- package/dist/{TeamMemberList-DcMBkqKA.js → TeamMemberList-CX0qHVRT.js} +6 -6
- package/dist/{TimesheetList-EFkDNiyH.js → TimesheetList-DUK2sUEN.js} +5 -5
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-DK7LWwL3.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-m8Ml-b47.js} +2 -2
- package/dist/{app-Bljy7Tiw.js → app-CLTLqZhG.js} +8 -8
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-6PYBuPpr.js → dayjs.min-BFtQINpX.js} +1 -1
- package/dist/{employee-BabFWzgV.js → employee-CWjZhmcu.js} +3 -3
- package/dist/{iteration-DFJixFmV.js → iteration-NQ4DY9De.js} +1 -1
- package/dist/{lodash-CfHZzOs8.js → lodash-OAOy_WpD.js} +1 -1
- package/dist/{role-DzPtXGaE.js → role-DSSFv8cl.js} +1 -1
- package/dist/{rule-DM5JuuR6.js → rule-DY7yg9_a.js} +2 -2
- package/dist/src/api/schedule/index.d.ts +3 -1
- package/dist/src/types/schedule.d.ts +1 -1
- package/dist/src/views/scheduling/components/SchedulePublishShareArt.vue.d.ts +2 -0
- package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +0 -5
- package/dist/src/views/scheduling/schedule-store.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useReportPermissions-vTUP3ZOL.js → useReportPermissions-BRs-yhSQ.js} +3 -3
- package/package.json +1 -1
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { getCurrentInstance as
|
|
1
|
+
import { getCurrentInstance as Bt, inject as us, ref as st, shallowRef as ds, computed as z, watch as wt, onMounted as Vn, onUnmounted as ms, defineComponent as Re, h as Gn, createVNode as ue, Text as fs, Fragment as ke, resolveComponent as we, createBlock as Ne, openBlock as J, withCtx as de, createElementVNode as ae, createElementBlock as ie, toDisplayString as Oe, unref as H, renderList as ye, toRef as en, normalizeStyle as nt, renderSlot as Se, createCommentVNode as Me, createTextVNode as _s, useSlots as hs, normalizeClass as qe, createSlots as et, mergeModels as tn, useModel as vs } from "vue";
|
|
2
2
|
import { useI18n as He, useCoreStore as ps } from "@feedmepos/mf-common";
|
|
3
3
|
import { useDialog as bs, useBreakpoints as gs } from "@feedmepos/ui-library";
|
|
4
4
|
import "@vue/devtools-api";
|
|
5
|
-
import { p as
|
|
6
|
-
import { _ as Xt, a as
|
|
7
|
-
import { u as Os, v as Ss, b as
|
|
8
|
-
import { c as It } from "./iteration-
|
|
5
|
+
import { p as Wn, N as Zn, d as Is, P as Es, w as Lt, x as ys, y as Ns } from "./rule-DY7yg9_a.js";
|
|
6
|
+
import { _ as Xt, a as Cs, b as nn, u as Ts } from "./ConditionBuilderForm.vue_vue_type_script_setup_true_lang-DtIAcKaZ.js";
|
|
7
|
+
import { u as Os, v as Ss, b as Yn, S as Dt, A as tt, c as pe, k as sn, O as Ls } from "./app-CLTLqZhG.js";
|
|
8
|
+
import { c as It } from "./iteration-NQ4DY9De.js";
|
|
9
9
|
import { r as Rs } from "./string-VNuQNweN.js";
|
|
10
10
|
import { g as As, b as ks } from "./restaurant-D7PEQjPY.js";
|
|
11
|
-
import { u as Ms } from "./role-
|
|
12
|
-
function
|
|
11
|
+
import { u as Ms } from "./role-DSSFv8cl.js";
|
|
12
|
+
function Bn(e, t) {
|
|
13
13
|
return Array.isArray(e) ? e.includes(t) : e === t;
|
|
14
14
|
}
|
|
15
15
|
function ws(e) {
|
|
16
16
|
return Array.isArray(e) ? e[0] : e;
|
|
17
17
|
}
|
|
18
18
|
function Ds(e, t) {
|
|
19
|
-
const n = t.find((l) =>
|
|
19
|
+
const n = t.find((l) => Bn(l.subject, e));
|
|
20
20
|
if (!(n != null && n.category) || n.isCategoryCover) return;
|
|
21
21
|
const s = t.find((l) => l.category === n.category && l.isCategoryCover);
|
|
22
22
|
if (s)
|
|
23
23
|
return ws(s.subject);
|
|
24
24
|
}
|
|
25
25
|
function rn(e, t) {
|
|
26
|
-
const n = t.find((s) =>
|
|
26
|
+
const n = t.find((s) => Bn(s.subject, e));
|
|
27
27
|
return !!(n != null && n.isCategoryCover);
|
|
28
28
|
}
|
|
29
29
|
/*!
|
|
@@ -31,7 +31,7 @@ function rn(e, t) {
|
|
|
31
31
|
* (c) 2024 kazuya kawaguchi
|
|
32
32
|
* Released under the MIT License.
|
|
33
33
|
*/
|
|
34
|
-
const on = typeof window < "u",
|
|
34
|
+
const on = typeof window < "u", $e = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), Fs = (e, t, n) => Ps({ l: e, k: t, s: n }), Ps = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ge = (e) => typeof e == "number" && isFinite(e), js = (e) => Ht(e) === "[object Date]", yt = (e) => Ht(e) === "[object RegExp]", Ct = (e) => ee(e) && Object.keys(e).length === 0, Ie = Object.assign, Us = Object.create, oe = (e = null) => Us(e);
|
|
35
35
|
let an;
|
|
36
36
|
const Xe = () => an || (an = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : oe());
|
|
37
37
|
function ln(e) {
|
|
@@ -41,11 +41,11 @@ const xs = Object.prototype.hasOwnProperty;
|
|
|
41
41
|
function Le(e, t) {
|
|
42
42
|
return xs.call(e, t);
|
|
43
43
|
}
|
|
44
|
-
const be = Array.isArray, me = (e) => typeof e == "function", Z = (e) => typeof e == "string", ve = (e) => typeof e == "boolean", te = (e) => e !== null && typeof e == "object", Vs = (e) => te(e) && me(e.then) && me(e.catch), Xn = Object.prototype.toString, Ht = (e) => Xn.call(e), ee = (e) => Ht(e) === "[object Object]",
|
|
45
|
-
function
|
|
44
|
+
const be = Array.isArray, me = (e) => typeof e == "function", Z = (e) => typeof e == "string", ve = (e) => typeof e == "boolean", te = (e) => e !== null && typeof e == "object", Vs = (e) => te(e) && me(e.then) && me(e.catch), Xn = Object.prototype.toString, Ht = (e) => Xn.call(e), ee = (e) => Ht(e) === "[object Object]", Gs = (e) => e == null ? "" : be(e) || ee(e) && e.toString === Xn ? JSON.stringify(e, null, 2) : String(e);
|
|
45
|
+
function $t(e, t = "") {
|
|
46
46
|
return e.reduce((n, s, l) => l === 0 ? n + s : n + t + s, "");
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function Ws(e, t) {
|
|
49
49
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
50
50
|
}
|
|
51
51
|
const ft = (e) => !te(e) || be(e);
|
|
@@ -83,20 +83,20 @@ const se = {
|
|
|
83
83
|
UNEXPECTED_EMPTY_LINKED_MODIFIER: 12,
|
|
84
84
|
UNEXPECTED_EMPTY_LINKED_KEY: 13,
|
|
85
85
|
UNEXPECTED_LEXICAL_ANALYSIS: 14
|
|
86
|
-
},
|
|
87
|
-
function
|
|
86
|
+
}, Ys = 17;
|
|
87
|
+
function Tt(e, t, n = {}) {
|
|
88
88
|
const { domain: s, messages: l, args: a } = n, d = e, u = new SyntaxError(String(d));
|
|
89
89
|
return u.code = e, t && (u.location = t), u.domain = s, u;
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function Bs(e) {
|
|
92
92
|
throw e;
|
|
93
93
|
}
|
|
94
94
|
const Pe = " ", Xs = "\r", Ee = `
|
|
95
|
-
`, Hs = "\u2028",
|
|
96
|
-
function
|
|
95
|
+
`, Hs = "\u2028", $s = "\u2029";
|
|
96
|
+
function Js(e) {
|
|
97
97
|
const t = e;
|
|
98
98
|
let n = 0, s = 1, l = 1, a = 0;
|
|
99
|
-
const d = (h) => t[h] === Xs && t[h + 1] === Ee, u = (h) => t[h] === Ee, i = (h) => t[h] ===
|
|
99
|
+
const d = (h) => t[h] === Xs && t[h + 1] === Ee, u = (h) => t[h] === Ee, i = (h) => t[h] === $s, g = (h) => t[h] === Hs, E = (h) => d(h) || u(h) || i(h) || g(h), T = () => n, N = () => s, F = () => l, w = () => a, R = (h) => d(h) || i(h) || g(h) ? Ee : t[h], D = () => R(n), f = () => R(n + a);
|
|
100
100
|
function p() {
|
|
101
101
|
return a = 0, E(n) && (s++, l = 0), d(n) && n++, n++, l++, t[n];
|
|
102
102
|
}
|
|
@@ -116,7 +116,7 @@ function $s(e) {
|
|
|
116
116
|
a = 0;
|
|
117
117
|
}
|
|
118
118
|
return {
|
|
119
|
-
index:
|
|
119
|
+
index: T,
|
|
120
120
|
line: N,
|
|
121
121
|
column: F,
|
|
122
122
|
peekOffset: w,
|
|
@@ -132,7 +132,7 @@ function $s(e) {
|
|
|
132
132
|
}
|
|
133
133
|
const Ve = void 0, Ks = ".", cn = "'", zs = "tokenizer";
|
|
134
134
|
function Qs(e, t = {}) {
|
|
135
|
-
const n = t.location !== !1, s =
|
|
135
|
+
const n = t.location !== !1, s = Js(e), l = () => s.index(), a = () => Zs(s.line(), s.column(), s.index()), d = a(), u = l(), i = {
|
|
136
136
|
currentType: 13,
|
|
137
137
|
offset: u,
|
|
138
138
|
startLoc: d,
|
|
@@ -145,10 +145,10 @@ function Qs(e, t = {}) {
|
|
|
145
145
|
inLinked: !1,
|
|
146
146
|
text: ""
|
|
147
147
|
}, g = () => i, { onError: E } = t;
|
|
148
|
-
function
|
|
148
|
+
function T(r, o, _, ...A) {
|
|
149
149
|
const M = g();
|
|
150
150
|
if (o.column += _, o.offset += _, E) {
|
|
151
|
-
const P = n ? Ft(M.startLoc, o) : null, v =
|
|
151
|
+
const P = n ? Ft(M.startLoc, o) : null, v = Tt(r, P, {
|
|
152
152
|
domain: zs,
|
|
153
153
|
args: A
|
|
154
154
|
});
|
|
@@ -166,7 +166,7 @@ function Qs(e, t = {}) {
|
|
|
166
166
|
/* TokenTypes.EOF */
|
|
167
167
|
);
|
|
168
168
|
function w(r, o) {
|
|
169
|
-
return r.currentChar() === o ? (r.next(), o) : (
|
|
169
|
+
return r.currentChar() === o ? (r.next(), o) : (T(se.EXPECTED_TOKEN, a(), 0, o), "");
|
|
170
170
|
}
|
|
171
171
|
function R(r) {
|
|
172
172
|
let o = "";
|
|
@@ -266,7 +266,7 @@ function Qs(e, t = {}) {
|
|
|
266
266
|
const _ = r.currentChar();
|
|
267
267
|
return _ === Ve ? Ve : o(_) ? (r.next(), _) : null;
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function C(r) {
|
|
270
270
|
const o = r.charCodeAt(0);
|
|
271
271
|
return o >= 97 && o <= 122 || // a-z
|
|
272
272
|
o >= 65 && o <= 90 || // A-Z
|
|
@@ -275,7 +275,7 @@ function Qs(e, t = {}) {
|
|
|
275
275
|
o === 36;
|
|
276
276
|
}
|
|
277
277
|
function U(r) {
|
|
278
|
-
return m(r,
|
|
278
|
+
return m(r, C);
|
|
279
279
|
}
|
|
280
280
|
function x(r) {
|
|
281
281
|
const o = r.charCodeAt(0);
|
|
@@ -289,25 +289,25 @@ function Qs(e, t = {}) {
|
|
|
289
289
|
function j(r) {
|
|
290
290
|
return m(r, x);
|
|
291
291
|
}
|
|
292
|
-
function
|
|
292
|
+
function W(r) {
|
|
293
293
|
const o = r.charCodeAt(0);
|
|
294
294
|
return o >= 48 && o <= 57;
|
|
295
295
|
}
|
|
296
|
-
function
|
|
297
|
-
return m(r,
|
|
296
|
+
function G(r) {
|
|
297
|
+
return m(r, W);
|
|
298
298
|
}
|
|
299
|
-
function
|
|
299
|
+
function Y(r) {
|
|
300
300
|
const o = r.charCodeAt(0);
|
|
301
301
|
return o >= 48 && o <= 57 || // 0-9
|
|
302
302
|
o >= 65 && o <= 70 || // A-F
|
|
303
303
|
o >= 97 && o <= 102;
|
|
304
304
|
}
|
|
305
|
-
function
|
|
306
|
-
return m(r,
|
|
305
|
+
function B(r) {
|
|
306
|
+
return m(r, Y);
|
|
307
307
|
}
|
|
308
308
|
function ne(r) {
|
|
309
309
|
let o = "", _ = "";
|
|
310
|
-
for (; o =
|
|
310
|
+
for (; o = G(r); )
|
|
311
311
|
_ += o;
|
|
312
312
|
return _;
|
|
313
313
|
}
|
|
@@ -335,12 +335,12 @@ function Qs(e, t = {}) {
|
|
|
335
335
|
let o = "", _ = "";
|
|
336
336
|
for (; o = j(r); )
|
|
337
337
|
_ += o;
|
|
338
|
-
return r.currentChar() === Ve &&
|
|
338
|
+
return r.currentChar() === Ve && T(se.UNTERMINATED_CLOSING_BRACE, a(), 0), _;
|
|
339
339
|
}
|
|
340
340
|
function ce(r) {
|
|
341
341
|
D(r);
|
|
342
342
|
let o = "";
|
|
343
|
-
return r.currentChar() === "-" ? (r.next(), o += `-${ne(r)}`) : o += ne(r), r.currentChar() === Ve &&
|
|
343
|
+
return r.currentChar() === "-" ? (r.next(), o += `-${ne(r)}`) : o += ne(r), r.currentChar() === Ve && T(se.UNTERMINATED_CLOSING_BRACE, a(), 0), o;
|
|
344
344
|
}
|
|
345
345
|
function re(r) {
|
|
346
346
|
return r !== cn && r !== Ee;
|
|
@@ -351,7 +351,7 @@ function Qs(e, t = {}) {
|
|
|
351
351
|
for (; o = m(r, re); )
|
|
352
352
|
o === "\\" ? _ += q(r) : _ += o;
|
|
353
353
|
const A = r.currentChar();
|
|
354
|
-
return A === Ee || A === Ve ? (
|
|
354
|
+
return A === Ee || A === Ve ? (T(se.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), A === Ee && (r.next(), w(r, "'")), _) : (w(r, "'"), _);
|
|
355
355
|
}
|
|
356
356
|
function q(r) {
|
|
357
357
|
const o = r.currentChar();
|
|
@@ -364,16 +364,16 @@ function Qs(e, t = {}) {
|
|
|
364
364
|
case "U":
|
|
365
365
|
return De(r, o, 6);
|
|
366
366
|
default:
|
|
367
|
-
return
|
|
367
|
+
return T(se.UNKNOWN_ESCAPE_SEQUENCE, a(), 0, o), "";
|
|
368
368
|
}
|
|
369
369
|
}
|
|
370
370
|
function De(r, o, _) {
|
|
371
371
|
w(r, o);
|
|
372
372
|
let A = "";
|
|
373
373
|
for (let M = 0; M < _; M++) {
|
|
374
|
-
const P =
|
|
374
|
+
const P = B(r);
|
|
375
375
|
if (!P) {
|
|
376
|
-
|
|
376
|
+
T(se.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${A}${r.currentChar()}`);
|
|
377
377
|
break;
|
|
378
378
|
}
|
|
379
379
|
A += P;
|
|
@@ -390,7 +390,7 @@ function Qs(e, t = {}) {
|
|
|
390
390
|
_ += o;
|
|
391
391
|
return _;
|
|
392
392
|
}
|
|
393
|
-
function
|
|
393
|
+
function Je(r) {
|
|
394
394
|
let o = "", _ = "";
|
|
395
395
|
for (; o = U(r); )
|
|
396
396
|
_ += o;
|
|
@@ -416,27 +416,27 @@ function Qs(e, t = {}) {
|
|
|
416
416
|
let _ = null;
|
|
417
417
|
switch (r.currentChar()) {
|
|
418
418
|
case "{":
|
|
419
|
-
return o.braceNest >= 1 &&
|
|
419
|
+
return o.braceNest >= 1 && T(se.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), r.next(), _ = N(
|
|
420
420
|
o,
|
|
421
421
|
2,
|
|
422
422
|
"{"
|
|
423
423
|
/* TokenChars.BraceLeft */
|
|
424
424
|
), D(r), o.braceNest++, _;
|
|
425
425
|
case "}":
|
|
426
|
-
return o.braceNest > 0 && o.currentType === 2 &&
|
|
426
|
+
return o.braceNest > 0 && o.currentType === 2 && T(se.EMPTY_PLACEHOLDER, a(), 0), r.next(), _ = N(
|
|
427
427
|
o,
|
|
428
428
|
3,
|
|
429
429
|
"}"
|
|
430
430
|
/* TokenChars.BraceRight */
|
|
431
431
|
), o.braceNest--, o.braceNest > 0 && D(r), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), _;
|
|
432
432
|
case "@":
|
|
433
|
-
return o.braceNest > 0 &&
|
|
433
|
+
return o.braceNest > 0 && T(se.UNTERMINATED_CLOSING_BRACE, a(), 0), _ = Ce(r, o) || F(o), o.braceNest = 0, _;
|
|
434
434
|
default: {
|
|
435
435
|
let M = !0, P = !0, v = !0;
|
|
436
436
|
if (X(r))
|
|
437
|
-
return o.braceNest > 0 &&
|
|
437
|
+
return o.braceNest > 0 && T(se.UNTERMINATED_CLOSING_BRACE, a(), 0), _ = N(o, 1, xe(r)), o.braceNest = 0, o.inLinked = !1, _;
|
|
438
438
|
if (o.braceNest > 0 && (o.currentType === 4 || o.currentType === 5 || o.currentType === 6))
|
|
439
|
-
return
|
|
439
|
+
return T(se.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0, Ye(r, o);
|
|
440
440
|
if (M = S(r, o))
|
|
441
441
|
return _ = N(o, 4, _e(r)), D(r), _;
|
|
442
442
|
if (P = c(r, o))
|
|
@@ -444,17 +444,17 @@ function Qs(e, t = {}) {
|
|
|
444
444
|
if (v = b(r, o))
|
|
445
445
|
return _ = N(o, 6, fe(r)), D(r), _;
|
|
446
446
|
if (!M && !P && !v)
|
|
447
|
-
return _ = N(o, 12, he(r)),
|
|
447
|
+
return _ = N(o, 12, he(r)), T(se.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, _.value), D(r), _;
|
|
448
448
|
break;
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
451
|
return _;
|
|
452
452
|
}
|
|
453
|
-
function
|
|
453
|
+
function Ce(r, o) {
|
|
454
454
|
const { currentType: _ } = o;
|
|
455
455
|
let A = null;
|
|
456
456
|
const M = r.currentChar();
|
|
457
|
-
switch ((_ === 7 || _ === 8 || _ === 11 || _ === 9) && (M === Ee || M === Pe) &&
|
|
457
|
+
switch ((_ === 7 || _ === 8 || _ === 11 || _ === 9) && (M === Ee || M === Pe) && T(se.INVALID_LINKED_FORMAT, a(), 0), M) {
|
|
458
458
|
case "@":
|
|
459
459
|
return r.next(), A = N(
|
|
460
460
|
o,
|
|
@@ -477,10 +477,10 @@ function Qs(e, t = {}) {
|
|
|
477
477
|
/* TokenChars.LinkedDelimiter */
|
|
478
478
|
);
|
|
479
479
|
default:
|
|
480
|
-
return X(r) ? (A = N(o, 1, xe(r)), o.braceNest = 0, o.inLinked = !1, A) : I(r, o) || k(r, o) ? (D(r),
|
|
480
|
+
return X(r) ? (A = N(o, 1, xe(r)), o.braceNest = 0, o.inLinked = !1, A) : I(r, o) || k(r, o) ? (D(r), Ce(r, o)) : h(r, o) ? (D(r), N(o, 11, Je(r))) : L(r, o) ? (D(r), M === "{" ? Fe(r, o) || A : N(o, 10, Ke(r))) : (_ === 7 && T(se.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, Ye(r, o));
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
|
-
function
|
|
483
|
+
function Ye(r, o) {
|
|
484
484
|
let _ = {
|
|
485
485
|
type: 13
|
|
486
486
|
/* TokenTypes.EOF */
|
|
@@ -488,19 +488,19 @@ function Qs(e, t = {}) {
|
|
|
488
488
|
if (o.braceNest > 0)
|
|
489
489
|
return Fe(r, o) || F(o);
|
|
490
490
|
if (o.inLinked)
|
|
491
|
-
return
|
|
491
|
+
return Ce(r, o) || F(o);
|
|
492
492
|
switch (r.currentChar()) {
|
|
493
493
|
case "{":
|
|
494
494
|
return Fe(r, o) || F(o);
|
|
495
495
|
case "}":
|
|
496
|
-
return
|
|
496
|
+
return T(se.UNBALANCED_CLOSING_BRACE, a(), 0), r.next(), N(
|
|
497
497
|
o,
|
|
498
498
|
3,
|
|
499
499
|
"}"
|
|
500
500
|
/* TokenChars.BraceRight */
|
|
501
501
|
);
|
|
502
502
|
case "@":
|
|
503
|
-
return
|
|
503
|
+
return Ce(r, o) || F(o);
|
|
504
504
|
default: {
|
|
505
505
|
if (X(r))
|
|
506
506
|
return _ = N(o, 1, xe(r)), o.braceNest = 0, o.inLinked = !1, _;
|
|
@@ -517,7 +517,7 @@ function Qs(e, t = {}) {
|
|
|
517
517
|
i,
|
|
518
518
|
13
|
|
519
519
|
/* TokenTypes.EOF */
|
|
520
|
-
) :
|
|
520
|
+
) : Ye(s, i);
|
|
521
521
|
}
|
|
522
522
|
return {
|
|
523
523
|
nextToken: O,
|
|
@@ -544,7 +544,7 @@ function nr(e = {}) {
|
|
|
544
544
|
function s(f, p, S, c, ...b) {
|
|
545
545
|
const I = f.currentPosition();
|
|
546
546
|
if (I.offset += c, I.column += c, n) {
|
|
547
|
-
const h = t ? Ft(S, I) : null, k =
|
|
547
|
+
const h = t ? Ft(S, I) : null, k = Tt(p, h, {
|
|
548
548
|
domain: qs,
|
|
549
549
|
args: b
|
|
550
550
|
});
|
|
@@ -583,7 +583,7 @@ function nr(e = {}) {
|
|
|
583
583
|
node: I
|
|
584
584
|
});
|
|
585
585
|
}
|
|
586
|
-
function
|
|
586
|
+
function T(f, p) {
|
|
587
587
|
const S = f.context(), c = l(7, S.offset, S.startLoc);
|
|
588
588
|
return c.value = p, a(c, f.currentOffset(), f.currentPosition()), c;
|
|
589
589
|
}
|
|
@@ -596,7 +596,7 @@ function nr(e = {}) {
|
|
|
596
596
|
}
|
|
597
597
|
switch (c.type !== 9 && s(f, se.UNEXPECTED_LEXICAL_ANALYSIS, p.lastStartLoc, 0, Ae(c)), c = f.nextToken(), c.type === 2 && (c = f.nextToken()), c.type) {
|
|
598
598
|
case 10:
|
|
599
|
-
c.value == null && s(f, se.UNEXPECTED_LEXICAL_ANALYSIS, p.lastStartLoc, 0, Ae(c)), S.key =
|
|
599
|
+
c.value == null && s(f, se.UNEXPECTED_LEXICAL_ANALYSIS, p.lastStartLoc, 0, Ae(c)), S.key = T(f, c.value || "");
|
|
600
600
|
break;
|
|
601
601
|
case 4:
|
|
602
602
|
c.value == null && s(f, se.UNEXPECTED_LEXICAL_ANALYSIS, p.lastStartLoc, 0, Ae(c)), S.key = i(f, c.value || "");
|
|
@@ -685,9 +685,9 @@ function sr(e, t = {}) {
|
|
|
685
685
|
}
|
|
686
686
|
function un(e, t) {
|
|
687
687
|
for (let n = 0; n < e.length; n++)
|
|
688
|
-
|
|
688
|
+
Jt(e[n], t);
|
|
689
689
|
}
|
|
690
|
-
function
|
|
690
|
+
function Jt(e, t) {
|
|
691
691
|
switch (e.type) {
|
|
692
692
|
case 1:
|
|
693
693
|
un(e.cases, t), t.helper(
|
|
@@ -699,7 +699,7 @@ function $t(e, t) {
|
|
|
699
699
|
un(e.items, t);
|
|
700
700
|
break;
|
|
701
701
|
case 6: {
|
|
702
|
-
|
|
702
|
+
Jt(e.key, t), t.helper(
|
|
703
703
|
"linked"
|
|
704
704
|
/* HelperNameMap.LINKED */
|
|
705
705
|
), t.helper(
|
|
@@ -733,7 +733,7 @@ function rr(e, t = {}) {
|
|
|
733
733
|
n.helper(
|
|
734
734
|
"normalize"
|
|
735
735
|
/* HelperNameMap.NORMALIZE */
|
|
736
|
-
), e.body &&
|
|
736
|
+
), e.body && Jt(e.body, n);
|
|
737
737
|
const s = n.context();
|
|
738
738
|
e.helpers = Array.from(s.helpers);
|
|
739
739
|
}
|
|
@@ -754,7 +754,7 @@ function dn(e) {
|
|
|
754
754
|
t.push(s.value);
|
|
755
755
|
}
|
|
756
756
|
if (t.length === e.items.length) {
|
|
757
|
-
e.static =
|
|
757
|
+
e.static = $t(t);
|
|
758
758
|
for (let n = 0; n < e.items.length; n++) {
|
|
759
759
|
const s = e.items[n];
|
|
760
760
|
(s.type === 3 || s.type === 9) && delete s.value;
|
|
@@ -834,7 +834,7 @@ function ar(e, t) {
|
|
|
834
834
|
const D = ++d.indentLevel;
|
|
835
835
|
R && g(D);
|
|
836
836
|
}
|
|
837
|
-
function
|
|
837
|
+
function T(R = !0) {
|
|
838
838
|
const D = --d.indentLevel;
|
|
839
839
|
R && g(D);
|
|
840
840
|
}
|
|
@@ -845,7 +845,7 @@ function ar(e, t) {
|
|
|
845
845
|
context: u,
|
|
846
846
|
push: i,
|
|
847
847
|
indent: E,
|
|
848
|
-
deindent:
|
|
848
|
+
deindent: T,
|
|
849
849
|
newline: N,
|
|
850
850
|
helper: (R) => `_${R}`,
|
|
851
851
|
needIndent: () => d.needIndent
|
|
@@ -941,7 +941,7 @@ const dr = (e, t = {}) => {
|
|
|
941
941
|
breakLineCode: l,
|
|
942
942
|
needIndent: a
|
|
943
943
|
});
|
|
944
|
-
u.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), u.indent(a), d.length > 0 && (u.push(`const { ${
|
|
944
|
+
u.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), u.indent(a), d.length > 0 && (u.push(`const { ${$t(d.map((E) => `${E}: _${E}`), ", ")} } = ctx`), u.newline()), u.push("return "), rt(u, e), u.deindent(a), u.push("}"), delete e.helpers;
|
|
945
945
|
const { code: i, map: g } = u.context();
|
|
946
946
|
return {
|
|
947
947
|
ast: e,
|
|
@@ -979,11 +979,11 @@ function hr(e, t) {
|
|
|
979
979
|
}
|
|
980
980
|
const vr = ["b", "body"];
|
|
981
981
|
function pr(e) {
|
|
982
|
-
return
|
|
982
|
+
return We(e, vr);
|
|
983
983
|
}
|
|
984
984
|
const br = ["c", "cases"];
|
|
985
985
|
function gr(e) {
|
|
986
|
-
return
|
|
986
|
+
return We(e, br, []);
|
|
987
987
|
}
|
|
988
988
|
function mn(e, t) {
|
|
989
989
|
const n = Er(t);
|
|
@@ -996,11 +996,11 @@ function mn(e, t) {
|
|
|
996
996
|
}
|
|
997
997
|
const Ir = ["s", "static"];
|
|
998
998
|
function Er(e) {
|
|
999
|
-
return
|
|
999
|
+
return We(e, Ir);
|
|
1000
1000
|
}
|
|
1001
1001
|
const yr = ["i", "items"];
|
|
1002
1002
|
function Nr(e) {
|
|
1003
|
-
return
|
|
1003
|
+
return We(e, yr, []);
|
|
1004
1004
|
}
|
|
1005
1005
|
function Pt(e, t) {
|
|
1006
1006
|
const n = Kt(t);
|
|
@@ -1037,24 +1037,24 @@ function Pt(e, t) {
|
|
|
1037
1037
|
throw new Error(`unhandled node on format message part: ${n}`);
|
|
1038
1038
|
}
|
|
1039
1039
|
}
|
|
1040
|
-
const
|
|
1040
|
+
const Cr = ["t", "type"];
|
|
1041
1041
|
function Kt(e) {
|
|
1042
|
-
return
|
|
1042
|
+
return We(e, Cr);
|
|
1043
1043
|
}
|
|
1044
|
-
const
|
|
1044
|
+
const Tr = ["v", "value"];
|
|
1045
1045
|
function _t(e, t) {
|
|
1046
|
-
const n =
|
|
1046
|
+
const n = We(e, Tr);
|
|
1047
1047
|
if (n)
|
|
1048
1048
|
return n;
|
|
1049
1049
|
throw it(t);
|
|
1050
1050
|
}
|
|
1051
1051
|
const Or = ["m", "modifier"];
|
|
1052
1052
|
function Sr(e) {
|
|
1053
|
-
return
|
|
1053
|
+
return We(e, Or);
|
|
1054
1054
|
}
|
|
1055
1055
|
const Lr = ["k", "key"];
|
|
1056
1056
|
function Rr(e) {
|
|
1057
|
-
const t =
|
|
1057
|
+
const t = We(e, Lr);
|
|
1058
1058
|
if (t)
|
|
1059
1059
|
return t;
|
|
1060
1060
|
throw it(
|
|
@@ -1062,7 +1062,7 @@ function Rr(e) {
|
|
|
1062
1062
|
/* NodeTypes.Linked */
|
|
1063
1063
|
);
|
|
1064
1064
|
}
|
|
1065
|
-
function
|
|
1065
|
+
function We(e, t, n) {
|
|
1066
1066
|
for (let s = 0; s < t.length; s++) {
|
|
1067
1067
|
const l = t[s];
|
|
1068
1068
|
if (Le(e, l) && e[l] != null)
|
|
@@ -1080,7 +1080,7 @@ function ot(e) {
|
|
|
1080
1080
|
}
|
|
1081
1081
|
function kr(e, t = {}) {
|
|
1082
1082
|
let n = !1;
|
|
1083
|
-
const s = t.onError ||
|
|
1083
|
+
const s = t.onError || Bs;
|
|
1084
1084
|
return t.onError = (l) => {
|
|
1085
1085
|
n = !0, s(l);
|
|
1086
1086
|
}, { ...mr(e, t), detectError: n };
|
|
@@ -1124,7 +1124,7 @@ function Pr(e) {
|
|
|
1124
1124
|
return (t) => ct && ct.emit(e, t);
|
|
1125
1125
|
}
|
|
1126
1126
|
const je = {
|
|
1127
|
-
INVALID_ARGUMENT:
|
|
1127
|
+
INVALID_ARGUMENT: Ys,
|
|
1128
1128
|
// 17
|
|
1129
1129
|
INVALID_DATE_ARGUMENT: 18,
|
|
1130
1130
|
INVALID_ISO_DATE_ARGUMENT: 19,
|
|
@@ -1133,7 +1133,7 @@ const je = {
|
|
|
1133
1133
|
NOT_SUPPORT_LOCALE_TYPE: 23
|
|
1134
1134
|
}, jr = 24;
|
|
1135
1135
|
function Ue(e) {
|
|
1136
|
-
return
|
|
1136
|
+
return Tt(e, null, void 0);
|
|
1137
1137
|
}
|
|
1138
1138
|
function zt(e, t) {
|
|
1139
1139
|
return t.locale != null ? fn(t.locale) : fn(e.locale);
|
|
@@ -1362,15 +1362,15 @@ Ze[
|
|
|
1362
1362
|
/* Actions.APPEND */
|
|
1363
1363
|
]
|
|
1364
1364
|
};
|
|
1365
|
-
const
|
|
1366
|
-
function
|
|
1367
|
-
return
|
|
1365
|
+
const Gr = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
|
1366
|
+
function Wr(e) {
|
|
1367
|
+
return Gr.test(e);
|
|
1368
1368
|
}
|
|
1369
1369
|
function Zr(e) {
|
|
1370
1370
|
const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
|
|
1371
1371
|
return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
|
|
1372
1372
|
}
|
|
1373
|
-
function
|
|
1373
|
+
function Yr(e) {
|
|
1374
1374
|
if (e == null)
|
|
1375
1375
|
return "o";
|
|
1376
1376
|
switch (e.charCodeAt(0)) {
|
|
@@ -1395,13 +1395,13 @@ function Br(e) {
|
|
|
1395
1395
|
}
|
|
1396
1396
|
return "i";
|
|
1397
1397
|
}
|
|
1398
|
-
function
|
|
1398
|
+
function Br(e) {
|
|
1399
1399
|
const t = e.trim();
|
|
1400
|
-
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 :
|
|
1400
|
+
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Wr(t) ? Zr(t) : "*" + t;
|
|
1401
1401
|
}
|
|
1402
1402
|
function Xr(e) {
|
|
1403
1403
|
const t = [];
|
|
1404
|
-
let n = -1, s = 0, l = 0, a, d, u, i, g, E,
|
|
1404
|
+
let n = -1, s = 0, l = 0, a, d, u, i, g, E, T;
|
|
1405
1405
|
const N = [];
|
|
1406
1406
|
N[
|
|
1407
1407
|
0
|
|
@@ -1431,7 +1431,7 @@ function Xr(e) {
|
|
|
1431
1431
|
/* Actions.APPEND */
|
|
1432
1432
|
]();
|
|
1433
1433
|
else {
|
|
1434
|
-
if (l = 0, d === void 0 || (d =
|
|
1434
|
+
if (l = 0, d === void 0 || (d = Br(d), d === !1))
|
|
1435
1435
|
return !1;
|
|
1436
1436
|
N[
|
|
1437
1437
|
1
|
|
@@ -1449,7 +1449,7 @@ function Xr(e) {
|
|
|
1449
1449
|
}
|
|
1450
1450
|
for (; s !== null; )
|
|
1451
1451
|
if (n++, a = e[n], !(a === "\\" && F())) {
|
|
1452
|
-
if (i =
|
|
1452
|
+
if (i = Yr(a), T = Ze[s], g = T[i] || T.l || 8, g === 8 || (s = g[0], g[1] !== void 0 && (E = N[g[1]], E && (u = a, E() === !1))))
|
|
1453
1453
|
return;
|
|
1454
1454
|
if (s === 7)
|
|
1455
1455
|
return t;
|
|
@@ -1459,7 +1459,7 @@ const hn = /* @__PURE__ */ new Map();
|
|
|
1459
1459
|
function Hr(e, t) {
|
|
1460
1460
|
return te(e) ? e[t] : null;
|
|
1461
1461
|
}
|
|
1462
|
-
function
|
|
1462
|
+
function $r(e, t) {
|
|
1463
1463
|
if (!te(e))
|
|
1464
1464
|
return null;
|
|
1465
1465
|
let n = hn.get(t);
|
|
@@ -1475,7 +1475,7 @@ function Jr(e, t) {
|
|
|
1475
1475
|
}
|
|
1476
1476
|
return l;
|
|
1477
1477
|
}
|
|
1478
|
-
const
|
|
1478
|
+
const Jr = "10.0.5", Ot = -1, Nt = "en-US", vn = "", pn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1479
1479
|
function Kr() {
|
|
1480
1480
|
return {
|
|
1481
1481
|
upper: (e, t) => t === "text" && Z(e) ? e.toUpperCase() : t === "vnode" && te(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
@@ -1483,13 +1483,13 @@ function Kr() {
|
|
|
1483
1483
|
capitalize: (e, t) => t === "text" && Z(e) ? pn(e) : t === "vnode" && te(e) && "__v_isVNode" in e ? pn(e.children) : e
|
|
1484
1484
|
};
|
|
1485
1485
|
}
|
|
1486
|
-
let
|
|
1486
|
+
let $n;
|
|
1487
1487
|
function zr(e) {
|
|
1488
|
-
|
|
1488
|
+
$n = e;
|
|
1489
1489
|
}
|
|
1490
|
-
let
|
|
1490
|
+
let Jn;
|
|
1491
1491
|
function Qr(e) {
|
|
1492
|
-
|
|
1492
|
+
Jn = e;
|
|
1493
1493
|
}
|
|
1494
1494
|
let Kn;
|
|
1495
1495
|
function qr(e) {
|
|
@@ -1505,7 +1505,7 @@ const bn = (e) => {
|
|
|
1505
1505
|
}, no = () => Qn;
|
|
1506
1506
|
let gn = 0;
|
|
1507
1507
|
function so(e = {}) {
|
|
1508
|
-
const t = me(e.onWarn) ? e.onWarn :
|
|
1508
|
+
const t = me(e.onWarn) ? e.onWarn : Ws, n = Z(e.version) ? e.version : Jr, s = Z(e.locale) || me(e.locale) ? e.locale : Nt, l = me(s) ? Nt : s, a = be(e.fallbackLocale) || ee(e.fallbackLocale) || Z(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, d = ee(e.messages) ? e.messages : kt(l), u = ee(e.datetimeFormats) ? e.datetimeFormats : kt(l), i = ee(e.numberFormats) ? e.numberFormats : kt(l), g = Ie(oe(), e.modifiers, Kr()), E = e.pluralRules || oe(), T = me(e.missing) ? e.missing : null, N = ve(e.missingWarn) || yt(e.missingWarn) ? e.missingWarn : !0, F = ve(e.fallbackWarn) || yt(e.fallbackWarn) ? e.fallbackWarn : !0, w = !!e.fallbackFormat, R = !!e.unresolving, D = me(e.postTranslation) ? e.postTranslation : null, f = ee(e.processor) ? e.processor : null, p = ve(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, S = !!e.escapeParameter, c = me(e.messageCompiler) ? e.messageCompiler : $n, b = me(e.messageResolver) ? e.messageResolver : Jn || Hr, I = me(e.localeFallbacker) ? e.localeFallbacker : Kn || Ur, h = te(e.fallbackContext) ? e.fallbackContext : void 0, k = e, L = te(k.__datetimeFormatters) ? k.__datetimeFormatters : /* @__PURE__ */ new Map(), X = te(k.__numberFormatters) ? k.__numberFormatters : /* @__PURE__ */ new Map(), V = te(k.__meta) ? k.__meta : {};
|
|
1509
1509
|
gn++;
|
|
1510
1510
|
const m = {
|
|
1511
1511
|
version: n,
|
|
@@ -1515,7 +1515,7 @@ function so(e = {}) {
|
|
|
1515
1515
|
messages: d,
|
|
1516
1516
|
modifiers: g,
|
|
1517
1517
|
pluralRules: E,
|
|
1518
|
-
missing:
|
|
1518
|
+
missing: T,
|
|
1519
1519
|
missingWarn: N,
|
|
1520
1520
|
fallbackWarn: F,
|
|
1521
1521
|
fallbackFormat: w,
|
|
@@ -1559,7 +1559,7 @@ function oo(e, t) {
|
|
|
1559
1559
|
return !1;
|
|
1560
1560
|
}
|
|
1561
1561
|
function In(e, ...t) {
|
|
1562
|
-
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: d } = e, { __datetimeFormatters: u } = e, [i, g, E,
|
|
1562
|
+
const { datetimeFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: d } = e, { __datetimeFormatters: u } = e, [i, g, E, T] = jt(...t), N = ve(E.missingWarn) ? E.missingWarn : e.missingWarn;
|
|
1563
1563
|
ve(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn;
|
|
1564
1564
|
const F = !!E.part, w = zt(e, E), R = d(
|
|
1565
1565
|
e,
|
|
@@ -1568,7 +1568,7 @@ function In(e, ...t) {
|
|
|
1568
1568
|
w
|
|
1569
1569
|
);
|
|
1570
1570
|
if (!Z(i) || i === "")
|
|
1571
|
-
return new Intl.DateTimeFormat(w,
|
|
1571
|
+
return new Intl.DateTimeFormat(w, T).format(g);
|
|
1572
1572
|
let D = {}, f, p = null;
|
|
1573
1573
|
const S = "datetime format";
|
|
1574
1574
|
for (let I = 0; I < R.length && (f = R[I], D = n[f] || {}, p = D[i], !ee(p)); I++)
|
|
@@ -1576,9 +1576,9 @@ function In(e, ...t) {
|
|
|
1576
1576
|
if (!ee(p) || !Z(f))
|
|
1577
1577
|
return s ? Ot : i;
|
|
1578
1578
|
let c = `${f}__${i}`;
|
|
1579
|
-
|
|
1579
|
+
Ct(T) || (c = `${c}__${JSON.stringify(T)}`);
|
|
1580
1580
|
let b = u.get(c);
|
|
1581
|
-
return b || (b = new Intl.DateTimeFormat(f, Ie({}, p,
|
|
1581
|
+
return b || (b = new Intl.DateTimeFormat(f, Ie({}, p, T)), u.set(c, b)), F ? b.formatToParts(g) : b.format(g);
|
|
1582
1582
|
}
|
|
1583
1583
|
const qn = [
|
|
1584
1584
|
"localeMatcher",
|
|
@@ -1636,7 +1636,7 @@ function En(e, t, n) {
|
|
|
1636
1636
|
}
|
|
1637
1637
|
}
|
|
1638
1638
|
function yn(e, ...t) {
|
|
1639
|
-
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: d } = e, { __numberFormatters: u } = e, [i, g, E,
|
|
1639
|
+
const { numberFormats: n, unresolving: s, fallbackLocale: l, onWarn: a, localeFallbacker: d } = e, { __numberFormatters: u } = e, [i, g, E, T] = Ut(...t), N = ve(E.missingWarn) ? E.missingWarn : e.missingWarn;
|
|
1640
1640
|
ve(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn;
|
|
1641
1641
|
const F = !!E.part, w = zt(e, E), R = d(
|
|
1642
1642
|
e,
|
|
@@ -1645,7 +1645,7 @@ function yn(e, ...t) {
|
|
|
1645
1645
|
w
|
|
1646
1646
|
);
|
|
1647
1647
|
if (!Z(i) || i === "")
|
|
1648
|
-
return new Intl.NumberFormat(w,
|
|
1648
|
+
return new Intl.NumberFormat(w, T).format(g);
|
|
1649
1649
|
let D = {}, f, p = null;
|
|
1650
1650
|
const S = "number format";
|
|
1651
1651
|
for (let I = 0; I < R.length && (f = R[I], D = n[f] || {}, p = D[i], !ee(p)); I++)
|
|
@@ -1653,9 +1653,9 @@ function yn(e, ...t) {
|
|
|
1653
1653
|
if (!ee(p) || !Z(f))
|
|
1654
1654
|
return s ? Ot : i;
|
|
1655
1655
|
let c = `${f}__${i}`;
|
|
1656
|
-
|
|
1656
|
+
Ct(T) || (c = `${c}__${JSON.stringify(T)}`);
|
|
1657
1657
|
let b = u.get(c);
|
|
1658
|
-
return b || (b = new Intl.NumberFormat(f, Ie({}, p,
|
|
1658
|
+
return b || (b = new Intl.NumberFormat(f, Ie({}, p, T)), u.set(c, b)), F ? b.formatToParts(g) : b.format(g);
|
|
1659
1659
|
}
|
|
1660
1660
|
const es = [
|
|
1661
1661
|
"localeMatcher",
|
|
@@ -1696,8 +1696,8 @@ function Nn(e, t, n) {
|
|
|
1696
1696
|
s.__numberFormatters.has(a) && s.__numberFormatters.delete(a);
|
|
1697
1697
|
}
|
|
1698
1698
|
}
|
|
1699
|
-
const ao = (e) => e, lo = (e) => "", io = "text", co = (e) => e.length === 0 ? "" :
|
|
1700
|
-
function
|
|
1699
|
+
const ao = (e) => e, lo = (e) => "", io = "text", co = (e) => e.length === 0 ? "" : $t(e), uo = Gs;
|
|
1700
|
+
function Cn(e, t) {
|
|
1701
1701
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1702
1702
|
}
|
|
1703
1703
|
function mo(e) {
|
|
@@ -1708,14 +1708,14 @@ function fo(e, t) {
|
|
|
1708
1708
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1709
1709
|
}
|
|
1710
1710
|
function _o(e = {}) {
|
|
1711
|
-
const t = e.locale, n = mo(e), s = te(e.pluralRules) && Z(t) && me(e.pluralRules[t]) ? e.pluralRules[t] :
|
|
1711
|
+
const t = e.locale, n = mo(e), s = te(e.pluralRules) && Z(t) && me(e.pluralRules[t]) ? e.pluralRules[t] : Cn, l = te(e.pluralRules) && Z(t) && me(e.pluralRules[t]) ? Cn : void 0, a = (f) => f[s(n, f.length, l)], d = e.list || [], u = (f) => d[f], i = e.named || oe();
|
|
1712
1712
|
ge(e.pluralIndex) && fo(n, i);
|
|
1713
1713
|
const g = (f) => i[f];
|
|
1714
1714
|
function E(f, p) {
|
|
1715
1715
|
const S = me(e.messages) ? e.messages(f, !!p) : te(e.messages) ? e.messages[f] : !1;
|
|
1716
1716
|
return S || (e.parent ? e.parent.message(f) : lo);
|
|
1717
1717
|
}
|
|
1718
|
-
const
|
|
1718
|
+
const T = (f) => e.modifiers ? e.modifiers[f] : ao, N = ee(e.processor) && me(e.processor.normalize) ? e.processor.normalize : co, F = ee(e.processor) && me(e.processor.interpolate) ? e.processor.interpolate : uo, w = ee(e.processor) && Z(e.processor.type) ? e.processor.type : io, D = {
|
|
1719
1719
|
list: u,
|
|
1720
1720
|
named: g,
|
|
1721
1721
|
plural: a,
|
|
@@ -1727,7 +1727,7 @@ function _o(e = {}) {
|
|
|
1727
1727
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1728
1728
|
b === "vnode" && be(h) && I ? h[0] : h
|
|
1729
1729
|
);
|
|
1730
|
-
return I ?
|
|
1730
|
+
return I ? T(I)(k, b) : k;
|
|
1731
1731
|
},
|
|
1732
1732
|
message: E,
|
|
1733
1733
|
type: w,
|
|
@@ -1737,33 +1737,33 @@ function _o(e = {}) {
|
|
|
1737
1737
|
};
|
|
1738
1738
|
return D;
|
|
1739
1739
|
}
|
|
1740
|
-
const
|
|
1740
|
+
const Tn = () => "", Te = (e) => me(e);
|
|
1741
1741
|
function On(e, ...t) {
|
|
1742
|
-
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: d, messages: u } = e, [i, g] = xt(...t), E = ve(g.missingWarn) ? g.missingWarn : e.missingWarn,
|
|
1742
|
+
const { fallbackFormat: n, postTranslation: s, unresolving: l, messageCompiler: a, fallbackLocale: d, messages: u } = e, [i, g] = xt(...t), E = ve(g.missingWarn) ? g.missingWarn : e.missingWarn, T = ve(g.fallbackWarn) ? g.fallbackWarn : e.fallbackWarn, N = ve(g.escapeParameter) ? g.escapeParameter : e.escapeParameter, F = !!g.resolvedMessage, w = Z(g.default) || ve(g.default) ? ve(g.default) ? a ? i : () => i : g.default : n ? a ? i : () => i : null, R = n || w != null && (Z(w) || me(w)), D = zt(e, g);
|
|
1743
1743
|
N && ho(g);
|
|
1744
1744
|
let [f, p, S] = F ? [
|
|
1745
1745
|
i,
|
|
1746
1746
|
D,
|
|
1747
1747
|
u[D] || oe()
|
|
1748
|
-
] : ts(e, i, D, d,
|
|
1749
|
-
if (!F && !(Z(c) || ot(c) ||
|
|
1748
|
+
] : ts(e, i, D, d, T, E), c = f, b = i;
|
|
1749
|
+
if (!F && !(Z(c) || ot(c) || Te(c)) && R && (c = w, b = c), !F && (!(Z(c) || ot(c) || Te(c)) || !Z(p)))
|
|
1750
1750
|
return l ? Ot : i;
|
|
1751
1751
|
let I = !1;
|
|
1752
1752
|
const h = () => {
|
|
1753
1753
|
I = !0;
|
|
1754
|
-
}, k =
|
|
1754
|
+
}, k = Te(c) ? c : ns(e, i, p, c, b, h);
|
|
1755
1755
|
if (I)
|
|
1756
1756
|
return c;
|
|
1757
1757
|
const L = bo(e, p, S, g), X = _o(L), V = vo(e, k, X), m = s ? s(V, i) : V;
|
|
1758
1758
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1759
|
-
const
|
|
1759
|
+
const C = {
|
|
1760
1760
|
timestamp: Date.now(),
|
|
1761
|
-
key: Z(i) ? i :
|
|
1762
|
-
locale: p || (
|
|
1763
|
-
format: Z(c) ? c :
|
|
1761
|
+
key: Z(i) ? i : Te(c) ? c.key : "",
|
|
1762
|
+
locale: p || (Te(c) ? c.locale : ""),
|
|
1763
|
+
format: Z(c) ? c : Te(c) ? c.source : "",
|
|
1764
1764
|
message: m
|
|
1765
1765
|
};
|
|
1766
|
-
|
|
1766
|
+
C.meta = Ie({}, e.__meta, /* @__PURE__ */ to() || {}), Fr(C);
|
|
1767
1767
|
}
|
|
1768
1768
|
return m;
|
|
1769
1769
|
}
|
|
@@ -1774,9 +1774,9 @@ function ho(e) {
|
|
|
1774
1774
|
}
|
|
1775
1775
|
function ts(e, t, n, s, l, a) {
|
|
1776
1776
|
const { messages: d, onWarn: u, messageResolver: i, localeFallbacker: g } = e, E = g(e, s, n);
|
|
1777
|
-
let
|
|
1777
|
+
let T = oe(), N, F = null;
|
|
1778
1778
|
const w = "translate";
|
|
1779
|
-
for (let R = 0; R < E.length && (N = E[R],
|
|
1779
|
+
for (let R = 0; R < E.length && (N = E[R], T = d[N] || oe(), (F = i(T, t)) === null && (F = T[t]), !(Z(F) || ot(F) || Te(F))); R++)
|
|
1780
1780
|
if (!oo(N, E)) {
|
|
1781
1781
|
const D = Qt(
|
|
1782
1782
|
e,
|
|
@@ -1788,11 +1788,11 @@ function ts(e, t, n, s, l, a) {
|
|
|
1788
1788
|
);
|
|
1789
1789
|
D !== t && (F = D);
|
|
1790
1790
|
}
|
|
1791
|
-
return [F, N,
|
|
1791
|
+
return [F, N, T];
|
|
1792
1792
|
}
|
|
1793
1793
|
function ns(e, t, n, s, l, a) {
|
|
1794
1794
|
const { messageCompiler: d, warnHtmlMessage: u } = e;
|
|
1795
|
-
if (
|
|
1795
|
+
if (Te(s)) {
|
|
1796
1796
|
const g = s;
|
|
1797
1797
|
return g.locale = g.locale || n, g.key = g.key || t, g;
|
|
1798
1798
|
}
|
|
@@ -1808,10 +1808,10 @@ function vo(e, t, n) {
|
|
|
1808
1808
|
}
|
|
1809
1809
|
function xt(...e) {
|
|
1810
1810
|
const [t, n, s] = e, l = oe();
|
|
1811
|
-
if (!Z(t) && !ge(t) && !
|
|
1811
|
+
if (!Z(t) && !ge(t) && !Te(t) && !ot(t))
|
|
1812
1812
|
throw Ue(je.INVALID_ARGUMENT);
|
|
1813
|
-
const a = ge(t) ? String(t) : (
|
|
1814
|
-
return ge(n) ? l.plural = n : Z(n) ? l.default = n : ee(n) && !
|
|
1813
|
+
const a = ge(t) ? String(t) : (Te(t), t);
|
|
1814
|
+
return ge(n) ? l.plural = n : Z(n) ? l.default = n : ee(n) && !Ct(n) ? l.named = n : be(n) && (l.list = n), ge(s) ? l.plural = s : Z(s) ? l.default = s : ee(s) && Ie(l, s), [a, l];
|
|
1815
1815
|
}
|
|
1816
1816
|
function po(e, t, n, s, l, a) {
|
|
1817
1817
|
return {
|
|
@@ -1848,14 +1848,14 @@ function bo(e, t, n, s) {
|
|
|
1848
1848
|
const p = ns(e, F, t, R, F, () => {
|
|
1849
1849
|
D = !0;
|
|
1850
1850
|
});
|
|
1851
|
-
return D ?
|
|
1852
|
-
} else return
|
|
1851
|
+
return D ? Tn : p;
|
|
1852
|
+
} else return Te(R) ? R : Tn;
|
|
1853
1853
|
}
|
|
1854
1854
|
};
|
|
1855
1855
|
return e.processor && (N.processor = e.processor), s.list && (N.list = s.list), s.named && (N.named = s.named), ge(s.plural) && (N.pluralIndex = s.plural), N;
|
|
1856
1856
|
}
|
|
1857
1857
|
_r();
|
|
1858
|
-
var go = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_dce63cd1-6c39-4a02-b0fb-8233cfb98c32", DOTNET_NOLOGO: "1", USER: "runner", npm_config_always_auth: "", npm_config_user_agent: "pnpm/10.8.0 npm/? node/v24.5.0 linux x64", CI: "true", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_dce63cd1-6c39-4a02-b0fb-8233cfb98c32", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_config_save_workspace_protocol: "true", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.8.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/30.0.16248370", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1855", ACTIONS_ORCHESTRATION_ID: "14f66a45-04a4-4e2b-8f6f-ba5a52810ae2.publish.publish.__default", npm_config_engine_strict: "true", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20261004.327.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_dce63cd1-6c39-4a02-b0fb-8233cfb98c32", SWIFT_PATH: "/usr/share/swift/usr/bin", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:12162", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.14/x64", GITHUB_RUN_ID: "37944755317", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "d7d10341901f70d2d1f61cadd873f88ae6f666c5", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.8/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/feat/schedule-auto-schedule", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L3NjaGVkdWxlLWF1dG8tc2NoZWR1bGVcIixcIlBlcm1pc3Npb25cIjozfSx7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6MX1dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjZmOTZmYTg5LWI3YmYtNDg3OC1iYWQzLTg5ODAwNjU2NmI2ZSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3OTE1Nzg0NjUsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc5MTU1NjI2NSwiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6ImIzNzk2NmJjLTkwZTUtNTNkYS05OWU5LWE0MmRiMTlhNDA5MiIsImpvYl93b3JrZmxvd19yZWYiOiJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW4iLCJqb2Jfd29ya2Zsb3dfc2hhIjoiMDlmNzZkOGFjNWU2YTA3MDc1NDI3NDllMWQ1Njg3YmYxZWFkNWYyYyIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc5MTU1NTk2NSwib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJqdW4tbGVlLWZlZWRtZVwiLFwiYWN0b3JfaWRcIjpcIjIzOTI4Mjg2MlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCIxMTM4NjgwNTE0MzJcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjA5Zjc2ZDhhYzVlNmEwNzA3NTQyNzQ5ZTFkNTY4N2JmMWVhZDVmMmNcIixcInJlZlwiOlwicmVmcy9oZWFkcy9mZWF0L3NjaGVkdWxlLWF1dG8tc2NoZWR1bGVcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2VcIixcInJlcG9zaXRvcnlfaWRcIjpcIjExMjQ2NzIyMzVcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMzc5NDQ3NTUzMTdcIixcInJ1bl9udW1iZXJcIjpcIjE4N1wiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcImQ3ZDEwMzQxOTAxZjcwZDJkMWY2MWNhZGQ4NzNmODhhZTZmNjY2YzVcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL2ZlYXQvc2NoZWR1bGUtYXV0by1zY2hlZHVsZVwiLFwid29ya2Zsb3dfc2hhXCI6XCJkN2QxMDM0MTkwMWY3MGQyZDFmNjFjYWRkODczZjg4YWU2ZjY2NmM1XCJ9Iiwib2lkY19zdWIiOiJyZXBvOmZlZWRtZXBvcy9ocm0tc2VydmljZTpyZWY6cmVmcy9oZWFkcy9mZWF0L3NjaGVkdWxlLWF1dG8tc2NoZWR1bGUiLCJvcmNoX2lkIjoiMTRmNjZhNDUtMDRhNC00ZTJiLThmNmYtYmE1YTUyODEwYWUyLnB1Ymxpc2gucHVibGlzaC5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiIxNGY2NmE0NS0wNGE0LTRlMmItOGY2Zi1iYTVhNTI4MTBhZTIiLCJyZXBvc2l0b3J5X2lkIjoiMTEyNDY3MjIzNSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1NDgzMTUxNSIsInJlcG9zaXRvcnlfdmlzaWJpbGl0eSI6InByaXZhdGUiLCJydW5faWQiOiIzNzk0NDc1NTMxNyIsInJ1bl9udW1iZXIiOiIxODciLCJydW5fdHlwZSI6ImZ1bGwiLCJydW5uZXJfaWQiOiIxMDAwMTg4NDAyIiwicnVubmVyX3R5cGUiOiJob3N0ZWQiLCJzY3AiOiJBY3Rpb25zLlJlc3VsdHM6MTRmNjZhNDUtMDRhNC00ZTJiLThmNmYtYmE1YTUyODEwYWUyOmIzNzk2NmJjLTkwZTUtNTNkYS05OWU5LWE0MmRiMTlhNDA5MiBBY3Rpb25zLlJ1bm5lcjoxNGY2NmE0NS0wNGE0LTRlMmItOGY2Zi1iYTVhNTI4MTBhZTI6YjM3OTY2YmMtOTBlNS01M2RhLTk5ZTktYTQyZGIxOWE0MDkyIEFjdGlvbnMuVXBsb2FkQXJ0aWZhY3RzOjE0ZjY2YTQ1LTA0YTQtNGUyYi04ZjZmLWJhNWE1MjgxMGFlMjpiMzc5NjZiYy05MGU1LTUzZGEtOTllOS1hNDJkYjE5YTQwOTIgZ2VuZXJhdGVfaWRfdG9rZW46MTRmNjZhNDUtMDRhNC00ZTJiLThmNmYtYmE1YTUyODEwYWUyOmIzNzk2NmJjLTkwZTUtNTNkYS05OWU5LWE0MmRiMTlhNDA5MiBBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInNoYSI6ImQ3ZDEwMzQxOTAxZjcwZDJkMWY2MWNhZGQ4NzNmODhhZTZmNjY2YzUiLCJ0cnVzdF90aWVyIjoiMSJ9.FjwVsE--WnIVHssrOiv5tpwYpVIGMImbYJELwcAz9yRFDBDc0fuRxfiudR5OnNav_JTIKdv8N2jyMCDEPHicMIt83-vo9n717DKRE1V9tXFEf2VJG4sNmVoyZFlwMpgeTNb2fGx7qI18E6MUhKUjEyzNkZ_x3qTBJEEULwJf7WWlUq4-1g2FzgHHB8hR37_K7Z5wWAN7lT67OpoTJ6aHISP9zNMpPIWA5gKOOSvP1RaZGniww9K5vH6S-ykm2CyVbMJhtvHuxoF4OJXIljQjUHqqlF4x_b8o0Mw1vM1EoofcSQOFeJbf5ght7TWzieekN2odxvYObjOxexpRAgxsuA", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/24.5.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_e9e26f94-2fab-4fd1-a984-6ea3bd1755c1", INVOCATION_ID: "5ad8826aeba34086b5a8c17b38ac166d", 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: "187", GITHUB_TRIGGERING_ACTOR: "jun-lee-feedme", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000188402", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/schedule-auto-schedule", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "1124672235", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/bin/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "2.3.0-dev.4", npm_config_verify_deps_before_run: "false", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", GITHUB_SHA: "d7d10341901f70d2d1f61cadd873f88ae6f666c5", GITHUB_RUN_ATTEMPT: "1", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/feat/schedule-auto-schedule", GITHUB_ACTOR: "jun-lee-feedme", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_dce63cd1-6c39-4a02-b0fb-8233cfb98c32", 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_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-2-azure-eastus.actions.githubusercontent.com/250//idtoken/14f66a45-04a4-4e2b-8f6f-ba5a52810ae2/b37966bc-90e5-53da-99e9-a42db19a4092?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_dce63cd1-6c39-4a02-b0fb-8233cfb98c32", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_dce63cd1-6c39-4a02-b0fb-8233cfb98c32", 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_dce63cd1-6c39-4a02-b0fb-8233cfb98c32", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", NODE_ENV: "production" } };
|
|
1858
|
+
var go = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_a5c106e9-8204-4e93-8d31-469383d395e9", DOTNET_NOLOGO: "1", USER: "runner", npm_config_always_auth: "", npm_config_user_agent: "pnpm/10.8.0 npm/? node/v24.5.0 linux x64", CI: "true", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_a5c106e9-8204-4e93-8d31-469383d395e9", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_config_save_workspace_protocol: "true", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.8.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/30.0.16248370", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1764", ACTIONS_ORCHESTRATION_ID: "336740ab-b7cd-4cfc-88e6-cb1584ab9bf4.publish.publish.__default", npm_config_engine_strict: "true", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20261004.327.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_a5c106e9-8204-4e93-8d31-469383d395e9", SWIFT_PATH: "/usr/share/swift/usr/bin", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:11598", GITHUB_WORKFLOW: "Publish hrm-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.14/x64", GITHUB_RUN_ID: "37957727276", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "415e4a81819845c58c631631dab8aa1122a8fa66", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.8/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GITHUB_WORKFLOW_REF: "feedmepos/hrm-service/.github/workflows/publish-hrm-portal-trusted.yml@refs/heads/feat/schedule-auto-schedulu-quick-fix", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9mZWF0L3NjaGVkdWxlLWF1dG8tc2NoZWR1bHUtcXVpY2stZml4XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsImF1ZCI6InZzbzo2Zjk2ZmE4OS1iN2JmLTQ4NzgtYmFkMy04OTgwMDY1NjZiNmUiLCJiaWxsaW5nX293bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwiZXhwIjoxNzkxNTg0NzAzLCJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3ByaW1hcnlzaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy93cy8yMDA1LzA1L2lkZW50aXR5L2NsYWltcy9zaWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJpYXQiOjE3OTE1NjI1MDMsImlzcyI6Imh0dHBzOi8vdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJqb2JfaWQiOiI5OGYwYzcyYi0xMmFlLTVhMzEtYWFiOS01OTM2YTZlMGM2NzUiLCJqb2Jfd29ya2Zsb3dfcmVmIjoiZmVlZG1lcG9zL2FjdGlvbnMvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ucG0tZ2l0aHViLnlhbWxAcmVmcy9oZWFkcy9tYWluIiwiam9iX3dvcmtmbG93X3NoYSI6IjA5Zjc2ZDhhYzVlNmEwNzA3NTQyNzQ5ZTFkNTY4N2JmMWVhZDVmMmMiLCJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJuYmYiOjE3OTE1NjIyMDMsIm9pZGNfZXh0cmEiOiJ7XCJhY3RvclwiOlwiWXlUNzc4NlwiLFwiYWN0b3JfaWRcIjpcIjk3MDAzMTI1XCIsXCJiYXNlX3JlZlwiOlwiXCIsXCJjaGVja19ydW5faWRcIjpcIjExMzkxMjQxNzMxN1wiLFwiZXZlbnRfbmFtZVwiOlwid29ya2Zsb3dfZGlzcGF0Y2hcIixcImhlYWRfcmVmXCI6XCJcIixcImpvYl93b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9hY3Rpb25zLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtbnBtLWdpdGh1Yi55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwiam9iX3dvcmtmbG93X3NoYVwiOlwiMDlmNzZkOGFjNWU2YTA3MDc1NDI3NDllMWQ1Njg3YmYxZWFkNWYyY1wiLFwicmVmXCI6XCJyZWZzL2hlYWRzL2ZlYXQvc2NoZWR1bGUtYXV0by1zY2hlZHVsdS1xdWljay1maXhcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2VcIixcInJlcG9zaXRvcnlfaWRcIjpcIjExMjQ2NzIyMzVcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMzc5NTc3MjcyNzZcIixcInJ1bl9udW1iZXJcIjpcIjE4OFwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcIjQxNWU0YTgxODE5ODQ1YzU4YzYzMTYzMWRhYjhhYTExMjJhOGZhNjZcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL2ZlYXQvc2NoZWR1bGUtYXV0by1zY2hlZHVsdS1xdWljay1maXhcIixcIndvcmtmbG93X3NoYVwiOlwiNDE1ZTRhODE4MTk4NDVjNThjNjMxNjMxZGFiOGFhMTEyMmE4ZmE2NlwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvaHJtLXNlcnZpY2U6cmVmOnJlZnMvaGVhZHMvZmVhdC9zY2hlZHVsZS1hdXRvLXNjaGVkdWx1LXF1aWNrLWZpeCIsIm9yY2hfaWQiOiIzMzY3NDBhYi1iN2NkLTRjZmMtODhlNi1jYjE1ODRhYjliZjQucHVibGlzaC5wdWJsaXNoLl9fZGVmYXVsdCIsIm93bmVyX2lkIjoiRV9rZ0RPQUFKb1lRIiwicGxhbl9pZCI6IjMzNjc0MGFiLWI3Y2QtNGNmYy04OGU2LWNiMTU4NGFiOWJmNCIsInJlcG9zaXRvcnlfaWQiOiIxMTI0NjcyMjM1IiwicmVwb3NpdG9yeV9vd25lcl9pZCI6IjU0ODMxNTE1IiwicmVwb3NpdG9yeV92aXNpYmlsaXR5IjoicHJpdmF0ZSIsInJ1bl9pZCI6IjM3OTU3NzI3Mjc2IiwicnVuX251bWJlciI6IjE4OCIsInJ1bl90eXBlIjoiZnVsbCIsInJ1bm5lcl9pZCI6IjEwMDAxODg1MzgiLCJydW5uZXJfdHlwZSI6Imhvc3RlZCIsInNjcCI6IkFjdGlvbnMuUmVzdWx0czozMzY3NDBhYi1iN2NkLTRjZmMtODhlNi1jYjE1ODRhYjliZjQ6OThmMGM3MmItMTJhZS01YTMxLWFhYjktNTkzNmE2ZTBjNjc1IEFjdGlvbnMuUnVubmVyOjMzNjc0MGFiLWI3Y2QtNGNmYy04OGU2LWNiMTU4NGFiOWJmNDo5OGYwYzcyYi0xMmFlLTVhMzEtYWFiOS01OTM2YTZlMGM2NzUgQWN0aW9ucy5VcGxvYWRBcnRpZmFjdHM6MzM2NzQwYWItYjdjZC00Y2ZjLTg4ZTYtY2IxNTg0YWI5YmY0Ojk4ZjBjNzJiLTEyYWUtNWEzMS1hYWI5LTU5MzZhNmUwYzY3NSBnZW5lcmF0ZV9pZF90b2tlbjozMzY3NDBhYi1iN2NkLTRjZmMtODhlNi1jYjE1ODRhYjliZjQ6OThmMGM3MmItMTJhZS01YTMxLWFhYjktNTkzNmE2ZTBjNjc1IEFjdGlvbnMuR2VuZXJpY1JlYWQ6MDAwMDAwMDAtMDAwMC0wMDAwLTAwMDAtMDAwMDAwMDAwMDAwIiwic2hhIjoiNDE1ZTRhODE4MTk4NDVjNThjNjMxNjMxZGFiOGFhMTEyMmE4ZmE2NiIsInRydXN0X3RpZXIiOiIxIn0.o2nboefgkdCTTLfJeOl_L_pIInTnAiEjaQdJXZ6a1YUSbiBad1GRzXCfPZABuYTDvSFS97efyDQhe8mwsgobexA6FdEcSyhOSs-CCmyXPue45lLom81DVSrlHgWKdwcTBnVm9AVWhx0FXKpjGmVgrfmBgh9zQuurPOpZo11aUfG8F5qnKjHb3PolUUu8o-MeQgNEdfaBAGAPx31eJimUwXSKEsgfJJ7LI9Dfy4FVxu0HabQLX8oTB4h7tN9s9pB6YwSv3Vxw7ut9oInt5dNIWbJ5vlgGfsgW8-pfami6eHh2r0surO9Nc8OChZ2PLljwQQfn61i6I33AQT-TmNLclg", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/work/hrm-service/hrm-service/apps/hrm-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/hrm-service/hrm-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/24.5.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_f0bacdfc-3743-41dc-bdcb-9713d092ee62", INVOCATION_ID: "df26efa0b3cf4fed934a843c5378339f", 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: "188", GITHUB_TRIGGERING_ACTOR: "YyT7786", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000188538", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "feat/schedule-auto-schedulu-quick-fix", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "1124672235", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/bin/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "2.3.0-dev.5", npm_config_verify_deps_before_run: "false", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GITHUB_WORKSPACE: "/home/runner/work/hrm-service/hrm-service", ACCEPT_EULA: "Y", GITHUB_JOB: "publish", GITHUB_SHA: "415e4a81819845c58c631631dab8aa1122a8fa66", GITHUB_RUN_ATTEMPT: "1", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/feat/schedule-auto-schedulu-quick-fix", GITHUB_ACTOR: "YyT7786", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_a5c106e9-8204-4e93-8d31-469383d395e9", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "97003125", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-1-azure-eastus.actions.githubusercontent.com/198//idtoken/336740ab-b7cd-4cfc-88e6-cb1584ab9bf4/98f0c72b-12ae-5a31-aab9-5936a6e0c675?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_a5c106e9-8204-4e93-8d31-469383d395e9", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_a5c106e9-8204-4e93-8d31-469383d395e9", 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_a5c106e9-8204-4e93-8d31-469383d395e9", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", NODE_ENV: "production" } };
|
|
1859
1859
|
const Io = "10.0.5";
|
|
1860
1860
|
function Eo() {
|
|
1861
1861
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Xe().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Xe().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Xe().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Xe().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
@@ -1874,9 +1874,9 @@ const at = {
|
|
|
1874
1874
|
UNEXPECTED_ERROR: 32
|
|
1875
1875
|
};
|
|
1876
1876
|
function ut(e, ...t) {
|
|
1877
|
-
return
|
|
1877
|
+
return Tt(e, null, void 0);
|
|
1878
1878
|
}
|
|
1879
|
-
const Vt = /* @__PURE__ */
|
|
1879
|
+
const Vt = /* @__PURE__ */ $e("__translateVNode"), Gt = /* @__PURE__ */ $e("__datetimeParts"), Wt = /* @__PURE__ */ $e("__numberParts"), yo = $e("__setPluralRules"), ss = /* @__PURE__ */ $e("__injectWithOption"), Zt = /* @__PURE__ */ $e("__dispose");
|
|
1880
1880
|
function dt(e) {
|
|
1881
1881
|
if (!te(e))
|
|
1882
1882
|
return e;
|
|
@@ -1942,13 +1942,13 @@ function No(e, t, n) {
|
|
|
1942
1942
|
function Sn(e) {
|
|
1943
1943
|
return ue(fs, null, e, 0);
|
|
1944
1944
|
}
|
|
1945
|
-
const Ln = "__INTLIFY_META__", Rn = () => [],
|
|
1945
|
+
const Ln = "__INTLIFY_META__", Rn = () => [], Co = () => !1;
|
|
1946
1946
|
let An = 0;
|
|
1947
1947
|
function kn(e) {
|
|
1948
|
-
return (t, n, s, l) => e(n, s,
|
|
1948
|
+
return (t, n, s, l) => e(n, s, Bt() || void 0, l);
|
|
1949
1949
|
}
|
|
1950
|
-
const
|
|
1951
|
-
const e =
|
|
1950
|
+
const To = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
1951
|
+
const e = Bt();
|
|
1952
1952
|
let t = null;
|
|
1953
1953
|
return e && (t = os(e)[Ln]) ? { [Ln]: t } : null;
|
|
1954
1954
|
};
|
|
@@ -1961,7 +1961,7 @@ function Oo(e = {}) {
|
|
|
1961
1961
|
), i = a(
|
|
1962
1962
|
// prettier-ignore
|
|
1963
1963
|
t && d ? t.fallbackLocale.value : Z(e.fallbackLocale) || be(e.fallbackLocale) || ee(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : u.value
|
|
1964
|
-
), g = a(rs(u.value, e)), E = a(ee(e.datetimeFormats) ? e.datetimeFormats : { [u.value]: {} }),
|
|
1964
|
+
), g = a(rs(u.value, e)), E = a(ee(e.datetimeFormats) ? e.datetimeFormats : { [u.value]: {} }), T = a(ee(e.numberFormats) ? e.numberFormats : { [u.value]: {} });
|
|
1965
1965
|
let N = t ? t.missingWarn : ve(e.missingWarn) || yt(e.missingWarn) ? e.missingWarn : !0, F = t ? t.fallbackWarn : ve(e.fallbackWarn) || yt(e.fallbackWarn) ? e.fallbackWarn : !0, w = t ? t.fallbackRoot : ve(e.fallbackRoot) ? e.fallbackRoot : !0, R = !!e.fallbackFormat, D = me(e.missing) ? e.missing : null, f = me(e.missing) ? kn(e.missing) : null, p = me(e.postTranslation) ? e.postTranslation : null, S = t ? t.warnHtmlMessage : ve(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, c = !!e.escapeParameter;
|
|
1966
1966
|
const b = t ? t.modifiers : ee(e.modifiers) ? e.modifiers : {};
|
|
1967
1967
|
let I = e.pluralRules || t && t.pluralRules, h;
|
|
@@ -1986,7 +1986,7 @@ function Oo(e = {}) {
|
|
|
1986
1986
|
messageCompiler: e.messageCompiler,
|
|
1987
1987
|
__meta: { framework: "vue" }
|
|
1988
1988
|
};
|
|
1989
|
-
v.datetimeFormats = E.value, v.numberFormats =
|
|
1989
|
+
v.datetimeFormats = E.value, v.numberFormats = T.value, v.__datetimeFormatters = ee(h) ? h.__datetimeFormatters : void 0, v.__numberFormatters = ee(h) ? h.__numberFormatters : void 0;
|
|
1990
1990
|
const y = so(v);
|
|
1991
1991
|
return s && bn(y), y;
|
|
1992
1992
|
})(), lt(h, u.value, i.value);
|
|
@@ -1996,7 +1996,7 @@ function Oo(e = {}) {
|
|
|
1996
1996
|
i.value,
|
|
1997
1997
|
g.value,
|
|
1998
1998
|
E.value,
|
|
1999
|
-
|
|
1999
|
+
T.value
|
|
2000
2000
|
];
|
|
2001
2001
|
}
|
|
2002
2002
|
const X = z({
|
|
@@ -2009,20 +2009,20 @@ function Oo(e = {}) {
|
|
|
2009
2009
|
set: (v) => {
|
|
2010
2010
|
i.value = v, h.fallbackLocale = i.value, lt(h, u.value, v);
|
|
2011
2011
|
}
|
|
2012
|
-
}), m = z(() => g.value),
|
|
2012
|
+
}), m = z(() => g.value), C = /* @__PURE__ */ z(() => E.value), U = /* @__PURE__ */ z(() => T.value);
|
|
2013
2013
|
function x() {
|
|
2014
2014
|
return me(p) ? p : null;
|
|
2015
2015
|
}
|
|
2016
2016
|
function j(v) {
|
|
2017
2017
|
p = v, h.postTranslation = v;
|
|
2018
2018
|
}
|
|
2019
|
-
function
|
|
2019
|
+
function W() {
|
|
2020
2020
|
return D;
|
|
2021
2021
|
}
|
|
2022
|
-
function
|
|
2022
|
+
function G(v) {
|
|
2023
2023
|
v !== null && (f = kn(v)), D = v, h.missing = f;
|
|
2024
2024
|
}
|
|
2025
|
-
const
|
|
2025
|
+
const Y = (v, y, $, le, Be, mt) => {
|
|
2026
2026
|
L();
|
|
2027
2027
|
let ze;
|
|
2028
2028
|
try {
|
|
@@ -2030,30 +2030,30 @@ function Oo(e = {}) {
|
|
|
2030
2030
|
} finally {
|
|
2031
2031
|
__INTLIFY_PROD_DEVTOOLS__, s || (h.fallbackContext = void 0);
|
|
2032
2032
|
}
|
|
2033
|
-
if (
|
|
2034
|
-
ge(ze) && ze === Ot ||
|
|
2033
|
+
if ($ !== "translate exists" && // for not `te` (e.g `t`)
|
|
2034
|
+
ge(ze) && ze === Ot || $ === "translate exists" && !ze) {
|
|
2035
2035
|
const [cs, ya] = y();
|
|
2036
|
-
return t && w ? le(t) :
|
|
2036
|
+
return t && w ? le(t) : Be(cs);
|
|
2037
2037
|
} else {
|
|
2038
2038
|
if (mt(ze))
|
|
2039
2039
|
return ze;
|
|
2040
2040
|
throw ut(at.UNEXPECTED_RETURN_TYPE);
|
|
2041
2041
|
}
|
|
2042
2042
|
};
|
|
2043
|
-
function
|
|
2044
|
-
return
|
|
2043
|
+
function B(...v) {
|
|
2044
|
+
return Y((y) => Reflect.apply(On, null, [y, ...v]), () => xt(...v), "translate", (y) => Reflect.apply(y.t, y, [...v]), (y) => y, (y) => Z(y));
|
|
2045
2045
|
}
|
|
2046
2046
|
function ne(...v) {
|
|
2047
|
-
const [y,
|
|
2047
|
+
const [y, $, le] = v;
|
|
2048
2048
|
if (le && !te(le))
|
|
2049
2049
|
throw ut(at.INVALID_ARGUMENT);
|
|
2050
|
-
return
|
|
2050
|
+
return B(y, $, Ie({ resolvedMessage: !0 }, le || {}));
|
|
2051
2051
|
}
|
|
2052
2052
|
function Q(...v) {
|
|
2053
|
-
return
|
|
2053
|
+
return Y((y) => Reflect.apply(In, null, [y, ...v]), () => jt(...v), "datetime format", (y) => Reflect.apply(y.d, y, [...v]), () => vn, (y) => Z(y));
|
|
2054
2054
|
}
|
|
2055
2055
|
function _e(...v) {
|
|
2056
|
-
return
|
|
2056
|
+
return Y((y) => Reflect.apply(yn, null, [y, ...v]), () => Ut(...v), "number format", (y) => Reflect.apply(y.n, y, [...v]), () => vn, (y) => Z(y));
|
|
2057
2057
|
}
|
|
2058
2058
|
function ce(v) {
|
|
2059
2059
|
return v.map((y) => Z(y) || ge(y) || ve(y) ? Sn(String(y)) : y);
|
|
@@ -2064,39 +2064,39 @@ function Oo(e = {}) {
|
|
|
2064
2064
|
type: "vnode"
|
|
2065
2065
|
};
|
|
2066
2066
|
function q(...v) {
|
|
2067
|
-
return
|
|
2068
|
-
let
|
|
2067
|
+
return Y((y) => {
|
|
2068
|
+
let $;
|
|
2069
2069
|
const le = y;
|
|
2070
2070
|
try {
|
|
2071
|
-
le.processor = fe,
|
|
2071
|
+
le.processor = fe, $ = Reflect.apply(On, null, [le, ...v]);
|
|
2072
2072
|
} finally {
|
|
2073
2073
|
le.processor = null;
|
|
2074
2074
|
}
|
|
2075
|
-
return
|
|
2075
|
+
return $;
|
|
2076
2076
|
}, () => xt(...v), "translate", (y) => y[Vt](...v), (y) => [Sn(y)], (y) => be(y));
|
|
2077
2077
|
}
|
|
2078
2078
|
function De(...v) {
|
|
2079
|
-
return
|
|
2079
|
+
return Y((y) => Reflect.apply(yn, null, [y, ...v]), () => Ut(...v), "number format", (y) => y[Wt](...v), Rn, (y) => Z(y) || be(y));
|
|
2080
2080
|
}
|
|
2081
2081
|
function K(...v) {
|
|
2082
|
-
return
|
|
2082
|
+
return Y((y) => Reflect.apply(In, null, [y, ...v]), () => jt(...v), "datetime format", (y) => y[Gt](...v), Rn, (y) => Z(y) || be(y));
|
|
2083
2083
|
}
|
|
2084
2084
|
function he(v) {
|
|
2085
2085
|
I = v, h.pluralRules = I;
|
|
2086
2086
|
}
|
|
2087
|
-
function
|
|
2088
|
-
return
|
|
2087
|
+
function Je(v, y) {
|
|
2088
|
+
return Y(() => {
|
|
2089
2089
|
if (!v)
|
|
2090
2090
|
return !1;
|
|
2091
|
-
const
|
|
2092
|
-
return ot(
|
|
2093
|
-
}, () => [v], "translate exists", (
|
|
2091
|
+
const $ = Z(y) ? y : u.value, le = Fe($), Be = h.messageResolver(le, v);
|
|
2092
|
+
return ot(Be) || Te(Be) || Z(Be);
|
|
2093
|
+
}, () => [v], "translate exists", ($) => Reflect.apply($.te, $, [v, y]), Co, ($) => ve($));
|
|
2094
2094
|
}
|
|
2095
2095
|
function Ke(v) {
|
|
2096
2096
|
let y = null;
|
|
2097
|
-
const
|
|
2098
|
-
for (let le = 0; le <
|
|
2099
|
-
const
|
|
2097
|
+
const $ = Hn(h, i.value, u.value);
|
|
2098
|
+
for (let le = 0; le < $.length; le++) {
|
|
2099
|
+
const Be = g.value[$[le]] || {}, mt = h.messageResolver(Be, v);
|
|
2100
2100
|
if (mt != null) {
|
|
2101
2101
|
y = mt;
|
|
2102
2102
|
break;
|
|
@@ -2111,22 +2111,22 @@ function Oo(e = {}) {
|
|
|
2111
2111
|
function Fe(v) {
|
|
2112
2112
|
return g.value[v] || {};
|
|
2113
2113
|
}
|
|
2114
|
-
function
|
|
2114
|
+
function Ce(v, y) {
|
|
2115
2115
|
if (l) {
|
|
2116
|
-
const
|
|
2117
|
-
for (const le in
|
|
2118
|
-
Le(
|
|
2119
|
-
y =
|
|
2116
|
+
const $ = { [v]: y };
|
|
2117
|
+
for (const le in $)
|
|
2118
|
+
Le($, le) && dt($[le]);
|
|
2119
|
+
y = $[v];
|
|
2120
2120
|
}
|
|
2121
2121
|
g.value[v] = y, h.messages = g.value;
|
|
2122
2122
|
}
|
|
2123
|
-
function
|
|
2123
|
+
function Ye(v, y) {
|
|
2124
2124
|
g.value[v] = g.value[v] || {};
|
|
2125
|
-
const
|
|
2125
|
+
const $ = { [v]: y };
|
|
2126
2126
|
if (l)
|
|
2127
|
-
for (const le in
|
|
2128
|
-
Le(
|
|
2129
|
-
y =
|
|
2127
|
+
for (const le in $)
|
|
2128
|
+
Le($, le) && dt($[le]);
|
|
2129
|
+
y = $[v], Et(y, g.value[v]), h.messages = g.value;
|
|
2130
2130
|
}
|
|
2131
2131
|
function O(v) {
|
|
2132
2132
|
return E.value[v] || {};
|
|
@@ -2138,13 +2138,13 @@ function Oo(e = {}) {
|
|
|
2138
2138
|
E.value[v] = Ie(E.value[v] || {}, y), h.datetimeFormats = E.value, En(h, v, y);
|
|
2139
2139
|
}
|
|
2140
2140
|
function _(v) {
|
|
2141
|
-
return
|
|
2141
|
+
return T.value[v] || {};
|
|
2142
2142
|
}
|
|
2143
2143
|
function A(v, y) {
|
|
2144
|
-
|
|
2144
|
+
T.value[v] = y, h.numberFormats = T.value, Nn(h, v, y);
|
|
2145
2145
|
}
|
|
2146
2146
|
function M(v, y) {
|
|
2147
|
-
|
|
2147
|
+
T.value[v] = Ie(T.value[v] || {}, y), h.numberFormats = T.value, Nn(h, v, y);
|
|
2148
2148
|
}
|
|
2149
2149
|
An++, t && on && (wt(t.locale, (v) => {
|
|
2150
2150
|
d && (u.value = v, h.locale = v, lt(h, u.value, i.value));
|
|
@@ -2210,17 +2210,17 @@ function Oo(e = {}) {
|
|
|
2210
2210
|
set escapeParameter(v) {
|
|
2211
2211
|
c = v, h.escapeParameter = v;
|
|
2212
2212
|
},
|
|
2213
|
-
t:
|
|
2213
|
+
t: B,
|
|
2214
2214
|
getLocaleMessage: Fe,
|
|
2215
|
-
setLocaleMessage:
|
|
2216
|
-
mergeLocaleMessage:
|
|
2215
|
+
setLocaleMessage: Ce,
|
|
2216
|
+
mergeLocaleMessage: Ye,
|
|
2217
2217
|
getPostTranslationHandler: x,
|
|
2218
2218
|
setPostTranslationHandler: j,
|
|
2219
|
-
getMissingHandler:
|
|
2220
|
-
setMissingHandler:
|
|
2219
|
+
getMissingHandler: W,
|
|
2220
|
+
setMissingHandler: G,
|
|
2221
2221
|
[yo]: he
|
|
2222
2222
|
};
|
|
2223
|
-
return P.datetimeFormats =
|
|
2223
|
+
return P.datetimeFormats = C, P.numberFormats = U, P.rt = ne, P.te = Je, P.tm = xe, P.d = Q, P.n = _e, P.getDateTimeFormat = O, P.setDateTimeFormat = r, P.mergeDateTimeFormat = o, P.getNumberFormat = _, P.setNumberFormat = A, P.mergeNumberFormat = M, P[ss] = n, P[Vt] = q, P[Gt] = K, P[Wt] = De, P;
|
|
2224
2224
|
}
|
|
2225
2225
|
const qt = {
|
|
2226
2226
|
tag: {
|
|
@@ -2278,8 +2278,8 @@ function ls(e, t, n, s) {
|
|
|
2278
2278
|
const w = l[N.type], R = w ? w({ [N.type]: N.value, index: F, parts: i }) : [N.value];
|
|
2279
2279
|
return Lo(R) && (R[0].key = `${N.type}-${F}`), R;
|
|
2280
2280
|
}) : Z(i) && (g = [i]);
|
|
2281
|
-
const E = Ie(oe(), a),
|
|
2282
|
-
return
|
|
2281
|
+
const E = Ie(oe(), a), T = Z(e.tag) || te(e.tag) ? e.tag : as();
|
|
2282
|
+
return Gn(T, E, g);
|
|
2283
2283
|
};
|
|
2284
2284
|
}
|
|
2285
2285
|
Ie({
|
|
@@ -2300,9 +2300,9 @@ Ie({
|
|
|
2300
2300
|
type: [String, Object]
|
|
2301
2301
|
}
|
|
2302
2302
|
}, qt);
|
|
2303
|
-
const Ro = /* @__PURE__ */
|
|
2303
|
+
const Ro = /* @__PURE__ */ $e("global-vue-i18n");
|
|
2304
2304
|
function St(e = {}) {
|
|
2305
|
-
const t =
|
|
2305
|
+
const t = Bt();
|
|
2306
2306
|
if (t == null)
|
|
2307
2307
|
throw ut(at.MUST_BE_CALL_SETUP_TOP);
|
|
2308
2308
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
@@ -2329,7 +2329,7 @@ function Ao(e) {
|
|
|
2329
2329
|
return t;
|
|
2330
2330
|
}
|
|
2331
2331
|
function ko(e, t) {
|
|
2332
|
-
return
|
|
2332
|
+
return Ct(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
|
|
2333
2333
|
}
|
|
2334
2334
|
function Mo(e) {
|
|
2335
2335
|
return e.mode === "composition" ? e.global : e.global.__composer;
|
|
@@ -2366,7 +2366,7 @@ function Fo(e, t, n) {
|
|
|
2366
2366
|
}
|
|
2367
2367
|
Eo();
|
|
2368
2368
|
zr(Mr);
|
|
2369
|
-
Qr(
|
|
2369
|
+
Qr($r);
|
|
2370
2370
|
qr(Hn);
|
|
2371
2371
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
2372
2372
|
const e = Xe();
|
|
@@ -2384,14 +2384,14 @@ const vt = /* @__PURE__ */ Re({
|
|
|
2384
2384
|
const { t } = St();
|
|
2385
2385
|
return (n, s) => {
|
|
2386
2386
|
const l = we("FmIcon"), a = we("FmTooltip");
|
|
2387
|
-
return
|
|
2387
|
+
return J(), Ne(a, {
|
|
2388
2388
|
variant: "plain",
|
|
2389
2389
|
placement: "right",
|
|
2390
2390
|
"z-index": 50
|
|
2391
2391
|
}, {
|
|
2392
2392
|
content: de(() => [
|
|
2393
2393
|
ae("div", null, Oe(H(t)("team.memberForm.permissions.inherited")), 1),
|
|
2394
|
-
(
|
|
2394
|
+
(J(!0), ie(ke, null, ye(e.item.setNames, (d) => (J(), ie("div", { key: d }, [
|
|
2395
2395
|
ae("div", null, "- " + Oe(d), 1)
|
|
2396
2396
|
]))), 128))
|
|
2397
2397
|
]),
|
|
@@ -2429,54 +2429,54 @@ const wn = Object.values(Ss), Po = {
|
|
|
2429
2429
|
function jo(e, t, n, s) {
|
|
2430
2430
|
const { t: l } = He(), { getFlagValue: a, getFlag: d } = Os(), u = z(() => {
|
|
2431
2431
|
var j;
|
|
2432
|
-
const m = /* @__PURE__ */ new Map(),
|
|
2433
|
-
for (const
|
|
2434
|
-
const
|
|
2435
|
-
if (!
|
|
2436
|
-
const
|
|
2437
|
-
if (n.value.includes(
|
|
2432
|
+
const m = /* @__PURE__ */ new Map(), C = /* @__PURE__ */ new Map(), U = /* @__PURE__ */ new Map();
|
|
2433
|
+
for (const W of t.value) {
|
|
2434
|
+
const G = W.category;
|
|
2435
|
+
if (!G) continue;
|
|
2436
|
+
const Y = W.subject;
|
|
2437
|
+
if (n.value.includes(W.subject) || W.showByFeatureFlag && ((j = d(W.showByFeatureFlag)) == null ? void 0 : j.enabled) === !1 && a(W.showByFeatureFlag) === "true")
|
|
2438
2438
|
continue;
|
|
2439
|
-
m.has(
|
|
2440
|
-
const
|
|
2441
|
-
U.set(
|
|
2442
|
-
label: l(`permissionSet.permissionLabels.${
|
|
2443
|
-
value:
|
|
2444
|
-
optionKey: `${
|
|
2445
|
-
}),
|
|
2439
|
+
m.has(G) || m.set(G, []);
|
|
2440
|
+
const B = U.get(Y) ?? 0;
|
|
2441
|
+
U.set(Y, B + 1), m.get(G).push({
|
|
2442
|
+
label: l(`permissionSet.permissionLabels.${Y}`, W.label),
|
|
2443
|
+
value: Y,
|
|
2444
|
+
optionKey: `${Y}::${B}`
|
|
2445
|
+
}), C.has(Y) || C.set(Y, W);
|
|
2446
2446
|
}
|
|
2447
|
-
return [...m.keys()].sort((
|
|
2448
|
-
const
|
|
2449
|
-
return
|
|
2450
|
-
}).map((
|
|
2451
|
-
const
|
|
2452
|
-
for (const K of
|
|
2453
|
-
const he =
|
|
2454
|
-
he &&
|
|
2447
|
+
return [...m.keys()].sort((W, G) => {
|
|
2448
|
+
const Y = wn.indexOf(W), B = wn.indexOf(G);
|
|
2449
|
+
return Y === -1 && B === -1 ? W.localeCompare(G) : Y === -1 ? 1 : B === -1 ? -1 : Y - B;
|
|
2450
|
+
}).map((W) => {
|
|
2451
|
+
const G = m.get(W), Y = l(`permissionSet.categoryLabels.${W}`, W), B = /* @__PURE__ */ new Map();
|
|
2452
|
+
for (const K of G) {
|
|
2453
|
+
const he = C.get(K.value);
|
|
2454
|
+
he && B.set(K.value, he.actions);
|
|
2455
2455
|
}
|
|
2456
|
-
const ne =
|
|
2457
|
-
const he =
|
|
2456
|
+
const ne = G.some((K) => {
|
|
2457
|
+
const he = B.get(K.value);
|
|
2458
2458
|
return he && he.length > 1;
|
|
2459
2459
|
}), Q = ne ? [
|
|
2460
2460
|
...new Set(
|
|
2461
|
-
|
|
2461
|
+
G.flatMap((K) => B.get(K.value) ?? []).filter((K) => K !== "manage")
|
|
2462
2462
|
)
|
|
2463
2463
|
] : [], _e = /* @__PURE__ */ new Map();
|
|
2464
2464
|
for (const K of e.value)
|
|
2465
|
-
|
|
2465
|
+
G.some((he) => he.value === K.subject) && !K.inverted && _e.set(K.subject, new Set(K.actions));
|
|
2466
2466
|
const ce = ne ? e.value.filter(
|
|
2467
|
-
(K) =>
|
|
2468
|
-
).map((K) => K.subject) : e.value.filter((K) =>
|
|
2467
|
+
(K) => G.some((he) => he.value === K.subject) && !K.inverted && K.actions.includes("manage")
|
|
2468
|
+
).map((K) => K.subject) : e.value.filter((K) => G.some((he) => he.value === K.subject) && !K.inverted).map((K) => K.subject), re = G.find((K) => {
|
|
2469
2469
|
var he;
|
|
2470
|
-
return (he =
|
|
2470
|
+
return (he = C.get(K.value)) == null ? void 0 : he.isCategoryCover;
|
|
2471
2471
|
}), fe = (re == null ? void 0 : re.value) ?? null, q = fe ? _e.get(fe) ?? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set(), De = q.has("manage");
|
|
2472
2472
|
return {
|
|
2473
|
-
category:
|
|
2474
|
-
label:
|
|
2475
|
-
options:
|
|
2473
|
+
category: W,
|
|
2474
|
+
label: Y,
|
|
2475
|
+
options: G,
|
|
2476
2476
|
selectedSubjects: ce,
|
|
2477
2477
|
isMultiAction: ne,
|
|
2478
2478
|
actionColumns: Q,
|
|
2479
|
-
permissionActionsMap:
|
|
2479
|
+
permissionActionsMap: B,
|
|
2480
2480
|
selectedActionsMap: _e,
|
|
2481
2481
|
coverSubject: fe,
|
|
2482
2482
|
coverSelectedActions: q,
|
|
@@ -2484,17 +2484,17 @@ function jo(e, t, n, s) {
|
|
|
2484
2484
|
};
|
|
2485
2485
|
});
|
|
2486
2486
|
});
|
|
2487
|
-
function i(m,
|
|
2488
|
-
const U = u.value.find((Q) => Q.category === m), x = (U == null ? void 0 : U.options) ?? [], j = new Set(x.map((Q) => Q.value)),
|
|
2487
|
+
function i(m, C) {
|
|
2488
|
+
const U = u.value.find((Q) => Q.category === m), x = (U == null ? void 0 : U.options) ?? [], j = new Set(x.map((Q) => Q.value)), W = new Set(C), G = /* @__PURE__ */ new Map();
|
|
2489
2489
|
for (const Q of e.value)
|
|
2490
|
-
j.has(Q.subject) && !Q.inverted &&
|
|
2491
|
-
const
|
|
2490
|
+
j.has(Q.subject) && !Q.inverted && G.set(Q.subject, Q.conditions);
|
|
2491
|
+
const Y = U != null && U.coverSubject ? G.get(U.coverSubject) : void 0, B = /* @__PURE__ */ new Set(), ne = t.value.flatMap(
|
|
2492
2492
|
({ category: Q, showByFeatureFlag: _e, isCategoryCover: ce, ...re }) => {
|
|
2493
2493
|
const fe = re.subject;
|
|
2494
|
-
if (!
|
|
2495
|
-
|
|
2494
|
+
if (!W.has(fe) || B.has(fe)) return [];
|
|
2495
|
+
B.add(fe);
|
|
2496
2496
|
let q;
|
|
2497
|
-
return
|
|
2497
|
+
return G.has(fe) ? q = G.get(fe) : U != null && U.coverSubject && fe !== U.coverSubject && (q = Y), [
|
|
2498
2498
|
{ ...re, ...q !== void 0 && { conditions: q } }
|
|
2499
2499
|
];
|
|
2500
2500
|
}
|
|
@@ -2504,189 +2504,189 @@ function jo(e, t, n, s) {
|
|
|
2504
2504
|
...ne
|
|
2505
2505
|
]);
|
|
2506
2506
|
}
|
|
2507
|
-
function g(m,
|
|
2508
|
-
return F(m,
|
|
2507
|
+
function g(m, C) {
|
|
2508
|
+
return F(m, C) || c(m, C);
|
|
2509
2509
|
}
|
|
2510
2510
|
function E(m) {
|
|
2511
|
-
return m.options.length > 0 && m.options.every((
|
|
2511
|
+
return m.options.length > 0 && m.options.every((C) => g(m, C.value));
|
|
2512
2512
|
}
|
|
2513
|
-
function
|
|
2513
|
+
function T(m) {
|
|
2514
2514
|
return m.options.length === 0 || E(m) ? !1 : m.options.some(
|
|
2515
|
-
(
|
|
2515
|
+
(C) => g(m, C.value) || w(m, C.value).length > 0
|
|
2516
2516
|
);
|
|
2517
2517
|
}
|
|
2518
2518
|
function N(m) {
|
|
2519
|
-
const
|
|
2519
|
+
const C = new Set(m.options.map((x) => x.value)), U = e.value.filter((x) => !C.has(x.subject));
|
|
2520
2520
|
if (E(m))
|
|
2521
2521
|
s("update:model-value", U);
|
|
2522
2522
|
else {
|
|
2523
2523
|
const x = /* @__PURE__ */ new Map();
|
|
2524
|
-
for (const
|
|
2525
|
-
|
|
2526
|
-
const j = m.coverSubject ? x.get(m.coverSubject) : void 0,
|
|
2527
|
-
({ category:
|
|
2524
|
+
for (const Y of e.value)
|
|
2525
|
+
C.has(Y.subject) && !Y.inverted && x.set(Y.subject, Y.conditions);
|
|
2526
|
+
const j = m.coverSubject ? x.get(m.coverSubject) : void 0, W = /* @__PURE__ */ new Set(), G = t.value.flatMap(
|
|
2527
|
+
({ category: Y, showByFeatureFlag: B, isCategoryCover: ne, ...Q }) => {
|
|
2528
2528
|
const _e = Q.subject;
|
|
2529
|
-
if (!
|
|
2530
|
-
|
|
2529
|
+
if (!C.has(_e) || W.has(_e)) return [];
|
|
2530
|
+
W.add(_e);
|
|
2531
2531
|
let ce;
|
|
2532
2532
|
return x.has(_e) ? ce = x.get(_e) : m.coverSubject && _e !== m.coverSubject && (ce = j), [
|
|
2533
2533
|
{ ...Q, ...ce !== void 0 && { conditions: ce } }
|
|
2534
2534
|
];
|
|
2535
2535
|
}
|
|
2536
2536
|
);
|
|
2537
|
-
s("update:model-value", [...U, ...
|
|
2537
|
+
s("update:model-value", [...U, ...G]);
|
|
2538
2538
|
}
|
|
2539
2539
|
}
|
|
2540
|
-
function F(m,
|
|
2541
|
-
const U = m.selectedActionsMap.get(
|
|
2540
|
+
function F(m, C) {
|
|
2541
|
+
const U = m.selectedActionsMap.get(C);
|
|
2542
2542
|
return U ? U.has("manage") : !1;
|
|
2543
2543
|
}
|
|
2544
|
-
function w(m,
|
|
2545
|
-
const U = m.permissionActionsMap.get(
|
|
2544
|
+
function w(m, C) {
|
|
2545
|
+
const U = m.permissionActionsMap.get(C);
|
|
2546
2546
|
return U ? U.filter((j) => j !== "manage").filter(
|
|
2547
|
-
(j) => S(m,
|
|
2547
|
+
(j) => S(m, C, j) || b(m, C, j)
|
|
2548
2548
|
) : [];
|
|
2549
2549
|
}
|
|
2550
|
-
function R(m,
|
|
2551
|
-
return c(m,
|
|
2550
|
+
function R(m, C) {
|
|
2551
|
+
return c(m, C) ? !1 : !F(m, C) && w(m, C).length > 0;
|
|
2552
2552
|
}
|
|
2553
|
-
function D(m,
|
|
2554
|
-
if (!m.coverSubject ||
|
|
2553
|
+
function D(m, C) {
|
|
2554
|
+
if (!m.coverSubject || C === m.coverSubject) return;
|
|
2555
2555
|
const U = e.value.find(
|
|
2556
2556
|
(x) => !x.inverted && x.subject === m.coverSubject
|
|
2557
2557
|
);
|
|
2558
2558
|
return (U == null ? void 0 : U.conditions) || void 0;
|
|
2559
2559
|
}
|
|
2560
|
-
function f(m,
|
|
2560
|
+
function f(m, C, U) {
|
|
2561
2561
|
if (U) {
|
|
2562
|
-
const x = t.value.find((Q) => Q.subject ===
|
|
2562
|
+
const x = t.value.find((Q) => Q.subject === C);
|
|
2563
2563
|
if (!x) return;
|
|
2564
2564
|
const {
|
|
2565
2565
|
category: j,
|
|
2566
|
-
showByFeatureFlag:
|
|
2567
|
-
isCategoryCover:
|
|
2568
|
-
...
|
|
2569
|
-
} = x,
|
|
2566
|
+
showByFeatureFlag: W,
|
|
2567
|
+
isCategoryCover: G,
|
|
2568
|
+
...Y
|
|
2569
|
+
} = x, B = D(m, C), ne = e.value.filter((Q) => Q.subject !== C);
|
|
2570
2570
|
ne.push({
|
|
2571
|
-
...
|
|
2572
|
-
...
|
|
2571
|
+
...Y,
|
|
2572
|
+
...B !== void 0 && { conditions: B }
|
|
2573
2573
|
}), s("update:model-value", ne);
|
|
2574
2574
|
} else
|
|
2575
2575
|
s(
|
|
2576
2576
|
"update:model-value",
|
|
2577
|
-
e.value.filter((x) => x.subject !==
|
|
2577
|
+
e.value.filter((x) => x.subject !== C)
|
|
2578
2578
|
);
|
|
2579
2579
|
}
|
|
2580
|
-
function p(m,
|
|
2581
|
-
const U = m.permissionActionsMap.get(
|
|
2580
|
+
function p(m, C) {
|
|
2581
|
+
const U = m.permissionActionsMap.get(C);
|
|
2582
2582
|
return U ? U.some((x) => x !== "manage") : !1;
|
|
2583
2583
|
}
|
|
2584
|
-
function S(m,
|
|
2585
|
-
const x = m.selectedActionsMap.get(
|
|
2584
|
+
function S(m, C, U) {
|
|
2585
|
+
const x = m.selectedActionsMap.get(C);
|
|
2586
2586
|
return x ? x.has(U) : !1;
|
|
2587
2587
|
}
|
|
2588
|
-
function c(m,
|
|
2589
|
-
return !m.coverSubject ||
|
|
2588
|
+
function c(m, C) {
|
|
2589
|
+
return !m.coverSubject || C === m.coverSubject ? !1 : m.coverCoversAll;
|
|
2590
2590
|
}
|
|
2591
|
-
function b(m,
|
|
2592
|
-
return !m.coverSubject ||
|
|
2591
|
+
function b(m, C, U) {
|
|
2592
|
+
return !m.coverSubject || C === m.coverSubject ? !1 : m.coverCoversAll ? !0 : m.coverSelectedActions.has(U);
|
|
2593
2593
|
}
|
|
2594
|
-
function I(m,
|
|
2595
|
-
const x = m.permissionActionsMap.get(
|
|
2594
|
+
function I(m, C, U) {
|
|
2595
|
+
const x = m.permissionActionsMap.get(C);
|
|
2596
2596
|
return x ? x.includes(U) : !1;
|
|
2597
2597
|
}
|
|
2598
|
-
function h(m,
|
|
2599
|
-
const x = [...e.value], j = x.findIndex((
|
|
2598
|
+
function h(m, C, U) {
|
|
2599
|
+
const x = [...e.value], j = x.findIndex((G) => G.subject === m && !G.inverted);
|
|
2600
2600
|
if (U)
|
|
2601
2601
|
if (j >= 0) {
|
|
2602
|
-
const
|
|
2603
|
-
|
|
2602
|
+
const G = { ...x[j] }, Y = new Set(G.actions);
|
|
2603
|
+
Y.add(C), G.actions = Array.from(Y), x[j] = G;
|
|
2604
2604
|
} else {
|
|
2605
|
-
const
|
|
2606
|
-
if (!
|
|
2605
|
+
const G = t.value.find((re) => re.subject === m);
|
|
2606
|
+
if (!G) return;
|
|
2607
2607
|
const {
|
|
2608
|
-
category:
|
|
2609
|
-
showByFeatureFlag:
|
|
2608
|
+
category: Y,
|
|
2609
|
+
showByFeatureFlag: B,
|
|
2610
2610
|
isCategoryCover: ne,
|
|
2611
2611
|
...Q
|
|
2612
|
-
} =
|
|
2612
|
+
} = G, _e = u.value.find(
|
|
2613
2613
|
(re) => re.options.some((fe) => fe.value === m)
|
|
2614
2614
|
), ce = _e ? D(_e, m) : void 0;
|
|
2615
2615
|
x.push({
|
|
2616
2616
|
...Q,
|
|
2617
|
-
actions: [
|
|
2617
|
+
actions: [C],
|
|
2618
2618
|
...ce !== void 0 && { conditions: ce }
|
|
2619
2619
|
});
|
|
2620
2620
|
}
|
|
2621
2621
|
else if (j >= 0) {
|
|
2622
|
-
const
|
|
2623
|
-
|
|
2622
|
+
const G = { ...x[j] }, Y = G.actions.filter((B) => B !== C);
|
|
2623
|
+
Y.length === 0 ? x.splice(j, 1) : (G.actions = Y, x[j] = G);
|
|
2624
2624
|
}
|
|
2625
|
-
const
|
|
2626
|
-
|
|
2625
|
+
const W = t.value.find((G) => G.subject === m);
|
|
2626
|
+
W && Mn(x, m, W.actions), s("update:model-value", x);
|
|
2627
2627
|
}
|
|
2628
|
-
function k(m,
|
|
2628
|
+
function k(m, C) {
|
|
2629
2629
|
const U = m.options.filter(
|
|
2630
|
-
(x) => I(m, x.value,
|
|
2630
|
+
(x) => I(m, x.value, C)
|
|
2631
2631
|
);
|
|
2632
2632
|
return U.length === 0 ? !1 : U.every(
|
|
2633
|
-
(x) => S(m, x.value,
|
|
2633
|
+
(x) => S(m, x.value, C) || b(m, x.value, C)
|
|
2634
2634
|
);
|
|
2635
2635
|
}
|
|
2636
|
-
function L(m,
|
|
2636
|
+
function L(m, C) {
|
|
2637
2637
|
const U = m.options.filter(
|
|
2638
|
-
(j) => I(m, j.value,
|
|
2638
|
+
(j) => I(m, j.value, C)
|
|
2639
2639
|
);
|
|
2640
2640
|
if (U.length === 0) return !1;
|
|
2641
2641
|
const x = U.filter(
|
|
2642
|
-
(j) => S(m, j.value,
|
|
2642
|
+
(j) => S(m, j.value, C) || b(m, j.value, C)
|
|
2643
2643
|
).length;
|
|
2644
2644
|
return x > 0 && x < U.length;
|
|
2645
2645
|
}
|
|
2646
|
-
function X(m,
|
|
2646
|
+
function X(m, C, U) {
|
|
2647
2647
|
const x = [...e.value];
|
|
2648
2648
|
for (const j of m.options) {
|
|
2649
|
-
if (!I(m, j.value,
|
|
2650
|
-
const
|
|
2651
|
-
(
|
|
2649
|
+
if (!I(m, j.value, C)) continue;
|
|
2650
|
+
const W = j.value, G = x.findIndex(
|
|
2651
|
+
(B) => B.subject === W && !B.inverted
|
|
2652
2652
|
);
|
|
2653
2653
|
if (U)
|
|
2654
|
-
if (
|
|
2655
|
-
const
|
|
2656
|
-
ne.add(
|
|
2654
|
+
if (G >= 0) {
|
|
2655
|
+
const B = { ...x[G] }, ne = new Set(B.actions);
|
|
2656
|
+
ne.add(C), B.actions = Array.from(ne), x[G] = B;
|
|
2657
2657
|
} else {
|
|
2658
|
-
const
|
|
2659
|
-
if (!
|
|
2658
|
+
const B = t.value.find((fe) => fe.subject === W);
|
|
2659
|
+
if (!B) continue;
|
|
2660
2660
|
const {
|
|
2661
2661
|
category: ne,
|
|
2662
2662
|
showByFeatureFlag: Q,
|
|
2663
2663
|
isCategoryCover: _e,
|
|
2664
2664
|
...ce
|
|
2665
|
-
} =
|
|
2665
|
+
} = B, re = D(m, W);
|
|
2666
2666
|
x.push({
|
|
2667
2667
|
...ce,
|
|
2668
|
-
actions: [
|
|
2668
|
+
actions: [C],
|
|
2669
2669
|
...re !== void 0 && { conditions: re }
|
|
2670
2670
|
});
|
|
2671
2671
|
}
|
|
2672
|
-
else if (
|
|
2673
|
-
const
|
|
2674
|
-
ne.length === 0 ? x.splice(
|
|
2672
|
+
else if (G >= 0) {
|
|
2673
|
+
const B = { ...x[G] }, ne = B.actions.filter((Q) => Q !== C);
|
|
2674
|
+
ne.length === 0 ? x.splice(G, 1) : (B.actions = ne, x[G] = B);
|
|
2675
2675
|
}
|
|
2676
|
-
const
|
|
2677
|
-
|
|
2676
|
+
const Y = t.value.find((B) => B.subject === W);
|
|
2677
|
+
Y && Mn(x, W, Y.actions);
|
|
2678
2678
|
}
|
|
2679
2679
|
s("update:model-value", x);
|
|
2680
2680
|
}
|
|
2681
2681
|
function V(m) {
|
|
2682
|
-
const
|
|
2683
|
-
return l(
|
|
2682
|
+
const C = `permissionSet.actionLabels.${m}`, U = Po[m] ?? m.charAt(0).toUpperCase() + m.slice(1);
|
|
2683
|
+
return l(C, U);
|
|
2684
2684
|
}
|
|
2685
2685
|
return {
|
|
2686
2686
|
categoryGroups: u,
|
|
2687
2687
|
toggleCategory: i,
|
|
2688
2688
|
isAllManageChecked: E,
|
|
2689
|
-
isAllManageIndeterminate:
|
|
2689
|
+
isAllManageIndeterminate: T,
|
|
2690
2690
|
toggleAllManage: N,
|
|
2691
2691
|
isManageChecked: F,
|
|
2692
2692
|
isManageIndeterminate: R,
|
|
@@ -2703,7 +2703,7 @@ function jo(e, t, n, s) {
|
|
|
2703
2703
|
actionLabel: V
|
|
2704
2704
|
};
|
|
2705
2705
|
}
|
|
2706
|
-
const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm-600" }, Vo = { class: "mt-16" },
|
|
2706
|
+
const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm-600" }, Vo = { class: "mt-16" }, Go = { class: "text-center text-sm font-semibold text-fm-color-typo-primary" }, Wo = ["onClick"], Zo = { class: "flex justify-center" }, Yo = { class: "flex items-center min-w-0 gap-8" }, Bo = ["title", "onClick"], Xo = { class: "flex justify-center" }, Ho = /* @__PURE__ */ Re({
|
|
2707
2707
|
__name: "BasePermission",
|
|
2708
2708
|
props: {
|
|
2709
2709
|
modelValue: {
|
|
@@ -2725,13 +2725,13 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
2725
2725
|
},
|
|
2726
2726
|
emits: ["update:model-value"],
|
|
2727
2727
|
setup(e, { emit: t }) {
|
|
2728
|
-
const n = e, s = t, { t: l } = He(), a = z(() => [...
|
|
2728
|
+
const n = e, s = t, { t: l } = He(), a = z(() => [...Wn, ...n.additionalPermissions]), {
|
|
2729
2729
|
categoryGroups: d,
|
|
2730
2730
|
isAllManageChecked: u,
|
|
2731
2731
|
isAllManageIndeterminate: i,
|
|
2732
2732
|
toggleAllManage: g,
|
|
2733
2733
|
isManageChecked: E,
|
|
2734
|
-
isManageIndeterminate:
|
|
2734
|
+
isManageIndeterminate: T,
|
|
2735
2735
|
toggleManage: N,
|
|
2736
2736
|
isActionChecked: F,
|
|
2737
2737
|
isRowFullyCoveredByCover: w,
|
|
@@ -2759,8 +2759,8 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
2759
2759
|
}
|
|
2760
2760
|
return (k, L) => {
|
|
2761
2761
|
const X = we("FmCheckbox");
|
|
2762
|
-
return
|
|
2763
|
-
(
|
|
2762
|
+
return J(), ie("div", Uo, [
|
|
2763
|
+
(J(!0), ie(ke, null, ye(H(d), (V) => (J(), Ne(Xt, {
|
|
2764
2764
|
key: V.category,
|
|
2765
2765
|
subtitle: I(V)
|
|
2766
2766
|
}, {
|
|
@@ -2776,8 +2776,8 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
2776
2776
|
})
|
|
2777
2777
|
}, [
|
|
2778
2778
|
L[0] || (L[0] = ae("div", null, null, -1)),
|
|
2779
|
-
ae("div",
|
|
2780
|
-
(
|
|
2779
|
+
ae("div", Go, Oe(H(l)("team.memberForm.permissions.columnManage")), 1),
|
|
2780
|
+
(J(!0), ie(ke, null, ye(V.actionColumns, (m) => (J(), ie("div", {
|
|
2781
2781
|
key: `header-${m}`,
|
|
2782
2782
|
class: "text-center text-sm font-semibold text-fm-color-typo-primary"
|
|
2783
2783
|
}, Oe(H(b)(m)), 1))), 128))
|
|
@@ -2791,7 +2791,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
2791
2791
|
ae("div", {
|
|
2792
2792
|
class: "cursor-pointer font-semibold",
|
|
2793
2793
|
onClick: (m) => !e.disable && H(g)(V)
|
|
2794
|
-
}, Oe(H(l)("team.labels.all")), 9,
|
|
2794
|
+
}, Oe(H(l)("team.labels.all")), 9, Wo),
|
|
2795
2795
|
ae("div", Zo, [
|
|
2796
2796
|
ue(X, {
|
|
2797
2797
|
"model-value": H(u)(V),
|
|
@@ -2803,7 +2803,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
2803
2803
|
"onUpdate:modelValue": (m) => H(g)(V)
|
|
2804
2804
|
}, null, 8, ["model-value", "indeterminate", "disabled", "onUpdate:modelValue"])
|
|
2805
2805
|
]),
|
|
2806
|
-
(
|
|
2806
|
+
(J(!0), ie(ke, null, ye(V.actionColumns, (m) => (J(), ie("div", {
|
|
2807
2807
|
key: `all-${m}`,
|
|
2808
2808
|
class: "flex justify-center"
|
|
2809
2809
|
}, [
|
|
@@ -2814,33 +2814,33 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
2814
2814
|
disabled: e.disable,
|
|
2815
2815
|
size: "sm",
|
|
2816
2816
|
dense: "",
|
|
2817
|
-
"onUpdate:modelValue": (
|
|
2817
|
+
"onUpdate:modelValue": (C) => H(c)(V, m, C)
|
|
2818
2818
|
}, null, 8, ["model-value", "indeterminate", "value", "disabled", "onUpdate:modelValue"])
|
|
2819
2819
|
]))), 128))
|
|
2820
2820
|
], 4),
|
|
2821
2821
|
L[1] || (L[1] = ae("div", { class: "h-px bg-fm-color-neutral-gray-200" }, null, -1)),
|
|
2822
|
-
(
|
|
2822
|
+
(J(!0), ie(ke, null, ye(V.options, (m) => (J(), ie("div", {
|
|
2823
2823
|
key: m.optionKey,
|
|
2824
2824
|
class: "grid items-center rounded px-12 py-8 transition-colors hover:bg-fm-color-neutral-gray-100",
|
|
2825
2825
|
style: nt({
|
|
2826
2826
|
gridTemplateColumns: `minmax(0, 1fr) repeat(${V.actionColumns.length + 1}, 80px)`
|
|
2827
2827
|
})
|
|
2828
2828
|
}, [
|
|
2829
|
-
ae("div",
|
|
2829
|
+
ae("div", Yo, [
|
|
2830
2830
|
ae("span", {
|
|
2831
2831
|
class: "block truncate cursor-pointer",
|
|
2832
2832
|
title: m.label,
|
|
2833
|
-
onClick: (
|
|
2834
|
-
}, Oe(m.label), 9,
|
|
2833
|
+
onClick: (C) => !e.disable && !H(w)(V, m.value) && H(N)(V, m.value, !H(E)(V, m.value))
|
|
2834
|
+
}, Oe(m.label), 9, Bo),
|
|
2835
2835
|
Se(k.$slots, `checkbox-${m.value}-append`, {
|
|
2836
2836
|
option: m,
|
|
2837
2837
|
isEffectiveSelected: h(V, m.value),
|
|
2838
|
-
isCoveredByCover: H(w)(V, m.value) || V.actionColumns.some((
|
|
2838
|
+
isCoveredByCover: H(w)(V, m.value) || V.actionColumns.some((C) => H(R)(V, m.value, C))
|
|
2839
2839
|
}),
|
|
2840
2840
|
Se(k.$slots, `checkbox-${m.value}-icon`, {
|
|
2841
2841
|
option: m,
|
|
2842
2842
|
isEffectiveSelected: h(V, m.value),
|
|
2843
|
-
isCoveredByCover: H(w)(V, m.value) || V.actionColumns.some((
|
|
2843
|
+
isCoveredByCover: H(w)(V, m.value) || V.actionColumns.some((C) => H(R)(V, m.value, C))
|
|
2844
2844
|
})
|
|
2845
2845
|
]),
|
|
2846
2846
|
ae("div", Xo, [
|
|
@@ -2848,22 +2848,22 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
2848
2848
|
"model-value": H(E)(V, m.value) || H(w)(V, m.value),
|
|
2849
2849
|
value: m.value,
|
|
2850
2850
|
disabled: e.disable || H(w)(V, m.value),
|
|
2851
|
-
indeterminate: H(
|
|
2851
|
+
indeterminate: H(T)(V, m.value),
|
|
2852
2852
|
size: "sm",
|
|
2853
|
-
"onUpdate:modelValue": (
|
|
2853
|
+
"onUpdate:modelValue": (C) => H(N)(V, m.value, C)
|
|
2854
2854
|
}, null, 8, ["model-value", "value", "disabled", "indeterminate", "onUpdate:modelValue"])
|
|
2855
2855
|
]),
|
|
2856
|
-
(
|
|
2857
|
-
key: `${m.optionKey}-${
|
|
2856
|
+
(J(!0), ie(ke, null, ye(V.actionColumns, (C) => (J(), ie("div", {
|
|
2857
|
+
key: `${m.optionKey}-${C}`,
|
|
2858
2858
|
class: "flex justify-center"
|
|
2859
2859
|
}, [
|
|
2860
|
-
H(D)(V, m.value,
|
|
2860
|
+
H(D)(V, m.value, C) ? (J(), Ne(X, {
|
|
2861
2861
|
key: 0,
|
|
2862
|
-
"model-value": H(F)(V, m.value,
|
|
2863
|
-
value:
|
|
2864
|
-
disabled: e.disable || H(R)(V, m.value,
|
|
2862
|
+
"model-value": H(F)(V, m.value, C) || H(R)(V, m.value, C),
|
|
2863
|
+
value: C,
|
|
2864
|
+
disabled: e.disable || H(R)(V, m.value, C),
|
|
2865
2865
|
size: "sm",
|
|
2866
|
-
"onUpdate:modelValue": (U) => H(f)(m.value,
|
|
2866
|
+
"onUpdate:modelValue": (U) => H(f)(m.value, C, U)
|
|
2867
2867
|
}, null, 8, ["model-value", "value", "disabled", "onUpdate:modelValue"])) : Me("", !0)
|
|
2868
2868
|
]))), 128))
|
|
2869
2869
|
], 4))), 128))
|
|
@@ -2874,7 +2874,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
2874
2874
|
]);
|
|
2875
2875
|
};
|
|
2876
2876
|
}
|
|
2877
|
-
}),
|
|
2877
|
+
}), $o = { class: "space-y-16" }, Jo = {
|
|
2878
2878
|
key: 0,
|
|
2879
2879
|
class: "flex fm-typo-en-title-sm-600"
|
|
2880
2880
|
}, Ko = {
|
|
@@ -2898,11 +2898,11 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
2898
2898
|
},
|
|
2899
2899
|
setup(e) {
|
|
2900
2900
|
const t = e;
|
|
2901
|
-
return (n, s) => (
|
|
2901
|
+
return (n, s) => (J(), ie("div", $o, [
|
|
2902
2902
|
Se(n.$slots, "top", {}, () => [
|
|
2903
|
-
t.title ? (
|
|
2903
|
+
t.title ? (J(), ie("div", Jo, [
|
|
2904
2904
|
ae("div", null, [
|
|
2905
|
-
t.required ? (
|
|
2905
|
+
t.required ? (J(), ie("span", Ko, "*")) : Me("", !0),
|
|
2906
2906
|
_s(Oe(t.title), 1)
|
|
2907
2907
|
]),
|
|
2908
2908
|
Se(n.$slots, "title-right")
|
|
@@ -2976,7 +2976,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
2976
2976
|
setup(e, { emit: t }) {
|
|
2977
2977
|
const n = e, s = t, { t: l } = He(), a = st(!1), d = hs(), u = z(() => n.modelValue.length < n.min ? `Min selection ${n.min}` : n.max !== void 0 && n.modelValue.length > n.max ? `Max selection ${n.max}` : !0), i = `checkbox-${Rs(6)}`, g = z(() => u.value !== !0), E = z(
|
|
2978
2978
|
() => n.modelValue.filter((R) => n.options.some((D) => D.value === R))
|
|
2979
|
-
),
|
|
2979
|
+
), T = z(
|
|
2980
2980
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
2981
2981
|
), N = z(() => n.options.length > 0 && n.options.length === E.value.length);
|
|
2982
2982
|
function F() {
|
|
@@ -2994,7 +2994,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
2994
2994
|
}
|
|
2995
2995
|
return (R, D) => {
|
|
2996
2996
|
const f = we("FmCheckbox");
|
|
2997
|
-
return
|
|
2997
|
+
return J(), Ne(Qo, {
|
|
2998
2998
|
id: i,
|
|
2999
2999
|
title: e.title,
|
|
3000
3000
|
required: !1
|
|
@@ -3003,18 +3003,18 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3003
3003
|
Se(R.$slots, "top")
|
|
3004
3004
|
]),
|
|
3005
3005
|
default: de(() => [
|
|
3006
|
-
n.showAllToggle ? (
|
|
3006
|
+
n.showAllToggle ? (J(), Ne(f, {
|
|
3007
3007
|
key: 0,
|
|
3008
3008
|
"model-value": N.value,
|
|
3009
3009
|
disabled: e.disable,
|
|
3010
|
-
label:
|
|
3010
|
+
label: T.value,
|
|
3011
3011
|
style: nt(`margin-bottom: ${n.gutter}px`),
|
|
3012
3012
|
size: "sm",
|
|
3013
3013
|
dense: "",
|
|
3014
|
-
value:
|
|
3014
|
+
value: T.value,
|
|
3015
3015
|
"onUpdate:modelValue": F
|
|
3016
3016
|
}, null, 8, ["model-value", "disabled", "label", "style", "value"])) : Me("", !0),
|
|
3017
|
-
(
|
|
3017
|
+
(J(!0), ie(ke, null, ye(e.options, (p, S) => (J(), ie("div", {
|
|
3018
3018
|
key: p.value,
|
|
3019
3019
|
style: nt(`margin-bottom: ${S < e.options.length - 1 ? n.gutter : 0}px`),
|
|
3020
3020
|
class: qe(S < e.options.length - 1 ? "q-mb-sm" : "")
|
|
@@ -3036,7 +3036,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3036
3036
|
selected: e.modelValue.includes(p.value)
|
|
3037
3037
|
})
|
|
3038
3038
|
]),
|
|
3039
|
-
H(d)[`checkbox-${p.key || p.value}-end`] && (e.modelValue.includes(p.value) || e.falsyShowSlot) ? (
|
|
3039
|
+
H(d)[`checkbox-${p.key || p.value}-end`] && (e.modelValue.includes(p.value) || e.falsyShowSlot) ? (J(), ie("div", {
|
|
3040
3040
|
key: 0,
|
|
3041
3041
|
class: qe([{ "q-checkbox disabled": e.disable || p.disabled }, "col"])
|
|
3042
3042
|
}, [
|
|
@@ -3047,7 +3047,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3047
3047
|
})
|
|
3048
3048
|
], 2)) : Me("", !0)
|
|
3049
3049
|
], 2),
|
|
3050
|
-
H(d)[`checkbox-${p.key || p.value}-bottom`] && (e.modelValue.includes(p.value) || e.falsyShowSlot) ? (
|
|
3050
|
+
H(d)[`checkbox-${p.key || p.value}-bottom`] && (e.modelValue.includes(p.value) || e.falsyShowSlot) ? (J(), ie("div", {
|
|
3051
3051
|
key: 0,
|
|
3052
3052
|
class: qe(["q-mt-sm", { "q-checkbox disabled": e.disable || p.disabled }]),
|
|
3053
3053
|
style: nt(`margin-left: ${e.bottomSlotIndent}`)
|
|
@@ -3059,7 +3059,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3059
3059
|
})
|
|
3060
3060
|
], 6)) : Me("", !0)
|
|
3061
3061
|
], 6))), 128)),
|
|
3062
|
-
a.value && g.value ? (
|
|
3062
|
+
a.value && g.value ? (J(), ie("div", ea, Oe(u.value), 1)) : Me("", !0)
|
|
3063
3063
|
]),
|
|
3064
3064
|
_: 3
|
|
3065
3065
|
}, 8, ["title"]);
|
|
@@ -3098,25 +3098,25 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3098
3098
|
(E) => E.label.toLocaleLowerCase().includes(g.value.toLocaleLowerCase())
|
|
3099
3099
|
)
|
|
3100
3100
|
]), d = z(() => n.modelValue ? n.modelValue : [pt, ...n.options.map((E) => E.value)]), u = z(() => {
|
|
3101
|
-
const E = d.value.filter((
|
|
3101
|
+
const E = d.value.filter((T) => T !== pt).length;
|
|
3102
3102
|
return E === 0 ? "" : l("team.memberForm.permissions.allowedCount", { count: E });
|
|
3103
3103
|
});
|
|
3104
3104
|
function i(E) {
|
|
3105
|
-
const
|
|
3106
|
-
s("update:model-value",
|
|
3105
|
+
const T = E.length === a.value.length;
|
|
3106
|
+
s("update:model-value", T ? null : E.filter((N) => N !== pt));
|
|
3107
3107
|
}
|
|
3108
3108
|
const g = st("");
|
|
3109
|
-
return (E,
|
|
3109
|
+
return (E, T) => {
|
|
3110
3110
|
const N = we("fm-search");
|
|
3111
|
-
return
|
|
3111
|
+
return J(), Ne(Xt, { subtitle: u.value }, {
|
|
3112
3112
|
title: de(() => [
|
|
3113
3113
|
ae("p", ta, Oe(H(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
3114
3114
|
]),
|
|
3115
3115
|
default: de(() => [
|
|
3116
|
-
e.options.length > 1 ? (
|
|
3116
|
+
e.options.length > 1 ? (J(), Ne(N, {
|
|
3117
3117
|
key: 0,
|
|
3118
3118
|
modelValue: g.value,
|
|
3119
|
-
"onUpdate:modelValue":
|
|
3119
|
+
"onUpdate:modelValue": T[0] || (T[0] = (F) => g.value = F),
|
|
3120
3120
|
class: "mt-16",
|
|
3121
3121
|
placeholder: H(l)("team.memberForm.permissions.search", { context: e.context })
|
|
3122
3122
|
}, null, 8, ["modelValue", "placeholder"])) : Me("", !0),
|
|
@@ -3176,7 +3176,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3176
3176
|
...n.roles.map((E) => ({
|
|
3177
3177
|
label: E.name,
|
|
3178
3178
|
value: E._id,
|
|
3179
|
-
disabled: !!g && E.restaurants.every(({ id:
|
|
3179
|
+
disabled: !!g && E.restaurants.every(({ id: T }) => !g.includes(T))
|
|
3180
3180
|
}))
|
|
3181
3181
|
];
|
|
3182
3182
|
}), d = z(() => n.modelValue ? n.modelValue : [bt, ...n.roles.map((g) => g._id)]), u = z(() => {
|
|
@@ -3185,9 +3185,9 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3185
3185
|
});
|
|
3186
3186
|
function i(g) {
|
|
3187
3187
|
const E = g.length === a.value.length;
|
|
3188
|
-
s("update:model-value", E ? null : g.filter((
|
|
3188
|
+
s("update:model-value", E ? null : g.filter((T) => T !== bt));
|
|
3189
3189
|
}
|
|
3190
|
-
return (g, E) => (
|
|
3190
|
+
return (g, E) => (J(), Ne(Xt, { subtitle: u.value }, {
|
|
3191
3191
|
title: de(() => [
|
|
3192
3192
|
ae("p", na, Oe(H(l)("team.memberForm.permissions.roles")), 1)
|
|
3193
3193
|
]),
|
|
@@ -3202,10 +3202,10 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3202
3202
|
class: "mt-16",
|
|
3203
3203
|
"onUpdate:modelValue": i
|
|
3204
3204
|
}, et({ _: 2 }, [
|
|
3205
|
-
ye(a.value, (
|
|
3206
|
-
name: `checkbox-${
|
|
3205
|
+
ye(a.value, (T) => ({
|
|
3206
|
+
name: `checkbox-${T.value}-append`,
|
|
3207
3207
|
fn: de(({ option: N }) => [
|
|
3208
|
-
Se(g.$slots, `checkbox-${
|
|
3208
|
+
Se(g.$slots, `checkbox-${T.value}-append`, { option: N })
|
|
3209
3209
|
])
|
|
3210
3210
|
}))
|
|
3211
3211
|
]), 1032, ["model-value", "options", "disable"])
|
|
@@ -3243,7 +3243,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3243
3243
|
const n = t, { t: s } = He();
|
|
3244
3244
|
return (l, a) => {
|
|
3245
3245
|
const d = we("FmRadio"), u = we("FmRadioGroup");
|
|
3246
|
-
return
|
|
3246
|
+
return J(), Ne(Cs, {
|
|
3247
3247
|
title: e.title,
|
|
3248
3248
|
builders: e.builders,
|
|
3249
3249
|
"form-value-for": e.formValueFor,
|
|
@@ -3254,7 +3254,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3254
3254
|
onApply: a[1] || (a[1] = (i) => n("apply"))
|
|
3255
3255
|
}, {
|
|
3256
3256
|
section: de(({ builder: i }) => [
|
|
3257
|
-
e.coverOverride.shouldShowInheritToggle(e.entry, i) ? (
|
|
3257
|
+
e.coverOverride.shouldShowInheritToggle(e.entry, i) ? (J(), ie("div", ra, [
|
|
3258
3258
|
ue(u, {
|
|
3259
3259
|
"model-value": e.inheritModeFor(i),
|
|
3260
3260
|
disabled: e.disable,
|
|
@@ -3268,7 +3268,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3268
3268
|
cover: e.coverOverride.coverLabel(e.subject)
|
|
3269
3269
|
})
|
|
3270
3270
|
}, null, 8, ["label"]),
|
|
3271
|
-
e.coverOverride.inheritedSummary(e.entry, i, e.timeZone) ? (
|
|
3271
|
+
e.coverOverride.inheritedSummary(e.entry, i, e.timeZone) ? (J(), ie("p", oa, " (" + Oe(H(s)(
|
|
3272
3272
|
e.coverOverride.inheritedSummary(e.entry, i, e.timeZone).labelKey,
|
|
3273
3273
|
e.coverOverride.inheritedSummary(e.entry, i, e.timeZone).params ?? {}
|
|
3274
3274
|
)) + ") ", 1)) : Me("", !0)
|
|
@@ -3280,7 +3280,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3280
3280
|
]),
|
|
3281
3281
|
_: 2
|
|
3282
3282
|
}, 1032, ["model-value", "disabled", "onUpdate:modelValue"]),
|
|
3283
|
-
e.inheritModeFor(i) === "custom" ? (
|
|
3283
|
+
e.inheritModeFor(i) === "custom" ? (J(), ie("div", aa, [
|
|
3284
3284
|
ue(nn, {
|
|
3285
3285
|
builder: i,
|
|
3286
3286
|
"model-value": e.formValueFor(i),
|
|
@@ -3288,7 +3288,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3288
3288
|
"onUpdate:modelValue": (g) => n("update-form", { builder: i, form: g })
|
|
3289
3289
|
}, null, 8, ["builder", "model-value", "disable", "onUpdate:modelValue"])
|
|
3290
3290
|
])) : Me("", !0)
|
|
3291
|
-
])) : (
|
|
3291
|
+
])) : (J(), Ne(nn, {
|
|
3292
3292
|
key: 1,
|
|
3293
3293
|
builder: i,
|
|
3294
3294
|
"model-value": e.formValueFor(i),
|
|
@@ -3306,7 +3306,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3306
3306
|
}
|
|
3307
3307
|
};
|
|
3308
3308
|
function Pn(e, t) {
|
|
3309
|
-
return Zn(e,
|
|
3309
|
+
return Zn(e, Yn).some(
|
|
3310
3310
|
(n) => n.subject === t && !n.inverted && n.actions.includes("manage")
|
|
3311
3311
|
);
|
|
3312
3312
|
}
|
|
@@ -3338,16 +3338,16 @@ function ia(e, t, n, s) {
|
|
|
3338
3338
|
if (u = u.filter((E) => !(E.subject === i && E.inverted)), !g && !d.has(i)) {
|
|
3339
3339
|
const E = t.find(
|
|
3340
3340
|
(N) => N.subject === i && !N.inverted
|
|
3341
|
-
),
|
|
3342
|
-
|
|
3341
|
+
), T = s(i);
|
|
3342
|
+
T && E && u.push(Un(T, E.actions, E.conditions));
|
|
3343
3343
|
}
|
|
3344
3344
|
}
|
|
3345
3345
|
for (const i of a) {
|
|
3346
3346
|
if (!l.has(i)) continue;
|
|
3347
3347
|
const g = e.find((w) => w.subject === i && !w.inverted), E = t.find((w) => w.subject === i && !w.inverted);
|
|
3348
3348
|
if (!g || !E) continue;
|
|
3349
|
-
const
|
|
3350
|
-
if (
|
|
3349
|
+
const T = new Set(g.actions), N = new Set(E.actions);
|
|
3350
|
+
if (T.size === N.size && [...T].every((w) => N.has(w)))
|
|
3351
3351
|
continue;
|
|
3352
3352
|
const F = u.findIndex((w) => w.subject === i && !w.inverted);
|
|
3353
3353
|
if (F >= 0)
|
|
@@ -3359,7 +3359,7 @@ function ia(e, t, n, s) {
|
|
|
3359
3359
|
const w = s(i);
|
|
3360
3360
|
w && u.push(Un(w, Array.from(N)));
|
|
3361
3361
|
}
|
|
3362
|
-
|
|
3362
|
+
T.has("manage") && !N.has("manage") && Pn(u, i) && (u = jn(u, i)), !T.has("manage") && N.has("manage") && (u = u.filter((w) => !(w.subject === i && w.inverted)));
|
|
3363
3363
|
}
|
|
3364
3364
|
return u;
|
|
3365
3365
|
}
|
|
@@ -3388,7 +3388,7 @@ function da(e, t) {
|
|
|
3388
3388
|
function gt(e, t) {
|
|
3389
3389
|
return `${e}::${t.builderKey}`;
|
|
3390
3390
|
}
|
|
3391
|
-
function
|
|
3391
|
+
function Ge(e) {
|
|
3392
3392
|
try {
|
|
3393
3393
|
return e.conditions ? JSON.parse(e.conditions) : void 0;
|
|
3394
3394
|
} catch {
|
|
@@ -3402,14 +3402,14 @@ function Mt(e, t) {
|
|
|
3402
3402
|
const n = new Set(e.actions);
|
|
3403
3403
|
return n.has(pe.Action.manage) ? !0 : t.actions.every((s) => n.has(s));
|
|
3404
3404
|
}
|
|
3405
|
-
function
|
|
3406
|
-
const n =
|
|
3405
|
+
function Yt(e, t) {
|
|
3406
|
+
const n = Ge(e);
|
|
3407
3407
|
return Dt(n, [{ builder: t, formValue: t.fromCondition(void 0) }]);
|
|
3408
3408
|
}
|
|
3409
3409
|
function xn(e, t, n) {
|
|
3410
3410
|
return {
|
|
3411
|
-
...
|
|
3412
|
-
...tt(
|
|
3411
|
+
...Yt(e, n),
|
|
3412
|
+
...tt(Ge(t), n)
|
|
3413
3413
|
};
|
|
3414
3414
|
}
|
|
3415
3415
|
function fa(e, t, n) {
|
|
@@ -3429,7 +3429,7 @@ function fa(e, t, n) {
|
|
|
3429
3429
|
return ma(e.value, c);
|
|
3430
3430
|
}
|
|
3431
3431
|
function i(c, b) {
|
|
3432
|
-
return tt(
|
|
3432
|
+
return tt(Ge(c), b);
|
|
3433
3433
|
}
|
|
3434
3434
|
function g(c, b) {
|
|
3435
3435
|
var k;
|
|
@@ -3444,12 +3444,12 @@ function fa(e, t, n) {
|
|
|
3444
3444
|
if (c.index === null) return "inherit";
|
|
3445
3445
|
const I = e.value[c.index], h = l(c.subject), k = h ? u(h) : void 0;
|
|
3446
3446
|
if (I && k) {
|
|
3447
|
-
const L = tt(
|
|
3447
|
+
const L = tt(Ge(I), b), X = i(k, b);
|
|
3448
3448
|
if (JSON.stringify(L) === JSON.stringify(X)) return "inherit";
|
|
3449
3449
|
}
|
|
3450
3450
|
return "custom";
|
|
3451
3451
|
}
|
|
3452
|
-
function
|
|
3452
|
+
function T(c, b, I) {
|
|
3453
3453
|
if (!b.summarizeForm) return;
|
|
3454
3454
|
const h = l(c.subject);
|
|
3455
3455
|
if (!h) return;
|
|
@@ -3460,12 +3460,12 @@ function fa(e, t, n) {
|
|
|
3460
3460
|
}
|
|
3461
3461
|
function N(c, b) {
|
|
3462
3462
|
if (c.index === null) return;
|
|
3463
|
-
const I = [...e.value], h = { ...I[c.index] }, k =
|
|
3463
|
+
const I = [...e.value], h = { ...I[c.index] }, k = Yt(h, b), L = Object.keys(k).length === 0, X = l(c.subject), V = X ? u(X) : void 0, m = V ? Mt(V, h) : !1;
|
|
3464
3464
|
if (L && m)
|
|
3465
3465
|
I.splice(c.index, 1);
|
|
3466
3466
|
else if (V) {
|
|
3467
|
-
const
|
|
3468
|
-
Object.keys(
|
|
3467
|
+
const C = xn(h, V, b);
|
|
3468
|
+
Object.keys(C).length === 0 ? delete h.conditions : h.conditions = JSON.stringify(C), I[c.index] = h;
|
|
3469
3469
|
} else
|
|
3470
3470
|
L ? delete h.conditions : h.conditions = JSON.stringify(k), I[c.index] = h;
|
|
3471
3471
|
n(I);
|
|
@@ -3492,7 +3492,7 @@ function fa(e, t, n) {
|
|
|
3492
3492
|
return e.value.filter((I) => {
|
|
3493
3493
|
if (I.inverted) return !1;
|
|
3494
3494
|
const h = I.subject;
|
|
3495
|
-
return h === c || l(h) !== c ? !1 : s.value.has(gt(h, b)) ? !0 : Object.keys(tt(
|
|
3495
|
+
return h === c || l(h) !== c ? !1 : s.value.has(gt(h, b)) ? !0 : Object.keys(tt(Ge(I), b)).length > 0;
|
|
3496
3496
|
});
|
|
3497
3497
|
}
|
|
3498
3498
|
function D(c, b) {
|
|
@@ -3512,11 +3512,11 @@ function fa(e, t, n) {
|
|
|
3512
3512
|
const X = L.subject;
|
|
3513
3513
|
if (X === h || l(X) !== h)
|
|
3514
3514
|
return k.push(L), k;
|
|
3515
|
-
if (Mt(b, L) && Object.keys(
|
|
3515
|
+
if (Mt(b, L) && Object.keys(Yt(L, I)).length === 0)
|
|
3516
3516
|
return k;
|
|
3517
3517
|
const m = xn(L, b, I);
|
|
3518
3518
|
if (Object.keys(m).length === 0) {
|
|
3519
|
-
const { conditions:
|
|
3519
|
+
const { conditions: C, ...U } = L;
|
|
3520
3520
|
k.push(U);
|
|
3521
3521
|
} else
|
|
3522
3522
|
k.push({ ...L, conditions: JSON.stringify(m) });
|
|
@@ -3530,18 +3530,18 @@ function fa(e, t, n) {
|
|
|
3530
3530
|
const X = b.toCondition(I), V = Object.keys(X).length > 0;
|
|
3531
3531
|
if (L === null && !V && !h.forceCreateRule) return;
|
|
3532
3532
|
if (L === null) {
|
|
3533
|
-
const j = k.findIndex((
|
|
3533
|
+
const j = k.findIndex((W) => !W.inverted && W.subject === c.subject);
|
|
3534
3534
|
if (j !== -1)
|
|
3535
3535
|
L = j;
|
|
3536
3536
|
else {
|
|
3537
|
-
const
|
|
3538
|
-
if (!
|
|
3537
|
+
const W = t.value.find((Q) => Q.subject === c.subject);
|
|
3538
|
+
if (!W) return;
|
|
3539
3539
|
const {
|
|
3540
|
-
category:
|
|
3541
|
-
showByFeatureFlag:
|
|
3542
|
-
isCategoryCover:
|
|
3540
|
+
category: G,
|
|
3541
|
+
showByFeatureFlag: Y,
|
|
3542
|
+
isCategoryCover: B,
|
|
3543
3543
|
...ne
|
|
3544
|
-
} =
|
|
3544
|
+
} = W;
|
|
3545
3545
|
k.push({
|
|
3546
3546
|
...ne,
|
|
3547
3547
|
actions: c.actions.length > 0 ? c.actions : ne.actions
|
|
@@ -3552,20 +3552,20 @@ function fa(e, t, n) {
|
|
|
3552
3552
|
m.actions = [
|
|
3553
3553
|
.../* @__PURE__ */ new Set([...m.actions, ...c.actions])
|
|
3554
3554
|
];
|
|
3555
|
-
const
|
|
3555
|
+
const C = Ge(m), U = Dt(C, [{ builder: b, formValue: I }]);
|
|
3556
3556
|
if (Object.keys(U).length === 0 ? delete m.conditions : m.conditions = JSON.stringify(U), k[L] = m, rn(c.subject, t.value)) {
|
|
3557
|
-
const j = R(c.subject, b),
|
|
3558
|
-
var
|
|
3559
|
-
D(c.subject, b), n(f(k, m, b)), (
|
|
3560
|
-
},
|
|
3561
|
-
var
|
|
3562
|
-
n(k), (
|
|
3557
|
+
const j = R(c.subject, b), W = () => {
|
|
3558
|
+
var Y;
|
|
3559
|
+
D(c.subject, b), n(f(k, m, b)), (Y = h.afterCommit) == null || Y.call(h);
|
|
3560
|
+
}, G = () => {
|
|
3561
|
+
var Y;
|
|
3562
|
+
n(k), (Y = h.afterCommit) == null || Y.call(h);
|
|
3563
3563
|
};
|
|
3564
3564
|
if (j.length === 0) {
|
|
3565
|
-
|
|
3565
|
+
W();
|
|
3566
3566
|
return;
|
|
3567
3567
|
}
|
|
3568
|
-
h.onOverridesConflict ? h.onOverridesConflict({ override:
|
|
3568
|
+
h.onOverridesConflict ? h.onOverridesConflict({ override: W, keep: G }) : G();
|
|
3569
3569
|
return;
|
|
3570
3570
|
}
|
|
3571
3571
|
n(k), (x = h.afterCommit) == null || x.call(h);
|
|
@@ -3573,68 +3573,68 @@ function fa(e, t, n) {
|
|
|
3573
3573
|
function S(c, b, I = {}) {
|
|
3574
3574
|
if (b.length === 0) return;
|
|
3575
3575
|
const h = [...e.value];
|
|
3576
|
-
let k = h.findIndex((j) => !j.inverted && j.subject === c.subject), L = k === -1 ? void 0 : { ...h[k] }, X =
|
|
3576
|
+
let k = h.findIndex((j) => !j.inverted && j.subject === c.subject), L = k === -1 ? void 0 : { ...h[k] }, X = Ge(L ?? {}) ?? {};
|
|
3577
3577
|
for (const j of b) {
|
|
3578
|
-
const
|
|
3579
|
-
X = Dt(X, [{ builder: j.builder, formValue:
|
|
3578
|
+
const W = j.mode === "inherit" ? j.builder.fromCondition(void 0) : j.form;
|
|
3579
|
+
X = Dt(X, [{ builder: j.builder, formValue: W }]);
|
|
3580
3580
|
}
|
|
3581
3581
|
const V = b.some((j) => j.mode === "custom");
|
|
3582
3582
|
if (!L && (Object.keys(X).length > 0 || V)) {
|
|
3583
3583
|
const j = t.value.find((ne) => ne.subject === c.subject);
|
|
3584
3584
|
if (!j) return;
|
|
3585
3585
|
const {
|
|
3586
|
-
category:
|
|
3587
|
-
showByFeatureFlag:
|
|
3588
|
-
isCategoryCover:
|
|
3589
|
-
...
|
|
3586
|
+
category: W,
|
|
3587
|
+
showByFeatureFlag: G,
|
|
3588
|
+
isCategoryCover: Y,
|
|
3589
|
+
...B
|
|
3590
3590
|
} = j;
|
|
3591
3591
|
L = {
|
|
3592
|
-
...
|
|
3593
|
-
actions: c.actions.length > 0 ? c.actions :
|
|
3592
|
+
...B,
|
|
3593
|
+
actions: c.actions.length > 0 ? c.actions : B.actions
|
|
3594
3594
|
}, h.push(L), k = h.length - 1;
|
|
3595
3595
|
}
|
|
3596
3596
|
if (L) {
|
|
3597
|
-
const j = l(c.subject),
|
|
3598
|
-
if (!V && Object.keys(X).length === 0 && !!
|
|
3597
|
+
const j = l(c.subject), W = j ? u(j) : void 0;
|
|
3598
|
+
if (!V && Object.keys(X).length === 0 && !!W && Mt(W, L))
|
|
3599
3599
|
h.splice(k, 1), L = void 0;
|
|
3600
3600
|
else {
|
|
3601
3601
|
if (L.actions = [
|
|
3602
3602
|
.../* @__PURE__ */ new Set([...L.actions, ...c.actions])
|
|
3603
|
-
],
|
|
3604
|
-
for (const
|
|
3605
|
-
|
|
3603
|
+
], W)
|
|
3604
|
+
for (const Y of b)
|
|
3605
|
+
Y.mode === "inherit" && (X = {
|
|
3606
3606
|
...X,
|
|
3607
|
-
...tt(
|
|
3607
|
+
...tt(Ge(W), Y.builder)
|
|
3608
3608
|
});
|
|
3609
3609
|
Object.keys(X).length === 0 ? delete L.conditions : L.conditions = JSON.stringify(X), h[k] = L;
|
|
3610
3610
|
}
|
|
3611
3611
|
}
|
|
3612
3612
|
const m = () => {
|
|
3613
3613
|
const j = new Set(s.value);
|
|
3614
|
-
for (const
|
|
3615
|
-
const
|
|
3616
|
-
|
|
3614
|
+
for (const W of b) {
|
|
3615
|
+
const G = gt(c.subject, W.builder);
|
|
3616
|
+
W.mode === "custom" ? j.add(G) : j.delete(G);
|
|
3617
3617
|
}
|
|
3618
3618
|
s.value = j;
|
|
3619
|
-
},
|
|
3620
|
-
var
|
|
3621
|
-
m(), n(j), (
|
|
3619
|
+
}, C = (j) => {
|
|
3620
|
+
var W;
|
|
3621
|
+
m(), n(j), (W = I.afterCommit) == null || W.call(I);
|
|
3622
3622
|
};
|
|
3623
3623
|
if (!rn(c.subject, t.value) || !L) {
|
|
3624
|
-
|
|
3624
|
+
C(h);
|
|
3625
3625
|
return;
|
|
3626
3626
|
}
|
|
3627
3627
|
const U = b.map((j) => j.builder).filter((j) => R(c.subject, j).length > 0), x = () => {
|
|
3628
3628
|
let j = h;
|
|
3629
|
-
for (const
|
|
3630
|
-
D(c.subject,
|
|
3631
|
-
|
|
3629
|
+
for (const W of b.map((G) => G.builder))
|
|
3630
|
+
D(c.subject, W), j = f(j, L, W);
|
|
3631
|
+
C(j);
|
|
3632
3632
|
};
|
|
3633
3633
|
if (U.length > 0 && I.onOverridesConflict) {
|
|
3634
|
-
I.onOverridesConflict({ override: x, keep: () =>
|
|
3634
|
+
I.onOverridesConflict({ override: x, keep: () => C(h) });
|
|
3635
3635
|
return;
|
|
3636
3636
|
}
|
|
3637
|
-
U.length > 0 ?
|
|
3637
|
+
U.length > 0 ? C(h) : x();
|
|
3638
3638
|
}
|
|
3639
3639
|
return {
|
|
3640
3640
|
getCoverSubject: l,
|
|
@@ -3642,7 +3642,7 @@ function fa(e, t, n) {
|
|
|
3642
3642
|
shouldShowInheritToggle: g,
|
|
3643
3643
|
inheritMode: E,
|
|
3644
3644
|
setInheritMode: F,
|
|
3645
|
-
inheritedSummary:
|
|
3645
|
+
inheritedSummary: T,
|
|
3646
3646
|
getEffectiveActions: w,
|
|
3647
3647
|
updateBuilderCondition: p,
|
|
3648
3648
|
applyConditionDrafts: S
|
|
@@ -3667,10 +3667,10 @@ const _a = { class: "flex flex-col gap-32" }, ha = { class: "p-16 fm-corner-radi
|
|
|
3667
3667
|
setup(e, { emit: t }) {
|
|
3668
3668
|
const n = vs(e, "modelValue"), s = e, l = t, { t: a } = He(), d = ps(), u = bs(), { breakpoints: i } = gs(), g = z(() => i.value.xs || i.value.sm), {
|
|
3669
3669
|
fetchCustomReportPermissions: E,
|
|
3670
|
-
customReportPermissions:
|
|
3670
|
+
customReportPermissions: T
|
|
3671
3671
|
} = Is(), N = z(() => [
|
|
3672
|
-
...
|
|
3673
|
-
...
|
|
3672
|
+
...Wn,
|
|
3673
|
+
...T.value
|
|
3674
3674
|
]), F = z(() => {
|
|
3675
3675
|
const O = d.currentBusiness.value, r = d.currentCountry.value, o = r instanceof Object ? r.code : r;
|
|
3676
3676
|
return da(O, o);
|
|
@@ -3766,13 +3766,13 @@ const _a = { class: "flex flex-col gap-32" }, ha = { class: "p-16 fm-corner-radi
|
|
|
3766
3766
|
const { restaurants: X } = d, V = Ms().roles, m = z(() => X.value.map((O) => ({
|
|
3767
3767
|
label: `${O.profile.code ? O.profile.code + "-" : ""}${O.profile.name}`,
|
|
3768
3768
|
value: O._id
|
|
3769
|
-
}))),
|
|
3769
|
+
}))), C = z(() => X.value.reduce((O, r) => (O[r._id] = V.value.filter((o) => o.restaurants.some((_) => _.id === r._id)).map((o) => o._id), O), {})), U = z(() => ys(n.value));
|
|
3770
3770
|
function x(O) {
|
|
3771
|
-
const r =
|
|
3771
|
+
const r = W(n.value, O);
|
|
3772
3772
|
n.value = r;
|
|
3773
3773
|
}
|
|
3774
3774
|
const j = z(() => Ns(n.value));
|
|
3775
|
-
function
|
|
3775
|
+
function W(O, r) {
|
|
3776
3776
|
var _;
|
|
3777
3777
|
let o = It(
|
|
3778
3778
|
O.filter(
|
|
@@ -3794,20 +3794,20 @@ const _a = { class: "flex flex-col gap-32" }, ha = { class: "p-16 fm-corner-radi
|
|
|
3794
3794
|
}
|
|
3795
3795
|
if (r) {
|
|
3796
3796
|
const A = [
|
|
3797
|
-
...new Set(r.map((P) =>
|
|
3797
|
+
...new Set(r.map((P) => C.value[P]).flatMap((P) => P))
|
|
3798
3798
|
], M = V.value.map((P) => P._id);
|
|
3799
|
-
A.length !== M.length && (o =
|
|
3799
|
+
A.length !== M.length && (o = Y(
|
|
3800
3800
|
o,
|
|
3801
3801
|
(_ = j.value || M) == null ? void 0 : _.filter((P) => A.includes(P))
|
|
3802
3802
|
));
|
|
3803
3803
|
}
|
|
3804
3804
|
return o;
|
|
3805
3805
|
}
|
|
3806
|
-
function
|
|
3807
|
-
const r =
|
|
3806
|
+
function G(O) {
|
|
3807
|
+
const r = Y(n.value, O);
|
|
3808
3808
|
n.value = r;
|
|
3809
3809
|
}
|
|
3810
|
-
function
|
|
3810
|
+
function Y(O, r) {
|
|
3811
3811
|
let o = It(
|
|
3812
3812
|
O.filter((_) => _.subject !== pe.Subject.Business.role)
|
|
3813
3813
|
);
|
|
@@ -3827,9 +3827,9 @@ const _a = { class: "flex flex-col gap-32" }, ha = { class: "p-16 fm-corner-radi
|
|
|
3827
3827
|
E()
|
|
3828
3828
|
]);
|
|
3829
3829
|
});
|
|
3830
|
-
const
|
|
3830
|
+
const B = z(() => Zn(
|
|
3831
3831
|
n.value,
|
|
3832
|
-
|
|
3832
|
+
Yn
|
|
3833
3833
|
).filter((o) => {
|
|
3834
3834
|
const _ = o.source;
|
|
3835
3835
|
return (_ == null ? void 0 : _.type) !== "systemPermissionSet" ? !0 : o.actions.includes("manage");
|
|
@@ -3844,7 +3844,7 @@ const _a = { class: "flex flex-col gap-32" }, ha = { class: "p-16 fm-corner-radi
|
|
|
3844
3844
|
}));
|
|
3845
3845
|
function ne(O) {
|
|
3846
3846
|
n.value = ia(
|
|
3847
|
-
|
|
3847
|
+
B.value,
|
|
3848
3848
|
O,
|
|
3849
3849
|
n.value,
|
|
3850
3850
|
w
|
|
@@ -3854,7 +3854,7 @@ const _a = { class: "flex flex-col gap-32" }, ha = { class: "p-16 fm-corner-radi
|
|
|
3854
3854
|
N.value.filter((O) => sn(O.subject).length > 0).map((O) => O.subject)
|
|
3855
3855
|
)), _e = z(() => {
|
|
3856
3856
|
const O = /* @__PURE__ */ new Map();
|
|
3857
|
-
return
|
|
3857
|
+
return B.value.map((r) => ({
|
|
3858
3858
|
rule: r,
|
|
3859
3859
|
index: n.value.findIndex(
|
|
3860
3860
|
(o) => !o.inverted && o.subject === r.subject
|
|
@@ -3883,7 +3883,7 @@ const _a = { class: "flex flex-col gap-32" }, ha = { class: "p-16 fm-corner-radi
|
|
|
3883
3883
|
}), O;
|
|
3884
3884
|
}), ce = fa(n, N, (O) => {
|
|
3885
3885
|
n.value = O;
|
|
3886
|
-
}), re =
|
|
3886
|
+
}), re = Ts(n), fe = st(null);
|
|
3887
3887
|
function q(O, r) {
|
|
3888
3888
|
const o = _e.value.get(O);
|
|
3889
3889
|
if (o) return o;
|
|
@@ -3923,7 +3923,7 @@ const _a = { class: "flex flex-col gap-32" }, ha = { class: "p-16 fm-corner-radi
|
|
|
3923
3923
|
}
|
|
3924
3924
|
);
|
|
3925
3925
|
}
|
|
3926
|
-
function
|
|
3926
|
+
function Je(O, r, o) {
|
|
3927
3927
|
const _ = re.getDraft({
|
|
3928
3928
|
subject: O.subject,
|
|
3929
3929
|
builderKey: r.builderKey
|
|
@@ -3951,18 +3951,18 @@ const _a = { class: "flex flex-col gap-32" }, ha = { class: "p-16 fm-corner-radi
|
|
|
3951
3951
|
afterCommit: () => {
|
|
3952
3952
|
re.clearDraftsForSubject(O.subject), r();
|
|
3953
3953
|
},
|
|
3954
|
-
onOverridesConflict:
|
|
3954
|
+
onOverridesConflict: Ye(O).onOverridesConflict
|
|
3955
3955
|
});
|
|
3956
3956
|
}
|
|
3957
3957
|
function Fe(O) {
|
|
3958
3958
|
return O.sections.some((r) => ce.shouldShowInheritToggle(O, r.builder) ? ce.inheritMode(O, r.builder) === "custom" : Object.keys(r.builder.toCondition(r.formValue)).length > 0);
|
|
3959
3959
|
}
|
|
3960
|
-
let
|
|
3961
|
-
function
|
|
3960
|
+
let Ce = !1;
|
|
3961
|
+
function Ye(O, r = {}) {
|
|
3962
3962
|
return {
|
|
3963
3963
|
...r,
|
|
3964
3964
|
onOverridesConflict: ({ override: o, keep: _ }) => {
|
|
3965
|
-
|
|
3965
|
+
Ce || (Ce = !0, u.open({
|
|
3966
3966
|
title: a("team.memberForm.permissions.conditionCover.confirmTitle"),
|
|
3967
3967
|
message: a("team.memberForm.permissions.conditionCover.confirmMessage", {
|
|
3968
3968
|
cover: O.label
|
|
@@ -3978,11 +3978,11 @@ const _a = { class: "flex flex-col gap-32" }, ha = { class: "p-16 fm-corner-radi
|
|
|
3978
3978
|
close: !1
|
|
3979
3979
|
}
|
|
3980
3980
|
}).onPrimary(() => {
|
|
3981
|
-
o(),
|
|
3981
|
+
o(), Ce = !1, u.close();
|
|
3982
3982
|
}).onSecondary(() => {
|
|
3983
|
-
_(),
|
|
3983
|
+
_(), Ce = !1, u.close();
|
|
3984
3984
|
}).onClose(() => {
|
|
3985
|
-
|
|
3985
|
+
Ce = !1;
|
|
3986
3986
|
}));
|
|
3987
3987
|
}
|
|
3988
3988
|
};
|
|
@@ -3995,12 +3995,12 @@ const _a = { class: "flex flex-col gap-32" }, ha = { class: "p-16 fm-corner-radi
|
|
|
3995
3995
|
{ deep: !0 }
|
|
3996
3996
|
), (O, r) => {
|
|
3997
3997
|
const o = we("FmIcon"), _ = we("FmBottomSheet"), A = we("FmPopover");
|
|
3998
|
-
return
|
|
3998
|
+
return J(), ie("div", _a, [
|
|
3999
3999
|
ae("div", ha, [
|
|
4000
4000
|
ue(Ho, {
|
|
4001
|
-
"model-value":
|
|
4001
|
+
"model-value": B.value,
|
|
4002
4002
|
"excluded-subjects": c,
|
|
4003
|
-
"additional-permissions": H(
|
|
4003
|
+
"additional-permissions": H(T),
|
|
4004
4004
|
"onUpdate:modelValue": ne
|
|
4005
4005
|
}, et({ _: 2 }, [
|
|
4006
4006
|
ye(D.value, (M) => ({
|
|
@@ -4012,8 +4012,8 @@ const _a = { class: "flex flex-col gap-32" }, ha = { class: "p-16 fm-corner-radi
|
|
|
4012
4012
|
ye(Q.value, (M) => ({
|
|
4013
4013
|
name: `checkbox-${M}-icon`,
|
|
4014
4014
|
fn: de(({ option: P, isEffectiveSelected: v }) => [
|
|
4015
|
-
v && q(M, P.label) ? (
|
|
4016
|
-
g.value ? (
|
|
4015
|
+
v && q(M, P.label) ? (J(), ie(ke, { key: 0 }, [
|
|
4016
|
+
g.value ? (J(), Ne(_, {
|
|
4017
4017
|
key: 0,
|
|
4018
4018
|
"model-value": fe.value === M,
|
|
4019
4019
|
header: H(a)("team.memberForm.permissions.conditionTitle", {
|
|
@@ -4050,13 +4050,13 @@ const _a = { class: "flex flex-col gap-32" }, ha = { class: "p-16 fm-corner-radi
|
|
|
4050
4050
|
"has-changes": Ke(M),
|
|
4051
4051
|
disable: e.disable,
|
|
4052
4052
|
"full-width": !0,
|
|
4053
|
-
onUpdateInheritMode: ({ builder: y, mode:
|
|
4054
|
-
onUpdateForm: ({ builder: y, form:
|
|
4053
|
+
onUpdateInheritMode: ({ builder: y, mode: $ }) => Je(q(M, P.label), y, $),
|
|
4054
|
+
onUpdateForm: ({ builder: y, form: $ }) => he(q(M, P.label), y, $),
|
|
4055
4055
|
onApply: (y) => xe(q(M, P.label), () => fe.value = null)
|
|
4056
4056
|
}, null, 8, ["entry", "builders", "subject", "time-zone", "cover-override", "inherit-mode-for", "form-value-for", "has-changes", "disable", "onUpdateInheritMode", "onUpdateForm", "onApply"])
|
|
4057
4057
|
]),
|
|
4058
4058
|
_: 2
|
|
4059
|
-
}, 1032, ["model-value", "header", "onUpdate:modelValue"])) : (
|
|
4059
|
+
}, 1032, ["model-value", "header", "onUpdate:modelValue"])) : (J(), Ne(A, {
|
|
4060
4060
|
key: 1,
|
|
4061
4061
|
disabled: e.disable,
|
|
4062
4062
|
"z-index": 100,
|
|
@@ -4081,29 +4081,29 @@ const _a = { class: "flex flex-col gap-32" }, ha = { class: "p-16 fm-corner-radi
|
|
|
4081
4081
|
default: de(({ hide: y }) => [
|
|
4082
4082
|
ue(Fn, {
|
|
4083
4083
|
entry: q(M, P.label),
|
|
4084
|
-
builders: q(M, P.label).sections.map((
|
|
4084
|
+
builders: q(M, P.label).sections.map(($) => $.builder),
|
|
4085
4085
|
subject: M,
|
|
4086
4086
|
"time-zone": F.value,
|
|
4087
4087
|
"cover-override": H(ce),
|
|
4088
4088
|
title: H(a)("team.memberForm.permissions.conditionTitle", {
|
|
4089
4089
|
context: q(M, P.label).label
|
|
4090
4090
|
}),
|
|
4091
|
-
"inherit-mode-for": (
|
|
4092
|
-
"form-value-for": (
|
|
4091
|
+
"inherit-mode-for": ($) => K(q(M, P.label), $),
|
|
4092
|
+
"form-value-for": ($) => De(q(M, P.label), $),
|
|
4093
4093
|
"has-changes": Ke(M),
|
|
4094
4094
|
disable: e.disable,
|
|
4095
|
-
onUpdateInheritMode: ({ builder:
|
|
4095
|
+
onUpdateInheritMode: ({ builder: $, mode: le }) => Je(
|
|
4096
4096
|
q(M, P.label),
|
|
4097
|
-
|
|
4097
|
+
$,
|
|
4098
4098
|
le
|
|
4099
4099
|
),
|
|
4100
|
-
onUpdateForm: ({ builder:
|
|
4101
|
-
onApply: (
|
|
4100
|
+
onUpdateForm: ({ builder: $, form: le }) => he(q(M, P.label), $, le),
|
|
4101
|
+
onApply: ($) => xe(q(M, P.label), y)
|
|
4102
4102
|
}, null, 8, ["entry", "builders", "subject", "time-zone", "cover-override", "title", "inherit-mode-for", "form-value-for", "has-changes", "disable", "onUpdateInheritMode", "onUpdateForm", "onApply"])
|
|
4103
4103
|
]),
|
|
4104
4104
|
_: 2
|
|
4105
4105
|
}, 1032, ["disabled", "exclude-el-from-click-outside", "onPopoverChanged"]))
|
|
4106
|
-
], 64)) : (
|
|
4106
|
+
], 64)) : (J(), Ne(o, {
|
|
4107
4107
|
key: 1,
|
|
4108
4108
|
name: "settings",
|
|
4109
4109
|
size: "sm",
|
|
@@ -4148,7 +4148,7 @@ const _a = { class: "flex flex-col gap-32" }, ha = { class: "p-16 fm-corner-radi
|
|
|
4148
4148
|
roles: H(V),
|
|
4149
4149
|
"model-value": j.value,
|
|
4150
4150
|
"restaurant-ids": U.value,
|
|
4151
|
-
"onUpdate:modelValue":
|
|
4151
|
+
"onUpdate:modelValue": G
|
|
4152
4152
|
}, et({ _: 2 }, [
|
|
4153
4153
|
ye(S.value, (M) => ({
|
|
4154
4154
|
name: `checkbox-${M.id}-append`,
|