@feedmepos/mf-hrm-portal 2.2.5-dev.7 → 2.2.5-dev.8
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-dn-WwNAd.js → ApprovalCodeList-BzL73nqc.js} +2 -2
- package/dist/{AuditLogList-BqVp9fxD.js → AuditLogList-BEZoHLsX.js} +3 -3
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-DnAet2oc.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-DDrP7ywR.js} +2 -2
- package/dist/{EmployeeList-BwTJre5k.js → EmployeeList-s4FYw1ZF.js} +5 -5
- package/dist/{GrantUserList-CZek1r4F.js → GrantUserList-Ci_ElhHZ.js} +3 -3
- package/dist/{Main-MjSYZdOq.js → Main-BojQuzZI.js} +5 -5
- package/dist/{Main-DVA51sj2.js → Main-CKr3RGvf.js} +2 -2
- package/dist/{Main-CbmA-SYo.js → Main-N1CNGDAy.js} +9 -9
- package/dist/{PermissionSetList-lkHmXhNm.js → PermissionSetList-DLknSOzA.js} +5 -5
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-cFQDQCal.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DK2Bx8Aw.js} +772 -772
- package/dist/{RoleList-BSs0SmFo.js → RoleList-Cm7_q5l9.js} +7 -7
- package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-DrJ1vA88.js +426 -0
- package/dist/ScheduleButton.vue_vue_type_script_setup_true_lang-DX5JR7bi.js +600 -0
- package/dist/ScheduleGeneralPage-CmR4BZAp.js +323 -0
- package/dist/SchedulePage-CN3ZsQ9E.js +13905 -0
- package/dist/SchedulePositionPage-Bv3zraaF.js +293 -0
- package/dist/ScheduleSelect.vue_vue_type_script_setup_true_lang-Buu8NEQf.js +221 -0
- package/dist/{TeamMemberList-Dit_nV6d.js → TeamMemberList-D2OfkfJP.js} +6 -6
- package/dist/{TimesheetList-B-FlRO7E.js → TimesheetList-DEdLpYuM.js} +4 -4
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-DZUJR8K_.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-BfMkNvCz.js} +1 -1
- package/dist/{app-BpnOPodL.js → app-Dmmpy4k-.js} +8 -8
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-4GLfSOGZ.js → dayjs.min-DcfKURXN.js} +1 -1
- package/dist/{employee-ChdVnSmd.js → employee-D3ZpYH4j.js} +3 -3
- package/dist/{index-DYoVJQTd.js → index-BxkisKEs.js} +1 -1
- package/dist/{index-CilJxsY7.js → index-D-VlxJu9.js} +1 -1
- package/dist/{lodash-CcFIMCiJ.js → lodash-p40sRkqQ.js} +1 -1
- package/dist/{role-OXCiWTVq.js → role-CM1urkJZ.js} +1 -1
- package/dist/{rule-8iyCO_LZ.js → rule-BPApyMJY.js} +2 -2
- package/dist/src/api/schedule/index.d.ts +0 -3
- package/dist/src/views/scheduling/ScheduleGeneralPage.vue.d.ts +1 -2
- package/dist/src/views/scheduling/SchedulePage.vue.d.ts +1 -2
- package/dist/src/views/scheduling/SchedulePositionPage.vue.d.ts +1 -2
- package/dist/src/views/scheduling/components/ScheduleAddEmployeeModal.vue.d.ts +5 -1
- package/dist/src/views/scheduling/components/ScheduleAddEmployeePositionsSection.vue.d.ts +5 -1
- package/dist/src/views/scheduling/components/ScheduleAddPositionModal.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleButton.vue.d.ts +23 -0
- package/dist/src/views/scheduling/components/ScheduleConfirmModal.vue.d.ts +1 -1
- package/dist/src/views/scheduling/components/ScheduleEmployeeMenu.vue.d.ts +6 -0
- package/dist/src/views/scheduling/components/ScheduleLeaveEditModal.vue.d.ts +4 -2
- package/dist/src/views/scheduling/components/ScheduleOnboardingWizard.vue.d.ts +3 -0
- package/dist/src/views/scheduling/components/ScheduleSelect.vue.d.ts +14 -0
- package/dist/src/views/scheduling/components/ScheduleShiftHeadcountEditor.vue.d.ts +5 -1
- package/dist/src/views/scheduling/components/ScheduleShiftPopover.vue.d.ts +2 -0
- package/dist/src/views/scheduling/components/ScheduleStaffRail.vue.d.ts +4 -2
- package/dist/src/views/scheduling/components/ScheduleStaffRows.vue.d.ts +4 -2
- package/dist/src/views/scheduling/components/ScheduleTopbar.vue.d.ts +2 -4
- package/dist/src/views/scheduling/composables/schedule-add-employee-form.d.ts +1 -0
- package/dist/src/views/scheduling/composables/schedule-popover-position.d.ts +16 -0
- package/dist/src/views/scheduling/composables/useCollapsedList.d.ts +9 -0
- package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +1 -0
- package/dist/src/views/scheduling/composables/useScheduleAddPick.d.ts +14 -7
- package/dist/src/views/scheduling/composables/useScheduleAssign.d.ts +11 -2
- package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +8 -0
- package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +11 -0
- package/dist/src/views/scheduling/composables/useScheduleDayTimeline.d.ts +0 -5
- package/dist/src/views/scheduling/composables/useScheduleDemand.d.ts +5 -3
- package/dist/src/views/scheduling/composables/useScheduleDemandSheet.d.ts +7 -1
- package/dist/src/views/scheduling/composables/useScheduleEmployeeMenu.d.ts +35 -0
- package/dist/src/views/scheduling/composables/useScheduleLeave.d.ts +53 -3
- package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +1181 -55
- package/dist/src/views/scheduling/composables/useSchedulePositionModal.d.ts +50 -0
- package/dist/src/views/scheduling/composables/useSchedulePublish.d.ts +2 -0
- package/dist/src/views/scheduling/composables/useScheduleRangeCalendar.d.ts +10 -1
- package/dist/src/views/scheduling/composables/useScheduleRoster.d.ts +6 -0
- package/dist/src/views/scheduling/composables/useScheduleSetupBanner.d.ts +5 -5
- package/dist/src/views/scheduling/composables/useScheduleShiftActions.d.ts +6 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +7 -0
- package/dist/src/views/scheduling/composables/useScheduleTimePicker.d.ts +6 -1
- package/dist/src/views/scheduling/composables/useScheduleViewportFit.d.ts +9 -0
- package/dist/src/views/scheduling/data.d.ts +6 -1
- package/dist/src/views/scheduling/schedule-store.d.ts +11 -1
- package/dist/src/views/scheduling/types.d.ts +9 -1
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useReportPermissions-C3fuFTUC.js → useReportPermissions-5EhPvVT9.js} +3 -3
- package/package.json +1 -1
- package/dist/ScheduleGeneralPage-DD9n2TUe.js +0 -242
- package/dist/SchedulePage-B0X97zVC.js +0 -10761
- package/dist/SchedulePositionPage-BXz1USn3.js +0 -220
- package/dist/ScheduleSelect.vue_vue_type_script_setup_true_lang-DAHke2rH.js +0 -201
- package/dist/useScheduleOutlet-TPZJHgSY.js +0 -546
- package/dist/useSchedulePositions-DCkaKHQm.js +0 -103
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { getCurrentInstance as
|
|
1
|
+
import { getCurrentInstance as Xt, inject as ur, ref as rt, shallowRef as mr, computed as z, watch as wt, onMounted as xn, onUnmounted as dr, defineComponent as Le, h as Wn, createVNode as ue, Text as fr, Fragment as Re, resolveComponent as we, createBlock as Ce, openBlock as $, withCtx as me, 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 _r, useSlots as pr, normalizeClass as qe, createSlots as et, mergeModels as tn, useModel as vr } from "vue";
|
|
2
2
|
import { useI18n as He, useCoreStore as hr } from "@feedmepos/mf-common";
|
|
3
3
|
import { useDialog as br, useBreakpoints as gr } from "@feedmepos/ui-library";
|
|
4
4
|
import "@vue/devtools-api";
|
|
5
|
-
import { p as Gn, N as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { u as Or, v as Sr, b as
|
|
5
|
+
import { p as Gn, N as Yn, d as Ir, P as Er, w as At, x as yr, y as Cr } from "./rule-BPApyMJY.js";
|
|
6
|
+
import { _ as Bt, a as Nr, b as nn, u as Tr } from "./ConditionBuilderForm.vue_vue_type_script_setup_true_lang-DDrP7ywR.js";
|
|
7
|
+
import { u as Or, v as Sr, b as Zn, S as Dt, A as tt, c as he, k as rn, O as Ar } from "./app-Dmmpy4k-.js";
|
|
8
8
|
import { c as It } from "./iteration-CcXrOMQe.js";
|
|
9
9
|
import { r as Lr } from "./string-VNuQNweN.js";
|
|
10
|
-
import "./index-
|
|
10
|
+
import "./index-BxkisKEs.js";
|
|
11
11
|
import { g as kr, b as Rr } from "./restaurant-BTpBmfBV.js";
|
|
12
|
-
import { u as Mr } from "./role-
|
|
13
|
-
function
|
|
12
|
+
import { u as Mr } from "./role-CM1urkJZ.js";
|
|
13
|
+
function Xn(e, t) {
|
|
14
14
|
return Array.isArray(e) ? e.includes(t) : e === t;
|
|
15
15
|
}
|
|
16
16
|
function wr(e) {
|
|
17
17
|
return Array.isArray(e) ? e[0] : e;
|
|
18
18
|
}
|
|
19
19
|
function Dr(e, t) {
|
|
20
|
-
const n = t.find((l) =>
|
|
20
|
+
const n = t.find((l) => Xn(l.subject, e));
|
|
21
21
|
if (!(n != null && n.category) || n.isCategoryCover) return;
|
|
22
22
|
const r = t.find((l) => l.category === n.category && l.isCategoryCover);
|
|
23
23
|
if (r)
|
|
24
24
|
return wr(r.subject);
|
|
25
25
|
}
|
|
26
26
|
function sn(e, t) {
|
|
27
|
-
const n = t.find((r) =>
|
|
27
|
+
const n = t.find((r) => Xn(r.subject, e));
|
|
28
28
|
return !!(n != null && n.isCategoryCover);
|
|
29
29
|
}
|
|
30
30
|
/*!
|
|
@@ -32,9 +32,9 @@ function sn(e, t) {
|
|
|
32
32
|
* (c) 2024 kazuya kawaguchi
|
|
33
33
|
* Released under the MIT License.
|
|
34
34
|
*/
|
|
35
|
-
const on = typeof window < "u",
|
|
35
|
+
const on = typeof window < "u", Je = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), Fr = (e, t, n) => Pr({ l: e, k: t, s: n }), Pr = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ge = (e) => typeof e == "number" && isFinite(e), jr = (e) => Ht(e) === "[object Date]", yt = (e) => Ht(e) === "[object RegExp]", Nt = (e) => ee(e) && Object.keys(e).length === 0, Ie = Object.assign, Ur = Object.create, oe = (e = null) => Ur(e);
|
|
36
36
|
let an;
|
|
37
|
-
const
|
|
37
|
+
const Be = () => an || (an = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : oe());
|
|
38
38
|
function ln(e) {
|
|
39
39
|
return e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
40
40
|
}
|
|
@@ -42,15 +42,15 @@ const Vr = Object.prototype.hasOwnProperty;
|
|
|
42
42
|
function Ae(e, t) {
|
|
43
43
|
return Vr.call(e, t);
|
|
44
44
|
}
|
|
45
|
-
const be = Array.isArray,
|
|
46
|
-
function
|
|
45
|
+
const be = Array.isArray, de = (e) => typeof e == "function", Y = (e) => typeof e == "string", ve = (e) => typeof e == "boolean", te = (e) => e !== null && typeof e == "object", xr = (e) => te(e) && de(e.then) && de(e.catch), Bn = Object.prototype.toString, Ht = (e) => Bn.call(e), ee = (e) => Ht(e) === "[object Object]", Wr = (e) => e == null ? "" : be(e) || ee(e) && e.toString === Bn ? JSON.stringify(e, null, 2) : String(e);
|
|
46
|
+
function Jt(e, t = "") {
|
|
47
47
|
return e.reduce((n, r, l) => l === 0 ? n + r : n + t + r, "");
|
|
48
48
|
}
|
|
49
49
|
function Gr(e, t) {
|
|
50
50
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
51
51
|
}
|
|
52
52
|
const ft = (e) => !te(e) || be(e);
|
|
53
|
-
function
|
|
53
|
+
function Et(e, t) {
|
|
54
54
|
if (ft(e) || ft(t))
|
|
55
55
|
throw new Error("Invalid value");
|
|
56
56
|
const n = [{ src: e, des: t }];
|
|
@@ -61,7 +61,7 @@ function yt(e, t) {
|
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function Yr(e, t, n) {
|
|
65
65
|
return { line: e, column: t, offset: n };
|
|
66
66
|
}
|
|
67
67
|
function Ft(e, t, n) {
|
|
@@ -84,25 +84,25 @@ const re = {
|
|
|
84
84
|
UNEXPECTED_EMPTY_LINKED_MODIFIER: 12,
|
|
85
85
|
UNEXPECTED_EMPTY_LINKED_KEY: 13,
|
|
86
86
|
UNEXPECTED_LEXICAL_ANALYSIS: 14
|
|
87
|
-
},
|
|
87
|
+
}, Zr = 17;
|
|
88
88
|
function Tt(e, t, n = {}) {
|
|
89
|
-
const { domain: r, messages: l, args: a } = n,
|
|
89
|
+
const { domain: r, messages: l, args: a } = n, m = e, u = new SyntaxError(String(m));
|
|
90
90
|
return u.code = e, t && (u.location = t), u.domain = r, u;
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function Xr(e) {
|
|
93
93
|
throw e;
|
|
94
94
|
}
|
|
95
|
-
const Pe = " ",
|
|
96
|
-
`, Hr = "\u2028",
|
|
97
|
-
function
|
|
95
|
+
const Pe = " ", Br = "\r", Ee = `
|
|
96
|
+
`, Hr = "\u2028", Jr = "\u2029";
|
|
97
|
+
function $r(e) {
|
|
98
98
|
const t = e;
|
|
99
99
|
let n = 0, r = 1, l = 1, a = 0;
|
|
100
|
-
const
|
|
100
|
+
const m = (p) => t[p] === Br && t[p + 1] === Ee, u = (p) => t[p] === Ee, i = (p) => t[p] === Jr, g = (p) => t[p] === Hr, E = (p) => m(p) || u(p) || i(p) || g(p), T = () => n, C = () => r, F = () => l, w = () => a, L = (p) => m(p) || i(p) || g(p) ? Ee : t[p], D = () => L(n), f = () => L(n + a);
|
|
101
101
|
function h() {
|
|
102
|
-
return a = 0,
|
|
102
|
+
return a = 0, E(n) && (r++, l = 0), m(n) && n++, n++, l++, t[n];
|
|
103
103
|
}
|
|
104
104
|
function S() {
|
|
105
|
-
return
|
|
105
|
+
return m(n + a) && a++, a++, t[n + a];
|
|
106
106
|
}
|
|
107
107
|
function c() {
|
|
108
108
|
n = 0, r = 1, l = 1, a = 0;
|
|
@@ -118,7 +118,7 @@ function Jr(e) {
|
|
|
118
118
|
}
|
|
119
119
|
return {
|
|
120
120
|
index: T,
|
|
121
|
-
line:
|
|
121
|
+
line: C,
|
|
122
122
|
column: F,
|
|
123
123
|
peekOffset: w,
|
|
124
124
|
charAt: L,
|
|
@@ -133,35 +133,35 @@ function Jr(e) {
|
|
|
133
133
|
}
|
|
134
134
|
const xe = void 0, Kr = ".", cn = "'", zr = "tokenizer";
|
|
135
135
|
function Qr(e, t = {}) {
|
|
136
|
-
const n = t.location !== !1, r =
|
|
136
|
+
const n = t.location !== !1, r = $r(e), l = () => r.index(), a = () => Yr(r.line(), r.column(), r.index()), m = a(), u = l(), i = {
|
|
137
137
|
currentType: 13,
|
|
138
138
|
offset: u,
|
|
139
|
-
startLoc:
|
|
140
|
-
endLoc:
|
|
139
|
+
startLoc: m,
|
|
140
|
+
endLoc: m,
|
|
141
141
|
lastType: 13,
|
|
142
142
|
lastOffset: u,
|
|
143
|
-
lastStartLoc:
|
|
144
|
-
lastEndLoc:
|
|
143
|
+
lastStartLoc: m,
|
|
144
|
+
lastEndLoc: m,
|
|
145
145
|
braceNest: 0,
|
|
146
146
|
inLinked: !1,
|
|
147
147
|
text: ""
|
|
148
|
-
}, g = () => i, { onError:
|
|
148
|
+
}, g = () => i, { onError: E } = t;
|
|
149
149
|
function T(s, o, _, ...k) {
|
|
150
150
|
const M = g();
|
|
151
|
-
if (o.column += _, o.offset += _,
|
|
151
|
+
if (o.column += _, o.offset += _, E) {
|
|
152
152
|
const P = n ? Ft(M.startLoc, o) : null, v = Tt(s, P, {
|
|
153
153
|
domain: zr,
|
|
154
154
|
args: k
|
|
155
155
|
});
|
|
156
|
-
|
|
156
|
+
E(v);
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function C(s, o, _) {
|
|
160
160
|
s.endLoc = a(), s.currentType = o;
|
|
161
161
|
const k = { type: o };
|
|
162
162
|
return n && (k.loc = Ft(s.startLoc, s.endLoc)), _ != null && (k.value = _), k;
|
|
163
163
|
}
|
|
164
|
-
const F = (s) =>
|
|
164
|
+
const F = (s) => C(
|
|
165
165
|
s,
|
|
166
166
|
13
|
|
167
167
|
/* TokenTypes.EOF */
|
|
@@ -171,7 +171,7 @@ function Qr(e, t = {}) {
|
|
|
171
171
|
}
|
|
172
172
|
function L(s) {
|
|
173
173
|
let o = "";
|
|
174
|
-
for (; s.currentPeek() === Pe || s.currentPeek() ===
|
|
174
|
+
for (; s.currentPeek() === Pe || s.currentPeek() === Ee; )
|
|
175
175
|
o += s.currentPeek(), s.peek();
|
|
176
176
|
return o;
|
|
177
177
|
}
|
|
@@ -247,11 +247,11 @@ function Qr(e, t = {}) {
|
|
|
247
247
|
return !1;
|
|
248
248
|
const k = () => {
|
|
249
249
|
const P = s.currentPeek();
|
|
250
|
-
return P === "{" ? f(s.peek()) : P === "@" || P === "|" || P === ":" || P === "." || P === Pe || !P ? !1 : P ===
|
|
250
|
+
return P === "{" ? f(s.peek()) : P === "@" || P === "|" || P === ":" || P === "." || P === Pe || !P ? !1 : P === Ee ? (s.peek(), k()) : x(s, !1);
|
|
251
251
|
}, M = k();
|
|
252
252
|
return s.resetPeek(), M;
|
|
253
253
|
}
|
|
254
|
-
function
|
|
254
|
+
function B(s) {
|
|
255
255
|
L(s);
|
|
256
256
|
const o = s.currentPeek() === "|";
|
|
257
257
|
return s.resetPeek(), o;
|
|
@@ -259,15 +259,15 @@ function Qr(e, t = {}) {
|
|
|
259
259
|
function x(s, o = !0) {
|
|
260
260
|
const _ = (M = !1, P = "") => {
|
|
261
261
|
const v = s.currentPeek();
|
|
262
|
-
return v === "{" || v === "@" || !v ? M : v === "|" ? !(P === Pe || P ===
|
|
262
|
+
return v === "{" || v === "@" || !v ? M : v === "|" ? !(P === Pe || P === Ee) : v === Pe ? (s.peek(), _(!0, Pe)) : v === Ee ? (s.peek(), _(!0, Ee)) : !0;
|
|
263
263
|
}, k = _();
|
|
264
264
|
return o && s.resetPeek(), k;
|
|
265
265
|
}
|
|
266
|
-
function
|
|
266
|
+
function d(s, o) {
|
|
267
267
|
const _ = s.currentChar();
|
|
268
268
|
return _ === xe ? xe : o(_) ? (s.next(), _) : null;
|
|
269
269
|
}
|
|
270
|
-
function
|
|
270
|
+
function N(s) {
|
|
271
271
|
const o = s.charCodeAt(0);
|
|
272
272
|
return o >= 97 && o <= 122 || // a-z
|
|
273
273
|
o >= 65 && o <= 90 || // A-Z
|
|
@@ -276,7 +276,7 @@ function Qr(e, t = {}) {
|
|
|
276
276
|
o === 36;
|
|
277
277
|
}
|
|
278
278
|
function U(s) {
|
|
279
|
-
return
|
|
279
|
+
return d(s, N);
|
|
280
280
|
}
|
|
281
281
|
function V(s) {
|
|
282
282
|
const o = s.charCodeAt(0);
|
|
@@ -288,23 +288,23 @@ function Qr(e, t = {}) {
|
|
|
288
288
|
o === 45;
|
|
289
289
|
}
|
|
290
290
|
function j(s) {
|
|
291
|
-
return
|
|
291
|
+
return d(s, V);
|
|
292
292
|
}
|
|
293
293
|
function G(s) {
|
|
294
294
|
const o = s.charCodeAt(0);
|
|
295
295
|
return o >= 48 && o <= 57;
|
|
296
296
|
}
|
|
297
297
|
function W(s) {
|
|
298
|
-
return
|
|
298
|
+
return d(s, G);
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function Z(s) {
|
|
301
301
|
const o = s.charCodeAt(0);
|
|
302
302
|
return o >= 48 && o <= 57 || // 0-9
|
|
303
303
|
o >= 65 && o <= 70 || // A-F
|
|
304
304
|
o >= 97 && o <= 102;
|
|
305
305
|
}
|
|
306
|
-
function
|
|
307
|
-
return
|
|
306
|
+
function X(s) {
|
|
307
|
+
return d(s, Z);
|
|
308
308
|
}
|
|
309
309
|
function ne(s) {
|
|
310
310
|
let o = "", _ = "";
|
|
@@ -318,11 +318,11 @@ function Qr(e, t = {}) {
|
|
|
318
318
|
const _ = s.currentChar();
|
|
319
319
|
if (_ === "{" || _ === "}" || _ === "@" || _ === "|" || !_)
|
|
320
320
|
break;
|
|
321
|
-
if (_ === Pe || _ ===
|
|
321
|
+
if (_ === Pe || _ === Ee)
|
|
322
322
|
if (x(s))
|
|
323
323
|
o += _, s.next();
|
|
324
324
|
else {
|
|
325
|
-
if (
|
|
325
|
+
if (B(s))
|
|
326
326
|
break;
|
|
327
327
|
o += _, s.next();
|
|
328
328
|
}
|
|
@@ -344,15 +344,15 @@ function Qr(e, t = {}) {
|
|
|
344
344
|
return s.currentChar() === "-" ? (s.next(), o += `-${ne(s)}`) : o += ne(s), s.currentChar() === xe && T(re.UNTERMINATED_CLOSING_BRACE, a(), 0), o;
|
|
345
345
|
}
|
|
346
346
|
function se(s) {
|
|
347
|
-
return s !== cn && s !==
|
|
347
|
+
return s !== cn && s !== Ee;
|
|
348
348
|
}
|
|
349
349
|
function fe(s) {
|
|
350
350
|
D(s), w(s, "'");
|
|
351
351
|
let o = "", _ = "";
|
|
352
|
-
for (; o =
|
|
352
|
+
for (; o = d(s, se); )
|
|
353
353
|
o === "\\" ? _ += q(s) : _ += o;
|
|
354
354
|
const k = s.currentChar();
|
|
355
|
-
return k ===
|
|
355
|
+
return k === Ee || k === xe ? (T(re.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), k === Ee && (s.next(), w(s, "'")), _) : (w(s, "'"), _);
|
|
356
356
|
}
|
|
357
357
|
function q(s) {
|
|
358
358
|
const o = s.currentChar();
|
|
@@ -372,7 +372,7 @@ function Qr(e, t = {}) {
|
|
|
372
372
|
w(s, o);
|
|
373
373
|
let k = "";
|
|
374
374
|
for (let M = 0; M < _; M++) {
|
|
375
|
-
const P =
|
|
375
|
+
const P = X(s);
|
|
376
376
|
if (!P) {
|
|
377
377
|
T(re.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${k}${s.currentChar()}`);
|
|
378
378
|
break;
|
|
@@ -382,16 +382,16 @@ function Qr(e, t = {}) {
|
|
|
382
382
|
return `\\${o}${k}`;
|
|
383
383
|
}
|
|
384
384
|
function K(s) {
|
|
385
|
-
return s !== "{" && s !== "}" && s !== Pe && s !==
|
|
385
|
+
return s !== "{" && s !== "}" && s !== Pe && s !== Ee;
|
|
386
386
|
}
|
|
387
387
|
function pe(s) {
|
|
388
388
|
D(s);
|
|
389
389
|
let o = "", _ = "";
|
|
390
|
-
for (; o =
|
|
390
|
+
for (; o = d(s, K); )
|
|
391
391
|
_ += o;
|
|
392
392
|
return _;
|
|
393
393
|
}
|
|
394
|
-
function
|
|
394
|
+
function $e(s) {
|
|
395
395
|
let o = "", _ = "";
|
|
396
396
|
for (; o = U(s); )
|
|
397
397
|
_ += o;
|
|
@@ -417,71 +417,71 @@ function Qr(e, t = {}) {
|
|
|
417
417
|
let _ = null;
|
|
418
418
|
switch (s.currentChar()) {
|
|
419
419
|
case "{":
|
|
420
|
-
return o.braceNest >= 1 && T(re.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), s.next(), _ =
|
|
420
|
+
return o.braceNest >= 1 && T(re.NOT_ALLOW_NEST_PLACEHOLDER, a(), 0), s.next(), _ = C(
|
|
421
421
|
o,
|
|
422
422
|
2,
|
|
423
423
|
"{"
|
|
424
424
|
/* TokenChars.BraceLeft */
|
|
425
425
|
), D(s), o.braceNest++, _;
|
|
426
426
|
case "}":
|
|
427
|
-
return o.braceNest > 0 && o.currentType === 2 && T(re.EMPTY_PLACEHOLDER, a(), 0), s.next(), _ =
|
|
427
|
+
return o.braceNest > 0 && o.currentType === 2 && T(re.EMPTY_PLACEHOLDER, a(), 0), s.next(), _ = C(
|
|
428
428
|
o,
|
|
429
429
|
3,
|
|
430
430
|
"}"
|
|
431
431
|
/* TokenChars.BraceRight */
|
|
432
432
|
), o.braceNest--, o.braceNest > 0 && D(s), o.inLinked && o.braceNest === 0 && (o.inLinked = !1), _;
|
|
433
433
|
case "@":
|
|
434
|
-
return o.braceNest > 0 && T(re.UNTERMINATED_CLOSING_BRACE, a(), 0), _ =
|
|
434
|
+
return o.braceNest > 0 && T(re.UNTERMINATED_CLOSING_BRACE, a(), 0), _ = Ne(s, o) || F(o), o.braceNest = 0, _;
|
|
435
435
|
default: {
|
|
436
436
|
let M = !0, P = !0, v = !0;
|
|
437
|
-
if (
|
|
438
|
-
return o.braceNest > 0 && T(re.UNTERMINATED_CLOSING_BRACE, a(), 0), _ =
|
|
437
|
+
if (B(s))
|
|
438
|
+
return o.braceNest > 0 && T(re.UNTERMINATED_CLOSING_BRACE, a(), 0), _ = C(o, 1, Ve(s)), o.braceNest = 0, o.inLinked = !1, _;
|
|
439
439
|
if (o.braceNest > 0 && (o.currentType === 4 || o.currentType === 5 || o.currentType === 6))
|
|
440
|
-
return T(re.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0,
|
|
440
|
+
return T(re.UNTERMINATED_CLOSING_BRACE, a(), 0), o.braceNest = 0, Ze(s, o);
|
|
441
441
|
if (M = S(s, o))
|
|
442
|
-
return _ =
|
|
442
|
+
return _ = C(o, 4, _e(s)), D(s), _;
|
|
443
443
|
if (P = c(s, o))
|
|
444
|
-
return _ =
|
|
444
|
+
return _ = C(o, 5, ce(s)), D(s), _;
|
|
445
445
|
if (v = b(s, o))
|
|
446
|
-
return _ =
|
|
446
|
+
return _ = C(o, 6, fe(s)), D(s), _;
|
|
447
447
|
if (!M && !P && !v)
|
|
448
|
-
return _ =
|
|
448
|
+
return _ = C(o, 12, pe(s)), T(re.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, _.value), D(s), _;
|
|
449
449
|
break;
|
|
450
450
|
}
|
|
451
451
|
}
|
|
452
452
|
return _;
|
|
453
453
|
}
|
|
454
|
-
function
|
|
454
|
+
function Ne(s, o) {
|
|
455
455
|
const { currentType: _ } = o;
|
|
456
456
|
let k = null;
|
|
457
457
|
const M = s.currentChar();
|
|
458
|
-
switch ((_ === 7 || _ === 8 || _ === 11 || _ === 9) && (M ===
|
|
458
|
+
switch ((_ === 7 || _ === 8 || _ === 11 || _ === 9) && (M === Ee || M === Pe) && T(re.INVALID_LINKED_FORMAT, a(), 0), M) {
|
|
459
459
|
case "@":
|
|
460
|
-
return s.next(), k =
|
|
460
|
+
return s.next(), k = C(
|
|
461
461
|
o,
|
|
462
462
|
7,
|
|
463
463
|
"@"
|
|
464
464
|
/* TokenChars.LinkedAlias */
|
|
465
465
|
), o.inLinked = !0, k;
|
|
466
466
|
case ".":
|
|
467
|
-
return D(s), s.next(),
|
|
467
|
+
return D(s), s.next(), C(
|
|
468
468
|
o,
|
|
469
469
|
8,
|
|
470
470
|
"."
|
|
471
471
|
/* TokenChars.LinkedDot */
|
|
472
472
|
);
|
|
473
473
|
case ":":
|
|
474
|
-
return D(s), s.next(),
|
|
474
|
+
return D(s), s.next(), C(
|
|
475
475
|
o,
|
|
476
476
|
9,
|
|
477
477
|
":"
|
|
478
478
|
/* TokenChars.LinkedDelimiter */
|
|
479
479
|
);
|
|
480
480
|
default:
|
|
481
|
-
return
|
|
481
|
+
return B(s) ? (k = C(o, 1, Ve(s)), o.braceNest = 0, o.inLinked = !1, k) : I(s, o) || R(s, o) ? (D(s), Ne(s, o)) : p(s, o) ? (D(s), C(o, 11, $e(s))) : A(s, o) ? (D(s), M === "{" ? Fe(s, o) || k : C(o, 10, Ke(s))) : (_ === 7 && T(re.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, Ze(s, o));
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
|
-
function
|
|
484
|
+
function Ze(s, o) {
|
|
485
485
|
let _ = {
|
|
486
486
|
type: 13
|
|
487
487
|
/* TokenTypes.EOF */
|
|
@@ -489,24 +489,24 @@ function Qr(e, t = {}) {
|
|
|
489
489
|
if (o.braceNest > 0)
|
|
490
490
|
return Fe(s, o) || F(o);
|
|
491
491
|
if (o.inLinked)
|
|
492
|
-
return
|
|
492
|
+
return Ne(s, o) || F(o);
|
|
493
493
|
switch (s.currentChar()) {
|
|
494
494
|
case "{":
|
|
495
495
|
return Fe(s, o) || F(o);
|
|
496
496
|
case "}":
|
|
497
|
-
return T(re.UNBALANCED_CLOSING_BRACE, a(), 0), s.next(),
|
|
497
|
+
return T(re.UNBALANCED_CLOSING_BRACE, a(), 0), s.next(), C(
|
|
498
498
|
o,
|
|
499
499
|
3,
|
|
500
500
|
"}"
|
|
501
501
|
/* TokenChars.BraceRight */
|
|
502
502
|
);
|
|
503
503
|
case "@":
|
|
504
|
-
return
|
|
504
|
+
return Ne(s, o) || F(o);
|
|
505
505
|
default: {
|
|
506
|
-
if (
|
|
507
|
-
return _ =
|
|
506
|
+
if (B(s))
|
|
507
|
+
return _ = C(o, 1, Ve(s)), o.braceNest = 0, o.inLinked = !1, _;
|
|
508
508
|
if (x(s))
|
|
509
|
-
return
|
|
509
|
+
return C(o, 0, Q(s));
|
|
510
510
|
break;
|
|
511
511
|
}
|
|
512
512
|
}
|
|
@@ -514,11 +514,11 @@ function Qr(e, t = {}) {
|
|
|
514
514
|
}
|
|
515
515
|
function O() {
|
|
516
516
|
const { currentType: s, offset: o, startLoc: _, endLoc: k } = i;
|
|
517
|
-
return i.lastType = s, i.lastOffset = o, i.lastStartLoc = _, i.lastEndLoc = k, i.offset = l(), i.startLoc = a(), r.currentChar() === xe ?
|
|
517
|
+
return i.lastType = s, i.lastOffset = o, i.lastStartLoc = _, i.lastEndLoc = k, i.offset = l(), i.startLoc = a(), r.currentChar() === xe ? C(
|
|
518
518
|
i,
|
|
519
519
|
13
|
|
520
520
|
/* TokenTypes.EOF */
|
|
521
|
-
) :
|
|
521
|
+
) : Ze(r, i);
|
|
522
522
|
}
|
|
523
523
|
return {
|
|
524
524
|
nextToken: O,
|
|
@@ -559,7 +559,7 @@ function ns(e = {}) {
|
|
|
559
559
|
function a(f, h, S, c) {
|
|
560
560
|
t && (f.end = h, f.loc && (f.loc.end = S));
|
|
561
561
|
}
|
|
562
|
-
function
|
|
562
|
+
function m(f, h) {
|
|
563
563
|
const S = f.context(), c = l(3, S.offset, S.startLoc);
|
|
564
564
|
return c.value = h, a(c, f.currentOffset(), f.currentPosition()), c;
|
|
565
565
|
}
|
|
@@ -575,7 +575,7 @@ function ns(e = {}) {
|
|
|
575
575
|
const S = f.context(), { lastOffset: c, lastStartLoc: b } = S, I = l(9, c, b);
|
|
576
576
|
return I.value = h.replace(es, ts), f.nextToken(), a(I, f.currentOffset(), f.currentPosition()), I;
|
|
577
577
|
}
|
|
578
|
-
function
|
|
578
|
+
function E(f) {
|
|
579
579
|
const h = f.nextToken(), S = f.context(), { lastOffset: c, lastStartLoc: b } = S, I = l(8, c, b);
|
|
580
580
|
return h.type !== 11 ? (r(f, re.UNEXPECTED_EMPTY_LINKED_MODIFIER, S.lastStartLoc, 0), I.value = "", a(I, c, b), {
|
|
581
581
|
nextConsumeToken: h,
|
|
@@ -588,11 +588,11 @@ function ns(e = {}) {
|
|
|
588
588
|
const S = f.context(), c = l(7, S.offset, S.startLoc);
|
|
589
589
|
return c.value = h, a(c, f.currentOffset(), f.currentPosition()), c;
|
|
590
590
|
}
|
|
591
|
-
function
|
|
591
|
+
function C(f) {
|
|
592
592
|
const h = f.context(), S = l(6, h.offset, h.startLoc);
|
|
593
593
|
let c = f.nextToken();
|
|
594
594
|
if (c.type === 8) {
|
|
595
|
-
const b =
|
|
595
|
+
const b = E(f);
|
|
596
596
|
S.modifier = b.node, c = b.nextConsumeToken || f.nextToken();
|
|
597
597
|
}
|
|
598
598
|
switch (c.type !== 9 && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ke(c)), c = f.nextToken(), c.type === 2 && (c = f.nextToken()), c.type) {
|
|
@@ -629,7 +629,7 @@ function ns(e = {}) {
|
|
|
629
629
|
const A = I || f.nextToken();
|
|
630
630
|
switch (I = null, A.type) {
|
|
631
631
|
case 0:
|
|
632
|
-
A.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ke(A)), b.items.push(
|
|
632
|
+
A.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ke(A)), b.items.push(m(f, A.value || ""));
|
|
633
633
|
break;
|
|
634
634
|
case 5:
|
|
635
635
|
A.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ke(A)), b.items.push(u(f, A.value || ""));
|
|
@@ -641,8 +641,8 @@ function ns(e = {}) {
|
|
|
641
641
|
A.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ke(A)), b.items.push(g(f, A.value || ""));
|
|
642
642
|
break;
|
|
643
643
|
case 7: {
|
|
644
|
-
const
|
|
645
|
-
b.items.push(
|
|
644
|
+
const B = C(f);
|
|
645
|
+
b.items.push(B.node), I = B.nextConsumeToken || null;
|
|
646
646
|
break;
|
|
647
647
|
}
|
|
648
648
|
}
|
|
@@ -686,9 +686,9 @@ function rs(e, t = {}) {
|
|
|
686
686
|
}
|
|
687
687
|
function un(e, t) {
|
|
688
688
|
for (let n = 0; n < e.length; n++)
|
|
689
|
-
|
|
689
|
+
$t(e[n], t);
|
|
690
690
|
}
|
|
691
|
-
function
|
|
691
|
+
function $t(e, t) {
|
|
692
692
|
switch (e.type) {
|
|
693
693
|
case 1:
|
|
694
694
|
un(e.cases, t), t.helper(
|
|
@@ -700,7 +700,7 @@ function Jt(e, t) {
|
|
|
700
700
|
un(e.items, t);
|
|
701
701
|
break;
|
|
702
702
|
case 6: {
|
|
703
|
-
|
|
703
|
+
$t(e.key, t), t.helper(
|
|
704
704
|
"linked"
|
|
705
705
|
/* HelperNameMap.LINKED */
|
|
706
706
|
), t.helper(
|
|
@@ -734,15 +734,15 @@ function ss(e, t = {}) {
|
|
|
734
734
|
n.helper(
|
|
735
735
|
"normalize"
|
|
736
736
|
/* HelperNameMap.NORMALIZE */
|
|
737
|
-
), e.body &&
|
|
737
|
+
), e.body && $t(e.body, n);
|
|
738
738
|
const r = n.context();
|
|
739
739
|
e.helpers = Array.from(r.helpers);
|
|
740
740
|
}
|
|
741
741
|
function os(e) {
|
|
742
742
|
const t = e.body;
|
|
743
|
-
return t.type === 2 ?
|
|
743
|
+
return t.type === 2 ? mn(t) : t.cases.forEach((n) => mn(n)), e;
|
|
744
744
|
}
|
|
745
|
-
function
|
|
745
|
+
function mn(e) {
|
|
746
746
|
if (e.items.length === 1) {
|
|
747
747
|
const t = e.items[0];
|
|
748
748
|
(t.type === 3 || t.type === 9) && (e.static = t.value, delete t.value);
|
|
@@ -755,7 +755,7 @@ function dn(e) {
|
|
|
755
755
|
t.push(r.value);
|
|
756
756
|
}
|
|
757
757
|
if (t.length === e.items.length) {
|
|
758
|
-
e.static =
|
|
758
|
+
e.static = Jt(t);
|
|
759
759
|
for (let n = 0; n < e.items.length; n++) {
|
|
760
760
|
const r = e.items[n];
|
|
761
761
|
(r.type === 3 || r.type === 9) && delete r.value;
|
|
@@ -811,7 +811,7 @@ function Qe(e) {
|
|
|
811
811
|
delete e.type;
|
|
812
812
|
}
|
|
813
813
|
function as(e, t) {
|
|
814
|
-
const { filename: n, breakLineCode: r, needIndent: l } = t, a = t.location !== !1,
|
|
814
|
+
const { filename: n, breakLineCode: r, needIndent: l } = t, a = t.location !== !1, m = {
|
|
815
815
|
filename: n,
|
|
816
816
|
code: "",
|
|
817
817
|
column: 1,
|
|
@@ -822,34 +822,34 @@ function as(e, t) {
|
|
|
822
822
|
needIndent: l,
|
|
823
823
|
indentLevel: 0
|
|
824
824
|
};
|
|
825
|
-
a && e.loc && (
|
|
826
|
-
const u = () =>
|
|
825
|
+
a && e.loc && (m.source = e.loc.source);
|
|
826
|
+
const u = () => m;
|
|
827
827
|
function i(L, D) {
|
|
828
|
-
|
|
828
|
+
m.code += L;
|
|
829
829
|
}
|
|
830
830
|
function g(L, D = !0) {
|
|
831
831
|
const f = D ? r : "";
|
|
832
832
|
i(l ? f + " ".repeat(L) : f);
|
|
833
833
|
}
|
|
834
|
-
function
|
|
835
|
-
const D = ++
|
|
834
|
+
function E(L = !0) {
|
|
835
|
+
const D = ++m.indentLevel;
|
|
836
836
|
L && g(D);
|
|
837
837
|
}
|
|
838
838
|
function T(L = !0) {
|
|
839
|
-
const D = --
|
|
839
|
+
const D = --m.indentLevel;
|
|
840
840
|
L && g(D);
|
|
841
841
|
}
|
|
842
|
-
function
|
|
843
|
-
g(
|
|
842
|
+
function C() {
|
|
843
|
+
g(m.indentLevel);
|
|
844
844
|
}
|
|
845
845
|
return {
|
|
846
846
|
context: u,
|
|
847
847
|
push: i,
|
|
848
|
-
indent:
|
|
848
|
+
indent: E,
|
|
849
849
|
deindent: T,
|
|
850
|
-
newline:
|
|
850
|
+
newline: C,
|
|
851
851
|
helper: (L) => `_${L}`,
|
|
852
|
-
needIndent: () =>
|
|
852
|
+
needIndent: () => m.needIndent
|
|
853
853
|
};
|
|
854
854
|
}
|
|
855
855
|
function ls(e, t) {
|
|
@@ -933,16 +933,16 @@ function st(e, t) {
|
|
|
933
933
|
break;
|
|
934
934
|
}
|
|
935
935
|
}
|
|
936
|
-
const
|
|
937
|
-
const n =
|
|
936
|
+
const ms = (e, t = {}) => {
|
|
937
|
+
const n = Y(t.mode) ? t.mode : "normal", r = Y(t.filename) ? t.filename : "message.intl";
|
|
938
938
|
t.sourceMap;
|
|
939
939
|
const l = t.breakLineCode != null ? t.breakLineCode : n === "arrow" ? ";" : `
|
|
940
|
-
`, a = t.needIndent ? t.needIndent : n !== "arrow",
|
|
940
|
+
`, a = t.needIndent ? t.needIndent : n !== "arrow", m = e.helpers || [], u = as(e, {
|
|
941
941
|
filename: r,
|
|
942
942
|
breakLineCode: l,
|
|
943
943
|
needIndent: a
|
|
944
944
|
});
|
|
945
|
-
u.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), u.indent(a),
|
|
945
|
+
u.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), u.indent(a), m.length > 0 && (u.push(`const { ${Jt(m.map((E) => `${E}: _${E}`), ", ")} } = ctx`), u.newline()), u.push("return "), st(u, e), u.deindent(a), u.push("}"), delete e.helpers;
|
|
946
946
|
const { code: i, map: g } = u.context();
|
|
947
947
|
return {
|
|
948
948
|
ast: e,
|
|
@@ -951,13 +951,13 @@ const ds = (e, t = {}) => {
|
|
|
951
951
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
952
952
|
};
|
|
953
953
|
};
|
|
954
|
-
function
|
|
954
|
+
function ds(e, t = {}) {
|
|
955
955
|
const n = Ie({}, t), r = !!n.jit, l = !!n.minify, a = n.optimize == null ? !0 : n.optimize, u = ns(n).parse(e);
|
|
956
|
-
return r ? (a && os(u), l && Qe(u), { ast: u, code: "" }) : (ss(u, n),
|
|
956
|
+
return r ? (a && os(u), l && Qe(u), { ast: u, code: "" }) : (ss(u, n), ms(u, n));
|
|
957
957
|
}
|
|
958
958
|
var fs = { env: { NODE_ENV: "production" } };
|
|
959
959
|
function _s() {
|
|
960
|
-
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (
|
|
960
|
+
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Be().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Be().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
961
961
|
}
|
|
962
962
|
function Lt(e) {
|
|
963
963
|
return (n) => ps(n, e);
|
|
@@ -971,12 +971,12 @@ function ps(e, t) {
|
|
|
971
971
|
);
|
|
972
972
|
if (Kt(n) === 1) {
|
|
973
973
|
const a = gs(n);
|
|
974
|
-
return e.plural(a.reduce((
|
|
975
|
-
...
|
|
976
|
-
|
|
974
|
+
return e.plural(a.reduce((m, u) => [
|
|
975
|
+
...m,
|
|
976
|
+
dn(e, u)
|
|
977
977
|
], []));
|
|
978
978
|
} else
|
|
979
|
-
return
|
|
979
|
+
return dn(e, n);
|
|
980
980
|
}
|
|
981
981
|
const vs = ["b", "body"];
|
|
982
982
|
function hs(e) {
|
|
@@ -986,22 +986,22 @@ const bs = ["c", "cases"];
|
|
|
986
986
|
function gs(e) {
|
|
987
987
|
return Ge(e, bs, []);
|
|
988
988
|
}
|
|
989
|
-
function
|
|
990
|
-
const n =
|
|
989
|
+
function dn(e, t) {
|
|
990
|
+
const n = Es(t);
|
|
991
991
|
if (n != null)
|
|
992
992
|
return e.type === "text" ? n : e.normalize([n]);
|
|
993
993
|
{
|
|
994
|
-
const r =
|
|
994
|
+
const r = Cs(t).reduce((l, a) => [...l, Pt(e, a)], []);
|
|
995
995
|
return e.normalize(r);
|
|
996
996
|
}
|
|
997
997
|
}
|
|
998
998
|
const Is = ["s", "static"];
|
|
999
|
-
function
|
|
999
|
+
function Es(e) {
|
|
1000
1000
|
return Ge(e, Is);
|
|
1001
1001
|
}
|
|
1002
|
-
const
|
|
1003
|
-
function
|
|
1004
|
-
return Ge(e,
|
|
1002
|
+
const ys = ["i", "items"];
|
|
1003
|
+
function Cs(e) {
|
|
1004
|
+
return Ge(e, ys, []);
|
|
1005
1005
|
}
|
|
1006
1006
|
function Pt(e, t) {
|
|
1007
1007
|
const n = Kt(t);
|
|
@@ -1038,9 +1038,9 @@ function Pt(e, t) {
|
|
|
1038
1038
|
throw new Error(`unhandled node on format message part: ${n}`);
|
|
1039
1039
|
}
|
|
1040
1040
|
}
|
|
1041
|
-
const
|
|
1041
|
+
const Ns = ["t", "type"];
|
|
1042
1042
|
function Kt(e) {
|
|
1043
|
-
return Ge(e,
|
|
1043
|
+
return Ge(e, Ns);
|
|
1044
1044
|
}
|
|
1045
1045
|
const Ts = ["v", "value"];
|
|
1046
1046
|
function _t(e, t) {
|
|
@@ -1081,24 +1081,24 @@ function ot(e) {
|
|
|
1081
1081
|
}
|
|
1082
1082
|
function Rs(e, t = {}) {
|
|
1083
1083
|
let n = !1;
|
|
1084
|
-
const r = t.onError ||
|
|
1084
|
+
const r = t.onError || Xr;
|
|
1085
1085
|
return t.onError = (l) => {
|
|
1086
1086
|
n = !0, r(l);
|
|
1087
|
-
}, { ...
|
|
1087
|
+
}, { ...ds(e, t), detectError: n };
|
|
1088
1088
|
}
|
|
1089
1089
|
// @__NO_SIDE_EFFECTS__
|
|
1090
1090
|
function Ms(e, t) {
|
|
1091
|
-
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ &&
|
|
1091
|
+
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && Y(e)) {
|
|
1092
1092
|
ve(t.warnHtmlMessage) && t.warnHtmlMessage;
|
|
1093
1093
|
const r = (t.onCacheKey || ks)(e), l = pt[r];
|
|
1094
1094
|
if (l)
|
|
1095
1095
|
return l;
|
|
1096
|
-
const { ast: a, detectError:
|
|
1096
|
+
const { ast: a, detectError: m } = Rs(e, {
|
|
1097
1097
|
...t,
|
|
1098
1098
|
location: fs.env.NODE_ENV !== "production",
|
|
1099
1099
|
jit: !0
|
|
1100
1100
|
}), u = Lt(a);
|
|
1101
|
-
return
|
|
1101
|
+
return m ? u : pt[r] = u;
|
|
1102
1102
|
} else {
|
|
1103
1103
|
const n = e.cacheKey;
|
|
1104
1104
|
if (n) {
|
|
@@ -1125,7 +1125,7 @@ function Ps(e) {
|
|
|
1125
1125
|
return (t) => ct && ct.emit(e, t);
|
|
1126
1126
|
}
|
|
1127
1127
|
const je = {
|
|
1128
|
-
INVALID_ARGUMENT:
|
|
1128
|
+
INVALID_ARGUMENT: Zr,
|
|
1129
1129
|
// 17
|
|
1130
1130
|
INVALID_DATE_ARGUMENT: 18,
|
|
1131
1131
|
INVALID_ISO_DATE_ARGUMENT: 19,
|
|
@@ -1141,9 +1141,9 @@ function zt(e, t) {
|
|
|
1141
1141
|
}
|
|
1142
1142
|
let kt;
|
|
1143
1143
|
function fn(e) {
|
|
1144
|
-
if (
|
|
1144
|
+
if (Y(e))
|
|
1145
1145
|
return e;
|
|
1146
|
-
if (
|
|
1146
|
+
if (de(e)) {
|
|
1147
1147
|
if (e.resolvedOnce && kt != null)
|
|
1148
1148
|
return kt;
|
|
1149
1149
|
if (e.constructor.name === "Function") {
|
|
@@ -1159,20 +1159,20 @@ function fn(e) {
|
|
|
1159
1159
|
function Us(e, t, n) {
|
|
1160
1160
|
return [.../* @__PURE__ */ new Set([
|
|
1161
1161
|
n,
|
|
1162
|
-
...be(t) ? t : te(t) ? Object.keys(t) :
|
|
1162
|
+
...be(t) ? t : te(t) ? Object.keys(t) : Y(t) ? [t] : [n]
|
|
1163
1163
|
])];
|
|
1164
1164
|
}
|
|
1165
1165
|
function Hn(e, t, n) {
|
|
1166
|
-
const r =
|
|
1166
|
+
const r = Y(n) ? n : Ct, l = e;
|
|
1167
1167
|
l.__localeChainCache || (l.__localeChainCache = /* @__PURE__ */ new Map());
|
|
1168
1168
|
let a = l.__localeChainCache.get(r);
|
|
1169
1169
|
if (!a) {
|
|
1170
1170
|
a = [];
|
|
1171
|
-
let
|
|
1172
|
-
for (; be(
|
|
1173
|
-
|
|
1171
|
+
let m = [n];
|
|
1172
|
+
for (; be(m); )
|
|
1173
|
+
m = _n(a, m, t);
|
|
1174
1174
|
const u = be(t) || !ee(t) ? t : t.default ? t.default : null;
|
|
1175
|
-
|
|
1175
|
+
m = Y(u) ? [u] : u, be(m) && _n(a, m, !1), l.__localeChainCache.set(r, a);
|
|
1176
1176
|
}
|
|
1177
1177
|
return a;
|
|
1178
1178
|
}
|
|
@@ -1180,7 +1180,7 @@ function _n(e, t, n) {
|
|
|
1180
1180
|
let r = !0;
|
|
1181
1181
|
for (let l = 0; l < t.length && ve(r); l++) {
|
|
1182
1182
|
const a = t[l];
|
|
1183
|
-
|
|
1183
|
+
Y(a) && (r = Vs(e, t[l], n));
|
|
1184
1184
|
}
|
|
1185
1185
|
return r;
|
|
1186
1186
|
}
|
|
@@ -1202,8 +1202,8 @@ function xs(e, t, n) {
|
|
|
1202
1202
|
}
|
|
1203
1203
|
return r;
|
|
1204
1204
|
}
|
|
1205
|
-
const
|
|
1206
|
-
|
|
1205
|
+
const Ye = [];
|
|
1206
|
+
Ye[
|
|
1207
1207
|
0
|
|
1208
1208
|
/* States.BEFORE_PATH */
|
|
1209
1209
|
] = {
|
|
@@ -1225,7 +1225,7 @@ Xe[
|
|
|
1225
1225
|
/* States.AFTER_PATH */
|
|
1226
1226
|
]
|
|
1227
1227
|
};
|
|
1228
|
-
|
|
1228
|
+
Ye[
|
|
1229
1229
|
1
|
|
1230
1230
|
/* States.IN_PATH */
|
|
1231
1231
|
] = {
|
|
@@ -1246,7 +1246,7 @@ Xe[
|
|
|
1246
1246
|
/* States.AFTER_PATH */
|
|
1247
1247
|
]
|
|
1248
1248
|
};
|
|
1249
|
-
|
|
1249
|
+
Ye[
|
|
1250
1250
|
2
|
|
1251
1251
|
/* States.BEFORE_IDENT */
|
|
1252
1252
|
] = {
|
|
@@ -1265,7 +1265,7 @@ Xe[
|
|
|
1265
1265
|
/* Actions.APPEND */
|
|
1266
1266
|
]
|
|
1267
1267
|
};
|
|
1268
|
-
|
|
1268
|
+
Ye[
|
|
1269
1269
|
3
|
|
1270
1270
|
/* States.IN_IDENT */
|
|
1271
1271
|
] = {
|
|
@@ -1300,7 +1300,7 @@ Xe[
|
|
|
1300
1300
|
/* Actions.PUSH */
|
|
1301
1301
|
]
|
|
1302
1302
|
};
|
|
1303
|
-
|
|
1303
|
+
Ye[
|
|
1304
1304
|
4
|
|
1305
1305
|
/* States.IN_SUB_PATH */
|
|
1306
1306
|
] = {
|
|
@@ -1331,7 +1331,7 @@ Xe[
|
|
|
1331
1331
|
/* Actions.APPEND */
|
|
1332
1332
|
]
|
|
1333
1333
|
};
|
|
1334
|
-
|
|
1334
|
+
Ye[
|
|
1335
1335
|
5
|
|
1336
1336
|
/* States.IN_SINGLE_QUOTE */
|
|
1337
1337
|
] = {
|
|
@@ -1347,7 +1347,7 @@ Xe[
|
|
|
1347
1347
|
/* Actions.APPEND */
|
|
1348
1348
|
]
|
|
1349
1349
|
};
|
|
1350
|
-
|
|
1350
|
+
Ye[
|
|
1351
1351
|
6
|
|
1352
1352
|
/* States.IN_DOUBLE_QUOTE */
|
|
1353
1353
|
] = {
|
|
@@ -1367,11 +1367,11 @@ const Ws = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
|
|
1367
1367
|
function Gs(e) {
|
|
1368
1368
|
return Ws.test(e);
|
|
1369
1369
|
}
|
|
1370
|
-
function
|
|
1370
|
+
function Ys(e) {
|
|
1371
1371
|
const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
|
|
1372
1372
|
return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
|
|
1373
1373
|
}
|
|
1374
|
-
function
|
|
1374
|
+
function Zs(e) {
|
|
1375
1375
|
if (e == null)
|
|
1376
1376
|
return "o";
|
|
1377
1377
|
switch (e.charCodeAt(0)) {
|
|
@@ -1396,45 +1396,45 @@ function Ys(e) {
|
|
|
1396
1396
|
}
|
|
1397
1397
|
return "i";
|
|
1398
1398
|
}
|
|
1399
|
-
function
|
|
1399
|
+
function Xs(e) {
|
|
1400
1400
|
const t = e.trim();
|
|
1401
|
-
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Gs(t) ?
|
|
1401
|
+
return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Gs(t) ? Ys(t) : "*" + t;
|
|
1402
1402
|
}
|
|
1403
|
-
function
|
|
1403
|
+
function Bs(e) {
|
|
1404
1404
|
const t = [];
|
|
1405
|
-
let n = -1, r = 0, l = 0, a,
|
|
1406
|
-
const
|
|
1407
|
-
|
|
1405
|
+
let n = -1, r = 0, l = 0, a, m, u, i, g, E, T;
|
|
1406
|
+
const C = [];
|
|
1407
|
+
C[
|
|
1408
1408
|
0
|
|
1409
1409
|
/* Actions.APPEND */
|
|
1410
1410
|
] = () => {
|
|
1411
|
-
|
|
1412
|
-
},
|
|
1411
|
+
m === void 0 ? m = u : m += u;
|
|
1412
|
+
}, C[
|
|
1413
1413
|
1
|
|
1414
1414
|
/* Actions.PUSH */
|
|
1415
1415
|
] = () => {
|
|
1416
|
-
|
|
1417
|
-
},
|
|
1416
|
+
m !== void 0 && (t.push(m), m = void 0);
|
|
1417
|
+
}, C[
|
|
1418
1418
|
2
|
|
1419
1419
|
/* Actions.INC_SUB_PATH_DEPTH */
|
|
1420
1420
|
] = () => {
|
|
1421
|
-
|
|
1421
|
+
C[
|
|
1422
1422
|
0
|
|
1423
1423
|
/* Actions.APPEND */
|
|
1424
1424
|
](), l++;
|
|
1425
|
-
},
|
|
1425
|
+
}, C[
|
|
1426
1426
|
3
|
|
1427
1427
|
/* Actions.PUSH_SUB_PATH */
|
|
1428
1428
|
] = () => {
|
|
1429
1429
|
if (l > 0)
|
|
1430
|
-
l--, r = 4,
|
|
1430
|
+
l--, r = 4, C[
|
|
1431
1431
|
0
|
|
1432
1432
|
/* Actions.APPEND */
|
|
1433
1433
|
]();
|
|
1434
1434
|
else {
|
|
1435
|
-
if (l = 0,
|
|
1435
|
+
if (l = 0, m === void 0 || (m = Xs(m), m === !1))
|
|
1436
1436
|
return !1;
|
|
1437
|
-
|
|
1437
|
+
C[
|
|
1438
1438
|
1
|
|
1439
1439
|
/* Actions.PUSH */
|
|
1440
1440
|
]();
|
|
@@ -1443,14 +1443,14 @@ function Zs(e) {
|
|
|
1443
1443
|
function F() {
|
|
1444
1444
|
const w = e[n + 1];
|
|
1445
1445
|
if (r === 5 && w === "'" || r === 6 && w === '"')
|
|
1446
|
-
return n++, u = "\\" + w,
|
|
1446
|
+
return n++, u = "\\" + w, C[
|
|
1447
1447
|
0
|
|
1448
1448
|
/* Actions.APPEND */
|
|
1449
1449
|
](), !0;
|
|
1450
1450
|
}
|
|
1451
1451
|
for (; r !== null; )
|
|
1452
1452
|
if (n++, a = e[n], !(a === "\\" && F())) {
|
|
1453
|
-
if (i =
|
|
1453
|
+
if (i = Zs(a), T = Ye[r], g = T[i] || T.l || 8, g === 8 || (r = g[0], g[1] !== void 0 && (E = C[g[1]], E && (u = a, E() === !1))))
|
|
1454
1454
|
return;
|
|
1455
1455
|
if (r === 7)
|
|
1456
1456
|
return t;
|
|
@@ -1460,37 +1460,37 @@ const pn = /* @__PURE__ */ new Map();
|
|
|
1460
1460
|
function Hs(e, t) {
|
|
1461
1461
|
return te(e) ? e[t] : null;
|
|
1462
1462
|
}
|
|
1463
|
-
function
|
|
1463
|
+
function Js(e, t) {
|
|
1464
1464
|
if (!te(e))
|
|
1465
1465
|
return null;
|
|
1466
1466
|
let n = pn.get(t);
|
|
1467
|
-
if (n || (n =
|
|
1467
|
+
if (n || (n = Bs(t), n && pn.set(t, n)), !n)
|
|
1468
1468
|
return null;
|
|
1469
1469
|
const r = n.length;
|
|
1470
1470
|
let l = e, a = 0;
|
|
1471
1471
|
for (; a < r; ) {
|
|
1472
|
-
const
|
|
1473
|
-
if (
|
|
1472
|
+
const m = l[n[a]];
|
|
1473
|
+
if (m === void 0 || de(l))
|
|
1474
1474
|
return null;
|
|
1475
|
-
l =
|
|
1475
|
+
l = m, a++;
|
|
1476
1476
|
}
|
|
1477
1477
|
return l;
|
|
1478
1478
|
}
|
|
1479
|
-
const
|
|
1479
|
+
const $s = "10.0.5", Ot = -1, Ct = "en-US", vn = "", hn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1480
1480
|
function Ks() {
|
|
1481
1481
|
return {
|
|
1482
|
-
upper: (e, t) => t === "text" &&
|
|
1483
|
-
lower: (e, t) => t === "text" &&
|
|
1484
|
-
capitalize: (e, t) => t === "text" &&
|
|
1482
|
+
upper: (e, t) => t === "text" && Y(e) ? e.toUpperCase() : t === "vnode" && te(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1483
|
+
lower: (e, t) => t === "text" && Y(e) ? e.toLowerCase() : t === "vnode" && te(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
1484
|
+
capitalize: (e, t) => t === "text" && Y(e) ? hn(e) : t === "vnode" && te(e) && "__v_isVNode" in e ? hn(e.children) : e
|
|
1485
1485
|
};
|
|
1486
1486
|
}
|
|
1487
|
-
let
|
|
1487
|
+
let Jn;
|
|
1488
1488
|
function zs(e) {
|
|
1489
|
-
|
|
1489
|
+
Jn = e;
|
|
1490
1490
|
}
|
|
1491
|
-
let
|
|
1491
|
+
let $n;
|
|
1492
1492
|
function Qs(e) {
|
|
1493
|
-
|
|
1493
|
+
$n = e;
|
|
1494
1494
|
}
|
|
1495
1495
|
let Kn;
|
|
1496
1496
|
function qs(e) {
|
|
@@ -1506,18 +1506,18 @@ const bn = (e) => {
|
|
|
1506
1506
|
}, no = () => Qn;
|
|
1507
1507
|
let gn = 0;
|
|
1508
1508
|
function ro(e = {}) {
|
|
1509
|
-
const t =
|
|
1509
|
+
const t = de(e.onWarn) ? e.onWarn : Gr, n = Y(e.version) ? e.version : $s, r = Y(e.locale) || de(e.locale) ? e.locale : Ct, l = de(r) ? Ct : r, a = be(e.fallbackLocale) || ee(e.fallbackLocale) || Y(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, m = ee(e.messages) ? e.messages : Rt(l), u = ee(e.datetimeFormats) ? e.datetimeFormats : Rt(l), i = ee(e.numberFormats) ? e.numberFormats : Rt(l), g = Ie(oe(), e.modifiers, Ks()), E = e.pluralRules || oe(), T = de(e.missing) ? e.missing : null, C = ve(e.missingWarn) || yt(e.missingWarn) ? e.missingWarn : !0, F = ve(e.fallbackWarn) || yt(e.fallbackWarn) ? e.fallbackWarn : !0, w = !!e.fallbackFormat, L = !!e.unresolving, D = de(e.postTranslation) ? e.postTranslation : null, f = ee(e.processor) ? e.processor : null, h = ve(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, S = !!e.escapeParameter, c = de(e.messageCompiler) ? e.messageCompiler : Jn, b = de(e.messageResolver) ? e.messageResolver : $n || Hs, I = de(e.localeFallbacker) ? e.localeFallbacker : Kn || Us, p = te(e.fallbackContext) ? e.fallbackContext : void 0, R = e, A = te(R.__datetimeFormatters) ? R.__datetimeFormatters : /* @__PURE__ */ new Map(), B = te(R.__numberFormatters) ? R.__numberFormatters : /* @__PURE__ */ new Map(), x = te(R.__meta) ? R.__meta : {};
|
|
1510
1510
|
gn++;
|
|
1511
|
-
const
|
|
1511
|
+
const d = {
|
|
1512
1512
|
version: n,
|
|
1513
1513
|
cid: gn,
|
|
1514
1514
|
locale: r,
|
|
1515
1515
|
fallbackLocale: a,
|
|
1516
|
-
messages:
|
|
1516
|
+
messages: m,
|
|
1517
1517
|
modifiers: g,
|
|
1518
|
-
pluralRules:
|
|
1518
|
+
pluralRules: E,
|
|
1519
1519
|
missing: T,
|
|
1520
|
-
missingWarn:
|
|
1520
|
+
missingWarn: C,
|
|
1521
1521
|
fallbackWarn: F,
|
|
1522
1522
|
fallbackFormat: w,
|
|
1523
1523
|
unresolving: L,
|
|
@@ -1532,14 +1532,14 @@ function ro(e = {}) {
|
|
|
1532
1532
|
onWarn: t,
|
|
1533
1533
|
__meta: x
|
|
1534
1534
|
};
|
|
1535
|
-
return
|
|
1535
|
+
return d.datetimeFormats = u, d.numberFormats = i, d.__datetimeFormatters = A, d.__numberFormatters = B, __INTLIFY_PROD_DEVTOOLS__ && Ds(d, n, x), d;
|
|
1536
1536
|
}
|
|
1537
1537
|
const Rt = (e) => ({ [e]: oe() });
|
|
1538
1538
|
function Qt(e, t, n, r, l) {
|
|
1539
|
-
const { missing: a, onWarn:
|
|
1539
|
+
const { missing: a, onWarn: m } = e;
|
|
1540
1540
|
if (a !== null) {
|
|
1541
1541
|
const u = a(e, n, t, l);
|
|
1542
|
-
return
|
|
1542
|
+
return Y(u) ? u : t;
|
|
1543
1543
|
} else
|
|
1544
1544
|
return t;
|
|
1545
1545
|
}
|
|
@@ -1560,24 +1560,24 @@ function oo(e, t) {
|
|
|
1560
1560
|
return !1;
|
|
1561
1561
|
}
|
|
1562
1562
|
function In(e, ...t) {
|
|
1563
|
-
const { datetimeFormats: n, unresolving: r, fallbackLocale: l, onWarn: a, localeFallbacker:
|
|
1564
|
-
ve(
|
|
1565
|
-
const F = !!
|
|
1563
|
+
const { datetimeFormats: n, unresolving: r, fallbackLocale: l, onWarn: a, localeFallbacker: m } = e, { __datetimeFormatters: u } = e, [i, g, E, T] = jt(...t), C = ve(E.missingWarn) ? E.missingWarn : e.missingWarn;
|
|
1564
|
+
ve(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn;
|
|
1565
|
+
const F = !!E.part, w = zt(e, E), L = m(
|
|
1566
1566
|
e,
|
|
1567
1567
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1568
1568
|
l,
|
|
1569
1569
|
w
|
|
1570
1570
|
);
|
|
1571
|
-
if (!
|
|
1571
|
+
if (!Y(i) || i === "")
|
|
1572
1572
|
return new Intl.DateTimeFormat(w, T).format(g);
|
|
1573
1573
|
let D = {}, f, h = null;
|
|
1574
1574
|
const S = "datetime format";
|
|
1575
1575
|
for (let I = 0; I < L.length && (f = L[I], D = n[f] || {}, h = D[i], !ee(h)); I++)
|
|
1576
|
-
Qt(e, i, f,
|
|
1577
|
-
if (!ee(h) || !
|
|
1576
|
+
Qt(e, i, f, C, S);
|
|
1577
|
+
if (!ee(h) || !Y(f))
|
|
1578
1578
|
return r ? Ot : i;
|
|
1579
1579
|
let c = `${f}__${i}`;
|
|
1580
|
-
|
|
1580
|
+
Nt(T) || (c = `${c}__${JSON.stringify(T)}`);
|
|
1581
1581
|
let b = u.get(c);
|
|
1582
1582
|
return b || (b = new Intl.DateTimeFormat(f, Ie({}, h, T)), u.set(c, b)), F ? b.formatToParts(g) : b.format(g);
|
|
1583
1583
|
}
|
|
@@ -1605,8 +1605,8 @@ const qn = [
|
|
|
1605
1605
|
];
|
|
1606
1606
|
function jt(...e) {
|
|
1607
1607
|
const [t, n, r, l] = e, a = oe();
|
|
1608
|
-
let
|
|
1609
|
-
if (
|
|
1608
|
+
let m = oe(), u;
|
|
1609
|
+
if (Y(t)) {
|
|
1610
1610
|
const i = t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);
|
|
1611
1611
|
if (!i)
|
|
1612
1612
|
throw Ue(je.INVALID_ISO_DATE_ARGUMENT);
|
|
@@ -1625,36 +1625,36 @@ function jt(...e) {
|
|
|
1625
1625
|
u = t;
|
|
1626
1626
|
else
|
|
1627
1627
|
throw Ue(je.INVALID_ARGUMENT);
|
|
1628
|
-
return
|
|
1629
|
-
qn.includes(i) ?
|
|
1630
|
-
}),
|
|
1628
|
+
return Y(n) ? a.key = n : ee(n) && Object.keys(n).forEach((i) => {
|
|
1629
|
+
qn.includes(i) ? m[i] = n[i] : a[i] = n[i];
|
|
1630
|
+
}), Y(r) ? a.locale = r : ee(r) && (m = r), ee(l) && (m = l), [a.key || "", u, a, m];
|
|
1631
1631
|
}
|
|
1632
|
-
function
|
|
1632
|
+
function En(e, t, n) {
|
|
1633
1633
|
const r = e;
|
|
1634
1634
|
for (const l in n) {
|
|
1635
1635
|
const a = `${t}__${l}`;
|
|
1636
1636
|
r.__datetimeFormatters.has(a) && r.__datetimeFormatters.delete(a);
|
|
1637
1637
|
}
|
|
1638
1638
|
}
|
|
1639
|
-
function
|
|
1640
|
-
const { numberFormats: n, unresolving: r, fallbackLocale: l, onWarn: a, localeFallbacker:
|
|
1641
|
-
ve(
|
|
1642
|
-
const F = !!
|
|
1639
|
+
function yn(e, ...t) {
|
|
1640
|
+
const { numberFormats: n, unresolving: r, fallbackLocale: l, onWarn: a, localeFallbacker: m } = e, { __numberFormatters: u } = e, [i, g, E, T] = Ut(...t), C = ve(E.missingWarn) ? E.missingWarn : e.missingWarn;
|
|
1641
|
+
ve(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn;
|
|
1642
|
+
const F = !!E.part, w = zt(e, E), L = m(
|
|
1643
1643
|
e,
|
|
1644
1644
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1645
1645
|
l,
|
|
1646
1646
|
w
|
|
1647
1647
|
);
|
|
1648
|
-
if (!
|
|
1648
|
+
if (!Y(i) || i === "")
|
|
1649
1649
|
return new Intl.NumberFormat(w, T).format(g);
|
|
1650
1650
|
let D = {}, f, h = null;
|
|
1651
1651
|
const S = "number format";
|
|
1652
1652
|
for (let I = 0; I < L.length && (f = L[I], D = n[f] || {}, h = D[i], !ee(h)); I++)
|
|
1653
|
-
Qt(e, i, f,
|
|
1654
|
-
if (!ee(h) || !
|
|
1653
|
+
Qt(e, i, f, C, S);
|
|
1654
|
+
if (!ee(h) || !Y(f))
|
|
1655
1655
|
return r ? Ot : i;
|
|
1656
1656
|
let c = `${f}__${i}`;
|
|
1657
|
-
|
|
1657
|
+
Nt(T) || (c = `${c}__${JSON.stringify(T)}`);
|
|
1658
1658
|
let b = u.get(c);
|
|
1659
1659
|
return b || (b = new Intl.NumberFormat(f, Ie({}, h, T)), u.set(c, b)), F ? b.formatToParts(g) : b.format(g);
|
|
1660
1660
|
}
|
|
@@ -1682,23 +1682,23 @@ const er = [
|
|
|
1682
1682
|
];
|
|
1683
1683
|
function Ut(...e) {
|
|
1684
1684
|
const [t, n, r, l] = e, a = oe();
|
|
1685
|
-
let
|
|
1685
|
+
let m = oe();
|
|
1686
1686
|
if (!ge(t))
|
|
1687
1687
|
throw Ue(je.INVALID_ARGUMENT);
|
|
1688
1688
|
const u = t;
|
|
1689
|
-
return
|
|
1690
|
-
er.includes(i) ?
|
|
1691
|
-
}),
|
|
1689
|
+
return Y(n) ? a.key = n : ee(n) && Object.keys(n).forEach((i) => {
|
|
1690
|
+
er.includes(i) ? m[i] = n[i] : a[i] = n[i];
|
|
1691
|
+
}), Y(r) ? a.locale = r : ee(r) && (m = r), ee(l) && (m = l), [a.key || "", u, a, m];
|
|
1692
1692
|
}
|
|
1693
|
-
function
|
|
1693
|
+
function Cn(e, t, n) {
|
|
1694
1694
|
const r = e;
|
|
1695
1695
|
for (const l in n) {
|
|
1696
1696
|
const a = `${t}__${l}`;
|
|
1697
1697
|
r.__numberFormatters.has(a) && r.__numberFormatters.delete(a);
|
|
1698
1698
|
}
|
|
1699
1699
|
}
|
|
1700
|
-
const ao = (e) => e, lo = (e) => "", io = "text", co = (e) => e.length === 0 ? "" :
|
|
1701
|
-
function
|
|
1700
|
+
const ao = (e) => e, lo = (e) => "", io = "text", co = (e) => e.length === 0 ? "" : Jt(e), uo = Wr;
|
|
1701
|
+
function Nn(e, t) {
|
|
1702
1702
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1703
1703
|
}
|
|
1704
1704
|
function mo(e) {
|
|
@@ -1709,45 +1709,45 @@ function fo(e, t) {
|
|
|
1709
1709
|
t.count || (t.count = e), t.n || (t.n = e);
|
|
1710
1710
|
}
|
|
1711
1711
|
function _o(e = {}) {
|
|
1712
|
-
const t = e.locale, n = mo(e), r = te(e.pluralRules) &&
|
|
1712
|
+
const t = e.locale, n = mo(e), r = te(e.pluralRules) && Y(t) && de(e.pluralRules[t]) ? e.pluralRules[t] : Nn, l = te(e.pluralRules) && Y(t) && de(e.pluralRules[t]) ? Nn : void 0, a = (f) => f[r(n, f.length, l)], m = e.list || [], u = (f) => m[f], i = e.named || oe();
|
|
1713
1713
|
ge(e.pluralIndex) && fo(n, i);
|
|
1714
1714
|
const g = (f) => i[f];
|
|
1715
|
-
function
|
|
1716
|
-
const S =
|
|
1715
|
+
function E(f, h) {
|
|
1716
|
+
const S = de(e.messages) ? e.messages(f, !!h) : te(e.messages) ? e.messages[f] : !1;
|
|
1717
1717
|
return S || (e.parent ? e.parent.message(f) : lo);
|
|
1718
1718
|
}
|
|
1719
|
-
const T = (f) => e.modifiers ? e.modifiers[f] : ao,
|
|
1719
|
+
const T = (f) => e.modifiers ? e.modifiers[f] : ao, C = ee(e.processor) && de(e.processor.normalize) ? e.processor.normalize : co, F = ee(e.processor) && de(e.processor.interpolate) ? e.processor.interpolate : uo, w = ee(e.processor) && Y(e.processor.type) ? e.processor.type : io, D = {
|
|
1720
1720
|
list: u,
|
|
1721
1721
|
named: g,
|
|
1722
1722
|
plural: a,
|
|
1723
1723
|
linked: (f, ...h) => {
|
|
1724
1724
|
const [S, c] = h;
|
|
1725
1725
|
let b = "text", I = "";
|
|
1726
|
-
h.length === 1 ? te(S) ? (I = S.modifier || I, b = S.type || b) :
|
|
1727
|
-
const p =
|
|
1726
|
+
h.length === 1 ? te(S) ? (I = S.modifier || I, b = S.type || b) : Y(S) && (I = S || I) : h.length === 2 && (Y(S) && (I = S || I), Y(c) && (b = c || b));
|
|
1727
|
+
const p = E(f, !0)(D), R = (
|
|
1728
1728
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1729
1729
|
b === "vnode" && be(p) && I ? p[0] : p
|
|
1730
1730
|
);
|
|
1731
1731
|
return I ? T(I)(R, b) : R;
|
|
1732
1732
|
},
|
|
1733
|
-
message:
|
|
1733
|
+
message: E,
|
|
1734
1734
|
type: w,
|
|
1735
1735
|
interpolate: F,
|
|
1736
|
-
normalize:
|
|
1737
|
-
values: Ie(oe(),
|
|
1736
|
+
normalize: C,
|
|
1737
|
+
values: Ie(oe(), m, i)
|
|
1738
1738
|
};
|
|
1739
1739
|
return D;
|
|
1740
1740
|
}
|
|
1741
|
-
const Tn = () => "", Te = (e) =>
|
|
1741
|
+
const Tn = () => "", Te = (e) => de(e);
|
|
1742
1742
|
function On(e, ...t) {
|
|
1743
|
-
const { fallbackFormat: n, postTranslation: r, unresolving: l, messageCompiler: a, fallbackLocale:
|
|
1744
|
-
|
|
1743
|
+
const { fallbackFormat: n, postTranslation: r, unresolving: l, messageCompiler: a, fallbackLocale: m, messages: u } = e, [i, g] = Vt(...t), E = ve(g.missingWarn) ? g.missingWarn : e.missingWarn, T = ve(g.fallbackWarn) ? g.fallbackWarn : e.fallbackWarn, C = ve(g.escapeParameter) ? g.escapeParameter : e.escapeParameter, F = !!g.resolvedMessage, w = Y(g.default) || ve(g.default) ? ve(g.default) ? a ? i : () => i : g.default : n ? a ? i : () => i : null, L = n || w != null && (Y(w) || de(w)), D = zt(e, g);
|
|
1744
|
+
C && po(g);
|
|
1745
1745
|
let [f, h, S] = F ? [
|
|
1746
1746
|
i,
|
|
1747
1747
|
D,
|
|
1748
1748
|
u[D] || oe()
|
|
1749
|
-
] : tr(e, i, D,
|
|
1750
|
-
if (!F && !(
|
|
1749
|
+
] : tr(e, i, D, m, T, E), c = f, b = i;
|
|
1750
|
+
if (!F && !(Y(c) || ot(c) || Te(c)) && L && (c = w, b = c), !F && (!(Y(c) || ot(c) || Te(c)) || !Y(h)))
|
|
1751
1751
|
return l ? Ot : i;
|
|
1752
1752
|
let I = !1;
|
|
1753
1753
|
const p = () => {
|
|
@@ -1755,53 +1755,53 @@ function On(e, ...t) {
|
|
|
1755
1755
|
}, R = Te(c) ? c : nr(e, i, h, c, b, p);
|
|
1756
1756
|
if (I)
|
|
1757
1757
|
return c;
|
|
1758
|
-
const A = bo(e, h, S, g),
|
|
1758
|
+
const A = bo(e, h, S, g), B = _o(A), x = vo(e, R, B), d = r ? r(x, i) : x;
|
|
1759
1759
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1760
|
-
const
|
|
1760
|
+
const N = {
|
|
1761
1761
|
timestamp: Date.now(),
|
|
1762
|
-
key:
|
|
1762
|
+
key: Y(i) ? i : Te(c) ? c.key : "",
|
|
1763
1763
|
locale: h || (Te(c) ? c.locale : ""),
|
|
1764
|
-
format:
|
|
1765
|
-
message:
|
|
1764
|
+
format: Y(c) ? c : Te(c) ? c.source : "",
|
|
1765
|
+
message: d
|
|
1766
1766
|
};
|
|
1767
|
-
|
|
1767
|
+
N.meta = Ie({}, e.__meta, /* @__PURE__ */ to() || {}), Fs(N);
|
|
1768
1768
|
}
|
|
1769
|
-
return
|
|
1769
|
+
return d;
|
|
1770
1770
|
}
|
|
1771
1771
|
function po(e) {
|
|
1772
|
-
be(e.list) ? e.list = e.list.map((t) =>
|
|
1773
|
-
|
|
1772
|
+
be(e.list) ? e.list = e.list.map((t) => Y(t) ? ln(t) : t) : te(e.named) && Object.keys(e.named).forEach((t) => {
|
|
1773
|
+
Y(e.named[t]) && (e.named[t] = ln(e.named[t]));
|
|
1774
1774
|
});
|
|
1775
1775
|
}
|
|
1776
1776
|
function tr(e, t, n, r, l, a) {
|
|
1777
|
-
const { messages:
|
|
1778
|
-
let T = oe(),
|
|
1777
|
+
const { messages: m, onWarn: u, messageResolver: i, localeFallbacker: g } = e, E = g(e, r, n);
|
|
1778
|
+
let T = oe(), C, F = null;
|
|
1779
1779
|
const w = "translate";
|
|
1780
|
-
for (let L = 0; L <
|
|
1781
|
-
if (!oo(
|
|
1780
|
+
for (let L = 0; L < E.length && (C = E[L], T = m[C] || oe(), (F = i(T, t)) === null && (F = T[t]), !(Y(F) || ot(F) || Te(F))); L++)
|
|
1781
|
+
if (!oo(C, E)) {
|
|
1782
1782
|
const D = Qt(
|
|
1783
1783
|
e,
|
|
1784
1784
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1785
1785
|
t,
|
|
1786
|
-
|
|
1786
|
+
C,
|
|
1787
1787
|
a,
|
|
1788
1788
|
w
|
|
1789
1789
|
);
|
|
1790
1790
|
D !== t && (F = D);
|
|
1791
1791
|
}
|
|
1792
|
-
return [F,
|
|
1792
|
+
return [F, C, T];
|
|
1793
1793
|
}
|
|
1794
1794
|
function nr(e, t, n, r, l, a) {
|
|
1795
|
-
const { messageCompiler:
|
|
1795
|
+
const { messageCompiler: m, warnHtmlMessage: u } = e;
|
|
1796
1796
|
if (Te(r)) {
|
|
1797
1797
|
const g = r;
|
|
1798
1798
|
return g.locale = g.locale || n, g.key = g.key || t, g;
|
|
1799
1799
|
}
|
|
1800
|
-
if (
|
|
1800
|
+
if (m == null) {
|
|
1801
1801
|
const g = () => r;
|
|
1802
1802
|
return g.locale = n, g.key = t, g;
|
|
1803
1803
|
}
|
|
1804
|
-
const i =
|
|
1804
|
+
const i = m(r, ho(e, n, l, r, u, a));
|
|
1805
1805
|
return i.locale = n, i.key = t, i.source = r, i;
|
|
1806
1806
|
}
|
|
1807
1807
|
function vo(e, t, n) {
|
|
@@ -1809,32 +1809,32 @@ function vo(e, t, n) {
|
|
|
1809
1809
|
}
|
|
1810
1810
|
function Vt(...e) {
|
|
1811
1811
|
const [t, n, r] = e, l = oe();
|
|
1812
|
-
if (!
|
|
1812
|
+
if (!Y(t) && !ge(t) && !Te(t) && !ot(t))
|
|
1813
1813
|
throw Ue(je.INVALID_ARGUMENT);
|
|
1814
1814
|
const a = ge(t) ? String(t) : (Te(t), t);
|
|
1815
|
-
return ge(n) ? l.plural = n :
|
|
1815
|
+
return ge(n) ? l.plural = n : Y(n) ? l.default = n : ee(n) && !Nt(n) ? l.named = n : be(n) && (l.list = n), ge(r) ? l.plural = r : Y(r) ? l.default = r : ee(r) && Ie(l, r), [a, l];
|
|
1816
1816
|
}
|
|
1817
1817
|
function ho(e, t, n, r, l, a) {
|
|
1818
1818
|
return {
|
|
1819
1819
|
locale: t,
|
|
1820
1820
|
key: n,
|
|
1821
1821
|
warnHtmlMessage: l,
|
|
1822
|
-
onError: (
|
|
1823
|
-
throw a && a(
|
|
1822
|
+
onError: (m) => {
|
|
1823
|
+
throw a && a(m), m;
|
|
1824
1824
|
},
|
|
1825
|
-
onCacheKey: (
|
|
1825
|
+
onCacheKey: (m) => Fr(t, n, m)
|
|
1826
1826
|
};
|
|
1827
1827
|
}
|
|
1828
1828
|
function bo(e, t, n, r) {
|
|
1829
|
-
const { modifiers: l, pluralRules: a, messageResolver:
|
|
1829
|
+
const { modifiers: l, pluralRules: a, messageResolver: m, fallbackLocale: u, fallbackWarn: i, missingWarn: g, fallbackContext: E } = e, C = {
|
|
1830
1830
|
locale: t,
|
|
1831
1831
|
modifiers: l,
|
|
1832
1832
|
pluralRules: a,
|
|
1833
1833
|
messages: (F, w) => {
|
|
1834
|
-
let L =
|
|
1835
|
-
if (L == null && (
|
|
1834
|
+
let L = m(n, F);
|
|
1835
|
+
if (L == null && (E || w)) {
|
|
1836
1836
|
const [, , D] = tr(
|
|
1837
|
-
|
|
1837
|
+
E || e,
|
|
1838
1838
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1839
1839
|
F,
|
|
1840
1840
|
t,
|
|
@@ -1842,9 +1842,9 @@ function bo(e, t, n, r) {
|
|
|
1842
1842
|
i,
|
|
1843
1843
|
g
|
|
1844
1844
|
);
|
|
1845
|
-
L =
|
|
1845
|
+
L = m(D, F);
|
|
1846
1846
|
}
|
|
1847
|
-
if (
|
|
1847
|
+
if (Y(L) || ot(L)) {
|
|
1848
1848
|
let D = !1;
|
|
1849
1849
|
const h = nr(e, F, t, L, F, () => {
|
|
1850
1850
|
D = !0;
|
|
@@ -1853,13 +1853,13 @@ function bo(e, t, n, r) {
|
|
|
1853
1853
|
} else return Te(L) ? L : Tn;
|
|
1854
1854
|
}
|
|
1855
1855
|
};
|
|
1856
|
-
return e.processor && (
|
|
1856
|
+
return e.processor && (C.processor = e.processor), r.list && (C.list = r.list), r.named && (C.named = r.named), ge(r.plural) && (C.pluralIndex = r.plural), C;
|
|
1857
1857
|
}
|
|
1858
1858
|
_s();
|
|
1859
|
-
var go = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_6c67bd49-bc1e-49fa-9882-4fd6dc7e1596", 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_6c67bd49-bc1e-49fa-9882-4fd6dc7e1596", 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.7.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1791", ACTIONS_ORCHESTRATION_ID: "cb4f62c6-8094-4d41-86c1-46369b185920.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: "20260920.314.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_6c67bd49-bc1e-49fa-9882-4fd6dc7e1596", SWIFT_PATH: "/usr/share/swift/usr/bin", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:11418", 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: "36614764995", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "015ab35975bac9a49b0ce7894381d185de0b771e", 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/test/schedule-backend", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy90ZXN0L3NjaGVkdWxlLWJhY2tlbmRcIixcIlBlcm1pc3Npb25cIjozfSx7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6MX1dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjZmOTZmYTg5LWI3YmYtNDg3OC1iYWQzLTg5ODAwNjU2NmI2ZSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3OTA3Mjk5NTEsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc5MDcwNzc1MSwiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6ImQ1OWIxNzYwLTA2NTMtNTg1Ny1iOTc5LTI2YmFmNWJiMDg3ZCIsImpvYl93b3JrZmxvd19yZWYiOiJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW4iLCJqb2Jfd29ya2Zsb3dfc2hhIjoiN2I1NGJjNjY5MWViYzMxNjZjZDE2NDIzMDQyM2RjZThiNzVlNzIyNiIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc5MDcwNzQ1MSwib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJZeVQ3Nzg2XCIsXCJhY3Rvcl9pZFwiOlwiOTcwMDMxMjVcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiMTA5NTY0ODUxOTA4XCIsXCJldmVudF9uYW1lXCI6XCJ3b3JrZmxvd19kaXNwYXRjaFwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiam9iX3dvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2FjdGlvbnMvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ucG0tZ2l0aHViLnlhbWxAcmVmcy9oZWFkcy9tYWluXCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCI3YjU0YmM2NjkxZWJjMzE2NmNkMTY0MjMwNDIzZGNlOGI3NWU3MjI2XCIsXCJyZWZcIjpcInJlZnMvaGVhZHMvdGVzdC9zY2hlZHVsZS1iYWNrZW5kXCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjM2NjE0NzY0OTk1XCIsXCJydW5fbnVtYmVyXCI6XCIxNzVcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCIwMTVhYjM1OTc1YmFjOWE0OWIwY2U3ODk0MzgxZDE4NWRlMGI3NzFlXCIsXCJ3b3JrZmxvd1wiOlwiUHVibGlzaCBocm0tcG9ydGFsXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLWhybS1wb3J0YWwtdHJ1c3RlZC55bWxAcmVmcy9oZWFkcy90ZXN0L3NjaGVkdWxlLWJhY2tlbmRcIixcIndvcmtmbG93X3NoYVwiOlwiMDE1YWIzNTk3NWJhYzlhNDliMGNlNzg5NDM4MWQxODVkZTBiNzcxZVwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvaHJtLXNlcnZpY2U6cmVmOnJlZnMvaGVhZHMvdGVzdC9zY2hlZHVsZS1iYWNrZW5kIiwib3JjaF9pZCI6ImNiNGY2MmM2LTgwOTQtNGQ0MS04NmMxLTQ2MzY5YjE4NTkyMC5wdWJsaXNoLnB1Ymxpc2guX19kZWZhdWx0Iiwib3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJwbGFuX2lkIjoiY2I0ZjYyYzYtODA5NC00ZDQxLTg2YzEtNDYzNjliMTg1OTIwIiwicmVwb3NpdG9yeV9pZCI6IjExMjQ2NzIyMzUiLCJyZXBvc2l0b3J5X293bmVyX2lkIjoiNTQ4MzE1MTUiLCJyZXBvc2l0b3J5X3Zpc2liaWxpdHkiOiJwcml2YXRlIiwicnVuX2lkIjoiMzY2MTQ3NjQ5OTUiLCJydW5fbnVtYmVyIjoiMTc1IiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDE3MDMxNiIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOmNiNGY2MmM2LTgwOTQtNGQ0MS04NmMxLTQ2MzY5YjE4NTkyMDpkNTliMTc2MC0wNjUzLTU4NTctYjk3OS0yNmJhZjViYjA4N2QgQWN0aW9ucy5SdW5uZXI6Y2I0ZjYyYzYtODA5NC00ZDQxLTg2YzEtNDYzNjliMTg1OTIwOmQ1OWIxNzYwLTA2NTMtNTg1Ny1iOTc5LTI2YmFmNWJiMDg3ZCBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czpjYjRmNjJjNi04MDk0LTRkNDEtODZjMS00NjM2OWIxODU5MjA6ZDU5YjE3NjAtMDY1My01ODU3LWI5NzktMjZiYWY1YmIwODdkIGdlbmVyYXRlX2lkX3Rva2VuOmNiNGY2MmM2LTgwOTQtNGQ0MS04NmMxLTQ2MzY5YjE4NTkyMDpkNTliMTc2MC0wNjUzLTU4NTctYjk3OS0yNmJhZjViYjA4N2QgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiIwMTVhYjM1OTc1YmFjOWE0OWIwY2U3ODk0MzgxZDE4NWRlMGI3NzFlIiwidHJ1c3RfdGllciI6IjEifQ.CrO1TuEVdBdEIScYBQSfEx-A8Kg6gpmcPpvl_-CWgXXIcOrRFGBCUTIdHXMPDO5N0KoJzvZGegpia28QGntIQrWbWzjplVDKVMeQ3gv7nFawx1n-pTb6YCLGz7GmOCnNOpUh6gHQys1G8An1jeNU-pJYolyAGyJ8oS2-5B6WB65DIhdMBdMz58oCN7o8TqoT2mdjaYXujFFiBnVdcYvRbepxjydENY4iwJOIG8oHZ5ID2FDFz7tEsk3aHgrqYBIZn7WCqYOh0mUJmVxwR0JSJo1WxObw_nDnrxs1fmH0rpdgo4OM6phhhOoiqfc42eDSII08z-AjFU6UngEFWcf5eA", 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_654d2d83-0595-4ca0-a306-32fc75304812", INVOCATION_ID: "1fed5587472b451795dd7d68e3f6ca40", 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: "175", 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 1000170316", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "test/schedule-backend", 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.2.5-dev.7", 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: "015ab35975bac9a49b0ce7894381d185de0b771e", GITHUB_RUN_ATTEMPT: "1", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/test/schedule-backend", 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_6c67bd49-bc1e-49fa-9882-4fd6dc7e1596", 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-3-azure-eastus.actions.githubusercontent.com/145//idtoken/cb4f62c6-8094-4d41-86c1-46369b185920/d59b1760-0653-5857-b979-26baf5bb087d?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_6c67bd49-bc1e-49fa-9882-4fd6dc7e1596", 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_6c67bd49-bc1e-49fa-9882-4fd6dc7e1596", 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_6c67bd49-bc1e-49fa-9882-4fd6dc7e1596", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", NODE_ENV: "production" } };
|
|
1859
|
+
var go = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_73d89cb0-b217-47d0-ba37-616767ed8463", 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_73d89cb0-b217-47d0-ba37-616767ed8463", 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.7.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1724", ACTIONS_ORCHESTRATION_ID: "932aa408-2bce-4a3d-85f6-1f84f56c8979.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: "20260920.314.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_73d89cb0-b217-47d0-ba37-616767ed8463", SWIFT_PATH: "/usr/share/swift/usr/bin", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:13443", 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: "36758904781", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "88c78fc3b80e7a38ef7a092a3c1b14505dcf99ac", 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/test/schedule-backend", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy90ZXN0L3NjaGVkdWxlLWJhY2tlbmRcIixcIlBlcm1pc3Npb25cIjozfSx7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6MX1dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjZmOTZmYTg5LWI3YmYtNDg3OC1iYWQzLTg5ODAwNjU2NmI2ZSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3OTA4MTUxNTMsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc5MDc5Mjk1MywiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6IjhmYWVjYjc0LWJlZmItNTY3OS1hMTVlLTg4YmFhYWYwNDAzOSIsImpvYl93b3JrZmxvd19yZWYiOiJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW4iLCJqb2Jfd29ya2Zsb3dfc2hhIjoiN2I1NGJjNjY5MWViYzMxNjZjZDE2NDIzMDQyM2RjZThiNzVlNzIyNiIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc5MDc5MjY1Mywib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJZeVQ3Nzg2XCIsXCJhY3Rvcl9pZFwiOlwiOTcwMDMxMjVcIixcImJhc2VfcmVmXCI6XCJcIixcImNoZWNrX3J1bl9pZFwiOlwiMTEwMDM2MTE0OTczXCIsXCJldmVudF9uYW1lXCI6XCJ3b3JrZmxvd19kaXNwYXRjaFwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiam9iX3dvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2FjdGlvbnMvLmdpdGh1Yi93b3JrZmxvd3MvcHVibGlzaC1ucG0tZ2l0aHViLnlhbWxAcmVmcy9oZWFkcy9tYWluXCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCI3YjU0YmM2NjkxZWJjMzE2NmNkMTY0MjMwNDIzZGNlOGI3NWU3MjI2XCIsXCJyZWZcIjpcInJlZnMvaGVhZHMvdGVzdC9zY2hlZHVsZS1iYWNrZW5kXCIsXCJyZWZfcHJvdGVjdGVkXCI6XCJmYWxzZVwiLFwicmVmX3R5cGVcIjpcImJyYW5jaFwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X2lkXCI6XCIxMTI0NjcyMjM1XCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJyZXBvc2l0b3J5X3Zpc2liaWxpdHlcIjpcInByaXZhdGVcIixcInJ1bl9hdHRlbXB0XCI6XCIxXCIsXCJydW5faWRcIjpcIjM2NzU4OTA0NzgxXCIsXCJydW5fbnVtYmVyXCI6XCIxNzdcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwiLFwic2hhXCI6XCI4OGM3OGZjM2I4MGU3YTM4ZWY3YTA5MmEzYzFiMTQ1MDVkY2Y5OWFjXCIsXCJ3b3JrZmxvd1wiOlwiUHVibGlzaCBocm0tcG9ydGFsXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9ocm0tc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLWhybS1wb3J0YWwtdHJ1c3RlZC55bWxAcmVmcy9oZWFkcy90ZXN0L3NjaGVkdWxlLWJhY2tlbmRcIixcIndvcmtmbG93X3NoYVwiOlwiODhjNzhmYzNiODBlN2EzOGVmN2EwOTJhM2MxYjE0NTA1ZGNmOTlhY1wifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvaHJtLXNlcnZpY2U6cmVmOnJlZnMvaGVhZHMvdGVzdC9zY2hlZHVsZS1iYWNrZW5kIiwib3JjaF9pZCI6IjkzMmFhNDA4LTJiY2UtNGEzZC04NWY2LTFmODRmNTZjODk3OS5wdWJsaXNoLnB1Ymxpc2guX19kZWZhdWx0Iiwib3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJwbGFuX2lkIjoiOTMyYWE0MDgtMmJjZS00YTNkLTg1ZjYtMWY4NGY1NmM4OTc5IiwicmVwb3NpdG9yeV9pZCI6IjExMjQ2NzIyMzUiLCJyZXBvc2l0b3J5X293bmVyX2lkIjoiNTQ4MzE1MTUiLCJyZXBvc2l0b3J5X3Zpc2liaWxpdHkiOiJwcml2YXRlIiwicnVuX2lkIjoiMzY3NTg5MDQ3ODEiLCJydW5fbnVtYmVyIjoiMTc3IiwicnVuX3R5cGUiOiJmdWxsIiwicnVubmVyX2lkIjoiMTAwMDE3MTg4OSIsInJ1bm5lcl90eXBlIjoiaG9zdGVkIiwic2NwIjoiQWN0aW9ucy5SZXN1bHRzOjkzMmFhNDA4LTJiY2UtNGEzZC04NWY2LTFmODRmNTZjODk3OTo4ZmFlY2I3NC1iZWZiLTU2NzktYTE1ZS04OGJhYWFmMDQwMzkgQWN0aW9ucy5SdW5uZXI6OTMyYWE0MDgtMmJjZS00YTNkLTg1ZjYtMWY4NGY1NmM4OTc5OjhmYWVjYjc0LWJlZmItNTY3OS1hMTVlLTg4YmFhYWYwNDAzOSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czo5MzJhYTQwOC0yYmNlLTRhM2QtODVmNi0xZjg0ZjU2Yzg5Nzk6OGZhZWNiNzQtYmVmYi01Njc5LWExNWUtODhiYWFhZjA0MDM5IGdlbmVyYXRlX2lkX3Rva2VuOjkzMmFhNDA4LTJiY2UtNGEzZC04NWY2LTFmODRmNTZjODk3OTo4ZmFlY2I3NC1iZWZiLTU2NzktYTE1ZS04OGJhYWFmMDQwMzkgQWN0aW9ucy5HZW5lcmljUmVhZDowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiLCJzaGEiOiI4OGM3OGZjM2I4MGU3YTM4ZWY3YTA5MmEzYzFiMTQ1MDVkY2Y5OWFjIiwidHJ1c3RfdGllciI6IjEifQ.Nbn1aJ3r9ekOHUhdcE4lhOnZ_7U3s1bqTfQeipdBNLPqoWFsUa3ccFmLvQ5H59m2PbmfUJJU9CwSUjvaqeSZBUsz2CHd_5R9AGJ12L5WUTUgMxuZn0BbsYyJPoxn3cF-AVKw9Hrme2HxxsSLpcrQBWqphIjTIj_4ElewodsoP2kQS8FmbpN3Q23nkHo3kPXG2-B6zPNUA3vydOwpg5iP23t2AACXt6a1PD33b1fkc-ul0TeV4HWCDBiMsGaWMLCoKryYfA2YnGgmJ3yEprUlNqySEDWSVg_IAFKFi6fMIRIfpKfWNqmQqJMqq1-TQVn8ON-Wzsrj4Fo76jqUcS7dtw", 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_ce68c118-bafd-4521-992d-311f87fbc834", INVOCATION_ID: "946fdd9499ed426cb9b68d754d6eb997", 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: "177", 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 1000171889", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "test/schedule-backend", 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.2.5-dev.8", 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: "88c78fc3b80e7a38ef7a092a3c1b14505dcf99ac", GITHUB_RUN_ATTEMPT: "1", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/test/schedule-backend", 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_73d89cb0-b217-47d0-ba37-616767ed8463", 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/215//idtoken/932aa408-2bce-4a3d-85f6-1f84f56c8979/8faecb74-befb-5679-a15e-88baaaf04039?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_73d89cb0-b217-47d0-ba37-616767ed8463", 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_73d89cb0-b217-47d0-ba37-616767ed8463", 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_73d89cb0-b217-47d0-ba37-616767ed8463", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", NODE_ENV: "production" } };
|
|
1860
1860
|
const Io = "10.0.5";
|
|
1861
|
-
function
|
|
1862
|
-
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (
|
|
1861
|
+
function Eo() {
|
|
1862
|
+
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Be().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Be().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Be().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Be().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
1863
1863
|
}
|
|
1864
1864
|
const at = {
|
|
1865
1865
|
// composer module errors
|
|
@@ -1877,45 +1877,45 @@ const at = {
|
|
|
1877
1877
|
function ut(e, ...t) {
|
|
1878
1878
|
return Tt(e, null, void 0);
|
|
1879
1879
|
}
|
|
1880
|
-
const xt = /* @__PURE__ */
|
|
1881
|
-
function
|
|
1880
|
+
const xt = /* @__PURE__ */ Je("__translateVNode"), Wt = /* @__PURE__ */ Je("__datetimeParts"), Gt = /* @__PURE__ */ Je("__numberParts"), yo = Je("__setPluralRules"), rr = /* @__PURE__ */ Je("__injectWithOption"), Yt = /* @__PURE__ */ Je("__dispose");
|
|
1881
|
+
function mt(e) {
|
|
1882
1882
|
if (!te(e))
|
|
1883
1883
|
return e;
|
|
1884
1884
|
for (const t in e)
|
|
1885
1885
|
if (Ae(e, t))
|
|
1886
1886
|
if (!t.includes("."))
|
|
1887
|
-
te(e[t]) &&
|
|
1887
|
+
te(e[t]) && mt(e[t]);
|
|
1888
1888
|
else {
|
|
1889
1889
|
const n = t.split("."), r = n.length - 1;
|
|
1890
1890
|
let l = e, a = !1;
|
|
1891
|
-
for (let
|
|
1892
|
-
if (n[
|
|
1891
|
+
for (let m = 0; m < r; m++) {
|
|
1892
|
+
if (n[m] in l || (l[n[m]] = oe()), !te(l[n[m]])) {
|
|
1893
1893
|
a = !0;
|
|
1894
1894
|
break;
|
|
1895
1895
|
}
|
|
1896
|
-
l = l[n[
|
|
1896
|
+
l = l[n[m]];
|
|
1897
1897
|
}
|
|
1898
|
-
a || (l[n[r]] = e[t], delete e[t]), te(l[n[r]]) &&
|
|
1898
|
+
a || (l[n[r]] = e[t], delete e[t]), te(l[n[r]]) && mt(l[n[r]]);
|
|
1899
1899
|
}
|
|
1900
1900
|
return e;
|
|
1901
1901
|
}
|
|
1902
1902
|
function sr(e, t) {
|
|
1903
|
-
const { messages: n, __i18n: r, messageResolver: l, flatJson: a } = t,
|
|
1903
|
+
const { messages: n, __i18n: r, messageResolver: l, flatJson: a } = t, m = ee(n) ? n : be(r) ? oe() : { [e]: oe() };
|
|
1904
1904
|
if (be(r) && r.forEach((u) => {
|
|
1905
1905
|
if ("locale" in u && "resource" in u) {
|
|
1906
1906
|
const { locale: i, resource: g } = u;
|
|
1907
|
-
i ? (
|
|
1907
|
+
i ? (m[i] = m[i] || oe(), Et(g, m[i])) : Et(g, m);
|
|
1908
1908
|
} else
|
|
1909
|
-
|
|
1909
|
+
Y(u) && Et(JSON.parse(u), m);
|
|
1910
1910
|
}), l == null && a)
|
|
1911
|
-
for (const u in
|
|
1912
|
-
Ae(
|
|
1913
|
-
return
|
|
1911
|
+
for (const u in m)
|
|
1912
|
+
Ae(m, u) && mt(m[u]);
|
|
1913
|
+
return m;
|
|
1914
1914
|
}
|
|
1915
1915
|
function or(e) {
|
|
1916
1916
|
return e.type;
|
|
1917
1917
|
}
|
|
1918
|
-
function
|
|
1918
|
+
function Co(e, t, n) {
|
|
1919
1919
|
let r = te(t.messages) ? t.messages : oe();
|
|
1920
1920
|
"__i18nGlobal" in n && (r = sr(e.locale.value, {
|
|
1921
1921
|
messages: r,
|
|
@@ -1928,14 +1928,14 @@ function No(e, t, n) {
|
|
|
1928
1928
|
{
|
|
1929
1929
|
if (te(t.datetimeFormats)) {
|
|
1930
1930
|
const a = Object.keys(t.datetimeFormats);
|
|
1931
|
-
a.length && a.forEach((
|
|
1932
|
-
e.mergeDateTimeFormat(
|
|
1931
|
+
a.length && a.forEach((m) => {
|
|
1932
|
+
e.mergeDateTimeFormat(m, t.datetimeFormats[m]);
|
|
1933
1933
|
});
|
|
1934
1934
|
}
|
|
1935
1935
|
if (te(t.numberFormats)) {
|
|
1936
1936
|
const a = Object.keys(t.numberFormats);
|
|
1937
|
-
a.length && a.forEach((
|
|
1938
|
-
e.mergeNumberFormat(
|
|
1937
|
+
a.length && a.forEach((m) => {
|
|
1938
|
+
e.mergeNumberFormat(m, t.numberFormats[m]);
|
|
1939
1939
|
});
|
|
1940
1940
|
}
|
|
1941
1941
|
}
|
|
@@ -1943,27 +1943,27 @@ function No(e, t, n) {
|
|
|
1943
1943
|
function Sn(e) {
|
|
1944
1944
|
return ue(fr, null, e, 0);
|
|
1945
1945
|
}
|
|
1946
|
-
const An = "__INTLIFY_META__", Ln = () => [],
|
|
1946
|
+
const An = "__INTLIFY_META__", Ln = () => [], No = () => !1;
|
|
1947
1947
|
let kn = 0;
|
|
1948
1948
|
function Rn(e) {
|
|
1949
|
-
return (t, n, r, l) => e(n, r,
|
|
1949
|
+
return (t, n, r, l) => e(n, r, Xt() || void 0, l);
|
|
1950
1950
|
}
|
|
1951
1951
|
const To = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
1952
|
-
const e =
|
|
1952
|
+
const e = Xt();
|
|
1953
1953
|
let t = null;
|
|
1954
1954
|
return e && (t = or(e)[An]) ? { [An]: t } : null;
|
|
1955
1955
|
};
|
|
1956
1956
|
function Oo(e = {}) {
|
|
1957
|
-
const { __root: t, __injectWithOption: n } = e, r = t === void 0, l = e.flatJson, a = on ? rt :
|
|
1958
|
-
let
|
|
1957
|
+
const { __root: t, __injectWithOption: n } = e, r = t === void 0, l = e.flatJson, a = on ? rt : mr;
|
|
1958
|
+
let m = ve(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1959
1959
|
const u = a(
|
|
1960
1960
|
// prettier-ignore
|
|
1961
|
-
t &&
|
|
1961
|
+
t && m ? t.locale.value : Y(e.locale) ? e.locale : Ct
|
|
1962
1962
|
), i = a(
|
|
1963
1963
|
// prettier-ignore
|
|
1964
|
-
t &&
|
|
1965
|
-
), g = a(sr(u.value, e)),
|
|
1966
|
-
let
|
|
1964
|
+
t && m ? t.fallbackLocale.value : Y(e.fallbackLocale) || be(e.fallbackLocale) || ee(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : u.value
|
|
1965
|
+
), g = a(sr(u.value, e)), E = a(ee(e.datetimeFormats) ? e.datetimeFormats : { [u.value]: {} }), T = a(ee(e.numberFormats) ? e.numberFormats : { [u.value]: {} });
|
|
1966
|
+
let C = 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, L = !!e.fallbackFormat, D = de(e.missing) ? e.missing : null, f = de(e.missing) ? Rn(e.missing) : null, h = de(e.postTranslation) ? e.postTranslation : null, S = t ? t.warnHtmlMessage : ve(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, c = !!e.escapeParameter;
|
|
1967
1967
|
const b = t ? t.modifiers : ee(e.modifiers) ? e.modifiers : {};
|
|
1968
1968
|
let I = e.pluralRules || t && t.pluralRules, p;
|
|
1969
1969
|
p = (() => {
|
|
@@ -1976,7 +1976,7 @@ function Oo(e = {}) {
|
|
|
1976
1976
|
modifiers: b,
|
|
1977
1977
|
pluralRules: I,
|
|
1978
1978
|
missing: f === null ? void 0 : f,
|
|
1979
|
-
missingWarn:
|
|
1979
|
+
missingWarn: C,
|
|
1980
1980
|
fallbackWarn: F,
|
|
1981
1981
|
fallbackFormat: L,
|
|
1982
1982
|
unresolving: !0,
|
|
@@ -1987,20 +1987,20 @@ function Oo(e = {}) {
|
|
|
1987
1987
|
messageCompiler: e.messageCompiler,
|
|
1988
1988
|
__meta: { framework: "vue" }
|
|
1989
1989
|
};
|
|
1990
|
-
v.datetimeFormats =
|
|
1991
|
-
const
|
|
1992
|
-
return r && bn(
|
|
1990
|
+
v.datetimeFormats = E.value, v.numberFormats = T.value, v.__datetimeFormatters = ee(p) ? p.__datetimeFormatters : void 0, v.__numberFormatters = ee(p) ? p.__numberFormatters : void 0;
|
|
1991
|
+
const y = ro(v);
|
|
1992
|
+
return r && bn(y), y;
|
|
1993
1993
|
})(), lt(p, u.value, i.value);
|
|
1994
1994
|
function A() {
|
|
1995
1995
|
return [
|
|
1996
1996
|
u.value,
|
|
1997
1997
|
i.value,
|
|
1998
1998
|
g.value,
|
|
1999
|
-
|
|
1999
|
+
E.value,
|
|
2000
2000
|
T.value
|
|
2001
2001
|
];
|
|
2002
2002
|
}
|
|
2003
|
-
const
|
|
2003
|
+
const B = z({
|
|
2004
2004
|
get: () => u.value,
|
|
2005
2005
|
set: (v) => {
|
|
2006
2006
|
u.value = v, p.locale = u.value;
|
|
@@ -2010,9 +2010,9 @@ function Oo(e = {}) {
|
|
|
2010
2010
|
set: (v) => {
|
|
2011
2011
|
i.value = v, p.fallbackLocale = i.value, lt(p, u.value, v);
|
|
2012
2012
|
}
|
|
2013
|
-
}),
|
|
2013
|
+
}), d = z(() => g.value), N = /* @__PURE__ */ z(() => E.value), U = /* @__PURE__ */ z(() => T.value);
|
|
2014
2014
|
function V() {
|
|
2015
|
-
return
|
|
2015
|
+
return de(h) ? h : null;
|
|
2016
2016
|
}
|
|
2017
2017
|
function j(v) {
|
|
2018
2018
|
h = v, p.postTranslation = v;
|
|
@@ -2023,7 +2023,7 @@ function Oo(e = {}) {
|
|
|
2023
2023
|
function W(v) {
|
|
2024
2024
|
v !== null && (f = Rn(v)), D = v, p.missing = f;
|
|
2025
2025
|
}
|
|
2026
|
-
const
|
|
2026
|
+
const Z = (v, y, J, le, Xe, dt) => {
|
|
2027
2027
|
A();
|
|
2028
2028
|
let ze;
|
|
2029
2029
|
try {
|
|
@@ -2031,33 +2031,33 @@ function Oo(e = {}) {
|
|
|
2031
2031
|
} finally {
|
|
2032
2032
|
__INTLIFY_PROD_DEVTOOLS__, r || (p.fallbackContext = void 0);
|
|
2033
2033
|
}
|
|
2034
|
-
if (
|
|
2035
|
-
ge(ze) && ze === Ot ||
|
|
2036
|
-
const [cr,
|
|
2037
|
-
return t && w ? le(t) :
|
|
2034
|
+
if (J !== "translate exists" && // for not `te` (e.g `t`)
|
|
2035
|
+
ge(ze) && ze === Ot || J === "translate exists" && !ze) {
|
|
2036
|
+
const [cr, ya] = y();
|
|
2037
|
+
return t && w ? le(t) : Xe(cr);
|
|
2038
2038
|
} else {
|
|
2039
|
-
if (
|
|
2039
|
+
if (dt(ze))
|
|
2040
2040
|
return ze;
|
|
2041
2041
|
throw ut(at.UNEXPECTED_RETURN_TYPE);
|
|
2042
2042
|
}
|
|
2043
2043
|
};
|
|
2044
|
-
function
|
|
2045
|
-
return
|
|
2044
|
+
function X(...v) {
|
|
2045
|
+
return Z((y) => Reflect.apply(On, null, [y, ...v]), () => Vt(...v), "translate", (y) => Reflect.apply(y.t, y, [...v]), (y) => y, (y) => Y(y));
|
|
2046
2046
|
}
|
|
2047
2047
|
function ne(...v) {
|
|
2048
|
-
const [
|
|
2048
|
+
const [y, J, le] = v;
|
|
2049
2049
|
if (le && !te(le))
|
|
2050
2050
|
throw ut(at.INVALID_ARGUMENT);
|
|
2051
|
-
return
|
|
2051
|
+
return X(y, J, Ie({ resolvedMessage: !0 }, le || {}));
|
|
2052
2052
|
}
|
|
2053
2053
|
function Q(...v) {
|
|
2054
|
-
return
|
|
2054
|
+
return Z((y) => Reflect.apply(In, null, [y, ...v]), () => jt(...v), "datetime format", (y) => Reflect.apply(y.d, y, [...v]), () => vn, (y) => Y(y));
|
|
2055
2055
|
}
|
|
2056
2056
|
function _e(...v) {
|
|
2057
|
-
return
|
|
2057
|
+
return Z((y) => Reflect.apply(yn, null, [y, ...v]), () => Ut(...v), "number format", (y) => Reflect.apply(y.n, y, [...v]), () => vn, (y) => Y(y));
|
|
2058
2058
|
}
|
|
2059
2059
|
function ce(v) {
|
|
2060
|
-
return v.map((
|
|
2060
|
+
return v.map((y) => Y(y) || ge(y) || ve(y) ? Sn(String(y)) : y);
|
|
2061
2061
|
}
|
|
2062
2062
|
const fe = {
|
|
2063
2063
|
normalize: ce,
|
|
@@ -2065,107 +2065,107 @@ function Oo(e = {}) {
|
|
|
2065
2065
|
type: "vnode"
|
|
2066
2066
|
};
|
|
2067
2067
|
function q(...v) {
|
|
2068
|
-
return
|
|
2069
|
-
let
|
|
2070
|
-
const le =
|
|
2068
|
+
return Z((y) => {
|
|
2069
|
+
let J;
|
|
2070
|
+
const le = y;
|
|
2071
2071
|
try {
|
|
2072
|
-
le.processor = fe,
|
|
2072
|
+
le.processor = fe, J = Reflect.apply(On, null, [le, ...v]);
|
|
2073
2073
|
} finally {
|
|
2074
2074
|
le.processor = null;
|
|
2075
2075
|
}
|
|
2076
|
-
return
|
|
2077
|
-
}, () => Vt(...v), "translate", (
|
|
2076
|
+
return J;
|
|
2077
|
+
}, () => Vt(...v), "translate", (y) => y[xt](...v), (y) => [Sn(y)], (y) => be(y));
|
|
2078
2078
|
}
|
|
2079
2079
|
function De(...v) {
|
|
2080
|
-
return
|
|
2080
|
+
return Z((y) => Reflect.apply(yn, null, [y, ...v]), () => Ut(...v), "number format", (y) => y[Gt](...v), Ln, (y) => Y(y) || be(y));
|
|
2081
2081
|
}
|
|
2082
2082
|
function K(...v) {
|
|
2083
|
-
return
|
|
2083
|
+
return Z((y) => Reflect.apply(In, null, [y, ...v]), () => jt(...v), "datetime format", (y) => y[Wt](...v), Ln, (y) => Y(y) || be(y));
|
|
2084
2084
|
}
|
|
2085
2085
|
function pe(v) {
|
|
2086
2086
|
I = v, p.pluralRules = I;
|
|
2087
2087
|
}
|
|
2088
|
-
function
|
|
2089
|
-
return
|
|
2088
|
+
function $e(v, y) {
|
|
2089
|
+
return Z(() => {
|
|
2090
2090
|
if (!v)
|
|
2091
2091
|
return !1;
|
|
2092
|
-
const
|
|
2093
|
-
return ot(
|
|
2094
|
-
}, () => [v], "translate exists", (
|
|
2092
|
+
const J = Y(y) ? y : u.value, le = Fe(J), Xe = p.messageResolver(le, v);
|
|
2093
|
+
return ot(Xe) || Te(Xe) || Y(Xe);
|
|
2094
|
+
}, () => [v], "translate exists", (J) => Reflect.apply(J.te, J, [v, y]), No, (J) => ve(J));
|
|
2095
2095
|
}
|
|
2096
2096
|
function Ke(v) {
|
|
2097
|
-
let
|
|
2098
|
-
const
|
|
2099
|
-
for (let le = 0; le <
|
|
2100
|
-
const
|
|
2101
|
-
if (
|
|
2102
|
-
|
|
2097
|
+
let y = null;
|
|
2098
|
+
const J = Hn(p, i.value, u.value);
|
|
2099
|
+
for (let le = 0; le < J.length; le++) {
|
|
2100
|
+
const Xe = g.value[J[le]] || {}, dt = p.messageResolver(Xe, v);
|
|
2101
|
+
if (dt != null) {
|
|
2102
|
+
y = dt;
|
|
2103
2103
|
break;
|
|
2104
2104
|
}
|
|
2105
2105
|
}
|
|
2106
|
-
return
|
|
2106
|
+
return y;
|
|
2107
2107
|
}
|
|
2108
2108
|
function Ve(v) {
|
|
2109
|
-
const
|
|
2110
|
-
return
|
|
2109
|
+
const y = Ke(v);
|
|
2110
|
+
return y ?? (t ? t.tm(v) || {} : {});
|
|
2111
2111
|
}
|
|
2112
2112
|
function Fe(v) {
|
|
2113
2113
|
return g.value[v] || {};
|
|
2114
2114
|
}
|
|
2115
|
-
function
|
|
2115
|
+
function Ne(v, y) {
|
|
2116
2116
|
if (l) {
|
|
2117
|
-
const
|
|
2118
|
-
for (const le in
|
|
2119
|
-
Ae(
|
|
2120
|
-
|
|
2117
|
+
const J = { [v]: y };
|
|
2118
|
+
for (const le in J)
|
|
2119
|
+
Ae(J, le) && mt(J[le]);
|
|
2120
|
+
y = J[v];
|
|
2121
2121
|
}
|
|
2122
|
-
g.value[v] =
|
|
2122
|
+
g.value[v] = y, p.messages = g.value;
|
|
2123
2123
|
}
|
|
2124
|
-
function
|
|
2124
|
+
function Ze(v, y) {
|
|
2125
2125
|
g.value[v] = g.value[v] || {};
|
|
2126
|
-
const
|
|
2126
|
+
const J = { [v]: y };
|
|
2127
2127
|
if (l)
|
|
2128
|
-
for (const le in
|
|
2129
|
-
Ae(
|
|
2130
|
-
|
|
2128
|
+
for (const le in J)
|
|
2129
|
+
Ae(J, le) && mt(J[le]);
|
|
2130
|
+
y = J[v], Et(y, g.value[v]), p.messages = g.value;
|
|
2131
2131
|
}
|
|
2132
2132
|
function O(v) {
|
|
2133
|
-
return
|
|
2133
|
+
return E.value[v] || {};
|
|
2134
2134
|
}
|
|
2135
|
-
function s(v,
|
|
2136
|
-
|
|
2135
|
+
function s(v, y) {
|
|
2136
|
+
E.value[v] = y, p.datetimeFormats = E.value, En(p, v, y);
|
|
2137
2137
|
}
|
|
2138
|
-
function o(v,
|
|
2139
|
-
|
|
2138
|
+
function o(v, y) {
|
|
2139
|
+
E.value[v] = Ie(E.value[v] || {}, y), p.datetimeFormats = E.value, En(p, v, y);
|
|
2140
2140
|
}
|
|
2141
2141
|
function _(v) {
|
|
2142
2142
|
return T.value[v] || {};
|
|
2143
2143
|
}
|
|
2144
|
-
function k(v,
|
|
2145
|
-
T.value[v] =
|
|
2144
|
+
function k(v, y) {
|
|
2145
|
+
T.value[v] = y, p.numberFormats = T.value, Cn(p, v, y);
|
|
2146
2146
|
}
|
|
2147
|
-
function M(v,
|
|
2148
|
-
T.value[v] = Ie(T.value[v] || {},
|
|
2147
|
+
function M(v, y) {
|
|
2148
|
+
T.value[v] = Ie(T.value[v] || {}, y), p.numberFormats = T.value, Cn(p, v, y);
|
|
2149
2149
|
}
|
|
2150
2150
|
kn++, t && on && (wt(t.locale, (v) => {
|
|
2151
|
-
|
|
2151
|
+
m && (u.value = v, p.locale = v, lt(p, u.value, i.value));
|
|
2152
2152
|
}), wt(t.fallbackLocale, (v) => {
|
|
2153
|
-
|
|
2153
|
+
m && (i.value = v, p.fallbackLocale = v, lt(p, u.value, i.value));
|
|
2154
2154
|
}));
|
|
2155
2155
|
const P = {
|
|
2156
2156
|
id: kn,
|
|
2157
|
-
locale:
|
|
2157
|
+
locale: B,
|
|
2158
2158
|
fallbackLocale: x,
|
|
2159
2159
|
get inheritLocale() {
|
|
2160
|
-
return
|
|
2160
|
+
return m;
|
|
2161
2161
|
},
|
|
2162
2162
|
set inheritLocale(v) {
|
|
2163
|
-
|
|
2163
|
+
m = v, v && t && (u.value = t.locale.value, i.value = t.fallbackLocale.value, lt(p, u.value, i.value));
|
|
2164
2164
|
},
|
|
2165
2165
|
get availableLocales() {
|
|
2166
2166
|
return Object.keys(g.value).sort();
|
|
2167
2167
|
},
|
|
2168
|
-
messages:
|
|
2168
|
+
messages: d,
|
|
2169
2169
|
get modifiers() {
|
|
2170
2170
|
return b;
|
|
2171
2171
|
},
|
|
@@ -2176,10 +2176,10 @@ function Oo(e = {}) {
|
|
|
2176
2176
|
return r;
|
|
2177
2177
|
},
|
|
2178
2178
|
get missingWarn() {
|
|
2179
|
-
return
|
|
2179
|
+
return C;
|
|
2180
2180
|
},
|
|
2181
2181
|
set missingWarn(v) {
|
|
2182
|
-
|
|
2182
|
+
C = v, p.missingWarn = C;
|
|
2183
2183
|
},
|
|
2184
2184
|
get fallbackWarn() {
|
|
2185
2185
|
return F;
|
|
@@ -2211,17 +2211,17 @@ function Oo(e = {}) {
|
|
|
2211
2211
|
set escapeParameter(v) {
|
|
2212
2212
|
c = v, p.escapeParameter = v;
|
|
2213
2213
|
},
|
|
2214
|
-
t:
|
|
2214
|
+
t: X,
|
|
2215
2215
|
getLocaleMessage: Fe,
|
|
2216
|
-
setLocaleMessage:
|
|
2217
|
-
mergeLocaleMessage:
|
|
2216
|
+
setLocaleMessage: Ne,
|
|
2217
|
+
mergeLocaleMessage: Ze,
|
|
2218
2218
|
getPostTranslationHandler: V,
|
|
2219
2219
|
setPostTranslationHandler: j,
|
|
2220
2220
|
getMissingHandler: G,
|
|
2221
2221
|
setMissingHandler: W,
|
|
2222
|
-
[
|
|
2222
|
+
[yo]: pe
|
|
2223
2223
|
};
|
|
2224
|
-
return P.datetimeFormats =
|
|
2224
|
+
return P.datetimeFormats = N, P.numberFormats = U, P.rt = ne, P.te = $e, P.tm = Ve, P.d = Q, P.n = _e, P.getDateTimeFormat = O, P.setDateTimeFormat = s, P.mergeDateTimeFormat = o, P.getNumberFormat = _, P.setNumberFormat = k, P.mergeNumberFormat = M, P[rr] = n, P[xt] = q, P[Wt] = K, P[Gt] = De, P;
|
|
2225
2225
|
}
|
|
2226
2226
|
const qt = {
|
|
2227
2227
|
tag: {
|
|
@@ -2265,22 +2265,22 @@ Ie({
|
|
|
2265
2265
|
}
|
|
2266
2266
|
}, qt);
|
|
2267
2267
|
function Ao(e) {
|
|
2268
|
-
return be(e) && !
|
|
2268
|
+
return be(e) && !Y(e[0]);
|
|
2269
2269
|
}
|
|
2270
2270
|
function lr(e, t, n, r) {
|
|
2271
2271
|
const { slots: l, attrs: a } = t;
|
|
2272
2272
|
return () => {
|
|
2273
|
-
const
|
|
2273
|
+
const m = { part: !0 };
|
|
2274
2274
|
let u = oe();
|
|
2275
|
-
e.locale && (
|
|
2276
|
-
const i = r(e.value,
|
|
2277
|
-
let g = [
|
|
2278
|
-
be(i) ? g = i.map((
|
|
2279
|
-
const w = l[
|
|
2280
|
-
return Ao(L) && (L[0].key = `${
|
|
2281
|
-
}) :
|
|
2282
|
-
const
|
|
2283
|
-
return Wn(T,
|
|
2275
|
+
e.locale && (m.locale = e.locale), Y(e.format) ? m.key = e.format : te(e.format) && (Y(e.format.key) && (m.key = e.format.key), u = Object.keys(e.format).reduce((C, F) => n.includes(F) ? Ie(oe(), C, { [F]: e.format[F] }) : C, oe()));
|
|
2276
|
+
const i = r(e.value, m, u);
|
|
2277
|
+
let g = [m.key];
|
|
2278
|
+
be(i) ? g = i.map((C, F) => {
|
|
2279
|
+
const w = l[C.type], L = w ? w({ [C.type]: C.value, index: F, parts: i }) : [C.value];
|
|
2280
|
+
return Ao(L) && (L[0].key = `${C.type}-${F}`), L;
|
|
2281
|
+
}) : Y(i) && (g = [i]);
|
|
2282
|
+
const E = Ie(oe(), a), T = Y(e.tag) || te(e.tag) ? e.tag : ar();
|
|
2283
|
+
return Wn(T, E, g);
|
|
2284
2284
|
};
|
|
2285
2285
|
}
|
|
2286
2286
|
Ie({
|
|
@@ -2301,25 +2301,25 @@ Ie({
|
|
|
2301
2301
|
type: [String, Object]
|
|
2302
2302
|
}
|
|
2303
2303
|
}, qt);
|
|
2304
|
-
const Lo = /* @__PURE__ */
|
|
2304
|
+
const Lo = /* @__PURE__ */ Je("global-vue-i18n");
|
|
2305
2305
|
function St(e = {}) {
|
|
2306
|
-
const t =
|
|
2306
|
+
const t = Xt();
|
|
2307
2307
|
if (t == null)
|
|
2308
2308
|
throw ut(at.MUST_BE_CALL_SETUP_TOP);
|
|
2309
2309
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
2310
2310
|
throw ut(at.NOT_INSTALLED);
|
|
2311
2311
|
const n = ko(t), r = Mo(n), l = or(t), a = Ro(e, l);
|
|
2312
2312
|
if (a === "global")
|
|
2313
|
-
return
|
|
2313
|
+
return Co(r, e, l), r;
|
|
2314
2314
|
if (a === "parent") {
|
|
2315
2315
|
let i = wo(n, t, e.__useComponent);
|
|
2316
2316
|
return i == null && (i = r), i;
|
|
2317
2317
|
}
|
|
2318
|
-
const
|
|
2319
|
-
let u =
|
|
2318
|
+
const m = n;
|
|
2319
|
+
let u = m.__getInstance(t);
|
|
2320
2320
|
if (u == null) {
|
|
2321
2321
|
const i = Ie({}, e);
|
|
2322
|
-
"__i18n" in l && (i.__i18n = l.__i18n), r && (i.__root = r), u = Oo(i),
|
|
2322
|
+
"__i18n" in l && (i.__i18n = l.__i18n), r && (i.__root = r), u = Oo(i), m.__composerExtend && (u[Yt] = m.__composerExtend(u)), Fo(m, t, u), m.__setInstance(t, u);
|
|
2323
2323
|
}
|
|
2324
2324
|
return u;
|
|
2325
2325
|
}
|
|
@@ -2330,7 +2330,7 @@ function ko(e) {
|
|
|
2330
2330
|
return t;
|
|
2331
2331
|
}
|
|
2332
2332
|
function Ro(e, t) {
|
|
2333
|
-
return
|
|
2333
|
+
return Nt(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
|
|
2334
2334
|
}
|
|
2335
2335
|
function Mo(e) {
|
|
2336
2336
|
return e.mode === "composition" ? e.global : e.global.__composer;
|
|
@@ -2340,11 +2340,11 @@ function wo(e, t, n = !1) {
|
|
|
2340
2340
|
const l = t.root;
|
|
2341
2341
|
let a = Do(t, n);
|
|
2342
2342
|
for (; a != null; ) {
|
|
2343
|
-
const
|
|
2343
|
+
const m = e;
|
|
2344
2344
|
if (e.mode === "composition")
|
|
2345
|
-
r =
|
|
2345
|
+
r = m.__getInstance(a);
|
|
2346
2346
|
else if (__VUE_I18N_LEGACY_API__) {
|
|
2347
|
-
const u =
|
|
2347
|
+
const u = m.__getInstance(a);
|
|
2348
2348
|
u != null && (r = u.__composer, n && r && !r[rr] && (r = null));
|
|
2349
2349
|
}
|
|
2350
2350
|
if (r != null || l === a)
|
|
@@ -2358,19 +2358,19 @@ function Do(e, t = !1) {
|
|
|
2358
2358
|
}
|
|
2359
2359
|
function Fo(e, t, n) {
|
|
2360
2360
|
xn(() => {
|
|
2361
|
-
}, t),
|
|
2361
|
+
}, t), dr(() => {
|
|
2362
2362
|
const r = n;
|
|
2363
2363
|
e.__deleteInstance(t);
|
|
2364
|
-
const l = r[
|
|
2365
|
-
l && (l(), delete r[
|
|
2364
|
+
const l = r[Yt];
|
|
2365
|
+
l && (l(), delete r[Yt]);
|
|
2366
2366
|
}, t);
|
|
2367
2367
|
}
|
|
2368
|
-
|
|
2368
|
+
Eo();
|
|
2369
2369
|
zs(Ms);
|
|
2370
|
-
Qs(
|
|
2370
|
+
Qs(Js);
|
|
2371
2371
|
qs(Hn);
|
|
2372
2372
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
2373
|
-
const e =
|
|
2373
|
+
const e = Be();
|
|
2374
2374
|
e.__INTLIFY__ = !0, ws(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
2375
2375
|
}
|
|
2376
2376
|
const vt = /* @__PURE__ */ Le({
|
|
@@ -2385,18 +2385,18 @@ const vt = /* @__PURE__ */ Le({
|
|
|
2385
2385
|
const { t } = St();
|
|
2386
2386
|
return (n, r) => {
|
|
2387
2387
|
const l = we("FmIcon"), a = we("FmTooltip");
|
|
2388
|
-
return
|
|
2388
|
+
return $(), Ce(a, {
|
|
2389
2389
|
variant: "plain",
|
|
2390
2390
|
placement: "right",
|
|
2391
2391
|
"z-index": 50
|
|
2392
2392
|
}, {
|
|
2393
|
-
content:
|
|
2393
|
+
content: me(() => [
|
|
2394
2394
|
ae("div", null, Oe(H(t)("team.memberForm.permissions.inherited")), 1),
|
|
2395
|
-
(
|
|
2396
|
-
ae("div", null, "- " + Oe(
|
|
2395
|
+
($(!0), ie(Re, null, ye(e.item.setNames, (m) => ($(), ie("div", { key: m }, [
|
|
2396
|
+
ae("div", null, "- " + Oe(m), 1)
|
|
2397
2397
|
]))), 128))
|
|
2398
2398
|
]),
|
|
2399
|
-
default:
|
|
2399
|
+
default: me(() => [
|
|
2400
2400
|
ue(l, {
|
|
2401
2401
|
name: "admin_panel_settings",
|
|
2402
2402
|
size: "sm",
|
|
@@ -2413,11 +2413,11 @@ function Mn(e, t, n) {
|
|
|
2413
2413
|
if (r.length === 0) return;
|
|
2414
2414
|
const l = e.findIndex((u) => u.subject === t && !u.inverted);
|
|
2415
2415
|
if (l < 0) return;
|
|
2416
|
-
const a = new Set(e[l].actions),
|
|
2417
|
-
|
|
2416
|
+
const a = new Set(e[l].actions), m = r.every((u) => a.has(u));
|
|
2417
|
+
m && !a.has("manage") ? (a.add("manage"), e[l] = {
|
|
2418
2418
|
...e[l],
|
|
2419
2419
|
actions: Array.from(a)
|
|
2420
|
-
}) : !
|
|
2420
|
+
}) : !m && a.has("manage") && (a.delete("manage"), a.size === 0 ? e.splice(l, 1) : e[l] = {
|
|
2421
2421
|
...e[l],
|
|
2422
2422
|
actions: Array.from(a)
|
|
2423
2423
|
});
|
|
@@ -2428,38 +2428,38 @@ const wn = Object.values(Sr), Po = {
|
|
|
2428
2428
|
update: "Edit"
|
|
2429
2429
|
};
|
|
2430
2430
|
function jo(e, t, n, r) {
|
|
2431
|
-
const { t: l } = He(), { getFlagValue: a, getFlag:
|
|
2431
|
+
const { t: l } = He(), { getFlagValue: a, getFlag: m } = Or(), u = z(() => {
|
|
2432
2432
|
var j;
|
|
2433
|
-
const
|
|
2433
|
+
const d = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), U = /* @__PURE__ */ new Map();
|
|
2434
2434
|
for (const G of t.value) {
|
|
2435
2435
|
const W = G.category;
|
|
2436
2436
|
if (!W) continue;
|
|
2437
|
-
const
|
|
2438
|
-
if (n.value.includes(G.subject) || G.showByFeatureFlag && ((j =
|
|
2437
|
+
const Z = G.subject;
|
|
2438
|
+
if (n.value.includes(G.subject) || G.showByFeatureFlag && ((j = m(G.showByFeatureFlag)) == null ? void 0 : j.enabled) === !1 && a(G.showByFeatureFlag) === "true")
|
|
2439
2439
|
continue;
|
|
2440
|
-
|
|
2441
|
-
const
|
|
2442
|
-
U.set(
|
|
2443
|
-
label: l(`permissionSet.permissionLabels.${
|
|
2444
|
-
value:
|
|
2445
|
-
optionKey: `${
|
|
2446
|
-
}),
|
|
2440
|
+
d.has(W) || d.set(W, []);
|
|
2441
|
+
const X = U.get(Z) ?? 0;
|
|
2442
|
+
U.set(Z, X + 1), d.get(W).push({
|
|
2443
|
+
label: l(`permissionSet.permissionLabels.${Z}`, G.label),
|
|
2444
|
+
value: Z,
|
|
2445
|
+
optionKey: `${Z}::${X}`
|
|
2446
|
+
}), N.has(Z) || N.set(Z, G);
|
|
2447
2447
|
}
|
|
2448
|
-
return [...
|
|
2449
|
-
const
|
|
2450
|
-
return
|
|
2448
|
+
return [...d.keys()].sort((G, W) => {
|
|
2449
|
+
const Z = wn.indexOf(G), X = wn.indexOf(W);
|
|
2450
|
+
return Z === -1 && X === -1 ? G.localeCompare(W) : Z === -1 ? 1 : X === -1 ? -1 : Z - X;
|
|
2451
2451
|
}).map((G) => {
|
|
2452
|
-
const W =
|
|
2452
|
+
const W = d.get(G), Z = l(`permissionSet.categoryLabels.${G}`, G), X = /* @__PURE__ */ new Map();
|
|
2453
2453
|
for (const K of W) {
|
|
2454
|
-
const pe =
|
|
2455
|
-
pe &&
|
|
2454
|
+
const pe = N.get(K.value);
|
|
2455
|
+
pe && X.set(K.value, pe.actions);
|
|
2456
2456
|
}
|
|
2457
2457
|
const ne = W.some((K) => {
|
|
2458
|
-
const pe =
|
|
2458
|
+
const pe = X.get(K.value);
|
|
2459
2459
|
return pe && pe.length > 1;
|
|
2460
2460
|
}), Q = ne ? [
|
|
2461
2461
|
...new Set(
|
|
2462
|
-
W.flatMap((K) =>
|
|
2462
|
+
W.flatMap((K) => X.get(K.value) ?? []).filter((K) => K !== "manage")
|
|
2463
2463
|
)
|
|
2464
2464
|
] : [], _e = /* @__PURE__ */ new Map();
|
|
2465
2465
|
for (const K of e.value)
|
|
@@ -2468,16 +2468,16 @@ function jo(e, t, n, r) {
|
|
|
2468
2468
|
(K) => W.some((pe) => pe.value === K.subject) && !K.inverted && K.actions.includes("manage")
|
|
2469
2469
|
).map((K) => K.subject) : e.value.filter((K) => W.some((pe) => pe.value === K.subject) && !K.inverted).map((K) => K.subject), se = W.find((K) => {
|
|
2470
2470
|
var pe;
|
|
2471
|
-
return (pe =
|
|
2471
|
+
return (pe = N.get(K.value)) == null ? void 0 : pe.isCategoryCover;
|
|
2472
2472
|
}), fe = (se == null ? void 0 : se.value) ?? null, q = fe ? _e.get(fe) ?? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set(), De = q.has("manage");
|
|
2473
2473
|
return {
|
|
2474
2474
|
category: G,
|
|
2475
|
-
label:
|
|
2475
|
+
label: Z,
|
|
2476
2476
|
options: W,
|
|
2477
2477
|
selectedSubjects: ce,
|
|
2478
2478
|
isMultiAction: ne,
|
|
2479
2479
|
actionColumns: Q,
|
|
2480
|
-
permissionActionsMap:
|
|
2480
|
+
permissionActionsMap: X,
|
|
2481
2481
|
selectedActionsMap: _e,
|
|
2482
2482
|
coverSubject: fe,
|
|
2483
2483
|
coverSelectedActions: q,
|
|
@@ -2485,17 +2485,17 @@ function jo(e, t, n, r) {
|
|
|
2485
2485
|
};
|
|
2486
2486
|
});
|
|
2487
2487
|
});
|
|
2488
|
-
function i(
|
|
2489
|
-
const U = u.value.find((Q) => Q.category ===
|
|
2488
|
+
function i(d, N) {
|
|
2489
|
+
const U = u.value.find((Q) => Q.category === d), V = (U == null ? void 0 : U.options) ?? [], j = new Set(V.map((Q) => Q.value)), G = new Set(N), W = /* @__PURE__ */ new Map();
|
|
2490
2490
|
for (const Q of e.value)
|
|
2491
2491
|
j.has(Q.subject) && !Q.inverted && W.set(Q.subject, Q.conditions);
|
|
2492
|
-
const
|
|
2492
|
+
const Z = U != null && U.coverSubject ? W.get(U.coverSubject) : void 0, X = /* @__PURE__ */ new Set(), ne = t.value.flatMap(
|
|
2493
2493
|
({ category: Q, showByFeatureFlag: _e, isCategoryCover: ce, ...se }) => {
|
|
2494
2494
|
const fe = se.subject;
|
|
2495
|
-
if (!G.has(fe) ||
|
|
2496
|
-
|
|
2495
|
+
if (!G.has(fe) || X.has(fe)) return [];
|
|
2496
|
+
X.add(fe);
|
|
2497
2497
|
let q;
|
|
2498
|
-
return W.has(fe) ? q = W.get(fe) : U != null && U.coverSubject && fe !== U.coverSubject && (q =
|
|
2498
|
+
return W.has(fe) ? q = W.get(fe) : U != null && U.coverSubject && fe !== U.coverSubject && (q = Z), [
|
|
2499
2499
|
{ ...se, ...q !== void 0 && { conditions: q } }
|
|
2500
2500
|
];
|
|
2501
2501
|
}
|
|
@@ -2505,32 +2505,32 @@ function jo(e, t, n, r) {
|
|
|
2505
2505
|
...ne
|
|
2506
2506
|
]);
|
|
2507
2507
|
}
|
|
2508
|
-
function g(
|
|
2509
|
-
return F(
|
|
2508
|
+
function g(d, N) {
|
|
2509
|
+
return F(d, N) || c(d, N);
|
|
2510
2510
|
}
|
|
2511
|
-
function
|
|
2512
|
-
return
|
|
2511
|
+
function E(d) {
|
|
2512
|
+
return d.options.length > 0 && d.options.every((N) => g(d, N.value));
|
|
2513
2513
|
}
|
|
2514
|
-
function T(
|
|
2515
|
-
return
|
|
2516
|
-
(
|
|
2514
|
+
function T(d) {
|
|
2515
|
+
return d.options.length === 0 || E(d) ? !1 : d.options.some(
|
|
2516
|
+
(N) => g(d, N.value) || w(d, N.value).length > 0
|
|
2517
2517
|
);
|
|
2518
2518
|
}
|
|
2519
|
-
function
|
|
2520
|
-
const
|
|
2521
|
-
if (
|
|
2519
|
+
function C(d) {
|
|
2520
|
+
const N = new Set(d.options.map((V) => V.value)), U = e.value.filter((V) => !N.has(V.subject));
|
|
2521
|
+
if (E(d))
|
|
2522
2522
|
r("update:model-value", U);
|
|
2523
2523
|
else {
|
|
2524
2524
|
const V = /* @__PURE__ */ new Map();
|
|
2525
|
-
for (const
|
|
2526
|
-
|
|
2527
|
-
const j =
|
|
2528
|
-
({ category:
|
|
2525
|
+
for (const Z of e.value)
|
|
2526
|
+
N.has(Z.subject) && !Z.inverted && V.set(Z.subject, Z.conditions);
|
|
2527
|
+
const j = d.coverSubject ? V.get(d.coverSubject) : void 0, G = /* @__PURE__ */ new Set(), W = t.value.flatMap(
|
|
2528
|
+
({ category: Z, showByFeatureFlag: X, isCategoryCover: ne, ...Q }) => {
|
|
2529
2529
|
const _e = Q.subject;
|
|
2530
|
-
if (!
|
|
2530
|
+
if (!N.has(_e) || G.has(_e)) return [];
|
|
2531
2531
|
G.add(_e);
|
|
2532
2532
|
let ce;
|
|
2533
|
-
return V.has(_e) ? ce = V.get(_e) :
|
|
2533
|
+
return V.has(_e) ? ce = V.get(_e) : d.coverSubject && _e !== d.coverSubject && (ce = j), [
|
|
2534
2534
|
{ ...Q, ...ce !== void 0 && { conditions: ce } }
|
|
2535
2535
|
];
|
|
2536
2536
|
}
|
|
@@ -2538,157 +2538,157 @@ function jo(e, t, n, r) {
|
|
|
2538
2538
|
r("update:model-value", [...U, ...W]);
|
|
2539
2539
|
}
|
|
2540
2540
|
}
|
|
2541
|
-
function F(
|
|
2542
|
-
const U =
|
|
2541
|
+
function F(d, N) {
|
|
2542
|
+
const U = d.selectedActionsMap.get(N);
|
|
2543
2543
|
return U ? U.has("manage") : !1;
|
|
2544
2544
|
}
|
|
2545
|
-
function w(
|
|
2546
|
-
const U =
|
|
2545
|
+
function w(d, N) {
|
|
2546
|
+
const U = d.permissionActionsMap.get(N);
|
|
2547
2547
|
return U ? U.filter((j) => j !== "manage").filter(
|
|
2548
|
-
(j) => S(
|
|
2548
|
+
(j) => S(d, N, j) || b(d, N, j)
|
|
2549
2549
|
) : [];
|
|
2550
2550
|
}
|
|
2551
|
-
function L(
|
|
2552
|
-
return c(
|
|
2551
|
+
function L(d, N) {
|
|
2552
|
+
return c(d, N) ? !1 : !F(d, N) && w(d, N).length > 0;
|
|
2553
2553
|
}
|
|
2554
|
-
function D(
|
|
2555
|
-
if (!
|
|
2554
|
+
function D(d, N) {
|
|
2555
|
+
if (!d.coverSubject || N === d.coverSubject) return;
|
|
2556
2556
|
const U = e.value.find(
|
|
2557
|
-
(V) => !V.inverted && V.subject ===
|
|
2557
|
+
(V) => !V.inverted && V.subject === d.coverSubject
|
|
2558
2558
|
);
|
|
2559
2559
|
return (U == null ? void 0 : U.conditions) || void 0;
|
|
2560
2560
|
}
|
|
2561
|
-
function f(
|
|
2561
|
+
function f(d, N, U) {
|
|
2562
2562
|
if (U) {
|
|
2563
|
-
const V = t.value.find((Q) => Q.subject ===
|
|
2563
|
+
const V = t.value.find((Q) => Q.subject === N);
|
|
2564
2564
|
if (!V) return;
|
|
2565
2565
|
const {
|
|
2566
2566
|
category: j,
|
|
2567
2567
|
showByFeatureFlag: G,
|
|
2568
2568
|
isCategoryCover: W,
|
|
2569
|
-
...
|
|
2570
|
-
} = V,
|
|
2569
|
+
...Z
|
|
2570
|
+
} = V, X = D(d, N), ne = e.value.filter((Q) => Q.subject !== N);
|
|
2571
2571
|
ne.push({
|
|
2572
|
-
...
|
|
2573
|
-
...
|
|
2572
|
+
...Z,
|
|
2573
|
+
...X !== void 0 && { conditions: X }
|
|
2574
2574
|
}), r("update:model-value", ne);
|
|
2575
2575
|
} else
|
|
2576
2576
|
r(
|
|
2577
2577
|
"update:model-value",
|
|
2578
|
-
e.value.filter((V) => V.subject !==
|
|
2578
|
+
e.value.filter((V) => V.subject !== N)
|
|
2579
2579
|
);
|
|
2580
2580
|
}
|
|
2581
|
-
function h(
|
|
2582
|
-
const U =
|
|
2581
|
+
function h(d, N) {
|
|
2582
|
+
const U = d.permissionActionsMap.get(N);
|
|
2583
2583
|
return U ? U.some((V) => V !== "manage") : !1;
|
|
2584
2584
|
}
|
|
2585
|
-
function S(
|
|
2586
|
-
const V =
|
|
2585
|
+
function S(d, N, U) {
|
|
2586
|
+
const V = d.selectedActionsMap.get(N);
|
|
2587
2587
|
return V ? V.has(U) : !1;
|
|
2588
2588
|
}
|
|
2589
|
-
function c(
|
|
2590
|
-
return !
|
|
2589
|
+
function c(d, N) {
|
|
2590
|
+
return !d.coverSubject || N === d.coverSubject ? !1 : d.coverCoversAll;
|
|
2591
2591
|
}
|
|
2592
|
-
function b(
|
|
2593
|
-
return !
|
|
2592
|
+
function b(d, N, U) {
|
|
2593
|
+
return !d.coverSubject || N === d.coverSubject ? !1 : d.coverCoversAll ? !0 : d.coverSelectedActions.has(U);
|
|
2594
2594
|
}
|
|
2595
|
-
function I(
|
|
2596
|
-
const V =
|
|
2595
|
+
function I(d, N, U) {
|
|
2596
|
+
const V = d.permissionActionsMap.get(N);
|
|
2597
2597
|
return V ? V.includes(U) : !1;
|
|
2598
2598
|
}
|
|
2599
|
-
function p(
|
|
2600
|
-
const V = [...e.value], j = V.findIndex((W) => W.subject ===
|
|
2599
|
+
function p(d, N, U) {
|
|
2600
|
+
const V = [...e.value], j = V.findIndex((W) => W.subject === d && !W.inverted);
|
|
2601
2601
|
if (U)
|
|
2602
2602
|
if (j >= 0) {
|
|
2603
|
-
const W = { ...V[j] },
|
|
2604
|
-
|
|
2603
|
+
const W = { ...V[j] }, Z = new Set(W.actions);
|
|
2604
|
+
Z.add(N), W.actions = Array.from(Z), V[j] = W;
|
|
2605
2605
|
} else {
|
|
2606
|
-
const W = t.value.find((se) => se.subject ===
|
|
2606
|
+
const W = t.value.find((se) => se.subject === d);
|
|
2607
2607
|
if (!W) return;
|
|
2608
2608
|
const {
|
|
2609
|
-
category:
|
|
2610
|
-
showByFeatureFlag:
|
|
2609
|
+
category: Z,
|
|
2610
|
+
showByFeatureFlag: X,
|
|
2611
2611
|
isCategoryCover: ne,
|
|
2612
2612
|
...Q
|
|
2613
2613
|
} = W, _e = u.value.find(
|
|
2614
|
-
(se) => se.options.some((fe) => fe.value ===
|
|
2615
|
-
), ce = _e ? D(_e,
|
|
2614
|
+
(se) => se.options.some((fe) => fe.value === d)
|
|
2615
|
+
), ce = _e ? D(_e, d) : void 0;
|
|
2616
2616
|
V.push({
|
|
2617
2617
|
...Q,
|
|
2618
|
-
actions: [
|
|
2618
|
+
actions: [N],
|
|
2619
2619
|
...ce !== void 0 && { conditions: ce }
|
|
2620
2620
|
});
|
|
2621
2621
|
}
|
|
2622
2622
|
else if (j >= 0) {
|
|
2623
|
-
const W = { ...V[j] },
|
|
2624
|
-
|
|
2623
|
+
const W = { ...V[j] }, Z = W.actions.filter((X) => X !== N);
|
|
2624
|
+
Z.length === 0 ? V.splice(j, 1) : (W.actions = Z, V[j] = W);
|
|
2625
2625
|
}
|
|
2626
|
-
const G = t.value.find((W) => W.subject ===
|
|
2627
|
-
G && Mn(V,
|
|
2626
|
+
const G = t.value.find((W) => W.subject === d);
|
|
2627
|
+
G && Mn(V, d, G.actions), r("update:model-value", V);
|
|
2628
2628
|
}
|
|
2629
|
-
function R(
|
|
2630
|
-
const U =
|
|
2631
|
-
(V) => I(
|
|
2629
|
+
function R(d, N) {
|
|
2630
|
+
const U = d.options.filter(
|
|
2631
|
+
(V) => I(d, V.value, N)
|
|
2632
2632
|
);
|
|
2633
2633
|
return U.length === 0 ? !1 : U.every(
|
|
2634
|
-
(V) => S(
|
|
2634
|
+
(V) => S(d, V.value, N) || b(d, V.value, N)
|
|
2635
2635
|
);
|
|
2636
2636
|
}
|
|
2637
|
-
function A(
|
|
2638
|
-
const U =
|
|
2639
|
-
(j) => I(
|
|
2637
|
+
function A(d, N) {
|
|
2638
|
+
const U = d.options.filter(
|
|
2639
|
+
(j) => I(d, j.value, N)
|
|
2640
2640
|
);
|
|
2641
2641
|
if (U.length === 0) return !1;
|
|
2642
2642
|
const V = U.filter(
|
|
2643
|
-
(j) => S(
|
|
2643
|
+
(j) => S(d, j.value, N) || b(d, j.value, N)
|
|
2644
2644
|
).length;
|
|
2645
2645
|
return V > 0 && V < U.length;
|
|
2646
2646
|
}
|
|
2647
|
-
function
|
|
2647
|
+
function B(d, N, U) {
|
|
2648
2648
|
const V = [...e.value];
|
|
2649
|
-
for (const j of
|
|
2650
|
-
if (!I(
|
|
2649
|
+
for (const j of d.options) {
|
|
2650
|
+
if (!I(d, j.value, N)) continue;
|
|
2651
2651
|
const G = j.value, W = V.findIndex(
|
|
2652
|
-
(
|
|
2652
|
+
(X) => X.subject === G && !X.inverted
|
|
2653
2653
|
);
|
|
2654
2654
|
if (U)
|
|
2655
2655
|
if (W >= 0) {
|
|
2656
|
-
const
|
|
2657
|
-
ne.add(
|
|
2656
|
+
const X = { ...V[W] }, ne = new Set(X.actions);
|
|
2657
|
+
ne.add(N), X.actions = Array.from(ne), V[W] = X;
|
|
2658
2658
|
} else {
|
|
2659
|
-
const
|
|
2660
|
-
if (!
|
|
2659
|
+
const X = t.value.find((fe) => fe.subject === G);
|
|
2660
|
+
if (!X) continue;
|
|
2661
2661
|
const {
|
|
2662
2662
|
category: ne,
|
|
2663
2663
|
showByFeatureFlag: Q,
|
|
2664
2664
|
isCategoryCover: _e,
|
|
2665
2665
|
...ce
|
|
2666
|
-
} =
|
|
2666
|
+
} = X, se = D(d, G);
|
|
2667
2667
|
V.push({
|
|
2668
2668
|
...ce,
|
|
2669
|
-
actions: [
|
|
2669
|
+
actions: [N],
|
|
2670
2670
|
...se !== void 0 && { conditions: se }
|
|
2671
2671
|
});
|
|
2672
2672
|
}
|
|
2673
2673
|
else if (W >= 0) {
|
|
2674
|
-
const
|
|
2675
|
-
ne.length === 0 ? V.splice(W, 1) : (
|
|
2674
|
+
const X = { ...V[W] }, ne = X.actions.filter((Q) => Q !== N);
|
|
2675
|
+
ne.length === 0 ? V.splice(W, 1) : (X.actions = ne, V[W] = X);
|
|
2676
2676
|
}
|
|
2677
|
-
const
|
|
2678
|
-
|
|
2677
|
+
const Z = t.value.find((X) => X.subject === G);
|
|
2678
|
+
Z && Mn(V, G, Z.actions);
|
|
2679
2679
|
}
|
|
2680
2680
|
r("update:model-value", V);
|
|
2681
2681
|
}
|
|
2682
|
-
function x(
|
|
2683
|
-
const
|
|
2684
|
-
return l(
|
|
2682
|
+
function x(d) {
|
|
2683
|
+
const N = `permissionSet.actionLabels.${d}`, U = Po[d] ?? d.charAt(0).toUpperCase() + d.slice(1);
|
|
2684
|
+
return l(N, U);
|
|
2685
2685
|
}
|
|
2686
2686
|
return {
|
|
2687
2687
|
categoryGroups: u,
|
|
2688
2688
|
toggleCategory: i,
|
|
2689
|
-
isAllManageChecked:
|
|
2689
|
+
isAllManageChecked: E,
|
|
2690
2690
|
isAllManageIndeterminate: T,
|
|
2691
|
-
toggleAllManage:
|
|
2691
|
+
toggleAllManage: C,
|
|
2692
2692
|
isManageChecked: F,
|
|
2693
2693
|
isManageIndeterminate: L,
|
|
2694
2694
|
toggleManage: f,
|
|
@@ -2700,11 +2700,11 @@ function jo(e, t, n, r) {
|
|
|
2700
2700
|
toggleAction: p,
|
|
2701
2701
|
isAllActionChecked: R,
|
|
2702
2702
|
isAllActionIndeterminate: A,
|
|
2703
|
-
toggleAllAction:
|
|
2703
|
+
toggleAllAction: B,
|
|
2704
2704
|
actionLabel: x
|
|
2705
2705
|
};
|
|
2706
2706
|
}
|
|
2707
|
-
const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm-600" }, xo = { class: "mt-16" }, Wo = { class: "text-center text-sm font-semibold text-fm-color-typo-primary" }, Go = ["onClick"],
|
|
2707
|
+
const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm-600" }, xo = { class: "mt-16" }, Wo = { class: "text-center text-sm font-semibold text-fm-color-typo-primary" }, Go = ["onClick"], Yo = { class: "flex justify-center" }, Zo = { class: "flex items-center min-w-0 gap-8" }, Xo = ["title", "onClick"], Bo = { class: "flex justify-center" }, Ho = /* @__PURE__ */ Le({
|
|
2708
2708
|
__name: "BasePermission",
|
|
2709
2709
|
props: {
|
|
2710
2710
|
modelValue: {
|
|
@@ -2727,13 +2727,13 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
2727
2727
|
emits: ["update:model-value"],
|
|
2728
2728
|
setup(e, { emit: t }) {
|
|
2729
2729
|
const n = e, r = t, { t: l } = He(), a = z(() => [...Gn, ...n.additionalPermissions]), {
|
|
2730
|
-
categoryGroups:
|
|
2730
|
+
categoryGroups: m,
|
|
2731
2731
|
isAllManageChecked: u,
|
|
2732
2732
|
isAllManageIndeterminate: i,
|
|
2733
2733
|
toggleAllManage: g,
|
|
2734
|
-
isManageChecked:
|
|
2734
|
+
isManageChecked: E,
|
|
2735
2735
|
isManageIndeterminate: T,
|
|
2736
|
-
toggleManage:
|
|
2736
|
+
toggleManage: C,
|
|
2737
2737
|
isActionChecked: F,
|
|
2738
2738
|
isRowFullyCoveredByCover: w,
|
|
2739
2739
|
isActionCoveredByCover: L,
|
|
@@ -2754,21 +2754,21 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
2754
2754
|
return A === 0 ? "" : l("team.memberForm.permissions.allowedCount", { count: A });
|
|
2755
2755
|
}
|
|
2756
2756
|
function p(R, A) {
|
|
2757
|
-
return
|
|
2758
|
-
(
|
|
2757
|
+
return E(R, A) || w(R, A) ? !0 : R.actionColumns.some(
|
|
2758
|
+
(B) => D(R, A, B) && (F(R, A, B) || L(R, A, B))
|
|
2759
2759
|
);
|
|
2760
2760
|
}
|
|
2761
2761
|
return (R, A) => {
|
|
2762
|
-
const
|
|
2763
|
-
return
|
|
2764
|
-
(
|
|
2762
|
+
const B = we("FmCheckbox");
|
|
2763
|
+
return $(), ie("div", Uo, [
|
|
2764
|
+
($(!0), ie(Re, null, ye(H(m), (x) => ($(), Ce(Bt, {
|
|
2765
2765
|
key: x.category,
|
|
2766
2766
|
subtitle: I(x)
|
|
2767
2767
|
}, {
|
|
2768
|
-
title:
|
|
2768
|
+
title: me(() => [
|
|
2769
2769
|
ae("p", Vo, Oe(x.label), 1)
|
|
2770
2770
|
]),
|
|
2771
|
-
default:
|
|
2771
|
+
default: me(() => [
|
|
2772
2772
|
ae("div", xo, [
|
|
2773
2773
|
ae("div", {
|
|
2774
2774
|
class: "grid items-center px-12 py-8",
|
|
@@ -2778,10 +2778,10 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
2778
2778
|
}, [
|
|
2779
2779
|
A[0] || (A[0] = ae("div", null, null, -1)),
|
|
2780
2780
|
ae("div", Wo, Oe(H(l)("team.memberForm.permissions.columnManage")), 1),
|
|
2781
|
-
(
|
|
2782
|
-
key: `header-${
|
|
2781
|
+
($(!0), ie(Re, null, ye(x.actionColumns, (d) => ($(), ie("div", {
|
|
2782
|
+
key: `header-${d}`,
|
|
2783
2783
|
class: "text-center text-sm font-semibold text-fm-color-typo-primary"
|
|
2784
|
-
}, Oe(H(b)(
|
|
2784
|
+
}, Oe(H(b)(d)), 1))), 128))
|
|
2785
2785
|
], 4),
|
|
2786
2786
|
ae("div", {
|
|
2787
2787
|
class: "grid items-center bg-fm-color-neutral-gray-100 px-12 py-8",
|
|
@@ -2791,80 +2791,80 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
2791
2791
|
}, [
|
|
2792
2792
|
ae("div", {
|
|
2793
2793
|
class: "cursor-pointer font-semibold",
|
|
2794
|
-
onClick: (
|
|
2794
|
+
onClick: (d) => !e.disable && H(g)(x)
|
|
2795
2795
|
}, Oe(H(l)("team.labels.all")), 9, Go),
|
|
2796
|
-
ae("div",
|
|
2797
|
-
ue(
|
|
2796
|
+
ae("div", Yo, [
|
|
2797
|
+
ue(B, {
|
|
2798
2798
|
"model-value": H(u)(x),
|
|
2799
2799
|
indeterminate: H(i)(x),
|
|
2800
2800
|
value: !0,
|
|
2801
2801
|
disabled: e.disable,
|
|
2802
2802
|
size: "sm",
|
|
2803
2803
|
dense: "",
|
|
2804
|
-
"onUpdate:modelValue": (
|
|
2804
|
+
"onUpdate:modelValue": (d) => H(g)(x)
|
|
2805
2805
|
}, null, 8, ["model-value", "indeterminate", "disabled", "onUpdate:modelValue"])
|
|
2806
2806
|
]),
|
|
2807
|
-
(
|
|
2808
|
-
key: `all-${
|
|
2807
|
+
($(!0), ie(Re, null, ye(x.actionColumns, (d) => ($(), ie("div", {
|
|
2808
|
+
key: `all-${d}`,
|
|
2809
2809
|
class: "flex justify-center"
|
|
2810
2810
|
}, [
|
|
2811
|
-
ue(
|
|
2812
|
-
"model-value": H(h)(x,
|
|
2813
|
-
indeterminate: H(S)(x,
|
|
2814
|
-
value:
|
|
2811
|
+
ue(B, {
|
|
2812
|
+
"model-value": H(h)(x, d),
|
|
2813
|
+
indeterminate: H(S)(x, d),
|
|
2814
|
+
value: d,
|
|
2815
2815
|
disabled: e.disable,
|
|
2816
2816
|
size: "sm",
|
|
2817
2817
|
dense: "",
|
|
2818
|
-
"onUpdate:modelValue": (
|
|
2818
|
+
"onUpdate:modelValue": (N) => H(c)(x, d, N)
|
|
2819
2819
|
}, null, 8, ["model-value", "indeterminate", "value", "disabled", "onUpdate:modelValue"])
|
|
2820
2820
|
]))), 128))
|
|
2821
2821
|
], 4),
|
|
2822
2822
|
A[1] || (A[1] = ae("div", { class: "h-px bg-fm-color-neutral-gray-200" }, null, -1)),
|
|
2823
|
-
(
|
|
2824
|
-
key:
|
|
2823
|
+
($(!0), ie(Re, null, ye(x.options, (d) => ($(), ie("div", {
|
|
2824
|
+
key: d.optionKey,
|
|
2825
2825
|
class: "grid items-center rounded px-12 py-8 transition-colors hover:bg-fm-color-neutral-gray-100",
|
|
2826
2826
|
style: nt({
|
|
2827
2827
|
gridTemplateColumns: `minmax(0, 1fr) repeat(${x.actionColumns.length + 1}, 80px)`
|
|
2828
2828
|
})
|
|
2829
2829
|
}, [
|
|
2830
|
-
ae("div",
|
|
2830
|
+
ae("div", Zo, [
|
|
2831
2831
|
ae("span", {
|
|
2832
2832
|
class: "block truncate cursor-pointer",
|
|
2833
|
-
title:
|
|
2834
|
-
onClick: (
|
|
2835
|
-
}, Oe(
|
|
2836
|
-
Se(R.$slots, `checkbox-${
|
|
2837
|
-
option:
|
|
2838
|
-
isEffectiveSelected: p(x,
|
|
2839
|
-
isCoveredByCover: H(w)(x,
|
|
2833
|
+
title: d.label,
|
|
2834
|
+
onClick: (N) => !e.disable && !H(w)(x, d.value) && H(C)(x, d.value, !H(E)(x, d.value))
|
|
2835
|
+
}, Oe(d.label), 9, Xo),
|
|
2836
|
+
Se(R.$slots, `checkbox-${d.value}-append`, {
|
|
2837
|
+
option: d,
|
|
2838
|
+
isEffectiveSelected: p(x, d.value),
|
|
2839
|
+
isCoveredByCover: H(w)(x, d.value) || x.actionColumns.some((N) => H(L)(x, d.value, N))
|
|
2840
2840
|
}),
|
|
2841
|
-
Se(R.$slots, `checkbox-${
|
|
2842
|
-
option:
|
|
2843
|
-
isEffectiveSelected: p(x,
|
|
2844
|
-
isCoveredByCover: H(w)(x,
|
|
2841
|
+
Se(R.$slots, `checkbox-${d.value}-icon`, {
|
|
2842
|
+
option: d,
|
|
2843
|
+
isEffectiveSelected: p(x, d.value),
|
|
2844
|
+
isCoveredByCover: H(w)(x, d.value) || x.actionColumns.some((N) => H(L)(x, d.value, N))
|
|
2845
2845
|
})
|
|
2846
2846
|
]),
|
|
2847
|
-
ae("div",
|
|
2848
|
-
ue(
|
|
2849
|
-
"model-value": H(
|
|
2850
|
-
value:
|
|
2851
|
-
disabled: e.disable || H(w)(x,
|
|
2852
|
-
indeterminate: H(T)(x,
|
|
2847
|
+
ae("div", Bo, [
|
|
2848
|
+
ue(B, {
|
|
2849
|
+
"model-value": H(E)(x, d.value) || H(w)(x, d.value),
|
|
2850
|
+
value: d.value,
|
|
2851
|
+
disabled: e.disable || H(w)(x, d.value),
|
|
2852
|
+
indeterminate: H(T)(x, d.value),
|
|
2853
2853
|
size: "sm",
|
|
2854
|
-
"onUpdate:modelValue": (
|
|
2854
|
+
"onUpdate:modelValue": (N) => H(C)(x, d.value, N)
|
|
2855
2855
|
}, null, 8, ["model-value", "value", "disabled", "indeterminate", "onUpdate:modelValue"])
|
|
2856
2856
|
]),
|
|
2857
|
-
(
|
|
2858
|
-
key: `${
|
|
2857
|
+
($(!0), ie(Re, null, ye(x.actionColumns, (N) => ($(), ie("div", {
|
|
2858
|
+
key: `${d.optionKey}-${N}`,
|
|
2859
2859
|
class: "flex justify-center"
|
|
2860
2860
|
}, [
|
|
2861
|
-
H(D)(x,
|
|
2861
|
+
H(D)(x, d.value, N) ? ($(), Ce(B, {
|
|
2862
2862
|
key: 0,
|
|
2863
|
-
"model-value": H(F)(x,
|
|
2864
|
-
value:
|
|
2865
|
-
disabled: e.disable || H(L)(x,
|
|
2863
|
+
"model-value": H(F)(x, d.value, N) || H(L)(x, d.value, N),
|
|
2864
|
+
value: N,
|
|
2865
|
+
disabled: e.disable || H(L)(x, d.value, N),
|
|
2866
2866
|
size: "sm",
|
|
2867
|
-
"onUpdate:modelValue": (U) => H(f)(
|
|
2867
|
+
"onUpdate:modelValue": (U) => H(f)(d.value, N, U)
|
|
2868
2868
|
}, null, 8, ["model-value", "value", "disabled", "onUpdate:modelValue"])) : Me("", !0)
|
|
2869
2869
|
]))), 128))
|
|
2870
2870
|
], 4))), 128))
|
|
@@ -2875,7 +2875,7 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
2875
2875
|
]);
|
|
2876
2876
|
};
|
|
2877
2877
|
}
|
|
2878
|
-
}),
|
|
2878
|
+
}), Jo = { class: "space-y-16" }, $o = {
|
|
2879
2879
|
key: 0,
|
|
2880
2880
|
class: "flex fm-typo-en-title-sm-600"
|
|
2881
2881
|
}, Ko = {
|
|
@@ -2899,11 +2899,11 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
2899
2899
|
},
|
|
2900
2900
|
setup(e) {
|
|
2901
2901
|
const t = e;
|
|
2902
|
-
return (n, r) => (
|
|
2902
|
+
return (n, r) => ($(), ie("div", Jo, [
|
|
2903
2903
|
Se(n.$slots, "top", {}, () => [
|
|
2904
|
-
t.title ? (
|
|
2904
|
+
t.title ? ($(), ie("div", $o, [
|
|
2905
2905
|
ae("div", null, [
|
|
2906
|
-
t.required ? (
|
|
2906
|
+
t.required ? ($(), ie("span", Ko, "*")) : Me("", !0),
|
|
2907
2907
|
_r(Oe(t.title), 1)
|
|
2908
2908
|
]),
|
|
2909
2909
|
Se(n.$slots, "title-right")
|
|
@@ -2975,14 +2975,14 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
2975
2975
|
},
|
|
2976
2976
|
emits: ["update:model-value"],
|
|
2977
2977
|
setup(e, { emit: t }) {
|
|
2978
|
-
const n = e, r = t, { t: l } = He(), a = rt(!1),
|
|
2978
|
+
const n = e, r = t, { t: l } = He(), a = rt(!1), m = pr(), 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-${Lr(6)}`, g = z(() => u.value !== !0), E = z(
|
|
2979
2979
|
() => n.modelValue.filter((L) => n.options.some((D) => D.value === L))
|
|
2980
2980
|
), T = z(
|
|
2981
2981
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
2982
|
-
),
|
|
2982
|
+
), C = z(() => n.options.length > 0 && n.options.length === E.value.length);
|
|
2983
2983
|
function F() {
|
|
2984
|
-
const L = n.modelValue.filter((D) => !
|
|
2985
|
-
if (
|
|
2984
|
+
const L = n.modelValue.filter((D) => !E.value.includes(D));
|
|
2985
|
+
if (C.value === !0)
|
|
2986
2986
|
r("update:model-value", L);
|
|
2987
2987
|
else {
|
|
2988
2988
|
const D = n.includeDisabledOptionsWhenSelectAll ? n.options.map((f) => f.value) : n.options.filter((f) => !f.disabled).map((f) => f.value);
|
|
@@ -2995,18 +2995,18 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
2995
2995
|
}
|
|
2996
2996
|
return (L, D) => {
|
|
2997
2997
|
const f = we("FmCheckbox");
|
|
2998
|
-
return
|
|
2998
|
+
return $(), Ce(Qo, {
|
|
2999
2999
|
id: i,
|
|
3000
3000
|
title: e.title,
|
|
3001
3001
|
required: !1
|
|
3002
3002
|
}, {
|
|
3003
|
-
top:
|
|
3003
|
+
top: me(() => [
|
|
3004
3004
|
Se(L.$slots, "top")
|
|
3005
3005
|
]),
|
|
3006
|
-
default:
|
|
3007
|
-
n.showAllToggle ? (
|
|
3006
|
+
default: me(() => [
|
|
3007
|
+
n.showAllToggle ? ($(), Ce(f, {
|
|
3008
3008
|
key: 0,
|
|
3009
|
-
"model-value":
|
|
3009
|
+
"model-value": C.value,
|
|
3010
3010
|
disabled: e.disable,
|
|
3011
3011
|
label: T.value,
|
|
3012
3012
|
style: nt(`margin-bottom: ${n.gutter}px`),
|
|
@@ -3015,7 +3015,7 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3015
3015
|
value: T.value,
|
|
3016
3016
|
"onUpdate:modelValue": F
|
|
3017
3017
|
}, null, 8, ["model-value", "disabled", "label", "style", "value"])) : Me("", !0),
|
|
3018
|
-
(
|
|
3018
|
+
($(!0), ie(Re, null, ye(e.options, (h, S) => ($(), ie("div", {
|
|
3019
3019
|
key: h.value,
|
|
3020
3020
|
style: nt(`margin-bottom: ${S < e.options.length - 1 ? n.gutter : 0}px`),
|
|
3021
3021
|
class: qe(S < e.options.length - 1 ? "q-mb-sm" : "")
|
|
@@ -3037,7 +3037,7 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3037
3037
|
selected: e.modelValue.includes(h.value)
|
|
3038
3038
|
})
|
|
3039
3039
|
]),
|
|
3040
|
-
H(
|
|
3040
|
+
H(m)[`checkbox-${h.key || h.value}-end`] && (e.modelValue.includes(h.value) || e.falsyShowSlot) ? ($(), ie("div", {
|
|
3041
3041
|
key: 0,
|
|
3042
3042
|
class: qe([{ "q-checkbox disabled": e.disable || h.disabled }, "col"])
|
|
3043
3043
|
}, [
|
|
@@ -3048,7 +3048,7 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3048
3048
|
})
|
|
3049
3049
|
], 2)) : Me("", !0)
|
|
3050
3050
|
], 2),
|
|
3051
|
-
H(
|
|
3051
|
+
H(m)[`checkbox-${h.key || h.value}-bottom`] && (e.modelValue.includes(h.value) || e.falsyShowSlot) ? ($(), ie("div", {
|
|
3052
3052
|
key: 0,
|
|
3053
3053
|
class: qe(["q-mt-sm", { "q-checkbox disabled": e.disable || h.disabled }]),
|
|
3054
3054
|
style: nt(`margin-left: ${e.bottomSlotIndent}`)
|
|
@@ -3060,7 +3060,7 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3060
3060
|
})
|
|
3061
3061
|
], 6)) : Me("", !0)
|
|
3062
3062
|
], 6))), 128)),
|
|
3063
|
-
a.value && g.value ? (
|
|
3063
|
+
a.value && g.value ? ($(), ie("div", ea, Oe(u.value), 1)) : Me("", !0)
|
|
3064
3064
|
]),
|
|
3065
3065
|
_: 3
|
|
3066
3066
|
}, 8, ["title"]);
|
|
@@ -3096,25 +3096,25 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3096
3096
|
disabled: !!n.modelValue && n.options.length > n.modelValue.length
|
|
3097
3097
|
},
|
|
3098
3098
|
...n.options.filter(
|
|
3099
|
-
(
|
|
3099
|
+
(E) => E.label.toLocaleLowerCase().includes(g.value.toLocaleLowerCase())
|
|
3100
3100
|
)
|
|
3101
|
-
]),
|
|
3102
|
-
const
|
|
3103
|
-
return
|
|
3101
|
+
]), m = z(() => n.modelValue ? n.modelValue : [ht, ...n.options.map((E) => E.value)]), u = z(() => {
|
|
3102
|
+
const E = m.value.filter((T) => T !== ht).length;
|
|
3103
|
+
return E === 0 ? "" : l("team.memberForm.permissions.allowedCount", { count: E });
|
|
3104
3104
|
});
|
|
3105
|
-
function i(
|
|
3106
|
-
const T =
|
|
3107
|
-
r("update:model-value", T ? null :
|
|
3105
|
+
function i(E) {
|
|
3106
|
+
const T = E.length === a.value.length;
|
|
3107
|
+
r("update:model-value", T ? null : E.filter((C) => C !== ht));
|
|
3108
3108
|
}
|
|
3109
3109
|
const g = rt("");
|
|
3110
|
-
return (
|
|
3111
|
-
const
|
|
3112
|
-
return
|
|
3113
|
-
title:
|
|
3110
|
+
return (E, T) => {
|
|
3111
|
+
const C = we("fm-search");
|
|
3112
|
+
return $(), Ce(Bt, { subtitle: u.value }, {
|
|
3113
|
+
title: me(() => [
|
|
3114
3114
|
ae("p", ta, Oe(H(l)("team.memberForm.permissions.manageable", { context: e.context })), 1)
|
|
3115
3115
|
]),
|
|
3116
|
-
default:
|
|
3117
|
-
e.options.length > 1 ? (
|
|
3116
|
+
default: me(() => [
|
|
3117
|
+
e.options.length > 1 ? ($(), Ce(C, {
|
|
3118
3118
|
key: 0,
|
|
3119
3119
|
modelValue: g.value,
|
|
3120
3120
|
"onUpdate:modelValue": T[0] || (T[0] = (F) => g.value = F),
|
|
@@ -3122,7 +3122,7 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3122
3122
|
placeholder: H(l)("team.memberForm.permissions.search", { context: e.context })
|
|
3123
3123
|
}, null, 8, ["modelValue", "placeholder"])) : Me("", !0),
|
|
3124
3124
|
ue(ir, {
|
|
3125
|
-
"model-value":
|
|
3125
|
+
"model-value": m.value,
|
|
3126
3126
|
options: a.value,
|
|
3127
3127
|
"show-intermediate": !1,
|
|
3128
3128
|
"show-all-toggle": !0,
|
|
@@ -3132,10 +3132,10 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3132
3132
|
class: "mt-16",
|
|
3133
3133
|
"onUpdate:modelValue": i
|
|
3134
3134
|
}, et({ _: 2 }, [
|
|
3135
|
-
|
|
3135
|
+
ye(a.value, (F) => ({
|
|
3136
3136
|
name: `checkbox-${F.value}-append`,
|
|
3137
|
-
fn:
|
|
3138
|
-
Se(
|
|
3137
|
+
fn: me(({ option: w }) => [
|
|
3138
|
+
Se(E.$slots, `checkbox-${F.value}-append`, { option: w })
|
|
3139
3139
|
])
|
|
3140
3140
|
}))
|
|
3141
3141
|
]), 1032, ["model-value", "options", "disable"])
|
|
@@ -3174,27 +3174,27 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3174
3174
|
value: bt,
|
|
3175
3175
|
disabled: !!n.modelValue && n.roles.length > n.modelValue.length
|
|
3176
3176
|
},
|
|
3177
|
-
...n.roles.map((
|
|
3178
|
-
label:
|
|
3179
|
-
value:
|
|
3180
|
-
disabled: !!g &&
|
|
3177
|
+
...n.roles.map((E) => ({
|
|
3178
|
+
label: E.name,
|
|
3179
|
+
value: E._id,
|
|
3180
|
+
disabled: !!g && E.restaurants.every(({ id: T }) => !g.includes(T))
|
|
3181
3181
|
}))
|
|
3182
3182
|
];
|
|
3183
|
-
}),
|
|
3184
|
-
const g =
|
|
3183
|
+
}), m = z(() => n.modelValue ? n.modelValue : [bt, ...n.roles.map((g) => g._id)]), u = z(() => {
|
|
3184
|
+
const g = m.value.filter((E) => E !== bt).length;
|
|
3185
3185
|
return g === 0 ? "" : l("team.memberForm.permissions.allowedCount", { count: g });
|
|
3186
3186
|
});
|
|
3187
3187
|
function i(g) {
|
|
3188
|
-
const
|
|
3189
|
-
r("update:model-value",
|
|
3188
|
+
const E = g.length === a.value.length;
|
|
3189
|
+
r("update:model-value", E ? null : g.filter((T) => T !== bt));
|
|
3190
3190
|
}
|
|
3191
|
-
return (g,
|
|
3192
|
-
title:
|
|
3191
|
+
return (g, E) => ($(), Ce(Bt, { subtitle: u.value }, {
|
|
3192
|
+
title: me(() => [
|
|
3193
3193
|
ae("p", na, Oe(H(l)("team.memberForm.permissions.roles")), 1)
|
|
3194
3194
|
]),
|
|
3195
|
-
default:
|
|
3195
|
+
default: me(() => [
|
|
3196
3196
|
ue(ir, {
|
|
3197
|
-
"model-value":
|
|
3197
|
+
"model-value": m.value,
|
|
3198
3198
|
options: a.value,
|
|
3199
3199
|
"show-intermediate": !1,
|
|
3200
3200
|
"show-all-toggle": !1,
|
|
@@ -3203,10 +3203,10 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3203
3203
|
class: "mt-16",
|
|
3204
3204
|
"onUpdate:modelValue": i
|
|
3205
3205
|
}, et({ _: 2 }, [
|
|
3206
|
-
|
|
3206
|
+
ye(a.value, (T) => ({
|
|
3207
3207
|
name: `checkbox-${T.value}-append`,
|
|
3208
|
-
fn:
|
|
3209
|
-
Se(g.$slots, `checkbox-${T.value}-append`, { option:
|
|
3208
|
+
fn: me(({ option: C }) => [
|
|
3209
|
+
Se(g.$slots, `checkbox-${T.value}-append`, { option: C })
|
|
3210
3210
|
])
|
|
3211
3211
|
}))
|
|
3212
3212
|
]), 1032, ["model-value", "options", "disable"])
|
|
@@ -3243,8 +3243,8 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3243
3243
|
setup(e, { emit: t }) {
|
|
3244
3244
|
const n = t, { t: r } = He();
|
|
3245
3245
|
return (l, a) => {
|
|
3246
|
-
const
|
|
3247
|
-
return
|
|
3246
|
+
const m = we("FmRadio"), u = we("FmRadioGroup");
|
|
3247
|
+
return $(), Ce(Nr, {
|
|
3248
3248
|
title: e.title,
|
|
3249
3249
|
builders: e.builders,
|
|
3250
3250
|
"form-value-for": e.formValueFor,
|
|
@@ -3254,34 +3254,34 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3254
3254
|
onUpdateForm: a[0] || (a[0] = (i) => n("update-form", i)),
|
|
3255
3255
|
onApply: a[1] || (a[1] = (i) => n("apply"))
|
|
3256
3256
|
}, {
|
|
3257
|
-
section:
|
|
3258
|
-
e.coverOverride.shouldShowInheritToggle(e.entry, i) ? (
|
|
3257
|
+
section: me(({ builder: i }) => [
|
|
3258
|
+
e.coverOverride.shouldShowInheritToggle(e.entry, i) ? ($(), ie("div", sa, [
|
|
3259
3259
|
ue(u, {
|
|
3260
3260
|
"model-value": e.inheritModeFor(i),
|
|
3261
3261
|
disabled: e.disable,
|
|
3262
3262
|
"onUpdate:modelValue": (g) => n("update-inherit-mode", { builder: i, mode: g })
|
|
3263
3263
|
}, {
|
|
3264
|
-
default:
|
|
3264
|
+
default: me(() => [
|
|
3265
3265
|
ae("div", null, [
|
|
3266
|
-
ue(
|
|
3266
|
+
ue(m, {
|
|
3267
3267
|
value: "inherit",
|
|
3268
3268
|
label: H(r)("team.memberForm.permissions.conditionCover.inherit", {
|
|
3269
3269
|
cover: e.coverOverride.coverLabel(e.subject)
|
|
3270
3270
|
})
|
|
3271
3271
|
}, null, 8, ["label"]),
|
|
3272
|
-
e.coverOverride.inheritedSummary(e.entry, i, e.timeZone) ? (
|
|
3272
|
+
e.coverOverride.inheritedSummary(e.entry, i, e.timeZone) ? ($(), ie("p", oa, " (" + Oe(H(r)(
|
|
3273
3273
|
e.coverOverride.inheritedSummary(e.entry, i, e.timeZone).labelKey,
|
|
3274
3274
|
e.coverOverride.inheritedSummary(e.entry, i, e.timeZone).params ?? {}
|
|
3275
3275
|
)) + ") ", 1)) : Me("", !0)
|
|
3276
3276
|
]),
|
|
3277
|
-
ue(
|
|
3277
|
+
ue(m, {
|
|
3278
3278
|
value: "custom",
|
|
3279
3279
|
label: H(r)("team.memberForm.permissions.conditionCover.custom")
|
|
3280
3280
|
}, null, 8, ["label"])
|
|
3281
3281
|
]),
|
|
3282
3282
|
_: 2
|
|
3283
3283
|
}, 1032, ["model-value", "disabled", "onUpdate:modelValue"]),
|
|
3284
|
-
e.inheritModeFor(i) === "custom" ? (
|
|
3284
|
+
e.inheritModeFor(i) === "custom" ? ($(), ie("div", aa, [
|
|
3285
3285
|
ue(nn, {
|
|
3286
3286
|
builder: i,
|
|
3287
3287
|
"model-value": e.formValueFor(i),
|
|
@@ -3289,7 +3289,7 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3289
3289
|
"onUpdate:modelValue": (g) => n("update-form", { builder: i, form: g })
|
|
3290
3290
|
}, null, 8, ["builder", "model-value", "disable", "onUpdate:modelValue"])
|
|
3291
3291
|
])) : Me("", !0)
|
|
3292
|
-
])) : (
|
|
3292
|
+
])) : ($(), Ce(nn, {
|
|
3293
3293
|
key: 1,
|
|
3294
3294
|
builder: i,
|
|
3295
3295
|
"model-value": e.formValueFor(i),
|
|
@@ -3307,7 +3307,7 @@ const Uo = { class: "flex flex-col gap-16" }, Vo = { class: "fm-typo-en-title-sm
|
|
|
3307
3307
|
}
|
|
3308
3308
|
};
|
|
3309
3309
|
function Pn(e, t) {
|
|
3310
|
-
return
|
|
3310
|
+
return Yn(e, Zn).some(
|
|
3311
3311
|
(n) => n.subject === t && !n.inverted && n.actions.includes("manage")
|
|
3312
3312
|
);
|
|
3313
3313
|
}
|
|
@@ -3315,9 +3315,9 @@ function jn(e, t) {
|
|
|
3315
3315
|
return e.some((n) => n.subject === t && n.inverted) ? e : [...e, { subject: t, actions: ["manage"], inverted: !0 }];
|
|
3316
3316
|
}
|
|
3317
3317
|
function Un(e, t, n) {
|
|
3318
|
-
const { category: r, showByFeatureFlag: l, isCategoryCover: a, ...
|
|
3318
|
+
const { category: r, showByFeatureFlag: l, isCategoryCover: a, ...m } = e;
|
|
3319
3319
|
return {
|
|
3320
|
-
...
|
|
3320
|
+
...m,
|
|
3321
3321
|
actions: t,
|
|
3322
3322
|
...n !== void 0 && { conditions: n }
|
|
3323
3323
|
};
|
|
@@ -3327,40 +3327,40 @@ function ia(e, t, n, r) {
|
|
|
3327
3327
|
e.filter((i) => !i.inverted).map((i) => i.subject)
|
|
3328
3328
|
), a = new Set(
|
|
3329
3329
|
t.filter((i) => !i.inverted).map((i) => i.subject)
|
|
3330
|
-
),
|
|
3330
|
+
), m = new Set(
|
|
3331
3331
|
n.filter((i) => !i.inverted).map((i) => i.subject)
|
|
3332
3332
|
);
|
|
3333
3333
|
let u = [...n];
|
|
3334
3334
|
for (const i of l)
|
|
3335
|
-
a.has(i) || (
|
|
3335
|
+
a.has(i) || (m.has(i) && (u = u.filter((E) => E.subject !== i)), (!m.has(i) || Pn(u, i)) && (u = jn(u, i)));
|
|
3336
3336
|
for (const i of a)
|
|
3337
3337
|
if (!l.has(i)) {
|
|
3338
|
-
const g = u.some((
|
|
3339
|
-
if (u = u.filter((
|
|
3340
|
-
const
|
|
3341
|
-
(
|
|
3338
|
+
const g = u.some((E) => E.subject === i && E.inverted);
|
|
3339
|
+
if (u = u.filter((E) => !(E.subject === i && E.inverted)), !g && !m.has(i)) {
|
|
3340
|
+
const E = t.find(
|
|
3341
|
+
(C) => C.subject === i && !C.inverted
|
|
3342
3342
|
), T = r(i);
|
|
3343
|
-
T &&
|
|
3343
|
+
T && E && u.push(Un(T, E.actions, E.conditions));
|
|
3344
3344
|
}
|
|
3345
3345
|
}
|
|
3346
3346
|
for (const i of a) {
|
|
3347
3347
|
if (!l.has(i)) continue;
|
|
3348
|
-
const g = e.find((w) => w.subject === i && !w.inverted),
|
|
3349
|
-
if (!g || !
|
|
3350
|
-
const T = new Set(g.actions),
|
|
3351
|
-
if (T.size ===
|
|
3348
|
+
const g = e.find((w) => w.subject === i && !w.inverted), E = t.find((w) => w.subject === i && !w.inverted);
|
|
3349
|
+
if (!g || !E) continue;
|
|
3350
|
+
const T = new Set(g.actions), C = new Set(E.actions);
|
|
3351
|
+
if (T.size === C.size && [...T].every((w) => C.has(w)))
|
|
3352
3352
|
continue;
|
|
3353
3353
|
const F = u.findIndex((w) => w.subject === i && !w.inverted);
|
|
3354
3354
|
if (F >= 0)
|
|
3355
3355
|
u[F] = {
|
|
3356
3356
|
...u[F],
|
|
3357
|
-
actions: Array.from(
|
|
3357
|
+
actions: Array.from(C)
|
|
3358
3358
|
};
|
|
3359
3359
|
else {
|
|
3360
3360
|
const w = r(i);
|
|
3361
|
-
w && u.push(Un(w, Array.from(
|
|
3361
|
+
w && u.push(Un(w, Array.from(C)));
|
|
3362
3362
|
}
|
|
3363
|
-
T.has("manage") && !
|
|
3363
|
+
T.has("manage") && !C.has("manage") && Pn(u, i) && (u = jn(u, i)), !T.has("manage") && C.has("manage") && (u = u.filter((w) => !(w.subject === i && w.inverted)));
|
|
3364
3364
|
}
|
|
3365
3365
|
return u;
|
|
3366
3366
|
}
|
|
@@ -3383,7 +3383,7 @@ function ua(e) {
|
|
|
3383
3383
|
const t = (e || "").toUpperCase();
|
|
3384
3384
|
return ca[t] ?? Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
3385
3385
|
}
|
|
3386
|
-
function
|
|
3386
|
+
function ma(e, t) {
|
|
3387
3387
|
return e != null && e.timezone ? e.timezone : e != null && e.timeZone ? e.timeZone : ua((e == null ? void 0 : e.country) ?? t);
|
|
3388
3388
|
}
|
|
3389
3389
|
function gt(e, t) {
|
|
@@ -3396,20 +3396,20 @@ function We(e) {
|
|
|
3396
3396
|
return;
|
|
3397
3397
|
}
|
|
3398
3398
|
}
|
|
3399
|
-
function
|
|
3399
|
+
function da(e, t) {
|
|
3400
3400
|
return e.find((n) => !n.inverted && n.subject === t);
|
|
3401
3401
|
}
|
|
3402
3402
|
function Mt(e, t) {
|
|
3403
3403
|
const n = new Set(e.actions);
|
|
3404
3404
|
return n.has(he.Action.manage) ? !0 : t.actions.every((r) => n.has(r));
|
|
3405
3405
|
}
|
|
3406
|
-
function
|
|
3406
|
+
function Zt(e, t) {
|
|
3407
3407
|
const n = We(e);
|
|
3408
3408
|
return Dt(n, [{ builder: t, formValue: t.fromCondition(void 0) }]);
|
|
3409
3409
|
}
|
|
3410
3410
|
function Vn(e, t, n) {
|
|
3411
3411
|
return {
|
|
3412
|
-
...
|
|
3412
|
+
...Zt(e, n),
|
|
3413
3413
|
...tt(We(t), n)
|
|
3414
3414
|
};
|
|
3415
3415
|
}
|
|
@@ -3421,13 +3421,13 @@ function fa(e, t, n) {
|
|
|
3421
3421
|
function a(c) {
|
|
3422
3422
|
return t.value.find((b) => b.subject === c);
|
|
3423
3423
|
}
|
|
3424
|
-
function
|
|
3424
|
+
function m(c) {
|
|
3425
3425
|
var I;
|
|
3426
3426
|
const b = l(c);
|
|
3427
3427
|
return b ? (I = a(b)) == null ? void 0 : I.label : void 0;
|
|
3428
3428
|
}
|
|
3429
3429
|
function u(c) {
|
|
3430
|
-
return
|
|
3430
|
+
return da(e.value, c);
|
|
3431
3431
|
}
|
|
3432
3432
|
function i(c, b) {
|
|
3433
3433
|
return tt(We(c), b);
|
|
@@ -3440,13 +3440,13 @@ function fa(e, t, n) {
|
|
|
3440
3440
|
const p = u(I);
|
|
3441
3441
|
return p ? Object.keys(i(p, b)).length > 0 : !1;
|
|
3442
3442
|
}
|
|
3443
|
-
function
|
|
3443
|
+
function E(c, b) {
|
|
3444
3444
|
if (!g(c, b) || r.value.has(gt(c.subject, b))) return "custom";
|
|
3445
3445
|
if (c.index === null) return "inherit";
|
|
3446
3446
|
const I = e.value[c.index], p = l(c.subject), R = p ? u(p) : void 0;
|
|
3447
3447
|
if (I && R) {
|
|
3448
|
-
const A = tt(We(I), b),
|
|
3449
|
-
if (JSON.stringify(A) === JSON.stringify(
|
|
3448
|
+
const A = tt(We(I), b), B = i(R, b);
|
|
3449
|
+
if (JSON.stringify(A) === JSON.stringify(B)) return "inherit";
|
|
3450
3450
|
}
|
|
3451
3451
|
return "custom";
|
|
3452
3452
|
}
|
|
@@ -3459,14 +3459,14 @@ function fa(e, t, n) {
|
|
|
3459
3459
|
const A = b.fromCondition(i(R, b));
|
|
3460
3460
|
return b.summarizeForm(A, { timeZone: I });
|
|
3461
3461
|
}
|
|
3462
|
-
function
|
|
3462
|
+
function C(c, b) {
|
|
3463
3463
|
if (c.index === null) return;
|
|
3464
|
-
const I = [...e.value], p = { ...I[c.index] }, R =
|
|
3465
|
-
if (A &&
|
|
3464
|
+
const I = [...e.value], p = { ...I[c.index] }, R = Zt(p, b), A = Object.keys(R).length === 0, B = l(c.subject), x = B ? u(B) : void 0, d = x ? Mt(x, p) : !1;
|
|
3465
|
+
if (A && d)
|
|
3466
3466
|
I.splice(c.index, 1);
|
|
3467
3467
|
else if (x) {
|
|
3468
|
-
const
|
|
3469
|
-
Object.keys(
|
|
3468
|
+
const N = Vn(p, x, b);
|
|
3469
|
+
Object.keys(N).length === 0 ? delete p.conditions : p.conditions = JSON.stringify(N), I[c.index] = p;
|
|
3470
3470
|
} else
|
|
3471
3471
|
A ? delete p.conditions : p.conditions = JSON.stringify(R), I[c.index] = p;
|
|
3472
3472
|
n(I);
|
|
@@ -3475,7 +3475,7 @@ function fa(e, t, n) {
|
|
|
3475
3475
|
const p = gt(c.subject, b);
|
|
3476
3476
|
if (I === "inherit") {
|
|
3477
3477
|
const A = new Set(r.value);
|
|
3478
|
-
A.delete(p), r.value = A,
|
|
3478
|
+
A.delete(p), r.value = A, C(c, b);
|
|
3479
3479
|
return;
|
|
3480
3480
|
}
|
|
3481
3481
|
const R = new Set(r.value);
|
|
@@ -3510,17 +3510,17 @@ function fa(e, t, n) {
|
|
|
3510
3510
|
return c.reduce((R, A) => {
|
|
3511
3511
|
if (A.inverted)
|
|
3512
3512
|
return R.push(A), R;
|
|
3513
|
-
const
|
|
3514
|
-
if (
|
|
3513
|
+
const B = A.subject;
|
|
3514
|
+
if (B === p || l(B) !== p)
|
|
3515
3515
|
return R.push(A), R;
|
|
3516
|
-
if (Mt(b, A) && Object.keys(
|
|
3516
|
+
if (Mt(b, A) && Object.keys(Zt(A, I)).length === 0)
|
|
3517
3517
|
return R;
|
|
3518
|
-
const
|
|
3519
|
-
if (Object.keys(
|
|
3520
|
-
const { conditions:
|
|
3518
|
+
const d = Vn(A, b, I);
|
|
3519
|
+
if (Object.keys(d).length === 0) {
|
|
3520
|
+
const { conditions: N, ...U } = A;
|
|
3521
3521
|
R.push(U);
|
|
3522
3522
|
} else
|
|
3523
|
-
R.push({ ...A, conditions: JSON.stringify(
|
|
3523
|
+
R.push({ ...A, conditions: JSON.stringify(d) });
|
|
3524
3524
|
return R;
|
|
3525
3525
|
}, []);
|
|
3526
3526
|
}
|
|
@@ -3528,7 +3528,7 @@ function fa(e, t, n) {
|
|
|
3528
3528
|
var V;
|
|
3529
3529
|
const R = [...e.value];
|
|
3530
3530
|
let A = c.index;
|
|
3531
|
-
const
|
|
3531
|
+
const B = b.toCondition(I), x = Object.keys(B).length > 0;
|
|
3532
3532
|
if (A === null && !x && !p.forceCreateRule) return;
|
|
3533
3533
|
if (A === null) {
|
|
3534
3534
|
const j = R.findIndex((G) => !G.inverted && G.subject === c.subject);
|
|
@@ -3539,8 +3539,8 @@ function fa(e, t, n) {
|
|
|
3539
3539
|
if (!G) return;
|
|
3540
3540
|
const {
|
|
3541
3541
|
category: W,
|
|
3542
|
-
showByFeatureFlag:
|
|
3543
|
-
isCategoryCover:
|
|
3542
|
+
showByFeatureFlag: Z,
|
|
3543
|
+
isCategoryCover: X,
|
|
3544
3544
|
...ne
|
|
3545
3545
|
} = G;
|
|
3546
3546
|
R.push({
|
|
@@ -3549,18 +3549,18 @@ function fa(e, t, n) {
|
|
|
3549
3549
|
}), A = R.length - 1;
|
|
3550
3550
|
}
|
|
3551
3551
|
}
|
|
3552
|
-
const
|
|
3553
|
-
|
|
3554
|
-
.../* @__PURE__ */ new Set([...
|
|
3552
|
+
const d = { ...R[A] };
|
|
3553
|
+
d.actions = [
|
|
3554
|
+
.../* @__PURE__ */ new Set([...d.actions, ...c.actions])
|
|
3555
3555
|
];
|
|
3556
|
-
const
|
|
3557
|
-
if (Object.keys(U).length === 0 ? delete
|
|
3556
|
+
const N = We(d), U = Dt(N, [{ builder: b, formValue: I }]);
|
|
3557
|
+
if (Object.keys(U).length === 0 ? delete d.conditions : d.conditions = JSON.stringify(U), R[A] = d, sn(c.subject, t.value)) {
|
|
3558
3558
|
const j = L(c.subject, b), G = () => {
|
|
3559
|
-
var
|
|
3560
|
-
D(c.subject, b), n(f(R,
|
|
3559
|
+
var Z;
|
|
3560
|
+
D(c.subject, b), n(f(R, d, b)), (Z = p.afterCommit) == null || Z.call(p);
|
|
3561
3561
|
}, W = () => {
|
|
3562
|
-
var
|
|
3563
|
-
n(R), (
|
|
3562
|
+
var Z;
|
|
3563
|
+
n(R), (Z = p.afterCommit) == null || Z.call(p);
|
|
3564
3564
|
};
|
|
3565
3565
|
if (j.length === 0) {
|
|
3566
3566
|
G();
|
|
@@ -3574,74 +3574,74 @@ function fa(e, t, n) {
|
|
|
3574
3574
|
function S(c, b, I = {}) {
|
|
3575
3575
|
if (b.length === 0) return;
|
|
3576
3576
|
const p = [...e.value];
|
|
3577
|
-
let R = p.findIndex((j) => !j.inverted && j.subject === c.subject), A = R === -1 ? void 0 : { ...p[R] },
|
|
3577
|
+
let R = p.findIndex((j) => !j.inverted && j.subject === c.subject), A = R === -1 ? void 0 : { ...p[R] }, B = We(A ?? {}) ?? {};
|
|
3578
3578
|
for (const j of b) {
|
|
3579
3579
|
const G = j.mode === "inherit" ? j.builder.fromCondition(void 0) : j.form;
|
|
3580
|
-
|
|
3580
|
+
B = Dt(B, [{ builder: j.builder, formValue: G }]);
|
|
3581
3581
|
}
|
|
3582
3582
|
const x = b.some((j) => j.mode === "custom");
|
|
3583
|
-
if (!A && (Object.keys(
|
|
3583
|
+
if (!A && (Object.keys(B).length > 0 || x)) {
|
|
3584
3584
|
const j = t.value.find((ne) => ne.subject === c.subject);
|
|
3585
3585
|
if (!j) return;
|
|
3586
3586
|
const {
|
|
3587
3587
|
category: G,
|
|
3588
3588
|
showByFeatureFlag: W,
|
|
3589
|
-
isCategoryCover:
|
|
3590
|
-
...
|
|
3589
|
+
isCategoryCover: Z,
|
|
3590
|
+
...X
|
|
3591
3591
|
} = j;
|
|
3592
3592
|
A = {
|
|
3593
|
-
...
|
|
3594
|
-
actions: c.actions.length > 0 ? c.actions :
|
|
3593
|
+
...X,
|
|
3594
|
+
actions: c.actions.length > 0 ? c.actions : X.actions
|
|
3595
3595
|
}, p.push(A), R = p.length - 1;
|
|
3596
3596
|
}
|
|
3597
3597
|
if (A) {
|
|
3598
3598
|
const j = l(c.subject), G = j ? u(j) : void 0;
|
|
3599
|
-
if (!x && Object.keys(
|
|
3599
|
+
if (!x && Object.keys(B).length === 0 && !!G && Mt(G, A))
|
|
3600
3600
|
p.splice(R, 1), A = void 0;
|
|
3601
3601
|
else {
|
|
3602
3602
|
if (A.actions = [
|
|
3603
3603
|
.../* @__PURE__ */ new Set([...A.actions, ...c.actions])
|
|
3604
3604
|
], G)
|
|
3605
|
-
for (const
|
|
3606
|
-
|
|
3607
|
-
...
|
|
3608
|
-
...tt(We(G),
|
|
3605
|
+
for (const Z of b)
|
|
3606
|
+
Z.mode === "inherit" && (B = {
|
|
3607
|
+
...B,
|
|
3608
|
+
...tt(We(G), Z.builder)
|
|
3609
3609
|
});
|
|
3610
|
-
Object.keys(
|
|
3610
|
+
Object.keys(B).length === 0 ? delete A.conditions : A.conditions = JSON.stringify(B), p[R] = A;
|
|
3611
3611
|
}
|
|
3612
3612
|
}
|
|
3613
|
-
const
|
|
3613
|
+
const d = () => {
|
|
3614
3614
|
const j = new Set(r.value);
|
|
3615
3615
|
for (const G of b) {
|
|
3616
3616
|
const W = gt(c.subject, G.builder);
|
|
3617
3617
|
G.mode === "custom" ? j.add(W) : j.delete(W);
|
|
3618
3618
|
}
|
|
3619
3619
|
r.value = j;
|
|
3620
|
-
},
|
|
3620
|
+
}, N = (j) => {
|
|
3621
3621
|
var G;
|
|
3622
|
-
|
|
3622
|
+
d(), n(j), (G = I.afterCommit) == null || G.call(I);
|
|
3623
3623
|
};
|
|
3624
3624
|
if (!sn(c.subject, t.value) || !A) {
|
|
3625
|
-
|
|
3625
|
+
N(p);
|
|
3626
3626
|
return;
|
|
3627
3627
|
}
|
|
3628
3628
|
const U = b.map((j) => j.builder).filter((j) => L(c.subject, j).length > 0), V = () => {
|
|
3629
3629
|
let j = p;
|
|
3630
3630
|
for (const G of b.map((W) => W.builder))
|
|
3631
3631
|
D(c.subject, G), j = f(j, A, G);
|
|
3632
|
-
|
|
3632
|
+
N(j);
|
|
3633
3633
|
};
|
|
3634
3634
|
if (U.length > 0 && I.onOverridesConflict) {
|
|
3635
|
-
I.onOverridesConflict({ override: V, keep: () =>
|
|
3635
|
+
I.onOverridesConflict({ override: V, keep: () => N(p) });
|
|
3636
3636
|
return;
|
|
3637
3637
|
}
|
|
3638
|
-
U.length > 0 ?
|
|
3638
|
+
U.length > 0 ? N(p) : V();
|
|
3639
3639
|
}
|
|
3640
3640
|
return {
|
|
3641
3641
|
getCoverSubject: l,
|
|
3642
|
-
coverLabel:
|
|
3642
|
+
coverLabel: m,
|
|
3643
3643
|
shouldShowInheritToggle: g,
|
|
3644
|
-
inheritMode:
|
|
3644
|
+
inheritMode: E,
|
|
3645
3645
|
setInheritMode: F,
|
|
3646
3646
|
inheritedSummary: T,
|
|
3647
3647
|
getEffectiveActions: w,
|
|
@@ -3649,7 +3649,7 @@ function fa(e, t, n) {
|
|
|
3649
3649
|
applyConditionDrafts: S
|
|
3650
3650
|
};
|
|
3651
3651
|
}
|
|
3652
|
-
const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, va = { class: "h-[24px] w-[24px] flex items-center justify-center" }, ha = { class: "h-[24px] w-[24px] flex items-center justify-center" }, ba = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, ga = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Ia = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" },
|
|
3652
|
+
const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, va = { class: "h-[24px] w-[24px] flex items-center justify-center" }, ha = { class: "h-[24px] w-[24px] flex items-center justify-center" }, ba = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, ga = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Ia = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, Ea = "condition-form-select-menu", Fa = /* @__PURE__ */ Le({
|
|
3653
3653
|
__name: "PortalPermissionEditor",
|
|
3654
3654
|
props: /* @__PURE__ */ tn({
|
|
3655
3655
|
disable: {
|
|
@@ -3666,18 +3666,18 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3666
3666
|
}),
|
|
3667
3667
|
emits: /* @__PURE__ */ tn(["permissionChanged"], ["update:modelValue"]),
|
|
3668
3668
|
setup(e, { emit: t }) {
|
|
3669
|
-
const n = vr(e, "modelValue"), r = e, l = t, { t: a } = He(),
|
|
3670
|
-
fetchCustomReportPermissions:
|
|
3669
|
+
const n = vr(e, "modelValue"), r = e, l = t, { t: a } = He(), m = hr(), u = br(), { breakpoints: i } = gr(), g = z(() => i.value.xs || i.value.sm), {
|
|
3670
|
+
fetchCustomReportPermissions: E,
|
|
3671
3671
|
customReportPermissions: T
|
|
3672
|
-
} = Ir(),
|
|
3672
|
+
} = Ir(), C = z(() => [
|
|
3673
3673
|
...Gn,
|
|
3674
3674
|
...T.value
|
|
3675
3675
|
]), F = z(() => {
|
|
3676
|
-
const O =
|
|
3677
|
-
return
|
|
3676
|
+
const O = m.currentBusiness.value, s = m.currentCountry.value, o = s instanceof Object ? s.code : s;
|
|
3677
|
+
return ma(O, o);
|
|
3678
3678
|
});
|
|
3679
3679
|
function w(O) {
|
|
3680
|
-
return
|
|
3680
|
+
return C.value.find((s) => s.subject === O);
|
|
3681
3681
|
}
|
|
3682
3682
|
function L(O, s) {
|
|
3683
3683
|
return rn(O).filter(
|
|
@@ -3688,8 +3688,8 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3688
3688
|
);
|
|
3689
3689
|
}
|
|
3690
3690
|
const D = z(() => {
|
|
3691
|
-
const O =
|
|
3692
|
-
return
|
|
3691
|
+
const O = C.value.filter((o) => !c.includes(o.subject)).map((o) => o.subject);
|
|
3692
|
+
return Er(
|
|
3693
3693
|
r.inheritPermissions.map((o) => ({
|
|
3694
3694
|
...o,
|
|
3695
3695
|
permissions: o.permissions.filter((_) => O.includes(_.subject))
|
|
@@ -3720,7 +3720,7 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3720
3720
|
return At(
|
|
3721
3721
|
O,
|
|
3722
3722
|
"restaurantId",
|
|
3723
|
-
|
|
3723
|
+
B.value.map((s) => s._id)
|
|
3724
3724
|
);
|
|
3725
3725
|
}), S = z(() => {
|
|
3726
3726
|
const O = r.inheritPermissions.map((s) => ({
|
|
@@ -3764,15 +3764,15 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3764
3764
|
}
|
|
3765
3765
|
return o;
|
|
3766
3766
|
}
|
|
3767
|
-
const { restaurants:
|
|
3767
|
+
const { restaurants: B } = m, x = Mr().roles, d = z(() => B.value.map((O) => ({
|
|
3768
3768
|
label: `${O.profile.code ? O.profile.code + "-" : ""}${O.profile.name}`,
|
|
3769
3769
|
value: O._id
|
|
3770
|
-
}))),
|
|
3770
|
+
}))), N = z(() => B.value.reduce((O, s) => (O[s._id] = x.value.filter((o) => o.restaurants.some((_) => _.id === s._id)).map((o) => o._id), O), {})), U = z(() => yr(n.value));
|
|
3771
3771
|
function V(O) {
|
|
3772
3772
|
const s = G(n.value, O);
|
|
3773
3773
|
n.value = s;
|
|
3774
3774
|
}
|
|
3775
|
-
const j = z(() =>
|
|
3775
|
+
const j = z(() => Cr(n.value));
|
|
3776
3776
|
function G(O, s) {
|
|
3777
3777
|
var _;
|
|
3778
3778
|
let o = It(
|
|
@@ -3795,9 +3795,9 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3795
3795
|
}
|
|
3796
3796
|
if (s) {
|
|
3797
3797
|
const k = [
|
|
3798
|
-
...new Set(s.map((P) =>
|
|
3798
|
+
...new Set(s.map((P) => N.value[P]).flatMap((P) => P))
|
|
3799
3799
|
], M = x.value.map((P) => P._id);
|
|
3800
|
-
k.length !== M.length && (o =
|
|
3800
|
+
k.length !== M.length && (o = Z(
|
|
3801
3801
|
o,
|
|
3802
3802
|
(_ = j.value || M) == null ? void 0 : _.filter((P) => k.includes(P))
|
|
3803
3803
|
));
|
|
@@ -3805,10 +3805,10 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3805
3805
|
return o;
|
|
3806
3806
|
}
|
|
3807
3807
|
function W(O) {
|
|
3808
|
-
const s =
|
|
3808
|
+
const s = Z(n.value, O);
|
|
3809
3809
|
n.value = s;
|
|
3810
3810
|
}
|
|
3811
|
-
function
|
|
3811
|
+
function Z(O, s) {
|
|
3812
3812
|
let o = It(
|
|
3813
3813
|
O.filter((_) => _.subject !== he.Subject.Business.role)
|
|
3814
3814
|
);
|
|
@@ -3825,12 +3825,12 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3825
3825
|
xn(async () => {
|
|
3826
3826
|
await Promise.all([
|
|
3827
3827
|
la.readWarehouses().then((O) => I.value = O),
|
|
3828
|
-
|
|
3828
|
+
E()
|
|
3829
3829
|
]);
|
|
3830
3830
|
});
|
|
3831
|
-
const
|
|
3831
|
+
const X = z(() => Yn(
|
|
3832
3832
|
n.value,
|
|
3833
|
-
|
|
3833
|
+
Zn
|
|
3834
3834
|
).filter((o) => {
|
|
3835
3835
|
const _ = o.source;
|
|
3836
3836
|
return (_ == null ? void 0 : _.type) !== "systemPermissionSet" ? !0 : o.actions.includes("manage");
|
|
@@ -3845,17 +3845,17 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3845
3845
|
}));
|
|
3846
3846
|
function ne(O) {
|
|
3847
3847
|
n.value = ia(
|
|
3848
|
-
|
|
3848
|
+
X.value,
|
|
3849
3849
|
O,
|
|
3850
3850
|
n.value,
|
|
3851
3851
|
w
|
|
3852
3852
|
);
|
|
3853
3853
|
}
|
|
3854
3854
|
const Q = z(() => new Set(
|
|
3855
|
-
|
|
3855
|
+
C.value.filter((O) => rn(O.subject).length > 0).map((O) => O.subject)
|
|
3856
3856
|
)), _e = z(() => {
|
|
3857
3857
|
const O = /* @__PURE__ */ new Map();
|
|
3858
|
-
return
|
|
3858
|
+
return X.value.map((s) => ({
|
|
3859
3859
|
rule: s,
|
|
3860
3860
|
index: n.value.findIndex(
|
|
3861
3861
|
(o) => !o.inverted && o.subject === s.subject
|
|
@@ -3882,7 +3882,7 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3882
3882
|
}))
|
|
3883
3883
|
});
|
|
3884
3884
|
}), O;
|
|
3885
|
-
}), ce = fa(n,
|
|
3885
|
+
}), ce = fa(n, C, (O) => {
|
|
3886
3886
|
n.value = O;
|
|
3887
3887
|
}), se = Tr(n), fe = rt(null);
|
|
3888
3888
|
function q(O, s) {
|
|
@@ -3924,7 +3924,7 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3924
3924
|
}
|
|
3925
3925
|
);
|
|
3926
3926
|
}
|
|
3927
|
-
function
|
|
3927
|
+
function $e(O, s, o) {
|
|
3928
3928
|
const _ = se.getDraft({
|
|
3929
3929
|
subject: O.subject,
|
|
3930
3930
|
builderKey: s.builderKey
|
|
@@ -3952,18 +3952,18 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3952
3952
|
afterCommit: () => {
|
|
3953
3953
|
se.clearDraftsForSubject(O.subject), s();
|
|
3954
3954
|
},
|
|
3955
|
-
onOverridesConflict:
|
|
3955
|
+
onOverridesConflict: Ze(O).onOverridesConflict
|
|
3956
3956
|
});
|
|
3957
3957
|
}
|
|
3958
3958
|
function Fe(O) {
|
|
3959
3959
|
return O.sections.some((s) => ce.shouldShowInheritToggle(O, s.builder) ? ce.inheritMode(O, s.builder) === "custom" : Object.keys(s.builder.toCondition(s.formValue)).length > 0);
|
|
3960
3960
|
}
|
|
3961
|
-
let
|
|
3962
|
-
function
|
|
3961
|
+
let Ne = !1;
|
|
3962
|
+
function Ze(O, s = {}) {
|
|
3963
3963
|
return {
|
|
3964
3964
|
...s,
|
|
3965
3965
|
onOverridesConflict: ({ override: o, keep: _ }) => {
|
|
3966
|
-
|
|
3966
|
+
Ne || (Ne = !0, u.open({
|
|
3967
3967
|
title: a("team.memberForm.permissions.conditionCover.confirmTitle"),
|
|
3968
3968
|
message: a("team.memberForm.permissions.conditionCover.confirmMessage", {
|
|
3969
3969
|
cover: O.label
|
|
@@ -3979,11 +3979,11 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3979
3979
|
close: !1
|
|
3980
3980
|
}
|
|
3981
3981
|
}).onPrimary(() => {
|
|
3982
|
-
o(),
|
|
3982
|
+
o(), Ne = !1, u.close();
|
|
3983
3983
|
}).onSecondary(() => {
|
|
3984
|
-
_(),
|
|
3984
|
+
_(), Ne = !1, u.close();
|
|
3985
3985
|
}).onClose(() => {
|
|
3986
|
-
|
|
3986
|
+
Ne = !1;
|
|
3987
3987
|
}));
|
|
3988
3988
|
}
|
|
3989
3989
|
};
|
|
@@ -3996,25 +3996,25 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3996
3996
|
{ deep: !0 }
|
|
3997
3997
|
), (O, s) => {
|
|
3998
3998
|
const o = we("FmIcon"), _ = we("FmBottomSheet"), k = we("FmPopover");
|
|
3999
|
-
return
|
|
3999
|
+
return $(), ie("div", _a, [
|
|
4000
4000
|
ae("div", pa, [
|
|
4001
4001
|
ue(Ho, {
|
|
4002
|
-
"model-value":
|
|
4002
|
+
"model-value": X.value,
|
|
4003
4003
|
"excluded-subjects": c,
|
|
4004
4004
|
"additional-permissions": H(T),
|
|
4005
4005
|
"onUpdate:modelValue": ne
|
|
4006
4006
|
}, et({ _: 2 }, [
|
|
4007
|
-
|
|
4007
|
+
ye(D.value, (M) => ({
|
|
4008
4008
|
name: `checkbox-${M.id}-append`,
|
|
4009
|
-
fn:
|
|
4009
|
+
fn: me(() => [
|
|
4010
4010
|
ue(vt, { item: M }, null, 8, ["item"])
|
|
4011
4011
|
])
|
|
4012
4012
|
})),
|
|
4013
|
-
|
|
4013
|
+
ye(Q.value, (M) => ({
|
|
4014
4014
|
name: `checkbox-${M}-icon`,
|
|
4015
|
-
fn:
|
|
4016
|
-
v && q(M, P.label) ? (
|
|
4017
|
-
g.value ? (
|
|
4015
|
+
fn: me(({ option: P, isEffectiveSelected: v }) => [
|
|
4016
|
+
v && q(M, P.label) ? ($(), ie(Re, { key: 0 }, [
|
|
4017
|
+
g.value ? ($(), Ce(_, {
|
|
4018
4018
|
key: 0,
|
|
4019
4019
|
"model-value": fe.value === M,
|
|
4020
4020
|
header: H(a)("team.memberForm.permissions.conditionTitle", {
|
|
@@ -4023,11 +4023,11 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4023
4023
|
"dismiss-away": "",
|
|
4024
4024
|
"z-index": 100,
|
|
4025
4025
|
class: "h-5 flex items-center",
|
|
4026
|
-
"onUpdate:modelValue": (
|
|
4027
|
-
fe.value =
|
|
4026
|
+
"onUpdate:modelValue": (y) => {
|
|
4027
|
+
fe.value = y ? M : null, y || H(se).clearDraftsForSubject(M);
|
|
4028
4028
|
}
|
|
4029
4029
|
}, {
|
|
4030
|
-
"bottom-sheet-button":
|
|
4030
|
+
"bottom-sheet-button": me(() => [
|
|
4031
4031
|
ae("div", va, [
|
|
4032
4032
|
ue(o, {
|
|
4033
4033
|
name: "settings",
|
|
@@ -4039,35 +4039,35 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4039
4039
|
}, null, 8, ["class"])
|
|
4040
4040
|
])
|
|
4041
4041
|
]),
|
|
4042
|
-
default:
|
|
4042
|
+
default: me(() => [
|
|
4043
4043
|
ue(Fn, {
|
|
4044
4044
|
entry: q(M, P.label),
|
|
4045
|
-
builders: q(M, P.label).sections.map((
|
|
4045
|
+
builders: q(M, P.label).sections.map((y) => y.builder),
|
|
4046
4046
|
subject: M,
|
|
4047
4047
|
"time-zone": F.value,
|
|
4048
4048
|
"cover-override": H(ce),
|
|
4049
|
-
"inherit-mode-for": (
|
|
4050
|
-
"form-value-for": (
|
|
4049
|
+
"inherit-mode-for": (y) => K(q(M, P.label), y),
|
|
4050
|
+
"form-value-for": (y) => De(q(M, P.label), y),
|
|
4051
4051
|
"has-changes": Ke(M),
|
|
4052
4052
|
disable: e.disable,
|
|
4053
4053
|
"full-width": !0,
|
|
4054
|
-
onUpdateInheritMode: ({ builder:
|
|
4055
|
-
onUpdateForm: ({ builder:
|
|
4056
|
-
onApply: (
|
|
4054
|
+
onUpdateInheritMode: ({ builder: y, mode: J }) => $e(q(M, P.label), y, J),
|
|
4055
|
+
onUpdateForm: ({ builder: y, form: J }) => pe(q(M, P.label), y, J),
|
|
4056
|
+
onApply: (y) => Ve(q(M, P.label), () => fe.value = null)
|
|
4057
4057
|
}, null, 8, ["entry", "builders", "subject", "time-zone", "cover-override", "inherit-mode-for", "form-value-for", "has-changes", "disable", "onUpdateInheritMode", "onUpdateForm", "onApply"])
|
|
4058
4058
|
]),
|
|
4059
4059
|
_: 2
|
|
4060
|
-
}, 1032, ["model-value", "header", "onUpdate:modelValue"])) : (
|
|
4060
|
+
}, 1032, ["model-value", "header", "onUpdate:modelValue"])) : ($(), Ce(k, {
|
|
4061
4061
|
key: 1,
|
|
4062
4062
|
disabled: e.disable,
|
|
4063
4063
|
"z-index": 100,
|
|
4064
|
-
"exclude-el-from-click-outside": [
|
|
4064
|
+
"exclude-el-from-click-outside": [Ea],
|
|
4065
4065
|
class: "h-5 flex items-center",
|
|
4066
|
-
onPopoverChanged: (
|
|
4067
|
-
|
|
4066
|
+
onPopoverChanged: (y) => {
|
|
4067
|
+
y || H(se).clearDraftsForSubject(M);
|
|
4068
4068
|
}
|
|
4069
4069
|
}, {
|
|
4070
|
-
"popover-button":
|
|
4070
|
+
"popover-button": me(() => [
|
|
4071
4071
|
ae("div", ha, [
|
|
4072
4072
|
ue(o, {
|
|
4073
4073
|
name: "settings",
|
|
@@ -4079,32 +4079,32 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4079
4079
|
}, null, 8, ["class"])
|
|
4080
4080
|
])
|
|
4081
4081
|
]),
|
|
4082
|
-
default:
|
|
4082
|
+
default: me(({ hide: y }) => [
|
|
4083
4083
|
ue(Fn, {
|
|
4084
4084
|
entry: q(M, P.label),
|
|
4085
|
-
builders: q(M, P.label).sections.map((
|
|
4085
|
+
builders: q(M, P.label).sections.map((J) => J.builder),
|
|
4086
4086
|
subject: M,
|
|
4087
4087
|
"time-zone": F.value,
|
|
4088
4088
|
"cover-override": H(ce),
|
|
4089
4089
|
title: H(a)("team.memberForm.permissions.conditionTitle", {
|
|
4090
4090
|
context: q(M, P.label).label
|
|
4091
4091
|
}),
|
|
4092
|
-
"inherit-mode-for": (
|
|
4093
|
-
"form-value-for": (
|
|
4092
|
+
"inherit-mode-for": (J) => K(q(M, P.label), J),
|
|
4093
|
+
"form-value-for": (J) => De(q(M, P.label), J),
|
|
4094
4094
|
"has-changes": Ke(M),
|
|
4095
4095
|
disable: e.disable,
|
|
4096
|
-
onUpdateInheritMode: ({ builder:
|
|
4096
|
+
onUpdateInheritMode: ({ builder: J, mode: le }) => $e(
|
|
4097
4097
|
q(M, P.label),
|
|
4098
|
-
|
|
4098
|
+
J,
|
|
4099
4099
|
le
|
|
4100
4100
|
),
|
|
4101
|
-
onUpdateForm: ({ builder:
|
|
4102
|
-
onApply: (
|
|
4101
|
+
onUpdateForm: ({ builder: J, form: le }) => pe(q(M, P.label), J, le),
|
|
4102
|
+
onApply: (J) => Ve(q(M, P.label), y)
|
|
4103
4103
|
}, null, 8, ["entry", "builders", "subject", "time-zone", "cover-override", "title", "inherit-mode-for", "form-value-for", "has-changes", "disable", "onUpdateInheritMode", "onUpdateForm", "onApply"])
|
|
4104
4104
|
]),
|
|
4105
4105
|
_: 2
|
|
4106
4106
|
}, 1032, ["disabled", "exclude-el-from-click-outside", "onPopoverChanged"]))
|
|
4107
|
-
], 64)) : (
|
|
4107
|
+
], 64)) : ($(), Ce(o, {
|
|
4108
4108
|
key: 1,
|
|
4109
4109
|
name: "settings",
|
|
4110
4110
|
size: "sm",
|
|
@@ -4121,9 +4121,9 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4121
4121
|
context: H(a)("team.labels.warehouse"),
|
|
4122
4122
|
"onUpdate:modelValue": R
|
|
4123
4123
|
}, et({ _: 2 }, [
|
|
4124
|
-
|
|
4124
|
+
ye(f.value, (M) => ({
|
|
4125
4125
|
name: `checkbox-${M.id}-append`,
|
|
4126
|
-
fn:
|
|
4126
|
+
fn: me(() => [
|
|
4127
4127
|
ue(vt, { item: M }, null, 8, ["item"])
|
|
4128
4128
|
])
|
|
4129
4129
|
}))
|
|
@@ -4132,13 +4132,13 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4132
4132
|
ae("div", ga, [
|
|
4133
4133
|
ue(Dn, {
|
|
4134
4134
|
"model-value": U.value,
|
|
4135
|
-
options:
|
|
4135
|
+
options: d.value,
|
|
4136
4136
|
context: H(a)("team.labels.restaurant"),
|
|
4137
4137
|
"onUpdate:modelValue": V
|
|
4138
4138
|
}, et({ _: 2 }, [
|
|
4139
|
-
|
|
4139
|
+
ye(h.value, (M) => ({
|
|
4140
4140
|
name: `checkbox-${M.id}-append`,
|
|
4141
|
-
fn:
|
|
4141
|
+
fn: me(() => [
|
|
4142
4142
|
ue(vt, { item: M }, null, 8, ["item"])
|
|
4143
4143
|
])
|
|
4144
4144
|
}))
|
|
@@ -4151,9 +4151,9 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4151
4151
|
"restaurant-ids": U.value,
|
|
4152
4152
|
"onUpdate:modelValue": W
|
|
4153
4153
|
}, et({ _: 2 }, [
|
|
4154
|
-
|
|
4154
|
+
ye(S.value, (M) => ({
|
|
4155
4155
|
name: `checkbox-${M.id}-append`,
|
|
4156
|
-
fn:
|
|
4156
|
+
fn: me(() => [
|
|
4157
4157
|
ue(vt, { item: M }, null, 8, ["item"])
|
|
4158
4158
|
])
|
|
4159
4159
|
}))
|