@feedmepos/mf-hrm-portal 2.3.0-dev.16 → 2.3.0-dev.17
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-NeNAiyOr.js → ApprovalCodeList-CQp5AXmP.js} +7 -7
- package/dist/{AuditLogList-Pv9kFjBr.js → AuditLogList-CBOp_hDR.js} +5 -5
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-DWfp8X80.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-_2_usHCJ.js} +2 -2
- package/dist/{EmployeeList-Bs9lymzV.js → EmployeeList-1vR0zMMp.js} +8 -8
- package/dist/{FormItem.vue_vue_type_script_setup_true_lang-Cb22fFWE.js → FormItem.vue_vue_type_script_setup_true_lang-NR_aWS7l.js} +1 -1
- package/dist/{GrantUserList-dTWAmoUv.js → GrantUserList-CmeAG1Gy.js} +8 -8
- package/dist/{Main-Cp40vaRW.js → Main-BUTiZtwj.js} +5 -5
- package/dist/{Main-D_iKA3Se.js → Main-DLh6VmQX.js} +8 -8
- package/dist/{Main-C_RrWM3c.js → Main-DTAb8QWQ.js} +11 -11
- package/dist/{PermissionSetList-D9uTEllI.js → PermissionSetList-BtaX2k3V.js} +7 -7
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-vbO5PdcM.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-B6dR75q1.js} +714 -714
- package/dist/{PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-BVz6q3HE.js → PortalUserSearcher.vue_vue_type_style_index_0_scoped_827dfd60_lang-DQcgZ0nF.js} +1 -1
- package/dist/{RoleList-DyoCd2jX.js → RoleList-Qyyi7w2u.js} +9 -9
- package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-EPVMITc0.js +532 -0
- package/dist/{ScheduleGeneralPage-DyIBUXY1.js → ScheduleGeneralPage-CjZ8OFnN.js} +2 -2
- package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-CJMPrPHl.js → ScheduleModal.vue_vue_type_script_setup_true_lang-KOLBDv21.js} +523 -512
- package/dist/SchedulePage-BWpgAx3a.js +18831 -0
- package/dist/{SchedulePositionPage-DE5XxDl2.js → SchedulePositionPage-Cu6rRBlZ.js} +3 -3
- package/dist/{SelectFilter-D27X9BNI.js → SelectFilter-D58Vrs_W.js} +1 -1
- package/dist/{TeamMemberList-YudsADAP.js → TeamMemberList-CC_okKtX.js} +11 -11
- package/dist/{TimesheetList-CQXDulxg.js → TimesheetList-ULjiy1OT.js} +8 -8
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-CWHjolT4.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-D9xXvYuA.js} +3 -3
- package/dist/{app-BMVAE__n.js → app-COD0IHk1.js} +8 -8
- package/dist/app.js +1 -1
- package/dist/{approval-code-DHsUgc4K.js → approval-code-BXUiojPH.js} +1 -1
- package/dist/{dayjs.min-6iMvK3bi.js → dayjs.min-jNfjc_8X.js} +1 -1
- package/dist/{employee-kAmYgyIB.js → employee-Db1gyZQZ.js} +4 -4
- package/dist/{grant-user-qzKHFTro.js → grant-user-CBJ3gEgW.js} +1 -1
- package/dist/{iteration-kNseYv0g.js → iteration-z1uPD-7T.js} +1 -1
- package/dist/{lodash-CoGtJ4ls.js → lodash-uwLYB3oL.js} +1 -1
- package/dist/{restaurant-BbYRA_IT.js → restaurant-D2mfKHaH.js} +44 -45
- package/dist/{role-BvQeAAsI.js → role-BhO6Cl-l.js} +2 -2
- package/dist/{rule-DkjcuvBR.js → rule-BZ340_dr.js} +3 -3
- package/dist/src/api/schedule/index.d.ts +6 -1
- package/dist/src/types/schedule.d.ts +1 -1
- package/dist/src/views/scheduling/components/ScheduleBoardOnboardingOverlays.vue.d.ts +1 -0
- package/dist/src/views/scheduling/components/ScheduleConfirmModal.vue.d.ts +2 -0
- package/dist/src/views/scheduling/composables/remyPrompt.d.ts +4 -4
- package/dist/src/views/scheduling/composables/useRemyAppStore.d.ts +1 -0
- package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +1 -0
- package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +4 -1
- package/dist/src/views/scheduling/composables/useScheduleCopyWeek.d.ts +3 -10
- package/dist/src/views/scheduling/composables/useScheduleEmployeePersistence.d.ts +1 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +10 -1
- package/dist/src/views/scheduling/composables/useSchedulePageClearActions.d.ts +1 -0
- package/dist/src/views/scheduling/composables/useSchedulePositions.d.ts +6 -0
- package/dist/src/views/scheduling/schedule-state.d.ts +232 -232
- package/dist/src/views/scheduling/schedule-store.d.ts +4 -0
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useAppStore-BoLkvkE2.js → useAppStore-DZCdxlCd.js} +1 -1
- package/dist/{useLoading-Ch1AUYT1.js → useLoading-Nygx2zn8.js} +1 -1
- package/dist/{useReportPermissions-CbnelOLy.js → useReportPermissions-BjkeMcNA.js} +3 -3
- package/package.json +3 -3
- package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-D0Mg9P_m.js +0 -501
- package/dist/SchedulePage-BkvOpOVt.js +0 -18757
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { getCurrentInstance as Yt, inject as ur, ref as rt, shallowRef as dr, computed as z, watch as Dt, onMounted as
|
|
2
|
-
import { useI18n as He, useCoreStore as
|
|
3
|
-
import { useDialog as
|
|
1
|
+
import { getCurrentInstance as Yt, inject as ur, ref as rt, shallowRef as dr, computed as z, watch as Dt, onMounted as Vn, onUnmounted as mr, defineComponent as Ae, h as Wn, createVNode as ue, Text as fr, Fragment as ke, resolveComponent as De, createBlock as Ne, openBlock as J, withCtx as de, createElementVNode as ae, createElementBlock as ie, toDisplayString as Oe, unref as H, renderList as ye, toRef as en, normalizeStyle as nt, renderSlot as Se, createCommentVNode as Me, createTextVNode as _r, useSlots as pr, normalizeClass as qe, createSlots as et, mergeModels as tn, useModel as vr } from "vue";
|
|
2
|
+
import { useI18n as He, useCoreStore as hr } from "@feedmepos/mf-common";
|
|
3
|
+
import { useDialog as br, useBreakpoints as gr } from "@feedmepos/ui-library";
|
|
4
4
|
import "@vue/devtools-api";
|
|
5
|
-
import { p as Zn, N as Gn, d as Ir, P as Er, w as Lt, x as yr, y as Nr } from "./rule-
|
|
6
|
-
import { _ as Xt, a as Cr, b as nn, u as Tr } from "./ConditionBuilderForm.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { u as Or, v as Sr, c as Bn, S as wt, A as tt, d as
|
|
8
|
-
import { c as It } from "./iteration-
|
|
9
|
-
import { r as
|
|
10
|
-
import { g as
|
|
11
|
-
import { u as Mr } from "./role-
|
|
5
|
+
import { p as Zn, N as Gn, d as Ir, P as Er, w as Lt, x as yr, y as Nr } from "./rule-BZ340_dr.js";
|
|
6
|
+
import { _ as Xt, a as Cr, b as nn, u as Tr } from "./ConditionBuilderForm.vue_vue_type_script_setup_true_lang-_2_usHCJ.js";
|
|
7
|
+
import { u as Or, v as Sr, c as Bn, S as wt, A as tt, d as he, k as rn, O as Lr } from "./app-COD0IHk1.js";
|
|
8
|
+
import { c as It } from "./iteration-z1uPD-7T.js";
|
|
9
|
+
import { r as Ar } from "./string-VNuQNweN.js";
|
|
10
|
+
import { g as Rr, b as kr } from "./restaurant-D2mfKHaH.js";
|
|
11
|
+
import { u as Mr } from "./role-BhO6Cl-l.js";
|
|
12
12
|
function Yn(e, t) {
|
|
13
13
|
return Array.isArray(e) ? e.includes(t) : e === t;
|
|
14
14
|
}
|
|
@@ -41,14 +41,14 @@ const xr = Object.prototype.hasOwnProperty;
|
|
|
41
41
|
function Le(e, t) {
|
|
42
42
|
return xr.call(e, t);
|
|
43
43
|
}
|
|
44
|
-
const
|
|
44
|
+
const be = Array.isArray, me = (e) => typeof e == "function", G = (e) => typeof e == "string", ve = (e) => typeof e == "boolean", te = (e) => e !== null && typeof e == "object", Vr = (e) => te(e) && me(e.then) && me(e.catch), Xn = Object.prototype.toString, Ht = (e) => Xn.call(e), ee = (e) => Ht(e) === "[object Object]", Wr = (e) => e == null ? "" : be(e) || ee(e) && e.toString === Xn ? JSON.stringify(e, null, 2) : String(e);
|
|
45
45
|
function $t(e, t = "") {
|
|
46
46
|
return e.reduce((n, r, l) => l === 0 ? n + r : n + t + r, "");
|
|
47
47
|
}
|
|
48
48
|
function Zr(e, t) {
|
|
49
49
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
50
50
|
}
|
|
51
|
-
const ft = (e) => !te(e) ||
|
|
51
|
+
const ft = (e) => !te(e) || be(e);
|
|
52
52
|
function Et(e, t) {
|
|
53
53
|
if (ft(e) || ft(t))
|
|
54
54
|
throw new Error("Invalid value");
|
|
@@ -96,8 +96,8 @@ const Pe = " ", Xr = "\r", Ee = `
|
|
|
96
96
|
function Jr(e) {
|
|
97
97
|
const t = e;
|
|
98
98
|
let n = 0, r = 1, l = 1, a = 0;
|
|
99
|
-
const d = (
|
|
100
|
-
function
|
|
99
|
+
const d = (p) => t[p] === Xr && t[p + 1] === Ee, u = (p) => t[p] === Ee, i = (p) => t[p] === $r, g = (p) => t[p] === Hr, E = (p) => d(p) || u(p) || i(p) || g(p), T = () => n, N = () => r, F = () => l, D = () => a, A = (p) => d(p) || i(p) || g(p) ? Ee : t[p], w = () => A(n), f = () => A(n + a);
|
|
100
|
+
function h() {
|
|
101
101
|
return a = 0, E(n) && (r++, l = 0), d(n) && n++, n++, l++, t[n];
|
|
102
102
|
}
|
|
103
103
|
function S() {
|
|
@@ -106,13 +106,13 @@ function Jr(e) {
|
|
|
106
106
|
function c() {
|
|
107
107
|
n = 0, r = 1, l = 1, a = 0;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
110
|
-
a =
|
|
109
|
+
function b(p = 0) {
|
|
110
|
+
a = p;
|
|
111
111
|
}
|
|
112
112
|
function I() {
|
|
113
|
-
const
|
|
114
|
-
for (;
|
|
115
|
-
|
|
113
|
+
const p = n + a;
|
|
114
|
+
for (; p !== n; )
|
|
115
|
+
h();
|
|
116
116
|
a = 0;
|
|
117
117
|
}
|
|
118
118
|
return {
|
|
@@ -120,17 +120,17 @@ function Jr(e) {
|
|
|
120
120
|
line: N,
|
|
121
121
|
column: F,
|
|
122
122
|
peekOffset: D,
|
|
123
|
-
charAt:
|
|
123
|
+
charAt: A,
|
|
124
124
|
currentChar: w,
|
|
125
125
|
currentPeek: f,
|
|
126
|
-
next:
|
|
126
|
+
next: h,
|
|
127
127
|
peek: S,
|
|
128
128
|
reset: c,
|
|
129
|
-
resetPeek:
|
|
129
|
+
resetPeek: b,
|
|
130
130
|
skipToPeek: I
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
|
-
const
|
|
133
|
+
const Ve = void 0, Kr = ".", cn = "'", zr = "tokenizer";
|
|
134
134
|
function Qr(e, t = {}) {
|
|
135
135
|
const n = t.location !== !1, r = Jr(e), l = () => r.index(), a = () => Gr(r.line(), r.column(), r.index()), d = a(), u = l(), i = {
|
|
136
136
|
currentType: 13,
|
|
@@ -145,20 +145,20 @@ function Qr(e, t = {}) {
|
|
|
145
145
|
inLinked: !1,
|
|
146
146
|
text: ""
|
|
147
147
|
}, g = () => i, { onError: E } = t;
|
|
148
|
-
function T(s, o, _, ...
|
|
148
|
+
function T(s, o, _, ...R) {
|
|
149
149
|
const M = g();
|
|
150
150
|
if (o.column += _, o.offset += _, E) {
|
|
151
|
-
const P = n ? Ft(M.startLoc, o) : null,
|
|
151
|
+
const P = n ? Ft(M.startLoc, o) : null, v = Tt(s, P, {
|
|
152
152
|
domain: zr,
|
|
153
|
-
args:
|
|
153
|
+
args: R
|
|
154
154
|
});
|
|
155
|
-
E(
|
|
155
|
+
E(v);
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
function N(s, o, _) {
|
|
159
159
|
s.endLoc = a(), s.currentType = o;
|
|
160
|
-
const
|
|
161
|
-
return n && (
|
|
160
|
+
const R = { type: o };
|
|
161
|
+
return n && (R.loc = Ft(s.startLoc, s.endLoc)), _ != null && (R.value = _), R;
|
|
162
162
|
}
|
|
163
163
|
const F = (s) => N(
|
|
164
164
|
s,
|
|
@@ -168,26 +168,26 @@ function Qr(e, t = {}) {
|
|
|
168
168
|
function D(s, o) {
|
|
169
169
|
return s.currentChar() === o ? (s.next(), o) : (T(re.EXPECTED_TOKEN, a(), 0, o), "");
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function A(s) {
|
|
172
172
|
let o = "";
|
|
173
173
|
for (; s.currentPeek() === Pe || s.currentPeek() === Ee; )
|
|
174
174
|
o += s.currentPeek(), s.peek();
|
|
175
175
|
return o;
|
|
176
176
|
}
|
|
177
177
|
function w(s) {
|
|
178
|
-
const o =
|
|
178
|
+
const o = A(s);
|
|
179
179
|
return s.skipToPeek(), o;
|
|
180
180
|
}
|
|
181
181
|
function f(s) {
|
|
182
|
-
if (s ===
|
|
182
|
+
if (s === Ve)
|
|
183
183
|
return !1;
|
|
184
184
|
const o = s.charCodeAt(0);
|
|
185
185
|
return o >= 97 && o <= 122 || // a-z
|
|
186
186
|
o >= 65 && o <= 90 || // A-Z
|
|
187
187
|
o === 95;
|
|
188
188
|
}
|
|
189
|
-
function
|
|
190
|
-
if (s ===
|
|
189
|
+
function h(s) {
|
|
190
|
+
if (s === Ve)
|
|
191
191
|
return !1;
|
|
192
192
|
const o = s.charCodeAt(0);
|
|
193
193
|
return o >= 48 && o <= 57;
|
|
@@ -196,75 +196,75 @@ function Qr(e, t = {}) {
|
|
|
196
196
|
const { currentType: _ } = o;
|
|
197
197
|
if (_ !== 2)
|
|
198
198
|
return !1;
|
|
199
|
-
|
|
200
|
-
const
|
|
201
|
-
return s.resetPeek(),
|
|
199
|
+
A(s);
|
|
200
|
+
const R = f(s.currentPeek());
|
|
201
|
+
return s.resetPeek(), R;
|
|
202
202
|
}
|
|
203
203
|
function c(s, o) {
|
|
204
204
|
const { currentType: _ } = o;
|
|
205
205
|
if (_ !== 2)
|
|
206
206
|
return !1;
|
|
207
|
-
|
|
208
|
-
const
|
|
207
|
+
A(s);
|
|
208
|
+
const R = s.currentPeek() === "-" ? s.peek() : s.currentPeek(), M = h(R);
|
|
209
209
|
return s.resetPeek(), M;
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function b(s, o) {
|
|
212
212
|
const { currentType: _ } = o;
|
|
213
213
|
if (_ !== 2)
|
|
214
214
|
return !1;
|
|
215
|
-
|
|
216
|
-
const
|
|
217
|
-
return s.resetPeek(),
|
|
215
|
+
A(s);
|
|
216
|
+
const R = s.currentPeek() === cn;
|
|
217
|
+
return s.resetPeek(), R;
|
|
218
218
|
}
|
|
219
219
|
function I(s, o) {
|
|
220
220
|
const { currentType: _ } = o;
|
|
221
221
|
if (_ !== 7)
|
|
222
222
|
return !1;
|
|
223
|
-
|
|
224
|
-
const
|
|
225
|
-
return s.resetPeek(),
|
|
223
|
+
A(s);
|
|
224
|
+
const R = s.currentPeek() === ".";
|
|
225
|
+
return s.resetPeek(), R;
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function p(s, o) {
|
|
228
228
|
const { currentType: _ } = o;
|
|
229
229
|
if (_ !== 8)
|
|
230
230
|
return !1;
|
|
231
|
-
|
|
232
|
-
const
|
|
233
|
-
return s.resetPeek(),
|
|
231
|
+
A(s);
|
|
232
|
+
const R = f(s.currentPeek());
|
|
233
|
+
return s.resetPeek(), R;
|
|
234
234
|
}
|
|
235
|
-
function
|
|
235
|
+
function k(s, o) {
|
|
236
236
|
const { currentType: _ } = o;
|
|
237
237
|
if (!(_ === 7 || _ === 11))
|
|
238
238
|
return !1;
|
|
239
|
-
|
|
240
|
-
const
|
|
241
|
-
return s.resetPeek(),
|
|
239
|
+
A(s);
|
|
240
|
+
const R = s.currentPeek() === ":";
|
|
241
|
+
return s.resetPeek(), R;
|
|
242
242
|
}
|
|
243
243
|
function L(s, o) {
|
|
244
244
|
const { currentType: _ } = o;
|
|
245
245
|
if (_ !== 9)
|
|
246
246
|
return !1;
|
|
247
|
-
const
|
|
247
|
+
const R = () => {
|
|
248
248
|
const P = s.currentPeek();
|
|
249
|
-
return P === "{" ? f(s.peek()) : P === "@" || P === "|" || P === ":" || P === "." || P === Pe || !P ? !1 : P === Ee ? (s.peek(),
|
|
250
|
-
}, M =
|
|
249
|
+
return P === "{" ? f(s.peek()) : P === "@" || P === "|" || P === ":" || P === "." || P === Pe || !P ? !1 : P === Ee ? (s.peek(), R()) : V(s, !1);
|
|
250
|
+
}, M = R();
|
|
251
251
|
return s.resetPeek(), M;
|
|
252
252
|
}
|
|
253
253
|
function X(s) {
|
|
254
|
-
|
|
254
|
+
A(s);
|
|
255
255
|
const o = s.currentPeek() === "|";
|
|
256
256
|
return s.resetPeek(), o;
|
|
257
257
|
}
|
|
258
|
-
function
|
|
258
|
+
function V(s, o = !0) {
|
|
259
259
|
const _ = (M = !1, P = "") => {
|
|
260
|
-
const
|
|
261
|
-
return
|
|
262
|
-
},
|
|
263
|
-
return o && s.resetPeek(),
|
|
260
|
+
const v = s.currentPeek();
|
|
261
|
+
return v === "{" || v === "@" || !v ? M : v === "|" ? !(P === Pe || P === Ee) : v === Pe ? (s.peek(), _(!0, Pe)) : v === Ee ? (s.peek(), _(!0, Ee)) : !0;
|
|
262
|
+
}, R = _();
|
|
263
|
+
return o && s.resetPeek(), R;
|
|
264
264
|
}
|
|
265
265
|
function m(s, o) {
|
|
266
266
|
const _ = s.currentChar();
|
|
267
|
-
return _ ===
|
|
267
|
+
return _ === Ve ? Ve : o(_) ? (s.next(), _) : null;
|
|
268
268
|
}
|
|
269
269
|
function C(s) {
|
|
270
270
|
const o = s.charCodeAt(0);
|
|
@@ -293,7 +293,7 @@ function Qr(e, t = {}) {
|
|
|
293
293
|
const o = s.charCodeAt(0);
|
|
294
294
|
return o >= 48 && o <= 57;
|
|
295
295
|
}
|
|
296
|
-
function
|
|
296
|
+
function W(s) {
|
|
297
297
|
return m(s, Z);
|
|
298
298
|
}
|
|
299
299
|
function B(s) {
|
|
@@ -307,7 +307,7 @@ function Qr(e, t = {}) {
|
|
|
307
307
|
}
|
|
308
308
|
function ne(s) {
|
|
309
309
|
let o = "", _ = "";
|
|
310
|
-
for (; o =
|
|
310
|
+
for (; o = W(s); )
|
|
311
311
|
_ += o;
|
|
312
312
|
return _;
|
|
313
313
|
}
|
|
@@ -318,7 +318,7 @@ function Qr(e, t = {}) {
|
|
|
318
318
|
if (_ === "{" || _ === "}" || _ === "@" || _ === "|" || !_)
|
|
319
319
|
break;
|
|
320
320
|
if (_ === Pe || _ === Ee)
|
|
321
|
-
if (
|
|
321
|
+
if (V(s))
|
|
322
322
|
o += _, s.next();
|
|
323
323
|
else {
|
|
324
324
|
if (X(s))
|
|
@@ -335,12 +335,12 @@ function Qr(e, t = {}) {
|
|
|
335
335
|
let o = "", _ = "";
|
|
336
336
|
for (; o = j(s); )
|
|
337
337
|
_ += o;
|
|
338
|
-
return s.currentChar() ===
|
|
338
|
+
return s.currentChar() === Ve && T(re.UNTERMINATED_CLOSING_BRACE, a(), 0), _;
|
|
339
339
|
}
|
|
340
340
|
function ce(s) {
|
|
341
341
|
w(s);
|
|
342
342
|
let o = "";
|
|
343
|
-
return s.currentChar() === "-" ? (s.next(), o += `-${ne(s)}`) : o += ne(s), s.currentChar() ===
|
|
343
|
+
return s.currentChar() === "-" ? (s.next(), o += `-${ne(s)}`) : o += ne(s), s.currentChar() === Ve && T(re.UNTERMINATED_CLOSING_BRACE, a(), 0), o;
|
|
344
344
|
}
|
|
345
345
|
function se(s) {
|
|
346
346
|
return s !== cn && s !== Ee;
|
|
@@ -350,8 +350,8 @@ function Qr(e, t = {}) {
|
|
|
350
350
|
let o = "", _ = "";
|
|
351
351
|
for (; o = m(s, se); )
|
|
352
352
|
o === "\\" ? _ += q(s) : _ += o;
|
|
353
|
-
const
|
|
354
|
-
return
|
|
353
|
+
const R = s.currentChar();
|
|
354
|
+
return R === Ee || R === Ve ? (T(re.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), R === Ee && (s.next(), D(s, "'")), _) : (D(s, "'"), _);
|
|
355
355
|
}
|
|
356
356
|
function q(s) {
|
|
357
357
|
const o = s.currentChar();
|
|
@@ -369,21 +369,21 @@ function Qr(e, t = {}) {
|
|
|
369
369
|
}
|
|
370
370
|
function we(s, o, _) {
|
|
371
371
|
D(s, o);
|
|
372
|
-
let
|
|
372
|
+
let R = "";
|
|
373
373
|
for (let M = 0; M < _; M++) {
|
|
374
374
|
const P = Y(s);
|
|
375
375
|
if (!P) {
|
|
376
|
-
T(re.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${
|
|
376
|
+
T(re.INVALID_UNICODE_ESCAPE_SEQUENCE, a(), 0, `\\${o}${R}${s.currentChar()}`);
|
|
377
377
|
break;
|
|
378
378
|
}
|
|
379
|
-
|
|
379
|
+
R += P;
|
|
380
380
|
}
|
|
381
|
-
return `\\${o}${
|
|
381
|
+
return `\\${o}${R}`;
|
|
382
382
|
}
|
|
383
383
|
function K(s) {
|
|
384
384
|
return s !== "{" && s !== "}" && s !== Pe && s !== Ee;
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function pe(s) {
|
|
387
387
|
w(s);
|
|
388
388
|
let o = "", _ = "";
|
|
389
389
|
for (; o = m(s, K); )
|
|
@@ -398,8 +398,8 @@ function Qr(e, t = {}) {
|
|
|
398
398
|
}
|
|
399
399
|
function Ke(s) {
|
|
400
400
|
const o = (_) => {
|
|
401
|
-
const
|
|
402
|
-
return
|
|
401
|
+
const R = s.currentChar();
|
|
402
|
+
return R === "{" || R === "@" || R === "|" || R === "(" || R === ")" || !R || R === Pe ? _ : (_ += R, s.next(), o(_));
|
|
403
403
|
};
|
|
404
404
|
return o("");
|
|
405
405
|
}
|
|
@@ -432,7 +432,7 @@ function Qr(e, t = {}) {
|
|
|
432
432
|
case "@":
|
|
433
433
|
return o.braceNest > 0 && T(re.UNTERMINATED_CLOSING_BRACE, a(), 0), _ = Ce(s, o) || F(o), o.braceNest = 0, _;
|
|
434
434
|
default: {
|
|
435
|
-
let M = !0, P = !0,
|
|
435
|
+
let M = !0, P = !0, v = !0;
|
|
436
436
|
if (X(s))
|
|
437
437
|
return o.braceNest > 0 && T(re.UNTERMINATED_CLOSING_BRACE, a(), 0), _ = N(o, 1, xe(s)), o.braceNest = 0, o.inLinked = !1, _;
|
|
438
438
|
if (o.braceNest > 0 && (o.currentType === 4 || o.currentType === 5 || o.currentType === 6))
|
|
@@ -441,10 +441,10 @@ function Qr(e, t = {}) {
|
|
|
441
441
|
return _ = N(o, 4, _e(s)), w(s), _;
|
|
442
442
|
if (P = c(s, o))
|
|
443
443
|
return _ = N(o, 5, ce(s)), w(s), _;
|
|
444
|
-
if (
|
|
444
|
+
if (v = b(s, o))
|
|
445
445
|
return _ = N(o, 6, fe(s)), w(s), _;
|
|
446
|
-
if (!M && !P && !
|
|
447
|
-
return _ = N(o, 12,
|
|
446
|
+
if (!M && !P && !v)
|
|
447
|
+
return _ = N(o, 12, pe(s)), T(re.INVALID_TOKEN_IN_PLACEHOLDER, a(), 0, _.value), w(s), _;
|
|
448
448
|
break;
|
|
449
449
|
}
|
|
450
450
|
}
|
|
@@ -452,16 +452,16 @@ function Qr(e, t = {}) {
|
|
|
452
452
|
}
|
|
453
453
|
function Ce(s, o) {
|
|
454
454
|
const { currentType: _ } = o;
|
|
455
|
-
let
|
|
455
|
+
let R = null;
|
|
456
456
|
const M = s.currentChar();
|
|
457
457
|
switch ((_ === 7 || _ === 8 || _ === 11 || _ === 9) && (M === Ee || M === Pe) && T(re.INVALID_LINKED_FORMAT, a(), 0), M) {
|
|
458
458
|
case "@":
|
|
459
|
-
return s.next(),
|
|
459
|
+
return s.next(), R = N(
|
|
460
460
|
o,
|
|
461
461
|
7,
|
|
462
462
|
"@"
|
|
463
463
|
/* TokenChars.LinkedAlias */
|
|
464
|
-
), o.inLinked = !0,
|
|
464
|
+
), o.inLinked = !0, R;
|
|
465
465
|
case ".":
|
|
466
466
|
return w(s), s.next(), N(
|
|
467
467
|
o,
|
|
@@ -477,7 +477,7 @@ function Qr(e, t = {}) {
|
|
|
477
477
|
/* TokenChars.LinkedDelimiter */
|
|
478
478
|
);
|
|
479
479
|
default:
|
|
480
|
-
return X(s) ? (
|
|
480
|
+
return X(s) ? (R = N(o, 1, xe(s)), o.braceNest = 0, o.inLinked = !1, R) : I(s, o) || k(s, o) ? (w(s), Ce(s, o)) : p(s, o) ? (w(s), N(o, 11, Je(s))) : L(s, o) ? (w(s), M === "{" ? Fe(s, o) || R : N(o, 10, Ke(s))) : (_ === 7 && T(re.INVALID_LINKED_FORMAT, a(), 0), o.braceNest = 0, o.inLinked = !1, Be(s, o));
|
|
481
481
|
}
|
|
482
482
|
}
|
|
483
483
|
function Be(s, o) {
|
|
@@ -504,7 +504,7 @@ function Qr(e, t = {}) {
|
|
|
504
504
|
default: {
|
|
505
505
|
if (X(s))
|
|
506
506
|
return _ = N(o, 1, xe(s)), o.braceNest = 0, o.inLinked = !1, _;
|
|
507
|
-
if (
|
|
507
|
+
if (V(s))
|
|
508
508
|
return N(o, 0, Q(s));
|
|
509
509
|
break;
|
|
510
510
|
}
|
|
@@ -512,8 +512,8 @@ function Qr(e, t = {}) {
|
|
|
512
512
|
return _;
|
|
513
513
|
}
|
|
514
514
|
function O() {
|
|
515
|
-
const { currentType: s, offset: o, startLoc: _, endLoc:
|
|
516
|
-
return i.lastType = s, i.lastOffset = o, i.lastStartLoc = _, i.lastEndLoc =
|
|
515
|
+
const { currentType: s, offset: o, startLoc: _, endLoc: R } = i;
|
|
516
|
+
return i.lastType = s, i.lastOffset = o, i.lastStartLoc = _, i.lastEndLoc = R, i.offset = l(), i.startLoc = a(), r.currentChar() === Ve ? N(
|
|
517
517
|
i,
|
|
518
518
|
13
|
|
519
519
|
/* TokenTypes.EOF */
|
|
@@ -541,76 +541,76 @@ function ts(e, t, n) {
|
|
|
541
541
|
}
|
|
542
542
|
function ns(e = {}) {
|
|
543
543
|
const t = e.location !== !1, { onError: n } = e;
|
|
544
|
-
function r(f,
|
|
544
|
+
function r(f, h, S, c, ...b) {
|
|
545
545
|
const I = f.currentPosition();
|
|
546
546
|
if (I.offset += c, I.column += c, n) {
|
|
547
|
-
const
|
|
547
|
+
const p = t ? Ft(S, I) : null, k = Tt(h, p, {
|
|
548
548
|
domain: qr,
|
|
549
|
-
args:
|
|
549
|
+
args: b
|
|
550
550
|
});
|
|
551
|
-
n(
|
|
551
|
+
n(k);
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
|
-
function l(f,
|
|
554
|
+
function l(f, h, S) {
|
|
555
555
|
const c = { type: f };
|
|
556
|
-
return t && (c.start =
|
|
556
|
+
return t && (c.start = h, c.end = h, c.loc = { start: S, end: S }), c;
|
|
557
557
|
}
|
|
558
|
-
function a(f,
|
|
559
|
-
t && (f.end =
|
|
558
|
+
function a(f, h, S, c) {
|
|
559
|
+
t && (f.end = h, f.loc && (f.loc.end = S));
|
|
560
560
|
}
|
|
561
|
-
function d(f,
|
|
561
|
+
function d(f, h) {
|
|
562
562
|
const S = f.context(), c = l(3, S.offset, S.startLoc);
|
|
563
|
-
return c.value =
|
|
563
|
+
return c.value = h, a(c, f.currentOffset(), f.currentPosition()), c;
|
|
564
564
|
}
|
|
565
|
-
function u(f,
|
|
566
|
-
const S = f.context(), { lastOffset: c, lastStartLoc:
|
|
567
|
-
return I.index = parseInt(
|
|
565
|
+
function u(f, h) {
|
|
566
|
+
const S = f.context(), { lastOffset: c, lastStartLoc: b } = S, I = l(5, c, b);
|
|
567
|
+
return I.index = parseInt(h, 10), f.nextToken(), a(I, f.currentOffset(), f.currentPosition()), I;
|
|
568
568
|
}
|
|
569
|
-
function i(f,
|
|
570
|
-
const S = f.context(), { lastOffset: c, lastStartLoc:
|
|
571
|
-
return I.key =
|
|
569
|
+
function i(f, h) {
|
|
570
|
+
const S = f.context(), { lastOffset: c, lastStartLoc: b } = S, I = l(4, c, b);
|
|
571
|
+
return I.key = h, f.nextToken(), a(I, f.currentOffset(), f.currentPosition()), I;
|
|
572
572
|
}
|
|
573
|
-
function g(f,
|
|
574
|
-
const S = f.context(), { lastOffset: c, lastStartLoc:
|
|
575
|
-
return I.value =
|
|
573
|
+
function g(f, h) {
|
|
574
|
+
const S = f.context(), { lastOffset: c, lastStartLoc: b } = S, I = l(9, c, b);
|
|
575
|
+
return I.value = h.replace(es, ts), f.nextToken(), a(I, f.currentOffset(), f.currentPosition()), I;
|
|
576
576
|
}
|
|
577
577
|
function E(f) {
|
|
578
|
-
const
|
|
579
|
-
return
|
|
580
|
-
nextConsumeToken:
|
|
578
|
+
const h = f.nextToken(), S = f.context(), { lastOffset: c, lastStartLoc: b } = S, I = l(8, c, b);
|
|
579
|
+
return h.type !== 11 ? (r(f, re.UNEXPECTED_EMPTY_LINKED_MODIFIER, S.lastStartLoc, 0), I.value = "", a(I, c, b), {
|
|
580
|
+
nextConsumeToken: h,
|
|
581
581
|
node: I
|
|
582
|
-
}) : (
|
|
582
|
+
}) : (h.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0, Re(h)), I.value = h.value || "", a(I, f.currentOffset(), f.currentPosition()), {
|
|
583
583
|
node: I
|
|
584
584
|
});
|
|
585
585
|
}
|
|
586
|
-
function T(f,
|
|
586
|
+
function T(f, h) {
|
|
587
587
|
const S = f.context(), c = l(7, S.offset, S.startLoc);
|
|
588
|
-
return c.value =
|
|
588
|
+
return c.value = h, a(c, f.currentOffset(), f.currentPosition()), c;
|
|
589
589
|
}
|
|
590
590
|
function N(f) {
|
|
591
|
-
const
|
|
591
|
+
const h = f.context(), S = l(6, h.offset, h.startLoc);
|
|
592
592
|
let c = f.nextToken();
|
|
593
593
|
if (c.type === 8) {
|
|
594
|
-
const
|
|
595
|
-
S.modifier =
|
|
594
|
+
const b = E(f);
|
|
595
|
+
S.modifier = b.node, c = b.nextConsumeToken || f.nextToken();
|
|
596
596
|
}
|
|
597
|
-
switch (c.type !== 9 && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
597
|
+
switch (c.type !== 9 && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, Re(c)), c = f.nextToken(), c.type === 2 && (c = f.nextToken()), c.type) {
|
|
598
598
|
case 10:
|
|
599
|
-
c.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
599
|
+
c.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, Re(c)), S.key = T(f, c.value || "");
|
|
600
600
|
break;
|
|
601
601
|
case 4:
|
|
602
|
-
c.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
602
|
+
c.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, Re(c)), S.key = i(f, c.value || "");
|
|
603
603
|
break;
|
|
604
604
|
case 5:
|
|
605
|
-
c.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
605
|
+
c.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, Re(c)), S.key = u(f, c.value || "");
|
|
606
606
|
break;
|
|
607
607
|
case 6:
|
|
608
|
-
c.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
608
|
+
c.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, Re(c)), S.key = g(f, c.value || "");
|
|
609
609
|
break;
|
|
610
610
|
default: {
|
|
611
|
-
r(f, re.UNEXPECTED_EMPTY_LINKED_KEY,
|
|
612
|
-
const
|
|
613
|
-
return I.value = "", a(I,
|
|
611
|
+
r(f, re.UNEXPECTED_EMPTY_LINKED_KEY, h.lastStartLoc, 0);
|
|
612
|
+
const b = f.context(), I = l(7, b.offset, b.startLoc);
|
|
613
|
+
return I.value = "", a(I, b.offset, b.startLoc), S.key = I, a(S, b.offset, b.startLoc), {
|
|
614
614
|
nextConsumeToken: c,
|
|
615
615
|
node: S
|
|
616
616
|
};
|
|
@@ -621,56 +621,56 @@ function ns(e = {}) {
|
|
|
621
621
|
};
|
|
622
622
|
}
|
|
623
623
|
function F(f) {
|
|
624
|
-
const
|
|
625
|
-
|
|
624
|
+
const h = f.context(), S = h.currentType === 1 ? f.currentOffset() : h.offset, c = h.currentType === 1 ? h.endLoc : h.startLoc, b = l(2, S, c);
|
|
625
|
+
b.items = [];
|
|
626
626
|
let I = null;
|
|
627
627
|
do {
|
|
628
628
|
const L = I || f.nextToken();
|
|
629
629
|
switch (I = null, L.type) {
|
|
630
630
|
case 0:
|
|
631
|
-
L.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
631
|
+
L.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, Re(L)), b.items.push(d(f, L.value || ""));
|
|
632
632
|
break;
|
|
633
633
|
case 5:
|
|
634
|
-
L.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
634
|
+
L.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, Re(L)), b.items.push(u(f, L.value || ""));
|
|
635
635
|
break;
|
|
636
636
|
case 4:
|
|
637
|
-
L.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
637
|
+
L.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, Re(L)), b.items.push(i(f, L.value || ""));
|
|
638
638
|
break;
|
|
639
639
|
case 6:
|
|
640
|
-
L.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS,
|
|
640
|
+
L.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, Re(L)), b.items.push(g(f, L.value || ""));
|
|
641
641
|
break;
|
|
642
642
|
case 7: {
|
|
643
643
|
const X = N(f);
|
|
644
|
-
|
|
644
|
+
b.items.push(X.node), I = X.nextConsumeToken || null;
|
|
645
645
|
break;
|
|
646
646
|
}
|
|
647
647
|
}
|
|
648
|
-
} while (
|
|
649
|
-
const
|
|
650
|
-
return a(
|
|
648
|
+
} while (h.currentType !== 13 && h.currentType !== 1);
|
|
649
|
+
const p = h.currentType === 1 ? h.lastOffset : f.currentOffset(), k = h.currentType === 1 ? h.lastEndLoc : f.currentPosition();
|
|
650
|
+
return a(b, p, k), b;
|
|
651
651
|
}
|
|
652
|
-
function D(f,
|
|
653
|
-
const
|
|
652
|
+
function D(f, h, S, c) {
|
|
653
|
+
const b = f.context();
|
|
654
654
|
let I = c.items.length === 0;
|
|
655
|
-
const
|
|
656
|
-
|
|
655
|
+
const p = l(1, h, S);
|
|
656
|
+
p.cases = [], p.cases.push(c);
|
|
657
657
|
do {
|
|
658
|
-
const
|
|
659
|
-
I || (I =
|
|
660
|
-
} while (
|
|
661
|
-
return I && r(f, re.MUST_HAVE_MESSAGES_IN_PLURAL, S, 0), a(
|
|
658
|
+
const k = F(f);
|
|
659
|
+
I || (I = k.items.length === 0), p.cases.push(k);
|
|
660
|
+
} while (b.currentType !== 13);
|
|
661
|
+
return I && r(f, re.MUST_HAVE_MESSAGES_IN_PLURAL, S, 0), a(p, f.currentOffset(), f.currentPosition()), p;
|
|
662
662
|
}
|
|
663
|
-
function
|
|
664
|
-
const
|
|
665
|
-
return
|
|
663
|
+
function A(f) {
|
|
664
|
+
const h = f.context(), { offset: S, startLoc: c } = h, b = F(f);
|
|
665
|
+
return h.currentType === 13 ? b : D(f, S, c, b);
|
|
666
666
|
}
|
|
667
667
|
function w(f) {
|
|
668
|
-
const
|
|
669
|
-
return t && c.loc && (c.loc.source = f), c.body =
|
|
668
|
+
const h = Qr(f, Ie({}, e)), S = h.context(), c = l(0, S.offset, S.startLoc);
|
|
669
|
+
return t && c.loc && (c.loc.source = f), c.body = A(h), e.onCacheKey && (c.cacheKey = e.onCacheKey(f)), S.currentType !== 13 && r(h, re.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0, f[S.offset] || ""), a(c, h.currentOffset(), h.currentPosition()), c;
|
|
670
670
|
}
|
|
671
671
|
return { parse: w };
|
|
672
672
|
}
|
|
673
|
-
function
|
|
673
|
+
function Re(e) {
|
|
674
674
|
if (e.type === 13)
|
|
675
675
|
return "EOF";
|
|
676
676
|
const t = (e.value || "").replace(/\r?\n/gu, "\\n");
|
|
@@ -823,20 +823,20 @@ function as(e, t) {
|
|
|
823
823
|
};
|
|
824
824
|
a && e.loc && (d.source = e.loc.source);
|
|
825
825
|
const u = () => d;
|
|
826
|
-
function i(
|
|
827
|
-
d.code +=
|
|
826
|
+
function i(A, w) {
|
|
827
|
+
d.code += A;
|
|
828
828
|
}
|
|
829
|
-
function g(
|
|
829
|
+
function g(A, w = !0) {
|
|
830
830
|
const f = w ? r : "";
|
|
831
|
-
i(l ? f + " ".repeat(
|
|
831
|
+
i(l ? f + " ".repeat(A) : f);
|
|
832
832
|
}
|
|
833
|
-
function E(
|
|
833
|
+
function E(A = !0) {
|
|
834
834
|
const w = ++d.indentLevel;
|
|
835
|
-
|
|
835
|
+
A && g(w);
|
|
836
836
|
}
|
|
837
|
-
function T(
|
|
837
|
+
function T(A = !0) {
|
|
838
838
|
const w = --d.indentLevel;
|
|
839
|
-
|
|
839
|
+
A && g(w);
|
|
840
840
|
}
|
|
841
841
|
function N() {
|
|
842
842
|
g(d.indentLevel);
|
|
@@ -847,7 +847,7 @@ function as(e, t) {
|
|
|
847
847
|
indent: E,
|
|
848
848
|
deindent: T,
|
|
849
849
|
newline: N,
|
|
850
|
-
helper: (
|
|
850
|
+
helper: (A) => `_${A}`,
|
|
851
851
|
needIndent: () => d.needIndent
|
|
852
852
|
};
|
|
853
853
|
}
|
|
@@ -958,11 +958,11 @@ var fs = { env: { NODE_ENV: "production" } };
|
|
|
958
958
|
function _s() {
|
|
959
959
|
typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Xe().__INTLIFY_PROD_DEVTOOLS__ = !1), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Xe().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1);
|
|
960
960
|
}
|
|
961
|
-
function
|
|
962
|
-
return (n) =>
|
|
961
|
+
function At(e) {
|
|
962
|
+
return (n) => ps(n, e);
|
|
963
963
|
}
|
|
964
|
-
function
|
|
965
|
-
const n =
|
|
964
|
+
function ps(e, t) {
|
|
965
|
+
const n = hs(t);
|
|
966
966
|
if (n == null)
|
|
967
967
|
throw it(
|
|
968
968
|
0
|
|
@@ -977,13 +977,13 @@ function bs(e, t) {
|
|
|
977
977
|
} else
|
|
978
978
|
return mn(e, n);
|
|
979
979
|
}
|
|
980
|
-
const
|
|
981
|
-
function
|
|
982
|
-
return Ze(e,
|
|
980
|
+
const vs = ["b", "body"];
|
|
981
|
+
function hs(e) {
|
|
982
|
+
return Ze(e, vs);
|
|
983
983
|
}
|
|
984
|
-
const
|
|
984
|
+
const bs = ["c", "cases"];
|
|
985
985
|
function gs(e) {
|
|
986
|
-
return Ze(e,
|
|
986
|
+
return Ze(e, bs, []);
|
|
987
987
|
}
|
|
988
988
|
function mn(e, t) {
|
|
989
989
|
const n = Es(t);
|
|
@@ -1026,7 +1026,7 @@ function Pt(e, t) {
|
|
|
1026
1026
|
throw it(n);
|
|
1027
1027
|
}
|
|
1028
1028
|
case 6: {
|
|
1029
|
-
const r = t, l = Ss(r), a =
|
|
1029
|
+
const r = t, l = Ss(r), a = As(r);
|
|
1030
1030
|
return e.linked(Pt(e, a), l ? Pt(e, l) : void 0, e.type);
|
|
1031
1031
|
}
|
|
1032
1032
|
case 7:
|
|
@@ -1053,7 +1053,7 @@ function Ss(e) {
|
|
|
1053
1053
|
return Ze(e, Os);
|
|
1054
1054
|
}
|
|
1055
1055
|
const Ls = ["k", "key"];
|
|
1056
|
-
function
|
|
1056
|
+
function As(e) {
|
|
1057
1057
|
const t = Ze(e, Ls);
|
|
1058
1058
|
if (t)
|
|
1059
1059
|
return t;
|
|
@@ -1073,12 +1073,12 @@ function Ze(e, t, n) {
|
|
|
1073
1073
|
function it(e) {
|
|
1074
1074
|
return new Error(`unhandled node type: ${e}`);
|
|
1075
1075
|
}
|
|
1076
|
-
const
|
|
1077
|
-
let
|
|
1076
|
+
const Rs = (e) => e;
|
|
1077
|
+
let pt = oe();
|
|
1078
1078
|
function ot(e) {
|
|
1079
1079
|
return te(e) && Kt(e) === 0 && (Le(e, "b") || Le(e, "body"));
|
|
1080
1080
|
}
|
|
1081
|
-
function
|
|
1081
|
+
function ks(e, t = {}) {
|
|
1082
1082
|
let n = !1;
|
|
1083
1083
|
const r = t.onError || Yr;
|
|
1084
1084
|
return t.onError = (l) => {
|
|
@@ -1088,23 +1088,23 @@ function Rs(e, t = {}) {
|
|
|
1088
1088
|
// @__NO_SIDE_EFFECTS__
|
|
1089
1089
|
function Ms(e, t) {
|
|
1090
1090
|
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && G(e)) {
|
|
1091
|
-
|
|
1092
|
-
const r = (t.onCacheKey ||
|
|
1091
|
+
ve(t.warnHtmlMessage) && t.warnHtmlMessage;
|
|
1092
|
+
const r = (t.onCacheKey || Rs)(e), l = pt[r];
|
|
1093
1093
|
if (l)
|
|
1094
1094
|
return l;
|
|
1095
|
-
const { ast: a, detectError: d } =
|
|
1095
|
+
const { ast: a, detectError: d } = ks(e, {
|
|
1096
1096
|
...t,
|
|
1097
1097
|
location: fs.env.NODE_ENV !== "production",
|
|
1098
1098
|
jit: !0
|
|
1099
|
-
}), u =
|
|
1100
|
-
return d ? u :
|
|
1099
|
+
}), u = At(a);
|
|
1100
|
+
return d ? u : pt[r] = u;
|
|
1101
1101
|
} else {
|
|
1102
1102
|
const n = e.cacheKey;
|
|
1103
1103
|
if (n) {
|
|
1104
|
-
const r =
|
|
1105
|
-
return r || (
|
|
1104
|
+
const r = pt[n];
|
|
1105
|
+
return r || (pt[n] = At(e));
|
|
1106
1106
|
} else
|
|
1107
|
-
return
|
|
1107
|
+
return At(e);
|
|
1108
1108
|
}
|
|
1109
1109
|
}
|
|
1110
1110
|
let ct = null;
|
|
@@ -1138,18 +1138,18 @@ function Ue(e) {
|
|
|
1138
1138
|
function zt(e, t) {
|
|
1139
1139
|
return t.locale != null ? fn(t.locale) : fn(e.locale);
|
|
1140
1140
|
}
|
|
1141
|
-
let
|
|
1141
|
+
let Rt;
|
|
1142
1142
|
function fn(e) {
|
|
1143
1143
|
if (G(e))
|
|
1144
1144
|
return e;
|
|
1145
1145
|
if (me(e)) {
|
|
1146
|
-
if (e.resolvedOnce &&
|
|
1147
|
-
return
|
|
1146
|
+
if (e.resolvedOnce && Rt != null)
|
|
1147
|
+
return Rt;
|
|
1148
1148
|
if (e.constructor.name === "Function") {
|
|
1149
1149
|
const t = e();
|
|
1150
|
-
if (
|
|
1150
|
+
if (Vr(t))
|
|
1151
1151
|
throw Ue(je.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
1152
|
-
return
|
|
1152
|
+
return Rt = t;
|
|
1153
1153
|
} else
|
|
1154
1154
|
throw Ue(je.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
|
|
1155
1155
|
} else
|
|
@@ -1158,7 +1158,7 @@ function fn(e) {
|
|
|
1158
1158
|
function Us(e, t, n) {
|
|
1159
1159
|
return [.../* @__PURE__ */ new Set([
|
|
1160
1160
|
n,
|
|
1161
|
-
...
|
|
1161
|
+
...be(t) ? t : te(t) ? Object.keys(t) : G(t) ? [t] : [n]
|
|
1162
1162
|
])];
|
|
1163
1163
|
}
|
|
1164
1164
|
function Hn(e, t, n) {
|
|
@@ -1168,16 +1168,16 @@ function Hn(e, t, n) {
|
|
|
1168
1168
|
if (!a) {
|
|
1169
1169
|
a = [];
|
|
1170
1170
|
let d = [n];
|
|
1171
|
-
for (;
|
|
1171
|
+
for (; be(d); )
|
|
1172
1172
|
d = _n(a, d, t);
|
|
1173
|
-
const u =
|
|
1174
|
-
d = G(u) ? [u] : u,
|
|
1173
|
+
const u = be(t) || !ee(t) ? t : t.default ? t.default : null;
|
|
1174
|
+
d = G(u) ? [u] : u, be(d) && _n(a, d, !1), l.__localeChainCache.set(r, a);
|
|
1175
1175
|
}
|
|
1176
1176
|
return a;
|
|
1177
1177
|
}
|
|
1178
1178
|
function _n(e, t, n) {
|
|
1179
1179
|
let r = !0;
|
|
1180
|
-
for (let l = 0; l < t.length &&
|
|
1180
|
+
for (let l = 0; l < t.length && ve(r); l++) {
|
|
1181
1181
|
const a = t[l];
|
|
1182
1182
|
G(a) && (r = xs(e, t[l], n));
|
|
1183
1183
|
}
|
|
@@ -1188,16 +1188,16 @@ function xs(e, t, n) {
|
|
|
1188
1188
|
const l = t.split("-");
|
|
1189
1189
|
do {
|
|
1190
1190
|
const a = l.join("-");
|
|
1191
|
-
r =
|
|
1191
|
+
r = Vs(e, a, n), l.splice(-1, 1);
|
|
1192
1192
|
} while (l.length && r === !0);
|
|
1193
1193
|
return r;
|
|
1194
1194
|
}
|
|
1195
|
-
function
|
|
1195
|
+
function Vs(e, t, n) {
|
|
1196
1196
|
let r = !1;
|
|
1197
1197
|
if (!e.includes(t) && (r = !0, t)) {
|
|
1198
1198
|
r = t[t.length - 1] !== "!";
|
|
1199
1199
|
const l = t.replace(/!/g, "");
|
|
1200
|
-
e.push(l), (
|
|
1200
|
+
e.push(l), (be(n) || ee(n)) && n[l] && (r = n[l]);
|
|
1201
1201
|
}
|
|
1202
1202
|
return r;
|
|
1203
1203
|
}
|
|
@@ -1362,9 +1362,9 @@ Ge[
|
|
|
1362
1362
|
/* Actions.APPEND */
|
|
1363
1363
|
]
|
|
1364
1364
|
};
|
|
1365
|
-
const
|
|
1365
|
+
const Ws = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
|
|
1366
1366
|
function Zs(e) {
|
|
1367
|
-
return
|
|
1367
|
+
return Ws.test(e);
|
|
1368
1368
|
}
|
|
1369
1369
|
function Gs(e) {
|
|
1370
1370
|
const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
|
|
@@ -1455,15 +1455,15 @@ function Xs(e) {
|
|
|
1455
1455
|
return t;
|
|
1456
1456
|
}
|
|
1457
1457
|
}
|
|
1458
|
-
const
|
|
1458
|
+
const pn = /* @__PURE__ */ new Map();
|
|
1459
1459
|
function Hs(e, t) {
|
|
1460
1460
|
return te(e) ? e[t] : null;
|
|
1461
1461
|
}
|
|
1462
1462
|
function $s(e, t) {
|
|
1463
1463
|
if (!te(e))
|
|
1464
1464
|
return null;
|
|
1465
|
-
let n =
|
|
1466
|
-
if (n || (n = Xs(t), n &&
|
|
1465
|
+
let n = pn.get(t);
|
|
1466
|
+
if (n || (n = Xs(t), n && pn.set(t, n)), !n)
|
|
1467
1467
|
return null;
|
|
1468
1468
|
const r = n.length;
|
|
1469
1469
|
let l = e, a = 0;
|
|
@@ -1475,12 +1475,12 @@ function $s(e, t) {
|
|
|
1475
1475
|
}
|
|
1476
1476
|
return l;
|
|
1477
1477
|
}
|
|
1478
|
-
const Js = "10.0.5", Ot = -1, Nt = "en-US",
|
|
1478
|
+
const Js = "10.0.5", Ot = -1, Nt = "en-US", vn = "", hn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1479
1479
|
function Ks() {
|
|
1480
1480
|
return {
|
|
1481
1481
|
upper: (e, t) => t === "text" && G(e) ? e.toUpperCase() : t === "vnode" && te(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
1482
1482
|
lower: (e, t) => t === "text" && G(e) ? e.toLowerCase() : t === "vnode" && te(e) && "__v_isVNode" in e ? e.children.toLowerCase() : e,
|
|
1483
|
-
capitalize: (e, t) => t === "text" && G(e) ?
|
|
1483
|
+
capitalize: (e, t) => t === "text" && G(e) ? hn(e) : t === "vnode" && te(e) && "__v_isVNode" in e ? hn(e.children) : e
|
|
1484
1484
|
};
|
|
1485
1485
|
}
|
|
1486
1486
|
let $n;
|
|
@@ -1500,12 +1500,12 @@ const eo = /* @__NO_SIDE_EFFECTS__ */ (e) => {
|
|
|
1500
1500
|
zn = e;
|
|
1501
1501
|
}, to = /* @__NO_SIDE_EFFECTS__ */ () => zn;
|
|
1502
1502
|
let Qn = null;
|
|
1503
|
-
const
|
|
1503
|
+
const bn = (e) => {
|
|
1504
1504
|
Qn = e;
|
|
1505
1505
|
}, no = () => Qn;
|
|
1506
1506
|
let gn = 0;
|
|
1507
1507
|
function ro(e = {}) {
|
|
1508
|
-
const t = me(e.onWarn) ? e.onWarn : Zr, n = G(e.version) ? e.version : Js, r = G(e.locale) || me(e.locale) ? e.locale : Nt, l = me(r) ? Nt : r, a =
|
|
1508
|
+
const t = me(e.onWarn) ? e.onWarn : Zr, n = G(e.version) ? e.version : Js, r = G(e.locale) || me(e.locale) ? e.locale : Nt, l = me(r) ? Nt : r, a = be(e.fallbackLocale) || ee(e.fallbackLocale) || G(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, d = ee(e.messages) ? e.messages : kt(l), u = ee(e.datetimeFormats) ? e.datetimeFormats : kt(l), i = ee(e.numberFormats) ? e.numberFormats : kt(l), g = Ie(oe(), e.modifiers, Ks()), E = e.pluralRules || oe(), T = me(e.missing) ? e.missing : null, N = ve(e.missingWarn) || yt(e.missingWarn) ? e.missingWarn : !0, F = ve(e.fallbackWarn) || yt(e.fallbackWarn) ? e.fallbackWarn : !0, D = !!e.fallbackFormat, A = !!e.unresolving, w = me(e.postTranslation) ? e.postTranslation : null, f = ee(e.processor) ? e.processor : null, h = ve(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, S = !!e.escapeParameter, c = me(e.messageCompiler) ? e.messageCompiler : $n, b = me(e.messageResolver) ? e.messageResolver : Jn || Hs, I = me(e.localeFallbacker) ? e.localeFallbacker : Kn || Us, p = te(e.fallbackContext) ? e.fallbackContext : void 0, k = e, L = te(k.__datetimeFormatters) ? k.__datetimeFormatters : /* @__PURE__ */ new Map(), X = te(k.__numberFormatters) ? k.__numberFormatters : /* @__PURE__ */ new Map(), V = te(k.__meta) ? k.__meta : {};
|
|
1509
1509
|
gn++;
|
|
1510
1510
|
const m = {
|
|
1511
1511
|
version: n,
|
|
@@ -1519,21 +1519,21 @@ function ro(e = {}) {
|
|
|
1519
1519
|
missingWarn: N,
|
|
1520
1520
|
fallbackWarn: F,
|
|
1521
1521
|
fallbackFormat: D,
|
|
1522
|
-
unresolving:
|
|
1522
|
+
unresolving: A,
|
|
1523
1523
|
postTranslation: w,
|
|
1524
1524
|
processor: f,
|
|
1525
|
-
warnHtmlMessage:
|
|
1525
|
+
warnHtmlMessage: h,
|
|
1526
1526
|
escapeParameter: S,
|
|
1527
1527
|
messageCompiler: c,
|
|
1528
|
-
messageResolver:
|
|
1528
|
+
messageResolver: b,
|
|
1529
1529
|
localeFallbacker: I,
|
|
1530
|
-
fallbackContext:
|
|
1530
|
+
fallbackContext: p,
|
|
1531
1531
|
onWarn: t,
|
|
1532
|
-
__meta:
|
|
1532
|
+
__meta: V
|
|
1533
1533
|
};
|
|
1534
|
-
return m.datetimeFormats = u, m.numberFormats = i, m.__datetimeFormatters = L, m.__numberFormatters = X, __INTLIFY_PROD_DEVTOOLS__ && ws(m, n,
|
|
1534
|
+
return m.datetimeFormats = u, m.numberFormats = i, m.__datetimeFormatters = L, m.__numberFormatters = X, __INTLIFY_PROD_DEVTOOLS__ && ws(m, n, V), m;
|
|
1535
1535
|
}
|
|
1536
|
-
const
|
|
1536
|
+
const kt = (e) => ({ [e]: oe() });
|
|
1537
1537
|
function Qt(e, t, n, r, l) {
|
|
1538
1538
|
const { missing: a, onWarn: d } = e;
|
|
1539
1539
|
if (a !== null) {
|
|
@@ -1559,9 +1559,9 @@ function oo(e, t) {
|
|
|
1559
1559
|
return !1;
|
|
1560
1560
|
}
|
|
1561
1561
|
function In(e, ...t) {
|
|
1562
|
-
const { datetimeFormats: n, unresolving: r, fallbackLocale: l, onWarn: a, localeFallbacker: d } = e, { __datetimeFormatters: u } = e, [i, g, E, T] = jt(...t), N =
|
|
1563
|
-
|
|
1564
|
-
const F = !!E.part, D = zt(e, E),
|
|
1562
|
+
const { datetimeFormats: n, unresolving: r, fallbackLocale: l, onWarn: a, localeFallbacker: d } = e, { __datetimeFormatters: u } = e, [i, g, E, T] = jt(...t), N = ve(E.missingWarn) ? E.missingWarn : e.missingWarn;
|
|
1563
|
+
ve(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn;
|
|
1564
|
+
const F = !!E.part, D = zt(e, E), A = d(
|
|
1565
1565
|
e,
|
|
1566
1566
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1567
1567
|
l,
|
|
@@ -1569,16 +1569,16 @@ function In(e, ...t) {
|
|
|
1569
1569
|
);
|
|
1570
1570
|
if (!G(i) || i === "")
|
|
1571
1571
|
return new Intl.DateTimeFormat(D, T).format(g);
|
|
1572
|
-
let w = {}, f,
|
|
1572
|
+
let w = {}, f, h = null;
|
|
1573
1573
|
const S = "datetime format";
|
|
1574
|
-
for (let I = 0; I <
|
|
1574
|
+
for (let I = 0; I < A.length && (f = A[I], w = n[f] || {}, h = w[i], !ee(h)); I++)
|
|
1575
1575
|
Qt(e, i, f, N, S);
|
|
1576
|
-
if (!ee(
|
|
1576
|
+
if (!ee(h) || !G(f))
|
|
1577
1577
|
return r ? Ot : i;
|
|
1578
1578
|
let c = `${f}__${i}`;
|
|
1579
1579
|
Ct(T) || (c = `${c}__${JSON.stringify(T)}`);
|
|
1580
|
-
let
|
|
1581
|
-
return
|
|
1580
|
+
let b = u.get(c);
|
|
1581
|
+
return b || (b = new Intl.DateTimeFormat(f, Ie({}, h, T)), u.set(c, b)), F ? b.formatToParts(g) : b.format(g);
|
|
1582
1582
|
}
|
|
1583
1583
|
const qn = [
|
|
1584
1584
|
"localeMatcher",
|
|
@@ -1636,9 +1636,9 @@ function En(e, t, n) {
|
|
|
1636
1636
|
}
|
|
1637
1637
|
}
|
|
1638
1638
|
function yn(e, ...t) {
|
|
1639
|
-
const { numberFormats: n, unresolving: r, fallbackLocale: l, onWarn: a, localeFallbacker: d } = e, { __numberFormatters: u } = e, [i, g, E, T] = Ut(...t), N =
|
|
1640
|
-
|
|
1641
|
-
const F = !!E.part, D = zt(e, E),
|
|
1639
|
+
const { numberFormats: n, unresolving: r, fallbackLocale: l, onWarn: a, localeFallbacker: d } = e, { __numberFormatters: u } = e, [i, g, E, T] = Ut(...t), N = ve(E.missingWarn) ? E.missingWarn : e.missingWarn;
|
|
1640
|
+
ve(E.fallbackWarn) ? E.fallbackWarn : e.fallbackWarn;
|
|
1641
|
+
const F = !!E.part, D = zt(e, E), A = d(
|
|
1642
1642
|
e,
|
|
1643
1643
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1644
1644
|
l,
|
|
@@ -1646,16 +1646,16 @@ function yn(e, ...t) {
|
|
|
1646
1646
|
);
|
|
1647
1647
|
if (!G(i) || i === "")
|
|
1648
1648
|
return new Intl.NumberFormat(D, T).format(g);
|
|
1649
|
-
let w = {}, f,
|
|
1649
|
+
let w = {}, f, h = null;
|
|
1650
1650
|
const S = "number format";
|
|
1651
|
-
for (let I = 0; I <
|
|
1651
|
+
for (let I = 0; I < A.length && (f = A[I], w = n[f] || {}, h = w[i], !ee(h)); I++)
|
|
1652
1652
|
Qt(e, i, f, N, S);
|
|
1653
|
-
if (!ee(
|
|
1653
|
+
if (!ee(h) || !G(f))
|
|
1654
1654
|
return r ? Ot : i;
|
|
1655
1655
|
let c = `${f}__${i}`;
|
|
1656
1656
|
Ct(T) || (c = `${c}__${JSON.stringify(T)}`);
|
|
1657
|
-
let
|
|
1658
|
-
return
|
|
1657
|
+
let b = u.get(c);
|
|
1658
|
+
return b || (b = new Intl.NumberFormat(f, Ie({}, h, T)), u.set(c, b)), F ? b.formatToParts(g) : b.format(g);
|
|
1659
1659
|
}
|
|
1660
1660
|
const er = [
|
|
1661
1661
|
"localeMatcher",
|
|
@@ -1696,7 +1696,7 @@ function Nn(e, t, n) {
|
|
|
1696
1696
|
r.__numberFormatters.has(a) && r.__numberFormatters.delete(a);
|
|
1697
1697
|
}
|
|
1698
1698
|
}
|
|
1699
|
-
const ao = (e) => e, lo = (e) => "", io = "text", co = (e) => e.length === 0 ? "" : $t(e), uo =
|
|
1699
|
+
const ao = (e) => e, lo = (e) => "", io = "text", co = (e) => e.length === 0 ? "" : $t(e), uo = Wr;
|
|
1700
1700
|
function Cn(e, t) {
|
|
1701
1701
|
return e = Math.abs(e), t === 2 ? e ? e > 1 ? 1 : 0 : 1 : e ? Math.min(e, 2) : 0;
|
|
1702
1702
|
}
|
|
@@ -1711,23 +1711,23 @@ function _o(e = {}) {
|
|
|
1711
1711
|
const t = e.locale, n = mo(e), r = te(e.pluralRules) && G(t) && me(e.pluralRules[t]) ? e.pluralRules[t] : Cn, l = te(e.pluralRules) && G(t) && me(e.pluralRules[t]) ? Cn : void 0, a = (f) => f[r(n, f.length, l)], d = e.list || [], u = (f) => d[f], i = e.named || oe();
|
|
1712
1712
|
ge(e.pluralIndex) && fo(n, i);
|
|
1713
1713
|
const g = (f) => i[f];
|
|
1714
|
-
function E(f,
|
|
1715
|
-
const S = me(e.messages) ? e.messages(f, !!
|
|
1714
|
+
function E(f, h) {
|
|
1715
|
+
const S = me(e.messages) ? e.messages(f, !!h) : te(e.messages) ? e.messages[f] : !1;
|
|
1716
1716
|
return S || (e.parent ? e.parent.message(f) : lo);
|
|
1717
1717
|
}
|
|
1718
1718
|
const T = (f) => e.modifiers ? e.modifiers[f] : ao, N = ee(e.processor) && me(e.processor.normalize) ? e.processor.normalize : co, F = ee(e.processor) && me(e.processor.interpolate) ? e.processor.interpolate : uo, D = ee(e.processor) && G(e.processor.type) ? e.processor.type : io, w = {
|
|
1719
1719
|
list: u,
|
|
1720
1720
|
named: g,
|
|
1721
1721
|
plural: a,
|
|
1722
|
-
linked: (f, ...
|
|
1723
|
-
const [S, c] =
|
|
1724
|
-
let
|
|
1725
|
-
|
|
1726
|
-
const
|
|
1722
|
+
linked: (f, ...h) => {
|
|
1723
|
+
const [S, c] = h;
|
|
1724
|
+
let b = "text", I = "";
|
|
1725
|
+
h.length === 1 ? te(S) ? (I = S.modifier || I, b = S.type || b) : G(S) && (I = S || I) : h.length === 2 && (G(S) && (I = S || I), G(c) && (b = c || b));
|
|
1726
|
+
const p = E(f, !0)(w), k = (
|
|
1727
1727
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1728
|
-
|
|
1728
|
+
b === "vnode" && be(p) && I ? p[0] : p
|
|
1729
1729
|
);
|
|
1730
|
-
return I ? T(I)(
|
|
1730
|
+
return I ? T(I)(k, b) : k;
|
|
1731
1731
|
},
|
|
1732
1732
|
message: E,
|
|
1733
1733
|
type: D,
|
|
@@ -1739,27 +1739,27 @@ function _o(e = {}) {
|
|
|
1739
1739
|
}
|
|
1740
1740
|
const Tn = () => "", Te = (e) => me(e);
|
|
1741
1741
|
function On(e, ...t) {
|
|
1742
|
-
const { fallbackFormat: n, postTranslation: r, unresolving: l, messageCompiler: a, fallbackLocale: d, messages: u } = e, [i, g] = xt(...t), E =
|
|
1743
|
-
N &&
|
|
1744
|
-
let [f,
|
|
1742
|
+
const { fallbackFormat: n, postTranslation: r, unresolving: l, messageCompiler: a, fallbackLocale: d, messages: u } = e, [i, g] = xt(...t), E = ve(g.missingWarn) ? g.missingWarn : e.missingWarn, T = ve(g.fallbackWarn) ? g.fallbackWarn : e.fallbackWarn, N = ve(g.escapeParameter) ? g.escapeParameter : e.escapeParameter, F = !!g.resolvedMessage, D = G(g.default) || ve(g.default) ? ve(g.default) ? a ? i : () => i : g.default : n ? a ? i : () => i : null, A = n || D != null && (G(D) || me(D)), w = zt(e, g);
|
|
1743
|
+
N && po(g);
|
|
1744
|
+
let [f, h, S] = F ? [
|
|
1745
1745
|
i,
|
|
1746
1746
|
w,
|
|
1747
1747
|
u[w] || oe()
|
|
1748
|
-
] : tr(e, i, w, d, T, E), c = f,
|
|
1749
|
-
if (!F && !(G(c) || ot(c) || Te(c)) &&
|
|
1748
|
+
] : tr(e, i, w, d, T, E), c = f, b = i;
|
|
1749
|
+
if (!F && !(G(c) || ot(c) || Te(c)) && A && (c = D, b = c), !F && (!(G(c) || ot(c) || Te(c)) || !G(h)))
|
|
1750
1750
|
return l ? Ot : i;
|
|
1751
1751
|
let I = !1;
|
|
1752
|
-
const
|
|
1752
|
+
const p = () => {
|
|
1753
1753
|
I = !0;
|
|
1754
|
-
},
|
|
1754
|
+
}, k = Te(c) ? c : nr(e, i, h, c, b, p);
|
|
1755
1755
|
if (I)
|
|
1756
1756
|
return c;
|
|
1757
|
-
const L =
|
|
1757
|
+
const L = bo(e, h, S, g), X = _o(L), V = vo(e, k, X), m = r ? r(V, i) : V;
|
|
1758
1758
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1759
1759
|
const C = {
|
|
1760
1760
|
timestamp: Date.now(),
|
|
1761
1761
|
key: G(i) ? i : Te(c) ? c.key : "",
|
|
1762
|
-
locale:
|
|
1762
|
+
locale: h || (Te(c) ? c.locale : ""),
|
|
1763
1763
|
format: G(c) ? c : Te(c) ? c.source : "",
|
|
1764
1764
|
message: m
|
|
1765
1765
|
};
|
|
@@ -1767,8 +1767,8 @@ function On(e, ...t) {
|
|
|
1767
1767
|
}
|
|
1768
1768
|
return m;
|
|
1769
1769
|
}
|
|
1770
|
-
function
|
|
1771
|
-
|
|
1770
|
+
function po(e) {
|
|
1771
|
+
be(e.list) ? e.list = e.list.map((t) => G(t) ? ln(t) : t) : te(e.named) && Object.keys(e.named).forEach((t) => {
|
|
1772
1772
|
G(e.named[t]) && (e.named[t] = ln(e.named[t]));
|
|
1773
1773
|
});
|
|
1774
1774
|
}
|
|
@@ -1776,7 +1776,7 @@ function tr(e, t, n, r, l, a) {
|
|
|
1776
1776
|
const { messages: d, onWarn: u, messageResolver: i, localeFallbacker: g } = e, E = g(e, r, n);
|
|
1777
1777
|
let T = oe(), N, F = null;
|
|
1778
1778
|
const D = "translate";
|
|
1779
|
-
for (let
|
|
1779
|
+
for (let A = 0; A < E.length && (N = E[A], T = d[N] || oe(), (F = i(T, t)) === null && (F = T[t]), !(G(F) || ot(F) || Te(F))); A++)
|
|
1780
1780
|
if (!oo(N, E)) {
|
|
1781
1781
|
const w = Qt(
|
|
1782
1782
|
e,
|
|
@@ -1800,10 +1800,10 @@ function nr(e, t, n, r, l, a) {
|
|
|
1800
1800
|
const g = () => r;
|
|
1801
1801
|
return g.locale = n, g.key = t, g;
|
|
1802
1802
|
}
|
|
1803
|
-
const i = d(r,
|
|
1803
|
+
const i = d(r, ho(e, n, l, r, u, a));
|
|
1804
1804
|
return i.locale = n, i.key = t, i.source = r, i;
|
|
1805
1805
|
}
|
|
1806
|
-
function
|
|
1806
|
+
function vo(e, t, n) {
|
|
1807
1807
|
return t(n);
|
|
1808
1808
|
}
|
|
1809
1809
|
function xt(...e) {
|
|
@@ -1811,9 +1811,9 @@ function xt(...e) {
|
|
|
1811
1811
|
if (!G(t) && !ge(t) && !Te(t) && !ot(t))
|
|
1812
1812
|
throw Ue(je.INVALID_ARGUMENT);
|
|
1813
1813
|
const a = ge(t) ? String(t) : (Te(t), t);
|
|
1814
|
-
return ge(n) ? l.plural = n : G(n) ? l.default = n : ee(n) && !Ct(n) ? l.named = n :
|
|
1814
|
+
return ge(n) ? l.plural = n : G(n) ? l.default = n : ee(n) && !Ct(n) ? l.named = n : be(n) && (l.list = n), ge(r) ? l.plural = r : G(r) ? l.default = r : ee(r) && Ie(l, r), [a, l];
|
|
1815
1815
|
}
|
|
1816
|
-
function
|
|
1816
|
+
function ho(e, t, n, r, l, a) {
|
|
1817
1817
|
return {
|
|
1818
1818
|
locale: t,
|
|
1819
1819
|
key: n,
|
|
@@ -1824,14 +1824,14 @@ function vo(e, t, n, r, l, a) {
|
|
|
1824
1824
|
onCacheKey: (d) => Fr(t, n, d)
|
|
1825
1825
|
};
|
|
1826
1826
|
}
|
|
1827
|
-
function
|
|
1827
|
+
function bo(e, t, n, r) {
|
|
1828
1828
|
const { modifiers: l, pluralRules: a, messageResolver: d, fallbackLocale: u, fallbackWarn: i, missingWarn: g, fallbackContext: E } = e, N = {
|
|
1829
1829
|
locale: t,
|
|
1830
1830
|
modifiers: l,
|
|
1831
1831
|
pluralRules: a,
|
|
1832
1832
|
messages: (F, D) => {
|
|
1833
|
-
let
|
|
1834
|
-
if (
|
|
1833
|
+
let A = d(n, F);
|
|
1834
|
+
if (A == null && (E || D)) {
|
|
1835
1835
|
const [, , w] = tr(
|
|
1836
1836
|
E || e,
|
|
1837
1837
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
@@ -1841,21 +1841,21 @@ function ho(e, t, n, r) {
|
|
|
1841
1841
|
i,
|
|
1842
1842
|
g
|
|
1843
1843
|
);
|
|
1844
|
-
|
|
1844
|
+
A = d(w, F);
|
|
1845
1845
|
}
|
|
1846
|
-
if (G(
|
|
1846
|
+
if (G(A) || ot(A)) {
|
|
1847
1847
|
let w = !1;
|
|
1848
|
-
const
|
|
1848
|
+
const h = nr(e, F, t, A, F, () => {
|
|
1849
1849
|
w = !0;
|
|
1850
1850
|
});
|
|
1851
|
-
return w ? Tn :
|
|
1852
|
-
} else return Te(
|
|
1851
|
+
return w ? Tn : h;
|
|
1852
|
+
} else return Te(A) ? A : Tn;
|
|
1853
1853
|
}
|
|
1854
1854
|
};
|
|
1855
1855
|
return e.processor && (N.processor = e.processor), r.list && (N.list = r.list), r.named && (N.named = r.named), ge(r.plural) && (N.pluralIndex = r.plural), N;
|
|
1856
1856
|
}
|
|
1857
1857
|
_s();
|
|
1858
|
-
var go = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_91f3399b-bcc6-4891-bd5b-2a04e3842b8b", 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_91f3399b-bcc6-4891-bd5b-2a04e3842b8b", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_config_save_workspace_protocol: "true", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.8.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/30.0.16248370", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1848", ACTIONS_ORCHESTRATION_ID: "695e1505-1d54-4651-a240-ae4c91e11110.publish.publish.__default", npm_config_engine_strict: "true", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20261004.327.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_91f3399b-bcc6-4891-bd5b-2a04e3842b8b", SWIFT_PATH: "/usr/share/swift/usr/bin", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:11344", 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: "38529076342", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "ec346b311e1e84f50f82f7a7d50d7f7dd9111e37", 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/KDI-5086-hrm-schedule", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9LREktNTA4Ni1ocm0tc2NoZWR1bGVcIixcIlBlcm1pc3Npb25cIjozfSx7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6MX1dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjZmOTZmYTg5LWI3YmYtNDg3OC1iYWQzLTg5ODAwNjU2NmI2ZSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3OTE5ODU0MDAsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc5MTk2MzIwMCwiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6IjE1MDU3NjNkLWJhNzMtNWViZi04ZmQyLWY5ZDdmZDJkOWRlZCIsImpvYl93b3JrZmxvd19yZWYiOiJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW4iLCJqb2Jfd29ya2Zsb3dfc2hhIjoiMDlmNzZkOGFjNWU2YTA3MDc1NDI3NDllMWQ1Njg3YmYxZWFkNWYyYyIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc5MTk2MjkwMCwib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJqdW4tbGVlLWZlZWRtZVwiLFwiYWN0b3JfaWRcIjpcIjIzOTI4Mjg2MlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCIxMTU3MzYzMDc2MDRcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjA5Zjc2ZDhhYzVlNmEwNzA3NTQyNzQ5ZTFkNTY4N2JmMWVhZDVmMmNcIixcInJlZlwiOlwicmVmcy9oZWFkcy9LREktNTA4Ni1ocm0tc2NoZWR1bGVcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2VcIixcInJlcG9zaXRvcnlfaWRcIjpcIjExMjQ2NzIyMzVcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMzg1MjkwNzYzNDJcIixcInJ1bl9udW1iZXJcIjpcIjE5OVwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcImVjMzQ2YjMxMWUxZTg0ZjUwZjgyZjdhN2Q1MGQ3ZjdkZDkxMTFlMzdcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL0tESS01MDg2LWhybS1zY2hlZHVsZVwiLFwid29ya2Zsb3dfc2hhXCI6XCJlYzM0NmIzMTFlMWU4NGY1MGY4MmY3YTdkNTBkN2Y3ZGQ5MTExZTM3XCJ9Iiwib2lkY19zdWIiOiJyZXBvOmZlZWRtZXBvcy9ocm0tc2VydmljZTpyZWY6cmVmcy9oZWFkcy9LREktNTA4Ni1ocm0tc2NoZWR1bGUiLCJvcmNoX2lkIjoiNjk1ZTE1MDUtMWQ1NC00NjUxLWEyNDAtYWU0YzkxZTExMTEwLnB1Ymxpc2gucHVibGlzaC5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiI2OTVlMTUwNS0xZDU0LTQ2NTEtYTI0MC1hZTRjOTFlMTExMTAiLCJyZXBvc2l0b3J5X2lkIjoiMTEyNDY3MjIzNSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1NDgzMTUxNSIsInJlcG9zaXRvcnlfdmlzaWJpbGl0eSI6InByaXZhdGUiLCJydW5faWQiOiIzODUyOTA3NjM0MiIsInJ1bl9udW1iZXIiOiIxOTkiLCJydW5fdHlwZSI6ImZ1bGwiLCJydW5uZXJfaWQiOiIxMDAwMTk3MzAyIiwicnVubmVyX3R5cGUiOiJob3N0ZWQiLCJzY3AiOiJBY3Rpb25zLlJlc3VsdHM6Njk1ZTE1MDUtMWQ1NC00NjUxLWEyNDAtYWU0YzkxZTExMTEwOjE1MDU3NjNkLWJhNzMtNWViZi04ZmQyLWY5ZDdmZDJkOWRlZCBBY3Rpb25zLlJ1bm5lcjo2OTVlMTUwNS0xZDU0LTQ2NTEtYTI0MC1hZTRjOTFlMTExMTA6MTUwNTc2M2QtYmE3My01ZWJmLThmZDItZjlkN2ZkMmQ5ZGVkIEFjdGlvbnMuVXBsb2FkQXJ0aWZhY3RzOjY5NWUxNTA1LTFkNTQtNDY1MS1hMjQwLWFlNGM5MWUxMTExMDoxNTA1NzYzZC1iYTczLTVlYmYtOGZkMi1mOWQ3ZmQyZDlkZWQgZ2VuZXJhdGVfaWRfdG9rZW46Njk1ZTE1MDUtMWQ1NC00NjUxLWEyNDAtYWU0YzkxZTExMTEwOjE1MDU3NjNkLWJhNzMtNWViZi04ZmQyLWY5ZDdmZDJkOWRlZCBBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInNoYSI6ImVjMzQ2YjMxMWUxZTg0ZjUwZjgyZjdhN2Q1MGQ3ZjdkZDkxMTFlMzciLCJ0cnVzdF90aWVyIjoiMSJ9.oqS_svsZc9nwwUao5x_DHKqXOs8DlBOVTYXLE44Ob97OqOCSprRnXQeFWvFDY6QpHeMfPb-6-UCZ-8r37GXv8GYrbaKsKtfLOW9FQYthYW3hbkj89De6BdQ4mXCRp1NWSVkImwIwUwIE0bmCT8EWRxEOWc8Jnamh0o5ByUa_nflqjeD0zqCXXcbQRHJMBjeucdyMPZUj8IF_mJ2huOBQTnp9Uo838UrcykQiOQgRIs1I5cH5Ab74wzZpWmNr18m_pMHekt2lCe0ByU7UiRq27Z6lZGv9nyygfVmdNTg1JzxpD52anYzBZofJCGKYON7sp-kKavhxJgYMfWYrrz34SA", 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_b8046d02-1394-47d0-a357-2397ede78217", INVOCATION_ID: "6d079c7ba54e426d80abe6adba13900e", 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: "199", GITHUB_TRIGGERING_ACTOR: "jun-lee-feedme", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000197302", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "KDI-5086-hrm-schedule", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "1124672235", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/bin/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "2.3.0-dev.16", 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: "ec346b311e1e84f50f82f7a7d50d7f7dd9111e37", GITHUB_RUN_ATTEMPT: "1", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/KDI-5086-hrm-schedule", GITHUB_ACTOR: "jun-lee-feedme", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_91f3399b-bcc6-4891-bd5b-2a04e3842b8b", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "239282862", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-3-azure-eastus.actions.githubusercontent.com/201//idtoken/695e1505-1d54-4651-a240-ae4c91e11110/1505763d-ba73-5ebf-8fd2-f9d7fd2d9ded?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_91f3399b-bcc6-4891-bd5b-2a04e3842b8b", 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_91f3399b-bcc6-4891-bd5b-2a04e3842b8b", 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_91f3399b-bcc6-4891-bd5b-2a04e3842b8b", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", NODE_ENV: "production" } };
|
|
1858
|
+
var go = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_4d5bd70c-370b-4d83-9911-6e11e5832b89", 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_4d5bd70c-370b-4d83-9911-6e11e5832b89", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/24.5.0/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "XXXXX-XXXXX-XXXXX-XXXXX", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_config_save_workspace_protocol: "true", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.8.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/30.0.16248370", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "1772", ACTIONS_ORCHESTRATION_ID: "17b1cbd7-981e-460b-9604-fe7e8d6751ef.publish.publish.__default", npm_config_engine_strict: "true", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_config_prefer_workspace_packages: "true", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20261004.327.1", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_4d5bd70c-370b-4d83-9911-6e11e5832b89", SWIFT_PATH: "/usr/share/swift/usr/bin", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:10711", 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: "38598143921", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "3bca1816d5e9a96aec54fac348127fee19a4bf52", 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/KDI-5086-hrm-schedule", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjM4ODI2YjE3LTZhMzAtNWY5Yi1iMTY5LThiZWI4MjAyZjcyMyIsInR5cCI6IkpXVCIsIng1dCI6InlrTmFZNHFNX3RhNGsyVGdaT0NFWUxrY1lsQSJ9.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9LREktNTA4Ni1ocm0tc2NoZWR1bGVcIixcIlBlcm1pc3Npb25cIjozfSx7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6MX1dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjZmOTZmYTg5LWI3YmYtNDg3OC1iYWQzLTg5ODAwNjU2NmI2ZSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3OTIwMTc0MTYsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc5MTk5NTIxNiwiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6ImJlNmRlY2ZmLWM2ZjEtNWNmNy04NzRiLTFiZWIxNjI1M2QwNCIsImpvYl93b3JrZmxvd19yZWYiOiJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW4iLCJqb2Jfd29ya2Zsb3dfc2hhIjoiMDlmNzZkOGFjNWU2YTA3MDc1NDI3NDllMWQ1Njg3YmYxZWFkNWYyYyIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc5MTk5NDkxNiwib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJqdW4tbGVlLWZlZWRtZVwiLFwiYWN0b3JfaWRcIjpcIjIzOTI4Mjg2MlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCIxMTU5NzAxMDIzNzRcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjA5Zjc2ZDhhYzVlNmEwNzA3NTQyNzQ5ZTFkNTY4N2JmMWVhZDVmMmNcIixcInJlZlwiOlwicmVmcy9oZWFkcy9LREktNTA4Ni1ocm0tc2NoZWR1bGVcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2VcIixcInJlcG9zaXRvcnlfaWRcIjpcIjExMjQ2NzIyMzVcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMzg1OTgxNDM5MjFcIixcInJ1bl9udW1iZXJcIjpcIjIwMFwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcIjNiY2ExODE2ZDVlOWE5NmFlYzU0ZmFjMzQ4MTI3ZmVlMTlhNGJmNTJcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL0tESS01MDg2LWhybS1zY2hlZHVsZVwiLFwid29ya2Zsb3dfc2hhXCI6XCIzYmNhMTgxNmQ1ZTlhOTZhZWM1NGZhYzM0ODEyN2ZlZTE5YTRiZjUyXCJ9Iiwib2lkY19zdWIiOiJyZXBvOmZlZWRtZXBvcy9ocm0tc2VydmljZTpyZWY6cmVmcy9oZWFkcy9LREktNTA4Ni1ocm0tc2NoZWR1bGUiLCJvcmNoX2lkIjoiMTdiMWNiZDctOTgxZS00NjBiLTk2MDQtZmU3ZThkNjc1MWVmLnB1Ymxpc2gucHVibGlzaC5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiIxN2IxY2JkNy05ODFlLTQ2MGItOTYwNC1mZTdlOGQ2NzUxZWYiLCJyZXBvc2l0b3J5X2lkIjoiMTEyNDY3MjIzNSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1NDgzMTUxNSIsInJlcG9zaXRvcnlfdmlzaWJpbGl0eSI6InByaXZhdGUiLCJydW5faWQiOiIzODU5ODE0MzkyMSIsInJ1bl9udW1iZXIiOiIyMDAiLCJydW5fdHlwZSI6ImZ1bGwiLCJydW5uZXJfaWQiOiIxMDAwMTk4MTA0IiwicnVubmVyX3R5cGUiOiJob3N0ZWQiLCJzY3AiOiJBY3Rpb25zLlJlc3VsdHM6MTdiMWNiZDctOTgxZS00NjBiLTk2MDQtZmU3ZThkNjc1MWVmOmJlNmRlY2ZmLWM2ZjEtNWNmNy04NzRiLTFiZWIxNjI1M2QwNCBBY3Rpb25zLlJ1bm5lcjoxN2IxY2JkNy05ODFlLTQ2MGItOTYwNC1mZTdlOGQ2NzUxZWY6YmU2ZGVjZmYtYzZmMS01Y2Y3LTg3NGItMWJlYjE2MjUzZDA0IEFjdGlvbnMuVXBsb2FkQXJ0aWZhY3RzOjE3YjFjYmQ3LTk4MWUtNDYwYi05NjA0LWZlN2U4ZDY3NTFlZjpiZTZkZWNmZi1jNmYxLTVjZjctODc0Yi0xYmViMTYyNTNkMDQgZ2VuZXJhdGVfaWRfdG9rZW46MTdiMWNiZDctOTgxZS00NjBiLTk2MDQtZmU3ZThkNjc1MWVmOmJlNmRlY2ZmLWM2ZjEtNWNmNy04NzRiLTFiZWIxNjI1M2QwNCBBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInNoYSI6IjNiY2ExODE2ZDVlOWE5NmFlYzU0ZmFjMzQ4MTI3ZmVlMTlhNGJmNTIiLCJ0cnVzdF90aWVyIjoiMSJ9.4pEwqIzp6uQtC9h-WwWNp2yIVvZEv7HLvlwUzhyI9s7NGNp_0MZJTP03BRA2EcUvbpG0rdzABw_AemaTetBExTYEVUHd-upqgBrx3rAltngO-zxLnDIav_xYEFcMwCr2SPFEcMywf3skKAV_6r0tI0XPU4vPeG9Lvhzn1D0yj-HMCqC6bBPMBKNOFi6TtSFWCK7lQ2E_j68NWyXU9wXbDcAhwwE9jNEw5KNN18395DEFR3uv3-9tgz_3KcrPcaldl5RaWeb_mWwWGGnWHVIIucShHrDVWcQf8q339oUHhezdxoTakbGxtH8JFfu5NuyRK9pecoayUGT39vp1zdTf0Q", 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_da13e43c-4710-4ef0-8fa5-7c68f5051c83", INVOCATION_ID: "9b0e76b9856c4c30809ee884a59017a8", 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: "200", GITHUB_TRIGGERING_ACTOR: "jun-lee-feedme", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000198104", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "KDI-5086-hrm-schedule", GITHUB_REPOSITORY: "feedmepos/hrm-service", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "1124672235", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/bin/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules/vite/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/vite@5.4.21_@types+node@18.19.130_sass-embedded@1.97.1_sass@1.97.1_terser@5.44.1/node_modules:/home/runner/work/hrm-service/hrm-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "2.3.0-dev.17", 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: "3bca1816d5e9a96aec54fac348127fee19a4bf52", GITHUB_RUN_ATTEMPT: "1", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/KDI-5086-hrm-schedule", GITHUB_ACTOR: "jun-lee-feedme", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", VITE_TARGET_ENV: "dev", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_4d5bd70c-370b-4d83-9911-6e11e5832b89", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "239282862", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-1-azure-eastus.actions.githubusercontent.com/5//idtoken/17b1cbd7-981e-460b-9604-fe7e8d6751ef/be6decff-c6f1-5cf7-874b-1beb16253d04?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_4d5bd70c-370b-4d83-9911-6e11e5832b89", 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_4d5bd70c-370b-4d83-9911-6e11e5832b89", 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_4d5bd70c-370b-4d83-9911-6e11e5832b89", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", NODE_ENV: "production" } };
|
|
1859
1859
|
const Io = "10.0.5";
|
|
1860
1860
|
function Eo() {
|
|
1861
1861
|
typeof __VUE_I18N_FULL_INSTALL__ != "boolean" && (Xe().__VUE_I18N_FULL_INSTALL__ = !0), typeof __VUE_I18N_LEGACY_API__ != "boolean" && (Xe().__VUE_I18N_LEGACY_API__ = !0), typeof __INTLIFY_DROP_MESSAGE_COMPILER__ != "boolean" && (Xe().__INTLIFY_DROP_MESSAGE_COMPILER__ = !1), typeof __INTLIFY_PROD_DEVTOOLS__ != "boolean" && (Xe().__INTLIFY_PROD_DEVTOOLS__ = !1);
|
|
@@ -1876,7 +1876,7 @@ const at = {
|
|
|
1876
1876
|
function ut(e, ...t) {
|
|
1877
1877
|
return Tt(e, null, void 0);
|
|
1878
1878
|
}
|
|
1879
|
-
const
|
|
1879
|
+
const Vt = /* @__PURE__ */ $e("__translateVNode"), Wt = /* @__PURE__ */ $e("__datetimeParts"), Zt = /* @__PURE__ */ $e("__numberParts"), yo = $e("__setPluralRules"), rr = /* @__PURE__ */ $e("__injectWithOption"), Gt = /* @__PURE__ */ $e("__dispose");
|
|
1880
1880
|
function dt(e) {
|
|
1881
1881
|
if (!te(e))
|
|
1882
1882
|
return e;
|
|
@@ -1899,8 +1899,8 @@ function dt(e) {
|
|
|
1899
1899
|
return e;
|
|
1900
1900
|
}
|
|
1901
1901
|
function sr(e, t) {
|
|
1902
|
-
const { messages: n, __i18n: r, messageResolver: l, flatJson: a } = t, d = ee(n) ? n :
|
|
1903
|
-
if (
|
|
1902
|
+
const { messages: n, __i18n: r, messageResolver: l, flatJson: a } = t, d = ee(n) ? n : be(r) ? oe() : { [e]: oe() };
|
|
1903
|
+
if (be(r) && r.forEach((u) => {
|
|
1904
1904
|
if ("locale" in u && "resource" in u) {
|
|
1905
1905
|
const { locale: i, resource: g } = u;
|
|
1906
1906
|
i ? (d[i] = d[i] || oe(), Et(g, d[i])) : Et(g, d);
|
|
@@ -1942,9 +1942,9 @@ function No(e, t, n) {
|
|
|
1942
1942
|
function Sn(e) {
|
|
1943
1943
|
return ue(fr, null, e, 0);
|
|
1944
1944
|
}
|
|
1945
|
-
const Ln = "__INTLIFY_META__",
|
|
1946
|
-
let
|
|
1947
|
-
function
|
|
1945
|
+
const Ln = "__INTLIFY_META__", An = () => [], Co = () => !1;
|
|
1946
|
+
let Rn = 0;
|
|
1947
|
+
function kn(e) {
|
|
1948
1948
|
return (t, n, r, l) => e(n, r, Yt() || void 0, l);
|
|
1949
1949
|
}
|
|
1950
1950
|
const To = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
@@ -1954,42 +1954,42 @@ const To = /* @__NO_SIDE_EFFECTS__ */ () => {
|
|
|
1954
1954
|
};
|
|
1955
1955
|
function Oo(e = {}) {
|
|
1956
1956
|
const { __root: t, __injectWithOption: n } = e, r = t === void 0, l = e.flatJson, a = on ? rt : dr;
|
|
1957
|
-
let d =
|
|
1957
|
+
let d = ve(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1958
1958
|
const u = a(
|
|
1959
1959
|
// prettier-ignore
|
|
1960
1960
|
t && d ? t.locale.value : G(e.locale) ? e.locale : Nt
|
|
1961
1961
|
), i = a(
|
|
1962
1962
|
// prettier-ignore
|
|
1963
|
-
t && d ? t.fallbackLocale.value : G(e.fallbackLocale) ||
|
|
1963
|
+
t && d ? t.fallbackLocale.value : G(e.fallbackLocale) || be(e.fallbackLocale) || ee(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : u.value
|
|
1964
1964
|
), g = a(sr(u.value, e)), E = a(ee(e.datetimeFormats) ? e.datetimeFormats : { [u.value]: {} }), T = a(ee(e.numberFormats) ? e.numberFormats : { [u.value]: {} });
|
|
1965
|
-
let N = t ? t.missingWarn :
|
|
1966
|
-
const
|
|
1967
|
-
let I = e.pluralRules || t && t.pluralRules,
|
|
1968
|
-
|
|
1969
|
-
r &&
|
|
1970
|
-
const
|
|
1965
|
+
let N = t ? t.missingWarn : ve(e.missingWarn) || yt(e.missingWarn) ? e.missingWarn : !0, F = t ? t.fallbackWarn : ve(e.fallbackWarn) || yt(e.fallbackWarn) ? e.fallbackWarn : !0, D = t ? t.fallbackRoot : ve(e.fallbackRoot) ? e.fallbackRoot : !0, A = !!e.fallbackFormat, w = me(e.missing) ? e.missing : null, f = me(e.missing) ? kn(e.missing) : null, h = me(e.postTranslation) ? e.postTranslation : null, S = t ? t.warnHtmlMessage : ve(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, c = !!e.escapeParameter;
|
|
1966
|
+
const b = t ? t.modifiers : ee(e.modifiers) ? e.modifiers : {};
|
|
1967
|
+
let I = e.pluralRules || t && t.pluralRules, p;
|
|
1968
|
+
p = (() => {
|
|
1969
|
+
r && bn(null);
|
|
1970
|
+
const v = {
|
|
1971
1971
|
version: Io,
|
|
1972
1972
|
locale: u.value,
|
|
1973
1973
|
fallbackLocale: i.value,
|
|
1974
1974
|
messages: g.value,
|
|
1975
|
-
modifiers:
|
|
1975
|
+
modifiers: b,
|
|
1976
1976
|
pluralRules: I,
|
|
1977
1977
|
missing: f === null ? void 0 : f,
|
|
1978
1978
|
missingWarn: N,
|
|
1979
1979
|
fallbackWarn: F,
|
|
1980
|
-
fallbackFormat:
|
|
1980
|
+
fallbackFormat: A,
|
|
1981
1981
|
unresolving: !0,
|
|
1982
|
-
postTranslation:
|
|
1982
|
+
postTranslation: h === null ? void 0 : h,
|
|
1983
1983
|
warnHtmlMessage: S,
|
|
1984
1984
|
escapeParameter: c,
|
|
1985
1985
|
messageResolver: e.messageResolver,
|
|
1986
1986
|
messageCompiler: e.messageCompiler,
|
|
1987
1987
|
__meta: { framework: "vue" }
|
|
1988
1988
|
};
|
|
1989
|
-
|
|
1990
|
-
const y = ro(
|
|
1991
|
-
return r &&
|
|
1992
|
-
})(), lt(
|
|
1989
|
+
v.datetimeFormats = E.value, v.numberFormats = T.value, v.__datetimeFormatters = ee(p) ? p.__datetimeFormatters : void 0, v.__numberFormatters = ee(p) ? p.__numberFormatters : void 0;
|
|
1990
|
+
const y = ro(v);
|
|
1991
|
+
return r && bn(y), y;
|
|
1992
|
+
})(), lt(p, u.value, i.value);
|
|
1993
1993
|
function L() {
|
|
1994
1994
|
return [
|
|
1995
1995
|
u.value,
|
|
@@ -2001,34 +2001,34 @@ function Oo(e = {}) {
|
|
|
2001
2001
|
}
|
|
2002
2002
|
const X = z({
|
|
2003
2003
|
get: () => u.value,
|
|
2004
|
-
set: (
|
|
2005
|
-
u.value =
|
|
2004
|
+
set: (v) => {
|
|
2005
|
+
u.value = v, p.locale = u.value;
|
|
2006
2006
|
}
|
|
2007
|
-
}),
|
|
2007
|
+
}), V = z({
|
|
2008
2008
|
get: () => i.value,
|
|
2009
|
-
set: (
|
|
2010
|
-
i.value =
|
|
2009
|
+
set: (v) => {
|
|
2010
|
+
i.value = v, p.fallbackLocale = i.value, lt(p, u.value, v);
|
|
2011
2011
|
}
|
|
2012
2012
|
}), m = z(() => g.value), C = /* @__PURE__ */ z(() => E.value), U = /* @__PURE__ */ z(() => T.value);
|
|
2013
2013
|
function x() {
|
|
2014
|
-
return me(
|
|
2014
|
+
return me(h) ? h : null;
|
|
2015
2015
|
}
|
|
2016
|
-
function j(
|
|
2017
|
-
|
|
2016
|
+
function j(v) {
|
|
2017
|
+
h = v, p.postTranslation = v;
|
|
2018
2018
|
}
|
|
2019
2019
|
function Z() {
|
|
2020
2020
|
return w;
|
|
2021
2021
|
}
|
|
2022
|
-
function
|
|
2023
|
-
|
|
2022
|
+
function W(v) {
|
|
2023
|
+
v !== null && (f = kn(v)), w = v, p.missing = f;
|
|
2024
2024
|
}
|
|
2025
|
-
const B = (
|
|
2025
|
+
const B = (v, y, $, le, Ye, mt) => {
|
|
2026
2026
|
L();
|
|
2027
2027
|
let ze;
|
|
2028
2028
|
try {
|
|
2029
|
-
go.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (
|
|
2029
|
+
go.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__, r || (p.fallbackContext = t ? no() : void 0), ze = v(p);
|
|
2030
2030
|
} finally {
|
|
2031
|
-
__INTLIFY_PROD_DEVTOOLS__, r || (
|
|
2031
|
+
__INTLIFY_PROD_DEVTOOLS__, r || (p.fallbackContext = void 0);
|
|
2032
2032
|
}
|
|
2033
2033
|
if ($ !== "translate exists" && // for not `te` (e.g `t`)
|
|
2034
2034
|
ge(ze) && ze === Ot || $ === "translate exists" && !ze) {
|
|
@@ -2040,63 +2040,63 @@ function Oo(e = {}) {
|
|
|
2040
2040
|
throw ut(at.UNEXPECTED_RETURN_TYPE);
|
|
2041
2041
|
}
|
|
2042
2042
|
};
|
|
2043
|
-
function Y(...
|
|
2044
|
-
return B((y) => Reflect.apply(On, null, [y, ...
|
|
2043
|
+
function Y(...v) {
|
|
2044
|
+
return B((y) => Reflect.apply(On, null, [y, ...v]), () => xt(...v), "translate", (y) => Reflect.apply(y.t, y, [...v]), (y) => y, (y) => G(y));
|
|
2045
2045
|
}
|
|
2046
|
-
function ne(...
|
|
2047
|
-
const [y, $, le] =
|
|
2046
|
+
function ne(...v) {
|
|
2047
|
+
const [y, $, le] = v;
|
|
2048
2048
|
if (le && !te(le))
|
|
2049
2049
|
throw ut(at.INVALID_ARGUMENT);
|
|
2050
2050
|
return Y(y, $, Ie({ resolvedMessage: !0 }, le || {}));
|
|
2051
2051
|
}
|
|
2052
|
-
function Q(...
|
|
2053
|
-
return B((y) => Reflect.apply(In, null, [y, ...
|
|
2052
|
+
function Q(...v) {
|
|
2053
|
+
return B((y) => Reflect.apply(In, null, [y, ...v]), () => jt(...v), "datetime format", (y) => Reflect.apply(y.d, y, [...v]), () => vn, (y) => G(y));
|
|
2054
2054
|
}
|
|
2055
|
-
function _e(...
|
|
2056
|
-
return B((y) => Reflect.apply(yn, null, [y, ...
|
|
2055
|
+
function _e(...v) {
|
|
2056
|
+
return B((y) => Reflect.apply(yn, null, [y, ...v]), () => Ut(...v), "number format", (y) => Reflect.apply(y.n, y, [...v]), () => vn, (y) => G(y));
|
|
2057
2057
|
}
|
|
2058
|
-
function ce(
|
|
2059
|
-
return
|
|
2058
|
+
function ce(v) {
|
|
2059
|
+
return v.map((y) => G(y) || ge(y) || ve(y) ? Sn(String(y)) : y);
|
|
2060
2060
|
}
|
|
2061
2061
|
const fe = {
|
|
2062
2062
|
normalize: ce,
|
|
2063
|
-
interpolate: (
|
|
2063
|
+
interpolate: (v) => v,
|
|
2064
2064
|
type: "vnode"
|
|
2065
2065
|
};
|
|
2066
|
-
function q(...
|
|
2066
|
+
function q(...v) {
|
|
2067
2067
|
return B((y) => {
|
|
2068
2068
|
let $;
|
|
2069
2069
|
const le = y;
|
|
2070
2070
|
try {
|
|
2071
|
-
le.processor = fe, $ = Reflect.apply(On, null, [le, ...
|
|
2071
|
+
le.processor = fe, $ = Reflect.apply(On, null, [le, ...v]);
|
|
2072
2072
|
} finally {
|
|
2073
2073
|
le.processor = null;
|
|
2074
2074
|
}
|
|
2075
2075
|
return $;
|
|
2076
|
-
}, () => xt(...
|
|
2076
|
+
}, () => xt(...v), "translate", (y) => y[Vt](...v), (y) => [Sn(y)], (y) => be(y));
|
|
2077
2077
|
}
|
|
2078
|
-
function we(...
|
|
2079
|
-
return B((y) => Reflect.apply(yn, null, [y, ...
|
|
2078
|
+
function we(...v) {
|
|
2079
|
+
return B((y) => Reflect.apply(yn, null, [y, ...v]), () => Ut(...v), "number format", (y) => y[Zt](...v), An, (y) => G(y) || be(y));
|
|
2080
2080
|
}
|
|
2081
|
-
function K(...
|
|
2082
|
-
return B((y) => Reflect.apply(In, null, [y, ...
|
|
2081
|
+
function K(...v) {
|
|
2082
|
+
return B((y) => Reflect.apply(In, null, [y, ...v]), () => jt(...v), "datetime format", (y) => y[Wt](...v), An, (y) => G(y) || be(y));
|
|
2083
2083
|
}
|
|
2084
|
-
function
|
|
2085
|
-
I =
|
|
2084
|
+
function pe(v) {
|
|
2085
|
+
I = v, p.pluralRules = I;
|
|
2086
2086
|
}
|
|
2087
|
-
function Je(
|
|
2087
|
+
function Je(v, y) {
|
|
2088
2088
|
return B(() => {
|
|
2089
|
-
if (!
|
|
2089
|
+
if (!v)
|
|
2090
2090
|
return !1;
|
|
2091
|
-
const $ = G(y) ? y : u.value, le = Fe($), Ye =
|
|
2091
|
+
const $ = G(y) ? y : u.value, le = Fe($), Ye = p.messageResolver(le, v);
|
|
2092
2092
|
return ot(Ye) || Te(Ye) || G(Ye);
|
|
2093
|
-
}, () => [
|
|
2093
|
+
}, () => [v], "translate exists", ($) => Reflect.apply($.te, $, [v, y]), Co, ($) => ve($));
|
|
2094
2094
|
}
|
|
2095
|
-
function Ke(
|
|
2095
|
+
function Ke(v) {
|
|
2096
2096
|
let y = null;
|
|
2097
|
-
const $ = Hn(
|
|
2097
|
+
const $ = Hn(p, i.value, u.value);
|
|
2098
2098
|
for (let le = 0; le < $.length; le++) {
|
|
2099
|
-
const Ye = g.value[$[le]] || {}, mt =
|
|
2099
|
+
const Ye = g.value[$[le]] || {}, mt = p.messageResolver(Ye, v);
|
|
2100
2100
|
if (mt != null) {
|
|
2101
2101
|
y = mt;
|
|
2102
2102
|
break;
|
|
@@ -2104,69 +2104,69 @@ function Oo(e = {}) {
|
|
|
2104
2104
|
}
|
|
2105
2105
|
return y;
|
|
2106
2106
|
}
|
|
2107
|
-
function xe(
|
|
2108
|
-
const y = Ke(
|
|
2109
|
-
return y ?? (t ? t.tm(
|
|
2107
|
+
function xe(v) {
|
|
2108
|
+
const y = Ke(v);
|
|
2109
|
+
return y ?? (t ? t.tm(v) || {} : {});
|
|
2110
2110
|
}
|
|
2111
|
-
function Fe(
|
|
2112
|
-
return g.value[
|
|
2111
|
+
function Fe(v) {
|
|
2112
|
+
return g.value[v] || {};
|
|
2113
2113
|
}
|
|
2114
|
-
function Ce(
|
|
2114
|
+
function Ce(v, y) {
|
|
2115
2115
|
if (l) {
|
|
2116
|
-
const $ = { [
|
|
2116
|
+
const $ = { [v]: y };
|
|
2117
2117
|
for (const le in $)
|
|
2118
2118
|
Le($, le) && dt($[le]);
|
|
2119
|
-
y = $[
|
|
2119
|
+
y = $[v];
|
|
2120
2120
|
}
|
|
2121
|
-
g.value[
|
|
2121
|
+
g.value[v] = y, p.messages = g.value;
|
|
2122
2122
|
}
|
|
2123
|
-
function Be(
|
|
2124
|
-
g.value[
|
|
2125
|
-
const $ = { [
|
|
2123
|
+
function Be(v, y) {
|
|
2124
|
+
g.value[v] = g.value[v] || {};
|
|
2125
|
+
const $ = { [v]: y };
|
|
2126
2126
|
if (l)
|
|
2127
2127
|
for (const le in $)
|
|
2128
2128
|
Le($, le) && dt($[le]);
|
|
2129
|
-
y = $[
|
|
2129
|
+
y = $[v], Et(y, g.value[v]), p.messages = g.value;
|
|
2130
2130
|
}
|
|
2131
|
-
function O(
|
|
2132
|
-
return E.value[
|
|
2131
|
+
function O(v) {
|
|
2132
|
+
return E.value[v] || {};
|
|
2133
2133
|
}
|
|
2134
|
-
function s(
|
|
2135
|
-
E.value[
|
|
2134
|
+
function s(v, y) {
|
|
2135
|
+
E.value[v] = y, p.datetimeFormats = E.value, En(p, v, y);
|
|
2136
2136
|
}
|
|
2137
|
-
function o(
|
|
2138
|
-
E.value[
|
|
2137
|
+
function o(v, y) {
|
|
2138
|
+
E.value[v] = Ie(E.value[v] || {}, y), p.datetimeFormats = E.value, En(p, v, y);
|
|
2139
2139
|
}
|
|
2140
|
-
function _(
|
|
2141
|
-
return T.value[
|
|
2140
|
+
function _(v) {
|
|
2141
|
+
return T.value[v] || {};
|
|
2142
2142
|
}
|
|
2143
|
-
function
|
|
2144
|
-
T.value[
|
|
2143
|
+
function R(v, y) {
|
|
2144
|
+
T.value[v] = y, p.numberFormats = T.value, Nn(p, v, y);
|
|
2145
2145
|
}
|
|
2146
|
-
function M(
|
|
2147
|
-
T.value[
|
|
2146
|
+
function M(v, y) {
|
|
2147
|
+
T.value[v] = Ie(T.value[v] || {}, y), p.numberFormats = T.value, Nn(p, v, y);
|
|
2148
2148
|
}
|
|
2149
|
-
|
|
2150
|
-
d && (u.value =
|
|
2151
|
-
}), Dt(t.fallbackLocale, (
|
|
2152
|
-
d && (i.value =
|
|
2149
|
+
Rn++, t && on && (Dt(t.locale, (v) => {
|
|
2150
|
+
d && (u.value = v, p.locale = v, lt(p, u.value, i.value));
|
|
2151
|
+
}), Dt(t.fallbackLocale, (v) => {
|
|
2152
|
+
d && (i.value = v, p.fallbackLocale = v, lt(p, u.value, i.value));
|
|
2153
2153
|
}));
|
|
2154
2154
|
const P = {
|
|
2155
|
-
id:
|
|
2155
|
+
id: Rn,
|
|
2156
2156
|
locale: X,
|
|
2157
|
-
fallbackLocale:
|
|
2157
|
+
fallbackLocale: V,
|
|
2158
2158
|
get inheritLocale() {
|
|
2159
2159
|
return d;
|
|
2160
2160
|
},
|
|
2161
|
-
set inheritLocale(
|
|
2162
|
-
d =
|
|
2161
|
+
set inheritLocale(v) {
|
|
2162
|
+
d = v, v && t && (u.value = t.locale.value, i.value = t.fallbackLocale.value, lt(p, u.value, i.value));
|
|
2163
2163
|
},
|
|
2164
2164
|
get availableLocales() {
|
|
2165
2165
|
return Object.keys(g.value).sort();
|
|
2166
2166
|
},
|
|
2167
2167
|
messages: m,
|
|
2168
2168
|
get modifiers() {
|
|
2169
|
-
return
|
|
2169
|
+
return b;
|
|
2170
2170
|
},
|
|
2171
2171
|
get pluralRules() {
|
|
2172
2172
|
return I || {};
|
|
@@ -2177,38 +2177,38 @@ function Oo(e = {}) {
|
|
|
2177
2177
|
get missingWarn() {
|
|
2178
2178
|
return N;
|
|
2179
2179
|
},
|
|
2180
|
-
set missingWarn(
|
|
2181
|
-
N =
|
|
2180
|
+
set missingWarn(v) {
|
|
2181
|
+
N = v, p.missingWarn = N;
|
|
2182
2182
|
},
|
|
2183
2183
|
get fallbackWarn() {
|
|
2184
2184
|
return F;
|
|
2185
2185
|
},
|
|
2186
|
-
set fallbackWarn(
|
|
2187
|
-
F =
|
|
2186
|
+
set fallbackWarn(v) {
|
|
2187
|
+
F = v, p.fallbackWarn = F;
|
|
2188
2188
|
},
|
|
2189
2189
|
get fallbackRoot() {
|
|
2190
2190
|
return D;
|
|
2191
2191
|
},
|
|
2192
|
-
set fallbackRoot(
|
|
2193
|
-
D =
|
|
2192
|
+
set fallbackRoot(v) {
|
|
2193
|
+
D = v;
|
|
2194
2194
|
},
|
|
2195
2195
|
get fallbackFormat() {
|
|
2196
|
-
return
|
|
2196
|
+
return A;
|
|
2197
2197
|
},
|
|
2198
|
-
set fallbackFormat(
|
|
2199
|
-
|
|
2198
|
+
set fallbackFormat(v) {
|
|
2199
|
+
A = v, p.fallbackFormat = A;
|
|
2200
2200
|
},
|
|
2201
2201
|
get warnHtmlMessage() {
|
|
2202
2202
|
return S;
|
|
2203
2203
|
},
|
|
2204
|
-
set warnHtmlMessage(
|
|
2205
|
-
S =
|
|
2204
|
+
set warnHtmlMessage(v) {
|
|
2205
|
+
S = v, p.warnHtmlMessage = v;
|
|
2206
2206
|
},
|
|
2207
2207
|
get escapeParameter() {
|
|
2208
2208
|
return c;
|
|
2209
2209
|
},
|
|
2210
|
-
set escapeParameter(
|
|
2211
|
-
c =
|
|
2210
|
+
set escapeParameter(v) {
|
|
2211
|
+
c = v, p.escapeParameter = v;
|
|
2212
2212
|
},
|
|
2213
2213
|
t: Y,
|
|
2214
2214
|
getLocaleMessage: Fe,
|
|
@@ -2217,10 +2217,10 @@ function Oo(e = {}) {
|
|
|
2217
2217
|
getPostTranslationHandler: x,
|
|
2218
2218
|
setPostTranslationHandler: j,
|
|
2219
2219
|
getMissingHandler: Z,
|
|
2220
|
-
setMissingHandler:
|
|
2221
|
-
[yo]:
|
|
2220
|
+
setMissingHandler: W,
|
|
2221
|
+
[yo]: pe
|
|
2222
2222
|
};
|
|
2223
|
-
return P.datetimeFormats = C, P.numberFormats = U, P.rt = ne, P.te = Je, P.tm = xe, P.d = Q, P.n = _e, P.getDateTimeFormat = O, P.setDateTimeFormat = s, P.mergeDateTimeFormat = o, P.getNumberFormat = _, P.setNumberFormat =
|
|
2223
|
+
return P.datetimeFormats = C, P.numberFormats = U, P.rt = ne, P.te = Je, P.tm = xe, P.d = Q, P.n = _e, P.getDateTimeFormat = O, P.setDateTimeFormat = s, P.mergeDateTimeFormat = o, P.getNumberFormat = _, P.setNumberFormat = R, P.mergeNumberFormat = M, P[rr] = n, P[Vt] = q, P[Wt] = K, P[Zt] = we, P;
|
|
2224
2224
|
}
|
|
2225
2225
|
const qt = {
|
|
2226
2226
|
tag: {
|
|
@@ -2244,14 +2244,14 @@ function So({ slots: e }, t) {
|
|
|
2244
2244
|
return t.length === 1 && t[0] === "default" ? (e.default ? e.default() : []).reduce((r, l) => [
|
|
2245
2245
|
...r,
|
|
2246
2246
|
// prettier-ignore
|
|
2247
|
-
...l.type ===
|
|
2247
|
+
...l.type === ke ? l.children : [l]
|
|
2248
2248
|
], []) : t.reduce((n, r) => {
|
|
2249
2249
|
const l = e[r];
|
|
2250
2250
|
return l && (n[r] = l()), n;
|
|
2251
2251
|
}, oe());
|
|
2252
2252
|
}
|
|
2253
2253
|
function ar() {
|
|
2254
|
-
return
|
|
2254
|
+
return ke;
|
|
2255
2255
|
}
|
|
2256
2256
|
Ie({
|
|
2257
2257
|
keypath: {
|
|
@@ -2264,7 +2264,7 @@ Ie({
|
|
|
2264
2264
|
}
|
|
2265
2265
|
}, qt);
|
|
2266
2266
|
function Lo(e) {
|
|
2267
|
-
return
|
|
2267
|
+
return be(e) && !G(e[0]);
|
|
2268
2268
|
}
|
|
2269
2269
|
function lr(e, t, n, r) {
|
|
2270
2270
|
const { slots: l, attrs: a } = t;
|
|
@@ -2274,12 +2274,12 @@ function lr(e, t, n, r) {
|
|
|
2274
2274
|
e.locale && (d.locale = e.locale), G(e.format) ? d.key = e.format : te(e.format) && (G(e.format.key) && (d.key = e.format.key), u = Object.keys(e.format).reduce((N, F) => n.includes(F) ? Ie(oe(), N, { [F]: e.format[F] }) : N, oe()));
|
|
2275
2275
|
const i = r(e.value, d, u);
|
|
2276
2276
|
let g = [d.key];
|
|
2277
|
-
|
|
2278
|
-
const D = l[N.type],
|
|
2279
|
-
return Lo(
|
|
2277
|
+
be(i) ? g = i.map((N, F) => {
|
|
2278
|
+
const D = l[N.type], A = D ? D({ [N.type]: N.value, index: F, parts: i }) : [N.value];
|
|
2279
|
+
return Lo(A) && (A[0].key = `${N.type}-${F}`), A;
|
|
2280
2280
|
}) : G(i) && (g = [i]);
|
|
2281
2281
|
const E = Ie(oe(), a), T = G(e.tag) || te(e.tag) ? e.tag : ar();
|
|
2282
|
-
return
|
|
2282
|
+
return Wn(T, E, g);
|
|
2283
2283
|
};
|
|
2284
2284
|
}
|
|
2285
2285
|
Ie({
|
|
@@ -2300,14 +2300,14 @@ Ie({
|
|
|
2300
2300
|
type: [String, Object]
|
|
2301
2301
|
}
|
|
2302
2302
|
}, qt);
|
|
2303
|
-
const
|
|
2303
|
+
const Ao = /* @__PURE__ */ $e("global-vue-i18n");
|
|
2304
2304
|
function St(e = {}) {
|
|
2305
2305
|
const t = Yt();
|
|
2306
2306
|
if (t == null)
|
|
2307
2307
|
throw ut(at.MUST_BE_CALL_SETUP_TOP);
|
|
2308
2308
|
if (!t.isCE && t.appContext.app != null && !t.appContext.app.__VUE_I18N_SYMBOL__)
|
|
2309
2309
|
throw ut(at.NOT_INSTALLED);
|
|
2310
|
-
const n =
|
|
2310
|
+
const n = Ro(t), r = Mo(n), l = or(t), a = ko(e, l);
|
|
2311
2311
|
if (a === "global")
|
|
2312
2312
|
return No(r, e, l), r;
|
|
2313
2313
|
if (a === "parent") {
|
|
@@ -2322,13 +2322,13 @@ function St(e = {}) {
|
|
|
2322
2322
|
}
|
|
2323
2323
|
return u;
|
|
2324
2324
|
}
|
|
2325
|
-
function
|
|
2326
|
-
const t = ur(e.isCE ?
|
|
2325
|
+
function Ro(e) {
|
|
2326
|
+
const t = ur(e.isCE ? Ao : e.appContext.app.__VUE_I18N_SYMBOL__);
|
|
2327
2327
|
if (!t)
|
|
2328
2328
|
throw ut(e.isCE ? at.NOT_INSTALLED_WITH_PROVIDE : at.UNEXPECTED_ERROR);
|
|
2329
2329
|
return t;
|
|
2330
2330
|
}
|
|
2331
|
-
function
|
|
2331
|
+
function ko(e, t) {
|
|
2332
2332
|
return Ct(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
|
|
2333
2333
|
}
|
|
2334
2334
|
function Mo(e) {
|
|
@@ -2356,7 +2356,7 @@ function wo(e, t = !1) {
|
|
|
2356
2356
|
return e == null ? null : t && e.vnode.ctx || e.parent;
|
|
2357
2357
|
}
|
|
2358
2358
|
function Fo(e, t, n) {
|
|
2359
|
-
|
|
2359
|
+
Vn(() => {
|
|
2360
2360
|
}, t), mr(() => {
|
|
2361
2361
|
const r = n;
|
|
2362
2362
|
e.__deleteInstance(t);
|
|
@@ -2372,7 +2372,7 @@ if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
|
2372
2372
|
const e = Xe();
|
|
2373
2373
|
e.__INTLIFY__ = !0, Ds(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
|
2374
2374
|
}
|
|
2375
|
-
const
|
|
2375
|
+
const vt = /* @__PURE__ */ Ae({
|
|
2376
2376
|
__name: "InheritPermissionTooltip",
|
|
2377
2377
|
props: {
|
|
2378
2378
|
item: {
|
|
@@ -2391,7 +2391,7 @@ const pt = /* @__PURE__ */ ke({
|
|
|
2391
2391
|
}, {
|
|
2392
2392
|
content: de(() => [
|
|
2393
2393
|
ae("div", null, Oe(H(t)("team.memberForm.permissions.inherited")), 1),
|
|
2394
|
-
(J(!0), ie(
|
|
2394
|
+
(J(!0), ie(ke, null, ye(e.item.setNames, (d) => (J(), ie("div", { key: d }, [
|
|
2395
2395
|
ae("div", null, "- " + Oe(d), 1)
|
|
2396
2396
|
]))), 128))
|
|
2397
2397
|
]),
|
|
@@ -2431,48 +2431,48 @@ function jo(e, t, n, r) {
|
|
|
2431
2431
|
var j;
|
|
2432
2432
|
const m = /* @__PURE__ */ new Map(), C = /* @__PURE__ */ new Map(), U = /* @__PURE__ */ new Map();
|
|
2433
2433
|
for (const Z of t.value) {
|
|
2434
|
-
const
|
|
2435
|
-
if (!
|
|
2434
|
+
const W = Z.category;
|
|
2435
|
+
if (!W) continue;
|
|
2436
2436
|
const B = Z.subject;
|
|
2437
2437
|
if (n.value.includes(Z.subject) || Z.showByFeatureFlag && ((j = d(Z.showByFeatureFlag)) == null ? void 0 : j.enabled) === !1 && a(Z.showByFeatureFlag) === "true")
|
|
2438
2438
|
continue;
|
|
2439
|
-
m.has(
|
|
2439
|
+
m.has(W) || m.set(W, []);
|
|
2440
2440
|
const Y = U.get(B) ?? 0;
|
|
2441
|
-
U.set(B, Y + 1), m.get(
|
|
2441
|
+
U.set(B, Y + 1), m.get(W).push({
|
|
2442
2442
|
label: l(`permissionSet.permissionLabels.${B}`, Z.label),
|
|
2443
2443
|
value: B,
|
|
2444
2444
|
optionKey: `${B}::${Y}`
|
|
2445
2445
|
}), C.has(B) || C.set(B, Z);
|
|
2446
2446
|
}
|
|
2447
|
-
return [...m.keys()].sort((Z,
|
|
2448
|
-
const B = Dn.indexOf(Z), Y = Dn.indexOf(
|
|
2449
|
-
return B === -1 && Y === -1 ? Z.localeCompare(
|
|
2447
|
+
return [...m.keys()].sort((Z, W) => {
|
|
2448
|
+
const B = Dn.indexOf(Z), Y = Dn.indexOf(W);
|
|
2449
|
+
return B === -1 && Y === -1 ? Z.localeCompare(W) : B === -1 ? 1 : Y === -1 ? -1 : B - Y;
|
|
2450
2450
|
}).map((Z) => {
|
|
2451
|
-
const
|
|
2452
|
-
for (const K of
|
|
2453
|
-
const
|
|
2454
|
-
|
|
2451
|
+
const W = m.get(Z), B = l(`permissionSet.categoryLabels.${Z}`, Z), Y = /* @__PURE__ */ new Map();
|
|
2452
|
+
for (const K of W) {
|
|
2453
|
+
const pe = C.get(K.value);
|
|
2454
|
+
pe && Y.set(K.value, pe.actions);
|
|
2455
2455
|
}
|
|
2456
|
-
const ne =
|
|
2457
|
-
const
|
|
2458
|
-
return
|
|
2456
|
+
const ne = W.some((K) => {
|
|
2457
|
+
const pe = Y.get(K.value);
|
|
2458
|
+
return pe && pe.length > 1;
|
|
2459
2459
|
}), Q = ne ? [
|
|
2460
2460
|
...new Set(
|
|
2461
|
-
|
|
2461
|
+
W.flatMap((K) => Y.get(K.value) ?? []).filter((K) => K !== "manage")
|
|
2462
2462
|
)
|
|
2463
2463
|
] : [], _e = /* @__PURE__ */ new Map();
|
|
2464
2464
|
for (const K of e.value)
|
|
2465
|
-
|
|
2465
|
+
W.some((pe) => pe.value === K.subject) && !K.inverted && _e.set(K.subject, new Set(K.actions));
|
|
2466
2466
|
const ce = ne ? e.value.filter(
|
|
2467
|
-
(K) =>
|
|
2468
|
-
).map((K) => K.subject) : e.value.filter((K) =>
|
|
2469
|
-
var
|
|
2470
|
-
return (
|
|
2467
|
+
(K) => W.some((pe) => pe.value === K.subject) && !K.inverted && K.actions.includes("manage")
|
|
2468
|
+
).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) => {
|
|
2469
|
+
var pe;
|
|
2470
|
+
return (pe = C.get(K.value)) == null ? void 0 : pe.isCategoryCover;
|
|
2471
2471
|
}), fe = (se == null ? void 0 : se.value) ?? null, q = fe ? _e.get(fe) ?? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set(), we = q.has("manage");
|
|
2472
2472
|
return {
|
|
2473
2473
|
category: Z,
|
|
2474
2474
|
label: B,
|
|
2475
|
-
options:
|
|
2475
|
+
options: W,
|
|
2476
2476
|
selectedSubjects: ce,
|
|
2477
2477
|
isMultiAction: ne,
|
|
2478
2478
|
actionColumns: Q,
|
|
@@ -2485,16 +2485,16 @@ function jo(e, t, n, r) {
|
|
|
2485
2485
|
});
|
|
2486
2486
|
});
|
|
2487
2487
|
function i(m, C) {
|
|
2488
|
-
const U = u.value.find((Q) => Q.category === m), x = (U == null ? void 0 : U.options) ?? [], j = new Set(x.map((Q) => Q.value)), Z = new Set(C),
|
|
2488
|
+
const U = u.value.find((Q) => Q.category === m), x = (U == null ? void 0 : U.options) ?? [], j = new Set(x.map((Q) => Q.value)), Z = new Set(C), W = /* @__PURE__ */ new Map();
|
|
2489
2489
|
for (const Q of e.value)
|
|
2490
|
-
j.has(Q.subject) && !Q.inverted &&
|
|
2491
|
-
const B = U != null && U.coverSubject ?
|
|
2490
|
+
j.has(Q.subject) && !Q.inverted && W.set(Q.subject, Q.conditions);
|
|
2491
|
+
const B = U != null && U.coverSubject ? W.get(U.coverSubject) : void 0, Y = /* @__PURE__ */ new Set(), ne = t.value.flatMap(
|
|
2492
2492
|
({ category: Q, showByFeatureFlag: _e, isCategoryCover: ce, ...se }) => {
|
|
2493
2493
|
const fe = se.subject;
|
|
2494
2494
|
if (!Z.has(fe) || Y.has(fe)) return [];
|
|
2495
2495
|
Y.add(fe);
|
|
2496
2496
|
let q;
|
|
2497
|
-
return
|
|
2497
|
+
return W.has(fe) ? q = W.get(fe) : U != null && U.coverSubject && fe !== U.coverSubject && (q = B), [
|
|
2498
2498
|
{ ...se, ...q !== void 0 && { conditions: q } }
|
|
2499
2499
|
];
|
|
2500
2500
|
}
|
|
@@ -2523,7 +2523,7 @@ function jo(e, t, n, r) {
|
|
|
2523
2523
|
const x = /* @__PURE__ */ new Map();
|
|
2524
2524
|
for (const B of e.value)
|
|
2525
2525
|
C.has(B.subject) && !B.inverted && x.set(B.subject, B.conditions);
|
|
2526
|
-
const j = m.coverSubject ? x.get(m.coverSubject) : void 0, Z = /* @__PURE__ */ new Set(),
|
|
2526
|
+
const j = m.coverSubject ? x.get(m.coverSubject) : void 0, Z = /* @__PURE__ */ new Set(), W = t.value.flatMap(
|
|
2527
2527
|
({ category: B, showByFeatureFlag: Y, isCategoryCover: ne, ...Q }) => {
|
|
2528
2528
|
const _e = Q.subject;
|
|
2529
2529
|
if (!C.has(_e) || Z.has(_e)) return [];
|
|
@@ -2534,7 +2534,7 @@ function jo(e, t, n, r) {
|
|
|
2534
2534
|
];
|
|
2535
2535
|
}
|
|
2536
2536
|
);
|
|
2537
|
-
r("update:model-value", [...U, ...
|
|
2537
|
+
r("update:model-value", [...U, ...W]);
|
|
2538
2538
|
}
|
|
2539
2539
|
}
|
|
2540
2540
|
function F(m, C) {
|
|
@@ -2544,10 +2544,10 @@ function jo(e, t, n, r) {
|
|
|
2544
2544
|
function D(m, C) {
|
|
2545
2545
|
const U = m.permissionActionsMap.get(C);
|
|
2546
2546
|
return U ? U.filter((j) => j !== "manage").filter(
|
|
2547
|
-
(j) => S(m, C, j) ||
|
|
2547
|
+
(j) => S(m, C, j) || b(m, C, j)
|
|
2548
2548
|
) : [];
|
|
2549
2549
|
}
|
|
2550
|
-
function
|
|
2550
|
+
function A(m, C) {
|
|
2551
2551
|
return c(m, C) ? !1 : !F(m, C) && D(m, C).length > 0;
|
|
2552
2552
|
}
|
|
2553
2553
|
function w(m, C) {
|
|
@@ -2564,7 +2564,7 @@ function jo(e, t, n, r) {
|
|
|
2564
2564
|
const {
|
|
2565
2565
|
category: j,
|
|
2566
2566
|
showByFeatureFlag: Z,
|
|
2567
|
-
isCategoryCover:
|
|
2567
|
+
isCategoryCover: W,
|
|
2568
2568
|
...B
|
|
2569
2569
|
} = x, Y = w(m, C), ne = e.value.filter((Q) => Q.subject !== C);
|
|
2570
2570
|
ne.push({
|
|
@@ -2577,7 +2577,7 @@ function jo(e, t, n, r) {
|
|
|
2577
2577
|
e.value.filter((x) => x.subject !== C)
|
|
2578
2578
|
);
|
|
2579
2579
|
}
|
|
2580
|
-
function
|
|
2580
|
+
function h(m, C) {
|
|
2581
2581
|
const U = m.permissionActionsMap.get(C);
|
|
2582
2582
|
return U ? U.some((x) => x !== "manage") : !1;
|
|
2583
2583
|
}
|
|
@@ -2588,28 +2588,28 @@ function jo(e, t, n, r) {
|
|
|
2588
2588
|
function c(m, C) {
|
|
2589
2589
|
return !m.coverSubject || C === m.coverSubject ? !1 : m.coverCoversAll;
|
|
2590
2590
|
}
|
|
2591
|
-
function
|
|
2591
|
+
function b(m, C, U) {
|
|
2592
2592
|
return !m.coverSubject || C === m.coverSubject ? !1 : m.coverCoversAll ? !0 : m.coverSelectedActions.has(U);
|
|
2593
2593
|
}
|
|
2594
2594
|
function I(m, C, U) {
|
|
2595
2595
|
const x = m.permissionActionsMap.get(C);
|
|
2596
2596
|
return x ? x.includes(U) : !1;
|
|
2597
2597
|
}
|
|
2598
|
-
function
|
|
2599
|
-
const x = [...e.value], j = x.findIndex((
|
|
2598
|
+
function p(m, C, U) {
|
|
2599
|
+
const x = [...e.value], j = x.findIndex((W) => W.subject === m && !W.inverted);
|
|
2600
2600
|
if (U)
|
|
2601
2601
|
if (j >= 0) {
|
|
2602
|
-
const
|
|
2603
|
-
B.add(C),
|
|
2602
|
+
const W = { ...x[j] }, B = new Set(W.actions);
|
|
2603
|
+
B.add(C), W.actions = Array.from(B), x[j] = W;
|
|
2604
2604
|
} else {
|
|
2605
|
-
const
|
|
2606
|
-
if (!
|
|
2605
|
+
const W = t.value.find((se) => se.subject === m);
|
|
2606
|
+
if (!W) return;
|
|
2607
2607
|
const {
|
|
2608
2608
|
category: B,
|
|
2609
2609
|
showByFeatureFlag: Y,
|
|
2610
2610
|
isCategoryCover: ne,
|
|
2611
2611
|
...Q
|
|
2612
|
-
} =
|
|
2612
|
+
} = W, _e = u.value.find(
|
|
2613
2613
|
(se) => se.options.some((fe) => fe.value === m)
|
|
2614
2614
|
), ce = _e ? w(_e, m) : void 0;
|
|
2615
2615
|
x.push({
|
|
@@ -2619,18 +2619,18 @@ function jo(e, t, n, r) {
|
|
|
2619
2619
|
});
|
|
2620
2620
|
}
|
|
2621
2621
|
else if (j >= 0) {
|
|
2622
|
-
const
|
|
2623
|
-
B.length === 0 ? x.splice(j, 1) : (
|
|
2622
|
+
const W = { ...x[j] }, B = W.actions.filter((Y) => Y !== C);
|
|
2623
|
+
B.length === 0 ? x.splice(j, 1) : (W.actions = B, x[j] = W);
|
|
2624
2624
|
}
|
|
2625
|
-
const Z = t.value.find((
|
|
2625
|
+
const Z = t.value.find((W) => W.subject === m);
|
|
2626
2626
|
Z && Mn(x, m, Z.actions), r("update:model-value", x);
|
|
2627
2627
|
}
|
|
2628
|
-
function
|
|
2628
|
+
function k(m, C) {
|
|
2629
2629
|
const U = m.options.filter(
|
|
2630
2630
|
(x) => I(m, x.value, C)
|
|
2631
2631
|
);
|
|
2632
2632
|
return U.length === 0 ? !1 : U.every(
|
|
2633
|
-
(x) => S(m, x.value, C) ||
|
|
2633
|
+
(x) => S(m, x.value, C) || b(m, x.value, C)
|
|
2634
2634
|
);
|
|
2635
2635
|
}
|
|
2636
2636
|
function L(m, C) {
|
|
@@ -2639,7 +2639,7 @@ function jo(e, t, n, r) {
|
|
|
2639
2639
|
);
|
|
2640
2640
|
if (U.length === 0) return !1;
|
|
2641
2641
|
const x = U.filter(
|
|
2642
|
-
(j) => S(m, j.value, C) ||
|
|
2642
|
+
(j) => S(m, j.value, C) || b(m, j.value, C)
|
|
2643
2643
|
).length;
|
|
2644
2644
|
return x > 0 && x < U.length;
|
|
2645
2645
|
}
|
|
@@ -2647,13 +2647,13 @@ function jo(e, t, n, r) {
|
|
|
2647
2647
|
const x = [...e.value];
|
|
2648
2648
|
for (const j of m.options) {
|
|
2649
2649
|
if (!I(m, j.value, C)) continue;
|
|
2650
|
-
const Z = j.value,
|
|
2650
|
+
const Z = j.value, W = x.findIndex(
|
|
2651
2651
|
(Y) => Y.subject === Z && !Y.inverted
|
|
2652
2652
|
);
|
|
2653
2653
|
if (U)
|
|
2654
|
-
if (
|
|
2655
|
-
const Y = { ...x[
|
|
2656
|
-
ne.add(C), Y.actions = Array.from(ne), x[
|
|
2654
|
+
if (W >= 0) {
|
|
2655
|
+
const Y = { ...x[W] }, ne = new Set(Y.actions);
|
|
2656
|
+
ne.add(C), Y.actions = Array.from(ne), x[W] = Y;
|
|
2657
2657
|
} else {
|
|
2658
2658
|
const Y = t.value.find((fe) => fe.subject === Z);
|
|
2659
2659
|
if (!Y) continue;
|
|
@@ -2669,16 +2669,16 @@ function jo(e, t, n, r) {
|
|
|
2669
2669
|
...se !== void 0 && { conditions: se }
|
|
2670
2670
|
});
|
|
2671
2671
|
}
|
|
2672
|
-
else if (
|
|
2673
|
-
const Y = { ...x[
|
|
2674
|
-
ne.length === 0 ? x.splice(
|
|
2672
|
+
else if (W >= 0) {
|
|
2673
|
+
const Y = { ...x[W] }, ne = Y.actions.filter((Q) => Q !== C);
|
|
2674
|
+
ne.length === 0 ? x.splice(W, 1) : (Y.actions = ne, x[W] = Y);
|
|
2675
2675
|
}
|
|
2676
2676
|
const B = t.value.find((Y) => Y.subject === Z);
|
|
2677
2677
|
B && Mn(x, Z, B.actions);
|
|
2678
2678
|
}
|
|
2679
2679
|
r("update:model-value", x);
|
|
2680
2680
|
}
|
|
2681
|
-
function
|
|
2681
|
+
function V(m) {
|
|
2682
2682
|
const C = `permissionSet.actionLabels.${m}`, U = Po[m] ?? m.charAt(0).toUpperCase() + m.slice(1);
|
|
2683
2683
|
return l(C, U);
|
|
2684
2684
|
}
|
|
@@ -2689,21 +2689,21 @@ function jo(e, t, n, r) {
|
|
|
2689
2689
|
isAllManageIndeterminate: T,
|
|
2690
2690
|
toggleAllManage: N,
|
|
2691
2691
|
isManageChecked: F,
|
|
2692
|
-
isManageIndeterminate:
|
|
2692
|
+
isManageIndeterminate: A,
|
|
2693
2693
|
toggleManage: f,
|
|
2694
|
-
hasNonManageActions:
|
|
2694
|
+
hasNonManageActions: h,
|
|
2695
2695
|
isActionChecked: S,
|
|
2696
2696
|
isRowFullyCoveredByCover: c,
|
|
2697
|
-
isActionCoveredByCover:
|
|
2697
|
+
isActionCoveredByCover: b,
|
|
2698
2698
|
permissionDefinesAction: I,
|
|
2699
|
-
toggleAction:
|
|
2700
|
-
isAllActionChecked:
|
|
2699
|
+
toggleAction: p,
|
|
2700
|
+
isAllActionChecked: k,
|
|
2701
2701
|
isAllActionIndeterminate: L,
|
|
2702
2702
|
toggleAllAction: X,
|
|
2703
|
-
actionLabel:
|
|
2703
|
+
actionLabel: V
|
|
2704
2704
|
};
|
|
2705
2705
|
}
|
|
2706
|
-
const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm-600" },
|
|
2706
|
+
const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm-600" }, Vo = { class: "mt-16" }, Wo = { class: "text-center text-sm font-semibold text-fm-color-typo-primary" }, Zo = ["onClick"], Go = { class: "flex justify-center" }, Bo = { class: "flex items-center min-w-0 gap-8" }, Yo = ["title", "onClick"], Xo = { class: "flex justify-center" }, Ho = /* @__PURE__ */ Ae({
|
|
2707
2707
|
__name: "BasePermission",
|
|
2708
2708
|
props: {
|
|
2709
2709
|
modelValue: {
|
|
@@ -2735,133 +2735,133 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
2735
2735
|
toggleManage: N,
|
|
2736
2736
|
isActionChecked: F,
|
|
2737
2737
|
isRowFullyCoveredByCover: D,
|
|
2738
|
-
isActionCoveredByCover:
|
|
2738
|
+
isActionCoveredByCover: A,
|
|
2739
2739
|
permissionDefinesAction: w,
|
|
2740
2740
|
toggleAction: f,
|
|
2741
|
-
isAllActionChecked:
|
|
2741
|
+
isAllActionChecked: h,
|
|
2742
2742
|
isAllActionIndeterminate: S,
|
|
2743
2743
|
toggleAllAction: c,
|
|
2744
|
-
actionLabel:
|
|
2744
|
+
actionLabel: b
|
|
2745
2745
|
} = jo(
|
|
2746
2746
|
en(n, "modelValue"),
|
|
2747
2747
|
a,
|
|
2748
2748
|
en(n, "excludedSubjects"),
|
|
2749
|
-
(
|
|
2749
|
+
(k, L) => r("update:model-value", L)
|
|
2750
2750
|
);
|
|
2751
|
-
function I(
|
|
2752
|
-
const L =
|
|
2751
|
+
function I(k) {
|
|
2752
|
+
const L = k.selectedSubjects.length;
|
|
2753
2753
|
return L === 0 ? "" : l("team.memberForm.permissions.allowedCount", { count: L });
|
|
2754
2754
|
}
|
|
2755
|
-
function
|
|
2756
|
-
return E(
|
|
2757
|
-
(X) => w(
|
|
2755
|
+
function p(k, L) {
|
|
2756
|
+
return E(k, L) || D(k, L) ? !0 : k.actionColumns.some(
|
|
2757
|
+
(X) => w(k, L, X) && (F(k, L, X) || A(k, L, X))
|
|
2758
2758
|
);
|
|
2759
2759
|
}
|
|
2760
|
-
return (
|
|
2760
|
+
return (k, L) => {
|
|
2761
2761
|
const X = De("FmCheckbox");
|
|
2762
2762
|
return J(), ie("div", Uo, [
|
|
2763
|
-
(J(!0), ie(
|
|
2764
|
-
key:
|
|
2765
|
-
subtitle: I(
|
|
2763
|
+
(J(!0), ie(ke, null, ye(H(d), (V) => (J(), Ne(Xt, {
|
|
2764
|
+
key: V.category,
|
|
2765
|
+
subtitle: I(V)
|
|
2766
2766
|
}, {
|
|
2767
2767
|
title: de(() => [
|
|
2768
|
-
ae("p", xo, Oe(
|
|
2768
|
+
ae("p", xo, Oe(V.label), 1)
|
|
2769
2769
|
]),
|
|
2770
2770
|
default: de(() => [
|
|
2771
|
-
ae("div",
|
|
2771
|
+
ae("div", Vo, [
|
|
2772
2772
|
ae("div", {
|
|
2773
2773
|
class: "grid items-center px-12 py-8",
|
|
2774
2774
|
style: nt({
|
|
2775
|
-
gridTemplateColumns: `minmax(0, 1fr) repeat(${
|
|
2775
|
+
gridTemplateColumns: `minmax(0, 1fr) repeat(${V.actionColumns.length + 1}, 80px)`
|
|
2776
2776
|
})
|
|
2777
2777
|
}, [
|
|
2778
2778
|
L[0] || (L[0] = ae("div", null, null, -1)),
|
|
2779
|
-
ae("div",
|
|
2780
|
-
(J(!0), ie(
|
|
2779
|
+
ae("div", Wo, Oe(H(l)("team.memberForm.permissions.columnManage")), 1),
|
|
2780
|
+
(J(!0), ie(ke, null, ye(V.actionColumns, (m) => (J(), ie("div", {
|
|
2781
2781
|
key: `header-${m}`,
|
|
2782
2782
|
class: "text-center text-sm font-semibold text-fm-color-typo-primary"
|
|
2783
|
-
}, Oe(H(
|
|
2783
|
+
}, Oe(H(b)(m)), 1))), 128))
|
|
2784
2784
|
], 4),
|
|
2785
2785
|
ae("div", {
|
|
2786
2786
|
class: "grid items-center bg-fm-color-neutral-gray-100 px-12 py-8",
|
|
2787
2787
|
style: nt({
|
|
2788
|
-
gridTemplateColumns: `minmax(0, 1fr) repeat(${
|
|
2788
|
+
gridTemplateColumns: `minmax(0, 1fr) repeat(${V.actionColumns.length + 1}, 80px)`
|
|
2789
2789
|
})
|
|
2790
2790
|
}, [
|
|
2791
2791
|
ae("div", {
|
|
2792
2792
|
class: "cursor-pointer font-semibold",
|
|
2793
|
-
onClick: (m) => !e.disable && H(g)(
|
|
2793
|
+
onClick: (m) => !e.disable && H(g)(V)
|
|
2794
2794
|
}, Oe(H(l)("team.labels.all")), 9, Zo),
|
|
2795
2795
|
ae("div", Go, [
|
|
2796
2796
|
ue(X, {
|
|
2797
|
-
"model-value": H(u)(
|
|
2798
|
-
indeterminate: H(i)(
|
|
2797
|
+
"model-value": H(u)(V),
|
|
2798
|
+
indeterminate: H(i)(V),
|
|
2799
2799
|
value: !0,
|
|
2800
2800
|
disabled: e.disable,
|
|
2801
2801
|
size: "sm",
|
|
2802
2802
|
dense: "",
|
|
2803
|
-
"onUpdate:modelValue": (m) => H(g)(
|
|
2803
|
+
"onUpdate:modelValue": (m) => H(g)(V)
|
|
2804
2804
|
}, null, 8, ["model-value", "indeterminate", "disabled", "onUpdate:modelValue"])
|
|
2805
2805
|
]),
|
|
2806
|
-
(J(!0), ie(
|
|
2806
|
+
(J(!0), ie(ke, null, ye(V.actionColumns, (m) => (J(), ie("div", {
|
|
2807
2807
|
key: `all-${m}`,
|
|
2808
2808
|
class: "flex justify-center"
|
|
2809
2809
|
}, [
|
|
2810
2810
|
ue(X, {
|
|
2811
|
-
"model-value": H(
|
|
2812
|
-
indeterminate: H(S)(
|
|
2811
|
+
"model-value": H(h)(V, m),
|
|
2812
|
+
indeterminate: H(S)(V, m),
|
|
2813
2813
|
value: m,
|
|
2814
2814
|
disabled: e.disable,
|
|
2815
2815
|
size: "sm",
|
|
2816
2816
|
dense: "",
|
|
2817
|
-
"onUpdate:modelValue": (C) => H(c)(
|
|
2817
|
+
"onUpdate:modelValue": (C) => H(c)(V, m, C)
|
|
2818
2818
|
}, null, 8, ["model-value", "indeterminate", "value", "disabled", "onUpdate:modelValue"])
|
|
2819
2819
|
]))), 128))
|
|
2820
2820
|
], 4),
|
|
2821
2821
|
L[1] || (L[1] = ae("div", { class: "h-px bg-fm-color-neutral-gray-200" }, null, -1)),
|
|
2822
|
-
(J(!0), ie(
|
|
2822
|
+
(J(!0), ie(ke, null, ye(V.options, (m) => (J(), ie("div", {
|
|
2823
2823
|
key: m.optionKey,
|
|
2824
2824
|
class: "grid items-center rounded px-12 py-8 transition-colors hover:bg-fm-color-neutral-gray-100",
|
|
2825
2825
|
style: nt({
|
|
2826
|
-
gridTemplateColumns: `minmax(0, 1fr) repeat(${
|
|
2826
|
+
gridTemplateColumns: `minmax(0, 1fr) repeat(${V.actionColumns.length + 1}, 80px)`
|
|
2827
2827
|
})
|
|
2828
2828
|
}, [
|
|
2829
2829
|
ae("div", Bo, [
|
|
2830
2830
|
ae("span", {
|
|
2831
2831
|
class: "block truncate cursor-pointer",
|
|
2832
2832
|
title: m.label,
|
|
2833
|
-
onClick: (C) => !e.disable && !H(D)(
|
|
2833
|
+
onClick: (C) => !e.disable && !H(D)(V, m.value) && H(N)(V, m.value, !H(E)(V, m.value))
|
|
2834
2834
|
}, Oe(m.label), 9, Yo),
|
|
2835
|
-
Se(
|
|
2835
|
+
Se(k.$slots, `checkbox-${m.value}-append`, {
|
|
2836
2836
|
option: m,
|
|
2837
|
-
isEffectiveSelected:
|
|
2838
|
-
isCoveredByCover: H(D)(
|
|
2837
|
+
isEffectiveSelected: p(V, m.value),
|
|
2838
|
+
isCoveredByCover: H(D)(V, m.value) || V.actionColumns.some((C) => H(A)(V, m.value, C))
|
|
2839
2839
|
}),
|
|
2840
|
-
Se(
|
|
2840
|
+
Se(k.$slots, `checkbox-${m.value}-icon`, {
|
|
2841
2841
|
option: m,
|
|
2842
|
-
isEffectiveSelected:
|
|
2843
|
-
isCoveredByCover: H(D)(
|
|
2842
|
+
isEffectiveSelected: p(V, m.value),
|
|
2843
|
+
isCoveredByCover: H(D)(V, m.value) || V.actionColumns.some((C) => H(A)(V, m.value, C))
|
|
2844
2844
|
})
|
|
2845
2845
|
]),
|
|
2846
2846
|
ae("div", Xo, [
|
|
2847
2847
|
ue(X, {
|
|
2848
|
-
"model-value": H(E)(
|
|
2848
|
+
"model-value": H(E)(V, m.value) || H(D)(V, m.value),
|
|
2849
2849
|
value: m.value,
|
|
2850
|
-
disabled: e.disable || H(D)(
|
|
2851
|
-
indeterminate: H(T)(
|
|
2850
|
+
disabled: e.disable || H(D)(V, m.value),
|
|
2851
|
+
indeterminate: H(T)(V, m.value),
|
|
2852
2852
|
size: "sm",
|
|
2853
|
-
"onUpdate:modelValue": (C) => H(N)(
|
|
2853
|
+
"onUpdate:modelValue": (C) => H(N)(V, m.value, C)
|
|
2854
2854
|
}, null, 8, ["model-value", "value", "disabled", "indeterminate", "onUpdate:modelValue"])
|
|
2855
2855
|
]),
|
|
2856
|
-
(J(!0), ie(
|
|
2856
|
+
(J(!0), ie(ke, null, ye(V.actionColumns, (C) => (J(), ie("div", {
|
|
2857
2857
|
key: `${m.optionKey}-${C}`,
|
|
2858
2858
|
class: "flex justify-center"
|
|
2859
2859
|
}, [
|
|
2860
|
-
H(w)(
|
|
2860
|
+
H(w)(V, m.value, C) ? (J(), Ne(X, {
|
|
2861
2861
|
key: 0,
|
|
2862
|
-
"model-value": H(F)(
|
|
2862
|
+
"model-value": H(F)(V, m.value, C) || H(A)(V, m.value, C),
|
|
2863
2863
|
value: C,
|
|
2864
|
-
disabled: e.disable || H(
|
|
2864
|
+
disabled: e.disable || H(A)(V, m.value, C),
|
|
2865
2865
|
size: "sm",
|
|
2866
2866
|
"onUpdate:modelValue": (U) => H(f)(m.value, C, U)
|
|
2867
2867
|
}, null, 8, ["model-value", "value", "disabled", "onUpdate:modelValue"])) : Me("", !0)
|
|
@@ -2880,7 +2880,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
2880
2880
|
}, Ko = {
|
|
2881
2881
|
key: 0,
|
|
2882
2882
|
class: "q-mr-xs text-red col"
|
|
2883
|
-
}, zo = { class: "form-input" }, Qo = /* @__PURE__ */
|
|
2883
|
+
}, zo = { class: "form-input" }, Qo = /* @__PURE__ */ Ae({
|
|
2884
2884
|
__name: "AppForm",
|
|
2885
2885
|
props: {
|
|
2886
2886
|
title: {
|
|
@@ -2916,7 +2916,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
2916
2916
|
}), qo = { class: "col flex items-center" }, ea = {
|
|
2917
2917
|
key: 1,
|
|
2918
2918
|
class: "q-pa-sm form-error-message text-error"
|
|
2919
|
-
}, ir = /* @__PURE__ */
|
|
2919
|
+
}, ir = /* @__PURE__ */ Ae({
|
|
2920
2920
|
__name: "CheckboxInput",
|
|
2921
2921
|
props: {
|
|
2922
2922
|
options: {
|
|
@@ -2974,25 +2974,25 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
2974
2974
|
},
|
|
2975
2975
|
emits: ["update:model-value"],
|
|
2976
2976
|
setup(e, { emit: t }) {
|
|
2977
|
-
const n = e, r = t, { t: l } = He(), a = rt(!1), d =
|
|
2978
|
-
() => n.modelValue.filter((
|
|
2977
|
+
const n = e, r = t, { t: l } = He(), a = rt(!1), d = 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-${Ar(6)}`, g = z(() => u.value !== !0), E = z(
|
|
2978
|
+
() => n.modelValue.filter((A) => n.options.some((w) => w.value === A))
|
|
2979
2979
|
), T = z(
|
|
2980
2980
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
2981
2981
|
), N = z(() => n.options.length > 0 && n.options.length === E.value.length);
|
|
2982
2982
|
function F() {
|
|
2983
|
-
const
|
|
2983
|
+
const A = n.modelValue.filter((w) => !E.value.includes(w));
|
|
2984
2984
|
if (N.value === !0)
|
|
2985
|
-
r("update:model-value",
|
|
2985
|
+
r("update:model-value", A);
|
|
2986
2986
|
else {
|
|
2987
2987
|
const w = n.includeDisabledOptionsWhenSelectAll ? n.options.map((f) => f.value) : n.options.filter((f) => !f.disabled).map((f) => f.value);
|
|
2988
|
-
r("update:model-value", [...
|
|
2988
|
+
r("update:model-value", [...A, ...w]);
|
|
2989
2989
|
}
|
|
2990
2990
|
}
|
|
2991
|
-
function D(
|
|
2991
|
+
function D(A, w) {
|
|
2992
2992
|
let f = It(n.modelValue);
|
|
2993
|
-
w ? f.every((
|
|
2993
|
+
w ? f.every((h) => h !== A) && f.push(A) : f = f.filter((h) => h !== A), r("update:model-value", f);
|
|
2994
2994
|
}
|
|
2995
|
-
return (
|
|
2995
|
+
return (A, w) => {
|
|
2996
2996
|
const f = De("FmCheckbox");
|
|
2997
2997
|
return J(), Ne(Qo, {
|
|
2998
2998
|
id: i,
|
|
@@ -3000,7 +3000,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3000
3000
|
required: !1
|
|
3001
3001
|
}, {
|
|
3002
3002
|
top: de(() => [
|
|
3003
|
-
Se(
|
|
3003
|
+
Se(A.$slots, "top")
|
|
3004
3004
|
]),
|
|
3005
3005
|
default: de(() => [
|
|
3006
3006
|
n.showAllToggle ? (J(), Ne(f, {
|
|
@@ -3014,8 +3014,8 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3014
3014
|
value: T.value,
|
|
3015
3015
|
"onUpdate:modelValue": F
|
|
3016
3016
|
}, null, 8, ["model-value", "disabled", "label", "style", "value"])) : Me("", !0),
|
|
3017
|
-
(J(!0), ie(
|
|
3018
|
-
key:
|
|
3017
|
+
(J(!0), ie(ke, null, ye(e.options, (h, S) => (J(), ie("div", {
|
|
3018
|
+
key: h.value,
|
|
3019
3019
|
style: nt(`margin-bottom: ${S < e.options.length - 1 ? n.gutter : 0}px`),
|
|
3020
3020
|
class: qe(S < e.options.length - 1 ? "q-mb-sm" : "")
|
|
3021
3021
|
}, [
|
|
@@ -3024,38 +3024,38 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3024
3024
|
}, [
|
|
3025
3025
|
ae("div", qo, [
|
|
3026
3026
|
ue(f, {
|
|
3027
|
-
"model-value": e.modelValue.includes(
|
|
3028
|
-
disabled: e.disable ||
|
|
3027
|
+
"model-value": e.modelValue.includes(h.value),
|
|
3028
|
+
disabled: e.disable || h.disabled,
|
|
3029
3029
|
size: "sm",
|
|
3030
|
-
label:
|
|
3031
|
-
value:
|
|
3032
|
-
"onUpdate:modelValue": (c) => D(
|
|
3030
|
+
label: h.label,
|
|
3031
|
+
value: h.label,
|
|
3032
|
+
"onUpdate:modelValue": (c) => D(h.value, c)
|
|
3033
3033
|
}, null, 8, ["model-value", "disabled", "label", "value", "onUpdate:modelValue"]),
|
|
3034
|
-
Se(
|
|
3035
|
-
option:
|
|
3036
|
-
selected: e.modelValue.includes(
|
|
3034
|
+
Se(A.$slots, `checkbox-${h.key || h.value}-append`, {
|
|
3035
|
+
option: h,
|
|
3036
|
+
selected: e.modelValue.includes(h.value)
|
|
3037
3037
|
})
|
|
3038
3038
|
]),
|
|
3039
|
-
H(d)[`checkbox-${
|
|
3039
|
+
H(d)[`checkbox-${h.key || h.value}-end`] && (e.modelValue.includes(h.value) || e.falsyShowSlot) ? (J(), ie("div", {
|
|
3040
3040
|
key: 0,
|
|
3041
|
-
class: qe([{ "q-checkbox disabled": e.disable ||
|
|
3041
|
+
class: qe([{ "q-checkbox disabled": e.disable || h.disabled }, "col"])
|
|
3042
3042
|
}, [
|
|
3043
|
-
Se(
|
|
3044
|
-
option:
|
|
3045
|
-
value: e.modelValue.includes(
|
|
3046
|
-
disable: e.disable ||
|
|
3043
|
+
Se(A.$slots, `checkbox-${h.key || h.value}-end`, {
|
|
3044
|
+
option: h,
|
|
3045
|
+
value: e.modelValue.includes(h.value),
|
|
3046
|
+
disable: e.disable || h.disabled
|
|
3047
3047
|
})
|
|
3048
3048
|
], 2)) : Me("", !0)
|
|
3049
3049
|
], 2),
|
|
3050
|
-
H(d)[`checkbox-${
|
|
3050
|
+
H(d)[`checkbox-${h.key || h.value}-bottom`] && (e.modelValue.includes(h.value) || e.falsyShowSlot) ? (J(), ie("div", {
|
|
3051
3051
|
key: 0,
|
|
3052
|
-
class: qe(["q-mt-sm", { "q-checkbox disabled": e.disable ||
|
|
3052
|
+
class: qe(["q-mt-sm", { "q-checkbox disabled": e.disable || h.disabled }]),
|
|
3053
3053
|
style: nt(`margin-left: ${e.bottomSlotIndent}`)
|
|
3054
3054
|
}, [
|
|
3055
|
-
Se(
|
|
3056
|
-
option:
|
|
3057
|
-
disable: e.disable ||
|
|
3058
|
-
value: e.modelValue.includes(
|
|
3055
|
+
Se(A.$slots, `checkbox-${h.key || h.value}-bottom`, {
|
|
3056
|
+
option: h,
|
|
3057
|
+
disable: e.disable || h.disabled,
|
|
3058
|
+
value: e.modelValue.includes(h.value)
|
|
3059
3059
|
})
|
|
3060
3060
|
], 6)) : Me("", !0)
|
|
3061
3061
|
], 6))), 128)),
|
|
@@ -3065,7 +3065,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3065
3065
|
}, 8, ["title"]);
|
|
3066
3066
|
};
|
|
3067
3067
|
}
|
|
3068
|
-
}), ta = { class: "fm-typo-en-title-sm-600" },
|
|
3068
|
+
}), ta = { class: "fm-typo-en-title-sm-600" }, ht = "includedFuture", wn = /* @__PURE__ */ Ae({
|
|
3069
3069
|
__name: "ConditionPermission",
|
|
3070
3070
|
props: {
|
|
3071
3071
|
modelValue: {
|
|
@@ -3090,20 +3090,20 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3090
3090
|
const n = e, r = t, { t: l } = He(), a = z(() => [
|
|
3091
3091
|
{
|
|
3092
3092
|
label: l("team.memberForm.permissions.includedFuture", { context: n.context }),
|
|
3093
|
-
value:
|
|
3093
|
+
value: ht,
|
|
3094
3094
|
// Can only be selected if all other options are selected
|
|
3095
3095
|
disabled: !!n.modelValue && n.options.length > n.modelValue.length
|
|
3096
3096
|
},
|
|
3097
3097
|
...n.options.filter(
|
|
3098
3098
|
(E) => E.label.toLocaleLowerCase().includes(g.value.toLocaleLowerCase())
|
|
3099
3099
|
)
|
|
3100
|
-
]), d = z(() => n.modelValue ? n.modelValue : [
|
|
3101
|
-
const E = d.value.filter((T) => T !==
|
|
3100
|
+
]), d = z(() => n.modelValue ? n.modelValue : [ht, ...n.options.map((E) => E.value)]), u = z(() => {
|
|
3101
|
+
const E = d.value.filter((T) => T !== ht).length;
|
|
3102
3102
|
return E === 0 ? "" : l("team.memberForm.permissions.allowedCount", { count: E });
|
|
3103
3103
|
});
|
|
3104
3104
|
function i(E) {
|
|
3105
3105
|
const T = E.length === a.value.length;
|
|
3106
|
-
r("update:model-value", T ? null : E.filter((N) => N !==
|
|
3106
|
+
r("update:model-value", T ? null : E.filter((N) => N !== ht));
|
|
3107
3107
|
}
|
|
3108
3108
|
const g = rt("");
|
|
3109
3109
|
return (E, T) => {
|
|
@@ -3143,7 +3143,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3143
3143
|
}, 8, ["subtitle"]);
|
|
3144
3144
|
};
|
|
3145
3145
|
}
|
|
3146
|
-
}), na = { class: "fm-typo-en-title-sm-600" },
|
|
3146
|
+
}), na = { class: "fm-typo-en-title-sm-600" }, bt = "includedNewRole", ra = /* @__PURE__ */ Ae({
|
|
3147
3147
|
__name: "PosRolePermission",
|
|
3148
3148
|
props: {
|
|
3149
3149
|
modelValue: {
|
|
@@ -3170,7 +3170,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3170
3170
|
return [
|
|
3171
3171
|
{
|
|
3172
3172
|
label: l("team.memberForm.permissions.includedNewRole"),
|
|
3173
|
-
value:
|
|
3173
|
+
value: bt,
|
|
3174
3174
|
disabled: !!n.modelValue && n.roles.length > n.modelValue.length
|
|
3175
3175
|
},
|
|
3176
3176
|
...n.roles.map((E) => ({
|
|
@@ -3179,13 +3179,13 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3179
3179
|
disabled: !!g && E.restaurants.every(({ id: T }) => !g.includes(T))
|
|
3180
3180
|
}))
|
|
3181
3181
|
];
|
|
3182
|
-
}), d = z(() => n.modelValue ? n.modelValue : [
|
|
3183
|
-
const g = d.value.filter((E) => E !==
|
|
3182
|
+
}), d = z(() => n.modelValue ? n.modelValue : [bt, ...n.roles.map((g) => g._id)]), u = z(() => {
|
|
3183
|
+
const g = d.value.filter((E) => E !== bt).length;
|
|
3184
3184
|
return g === 0 ? "" : l("team.memberForm.permissions.allowedCount", { count: g });
|
|
3185
3185
|
});
|
|
3186
3186
|
function i(g) {
|
|
3187
3187
|
const E = g.length === a.value.length;
|
|
3188
|
-
r("update:model-value", E ? null : g.filter((T) => T !==
|
|
3188
|
+
r("update:model-value", E ? null : g.filter((T) => T !== bt));
|
|
3189
3189
|
}
|
|
3190
3190
|
return (g, E) => (J(), Ne(Xt, { subtitle: u.value }, {
|
|
3191
3191
|
title: de(() => [
|
|
@@ -3223,7 +3223,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3223
3223
|
}, aa = {
|
|
3224
3224
|
key: 0,
|
|
3225
3225
|
class: "ml-32"
|
|
3226
|
-
}, Fn = /* @__PURE__ */
|
|
3226
|
+
}, Fn = /* @__PURE__ */ Ae({
|
|
3227
3227
|
__name: "PortalConditionForm",
|
|
3228
3228
|
props: {
|
|
3229
3229
|
entry: {},
|
|
@@ -3302,7 +3302,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3302
3302
|
}
|
|
3303
3303
|
}), la = {
|
|
3304
3304
|
async readWarehouses() {
|
|
3305
|
-
return
|
|
3305
|
+
return Rr(await kr().get("/warehouses"));
|
|
3306
3306
|
}
|
|
3307
3307
|
};
|
|
3308
3308
|
function Pn(e, t) {
|
|
@@ -3388,7 +3388,7 @@ function da(e, t) {
|
|
|
3388
3388
|
function gt(e, t) {
|
|
3389
3389
|
return `${e}::${t.builderKey}`;
|
|
3390
3390
|
}
|
|
3391
|
-
function
|
|
3391
|
+
function We(e) {
|
|
3392
3392
|
try {
|
|
3393
3393
|
return e.conditions ? JSON.parse(e.conditions) : void 0;
|
|
3394
3394
|
} catch {
|
|
@@ -3400,16 +3400,16 @@ function ma(e, t) {
|
|
|
3400
3400
|
}
|
|
3401
3401
|
function Mt(e, t) {
|
|
3402
3402
|
const n = new Set(e.actions);
|
|
3403
|
-
return n.has(
|
|
3403
|
+
return n.has(he.Action.manage) ? !0 : t.actions.every((r) => n.has(r));
|
|
3404
3404
|
}
|
|
3405
3405
|
function Bt(e, t) {
|
|
3406
|
-
const n =
|
|
3406
|
+
const n = We(e);
|
|
3407
3407
|
return wt(n, [{ builder: t, formValue: t.fromCondition(void 0) }]);
|
|
3408
3408
|
}
|
|
3409
3409
|
function xn(e, t, n) {
|
|
3410
3410
|
return {
|
|
3411
3411
|
...Bt(e, n),
|
|
3412
|
-
...tt(
|
|
3412
|
+
...tt(We(t), n)
|
|
3413
3413
|
};
|
|
3414
3414
|
}
|
|
3415
3415
|
function fa(e, t, n) {
|
|
@@ -3418,202 +3418,202 @@ function fa(e, t, n) {
|
|
|
3418
3418
|
return wr(c, t.value);
|
|
3419
3419
|
}
|
|
3420
3420
|
function a(c) {
|
|
3421
|
-
return t.value.find((
|
|
3421
|
+
return t.value.find((b) => b.subject === c);
|
|
3422
3422
|
}
|
|
3423
3423
|
function d(c) {
|
|
3424
3424
|
var I;
|
|
3425
|
-
const
|
|
3426
|
-
return
|
|
3425
|
+
const b = l(c);
|
|
3426
|
+
return b ? (I = a(b)) == null ? void 0 : I.label : void 0;
|
|
3427
3427
|
}
|
|
3428
3428
|
function u(c) {
|
|
3429
3429
|
return ma(e.value, c);
|
|
3430
3430
|
}
|
|
3431
|
-
function i(c,
|
|
3432
|
-
return tt(
|
|
3431
|
+
function i(c, b) {
|
|
3432
|
+
return tt(We(c), b);
|
|
3433
3433
|
}
|
|
3434
|
-
function g(c,
|
|
3435
|
-
var
|
|
3436
|
-
if (!(((
|
|
3434
|
+
function g(c, b) {
|
|
3435
|
+
var k;
|
|
3436
|
+
if (!(((k = b.appliesToActions) == null ? void 0 : k.call(b, c.actions)) ?? !0)) return !1;
|
|
3437
3437
|
const I = l(c.subject);
|
|
3438
3438
|
if (!I) return !1;
|
|
3439
|
-
const
|
|
3440
|
-
return
|
|
3439
|
+
const p = u(I);
|
|
3440
|
+
return p ? Object.keys(i(p, b)).length > 0 : !1;
|
|
3441
3441
|
}
|
|
3442
|
-
function E(c,
|
|
3443
|
-
if (!g(c,
|
|
3442
|
+
function E(c, b) {
|
|
3443
|
+
if (!g(c, b) || r.value.has(gt(c.subject, b))) return "custom";
|
|
3444
3444
|
if (c.index === null) return "inherit";
|
|
3445
|
-
const I = e.value[c.index],
|
|
3446
|
-
if (I &&
|
|
3447
|
-
const L = tt(
|
|
3445
|
+
const I = e.value[c.index], p = l(c.subject), k = p ? u(p) : void 0;
|
|
3446
|
+
if (I && k) {
|
|
3447
|
+
const L = tt(We(I), b), X = i(k, b);
|
|
3448
3448
|
if (JSON.stringify(L) === JSON.stringify(X)) return "inherit";
|
|
3449
3449
|
}
|
|
3450
3450
|
return "custom";
|
|
3451
3451
|
}
|
|
3452
|
-
function T(c,
|
|
3453
|
-
if (!
|
|
3454
|
-
const
|
|
3455
|
-
if (!
|
|
3456
|
-
const
|
|
3457
|
-
if (!
|
|
3458
|
-
const L =
|
|
3459
|
-
return
|
|
3452
|
+
function T(c, b, I) {
|
|
3453
|
+
if (!b.summarizeForm) return;
|
|
3454
|
+
const p = l(c.subject);
|
|
3455
|
+
if (!p) return;
|
|
3456
|
+
const k = u(p);
|
|
3457
|
+
if (!k) return;
|
|
3458
|
+
const L = b.fromCondition(i(k, b));
|
|
3459
|
+
return b.summarizeForm(L, { timeZone: I });
|
|
3460
3460
|
}
|
|
3461
|
-
function N(c,
|
|
3461
|
+
function N(c, b) {
|
|
3462
3462
|
if (c.index === null) return;
|
|
3463
|
-
const I = [...e.value],
|
|
3463
|
+
const I = [...e.value], p = { ...I[c.index] }, k = Bt(p, b), L = Object.keys(k).length === 0, X = l(c.subject), V = X ? u(X) : void 0, m = V ? Mt(V, p) : !1;
|
|
3464
3464
|
if (L && m)
|
|
3465
3465
|
I.splice(c.index, 1);
|
|
3466
|
-
else if (
|
|
3467
|
-
const C = xn(
|
|
3468
|
-
Object.keys(C).length === 0 ? delete
|
|
3466
|
+
else if (V) {
|
|
3467
|
+
const C = xn(p, V, b);
|
|
3468
|
+
Object.keys(C).length === 0 ? delete p.conditions : p.conditions = JSON.stringify(C), I[c.index] = p;
|
|
3469
3469
|
} else
|
|
3470
|
-
L ? delete
|
|
3470
|
+
L ? delete p.conditions : p.conditions = JSON.stringify(k), I[c.index] = p;
|
|
3471
3471
|
n(I);
|
|
3472
3472
|
}
|
|
3473
|
-
function F(c,
|
|
3474
|
-
const
|
|
3473
|
+
function F(c, b, I) {
|
|
3474
|
+
const p = gt(c.subject, b);
|
|
3475
3475
|
if (I === "inherit") {
|
|
3476
3476
|
const L = new Set(r.value);
|
|
3477
|
-
L.delete(
|
|
3477
|
+
L.delete(p), r.value = L, N(c, b);
|
|
3478
3478
|
return;
|
|
3479
3479
|
}
|
|
3480
|
-
const
|
|
3481
|
-
|
|
3480
|
+
const k = new Set(r.value);
|
|
3481
|
+
k.add(p), r.value = k, c.index === null && h(c, b, b.fromCondition(void 0), {
|
|
3482
3482
|
forceCreateRule: !0
|
|
3483
3483
|
});
|
|
3484
3484
|
}
|
|
3485
3485
|
function D(c) {
|
|
3486
|
-
const
|
|
3487
|
-
if (!
|
|
3488
|
-
const I = u(
|
|
3486
|
+
const b = l(c);
|
|
3487
|
+
if (!b) return [];
|
|
3488
|
+
const I = u(b);
|
|
3489
3489
|
return (I == null ? void 0 : I.actions) ?? [];
|
|
3490
3490
|
}
|
|
3491
|
-
function
|
|
3491
|
+
function A(c, b) {
|
|
3492
3492
|
return e.value.filter((I) => {
|
|
3493
3493
|
if (I.inverted) return !1;
|
|
3494
|
-
const
|
|
3495
|
-
return
|
|
3494
|
+
const p = I.subject;
|
|
3495
|
+
return p === c || l(p) !== c ? !1 : r.value.has(gt(p, b)) ? !0 : Object.keys(tt(We(I), b)).length > 0;
|
|
3496
3496
|
});
|
|
3497
3497
|
}
|
|
3498
|
-
function w(c,
|
|
3499
|
-
const I = `::${
|
|
3500
|
-
for (const
|
|
3501
|
-
if (!
|
|
3502
|
-
const L =
|
|
3503
|
-
l(L) === c &&
|
|
3498
|
+
function w(c, b) {
|
|
3499
|
+
const I = `::${b.builderKey}`, p = new Set(r.value);
|
|
3500
|
+
for (const k of p) {
|
|
3501
|
+
if (!k.endsWith(I)) continue;
|
|
3502
|
+
const L = k.slice(0, -I.length);
|
|
3503
|
+
l(L) === c && p.delete(k);
|
|
3504
3504
|
}
|
|
3505
|
-
r.value =
|
|
3505
|
+
r.value = p;
|
|
3506
3506
|
}
|
|
3507
|
-
function f(c,
|
|
3508
|
-
const
|
|
3509
|
-
return c.reduce((
|
|
3507
|
+
function f(c, b, I) {
|
|
3508
|
+
const p = b.subject;
|
|
3509
|
+
return c.reduce((k, L) => {
|
|
3510
3510
|
if (L.inverted)
|
|
3511
|
-
return
|
|
3511
|
+
return k.push(L), k;
|
|
3512
3512
|
const X = L.subject;
|
|
3513
|
-
if (X ===
|
|
3514
|
-
return
|
|
3515
|
-
if (Mt(
|
|
3516
|
-
return
|
|
3517
|
-
const m = xn(L,
|
|
3513
|
+
if (X === p || l(X) !== p)
|
|
3514
|
+
return k.push(L), k;
|
|
3515
|
+
if (Mt(b, L) && Object.keys(Bt(L, I)).length === 0)
|
|
3516
|
+
return k;
|
|
3517
|
+
const m = xn(L, b, I);
|
|
3518
3518
|
if (Object.keys(m).length === 0) {
|
|
3519
3519
|
const { conditions: C, ...U } = L;
|
|
3520
|
-
|
|
3520
|
+
k.push(U);
|
|
3521
3521
|
} else
|
|
3522
|
-
|
|
3523
|
-
return
|
|
3522
|
+
k.push({ ...L, conditions: JSON.stringify(m) });
|
|
3523
|
+
return k;
|
|
3524
3524
|
}, []);
|
|
3525
3525
|
}
|
|
3526
|
-
function
|
|
3526
|
+
function h(c, b, I, p = {}) {
|
|
3527
3527
|
var x;
|
|
3528
|
-
const
|
|
3528
|
+
const k = [...e.value];
|
|
3529
3529
|
let L = c.index;
|
|
3530
|
-
const X =
|
|
3531
|
-
if (L === null && !
|
|
3530
|
+
const X = b.toCondition(I), V = Object.keys(X).length > 0;
|
|
3531
|
+
if (L === null && !V && !p.forceCreateRule) return;
|
|
3532
3532
|
if (L === null) {
|
|
3533
|
-
const j =
|
|
3533
|
+
const j = k.findIndex((Z) => !Z.inverted && Z.subject === c.subject);
|
|
3534
3534
|
if (j !== -1)
|
|
3535
3535
|
L = j;
|
|
3536
3536
|
else {
|
|
3537
3537
|
const Z = t.value.find((Q) => Q.subject === c.subject);
|
|
3538
3538
|
if (!Z) return;
|
|
3539
3539
|
const {
|
|
3540
|
-
category:
|
|
3540
|
+
category: W,
|
|
3541
3541
|
showByFeatureFlag: B,
|
|
3542
3542
|
isCategoryCover: Y,
|
|
3543
3543
|
...ne
|
|
3544
3544
|
} = Z;
|
|
3545
|
-
|
|
3545
|
+
k.push({
|
|
3546
3546
|
...ne,
|
|
3547
3547
|
actions: c.actions.length > 0 ? c.actions : ne.actions
|
|
3548
|
-
}), L =
|
|
3548
|
+
}), L = k.length - 1;
|
|
3549
3549
|
}
|
|
3550
3550
|
}
|
|
3551
|
-
const m = { ...
|
|
3551
|
+
const m = { ...k[L] };
|
|
3552
3552
|
m.actions = [
|
|
3553
3553
|
.../* @__PURE__ */ new Set([...m.actions, ...c.actions])
|
|
3554
3554
|
];
|
|
3555
|
-
const C =
|
|
3556
|
-
if (Object.keys(U).length === 0 ? delete m.conditions : m.conditions = JSON.stringify(U),
|
|
3557
|
-
const j =
|
|
3555
|
+
const C = We(m), U = wt(C, [{ builder: b, formValue: I }]);
|
|
3556
|
+
if (Object.keys(U).length === 0 ? delete m.conditions : m.conditions = JSON.stringify(U), k[L] = m, sn(c.subject, t.value)) {
|
|
3557
|
+
const j = A(c.subject, b), Z = () => {
|
|
3558
3558
|
var B;
|
|
3559
|
-
w(c.subject,
|
|
3560
|
-
},
|
|
3559
|
+
w(c.subject, b), n(f(k, m, b)), (B = p.afterCommit) == null || B.call(p);
|
|
3560
|
+
}, W = () => {
|
|
3561
3561
|
var B;
|
|
3562
|
-
n(
|
|
3562
|
+
n(k), (B = p.afterCommit) == null || B.call(p);
|
|
3563
3563
|
};
|
|
3564
3564
|
if (j.length === 0) {
|
|
3565
3565
|
Z();
|
|
3566
3566
|
return;
|
|
3567
3567
|
}
|
|
3568
|
-
|
|
3568
|
+
p.onOverridesConflict ? p.onOverridesConflict({ override: Z, keep: W }) : W();
|
|
3569
3569
|
return;
|
|
3570
3570
|
}
|
|
3571
|
-
n(
|
|
3571
|
+
n(k), (x = p.afterCommit) == null || x.call(p);
|
|
3572
3572
|
}
|
|
3573
|
-
function S(c,
|
|
3574
|
-
if (
|
|
3575
|
-
const
|
|
3576
|
-
let
|
|
3577
|
-
for (const j of
|
|
3573
|
+
function S(c, b, I = {}) {
|
|
3574
|
+
if (b.length === 0) return;
|
|
3575
|
+
const p = [...e.value];
|
|
3576
|
+
let k = p.findIndex((j) => !j.inverted && j.subject === c.subject), L = k === -1 ? void 0 : { ...p[k] }, X = We(L ?? {}) ?? {};
|
|
3577
|
+
for (const j of b) {
|
|
3578
3578
|
const Z = j.mode === "inherit" ? j.builder.fromCondition(void 0) : j.form;
|
|
3579
3579
|
X = wt(X, [{ builder: j.builder, formValue: Z }]);
|
|
3580
3580
|
}
|
|
3581
|
-
const
|
|
3582
|
-
if (!L && (Object.keys(X).length > 0 ||
|
|
3581
|
+
const V = b.some((j) => j.mode === "custom");
|
|
3582
|
+
if (!L && (Object.keys(X).length > 0 || V)) {
|
|
3583
3583
|
const j = t.value.find((ne) => ne.subject === c.subject);
|
|
3584
3584
|
if (!j) return;
|
|
3585
3585
|
const {
|
|
3586
3586
|
category: Z,
|
|
3587
|
-
showByFeatureFlag:
|
|
3587
|
+
showByFeatureFlag: W,
|
|
3588
3588
|
isCategoryCover: B,
|
|
3589
3589
|
...Y
|
|
3590
3590
|
} = j;
|
|
3591
3591
|
L = {
|
|
3592
3592
|
...Y,
|
|
3593
3593
|
actions: c.actions.length > 0 ? c.actions : Y.actions
|
|
3594
|
-
},
|
|
3594
|
+
}, p.push(L), k = p.length - 1;
|
|
3595
3595
|
}
|
|
3596
3596
|
if (L) {
|
|
3597
3597
|
const j = l(c.subject), Z = j ? u(j) : void 0;
|
|
3598
|
-
if (!
|
|
3599
|
-
|
|
3598
|
+
if (!V && Object.keys(X).length === 0 && !!Z && Mt(Z, L))
|
|
3599
|
+
p.splice(k, 1), L = void 0;
|
|
3600
3600
|
else {
|
|
3601
3601
|
if (L.actions = [
|
|
3602
3602
|
.../* @__PURE__ */ new Set([...L.actions, ...c.actions])
|
|
3603
3603
|
], Z)
|
|
3604
|
-
for (const B of
|
|
3604
|
+
for (const B of b)
|
|
3605
3605
|
B.mode === "inherit" && (X = {
|
|
3606
3606
|
...X,
|
|
3607
|
-
...tt(
|
|
3607
|
+
...tt(We(Z), B.builder)
|
|
3608
3608
|
});
|
|
3609
|
-
Object.keys(X).length === 0 ? delete L.conditions : L.conditions = JSON.stringify(X),
|
|
3609
|
+
Object.keys(X).length === 0 ? delete L.conditions : L.conditions = JSON.stringify(X), p[k] = L;
|
|
3610
3610
|
}
|
|
3611
3611
|
}
|
|
3612
3612
|
const m = () => {
|
|
3613
3613
|
const j = new Set(r.value);
|
|
3614
|
-
for (const Z of
|
|
3615
|
-
const
|
|
3616
|
-
Z.mode === "custom" ? j.add(
|
|
3614
|
+
for (const Z of b) {
|
|
3615
|
+
const W = gt(c.subject, Z.builder);
|
|
3616
|
+
Z.mode === "custom" ? j.add(W) : j.delete(W);
|
|
3617
3617
|
}
|
|
3618
3618
|
r.value = j;
|
|
3619
3619
|
}, C = (j) => {
|
|
@@ -3621,20 +3621,20 @@ function fa(e, t, n) {
|
|
|
3621
3621
|
m(), n(j), (Z = I.afterCommit) == null || Z.call(I);
|
|
3622
3622
|
};
|
|
3623
3623
|
if (!sn(c.subject, t.value) || !L) {
|
|
3624
|
-
C(
|
|
3624
|
+
C(p);
|
|
3625
3625
|
return;
|
|
3626
3626
|
}
|
|
3627
|
-
const U =
|
|
3628
|
-
let j =
|
|
3629
|
-
for (const Z of
|
|
3627
|
+
const U = b.map((j) => j.builder).filter((j) => A(c.subject, j).length > 0), x = () => {
|
|
3628
|
+
let j = p;
|
|
3629
|
+
for (const Z of b.map((W) => W.builder))
|
|
3630
3630
|
w(c.subject, Z), j = f(j, L, Z);
|
|
3631
3631
|
C(j);
|
|
3632
3632
|
};
|
|
3633
3633
|
if (U.length > 0 && I.onOverridesConflict) {
|
|
3634
|
-
I.onOverridesConflict({ override: x, keep: () => C(
|
|
3634
|
+
I.onOverridesConflict({ override: x, keep: () => C(p) });
|
|
3635
3635
|
return;
|
|
3636
3636
|
}
|
|
3637
|
-
U.length > 0 ? C(
|
|
3637
|
+
U.length > 0 ? C(p) : x();
|
|
3638
3638
|
}
|
|
3639
3639
|
return {
|
|
3640
3640
|
getCoverSubject: l,
|
|
@@ -3644,11 +3644,11 @@ function fa(e, t, n) {
|
|
|
3644
3644
|
setInheritMode: F,
|
|
3645
3645
|
inheritedSummary: T,
|
|
3646
3646
|
getEffectiveActions: D,
|
|
3647
|
-
updateBuilderCondition:
|
|
3647
|
+
updateBuilderCondition: h,
|
|
3648
3648
|
applyConditionDrafts: S
|
|
3649
3649
|
};
|
|
3650
3650
|
}
|
|
3651
|
-
const _a = { class: "flex flex-col gap-32" },
|
|
3651
|
+
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", wa = /* @__PURE__ */ Ae({
|
|
3652
3652
|
__name: "PortalPermissionEditor",
|
|
3653
3653
|
props: /* @__PURE__ */ tn({
|
|
3654
3654
|
disable: {
|
|
@@ -3665,7 +3665,7 @@ const _a = { class: "flex flex-col gap-32" }, ba = { class: "p-16 fm-corner-radi
|
|
|
3665
3665
|
}),
|
|
3666
3666
|
emits: /* @__PURE__ */ tn(["permissionChanged"], ["update:modelValue"]),
|
|
3667
3667
|
setup(e, { emit: t }) {
|
|
3668
|
-
const n =
|
|
3668
|
+
const n = vr(e, "modelValue"), r = e, l = t, { t: a } = He(), d = hr(), u = br(), { breakpoints: i } = gr(), g = z(() => i.value.xs || i.value.sm), {
|
|
3669
3669
|
fetchCustomReportPermissions: E,
|
|
3670
3670
|
customReportPermissions: T
|
|
3671
3671
|
} = Ir(), N = z(() => [
|
|
@@ -3678,7 +3678,7 @@ const _a = { class: "flex flex-col gap-32" }, ba = { class: "p-16 fm-corner-radi
|
|
|
3678
3678
|
function D(O) {
|
|
3679
3679
|
return N.value.find((s) => s.subject === O);
|
|
3680
3680
|
}
|
|
3681
|
-
function
|
|
3681
|
+
function A(O, s) {
|
|
3682
3682
|
return rn(O).filter(
|
|
3683
3683
|
(o) => {
|
|
3684
3684
|
var _;
|
|
@@ -3701,7 +3701,7 @@ const _a = { class: "flex flex-col gap-32" }, ba = { class: "p-16 fm-corner-radi
|
|
|
3701
3701
|
const O = r.inheritPermissions.map((s) => ({
|
|
3702
3702
|
...s,
|
|
3703
3703
|
permissions: s.permissions.filter(
|
|
3704
|
-
(o) => o.subject ===
|
|
3704
|
+
(o) => o.subject === he.Subject.Business.inventory_stock
|
|
3705
3705
|
)
|
|
3706
3706
|
}));
|
|
3707
3707
|
return Lt(
|
|
@@ -3709,11 +3709,11 @@ const _a = { class: "flex flex-col gap-32" }, ba = { class: "p-16 fm-corner-radi
|
|
|
3709
3709
|
"warehouseId",
|
|
3710
3710
|
I.value.map((s) => s._id)
|
|
3711
3711
|
);
|
|
3712
|
-
}),
|
|
3712
|
+
}), h = z(() => {
|
|
3713
3713
|
const O = r.inheritPermissions.map((s) => ({
|
|
3714
3714
|
...s,
|
|
3715
3715
|
permissions: s.permissions.filter(
|
|
3716
|
-
(o) => o.subject ===
|
|
3716
|
+
(o) => o.subject === he.Subject.Restaurant.restaurant
|
|
3717
3717
|
)
|
|
3718
3718
|
}));
|
|
3719
3719
|
return Lt(
|
|
@@ -3724,49 +3724,49 @@ const _a = { class: "flex flex-col gap-32" }, ba = { class: "p-16 fm-corner-radi
|
|
|
3724
3724
|
}), S = z(() => {
|
|
3725
3725
|
const O = r.inheritPermissions.map((s) => ({
|
|
3726
3726
|
...s,
|
|
3727
|
-
permissions: s.permissions.filter((o) => o.subject ===
|
|
3727
|
+
permissions: s.permissions.filter((o) => o.subject === he.Subject.Business.role)
|
|
3728
3728
|
}));
|
|
3729
3729
|
return Lt(
|
|
3730
3730
|
O,
|
|
3731
3731
|
"roleId",
|
|
3732
|
-
|
|
3732
|
+
V.value.map((s) => s._id)
|
|
3733
3733
|
);
|
|
3734
3734
|
}), c = [
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
],
|
|
3735
|
+
he.Subject.Business.restaurant,
|
|
3736
|
+
he.Subject.Business.role,
|
|
3737
|
+
he.Subject.Restaurant.restaurant,
|
|
3738
|
+
he.Subject.Business.inventory_stock
|
|
3739
|
+
], b = z(() => {
|
|
3740
3740
|
var s;
|
|
3741
3741
|
const O = (s = n.value) == null ? void 0 : s.find(
|
|
3742
|
-
(o) => o.subject ===
|
|
3742
|
+
(o) => o.subject === he.Subject.Business.inventory_stock
|
|
3743
3743
|
);
|
|
3744
3744
|
return O ? O.conditions ? JSON.parse(O.conditions).warehouseId.$in : null : [];
|
|
3745
|
-
}), I = rt([]),
|
|
3745
|
+
}), I = rt([]), p = z(() => I.value.map((O) => ({
|
|
3746
3746
|
label: O.profile.name,
|
|
3747
3747
|
value: O._id
|
|
3748
3748
|
})));
|
|
3749
|
-
function
|
|
3749
|
+
function k(O) {
|
|
3750
3750
|
const s = L(n.value, O);
|
|
3751
3751
|
n.value = s;
|
|
3752
3752
|
}
|
|
3753
3753
|
function L(O, s) {
|
|
3754
3754
|
let o = It(
|
|
3755
|
-
O.filter((_) => _.subject !==
|
|
3755
|
+
O.filter((_) => _.subject !== he.Subject.Business.inventory_stock)
|
|
3756
3756
|
);
|
|
3757
3757
|
if (!s || s.length > 0) {
|
|
3758
3758
|
const _ = {
|
|
3759
|
-
actions: [
|
|
3760
|
-
subject:
|
|
3759
|
+
actions: [he.Action.manage],
|
|
3760
|
+
subject: he.Subject.Business.inventory_stock
|
|
3761
3761
|
};
|
|
3762
3762
|
s && (_.conditions = JSON.stringify({ warehouseId: { $in: s } })), o.push(_);
|
|
3763
3763
|
}
|
|
3764
3764
|
return o;
|
|
3765
3765
|
}
|
|
3766
|
-
const { restaurants: X } = d,
|
|
3766
|
+
const { restaurants: X } = d, V = Mr().roles, m = z(() => X.value.map((O) => ({
|
|
3767
3767
|
label: `${O.profile.code ? O.profile.code + "-" : ""}${O.profile.name}`,
|
|
3768
3768
|
value: O._id
|
|
3769
|
-
}))), C = z(() => X.value.reduce((O, s) => (O[s._id] =
|
|
3769
|
+
}))), C = z(() => X.value.reduce((O, s) => (O[s._id] = V.value.filter((o) => o.restaurants.some((_) => _.id === s._id)).map((o) => o._id), O), {})), U = z(() => yr(n.value));
|
|
3770
3770
|
function x(O) {
|
|
3771
3771
|
const s = Z(n.value, O);
|
|
3772
3772
|
n.value = s;
|
|
@@ -3776,52 +3776,52 @@ const _a = { class: "flex flex-col gap-32" }, ba = { class: "p-16 fm-corner-radi
|
|
|
3776
3776
|
var _;
|
|
3777
3777
|
let o = It(
|
|
3778
3778
|
O.filter(
|
|
3779
|
-
(
|
|
3779
|
+
(R) => R.subject !== he.Subject.Business.restaurant && R.subject !== he.Subject.Restaurant.restaurant
|
|
3780
3780
|
)
|
|
3781
3781
|
);
|
|
3782
3782
|
if (!s || s.length > 0) {
|
|
3783
3783
|
const {
|
|
3784
|
-
category:
|
|
3784
|
+
category: R,
|
|
3785
3785
|
showByFeatureFlag: M,
|
|
3786
3786
|
...P
|
|
3787
3787
|
} = Lr.restaurant;
|
|
3788
3788
|
o.push(P);
|
|
3789
|
-
const
|
|
3790
|
-
actions: [
|
|
3791
|
-
subject:
|
|
3789
|
+
const v = {
|
|
3790
|
+
actions: [he.Action.manage],
|
|
3791
|
+
subject: he.Subject.Restaurant.restaurant
|
|
3792
3792
|
};
|
|
3793
|
-
s && (
|
|
3793
|
+
s && (v.conditions = JSON.stringify({ restaurantId: { $in: s } })), o.push(v);
|
|
3794
3794
|
}
|
|
3795
3795
|
if (s) {
|
|
3796
|
-
const
|
|
3796
|
+
const R = [
|
|
3797
3797
|
...new Set(s.map((P) => C.value[P]).flatMap((P) => P))
|
|
3798
|
-
], M =
|
|
3799
|
-
|
|
3798
|
+
], M = V.value.map((P) => P._id);
|
|
3799
|
+
R.length !== M.length && (o = B(
|
|
3800
3800
|
o,
|
|
3801
|
-
(_ = j.value || M) == null ? void 0 : _.filter((P) =>
|
|
3801
|
+
(_ = j.value || M) == null ? void 0 : _.filter((P) => R.includes(P))
|
|
3802
3802
|
));
|
|
3803
3803
|
}
|
|
3804
3804
|
return o;
|
|
3805
3805
|
}
|
|
3806
|
-
function
|
|
3806
|
+
function W(O) {
|
|
3807
3807
|
const s = B(n.value, O);
|
|
3808
3808
|
n.value = s;
|
|
3809
3809
|
}
|
|
3810
3810
|
function B(O, s) {
|
|
3811
3811
|
let o = It(
|
|
3812
|
-
O.filter((_) => _.subject !==
|
|
3812
|
+
O.filter((_) => _.subject !== he.Subject.Business.role)
|
|
3813
3813
|
);
|
|
3814
3814
|
if (s && s.length > 0) {
|
|
3815
3815
|
const _ = {
|
|
3816
|
-
actions: [
|
|
3817
|
-
subject:
|
|
3816
|
+
actions: [he.Action.manage],
|
|
3817
|
+
subject: he.Subject.Business.role,
|
|
3818
3818
|
conditions: JSON.stringify({ roleId: { $in: s } })
|
|
3819
3819
|
};
|
|
3820
3820
|
o.push(_);
|
|
3821
3821
|
}
|
|
3822
3822
|
return o;
|
|
3823
3823
|
}
|
|
3824
|
-
|
|
3824
|
+
Vn(async () => {
|
|
3825
3825
|
await Promise.all([
|
|
3826
3826
|
la.readWarehouses().then((O) => I.value = O),
|
|
3827
3827
|
E()
|
|
@@ -3837,10 +3837,10 @@ const _a = { class: "flex flex-col gap-32" }, ba = { class: "p-16 fm-corner-radi
|
|
|
3837
3837
|
if (o.inverted) return o;
|
|
3838
3838
|
const _ = o.actions;
|
|
3839
3839
|
if (!_.includes("manage")) return o;
|
|
3840
|
-
const
|
|
3841
|
-
if (!
|
|
3842
|
-
const M =
|
|
3843
|
-
return M.length <= 1 || M.filter((
|
|
3840
|
+
const R = D(o.subject);
|
|
3841
|
+
if (!R) return o;
|
|
3842
|
+
const M = R.actions;
|
|
3843
|
+
return M.length <= 1 || M.filter((v) => !_.includes(v)).length === 0 ? o : { ...o, actions: [...M] };
|
|
3844
3844
|
}));
|
|
3845
3845
|
function ne(O) {
|
|
3846
3846
|
n.value = ia(
|
|
@@ -3861,8 +3861,8 @@ const _a = { class: "flex flex-col gap-32" }, ba = { class: "p-16 fm-corner-radi
|
|
|
3861
3861
|
)
|
|
3862
3862
|
})).filter(({ rule: s }) => !s.inverted).forEach(({ rule: s, index: o }) => {
|
|
3863
3863
|
var P;
|
|
3864
|
-
const _ = s.actions,
|
|
3865
|
-
if (
|
|
3864
|
+
const _ = s.actions, R = A(s.subject, _);
|
|
3865
|
+
if (R.length === 0) return;
|
|
3866
3866
|
let M;
|
|
3867
3867
|
try {
|
|
3868
3868
|
M = s.conditions ? JSON.parse(s.conditions) : void 0;
|
|
@@ -3875,9 +3875,9 @@ const _a = { class: "flex flex-col gap-32" }, ba = { class: "p-16 fm-corner-radi
|
|
|
3875
3875
|
label: ((P = D(s.subject)) == null ? void 0 : P.label) ?? s.subject,
|
|
3876
3876
|
actions: _,
|
|
3877
3877
|
// Each builder only ever sees its own slice of the stored condition.
|
|
3878
|
-
sections:
|
|
3879
|
-
builder:
|
|
3880
|
-
formValue:
|
|
3878
|
+
sections: R.map((v) => ({
|
|
3879
|
+
builder: v,
|
|
3880
|
+
formValue: v.fromCondition(tt(M, v))
|
|
3881
3881
|
}))
|
|
3882
3882
|
});
|
|
3883
3883
|
}), O;
|
|
@@ -3887,14 +3887,14 @@ const _a = { class: "flex flex-col gap-32" }, ba = { class: "p-16 fm-corner-radi
|
|
|
3887
3887
|
function q(O, s) {
|
|
3888
3888
|
const o = _e.value.get(O);
|
|
3889
3889
|
if (o) return o;
|
|
3890
|
-
const _ = ce.getEffectiveActions(O),
|
|
3891
|
-
if (
|
|
3890
|
+
const _ = ce.getEffectiveActions(O), R = A(O, _);
|
|
3891
|
+
if (R.length !== 0)
|
|
3892
3892
|
return {
|
|
3893
3893
|
index: null,
|
|
3894
3894
|
subject: O,
|
|
3895
3895
|
label: s,
|
|
3896
3896
|
actions: _,
|
|
3897
|
-
sections:
|
|
3897
|
+
sections: R.map((M) => ({
|
|
3898
3898
|
builder: M,
|
|
3899
3899
|
formValue: M.fromCondition(void 0)
|
|
3900
3900
|
}))
|
|
@@ -3903,14 +3903,14 @@ const _a = { class: "flex flex-col gap-32" }, ba = { class: "p-16 fm-corner-radi
|
|
|
3903
3903
|
function we(O, s) {
|
|
3904
3904
|
const o = se.getDraft({ subject: O.subject, builderKey: s.builderKey });
|
|
3905
3905
|
if (o) return o.formValue;
|
|
3906
|
-
const _ = O.sections.find((
|
|
3906
|
+
const _ = O.sections.find((R) => R.builder.builderKey === s.builderKey);
|
|
3907
3907
|
return _ == null ? void 0 : _.formValue;
|
|
3908
3908
|
}
|
|
3909
3909
|
function K(O, s) {
|
|
3910
3910
|
const o = se.getDraft({ subject: O.subject, builderKey: s.builderKey });
|
|
3911
3911
|
return o != null && o.inheritMode ? o.inheritMode : ce.inheritMode(O, s);
|
|
3912
3912
|
}
|
|
3913
|
-
function
|
|
3913
|
+
function pe(O, s, o) {
|
|
3914
3914
|
const _ = se.getDraft({
|
|
3915
3915
|
subject: O.subject,
|
|
3916
3916
|
builderKey: s.builderKey
|
|
@@ -3927,11 +3927,11 @@ const _a = { class: "flex flex-col gap-32" }, ba = { class: "p-16 fm-corner-radi
|
|
|
3927
3927
|
const _ = se.getDraft({
|
|
3928
3928
|
subject: O.subject,
|
|
3929
3929
|
builderKey: s.builderKey
|
|
3930
|
-
}),
|
|
3930
|
+
}), R = O.sections.find((M) => M.builder.builderKey === s.builderKey);
|
|
3931
3931
|
se.setDraft(
|
|
3932
3932
|
{ subject: O.subject, builderKey: s.builderKey },
|
|
3933
3933
|
{
|
|
3934
|
-
formValue: (_ == null ? void 0 : _.formValue) ?? (
|
|
3934
|
+
formValue: (_ == null ? void 0 : _.formValue) ?? (R == null ? void 0 : R.formValue),
|
|
3935
3935
|
inheritMode: o
|
|
3936
3936
|
}
|
|
3937
3937
|
);
|
|
@@ -3941,11 +3941,11 @@ const _a = { class: "flex flex-col gap-32" }, ba = { class: "p-16 fm-corner-radi
|
|
|
3941
3941
|
}
|
|
3942
3942
|
function xe(O, s) {
|
|
3943
3943
|
const o = O.sections.flatMap((_) => {
|
|
3944
|
-
const
|
|
3944
|
+
const R = se.getDraft({
|
|
3945
3945
|
subject: O.subject,
|
|
3946
3946
|
builderKey: _.builder.builderKey
|
|
3947
3947
|
});
|
|
3948
|
-
return
|
|
3948
|
+
return R ? [{ builder: _.builder, form: R.formValue, mode: R.inheritMode ?? "custom" }] : [];
|
|
3949
3949
|
});
|
|
3950
3950
|
ce.applyConditionDrafts(O, o, {
|
|
3951
3951
|
afterCommit: () => {
|
|
@@ -3994,9 +3994,9 @@ const _a = { class: "flex flex-col gap-32" }, ba = { class: "p-16 fm-corner-radi
|
|
|
3994
3994
|
},
|
|
3995
3995
|
{ deep: !0 }
|
|
3996
3996
|
), (O, s) => {
|
|
3997
|
-
const o = De("FmIcon"), _ = De("FmBottomSheet"),
|
|
3997
|
+
const o = De("FmIcon"), _ = De("FmBottomSheet"), R = De("FmPopover");
|
|
3998
3998
|
return J(), ie("div", _a, [
|
|
3999
|
-
ae("div",
|
|
3999
|
+
ae("div", pa, [
|
|
4000
4000
|
ue(Ho, {
|
|
4001
4001
|
"model-value": Y.value,
|
|
4002
4002
|
"excluded-subjects": c,
|
|
@@ -4006,13 +4006,13 @@ const _a = { class: "flex flex-col gap-32" }, ba = { class: "p-16 fm-corner-radi
|
|
|
4006
4006
|
ye(w.value, (M) => ({
|
|
4007
4007
|
name: `checkbox-${M.id}-append`,
|
|
4008
4008
|
fn: de(() => [
|
|
4009
|
-
ue(
|
|
4009
|
+
ue(vt, { item: M }, null, 8, ["item"])
|
|
4010
4010
|
])
|
|
4011
4011
|
})),
|
|
4012
4012
|
ye(Q.value, (M) => ({
|
|
4013
4013
|
name: `checkbox-${M}-icon`,
|
|
4014
|
-
fn: de(({ option: P, isEffectiveSelected:
|
|
4015
|
-
|
|
4014
|
+
fn: de(({ option: P, isEffectiveSelected: v }) => [
|
|
4015
|
+
v && q(M, P.label) ? (J(), ie(ke, { key: 0 }, [
|
|
4016
4016
|
g.value ? (J(), Ne(_, {
|
|
4017
4017
|
key: 0,
|
|
4018
4018
|
"model-value": fe.value === M,
|
|
@@ -4027,7 +4027,7 @@ const _a = { class: "flex flex-col gap-32" }, ba = { class: "p-16 fm-corner-radi
|
|
|
4027
4027
|
}
|
|
4028
4028
|
}, {
|
|
4029
4029
|
"bottom-sheet-button": de(() => [
|
|
4030
|
-
ae("div",
|
|
4030
|
+
ae("div", va, [
|
|
4031
4031
|
ue(o, {
|
|
4032
4032
|
name: "settings",
|
|
4033
4033
|
size: "sm",
|
|
@@ -4051,12 +4051,12 @@ const _a = { class: "flex flex-col gap-32" }, ba = { class: "p-16 fm-corner-radi
|
|
|
4051
4051
|
disable: e.disable,
|
|
4052
4052
|
"full-width": !0,
|
|
4053
4053
|
onUpdateInheritMode: ({ builder: y, mode: $ }) => Je(q(M, P.label), y, $),
|
|
4054
|
-
onUpdateForm: ({ builder: y, form: $ }) =>
|
|
4054
|
+
onUpdateForm: ({ builder: y, form: $ }) => pe(q(M, P.label), y, $),
|
|
4055
4055
|
onApply: (y) => xe(q(M, P.label), () => fe.value = null)
|
|
4056
4056
|
}, null, 8, ["entry", "builders", "subject", "time-zone", "cover-override", "inherit-mode-for", "form-value-for", "has-changes", "disable", "onUpdateInheritMode", "onUpdateForm", "onApply"])
|
|
4057
4057
|
]),
|
|
4058
4058
|
_: 2
|
|
4059
|
-
}, 1032, ["model-value", "header", "onUpdate:modelValue"])) : (J(), Ne(
|
|
4059
|
+
}, 1032, ["model-value", "header", "onUpdate:modelValue"])) : (J(), Ne(R, {
|
|
4060
4060
|
key: 1,
|
|
4061
4061
|
disabled: e.disable,
|
|
4062
4062
|
"z-index": 100,
|
|
@@ -4067,7 +4067,7 @@ const _a = { class: "flex flex-col gap-32" }, ba = { class: "p-16 fm-corner-radi
|
|
|
4067
4067
|
}
|
|
4068
4068
|
}, {
|
|
4069
4069
|
"popover-button": de(() => [
|
|
4070
|
-
ae("div",
|
|
4070
|
+
ae("div", ha, [
|
|
4071
4071
|
ue(o, {
|
|
4072
4072
|
name: "settings",
|
|
4073
4073
|
size: "sm",
|
|
@@ -4097,7 +4097,7 @@ const _a = { class: "flex flex-col gap-32" }, ba = { class: "p-16 fm-corner-radi
|
|
|
4097
4097
|
$,
|
|
4098
4098
|
le
|
|
4099
4099
|
),
|
|
4100
|
-
onUpdateForm: ({ builder: $, form: le }) =>
|
|
4100
|
+
onUpdateForm: ({ builder: $, form: le }) => pe(q(M, P.label), $, le),
|
|
4101
4101
|
onApply: ($) => xe(q(M, P.label), y)
|
|
4102
4102
|
}, null, 8, ["entry", "builders", "subject", "time-zone", "cover-override", "title", "inherit-mode-for", "form-value-for", "has-changes", "disable", "onUpdateInheritMode", "onUpdateForm", "onApply"])
|
|
4103
4103
|
]),
|
|
@@ -4113,17 +4113,17 @@ const _a = { class: "flex flex-col gap-32" }, ba = { class: "p-16 fm-corner-radi
|
|
|
4113
4113
|
}))
|
|
4114
4114
|
]), 1032, ["model-value", "additional-permissions"])
|
|
4115
4115
|
]),
|
|
4116
|
-
ae("div",
|
|
4116
|
+
ae("div", ba, [
|
|
4117
4117
|
ue(wn, {
|
|
4118
|
-
"model-value":
|
|
4119
|
-
options:
|
|
4118
|
+
"model-value": b.value,
|
|
4119
|
+
options: p.value,
|
|
4120
4120
|
context: H(a)("team.labels.warehouse"),
|
|
4121
|
-
"onUpdate:modelValue":
|
|
4121
|
+
"onUpdate:modelValue": k
|
|
4122
4122
|
}, et({ _: 2 }, [
|
|
4123
4123
|
ye(f.value, (M) => ({
|
|
4124
4124
|
name: `checkbox-${M.id}-append`,
|
|
4125
4125
|
fn: de(() => [
|
|
4126
|
-
ue(
|
|
4126
|
+
ue(vt, { item: M }, null, 8, ["item"])
|
|
4127
4127
|
])
|
|
4128
4128
|
}))
|
|
4129
4129
|
]), 1032, ["model-value", "options", "context"])
|
|
@@ -4135,25 +4135,25 @@ const _a = { class: "flex flex-col gap-32" }, ba = { class: "p-16 fm-corner-radi
|
|
|
4135
4135
|
context: H(a)("team.labels.restaurant"),
|
|
4136
4136
|
"onUpdate:modelValue": x
|
|
4137
4137
|
}, et({ _: 2 }, [
|
|
4138
|
-
ye(
|
|
4138
|
+
ye(h.value, (M) => ({
|
|
4139
4139
|
name: `checkbox-${M.id}-append`,
|
|
4140
4140
|
fn: de(() => [
|
|
4141
|
-
ue(
|
|
4141
|
+
ue(vt, { item: M }, null, 8, ["item"])
|
|
4142
4142
|
])
|
|
4143
4143
|
}))
|
|
4144
4144
|
]), 1032, ["model-value", "options", "context"])
|
|
4145
4145
|
]),
|
|
4146
4146
|
ae("div", Ia, [
|
|
4147
4147
|
ue(ra, {
|
|
4148
|
-
roles: H(
|
|
4148
|
+
roles: H(V),
|
|
4149
4149
|
"model-value": j.value,
|
|
4150
4150
|
"restaurant-ids": U.value,
|
|
4151
|
-
"onUpdate:modelValue":
|
|
4151
|
+
"onUpdate:modelValue": W
|
|
4152
4152
|
}, et({ _: 2 }, [
|
|
4153
4153
|
ye(S.value, (M) => ({
|
|
4154
4154
|
name: `checkbox-${M.id}-append`,
|
|
4155
4155
|
fn: de(() => [
|
|
4156
|
-
ue(
|
|
4156
|
+
ue(vt, { item: M }, null, 8, ["item"])
|
|
4157
4157
|
])
|
|
4158
4158
|
}))
|
|
4159
4159
|
]), 1032, ["roles", "model-value", "restaurant-ids"])
|