@feedmepos/mf-hrm-portal 2.3.0-dev.13 → 2.3.0-dev.15
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-D3egZFML.js → ApprovalCodeList-CY0ox1dX.js} +4 -4
- package/dist/{AuditLogList-BzbaEsSj.js → AuditLogList-CBkA-KQT.js} +17 -18
- package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-Do52KbKm.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-B8cb8yqV.js} +2 -2
- package/dist/{EmployeeList-BiM8dRwZ.js → EmployeeList-0PrcuHPJ.js} +255 -267
- package/dist/{FormItem.vue_vue_type_script_setup_true_lang-CUnlKsxk.js → FormItem.vue_vue_type_script_setup_true_lang-rjDE1B4E.js} +6 -6
- package/dist/{GrantUserList-Dj2ms20E.js → GrantUserList-Dw923P2j.js} +5 -5
- package/dist/{Main-DmpwTPaI.js → Main-BqX7n1ik.js} +9 -9
- package/dist/{Main-C2z7Jf9A.js → Main-C0bcn2NY.js} +5 -5
- package/dist/{Main-DklZWoKj.js → Main-Dpf2KdSH.js} +2 -2
- package/dist/{PermissionSetList-C-qgCcRO.js → PermissionSetList-xrI130SW.js} +5 -5
- package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-ggZB5zWW.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-3_8qycrF.js} +465 -465
- package/dist/{RoleList-ohfin77B.js → RoleList-DPkG5dg9.js} +7 -7
- package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-DYLLW46A.js +501 -0
- package/dist/{ScheduleGeneralPage-aCljFf21.js → ScheduleGeneralPage-CISbuAff.js} +141 -143
- package/dist/{ScheduleModal.vue_vue_type_script_setup_true_lang-x_-BYkcc.js → ScheduleModal.vue_vue_type_script_setup_true_lang-BeTuMw3f.js} +989 -858
- package/dist/SchedulePage-Dn6_TiBS.js +18757 -0
- package/dist/{SchedulePositionPage-CID91orD.js → SchedulePositionPage-Cu3WRfH-.js} +79 -81
- package/dist/{SelectFilter-CG13h83-.js → SelectFilter-ssnRUIN6.js} +1 -1
- package/dist/{TeamMemberList-DJIKL4dE.js → TeamMemberList-DTqNCDJb.js} +35 -36
- package/dist/{TimesheetList-BPXWPNfT.js → TimesheetList-CA19TmKm.js} +52 -53
- package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-DVcV0knM.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-B1jnsZpD.js} +2 -2
- package/dist/{app-Bz8568j8.js → app-3xGY2Rn0.js} +2062 -1800
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-DhSRKSu4.js → dayjs.min-C_c8OoEU.js} +1 -1
- package/dist/{employee-BM44u8b-.js → employee-Dt0y51t3.js} +3 -3
- package/dist/{iteration-BHDxs89d.js → iteration-C4YvbrCe.js} +1 -1
- package/dist/{lodash-DgSYLwYD.js → lodash-huRs3Cbj.js} +1 -1
- package/dist/object-Dwyg2LgX.js +16 -0
- package/dist/{role-BMJ7LEHN.js → role-fM58UmtC.js} +1 -1
- package/dist/{rule-CCo7_ckA.js → rule-CCN0QCPF.js} +2 -2
- package/dist/src/views/audit-log/locales/index.d.ts +252 -0
- package/dist/src/views/scheduling/components/ScheduleAreaRows.vue.d.ts +2 -0
- package/dist/src/views/scheduling/components/ScheduleBoardAreaRows.vue.d.ts +1 -0
- package/dist/src/views/scheduling/components/ScheduleOnboardingSettings.vue.d.ts +6 -0
- package/dist/src/views/scheduling/composables/onboarding-types.d.ts +2 -1
- package/dist/src/views/scheduling/composables/schedule-demand-domain.d.ts +13 -1
- package/dist/src/views/scheduling/composables/schedule-error.d.ts +3 -0
- package/dist/src/views/scheduling/composables/schedule-quick-pick.d.ts +22 -0
- package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +5 -2
- package/dist/src/views/scheduling/composables/useScheduleAddPick.d.ts +3 -11
- package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +7 -0
- package/dist/src/views/scheduling/composables/useScheduleBoard.d.ts +45 -1
- package/dist/src/views/scheduling/composables/useScheduleCostRail.d.ts +13 -1
- package/dist/src/views/scheduling/composables/useScheduleDayTimeline.d.ts +2 -2
- package/dist/src/views/scheduling/composables/useScheduleDragDrop.d.ts +1 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeAccess.d.ts +14 -6
- package/dist/src/views/scheduling/composables/useScheduleEmployeeCandidates.d.ts +3 -0
- package/dist/src/views/scheduling/composables/useScheduleEmployeeValidation.d.ts +0 -2
- package/dist/src/views/scheduling/composables/useScheduleOnboardingEmployees.d.ts +25 -0
- package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +163 -4
- package/dist/src/views/scheduling/composables/useScheduleRoster.d.ts +44 -0
- package/dist/src/views/scheduling/composables/useScheduleSetupBanner.d.ts +2 -2
- package/dist/src/views/scheduling/composables/useScheduleShiftActions.d.ts +22 -0
- package/dist/src/views/scheduling/composables/useScheduleShiftPopover.d.ts +26 -2
- package/dist/src/views/scheduling/country-rules/index.d.ts +8 -3
- package/dist/src/views/scheduling/data.d.ts +17 -0
- package/dist/src/views/scheduling/schedule-store.d.ts +7 -7
- package/dist/src/views/scheduling/types.d.ts +5 -0
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{useReportPermissions-C_Cd__n1.js → useReportPermissions-BlX_Mk5f.js} +3 -3
- package/package.json +1 -1
- package/dist/ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-diuWysro.js +0 -492
- package/dist/SchedulePage-DdMHF6kX.js +0 -17993
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
|
@@ -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 Vn, onUnmounted as mr, defineComponent as Re, h as Wn, createVNode as ue, Text as fr, Fragment 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 Re, h as Wn, createVNode as ue, Text as fr, Fragment as Ae, 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 Ee, toRef as en, normalizeStyle as nt, renderSlot as Se, createCommentVNode as Me, createTextVNode as _r, useSlots as vr, normalizeClass as qe, createSlots as et, mergeModels as tn, useModel as pr } from "vue";
|
|
2
2
|
import { useI18n as He, useCoreStore as hr } from "@feedmepos/mf-common";
|
|
3
3
|
import { useDialog as br, useBreakpoints as gr } from "@feedmepos/ui-library";
|
|
4
4
|
import "@vue/devtools-api";
|
|
5
|
-
import { p as Gn, N as Zn, d as Ir, P as
|
|
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,
|
|
8
|
-
import { c as It } from "./iteration-
|
|
5
|
+
import { p as Gn, N as Zn, d as Ir, P as yr, w as Lt, x as Er, y as Nr } from "./rule-CCN0QCPF.js";
|
|
6
|
+
import { _ as Xt, a as Cr, b as nn, u as Tr } from "./ConditionBuilderForm.vue_vue_type_script_setup_true_lang-B8cb8yqV.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-3xGY2Rn0.js";
|
|
8
|
+
import { c as It } from "./iteration-C4YvbrCe.js";
|
|
9
9
|
import { r as Rr } from "./string-VNuQNweN.js";
|
|
10
|
-
import { g as
|
|
11
|
-
import { u as Mr } from "./role-
|
|
10
|
+
import { g as kr, b as Ar } from "./restaurant-BbYRA_IT.js";
|
|
11
|
+
import { u as Mr } from "./role-fM58UmtC.js";
|
|
12
12
|
function Yn(e, t) {
|
|
13
13
|
return Array.isArray(e) ? e.includes(t) : e === t;
|
|
14
14
|
}
|
|
@@ -31,7 +31,7 @@ function sn(e, t) {
|
|
|
31
31
|
* (c) 2024 kazuya kawaguchi
|
|
32
32
|
* Released under the MIT License.
|
|
33
33
|
*/
|
|
34
|
-
const on = typeof window < "u", $e = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), Fr = (e, t, n) => Pr({ l: e, k: t, s: n }), Pr = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ge = (e) => typeof e == "number" && isFinite(e), jr = (e) => Ht(e) === "[object Date]",
|
|
34
|
+
const on = typeof window < "u", $e = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), Fr = (e, t, n) => Pr({ l: e, k: t, s: n }), Pr = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), ge = (e) => typeof e == "number" && isFinite(e), jr = (e) => Ht(e) === "[object Date]", Et = (e) => Ht(e) === "[object RegExp]", Ct = (e) => ee(e) && Object.keys(e).length === 0, Ie = Object.assign, Ur = Object.create, oe = (e = null) => Ur(e);
|
|
35
35
|
let an;
|
|
36
36
|
const Xe = () => an || (an = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : oe());
|
|
37
37
|
function ln(e) {
|
|
@@ -41,7 +41,7 @@ const xr = Object.prototype.hasOwnProperty;
|
|
|
41
41
|
function Le(e, t) {
|
|
42
42
|
return xr.call(e, t);
|
|
43
43
|
}
|
|
44
|
-
const be = Array.isArray, me = (e) => typeof e == "function", Z = (e) => typeof e == "string",
|
|
44
|
+
const be = Array.isArray, me = (e) => typeof e == "function", Z = (e) => typeof e == "string", pe = (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
|
}
|
|
@@ -49,7 +49,7 @@ function Gr(e, t) {
|
|
|
49
49
|
typeof console < "u" && (console.warn("[intlify] " + e), t && console.warn(t.stack));
|
|
50
50
|
}
|
|
51
51
|
const ft = (e) => !te(e) || be(e);
|
|
52
|
-
function
|
|
52
|
+
function yt(e, t) {
|
|
53
53
|
if (ft(e) || ft(t))
|
|
54
54
|
throw new Error("Invalid value");
|
|
55
55
|
const n = [{ src: e, des: t }];
|
|
@@ -91,14 +91,14 @@ function Tt(e, t, n = {}) {
|
|
|
91
91
|
function Yr(e) {
|
|
92
92
|
throw e;
|
|
93
93
|
}
|
|
94
|
-
const Pe = " ", Xr = "\r",
|
|
94
|
+
const Pe = " ", Xr = "\r", ye = `
|
|
95
95
|
`, Hr = "\u2028", $r = "\u2029";
|
|
96
96
|
function Jr(e) {
|
|
97
97
|
const t = e;
|
|
98
98
|
let n = 0, r = 1, l = 1, a = 0;
|
|
99
|
-
const d = (
|
|
99
|
+
const d = (v) => t[v] === Xr && t[v + 1] === ye, u = (v) => t[v] === ye, i = (v) => t[v] === $r, g = (v) => t[v] === Hr, y = (v) => d(v) || u(v) || i(v) || g(v), T = () => n, N = () => r, F = () => l, D = () => a, R = (v) => d(v) || i(v) || g(v) ? ye : t[v], w = () => R(n), f = () => R(n + a);
|
|
100
100
|
function h() {
|
|
101
|
-
return a = 0,
|
|
101
|
+
return a = 0, y(n) && (r++, l = 0), d(n) && n++, n++, l++, t[n];
|
|
102
102
|
}
|
|
103
103
|
function S() {
|
|
104
104
|
return d(n + a) && a++, a++, t[n + a];
|
|
@@ -106,12 +106,12 @@ function Jr(e) {
|
|
|
106
106
|
function c() {
|
|
107
107
|
n = 0, r = 1, l = 1, a = 0;
|
|
108
108
|
}
|
|
109
|
-
function b(
|
|
110
|
-
a =
|
|
109
|
+
function b(v = 0) {
|
|
110
|
+
a = v;
|
|
111
111
|
}
|
|
112
112
|
function I() {
|
|
113
|
-
const
|
|
114
|
-
for (;
|
|
113
|
+
const v = n + a;
|
|
114
|
+
for (; v !== n; )
|
|
115
115
|
h();
|
|
116
116
|
a = 0;
|
|
117
117
|
}
|
|
@@ -144,21 +144,21 @@ function Qr(e, t = {}) {
|
|
|
144
144
|
braceNest: 0,
|
|
145
145
|
inLinked: !1,
|
|
146
146
|
text: ""
|
|
147
|
-
}, g = () => i, { onError:
|
|
148
|
-
function T(s, o, _, ...
|
|
147
|
+
}, g = () => i, { onError: y } = t;
|
|
148
|
+
function T(s, o, _, ...k) {
|
|
149
149
|
const M = g();
|
|
150
|
-
if (o.column += _, o.offset += _,
|
|
151
|
-
const P = n ? Ft(M.startLoc, o) : null,
|
|
150
|
+
if (o.column += _, o.offset += _, y) {
|
|
151
|
+
const P = n ? Ft(M.startLoc, o) : null, p = Tt(s, P, {
|
|
152
152
|
domain: zr,
|
|
153
|
-
args:
|
|
153
|
+
args: k
|
|
154
154
|
});
|
|
155
|
-
|
|
155
|
+
y(p);
|
|
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 k = { type: o };
|
|
161
|
+
return n && (k.loc = Ft(s.startLoc, s.endLoc)), _ != null && (k.value = _), k;
|
|
162
162
|
}
|
|
163
163
|
const F = (s) => N(
|
|
164
164
|
s,
|
|
@@ -170,7 +170,7 @@ function Qr(e, t = {}) {
|
|
|
170
170
|
}
|
|
171
171
|
function R(s) {
|
|
172
172
|
let o = "";
|
|
173
|
-
for (; s.currentPeek() === Pe || s.currentPeek() ===
|
|
173
|
+
for (; s.currentPeek() === Pe || s.currentPeek() === ye; )
|
|
174
174
|
o += s.currentPeek(), s.peek();
|
|
175
175
|
return o;
|
|
176
176
|
}
|
|
@@ -197,15 +197,15 @@ function Qr(e, t = {}) {
|
|
|
197
197
|
if (_ !== 2)
|
|
198
198
|
return !1;
|
|
199
199
|
R(s);
|
|
200
|
-
const
|
|
201
|
-
return s.resetPeek(),
|
|
200
|
+
const k = f(s.currentPeek());
|
|
201
|
+
return s.resetPeek(), k;
|
|
202
202
|
}
|
|
203
203
|
function c(s, o) {
|
|
204
204
|
const { currentType: _ } = o;
|
|
205
205
|
if (_ !== 2)
|
|
206
206
|
return !1;
|
|
207
207
|
R(s);
|
|
208
|
-
const
|
|
208
|
+
const k = s.currentPeek() === "-" ? s.peek() : s.currentPeek(), M = h(k);
|
|
209
209
|
return s.resetPeek(), M;
|
|
210
210
|
}
|
|
211
211
|
function b(s, o) {
|
|
@@ -213,41 +213,41 @@ function Qr(e, t = {}) {
|
|
|
213
213
|
if (_ !== 2)
|
|
214
214
|
return !1;
|
|
215
215
|
R(s);
|
|
216
|
-
const
|
|
217
|
-
return s.resetPeek(),
|
|
216
|
+
const k = s.currentPeek() === cn;
|
|
217
|
+
return s.resetPeek(), k;
|
|
218
218
|
}
|
|
219
219
|
function I(s, o) {
|
|
220
220
|
const { currentType: _ } = o;
|
|
221
221
|
if (_ !== 7)
|
|
222
222
|
return !1;
|
|
223
223
|
R(s);
|
|
224
|
-
const
|
|
225
|
-
return s.resetPeek(),
|
|
224
|
+
const k = s.currentPeek() === ".";
|
|
225
|
+
return s.resetPeek(), k;
|
|
226
226
|
}
|
|
227
|
-
function
|
|
227
|
+
function v(s, o) {
|
|
228
228
|
const { currentType: _ } = o;
|
|
229
229
|
if (_ !== 8)
|
|
230
230
|
return !1;
|
|
231
231
|
R(s);
|
|
232
|
-
const
|
|
233
|
-
return s.resetPeek(),
|
|
232
|
+
const k = f(s.currentPeek());
|
|
233
|
+
return s.resetPeek(), k;
|
|
234
234
|
}
|
|
235
|
-
function
|
|
235
|
+
function A(s, o) {
|
|
236
236
|
const { currentType: _ } = o;
|
|
237
237
|
if (!(_ === 7 || _ === 11))
|
|
238
238
|
return !1;
|
|
239
239
|
R(s);
|
|
240
|
-
const
|
|
241
|
-
return s.resetPeek(),
|
|
240
|
+
const k = s.currentPeek() === ":";
|
|
241
|
+
return s.resetPeek(), k;
|
|
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 k = () => {
|
|
248
248
|
const P = s.currentPeek();
|
|
249
|
-
return P === "{" ? f(s.peek()) : P === "@" || P === "|" || P === ":" || P === "." || P === Pe || !P ? !1 : P ===
|
|
250
|
-
}, M =
|
|
249
|
+
return P === "{" ? f(s.peek()) : P === "@" || P === "|" || P === ":" || P === "." || P === Pe || !P ? !1 : P === ye ? (s.peek(), k()) : V(s, !1);
|
|
250
|
+
}, M = k();
|
|
251
251
|
return s.resetPeek(), M;
|
|
252
252
|
}
|
|
253
253
|
function X(s) {
|
|
@@ -257,10 +257,10 @@ function Qr(e, t = {}) {
|
|
|
257
257
|
}
|
|
258
258
|
function V(s, o = !0) {
|
|
259
259
|
const _ = (M = !1, P = "") => {
|
|
260
|
-
const
|
|
261
|
-
return
|
|
262
|
-
},
|
|
263
|
-
return o && s.resetPeek(),
|
|
260
|
+
const p = s.currentPeek();
|
|
261
|
+
return p === "{" || p === "@" || !p ? M : p === "|" ? !(P === Pe || P === ye) : p === Pe ? (s.peek(), _(!0, Pe)) : p === ye ? (s.peek(), _(!0, ye)) : !0;
|
|
262
|
+
}, k = _();
|
|
263
|
+
return o && s.resetPeek(), k;
|
|
264
264
|
}
|
|
265
265
|
function m(s, o) {
|
|
266
266
|
const _ = s.currentChar();
|
|
@@ -317,7 +317,7 @@ function Qr(e, t = {}) {
|
|
|
317
317
|
const _ = s.currentChar();
|
|
318
318
|
if (_ === "{" || _ === "}" || _ === "@" || _ === "|" || !_)
|
|
319
319
|
break;
|
|
320
|
-
if (_ === Pe || _ ===
|
|
320
|
+
if (_ === Pe || _ === ye)
|
|
321
321
|
if (V(s))
|
|
322
322
|
o += _, s.next();
|
|
323
323
|
else {
|
|
@@ -343,15 +343,15 @@ function Qr(e, t = {}) {
|
|
|
343
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
|
-
return s !== cn && s !==
|
|
346
|
+
return s !== cn && s !== ye;
|
|
347
347
|
}
|
|
348
348
|
function fe(s) {
|
|
349
349
|
w(s), D(s, "'");
|
|
350
350
|
let o = "", _ = "";
|
|
351
351
|
for (; o = m(s, se); )
|
|
352
352
|
o === "\\" ? _ += q(s) : _ += o;
|
|
353
|
-
const
|
|
354
|
-
return
|
|
353
|
+
const k = s.currentChar();
|
|
354
|
+
return k === ye || k === Ve ? (T(re.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, a(), 0), k === ye && (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 k = "";
|
|
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}${k}${s.currentChar()}`);
|
|
377
377
|
break;
|
|
378
378
|
}
|
|
379
|
-
|
|
379
|
+
k += P;
|
|
380
380
|
}
|
|
381
|
-
return `\\${o}${
|
|
381
|
+
return `\\${o}${k}`;
|
|
382
382
|
}
|
|
383
383
|
function K(s) {
|
|
384
|
-
return s !== "{" && s !== "}" && s !== Pe && s !==
|
|
384
|
+
return s !== "{" && s !== "}" && s !== Pe && s !== ye;
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function ve(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 k = s.currentChar();
|
|
402
|
+
return k === "{" || k === "@" || k === "|" || k === "(" || k === ")" || !k || k === Pe ? _ : (_ += k, 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, p = !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 (p = 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 && !p)
|
|
447
|
+
return _ = N(o, 12, ve(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 k = null;
|
|
456
456
|
const M = s.currentChar();
|
|
457
|
-
switch ((_ === 7 || _ === 8 || _ === 11 || _ === 9) && (M ===
|
|
457
|
+
switch ((_ === 7 || _ === 8 || _ === 11 || _ === 9) && (M === ye || M === Pe) && T(re.INVALID_LINKED_FORMAT, a(), 0), M) {
|
|
458
458
|
case "@":
|
|
459
|
-
return s.next(),
|
|
459
|
+
return s.next(), k = N(
|
|
460
460
|
o,
|
|
461
461
|
7,
|
|
462
462
|
"@"
|
|
463
463
|
/* TokenChars.LinkedAlias */
|
|
464
|
-
), o.inLinked = !0,
|
|
464
|
+
), o.inLinked = !0, k;
|
|
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) ? (k = N(o, 1, xe(s)), o.braceNest = 0, o.inLinked = !1, k) : I(s, o) || A(s, o) ? (w(s), Ce(s, o)) : v(s, o) ? (w(s), N(o, 11, Je(s))) : L(s, o) ? (w(s), M === "{" ? Fe(s, o) || k : 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) {
|
|
@@ -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: k } = i;
|
|
516
|
+
return i.lastType = s, i.lastOffset = o, i.lastStartLoc = _, i.lastEndLoc = k, i.offset = l(), i.startLoc = a(), r.currentChar() === Ve ? N(
|
|
517
517
|
i,
|
|
518
518
|
13
|
|
519
519
|
/* TokenTypes.EOF */
|
|
@@ -544,11 +544,11 @@ function ns(e = {}) {
|
|
|
544
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 v = t ? Ft(S, I) : null, A = Tt(h, v, {
|
|
548
548
|
domain: qr,
|
|
549
549
|
args: b
|
|
550
550
|
});
|
|
551
|
-
n(
|
|
551
|
+
n(A);
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
function l(f, h, S) {
|
|
@@ -574,12 +574,12 @@ function ns(e = {}) {
|
|
|
574
574
|
const S = f.context(), { lastOffset: c, lastStartLoc: b } = S, I = l(9, c, b);
|
|
575
575
|
return I.value = h.replace(es, ts), f.nextToken(), a(I, f.currentOffset(), f.currentPosition()), I;
|
|
576
576
|
}
|
|
577
|
-
function
|
|
577
|
+
function y(f) {
|
|
578
578
|
const h = f.nextToken(), S = f.context(), { lastOffset: c, lastStartLoc: b } = S, I = l(8, c, b);
|
|
579
579
|
return h.type !== 11 ? (r(f, re.UNEXPECTED_EMPTY_LINKED_MODIFIER, S.lastStartLoc, 0), I.value = "", a(I, c, b), {
|
|
580
580
|
nextConsumeToken: h,
|
|
581
581
|
node: I
|
|
582
|
-
}) : (h.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0,
|
|
582
|
+
}) : (h.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, S.lastStartLoc, 0, ke(h)), I.value = h.value || "", a(I, f.currentOffset(), f.currentPosition()), {
|
|
583
583
|
node: I
|
|
584
584
|
});
|
|
585
585
|
}
|
|
@@ -591,21 +591,21 @@ function ns(e = {}) {
|
|
|
591
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 b =
|
|
594
|
+
const b = y(f);
|
|
595
595
|
S.modifier = b.node, c = b.nextConsumeToken || f.nextToken();
|
|
596
596
|
}
|
|
597
|
-
switch (c.type !== 9 && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0,
|
|
597
|
+
switch (c.type !== 9 && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ke(c)), c = f.nextToken(), c.type === 2 && (c = f.nextToken()), c.type) {
|
|
598
598
|
case 10:
|
|
599
|
-
c.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0,
|
|
599
|
+
c.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ke(c)), S.key = T(f, c.value || "");
|
|
600
600
|
break;
|
|
601
601
|
case 4:
|
|
602
|
-
c.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0,
|
|
602
|
+
c.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ke(c)), S.key = i(f, c.value || "");
|
|
603
603
|
break;
|
|
604
604
|
case 5:
|
|
605
|
-
c.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0,
|
|
605
|
+
c.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ke(c)), S.key = u(f, c.value || "");
|
|
606
606
|
break;
|
|
607
607
|
case 6:
|
|
608
|
-
c.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0,
|
|
608
|
+
c.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ke(c)), S.key = g(f, c.value || "");
|
|
609
609
|
break;
|
|
610
610
|
default: {
|
|
611
611
|
r(f, re.UNEXPECTED_EMPTY_LINKED_KEY, h.lastStartLoc, 0);
|
|
@@ -628,16 +628,16 @@ function ns(e = {}) {
|
|
|
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, h.lastStartLoc, 0,
|
|
631
|
+
L.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ke(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, h.lastStartLoc, 0,
|
|
634
|
+
L.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ke(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, h.lastStartLoc, 0,
|
|
637
|
+
L.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ke(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, h.lastStartLoc, 0,
|
|
640
|
+
L.value == null && r(f, re.UNEXPECTED_LEXICAL_ANALYSIS, h.lastStartLoc, 0, ke(L)), b.items.push(g(f, L.value || ""));
|
|
641
641
|
break;
|
|
642
642
|
case 7: {
|
|
643
643
|
const X = N(f);
|
|
@@ -646,19 +646,19 @@ function ns(e = {}) {
|
|
|
646
646
|
}
|
|
647
647
|
}
|
|
648
648
|
} while (h.currentType !== 13 && h.currentType !== 1);
|
|
649
|
-
const
|
|
650
|
-
return a(b,
|
|
649
|
+
const v = h.currentType === 1 ? h.lastOffset : f.currentOffset(), A = h.currentType === 1 ? h.lastEndLoc : f.currentPosition();
|
|
650
|
+
return a(b, v, A), b;
|
|
651
651
|
}
|
|
652
652
|
function D(f, h, S, c) {
|
|
653
653
|
const b = f.context();
|
|
654
654
|
let I = c.items.length === 0;
|
|
655
|
-
const
|
|
656
|
-
|
|
655
|
+
const v = l(1, h, S);
|
|
656
|
+
v.cases = [], v.cases.push(c);
|
|
657
657
|
do {
|
|
658
|
-
const
|
|
659
|
-
I || (I =
|
|
658
|
+
const A = F(f);
|
|
659
|
+
I || (I = A.items.length === 0), v.cases.push(A);
|
|
660
660
|
} while (b.currentType !== 13);
|
|
661
|
-
return I && r(f, re.MUST_HAVE_MESSAGES_IN_PLURAL, S, 0), a(
|
|
661
|
+
return I && r(f, re.MUST_HAVE_MESSAGES_IN_PLURAL, S, 0), a(v, f.currentOffset(), f.currentPosition()), v;
|
|
662
662
|
}
|
|
663
663
|
function R(f) {
|
|
664
664
|
const h = f.context(), { offset: S, startLoc: c } = h, b = F(f);
|
|
@@ -670,7 +670,7 @@ function ns(e = {}) {
|
|
|
670
670
|
}
|
|
671
671
|
return { parse: w };
|
|
672
672
|
}
|
|
673
|
-
function
|
|
673
|
+
function ke(e) {
|
|
674
674
|
if (e.type === 13)
|
|
675
675
|
return "EOF";
|
|
676
676
|
const t = (e.value || "").replace(/\r?\n/gu, "\\n");
|
|
@@ -830,7 +830,7 @@ function as(e, t) {
|
|
|
830
830
|
const f = w ? r : "";
|
|
831
831
|
i(l ? f + " ".repeat(R) : f);
|
|
832
832
|
}
|
|
833
|
-
function
|
|
833
|
+
function y(R = !0) {
|
|
834
834
|
const w = ++d.indentLevel;
|
|
835
835
|
R && g(w);
|
|
836
836
|
}
|
|
@@ -844,7 +844,7 @@ function as(e, t) {
|
|
|
844
844
|
return {
|
|
845
845
|
context: u,
|
|
846
846
|
push: i,
|
|
847
|
-
indent:
|
|
847
|
+
indent: y,
|
|
848
848
|
deindent: T,
|
|
849
849
|
newline: N,
|
|
850
850
|
helper: (R) => `_${R}`,
|
|
@@ -941,7 +941,7 @@ const ds = (e, t = {}) => {
|
|
|
941
941
|
breakLineCode: l,
|
|
942
942
|
needIndent: a
|
|
943
943
|
});
|
|
944
|
-
u.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), u.indent(a), d.length > 0 && (u.push(`const { ${$t(d.map((
|
|
944
|
+
u.push(n === "normal" ? "function __msg__ (ctx) {" : "(ctx) => {"), u.indent(a), d.length > 0 && (u.push(`const { ${$t(d.map((y) => `${y}: _${y}`), ", ")} } = ctx`), u.newline()), u.push("return "), st(u, e), u.deindent(a), u.push("}"), delete e.helpers;
|
|
945
945
|
const { code: i, map: g } = u.context();
|
|
946
946
|
return {
|
|
947
947
|
ast: e,
|
|
@@ -959,9 +959,9 @@ 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
961
|
function Rt(e) {
|
|
962
|
-
return (n) =>
|
|
962
|
+
return (n) => vs(n, e);
|
|
963
963
|
}
|
|
964
|
-
function
|
|
964
|
+
function vs(e, t) {
|
|
965
965
|
const n = hs(t);
|
|
966
966
|
if (n == null)
|
|
967
967
|
throw it(
|
|
@@ -977,16 +977,16 @@ function ps(e, t) {
|
|
|
977
977
|
} else
|
|
978
978
|
return mn(e, n);
|
|
979
979
|
}
|
|
980
|
-
const
|
|
980
|
+
const ps = ["b", "body"];
|
|
981
981
|
function hs(e) {
|
|
982
|
-
return Ge(e,
|
|
982
|
+
return Ge(e, ps);
|
|
983
983
|
}
|
|
984
984
|
const bs = ["c", "cases"];
|
|
985
985
|
function gs(e) {
|
|
986
986
|
return Ge(e, bs, []);
|
|
987
987
|
}
|
|
988
988
|
function mn(e, t) {
|
|
989
|
-
const n =
|
|
989
|
+
const n = ys(t);
|
|
990
990
|
if (n != null)
|
|
991
991
|
return e.type === "text" ? n : e.normalize([n]);
|
|
992
992
|
{
|
|
@@ -995,12 +995,12 @@ function mn(e, t) {
|
|
|
995
995
|
}
|
|
996
996
|
}
|
|
997
997
|
const Is = ["s", "static"];
|
|
998
|
-
function
|
|
998
|
+
function ys(e) {
|
|
999
999
|
return Ge(e, Is);
|
|
1000
1000
|
}
|
|
1001
|
-
const
|
|
1001
|
+
const Es = ["i", "items"];
|
|
1002
1002
|
function Ns(e) {
|
|
1003
|
-
return Ge(e,
|
|
1003
|
+
return Ge(e, Es, []);
|
|
1004
1004
|
}
|
|
1005
1005
|
function Pt(e, t) {
|
|
1006
1006
|
const n = Kt(t);
|
|
@@ -1073,12 +1073,12 @@ function Ge(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 ks = (e) => e;
|
|
1077
|
+
let vt = 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 As(e, t = {}) {
|
|
1082
1082
|
let n = !1;
|
|
1083
1083
|
const r = t.onError || Yr;
|
|
1084
1084
|
return t.onError = (l) => {
|
|
@@ -1088,21 +1088,21 @@ function ks(e, t = {}) {
|
|
|
1088
1088
|
// @__NO_SIDE_EFFECTS__
|
|
1089
1089
|
function Ms(e, t) {
|
|
1090
1090
|
if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && Z(e)) {
|
|
1091
|
-
|
|
1092
|
-
const r = (t.onCacheKey ||
|
|
1091
|
+
pe(t.warnHtmlMessage) && t.warnHtmlMessage;
|
|
1092
|
+
const r = (t.onCacheKey || ks)(e), l = vt[r];
|
|
1093
1093
|
if (l)
|
|
1094
1094
|
return l;
|
|
1095
|
-
const { ast: a, detectError: d } =
|
|
1095
|
+
const { ast: a, detectError: d } = As(e, {
|
|
1096
1096
|
...t,
|
|
1097
1097
|
location: fs.env.NODE_ENV !== "production",
|
|
1098
1098
|
jit: !0
|
|
1099
1099
|
}), u = Rt(a);
|
|
1100
|
-
return d ? u :
|
|
1100
|
+
return d ? u : vt[r] = u;
|
|
1101
1101
|
} else {
|
|
1102
1102
|
const n = e.cacheKey;
|
|
1103
1103
|
if (n) {
|
|
1104
|
-
const r =
|
|
1105
|
-
return r || (
|
|
1104
|
+
const r = vt[n];
|
|
1105
|
+
return r || (vt[n] = Rt(e));
|
|
1106
1106
|
} else
|
|
1107
1107
|
return Rt(e);
|
|
1108
1108
|
}
|
|
@@ -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 kt;
|
|
1142
1142
|
function fn(e) {
|
|
1143
1143
|
if (Z(e))
|
|
1144
1144
|
return e;
|
|
1145
1145
|
if (me(e)) {
|
|
1146
|
-
if (e.resolvedOnce &&
|
|
1147
|
-
return
|
|
1146
|
+
if (e.resolvedOnce && kt != null)
|
|
1147
|
+
return kt;
|
|
1148
1148
|
if (e.constructor.name === "Function") {
|
|
1149
1149
|
const t = e();
|
|
1150
1150
|
if (Vr(t))
|
|
1151
1151
|
throw Ue(je.NOT_SUPPORT_LOCALE_PROMISE_VALUE);
|
|
1152
|
-
return
|
|
1152
|
+
return kt = t;
|
|
1153
1153
|
} else
|
|
1154
1154
|
throw Ue(je.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION);
|
|
1155
1155
|
} else
|
|
@@ -1177,7 +1177,7 @@ function Hn(e, t, n) {
|
|
|
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 && pe(r); l++) {
|
|
1181
1181
|
const a = t[l];
|
|
1182
1182
|
Z(a) && (r = xs(e, t[l], n));
|
|
1183
1183
|
}
|
|
@@ -1401,7 +1401,7 @@ function Ys(e) {
|
|
|
1401
1401
|
}
|
|
1402
1402
|
function Xs(e) {
|
|
1403
1403
|
const t = [];
|
|
1404
|
-
let n = -1, r = 0, l = 0, a, d, u, i, g,
|
|
1404
|
+
let n = -1, r = 0, l = 0, a, d, u, i, g, y, T;
|
|
1405
1405
|
const N = [];
|
|
1406
1406
|
N[
|
|
1407
1407
|
0
|
|
@@ -1449,21 +1449,21 @@ function Xs(e) {
|
|
|
1449
1449
|
}
|
|
1450
1450
|
for (; r !== null; )
|
|
1451
1451
|
if (n++, a = e[n], !(a === "\\" && F())) {
|
|
1452
|
-
if (i = Bs(a), T = Ze[r], g = T[i] || T.l || 8, g === 8 || (r = g[0], g[1] !== void 0 && (
|
|
1452
|
+
if (i = Bs(a), T = Ze[r], g = T[i] || T.l || 8, g === 8 || (r = g[0], g[1] !== void 0 && (y = N[g[1]], y && (u = a, y() === !1))))
|
|
1453
1453
|
return;
|
|
1454
1454
|
if (r === 7)
|
|
1455
1455
|
return t;
|
|
1456
1456
|
}
|
|
1457
1457
|
}
|
|
1458
|
-
const
|
|
1458
|
+
const vn = /* @__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 = vn.get(t);
|
|
1466
|
+
if (n || (n = Xs(t), n && vn.set(t, n)), !n)
|
|
1467
1467
|
return null;
|
|
1468
1468
|
const r = n.length;
|
|
1469
1469
|
let l = e, a = 0;
|
|
@@ -1475,7 +1475,7 @@ 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", pn = "", hn = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
|
|
1479
1479
|
function Ks() {
|
|
1480
1480
|
return {
|
|
1481
1481
|
upper: (e, t) => t === "text" && Z(e) ? e.toUpperCase() : t === "vnode" && te(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
|
|
@@ -1505,7 +1505,7 @@ const bn = (e) => {
|
|
|
1505
1505
|
}, no = () => Qn;
|
|
1506
1506
|
let gn = 0;
|
|
1507
1507
|
function ro(e = {}) {
|
|
1508
|
-
const t = me(e.onWarn) ? e.onWarn : Gr, n = Z(e.version) ? e.version : Js, r = Z(e.locale) || me(e.locale) ? e.locale : Nt, l = me(r) ? Nt : r, a = be(e.fallbackLocale) || ee(e.fallbackLocale) || Z(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, d = ee(e.messages) ? e.messages :
|
|
1508
|
+
const t = me(e.onWarn) ? e.onWarn : Gr, n = Z(e.version) ? e.version : Js, r = Z(e.locale) || me(e.locale) ? e.locale : Nt, l = me(r) ? Nt : r, a = be(e.fallbackLocale) || ee(e.fallbackLocale) || Z(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l, d = ee(e.messages) ? e.messages : At(l), u = ee(e.datetimeFormats) ? e.datetimeFormats : At(l), i = ee(e.numberFormats) ? e.numberFormats : At(l), g = Ie(oe(), e.modifiers, Ks()), y = e.pluralRules || oe(), T = me(e.missing) ? e.missing : null, N = pe(e.missingWarn) || Et(e.missingWarn) ? e.missingWarn : !0, F = pe(e.fallbackWarn) || Et(e.fallbackWarn) ? e.fallbackWarn : !0, D = !!e.fallbackFormat, R = !!e.unresolving, w = me(e.postTranslation) ? e.postTranslation : null, f = ee(e.processor) ? e.processor : null, h = pe(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, v = te(e.fallbackContext) ? e.fallbackContext : void 0, A = e, L = te(A.__datetimeFormatters) ? A.__datetimeFormatters : /* @__PURE__ */ new Map(), X = te(A.__numberFormatters) ? A.__numberFormatters : /* @__PURE__ */ new Map(), V = te(A.__meta) ? A.__meta : {};
|
|
1509
1509
|
gn++;
|
|
1510
1510
|
const m = {
|
|
1511
1511
|
version: n,
|
|
@@ -1514,7 +1514,7 @@ function ro(e = {}) {
|
|
|
1514
1514
|
fallbackLocale: a,
|
|
1515
1515
|
messages: d,
|
|
1516
1516
|
modifiers: g,
|
|
1517
|
-
pluralRules:
|
|
1517
|
+
pluralRules: y,
|
|
1518
1518
|
missing: T,
|
|
1519
1519
|
missingWarn: N,
|
|
1520
1520
|
fallbackWarn: F,
|
|
@@ -1527,13 +1527,13 @@ function ro(e = {}) {
|
|
|
1527
1527
|
messageCompiler: c,
|
|
1528
1528
|
messageResolver: b,
|
|
1529
1529
|
localeFallbacker: I,
|
|
1530
|
-
fallbackContext:
|
|
1530
|
+
fallbackContext: v,
|
|
1531
1531
|
onWarn: t,
|
|
1532
1532
|
__meta: V
|
|
1533
1533
|
};
|
|
1534
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 At = (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,
|
|
1563
|
-
|
|
1564
|
-
const F = !!
|
|
1562
|
+
const { datetimeFormats: n, unresolving: r, fallbackLocale: l, onWarn: a, localeFallbacker: d } = e, { __datetimeFormatters: u } = e, [i, g, y, T] = jt(...t), N = pe(y.missingWarn) ? y.missingWarn : e.missingWarn;
|
|
1563
|
+
pe(y.fallbackWarn) ? y.fallbackWarn : e.fallbackWarn;
|
|
1564
|
+
const F = !!y.part, D = zt(e, y), R = d(
|
|
1565
1565
|
e,
|
|
1566
1566
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1567
1567
|
l,
|
|
@@ -1628,17 +1628,17 @@ function jt(...e) {
|
|
|
1628
1628
|
qn.includes(i) ? d[i] = n[i] : a[i] = n[i];
|
|
1629
1629
|
}), Z(r) ? a.locale = r : ee(r) && (d = r), ee(l) && (d = l), [a.key || "", u, a, d];
|
|
1630
1630
|
}
|
|
1631
|
-
function
|
|
1631
|
+
function yn(e, t, n) {
|
|
1632
1632
|
const r = e;
|
|
1633
1633
|
for (const l in n) {
|
|
1634
1634
|
const a = `${t}__${l}`;
|
|
1635
1635
|
r.__datetimeFormatters.has(a) && r.__datetimeFormatters.delete(a);
|
|
1636
1636
|
}
|
|
1637
1637
|
}
|
|
1638
|
-
function
|
|
1639
|
-
const { numberFormats: n, unresolving: r, fallbackLocale: l, onWarn: a, localeFallbacker: d } = e, { __numberFormatters: u } = e, [i, g,
|
|
1640
|
-
|
|
1641
|
-
const F = !!
|
|
1638
|
+
function En(e, ...t) {
|
|
1639
|
+
const { numberFormats: n, unresolving: r, fallbackLocale: l, onWarn: a, localeFallbacker: d } = e, { __numberFormatters: u } = e, [i, g, y, T] = Ut(...t), N = pe(y.missingWarn) ? y.missingWarn : e.missingWarn;
|
|
1640
|
+
pe(y.fallbackWarn) ? y.fallbackWarn : e.fallbackWarn;
|
|
1641
|
+
const F = !!y.part, D = zt(e, y), R = d(
|
|
1642
1642
|
e,
|
|
1643
1643
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
1644
1644
|
l,
|
|
@@ -1711,7 +1711,7 @@ function _o(e = {}) {
|
|
|
1711
1711
|
const t = e.locale, n = mo(e), r = te(e.pluralRules) && Z(t) && me(e.pluralRules[t]) ? e.pluralRules[t] : Cn, l = te(e.pluralRules) && Z(t) && me(e.pluralRules[t]) ? Cn : void 0, a = (f) => f[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
|
|
1714
|
+
function y(f, h) {
|
|
1715
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
|
}
|
|
@@ -1723,13 +1723,13 @@ function _o(e = {}) {
|
|
|
1723
1723
|
const [S, c] = h;
|
|
1724
1724
|
let b = "text", I = "";
|
|
1725
1725
|
h.length === 1 ? te(S) ? (I = S.modifier || I, b = S.type || b) : Z(S) && (I = S || I) : h.length === 2 && (Z(S) && (I = S || I), Z(c) && (b = c || b));
|
|
1726
|
-
const
|
|
1726
|
+
const v = y(f, !0)(w), A = (
|
|
1727
1727
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
1728
|
-
b === "vnode" && be(
|
|
1728
|
+
b === "vnode" && be(v) && I ? v[0] : v
|
|
1729
1729
|
);
|
|
1730
|
-
return I ? T(I)(
|
|
1730
|
+
return I ? T(I)(A, b) : A;
|
|
1731
1731
|
},
|
|
1732
|
-
message:
|
|
1732
|
+
message: y,
|
|
1733
1733
|
type: D,
|
|
1734
1734
|
interpolate: F,
|
|
1735
1735
|
normalize: N,
|
|
@@ -1739,22 +1739,22 @@ 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),
|
|
1743
|
-
N &&
|
|
1742
|
+
const { fallbackFormat: n, postTranslation: r, unresolving: l, messageCompiler: a, fallbackLocale: d, messages: u } = e, [i, g] = xt(...t), y = pe(g.missingWarn) ? g.missingWarn : e.missingWarn, T = pe(g.fallbackWarn) ? g.fallbackWarn : e.fallbackWarn, N = pe(g.escapeParameter) ? g.escapeParameter : e.escapeParameter, F = !!g.resolvedMessage, D = Z(g.default) || pe(g.default) ? pe(g.default) ? a ? i : () => i : g.default : n ? a ? i : () => i : null, R = n || D != null && (Z(D) || me(D)), w = zt(e, g);
|
|
1743
|
+
N && vo(g);
|
|
1744
1744
|
let [f, h, S] = F ? [
|
|
1745
1745
|
i,
|
|
1746
1746
|
w,
|
|
1747
1747
|
u[w] || oe()
|
|
1748
|
-
] : tr(e, i, w, d, T,
|
|
1748
|
+
] : tr(e, i, w, d, T, y), c = f, b = i;
|
|
1749
1749
|
if (!F && !(Z(c) || ot(c) || Te(c)) && R && (c = D, b = c), !F && (!(Z(c) || ot(c) || Te(c)) || !Z(h)))
|
|
1750
1750
|
return l ? Ot : i;
|
|
1751
1751
|
let I = !1;
|
|
1752
|
-
const
|
|
1752
|
+
const v = () => {
|
|
1753
1753
|
I = !0;
|
|
1754
|
-
},
|
|
1754
|
+
}, A = Te(c) ? c : nr(e, i, h, c, b, v);
|
|
1755
1755
|
if (I)
|
|
1756
1756
|
return c;
|
|
1757
|
-
const L = bo(e, h, S, g), X = _o(L), V =
|
|
1757
|
+
const L = bo(e, h, S, g), X = _o(L), V = po(e, A, X), m = r ? r(V, i) : V;
|
|
1758
1758
|
if (__INTLIFY_PROD_DEVTOOLS__) {
|
|
1759
1759
|
const C = {
|
|
1760
1760
|
timestamp: Date.now(),
|
|
@@ -1767,17 +1767,17 @@ function On(e, ...t) {
|
|
|
1767
1767
|
}
|
|
1768
1768
|
return m;
|
|
1769
1769
|
}
|
|
1770
|
-
function
|
|
1770
|
+
function vo(e) {
|
|
1771
1771
|
be(e.list) ? e.list = e.list.map((t) => Z(t) ? ln(t) : t) : te(e.named) && Object.keys(e.named).forEach((t) => {
|
|
1772
1772
|
Z(e.named[t]) && (e.named[t] = ln(e.named[t]));
|
|
1773
1773
|
});
|
|
1774
1774
|
}
|
|
1775
1775
|
function tr(e, t, n, r, l, a) {
|
|
1776
|
-
const { messages: d, onWarn: u, messageResolver: i, localeFallbacker: g } = e,
|
|
1776
|
+
const { messages: d, onWarn: u, messageResolver: i, localeFallbacker: g } = e, y = g(e, r, n);
|
|
1777
1777
|
let T = oe(), N, F = null;
|
|
1778
1778
|
const D = "translate";
|
|
1779
|
-
for (let R = 0; R <
|
|
1780
|
-
if (!oo(N,
|
|
1779
|
+
for (let R = 0; R < y.length && (N = y[R], T = d[N] || oe(), (F = i(T, t)) === null && (F = T[t]), !(Z(F) || ot(F) || Te(F))); R++)
|
|
1780
|
+
if (!oo(N, y)) {
|
|
1781
1781
|
const w = Qt(
|
|
1782
1782
|
e,
|
|
1783
1783
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
@@ -1803,7 +1803,7 @@ function nr(e, t, n, r, l, a) {
|
|
|
1803
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 po(e, t, n) {
|
|
1807
1807
|
return t(n);
|
|
1808
1808
|
}
|
|
1809
1809
|
function xt(...e) {
|
|
@@ -1825,15 +1825,15 @@ function ho(e, t, n, r, l, a) {
|
|
|
1825
1825
|
};
|
|
1826
1826
|
}
|
|
1827
1827
|
function bo(e, t, n, r) {
|
|
1828
|
-
const { modifiers: l, pluralRules: a, messageResolver: d, fallbackLocale: u, fallbackWarn: i, missingWarn: g, fallbackContext:
|
|
1828
|
+
const { modifiers: l, pluralRules: a, messageResolver: d, fallbackLocale: u, fallbackWarn: i, missingWarn: g, fallbackContext: y } = e, N = {
|
|
1829
1829
|
locale: t,
|
|
1830
1830
|
modifiers: l,
|
|
1831
1831
|
pluralRules: a,
|
|
1832
1832
|
messages: (F, D) => {
|
|
1833
1833
|
let R = d(n, F);
|
|
1834
|
-
if (R == null && (
|
|
1834
|
+
if (R == null && (y || D)) {
|
|
1835
1835
|
const [, , w] = tr(
|
|
1836
|
-
|
|
1836
|
+
y || e,
|
|
1837
1837
|
// NOTE: if has fallbackContext, fallback to root, else if use linked, fallback to local context
|
|
1838
1838
|
F,
|
|
1839
1839
|
t,
|
|
@@ -1855,9 +1855,9 @@ function bo(e, t, n, r) {
|
|
|
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_071c789d-456f-47d2-994f-757b43921433", 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_071c789d-456f-47d2-994f-757b43921433", 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: "1781", ACTIONS_ORCHESTRATION_ID: "048d3128-e5d9-43f7-aa8b-657762252f7f.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_071c789d-456f-47d2-994f-757b43921433", SWIFT_PATH: "/usr/share/swift/usr/bin", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:13303", 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: "38359677146", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "a0bc996c5a80ed71f34b50e140bfbe82c18ab6dd", 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.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9LREktNTA4Ni1ocm0tc2NoZWR1bGVcIixcIlBlcm1pc3Npb25cIjozfSx7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6MX1dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjZmOTZmYTg5LWI3YmYtNDg3OC1iYWQzLTg5ODAwNjU2NmI2ZSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3OTE4OTY4MzcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc5MTg3NDYzNywiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6IjhlYWRlNGUxLTkxMmUtNWYxOC05ZjNmLTdkYTUxZDA0YTUwNiIsImpvYl93b3JrZmxvd19yZWYiOiJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW4iLCJqb2Jfd29ya2Zsb3dfc2hhIjoiMDlmNzZkOGFjNWU2YTA3MDc1NDI3NDllMWQ1Njg3YmYxZWFkNWYyYyIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc5MTg3NDMzNywib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJqdW4tbGVlLWZlZWRtZVwiLFwiYWN0b3JfaWRcIjpcIjIzOTI4Mjg2MlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCIxMTUxNzA2NTQyNTdcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjA5Zjc2ZDhhYzVlNmEwNzA3NTQyNzQ5ZTFkNTY4N2JmMWVhZDVmMmNcIixcInJlZlwiOlwicmVmcy9oZWFkcy9LREktNTA4Ni1ocm0tc2NoZWR1bGVcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2VcIixcInJlcG9zaXRvcnlfaWRcIjpcIjExMjQ2NzIyMzVcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMzgzNTk2NzcxNDZcIixcInJ1bl9udW1iZXJcIjpcIjE5NlwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcImEwYmM5OTZjNWE4MGVkNzFmMzRiNTBlMTQwYmZiZTgyYzE4YWI2ZGRcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL0tESS01MDg2LWhybS1zY2hlZHVsZVwiLFwid29ya2Zsb3dfc2hhXCI6XCJhMGJjOTk2YzVhODBlZDcxZjM0YjUwZTE0MGJmYmU4MmMxOGFiNmRkXCJ9Iiwib2lkY19zdWIiOiJyZXBvOmZlZWRtZXBvcy9ocm0tc2VydmljZTpyZWY6cmVmcy9oZWFkcy9LREktNTA4Ni1ocm0tc2NoZWR1bGUiLCJvcmNoX2lkIjoiMDQ4ZDMxMjgtZTVkOS00M2Y3LWFhOGItNjU3NzYyMjUyZjdmLnB1Ymxpc2gucHVibGlzaC5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiIwNDhkMzEyOC1lNWQ5LTQzZjctYWE4Yi02NTc3NjIyNTJmN2YiLCJyZXBvc2l0b3J5X2lkIjoiMTEyNDY3MjIzNSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1NDgzMTUxNSIsInJlcG9zaXRvcnlfdmlzaWJpbGl0eSI6InByaXZhdGUiLCJydW5faWQiOiIzODM1OTY3NzE0NiIsInJ1bl9udW1iZXIiOiIxOTYiLCJydW5fdHlwZSI6ImZ1bGwiLCJydW5uZXJfaWQiOiIxMDAwMTk1MzAwIiwicnVubmVyX3R5cGUiOiJob3N0ZWQiLCJzY3AiOiJBY3Rpb25zLlJlc3VsdHM6MDQ4ZDMxMjgtZTVkOS00M2Y3LWFhOGItNjU3NzYyMjUyZjdmOjhlYWRlNGUxLTkxMmUtNWYxOC05ZjNmLTdkYTUxZDA0YTUwNiBBY3Rpb25zLlJ1bm5lcjowNDhkMzEyOC1lNWQ5LTQzZjctYWE4Yi02NTc3NjIyNTJmN2Y6OGVhZGU0ZTEtOTEyZS01ZjE4LTlmM2YtN2RhNTFkMDRhNTA2IEFjdGlvbnMuVXBsb2FkQXJ0aWZhY3RzOjA0OGQzMTI4LWU1ZDktNDNmNy1hYThiLTY1Nzc2MjI1MmY3Zjo4ZWFkZTRlMS05MTJlLTVmMTgtOWYzZi03ZGE1MWQwNGE1MDYgZ2VuZXJhdGVfaWRfdG9rZW46MDQ4ZDMxMjgtZTVkOS00M2Y3LWFhOGItNjU3NzYyMjUyZjdmOjhlYWRlNGUxLTkxMmUtNWYxOC05ZjNmLTdkYTUxZDA0YTUwNiBBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInNoYSI6ImEwYmM5OTZjNWE4MGVkNzFmMzRiNTBlMTQwYmZiZTgyYzE4YWI2ZGQiLCJ0cnVzdF90aWVyIjoiMSJ9.3XqrTv7o_BrCPzWvb4v6IT2Re9Mvb6KKoSgSP9WYxqy9VwG0dJ65VR-BuZKAejTWGfIEn22_nLqAaYDj_raW4tS9rv9Cr4SEOES0agAJptoWBglnnc6rGOWEfmNau42pNNkWcIKHf08DpBLk_5LSfQRZzGzixBiQc1ddQ8rvq5tCG6-fgDIefNo4DAqpc3Rn__EPkKbTiHuzsYe_Iz-lC5YIKB0A19G4z9j6WXRv18wu9zCtm52t0y24cQFrJSmabJU93IRpS0pmR7bZpWBDAVdcbwyKocOMYNF1i3R0RV90LyxK3YopN5ZmQ4suxd4SJ9u1Dqk9xPwIRFZfz0JMeA", 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_98a36ea1-8038-4f7d-aa91-16dbcb7907d7", INVOCATION_ID: "51a79e2c7fb1436eac1b0ab7b5704274", 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: "196", 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 1000195300", 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.13", 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: "a0bc996c5a80ed71f34b50e140bfbe82c18ab6dd", 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_071c789d-456f-47d2-994f-757b43921433", 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/96//idtoken/048d3128-e5d9-43f7-aa8b-657762252f7f/8eade4e1-912e-5f18-9f3f-7da51d04a506?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_071c789d-456f-47d2-994f-757b43921433", 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_071c789d-456f-47d2-994f-757b43921433", 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_071c789d-456f-47d2-994f-757b43921433", 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_c3ce2b32-909c-4a0d-98d4-87908b743917", 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_c3ce2b32-909c-4a0d-98d4-87908b743917", 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: "1873", ACTIONS_ORCHESTRATION_ID: "a122db79-2329-4e6f-876d-6c4e0a7b5990.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_c3ce2b32-909c-4a0d-98d4-87908b743917", SWIFT_PATH: "/usr/share/swift/usr/bin", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:13772", 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: "38527443322", 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.eyJJZGVudGl0eVR5cGVDbGFpbSI6IlN5c3RlbTpTZXJ2aWNlSWRlbnRpdHkiLCJhYyI6Ilt7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9LREktNTA4Ni1ocm0tc2NoZWR1bGVcIixcIlBlcm1pc3Npb25cIjozfSx7XCJTY29wZVwiOlwicmVmcy9oZWFkcy9tYWluXCIsXCJQZXJtaXNzaW9uXCI6MX1dIiwiYWNzbCI6IjEwIiwiYXVkIjoidnNvOjZmOTZmYTg5LWI3YmYtNDg3OC1iYWQzLTg5ODAwNjU2NmI2ZSIsImJpbGxpbmdfb3duZXJfaWQiOiJFX2tnRE9BQUpvWVEiLCJleHAiOjE3OTE5ODQ0OTcsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImlhdCI6MTc5MTk2MjI5NywiaXNzIjoiaHR0cHM6Ly90b2tlbi5hY3Rpb25zLmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImpvYl9pZCI6IjZhMDcyOWNiLWJlMjYtNTVlMi1iNGQ0LWMyMTQ0M2RkOTA5YiIsImpvYl93b3JrZmxvd19yZWYiOiJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW4iLCJqb2Jfd29ya2Zsb3dfc2hhIjoiMDlmNzZkOGFjNWU2YTA3MDc1NDI3NDllMWQ1Njg3YmYxZWFkNWYyYyIsIm5hbWVpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsIm5iZiI6MTc5MTk2MTk5Nywib2lkY19leHRyYSI6IntcImFjdG9yXCI6XCJqdW4tbGVlLWZlZWRtZVwiLFwiYWN0b3JfaWRcIjpcIjIzOTI4Mjg2MlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiY2hlY2tfcnVuX2lkXCI6XCIxMTU3MzEwMzY5OTlcIixcImV2ZW50X25hbWVcIjpcIndvcmtmbG93X2Rpc3BhdGNoXCIsXCJoZWFkX3JlZlwiOlwiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvYWN0aW9ucy8uZ2l0aHViL3dvcmtmbG93cy9wdWJsaXNoLW5wbS1naXRodWIueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjA5Zjc2ZDhhYzVlNmEwNzA3NTQyNzQ5ZTFkNTY4N2JmMWVhZDVmMmNcIixcInJlZlwiOlwicmVmcy9oZWFkcy9LREktNTA4Ni1ocm0tc2NoZWR1bGVcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvaHJtLXNlcnZpY2VcIixcInJlcG9zaXRvcnlfaWRcIjpcIjExMjQ2NzIyMzVcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJ1bl9pZFwiOlwiMzg1Mjc0NDMzMjJcIixcInJ1bl9udW1iZXJcIjpcIjE5OFwiLFwicnVubmVyX2Vudmlyb25tZW50XCI6XCJnaXRodWItaG9zdGVkXCIsXCJzaGFcIjpcImVjMzQ2YjMxMWUxZTg0ZjUwZjgyZjdhN2Q1MGQ3ZjdkZDkxMTFlMzdcIixcIndvcmtmbG93XCI6XCJQdWJsaXNoIGhybS1wb3J0YWxcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL2hybS1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3B1Ymxpc2gtaHJtLXBvcnRhbC10cnVzdGVkLnltbEByZWZzL2hlYWRzL0tESS01MDg2LWhybS1zY2hlZHVsZVwiLFwid29ya2Zsb3dfc2hhXCI6XCJlYzM0NmIzMTFlMWU4NGY1MGY4MmY3YTdkNTBkN2Y3ZGQ5MTExZTM3XCJ9Iiwib2lkY19zdWIiOiJyZXBvOmZlZWRtZXBvcy9ocm0tc2VydmljZTpyZWY6cmVmcy9oZWFkcy9LREktNTA4Ni1ocm0tc2NoZWR1bGUiLCJvcmNoX2lkIjoiYTEyMmRiNzktMjMyOS00ZTZmLTg3NmQtNmM0ZTBhN2I1OTkwLnB1Ymxpc2gucHVibGlzaC5fX2RlZmF1bHQiLCJvd25lcl9pZCI6IkVfa2dET0FBSm9ZUSIsInBsYW5faWQiOiJhMTIyZGI3OS0yMzI5LTRlNmYtODc2ZC02YzRlMGE3YjU5OTAiLCJyZXBvc2l0b3J5X2lkIjoiMTEyNDY3MjIzNSIsInJlcG9zaXRvcnlfb3duZXJfaWQiOiI1NDgzMTUxNSIsInJlcG9zaXRvcnlfdmlzaWJpbGl0eSI6InByaXZhdGUiLCJydW5faWQiOiIzODUyNzQ0MzMyMiIsInJ1bl9udW1iZXIiOiIxOTgiLCJydW5fdHlwZSI6ImZ1bGwiLCJydW5uZXJfaWQiOiIxMDAwMTk3Mjc0IiwicnVubmVyX3R5cGUiOiJob3N0ZWQiLCJzY3AiOiJBY3Rpb25zLlJlc3VsdHM6YTEyMmRiNzktMjMyOS00ZTZmLTg3NmQtNmM0ZTBhN2I1OTkwOjZhMDcyOWNiLWJlMjYtNTVlMi1iNGQ0LWMyMTQ0M2RkOTA5YiBBY3Rpb25zLlJ1bm5lcjphMTIyZGI3OS0yMzI5LTRlNmYtODc2ZC02YzRlMGE3YjU5OTA6NmEwNzI5Y2ItYmUyNi01NWUyLWI0ZDQtYzIxNDQzZGQ5MDliIEFjdGlvbnMuVXBsb2FkQXJ0aWZhY3RzOmExMjJkYjc5LTIzMjktNGU2Zi04NzZkLTZjNGUwYTdiNTk5MDo2YTA3MjljYi1iZTI2LTU1ZTItYjRkNC1jMjE0NDNkZDkwOWIgZ2VuZXJhdGVfaWRfdG9rZW46YTEyMmRiNzktMjMyOS00ZTZmLTg3NmQtNmM0ZTBhN2I1OTkwOjZhMDcyOWNiLWJlMjYtNTVlMi1iNGQ0LWMyMTQ0M2RkOTA5YiBBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCIsInNoYSI6ImVjMzQ2YjMxMWUxZTg0ZjUwZjgyZjdhN2Q1MGQ3ZjdkZDkxMTFlMzciLCJ0cnVzdF90aWVyIjoiMSJ9.XyxoQBi-QdsLF2vthgP9KI7a1I6s_mJi8cUGdxvGMmM9b58TrjzOnRrjt6ovRHRed58Gx6Hix0x-wT0k6AePJ0CmuC7av3ghex4vakQpiOYbaEN6VxmXWgnkFcz43BxUkNPtijHyFXuwa9lAfCFGLU1899NxsMRrIwDXd98dNr3gIDv2SEvFHFuwL9R-C3KbhGHclanCrtFvZW2ycZhXHbEGw6SVUbYAhDt0ypWirv7za1MjnJNZef-uuMi7okWg9rhyilnRag3H55HiCn_58NuZqZUV2NE5tWkf-374Vo_DBsyunxr6igZgtDj0rb3Q5Yxu_7TjyK5nWHadJr6AtQ", 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_72197c2e-44e9-4321-85e1-9e829cfedc09", INVOCATION_ID: "48f213724a0545e8a5f72fc648bfa47d", 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: "198", 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 1000197274", 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.15", 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_c3ce2b32-909c-4a0d-98d4-87908b743917", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", GITHUB_ACTOR_ID: "239282862", RUNNER_WORKSPACE: "/home/runner/work/hrm-service", npm_config_link_workspace_packages: "true", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@10.8.0/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://run-actions-2-azure-eastus.actions.githubusercontent.com/224//idtoken/a122db79-2329-4e6f-876d-6c4e0a7b5990/6a0729cb-be26-55e2-b4d4-c21443dd909b?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_c3ce2b32-909c-4a0d-98d4-87908b743917", 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_c3ce2b32-909c-4a0d-98d4-87908b743917", 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_c3ce2b32-909c-4a0d-98d4-87908b743917", INIT_CWD: "/home/runner/work/hrm-service/hrm-service/apps/hrm-portal", NODE_ENV: "production" } };
|
|
1859
1859
|
const Io = "10.0.5";
|
|
1860
|
-
function
|
|
1860
|
+
function yo() {
|
|
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);
|
|
1862
1862
|
}
|
|
1863
1863
|
const at = {
|
|
@@ -1876,7 +1876,7 @@ const at = {
|
|
|
1876
1876
|
function ut(e, ...t) {
|
|
1877
1877
|
return Tt(e, null, void 0);
|
|
1878
1878
|
}
|
|
1879
|
-
const Vt = /* @__PURE__ */ $e("__translateVNode"), Wt = /* @__PURE__ */ $e("__datetimeParts"), Gt = /* @__PURE__ */ $e("__numberParts"),
|
|
1879
|
+
const Vt = /* @__PURE__ */ $e("__translateVNode"), Wt = /* @__PURE__ */ $e("__datetimeParts"), Gt = /* @__PURE__ */ $e("__numberParts"), Eo = $e("__setPluralRules"), rr = /* @__PURE__ */ $e("__injectWithOption"), Zt = /* @__PURE__ */ $e("__dispose");
|
|
1880
1880
|
function dt(e) {
|
|
1881
1881
|
if (!te(e))
|
|
1882
1882
|
return e;
|
|
@@ -1903,9 +1903,9 @@ function sr(e, t) {
|
|
|
1903
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
|
-
i ? (d[i] = d[i] || oe(),
|
|
1906
|
+
i ? (d[i] = d[i] || oe(), yt(g, d[i])) : yt(g, d);
|
|
1907
1907
|
} else
|
|
1908
|
-
Z(u) &&
|
|
1908
|
+
Z(u) && yt(JSON.parse(u), d);
|
|
1909
1909
|
}), l == null && a)
|
|
1910
1910
|
for (const u in d)
|
|
1911
1911
|
Le(d, u) && dt(d[u]);
|
|
@@ -1943,8 +1943,8 @@ function Sn(e) {
|
|
|
1943
1943
|
return ue(fr, null, e, 0);
|
|
1944
1944
|
}
|
|
1945
1945
|
const Ln = "__INTLIFY_META__", Rn = () => [], Co = () => !1;
|
|
1946
|
-
let
|
|
1947
|
-
function
|
|
1946
|
+
let kn = 0;
|
|
1947
|
+
function An(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,20 +1954,20 @@ 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 = pe(e.inheritLocale) ? e.inheritLocale : !0;
|
|
1958
1958
|
const u = a(
|
|
1959
1959
|
// prettier-ignore
|
|
1960
1960
|
t && d ? t.locale.value : Z(e.locale) ? e.locale : Nt
|
|
1961
1961
|
), i = a(
|
|
1962
1962
|
// prettier-ignore
|
|
1963
1963
|
t && d ? t.fallbackLocale.value : Z(e.fallbackLocale) || be(e.fallbackLocale) || ee(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : u.value
|
|
1964
|
-
), g = a(sr(u.value, e)),
|
|
1965
|
-
let N = t ? t.missingWarn :
|
|
1964
|
+
), g = a(sr(u.value, e)), y = a(ee(e.datetimeFormats) ? e.datetimeFormats : { [u.value]: {} }), T = a(ee(e.numberFormats) ? e.numberFormats : { [u.value]: {} });
|
|
1965
|
+
let N = t ? t.missingWarn : pe(e.missingWarn) || Et(e.missingWarn) ? e.missingWarn : !0, F = t ? t.fallbackWarn : pe(e.fallbackWarn) || Et(e.fallbackWarn) ? e.fallbackWarn : !0, D = t ? t.fallbackRoot : pe(e.fallbackRoot) ? e.fallbackRoot : !0, R = !!e.fallbackFormat, w = me(e.missing) ? e.missing : null, f = me(e.missing) ? An(e.missing) : null, h = me(e.postTranslation) ? e.postTranslation : null, S = t ? t.warnHtmlMessage : pe(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, c = !!e.escapeParameter;
|
|
1966
1966
|
const b = t ? t.modifiers : ee(e.modifiers) ? e.modifiers : {};
|
|
1967
|
-
let I = e.pluralRules || t && t.pluralRules,
|
|
1968
|
-
|
|
1967
|
+
let I = e.pluralRules || t && t.pluralRules, v;
|
|
1968
|
+
v = (() => {
|
|
1969
1969
|
r && bn(null);
|
|
1970
|
-
const
|
|
1970
|
+
const p = {
|
|
1971
1971
|
version: Io,
|
|
1972
1972
|
locale: u.value,
|
|
1973
1973
|
fallbackLocale: i.value,
|
|
@@ -1986,53 +1986,53 @@ function Oo(e = {}) {
|
|
|
1986
1986
|
messageCompiler: e.messageCompiler,
|
|
1987
1987
|
__meta: { framework: "vue" }
|
|
1988
1988
|
};
|
|
1989
|
-
|
|
1990
|
-
const
|
|
1991
|
-
return r && bn(
|
|
1992
|
-
})(), lt(
|
|
1989
|
+
p.datetimeFormats = y.value, p.numberFormats = T.value, p.__datetimeFormatters = ee(v) ? v.__datetimeFormatters : void 0, p.__numberFormatters = ee(v) ? v.__numberFormatters : void 0;
|
|
1990
|
+
const E = ro(p);
|
|
1991
|
+
return r && bn(E), E;
|
|
1992
|
+
})(), lt(v, u.value, i.value);
|
|
1993
1993
|
function L() {
|
|
1994
1994
|
return [
|
|
1995
1995
|
u.value,
|
|
1996
1996
|
i.value,
|
|
1997
1997
|
g.value,
|
|
1998
|
-
|
|
1998
|
+
y.value,
|
|
1999
1999
|
T.value
|
|
2000
2000
|
];
|
|
2001
2001
|
}
|
|
2002
2002
|
const X = z({
|
|
2003
2003
|
get: () => u.value,
|
|
2004
|
-
set: (
|
|
2005
|
-
u.value =
|
|
2004
|
+
set: (p) => {
|
|
2005
|
+
u.value = p, v.locale = u.value;
|
|
2006
2006
|
}
|
|
2007
2007
|
}), V = z({
|
|
2008
2008
|
get: () => i.value,
|
|
2009
|
-
set: (
|
|
2010
|
-
i.value =
|
|
2009
|
+
set: (p) => {
|
|
2010
|
+
i.value = p, v.fallbackLocale = i.value, lt(v, u.value, p);
|
|
2011
2011
|
}
|
|
2012
|
-
}), m = z(() => g.value), C = /* @__PURE__ */ z(() =>
|
|
2012
|
+
}), m = z(() => g.value), C = /* @__PURE__ */ z(() => y.value), U = /* @__PURE__ */ z(() => T.value);
|
|
2013
2013
|
function x() {
|
|
2014
2014
|
return me(h) ? h : null;
|
|
2015
2015
|
}
|
|
2016
|
-
function j(
|
|
2017
|
-
h =
|
|
2016
|
+
function j(p) {
|
|
2017
|
+
h = p, v.postTranslation = p;
|
|
2018
2018
|
}
|
|
2019
2019
|
function G() {
|
|
2020
2020
|
return w;
|
|
2021
2021
|
}
|
|
2022
|
-
function W(
|
|
2023
|
-
|
|
2022
|
+
function W(p) {
|
|
2023
|
+
p !== null && (f = An(p)), w = p, v.missing = f;
|
|
2024
2024
|
}
|
|
2025
|
-
const B = (
|
|
2025
|
+
const B = (p, E, $, 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 || (v.fallbackContext = t ? no() : void 0), ze = p(v);
|
|
2030
2030
|
} finally {
|
|
2031
|
-
__INTLIFY_PROD_DEVTOOLS__, r || (
|
|
2031
|
+
__INTLIFY_PROD_DEVTOOLS__, r || (v.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) {
|
|
2035
|
-
const [cr,
|
|
2035
|
+
const [cr, Ea] = E();
|
|
2036
2036
|
return t && D ? le(t) : Ye(cr);
|
|
2037
2037
|
} else {
|
|
2038
2038
|
if (mt(ze))
|
|
@@ -2040,126 +2040,126 @@ function Oo(e = {}) {
|
|
|
2040
2040
|
throw ut(at.UNEXPECTED_RETURN_TYPE);
|
|
2041
2041
|
}
|
|
2042
2042
|
};
|
|
2043
|
-
function Y(...
|
|
2044
|
-
return B((
|
|
2043
|
+
function Y(...p) {
|
|
2044
|
+
return B((E) => Reflect.apply(On, null, [E, ...p]), () => xt(...p), "translate", (E) => Reflect.apply(E.t, E, [...p]), (E) => E, (E) => Z(E));
|
|
2045
2045
|
}
|
|
2046
|
-
function ne(...
|
|
2047
|
-
const [
|
|
2046
|
+
function ne(...p) {
|
|
2047
|
+
const [E, $, le] = p;
|
|
2048
2048
|
if (le && !te(le))
|
|
2049
2049
|
throw ut(at.INVALID_ARGUMENT);
|
|
2050
|
-
return Y(
|
|
2050
|
+
return Y(E, $, Ie({ resolvedMessage: !0 }, le || {}));
|
|
2051
2051
|
}
|
|
2052
|
-
function Q(...
|
|
2053
|
-
return B((
|
|
2052
|
+
function Q(...p) {
|
|
2053
|
+
return B((E) => Reflect.apply(In, null, [E, ...p]), () => jt(...p), "datetime format", (E) => Reflect.apply(E.d, E, [...p]), () => pn, (E) => Z(E));
|
|
2054
2054
|
}
|
|
2055
|
-
function _e(...
|
|
2056
|
-
return B((
|
|
2055
|
+
function _e(...p) {
|
|
2056
|
+
return B((E) => Reflect.apply(En, null, [E, ...p]), () => Ut(...p), "number format", (E) => Reflect.apply(E.n, E, [...p]), () => pn, (E) => Z(E));
|
|
2057
2057
|
}
|
|
2058
|
-
function ce(
|
|
2059
|
-
return
|
|
2058
|
+
function ce(p) {
|
|
2059
|
+
return p.map((E) => Z(E) || ge(E) || pe(E) ? Sn(String(E)) : E);
|
|
2060
2060
|
}
|
|
2061
2061
|
const fe = {
|
|
2062
2062
|
normalize: ce,
|
|
2063
|
-
interpolate: (
|
|
2063
|
+
interpolate: (p) => p,
|
|
2064
2064
|
type: "vnode"
|
|
2065
2065
|
};
|
|
2066
|
-
function q(...
|
|
2067
|
-
return B((
|
|
2066
|
+
function q(...p) {
|
|
2067
|
+
return B((E) => {
|
|
2068
2068
|
let $;
|
|
2069
|
-
const le =
|
|
2069
|
+
const le = E;
|
|
2070
2070
|
try {
|
|
2071
|
-
le.processor = fe, $ = Reflect.apply(On, null, [le, ...
|
|
2071
|
+
le.processor = fe, $ = Reflect.apply(On, null, [le, ...p]);
|
|
2072
2072
|
} finally {
|
|
2073
2073
|
le.processor = null;
|
|
2074
2074
|
}
|
|
2075
2075
|
return $;
|
|
2076
|
-
}, () => xt(...
|
|
2076
|
+
}, () => xt(...p), "translate", (E) => E[Vt](...p), (E) => [Sn(E)], (E) => be(E));
|
|
2077
2077
|
}
|
|
2078
|
-
function we(...
|
|
2079
|
-
return B((
|
|
2078
|
+
function we(...p) {
|
|
2079
|
+
return B((E) => Reflect.apply(En, null, [E, ...p]), () => Ut(...p), "number format", (E) => E[Gt](...p), Rn, (E) => Z(E) || be(E));
|
|
2080
2080
|
}
|
|
2081
|
-
function K(...
|
|
2082
|
-
return B((
|
|
2081
|
+
function K(...p) {
|
|
2082
|
+
return B((E) => Reflect.apply(In, null, [E, ...p]), () => jt(...p), "datetime format", (E) => E[Wt](...p), Rn, (E) => Z(E) || be(E));
|
|
2083
2083
|
}
|
|
2084
|
-
function
|
|
2085
|
-
I =
|
|
2084
|
+
function ve(p) {
|
|
2085
|
+
I = p, v.pluralRules = I;
|
|
2086
2086
|
}
|
|
2087
|
-
function Je(
|
|
2087
|
+
function Je(p, E) {
|
|
2088
2088
|
return B(() => {
|
|
2089
|
-
if (!
|
|
2089
|
+
if (!p)
|
|
2090
2090
|
return !1;
|
|
2091
|
-
const $ = Z(
|
|
2091
|
+
const $ = Z(E) ? E : u.value, le = Fe($), Ye = v.messageResolver(le, p);
|
|
2092
2092
|
return ot(Ye) || Te(Ye) || Z(Ye);
|
|
2093
|
-
}, () => [
|
|
2093
|
+
}, () => [p], "translate exists", ($) => Reflect.apply($.te, $, [p, E]), Co, ($) => pe($));
|
|
2094
2094
|
}
|
|
2095
|
-
function Ke(
|
|
2096
|
-
let
|
|
2097
|
-
const $ = Hn(
|
|
2095
|
+
function Ke(p) {
|
|
2096
|
+
let E = null;
|
|
2097
|
+
const $ = Hn(v, 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 = v.messageResolver(Ye, p);
|
|
2100
2100
|
if (mt != null) {
|
|
2101
|
-
|
|
2101
|
+
E = mt;
|
|
2102
2102
|
break;
|
|
2103
2103
|
}
|
|
2104
2104
|
}
|
|
2105
|
-
return
|
|
2105
|
+
return E;
|
|
2106
2106
|
}
|
|
2107
|
-
function xe(
|
|
2108
|
-
const
|
|
2109
|
-
return
|
|
2107
|
+
function xe(p) {
|
|
2108
|
+
const E = Ke(p);
|
|
2109
|
+
return E ?? (t ? t.tm(p) || {} : {});
|
|
2110
2110
|
}
|
|
2111
|
-
function Fe(
|
|
2112
|
-
return g.value[
|
|
2111
|
+
function Fe(p) {
|
|
2112
|
+
return g.value[p] || {};
|
|
2113
2113
|
}
|
|
2114
|
-
function Ce(
|
|
2114
|
+
function Ce(p, E) {
|
|
2115
2115
|
if (l) {
|
|
2116
|
-
const $ = { [
|
|
2116
|
+
const $ = { [p]: E };
|
|
2117
2117
|
for (const le in $)
|
|
2118
2118
|
Le($, le) && dt($[le]);
|
|
2119
|
-
|
|
2119
|
+
E = $[p];
|
|
2120
2120
|
}
|
|
2121
|
-
g.value[
|
|
2121
|
+
g.value[p] = E, v.messages = g.value;
|
|
2122
2122
|
}
|
|
2123
|
-
function Be(
|
|
2124
|
-
g.value[
|
|
2125
|
-
const $ = { [
|
|
2123
|
+
function Be(p, E) {
|
|
2124
|
+
g.value[p] = g.value[p] || {};
|
|
2125
|
+
const $ = { [p]: E };
|
|
2126
2126
|
if (l)
|
|
2127
2127
|
for (const le in $)
|
|
2128
2128
|
Le($, le) && dt($[le]);
|
|
2129
|
-
|
|
2129
|
+
E = $[p], yt(E, g.value[p]), v.messages = g.value;
|
|
2130
2130
|
}
|
|
2131
|
-
function O(
|
|
2132
|
-
return
|
|
2131
|
+
function O(p) {
|
|
2132
|
+
return y.value[p] || {};
|
|
2133
2133
|
}
|
|
2134
|
-
function s(
|
|
2135
|
-
|
|
2134
|
+
function s(p, E) {
|
|
2135
|
+
y.value[p] = E, v.datetimeFormats = y.value, yn(v, p, E);
|
|
2136
2136
|
}
|
|
2137
|
-
function o(
|
|
2138
|
-
|
|
2137
|
+
function o(p, E) {
|
|
2138
|
+
y.value[p] = Ie(y.value[p] || {}, E), v.datetimeFormats = y.value, yn(v, p, E);
|
|
2139
2139
|
}
|
|
2140
|
-
function _(
|
|
2141
|
-
return T.value[
|
|
2140
|
+
function _(p) {
|
|
2141
|
+
return T.value[p] || {};
|
|
2142
2142
|
}
|
|
2143
|
-
function
|
|
2144
|
-
T.value[
|
|
2143
|
+
function k(p, E) {
|
|
2144
|
+
T.value[p] = E, v.numberFormats = T.value, Nn(v, p, E);
|
|
2145
2145
|
}
|
|
2146
|
-
function M(
|
|
2147
|
-
T.value[
|
|
2146
|
+
function M(p, E) {
|
|
2147
|
+
T.value[p] = Ie(T.value[p] || {}, E), v.numberFormats = T.value, Nn(v, p, E);
|
|
2148
2148
|
}
|
|
2149
|
-
|
|
2150
|
-
d && (u.value =
|
|
2151
|
-
}), Dt(t.fallbackLocale, (
|
|
2152
|
-
d && (i.value =
|
|
2149
|
+
kn++, t && on && (Dt(t.locale, (p) => {
|
|
2150
|
+
d && (u.value = p, v.locale = p, lt(v, u.value, i.value));
|
|
2151
|
+
}), Dt(t.fallbackLocale, (p) => {
|
|
2152
|
+
d && (i.value = p, v.fallbackLocale = p, lt(v, u.value, i.value));
|
|
2153
2153
|
}));
|
|
2154
2154
|
const P = {
|
|
2155
|
-
id:
|
|
2155
|
+
id: kn,
|
|
2156
2156
|
locale: X,
|
|
2157
2157
|
fallbackLocale: V,
|
|
2158
2158
|
get inheritLocale() {
|
|
2159
2159
|
return d;
|
|
2160
2160
|
},
|
|
2161
|
-
set inheritLocale(
|
|
2162
|
-
d =
|
|
2161
|
+
set inheritLocale(p) {
|
|
2162
|
+
d = p, p && t && (u.value = t.locale.value, i.value = t.fallbackLocale.value, lt(v, u.value, i.value));
|
|
2163
2163
|
},
|
|
2164
2164
|
get availableLocales() {
|
|
2165
2165
|
return Object.keys(g.value).sort();
|
|
@@ -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(p) {
|
|
2181
|
+
N = p, v.missingWarn = N;
|
|
2182
2182
|
},
|
|
2183
2183
|
get fallbackWarn() {
|
|
2184
2184
|
return F;
|
|
2185
2185
|
},
|
|
2186
|
-
set fallbackWarn(
|
|
2187
|
-
F =
|
|
2186
|
+
set fallbackWarn(p) {
|
|
2187
|
+
F = p, v.fallbackWarn = F;
|
|
2188
2188
|
},
|
|
2189
2189
|
get fallbackRoot() {
|
|
2190
2190
|
return D;
|
|
2191
2191
|
},
|
|
2192
|
-
set fallbackRoot(
|
|
2193
|
-
D =
|
|
2192
|
+
set fallbackRoot(p) {
|
|
2193
|
+
D = p;
|
|
2194
2194
|
},
|
|
2195
2195
|
get fallbackFormat() {
|
|
2196
2196
|
return R;
|
|
2197
2197
|
},
|
|
2198
|
-
set fallbackFormat(
|
|
2199
|
-
R =
|
|
2198
|
+
set fallbackFormat(p) {
|
|
2199
|
+
R = p, v.fallbackFormat = R;
|
|
2200
2200
|
},
|
|
2201
2201
|
get warnHtmlMessage() {
|
|
2202
2202
|
return S;
|
|
2203
2203
|
},
|
|
2204
|
-
set warnHtmlMessage(
|
|
2205
|
-
S =
|
|
2204
|
+
set warnHtmlMessage(p) {
|
|
2205
|
+
S = p, v.warnHtmlMessage = p;
|
|
2206
2206
|
},
|
|
2207
2207
|
get escapeParameter() {
|
|
2208
2208
|
return c;
|
|
2209
2209
|
},
|
|
2210
|
-
set escapeParameter(
|
|
2211
|
-
c =
|
|
2210
|
+
set escapeParameter(p) {
|
|
2211
|
+
c = p, v.escapeParameter = p;
|
|
2212
2212
|
},
|
|
2213
2213
|
t: Y,
|
|
2214
2214
|
getLocaleMessage: Fe,
|
|
@@ -2218,9 +2218,9 @@ function Oo(e = {}) {
|
|
|
2218
2218
|
setPostTranslationHandler: j,
|
|
2219
2219
|
getMissingHandler: G,
|
|
2220
2220
|
setMissingHandler: W,
|
|
2221
|
-
[
|
|
2221
|
+
[Eo]: ve
|
|
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 = k, P.mergeNumberFormat = M, P[rr] = n, P[Vt] = q, P[Wt] = K, P[Gt] = 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 === Ae ? 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 Ae;
|
|
2255
2255
|
}
|
|
2256
2256
|
Ie({
|
|
2257
2257
|
keypath: {
|
|
@@ -2278,8 +2278,8 @@ function lr(e, t, n, r) {
|
|
|
2278
2278
|
const D = l[N.type], R = D ? D({ [N.type]: N.value, index: F, parts: i }) : [N.value];
|
|
2279
2279
|
return Lo(R) && (R[0].key = `${N.type}-${F}`), R;
|
|
2280
2280
|
}) : Z(i) && (g = [i]);
|
|
2281
|
-
const
|
|
2282
|
-
return Wn(T,
|
|
2281
|
+
const y = Ie(oe(), a), T = Z(e.tag) || te(e.tag) ? e.tag : ar();
|
|
2282
|
+
return Wn(T, y, g);
|
|
2283
2283
|
};
|
|
2284
2284
|
}
|
|
2285
2285
|
Ie({
|
|
@@ -2307,7 +2307,7 @@ function St(e = {}) {
|
|
|
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 = ko(t), r = Mo(n), l = or(t), a = Ao(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
|
|
2325
|
+
function ko(e) {
|
|
2326
2326
|
const t = ur(e.isCE ? Ro : 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 Ao(e, t) {
|
|
2332
2332
|
return Ct(e) ? "__i18n" in t ? "local" : "global" : e.useScope ? e.useScope : "local";
|
|
2333
2333
|
}
|
|
2334
2334
|
function Mo(e) {
|
|
@@ -2364,7 +2364,7 @@ function Fo(e, t, n) {
|
|
|
2364
2364
|
l && (l(), delete r[Zt]);
|
|
2365
2365
|
}, t);
|
|
2366
2366
|
}
|
|
2367
|
-
|
|
2367
|
+
yo();
|
|
2368
2368
|
zs(Ms);
|
|
2369
2369
|
Qs($s);
|
|
2370
2370
|
qs(Hn);
|
|
@@ -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 pt = /* @__PURE__ */ Re({
|
|
2376
2376
|
__name: "InheritPermissionTooltip",
|
|
2377
2377
|
props: {
|
|
2378
2378
|
item: {
|
|
@@ -2391,7 +2391,7 @@ const vt = /* @__PURE__ */ Re({
|
|
|
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(Ae, null, Ee(e.item.setNames, (d) => (J(), ie("div", { key: d }, [
|
|
2395
2395
|
ae("div", null, "- " + Oe(d), 1)
|
|
2396
2396
|
]))), 128))
|
|
2397
2397
|
]),
|
|
@@ -2450,24 +2450,24 @@ function jo(e, t, n, r) {
|
|
|
2450
2450
|
}).map((G) => {
|
|
2451
2451
|
const W = m.get(G), B = l(`permissionSet.categoryLabels.${G}`, G), Y = /* @__PURE__ */ new Map();
|
|
2452
2452
|
for (const K of W) {
|
|
2453
|
-
const
|
|
2454
|
-
|
|
2453
|
+
const ve = C.get(K.value);
|
|
2454
|
+
ve && Y.set(K.value, ve.actions);
|
|
2455
2455
|
}
|
|
2456
2456
|
const ne = W.some((K) => {
|
|
2457
|
-
const
|
|
2458
|
-
return
|
|
2457
|
+
const ve = Y.get(K.value);
|
|
2458
|
+
return ve && ve.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
|
-
W.some((
|
|
2465
|
+
W.some((ve) => ve.value === K.subject) && !K.inverted && _e.set(K.subject, new Set(K.actions));
|
|
2466
2466
|
const ce = ne ? e.value.filter(
|
|
2467
|
-
(K) => W.some((
|
|
2468
|
-
).map((K) => K.subject) : e.value.filter((K) => W.some((
|
|
2469
|
-
var
|
|
2470
|
-
return (
|
|
2467
|
+
(K) => W.some((ve) => ve.value === K.subject) && !K.inverted && K.actions.includes("manage")
|
|
2468
|
+
).map((K) => K.subject) : e.value.filter((K) => W.some((ve) => ve.value === K.subject) && !K.inverted).map((K) => K.subject), se = W.find((K) => {
|
|
2469
|
+
var ve;
|
|
2470
|
+
return (ve = C.get(K.value)) == null ? void 0 : ve.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: G,
|
|
@@ -2507,17 +2507,17 @@ function jo(e, t, n, r) {
|
|
|
2507
2507
|
function g(m, C) {
|
|
2508
2508
|
return F(m, C) || c(m, C);
|
|
2509
2509
|
}
|
|
2510
|
-
function
|
|
2510
|
+
function y(m) {
|
|
2511
2511
|
return m.options.length > 0 && m.options.every((C) => g(m, C.value));
|
|
2512
2512
|
}
|
|
2513
2513
|
function T(m) {
|
|
2514
|
-
return m.options.length === 0 ||
|
|
2514
|
+
return m.options.length === 0 || y(m) ? !1 : m.options.some(
|
|
2515
2515
|
(C) => g(m, C.value) || D(m, C.value).length > 0
|
|
2516
2516
|
);
|
|
2517
2517
|
}
|
|
2518
2518
|
function N(m) {
|
|
2519
2519
|
const C = new Set(m.options.map((x) => x.value)), U = e.value.filter((x) => !C.has(x.subject));
|
|
2520
|
-
if (
|
|
2520
|
+
if (y(m))
|
|
2521
2521
|
r("update:model-value", U);
|
|
2522
2522
|
else {
|
|
2523
2523
|
const x = /* @__PURE__ */ new Map();
|
|
@@ -2595,7 +2595,7 @@ function jo(e, t, n, r) {
|
|
|
2595
2595
|
const x = m.permissionActionsMap.get(C);
|
|
2596
2596
|
return x ? x.includes(U) : !1;
|
|
2597
2597
|
}
|
|
2598
|
-
function
|
|
2598
|
+
function v(m, C, U) {
|
|
2599
2599
|
const x = [...e.value], j = x.findIndex((W) => W.subject === m && !W.inverted);
|
|
2600
2600
|
if (U)
|
|
2601
2601
|
if (j >= 0) {
|
|
@@ -2625,7 +2625,7 @@ function jo(e, t, n, r) {
|
|
|
2625
2625
|
const G = t.value.find((W) => W.subject === m);
|
|
2626
2626
|
G && Mn(x, m, G.actions), r("update:model-value", x);
|
|
2627
2627
|
}
|
|
2628
|
-
function
|
|
2628
|
+
function A(m, C) {
|
|
2629
2629
|
const U = m.options.filter(
|
|
2630
2630
|
(x) => I(m, x.value, C)
|
|
2631
2631
|
);
|
|
@@ -2685,7 +2685,7 @@ function jo(e, t, n, r) {
|
|
|
2685
2685
|
return {
|
|
2686
2686
|
categoryGroups: u,
|
|
2687
2687
|
toggleCategory: i,
|
|
2688
|
-
isAllManageChecked:
|
|
2688
|
+
isAllManageChecked: y,
|
|
2689
2689
|
isAllManageIndeterminate: T,
|
|
2690
2690
|
toggleAllManage: N,
|
|
2691
2691
|
isManageChecked: F,
|
|
@@ -2696,8 +2696,8 @@ function jo(e, t, n, r) {
|
|
|
2696
2696
|
isRowFullyCoveredByCover: c,
|
|
2697
2697
|
isActionCoveredByCover: b,
|
|
2698
2698
|
permissionDefinesAction: I,
|
|
2699
|
-
toggleAction:
|
|
2700
|
-
isAllActionChecked:
|
|
2699
|
+
toggleAction: v,
|
|
2700
|
+
isAllActionChecked: A,
|
|
2701
2701
|
isAllActionIndeterminate: L,
|
|
2702
2702
|
toggleAllAction: X,
|
|
2703
2703
|
actionLabel: V
|
|
@@ -2730,7 +2730,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
2730
2730
|
isAllManageChecked: u,
|
|
2731
2731
|
isAllManageIndeterminate: i,
|
|
2732
2732
|
toggleAllManage: g,
|
|
2733
|
-
isManageChecked:
|
|
2733
|
+
isManageChecked: y,
|
|
2734
2734
|
isManageIndeterminate: T,
|
|
2735
2735
|
toggleManage: N,
|
|
2736
2736
|
isActionChecked: F,
|
|
@@ -2746,21 +2746,21 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
2746
2746
|
en(n, "modelValue"),
|
|
2747
2747
|
a,
|
|
2748
2748
|
en(n, "excludedSubjects"),
|
|
2749
|
-
(
|
|
2749
|
+
(A, L) => r("update:model-value", L)
|
|
2750
2750
|
);
|
|
2751
|
-
function I(
|
|
2752
|
-
const L =
|
|
2751
|
+
function I(A) {
|
|
2752
|
+
const L = A.selectedSubjects.length;
|
|
2753
2753
|
return L === 0 ? "" : l("team.memberForm.permissions.allowedCount", { count: L });
|
|
2754
2754
|
}
|
|
2755
|
-
function
|
|
2756
|
-
return
|
|
2757
|
-
(X) => w(
|
|
2755
|
+
function v(A, L) {
|
|
2756
|
+
return y(A, L) || D(A, L) ? !0 : A.actionColumns.some(
|
|
2757
|
+
(X) => w(A, L, X) && (F(A, L, X) || R(A, L, X))
|
|
2758
2758
|
);
|
|
2759
2759
|
}
|
|
2760
|
-
return (
|
|
2760
|
+
return (A, L) => {
|
|
2761
2761
|
const X = De("FmCheckbox");
|
|
2762
2762
|
return J(), ie("div", Uo, [
|
|
2763
|
-
(J(!0), ie(
|
|
2763
|
+
(J(!0), ie(Ae, null, Ee(H(d), (V) => (J(), Ne(Xt, {
|
|
2764
2764
|
key: V.category,
|
|
2765
2765
|
subtitle: I(V)
|
|
2766
2766
|
}, {
|
|
@@ -2777,7 +2777,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
2777
2777
|
}, [
|
|
2778
2778
|
L[0] || (L[0] = ae("div", null, null, -1)),
|
|
2779
2779
|
ae("div", Wo, Oe(H(l)("team.memberForm.permissions.columnManage")), 1),
|
|
2780
|
-
(J(!0), ie(
|
|
2780
|
+
(J(!0), ie(Ae, null, Ee(V.actionColumns, (m) => (J(), ie("div", {
|
|
2781
2781
|
key: `header-${m}`,
|
|
2782
2782
|
class: "text-center text-sm font-semibold text-fm-color-typo-primary"
|
|
2783
2783
|
}, Oe(H(b)(m)), 1))), 128))
|
|
@@ -2803,7 +2803,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
2803
2803
|
"onUpdate:modelValue": (m) => H(g)(V)
|
|
2804
2804
|
}, null, 8, ["model-value", "indeterminate", "disabled", "onUpdate:modelValue"])
|
|
2805
2805
|
]),
|
|
2806
|
-
(J(!0), ie(
|
|
2806
|
+
(J(!0), ie(Ae, null, Ee(V.actionColumns, (m) => (J(), ie("div", {
|
|
2807
2807
|
key: `all-${m}`,
|
|
2808
2808
|
class: "flex justify-center"
|
|
2809
2809
|
}, [
|
|
@@ -2819,7 +2819,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
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(Ae, null, Ee(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({
|
|
@@ -2830,22 +2830,22 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
2830
2830
|
ae("span", {
|
|
2831
2831
|
class: "block truncate cursor-pointer",
|
|
2832
2832
|
title: m.label,
|
|
2833
|
-
onClick: (C) => !e.disable && !H(D)(V, m.value) && H(N)(V, m.value, !H(
|
|
2833
|
+
onClick: (C) => !e.disable && !H(D)(V, m.value) && H(N)(V, m.value, !H(y)(V, m.value))
|
|
2834
2834
|
}, Oe(m.label), 9, Yo),
|
|
2835
|
-
Se(
|
|
2835
|
+
Se(A.$slots, `checkbox-${m.value}-append`, {
|
|
2836
2836
|
option: m,
|
|
2837
|
-
isEffectiveSelected:
|
|
2837
|
+
isEffectiveSelected: v(V, m.value),
|
|
2838
2838
|
isCoveredByCover: H(D)(V, m.value) || V.actionColumns.some((C) => H(R)(V, m.value, C))
|
|
2839
2839
|
}),
|
|
2840
|
-
Se(
|
|
2840
|
+
Se(A.$slots, `checkbox-${m.value}-icon`, {
|
|
2841
2841
|
option: m,
|
|
2842
|
-
isEffectiveSelected:
|
|
2842
|
+
isEffectiveSelected: v(V, m.value),
|
|
2843
2843
|
isCoveredByCover: H(D)(V, m.value) || V.actionColumns.some((C) => H(R)(V, m.value, C))
|
|
2844
2844
|
})
|
|
2845
2845
|
]),
|
|
2846
2846
|
ae("div", Xo, [
|
|
2847
2847
|
ue(X, {
|
|
2848
|
-
"model-value": H(
|
|
2848
|
+
"model-value": H(y)(V, m.value) || H(D)(V, m.value),
|
|
2849
2849
|
value: m.value,
|
|
2850
2850
|
disabled: e.disable || H(D)(V, m.value),
|
|
2851
2851
|
indeterminate: H(T)(V, m.value),
|
|
@@ -2853,7 +2853,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
2853
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(Ae, null, Ee(V.actionColumns, (C) => (J(), ie("div", {
|
|
2857
2857
|
key: `${m.optionKey}-${C}`,
|
|
2858
2858
|
class: "flex justify-center"
|
|
2859
2859
|
}, [
|
|
@@ -2974,13 +2974,13 @@ 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 =
|
|
2977
|
+
const n = e, r = t, { t: l } = He(), a = rt(!1), d = vr(), 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-${Rr(6)}`, g = z(() => u.value !== !0), y = z(
|
|
2978
2978
|
() => n.modelValue.filter((R) => n.options.some((w) => w.value === R))
|
|
2979
2979
|
), T = z(
|
|
2980
2980
|
() => typeof n.showAllToggle == "boolean" ? l("team.labels.all") : n.showAllToggle
|
|
2981
|
-
), N = z(() => n.options.length > 0 && n.options.length ===
|
|
2981
|
+
), N = z(() => n.options.length > 0 && n.options.length === y.value.length);
|
|
2982
2982
|
function F() {
|
|
2983
|
-
const R = n.modelValue.filter((w) => !
|
|
2983
|
+
const R = n.modelValue.filter((w) => !y.value.includes(w));
|
|
2984
2984
|
if (N.value === !0)
|
|
2985
2985
|
r("update:model-value", R);
|
|
2986
2986
|
else {
|
|
@@ -3014,7 +3014,7 @@ 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(
|
|
3017
|
+
(J(!0), ie(Ae, null, Ee(e.options, (h, S) => (J(), ie("div", {
|
|
3018
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" : "")
|
|
@@ -3095,18 +3095,18 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3095
3095
|
disabled: !!n.modelValue && n.options.length > n.modelValue.length
|
|
3096
3096
|
},
|
|
3097
3097
|
...n.options.filter(
|
|
3098
|
-
(
|
|
3098
|
+
(y) => y.label.toLocaleLowerCase().includes(g.value.toLocaleLowerCase())
|
|
3099
3099
|
)
|
|
3100
|
-
]), d = z(() => n.modelValue ? n.modelValue : [ht, ...n.options.map((
|
|
3101
|
-
const
|
|
3102
|
-
return
|
|
3100
|
+
]), d = z(() => n.modelValue ? n.modelValue : [ht, ...n.options.map((y) => y.value)]), u = z(() => {
|
|
3101
|
+
const y = d.value.filter((T) => T !== ht).length;
|
|
3102
|
+
return y === 0 ? "" : l("team.memberForm.permissions.allowedCount", { count: y });
|
|
3103
3103
|
});
|
|
3104
|
-
function i(
|
|
3105
|
-
const T =
|
|
3106
|
-
r("update:model-value", T ? null :
|
|
3104
|
+
function i(y) {
|
|
3105
|
+
const T = y.length === a.value.length;
|
|
3106
|
+
r("update:model-value", T ? null : y.filter((N) => N !== ht));
|
|
3107
3107
|
}
|
|
3108
3108
|
const g = rt("");
|
|
3109
|
-
return (
|
|
3109
|
+
return (y, T) => {
|
|
3110
3110
|
const N = De("fm-search");
|
|
3111
3111
|
return J(), Ne(Xt, { subtitle: u.value }, {
|
|
3112
3112
|
title: de(() => [
|
|
@@ -3131,10 +3131,10 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3131
3131
|
class: "mt-16",
|
|
3132
3132
|
"onUpdate:modelValue": i
|
|
3133
3133
|
}, et({ _: 2 }, [
|
|
3134
|
-
|
|
3134
|
+
Ee(a.value, (F) => ({
|
|
3135
3135
|
name: `checkbox-${F.value}-append`,
|
|
3136
3136
|
fn: de(({ option: D }) => [
|
|
3137
|
-
Se(
|
|
3137
|
+
Se(y.$slots, `checkbox-${F.value}-append`, { option: D })
|
|
3138
3138
|
])
|
|
3139
3139
|
}))
|
|
3140
3140
|
]), 1032, ["model-value", "options", "disable"])
|
|
@@ -3173,21 +3173,21 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3173
3173
|
value: bt,
|
|
3174
3174
|
disabled: !!n.modelValue && n.roles.length > n.modelValue.length
|
|
3175
3175
|
},
|
|
3176
|
-
...n.roles.map((
|
|
3177
|
-
label:
|
|
3178
|
-
value:
|
|
3179
|
-
disabled: !!g &&
|
|
3176
|
+
...n.roles.map((y) => ({
|
|
3177
|
+
label: y.name,
|
|
3178
|
+
value: y._id,
|
|
3179
|
+
disabled: !!g && y.restaurants.every(({ id: T }) => !g.includes(T))
|
|
3180
3180
|
}))
|
|
3181
3181
|
];
|
|
3182
3182
|
}), d = z(() => n.modelValue ? n.modelValue : [bt, ...n.roles.map((g) => g._id)]), u = z(() => {
|
|
3183
|
-
const g = d.value.filter((
|
|
3183
|
+
const g = d.value.filter((y) => y !== bt).length;
|
|
3184
3184
|
return g === 0 ? "" : l("team.memberForm.permissions.allowedCount", { count: g });
|
|
3185
3185
|
});
|
|
3186
3186
|
function i(g) {
|
|
3187
|
-
const
|
|
3188
|
-
r("update:model-value",
|
|
3187
|
+
const y = g.length === a.value.length;
|
|
3188
|
+
r("update:model-value", y ? null : g.filter((T) => T !== bt));
|
|
3189
3189
|
}
|
|
3190
|
-
return (g,
|
|
3190
|
+
return (g, y) => (J(), Ne(Xt, { subtitle: u.value }, {
|
|
3191
3191
|
title: de(() => [
|
|
3192
3192
|
ae("p", na, Oe(H(l)("team.memberForm.permissions.roles")), 1)
|
|
3193
3193
|
]),
|
|
@@ -3202,7 +3202,7 @@ const Uo = { class: "flex flex-col gap-16" }, xo = { class: "fm-typo-en-title-sm
|
|
|
3202
3202
|
class: "mt-16",
|
|
3203
3203
|
"onUpdate:modelValue": i
|
|
3204
3204
|
}, et({ _: 2 }, [
|
|
3205
|
-
|
|
3205
|
+
Ee(a.value, (T) => ({
|
|
3206
3206
|
name: `checkbox-${T.value}-append`,
|
|
3207
3207
|
fn: de(({ option: N }) => [
|
|
3208
3208
|
Se(g.$slots, `checkbox-${T.value}-append`, { option: N })
|
|
@@ -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 kr(await Ar().get("/warehouses"));
|
|
3306
3306
|
}
|
|
3307
3307
|
};
|
|
3308
3308
|
function Pn(e, t) {
|
|
@@ -3331,22 +3331,22 @@ function ia(e, t, n, r) {
|
|
|
3331
3331
|
);
|
|
3332
3332
|
let u = [...n];
|
|
3333
3333
|
for (const i of l)
|
|
3334
|
-
a.has(i) || (d.has(i) && (u = u.filter((
|
|
3334
|
+
a.has(i) || (d.has(i) && (u = u.filter((y) => y.subject !== i)), (!d.has(i) || Pn(u, i)) && (u = jn(u, i)));
|
|
3335
3335
|
for (const i of a)
|
|
3336
3336
|
if (!l.has(i)) {
|
|
3337
|
-
const g = u.some((
|
|
3338
|
-
if (u = u.filter((
|
|
3339
|
-
const
|
|
3337
|
+
const g = u.some((y) => y.subject === i && y.inverted);
|
|
3338
|
+
if (u = u.filter((y) => !(y.subject === i && y.inverted)), !g && !d.has(i)) {
|
|
3339
|
+
const y = t.find(
|
|
3340
3340
|
(N) => N.subject === i && !N.inverted
|
|
3341
3341
|
), T = r(i);
|
|
3342
|
-
T &&
|
|
3342
|
+
T && y && u.push(Un(T, y.actions, y.conditions));
|
|
3343
3343
|
}
|
|
3344
3344
|
}
|
|
3345
3345
|
for (const i of a) {
|
|
3346
3346
|
if (!l.has(i)) continue;
|
|
3347
|
-
const g = e.find((D) => D.subject === i && !D.inverted),
|
|
3348
|
-
if (!g || !
|
|
3349
|
-
const T = new Set(g.actions), N = new Set(
|
|
3347
|
+
const g = e.find((D) => D.subject === i && !D.inverted), y = t.find((D) => D.subject === i && !D.inverted);
|
|
3348
|
+
if (!g || !y) continue;
|
|
3349
|
+
const T = new Set(g.actions), N = new Set(y.actions);
|
|
3350
3350
|
if (T.size === N.size && [...T].every((D) => N.has(D)))
|
|
3351
3351
|
continue;
|
|
3352
3352
|
const F = u.findIndex((D) => D.subject === i && !D.inverted);
|
|
@@ -3432,53 +3432,53 @@ function fa(e, t, n) {
|
|
|
3432
3432
|
return tt(We(c), b);
|
|
3433
3433
|
}
|
|
3434
3434
|
function g(c, b) {
|
|
3435
|
-
var
|
|
3436
|
-
if (!(((
|
|
3435
|
+
var A;
|
|
3436
|
+
if (!(((A = b.appliesToActions) == null ? void 0 : A.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 v = u(I);
|
|
3440
|
+
return v ? Object.keys(i(v, b)).length > 0 : !1;
|
|
3441
3441
|
}
|
|
3442
|
-
function
|
|
3442
|
+
function y(c, b) {
|
|
3443
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(We(I), b), X = i(
|
|
3445
|
+
const I = e.value[c.index], v = l(c.subject), A = v ? u(v) : void 0;
|
|
3446
|
+
if (I && A) {
|
|
3447
|
+
const L = tt(We(I), b), X = i(A, b);
|
|
3448
3448
|
if (JSON.stringify(L) === JSON.stringify(X)) return "inherit";
|
|
3449
3449
|
}
|
|
3450
3450
|
return "custom";
|
|
3451
3451
|
}
|
|
3452
3452
|
function T(c, b, I) {
|
|
3453
3453
|
if (!b.summarizeForm) return;
|
|
3454
|
-
const
|
|
3455
|
-
if (!
|
|
3456
|
-
const
|
|
3457
|
-
if (!
|
|
3458
|
-
const L = b.fromCondition(i(
|
|
3454
|
+
const v = l(c.subject);
|
|
3455
|
+
if (!v) return;
|
|
3456
|
+
const A = u(v);
|
|
3457
|
+
if (!A) return;
|
|
3458
|
+
const L = b.fromCondition(i(A, b));
|
|
3459
3459
|
return b.summarizeForm(L, { timeZone: I });
|
|
3460
3460
|
}
|
|
3461
3461
|
function N(c, b) {
|
|
3462
3462
|
if (c.index === null) return;
|
|
3463
|
-
const I = [...e.value],
|
|
3463
|
+
const I = [...e.value], v = { ...I[c.index] }, A = Bt(v, b), L = Object.keys(A).length === 0, X = l(c.subject), V = X ? u(X) : void 0, m = V ? Mt(V, v) : !1;
|
|
3464
3464
|
if (L && m)
|
|
3465
3465
|
I.splice(c.index, 1);
|
|
3466
3466
|
else if (V) {
|
|
3467
|
-
const C = xn(
|
|
3468
|
-
Object.keys(C).length === 0 ? delete
|
|
3467
|
+
const C = xn(v, V, b);
|
|
3468
|
+
Object.keys(C).length === 0 ? delete v.conditions : v.conditions = JSON.stringify(C), I[c.index] = v;
|
|
3469
3469
|
} else
|
|
3470
|
-
L ? delete
|
|
3470
|
+
L ? delete v.conditions : v.conditions = JSON.stringify(A), I[c.index] = v;
|
|
3471
3471
|
n(I);
|
|
3472
3472
|
}
|
|
3473
3473
|
function F(c, b, I) {
|
|
3474
|
-
const
|
|
3474
|
+
const v = gt(c.subject, b);
|
|
3475
3475
|
if (I === "inherit") {
|
|
3476
3476
|
const L = new Set(r.value);
|
|
3477
|
-
L.delete(
|
|
3477
|
+
L.delete(v), r.value = L, N(c, b);
|
|
3478
3478
|
return;
|
|
3479
3479
|
}
|
|
3480
|
-
const
|
|
3481
|
-
|
|
3480
|
+
const A = new Set(r.value);
|
|
3481
|
+
A.add(v), r.value = A, c.index === null && h(c, b, b.fromCondition(void 0), {
|
|
3482
3482
|
forceCreateRule: !0
|
|
3483
3483
|
});
|
|
3484
3484
|
}
|
|
@@ -3491,46 +3491,46 @@ function fa(e, t, n) {
|
|
|
3491
3491
|
function R(c, b) {
|
|
3492
3492
|
return e.value.filter((I) => {
|
|
3493
3493
|
if (I.inverted) return !1;
|
|
3494
|
-
const
|
|
3495
|
-
return
|
|
3494
|
+
const v = I.subject;
|
|
3495
|
+
return v === c || l(v) !== c ? !1 : r.value.has(gt(v, b)) ? !0 : Object.keys(tt(We(I), b)).length > 0;
|
|
3496
3496
|
});
|
|
3497
3497
|
}
|
|
3498
3498
|
function w(c, b) {
|
|
3499
|
-
const I = `::${b.builderKey}`,
|
|
3500
|
-
for (const
|
|
3501
|
-
if (!
|
|
3502
|
-
const L =
|
|
3503
|
-
l(L) === c &&
|
|
3499
|
+
const I = `::${b.builderKey}`, v = new Set(r.value);
|
|
3500
|
+
for (const A of v) {
|
|
3501
|
+
if (!A.endsWith(I)) continue;
|
|
3502
|
+
const L = A.slice(0, -I.length);
|
|
3503
|
+
l(L) === c && v.delete(A);
|
|
3504
3504
|
}
|
|
3505
|
-
r.value =
|
|
3505
|
+
r.value = v;
|
|
3506
3506
|
}
|
|
3507
3507
|
function f(c, b, I) {
|
|
3508
|
-
const
|
|
3509
|
-
return c.reduce((
|
|
3508
|
+
const v = b.subject;
|
|
3509
|
+
return c.reduce((A, L) => {
|
|
3510
3510
|
if (L.inverted)
|
|
3511
|
-
return
|
|
3511
|
+
return A.push(L), A;
|
|
3512
3512
|
const X = L.subject;
|
|
3513
|
-
if (X ===
|
|
3514
|
-
return
|
|
3513
|
+
if (X === v || l(X) !== v)
|
|
3514
|
+
return A.push(L), A;
|
|
3515
3515
|
if (Mt(b, L) && Object.keys(Bt(L, I)).length === 0)
|
|
3516
|
-
return
|
|
3516
|
+
return A;
|
|
3517
3517
|
const m = xn(L, b, I);
|
|
3518
3518
|
if (Object.keys(m).length === 0) {
|
|
3519
3519
|
const { conditions: C, ...U } = L;
|
|
3520
|
-
|
|
3520
|
+
A.push(U);
|
|
3521
3521
|
} else
|
|
3522
|
-
|
|
3523
|
-
return
|
|
3522
|
+
A.push({ ...L, conditions: JSON.stringify(m) });
|
|
3523
|
+
return A;
|
|
3524
3524
|
}, []);
|
|
3525
3525
|
}
|
|
3526
|
-
function h(c, b, I,
|
|
3526
|
+
function h(c, b, I, v = {}) {
|
|
3527
3527
|
var x;
|
|
3528
|
-
const
|
|
3528
|
+
const A = [...e.value];
|
|
3529
3529
|
let L = c.index;
|
|
3530
3530
|
const X = b.toCondition(I), V = Object.keys(X).length > 0;
|
|
3531
|
-
if (L === null && !V && !
|
|
3531
|
+
if (L === null && !V && !v.forceCreateRule) return;
|
|
3532
3532
|
if (L === null) {
|
|
3533
|
-
const j =
|
|
3533
|
+
const j = A.findIndex((G) => !G.inverted && G.subject === c.subject);
|
|
3534
3534
|
if (j !== -1)
|
|
3535
3535
|
L = j;
|
|
3536
3536
|
else {
|
|
@@ -3542,38 +3542,38 @@ function fa(e, t, n) {
|
|
|
3542
3542
|
isCategoryCover: Y,
|
|
3543
3543
|
...ne
|
|
3544
3544
|
} = G;
|
|
3545
|
-
|
|
3545
|
+
A.push({
|
|
3546
3546
|
...ne,
|
|
3547
3547
|
actions: c.actions.length > 0 ? c.actions : ne.actions
|
|
3548
|
-
}), L =
|
|
3548
|
+
}), L = A.length - 1;
|
|
3549
3549
|
}
|
|
3550
3550
|
}
|
|
3551
|
-
const m = { ...
|
|
3551
|
+
const m = { ...A[L] };
|
|
3552
3552
|
m.actions = [
|
|
3553
3553
|
.../* @__PURE__ */ new Set([...m.actions, ...c.actions])
|
|
3554
3554
|
];
|
|
3555
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),
|
|
3556
|
+
if (Object.keys(U).length === 0 ? delete m.conditions : m.conditions = JSON.stringify(U), A[L] = m, sn(c.subject, t.value)) {
|
|
3557
3557
|
const j = R(c.subject, b), G = () => {
|
|
3558
3558
|
var B;
|
|
3559
|
-
w(c.subject, b), n(f(
|
|
3559
|
+
w(c.subject, b), n(f(A, m, b)), (B = v.afterCommit) == null || B.call(v);
|
|
3560
3560
|
}, W = () => {
|
|
3561
3561
|
var B;
|
|
3562
|
-
n(
|
|
3562
|
+
n(A), (B = v.afterCommit) == null || B.call(v);
|
|
3563
3563
|
};
|
|
3564
3564
|
if (j.length === 0) {
|
|
3565
3565
|
G();
|
|
3566
3566
|
return;
|
|
3567
3567
|
}
|
|
3568
|
-
|
|
3568
|
+
v.onOverridesConflict ? v.onOverridesConflict({ override: G, keep: W }) : W();
|
|
3569
3569
|
return;
|
|
3570
3570
|
}
|
|
3571
|
-
n(
|
|
3571
|
+
n(A), (x = v.afterCommit) == null || x.call(v);
|
|
3572
3572
|
}
|
|
3573
3573
|
function S(c, b, I = {}) {
|
|
3574
3574
|
if (b.length === 0) return;
|
|
3575
|
-
const
|
|
3576
|
-
let
|
|
3575
|
+
const v = [...e.value];
|
|
3576
|
+
let A = v.findIndex((j) => !j.inverted && j.subject === c.subject), L = A === -1 ? void 0 : { ...v[A] }, X = We(L ?? {}) ?? {};
|
|
3577
3577
|
for (const j of b) {
|
|
3578
3578
|
const G = j.mode === "inherit" ? j.builder.fromCondition(void 0) : j.form;
|
|
3579
3579
|
X = wt(X, [{ builder: j.builder, formValue: G }]);
|
|
@@ -3591,12 +3591,12 @@ function fa(e, t, n) {
|
|
|
3591
3591
|
L = {
|
|
3592
3592
|
...Y,
|
|
3593
3593
|
actions: c.actions.length > 0 ? c.actions : Y.actions
|
|
3594
|
-
},
|
|
3594
|
+
}, v.push(L), A = v.length - 1;
|
|
3595
3595
|
}
|
|
3596
3596
|
if (L) {
|
|
3597
3597
|
const j = l(c.subject), G = j ? u(j) : void 0;
|
|
3598
3598
|
if (!V && Object.keys(X).length === 0 && !!G && Mt(G, L))
|
|
3599
|
-
|
|
3599
|
+
v.splice(A, 1), L = void 0;
|
|
3600
3600
|
else {
|
|
3601
3601
|
if (L.actions = [
|
|
3602
3602
|
.../* @__PURE__ */ new Set([...L.actions, ...c.actions])
|
|
@@ -3606,7 +3606,7 @@ function fa(e, t, n) {
|
|
|
3606
3606
|
...X,
|
|
3607
3607
|
...tt(We(G), 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), v[A] = L;
|
|
3610
3610
|
}
|
|
3611
3611
|
}
|
|
3612
3612
|
const m = () => {
|
|
@@ -3621,26 +3621,26 @@ function fa(e, t, n) {
|
|
|
3621
3621
|
m(), n(j), (G = I.afterCommit) == null || G.call(I);
|
|
3622
3622
|
};
|
|
3623
3623
|
if (!sn(c.subject, t.value) || !L) {
|
|
3624
|
-
C(
|
|
3624
|
+
C(v);
|
|
3625
3625
|
return;
|
|
3626
3626
|
}
|
|
3627
3627
|
const U = b.map((j) => j.builder).filter((j) => R(c.subject, j).length > 0), x = () => {
|
|
3628
|
-
let j =
|
|
3628
|
+
let j = v;
|
|
3629
3629
|
for (const G of b.map((W) => W.builder))
|
|
3630
3630
|
w(c.subject, G), j = f(j, L, G);
|
|
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(v) });
|
|
3635
3635
|
return;
|
|
3636
3636
|
}
|
|
3637
|
-
U.length > 0 ? C(
|
|
3637
|
+
U.length > 0 ? C(v) : x();
|
|
3638
3638
|
}
|
|
3639
3639
|
return {
|
|
3640
3640
|
getCoverSubject: l,
|
|
3641
3641
|
coverLabel: d,
|
|
3642
3642
|
shouldShowInheritToggle: g,
|
|
3643
|
-
inheritMode:
|
|
3643
|
+
inheritMode: y,
|
|
3644
3644
|
setInheritMode: F,
|
|
3645
3645
|
inheritedSummary: T,
|
|
3646
3646
|
getEffectiveActions: D,
|
|
@@ -3648,7 +3648,7 @@ function fa(e, t, n) {
|
|
|
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" }, va = { class: "p-16 fm-corner-radius-lg border border-fm-color-neutral-gray-200" }, pa = { 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" }, ya = "condition-form-select-menu", wa = /* @__PURE__ */ Re({
|
|
3652
3652
|
__name: "PortalPermissionEditor",
|
|
3653
3653
|
props: /* @__PURE__ */ tn({
|
|
3654
3654
|
disable: {
|
|
@@ -3665,8 +3665,8 @@ const _a = { class: "flex flex-col gap-32" }, pa = { 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 =
|
|
3669
|
-
fetchCustomReportPermissions:
|
|
3668
|
+
const n = pr(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
|
+
fetchCustomReportPermissions: y,
|
|
3670
3670
|
customReportPermissions: T
|
|
3671
3671
|
} = Ir(), N = z(() => [
|
|
3672
3672
|
...Gn,
|
|
@@ -3688,7 +3688,7 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3688
3688
|
}
|
|
3689
3689
|
const w = z(() => {
|
|
3690
3690
|
const O = N.value.filter((o) => !c.includes(o.subject)).map((o) => o.subject);
|
|
3691
|
-
return
|
|
3691
|
+
return yr(
|
|
3692
3692
|
r.inheritPermissions.map((o) => ({
|
|
3693
3693
|
...o,
|
|
3694
3694
|
permissions: o.permissions.filter((_) => O.includes(_.subject))
|
|
@@ -3742,11 +3742,11 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3742
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([]), v = z(() => I.value.map((O) => ({
|
|
3746
3746
|
label: O.profile.name,
|
|
3747
3747
|
value: O._id
|
|
3748
3748
|
})));
|
|
3749
|
-
function
|
|
3749
|
+
function A(O) {
|
|
3750
3750
|
const s = L(n.value, O);
|
|
3751
3751
|
n.value = s;
|
|
3752
3752
|
}
|
|
@@ -3766,7 +3766,7 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3766
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] = V.value.filter((o) => o.restaurants.some((_) => _.id === s._id)).map((o) => o._id), O), {})), U = z(() =>
|
|
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(() => Er(n.value));
|
|
3770
3770
|
function x(O) {
|
|
3771
3771
|
const s = G(n.value, O);
|
|
3772
3772
|
n.value = s;
|
|
@@ -3776,29 +3776,29 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3776
3776
|
var _;
|
|
3777
3777
|
let o = It(
|
|
3778
3778
|
O.filter(
|
|
3779
|
-
(
|
|
3779
|
+
(k) => k.subject !== he.Subject.Business.restaurant && k.subject !== he.Subject.Restaurant.restaurant
|
|
3780
3780
|
)
|
|
3781
3781
|
);
|
|
3782
3782
|
if (!s || s.length > 0) {
|
|
3783
3783
|
const {
|
|
3784
|
-
category:
|
|
3784
|
+
category: k,
|
|
3785
3785
|
showByFeatureFlag: M,
|
|
3786
3786
|
...P
|
|
3787
3787
|
} = Lr.restaurant;
|
|
3788
3788
|
o.push(P);
|
|
3789
|
-
const
|
|
3789
|
+
const p = {
|
|
3790
3790
|
actions: [he.Action.manage],
|
|
3791
3791
|
subject: he.Subject.Restaurant.restaurant
|
|
3792
3792
|
};
|
|
3793
|
-
s && (
|
|
3793
|
+
s && (p.conditions = JSON.stringify({ restaurantId: { $in: s } })), o.push(p);
|
|
3794
3794
|
}
|
|
3795
3795
|
if (s) {
|
|
3796
|
-
const
|
|
3796
|
+
const k = [
|
|
3797
3797
|
...new Set(s.map((P) => C.value[P]).flatMap((P) => P))
|
|
3798
3798
|
], M = V.value.map((P) => P._id);
|
|
3799
|
-
|
|
3799
|
+
k.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) => k.includes(P))
|
|
3802
3802
|
));
|
|
3803
3803
|
}
|
|
3804
3804
|
return o;
|
|
@@ -3824,7 +3824,7 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3824
3824
|
Vn(async () => {
|
|
3825
3825
|
await Promise.all([
|
|
3826
3826
|
la.readWarehouses().then((O) => I.value = O),
|
|
3827
|
-
|
|
3827
|
+
y()
|
|
3828
3828
|
]);
|
|
3829
3829
|
});
|
|
3830
3830
|
const Y = z(() => Zn(
|
|
@@ -3837,10 +3837,10 @@ const _a = { class: "flex flex-col gap-32" }, pa = { 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 k = D(o.subject);
|
|
3841
|
+
if (!k) return o;
|
|
3842
|
+
const M = k.actions;
|
|
3843
|
+
return M.length <= 1 || M.filter((p) => !_.includes(p)).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" }, pa = { 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, k = R(s.subject, _);
|
|
3865
|
+
if (k.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" }, pa = { 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: k.map((p) => ({
|
|
3879
|
+
builder: p,
|
|
3880
|
+
formValue: p.fromCondition(tt(M, p))
|
|
3881
3881
|
}))
|
|
3882
3882
|
});
|
|
3883
3883
|
}), O;
|
|
@@ -3887,14 +3887,14 @@ const _a = { class: "flex flex-col gap-32" }, pa = { 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), k = R(O, _);
|
|
3891
|
+
if (k.length !== 0)
|
|
3892
3892
|
return {
|
|
3893
3893
|
index: null,
|
|
3894
3894
|
subject: O,
|
|
3895
3895
|
label: s,
|
|
3896
3896
|
actions: _,
|
|
3897
|
-
sections:
|
|
3897
|
+
sections: k.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" }, pa = { 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((k) => k.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 ve(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" }, pa = { class: "p-16 fm-corner-radi
|
|
|
3927
3927
|
const _ = se.getDraft({
|
|
3928
3928
|
subject: O.subject,
|
|
3929
3929
|
builderKey: s.builderKey
|
|
3930
|
-
}),
|
|
3930
|
+
}), k = 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) ?? (k == null ? void 0 : k.formValue),
|
|
3935
3935
|
inheritMode: o
|
|
3936
3936
|
}
|
|
3937
3937
|
);
|
|
@@ -3941,11 +3941,11 @@ const _a = { class: "flex flex-col gap-32" }, pa = { 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 k = se.getDraft({
|
|
3945
3945
|
subject: O.subject,
|
|
3946
3946
|
builderKey: _.builder.builderKey
|
|
3947
3947
|
});
|
|
3948
|
-
return
|
|
3948
|
+
return k ? [{ builder: _.builder, form: k.formValue, mode: k.inheritMode ?? "custom" }] : [];
|
|
3949
3949
|
});
|
|
3950
3950
|
ce.applyConditionDrafts(O, o, {
|
|
3951
3951
|
afterCommit: () => {
|
|
@@ -3994,25 +3994,25 @@ const _a = { class: "flex flex-col gap-32" }, pa = { 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"), k = De("FmPopover");
|
|
3998
3998
|
return J(), ie("div", _a, [
|
|
3999
|
-
ae("div",
|
|
3999
|
+
ae("div", va, [
|
|
4000
4000
|
ue(Ho, {
|
|
4001
4001
|
"model-value": Y.value,
|
|
4002
4002
|
"excluded-subjects": c,
|
|
4003
4003
|
"additional-permissions": H(T),
|
|
4004
4004
|
"onUpdate:modelValue": ne
|
|
4005
4005
|
}, et({ _: 2 }, [
|
|
4006
|
-
|
|
4006
|
+
Ee(w.value, (M) => ({
|
|
4007
4007
|
name: `checkbox-${M.id}-append`,
|
|
4008
4008
|
fn: de(() => [
|
|
4009
|
-
ue(
|
|
4009
|
+
ue(pt, { item: M }, null, 8, ["item"])
|
|
4010
4010
|
])
|
|
4011
4011
|
})),
|
|
4012
|
-
|
|
4012
|
+
Ee(Q.value, (M) => ({
|
|
4013
4013
|
name: `checkbox-${M}-icon`,
|
|
4014
|
-
fn: de(({ option: P, isEffectiveSelected:
|
|
4015
|
-
|
|
4014
|
+
fn: de(({ option: P, isEffectiveSelected: p }) => [
|
|
4015
|
+
p && q(M, P.label) ? (J(), ie(Ae, { key: 0 }, [
|
|
4016
4016
|
g.value ? (J(), Ne(_, {
|
|
4017
4017
|
key: 0,
|
|
4018
4018
|
"model-value": fe.value === M,
|
|
@@ -4022,12 +4022,12 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4022
4022
|
"dismiss-away": "",
|
|
4023
4023
|
"z-index": 100,
|
|
4024
4024
|
class: "h-5 flex items-center",
|
|
4025
|
-
"onUpdate:modelValue": (
|
|
4026
|
-
fe.value =
|
|
4025
|
+
"onUpdate:modelValue": (E) => {
|
|
4026
|
+
fe.value = E ? M : null, E || H(se).clearDraftsForSubject(M);
|
|
4027
4027
|
}
|
|
4028
4028
|
}, {
|
|
4029
4029
|
"bottom-sheet-button": de(() => [
|
|
4030
|
-
ae("div",
|
|
4030
|
+
ae("div", pa, [
|
|
4031
4031
|
ue(o, {
|
|
4032
4032
|
name: "settings",
|
|
4033
4033
|
size: "sm",
|
|
@@ -4041,29 +4041,29 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4041
4041
|
default: de(() => [
|
|
4042
4042
|
ue(Fn, {
|
|
4043
4043
|
entry: q(M, P.label),
|
|
4044
|
-
builders: q(M, P.label).sections.map((
|
|
4044
|
+
builders: q(M, P.label).sections.map((E) => E.builder),
|
|
4045
4045
|
subject: M,
|
|
4046
4046
|
"time-zone": F.value,
|
|
4047
4047
|
"cover-override": H(ce),
|
|
4048
|
-
"inherit-mode-for": (
|
|
4049
|
-
"form-value-for": (
|
|
4048
|
+
"inherit-mode-for": (E) => K(q(M, P.label), E),
|
|
4049
|
+
"form-value-for": (E) => we(q(M, P.label), E),
|
|
4050
4050
|
"has-changes": Ke(M),
|
|
4051
4051
|
disable: e.disable,
|
|
4052
4052
|
"full-width": !0,
|
|
4053
|
-
onUpdateInheritMode: ({ builder:
|
|
4054
|
-
onUpdateForm: ({ builder:
|
|
4055
|
-
onApply: (
|
|
4053
|
+
onUpdateInheritMode: ({ builder: E, mode: $ }) => Je(q(M, P.label), E, $),
|
|
4054
|
+
onUpdateForm: ({ builder: E, form: $ }) => ve(q(M, P.label), E, $),
|
|
4055
|
+
onApply: (E) => 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(k, {
|
|
4060
4060
|
key: 1,
|
|
4061
4061
|
disabled: e.disable,
|
|
4062
4062
|
"z-index": 100,
|
|
4063
|
-
"exclude-el-from-click-outside": [
|
|
4063
|
+
"exclude-el-from-click-outside": [ya],
|
|
4064
4064
|
class: "h-5 flex items-center",
|
|
4065
|
-
onPopoverChanged: (
|
|
4066
|
-
|
|
4065
|
+
onPopoverChanged: (E) => {
|
|
4066
|
+
E || H(se).clearDraftsForSubject(M);
|
|
4067
4067
|
}
|
|
4068
4068
|
}, {
|
|
4069
4069
|
"popover-button": de(() => [
|
|
@@ -4078,7 +4078,7 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4078
4078
|
}, null, 8, ["class"])
|
|
4079
4079
|
])
|
|
4080
4080
|
]),
|
|
4081
|
-
default: de(({ hide:
|
|
4081
|
+
default: de(({ hide: E }) => [
|
|
4082
4082
|
ue(Fn, {
|
|
4083
4083
|
entry: q(M, P.label),
|
|
4084
4084
|
builders: q(M, P.label).sections.map(($) => $.builder),
|
|
@@ -4097,8 +4097,8 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4097
4097
|
$,
|
|
4098
4098
|
le
|
|
4099
4099
|
),
|
|
4100
|
-
onUpdateForm: ({ builder: $, form: le }) =>
|
|
4101
|
-
onApply: ($) => xe(q(M, P.label),
|
|
4100
|
+
onUpdateForm: ({ builder: $, form: le }) => ve(q(M, P.label), $, le),
|
|
4101
|
+
onApply: ($) => xe(q(M, P.label), E)
|
|
4102
4102
|
}, null, 8, ["entry", "builders", "subject", "time-zone", "cover-override", "title", "inherit-mode-for", "form-value-for", "has-changes", "disable", "onUpdateInheritMode", "onUpdateForm", "onApply"])
|
|
4103
4103
|
]),
|
|
4104
4104
|
_: 2
|
|
@@ -4116,14 +4116,14 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4116
4116
|
ae("div", ba, [
|
|
4117
4117
|
ue(wn, {
|
|
4118
4118
|
"model-value": b.value,
|
|
4119
|
-
options:
|
|
4119
|
+
options: v.value,
|
|
4120
4120
|
context: H(a)("team.labels.warehouse"),
|
|
4121
|
-
"onUpdate:modelValue":
|
|
4121
|
+
"onUpdate:modelValue": A
|
|
4122
4122
|
}, et({ _: 2 }, [
|
|
4123
|
-
|
|
4123
|
+
Ee(f.value, (M) => ({
|
|
4124
4124
|
name: `checkbox-${M.id}-append`,
|
|
4125
4125
|
fn: de(() => [
|
|
4126
|
-
ue(
|
|
4126
|
+
ue(pt, { item: M }, null, 8, ["item"])
|
|
4127
4127
|
])
|
|
4128
4128
|
}))
|
|
4129
4129
|
]), 1032, ["model-value", "options", "context"])
|
|
@@ -4135,10 +4135,10 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4135
4135
|
context: H(a)("team.labels.restaurant"),
|
|
4136
4136
|
"onUpdate:modelValue": x
|
|
4137
4137
|
}, et({ _: 2 }, [
|
|
4138
|
-
|
|
4138
|
+
Ee(h.value, (M) => ({
|
|
4139
4139
|
name: `checkbox-${M.id}-append`,
|
|
4140
4140
|
fn: de(() => [
|
|
4141
|
-
ue(
|
|
4141
|
+
ue(pt, { item: M }, null, 8, ["item"])
|
|
4142
4142
|
])
|
|
4143
4143
|
}))
|
|
4144
4144
|
]), 1032, ["model-value", "options", "context"])
|
|
@@ -4150,10 +4150,10 @@ const _a = { class: "flex flex-col gap-32" }, pa = { class: "p-16 fm-corner-radi
|
|
|
4150
4150
|
"restaurant-ids": U.value,
|
|
4151
4151
|
"onUpdate:modelValue": W
|
|
4152
4152
|
}, et({ _: 2 }, [
|
|
4153
|
-
|
|
4153
|
+
Ee(S.value, (M) => ({
|
|
4154
4154
|
name: `checkbox-${M.id}-append`,
|
|
4155
4155
|
fn: de(() => [
|
|
4156
|
-
ue(
|
|
4156
|
+
ue(pt, { item: M }, null, 8, ["item"])
|
|
4157
4157
|
])
|
|
4158
4158
|
}))
|
|
4159
4159
|
]), 1032, ["roles", "model-value", "restaurant-ids"])
|